Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/.classpath7
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/.cvsignore7
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/.project28
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/META-INF/MANIFEST.MF29
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/build.properties6
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.properties22
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.xml51
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties37
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java38
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/AxisDeployCommand.java155
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/GeronimoAxisDeployCommand.java279
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java258
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java424
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParamModifier.java90
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParameter.java472
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/NameMappingUtils.java73
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java181
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java91
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java114
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServicesSaxHandler.java46
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServletSaxHandler.java48
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisWebServiceLocator.java393
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/ServerConfigWSDDVisitor.java42
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java118
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/.classpath7
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/.cvsignore7
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/.project28
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/META-INF/MANIFEST.MF47
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/build.properties6
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.properties25
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.xml54
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUI.properties106
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUIMessages.java81
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientDefaultingCommand.java263
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientInputCommand.java69
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientOutputCommand.java58
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/CopyClientWSDLCommand.java178
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/DefaultsForClientJavaWSDLCommand.java183
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/plugin/WebServiceAxisConsumptionUIPlugin.java105
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/preferences/AxisEmitterPreferencePage.java329
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ClientCodeGenOperation.java158
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/CopyAxisJarCommand.java412
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/DefaultsForHTTPBasicAuthCommand.java130
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/RefreshProjectCommand.java63
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanCommand.java283
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanInfo.java605
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ValidateWSDLCommand.java74
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/ClasspathUtils.java297
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/FileUtil.java120
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/PlatformUtils.java176
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/WSDLUtils.java514
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsFragment.java39
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsWidget.java127
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisProxyWidget.java140
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wizard/client/WebServiceClientAxisType.java119
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisClientConfigWidgetFactory.java51
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisWebServiceClient.java159
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/.classpath7
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/.cvsignore7
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/.project28
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/META-INF/MANIFEST.MF78
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/build.properties8
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/client_assemble.jpgbin15821 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/client_deploy.jpgbin15755 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/client_develop.jpgbin15539 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/client_install.jpgbin15774 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/client_none.jpgbin15108 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/client_run.jpgbin15860 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/client_test.jpgbin15751 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/config_handler_wiz.gifbin3222 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/configure_handlers.gifbin356 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/generated_sample.gifbin591 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/newclient_webserv_wiz.gifbin587 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/configure_handlers.gifbin231 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gifbin356 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gifbin2966 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gifbin3289 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gifbin574 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gifbin3422 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gifbin353 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpgbin22670 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpgbin22445 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpgbin22235 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpgbin21677 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpgbin21536 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpgbin21555 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpgbin20246 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gifbin565 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gifbin565 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gifbin364 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gifbin3460 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gifbin565 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gifbin563 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gifbin606 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties133
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml782
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd124
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd129
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd257
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd325
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd138
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties635
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java395
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java60
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java221
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java79
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java39
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java94
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java304
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java122
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java110
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java143
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java204
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java87
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java40
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java40
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java38
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java36
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java83
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java35
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java67
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java137
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java72
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java118
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java52
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java123
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java1037
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java117
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java115
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java44
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java268
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java116
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java64
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java108
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java137
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java101
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java42
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java36
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java406
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java354
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java90
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java32
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java54
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java68
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java443
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java121
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java53
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java265
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java106
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java329
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java207
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java546
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java162
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java180
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java637
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java685
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java78
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java93
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java26
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java223
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java201
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java81
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java122
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java101
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java201
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java376
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java244
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java630
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java93
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java135
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java97
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java138
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java288
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java158
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java144
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java1021
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java466
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java140
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java139
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java256
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java406
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java88
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java103
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java619
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java40
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java78
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java407
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java41
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java115
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java67
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java36
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java377
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java122
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java114
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java94
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java56
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java281
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java92
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java239
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java157
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java260
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java75
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java88
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java244
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java55
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java716
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java32
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java1573
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java614
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java355
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java62
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java480
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java137
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CreateSampleProjectCommand.java174
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java73
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java64
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java108
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java52
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java135
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java54
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java30
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java189
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java276
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java50
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java97
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java60
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java34
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java35
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java292
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java172
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java191
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java41
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java322
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java33
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java59
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java96
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java751
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java202
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java84
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java26
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java41
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java41
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java41
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java25
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java43
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java65
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java75
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java153
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java525
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java52
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java147
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java120
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java143
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java495
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java74
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java30
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java171
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java201
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java45
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java103
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java216
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java225
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java1937
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java210
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/.classpath8
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/.cvsignore9
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/.project28
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF60
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/build.properties11
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/plugin.properties19
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/plugin.xml52
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties193
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java118
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java245
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java88
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java30
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java31
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java77
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java71
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java40
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java40
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java40
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java38
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java91
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java116
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java86
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java129
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java425
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java98
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java219
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java80
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java114
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java94
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java217
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java45
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java139
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java84
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java108
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java112
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java139
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java147
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java89
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java98
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java76
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java137
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java119
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java362
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateEARProjectCommand.java109
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java331
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java82
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java734
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java137
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java123
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java68
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java63
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java233
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java114
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java139
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java56
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java58
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java113
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java156
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java61
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java145
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java1385
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java92
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java36
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java167
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java84
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java122
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java74
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java54
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java49
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java117
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java100
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java99
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java62
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java95
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java39
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java147
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java168
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java56
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java56
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java90
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java125
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java123
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java92
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java127
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java37
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java37
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java129
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java63
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java83
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java65
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java56
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java47
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java108
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java123
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java62
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java140
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java38
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java57
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java192
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java263
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java57
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java37
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java56
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java112
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java54
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java39
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java44
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java39
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java48
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java69
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java53
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java17
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java57
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java76
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java138
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java93
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java102
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java300
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java119
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java77
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java56
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java92
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java143
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java148
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java100
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java110
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java88
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java104
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java227
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java115
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java28
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java99
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java86
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java137
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java50
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java69
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java33
-rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java142
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore1
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/.project22
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF9
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties4
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties28
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml64
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/.classpath7
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/.cvsignore7
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/.project28
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/META-INF/MANIFEST.MF48
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/build.properties7
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws.gifbin570 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws_wiz.gifbin3365 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/full/ctool16/new_webserv_wiz.gifbin577 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/full/wizban/webservices_wiz.pngbin6018 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/scale0_bground.jpgbin14048 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/scale1_bground.jpgbin13835 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/scale2_bground.jpgbin13624 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/scale3_bground.jpgbin13070 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/scale4_bground.jpgbin12955 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/scale5_bground.jpgbin12994 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/scale6_bground.jpgbin11681 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/service_assemble.jpgbin16187 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/service_deploy.jpgbin16150 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/service_develop.jpgbin16010 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/service_install.jpgbin16036 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/service_run.jpgbin16218 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/icons/service_test.jpgbin16243 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/plugin.properties62
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/plugin.xml393
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUI.properties19
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUIMessages.java29
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/ant/AntServiceRootCommandFragment.java153
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceAssembleCommand.java137
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDeployCommand.java42
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDevelopCommand.java268
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceInstallCommand.java116
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java59
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/ServiceRootFragment.java120
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/plugin/WebServiceCreationUIPlugin.java84
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/preferences/ScenarioDefaultsPreferencePage.java155
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetContributor.java55
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetFactory.java67
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidget.java1663
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetDefaultingCommand.java179
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetOutputCommand.java181
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServiceImplSelectionDialog.java105
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ExportWSWidgetBinding.java103
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/PublishWSDLWidgetBinding.java62
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ServerWidgetBinding.java638
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/runtime/ServerRuntimeSelectionWidgetDefaultingCommand.java615
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/LaunchFragment.java49
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestFragment.java78
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestWidget.java170
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/WebServiceTestDefaultingCommand.java93
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/.classpath7
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/.cvsignore7
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/.project28
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/META-INF/MANIFEST.MF22
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/build.properties7
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/icons/registry.gifbin353 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/icons/uddiprivateconfig_wiz.gifbin3574 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/plugin.properties20
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/plugin.xml54
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistry.properties55
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistryMessages.java39
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/plugin/WebServiceUDDIRegistryPlugin.java101
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommand.java88
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommandFragment.java98
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidget.java210
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidgetConditionCommand.java46
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/binding/PrivateUDDIWidgetBinding.java111
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryType.java33
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeImpl.java80
-rw-r--r--bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeRegistry.java133
-rw-r--r--bundles/org.eclipse.jst.ws.ui/.classpath7
-rw-r--r--bundles/org.eclipse.jst.ws.ui/.cvsignore7
-rw-r--r--bundles/org.eclipse.jst.ws.ui/.project28
-rw-r--r--bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws.ui/META-INF/MANIFEST.MF34
-rw-r--r--bundles/org.eclipse.jst.ws.ui/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws.ui/build.properties7
-rw-r--r--bundles/org.eclipse.jst.ws.ui/icons/jar_obj.gifbin568 -> 0 bytes
-rw-r--r--bundles/org.eclipse.jst.ws.ui/plugin.properties48
-rw-r--r--bundles/org.eclipse.jst.ws.ui/plugin.xml79
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPlugin.properties116
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPluginMessages.java80
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/LaunchImportWizardAction.java64
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeploy.java18
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeployAction.java83
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WindowActionDelegate.java86
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/DialogResourceBrowser.java218
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/FileExtensionFilter.java70
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/IFilter.java43
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/UIUtils.java244
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/DialogUtils.java244
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/ResourceSelectionDialog.java319
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/plugin/WebServiceUIPlugin.java74
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/popup/PopupTestService.java62
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/ResourceManagmentPreferencePage.java172
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/TestFacilityDefaultsPreferencePage.java318
-rw-r--r--bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/uddi/PrivateUDDIRegistryType.java21
-rw-r--r--bundles/org.eclipse.jst.ws/.classpath7
-rw-r--r--bundles/org.eclipse.jst.ws/.cvsignore7
-rw-r--r--bundles/org.eclipse.jst.ws/.project28
-rw-r--r--bundles/org.eclipse.jst.ws/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.jst.ws/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.jst.ws/META-INF/MANIFEST.MF46
-rw-r--r--bundles/org.eclipse.jst.ws/about.html34
-rw-r--r--bundles/org.eclipse.jst.ws/build.properties6
-rw-r--r--bundles/org.eclipse.jst.ws/component.xml15
-rw-r--r--bundles/org.eclipse.jst.ws/plugin.properties16
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPlugin.properties31
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPluginMessages.java48
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/NullStatusMonitor.java61
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusMonitor.java37
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusRenderer.java32
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/AnyFilter.java82
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/Filter.java86
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/IProjectToStringTransformer.java28
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEActionAdapterFactory.java122
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEUtils.java1407
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/JavaMOFUtils.java248
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ResourceUtils.java1890
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/SelectionToResource.java69
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ServerUtils.java788
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StatusObjectHandler.java140
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2PathTransformer.java32
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2SelectionTransformer.java95
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TestFacilityListTransformer.java40
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TypeRuntimeServerModifier.java93
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringToIProjectTransformer.java41
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringUtils.java288
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/UniversalPathTransformer.java137
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaBeanProperty.java96
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRule.java129
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRuleEngine.java56
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceAnalyzer.java214
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceRuleEngine.java278
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JDTResolver.java877
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaBeanProperty.java147
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRule.java143
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRuleSet.java285
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0001.java68
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0002.java82
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0003.java151
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0005.java121
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0006.java164
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRuleSetFactory.java44
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentScenarioContext.java367
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentUDDIPreferenceContext.java49
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioContext.java104
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioDefaults.java117
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/TransientScenarioContext.java293
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceContext.java31
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceDefaults.java24
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/LabelsAndIds.java48
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/TypeRuntimeServer.java114
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/dialog/IStatusDialogConstants.java40
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExecutable.java31
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtension.java46
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionImpl.java100
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistry.java42
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistryImpl.java118
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/JavaProxyTestCommand.java39
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WSDLTestFinishCommand.java19
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestExtension.java178
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestFinishCommand.java39
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestRegistry.java144
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/plugin/WebServicePlugin.java97
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaClientInfo.java48
-rw-r--r--bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaInfo.java48
-rw-r--r--bundles/org.eclipse.wst.command.env.core/.classpath7
-rw-r--r--bundles/org.eclipse.wst.command.env.core/.cvsignore8
-rw-r--r--bundles/org.eclipse.wst.command.env.core/.project28
-rw-r--r--bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.wst.command.env.core/META-INF/MANIFEST.MF19
-rw-r--r--bundles/org.eclipse.wst.command.env.core/about.html34
-rw-r--r--bundles/org.eclipse.wst.command.env.core/build.properties9
-rw-r--r--bundles/org.eclipse.wst.command.env.core/component.xml8
-rw-r--r--bundles/org.eclipse.wst.command.env.core/plugin.properties16
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandFactory.java26
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandManager.java33
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCore.properties19
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCoreMessages.java31
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/ICommandFactory.java30
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/SimpleCommandFactory.java49
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Condition.java22
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Evaluate.java22
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/MessageUtils.java88
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/ProgressUtils.java22
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java62
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/RangeVector.java30
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/StatusUtils.java58
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/Context.java87
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceContext.java74
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceDefaults.java45
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/TransientResourceContext.java82
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/BeanModifier.java22
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/ClassEntry.java77
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataFlowManager.java293
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistry.java47
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistryImpl.java117
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/RuleEntry.java32
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/Transformer.java23
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/AbstractCommandFragment.java102
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/BooleanFragment.java154
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ChoiceFragment.java143
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFactoryFragment.java160
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragment.java71
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentEngine.java467
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactory.java24
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactoryFactory.java22
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ExtensionFragment.java99
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/FragmentListener.java25
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopCondition.java27
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopFragment.java135
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SequenceFragment.java133
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SimpleFragment.java81
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/registry/CommandRegistry.java29
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/BooleanSelection.java45
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/ChoicesToString.java47
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/DynamicList.java92
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionList.java96
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionListChoices.java121
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/uri/NativeFileCommand.java117
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/.classpath7
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/.cvsignore8
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/.project28
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/META-INF/MANIFEST.MF27
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/about.html34
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/build.properties10
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/icons/full/obj16/ant_buildfile.gifbin370 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/icons/full/wizban/newantfiles_wiz.pngbin9163 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/plugin.properties21
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/plugin.xml23
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/schema/widgetRegistry.exsd117
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUI.properties33
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUIMessages.java46
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/common/TimedOperation.java179
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizard.java277
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizardPage.java57
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/ErrorDialog.java99
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/InfoDialog.java98
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/MessageDialog.java585
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/OptionsDialog.java107
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/StatusDialogConstants.java51
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/WarningDialog.java103
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EclipseStatusHandler.java202
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EnvironmentUtils.java42
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/SWTEnvironmentManager.java28
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/plugin/EnvUIPlugin.java55
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/preferences/ActionDialogsPreferencePage.java247
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/registry/WidgetRegistry.java110
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/AbstractSelectionDialog.java25
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CanFinishRegistry.java29
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBinding.java42
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBindingList.java128
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CurrentPageCommand.java46
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DataObjectCommand.java45
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DialogDataEvents.java35
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DynamicWizard.java387
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributor.java42
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributorFactory.java39
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageInfo.java44
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageWizardDataEvents.java35
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SelectionCommand.java48
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCanFinishRegistry.java34
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCommandEngineManager.java278
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleDialog.java161
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePageFactory.java20
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupPageFactory.java27
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupWizardPage.java70
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetContributor.java74
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetDataContributor.java54
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetRegistry.java34
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWizardPage.java153
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetBindingToWidgetFactoryAdapter.java74
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributor.java71
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributorFactory.java21
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataContributor.java20
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataEvents.java34
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetRegistry.java39
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageFactory.java23
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageManager.java502
-rw-r--r--bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/popup/DynamicPopupWizard.java227
-rw-r--r--bundles/org.eclipse.wst.command.env/.classpath8
-rw-r--r--bundles/org.eclipse.wst.command.env/.cvsignore10
-rw-r--r--bundles/org.eclipse.wst.command.env/.externalToolBuilders/build-anttasks.launch13
-rw-r--r--bundles/org.eclipse.wst.command.env/.project38
-rw-r--r--bundles/org.eclipse.wst.command.env/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.ui.prefs3
-rw-r--r--bundles/org.eclipse.wst.command.env/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.wst.command.env/META-INF/MANIFEST.MF26
-rw-r--r--bundles/org.eclipse.wst.command.env/about.html34
-rw-r--r--bundles/org.eclipse.wst.command.env/ant-lib/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.command.env/ant-src/ws/ant/task/WebServiceGenerationAntTask.java31
-rw-r--r--bundles/org.eclipse.wst.command.env/ant/axisclient.properties50
-rw-r--r--bundles/org.eclipse.wst.command.env/ant/axisservice.properties61
-rw-r--r--bundles/org.eclipse.wst.command.env/ant/wsant.bat28
-rw-r--r--bundles/org.eclipse.wst.command.env/ant/wsant.sh33
-rw-r--r--bundles/org.eclipse.wst.command.env/ant/wsgen.xml13
-rw-r--r--bundles/org.eclipse.wst.command.env/build-anttasks.xml52
-rw-r--r--bundles/org.eclipse.wst.command.env/build.properties14
-rw-r--r--bundles/org.eclipse.wst.command.env/plugin.properties22
-rw-r--r--bundles/org.eclipse.wst.command.env/plugin.xml35
-rw-r--r--bundles/org.eclipse.wst.command.env/schema/antScenario.exsd110
-rw-r--r--bundles/org.eclipse.wst.command.env/schema/antdatamapping.exsd131
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/Environment.properties39
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/EnvironmentMessages.java48
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntController.java164
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java587
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntOperationManager.java63
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java41
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/PropertyDataHolder.java33
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/String2BooleanTransformer.java28
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/CommandLine.java855
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/FlagMessages.java73
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/commandline.properties34
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/ClassPath.java90
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceOutputStream.java153
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceUtils.java778
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/StringUtils.java296
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/WaitForAutoBuildCommand.java40
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/ActionDialogPreferenceTypeRegistry.java99
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentActionDialogsContext.java94
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentContext.java192
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentResourceContext.java86
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/BaseEclipseEnvironment.java27
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EclipseEnvironment.java111
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EnvironmentManager.java28
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/plugin/EnvPlugin.java43
-rw-r--r--bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/preferences/ActionDialogPreferenceType.java205
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/.classpath9
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/.cvsignore9
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/.project28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.core.prefs67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.ui.prefs3
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/META-INF/MANIFEST.MF37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/about.html34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/build-war-pde.xml107
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/build-war.xml59
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/build.properties20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/plugin.properties35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/plugin.xml47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/properties/favorites_default.wsil37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/servletapi/org.eclipse.equinox.servlet.api_1.0.0.v20060206.jarbin80449 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/CatalinaRunnable.java59
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOption.java51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOptions.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardRunnable.java52
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardTask.java65
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorer.java236
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerContext.java15
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerLauncherCommand.java85
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeDefault.java75
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeWSE.java76
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/plugin/ExplorerPlugin.java188
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/popup/PopupTestWSDL.java143
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/explorer.properties183
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/favorites.properties164
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/uddi.properties496
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsdl.properties158
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsil.properties163
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/Action.java134
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/CheckWorkbenchFileReadOnlyAction.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearNodeAction.java98
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearViewElementAction.java81
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormAction.java72
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormInputException.java26
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToFileSystemAction.java127
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToWorkbenchAction.java220
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LaunchWebServiceWizardAction.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LinkAction.java80
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/NodeAction.java132
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenCalendarBrowserAction.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenWSDLBrowserAction.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ProxyLoadPageAction.java44
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ResizeFramesAction.java55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/RetrieveHistoryAction.java74
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeAction.java73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeToolAction.java163
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ShowPerspectiveAction.java77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ToggleNodeAction.java88
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ValidateEditAction.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WSDLFileNameHelper.java37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WriteWSDLToWorkbenchAction.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ActionInputs.java105
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/FrameNames.java28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ModelConstants.java19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ToolTypes.java19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListElement.java74
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListManager.java122
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/TreeElement.java43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionDataParser.java229
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionEngine.java233
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/constants/ActionDataConstants.java30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ActionDescriptor.java92
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ScenarioDescriptor.java26
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/TransactionDescriptor.java26
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/CurrentNodeSelectionTransformer.java46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ITransformer.java19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MassNodeIdTransformer.java104
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MultipartFormDataParserTransformer.java76
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeIdTransformer.java134
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeSelectionTransformer.java163
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ViewSelectionTransformer.java121
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddBusinessToUDDIPerspectiveAction.java60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddRegistryToUDDIPerspectiveAction.java45
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceInterfaceToUDDIPerspectiveAction.java60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceToUDDIPerspectiveAction.java60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddToUDDIPerspectiveAction.java250
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddUserDefRegistryToUDDIPerspectiveAction.java49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddWSILToWSILPerspectiveAction.java77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesAddToWSDLPerspectiveAction.java73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToFileSystemAction.java87
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToWorkbenchAction.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesLaunchWebServiceWizardAction.java58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesRestoreDefaultFavoritesAction.java73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesToggleNodeAction.java78
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/MultipleLinkAction.java109
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/RemoveFavoritesAction.java135
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/ResizeFavoritesFramesAction.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesNodeAction.java73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesToolAction.java92
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeAction.java46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SwitchPerspectiveFromFavoritesAction.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesActionInputs.java23
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesFrameNames.java26
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesModelConstants.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesElement.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesFolderElement.java49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesMainElement.java137
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessElement.java47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessFolderElement.java117
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryElement.java58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryFolderElement.java192
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceElement.java47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceFolderElement.java118
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceElement.java47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceFolderElement.java118
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryElement.java192
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryFolderElement.java117
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceElement.java39
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceFolderElement.java110
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILElement.java39
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILFolderElement.java109
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddToUDDIPerspectiveTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddWSILToWSILPerspectiveTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesAddToWSDLPerspectiveTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToFileSystemTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToWorkbenchTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesLaunchWebServiceWizardTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesMainNode.java99
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorFolderNode.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorNode.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesPerspective.java161
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesRestoreDefaultFavoritesTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesSetDefaultViewTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessDetailsTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessFolderNode.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessNode.java27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryDetailsTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryFolderNode.java62
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryNode.java27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceDetailsTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceFolderNode.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceDetailsTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceFolderNode.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceNode.java27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceNode.java27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryDetailsTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryFolderNode.java68
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryNode.java30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLDetailsTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceFolderNode.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceNode.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILDetailsTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILFolderNode.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILNode.java27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIBusinessTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIRegistryTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceInterfaceTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUserDefUDDIRegistryTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSDLServiceTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSILTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/RemoveFavoritesTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ActionTool.java27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/AddToWSDLPerspectiveTool.java20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/BreadCrumb.java55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Controller.java224
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FolderNode.java27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormTool.java102
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolProperties.java109
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolPropertiesInterface.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/History.java94
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToFileSystemTool.java19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToWorkbenchTool.java23
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchOptionsManager.java93
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchWebServiceWizardTool.java23
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageBundle.java126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageProvider.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageQueue.java49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Node.java450
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/NodeManager.java253
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Perspective.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SectionHeaderInfo.java61
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SetDefaultViewTool.java20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Tool.java113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ToolManager.java75
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ViewTool.java54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddItemsToFavoritesAction.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddPublisherAssertionsAction.java242
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddToFavoritesAction.java242
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceAdvancedAction.java53
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceSimpleAction.java54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusinessGetServicesAction.java81
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorFolderNodeAction.java46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodeAction.java63
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodesAction.java53
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CommonPublisherAssertionsAction.java103
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CompletePublisherAssertionsAction.java217
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/FindAction.java266
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LoginAdvancedAction.java222
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LogoutAdvancedAction.java72
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ManageReferencedServicesAction.java374
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenCategoryBrowserAction.java59
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenRegistryAction.java250
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/PublishAction.java238
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodeAction.java254
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodesAction.java72
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessUUIDAction.java112
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesAdvancedAction.java315
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesSimpleAction.java119
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfaceUUIDAction.java112
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesAdvancedAction.java378
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesSimpleAction.java119
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceUUIDAction.java112
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesAdvancedAction.java392
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesSimpleAction.java121
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessAdvancedAction.java269
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessSimpleAction.java113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceAdvancedAction.java370
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceAdvancedAction.java239
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceSimpleAction.java158
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceSimpleAction.java216
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemovePublisherAssertionsAction.java228
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemoveSubQueryItemAction.java78
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ResizeUDDIFramesAction.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectCategoryNodeAction.java71
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectFindToolAction.java83
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectNavigatorNodeAction.java76
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectPropertiesToolAction.java83
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectSubQueryItemAction.java229
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetBusinessAction.java73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetServiceInterfacesAction.java78
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetBusinessesAction.java85
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetServicesAction.java85
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ShowPublisherAssertionsAction.java425
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SwitchPerspectiveFromUDDIAction.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleCategoryNodeAction.java79
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleNavigatorNodeAction.java77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferSubQueryResultsAction.java148
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferToAddCategoryDataAction.java42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIAddToWSDLPerspectiveAction.java133
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToFileSystemAction.java115
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToWorkbenchAction.java59
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDILaunchWebServiceWizardAction.java93
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDINodeAction.java40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIPropertiesFormAction.java51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UnpublishAction.java165
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateAction.java185
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateBusinessAction.java409
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateRegistryAction.java127
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceAction.java490
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceInterfaceAction.java336
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIActionInputs.java209
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIFrameNames.java30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIModelConstants.java48
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/AbstractUDDIElement.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/BusinessElement.java50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryElement.java56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryModel.java569
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublishedItemsElement.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublisherAssertionElement.java111
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryElement.java61
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryParentElement.java30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/RegistryElement.java299
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceElement.java31
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceInterfaceElement.java31
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/UDDIMainElement.java47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/AddToFavoritesTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusPublishServiceTool.java110
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessDetailsTool.java71
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessNode.java54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/CategoryNode.java76
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/DetailsTool.java78
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetBusinessesTool.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServiceInterfacesTool.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServicesTool.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ItemsSummaryTool.java49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/LoginTool.java73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManagePublisherAssertionsTool.java104
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManageReferencedServicesTool.java103
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/MultipleFormToolPropertiesInterface.java19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/OpenRegistryTool.java65
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/PublishedItemsNode.java124
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryNode.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryParentNode.java82
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RefreshTool.java37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegFindTool.java140
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegPublishTool.java126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryDetailsTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryNode.java249
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ResultsTool.java44
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RootCategoryNode.java59
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceDetailsTool.java74
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceDetailsTool.java82
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceNode.java60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceNode.java61
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryKeyProperty.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryTransferTarget.java93
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIAddToWSDLPerspectiveTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToFileSystemTool.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToWorkbenchTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDILaunchWebServiceWizardTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIMainNode.java116
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorFolderNode.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorNode.java43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIPerspective.java499
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UnpublishTool.java56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/util/Uddi4jHelper.java423
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/CharArrayWrapper.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/DirUtils.java69
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/HTMLUtils.java207
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataException.java25
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataParser.java247
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/QuickSort.java85
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/TrimFilter.java60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/URLUtils.java101
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/Validator.java41
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/XMLUtils.java145
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ClearWSDLAction.java96
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/CreateInstanceAction.java89
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpGetOperationFormAction.java55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpOperationFormAction.java113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpPostOperationFormAction.java67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationAction.java284
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationFormAction.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationSourceAction.java168
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenWSDLAction.java100
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenXSDInfoDialogAction.java43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/RefreshWSDLAction.java135
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ResizeWSDLFramesAction.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLNavigatorNodeAction.java70
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLPropertiesToolAction.java90
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SwitchPerspectiveFromWSDLAction.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SynchronizeFragmentViewsAction.java124
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ToggleWSDLNavigatorNodeAction.java77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/UpdateWSDLBindingAction.java93
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLAddToFavoritesAction.java92
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToFileSystemAction.java71
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToWorkbenchAction.java51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLLaunchWebServiceWizardAction.java48
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLPropertiesFormAction.java56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/BindingTypes.java23
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/FragmentConstants.java91
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLActionInputs.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLFrameNames.java30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLModelConstants.java28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/Endpoint.java67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLBindingElement.java233
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLCommonElement.java55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLElement.java419
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLOperationElement.java271
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLServiceElement.java113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IFragment.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncArrayFragment.java15
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncodingWrapperFragment.java18
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDAttributeFragment.java20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDComplexFragment.java16
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDDelegationFragment.java16
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDElementFragment.java24
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDFragment.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupAllFragment.java15
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupChoiceFragment.java20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupFragment.java22
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupSeqFragment.java15
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDMapFragment.java23
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleAtomicFragment.java14
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleListFragment.java15
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleUnionFragment.java18
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDAttributeUseToFragmentMapper.java75
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDComplexTypeToFragmentMapper.java56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDElementDeclarationToFragmentMapper.java91
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDLiteralXMLEncodingToFragmentMapper.java88
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDParticleToFragmentMapper.java104
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSOAPEncodingToFragmentMapper.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSimpleTypeToFragmentMapper.java174
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentConfiguration.java90
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentController.java87
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentMapper.java78
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/Fragment.java102
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFixFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFragment.java188
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayRangeFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncodingWrapperFragment.java189
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDAttributeFragment.java183
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFixFragment.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFragment.java322
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexRangeFragment.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentFixFragment.java184
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentRangeFragment.java182
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDefaultFragment.java120
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDelegationFragment.java113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDElementFragment.java297
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDEmptyFragment.java119
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDFragment.java338
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupAllFragment.java167
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFixFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFragment.java168
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceRangeFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupFragment.java266
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFixFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFragment.java30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqRangeFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDMapFragment.java289
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeFixFragment.java28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeRangeFragment.java28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFixFragment.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFragment.java42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumRangeFragment.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFixFragment.java31
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFragment.java29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicRangeFragment.java31
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFixFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFragment.java152
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListRangeFragment.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFixFragment.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFragment.java119
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionRangeFragment.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/HTTPUtil.java103
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/OptionVector.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/XSDTypeDefinitionUtil.java114
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/DetailsTool.java39
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/InvokeWSDLOperationTool.java96
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/OpenWSDLTool.java37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/SOAPMessageQueue.java47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLAddToFavoritesTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingDetailsTool.java21
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingNode.java61
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLDetailsTool.java43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToFileSystemTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToWorkbenchTool.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLLaunchWebServiceWizardTool.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLMainNode.java60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNavigatorNode.java38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNode.java64
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLPerspective.java370
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceDetailsTool.java21
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceNode.java61
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transformer/FragmentTransformer.java98
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/ChunkedInputStream.java192
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPException.java56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPResponse.java91
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPTransport.java616
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/util/SoapHelper.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/xsd/WSDLPartsToXSDTypeMapper.java143
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToFavoritesAction.java95
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToUDDIPerspectiveAction.java91
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToFavoritesAction.java95
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToUDDIPerspectiveAction.java91
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToFavoritesAction.java96
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToUDDIPerspectiveAction.java128
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSDLServiceToFavoritesAction.java83
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSILToFavoritesAction.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ClearWSILAction.java58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSDLToFileSystemAction.java155
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSILToFileSystemAction.java77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/MultipleLinkAction.java104
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/NullAction.java32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILAction.java183
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILLinkAction.java90
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshAction.java93
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIBusinessAction.java94
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIServiceAction.java94
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshWSILAction.java46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ResizeWSILFramesAction.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILNodeAction.java71
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILToolAction.java130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SwitchPerspectiveFromWSILAction.java66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WSILImportWSILToWorkbenchAction.java57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilAddToWSDLPerspectiveAction.java86
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilImportWSDLToWorkbenchAction.java58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilLaunchWebServiceWizardAction.java75
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilToggleNodeAction.java78
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilActionInputs.java31
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilFrameNames.java26
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilModelConstants.java24
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilCommonElement.java56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilElement.java460
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilLinkElement.java53
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilServiceElement.java67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiBusinessElement.java96
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiServiceElement.java105
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsdlServiceElement.java86
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsilLinkElement.java41
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToFavoritesTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToUDDIPerspectiveTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToFavoritesTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToUDDIPerspectiveTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSDLServiceToFavoritesTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSILToFavoritesTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ClearWSILTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSDLToFileSystemTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSILToFileSystemTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIBusinessTool.java44
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIServicesTool.java51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSDLServicesTool.java48
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSILLinksTool.java41
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILLinkTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIBusinessTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIServiceTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshWSILTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiBusinessDetailsTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiServiceDetailsTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILImportWSILToWorkbenchTool.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILPerspective.java153
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsdlServiceDetailsTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilAddToWSDLPerspectiveTool.java35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilDetailsTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilImportWSDLToWorkbenchTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLaunchWebServiceWizardTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLinkDetailsTool.java33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilMainNode.java51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNavigatorNode.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNode.java36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilSetDefaultViewTool.java34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/transformer/WSILViewSelectionTransformer.java139
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/views/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/fragment/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/views/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/lib/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/web.xml9
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine.jsp91
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine_container.jsp137
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/CheckWorkbenchFileReadOnlyActionJSP.jsp55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearNodeAction.inc59
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearViewElementAction.inc45
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToFileSystemAction.inc57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToWorkbenchAction.inc66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/LaunchWebServiceWizardAction.inc45
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/RetrieveHistoryActionJSP.jsp58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SaveActionEngineScenario.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeAction.inc108
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeToolAction.inc182
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ShowPerspectiveActionJSP.jsp70
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ToggleNodeAction.inc77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ValidateEditActionJSP.jsp48
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/WriteWSDLToWorkbenchActionJSP.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_browser.jsp44
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_content.jsp626
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_toolbar.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/calendar.css2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/toolbar.css20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/treeview.css5
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/windows.css47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp61
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp62
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToFileSystemActionJSP.jsp24
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp22
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesToggleNodeActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesActionJSP.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesConfirmJSP.jsp38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/ResizeFavoritesFramesActionJSP.jsp53
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesActionJSP.jsp51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesNodeActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesToolActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SwitchPerspectiveFromFavoritesActionJSP.jsp30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_actions_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_content.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_toolbar.jsp66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_perspective_content.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_content.jsp73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_toolbar.jsp82
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_content.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_toolbar.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesImportToWorkbenchForm.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesLaunchWebServiceWizardForm.jsp20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp100
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp154
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceDetailsPage.jsp100
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp100
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp311
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSDLDetailsPage.jsp71
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSILDetailsPage.jsp72
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/ProcessFavoritesFramesetsForm.jsp27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_enabled.gifbin583 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_highlighted.gifbin583 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_enabled.gifbin623 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_highlighted.gifbin623 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_enabled.gifbin597 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_highlighted.gifbin597 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_enabled.gifbin591 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_highlighted.gifbin591 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_enabled.gifbin574 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_highlighted.gifbin574 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_enabled.gifbin564 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_highlighted.gifbin564 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_enabled.gifbin605 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_highlighted.gifbin605 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_enabled.gifbin587 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_highlighted.gifbin587 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_business_node.gifbin358 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_cat_node.gifbin373 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_node.gifbin353 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_interface_node.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_node.gifbin541 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsdl_service_node.gifbin563 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsil_node.gifbin606 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesFormSubmit.jsp43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesPanes.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesTable.jsp62
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesframesets.jsp32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIBusinessView.jsp126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIRegistryView.jsp126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceInterfaceView.jsp126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceView.jsp126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp123
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSDLServiceView.jsp126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSILView.jsp128
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportToWorkbenchForm.jsp103
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportWSDLAndWSILToWorkbenchForm.jsp160
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/LaunchWebServiceWizardForm.jsp57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadContent.jsp73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadPage.jsp36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/copyright.inc12
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/formheader.inc23
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/otherActions.jsp55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/simpleCommon_table.jsp26
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/actions.gifbin365 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_enabled.gifbin1023 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_highlighted.gifbin1023 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_enabled.gifbin327 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_highlighted.gifbin327 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/calendar.gifbin359 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_enabled.gifbin545 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_highlighted.gifbin545 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_enabled.gifbin1008 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_highlighted.gifbin1008 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_play.gifbin145 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_record.gifbin210 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_save.gifbin229 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_stop.gifbin149 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_play.gifbin318 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_record.gifbin211 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_save.gifbin571 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_stop.gifbin154 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/actionengine.gifbin580 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_enabled.gifbin144 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_highlighted.gifbin144 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_enabled.gifbin145 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_highlighted.gifbin145 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_closed.gifbin219 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_open.gifbin324 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_enabled.gifbin327 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_highlighted.gifbin327 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_enabled.gifbin330 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_highlighted.gifbin330 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_enabled.gifbin327 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_highlighted.gifbin327 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/keyline.gifbin96 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_enabled.gifbin590 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_highlighted.gifbin590 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line.gifbin70 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_last.gifbin62 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_notlast.gifbin92 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_last.gifbin82 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_notlast.gifbin82 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/navigator.gifbin139 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_last.gifbin84 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_notlast.gifbin85 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_enabled.gifbin216 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_highlighted.gifbin216 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/root_main.gifbin342 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/space.gifbin50 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/status.gifbin121 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_enabled.gifbin323 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_highlighted.gifbin323 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistclosed.gifbin81 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistopened.gifbin78 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_enabled.gifbin347 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_highlighted.gifbin347 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl.gifbin563 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_enabled.gifbin1008 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_highlighted.gifbin1008 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_enabled.gifbin599 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_highlighted.gifbin599 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/launch_options_registry.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_content.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_toolbar.jsp77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/browserdetect.js15
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/calendarbrowser.jsp69
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formsubmit.jsp34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formutils.jsp41
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/panes.jsp39
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/resumeproxyloadpage.js17
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/switchperspective.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/tables.jsp159
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/toolbar.js30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/treeview.js50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/wsdlbrowser.jsp48
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddItemsToFavoritesActionJSP.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddPublisherAssertionsActionJSP.jsp46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddToFavoritesActionJSP.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceAdvancedActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceSimpleActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusinessGetServicesActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CheckFavoriteExistsActionJSP.jsp65
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodeActionJSP.jsp35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodesActionJSP.jsp35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CompletePublisherAssertionsActionJSP.jsp46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LaunchSubQueryAction.inc56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LoginAdvancedActionJSP.jsp54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LogoutAdvancedActionJSP.jsp43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ManageReferencedServicesActionJSP.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/NewNodeAction.inc55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/OpenRegistryActionJSP.jsp36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodeActionJSP.jsp90
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodesActionJSP.jsp65
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessUUIDActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesAdvancedActionJSP.jsp51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesSimpleActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfaceUUIDActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesAdvancedActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesSimpleActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceUUIDActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesAdvancedActionJSP.jsp51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesSimpleActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessAdvancedActionJSP.jsp38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessSimpleActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceAdvancedActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceAdvancedActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceSimpleActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceSimpleActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemovePublisherAssertionsActionJSP.jsp46
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemoveSubQueryItemActionJSP.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ResizeUDDIFramesActionJSP.jsp54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectCategoryNodeActionJSP.jsp77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectFindToolActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectNavigatorNodeActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectPropertiesToolActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectSubQueryItemActionJSP.jsp51
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetBusinessActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetServiceInterfacesActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetBusinessesActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetServicesActionJSP.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ShowPublisherAssertionsActionJSP.jsp57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SwitchPerspectiveFromUDDIActionJSP.jsp30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleCategoryNodeActionJSP.jsp58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleNavigatorNodeActionJSP.jsp21
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferSubQueryResultsActionJSP.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferToAddCategoryDataActionJSP.jsp44
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIAddToWSDLPerspectiveActionJSP.jsp54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToFileSystemActionJSP.jsp24
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToWorkbenchActionJSP.jsp22
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDILaunchWebServiceWizardActionJSP.jsp19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UnpublishActionJSP.jsp36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateAction.inc47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateBusinessActionJSP.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateNewPublishActionJSP.jsp32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateRegistryActionJSP.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceActionJSP.jsp86
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceInterfaceActionJSP.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceNewPublishBusinessActionJSP.jsp36
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_browser.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_content.jsp113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_toolbar.jsp44
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/geo-data.txt1383
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/naics-data.txt1814
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/unspsc-data.txt17054
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceAdvancedForm.jsp114
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceForm.jsp259
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceSimpleForm.jsp95
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusinessDetailsForm.jsp293
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/GetForm.jsp217
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ItemsSummaryForm.jsp210
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/LoginUddiForm.jsp87
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManagePublisherAssertionsForm.jsp408
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManageReferencedServicesForm.jsp231
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/OpenRegistryForm.jsp178
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ProcessUDDIFramesetsForm.jsp27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegDetailsForm.jsp267
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesAdvancedForm.jsp93
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesForm.jsp47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesSimpleForm.jsp58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindForm.jsp708
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesAdvancedForm.jsp114
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesForm.jsp45
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesSimpleForm.jsp58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesAdvancedForm.jsp85
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesForm.jsp47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesSimpleForm.jsp58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindUUIDForm.jsp65
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessAdvancedForm.jsp74
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessForm.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessSimpleForm.jsp71
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishForm.jsp583
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceAdvancedForm.jsp107
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceForm.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceAdvancedForm.jsp101
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceForm.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceSimpleForm.jsp92
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceSimpleForm.jsp103
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ResultsForm.jsp176
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceDetailsForm.jsp278
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceInterfaceDetailsForm.jsp292
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDIImportWSDLToWorkbenchForm.jsp38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDILaunchWebServiceWizardForm.jsp20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UnpublishForm.jsp90
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/advancedCommon_table.jsp63
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/authentication_table.jsp88
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/categories_table.jsp77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsCategories_table.jsp60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsDiscoveryURLs_table.jsp68
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsIdentifiers_table.jsp60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsLanguageInput_table.jsp82
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsSingleItem_table.jsp34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/discoveryURLs_table.jsp62
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findQualifiers_table.jsp65
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findformheader.inc53
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/identifiers_table.jsp54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/languageInput_table.jsp86
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/login_authentication_table.jsp79
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/names_findQualifiers_table.jsp31
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/results_table.jsp52
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/resultsformheader.inc50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ud_categories_table.jsp62
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjectsPublisherAssertions_table.jsp84
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjects_table.jsp80
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_enabled.gifbin358 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_highlighted.gifbin358 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_enabled.gifbin372 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_highlighted.gifbin372 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_open_highlighted.gifbin369 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/category.gifbin363 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_enabled.gifbin347 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_highlighted.gifbin347 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_enabled.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_highlighted.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_enabled.gifbin595 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_highlighted.gifbin595 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_enabled.gifbin569 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_highlighted.gifbin569 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_enabled.gifbin362 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_highlighted.gifbin362 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_enabled.gifbin339 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_highlighted.gifbin339 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_open_highlighted.gifbin339 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/query.gifbin564 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_enabled.gifbin612 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_highlighted.gifbin612 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/registry.gifbin353 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/regstrycat_obj.gifbin373 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_highlighted.gifbin541 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interface_highlighted.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_enabled.gifbin594 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_highlighted.gifbin594 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_open_highlighted.gifbin603 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_enabled.gifbin594 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_highlighted.gifbin594 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_enabled.gifbin594 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_highlighted.gifbin594 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish.gifbin351 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_enabled.gifbin568 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_highlighted.gifbin568 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_enabled.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_highlighted.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_enabled.gifbin599 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_highlighted.gifbin599 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_content.jsp50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_toolbar.jsp66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_content.jsp76
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_toolbar.jsp84
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/cbpanes.jsp20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/detailstables.jsp1550
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/results.jsp135
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddiframesets.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddipanes.jsp35
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/udditables.jsp894
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_content.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_toolbar.jsp66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/uddi_perspective_content.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ClearWSDLActionJSP.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/CreateInstanceActionJSP.jsp34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpGetOperationFormActionJSP.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpPostOperationFormActionJSP.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp138
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationSourceActionJSP.jsp172
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/OpenWSDLActionJSP.jsp58
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/RefreshWSDLActionJSP.jsp73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ResizeWSDLFramesActionJSP.jsp54
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLNavigatorNodeActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLPropertiesToolActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchPerspectiveFromWSDLActionJSP.jsp30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchReadOnlyFragmentViewsActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchWSDLDetailsViewsActionJSP.jsp37
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionAbortJSP.jsp38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionJSP.jsp56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ToggleWSDLNavigatorNodeActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/UpdateWSDLBindingActionJSP.jsp34
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLAddToFavoritesActionJSP.jsp40
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLCheckFavoriteExistsActionJSP.jsp65
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToFileSystemActionJSP.jsp23
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToWorkbenchActionJSP.jsp22
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLLaunchWebServiceWizardActionJSP.jsp19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsFormView.jsp43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsSoapView.jsp332
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/InvokeWSDLOperationForm.jsp217
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/OpenWSDLForm.jsp84
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ProcessWSDLFramesetsForm.jsp27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsFormView.jsp222
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsSoapView.jsp119
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLBindingDetailsForm.jsp111
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp104
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsFormView.jsp106
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsSourceView.jsp45
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLImportWSDLToWorkbenchForm.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLLaunchWebServiceWizardForm.jsp20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLServiceDetailsForm.jsp79
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/bindings_table.jsp72
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/endpoint_table.jsp139
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/operations_table.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/services_table.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayFixWFragmentJSP.jsp55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRFragmentJSP.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRangeWFragmentJSP.jsp89
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexFixWFragmentJSP.jsp120
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRFragmentJSP.jsp86
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRangeWFragmentJSP.jsp132
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentFixWFragmentJSP.jsp129
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRFragmentJSP.jsp95
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRangeWFragmentJSP.jsp137
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp201
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentJSP.jsp76
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentXML.jsp113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultWFragmentJSP.jsp74
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationRFragmentJSP.jsp38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationWFragmentJSP.jsp38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementRFragmentJSP.jsp50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementWFragmentJSP.jsp50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyRFragmentJSP.jsp17
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyWFragmentJSP.jsp77
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupAllWFragmentJSP.jsp190
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceFixWFragmentJSP.jsp119
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRFragmentJSP.jsp79
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRangeWFragmentJSP.jsp152
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupRFragmentJSP.jsp89
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqFixWFragmentJSP.jsp55
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqRangeWFragmentJSP.jsp101
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfoDialog.jsp52
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_content.jsp47
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_toolbar.jsp50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeFixWFragmentJSP.jsp97
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeRangeWFragmentJSP.jsp113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumFixWFragmentJSP.jsp110
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumRangeWFragmentJSP.jsp165
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicFixWFragmentJSP.jsp95
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp323
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp60
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRangeWFragmentJSP.jsp140
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListFixWFragmentJSP.jsp57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRFragmentJSP.jsp45
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRangeWFragmentJSP.jsp103
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionFixWFragmentJSP.jsp144
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRFragmentJSP.jsp44
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRangeWFragmentJSP.jsp157
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_enabled.gifbin590 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_highlighted.gifbin590 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_enabled.gifbin579 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_highlighted.gifbin579 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_binding_node.gifbin615 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_operation_node.gifbin359 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_service_node.gifbin585 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/fragmenttables.jsp202
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlframesets.jsp32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlpanes.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/soap_envelope_xml.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_actions_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_container.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_content.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_toolbar.jsp66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_perspective_content.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_content.jsp73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_toolbar.jsp81
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_result_content.jsp72
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_container.jsp39
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_content.jsp43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_toolbar.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_browser.jsp57
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_content.jsp393
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_toolbar.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsexplorer.jsp88
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp38
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearWSILActionJSP.jsp18
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSDLToFileSystemActionJSP.jsp24
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSILToFileSystemActionJSP.jsp24
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.jsp67
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp63
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILNodeActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILToolActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp30
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp22
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.jsp39
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp56
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp53
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp72
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp22
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp19
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilToggleNodeActionJSP.jsp33
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp101
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp126
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp132
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp113
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp148
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp88
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp84
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_enabled.gifbin583 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_highlighted.gifbin583 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_enabled.gifbin564 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_highlighted.gifbin564 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_enabled.gifbin587 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_highlighted.gifbin587 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_enabled.gifbin597 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_highlighted.gifbin586 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_enabled.gifbin591 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_highlighted.gifbin591 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_enabled.gifbin596 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_highlighted.gifbin596 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/wsil_node.gifbin606 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilAbstractTable.jsp82
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilFormSubmit.jsp43
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilNameTable.jsp82
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilPanes.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilTable.jsp82
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilframesets.jsp32
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiBusinessView.jsp157
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiServicesView.jsp158
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsdlServicesView.jsp134
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsilLinksView.jsp130
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_actions_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_container.jsp28
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_content.jsp49
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_toolbar.jsp66
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_perspective_content.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_content.jsp73
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_toolbar.jsp81
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_container.jsp29
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_content.jsp42
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_toolbar.jsp66
-rw-r--r--bundles/org.eclipse.wst.ws.parser/.classpath7
-rw-r--r--bundles/org.eclipse.wst.ws.parser/.cvsignore8
-rw-r--r--bundles/org.eclipse.wst.ws.parser/.project28
-rw-r--r--bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.wst.ws.parser/META-INF/MANIFEST.MF22
-rw-r--r--bundles/org.eclipse.wst.ws.parser/about.html34
-rw-r--r--bundles/org.eclipse.wst.ws.parser/build.properties6
-rw-r--r--bundles/org.eclipse.wst.ws.parser/plugin.properties16
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOContractReference.java28
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOParser.java123
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOReference.java27
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/NetUtils.java93
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/WebServicesParserExt.java32
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesConstants.java22
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesLink.java34
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesRegistryTypeAbstract.java429
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesService.java34
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIBusiness.java49
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIRegistry.java88
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIService.java51
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIServiceInterface.java51
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSDL.java38
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSIL.java39
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesRegistryType.java36
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIBusiness.java23
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIRegistry.java25
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIService.java23
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIServiceInterface.java23
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSDL.java21
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSIL.java21
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/plugin/ParserPlugin.java111
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/HTMLHeadHandler.java296
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/IllegalArgumentsException.java22
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/UDDIURIHelper.java63
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WSILMessages.java22
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationException.java46
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationHandler.java19
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServiceEntity.java148
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServicesParser.java628
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/wsil.properties22
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/PluginMessages.java18
-rw-r--r--bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/plugin.properties18
-rw-r--r--bundles/org.eclipse.wst.ws.ui/.classpath7
-rw-r--r--bundles/org.eclipse.wst.ws.ui/.cvsignore7
-rw-r--r--bundles/org.eclipse.wst.ws.ui/.project28
-rw-r--r--bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.wst.ws.ui/META-INF/MANIFEST.MF24
-rw-r--r--bundles/org.eclipse.wst.ws.ui/about.html34
-rw-r--r--bundles/org.eclipse.wst.ws.ui/build.properties7
-rw-r--r--bundles/org.eclipse.wst.ws.ui/plugin.properties19
-rw-r--r--bundles/org.eclipse.wst.ws.ui/plugin.xml35
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPlugin.properties66
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPluginMessages.java58
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/command/OpenEditorCommand.java122
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/plugin/WSUIPlugin.java72
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/preferences/WebServicesPreferencePage.java44
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/WSICompliancePreferencePage.java362
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/properties/WSICompliancePropertyPage.java242
-rw-r--r--bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsrt/IObjectSelector.java28
-rw-r--r--bundles/org.eclipse.wst.ws/.classpath7
-rw-r--r--bundles/org.eclipse.wst.ws/.cvsignore7
-rw-r--r--bundles/org.eclipse.wst.ws/.project28
-rw-r--r--bundles/org.eclipse.wst.ws/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.wst.ws/.settings/org.eclipse.pde.prefs12
-rw-r--r--bundles/org.eclipse.wst.ws/META-INF/MANIFEST.MF50
-rw-r--r--bundles/org.eclipse.wst.ws/RT.genmodel117
-rw-r--r--bundles/org.eclipse.wst.ws/RT.xsd2ecore120
-rw-r--r--bundles/org.eclipse.wst.ws/about.html34
-rw-r--r--bundles/org.eclipse.wst.ws/build.properties9
-rw-r--r--bundles/org.eclipse.wst.ws/component.xml12
-rw-r--r--bundles/org.eclipse.wst.ws/jmerger/merge.xml11
-rw-r--r--bundles/org.eclipse.wst.ws/model/Index.xsd52
-rw-r--r--bundles/org.eclipse.wst.ws/model/Registry.xsd43
-rw-r--r--bundles/org.eclipse.wst.ws/model/Taxonomy.xsd46
-rw-r--r--bundles/org.eclipse.wst.ws/model/UDDIRegistry.xsd48
-rw-r--r--bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.registry.ecore141
-rw-r--r--bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.rtindex.ecore140
-rw-r--r--bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore167
-rw-r--r--bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore133
-rw-r--r--bundles/org.eclipse.wst.ws/plugin.properties30
-rw-r--r--bundles/org.eclipse.wst.ws/plugin.xml44
-rw-r--r--bundles/org.eclipse.wst.ws/schema/webServiceLocator.exsd197
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPlugin.properties45
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPluginMessages.java45
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/BundleUtils.java26
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/LiveWSDLFilter.java102
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/MergeUtils.java167
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/WSDLUtility.java172
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/data/LabelsAndIds.java48
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicConnection.java63
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicElement.java344
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicModel.java149
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicProperty.java70
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicRel.java100
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Connection.java57
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Element.java265
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementAdapter.java62
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementListener.java56
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Model.java135
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Property.java70
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyAddEvent.java66
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyChangeEvent.java81
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyRemoveEvent.java64
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Rel.java86
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelAddEvent.java110
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java122
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExecutable.java29
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtension.java46
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionImpl.java100
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistry.java42
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistryImpl.java115
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractClientFragment.java86
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractServiceFragment.java86
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleClientFragment.java53
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleServiceFragment.java53
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployClientFragment.java54
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployServiceFragment.java54
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopClientFragment.java53
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopServiceFragment.java53
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallClientFragment.java61
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallServiceFragment.java62
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunClientFragment.java61
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunServiceFragment.java62
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Description.java81
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/DocumentRoot.java165
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Name.java81
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Registry.java144
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryFactory.java73
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryPackage.java570
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DescriptionImpl.java216
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DocumentRootImpl.java367
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/NameImpl.java216
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryFactoryImpl.java108
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryImpl.java368
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryPackageImpl.java586
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryAdapterFactory.java171
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceFactoryImpl.java63
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceImpl.java32
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistrySwitch.java193
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Description.java81
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/DocumentRoot.java165
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Index.java97
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Name.java81
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexFactory.java73
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexPackage.java550
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DescriptionImpl.java216
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DocumentRootImpl.java367
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/IndexImpl.java267
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/NameImpl.java216
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexFactoryImpl.java108
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexPackageImpl.java573
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexAdapterFactory.java171
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceFactoryImpl.java63
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceImpl.java32
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexSwitch.java193
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Category.java117
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/DocumentRoot.java165
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Name.java81
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Taxonomy.java198
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyFactory.java73
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyPackage.java650
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/CategoryImpl.java313
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/DocumentRootImpl.java367
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/NameImpl.java216
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyFactoryImpl.java108
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyImpl.java476
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyPackageImpl.java658
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyAdapterFactory.java171
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceFactoryImpl.java63
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceImpl.java32
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomySwitch.java193
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/DocumentRoot.java138
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/Taxonomies.java46
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistry.java243
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryFactory.java64
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryPackage.java568
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/DocumentRootImpl.java326
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/TaxonomiesImpl.java155
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryFactoryImpl.java97
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryImpl.java631
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryPackageImpl.java542
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryAdapterFactory.java173
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceFactoryImpl.java63
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceImpl.java32
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistrySwitch.java190
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/monitor/GetMonitorCommand.java207
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/plugin/WSPlugin.java160
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/MergeDefaults.java28
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentMergeContext.java61
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSDLValidationContext.java77
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIAPContext.java44
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIContext.java164
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSISSBPContext.java33
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWaitForWSDLValidationContext.java55
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/WSIComplianceUtils.java84
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/GenericResourceFactory.java57
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/IRegistryManager.java273
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/ITaxonomyFinder.java35
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryManager.java531
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryService.java467
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDIRegistryService.java230
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDITaxonomyFinder.java39
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/AbstractWebServiceLocator.java97
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/IWebServiceLocator.java77
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceCategory.java114
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceFinder.java393
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorExtension.java33
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorRegistry.java78
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WorkspaceWSDLLocator.java149
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsil/AddWSDLToWSILCommand.java518
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebService.java49
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceClient.java50
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceRuntime.java29
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IContext.java40
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/ISelection.java18
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebService.java29
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceClient.java28
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServicePublisher.java20
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceRuntime.java28
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceTester.java18
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/SimpleContext.java129
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/TestInfo.java277
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceClientInfo.java69
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceInfo.java97
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java83
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceState.java91
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.classpath11
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.cvsignore8
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.project28
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs54
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs3
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/about.html34
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/build.properties23
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gifbin577 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gifbin577 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gifbin367 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/validate.gifbin558 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gifbin572 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/plugin.properties26
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/plugin.xml492
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd115
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd115
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd107
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd115
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java49
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java18
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java17
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java562
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java41
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java208
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java40
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java186
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java457
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java317
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java95
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java39
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java330
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java54
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java78
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java202
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java39
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java125
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java18
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java64
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java142
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java594
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java173
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java182
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java109
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java60
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java59
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java82
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java294
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java135
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java106
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java144
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java354
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java223
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java82
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java89
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java109
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java132
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Service.java148
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Type.java65
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11TypesCategoryAdapter.java29
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddBindingCommand.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddEndPointCommand.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddImportCommand.java45
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddInterfaceCommand.java66
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddMessageCommand.java57
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddPartCommand.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddSchemaCommand.java69
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddServiceCommand.java53
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteCommand.java124
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteParameterCommand.java113
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11EditNamespacesCommand.java178
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11GenerateBindingCommand.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11RenameCommand.java256
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderMessageReferencesCommand.java122
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderParametersCommand.java171
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetAddressCommand.java207
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetBindingCommand.java36
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetElementCommand.java122
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetInterfaceCommand.java36
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetTypeCommand.java128
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11AddressExtensibilityElementAdapter.java47
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11ExtensibilityElementAdapter.java18
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitor.java212
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitorForFields.java109
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingCommand.java47
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingFaultCommand.java43
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingInputCommand.java42
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOperationCommand.java104
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOutputCommand.java43
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddExtensionElementCommand.java79
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddFaultCommand.java79
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddImportCommand.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddInputCommand.java83
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageCommand.java109
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageReferenceCommand.java71
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOperationCommand.java145
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOutputCommand.java82
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPartCommand.java209
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortCommand.java49
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortTypeCommand.java75
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddServiceCommand.java72
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddTypesCommand.java43
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddUnknownExtensibilityElementCommand.java80
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDElementDeclarationCommand.java147
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDSchemaCommand.java84
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDTypeDefinitionCommand.java162
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/WSDLElementCommand.java19
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/EditNamespacesDialog.java126
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/GenerateBindingOnSaveDialog.java99
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/NewComponentDialog.java186
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/ProtocolComponentControl.java346
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11BrowseComponentDialog.java139
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11NewComponentDialog.java135
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11BindingReferenceEditManager.java110
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11InterfaceReferenceEditManager.java112
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11MessageReferenceEditManager.java128
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBaseSearchListProvider.java110
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBindingSearchListProvider.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentDescriptionProvider.java178
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentFinder.java89
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLInterfaceSearchListProvider.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLMessageSearchListProvider.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDElementReferenceEditManager.java122
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDTypeReferenceEditManager.java111
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibilityItemTreeProviderRegistry.java33
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibleTypeSystemProvider.java85
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeAssociationProvider.java20
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeReconciler.java21
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITreeChildProvider.java23
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITypeSystemProvider.java30
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/NSKeyedExtensionRegistry.java142
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorConfiguration.java185
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtension.java36
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtensionProperties.java69
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLNodeAssociationProvider.java80
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/ExtensiblityElementFilter.java18
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/HttpExtensiblityElementFilter.java51
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/MimeExtensiblityElementFilter.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/SoapExtensiblityElementFilter.java61
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/XSDExtensiblityElementFilter.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/back.gifbin873 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_not_obj.gifbin222 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_obj.gifbin128 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/binding_obj.gifbin610 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bindingheader_obj.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/browsebutton.gifbin53 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/complextype_obj.gifbin155 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/delete_obj.gifbin351 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/element_obj.gifbin351 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/error_co.gifbin82 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fault_obj.gifbin360 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/file_obj.gifbin349 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fldr_el.gifbin366 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/forward.gifbin874 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/hidebinding.gifbin315 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpaddress_obj.gifbin556 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpbinding_obj.gifbin376 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpoperation_obj.gifbin598 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlencoded_obj.gifbin596 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlreplacement_obj.gifbin232 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/import_obj.gifbin114 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/importheader_obj.gifbin336 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/input_obj.gifbin338 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/message_obj.gifbin577 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/messageheader_obj.gifbin581 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespace_obj.gifbin207 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespacedecl_obj.gifbin211 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/new_wsdl_wiz.gifbin3279 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operation_obj.gifbin150 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operationbinding_obj.gifbin615 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_no.gifbin148 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_obj.gifbin347 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_yes.gifbin343 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/page_banner.gifbin5600 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/part_obj.gifbin200 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/port_obj.gifbin220 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttype_obj.gifbin576 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttypeheader_obj.gifbin603 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtcmplxpltyp_obj.gifbin351 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtelemt_obj.gifbin599 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtsmpltyp_obj.gifbin350 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/quickassist.gifbin225 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/service_obj.gifbin542 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/serviceheader_obj.gifbin580 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/simpletype_obj.gifbin150 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soap_obj.gifbin589 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapaddress_obj.gifbin577 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapatt_obj.gifbin583 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbinding_obj.gifbin637 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbody_obj.gifbin585 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapfault_obj.gifbin605 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheader_obj.gifbin587 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheaderfault_obj.gifbin598 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapoperation_obj.gifbin598 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/types_obj.gifbin592 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/validate.gifbin558 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/wsdl_file_obj.gifbin572 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_file_obj.gifbin574 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_obj.gifbin574 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/HTTPLabelProvider.java52
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/SOAPLabelProvider.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/EditorModeSectionFilter.java16
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ExtensionsSection.java265
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSection.java234
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSectionFilter.java28
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ParameterSectionFilter.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/reconciler/DelegatingSourceValidatorForWSDL.java67
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlink.java117
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlinkDetector.java105
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelAdapter.java187
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelLocatorAdapterFactory.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelReconcileAdapter.java154
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ComponentReferenceUtil.java959
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/CreateWSDLElementHelper.java368
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NameUtil.java581
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NodeAssociationManager.java146
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/OpenOnSelectionHelper.java326
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ReferenceEditManagerHelper.java123
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ValidateHelper.java405
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLAdapterFactoryHelper.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLEditorUtil.java294
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLResourceUtil.java145
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLSetComponentHelper.java244
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/XSDTypeSystemProvider.java212
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BaseRenamer.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BindingRenamer.java42
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/MessageRenamer.java63
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/PortTypeRenamer.java42
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitor.java197
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitorForParameters.java87
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/BindingWizard.java302
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/ContentGeneratorOptionsPage.java26
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/HttpBindingOptionsPage.java143
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NamespaceTable.java702
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NewWSDLWizard.java443
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/PortWizard.java162
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/SoapBindingOptionsPage.java189
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFileOptionsPage.java691
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFilePage.java133
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/xsd/XSDNodeAssociationProvider.java77
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorCSHelpIds.java191
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorPlugin.java68
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDLabelProvider.java91
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDMultiPageEditor.java324
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDSelectionManager.java100
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/Messages.java70
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddBindingAction.java51
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddEndPointAction.java55
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddFaultAction.java63
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddImportAction.java51
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInputAction.java59
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInterfaceAction.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddMessageAction.java51
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOperationAction.java70
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOutputAction.java59
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddSchemaAction.java51
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddServiceAction.java59
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDeleteAction.java94
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDirectEditAction.java84
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragAction.java50
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragReorderAction.java284
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDEditNamespacesAction.java74
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDGenerateBindingAction.java41
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDOpenSchemaAction.java45
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingBindingAction.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingInterfaceAction.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewBindingAction.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewInterfaceAction.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/BaseSelectionAction.java157
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/IASDAddCommand.java15
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ShowPropertiesViewAction.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewContextMenuProvider.java170
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicalViewer.java151
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicsConstants.java49
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/KeyboardDragImpl.java78
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/CenteredConnectionAnchor.java88
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/TopLeftConnectionAnchor.java35
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDCCombo.java1514
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDComboBoxCellEditor.java311
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ComboBoxCellEditorManager.java204
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/DirectEditSelectionTool.java60
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelCellEditorLocator.java70
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelEditManager.java140
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/TypeReferenceDirectEditManager.java178
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDEditPartFactory.java97
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDRootEditPart.java32
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/AbstractBoxtEditPart.java125
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BaseEditPart.java166
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingColumnEditPart.java64
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingContentEditPart.java91
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingEditPart.java303
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ColumnEditPart.java66
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/DefinitionsEditPart.java159
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EditPartNavigationHandlerUtil.java180
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EndPointEditPart.java374
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/IFeedbackHandler.java16
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/INamedEditPart.java19
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/OperationEditPart.java168
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ParameterEditPart.java229
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ServiceEditPart.java160
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/AbstractModelCollection.java70
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingColumn.java76
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingContentPlaceHolder.java23
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/IActionProvider.java16
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/InterfaceColumn.java64
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/ServiceColumn.java43
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropCommand.java135
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropEditPolicy.java38
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDGraphNodeDragTracker.java30
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDLabelDirectEditPolicy.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDSelectionEditPolicy.java89
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/BoxComponentFigure.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ComponentReferenceConnection.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/HeadingFigure.java81
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/LinkIconFigure.java90
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ListFigure.java79
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingColumnLayout.java145
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingContentLayout.java105
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingLayout.java60
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/ColumnData.java83
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/RowLayout.java182
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObject.java20
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObjectListener.java15
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBinding.java29
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingMessageReference.java19
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingOperation.java20
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IDescription.java38
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IEndPoint.java24
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IImport.java22
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IInterface.java22
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessage.java24
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessageReference.java32
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/INamedObject.java21
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IOperation.java30
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IParameter.java39
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IService.java22
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IType.java15
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/messages.properties50
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlinePage.java98
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlineProvider.java156
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ICategoryAdapter.java17
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ITreeElement.java22
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDAbstractSection.java410
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDTabbedPropertySheetPage.java48
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/BindingSection.java214
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/DocumentationSection.java154
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/EndPointSection.java235
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ImportSection.java310
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NameSection.java243
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NamespaceSection.java259
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ReferenceSection.java138
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/ASDEditPartFactoryHelper.java41
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/IOpenExternalEditorHelper.java17
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/WSDLComponentRenameParticipant.java43
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/RenameComponentAction.java204
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorActionGroup.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorGroupActionDelegate.java61
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLSelectionDispatchAction.java39
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/IWSDLSearchConstants.java34
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchContributor.java77
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchParticipant.java130
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesAction.java152
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInProjectAction.java45
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInWorkingSetAction.java78
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLReferencesSearchGroup.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLSearchReferencesGroupActionDelegate.java46
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/Messages.java29
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPNodeEditorProvider.java96
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPSelectPartsDialog.java142
-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/messages.properties12
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.classpath7
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.cvsignore10
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.project28
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.ui.prefs3
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/META-INF/MANIFEST.MF31
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/about.html34
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/build.properties9
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/exsd/extvalidator.exsd127
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/exsd/wsdl11validator.exsd132
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/lib/.cvsignore1
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/plugin.properties23
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/plugin.xml51
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ClassloaderWSDLValidatorDelegate.java82
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/Constants.java50
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ControllerValidationInfo.java32
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationInfo.java81
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationMessage.java75
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationReport.java51
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IWSDLValidator.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationController.java393
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationInfoImpl.java305
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationMessageImpl.java193
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidatorRegistry.java144
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidationConfiguration.java49
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidator.java126
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidatorDelegate.java49
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseLogger.java53
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDL11ValidatorDelegate.java60
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDLValidatorDelegate.java72
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/InlineSchemaModelGrammarPoolImpl.java50
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/URIResolverWrapper.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/ValidateWSDLPlugin.java307
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/Validator.java155
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLDelegatingValidator.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidationMessages.java32
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidator.java52
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/wsdlvalidation.properties14
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/exception/ValidateWSDLException.java33
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/ILogger.java60
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/LoggerFactory.java62
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/StandardLogger.java42
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IExtensibleURIResolver.java29
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IURIResolutionResult.java47
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolutionResult.java61
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolver.java283
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolverDelegate.java63
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/AntLogger.java65
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/ExtensionValidator.java41
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/Property.java66
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/URIResolver.java43
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/WSDLValidate.java489
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/XMLCatalogImpl.java75
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/Log4jLogger.java143
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidate.java333
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateTextUIMessages.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/wsdlvalidatetextui.properties33
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/ErrorMessage.java216
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/LazyURLInputStream.java163
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/MessageGenerator.java93
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ClassloaderWSDL11ValidatorDelegate.java68
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java129
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11Validator.java29
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ImportHolder.java610
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/LocationHolder.java66
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ReaderError.java66
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ValidatorRegistry.java133
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11BasicValidator.java673
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidationInfoImpl.java190
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorController.java347
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorDelegate.java38
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLDocument.java2009
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLReaderImpl.java427
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/http/HTTPValidator.java335
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/mime/MIMEValidator.java43
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/soap/SOAPValidator.java604
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/DOMError.java26
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/FileEntityResolver.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGenerator.java681
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaValidator.java316
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineXSDResolver.java137
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/SchemaAttributeTable.java104
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/ValidateErrorHandler.java88
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XMLEntityResolverChain.java81
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XSDValidator.java300
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/AbstractXMLConformanceFactory.java51
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLConformanceFactory.java36
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLValidator.java473
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/ElementLocation.java53
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLCatalog.java40
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLValidator.java55
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/LineNumberDOMParser.java153
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalog.java364
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogEntityHolder.java52
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogResolver.java71
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLMessageInfoHelper.java132
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdl.properties59
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlhttp.properties23
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlmime.properties11
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlsoap.properties45
-rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlui.properties25
-rw-r--r--bundles/org.eclipse.wst.wsdl/.classpath10
-rw-r--r--bundles/org.eclipse.wst.wsdl/.cvsignore9
-rw-r--r--bundles/org.eclipse.wst.wsdl/.project28
-rw-r--r--bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.core.prefs59
-rw-r--r--bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.ui.prefs3
-rw-r--r--bundles/org.eclipse.wst.wsdl/about.html34
-rw-r--r--bundles/org.eclipse.wst.wsdl/build.properties22
-rw-r--r--bundles/org.eclipse.wst.wsdl/component.xml77
-rw-r--r--bundles/org.eclipse.wst.wsdl/grabjars.xml34
-rw-r--r--bundles/org.eclipse.wst.wsdl/lib/.cvsignore1
-rw-r--r--bundles/org.eclipse.wst.wsdl/plugin.properties35
-rw-r--r--bundles/org.eclipse.wst.wsdl/plugin.xml97
-rw-r--r--bundles/org.eclipse.wst.wsdl/schema/contentGenerators.exsd128
-rw-r--r--bundles/org.eclipse.wst.wsdl/schema/extensibilityElementFactories.exsd115
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/HTTP.genmodel411
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/com.ibm.etools.wsdl.bindings.HTTP.cat378
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/http.ecore27
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/http.mdl32383
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPAddress.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPBinding.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPFactory.java86
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPOperation.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPPackage.java612
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlEncoded.java26
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlReplacement.java26
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPAddressImpl.java251
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPBindingImpl.java252
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPFactoryImpl.java127
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPOperationImpl.java252
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPPackageImpl.java412
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlEncodedImpl.java150
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlReplacementImpl.java150
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPAdapterFactory.java333
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPConstants.java32
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPExtensibilityElementFactory.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPSwitch.java336
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/MIME.genmodel428
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/com.ibm.etools.wsdl.bindings.MIME.cat630
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/mime.ecore44
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/mime.mdl32998
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEContent.java106
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEFactory.java77
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMimeXml.java79
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMultipartRelated.java69
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPackage.java559
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPart.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEContentImpl.java337
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEFactoryImpl.java164
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMimeXmlImpl.java265
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMultipartRelatedImpl.java244
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPackageImpl.java427
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPartImpl.java203
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEAdapterFactory.java298
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEConstants.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEExtensibilityElementFactory.java54
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMESwitch.java295
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/SOAP.genmodel429
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/com.ibm.etools.wsdl.bindings.SOAP.cat945
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/soap.ecore46
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/soap.mdl32688
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java34
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java33
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java35
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java113
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java35
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java48
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java159
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java25
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java33
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java1068
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java376
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java264
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java324
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java229
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java406
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java564
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java208
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java303
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java325
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java594
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java333
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java64
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java358
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html21
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml18
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/WSDL.mdl31023
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/com.ibm.etools.WSDL.cat6997
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.ecore606
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.genmodel393
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Binding.java138
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingFault.java113
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingInput.java113
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOperation.java161
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOutput.java114
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Definition.java299
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibilityElement.java91
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibleElement.java81
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Fault.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Import.java169
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Input.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Message.java112
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/MessageReference.java85
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Namespace.java91
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Operation.java210
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Output.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Part.java202
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Port.java90
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/PortType.java112
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Service.java112
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Types.java58
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/UnknownExtensibilityElement.java53
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLElement.java149
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLFactory.java232
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPackage.java3658
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPlugin.java108
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPluginImplementation.java38
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/XSDSchemaExtensibilityElement.java60
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryDescriptor.java54
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryImpl.java45
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryReader.java81
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BaseGenerator.java66
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BindingGenerator.java617
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/ContentGenerator.java42
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/PortGenerator.java225
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionDescriptor.java53
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionFactoryRegistry.java168
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionRegistryReader.java75
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingInputImpl.java420
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingOutputImpl.java420
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/DefinitionImpl.java2381
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibilityElementImpl.java409
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibleElementImpl.java238
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/FaultImpl.java179
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ImportImpl.java600
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/InputImpl.java179
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/MessageReferenceImpl.java344
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/NamespaceImpl.java234
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OperationImpl.java1208
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OutputImpl.java179
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PartImpl.java764
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PortImpl.java437
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/TypesImpl.java334
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/UnknownExtensibilityElementImpl.java320
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLElementImpl.java1579
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLFactoryImpl.java523
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLPackageImpl.java2506
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/XSDSchemaExtensibilityElementImpl.java414
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLFactoryImpl.java52
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLReaderImpl.java229
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLWriterImpl.java138
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/Reconcilable.java23
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLAdapterFactory.java1039
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLDefinitionFactory.java61
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLModelLocator.java56
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLResourceFactoryImpl.java49
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLSwitch.java1074
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLUtil.java155
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorAdapterFactory.java31
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorImpl.java73
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.html21
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.xml18
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactory.java26
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactoryRegistry.java24
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLConstants.java370
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnostic.java95
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticImpl.java350
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticSeverity.java165
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceFactoryRegistry.java140
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceImpl.java533
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.html22
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.xml19
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/.classpath7
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/.cvsignore7
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/.project28
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.ui.prefs3
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/META-INF/MANIFEST.MF38
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/about.html34
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/build.properties10
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/icons/full/obj16/validate.gifbin227 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/icons/wsi_logfile_obj.gifbin205 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/plugin.properties18
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/plugin.xml104
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.java74
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.properties61
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Resource.java21
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/ResourceFilter.java101
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIMessageValidator.java59
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIUIPlugin.java82
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIValidator.java65
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/ValidateAction.java431
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidateAction.java295
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidationUIMessages.java32
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/RequestHandlerImpl.java226
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSILogFileActionDelegate.java76
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSIProfileActionDelegate.java240
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/icons/wsi_logfile_wiz.gifbin2549 -> 0 bytes
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/wsivalidation.properties17
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizard.java319
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardLogPage.java133
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLContentPage.java908
-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLPage.java373
-rw-r--r--features/org.eclipse.wst.ws_core.feature/.cvsignore1
-rw-r--r--features/org.eclipse.wst.ws_core.feature/.project17
-rw-r--r--features/org.eclipse.wst.ws_core.feature/build.properties5
-rw-r--r--features/org.eclipse.wst.ws_core.feature/eclipse_update_120.jpgbin21695 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_core.feature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.ws_core.feature/feature.properties144
-rw-r--r--features/org.eclipse.wst.ws_core.feature/feature.xml74
-rw-r--r--features/org.eclipse.wst.ws_core.feature/license.html93
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/build.properties16
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/eclipse_update_120.jpgbin21695 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.properties144
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.xml30
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/license.html79
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.html27
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.ini31
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.mappings6
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.properties26
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/build.properties2
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.gifbin1706 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.pngbin4634 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/plugin.properties12
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/.cvsignore4
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/.project17
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/build.properties7
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/eclipse_update_120.jpgbin21695 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/feature.properties144
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/feature.xml28
-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/license.html93
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/.cvsignore2
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/.project17
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/build.properties5
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/eclipse_update_120.jpgbin21695 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/feature.properties144
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/feature.xml60
-rw-r--r--features/org.eclipse.wst.ws_tests.feature/license.html93
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/.cvsignore1
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/.project17
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/build.properties5
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/eclipse_update_120.jpgbin21695 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/feature.properties144
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/feature.xml71
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/license.html93
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/build.properties19
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/eclipse_update_120.jpgbin21695 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.properties144
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.xml38
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/license.html79
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.html27
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.ini31
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.mappings6
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.properties26
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/build.properties3
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.gifbin1706 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.pngbin4634 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/plugin.properties12
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/.cvsignore3
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/.project17
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/build.properties5
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/eclipse_update_120.jpgbin21695 -> 0 bytes
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/feature.properties144
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/feature.xml45
-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/license.html93
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.classpath7
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.cvsignore4
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.project28
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.pde.prefs12
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/META-INF/MANIFEST.MF14
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/about.html34
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/build.properties5
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceProxy.java49
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceSOAPStub.java175
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_PortType.java12
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_Service.java16
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_ServiceLocator.java142
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/Dimensions.java146
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/Converter.java13
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterProxy.java55
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterService.java16
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterServiceLocator.java142
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterSoapBindingStub.java169
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/plugin.properties19
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/unittest/LocatorTests.java120
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Filter.java21
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/JavaFilter.java25
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/StdoutProgressMonitor.java47
-rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Util.java259
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.classpath7
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.cvsignore4
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.project28
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.pde.prefs12
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/META-INF/MANIFEST.MF31
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/about.html34
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/build.properties8
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/plugin.properties19
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/plugin.xml6
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrBUJavaAxisTC50.java160
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrClientAxisTC50.java148
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrTDJavaAxisTC50.java141
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/AllPerformanceTests.java32
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/plugin/PerformancePlugin.java71
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/EclipsePerformanceLog.java77
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/PerformanceJUnitUtils.java49
-rw-r--r--tests/org.eclipse.jst.ws.tests.performance/test.xml189
-rw-r--r--tests/org.eclipse.jst.ws.tests/.classpath7
-rw-r--r--tests/org.eclipse.jst.ws.tests/.cvsignore4
-rw-r--r--tests/org.eclipse.jst.ws.tests/.project28
-rw-r--r--tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.pde.prefs12
-rw-r--r--tests/org.eclipse.jst.ws.tests/META-INF/MANIFEST.MF42
-rw-r--r--tests/org.eclipse.jst.ws.tests/about.html34
-rw-r--r--tests/org.eclipse.jst.ws.tests/build.properties10
-rw-r--r--tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp38
-rw-r--r--tests/org.eclipse.jst.ws.tests/data/BUJava/src/foo/Echo.java9
-rw-r--r--tests/org.eclipse.jst.ws.tests/data/TDJava/Echo.wsdl80
-rw-r--r--tests/org.eclipse.jst.ws.tests/data/WSPerfProjects.zipbin14258 -> 0 bytes
-rw-r--r--tests/org.eclipse.jst.ws.tests/data/WSTestProjects.zipbin8297 -> 0 bytes
-rw-r--r--tests/org.eclipse.jst.ws.tests/data/webclient/outputFilePath.jspf6
-rw-r--r--tests/org.eclipse.jst.ws.tests/plugin.properties19
-rw-r--r--tests/org.eclipse.jst.ws.tests/plugin.xml6
-rw-r--r--tests/org.eclipse.jst.ws.tests/readme.txt5
-rw-r--r--tests/org.eclipse.jst.ws.tests/test.xml51
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/WSWizardTest.java206
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/axis/tomcat/v50/WSWizardTomcat50Test.java41
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/plugin/TestsPlugin.java81
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/AllWSJUnitTests.java99
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ComponentCreationTests.java117
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/J2EEUtilsTests.java205
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/LaunchTest.java33
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ResourceUtilsTests.java100
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ServerCreationTests.java66
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WSJUnitConstants.java46
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WebServiceRuntimeTests.java529
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/AccumulateStatusHandler.java100
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/DynamicPopupJUnitWizard.java67
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/JUnitUtils.java358
-rw-r--r--tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/ScenarioConstants.java45
-rw-r--r--tests/org.eclipse.wst.ws.tests/.classpath7
-rw-r--r--tests/org.eclipse.wst.ws.tests/.cvsignore4
-rw-r--r--tests/org.eclipse.wst.ws.tests/.project28
-rw-r--r--tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.jdt.core.prefs57
-rw-r--r--tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.pde.prefs13
-rw-r--r--tests/org.eclipse.wst.ws.tests/META-INF/MANIFEST.MF31
-rw-r--r--tests/org.eclipse.wst.ws.tests/about.html34
-rw-r--r--tests/org.eclipse.wst.ws.tests/build.properties10
-rw-r--r--tests/org.eclipse.wst.ws.tests/data/locator/test.wsdl45
-rw-r--r--tests/org.eclipse.wst.ws.tests/plugin.properties19
-rw-r--r--tests/org.eclipse.wst.ws.tests/plugin.xml6
-rw-r--r--tests/org.eclipse.wst.ws.tests/readme.txt2
-rw-r--r--tests/org.eclipse.wst.ws.tests/test.xml52
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/data/LocatorWorkspaceSetup.java176
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/plugin/TestsPlugin.java43
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/AllWSJUnitTests.java90
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/LaunchTest.java33
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/RegistryTests.java275
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/ResourceUtilsTests.java20
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WSJUnitConstants.java29
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WebServiceFinderTests.java52
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/AccumulateStatusHandler.java99
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/DynamicPopupJUnitWizard.java43
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/JUnitUtils.java67
-rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/ScenarioConstants.java45
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/.classpath7
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/.cvsignore4
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/.project28
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/about.html34
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/plugin.xml26
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/MissingName.wsdl3
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/WithName.wsdl3
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LocalNamespace/LocalNamespace.wsdl59
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/OperationStyle/OperationStyleTest.wsdl120
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test.wsdl31
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test1.xsd5
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test2.xsd12
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/firstlevel.wsdl7
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/main.wsdl24
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/secondlevel.wsdl22
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/AllTestCases.java50
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/MyResolver.java33
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/ParserTest.java73
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/RefactoringTest.java230
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLGenerationTest.java267
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLTestsPlugin.java109
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionLoader.java107
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionVisitor.java211
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDL4JDefinitionVisitor.java223
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLConverter.java608
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLModelLocatorAdapterFactory.java46
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XMLDiff.java169
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverAdapterFactory.java31
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverImpl.java31
-rw-r--r--tests/org.eclipse.wst.wsdl.tests/test.xml53
2986 files changed, 0 insertions, 471688 deletions
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/.classpath b/bundles/org.eclipse.jst.ws.axis.consumption.core/.classpath
deleted file mode 100644
index cb0105380..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/.cvsignore b/bundles/org.eclipse.jst.ws.axis.consumption.core/.cvsignore
deleted file mode 100644
index f3849da1d..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-build.xml
-temp.folder
-wsc-axis.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/.project b/bundles/org.eclipse.jst.ws.axis.consumption.core/.project
deleted file mode 100644
index f45485428..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.axis.consumption.core</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0fd1048cf..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:29:14 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 577040239..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:39 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.axis.consumption.core/META-INF/MANIFEST.MF
deleted file mode 100644
index 807f95b3a..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,29 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.axis.consumption.core; singleton:=true
-Bundle-Version: 1.0.102.qualifier
-Bundle-Activator: org.eclipse.jst.ws.internal.axis.consumption.core.plugin.WebServiceAxisConsumptionCorePlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-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;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.core.plugin;x-internal:=true
-Require-Bundle: org.apache.ant;bundle-version="[1.6.5,1.7.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
- org.apache.axis;bundle-version="[1.3.0,1.4.0)",
- org.eclipse.wst.common.modulecore;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.core.commands;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)"
-Eclipse-LazyStart: true
-
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/about.html b/bundles/org.eclipse.jst.ws.axis.consumption.core/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/build.properties b/bundles/org.eclipse.jst.ws.axis.consumption.core/build.properties
deleted file mode 100644
index c772b640e..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-bin.includes = .,\
- plugin.properties,\
- plugin.xml,\
- META-INF/,\
- about.html
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.properties b/bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.properties
deleted file mode 100644
index 573548200..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web service Axis Consumption Core
-PLUGIN_PROVIDER=Eclipse.org
-
-xpWSDDContentType = Axis Web Service Deployment Descriptor
-
-X_WEB_SERVICE_LOCATOR_AXIS=Apache Axis Web Service Locator
-X_WEB_SERVICE_LOCATOR_CATEGORY_AXIS=Apache Axis Components
-
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.xml b/bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.xml
deleted file mode 100644
index 599cd19b1..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/plugin.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <extension point="org.eclipse.jst.ws.consumption.wsfinder">
- <wsfinder
- id="org.eclipse.jst.ws.internal.axis.consumption.core.wsfinder.WSFinderAxis"
- name="org.eclipse.jst.ws.internal.axis.consumption.core.wsfinder.WSFinderAxis"
- description="org.eclipse.jst.ws.internal.axis.consumption.core.wsfinder.WSFinderAxis"
- class="org.eclipse.jst.ws.internal.axis.consumption.core.wsfinder.WSFinderAxis">
- </wsfinder>
- </extension>
-
- <!-- Extension providing workspace WSDL discovery -->
- <extension point="org.eclipse.wst.ws.locator">
-
- <webServiceLocatorCategory
- id="org.eclipse.jst.ws.internal.axis.consumption.core.locator.category.axis"
- label="%X_WEB_SERVICE_LOCATOR_CATEGORY_AXIS"/>
-
- <webServiceLocator
- class="org.eclipse.jst.ws.internal.axis.consumption.core.locator.AxisWebServiceLocator"
- id="org.eclipse.jst.ws.internal.axis.consumption.core.locator.axis"
- category="org.eclipse.jst.ws.internal.axis.consumption.core.locator.category.axis"
- label="%X_WEB_SERVICE_LOCATOR_AXIS">
- </webServiceLocator>
-
- </extension>
-
-
- <!-- define a wsdd file type for Axis Web Service Deployment Descriptors -->
- <extension point="org.eclipse.team.core.fileTypes">
- <fileTypes
- type="text"
- extension="wsdd">
- </fileTypes>
- </extension>
-
- <!-- define a wsdd content type for Axis Web Service Deployment Descriptors -->
- <extension point="org.eclipse.core.runtime.contentTypes">
- <content-type
- priority="high"
- name="%xpWSDDContentType"
- id="wsddsource"
- base-type="org.eclipse.core.runtime.xml"
- default-charset="UTF-8"
- file-extensions="wsdd" />
- </extension>
-
-</plugin> \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties
deleted file mode 100644
index 022ed2f0a..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties
+++ /dev/null
@@ -1,37 +0,0 @@
-###############################################################################
-# Copyright (c) 2004 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
-###############################################################################
-
-#
-# Messages for AxisDeployCommand
-#
-MSG_ERROR_PROJECT_URL_PARAM_NOT_SET=IWAB0054E Web project URL for deployment of Web service is not set in AxisDeployCommand
-MSG_ERROR_DEPLOY_FILE_PARAM_NOT_SET=IWAB0488E Location of Axis deployment file is not set in AxisDeployCommand
-MSG_ERROR_AXIS_DEPLOY=IWAB0489E Error when deploying Web service to Axis runtime
-MSG_AXIS_DEPLOY=Deploying Web service to Axis run-time environment
-
-#
-# Messages for Java2WSDLCommand
-#
-MSG_GENERATE_WSDL=Generating WSDL file: {0}
-MSG_ERROR_JAVA_WSDL_GENERATE=IWAB0398E Error in generating WSDL from Java:
-
-#
-# Messages for WSDL2JavaCommand
-#
-MSG_PARSING_WSDL=Parsing WSDL file: {0}
-MSG_ERROR_WSDL_JAVA_GENERATE=IWAB0399E Error in generating Java from WSDL:
-MSG_ERROR_MOVE_RESOURCE=IWAB0523E Error moving resource: {0}
-MSG_ERROR_CREATE_TEMP_DIR=Error creating temporary directory
-
-#
-# Messages common for all
-#
-MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET=IWAB0397E JavaWSDLParam not set
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java
deleted file mode 100644
index c43b740c6..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.core;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class AxisConsumptionCoreMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.axis.consumption.core.AxisConsumptionCore";//$NON-NLS-1$
-
- private AxisConsumptionCoreMessages() {
- // Do not instantiate
- }
-
- public static String MSG_ERROR_PROJECT_URL_PARAM_NOT_SET;
- public static String MSG_ERROR_DEPLOY_FILE_PARAM_NOT_SET;
- public static String MSG_ERROR_AXIS_DEPLOY;
- public static String MSG_AXIS_DEPLOY;
- public static String MSG_GENERATE_WSDL;
- public static String MSG_ERROR_JAVA_WSDL_GENERATE;
- public static String MSG_PARSING_WSDL;
- public static String MSG_ERROR_WSDL_JAVA_GENERATE;
- public static String MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET;
- public static String MSG_ERROR_MOVE_RESOURCE;
- public static String MSG_ERROR_CREATE_TEMP_DIR;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, AxisConsumptionCoreMessages.class);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/AxisDeployCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/AxisDeployCommand.java
deleted file mode 100644
index 602f83dc3..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/AxisDeployCommand.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.core.command;
-
-
-import java.io.File;
-
-import org.apache.axis.tools.ant.axis.AdminClientTask;
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.Target;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-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.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-/**
- * Commands are executable, undoable, redoable objects. Every Command has a name and a description.
- */
-
-public class AxisDeployCommand extends AbstractDataModelOperation
-{
- protected static final String SERVICE_EXT = "/services/AdminService"; //$NON-NLS-1$
-
- private JavaWSDLParameter javaWSDLParam;
-
- /**
- * Constructor for AxisDeployCommand.
- * @param String description
- * @param String name
- *
- */
- public AxisDeployCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- if (javaWSDLParam == null)
- {
- return StatusUtils.errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET);
- }
-
- if (javaWSDLParam.getProjectURL() == null || javaWSDLParam.getProjectURL().equals(""))
- { //$NON-NLS-1$
- return StatusUtils.errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_PROJECT_URL_PARAM_NOT_SET);
- }
-
- if (javaWSDLParam.getDeploymentFiles() == null || javaWSDLParam.getDeploymentFiles().length == 0)
- {
- return StatusUtils.errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_DEPLOY_FILE_PARAM_NOT_SET);
- }
-
- ProgressUtils.report(monitor, AxisConsumptionCoreMessages.MSG_AXIS_DEPLOY);
-
- IStatus status = executeAntTask();
- if (status.getSeverity() == Status.ERROR)
- {
- environment.getStatusHandler().reportError(status);
- }
-
- return status;
- }
-
- protected IStatus executeAntTask()
- {
- final class DeployTask extends AdminClientTask
- {
- public DeployTask()
- {
- super.setProject(new Project());
- super.getProject().init();
- super.setTaskType("axis"); //$NON-NLS-1$
- super.setTaskName("axis-admin"); //$NON-NLS-1$
- super.setOwningTarget(new Target());
- }
- }
-
- DeployTask adminClient = new DeployTask();
- String url = javaWSDLParam.getProjectURL() + SERVICE_EXT;
- adminClient.setUrl(url);
- adminClient.setXmlFile(new File(javaWSDLParam.getDeploymentFiles()[0]));
-
- // Since the admin server may not be available right away we will try
- // several times to execute it.
- try
- {
- BuildException lastException = null;
-
- for( int index = 0; index < 20; index++ )
- {
- try
- {
- lastException = null;
- adminClient.execute();
- }
- catch( BuildException exc )
- {
- lastException = exc;
-
- try
- {
- Thread.sleep( 200 );
- }
- catch( InterruptedException threadException )
- {
- }
- }
-
- // If no exception occured then we should break out of the loop.
- if( lastException == null ) break;
- }
-
- // If after many tries we still get an exception, then we will re throw it.
- if( lastException != null ) throw lastException;
- }
- catch (BuildException e)
- {
- e.printStackTrace();
- String message = e.getMessage();
- if (e.getCause() != null)
- {
- message = e.getCause().toString();
- }
-
- IStatus[] childStatus = new Status[1];
- childStatus[0] = StatusUtils.errorStatus( message);
- return StatusUtils.multiStatus(AxisConsumptionCoreMessages.MSG_ERROR_AXIS_DEPLOY, childStatus);
- }
- return Status.OK_STATUS;
- }
-
- /**
- * @param javaWSDLParam The javaWSDLParam to set.
- */
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParam)
- {
- this.javaWSDLParam = javaWSDLParam;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/GeronimoAxisDeployCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/GeronimoAxisDeployCommand.java
deleted file mode 100644
index 55abee273..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/GeronimoAxisDeployCommand.java
+++ /dev/null
@@ -1,279 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.core.command;
-
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-
-import org.apache.axis.AxisEngine;
-import org.apache.axis.server.AxisServer;
-import org.apache.axis.tools.ant.axis.AdminClientTask;
-import org.apache.axis.utils.ClassUtils;
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.Target;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-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.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * Commands are executable, undoable, redoable objects. Every Command has a name and a description.
- */
-
-public class GeronimoAxisDeployCommand extends AbstractDataModelOperation
-{
-
- private JavaWSDLParameter javaWSDLParam;
-
- private String projectName_;
- private static final String AXIS_SERVER_CONFIG_FILE = "axis.ServerConfigFile";
-
- IFolder outputRoot;
-
- /**
- * Constructor for GeronimoAxisDeployCommand.
- * @param String projectName
- *
- */
- public GeronimoAxisDeployCommand(String projectName)
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- if (javaWSDLParam == null)
- {
- return StatusUtils.errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET);
- }
-
- if (javaWSDLParam.getProjectURL() == null || javaWSDLParam.getProjectURL().equals(""))
- { //$NON-NLS-1$
- return StatusUtils.errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_PROJECT_URL_PARAM_NOT_SET);
- }
-
- if (javaWSDLParam.getDeploymentFiles() == null || javaWSDLParam.getDeploymentFiles().length == 0)
- {
- return StatusUtils.errorStatus(
- AxisConsumptionCoreMessages.MSG_ERROR_DEPLOY_FILE_PARAM_NOT_SET);
- }
-
- ProgressUtils.report(monitor, AxisConsumptionCoreMessages.MSG_AXIS_DEPLOY);
-
- IStatus status = executeAdminTask();
- if (status.getSeverity() == Status.ERROR)
- {
- environment.getStatusHandler().reportError(status);
- }
-
- status = executeAntTask();
- if (status.getSeverity() == Status.ERROR)
- {
- environment.getStatusHandler().reportError(status);
- }
- return status;
- }
-
- protected IStatus executeAntTask()
- {
- final class DeployTask extends AdminClientTask
- {
- public DeployTask()
- {
- super.setProject(new Project());
- super.getProject().init();
- super.setTaskType("axis"); //$NON-NLS-1$
- super.setTaskName("axis-admin"); //$NON-NLS-1$
- super.setOwningTarget(new Target());
- }
- }
-
- DeployTask adminClient = new DeployTask();
- String url = javaWSDLParam.getProjectURL() + AxisDeployCommand.SERVICE_EXT;
- adminClient.setUrl(url);
- adminClient.setXmlFile(new File(javaWSDLParam.getDeploymentFiles()[0]));
-
- // Since the admin server may not be available right away we will try
- // several times to execute it.
- try
- {
- BuildException lastException = null;
-
- for( int index = 0; index < 20; index++ )
- {
- try
- {
- lastException = null;
- adminClient.execute();
- }
- catch( BuildException exc )
- {
- lastException = exc;
-
- try
- {
- Thread.sleep( 200 );
- }
- catch( InterruptedException threadException )
- {
- }
- }
-
- // If no exception occured then we should break out of the loop.
- if( lastException == null ) break;
- }
-
- // If after many tries we still get an exception, then we will re throw it.
- if( lastException != null ) throw lastException;
- }
- catch (BuildException e)
- {
- e.printStackTrace();
- String message = e.getMessage();
- if (e.getCause() != null)
- {
- message = e.getCause().toString();
- }
-
- IStatus[] childStatus = new Status[1];
- childStatus[0] = StatusUtils.errorStatus( message);
- return StatusUtils.multiStatus(AxisConsumptionCoreMessages.MSG_ERROR_AXIS_DEPLOY, childStatus);
- }
- return Status.OK_STATUS;
-
- }
-
- protected IStatus executeAdminTask(){
-
- IStatus status = Status.OK_STATUS;
- // check if server-config.wsdd exists
- IVirtualComponent component = J2EEUtils.getVirtualComponent( projectName_ );
- outputRoot = J2EEUtils.getOutputContainerRoot( component );
- IPath path = new Path( "WEB-INF" ).append( "server-config.wsdd" );
- IFile descriptorFile = outputRoot.getFile( path );
-
- if (!descriptorFile.exists()){
- status = createServerConfigFile();
- if (status.getSeverity()==Status.ERROR)
- return status;
- }
-
- // check if deploy.wsdd exists
- String deployWSDD = javaWSDLParam.getDeploymentFiles()[0];
- File deployFile = new File(deployWSDD);
- if (deployFile==null || !deployFile.exists()){
- return status;
- }
-
- try {
- // get Classpath
- String jarsCP = new String();
- // classes dir
- IPath classesPath = new Path("WEB-INF").append("classes");
- IFile classesDir = outputRoot.getFile(classesPath);
- jarsCP = "\""+classesDir.getRawLocation().toOSString()+"\"";
-
- // lib JARs
- IPath libPath = new Path("WEB-INF").append("lib");
- IFile libEntry = outputRoot.getFile(libPath);
- IFolder libFolder = (IFolder)ResourceUtils.findResource(libEntry.getFullPath());
- IResource[] JARfiles = libFolder.members();
- for (int i=0;i<JARfiles.length;i++){
- IResource res = JARfiles[i];
- if (res.getFileExtension().equals("jar")){
- jarsCP = jarsCP + ";\""+ res.getRawLocation().toOSString()+"\"";
- }
- }
-
- // form and run utils.Admin command
- String adminCommand = new String("java -Daxis.ServerConfigFile="+ descriptorFile.getRawLocation().toOSString()
- +" -cp "+jarsCP+" org.apache.axis.utils.Admin server "+deployFile.getCanonicalPath());
- Runtime.getRuntime().exec(adminCommand);
-
- }
- catch(Exception e){
- System.setProperty(AXIS_SERVER_CONFIG_FILE,"server-conifg.wsdd");
- e.printStackTrace();
- String message = e.getMessage();
- if (e.getCause() != null)
- {
- message = e.getCause().toString();
- }
-
- IStatus[] childStatus = new Status[1];
- childStatus[0] = StatusUtils.errorStatus( message);
- return StatusUtils.multiStatus(AxisConsumptionCoreMessages.MSG_ERROR_AXIS_DEPLOY, childStatus);
- }
-
- return status;
- }
-
- /**t
- * Creates the initial server-config.wsdd file from a template in Axis
- * @return
- */
- private IStatus createServerConfigFile(){
- try{
-
- // server-config.wsdd file
- IPath path = new Path( "WEB-INF" ).append( "server-config.wsdd" );
- IFile descriptorFile = outputRoot.getFile( path );
-
- // create the initial server-config.wsdd file
- AxisEngine preEngine = new AxisServer();
- InputStream is = ClassUtils.getResourceAsStream(preEngine.getClass(), "server-config.wsdd");
- FileOutputStream fos = new FileOutputStream(descriptorFile.getRawLocation().toOSString());
- ResourceUtils.copyStream(is, fos);
- fos.close();
-
- return Status.OK_STATUS;
- }
- catch(Exception e){
- e.printStackTrace();
- String message = e.getMessage();
- if (e.getCause() != null)
- {
- message = e.getCause().toString();
- }
-
- IStatus[] childStatus = new Status[1];
- childStatus[0] = StatusUtils.errorStatus( message);
- return StatusUtils.multiStatus(AxisConsumptionCoreMessages.MSG_ERROR_AXIS_DEPLOY, childStatus);
-
- }
- }
-
- /**
- * @param javaWSDLParam The javaWSDLParam to set.
- */
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParam)
- {
- this.javaWSDLParam = javaWSDLParam;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java
deleted file mode 100644
index 2a1db0cea..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java
+++ /dev/null
@@ -1,258 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060106 121199 jesper@selskabet.org - Jesper Møller
- * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai
- * 20060515 115225 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.core.command;
-
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.HashMap;
-import java.util.Iterator;
-
-import org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask;
-import org.apache.axis.tools.ant.wsdl.NamespaceMapping;
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.Target;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-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;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * Commands are executable, undoable, redoable objects.
- * Every Command has a name and a description.
- */
-
-public class Java2WSDLCommand extends AbstractDataModelOperation
-{
-
- private JavaWSDLParameter javaWSDLParam_;
- private File tempOutputWsdlFile;
- private final String TEMP = "temp"; //$NON-NLS-1$
- private final String WSDL_EXT = ".wsdl"; //$NON-NLS-1$
-
- public Java2WSDLCommand() {
- }
- /**
- * Constructor for Java2WSDLCommand.
- */
- public Java2WSDLCommand(JavaWSDLParameter javaWSDLParam) {
- super();
- this.javaWSDLParam_ = javaWSDLParam;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- IStatus status;
- if (javaWSDLParam_ == null) {
- status = StatusUtils.errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET);
- environment.getStatusHandler().reportError(status);
- return status;
- }
-
- if (javaWSDLParam_.getBeanName() == null) {
- status = StatusUtils.errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET);
- environment.getStatusHandler().reportError(status);
- return status;
- }
-
- ProgressUtils.report(monitor, NLS.bind(AxisConsumptionCoreMessages.MSG_GENERATE_WSDL, javaWSDLParam_.getBeanName() ));
-
- return executeAntTask(environment, monitor);
- }
-
- protected IStatus executeAntTask(IEnvironment environment, IProgressMonitor monitor) {
-
- final class Emitter extends Java2WsdlAntTask {
- public Emitter() {
- super.setProject(new Project());
- super.getProject().init();
- super.setTaskType("axis"); //$NON-NLS-1$
- super.setTaskName("axis-java2wsdl"); //$NON-NLS-1$
- super.setOwningTarget(new Target());
- }
- }
-
- IStatus status = Status.OK_STATUS;
- ILog envLog = environment.getLog();
- Emitter emitter = new Emitter();
- emitter.createClasspath().setPath(javaWSDLParam_.getClasspath());
- envLog.log(ILog.INFO, 5008, this, "executeAntTask", "Class Path = "+ javaWSDLParam_.getClasspath());
-
- emitter.setPortTypeName(javaWSDLParam_.getPortTypeName());
- envLog.log(ILog.INFO, 5009, this, "executeAntTask", "Port Type Name = "+ javaWSDLParam_.getPortTypeName());
-
- emitter.setServiceElementName(javaWSDLParam_.getServiceName());
- envLog.log(ILog.INFO, 5010, this, "executeAntTask", "Service Name = "+ javaWSDLParam_.getServiceName());
-
- emitter.setLocation(javaWSDLParam_.getUrlLocation());
- envLog.log(ILog.INFO, 5011, this, "executeAntTask", "URL Location = "+ javaWSDLParam_.getUrlLocation());
-
- emitter.setMethods(javaWSDLParam_.getMethodString());
- envLog.log(ILog.INFO, 5012, this, "executeAntTask", "Methods = "+ javaWSDLParam_.getMethodString());
-
- emitter.setStyle(javaWSDLParam_.getStyle());
- envLog.log(ILog.INFO, 5013, this, "executeAntTask", "Style = "+ javaWSDLParam_.getStyle());
-
- emitter.setUse(javaWSDLParam_.getUse());
- envLog.log(ILog.INFO, 5014, this, "executeAntTask", "Use = "+ javaWSDLParam_.getUse());
-
- // create temporary directory to use as output directory for java2wsdl
- IPath pluginStateLoc = WebServiceAxisConsumptionCorePlugin.getInstance().getStateLocation();
- File tempDir = new File(pluginStateLoc.toString());
- File newTempFile = null;
- try {
- newTempFile = File.createTempFile(TEMP, WSDL_EXT, tempDir);
- tempOutputWsdlFile = newTempFile;
- } catch (Exception e) {
- tempOutputWsdlFile = new File (pluginStateLoc.append(TEMP+WSDL_EXT).toString());
- }
-
- emitter.setOutput(tempOutputWsdlFile);
-
- envLog.log(ILog.INFO, 5015, this, "executeAntTask", "WSDL Location = "+ javaWSDLParam_.getOutputWsdlLocation());
-
- emitter.setNamespace(javaWSDLParam_.getNamespace());
- envLog.log(ILog.INFO, 5016, this, "executeAntTask", "Name Space = "+ javaWSDLParam_.getNamespace());
-
- emitter.setClassName(javaWSDLParam_.getBeanName());
- envLog.log(ILog.INFO, 5017, this, "executeAntTask", "Bean name = "+ javaWSDLParam_.getBeanName());
-
- emitter.setImplClass(javaWSDLParam_.getBeanName());
-
- AxisEmitterContext context = WebServiceAxisConsumptionCorePlugin.getInstance().getAxisEmitterContext();
-
- if (context.isUseInheritedMethodsEnabled() != AxisEmitterDefaults.getUseInheritedMethodsDefault())
- {
- emitter.setUseInheritedMethods(context.isUseInheritedMethodsEnabled());
- envLog.log(ILog.INFO, 5099, this, "executeAntTask", " set UseInheritedMethods : " + context.isUseInheritedMethodsEnabled() );
- }
-
- HashMap mappings = javaWSDLParam_.getMappings();
- if(mappings != null){
- Iterator keys = mappings.keySet().iterator();
- while(keys.hasNext()){
- String pakage = (String)keys.next();
- String namespace = (String)mappings.get(pakage);
- NamespaceMapping map = new NamespaceMapping();
- map.setPackage(pakage);
- map.setNamespace(namespace);
- emitter.addMapping(map);
- }
- }
-
-
- try {
- emitter.execute();
- status = moveGeneratedWSDL(environment, monitor);
- } catch (BuildException e) {
- envLog.log(ILog.ERROR, 5018, this, "executeAntTask", e);
- status = StatusUtils.errorStatus(
- AxisConsumptionCoreMessages.MSG_ERROR_JAVA_WSDL_GENERATE + " " //$NON-NLS-1$
- +e.getCause().toString(), e.getCause());
- environment.getStatusHandler().reportError(status);
- return status;
- } finally {
- if (tempOutputWsdlFile.exists()) {
- tempOutputWsdlFile.delete();
- }
- }
- return status;
-
- }
-
- public IStatus moveGeneratedWSDL(IEnvironment environment,
- IProgressMonitor monitor) {
- IStatus status = Status.OK_STATUS;
- FileInputStream finStream = null;
-
- ResourceContext context = WebServicePlugin.getInstance().getResourceContext();
- IStatusHandler statusHandler = environment.getStatusHandler();
-
- String outputWsdlLocation = javaWSDLParam_.getOutputWsdlLocation();
- IPath targetPath = new Path(outputWsdlLocation);
- try {
- finStream = new FileInputStream(tempOutputWsdlFile);
- if (finStream != null) {
- FileResourceUtils.createFileAtLocation(context, targetPath.makeAbsolute(), finStream,
- monitor, statusHandler);
- finStream.close();
- }
- } catch (Exception e) {
- status = StatusUtils.errorStatus(NLS.bind(AxisConsumptionCoreMessages.MSG_ERROR_MOVE_RESOURCE,new String[]{e.getLocalizedMessage()}), e);
- environment.getStatusHandler().reportError(status);
- } finally {
- try {
- if (finStream != null) {
- finStream.close();
- }
- } catch (IOException e) {
- }
- }
- return status;
- }
-
- public Status undo(IEnvironment environment) {
- return null;
- }
-
- public Status redo(IEnvironment environment) {
- return null;
- }
-
- /**
- * Returns the javaWSDLParam.
- * @return JavaWSDLParameter
- */
- public JavaWSDLParameter getJavaWSDLParam() {
- return javaWSDLParam_;
- }
-
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParm) {
- this.javaWSDLParam_ = javaWSDLParm;
- }
-
- public String getWsdlURI()
- {
- File file = new File(getJavaWSDLParam().getOutputWsdlLocation());
- String url = "";
- try {
- url = file.toURL().toString();
- }
- catch(MalformedURLException mue){}
- return url;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java
deleted file mode 100644
index 02df95819..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java
+++ /dev/null
@@ -1,424 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * yyyymmdd bug Email and other contact information
- * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai
- * 20060404 134791 andyzhai@ca.ibm.com - Andy Zhai
- * 20060515 115225 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.core.command;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.HashMap;
-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;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-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;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class WSDL2JavaCommand extends AbstractDataModelOperation {
-
- private final String DEPLOY_TYPE = "deploy"; //$NON-NLS-1$
- private final String UNDEPLOY_TYPE = "undeploy"; //$NON-NLS-1$
- private final String TEMP = "temp"; //$NON-NLS-1$
- private JavaWSDLParameter javaWSDLParam;
- private String wsdlURI;
- private String httpBasicAuthUsername;
- private String httpBasicAuthPassword;
- private List deployFiles;
- private List javaFiles;
- private File tempOutputFile;
-
- public WSDL2JavaCommand() {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- ILog envLog = environment.getLog();
- IStatus status;
- if (javaWSDLParam == null) {
- status = StatusUtils.errorStatus(
- AxisConsumptionCoreMessages.MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET);
- environment.getStatusHandler().reportError(status);
- return status;
- }
-
- if (wsdlURI != null) //bottom up case has already has the correct WSDL on javaWSDLParam
- {
- javaWSDLParam.setInputWsdlLocation(wsdlURI);
- }
- javaWSDLParam.setHTTPUsername(httpBasicAuthUsername);
- javaWSDLParam.setHTTPPassword(httpBasicAuthPassword);
-
- Emitter wsdl2Java = new Emitter();
- if (envLog.isEnabled("emitter")) {
- wsdl2Java.setVerbose(true);
- } else {
- wsdl2Java.setVerbose(false);
- }
- boolean serverSide = javaWSDLParam.getServerSide() == JavaWSDLParameter.SERVER_SIDE_BEAN;
- wsdl2Java.setServerSide(serverSide);
- if (serverSide) {
- wsdl2Java.setSkeletonWanted(javaWSDLParam.isSkeletonDeploy());
- }
-
- // create temporary directory to use as output directory for wsdl2java
- tempOutputFile = createTempDir();
- wsdl2Java.setOutputDir(tempOutputFile.toString());
-
- try {
- if (javaWSDLParam.isMetaInfOnly()) {
- // for the case Java2WSDL-WSDL2Java
- HashMap pck2nsMap = javaWSDLParam.getMappings();
- if (pck2nsMap != null) {
- HashMap ns2pckMap = new HashMap();
- Iterator keys = pck2nsMap.keySet().iterator();
- while (keys.hasNext()) {
- String pakage = (String) keys.next();
- String namespace = (String) pck2nsMap.get(pakage);
- ns2pckMap.put(namespace, pakage);
- }
- wsdl2Java.setNamespaceMap(ns2pckMap);
- }
- } else {
- // for the case WSDL2Java
- if (javaWSDLParam.getMappings() != null) {
- wsdl2Java.setNamespaceMap(javaWSDLParam.getMappings());
- }
- }
- envLog.log(ILog.INFO, 5019, this, "execute", "Java output = " + javaWSDLParam.getJavaOutput());
- if (javaWSDLParam.getHTTPPassword() != null) {
- wsdl2Java.setPassword(javaWSDLParam.getHTTPPassword());
- envLog.log(ILog.INFO, 5081, this, "execute", "password: " + javaWSDLParam.getHTTPPassword());
- }
- if (javaWSDLParam.getHTTPUsername() != null) {
- wsdl2Java.setUsername(javaWSDLParam.getHTTPUsername());
- envLog.log(ILog.INFO, 5082, this, "execute", "username: " + javaWSDLParam.getHTTPUsername());
- }
- envLog.log(ILog.INFO, 5020, this, "execute", "WSDL Location = " + javaWSDLParam.getInputWsdlLocation());
-
- // If timeout is not set, the default timeout for wsdl2java is 45 seconds.
- // The user can change the timeout value by setting
- // "-DAxisWsdl2JavaTimeout=<timeout_value_in_milliseconds>" as VM argument
- // when starting the Eclipse workbench.
- //
- // For example, enter the following command to start the Eclipse workbench
- // in order to set the Axis WSDL to Java emitter timeout to 60 seconds:
- //
- // eclipse -vmargs "-DAxisWsdl2JavaTimeout=60000"
- //
- // When AxisWsdl2JavaTimeout is set, the Axis emitter preference page timeout setting is ignored
- AxisEmitterContext context = WebServiceAxisConsumptionCorePlugin.getInstance().getAxisEmitterContext();
- String wsdl2JavaTimeoutProperty = System.getProperty("AxisWsdl2JavaTimeout");
- long timeout;
- if (wsdl2JavaTimeoutProperty != null) {
- timeout = new Integer(wsdl2JavaTimeoutProperty).longValue();
- wsdl2Java.setTimeout(timeout);
- envLog.log(ILog.INFO, 5091, this, "execute", "AxisWsdl2JavaTimeout = " + timeout);
- }
- else if(context.getTimeOut() != AxisEmitterDefaults.getTimeOutDefault())
- {
- timeout = context.getTimeOut() == -1 ? -1 : context.getTimeOut()* 1000;
- wsdl2Java.setTimeout(timeout);
- envLog.log(ILog.INFO, 5100, this, "execute", "Timeout = " + timeout);
- }
- if (context.getDeployScopeType() != AxisEmitterDefaults.getDeployScopeDefault())
- {
- switch (context.getDeployScopeType())
- {
- case AxisEmitterContext.DEPLOY_SCOPE_TYPE_APPLICATION:
- wsdl2Java.setScope(Scope.APPLICATION);
- envLog.log(ILog.INFO, 5101, this, "execute", " Deploy Scope: Application" );
- break;
- case AxisEmitterContext.DEPLOY_SCOPE_TYPE_REQUEST:
- wsdl2Java.setScope(Scope.REQUEST);
- envLog.log(ILog.INFO, 5102, this, "execute", " Deploy Scope: Request" );
- break;
- case AxisEmitterContext.DEPLOY_SCOPE_TYPE_SESSTION:
- wsdl2Java.setScope(Scope.SESSION);
- envLog.log(ILog.INFO, 5103, this, "execute", " Deploy Scope: Session" );
- break;
- default:
- }
- }
-
- if (context.isAllWantedEnabled() != AxisEmitterDefaults.getAllWantedDefault())
- {
- wsdl2Java.setAllWanted(context.isAllWantedEnabled());
- envLog.log(ILog.INFO, 5104, this, "execute", " set AllWanted : " + context.isAllWantedEnabled() );
- }
-
- if (context.isHelperWantedEnabled() != AxisEmitterDefaults.getHelperWantedDefault())
- {
- wsdl2Java.setHelperWanted(context.isHelperWantedEnabled());
- envLog.log(ILog.INFO, 5105, this, "execute", " set HelperWanted : " + context.isHelperWantedEnabled() );
- }
- if (context.isWrapArraysEnabled() != AxisEmitterDefaults.getWrapArraysDefault())
- {
- wsdl2Java.setWrapArrays(context.isWrapArraysEnabled());
- envLog.log(ILog.INFO, 5106, this, "execute", " set WrapArrays : " + context.isWrapArraysEnabled() );
- }
-
- ProgressUtils.report(monitor, NLS.bind(AxisConsumptionCoreMessages.MSG_PARSING_WSDL, javaWSDLParam.getInputWsdlLocation() ) );
-
- wsdl2Java.run(javaWSDLParam.getInputWsdlLocation());
-
- javaFiles = wsdl2Java.getGeneratedFileNames();
-
- deployFiles = new ArrayList();
- if (serverSide) {
- // set deployment files
- List deploymentFiles1 = wsdl2Java.getGeneratedFileInfo().findType(DEPLOY_TYPE);
- List deploymentFiles2 = wsdl2Java.getGeneratedFileInfo().findType(UNDEPLOY_TYPE);
- if (deploymentFiles1 != null && deploymentFiles2 != null) {
- deploymentFiles1.addAll(deploymentFiles2);
- for (int i = 0; i < deploymentFiles1.size(); i++) {
- GeneratedFileInfo.Entry entry = (GeneratedFileInfo.Entry) deploymentFiles1.get(i);
- deployFiles.add(entry.fileName);
- }
- }
- javaFiles.removeAll(deployFiles);
- }
-
- status = moveGeneratedFiles(environment, monitor);
-
- } catch (Exception e) {
- envLog.log(ILog.ERROR, 5021, this, "execute", e);
- status = StatusUtils.errorStatus(
- AxisConsumptionCoreMessages.MSG_ERROR_WSDL_JAVA_GENERATE + " " //$NON-NLS-1$
- + e.toString(), e);
- environment.getStatusHandler().reportError(status);
- } finally {
- deleteDir(tempOutputFile);
- }
- return status;
- }
-
- public IStatus moveGeneratedFiles( IEnvironment environment, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
- IStatusHandler statusHandler = environment.getStatusHandler();
- FileInputStream finStream = null;
-
- try {
- String outputDir, javaOutput;
- outputDir = removeFileProtocol(javaWSDLParam.getOutput());
- javaOutput = removeFileProtocol(javaWSDLParam.getJavaOutput());
- ResourceContext context = WebServicePlugin.getInstance().getResourceContext();
-
- IPath outputPath = new Path (outputDir);
-
- String fileName;
- IPath targetPath=null;
-
- String deployFile;
- Iterator iterator;
-
- String tempOutputDir = tempOutputFile.toString();
- String [] movedDeployFiles = new String [deployFiles.size()];
- iterator = deployFiles.iterator();
- int i = 0;
- while (iterator.hasNext()) {
- deployFile = (String) iterator.next();
- File source = new File(deployFile);
- finStream = new FileInputStream(source);
- if (finStream != null) {
- if (deployFile.startsWith(tempOutputDir)) {
- fileName = deployFile.substring(tempOutputDir.length());
- targetPath = outputPath.append(fileName).makeAbsolute();
- FileResourceUtils.createFileAtLocation(context,
- targetPath,
- finStream,
- monitor,
- statusHandler);
- movedDeployFiles[i++]= ResourceUtils.getWorkspaceRoot().getFileForLocation(targetPath).getLocation().toString();
- }
- finStream.close();
- }
- }
-
- javaWSDLParam.setDeploymentFiles(movedDeployFiles);
-
- IPath javaOutputPath = new Path (javaOutput);
-
- String javaFile;
- String fullClassName = null;
- String [] movedJavaFiles = new String [javaFiles.size()];
- iterator = javaFiles.iterator();
- i = 0;
- while (iterator.hasNext()) {
- javaFile = (String) iterator.next();
- File source = new File(javaFile);
- finStream = new FileInputStream(source);
- if (finStream != null) {
- // for the case Java2WSDL-WSDL2Java, no need to move Java files, just delete them
- if (!javaWSDLParam.isMetaInfOnly()) {
- // for the case WSDL2Java, move Java files to Java output directory
- if (javaFile.startsWith(tempOutputDir)) {
- fullClassName = javaFile.substring(tempOutputDir.length());
- targetPath = javaOutputPath.append(fullClassName).makeAbsolute();
- FileResourceUtils.createFileAtLocation(context,
- targetPath,
- finStream,
- monitor,
- statusHandler);
- movedJavaFiles[i++]= ResourceUtils.getWorkspaceRoot().getFileForLocation(targetPath).getLocation().toString();
- }
- }
-
- finStream.close();
- }
- }
- javaWSDLParam.setJavaFiles(movedJavaFiles);
-
- } catch (Exception e) {
- status = StatusUtils.errorStatus(NLS.bind(AxisConsumptionCoreMessages.MSG_ERROR_MOVE_RESOURCE,new String[]{e.getLocalizedMessage()}), e);
- statusHandler.reportError(status);
-
- } finally {
- if (finStream != null) {
- try {
- finStream.close();
- } catch (IOException e) {
- }
- }
- }
-
- return status;
- }
-
- /**
- * Deletes all files and subdirectories under dir.
- * Just ignore and keep going if delete is not successful
- *
- * @param dir directory to delete
- */
- public void deleteDir(File dir) {
- if (dir.isDirectory()) {
- String[] children = dir.list();
- for (int i = 0; i < children.length; i++) {
- deleteDir(new File(dir, children[i]));
- }
- }
- // The directory is now empty so delete it
- dir.delete();
- }
-
- /**
- * Creates a temporary directory under the plugin's state location (i.e.
- * .metadata/.plugin directory)
- *
- * @return File
- */
- private File createTempDir() {
- String pluginTempDir = WebServiceAxisConsumptionCorePlugin
- .getInstance().getStateLocation().toString();
- File tempDir = new File(pluginTempDir);
- File newTempDir = null;
- try {
- newTempDir = File.createTempFile(TEMP, "", tempDir);
- // delete the temp file and create a temp directory instead
- if (newTempDir.delete()) {
- if (newTempDir.mkdir()) {
- tempDir = newTempDir;
- }
- }
- return tempDir;
- } catch (Exception e) {
- return tempDir;
- }
- }
-
- /*
- * Hack: Axis doesn't like file URLs
- */
- private String removeFileProtocol(String s) {
- if (s.startsWith("file:")) {
- String newS = s.substring(5, s.length());
- int i = newS.indexOf(':');
- if (i != -1) {
- String protocol = newS.substring(0, i);
- int j = protocol.indexOf('/');
- int k = protocol.indexOf('\\');
- int max = Math.max(j, k);
- if (max != -1)
- newS = newS.substring(max + 1, newS.length());
- }
- return newS;
- }
- return s;
- }
-
- public Status undo(IEnvironment environment) {
- return null;
- }
-
- public Status redo(IEnvironment environment) {
- return null;
- }
-
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParam) {
- this.javaWSDLParam = javaWSDLParam;
- }
-
- public JavaWSDLParameter getJavaWSDLParam() {
- return javaWSDLParam;
- }
-
- /**
- * @param httpBasicAuthPassword
- * The httpBasicAuthPassword to set.
- */
- public void setHttpBasicAuthPassword(String httpBasicAuthPassword) {
- this.httpBasicAuthPassword = httpBasicAuthPassword;
- }
-
- /**
- * @param httpBasicAuthUsername
- * The httpBasicAuthUsername to set.
- */
- public void setHttpBasicAuthUsername(String httpBasicAuthUsername) {
- this.httpBasicAuthUsername = httpBasicAuthUsername;
- }
-
- public void setWsdlURI(String wsdlURI) {
- this.wsdlURI = wsdlURI;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParamModifier.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParamModifier.java
deleted file mode 100644
index 8d1b149b6..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParamModifier.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.eclipse.jst.ws.internal.axis.consumption.core.common;
-
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.Map;
-import java.util.Properties;
-import java.util.StringTokenizer;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.wst.command.internal.env.core.data.BeanModifier;
-
-public class JavaWSDLParamModifier implements BeanModifier {
-
- public void modify(Object bean, Object propertyHolder)
- {
- JavaWSDLParameter javaWSDLParam;
- if (bean != null)
- {
- javaWSDLParam = (JavaWSDLParameter)bean;
- }
- else
- {
- javaWSDLParam = new JavaWSDLParameter();
- }
-
- //look for each known key in the map & if there, convert the properties and set on javaWSDLParam
- if (propertyHolder instanceof Map)
- {
- Map propertyMap = (Map)propertyHolder;
-
- if (propertyMap.containsKey("Use"))
- {
- javaWSDLParam.setUse((String)propertyMap.get("Use"));
- }
- if (propertyMap.containsKey("Style"))
- {
- javaWSDLParam.setStyle((String)propertyMap.get("Style"));
- }
- if (propertyMap.containsKey("JavaOutput"))
- {
- javaWSDLParam.setJavaOutput((String)propertyMap.get("JavaOutput"));
- }
- if (propertyMap.containsKey("Methods"))
- {
- //get Method list from the map
- String methodList = (String)propertyMap.get("Methods");
-
- //tokenize the method list
- StringTokenizer tok = new StringTokenizer(methodList, " ");
- Hashtable methods = new Hashtable();
- while (tok.hasMoreTokens())
- {
- methods.put(tok.nextToken(), new Boolean(true));
- }
- javaWSDLParam.setMethods(methods);
- }
- if (propertyMap.containsKey("Mappings"))
- {
- //get name of the file that has the mappings in it from the map
- String filename = (String)propertyMap.get("Mappings");
- //get the list of mapping from the file
- HashMap mappings = readMappingsFromFile(filename);
- javaWSDLParam.setMappings(mappings);
- }
- }
- }
-
- private HashMap readMappingsFromFile(String filename)
- {
- HashMap hashmap = new HashMap();
- IFile resource = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(filename));
-
- if (resource != null )
- {
- try
- {
- Properties props = new Properties();
- props.load(resource.getContents());
- hashmap.putAll(props);
- }
- catch (Exception e)
- {
- // TODO Report some error here.
- }
- }
- return hashmap;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParameter.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParameter.java
deleted file mode 100644
index 03fa1f860..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/JavaWSDLParameter.java
+++ /dev/null
@@ -1,472 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060330 124667 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.core.common;
-
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Hashtable;
-
-
-public class JavaWSDLParameter {
-
- public static final byte SERVER_SIDE_NONE = 0;
- public static final byte SERVER_SIDE_BEAN = 1;
- public static final byte SERVER_SIDE_EJB = 2;
-
- public static final String STYLE_RPC = "RPC"; //$NON-NLS-1$
- public static final String STYLE_DOCUMENT = "DOCUMENT"; //$NON-NLS-1$
- public static final String STYLE_WRAPPED = "WRAPPED"; //$NON-NLS-1$
-
- public static final String USE_LITERAL = "LITERAL"; //$NON-NLS-1$
- public static final String USE_ENCODED = "ENCODED"; //$NON-NLS-1$
-
- private String beanName = null; // The name of the Java bean
- private String classpath = null;
- // The class path for loading the bean and command execution
- private String beanPackage = null; // The package location of the bean
- private String portTypeName = null; // The name of the port type element
- private String serviceName = null; // The name of the service element
- private String outputWsdlLocation = null;
- // The output location of the WSDL file
- private String inputWsdlLocation = null;
- // The input location of the WSDL file
- private String urlLocation = null; // The URL location of the web service
- private Hashtable methods = null; // The array of method names
- private String methodString_ = ""; //$NON-NLS-1$
- //The string representation of the method array
- private String style = null;
- // The style (RPC | DOCUMENT | WRAPPED) attribute for the generated WSDL
- private String use = null;
- // The use (LITERAL | ENCODED) attribtue for the generated WSDL
- private String output = null;
- // The output location for deployment descriptors & Java code (output from WSDL2Java command)
- private String javaOutput = null;
- // The output location for Java code (output from WSDL2Java command)
- private boolean metaInfOnly = false; // META-INF-ONLY flag
- private byte serverSide = SERVER_SIDE_NONE;
- // server-side flag (SERVER_SIDE_NONE | SERVER_SIDE_BEAN | SERVER_SIDE_EJB)
- private String namespace = null;
- private boolean skeletonDeploy = true;
- private String container = null;
- private String[] deploymentFiles = null;
- private String[] javaFiles = null;
- private String projectURL = null;
- private boolean guessProjectURL = false;
- private HashMap mappingPairs;
- private String httpUsername_ = null;
- private String httpPassword_ = null;
-
- public void setContainer(String container) {
- this.container = container;
- }
-
- public String getContainer() {
- return container;
- }
-
- /**
- * Constructor for JavaWSDLParameter.
- */
- public JavaWSDLParameter() {
- }
-
- /**
- * Returns the beanName.
- * @return String
- */
- public String getBeanName() {
- return beanName;
- }
-
- public String getBeanPackage() {
- return beanPackage;
- }
-
- /**
- * Returns the portTypeName.
- * @return String
- */
- public String getPortTypeName() {
- return portTypeName;
- }
-
- /**
- * Returns the serviceName.
- * @return String
- */
- public String getServiceName() {
- return serviceName;
- }
-
- /**
- * Returns the output.
- * @return String
- */
- public String getOutput() {
- return output;
- }
-
- /**
- * Returns the methods.
- * @return String[]
- */
- public Hashtable getMethods() {
- return methods;
- }
-
- /**
- * Returns the comma seperated string represetation of the methods.
- * @return String
- */
- public String getMethodString() {
- if (methodString_.equals(""))
- {
- Enumeration e = methods.keys();
- for (int i=0; e.hasMoreElements(); i++)
- {
-
- String signature = (String) e.nextElement();
- if (((Boolean) methods.get(signature)).booleanValue()){
- int index = signature.indexOf('(');
- String name = signature.substring(0, index);
- methodString_ += name;
- }
- if (i != methods.size() -1) // this is not the last array item
- {
- methodString_ += ",";
- }
- }
- }
- return methodString_;
- }
-
- /**
- * Sets a comma separated string of methods *
- */
- public void setMethodString(String methods)
- {
- methodString_ = methods;
- }
-
- /**
- * Returns the style attribute.
- * @return String
- */
- public String getStyle() {
- return style;
- }
-
- /**
- * Returns the urlLocation.
- * @return String
- */
- public String getUrlLocation() {
- return urlLocation;
- }
-
- /**
- * Returns the use attribute.
- * @return String
- */
- public String getUse() {
- return use;
- }
-
- /**
- * Returns the outputWsdlLocation.
- * @return String
- */
- public String getOutputWsdlLocation() {
- return outputWsdlLocation;
- }
-
- /**
- * Sets the beanName.
- * @param beanName The beanName to set
- */
- public void setBeanName(String beanName) {
- this.beanName = beanName;
- }
-
- public void setBeanPackage(String beanPackage) {
- this.beanPackage = beanPackage;
- }
-
- /**
- * Sets the portTypeName.
- * @param portTypeName The portTypeName to set
- */
- public void setPortTypeName(String portTypeName) {
- this.portTypeName = portTypeName;
- }
-
- /**
- * Sets the serviceName.
- * @param serviceName The serviceName to set
- */
- public void setServiceName(String serviceName) {
- this.serviceName = serviceName;
- }
-
- /**
- * Sets the output.
- * @param output The output to set
- */
- public void setOutput(String output) {
- this.output = output;
- }
-
- /**
- * Sets the methods.
- * @param methods The methods to set
- */
- public void setMethods(Hashtable methods) {
- this.methods = methods;
- }
-
- /**
- * Sets the style.
- * @param style The style to set
- */
- public void setStyle(String style) {
- this.style = style;
- }
-
- /**
- * Sets the urlLocation.
- * @param urlLocation The urlLocation to set
- */
- public void setUrlLocation(String urlLocation) {
- this.urlLocation = urlLocation;
- }
-
- /**
- * Sets the use.
- * @param use The use to set
- */
- public void setUse(String use) {
- this.use = use;
- }
-
- /**
- * Sets the outputWsdlLocation.
- * @param outputWsdlLocation The outputWsdlLocation to set
- */
- public void setOutputWsdlLocation(String wsdlLocation) {
- this.outputWsdlLocation = wsdlLocation;
- }
-
- /**
- * Returns the metaInfOnly.
- * @return boolean
- */
- public boolean isMetaInfOnly() {
- return metaInfOnly;
- }
-
- /**
- * Sets the metaInfOnly.
- * @param metaInfOnly The metaInfOnly to set
- */
- public void setMetaInfOnly(boolean metaInfOnly) {
- this.metaInfOnly = metaInfOnly;
- }
-
- /**
- * Returns the serverSide.
- * @return byte
- */
- public byte getServerSide() {
- return serverSide;
- }
-
- /**
- * Sets the serverSide.
- * @param serverSide The serverSide to set
- */
- public void setServerSide(byte serverSide) {
- this.serverSide = serverSide;
- }
-
- /**
- * Returns the inputWsdlLocation.
- * @return String
- */
- public String getInputWsdlLocation() {
- return inputWsdlLocation;
- }
-
- /**
- * Sets the inputWsdlLocation.
- * @param inputWsdlLocation The inputWsdlLocation to set
- */
- public void setInputWsdlLocation(String inputWsdlLocation) {
- this.inputWsdlLocation = inputWsdlLocation;
- }
-
- /**
- * Returns the namespace.
- * @return String
- */
- public String getNamespace() {
- return namespace;
- }
-
- /**
- * Sets the namespace.
- * @param namespace The namespace to set
- */
- public void setNamespace(String namespace) {
- this.namespace = namespace;
- }
-
- /**
- * Returns the Java output.
- * @return String
- */
- public String getJavaOutput() {
- return javaOutput;
- }
-
- /**
- * Sets the javaOutput.
- * @param javaOutput The Java output to set
- */
- public void setJavaOutput(String javaOutput) {
- this.javaOutput = javaOutput;
- }
-
- /**
- * @return
- */
- public String getClasspath() {
- return classpath;
- }
-
- /**
- * @param string
- */
- public void setClasspath(String string) {
- classpath = string;
- }
-
- /**
- * @return
- */
- public boolean isSkeletonDeploy() {
- return skeletonDeploy;
- }
-
- /**
- * @param b
- */
- public void setSkeletonDeploy(boolean b) {
- skeletonDeploy = b;
- }
-
- /**
- * @return
- */
- public String[] getDeploymentFiles() {
- return deploymentFiles;
- }
-
- /**
- * @param strings
- */
- public void setDeploymentFiles(String[] strings) {
- deploymentFiles = strings;
- }
-
- /**
- * @return
- */
- public String[] getJavaFiles() {
- return javaFiles;
- }
-
- /**
- * @param strings
- */
- public void setJavaFiles(String[] strings) {
- javaFiles = strings;
- }
-
- /**
- * @return
- */
- public String getProjectURL() {
- return projectURL;
- }
-
- /**
- * @param string
- */
- public void setProjectURL(String string) {
- projectURL = string;
- }
-
- public HashMap getMappings()
- {
- return mappingPairs;
- }
-
- public void setMappings(HashMap map)
- {
- mappingPairs = map;
- }
-
- /**
- * Returns the user name for HTTP basic authentication
- * @return String
- */
- public String getHTTPUsername()
- {
- return httpUsername_;
- }
-
- /**
- * Sets the user name for HTTP basic authentication
- * @param String
- */
- public void setHTTPUsername(String httpUsername)
- {
- httpUsername_ = httpUsername;
- }
-
- /**
- * Returns the password for HTTP basic authentication
- * @return String
- */
- public String getHTTPPassword()
- {
- return httpPassword_;
- }
-
- /**
- * @param string
- */
- public void setHTTPPassword(String httpPassword) {
- httpPassword_ = httpPassword;
- }
-
- public boolean isGuessProjectURL() {
- return guessProjectURL;
- }
-
- public void setGuessProjectURL(boolean guessProjectURL) {
- this.guessProjectURL = guessProjectURL;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/NameMappingUtils.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/NameMappingUtils.java
deleted file mode 100644
index 061fdac56..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/common/NameMappingUtils.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-
-package org.eclipse.jst.ws.internal.axis.consumption.core.common;
-
-import java.util.Map;
-
-import org.apache.axis.utils.JavaUtils;
-import org.apache.axis.wsdl.toJava.Utils;
-
-public class NameMappingUtils {
-
- private NameMappingUtils() {
- }
-
- public static String getPackageName(String namespace, Map ns2pkgMap)
- {
- if (namespace != null)
- {
- if (ns2pkgMap != null)
- {
- Object pkg = ns2pkgMap.get(namespace);
- if (pkg != null)
- return (String)pkg;
- }
- return namespaceURI2PackageName(namespace);
- }
- else
- return "";
- }
-
- /**
- * namespaceURI2PackageName
- * @param namespaceURI
- * @return package name based on namespace
- */
- public static String namespaceURI2PackageName(String namespaceURI)
- {
- return Utils.makePackageName(namespaceURI);
- }
-
- /**
- * xmlNameToJavaClass
- * @param xmlname
- * @return Java class name
- */
- public static String xmlNameToJavaClass(String xmlname)
- {
- return Utils.xmlNameToJavaClass(xmlname);
- }
-
- /**
- * getPortName
- * @param partName
- * @return port name used by the Axis emitter
- */
- public static String getPortName(String portName)
- {
- if (!JavaUtils.isJavaId(portName))
- portName = xmlNameToJavaClass(portName);
- return portName;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java
deleted file mode 100644
index e5a281e98..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java
+++ /dev/null
@@ -1,181 +0,0 @@
-/*******************************************************************************
- * 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";
-
- /**
- * This constant string is used to lookup the "validate against JAXRPC"
- * preference from the plugins local preferences store.
- */
- public static final String PREFERENCE_VALIDATE_AGAINST_JAXRPC = "validateAgainstJAXRPC";
-
- /**
- *
- * @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 enable
- * set whether JAX-RPC analysis of the service class is enabled.
- */
- public void setValidateAgainstJAXRPCEnabled(boolean enable);
-
- /**
- *
- * @param returns
- * whether JAX-RPC analysis of the service class is enabled.
- */
-
- public boolean isValidateAgainstJAXRPCEnabled();
-
- /**
- *
- * @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.
- */
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java
deleted file mode 100644
index 19adc6e1b..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * 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 boolean PREFERENCE_VALIDATE_AGAINST_JAXRPC = true;
- 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 JAX-RPC validation of the service class.
- * Note: This is not a true Axis emitter preference. This preference controls whether
- * the Axis Web service bottom-up scenario analyzes the service class for compliance
- * to JAX-RPC some time before calling the emitters.
- */
- public static boolean getValidateAgainstJAXRPC()
- {
- return PREFERENCE_VALIDATE_AGAINST_JAXRPC;
- }
-
- /**
- *
- * @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;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java
deleted file mode 100644
index e8543e1fe..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * 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_VALIDATE_AGAINST_JAXRPC, AxisEmitterDefaults.getValidateAgainstJAXRPC());
- 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 setValidateAgainstJAXRPCEnabled(boolean enable)
- {
- setValue(PREFERENCE_VALIDATE_AGAINST_JAXRPC, enable);
- }
-
- public boolean isValidateAgainstJAXRPCEnabled()
- {
- return getValueAsBoolean(PREFERENCE_VALIDATE_AGAINST_JAXRPC);
- }
-
- 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);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServicesSaxHandler.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServicesSaxHandler.java
deleted file mode 100644
index 3f652163c..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServicesSaxHandler.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060517 140832 andyzhai@ca.ibm.com - Andy Zhai
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.core.locator;
-
-import java.util.List;
-import java.util.Vector;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class AxisServicesSaxHandler extends DefaultHandler
-{
- private Vector webServicesNames = new Vector();
-
- public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- {
- if (localName.trim().toLowerCase().equals("service"))
- {
- for (int i = 0; i < atts.getLength(); i++)
- {
- if (atts.getLocalName(i).trim().toLowerCase().equals("name"))
- {
- String serviceName = atts.getValue(i);
- webServicesNames.add(serviceName);
- }
- }
- }
- }
-
- public List getWebServicesNames()
- {
- return this.webServicesNames;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServletSaxHandler.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServletSaxHandler.java
deleted file mode 100644
index 098bcc8cb..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisServletSaxHandler.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060517 140832 andyzhai@ca.ibm.com - Andy Zhai
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.core.locator;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class AxisServletSaxHandler extends DefaultHandler
-{
- private final static String AXIS_SERVLET_CLASS_NAME = "org.apache.axis.transport.http.AxisServlet";
-
- private final static String SERVLET_CLASS_NAME = "servlet-class";
-
- private boolean isThereAxisServlet = false;
-
- private String currentElement = null;
-
- public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- {
- currentElement = localName;
- }
-
- public void characters(char[] ch, int start, int length) throws SAXException
- {
- if ( !isThereAxisServlet && SERVLET_CLASS_NAME.equals(currentElement.trim()) && String.valueOf(ch).indexOf(AXIS_SERVLET_CLASS_NAME) > -1)
- {
- isThereAxisServlet = true;
- }
- }
-
- public boolean isThereAxisServlet()
- {
- return this.isThereAxisServlet;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisWebServiceLocator.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisWebServiceLocator.java
deleted file mode 100644
index da79c746a..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/AxisWebServiceLocator.java
+++ /dev/null
@@ -1,393 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060517 140832 andyzhai@ca.ibm.com - Andy Zhai
- * 20060620 147862 cbrealey@ca.ibm.com - Chris Brealey
- * 20060620 147864 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.core.locator;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Vector;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jdt.core.IJavaModel;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.ITypeHierarchy;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.wsrt.WebServiceJavaClientInfo;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerPort;
-import org.eclipse.wst.server.core.ServerUtil;
-import org.eclipse.wst.ws.internal.wsfinder.AbstractWebServiceLocator;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceInfo;
-import org.xml.sax.SAXException;
-
-/**
- * @author cbrealey
- * The Axis Web service locator plugs itself into the
- * Web Services Finder framework and does the job of
- * locating Axis clients and services.
- */
-public class AxisWebServiceLocator extends AbstractWebServiceLocator
-{
- private String AXIS_STUB = "org.apache.axis.client.Stub";
-
- /**
- * Searches the workspace for Axis clients as
- * identified by non-stub classes that implement
- * SEIs that are implemented by stubs that implement
- * org.apache.axis.client.Stub.
- * @param monitor A progress monitor, possibly null.
- * @return A possibly empty list of WebServiceClientInfo objects.
- */
- public List getWebServiceClients (IProgressMonitor monitor)
- {
- List list = new LinkedList();
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- IJavaModel javaModel = JavaCore.create(root);
- try
- {
- javaModel.open(monitor);
- IJavaProject[] javaProjects = javaModel.getJavaProjects();
- for (int i=0; i<javaProjects.length; i++)
- {
- // We're only interested in Java projects within which
- // the Axis runtime's client "Stub" class is loadable:
- IType axisStub = javaProjects[i].findType(AXIS_STUB);
- if (axisStub != null)
- {
- // Find "Proxy" classes in the project and add to the list.
- addAxisProxies(javaProjects[i],axisStub,list,monitor);
- }
- }
- javaModel.close();
- }
- catch (Exception e)
- {
- // Fall thru and return an empty list.
- }
- return list;
- }
-
- /**
- * Searches the workspace for Axis clients as
- * identified by non-stub classes that implement
- * SEIs that are implemented by stubs that implement
- * org.apache.axis.client.Stub.
- * @param projects The projects to confine the search to.
- * @param monitor A progress monitor, possibly null.
- * @return A possibly empty list of WebServiceClientInfo objects.
- */
- public List getWebServiceClients (IProject[] projects, IProgressMonitor monitor)
- {
- if (projects == null)
- {
- return getWebServiceClients(monitor);
- }
- List list = new LinkedList();
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- IJavaModel javaModel = JavaCore.create(root);
- try
- {
- javaModel.open(monitor);
- for (int i=0; i<projects.length; i++)
- {
- IJavaProject javaProject = javaModel.getJavaProject(projects[i].getName());
- // We're only interested in Java projects within which
- // the Axis runtime's client "Stub" class is loadable:
- IType axisStub = javaProject.findType(AXIS_STUB);
- if (axisStub != null)
- {
- // Find "Proxy" classes in the project and add to the list.
- addAxisProxies(javaProject,axisStub,list,monitor);
- }
- }
- javaModel.close();
- }
- catch (Exception e)
- {
- // Fall thru and return an empty list.
- }
- return list;
- }
-
- /**
- * Tries to find Axis "Proxy" classes related the given Stub.
- * @param axisStub The Axis client "Stub" from which to search.
- * @param list A list to which we'll add and WebServiceClientInfo
- * objects for "Proxy" classes we find in the search.
- */
- private void addAxisProxies (IJavaProject javaProject, IType axisStub, List list, IProgressMonitor monitor)
- {
- try
- {
- // Compute a hierarchy to help us find all the
- // generated Stub subclasses of the Axis "Stub"
- // class across the entire workspace:
- ITypeHierarchy axisStubHierarchy = axisStub.newTypeHierarchy(javaProject,monitor);
- IType[] stubs = axisStubHierarchy.getSubtypes(axisStub);
- for (int s=0; s<stubs.length; s++)
- {
- // For each stub, find all its super-interfaces of which
- // there should be one, namely the generated SEI:
- IType seis[] = axisStubHierarchy.getSuperInterfaces(stubs[s]);
- for (int i=0; i<seis.length; i++)
- {
- try
- {
- // Compute a hierarchy to help us find all the
- // generated classes that implement the SEI
- // confined to the current project:
- ITypeHierarchy seiHierarchy = seis[i].newTypeHierarchy(javaProject,monitor);
- IType[] proxies = seiHierarchy.getSubtypes(seis[i]);
- for (int p=0; p<proxies.length; p++)
- {
- // Under normal circumstances we should find two subclasses:
- // 1. The generated stub that got us here (two loops above).
- // 2. The generated "Proxy" that we're looking for.
- // Skip #1 and capture #2:
- if (!proxies[p].getFullyQualifiedName().equals(stubs[s].getFullyQualifiedName()))
- {
- WebServiceClientInfo wscInfo = newWebServiceClientInfo(proxies[p]);
- if (wscInfo != null)
- {
- list.add(wscInfo);
- }
- }
- }
- }
- catch (Exception e)
- {
- // We'll land here if the JDT was unable to compute
- // a type hierarchy for the current SEI.
- // This should never happen, but if it does,
- // there's not much we can do except bypass the SEI
- // and loop on to the next one.
- }
- }
- }
- }
- catch (Exception e)
- {
- // We'll land here if JDT was unable to compute
- // a type hierarchy for the Axis client "Stub" class.
- // This should never happen, but if it does,
- // there's not much we can do except bail out, having
- // added nothing to the list.
- }
- }
-
- /**
- * Creates a new WebServiceClientInfo object for a
- * JDT IType object representing a generated Proxy.
- * @param axisProxy The IType of the generated Proxy.
- * @return A new WebServiceClientInfo object describing the Proxy,
- * or null if the IType does not appear to describe a normal Proxy.
- */
- private WebServiceClientInfo newWebServiceClientInfo (IType axisProxy)
- {
- WebServiceJavaClientInfo wscInfo = null;
- try
- {
- IResource resource = axisProxy.getUnderlyingResource();
- if (resource != null)
- {
- IPath proxyPath = resource.getLocation();
- if (proxyPath != null)
- {
- String proxyURL = proxyPath.toFile().toURL().toString();
- wscInfo = new WebServiceJavaClientInfo();
- wscInfo.setType(axisProxy);
- wscInfo.setImplURL(proxyURL);
- }
- }
- }
- catch (Exception e)
- {
- // We'll land here if we could not convert the IType
- // into an IResource, or if we could not compute a URL
- // from that resource. Either way, it definitely isn't
- // a normal generated Proxy, so get out and return null.
- }
- return wscInfo;
- }
-
- /**
- * Searches the workspace for Axis services as
- * identified by server-config.wsdd <service> elements
- * in projects with an Axis servlet registered
- * in the web.xml descriptor.
- * @param monitor A progress monitor, possibly null.
- * @return A possibly empty list of WebServiceInfo objects.
- */
- public List getWebServices (IProgressMonitor monitor)
- {
- return getWebServices(null,monitor);
- }
-
- /**
- * Searches the workspace for Axis services as
- * identified by server-config.wsdd <service> elements
- * in projects with an Axis servlet registered
- * in the web.xml descriptor.
- * @param projects The projects to confine the search to.
- * @param monitor A progress monitor, possibly null.
- * @return A possibly empty list of WebServiceInfo objects.
- */
- public List getWebServices (IProject[] projects, IProgressMonitor monitor)
- {
- Vector webServices = new Vector();
- if (projects == null)
- {
- projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
- }
- for (int i = 0; i < projects.length; i++)
- {
- // we are only intersted in dynamic web project
- if (J2EEUtils.isWebComponent(projects[i]))
- {
- try
- {
- webServices.addAll(getWebServicesFromProject(projects[i], monitor));
- }
- catch (Exception e)
- {
- // Fall thru and return an empty list.
- }
- }
- }
- return webServices;
- }
-
- /**
- * Searches for a particular web project for Axis services as
- * identified by server-config.wsdd <service> elements
- * with an Axis servlet registered
- * in the web.xml descriptor.
- * @param monitor A progress monitor, possibly null.
- * @return A possibly empty list of WebServiceInfo objects.
- */
- private List getWebServicesFromProject(IProject project, IProgressMonitor monitor) throws CoreException, ParserConfigurationException, SAXException, IOException
- {
- // Search the web.xml in fixed location
- IPath webDescriptorPath = J2EEUtils.getWebInfPath(project).append("/web.xml");
- IFile webXmlFile = ResourcesPlugin.getWorkspace().getRoot().getFile(webDescriptorPath);
-
- if (webXmlFile != null && isAxisServletExisted(webXmlFile, monitor))
- {
- // Search for all server-config.wsdd inside this project
- ServerConfigWSDDVisitor visitor = new ServerConfigWSDDVisitor();
- project.accept(visitor);
- visitor.visit(project);
- Vector wsddFiles = visitor.getWsddFiles();
- Vector servicesNames = new Vector();
- for (int i = 0; i < wsddFiles.size(); i++)
- {
- servicesNames.addAll(getWebServicesNamesFromAxisConfig((IFile)wsddFiles.get(i), monitor));
- }
- return getWebServices(project, servicesNames, monitor);
- }
- else
- {
- return new Vector();
- }
- }
-
- /*
- * Determine whether web.xml contains axis servlet
- */
- private boolean isAxisServletExisted(IFile file, IProgressMonitor monitor) throws CoreException, ParserConfigurationException, SAXException, IOException
- {
- InputStream inputStream = file.getContents();
- SAXParserFactory factory = SAXParserFactory.newInstance();
- factory.setNamespaceAware(true);
- SAXParser parser = factory.newSAXParser();
- AxisServletSaxHandler handler = new AxisServletSaxHandler();
- parser.parse(inputStream, handler);
- inputStream.close();
- return handler.isThereAxisServlet();
- }
-
- /*
- * Given a list of services, find the servers this project is associated,
- * Combine them and form various end point
- */
- private List getWebServices(IProject project, List servicesNames, IProgressMonitor monitor)
- {
- Vector webServices = new Vector();
- IServer[] servers = ServerUtil.getServersByModule(ServerUtil.getModule(project),monitor);
- for (int i = 0; i < servers.length; i++)
- {
- String host = servers[i].getHost();
- ServerPort httpPort = getHttpPort(servers[i].getServerPorts(monitor));
- if (httpPort != null)
- {
- for (int j = 0; j < servicesNames.size(); j++)
- {
- WebServiceInfo wsInfo = new WebServiceInfo();
- String endPointURL = "http://" + host + ":" + httpPort.getPort() + "/" + J2EEUtils.getFirstWebModuleName(project) + "/services/" + (String)servicesNames.get(j);
- wsInfo.setEndPointURL(endPointURL);
- wsInfo.setWsdlURL(endPointURL+"?wsdl");
- webServices.add(wsInfo);
- }
- }
- }
- return webServices;
- }
-
- /*
- * Parse the server-config.wsdd file, return a list of names of web services
- */
- private List getWebServicesNamesFromAxisConfig(IFile file, IProgressMonitor monitor) throws CoreException, ParserConfigurationException, SAXException, IOException
- {
- InputStream inputStream = file.getContents();
- SAXParserFactory factory = SAXParserFactory.newInstance();
- factory.setNamespaceAware(true);
- SAXParser parser = factory.newSAXParser();
- AxisServicesSaxHandler handler = new AxisServicesSaxHandler();
- parser.parse(inputStream, handler);
- inputStream.close();
- return handler.getWebServicesNames();
- }
-
- /*
- * find the right port (http) from a list or ports
- */
- private ServerPort getHttpPort(ServerPort[] ports)
- {
- for (int i = 0; i < ports.length; i++)
- {
- String name = ports[i].getName();
- if ( name != null && name.trim().toLowerCase().equals("http")) return ports[i];
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/ServerConfigWSDDVisitor.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/ServerConfigWSDDVisitor.java
deleted file mode 100644
index 314d13f9d..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/locator/ServerConfigWSDDVisitor.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060517 140832 andyzhai@ca.ibm.com - Andy Zhai
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.core.locator;
-
-import java.util.Vector;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceVisitor;
-
-public class ServerConfigWSDDVisitor implements IResourceVisitor
-{
- private static final String AXIS_SERVER_CONFIG_FILE_NAME = "Server-config.wsdd";
- Vector wsddFiles = new Vector();
-
- public boolean visit(IResource resource)
- {
- if (resource.getType() == IResource.FILE)
- {
- if (resource.getName().equalsIgnoreCase(AXIS_SERVER_CONFIG_FILE_NAME))
- {
- wsddFiles.add((IFile)resource);
- }
- }
- return true;
- }
- public Vector getWsddFiles()
- {
- return wsddFiles;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java
deleted file mode 100644
index 14531701b..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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.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.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-import org.osgi.framework.BundleContext;
-
-
-/**
-* This is the plugin class for the Web Services plugin.
-* <p>
-* This plugin contains the graphic user interface to the
-* Web Services runtime found in org.eclipse.jst.ws.
-*/
-public class WebServiceAxisConsumptionCorePlugin extends Plugin
-{
-
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID =
- "org.eclipse.jst.ws.axis.consumption.core";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- 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
- * class = "org.eclipse.jst.ws.axis.consumption.core".
- * @param descriptor The descriptor of this plugin.
- */
- public WebServiceAxisConsumptionCorePlugin() {
- super();
- if (instance_ == null) {
- instance_ = this;
- }
- log_ = EnvironmentService.getEclipseLog();
-
- }
-
- // This method is needed to keep the logging from blowing up.
- public String toString()
- {
- return ID;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WebServiceWasConsumptionPlugin)Platform.getPlugin("org.eclipse.jst.ws.was.v5.tp");
- * @return The WebServiceAxisConsumptionCorePlugin singleton.
- */
- 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.
- * @throws CoreException If this plugin fails to start.
- */
- public void start( BundleContext bundle ) throws CoreException {
- log_.log(ILog.INFO, 5087, this, "start", "Starting plugin org.eclipse.jst.ws.axis.consumption.core");
-
- try
- {
- super.start( bundle );
- }
- catch( Exception exc )
- {
- log_.log( ILog.ERROR, 5088, this, "start", exc );
- }
- }
-
- /**
- * Called once by the platform when this plugin is unloaded.
- * @throws CoreException If this plugin fails to shutdown.
- */
- public void stop( BundleContext context ) throws CoreException {
- log_.log(ILog.INFO, 5089, this, "shutdown", "Shutting plugin org.eclipse.jst.ws.axis.consumption.core");
-
- try
- {
- super.stop( context );
- }
- catch( Exception exc )
- {
- log_.log( ILog.ERROR, 5090, this, "stop", exc );
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.classpath b/bundles/org.eclipse.jst.ws.axis.consumption.ui/.classpath
deleted file mode 100644
index cb0105380..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.cvsignore b/bundles/org.eclipse.jst.ws.axis.consumption.ui/.cvsignore
deleted file mode 100644
index 849a03b73..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-build.xml
-temp.folder
-wsc-axis-ui.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.project b/bundles/org.eclipse.jst.ws.axis.consumption.ui/.project
deleted file mode 100644
index 12dac8571..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.axis.consumption.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index bdf9129cb..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:34:37 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index a2bb559df..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:34 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.axis.consumption.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 13c628480..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,47 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.axis.consumption.ui; singleton:=true
-Bundle-Version: 1.0.102.qualifier
-Bundle-Activator: org.eclipse.jst.ws.internal.axis.consumption.ui.plugin.WebServiceAxisConsumptionUIPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.internal.axis.consumption.ui;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.ui.command;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.ui.plugin;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.ui.task;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.ui.util;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.ui.widgets;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.ui.wizard.client;x-internal:=true,
- org.eclipse.jst.ws.internal.axis.consumption.ui.wsrt;x-internal:=true
-Require-Bundle: org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.emf.ecore;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.jem;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.ws.consumption.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws.axis.consumption.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws.ui;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.ws.consumption;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.common.modulecore;bundle-version="[1.1.0,1.2.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.apache.axis;bundle-version="[1.3.0,1.4.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- com.ibm.icu;bundle-version="[3.4.4,3.5.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/about.html b/bundles/org.eclipse.jst.ws.axis.consumption.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/build.properties b/bundles/org.eclipse.jst.ws.axis.consumption.ui/build.properties
deleted file mode 100644
index c772b640e..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-bin.includes = .,\
- plugin.properties,\
- plugin.xml,\
- META-INF/,\
- about.html
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.properties b/bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.properties
deleted file mode 100644
index 73587db3a..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Webservice Axis Consumption UI
-PLUGIN_PROVIDER=Eclipse.org
-
-WEBSERVICECLIENTTYPE_NAME_JAVA_AXIS=Java proxy
-LABEL_RUNTIME_AXIS_11=Apache Axis
-DESC_RUNTIME_AXIS_11=Apache Axis
-#
-# Web Services Preferance Pages
-#
-# Categories
-PREFERENCE_CATEGORY_AXIS_EMITTER=Axis Emitter
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.xml b/bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.xml
deleted file mode 100644
index 5e211f5bf..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/plugin.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <extension point="org.eclipse.wst.command.env.ui.widgetRegistry">
- <widgetFactory
- id="AxisClientConfig"
- insertBeforeCommandId="org.eclipse.jst.ws.internal.axis.consumption.ui.task.DefaultsForHTTPBasicAuthCommand"
- class="org.eclipse.jst.ws.internal.axis.consumption.ui.wsrt.AxisClientConfigWidgetFactory"/>
- </extension>
- <extension
- point="org.eclipse.wst.command.env.antDataMapping">
- <map
- key="ClientProjectName"
- operation="org.eclipse.jst.ws.internal.axis.consumption.ui.command.AxisClientDefaultingCommand"
- property="ClientProject"
- transform="org.eclipse.jst.ws.internal.common.StringToIProjectTransformer"/>
- <map
- key="CustomizeClientMappings"
- operation="org.eclipse.jst.ws.internal.axis.consumption.ui.command.AxisClientDefaultingCommand"
- property="CustomizeClientMappings"/>
- <map
- key="Mappings"
- operation="org.eclipse.jst.ws.internal.axis.consumption.ui.task.DefaultsForHTTPBasicAuthCommand"
- property="JavaWSDLParam"
- transform="org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParamModifier"/>
- <map
- key="Mappings"
- operation="org.eclipse.jst.ws.internal.axis.consumption.ui.command.DefaultsForClientJavaWSDLCommand"
- property="JavaWSDLParam"
- transform="org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParamModifier"/>
- <map
- key="Mappings"
- operation="org.eclipse.jst.ws.internal.axis.consumption.core.command.WSDL2JavaCommand"
- property="JavaWSDLParam"
- transform="org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParamModifier"/>
- <map
- key="Mappings"
- operation="org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2BeanCommand"
- property="JavaWSDLParam"
- transform="org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParamModifier"/>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- name="%PREFERENCE_CATEGORY_AXIS_EMITTER"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.jst.ws.internal.axis.consumption.ui.preferences.AxisEmitterPreferencePage"
- id="org.eclipse.jst.ws.internal.axis.consumption.ui.preferences.AxisEmitterPreferencePage">
- </page>
-
- </extension>
-</plugin> \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUI.properties b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUI.properties
deleted file mode 100644
index 16fc8b060..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUI.properties
+++ /dev/null
@@ -1,106 +0,0 @@
-###############################################################################
-# Copyright (c) 2004, 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
-# -------- -------- -----------------------------------------------------------
-# 20060216 126989 pmoogk@ca.ibm.com - Peter Moogk
-# 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai
-# 20060424 120137 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-
-MSG_ERROR_DEFAULT_BEAN=IWAB0491E Error encountered while setting up default values for Java bean
-MSG_ERROR_WSDL_NO_DEFINITION=IWAB0495E WSDL file at {0} has no definition element
-MSG_ERROR_WSDL_NO_PORT=IWAB0496E WSDL file at {0} has no port element
-MSG_ERROR_WRITE_WSDL=IWAB0497E Error in writing WSDL file {0}
-
-#
-# Messages for CopyClientWSDLTask
-#
-MSG_ERROR_IMPORT_WSDL=IWAB0531E Error in resolving WSDL file {0}, import WSDL file must have absolute URL or relative URL in the same directory
-
-
-#
-#DefaultsForClientJavaWSDLCommand
-#
-MSG_ERROR_WSDL_LOCATION_NOT_SET=IWAB0501E WSDL location not set.
-
-#
-#AddJarsToProjectBuildPathTask
-#
-MSG_WARN_NO_JAVA_NATURE=IWAB0502W The project is not a Java project.
-MSG_ERROR_BAD_BUILDPATH=IWAB0503E Unable to update Java build path. Please check your system environment.
-
-#
-#CopyAxisJarCommand
-#
-PROGRESS_INFO_COPY_AXIS_CFG=IWAB0505I Copying Axis jar files to web project.
-MSG_ERROR_FILECOPY=IWAB0506E Error when copying Axis jar files to web project
-
-#
-#RefreshProjectTask
-#
-MSG_ERROR_REFRESH_PROJECT=IWAB0508E Unable to refresh project.
-
-#
-#WebServiceAxisProxyPage
-#
-TOOLTIP_PWJB_PAGE=Page
-TOOLTIP_PWJB_TEXT_FOLDER=Folder for proxy to be generated for the selected binding.
-TOOLTIP_PWJB_CHECKBOX_GENPROXY=Check to enable/disable the generation of a proxy.
-
-PAGE_TITLE_WS_AXIS_PROXY=Web Service Proxy Page
-PAGE_DESC_WS_AXIS_PROXY=Select generate proxy if you want to generate proxy for your service.
-CHECKBOX_GENPROXY=Generate proxy
-LABEL_FOLDER_NAME=Output folder
-
-#
-# Messages for WebSerivceAxisMappingsPage
-#
-PAGE_TITLE_WS_BEAN2XML=Web Service Package to Namespace Mapping
-PAGE_TITLE_WS_XML2PROXY=Web Service Client Namespace to Package Mapping
-PAGE_DESC_P2N_MAPPINGS=Define custom mapping for package to namespace.
-
-
-LABEL_MAPPING_PAIRS=Mapping pairs
-TABLE_COLUMN_LABEL_PACKAGE=package
-TABLE_COLUMN_LABEL_NAMESPACE=namespace
-LABEL_EXPLORE_MAPPINGS_XML2BEAN=Define custom mapping for namespace to package.
-TOOLTIP_N2P_SHOW_MAPPINGS=Define namespace to package mapping for customization.
-
-# Messages for Axis Emitter Preference Page
-TOOLTIP_PPAE_PAGE=Set preferences that control Axis Emitter.
-TOOLTIP_PPAE_CHECKBOX_ALL_WANTED=By default, code is generated only for referenced elements. \nCall bGenerateAll(true) and WSDL2Java will generate code \nfor all elements in the scope regardless of whether they are referenced. \nScope means: by default, all WSDL files; if generateImports(false),\nthen only the immediate WSDL file.
-TOOLTIP_PPAE_CHECKBOX_HELPER_WANTED=Emits separate Helper classes for meta data.
-TOOLTIP_PPAE_CHECKBOX_WRAP_ARRAYS=Prefers building beans to straight arrays for wrapped XML array types.
-TOOLTIP_PPAE_CHECKBOX_USE_INHERITED_METHODS=If this option is selected, the Java2WSDL parser will look into extended classes to determine the list of methods to export into the WSDL file.
-TOOLTIP_PPAE_CHECKBOX_VALIDATE_AGAINST_JAXRPC=If selected, the tools will examine the Java service class and its value types to determine if it satisfies important requirements of the JAX-RPC specification.
-TOOLTIP_PPAE_COMBO_DEPLOY_SCOPE=Add scope to deploy.wsdd.
-TOOLTIP_PPAE_FIELD_TIME_OUT=Timeout in seconds (default is 45, specify -1 to disable).
-TOOLTIP_PPAE_GROUP_WSDL2JAVA=Set preferences for wsdl2java.
-TOOLTIP_PPAE_GROUP_JAVA2WSDL=Set preferences for java2wsdl.
-BUTTON_ALL_WANTED=&Generate code for all elements, even unreferenced ones.
-BUTTON_HELPER_WANTED=Emits separate &Helper classes for meta data.
-BUTTON_WRAP_ARRAYS=Prefers building beans to straight arrays for &wrapped XML array types.
-BUTTON_USE_INHERITED_METHODS=Look for allowed &methods in inherited class
-BUTTON_VALIDATE_AGAINST_JAXRPC=Analyze the service class for compliance to JAX-RPC before generating code
-LABEL_DEPLOY_SCOPE=Add &scope to deploy.wsdd:
-LABEL_TIME_OUT=&Timeout in seconds:
-GROUP_WSDL2JAVA_NAME=Wsdl2Java
-GROUP_JAVA2WSDL_NAME=Java2Wsdl
-DEPLOY_SCOPE_APPLICATION=Application
-DEPLOY_SCOPE_REQUEST=Request
-DEPLOY_SCOPE_SESSION=Session
-MSG_ERROR_INVALID_TIME_OUT=Invalid timeout! Timeout should be positive integer or -1 to disable.
-MSG_USE_JVM_ARGUMENT_FOR_TIME_OUT=You are using the value of timeout from JVM arguments AxisWsdl2JavaTimeout which specifies timeout in milliseconds.
-
-
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUIMessages.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUIMessages.java
deleted file mode 100644
index 6f4038ef6..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/AxisConsumptionUIMessages.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * yyyymmdd bug Email and other contact information
- * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai
- * 20060424 120137 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class AxisConsumptionUIMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUI";//$NON-NLS-1$
-
- private AxisConsumptionUIMessages() {
- // Do not instantiate
- }
-
- public static String MSG_ERROR_DEFAULT_BEAN;
- public static String MSG_ERROR_WSDL_NO_DEFINITION;
- public static String MSG_ERROR_WSDL_NO_PORT;
- public static String MSG_ERROR_WRITE_WSDL;
- public static String MSG_ERROR_IMPORT_WSDL;
- public static String MSG_ERROR_WSDL_LOCATION_NOT_SET;
- public static String MSG_WARN_NO_JAVA_NATURE;
- public static String MSG_ERROR_BAD_BUILDPATH;
- public static String PROGRESS_INFO_COPY_AXIS_CFG;
- public static String MSG_ERROR_FILECOPY;
- public static String MSG_ERROR_REFRESH_PROJECT;
- public static String TOOLTIP_PWJB_PAGE;
- public static String TOOLTIP_PWJB_TEXT_FOLDER;
- public static String TOOLTIP_PWJB_CHECKBOX_GENPROXY;
- public static String PAGE_TITLE_WS_AXIS_PROXY;
- public static String PAGE_DESC_WS_AXIS_PROXY;
- public static String CHECKBOX_GENPROXY;
- public static String LABEL_FOLDER_NAME;
- public static String PAGE_TITLE_WS_BEAN2XML;
- public static String PAGE_TITLE_WS_XML2PROXY;
- public static String PAGE_DESC_P2N_MAPPINGS;
- public static String LABEL_MAPPING_PAIRS;
- public static String TABLE_COLUMN_LABEL_PACKAGE;
- public static String TABLE_COLUMN_LABEL_NAMESPACE;
- public static String LABEL_EXPLORE_MAPPINGS_XML2BEAN;
- public static String TOOLTIP_N2P_SHOW_MAPPINGS;
- public static String TOOLTIP_PPAE_PAGE;
- public static String TOOLTIP_PPAE_CHECKBOX_ALL_WANTED;
- public static String TOOLTIP_PPAE_CHECKBOX_HELPER_WANTED;
- public static String TOOLTIP_PPAE_CHECKBOX_WRAP_ARRAYS;
- public static String TOOLTIP_PPAE_CHECKBOX_USE_INHERITED_METHODS;
- public static String TOOLTIP_PPAE_CHECKBOX_VALIDATE_AGAINST_JAXRPC;
- public static String TOOLTIP_PPAE_COMBO_DEPLOY_SCOPE;
- public static String TOOLTIP_PPAE_FIELD_TIME_OUT;
- public static String TOOLTIP_PPAE_GROUP_WSDL2JAVA;
- public static String TOOLTIP_PPAE_GROUP_JAVA2WSDL;
- public static String BUTTON_ALL_WANTED;
- public static String BUTTON_HELPER_WANTED;
- public static String BUTTON_WRAP_ARRAYS;
- public static String BUTTON_USE_INHERITED_METHODS;
- public static String BUTTON_VALIDATE_AGAINST_JAXRPC;
- public static String LABEL_DEPLOY_SCOPE;
- public static String LABEL_TIME_OUT;
- public static String GROUP_WSDL2JAVA_NAME;
- public static String GROUP_JAVA2WSDL_NAME;
- public static String DEPLOY_SCOPE_APPLICATION;
- public static String DEPLOY_SCOPE_REQUEST;
- public static String DEPLOY_SCOPE_SESSION;
- public static String MSG_ERROR_INVALID_TIME_OUT;
- public static String MSG_USE_JVM_ARGUMENT_FOR_TIME_OUT;
- static {
- NLS.initializeMessages(BUNDLE_NAME, AxisConsumptionUIMessages.class);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientDefaultingCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientDefaultingCommand.java
deleted file mode 100644
index 959002a71..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientDefaultingCommand.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.command;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParameter;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-/**
- *
- * AxisClientDefaultingCommand
- *
- */
-public class AxisClientDefaultingCommand extends AbstractDataModelOperation
-{
- private boolean isClientScenario_ = true;
- private boolean customizeMappings_ = false;
- private boolean generateProxy_ = true;
- private String clientRuntimeId_;
- private JavaWSDLParameter javaWSDLParam_;
- private IProject proxyProject_ = null;
- private IProject clientProjectEAR_ = null;
- private String wsdlURL_;
- private boolean testProxySelected_;
- private IServer clientExistingServer_;
- private String clientServer_;
- private boolean clientIsExistingServer_;
- private String proxyProjectFolder_;
- private WebServicesParser webServicesParser_;
- public AxisClientDefaultingCommand( )
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- clientExistingServer_ = getServerFromServerLabel();
-// if (clientExistingServer_ != null) {
-// //TODO The following line should no longer be necessary.
-// clientExistingServer_.getServerType().getId();
-// } else {
-// //TODO get the factory id for the type.
-// }
- //javaWSDLParam
- javaWSDLParam_ = new JavaWSDLParameter();
-
- // proxyProjectFolber_
-
- webServicesParser_ = WSDLParserFactory.getWSDLParser();
- return status;
- }
-
- public void setClientRuntimeID(String clientRuntimeId) {
- clientRuntimeId_ = clientRuntimeId;
- }
-
- public String getClientRuntimeID() {
- return this.clientRuntimeId_;
- }
-
- /**
- * @return Returns the javaWSDLParam.
- */
- public JavaWSDLParameter getJavaWSDLParam() {
- return javaWSDLParam_;
- }
-
- /**
- * @return Returns the clientProject.
- */
- public IProject getClientProject() {
- return proxyProject_;
- }
-
- /**
- * @param clientProject
- * The clientProject to set.
- */
- public void setClientProject(IProject clientProject) {
- this.proxyProject_ = clientProject;
- }
-
- /**
- * @return Returns the clientProjectEAR.
- */
- public IProject getClientProjectEAR() {
- return clientProjectEAR_;
- }
-
- /**
- * @param clientProjectEAR
- * The clientProjectEAR to set.
- */
- public void setClientProjectEAR(IProject clientProjectEAR) {
- this.clientProjectEAR_ = clientProjectEAR;
- }
-
- /**
- * @return Returns the testProxySelected.
- */
- public boolean getTestProxySelected() {
- return testProxySelected_;
- }
-
- /**
- * @param testProxySelected
- * The testProxySelected to set.
- */
- public void setTestProxySelected(boolean testProxySelected) {
- this.testProxySelected_ = testProxySelected;
- }
-
- /**
- * @return Returns the wsdlURL.
- */
- public String getWsdlURL() {
- return wsdlURL_;
- }
-
- /**
- * @param wsdlURL
- * The wsdlURL to set.
- */
- public void setWsdlURL(String wsdlURL) {
- this.wsdlURL_ = wsdlURL;
- }
-
- /**
- * @return Returns the clientServer.
- */
- public IServer getClientExistingServer() {
- return clientExistingServer_;
- }
-
- /**
- * @param clientServer
- * The clientServer to set.
- */
- public void setClientServer(String clientServer) {
- this.clientServer_ = clientServer;
- }
-
- /**
- * @return Returns the clientIsExistingServer.
- */
- public boolean isClientIsExistingServer() {
- return clientIsExistingServer_;
- }
-
- /**
- * @param clientIsExistingServer
- * The clientIsExistingServer to set.
- */
- public void setClientIsExistingServer(boolean clientIsExistingServer) {
- this.clientIsExistingServer_ = clientIsExistingServer;
- }
-
- public boolean getCustomizeClientMappings() {
- return customizeMappings_;
- }
-
- public void setCustomizeClientMappings(boolean value) {
- customizeMappings_ = value;
- }
-
- private IServer getServerFromServerLabel() {
- if (true)
- // rsk revisit if (clientIsExistingServer_)
- {
- // Maybe this should be in WebServiceServerRuntimeTypeRegistry
- {
- IServer[] servers = ServerCore.getServers();
- if (servers != null && servers.length!=0) {
- for (int i = 0; i < servers.length; i++) {
- IServer server = (IServer) servers[i];
- if ((server.getName()).equals(clientServer_))
- return server;
- }
- }
- }
- //
- } else {
- //TODO create the server
- }
- return null;
- }
- /**
- * @return Returns the proxyProjectFolder.
- */
- public String getProxyProjectFolder() {
- if (proxyProject_!=null) {
- proxyProjectFolder_ = ResourceUtils.getJavaSourceLocation(proxyProject_ ).toString();
- }
- return proxyProjectFolder_;
- }
-
- /**
- * @return Returns the webServicesParser.
- */
- public WebServicesParser getWebServicesParser() {
- return webServicesParser_;
- }
- /**
- * @param webServicesParser The webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser) {
- this.webServicesParser_ = webServicesParser;
- }
- /**
- * @return Returns the generateProxy.
- */
- public boolean getGenerateProxy() {
- return generateProxy_;
- }
- /**
- * @param generateProxy The generateProxy to set.
- */
- public void setGenerateProxy(boolean generateProxy) {
- this.generateProxy_ = generateProxy;
- }
-
- /**
- * @return Returns the isClientScenario_.
- */
- public boolean getIsClientScenario()
- {
- return isClientScenario_;
- }
-
- /**
- * @param isClientScenario_ The isClientScenario_ to set.
- */
- public void setIsClientScenario(boolean isClientScenario)
- {
- isClientScenario_ = isClientScenario;
- }
-
- /**
- * @param setEndpointMethod The setEndpointMethod to set.
- */
- public String getSetEndpointMethod()
- {
- return "setEndpoint";
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientInputCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientInputCommand.java
deleted file mode 100644
index 7c9edf127..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientInputCommand.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.command;
-
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-
-public class AxisClientInputCommand extends AbstractDataModelOperation {
-
- private IWebServiceClient wsc_;
-
- private String clientProject_ = null;
- private String wsdlURL_;
- private String clientServer_;
- private WebServicesParser webServicesParser_;
-
- /**
- * Default CTOR
- */
- public AxisClientInputCommand() {
- }
-
- public AxisClientInputCommand(IWebServiceClient wsc, IContext context, String project) {
- wsc_ = wsc;
- clientProject_ = project;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- wsdlURL_ = wsc_.getWebServiceClientInfo().getWsdlURL();
- clientServer_ = wsc_.getWebServiceClientInfo().getServerInstanceId();
-
- return Status.OK_STATUS;
- }
-
- public String getClientServer() {
- return clientServer_;
- }
-
- public String getClientProject() {
- return clientProject_;
- }
-
- public WebServicesParser getWebServicesParser() {
- return webServicesParser_;
- }
-
- public String getWsdlURL() {
- return wsdlURL_;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientOutputCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientOutputCommand.java
deleted file mode 100644
index 9f729fce0..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/AxisClientOutputCommand.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.command;
-
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-
-public class AxisClientOutputCommand extends AbstractDataModelOperation {
-
- private IWebServiceClient wsc_;
- private String proxyBean_;
- private String proxyEndpoint_;
-
- /**
- * Default CTOR
- */
- public AxisClientOutputCommand() {
- }
-
- public AxisClientOutputCommand(IWebServiceClient wsc, IContext context) {
- wsc_ = wsc;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- wsc_.getWebServiceClientInfo().setImplURL(proxyBean_);
- wsc_.getWebServiceClientInfo().setProxyEndpoint(proxyEndpoint_);
- return Status.OK_STATUS;
- }
-
- public void setProxyBean(String proxyBean) {
- this.proxyBean_ = proxyBean;
- }
-
- public void setProxyEndpoint(String proxyEndpoint) {
- this.proxyEndpoint_ = proxyEndpoint;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/CopyClientWSDLCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/CopyClientWSDLCommand.java
deleted file mode 100644
index df0689420..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/CopyClientWSDLCommand.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.command;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Set;
-import java.util.Vector;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Import;
-import javax.wsdl.xml.WSDLWriter;
-
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-/**
- *
- */
-public class CopyClientWSDLCommand extends AbstractDataModelOperation
-{
-
- private String wsdlURL_;
- private String clientWSDLPathName_;
- private WebServicesParser wsParser_;
-
- public CopyClientWSDLCommand()
- {
-
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
- Definition def = wsParser_.getWSDLDefinition(wsdlURL_);
- if(def==null)
- {
- status = StatusUtils.errorStatus( NLS.bind(AxisConsumptionUIMessages.MSG_ERROR_WSDL_NO_DEFINITION, new String[]{wsdlURL_}));
- env.getStatusHandler().reportError(status);
- return status;
- }
- IPath clientWSDLPath = new Path(clientWSDLPathName_);
- IWorkspaceRoot workspaceRoot = FileResourceUtils.getWorkspaceRoot();
- status = resolveWSDL(workspaceRoot, def, clientWSDLPath, env, monitor);
- return status;
- }
-
- private IStatus resolveWSDL(
- IWorkspaceRoot workspace,
- Definition wsdlDef,
- IPath wsdlPath,
- IEnvironment env,
- IProgressMonitor monitor) {
- try {
- writeWSDLFile(workspace, wsdlDef, wsdlPath, env, monitor);
- Map importDefs = wsdlDef.getImports();
- Set keysSet = importDefs.keySet();
- for (Iterator e = keysSet.iterator(); e.hasNext();) {
- Object keyName = e.next();
- Vector vector = (Vector) importDefs.get(keyName);
- for (int i = 0; i < vector.size(); i++) {
- Import importDef = (Import) vector.get(i);
- Definition def = importDef.getDefinition();
- String newPathString =
- wsdlPath.toString().substring(
- 0,
- wsdlPath.toString().lastIndexOf("/") + 1); //$NON-NLS-1$
- if (isInvalidImportWSDL(importDef.getLocationURI())) {
- return StatusUtils.errorStatus( NLS.bind(AxisConsumptionUIMessages.MSG_ERROR_IMPORT_WSDL,new String[]{importDef.getLocationURI()}));
- }
- IPath newPath =
- new Path(newPathString + importDef.getLocationURI());
- IStatus status = resolveWSDL(workspace, def, newPath, env, monitor);
- if (status != null
- && status.getSeverity() == Status.ERROR) {
- return status;
- }
- }
- }
- } catch (Exception e) {
- return StatusUtils.errorStatus( NLS.bind(AxisConsumptionUIMessages.MSG_ERROR_WRITE_WSDL,new String[] { wsdlPath.toString() }), e);
- }
- return Status.OK_STATUS;
- }
-
- private boolean isInvalidImportWSDL(String wsdlPath) {
-
- // relative url
- if (!wsdlPath.toLowerCase().startsWith("http://")) { //$NON-NLS-1$
-
- if (wsdlPath.indexOf("/") != -1) { //$NON-NLS-1$
- if (!wsdlPath.startsWith("./")) { //$NON-NLS-1$
- return true;
- }
- }
-
- }
- return false;
- }
-
- private void writeWSDLFile(
- IWorkspaceRoot workspace,
- Definition wsdlDef,
- IPath wsdlPath,
- IEnvironment env,
- IProgressMonitor monitor)
- throws Exception {
-
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- //WSDLFactory wsdlFactory = WSDLFactory.newInstance();
- //WSDLWriter wsdlWriter = wsdlFactory.newWSDLWriter();
- WSDLWriter wsdlWriter = (new org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl()).newWSDLWriter();
- wsdlWriter.writeWSDL(wsdlDef, baos);
- byte[] b = baos.toByteArray();
- ByteArrayInputStream bais = new ByteArrayInputStream(b);
-
- ResourceContext context =
- WebServicePlugin.getInstance().getResourceContext();
- FileResourceUtils.createFile(
- context,
- wsdlPath.makeAbsolute(),
- bais,
- monitor,
- env.getStatusHandler());
-
- baos.close();
- bais.close();
-
- }
-
- /**
- * @param clientWSDLPathName_ The clientWSDLPathName_ to set.
- */
- public void setClientWSDLPathName(String clientWSDLPathName)
- {
- this.clientWSDLPathName_ = clientWSDLPathName;
- }
- /**
- * @param wsdlURL_ The wsdlURL_ to set.
- */
- public void setWsdlURL(String wsdlURL)
- {
- this.wsdlURL_ = wsdlURL;
- }
- /**
- * @param wsParser_ The wsParser_ to set.
- */
- public void setWsParser(WebServicesParser wsParser)
- {
- this.wsParser_ = wsParser;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/DefaultsForClientJavaWSDLCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/DefaultsForClientJavaWSDLCommand.java
deleted file mode 100644
index b1c5ec02b..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/command/DefaultsForClientJavaWSDLCommand.java
+++ /dev/null
@@ -1,183 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 115144 pmoogk@ca.ibm.com - Peter Moogk
- * 20060503 126819 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.command;
-
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-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.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.util.PlatformUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.ModuleCoreNature;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-public class DefaultsForClientJavaWSDLCommand extends AbstractDataModelOperation
-{
- private JavaWSDLParameter javaWSDLParam_;
- private IProject proxyProject_;
- private String WSDLServiceURL_;
- private String WSDLServicePathname_;
- private String outputFolder_;
-
- public DefaultsForClientJavaWSDLCommand()
- {
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable adaptable)
- {
- IEnvironment environment = getEnvironment();
- IStatus status;
-
- if( outputFolder_ == null )
- {
- IPath[] paths = ResourceUtils.getAllJavaSourceLocations(proxyProject_);
- outputFolder_ = paths[0].toString();
- }
-
- if (javaWSDLParam_ == null)
- {
- status = StatusUtils
- .errorStatus(AxisConsumptionCoreMessages.MSG_ERROR_JAVA_WSDL_PARAM_NOT_SET);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- javaWSDLParam_.setMetaInfOnly(false);
- javaWSDLParam_.setServerSide(JavaWSDLParameter.SERVER_SIDE_NONE);
- ModuleCoreNature mn = ModuleCoreNature.getModuleCoreNature(proxyProject_);
- if (mn != null)
- {
- IPath webModuleServerRoot = ResourceUtils.getJavaSourceLocation(proxyProject_);
- // String output = PlatformUtils.getPlatformURL(webModuleServerRoot);
- String output = ResourceUtils.findResource(webModuleServerRoot).getLocation().toString();
- // String output =
- // ResourceUtils.getWorkspaceRoot().getFolder(webModuleServerRoot).getLocation().toString();
- IPath javaOutput = ResourceUtils.findResource( new Path( outputFolder_ )).getLocation();
- javaWSDLParam_.setJavaOutput(javaOutput.toString());
-
- IFolder webModuleContainer = ResourceUtils.getWebComponentServerRoot(proxyProject_);
- if (webModuleContainer != null)
- {
- IPath webModulePath = webModuleContainer.getFullPath();
- // output = PlatformUtils.getPlatformURL(webModulePath);
- IResource res = ResourceUtils.findResource(webModulePath);
- if (res != null)
- {
- output = res.getLocation().toString();
- }
- javaWSDLParam_.setOutput(output);
- }
- }
- else
- {
- // Check if it's a plain old Java project
- if (ResourceUtils.isJavaProject(proxyProject_))
- {
- IPath output = ResourceUtils.findResource( new Path( outputFolder_ )).getLocation();
- javaWSDLParam_.setJavaOutput(output.toString());
- javaWSDLParam_.setOutput(output.toString());
- }
- else
- {
- // Not familiar with this kind of project
- status = StatusUtils.errorStatus(AxisConsumptionUIMessages.MSG_WARN_NO_JAVA_NATURE);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- }
- if (WSDLServicePathname_ == null)
- {
- if (WSDLServiceURL_ == null)
- {
- status = StatusUtils.errorStatus(AxisConsumptionUIMessages.MSG_ERROR_WSDL_LOCATION_NOT_SET);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- }
- else
- {
- WSDLServiceURL_ = PlatformUtils.getFileFromPlatform(WSDLServicePathname_);
- }
- javaWSDLParam_.setInputWsdlLocation(WSDLServiceURL_);
- return Status.OK_STATUS;
- }
-
- /**
- * Returns the javaWSDLParam.
- *
- * @return JavaWSDLParameter
- */
- public JavaWSDLParameter getJavaWSDLParam()
- {
- return javaWSDLParam_;
- }
-
- /**
- * Sets the javaWSDLParam.
- *
- * @param javaWSDLParam
- * The javaWSDLParam to set
- */
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParam)
- {
- this.javaWSDLParam_ = javaWSDLParam;
- }
-
- /**
- * @param proxyProject_
- * The proxyProject_ to set.
- */
- public void setProxyProject(IProject proxyProject)
- {
- this.proxyProject_ = proxyProject;
- }
-
- /**
- * @param serviceURL_
- * The wSDLServiceURL_ to set.
- */
- public void setWSDLServiceURL(String serviceURL)
- {
- WSDLServiceURL_ = serviceURL;
- }
-
- /**
- * @param servicePathname_
- * The wSDLServicePathname_ to set.
- */
- public void setWSDLServicePathname(String servicePathname)
- {
- WSDLServicePathname_ = servicePathname;
- }
-
- public String getOutputFolder()
- {
- return outputFolder_;
- }
-
- public void setOutputFolder(String outputFolder)
- {
- outputFolder_ = outputFolder;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/plugin/WebServiceAxisConsumptionUIPlugin.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/plugin/WebServiceAxisConsumptionUIPlugin.java
deleted file mode 100644
index d7eb402eb..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/plugin/WebServiceAxisConsumptionUIPlugin.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.ui.plugin;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-import org.osgi.framework.BundleContext;
-
-
-/**
-* This is the plugin class for the Web Services plugin.
-* <p>
-* This plugin contains the graphic user interface to the
-* Web Services runtime found in org.eclipse.jst.ws.
-*/
-public class WebServiceAxisConsumptionUIPlugin extends Plugin
-{
-
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID =
- "org.eclipse.jst.ws.axis.consumption.ui";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WebServiceAxisConsumptionUIPlugin instance_;
- private ILog log_;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- * The "plugin" element in plugin.xml should include the attribute
- * class = "org.eclipse.jst.ws.internal.ui.plugin.WebServicePlugin".
- * @param descriptor The descriptor of this plugin.
- */
- public WebServiceAxisConsumptionUIPlugin() {
- super();
- if (instance_ == null) {
- instance_ = this;
- }
- log_ = EnvironmentService.getEclipseLog();
-
- }
-
- // This method is needed to keep the logging from blowing up.
- public String toString()
- {
- return ID;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WebServiceWasConsumptionPlugin)Platform.getPlugin("org.eclipse.jst.ws.was.v5.tp");
- * @return The WebServiceWasConsumptionPlugin singleton.
- */
- static public WebServiceAxisConsumptionUIPlugin getInstance() {
- return instance_;
- }
-
- /**
- * Called once by the platform when this plugin is first loaded.
- * @throws CoreException If this plugin fails to start.
- */
- public void start( BundleContext bundle ) throws CoreException {
- log_.log(ILog.INFO, 5066, this, "start", "Starting plugin org.eclipse.jst.ws.axis.consumption.ui");
-
- try
- {
- super.start( bundle );
- }
- catch( Exception exc )
- {
- log_.log( ILog.ERROR, 5066, this, "start", exc );
- }
- }
-
- /**
- * Called once by the platform when this plugin is unloaded.
- * @throws CoreException If this plugin fails to shutdown.
- */
- public void stop( BundleContext context ) throws CoreException {
- log_.log(ILog.INFO, 5067, this, "shutdown", "Shutting plugin org.eclipse.jst.ws.axis.consumption.ui");
-
- try
- {
- super.stop( context );
- }
- catch( Exception exc )
- {
- log_.log( ILog.ERROR, 5066, this, "stop", exc );
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/preferences/AxisEmitterPreferencePage.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/preferences/AxisEmitterPreferencePage.java
deleted file mode 100644
index 12c4e1727..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/preferences/AxisEmitterPreferencePage.java
+++ /dev/null
@@ -1,329 +0,0 @@
-/*******************************************************************************
- * 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.ui.preferences;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.dialogs.DialogPage;
-import org.eclipse.jface.dialogs.IMessageProvider;
-import org.eclipse.jface.preference.PreferencePage;
-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.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.plugin.WebServiceAxisConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-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.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-
-
-
-public class AxisEmitterPreferencePage extends PreferencePage implements IWorkbenchPreferencePage
-{
- /*CONTEXT_ID PPAE0001 for the Axis Emitter Preference Page*/
- private String INFOPOP_PPAE_PAGE = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0001";
- //
- private Button allWanted;
- /*CONTEXT_ID PPAE0002 for the all wanted check box on the Axis Emitter Preference Page*/
- private String INFOPOP_PPAE_CHECKBOX_ALL_WANTED = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0002";
- //
- private Button helperWanted;
- /*CONTEXT_ID PPAE0003 for helper wanted check box on the Axis Emitter Preference Page*/
- private String INFOPOP_PPAE_CHECKBOX_HELPER_WANTED = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0003";
- //
- private Button wrapArrays;
- /*CONTEXT_ID PPAE0004 for the wrap arrays check box on the Axis Emitter Preference Page*/
- private String INFOPOP_PPAE_CHECKBOX_WRAP_ARRAYS = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0004";
-
- private Combo deployScopeTypes;
- //*CONTEXT_ID PPAE0005 for the deploy scope type combo box on the Axis Emitter page*/
- private String INFOPOP_PPAE_COMBO_DEPLOY_SCOPE = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0005";
-
- private Text timeOutField;
- int timeOut;
- String wsdl2JavaTimeoutProperty = System.getProperty("AxisWsdl2JavaTimeout");
-
- private Label timeOutPropertyLabel;
- /*CONTEXT_ID PPAE0006 for the time out field on the Axis Emitter Preference page*/
- private String INFOPOP_PPAE_FIELD_TIME_OUT = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0006";
-
- private Button useInheritedMethods;
- /*CONTEXT_ID PPAE0007 for the use inherited methods check box on the Axis Emitter Preference page*/
- private String INFOPOP_PPAE_CHECKBOX_USE_INHERITED_METHODS = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0007";
-
- private Button validateAgainstJAXRPC;
- /*CONTEXT_ID PPAE0010 for the "validate against JAXRPC..." check box on the Axis Emitter Preference page*/
- private String INFOPOP_PPAE_CHECKBOX_VALIDATE_AGAINST_JAXRPC = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0010";
-
- /*CONTEXT_ID PPAE0008 for the wsdl2java group on the Axis Emitter Preference page*/
- private String INFOPOP_PPAE_GROUP_WSDL2JAVA = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0008";
- /*CONTEXT_ID PPAE0009 for the java2wsdl group on the Axis Emitter Preference page*/
- private String INFOPOP_PPAE_GROUP_JAVA2WSDL = WebServiceAxisConsumptionUIPlugin.ID + ".PPAE0009";
-
-
- /**
- * Creates preference page controls on demand.
- * @param parent the parent for the preference page
- */
- protected Control createContents(Composite superparent)
- {
- UIUtils utils = new UIUtils( WebServiceAxisConsumptionUIPlugin.ID );
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
-
- Composite parent = new Composite( superparent, SWT.NONE );
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- parent.setLayout( layout );
- parent.setToolTipText(AxisConsumptionUIMessages.TOOLTIP_PPAE_PAGE);
- helpSystem.setHelp(parent, INFOPOP_PPAE_PAGE);
- Group wsdl2JavaGroup = utils.createGroup(parent, AxisConsumptionUIMessages.GROUP_WSDL2JAVA_NAME, AxisConsumptionUIMessages.TOOLTIP_PPAE_GROUP_WSDL2JAVA, INFOPOP_PPAE_GROUP_WSDL2JAVA, 2, 10,10);
- allWanted = createCheckBox(wsdl2JavaGroup, AxisConsumptionUIMessages.BUTTON_ALL_WANTED,AxisConsumptionUIMessages.TOOLTIP_PPAE_CHECKBOX_ALL_WANTED,INFOPOP_PPAE_CHECKBOX_ALL_WANTED);
-
- helperWanted = createCheckBox(wsdl2JavaGroup, AxisConsumptionUIMessages.BUTTON_HELPER_WANTED,AxisConsumptionUIMessages.TOOLTIP_PPAE_CHECKBOX_HELPER_WANTED,INFOPOP_PPAE_CHECKBOX_HELPER_WANTED);
-
- wrapArrays = createCheckBox(wsdl2JavaGroup, AxisConsumptionUIMessages.BUTTON_WRAP_ARRAYS,AxisConsumptionUIMessages.TOOLTIP_PPAE_CHECKBOX_WRAP_ARRAYS,INFOPOP_PPAE_CHECKBOX_WRAP_ARRAYS);
-
- deployScopeTypes = utils.createCombo(wsdl2JavaGroup, AxisConsumptionUIMessages.LABEL_DEPLOY_SCOPE, AxisConsumptionUIMessages.TOOLTIP_PPAE_COMBO_DEPLOY_SCOPE, INFOPOP_PPAE_COMBO_DEPLOY_SCOPE, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
- /*
- * Ensure the order is the same as it in the fields for class
- * org.eclipse.jst.ws.internal.axis.consumption.core.context.AxisEmitterContext
- */
- deployScopeTypes.setItems(new String []{AxisConsumptionUIMessages.DEPLOY_SCOPE_APPLICATION, AxisConsumptionUIMessages.DEPLOY_SCOPE_REQUEST,AxisConsumptionUIMessages.DEPLOY_SCOPE_SESSION});
-
- timeOutField = createTextField(wsdl2JavaGroup,AxisConsumptionUIMessages.LABEL_TIME_OUT,AxisConsumptionUIMessages.TOOLTIP_PPAE_FIELD_TIME_OUT,INFOPOP_PPAE_FIELD_TIME_OUT);
- timeOutPropertyLabel = new Label(wsdl2JavaGroup, SWT.NONE);
-
- Group java2WsdlGroup = utils.createGroup(parent, AxisConsumptionUIMessages.GROUP_JAVA2WSDL_NAME, AxisConsumptionUIMessages.TOOLTIP_PPAE_GROUP_JAVA2WSDL, INFOPOP_PPAE_GROUP_JAVA2WSDL, 2, 10,10);
- useInheritedMethods = createCheckBox(java2WsdlGroup, AxisConsumptionUIMessages.BUTTON_USE_INHERITED_METHODS,AxisConsumptionUIMessages.TOOLTIP_PPAE_CHECKBOX_USE_INHERITED_METHODS,INFOPOP_PPAE_CHECKBOX_USE_INHERITED_METHODS);
- validateAgainstJAXRPC = createCheckBox(java2WsdlGroup, AxisConsumptionUIMessages.BUTTON_VALIDATE_AGAINST_JAXRPC,AxisConsumptionUIMessages.TOOLTIP_PPAE_CHECKBOX_VALIDATE_AGAINST_JAXRPC,INFOPOP_PPAE_CHECKBOX_VALIDATE_AGAINST_JAXRPC);
-
- initializeValues();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
-
- return parent;
- }
-
- /**
- * Creates checkbox with horizontalSpan = 2 in its grid data in order to
- * match the grid layout for combo
- */
- private Button createCheckBox( Composite parent, String labelName, String tooltip, String infopop )
- {
- Button button = new Button( parent, SWT.CHECK );
- button.setText(labelName);
- button.setToolTipText( tooltip );
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( button, WebServiceAxisConsumptionUIPlugin.ID + "." + infopop );
- GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
- gd.horizontalSpan= 2;
- button.setLayoutData(gd);
- return button;
- }
-
- private Text createTextField(Composite parent,String labelName, String tooltip, String infopop)
- { tooltip = tooltip == null ? labelName : tooltip;
- if( labelName != null )
- {
- Label label = new Label( parent, SWT.WRAP);
- label.setText( labelName );
- label.setToolTipText( tooltip );
- }
- Text text = new Text(parent, SWT.SINGLE | SWT.BORDER);
- GridData data = new GridData();
- data.verticalAlignment = GridData.FILL;
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- text.setLayoutData(data);
- text.setToolTipText(tooltip);
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( text, WebServiceAxisConsumptionUIPlugin.ID + "." + infopop );
-
- text.addModifyListener( new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- numberFieldChanged((Text) e.widget);
- }
- }
- );
- return text;
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- initializeDefaults();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- if(validateNumber(timeOutField.getText()).isOK())
- storeValues();
- return true;
- }
-
- protected void performApply()
- {
- performOk();
- }
-
- /**
- * @see IWorkbenchPreferencePage
- */
- public void init(IWorkbench workbench) { }
-
- /**
- * Initializes states of the controls using default values
- * in the preference store.
- */
- private void initializeDefaults()
- {
- allWanted.setSelection( AxisEmitterDefaults.getAllWantedDefault());
- helperWanted.setSelection( AxisEmitterDefaults.getHelperWantedDefault());
- wrapArrays.setSelection( AxisEmitterDefaults.getWrapArraysDefault());
- deployScopeTypes.select(AxisEmitterDefaults.getDeployScopeDefault());
- if (wsdl2JavaTimeoutProperty != null) timeOutField.setText(""+ getTimeOutValueWithProperty());
- else timeOutField.setText("" + AxisEmitterDefaults.getTimeOutDefault());
- useInheritedMethods.setSelection(AxisEmitterDefaults.getUseInheritedMethodsDefault());
- validateAgainstJAXRPC.setSelection(AxisEmitterDefaults.getValidateAgainstJAXRPC());
- }
-
- /**
- * Initializes states of the controls from the preference store.
- */
- private void initializeValues()
- {
- // get the persistent context from the plugin
- AxisEmitterContext context = WebServiceAxisConsumptionCorePlugin.getInstance().getAxisEmitterContext();
- allWanted.setSelection( context.isAllWantedEnabled());
- helperWanted.setSelection( context.isHelperWantedEnabled());
- wrapArrays.setSelection( context.isWrapArraysEnabled());
- deployScopeTypes.select(context.getDeployScopeType());
- useInheritedMethods.setSelection( context.isUseInheritedMethodsEnabled());
- validateAgainstJAXRPC.setSelection( context.isValidateAgainstJAXRPCEnabled() );
- if (wsdl2JavaTimeoutProperty != null)
- { timeOut=getTimeOutValueWithProperty();
- timeOutField.setEnabled(false);
- timeOutPropertyLabel.setText(AxisConsumptionUIMessages.MSG_USE_JVM_ARGUMENT_FOR_TIME_OUT);
- }
- else
- {
- timeOut = context.getTimeOut();
- }
- timeOutField.setText(""+ timeOut);
- }
-
- /**
- * Stores the values of the controls back to the preference store.
- */
- private void storeValues()
- {
- // get the persistent context from the plugin
- AxisEmitterContext context = WebServiceAxisConsumptionCorePlugin.getInstance().getAxisEmitterContext();
- context.setAllWantedEnabled( allWanted.getSelection() );
- context.setHelperWantedEnabled( helperWanted.getSelection() );
- context.setWrapArraysEnabled( wrapArrays.getSelection() );
- context.selectDeployScopeType(deployScopeTypes.getSelectionIndex());
- timeOut = Integer.parseInt(timeOutField.getText().trim());
- context.setTimeOut(timeOut);
- context.setUseInheritedMethodsEnabled( useInheritedMethods.getSelection() );
- context.setValidateAgainstJAXRPCEnabled( validateAgainstJAXRPC.getSelection() );
- }
-
- private void numberFieldChanged(Text textControl) {
- IStatus status = validateNumber(textControl.getText());
- setValid(!status.matches(IStatus.ERROR));
- applyToStatusLine(this,status);
- }
-
- private int getTimeOutValueWithProperty()
- {
- if (wsdl2JavaTimeoutProperty != null)
- { long timeOutProperty = new Integer(wsdl2JavaTimeoutProperty).longValue();
- if (timeOutProperty < 0) return -1; // timeout = -1 equals never time out; treating all negative number as -1
- else return (int)Math.ceil(timeOutProperty/1000.0);
- }
- else return AxisEmitterDefaults.getTimeOutDefault();
- }
-
- private IStatus validateNumber(String numberString)
- {
- IStatus status;
- try
- {
- int number = Integer.parseInt(numberString);
- if (number <= 0 && number != -1)
- {
- status = new Status(IStatus.ERROR, WebServiceAxisConsumptionUIPlugin.ID, IStatus.ERROR,
- AxisConsumptionUIMessages.MSG_ERROR_INVALID_TIME_OUT, null);
- }
- else
- { timeOut = number;
- status = Status.OK_STATUS;
- //we set param:message="" here, Later in
- //applyToStatusLine(), we do page.setMessage(null,type)
- status = new Status(IStatus.OK, WebServiceAxisConsumptionUIPlugin.ID, IStatus.OK, "",null);
- }
- }
- catch
- (NumberFormatException e)
- {
- status = new Status(IStatus.ERROR, WebServiceAxisConsumptionUIPlugin.ID, IStatus.ERROR,
- AxisConsumptionUIMessages.MSG_ERROR_INVALID_TIME_OUT, null);
- }
- return status;
- }
-
- private void applyToStatusLine(DialogPage page, IStatus status) {
- String message= status.getMessage();
- switch (status.getSeverity()) {
- case IStatus.OK:
- page.setMessage(null, IMessageProvider.NONE);
- page.setErrorMessage(null);
- break;
- case IStatus.WARNING:
- page.setMessage(message, IMessageProvider.WARNING);
- page.setErrorMessage(null);
- break;
- case IStatus.INFO:
- page.setMessage(message, IMessageProvider.INFORMATION);
- page.setErrorMessage(null);
- break;
- default:
- if (message.length() == 0) {
- message= null;
- }
- page.setMessage(null);
- page.setErrorMessage(message);
- break;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ClientCodeGenOperation.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ClientCodeGenOperation.java
deleted file mode 100644
index 33ecbe2a8..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ClientCodeGenOperation.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060509 125094 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060515 115225 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.task;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.axis.consumption.core.command.WSDL2JavaCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParameter;
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-public class ClientCodeGenOperation extends AbstractDataModelOperation {
-
- private CopyAxisJarCommand copyAxisJarCommand = null;
-
- private WSDL2JavaCommand wsdl2JavaCommand = null;
- private JavaWSDLParameter javaWSDLParam;
- private String wsdlURI;
-
- private IProject project;
-
- private Stub2BeanCommand stub2BeanCommand = null;
- private WebServicesParser webServicesParser;
- private String outputFolder;
- private String proxyBean;
- private String proxyEndpoint;
-
- private RefreshProjectCommand refreshProjectCommand = null;
-
- public ClientCodeGenOperation(){
- copyAxisJarCommand = new CopyAxisJarCommand();
- wsdl2JavaCommand = new WSDL2JavaCommand();
- stub2BeanCommand = new Stub2BeanCommand();
- refreshProjectCommand = new RefreshProjectCommand();
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) {
-
- IEnvironment env = getEnvironment();
- ClientWSModifyOperation buOperation = new ClientWSModifyOperation(info, env);
- try {
- buOperation.execute(monitor);
- }
- catch(CoreException ce){
- IStatus status = ce.getStatus();
- return status;
- }
- return Status.OK_STATUS;
-
- }
-
-
- private class ClientWSModifyOperation extends WorkspaceModifyOperation {
-
- private IAdaptable info = null;
- private IEnvironment env = null;
-
-
- protected ClientWSModifyOperation(IAdaptable adaptable, IEnvironment environment){
- info = adaptable;
- env = environment;
- }
-
- protected void execute(IProgressMonitor monitor) throws CoreException{
-
- IStatus status = null;
-
- // CopyAxisJarCommand
- copyAxisJarCommand.setEnvironment(env);
- copyAxisJarCommand.setProject(project);
- status = copyAxisJarCommand.execute(monitor, info);
- if (status.getSeverity() == Status.ERROR){
- throw new CoreException(status);
- }
-
- // WSDL2JavaCommand
- wsdl2JavaCommand.setEnvironment(env);
- wsdl2JavaCommand.setJavaWSDLParam(javaWSDLParam);
- wsdl2JavaCommand.setWsdlURI(wsdlURI);
- status = wsdl2JavaCommand.execute(monitor, info);
- if (status.getSeverity() == Status.ERROR) {
- throw new CoreException(status);
- }
-
- // Stub2BeanCommand
- stub2BeanCommand.setEnvironment(env);
- stub2BeanCommand.setWebServicesParser(webServicesParser);
- stub2BeanCommand.setOutputFolder(outputFolder);
- stub2BeanCommand.setJavaWSDLParam(javaWSDLParam);
- stub2BeanCommand.setClientProject(project);
- status = stub2BeanCommand.execute(monitor, info);
- if (status.getSeverity() == Status.ERROR) {
- throw new CoreException(status);
- }
- proxyBean = stub2BeanCommand.getProxyBean();
- proxyEndpoint = stub2BeanCommand.getProxyEndpoint();
-
- // RefreshProjectCommand
- refreshProjectCommand.setEnvironment(env);
- refreshProjectCommand.setProject(project);
- status = refreshProjectCommand.execute(monitor, info);
- if (status.getSeverity() == Status.ERROR) {
- throw new CoreException(status);
- }
-
- }
-
- }
-
-
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParam) {
- this.javaWSDLParam = javaWSDLParam;
- }
-
- public void setOutputFolder(String outputFolder) {
- this.outputFolder = outputFolder;
- }
-
- public void setProject(IProject project) {
- this.project = project;
- }
-
- public void setWebServicesParser(WebServicesParser webServicesParser) {
- this.webServicesParser = webServicesParser;
- }
-
- public void setWsdlURI(String wsdlURI) {
- this.wsdlURI = wsdlURI;
- }
-
- public String getProxyBean() {
- return proxyBean;
- }
-
- public String getProxyEndpoint() {
- return proxyEndpoint;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/CopyAxisJarCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/CopyAxisJarCommand.java
deleted file mode 100644
index ebb4ed30a..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/CopyAxisJarCommand.java
+++ /dev/null
@@ -1,412 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060509 125094 sengpl@ca.ibm.com - Seng Phung-Lu, Use WorkspaceModifyOperation
- * 20060515 115225 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060517 142342 kathy@ca.ibm.com - Kathy Chan
- * 20060828 155439 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.task;
-
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.plugin.WebServiceAxisConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.common.BundleUtils;
-
-
-public class CopyAxisJarCommand extends AbstractDataModelOperation {
-
- public static String AXIS_RUNTIME_PLUGIN_ID = "org.apache.axis"; //$NON-NLS-1$
- public static String[] JARLIST = new String[] {
- "axis.jar",
- "commons-discovery-0.2.jar",
- "jaxrpc.jar",
- "saaj.jar",
- "wsdl4j-1.5.1.jar"
- };
- //these are the jar sizes that correspond to the jars in JARLIST.
- private static long[] JARSIZES = {
- 1632995L, // axis.jar
- 71442L, // commons-discovery-0.2.jar
- 32062L, // jaxrpc.jar
- 19419L, // saaj.jar
- 126771L // wsdl4j-1.5.1.jar
- };
- private static long COMMON_LOGGING_JAR_SIZE = 38015L;
- //Web Services Jars Used in previous Versions of WTP but now obsolete
- private static String[] OBSOLETE_JARS = new String[]{
- "commons-discovery.jar",
- "commons-logging.jar",
- "log4j-1.2.4.jar",
- "log4j-1.2.8.jar",
- "wsdl4j.jar",
- "axis-ant.jar"
- };
-
-
- public static String COMMON_LOGGING_PLUGIN_ID = "org.apache.commons_logging"; //$NON-NLS-1$
- public static String COMMON_LOGGING_JAR = "commons-logging-1.0.4.jar"; //$NON-NLS-1$
- public static String PATH_TO_JARS_IN_PLUGIN = "lib/";
-
- private IProject project;
- private Boolean projectRestartRequired_ = Boolean.FALSE;
-
- /**
- * Default CTOR;
- */
- public CopyAxisJarCommand( ) {
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
-
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
- ProgressUtils.report(monitor, AxisConsumptionUIMessages.PROGRESS_INFO_COPY_AXIS_CFG);
-
- if (J2EEUtils.isWebComponent(project))
- {
- copyAxisJarsToProject(project, status, env, monitor);
- }
- else
- {
- //Check if it's a plain old Java project
- if (J2EEUtils.isJavaComponent(project))
- {
- status = addAxisJarsToBuildPath(project, env, monitor);
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- else
- {
- status = StatusUtils.errorStatus( AxisConsumptionUIMessages.MSG_WARN_NO_JAVA_NATURE);
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- }
-
- return status;
-
- }
-
- private void copyAxisJarsToProject(IProject project, IStatus status, IEnvironment env, IProgressMonitor monitor) {
-
- IPath webModulePath = J2EEUtils.getWebContentPath( project );
- if (webModulePath == null) {
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_PROJECT_NOT_FOUND);
- env.getStatusHandler().reportError(status);
- return;
- }
-
- deleteObsoleteJars(webModulePath);
-
- for (int i=0; i<JARLIST.length; ) {
- copyIFile(AXIS_RUNTIME_PLUGIN_ID, "lib/"+JARLIST[i], webModulePath, "WEB-INF/lib/"+JARLIST[i++], status, env, monitor);
- if (status.getSeverity() == Status.ERROR)
- return;
- }
-
- copyIFile(COMMON_LOGGING_PLUGIN_ID, "lib/"+COMMON_LOGGING_JAR, webModulePath, "WEB-INF/lib/"+COMMON_LOGGING_JAR, status, env, monitor);
- if (status.getSeverity() == Status.ERROR)
- return;
- return;
- }
-
- /**
- *
- */
- private void copyIFile(String pluginId, String source, IPath targetPath, String targetFile, IStatus status, IEnvironment env, IProgressMonitor monitor) {
- IPath target = targetPath.append(new Path(targetFile));
- ProgressUtils.report(monitor,ConsumptionMessages.PROGRESS_INFO_COPYING_FILE);
-
- try {
- ResourceContext context = new TransientResourceContext();
- context.setOverwriteFilesEnabled(true);
- context.setCreateFoldersEnabled(true);
- context.setCheckoutFilesEnabled(true);
- URL sourceURL = BundleUtils.getURLFromBundle( pluginId, source );
- IFile resource = ResourceUtils.getWorkspaceRoot().getFile(target);
- if (!resource.exists()) {
- IFile file = FileResourceUtils.createFile(context, target, sourceURL.openStream(), monitor,
- env.getStatusHandler());
- if (projectRestartRequired_.booleanValue() == false && file.exists()) {
- projectRestartRequired_ = Boolean.TRUE;
- }
-
- }
- }
- catch (Exception e) {
- status = StatusUtils.errorStatus( AxisConsumptionUIMessages.MSG_ERROR_FILECOPY, e);
- env.getStatusHandler().reportError(status);
-
- }
- }
-
- /*
- * Check for any obsolete Jars in WEB-INF/lib folder
- * Obsolete jars would be found in projects migrated
- * from older versions of WTP
- */
- private void deleteObsoleteJars(IPath webModulePath)
- {
- //First check for Any jars that have names that are known to be obsolete
- for (int i=0; i <OBSOLETE_JARS.length; i++)
- {
- IPath path = webModulePath.append("WEB-INF/lib/" + OBSOLETE_JARS[i]);
-
- IFile resource = ResourceUtils.getWorkspaceRoot().getFile(path);
- if (resource.exists())
- {
- deleteResource(resource);
- }
- }
- /*
- * Next check for jars with the same name as a Jar in JARLIST
- * but that have a different size than in JARSIZES. We need to
- * do this because a jar could have the same name but still be out
- * of date so size is only way to check.
- * E.g. all versions of axis have the same name of axis.jar
- */
- for (int i=0; i< JARLIST.length; i++)
- {
- IPath path = webModulePath.append("WEB-INF/lib/" + JARLIST[i]);
- IFile resource = ResourceUtils.getWorkspaceRoot().getFile(path);
- if (resource.exists())
- {
- //calculate the size of the resource by getting the java.io.File
- long fileSize =resource.getLocation().toFile().length();
- if (fileSize != JARSIZES[i])
- {
- deleteResource(resource);
- }
- }
- }
- //Finally check logging plugin (only left seperate because not in JARLIST)
- IPath path = webModulePath.append("WEB-INF/lib/" + COMMON_LOGGING_JAR);
- IFile resource = ResourceUtils.getWorkspaceRoot().getFile(path);
- if (resource.exists())
- {
- //calculate the size of the resource by getting the java.io.File
- long fileSize =resource.getLocation().toFile().length();
- if (fileSize != COMMON_LOGGING_JAR_SIZE)
- {
- deleteResource(resource);
- }
- }
- }
-
- private void deleteResource(IFile resource)
- { //delete the resource
- try
- {
- //System.out.println("Obsolete Jar!! " + resource.getName());
- resource.delete(true, null);
- }
- catch (Exception e)
- { //e.printStackTrace();
- }
- }
-
-
- public IStatus addAxisJarsToBuildPath(IProject p, IEnvironment env, IProgressMonitor monitor)
- {
- String[] jarNames = new String[JARLIST.length];
- for (int i=0; i<JARLIST.length; i++)
- {
- StringBuffer sb = new StringBuffer();
- sb.append(PATH_TO_JARS_IN_PLUGIN);
- sb.append(JARLIST[i]);
- String jarName = sb.toString();
- jarNames[i] = jarName;
- }
-
- IStatus status = addJar(p, AXIS_RUNTIME_PLUGIN_ID, jarNames, env, monitor);
- if (status.getSeverity()==Status.ERROR)
- {
- return status;
- }
-
- StringBuffer sb2 = new StringBuffer();
- sb2.append(PATH_TO_JARS_IN_PLUGIN);
- sb2.append(COMMON_LOGGING_JAR);
- String jarName = sb2.toString();
- String[] jarNames2 = new String[1];
- jarNames2[0] = jarName;
- status = addJar(p, COMMON_LOGGING_PLUGIN_ID, jarNames2, env, monitor);
- if (status.getSeverity()==Status.ERROR)
- {
- return status;
- }
-
- return Status.OK_STATUS;
- }
-
-
- private IStatus addJar(IProject webProject, String pluginId, String[] jarNames, IEnvironment env, IProgressMonitor monitor)
- {
-
- IStatus status = Status.OK_STATUS;
- //
- // Get the current classpath.
- //
- IJavaProject javaProject_ = null;
- IClasspathEntry[] oldClasspath = null;
- javaProject_ = JavaCore.create(webProject);
- try
- {
- oldClasspath = javaProject_.getRawClasspath();
- } catch (JavaModelException jme)
- {
- status = StatusUtils.errorStatus( AxisConsumptionUIMessages.MSG_ERROR_BAD_BUILDPATH, jme);
- // env.getStatusHandler().reportError(status);
- return status;
- }
-
- ArrayList newJarNamesList = new ArrayList();
-
- for (int k = 0; k < jarNames.length; k++)
- {
- boolean found = false;
- for (int i = 0; i < oldClasspath.length; i++)
- {
- found = oldClasspath[i].getPath().toString().toLowerCase().endsWith(jarNames[k].toLowerCase());
- if (found)
- {
- break;
- }
- }
-
- if (!found)
- {
- newJarNamesList.add(jarNames[k]);
- }
- }
-
- if (newJarNamesList.size() > 0)
- {
- String[] newJarNames = (String[]) newJarNamesList.toArray(new String[] {});
-
- IClasspathEntry[] newClasspath = new IClasspathEntry[oldClasspath.length + newJarNames.length];
- int i = 0;
- while (i < oldClasspath.length)
- {
- newClasspath[i] = oldClasspath[i];
- i++;
- }
-
- try
- {
- int m = 0;
- while (i < newClasspath.length)
- {
- newClasspath[i] = JavaCore.newLibraryEntry(getTheJarPath(pluginId, newJarNames[m]), null, null);
- m++;
- i++;
- }
- } catch (CoreException e)
- {
- status = StatusUtils.errorStatus( AxisConsumptionUIMessages.MSG_ERROR_BAD_BUILDPATH, e);
- return status;
- }
-
- //
- // Then update the project classpath.
- //
- try
- {
- javaProject_.setRawClasspath(newClasspath, monitor);
- } catch (JavaModelException e)
- {
- status = StatusUtils.errorStatus(AxisConsumptionUIMessages.MSG_ERROR_BAD_BUILDPATH, e);
- return status;
- }
- }
-
- return status;
-
- }
-
- //
- // Returns the local native pathname of the jar.
- //
- private IPath getTheJarPath(String pluginId, String theJar)
- throws CoreException {
- try {
- if (pluginId != null) {
- URL localURL = Platform.asLocalURL(BundleUtils.getURLFromBundle( pluginId, theJar ) );
- return new Path(localURL.getFile());
- } else {
- return new Path(theJar);
- }
- } catch (MalformedURLException e) {
- throw new CoreException(
- new org.eclipse.core.runtime.Status(
- IStatus.WARNING,
- WebServiceAxisConsumptionUIPlugin.ID,
- 0,
- AxisConsumptionUIMessages.MSG_ERROR_BAD_BUILDPATH,
- e));
- } catch (IOException e) {
- throw new CoreException(
- new org.eclipse.core.runtime.Status(
- IStatus.WARNING,
- WebServiceAxisConsumptionUIPlugin.ID,
- 0,
- AxisConsumptionUIMessages.MSG_ERROR_BAD_BUILDPATH,
- e));
- }
- }
-
- public void setProject(IProject project) {
- this.project = project;
- }
-
- public boolean getProjectRestartRequired() {
- return projectRestartRequired_.booleanValue();
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/DefaultsForHTTPBasicAuthCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/DefaultsForHTTPBasicAuthCommand.java
deleted file mode 100644
index 0a6c00e75..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/DefaultsForHTTPBasicAuthCommand.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.task;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParameter;
-import org.eclipse.jst.ws.internal.consumption.ui.wsil.DialogWWWAuthentication;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-
-public class DefaultsForHTTPBasicAuthCommand extends AbstractDataModelOperation
-{
- private WebServicesParser webServicesParser;
- private String wsdlServiceURL;
- private JavaWSDLParameter javaWSDLParam;
-
- public DefaultsForHTTPBasicAuthCommand()
- {
- super();
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- if (wsdlServiceURL != null && wsdlServiceURL.length() > 0)
- {
- if (webServicesParser == null)
- {
- webServicesParser = new WebServicesParserExt();
- //wse.setWSParser(webServicesParser);
- }
- WebServiceEntity wsEntity = webServicesParser.getWebServiceEntityByURI(wsdlServiceURL);
- if (wsEntity == null || !wsEntity.isEntityResolved())
- {
- webServicesParser.setURI(wsdlServiceURL);
- try
- {
- webServicesParser.parse(WebServicesParser.PARSE_NONE);
- }
- catch (WWWAuthenticationException wwwae)
- {
- DialogWWWAuthentication dialog = new DialogWWWAuthentication(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
- dialog.handleWWWAuthentication(wwwae);
- String username = dialog.getUsername();
- String password = dialog.getPassword();
- if (username != null && password != null)
- {
- webServicesParser.setHTTPBasicAuthUsername(username);
- webServicesParser.setHTTPBasicAuthPassword(password);
- try
- {
- webServicesParser.parse(WebServicesParser.PARSE_NONE);
- }
- catch (Throwable t)
- {
- }
- webServicesParser.setHTTPBasicAuthUsername(null);
- webServicesParser.setHTTPBasicAuthPassword(null);
- }
- }
- catch (Throwable t)
- {
- }
- wsEntity = webServicesParser.getWebServiceEntityByURI(wsdlServiceURL);
- }
- if (wsEntity != null && wsEntity.getType() == WebServiceEntity.TYPE_WSDL)
- {
- String httpUsername = wsEntity.getHTTPUsername();
- String httpPassword = wsEntity.getHTTPPassword();
- if (httpUsername != null && httpPassword != null)
- {
- javaWSDLParam.setHTTPUsername(httpUsername);
- javaWSDLParam.setHTTPPassword(httpPassword);
- }
- }
- }
- return Status.OK_STATUS;
- }
- /**
- * @param javaWSDLParam The javaWSDLParam to set.
- */
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParam) {
- this.javaWSDLParam = javaWSDLParam;
- }
-
- /**
- * @param wsdlServiceURL The wsdlServiceURL to set.
- */
- public void setWsdlServiceURL(String wsdlServiceURL) {
- this.wsdlServiceURL = wsdlServiceURL;
- }
-
- /**
- * @return Returns the javaWSDLParam.
- */
- public JavaWSDLParameter getJavaWSDLParam() {
- return javaWSDLParam;
- }
-
- /**
- * @return Returns the webServicesParser.
- */
- public WebServicesParser getWebServicesParser() {
- return webServicesParser;
- }
-
- /**
- * @param webServicesParser The webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser) {
- this.webServicesParser = webServicesParser;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/RefreshProjectCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/RefreshProjectCommand.java
deleted file mode 100644
index cd0bdf3b8..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/RefreshProjectCommand.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.task;
-
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-
-public class RefreshProjectCommand extends AbstractDataModelOperation
-{
- private IProject project;
-
- public RefreshProjectCommand()
- {
- }
-
- /**
- * Execute RefreshProjectTask
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- try
- {
- if (project!=null)
- project.refreshLocal(IProject.DEPTH_INFINITE, new NullProgressMonitor());
- }
- catch (CoreException e)
- {
- IStatus status = StatusUtils.errorStatus( AxisConsumptionUIMessages.MSG_ERROR_REFRESH_PROJECT, e);
- env.getStatusHandler().reportError(status);
- return status;
- }
- return Status.OK_STATUS;
- }
-
- public IProject getProject() {
- return project;
- }
-
- public void setProject(IProject project) {
- this.project = project;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanCommand.java
deleted file mode 100644
index 4bcee6bcc..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanCommand.java
+++ /dev/null
@@ -1,283 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 115144 pmoogk@ca.ibm.com - Peter Moogk
- * 20060503 126819 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060515 118315 mahutch@ca.ibm.com - Mark Hutchinson
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.ui.task;
-
-import java.io.File;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Operation;
-import javax.wsdl.Port;
-import javax.wsdl.PortType;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import javax.xml.namespace.QName;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParameter;
-import org.eclipse.jst.ws.internal.axis.consumption.core.common.NameMappingUtils;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.ModuleCoreNature;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class Stub2BeanCommand extends AbstractDataModelOperation
-{
- private WebServicesParser webServicesParser;
- private JavaWSDLParameter javaWSDLParam_;
- private String discoveredWsdlPortElementName;
- private Vector portTypes_;
- private String proxyBean_;
- private String outputFolder_;
- private String proxyEndpoint_;
-
- private IProject clientProject_;
-
- public Stub2BeanCommand(){
- super();
- portTypes_ = new Vector();
- }
-
- /**
- * Execute
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- String inputWsdlLocation = javaWSDLParam_.getInputWsdlLocation();
- Definition def = webServicesParser.getWSDLDefinition(inputWsdlLocation);
- /*
- * Hack: Axis is not using a proper java.net.URL as its inputWsdlLocation.
- * We need to convert it to a proper file URL.
- */
- if (def == null)
- {
- File file = new File(inputWsdlLocation);
- if (file.exists())
- {
- try
- {
- def = webServicesParser.getWSDLDefinition(file.toURL().toString());
- }
- catch (MalformedURLException murle)
- {
- }
- }
- }
-
- //Ensure the client project is either a flexible project or a Java project
- ModuleCoreNature mn = ModuleCoreNature.getModuleCoreNature(clientProject_);
- if (mn==null)
- {
- // Check if it's a plain old Java project
- if (!ResourceUtils.isJavaProject(clientProject_))
- {
- IStatus status = StatusUtils.errorStatus( AxisConsumptionUIMessages.MSG_WARN_NO_JAVA_NATURE);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- }
-
- Map pkg2nsMapping = javaWSDLParam_.getMappings();
- Map services = def.getServices();
- for (Iterator it = services.values().iterator(); it.hasNext();)
- {
- Service service = (Service)it.next();
- String servicePkgName = NameMappingUtils.getPackageName(service.getQName().getNamespaceURI(), pkg2nsMapping);
- String serviceClassName = computeClassName(service.getQName().getLocalPart());
- String jndiName = serviceClassName;
- Map ports = service.getPorts();
- for (Iterator it2 = ports.values().iterator(); it2.hasNext();)
- {
- if (serviceClassName.equals(computeClassName(((Port)it2.next()).getBinding().getPortType().getQName().getLocalPart())))
- {
- serviceClassName = serviceClassName + "_Service";
- break;
- }
- }
- for (Iterator it2 = ports.values().iterator(); it2.hasNext();)
- {
- Port port = (Port)it2.next();
- if (discoveredWsdlPortElementName != null && !discoveredWsdlPortElementName.equals(port.getName()))
- continue;
- SOAPAddress soapAddress = null;
- List extensibilityElements = port.getExtensibilityElements();
- if (extensibilityElements != null)
- {
- for (Iterator it3 = extensibilityElements.iterator(); it3.hasNext();)
- {
- Object object = it3.next();
- if (object instanceof SOAPAddress)
- {
- soapAddress = (SOAPAddress)object;
- break;
- }
- }
- }
- if (soapAddress != null)
- {
- proxyEndpoint_ = soapAddress.getLocationURI();
- PortType portType = port.getBinding().getPortType();
- QName portTypeQName = portType.getQName();
- StringBuffer portTypeID = new StringBuffer();
- portTypeID.append(portTypeQName.getNamespaceURI());
- portTypeID.append("#");
- portTypeID.append(portTypeQName.getLocalPart());
- if (!portTypes_.contains(portTypeID.toString()))
- {
- portTypes_.add(portTypeID.toString());
- Stub2BeanInfo stub2BeanInfo = new Stub2BeanInfo();
- stub2BeanInfo.setClientProject(clientProject_);
- stub2BeanInfo.setOutputFolder( outputFolder_ );
- String portTypePkgName = NameMappingUtils.getPackageName(portType.getQName().getNamespaceURI(), pkg2nsMapping);
-
- /*
- * If the package name and method name are the same the Axis
- * wsdl2Java Emitter adds a "_pkg" suffix to the package name
- * of generated code.
- *
- * We need to make sure the proxy get's put in this same package
- * if an operation name is the same as the package name.
- * (Mark Hutchinson - Bug 118315)
- */
- List operations = portType.getOperations();
- Iterator operIter = operations.iterator();
- boolean addSuffix = false;
- while (operIter.hasNext())
- {
- Operation operation = (Operation)operIter.next();
- if (operation.getName().equals(portTypePkgName))
- {
- addSuffix = true;
- }
- }
- if (addSuffix) {
- portTypePkgName = portTypePkgName + "_pkg";
- servicePkgName = servicePkgName + "_pkg";
- }
-
- String portTypeClassName = computeClassName(portTypeQName.getLocalPart());
- stub2BeanInfo.setPackage(portTypePkgName);
- stub2BeanInfo.setClass(portTypeClassName + "Proxy");
- proxyBean_ = portTypePkgName+"."+portTypeClassName+"Proxy";
- if (jndiName.equals(portTypeClassName))
- portTypeClassName = portTypeClassName + "_PortType";
- stub2BeanInfo.addSEI(portTypePkgName, portTypeClassName, servicePkgName, serviceClassName, jndiName, NameMappingUtils.getPortName(port.getName()));
- try
- {
- stub2BeanInfo.write( monitor, environment.getStatusHandler() );
- if (discoveredWsdlPortElementName != null)
- {
- // The discovered port was processed. Ignore all other ports and services.
- return Status.OK_STATUS;
- }
- }
- catch (CoreException ce)
- {
- }
- catch (IOException ioe)
- {
- }
- }
- }
- }
- }
- return Status.OK_STATUS;
- }
-
- private String computeClassName(String className)
- {
- return NameMappingUtils.xmlNameToJavaClass(className);
- }
-
- /**
- * Returns the javaWSDLParam.
- * @return JavaWSDLParameter
- */
- public JavaWSDLParameter getJavaWSDLParam()
- {
- return javaWSDLParam_;
- }
-
- /**
- * Sets the javaWSDLParam.
- * @param javaWSDLParam The javaWSDLParam to set
- */
- public void setJavaWSDLParam(JavaWSDLParameter javaWSDLParam)
- {
- javaWSDLParam_ = javaWSDLParam;
- }
- /**
- * @return Returns the webServicesParser.
- */
- public WebServicesParser getWebServicesParser() {
- return webServicesParser;
- }
-
- /**
- * @param webServicesParser The webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser) {
- this.webServicesParser = webServicesParser;
- }
-
-
- /**
- * @param discoveredWsdlPortElementName The discoveredWsdlPortElementName to set.
- */
- public void setDiscoveredWsdlPortElementName(String discoveredWsdlPortElementName) {
- this.discoveredWsdlPortElementName = discoveredWsdlPortElementName;
- }
-
- /**
- * @param clientProject The clientProject to set.
- */
- public void setClientProject(IProject clientProject) {
- this.clientProject_ = clientProject;
- }
-
- /**
- * @return Returns the proxyBean.
- */
- public String getProxyBean() {
- return proxyBean_;
- }
-
- public void setOutputFolder( String outputFolder )
- {
- outputFolder_ = outputFolder;
- }
-
- public String getProxyEndpoint() {
- return proxyEndpoint_;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanInfo.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanInfo.java
deleted file mode 100644
index d752600fe..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/Stub2BeanInfo.java
+++ /dev/null
@@ -1,605 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 115144 pmoogk@ca.ibm.com - Peter Moogk
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- * 20060517 141481 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.ui.task;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.StringWriter;
-import java.io.Writer;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.JavaVisibilityKind;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.common.JavaMOFUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import com.ibm.icu.util.StringTokenizer;
-
-public class Stub2BeanInfo
-{
- private final String NEW_LINE = System.getProperty("line.separator");
-
- private int indentCount;
-
- private String package_;
- private StringBuffer imports_;
- private StringBuffer seis_;
- private StringBuffer services_;
- private StringBuffer jndiNames_;
- private StringBuffer ports_;
- private String class_;
- private Vector usedNames;
-
- private IProject clientProject_;
- private String outputFolder_;
-
- public Stub2BeanInfo()
- {
- indentCount = 0;
- package_ = null;
- imports_ = new StringBuffer();
- seis_ = new StringBuffer();
- services_ = new StringBuffer();
- jndiNames_ = new StringBuffer();
- ports_ = new StringBuffer();
- class_ = "SEIBean";
- usedNames = new Vector();
- }
-
- public void setClientProject(IProject clientProject) {
- this.clientProject_ = clientProject;
- }
-
- public void setOutputFolder( String outputFolder )
- {
- outputFolder_ = outputFolder;
- }
-
- public void setPackage(String pkgName)
- {
- package_ = pkgName;
- }
-
- public void addImports(String pkgName, String className)
- {
- imports_.append(toFullyQualifiedClassName(pkgName, className));
- imports_.append(";");
- }
-
- public void addSEI(String seiPkgName, String seiClassName, String servicePkgName, String serviceClassName, String portName)
- {
- addSEI(seiPkgName, seiClassName, servicePkgName, serviceClassName, serviceClassName, portName);
- }
-
- public void addSEI(String seiPkgName, String seiClassName, String servicePkgName, String serviceClassName, String jndiName, String portName)
- {
- seis_.append(toFullyQualifiedClassName(seiPkgName, seiClassName));
- seis_.append(";");
- services_.append(toFullyQualifiedClassName(servicePkgName, serviceClassName));
- services_.append(";");
- jndiNames_.append(jndiName);
- jndiNames_.append(";");
- ports_.append(portName);
- ports_.append(";");
- }
-
- public void setClass(String className)
- {
- class_ = className;
- }
-
- private String toFullyQualifiedClassName(String pkgName, String className)
- {
- StringBuffer sb = new StringBuffer();
- sb.append(pkgName);
- sb.append(".");
- sb.append(className);
- return sb.toString();
- }
-
- private String getPackageName(String qname)
- {
- int index = qname.lastIndexOf(".");
- if (index != -1)
- return qname.substring(0, index);
- else
- return qname;
- }
-
- private String getClassName(String qname)
- {
- int index = qname.lastIndexOf(".");
- if (index != -1)
- return qname.substring(index+1, qname.length());
- else
- return qname;
- }
-
- private String firstCharToLowerCase(String s)
- {
- StringBuffer sb = new StringBuffer();
- sb.append(s.substring(0, 1).toLowerCase());
- sb.append(s.substring(1, s.length()));
- return sb.toString();
- }
-
- private String getFullyQualifiedName(JavaHelpers javaHelpers)
- {
- if (javaHelpers.isPrimitive())
- return javaHelpers.getJavaName();
- else
- return javaHelpers.getQualifiedName();
- }
-
- public void write(IProgressMonitor progressMonitor, IStatusHandler statusMonitor) throws CoreException, IOException
- {
- IPath outputPath = new Path( outputFolder_ );
- IProject project = ResourceUtils.getProjectOf( outputPath );
- StringWriter sw = new StringWriter(2048);
-
- writePackage(sw);
- writeImports(sw);
- writeClass(sw);
- sw.close();
- byte[] bytes = sw.getBuffer().toString().getBytes( project.getDefaultCharset() );
- StringBuffer sb = new StringBuffer();
- if (package_ != null && package_.length() > 0)
- {
- sb.append(package_);
- sb.append(".");
- }
- sb.append(class_);
- sb = new StringBuffer(sb.toString().replace('.', '/'));
- sb.append(".java");
-
- ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
-
- IPath newFilePath = new Path(outputFolder_).append( sb.toString() );
-
- FileResourceUtils.createFile(WebServicePlugin.getInstance().getResourceContext(), newFilePath, bais, progressMonitor, statusMonitor);
- }
-
- private void writePackage(Writer w) throws IOException
- {
- if (package_ != null && package_.length() > 0)
- {
- w.write("package ");
- w.write(package_);
- w.write(";");
- newLine(w);
- }
- }
-
- private void writeImports(Writer w) throws IOException
- {
- StringTokenizer st = new StringTokenizer(imports_.toString(), ";");
- while (st.hasMoreTokens())
- {
- w.write("import ");
- w.write(st.nextToken());
- w.write(";");
- newLine(w);
- }
- }
-
- private void writeClass(Writer w) throws IOException, CoreException
- {
- newLine(w);
- w.write("public class ");
- w.write(class_);
- w.write(" ");
- StringTokenizer st = new StringTokenizer(seis_.toString(), ";");
- if (st.hasMoreTokens())
- w.write("implements ");
- while (st.hasMoreTokens())
- {
- w.write(st.nextToken());
- if (st.hasMoreTokens())
- w.write(", ");
- }
- w.write(" {");
- incrementIndent();
- newLine(w);
- writeFieldsDeclarations(w);
- writeConstructor(w);
- writeInit(w);
- /*
- * Cannot use JNDI lookup for AXIS
- *
- writeUseJNDI(w);
- */
- writeGetSetEndpoint(w);
- writeSEIGetters(w);
- writeSEIMethods(w);
- decrementIndent();
- newLine(w);
- w.write("}");
- }
-
- private void writeFieldsDeclarations(Writer w) throws IOException
- {
- /*
- * Cannot use JNDI lookup for AXIS
- *
- w.write("private boolean _useJNDI = true;");
- newLine(w);
- */
- w.write("private String _endpoint = null;");
- usedNames.add("_endpoint");
- newLine(w);
- StringTokenizer st = new StringTokenizer(seis_.toString(), ";");
- while (st.hasMoreTokens())
- {
- w.write("private ");
- String sei = st.nextToken();
- w.write(sei);
- w.write(" ");
- String stubName = firstCharToLowerCase(getClassName(sei));
- w.write(stubName);
- usedNames.add(stubName);
- w.write(" = null;");
- newLine(w);
- }
- }
-
- private void writeConstructor(Writer w) throws IOException
- {
- newLine(w);
- w.write("public ");
- w.write(class_);
- w.write("() {");
- incrementIndent();
- newLine(w);
- w.write("_init");
- w.write(class_);
- w.write("();");
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- }
-
- private void writeInit(Writer w) throws IOException
- {
- newLine(w);
- w.write("private void _init");
- w.write(class_);
- w.write("() {");
- incrementIndent();
- newLine(w);
- w.write("try {");
- incrementIndent();
- newLine(w);
- /*
- * Cannot use JNDI lookup for AXIS
- *
- w.write("if (_useJNDI) {");
- incrementIndent();
- newLine(w);
- */
- StringTokenizer st = new StringTokenizer(seis_.toString(), ";");
- StringTokenizer serviceTokens = new StringTokenizer(services_.toString(), ";");
- //StringTokenizer jndiNameTokens = new StringTokenizer(jndiNames_.toString(), ";");
- StringTokenizer portTokens = new StringTokenizer(ports_.toString(), ";");
- /*
- if (st.hasMoreTokens())
- {
- w.write("javax.naming.InitialContext ctx = new javax.naming.InitialContext();");
- newLine(w);
- }
- while (st.hasMoreTokens())
- {
- w.write(firstCharToLowerCase(getClassName(st.nextToken())));
- w.write(" = ((");
- w.write(serviceTokens.nextToken());
- w.write(")ctx.lookup(\"java:comp/env/service/");
- w.write(jndiNameTokens.nextToken());
- w.write("\")).get");
- w.write(mangleClassName(portTokens.nextToken()));
- w.write("();");
- newLine(w);
- }
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- w.write("else {");
- incrementIndent();
- newLine(w);
- st = new StringTokenizer(seis_.toString(), ";");
- serviceTokens = new StringTokenizer(services_.toString(), ";");
- portTokens = new StringTokenizer(ports_.toString(), ";");
- */
- while (st.hasMoreTokens())
- {
- String seiName = firstCharToLowerCase(getClassName(st.nextToken()));
- w.write(seiName);
- w.write(" = (new ");
- w.write(serviceTokens.nextToken());
- w.write("Locator()).get");
- w.write(portTokens.nextToken());
- w.write("();");
- newLine(w);
- w.write("if (");
- w.write(seiName);
- w.write(" != null) {");
- incrementIndent();
- newLine(w);
- w.write("if (_endpoint != null)");
- incrementIndent();
- newLine(w);
- w.write("((javax.xml.rpc.Stub)");
- w.write(seiName);
- w.write(")._setProperty(\"javax.xml.rpc.service.endpoint.address\", _endpoint);");
- decrementIndent();
- newLine(w);
- w.write("else");
- incrementIndent();
- newLine(w);
- w.write("_endpoint = (String)((javax.xml.rpc.Stub)");
- w.write(seiName);
- w.write(")._getProperty(\"javax.xml.rpc.service.endpoint.address\");");
- decrementIndent();
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- }
- /*
- decrementIndent();
- newLine(w);
- w.write("}");
- */
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- /*
- w.write("catch (javax.naming.NamingException namingException) {}");
- newLine(w);
- */
- w.write("catch (javax.xml.rpc.ServiceException serviceException) {}");
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- }
-
- private void writeSetPropertyEndpoint(Writer w) throws IOException
- {
- StringTokenizer st = new StringTokenizer(seis_.toString(), ";");
- while (st.hasMoreTokens())
- {
- String seiName = firstCharToLowerCase(getClassName(st.nextToken()));
- w.write("if (");
- w.write(seiName);
- w.write(" != null)");
- incrementIndent();
- newLine(w);
- w.write("((javax.xml.rpc.Stub)");
- w.write(seiName);
- w.write(")._setProperty(\"javax.xml.rpc.service.endpoint.address\", _endpoint);");
- decrementIndent();
- newLine(w);
- }
- }
-
-
- private void writeSEIGetters(Writer w) throws IOException
- {
- StringTokenizer st = new StringTokenizer(seis_.toString(), ";");
- while (st.hasMoreTokens())
- {
- String sei = st.nextToken();
- String seiClassName = getClassName(sei);
- String seiFieldName = firstCharToLowerCase(seiClassName);
- newLine(w);
- w.write("public ");
- w.write(sei);
- w.write(" get");
- w.write(seiClassName);
- w.write("() {");
- incrementIndent();
- newLine(w);
- w.write("if (");
- w.write(seiFieldName);
- w.write(" == null)");
- incrementIndent();
- newLine(w);
- w.write("_init");
- w.write(class_);
- w.write("();");
- decrementIndent();
- newLine(w);
- w.write("return ");
- w.write(seiFieldName);
- w.write(";");
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- }
- }
-
- private void writeSEIMethods(Writer w) throws IOException, CoreException
- {
- newLine(w);
- //WebServiceElement wse = WebServiceElement.getWebServiceElement(model_);
- if (clientProject_ == null) return;//wse.getProxyProject();
- StringTokenizer st = new StringTokenizer(seis_.toString(), ";");
- while (st.hasMoreTokens())
- {
- String sei = st.nextToken();
- JavaClass javaClass = JavaMOFUtils.getJavaClass(getPackageName(sei), getClassName(sei), clientProject_);
- if (javaClass != null)
- {
- List methods = javaClass.getMethods();
- for (Iterator it = methods.iterator(); it.hasNext();)
- {
- Method method = (Method)it.next();
- if (!method.isConstructor() && !method.isNative() && method.getJavaVisibility().getValue() == JavaVisibilityKind.PUBLIC)
- writeSEIMethods(w, javaClass, method);
- }
- }
- }
- }
-
- private void writeSEIMethods(Writer w, JavaClass javaClass, Method method) throws IOException
- {
- w.write("public ");
- // isVoid
- if (method.isVoid())
- w.write("void ");
- else
- {
- w.write(getFullyQualifiedName(method.getReturnType()));
- w.write(" ");
- }
- // method name
- w.write(method.getName());
- w.write("(");
- // input parameters
- JavaParameter[] inputParams = method.listParametersWithoutReturn();
- for (int i = 0; i < inputParams.length; i++)
- {
- if (i > 0)
- w.write(", ");
- JavaHelpers javaHelpers = inputParams[i].getJavaType();
- w.write(getFullyQualifiedName(javaHelpers));
- w.write(" ");
- String paramName = getClassName(inputParams[i].getQualifiedName());
- w.write(getUnusedName(paramName));
- }
- w.write(")");
- // exceptions
- List exceptions = method.getJavaExceptions();
- if (!exceptions.isEmpty())
- w.write(" throws ");
- for (Iterator it = exceptions.iterator(); it.hasNext();)
- {
- JavaClass exception = (JavaClass)it.next();
- w.write(exception.getQualifiedNameForReflection());
- if (it.hasNext())
- w.write(", ");
- }
- // method body
- w.write("{");
- incrementIndent();
- newLine(w);
- String stubName = firstCharToLowerCase(javaClass.getName());
- w.write("if (");
- w.write(stubName);
- w.write(" == null)");
- incrementIndent();
- newLine(w);
- w.write("_init");
- w.write(class_);
- w.write("();");
- decrementIndent();
- newLine(w);
- if (!method.isVoid())
- w.write("return ");
- w.write(stubName);
- w.write(".");
- w.write(method.getName());
- w.write("(");
- for (int i = 0; i < inputParams.length; i++)
- {
- if (i > 0)
- w.write(", ");
- String paramName = getClassName(inputParams[i].getQualifiedName());
- w.write(getUnusedName(paramName));
- }
- w.write(");");
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- newLine(w);
- }
-
- private void writeGetSetEndpoint(Writer w) throws IOException
- {
- newLine(w);
- w.write("public String getEndpoint() {");
- incrementIndent();
- newLine(w);
- w.write("return _endpoint;");
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- newLine(w);
- w.write("public void setEndpoint(String endpoint) {");
- incrementIndent();
- newLine(w);
- w.write("_endpoint = endpoint;");
- newLine(w);
- writeSetPropertyEndpoint(w);
- decrementIndent();
- newLine(w);
- w.write("}");
- newLine(w);
- }
-
- private void incrementIndent()
- {
- indentCount++;
- }
-
- private void decrementIndent()
- {
- indentCount--;
- }
-
- private void indent(Writer w) throws IOException
- {
- for (int i = 0; i < indentCount; i++)
- w.write(" ");
- }
-
- private void newLine(Writer w) throws IOException
- {
- w.write(NEW_LINE);
- indent(w);
- }
-
- private String getUnusedName(String name)
- {
- if (usedNames.contains(name))
- {
- for (int i = 0; i < 100; i++)
- {
- String newName = (new StringBuffer(name)).append(String.valueOf(i)).toString();
- if (!usedNames.contains(newName))
- return newName;
- }
- }
- return name;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ValidateWSDLCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ValidateWSDLCommand.java
deleted file mode 100644
index cbbd872e7..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/task/ValidateWSDLCommand.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.ui.task;
-
-import javax.wsdl.Definition;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-
-public class ValidateWSDLCommand extends AbstractDataModelOperation
-{
- private WebServicesParser webServicesParser;
- private String wsdlURI;
-
- public ValidateWSDLCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- if (wsdlURI != null && wsdlURI.length() > 0)
- {
- Definition definition = webServicesParser.getWSDLDefinition(wsdlURI);
- if (definition != null)
- {
- int numServices = definition.getServices().size();
- if (numServices < 1)
- {
- IStatus status = StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_ERROR_WSDL_HAS_NO_SERVICE_ELEMENT, new Object[] {wsdlURI}), null);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- }
- }
- return Status.OK_STATUS;
- }
-
- /**
- * @param wsdlURI The wsdlURI to set.
- */
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- /**
- * @param webServicesParser The webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/ClasspathUtils.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/ClasspathUtils.java
deleted file mode 100644
index f794c782f..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/ClasspathUtils.java
+++ /dev/null
@@ -1,297 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060203 126418 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.util;
-
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IPackageFragmentRoot;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
-import org.eclipse.wst.common.componentcore.resources.IVirtualResource;
-
-public class ClasspathUtils {
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2003."; //$NON-NLS-1$
-
- private static ClasspathUtils instance_; //$NON-NLS-1$
- private static String DOT_JAR = ".jar"; //$NON-NLS-1$
- private static String JAR = "jar"; //$NON-NLS-1$
- private static String WEBINF_LIB = "/WEB-INF/lib"; //$NON-NLS-1$
-
- private ClasspathUtils() {
- }
-
- public static ClasspathUtils getInstance() {
- if (instance_ == null)
- instance_ = new ClasspathUtils();
- return instance_;
- }
-
- public String getClasspathString(IProject project) {
- StringBuffer classpath = new StringBuffer();
- String[] classpathEntries = getClasspath(project, false);
-
- Vector classpathVector = new Vector();
- for (int i = 0; i < classpathEntries.length; i++) {
- if (!classpathVector.contains(classpathEntries[i])) {
- classpathVector.add(classpathEntries[i]);
- classpath.append(classpathEntries[i]);
- classpath.append(";"); //$NON-NLS-1$
- }
- }
- return classpath.toString();
- }
-
-
- private String[] getClasspath(IProject project, boolean isDependent) {
- String[] moduleClasspath = new String[0];
- ArrayList projectClasspath = new ArrayList();
- boolean needJavaClasspath = false;
-
- IVirtualComponent comp = ComponentCore.createComponent(project);
- if (comp != null) {
- // get the module's classpath
-
- if (J2EEUtils.isEARComponent(comp)) {
- moduleClasspath = getClasspathForEARProject(project, comp.getName());
-// add module classpath to project classpath
- for (int j = 0; j < moduleClasspath.length; j++) {
- projectClasspath.add(moduleClasspath[j]);
- }
- } else if (J2EEUtils.isWebComponent(comp) || J2EEUtils.isJavaComponent(comp)) {
- needJavaClasspath = true;
-
- IContainer outputContainer = null;
- IResource fragmentRoot = null;
- IPackageFragmentRoot[] pkgFragmentRoot = ResourceUtils.getJavaPackageFragmentRoots(project);
- ArrayList webModuleClasspath = new ArrayList();
- try {
- for (int i = 0; i < pkgFragmentRoot.length; i++) {
- fragmentRoot = pkgFragmentRoot[i].getCorrespondingResource();
- if (fragmentRoot != null
- && (fragmentRoot.getProject().equals(project))
- && (fragmentRoot.getType() != IResource.FILE)) {
- outputContainer = J2EEProjectUtilities.getOutputContainer(project, pkgFragmentRoot[i]);
- if (outputContainer != null) {
- webModuleClasspath.add(outputContainer.getLocation().toOSString());
- }
- }
- }
- } catch (JavaModelException e) {
- }
-
- // add Web module classpath to project classpath
- Iterator iter = webModuleClasspath.iterator();
- while (iter.hasNext()) {
- projectClasspath.add((String) iter.next());
- }
- }
-
- if (!isDependent) {
- if (J2EEUtils.isWebComponent(comp)) {
- needJavaClasspath = true;
- moduleClasspath = getWEBINFLib(project);
- for (int j = 0; j < moduleClasspath.length; j++) {
- projectClasspath.add(moduleClasspath[j]);
- }
- }
- }
-
- } else {
- needJavaClasspath = true;
- }
-
- // If there are Web or Java module in the project, get the project's Java classpath
- if (needJavaClasspath) {
- String[] javaClasspath;
- try {
- IJavaProject javaProj = (IJavaProject) project.getNature(JavaCore.NATURE_ID);
- if (javaProj != null) {
- javaClasspath = getClasspathForJavaProject(javaProj);
- for (int j = 0; j < javaClasspath.length; j++) {
- projectClasspath.add(javaClasspath[j]);
- }
- }
- } catch (CoreException e) {
- // not able to get Java classpath, just ignore
- }
- }
-
- return (String[]) projectClasspath.toArray(new String[projectClasspath.size()]);
- }
-
- // Need to get all modules in the project. If there's a EAR module, get the utility JARs
- private String[] getUtilityJarClasspath(IProject project) {
- String[] utilityJarString = new String[0];
- String[] moduleClasspath = new String[0];
- ArrayList utilityJarsClasspath = new ArrayList();
-
- String module;
- IVirtualComponent comp = ComponentCore.createComponent(project);
- if (comp != null) {
- module = comp.getName();
- if (J2EEUtils.isEARComponent(comp)) {
- moduleClasspath = getClasspathForEARProject(project, module);
- for (int j = 0; j < moduleClasspath.length; j++) {
- utilityJarsClasspath.add(moduleClasspath[j]);
- }
- utilityJarString = (String[]) utilityJarsClasspath.toArray(new String[utilityJarsClasspath.size()]);
- }
- }
-
- return utilityJarString;
- }
-
- private String[] getClasspathForEARProject(IProject project, String module) {
- IPath projectPath =
- project.getProject().getLocation().addTrailingSeparator().append(module).addTrailingSeparator();
- return getDirectoryJarFiles(projectPath);
- }
-
- private String[] getDirectoryJarFiles(IPath iPath) {
- File dir = iPath.toFile();
- Vector jarsVector = new Vector();
- if (dir.exists() && dir.isDirectory()) {
- String[] filenames = dir.list();
- for (int i = 0; i < filenames.length; i++) {
- if (filenames[i].endsWith(DOT_JAR))
- jarsVector.add(path2String(iPath) + filenames[i]);
- }
- }
- String[] jars = new String[jarsVector.size()];
- jarsVector.copyInto(jars);
- return jars;
- }
-
- private String[] getWEBINFLib(IProject project) {
- String[] webinfLibJars = new String[0];
- ArrayList anArrayList = new ArrayList();
- try {
- IVirtualComponent component = ComponentCore.createComponent(project);
- if (component != null) {
-
- IVirtualFolder webInfLib = component.getRootFolder().getFolder(new Path(
- WEBINF_LIB));
- if (webInfLib != null) {
- IVirtualResource[] resources = webInfLib.members();
- IResource aResource = null;
- for (int i = 0; i < resources.length; i++) {
- aResource = resources[i].getUnderlyingResource();
- if (JAR.equalsIgnoreCase(aResource.getFileExtension()))
- anArrayList.add( aResource.getLocation().toOSString());
- }
- if (anArrayList.size() != 0)
- webinfLibJars = (String[]) anArrayList.toArray(new String[anArrayList.size()]);
- }
- }
- } catch (CoreException e) {
- }
- return webinfLibJars;
- }
-
- private String[] getClasspathForJavaProject(IJavaProject javaProject) {
- ArrayList projectClasspath = new ArrayList();
- try {
- IClasspathEntry[] buildPath =
- javaProject.getResolvedClasspath(true);
- for (int i = 0; i < buildPath.length; i++) {
- String[] buildPathString =
- classpathEntry2String(
- buildPath[i],
- javaProject.getProject());
- for (int j = 0; j < buildPathString.length; j++) {
- projectClasspath.add(buildPathString[j]);
- }
- }
- } catch (JavaModelException jme) {
- }
-
- String[] utilityJarsClasspath;
- IProject project = javaProject.getProject();
- IProject[] referencingProjects = project.getReferencingProjects();
- for (int i = 0; i < referencingProjects.length; i++) {
- utilityJarsClasspath = getUtilityJarClasspath(referencingProjects[i]);
- for (int j = 0; j < utilityJarsClasspath.length; j++) {
- projectClasspath.add(utilityJarsClasspath[j]);
- }
- }
-
- return (String[]) projectClasspath.toArray(new String[projectClasspath.size()]);
- }
-
- private String[] classpathEntry2String(
- IClasspathEntry entry,
- IProject project)
- {
- switch (entry.getEntryKind()) {
- case IClasspathEntry.CPE_LIBRARY :
- {
- return new String[] { path2String(entry.getPath())};
- }
- case IClasspathEntry.CPE_PROJECT :
- {
- return getClasspath(
- ResourcesPlugin.getWorkspace().getRoot().getProject(
- entry.getPath().lastSegment()), true);
- }
- case IClasspathEntry.CPE_SOURCE :
- {
- IPath path = entry.getPath();
- if (path.segment(0).equals(project.getName()))
- path = path.removeFirstSegments(1);
- return new String[] {
- path2String(
- project
- .getLocation()
- .addTrailingSeparator()
- .append(
- path))};
- }
- case IClasspathEntry.CPE_VARIABLE :
- {
- return classpathEntry2String(
- JavaCore.getResolvedClasspathEntry(entry),
- project);
- }
- default :
- {
- return new String[] { path2String(entry.getPath())};
- }
- }
- }
-
- private String path2String(IPath path) {
- return path.toOSString();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/FileUtil.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/FileUtil.java
deleted file mode 100644
index 52f98d9ec..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/FileUtil.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.util;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-
-public class FileUtil
-{
- public FileUtil()
- {
- super();
- }
-
- public static void copyFile(String src, String dest)
- {
- InputStream is = null;
- FileOutputStream fos = null;
-
- try
- {
- is = new FileInputStream(src);
- fos = new FileOutputStream(dest);
- int c = 0;
- byte[] array = new byte[1024];
- while ((c = is.read(array)) >= 0)
- {
- fos.write(array, 0, c);
- }
- }
- catch (Exception e)
- {
- }
- finally
- {
- try
- {
- fos.close();
- is.close();
- }
- catch (Exception e)
- {
- }
- }
- }
-
- public static File createFileAndParentDirectories(String fileName) throws Exception
- {
- File file = new File(fileName);
- File parent = file.getParentFile();
- if (!parent.exists())
- {
- parent.mkdirs();
- }
- file.createNewFile();
- return file;
- }
-
- public static void deleteDirectories(File dir) throws Exception
- {
- File[] children = dir.listFiles();
- for (int i = 0; i < children.length; i++)
- {
- if (children[i].list() != null && children[i].list().length > 0)
- {
- deleteDirectories(children[i]);
- }
- else
- {
- children[i].delete();
- }
- }
- dir.delete();
- }
-
- /**
- * Creates a folder and all parent folders if not existing Project must exist
- */
- public static void createFolder(IFolder folder, boolean force, boolean local) throws CoreException
- {
- if (!folder.exists())
- {
- IContainer parent = folder.getParent();
- if (parent instanceof IFolder)
- {
- createFolder((IFolder)parent, force, local);
- }
- folder.create(force, local, new NullProgressMonitor());
- }
- }
-
- public static void createTargetFile(String sourceFileName, String targetFileName) throws Exception
- {
- createTargetFile(sourceFileName, targetFileName, false);
- }
-
- public static void createTargetFile(String sourceFileName, String targetFileName, boolean overwrite) throws Exception
- {
- File idealResultFile = new File(targetFileName);
- if (overwrite || !idealResultFile.exists())
- {
- FileUtil.createFileAndParentDirectories(targetFileName);
- FileUtil.copyFile(sourceFileName, targetFileName);
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/PlatformUtils.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/PlatformUtils.java
deleted file mode 100644
index 518496b0b..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/PlatformUtils.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.util;
-
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.emf.common.util.URI;
-
-public class PlatformUtils {
-
- public static final String PLATFORM_ROOT = "platform:/resource";
- public static final String WIN_FILE_PROTOCOL = "file:/";
- public static final String LNX_FILE_PROTOCOL = "file://";
- public static final String PLATFORM = "platform";
- public static final String RESOURCE = "/resource";
-
- private PlatformUtils() {
- }
-
- /**
- * Returns the string representation of platform URL given an IPath
- * @param IPath path
- * @return String platformURL
- */
- public static String getPlatformURL(IPath path) {
- String platformURL;
- platformURL = URI.createPlatformResourceURI(path.toString()).toString();
- // old method: file system representation
- // platformURL = ResourcesPlugin.getWorkspace().getRoot().getFile(path).getLocation().toString();
- return platformURL;
- }
-
- /**
- * Returns the URL representation of the Platform URL given an IPath
- * The PlatformResourceManager underdstands this format and therefore
- * this is suited for command URL's
- * @param IPath path
- * @return URL Platform URL
- */
- public static URL getCommandPlatformURL(IPath path) {
- URL url = null;
- try {
- url = new URL(PLATFORM, null, RESOURCE + path.toString());
- } catch (MalformedURLException e) {
- return url;
- }
- return url;
- }
-
- /**
- * Returns the string representation of path given platform URL string
- * @param String platform URL string
- * @return String path string
- */
- public static String getPathFromPlatform(String platformStr) {
- String pathStr = platformStr;
-
- String rootLocation;
- rootLocation = PLATFORM_ROOT;
- // old method: file system representation
- // rootLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation().toString();
- if (platformStr.startsWith(rootLocation))
- pathStr = platformStr.substring(rootLocation.length());
- return pathStr;
- }
-
- /**
- * Returns the string representation of platform URL given the path string
- * @param String path string
- * @return String platform URL string
- */
- public static String getPlatformFromPath(String pathStr) {
- String platformStr = pathStr;
-
- String rootLocation;
- rootLocation = PLATFORM_ROOT;
- // old method: file system representation
- // rootLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation().toString();
- platformStr = rootLocation + pathStr;
- return platformStr;
- }
-
- /**
- * Returns the string representation of the local file system file given platform URL string
- * @param String platform URL string
- * @return String file string
- */
- public static String getFileFromPlatform(String platformStr) {
- String fileStr = platformStr;
- String pathStr = getPathFromPlatform(platformStr);
-
- fileStr =
- ResourcesPlugin
- .getWorkspace()
- .getRoot()
- .getFile(new Path(pathStr))
- .getLocation()
- .toString();
-
- // old method: file system representation
- // Do nothing
-
- return fileStr;
- }
-
- /**
- * Returns the file protocol representation of the local file system file given platform URL string
- * @param String platform URL string
- * @return String the file protocol uri
- */
- public static String getFileURLFromPlatform(String platformStr) {
- String fileStr = platformStr;
- String pathStr = getPathFromPlatform(platformStr);
- try {
- fileStr =
- ResourcesPlugin
- .getWorkspace()
- .getRoot()
- .getFile(new Path(pathStr))
- .getLocation()
- .toFile()
- .toURL()
- .toString();
- } catch (MalformedURLException murle) {
- fileStr = getFileURLFromPath(new Path(pathStr));
- }
- return fileStr;
- }
-
- /**
- * Returns the file protocol representation of a local file
- * @param IPath the Path object representing the file
- * @return String the file protocol uri
- */
- public static String getFileURLFromPath(IPath path) {
-
- String file = null;
- if (path != null) {
- if (!path.isAbsolute()) {
- file =
- ResourcesPlugin
- .getWorkspace()
- .getRoot()
- .getFile(path)
- .getLocation()
- .toString();
- if (file.charAt(0) == IPath.SEPARATOR) {
- file = LNX_FILE_PROTOCOL + file;
- } else {
- file = WIN_FILE_PROTOCOL + file;
- }
- } else {
- file = path.toString();
- }
- if (file != null && file.charAt(0) == IPath.SEPARATOR) {
- file = LNX_FILE_PROTOCOL + file;
- } else {
- file = WIN_FILE_PROTOCOL + file;
- }
- }
- return file == null ? null : file;
-
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/WSDLUtils.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/WSDLUtils.java
deleted file mode 100644
index 3cb3670e2..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/util/WSDLUtils.java
+++ /dev/null
@@ -1,514 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.ui.util;
-
-import java.util.Arrays;
-import java.util.Iterator;
-import java.util.Locale;
-import java.util.Map;
-import javax.wsdl.Binding;
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.PortType;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLReader;
-import javax.xml.namespace.QName;
-import org.apache.axis.wsdl.toJava.Utils;
-import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl;
-import com.ibm.icu.text.Collator;
-import com.ibm.icu.util.StringTokenizer;
-
-public class WSDLUtils {
-
- private static final String DOT = ".";
-
- /**
- * These are java keywords as specified at the following URL (sorted alphabetically).
- * http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#229308
- * Note that false, true, and null are not strictly keywords; they are literal values,
- * but for the purposes of this array, they can be treated as literals.
- */
- static final String keywords[] =
- {
- "abstract", "boolean", "break", "byte", "case",
- "catch", "char", "class", "const", "continue",
- "default", "do", "double", "else", "extends",
- "false", "final", "finally", "float", "for",
- "goto", "if", "implements", "import", "instanceof",
- "int", "interface", "long", "native", "new",
- "null", "package", "private", "protected", "public",
- "return", "short", "static", "strictfp", "super",
- "switch", "synchronized", "this", "throw", "throws",
- "transient", "true", "try", "void", "volatile",
- "while"
- };
-
- /** Collator for comparing the strings */
- static final Collator englishCollator = Collator.getInstance(Locale.ENGLISH);
-
- /** Use this character as suffix */
- static final char keywordPrefix = '_';
-
- private WSDLUtils() {
- }
-
- /**
- * Returns the name of the first service element in the WSDL definition.
- * @return String service element name
- */
- public static String getServiceElementName(Definition definition) {
- Service service = (Service) definition.getServices().values().iterator().next();
- return service.getQName().getLocalPart();
- }
-
- /**
- * Returns the name of the port type element points to by the first service and port element in the WSDL definition.
- * @return String port type element name
- */
- public static String getPortTypeName(Definition definition) {
- Service service = (Service) definition.getServices().values().iterator().next();
- Iterator iterator = service.getPorts().values().iterator();
- while(iterator.hasNext()){
- Port port = (Port) iterator.next();
- for (int i=0; i<port.getExtensibilityElements().size();i++) {
- if (port.getExtensibilityElements().get(i) instanceof SOAPAddress) {
- Binding binding = port.getBinding();
- return binding.getPortType().getQName().getLocalPart();
- }
- }
- }
- return "";
-
- }
-
- /**
- * Returns the name of the port element in the WSDL definition.
- * @return String port name
- */
- public static String getPortName(Definition definition) {
- Service service = (Service) definition.getServices().values().iterator().next();
- Iterator iterator = service.getPorts().values().iterator();
- while(iterator.hasNext()){
- Port port = (Port) iterator.next();
- for (int i=0; i<port.getExtensibilityElements().size();i++) {
- if (port.getExtensibilityElements().get(i) instanceof SOAPAddress)
- return port.getName();
- }
- }
- return "";
- }
-
-
-
- public static String makeNamespace (String clsName) {
- return makeNamespace(clsName, "http");
- }
-
- /**
- * Make namespace from a fully qualified class name
- * and the given protocol
- *
- * @param clsName fully qualified class name
- * @param protocol protocol String
- * @return namespace namespace String
- */
- public static String makeNamespace (String clsName, String protocol) {
- if (clsName.lastIndexOf('.') == -1)
- return protocol + "://" + "DefaultNamespace";
- String packageName = clsName.substring(0, clsName.lastIndexOf('.'));
- return makeNamespaceFromPackageName(packageName, protocol);
- }
-
-
- private static String makeNamespaceFromPackageName(String packageName, String protocol) {
- if (packageName == null || packageName.equals(""))
- return protocol + "://" + "DefaultNamespace";
- StringTokenizer st = new StringTokenizer( packageName, "." );
- String[] words = new String[ st.countTokens() ];
- for(int i = 0; i < words.length; ++i)
- words[i] = st.nextToken();
-
- StringBuffer sb = new StringBuffer(80);
- for(int i = words.length-1; i >= 0; --i) {
- String word = words[i];
- // seperate with dot
- if( i != words.length-1 )
- sb.append('.');
- sb.append( word );
- }
- return protocol + "://" + sb.toString();
- }
-
- /**
- * Return a Definition for the wsdl url given
- *
- */
- public static Definition getWSDLDefinition(String wsdlURL)
- {
- if(wsdlURL == null) return null;
-
- WSDLFactory wsdlFactory;
- Definition definition = null;
- try {
- wsdlFactory = new WSDLFactoryImpl();
- WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
- definition = wsdlReader.readWSDL(wsdlURL);
- }
- catch (Exception e) { // can be WSDLException or IOException
- return null;
- }
- return definition;
- }
-
- public static String getPackageName(Definition definition)
- {
- if (definition != null)
- {
- String namespace = definition.getTargetNamespace();
- return namespaceURI2PackageName(namespace);
- }
- return "";
- }
-
- public static String getPackageNameForBindingImpl(Port port, Map ns2pkgMap)
- {
- if (port != null && ns2pkgMap != null)
- {
- Binding binding = port.getBinding();
- QName bndQName = binding.getQName();
- String namespace = bndQName.getNamespaceURI();
- Object pkg = ns2pkgMap.get(namespace);
- if (pkg != null)
- return (String)pkg;
- }
- return getPackageNameForBindingImpl(port);
- }
-
- public static String getPackageNameForBindingImpl(Definition definition, Map ns2pkgMap)
- {
- if (definition != null && ns2pkgMap != null)
- {
- Service service = (Service) definition.getServices().values().iterator().next();
- Port port = (Port) service.getPorts().values().iterator().next();
- return getPackageNameForBindingImpl(port, ns2pkgMap);
- }
- return getPackageNameForBindingImpl(definition);
- }
-
- public static String getPackageNameForBindingImpl(Definition definition)
- {
- Port port = null;
- if (definition != null)
- {
- Service service = (Service)definition.getServices().values().iterator().next();
- port = (Port)service.getPorts().values().iterator().next();
- }
- return getPackageNameForBindingImpl(port);
- }
-
-// This is yet another naming algorithm based on webservices.jar
-// They always use the binding namespace as the package name
-// of the BindingImpl class.
-public static String getPackageNameForBindingImpl(Port port)
-{
- if (port != null)
- {
- Binding binding = port.getBinding();
-// PortType portType = binding.getPortType();
- QName bndQName = binding.getQName();
- String namespace = bndQName.getNamespaceURI();
- return namespaceURI2PackageName(namespace);
- }
- return "";
-}
-
-/**
-* Get the namespace for the Port Type
-*
-*/
-public static String getPortTypeNamespace(Definition definition)
-{
- String namespace = "";
- if (definition != null)
- {
- Service service = (Service) definition.getServices().values().iterator().next();
- Iterator iterator = service.getPorts().values().iterator();
- while(iterator.hasNext()){
- Port port = (Port) iterator.next();
- for (int i=0; i<port.getExtensibilityElements().size();i++) {
- if (port.getExtensibilityElements().get(i) instanceof SOAPAddress){
- PortType portType = port.getBinding().getPortType();
- QName bndQName = portType.getQName();
- namespace = bndQName.getNamespaceURI();
- }
- }
- }
- }
- return namespace;
-}
-
-// This is yet another naming algorithm based on webservices.jar
-// They always use the porttype namespace as the package name
-// of the Java class (in ejb).
-public static String getPackageNameForPortType(Definition definition)
-{
- if (definition != null)
- {
- String namespace = getPortTypeNamespace(definition);
- return namespaceURI2PackageName(namespace);
- }
- return "";
-}
-
- /**
- * checks if the input string is a valid java keyword.
- * @return boolean true/false
- */
- public static boolean isJavaKeyword(String keyword) {
- return (Arrays.binarySearch(keywords, keyword, englishCollator) >= 0);
- }
-
- /**
- * Turn a java keyword string into a non-Java keyword string. (Right now
- * this simply means appending an underscore.)
- */
- public static String makeNonJavaKeyword(String keyword){
- return keywordPrefix + keyword;
- }
-
- public static String getFullyQualifiedPortTypeName(Definition definition)
- {
- StringBuffer beanName = new StringBuffer();
- beanName.append(getPackageNameForPortType(definition));
- beanName.append(DOT);
- beanName.append(getPortTypeName(definition));
- return beanName.toString();
-
- }
-
- /**
- * getName
- * @param uri String
- * @return get the file name after the last \ and /
- */
- public static String getName(String uri) {
-
- // Get everything after last slash or backslash
- int bslash = uri.lastIndexOf("\\");
- int slash = uri.lastIndexOf("/");
- int i = bslash > slash ? bslash : slash;
- String fileName = uri.substring(i+1).replace('?', '.');
-
- return fileName;
- }
-
-
-/**
- * getWSDLName
- * @param uri String
- * @return get the file name after the last \ and /, trimmed, defaulted to
- * "default.wsdl" if there is no name, and ending with ".wsdl".
- */
- public static String getWSDLName(String uri) {
-
- // Get everything after last slash or backslash from input URI
- // with no whitespace.
- String WSDLName = getName(uri).trim();
-
- // if empty, return the default "default.wsdl"
- if ( WSDLName.equals( "" ) ) {
- WSDLName = "default.wsdl";
- }
-
- // make sure name ends with ".wsdl", lower case.
- else {
- if ( ! WSDLName.endsWith( ".wsdl" ) ) {
- if ( WSDLName.toLowerCase().endsWith( ".wsdl" ) ) {
- int lastDot = WSDLName.lastIndexOf(".");
- WSDLName = WSDLName.substring( 0, lastDot ) + ".wsdl";
- }
- else {
- WSDLName = WSDLName + ".wsdl";
- }
- }
- }
-
- return WSDLName;
- }
-
- /**
- * getPortTypeNameFromBeanName
- * @param beanname String
- * @return get the port type name based on the bean name
- */
- public static String getPortTypeNameFromBeanName(String beanName) {
- return beanName.substring(beanName.lastIndexOf('.') + 1);
- }
-
- public static String getPackageName(Service service, Map ns2pkgMap)
- {
- if (service != null)
- {
- String namespace = service.getQName().getNamespaceURI();
- if (ns2pkgMap != null)
- {
- Object pkg = ns2pkgMap.get(namespace);
- if (pkg != null)
- return (String)pkg;
- }
- return namespaceURI2PackageName(namespace);
- }
- else
- return "";
- }
-
- public static String getPackageName(Port port, Map ns2pkgMap)
- {
- if (port != null)
- return getPackageName(port.getBinding(), ns2pkgMap);
- else
- return "";
- }
-
- public static String getPackageName(Binding binding, Map ns2pkgMap)
- {
- if (binding != null)
- {
- String namespace = binding.getQName().getNamespaceURI();
- if (ns2pkgMap != null)
- {
- Object pkg = ns2pkgMap.get(namespace);
- if (pkg != null)
- return (String)pkg;
- }
- return namespaceURI2PackageName(namespace);
- }
- else
- return "";
- }
-
- public static String getPackageName(PortType portType, Map ns2pkgMap)
- {
- if (portType != null)
- {
- String namespace = portType.getQName().getNamespaceURI();
- if (ns2pkgMap != null)
- {
- Object pkg = ns2pkgMap.get(namespace);
- if (pkg != null)
- return (String)pkg;
- }
- return namespaceURI2PackageName(namespace);
- }
- else
- return "";
- }
-
-
- /**
- * namespaceURI2PackageName
- * @param namespaceURI
- * @return package name based on namespace
- */
- public static String namespaceURI2PackageName(String namespaceURI)
- {
- /**
- * TODO: The makePackageName method from
- * org.apache.axis.wsdl.toJava.Utils in axis-1_1 is called to map namespace to package name.
- * This will be replaced with an extension point to plug in runtime emitter specific namespace to
- * package mapping algorithm
- */
- return Utils.makePackageName(namespaceURI);
-
-// StringBuffer sb = new StringBuffer(80);
-// if (namespaceURI != null && namespaceURI.length() > 0)
-// {
-// String hostname = null;
-// try
-// {
-// hostname = new URL(namespaceURI).getHost();
-// }
-// catch (MalformedURLException e)
-// {
-// int index = namespaceURI.indexOf(":");
-// if (index > -1)
-// {
-// hostname = namespaceURI.substring(index+1);
-// index = hostname.indexOf("/");
-// if (index > -1)
-// hostname = hostname.substring(0, index);
-// }
-// else
-// hostname = namespaceURI;
-// }
-//
-// // if we didn't file a hostname, bail
-// if (hostname == null) {
-// return null;
-// }
-//
-// //convert illegal java identifier
-// hostname = hostname.replace('-', '_');
-// // tokenize the hostname and reverse it
-// StringTokenizer st = new StringTokenizer(hostname, ".");
-// String[] words = new String[st.countTokens()];
-// for (int i = 0; i < words.length; ++i)
-// words[i] = st.nextToken();
-// for(int i = words.length-1; i >= 0; --i)
-// {
-// String word = words[i];
-// if (isJavaKeyword(word))
-// word = makeNonJavaKeyword(word);
-// // seperate with dot
-// if (i != words.length-1)
-// sb.append('.');
-// // convert digits to underscores
-// if (Character.isDigit(word.charAt(0)))
-// sb.append('_');
-// sb.append(word);
-// }
-// }
-// return normalizePackageName(sb.toString(), DOT.charAt(0));
- }
-
-
- public static String resolveDotInPortName(String name) {
- if(name.indexOf(".")<0)
- {
- return name;
- }
- StringBuffer sb = new StringBuffer();
- boolean afterDot = false;
- for(int i=0; i<name.length(); i++)
- {
- if(name.charAt(i)=='.')
- {
- afterDot = true;
- }
- else if(afterDot)
- {
- sb.append(name.substring(i,i+1).toUpperCase());
- afterDot=false;
- }
- else
- {
- sb.append(name.charAt(i));
- }
- }
- return sb.toString();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsFragment.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsFragment.java
deleted file mode 100644
index b26999ede..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsFragment.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.widgets;
-
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-
-
-public class AxisMappingsFragment extends BooleanFragment
-{
- private boolean showMappings_;
-
- public AxisMappingsFragment()
- {
- super();
- setTrueFragment( new SimpleFragment( "AxisMappingsWidget" ));
- setCondition( new Condition()
- {
- public boolean evaluate()
- {
- return showMappings_;
- }
- } );
- }
-
- public void setShowMapping( boolean showMappings )
- {
- showMappings_ = showMappings;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsWidget.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsWidget.java
deleted file mode 100644
index ad8f74f2d..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisMappingsWidget.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.widgets;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParameter;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.TableViewerWidget;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.TableItem;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-
-public class AxisMappingsWidget extends SimpleWidgetDataContributor
-{
- private String pluginId_ = "org.eclipse.jst.ws.axis.consumption.ui";
-
- private TableViewerWidget mappings_;
-
- private byte mode_;
- private JavaWSDLParameter javaParameter_;
-
- public static final byte MODE_BEAN2XML = (byte)0;
- public static final byte MODE_XML2BEAN = (byte)1;
- public static final byte MODE_XML2PROXY = (byte)2;
- public static final byte MODE_XML2EJB = (byte)3;
- public static final byte MODE_EJB2XML = (byte)4;
-
- private final String DEFAULT_PACKAGE = "default.javapackage";
- private final String DEFAULT_NAMESPACE = "http://default.namespace";
-
- /*CONTEXT_ID PWJM0001 for the WSDL to Java Mappings Page*/
- private String INFOPOP_PWJM_PAGE = "PWJM0001"; //$NON-NLS-1$
-
- public AxisMappingsWidget( byte mode )
- {
- mode_ = mode;
- }
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
-
- // TODO The TOOLTIP_PWJM_PAGE key doesn't seem to exist anywhere???
- //parent.setToolTipText( msgUtils.getMessage( "TOOLTIP_PWJM_PAGE" ) );
- PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, pluginId_ + "." + INFOPOP_PWJM_PAGE );
-
- Text mappingLabel = new Text( parent, SWT.READ_ONLY | SWT.WRAP );
- mappingLabel.setText( AxisConsumptionUIMessages.LABEL_MAPPING_PAIRS );
- mappingLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
-
- List initValues = new ArrayList();
-
- if( mode_ == MODE_BEAN2XML || mode_ == MODE_EJB2XML)
- {
- String[] columns = { AxisConsumptionUIMessages.TABLE_COLUMN_LABEL_PACKAGE,
- AxisConsumptionUIMessages.TABLE_COLUMN_LABEL_NAMESPACE};
- mappings_ = new TableViewerWidget( columns, initValues, new String[] {DEFAULT_PACKAGE, DEFAULT_NAMESPACE}, TableViewerWidget.MAP_ONE_TO_ONE); //$NON-NLS-1$
- }
- else
- {
- String[] columns = { AxisConsumptionUIMessages.TABLE_COLUMN_LABEL_NAMESPACE,
- AxisConsumptionUIMessages.TABLE_COLUMN_LABEL_PACKAGE};
- mappings_ = new TableViewerWidget( columns, initValues, new String[] {DEFAULT_NAMESPACE, DEFAULT_PACKAGE }, TableViewerWidget.MAP_MANY_TO_ONE); //$NON-NLS-1$
- }
-
- mappings_.addControls( parent, statusListener );
-
- return this;
- }
-
- public IStatus getStatus()
- {
- return mappings_.getStatus();
- }
-
- public void setJavaParameter( JavaWSDLParameter parameter )
- {
- javaParameter_ = parameter;
- }
-
- public JavaWSDLParameter getJavaParameter()
- {
- if( mode_ == MODE_BEAN2XML || mode_ == MODE_EJB2XML || mode_ == MODE_XML2BEAN || mode_ == MODE_XML2PROXY)
- {
- //Set the mappings on javaParameter
- TableItem[] pairs = mappings_.getItems();
- HashMap map = new HashMap();
- for (int i=0; i<pairs.length; i++)
- {
- map.put(pairs[i].getText(0),pairs[i].getText(1));
- }
- javaParameter_.setMappings(map);
-
- //Set the namespace on the javaParameter
- String beanName = javaParameter_.getBeanName();
- if(beanName != null && !beanName.equals(""))
- {
- String packageName = beanName.substring(0, beanName.lastIndexOf('.'));
- if(map.containsKey(packageName))
- {
- String tns = (String)map.get(packageName);
- javaParameter_.setNamespace(tns);
- }
- }
-
- }
- return javaParameter_;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisProxyWidget.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisProxyWidget.java
deleted file mode 100644
index bc08bf119..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/widgets/AxisProxyWidget.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 115144 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.widgets;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-
-public class AxisProxyWidget extends SimpleWidgetDataContributor
-{
- private String pluginId_ = "org.eclipse.jst.ws.axis.consumption.ui";
-
- /*CONTEXT_ID PWJB0001 for the WSDL to Java Bindings Page*/
- private final String INFOPOP_PWJB_PAGE = "PWJB0001"; //$NON-NLS-1$
-
- private Combo outputFolderCombo_;
- /*CONTEXT_ID PWJB0003 for the Folder field of the WSDL to Java Bindings Page*/
- private final String INFOPOP_PWJB_TEXT_FOLDER = "PWJB0003"; //$NON-NLS-1$
-
- private Button genProxyCheckbox_;
- /*CONTEXT_ID PWJB0009 Indicates whether to generate a proxy or not. */
- private final String INFOPOP_PWJB_CHECKBOX_GENPROXY = "PWJB0009"; //$NON-NLS-1$
-
- private Button showMappingsCheckbox_;
- /*CONTEXT_ID PWJB0016 for the Show Mappings checkbox of the Bean Methods Page*/
- private String INFOPOP_N2P_SHOW_MAPPINGS = "PWJB0016"; //$NON-NLS-1$
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
- UIUtils uiUtils = new UIUtils( pluginId_ );
-
- parent.setToolTipText( AxisConsumptionUIMessages.TOOLTIP_PWJB_PAGE );
- PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, pluginId_ + "." + INFOPOP_PWJB_PAGE);
-
- genProxyCheckbox_ = uiUtils.createCheckbox( parent, AxisConsumptionUIMessages.CHECKBOX_GENPROXY,
- AxisConsumptionUIMessages.TOOLTIP_PWJB_CHECKBOX_GENPROXY,
- INFOPOP_PWJB_CHECKBOX_GENPROXY );
- genProxyCheckbox_.addListener( SWT.Selection, statusListener );
- genProxyCheckbox_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleGenProxy();
- }
- });
-
- Composite textGroup = uiUtils.createComposite( parent, 2, 5, 0 );
-
- outputFolderCombo_ = uiUtils.createCombo( textGroup, AxisConsumptionUIMessages.LABEL_FOLDER_NAME,
- AxisConsumptionUIMessages.TOOLTIP_PWJB_TEXT_FOLDER,
- INFOPOP_PWJB_TEXT_FOLDER,
- SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
-
- showMappingsCheckbox_ = uiUtils.createCheckbox( parent, AxisConsumptionUIMessages.LABEL_EXPLORE_MAPPINGS_XML2BEAN,
- AxisConsumptionUIMessages.TOOLTIP_N2P_SHOW_MAPPINGS,
- INFOPOP_N2P_SHOW_MAPPINGS );
- // Since this widget affects whether the next page is shown or not we
- // need to add the statusListener.
- showMappingsCheckbox_.addListener( SWT.Selection, statusListener );
-
- return this;
- }
-
- private void handleGenProxy()
- {
- boolean enabled = genProxyCheckbox_.getSelection();
-
- outputFolderCombo_.setEnabled( enabled );
- showMappingsCheckbox_.setEnabled( enabled );
- }
-
- public void setClientProject(IProject clientProject)
- {
- IPath[] paths = ResourceUtils.getAllJavaSourceLocations(clientProject);
-
- for (int i = 0; i < paths.length ; i++)
- {
- outputFolderCombo_.add(paths[i].toString());
- }
-
- if( paths.length > 0 )
- {
- outputFolderCombo_.select(0);
- }
- }
-
- public String getOutputFolder()
- {
- return outputFolderCombo_.getText();
- }
-
- public void setGenerateProxy( Boolean genProxy )
- {
- genProxyCheckbox_.setSelection( genProxy.booleanValue() );
- }
-
- public Boolean getGenerateProxy()
- {
- return new Boolean( genProxyCheckbox_.getSelection() );
- }
-
- public void setCustomizeClientMappings( boolean showMappings )
- {
- showMappingsCheckbox_.setSelection( showMappings );
- }
-
- public boolean getCustomizeClientMappings()
- {
- return showMappingsCheckbox_.getSelection() && genProxyCheckbox_.getSelection();
- }
-
- public void setIsClientScenario( boolean isClientScenario )
- {
- genProxyCheckbox_.setEnabled( !isClientScenario );
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wizard/client/WebServiceClientAxisType.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wizard/client/WebServiceClientAxisType.java
deleted file mode 100644
index bd851ad71..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wizard/client/WebServiceClientAxisType.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 115144 pmoogk@ca.ibm.com - Peter Moogk
- * 20060523 143284 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.axis.consumption.ui.wizard.client;
-
-import org.eclipse.jst.ws.internal.axis.consumption.ui.AxisConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.command.AxisClientDefaultingCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.command.DefaultsForClientJavaWSDLCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientCodeGenOperation;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.task.DefaultsForHTTPBasicAuthCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.task.ValidateWSDLCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.widgets.AxisMappingsWidget;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.widgets.AxisProxyWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-/**
- * Developers who are adding web service clients into the wizard should create
- * a class that implements this interface.
-**/
-public class WebServiceClientAxisType implements CommandWidgetBinding
-{
-
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- // AxisClientDefaultingCommand
- dataRegistry.addMapping( AxisClientDefaultingCommand.class, "CustomizeClientMappings", AxisProxyWidget.class );
- dataRegistry.addMapping( AxisClientDefaultingCommand.class, "ProxyProjectFolder", AxisProxyWidget.class, "ProxyFolder", null );
- dataRegistry.addMapping( AxisClientDefaultingCommand.class, "GenerateProxy", AxisProxyWidget.class);
- dataRegistry.addMapping( AxisClientDefaultingCommand.class, "IsClientScenario", AxisProxyWidget.class);
- dataRegistry.addMapping( AxisClientDefaultingCommand.class, "ClientProject", AxisProxyWidget.class );
- dataRegistry.addMapping( AxisClientDefaultingCommand.class, "JavaWSDLParam", AxisMappingsWidget.class, "JavaParameter", null);
-
- // AxisProxyWidget
- dataRegistry.addMapping( AxisProxyWidget.class, "GenerateProxy", ClientExtensionOutputCommand.class );
- dataRegistry.addMapping( AxisProxyWidget.class, "OutputFolder", DefaultsForClientJavaWSDLCommand.class );
-
- //AxisMappingsWidget
- dataRegistry.addMapping(AxisMappingsWidget.class, "JavaParameter", DefaultsForHTTPBasicAuthCommand.class, "JavaWSDLParam", null); //OK
- dataRegistry.addMapping(AxisMappingsWidget.class, "JavaParameter", DefaultsForClientJavaWSDLCommand.class, "JavaWSDLParam", null); //OK
- dataRegistry.addMapping(AxisMappingsWidget.class, "JavaParameter", ValidateWSDLCommand.class, "JavaWSDLParam", null); //OK
- dataRegistry.addMapping(AxisMappingsWidget.class, "JavaParameter", ClientCodeGenOperation.class, "JavaWSDLParam", null); //OK
-
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
-
- widgetRegistry.add( "AxisClientStart",
- AxisConsumptionUIMessages.PAGE_TITLE_WS_AXIS_PROXY,
- AxisConsumptionUIMessages.PAGE_DESC_WS_AXIS_PROXY,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new AxisProxyWidget();
- }
- } );
-
- widgetRegistry.add( "AxisClientBeanMapping",
- AxisConsumptionUIMessages.PAGE_TITLE_WS_XML2PROXY,
- AxisConsumptionUIMessages.LABEL_EXPLORE_MAPPINGS_XML2BEAN,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new AxisMappingsWidget(AxisMappingsWidget.MODE_XML2PROXY );
- }
- } );
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- //dead code - doesn't matter what gets returned here.
- return new SimpleFragment();
- }
- };
- }
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisClientConfigWidgetFactory.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisClientConfigWidgetFactory.java
deleted file mode 100644
index cdb7e9fbf..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisClientConfigWidgetFactory.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.ui.wsrt;
-
-import org.eclipse.jst.ws.internal.axis.consumption.ui.widgets.AxisProxyWidget;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.wizard.client.WebServiceClientAxisType;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetBindingToWidgetFactoryAdapter;
-
-public class AxisClientConfigWidgetFactory implements INamedWidgetContributorFactory {
-
- private INamedWidgetContributor proxyConfigWidget_;
- private INamedWidgetContributor mappingsWidget_;
- private AxisProxyWidget proxyWidget_;
- private WidgetBindingToWidgetFactoryAdapter adapter_;
-
- public AxisClientConfigWidgetFactory()
- {
- adapter_ = new WidgetBindingToWidgetFactoryAdapter( new WebServiceClientAxisType() );
-
- proxyConfigWidget_ = adapter_.getWidget( "AxisClientStart" );
- proxyWidget_ = (AxisProxyWidget)proxyConfigWidget_.getWidgetContributorFactory().create();
- mappingsWidget_ = adapter_.getWidget( "AxisClientBeanMapping" );
- }
-
- public INamedWidgetContributor getFirstNamedWidget()
- {
- return proxyConfigWidget_;
- }
-
- public INamedWidgetContributor getNextNamedWidget( INamedWidgetContributor widgetContributor)
- {
- return widgetContributor == proxyConfigWidget_ && proxyWidget_.getCustomizeClientMappings() ? mappingsWidget_ : null;
- }
-
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- adapter_.registerDataMappings( dataRegistry );
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisWebServiceClient.java b/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisWebServiceClient.java
deleted file mode 100644
index e645096a5..000000000
--- a/bundles/org.eclipse.jst.ws.axis.consumption.ui/src/org/eclipse/jst/ws/internal/axis/consumption/ui/wsrt/AxisWebServiceClient.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 115144 pmoogk@ca.ibm.com - Peter Moogk
- * 20060509 125094 sengpl@ca.ibm.com - Seng Phung-Lu, Use WorkspaceModifyOperation
- * 20060515 115225 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.axis.consumption.ui.wsrt;
-
-import java.util.Vector;
-
-import org.eclipse.jst.ws.internal.axis.consumption.ui.command.AxisClientDefaultingCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.command.AxisClientInputCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.command.AxisClientOutputCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.command.DefaultsForClientJavaWSDLCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientCodeGenOperation;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.task.DefaultsForHTTPBasicAuthCommand;
-import org.eclipse.jst.ws.internal.axis.consumption.ui.task.ValidateWSDLCommand;
-import org.eclipse.jst.ws.internal.common.StringToIProjectTransformer;
-import org.eclipse.jst.ws.internal.consumption.command.common.BuildProjectCommand;
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.wsrt.AbstractWebServiceClient;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-
-public class AxisWebServiceClient extends AbstractWebServiceClient
-{
-
- public AxisWebServiceClient(WebServiceClientInfo info)
- {
- super(info);
- // TODO Auto-generated constructor stub
- }
-
- public ICommandFactory assemble(IEnvironment env, IContext ctx,
- ISelection sel, String project, String earProject)
- {
- return null;
- }
-
- public ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject)
- {
- return null;
- }
-
- public ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject)
- {
- EclipseEnvironment environment = (EclipseEnvironment)env;
- registerDataMappings( environment.getCommandManager().getMappingRegistry());
-
- Vector commands = new Vector();
- commands.add(new AxisClientInputCommand(this, ctx, project));
- commands.add(new AxisClientDefaultingCommand());
-// commands.add(new SimpleFragment("AxisClientStart"));
-// commands.add(new SimpleFragment("AxisClientBeanMapping"));
- commands.add(new DefaultsForHTTPBasicAuthCommand());
-// commands.add(new CopyAxisJarCommand());
- commands.add(new DefaultsForClientJavaWSDLCommand());
- commands.add(new ValidateWSDLCommand());
- commands.add(new ClientCodeGenOperation());
- commands.add(new AxisClientOutputCommand(this,ctx));
- commands.add(new BuildProjectCommand());
- return new SimpleCommandFactory(commands);
- }
-
- public ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject)
- {
- return null;
- }
-
- public ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject)
- {
- return null;
- }
-
- public void registerDataMappings(DataMappingRegistry registry)
- {
- // AxisClientDefaultingCommand
- registry.addMapping(AxisClientInputCommand.class, "ClientProject", AxisClientDefaultingCommand.class, "ClientProject",
- new StringToIProjectTransformer());
-// registry.addMapping(ClientExtensionDefaultingCommand.class, "ClientRuntime", AxisClientDefaultingCommand.class, "ClientRuntimeID",
-// null);
-// registry.addMapping(ClientExtensionDefaultingCommand.class, "WebServicesParser", AxisClientDefaultingCommand.class);
-// registry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", AxisClientDefaultingCommand.class,
-// "ClientProjectEAR", new StringToIProjectTransformer());
- registry.addMapping(AxisClientInputCommand.class, "WsdlURL", AxisClientDefaultingCommand.class); // URI
- // to
- // URL
- // transformer
- // req'd??
-// registry.addMapping(ClientExtensionDefaultingCommand.class, "TestProxySelected", AxisClientDefaultingCommand.class,
-// "TestProxySelected", null);
- registry.addMapping(AxisClientInputCommand.class, "ClientServer", AxisClientDefaultingCommand.class);
-// registry.addMapping(ClientExtensionDefaultingCommand.class, "IsClientScenario", AxisClientDefaultingCommand.class);
- registry.addMapping(AxisClientInputCommand.class, "GenerateProxy", AxisClientDefaultingCommand.class);
- // DefaultsForHTTPBasicAuthCommand()
- registry.addMapping(AxisClientDefaultingCommand.class, "JavaWSDLParam", DefaultsForHTTPBasicAuthCommand.class); //OK
- registry.addMapping(AxisClientDefaultingCommand.class, "WsdlURL", DefaultsForHTTPBasicAuthCommand.class, "WsdlServiceURL", null); //OK
- registry.addMapping(AxisClientDefaultingCommand.class, "WebServicesParser", DefaultsForHTTPBasicAuthCommand.class); //OK
-
-// registry.addMapping(AxisClientDefaultingCommand.class, "ClientProject", CopyAxisJarCommand.class, "Project", null);
-
- // DefaultsForClientJavaWSDLCommand() // javaParam_, model_
- registry.addMapping(AxisClientDefaultingCommand.class, "JavaWSDLParam", DefaultsForClientJavaWSDLCommand.class);
- registry.addMapping(AxisClientDefaultingCommand.class, "ClientProject", DefaultsForClientJavaWSDLCommand.class, "ProxyProject",
- null);
- // registry.addMapping(AxisClientDefaultingCommand.class, "WsdlURL",
- // DefaultsForClientJavaWSDLCommand.class,"WSDLServicePathname",null);
- // //
- // URL to URL??
- registry.addMapping(AxisClientDefaultingCommand.class, "WsdlURL", DefaultsForClientJavaWSDLCommand.class, "WSDLServiceURL", null); // URI
- // to
- // URL??
- // ValidateWSDLCommand()
- registry.addMapping(AxisClientDefaultingCommand.class, "JavaWSDLParam", ValidateWSDLCommand.class);
- registry.addMapping(AxisClientDefaultingCommand.class, "WsdlServiceURL", ValidateWSDLCommand.class);
- registry.addMapping(AxisClientDefaultingCommand.class, "WebServicesParser", ValidateWSDLCommand.class);
-
- // WSDL2JavaCommand() // javaParam_
- registry.addMapping(AxisClientDefaultingCommand.class, "JavaWSDLParam", ClientCodeGenOperation.class);
- registry.addMapping(AxisClientDefaultingCommand.class, "WsdlURL", ClientCodeGenOperation.class, "WsdlURI", null);
-
- // RefreshProjectCommand()
- registry.addMapping(AxisClientDefaultingCommand.class, "ClientProject", ClientCodeGenOperation.class, "Project", null);
-
- // Stub2BeanCommand()
- registry.addMapping(AxisClientDefaultingCommand.class, "WebServicesParser", ClientCodeGenOperation.class);
- registry.addMapping(DefaultsForClientJavaWSDLCommand.class, "OutputFolder", ClientCodeGenOperation.class );
-
- // BuildProjectCommand()
- registry.addMapping(AxisClientDefaultingCommand.class, "ClientProject", BuildProjectCommand.class, "Project", null);
- registry.addMapping(AxisClientDefaultingCommand.class, "ForceBuild", BuildProjectCommand.class);
- registry.addMapping(AxisClientDefaultingCommand.class, "ValidationManager", BuildProjectCommand.class);
-
- registry.addMapping(ClientCodeGenOperation.class, "ProxyBean", AxisClientOutputCommand.class, "ProxyBean", null);
- registry.addMapping(ClientCodeGenOperation.class, "ProxyEndpoint", AxisClientOutputCommand.class);
-// registry.addMapping(AxisClientDefaultingCommand.class, "GenerateProxy", ClientExtensionOutputCommand.class);
-// registry.addMapping(AxisClientDefaultingCommand.class, "SetEndpointMethod", ClientExtensionOutputCommand.class);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.classpath b/bundles/org.eclipse.jst.ws.consumption.ui/.classpath
deleted file mode 100644
index cb0105380..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.cvsignore b/bundles/org.eclipse.jst.ws.consumption.ui/.cvsignore
deleted file mode 100644
index d6f454747..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-build.xml
-temp.folder
-wsc-ui.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.project b/bundles/org.eclipse.jst.ws.consumption.ui/.project
deleted file mode 100644
index e1026041e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.consumption.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 160fd76fa..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:36:02 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index e53eddf8a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:20 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.consumption.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index be37de2fc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,78 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.consumption.ui; singleton:=true
-Bundle-Version: 1.0.103.qualifier
-Bundle-Activator: org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.internal.consumption.ui;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.action;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.ant;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.command;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.command.data;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.common;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.extension;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.plugin;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.preferences;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.selection;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.server;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets.object;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets.test;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.wizard;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.wsil;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.ui.wsrt;x-internal:=true
-Require-Bundle: org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.ws.explorer;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws.ui;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.ws.consumption;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jem;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.emf.ecore;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.jdt.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.emf.ecore.xmi;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.server.ui;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.ejb;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.web;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.emf;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.emfworkbench.integration;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.webservice;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.webservice.ui;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.modulecore;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.ws.ui;bundle-version="[1.0.100,1.1.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.wsdl.validation;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.frameworks.ui;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.common.project.facet.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.debug.core;bundle-version="[3.2.0,4.0.0)",
- com.ibm.icu;bundle-version="[3.4.4,3.5.0)",
- org.apache.xerces;bundle-version="[2.8.0,2.9.0)",
- org.eclipse.ui.forms;bundle-version="[3.2.0,3.3.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/about.html b/bundles/org.eclipse.jst.ws.consumption.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/build.properties b/bundles/org.eclipse.jst.ws.consumption.ui/build.properties
deleted file mode 100644
index ffb8cb268..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/build.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-source.. = src/
-bin.includes = .,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- META-INF/,\
- about.html
-src.includes = schema/
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_assemble.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_assemble.jpg
deleted file mode 100644
index e67667975..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_assemble.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_deploy.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_deploy.jpg
deleted file mode 100644
index 7cfc866ab..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_deploy.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_develop.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_develop.jpg
deleted file mode 100644
index d659e2419..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_develop.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_install.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_install.jpg
deleted file mode 100644
index 08225080c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_install.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_none.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_none.jpg
deleted file mode 100644
index 91c8fa95f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_none.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_run.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_run.jpg
deleted file mode 100644
index 363ac70e9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_run.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_test.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_test.jpg
deleted file mode 100644
index 36b94451d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_test.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/config_handler_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/config_handler_wiz.gif
deleted file mode 100644
index 8da3a2131..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/config_handler_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/configure_handlers.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/configure_handlers.gif
deleted file mode 100644
index a113c85cc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/configure_handlers.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/generated_sample.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/generated_sample.gif
deleted file mode 100644
index eaba51f62..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/generated_sample.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/newclient_webserv_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/newclient_webserv_wiz.gif
deleted file mode 100644
index 1ee05fa2e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/newclient_webserv_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/configure_handlers.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/configure_handlers.gif
deleted file mode 100644
index 1060dd967..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/configure_handlers.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gif
deleted file mode 100644
index 590d3965f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gif
deleted file mode 100644
index 68b7a2651..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gif
deleted file mode 100644
index 927ad5ad4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gif
deleted file mode 100644
index 641fe843a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gif
deleted file mode 100644
index a3061e6ff..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gif
deleted file mode 100644
index 5b43cae7b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpg
deleted file mode 100644
index 4da5ca0c0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpg
deleted file mode 100644
index df1207dfa..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpg
deleted file mode 100644
index 9741fde03..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpg
deleted file mode 100644
index 35d4e22d7..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpg
deleted file mode 100644
index 82bbd5cf4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpg
deleted file mode 100644
index b0806f7c3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpg
deleted file mode 100644
index 818bcffee..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gif
deleted file mode 100644
index afb6cb7d7..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gif
deleted file mode 100644
index afb6cb7d7..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gif
deleted file mode 100644
index 53e7dbd12..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gif
deleted file mode 100644
index 11b34b7db..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gif
deleted file mode 100644
index 618a946cd..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gif
deleted file mode 100644
index 8fb844f5b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gif
deleted file mode 100644
index 7c5916fb6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties b/bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties
deleted file mode 100644
index 66e02b191..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties
+++ /dev/null
@@ -1,133 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-# -------- -------- -----------------------------------------------------------
-# 20060515 141536 pmoogk@ca.ibm.com - Peter Moogk
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Consumption Graphical User Interface
-PLUGIN_PROVIDER=Eclipse.org
-
-FEATURE_DESCRIPTION=Web services
-WEBSERVICES_CATEGORY=Web services
-
-XP_wsImpl=Web service implementations
-XP_wsClientImpl=Web service client implementations
-XP_runtimes=Web service runtimes
-XP_serviceRuntimes=Combination of a Web service runime, service implementation type, and required facets
-XP_clientRuntimes=Combination of a Web service runime, client implementation type, and required facets
-XP_tester=Web service test facilities
-
-XP_PUBLIC_UDDI_REGISTRY_TYPES=Public UDDI Registry Types
-XP_PRIVATE_UDDI_REGISTRY_TYPES=Private UDDI Registry Types
-XP_WEB_SERVICE_CLIENT_TYPES=Web Service Client Types
-XP_WEB_SERVICE_TEST=Web Service Test
-XP_WEB_SERVICE_SERVER_RUNTIME_TYPES=Web Service Server Runtime Types
-XP_WEB_SERVICE_CLIENT_PROJECT_TYPE=clientProjectType
-XP_OBJECT_SELECTION_WIDGET=objectSelectionWidget
-
-#
-# Wizards.
-#
-WIZARD_TITLE_WSC=Web Service Client
-
-PLUGIN_NEW_WIZARD_NAME_WS_CLIENT=Web Service Client
-PLUGIN_IMPORT_WIZARD_NAME_WS=Web Service
-PLUGIN_NEW_WIZARD_DESC_WS_CLIENT=Access an existing XML web service
-PLUGIN_IMPORT_WIZARD_DESC_WS=A wizard for importing a web service
-IMPORT_WIZARD_DESC_WSIL=Import WSDL references to a WSIL document
-
-#
-# Web Samples IDs
-#
-SAMPLE_TYPE_WEBSERVICES_ID=Web service sample JSPs
-
-#
-# Pop-up actions
-#
-ACTION_GENERATE_JAVA_PROXY=Generate Client
-ACTION_GEN_SAMPLE=Generate Sample JSPs
-
-#
-# Dialogs
-#
-CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG=Hide &Generate Java bean Proxy Dialog
-CHECKBOX_SHOW_PROXY2SAMPLE_DIALOG=Hide &Proxy To Sample Generation Dialog
-TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY=Hide the dialog for generating the Java bean proxy action.
-TOOLTIP_PPAD_CHECKBOX_PROXY2SAMPLE=Hide the dialog for generating the sample application action.
-
-#
-# Web Services Preferance Pages
-#
-# Categories
-
-PREFERENCE_CATEGORY_SERVER_RUNTIME=Server and Runtime
-PREFERENCE_CATEGORY_PROJECT_TOPOLOGY=Project Topology
-PREFERENCE_CATEGORY_TEST_FACILITY=Test Facility Defaults
-PREFERENCE_CATEGORY_DIALOGS=Popup Dialog Selection
-
-
-#
-# Pop-up actions
-#
-MENU_RUN=&Run
-
-#
-# WebServiceTestPage
-#
-WSEXPLORER_ID=Web Services Explorer
-
-#
-# WebServicePublishPage
-#
-TOOLTIP_LAUNCH_WS_EXPLORER=Launch the Web Services Explorer
-COMMAND_LAUNCH_WS_EXPLORER=Launch the Web Services Explorer
-
-#
-# PublicUDDIRegistryType
-#
-PUBLICUDDIREGISTRYTYPE_NAME_SAP=SAP UDDI Registry
-PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST=SAP UDDI Test Registry
-PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS=XMethods Registry
-PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM=NTT Communications Registry
-
-#
-# WSIL proxy
-#
-IMPORT_WIZARD_NAME_WSIL=WSIL
-POPUP_GENERATE_WSIL=Generate WSIL
-
-#
-# Web Service Server Runtime Type
-#
-WEBSERVICETYPE_NAME_WSDL=Skeleton Java bean Web Service
-WEBSERVICETYPE_NAME_JAVA=Java bean Web Service
-
-#
-# Web service client implementation type
-#
-JAVA_PROXY=Java Proxy
-#
-# Client project type
-#
-LABEL_CLIENT_TYPE_WEB=Web
-LABEL_CLIENT_TYPE_EJB=EJB
-LABEL_CLIENT_TYPE_APP_CLIENT=Application Client
-LABEL_CLIENT_TYPE_CONTAINERLESS=Java
-
-#
-# Handlers Configuration wizard page
-#
-POPUP_ADD_HANDLERS=Configure Handlers
-POPUP_CONFIG_CLIENT_HANDLERS=Configure Client Handlers
-LABEL_HANDLERS_CONFIG=Configure Handlers
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml b/bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml
deleted file mode 100644
index e9ce6ae99..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml
+++ /dev/null
@@ -1,782 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point
- id="publicUDDIRegistryType"
- name="%XP_PUBLIC_UDDI_REGISTRY_TYPES"/>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point
- id="privateUDDIRegistryType"
- name="%XP_PRIVATE_UDDI_REGISTRY_TYPES"/>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point
- id="webServiceTest"
- name="%XP_WEB_SERVICE_TEST"
- schema="schema/webServiceTest.exsd"/>
-
- <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
- <extension-point
- id="objectSelectionWidget"
- name="%XP_OBJECT_SELECTION_WIDGET"
- schema="schema/objectSelectionWidget.exsd"/>
-
- <!-- UDDI Registry Types -->
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
- <publicUDDIRegistryType
- name="%PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST"
- class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAPTest"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAPTest">
- </publicUDDIRegistryType>
- </extension>
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
- <publicUDDIRegistryType
- name="%PUBLICUDDIREGISTRYTYPE_NAME_SAP"
- class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAP"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAP">
- </publicUDDIRegistryType>
- </extension>
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
- <publicUDDIRegistryType
- name="%PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS"
- class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryXMethods"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryXMethods">
- </publicUDDIRegistryType>
- </extension>
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
- <publicUDDIRegistryType
- name="%PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM"
- class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryNTTComm"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryNTTComm">
- </publicUDDIRegistryType>
- </extension>
-
- <!-- Test Facilities -->
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.webServiceTest">
-
- <webServiceTest
- methodsneeded="true"
- name="%SAMPLE_TYPE_WEBSERVICES_ID"
- java="true"
- codegen="true"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.WebServiceWSSampleExecutable"
- id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTest">
- </webServiceTest>
-
- <webServiceTest
- methodsneeded="false"
- name="%WSEXPLORER_ID"
- java="false"
- codegen="false"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WebServiceExplorerExecutable"
- id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WebServiceExplorerExecutable">
- </webServiceTest>
-
- </extension>
-
- <!-- Dynamic Wizards -->
-
- <extension
- point="org.eclipse.ui.newWizards">
- <wizard
- name="%PLUGIN_NEW_WIZARD_NAME_WS_CLIENT"
- icon="icons/full/ctool16/newclient_webserv_wiz.gif"
- category="org.eclipse.jst.ws.ui.new"
- class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- <description>
- %PLUGIN_NEW_WIZARD_DESC_WS_CLIENT
- </description>
- <selection
- class="org.eclipse.core.resources.IResource">
- </selection>
- </wizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/full/wizban/webservicesclient_wiz.gif"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ClientWidgetBinding"
- title="%WIZARD_TITLE_WSC"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- </dynamicWizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/gen_sample_wiz.gif"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.GenSampleWidgetBinding"
- title="%WIZARD_TITLE_WSC"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
- </dynamicWizard>
- </extension>
-
- <!-- Handler extensions -->
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/config_handler_wiz.gif"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ConfigServiceHandlersWidgetBinding"
- title="%LABEL_HANDLERS_CONFIG"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
- </dynamicWizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/config_handler_wiz.gif"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ConfigClientHandlersWidgetBinding"
- title="%LABEL_HANDLERS_CONFIG"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
- </dynamicWizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/config_handler_wiz.gif"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ConfigureHandlersWidgetBinding"
- title="%LABEL_HANDLERS_CONFIG"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers">
- </dynamicWizard>
- </extension>
-
- <extension
- point="org.eclipse.ui.importWizards">
- <category
- id="org.eclipse.jst.ws.consumption.ui.wsimport.category"
- name="%WEBSERVICES_CATEGORY"/>
- </extension>
-
- <extension
- point="org.eclipse.ui.importWizards">
- <wizard
- name="%PLUGIN_IMPORT_WIZARD_NAME_WS"
- icon="icons/import_ws.gif"
- category="org.eclipse.jst.ws.consumption.ui.wsimport.category"
- class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
- id="org.eclipse.jst.ws.consumption.ui.wsimport">
- <description>
- %PLUGIN_IMPORT_WIZARD_DESC_WS
- </description>
- </wizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/import_ws_wiz.gif"
- name="%PLUGIN_IMPORT_WIZARD_NAME_WS"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ImportWSWidgetBinding"
- id="org.eclipse.jst.ws.consumption.ui.wsimport">
- </dynamicWizard>
- </extension>
-
- <extension
- point="org.eclipse.ui.importWizards">
- <wizard
- name="%IMPORT_WIZARD_NAME_WSIL"
- icon="icons/wsil/import_wsil.gif"
- category="org.eclipse.jst.ws.consumption.ui.wsimport.category"
- class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
- id="org.eclipse.jst.ws.consumption.ui.wsilimport">
- <description>
- %IMPORT_WIZARD_DESC_WSIL
- </description>
- </wizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/wsil/import_wiz_banner_wsil.gif"
- name="%IMPORT_WIZARD_NAME_WSIL"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ImportWSILWidgetBinding"
- id="org.eclipse.jst.ws.consumption.ui.wsilimport">
- </dynamicWizard>
- </extension>
-
- <!-- Preference Pages -->
-
- <extension
- point="org.eclipse.ui.preferencePages">
-
- <page
- name="%PREFERENCE_CATEGORY_SERVER_RUNTIME"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.jst.ws.internal.consumption.ui.preferences.ServerRuntimePreferencePage"
- id="org.eclipse.jst.ws.internal.consumption.ui.preferences.ServerRuntimePreferencePage">
- </page>
-
- <page
- name="%PREFERENCE_CATEGORY_DIALOGS"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.wst.command.internal.env.ui.preferences.ActionDialogsPreferencePage"
- id="org.eclipse.jst.wss.popup.category">
- </page>
-
- <page
- name="%PREFERENCE_CATEGORY_TEST_FACILITY"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.jst.ws.internal.ui.preferences.TestFacilityDefaultsPreferencePage"
- id="org.eclipse.jst.ws.internal.ui.preferences.TestFacilityDefaultsPreferencePage">
- </page>
-
- <page
- name="%PREFERENCE_CATEGORY_PROJECT_TOPOLOGY"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyPreferencePage"
- id="org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyPreferencePage">
- </page>
-
- </extension>
-
- <!-- Main Menu Actions -->
-
- <extension point="org.eclipse.ui.actionSets">
-
- <actionSet
- label="%COMMAND_LAUNCH_WS_EXPLORER"
- visible="true"
- id="org.eclipse.jst.ws.consumption">
- <menu
- label="%MENU_RUN"
- path="additions"
- id="org.eclipse.ui.run">
- <separator name="explorer">
- </separator>
- </menu>
- <action
- label="%COMMAND_LAUNCH_WS_EXPLORER"
- icon="icons/registry.gif"
- tooltip="%TOOLTIP_LAUNCH_WS_EXPLORER"
- class="org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEAction"
- menubarPath="org.eclipse.ui.run/explorer"
- toolbarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEAction">
- </action>
- </actionSet>
-
- </extension>
-
- <!-- "Don't Show Me" Extensions -->
-
- <extension
- point="org.eclipse.wst.command.env.actionDialogPreferenceType">
-
- <actionDialogPreferenceType
- showcheckbox="true"
- name="%CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG"
- category="org.eclipse.jst.wss.popup.category"
- tooltip="%TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY"
- infopop="org.eclipse.jst.ws.consumption.ui.PPAD0004"
- alwayshide="false"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- </actionDialogPreferenceType>
-
- <actionDialogPreferenceType
- name="%CHECKBOX_SHOW_PROXY2SAMPLE_DIALOG"
- category="org.eclipse.jst.wss.popup.category"
- tooltip="%TOOLTIP_PPAD_CHECKBOX_PROXY2SAMPLE"
- infopop="org.eclipse.jst.ws.consumption.ui.PPAD0005"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
- </actionDialogPreferenceType>
-
- <actionDialogPreferenceType
- showcheckbox="false"
- alwayshide="false"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
- </actionDialogPreferenceType>
-
- <!-- actionDialogPreferenceType
- showcheckbox="false"
- alwayshide="false"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- </actionDialogPreferenceType -->
-
- </extension>
-
- <!-- Popups -->
-
- <extension
- point="org.eclipse.ui.popupMenus">
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsdl"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
- <action
- label="%POPUP_GENERATE_WSIL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.consumption.ui.wsilimport">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsdl"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- <action
- label="%ACTION_GENERATE_JAVA_PROXY"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsil"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- <action
- label="%ACTION_GENERATE_JAVA_PROXY"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.java"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
- <action
- label="%ACTION_GEN_SAMPLE"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jdt.internal.core.CompilationUnit"
- nameFilter="*.java"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
- <action
- label="%ACTION_GEN_SAMPLE"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.Service"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- <action
- label="%ACTION_GENERATE_JAVA_PROXY"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.Service"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
- <action
- label="%POPUP_GENERATE_WSIL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.consumption.ui.wsilimport">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="webservices.xml"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_ADD_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.Service"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_ADD_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_ADD_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers">
- </action>
- <visibility>
- <objectState
- name="type"
- value="Handlers">
- </objectState>
- </visibility>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_ADD_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="webservicesclient.xml"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_CONFIG_CLIENT_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="ejb-jar.xml"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_CONFIG_CLIENT_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="web.xml"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_CONFIG_CLIENT_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="application-client.xml"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_CONFIG_CLIENT_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
- <action
- label="%POPUP_CONFIG_CLIENT_HANDLERS"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- <action
- label="%ACTION_GENERATE_JAVA_PROXY"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- <action
- label="%ACTION_GENERATE_JAVA_PROXY"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
- <action
- label="%POPUP_GENERATE_WSIL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.consumption.ui.wsilimport">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
- <action
- label="%POPUP_GENERATE_WSIL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.consumption.ui.wsilimport">
- </action>
- </objectContribution>
- </extension>
-
- <!-- Object Selection Widgets -->
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.objectSelectionWidget">
- <objectSelectionWidget
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.JavaBeanSelectionLaunchable"
- external_modify="true"
- id="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.JavaBeanSelectionWidget"
- transformer="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.JavaBeanSelectionTransformer">
- </objectSelectionWidget>
- </extension>
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.objectSelectionWidget">
- <objectSelectionWidget
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget"
- external_modify="false"
- id="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget"
- transformer="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionTransformer">
- </objectSelectionWidget>
- </extension>
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.objectSelectionWidget">
- <objectSelectionWidget
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget"
- external_modify="true"
- id="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget"
- transformer="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionTransformer">
- </objectSelectionWidget>
- </extension>
-
- <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
- <extension-point id="wsImpl" name="%XP_wsImpl"/>
-
- <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
- <extension-point id="wsClientImpl" name="%XP_wsClientImpl"/>
-
- <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
- <extension-point id="runtimes" name="%XP_runtimes" />
-
- <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
- <extension-point id="serviceRuntimes" name="%XP_serviceRuntimes" />
-
- <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
- <extension-point id="clientRuntimes" name="%XP_clientRuntimes" />
-
- <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
- <extension-point id="tester" name="%XP_tester"/>
-
-<!-- Test Extensions beginning -->
-
-<extension point="org.eclipse.jst.ws.consumption.ui.tester">
- <tester
- id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTest"
- label="%SAMPLE_TYPE_WEBSERVICES_ID"
- testWSDL="no"
- wsClientImplIds="org.eclipse.jst.ws.client.type.java"
- moduletypes="webmodule"
- methodsneeded="true"
- codeGenerated="true"
- serverRequired="true"
- allowClientRuntimesRestriction="true"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.GSTCWebServiceTester">
- </tester>
-</extension>
-<extension point="org.eclipse.jst.ws.consumption.ui.tester">
- <tester
- id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WebServiceExplorer"
- label="%WSEXPLORER_ID"
- testWSDL="yes"
- wsClientImplIds="org.eclipse.jst.ws.client.type.java"
- moduletypes="webmodule"
- methodsneeded="false"
- codeGenerated="false"
- serverRequired="false"
- class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WSEWebServiceTester">
- </tester>
-</extension>
-
-<!-- Test Extensions end -->
-
-<extension point="org.eclipse.jst.ws.consumption.ui.wsImpl">
- <webServiceImpl
- id="org.eclipse.jst.ws.wsImpl.java"
- label="%WEBSERVICETYPE_NAME_JAVA"
- resourceTypeMetadata="File IResource CompilationUnit"
- extensionMetadata=".java .class"
- objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.JavaBeanSelectionWidget">
- </webServiceImpl>
-</extension>
-<extension point="org.eclipse.jst.ws.consumption.ui.wsClientImpl">
- <webServiceClientImpl
- id="org.eclipse.jst.ws.client.type.java"
- label="%JAVA_PROXY">
- </webServiceClientImpl>
-</extension>
-
- <extension point="org.eclipse.wst.command.env.ui.widgetRegistry">
- <widgetFactory
- id="StartClientServer"
- insertBeforeCommandId="org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientRunCommand"
- class="org.eclipse.jst.ws.internal.consumption.ui.server.StartClientWidgetFactory"/>
- </extension>
-
- <extension point="org.eclipse.wst.command.env.antScenario">
- <antScenario
- class="org.eclipse.jst.ws.internal.consumption.ui.ant.AntClientRootCommandFragment"
- scenarioType="client"/>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.antDataMapping">
- <map
- key="InitialSelection"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand"
- property="InitialInitialSelection"
- required="true"
- transform="org.eclipse.jst.ws.internal.common.String2SelectionTransformer"/>
- <map
- key="InitialSelection"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand"
- property="InitialSelection"
- required="true"
- transform="org.eclipse.jst.ws.internal.common.String2SelectionTransformer"/>
-
- <map
- key="Client.RuntimeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
-
- <map
- key="Client.ServerId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
-
- <map
- key="Client.TypeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="TestService"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="TestService"/>
-
- <map
- key="MonitorService"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="MonitorService"/>
-
- <map
- key="Client.RuntimeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Client.ServerId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Client.TypeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="ClientProjectName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="ClientProjectName"/>
- <map
- key="ClientProjectName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand"
- property="ClientProjectName"/>
- <map
- key="ClientEarProjectName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="ClientEarProjectName"/>
- <map
- key="ClientComponentType"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
- property="ClientComponentType"/>
- <map
- key="Client.RuntimeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Client.ServerId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Client.TypeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment"
- property="ClientTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
-
- <!-- mappings for listing options -->
- <map
- key="ListRuntimes"
- operation="org.eclipse.jst.ws.internal.consumption.ui.command.ListOptionsCommand"
- property="ListRuntimes"
- transform="org.eclipse.wst.command.internal.env.ant.String2BooleanTransformer"
- />
-
- <map
- key="ListServers"
- operation="org.eclipse.jst.ws.internal.consumption.ui.command.ListOptionsCommand"
- property="ListServers"
- transform="org.eclipse.wst.command.internal.env.ant.String2BooleanTransformer"
- />
- </extension>
-</plugin>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd
deleted file mode 100644
index ee40db453..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="clientProjectType" name="Client Project Type"/>
- </appInfo>
- <documentation>
- This extension point defines client container types.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="clientProjectType" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="clientProjectType">
- <complexType>
- <attribute name="include" type="string" use="required">
- <annotation>
- <documentation>
- This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type only works with these particular project types. For example, if this type only works with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="exclude" type="string" use="required">
- <annotation>
- <documentation>
- This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type DOES NOT work with these particular project types. For example, if this type does not work with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- This label represents this client project type. It is displayed to the user so it must be translated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- A unique identifier for this client project type. This identifier is referenced in the clientProjectType attribute of the webServiceClientType element of an org.eclipse.jst.ws.consumption.ui.webServiceClientType extension.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd
deleted file mode 100644
index 752d42953..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd
+++ /dev/null
@@ -1,129 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="objectSelectionWidget" name="Object Selection Widget"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="objectSelectionWidget" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="objectSelectionWidget">
- <annotation>
- <documentation>
- This extension point entry allows an extender to add new ways of browsing/finding artifacts that can be used to create Web services.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- This class defines Selection Widget to be displayed on the Object Selection page of the Web services wizards. This class must implement the org.eclipse.jst.ws.consumption.ui.widgets.object.IObjectSelectionWidget interface.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- This id uniquely identifies this objectSelectionWidget element.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="transformer" type="string">
- <annotation>
- <documentation>
- This attribute specifies a class that must implement the org.eclipse.wst.command.internal.env.core.data.Transformer interface. This interface contains a transform method. Even though the type of the input parameter and the return value are of type Object it is expected that they will be used with the type org.eclipse.jface.viewers.IStructuredSelection. This transformation method allows the extender to modify the initial selection to an IStructuredSelection object that is more readily usable by the runtime server type.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="external_modify" type="boolean" use="default" value="false">
- <annotation>
- <documentation>
- This attribute specifies whether the object selection can be specified outside the object selection widget. An example, of this would be on page one of the web service widget by typing in a text field. If set to true, the extender of ObjectSelectionWidget must provide a validate(String) implementation that does any necessary validation and sets the object selection on the widget. The default value of this attribute is false. Any text fields will be set to READ_ONLY style so the object selection can only be modified with object selection widget implementation directly.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd
deleted file mode 100644
index 53bdd3c4b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd
+++ /dev/null
@@ -1,257 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="webServiceClientType" name="Web Service Client Types"/>
- </appInfo>
- <documentation>
- This extension point defines Web Service Client types. This is done by defining webServiceClientType elements. These elements refer to a server and a Web Service runtime. These are respectively defined in the webServiceServer element and the webServiceRuntime element.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="webServiceServer" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="webServiceRuntime" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="webServiceClientType" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceServer">
- <annotation>
- <documentation>
- This element specifies information about a particular server type.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="factoryId" type="string" use="required">
- <annotation>
- <documentation>
- This is the factory id for a server. This id is defined by
-the org.eclipse.wst.server.core.serverTypes extension point.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="isDefault" type="boolean" use="required">
- <annotation>
- <documentation>
- This parameter indicates if this server should be used as the default server. Note: this default parameter is only used in the absence of other information. If the user has defined a particular server as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- This is a local ID for this server. The server attribute of the webserviceClientType element refers to this ID.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="runtimeTypeIds" type="string">
- <annotation>
- <documentation>
- This attribute is currently a place holder for future development. Please, do not use.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceRuntime">
- <annotation>
- <documentation>
- This element specifies information about a particular Web Services runtime.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- This label is displayed to the user for this runtime. Therefore, is must be translated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- A description of this Web Services runtime.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="isDefault" type="boolean" use="required">
- <annotation>
- <documentation>
- This parameter indicates if this runtime should be used as the default runtime. Note: this default parameter is only used in the absence of other information. If the user has defined a particular runtime as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="j2eeversion" type="string" use="required">
- <annotation>
- <documentation>
- This attribute specifies the J2EE versions supported by this runtime. The allowable values are 12, 13, and 14. If more than one J2EE version is supported each J2EE level should be specified with a blank delimiter.(eg. if J2EE version 1.2 and 1.3 are supported then this attribute string would be &quot;12 13&quot;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceClientType">
- <annotation>
- <documentation>
- This element specifies information about a particular Web Services client type.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- This is the ID for this Web Service Client type.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- This is the name for this Web Service Client type. It is displayed to the user so it must be translated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="clientType" type="string" use="required">
- <annotation>
- <documentation>
- This is the kind of Web Service Client type being defined. (ie. the value of the Java client is org.eclipse.jst.ws.client.type.java.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="runtime" type="string" use="required">
- <annotation>
- <documentation>
- This is the runtime ID for this Web Service client type. There should be a corresponding webServiceRuntime element with an attribute called id that has this value.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="server" type="string" use="required">
- <annotation>
- <documentation>
- This attribute specifies the server for this Web Service client type. There should be a corresponding webServiceServer element with an attribute called id that has this value.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="clientProjectType" type="string" use="default" value="org.eclipse.jst.ws.consumption.ui.clientProjectType.Web">
- <annotation>
- <documentation>
- This attribute contains a space delimited list of client project type ids supported by this by this webServiceClientType element. The client project type ids are defined by the org.eclipse.jst.ws.consumption.ui.clientProjectType extension point.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="developBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE development phase. The Command and UI elements in this binding always come first in the wizard.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="assemblyBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE assembly phase. The Command and UI elements in this binding always come after the development phase binding in the wizard.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="deployBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE deploy phase. The Command and UI elements in this binding always come after the assembly phase binding in the wizard.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="installBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE install phase. The Command and UI elements in this binding always come after the deploy phase binding in the wizard.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd
deleted file mode 100644
index cbdd71195..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd
+++ /dev/null
@@ -1,325 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="webServiceServerRuntimeType" name="Web Service Server Runtime Types"/>
- </appInfo>
- <documentation>
- This extension point defines Web Service Server types. This is done by defining webServiceServerRuntimeType elements. These elements refer to a server and a Web Service runtime. These are respectively defined in the webServiceServer element and the webServiceRuntime element.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="webServiceServer" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="webServiceRuntime" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="webServiceServerRuntimeType" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="webServiceType" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceServer">
- <annotation>
- <documentation>
- This element specifies information about a particular server type.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="factoryId" type="string" use="required">
- <annotation>
- <documentation>
- This is the factory id for a server. This id is defined by
-the org.eclipse.wst.server.core.serverTypes extension point.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="isDefault" type="boolean" use="required">
- <annotation>
- <documentation>
- This parameter indicates if this server should be used as the default server. Note: this default parameter is only used in the absence of other information. If the user has defined a particular server as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- This is a local ID for this server. The server attribute of the webserviceServerRuntimeType element refers to this ID.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="runtimeTypeIds" type="string">
- <annotation>
- <documentation>
- This attribute is currently a place holder for future development. Please, do not use.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceRuntime">
- <annotation>
- <documentation>
- This element specifies information about a particular Web Services runtime.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- This label is displayed to the user for this runtime. Therefore, is must be translated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- A description of this Web Services runtime.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="isDefault" type="boolean" use="required">
- <annotation>
- <documentation>
- This parameter indicates if this runtime should be used as the default runtime. Note: this default parameter is only used in the absence of other information. If the user has defined a particular runtime as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="j2eeversion" type="string" use="required">
- <annotation>
- <documentation>
- This attribute specifies the J2EE versions supported by this runtime. The allowable values are 12, 13, and 14. If more than one J2EE version is supported each J2EE level should be specified with a blank delimiter.(eg. if J2EE version 1.2 and 1.3 are supported then this attribute string would be &quot;12 13&quot;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceServerRuntimeType">
- <annotation>
- <documentation>
- This element specifies information about a particular Web Services server runtime type. An entry for this element defines a valid combination of server, runtime, and webservice type.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- This is the ID for this Web Service Server Runtime type.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- This is the name for this Web Service Server Runtime type. It is displayed to the user so it must be translated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="runtime" type="string" use="required">
- <annotation>
- <documentation>
- This is the runtime ID for this Web Service Server Runtime type. There should be a corresponding webServiceRuntime element with an attribute called id that has this value.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="server" type="string" use="required">
- <annotation>
- <documentation>
- This attribute specifies the server for this Web Service Server Runtime type. There should be a corresponding webServiceServer element with an attribute called id that has this value.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="type" type="string" use="required">
- <annotation>
- <documentation>
- This is the kind of Web Service Runtime type being defined. (eg. the value of a Java Bean Webservice is org.eclipse.jst.ws.type.java)
-There should be a corresponding webServiceType element with an attribute called id that has this value.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="developBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE development phase. The Command and UI elements in this binding always come first in the wizard.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="assemblyBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE assembly phase. The Command and UI elements in this binding always come after the development phase binding in the wizard.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="deployBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE deploy phase. The Command and UI elements in this binding always come after the assembly phase binding in the wizard.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="installBinding" type="string">
- <annotation>
- <documentation>
- This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE install phase. The Command and UI elements in this binding always come after the deploy phase binding in the wizard.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="requireEJBModule" type="boolean" use="required">
- <annotation>
- <documentation>
- If the Webservice for this Server Runtime Type is required to be in an EJB module then the value of this attribute should be true.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="requireWebModule" type="boolean" use="required">
- <annotation>
- <documentation>
- If the Webservice for this Server Runtime Type is required to be in an Web module then the value of this attribute should be true.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceType">
- <annotation>
- <documentation>
- This element defines a particular Web service kind. Such as a Java Bean web service, a Skeleton Web service, an EJB Web service, etc.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- This a unique ID for this Web service type. It is referenced in the webServiceServerRuntimeType element with the type attribute.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- This is a translatable label for this web service type.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="resourceTypeMetadata" type="string" use="required">
- <annotation>
- <documentation>
- This attribute contains a blank delimited list class Names. (ie.No package prefix) The classes listed define the allowable Eclipse resources that this web service type understands and turn into a Web service. For example, if a user selects a Java source file in the package explorer view and then starts the Web services wizard a CompilationUnit object will be passed in as part of an IStructuredSelection. By putting &quot;CompilationUnit&quot; as one of the classes in this attribute it indicates that this type can create a Web service from the CompilationUnit.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="extensionMetadata" type="string" use="required">
- <annotation>
- <documentation>
- This attribute allows this Web service type to restrict names of the input files that it understands. For example, if the value is set to &quot;.java .class&quot; it indicates that this Web service type only understands resource names that end with .java or end with .class.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="objectSelectionWidget" type="string" use="required">
- <annotation>
- <documentation>
- On page 2 of the Web service wizard there is an Object selection page. This selection page can be customized using this attribute, since different Web service types may need different methods of selecting them. The value of this attribute should be the id of a org.eclipse.jst.ws.consumption.ui.objectSelectionWidget extension. The predefined id for a Java selection widget is org.eclipse.jst.ws.consumption.ui.widgets.object.JavaBeanSelectionWidget. The predefined id for a WSDL selection widget is org.eclipse.jst.ws.consumption.ui.widgets.object.WSDLSelectionWidget. The predefined id for an EJB selection widget is org.eclipse.jst.ws.consumption.ui.widgets.object.EJBSelectionWidget.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="includeNatures" type="string" use="required">
- <annotation>
- <documentation>
- This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type only works with these particular project types. For example, if this type only works with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="excludeNatures" type="string" use="required">
- <annotation>
- <documentation>
- This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type DOES NOT work with these particular project types. For example, if this type does not work with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd
deleted file mode 100644
index 20bf63005..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd
+++ /dev/null
@@ -1,138 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="webServiceTest" name="Web Service Test"/>
- </appInfo>
- <documentation>
- This extension point defines Web service test facilities that can be plugged into the Web services wizards.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="webServiceTest" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceTest">
- <complexType>
- <attribute name="methodsneeded" type="boolean">
- <annotation>
- <documentation>
- This attribute indicates if this test facility need to methods from a proxy bean.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- The value of this attribute is displayed to the user for this test facility. It must be translated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="java" type="boolean">
- <annotation>
- <documentation>
- This attribute indicates whether this test facility is intended for clients that generate a Java bean as output.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="codegen" type="boolean">
- <annotation>
- <documentation>
- This attribute indicates if this test facility generates code or not, such as JSP files.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string">
- <annotation>
- <documentation>
- This attribute contains a class name. The class must implement org.eclipse.jst.ws.ext.WebServiceExecutable. This class allows the extender to provide the Commands that will execute for this test facility.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- This is a unique identifier for this test facility.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties
deleted file mode 100644
index c2c1a27e0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties
+++ /dev/null
@@ -1,635 +0,0 @@
-###############################################################################
-# Copyright (c) 2004, 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
-# -------- -------- -----------------------------------------------------------
-# 20060204 124143 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060321 128827 joan - Joan Haggarty
-# 20060329 128069 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060407 135443 joan@ca.ibm.com - Joan Haggarty
-# 20060411 136134 kathy@ca.ibm.com - Kathy Chan
-# 20060417 136390 joan@ca.ibm.com - Joan Haggarty
-# 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060418 136335 joan@ca.ibm.com - Joan Haggarty
-# 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060420 120714 kathy@ca.ibm.com - Kathy Chan
-# 20060420 135912 joan@ca.ibm.com - Joan Haggarty
-# 20060510 141115 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
-# 20060602 145054 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-
-PLUGIN_NEW_WIZARD_NAME_WS_CLIENT=Web Service Client
-#
-# Web services "Internet" preferences extension.
-#
-
-#
-# Web Samples IDs
-#
-
-#
-# Pop-up actions
-#
-ACTION_GENERATE_JAVA_PROXY=Generate Client
-
-#
-# Dialogs
-#
-CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG=Show Generate Java bean Proxy Dialog
-TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY=Show the dialog for generating the Java bean proxy action.
-
-#
-# Web Services Preferance Pages
-#
-# Categories
-#
-
-#
-# Preferences Tooltips
-#
-
-#
-#Server Runtime Preferences
-#
-TOOLTIP_SRPF_COMBO_SERVER=The preferred server type
-TOOLTIP_SRPF_COMBO_RUNTIME=The preferred Web service runtime
-TOOLTIP_SRPF_COMBO_J2EE=The preferred J2EE version
-
-#
-# General messages.
-#
-MSG_ERROR_TASK_EXCEPTED=IWAB0234E An internal error occurred. Details: {0}
-MSG_ERROR_NO_SERVER_RUNTIME=No suitable server can be found for the {0} Web service runtime. Go to Window > Preferences. Select Server > Installed Runtimes and configure a server runtime.
-
-
-#
-# Wizard page task labels and descriptions
-# (used only for progress indication).
-#
-
-#
-# Common wizard strings.
-#
-LABEL_FOLDER_NAME=Folder:
-LABEL_JSP_FOLDER_NAME=JSP folder:
-LABEL_WEB_PROJECT_NAME=Web project:
-LABEL_WEBSERVICETYPE=&Web service type:
-LABEL_WEBSERVICEIMPL=Service implementation:
-LABEL_WEBSERVICEDEF=Service definition:
-LABEL_J2EE_VERSION=J2EE version:
-LABEL_NA=N/A
-
-BUTTON_BROWSE=B&rowse...
-BUTTON_BROWSE_FILES=Browse files...
-
-BOTTOMUP_LABEL=Bottom up
-TOPDOWN_LABEL=Top down
-CLIENT_LABEL=Client
-COMBINED_TYPE_AND_RUNTIME_LABEL={0} {1}
-
-#
-# Wizards.
-#
-WIZARD_TITLE_WSC=Web Service Client
-
-#
-# WebServiceProjectPage
-#
-PAGE_TITLE_WS_PROJECT=Web Services
-PAGE_DESC_WS_PROJECT=Review your Web service options and make any necessary changes before proceeding to the next page.
-BUTTON_START_WEB_PROJECT=&Start Web service in Web project
-#BUTTON_DEPLOY_WEB_PROJECT=Deploy Web service to a server type
-BUTTON_INSTALL_SERVICE_WEB_PROJECT=&Install Web service on server
-BUTTON_INSTALL_CLIENT_WEB_PROJECT=Install Web service &client on server (managed clients only)
-GROUP_SCENARIO_SERVICE=Service
-GROUP_SCENARIO_CLIENT=Client proxy
-LABEL_WEBSERVICECLIENTTYPE=&Client type:
-
-TOOLTIP_WSWSCEN_SERVICEPROJECT_LINK=Click on the link to edit service project and EAR settings.
-TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK=Click on the link to edit client project and EAR settings.
-
-DIALOG_TITILE_SERVICE_IMPL_SELECTION=Select Service Implementation
-DIALOG_TITILE_SERVICE_DEF_SELECTION=Select Service Definition
-DIALOG_TITILE_SERVICE_PROJECT_SETTINGS=Specify Service Project Settings
-DIALOG_TITILE_CLIENT_PROJECT_SETTINGS=Specify Client Project Settings
-
-# Items common to WebServiceRuntimeSelectionPage and WebServiceClientRuntimeSelectionPage
-# WebServiceRuntimeSelectionPage
-LABEL_SUMMARY=Configuration:
-LABEL_SUMMARY_NO_CLIENT=Configuration: No client generation.
-PAGE_TITLE_WS_RUNTIME_SELECTION=Service Deployment Configuration
-PAGE_DESC_WS_RUNTIME_SELECTION=Choose from the list of runtimes and deployment servers, or use the default settings.
-LABEL_RUNTIMES_LIST=Web service runtime:
-LABEL_SERVERS_LIST=Server:
-LABEL_EDIT_BUTTON=Edit...
-LABEL_SERVICE_EAR_MODULE=Service EAR module:
-LABEL_CLIENT_EAR_MODULE=Client EAR module:
-LABEL_CLIENT_MODULE=Client module:
-LABEL_SERVICE_MODULE=Service module:
-LABEL_CLIENT_PROJECT=Client project:
-LABEL_SERVICE_PROJECT=Service project:
-LABEL_CLIENT_EAR_PROJECT=Client EAR project:
-LABEL_SERVICE_EAR_PROJECT=Service EAR project:
-
-#
-# Client component type labels
-#
-LABEL_CLIENT_COMP_TYPE_WEB=Web
-LABEL_CLIENT_COMP_TYPE_EJB=EJB
-LABEL_CLIENT_COMP_TYPE_APP_CLIENT=Application Client
-LABEL_CLIENT_COMP_TYPE_CONTAINERLESS=Java
-
-
-TOOLTIP_PWRS_TEXT_RUNTIME=Click on the link to specify the web service runtime.
-TOOLTIP_PWRS_TEXT_SERVER=Click on the link to specify a server.
-TOOLTIP_PWRS_J2EE_VERSION=J2EE version to be used.
-
-LABEL_SELECTION_VIEW_TITLE=Server-Side Deployment Selection:
-LABEL_SELECTION_VIEW_RUNTIME=Choose Web service runtime first
-LABEL_SELECTION_VIEW_SERVER=Choose server first
-LABEL_SELECTION_VIEW_EXPLORE=Explore options
-
-LABEL_TREE_EXISTING_SERVERS=Existing Servers
-LABEL_TREE_SERVER_TYPES=Server Types
-
-MSG_NO_OBJECT_SELECTION=Select a service implementation.
-MSG_NO_SERVICE_SELECTION=Select a service definition.
-MSG_INVALID_SERVICE_IMPL=The service implementation selected is invalid.
-MSG_INVALID_SERVICE_DEF=The service definition selected is invalid.
-MSG_INVALID_SRT_SELECTIONS={0} does not support the {1} Web service runtime. Choose a different server or runtime to proceed through the Web services wizard.
-MSG_NO_RUNTIME=No runtime specified for the {0} scenario.
-MSG_NO_SERVER=No server specified for the {0} scenario.
-MSG_ERROR_STUB_ONLY={0} has only stub runtimes associated with it. Choose a different server or configure a non-stub runtime in the server preferences.
-MSG_WARN_STUB_ONLY={0} has only stub runtimes associated with it so the server will not be created or started.
-MSG_WARN_NO_SERVICE_SERVER=No server has been selected. The Web service will not be deployed, installed, or run.
-MSG_WARN_NO_CLIENT_SERVER=No server has been selected. The Web service client will not be deployed, installed, or run.
-
-MSG_SERVER_TARGET_MISMATCH=The project, {0}, has a server target which is not compatible with the selected server type
-MSG_J2EE_MISMATCH=The project, {0}, has a different J2EE level from the selected J2EE level
-MSG_SERVICE_PROJECT_EMPTY=The service project {0} cannot be empty. Select a service project {0}.
-MSG_SERVICE_PROJECT_TYPE_EMPTY=Select a service project type.
-MSG_SERVICE_EAR_EMPTY=The service EAR {0} cannot be empty. Select a service EAR {0}.
-MSG_CLIENT_PROJECT_EMPTY=The client project {0} cannot be empty. Select a client project {0}.
-MSG_CLIENT_PROJECT_TYPE_EMPTY=Select a client project type.
-MSG_CLIENT_EAR_EMPTY=The client EAR {0} cannot be empty. Select a client EAR {0}.
-
-MSG_INVALID_EJB_PROJECT={0} is not an EJB project. Choose an EJB project, or enter a new EJB project name.
-MSG_INVALID_WEB_PROJECT={0} is not a Web project. Choose a Web project, or enter a new Web project name.
-MSG_INVALID_PROJECT_TYPE={0} is not a {1} project. Choose a {1} project, or enter a new project name.
-MSG_MODULE=module
-MSG_MODULE_NAME_AND_PROJECT_NAME_NOT_THE_SAME=The flexible project preference is off. Therefore, project names and module names must be the same for new modules.
-
-MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_PROJECT=The {0} Web service runtime does not support the service project {1}.
-MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_PROJECT=The {0} server does not support the service project {1}.
-MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE=The {0} Web service runtime does not support the service project type {1}.
-MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE=The {0} server does not support the service project type {1}.
-
-MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_PROJECT=The {0} Web service runtime does not support the client project {1}.
-MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_PROJECT=The {0} server does not support the client project {1}.
-MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE=The {0} Web service runtime does not support the client project type {1}.
-MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_TEMPLATE=The {0} server does not support the client project type {1}.
-
-MSG_SAME_CLIENT_AND_SERVICE_EARS=Your selected service and client {0} modules have the same name. Proceeding with this configuration may result in runtime errors.
-MSG_SAME_CLIENT_AND_SERVICE_COMPONENTS=Your selected service and client {0} modules have the same name. Proceeding with this configuration will result in runtime errors.
-MSG_SAME_CLIENT_AND_SERVICE_PROJECTS=Your selected service and client projects are the same. Proceeding with this configuration will result in errors.
-MSG_WRONG_CLIENT_PROJECT_TYPE=The selected client project, {0}, is not a {1} project. Please select a {1} project or enter a new project name.
-MSG_CLIENT_SUB=client
-MSG_SERVICE_SUB=service
-MSG_GENERAL_PROJECT_AND_EAR=Select the {0} project and the EAR project with which you want it to be associated.
-MSG_EAR_PROJECT_WILL_BE_CREATED=If an EAR or project does not exist or is currently unassociated, it will be created and \nassociated as required when you click Next.
-
-MSG_EAR_WILL_BE_ASSOCIATED=The selected {0} project will be associated with the EAR project.
-MSG_PROJECT_WILL_BE_CREATED=The {0} project will be created and associated with the EAR project.
-MSG_EAR_WILL_BE_CREATED=The {0} EAR project will be created and associated with the project.
-MSG_PROJECT_AND_EAR_CREATED=The {0} project and EAR project will be created and associated with one another.
-
-MSG_CLIENT_CANNOT_ASSOCIATE=The client project, {0}, cannot be associated with the EAR, {1}. Choose an EAR with a J2EE level of {2} or higher.
-MSG_SERVICE_CANNOT_ASSOCIATE=The service project, {0}, cannot be associated with the EAR, {1}. Choose an EAR with a J2EE level of {2} or higher.
-
-MSG_PROJECT_MUST_EXIST=No server can be found and {0} does not exist. Choose an existing project or use the preferences to configure a server runtime.
-
-
-# WebServiceClientRuntimeSelectionPage
-PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION=Client Environment Configuration
-PAGE_DESC_WS_CLIENT_RUNTIME_SELECTION=Choose from the list of supported runtimes and servers for the client environment, or use the default settings.
-
-LABEL_CLIENT_SELECTION_VIEW_TITLE=Client-Side Environment Selection:
-LABEL_CLIENT_TYPE=Client Project type:
-LABEL_SERVICE_TYPE=Service Project type:
-LABEL_WEB=Web
-LABEL_EJB=EJB
-LABEL_NO_LABEL=
-
-#
-# Items common to WebServiceMappingsPage, WebServiceMappingsPage (client), and WebServiceSOAPBindingPage
-#
-PAGE_MSG_VALIDATION_INTERNAL_ERROR=An internal error occurred during page validation. See logs for details.
-
-#
-# WebServiceMappingsPage
-#
-PAGE_TITLE_WS_XML2BEAN=Web Service Skeleton XML to Java Mappings
-PAGE_DESC_N2P_MAPPINGS=Define custom mapping for namespace to package.
-MSG_MAPPING_DUPLICATE_ENTRIES=Duplicate {0} mapped to the same {1}.
-
-
-#
-# The two ITEM_* strings are entries in a list box of mappings.
-# There are two forms, one when the page is in Java-to-XML mode:
-# <java-bean-name>, <encoding-style>
-# and one when the page is in XML-to-Java mode:
-# <xml-namespace-uri>:<xml-short-name>, <encoding-style>
-# where:
-# <java-bean-name> is a fully-qualified Java class name
-# <xml-namespace-uri> is the namespace of an XML type
-# <xml-short-name> is the XML type name within the namespace
-# <encoding-style> is the encoding style (SOAP or Literal XML)
-#
-
-#
-# WebServiceProxyPage
-#
-BUTTON_GENERATE_PROXY=&Generate a proxy
-
-#
-# WebServiceSkeletonConfigPage
-#
-PAGE_DESC_WSSKEL_CONFIG=Define a skeleton Java bean as a Web service.
-PAGE_TITLE_WSSKEL_CONFIG=Web Service Skeleton Java Bean Configuration
-TOOLTIP_PBSC_TEXT_SKELETON_FOLDER=Folder for generated Java skeleton.
-TOOLTIP_PBSC_BUTTON_SKELETON_FOLDER_BROWSE=Browse folders.
-LABEL_SKELETON_ROOT_NAME=Skeleton folder:
-
-#
-# WebServiceBeanClassPage
-#
-LABEL_BEAN_CLASS_NAME=Bean:
-PAGE_MSG_BEAN_CANNOT_BE_EMPTY=Please select a Java bean class.
-BUTTON_BROWSE_CLASSES=Browse classes...
-
-
-#
-# WebServiceTestPage
-#
-PAGE_TITLE_WSTEST=Test Web Service
-PAGE_DESC_WSTEST=Select a test facility
-CHECKBOX_TEST_WEBSERVICE=&Test the Web service
-CHECKBOX_MONITOR_WEBSERVICE=&Monitor the Web service
-CHECKBOX_OVERWRITE_FILES=&Overwrite files without warning
-MSG_ERROR_UNABLE_TO_LAUNCH_WSDL_TEST=An error occurred. Unable to launch WSDL test facility.
-
-#
-# WebServiceExplorerPage
-#
-BUTTON_LAUNCH_SERVICE_TEST=Launch
-
-#
-# WebServiceClientTestPage
-#
-PAGE_TITLE_WS_SAMPLE=Web Service Client Test
-PAGE_DESC_WS_SAMPLE=Do you want to test the generated proxy?
-BUTTON_TEST=Test the generated proxy
-LABEL_TEST_TYPES=Test facility
-BUTTON_RUN_TEST=Run test on server
-LABEL_METHODS=Methods
-LABEL_JSP_PROJECT_NAME=JSP project:
-MSG_ERROR_JTS_PROXY_NOT_COMPILED=IWAB0357E The Generated proxy was not found. WebService sample jsps cannot be generated.
-MSG_ERROR_MALFORMED_URL=IWAB0358E Test client URL is malformed.
-MSG_ERROR_MODULE_DEPENDENCY=Unable to establish module dependency from {0} to {1}.
-
-#
-# WebServiceBeanMethodsPage
-#
-BUTTON_SELECT_ALL=Select All
-BUTTON_DESELECT_ALL=Deselect All
-TOOLTIP_PBME_BUTTON_SELECT_ALL=Select all methods
-TOOLTIP_PBME_BUTTON_DESELECT_ALL=Deselect all methods
-
-#
-# WebServiceWSDLSelectionPage
-#
-PAGE_TITLE_WSDL_SELECTION=Web Service WSDL File Selection
-PAGE_DESC_WSDL_SELECTION=Select a WSDL file.
-
-#
-# WebServicePublishPage
-#
-PAGE_TITLE_WS_PUBLISH=Web Service Publication
-PAGE_DESC_WS_PUBLISH=Do you want to publish your Web service?
-PAGE_TITLE_WS_FIND=Find a Web service
-PAGE_DESC_WS_FIND=Do you want to find a Web service?
-BUTTON_WS_PUBLISH=&Launch the Web Services Explorer to publish this Web service to a UDDI Registry
-BUTTON_WS_PUBLISH_PRIVATE_UDDI=Launch the Web Services Explorer to publish this Web service to the Unit Test UDDI Registry
-BUTTON_WS_FIND=Launch the Web Services Explorer to find a Web service from a UDDI Registry
-BUTTON_WS_FIND_PRIVATE_UDDI=Launch the Web Services Explorer to find a Web service from the Unit Test UDDI Registry
-LABEL_PUBLIC_UDDI_REGISTRIES=Public UDDI Registry
-
-#
-# EJB UI strings
-#
-LABEL_EJB_BEAN_NAME=EJB bean
-TABLE_TITLE_EJB_BEAN_NAMES=Stateless EJB beans
-TABLE_TITLE_EJB_PROJECT_NAME=EJB project
-LABEL_EAR_PROJECTS=EAR projects
-TOOLTIP_EAR_PROJECTS=Enterprise application projects.
-TOOLTIP_TABLE_BEAN_NAMES=Select an EJB.
-LABEL_SHOW_ALL_STATELESS_SESSION_EJBS=<<Show all stateless session EJBs>>
-
-#
-# Tooltips for WebServiceWSDLSelectionPage
-#
-TOOLTIP_PWWS_PAGE=
-
-#
-# Tooltips for Web Service Wizard Scenario Page
-#
-BUTTON_WSWSCEN_PUBLISH=&Publish the Web service
-TOOLTIP_WSWSCEN_SCALE_DEVELOP=Develop
-TOOLTIP_WSWSCEN_SCALE_ASSEMBLE=Assemble
-TOOLTIP_WSWSCEN_SCALE_DEPLOY=Deploy
-TOOLTIP_WSWSCEN_SCALE_INSTALL=Install
-TOOLTIP_WSWSCEN_SCALE_RUN=Start
-TOOLTIP_WSWSCEN_SCALE_TEST=Test
-TOOLTIP_WSWSCEN_SCALE_SERVICE=Move the slider to set the level of service generation.
-TOOLTIP_WSWSCEN_SCALE_CLIENT=Move the slider to set the level of client generation. Service must be started to enable client generation.
-TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY=Move the slider to set the level of client generation.
-TOOLTIP_WSWSCEN_TEXT_IMPL=Implementation for the web service.
-TOOLTIP_WSWSCEN_BUTTON_BROWSE_IMPL=Browse implementation files for specified service type.
-TOOLTIP_WSWSCEN_BUTTON_OVERWRITE_FILES=Existing files will be overwritten with no warning during generation.
-
-#
-# Tooltips for beans.WebServiceBeanClassPage
-#
-TOOLTIP_PBCL_PAGE=
-TOOLTIP_PBCL_TEXT_BEAN_CLASS=Selected Java bean.
-TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE=Browse classes.
-TOOLTIP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE=Browse Java files.
-
-#
-# Tooltips for beans.WebServiceTestPage
-#
-TOOLTIP_PSTP_COMBOBOX_TEST=Test facilities available to test the service.
-TOOLTIP_PSTP_LAUNCH_BUTTON=Launch the selected test facility.
-
-#
-# Tooltips for WebServiceRuntimeSelectionPage
-#
-TOOLTIP_PWRS_PAGE=
-TOOLTIP_PWRS_LIST_RUNTIMES=Select from the following deployment runtime(s).
-TOOLTIP_PWRS_LIST_SERVERS=Select from application server(s).
-TOOLTIP_PWRS_RADIO_SERVER=Server oriented selection.
-TOOLTIP_PWRS_RADIO_RUNTIME=Runtime oriented selection.
-TOOLTIP_PWRS_RADIO_EXPLORE=Explore combinations.
-
-#
-# Tooltips for WebServiceClientRuntimeSelectionPage
-#
-TOOLTIP_PWCR_COMBO_CLIENT_TYPE=Client project type.
-TOOLTIP_PWCR_COMBO_SERVICE_TYPE=Service project type.
-
-#
-# Tooltips for WebServiceProjectPage
-#
-TOOLTIP_PWPR_COMBO_TYPE=Web service implementation type.
-TOOLTIP_PWPR_GROUP_SCENARIO_SERVICE=Service defaults for this wizard scenario.
-TOOLTIP_PWPR_CHECKBOX_GENERATE_PROXY=Enable/disable proxy generation for this scenario.
-TOOLTIP_PWPR_CHECKBOX_START_WEB_PROJECT=Start Web service in Web project for this scenario.
-TOOLTIP_PWPR_CHECKBOX_INSTALL_SERVICE_WEB_PROJECT=Install the Web service on the server for this scenario.
-TOOLTIP_PWPR_CHECKBOX_INSTALL_CLIENT_WEB_PROJECT=Install the Web service client on the server for this scenario (managed client only).
-TOOLTIP_PWPR_CHECKBOX_LAUNCH_WS=Launch the Web Services Explorer to publish the Web service in this scenario to a UDDI Registry.
-TOOLTIP_PWPR_CHECKBOX_TEST_SERVICE=Select this to explore the Web service created.
-TOOLTIP_PWPR_CHECKBOX_MONITOR_SERVICE=Select this to monitor the SOAP traffic of this Web service.
-TOOLTIP_PWPR_GROUP_SCENARIO_CLIENT=Client proxy defaults for this wizard scenario.
-TOOLTIP_PWPR_COMBO_CLIENTTYPE=Client proxy selection type.
-
-#
-# Tooltips for WebServicePublishPage
-#
-TOOLTIP_PWPB_PAGE=
-TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH=Publish the Web service.
-
-#
-# WSIL proxy
-#
-PAGE_WSIL_IMPORT=WSIL Import Page
-TITLE_WSIL_IMPORT=WSIL Import
-DESC_WSIL_IMPORT=Import WSDL references to a WSIL document
-PAGE_TITLE_WS_SELECTION=Web Service Selection Page
-PAGE_DESC_WS_SELECTION=Enter a web service URI.
-
-PAGE_MSG_LOADING_WEB_SERVICE_URI=Loading Web service URI...
-PAGE_MSG_INVALID_WEB_SERVICE_URI=Invalid Web service URI. Enter a URI to a WSDL, WSIL or HTML document.
-PAGE_MSG_NO_SUCH_FILE=File "{0}" does not exist.
-PAGE_MSG_SELECTION_MUST_BE_WSDL=Selection must be WSDL.
-PAGE_MSG_INVALID_WSIL_FILE_NAME=Invalid WSIL file name. WSIL file name must end with .wsil
-
-MSG_ERROR_URI_NOT_RESOLVABLE=IWAB0469E "{0}" is not resolvable.
-MSG_ERROR_WSDL_HAS_NO_SERVICE_ELEMENT=IWAB0551E WSDL file at {0} has no service element.
-
-LABEL_WSIL_URI=WSIL URI:
-LABEL_BROWSE=Browse
-LABEL_WSDL=WSDL:
-LABEL_WSDL_URI=WSDL URI
-LABEL_IMPORT=Import...
-LABEL_ADD=Add
-LABEL_REMOVE=Remove
-LABEL_WS_SELECTION=Enter a URI to a WSDL, WSIL or HTML document:
-LABEL_SELECT_WSDL=Select a WSDL
-LABEL_VALIDATE_MESSAGES=WSDL validation messages:
-
-TOOLTIP_WSIL_IMPORT_PAGE=This page allows you to add WSDL references to a WSIL document.
-TOOLTIP_WSIL_TEXT_WSIL=Enter the location of a new or existing WSIL document.
-TOOLTIP_WSIL_BUTTON_BROWSE_WSIL=Browse for a WSIL document.
-TOOLTIP_WSIL_TABLE_WSDL=Enter the URIs of the WSDLs that are going to be added as service references.
-TOOLTIP_PCON_PAGE=Select a web service for consumption.
-TOOLTIP_PCON_TEXT_WS=Enter a URI to a WSDL, WSIL or HTML document.
-TOOLTIP_PCON_BUTTON_BROWSE_WS=Browse for a web service resource.
-TOOLTIP_VALIDATE_TEXT_MESSAGE=Messages from WSDL validation.
-TOOLTIP_TABLE_VALIDATE_MESSAGE=Use the Web Service Profile Compliance and Validation preference to enable or disable WSDL validation.
-
-#
-# Table column heading for ValidationMessageViewerWidget
-#
-TABLE_COLUMN_VALIDATION_SEVERITY=Severity
-TABLE_COLUMN_VALIDATION_LINE=Line
-TABLE_COLUMN_VALIDATION_COLUMN=Column
-TABLE_COLUMN_VALIDATION_MESSAGE=Message
-#
-# Tooltips for client.WebServiceClienTestPage
-#
-TOOLTIP_PWSM_PAGE=
-TOOLTIP_PWSM_CHECKBOX_TEST=Enable/disable Test.
-TOOLTIP_PWSM_COMBOBOX_TEST=Select the test type.
-TOOLTIP_PWSM_CHECKBOX_LAUNCH=Run test on a server.
-TOOLTIP_PWSM_TEXT_JSP_FOLDER=Destination folder of generated sample files.
-TOOLTIP_PWSM_BUTTON_JSP_FOLDER_BROWSE=Browse folders.
-TOOLTIP_PWSM_BUTTON_SELECT_ALL=Select all methods.
-TOOLTIP_PWSM_BUTTON_DESELECT_ALL=Deselect all methods.
-TOOLTIP_PWSM_COMBO_PROJECT=Web project for generated sample.
-TOOLTIP_PWSM_TEXT_SAMPLE_FOLDER=Destination folder of generated sample files.
-TOOLTIP_PWSM_TREE_METHODS=Methods to generate into the sample.
-TOOLTIP_PWSM_EAR_PROJECT=EAR project for the generated sample.
-
-#
-# HTTP Basic Auth
-#
-DIALOG_TITLE_HTTP_BASIC_AUTH=HTTP Basic Authentication
-LABEL_URL=URL:
-LABEL_HTTP_BASIC_AUTH_USERNAME=User name:
-LABEL_HTTP_BASIC_AUTH_PASSWORD=Password:
-
-TOOLTIP_HTTP_BASIC_AUTH_USERNAME=Enter your HTTP basic authentication user name.
-TOOLTIP_HTTP_BASIC_AUTH_PASSWORD=Enter your HTTP basic authentication password.
-
-#
-# Generate Handler Skeleton
-#
-MSG_ERROR_GENERATE_HANDLER_SKELETON=IWAB0359E Error in generating handler skeleton.
-MSG_ERROR_WRITE_FILE=IWAB0360E Error in writing file {0}.
-
-#
-# Handlers Configuration wizard page
-#
-LABEL_HANDLERS_CONFIG=Handler configuration
-LABEL_BUTTON_ADD=Add
-LABEL_BUTTON_REMOVE=Remove
-LABEL_BUTTON_MOVE_UP=Move up
-LABEL_BUTTON_MOVE_DOWN=Move down
-LABEL_BUTTON_GEN_SKELETON=Generate skeleton classes for new handlers
-LABEL_COMBO_SOURCE_LOC=Output folder:
-LABEL_COMBO_WS_CLIENT_REF=Client Service References:
-LABEL_COMBO_WS_SERVICE_DESC=Service Descriptions:
-MSG_TEXT_NUM_OF_SERVICES=You have selected {0} services.
-MSG_TEXT_NUM_OF_CLIENTS=You have selected {0} client services.
-
-LABEL_HANDLER_NAME=Name
-LABLE_HANDLER_CLASS=Class name
-LABEL_HANDLER_PORT=Port name
-
-DIALOG_TITLE_WS_ADD_HANDLER=Add New Handler
-LABEL_TEXT_HANDLER_NAME=Name:
-LABEL_TEXT_HANDLER_CLASS=Class name:
-LABEL_TEXT_HANDLER_PORT=Port name:
-
-PAGE_TITLE_SERVICE_HDLR_CONFIG=Service Handlers Configuration
-PAGE_DESC_SERVICE_HDLR_CONFIG=Configure service-side handlers
-PAGE_TITLE_CLIENT_HDLR_CONFIG=Client Handlers Configuration
-PAGE_DESC_CLIENT_HDLR_CONFIG=Configure client-side handlers
-PAGE_DESC_MULTIPLE_SERVICES_CONFIG=Add handlers to multiple Web services.
-PAGE_DESC_MULTIPLE_CLIENTS_CONFIG=Add handlers to multiple Web service clients.
-
-TOOLTIP_EDIT_WS_HANDLERS=Configure Web Service Handlers
-TOOLTIP_BUTTON_GEN_SKELETON=Select to generate skeleton classes for new handlers.
-TOOLTIP_COMBO_SOURCE_LOC=Select the output location for file generation.
-TOOLTIP_TEXT_HANDLER_NAME=Handler name
-TOOLTIP_TEXT_HANDLER_CLASS=Handler class name
-TOOLTIP_TEXT_HANDLER_PORT=Handler port component name
-TOOLTIP_WS_CLIENT_REF=Select a client service-reference to show its handlers.
-TOOLTIP_WS_SERVICE_DESC=Select a service description to show its handlers.
-
-#
-# ClientHandlersWidgetDefaultingCommand
-#
-MSG_ERROR_WEB_SERVICE_CLIENTS_NOT_FOUND=No Web service clients were found. Create a Web service client before configuring Web service client handlers.
-
-#
-# ServiceHandlersWidgetDefaultingCommand
-#
-MSG_ERROR_WEB_SERVICES_NOT_FOUND=No Web services were found. Create a Web service before configuring Web service handlers.
-MSG_ERROR_WSDD_NOT_FOUND=Unable to launch handler wizard. No deployment descriptor was found for this Web service.
-MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT=Invalid multiple selection of Services. Ensure all selections are Services.#
-
-# OpenJavaEditorCommand
-#
-MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR=IWAB0029E Unable to open class {0} from project {1} in the Java editor.
-
-#
-# CheckIfServiceProject
-#
-MSG_WARN_IS_SERVICE_PROJECT=The selected client project, {0}, contains the Web service. Proceeding with this configuration may result in runtime errors when invoking the Web service. Would you like to proceed?
-MSG_USER_ABORTED=User pressed cancel in warning dialog which warned about the selected client project being the service project.
-
-#
-# Missing third party file error message
-#
-MSG_MISSING_THIRD_PARTY_FILES=Missing third party files. Refer to http://www.eclipse.org/webtools/wst/components/ws/download_instructions_for_jars.html
-
-#
-# WSDLSelectionOutputCommand
-#
-MSG_WARNING_NO_SERVICE_ELEMENT=The WSDL file does not contain a Service element. Therefore a service interface and Java proxy will not be generated and as a result, a Java test client will not be launched. Click OK to proceed, or click Cancel to select another WSDL file. Alternately, exit the wizard and use the WSDL editor to create a Service WSDL document.
-
-#
-# CheckWSDLValidationCommand
-#
-STILL_VALIDATING_WSDL=Wizard WSDL validation in Progress. \n- Click Cancel to cancel the current WSDL validation and continue. \n- Click Cancel and Update to update the preference to always cancel incomplete WSDL validation while traversing the wizard. \n- Click Wait to wait for WSDL validation to complete.
-CANCEL_VALIDATION_LABEL=Cancel
-CANCEL_VALIDATION_DESCRIPTION=Cancel the current WSDL validation and continue
-CANCEL_ALL_VALIDATION_LABEL=Cancel and Update
-CANCEL_ALL_VALIDATION_DESCRIPTION=Update the preference to always cancel incomplete WSDL validation while traversing the wizard.
-WAIT_VALIDATION_LABEL=Wait
-WAIT_VALIDATION_DESCRIPTION=Wait for WSDL validation to complete
-TASK_LABEL_CHECK_WSDL_VALIDATION=Check for WSDL validation
-TASK_DESC_CHECK_WSDL_VALIDATION=Check if WSDL validation has completed
-
-#
-# WSDLValidation messages
-#
-MESSAGE_VALIDATE_NO_WSDL=Wizard WSDL validation is disabled.
-MESSAGE_VALIDATE_REMOTE_WSDL=Wizard WSDL validation is only enabled for remote files.
-MESSAGE_VALIDATE_ALL_WSDL=Wizard WSDL validation is enabled.
-MESSAGE_VALIDATE_IN_PROGRESS=WSDL validation in progress ...
-ERROR_MESSAGES_IN_VALIDATION=The WSDL file contains validation error(s).
-WARNING_MESSAGES_IN_VALIDATION=The WSDL file contains validation warning(s).
-WARNING_IF_CONTINUE=Continuing with the wizard may result in generation or runtime problem.
-VALIDATION_COMPLETED=WSDL validation completes with no warning or error.
-TOOLTIP_VALIDATE_TEXT_MESSAGE_SUMMARY=WSDL validation preference can be changed using the Web Services Profile Compliance and Validation preference.
-
-LABEL_BUTTON_STOP_WSDL_VALIDATION=Stop Validation
-TOOLTIP_STOP_VALIDATION_BUTTON=Stops the current WSDL validation operation.
-
-
-#
-# Start server page
-#
-PAGE_TITLE_WS_START_SERVER=Start Server
-PAGE_DESC_WS_START_SERVER=Start the server from this page.
-LABEL_START_SERVER_TEXT1=In order to proceed the server "{0}" must be started.
-LABEL_START_SERVER_TEXT2=Once the server is started the "next" button will be enabled.
-LABEL_START_SERVER_TEXT3=The "back" button can be used while the server is starting to
-LABEL_START_SERVER_TEXT4=change any previous settings in this wizard.
-LABEL_START_SERVER_BUTTON=Start server
-TOOLTIP_START_SERVER_BUTTON=Start the server
-TEXT_SERVER_STATUS=Currently the server is {0}.
-TEXT_SERVER_MSG=Server {0}
-TEXT_SERVER_STARTED=started
-TEXT_SERVER_STARTING=starting
-TEXT_SERVER_STOPPED=stopped
-
-#
-# Ant task List options
-#
-
-# Note to translation do not translate keyword RuntimeId
-MSG_INFO_ANT_RUNTIME_HEADING=Web Service Runtime IDs (RuntimeId)
-MSG_INFO_ANT_SERVER_RUNTIME=Server runtime: {0}
-MSG_INFO_ANT_CLIENT_RUNTIME=Client runtime: {0}
-
-# Note to translation do not translate keyword ServerId
-MSG_INFO_ANT_SERVER_HEADING=Server IDs (ServerId)
-MSG_INFO_ANT_SERVER=Server: {0}
-
-MSG_INFO_WSDL_OPERATION_TIMED_OUT=Could not retrieve the WSDL file {0}. Do you want to continue to wait for this file?
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java
deleted file mode 100644
index a54562a85..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java
+++ /dev/null
@@ -1,395 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124143 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060329 128069 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060411 136134 kathy@ca.ibm.com - Kathy Chan
- * 20060417 136390/136159 joan@ca.ibm.com - Joan Haggarty
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060418 136335 joan@ca.ibm.com - Joan Haggarty
- * 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 120714 kathy@ca.ibm.com - Kathy Chan
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- * 20060426 138647 joan@ca.ibm.com - Joan Haggarty
- * 20060510 141115 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
- * 20060719 139977 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class ConsumptionUIMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUI";//$NON-NLS-1$
-
- private ConsumptionUIMessages() {
- // Do not instantiate
- }
-
- public static String PLUGIN_NEW_WIZARD_NAME_WS_CLIENT;
- public static String ACTION_GENERATE_JAVA_PROXY;
- public static String CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG;
- public static String TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY;
- public static String TOOLTIP_SRPF_COMBO_SERVER;
- public static String TOOLTIP_SRPF_COMBO_RUNTIME;
- public static String TOOLTIP_SRPF_COMBO_J2EE;
- public static String MSG_ERROR_TASK_EXCEPTED;
- public static String MSG_ERROR_NO_SERVER_RUNTIME;
- public static String LABEL_FOLDER_NAME;
- public static String LABEL_JSP_FOLDER_NAME;
- public static String LABEL_WEB_PROJECT_NAME;
- public static String LABEL_WEBSERVICETYPE;
- public static String LABEL_WEBSERVICEIMPL;
- public static String LABEL_WEBSERVICEDEF;
- public static String LABEL_J2EE_VERSION;
- public static String LABEL_NA;
- public static String BUTTON_BROWSE;
- public static String BUTTON_BROWSE_FILES;
- public static String BOTTOMUP_LABEL;
- public static String TOPDOWN_LABEL;
- public static String CLIENT_LABEL;
- public static String COMBINED_TYPE_AND_RUNTIME_LABEL;
- public static String WIZARD_TITLE_WSC;
- public static String PAGE_TITLE_WS_PROJECT;
- public static String PAGE_DESC_WS_PROJECT;
- public static String BUTTON_START_WEB_PROJECT;
- public static String BUTTON_INSTALL_SERVICE_WEB_PROJECT;
- public static String BUTTON_INSTALL_CLIENT_WEB_PROJECT;
- public static String GROUP_SCENARIO_SERVICE;
- public static String GROUP_SCENARIO_CLIENT;
- public static String LABEL_WEBSERVICECLIENTTYPE;
- public static String PAGE_TITLE_WS_RUNTIME_SELECTION;
- public static String PAGE_DESC_WS_RUNTIME_SELECTION;
- public static String LABEL_SUMMARY;
- public static String LABEL_SUMMARY_NO_CLIENT;
- public static String LABEL_RUNTIMES_LIST;
- public static String LABEL_SERVERS_LIST;
- public static String LABEL_EDIT_BUTTON;
- public static String LABEL_SERVICE_EAR_MODULE;
- public static String LABEL_CLIENT_EAR_MODULE;
- public static String LABEL_CLIENT_MODULE;
- public static String LABEL_SERVICE_MODULE;
- public static String LABEL_CLIENT_PROJECT;
- public static String LABEL_SERVICE_PROJECT;
- public static String LABEL_CLIENT_EAR_PROJECT;
- public static String LABEL_SERVICE_EAR_PROJECT;
- public static String LABEL_CLIENT_COMP_TYPE_WEB;
- public static String LABEL_CLIENT_COMP_TYPE_EJB;
- public static String LABEL_CLIENT_COMP_TYPE_APP_CLIENT;
- public static String LABEL_CLIENT_COMP_TYPE_CONTAINERLESS;
- public static String TOOLTIP_PWRS_TEXT_RUNTIME;
- public static String TOOLTIP_PWRS_TEXT_SERVER;
- public static String TOOLTIP_PWRS_J2EE_VERSION;
- public static String LABEL_SELECTION_VIEW_TITLE;
- public static String LABEL_SELECTION_VIEW_RUNTIME;
- public static String LABEL_SELECTION_VIEW_SERVER;
- public static String LABEL_SELECTION_VIEW_EXPLORE;
- public static String LABEL_TREE_EXISTING_SERVERS;
- public static String LABEL_TREE_SERVER_TYPES;
- public static String MSG_NO_OBJECT_SELECTION;
- public static String MSG_NO_SERVICE_SELECTION;
- public static String MSG_INVALID_SERVICE_DEF;
- public static String MSG_INVALID_SERVICE_IMPL;
- public static String MSG_INVALID_SRT_SELECTIONS;
- public static String MSG_NO_RUNTIME;
- public static String MSG_NO_SERVER;
- public static String MSG_ERROR_STUB_ONLY;
- public static String MSG_WARN_STUB_ONLY;
- public static String MSG_WARN_NO_SERVICE_SERVER;
- public static String MSG_WARN_NO_CLIENT_SERVER;
- public static String MSG_SERVER_TARGET_MISMATCH;
- public static String MSG_J2EE_MISMATCH;
- public static String MSG_SERVICE_PROJECT_EMPTY;
- public static String MSG_SERVICE_PROJECT_TYPE_EMPTY;
- public static String MSG_SERVICE_EAR_EMPTY;
- public static String MSG_CLIENT_PROJECT_EMPTY;
- public static String MSG_CLIENT_PROJECT_TYPE_EMPTY;
- public static String MSG_CLIENT_EAR_EMPTY;
- public static String MSG_INVALID_EJB_PROJECT;
- public static String MSG_INVALID_WEB_PROJECT;
- public static String MSG_INVALID_PROJECT_TYPE;
- public static String MSG_MODULE;
- public static String MSG_MODULE_NAME_AND_PROJECT_NAME_NOT_THE_SAME;
- public static String MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_PROJECT;
- public static String MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_PROJECT;
- public static String MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE;
- public static String MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE;
- public static String MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_PROJECT;
- public static String MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_PROJECT;
- public static String MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE;
- public static String MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_TEMPLATE;
- public static String MSG_SAME_CLIENT_AND_SERVICE_EARS;
- public static String MSG_SAME_CLIENT_AND_SERVICE_COMPONENTS;
- public static String MSG_SAME_CLIENT_AND_SERVICE_PROJECTS;
- public static String MSG_WRONG_CLIENT_PROJECT_TYPE;
- public static String MSG_CLIENT_SUB;
- public static String MSG_SERVICE_SUB;
- public static String MSG_GENERAL_PROJECT_AND_EAR;
- public static String MSG_EAR_PROJECT_WILL_BE_CREATED;
- public static String MSG_EAR_WILL_BE_ASSOCIATED;
- public static String MSG_PROJECT_WILL_BE_CREATED;
- public static String MSG_EAR_WILL_BE_CREATED;
- public static String MSG_PROJECT_AND_EAR_CREATED;
- public static String PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION;
- public static String PAGE_DESC_WS_CLIENT_RUNTIME_SELECTION;
- public static String LABEL_CLIENT_SELECTION_VIEW_TITLE;
- public static String LABEL_CLIENT_TYPE;
- public static String LABEL_SERVICE_TYPE;
- public static String LABEL_WEB;
- public static String LABEL_EJB;
- public static String LABEL_NO_LABEL;
- public static String PAGE_MSG_VALIDATION_INTERNAL_ERROR;
- public static String PAGE_TITLE_WS_XML2BEAN;
- public static String PAGE_DESC_N2P_MAPPINGS;
- public static String MSG_MAPPING_DUPLICATE_ENTRIES;
- public static String BUTTON_GENERATE_PROXY;
- public static String PAGE_DESC_WSSKEL_CONFIG;
- public static String PAGE_TITLE_WSSKEL_CONFIG;
- public static String TOOLTIP_PBSC_TEXT_SKELETON_FOLDER;
- public static String TOOLTIP_PBSC_BUTTON_SKELETON_FOLDER_BROWSE;
- public static String LABEL_SKELETON_ROOT_NAME;
- public static String LABEL_BEAN_CLASS_NAME;
- public static String PAGE_MSG_BEAN_CANNOT_BE_EMPTY;
- public static String BUTTON_BROWSE_CLASSES;
- public static String PAGE_TITLE_WSTEST;
- public static String PAGE_DESC_WSTEST;
- public static String CHECKBOX_TEST_WEBSERVICE;
- public static String CHECKBOX_MONITOR_WEBSERVICE;
- public static String MSG_ERROR_UNABLE_TO_LAUNCH_WSDL_TEST;
- public static String BUTTON_LAUNCH_SERVICE_TEST;
- public static String PAGE_TITLE_WS_SAMPLE;
- public static String PAGE_DESC_WS_SAMPLE;
- public static String BUTTON_TEST;
- public static String LABEL_TEST_TYPES;
- public static String BUTTON_RUN_TEST;
- public static String LABEL_METHODS;
- public static String LABEL_JSP_PROJECT_NAME;
- public static String MSG_ERROR_JTS_PROXY_NOT_COMPILED;
- public static String MSG_ERROR_MALFORMED_URL;
- public static String BUTTON_SELECT_ALL;
- public static String BUTTON_DESELECT_ALL;
- public static String TOOLTIP_PBME_BUTTON_SELECT_ALL;
- public static String TOOLTIP_PBME_BUTTON_DESELECT_ALL;
- public static String PAGE_TITLE_WSDL_SELECTION;
- public static String PAGE_DESC_WSDL_SELECTION;
- public static String PAGE_TITLE_WS_PUBLISH;
- public static String PAGE_DESC_WS_PUBLISH;
- public static String PAGE_TITLE_WS_FIND;
- public static String PAGE_DESC_WS_FIND;
- public static String BUTTON_WS_PUBLISH;
- public static String BUTTON_WSWSCEN_PUBLISH;
- public static String BUTTON_WS_PUBLISH_PRIVATE_UDDI;
- public static String BUTTON_WS_FIND;
- public static String BUTTON_WS_FIND_PRIVATE_UDDI;
- public static String LABEL_PUBLIC_UDDI_REGISTRIES;
- public static String LABEL_EJB_BEAN_NAME;
- public static String TABLE_TITLE_EJB_BEAN_NAMES;
- public static String TABLE_TITLE_EJB_PROJECT_NAME;
- public static String LABEL_EAR_PROJECTS;
- public static String LABEL_SHOW_ALL_STATELESS_SESSION_EJBS;
- public static String CHECKBOX_OVERWRITE_FILES;
- public static String DIALOG_TITILE_SERVICE_PROJECT_SETTINGS;
- public static String DIALOG_TITILE_CLIENT_PROJECT_SETTINGS;
- public static String DIALOG_TITILE_SERVICE_IMPL_SELECTION;
- public static String DIALOG_TITILE_SERVICE_DEF_SELECTION;
- public static String TOOLTIP_WSWSCEN_SERVICEPROJECT_LINK;
- public static String TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK;
- public static String TOOLTIP_WSWSCEN_SCALE_DEVELOP;
- public static String TOOLTIP_WSWSCEN_SCALE_ASSEMBLE;
- public static String TOOLTIP_WSWSCEN_SCALE_DEPLOY;
- public static String TOOLTIP_WSWSCEN_SCALE_INSTALL;
- public static String TOOLTIP_WSWSCEN_SCALE_RUN;
- public static String TOOLTIP_WSWSCEN_SCALE_TEST;
- public static String TOOLTIP_WSWSCEN_SCALE_SERVICE;
- public static String TOOLTIP_WSWSCEN_SCALE_CLIENT;
- public static String TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY;
- public static String TOOLTIP_WSWSCEN_TEXT_IMPL;
- public static String TOOLTIP_WSWSCEN_BUTTON_OVERWRITE_FILES;
- public static String TOOLTIP_WSWSCEN_BUTTON_BROWSE_IMPL;
- public static String TOOLTIP_EAR_PROJECTS;
- public static String TOOLTIP_TABLE_BEAN_NAMES;
- public static String TOOLTIP_PWWS_PAGE;
- public static String TOOLTIP_PBCL_PAGE;
- public static String TOOLTIP_PBCL_TEXT_BEAN_CLASS;
- public static String TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE;
- public static String TOOLTIP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE;
- public static String TOOLTIP_PSTP_COMBOBOX_TEST;
- public static String TOOLTIP_PSTP_LAUNCH_BUTTON;
- public static String TOOLTIP_PWRS_PAGE;
- public static String TOOLTIP_PWRS_LIST_RUNTIMES;
- public static String TOOLTIP_PWRS_LIST_SERVERS;
- public static String TOOLTIP_PWRS_RADIO_SERVER;
- public static String TOOLTIP_PWRS_RADIO_RUNTIME;
- public static String TOOLTIP_PWRS_RADIO_EXPLORE;
- public static String TOOLTIP_PWCR_COMBO_CLIENT_TYPE;
- public static String TOOLTIP_PWCR_COMBO_SERVICE_TYPE;
- public static String TOOLTIP_PWPR_COMBO_TYPE;
- public static String TOOLTIP_PWPR_GROUP_SCENARIO_SERVICE;
- public static String TOOLTIP_PWPR_CHECKBOX_GENERATE_PROXY;
- public static String TOOLTIP_PWPR_CHECKBOX_START_WEB_PROJECT;
- public static String TOOLTIP_PWPR_CHECKBOX_INSTALL_SERVICE_WEB_PROJECT;
- public static String TOOLTIP_PWPR_CHECKBOX_INSTALL_CLIENT_WEB_PROJECT;
- public static String TOOLTIP_PWPR_CHECKBOX_LAUNCH_WS;
- public static String TOOLTIP_PWPR_CHECKBOX_TEST_SERVICE;
- public static String TOOLTIP_PWPR_CHECKBOX_MONITOR_SERVICE;
- public static String TOOLTIP_PWPR_GROUP_SCENARIO_CLIENT;
- public static String TOOLTIP_PWPR_COMBO_CLIENTTYPE;
- public static String TOOLTIP_PWPB_PAGE;
- public static String TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH;
- public static String PAGE_WSIL_IMPORT;
- public static String TITLE_WSIL_IMPORT;
- public static String DESC_WSIL_IMPORT;
- public static String PAGE_TITLE_WS_SELECTION;
- public static String PAGE_DESC_WS_SELECTION;
- public static String PAGE_MSG_LOADING_WEB_SERVICE_URI;
- public static String PAGE_MSG_INVALID_WEB_SERVICE_URI;
- public static String PAGE_MSG_NO_SUCH_FILE;
- public static String PAGE_MSG_SELECTION_MUST_BE_WSDL;
- public static String PAGE_MSG_INVALID_WSIL_FILE_NAME;
- public static String MSG_ERROR_URI_NOT_RESOLVABLE;
- public static String MSG_ERROR_WSDL_HAS_NO_SERVICE_ELEMENT;
- public static String LABEL_WSIL_URI;
- public static String LABEL_BROWSE;
- public static String LABEL_WSDL;
- public static String LABEL_WSDL_URI;
- public static String LABEL_IMPORT;
- public static String LABEL_ADD;
- public static String LABEL_REMOVE;
- public static String LABEL_WS_SELECTION;
- public static String LABEL_SELECT_WSDL;
- public static String LABEL_VALIDATE_MESSAGES;
- public static String TOOLTIP_WSIL_IMPORT_PAGE;
- public static String TOOLTIP_WSIL_TEXT_WSIL;
- public static String TOOLTIP_WSIL_BUTTON_BROWSE_WSIL;
- public static String TOOLTIP_WSIL_TABLE_WSDL;
- public static String TOOLTIP_PCON_PAGE;
- public static String TOOLTIP_PCON_TEXT_WS;
- public static String TOOLTIP_PCON_BUTTON_BROWSE_WS;
- public static String TOOLTIP_VALIDATE_TEXT_MESSAGE;
- public static String TOOLTIP_TABLE_VALIDATE_MESSAGE;
- public static String TABLE_COLUMN_VALIDATION_SEVERITY;
- public static String TABLE_COLUMN_VALIDATION_LINE;
- public static String TABLE_COLUMN_VALIDATION_COLUMN;
- public static String TABLE_COLUMN_VALIDATION_MESSAGE;
- public static String TOOLTIP_PWSM_PAGE;
- public static String TOOLTIP_PWSM_CHECKBOX_TEST;
- public static String TOOLTIP_PWSM_COMBOBOX_TEST;
- public static String TOOLTIP_PWSM_CHECKBOX_LAUNCH;
- public static String TOOLTIP_PWSM_TEXT_JSP_FOLDER;
- public static String TOOLTIP_PWSM_BUTTON_JSP_FOLDER_BROWSE;
- public static String TOOLTIP_PWSM_BUTTON_SELECT_ALL;
- public static String TOOLTIP_PWSM_BUTTON_DESELECT_ALL;
- public static String TOOLTIP_PWSM_COMBO_PROJECT;
- public static String TOOLTIP_PWSM_TEXT_SAMPLE_FOLDER;
- public static String TOOLTIP_PWSM_TREE_METHODS;
- public static String TOOLTIP_PWSM_EAR_PROJECT;
- public static String DIALOG_TITLE_HTTP_BASIC_AUTH;
- public static String LABEL_URL;
- public static String LABEL_HTTP_BASIC_AUTH_USERNAME;
- public static String LABEL_HTTP_BASIC_AUTH_PASSWORD;
- public static String TOOLTIP_HTTP_BASIC_AUTH_USERNAME;
- public static String TOOLTIP_HTTP_BASIC_AUTH_PASSWORD;
- public static String MSG_ERROR_GENERATE_HANDLER_SKELETON;
- public static String MSG_ERROR_WRITE_FILE;
- public static String LABEL_HANDLERS_CONFIG;
- public static String LABEL_BUTTON_ADD;
- public static String LABEL_BUTTON_REMOVE;
- public static String LABEL_BUTTON_MOVE_UP;
- public static String LABEL_BUTTON_MOVE_DOWN;
- public static String LABEL_BUTTON_GEN_SKELETON;
- public static String LABEL_COMBO_SOURCE_LOC;
- public static String LABEL_COMBO_WS_CLIENT_REF;
- public static String LABEL_COMBO_WS_SERVICE_DESC;
- public static String MSG_TEXT_NUM_OF_SERVICES;
- public static String MSG_TEXT_NUM_OF_CLIENTS;
- public static String LABEL_HANDLER_NAME;
- public static String LABLE_HANDLER_CLASS;
- public static String LABEL_HANDLER_PORT;
- public static String DIALOG_TITLE_WS_ADD_HANDLER;
- public static String LABEL_TEXT_HANDLER_NAME;
- public static String LABEL_TEXT_HANDLER_CLASS;
- public static String LABEL_TEXT_HANDLER_PORT;
- public static String PAGE_TITLE_SERVICE_HDLR_CONFIG;
- public static String PAGE_DESC_SERVICE_HDLR_CONFIG;
- public static String PAGE_TITLE_CLIENT_HDLR_CONFIG;
- public static String PAGE_DESC_CLIENT_HDLR_CONFIG;
- public static String PAGE_DESC_MULTIPLE_SERVICES_CONFIG;
- public static String PAGE_DESC_MULTIPLE_CLIENTS_CONFIG;
- public static String TOOLTIP_EDIT_WS_HANDLERS;
- public static String TOOLTIP_BUTTON_GEN_SKELETON;
- public static String TOOLTIP_COMBO_SOURCE_LOC;
- public static String TOOLTIP_TEXT_HANDLER_NAME;
- public static String TOOLTIP_TEXT_HANDLER_CLASS;
- public static String TOOLTIP_TEXT_HANDLER_PORT;
- public static String TOOLTIP_WS_CLIENT_REF;
- public static String TOOLTIP_WS_SERVICE_DESC;
- public static String MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR;
- public static String MSG_WARN_IS_SERVICE_PROJECT;
- public static String MSG_USER_ABORTED;
- public static String MSG_MISSING_THIRD_PARTY_FILES;
- public static String MSG_WARNING_NO_SERVICE_ELEMENT;
- public static String STILL_VALIDATING_WSDL;
- public static String CANCEL_VALIDATION_LABEL;
- public static String CANCEL_VALIDATION_DESCRIPTION;
- public static String CANCEL_ALL_VALIDATION_LABEL;
- public static String CANCEL_ALL_VALIDATION_DESCRIPTION;
- public static String WAIT_VALIDATION_LABEL;
- public static String WAIT_VALIDATION_DESCRIPTION;
- public static String TASK_LABEL_CHECK_WSDL_VALIDATION;
- public static String TASK_DESC_CHECK_WSDL_VALIDATION;
- public static String MESSAGE_VALIDATE_NO_WSDL;
- public static String MESSAGE_VALIDATE_REMOTE_WSDL;
- public static String MESSAGE_VALIDATE_ALL_WSDL;
- public static String MESSAGE_VALIDATE_IN_PROGRESS;
- public static String ERROR_MESSAGES_IN_VALIDATION;
- public static String WARNING_MESSAGES_IN_VALIDATION;
- public static String WARNING_IF_CONTINUE;
- public static String VALIDATION_COMPLETED;
- public static String TOOLTIP_VALIDATE_TEXT_MESSAGE_SUMMARY;
- public static String LABEL_BUTTON_STOP_WSDL_VALIDATION;
- public static String TOOLTIP_STOP_VALIDATION_BUTTON;
- public static String PAGE_TITLE_WS_START_SERVER;
- public static String PAGE_DESC_WS_START_SERVER;
- public static String LABEL_START_SERVER_TEXT1;
- public static String LABEL_START_SERVER_TEXT2;
- public static String LABEL_START_SERVER_TEXT3;
- public static String LABEL_START_SERVER_TEXT4;
- public static String LABEL_START_SERVER_BUTTON;
- public static String TOOLTIP_START_SERVER_BUTTON;
- public static String TEXT_SERVER_STATUS;
- public static String TEXT_SERVER_MSG;
- public static String TEXT_SERVER_STARTED;
- public static String TEXT_SERVER_STARTING;
- public static String TEXT_SERVER_STOPPED;
- public static String MSG_INFO_ANT_RUNTIME_HEADING;
- public static String MSG_INFO_ANT_SERVER_RUNTIME;
- public static String MSG_INFO_ANT_CLIENT_RUNTIME;
- public static String MSG_INFO_ANT_SERVER_HEADING;
- public static String MSG_INFO_ANT_SERVER;
- public static String MSG_ERROR_WEB_SERVICE_CLIENTS_NOT_FOUND;
- public static String MSG_ERROR_WEB_SERVICES_NOT_FOUND;
- public static String MSG_ERROR_WSDD_NOT_FOUND;
- public static String MSG_CLIENT_CANNOT_ASSOCIATE;
- public static String MSG_SERVICE_CANNOT_ASSOCIATE;
- public static String MSG_PROJECT_MUST_EXIST;
- public static String MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT;
- public static String MSG_ERROR_MODULE_DEPENDENCY;
- public static String MSG_INFO_WSDL_OPERATION_TIMED_OUT;
-
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, ConsumptionUIMessages.class);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java
deleted file mode 100644
index 1266fece9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.action;
-
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.IWorkbenchWindowActionDelegate;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.ws.internal.explorer.LaunchOption;
-import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-
-
-public class LaunchWSEAction implements IWorkbenchWindowActionDelegate
-{
- public void run(IAction action)
- {
- EclipseStatusHandler handler = new EclipseStatusHandler();
- TransientResourceContext context = new TransientResourceContext();
- EclipseEnvironment environment = new EclipseEnvironment( null, context, handler );
- WSExplorerLauncherCommand cmd = new WSExplorerLauncherCommand();
-
- String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
- String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
- LaunchOption[] launchOptions = new LaunchOption[] {
- new LaunchOption(LaunchOptions.STATE_LOCATION,stateLocation),
- new LaunchOption(LaunchOptions.DEFAULT_FAVORITES_LOCATION,defaultFavoritesLocation)
- };
- cmd.setLaunchOptions(launchOptions);
- cmd.setEnvironment( environment );
- cmd.execute( null, null );
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
- */
- public void dispose() { }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
- */
- public void init(IWorkbenchWindow window) { }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
- */
- public void selectionChanged(IAction action, ISelection selection) { }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java
deleted file mode 100644
index 5f713b905..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java
+++ /dev/null
@@ -1,221 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060530 144358 kathy@ca.ibm.com - Kathy Chan
- * 20060530 144350 kathy@ca.ibm.com - Kathy Chan
- * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
- * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.ant;
-
-import org.eclipse.jst.ws.internal.consumption.ui.command.AntDefaultingOperation;
-import org.eclipse.jst.ws.internal.consumption.ui.command.AntRestoringCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.CheckForServiceProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.ListOptionsCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
-import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ScenarioCleanupCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.extension.ClientRootFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestDelegateCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishDefaultCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.ws.internal.extensions.AssembleClientFragment;
-import org.eclipse.wst.ws.internal.extensions.DeployClientFragment;
-import org.eclipse.wst.ws.internal.extensions.DevelopClientFragment;
-
-/**
- *
- * Command fragment for generating a web service client using Ant task.
- * Run headless Eclipse or within workspace using Run as Ant Build. This fragment eliminates any UI specific
- * commands and data mappings between commands and widgets. Widget to command mappings are
- * replaced by Ant property file to command mappings which are enabled by a antDataMapping extension
- * point in the org.eclipse.wst.command.env plugin.
- *
- * @author joan
- *
- */
-
-public class AntClientRootCommandFragment extends SequenceFragment{
-
- public AntClientRootCommandFragment()
- {
-
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
-
- add( new SimpleFragment(new ListOptionsCommand(), ""));
- add (new SimpleFragment(new AntDefaultingOperation(), ""));
-
- add( new SimpleFragment( new ClientWizardWidgetDefaultingCommand(true), "" ) );
- add( new SimpleFragment( new ClientWizardWidgetOutputCommand(), "" ));
- add( new SimpleFragment( new WSDLSelectionWidgetDefaultingCommand(), ""));
-
- add( new SimpleFragment( new WSDLSelectionOutputCommand(), ""));
- add( new SimpleFragment( new ClientRuntimeSelectionWidgetDefaultingCommand(), ""));
-
- add( new SimpleFragment( new ClientExtensionDefaultingCommand( true ), ""));
- add( new ClientRootFragment() );
- add( new SimpleFragment( new ClientExtensionOutputCommand(), "" ) );
-
- add(new FinishFragment());
- add( new SimpleFragment( new AntRestoringCommand(), "" ));
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
-
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.provisional.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- // Map ClientWizardWidgetDefaultingCommand command.
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
-
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DevelopClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "AssembleClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DeployClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "StartClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
-
-
- // Map ClientWizardWidgetOutputCommand command.
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ClientTypeRuntimeServer", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", WSDLSelectionOutputCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "TestService", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "TestService", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientExtensionDefaultingCommand.class);
-
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "InstallClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "StartClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DevelopClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "AssembleClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DeployClient", ClientExtensionDefaultingCommand.class);
-
-
- // Map ClientRuntimeSelectionWidgetDefaultingCommand command
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientJ2EEVersion", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", CheckForServiceProjectCommand.class);
-
-// Map AntDefaultingOperation
- dataRegistry.addMapping(AntDefaultingOperation.class, "ClientIdsFixed", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(AntDefaultingOperation.class, "StartService", PreClientDevelopCommand.class);
- dataRegistry.addMapping(AntDefaultingOperation.class, "InstallClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping(AntDefaultingOperation.class, "DeployClient", PreClientDevelopCommand.class);
-
- // Map WSDLSelectionWidgetDefaultingCommand command.
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "GenWSIL", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WsilURI", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", WSDLSelectionOutputCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", WSDLSelectionOutputCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "ComponentName", WSDLSelectionOutputCommand.class);
-
- // WSDLSelectionOutputCommand
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "Project", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "ComponentName", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialComponentName", null);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", CheckForServiceProjectCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", CheckForServiceProjectCommand.class);
-
- // Setup the PreClientDevelopCommand.
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientRuntimeId", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "TestService", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientJ2EEVersion", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProject", PreClientDevelopCommand.class, "Module", null );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectType", PreClientDevelopCommand.class, "ModuleType", null);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectEAR", PreClientDevelopCommand.class, "Ear", null );
- dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "WsdlURI", PreClientDevelopCommand.class );
-
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DevelopClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "AssembleClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DeployClient", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "StartClient", PreClientDevelopCommand.class, "StartService", null);
-
- dataRegistry.addMapping( PreClientDevelopCommand.class, "WebService", ClientExtensionOutputCommand.class, "WebServiceClient", null );
-
- // Map ClientExtensionDefaultingCommand command.
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy", ClientTestFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientNeedEAR", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarComponentName", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "WsdlURI", ClientTestDelegateCommand.class);
-
- // Map ClientExtensionOutputCommand command.
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ServerInstanceId", FinishDefaultCommand.class);
-
- // MAP post server config call
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", ClientExtensionOutputCommand.class, "EarProjectName", null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ClientExtensionOutputCommand.class, "ExistingServerId", null);
-
- //Mappings to enable peek-ahead for Page 3 of the client wizard
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DevelopClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", DevelopClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DevelopClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", DevelopClientFragment.class, "Ear", null );
-
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", AssembleClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", AssembleClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", AssembleClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", AssembleClientFragment.class, "Ear", null );
-
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DeployClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", DeployClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DeployClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", DeployClientFragment.class, "Ear", null );
-
- dataRegistry.addMapping(AntDefaultingOperation.class, "RendererValidation", AntRestoringCommand.class);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java
deleted file mode 100644
index 3fbf57ba6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-
-public class AntDefaultingOperation extends AbstractDataModelOperation{
-
- private boolean rendererValidation;
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- // TODO Auto-generated method stub
-
- rendererValidation = RendererFactory.getDefaultRendererFactory().isValidating();
- RendererFactory.getDefaultRendererFactory().setValidating(false);
-
- return Status.OK_STATUS;
- }
-
- public IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
-
- RendererFactory.getDefaultRendererFactory().setValidating(rendererValidation);
-
- return Status.OK_STATUS;
- }
-
- public boolean getServiceIdsFixed()
- {
- return true;
- }
-
- public boolean getClientIdsFixed()
- {
- return true;
- }
-
- public boolean getStartService()
- {
- return false;
- }
-
- public boolean getInstallService()
- {
- return false;
- }
-
- public boolean getDeployService()
- {
- return true;
- }
-
- public boolean getDeployClient()
- {
- return true;
- }
-
- public boolean getRendererValidation()
- {
- return rendererValidation;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java
deleted file mode 100644
index 5c7390239..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-
-public class AntRestoringCommand extends AbstractDataModelOperation{
-
- private boolean rendererValidation;
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
-
- RendererFactory.getDefaultRendererFactory().setValidating(rendererValidation);
-
- return Status.OK_STATUS;
- }
-
- public void setRendererValidation(boolean rendererValidation)
- {
- this.rendererValidation = rendererValidation;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java
deleted file mode 100644
index 1b4d032cc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-/**
- * This command checks to see if the selected client project is the
- * service project. If so, the user is warned.
- */
-public class CheckForServiceProjectCommand extends AbstractDataModelOperation
-{
- //SelectionListChoices runtime2ClientTypes;
- String clientProjectName;
- String wsdlURI;
- WebServicesParser webServicesParser;
-
- public CheckForServiceProjectCommand()
- {
- }
-
-
- public void setClientProjectName(String name)
- {
- clientProjectName = name;
- }
-
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.core.Command#execute(org.eclipse.wst.command.internal.env.core.common.Environment)
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- IStatus status = Status.OK_STATUS;
- if (clientProjectName==null || wsdlURI==null || wsdlURI.length()==0 || webServicesParser==null)
- return status;
-
- if (clientProjectName==null || clientProjectName.length()==0)
- return status;
-
- IProject clientProject = ProjectUtilities.getProject(clientProjectName);
- ValidationUtils vu = new ValidationUtils();
- boolean isServiceProject = vu.isProjectServiceProject(clientProject, wsdlURI, webServicesParser);
- if (isServiceProject)
- {
- IStatus wStatus = StatusUtils.warningStatus( NLS.bind(ConsumptionUIMessages.MSG_WARN_IS_SERVICE_PROJECT, new String[]{clientProjectName}) );
- try
- {
- environment.getStatusHandler().report(wStatus);
- }
- catch (StatusException se)
- {
- //User decided to abort. Return an error status
- IStatus eStatus = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_USER_ABORTED );
- return eStatus;
- }
- }
-
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java
deleted file mode 100644
index e4abdc6a8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java
+++ /dev/null
@@ -1,304 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060517 142027 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import java.io.BufferedWriter;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EnvironmentUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-
-public class GenerateHandlerSkeletonCommand extends AbstractDataModelOperation
-{
- private IPath outputLocation_;
- private boolean genSkeleton_;
- private String handlerNameForEdit_ = null;
-
- private HandlerServiceRefHolder[] handlerServiceRefHolder_;
- private HandlerDescriptionHolder[]handlerDescriptionHolder_;
-
- public GenerateHandlerSkeletonCommand()
- {
- }
-
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
-
- IStatus returnStatus = Status.OK_STATUS;
-
- if (!genSkeleton_) return returnStatus;
-
- // form the map of classname to locations
- if (handlerDescriptionHolder_!=null){
- for (int i=0;i<handlerDescriptionHolder_.length;i++){
- Hashtable handlerTable = new Hashtable();
- IPath outPath = handlerDescriptionHolder_[i].getSourceOutputPath();
- List handlers = handlerDescriptionHolder_[i].getHandlerList();
- for (int j=0;j<handlers.size();j++){
- HandlerTableItem hti = (HandlerTableItem)handlers.get(j);
- String className = hti.getHandlerClassName();
- if (className!=null && outPath!=null)
- handlerTable.put(className, outPath);
- }
- returnStatus = genHandlersClasses(handlerTable, monitor);
- }
-
- }
- else {
- for (int i=0;i<handlerServiceRefHolder_.length;i++){
- Hashtable handlerTable = new Hashtable();
- IPath outPath = handlerServiceRefHolder_[i].getSourceOutputPath();
- List handlers = handlerServiceRefHolder_[i].getHandlerList();
- for (int j=0;j<handlers.size();j++){
- HandlerTableItem hti = (HandlerTableItem)handlers.get(j);
- String className = hti.getHandlerClassName();
- if (className!=null && outPath!=null)
- handlerTable.put(className, outPath);
- }
- returnStatus = genHandlersClasses(handlerTable, monitor);
- }
- }
-
-
- return returnStatus;
-
- }
-
- private IStatus genHandlersClasses(Hashtable handlersForGen, IProgressMonitor monitor){
- IEnvironment env = getEnvironment();
- MultiStatus status = null;
- IStatus returnStatus = Status.OK_STATUS;
- boolean error = false;
-
- IStatus writeStatus;
- Enumeration keys = handlersForGen.keys();
- while (keys.hasMoreElements()) {
- String className = (String)keys.nextElement();
- writeStatus = writeFile(env, className, (IPath)handlersForGen.get(className), monitor );
- // handle status return
- if (writeStatus.getSeverity() == Status.ERROR) { // write status is OK or ERROR
- error = true;
- if (status == null) {
- status = StatusUtils.multiStatus( ConsumptionUIMessages.MSG_ERROR_GENERATE_HANDLER_SKELETON, new IStatus[0] );
- }
- status.add(writeStatus);
- }
- }
-
- if (error)
- {
- env.getStatusHandler().reportError(status);
- returnStatus = status;
- }
-
- return returnStatus;
-
- }
-
-
- private IStatus writeFile (IEnvironment env, String className, IPath outputLocation, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
- int index;
-
- String simpleClassName = className;
- String packageName = null;
- IPath filePath = outputLocation;
- if (className != null) {
- index = className.lastIndexOf('.');
- if (index != -1) {
- simpleClassName = className.substring(index + 1);
- packageName = className.substring(0, index);
-
- String packageSegment = packageName;
- int j = 0;
- j = packageSegment.indexOf('.');
- while (j != -1) {
- filePath = filePath.append(packageSegment.substring(0, j));
- packageSegment = packageSegment.substring(j + 1);
- j = packageSegment.indexOf('.');
- }
- filePath = filePath.append(packageSegment);
- }
- else {
- packageName = "";
- }
- }
-
- filePath = filePath.append(simpleClassName);
-
- filePath = filePath.addFileExtension("java");
-
- // check if Handler already exists; do not overwrite existing Handlers
- IResource workspaceRes = ResourceUtils.findResource(filePath);
- if (workspaceRes!=null && workspaceRes.exists()) {
- return status;
- }
-
- if (handlerNameForEdit_ == null){
- handlerNameForEdit_ = className;
- outputLocation_ = outputLocation;
- }
-
- OutputStream outputStream = FileResourceUtils.newFileOutputStream( EnvironmentUtils.getResourceContext(env), filePath, monitor, env.getStatusHandler());
- // create buffered writer for writing file
- BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(outputStream));
- try {
- if (packageName.length() != 0) {
- bw.write("package " +packageName+";");
- bw.newLine();
- bw.newLine();
- }
- bw.write("import javax.xml.rpc.handler.GenericHandler;");
- bw.newLine();
- bw.write("import javax.xml.rpc.handler.MessageContext;");
- bw.newLine();
- bw.write("import javax.xml.namespace.QName;");
- bw.newLine();
- bw.newLine();
-
- bw.write("public class "+simpleClassName+" extends GenericHandler");
- bw.newLine();
- bw.write("{");
- bw.newLine();
- bw.newLine();
-
- bw.write(" public QName[] getHeaders ()");
- bw.newLine();
- bw.write(" {");
- bw.newLine();
- bw.write(" // Fill in method body");
- bw.newLine();
- bw.write(" return null;");
- bw.newLine();
- bw.write(" }");
- bw.newLine();
- bw.newLine();
- bw.write(" public boolean handleRequest( MessageContext context )");
- bw.newLine();
- bw.write(" {");
- bw.newLine();
- bw.write(" // Fill in method body or delete method to use GenericHandler");
- bw.newLine();
- bw.write(" return true;");
- bw.newLine();
- bw.write(" }");
- bw.newLine();
- bw.newLine();
- bw.write(" public boolean handleResponse( MessageContext context )");
- bw.newLine();
- bw.write(" {");
- bw.newLine();
- bw.write(" // Fill in method body or delete method to use GenericHandler ");
- bw.newLine();
- bw.write(" return true;");
- bw.newLine();
- bw.write(" }");
- bw.newLine();
- bw.newLine();
- bw.write(" public boolean handleFault( MessageContext context )");
- bw.newLine();
- bw.write(" {");
- bw.newLine();
- bw.write(" // Fill in method body or delete method to use GenericHandler");
- bw.newLine();
- bw.write(" return true;");
- bw.newLine();
- bw.write(" }");
- bw.newLine();
-
- bw.newLine();
- bw.write("}");
- bw.close();
- status = Status.OK_STATUS;
- }
- catch (IOException e)
- {
- status = StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_ERROR_WRITE_FILE, new String[]{ className }), e );
- if (bw != null) {
- try {
- bw.close();
- } catch (IOException e1) {
- }
- }
- }
- return status;
- }
-
- public void setGenSkeletonEnabled(boolean genSkeleton)
- {
- this.genSkeleton_ = genSkeleton;
- }
-
- public IProject getProject(){
- IProject project = null;
- if (outputLocation_!=null){
- project = ResourceUtils.getProjectOf(outputLocation_);
- }
- return project;
- }
-
- public List getClassNames(){
- List classes = new ArrayList();
- if (handlerNameForEdit_!=null){
- classes.add(handlerNameForEdit_);
- }
- return classes;
- }
-
- /**
- * An array of HandlerDescriptionHolders
- * @return
- */
- public void setHandlerServiceRefHolder(HandlerServiceRefHolder[] handlerHolders){
- this.handlerServiceRefHolder_ = handlerHolders;
- }
-
- /**
- * An array of HandlerDescriptionHolders
- * @return
- */
- public void setHandlerDescriptionHolders(HandlerDescriptionHolder[] handlerHolders){
- this.handlerDescriptionHolder_ = handlerHolders;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java
deleted file mode 100644
index d51a7c21f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-
-/**
- * Command lists valid property values where requested.
- * Requests made via a Ant property value setting which is mapped to this command in the plugin.xml
- */
-
-public class ListOptionsCommand extends AbstractDataModelOperation {
-
- private boolean runtimes_ = false;
- private boolean servers_ = false;
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info)
- throws ExecutionException {
-
- if (runtimes_)
- {
- String[] typeIds = WebServiceRuntimeExtensionUtils2.getServiceTypeLabels().getIds_();
- Vector runtimeIds = new Vector();
- for (int k = 0; k < typeIds.length; k++) {
-
- String typeId = typeIds[k];
- String[] runtimes = WebServiceRuntimeExtensionUtils2.getRuntimesByServiceType(typeId);
-
- for (int j = 0; j < runtimes.length; j++) {
- String runtime = runtimes[j];
- if (!runtimeIds.contains(runtime))
- {
- runtimeIds.add(runtime);
- }
- }
- }
-
- Status statusObj = new Status(IStatus.INFO,
- WebServiceConsumptionUIPlugin.ID,
- IStatus.OK,
- ConsumptionUIMessages.MSG_INFO_ANT_RUNTIME_HEADING,
- null);
- getEnvironment().getStatusHandler().reportInfo(statusObj);
-
-
- for (Iterator iterator = runtimeIds.iterator(); iterator
- .hasNext();) {
- getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
- WebServiceConsumptionUIPlugin.ID,
- IStatus.OK,
- NLS.bind(ConsumptionUIMessages.MSG_INFO_ANT_SERVER_RUNTIME,
- iterator.next()), null));
- }
-
-
- String[] clientRuntimes = WebServiceRuntimeExtensionUtils2.getAllRuntimesForClientSide();
-
- for (int i = 0; i < clientRuntimes.length; i++) {
-
- getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
- WebServiceConsumptionUIPlugin.ID,
- IStatus.OK,
- NLS.bind(ConsumptionUIMessages.MSG_INFO_ANT_CLIENT_RUNTIME,
- clientRuntimes[i]), null));
- }
- }
-
- if (servers_)
- {
- getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
- WebServiceConsumptionUIPlugin.ID,
- IStatus.OK,
- ConsumptionUIMessages.MSG_INFO_ANT_SERVER_HEADING, null));
-
- IServerType[] serverTypes = ServerCore.getServerTypes();
- for (int i=0; i<serverTypes.length; i++)
- {
- getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
- WebServiceConsumptionUIPlugin.ID,
- IStatus.OK,
- NLS.bind(ConsumptionUIMessages.MSG_INFO_ANT_SERVER,
- serverTypes[i].getId()), null));
-
- }
- }
-
- return OK_STATUS;
- }
-
- public void setListRuntimes(boolean value)
- {
- runtimes_=value;
- }
-
- public void setListServers(boolean value)
- {
- servers_=value;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java
deleted file mode 100644
index 53bedd530..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004,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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.ui.JavaUI;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.ui.progress.UIJob;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class OpenJavaEditorCommand extends AbstractDataModelOperation
-{
- private List classNames;
- private IProject project;
- private boolean isEnabled_ = true; // is true by default
-
- public OpenJavaEditorCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- if (isEnabled_) {
- OpenJavaEditorJob job = new OpenJavaEditorJob(classNames, project);
- job.setPriority(Job.LONG);
- job.schedule();
- }
- return Status.OK_STATUS;
- }
-
- public void setClassNames(List classNames)
- {
- this.classNames = classNames;
- }
-
- public void setProject(IProject project)
- {
- this.project = project;
- }
-
- public void setIsEnabled(boolean isEnabled){
- this.isEnabled_ = isEnabled;
- }
-
- private class OpenJavaEditorJob extends UIJob
- {
- private List classNames;
- private IProject project;
-
- public OpenJavaEditorJob(List classNames, IProject project)
- {
- super("org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorJob");
- this.classNames = classNames;
- this.project = project;
- }
-
- public IStatus runInUIThread(IProgressMonitor monitor)
- {
- if (project != null && classNames != null)
- {
- IJavaProject javaProject = JavaCore.create(project);
- for (Iterator it = classNames.iterator(); it.hasNext();)
- {
- String className = (String)it.next();
- try
- {
- IType type = javaProject.findType(className);
- JavaUI.openInEditor(type);
- }
- catch (Throwable t)
- {
- return new org.eclipse.core.runtime.Status(org.eclipse.core.runtime.Status.ERROR, WebServiceConsumptionUIPlugin.ID, 0, NLS.bind(ConsumptionUIMessages.MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR, new String[]{className, project.getName()}), t);
- }
- }
- return Status.OK_STATUS;
- }
- else if (project!=null || classNames.isEmpty()){
- // do nothing ; nothing to open
- return Status.OK_STATUS;
- }
- else
- return new org.eclipse.core.runtime.Status(org.eclipse.core.runtime.Status.ERROR, WebServiceConsumptionUIPlugin.ID, 0, NLS.bind(ConsumptionUIMessages.MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR, new String[]{classNames != null ? classNames.toString() : "", project != null ? project.getName() : ""}), null);
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java
deleted file mode 100644
index 1336782f3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.internal.Server;
-
-public class PublishProjectCommand extends AbstractDataModelOperation
-{
-
-
-private String project;
-private String serverTypeID;
-private IServer existingServer;
-
-
-/**
- * Default CTOR;
- */
-public PublishProjectCommand() {
-}
-
-/**
- * Execute the command
- */
-public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
-{
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
- try
- {
- ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_PUBLISH_WEB_PROJECT );
-
- if (project == null){
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_PROJECT_NOT_FOUND );
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- IProject iProject = (IProject)ResourceUtils.findResource(project);
- IServer instance = ServerUtils.getServerForModule(ServerUtils.getModule(iProject), serverTypeID, existingServer, true, monitor);
- if (instance == null)
- {
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND);
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- if (((Server)instance).shouldPublish()) {
- IStatus returnedStatus = publish(instance,IServer.PUBLISH_INCREMENTAL, monitor);
- status = returnedStatus;
-
- //getStatusMonitor().reportStatus (instance.publish(getProgressMonitor()));
- env.getLog().log(ILog.OK, 5026, this, "execute", new String("project="+project+" successfully published"));
- //ILog.write(PublishProjectCommand.class,"execute",ILog.OK,"project="+project+" successfully published");
- }
- return status;
- }
- catch (Exception e) {
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_PUBLISH, e);
- env.getStatusHandler().reportError(status);
- return status;
-
- }
-}
-
-private IStatus publish(final IServer server, final int kind, IProgressMonitor monitor )
-{
- final IStatus[] istatus = new IStatus[1];
- istatus[0] = Status.OK_STATUS;
- monitor.subTask(ConsumptionMessages.PROGRESS_INFO_PUBLISHING_SERVER);
-
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
- {
- istatus[0] = server.publish(kind, shellMonitor);
- }
- };
-
- try
- {
- PlatformUI.getWorkbench().getProgressService().run(true,false,runnable);
- }
- catch(InvocationTargetException ite)
- {
- istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ite.getMessage(), ite );
- ite.printStackTrace();
- }
- catch(InterruptedException ie)
- {
- istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ie.getMessage(), ie );
- ie.printStackTrace();
- }
-
- return istatus[0];
-}
-
-public void setProject(String project)
-{
- this.project = project;
-}
-
-public void setServerTypeID(String serverTypeID)
-{
- this.serverTypeID = serverTypeID;
-}
-
-public void setExistingServer(IServer existingServer)
-{
- this.existingServer = existingServer;
-}
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java
deleted file mode 100644
index 1a42b5348..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java
+++ /dev/null
@@ -1,204 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.debug.core.ILaunchManager;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.internal.Server;
-
-/**
- * (Re)Starts and publishes the server specifed by the serverInstanceId attribute.
- *
- *
- */
-public class StartServerCommand extends AbstractDataModelOperation
-{
- private ILog log;
- private boolean doAsyncPublish_;
-
- private String serverInstanceId;
-
-
- public StartServerCommand()
- {
- log = EnvironmentService.getEclipseLog();
- doAsyncPublish_ = true;
- }
-
- public StartServerCommand( boolean doAsyncPublish )
- {
- this();
-
- doAsyncPublish_ = doAsyncPublish;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- IServer server = ServerCore.findServer(serverInstanceId);
- if (server == null)
- {
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND);
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- int serverState = server.getServerState();
-
- // Publish if required
- if (((Server)server).shouldPublish()) {
- if (server.canPublish().getSeverity() == IStatus.OK)
- {
- status = publish(server, IServer.PUBLISH_INCREMENTAL, monitor );
- if (status.getSeverity() == Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- }
-
- // start/restart server if required
-
- switch (serverState)
- {
- case IServer.STATE_STOPPED:
- if (server.canStart(ILaunchManager.RUN_MODE).getSeverity()==IStatus.OK)
- {
- status = start(server, monitor );
- if (status.getSeverity() == Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- break;
- case IServer.STATE_STARTED:
- boolean shouldRestart = ((Server)server).shouldRestart();
-
- if (shouldRestart && server.canRestart(ILaunchManager.RUN_MODE).getSeverity()==IStatus.OK)
- {
- status = restart(server, monitor );
- if (status.getSeverity() == Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- }
-
- return status;
- }
-
- private IStatus publish(final IServer server, final int kind, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
- final IStatus[] istatus = new IStatus[1];
- monitor.subTask(ConsumptionMessages.PROGRESS_INFO_PUBLISHING_SERVER);
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
- {
- istatus[0] = server.publish(kind, shellMonitor);
- }
- };
-
- try
- {
- if( doAsyncPublish_ )
- {
- PlatformUI.getWorkbench().getProgressService().run(true,false,runnable);
- }
- else
- {
- runnable.run( monitor );
- }
-
- }
- catch(InvocationTargetException ite)
- {
- istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ite.getMessage(), ite );
- ite.printStackTrace();
- }
- catch(InterruptedException ie)
- {
- istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ie.getMessage(), ie );
- ie.printStackTrace();
- }
-
-
- if (istatus[0].getSeverity() != IStatus.OK)
- {
- status = istatus[0];
- return status;
- }
-
- log.log(ILog.INFO, 5051, this, "publishProject", "IServer=" + server + ", Publish command completed");
- return status;
- }
-
- private IStatus restart(IServer server, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
- try
- {
- monitor.subTask(ConsumptionMessages.PROGRESS_INFO_STARTING_SERVER);
- server.synchronousRestart(ILaunchManager.RUN_MODE, monitor);
- log.log(ILog.INFO, 5052, this, "execute", "IServer=" + server + ", Restart command completed");
- return status;
- } catch (CoreException e)
- {
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_SERVER, e);
- return status;
- }
-
- }
-
- private IStatus start(IServer server, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
- try
- {
- monitor.subTask(ConsumptionMessages.PROGRESS_INFO_STARTING_SERVER);
- server.synchronousStart(ILaunchManager.RUN_MODE, monitor);
- log.log(ILog.INFO, 5053, this, "execute", "IServer=" + server + ", Start command completed");
- return status;
- } catch (CoreException e)
- {
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_SERVER, e);
- return status;
- }
- }
-
- public void setServerInstanceId(String serverInstanceId)
- {
- this.serverInstanceId = serverInstanceId;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java
deleted file mode 100644
index 507cdad38..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 120714 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.command;
-
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.WstWSPluginMessages;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIAPContext;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSISSBPContext;
-import org.eclipse.wst.ws.internal.preferences.WSIComplianceUtils;
-
-
-
-public class WSINonCompliantRuntimeCommand extends AbstractDataModelOperation
-{
-
- private IProject serviceProject_;
-
- public WSINonCompliantRuntimeCommand()
- {
- }
-
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
-
- PersistentWSISSBPContext wsiSSBPContext = WSPlugin.getInstance().getWSISSBPContext();
- PersistentWSIAPContext wsiAPContext = WSPlugin.getInstance().getWSIAPContext();
- Vector statusSSBP = new Vector();
- statusSSBP.add( new Status( WSIComplianceUtils.getWSISeverity(serviceProject_, wsiSSBPContext), "id", 0,
- WstWSPluginMessages.WSI_SSBP_INCOMPLIANT_RUNTIME, null ) );
- Status[] statusesSSBP = (Status[]) statusSSBP.toArray(new Status[statusSSBP.size()]);
-
- Vector statusAP = new Vector();
- statusAP.add( new Status( WSIComplianceUtils.getWSISeverity(serviceProject_, wsiAPContext), "id", 0,
- WstWSPluginMessages.WSI_AP_INCOMPLIANT_RUNTIME, null ));
- Status[] statusesAP = (Status[]) statusAP.toArray(new Status[statusAP.size()]);
-
- if (WSIComplianceUtils.checkWSICompliance (environment.getStatusHandler(), statusesAP, serviceProject_, wsiAPContext))
- {
- if (WSIComplianceUtils.checkWSICompliance (environment.getStatusHandler(), statusesSSBP, serviceProject_, wsiSSBPContext))
- {
- return Status.OK_STATUS;
- }
- else
- {
- // Set message to empty string so that an error dialog does
- // not pop-up telling the user that they cannot continue
- // because they choose not to ignore the WS-I non-compliance warning.
- return StatusUtils.errorStatus( "" );
- }
- }
- else
- {
- // Set message to empty string so that an error dialog does
- // not pop-up telling the user that they cannot continue
- // because they choose not to ignore the WS-I non-compliance warning.
- return StatusUtils.errorStatus( "" );
- }
- }
-
- public void setServiceProject(IProject serviceProject) {
- this.serviceProject_ = serviceProject;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java
deleted file mode 100644
index 8387d2e62..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command.data;
-
-import java.net.MalformedURLException;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-
-public class EclipseIPath2URLStringTransformer implements Transformer
-{
- public Object transform(Object value)
- {
- String s = value.toString();
- if (s.indexOf(":") < 0)
- {
- IResource res = ResourcesPlugin.getWorkspace().getRoot().findMember(value.toString());
- if (res.exists())
- {
- try
- {
- s = res.getLocation().toFile().toURL().toString();
- }
- catch (MalformedURLException murle)
- {
- }
- }
- }
- return s;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java
deleted file mode 100644
index ac65f4176..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 124302 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command.data;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-public class ProjectName2IProjectTransformer implements Transformer
-{
- public Object transform(Object value)
- {
- if (value != null)
- {
- String project = (String) value;
- int slashIndex = project.indexOf('/');
- String projectName = project;
-
- if (slashIndex != -1)
- {
- projectName = project.substring(0, slashIndex);
- }
-
- return ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
- } else
- {
- return null;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java
deleted file mode 100644
index 3ba0cd072..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on Apr 20, 2004
- */
-package org.eclipse.jst.ws.internal.consumption.ui.command.data;
-
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-
-/*
- * Transforms a server instance id to an IServer
- */
-public class ServerInstToIServerTransformer implements Transformer {
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.data.Transformer#transform(java.lang.Object)
- */
- public Object transform(Object value) {
-
- String existingServerInstId = (String)value;
- IServer serverInst = null;
- if (existingServerInstId != null) {
- serverInst = ServerCore.findServer(existingServerInstId);
- }
- return serverInst;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java
deleted file mode 100644
index e1160c50a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.command.data;
-
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-
-public class ServerName2IServerTransformer implements Transformer
-{
- public Object transform(Object value)
- {
- {
- String serverName = value.toString();
- IServer[] servers = ServerCore.getServers();
- if (servers != null && servers.length!=0)
- {
- for (int i = 0; i < servers.length; i++)
- {
- IServer server = (IServer)servers[i];
- if ((server.getName()).equals(serverName))
- return server;
- }
- }
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java
deleted file mode 100644
index ec3795d4b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public class DefaultingUtils {
-
- public DefaultingUtils()
- {
-
- }
-
- /**
- *
- * Uses the following steps to determine a valid default EAR project name:
- *
- * 1. If project does exist:
- * a - look for an existing, referencing EAR component, if one exists return that EAR name
- * b - look for an existing EAR component with the same J2EE version as the project
- * 2. If can't find an appropriate existing EAR component or project does not exist in the
- * workspace, return a new EAR name of form projectNameEAR
- * 3. If project name is null or an empty string return the default EAR name
- *
- * @param projectName a string representing the name of the project for the service
- * @return a string to be used as the default EAR project name for the project name provided
- */
- public static String getDefaultEARProjectName(String projectName)
- {
-
- if (projectName != null && projectName.length() > 0) {
-
- IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
-
- if (proj.exists()) {
-
- //Step 1a - return a referencing EAR project
- IVirtualComponent[] ears = J2EEUtils.getReferencingEARComponents(proj);
- if (ears != null && ears.length > 0) {
- return ears[0].getName();
- }
-
- //Step 1b - return an appropriate existing EAR project
- IVirtualComponent[] allEarComps = J2EEUtils.getAllEARComponents();
-
- if (allEarComps.length > 0)
- {
- for (int i=0; i < allEarComps.length; i++)
- {
- IProject earProject = allEarComps[i].getProject();
- IStatus associationStatus = J2EEUtils.canAssociateProjectToEAR(proj, earProject);
- if (associationStatus.getSeverity()==IStatus.OK)
- {
- return allEarComps[i].getName();
- }
- }
- }
- }
-
- //Step 2 - return project name with EAR on the end
- return projectName + ResourceUtils.getDefaultEARExtension();
- }
-
- //Step 3 - return the default EAR project name
- return ResourceUtils.getDefaultServiceEARProjectName();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java
deleted file mode 100644
index a603ed932..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on May 4, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishTestFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-
-/**
- * @author gilberta
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class FinishFragment extends SequenceFragment
-{
- public FinishFragment()
- {
- add(new FinishTestFragment() );
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java
deleted file mode 100644
index de63bbbec..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * -------- -------- -----------------------------------------------------------
- */
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-
-
-
-public class HandlerDescriptionHelper {
-
- /**
- * Helper method for getting the HandlerDescriptorHolder given the name
- * @param hdhs
- * @param descName
- * @return
- */
- public static HandlerDescriptionHolder getForDescriptionName(HandlerDescriptionHolder[] hdhs, String descName){
- for (int i=0;i<hdhs.length;i++){
- String name = hdhs[i].getDescriptionName();
- if (name!=null && name.equals(descName)){
- return hdhs[i];
- }
- }
- return null;
- }
-
- /**
- * Helper method for getting all description names
- * @param hdhs
- * @return
- */
- public static String[] getAllDescriptionNames(HandlerDescriptionHolder[] hdhs){
- String[] names = new String[hdhs.length];
- for(int i=0;i<hdhs.length;i++){
- names[i]=hdhs[i].getDescriptionName();
- }
- return names;
- }
-
- public static String[] getAllHandlerClassNames(HandlerDescriptionHolder[] hdhs){
- Vector v = new Vector();
- for (int i=0;i<hdhs.length;i++){
- List list = hdhs[i].getHandlerList();
- if (list!=null && !list.isEmpty()){
- for (int j=0;j<list.size();j++){
- HandlerTableItem hti = (HandlerTableItem)list.get(j);
- v.add(hti.getHandlerClassName());
- }
- }
- }
- return (String[])v.toArray(new String[0]);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java
deleted file mode 100644
index 00cbadde2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060518 142554 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.webservice.wsdd.Handler;
-import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddFactory;
-import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.WsddFactoryImpl;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-
-
-public class HandlerDescriptionHolder {
-
- private String descriptionName;
- private List handlerList;
- private WebServiceDescription descriptionObject;
- private IPath sourceOutputPath;
-
-
- public IPath getSourceOutputPath() {
- return sourceOutputPath;
- }
-
- public void setSourceOutputPath(IPath sourceOutputPath) {
- this.sourceOutputPath = sourceOutputPath;
- }
-
- public IProject getProject(){
- if (descriptionObject!=null)
- return ProjectUtilities.getProject(descriptionObject);
- else
- return null;
- }
-
- /*
- * get the WebServiceDescription object
- */
- public WebServiceDescription getDescriptionObject() {
- return descriptionObject;
- }
-
- /**
- * set WebServiceDescription object
- * @param descriptionObject
- */
- public void setDescriptionObject(WebServiceDescription descriptionObject) {
- this.descriptionObject = descriptionObject;
- }
-
- /**
- * get Description name
- * @return
- */
- public String getDescriptionName() {
- return descriptionName;
- }
-
- /**
- * set Description name
- * @param descriptionName
- */
- public void setDescriptionName(String descriptionName) {
- this.descriptionName = descriptionName;
- }
-
- /**
- * get List of HandlerTableItem associated with this service description
- * @return
- */
- public List getHandlerList() {
- return handlerList;
- }
-
- /**
- * set List of HandlerTableItem associated with this service description
- * @param handlerList
- */
- public void setHandlerList(List handlerList) {
- this.handlerList = handlerList;
- }
-
- public void addHandlerToAllPorts(){
-
- if (handlerList!=null && !handlerList.isEmpty()){
-
- for (int z=0;z<handlerList.size();z++){
- HandlerTableItem hti = (HandlerTableItem)handlerList.get(z);
- if (descriptionObject!=null) {
- List portComponents = descriptionObject.getPortComponents();
- for (int x=0;x<portComponents.size();x++){
- PortComponent wsPort = (PortComponent) portComponents.get(x);
- List wsHandlers = wsPort.getHandlers();
- if (wsHandlers!=null){
- boolean alreadyExists = false;
- for (int y=0;y<wsHandlers.size();y++){
- Handler handler = (Handler)wsHandlers.get(y);
- if (handler.getHandlerClass().equals(hti.getHandlerClassName())){
- alreadyExists = true;
- }
- }
-
- if (!alreadyExists) {
- //create it and add to the list
- WsddFactory wsddFactory = new WsddFactoryImpl();
- Handler newHandler = wsddFactory.createHandler();
- newHandler.setHandlerName(hti.getHandlerName());
- newHandler.setHandlerClass(hti.getHandlerClassName());
- wsHandlers.add(newHandler);
- }
- }
- }
- }
- }
- }
-
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java
deleted file mode 100644
index 3daff3bfd..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * -------- -------- -----------------------------------------------------------
- */
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-
-
-public class HandlerServiceRefHelper {
-
- /**
- * Helper method for getting the HandlerServiceRefHolder given the name
- * @param hsrh
- * @param descName
- * @return
- */
- public static HandlerServiceRefHolder getForServiceRefName(HandlerServiceRefHolder[] hsrh, String descName){
- for (int i=0;i<hsrh.length;i++){
- String name = hsrh[i].getServiceRefName();
- if (name!=null && name.equals(descName)){
- return hsrh[i];
- }
- }
- return null;
- }
-
- /**
- * Gets all the handler Class names associated with each service ref
- * @param hsrh
- * @return
- */
- public static String[] getAllHandlerClassNames(HandlerServiceRefHolder[] hsrh){
- Vector v = new Vector();
- for (int i=0;i<hsrh.length;i++){
- List list = hsrh[i].getHandlerList();
- if (list!=null && !list.isEmpty()){
- for (int j=0;j<list.size();j++){
- HandlerTableItem hti = (HandlerTableItem)list.get(j);
- v.add(hti.getHandlerClassName());
- }
- }
- }
- return (String[])v.toArray(new String[0]);
- }
-
- /**
- * Get all the service Ref names
- * @param hsrh
- * @return
- */
- public static String[] getAllServiceRefNames(HandlerServiceRefHolder[] hsrh){
- String[] names = new String[hsrh.length];
- for(int i=0;i<hsrh.length;i++){
- names[i]=hsrh[i].getServiceRefName();
- }
- return names;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java
deleted file mode 100644
index b1b004bdf..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060517 142339 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.webservice.wsclient.Handler;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.j2ee.webservice.wsclient.Webservice_clientFactory;
-import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.Webservice_clientFactoryImpl;
-import org.eclipse.jst.ws.internal.common.JavaMOFUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-
-
-public class HandlerServiceRefHolder {
-
- private String serviceRefName;
- private List handlerList;
- private ServiceRef serviceRef;
- private IPath sourceOutputPath;
-
- public IPath getSourceOutputPath() {
- return sourceOutputPath;
- }
-
- public void setSourceOutputPath(IPath sourceOutputPath) {
- this.sourceOutputPath = sourceOutputPath;
- }
-
- public IProject getProject() {
- if (serviceRef!=null)
- return ProjectUtilities.getProject(serviceRef);
- else
- return null;
- }
-
- public List getHandlerList() {
- return handlerList;
- }
-
- public void setHandlerList(List handlerList) {
- this.handlerList = handlerList;
- }
-
- public ServiceRef getServiceRef() {
- return serviceRef;
- }
-
- public void setServiceRef(ServiceRef serviceRef) {
- this.serviceRef = serviceRef;
- }
-
- public String getServiceRefName() {
- return serviceRefName;
- }
-
- public void setServiceRefName(String serviceRefName) {
- this.serviceRefName = serviceRefName;
- }
-
- public void addHandlerToServiceRef(){
- if (handlerList!=null && !handlerList.isEmpty()){
-
- for (int x=0;x<handlerList.size();x++){
- HandlerTableItem hti = (HandlerTableItem)handlerList.get(x);
- if (serviceRef!=null){
- List existingHandlers = serviceRef.getHandlers();
- boolean alreadyExists = false;
- for (int i=0;i<existingHandlers.size();i++){
- Handler handler = (Handler)existingHandlers.get(i);
- if (handler.getHandlerClass().getJavaName().equals(hti.getHandlerClassName())){
- alreadyExists = true;
- }
- }
-
- if (!alreadyExists) {
-
- Webservice_clientFactory wsClientFactory = new Webservice_clientFactoryImpl();
- Handler newHandler = wsClientFactory.createHandler();
- newHandler.setHandlerName(hti.getHandlerName());
- try {
- IProject project = ProjectUtilities.getProject(serviceRef);
- if (project!=null) {
- JavaClass javaClass = JavaMOFUtils.getJavaClass(hti.getHandlerClassName(), project);
- if (javaClass != null) {
- newHandler.setHandlerClass(javaClass);
- }
- existingHandlers.add(newHandler);
- }
- }
- catch(Exception e){
- e.printStackTrace();
- }
- }
-
- }
-
- }
- }
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java
deleted file mode 100644
index a9b44f6b5..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionRegistry;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * This command is intended to clean up data after either the
- * client or service wizards. Currently is just resets the
- * parser factory.
- *
- */
-public class ScenarioCleanupCommand extends AbstractDataModelOperation
-{
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- WSDLParserFactory.killParser();
- ObjectSelectionRegistry.getInstance().cleanup();
-
- return Status.OK_STATUS;
- }
-
-
- public IStatus undo( IProgressMonitor monitor, IAdaptable adaptable )
- {
- // Even if the user cancels out of the wizard we want to
- // kill the parser.
- WSDLParserFactory.killParser();
- ObjectSelectionRegistry.getInstance().cleanup();
-
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java
deleted file mode 100644
index 0a472a29f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060324 116750 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import java.util.ArrayList;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jst.ws.internal.consumption.common.IServerDefaulter;
-import org.eclipse.jst.ws.internal.consumption.common.ServerInfo;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-
-
-public class ServerSelectionUtils
-{
-
- public static IRuntime getRuntimeTarget(String projectName)
- {
- if( projectName != null && projectName.length() > 0 ){ //$NON-NLS-1$
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
- if( project != null && project.exists() ){
- return ServerCore.getProjectProperties(project).getRuntimeTarget();
- }
- }
- return null;
- }
-
- public static IServer getFirstExistingServerFromFactoryId(String factoryId)
- {
- IServer[] servers = ServerCore.getServers();
- if (servers==null || servers.length!=0)
- return null;
- else
- {
- for (int i=0; i<servers.length; i++)
- {
- IServer server = (IServer)servers[i];
- if (server.getServerType().getId().equals(factoryId))
- {
- return server;
- }
- }
- }
- return null;
- }
-
- public static IServer[] getCompatibleExistingServers(IRuntime runtime)
- {
- if (runtime == null)
- return null;
-
- IServer[] servers = ServerCore.getServers();
- if (servers==null || servers.length==0)
- return null;
-
- ArrayList compatibleServersList = new ArrayList();
- String runtimeId = runtime.getRuntimeType().getId();
- for (int i=0; i<servers.length; i++)
- {
- IServer server = (IServer)servers[i];
- String serverRuntimeId = server.getRuntime().getRuntimeType().getId();
- if (serverRuntimeId.equals(runtimeId))
- compatibleServersList.add(server);
-
- }
- if (compatibleServersList.size()<1)
- return null;
-
-
- Object[] compatibleServersArray = compatibleServersList.toArray();
- IServer[] compatibleServers = new IServer[compatibleServersArray.length];
- for (int j=0; j<compatibleServersArray.length; j++)
- {
- compatibleServers[j] = (IServer)compatibleServersArray[j];
- }
-
- return compatibleServers;
- }
-
- public static ServerInfo getExtenderRecommendation(IProject project)
- {
- try
- {
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] elements = reg.getConfigurationElementsFor("org.eclipse.jst.ws.consumption", "serverDefaulter");
- for (int i=0; i<elements.length; i++)
- {
- Object serverDefaulterObject = elements[i].createExecutableExtension("class");
- if (serverDefaulterObject instanceof IServerDefaulter)
- {
- IServerDefaulter serverDefaulter = (IServerDefaulter)serverDefaulterObject;
- ServerInfo serverInfo = serverDefaulter.recommendDefaultServer(project);
- if (serverInfo != null)
- return serverInfo;
- }
-
- }
- } catch (CoreException ce)
- {
- return null;
- }
-
- return null;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java
deleted file mode 100644
index 8a1034fd3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java
+++ /dev/null
@@ -1,1037 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 115834 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 136705 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060421 136761 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060425 137831 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
- * 20060905 156230 kathy@ca.ibm.com - Kathy Chan, Handling projects with no target runtime
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.common;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jem.util.emf.workbench.WorkbenchResourceHelperBase;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.webservice.internal.WebServiceConstants;
-import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
-import org.eclipse.jst.j2ee.webservice.wsdd.WSDLPort;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServices;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddResource;
-import org.eclipse.jst.server.core.FacetUtil;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.IProjectFacet;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.common.project.facet.core.VersionFormatException;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-/**
- *
- */
-public class ValidationUtils
-{
- //Constants to help decide how much validation to do.
- public static final int VALIDATE_NONE = 0;
- public static final int VALIDATE_ALL = 1;
- public static final int VALIDATE_SERVER_RUNTIME_CHANGES = 2;
- public static final int VALIDATE_PROJECT_CHANGES = 3;
- public static final int VALIDATE_SCALE_CHANGES = 4;
-
- /**
- *
- */
- public ValidationUtils()
- {
- }
-
- /**
- * Returns a new validation state based on the current validation state
- * and the requested validation state. If the requested validation state
- * does not cover all the validation covered by the current validation
- * state, VALIDATE_ALL is returned. Otherwise, the requested validation
- * state is returned.
- *
- * @param currentValidationState the validaton state at the time the caller's requests a change
- * @param requestedValidationState the validation state being requested by the caller.
- * @return Returns VALIDATE_ALL if the requested validation state
- * does not cover all the validation covered by the current validation
- * state. Returned requestedValidationState otherwise.
- */
- public int getNewValidationState(int currentValidationState, int requestedValidationState) {
- int newValidationState;
- if (currentValidationState == VALIDATE_NONE
- || currentValidationState == requestedValidationState) {
- newValidationState = requestedValidationState;
- } else {
- newValidationState = VALIDATE_ALL;
- }
-
- return newValidationState;
-
- }
-
- /**
- * Returns IStatus resulting from checking for empty fields. Used for validation of page 1 of the
- * Web service/client wizards.
- * @param validationState one of VALIDATE_NONE, VALIDATE_ALL, VALIDATE_SERVER_RUNTIME_CHANGES, VALIDATE_PROJECT_CHANGES, VALIDATE_SCALE_CHANGES
- * @param typeId Web service type id (isClient=false) or Web service client implementation type id (isClient=true)
- * @param serviceImpl String representation of the object selection from page 1
- * @param runtimeId Web service runtime id
- * @param serverId server type id
- * @param projectName name of project
- * @param needEar boolean <code>true</code> if EAR is required, <code>false</code> if not.
- * @param earProjectName name of EAR project
- * @param projectTypeId template id
- * @param isClient boolean <code>true</code> if the method is being called for client side validation,
- * <code>false</code> for service side validation.
- * @return IStatus with severity IStatus.OK if all mandatory fields are non-null and non-empty.
- * IStatus with severity IStatus.ERROR otherwise.
- */
- public IStatus checkMissingFieldStatus(int validationState, String typeId, String serviceImpl, String runtimeId, String serverId,
- String projectName, boolean needEar, String earProjectName, String projectTypeId,
- boolean isClient)
- {
- // Object selection
- if (validationState==VALIDATE_ALL && !isClient)
- {
- if (serviceImpl.length() == 0) {
- int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(typeId);
- if (scenario == WebServiceScenario.BOTTOMUP)
- {
- return StatusUtils
- .errorStatus(ConsumptionUIMessages.MSG_NO_OBJECT_SELECTION);
- }
- else
- {
- return StatusUtils
- .errorStatus(ConsumptionUIMessages.MSG_NO_SERVICE_SELECTION);
- }
- }
- }
-
- // Web service runtime
- if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES) {
- if (runtimeId == null || runtimeId.length() == 0) {
- if (isClient) {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME,
- new String[] { ConsumptionUIMessages.MSG_CLIENT_SUB }));
- } else {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME,
- new String[] { ConsumptionUIMessages.MSG_SERVICE_SUB }));
- }
- }
- }
-
- if (validationState == VALIDATE_ALL || validationState == VALIDATE_PROJECT_CHANGES) {
- // Project
- if (projectName == null || projectName.length() == 0) {
- if (isClient) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_CLIENT_PROJECT_EMPTY, new String[] { "" }));
- } else {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_SERVICE_PROJECT_EMPTY, new String[] { "" }));
- }
- }
-
- // Project type (if project does not exist)
- IProject project = ProjectUtilities.getProject(projectName);
- if (!project.exists()) {
- if (projectTypeId == null || projectTypeId.length() == 0) {
-
- if (isClient) {
- return StatusUtils
- .errorStatus(ConsumptionUIMessages.MSG_CLIENT_PROJECT_TYPE_EMPTY);
- } else {
- return StatusUtils
- .errorStatus(ConsumptionUIMessages.MSG_SERVICE_PROJECT_TYPE_EMPTY);
- }
- }
- }
-
- // Ear (if need ear)
- if (needEar) {
- if (earProjectName == null || earProjectName.length() == 0) {
- if (isClient) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_CLIENT_EAR_EMPTY, new String[] { "" }));
- } else {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_SERVICE_EAR_EMPTY, new String[] { "" }));
- }
- }
- }
- }
-
- // Server (if Web service runtime requires a server or project does not
- // exist)
- if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES
- || validationState == VALIDATE_PROJECT_CHANGES) {
- if (serverId == null || serverId.length() == 0) {
- RuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getRuntimeById(runtimeId);
- if (desc.getServerRequired()) {
- if (isClient) {
- StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER,
- new String[] { ConsumptionUIMessages.MSG_CLIENT_SUB }));
- } else {
- StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER,
- new String[] { ConsumptionUIMessages.MSG_SERVICE_SUB }));
- }
- } else {
- IProject project = ProjectUtilities.getProject(projectName);
- if (!project.exists()) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_PROJECT_MUST_EXIST,
- new String[] { projectName }));
-
- }
- }
- }
- }
-
- return Status.OK_STATUS;
- }
-
- /**
- * Returns IStatus resulting from checking for errors. Used for validation of page 1 of the
- * Web service/client wizards.
- * @param validationState one of VALIDATE_NONE, VALIDATE_ALL, VALIDATE_SERVER_RUNTIME_CHANGES, VALIDATE_PROJECT_CHANGES, VALIDATE_SCALE_CHANGES
- * @param typeId Web service type id (isClient=false) or Web service client implementation type id (isClient=true)
- * @param runtimeId Web service runtime id
- * @param serverId server type id
- * @param projectName name of project
- * @param needEar boolean <code>true</code> if EAR is required, <code>false</code> if not.
- * @param earProjectName name of EAR project
- * @param projectTypeId template id
- * @param isClient boolean <code>true</code> if the method is being called for client side validation,
- * <code>false</code> for service side validation.
- * @return IStatus with severity IStatus.OK if no errors are present,
- * IStatus with severity IStatus.ERROR otherwise.
- */
- public IStatus checkErrorStatus(int validationState, String typeId, String runtimeId, String serverId,
- String projectName, boolean needEar, String earProjectName, String projectTypeId,
- boolean isClient) {
-
- // Ensure server, Web service runtime, and Web service type are
- // compatible
-
- // Labels
- String serverLabel = "";
- if (serverId != null && serverId.length()>0)
- {
- serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
- }
- String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
-
- if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES) {
- if (serverId != null && serverId.length() > 0) {
- if (isClient) {
- if (!WebServiceRuntimeExtensionUtils2
- .isServerClientRuntimeTypeSupported(serverId,
- runtimeId, typeId)) {
- return StatusUtils
- .errorStatus(NLS
- .bind(
- ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS,
- new String[] { serverLabel,
- runtimeLabel }));
- }
- } else {
- if (!WebServiceRuntimeExtensionUtils2
- .isServerRuntimeTypeSupported(serverId, runtimeId,
- typeId)) {
- return StatusUtils
- .errorStatus(NLS
- .bind(
- ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS,
- new String[] { serverLabel,
- runtimeLabel }));
- }
- }
- }
- }
-
- // If the project exists, ensure it supports the Web service type, Web
- // service runtime, and server. If the Ear also exists and the project
- // and Ear are not already associated, ensure they can be.
- // If the project does not exist, ensure the project type supports the
- // Web service type, Web service runtime, and server
- if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES
- || validationState == VALIDATE_PROJECT_CHANGES) {
- ValidationUtils valUtils = new ValidationUtils();
- IProject project = ProjectUtilities.getProject(projectName);
- if (project.exists()) {
-
- if (isClient) {
- // Check if the runtime supports it.
- if (!WebServiceRuntimeExtensionUtils2.doesClientTypeAndRuntimeSupportProject(
- typeId, runtimeId, projectName)) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_PROJECT,
- new String[] { runtimeLabel, projectName }));
- }
-
- // Check if the server supports it.
- if (serverId != null && serverId.length() > 0) {
- if (!valUtils.doesServerSupportProject(serverId, projectName)) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_PROJECT,
- new String[] { serverLabel, projectName }));
- }
- }
- } else {
- // Check if the runtime supports it.
- if (!WebServiceRuntimeExtensionUtils2.doesServiceTypeAndRuntimeSupportProject(
- typeId, runtimeId, projectName)) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_PROJECT,
- new String[] { runtimeLabel, projectName }));
- }
-
- // Check if the server supports it.
- if (serverId != null && serverId.length() > 0)
- {
- if (!valUtils.doesServerSupportProject(serverId, projectName)) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_PROJECT,
- new String[] { serverLabel, projectName }));
- }
- }
- }
- } else {
- // Look at the project type to ensure that it is suitable for
- // the
- // selected runtime and server.
- String templateId = projectTypeId;
- String templateLabel = FacetUtils.getTemplateLabelById(templateId);
-
- if (isClient) {
- // Check if the runtime supports it.
- if (!WebServiceRuntimeExtensionUtils2.doesClientTypeAndRuntimeSupportTemplate(
- typeId, runtimeId, templateId)) {
-
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE,
- new String[] { runtimeLabel, templateLabel }));
- }
-
- // Check if the server supports it.
- if (serverId != null && serverId.length()>0)
- {
- if (!valUtils.doesServerSupportTemplate(serverId, templateId)) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_TEMPLATE,
- new String[] { serverLabel, templateLabel }));
- }
- }
-
- } else {
- // Check if the runtime supports it.
- if (!WebServiceRuntimeExtensionUtils2.doesServiceTypeAndRuntimeSupportTemplate(
- typeId, runtimeId, templateId)) {
- return StatusUtils
- .errorStatus(NLS
- .bind(
- ConsumptionUIMessages.MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE,
- new String[] { runtimeLabel, templateLabel }));
- }
-
- // Check if the server supports it.
- if (serverId != null && serverId.length()>0)
- {
- if (!valUtils.doesServerSupportTemplate(serverId, templateId)) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE,
- new String[] { serverLabel, templateLabel }));
- }
- }
- }
-
- }
-
- }
-
- if (validationState == VALIDATE_ALL || validationState == VALIDATE_PROJECT_CHANGES) {
- // Check if project/EAR association is good.
- if (needEar) {
- IProject project = ProjectUtilities.getProject(projectName);
- IProject ep = ProjectUtilities.getProject(earProjectName);
- if (project.exists() && ep.exists()) {
- if (!J2EEUtils.isComponentAssociated(ep, project)) {
- IStatus associateStatus = J2EEUtils.canAssociateProjectToEAR(project, ep);
- if (associateStatus.getSeverity() == IStatus.ERROR) {
- if (isClient) {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_CLIENT_CANNOT_ASSOCIATE,
- new String[] { projectName, ep.getName(),
- associateStatus.getMessage() }));
- } else {
- return StatusUtils.errorStatus(NLS.bind(
- ConsumptionUIMessages.MSG_SERVICE_CANNOT_ASSOCIATE,
- new String[] { projectName, ep.getName(),
- associateStatus.getMessage() }));
- }
-
- }
- }
- }
- }
- }
-
- return Status.OK_STATUS;
-
- }
-
- /**
- * Returns IStatus resulting from checking for warnings. Used for validation of page 1 of the
- * Web service/client wizards.
- * @param validationState one of VALIDATE_NONE, VALIDATE_ALL, VALIDATE_SERVER_RUNTIME_CHANGES, VALIDATE_PROJECT_CHANGES, VALIDATE_SCALE_CHANGES
- * @param scaleSetting one of <BR/>
- * ScenarioContext.WS_TEST<BR/>
- * ScenarioContext.WS_START<BR/>
- * ScenarioContext.WS_INSTALL<BR/>
- * ScenarioContext.WS_DEPLOY<BR/>
- * ScenarioContext.WS_ASSEMBLE<BR/>
- * ScenarioContext.WS_DEVELOP<BR/>
- * ScenarioContext.WS_NONE
- * @param serverId server type id
- * @param isClient boolean <code>true</code> if the method is being called for client side validation,
- * <code>false</code> for service side validation.
- * @return IStatus with severity IStatus.OK if no errors are present,
- * IStatus with severity IStatus.WARNING otherwise.
- */
- public IStatus checkWarningStatus(int validationState, int scaleSetting, String serverId,
- boolean isClient) {
- // Return a warning if there is no server selection and scale setting is
- // anything beyond assemble.
- if (validationState == VALIDATE_ALL || validationState == VALIDATE_SCALE_CHANGES
- || validationState == VALIDATE_SERVER_RUNTIME_CHANGES) {
- if (serverId == null || serverId.length() == 0) {
- if (scaleSetting < ScenarioContext.WS_ASSEMBLE) {
- if (isClient) {
- return StatusUtils.warningStatus(NLS.bind(
- ConsumptionUIMessages.MSG_WARN_NO_CLIENT_SERVER, new String[0]));
- } else {
- return StatusUtils.warningStatus(NLS.bind(
- ConsumptionUIMessages.MSG_WARN_NO_SERVICE_SERVER, new String[0]));
- }
- }
- } else {
- // Return a warning if the selected server has only stub
- // runtimes
- // and the scale setting is anything beyond deploy.
- IServerType serverType = ServerCore.findServerType(serverId);
- if (serverType != null) {
- // Find a Runtime which is not a stub
- IRuntime nonStubRuntime = ServerUtils.getNonStubRuntime(serverId);
- if ((scaleSetting < ScenarioContext.WS_DEPLOY) && nonStubRuntime == null) {
- String servertypeLabel = WebServiceRuntimeExtensionUtils2
- .getServerLabelById(serverId);
- return StatusUtils.warningStatus(NLS.bind(
- ConsumptionUIMessages.MSG_WARN_STUB_ONLY,
- new String[] { servertypeLabel }));
- }
- }
-
- }
- }
-
- return Status.OK_STATUS;
-
- }
-
- /**
- * Returns whether or not the provided server type supports the facet versions on the provided project
- * @param serverFactoryId server type id
- * @param projectName name of a project that may or may not exist.
- * @return boolean <code>true</code>
- * <ul>
- * <li>if the server type supports the facet versions on the project or</li>
- * <li>if the project is not a faceted project or</li>
- * <li>if the project does not exist.</li>
- * </ul>
- * Returns <code>false</code> otherwise.
- */
- public boolean doesServerSupportProject(String serverFactoryId, String projectName)
- {
- IProject project = ProjectUtilities.getProject(projectName);
- IFacetedProject fProject = null;
- if (project.exists())
- {
- try
- {
- fProject = ProjectFacetsManager.create(project);
- } catch (CoreException ce)
- {
-
- }
-
- if (fProject != null)
- {
- Set facets = fProject.getProjectFacets();
- return doesServerSupportFacets(serverFactoryId, facets);
- }
- else
- {
- //If it's not a faceted project, we have nothing to compare to - assume it's good.
- return true;
- }
- }
- else
- {
- //If the project doesn't exist, we have nothing to compare to - assume it's good.
- return true;
- }
-
- }
-
- /**
- * Returns whether or not the provided server type supports the facet versions in the provided set.
- * @param serverFactoryId server type id
- * @param facets set containing elements of type {@link IProjectFacetVersion}
- * @return boolean <code>true</code> if the server type supports the facet versions in the provided set,
- * <code>false</code> otherwise.
- */
- public boolean doesServerSupportFacets(String serverFactoryId, Set facets)
- {
- Set runtimes = FacetUtils.getRuntimes(new Set[]{facets});
- Iterator itr = runtimes.iterator();
- IServerType st = ServerCore.findServerType(serverFactoryId);
- String runtimeTypeId = st.getRuntimeType().getId();
- while (itr.hasNext())
- {
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime)itr.next();
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- if (runtimeTypeId.equals(sRuntime.getRuntimeType().getId()))
- {
- //found a match
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns whether or not the provided server type supports at least one version of
- * each of the fixed facets on the provided template
- * @param serverFactoryId server type id
- * @param templateId id of a {@link IFacetedProjectTemplate}
- * @return boolean <code>true</code> if the server type supports at least one version of
- * each of the fixed facets on the provided template, <code>false</code> otherwise.
- */
- public boolean doesServerSupportTemplate(String serverFactoryId, String templateId)
- {
- IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
- Set templateFacets = template.getFixedProjectFacets();
- Iterator templateFacetsItr = templateFacets.iterator();
- while (templateFacetsItr.hasNext())
- {
- boolean serverSupportsThisOne = false;
- IProjectFacet fixedFacet = (IProjectFacet)templateFacetsItr.next();
- List versions = null;
- try
- {
- versions = fixedFacet.getSortedVersions(true);
- } catch (VersionFormatException e)
- {
- Set versionSet = fixedFacet.getVersions();
- Iterator itr = versionSet.iterator();
- versions = new ArrayList();
- while (itr.hasNext())
- {
- versions.add(itr.next());
- }
- } catch (CoreException e)
- {
- Set versionSet = fixedFacet.getVersions();
- Iterator itr = versionSet.iterator();
- versions = new ArrayList();
- while (itr.hasNext())
- {
- versions.add(itr.next());
- }
- }
- Iterator versionsItr = versions.iterator();
- while(versionsItr.hasNext())
- {
- IProjectFacetVersion pfv = (IProjectFacetVersion)versionsItr.next();
- Set pfvs = new HashSet();
- pfvs.add(pfv);
- if (doesServerSupportFacets(serverFactoryId, pfvs))
- {
- serverSupportsThisOne = true;
- break;
- }
- }
-
- if (!serverSupportsThisOne)
- {
- return false;
- }
- }
-
- return true;
- }
-
- /**
- * Returns whether or not the provided project or project type (if the project is null or does not exist)
- * rules out the need for an EAR.
- * @param projectName name of a project
- * @param projectTypeId id of a {@link IFacetedProjectTemplate}. Must be non-empty if the project is null or
- * does not exist.
- * @return boolean <code>true</code> if the need for an EAR is not ruled out, <code>false</code> otherwise.
- */
- public boolean projectOrProjectTypeNeedsEar(String projectName, String projectTypeId)
- {
- // If the project is a simple Java project or the project type is
- // Java utility return false.
- if (projectName != null && projectName.length() > 0) {
- IProject project = ResourceUtils.getWorkspaceRoot().getProject(projectName);
- if (project.exists()) {
- if (FacetUtils.isJavaProject(project)) {
- return false;
- }
- }
- }
-
- // Project didn't rule out the need for an EAR
- // so check the proect type
- String templateId = projectTypeId;
- if (templateId != null && templateId.length() > 0) {
- if (FacetUtils.isUtilityTemplate(templateId)) {
- return false;
- }
- }
-
- return true;
- }
-
- /**
- * Returns whether or not an J2EE 1.3 EAR project can be installed on a server of
- * the provided server type.
- * @param serverTypeId server type id
- * @return boolean <code>true</code> if a J2EE 1.3 EAR project can be installed on a server of
- * the provided server type, <code>false</code> otherwise.
- */
- public boolean serverNeedsEAR(String serverTypeId)
- {
- if (serverTypeId == null) {
- return false;
- }
- if (serverTypeId.length() > 0) {
- String targetId = ServerUtils.getRuntimeTargetIdFromFactoryId(serverTypeId);
- if (targetId != null && targetId.length() > 0) {
- if (!ServerUtils.isTargetValidForEAR(targetId, "13")) // rm j2ee
- {
- return false;
- }
- }
- }
-
- return true;
- }
-
- public IStatus validateProjectTargetAndJ2EE(String projectName, String compName, String earName, String earCompName, String serverFactoryId, String j2eeLevel)
- {
- IProject p = ProjectUtilities.getProject(projectName);
- IProject earP = null;
- if (earName!=null && !earName.equalsIgnoreCase("")) {
- earP = ProjectUtilities.getProject(earName);
- }
- IStatus targetStatus = doesProjectTargetMatchServerType(p, serverFactoryId);
- if (earP!=null && targetStatus.getSeverity()==Status.OK)
- {
- //check the EAR
- IStatus earTargetStatus = doesProjectTargetMatchServerType(earP, serverFactoryId);
- if(earTargetStatus.getSeverity()==Status.ERROR)
- {
- return earTargetStatus;
- }
- }
- else
- {
- return targetStatus;
- }
-
-
- //Validate service side J2EE level
- IStatus j2eeStatus = doesProjectMatchJ2EELevel(p, compName, j2eeLevel);
- if(earP!=null && j2eeStatus.getSeverity()==Status.OK)
- {
- IStatus earJ2EEStatus = doesProjectMatchJ2EELevel(earP, earCompName, j2eeLevel);
- if(earJ2EEStatus.getSeverity()==Status.ERROR)
- {
- return earJ2EEStatus;
- }
- }
- else
- {
- return j2eeStatus;
- }
-
- return Status.OK_STATUS;
- }
-
- //TODO: This method is obselete - should be removed.
- private IStatus doesProjectTargetMatchServerType(IProject p, String serverFactoryId)
- {
- if (p!=null && p.exists())
- {
- IRuntime projectTarget = ServerSelectionUtils.getRuntimeTarget(p.getName());
- if (projectTarget!=null)
- {
- String projectTargetId = projectTarget.getRuntimeType().getId();
- String serverTargetId = ServerUtils.getRuntimeTargetIdFromFactoryId(serverFactoryId);
- if (serverTargetId!=null && serverTargetId.length()>0)
- {
- if(!projectTargetId.equals(serverTargetId))
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVER_TARGET_MISMATCH,new String[]{p.getName()}) );
- }
- }
- }
- }
- return Status.OK_STATUS;
- }
-
- //TODO: This method is obselete - should be removed.
- private IStatus doesProjectMatchJ2EELevel(IProject p, String compName, String j2eeLevel)
- {
-
- try {
- if (p!=null && p.exists())
- {
- int projectJ2EELevel = J2EEUtils.getJ2EEVersion(p);
- if (projectJ2EELevel!=-1)
- {
- String projectJ2EELevelString = String.valueOf(projectJ2EELevel);
- if (j2eeLevel!=null && j2eeLevel.length()>0)
- {
- if (!projectJ2EELevelString.equals(j2eeLevel))
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_J2EE_MISMATCH,new String[]{p.getName()}) );
- }
- }
- }
- }
- } catch(Exception e){
-
- }
-
- return Status.OK_STATUS;
- }
-
- //TODO: This method is obselete - should be removed.
- public IStatus validateProjectType(String projectName, SelectionListChoices runtime2ClientTypes)
- {
- IStatus status = Status.OK_STATUS;
- IProject p = ProjectUtilities.getProject(projectName);
- if (p==null || !p.exists())
- {
- //Project does not exist which means a new project of the correct type will be created
- //We're done. All is good.
- return status;
- }
-
- //If the project exists, we should see it in the project list for the selected client
- //project type.
- String[] projectNames = runtime2ClientTypes.getChoice().getChoice().getList().getList();
- for (int i=0; i<projectNames.length; i++)
- {
- if (projectName.equals(projectNames[i]))
- {
- //Found the project. All is good.
- return status;
- }
- }
-
- //Didn't find the project. Return an error.
- //Get the label for the client type id
- String clientTypeLabel = getClientTypeLabel(runtime2ClientTypes.getChoice().getList().getSelection());
- String message = NLS.bind(ConsumptionUIMessages.MSG_WRONG_CLIENT_PROJECT_TYPE,new String[]{projectName, clientTypeLabel});
- IStatus eStatus = StatusUtils.errorStatus( message );
- return eStatus;
-
- }
-
- //TODO: This method is obselete - should be removed.
- private String getClientTypeLabel( String type )
- {
- if (type.equals(IModuleConstants.JST_WEB_MODULE))
- {
- return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_WEB;
- }
- else if (type.equals(IModuleConstants.JST_EJB_MODULE))
- {
- return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_EJB;
- }
- else if (type.equals(IModuleConstants.JST_APPCLIENT_MODULE))
- {
- return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_APP_CLIENT;
- }
- else if (type.equals(IModuleConstants.JST_UTILITY_MODULE))
- {
- return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_CONTAINERLESS;
- }
- else
- {
- //No known label, return the typeId itself.
- return type;
- }
- }
-
- /**
- * Returns whether or not this project is likely hosting any of the services
- * in the provided WSDL as a J2EE Web service.
- * @param p IProject in the workspace
- * @param wsdlURL URL of a WSDL document
- * @param parser
- * @return boolean <code>true</code> if the project contains a webservices.xml
- * deployment descriptor that points to at least one of the ports in the provided WSDL.
- * Returns <code>false</code> otherwise.
- */
- public boolean isProjectServiceProject(IProject p, String wsdlURL, WebServicesParser parser)
- {
- if (p==null || wsdlURL==null || wsdlURL.length()==0 || parser==null)
- return false;
-
- IResource wsXML = getWebServcesXML(p);
- if (wsXML==null)
- return false;
-
-
- //Make a list of all the wsdl-port's in webservices.xml
- if (!(wsXML instanceof IFile))
- {
- return false;
- }
-
- Resource res = WorkbenchResourceHelperBase.getResource((IFile)wsXML, true);
- WsddResource wsddRes = (WsddResource)res;
- WebServices webServices = wsddRes.getWebServices();
- Iterator wsDescs = webServices.getWebServiceDescriptions().iterator();
- ArrayList wsdlPortList = new ArrayList();
- while(wsDescs.hasNext())
- {
- WebServiceDescription wsDesc = (WebServiceDescription)wsDescs.next();
- Iterator pcs = wsDesc.getPortComponents().iterator();
- while(pcs.hasNext())
- {
- PortComponent pc = (PortComponent)pcs.next();
- WSDLPort wsdlPort = pc.getWsdlPort();
- wsdlPortList.add(new QualifiedName(wsdlPort.getNamespaceURI(), wsdlPort.getLocalPart()));
- }
- }
-
- ArrayList portList = getPortNamesFromWsdl(wsdlURL, parser);
-
- //If any of the QualifiedNames in portList equals any of the QualifiedNames
- //in wsdlPortList, this is the service project. Return true.
- Object[] ports = portList.toArray();
- Object[] wsdlPorts = wsdlPortList.toArray();
- for (int i = 0; i < ports.length; i++)
- {
- QualifiedName portName = (QualifiedName) ports[i];
- for (int j = 0; j < wsdlPorts.length; j++)
- {
- QualifiedName wsdlPortName = (QualifiedName) wsdlPorts[j];
- if (portName.equals(wsdlPortName))
- {
- return true;
- }
- }
- }
-
- return false;
- }
-
- /**
- * Returns the IResource corresponding to the webservices.xml in the provided project.
- * @param p an IProject in the workspace.
- * @return IResource corresponding to the webservices.xml in the provided project,
- * null if there is no webservices.xml in the project.
- */
- private IResource getWebServcesXML(IProject p)
- {
- //Get the module root.
- IResource moduleRoot = getModuleRoot(p);
- if (!(moduleRoot instanceof IContainer))
- return null;
-
- IResource webServicesXML = null;
- if (J2EEProjectUtilities.isDynamicWebProject(p))
- {
- StringBuffer wsPath = new StringBuffer();
- wsPath.append("WEB-INF/");
- wsPath.append(WebServiceConstants.WEBSERVICE_DD_SHORT_NAME);
- webServicesXML = ((IContainer) moduleRoot).findMember(wsPath.toString());
- }
- else
- {
- StringBuffer wsPath = new StringBuffer();
- wsPath.append("META-INF/");
- wsPath.append(WebServiceConstants.WEBSERVICE_DD_SHORT_NAME);
- webServicesXML = ((IContainer) moduleRoot).findMember(wsPath.toString());
- }
- return webServicesXML;
- }
-
- private IResource getModuleRoot(IProject p)
- {
- IPath modulePath = null;
- try
- {
- IVirtualComponent vc = ComponentCore.createComponent(p);
- if (vc != null)
- {
- modulePath = vc.getRootFolder().getWorkspaceRelativePath();
- }
- }
- catch(Exception ex)
- {
-
- }
-
- IResource res = ResourceUtils.findResource(modulePath);
- return res;
- }
-
- /**
- * Returns a list of WSDL ports in the provided WSDL
- * @param wsdlURL URL of a WSDL document
- * @param parser
- * @return ArrayList containing elements of type {@link QualifiedName}
- */
- private ArrayList getPortNamesFromWsdl(String wsdlURL, WebServicesParser parser)
- {
- ArrayList portNameList = new ArrayList();
- Definition def = parser.getWSDLDefinition(wsdlURL);
- Map services = def.getServices();
- Service service = null;
- for (Iterator it = services.values().iterator(); it.hasNext();)
- {
- service = (Service)it.next();
- String namespace = service.getQName().getNamespaceURI();
- Map ports = service.getPorts();
- for (Iterator it2 = ports.values().iterator(); it2.hasNext();)
- {
- Port port = (Port)it2.next();
- portNameList.add(new QualifiedName(namespace, port.getName()));
- }
- }
-
- return portNameList;
-
- }
-
- private class QualifiedName
- {
- String namespaceURI;
-
- String localPart;
-
- /**
- * @param namespaceURI
- * @param localPart
- */
- public QualifiedName(String namespaceURI, String localPart)
- {
- super();
- this.namespaceURI = namespaceURI;
- this.localPart = localPart;
- }
-
- /**
- * @return Returns the localPart.
- */
- public String getLocalPart()
- {
- return localPart;
- }
-
- /**
- * @param localPart
- * The localPart to set.
- */
- public void setLocalPart(String localPart)
- {
- this.localPart = localPart;
- }
-
- /**
- * @return Returns the namespaceURI.
- */
- public String getNamespaceURI()
- {
- return namespaceURI;
- }
-
- /**
- * @param namespaceURI
- * The namespaceURI to set.
- */
- public void setNamespaceURI(String namespaceURI)
- {
- this.namespaceURI = namespaceURI;
- }
-
- public boolean equals(QualifiedName qn)
- {
- return (qn.getNamespaceURI().equals(namespaceURI) && qn.getLocalPart()
- .equals(localPart));
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java
deleted file mode 100644
index 3e4feacd4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.extension;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.DataObjectCommand;
-import org.eclipse.wst.ws.internal.extensions.AssembleClientFragment;
-import org.eclipse.wst.ws.internal.extensions.DeployClientFragment;
-import org.eclipse.wst.ws.internal.extensions.DevelopClientFragment;
-import org.eclipse.wst.ws.internal.extensions.InstallClientFragment;
-import org.eclipse.wst.ws.internal.extensions.RunClientFragment;
-
-public class ClientRootFragment extends SequenceFragment
-{
- public ClientRootFragment()
- {
- add( new SimpleFragment( new PreClientDevelopCommand(), "" ) );
- add( new DevelopClientFragment() );
- add( new SimpleFragment( new PreClientAssembleCommand(), "" ) );
- add( new AssembleClientFragment() );
- add( new SimpleFragment( new PreClientDeployCommand(), "" ) );
- add( new DeployClientFragment() );
- add( new SimpleFragment( new PreClientInstallCommand(), "" ) );
- add( new InstallClientFragment() );
- add( new SimpleFragment( new PreClientRunCommand(),
- "org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientRunCommand" ) );
- add( new RunClientFragment() );
- }
-
- public void registerDataMappings(DataMappingRegistry registry)
- {
- registry.addMapping( PreClientDevelopCommand.class, "WebService", DevelopClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Environment", DevelopClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", DevelopClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Selection", DevelopClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Project", DevelopClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Module", DevelopClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "EarProject", DevelopClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Ear", DevelopClientFragment.class );
-
- // Map the PreClientDevelopCommand into the dataObject.
- registry.addMapping( PreClientDevelopCommand.class, "DataObject", DataObjectCommand.class );
-
- registry.addMapping( PreClientDevelopCommand.class, "WebService", AssembleClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Environment", AssembleClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", AssembleClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Selection", AssembleClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Project", AssembleClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Module", AssembleClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "EarProject", AssembleClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Ear", AssembleClientFragment.class );
-
- registry.addMapping( PreClientDevelopCommand.class, "WebService", DeployClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Environment", DeployClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", DeployClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Selection", DeployClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Project", DeployClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Module", DeployClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "EarProject", DeployClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Ear", DeployClientFragment.class );
-
- registry.addMapping( PreClientDevelopCommand.class, "WebService", InstallClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Environment", InstallClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", InstallClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Selection", InstallClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Project", InstallClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Module", InstallClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "EarProject", InstallClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Ear", InstallClientFragment.class );
-
- registry.addMapping( PreClientDevelopCommand.class, "WebService", RunClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Environment", RunClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", RunClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Selection", RunClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Project", RunClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Module", RunClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "EarProject", RunClientFragment.class );
- registry.addMapping( PreClientDevelopCommand.class, "Ear", RunClientFragment.class );
-
- //Mappings from framework to framework commands
- registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientAssembleCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientDeployCommand.class );
-
- registry.addMapping( PreClientDevelopCommand.class, "WebService", PreClientAssembleCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Project", PreClientAssembleCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Module", PreClientAssembleCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "EarProject", PreClientAssembleCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Ear", PreClientAssembleCommand.class );
-
- registry.addMapping( PreClientDevelopCommand.class, "WebService", PreClientInstallCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Project", PreClientInstallCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientInstallCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Module", PreClientInstallCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "EarProject", PreClientInstallCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Ear", PreClientInstallCommand.class );
-
- registry.addMapping( PreClientDevelopCommand.class, "WebService", PreClientRunCommand.class );
- registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientRunCommand.class );
-
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java
deleted file mode 100644
index 35951ceaf..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
-import org.eclipse.jst.ws.internal.consumption.command.common.AssociateModuleWithEARCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-public class PreClientAssembleCommand extends AbstractDataModelOperation
-{
- private IWebServiceClient webServiceClient_;
- private String project_;
- private String module_;
- private String earProject_;
- private String ear_;
- private IContext context_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- if (context_ != null && context_.getAssemble()) {
- IEnvironment environment = getEnvironment();
-
- // Check if EAR module is req'd, ie. !=null
- if (earProject_==null)
- return Status.OK_STATUS;
-
- // Create the client EAR module
- CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
- command.setProjectName(earProject_);
- command.setTemplateId(IJ2EEModuleConstants.JST_EAR_TEMPLATE);
-
- // RequiredFacetVersions is set to an empty array because we don't need to impose any additional constraints.
- // We just want to create the highest level of EAR project that the selected server supports.
- command.setRequiredFacetVersions(new RequiredFacetVersion[0]);
-
- command.setServerFactoryId(webServiceClient_.getWebServiceClientInfo().getServerFactoryId());
- command.setServerInstanceId(webServiceClient_.getWebServiceClientInfo().getServerInstanceId());
- status = command.execute( monitor, adaptable );
- if (status.getSeverity() == Status.ERROR)
- {
- environment.getStatusHandler().reportError( status );
- return status;
- }
-
-
- //Associate the client module and service EAR
- AssociateModuleWithEARCommand associateCommand = new AssociateModuleWithEARCommand();
- associateCommand.setProject(project_);
- associateCommand.setModule(module_);
- associateCommand.setEARProject(earProject_);
- associateCommand.setEar(ear_);
- associateCommand.setEnvironment( environment );
- status = associateCommand.execute( monitor, adaptable );
- if (status.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError( status );
- }
-
- }
- return status;
- }
-
- public void setProject( String project )
- {
- project_ = project;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setEarProject( String earProject )
- {
- earProject_ = earProject;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-
- public void setWebService( IWebServiceClient webServiceClient )
- {
- webServiceClient_ = webServiceClient;
- }
-
- public void setContext (IContext context) {
- context_ = context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java
deleted file mode 100644
index cb571d8b0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-
-public class PreClientDeployCommand extends AbstractDataModelOperation
-{
- private IContext context_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- if (context_ != null && context_.getDeploy())
- {
- //If and when there are framework specific deploy things to be done,
- //do them here.
- }
-
- return Status.OK_STATUS;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java
deleted file mode 100644
index 65f13a243..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java
+++ /dev/null
@@ -1,268 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060516 126965 kathy@ca.ibm.com - Kathy Chan
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.extension;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
-import org.eclipse.wst.ws.internal.wsrt.SimpleContext;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceState;
-
-public class PreClientDevelopCommand extends AbstractDataModelOperation
-{
-
- private TypeRuntimeServer typeRuntimeServer_;
- private String clientRuntimeId_;
- private IContext context_;
- private ISelection selection_;
- private String project_;
- private String module_;
- private String moduleType_;
- private String earProject_;
- private String ear_;
- private IWebServiceClient webServiceClient_;
- private String j2eeLevel_;
- private ResourceContext resourceContext_;
- private boolean develop_;
- private boolean assemble_;
- private boolean deploy_;
- private boolean test_;
- private boolean install_;
- private boolean run_;
- private String wsdlURI_;
- private Object dataObject_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- if (develop_) {
- IEnvironment environment = getEnvironment();
-
- // Split up the project and module
- int index = module_.indexOf("/");
- if (index!=-1){
- project_ = module_.substring(0,index);
- module_ = module_.substring(index+1);
- }
-
- if (ear_!=null && ear_.length()>0)
- {
- int earIndex = ear_.indexOf("/");
- if (earIndex!=-1) {
- earProject_ = ear_.substring(0,earIndex);
- ear_ = ear_.substring(earIndex+1);
- }
- }
-
- IWebServiceRuntime wsrt = WebServiceRuntimeExtensionUtils2
- .getClientRuntime(clientRuntimeId_);
- WebServiceClientInfo wsInfo = new WebServiceClientInfo();
-
- wsInfo.setServerFactoryId(typeRuntimeServer_.getServerId());
- wsInfo.setServerInstanceId(typeRuntimeServer_.getServerInstanceId());
- wsInfo.setState(WebServiceState.UNKNOWN_LITERAL);
- wsInfo.setWebServiceRuntimeId(typeRuntimeServer_.getRuntimeId());
- wsInfo.setWsdlURL(wsdlURI_);
-
- webServiceClient_ = wsrt.getWebServiceClient(wsInfo);
- WebServiceScenario scenario = WebServiceScenario.CLIENT_LITERAL;
- context_ = new SimpleContext(develop_, assemble_, deploy_, install_, run_, true, test_,
- false, scenario, resourceContext_.isOverwriteFilesEnabled(),
- resourceContext_.isCreateFoldersEnabled(), resourceContext_
- .isCheckoutFilesEnabled());
-
- // Create the client module if needed.
- IProject project = ProjectUtilities.getProject(project_);
- if (!project.exists())
- {
- boolean matches = WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportTemplate(clientRuntimeId_, moduleType_);
- if (matches)
- {
- RequiredFacetVersion[] rfv = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId_).getRequiredFacetVersions();
- CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
- command.setProjectName(project_);
- command.setTemplateId(moduleType_);
- command.setRequiredFacetVersions(rfv);
- command.setServerFactoryId(typeRuntimeServer_.getServerId());
- command.setServerInstanceId(typeRuntimeServer_.getServerInstanceId());
- status = command.execute( monitor, adaptable );
- if (status.getSeverity() == Status.ERROR)
- {
- environment.getStatusHandler().reportError( status );
- return status;
- }
- }
- }
- }
- return status;
- }
-
- public void setClientTypeRuntimeServer( TypeRuntimeServer typeRuntimeServer )
- {
- typeRuntimeServer_ = typeRuntimeServer;
- }
-
- public void setClientRuntimeId( String id)
- {
- clientRuntimeId_ = id;
- }
-
- public void setClientJ2EEVersion( String j2eeLevel )
- {
- j2eeLevel_ = j2eeLevel;
- }
-
- public String getJ2eeLevel()
- {
- return j2eeLevel_;
- }
-
- public IWebServiceClient getWebService()
- {
- return webServiceClient_;
- }
-
- public IContext getContext()
- {
- return context_;
- }
-
- public void setResourceContext( ResourceContext resourceContext )
- {
- resourceContext_ = resourceContext;
- }
-
- public ISelection getSelection()
- {
- return selection_;
- }
-
- public void setSelection( ISelection selection )
- {
- selection_ = selection;
- }
-
- public String getProject()
- {
- return project_;
- }
-
- public String getModule()
- {
- return module_;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setModuleType( String moduleType)
- {
- moduleType_ = moduleType;
- }
-
- public String getEarProject()
- {
- return earProject_;
- }
-
- public String getEar()
- {
- return ear_;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-
- public void setDevelopClient(boolean developClient) {
- develop_ = developClient;
- }
-
- public void setAssembleClient(boolean assembleClient) {
- assemble_ = assembleClient;
- }
-
- public void setDeployClient(boolean deployClient)
- {
- deploy_ = deployClient;
- }
-
- public void setInstallClient(boolean installClient)
- {
- install_ = installClient;
- }
-
- public void setTestService(boolean testService)
- {
- test_ = testService;
- }
-
- public void setStartService(boolean startService)
- {
- run_ = startService;
- }
-
- public void setWsdlURI(String uri)
- {
- wsdlURI_ = uri;
- }
-
- public void setDataObject( Object object )
- {
- dataObject_ = object;
- }
-
- public Object getDataObject()
- {
- Object result = null;
-
- if( dataObject_ != null && dataObject_ instanceof IWebService )
- {
- // The data object has already been set with an IWebService
- // so we will keep this value.
- result = dataObject_;
- }
- else
- {
- result = webServiceClient_;
- }
-
- return result;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java
deleted file mode 100644
index 970c4b187..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateServerCommand;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-public class PreClientInstallCommand extends AbstractDataModelOperation
-{
- private IWebServiceClient webServiceClient_;
- private String project_;
- private String module_;
- private String earProject_;
- private String ear_;
- private IContext context_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- if (context_ != null && context_.getInstall())
- {
- IEnvironment environment = getEnvironment();
-
- if (webServiceClient_.getWebServiceClientInfo().getServerInstanceId()==null)
- {
- CreateServerCommand createServerCommand = new CreateServerCommand();
- createServerCommand.setServerFactoryid(webServiceClient_.getWebServiceClientInfo().getServerFactoryId());
- createServerCommand.setEnvironment( environment );
- IStatus createServerStatus = createServerCommand.execute(null, null);
- if (createServerStatus.getSeverity()==Status.OK)
- {
- webServiceClient_.getWebServiceClientInfo().setServerInstanceId(createServerCommand.getServerInstanceId());
- }
- else
- {
- if (createServerStatus.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError( createServerStatus );
- }
- return createServerStatus;
- }
- }
-
- AddModuleToServerCommand command = new AddModuleToServerCommand();
- command.setServerInstanceId(webServiceClient_.getWebServiceClientInfo().getServerInstanceId());
- if (earProject_ != null && earProject_.length()>0 && ear_!= null && ear_.length()>0)
- {
- command.setProject(earProject_);
- command.setModule(ear_);
- }
- else
- {
- command.setProject(project_);
- command.setModule(module_);
- }
-
- command.setEnvironment( environment );
- IStatus status = command.execute( null, null );
- if (status.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError( status );
- }
- return status;
- }
- return Status.OK_STATUS;
- }
-
- public void setProject( String project )
- {
- project_ = project;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setEarProject( String earProject )
- {
- earProject_ = earProject;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-
- public void setWebService( IWebServiceClient webServiceClient )
- {
- webServiceClient_ = webServiceClient;
- }
-
- public void setContext(IContext context)
- {
- context_ = context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java
deleted file mode 100644
index fdb38b08e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
-
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-public class PreClientRunCommand extends AbstractDataModelOperation
-{
- private IWebServiceClient webServiceClient_;
- private IContext context_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- if (context_ != null && context_.getRun())
- {
- IEnvironment environment = getEnvironment();
-
- StartServerCommand command = new StartServerCommand();
- command.setServerInstanceId(webServiceClient_.getWebServiceClientInfo().getServerInstanceId());
- command.setEnvironment( environment );
- status = command.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError( status );
- }
- }
-
- return status;
- }
-
-
- public void setWebService( IWebServiceClient webServiceClient )
- {
- webServiceClient_ = webServiceClient;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java
deleted file mode 100644
index f59936725..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060504 136118 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.plugin;
-
-import java.net.URL;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentProjectTopologyContext;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentServerRuntimeContext;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-
-/**
-* This is the plugin class for the Web Services plugin.
-* <p>
-* This plugin contains the graphic user interface to the
-* Web Services runtime found in org.eclipse.jst.ws.
-*/
-public class WebServiceConsumptionUIPlugin extends AbstractUIPlugin
-{
-
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.jst.ws.consumption.ui";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WebServiceConsumptionUIPlugin instance_;
-
- private PersistentServerRuntimeContext serverRuntimeContext_;
- private PersistentProjectTopologyContext projectTopologyContext_;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- */
- public WebServiceConsumptionUIPlugin ()
- {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WebServiceConsumptionUIPlugin)Platform.getPlugin("org.eclipse.jst.ws.ui");
- * @return The WebServiceConsumptionUIPlugin singleton.
- */
- static public WebServiceConsumptionUIPlugin getInstance ()
- {
- return instance_;
- }
-
- /**
- * Returns an image descriptor for the named resource
- * as relative to the plugin install location.
- * @return An image descriptor, possibly null.
- */
- public static ImageDescriptor getImageDescriptor ( String name )
- {
- try
- {
- URL imageURL = FileLocator.find(instance_.getBundle(), new Path("$nl$/"+name), null);
- return ImageDescriptor.createFromURL(imageURL);
- }
- catch (Exception e)
- {
- return null;
- }
- }
-
- public ProjectTopologyContext getProjectTopologyContext()
- {
- if (projectTopologyContext_ == null)
- {
- projectTopologyContext_ = new PersistentProjectTopologyContext();
- projectTopologyContext_.load();
- }
-
- return projectTopologyContext_;
- }
-
- public PersistentServerRuntimeContext getServerRuntimeContext()
- {
- if (serverRuntimeContext_ == null)
- {
- serverRuntimeContext_ = new PersistentServerRuntimeContext();
- serverRuntimeContext_.load();
- }
- return serverRuntimeContext_;
- }
- }
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java
deleted file mode 100644
index 5662e980e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060202 119780 pmoogk@ca.ibm.com - Peter Moogk
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.preferences;
-
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-import com.ibm.icu.util.StringTokenizer;
-
-
-public class PersistentProjectTopologyContext extends PersistentContext implements ProjectTopologyContext
-{
-
- public PersistentProjectTopologyContext ()
- {
- super( WebServiceConsumptionUIPlugin.getInstance());
- }
-
- public void load()
- {
- //Load the service project types
- String[] serviceIds = ProjectTopologyDefaults.getServiceTypes();
- StringBuffer serviceSb = new StringBuffer();
- for (int i = 0; i < serviceIds.length; i++)
- {
- if (i != 0)
- serviceSb.append(" ");
- serviceSb.append(serviceIds[i]);
- }
- setDefaultStringIfNoDefault(PREFERENCE_SERVICE_TYPES, serviceSb.toString());
-
- //Load the client project types
- String[] ids = ProjectTopologyDefaults.getClientTypes();
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < ids.length; i++)
- {
- if (i != 0)
- sb.append(" ");
- sb.append(ids[i]);
- }
- setDefaultStringIfNoDefault(PREFERENCE_CLIENT_TYPES, sb.toString());
- setDefault(PREFERENCE_USE_TWO_EARS, ProjectTopologyDefaults.isUseTwoEARs());
- }
-
- public void setServiceTypes(String[] ids)
- {
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < ids.length; i++)
- {
- if (i != 0)
- sb.append(" ");
- sb.append(ids[i]);
- }
- setValue(PREFERENCE_SERVICE_TYPES, sb.toString());
- }
-
- public String[] getServiceTypes()
- {
- StringTokenizer st = new StringTokenizer(getValueAsString(PREFERENCE_SERVICE_TYPES));
- String[] s = new String[st.countTokens()];
- for (int i = 0; i < s.length; i++)
- s[i] = st.nextToken();
- return s;
- }
-
- public String[] getDefaultServiceTypes()
- {
- StringTokenizer st = new StringTokenizer(getDefaultString(PREFERENCE_SERVICE_TYPES));
- String[] s = new String[st.countTokens()];
- for (int i = 0; i < s.length; i++)
- s[i] = st.nextToken();
- return s;
- }
-
- public void setClientTypes(String[] ids)
- {
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < ids.length; i++)
- {
- if (i != 0)
- sb.append(" ");
- sb.append(ids[i]);
- }
- setValue(PREFERENCE_CLIENT_TYPES, sb.toString());
- }
-
- public String[] getClientTypes()
- {
- StringTokenizer st = new StringTokenizer(getValueAsString(PREFERENCE_CLIENT_TYPES));
- String[] s = new String[st.countTokens()];
- for (int i = 0; i < s.length; i++)
- s[i] = st.nextToken();
- return s;
- }
-
- public String[] getDefaultClientTypes()
- {
- StringTokenizer st = new StringTokenizer(getDefaultString(PREFERENCE_CLIENT_TYPES));
- String[] s = new String[st.countTokens()];
- for (int i = 0; i < s.length; i++)
- s[i] = st.nextToken();
- return s;
- }
-
- public void setUseTwoEARs(boolean use)
- {
- setValue(PREFERENCE_USE_TWO_EARS, use);
- }
- public boolean isUseTwoEARs()
- {
- return getValueAsBoolean(PREFERENCE_USE_TWO_EARS);
- }
-
- public ProjectTopologyContext copy() {
- TransientProjectTopologyContext context = new TransientProjectTopologyContext();
- context.setServiceTypes(getServiceTypes());
- context.setDefaultServiceTypes(getDefaultServiceTypes());
- context.setClientTypes(getClientTypes());
- context.setDefaultClientTypes(getDefaultClientTypes());
- context.setUseTwoEARs(isUseTwoEARs());
- return context;
-}
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java
deleted file mode 100644
index 558e6b804..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.preferences;
-
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-
-
-/**
- *
- */
-public class PersistentServerRuntimeContext extends PersistentContext {
-
- private String PREFERENCE_SERVER = "PREFERENCE_SERVER";
- private String PREFERENCE_RUNTIME = "PREFERENCE_RUNTIME";
- //private String PREFERENCE_J2EE_VERSION = "PREFERENCE_J2EE_VERSION";
-
- private String SERVER_FACTORY_ID_DEFAULT = "org.eclipse.jst.server.tomcat.50";
- private String RUNTIME_ID_DEFAULT = "org.eclipse.jst.ws.axis.creation.axisWebServiceRT";
-
- public PersistentServerRuntimeContext()
- {
- super(WebServiceConsumptionUIPlugin.getInstance());
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.Context#load()
- */
- public void load() {
- //Defaults will be set via the .ini customization. They are hard coded to default values in the
- //absence of a .ini file.
- String serverDefault = getDefaultString(PREFERENCE_SERVER);
- if (serverDefault==null || serverDefault.length()==0)
- {
- setDefault(PREFERENCE_SERVER, SERVER_FACTORY_ID_DEFAULT);
- }
-
- String runtimeDefault = getDefaultString(PREFERENCE_RUNTIME);
- if (runtimeDefault==null || runtimeDefault.length()==0)
- {
- setDefault(PREFERENCE_RUNTIME, RUNTIME_ID_DEFAULT);
- }
-
- }
-
- public String getDefaultServerFactoryId()
- {
- return getDefaultString(PREFERENCE_SERVER);
- }
-
- public String getDefaultRuntimeId()
- {
- return getDefaultString(PREFERENCE_RUNTIME);
- }
-
- public String getServerFactoryId()
- {
- String value = getValueAsString(PREFERENCE_SERVER);
- /*
- if (value==null || value.length()==0)
- {
- value = SERVER_FACTORY_ID_DEFAULT;
- setServerFactoryId(value);
- }
- */
- return value;
- }
-
- public String getRuntimeId()
- {
- String value = getValueAsString(PREFERENCE_RUNTIME);
- /*
- if (value==null || value.length()==0)
- {
- value = RUNTIME_ID_DEFAULT;
- setRuntimeId(value);
- }
- */
- return value;
- }
-
-
- public void setServerFactoryId(String id)
- {
- setValue(PREFERENCE_SERVER,id);
- }
-
- public void setRuntimeId(String id)
- {
- setValue(PREFERENCE_RUNTIME, id);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java
deleted file mode 100644
index cc21c4bf1..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.preferences;
-
-public interface ProjectTopologyContext
-{
- /**
- * This constant String is used to lookup the preferred order of the different client types
- **/
- public static final String PREFERENCE_CLIENT_TYPES = "clientTypes";
- public static final String PREFERENCE_SERVICE_TYPES = "serviceTypes";
-
- /**
- * This constant String is used to lookup the two EAR option
- **/
- public static final String PREFERENCE_USE_TWO_EARS = "useTwoEARs";
-
- public void setServiceTypes(String[] ids);
- public String[] getServiceTypes();
- public String[] getDefaultServiceTypes();
-
- public void setClientTypes(String[] ids);
- public String[] getClientTypes();
- public String[] getDefaultClientTypes();
-
- public void setUseTwoEARs(boolean use);
- public boolean isUseTwoEARs();
-
- public ProjectTopologyContext copy();
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java
deleted file mode 100644
index e19e1f555..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.preferences;
-
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-
-public class ProjectTopologyDefaults
-{
-
- public static final String[] getServiceTypes()
- {
- return WebServiceRuntimeExtensionUtils2.getAllServiceProjectTypes();
- }
-
- public static final String[] getClientTypes()
- {
- return WebServiceRuntimeExtensionUtils2.getAllClientProjectTypes();
- }
-
- public static final boolean isUseTwoEARs()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java
deleted file mode 100644
index 40c7bc1fa..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java
+++ /dev/null
@@ -1,406 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060515 141398 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.preferences;
-
-import java.util.Vector;
-
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
-import org.eclipse.jst.ws.internal.ui.plugin.WebServiceUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.TableColumn;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-
-
-
-public class ProjectTopologyPreferencePage extends PreferencePage implements IWorkbenchPreferencePage, SelectionListener
-{
- /*CONTEXT_ID PTPP0001 for the Project Topology Preference Page*/
- private String INFOPOP_PTPP_PAGE = WebServiceUIPlugin.ID + ".PPTP0001";
-
- private TableViewer serviceTypeViewer_;
- private Button serviceMoveUp_;
- private Button serviceMoveDown_;
- private Vector serviceTypes_;
-
- private TableViewer clientTypeViewer_;
- private Button moveUp_;
- private Button moveDown_;
- private Vector clientTypes_;
-
- private Button twoEAR_;
-
- /**
- * Creates preference page controls on demand.
- * @param parent the parent for the preference page
- */
- protected Control createContents(Composite superparent)
- {
- Composite parent = new Composite( superparent, SWT.NONE );
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- parent.setLayout( layout );
- parent.setToolTipText(WSUIPluginMessages.TOOLTIP_PTPP_PAGE);
- parent.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,INFOPOP_PTPP_PAGE);
-
- Group serviceTypeComposite = new Group( parent, SWT.NONE );
- GridLayout servicegl = new GridLayout();
- servicegl.numColumns = 2;
- servicegl.marginHeight = 0;
- servicegl.marginWidth = 0;
- serviceTypeComposite.setLayout(servicegl);
- serviceTypeComposite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
- serviceTypeComposite.setText(WSUIPluginMessages.LABEL_SERVICE_TYPE_NAME);
-
- Table serviceTable= new Table(serviceTypeComposite, SWT.BORDER | SWT.SINGLE | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL);
- GridData servicegd = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
- servicegd.widthHint = 256;
- serviceTable.setLayoutData(servicegd);
- serviceTable.setToolTipText(WSUIPluginMessages.TOOLTIP_SERVICE_TYPE_TABLE_VIEWER);
-
- serviceTypes_ = new Vector();
- serviceTypeViewer_ = new TableViewer(serviceTable);
- serviceTypeViewer_.setContentProvider(new ClientTypeContentProvider());
- serviceTypeViewer_.setLabelProvider(new ClientTypeLabelProvider());
- serviceTypeViewer_.setInput(serviceTypes_);
-
- TableLayout serviceTableLayout = new TableLayout();
- TableColumn serviceTableColumn = new TableColumn(serviceTable, SWT.NONE);
- serviceTableColumn.setText(WSUIPluginMessages.LABEL_SERVICE_TYPE_NAME);
- ColumnWeightData serviceColumnData = new ColumnWeightData(256, 256, false);
- serviceTableLayout.addColumnData(serviceColumnData);
- serviceTable.setLayout(serviceTableLayout);
-
- Composite servicec = new Composite(serviceTypeComposite, SWT.NONE);
- servicegl = new GridLayout();
- servicegl.numColumns = 1;
- servicegl.marginHeight = 10;
- servicegl.marginWidth = 0;
- servicec.setLayout(servicegl);
-
- serviceMoveUp_ = new Button(servicec, SWT.PUSH);
- serviceMoveUp_.setText(WSUIPluginMessages.LABEL_MOVE_UP);
- serviceMoveUp_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- serviceMoveUp_.addSelectionListener(this);
- serviceMoveUp_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_UP);
-
- serviceMoveDown_ = new Button(servicec, SWT.PUSH);
- serviceMoveDown_.setText(WSUIPluginMessages.LABEL_MOVE_DOWN);
- serviceMoveDown_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- serviceMoveDown_.addSelectionListener(this);
- serviceMoveDown_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_DOWN);
-
-
- Group clientTypeComposite = new Group( parent, SWT.NONE );
- GridLayout gl = new GridLayout();
- gl.numColumns = 2;
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- clientTypeComposite.setLayout(gl);
- clientTypeComposite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
- clientTypeComposite.setText(WSUIPluginMessages.LABEL_CLIENT_TYPE_NAME);
-
- Table table= new Table(clientTypeComposite, SWT.BORDER | SWT.SINGLE | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL);
- GridData gd = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
- gd.widthHint = 256;
- table.setLayoutData(gd);
- table.setToolTipText(WSUIPluginMessages.TOOLTIP_CLIENT_TYPE_TABLE_VIEWER);
-
- clientTypes_ = new Vector();
- clientTypeViewer_ = new TableViewer(table);
- clientTypeViewer_.setContentProvider(new ClientTypeContentProvider());
- clientTypeViewer_.setLabelProvider(new ClientTypeLabelProvider());
- clientTypeViewer_.setInput(clientTypes_);
-
- TableLayout tableLayout = new TableLayout();
- TableColumn tableColumn = new TableColumn(table, SWT.NONE);
- tableColumn.setText(WSUIPluginMessages.LABEL_CLIENT_TYPE_NAME);
- ColumnWeightData columnData = new ColumnWeightData(256, 256, false);
- tableLayout.addColumnData(columnData);
- table.setLayout(tableLayout);
-
- Composite c = new Composite(clientTypeComposite, SWT.NONE);
- gl = new GridLayout();
- gl.numColumns = 1;
- gl.marginHeight = 10;
- gl.marginWidth = 0;
- c.setLayout(gl);
-
- moveUp_ = new Button(c, SWT.PUSH);
- moveUp_.setText(WSUIPluginMessages.LABEL_MOVE_UP_2);
- moveUp_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- moveUp_.addSelectionListener(this);
- moveUp_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_UP);
-
- moveDown_ = new Button(c, SWT.PUSH);
- moveDown_.setText(WSUIPluginMessages.LABEL_MOVE_DOWN_2);
- moveDown_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- moveDown_.addSelectionListener(this);
- moveDown_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_DOWN);
-
- twoEAR_ = new Button(parent, SWT.CHECK | SWT.WRAP );
- twoEAR_.setText(WSUIPluginMessages.LABEL_ENABLE_TWO_EARS);
- twoEAR_.setToolTipText(WSUIPluginMessages.TOOLTIP_ENABLE_TWO_EARS);
-
- initializeValues();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
-
- return parent;
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- initializeDefaults();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- storeValues();
- return true;
- }
-
- protected void performApply()
- {
- performOk();
- }
-
- /**
- * @see IWorkbenchPreferencePage
- */
- public void init(IWorkbench workbench) { }
-
-
- /**
- * Adds the String elements of array a into Vector v. If String array b contains any elements
- * that are not already in array a, appends these elements from array b to the end of Vector v.
- * @param a a String array
- * @param b a String array
- * @param v a non-null Vector
- */
- private void setVectorContentsFromTwoArrays(String[] a, String[] b, Vector v)
- {
- for (int i = 0; i < a.length; i++)
- {
- v.add(a[i]);
- }
-
- for (int i = 0; i < b.length; i++)
- {
- if (v.indexOf(b[i]) == -1)
- {
- v.add(b[i]);
- }
- }
- }
-
- /**
- * Initializes states of the controls to their burned-in defaults.
- */
- private void initializeDefaults()
- {
- ProjectTopologyContext context = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- serviceTypes_.clear();
- String[] defaultServiceTypes = context.getDefaultServiceTypes();
- String[] allServiceTypes = ProjectTopologyDefaults.getServiceTypes();
- setVectorContentsFromTwoArrays(defaultServiceTypes, allServiceTypes, serviceTypes_);
- serviceTypeViewer_.refresh();
-
- clientTypes_.clear();
- String[] defaultClientTypes = context.getDefaultClientTypes();
- String[] allClientTypes = ProjectTopologyDefaults.getClientTypes();
- setVectorContentsFromTwoArrays(defaultClientTypes, allClientTypes, clientTypes_);
- clientTypeViewer_.refresh();
-
- twoEAR_.setSelection(true);
- }
-
- /**
- * Initializes states of the controls from the preference helper.
- */
- private void initializeValues()
- {
- //Initial service project types.
- ProjectTopologyContext context = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- String[] serviceTypesFromContext = context.getServiceTypes();
- String[] allServiceTypes = ProjectTopologyDefaults.getServiceTypes();
- setVectorContentsFromTwoArrays(serviceTypesFromContext, allServiceTypes, serviceTypes_);
- if (allServiceTypes.length > serviceTypesFromContext.length)
- {
- String[] serviceTypesArray = new String[serviceTypes_.size()];
- serviceTypes_.copyInto(serviceTypesArray);
- context.setServiceTypes(serviceTypesArray);
- }
- // refresh viewer
- serviceTypeViewer_.refresh();
-
-
- //Initialize client project types.
- String[] clientTypesFromContext = context.getClientTypes();
- String[] allClientTypes = ProjectTopologyDefaults.getClientTypes();
- setVectorContentsFromTwoArrays(clientTypesFromContext, allClientTypes, clientTypes_);
- if (allClientTypes.length > clientTypesFromContext.length)
- {
- String[] clientTypesArray = new String[clientTypes_.size()];
- clientTypes_.copyInto(clientTypesArray);
- context.setClientTypes(clientTypesArray);
- }
-
- // refresh viewer
- clientTypeViewer_.refresh();
-
- twoEAR_.setSelection(context.isUseTwoEARs());
- }
-
- /**
- * Stores the values of the controls back to the preference helper.
- */
- private void storeValues()
- {
- ProjectTopologyContext context = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- String[] serviceTypesArray = new String[serviceTypes_.size()];
- serviceTypes_.copyInto(serviceTypesArray);
- context.setServiceTypes(serviceTypesArray);
- String[] types = new String[clientTypes_.size()];
- clientTypes_.copyInto(types);
- context.setClientTypes(types);
- context.setUseTwoEARs(twoEAR_.getSelection());
- }
-
- public void widgetDefaultSelected(SelectionEvent e)
- {
- }
-
- public void widgetSelected(SelectionEvent e)
- {
- if (e.widget == serviceMoveUp_ || e.widget == serviceMoveDown_)
- {
- int index = serviceTypeViewer_.getTable().getSelectionIndex();
- if (index != -1)
- {
- if (e.widget == serviceMoveUp_ && index > 0)
- {
- Object object = serviceTypes_.remove(index);
- serviceTypes_.insertElementAt(object, index-1);
- serviceTypeViewer_.refresh();
- }
- else if (e.widget == serviceMoveDown_ && index < serviceTypes_.size()-1)
- {
- Object object = serviceTypes_.remove(index);
- serviceTypes_.insertElementAt(object, index+1);
- serviceTypeViewer_.refresh();
- }
- }
- }
- else if (e.widget == moveUp_ || e.widget == moveDown_)
- {
- int index = clientTypeViewer_.getTable().getSelectionIndex();
- if (index != -1)
- {
- if (e.widget == moveUp_ && index > 0)
- {
- Object object = clientTypes_.remove(index);
- clientTypes_.insertElementAt(object, index - 1);
- clientTypeViewer_.refresh();
- } else if (e.widget == moveDown_ && index < clientTypes_.size() - 1)
- {
- Object object = clientTypes_.remove(index);
- clientTypes_.insertElementAt(object, index + 1);
- clientTypeViewer_.refresh();
- }
- }
- }
- }
-
- private class ClientTypeContentProvider implements IStructuredContentProvider
- {
- /**
- * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(Object)
- */
- public Object[] getElements(Object value)
- {
- return ((Vector)value).toArray(new String[0]);
- }
-
- /**
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- */
- public void dispose()
- {
- }
-
- /**
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(Viewer, Object, Object)
- */
- public void inputChanged(Viewer arg0, Object arg1, Object arg2)
- {
- }
- }
-
- private class ClientTypeLabelProvider extends LabelProvider
- {
- public ClientTypeLabelProvider()
- {
- }
-
- /**
- * @see org.eclipse.jface.viewers.ILabelProvider#getImage(Object)
- */
- public Image getImage(Object arg0)
- {
- return null;
- }
-
- /**
- * @see org.eclipse.jface.viewers.ILabelProvider#getText(Object)
- */
- public String getText(Object value)
- {
- IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate( (String)value );
-
- return template.getLabel();
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java
deleted file mode 100644
index dee828c1c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java
+++ /dev/null
@@ -1,354 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060728 151723 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.preferences;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
-
-
-/**
- *
- */
-public class ServerRuntimePreferencePage extends PreferencePage implements IWorkbenchPreferencePage, Listener
-{
- private String pluginId_= "org.eclipse.jst.ws.consumption.ui";
-
- /* CONTEXT_ID SRPF0001 for server preference on the server runtime preference page */
- private String INFOPOP_SRPF_SERVER_PREF = pluginId_ + ".SRPF0001";
- private Combo server_;
-
- /* CONTEXT_ID SRPF0002 for runtime preference on the server runtime preference page */
- private String INFOPOP_SRPF_RUNTIME_PREF = pluginId_ + ".SRPF0002";
- private Combo runtime_;
-
- /* CONTEXT_ID SRPF0003 for J2EE version preference on the server runtime preference page */
- /*
- private String INFOPOP_SRPF_J2EE_PREF = pluginId_ + ".SRPF0003";
- private Combo j2eeVersion_;
- */
-
- SelectionListChoices serverToRuntimeToJ2EE_;
-
- public void init(IWorkbench workbench) { }
- /* (non-Javadoc)
- * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
- */
- protected Control createContents(Composite parent)
- {
- UIUtils uiUtils = new UIUtils(pluginId_);
-
- Composite page = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout();
- gl.numColumns = 2;
- page.setLayout(gl);
- GridData gd = new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL);
- page.setLayoutData(gd);
-
- server_ = uiUtils.createCombo(page,ConsumptionUIMessages.LABEL_SERVERS_LIST,
- ConsumptionUIMessages.TOOLTIP_SRPF_COMBO_SERVER,
- INFOPOP_SRPF_SERVER_PREF,
- SWT.SINGLE|SWT.BORDER|SWT.READ_ONLY);
-
- runtime_ = uiUtils.createCombo(page,ConsumptionUIMessages.LABEL_RUNTIMES_LIST,
- ConsumptionUIMessages.TOOLTIP_SRPF_COMBO_RUNTIME,
- INFOPOP_SRPF_RUNTIME_PREF,
- SWT.SINGLE|SWT.BORDER|SWT.READ_ONLY);
-
-/*
- j2eeVersion_ = uiUtils.createCombo(page,ConsumptionUIMessages.LABEL_J2EE_VERSION,
- ConsumptionUIMessages.TOOLTIP_SRPF_COMBO_J2EE,
- INFOPOP_SRPF_J2EE_PREF,
- SWT.SINGLE|SWT.BORDER|SWT.READ_ONLY);
-*/
-
- initializeValues();
- startListening();
- applyDialogFont(page);
- return page;
- }
-
- private void initializeValues()
- {
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- serverToRuntimeToJ2EE_ = WebServiceRuntimeExtensionUtils2.getServerToRuntimeToJ2EE();
-
-
- setServerItems(serverToRuntimeToJ2EE_.getList().getList());
- String defaultServerText = context.getServerFactoryId();
- serverToRuntimeToJ2EE_.getList().setSelectionValue(defaultServerText);
- setServerSelection(defaultServerText);
-
- setRuntimeItems(serverToRuntimeToJ2EE_.getChoice().getList().getList());
- String defaultRuntimeText = context.getRuntimeId();
- serverToRuntimeToJ2EE_.getChoice().getList().setSelectionValue(defaultRuntimeText);
- setRuntimeSelection(defaultRuntimeText);
- }
-
- public void handleEvent(Event event)
- {
- if (server_ == event.widget)
- {
- handleServerSelected();
- }
- else if (runtime_ == event.widget)
- {
- handleRuntimeSelected();
- }
- }
-
- private void handleServerSelected()
- {
- stopListening();
-
- String selectedText = getServerSelection();
- serverToRuntimeToJ2EE_.getList().setSelectionValue(selectedText);
-
- //Update the runtime -------------------------------
- setRuntimeItems(serverToRuntimeToJ2EE_.getChoice().getList().getList());
- if (serverToRuntimeToJ2EE_.getChoice().getList().getList().length > 0)
- serverToRuntimeToJ2EE_.getChoice().getList().setIndex(0);
-
- String newRuntimeText = serverToRuntimeToJ2EE_.getChoice().getList().getSelection();
- if (newRuntimeText!=null && newRuntimeText.length()>0)
- setRuntimeSelection(newRuntimeText);
-
- startListening();
- }
-
- private void handleRuntimeSelected()
- {
- stopListening();
-
- String selectedText = getRuntimeSelection();
- serverToRuntimeToJ2EE_.getChoice().getList().setSelectionValue(selectedText);
- startListening();
- }
-
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- setToDefaults();
- }
-
- private void setToDefaults()
- {
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
-
- String defaultServerText = context.getDefaultServerFactoryId();
- serverToRuntimeToJ2EE_.getList().setSelectionValue(defaultServerText);
- setServerSelection(defaultServerText);
-
- setRuntimeItems(serverToRuntimeToJ2EE_.getChoice().getList().getList());
- String defaultRuntimeText = context.getDefaultRuntimeId();
- serverToRuntimeToJ2EE_.getChoice().getList().setSelectionValue(defaultRuntimeText);
- setRuntimeSelection(defaultRuntimeText);
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- storeValues();
- return true;
- }
-
- private void storeValues()
- {
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- context.setServerFactoryId(getServerSelection());
- context.setRuntimeId(getRuntimeSelection());
- }
-
- protected void performApply()
- {
- performOk();
- }
-
-
- private void startListening()
- {
- server_.addListener(SWT.Selection,this);
- runtime_.addListener(SWT.Selection,this);
- }
-
- private void stopListening()
- {
- server_.removeListener(SWT.Selection, this);
- runtime_.removeListener(SWT.Selection, this);
- }
-
- private void setServerItems(String[] factoryIds)
- {
-
- if (factoryIds != null)
- {
- ArrayList serverLabelsList = new ArrayList();
- for (int i=0;i<factoryIds.length;i++)
- {
- //String thisServerLabel = WebServiceServerRuntimeTypeRegistry.getInstance().getServerLabel(factoryIds[i]);
- String thisServerLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(factoryIds[i]);
- if (thisServerLabel!=null && thisServerLabel.length()>0)
- {
- serverLabelsList.add(thisServerLabel);
- }
-
- }
- String[] serverLabels = convertToStringArray(serverLabelsList.toArray());
- server_.setItems(serverLabels);
- }
-
- }
-
- private void setRuntimeItems(String[] ids)
- {
- if (ids != null)
- {
- String[] runtimeLabels = new String[ids.length];
- for (int i=0;i<ids.length;i++)
- {
- //runtimeLabels[i] = WebServiceServerRuntimeTypeRegistry.getInstance().getRuntimeLabel(ids[i]);
- runtimeLabels[i] = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(ids[i]);
- }
-
- //sort the labels (bug 151723)
- Arrays.sort(runtimeLabels);
- runtime_.setItems(runtimeLabels);
- }
-
- }
-
- /*
- private void setJ2EEItems(String[] versions)
- {
- if (versions != null)
- {
- String[] j2eeLabels = new String[versions.length];
- for (int i = 0; i < versions.length; i++)
- {
- String label = J2EEUtils.getLabelFromJ2EEVersion(versions[i]);
- if (label != null && label.length()>0)
- j2eeLabels[i] = label;
- else
- j2eeLabels[i] = ConsumptionUIMessages.LABEL_NA;
- }
- j2eeVersion_.setItems(j2eeLabels);
-
- //Disable the combo if it has no items.
- if (j2eeLabels.length > 0)
- j2eeVersion_.setEnabled(true);
- else
- j2eeVersion_.setEnabled(false);
- }
-
- }
- */
-
- private String getServerSelection()
- {
- String serverLabel = server_.getText();
- //return WebServiceServerRuntimeTypeRegistry.getInstance().getServerFactoryId(serverLabel);
- return WebServiceRuntimeExtensionUtils2.getServerFactoryId(serverLabel);
- }
-
- private String getRuntimeSelection()
- {
- String runtimeLabel = runtime_.getText();
- //return WebServiceServerRuntimeTypeRegistry.getInstance().getRuntimeId(runtimeLabel);
- return WebServiceRuntimeExtensionUtils2.getRuntimeId(runtimeLabel);
- }
-
- /*
- private String getJ2EESelection()
- {
- String j2eeLabel = j2eeVersion_.getText();
- return J2EEUtils.getJ2EEVersionFromLabel(j2eeLabel);
- }
- */
-
- private void setServerSelection(String factoryId)
- {
- //String label = WebServiceServerRuntimeTypeRegistry.getInstance().getServerLabel(factoryId);
- String label = WebServiceRuntimeExtensionUtils2.getServerLabelById(factoryId);
- setSelection(server_,label);
- }
-
- private void setRuntimeSelection(String id)
- {
- //String label = WebServiceServerRuntimeTypeRegistry.getInstance().getRuntimeLabel(id);
- String label = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(id);
- setSelection(runtime_,label);
- }
-
- /*
- private void setJ2EESelection(String version)
- {
- String label = J2EEUtils.getLabelFromJ2EEVersion(version);
- setSelection(j2eeVersion_, label);
- }
- */
-
- private void setSelection(Combo combo, String s)
- {
- String[] items = combo.getItems();
- for (int i=0; i<items.length; i++)
- {
- if (items[i].equals(s))
- {
- combo.select(i);
- return;
- }
- }
- }
-
- private String[] convertToStringArray(Object[] a)
- {
- if (a==null) return new String[0];
-
- int length = a.length;
- String[] sa = new String[length];
- for (int i=0; i<length; i++)
- {
- Object obj = a[i];
- if (obj instanceof String)
- {
- sa[i] = (String)obj;
- }
- }
- return sa;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java
deleted file mode 100644
index 1102733c6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.preferences;
-
-
-public class TransientProjectTopologyContext implements ProjectTopologyContext
-{
- private String[] serviceTypes;
- private String[] defaultServiceTypes;
-
- private String[] clientTypes;
- private String[] defaultClientTypes;
-
- private boolean twoEARs;
-
- public TransientProjectTopologyContext () {}
-
- public void setServiceTypes(String[] serviceTypes)
- {
- this.serviceTypes = serviceTypes;
- }
- public String[] getServiceTypes()
- {
- return serviceTypes;
- }
-
- public void setClientTypes(String[] clientTypes)
- {
- this.clientTypes = clientTypes;
- }
- public String[] getClientTypes()
- {
- return clientTypes;
- }
-
- public void setUseTwoEARs(boolean use)
- {
- this.twoEARs = use;
- }
- public boolean isUseTwoEARs()
- {
- return twoEARs;
- }
-
- public ProjectTopologyContext copy() {
- TransientProjectTopologyContext context = new TransientProjectTopologyContext();
- context.setServiceTypes(getServiceTypes());
- context.setDefaultServiceTypes(getDefaultServiceTypes());
- context.setClientTypes(getClientTypes());
- context.setDefaultClientTypes(getDefaultClientTypes());
- context.setUseTwoEARs(isUseTwoEARs());
- return context;
- }
-
-
-public void setDefaultServiceTypes(String[] defaultServiceTypes)
-{
- this.defaultServiceTypes = defaultServiceTypes;
-}
-
-public String[] getDefaultServiceTypes()
-{
- return defaultServiceTypes;
-
-}
-
-
-public void setDefaultClientTypes(String[] defaultClientTypes)
-{
- this.defaultClientTypes = defaultClientTypes;
-}
-
-public String[] getDefaultClientTypes()
-{
- return defaultClientTypes;
-
-}
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java
deleted file mode 100644
index 7daac8ead..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.selection;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.Selection;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-public class SelectionTransformer implements Transformer
-{
- public Object transform(Object value)
- {
- IStructuredSelection inSelection = (IStructuredSelection)value;
- Selection outSelection = new Selection();
-
- if (inSelection != null)
- {
- outSelection.setSelection( inSelection.toArray() );
- }
-
- return outSelection;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java
deleted file mode 100644
index 4a5a76d41..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.server;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.server.core.IServer;
-
-public class StartClientWidgetContributor implements INamedWidgetContributor
-{
- private IServer server_;
-
- public StartClientWidgetContributor( IServer server )
- {
- server_ = server;
- }
-
- public String getDescription()
- {
- return ConsumptionUIMessages.PAGE_DESC_WS_START_SERVER;
- }
-
- public String getName()
- {
- return "";
- }
-
- public String getTitle()
- {
- return ConsumptionUIMessages.PAGE_TITLE_WS_START_SERVER;
- }
-
- public WidgetContributorFactory getWidgetContributorFactory()
- {
- return new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new StartServerWidget( server_ );
- }
- };
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java
deleted file mode 100644
index 47e597291..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.server;
-
-import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributorFactory;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-public class StartClientWidgetFactory implements INamedWidgetContributorFactory
-{
- private IWebServiceClient webserviceClient_;
- private IContext context_;
-
- public INamedWidgetContributor getFirstNamedWidget()
- {
- IServer server = null;
-
- if( webserviceClient_ != null && context_.getRun())
- {
- server = ServerCore.findServer(webserviceClient_.getWebServiceClientInfo().getServerInstanceId() );
- }
-
- if( server != null && server.getServerState() != IServer.STATE_STARTED )
- {
- return new StartClientWidgetContributor( server );
- }
-
- return null;
- }
-
- public INamedWidgetContributor getNextNamedWidget( INamedWidgetContributor widgetContributor)
- {
- return null;
- }
-
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataRegistry.addMapping( PreClientDevelopCommand.class, "WebService", StartClientWidgetFactory.class );
- dataRegistry.addMapping( PreClientDevelopCommand.class, "Context", StartClientWidgetFactory.class );
- }
-
- public void setWebService( IWebServiceClient webserviceClient )
- {
- webserviceClient_ = webserviceClient;
- }
-
- public void setContext ( IContext context )
- {
- context_ = context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java
deleted file mode 100644
index 47459296c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java
+++ /dev/null
@@ -1,443 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.server;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.IJobChangeEvent;
-import org.eclipse.core.runtime.jobs.IJobManager;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.core.runtime.jobs.JobChangeAdapter;
-import org.eclipse.jface.wizard.ProgressMonitorPart;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.common.environment.NullStatusHandler;
-import org.eclipse.wst.server.core.IServer;
-
-public class StartServerWidget extends SimpleWidgetDataContributor
-{
- private IServer server_;
- private IStatus status_;
- private Listener statusListener_;
- private Button button_;
- private JobChangeAdapter jobChangeAdapter_;
- private Text serverStateText_;
- private ProgressMonitorPart progressMonitor_;
- private String pluginId_;
- private Composite buttonGroup_;
-
- /*CONTEXT_ID SSWP0001 Start the server button. */
- private String INFOPOP_SSWP_SERVER_BUTTON = "SSWP0001";
-
- public StartServerWidget( IServer server )
- {
- pluginId_ = "org.eclipse.jst.ws.consumption.ui";
-
- server_ = server;
-
- jobChangeAdapter_ = new JobChangeAdapter()
- {
- public void done(final IJobChangeEvent event)
- {
- Display.getDefault().asyncExec( new Runnable()
- {
- public void run()
- {
- if( !progressMonitor_.isDisposed() )
- {
- setServerState();
- progressMonitor_.done();
- reportErrorIfRequired( (StartServerJob)event.getJob() );
- }
- }
- });
- }
- };
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener)
- {
- statusListener_ = statusListener;
-
- UIUtils uiUtils = new UIUtils( pluginId_ );
- Composite group = uiUtils.createComposite( parent, 1 );
-
- Text text1 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
- text1.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT1, new String[]{ server_.getName() } ));
-
- Text text2 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
- text2.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT2, new String[]{ server_.getName() } ));
-
- Text text3 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
- text3.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT3, new String[]{ server_.getName() } ));
-
- Text text4 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
- text4.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT4, new String[]{ server_.getName() } ));
-
- buttonGroup_ = uiUtils.createComposite( group, 2,-1, 0 );
- serverStateText_ = uiUtils.createText( buttonGroup_, null, null, null, SWT.READ_ONLY );
- serverStateText_.setLayoutData( new GridData() );
-
- button_ = uiUtils.createPushButton( buttonGroup_,
- ConsumptionUIMessages.LABEL_START_SERVER_BUTTON,
- ConsumptionUIMessages.TOOLTIP_START_SERVER_BUTTON,
- INFOPOP_SSWP_SERVER_BUTTON );
-
- button_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STARTING ) );
- progressMonitor_.beginTask( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_MSG, ConsumptionUIMessages.TEXT_SERVER_STARTING ), IProgressMonitor.UNKNOWN );
- button_.setEnabled( false );
- buttonGroup_.pack();
- startServerJob();
- }
- } );
-
- progressMonitor_ = new ProgressMonitorPart( group, new GridLayout() );
- progressMonitor_.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
-
- setServerState();
- return this;
- }
-
- public IStatus getStatus()
- {
- return status_;
- }
-
- private void setServerState()
- {
- int state = server_.getServerState();
-
- switch( state )
- {
- case IServer.STATE_STARTED:
- {
- status_ = Status.OK_STATUS;
- button_.setEnabled( false );
- serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STARTED ) );
-
- break;
- }
-
- case IServer.STATE_STARTING:
- {
- status_ = StatusUtils.errorStatus( "" );
- button_.setEnabled( false );
- serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STARTING ) );
- progressMonitor_.beginTask( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_MSG, ConsumptionUIMessages.TEXT_SERVER_STARTING ), IProgressMonitor.UNKNOWN );
-
- // The server is still starting so we need to reconnect to the job
- // that is starting it.
- startServerJob();
- break;
- }
-
- default:
- {
- status_ = StatusUtils.errorStatus( "" );
- button_.setEnabled( true );
- serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STOPPED ) );
- break;
- }
- };
-
- statusListener_.handleEvent( null );
- buttonGroup_.pack();
- }
-
- private String getStateMessage( String mainKey, String subKey )
- {
- return NLS.bind( mainKey, new String[]{ subKey } );
- }
-
- // Connect to an existing server thread otherwise start a new one.
- private void startServerJob()
- {
- IJobManager jobManager = Platform.getJobManager();
- Job[] jobs = jobManager.find( StartServerFamily );
- StartServerJob startServerJob = null;
-
- // There may be more than one job starting for different servers.
- // Therefore, we need to find the one for our server if it is available.
- for( int index = 0; index < jobs.length; index++ )
- {
- StartServerJob jobFound = (StartServerJob)jobs[index];
-
- if( jobFound.getServer() == server_ )
- {
- startServerJob = jobFound;
- break;
- }
- }
-
- if( startServerJob != null )
- {
- synchronized( StartServerFamily )
- {
- IStatus status = startServerJob.getStatus();
-
- // We are using status to determine if the job has completed or not.
- // Normally, we would not get here if the job had already completed,
- // but there is a slim window where the job manager gives us the job
- // and then it immediately completes.
- if( status == null )
- {
- // The job had not completed yet so we will add a job change listener.
- // We are adding the job listener here so that we don't have to assume
- // that this instance of this widget is the same as the previous instance.
- // If startServerJob already has "jobChangeAdapter_" added to it this
- // method call will not have an effect.(Which is what we want.)
- startServerJob.addJobChangeListener( jobChangeAdapter_ );
-
- // Note: this job was reporting progress to different progressMonitor_
- // control. We need to tell the job that it should report progress
- // to our new progressMonitor_ control on this wizard page.
- ProgressMonitorWrapper monitor = (ProgressMonitorWrapper)startServerJob.getMonitor();
- monitor.setMonitor( progressMonitor_ );
- }
- else
- {
- // The job completed before we had a chance to add the job change listener
- // Therefore, we will just call jobChangeAdapter_ directly to notify
- // the UI that the job has completed.
- jobChangeAdapter_.done( null );
- }
- }
- }
- else
- {
- startServerJob = new StartServerJob();
- startServerJob.addJobChangeListener( jobChangeAdapter_ );
- startServerJob.schedule();
- }
- }
-
- private void reportErrorIfRequired( StartServerJob serverJob )
- {
- IStatus status = serverJob.getStatus();
-
- if( status.getSeverity() == Status.ERROR )
- {
- Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
- EclipseStatusHandler handler = new EclipseStatusHandler( shell );
-
- handler.reportError( status );
- }
- }
-
- final private static String StartServerFamily = "StartServerFamily";
-
- // This class is used to start up the server in an Eclipse job.
- private class StartServerJob extends Job
- {
- private IStatus status_ = null;
- private ProgressMonitorWrapper envMonitor_;
-
- public StartServerJob()
- {
- super( "StartServerJob" );
-
- envMonitor_ = new ProgressMonitorWrapper( progressMonitor_ );
- }
-
- public IServer getServer()
- {
- return server_;
- }
-
- public ProgressMonitorWrapper getMonitor()
- {
- return envMonitor_;
- }
-
- public boolean belongsTo(Object family)
- {
- return family == StartServerFamily;
- }
-
- protected IStatus run(IProgressMonitor monitor)
- {
- NullStatusHandler handler = new NullStatusHandler();
- TransientResourceContext resourceContext = new TransientResourceContext();
- EclipseEnvironment environment = new EclipseEnvironment( null,resourceContext, handler );
- StartServerCommand serverCommand = new StartServerCommand( false );
-
- serverCommand.setServerInstanceId( server_.getId() );
- serverCommand.setEnvironment( environment );
-
- try
- {
- setStatus( serverCommand.execute( envMonitor_, null ) );
- }
- catch( Throwable exc )
- {
- exc.printStackTrace();
- setStatus( StatusUtils.errorStatus( exc ) );
- }
-
- return Status.OK_STATUS;
- }
-
- // Calls to this method need to first synchronize on the
- // StartServerFamily object.
- public IStatus getStatus()
- {
- return status_;
- }
-
- private void setStatus( IStatus status )
- {
- synchronized( StartServerFamily )
- {
- status_ = status;
- }
- }
- }
-
- private class ProgressMonitorWrapper implements IProgressMonitor
- {
- private IProgressMonitor monitor_ = new NullProgressMonitor();
-
- public ProgressMonitorWrapper( IProgressMonitor monitor )
- {
- monitor_ = monitor;
- }
-
- public void setMonitor( IProgressMonitor monitor )
- {
- monitor_ = monitor;
- }
-
- public void beginTask(final String name, final int totalWork)
- {
- Display.getDefault().asyncExec( new Runnable()
- {
- public void run()
- {
- if( !progressMonitor_.isDisposed() )
- {
- monitor_.beginTask( name, totalWork );
- }
- }
- } );
- }
-
- public void done()
- {
- Display.getDefault().asyncExec( new Runnable()
- {
- public void run()
- {
- if( !progressMonitor_.isDisposed() )
- {
- monitor_.done();
- }
- }
- } );
- }
-
- public void internalWorked(final double work)
- {
- Display.getDefault().asyncExec( new Runnable()
- {
- public void run()
- {
- if( !progressMonitor_.isDisposed() )
- {
- monitor_.internalWorked( work );
- }
- }
- } );
- }
-
- public boolean isCanceled()
- {
- return progressMonitor_.isDisposed() ? false : monitor_.isCanceled();
- }
-
- public void setCanceled(boolean value)
- {
- if( !progressMonitor_.isDisposed() )
- {
- monitor_.setCanceled( value );
- }
- }
-
- public void setTaskName(final String name)
- {
- Display.getDefault().asyncExec( new Runnable()
- {
- public void run()
- {
- if( !progressMonitor_.isDisposed() )
- {
- monitor_.setTaskName( name );
- }
- }
- } );
- }
-
- public void subTask( final String name)
- {
- Display.getDefault().asyncExec( new Runnable()
- {
- public void run()
- {
- if( !progressMonitor_.isDisposed() )
- {
- monitor_.subTask( name );
- }
- }
- } );
- }
-
- public void worked(final int work)
- {
- Display.getDefault().asyncExec( new Runnable()
- {
- public void run()
- {
- if( !progressMonitor_.isDisposed() )
- {
- monitor_.worked( work );
- }
- }
- } );
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java
deleted file mode 100644
index 5a490aef3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.List;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
- * AbstractHandlersWidgetDefaultingCmd
- *
- * Initialize and load the handlers data
- */
-public abstract class AbstractHandlersWidgetDefaultingCmd extends AbstractDataModelOperation
-{
-
- private IStructuredSelection initialSelection_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- IStructuredSelection selection = initialSelection_;
- if (selection == null) {
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
- env.getStatusHandler().reportError(status);
- return status;
- }
-
-
- return status;
-
- }
-
-
- public List getClientHandlers(){
- return null;
- }
-
- public void setInitialSelection(IStructuredSelection initSelection){
- this.initialSelection_ = initSelection;
- }
-
- public IStructuredSelection getInitialSelection(){
- return this.initialSelection_;
- }
-
- protected IResource getResourceFromInitialSelection()
- {
- if (initialSelection_ != null && initialSelection_.size() == 1)
- {
- Object obj = initialSelection_.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- return resource;
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
- public IProject getProject(){
-
- IResource resource = getResourceFromInitialSelection();
- if (resource != null)
- {
- return ResourceUtils.getProjectOf( resource.getFullPath() );
- }
-
- return null;
- }
-
- public String getComponentName(){
- IResource resource = getResourceFromInitialSelection();
- if (resource!=null) {
- IPath absolutePath = resource.getFullPath();
- if (absolutePath.isAbsolute()) {
- return absolutePath.segment(1);
- }
- }
- return null;
- }
-
-// public WebServiceEditModel getWebServiceEditModel() {
-// WebServicesManager wsm = new WebServicesManager();
-// IProject project = getProject();
-// return wsm.getWSEditModel(project);
-// }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java
deleted file mode 100644
index 1c00cca66..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.swt.widgets.Shell;
-
-public abstract class AbstractObjectSelectionLaunchable implements IObjectSelectionLaunchable {
-
- public int launch(Shell shell) {
- return -1;
- }
-
- public IStatus validateSelection(IStructuredSelection objectSelection) {
- // subclass should override this method
- return Status.OK_STATUS;
- }
-
- public IStructuredSelection getObjectSelection() {
- // subclass should override this method
- return new StructuredSelection();
- }
-
- public void setInitialSelection(IStructuredSelection initialSelection) {
- // subclass should override this method
- }
-
- public String getObjectSelectionDisplayableString()
- {
- // subclass should override this method
- return "";
- }
-
- public boolean validate(String s) {
- // subclass should override this method
- return true;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java
deleted file mode 100644
index 045aa362b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060529 143518 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-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.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-
-
-
-public class AddHandlerDialog extends Dialog implements Listener {
-
- private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
-
- private boolean validateOn_;
- private boolean isClient_;
- private boolean isMultipleServices_;
- private String className;
- private String name;
- private String selectedPortName;
-
- private Text classNameText;
- private Text nameText;
- private Combo portNameCombo;
-
- // ----TOOLTIPS Section----
- /* CONTEXT_ID AHDL0001 for the Handler Config Page */
- private final String INFOPOP_TEXT_HANDLER_NAME = "AHDL0001"; //$NON-NLS-1$
-
- /* CONTEXT_ID AHDL0002 for the Handler Config Page */
- private final String INFOPOP_TEXT_HANDLER_CLASS = "AHDL0002"; //$NON-NLS-1$
-
- /* CONTEXT_ID AHDL0001 for the Handler Config Page */
- private final String INFOPOP_TEXT_HANDLER_PORT = "AHDL0003"; //$NON-NLS-1$
-
- private Button beanClassBrowseButton_;
- /*CONTEXT_ID PBCL0003 for the Bean Class Browse button of the Bean Selection Page*/
- private String INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE = "PBCL0003";
-
- public AddHandlerDialog( Shell shell, boolean isClientHandler)
- {
- super(shell);
- setShellStyle(getShellStyle() | SWT.RESIZE);
- isClient_ = isClientHandler;
- }
-
- protected Control createContents(Composite parent) {
- Composite comp = (Composite) super.createContents(parent);
- parent.getShell().pack();
- return comp;
- }
-
- protected Control createDialogArea(Composite parent) {
- validateOn_ = false;
- UIUtils uiUtils = new UIUtils(pluginId_);
-
- Shell thisShell = parent.getShell();
- if (thisShell == null) {
- thisShell = createShell();
- }
- thisShell.setText(ConsumptionUIMessages.DIALOG_TITLE_WS_ADD_HANDLER);
-
- Composite composite = (Composite) super.createDialogArea(parent);
-
- Composite sourceLocationComp = uiUtils.createComposite(composite, 3);
-
- classNameText = uiUtils.createText(sourceLocationComp, ConsumptionUIMessages.LABEL_TEXT_HANDLER_CLASS, ConsumptionUIMessages.TOOLTIP_TEXT_HANDLER_CLASS, INFOPOP_TEXT_HANDLER_CLASS, SWT.SINGLE | SWT.BORDER);
- classNameText.addListener(SWT.Modify,this);
-
- beanClassBrowseButton_ = uiUtils.createPushButton( sourceLocationComp, ConsumptionUIMessages.BUTTON_BROWSE_CLASSES,
- ConsumptionUIMessages.TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE,
- INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE );
- beanClassBrowseButton_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleBrowseClasses();
- }
- } );
-
- nameText = uiUtils.createText(sourceLocationComp, ConsumptionUIMessages.LABEL_TEXT_HANDLER_NAME, ConsumptionUIMessages.TOOLTIP_TEXT_HANDLER_NAME, INFOPOP_TEXT_HANDLER_NAME, SWT.SINGLE | SWT.BORDER );
- nameText.addListener(SWT.Modify, this);
-
- // dummy label for column 3.
- new Label( sourceLocationComp, SWT.NONE );
-
- if (!isClient_ && !isMultipleServices_){
- portNameCombo = uiUtils.createCombo(sourceLocationComp, ConsumptionUIMessages.LABEL_TEXT_HANDLER_PORT, ConsumptionUIMessages.TOOLTIP_TEXT_HANDLER_PORT, INFOPOP_TEXT_HANDLER_PORT, SWT.SINGLE | SWT.BORDER );
- portNameCombo.addListener(SWT.Modify, this);
-
- // dummy label for column 3.
- new Label( sourceLocationComp, SWT.NONE );
- }
- validateOn_ = true;
- return composite;
- }
-
- private void handleBrowseClasses()
- {
- Shell shell = getShell();
- IType itype = DialogUtils.browseClassesAsIType(shell, ResourcesPlugin.getWorkspace().getRoot().getProjects(), new ProgressMonitorDialog(shell));
-
- if( itype != null )
- {
- classNameText.setText(itype.getFullyQualifiedName());
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
- */
- public void handleEvent(Event event) {
- if (!validateOn_)
- return;
- if (classNameText == event.widget) {
- handleClassNameTextEvent();
- validateTextFieldEntries();
- return;
- }
- if (nameText == event.widget) {
- handleNameTextEvent();
- validateTextFieldEntries();
- return;
- }
- if (portNameCombo == event.widget) {
- handlePortNameTextEvent();
- validateTextFieldEntries();
- return;
- }
- }
-
- private void handleClassNameTextEvent(){
- className = classNameText.getText();
- if (className.lastIndexOf(".java") != -1){
- nameText.setText(className.substring(0, className.lastIndexOf(".java")));
- }
- else {
- nameText.setText(className);
- }
-
- if (className.lastIndexOf(".") != -1){
- nameText.setText(className.substring(className.lastIndexOf(".")+1, className.length()));
- }
- name = nameText.getText();
- }
-
- private void handleNameTextEvent() {
- name = nameText.getText();
-
- }
-
- private void handlePortNameTextEvent(){
- selectedPortName = portNameCombo.getText();
- }
-
- private void disableOKButton() {
- if (getButton(0) != null)
- getButton(0).setEnabled(false);
- }
-
- private void enableOKButton() {
- if (getButton(0) != null)
- getButton(0).setEnabled(true);
- }
-
- private void validateTextFieldEntries(){
- if (classNameText.getText().equals("")){
- disableOKButton();
- return;
- }
- if (nameText.getText().equals("")){
- disableOKButton();
- return;
- }
- if (!isClient_ && !isMultipleServices_){
- if (portNameCombo.getText()!=null && portNameCombo.getText().equals("")){
- disableOKButton();
- return;
- }
- else if (portNameCombo.getText()==null) {
- disableOKButton();
- return;
- }
- }
-
- enableOKButton();
-
-
- }
-
- /**
- * @return Returns the className.
- */
- public String getClassName() {
- if (className.lastIndexOf(".java") != -1){
- return className.substring(0, className.lastIndexOf(".java"));
- }
- else {
- return className;
- }
- }
- /**
- * @param className The className to set.
- */
- public void setClassName(String className) {
- this.className = className;
- }
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
- /**
- * @param name The name to set.
- */
- public void setName(String name) {
- this.name = name;
- }
- /**
- * @return Returns the portName.
- */
- public String getPortName() {
- return selectedPortName;
- }
- /**
- * @param portName The portName to set.
- */
- public void setPortNames(String[] portNames) {
- portNameCombo.setItems(portNames);
- portNameCombo.select(0);
- }
-
- public void setIsMultipleServices(boolean isMultipleServices){
- this.isMultipleServices_ = isMultipleServices;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java
deleted file mode 100644
index 3962d82e5..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 120714 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.IJobManager;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ValidateWSDLJob;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-
-public class CheckWSDLValidationCommand extends AbstractDataModelOperation
-{
-
- public CheckWSDLValidationCommand () {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IJobManager jobManager = Platform.getJobManager();
- Job[] jobs = jobManager.find( ValidateWSDLJob.VALIDATE_WSDL_JOB_FAMILY );
- ValidateWSDLJob existingValidateWSDLJob = null;
-
- if( jobs.length > 0 )
- {
- for (int i=0; i<jobs.length; i++) {
- existingValidateWSDLJob = (ValidateWSDLJob)jobs[i];
-
- if (existingValidateWSDLJob.getState() != Job.NONE) {
- if (ignoreWSDLValidation(env)) {
- // if don't want to wait for validation, cancel existing validation job
- existingValidateWSDLJob.cancel();
- return Status.OK_STATUS;
- } else {
- // Setting the error string to an empty string so that the command engine would not
- // pop-up another error message when the user decided to wait for WSDL validation.
- return StatusUtils.errorStatus( "" );
- }
- }
- }
- }
-
- return Status.OK_STATUS;
-
- }
-
- private boolean ignoreWSDLValidation(IEnvironment env) {
- if (!WSPlugin.getInstance().getWaitForWSDLValidationContext().getPersistentWaitForWSDLValidation())
- return true; // do not want to wait for WSDL validation, i.e. Ignore all
-
- // give a warning message with the options to stop, ignore this one, or
- // ignore all coming messages
- IStatus status_ = StatusUtils.warningStatus( ConsumptionUIMessages.STILL_VALIDATING_WSDL );
- // adding all messages from WSI Incompliances
-
- Choice ignoreChoice = new Choice('C', ConsumptionUIMessages.CANCEL_VALIDATION_LABEL,
- ConsumptionUIMessages.CANCEL_VALIDATION_DESCRIPTION);
- Choice ignoreAllChoice = new Choice('A', ConsumptionUIMessages.CANCEL_ALL_VALIDATION_LABEL,
- ConsumptionUIMessages.CANCEL_ALL_VALIDATION_DESCRIPTION);
- Choice cancelChoice = new Choice('W', ConsumptionUIMessages.WAIT_VALIDATION_LABEL,
- ConsumptionUIMessages.WAIT_VALIDATION_DESCRIPTION);
-
- Choice result = env.getStatusHandler().report(status_,
- new Choice[] { ignoreChoice, ignoreAllChoice, cancelChoice });
-
- // if the user closes the message box or selects ignore continue
- if (result == null
- || (result.getLabel().equals(ignoreChoice.getLabel()))) {
- return true;
- // if the user selects ignore all, change the preference
- } else if (result.getLabel().equals(ignoreAllChoice.getLabel())) {
- // update ignore WSDL validation preference
- WSPlugin.getInstance().getWaitForWSDLValidationContext().setWaitForWSDLValidation(false);
- return true;
- }
- // if the user selects to cancel , do not continue with the command
- else if (result.getLabel().equals(cancelChoice.getLabel())) {
- return false;
- }
- return true;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java
deleted file mode 100644
index 333a36d50..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java
+++ /dev/null
@@ -1,329 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jem.util.emf.workbench.WorkbenchResourceHelperBase;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.j2ee.applicationclient.componentcore.util.AppClientArtifactEdit;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.client.ApplicationClientResource;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.internal.modulecore.util.EJBArtifactEditUtilities;
-import org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType;
-import org.eclipse.jst.j2ee.internal.webservice.helper.WebServicesManager;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebAppResource;
-import org.eclipse.jst.j2ee.webservice.wsclient.Handler;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.j2ee.webservice.wsclient.WebServicesResource;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-/**
- * ClientHandlersWidgetDefaultingCommand
- *
- * Initialize and load the handlers data
- */
-public class ClientHandlersWidgetDefaultingCommand extends AbstractHandlersWidgetDefaultingCmd {
-
- private WebServicesManager webServicesManager_;
-
- private IProject project_;
-
- private String serviceRefName_ = null;
-
- private List wsServiceRefs_;
-
- private HandlerServiceRefHolder[] handlerServiceRefHolder_;
- private String errorStatusMsg_ = null;
- private boolean isMultipleSelection_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- webServicesManager_ = WebServicesManager.getInstance();
-
- IStructuredSelection selection = getInitialSelection();
- if (selection == null) {
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
- env.getStatusHandler().reportError(status);
- return status;
- }
- else if (selection.size()>1){
- status = processMultipleHandlers();
- return status;
- }
-
- status = processHandlers();
- return status;
-
- }
-
- /**
- * For processing handlers
- * @return
- */
- public IStatus processHandlers() {
- try {
-
- Collection selectedServiceRefs = getWSServiceRefsFromSelection(); // get initial selection values
- if (selectedServiceRefs==null || selectedServiceRefs.isEmpty()){
- //report no Web service client is available
- return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_WEB_SERVICE_CLIENTS_NOT_FOUND);
- }
- wsServiceRefs_ = webServicesManager_.getAllWorkspaceServiceRefs();
-
- if (wsServiceRefs_ != null) {
- int numberOfServiceRefs = wsServiceRefs_.size();
- handlerServiceRefHolder_ = new HandlerServiceRefHolder[numberOfServiceRefs];
-
- for (int i = 0; i < numberOfServiceRefs; i++) {
- ServiceRef wsServiceRef = (ServiceRef) wsServiceRefs_.get(i);
- Vector handlers = new Vector();
- List wsHandlers = wsServiceRef.getHandlers();
-
- for (int k = 0; k < wsHandlers.size(); k++) {
-
- Handler wsHandler = (Handler) wsHandlers.get(k);
-
- HandlerTableItem handlerItem = new HandlerTableItem();
- handlerItem.setHandler(wsHandler);
- handlerItem.setHandlerName(wsHandler.getHandlerName());
- handlerItem.setHandlerClassName(wsHandler.getHandlerClass().getQualifiedName());
- handlerItem.setWsDescRef(wsServiceRef);
-
- handlers.add(handlerItem);
- }
- String wsServiceRefName = wsServiceRef.getServiceRefName();
- handlerServiceRefHolder_[i] = new HandlerServiceRefHolder();
- handlerServiceRefHolder_[i].setHandlerList(handlers);
- handlerServiceRefHolder_[i].setServiceRef(wsServiceRef);
- handlerServiceRefHolder_[i].setServiceRefName(wsServiceRefName);
-
- }
-
- }
-
- }
- catch (Exception e) {
- return StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED, e);
- }
- return Status.OK_STATUS;
- }
-
- public IStatus processMultipleHandlers(){
- ServiceRef[] serviceRefs = getServiceRefs();
- if (errorStatusMsg_ != null){
- return StatusUtils.errorStatus(errorStatusMsg_);
- }
- isMultipleSelection_ = true;
-
- handlerServiceRefHolder_ = new HandlerServiceRefHolder[serviceRefs.length];
- Vector handlers = new Vector();
- for (int i=0;i<serviceRefs.length;i++){
-
- String refName = serviceRefs[i].getServiceRefName();
- handlerServiceRefHolder_[i] = new HandlerServiceRefHolder();
- handlerServiceRefHolder_[i].setHandlerList(handlers);
- handlerServiceRefHolder_[i].setServiceRefName(refName);
- handlerServiceRefHolder_[i].setServiceRef(serviceRefs[i]);
- }
- return Status.OK_STATUS;
- }
-
- /**
- * @return Returns the isGenSkeletonEnabled_.
- */
- public boolean getGenSkeletonEnabled() {
- if (isMultipleSelection_)
- return false;
- return true;
- }
-
-
- public String getServiceRefName() {
- return this.serviceRefName_;
- }
-
- public IProject getClientProject() {
- return project_;
- }
-
- private ServiceRef[] getServiceRefs(){
- IStructuredSelection initSel = getInitialSelection();
- ServiceRef[] serviceRefs = new ServiceRef[initSel.size()];
- Iterator iter = initSel.iterator();
- for (int i=0;i<initSel.size();i++) {
- Object obj = iter.next();
- if (obj instanceof ServiceRef){
- serviceRefs[i] = (ServiceRef)obj;
- }
- else{
- errorStatusMsg_ = ConsumptionUIMessages.MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT;
- return null;
- }
- }
- return serviceRefs;
-}
-
- private Collection getWSServiceRefsFromSelection() {
-
- IStructuredSelection initSel = getInitialSelection();
- if (initSel != null && initSel.size() == 1) {
- Object obj = initSel.getFirstElement();
- ServiceRef serviceRef = null;
- if (obj instanceof ServiceRef) {
- // Client ServiceRef
- serviceRef = (ServiceRef) obj;
- serviceRefName_ = serviceRef.getServiceRefName();
- project_ = ProjectUtilities.getProject(serviceRef);
- }
- else if (obj instanceof WebServiceNavigatorGroupType) {
- WebServiceNavigatorGroupType wsngt = (WebServiceNavigatorGroupType) obj;
- serviceRef = wsngt.getServiceRef();
- serviceRefName_ = serviceRef.getServiceRefName();
- project_ = ProjectUtilities.getProject(serviceRef);
- }
- else if (obj instanceof IFile){
- Resource res = WorkbenchResourceHelperBase.getResource((IFile)obj, true);
- Collection serviceRefs = null;
- if (res instanceof WebServicesResource) {
- // webservicesclient.xml for J2EE 1.3
- WebServicesResource wsRes = (WebServicesResource)res;
- serviceRefs = wsRes.getWebServicesClient().getServiceRefs();
- if (!serviceRefs.isEmpty()) {
- ServiceRef ref = (ServiceRef)((List)serviceRefs).get(0);
- serviceRefName_ = ref.getServiceRefName();
- project_ = ProjectUtilities.getProject(ref);
- return serviceRefs;
- }
- return null;
- }
- else {
- if(res instanceof WebAppResource){
- // web.xml for J2EE 1.4
- WebAppResource webAppRes = (WebAppResource)res;
- serviceRefs = webAppRes.getWebApp().getServiceRefs();
- }
- else if (res instanceof EJBResource){
- EJBResource ejbRes = (EJBResource)res;
- serviceRefs = webServicesManager_.getServiceRefs(ejbRes.getEJBJar());
- }
- else if (res instanceof ApplicationClientResource){
- ApplicationClientResource appClientRes = (ApplicationClientResource)res;
- serviceRefs = webServicesManager_.getServiceRefs(appClientRes.getApplicationClient());//appClientRes.getApplicationClient().getServiceRefs();
- }
- if (serviceRefs!=null && serviceRefs.size()>0) {
- ServiceRef ref = (ServiceRef)((List)serviceRefs).get(0);
- serviceRefName_ = ref.getServiceRefName();
- project_ = ProjectUtilities.getProject(ref);
- }
- return serviceRefs;
- }
- }
-
- // This section is for obtaining all the serviceRefs from the project, given that the initial selection
- // was from the J2EE view (ServiceRef or WebServiceNavigatorGroupType), it will select the right serviceRef
- if (project_==null){
- project_ = getProject();
- }
- if (project_==null){
- return null;
- }
-
- if (J2EEUtils.isWebComponent(project_)) {
- WebArtifactEdit webEdit = null;
- try {
- IVirtualComponent vc = ComponentCore.createComponent(project_);
- webEdit = WebArtifactEdit.getWebArtifactEditForRead(vc);
- if (webEdit != null)
- {
- WebApp webApp = (WebApp) webEdit.getDeploymentDescriptorRoot();
- if (webApp != null) {
- return webServicesManager_.getServiceRefs(webApp);
- }
- }
- }
- finally{
- if(webEdit!=null)
- webEdit.dispose();
- }
- }
- else if (J2EEUtils.isEJBComponent(project_)){
-
- IVirtualComponent vc = ComponentCore.createComponent(project_);
- EJBJar ejbJar = EJBArtifactEditUtilities.getEJBJar(vc);
- if (ejbJar!=null) {
- return webServicesManager_.getServiceRefs(ejbJar);
- }
- }
- else if (J2EEUtils.isAppClientComponent(project_)){
- IVirtualComponent vc = ComponentCore.createComponent(project_);
- AppClientArtifactEdit appEdit = null;
- try {
- appEdit = AppClientArtifactEdit.getAppClientArtifactEditForRead(vc);
- if (appEdit!=null){
- ApplicationClient appClient = appEdit.getApplicationClient();
- if (appClient !=null){
- return webServicesManager_.getServiceRefs(appClient);
- }
- }
- }
- finally{
- if(appEdit!=null){
- appEdit.dispose();
- }
- }
- }
-
-
- }
- return null;
- }
-
- public Collection getWsServiceRefs(){
- return this.wsServiceRefs_;
- }
-
- public boolean getIsMultipleSelection(){
- return this.isMultipleSelection_;
- }
-
- public HandlerServiceRefHolder[] getHandlerServiceRefHolder(){
- return this.handlerServiceRefHolder_;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java
deleted file mode 100644
index 4cee18a13..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060517 142339 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.j2ee.applicationclient.componentcore.util.AppClientArtifactEdit;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webservice.wsclient.Handler;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.j2ee.webservice.wsclient.Webservice_clientFactory;
-import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.Webservice_clientFactoryImpl;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.JavaMOFUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.ArtifactEdit;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
-
-/*
- * Provide a way to externalize the edited fields and create new handlers
- *
- */
-public class ClientHandlersWidgetOutputCommand extends AbstractDataModelOperation
-{
-
- private HandlerServiceRefHolder[] handlerServiceRefHolder_;
- private Hashtable oldWSServiceRefsToHandlersTable_;
- private Hashtable newWSServiceRefsToHandlersTable_;
- private IProject project_;
- private boolean isMultipleSelection_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- try {
-
- if (isMultipleSelection_) {
- if (handlerServiceRefHolder_ != null) {
- // add new handler to internal model if it doesn't already exist
- for (int i = 0; i < handlerServiceRefHolder_.length; i++) {
- handlerServiceRefHolder_[i].addHandlerToServiceRef();
- saveEditModel(handlerServiceRefHolder_[i].getProject());
- }
-
- }
-
- }
- else {
- oldWSServiceRefsToHandlersTable_ = new Hashtable();
- newWSServiceRefsToHandlersTable_ = new Hashtable();
-
- if (handlerServiceRefHolder_ != null) {
-
- for (int i = 0; i < handlerServiceRefHolder_.length; i++) {
-
- ServiceRef wsServiceRef =handlerServiceRefHolder_[i].getServiceRef();
-
- List wsHandlers = wsServiceRef.getHandlers();
- oldWSServiceRefsToHandlersTable_.put(wsServiceRef, wsHandlers);
- newWSServiceRefsToHandlersTable_.put(wsServiceRef, new ArrayList());
- }
-
- //Enumeration e = handlersTable_.keys();
- for (int j=0;j<handlerServiceRefHolder_.length;j++) {
-
- List handlerTableItems_ = handlerServiceRefHolder_[j].getHandlerList();
- if (handlerTableItems_ != null) {
- // form Handler tables
- for (int i = 0; i < handlerTableItems_.size(); i++) {
-
- HandlerTableItem hti = (HandlerTableItem) handlerTableItems_.get(i);
- Object wsModelRef = hti.getWsDescRef();
- if (wsModelRef != null && wsModelRef instanceof ServiceRef) {
- ServiceRef wsRef = (ServiceRef) wsModelRef;
-
- Object handler = hti.getHandler();
- if (handler != null && handler instanceof Handler) {
- // clone it
- Handler clonedHandler = (Handler) EtoolsCopyUtility.createCopy((Handler) handler);
- ((List) newWSServiceRefsToHandlersTable_.get(wsRef)).add(clonedHandler);
- }
- else {
- // create it
- Webservice_clientFactory wsClientFactory = new Webservice_clientFactoryImpl();
- Handler newHandler = wsClientFactory.createHandler();
- newHandler.setHandlerName(hti.getHandlerName());
-
- JavaClass javaClass = JavaMOFUtils.getJavaClass(hti.getHandlerClassName(), project_);
- if (javaClass != null) {
- newHandler.setHandlerClass(javaClass);
- }
-
- ((List) newWSServiceRefsToHandlersTable_.get(wsRef)).add(newHandler);
- }
-
- }
-
- }
- }
- }
-
- // add handlers to ports
- addHandlersToServiceRefs();
- }
-
- // save the artifact edit model
- saveEditModel();
- }
-
- }
- catch (Exception e)
- {
- return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED, e);
- }
-
- return status;
- }
-
- private void saveEditModel() {
- ArtifactEdit artifactEdit = null;
- try {
- if (J2EEUtils.isWebComponent(project_)) {
- artifactEdit = WebArtifactEdit.getWebArtifactEditForWrite(project_);
- }
- else if (J2EEUtils.isEJBComponent(project_)){
- artifactEdit = EJBArtifactEdit.getEJBArtifactEditForWrite(project_);
- }
- else if (J2EEUtils.isAppClientComponent(project_)){
- artifactEdit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(project_);
- }
- }
- finally {
- if (artifactEdit!=null) {
- artifactEdit.save(null);
- artifactEdit.dispose();
- }
- }
- }
-
- private void saveEditModel(IProject project){
- project_ = project;
- saveEditModel();
- }
-
- private void addHandlersToServiceRefs() {
- try {
- Enumeration refsToHandlers = newWSServiceRefsToHandlersTable_.keys();
- while (refsToHandlers.hasMoreElements()) {
- ServiceRef serviceRef = (ServiceRef) refsToHandlers.nextElement();
- if (serviceRef != null) {
- List handlers = (List) newWSServiceRefsToHandlersTable_.get(serviceRef);
- List modelHandlers = (List) oldWSServiceRefsToHandlersTable_.get(serviceRef);
- modelHandlers.clear();
- modelHandlers.addAll(handlers);
- }
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
- public void setClientProject(IProject project) {
- this.project_ = project;
- }
-
- /**
- * An array of HandlerDescriptionHolders
- * @return
- */
- public void setHandlerServiceRefHolder(HandlerServiceRefHolder[] handlerHolders){
- this.handlerServiceRefHolder_ = handlerHolders;
- }
-
- public void setIsMultipleSelection(boolean isMulitpleSelection) {
- this.isMultipleSelection_ = isMulitpleSelection;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java
deleted file mode 100644
index 2eb07790d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java
+++ /dev/null
@@ -1,546 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060407 135415 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060417 136390/136159 joan@ca.ibm.com - Joan Haggarty
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- * 20060424 138052 kathy@ca.ibm.com - Kathy Chan
- * 20060425 137831 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060612 145081 pmoogk@ca.ibm.com - Peter Moogk
- * 20060725 149351 makandre@ca.ibm.com - Andrew Mak, Deleted service definition keeps reappearing
- * 20060803 152486 makandre@ca.ibm.com - Andrew Mak, Typing WSDL in Service definition field is very slow
- * 20060817 140017 makandre@ca.ibm.com - Andrew Mak, longer project or server/runtime strings do not resize wizard
- * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
- * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
- * 20060907 156211 makandre@ca.ibm.com - Andrew Mak, Selecting service definition invalidated project config when creating web service java client
- * 20061212 159911 makandre@ca.ibm.com - Andrew Mak, changing service definition resets some configuration fields
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.Timer;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class ClientWizardWidget extends SimpleWidgetDataContributor implements Runnable
-{
- private WebServiceClientTypeWidget clientWidget_;
- private Button overwriteButton_;
- private Button monitorService_;
-
- private Text serviceImpl_;
- private Button browseButton_;
- private WSDLSelectionDialog wsdlDialog_;
- private String componentName_;
- private IProject project_;
- private String webServiceURI_;
- private WebServicesParser parser_;
- private ResourceContext resourceContext_;
-
- private Listener statusListener_;
- private ModifyListener objectModifyListener_ ;
- private int validationState_;
- private boolean validObjectSelection_ = true;
- private WSDLSelectionWidgetWrapper wsdlValidatorWidget_;
-
- private Timer timer_ = null;
-
- /* CONTEXT_ID WSWSCEN0020 for the Service Implemenation text field of the Scenario Page */
- private String INFOPOP_WSWSCEN_TEXT_SERVICE_IMPL = "WSWSCEN0020";
-
-
- /* CONTEXT_ID WSWSCEN0014 for the monitor service checkbox of the Scenario page */
- private String INFOPOP_WSWSCEN_CHECKBOX_MONITOR_SERVICE = "WSWSCEN0014";
- /* CONTEXT_ID WSWSCEN0030 for the Overwrite Files checkbox of the Scenario Page */
- private String INFOPOP_WSWSCEN_CHECKBOX_OVERWRITE = "WSWSCEN0030";
- /* CONTEXT_ID WSWSCEN0001 for the Scenario Page */
- private String INFOPOP_WSWSCEN_PAGE = "WSWSCEN0001";
-
- /**
- * Run this ClientWizardWidget, which validates the entry field values.
- */
- public void run() {
- validationState_ = ValidationUtils.VALIDATE_ALL;
- statusListener_.handleEvent(null);
- if (validObjectSelection_)
- callObjectTransformation(project_,
- wsdlValidatorWidget_.getComponentName(),
- wsdlValidatorWidget_.getWsdlURI());
- }
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener)
- {
- String pluginId = "org.eclipse.jst.ws.consumption.ui";
- UIUtils utils = new UIUtils( pluginId );
- utils.createInfoPop(parent, INFOPOP_WSWSCEN_PAGE);
-
- statusListener_ = statusListener;
- validationState_ = ValidationUtils.VALIDATE_ALL;
- // Create text field and browse for service selection
- Composite typeComposite = utils.createComposite(parent, 3);
- serviceImpl_ = utils.createText(typeComposite, ConsumptionUIMessages.LABEL_WEBSERVICEDEF,
- ConsumptionUIMessages.TOOLTIP_WSWSCEN_TEXT_IMPL,
- INFOPOP_WSWSCEN_TEXT_SERVICE_IMPL, SWT.LEFT | SWT.BORDER );
-
- objectModifyListener_ = new ModifyListener(){
- public void modifyText(ModifyEvent e) {
- if (serviceImpl_.getText().indexOf(':') > 0) {
- timer_ = Timer.newInstance(timer_, Display.getCurrent(), ClientWizardWidget.this);
- timer_.startTimer();
- }
- else
- run();
- }
- };
-
- serviceImpl_.addModifyListener(objectModifyListener_);
-
- browseButton_ = utils.createPushButton(typeComposite,
- ConsumptionUIMessages.BUTTON_BROWSE, ConsumptionUIMessages.TOOLTIP_WSWSCEN_BUTTON_BROWSE_IMPL, null);
-
- IWorkbench workbench = PlatformUI.getWorkbench();
- wsdlDialog_ = new WSDLSelectionDialog(workbench.getActiveWorkbenchWindow().getShell(),
- new PageInfo(ConsumptionUIMessages.DIALOG_TITILE_SERVICE_IMPL_SELECTION, "",
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new WSDLSelectionWidgetWrapper();
- }
- }));
- browseButton_.addSelectionListener(new WSDLBrowseListener());
-
- utils.createHorizontalSeparator(parent, 1);
-
- Composite clientComposite = utils.createComposite( parent, 1, 0, 0 );
-
- clientWidget_ = new WebServiceClientTypeWidget(true);
- clientWidget_.addControls(clientComposite , statusListener );
-
- // Create test service check box.
- Composite buttonGroup = utils.createComposite(clientComposite,1);
-
- // Create monitor service check box.
- monitorService_ = utils.createCheckbox(buttonGroup , ConsumptionUIMessages.CHECKBOX_MONITOR_WEBSERVICE,
- ConsumptionUIMessages.TOOLTIP_PWPR_CHECKBOX_MONITOR_SERVICE,
- INFOPOP_WSWSCEN_CHECKBOX_MONITOR_SERVICE);
-
- //show overwrite if it is enabled in the preferences
- if (getResourceContext().isOverwriteFilesEnabled()) {
- Label prefSeparator = utils.createHorizontalSeparator(parent, 1);
- prefSeparator.setText("File Options");
- Composite prefButtonPanel = utils.createComposite(parent, 1);
- overwriteButton_ = utils.createCheckbox(prefButtonPanel,
- ConsumptionUIMessages.CHECKBOX_OVERWRITE_FILES,
- ConsumptionUIMessages.TOOLTIP_WSWSCEN_BUTTON_OVERWRITE_FILES,
- INFOPOP_WSWSCEN_CHECKBOX_OVERWRITE);
- overwriteButton_.setSelection(getResourceContext()
- .isOverwriteFilesEnabled());
- }
- return this;
- }
-
- public void setResourceContext( ResourceContext context )
- {
- resourceContext_ = context;
- }
-
- public ResourceContext getResourceContext()
- {
- if (resourceContext_ == null) {
- resourceContext_ = WebServicePlugin.getInstance()
- .getResourceContext();
- }
- return resourceContext_;
- }
-
- public void setClientTypeRuntimeServer( TypeRuntimeServer ids )
- {
- clientWidget_.setTypeRuntimeServer( ids );
- }
-
- public void setClientProjectName(String name)
- {
- clientWidget_.setClientProjectName(name);
- }
-
- public void setClientEarProjectName(String name)
- {
- clientWidget_.setClientEarProjectName(name);
- }
-
- public void setClientComponentType(String name)
- {
- clientWidget_.setClientComponentType(name);
- }
-
- public void setClientNeedEAR(boolean b)
- {
- clientWidget_.setClientNeedEAR(b);
- }
-
- public String getClientRuntimeId()
- {
- return clientWidget_.getClientRuntimeId();
- }
-
- public String getClientEarProjectName()
- {
- return clientWidget_.getClientEarProjectName();
- }
-
- public String getClientProjectName()
- {
- return clientWidget_.getClientProjectName();
- }
-
- public String getClientComponentType()
- {
- return clientWidget_.getClientComponentType();
- }
-
- public boolean getClientNeedEAR()
- {
- return clientWidget_.getClientNeedEAR();
- }
-
- public void setWebServiceURI(String uri)
- {
- webServiceURI_ = uri;
- }
-
-public void internalize() {
-
- if (webServiceURI_ == null || webServiceURI_.length() == 0)
- return;
-
- serviceImpl_.removeModifyListener(objectModifyListener_);
- serviceImpl_.setText(webServiceURI_);
- serviceImpl_.addModifyListener(objectModifyListener_);
-
- EclipseIPath2URLStringTransformer transformer = new EclipseIPath2URLStringTransformer();
- webServiceURI_ = (String) transformer.transform(webServiceURI_);
-}
-
- public void setProject(IProject project)
- {
- project_ = project;
- }
- public void setComponentName(String name)
- {
- componentName_ = name;
- }
-
- public String getWebServiceURI()
- {
- return webServiceURI_ ;
- }
-
- public String getWsdlURI()
- {
- return getWebServiceURI();
- }
-
- public IProject getProject()
- {
- return project_;
- }
-
- public String getComponentName()
- {
- return componentName_ ;
- }
-
- public WebServicesParser getWebServicesParser()
- {
- return WSDLParserFactory.getWSDLParser();
- }
-
- public void setWebServicesParser(WebServicesParser parser)
- {
- parser_ = getWebServicesParser();
- clientWidget_.setWebServicesParser(parser_);
- }
-
- public TypeRuntimeServer getClientTypeRuntimeServer()
- {
- return clientWidget_.getTypeRuntimeServer();
- }
-
- public void setInstallClient( Boolean install)
- {
- clientWidget_.setInstallClient( install );
- }
-
- public Boolean getInstallClient()
- {
- return clientWidget_.getInstallClient();
- }
-
- public Boolean getTestService()
- {
- return clientWidget_.getTestClient();
- }
-
- public void setTestService( Boolean value )
- {
- clientWidget_.setTestClient(value);
- }
-
- public int getClientGeneration()
- {
- return clientWidget_.getClientGeneration();
- }
-
- public void setClientGeneration(int value)
- {
- clientWidget_.setClientGeneration(value);
- }
-
- public void setDevelopClient(boolean develop) {
- clientWidget_.setDevelopClient( develop );
- }
-
- public boolean getDevelopClient() {
- return clientWidget_.getDevelopClient();
- }
-
- public void setAssembleClient(boolean assemble) {
- clientWidget_.setAssembleClient( assemble );
- }
-
- public boolean getAssembleClient() {
- return clientWidget_.getAssembleClient();
- }
-
- public void setDeployClient(boolean deploy) {
- clientWidget_.setDeployClient( deploy );
- }
-
- public boolean getDeployClient() {
- return clientWidget_.getDeployClient();
- }
-
- public void setStartClient(Boolean start) {
- clientWidget_.setStartClient( start );
- }
-
- public Boolean getStartClient() {
- return clientWidget_.getStartClient();
- }
-
- public Boolean getMonitorService()
- {
- return new Boolean(monitorService_.getSelection());
- }
-
- public void setMonitorService(Boolean value)
- {
- monitorService_.setSelection(value.booleanValue());
- }
-
- private void refreshClientRuntimeSelection()
- {
- //new up ServerRuntimeSelectionWidgetDefaultingCommand
- ClientRuntimeSelectionWidgetDefaultingCommand clientRTDefaultCmd = new ClientRuntimeSelectionWidgetDefaultingCommand();
-
- clientRTDefaultCmd.setResourceContext(resourceContext_);
- clientRTDefaultCmd.setClientEarProjectName(getClientEarProjectName());
- clientRTDefaultCmd.setClientInitialProject(getProject());
- clientRTDefaultCmd.setClientTypeRuntimeServer(getClientTypeRuntimeServer());
- clientRTDefaultCmd.setTestService(getTestService().booleanValue());
- clientRTDefaultCmd.setWebServicesParser(getWebServicesParser());
- clientRTDefaultCmd.setWsdlURI(getWsdlURI());
-
- clientRTDefaultCmd.execute(null, null);
-
- setClientComponentType(clientRTDefaultCmd.getClientComponentType());
- setClientEarProjectName(clientRTDefaultCmd.getClientEarProjectName());
- setClientNeedEAR(clientRTDefaultCmd.getClientNeedEAR());
- setClientProjectName(clientRTDefaultCmd.getClientProjectName());
- setClientTypeRuntimeServer(clientRTDefaultCmd.getClientTypeRuntimeServer());
- }
-
- public IStatus getStatus() {
-
- validObjectSelection_ = false; // assume false at first
-
- IStatus missingFieldStatus = checkMissingFieldStatus();
- if (missingFieldStatus.getSeverity() == IStatus.ERROR) {
- return missingFieldStatus;
- }
-
- IStatus invalidServiceImplStatus = checkServiceImplTextStatus();
- if (invalidServiceImplStatus.getSeverity() == IStatus.ERROR) {
- return invalidServiceImplStatus;
- }
-
- IStatus possibleErrorStatus = checkErrorStatus();
- if (possibleErrorStatus.getSeverity() == IStatus.ERROR) {
- return possibleErrorStatus;
- }
-
- IStatus possibleWarningStatus = checkWarningStatus();
- if (possibleWarningStatus.getSeverity() == IStatus.WARNING) {
- return possibleWarningStatus;
- }
-
- // if no errors or warnings were found, clear the validation state.
- validationState_ = ValidationUtils.VALIDATE_NONE;
- clientWidget_.setValidationState(ValidationUtils.VALIDATE_NONE);
-
- return Status.OK_STATUS;
- }
-
- private IStatus checkMissingFieldStatus() {
-
- if (validationState_ == ValidationUtils.VALIDATE_ALL) {
- if (serviceImpl_.getText().trim().length() == 0) {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVICE_SELECTION, new String[]{ConsumptionUIMessages.LABEL_WEBSERVICEIMPL}));
- }
- }
-
- IStatus clientMissingFieldsStatus = clientWidget_.checkMissingFieldStatus();
- if (clientMissingFieldsStatus.getSeverity() == IStatus.ERROR) {
- return clientMissingFieldsStatus;
- }
-
- return Status.OK_STATUS;
-
- }
-
- private IStatus checkErrorStatus() {
- IStatus clientSideErrorStatus = clientWidget_.checkErrorStatus();
- if (clientSideErrorStatus.getSeverity() == IStatus.ERROR) {
- return clientSideErrorStatus;
- }
- return Status.OK_STATUS;
- }
-
- private IStatus checkWarningStatus() {
- IStatus clientWarningStatus = clientWidget_.checkWarningStatus();
- if (clientWarningStatus.getSeverity() == IStatus.WARNING) {
- return clientWarningStatus;
- }
- return Status.OK_STATUS;
- }
-
- /*call validation code in the object selection widget to ensure
- any modifications to the serviceImpl_ field are valid*/
- private IStatus checkServiceImplTextStatus() {
-
- String fieldText = serviceImpl_.getText().trim();
-
- if (wsdlValidatorWidget_ == null)
- wsdlValidatorWidget_ = new WSDLSelectionWidgetWrapper();
-
- validObjectSelection_ = wsdlValidatorWidget_.validate(fieldText);
-
- if (!validObjectSelection_)
- {
- return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_INVALID_SERVICE_DEF);
- }
-
- return Status.OK_STATUS;
- }
-
- private void callObjectTransformation(IProject project, String componentName,
- String wsdlURI)
- {
- WSDLSelectionOutputCommand wsdlOutputCommand = new WSDLSelectionOutputCommand();
- wsdlOutputCommand.setComponentName(componentName);
- wsdlOutputCommand.setProject(project);
- wsdlOutputCommand.setWsdlURI(wsdlURI);
- wsdlOutputCommand.setTestService(getTestService().booleanValue());
- wsdlOutputCommand.setWebServicesParser(getWebServicesParser());
-
- wsdlOutputCommand.execute(null, null);
-
- setComponentName(wsdlOutputCommand.getComponentName());
- setProject(wsdlOutputCommand.getProject());
- setWebServicesParser(wsdlOutputCommand.getWebServicesParser());
- setWebServiceURI(wsdlOutputCommand.getWsdlURI());
-
- // bug 159911: our starting point is a wsdl, we should not need to
- // refresh the runtime everytime the user specify a new wsdl path
- // refreshClientRuntimeSelection();
- }
-
- private class WSDLBrowseListener implements SelectionListener
- {
- public void widgetDefaultSelected(SelectionEvent e) {
- // TODO Auto-generated method stub
-
- }
- public void widgetSelected(SelectionEvent e) {
-
- wsdlDialog_.setComponentName(getComponentName());
- wsdlDialog_.setProject(getProject());
- wsdlDialog_.setWebServiceURI( serviceImpl_.getText() );
-
- int result = wsdlDialog_.open();
-
- if (result == Dialog.OK)
- {
- serviceImpl_.removeModifyListener(objectModifyListener_);
- serviceImpl_.setText(wsdlDialog_.getDisplayableSelectionString());
- serviceImpl_.addModifyListener(objectModifyListener_);
-
- // call WSDLSelectionOutputCommand to carry out any transformation on the objectSelection
- callObjectTransformation(project_,
- wsdlDialog_.getComponentName(), wsdlDialog_.getWebServiceURI());
-
- validationState_ = ValidationUtils.VALIDATE_ALL;
- clientWidget_.setValidationState(ValidationUtils.VALIDATE_ALL);
- statusListener_.handleEvent(null); //validate the page
- }
- }
- }
-}
-
-
-
-
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java
deleted file mode 100644
index 6d8aef4f8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060728 150560 kathy@ca.ibm.com - Kathy Chan
- * 20060728 151078 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class ClientWizardWidgetDefaultingCommand extends AbstractDataModelOperation
-{
- private int clientGeneration_;
- private boolean developClient_;
- private boolean assembleClient_;
- private boolean deployClient_;
- private boolean installClient_;
- private boolean startClient_;
- private boolean testClient_;
- private boolean clientOnly_ = false;
-
- public ClientWizardWidgetDefaultingCommand() {
- }
-
-
- /**
- * @param clientOnly Set to true for if called from ClientWidgetWizard
- */
- public ClientWizardWidgetDefaultingCommand(boolean clientOnly) {
- clientOnly_ = clientOnly;
- }
-
- public Boolean getTestService()
- {
- return new Boolean( getScenarioContext().getTestWebService() );
- }
-
- public Boolean getMonitorService()
- {
- return new Boolean( getScenarioContext().getMonitorWebService());
- }
-
- public boolean getInstallClient()
- {
- return installClient_;
- }
-
- public boolean getRunTestClient()
- {
- return getScenarioContext().isLaunchSampleEnabled() ;
- }
-
- public int getClientGeneration()
- {
- return clientGeneration_;
- }
-
- public ResourceContext getResourceContext()
- {
- return WebServicePlugin.getInstance().getResourceContext();
- }
-
- // Current ScenarioContext is used to default the first page of the wizard. The
- // properties in ScenarioContext are mapped individual. Therefore, ScenarioContext
- // should not also be mapped.
- protected ScenarioContext getScenarioContext()
- {
- return WebServicePlugin.getInstance().getScenarioContext();
- }
-
- // TODO Set client name defaults here.
- public TypeRuntimeServer getClientTypeRuntimeServer()
- {
- // rskreg
- //WebServiceClientTypeRegistry registry = WebServiceClientTypeRegistry.getInstance();
- String type = getScenarioContext().getClientWebServiceType();
- //String runtime = registry.getAllClientRuntimes()[0];
- String runtime = WebServiceRuntimeExtensionUtils2.getAllRuntimesForClientSide()[0];
- //String server = registry.getAllClientServerFactoryIds()[0];
- String[] servers = WebServiceRuntimeExtensionUtils2.getAllClientServerFactoryIds();
- String server = null;
- if (servers != null && servers.length>0)
- {
- server = servers[0];
- }
- TypeRuntimeServer result = new TypeRuntimeServer();
- // rskreg
-
- result.setTypeId( type );
- result.setRuntimeId( runtime );
- result.setServerId( server );
-
- return result;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- defaultClientScale();
- return Status.OK_STATUS;
- }
-
- protected void defaultClientScale() {
- clientGeneration_ = getScenarioContext().getGenerateClient();
-
- if (clientOnly_ && clientGeneration_ == ScenarioContext.WS_NONE) {
- developClient_ = true;
- assembleClient_ = true;
- deployClient_ = true;
- clientGeneration_ = ScenarioContext.WS_DEPLOY;
- } else {
- developClient_ = clientGeneration_ <= ScenarioContext.WS_DEVELOP;
- assembleClient_ = clientGeneration_ <= ScenarioContext.WS_ASSEMBLE;
- deployClient_ = clientGeneration_ <= ScenarioContext.WS_DEPLOY;
- }
- installClient_ = clientGeneration_ <= ScenarioContext.WS_INSTALL;
- startClient_ = clientGeneration_ <= ScenarioContext.WS_START;
- testClient_ = clientGeneration_ <= ScenarioContext.WS_TEST;
- }
-
- public boolean getDevelopClient() {
- return developClient_;
- }
-
- public boolean getAssembleClient() {
- return assembleClient_;
- }
-
- public boolean getDeployClient() {
- return deployClient_;
- }
-
- public boolean getStartClient() {
- return startClient_;
- }
-
- public boolean getTestClient() {
- return testClient_;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java
deleted file mode 100644
index 35511e131..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class ClientWizardWidgetOutputCommand extends AbstractDataModelOperation
-{
- private boolean testService_;
- private boolean monitorService;
- private ResourceContext resourceContext_;
- private TypeRuntimeServer clientIds_;
- private boolean installClient_;
-
- private String webServiceURI_;
- private IProject project_;
- private String componentName_;
- private boolean runTestClient_;
- private boolean developClient_;
- private boolean assembleClient_;
- private boolean deployClient_;
- private boolean startClient_;
- private boolean testClient_;
-
- public boolean getTestService()
- {
- return testService_;
- }
-
- public void setTestService( boolean testService )
- {
- testService_ = testService;
- }
-
- public boolean getRunTestClient()
- {
- return runTestClient_;
- }
-
- public void setRunTestClient( boolean runTestClient )
- {
- runTestClient_ = runTestClient;
- }
-
- public void setInstallClient( boolean installClient)
- {
- installClient_ = installClient;
- }
-
- public boolean getInstallClient()
- {
- return installClient_;
- }
-
- public boolean getDevelopClient() {
- return developClient_;
- }
-
- public void setDevelopClient(boolean developClient) {
- this.developClient_ = developClient;
- }
-
- public boolean getAssembleClient() {
- return assembleClient_;
- }
-
- public void setAssembleClient(boolean assembleClient) {
- this.assembleClient_ = assembleClient;
- }
-
- public boolean getDeployClient() {
- return deployClient_;
- }
-
- public void setDeployClient(boolean deployClient) {
- this.deployClient_ = deployClient;
- }
-
- public boolean getStartClient() {
- return startClient_;
- }
-
- public void setStartClient(boolean startClient) {
- this.startClient_ = startClient;
- }
-
- public boolean getTestClient() {
- return testClient_;
- }
-
- public void setTestClient(boolean testClient) {
- this.testClient_ = testClient;
- }
- public boolean getMonitorService()
- {
- return monitorService;
- }
-
- public void setMonitorService(boolean monitorService)
- {
- this.monitorService = monitorService;
- }
-
- public ResourceContext getResourceContext()
- {
-
- return resourceContext_;
- }
-
- public void setResourceContext( ResourceContext context )
- {
- resourceContext_ = context;
- }
-
- public TypeRuntimeServer getClientTypeRuntimeServer()
- {
- return clientIds_;
- }
-
- public void setClientTypeRuntimeServer( TypeRuntimeServer clientIds )
- {
- clientIds_ = clientIds;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-
- public String getWsdlURI()
- {
- return webServiceURI_ ;
- }
-
- public void setWsdlURI(String uri)
- {
- webServiceURI_ = uri;
- }
-
- public void setProject(IProject project)
- {
- project_ = project;
- }
-
- public IProject getProject()
- {
- return project_;
- }
-
- public void setComponentName(String name)
- {
- componentName_ = name;
- }
-
- public String getComponentName()
- {
- return componentName_ ;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java
deleted file mode 100644
index c615cce7c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java
+++ /dev/null
@@ -1,637 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060426 135614 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.Hashtable;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.window.Window;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHelper;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ControlAdapter;
-import org.eclipse.swt.events.ControlEvent;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.graphics.Rectangle;
-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.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.TableColumn;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-/**
- * ConfigClientHandlersTreeWidget
- *
- */
-public class ConfigClientHandlersTableWidget extends SimpleWidgetDataContributor {
-
- private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
-
- private Composite parent_;
- private String outputLocation_;
- private Composite webServiceRefComp_;
- private Combo webServiceRefCombo_;
- private Text webServiceDescText_ = null;
- private Table handlersTable_;
- private TableViewer tableViewer_;
- private Button addButton_;
- private Button removeButton_;
- private Button genSkeletonRadioButton_;
- private Composite sourceLocationComp_;
- private Combo sourceLocationCombo_;
-
- private HandlerServiceRefHolder[] handlerServiceRefHolder_;
- private HandlerServiceRefHolder currentHSRH_;
- private Hashtable pathsTable_ = new Hashtable();
- private boolean isMultipleSelection_ = false;
- private boolean isGenSkeletonEnabled_;
- private String serviceRefName_;
- private int DEFAULT_COLUMN_WIDTH = 150;
-
- // ----TOOLTIPS Section----
- /* CONTEXT_ID HDLR0001 for the Handler Config Page */
- private final String INFOPOP_HDLR_WS_HANDLERS = "HDLR0001"; //$NON-NLS-1$
-
- /* CONTEXT_ID HDLR0002 for the Handler Config Page */
- private final String INFOPOP_HDLR_GEN_SKELETON = "HDLR0002"; //$NON-NLS-1$
-
- /* CONTEXT_ID HDLR0003 for the Handler Config Page */
- private final String INFOPOP_COMBO_SOURCE_LOC = "HDLR0003"; //$NON-NLS-1$
-
- /* CONTEXT_ID HDLR0004 for the Handler Config Page */
- private final String INFOPOP_WS_CLIENT_REF = "HDLR0004"; //$NON-NLS-1$
-
- // ------------------------
-
- public ConfigClientHandlersTableWidget() {
- super();
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener) {
-
- UIUtils uiUtils = new UIUtils(pluginId_);
-
- parent_ = parent;
-
- // Web service reference combo
- webServiceRefComp_ = uiUtils.createComposite(parent_, 2);
-
- Composite displayComp = new Composite(parent_, SWT.NONE);
- GridLayout gridlayout = new GridLayout(2, false);
- displayComp.setLayout(gridlayout);
- displayComp.setLayoutData(uiUtils.createFillAll());
-
- final Composite handlersComp = uiUtils.createComposite(displayComp, 1);
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL |GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING
- | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL | GridData.FILL_VERTICAL);
- handlersComp.setLayoutData(griddata);
- handlersComp.setSize(130, 600);
-
- Composite buttonsComp = uiUtils.createComposite(displayComp, 1);
- griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING);
- buttonsComp.setLayoutData(griddata);
-
- Text handlersText = new Text(handlersComp, SWT.READ_ONLY);
- handlersText.setText(ConsumptionUIMessages.LABEL_HANDLERS_CONFIG);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- handlersText.setLayoutData(gd);
-
- handlersTable_ = uiUtils.createTable(handlersComp, ConsumptionUIMessages.TOOLTIP_EDIT_WS_HANDLERS, INFOPOP_HDLR_WS_HANDLERS, SWT.MULTI | SWT.FULL_SELECTION | SWT.BORDER);
- handlersTable_.setHeaderVisible(true);
- handlersTable_.setLinesVisible(true);
-
- // empty space
- Label wsLabel = new Label(buttonsComp, SWT.NONE);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- wsLabel.setLayoutData(gd);
-
- Button moveUpButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_UP, null, null);
- GridData muGriddata = new GridData();
- Point musize = moveUpButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- moveUpButton.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleMoveUpButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
-
- Button moveDownButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_DOWN, null, null);
- GridData mdGriddata = new GridData();
- Point mdsize = moveDownButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- moveDownButton.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleMoveDownButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
-
- // empty space
- wsLabel = new Label(buttonsComp, SWT.NONE);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- wsLabel.setLayoutData(gd);
-
- addButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_ADD, null, null);
- GridData addGriddata = new GridData();
- Point addSize = addButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- addButton_.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleAddButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
-
- removeButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_REMOVE, null, null);
- GridData remGriddata = new GridData();
- Point remSize = removeButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- removeButton_.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleRemoveButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
- enableRemove(false);
-
- // set the width to the max of the button labels
- int widthHint = 0;
- int[] sizes = new int[]{musize.x, mdsize.x, addSize.x, remSize.x, 100};
- for(int j = 0; j < sizes.length; j++) {
- if (sizes[j] > widthHint)
- widthHint = sizes[j];
- }
- muGriddata.widthHint = widthHint;
- mdGriddata.widthHint = widthHint;
- addGriddata.widthHint = widthHint;
- remGriddata.widthHint = widthHint;
-
- moveUpButton.setLayoutData(muGriddata);
- moveDownButton.setLayoutData(mdGriddata);
- addButton_.setLayoutData(addGriddata);
- removeButton_.setLayoutData(remGriddata);
-
- // table stuff
- String[] columns_ = new String[] { ConsumptionUIMessages.LABEL_HANDLER_NAME, ConsumptionUIMessages.LABLE_HANDLER_CLASS};
-
- final TableColumn[] tableCols = new TableColumn[columns_.length];
- for (int i = 0; i < columns_.length; i++) {
- TableColumn tableColumn = new TableColumn(handlersTable_, i);
- tableColumn.setText(columns_[i]);
- tableColumn.setAlignment(SWT.LEFT);
- tableColumn.setWidth(DEFAULT_COLUMN_WIDTH);
- tableColumn.setResizable(true);
- tableCols[i] = tableColumn;
- }
-
- handlersComp.addControlListener(new ControlAdapter() {
- public void controlResized(ControlEvent e) {
- Rectangle area = handlersComp.getClientArea();
- Point preferredSize = handlersTable_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- int width = area.width - 2*handlersTable_.getBorderWidth()-10;
- if (preferredSize.y > area.height + handlersTable_.getHeaderHeight()) {
- // Subtract the scrollbar width from the total column width
- // if a vertical scrollbar will be required
- Point vBarSize = handlersTable_.getVerticalBar().getSize();
- width -= vBarSize.x;
- }
- Point oldSize = handlersTable_.getSize();
- if (oldSize.x > area.width) {
- // table is getting smaller so make the columns
- // smaller first and then resize the table to
- // match the client area width
- tableCols[0].setWidth(width/2);
- tableCols[1].setWidth(width - tableCols[0].getWidth());
- handlersTable_.setSize(area.width, area.height);
- } else {
- // table is getting bigger so make the table
- // bigger first and then make the columns wider
- // to match the client area width
- handlersTable_.setSize(area.width, area.height);
- tableCols[0].setWidth(width/2);
- tableCols[1].setWidth(width - tableCols[0].getWidth());
- }
- }
- });
-
- tableViewer_ = new TableViewer(handlersTable_);
- Control control = tableViewer_.getControl();
-
- GridData data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- data.verticalAlignment = GridData.FILL;
- data.grabExcessVerticalSpace = true;
- control.setLayoutData(data);
-
- tableViewer_.setColumnProperties(columns_);
- tableViewer_.setContentProvider(new ListContentProvider());
- tableViewer_.setLabelProvider(new ListLabelProvider());
- tableViewer_.addSelectionChangedListener(new ISelectionChangedListener() {
-
- public void selectionChanged(SelectionChangedEvent event) {
- enableRemove(true);
- }
- });
-
- // gen skeleton check box
- genSkeletonRadioButton_ = uiUtils.createCheckbox(parent_, ConsumptionUIMessages.LABEL_BUTTON_GEN_SKELETON, ConsumptionUIMessages.TOOLTIP_BUTTON_GEN_SKELETON, INFOPOP_HDLR_GEN_SKELETON);
- genSkeletonRadioButton_.addSelectionListener(new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent evt) {
- handleGenSkeletonRadioButton();
- }
- });
-
- // source location combo
- sourceLocationComp_ = uiUtils.createComposite(parent_, 2);
- sourceLocationCombo_ = uiUtils.createCombo(sourceLocationComp_, ConsumptionUIMessages.LABEL_COMBO_SOURCE_LOC, ConsumptionUIMessages.TOOLTIP_COMBO_SOURCE_LOC, INFOPOP_COMBO_SOURCE_LOC,
- SWT.READ_ONLY);
- sourceLocationCombo_.addSelectionListener(new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent evt) {
- handleSourceLocationCombo(evt);
- }
- });
-
- return this;
- }
-
- // Called at start
- private void populateHandlersTable() {
- try {
- UIUtils uiUtils = new UIUtils(pluginId_);
-
- // process for multiple service selection
- if (isMultipleSelection_) {
- webServiceDescText_ = uiUtils.createText(webServiceRefComp_, ConsumptionUIMessages.LABEL_COMBO_WS_CLIENT_REF,
- ConsumptionUIMessages.TOOLTIP_WS_CLIENT_REF, INFOPOP_WS_CLIENT_REF, SWT.READ_ONLY);
- if (handlerServiceRefHolder_!=null){
- currentHSRH_ = handlerServiceRefHolder_[0];
- String text = NLS.bind(ConsumptionUIMessages.MSG_TEXT_NUM_OF_CLIENTS, Integer.toString(handlerServiceRefHolder_.length));
- webServiceDescText_.setText(text);
- }
-
- genSkeletonRadioButton_.setSelection(false);
- genSkeletonRadioButton_.setEnabled(false);
- genSkeletonRadioButton_.setVisible(false);
-
- sourceLocationComp_.setVisible(false);
- sourceLocationCombo_.setEnabled(false);
- sourceLocationCombo_.setVisible(false);
-
- refresh();
-
- }
- else {
-
- webServiceRefCombo_ = uiUtils.createCombo(webServiceRefComp_, ConsumptionUIMessages.LABEL_COMBO_WS_CLIENT_REF,
- ConsumptionUIMessages.TOOLTIP_WS_CLIENT_REF, INFOPOP_WS_CLIENT_REF, SWT.READ_ONLY);
- webServiceRefCombo_.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent evt) {
- handleWebServiceRefCombo(evt);
- }
- });
-
- String[] wsRefNames = HandlerServiceRefHelper.getAllServiceRefNames(handlerServiceRefHolder_);
- webServiceRefCombo_.setItems(wsRefNames);
-
- if (handlerServiceRefHolder_.length < 1) {
- webServiceRefCombo_.select(0);
- webServiceRefCombo_.setEnabled(false);
- }
- else {
- if (serviceRefName_ != null) {
- int index = webServiceRefCombo_.indexOf(serviceRefName_);
- if (index != -1) webServiceRefCombo_.select(index);
- }
- else
- webServiceRefCombo_.select(0);
- }
-
- // set handler table
- HandlerServiceRefHolder hsrh = HandlerServiceRefHelper.getForServiceRefName(handlerServiceRefHolder_, webServiceRefCombo_.getText());
- if (hsrh != null) {
- currentHSRH_ = hsrh;
- List handlers = hsrh.getHandlerList();
- tableViewer_.setInput(handlers);
- tableViewer_.refresh();
- }
-
- // set output folder
- setSourceOutputLocation();
- }
- parent_.getShell().setSize(530, 650);
- }
- catch (Exception e) {
- e.printStackTrace();
- }
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#getStatus()
- */
- public IStatus getStatus() {
- IStatus finalStatus = Status.OK_STATUS;
- if (isMultipleSelection_)
- return StatusUtils.infoStatus(ConsumptionUIMessages.PAGE_DESC_MULTIPLE_CLIENTS_CONFIG);
- return finalStatus;
- }
-
- protected void handleAddButtonSelected(SelectionEvent event) {
-
- AddHandlerDialog dialog = new AddHandlerDialog(parent_.getShell(), true);
- dialog.create();
- dialog.getShell().setSize( 500, 200 );
-
- int result = dialog.open();
-
- if (result == Window.OK) {
- String name = dialog.getName();
- String className = dialog.getClassName();
-
- HandlerTableItem hi = new HandlerTableItem();
- hi.setHandlerName(name);
- hi.setHandlerClassName(className);
-
- ServiceRef serviceRef = currentHSRH_.getServiceRef();
- hi.setWsDescRef(serviceRef);
- currentHSRH_.getHandlerList().add(hi);
- }
-
- refresh();
- }
-
- protected void handleRemoveButtonSelected(SelectionEvent event) {
- handleDeleteKeyPressed();
- }
-
- protected void handleMoveUpButtonSelected(SelectionEvent event) {
-
- int index = tableViewer_.getTable().getSelectionIndex();
- if (index != -1) {
- if (index > 0) {
- if (currentHSRH_!=null) {
- List handlers = currentHSRH_.getHandlerList();
- Object object = handlers.remove(index);
- handlers.add( index - 1, object);
- tableViewer_.refresh();
- }
- }
- }
-
- }
-
- protected void handleMoveDownButtonSelected(SelectionEvent event) {
-
- int index = tableViewer_.getTable().getSelectionIndex();
- if (index != -1) {
- if (currentHSRH_!=null){
- List handlers = currentHSRH_.getHandlerList();
- if (index < handlers.size() - 1) {
- Object object = handlers.remove(index);
- handlers.add(index + 1, object);
- tableViewer_.refresh();
- }
- }
- }
-
- }
-
- protected void handleSourceLocationCombo(SelectionEvent event) {
- outputLocation_ = sourceLocationCombo_.getText();
- IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
- currentHSRH_.setSourceOutputPath(outputPath);
- }
-
- protected void handleGenSkeletonRadioButton() {
- if (genSkeletonRadioButton_.isEnabled()) {
- if (genSkeletonRadioButton_.getSelection()) {
- this.isGenSkeletonEnabled_ = true;
- sourceLocationCombo_.setEnabled(true);
- }
- else {
- this.isGenSkeletonEnabled_ = false;
- sourceLocationCombo_.setEnabled(false);
- }
- }
- }
-
- protected void handleWebServiceRefCombo(SelectionEvent event) {
-
- if (webServiceRefCombo_!=null && webServiceRefCombo_.isEnabled()) {
- HandlerServiceRefHolder hsrh = HandlerServiceRefHelper.getForServiceRefName(handlerServiceRefHolder_, webServiceRefCombo_.getText());
- currentHSRH_ = hsrh;
- refresh();
- }
-
- if (isGenSkeletonEnabled_){
- setSourceOutputLocation();
- }
-
- }
-
- /**
- * @return Returns the isGenSkeletonEnabled_.
- */
- public boolean isGenSkeletonEnabled_() {
- return isGenSkeletonEnabled_;
- }
-
- protected class ListLabelProvider extends LabelProvider implements ITableLabelProvider {
-
- public Image getColumnImage(Object element, int columnIndex) {
- return null;
- }
-
- public String getColumnText(Object object, int columnIndex) {
-
- if (object instanceof HandlerTableItem) {
- HandlerTableItem hti = (HandlerTableItem) object;
- if (columnIndex == 0) {
-
- return hti.getHandlerName() != null ? hti.getHandlerName() : "";
- }
- else if (columnIndex == 1) { return hti.getHandlerClassName() != null ? hti.getHandlerClassName() : ""; }
- }
- return null;
- }
-
- }
-
- private void enableRemove(boolean enabled) {
- removeButton_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
- }
-
- protected class ListContentProvider implements IStructuredContentProvider {
-
- public Object[] getElements(Object element) {
- if (element instanceof Vector) { return ((Vector) element).toArray(); }
- return null;
- }
-
- public void dispose() {
- }
-
- public void inputChanged(Viewer viewer, Object old, Object newobj) {
- }
-
- public boolean isDeleted(Object object) {
- return false;
- }
- }
-
- protected void handleDeleteKeyPressed() {
- ISelection selection = tableViewer_.getSelection();
- if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection)) {
- int selectionIndex = handlersTable_.getSelectionIndex();
- if (currentHSRH_!=null){
- currentHSRH_.getHandlerList().remove(selectionIndex);
- }
- refresh();
- }
- }
-
- public void refresh() {
-
- try {
- tableViewer_.setInput(null);
- if (currentHSRH_!=null){
- List handlers = currentHSRH_.getHandlerList();
- tableViewer_.setInput(handlers);
- tableViewer_.refresh();
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
-
- }
-
- public void setGenSkeletonEnabled(boolean isGenSkeletonEnabled) {
- this.isGenSkeletonEnabled_ = isGenSkeletonEnabled;
- genSkeletonRadioButton_.setSelection(isGenSkeletonEnabled);
-
- }
-
- public boolean getGenSkeletonEnabled() {
- return this.isGenSkeletonEnabled_;
- }
-
- private void setSourceOutputLocation(){
- if (currentHSRH_!=null){
- IProject project = currentHSRH_.getProject();
- if (project!=null){
- IPath[]locations = ResourceUtils.getAllJavaSourceLocations(project);
- String[] paths = new String[locations.length];
- for (int i = 0; i < locations.length; i++) {
- paths[i] = locations[i].toString();
- pathsTable_.put(paths[i], locations[i]);
- }
- sourceLocationCombo_.setItems(paths);
- sourceLocationCombo_.select(0);
- }
-
- // set in model
- outputLocation_ = sourceLocationCombo_.getText();
- IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
- currentHSRH_.setSourceOutputPath(outputPath);
- }
- }
-
- /**
- * Called at the beginning
- */
- public void internalize(){
- populateHandlersTable();
- }
-
- /**
- * Initial selection
- * @param wsRefName
- */
- public void setServiceRefName(String wsRefName) {
- serviceRefName_ = wsRefName;
- }
-
- /**
- * true if multiple clients are selected
- * @param isMulitpleSelection
- */
- public void setIsMultipleSelection(boolean isMulitpleSelection) {
- this.isMultipleSelection_ = isMulitpleSelection;
- }
-
- /**
- * An array of HandlerDescriptionHolders
- * @return
- */
- public void setHandlerServiceRefHolder(HandlerServiceRefHolder[] handlerHolders){
- this.handlerServiceRefHolder_ = handlerHolders;
- }
-
- public HandlerServiceRefHolder[] getHandlerServiceRefHolder(){
- return this.handlerServiceRefHolder_;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java
deleted file mode 100644
index 37b15ead0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java
+++ /dev/null
@@ -1,685 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060426 135614 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060529 143518 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.Hashtable;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.window.Window;
-import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHelper;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ControlAdapter;
-import org.eclipse.swt.events.ControlEvent;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.graphics.Rectangle;
-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.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.TableColumn;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-/**
- * ConfigServiceHandlersTreeWidget
- *
- */
-public class ConfigServiceHandlersTableWidget extends SimpleWidgetDataContributor {
-
- private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
-
- private Composite parent_;
- private Table handlersTable_;
- private TableViewer tableViewer_;
- private Composite webServiceDescComp_;
- private Combo webServiceDescCombo_ = null;
- private Text webServiceDescText_ = null;
- private Button addButton_;
- private Button removeButton_;
- private Button genSkeletonRadioButton_;
- private Composite sourceLocationComp_;
- private Combo sourceLocationCombo_;
-
- private HandlerDescriptionHolder[] handlerDescriptionHolder_;
- private HandlerDescriptionHolder currentHDH_;
- private Hashtable pathsTable_ = new Hashtable(); // available paths for combo
- private String outputLocation_; // selected path from combo
- private String descriptionName_ = null;
- private boolean isMultipleSelection_ = false;
- private boolean isGenSkeletonEnabled_;
-
- private int DEFAULT_COLUMN_WIDTH = 100;
-
- // ----TOOLTIPS Section----
- /* CONTEXT_ID SHLD0001 for the Handler Config Page */
- private final String INFOPOP_HDLR_WS_HANDLERS = "SHDL0001"; //$NON-NLS-1$
-
- /* CONTEXT_ID SHDL0002 for the Handler Config Page */
- private final String INFOPOP_HDLR_GEN_SKELETON = "SHDL0002"; //$NON-NLS-1$
-
- /* CONTEXT_ID SHDL0003 for the Handler Config Page */
- private final String INFOPOP_COMBO_SOURCE_LOC = "SHDL0003"; //$NON-NLS-1$
-
- /* CONTEXT_ID SHDL0004 for the Handler Config Page */
- private final String INFOPOP_WS_SERVICE_DESC = "SHDL0004"; //$NON-NLS-1$
-
- // ------------------------
-
- public ConfigServiceHandlersTableWidget() {
- super();
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener) {
- UIUtils uiUtils = new UIUtils(pluginId_);
-
- parent_ = parent;
-
- // Web service description composite (combo/text to be created later)
- webServiceDescComp_ = uiUtils.createComposite(parent_, 2);
-
- Composite displayComp = new Composite(parent_, SWT.NONE);
-
- GridLayout gridlayout = new GridLayout(2, false);
- displayComp.setLayout(gridlayout);
- displayComp.setLayoutData(uiUtils.createFillAll());
-
- final Composite handlersComp = uiUtils.createComposite(displayComp, 1);
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING
- | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL | GridData.FILL_VERTICAL);
- handlersComp.setLayoutData(griddata);
- handlersComp.setSize(130, 600);
-
- Composite buttonsComp = uiUtils.createComposite(displayComp, 1);
- griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING);
- buttonsComp.setLayoutData(griddata);
-
- Text handlersText = new Text(handlersComp, SWT.READ_ONLY);
- handlersText.setText(ConsumptionUIMessages.LABEL_HANDLERS_CONFIG);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- handlersText.setLayoutData(gd);
-
- handlersTable_ = uiUtils.createTable(handlersComp, ConsumptionUIMessages.TOOLTIP_EDIT_WS_HANDLERS, INFOPOP_HDLR_WS_HANDLERS, SWT.MULTI
- | SWT.FULL_SELECTION | SWT.BORDER);
- handlersTable_.setHeaderVisible(true);
- handlersTable_.setLinesVisible(true);
-
- // empty space
- Label wsLabel = new Label(buttonsComp, SWT.NONE);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- wsLabel.setLayoutData(gd);
-
- Button moveUpButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_UP, null, null);
- GridData muGriddata = new GridData();
- Point musize = moveUpButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- moveUpButton.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleMoveUpButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
-
- Button moveDownButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_DOWN, null, null);
- GridData mdGriddata = new GridData();
- Point mdsize = moveDownButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- moveDownButton.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleMoveDownButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
-
- // empty space
- wsLabel = new Label(buttonsComp, SWT.NONE);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- wsLabel.setLayoutData(gd);
-
- addButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_ADD, null, null);
- GridData addGriddata = new GridData();
- Point addSize = addButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- addButton_.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleAddButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
-
- removeButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_REMOVE, null, null);
- GridData remGriddata = new GridData();
- Point remSize = removeButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- removeButton_.addSelectionListener(new SelectionListener() {
-
- public void widgetSelected(SelectionEvent event) {
- handleRemoveButtonSelected(event);
- }
-
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
- enableRemove(false);
-
- int widthHint = 0;
- int[] sizes = new int[]{musize.x, mdsize.x, addSize.x, remSize.x, 100};
- for(int j = 0; j < sizes.length; j++) {
- if (sizes[j] > widthHint)
- widthHint = sizes[j];
- }
- muGriddata.widthHint = widthHint;
- mdGriddata.widthHint = widthHint;
- addGriddata.widthHint = widthHint;
- remGriddata.widthHint = widthHint;
-
- moveUpButton.setLayoutData(muGriddata);
- moveDownButton.setLayoutData(mdGriddata);
- addButton_.setLayoutData(addGriddata);
- removeButton_.setLayoutData(remGriddata);
-
- // table stuff here
- String[] columns_ = new String[] { ConsumptionUIMessages.LABEL_HANDLER_NAME, ConsumptionUIMessages.LABLE_HANDLER_CLASS,
- ConsumptionUIMessages.LABEL_HANDLER_PORT};
-
- final TableColumn[] tableCols = new TableColumn[columns_.length];
- for (int i = 0; i < columns_.length; i++) {
- TableColumn tableColumn = new TableColumn(handlersTable_, SWT.LEFT);
- tableColumn.setText(columns_[i]);
- tableColumn.setAlignment(SWT.LEFT);
- tableColumn.setWidth(DEFAULT_COLUMN_WIDTH);
- tableColumn.setResizable(true);
- tableCols[i] = tableColumn;
- }
- handlersComp.addControlListener(new ControlAdapter() {
-
- public void controlResized(ControlEvent e) {
- Rectangle area = handlersComp.getClientArea();
- Point preferredSize = handlersTable_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- int width = area.width - 2 * handlersTable_.getBorderWidth() - 10;
- if (preferredSize.y > area.height + handlersTable_.getHeaderHeight()) {
- // Subtract the scrollbar width from the total column width
- // if a vertical scrollbar will be required
- Point vBarSize = handlersTable_.getVerticalBar().getSize();
- width -= vBarSize.x;
- }
- Point oldSize = handlersTable_.getSize();
- if (oldSize.x > area.width) {
- // table is getting smaller so make the columns
- // smaller first and then resize the table to
- // match the client area width
- tableCols[0].setWidth(width / 3);
- tableCols[1].setWidth(width / 3);
- tableCols[2].setWidth(width - (tableCols[0].getWidth() + tableCols[1].getWidth()));
- handlersTable_.setSize(area.width, area.height);
- }
- else {
- // table is getting bigger so make the table
- // bigger first and then make the columns wider
- // to match the client area width
- handlersTable_.setSize(area.width, area.height);
- tableCols[0].setWidth(width / 3);
- tableCols[1].setWidth(width / 3);
- tableCols[2].setWidth(width - (tableCols[0].getWidth() + tableCols[1].getWidth()));
- }
- }
- });
-
- tableViewer_ = new TableViewer(handlersTable_);
- Control control = tableViewer_.getControl();
-
- GridData data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- data.verticalAlignment = GridData.FILL;
- data.grabExcessVerticalSpace = true;
- control.setLayoutData(data);
-
- tableViewer_.setColumnProperties(columns_);
- tableViewer_.setContentProvider(new ListContentProvider());
- tableViewer_.setLabelProvider(new ListLabelProvider());
- tableViewer_.addSelectionChangedListener(new ISelectionChangedListener() {
-
- public void selectionChanged(SelectionChangedEvent event) {
- enableRemove(true);
- }
- });
-
- genSkeletonRadioButton_ = uiUtils.createCheckbox(parent_, ConsumptionUIMessages.LABEL_BUTTON_GEN_SKELETON,
- ConsumptionUIMessages.TOOLTIP_BUTTON_GEN_SKELETON, INFOPOP_HDLR_GEN_SKELETON);
- griddata = new GridData(GridData.VERTICAL_ALIGN_BEGINNING | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
- genSkeletonRadioButton_.setLayoutData(griddata);
- genSkeletonRadioButton_.addSelectionListener(new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent evt) {
- handleGenSkeletonRadioButton();
- }
- });
-
- sourceLocationComp_ = uiUtils.createComposite(parent_, 2);
- sourceLocationCombo_ = uiUtils.createCombo(sourceLocationComp_, ConsumptionUIMessages.LABEL_COMBO_SOURCE_LOC,
- ConsumptionUIMessages.TOOLTIP_COMBO_SOURCE_LOC, INFOPOP_COMBO_SOURCE_LOC, SWT.READ_ONLY);
- sourceLocationCombo_.addSelectionListener(new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent evt) {
- handleSourceLocationCombo(evt);
- }
- });
-
- return this;
- }
-
- // Called at start and only for single service selection
- private void populateHandlersTable() {
- try {
- UIUtils uiUtils = new UIUtils(pluginId_);
-
- // process for multiple service selection
- if (isMultipleSelection_) {
- parent_.getShell().setText(ConsumptionUIMessages.PAGE_DESC_MULTIPLE_SERVICES_CONFIG);
-
- webServiceDescText_ = uiUtils.createText(webServiceDescComp_, ConsumptionUIMessages.LABEL_COMBO_WS_SERVICE_DESC,
- ConsumptionUIMessages.TOOLTIP_WS_SERVICE_DESC, INFOPOP_WS_SERVICE_DESC, SWT.READ_ONLY);
- if (handlerDescriptionHolder_!=null){
- currentHDH_ = handlerDescriptionHolder_[0];
- String text = NLS.bind(ConsumptionUIMessages.MSG_TEXT_NUM_OF_SERVICES, Integer.toString(handlerDescriptionHolder_.length));
- webServiceDescText_.setText(text);
- }
-
- genSkeletonRadioButton_.setSelection(false);
- genSkeletonRadioButton_.setEnabled(false);
- genSkeletonRadioButton_.setVisible(false);
-
- sourceLocationComp_.setVisible(false);
- sourceLocationCombo_.setEnabled(false);
- sourceLocationCombo_.setVisible(false);
-
- refresh();
-
- }
- else {
- // populate the table for a single service selection
-
- webServiceDescCombo_ = uiUtils.createCombo(webServiceDescComp_, ConsumptionUIMessages.LABEL_COMBO_WS_SERVICE_DESC,
- ConsumptionUIMessages.TOOLTIP_WS_SERVICE_DESC, INFOPOP_WS_SERVICE_DESC, SWT.READ_ONLY);
- webServiceDescCombo_.addSelectionListener(new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent evt) {
- handleWebServiceDescCombo(evt);
- }
- });
-
- String[] wsDescNames = HandlerDescriptionHelper.getAllDescriptionNames(handlerDescriptionHolder_);
- webServiceDescCombo_.setItems(wsDescNames);
-
- if (handlerDescriptionHolder_.length < 1) {
- webServiceDescCombo_.select(0);
- webServiceDescCombo_.setEnabled(false);
- }
- else {
- if (descriptionName_ != null) {
- int index = webServiceDescCombo_.indexOf(descriptionName_);
- if (index != -1) webServiceDescCombo_.select(index);
- }
- else
- webServiceDescCombo_.select(0);
- }
-
- // set Descriptions
- HandlerDescriptionHolder hdh = HandlerDescriptionHelper.getForDescriptionName(handlerDescriptionHolder_, webServiceDescCombo_.getText());
- if (hdh!=null){
- currentHDH_ = hdh;
- List handlers = hdh.getHandlerList();
- tableViewer_.setInput(handlers);
- tableViewer_.refresh();
- }
- // set output folder
- setSourceOutputLocation();
- }
- parent_.getShell().setSize(530, 650);
- }
- catch (Exception e) {
- e.printStackTrace();
- }
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#getStatus()
- */
- public IStatus getStatus() {
- IStatus finalStatus = Status.OK_STATUS;
- if (isMultipleSelection_)
- return StatusUtils.infoStatus(ConsumptionUIMessages.PAGE_DESC_MULTIPLE_SERVICES_CONFIG);
- return finalStatus;
- }
-
- protected void handleAddButtonSelected(SelectionEvent event) {
- AddHandlerDialog dialog = new AddHandlerDialog(parent_.getShell(), false);
- dialog.setIsMultipleServices(isMultipleSelection_);
- dialog.create();
-
- WebServiceDescription serviceDesc = null;
- if (!isMultipleSelection_ ){
- if (currentHDH_!=null) {
- serviceDesc = currentHDH_.getDescriptionObject();
- String[] portNames = getPortComponentNames(serviceDesc);
- dialog.setPortNames(portNames);
- }
- }
-
- dialog.getShell().setSize(500, 230);
-
- int result = dialog.open();
-
- if (result == Window.OK) {
- String name = dialog.getName();
- String className = dialog.getClassName();
- String port = dialog.getPortName();
- if (port == null)
- port = "*";
-
- HandlerTableItem hi = new HandlerTableItem();
- hi.setHandlerName(name);
- hi.setHandlerClassName(className);
- hi.setPortName(port);
-
- if (serviceDesc!=null){
- hi.setWsDescRef(serviceDesc);
- }
-
- if (currentHDH_!=null){
- List handlers = currentHDH_.getHandlerList();
- handlers.add(hi);
- }
-
- }
-
- refresh();
- }
-
- private String[] getPortComponentNames(WebServiceDescription webServiceDesc) {
-
- List ports = webServiceDesc.getPortComponents();
- if (ports != null) {
- String[] portNames = new String[ports.size()];
- for (int i = 0; i < ports.size(); i++) {
- PortComponent pc = (PortComponent) ports.get(i);
- String pcName = pc.getPortComponentName();
- portNames[i] = pcName;
- }
- return portNames;
- }
- return new String[0];
- }
-
- protected void handleRemoveButtonSelected(SelectionEvent event) {
- handleDeleteKeyPressed();
- }
-
- protected void handleMoveUpButtonSelected(SelectionEvent event) {
-
- int index = tableViewer_.getTable().getSelectionIndex();
- if (index != -1) {
- if (index > 0) {
- if (currentHDH_!=null){
- List handlers = currentHDH_.getHandlerList();
- Object object = handlers.remove(index);
- handlers.add(index - 1, object);
- }
- tableViewer_.refresh();
- }
- }
-
- }
-
- protected void handleMoveDownButtonSelected(SelectionEvent event) {
-
- int index = tableViewer_.getTable().getSelectionIndex();
- if (index != -1) {
- if (currentHDH_!=null){
- List handlers = currentHDH_.getHandlerList();
- if (index < handlers.size() - 1) {
- Object object = handlers.remove(index);
- handlers.add(index+1, object);
- }
- tableViewer_.refresh();
- }
- }
-
- }
-
- protected void handleSourceLocationCombo(SelectionEvent event) {
- outputLocation_ = sourceLocationCombo_.getText();
- IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
- currentHDH_.setSourceOutputPath(outputPath);
- }
-
- protected void handleGenSkeletonRadioButton() {
- if (genSkeletonRadioButton_.isEnabled()) {
- if (genSkeletonRadioButton_.getSelection()) {
- this.isGenSkeletonEnabled_ = true;
- sourceLocationCombo_.setEnabled(true);
- }
- else {
- this.isGenSkeletonEnabled_ = false;
- sourceLocationCombo_.setEnabled(false);
- }
- }
- }
-
- protected void handleWebServiceDescCombo(SelectionEvent event) {
-
- if (webServiceDescCombo_!=null && webServiceDescCombo_.isEnabled()) {
- HandlerDescriptionHolder hdh = HandlerDescriptionHelper.getForDescriptionName(handlerDescriptionHolder_, webServiceDescCombo_.getText());
- currentHDH_ = hdh;
- refresh();
- }
-
- if (isGenSkeletonEnabled_){
- setSourceOutputLocation();
- }
-
- }
-
- /**
- * @return Returns the isGenSkeletonEnabled_.
- */
- public boolean isGenSkeletonEnabled_() {
- return isGenSkeletonEnabled_;
- }
-
- protected class ListLabelProvider extends LabelProvider implements ITableLabelProvider {
-
- public Image getColumnImage(Object element, int columnIndex) {
- return null;
- }
-
- public String getColumnText(Object object, int columnIndex) {
-
- if (object instanceof HandlerTableItem) {
- HandlerTableItem hti = (HandlerTableItem) object;
- if (columnIndex == 0) {
- return hti.getHandlerName() != null ? hti.getHandlerName() : "";
- }
- else if (columnIndex == 1) {
- return hti.getHandlerClassName() != null ? hti.getHandlerClassName() : "";
- }
- else {
- return hti.getPortName() != null ? hti.getPortName() : "";
- }
- }
- return null;
- }
-
- }
-
- private void enableRemove(boolean enabled) {
- removeButton_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
- }
-
- protected class ListContentProvider implements IStructuredContentProvider {
-
- public Object[] getElements(Object element) {
- if (element instanceof Vector) { return ((Vector) element).toArray(); }
- return null;
- }
-
- public void dispose() {
- }
-
- public void inputChanged(Viewer viewer, Object old, Object newobj) {
- }
-
- public boolean isDeleted(Object object) {
- return false;
- }
- }
-
- protected void handleDeleteKeyPressed() {
- // internalDispose();
- ISelection selection = tableViewer_.getSelection();
- if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection)) {
- int selectionIndex = handlersTable_.getSelectionIndex();
- if (currentHDH_!=null){
- currentHDH_.getHandlerList().remove(selectionIndex);
- }
- refresh();
- }
- }
-
- public void refresh() {
- try {
- tableViewer_.setInput(null);
- if (currentHDH_!=null){
- List handlers = currentHDH_.getHandlerList();
- tableViewer_.setInput(handlers);
- tableViewer_.refresh();
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- public void setGenSkeletonEnabled(boolean isGenSkeletonEnabled) {
- this.isGenSkeletonEnabled_ = isGenSkeletonEnabled;
- genSkeletonRadioButton_.setSelection(isGenSkeletonEnabled);
-
- }
-
- public boolean getGenSkeletonEnabled() {
- return this.isGenSkeletonEnabled_;
- }
-
- private void setSourceOutputLocation(){
- IProject project = currentHDH_.getProject();
- if (project!=null){
- IPath[] locations = ResourceUtils.getAllJavaSourceLocations(project);
-
- String[] paths = new String[locations.length];
- for (int i = 0; i < locations.length; i++) {
- paths[i] = locations[i].toString();
- pathsTable_.put(paths[i], locations[i]);
- }
- sourceLocationCombo_.setItems(paths);
- sourceLocationCombo_.select(0);
- }
-
- // set in model
- outputLocation_ = sourceLocationCombo_.getText();
- IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
- currentHDH_.setSourceOutputPath(outputPath);
-
- }
-
- /**
- * An array of HandlerDescriptionHolders
- * @return
- */
- public void setHandlerDescriptionHolders(HandlerDescriptionHolder[] handlerHolders){
- this.handlerDescriptionHolder_ = handlerHolders;
- }
-
- public HandlerDescriptionHolder[] getHandlerDescriptionHolders(){
- return this.handlerDescriptionHolder_;
- }
-
- /**
- * For getting the handlers to apply for multiple services
- * @return
- */
- public List getHandlersList(){
- if (handlerDescriptionHolder_[0]!=null)
- return handlerDescriptionHolder_[0].getHandlerList();
- return null;
- }
-
- public void setDescriptionName(String wsDescName) {
- descriptionName_ = wsDescName;
- }
-
- public void setIsMultipleSelection(boolean isMulitpleSelection) {
- this.isMultipleSelection_ = isMulitpleSelection;
- }
-
- public void internalize(){
- populateHandlersTable();
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java
deleted file mode 100644
index f5b6e148c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-/**
- * HandlersDefaultingCommand
- *
- * Determine if Handlers belongs to service or client side
- */
-public class HandlersDefaultingCommand extends AbstractHandlersWidgetDefaultingCmd
-{
- private boolean isClientHandler_ = false;
- private boolean isServiceHandler_ = false;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- IStructuredSelection selection = getInitialSelection();
- if (selection != null && selection.size() == 1) {
- Object obj = selection.getFirstElement();
-
- if (obj instanceof WebServiceNavigatorGroupType) {
- WebServiceNavigatorGroupType wsngt = (WebServiceNavigatorGroupType) obj;
- if (wsngt.getWsdlService()!=null){
- isServiceHandler_ = true;
- }
-
- if (wsngt.getServiceRef()!=null){
- isClientHandler_ = true;
- }
-
- }
- }
- else {
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- return status;
-
- }
-
-
-/**
- * @return Returns the isClientHandler_.
- */
-public boolean getIsClientHandler() {
- return isClientHandler_;
-}
-/**
- * @return Returns the isServiceHandler_.
- */
-public boolean getIsServiceHandler() {
- return isServiceHandler_;
-}
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java
deleted file mode 100644
index c59ad6df6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.widgets.Shell;
-
-public interface IObjectSelectionLaunchable {
- /**
- * The framework will call this method to set the initial selection
- * value that the user has specified.
- *
- * @param initialSelection the initial selection the user specified.
- */
- public void setInitialSelection(IStructuredSelection initialSelection);
-
- /**
- * The intent of the Object Selection Widget is that the user has
- * the opportunity change/find the object that they want to turn into
- * a Web service.
- *
- * @return returns the an IStructuredSelection object that the user
- * want to turn into a Web service. This object may be different than
- * the initialSelection passed in by the setInitialSelection method.
- */
- public IStructuredSelection getObjectSelection();
-
- /**
- * Validates whether the objectSelection parameter is valid for
- * this Object selection widget. An error status should be returned
- * if this object is not value. Otherwise, and ok status should be
- * returned
- *
- * @param objectSelection the object to be validated.
- * @return the status of the validation.
- */
- public IStatus validateSelection(IStructuredSelection objectSelection);
-
- /**
- *
- * @return returns the IProject that contains the selection
- * object that the user has chosen with this widget. The value can be
- * null if there is no IProject for this object.
- */
- public IProject getProject();
-
- /**
- *
- * @return returns the name of the IVirtualComponent that contains the selection
- * object that the user has chosen with this widget. The value can be
- * null if there is no IVirtualComponent for this object
- */
- public String getComponentName();
-
- /**
- * Called to launch a dialog which allows the user to make an object selection.
- * This is an alternative to implementing IObjectSelectionWidget which can be used by the dialog framework.
- * The implementation of this method should call the necessary getters on the dialog to update the
- * object selection.
- *
- * @return the status of completing the dialog launch
- */
- public int launch(Shell shell);
-
- /**
- *
- * @return returns the string to displayed in the UI for the selected object
- */
- public String getObjectSelectionDisplayableString();
-
- /**
- *
- * @param s A string representation of the object selection
- * @return true if the string represents a valid object selection.
- * The implementation of this method should set the widget object selection
- * according to the input string so that a subsequent call to getObjectSelection
- * will retrieve the correct object.
- */
- public boolean validate(String s);
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java
deleted file mode 100644
index 5600bd90a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-/**
- * An interface that marks an UI element as having some custom packing code.
- */
-public interface IPackable {
-
- /**
- * Calling this method should cause the UI element to pack itself. Note that
- * this does not necessarily have the same behavior as the pack() method in SWT.
- */
- void packIt();
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java
deleted file mode 100644
index 7be3001ef..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java
+++ /dev/null
@@ -1,223 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.net.MalformedURLException;
-import java.util.ArrayList;
-import java.util.Iterator;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.wsil.Arguments;
-import org.eclipse.jst.ws.internal.consumption.ui.wsil.TableViewerEditor;
-import org.eclipse.jst.ws.internal.ui.common.DialogResourceBrowser;
-import org.eclipse.jst.ws.internal.ui.common.FileExtensionFilter;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.TableItem;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.wsil.AddWSDLToWSILCommand;
-import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-
-/**
-* Page for importing WSDL references into a WSIL in the workbench.
-*/
-public class ImportWSILWidget extends SimpleWidgetDataContributor
-{
- /*CONTEXT_ID WSIL0001 for the WSIL Import Page*/
- private final String INFOPOP_WSIL_IMPORT_PAGE = WebServiceConsumptionUIPlugin.ID + ".WSIL0001";
-
- /*CONTEXT_ID WSIL0002 for the WSIL text field*/
- private final String INFOPOP_WSIL_TEXT_WSIL = WebServiceConsumptionUIPlugin.ID + ".WSIL0002";
-
- /*CONTEXT_ID WSIL0003 for the WSIL browse button*/
- private final String INFOPOP_WSIL_BUTTON_BROWSE_WSIL = WebServiceConsumptionUIPlugin.ID + ".WSIL0003";
-
- /*CONTEXT_ID WSIL0004 for the WSDL table*/
- private final String INFOPOP_WSIL_TABLE_WSDL = WebServiceConsumptionUIPlugin.ID + ".WSIL0004";
-
- private final String INSPECTION_WSIL = "inspection.wsil";
-
- private Text wsil_;
- private Button browse_;
- private TableViewerEditor wsdls_;
-
- /**
- * Constructs a new page.
- */
- public ImportWSILWidget()
- {
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener)
- {
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
-
- parent.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_IMPORT_PAGE);
- helpSystem.setHelp(parent, INFOPOP_WSIL_IMPORT_PAGE);
-
- Composite composite = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout();
- gl.numColumns = 3;
- composite.setLayout(gl);
- GridData gd = new GridData(GridData.GRAB_VERTICAL | GridData.VERTICAL_ALIGN_BEGINNING | GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL);
- gd.grabExcessVerticalSpace = true;
- gd.grabExcessHorizontalSpace = true;
- composite.setLayoutData(gd);
-
- Label label = new Label(composite, SWT.WRAP);
- label.setText(ConsumptionUIMessages.LABEL_WSIL_URI);
- label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- wsil_ = new Text(composite, SWT.WRAP | SWT.SINGLE | SWT.BORDER);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- gd.widthHint = 256;
- wsil_.setLayoutData(gd);
- wsil_.addListener(SWT.Modify, statusListener);
- wsil_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_TEXT_WSIL);
- helpSystem.setHelp(wsil_, INFOPOP_WSIL_TEXT_WSIL);
-
- browse_ = new Button(composite, SWT.PUSH);
- browse_.setText(ConsumptionUIMessages.LABEL_BROWSE);
- browse_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- browse_.addListener(SWT.Selection,
- new Listener()
- {
- public void handleEvent(Event event)
- {
- handleBrowseEvent(event);
- }
- }
- );
- browse_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_BUTTON_BROWSE_WSIL);
- helpSystem.setHelp(browse_, INFOPOP_WSIL_BUTTON_BROWSE_WSIL);
-
- Composite wsdlComposite = new Composite(composite, SWT.NONE);
- wsdlComposite.setLayout(new GridLayout());
- gd = new GridData(GridData.FILL_BOTH);
- gd.horizontalSpan = 3;
- wsdlComposite.setLayoutData(gd);
- label = new Label(wsdlComposite, SWT.WRAP);
- label.setText(ConsumptionUIMessages.LABEL_WSDL);
- label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- String[] columns = {ConsumptionUIMessages.LABEL_WSDL_URI};
- wsdls_ = new TableViewerEditor(wsdlComposite, columns, new ArrayList(), "http://");
- wsdls_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_TABLE_WSDL);
- wsdls_.setInfopop(INFOPOP_WSIL_TABLE_WSDL);
- return this;
- }
-
- public void handleBrowseEvent(Event event)
- {
- DialogResourceBrowser dialog = new DialogResourceBrowser(browse_.getShell(), null, new FileExtensionFilter(new String[] {"wsil"}));
- dialog.open();
- IResource res = dialog.getFirstSelection();
- if (res != null)
- {
- if (res instanceof IFile)
- wsil_.setText(res.getFullPath().toString());
- else
- wsil_.setText(res.getFullPath().addTrailingSeparator().append(INSPECTION_WSIL).toString());
- }
- }
-
- public IStatus getStatus()
- {
- if (!wsil_.getText().endsWith(".wsil"))
- return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_INVALID_WSIL_FILE_NAME );
- else
- return Status.OK_STATUS;
- }
-
- public void setInitialSelection(IStructuredSelection selection)
- {
- ArrayList list = new ArrayList();
- if (selection != null && !selection.isEmpty())
- {
- for (Iterator it = selection.iterator(); it.hasNext();)
- {
- Object object = it.next();
- if ((object instanceof IFile) && ((IFile)object).getFileExtension() != null && ((IFile)object).getFileExtension().equals("wsdl"))
- list.add(((IFile)object).getFullPath().toString());
- if (object instanceof ServiceImpl)
- list.add(J2EEActionAdapterFactory.getWSILPath(((ServiceImpl)(object))));
- if (object instanceof ServiceRef)
- list.add(J2EEActionAdapterFactory.getWSILPath(((ServiceRef)(object))));
- if (object instanceof WSDLResourceImpl)
- list.add(J2EEActionAdapterFactory.getWSILPath(((WSDLResourceImpl)(object))));
- }
- }
- wsdls_.setInput(list);
- wsdls_.refresh();
- if (list.size() > 0)
- {
- StringBuffer path = new StringBuffer(list.get(0).toString());
- // change extension from .wsdl to .wsil
- int length = path.length();
- path = path.replace(length-4, length, "wsil");
- wsil_.setText(path.toString());
- }
- }
-
- public Arguments getGenWSILArguments()
- {
- Arguments args = new Arguments();
- String wsilPath = wsil_.getText();
- if (wsilPath.indexOf(':') < 0)
- args.add(AddWSDLToWSILCommand.ARG_WSIL, URI.createPlatformResourceURI(wsil_.getText()).toString());
- else
- args.add(AddWSDLToWSILCommand.ARG_WSIL, wsilPath);
- TableItem[] items = wsdls_.getItems();
- for (int i = 0; i < items.length; i++)
- {
- String uri = items[i].getText(0);
- if (uri.indexOf(':') < 0)
- {
- IResource res = ResourceUtils.findResource(uri);
- if (res != null)
- {
- try
- {
- uri = res.getLocation().toFile().toURL().toString();
- }
- catch (MalformedURLException murle)
- {
- murle.getMessage();
- }
- }
- }
- args.add(AddWSDLToWSILCommand.ARG_WSDL, uri);
- }
- args.add(AddWSDLToWSILCommand.ARG_RESOLVE_WSDL, null);
- return args;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java
deleted file mode 100644
index f0a4c924a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- * 20060719 149352 mahutch@ca.ibm.com - Mark Hutchinson
- * 20060826 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.webservice.wsdd.BeanLink;
-import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.PortComponentImpl;
-import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.ServiceImplBeanImpl;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public class JavaBeanSelectionLaunchable extends AbstractObjectSelectionLaunchable {
-
- private IProject serverProject_ = null;
- private String serverComponentName_ = null;
- private String beanClassString_="";
-
- public void setInitialSelection(IStructuredSelection initialSelection)
- {
- if (initialSelection != null && !initialSelection.isEmpty())
- {
- Object object = initialSelection.getFirstElement();
- if (object instanceof IFile)
- {
- IFile iFile = (IFile)object;
- String fileExt = iFile.getFileExtension().toLowerCase();
- if (fileExt.equals("java") || fileExt.equals("class"))
- setBeanClass(iFile);
- }
- else if (object instanceof ICompilationUnit)
- setBeanClass(((ICompilationUnit)object).getResource());
- else if (object instanceof ServiceImplBeanImpl)
- setBeanClass((ServiceImplBeanImpl)object);
- else if(object instanceof BeanLink)
- setBeanClass((BeanLink)object);
- else if (object instanceof String)
- beanClassString_ = (String) object; // use for displayable string
- }
- }
-
- public IStructuredSelection getObjectSelection()
- {
- return new StructuredSelection(beanClassString_);
- }
-
- public IProject getProject()
- {
- return serverProject_;
- }
-
- public String getComponentName()
- {
- return serverComponentName_;
- }
-
- public int launch(Shell shell) {
-
- IType itype = DialogUtils.browseClassesAsIType(shell, ResourcesPlugin.getWorkspace().getRoot().getProjects(), new ProgressMonitorDialog(shell));
- if (itype != null)
- {
- beanClassString_ = itype.getFullyQualifiedName();
- try
- {
- IResource res = itype.getUnderlyingResource();
- if (res != null)
- {
- serverProject_ = res.getProject();
- IVirtualComponent comp = ResourceUtils.getComponentOf(res);
- if (comp!=null)
- {
- serverComponentName_ = comp.getName();
- }
- }
- else
- {
- serverProject_ = null;
- serverComponentName_ = null;
- }
- return Status.OK;
- }
- catch (JavaModelException jme)
- {
- serverProject_ = null;
- serverComponentName_ = null;
- return Status.ERROR;
- }
- }
- return Status.CANCEL;
- }
-
- private void setBeanClass(IResource resource)
- {
- if( resource != null && resource instanceof IFile )
- {
- IPath path = resource.getFullPath();
- String basename = path.lastSegment();
-
- if( basename != null && basename.length() > 0 )
- {
- String beanPackage = org.eclipse.jst.ws.internal.common.ResourceUtils.getJavaResourcePackageName(path);
- String beanClass = (beanPackage == null || beanPackage.length() == 0 ? basename : (beanPackage + "." + basename));
-
- if( beanClass.toLowerCase().endsWith(".java") || beanClass.toLowerCase().endsWith(".class" ) )
- {
- beanClass = beanClass.substring( 0, beanClass.lastIndexOf('.') );
- }
-
- beanClassString_ = beanClass;
- serverProject_ = ResourceUtils.getProjectOf(path);
- IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
-
- if (comp!=null)
- {
- serverComponentName_ = comp.getName();
- }
-
- }
- }
- }
-
- private void setBeanClass(ServiceImplBeanImpl serviceImpl)
- {
- if( serviceImpl != null )
- {
- EObject eObject = serviceImpl.eContainer();
- if(eObject instanceof PortComponentImpl){
- PortComponentImpl pci = (PortComponentImpl)eObject;
- beanClassString_ = pci.getServiceEndpointInterface();
- }
- }
- }
-
- private void setBeanClass(BeanLink serviceImpl)
- {
- if( serviceImpl != null )
- {
- EObject eObject = serviceImpl.eContainer();
- if(eObject instanceof ServiceImplBeanImpl){
- setBeanClass((ServiceImplBeanImpl)eObject);
- }
- }
- }
-
- public IStatus getStatus()
- {
- if (beanClassString_.length() <= 0)
- {
- return StatusUtils.errorStatus(ConsumptionUIMessages.PAGE_MSG_BEAN_CANNOT_BE_EMPTY);
- }
- return Status.OK_STATUS;
- }
-
- public IStatus validateSelection(IStructuredSelection objectSelection)
- {
- return Status.OK_STATUS;
- }
-
- public String getObjectSelectionDisplayableString() {
- return beanClassString_;
- }
-
- public boolean validate(String s) {
- beanClassString_ = s;
- if (s.length() > 0)
- {
- return true;
- }
- return false;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java
deleted file mode 100644
index 27fc72bbe..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-
-public class PreferencesSelectionWidget extends SimpleWidgetDataContributor
-{
- private ResourceContext context_;
-
- /*CONTEXT_ID PWPR0003 for the Overwrite Files check box of the Project Page*/
- private String INFOPOP_PWPR_CHECKBOX_OVERWRITE_FILES = "PWPR0003";
- private Button overwriteFilesCheckbox_;
-
- /*CONTEXT_ID PWPR0004 for the Create Folders check box of the Project Page*/
- private String INFOPOP_PWPR_CHECKBOX_CREATE_FOLDERS = "PWPR0004";
- private Button createFoldersCheckbox_;
-
- /*CONTEXT_ID PWPR0015 for the Check Out Files check box of the Project Page*/
- private String INFOPOP_PWPR_CHECKBOX_CHECKOUT_FILES = "PWPR0015";
- private Button checkoutFilesCheckbox_;
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#addControls(org.eclipse.swt.widgets.Composite, org.eclipse.swt.widgets.Listener)
- */
- public WidgetDataEvents addControls( Composite parent, Listener statusListener)
- {
- String conPluginId = "org.eclipse.jst.ws.consumption.ui";
- UIUtils utils = new UIUtils( conPluginId );
-
- Composite resourcesGroup = utils.createComposite( parent, 1 );
-
- overwriteFilesCheckbox_ = utils.createCheckbox( resourcesGroup, WSUIPluginMessages.BUTTON_OVERWRITE_FILES,
- WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_OVERWRITE_FILES,
- INFOPOP_PWPR_CHECKBOX_OVERWRITE_FILES );
-
- createFoldersCheckbox_ = utils.createCheckbox( resourcesGroup, WSUIPluginMessages.BUTTON_CREATE_FOLDERS,
- WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_CREATE_FOLDERS ,
- INFOPOP_PWPR_CHECKBOX_CREATE_FOLDERS );
-
- checkoutFilesCheckbox_ = utils.createCheckbox( resourcesGroup, WSUIPluginMessages.BUTTON_CHECKOUT_FILES,
- WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_CHECK_OUT,
- INFOPOP_PWPR_CHECKBOX_CHECKOUT_FILES );
-
- return this;
- }
-
- public void setResourceContext( ResourceContext context )
- {
- overwriteFilesCheckbox_.setSelection( context.isOverwriteFilesEnabled() );
- createFoldersCheckbox_.setSelection( context.isCreateFoldersEnabled() );
- checkoutFilesCheckbox_.setSelection( context.isCheckoutFilesEnabled() );
-
- context_ = context;
- }
-
- public ResourceContext getResourceContext()
- {
- context_.setOverwriteFilesEnabled( overwriteFilesCheckbox_.getSelection() );
- context_.setCreateFoldersEnabled( createFoldersCheckbox_.getSelection() );
- context_.setCheckoutFilesEnabled( checkoutFilesCheckbox_.getSelection() );
-
- return context_;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java
deleted file mode 100644
index 94916f315..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060802 148731 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ProjectSelectionWidget;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleDialog;
-
-public class ProjectSelectionDialog extends SimpleDialog {
-
- String titleText_="";
- String projectName_="";
- String earProjectName_="";
- String componentType_="";
- TypeRuntimeServer trs_;
- boolean needEAR_;
-
- public ProjectSelectionDialog(Shell shell, PageInfo pageInfo)
- {
- super(shell, pageInfo);
- titleText_ = pageInfo.getPageName();
- }
-
- protected void callSetters() {
- // TODO Auto-generated method stub
- ProjectSelectionWidget projWidget = (ProjectSelectionWidget)getWidget();
- projWidget.setEarProjectName(earProjectName_);
- projWidget.setProjectName(projectName_);
- projWidget.setComponentType(componentType_);
- projWidget.setNeedEAR(needEAR_);
- projWidget.setTypeRuntimeServer(trs_);
-
- projWidget.refreshProjectItems();
- }
-
- protected Point getInitialSize()
- {
- return this.getShell().computeSize(250, SWT.DEFAULT, true);
- }
-
-
- protected void setShellStyle(int newShellStyle)
- {
- super.setShellStyle( newShellStyle | SWT.RESIZE );
- }
-
- protected void configureShell(Shell newShell)
- {
- newShell.setText(titleText_);
- super.configureShell(newShell);
- }
-
- public void setProjectName(String name)
- {
- projectName_ = name;
- }
-
- public String getProjectName()
- {
- return projectName_;
- }
-
- public void setEarProjectName(String name)
- {
- earProjectName_ = name;
- }
-
- public String getEarProjectName()
- {
- return earProjectName_;
- }
-
- public void setProjectComponentType( String type )
- {
- componentType_ = type;
- }
-
- public String getProjectComponentType()
- {
- return componentType_;
- }
-
- public void setNeedEAR(boolean b)
- {
- needEAR_ = b;
- }
-
- public boolean getNeedEAR()
- {
- return needEAR_;
- }
-
- public void setTypeRuntimeServer(TypeRuntimeServer trs)
- {
- trs_ = trs;
- }
-
- public boolean close() {
-
- projectName_ = ((ProjectSelectionWidget)getWidget()).getProjectName();
- earProjectName_ = ((ProjectSelectionWidget)getWidget()).getEarProjectName();
- needEAR_ = ((ProjectSelectionWidget)getWidget()).getNeedEAR();
- componentType_ = ((ProjectSelectionWidget)getWidget()).getComponentType();
- return super.close();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java
deleted file mode 100644
index 656491948..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.PrivateUDDIRegistryTypeRegistry;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.AbstractCommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-public class PublishToPrivateUDDICommandFragment extends AbstractCommandFragment
-{
- private DataMappingRegistry dataMappingRegistry;
- private CanFinishRegistry canFinishRegistry;
- private WidgetRegistry widgetRegistry;
- private boolean publishToPrivateUDDI;
- private CommandWidgetBinding privateUDDIBinding;
-
- public PublishToPrivateUDDICommandFragment()
- {
- super(null, "");
- privateUDDIBinding = PrivateUDDIRegistryTypeRegistry.getInstance().getPrivateUDDIRegistryType().getBinding();
- }
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment()
- {
- if (privateUDDIBinding != null && publishToPrivateUDDI && !PrivateUDDIRegistryTypeRegistry.getInstance().getPrivateUDDIRegistryType().isPrivateUDDIRegistryInstalled())
- {
- privateUDDIBinding.registerCanFinish(canFinishRegistry);
- privateUDDIBinding.registerDataMappings(dataMappingRegistry);
- privateUDDIBinding.registerWidgetMappings(widgetRegistry);
- return privateUDDIBinding.create().create();
- }
- else
- return null;
- }
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment(CommandFragment fragment)
- {
- return null;
- }
-
- /*
- * This method is called to retrieve the data mappings for this command fragment.
- */
- public void registerDataMappings(DataMappingRegistry registry)
- {
- dataMappingRegistry = registry;
- }
-
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- this.canFinishRegistry = canFinishRegistry;
- }
-
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
- this.widgetRegistry = widgetRegistry;
- }
-
- /**
- * All wizard fragments need to be cloneable.
- **/
- public Object clone()
- {
- PublishToPrivateUDDICommandFragment fragment = new PublishToPrivateUDDICommandFragment();
- fragment.registerDataMappings(dataMappingRegistry);
- fragment.registerCanFinish(canFinishRegistry);
- fragment.registerWidgetMappings(widgetRegistry);
- fragment.setPublishToPrivateUDDI(publishToPrivateUDDI);
- return fragment;
- }
-
- public void setPublishToPrivateUDDI(boolean publish)
- {
- publishToPrivateUDDI = publish;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java
deleted file mode 100644
index d044f7ced..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.Vector;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.PrivateUDDIRegistryTypeRegistry;
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.PublicUDDIRegistryTypeRegistry;
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryType;
-import org.eclipse.jst.ws.internal.ui.uddi.PrivateUDDIRegistryType;
-import org.eclipse.swt.SWT;
-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.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.explorer.LaunchOption;
-import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
-
-
-public class PublishWSWidget extends SimpleWidgetDataContributor
-{
- /* CONTEXT_ID PWPB0001 for the UDDI Publish Page */
- private String INFOPOP_PWPB_PAGE = WebServiceConsumptionUIPlugin.ID + ".PWPB0001";
- /* CONTEXT_ID PWPB0002 for the UDDI Launch check box of the UDDI Publish Page */
- private String INFOPOP_PWPB_CHECKBOX_WS_LAUNCH = WebServiceConsumptionUIPlugin.ID + ".PWPB0002";
- private Button launchUDDICheckbox_;
- private Button launchPrivateUDDICheckbox_;
- private Label pubilcUDDIRegComboLabel_;
- private Combo publicUDDIRegCombo_;
- private Listener statusListener;
- private Boolean publish;
-
- public PublishWSWidget(boolean publish)
- {
- this.publish = new Boolean(publish);
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener)
- {
- this.statusListener = statusListener;
- Listener selListener = new Listener()
- {
- public void handleEvent(Event event)
- {
- handleSelectionEvent(event);
- }
- };
- parent.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWPB_PAGE);
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
- helpSystem.setHelp(parent, INFOPOP_PWPB_PAGE);
- launchPrivateUDDICheckbox_ = new Button(parent, SWT.CHECK);
- if (publish.booleanValue())
- launchPrivateUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_PUBLISH_PRIVATE_UDDI);
- else
- launchPrivateUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_FIND_PRIVATE_UDDI);
- launchPrivateUDDICheckbox_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH);
- launchPrivateUDDICheckbox_.addListener(SWT.Selection, selListener);
- helpSystem.setHelp(launchPrivateUDDICheckbox_, INFOPOP_PWPB_CHECKBOX_WS_LAUNCH);
- launchUDDICheckbox_ = new Button(parent, SWT.CHECK);
- if (publish.booleanValue())
- launchUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_PUBLISH);
- else
- launchUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_FIND);
- launchUDDICheckbox_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH);
- launchUDDICheckbox_.addListener(SWT.Selection, selListener);
- helpSystem.setHelp(launchUDDICheckbox_, INFOPOP_PWPB_CHECKBOX_WS_LAUNCH);
- Composite c = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout();
- gl.numColumns = 3;
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- c.setLayout(gl);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- c.setLayoutData(gd);
- new Label(c, SWT.WRAP);
- pubilcUDDIRegComboLabel_ = new Label(c, SWT.WRAP);
- pubilcUDDIRegComboLabel_.setText(ConsumptionUIMessages.LABEL_PUBLIC_UDDI_REGISTRIES);
- publicUDDIRegCombo_ = new Combo(c, SWT.DROP_DOWN | SWT.READ_ONLY);
- publicUDDIRegCombo_.setEnabled(false);
- initPublicUDDI();
- initPrivateUDDI();
- return this;
- }
-
- private void initPublicUDDI()
- {
- PublicUDDIRegistryTypeRegistry reg = PublicUDDIRegistryTypeRegistry.getInstance();
- PublicUDDIRegistryType[] types = reg.getAllPublicUDDIRegistryTypes();
- for (int i = 0; i < types.length; i++)
- {
- if (publish.booleanValue())
- {
- // Ignore read-only registries.
- String publishURL = types[i].getPublishURL();
- if (publishURL == null || publishURL.indexOf("://") == -1)
- continue;
- }
- publicUDDIRegCombo_.add(types[i].getName());
- }
- if (types.length > 0)
- publicUDDIRegCombo_.setText(publicUDDIRegCombo_.getItem(0));
- }
-
- private void initPrivateUDDI()
- {
- if (!publish.booleanValue() && !PrivateUDDIRegistryTypeRegistry.getInstance().getPrivateUDDIRegistryType().isPrivateUDDIRegistryInstalled())
- launchPrivateUDDICheckbox_.setEnabled(false);
- }
-
- private void handleSelectionEvent(Event event)
- {
- if (launchUDDICheckbox_ == event.widget)
- publicUDDIRegCombo_.setEnabled(launchUDDICheckbox_.getSelection());
- statusListener.handleEvent(event);
- }
-
- public void setPublishToPublicUDDI(boolean publish)
- {
- launchUDDICheckbox_.setSelection(publish);
- publicUDDIRegCombo_.setEnabled(publish);
- }
-
- public void setPublishToPublicUDDI(Boolean publish)
- {
- setPublishToPublicUDDI(publish.booleanValue());
- }
-
- public void setPublishToPrivateUDDI(boolean publish)
- {
- launchPrivateUDDICheckbox_.setSelection(publish);
- }
-
- public void setPublishToPrivateUDDI(Boolean publish)
- {
- setPublishToPrivateUDDI(publish.booleanValue());
- }
-
- public boolean getPublishToPublicUDDI()
- {
- return launchUDDICheckbox_.getSelection();
- }
-
- public boolean getPublishToPrivateUDDI()
- {
- return launchPrivateUDDICheckbox_.getSelection();
- }
-
- public boolean getForceLaunchOutsideIDE()
- {
- return false;
- }
-
- public LaunchOption[] getLaunchOptions()
- {
- Vector launchOptionVector = new Vector();
- if (launchUDDICheckbox_.getSelection())
- {
- PublicUDDIRegistryTypeRegistry reg = PublicUDDIRegistryTypeRegistry.getInstance();
- int UDDIRegSelectionIndex = publicUDDIRegCombo_.getSelectionIndex();
- if (UDDIRegSelectionIndex != -1)
- {
- String name = publicUDDIRegCombo_.getItem(UDDIRegSelectionIndex);
- String id = reg.getPublicUDDIRegistryTypeIDByName(name);
- PublicUDDIRegistryType type = reg.getPublicUDDIRegistryTypeByID(id);
- launchOptionVector.add(new LaunchOption(LaunchOptions.INQUIRY_URL, type.getInquiryURL()));
- launchOptionVector.add(new LaunchOption(LaunchOptions.PUBLISH_URL, type.getPublishURL()));
- }
- }
- if (launchPrivateUDDICheckbox_.getSelection())
- {
- PrivateUDDIRegistryTypeRegistry privateReg = PrivateUDDIRegistryTypeRegistry.getInstance();
- PrivateUDDIRegistryType privateType = privateReg.getPrivateUDDIRegistryType();
- String[] privateInquiryURL = privateType.getPrivateUDDIRegistryInquiryAPI();
- String[] privatePublishURL = privateType.getPrivateUDDIRegistryPublishAPI();
- for (int i = 0; i < privateInquiryURL.length; i++)
- {
- launchOptionVector.add(new LaunchOption(LaunchOptions.INQUIRY_URL, privateInquiryURL[i]));
- launchOptionVector.add(new LaunchOption(LaunchOptions.PUBLISH_URL, privatePublishURL[i]));
- }
- }
- return (LaunchOption[]) launchOptionVector.toArray(new LaunchOption[0]);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java
deleted file mode 100644
index beeab2fa4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java
+++ /dev/null
@@ -1,376 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060517 142027 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060518 142554 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jem.util.emf.workbench.WorkbenchResourceHelperBase;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType;
-import org.eclipse.jst.j2ee.internal.webservice.helper.WebServicesManager;
-import org.eclipse.jst.j2ee.webservice.wsdd.Handler;
-import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServices;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddResource;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-
-/**
- * ServiceHandlersWidgetDefaultingCommand
- *
- * Initialize and load the handlers data
- */
-public class ServiceHandlersWidgetDefaultingCommand extends AbstractHandlersWidgetDefaultingCmd {
-
- private WsddResource[] wsddResource_ = null;
- private IProject project_;
- private String descriptionName_ = null;
- private String errorStatusMsg_ = null;
- private boolean isMultipleSelection_;
- private HandlerDescriptionHolder[] handlerDescriptionHolder_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- IStructuredSelection selection = getInitialSelection();
- if (selection == null) {
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
- env.getStatusHandler().reportError(status);
- return status;
- }
- else if (selection.size()>1){
- status = processMultipleHandlers(env);
- return status;
- }
-
- status = processHandlers(env);
- return status;
-
- }
-
- public IStatus processHandlers(IEnvironment env) {
- try {
- WebServicesManager webServicesManager = new WebServicesManager();
- List allWSDLServices = webServicesManager.getAllWSDLServices();
- int servicesSize = allWSDLServices.size();
-
- wsddResource_= new WsddResource[servicesSize];
- wsddResource_[0] = getWsddResourceFromSelection();
- if (wsddResource_[0] == null) {
- return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_WSDD_NOT_FOUND);
- }
-
- // check for another wsddResource of another J2EE level
- int x = 0;
- while (x<servicesSize) {
- Service service = (Service )allWSDLServices.get(x);
- WsddResource wsddRes = webServicesManager.getWsddResource(service);
- boolean isUniqueWsdd = true;
- for (int w=0;w<wsddResource_.length;w++){
- if (wsddRes.equals(wsddResource_[w])){
- isUniqueWsdd = false;
- break;
- }
- }
-
- if (isUniqueWsdd) {
- wsddResource_[x] = wsddRes;
- }
- x++;
- }
-
- // determine total # for descriptions
- handlerDescriptionHolder_ = new HandlerDescriptionHolder[getNumberofServices(wsddResource_)];
-
- int descCounter = 0;
- for (int y=0;y<wsddResource_.length;y++) {
- if (wsddResource_[y] !=null) {
- WebServices webServices = wsddResource_[y].getWebServices();
- if (webServices != null) {
- List wsDescriptions = webServices.getWebServiceDescriptions();
- for (int i = 0; i < wsDescriptions.size() ; i++) {
-
- WebServiceDescription wsDescription = (WebServiceDescription) wsDescriptions.get(i);
- Vector handlers = new Vector();
- List wsPortComponents = wsDescription.getPortComponents();
- for (int j = 0; j < wsPortComponents.size(); j++) {
- PortComponent wsPort = (PortComponent) wsPortComponents.get(j);
- String portName = wsPort.getPortComponentName();
- List wsHandlers = wsPort.getHandlers();
-
- for (int k = 0; k < wsHandlers.size(); k++) {
-
- Handler wsHandler = (Handler) wsHandlers.get(k);
-
- HandlerTableItem handlerItem = new HandlerTableItem();
- handlerItem.setHandler(wsHandler);
- handlerItem.setHandlerName(wsHandler.getHandlerName());
- handlerItem.setHandlerClassName(wsHandler.getHandlerClass());
- handlerItem.setPort(wsPort);
- handlerItem.setPortName(portName);
- handlerItem.setWsDescRef(wsDescription);
-
- handlers.add(handlerItem);
- }
- }
- String wsDescName = wsDescription.getWebServiceDescriptionName();
- handlerDescriptionHolder_[descCounter] = new HandlerDescriptionHolder();
- handlerDescriptionHolder_[descCounter].setHandlerList(handlers);
- handlerDescriptionHolder_[descCounter].setDescriptionObject(wsDescription);
- handlerDescriptionHolder_[descCounter].setDescriptionName(wsDescName);
- descCounter++;
- }
- }
- }
- }
-
- if (handlerDescriptionHolder_ == null){
- //report no Web service is available
- return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_WEB_SERVICES_NOT_FOUND);
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- return StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED, e);
- }
- return Status.OK_STATUS;
- }
-
- /**
- * For processing multiple service selection; only prepare table of service description names
- * description objects will be processed later by the output command
- * @param env
- * @return
- */
- private IStatus processMultipleHandlers(IEnvironment env){
-
- Service[] services = getSelectedServices();
- if (errorStatusMsg_ != null){
- return StatusUtils.errorStatus(errorStatusMsg_);
- }
- isMultipleSelection_ = true;
-
- handlerDescriptionHolder_ = new HandlerDescriptionHolder[services.length];
- Vector handlers = new Vector();
- for (int i=0;i<services.length;i++){
-
- String descName = services[i].getQName().getLocalPart();
- WebServiceDescription wsDescription = getServiceDescription(services[i], descName);
- handlerDescriptionHolder_[i] = new HandlerDescriptionHolder();
- handlerDescriptionHolder_[i].setHandlerList(handlers);
- handlerDescriptionHolder_[i].setDescriptionName(descName);
- handlerDescriptionHolder_[i].setDescriptionObject(wsDescription);
- }
- return Status.OK_STATUS;
- }
-
- /**
- * Matches the serviceName with the ServiceDescriptionName to get the WebServiceDescription
- * @param service
- * @param serviceName
- * @return
- */
- private WebServiceDescription getServiceDescription(Service service, String serviceName){
- WebServicesManager webServicesManager = new WebServicesManager();
- WsddResource wsddResource = webServicesManager.getWsddResource(service);
- if (wsddResource!=null) {
- WebServices services = wsddResource.getWebServices();
- if (services!=null) {
- List descriptions = services.getWebServiceDescriptions();
- for (int i=0;i<descriptions.size();i++){
- WebServiceDescription wsd = (WebServiceDescription)descriptions.get(i);
- if (wsd!=null && wsd.getWebServiceDescriptionName().equals(serviceName)){
- return wsd;
- }
- }
- }
- }
- return null;
- }
-
- public boolean getIsMultipleSelection(){
- return this.isMultipleSelection_;
- }
-
- /**
- * @return Returns the isGenSkeletonEnabled_.
- */
- public boolean getGenSkeletonEnabled() {
- if (isMultipleSelection_)
- return false;
- return true;
- }
-
- /**
- * @return Returns the sourceOutputLocation_.
- */
- public IPath[] getSourceOutputLocation() {
- IPath[] locations = null;
- IProject project = getProject();
-
- if (project != null) {
- locations = ResourceUtils.getAllJavaSourceLocations(project);
- }
- else {
- project = project_;
- if (project != null) {
- locations = ResourceUtils.getAllJavaSourceLocations(project);
- }
- }
- return locations;
- }
-
- /**
- * Gets the WsddResource
- * @return
- */
- public WsddResource[] getWsddResource() {
- return wsddResource_;
- }
-
- private WsddResource getWsddResourceFromSelection() {
- WebServicesManager webServicesManager = new WebServicesManager();
-
- IStructuredSelection initSel = getInitialSelection();
- if (initSel != null && initSel.size() == 1) {
- Object obj = initSel.getFirstElement();
- if (obj instanceof ServiceImpl) {
- // Service object
- Service service = (Service) obj;
- descriptionName_ = service.getQName().getLocalPart();
- project_ = ProjectUtilities.getProject(service);
- return webServicesManager.getWsddResource(service);
- }
- else if (obj instanceof WSDLResourceImpl) {
- // WSDL resource
- WSDLResourceImpl res = (WSDLResourceImpl) obj;
- project_ = ProjectUtilities.getProject(res);
- List wsdlResources = webServicesManager.getWSDLServices(res);
- return webServicesManager.getWsddResource((Service) wsdlResources.get(0));
- }
- else if (obj instanceof WebServiceNavigatorGroupType) {
- WebServiceNavigatorGroupType wsngt = (WebServiceNavigatorGroupType) obj;
- Service service = (Service)wsngt.getWsdlService();
- descriptionName_ = service.getQName().getLocalPart();
- project_ = ProjectUtilities.getProject(service);
- return webServicesManager.getWsddResource(service);
- }
- else if (obj instanceof IFile){
- // webservices.xml file
- Resource res = WorkbenchResourceHelperBase.getResource((IFile)obj, true);
- WsddResource wsddRes = (WsddResource)res;
- WebServices webServices = wsddRes.getWebServices();
- if (webServices != null) {
- List wsDescriptions = webServices.getWebServiceDescriptions();
- if (wsDescriptions!=null) {
- WebServiceDescription wsd = (WebServiceDescription)wsDescriptions.get(0);
- descriptionName_ = wsd.getWebServiceDescriptionName();
- }
- }
- project_ = ProjectUtilities.getProject(res);
- return wsddRes;
- }
- }
-
- return null;
-
- }
-
- /**
- * Get total number of ServiceDescriptions given 14 and 13 services
- * @param wsddRes
- * @return
- */
- private int getNumberofServices(WsddResource[] wsddRes){
- int num= 0;
- for (int i=0;i<wsddRes.length;i++){
- if (wsddRes[i]!=null) {
- WebServices ws = wsddRes[i].getWebServices();
- if (ws!=null){
- num += ws.getWebServiceDescriptions().size();
- }
- }
- }
- return num;
-
- }
-
- /**
- * For multiple selection of Services
- * @return
- */
- private Service[] getSelectedServices(){
- WebServicesManager wsManager = new WebServicesManager();
- IStructuredSelection initSel = getInitialSelection();
- Service[] services = new Service[initSel.size()];
- wsddResource_ = new WsddResource[initSel.size()];
- Iterator iter = initSel.iterator();
- for (int i=0;i<initSel.size();i++) {
- Object obj = iter.next();
- if (obj instanceof Service){
- services[i] = (Service)obj;
- wsddResource_[i] = wsManager.getWsddResource(services[i]);
- }
- else{
- errorStatusMsg_ = ConsumptionUIMessages.MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT;
- return null;
- }
- }
- return services;
- }
-
-
-
- /**
- * Get Description Name for single Web services selected
- * null if mulitple services are selected
- * @return
- */
- public String getDescriptionName(){
- return descriptionName_;
- }
-
- /**
- * An array of HandlerDescriptionHolders
- * @return
- */
- public HandlerDescriptionHolder[] getHandlerDescriptionHolders(){
- return handlerDescriptionHolder_;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java
deleted file mode 100644
index 9ef8c607b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004,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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060517 142027 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.List;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.j2ee.webservice.wsdd.Handler;
-import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddFactory;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddResource;
-import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.WsddFactoryImpl;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHelper;
-import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
-
-/*
- * Provide a way to externalize the edited fields and create new handlers
- *
- */
-public class ServiceHandlersWidgetOutputCommand extends AbstractDataModelOperation
-{
-
- private WsddResource[] wsddResource_;
- private boolean isMultipleSelection_;
- private HandlerDescriptionHolder[] handlerDescriptionHolder_;
-
- /**
- * For each HandlerDescriptionHolder, the user selected Handlers are
- * sync'd up with the internal model
- * For multiple services, handlers are added (not removed) to each port.
- *
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
- try {
- if (isMultipleSelection_){
- for (int i=0; i<handlerDescriptionHolder_.length;i++){
-
- handlerDescriptionHolder_[i].addHandlerToAllPorts();
- }
- }
- else {
- // add handler(s) for single service selected
- for (int h=0;h<handlerDescriptionHolder_.length;h++){
-
- Hashtable wsPortsTable = new Hashtable();
- Hashtable wsPortToHandlerTable = new Hashtable();
-
- String serviceDescName = handlerDescriptionHolder_[h].getDescriptionName();
- // load PortName -> PortComponent table
- HandlerDescriptionHolder hdh = HandlerDescriptionHelper.getForDescriptionName(handlerDescriptionHolder_, serviceDescName);
- if (hdh!=null) {
-
- WebServiceDescription wsDescription_ = hdh.getDescriptionObject();
- if (wsDescription_ != null) {
- List wsPorts = wsDescription_.getPortComponents();
- for (int k = 0; k < wsPorts.size(); k++) {
- PortComponent port = (PortComponent) wsPorts.get(k);
- wsPortsTable.put(port.getPortComponentName(), port);
- wsPortToHandlerTable.put(port.getPortComponentName(), new ArrayList());
- }
- }
-
- List handlerTableItems = hdh.getHandlerList();
- if (handlerTableItems != null) {
-
- WsddFactory wsddFactory = new WsddFactoryImpl();
-
- //form port components tables first
- for (int i = 0; i < handlerTableItems.size(); i++) {
-
- HandlerTableItem hti = (HandlerTableItem) handlerTableItems.get(i);
- PortComponent wsPort = (PortComponent) hti.getPort();
- if (wsPort == null) {
- //find it
- if (wsPortsTable.get(hti.getPortName()) != null)
- wsPort = (PortComponent) wsPortsTable.get(hti.getPortName());
- else {
- // create it; should not get into here
- wsPort = wsddFactory.createPortComponent();
- wsPort.setPortComponentName(hti.getPortName());
- wsPortsTable.put(wsPort.getPortComponentName(), wsPort);
- }
- }
- wsPortToHandlerTable.put(wsPort.getPortComponentName(), new ArrayList());
- }
-
- // form Handler and ports table
- for (int i = 0; i < handlerTableItems.size(); i++) {
-
- HandlerTableItem hti = (HandlerTableItem) handlerTableItems.get(i);
- String portName = hti.getPortName();
-
- PortComponent port = (PortComponent) wsPortsTable.get(portName);
- if (port == null) return status;
-
- List existingHandlers = port.getHandlers();
-
- Object handler = hti.getHandler();
- if (!existingHandlers.contains(handler)) {
- // create it
- Handler newHandler = wsddFactory.createHandler();
- newHandler.setHandlerName(hti.getHandlerName());
- newHandler.setHandlerClass(hti.getHandlerClassName());
- ((List) wsPortToHandlerTable.get(portName)).add(newHandler);
-
- }
- else if (handler instanceof Handler) {
- // clone it
- EtoolsCopyUtility copyUtil = new EtoolsCopyUtility();
- copyUtil.setCopyAdapters(true);
- Handler clonedHandler = (Handler) copyUtil.copy((Handler) handler);
- ((List) wsPortToHandlerTable.get(portName)).add(clonedHandler);
- }
- }
- }
-
- // remove existing handlers from ports
- removeExistingHandlers(wsPortsTable, wsPortToHandlerTable);
-
- // add ports to wsDescription
- addPortsToDescriptions(wsPortsTable, wsDescription_);
-
- // add handlers to ports
- addHandlersToPorts(wsPortsTable, wsPortToHandlerTable);
- }
- }
- }
-
- // save
- if (wsddResource_ != null) {
- for (int i=0;i<wsddResource_.length;i++) {
- if (wsddResource_[i]!=null)
- wsddResource_[i].save(new HashMap());
- }
- }
-
- }
- catch (Exception e) {
- e.printStackTrace();
- }
-
- return status;
- }
-
- private void removeExistingHandlers(Hashtable portsTable, Hashtable portsToHandlersTable) {
- try {
- Enumeration ports = portsToHandlersTable.keys();
- while (ports.hasMoreElements()) {
- String portName = (String) ports.nextElement();
- Object port = portsTable.get(portName);
- if (port != null && port instanceof PortComponent) {
- List handlers = ((PortComponent) port).getHandlers();
- handlers.clear();
- }
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- private void addPortsToDescriptions(Hashtable portsTable, WebServiceDescription wsDescription_) {
- try {
- Enumeration ports = portsTable.keys();
- while (ports.hasMoreElements()) {
- String portName = (String) ports.nextElement();
- // newly edited port
- Object port = portsTable.get(portName);
-
- // existing port
- List emfPorts = wsDescription_.getPortComponents();
- if (!emfPorts.contains(port) && port != null && port instanceof PortComponent) {
- emfPorts.add((PortComponent) port);
- }
- }
- }
-
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- private void addHandlersToPorts(Hashtable portsTable, Hashtable portsToHandlersTable) {
- try {
- Enumeration ports = portsToHandlersTable.keys();
- while (ports.hasMoreElements()) {
- String portName = (String) ports.nextElement();
- Object port = portsTable.get(portName);
- if (port != null && port instanceof PortComponent) {
- List handlers = (List) portsToHandlersTable.get(portName);
-
- List modelHandlers = ((PortComponent) port).getHandlers();
- modelHandlers.addAll(handlers);
- }
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- /**
- * HandlerDescriptionHolder
- * @param hdhs
- */
- public void setHandlerDescriptionHolders(HandlerDescriptionHolder[] hdhs){
- this.handlerDescriptionHolder_ = hdhs;
- }
-
- public void setIsMultipleSelection(boolean isMulitpleSelection) {
- this.isMultipleSelection_ = isMulitpleSelection;
- }
-
-
- public void setWsddResource(WsddResource[] wsddRes) {
- this.wsddResource_ = wsddRes;
- }
-
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java
deleted file mode 100644
index 1bc252332..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java
+++ /dev/null
@@ -1,630 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060505 139918 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-import java.util.Set;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.common.PropertiesResourceFilter;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.TableEditor;
-import org.eclipse.swt.events.FocusAdapter;
-import org.eclipse.swt.events.FocusEvent;
-import org.eclipse.swt.events.KeyEvent;
-import org.eclipse.swt.events.KeyListener;
-import org.eclipse.swt.events.MouseEvent;
-import org.eclipse.swt.events.MouseListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.events.TraverseEvent;
-import org.eclipse.swt.events.TraverseListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-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.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-
-public class TableViewerWidget extends SimpleWidgetDataContributor
-{
- private int DEFAULT_TABLE_HEIGHT_HINT = 100;
- private int DEFAULT_COLUMN_WIDTH = 80;
-
- public static byte MAP_ONE_TO_ONE = 3;
- public static byte MAP_MANY_TO_ONE = 1;
- public static byte MAP_MANY_TO_MANY = 0;
-
- private String[] columns_;
- private TableViewer tableViewer_;
- private Table table_;
- private TableEditor editor_;
- private TableEditorListener tableEditorListener_;
- private Text text_;
- private Button import_;
- private Button add_;
- private Button remove_;
-
- private Composite parent_;
- private Listener statusListener_;
-
- private String message = null;
- private byte rescriction = MAP_MANY_TO_MANY;
-
- private List values_;
- private Object defaultValue_;
-
- private PropertiesResourceFilter filter_ = new PropertiesResourceFilter();
-
- public TableViewerWidget(String[] columns, List initValues, Object defaultValue, byte rescriction)
- {
- columns_ = columns;
- values_ = new ArrayList();
- if (initValues != null && initValues.size() > 0)
- values_.addAll(initValues);
- defaultValue_ = (defaultValue != null) ? defaultValue : new String("");
- this.rescriction = rescriction;
- }
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
- parent_ = parent;
- statusListener_ = statusListener;
-
- Composite composite = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout();
-
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- composite.setLayout(gl);
- composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
- table_ = new Table(composite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.BORDER);
- GridData gd = new GridData(GridData.FILL_BOTH);
- gd.heightHint = DEFAULT_TABLE_HEIGHT_HINT;
- table_.setLayoutData(gd);
- table_.setHeaderVisible(true);
- table_.setLinesVisible(true);
- TableLayout tableLayout = new TableLayout();
- int maxWidth = DEFAULT_COLUMN_WIDTH;
- for (int i = 0; i < columns_.length; i++)
- {
- TableColumn tableColumn = new TableColumn(table_, SWT.NONE);
- tableColumn.setText(columns_[i]);
- tableColumn.pack();
- int tableColumnWidth = Math.max(DEFAULT_COLUMN_WIDTH, tableColumn.getWidth());
- maxWidth = Math.max(maxWidth, tableColumnWidth);
- ColumnWeightData columnData = new ColumnWeightData(tableColumnWidth, tableColumnWidth, true);
- tableLayout.addColumnData(columnData);
- }
- table_.setLayout(tableLayout);
- // initialize the table editor
- editor_ = new TableEditor(table_);
- // The editor must have the same size as the cell and must
- // not be any smaller than 50 pixels.
- editor_.horizontalAlignment = SWT.LEFT;
- editor_.grabHorizontal = true;
- editor_.minimumWidth = maxWidth;
- tableEditorListener_ = new TableEditorListener();
- table_.addMouseListener(tableEditorListener_);
- tableViewer_ = new TableViewer(table_);
- tableViewer_.getControl().addKeyListener(
- new KeyListener()
- {
- public void keyPressed(KeyEvent e)
- {
- int asciiDel = (int)e.character;
- // Del
- if (asciiDel == 127)
- handleDeleteKeyPressed();
- // Enter or space
- if (((int)e.character) == 13 || ((int)e.character) == 32)
- tableEditorListener_.editSelection();
- }
- public void keyReleased(KeyEvent e)
- {
- }
- }
- );
- tableViewer_.setContentProvider(new ListContentProvider());
- tableViewer_.setLabelProvider(new ListLabelProvider());
- tableViewer_.setInput(values_);
- tableViewer_.addSelectionChangedListener(
- new ISelectionChangedListener()
- {
- public void selectionChanged(SelectionChangedEvent event)
- {
- enableRemove(true);
- }
- }
- );
-
- Composite buttonComposite = new Composite(composite, SWT.NONE);
- gl = new GridLayout();
- gl.numColumns = 3;
- gl.makeColumnsEqualWidth = true;
- buttonComposite.setLayout(gl);
- buttonComposite.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_BEGINNING));
-
- import_ = new Button(buttonComposite, SWT.PUSH);
- import_.setText(ConsumptionUIMessages.LABEL_IMPORT);
- import_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- import_.addSelectionListener(
- new SelectionListener()
- {
- public void widgetSelected(SelectionEvent event)
- {
- handleImportButtonSelected(event);
- }
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
- }
- );
-
- add_ = new Button(buttonComposite, SWT.PUSH);
- add_.setText(ConsumptionUIMessages.LABEL_ADD);
- add_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- add_.addSelectionListener(
- new SelectionListener()
- {
- public void widgetSelected(SelectionEvent event)
- {
- handleAddButtonSelected(event);
- }
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
- }
- );
-
-
- remove_ = new Button(buttonComposite, SWT.PUSH);
- remove_.setText(ConsumptionUIMessages.LABEL_REMOVE);
- remove_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- remove_.addSelectionListener(
- new SelectionListener()
- {
- public void widgetSelected(SelectionEvent event)
- {
- handleRemoveButtonSelected(event);
- }
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
- }
- );
- enableRemove(false);
-
- return this;
- }
-
- private void enableRemove(boolean enabled)
- {
- remove_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
- }
-
- private void handleImportButtonSelected(SelectionEvent event)
- {
- IResource resource = DialogUtils.browseResources(
- parent_.getShell(),
- ResourceUtils.getWorkspaceRoot(),
- null,
- filter_
- );
- if (resource != null && resource instanceof IFile)
- {
- try
- {
- Properties props = new Properties();
- props.load(((IFile)resource).getContents());
- Set set = props.entrySet();
- java.util.List list = new LinkedList();
- Iterator i = set.iterator();
- while (i.hasNext())
- {
- Map.Entry me = (Map.Entry)i.next();
- String key = (String)me.getKey();
- String val = (String)me.getValue();
- list.add(new String[] {key,val});
- }
- values_.addAll(list);
- }
- catch (Exception e)
- {
- // TODO Report some error here.
- }
- }
- refresh();
- }
-
- private void handleAddButtonSelected(SelectionEvent event)
- {
- values_.add(defaultValue_);
- refresh();
- setSelectionAsObject(values_.get(table_.getItemCount()-1));
- tableEditorListener_.editSelection();
- }
-
- private void handleRemoveButtonSelected(SelectionEvent event)
- {
- handleDeleteKeyPressed();
- }
-
- private void handleDeleteKeyPressed()
- {
- internalDispose();
- ISelection selection = tableViewer_.getSelection();
- if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection))
- {
- int selectionIndex = table_.getSelectionIndex();
- int selectionCount = table_.getItemCount();
- values_.remove(selectionIndex);
- if (selectionIndex < selectionCount-1)
- setSelectionAsObject(values_.get(selectionIndex));
- else if (selectionCount -2 >= 0)
- setSelectionAsObject(values_.get(selectionCount-2));
- refresh();
- }
- }
-
- private void internalRefresh()
- {
- // synchronize text field, previously selected table cell and model (inputObject)
- if (text_ != null)
- {
- TableItem oldTableItem = editor_.getItem();
- int oldColumnIndex = editor_.getColumn();
- if (oldTableItem != null && oldColumnIndex >= 0 && oldColumnIndex < columns_.length)
- {
- String oldText = text_.getText();
- oldTableItem.setText(oldColumnIndex, oldText);
- int oldRowIndex = table_.indexOf(oldTableItem);
- values_.set(oldRowIndex, new String[] {oldTableItem.getText(0), oldTableItem.getText(1)});
- }
- }
- checkMappingConstraints();
- statusListener_.handleEvent( null );
- }
-
- private void checkMappingConstraints() {
-
- HashMap map = new HashMap();
-
- for(int cnt=0; cnt<values_.size(); cnt++){
- String[] value = (String[])values_.get(cnt);
- if(map.containsKey(value[0]) && ((rescriction & 1)!=0)){
- message =NLS.bind(ConsumptionUIMessages.MSG_MAPPING_DUPLICATE_ENTRIES, new String[]{columns_[0],columns_[1]});
- return;
- }
- if(map.containsValue(value[1]) && ((rescriction & 2)!=0)){
- message =NLS.bind(ConsumptionUIMessages.MSG_MAPPING_DUPLICATE_ENTRIES, new String[]{columns_[1],columns_[0]});
- return;
- }
- map.put(value[0],value[1]);
-
- }
- message = null;
-
- }
-
- public IStatus getStatus()
- {
- return message == null ? Status.OK_STATUS :
- StatusUtils.errorStatus( message );
- }
-
- private void setSelectionAsObject(Object object)
- {
- tableViewer_.setSelection(new StructuredSelection(object), true);
- }
-
- public void refresh()
- {
- internalRefresh();
- tableViewer_.refresh();
- }
-
- public TableItem[] getItems()
- {
- //internalRefresh();
- return table_.getItems();
- }
-
- public void setEnabled(boolean enabled)
- {
- add_.setEnabled(enabled);
- enableRemove(enabled);
- }
-
- public void dispose()
- {
- internalDispose();
- if (editor_ != null)
- editor_.dispose();
- if (table_ != null)
- table_.dispose();
- if (add_ != null)
- add_.dispose();
- if (remove_ != null)
- remove_.dispose();
- }
-
- private void internalDispose()
- {
- if (text_ != null)
- text_.dispose();
- text_ = null;
- }
-
- protected class TableEditorListener implements MouseListener
- {
- private int currSelectionIndex_;
- private int editRow_;
- private int editColumn_;
-
- public TableEditorListener()
- {
- super();
- currSelectionIndex_ = -1;
- editRow_ = -1;
- editColumn_ = -1;
- }
-
- public void mouseDoubleClick(MouseEvent e)
- {
- mouseDown(e);
- }
-
- public void mouseDown(MouseEvent e)
- {
- // refresh table
- internalRefresh();
- // Clean up previous text editor control
- internalDispose();
- // update table
- if (table_.isFocusControl())
- {
- int selectedRowIndex = getSelectedRow(table_, e.y);
- if (currSelectionIndex_ != -1 && selectedRowIndex != -1 && currSelectionIndex_ == selectedRowIndex)
- {
- TableItem tableItem = table_.getItem(selectedRowIndex);
- int selectedColumnIndex = getSelectedColumn(tableItem, e.x, e.y);
- if (selectedColumnIndex != -1 && (text_ == null || text_.isDisposed() || selectedColumnIndex != editor_.getColumn()))
- editSelection(selectedRowIndex, selectedColumnIndex);
- }
- currSelectionIndex_ = selectedRowIndex;
- }
- }
-
- public void mouseUp(MouseEvent e)
- {
- }
-
- private int getSelectedRow(Table table, int y)
- {
- TableItem[] tableItems = table.getItems();
- for (int i = 0; i < tableItems.length; i++)
- {
- Rectangle rectangle = tableItems[i].getBounds(0);
- if (rectangle != null && y >= rectangle.y && y < (rectangle.y + rectangle.height))
- return i;
- }
- return -1;
- }
-
- private int getSelectedColumn(TableItem tableItem, int x, int y)
- {
- for (int i = 0; i < columns_.length; i++)
- {
- if (tableItem.getBounds(i).contains(x, y))
- return i;
- }
- return -1;
- }
-
- private void editSelection(int row, int column)
- {
- editRow_ = row;
- editColumn_ = column;
- TableItem tableItem = table_.getItem(row);
- // Setup adapter for the new selection
- text_ = new Text(table_, SWT.NONE);
- String text = tableItem.getText(column);
- text_.setText((text != null) ? text : "");
- text_.addKeyListener(new KeyListener()
- {
- public void keyPressed(KeyEvent e)
- {
- // Esc
- if (((int)e.character) == 27)
- cancelSelection();
- }
- public void keyReleased(KeyEvent e)
- {
- }
- }
- );
- text_.addTraverseListener(new TraverseListener()
- {
- public void keyTraversed(TraverseEvent e)
- {
- if (e.detail == SWT.TRAVERSE_TAB_NEXT)
- traverseTabNext();
- else if (e.detail == SWT.TRAVERSE_TAB_PREVIOUS)
- traverseTabPrevious();
- }
- }
- );
-
- text_.addFocusListener( new FocusAdapter()
- {
- public void focusLost(FocusEvent e)
- {
- internalRefresh();
- }
- } );
-
- editor_.setEditor(text_, tableItem, column);
- text_.setFocus();
- text_.selectAll();
- }
-
- protected void traverseTabNext()
- {
- internalRefresh();
- internalDispose();
- if (!(editRow_ == table_.getItems().length-1 && editColumn_ == columns_.length-1))
- {
- if (editColumn_ < columns_.length-1)
- editColumn_++;
- else
- {
- editColumn_ = 0;
- editRow_++;
- table_.select(editRow_);
- }
- editSelection(editRow_, editColumn_);
- }
- }
-
- protected void traverseTabPrevious()
- {
- internalRefresh();
- internalDispose();
- if (!(editRow_ == 0 && editColumn_ == 0))
- {
- if (editColumn_ > 0)
- editColumn_--;
- else
- {
- editColumn_ = columns_.length-1;
- editRow_--;
- table_.select(editRow_);
- }
- editSelection(editRow_, editColumn_);
- }
- }
-
- public void cancelSelection()
- {
- internalDispose();
- internalRefresh();
- }
-
- public void editSelection()
- {
- int selectedRowIndex = table_.getSelectionIndex();
- if (selectedRowIndex != -1 && columns_.length > 0)
- {
- // refresh table
- internalRefresh();
- // Clean up any previous editor control
- internalDispose();
- editSelection(selectedRowIndex, 0);
- }
- currSelectionIndex_ = selectedRowIndex;
- }
- }
-
- protected class ListContentProvider implements IStructuredContentProvider
- {
- public void dispose()
- {
- }
-
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
- {
- tableViewer_.add(getElements(newInput));
- }
-
- public Object[] getElements(Object inputElement)
- {
- if (inputElement instanceof List)
- {
- List list = (List)inputElement;
- Object[] objects = new Object[list.size()];
- for (int i = 0; i < objects.length; i++)
- objects[i] = list.get(i);
- return objects;
- }
- else
- return new Object[0];
- }
- }
-
- protected class ListLabelProvider implements ITableLabelProvider
- {
- public Image getColumnImage(Object element, int columnIndex)
- {
- return null;
- }
-
- public String getColumnText(Object element, int columnIndex)
- {
- return ((String[])element)[columnIndex];
- }
-
- public void addListener(ILabelProviderListener listener)
- {
- }
-
- public void removeListener(ILabelProviderListener listener)
- {
- }
-
- public boolean isLabelProperty(Object element, String property)
- {
- return true;
- }
-
- public void dispose()
- {
- }
- }
- }
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java
deleted file mode 100644
index f56b6e014..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060504 119296 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.ui.common.TimedOperation;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class TimedWSDLSelectionConditionCommand extends AbstractDataModelOperation implements Condition
-{
- private final String TIMEOUT_PREFERENCE = "wsdlTimeOut";
- private WSDLSelectionConditionCommand selectionCommand;
- private int timeOutValue;
-
- public TimedWSDLSelectionConditionCommand()
- {
- selectionCommand = new WSDLSelectionConditionCommand();
-
- IPreferenceStore prefStore = WebServiceConsumptionUIPlugin.getInstance().getPreferenceStore();
-
- timeOutValue = prefStore.getDefaultString(TIMEOUT_PREFERENCE).equals("") ? 10000 : prefStore.getInt( TIMEOUT_PREFERENCE );
- }
-
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- selectionCommand.setWebServicesParser( webServicesParser );
- }
-
- public WebServicesParser getWebServicesParser()
- {
- return selectionCommand.getWebServicesParser();
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- String timeOutMessage = ConsumptionUIMessages.bind( ConsumptionUIMessages.MSG_INFO_WSDL_OPERATION_TIMED_OUT, getWebServiceURI() );
-
- TimedOperation timedOperation = new TimedOperation( selectionCommand, timeOutValue, timeOutMessage );
-
- return timedOperation.execute(monitor, adaptable);
- }
-
- public boolean evaluate()
- {
- return selectionCommand.evaluate();
- }
-
- public String getWebServiceURI()
- {
- return selectionCommand.getWebServiceURI();
- }
-
- public void setWebServiceURI(String webServiceURI)
- {
- selectionCommand.setWebServiceURI(webServiceURI);
- }
-
- public String getWsdlURI()
- {
- return getWebServiceURI();
- }
-/**
- * @return Returns the httpBasicAuthPassword.
- */
-public String getHttpBasicAuthPassword() {
- return selectionCommand.getHttpBasicAuthPassword();
-}
-/**
- * @return Returns the httpBasicAuthUsername.
- */
-public String getHttpBasicAuthUsername() {
- return selectionCommand.getHttpBasicAuthUsername();
-}
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java
deleted file mode 100644
index ad041c0db..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.wsil.DialogWWWAuthentication;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class WSDLSelectionConditionCommand extends AbstractDataModelOperation implements Condition
-{
- private WebServicesParser webServicesParser;
- private String webServiceURI;
- private String httpBasicAuthUsername;
- private String httpBasicAuthPassword;
- private boolean needWSDLSelectionTreeWidget;
-
- public WSDLSelectionConditionCommand()
- {
- }
-
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
-
- public WebServicesParser getWebServicesParser()
- {
- if (webServicesParser == null)
- webServicesParser = new WebServicesParserExt();
- return webServicesParser;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- needWSDLSelectionTreeWidget = false;
- WebServicesParser parser = getWebServicesParser();
- parser.setURI(webServiceURI);
- try
- {
- parser.parse(WebServicesParser.PARSE_WSIL | WebServicesParser.PARSE_DISCO | WebServicesParser.PARSE_LINKS);
- }
- catch (WWWAuthenticationException wwwae)
- {
- DialogWWWAuthentication dialog = new DialogWWWAuthentication(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
- dialog.handleWWWAuthentication(wwwae);
- String username = dialog.getUsername();
- String password = dialog.getPassword();
- httpBasicAuthUsername = username;
- httpBasicAuthPassword = password;
- if (username != null && password != null)
- {
- parser.setHTTPBasicAuthUsername(username);
- parser.setHTTPBasicAuthPassword(password);
- try
- {
- parser.parse(WebServicesParser.PARSE_WSIL | WebServicesParser.PARSE_DISCO | WebServicesParser.PARSE_LINKS);
- }
- catch (Throwable t)
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_ERROR_URI_NOT_RESOLVABLE, new Object[] {webServiceURI}), t);
- }
- finally
- {
- parser.setHTTPBasicAuthUsername(null);
- parser.setHTTPBasicAuthPassword(null);
- }
- }
- }
- catch (Throwable t)
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_ERROR_URI_NOT_RESOLVABLE, new Object[] {webServiceURI}), t);
- }
- WebServiceEntity wsEntity = parser.getWebServiceEntityByURI(webServiceURI);
- if (wsEntity != null)
- {
- int type = wsEntity.getType();
- if (type != WebServiceEntity.TYPE_WSDL)
- needWSDLSelectionTreeWidget = true;
- }
- return Status.OK_STATUS;
- }
-
- public boolean evaluate()
- {
- return needWSDLSelectionTreeWidget;
- }
-
- public String getWebServiceURI()
- {
- return webServiceURI;
- }
-
- public void setWebServiceURI(String webServiceURI)
- {
- this.webServiceURI = webServiceURI;
- }
-
- public String getWsdlURI()
- {
- return getWebServiceURI();
- }
-/**
- * @return Returns the httpBasicAuthPassword.
- */
-public String getHttpBasicAuthPassword() {
- return httpBasicAuthPassword;
-}
-/**
- * @return Returns the httpBasicAuthUsername.
- */
-public String getHttpBasicAuthUsername() {
- return httpBasicAuthUsername;
-}
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java
deleted file mode 100644
index a24276ecf..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060525 142281 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.command.internal.env.ui.widgets.AbstractSelectionDialog;
-import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
-
-public class WSDLSelectionDialog extends AbstractSelectionDialog {
-
- private String titleText_;
- private String wsUri_;
- private String componentName_;
- private IProject project_;
-
- public WSDLSelectionDialog(Shell parent, PageInfo pageInfo) {
- super(parent, pageInfo);
- titleText_ = pageInfo.getPageName();
- }
-
- protected void callSetters()
- {
- ((WSDLSelectionWidgetWrapper)getWidget()).setComponentName(componentName_);
- ((WSDLSelectionWidgetWrapper)getWidget()).setProject(project_);
- ((WSDLSelectionWidgetWrapper)getWidget()).setWebServiceURI(wsUri_);
- }
-
- public void setComponentName(String componentName)
- {
- componentName_ = componentName;
- }
-
- public String getComponentName()
- {
- return componentName_ ;
- }
-
- public void setProject(IProject project)
- {
- project_ = project;
- }
-
- public void setWebServiceURI(String wsUri)
- {
- wsUri_ = wsUri;
- }
-
- protected void setShellStyle(int newShellStyle)
- {
- super.setShellStyle( newShellStyle | SWT.RESIZE );
- }
-
- protected void configureShell(Shell newShell)
- {
- newShell.setText(titleText_);
- super.configureShell(newShell);
- }
-
- public String getDisplayableSelectionString() {
-
- return ((WSDLSelectionWidgetWrapper)getWidget()).getObjectSelectionDisplayableString();
- }
-
- public IStructuredSelection getObjectSelection() {
- return ((WSDLSelectionWidgetWrapper)getWidget()).getObjectSelection();
- }
-
- public String getWebServiceURI()
- {
- return wsUri_;
- }
-
- public IProject getProject(){
- return project_;
- }
-
- public boolean close() {
- setComponentName(((WSDLSelectionWidgetWrapper)getWidget()).getComponentName());
- setProject(((WSDLSelectionWidgetWrapper)getWidget()).getProject());
- setWebServiceURI(((WSDLSelectionWidgetWrapper)getWidget()).getWebServiceURI());
- return super.close();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java
deleted file mode 100644
index 861311e67..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.Map;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class WSDLSelectionOutputCommand extends AbstractDataModelOperation
-{
- private WebServicesParser webServicesParser;
- private String wsdlURI;
- private IProject project;
- private String componentName;
-
- private boolean testService;
-
-
- public boolean getTestService() {
- return testService;
- }
-
-
- public void setTestService(boolean testService) {
- this.testService = testService;
- }
-
- /**
- * @return Returns the project.
- */
- public IProject getProject()
- {
- return project;
- }
-
- /**
- * @param project
- * The project to set.
- */
- public void setProject(IProject project)
- {
- this.project = project;
- }
-
-
-
- public String getComponentName()
- {
- return componentName;
- }
-
- public void setComponentName(String componentName)
- {
- this.componentName = componentName;
- }
-
- public String getWsdlURI()
- {
- return wsdlURI;
- }
-
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- /**
- * @return Returns the webServicesParser.
- */
- public WebServicesParser getWebServicesParser()
- {
- if (webServicesParser != null)
- return webServicesParser;
- else
- return new WebServicesParserExt();
- }
-
- /**
- * @param webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- if (wsdlURI != null && getWebServicesParser().getWSDLDefinition(wsdlURI) != null) {
- IStatus status = Status.OK_STATUS;
- Map services = getWebServicesParser().getWSDLDefinition(wsdlURI).getServices();
- if (services.isEmpty()){
- if (testService==true){
- testService = false;
- status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_WARNING_NO_SERVICE_ELEMENT );
- try{
- env.getStatusHandler().report(status);
- }catch(Exception e){
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_WARNING_NO_SERVICE_ELEMENT );
- }
- }
- }
- return status;
- }
- else
- {
- IStatus status = StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_SELECTION_MUST_BE_WSDL );
- if (env != null)
- {
- env.getStatusHandler().reportError(status);
- }
- return status;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java
deleted file mode 100644
index c92cfef7f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java
+++ /dev/null
@@ -1,288 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060418 136712 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-/**
-* This wizard page allows the user to select the WSDL URI for consumption
-*/
-public class WSDLSelectionTreeWidget extends SimpleWidgetDataContributor
-{
- private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
-
- /*CONTEXT_ID PWWS0001 for the WSDL Selection Page*/
- private final String INFOPOP_PWWS_PAGE = ".PWWS0001";
-
- private WebServicesParser webServicesParser;
- private String webServiceURI;
-
- private Listener statusListener;
- private TreeViewer treeViewer_;
- private TreeContentProvider treeContentProvider;
- private Tree tree_;
- private int pageWidth_;
- private WebServiceEntity entity_;
-
- /**
- * Default constructor.
- */
- public WSDLSelectionTreeWidget()
- {
- }
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
- this.statusListener = statusListener;
- parent.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWWS_PAGE);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, pluginId_ + INFOPOP_PWWS_PAGE);
-
- Label wsdlLabel = new Label(parent, SWT.WRAP);
- wsdlLabel.setText(ConsumptionUIMessages.LABEL_SELECT_WSDL);
- wsdlLabel.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- tree_ = new Tree(parent, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
- GridData gd = new GridData(GridData.FILL_BOTH);
- gd.heightHint = 200;
- tree_.setLayoutData(gd);
- pageWidth_ = tree_.getShell().getSize().x;
- treeViewer_ = new TreeViewer(tree_);
- treeContentProvider = new TreeContentProvider();
- treeViewer_.setContentProvider(treeContentProvider);
- treeViewer_.setLabelProvider(new TreeLabelProvider());
- treeViewer_.addSelectionChangedListener(
- new ISelectionChangedListener()
- {
- public void selectionChanged(SelectionChangedEvent event)
- {
- handleTreeSelectionChangedEvent(event);
- }
- }
- );
- return this;
- }
-
- private void handleTreeSelectionChangedEvent(SelectionChangedEvent event)
- {
- statusListener.handleEvent(new Event());
- }
-
- /**
- * @return Returns the webServicesParser.
- */
- public WebServicesParser getWebServicesParser()
- {
- return webServicesParser;
- }
- /**
- * @param webServicesParser The webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- treeViewer_.setInput(this.webServicesParser);
- refreshTreeViewer();
- }
-
- public void setWebServiceURI(String wsURI)
- {
- webServiceURI = wsURI;
- treeContentProvider.setWebServiceURI(webServiceURI);
- refreshTreeViewer();
- }
-
- public void refreshTreeViewer()
- {
- if (webServicesParser != null && webServiceURI != null)
- {
- treeViewer_.refresh();
- Control shell = tree_.getShell();
- if (tree_.getSize().x > pageWidth_ || shell.getSize().x > pageWidth_)
- {
- tree_.setSize(pageWidth_, tree_.getSize().y);
- shell.setSize(pageWidth_, shell.getSize().y);
- shell.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- shell.redraw();
- }
- }
- }
-
- public void setEnabled(boolean enabled)
- {
- tree_.setEnabled(enabled);
- }
-
- public boolean isEnabled()
- {
- return tree_.isEnabled();
- }
-
- public String getWsdlURI()
- {
- if (entity_ != null)
- return entity_.getURI();
- else
- return webServiceURI;
- }
-
- private WebServiceEntity getSelectionAsWebServiceEntity()
- {
- if (treeViewer_ != null)
- {
- ISelection sel = treeViewer_.getSelection();
- if (!sel.isEmpty() && (sel instanceof IStructuredSelection))
- {
- IStructuredSelection ssel = (IStructuredSelection)sel;
- Object object = ssel.getFirstElement();
- if (object instanceof WebServiceEntity)
- return (WebServiceEntity)object;
- }
- }
- return null;
- }
-
- public IStatus getStatus()
- {
- entity_ = getSelectionAsWebServiceEntity();
- if (entity_ == null || entity_.getType() != WebServiceEntity.TYPE_WSDL)
- return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_SELECTION_MUST_BE_WSDL );
- else
- return Status.OK_STATUS;
- }
-
- private class TreeContentProvider implements ITreeContentProvider
- {
- private String webServiceURI;
-
- public void dispose()
- {
- }
-
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
- {
- }
-
- public Object[] getElements(Object inputElement)
- {
- if (inputElement instanceof WebServicesParser)
- {
- WebServicesParser parser = (WebServicesParser)inputElement;
- Object wsEntity = parser.getWebServiceEntityByURI(webServiceURI);
- if (wsEntity != null)
- return new Object[] {wsEntity};
- }
- return new Object[0];
- }
-
- public Object[] getChildren(Object parentElement)
- {
- if (parentElement instanceof WebServiceEntity)
- {
- List list = ((WebServiceEntity)parentElement).getChildren();
- Object[] objects = new Object[list.size()];
- for (int i = 0; i < objects.length; i++)
- objects[i] = list.get(i);
- return objects;
- }
- return new Object[0];
- }
-
- public Object getParent(Object element)
- {
- if (element instanceof WebServiceEntity)
- return ((WebServiceEntity)element).getParent();
- return new Object[0];
- }
-
- public boolean hasChildren(Object element)
- {
- return (getChildren(element).length > 0);
- }
-
- public void setWebServiceURI(String wsURI)
- {
- webServiceURI = wsURI;
- }
- }
-
- private class TreeLabelProvider implements ILabelProvider
- {
- public Image getImage(Object element)
- {
- switch (((WebServiceEntity)element).getType())
- {
- case WebServiceEntity.TYPE_HTML:
- return WebServiceConsumptionUIPlugin.getImageDescriptor("icons/wsil/html.gif").createImage();
- case WebServiceEntity.TYPE_WSIL:
- return WebServiceConsumptionUIPlugin.getImageDescriptor("icons/wsil/wsil.gif").createImage();
- case WebServiceEntity.TYPE_WSDL:
- return WebServiceConsumptionUIPlugin.getImageDescriptor("icons/wsil/wsdl.gif").createImage();
- default:
- return null;
- }
- }
-
- public String getText(Object element)
- {
- return ((WebServiceEntity)element).getURI();
- }
-
- public void addListener(ILabelProviderListener listener)
- {
- }
-
- public void removeListener(ILabelProviderListener listener)
- {
- }
-
- public boolean isLabelProperty(Object element, String property)
- {
- return true;
- }
-
- public void dispose()
- {
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java
deleted file mode 100644
index fc40135fe..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-
-public class WSDLSelectionWidgetDefaultingCommand extends AbstractDataModelOperation
-{
- private IStructuredSelection selection_;
-
- public String getWebServiceURI()
- {
- if (selection_ != null && !selection_.isEmpty())
- {
- Object firstSel = selection_.getFirstElement();
- if (firstSel instanceof IFile)
- {
- IFile ifile = (IFile)firstSel;
- String ext = ifile.getFileExtension();
- if (ext != null && (ext.equals("wsdl") || ext.equals("wsil") || ext.equals("html")))
- {
- return ifile.getFullPath().toString();
- }
- }
- if (firstSel instanceof ServiceImpl)
- {
- ServiceImpl serviceImpl = (ServiceImpl)firstSel;
- return J2EEActionAdapterFactory.getWSDLURI(serviceImpl);
- }
- if (firstSel instanceof ServiceRef)
- {
- ServiceRef serviceRef = (ServiceRef)firstSel;
- return J2EEActionAdapterFactory.getWSDLURI(serviceRef);
- }
- if (firstSel instanceof WSDLResourceImpl)
- {
- WSDLResourceImpl wsdlRI = (WSDLResourceImpl)firstSel;
- return J2EEActionAdapterFactory.getWSDLURI(wsdlRI);
- }
- if (firstSel instanceof String)
- return (String)firstSel;
- }
- return "";
- }
-
- public void setInitialSelection( IStructuredSelection selection )
- {
- selection_ = selection;
- }
-
- public boolean getGenWSIL()
- {
- return false;
- }
-
- public String getWsilURI()
- {
- String wsURI = getWebServiceURI();
- if (wsURI != null && wsURI.length() > 0 && wsURI.endsWith("wsdl"))
- {
- StringBuffer sb = new StringBuffer(wsURI.substring(0, wsURI.length()-4));
- sb.append("wsil");
- return sb.toString();
- }
- return "";
- }
-
- public IProject getProject()
- {
- IProject p = getProjectFromInitialSelection(selection_);
- return p;
- }
-
- public String getComponentName()
- {
- String cname = getComponentNameFromInitialSelection(selection_);
- return cname;
- }
-
- private IProject getProjectFromInitialSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
- IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
- return p;
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
- private String getComponentNameFromInitialSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
-
- IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
- if (comp!=null)
- {
- return comp.getName();
- }
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java
deleted file mode 100644
index 56a9a6abe..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWrapper;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-public class WSDLSelectionWidgetWrapper extends SimpleWidgetDataContributor
-{
- private WSDLSelectionWidget wsdlSelectionWidget;
- private IProject project;
- private String componentName;
-
- public WSDLSelectionWidgetWrapper()
- {
- wsdlSelectionWidget = new WSDLSelectionWidget();
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener)
- {
- wsdlSelectionWidget.addControls(parent, statusListener);
- return this;
- }
-
- public IStatus getStatus()
- {
- return wsdlSelectionWidget.getStatus();
- }
-
- public void setWebServiceURI(String wsUri)
- {
- IStructuredSelection sel;
- if (wsUri != null)
- sel = new StructuredSelection(wsUri);
- else
- sel = new StructuredSelection();
- wsdlSelectionWidget.setInitialSelection(sel);
- }
-
- public String getWebServiceURI()
- {
- IStructuredSelection sel = wsdlSelectionWidget.getObjectSelection();
- Object object = sel.getFirstElement();
- String result = null;
-
- if (object != null )
- {
- if( object instanceof WSDLSelectionWrapper )
- {
- // Get at the inner structured selection object.
- WSDLSelectionWrapper wrapper = (WSDLSelectionWrapper)object;
- IStructuredSelection innerSelection = wrapper.wsdlSelection;
- Object innerObject = innerSelection.getFirstElement();
-
- result = innerObject == null ? null : innerObject.toString();
- }
- else
- {
- result = object.toString();
- }
- }
-
- return result;
- }
-
- public String getWsdlURI()
- {
- return getWebServiceURI();
- }
-
- public WebServicesParser getWebServicesParser()
- {
- return wsdlSelectionWidget.getWebServicesParser();
- }
-
- public void setProject(IProject project)
- {
- this.project = project;
- }
-
- public IProject getProject()
- {
- IProject p = wsdlSelectionWidget.getProject();
- if (p==null)
- {
- return project;
- }
- else
- return p;
- }
-
- public String getComponentName()
- {
- String cname = wsdlSelectionWidget.getComponentName();
- if (cname==null)
- {
- return componentName;
- }
- else
- return cname;
- }
-
- public void setComponentName(String componentName)
- {
- this.componentName = componentName;
- }
-
- public String getObjectSelectionDisplayableString() {
- if (wsdlSelectionWidget != null)
- {
- return wsdlSelectionWidget.getObjectSelectionDisplayableString();
- }
- else return "";
- }
-
- public IStructuredSelection getObjectSelection() {
- return wsdlSelectionWidget.getObjectSelection();
- }
-
- public boolean validate(String s)
- {
- return wsdlSelectionWidget.validate(s);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java
deleted file mode 100644
index 43620e4d1..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java
+++ /dev/null
@@ -1,1021 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060407 135443 joan@ca.ibm.com - Joan Haggarty
- * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
- * 20060410 136030 kathy@ca.ibm.com - Kathy Chan
- * 20060411 136167 kathy@ca.ibm.com - Kathy Chan
- * 20060417 136390 joan@ca.ibm.com - Joan Haggarty
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 136705 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060421 136761 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060424 138052 kathy@ca.ibm.com - Kathy Chan
- * 20060425 137831 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060426 137622 joan@ca.ibm.com - Joan Haggarty
- * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
- * 20060504 138035 joan@ca.ibm.com - Joan Haggarty
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060607 144826 joan@ca.ibm.com - Joan Haggarty
- * 20060607 144049 joan@ca.ibm.com - Joan Haggarty
- * 20060614 146270 joan@ca.ibm.com - Joan Haggarty
- * 20060717 150577 makandre@ca.ibm.com - Andrew Mak
- * 20060726 150865 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060817 140017 makandre@ca.ibm.com - Andrew Mak, longer project or server/runtime strings do not resize wizard
- * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets;
-
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.window.Window;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ProjectSelectionWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.RuntimeServerSelectionDialog;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.data.LabelsAndIds;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.accessibility.Accessible;
-import org.eclipse.swt.accessibility.AccessibleAdapter;
-import org.eclipse.swt.accessibility.AccessibleControlAdapter;
-import org.eclipse.swt.accessibility.AccessibleControlEvent;
-import org.eclipse.swt.accessibility.AccessibleEvent;
-import org.eclipse.swt.events.ControlEvent;
-import org.eclipse.swt.events.ControlListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Scale;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.forms.HyperlinkGroup;
-import org.eclipse.ui.forms.HyperlinkSettings;
-import org.eclipse.ui.forms.events.HyperlinkEvent;
-import org.eclipse.ui.forms.events.IHyperlinkListener;
-import org.eclipse.ui.forms.widgets.Hyperlink;
-import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class WebServiceClientTypeWidget extends SimpleWidgetDataContributor implements IPackable
-{
- // INFOPOPS
- /* CONTEXT_ID WSWSCEN0022 for the Server hyperlink of the Scenario Page */
- private String INFOPOP_WSWSCEN_HYPERLINK_SERVER = "WSWSCEN0022";
- /* CONTEXT_ID WSWSCEN0023 for the Runtime hyperlink of the Scenario Page */
- private String INFOPOP_WSWSCEN_HYPERLINK_RUNTIME = "WSWSCEN0023";
- /* CONTEXT_ID WSWSCEN0024 for theProjects hyperlink of the Scenario Page */
- private String INFOPOP_WSWSCEN_HYPERLINK_PROJECTS = "WSWSCEN0024";
- /* CONTEXT_ID WSWSCEN0025 for theClient Type combo box of the Scenario Page */
- private String INFOPOP_WSWSCEN_COMBO_CLIENTTYPE = "WSWSCEN0025";
- /* CONTEXT_ID WSWSCEN0026 for theClient Slider of the Scenario Page */
- private String INFOPOP_WSWSCEN_SCALE_CLIENT = "WSWSCEN0026";
-
- private String GRAPHIC_CLIENT_0="icons/client_test.jpg"; //$NON-NLS-N$
- private String GRAPHIC_CLIENT_1="icons/client_run.jpg"; //$NON-NLS-N$
- private String GRAPHIC_CLIENT_2="icons/client_install.jpg"; //$NON-NLS-N$
- private String GRAPHIC_CLIENT_3="icons/client_deploy.jpg"; //$NON-NLS-N$
- private String GRAPHIC_CLIENT_4="icons/client_assemble.jpg"; //$NON-NLS-N$
- private String GRAPHIC_CLIENT_5="icons/client_develop.jpg"; //$NON-NLS-N$
- private String GRAPHIC_CLIENT_6="icons/client_none.jpg"; //$NON-NLS-N$
-
- private String ICON_SCALE_BG_0="icons/scale0_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_1="icons/scale1_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_2="icons/scale2_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_3="icons/scale3_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_4="icons/scale4_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_5="icons/scale5_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_6="icons/scale6_bground.jpg"; //$NON-NLS-N$
-
- private Composite clientComposite_;
- private Composite hCompClient_;
- private Shell shell_;
- private Combo clientTypeCombo_;
- private Scale clientScale_;
- private Label topologySpot_;
- private Label clientDetailsLabel_;
- private Hyperlink hLinkClientRuntime_;
- private Hyperlink hLinkClientServer_;
- private Hyperlink hLinkClientProject_;
- private Hyperlink hLinkClientEAR_;
- private ProjectSelectionDialog projectDialog_;
-
- private boolean developClient_;
- private boolean assembleClient_;
- private boolean deployClient_;
-
- private Boolean testClient_;
- private Boolean installClient_;
- private Boolean startClient_;
-
- private TypeRuntimeServer ids_;
- private IStructuredSelection objectSelection_;
- private boolean enableProxy_; //service scale is set to a level that the client scale can be enabled
- private boolean clientOnly_=false;
- private int clientScaleSetting_;
- private ImageRegistry imageReg_;
- private IProject project_;
- private WebServicesParser parser_;
- private String earProjectName_;
- private String projectName_;
- private boolean needEar_;
- private String clientComponentType_;
-
- private Listener statusListener_;
- private int validationState_;
-
- private ScaleSelectionListener scaleSelectionListener = new ScaleSelectionListener();
-
- private String CLIENT_RUNTIME_PREFIX = ConsumptionUIMessages.LABEL_RUNTIMES_LIST ;
- private String CLIENT_SERVER_PREFIX = ConsumptionUIMessages.LABEL_SERVERS_LIST;
- private String CLIENT_PROJECT_PREFIX = ConsumptionUIMessages.LABEL_CLIENT_PROJECT;
- private String CLIENT_EAR_PREFIX = ConsumptionUIMessages.LABEL_CLIENT_EAR_PROJECT;
-
- private Composite clientGroupComposite_ ;
-
- private UIUtils utils_ = new UIUtils("org.eclipse.jst.ws.consumption.ui");
- private IPackable packable_ = null;
-
- public WebServiceClientTypeWidget(boolean clientOnly) {
- clientOnly_ = clientOnly;
- initImageRegistry();
- validationState_ = ValidationUtils.VALIDATE_ALL;
- }
-
- /**
- * Give this widget a handle to an IPackable instance, which will also be
- * packed when this widget's packIt() is called.
- *
- * @param packable The IPackable instance.
- */
- public void setPackable(IPackable packable) {
- packable_ = packable;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.consumption.ui.widgets.IPackable#packIt()
- */
- public void packIt() {
- clientGroupComposite_.pack(true);
- utils_.horizontalResize(clientGroupComposite_.getShell(), clientGroupComposite_, UIUtils.DEFAULT_PADDING);
- if (!clientOnly_ && packable_ != null)
- packable_.packIt();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#addControls(org.eclipse.swt.widgets.Composite, org.eclipse.swt.widgets.Listener)
- */
- public WidgetDataEvents addControls( Composite parent, Listener statusListener)
- {
- statusListener_ = statusListener;
- Composite clientTypeComposite = new Composite(parent, SWT.NONE);
- GridLayout cclayout = new GridLayout();
- cclayout.numColumns = 2;
- cclayout.marginTop=3;
- clientTypeComposite.setLayout( cclayout );
- GridData ccGridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- clientTypeComposite.setLayoutData(ccGridData);
-
- int comboStyle = SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY;
- clientTypeCombo_ = utils_.createCombo( clientTypeComposite,
- ConsumptionUIMessages.LABEL_WEBSERVICECLIENTTYPE,
- ConsumptionUIMessages.TOOLTIP_PWPR_COMBO_CLIENTTYPE,
- INFOPOP_WSWSCEN_COMBO_CLIENTTYPE,
- comboStyle );
- GridData comboGridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- clientTypeCombo_.setLayoutData(comboGridData);
- clientTypeCombo_.addSelectionListener(new SelectionListener() {
- public void widgetDefaultSelected(SelectionEvent e) {
- }
-
- public void widgetSelected(SelectionEvent e) {
- // TODO - a change in the client type should result in a recalcualtion
- // of page defaults. Not an issue at this point since
- // there is only one possible client type.
- validationState_ = ValidationUtils.VALIDATE_ALL;
- statusListener_.handleEvent(null);
- }
-
- });
-
- clientGroupComposite_ = new Composite(parent, SWT.NONE);
- GridLayout gclayout = new GridLayout();
- gclayout.numColumns = 2;
- gclayout.horizontalSpacing=0;
- gclayout.marginHeight=0;
- gclayout.marginBottom=5;
- clientGroupComposite_.setLayout( gclayout );
- GridData gcGridData = new GridData(SWT.BEGINNING, SWT.BEGINNING, true, true);
- clientGroupComposite_.setLayoutData(gcGridData);
-
- clientGroupComposite_.addControlListener(new ControlListener()
- {
- public void controlMoved(ControlEvent e) {
- // TODO Auto-generated method stub
-
- }
- public void controlResized(ControlEvent e) {
- clientGroupComposite_.pack(true);
- }
- });
-
-
- clientComposite_ = new Composite(clientGroupComposite_, SWT.NONE);
- GridLayout gridlayout = new GridLayout();
- gridlayout.numColumns = 2;
- gridlayout.horizontalSpacing=0;
- gridlayout.marginHeight=0;
- clientComposite_.setLayout( gridlayout );
- GridData scGridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- clientComposite_.setLayoutData(scGridData);
-
- clientScale_ = new Scale(clientComposite_ , SWT.VERTICAL | SWT.BORDER);
- utils_.createInfoPop(clientScale_, INFOPOP_WSWSCEN_SCALE_CLIENT);
- clientScale_.setMinimum(0);
- clientScale_.setMaximum(6);
- clientScale_.setIncrement(1);
- clientScale_.addSelectionListener(scaleSelectionListener);
- setClientScale(getClientGeneration());
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
-
- Accessible accessibleScale = clientScale_.getAccessible();
- accessibleScale.addAccessibleListener(new AccessibleAdapter(){
- // return a string that describes what to do with the slider
- // this is read by the screen reader when the slider first gets focus
- public void getName(AccessibleEvent e) {
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT;
- }
- });
- accessibleScale.addAccessibleControlListener(new AccessibleControlAdapter(){
- // return a meaningful string when the screen reader
- // attempts to get the value from the service scale
- public void getValue(AccessibleControlEvent e) {
- int selection = clientScale_.getSelection();
- switch (selection) {
- case 0:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_TEST;
- break;
- case 1:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_RUN;
- break;
- case 2:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_INSTALL;
- break;
- case 3:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEPLOY;
- break;
- case 4:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_ASSEMBLE;
- break;
- case 5:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP;
- break;
- case 6:
- if (clientOnly_)
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY;
- else
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT;
- break;
- default:
- break;
- }
- }
- });
-
- GridData layoutData1 = new GridData();
- layoutData1.horizontalAlignment=SWT.CENTER;
- layoutData1.verticalAlignment = SWT.BEGINNING;
- Rectangle scaleR = (imageReg_.get(ICON_SCALE_BG_0)).getBounds();
- layoutData1.heightHint=scaleR.height;
- layoutData1.widthHint=scaleR.width+1;
- clientScale_.setLayoutData(layoutData1);
-
- topologySpot_ = new Label(clientComposite_ , SWT.CENTER | SWT.BORDER );
- topologySpot_.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));
- if (clientOnly_)
- topologySpot_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY);
- else
- topologySpot_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
-
- GridData layoutData = new GridData();
- layoutData.verticalAlignment=SWT.BEGINNING;
- layoutData.horizontalAlignment=SWT.BEGINNING;
- Rectangle topR = (imageReg_.get(GRAPHIC_CLIENT_6)).getBounds();
- layoutData.widthHint=topR.width;
- layoutData.heightHint=topR.height;
- topologySpot_.setLayoutData(layoutData);
-
- setGraphics(getClientGeneration());
-
- hCompClient_ = utils_.createComposite(clientGroupComposite_, 1);
-
- clientDetailsLabel_ = new Label(hCompClient_, SWT.NONE);
- clientDetailsLabel_.setText(ConsumptionUIMessages.LABEL_SUMMARY);
-
- hLinkClientServer_= new Hyperlink(hCompClient_, SWT.NULL);
- utils_.createInfoPop(hLinkClientServer_, INFOPOP_WSWSCEN_HYPERLINK_SERVER);
- hLinkClientServer_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_TEXT_SERVER);
- hLinkClientServer_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchRuntimeSelectionDialog(true, true);
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- hLinkClientRuntime_ = new Hyperlink(hCompClient_, SWT.NULL);
- utils_.createInfoPop(hLinkClientRuntime_, INFOPOP_WSWSCEN_HYPERLINK_RUNTIME);
- hLinkClientRuntime_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_TEXT_RUNTIME);
- hLinkClientRuntime_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchRuntimeSelectionDialog(true);
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- IWorkbench workbench = PlatformUI.getWorkbench();
- projectDialog_ = new ProjectSelectionDialog(workbench.getActiveWorkbenchWindow().getShell(),
- new PageInfo(ConsumptionUIMessages.DIALOG_TITILE_CLIENT_PROJECT_SETTINGS, "",
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ProjectSelectionWidget(true);
- }
- }));
-
- hLinkClientProject_ = new Hyperlink(hCompClient_, SWT.NULL);
- utils_.createInfoPop(hLinkClientRuntime_, INFOPOP_WSWSCEN_HYPERLINK_PROJECTS);
- hLinkClientProject_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK);
- hLinkClientProject_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchProjectDialog();
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- hLinkClientEAR_ = new Hyperlink(hCompClient_, SWT.NULL);
- utils_.createInfoPop(hLinkClientRuntime_, INFOPOP_WSWSCEN_HYPERLINK_PROJECTS);
- hLinkClientEAR_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK);
- hLinkClientEAR_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchProjectDialog();
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- hLinkClientServer_.setText(CLIENT_SERVER_PREFIX);
- hLinkClientRuntime_.setText(CLIENT_RUNTIME_PREFIX);
- hLinkClientProject_.setText(CLIENT_PROJECT_PREFIX);
- hLinkClientEAR_.setText(CLIENT_EAR_PREFIX);
-
- HyperlinkGroup serverRuntimeGroup = new HyperlinkGroup(Display.getCurrent());
- serverRuntimeGroup.add(hLinkClientServer_);
- serverRuntimeGroup.add(hLinkClientRuntime_);
- serverRuntimeGroup.add(hLinkClientProject_);
- serverRuntimeGroup.add(hLinkClientEAR_);
- serverRuntimeGroup.setHyperlinkUnderlineMode(HyperlinkSettings.UNDERLINE_ALWAYS);
-
- enableClientSlider(getGenerateProxy());
-
- return this;
- }
-
- public void enableClientSlider( boolean enable )
- {
- enableProxy_ = enable;
- clientScale_.setEnabled(enable);
- int selection = getClientGeneration();
- if (enable)
- {
- setGraphics(selection);
- }
- else
- {
- setClientScale(ScenarioContext.WS_NONE);
- setGraphics(ScenarioContext.WS_NONE);
- clientScale_.setBackgroundImage(null); //override background for disable to grey
- }
- showSummary(enable && (selection <= ScenarioContext.WS_DEVELOP));
- }
-
- private void showSummary(boolean show)
- {
- if (clientOnly_)
- show = true; //short circuit to eliminate flicker...
-
- hLinkClientEAR_.setVisible(show && needEar_);
- hLinkClientProject_.setVisible(show);
- hLinkClientRuntime_.setVisible(show);
- hLinkClientServer_.setVisible(show);
-
- if (show)
- {
- clientDetailsLabel_.setText(ConsumptionUIMessages.LABEL_SUMMARY);
- }
- else
- {
- if (clientOnly_)
- hCompClient_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY);
- else
- hCompClient_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
- clientDetailsLabel_.setText(ConsumptionUIMessages.LABEL_SUMMARY_NO_CLIENT);
- }
- clientDetailsLabel_.pack(true);
- hLinkClientProject_.pack(true);
- hLinkClientEAR_.pack(true);
- packIt();
- }
-
- public void setTypeRuntimeServer( TypeRuntimeServer ids )
- {
- LabelsAndIds labelIds = WebServiceRuntimeExtensionUtils2.getClientTypeLabels();
- int selection = 0;
- String[] clientIds = labelIds.getIds_();
- String selectedId = ids.getTypeId();
-
- // rskreg
- clientTypeCombo_.setItems( labelIds.getLabels_() );
-
- // Now find the selected one.
- for( int index = 0; index < clientIds.length; index++ )
- {
- if( selectedId.equals( clientIds[index ]) )
- {
- selection = index;
- break;
- }
- }
-
- clientTypeCombo_.select( selection );
- ids_ = ids;
-
- if (ids_ != null)
- {
- String clientServerText = "";
- String serverId = ids_.getServerId();
- if (serverId != null && serverId.length()>0)
- {
- clientServerText = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
- }
- String clientRuntimeText = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(ids_.getRuntimeId());
-
- String currentServerText = hLinkClientServer_.getText();
- String currentRuntimeText = hLinkClientRuntime_.getText();
- String newServerText = CLIENT_SERVER_PREFIX + " " + clientServerText;
- String newRuntimeText = CLIENT_RUNTIME_PREFIX + " " + clientRuntimeText;
- hLinkClientServer_.setText(newServerText);
- hLinkClientRuntime_.setText(newRuntimeText);
-
- /*check to see if text has changed for server or runtime
- if so, repaint links */
- if (!newServerText.equals(currentServerText))
- {
- hLinkClientServer_.pack(true);
- packIt();
- }
-
- if (!newRuntimeText.equals(currentRuntimeText))
- {
- hLinkClientRuntime_.pack(true);
- packIt();
- }
- }
-
- if (projectDialog_ != null)
- projectDialog_.setTypeRuntimeServer(ids_);
-
- //When the server changes, the state of needEar could change.
- //If the the server change results in a change in the state of needEar,
- //update needEar and clientEarProjectName.
-
- ValidationUtils vu = new ValidationUtils();
- boolean oldNeedEar = getClientNeedEAR();
- boolean clientProjectOrProjectTypeNeedsEar;
-
- if (!oldNeedEar) {
- // If an EAR was not needed previously it could have been because of
- // the project/project type or the server.
- // If it was because of the project/project type, changing the
- // server should have no impact
- // on the state of needEar.
- clientProjectOrProjectTypeNeedsEar = vu.projectOrProjectTypeNeedsEar(getClientProjectName(),
- getClientComponentType());
- } else {
- clientProjectOrProjectTypeNeedsEar = true;
- }
-
- // boolean clientProjectOrProjectTypeNeedsEar =
- // vu.projectOrProjectTypeNeedsEar(getClientProjectName(),
- // getClientComponentType());
- if (clientProjectOrProjectTypeNeedsEar) {
- // Could not rule out need for an Ear from the project/project type
- // so changing the server
- // may impact the need for an Ear.
- boolean currentServerNeedsEar = vu.serverNeedsEAR(getTypeRuntimeServer().getServerId());
- if (oldNeedEar != currentServerNeedsEar) {
- // Update needEar and serviceEarProjectName.
- if (currentServerNeedsEar) {
- // Calculate a reasonable default for the Ear project name
- String earProjectName = DefaultingUtils.getDefaultEARProjectName(getClientProjectName());
- setClientNeedEAR(currentServerNeedsEar);
- setClientEarProjectName(earProjectName);
- } else {
- setClientNeedEAR(currentServerNeedsEar);
- setClientEarProjectName("");
- }
-
- }
- }
- }
-
- public TypeRuntimeServer getTypeRuntimeServer()
- {
- return ids_;
- }
-
- public boolean getGenerateProxy()
- {
- return getClientGeneration() <= ScenarioContext.WS_DEVELOP;
- }
-
- public boolean getDevelopClient() {
- return developClient_;
- }
-
- public void setDevelopClient(boolean developClient) {
- this.developClient_ = developClient;
- }
-
- public boolean getAssembleClient() {
- return assembleClient_;
- }
-
- public void setAssembleClient(boolean assembleClient) {
- this.assembleClient_ = assembleClient;
- }
-
- public boolean getDeployClient() {
- return deployClient_;
- }
-
- public void setDeployClient(boolean deployClient) {
- this.deployClient_ = deployClient;
- }
-
- public void setTestClient(Boolean value)
- {
- testClient_ = value;
- }
-
- public Boolean getTestClient()
- {
- return testClient_;
- }
-
- public Boolean getInstallClient()
- {
- return installClient_;
- }
-
- public Boolean getStartClient()
- {
- return startClient_;
- }
-
- public void setInstallClient( Boolean value )
- {
- installClient_ = value;
- }
-
- public void setStartClient( Boolean value )
- {
- startClient_ = value;
- }
-
-
- private void launchProjectDialog()
- {
- String currentProjectName = getClientProjectName();
- String currentEarProjectName = getClientEarProjectName();
- String currentProjectType = getClientComponentType();
- boolean currentNeedEar = getClientNeedEAR();
-
- projectDialog_.setProjectName(currentProjectName);
- projectDialog_.setEarProjectName(currentEarProjectName);
- projectDialog_.setNeedEAR(currentNeedEar);
- projectDialog_.setProjectComponentType(currentProjectType);
-
- int status = projectDialog_.open();
-
- if (status == Window.OK)
- {
- String newProjectName = projectDialog_.getProjectName();
- String newEarProjectName = projectDialog_.getEarProjectName();
- String newProjectType = projectDialog_.getProjectComponentType();
- boolean newNeedEar = projectDialog_.getNeedEAR();
-
- //Update project settings and validate page if selections changed.
- if (!newProjectName.equals(currentProjectName)
- || !newEarProjectName.equals(currentEarProjectName)
- || !newProjectType.equals(currentProjectType)
- || newNeedEar != currentNeedEar) {
- setClientProjectName(newProjectName);
- setClientEarProjectName(newEarProjectName);
- setClientNeedEAR(newNeedEar);
- setClientComponentType(newProjectType);
- validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_PROJECT_CHANGES);
- statusListener_.handleEvent(null);
- }
-
- /*check to see if text has changed for project or EAR
- if so, repaint links */
- if (!newProjectName.equals(currentProjectName))
- {
- hLinkClientProject_.pack(true);
- packIt();
- }
- if (!newEarProjectName.equals(currentEarProjectName))
- {
- hLinkClientEAR_.pack(true);
- packIt();
- }
- }
- }
-
- private void launchRuntimeSelectionDialog(boolean clientContext) {
- launchRuntimeSelectionDialog(clientContext, false);
- }
-
- private void launchRuntimeSelectionDialog(boolean clientContext, boolean selectServerFirst)
- {
- TypeRuntimeServer currentClientTRS = getTypeRuntimeServer();
- RuntimeServerSelectionDialog rssd = new RuntimeServerSelectionDialog(shell_, (byte)1, getTypeRuntimeServer(), "14");
- rssd.setSelectServerFirst(selectServerFirst);
- int status = rssd.open();
- if (status == Window.OK)
- {
- TypeRuntimeServer newClientTRS = rssd.getTypeRuntimeServer();
- if (!currentClientTRS.equals(newClientTRS))
- {
- setTypeRuntimeServer(rssd.getTypeRuntimeServer());
- validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_SERVER_RUNTIME_CHANGES);
- statusListener_.handleEvent(null); //validate the page
- }
- }
- }
-
- //Private method should be used whenever clientScale_ setting is changed
- //instead of calling clientScale_.setSelection directly.
- private void setClientScale(int setting)
- {
- clientScale_.setSelection(setting);
- clientScaleSetting_ = setting;
- }
-
- protected void initImageRegistry()
- {
- imageReg_ = new ImageRegistry(Display.getCurrent());
-
- imageReg_.put(ICON_SCALE_BG_0, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_0));
- imageReg_.put(ICON_SCALE_BG_1, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_1));
- imageReg_.put(ICON_SCALE_BG_2, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_2));
- imageReg_.put(ICON_SCALE_BG_3, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_3));
- imageReg_.put(ICON_SCALE_BG_4, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_4));
- imageReg_.put(ICON_SCALE_BG_5, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_5));
- imageReg_.put(ICON_SCALE_BG_6, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_6));
-
- imageReg_.put(GRAPHIC_CLIENT_0, WebServiceConsumptionUIPlugin
- .getImageDescriptor(GRAPHIC_CLIENT_0));
- imageReg_.put(GRAPHIC_CLIENT_1, WebServiceConsumptionUIPlugin
- .getImageDescriptor(GRAPHIC_CLIENT_1));
- imageReg_.put(GRAPHIC_CLIENT_2, WebServiceConsumptionUIPlugin
- .getImageDescriptor(GRAPHIC_CLIENT_2));
- imageReg_.put(GRAPHIC_CLIENT_3, WebServiceConsumptionUIPlugin
- .getImageDescriptor(GRAPHIC_CLIENT_3));
- imageReg_.put(GRAPHIC_CLIENT_4, WebServiceConsumptionUIPlugin
- .getImageDescriptor(GRAPHIC_CLIENT_4));
- imageReg_.put(GRAPHIC_CLIENT_5, WebServiceConsumptionUIPlugin
- .getImageDescriptor(GRAPHIC_CLIENT_5));
- imageReg_.put(GRAPHIC_CLIENT_6, WebServiceConsumptionUIPlugin
- .getImageDescriptor(GRAPHIC_CLIENT_6));
- }
-
- private void setGraphics(int selection)
- {
- String iconImage = "";
- String topologyImage = "";
-
- //TODO: change the hard coded integers here to the the ScenarioContext.WS_xxx when in less critical phase
- switch (selection) {
- case 0:
- iconImage=ICON_SCALE_BG_0;
- topologyImage=GRAPHIC_CLIENT_0;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_TEST);
- break;
- case 1:
- iconImage=ICON_SCALE_BG_1;
- topologyImage=GRAPHIC_CLIENT_1;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_RUN);
- break;
- case 2:
- iconImage=ICON_SCALE_BG_2;
- topologyImage=GRAPHIC_CLIENT_2;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_INSTALL);
- break;
- case 3:
- iconImage=ICON_SCALE_BG_3;
- topologyImage=GRAPHIC_CLIENT_3;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEPLOY);
- break;
- case 4:
- iconImage=ICON_SCALE_BG_4;
- topologyImage=GRAPHIC_CLIENT_4;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_ASSEMBLE);
- break;
- case 5:
- iconImage=ICON_SCALE_BG_5;
- topologyImage=GRAPHIC_CLIENT_5;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP);
- break;
- case 6:
- if (!clientOnly_)
- {
- if (enableProxy_) //if service is install run or test...
- iconImage=ICON_SCALE_BG_6;
- else
- iconImage=null;
- topologyImage=GRAPHIC_CLIENT_6;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
- }
- else
- {
- setClientScale(ScenarioContext.WS_DEVELOP); //"no selection" is not allowed...must develop client @ minimum
- iconImage=ICON_SCALE_BG_5;
- topologyImage=GRAPHIC_CLIENT_5;
- clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP);
- }
- break;
- default:
- break;
- }
- clientScale_.setBackgroundImage(imageReg_.get(iconImage));
- topologySpot_.setImage(imageReg_.get(topologyImage));
- }
-
- public IStructuredSelection getObjectSelection()
- {
- return objectSelection_;
- }
-
- public void setObjectSelection(IStructuredSelection selection)
- {
- objectSelection_ = selection;
- }
-
- public int getClientGeneration()
- {
- return clientScaleSetting_;
- }
-
- public void setClientGeneration(int value)
- {
- if (clientOnly_ && value == ScenarioContext.WS_NONE) {
- value = ScenarioContext.WS_DEVELOP;
- setDevelopClient(true);
- }
-
- clientScaleSetting_ = value;
- setClientScale(value);
-
- setGraphics(value);
- showSummary(value < ScenarioContext.WS_NONE);
- }
-
- public void setProject(IProject project)
- {
- project_ = project;
- }
-
- public IProject getProject()
- {
- return project_;
- }
-
- public String getClientRuntimeId()
- {
- // calculate the most appropriate clientRuntimeId based on current settings.
- return WebServiceRuntimeExtensionUtils2.getClientRuntimeId(getTypeRuntimeServer(), getClientProjectName(), getClientComponentType());
-
- }
-
- public void setClientComponentType(String type)
- {
- clientComponentType_= type;
- }
-
- public String getClientComponentType()
- {
- return clientComponentType_;
- }
-
- public void setClientProjectName(String name)
- {
- projectName_ = name;
- hLinkClientProject_.setText(CLIENT_PROJECT_PREFIX + " " + projectName_);
- hLinkClientProject_.pack(true);
- packIt();
- }
-
- public String getClientProjectName()
- {
- if (projectName_ == null)
- return "";
- return projectName_;
- }
-
- public void setClientEarProjectName(String name)
- {
- earProjectName_ = name;
- refreshEARLink();
-
- }
-
- public void refreshEARLink()
- {
- hLinkClientEAR_.setVisible(needEar_ && getGenerateProxy());
- if (needEar_)
- {
- hLinkClientEAR_.setText(CLIENT_EAR_PREFIX + " " + earProjectName_);
- hLinkClientEAR_.pack(true);
- packIt();
- }
- }
-
- public String getClientEarProjectName()
- {
- if (earProjectName_ == null)
- return "";
- return earProjectName_;
- }
-
- public void setClientNeedEAR(boolean b)
- {
- needEar_ = b;
- refreshEARLink();
- }
-
- public boolean getClientNeedEAR()
- {
- return needEar_;
- }
-
- public WebServicesParser getWebServicesParser()
- {
- return parser_;
- }
-
- public void setWebServicesParser(WebServicesParser parser)
- {
- parser_ = parser;
- }
-
- //for the purposes of disabling the service implementation controls from the preferences dialog
- public void disableNonPreferenceWidgets()
- {
- if (hCompClient_ != null)
- {
- hCompClient_.setVisible(false);
- }
- }
-
- public int getValidationState()
- {
- return validationState_;
- }
-
- public void setValidationState(int state)
- {
- validationState_ = state;
- }
-
- public IStatus checkMissingFieldStatus() {
-
- ValidationUtils valUtils = new ValidationUtils();
- String runtimeId = getTypeRuntimeServer().getRuntimeId();
- String serverId = getTypeRuntimeServer().getServerId();
- String projectName = getClientProjectName();
- boolean needEar = getClientNeedEAR();
- String earProjectName = getClientEarProjectName();
- String projectTypeId = getClientComponentType();
- IStatus missingFieldStatus = valUtils.checkMissingFieldStatus(validationState_, null, null, runtimeId, serverId,
- projectName, needEar, earProjectName, projectTypeId, true);
- return missingFieldStatus;
- }
-
- public IStatus checkErrorStatus() {
-
- ValidationUtils valUtils = new ValidationUtils();
- String runtimeId = getTypeRuntimeServer().getRuntimeId();
- String serverId = getTypeRuntimeServer().getServerId();
- String typeId = getTypeRuntimeServer().getTypeId();
- String projectName = getClientProjectName();
- boolean needEar = getClientNeedEAR();
- String earProjectName = getClientEarProjectName();
- String projectTypeId = getClientComponentType();
- IStatus possibleErrorStatus = valUtils.checkErrorStatus(validationState_, typeId, runtimeId, serverId,
- projectName, needEar, earProjectName, projectTypeId, true);
- return possibleErrorStatus;
- }
-
- public IStatus checkWarningStatus() {
- ValidationUtils valUtils = new ValidationUtils();
-
- int scaleSetting = getClientGeneration();
- String serverId = getTypeRuntimeServer().getServerId();
- IStatus warningStatus = valUtils.checkWarningStatus(validationState_, scaleSetting, serverId, true);
- return warningStatus;
- }
-
-
- private class ScaleSelectionListener implements SelectionListener
- {
- public void widgetSelected(SelectionEvent e) {
- int oldClientScaleSetting = clientScaleSetting_;
-
- setGraphics(((Scale)e.widget).getSelection());
-
- int selection = clientScale_.getSelection();
- setClientGeneration(selection);
-
- setDevelopClient(selection <= ScenarioContext.WS_DEVELOP);
- setAssembleClient(selection <= ScenarioContext.WS_ASSEMBLE);
- setDeployClient(selection <= ScenarioContext.WS_DEPLOY);
- setTestClient(new Boolean(selection <= ScenarioContext.WS_TEST));
- setInstallClient(new Boolean(selection <= ScenarioContext.WS_INSTALL));
- setStartClient(new Boolean(selection <= ScenarioContext.WS_START));
-
- //disable the client settings if the client scenario setting isn't at least "DEVELOP"
- boolean generate = selection<=ScenarioContext.WS_DEVELOP;
- showSummary(generate);
-
-
- //When client slider moves out of the "WS_NONE" state, VALIDATE_ALL should be done.
- //Otherwise, VALIDATE_SCALE_CHANGES is sufficient.
- if (oldClientScaleSetting==ScenarioContext.WS_NONE && clientScaleSetting_!=ScenarioContext.WS_NONE)
- {
- validationState_ = ValidationUtils.VALIDATE_ALL;
- }
- else
- {
- validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_SCALE_CHANGES);
- }
- statusListener_.handleEvent(null); //validate the page
- }
-
-
- public void widgetDefaultSelected(SelectionEvent e) {
- widgetSelected(e);
- }
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java
deleted file mode 100644
index 49b54a4a9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java
+++ /dev/null
@@ -1,466 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060204 121605 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060223 129020 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060406 135350 kathy@ca.ibm.com - Kathy Chan
- * 20060407 135415 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060425 138052 kathy@ca.ibm.com - Kathy Chan
- * 20060517 141880 pmoogk@ca.ibm.com - Peter Moogk
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060530 144358 kathy@ca.ibm.com - Kathy Chan
- * 20060530 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060717 146332 makandre@ca.ibm.com - Andrew Mak
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
- * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.consumption.command.common.GetMonitorCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.CheckForServiceProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
-import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ScenarioCleanupCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.extension.ClientRootFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestDelegateCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishDefaultCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishTestFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.TestDefaultingFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceClientTestArrivalCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-import org.eclipse.wst.ws.internal.extensions.AssembleClientFragment;
-import org.eclipse.wst.ws.internal.extensions.DeployClientFragment;
-import org.eclipse.wst.ws.internal.extensions.DevelopClientFragment;
-import org.eclipse.wst.ws.internal.extensions.InstallClientFragment;
-import org.eclipse.wst.ws.internal.extensions.RunClientFragment;
-
-
-public class ClientWidgetBinding implements CommandWidgetBinding
-{
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- return new ClientRootCommandFragment();
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- //jvh mapping for initialselection????
-
- // Before ClientWizardWidget
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "InstallClient", ClientWizardWidget.class );
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidget.class );
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "MonitorService", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientGeneration", ClientWizardWidget.class );
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidget.class );
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DevelopClient", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "AssembleClient", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DeployClient", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "StartClient", ClientWizardWidget.class);
-
- // After ClientWizardWidget
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "InstallClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "TestService", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "MonitorService", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "DevelopClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "AssembleClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "DeployClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "StartClient", ClientWizardWidgetOutputCommand.class);
-
- //jvh added..
- dataRegistry.addMapping(ClientWizardWidget.class, "Project", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "WebServicesParser", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "WsdlURI", ClientWizardWidgetOutputCommand.class);
-
- //jvh - rerouted the defaulting command to the ClientWizardWidget
- // Before ClientRuntimeSelectionWidget
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientWizardWidget.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ClientWizardWidget.class);
-
- //jvh - rerouted from ClientWizardWidget instead of runtimeserverwidget- add getters to ClientWizardWidget for them
- // After ClientRuntimeSelectionWidget
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidget.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
-
- // Before WSDLSelectionWidgetWrapper
- // jvh - rerouted these to ClientWizardWidget
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientWizardWidget.class );
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", ClientWizardWidget.class );
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "ComponentName", ClientWizardWidget.class );
-
-/* // After WSDLSelectionWidgetWrapper
- //jvh - reroute these from the dialog to ClientWizardWidget - call setters on the other dialogs...
- dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "WsdlURI", WSDLSelectionOutputCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "WebServicesParser", WSDLSelectionOutputCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "Project", WSDLSelectionOutputCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "ComponentName", WSDLSelectionOutputCommand.class);
-*/
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy",TestDefaultingFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientRuntimeId",TestDefaultingFragment.class);
-
- // Before Client Test widget.
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService",FinishTestFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestWidget.class );
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", FinishTestFragment.class );
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", ClientTestWidget.class );
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientTestWidget.class );
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject", ClientTestWidget.class );
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR", ClientTestWidget.class );
- dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunTestClient",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestWidget.class);
-
- // After the client test widget
- dataRegistry.addMapping(ClientTestWidget.class, "SampleProjectEAR",FinishDefaultCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "SampleProject",FinishDefaultCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "Folder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "JspFolder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "RunTestClient",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "Methods",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestService",FinishTestFragment.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestID",FinishTestFragment.class);
- dataRegistry.addMapping(ClientTestWidget.class, "IsTestWidget",FinishTestFragment.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
-
- widgetRegistry.add( "ClientWizardWidget",
- ConsumptionUIMessages.PAGE_TITLE_WS_PROJECT,
- ConsumptionUIMessages.PAGE_DESC_WS_PROJECT,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ClientWizardWidget();
- }
- } );
-
- //jvh
- /*widgetRegistry.add( "ClientRuntimeSelectionWidget",
- ConsumptionUIMessages.PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION,
- ConsumptionUIMessages.PAGE_DESC_WS_CLIENT_RUNTIME_SELECTION,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ClientRuntimeSelectionWidget();
- }
- } );*/
-
- //jvh
- /*widgetRegistry.add( "WSDLSelectionWidgetWrapper",
- ConsumptionUIMessages.PAGE_TITLE_WS_SELECTION,
- ConsumptionUIMessages.PAGE_DESC_WS_SELECTION,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new WSDLSelectionWidgetWrapper();
- }
- } );*/
-
- widgetRegistry.add( "ClientTestWidget",
- ConsumptionUIMessages.PAGE_TITLE_WS_SAMPLE,
- ConsumptionUIMessages.PAGE_DESC_WS_SAMPLE,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ClientTestWidget();
- }
- });
- }
-
- private class ClientRootCommandFragment extends SequenceFragment
- {
- public ClientRootCommandFragment()
- {
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
-
- //add( new SimpleFragment( new CheckForMissingFiles(), "" ) );
- add( new SimpleFragment( new ClientWizardWidgetDefaultingCommand(true), "" ) );
- add( new SimpleFragment( new WSDLSelectionWidgetDefaultingCommand(), "")); //jvh moved this up
- add( new SimpleFragment( new ClientRuntimeSelectionWidgetDefaultingCommand(), "")); //jvh moved this up
- add( new SimpleFragment( "ClientWizardWidget" ) );
- //add( new TestCommandFactoryFragment() );
- add( new SimpleFragment( new ClientWizardWidgetOutputCommand(), "" ));
-
- //add( new TestCommandFactoryFragment2() );
- //add( new SimpleFragment( new CheckForServiceProjectCommand(), ""));
- add( new SimpleFragment( new ClientExtensionDefaultingCommand( true ), ""));
- //add(new SimpleFragment(new ClientServerDeployableConfigCommand(false), "")); //Note: added here for client
- //add( new ClientExtensionFragment() );
- add( new ClientRootFragment() );
- add( new SimpleFragment( new ClientExtensionOutputCommand(), "" ) );
- add( new SimpleFragment(new GetMonitorCommand(), ""));
- add( new SimpleFragment(new TestDefaultingFragment(),""));
- add( new ClientTestFragment( "ClientTestWidget") );
- add(new FinishFragment());
-
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- //Map SelectionCommand
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientRuntimeSelectionWidgetDefaultingCommand.class, "InitialInitialSelection", null);
-
- // Map ClientWizardWidgetDefaultingCommand command.
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "InstallClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "RunTestClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "MonitorService", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DevelopClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "AssembleClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DeployClient", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "StartClient", ClientWizardWidgetOutputCommand.class);
-
-
- // Map ClientWizardWidgetOutputCommand command.
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "InstallClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "RunTestClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "StartClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DevelopClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "AssembleClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DeployClient", ClientExtensionDefaultingCommand.class);
-
-
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "MonitorService", GetMonitorCommand.class);
-
- // Map ClientRuntimeSelectionWidgetDefaultingCommand command
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientJ2EEVersion", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", CheckForServiceProjectCommand.class);
-
- // Map WSDLSelectionWidgetDefaultingCommand command.
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", WSDLSelectionWidgetDefaultingCommand.class );
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientRuntimeSelectionWidgetDefaultingCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
-
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "GenWSIL", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WsilURI", ClientExtensionDefaultingCommand.class);
- //jvh - rerouted these to the ClientWizardWidgetOutputCommand
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientWizardWidgetOutputCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "ComponentName", ClientWizardWidgetOutputCommand.class);
-
- // WSDLSelectionOutputCommand
- //jvh - rerouted these from ClientWizardWidgetOutputCommand
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WsdlURI", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WebServicesParser", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WsdlURI", GetMonitorCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WebServicesParser", GetMonitorCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WsdlURI", CheckForServiceProjectCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WebServicesParser", CheckForServiceProjectCommand.class);
-
-
- //jvh - add code to widget so that the appropriate sets happen and defaulting occurs again after object selection
- /*dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "Project", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", ClientRuntimeSelectionWidgetDefaultingCommand.class);*/
-
- // Setup the PreClientDevelopCommand.
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DeployClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "InstallClient", PreClientDevelopCommand.class);
-
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DevelopClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "AssembleClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "StartClient", PreClientDevelopCommand.class, "StartService", null);
-
-
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "TestService", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientJ2EEVersion", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProject", PreClientDevelopCommand.class, "Module", null );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectType", PreClientDevelopCommand.class, "ModuleType", null);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectEAR", PreClientDevelopCommand.class, "Ear", null );
- dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "WsdlURI", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientRuntimeId", PreClientDevelopCommand.class );
-
- dataRegistry.addMapping( PreClientDevelopCommand.class, "WebService", ClientExtensionOutputCommand.class, "WebServiceClient", null );
-
- // Map ClientExtensionDefaultingCommand command.
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
-
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject", WebServiceClientTestArrivalCommand.class);
-
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy", ClientTestFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestFragment.class );
-
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientNeedEAR", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class,"ClientEarComponentName", null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServer", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "WsdlURI", ClientTestDelegateCommand.class);
-
- // Map ClientExtensionOutputCommand command.
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyEndpoint", GetMonitorCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", ClientTestFragment.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", FinishTestFragment.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "SetEndpointMethod", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ServerInstanceId", FinishDefaultCommand.class);
-
-
- // GetMonitorCommand
- dataRegistry.addMapping(GetMonitorCommand.class, "Endpoints", ClientTestDelegateCommand.class);
-
- // MAP post server config call
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", ClientExtensionOutputCommand.class, "EarProjectName", null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ClientExtensionOutputCommand.class, "ExistingServerId", null);
-
- // Map WebServiceClientTestArrivalCommand command.
- dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunClientTest",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR",ClientTestDelegateCommand.class);
-
-
- //Mappings to enable peek-ahead for Page 3 of the client wizard
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DevelopClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DevelopClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DevelopClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DevelopClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DevelopClientFragment.class, "Ear", null );
-
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", AssembleClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", AssembleClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", AssembleClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", AssembleClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", AssembleClientFragment.class, "Ear", null );
-
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DeployClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DeployClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DeployClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DeployClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DeployClientFragment.class, "Ear", null );
-
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", InstallClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", InstallClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", InstallClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", InstallClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", InstallClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", InstallClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", InstallClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", InstallClientFragment.class, "Ear", null );
-
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", RunClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", RunClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", RunClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", RunClientFragment.class );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", RunClientFragment.class, "Project", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", RunClientFragment.class, "Module", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", RunClientFragment.class, "EarProject", null );
- dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", RunClientFragment.class, "Ear", null );
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java
deleted file mode 100644
index 16b3fa8a0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060517 142339 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.GenerateHandlerSkeletonCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigClientHandlersTableWidget;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-/**
- *
- * Handler Configuration Window - Preferences - Java - Code Generation - Code
- * and Comments
- */
-public class ConfigClientHandlersWidgetBinding implements CommandWidgetBinding
-{
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry) {
-
- widgetRegistry.add("ConfigClientHandlersTableWidget",
- ConsumptionUIMessages.PAGE_TITLE_CLIENT_HDLR_CONFIG,
- ConsumptionUIMessages.PAGE_DESC_CLIENT_HDLR_CONFIG,
- new WidgetContributorFactory() {
-
- public WidgetContributor create() {
- return new ConfigClientHandlersTableWidget();
- }
- });
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry) {
-
- // widget
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"HandlerServiceRefHolder", ConfigClientHandlersTableWidget.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ConfigClientHandlersTableWidget.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigClientHandlersTableWidget.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ServiceRefName", ConfigClientHandlersTableWidget.class);
-
- // output
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ClientHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ClientProject", ClientHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", ClientHandlersWidgetOutputCommand.class);
-
- // gen skeleton
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", GenerateHandlerSkeletonCommand.class);
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
-
- // open in editor
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory#create()
- */
- public CommandFragmentFactory create() {
- return new CommandFragmentFactory() {
-
- public CommandFragment create() {
-
- return new ClientHandlersConfigCommandFragment();
- }
- };
- }
-
- private class ClientHandlersConfigCommandFragment extends SequenceFragment{
-
- public ClientHandlersConfigCommandFragment()
- {
- add( new SimpleFragment( new ClientHandlersWidgetDefaultingCommand(), "" ));
- add( new SimpleFragment( "ConfigClientHandlersTableWidget" ) );
- add( new SimpleFragment( new ClientHandlersWidgetOutputCommand(), "" ));
- add( new SimpleFragment( new GenerateHandlerSkeletonCommand(), ""));
- add( new SimpleFragment( new OpenJavaEditorCommand(), ""));
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientHandlersWidgetDefaultingCommand.class);
-
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"WsServiceRefs", ClientHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ClientProject", ClientHandlersWidgetOutputCommand.class);
- }
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java
deleted file mode 100644
index 452747b69..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.GenerateHandlerSkeletonCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigServiceHandlersTableWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetOutputCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-/**
- *
- * Handler Configuration Window - Preferences - Java - Code Generation - Code
- * and Comments
- */
-public class ConfigServiceHandlersWidgetBinding implements CommandWidgetBinding {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry) {
-
- widgetRegistry.add("ConfigServiceHandlersTableWidget",
- ConsumptionUIMessages.PAGE_TITLE_SERVICE_HDLR_CONFIG,
- ConsumptionUIMessages.PAGE_DESC_SERVICE_HDLR_CONFIG,
- new WidgetContributorFactory() {
-
- public WidgetContributor create() {
- return new ConfigServiceHandlersTableWidget();
- }
- });
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry) {
-
- // widget
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"HandlerDescriptionHolders", ConfigServiceHandlersTableWidget.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ConfigServiceHandlersTableWidget.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigServiceHandlersTableWidget.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"DescriptionName", ConfigServiceHandlersTableWidget.class);
-
- // output command (adds/removes from model)
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", ServiceHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ServiceHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"WsddResource", ServiceHandlersWidgetOutputCommand.class);
-
- // gen skeleton command
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", GenerateHandlerSkeletonCommand.class);
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
-
- // open Java editor
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory#create()
- */
- public CommandFragmentFactory create() {
- return new CommandFragmentFactory() {
-
- public CommandFragment create() {
-
- return new ServiceHandlersConfigCommandFragment();
- }
- };
- }
-
- private class ServiceHandlersConfigCommandFragment extends SequenceFragment{
-
- public ServiceHandlersConfigCommandFragment()
- {
- add( new SimpleFragment( new ServiceHandlersWidgetDefaultingCommand(), "" ));
- add( new SimpleFragment( "ConfigServiceHandlersTableWidget" ) );
- add( new SimpleFragment( new ServiceHandlersWidgetOutputCommand(), "" ));
- add( new SimpleFragment( new GenerateHandlerSkeletonCommand(), ""));
- add( new SimpleFragment( new OpenJavaEditorCommand(), ""));
-
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ServiceHandlersWidgetDefaultingCommand.class);
-
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "WsddResource", ServiceHandlersWidgetOutputCommand.class);
-
-
- }
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java
deleted file mode 100644
index 53969b4b9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java
+++ /dev/null
@@ -1,256 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004,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
- * -------- -------- -----------------------------------------------------------
- * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.GenerateHandlerSkeletonCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigClientHandlersTableWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigServiceHandlersTableWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.HandlersDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetOutputCommand;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-public class ConfigureHandlersWidgetBinding implements CommandWidgetBinding {
-
-
- public ConfigureHandlersWidgetBinding() {
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create() {
- return new CommandFragmentFactory() {
-
- public CommandFragment create() {
- return new HandlersCommandFragment();
- }
- };
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
- }
-
- /*
- * (non-Javadoc),
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry) {
-
- // Map client-side widgets to commands
- // widget
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"HandlerServiceRefHolder", ConfigClientHandlersTableWidget.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ConfigClientHandlersTableWidget.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigClientHandlersTableWidget.class);
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ServiceRefName", ConfigClientHandlersTableWidget.class);
-
- // output
-
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", ClientHandlersWidgetOutputCommand.class);
-
- // gen skeleton
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", GenerateHandlerSkeletonCommand.class);
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
-
- // open in editor
- dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
-
-
- // Map service-side widgets to commands
- // widget
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"HandlerDescriptionHolders", ConfigServiceHandlersTableWidget.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ConfigServiceHandlersTableWidget.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigServiceHandlersTableWidget.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"DescriptionName", ConfigServiceHandlersTableWidget.class);
-
- // output command (adds/removes from model)
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", ServiceHandlersWidgetOutputCommand.class);
-
-
- // gen skeleton command
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", GenerateHandlerSkeletonCommand.class);
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
-
- // open Java editor
- dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry) {
-
- widgetRegistry.add("ConfigServiceHandlersTableWidget", ConsumptionUIMessages.PAGE_TITLE_SERVICE_HDLR_CONFIG,
- ConsumptionUIMessages.PAGE_DESC_SERVICE_HDLR_CONFIG, new WidgetContributorFactory() {
-
- public WidgetContributor create() {
- return new ConfigServiceHandlersTableWidget();
- }
- });
-
- widgetRegistry.add("ConfigClientHandlersTableWidget", ConsumptionUIMessages.PAGE_TITLE_CLIENT_HDLR_CONFIG,
- ConsumptionUIMessages.PAGE_DESC_CLIENT_HDLR_CONFIG, new WidgetContributorFactory() {
-
- public WidgetContributor create() {
- return new ConfigClientHandlersTableWidget();
- }
- });
-
- }
-
- private class HandlersCommandFragment extends SequenceFragment {
-
- public HandlersCommandFragment() {
-
- add(new SimpleFragment(new HandlersDefaultingCommand(), ""));
-
- add(new ServiceHandlersFragment());
- add(new ClientHandlersFragment());
- }
-
- public void registerDataMappings(DataMappingRegistry dataRegistry) {
-
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", HandlersDefaultingCommand.class);
-
- dataRegistry.addMapping(HandlersDefaultingCommand.class, "IsClientHandler", ClientHandlersFragment.class, "ClientHandlersEnabled", null);
- dataRegistry.addMapping(HandlersDefaultingCommand.class, "IsServiceHandler", ServiceHandlersFragment.class, "ServiceHandlersEnabled", null);
-
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ClientHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
-
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ServiceHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"WsddResource", ServiceHandlersWidgetOutputCommand.class);
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
- dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
-
- }
-
- public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
- }
- }
-
- private class ClientHandlersFragment extends BooleanFragment {
-
- boolean isClient_ = false;
-
- public ClientHandlersFragment() {
- setCondition(new Condition() {
-
- public boolean evaluate() {
- return isClient_;
- }
- });
-
- SequenceFragment clientHandlersRootFragment = new SequenceFragment();
-
- clientHandlersRootFragment.add(new SimpleFragment(new ClientHandlersWidgetDefaultingCommand(), ""));
-
- clientHandlersRootFragment.add(new SimpleFragment("ConfigClientHandlersTableWidget"));
- clientHandlersRootFragment.add(new SimpleFragment(new ClientHandlersWidgetOutputCommand(), ""));
- clientHandlersRootFragment.add(new SimpleFragment(new GenerateHandlerSkeletonCommand(), ""));
-
- setTrueFragment(clientHandlersRootFragment);
- }
-
- public void setClientHandlersEnabled(boolean isClient) {
- isClient_ = isClient;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry) {
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientHandlersWidgetDefaultingCommand.class);
-
- dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class, "ClientProject", ClientHandlersWidgetOutputCommand.class);
-
- }
-
- }
-
- private class ServiceHandlersFragment extends BooleanFragment {
-
- boolean isService_ = false;
-
- public ServiceHandlersFragment() {
- setCondition(new Condition() {
-
- public boolean evaluate() {
- return isService_;
- }
- });
-
- SequenceFragment serviceHandlersRootFragment = new SequenceFragment();
- serviceHandlersRootFragment.add(new SimpleFragment(new ServiceHandlersWidgetDefaultingCommand(), ""));
-
- SequenceFragment serviceHandlersFragment = new SequenceFragment();
- serviceHandlersFragment.add(new SimpleFragment("ConfigServiceHandlersTableWidget"));
- serviceHandlersFragment.add(new SimpleFragment(new ServiceHandlersWidgetOutputCommand(), ""));
- serviceHandlersFragment.add(new SimpleFragment(new GenerateHandlerSkeletonCommand(), ""));
-
- serviceHandlersRootFragment.add(serviceHandlersFragment);
-
- setTrueFragment(serviceHandlersRootFragment);
- }
-
- public void setServiceHandlersEnabled(boolean isService) {
- isService_ = isService;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry) {
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ServiceHandlersWidgetDefaultingCommand.class);
-
- dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "WsddResource", ServiceHandlersWidgetOutputCommand.class);
-
- }
-
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java
deleted file mode 100644
index b4c92cba6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java
+++ /dev/null
@@ -1,406 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
- * 20060717 146332 makandre@ca.ibm.com - Andrew Mak
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.common.StringToIProjectTransformer;
-import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateServerCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
-import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestDelegateCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishDefaultCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishTestFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.TestDefaultingFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.TestWebServiceClient;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceClientTestArrivalCommand;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceState;
-
-
-public class GenSampleWidgetBinding implements CommandWidgetBinding
-{
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- return new GenSampleRootCommandFragment();
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- // Before Client Test widget.
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService",FinishTestFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestWidget.class );
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", ClientTestWidget.class );
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientTestWidget.class );
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject", ClientTestWidget.class );
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR", ClientTestWidget.class );
- dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunTestClient",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestWidget.class);
-
- // After the client test widget
- dataRegistry.addMapping(ClientTestWidget.class, "SampleProjectEAR",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "SampleProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "Folder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "JspFolder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "RunTestClient",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "Methods",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestService",FinishTestFragment.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestID",FinishTestFragment.class);
- dataRegistry.addMapping(ClientTestWidget.class, "IsTestWidget",FinishTestFragment.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
-
- widgetRegistry.add( "ClientTestWidget",
- ConsumptionUIMessages.PAGE_TITLE_WS_SAMPLE,
- ConsumptionUIMessages.PAGE_DESC_WS_SAMPLE,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ClientTestWidget();
- }
- });
- }
-
- private class InitializeProxyCommand extends AbstractDataModelOperation
- {
- private IStructuredSelection selection_;
- private TypeRuntimeServer typeRuntimeServer_;
- private String project_;
- private String module_;
- private String earProject_;
- private String ear_;
- private IWebServiceClient webServiceClient_;
- private String wsdlURI_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- // Split up the project and module
- int index = module_.indexOf("/");
- if (index!=-1){
- project_ = module_.substring(0,index);
- module_ = module_.substring(index+1);
- }
-
- if (ear_!=null && ear_.length()>0)
- {
- int earIndex = ear_.indexOf("/");
- if (earIndex!=-1) {
- earProject_ = ear_.substring(0,earIndex);
- ear_ = ear_.substring(earIndex+1);
- }
- }
-
- WebServiceClientInfo clientInfo = new WebServiceClientInfo();
- clientInfo.setImplURL(getProxyBean());
- //clientInfo.setJ2eeLevel(j2eeLevel_);
- clientInfo.setServerFactoryId(typeRuntimeServer_.getServerId());
- clientInfo.setServerInstanceId(typeRuntimeServer_.getServerInstanceId());
- clientInfo.setState(WebServiceState.UNKNOWN_LITERAL);
- clientInfo.setWebServiceRuntimeId(typeRuntimeServer_.getRuntimeId());
- clientInfo.setWsdlURL(wsdlURI_);
- if (clientInfo.getServerInstanceId()==null)
- {
- CreateServerCommand createServerCommand = new CreateServerCommand();
- createServerCommand.setServerFactoryid(clientInfo.getServerFactoryId());
- createServerCommand.setEnvironment( env );
- IStatus createServerStatus = createServerCommand.execute( null, null );
- if (createServerStatus.getSeverity()==Status.OK){
- clientInfo.setServerInstanceId(createServerCommand.getServerInstanceId());
- }
- else if (createServerStatus.getSeverity()==Status.ERROR){
- env.getStatusHandler().reportError( createServerStatus );
- }
-
- }
-
- AddModuleToServerCommand command = new AddModuleToServerCommand();
- command.setServerInstanceId(clientInfo.getServerInstanceId());
- if (earProject_ != null && earProject_.length()>0 && ear_!= null && ear_.length()>0)
- {
- command.setProject(earProject_);
- command.setModule(ear_);
- }
- else
- {
- command.setProject(project_);
- command.setModule(module_);
- }
-
- command.setEnvironment( env );
- status = command.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- }
-
- webServiceClient_ = new TestWebServiceClient(clientInfo);
- return status;
- }
-
- public String getProxyBean()
- {
- String proxyBean = "";
-
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection( selection_.getFirstElement() );
- String beanPackage = ResourceUtils.getJavaResourcePackageName( resource.getFullPath() );
-
- if( beanPackage==null )
- beanPackage = "";
- else
- beanPackage = beanPackage + ".";
-
- proxyBean = beanPackage + resource.getName();
-
- if( proxyBean.toLowerCase().endsWith(".java") || proxyBean.toLowerCase().endsWith(".class"))
- {
- proxyBean = proxyBean.substring(0,proxyBean.lastIndexOf('.'));
- }
- }
- catch( CoreException exc )
- {
- }
-
- return proxyBean;
- }
-
- public IWebServiceClient getWebServiceClient()
- {
- return webServiceClient_;
- }
-
- public boolean getGenerateProxy()
- {
- return true;
- }
-
- public void setClientTypeRuntimeServer( TypeRuntimeServer typeRuntimeServer )
- {
- typeRuntimeServer_ = typeRuntimeServer;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setModuleType( String moduleType)
- {
- }
-
- public void setResourceContext( ResourceContext resourceContext )
- {
- }
-
- public void setInitialSelection( IStructuredSelection selection )
- {
- selection_ = selection;
- }
- }
-
- private class GenSampleRootCommandFragment extends SequenceFragment
- {
- public GenSampleRootCommandFragment()
- {
- add( new SimpleFragment( new ClientWizardWidgetDefaultingCommand(true), "" ) );
- add( new SimpleFragment( new ClientWizardWidgetOutputCommand(), "" ));
- add( new SimpleFragment( new WSDLSelectionWidgetDefaultingCommand(), ""));
- add( new SimpleFragment( new ClientRuntimeSelectionWidgetDefaultingCommand(), ""));
- add( new SimpleFragment( new ClientExtensionDefaultingCommand( true ), ""));
- add( new SimpleFragment( new InitializeProxyCommand(), "" ));
- add( new SimpleFragment( new ClientExtensionOutputCommand(), "" ) );
- add( new SimpleFragment( new TestDefaultingFragment(),""));
- add( new ClientTestFragment( "ClientTestWidget") );
- add( new FinishFragment() );
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- //Map SelectionCommand
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialSelection", null);
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", InitializeProxyCommand.class );
-
- // Map ClientWizardWidgetDefaultingCommand command.
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidgetOutputCommand.class, "TestService", new ForceTrue() );
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "RunTestClient", ClientWizardWidgetOutputCommand.class);
-
- // Map ClientWizardWidgetOutputCommand command.
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ClientTypeRuntimeServer", ClientRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "RunTestClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientExtensionDefaultingCommand.class);
-
- // Map ClientRuntimeSelectionWidgetDefaultingCommand command
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientJ2EEVersion", ClientExtensionDefaultingCommand.class);
-
- // Map WSDLSelectionWidgetDefaultingCommand command.
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", WSDLSelectionWidgetDefaultingCommand.class );
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "GenWSIL", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WsilURI", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientExtensionDefaultingCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
-
- // Map ClientExtensionDefaultingCommand command.
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
-
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", WebServiceClientTestArrivalCommand.class);
-
-
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy", ClientTestFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestFragment.class );
-
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientNeedEAR", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class,"ClientEarComponentName",null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ServiceServerInstanceId", FinishDefaultCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServer", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "WsdlURI", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", ClientTestDelegateCommand.class);
-
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", InitializeProxyCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientJ2EEVersion", InitializeProxyCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProject", InitializeProxyCommand.class, "Module", null );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectType", InitializeProxyCommand.class, "ModuleType", null);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectEAR", InitializeProxyCommand.class, "Ear", null );
- dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", InitializeProxyCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "WsdlURI", InitializeProxyCommand.class );
-
-
-
-
- // Map InitializeProxyCommand command.
- dataRegistry.addMapping(InitializeProxyCommand.class, "WebServiceClient", ClientExtensionOutputCommand.class);
- dataRegistry.addMapping(InitializeProxyCommand.class, "GenerateProxy", ClientExtensionOutputCommand.class);
-
- // Map ClientExtensionOutputCommand command.
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", TestDefaultingFragment.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", ClientTestFragment.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", FinishTestFragment.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "RunTestClient", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ServerInstanceId", FinishDefaultCommand.class);
-
- // MAP post server config call
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", ClientExtensionOutputCommand.class, "EARProjectName", new StringToIProjectTransformer());
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ClientExtensionOutputCommand.class, "ExistingServerId", null);
-
-
- // Map WebServiceClientTestArrivalCommand command.
- dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunClientTest",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR",ClientTestDelegateCommand.class);
-
-
- }
- }
-
- private class ForceTrue implements Transformer
- {
- public Object transform(Object value)
- {
- return new Boolean(true);
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java
deleted file mode 100644
index fc1c3122a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ImportWSILWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.wsil.AddWSDLToWSILWrapperCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-public class ImportWSILWidgetBinding implements CommandWidgetBinding
-{
- public ImportWSILWidgetBinding()
- {
- }
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- SequenceFragment root = new SequenceFragment();
- root.add(new SimpleFragment("ImportWSILWidget"));
- root.add(new SimpleFragment(new AddWSDLToWSILWrapperCommand(), ""));
- return root;
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- // ImportWSILWidget
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ImportWSILWidget.class);
-
- // AddWSDLToWSILWrapperCommand
- dataRegistry.addMapping(ImportWSILWidget.class, "GenWSILArguments", AddWSDLToWSILWrapperCommand.class, "Args", null);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
-
- widgetRegistry.add("ImportWSILWidget",
- ConsumptionUIMessages.TITLE_WSIL_IMPORT,
- ConsumptionUIMessages.DESC_WSIL_IMPORT,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ImportWSILWidget();
- }
- }
- );
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java
deleted file mode 100644
index c041a00fa..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishToPrivateUDDICommandFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishWSWidget;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-
-
-public class ImportWSWidgetBinding implements CommandWidgetBinding
-{
- private CanFinishRegistry canFinishRegistry;
- private WidgetRegistry widgetRegistry;
- private DataMappingRegistry dataMappingRegistry;
- private PublishToPrivateUDDICommandFragment publishToPrivateUDDICmdFrag;
-
- public ImportWSWidgetBinding()
- {
- publishToPrivateUDDICmdFrag = new PublishToPrivateUDDICommandFragment();
- }
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- SequenceFragment root = new SequenceFragment();
- root.add(new SimpleFragment("WSImport"));
- root.add(publishToPrivateUDDICmdFrag);
- root.add(new SimpleFragment(new WSExplorerLauncherCommand(), ""));
- return root;
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- this.canFinishRegistry = canFinishRegistry;
- publishToPrivateUDDICmdFrag.registerCanFinish(this.canFinishRegistry);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- this.dataMappingRegistry = dataRegistry;
- publishToPrivateUDDICmdFrag.registerDataMappings(this.dataMappingRegistry);
-
- // PublishToPrivateUDDICommandFragment
- dataMappingRegistry.addMapping(PublishWSWidget.class, "PublishToPrivateUDDI", PublishToPrivateUDDICommandFragment.class);
-
- // LaunchWebServicesExplorerCommand
- dataMappingRegistry.addMapping(PublishWSWidget.class, "ForceLaunchOutsideIDE", WSExplorerLauncherCommand.class);
- dataMappingRegistry.addMapping(PublishWSWidget.class, "LaunchOptions", WSExplorerLauncherCommand.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
- this.widgetRegistry = widgetRegistry;
- publishToPrivateUDDICmdFrag.registerWidgetMappings(this.widgetRegistry);
-
- widgetRegistry.add("WSImport",
- ConsumptionUIMessages.PAGE_TITLE_WS_FIND,
- ConsumptionUIMessages.PAGE_DESC_WS_FIND,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new PublishWSWidget(false);
- }
- }
- );
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java
deleted file mode 100644
index c590291d9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java
+++ /dev/null
@@ -1,619 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060818 154402 pmoogk@ca.ibm.com - Peter Moogk
- * 20060830 151091 kathy@ca.ibm.com - Kathy Chan, Client side still enabled when there's only stub server
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class ClientExtensionDefaultingCommand extends AbstractDataModelOperation
-{
- // ClientWizardWidget
-
- private boolean developClient_;
- private boolean assembleClient_;
- private boolean deployClient_;
-
- private TypeRuntimeServer clientIds_;
- private String clientRuntimeId_;
- private Boolean testService;
- private Boolean installClient;
- private boolean startClient;
- private boolean runTestClient;
- private ResourceContext resourceContext;
-
- // ClientRuntimeSelectionWidget
- //private SelectionListChoices clientChoices_;
- private String clientProjectName_;
- private String clientEarProjectName_;
- //private String clientComponentName_;
- //private String clientEarComponentName_;
- private String clientComponentType_;
- //private String j2eeVersion;
- private boolean clientNeedEAR_;
-
- private String serviceServerFactoryId_;
- private String serviceServerInstanceId_;
-
- // WSDLSelectionWidget
- private boolean genWSIL;
- private String wsilURI;
-
- // WSDLSelectionConditionCommand
- private WebServicesParser webServicesParser;
-
- // WSDLSelectionTreeWidget
- private String wsdlURI;
-
- private boolean isClientScenario_;
- private boolean genProxy_ = true;
- private String launchedServiceTestName;
-
- //ServerDeployableConfigurationCommand
- private String serverInstId_;
-
- public ClientExtensionDefaultingCommand( boolean isClientScenario )
- {
- isClientScenario_ = isClientScenario;
- }
-
- /**
- *
- * @return returns true if this command is running in the client wizard and
- * false if this command is running in the create web service wizard.
- */
- public boolean getIsClientScenario()
- {
- return isClientScenario_;
- }
-
- /*
- public void setRuntime2ClientTypes( SelectionListChoices choices )
- {
- clientChoices_ = choices;
- }
-
-
- public SelectionListChoices getRuntime2ClientTypes()
- {
- return clientChoices_;
- }
- */
-
- public void setClientTypeRuntimeServer(TypeRuntimeServer ids)
- {
- clientIds_ = ids;
- }
-
- public TypeRuntimeServer getClientTypeRuntimeServer()
- {
- if (clientIds_.getServerInstanceId()==null || clientIds_.getServerInstanceId().length()==0)
- {
- //Set the instance id from the service side if the factory ids match
- if (serviceServerInstanceId_!=null && serviceServerInstanceId_.length()>0)
- {
- if (serviceServerFactoryId_!=null && serviceServerFactoryId_.length()>0)
- {
- if (serviceServerFactoryId_.equals(clientIds_.getServerId()))
- {
- clientIds_.setServerInstanceId(serviceServerInstanceId_);
- }
- }
- }
- }
- return clientIds_;
- }
-
- public void setClientRuntimeId(String id)
- {
- clientRuntimeId_ = id;
- }
-
- public String getClientRuntimeId()
- {
- return clientRuntimeId_;
- }
-
- public void setServiceExistingServerInstId(String serverInstId) {
- this.serverInstId_ = serverInstId;
- }
-
- public String getServiceExistingServerInstId(){
- return this.serverInstId_;
- }
-
- /**
- * @return Returns the clientIsExistingServer.
- */
- public boolean isClientIsExistingServer()
- {
- return clientIds_.getServerInstanceId() != null;
- }
-
- /**
- * @return Returns the clientProject.
- */
- public String getClientProject()
- {
- //return clientProjectName_ + "/" + clientComponentName_;
- return clientProjectName_ + "/" + clientProjectName_;
- }
-
- /**
- * @return Returns the clientProjectEAR.
- */
- public String getClientProjectEAR()
- {
- if (clientEarProjectName_!=null && clientEarProjectName_.length()>0)
- {
- //return clientEarProjectName_ + "/" + clientEarComponentName_;
- return clientEarProjectName_ + "/" + clientEarProjectName_;
- }
- else
- {
- return "";
- }
- }
-
- /*
- private String getModuleProjectName( String projectName )
- {
- String result = "";
-
- if( projectName != null && !projectName.equals("") )
- {
- IPath projectPath = new Path( projectName );
- IProject project = (IProject)ResourceUtils.findResource( projectPath );
- String moduleName = J2EEUtils.getFirstWebModuleName( project );
-
- result = projectName + "/" + moduleName;
- }
-
- return result;
- }
- */
- /**
- * @return Returns the clientProjectType.
- */
-
- public String getClientProjectType()
- {
- //return clientChoices_.getChoice().getList().getSelection();
- return clientComponentType_;
- }
-
- /**
- * @return Returns the clientRuntime.
- */
- public String getClientRuntime()
- {
- return clientIds_.getRuntimeId();
- }
-
- /**
- * @return Returns the clientServer.
- */
- public String getClientServer()
- {
- return clientIds_.getServerId();
- }
-
- public String getClientServerInstance()
- {
- return clientIds_.getServerInstanceId();
- }
-
- public void setClientExistingServerInstanceId(String serverInstId){
-
- if (clientIds_.getServerInstanceId()==null)
- clientIds_.setServerInstanceId(serverInstId);
- }
-
- /**
- * @return Returns the genWSIL.
- */
- public boolean isGenWSIL()
- {
- return genWSIL;
- }
-
- /**
- * @param genWSIL
- * The genWSIL to set.
- */
- public void setGenWSIL(boolean genWSIL)
- {
- this.genWSIL = genWSIL;
- }
-
- /**
- * @return Returns the resourceContext.
- */
- public ResourceContext getResourceContext()
- {
- return resourceContext;
- }
-
- /**
- * @param resourceContext
- * The resourceContext to set.
- */
- public void setResourceContext(ResourceContext resourceContext)
- {
- this.resourceContext = resourceContext;
- }
-
- /**
- * @return Returns the testProxySelected.
- */
- public Boolean getTestService()
- {
- return testService;
- }
-
- /**
- * @param testProxySelected
- * The testProxySelected to set.
- */
- public void setTestService(Boolean testService)
- {
- this.testService = testService;
- }
-
- /**
- * @return Returns the testProxySelected.
- */
- public boolean getRunTestClient()
- {
- return runTestClient;
- }
-
- /**
- * @param testProxySelected
- * The testProxySelected to set.
- */
- public void setRunTestClient(boolean runTestClient)
- {
- this.runTestClient = runTestClient;
- }
-
- public boolean getDevelopClient() {
- return developClient_;
- }
-
- public void setDevelopClient(boolean developClient) {
- this.developClient_ = developClient;
- }
-
- public boolean getAssembleClient() {
- return assembleClient_;
- }
-
- public void setAssembleClient(boolean assembleClient) {
- this.assembleClient_ = assembleClient;
- }
-
- public boolean getDeployClient() {
- return deployClient_;
- }
-
- public void setDeployClient(boolean deployClient) {
- this.deployClient_ = deployClient;
- }
-
- /**
- * @return Returns the installClient.
- */
- public Boolean getInstallClient()
- {
- return installClient;
- }
-
- /**
- * @param installClient
- * The installClient to set.
- */
- public void setInstallClient(Boolean installClient)
- {
- this.installClient = installClient;
- }
-
- /**
- * @return Returns the startClient.
- */
- public boolean getStartClient()
- {
- return startClient;
- }
-
- /**
- * @param startClient
- * The startClient to set.
- */
- public void setStartClient(boolean startClient)
- {
- this.startClient = startClient;
- }
-
- /**
- * @return Returns the wsdlURI.
- */
- public String getWsdlURI()
- {
- return wsdlURI;
- }
-
- /**
- * @param wsdlURI
- * The wsdlURI to set.
- */
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- /**
- * @return Returns the wsilURI.
- */
- public String getWsilURI()
- {
- return wsilURI;
- }
-
- /**
- * @param wsilURI
- * The wsilURI to set.
- */
- public void setWsilURI(String wsilURI)
- {
- this.wsilURI = wsilURI;
- }
-
- /**
- * @return Returns the webServicesParser.
- */
- public WebServicesParser getWebServicesParser()
- {
- if (webServicesParser != null)
- return webServicesParser;
- else
- return new WebServicesParserExt();
- }
-
- /**
- * @param webServicesParser
- * The webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
-
- /**
- * @return Returns the j2eeVersion.
- */
- public String getClientJ2EEVersion()
- {
- return "14"; //rm j2ee
- }
-
- /**
- * @param version The j2eeVersion to set.
- */
- /*
- public void setClientJ2EEVersion(String version)
- {
- j2eeVersion = version;
- }
- */
- /**
- *
- * @return returns true if a proxy should be generated and false otherwise.
- */
- public boolean getGenerateProxy()
- {
- return genProxy_;
- }
-
- public void setGenerateProxy( boolean genProxy )
- {
- genProxy_ = genProxy;
- }
-
- public void setLaunchedServiceTestName(String launchedServiceTestName)
- {
- this.launchedServiceTestName = launchedServiceTestName;
- }
-
- /**
- *
- * @return returns the name of the test facility to launch.
- */
- public String getLaunchedServiceTestName()
- {
- return launchedServiceTestName;
- }
-
- /**
- *
- * @return returns true if the client project needs an EAR project.
- */
- public boolean getClientNeedEAR()
- {
- return clientNeedEAR_;
- }
-
- public void setClientNeedEAR(boolean clientNeedEAR)
- {
- clientNeedEAR_ = clientNeedEAR;
- }
-
-
- public void setClientComponentType(String clientComponentType)
- {
- this.clientComponentType_ = clientComponentType;
- }
-
- public void setClientProjectName(String clientProjectName)
- {
- this.clientProjectName_ = clientProjectName;
- }
-
- /*
- public void setClientComponentName(String clientComponentName)
- {
- this.clientComponentName_ = clientComponentName;
- }
- */
-
- public void setClientEarProjectName(String clientEarProjectName)
- {
- this.clientEarProjectName_ = clientEarProjectName;
- }
-
- /*
- public void setClientEarComponentName(String clientEarComponentName)
- {
- this.clientEarComponentName_ = clientEarComponentName;
- }
- */
-
- public String getClientEarProjectName()
- {
- return clientEarProjectName_;
- }
-
- /*
- public String getClientEarComponentName()
- {
- return clientEarComponentName_;
- }
- */
-
- public void setServiceServerFactoryId(String id)
- {
- serviceServerFactoryId_ = id;
- }
-
- public void setServiceServerInstanceId(String id)
- {
- serviceServerInstanceId_ = id;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- IEnvironment env = getEnvironment();
- //Do some basic validation to ensure the server/runtime/type combination is supported.
- //This is needed to catch problems in the defaulting
- //when the user clicks Finish prior to page 3 of the wizard.
-
- IStatus status = Status.OK_STATUS;
-
- String scenario = ConsumptionUIMessages.MSG_CLIENT_SUB;
-
- //Ensure server and runtime are non-null
- String runtimeId = clientIds_.getRuntimeId();
- String serverId = clientIds_.getServerId();
- String typeId = clientIds_.getTypeId();
-
- if( runtimeId == null || runtimeId.length()==0)
- {
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME, new String[]{ scenario } ) );
- env.getStatusHandler().reportError(status);
- }
-
- if( serverId == null || serverId.length()==0)
- {
- //Popup and error if the selected client project does not exist.
- IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
- if (!clientProject.exists())
- {
- String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[]{runtimeLabel } ) );
- env.getStatusHandler().reportError(status);
- }
- else
- {
- RuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getRuntimeById(runtimeId);
-
- if (desc.getServerRequired())
- {
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER, new String[] { scenario }));
- env.getStatusHandler().reportError(status);
- }
- else
- {
- // No server has been selected and the selected Web service runtime
- // does not
- // require a server. Set deploy, install, run, and test to false.
- deployClient_ = false;
- installClient = Boolean.FALSE;
- testService = Boolean.FALSE;
- }
- }
- }
-
- //If the server is non-null, ensure the server, runtime, and type are compatible
- if (serverId != null && serverId.length() > 0)
- {
- if (!WebServiceRuntimeExtensionUtils2.isServerClientRuntimeTypeSupported(serverId, runtimeId, typeId))
- {
- String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
- String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
- runtimeLabel }));
- env.getStatusHandler().reportError(status);
- }
-
- // Determine if the selected server type has only stub runtimes associated
- // with it.
- // If so, set install and test to false in the context.
- IRuntime nonStubRuntime = ServerUtils.getNonStubRuntime(serverId);
- if (nonStubRuntime == null)
- {
- installClient = Boolean.FALSE;
- startClient = false;
- testService = Boolean.FALSE;
- }
- }
-
- // calculate the most appropriate clientRuntimeId based on current settings.
- clientRuntimeId_ = WebServiceRuntimeExtensionUtils2.getClientRuntimeId(clientIds_, clientProjectName_, clientComponentType_);
-
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java
deleted file mode 100644
index 7fcd8b265..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
-
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.fragment.ExtensionFragment;
-
-
-public class ClientExtensionFragment extends ExtensionFragment
-{
- public ClientExtensionFragment()
- {
- }
-
- protected ClientExtensionFragment( ClientExtensionFragment fragment )
- {
- super( fragment );
- }
-
- public void setClientTypeRuntimeServer( TypeRuntimeServer ids )
- {
- setExtensionIds( new String[]{ ids.getTypeId(), ids.getRuntimeId(), ids.getServerId() } );
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#clone()
- */
- public Object clone()
- {
- return new ClientExtensionFragment( this );
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java
deleted file mode 100644
index f7fda18df..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-/**
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-public class ClientExtensionOutputCommand extends AbstractDataModelOperation
-{
- private IWebServiceClient webServiceClient_;
-
- /**
- * @return Returns the proxyBean.
- */
-
- public String getProxyBean()
- {
- return webServiceClient_.getWebServiceClientInfo().getImplURL();
- }
-
- public boolean getGenerateProxy()
- {
- return true;
- }
-
- /**
- * @return Returns the setEndpointMethod.
- */
- public String getSetEndpointMethod()
- {
- return "setEndpoint";
- }
-
- public void setWebServiceClient(IWebServiceClient wsc)
- {
- webServiceClient_ = wsc;
- }
-
- public String getServerInstanceId()
- {
- return webServiceClient_.getWebServiceClientInfo().getServerInstanceId();
- }
-
- public String getServerFactoryId()
- {
- return webServiceClient_.getWebServiceClientInfo().getServerFactoryId();
- }
-
- /**
- * @return Returns the proxyEndpoint.
- */
- public String getProxyEndpoint() {
- return webServiceClient_.getWebServiceClientInfo().getProxyEndpoint();
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java
deleted file mode 100644
index 0169b1594..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java
+++ /dev/null
@@ -1,407 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060823 154938 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-
-public class ServerExtensionDefaultingCommand extends AbstractDataModelOperation
-{
- private boolean developService_;
- private boolean assembleService_;
- private boolean deployService_;
-
- private Boolean installService;
- private Boolean startService;
- private Boolean testService;
- private Boolean publishService;
- private TypeRuntimeServer serviceIds_;
- private String serviceRuntimeId_;
- //private SelectionListChoices serviceChoices_;
- private String serviceProjectName_;
- private String serviceEarProjectName_;
- private String serviceComponentType_;
- //private String serviceComponentName_;
- //private String serviceEarComponentName_;
- //private String j2eeVersion;
- private boolean serviceNeedEAR_;
- private WebServicesParser wsdlParser_;
-
-
-
- public void setServiceTypeRuntimeServer(TypeRuntimeServer ids)
- {
- serviceIds_ = ids;
- }
-
- public void setServiceExistingServerInstanceId(String serverInstId){
-
- if (serviceIds_.getServerInstanceId()==null)
- serviceIds_.setServerInstanceId(serverInstId);
- }
-
- /**
- *
- * @return returns the TypeRuntimeService object that the user has selected on
- * page 3 of the wizard.
- */
- public TypeRuntimeServer getServiceTypeRuntimeServer()
- {
- return serviceIds_;
- }
-
- public void setServiceRuntimeId(String id)
- {
- serviceRuntimeId_ = id;
- }
-
- public String getServiceRuntimeId()
- {
- return serviceRuntimeId_;
- }
-
- /*
- public void setServiceProject2EARProject(SelectionListChoices choices)
- {
- serviceChoices_ = choices;
- }
- */
-
- /**
- * @return Returns the publishService.
- */
- public Boolean getPublishService()
- {
- return publishService;
- }
-
- /**
- * @param publishService
- * The publishService to set.
- */
- public void setPublishService(Boolean publishService)
- {
- this.publishService = publishService;
- }
-
- /**
- * @return Returns the serverIsExistingServer.
- */
- public boolean getServerIsExistingServer()
- {
- return serviceIds_.getServerInstanceId() != null;
- }
-
- /**
-
- * @return Returns the serverInstanceId
- */
- public String getServiceServerInstanceId()
- {
- return serviceIds_.getServerInstanceId();
- }
-
- /**
- * @return Returns the serverProject.
- */
- public String getServerProject()
- {
- return serviceProjectName_ + "/" + serviceProjectName_;
- }
-
- /**
- * @return Returns the serverProjectEAR.
- */
- public String getServerProjectEAR()
- {
- if (serviceEarProjectName_!=null && serviceEarProjectName_.length()>0)
- {
- return serviceEarProjectName_ + "/" + serviceEarProjectName_;
- }
- else
- {
- return "";
- }
- }
-
- /**
- * @return Returns the serverRuntime.
- */
- public String getServerRuntime()
- {
- return serviceIds_.getRuntimeId();
- }
-
- /**
- * @return Returns the serverServer.
- */
- public String getServerServer()
- {
- return serviceIds_.getServerId();
- }
-
- /**
- * @return Returns the serviceScenarioId.
- */
- public String getServiceScenarioId()
- {
- return serviceIds_.getTypeId();
- }
-
- public boolean getDevelopService() {
- return developService_;
- }
-
- public void setDevelopService(boolean developService) {
- this.developService_ = developService;
- }
-
- public boolean getAssembleService() {
- return assembleService_;
- }
-
- public void setAssembleService(boolean assembleService) {
- this.assembleService_ = assembleService;
- }
-
- public boolean getDeployService() {
- return deployService_;
- }
-
- public void setDeployService(boolean deployService) {
- this.deployService_ = deployService;
- }
-
- /**
- * @return Returns the installService.
- */
- public Boolean getInstallService()
- {
- return installService;
- }
- /**
- * @param installService
- * Specifies if service should be installed.
- */
- public void setInstallService(Boolean installService)
- {
- this.installService = installService;
- }
-
- /**
- * @return Returns the startService.
- */
- public Boolean getStartService()
- {
- return startService;
- }
-
- /**
- * @param startService
- * The startService to set.
- */
- public void setStartService(Boolean startService)
- {
- this.startService = startService;
- }
-
- /**
- * @return Returns the testService.
- */
- public Boolean getTestService()
- {
- return testService;
- }
-
- /**
- * @param testService
- * The testService to set.
- */
- public void setTestService(Boolean testService)
- {
- this.testService = testService;
- }
-
- public Boolean getPublish()
- {
- return new Boolean(true);
- }
-
- /**
- * @return Returns the j2eeVersion.
- */
- public String getServiceJ2EEVersion()
- {
- return "14"; //rm j2ee
- }
-
- /**
- *
- * @return returns true if the web service project needs to be in an EAR project.
- */
- public boolean getServiceNeedEAR()
- {
- return serviceNeedEAR_;
- }
-
- public void setServiceNeedEAR(boolean serviceNeedEAR)
- {
- serviceNeedEAR_ = serviceNeedEAR;
- }
-
- /**
- * @return Returns the wsdlParser_.
- */
- public WebServicesParser getWebServicesParser()
- {
- if( wsdlParser_ == null )
- {
- wsdlParser_ = new WebServicesParserExt();
- }
-
- return wsdlParser_;
- }
- /**
- * @param wsdlParser_ The wsdlParser_ to set.
- */
- public void setWebServicesParser(WebServicesParser wsdlParser )
- {
- wsdlParser_ = wsdlParser;
- }
-
-
- public void setServiceProjectName(String serviceProjectName)
- {
- this.serviceProjectName_ = serviceProjectName;
- }
-
- public void setServiceEarProjectName(String serviceEarProjectName)
- {
- this.serviceEarProjectName_ = serviceEarProjectName;
- }
-
- public void setServiceComponentType(String type)
- {
- this.serviceComponentType_ = type;
- }
-
- public String getServiceComponentType()
- {
- return serviceComponentType_;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- IEnvironment env = getEnvironment();
- //Do some basic validation to ensure the server/runtime/type combination is supported.
- //This is needed to catch problems in the defaulting
- //when the user clicks Finish prior to page 3 of the wizard.
-
- IStatus status = Status.OK_STATUS;
-
- String scenario = ConsumptionUIMessages.MSG_SERVICE_SUB;
-
- //Ensure server and runtime are non-null
- String runtimeId = serviceIds_.getRuntimeId();
- String serverId = serviceIds_.getServerId();
- String typeId = serviceIds_.getTypeId();
-
- if( runtimeId == null || runtimeId.length()==0)
- {
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME, new String[]{ scenario } ) );
- env.getStatusHandler().reportError(status);
- }
-
- if( serverId == null || serverId.length()==0)
- {
- //Popup and error if the selected service project does not exist.
- IProject serviceProject = ProjectUtilities.getProject(serviceProjectName_);
- if (!serviceProject.exists())
- {
- String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[]{ runtimeLabel } ) );
- env.getStatusHandler().reportError(status);
- }
- else
- {
-
- RuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getRuntimeById(runtimeId);
- if (desc.getServerRequired())
- {
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER, new String[] { scenario }));
- env.getStatusHandler().reportError(status);
- }
- else
- {
- // No server has been selected and the selected Web service runtime
- // does not require a server. Set deploy, install, run, and test to false.
- deployService_ = false;
- installService = Boolean.FALSE;
- startService = Boolean.FALSE;
- testService = Boolean.FALSE;
- }
- }
- }
-
- //If the server is non-null, ensure the server, runtime, and type are compatible
- if (serverId != null && serverId.length() > 0)
- {
- if (!WebServiceRuntimeExtensionUtils2.isServerRuntimeTypeSupported(serverId, runtimeId, typeId))
- {
- String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
- String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
- runtimeLabel }));
- env.getStatusHandler().reportError(status);
- }
-
- // Determine if the selected server type has only stub runtimes associated
- // with it.
- // If so, set install, run, and test to false in the context.
- IRuntime nonStubRuntime = ServerUtils.getNonStubRuntime(serverId);
- if (nonStubRuntime == null)
- {
- installService = Boolean.FALSE;
- startService = Boolean.FALSE;
- testService = Boolean.FALSE;
- }
- }
-
- // calculate the most appropriate clientRuntimeId based on current settings.
- serviceRuntimeId_ = WebServiceRuntimeExtensionUtils2.getServiceRuntimeId( serviceIds_, serviceProjectName_, serviceComponentType_);
-
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java
deleted file mode 100644
index 101cddece..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
-
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.fragment.ExtensionFragment;
-
-
-public class ServerExtensionFragment extends ExtensionFragment
-{
- public ServerExtensionFragment()
- {
-
- }
-
- protected ServerExtensionFragment( ServerExtensionFragment fragment )
- {
- super( fragment );
- }
-
- public void setServiceTypeRuntimeServer( TypeRuntimeServer ids )
- {
- setExtensionIds( new String[]{ ids.getTypeId(), ids.getRuntimeId(), ids.getServerId() } );
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#clone()
- */
- public Object clone()
- {
- return new ServerExtensionFragment( this );
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java
deleted file mode 100644
index 1d84f039a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/**
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-
-public class ServerExtensionOutputCommand extends AbstractDataModelOperation
-{
- //private String wsdlURI_;
- private WebServicesParser wsdlParser_;
- private IWebService webService_;
-
- private boolean isWebProjectStartupRequested_ = false;
-
-
- /**
- * @return Returns the wsdlURI.
- */
- public String getWsdlURI()
- {
- return webService_.getWebServiceInfo().getWsdlURL();
- }
-
- /**
- * @param wsdlURI
- * The wsdlURI to set.
- */
- /*
- public void setWsdlURI(String wsdlURI)
- {
- wsdlURI_ = wsdlURI;
- }
- */
-
- public void setWebService(IWebService ws)
- {
- webService_ = ws;
- }
-
- /**
- * @return Returns the wsdlParser_.
- */
- public WebServicesParser getWebServicesParser()
- {
- if( wsdlParser_ == null )
- {
- wsdlParser_ = new WebServicesParserExt();
- }
-
- return wsdlParser_;
- }
- /**
- * @param wsdlParser_ The wsdlParser_ to set.
- */
- public void setWebServicesParser(WebServicesParser wsdlParser_)
- {
- this.wsdlParser_ = wsdlParser_;
- }
-/**
- * @param earProjectName The earProjectName to set.
- */
-public void setEarProjectName(String earProjectName) {
-}
-/**
- * @param existingServerId The existingServerId to set.
- */
-public void setExistingServerId(String existingServerId) {
-}
-
-/**
- * @return Returns the isRestartProjectNeeded.
- */
-public boolean getIsWebProjectStartupRequested() {
- return isWebProjectStartupRequested_;
-}
-/**
- * @param isRestartProjectNeeded The isRestartProjectNeeded to set.
- */
-public void setIsWebProjectStartupRequested(boolean isRestartProjectNeeded) {
- this.isWebProjectStartupRequested_ = isRestartProjectNeeded;
-}
-
-public String getServiceServerFactoryId()
-{
- return webService_.getWebServiceInfo().getServerFactoryId();
-}
-
-public String getServiceServerInstanceId()
-{
- return webService_.getWebServiceInfo().getServerInstanceId();
-}
-
-public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
-{
- return Status.OK_STATUS;
-}
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java
deleted file mode 100644
index 805c970f9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-
-
-public abstract class AbstractObjectSelectionWidget extends SimpleWidgetDataContributor implements IObjectSelectionWidget
-{
- public void setInitialSelection(IStructuredSelection initialSelection)
- {
- // subclass should override this method
- }
-
- public IStructuredSelection getObjectSelection()
- {
- // subclass should override this method
- return new StructuredSelection();
- }
-
- public IStatus validateSelection(IStructuredSelection objectSelection)
- {
- // subclass should override this method
- return Status.OK_STATUS;
- }
-
- public IProject getProject()
- {
- // subclass should override this method
- return null;
- }
-
- public String getObjectSelectionDisplayableString()
- {
- // subclass should override this method
- return "";
- }
-
- public Point getWidgetSize()
- {
- // subclasses should override with an appropriate default dialog size for this widget
- return null;
- }
-
- public boolean validate(String s) {
- // subclass should override this method
- return true;
- }
- }
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java
deleted file mode 100644
index f6c35a6b0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-public class EJBSelectionTransformer implements Transformer
-{
-
- public Object transform(Object value)
- {
- if (value instanceof IStructuredSelection)
- {
- Object sel = ((IStructuredSelection)value).getFirstElement();
- if (sel instanceof EnterpriseBean)
- {
- return new StructuredSelection(((EnterpriseBean)sel).getName());
- }
- }
- return value;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java
deleted file mode 100644
index 5a7b2d0e2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java
+++ /dev/null
@@ -1,377 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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 128069 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060418 136180 kathy@ca.ibm.com - Kathy Chan
- * 20060524 141194 joan@ca.ibm.com - Joan Haggarty
- * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import java.util.Collections;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.Session;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public class EJBSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget
-{
-
- private Combo earList;
- private EJBTableViewer beanList;
- private IVirtualComponent[] earComponents;
- private Integer selectedBeanIndex = null;
- private Vector ejbBeanNames;
- private Vector ejbComponentNames;
- private Vector ejbComponentProjectNames;
- private Hashtable ejbValuesByEARSelectionCache;
- private Listener statusListener_;
- private String displayString_ = "";
- /* CONTEXT_ID PEBD0001 for the EAR Projects drop-down box */
- private String INFOPOP_PEBD_EAR_PROJECTS = "org.eclipse.jst.ws.consumption.ui.PEBD0001";
- /* CONTEXT_ID PEBD0002 for the table containing all of the bean names */
- private String INFOPOP_PEBD_TABLE_BEAN_NAMES = "org.eclipse.jst.ws.consumption.ui.PEBD0002";
-
- public EJBSelectionWidget()
- {
- earComponents = J2EEUtils.getAllEARComponents();
- ejbValuesByEARSelectionCache = new Hashtable();
- }
-
- public String getSelectedBean()
- {
- if (selectedBeanIndex != null)
- {
- return (String) (ejbBeanNames.elementAt(selectedBeanIndex.intValue()));
- }
- return null;
- }
-
- public String getSelectedProject()
- {
- if (selectedBeanIndex != null)
- {
- return (String) (ejbComponentProjectNames.elementAt(selectedBeanIndex.intValue()));
- }
- return null;
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener)
- {
- statusListener_ = statusListener;
- UIUtils utils = new UIUtils(INFOPOP_PEBD_EAR_PROJECTS);
-
- Composite composite = utils.createComposite(parent, 1, 0, 0);
-
- Composite projectComposite = utils.createComposite(composite, 2);
- new Label(projectComposite, SWT.NULL).setText(ConsumptionUIMessages.LABEL_EAR_PROJECTS);
- earList = new Combo(projectComposite, SWT.DROP_DOWN | SWT.READ_ONLY);
- earList.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- earList.addSelectionListener(new SelectionAdapter()
- {
- public void widgetSelected(SelectionEvent evt)
- {
- Combo widget = (Combo) (evt.widget);
- int earListSelectionIndex = widget.getSelectionIndex();
- if (earListSelectionIndex > 0)
- {
- setBeanList(earComponents[earListSelectionIndex-1]);
- }
- else
- {
- setBeanList(null);
- }
- selectedBeanIndex = null;
- statusListener_.handleEvent(null);
- }
- });
- addEARNamesToList();
- earList.setToolTipText(ConsumptionUIMessages.TOOLTIP_EAR_PROJECTS);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(earList, INFOPOP_PEBD_EAR_PROJECTS);
-
- Group beanComposite = utils.createGroup(composite, ConsumptionUIMessages.LABEL_EJB_BEAN_NAME, "", "");
- beanList = new EJBTableViewer(beanComposite);
- Table beanTable = beanList.getTable();
- GridData gd = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
- gd.heightHint = 100;
- beanTable.setLayoutData(gd);
- beanTable.addSelectionListener(new SelectionAdapter()
- {
- public void widgetSelected(SelectionEvent evt)
- {
- Table table = (Table) (evt.widget);
- selectedBeanIndex = new Integer(table.getSelectionIndex());
- statusListener_.handleEvent(null);
- }
- });
- beanTable.setToolTipText(ConsumptionUIMessages.TOOLTIP_TABLE_BEAN_NAMES);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(beanTable, INFOPOP_PEBD_TABLE_BEAN_NAMES);
-
- if (earComponents != null && earComponents.length > 0)
- {
- setBeanList(earComponents[0]);
- }
- else
- {
- setBeanList(null);
- }
-
- // This is a dummy label that forces the status label into the second
- // column.
- new Label(composite, SWT.NULL).setText("");
-
- return this;
- }
-
-
-
- private void addEARNamesToList()
- {
- earList.add(ConsumptionUIMessages.LABEL_SHOW_ALL_STATELESS_SESSION_EJBS);
- if (earComponents != null && earComponents.length > 0)
- {
- for (int index = 0; index < earComponents.length; index++)
- {
- earList.add(earComponents[index].getName());
- }
- earList.setText(earList.getItem(1));
- }
- }
-
- private void setBeanList(IVirtualComponent earComponent)
- {
- String cacheKey = (earComponent == null)? earList.getItem(0): earComponent.getName();
-
- //Check if we've already cached results for this case. If so, use the
- //cached values and return. If not, continue.
- EJBTableValues cachedValues = (EJBTableValues)ejbValuesByEARSelectionCache.get(cacheKey);
- if (cachedValues != null)
- {
- ejbBeanNames = cachedValues.cachedEjbBeanNames;
- ejbComponentNames = cachedValues.cachedEjbComponentNames;
- ejbComponentProjectNames = cachedValues.cachdedEjbComponentProjectNames;
- beanList.setData(ejbBeanNames, ejbComponentNames);
- beanList.setInput(ejbBeanNames);
- return;
- }
-
- IVirtualComponent[] ejbComponentsArray = null;
- if (earComponent == null)
- {
- ejbComponentsArray = J2EEUtils.getAllEJBComponents();
- }
- else
- {
- ejbComponentsArray = J2EEUtils.getReferencingEJBComponentsFromEAR(earComponent.getProject());
- }
-
- Table beanTable = beanList.getTable();
- beanTable.removeAll();
- ejbBeanNames = new Vector();
- ejbComponentNames = new Vector();
- ejbComponentProjectNames = new Vector();
- for (int index = 0; index < ejbComponentsArray.length; index++)
- {
- EJBArtifactEdit ejbEdit = null;
- try {
- ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbComponentsArray[index]);
- EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
- EJBJar jar = ejbRes.getEJBJar();
- Vector beans = J2EEUtils.getBeanNames(jar);
- String componentName = ejbComponentsArray[index].getName();
- String projectName = ejbComponentsArray[index].getProject().getName();
- ejbBeanNames.addAll(beans);
- ejbComponentNames.addAll(Collections.nCopies(beans.size(), componentName));
- ejbComponentProjectNames.addAll(Collections.nCopies(beans.size(), projectName));
- }
- finally {
- if (ejbEdit!=null)
- ejbEdit.dispose();
- }
- }
- beanList.setData(ejbBeanNames, ejbComponentNames);
- beanList.setInput(ejbBeanNames);
-
- //Cache the results for next time
- EJBTableValues ejbTableValues = new EJBTableValues();
- ejbTableValues.cachedEjbBeanNames = ejbBeanNames;
- ejbTableValues.cachedEjbComponentNames = ejbComponentNames;
- ejbTableValues.cachdedEjbComponentProjectNames = ejbComponentProjectNames;
- ejbValuesByEARSelectionCache.put(cacheKey, ejbTableValues);
- }
-
- public void setInitialSelection(IStructuredSelection initialSelection)
- {
- if (initialSelection != null && !initialSelection.isEmpty())
- {
- Object object = initialSelection.getFirstElement();
- if (object instanceof Session)
- {
- Session session = (Session) object;
- EJBJar jar = session.getEjbJar();
- if (jar != null)
- {
- for (int i = 0; i < earComponents.length; i++)
- {
- IVirtualComponent[] ejbComponents = J2EEUtils.getReferencingEJBComponentsFromEAR(earComponents[i].getProject());
- for (int j=0; j <ejbComponents.length; j++)
- {
- EJBArtifactEdit ejbEdit = null;
- try {
- ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbComponents[j]);
- EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
- if (ejbRes.getEJBJar() == jar)
- {
- earList.setText(earComponents[i].getName());
- setBeanList(earComponents[i]);
- beanList.setSelection(new StructuredSelection(new Integer[]{new Integer(ejbBeanNames.indexOf(session.getName()))}));
- selectedBeanIndex = new Integer(ejbBeanNames.indexOf(session.getName()));
- return;
- }
-
- }
- finally {
- if (ejbEdit!=null)
- ejbEdit.dispose();
- }
-
- }
- }
-
- //Haven't returned yet so we did not find an EAR that contains this EJB. Initialize the page accordingly.
- earList.setText(earList.getItem(0));
- setBeanList(null);
- beanList.setSelection(new StructuredSelection(new Integer[]{new Integer(ejbBeanNames.indexOf(session.getName()))}));
- selectedBeanIndex = new Integer(ejbBeanNames.indexOf(session.getName()));
- }
- }
- else if (object instanceof String)
- displayString_ = (String) object; // save for display use
- }
- }
-
- public IStructuredSelection getObjectSelection()
- {
- String selEJBName = (String) ejbBeanNames.get(selectedBeanIndex.intValue());
- if (selEJBName != null)
- {
- //Get the project containing the bean to get the corresponding Session object.
- //Then return the Session object in an IStructuredSelection.
- String ejbComponentName = (String) ejbComponentNames.get(selectedBeanIndex.intValue());
- IVirtualComponent ejbComponent = ComponentUtilities.getComponent(ejbComponentName);
- EJBArtifactEdit ejbEdit = null;
- try
- {
- ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbComponent);
- EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
- EJBJar jar = ejbRes.getEJBJar();
- java.util.List sessions = jar.getSessionBeans();
- for (Iterator it2 = sessions.iterator(); it2.hasNext();)
- {
- Session session = (Session) it2.next();
- if (selEJBName.equals(session.getName()))
- {
- return new StructuredSelection(new Session[]{session});
- }
- }
- }
- finally {
- if (ejbEdit!=null)
- ejbEdit.dispose();
- }
- }
- return new StructuredSelection(new Object[0]);
- }
-
- public IProject getProject()
- {
- String projectName = getSelectedProject();
- if (projectName != null && projectName.length() > 0)
- return ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
- else
- return null;
- }
-
- public String getComponentName()
- {
- if (selectedBeanIndex != null)
- {
- return (String) (ejbComponentNames.elementAt(selectedBeanIndex.intValue()));
- }
- return null;
- }
-
- public String getObjectSelectionDisplayableString() {
-
- if (ejbBeanNames == null)
- return displayString_;
-
- int index = selectedBeanIndex == null ? 0 : selectedBeanIndex.intValue();
- String bean = (String) ejbBeanNames.get(index);
- return bean == null ? displayString_ : bean;
- }
-
- public IStatus validateSelection(IStructuredSelection objectSelection)
- {
- return Status.OK_STATUS;
- }
-
- public IStatus getStatus()
- {
- if (selectedBeanIndex == null)
- {
- return StatusUtils.errorStatus( "" );
- }
-
- return Status.OK_STATUS;
- }
-
- public Point getWidgetSize() {
- return new Point(450, 350);
- }
-
- private class EJBTableValues
- {
- Vector cachedEjbBeanNames;
- Vector cachedEjbComponentNames;
- Vector cachdedEjbComponentProjectNames;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java
deleted file mode 100644
index 155b4f04e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060524 141194 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import java.util.Vector;
-
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.TableColumn;
-
-public class EJBTableViewer extends TableViewer
-{
- private Vector beanNames;
- private Vector projectNames;
-
- public EJBTableViewer(Composite parent)
- {
- super(parent, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION);
-
- String columnProperties[] = {ConsumptionUIMessages.TABLE_TITLE_EJB_BEAN_NAMES, ConsumptionUIMessages.TABLE_TITLE_EJB_PROJECT_NAME};
- int columnsWidth[] = {60, 20};
- int columnMins[] = {175, 125};
-
- Table table = getTable();
- table.setHeaderVisible(true);
- table.setLinesVisible(true);
- TableLayout layout = new TableLayout();
- for (int i = 0; i < columnProperties.length; i++)
- {
- TableColumn column = new TableColumn(table, SWT.NONE, i);
- column.setText(columnProperties[i]);
- column.pack();
- layout.addColumnData(new ColumnWeightData(columnsWidth[i], columnMins[i], true));
- }
- table.setLayout(layout);
- setColumnProperties(columnProperties);
- setContentProvider(new EJBContentProvider());
- setLabelProvider(new EJBLabelProvider());
- }
-
- public void setData(Vector beanNames, Vector projectNames)
- {
- this.beanNames = beanNames;
- this.projectNames = projectNames;
- }
- private class EJBLabelProvider extends LabelProvider implements ITableLabelProvider
- {
- public String getColumnText(Object object, int columnIndex)
- {
- String result = null;
- if (object instanceof Integer)
- {
- int index = ((Integer) object).intValue();
- if (columnIndex == 0)
- {
- return (String) (beanNames.elementAt(index));
- }
- else if (columnIndex == 1)
- {
- return (String) (projectNames.elementAt(index));
- }
- }
- return result;
- }
-
- public Image getColumnImage(Object object, int columnIndex)
- {
- return null;
- }
- }
- public class EJBContentProvider implements IStructuredContentProvider
- {
- public Object[] getElements(Object element)
- {
- if (beanNames != null)
- {
- int size = beanNames.size();
- Object[] result = new Object[size];
- for (int index = 0; index < size; index++)
- {
- result[index] = new Integer(index);
- }
- return result;
- }
- return null;
- }
-
- public void dispose()
- {
- }
-
- public void inputChanged(Viewer viewer, Object old, Object newobj)
- {
- }
-
- public boolean isDeleted(Object object)
- {
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java
deleted file mode 100644
index a7be6f437..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
-
-
-
-public class HandlerTableItem {
-
- private String handlerClassName;
- private String handlerName;
- private String portName;
- private int index;
-
- private PortComponent port;
- private Object handler;
- private Object wsDescRef;
-
- /**
- * @return Returns the handlerClassName.
- */
- public String getHandlerClassName() {
- return handlerClassName;
- }
- /**
- * @param handlerClassName The handlerClassName to set.
- */
- public void setHandlerClassName(String handlerClassName) {
- this.handlerClassName = handlerClassName;
- }
- /**
- * @return Returns the handlerName.
- */
- public String getHandlerName() {
- return handlerName;
- }
- /**
- * @param handlerName The handlerName to set.
- */
- public void setHandlerName(String handlerName) {
- this.handlerName = handlerName;
- }
- /**
- * @return Returns the port.
- */
- public PortComponent getPort() {
- return port;
- }
- /**
- * @param port The port to set.
- */
- public void setPort(PortComponent port) {
- this.port = port;
- }
- /**
- * @return Returns the handler.
- */
- public Object getHandler() {
- return handler;
- }
- /**
- * @param handler The handler to set.
- */
- public void setHandler(Object handler) {
- this.handler = handler;
- }
- /**
- * @return Returns the portName.
- */
- public String getPortName() {
- return portName;
- }
- /**
- * @param portName The portName to set.
- */
- public void setPortName(String portName) {
- this.portName = portName;
- }
-
- /**
- * @return Returns the index.
- */
- public int getIndex() {
- return index;
- }
- /**
- * @param index The index to set.
- */
- public void setIndex(int index) {
- this.index = index;
- }
- /**
- * @return Returns the wsDescRef.
- */
- public Object getWsDescRef() {
- return wsDescRef;
- }
- /**
- * @param wsDescRef The wsDescRef to set.
- */
- public void setWsDescRef(Object wsDescRef) {
- this.wsDescRef = wsDescRef;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java
deleted file mode 100644
index ab80c3818..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataContributor;
-
-/**
- * This interface defines extra methods that Object Selection Widgets
- * need to implement. Object Selection Widgets are displayed on page 2
- * of the Web services wizard.
- */
-public interface IObjectSelectionWidget extends WidgetDataContributor
-{
- /**
- * The framework will call this method to set the initial selection
- * value that the user has specified.
- *
- * @param initialSelection the initial selection the user specified.
- */
- public void setInitialSelection(IStructuredSelection initialSelection);
-
- /**
- * The intent of the Object Selection Widget is that the user has
- * the opportunity change/find the object that they want to turn into
- * a Web service.
- *
- * @return returns the an IStructuredSelection object that the user
- * want to turn into a Web service. This object may be different than
- * the initialSelection passed in by the setInitialSelection method.
- */
- public IStructuredSelection getObjectSelection();
-
- /**
- * Validates whether the objectSelection parameter is valid for
- * this Object selection widget. An error status should be returned
- * if this object is not value. Otherwise, and ok status should be
- * returned
- *
- * @param objectSelection the object to be validated.
- * @return the status of the validation.
- */
- public IStatus validateSelection(IStructuredSelection objectSelection);
-
- /**
- *
- * @return returns the IProject that contains the selection
- * object that the user has chosen with this widget. The value can be
- * null if there is no IProject for this object.
- */
- public IProject getProject();
-
- /**
- *
- * @return returns the name of the IVirtualComponent that contains the selection
- * object that the user has chosen with this widget. The value can be
- * null if there is no IVirtualComponent for this object
- */
- public String getComponentName();
-
- /**
- *
- * @return returns the string to displayed in the UI for the selected object
- */
- public String getObjectSelectionDisplayableString();
-
- /**
- *
- * @return returns the default initial size for the widget to be called from getInitialSize from any parent dialog
- */
- public Point getWidgetSize();
-
- /**
- *
- * @param s A string representation of the object selection
- * @return true if the string represents a valid object selection
- */
- public boolean validate(String s);
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java
deleted file mode 100644
index 7a9335831..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-public class JavaBeanSelectionTransformer implements Transformer
-{
- public Object transform(Object value)
- {
- if (value instanceof IStructuredSelection)
- {
- Object sel = ((IStructuredSelection)value).getFirstElement();
- if (sel instanceof IFile)
- {
- return new StructuredSelection(computeFullyQualifiedJavaName((IFile)sel));
- }
- else if (sel instanceof ICompilationUnit)
- {
- IResource res = ((ICompilationUnit)sel).getResource();
- if (res instanceof IFile)
- return new StructuredSelection(computeFullyQualifiedJavaName((IFile)res));
- }
- }
- return value;
- }
-
- private String computeFullyQualifiedJavaName(IFile resource)
- {
- IPath path = resource.getFullPath();
- String basename = path.lastSegment();
- String beanClass = "";
- if (basename != null && basename.length() > 0)
- {
- String beanPackage = org.eclipse.jst.ws.internal.common.ResourceUtils.getJavaResourcePackageName(path);
- beanClass = (beanPackage == null || beanPackage.length() == 0 ? basename : (beanPackage + "." + basename));
- if (beanClass.toLowerCase().endsWith(".java") || beanClass.toLowerCase().endsWith(".class"))
- beanClass = beanClass.substring(0, beanClass.lastIndexOf('.'));
- }
- return beanClass;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java
deleted file mode 100644
index 6577c8c4d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java
+++ /dev/null
@@ -1,281 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.webservice.wsdd.BeanLink;
-import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.PortComponentImpl;
-import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.ServiceImplBeanImpl;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.common.JavaResourceFilter;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
-import org.eclipse.swt.SWT;
-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.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public class JavaBeanSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget
-{
- private IProject serverProject_ = null;
- private String serverComponentName_ = null;
- private Composite parent_ = null;
- private JavaResourceFilter filter_ = new JavaResourceFilter();
- private IResource initialResource_ = null;
- private Listener statusListener;
-
- /*CONTEXT_ID PBCL0001 for the Bean Selection Page*/
- private String INFOPOP_PBCL_PAGE = "PBCL0001";
-
- private Text beanClassText_;
- /*CONTEXT_ID PBCL0002 for the Bean Selection field of the Bean Selection Page*/
- private String INFOPOP_PBCL_TEXT_BEAN_CLASS = "PBCL0002";
-
- private Button beanClassBrowseButton_;
- /*CONTEXT_ID PBCL0003 for the Bean Class Browse button of the Bean Selection Page*/
- private String INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE = "PBCL0003";
-
- private Button beanResourceBrowseButton_;
- /*CONTEXT_ID PBCL0004 for the Bean Resource Browse button of the Bean Selection Page*/
- private String INFOPOP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE = "PBCL0004";
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
- String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
- this.statusListener = statusListener;
- UIUtils uiUtils = new UIUtils( pluginId_ );
-
- parent_ = parent;
-
- Composite group = uiUtils.createComposite( parent, 4 );
-
- group.setToolTipText( ConsumptionUIMessages.TOOLTIP_PBCL_PAGE );
- PlatformUI.getWorkbench().getHelpSystem().setHelp( group, pluginId_ + "." + INFOPOP_PBCL_PAGE );
-
- beanClassText_ = uiUtils.createText( group, ConsumptionUIMessages.LABEL_BEAN_CLASS_NAME,
- ConsumptionUIMessages.TOOLTIP_PBCL_TEXT_BEAN_CLASS,
- INFOPOP_PBCL_TEXT_BEAN_CLASS,
- SWT.SINGLE | SWT.BORDER);
- beanClassText_.addModifyListener(
- new ModifyListener()
- {
- public void modifyText(ModifyEvent e)
- {
- handleModifyBeanClassText();
- }
- }
- );
-
- beanClassBrowseButton_ = uiUtils.createPushButton( group, ConsumptionUIMessages.BUTTON_BROWSE_CLASSES,
- ConsumptionUIMessages.TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE,
- INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE );
- beanClassBrowseButton_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleBrowseClasses();
- }
- } );
-
- beanResourceBrowseButton_ = uiUtils.createPushButton( group, ConsumptionUIMessages.BUTTON_BROWSE_FILES,
- ConsumptionUIMessages.TOOLTIP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE,
- INFOPOP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE );
- beanResourceBrowseButton_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleBrowseFiles();
- }
- } );
- return this;
- }
-
- private void handleModifyBeanClassText()
- {
- statusListener.handleEvent(null);
- serverProject_ = null;
- serverComponentName_ = null;
- }
-
- private void handleBrowseClasses()
- {
- Shell shell = parent_.getShell();
- IType itype = DialogUtils.browseClassesAsIType(shell, ResourcesPlugin.getWorkspace().getRoot().getProjects(), new ProgressMonitorDialog(shell));
- if (itype != null)
- {
- beanClassText_.setText(itype.getFullyQualifiedName());
- try
- {
- IResource res = itype.getCorrespondingResource();
- if (res != null)
- {
- serverProject_ = res.getProject();
- IVirtualComponent comp = ResourceUtils.getComponentOf(res);
- if (comp!=null)
- {
- serverComponentName_ = comp.getName();
- }
- }
- else
- {
- serverProject_ = null;
- serverComponentName_ = null;
- }
- }
- catch (JavaModelException jme)
- {
- serverProject_ = null;
- serverComponentName_ = null;
- }
- }
- }
-
- private void handleBrowseFiles()
- {
- IResource topResource = ResourceUtils.getWorkspaceRoot();
- IResource resource = DialogUtils.browseResources( parent_.getShell(), topResource, initialResource_, filter_ );
- setBeanClass(resource);
- }
-
- private void setBeanClass(IResource resource)
- {
- if( resource != null && resource instanceof IFile )
- {
- IPath path = resource.getFullPath();
- String basename = path.lastSegment();
-
- if( basename != null && basename.length() > 0 )
- {
- String beanPackage = org.eclipse.jst.ws.internal.common.ResourceUtils.getJavaResourcePackageName(path);
- String beanClass = (beanPackage == null || beanPackage.length() == 0 ? basename : (beanPackage + "." + basename));
-
- if( beanClass.toLowerCase().endsWith(".java") || beanClass.toLowerCase().endsWith(".class" ) )
- {
- beanClass = beanClass.substring( 0, beanClass.lastIndexOf('.') );
- }
-
- beanClassText_.setText(beanClass);
- serverProject_ = ResourceUtils.getProjectOf(path);
- IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
-
- if (comp!=null)
- {
- serverComponentName_ = comp.getName();
- }
-
- }
- }
- }
-
- private void setBeanClass(ServiceImplBeanImpl serviceImpl)
- {
- if( serviceImpl != null )
- {
- EObject eObject = serviceImpl.eContainer();
- if(eObject instanceof PortComponentImpl){
- PortComponentImpl pci = (PortComponentImpl)eObject;
- String beanClass = pci.getServiceEndpointInterface();
- beanClassText_.setText(beanClass);
- }
- }
- }
-
- private void setBeanClass(BeanLink serviceImpl)
- {
- if( serviceImpl != null )
- {
- EObject eObject = serviceImpl.eContainer();
- if(eObject instanceof ServiceImplBeanImpl){
- setBeanClass((ServiceImplBeanImpl)eObject);
- }
- }
- }
-
- public void setInitialSelection(IStructuredSelection initialSelection)
- {
- if (initialSelection != null && !initialSelection.isEmpty())
- {
- Object object = initialSelection.getFirstElement();
- if (object instanceof IFile)
- {
- IFile iFile = (IFile)object;
- String fileExt = iFile.getFileExtension().toLowerCase();
- if (fileExt.equals("java") || fileExt.equals("class"))
- setBeanClass(iFile);
- }
- else if (object instanceof ICompilationUnit)
- setBeanClass(((ICompilationUnit)object).getResource());
- else if (object instanceof ServiceImplBeanImpl)
- setBeanClass((ServiceImplBeanImpl)object);
- else if(object instanceof BeanLink)
- setBeanClass((BeanLink)object);
- }
- }
-
- public IStructuredSelection getObjectSelection()
- {
- return new StructuredSelection(beanClassText_.getText());
- }
-
- public IProject getProject()
- {
- return serverProject_;
- }
-
- public String getComponentName()
- {
- return serverComponentName_;
- }
-
- public IStatus getStatus()
- {
- String beanClassName = beanClassText_.getText().trim();
- if (beanClassName == null || beanClassName.length() <= 0)
- {
- return StatusUtils.errorStatus(ConsumptionUIMessages.PAGE_MSG_BEAN_CANNOT_BE_EMPTY);
- }
- return Status.OK_STATUS;
- }
-
- public IStatus validateSelection(IStructuredSelection objectSelection)
- {
- return Status.OK_STATUS;
- }
-
- public String getObjectSelectionDisplayableString() {
- // TODO Auto-generated method stub
- return "Java bean string ";
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java
deleted file mode 100644
index a889d944a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-
-public class ObjectSelectionFragment extends SequenceFragment implements Condition
-{
- private TypeRuntimeServer typeRuntimeServer;
- private boolean hasObjectSelectionWidget;
-
- public ObjectSelectionFragment()
- {
- super();
- BooleanFragment boolFragment = new BooleanFragment(new SimpleFragment("ObjectSelectionWidget"), new SimpleFragment(""), this);
- add(boolFragment);
- add(new SimpleFragment(new ObjectSelectionOutputCommand(), ""));
- hasObjectSelectionWidget = false;
- }
-
- /**
- * This method is called retrieve the data mappings for this command fragment.
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ObjectSelectionWidget.class );
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ObjectSelectionOutputCommand.class, "ObjectSelection", null);
- dataRegistry.addMapping(ObjectSelectionFragment.class, "TypeRuntimeServer", ObjectSelectionWidget.class);
- dataRegistry.addMapping(ObjectSelectionFragment.class, "TypeRuntimeServer", ObjectSelectionOutputCommand.class);
-
- dataRegistry.addMapping(ObjectSelectionWidget.class, "ObjectSelection", ObjectSelectionOutputCommand.class);
- dataRegistry.addMapping(ObjectSelectionWidget.class, "Project", ObjectSelectionOutputCommand.class);
- dataRegistry.addMapping(ObjectSelectionWidget.class, "ComponentName", ObjectSelectionOutputCommand.class);
- }
-
- public boolean evaluate()
- {
- return hasObjectSelectionWidget;
- }
-
- public TypeRuntimeServer getTypeRuntimeServer()
- {
- return typeRuntimeServer;
- }
-
- /**
- * @param typeRuntimeServer The typeRuntimeServer to set.
- */
- public void setTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer)
- {
- this.typeRuntimeServer = typeRuntimeServer;
- if (typeRuntimeServer != null)
- {
- String wst = typeRuntimeServer.getTypeId();
-
- int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(wst);
- String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(wst);
- if (scenario == WebServiceScenario.TOPDOWN)
- {
- //Must have WSDL object selection. No choice.
- hasObjectSelectionWidget=true;
- }
- else
- {
- WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
- if (wsimpl!=null)
- {
- String objectSelectionWidgetId = wsimpl.getObjectSelectionWidget();
- hasObjectSelectionWidget = objectSelectionWidgetId != null && objectSelectionWidgetId.length() > 0;
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java
deleted file mode 100644
index 235e48d6c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java
+++ /dev/null
@@ -1,239 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060830 155114 pmoogk@ca.ibm.com - Peter Moogk, Updated patch for this defect.
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-
-public class ObjectSelectionOutputCommand extends AbstractDataModelOperation
-{
- private String objectSelectionWidgetId_;
- private IStructuredSelection objectSelection_;
- private IObjectSelectionWidget objectSelectionWidget_;
- private IProject project_;
- private String componentName_;
- private WebServicesParser parser_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- // Transformation
- if (objectSelectionWidgetId_ != null && objectSelectionWidgetId_.length() > 0)
- {
- Transformer transformer = ObjectSelectionRegistry.getInstance().getTransformer(objectSelectionWidgetId_);
- Object transformedSelection = transformer == null ? null : transformer.transform(objectSelection_);
-
- if (transformedSelection instanceof IStructuredSelection)
- {
- objectSelection_ = (IStructuredSelection)transformedSelection;
- }
- }
-
- // Validation
- IStatus status = (objectSelectionWidget_ != null) ? objectSelectionWidget_.validateSelection(getObjectSelection()) : Status.OK_STATUS;
- if (status.getSeverity() != Status.OK && env != null)
- {
- try
- {
- env.getStatusHandler().report(status);
- }
- catch (StatusException se)
- {
- }
- }
-
- return status;
- }
-
- /**
- * @param typeRuntimeServer The typeRuntimeServer to set.
- */
- public void setTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer)
- {
- if (typeRuntimeServer != null)
- {
- String wst = typeRuntimeServer.getTypeId();
-
- int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(wst);
- String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(wst);
-
- WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
- //IWebServiceType wst = WebServiceRuntimeExtensionUtils2.getWebServiceTypeById(typeRuntimeServer.getTypeId());
-
- if (wsimpl != null)
- {
- String objectSelectionWidgetId = null;
- if (scenario == WebServiceScenario.TOPDOWN)
- {
- objectSelectionWidgetId = "org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget";
- }
- else
- {
- objectSelectionWidgetId = wsimpl.getObjectSelectionWidget();
- }
-
- objectSelectionWidgetId_ = objectSelectionWidgetId;
-
- Object object = ObjectSelectionRegistry.getInstance().getSelectionWidget(objectSelectionWidgetId_);
-
- if( object instanceof IObjectSelectionWidget )
- {
- objectSelectionWidget_ = (IObjectSelectionWidget)object;
- }
- }
- }
- }
-
- /**
- * @return Returns the selection.
- */
- public IStructuredSelection getObjectSelection()
- {
- return objectSelection_;
- }
- /**
- * @param selection The selection to set.
- */
- public void setObjectSelection(IStructuredSelection objectSelection)
- {
- objectSelection_ = objectSelection;
-
- //Set the project if you can
- if (project_==null)
- {
- project_ = getProjectFromObjectSelection(objectSelection);
- }
-
- //Set the componentName if you can
- if (componentName_ == null)
- {
- componentName_ = getComponentNameFromObjectSelection(objectSelection);
- }
-
- // Check if this is a WSDL selection object. If it is we need
- // to unwrap it.
- if( objectSelection != null && !objectSelection.isEmpty() )
- {
- Object object = objectSelection.getFirstElement();
-
- if( object instanceof WSDLSelectionWrapper )
- {
- WSDLSelectionWrapper wsdlWrapper = (WSDLSelectionWrapper)object;
-
- objectSelection_ = wsdlWrapper.wsdlSelection;
- parser_ = wsdlWrapper.parser;
- }
- }
- }
-
- public IProject getProject()
- {
- return project_;
- }
-
- public void setProject(IProject project)
- {
- this.project_ = project;
- }
-
- public String getComponentName()
- {
- return componentName_;
- }
-
- public void setComponentName(String componentName)
- {
- this.componentName_ = componentName;
- }
-
- /**
- * @return Returns the parser_.
- */
- public WebServicesParser getWebServicesParser()
- {
- return parser_;
- }
-
- private IProject getProjectFromObjectSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
- IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
- return p;
- } catch(CoreException e)
- {
- e.printStackTrace();
- return null;
- }
- }
- }
- return null;
- }
-
- private String getComponentNameFromObjectSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
-
- IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
-
- if (comp!=null)
- {
- return comp.getName();
- }
- } catch(CoreException e)
- {
- e.printStackTrace();
- return null;
- }
- }
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java
deleted file mode 100644
index e6b29184e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
- * 20060830 155114 pmoogk@ca.ibm.com - Peter Moogk, Updated patch for this defect.
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import java.util.Hashtable;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.IObjectSelectionLaunchable;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-public class ObjectSelectionRegistry
-{
- private static ObjectSelectionRegistry instance;
- private IConfigurationElement[] elements;
- private Hashtable cachedSelectionWidgets;
-
- private ObjectSelectionRegistry()
- {
- elements = Platform.getExtensionRegistry().getConfigurationElementsFor("org.eclipse.jst.ws.consumption.ui", "objectSelectionWidget");
- cachedSelectionWidgets = new Hashtable();
- }
-
- public static ObjectSelectionRegistry getInstance()
- {
- if (instance == null)
- {
- instance = new ObjectSelectionRegistry();
- }
-
- return instance;
- }
-
- /**
- *
- * @param id if the selection widget object.
- * @return returns the transformer class if has been specified. Otherwise
- * null is returned.
- */
- public Transformer getTransformer( String id )
- {
- TableEntry entry = getTableEntry( id );
- Transformer result = null;
-
- if( entry != null )
- {
- try
- {
- Object object = entry.element.createExecutableExtension("transformer");
-
- if( object instanceof Transformer )
- {
- result = (Transformer)object;
- }
- }
- catch( CoreException exc ){}
- }
-
- return result;
- }
-
- /**
- *
- * @param id if the selection widget object.
- * @return returns the value of the external modify attribute if
- * it has been specified. Otherwise false is returned.
- */
- public boolean getExternalModify( String id )
- {
- TableEntry entry = getTableEntry( id );
- boolean result = false;
-
- if( entry != null )
- {
- String modifyString = entry.element.getAttribute("external_modify");
-
- result = new Boolean( modifyString ).booleanValue();
- }
-
- return result;
- }
-
- /**
- * Gets the IObjectSelectionWidget based on the selectionId. If one is
- * not found null is returned.
- *
- * @param selectionId the ID of the selection widget.
- * @return returns the registered IObjectSelectionWidget object.
- */
- public Object getSelectionWidget( String selectionId )
- {
- TableEntry entry = getTableEntry( selectionId );
-
- return entry == null ? null : entry.objectSelection;
- }
-
- public void cleanup()
- {
- instance = null;
- elements = null;
- cachedSelectionWidgets = null;
- }
-
- private TableEntry getTableEntry( String id )
- {
- if( id == null ) return null;
-
- TableEntry entry = (TableEntry)cachedSelectionWidgets.get( id );
-
- if( entry == null )
- {
- for( int index = 0; index < elements.length; index++ )
- {
- IConfigurationElement element = elements[index];
- String elemId = element.getAttribute( "id" );
-
- if( id.equals( elemId ) )
- {
- try
- {
- Object object = element.createExecutableExtension("class");
-
- if( object instanceof IObjectSelectionWidget || object instanceof IObjectSelectionLaunchable )
- {
- entry = new TableEntry();
- entry.element = element;
- entry.objectSelection = object;
- cachedSelectionWidgets.put( id, entry );
- break;
- }
- }
- catch( CoreException exc ){}
- }
- }
- }
-
- return entry;
- }
-
- private class TableEntry
- {
- public IConfigurationElement element;
- public Object objectSelection;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java
deleted file mode 100644
index 9732f9dab..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java
+++ /dev/null
@@ -1,260 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060224 129387 pmoogk@ca.ibm.com - Peter Moogk
- * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
- * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-
-public class ObjectSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget
-{
- private Composite parent;
- private Listener statusListener;
- private Composite composite;
- private IStructuredSelection initialSelection;
- private IProject project;
- private String componentName;
- private IObjectSelectionWidget child;
- private Point widgetSize_;
-
- public WidgetDataEvents addControls(Composite parentComposite, Listener statListener)
- {
- this.parent = parentComposite;
- this.statusListener = statListener;
- composite = null;
- return this;
- }
-
- public Control getControl(){
- return composite;
- }
-
- /**
- * @param typeRuntimeServer The typeRuntimeServer to set.
- */
- public void setTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer)
- {
- if (composite != null)
- {
- composite.dispose();
- child = null;
- }
- if (typeRuntimeServer != null)
- {
- String wst = typeRuntimeServer.getTypeId();
- int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(wst);
- String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(wst);
- WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
-
- //IWebServiceType wst = WebServiceRuntimeExtensionUtils.getWebServiceTypeById(typeRuntimeServer.getTypeId());
- if (wsimpl != null)
- {
- String objectSelectionWidgetId = null;
- if (scenario == WebServiceScenario.TOPDOWN)
- {
- objectSelectionWidgetId = "org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget";
- }
- else
- {
- objectSelectionWidgetId = wsimpl.getObjectSelectionWidget();
- }
-
- Object object = ObjectSelectionRegistry.getInstance().getSelectionWidget( objectSelectionWidgetId );
-
- if( object instanceof IObjectSelectionWidget )
- {
- child = (IObjectSelectionWidget)object;
- }
-
- if( child != null )
- {
- Control shell = parent.getShell();
- composite = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout();
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- GridData gd = new GridData(GridData.FILL_BOTH);
- composite.setLayout(gl);
- composite.setLayoutData(gd);
- child.addControls(composite, statusListener);
- child.setInitialSelection(initialSelection);
-
- Point origSize = shell.getSize();
- Point compSize = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- int newX = origSize.x;
- int newY = origSize.y;
-
- // Note: we are trying to determine here if the wizard page should
- // be resized based on the size of the control that is
- // given to us by the extension. The hard coded constants
- // below represent the vertical and horizontal pixels that need
- // to go around object selection control. Hopefully, a more
- // programatic method of doing this can be found in the future.
- if( compSize.x + 20 > origSize.x )
- {
- newX = compSize.x + 20;
- }
-
- if( compSize.y + 205 > origSize.y )
- {
- newY = compSize.y + 205;
- }
-
- widgetSize_ = new Point(newX, newY);
-
- return;
- }
- }
- }
- }
-
- public IStatus getStatus()
- {
- return (child != null) ? child.getStatus() : Status.OK_STATUS;
- }
-
- public void setInitialSelection(IStructuredSelection initialSelection)
- {
- this.initialSelection = initialSelection;
- project = getProjectFromInitialSelection(initialSelection);
- componentName = getComponentNameFromInitialSelection(initialSelection);
- if (child != null)
- child.setInitialSelection(initialSelection);
- }
-
- public IStructuredSelection getObjectSelection()
- {
- return (child != null) ? child.getObjectSelection() : null;
- }
-
- public IStatus validateSelection(IStructuredSelection objectSelection)
- {
- return (child != null) ? child.validateSelection(objectSelection) : Status.OK_STATUS;
- }
-
- public IProject getProject()
- {
- if (child != null)
- {
- IProject p = child.getProject();
- if (p != null)
- return p;
- else
- return project;
- }
- else
- {
- return null;
- }
- }
-
- public String getComponentName()
- {
- if (child != null)
- {
- String cname = child.getComponentName();
- if (cname != null && cname.length()>0)
- return cname;
- else
- return componentName;
- }
- else
- {
- return null;
- }
-
- }
-
- private IProject getProjectFromInitialSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
- IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
- return p;
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
- private String getComponentNameFromInitialSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
-
- IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
- if (comp != null)
- {
- return comp.getName();
- }
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
- public String getObjectSelectionDisplayableString() {
- return child.getObjectSelectionDisplayableString();
- }
-
- public Point getWidgetSize()
- {
- Point childWidgetSize = child.getWidgetSize();
- if (childWidgetSize == null)
- return widgetSize_;
- return childWidgetSize;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java
deleted file mode 100644
index ac762126b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060803 152486 makandre@ca.ibm.com - Andrew Mak, Typing WSDL in Service definition field is very slow
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import java.util.Calendar;
-import org.eclipse.swt.widgets.Display;
-
-public class Timer extends Thread
-{
- private final long ONE_SECOND = 1000;
- private long refreshTime;
- private boolean isRunning = true;
- private Display display;
- private Runnable runnable;
-
- private Timer(Display display, Runnable runnable)
- {
- this.display = display;
- this.runnable = runnable;
- }
-
- public synchronized static Timer newInstance(Timer timer, Display display, Runnable runnable)
- {
- if (!Timer.isRunning(timer))
- return new Timer(display, runnable);
-
- return timer;
- }
-
- public synchronized static boolean isRunning(Timer timer)
- {
- return timer != null && timer.isRunning;
- }
-
- public synchronized void startTimer()
- {
- refreshTime = getCurrentTime() + ONE_SECOND;
- if (!isAlive())
- this.start();
- }
-
- private long getCurrentTime()
- {
- return Calendar.getInstance().getTime().getTime();
- }
-
- public void run()
- {
- long currTime = getCurrentTime();
- while (currTime < refreshTime)
- {
- try
- {
- sleep(refreshTime - currTime);
- }
- catch (InterruptedException ie)
- {
- }
- currTime = getCurrentTime();
- }
- isRunning = false;
- display.syncExec(runnable);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java
deleted file mode 100644
index e27ee08da..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
-import org.eclipse.wst.wsdl.validation.internal.IValidationReport;
-import org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLValidator;
-
-
-
-public class ValidateWSDLJob extends Job {
-
- final public static String VALIDATE_WSDL_JOB_FAMILY = "ValidateWSDLJobJamily";
-
- private String wsdlURI_ = null;
- private IValidationMessage[] validationMessages_ = null;
- private int validationMessageSeverity_ = -1; // default value
-
- public ValidateWSDLJob(String wsdlURI) {
- super("ValidateWSDLJob");
- wsdlURI_ = wsdlURI;
- }
-
- protected IStatus run(IProgressMonitor monitor) {
- WSDLValidator wsdlValidator = WSDLValidator.getInstance();
- IValidationReport valReport = wsdlValidator.validate(wsdlURI_);
- validationMessages_ = valReport.getValidationMessages();
- reportSummary();
- return Status.OK_STATUS;
- }
-
- // calculate the higher severity for all the validation messages
- private void reportSummary() {
- int i;
- int severity;
- int errorCount = 0;
- int warningCount = 0;
- for (i=0; i<validationMessages_.length && errorCount == 0; i++) {
- severity = validationMessages_[i].getSeverity();
- switch (severity) {
- case IValidationMessage.SEV_ERROR:
- errorCount++;
- break;
- case IValidationMessage.SEV_WARNING:
- warningCount++;
- break;
- default:
- break;
- }
- }
- if (errorCount > 0) {
- validationMessageSeverity_ = IValidationMessage.SEV_ERROR;
- } else if (warningCount > 0) {
- validationMessageSeverity_ = IValidationMessage.SEV_WARNING;
- }
-
- }
-
- public boolean belongsTo(Object family)
- {
- return family == VALIDATE_WSDL_JOB_FAMILY;
- }
-
- public IValidationMessage[] getValidationMessages() {
- return validationMessages_;
- }
-
- public int getValidationMessageSeverity() {
- return validationMessageSeverity_;
- }
-
- public String getWsdlURI() {
- return wsdlURI_;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java
deleted file mode 100644
index 177f5dcc0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060310 131352 pmoogk@ca.ibm.com - Peter Moogk
- * 20060411 136134 kathy@ca.ibm.com - Kathy Chan
- * 20060420 136221 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-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.ui.ISharedImages;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
-
-
-public class ValidationMessageViewerWidget extends SimpleWidgetDataContributor
-{
- private int DEFAULT_TABLE_HEIGHT_HINT = 100;
- private TableViewer tableViewer_;
- private Table table_;
- private String message = null;
- static final String columns_[] = {ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_SEVERITY,
- ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_LINE,
- ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_COLUMN,
- ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_MESSAGE};
- static final int columnsWidth_[] = {12, 10, 10, 60};
- static final int columnMins_[] = {60, 50, 50, 300};
-
-
-
- public ValidationMessageViewerWidget()
- {
- }
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
-
- Composite composite = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout();
-
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- composite.setLayout(gl);
- composite.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- Text messageLabel = new Text( composite, SWT.READ_ONLY);
- messageLabel.setText( ConsumptionUIMessages.LABEL_VALIDATE_MESSAGES);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- messageLabel.setLayoutData(gd);
- messageLabel.setToolTipText( ConsumptionUIMessages.TOOLTIP_VALIDATE_TEXT_MESSAGE );
-
- table_ = new Table(composite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.BORDER);
- gd = new GridData(GridData.FILL_BOTH);
- gd.heightHint = DEFAULT_TABLE_HEIGHT_HINT;
- table_.setLayoutData(gd);
- table_.setHeaderVisible(true);
- table_.setLinesVisible(true);
- table_.setToolTipText(ConsumptionUIMessages.TOOLTIP_TABLE_VALIDATE_MESSAGE );
- TableLayout tableLayout = new TableLayout();
- for (int i = 0; i < columns_.length; i++)
- {
- TableColumn tableColumn = new TableColumn(table_, SWT.NONE);
- tableColumn.setText(columns_[i]);
- tableColumn.pack();
- ColumnWeightData columnData = new ColumnWeightData(columnsWidth_[i], columnMins_[i], true);
- tableLayout.addColumnData(columnData);
- }
- table_.setLayout(tableLayout);
-
- tableViewer_ = new TableViewer(table_);
-
- tableViewer_.setContentProvider(new ListContentProvider());
- tableViewer_.setLabelProvider(new ListLabelProvider());
-
- return this;
- }
-
- public void setInput(IValidationMessage[] messages)
- {
- tableViewer_.setInput(messages);
- tableViewer_.refresh();
- }
-
- public void clearInput()
- {
- IValidationMessage emptyMessages[] = {};
- this.setInput(emptyMessages);
- }
-
- public IContentProvider getContentProvider()
- {
- return tableViewer_.getContentProvider();
- }
-
- public IStatus getStatus()
- {
- return message == null ? Status.OK_STATUS :
- StatusUtils.errorStatus(message );
- }
-
- public void refresh()
- {
- tableViewer_.refresh();
- }
-
- public TableItem[] getItems()
- {
- //internalRefresh();
- return table_.getItems();
- }
-
- public void setEnabled(boolean enabled)
- {
- }
-
- public void dispose()
- {
- if (table_ != null)
- table_.dispose();
- }
-
- protected class ListContentProvider implements IStructuredContentProvider
- {
- public void dispose()
- {
- }
-
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
- {
- tableViewer_.add(getElements(newInput));
- }
-
- public Object[] getElements(Object inputElement)
- {
- if (inputElement instanceof IValidationMessage[])
- {
- IValidationMessage[] valMessages = (IValidationMessage[]) inputElement;
- return valMessages;
- }
- else
- return new Object[0];
- }
- }
-
- protected class ListLabelProvider implements ITableLabelProvider
- {
- public Image getColumnImage(Object element, int columnIndex)
- {
- if (element instanceof IValidationMessage)
- {
- IValidationMessage msg = (IValidationMessage) element;
-
- if (columnIndex == 0)
- {
- int severity = msg.getSeverity();
- if (severity == 0) {
- return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_ERROR_TSK);
- } else if (severity == 1) {
- return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_WARN_TSK);
- } else if (severity == 2) {
- return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_INFO_TSK);
- }
- }
- }
- return null;
- }
-
- public String getColumnText(Object element, int columnIndex)
- {
- String text = "";
- if (element instanceof IValidationMessage)
- {
- IValidationMessage msg = (IValidationMessage) element;
-
- switch (columnIndex) {
- case 0:
- // no text to display, only display severity as image
- break;
- case 1:
- text = (new Integer(msg.getLine())).toString();
- break;
- case 2:
- text = (new Integer(msg.getColumn())).toString();
- break;
- case 3:
- text = msg.getMessage();
- break;
-
- default:
- break;
- }
- }
- return text;
- }
-
- public void addListener(ILabelProviderListener listener)
- {
- }
-
- public void removeListener(ILabelProviderListener listener)
- {
- }
-
- public boolean isLabelProperty(Object element, String property)
- {
- return true;
- }
-
- public void dispose()
- {
- }
- }
- }
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java
deleted file mode 100644
index 2e2a8093a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import java.net.MalformedURLException;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.ServiceRefImpl;
-import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-
-public class WSDLSelectionTransformer implements Transformer
-{
- public Object transform(Object value)
- {
- if (value instanceof IStructuredSelection)
- {
- Object sel = ((IStructuredSelection)value).getFirstElement();
- if (sel instanceof IResource)
- {
- try
- {
- return new StructuredSelection(((IResource)sel).getLocation().toFile().toURL().toString());
- }
- catch (MalformedURLException murle)
- {
- }
- }
- else if (sel instanceof ServiceImpl)
- {
- return new StructuredSelection(J2EEActionAdapterFactory.getWSDLURI((ServiceImpl)sel));
- }
- else if (sel instanceof ServiceRefImpl)
- {
- return new StructuredSelection(J2EEActionAdapterFactory.getWSDLURI((ServiceRefImpl)sel));
- }
- else if (sel instanceof WSDLResourceImpl)
- {
- return new StructuredSelection(J2EEActionAdapterFactory.getWSDLURI((WSDLResourceImpl)sel));
- }
- }
- return value;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java
deleted file mode 100644
index 1cde51678..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java
+++ /dev/null
@@ -1,716 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
- * 20060410 136011 kathy@ca.ibm.com - Kathy Chan
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- * 20060504 119296 pmoogk@ca.ibm.com - Peter Moogk
- * 20060525 142281 joan@ca.ibm.com - Joan Haggarty
- * 20060607 144932 kathy@ca.ibm.com - Kathy Chan
- * 20060612 145081 pmoogk@ca.ibm.com - Peter Moogk
- * 20060719 139977 kathy@ca.ibm.com - Kathy Chan
- * 20060803 152701 cbrealey@ca.ibm.com - Chris Brealey
- * 20060803 152486 makandre@ca.ibm.com - Andrew Mak, Typing WSDL in Service definition field is very slow
- * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
- * 20060831 155883 makandre@ca.ibm.com - Andrew Mak, service impl field doesn't work after switching from BU to TD
- * 20061211 161589 makandre@ca.ibm.com - Andrew Mak, NPE in service generation after opening and cancelling from browse dialog
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import java.io.File;
-import java.net.MalformedURLException;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.IJobChangeEvent;
-import org.eclipse.core.runtime.jobs.IJobManager;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.core.runtime.jobs.JobChangeAdapter;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.common.UniversalPathTransformer;
-import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.TimedWSDLSelectionConditionCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionTreeWidget;
-import org.eclipse.jst.ws.internal.ui.common.DialogResourceBrowser;
-import org.eclipse.jst.ws.internal.ui.common.FileExtensionFilter;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSDLValidationContext;
-import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
-
-public class WSDLSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget, Runnable
-{
- private String pluginId_;
- private FileExtensionFilter wsFilter_;
- private WebServicesParser webServicesParser;
- private String wsdlURI_;
-
- private Composite parent_;
- private Listener statusListener_;
- private ModifyListener modifyListener_;
- private WSDLSelectionTreeWidget tree;
-
- private Timer timer_ = null;
-
- private UniversalPathTransformer transformer_ = new UniversalPathTransformer();
-
- /*CONTEXT_ID PCON0001 for the WSDL Selection Page*/
- private final String INFOPOP_PCON_PAGE = "PCON0001";
-
- /*CONTEXT_ID PCON0002 for the WSDL Document text field of the WSDL Selection Page*/
- private final String INFOPOP_PCON_TEXT_WSDL = "PCON0002";
- private Text webServiceURI;
-
- /*CONTEXT_ID PCON0003 for the WSDL Resource Browse button of the WSDL Selection Page*/
- private final String INFOPOP_PCON_BUTTON_BROWSE_WSDL = "PCON0003";
- private Button wsBrowseButton_;
-
- /*CONTEXT_ID PCON0004 for the Wizard WSDL Validation table of the WSDL Selection Page*/
- private ValidationMessageViewerWidget msgViewer_;
- private ValidateWSDLJob validateWSDLJob_;
- private JobChangeAdapter jobChangeAdapter_;
-
- /*CONTEXT_ID PCON0005 for the Wizard WSDL Validation summary message of the WSDL Selection Page*/
- private Text validationSummaryText_;
- private Text validationSummaryText2_;
-
- /*CONTEXT_ID PCON0006 for the Stop Wizard WSDL Validation button of the WSDL Selection Page*/
- private Button stopValidationButton_;
- private final String INFOPOP_PCON_BUTTON_STOP_VALIDATION = "PCON0006";
-
- public WSDLSelectionWidget()
- {
- pluginId_ = "org.eclipse.jst.ws.consumption.ui";
- wsFilter_ = new FileExtensionFilter(new String[] {"wsdl", "wsil", "html"});
- webServicesParser = WSDLParserFactory.getWSDLParser();
-
- final Runnable handleValidationMessages = new Runnable()
- {
- public void run()
- {
- msgViewer_.setInput(validateWSDLJob_.getValidationMessages());
- updateValidationSummary(validateWSDLJob_.getValidationMessageSeverity());
- setValidationInProgress(false);
- }
- };
-
- jobChangeAdapter_ = new JobChangeAdapter()
- {
- public void done(IJobChangeEvent event)
- {
- if (msgViewer_!= null && msgViewer_.getContentProvider() != null) {
- Display.getDefault().asyncExec( handleValidationMessages );
- }
- }
- };
- }
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
- UIUtils uiUtils = new UIUtils( pluginId_ );
- parent_ = parent;
- statusListener_ = statusListener;
-
- parent.setToolTipText( ConsumptionUIMessages.TOOLTIP_PCON_PAGE );
- PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, pluginId_ + "." + INFOPOP_PCON_PAGE );
-
- Composite wsdlGroup = uiUtils.createComposite( parent, 2, 5, 0 );
-
- Label wsLabel = new Label( wsdlGroup, SWT.WRAP);
- wsLabel.setText( ConsumptionUIMessages.LABEL_WS_SELECTION);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- wsLabel.setLayoutData(gd);
- wsLabel.setToolTipText( ConsumptionUIMessages.TOOLTIP_PCON_TEXT_WS );
-
- webServiceURI = uiUtils.createText( wsdlGroup, null,
- ConsumptionUIMessages.TOOLTIP_PCON_TEXT_WS,
- INFOPOP_PCON_TEXT_WSDL, SWT.SINGLE | SWT.BORDER );
- modifyListener_ =
- new ModifyListener()
- {
- public void modifyText(ModifyEvent event)
- {
- handleWebServiceURIModifyEvent();
- }
- };
-
- webServiceURI.addModifyListener(modifyListener_);
-
-// webServiceURI.addListener( SWT.Modify, statusListener );
-
- wsBrowseButton_ = uiUtils.createPushButton( wsdlGroup, ConsumptionUIMessages.BUTTON_BROWSE,
- ConsumptionUIMessages.TOOLTIP_PCON_BUTTON_BROWSE_WS,
- INFOPOP_PCON_BUTTON_BROWSE_WSDL );
- wsBrowseButton_.addSelectionListener(
- new SelectionListener()
- {
- public void widgetDefaultSelected(SelectionEvent event)
- {
- handleWSDLButton();
- }
-
- public void widgetSelected(SelectionEvent event)
- {
- handleWSDLButton();
- }
- });
-
- tree = new WSDLSelectionTreeWidget();
- tree.addControls(parent, statusListener);
- tree.setWebServicesParser(webServicesParser);
-
- msgViewer_ = new ValidationMessageViewerWidget();
- msgViewer_.addControls(parent, statusListener);
-
- validationSummaryText_ = new Text( parent, SWT.WRAP);
- validationSummaryText_.setEditable(false);
- GridData gd1 = new GridData(SWT.FILL, SWT.FILL, false, false);
- validationSummaryText_.setLayoutData(gd1);
- validationSummaryText_.setToolTipText( ConsumptionUIMessages.TOOLTIP_VALIDATE_TEXT_MESSAGE_SUMMARY );
-
- validationSummaryText2_ = new Text( parent, SWT.WRAP);
- validationSummaryText2_.setEditable(false);
- validationSummaryText2_.setLayoutData(gd1);
-
- stopValidationButton_ = uiUtils.createPushButton(parent,
- ConsumptionUIMessages.LABEL_BUTTON_STOP_WSDL_VALIDATION,
- ConsumptionUIMessages.TOOLTIP_STOP_VALIDATION_BUTTON,
- INFOPOP_PCON_BUTTON_STOP_VALIDATION);
- setValidationInProgress(false);
-
- stopValidationButton_.addSelectionListener(
- new SelectionListener()
- {
- public void widgetDefaultSelected(SelectionEvent event)
- {
- handleStopValidationButton();
- }
-
- public void widgetSelected(SelectionEvent event)
- {
- handleStopValidationButton();
- }
- });
-
- setMessageSummary();
- return this;
- }
-
- private void setMessageSummary() {
- String validationMessageSummary = ConsumptionUIMessages.MESSAGE_VALIDATE_NO_WSDL;
- PersistentWSDLValidationContext wsdlValidationContext = WSPlugin.getInstance().getWSDLValidationContext();
- String validationSelection = wsdlValidationContext.getPersistentWSDLValidation();
- if (PersistentWSDLValidationContext.VALIDATE_REMOTE_WSDL.equals(validationSelection)) {
- validationMessageSummary = ConsumptionUIMessages.MESSAGE_VALIDATE_REMOTE_WSDL;
- } else if (PersistentWSDLValidationContext.VALIDATE_ALL_WSDL.equals(validationSelection)) {
- validationMessageSummary = ConsumptionUIMessages.MESSAGE_VALIDATE_ALL_WSDL;
- }
- validationSummaryText_.setText( validationMessageSummary );
- validationSummaryText2_.setText(" ");
- }
-
- private void handleWebServiceURIModifyEvent()
- {
- if (webServiceURI.getText().indexOf(':') > 0) {
- timer_ = Timer.newInstance(timer_, Display.getCurrent(), this);
- timer_.startTimer();
- }
- else
- handleWebServiceURI();
- statusListener_.handleEvent(null);
- }
-
- private void handleWebServiceURI() {
- handleWebServiceURI(webServiceURI.getText());
- }
-
- private void handleWebServiceURI(String wsURI)
- {
- if (wsURI.indexOf(':') < 0)
- {
- IFile file = uri2IFile(wsURI);
- if (file != null)
- wsURI = iFile2URI(file);
- }
- if (wsURI != null && wsURI.indexOf(':') >= 0 && webServicesParser.getWebServiceEntityByURI(wsURI) == null)
- {
- TimedWSDLSelectionConditionCommand cmd = new TimedWSDLSelectionConditionCommand();
- cmd.setWebServicesParser(webServicesParser);
- cmd.setWebServiceURI(wsURI);
- cmd.execute(null, null);
- }
- WebServiceEntity entity = webServicesParser.getWebServiceEntityByURI(wsURI);
- if (entity != null && entity.getType() == WebServiceEntity.TYPE_WSDL)
- tree.setEnabled(false);
- else
- tree.setEnabled(true);
- tree.setWebServiceURI(wsURI);
- tree.refreshTreeViewer();
- wsdlURI_ = wsURI;
- }
-
- public void run()
- {
- handleWebServiceURI();
- statusListener_.handleEvent(null);
- }
-
- private void handleWSDLButton()
- {
- DialogResourceBrowser dialog = new DialogResourceBrowser( parent_.getShell(), null, wsFilter_);
- dialog.open();
- IResource res = dialog.getFirstSelection();
- if( res != null )
- {
- wsdlURI_ = res.getFullPath().toString();
- webServiceURI.setText( wsdlURI_ );
- }
-
- statusListener_.handleEvent(null);
- }
-
- private void setValidationInProgress(boolean validating) {
- stopValidationButton_.setEnabled(validating);
- }
-
- private void handleStopValidationButton()
- {
- IJobManager jobManager = Platform.getJobManager();
- Job[] jobs = jobManager.find( ValidateWSDLJob.VALIDATE_WSDL_JOB_FAMILY );
- ValidateWSDLJob existingValidateWSDLJob = null;
-
- if( jobs.length > 0 )
- {
- for (int i=0; i<jobs.length; i++) {
- existingValidateWSDLJob = (ValidateWSDLJob)jobs[i];
-
- if (existingValidateWSDLJob.getState() != Job.NONE) {
- existingValidateWSDLJob.cancel();
- }
- }
- }
- clearValidationMessages();
- setValidationInProgress(false);
- }
-
- private void clearValidationMessages() {
- msgViewer_.clearInput();
- validationSummaryText_.setText(" " );
- validationSummaryText2_.setText(" ");
- }
-
- public IStatus getStatus()
- {
- // Timer validation
- /*
- * Commenting out because we don't want to block fast typers from hitting Next/Finish
- if (Timer.isRunning())
- return new SimpleStatus("", ConsumptionUIMessages.PAGE_MSG_LOADING_WEB_SERVICE_URI, Status.ERROR);
- */
-
- // Validate the String representation of the Web service URI
- // For example, is it pointing to an existing resource in the workspace?
- String wsPath = webServiceURI.getText();
- if( wsPath == null || wsPath.length() <= 0 ) {
- clearValidationMessages();
- return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_INVALID_WEB_SERVICE_URI );
- }
- else if( wsPath.indexOf(':') < 0 )
- {
- IResource res = ResourceUtils.findResource(wsPath);
- if( res == null ) {
- clearValidationMessages();
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.PAGE_MSG_NO_SUCH_FILE, new Object[] {wsPath}) );
- }
- else if( res.getType() != IResource.FILE ) {
- clearValidationMessages();
- return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_INVALID_WEB_SERVICE_URI );
- }
- }
-
-
- // Validate the content of the Web service URI
- // For example, is selection a WSDL URI?
- if (!Timer.isRunning(timer_) && tree.isEnabled())
- {
- IStatus status = tree.getStatus();
- if (status != null)
- {
- int severity = status.getSeverity();
- if (severity == Status.ERROR || severity == Status.WARNING) {
- clearValidationMessages();
- return status;
- }
- }
- }
- else
- {
- if( wsPath.indexOf(':') < 0 )
- {
- String wsdlURI = iFile2URI((IFile)ResourceUtils.findResource(wsPath));
- if (webServicesParser.getWSDLDefinition(wsdlURI) == null) {
- clearValidationMessages();
- return StatusUtils.errorStatus(ConsumptionUIMessages.PAGE_MSG_SELECTION_MUST_BE_WSDL );
- }
- }
- }
-
-
- if (!Timer.isRunning(timer_)) {
- String wsdlURI1 = wsPath;
- boolean isRemote = true;
- if (tree.isEnabled()) { // is wsil
- wsdlURI1 = tree.getWsdlURI();
- if (wsdlURI1.startsWith("file:") || wsdlURI1.startsWith("platform:"))
- {
- isRemote = false;
- }
- } else {
- if (wsPath.indexOf(':') < 0)
- {
- isRemote = false;
- wsdlURI1 = iFile2URI((IFile)ResourceUtils.findResource(wsPath));
- }
- else if (wsPath.startsWith("file:") || wsPath.startsWith("platform:"))
- {
- isRemote = false;
- }
- }
-
- setMessageSummary();
- msgViewer_.clearInput();
- validateWSDL(wsdlURI1, isRemote);
- }
-
-
- // OK status
- return Status.OK_STATUS;
- }
-
- private void validateWSDL (String wsdlURI, boolean isRemote) {
-
- String validationSelection = WSPlugin.getInstance().getWSDLValidationContext().getPersistentWSDLValidation();;
- if ((PersistentWSDLValidationContext.VALIDATE_ALL_WSDL.equals(validationSelection)) ||
- (PersistentWSDLValidationContext.VALIDATE_REMOTE_WSDL.equals(validationSelection) && isRemote)) {
-
- IJobManager jobManager = Platform.getJobManager();
- Job[] jobs = jobManager.find( ValidateWSDLJob.VALIDATE_WSDL_JOB_FAMILY );
- ValidateWSDLJob existingValidateWSDLJob = null;
-
- boolean startWSDLValidation = true;
- validationSummaryText_.setText( ConsumptionUIMessages.MESSAGE_VALIDATE_IN_PROGRESS );
- validationSummaryText2_.setText(" ");
- if( jobs.length > 0 )
- {
- for (int i=0; i<jobs.length; i++) {
- existingValidateWSDLJob = (ValidateWSDLJob)jobs[i];
-
- if (existingValidateWSDLJob.getState() != Job.NONE) {
- // Job running or to be run
- // If the job is validating the same wsdlURI, let it finish running and ignore this one.
- // It is not for the same wsdlURI, cancel the job and schedule this one.
-
- if (!wsdlURI.equals(existingValidateWSDLJob.getWsdlURI())) {
- existingValidateWSDLJob.cancel();
- setValidationInProgress(false);
- } else {
- startWSDLValidation = false;
- }
- }
- }
- }
-
- if (startWSDLValidation) {
- startWSDLValidationJob(wsdlURI);
- }
- }
- return;
- }
-
- private void startWSDLValidationJob (String wsdlURI) {
- validateWSDLJob_ = new ValidateWSDLJob(wsdlURI);
- validateWSDLJob_.addJobChangeListener( jobChangeAdapter_ );
- validateWSDLJob_.schedule();
- setValidationInProgress(true);
- }
-
- public void updateValidationSummary(int messageSeverity)
- {
-
- switch (messageSeverity) {
- case IValidationMessage.SEV_ERROR:
- validationSummaryText_.setText(ConsumptionUIMessages.ERROR_MESSAGES_IN_VALIDATION);
- validationSummaryText2_.setText(ConsumptionUIMessages.WARNING_IF_CONTINUE);
- break;
- case IValidationMessage.SEV_WARNING:
- validationSummaryText_.setText(ConsumptionUIMessages.WARNING_MESSAGES_IN_VALIDATION);
- validationSummaryText2_.setText(ConsumptionUIMessages.WARNING_IF_CONTINUE);
- break;
- default:
- validationSummaryText_.setText(ConsumptionUIMessages.VALIDATION_COMPLETED);
- validationSummaryText2_.setText(" ");
- break;
- }
- }
-
- private IFile uri2IFile(String uri)
- {
- IResource res = ResourcesPlugin.getWorkspace().getRoot().findMember(uri);
-
- if (res instanceof IFile)
- return (IFile)res;
- else
- return null;
- }
-
- private String iFile2URI(IFile file)
- {
- File f = file.getLocation().toFile();
- try
- {
- return f.toURL().toString();
- }
- catch (MalformedURLException murle)
- {
- }
- return f.toString();
- }
-
- public void setInitialSelection(IStructuredSelection initialSelection)
- {
- if (initialSelection != null && !initialSelection.isEmpty())
- {
- Object object = initialSelection.getFirstElement();
- String wsdlURI = toWsdlURI(object);
- wsdlURI_ = wsdlURI;
-
- if (wsdlURI != null && webServiceURI != null)
- {
- handleWebServiceURI(wsdlURI);
-
- webServiceURI.removeModifyListener(modifyListener_);
- webServiceURI.setText(getObjectSelectionDisplayableString());
- webServiceURI.addModifyListener(modifyListener_);
- }
- }
- }
-
- private String toWsdlURI(Object object)
- {
- if (object instanceof ServiceImpl)
- return J2EEActionAdapterFactory.getWSDLURI((ServiceImpl)object);
- else if (object instanceof WSDLResourceImpl)
- return J2EEActionAdapterFactory.getWSDLURI((WSDLResourceImpl)object);
- else if (object instanceof ServiceRef)
- return J2EEActionAdapterFactory.getWSDLURI((ServiceRef)object);
- else if (object instanceof IFile)
- return ((IFile)object).getFullPath().toString();
- else if (object instanceof String)
- return (String)object;
- else
- return null;
- }
-
- public IStructuredSelection getObjectSelection()
- {
- StructuredSelection ss;
- if (tree != null && tree.getWsdlURI() != null)
- ss = new StructuredSelection(tree.getWsdlURI());
- else
- ss = new StructuredSelection(wsdlURI_);
- return new StructuredSelection(
- new WSDLSelectionWrapper( webServicesParser, ss));
- }
-
- public WebServicesParser getWebServicesParser()
- {
- return webServicesParser;
- }
-
- public IStatus validateSelection(IStructuredSelection objectSelection)
- {
- return Status.OK_STATUS;
- }
-
- public IProject getProject()
- {
- String wsdlURI;
-
- if (tree != null)
- wsdlURI = tree.getWsdlURI();
- else
- wsdlURI = wsdlURI_;
-
- if (wsdlURI != null)
- {
- IProject p = getProjectFromURI(wsdlURI);
- if (p!=null && p.exists())
- return p;
-
- String wsRelPath = wsdlURI_;
- IResource wsRes = ResourceUtils.findResource(wsRelPath);
- if (wsRes!=null && wsRes instanceof IFile)
- {
- IProject p2 = ((IFile)wsRes).getProject();
- return p2;
- }
-
- }
- return null;
- }
-
- public String getComponentName()
- {
-
- String wsdlURI;
- if (tree != null)
- wsdlURI = tree.getWsdlURI();
- else
- wsdlURI = wsdlURI_;
-
- if (wsdlURI != null)
- {
- String cname = getComponentNameFromURI(wsdlURI);
- if (cname!=null && cname.length()>0)
- return cname;
-
- String wsRelPath = wsdlURI_;
- IResource wsRes = ResourceUtils.findResource(wsRelPath);
- if (wsRes!=null && wsRes instanceof IFile)
- {
- IVirtualComponent comp = ResourceUtils.getComponentOf(wsRes);
- if (comp!=null)
- {
- return comp.getName();
- }
- }
-
- }
- return null;
- }
-
- private IProject getProjectFromURI(String uri)
- {
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- String wkspcRootLoc = root.getLocation().toString();
- int idx = uri.indexOf(wkspcRootLoc);
- if (idx != -1)
- {
- String relPath = uri.substring(wkspcRootLoc.length()+idx);
- IResource res = root.findMember(new Path(relPath));
- if (res instanceof IFile)
- {
- IProject p = ((IFile)res).getProject();
- return p;
- }
- }
- return null;
- }
-
- private String getComponentNameFromURI(String uri)
- {
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- String wkspcRootLoc = root.getLocation().toString();
- int idx = uri.indexOf(wkspcRootLoc);
- if (idx != -1)
- {
- String relPath = uri.substring(wkspcRootLoc.length()+idx);
- IResource res = root.findMember(new Path(relPath));
- if (res instanceof IFile)
- {
- IVirtualComponent comp = ResourceUtils.getComponentOf(res);
- if (comp!=null)
- {
- return comp.getName();
- }
- }
- }
- return null;
- }
-
- public String getObjectSelectionDisplayableString()
- {
- if (tree != null)
- {
- return transformer_.toPath(tree.getWsdlURI());
- }
- else
- {
- return transformer_.toPath(wsdlURI_);
- }
- }
-
- public Point getWidgetSize() {
- return new Point( 580, 580);
- }
-
- public boolean validate(String s) {
- String wsURI = s;
-
- if (wsURI.indexOf(':') < 0)
- {
- IFile file = uri2IFile(wsURI);
- if (file != null)
- wsURI = iFile2URI(file);
- }
- if (wsURI != null && wsURI.indexOf(':') >= 0 && webServicesParser.getWebServiceEntityByURI(wsURI) == null)
- {
- TimedWSDLSelectionConditionCommand cmd = new TimedWSDLSelectionConditionCommand();
- cmd.setWebServicesParser(webServicesParser);
- cmd.setWebServiceURI(wsURI);
- cmd.execute(null, null);
- }
-
- // prime widget based on the string
- wsdlURI_ = wsURI;
-
- WebServiceEntity entity = webServicesParser.getWebServiceEntityByURI(wsURI);
- if (entity != null && entity.getType() == WebServiceEntity.TYPE_WSDL)
- return true;
- else
- return false;
-
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java
deleted file mode 100644
index 80a6c1823..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-/**
- * This class is a very simple wrapper that binds a WSDL parser with
- * a wsdlSelection object.
- */
-public class WSDLSelectionWrapper
-{
- public WebServicesParser parser;
- public IStructuredSelection wsdlSelection;
-
- public WSDLSelectionWrapper( WebServicesParser parser,
- IStructuredSelection selection )
- {
- this.parser = parser;
- this.wsdlSelection = selection;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java
deleted file mode 100644
index 4e3f325ce..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java
+++ /dev/null
@@ -1,1573 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060206 126408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060222 115834 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060315 131963 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060418 129688 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 126780 kathy@ca.ibm.com - Kathy Chan
- * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
- * 20060523 133714 joan@ca.ibm.com - Joan Haggarty
- * 20060525 143843 joan@ca.ibm.com - Joan Haggarty
- * 20060905 156230 kathy@ca.ibm.com - Kathy Chan, Handling projects with no target runtime
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Set;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.server.core.FacetUtil;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentServerRuntimeContext;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.FacetMatchCache;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerUtil;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
-import org.eclipse.wst.ws.internal.wsrt.SimpleContext;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceState;
-
-public class ClientRuntimeSelectionWidgetDefaultingCommand extends AbstractDataModelOperation
-{
- private String DEFAULT_CLIENT_EAR_PROJECT_EXT = "EAR";
- private TypeRuntimeServer clientIds_;
- private boolean clientIdsFixed_ = false;
- private String clientRuntimeId_;
- private String clientProjectName_;
- private String clientEarProjectName_;
- protected boolean clientNeedEAR_ = true;
- private String clientComponentType_;
- private FacetMatcher clientFacetMatcher_;
-
- private IContext context_;
- private ISelection selection_;
- private IWebServiceClient webServiceClient_;
- private ResourceContext resourceContext_;
- private boolean test_;
-
- //A note on initial projects ...
- //The difference between clientInitialProject_ and initialProject_ is that
- //clientInitialProject_ comes from the ObjectSelectionOutputCommand while initialProject_
- //comes from SelectionCommand (i.e. it is the project containing the thing that was selected before
- //the wizard was launched). In the defaulting algorithm, clientInitialProject_ will
- //be given first priority. If, however, it is deemed that clientInitialProject_ is not a valid project
- //because it contains the J2EE Web service for which we are trying to create a client, initialProject_
- //will be given second priority.
- private IProject initialProject_; //This is the project containing the selection prior to the wizard being launched.
- private IProject clientInitialProject_; //This is the project containing the object selection from page 2.
- private String wsdlURI_;
- private WebServicesParser parser_;
-
- public ClientRuntimeSelectionWidgetDefaultingCommand()
- {
- super();
- }
-
- public void setClientTypeRuntimeServer( TypeRuntimeServer ids )
- {
- clientIds_ = ids;
- }
-
- public TypeRuntimeServer getClientTypeRuntimeServer()
- {
- return clientIds_;
- }
-
- public void setClientIdsFixed(boolean b)
- {
- clientIdsFixed_ = b;
- }
-
- public String getClientRuntimeId()
- {
- return clientRuntimeId_;
- }
-
- public String getClientProjectName()
- {
- return clientProjectName_;
- }
-
- public String getClientEarProjectName()
- {
- return clientEarProjectName_;
- }
-
- public void setClientEarProjectName(String name)
- {
- clientEarProjectName_ = name;
- }
-
- public String getClientComponentType()
- {
- return clientComponentType_;
- }
-
- public IWebServiceClient getWebService()
- {
- return webServiceClient_;
- }
-
- public IContext getContext()
- {
- return context_;
- }
-
- public ISelection getSelection()
- {
- return selection_;
- }
-
- /**
- * Defaults the following bits of information in the following order:
- * clientRuntimeId_ : the clientRuntimeId. Must be defaulted to non-empty String.
- * clientIds_.runtimeId_: the Web service runtime id. Must be defaulted to non-empty String.
- * clientProjectName_ : the name of the client project. Must be non-empty. May or may not exist.
- * clientComponentType_: the id of the client project template. Must be empty if the client
- * project exists. Must be non-empty of the client project does not exist.
- * clientIds_.serverId_: the server type id. May be an empty String if the defaulted Web service runtime
- * does not require a server.
- * clientIds_.serverInstanceId_: the server id. May be null or an empty String.
- * clientNeedEAR_: true if an EAR is needed. False otherwise.
- * clientEarProjectName_: the client EAR project. Must be empty if the clientNeedEAR_ is false.
- * Must be non-empty if the clientNeedEAR_ is true.
- * webServiceClient_ : the IWebServiceClient based on the calculated defaults. Must be non-null for "Next"
- * button to be enabled on the page following this command.
- * context_ : an IContext. Must be non-null for "Next" button to be enabled on the page following this command.
- */
- public IStatus execute(IProgressMonitor monitor, IAdaptable adaptable)
- {
-
- IEnvironment env = getEnvironment();
-
- try
- {
-
- //**Step 1** Default the Web service runtime.
-
- //clientIdsFixed_ is set to true for the Ant scenario. It's always false for the wizard
- //scenarios.
- if (clientIdsFixed_ && (clientProjectName_ == null))
- {
- // Set the clientRuntime based on the runtime, server, and initial
- // selection.
- DefaultRuntimeTriplet drt = getDefaultClientRuntimeForFixedRuntimeAndServer(clientInitialProject_);
- clientFacetMatcher_ = drt.getFacetMatcher();
- clientProjectName_ = drt.getProjectName();
- clientRuntimeId_ = drt.getRuntimeId();
- }
- else
- {
- ValidationUtils vu = new ValidationUtils();
-
- // Set the runtime based on the project containing the object selection/initial selection.
- DefaultRuntimeTriplet drt = null;
-
- if (!vu.isProjectServiceProject(clientInitialProject_, wsdlURI_, parser_) && !clientIdsFixed_)
- {
- //If clientIntialProject_ does not contain the J2EE Web service, choose a clientRuntime based on it.
- drt = getDefaultRuntime(clientInitialProject_, clientIds_.getTypeId(), true);
- clientFacetMatcher_ = drt.getFacetMatcher();
- clientProjectName_ = drt.getProjectName();
- clientRuntimeId_ = drt.getRuntimeId();
- }
- else
- {
- //clientInitialProject_ contains the J2EE Web service so don't use it.
- //Try using the initalProject_ instead.
- if (!vu.isProjectServiceProject(initialProject_, wsdlURI_, parser_) && !clientIdsFixed_)
- {
- //If intialProject_ does not contain the J2EE Web service, choose a clientRuntime based on it.
- drt = getDefaultRuntime(initialProject_, clientIds_.getTypeId(), true);
- clientFacetMatcher_ = drt.getFacetMatcher();
- clientProjectName_ = drt.getProjectName();
- clientRuntimeId_ = drt.getRuntimeId();
- }
- else
- {
- //Both clientIntialProject_ and initialProject_ contain the J2EE Web service
- //and cannot be used to influence clientRuntime defaulting.
- //Choose a clientRuntime but don't choose clientInitialProject_
- //as the clientProject.
- drt = getDefaultRuntime(null, clientIds_.getTypeId(), true);
- clientRuntimeId_ = drt.getRuntimeId();
- }
- }
-
- //Set the Web service runtime id from the clientRuntime
- clientIds_.setRuntimeId(WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId_).getRuntime()
- .getId());
- }
-
- //**Step 2** Default the client project if it was not already defaulted
- //as part of defaulting the Web service runtime.
- if (clientProjectName_ == null)
- {
- // Project name did not get set when the runtime was set, so set it now
- clientProjectName_ = getDefaultClientProjectName();
- }
-
- //**Step 3** Default the client project type.
- IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
- if (!clientProject.exists())
- {
- // Set the project template
- clientComponentType_ = getDefaultClientProjectTemplate();
- }
- else
- {
- //Set it to an empty String
- clientComponentType_ = "";
- }
-
-
- //**Step 4** Default the client server if this is not an Ant scenario.
- if (!clientIdsFixed_)
- {
- IStatus serverStatus = setClientDefaultServer();
- if (serverStatus.getSeverity() == Status.ERROR)
- {
- env.getStatusHandler().reportError(serverStatus);
- return serverStatus;
- }
- }
-
- //**Step 5** Default clientNeedEAR and client EAR if an EAR is needed
- setDefaultClientEarProject();
-
-
- //**Step 6** Calculate default IWebServiceClient. This is need to make sure that
- // Next is enabled on the page following this command.
- setDefaultsForExtension(env);
-
- return Status.OK_STATUS;
-
- } catch (Exception e)
- {
- // Catch all Exceptions in order to give some feedback to the user
- IStatus errorStatus = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED,
- new String[] { e.getMessage() }), e);
- env.getStatusHandler().reportError(errorStatus);
- return errorStatus;
- }
- }
-
- private void setDefaultClientEarProject()
- {
- //Don't need an ear if this is a Java project, or if the selected template is jst.utility
- IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
- if (clientProject.exists())
- {
- clientNeedEAR_ = !(FacetUtils.isJavaProject(clientProject));
- }
- else
- {
- clientNeedEAR_ = !(FacetUtils.isUtilityTemplate(clientComponentType_));
- }
-
- //If clientNeedEAR_ is still true, it means that we're not dealing with a Java project
- //or Java project type. Check the server.
- if (clientNeedEAR_)
- {
- // Determine if an ear selection is needed based on the server type.
-
- String serverId = clientIds_.getServerId();
- if (serverId != null)
- {
- // Use the server type
- String serverTargetId = ServerUtils.getRuntimeTargetIdFromFactoryId(serverId);
- if (serverTargetId != null && serverTargetId.length() > 0)
- {
- if (!ServerUtils.isTargetValidForEAR(serverTargetId, "13"))
- {
- // Default the EAR selection to be empty
- clientNeedEAR_ = false;
- }
- }
- } else { // serverId == null, assume that it does not need EAR
- clientNeedEAR_ = false;
-
- }
- }
-
- if (clientNeedEAR_)
- {
- clientEarProjectName_ = DefaultingUtils.getDefaultEARProjectName(clientProjectName_);
- }
- else
- {
- clientEarProjectName_ = "";
- }
- }
-
- private IStatus setClientDefaultServer()
- {
- //Choose an existing server the module is already associated with if possible
- IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
- IServer[] configuredServers = ServerUtil.getServersByModule(ServerUtils.getModule(clientProject), null);
-
- if (configuredServers!=null && configuredServers.length>0)
- {
- clientIds_.setServerId(configuredServers[0].getServerType().getId());
- clientIds_.setServerInstanceId(configuredServers[0].getId());
- return Status.OK_STATUS;
- }
-
- //If the project exists, choose a suitable server or server type based on the existing project's runtime or facets
- if (clientProject.exists())
- {
- IServer server = getServerFromProject(clientProjectName_, clientFacetMatcher_);
- if (server != null)
- {
- clientIds_.setServerId(server.getServerType().getId());
- clientIds_.setServerInstanceId(server.getId());
- return Status.OK_STATUS;
- }
- else
- {
- IServerType serverType = getServerTypeFromProject(clientProjectName_, clientFacetMatcher_);
- if (serverType != null)
- {
- clientIds_.setServerId(serverType.getId());
- return Status.OK_STATUS;
- }
- }
- }
-
- //Haven't picked a server/server type on the basis of the project. Pick a server/server type
- //that is compatible with the clientRuntimeId.
- IServer server = getServerFromClientRuntimeId();
- if (server!=null)
- {
- clientIds_.setServerId(server.getServerType().getId());
- clientIds_.setServerInstanceId(server.getId());
- return Status.OK_STATUS;
- }
-
- IServerType serverType = getServerTypeFromClientRuntimeId();
- if (serverType != null)
- {
- clientIds_.setServerId(serverType.getId());
- return Status.OK_STATUS;
- }
-
- // No suitable server was found. Popup an error if the default Web service
- // runtime requires a server.
- RuntimeDescriptor runtimeDescriptor = WebServiceRuntimeExtensionUtils2.getRuntimeById(clientIds_.getRuntimeId());
- if (runtimeDescriptor.getServerRequired())
- {
- String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(clientIds_.getRuntimeId());
- IStatus status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[] {
- runtimeLabel}));
- return status;
- }
-
- return Status.OK_STATUS;
- }
-
- private IServer getServerFromClientRuntimeId()
- {
- IServer[] servers = ServerCore.getServers();
- if (servers != null && servers.length > 0) {
-
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
-
- //If a server of the preferred server type is present, check that one first
- for (int j = 0; j < servers.length; j++)
- {
- String serverFactoryId = servers[j].getServerType().getId();
- if (serverFactoryId == preferredServerFactoryId)
- {
- if (WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportServer(clientRuntimeId_, serverFactoryId))
- {
- return servers[j];
- }
- }
- }
-
- //A server of the preferred server type could not be found or did not match. Check all the existing servers.
-
- for (int i = 0; i < servers.length; i++)
- {
- String serverFactoryId = servers[i].getServerType().getId();
- if (WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportServer(clientRuntimeId_, serverFactoryId))
- {
- return servers[i];
- }
- }
- }
- return null;
- }
-
- private IServerType getServerTypeFromClientRuntimeId()
- {
- String[] serverTypes = WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByClientRuntime(clientRuntimeId_);
- if (serverTypes!=null && serverTypes.length>0)
- {
- //Return the preferred one if it is in the list
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
- for (int i=0; i<serverTypes.length; i++)
- {
- if (serverTypes[i].equals(preferredServerFactoryId))
- {
- return ServerCore.findServerType(serverTypes[i]);
- }
- }
-
- return ServerCore.findServerType(serverTypes[0]);
- }
-
- return null;
- }
-
- protected IServer getServerFromProject(String projectName, FacetMatcher facetMatcher)
- {
- IServer server = null;
-
- IProject project = ProjectUtilities.getProject(projectName);
- IServer[] servers = ServerCore.getServers();
-
- if (servers.length > 0)
- {
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
-
- // Get the runtime.
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
- IFacetedProject fProject = null;
-
- if (project != null && project.exists())
- {
- try
- {
- fProject = ProjectFacetsManager.create(project);
- if (fProject != null)
- {
- fRuntime = fProject.getRuntime();
- }
- } catch (CoreException ce)
- {
-
- }
- }
-
- if (fRuntime != null)
- {
- // Get an existing server that has the same runtime.
- IServer firstMatchingServer = null;
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- for (int i = 0; i < servers.length; i++)
- {
- IServer thisServer = servers[i];
- if (thisServer.getRuntime().getId().equals(sRuntime.getId()))
- {
- if (firstMatchingServer==null)
- {
- firstMatchingServer = thisServer;
- }
-
- if (thisServer.getServerType().getId().equals(preferredServerFactoryId))
- {
-
- server = thisServer;
- break;
- }
- }
- }
-
- //If a server of the preferred server type was not found but
- //there was a server that matched, return that one.
- if (server == null && firstMatchingServer != null)
- {
- server = firstMatchingServer;
- }
- }
-
- // If an existing server could not be chosen on the basis of the project's
- // runtime,
- // try to find an existing server using the project's facets and the
- // facetsToAdd.
- if (server == null)
- {
- if (project!=null && project.exists())
- {
- Set facets = FacetUtils.getFacetsForProject(project.getName());
- if (facets != null)
- {
- Set facetsClone = new HashSet();
- facetsClone.addAll(facets);
- if (facetMatcher.getFacetsToAdd() != null)
- {
- Iterator itr = facetMatcher.getFacetsToAdd().iterator();
- while (itr.hasNext())
- {
- facetsClone.add(itr.next());
- }
- }
- server = getServerFromFacets(facetsClone);
- }
- }
- }
- }
- return server;
- }
-
- protected IServer getServerFromFacets(Set facets)
- {
- IServer server = null;
- Set runtimes = FacetUtils.getRuntimes(new Set[]{facets});
- Iterator itr = runtimes.iterator();
- IServer[] servers = ServerCore.getServers();
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
-
- //If one of the servers is of the preferred type, and its runtime
- //is in the set of matching runtimes, return that server.
- for (int j=0; j<servers.length; j++)
- {
- IServer thisServer = servers[j];
- if (thisServer.getServerType().getId().equals(preferredServerFactoryId))
- {
- //Check to see if it matches any of the runtimes.
- Iterator runtimesItr = runtimes.iterator();
- while(runtimesItr.hasNext())
- {
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime)runtimesItr.next();
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- if (thisServer.getRuntime().getId().equals(sRuntime.getId()))
- {
- server = thisServer;
- }
- }
- }
- }
-
- if (server == null)
- {
- outer: while (itr.hasNext())
- {
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime) itr
- .next();
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- for (int i = 0; i < servers.length; i++)
- {
- IServer thisServer = servers[i];
- if (thisServer.getRuntime().getId().equals(sRuntime.getId()))
- {
- server = thisServer;
- break outer;
- }
- }
- }
- }
-
- return server;
-
- }
-
- protected IServerType getServerTypeFromProject(String projectName, FacetMatcher facetMatcher)
- {
- IServerType serverType = null;
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
-
- IProject project = ProjectUtilities.getProject(projectName);
- IServerType[] serverTypes = ServerCore.getServerTypes();
-
- //Get the runtime.
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
- IFacetedProject fProject = null;
-
- if (project != null && project.exists())
- {
- try
- {
- fProject = ProjectFacetsManager.create(project);
- if (fProject != null)
- {
- fRuntime = fProject.getRuntime();
- }
- } catch (CoreException ce)
- {
-
- }
- }
-
- if (fRuntime != null)
- {
- //Get a server type that has the same runtime type.
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- IServerType firstMatchingServerType = null;
- for (int i=0; i<serverTypes.length; i++)
- {
- IServerType thisServerType = serverTypes[i];
- if (thisServerType.getRuntimeType().getId().equals(sRuntime.getRuntimeType().getId()))
- {
- if (firstMatchingServerType == null)
- {
- firstMatchingServerType = thisServerType;
- }
- if (thisServerType.getId().equals(preferredServerFactoryId))
- {
- serverType = thisServerType;
- break;
- }
- }
- }
-
- //If the preferred server type was not found but
- //there was a server type that matched, return that one.
- if (serverType == null && firstMatchingServerType != null)
- {
- serverType = firstMatchingServerType;
- }
- }
-
- //If a server type could not be chosen on the basis of the project's runtime,
- //try to find a server type using the project's facets and the facetsToAdd.
- if (serverType == null)
- {
- if (project != null && project.exists())
- {
- Set facets = FacetUtils.getFacetsForProject(project.getName());
- if (facets != null)
- {
- Set facetsClone = new HashSet();
- facetsClone.addAll(facets);
- if (facetMatcher.getFacetsToAdd() != null)
- {
- Iterator itr = facetMatcher.getFacetsToAdd().iterator();
- while (itr.hasNext())
- {
- facetsClone.add(itr.next());
- }
- }
- serverType = getServerTypeFromFacets(facetsClone);
- }
- }
- }
-
- return serverType;
-
- }
-
- protected IServerType getServerTypeFromFacets(Set facets)
- {
- IServerType serverType = null;
- Set runtimes = FacetUtils.getRuntimes(new Set[]{facets});
- Iterator itr = runtimes.iterator();
- IServerType[] serverTypes = ServerCore.getServerTypes();
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
-
- //If one of the server types is of the preferred type, and its runtime
- //is in the set of matching runtimes, return that server type.
- for (int j=0; j<serverTypes.length; j++)
- {
- IServerType thisServerType = serverTypes[j];
- if (thisServerType.getId().equals(preferredServerFactoryId))
- {
- //Check to see if it matches any of the runtimes.
- Iterator runtimesItr = runtimes.iterator();
- while(runtimesItr.hasNext())
- {
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime)runtimesItr.next();
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- if (thisServerType.getRuntimeType().getId().equals(sRuntime.getRuntimeType().getId()))
- {
- serverType = thisServerType;
- }
- }
- }
- }
-
-
- if (serverType == null)
- {
- outer: while (itr.hasNext())
- {
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime) itr
- .next();
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- for (int i = 0; i < serverTypes.length; i++)
- {
- IServerType thisServerType = serverTypes[i];
- if (thisServerType.getRuntimeType().getId().equals(sRuntime.getRuntimeType().getId()))
- {
- serverType = thisServerType;
- break outer;
- }
- }
- }
- }
-
- return serverType;
-
- }
-
- protected IServer getServerFromProjectType(String templateId, FacetMatcher facetMatcher)
- {
- IServer server = null;
- Set facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
- if (facetMatcher.getFacetsToAdd() != null)
- {
- Iterator itr = facetMatcher.getFacetsToAdd().iterator();
- while (itr.hasNext())
- {
- facets.add(itr.next());
- }
- }
- server = getServerFromFacets(facets);
- return server;
- }
-
- protected IServerType getServerTypeFromProjectType(String templateId, FacetMatcher facetMatcher)
- {
- IServerType serverType = null;
- Set facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
- if (facetMatcher.getFacetsToAdd() != null)
- {
- Iterator itr = facetMatcher.getFacetsToAdd().iterator();
- while (itr.hasNext())
- {
- facets.add(itr.next());
- }
- }
- //TODO Instead of passing in a single set of facets, pass in multiple sets, if the
- //jst.java facet is one of them and the clientRuntimeId allows newer.
- serverType = getServerTypeFromFacets(facets);
- return serverType;
- }
-
- private String getDefaultClientProjectTemplate()
- {
- String[] templates = WebServiceRuntimeExtensionUtils2.getClientProjectTemplates(clientIds_.getTypeId(), clientIds_.getRuntimeId());
-
- //Walk the list of client project types in the project topology preference
- ProjectTopologyContext ptc= WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- String[] preferredTemplateIds = ptc.getClientTypes();
- for (int j=0; j<preferredTemplateIds.length; j++)
- {
- for (int i=0; i<templates.length; i++)
- {
- String templateId = templates[i];
- if (templateId.equals(preferredTemplateIds[j]))
- {
-
- boolean matches = WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportTemplate(clientRuntimeId_, templateId);
- if (matches)
- {
- return templates[i];
- }
- }
- }
- }
-
- //Since the preferredTemplateIds contains the union of all project types for all client runtimes, we are
- //guaranteed to have returned by now, so the code below will never be executed under normal
- //circumstances. Just return something to satisfy the compiler.
- if (templates.length > 0)
- return templates[0];
-
- return "";
- }
-
- private String getDefaultClientProjectName()
- {
- ValidationUtils vu = new ValidationUtils();
- IProject[] projects = FacetUtils.getAllProjects();
- ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId_);
- RequiredFacetVersion[] rfvs = desc.getRequiredFacetVersions();
-
- //Check each project and its facetRuntime for compatibility with the clientRuntime
- for (int i=0; i<projects.length; i++)
- {
- if (!vu.isProjectServiceProject(projects[i], wsdlURI_, parser_))
- {
- Set facetVersions = FacetUtils.getFacetsForProject(projects[i].getName());
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
- String fRuntimeName = null;
- fRuntime = FacetUtils.getFacetRuntimeForProject(projects[i].getName());
- if (fRuntime != null)
- {
- fRuntimeName = fRuntime.getName();
- }
-
- if (facetVersions != null)
- {
-
- // FacetMatcher fm = FacetUtils.match(rfvs, facetVersions);
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(true, clientRuntimeId_, projects[i].getName());
- boolean facetRuntimeMatches = true;
- if (fRuntimeName != null)
- {
- facetRuntimeMatches = FacetUtils.isFacetRuntimeSupported(rfvs, fRuntimeName);
- }
-
- if (fm.isMatch() && facetRuntimeMatches)
- {
- clientFacetMatcher_ = fm;
- return projects[i].getName();
- }
- }
- }
- }
-
- //No project was suitable, return a new project name
- return ResourceUtils.getDefaultWebProjectName();
-
- }
-
- private DefaultRuntimeTriplet getDefaultClientRuntimeForFixedRuntimeAndServer(IProject project)
- {
- String[] clientRuntimes = WebServiceRuntimeExtensionUtils2.getClientRuntimesByType(clientIds_.getTypeId());
- ArrayList validClientRuntimes = new ArrayList();
- for (int i=0; i<clientRuntimes.length; i++ )
- {
- ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimes[i]);
- if (desc.getRuntime().getId().equals(clientIds_.getRuntimeId()))
- {
- //Check if this client runtime supports the server
- if (WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportServer(desc.getId(), clientIds_.getServerId()))
- {
- validClientRuntimes.add(desc.getId());
- if (project != null && project.exists())
- {
- //RequiredFacetVersion[] rfv = desc.getRequiredFacetVersions();
- Set facetVersions = FacetUtils.getFacetsForProject(project.getName());
- if (facetVersions != null)
- {
- //FacetMatcher fm = FacetUtils.match(rfv, facetVersions);
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(true, clientRuntimes[i], project.getName());
- if (fm.isMatch())
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(fm);
- drt.setProjectName(project.getName());
- drt.setRuntimeId(desc.getId());
- return drt;
- }
- }
- }
-
- }
- }
-
- }
-
- if (validClientRuntimes.size() > 0)
- {
- //We couldn't match to the initially selected project so return the first valid runtime.
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(null);
- drt.setProjectName(null);
- drt.setRuntimeId(((String[])validClientRuntimes.toArray(new String[0]))[0]);
- return drt;
- }
- else
- {
- //There are no client runtimes that match the fixed runtime and server. Fall back to original algorithm
- clientIdsFixed_ = false;
- return getDefaultRuntime(project, clientIds_.getTypeId(), true);
- }
- }
-
- protected DefaultRuntimeTriplet getDefaultRuntime(IProject project, String typeId, boolean isClient)
- {
- String[] runtimes = null;
- if (isClient)
- {
- runtimes = WebServiceRuntimeExtensionUtils2.getClientRuntimesByType(typeId);
- }
- else
- {
- runtimes = WebServiceRuntimeExtensionUtils2.getServiceRuntimesByServiceType(typeId);
- }
-
- //Split the array of service/client runtimes into one containing the preferred set and one containing the rest.
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredRuntimeId = context.getRuntimeId();
- ArrayList preferredRuntimeIdsList = new ArrayList();
- ArrayList otherRuntimeIdsList = new ArrayList();
- for (int k=0; k<runtimes.length; k++ )
- {
- String descRuntimeId = null;
- if (isClient)
- {
- ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(runtimes[k]);
- descRuntimeId = desc.getRuntime().getId();
- }
- else
- {
- ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(runtimes[k]);
- descRuntimeId = desc.getRuntime().getId();
- }
-
- if (descRuntimeId.equals(preferredRuntimeId))
- {
- preferredRuntimeIdsList.add(runtimes[k]);
- }
- else
- {
- otherRuntimeIdsList.add(runtimes[k]);
- }
- }
- String[] preferredRuntimeIds = (String[])preferredRuntimeIdsList.toArray(new String[0]);
- String[] otherRuntimeIds = (String[])otherRuntimeIdsList.toArray(new String[0]);
-
- Set facetVersions = null;
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
- String fRuntimeName = null;
-
- //If the initially selected project exists and facets can be inferred from it, look for
- //a service/client runtime that matches the project's facets and also, if possible, its facet runtime.
- //Preference should be given to the preferred service/client runtimes.
- if (project != null && project.exists())
- {
- facetVersions = FacetUtils.getFacetsForProject(project.getName());
- fRuntime = FacetUtils.getFacetRuntimeForProject(project.getName());
- fRuntimeName = null;
- if (fRuntime != null)
- {
- fRuntimeName = fRuntime.getName();
- }
-
- if (facetVersions != null)
- {
- //1. First check to see if one of the preferred service/client runtimes matches the existing
- //project's facets and runtime.
- for (int p = 0; p < preferredRuntimeIds.length; p++)
- {
- RequiredFacetVersion[] prfv = null;
- if (isClient)
- {
- prfv = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(preferredRuntimeIds[p]).getRequiredFacetVersions();
- }
- else
- {
- prfv = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(preferredRuntimeIds[p]).getRequiredFacetVersions();
- }
-
- //FacetMatcher fm = FacetUtils.match(prfv, facetVersions);
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, preferredRuntimeIds[p], project.getName());
- boolean facetRuntimeMatches = true;
- if (fRuntimeName != null)
- {
- facetRuntimeMatches = FacetUtils.isFacetRuntimeSupported(prfv, fRuntimeName);
- }
-
- if (fm.isMatch() && facetRuntimeMatches)
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(fm);
- drt.setProjectName(project.getName());
- drt.setRuntimeId(preferredRuntimeIds[p]);
- return drt;
- }
- }
-
- //2. Second, check to see if one of the other clientRuntimes matches the existing
- //project's facets and runtime.
- for (int i=0; i<otherRuntimeIds.length; i++)
- {
- RequiredFacetVersion[] rfv = null;
- if (isClient)
- {
- rfv = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(otherRuntimeIds[i]).getRequiredFacetVersions();
- }
- else
- {
- rfv = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(otherRuntimeIds[i]).getRequiredFacetVersions();
- }
-
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, otherRuntimeIds[i], project.getName());
- boolean facetRuntimeMatches = true;
- if (fRuntimeName != null)
- {
- facetRuntimeMatches = FacetUtils.isFacetRuntimeSupported(rfv, fRuntimeName);
- }
- if (fm.isMatch() && facetRuntimeMatches)
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(fm);
- drt.setProjectName(project.getName());
- drt.setRuntimeId(otherRuntimeIds[i]);
- return drt;
- }
- }
-
- //3. Third, check to see if one of the preferred clientRuntimes matches the existing
- //project's facets.
- for (int p = 0; p < preferredRuntimeIds.length; p++)
- {
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, preferredRuntimeIds[p], project.getName());
- if (fm.isMatch())
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(fm);
- drt.setProjectName(project.getName());
- drt.setRuntimeId(preferredRuntimeIds[p]);
- return drt;
- }
- }
-
- //4. Fourth, check to see if the one the other clientRuntimes matches the existing
- //project's facets.
- for (int i=0; i<otherRuntimeIds.length; i++)
- {
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, otherRuntimeIds[i], project.getName());
- if (fm.isMatch())
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(fm);
- drt.setProjectName(project.getName());
- drt.setRuntimeId(otherRuntimeIds[i]);
- return drt;
- }
- }
- }
- }
-
- //Haven't returned yet so this means that the intitially selected project cannot be used
- //to influence the selection of the service/client runtime.
-
- //Use the preferred project types to influence the selection of a runtime.
- ProjectTopologyContext ptc = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- String[] preferredTemplateIds = null;
- if (isClient)
- {
- preferredTemplateIds = ptc.getClientTypes();
- }
- else
- {
- preferredTemplateIds = ptc.getServiceTypes();
- }
-
-
- for (int n=0; n<preferredTemplateIds.length; n++)
- {
- String preferredTemplateId = preferredTemplateIds[n];
-
- for (int m=0; m<preferredRuntimeIds.length; m++)
- {
- //If this client or service runtime supports this template, choose it and exit.
- boolean matches = false;
- if (isClient)
- {
- matches = WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportTemplate(preferredRuntimeIds[m], preferredTemplateId);
- }
- else
- {
- matches = WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportTemplate(preferredRuntimeIds[m], preferredTemplateId);
- }
-
- if (matches)
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(null);
- //If the project doesn't exist, use the name of the project that was passed in.
- //If the project exists, it means that previous code in this method
- //determined it to not be a suitable project. Clear the project name.
- if (project==null || project.exists())
- {
- drt.setProjectName(null);
- }
- else
- {
- drt.setProjectName(project.getName());
- }
- drt.setRuntimeId(preferredRuntimeIds[m]);
- return drt;
- }
- }
- }
-
-
- //Still haven't returned. Return the first preferred service/client runtime id.
- if (preferredRuntimeIds.length > 0)
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(null);
- //If the project doesn't exist, use the name of the project that was passed in.
- //If the project exists, it means that previous code in this method
- //determined it to not be a suitable project. Clear the project name.
- if (project==null || project.exists())
- {
- drt.setProjectName(null);
- }
- else
- {
- drt.setProjectName(project.getName());
- }
- drt.setRuntimeId(preferredRuntimeIds[0]);
- return drt;
- }
-
- if (runtimes.length > 0)
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(null);
- //If the project doesn't exist, use the name of the project that was passed in.
- //If the project exists, it means that previous code in this method
- //determined it to not be a suitable project. Clear the project name.
- if (project==null || project.exists())
- {
- drt.setProjectName(null);
- }
- else
- {
- drt.setProjectName(project.getName());
- }
- drt.setRuntimeId(runtimes[0]);
- return drt;
- }
- else
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(null);
- //If the project doesn't exist, use the name of the project that was passed in.
- //If the project exists, it means that previous code in this method
- //determined it to not be a suitable project. Clear the project name.
- if (project==null || project.exists())
- {
- drt.setProjectName(null);
- }
- else
- {
- drt.setProjectName(project.getName());
- }
- drt.setRuntimeId(null);
- return drt;
- }
- }
- /**
- *
- * @param project
- * @return
- */
- protected SelectionListChoices getProjectEARChoice(IProject project)
- {
- String[] flexProjects = getAllFlexibleProjects();
- SelectionList list = new SelectionList(flexProjects, 0);
- return new SelectionListChoices(list, null);
- }
-
- protected SelectionList getEARProjects()
- {
- String[] flexProjects = getAllFlexibleProjects();
- return new SelectionList(flexProjects, 0);
- }
-
- protected IResource getResourceFromInitialSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- return resource;
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
-
-
- /*
- * Set defaults for the client-side from the service-side if possible.
- * Sets clientProjectName_ to a value based on the service project name.
- *
- * Returns an IStatus.OK if the service side values for server and Web
- * service runtime can be used to set the values for clientRuntimeId_,
- * clientComponentType_, all the values in clientIds_, and clientEarProjectName_.
- *
- * Returns an IStatus.ERROR otherwise, leaving only the clientProjectName_ set.
- */
- protected IStatus defaultClientSideFromServiceSide(String serviceProjectName, TypeRuntimeServer serviceIds, boolean serviceNeedEAR, String serviceEarProjectName)
- {
- //1. Start with setting the default client project name based on the service project name.
- boolean isEJB = false;
- String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(serviceIds.getTypeId());
- isEJB = (implId.equals("org.eclipse.jst.ws.wsImpl.ejb"));
- String[] updatedNames = ResourceUtils.getClientProjectComponentName(serviceProjectName, serviceProjectName, isEJB);
- clientProjectName_ = updatedNames[0];
-
- //2. Ideally, the server and runtime on the client-side will be defaulted
- // to the same values as the service side. If a client runtime id that
- // supports clientProjectName_ and the service-side server and runtime defaults
- // can be found, choose it.
- IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
- TypeRuntimeServer testIds = new TypeRuntimeServer();
- testIds.setTypeId(clientIds_.getTypeId());
- testIds.setRuntimeId(serviceIds.getRuntimeId());
- testIds.setServerId(serviceIds.getServerId());
- testIds.setServerInstanceId(serviceIds.getServerInstanceId());
-
- if (clientProject.exists())
- {
- clientComponentType_ = "";
- clientRuntimeId_ = WebServiceRuntimeExtensionUtils2.getClientRuntimeId(testIds, serviceProjectName, clientComponentType_);
- if (clientRuntimeId_ != null && clientRuntimeId_.length()>0)
- {
- clientIds_.setRuntimeId(serviceIds.getRuntimeId());
- clientIds_.setServerId(serviceIds.getServerId());
- clientIds_.setServerInstanceId(serviceIds.getServerInstanceId());
- }
- }
- else
- {
- //See if there is a client project type that supports the service-side
- //server and runtime defaults. Pick a client project type based on project topology preferences.
- //Choose the clientRuntimeId_ accordingly.
- String[] templateIds = WebServiceRuntimeExtensionUtils2.getClientProjectTemplates(clientIds_.getTypeId(), testIds.getRuntimeId());
- if (templateIds != null && templateIds.length > 0)
- {
- ProjectTopologyContext ptc = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- String[] preferredTemplateIds = ptc.getClientTypes();
- outer: for (int j = 0; j < preferredTemplateIds.length; j++)
- {
- for (int i = 0; i < templateIds.length; i++)
- {
- String templateId = templateIds[i];
- if (templateId.equals(preferredTemplateIds[j]))
- {
- // Get a clientRuntimeId for this template
- String newClientRuntimeId = WebServiceRuntimeExtensionUtils2.getClientRuntimeId(testIds, clientProjectName_,
- templateId);
- if (newClientRuntimeId.length() > 0)
- {
- clientRuntimeId_ = newClientRuntimeId;
- clientComponentType_ = templateId;
- clientIds_.setRuntimeId(serviceIds.getRuntimeId());
- clientIds_.setServerId(serviceIds.getServerId());
- clientIds_.setServerInstanceId(serviceIds.getServerInstanceId());
- break outer;
- }
- }
- }
- }
- }
- }
-
- //3. If step 2 was successful, clientRuntimeId_ should now be set, along with clientProjectName_,
- // clientComponentType_, and all the values in clientIds_. All that remains is setting the EAR.
- if (clientRuntimeId_ != null && clientRuntimeId_.length()>0)
- {
- setDefaultClientEarProject();
- //Update the client side EAR from the service side EAR if necessary.
- if (serviceNeedEAR)
- {
- defaultClientEarFromServiceEar(serviceProjectName, serviceEarProjectName);
- }
- return Status.OK_STATUS;
- }
- else
- {
- //Step 2 was not successful. Client side defaulting cannot be done using the service side server
- //and web service runtime defaults. Return an error status.
- return StatusUtils.errorStatus("");
- }
- }
-
- protected void defaultClientEarFromServiceEar(String serviceProjectName, String serviceEarProjectName)
- {
- //Client side
- if (clientNeedEAR_)
- {
- IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
- if(clientProject==null || !clientProject.exists()
- || !(clientEarProjectName_.equalsIgnoreCase(serviceEarProjectName)))
- {
- ProjectTopologyContext ptc= WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- if (!ptc.isUseTwoEARs())
- {
- clientEarProjectName_ = serviceEarProjectName;
- }
- else
- {
- IProject proxyEARProject = getUniqueClientEAR(clientEarProjectName_, serviceEarProjectName, clientProjectName_, serviceProjectName);
- clientEarProjectName_ = proxyEARProject.getName();
- }
- }
- }
-
- }
-
- private IProject getUniqueClientEAR(String earProjectName, String serviceEARProject, String clientProjectName, String serviceProjectName) {
-
- String projectName = new String();
- //If the client project doesn't exist and the service project does, ensure the
- //the client side EAR's J2EE level is such that the service project could be added to it.
- //This will ensure we don't default the page with a client project EAR at a lower
- //J2EE level than the service side.
- boolean goodJ2EELevel = true;
- if (!earProjectName.equalsIgnoreCase(serviceEARProject))
- {
- IProject clientProject = ProjectUtilities.getProject(clientProjectName);
- IProject serviceProject = ProjectUtilities.getProject(serviceProjectName);
- IProject earProject = ProjectUtilities.getProject(earProjectName);
- if (!clientProject.exists() && serviceProject.exists())
- {
- IStatus associationStatus = J2EEUtils.canAssociateProjectToEAR(serviceProject, earProject);
- goodJ2EELevel = (associationStatus.getSeverity() == IStatus.OK);
- }
- }
-
- if (!earProjectName.equalsIgnoreCase(serviceEARProject) && goodJ2EELevel) {
- projectName = earProjectName;
- }
- else {
- projectName = clientProjectName+DEFAULT_CLIENT_EAR_PROJECT_EXT;
- int i=1;
- while (projectName.equalsIgnoreCase(serviceEARProject)) {
- projectName = projectName+i;
- i++;
- }
- }
- return projectName.equals("") ? null : ResourceUtils.getWorkspaceRoot().getProject(projectName);
-
- }
-
- private void setDefaultsForExtension(IEnvironment env)
- {
- IWebServiceRuntime wsrt = WebServiceRuntimeExtensionUtils2.getClientRuntime(clientRuntimeId_);
- if (wsrt != null)
- {
- WebServiceClientInfo wsInfo = new WebServiceClientInfo();
- wsInfo.setServerFactoryId(clientIds_.getServerId());
- wsInfo.setServerInstanceId(clientIds_.getServerInstanceId());
- wsInfo.setState(WebServiceState.UNKNOWN_LITERAL);
- wsInfo.setWebServiceRuntimeId(clientIds_.getRuntimeId());
- wsInfo.setWsdlURL(wsdlURI_);
-
- webServiceClient_ = wsrt.getWebServiceClient(wsInfo);
- WebServiceScenario scenario = WebServiceScenario.CLIENT_LITERAL;
- if (resourceContext_ != null)
- {
- context_ = new SimpleContext(true, true, true, true, true, true, test_, false, scenario, resourceContext_.isOverwriteFilesEnabled(), resourceContext_
- .isCreateFoldersEnabled(), resourceContext_.isCheckoutFilesEnabled());
- }
- }
-
- }
-
- public void setClientInitialSelection(IStructuredSelection selection)
- {
- if (clientInitialProject_ == null)
- {
- clientInitialProject_ = getProjectFromInitialSelection(selection);
- }
- }
-
- // This is for the Ant scenario where the client project name can be set in the property file.
- // If the user has set the ClientProjectName use it for defaulting purposes
- public void setClientProjectName(String name)
- {
- clientProjectName_ = name;
- }
-
- public void setClientInitialProject(IProject clientInitialProject)
- {
- clientInitialProject_ = clientInitialProject;
- }
-
- /**
- * @param initialInitialSelection_ The initialInitialSelection_ to set.
- */
- public void setInitialInitialSelection(IStructuredSelection initialInitialSelection)
- {
- initialProject_ = getProjectFromInitialSelection(initialInitialSelection);
- }
-
- public boolean getClientNeedEAR()
- {
- return clientNeedEAR_;
- }
-
- /**
- * @param parser_ The parser_ to set.
- */
- public void setWebServicesParser(WebServicesParser parser) {
- parser_ = parser;
- }
-
- public void setWsdlURI(String wsdlURI)
- {
- wsdlURI_ = wsdlURI;
- }
-
- public void setTestService(boolean testService)
- {
- test_ = testService;
- }
-
- public void setResourceContext( ResourceContext resourceContext )
- {
- resourceContext_ = resourceContext;
- }
-
- private IProject getProjectFromInitialSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
- IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
- return p;
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
- protected String[] getAllFlexibleProjects()
- {
- Vector v = new Vector();
- IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
- for (int i = 0; i < projects.length; i++)
- {
- if (!projects[i].getName().equals("Servers") && !projects[i].getName().startsWith("."))
- {
- v.add(projects[i].getName());
- }
- }
-
- return (String[])v.toArray(new String[0]);
-
- }
-
- protected class FacetRuntimeMatcher
- {
- FacetMatcher facetMatcher;
- boolean runtimeMatches;
-
- public FacetMatcher getFacetMatcher()
- {
- return facetMatcher;
- }
- public void setFacetMatcher(FacetMatcher facetMatcher)
- {
- this.facetMatcher = facetMatcher;
- }
- public boolean isRuntimeMatches()
- {
- return runtimeMatches;
- }
- public void setRuntimeMatches(boolean runtimeMatches)
- {
- this.runtimeMatches = runtimeMatches;
- }
- }
-
- protected class DefaultRuntimeTriplet
- {
- FacetMatcher facetMatcher_;
- String projectName_;
- String runtimeId_;
-
-
- public DefaultRuntimeTriplet()
- {
- }
-
- public FacetMatcher getFacetMatcher()
- {
- return facetMatcher_;
- }
- public void setFacetMatcher(FacetMatcher facetMatcher_)
- {
- this.facetMatcher_ = facetMatcher_;
- }
- public String getProjectName()
- {
- return projectName_;
- }
- public void setProjectName(String projectName_)
- {
- this.projectName_ = projectName_;
- }
- public String getRuntimeId()
- {
- return runtimeId_;
- }
- public void setRuntimeId(String runtimeId_)
- {
- this.runtimeId_ = runtimeId_;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java
deleted file mode 100644
index dac452a78..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java
+++ /dev/null
@@ -1,614 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124143 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 122661 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060223 129020 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
- * 20060510 140868 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060524 141024 joan@ca.ibm.com - Joan Haggarty
- * 20060829 145449 makandre@ca.ibm.com - Andrew Mak, Web service client project type dropdown disabled after selecting client project
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public class ProjectSelectionWidget extends SimpleWidgetDataContributor {
-
-
-
- private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
-
- //private SelectionListChoices projects_;
-
- private boolean needEAR_;
-
- private TypeRuntimeServer trsIds_;
-
- private Listener statusListener_;
-
- private Text messageText_;
-
- private boolean isClient_ = false;
-
- private byte CREATE_PROJECT = (byte) 1;
-
- private byte CREATE_EAR = (byte) 2;
-
- private byte ADD_EAR_ASSOCIATION = (byte) 4;
-
- private Composite parent_;
- private Combo moduleProject_;
- private Combo earProject_;
- private Combo projectType_;
-
- private String[] templates_;
-
- //private String componentType_;
-
- private ModifyListener projectTypeListener_;
- private ModifyListener moduleProjectListener_;
- private ModifyListener earProjectListener_;
-
- /*
- * CONTEXT_ID PWRS0006 for the service-side Web project combo box of the
- * runtime selection Page
- */
- private String INFOPOP_PWRS_COMBO_PROJECT = pluginId_ + ".PWRS0006";
-
- //private Combo module_;
-
- /* CONTEXT_ID PWRS0018 for the client project type combo box of the runtime selection Page */
- private String INFOPOP_PWRS_COMBO_CLIENT_PROJECT_TYPE = pluginId_ + ".PWRS0018";
-
- /* CONTEXT_ID PWRS0024 for the service project type combo box of the runtime selection Page */
- private String INFOPOP_PWRS_COMBO_SERVICE_PROJECT_TYPE = pluginId_ + ".PWRS0018";
-
- //private Combo earModule_;
-
- /*
- * Default Constructor
- */
- public ProjectSelectionWidget() {
- }
-
- /*
- * ProjectSelectionWidget @param isClient
- */
- public ProjectSelectionWidget(boolean isClient) {
- this.isClient_ = isClient;
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener) {
-
- parent_ = parent;
- UIUtils uiUtils = new UIUtils(pluginId_);
-
- statusListener_ = statusListener;
-
- if (isClient_)
- {
- moduleProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_CLIENT_PROJECT, ConsumptionUIMessages.LABEL_CLIENT_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
- projectType_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_CLIENT_TYPE, ConsumptionUIMessages.TOOLTIP_PWCR_COMBO_CLIENT_TYPE, INFOPOP_PWRS_COMBO_CLIENT_PROJECT_TYPE, SWT.SINGLE | SWT.BORDER |SWT.READ_ONLY);
- earProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_CLIENT_EAR_PROJECT, ConsumptionUIMessages.LABEL_CLIENT_EAR_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
- }
- else
- {
- moduleProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_SERVICE_PROJECT, ConsumptionUIMessages.LABEL_SERVICE_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
- projectType_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_SERVICE_TYPE, ConsumptionUIMessages.TOOLTIP_PWCR_COMBO_SERVICE_TYPE, INFOPOP_PWRS_COMBO_SERVICE_PROJECT_TYPE, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
- earProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_SERVICE_EAR_PROJECT, ConsumptionUIMessages.LABEL_SERVICE_EAR_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
- }
-
- //Temporarily remove the listeners
-
- projectTypeListener_ = new ModifyListener()
- {
- public void modifyText(ModifyEvent evt)
- {
- handleProjectTypeChanged();
- statusListener_.handleEvent( null );
- }
- };
-
- moduleProjectListener_ = new ModifyListener()
- {
- public void modifyText(ModifyEvent evt)
- {
- handleProjectChanged();
- statusListener_.handleEvent( null );
- }
- };
-
- earProjectListener_ = new ModifyListener()
- {
- public void modifyText(ModifyEvent evt)
- {
- statusListener_.handleEvent( null );
- }
- };
-
- // message area
- messageText_ = uiUtils.createText(parent, ConsumptionUIMessages.LABEL_NO_LABEL, ConsumptionUIMessages.LABEL_NO_LABEL, null, SWT.WRAP | SWT.MULTI | SWT.READ_ONLY);
- setEarProjectItems();
-
- return this;
- }
-
- private void listenersOn()
- {
- projectType_.addModifyListener(projectTypeListener_);
- moduleProject_.addModifyListener( moduleProjectListener_ );
- earProject_.addModifyListener( earProjectListener_ );
- }
-
- private void listenersOff()
- {
- projectType_.removeModifyListener(projectTypeListener_);
- moduleProject_.removeModifyListener( moduleProjectListener_ );
- earProject_.removeModifyListener( earProjectListener_ );
- }
-
- public String getProjectName()
- {
- return moduleProject_.getText();
- }
-
- public void setProjectName( String name )
- {
- listenersOff();
- moduleProject_.setText( name );
- handleProjectChanged();
- updateEARState();
- listenersOn();
- }
-
- public String getEarProjectName()
- {
- return earProject_.getText();
- }
-
- public void setEarProjectName( String name )
- {
- listenersOff();
- earProject_.setText( name );
- listenersOn();
- }
-
- public void setComponentType( String type )
- {
- listenersOff();
- if (type != null && type.length()>0)
- {
- String label = FacetUtils.getTemplateLabelById(type);
- projectType_.setText(label);
- }
- else
- projectType_.setText("");
-
- handleProjectTypeChanged();
- listenersOn();
- }
-
- public String getComponentType()
- {
- int idx = projectType_.getSelectionIndex();
- if (templates_ != null && idx > -1)
- {
- return templates_[idx];
- }
- else
- {
- String templateLabel = projectType_.getText();
- String templateId = FacetUtils.getTemplateIdByLabel(templateLabel);
- return templateId;
- }
-
- }
-
- public boolean getNeedEAR()
- {
- return needEAR_;
- }
-
- public void setNeedEAR(boolean b)
- {
- listenersOff();
- needEAR_ = b;
- if (needEAR_)
- {
- earProject_.setEnabled(true);
- populateEARCombos();
- }
- else
- {
- earProject_.setEnabled(false);
- earProject_.setText("");
- }
- listenersOn();
- }
-
- public void setTypeRuntimeServer(TypeRuntimeServer trs)
- {
- trsIds_ = trs;
- if (earProject_ != null)
- {
- listenersOff();
- updateEARState();
- listenersOn();
- }
- }
-
- public void refreshProjectItems()
- {
- listenersOff();
- String selectedModuleProject = moduleProject_.getText();
- String runtimeId = trsIds_.getRuntimeId();
- String typeId = trsIds_.getTypeId();
-
- //Get all the projects that are compatible with the type and runtime
- String[] projectNames = null;
- if (isClient_)
- {
- projectNames = WebServiceRuntimeExtensionUtils2.getProjectsForClientTypeAndRuntime(typeId, runtimeId);
- }
- else
- {
- projectNames = WebServiceRuntimeExtensionUtils2.getProjectsForServiceTypeAndRuntime(typeId, runtimeId);
- }
-
- moduleProject_.setItems(projectNames);
- moduleProject_.setText(selectedModuleProject);
- handleProjectChanged();
- updateEARState();
- listenersOn();
- }
-
- public void setEarProjectItems()
- {
- IVirtualComponent[] ears = J2EEUtils.getAllEARComponents();
- String[] earProjectNames = new String[ears.length];
- for (int i=0; i<earProjectNames.length; i++)
- {
- earProjectNames[i]=ears[i].getProject().getName();
- }
- earProject_.setItems(earProjectNames);
-
- if (earProjectNames.length > 0)
- earProject_.select(0);
- }
-
- private void handleProjectTypeChanged()
- {
- updateEARState();
- }
-
- private void handleProjectChanged()
- {
- updateTemplates();
- }
-
- private void updateTemplates()
- {
- String projectName = moduleProject_.getText();
- if (projectName != null && projectName.length()>0)
- {
- IProject project = ProjectUtilities.getProject(projectName);
- if (project.exists())
- {
- projectType_.setEnabled(false);
- projectType_.deselectAll();
- }
- else
- {
- populateProjectTypeCombo();
- projectType_.setEnabled(true);
- }
- }
- }
-
- private void populateProjectTypeCombo()
- {
- //Get the old value if there was one.
- String oldTemplateId = getComponentType();
-
- String[] templates = null;
- if (trsIds_ != null)
- {
- if (isClient_)
- {
- templates = WebServiceRuntimeExtensionUtils2.getClientProjectTemplates(trsIds_.getTypeId(), trsIds_.getRuntimeId());
- }
- else
- {
- templates = WebServiceRuntimeExtensionUtils2.getServiceProjectTemplates(trsIds_.getTypeId(), trsIds_.getRuntimeId());
- }
-
- String[] templateLabels = FacetUtils.getTemplateLabels(templates);
- projectType_.setItems(templateLabels);
- templates_ = templates;
-
- if (templates.length > 0)
- {
-
- //Select the previous template selection if that one is in the list.
- int idx = getIndexOfTemplateId(templates, oldTemplateId);
- if (idx > -1)
- {
- projectType_.select(idx);
- }
- else
- {
- // Select the preferred client project type.
- ProjectTopologyContext ptc = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- String[] preferredTemplateIds = null;
- if (isClient_)
- {
- preferredTemplateIds = ptc.getClientTypes();
- }
- else
- {
- preferredTemplateIds = ptc.getServiceTypes();
- }
-
- boolean selected = false;
- outer: for (int j = 0; j < preferredTemplateIds.length; j++)
- {
- for (int i = 0; i < templates.length; i++)
- {
- String templateId = templates[i];
- if (templateId.equals(preferredTemplateIds[j]))
- {
- projectType_.select(i);
- selected = true;
- break outer;
- }
- }
- }
-
- if (!selected)
- {
- projectType_.select(0);
- }
- }
- }
- }
- }
-
-
- private int getIndexOfTemplateId(String[] templateIds, String templateId)
- {
- for (int i=0; i<templateIds.length; i++)
- {
- if (templateIds[i].equals(templateId))
- {
- return i;
- }
- }
-
- return -1;
- }
-
- private void updateEARState()
- {
- if(!projectNeedsEAR(moduleProject_.getText()))
- {
- earProject_.setEnabled(false);
- earProject_.setText("");
- needEAR_ = false;
- }
- else
- {
- needEAR_ = true;
- earProject_.setEnabled(true);
- populateEARCombos();
- }
-
- }
-
- private void populateEARCombos()
- {
- earProject_.removeAll();
- setEarProjectItems();
-
- String earName = DefaultingUtils.getDefaultEARProjectName(moduleProject_.getText());
- earProject_.setText(earName);
- }
-
- private boolean projectNeedsEAR(String projectName)
- {
- //If the project is a simple Java project or the project type is
- //Java utility return false.
- if (projectName != null && projectName.length()>0)
- {
- IProject project = ProjectUtilities.getProject(projectName);
- if (project.exists())
- {
- if (FacetUtils.isJavaProject(project))
- {
- return false;
- }
- }
- }
-
- //Project didn't rule out the need for an EAR
- //so check the proect type
- String templateId = getComponentType();
- if (templateId != null && templateId.length()>0)
- {
- if (FacetUtils.isUtilityTemplate(templateId))
- {
- return false;
- }
- }
-
-
- //Project or project type didn't rule out the need for an EAR
- //so check the server type.
- if (trsIds_ != null && trsIds_.getServerId() != null)
- {
- String targetId = ServerUtils.getRuntimeTargetIdFromFactoryId(trsIds_.getServerId());
- if (targetId!=null && targetId.length()>0)
- {
- if (!ServerUtils.isTargetValidForEAR(targetId,"13")) //rm j2ee
- {
- return false;
- }
- }
- }
-
- return true;
- }
-
-
- private IStatus handleSetMessageText() {
- IStatus status = Status.OK_STATUS;
- try {
- byte result = (byte) 0;
- if (moduleProject_.getText().length() != 0 && earProject_.getText().length() != 0) {
- String projectText = moduleProject_.getText();
- String earText = earProject_.getText();
- IProject project = ResourceUtils.getWorkspaceRoot().getProject(projectText);
- IProject ear = ResourceUtils.getWorkspaceRoot().getProject(earText);
- if (project != null) {
- if (!project.exists()) {
- result = (byte) (result | CREATE_PROJECT);
- }
- if (!ear.exists()) {
- result = (byte) (result | CREATE_EAR);
- }
-
- if (project.exists() && J2EEUtils.exists(project) && ear.exists() && J2EEUtils.exists(ear)) {
- if (!J2EEUtils.isComponentAssociated(ear, project)) result = (byte) (result | ADD_EAR_ASSOCIATION);
- }
- }
- }
- if (isClient_) {
- messageText_.setText(getValidationMessage(result, ConsumptionUIMessages.MSG_CLIENT_SUB));
- }
- else {
- messageText_.setText(getValidationMessage(result, ConsumptionUIMessages.MSG_SERVICE_SUB));
- }
- parent_.layout(); //force message area resize/wrap
- }
- catch (Exception e) {
- return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_VALIDATION_INTERNAL_ERROR, e );
- }
- return status;
- }
-
- private String getValidationMessage(byte result, String serviceOrClient) {
- String msg = null;
- switch (result) {
- case 0:
- return "";
- case 1:
- case 5:
- msg = ConsumptionUIMessages.MSG_PROJECT_WILL_BE_CREATED;
- break;
- case 2:
- case 6:
- msg = ConsumptionUIMessages.MSG_EAR_WILL_BE_CREATED;
- break;
- case 3:
- case 7:
- msg = ConsumptionUIMessages.MSG_PROJECT_AND_EAR_CREATED;
- break;
- case 4:
- msg = ConsumptionUIMessages.MSG_EAR_WILL_BE_ASSOCIATED;
- break;
- }
- return msg != null ? NLS.bind(msg, new Object[] { serviceOrClient}) : "";
- }
-
- public IStatus getStatus()
- {
- IStatus finalStatus = Status.OK_STATUS;
- handleSetMessageText();
- String projectText = moduleProject_.getText();
- String earText = earProject_.getText();
-
- if (projectText==null || projectText.length()==0)
- {
- if (isClient_)
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_CLIENT_PROJECT_EMPTY, new String[]{""} ) );
- else
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVICE_PROJECT_EMPTY, new String[]{""} ) );
- }
-
- if (needEAR_ && (earText==null || earText.length()==0))
- {
- if (isClient_)
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_CLIENT_EAR_EMPTY, new String[]{""} ) );
- }
- else
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVICE_EAR_EMPTY, new String[]{""} ) );
- }
- }
-
- //If the project and EAR both exist and the project is not already associated with the EAR, ensure
- //they can be associated.
- if (needEAR_)
- {
- IProject p = ProjectUtilities.getProject(projectText.trim());
- IProject ep = ProjectUtilities.getProject(earText.trim());
- if (p.exists() && ep.exists())
- {
- if (!J2EEUtils.isComponentAssociated(ep,p))
- {
- IStatus associateStatus = J2EEUtils.canAssociateProjectToEAR(p, ep);
- if (associateStatus.getSeverity() == IStatus.ERROR)
- {
- if (isClient_)
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_CLIENT_CANNOT_ASSOCIATE, new String[]{p.getName(), ep.getName(), associateStatus.getMessage()} ) );
- }
- else
- {
- return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVICE_CANNOT_ASSOCIATE, new String[]{p.getName(), ep.getName(), associateStatus.getMessage()} ) );
- }
- }
- }
- }
- }
-
- return finalStatus;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java
deleted file mode 100644
index 271982326..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java
+++ /dev/null
@@ -1,355 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import java.util.List;
-import java.util.Vector;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-
-/*
-* The JSPGeneration task runs the jsp generation engine found in the
-* JBWizard Plugin
-*
-*
-*/
-public class ClientTestDelegateCommand extends AbstractDataModelOperation
-{
- private WebServiceTestRegistry testRegistry;
- private SelectionList testFacilities;
- private String jspFolder;
- private BooleanSelection[] methods;
- private String sampleServerTypeID;
- private IServer sampleExistingServer;
- private String proxyBean;
- private boolean runTestClient;
- private String sampleProject;
- private String sampleP;
- private String clientProject;
- private String clientP;
- private String clientC;
- private boolean clientNeedEAR;
- private String clientEarProjectName;
- private String clientEarComponentName;
- private TypeRuntimeServer serverIds;
- private String serviceProject;
- private String serviceP;
- private String wsdlServiceURL;
- private boolean isTestWidget = false;
- private String setEndpointMethod;
- private List endpoints;
-
- public ClientTestDelegateCommand ()
- {
- testRegistry = WebServiceTestRegistry.getInstance();
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
- String clientTestID = testFacilities.getSelection();
-
- //Get the webservice extension
-
- WebServiceTestExtension wscte = (WebServiceTestExtension)testRegistry.getWebServiceExtensionsByName(clientTestID);
- IWebServiceTester iwst = (IWebServiceTester)wscte.getWebServiceExecutableExtension();
- TestInfo testInfo = getTestInfo();
-
- status = commandFactoryExecution(iwst.generate(testInfo),env, monitor );
- if(status.getSeverity() == Status.ERROR){
- return status;
- }
-
- testInfo.setRunTestClient(runTestClient);
-
- status = commandFactoryExecution(iwst.launch(testInfo),env, monitor );
- if(status.getSeverity() == Status.ERROR){
- return status;
- }
- return status;
- }
-
- private IStatus commandFactoryExecution(ICommandFactory commandFactory,IEnvironment env, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
-
- while(commandFactory.hasNext())
- {
- AbstractDataModelOperation operation = commandFactory.getNextCommand();
- operation.setEnvironment( env );
-
- try
- {
- status = operation.execute( monitor, null );
- }
- catch( Exception exc )
- {
- status = StatusUtils.errorStatus( exc );
- }
-
- if(status.getSeverity() == Status.ERROR){
- IStatusHandler sHandler = env.getStatusHandler();
- sHandler.reportError(status);
- return status;
- }
- }
- return status;
- }
-
-
- //Helper method which sets up the TestInfo data structure
- private TestInfo getTestInfo()
- {
- IServer serviceExistingServer = null;
- String serviceServerTypeID = null;
-
- //service server info
- if(serverIds != null){
- if (serverIds.getServerInstanceId() != null)
- serviceExistingServer = ServerCore.findServer(serverIds.getServerInstanceId());
- }
- if (serviceExistingServer != null)
- serviceServerTypeID = serviceExistingServer.getServerType().getId();
-
-
- if(clientProject != null){
- int index = clientProject.indexOf("/");
- if (index!=-1){
- clientP = clientProject.substring(0,index);
- clientC = clientProject.substring(index + 1);
- }
- }
-
-
- if(sampleProject != null){
- int index = sampleProject.indexOf("/");
- if (index!=-1){
- sampleP = sampleProject.substring(0,index);
- }
- }
-
- TestInfo testInfo = new TestInfo();
- testInfo.setClientExistingServer(sampleExistingServer);
- testInfo.setClientServerTypeID(sampleServerTypeID);
- testInfo.setJspFolder(jspFolder);
- testInfo.setExternalBrowser(false);
- testInfo.setEndpoint(endpoints);
- testInfo.setGenerationProject(sampleP);
- testInfo.setProxyBean(proxyBean);
- testInfo.setSetEndpointMethod(setEndpointMethod);
- testInfo.setClientProject(clientP);
- testInfo.setClientModule(clientC);
- testInfo.setClientNeedEAR(clientNeedEAR);
- testInfo.setClientEARProject(clientEarProjectName);
- testInfo.setClientEARModule(clientEarComponentName);
- testInfo.setMethods(methods);
-
- //if this is a client scenario the service stuff is empty
- if(serviceServerTypeID == null){
- serviceServerTypeID = sampleServerTypeID;
- serviceExistingServer = sampleExistingServer;
- }
-
-
- testInfo.setServiceServerTypeID(serviceServerTypeID);
- testInfo.setServiceExistingServer(serviceExistingServer);
- //wsdl stuff
- testInfo.setServiceProject(getWSDLProject());
- testInfo.setWsdlServiceURL(wsdlServiceURL);
- return testInfo;
- }
-
-
-
- //The test facilities retrieved from the extension
- //plus the default
- public void setTestFacility(SelectionList selection)
- {
- testFacilities = selection;
- }
-
- public void setFolder(String folder)
- {
- }
-
- public void setJspFolder(String jspFolder)
- {
- this.jspFolder = jspFolder;
- }
-
- public void setMethods(BooleanSelection[] methods)
- {
- this.methods = methods;
- }
-
- public void setRunTestClient(boolean runTestClient)
- {
- this.runTestClient = runTestClient;
- }
-
- public void setProxyBean(String proxyBean)
- {
- this.proxyBean = proxyBean;
- }
-
- public void setSampleProject(String sampleProject)
- {
- this.sampleProject = sampleProject;
- }
-
- public void setClientProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
- public void setScenarioContext(ScenarioContext scenarioContext)
- {
- }
-
- public void setClientTestRegistry(WebServiceTestRegistry testRegistry)
- {
- this.testRegistry = testRegistry;
- }
-
- public void setSampleServerTypeID(String sampleServerTypeID)
- {
- this.sampleServerTypeID = sampleServerTypeID;
- }
-
- public void setSampleExistingServer(IServer sampleExistingServer)
- {
- this.sampleExistingServer = sampleExistingServer;
- }
-
- public void setClientTypeRuntimeServer(TypeRuntimeServer ids)
- {
- }
-
- public void setServiceTypeRuntimeServer(TypeRuntimeServer ids)
- {
- serverIds = ids;
- }
-
- public String getSampleServerTypeID()
- {
- return sampleServerTypeID;
- }
-
- public IServer getSampleExistingServer()
- {
- return sampleExistingServer;
- }
-
- public void setClientServer(String clientServer)
- {
- }
-
- public void setServerProject(String serviceProject)
- {
- this.serviceProject = serviceProject;
- }
-
- public String getWSDLProject()
- {
- if(serviceProject != null){
- int index = serviceProject.indexOf("/");
- if (index!=-1) {
- serviceP = serviceProject.substring(0,index);
- return serviceP;
- }
- }
-
- return clientP;
- }
-
- public void setWsdlURI(String wsdlServiceURL)
- {
- this.wsdlServiceURL = wsdlServiceURL;
- }
-
- public void setGenerateProxy(boolean generateProxy)
- {
- }
-
- public boolean getIsTestWidget()
- {
- return isTestWidget;
- }
-
- public void setClientEarProjectName(String clientEarProjectName)
- {
- this.clientEarProjectName = clientEarProjectName;
- }
-
- public void setClientEarComponentName(String clientEarComponentName)
- {
- this.clientEarComponentName = clientEarComponentName;
- }
-
-
-
- /**
- * @param setEndpointMethod The setEndpointMethod to set.
- */
- public void setSetEndpointMethod(String setEndpointMethod)
- {
- this.setEndpointMethod = setEndpointMethod;
- }
- /**
- * @param endpoint The endpoint to set.
- */
- public void setEndpoint(String endpoint)
- {
- if (endpoint != null && endpoint.length() > 0)
- {
- Vector v = new Vector();
- v.add(endpoint);
- setEndpoints(v);
- }
- }
-
- public void setEndpoints(List endpoints)
- {
- this.endpoints = endpoints;
- }
-
- public boolean getClientNeedEAR() {
- return clientNeedEAR;
- }
-
- public void setClientNeedEAR(boolean clientNeedEAR) {
- this.clientNeedEAR = clientNeedEAR;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java
deleted file mode 100644
index 0f6fb6f21..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-/**
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-
-
-public class ClientTestFragment extends BooleanFragment
-{
- private boolean testService;
- private boolean genProxy; // This actually represent whether client test is requested
- private boolean launchedTest = false;
-
- public ClientTestFragment( String id )
- {
- SequenceFragment clientTestRoot = new SequenceFragment();
- Condition condition = new Condition()
- {
- public boolean evaluate()
- {
- return testService && genProxy;
- }
- };
- setCondition( condition );
-
- clientTestRoot.add( new SimpleFragment( new WebServiceClientTestArrivalCommand(), "" ) );
- clientTestRoot.add( new SimpleFragment( id ) );
- setTrueFragment( clientTestRoot );
-
- }
-
- public void setGenerateProxy( boolean genProxy )
- {
- this.genProxy = genProxy;
- }
-
- public void setTestService( Boolean testService )
- {
- this.testService = testService.booleanValue();
- }
-
- public boolean getLaunchedTest()
- {
- return launchedTest;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java
deleted file mode 100644
index 6b579d3ba..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java
+++ /dev/null
@@ -1,480 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060815 104870 makandre@ca.ibm.com - Andrew Mak, enable/disable test page controls base on settings in test facility extension
- * 20060815 153903 makandre@ca.ibm.com - Andrew Mak, Browse does not work in generate client test page
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.common.FolderResourceFilter;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
-import org.eclipse.swt.SWT;
-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.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.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.swt.widgets.TreeItem;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-
-public class ClientTestWidget extends SimpleWidgetDataContributor
-{
- private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
-
- /*CONTEXT_ID PWSM0001 for the Sample Page*/
- private String INFOPOP_PWSM_PAGE = "PWSM0001";
- //
- private Button testCheckbox_;
- /*CONTEXT_ID PWSM0002 for the Test check box of the Sample Page*/
- private String INFOPOP_PWSM_CHECKBOX_TEST = "PWSM0002";
-
- private Combo testTypeCombo_;
- /*CONTEXT_ID PWSM0003 for the Test Type Combo box of the Sample Page*/
- private String INFOPOP_PWSM_COMBOBOX_TEST = "PWSM0003";
-
- private Text jspFolderText_;
- /*CONTEXT_ID PWSM0008 for the JSP Folder field of the Sample Page*/
- private String INFOPOP_PWSM_TEXT_JSP_FOLDER = "PWSM0008";
-
- private Button sampleFolderBrowseButton_;
- /*CONTEXT_ID PWSM0009 for the JSP Folder Browse button of the Sample Page*/
- private String INFOPOP_PWSM_BUTTON_JSP_FOLDER_BROWSE = "PWSM0009";
-
- private Combo projectCombo_;
- /*CONTEXT_ID PWSM0010 for the Project combo box of the Sample Page*/
- private String INFOPOP_PWSM_COMBO_PROJECT = "PWSM0010";
-
- private Tree methodsTree_;
-
- private Button selectAllMethodsButton_;
- /*CONTEXT_ID PWSM0006 for the Select All button of the Sample Page*/
- private String INFOPOP_PWSM_BUTTON_SELECT_ALL = "PWSM0006";
-
- private Button deselectAllMethodsButton_;
- /*CONTEXT_ID PWSM0007 for the Deselect All button of the Sample Page*/
- private String INFOPOP_PWSM_BUTTON_DESELECT_ALL = "PWSM0007";
-
- private Text sampleFolderText_;
- /*CONTEXT_ID PWSM0014 for the Folder field of the Sample Page*/
- private String INFOPOP_PWSM_TEXT_SAMPLE_FOLDER = "PWSM0014";
- //
- private Button runTestCheckbox_;
- /*CONTEXT_ID PWSM0015 for the run test check box of the Sample Page*/
- private String INFOPOP_PWSM_CHECKBOX_LAUNCH = "PWSM0015";
- //
- private Combo earCombo_;
- /*CONTEXT_ID PWSM0016 for the EAR combo box of the Sample Page*/
- private String INFOPOP_PWSM_EAR_COMBO = "PWSM0016";
-
- private Composite comboGroup_;
- private SelectionList testFacilities_;
- private FolderResourceFilter folderFilter_ = new FolderResourceFilter();
- private IStructuredSelection initialSelection_;
- private boolean isTestWidget = false;
-
- private IPath webContentPath_;
- private IResource webContent_;
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
- isTestWidget = true;
- UIUtils uiUtils = new UIUtils( pluginId_ );
-
- parent.setToolTipText( ConsumptionUIMessages.TOOLTIP_PWSM_PAGE );
- PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, pluginId_ + "." + INFOPOP_PWSM_PAGE );
-
- testCheckbox_ = uiUtils.createCheckbox( parent, ConsumptionUIMessages.BUTTON_TEST,
- ConsumptionUIMessages.TOOLTIP_PWSM_CHECKBOX_TEST,
- INFOPOP_PWSM_CHECKBOX_TEST );
- testCheckbox_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleTestButton();
- }
- });
-
- comboGroup_ = uiUtils.createComposite( parent, 3, 5, 0 );
-
- testTypeCombo_ = uiUtils.createCombo( comboGroup_, ConsumptionUIMessages.LABEL_TEST_TYPES,
- ConsumptionUIMessages.TOOLTIP_PWSM_COMBOBOX_TEST,
- INFOPOP_PWSM_COMBOBOX_TEST,
- SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
- testTypeCombo_.addSelectionListener(
- new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- handleTestFacilitySelection();
- }
- }
- );
-
- new Label( comboGroup_, SWT.NONE );
-
- projectCombo_ = uiUtils.createCombo( comboGroup_, ConsumptionUIMessages.LABEL_JSP_PROJECT_NAME,
- ConsumptionUIMessages.TOOLTIP_PWSM_COMBO_PROJECT,
- INFOPOP_PWSM_COMBO_PROJECT,
- SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
- projectCombo_.setEnabled( false );
- new Label( comboGroup_, SWT.NONE );
-
-
- earCombo_ = uiUtils.createCombo( comboGroup_, ConsumptionUIMessages.LABEL_EAR_PROJECTS,
- ConsumptionUIMessages.TOOLTIP_PWSM_EAR_PROJECT,
- INFOPOP_PWSM_EAR_COMBO,
- SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
- earCombo_.setEnabled( false );
- new Label( comboGroup_, SWT.NONE );
-
-
-
- sampleFolderText_ = uiUtils.createText( comboGroup_, ConsumptionUIMessages.LABEL_FOLDER_NAME,
- ConsumptionUIMessages.TOOLTIP_PWSM_TEXT_SAMPLE_FOLDER,
- INFOPOP_PWSM_TEXT_SAMPLE_FOLDER,
- SWT.SINGLE | SWT.BORDER );
-
- sampleFolderText_.addModifyListener( new ModifyListener()
- {
- public void modifyText( ModifyEvent evt )
- {
- handleFolderText();
- }
- });
-
-
- sampleFolderBrowseButton_ = uiUtils.createPushButton( comboGroup_, ConsumptionUIMessages.BUTTON_BROWSE,
- ConsumptionUIMessages.TOOLTIP_PWSM_BUTTON_JSP_FOLDER_BROWSE,
- INFOPOP_PWSM_BUTTON_JSP_FOLDER_BROWSE );
- sampleFolderBrowseButton_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleSampleBrowse();
- }
- });
-
- jspFolderText_ = uiUtils.createText( comboGroup_, ConsumptionUIMessages.LABEL_JSP_FOLDER_NAME,
- ConsumptionUIMessages.TOOLTIP_PWSM_TEXT_JSP_FOLDER,
- INFOPOP_PWSM_TEXT_JSP_FOLDER,
- SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
- jspFolderText_.setEnabled( false );
-
- Group methodsGroup = uiUtils.createGroup( parent, ConsumptionUIMessages.LABEL_METHODS,
- ConsumptionUIMessages.TOOLTIP_PWSM_TREE_METHODS, null );
-
- methodsGroup.setLayoutData( uiUtils.createFillAll() );
-
- GridLayout layout = new GridLayout();
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- methodsGroup.setLayout( layout );
-
- // TODO No infopop for this tree.
- methodsTree_ = uiUtils.createTree( methodsGroup, ConsumptionUIMessages.TOOLTIP_PWSM_TREE_METHODS,
- null,
- SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL | SWT.CHECK );
-
- Composite selectButtons = uiUtils.createComposite( methodsGroup, 2 );
-
- selectAllMethodsButton_
- = uiUtils.createPushButton( selectButtons, ConsumptionUIMessages.BUTTON_SELECT_ALL,
- ConsumptionUIMessages.TOOLTIP_PWSM_BUTTON_SELECT_ALL,
- INFOPOP_PWSM_BUTTON_SELECT_ALL );
- selectAllMethodsButton_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleSelectAll( true );
- }
- });
-
- deselectAllMethodsButton_
- = uiUtils.createPushButton( selectButtons, ConsumptionUIMessages.BUTTON_DESELECT_ALL,
- ConsumptionUIMessages.TOOLTIP_PWSM_BUTTON_DESELECT_ALL,
- INFOPOP_PWSM_BUTTON_DESELECT_ALL );
- deselectAllMethodsButton_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- handleSelectAll( false );
- }
- });
-
- runTestCheckbox_ = uiUtils.createCheckbox( parent, ConsumptionUIMessages.BUTTON_RUN_TEST,
- ConsumptionUIMessages.TOOLTIP_PWSM_CHECKBOX_LAUNCH,
- INFOPOP_PWSM_CHECKBOX_LAUNCH );
-
- return this;
- }
-
- private void handleFolderText()
- {
- // webContentPath_ is set when jspFolderText_ is set for the first time. Therefore,
- // if webContentPath_ is still null, there is no need to touch jspFolderText_ yet.
-
- if (webContentPath_ == null)
- return;
-
- String folder = sampleFolderText_.getText();
- jspFolderText_.setText(webContentPath_.toString() + IPath.SEPARATOR + folder);
- }
-
- private void handleSampleBrowse()
- {
- IPath selectedPath = null;
- IResource initialResource = null;
-
- try
- {
- initialResource = ResourceUtils.getResourceFromSelection( initialSelection_ );
- }
- catch( CoreException exc )
- {
- }
-
- if( initialResource == null )initialResource = webContent_;
-
- IResource resource = DialogUtils.browseResources( comboGroup_.getShell(),
- webContent_,
- initialResource,
- folderFilter_ );
-
- if( resource != null )
- {
- selectedPath = resource.getFullPath();
-
- int webModuleSegments = selectedPath.matchingFirstSegments(webContentPath_);
-
- if ( webModuleSegments < webContentPath_.segmentCount() )
- {
- sampleFolderText_.setText("");
- handleFolderText();
- }
- else
- {
- sampleFolderText_.setText(selectedPath.removeFirstSegments(webModuleSegments).toString());
- handleFolderText();
- }
- }
- }
-
- private void handleTestButton()
- {
- boolean enabled = testCheckbox_.getSelection();
-
- testTypeCombo_.setEnabled( enabled );
-
- if (enabled && testFacilities_ != null) {
- handleTestFacilitySelection();
- return;
- }
-
- sampleFolderText_.setEnabled( enabled );
- methodsTree_.setEnabled( enabled );
- runTestCheckbox_.setEnabled( enabled );
- selectAllMethodsButton_.setEnabled( enabled );
- deselectAllMethodsButton_.setEnabled( enabled );
- sampleFolderBrowseButton_.setEnabled( enabled );
- }
-
- private void handleTestFacilitySelection() {
-
- String clientTestID = getTestFacility().getSelection();
-
- WebServiceTestExtension testExtension =
- (WebServiceTestExtension) WebServiceTestRegistry.getInstance()
- .getWebServiceExtensionsByName(clientTestID);
-
- boolean hasCodeGen = testExtension.isCodeGenNeeded();
-
- // folder selection is only applicable for test facilities with codegen
- sampleFolderText_.setEnabled( hasCodeGen );
- sampleFolderBrowseButton_.setEnabled( hasCodeGen && webContent_ != null );
-
- boolean hasMethods = testExtension.areMethodsNeeded();
-
- // method selection is only applicable for test facilities with methods
- methodsTree_.setEnabled( hasMethods );
- selectAllMethodsButton_.setEnabled( hasMethods );
- deselectAllMethodsButton_.setEnabled( hasMethods );
-
- // run on server only applicable for test facilities that needs launching
- runTestCheckbox_.setEnabled( testExtension.isServerNeeded() );
- }
-
- private void handleSelectAll( boolean value )
- {
- TreeItem[] items = methodsTree_.getItems();
-
- for( int i = 0; i < items.length; i++ )
- {
- items[i].setChecked(value);
- }
- }
-
- // Here are the getters and setters for this widget.
- public void setTestService( Boolean testService )
- {
- testCheckbox_.setSelection( testService.booleanValue() );
- handleTestButton();
- }
-
- public Boolean getTestService()
- {
- return new Boolean( testCheckbox_.getSelection() );
- }
-
- public void setTestFacility( SelectionList testFacilities )
- {
- testFacilities_ = testFacilities;
- testTypeCombo_.setItems( testFacilities.getList() );
- testTypeCombo_.select( testFacilities.getIndex() );
- handleTestFacilitySelection();
- }
-
- public SelectionList getTestFacility()
- {
- testFacilities_.setIndex( testTypeCombo_.getSelectionIndex() );
- return testFacilities_;
- }
-
- public String getTestID()
- {
- return testTypeCombo_.getText();
- }
-
- /**
- * Given a project name which may be of the (obsolete) format "project/module",
- * return only the project part of the name
- *
- * @param project The project name.
- * @return If the name has the format "project/module", returns only "project",
- * otherwise returns the name as is.
- */
- private String extractProjectName(String project) {
-
- int index = project.indexOf("/");
-
- if (index != -1)
- project = project.substring(0, index);
-
- return project;
- }
-
- public void setSampleProject(String clientProject)
- {
- projectCombo_.setItems( new String[]{ extractProjectName(clientProject) } );
- projectCombo_.select(0);
- }
-
- public void setSampleProjectEAR(String clientProjectEAR)
- {
- earCombo_.setItems( new String[]{ extractProjectName(clientProjectEAR) } );
- earCombo_.select(0);
- }
-
- public String getFolder()
- {
- return sampleFolderText_.getText();
- }
-
- public void setFolder( String folder )
- {
- sampleFolderText_.setText( folder );
- }
-
- public boolean getIsTestWidget()
- {
- return isTestWidget;
- }
-
- public void setJspFolder( String folder )
- {
- webContentPath_ = (new Path(folder)).removeLastSegments(1);
- webContent_ = ResourceUtils.findResource(webContentPath_);
- sampleFolderBrowseButton_.setEnabled(webContent_ != null);
-
- jspFolderText_.setText( folder );
- }
-
- public String getJspFolder()
- {
- return jspFolderText_.getText();
- }
-
- public void setLaunchedServiceTestName (String launchedServiceTestName)
- {
- }
-
- public boolean getRunTestClient()
- {
- return runTestCheckbox_.getSelection();
- }
-
- public void setRunTestClient( boolean value )
- {
- runTestCheckbox_.setSelection( value );
- }
-
- public BooleanSelection[] getMethods()
- {
- TreeItem[] items = methodsTree_.getItems();
- BooleanSelection[] methods = new BooleanSelection[items.length];
-
- for( int index = 0; index < items.length; index++ )
- {
- methods[index] = new BooleanSelection( items[index].getText(), items[index].getChecked() );
- }
-
- return methods;
- }
-
- public void setMethods( BooleanSelection[] methods )
- {
- methodsTree_.removeAll();
-
- for( int index = 0; index < methods.length; index++ )
- {
- if(methods[index] == null)continue;
- TreeItem item = new TreeItem( methodsTree_, SWT.NULL );
- item.setText( methods[index].getValue() );
- item.setChecked( methods[index].isSelected() );
- }
- }
-
- public void setInitialSelection( IStructuredSelection selection )
- {
- initialSelection_ = selection;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java
deleted file mode 100644
index b87d2725f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060912 157039 makandre@ca.ibm.com - Andrew Mak, new webserviceutils.jar not copied in client generation
- * 20061025 161250 makandre@ca.ibm.com - Andrew Mak, Installations or workspace paths with spaces break Sample Gen and Java Editor Launch
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import java.io.File;
-import java.net.URL;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.common.BundleUtils;
-
-
-public class CopyWebServiceUtilsJarCommand extends AbstractDataModelOperation
-{
- private String sampleProject;
-
-/**
- * Default CTOR;
- */
-
-
-public CopyWebServiceUtilsJarCommand()
-{
-
-}
-
-/**
- * Execute the command
- */
-public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
-{
- IEnvironment env = getEnvironment();
-
- try
- {
- ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_COPY_WEBSERVICE_UTILS );
- IProject sampleIProject = ProjectUtilities.getProject(sampleProject);
- IPath webModulePath = J2EEUtils.getWebContentPath(sampleIProject);
- if (webModulePath == null)
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_PROJECT_NOT_FOUND );
-
- IStatus status = copyIFile("webserviceutils.jar",webModulePath,"WEB-INF/lib/webserviceutils.jar", WebServiceConsumptionPlugin.getInstance(),env, monitor);
- if(status.getSeverity() == Status.ERROR){
- IStatusHandler sHandler = env.getStatusHandler();
- IStatus errorStatus = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS );
- sHandler.reportError(errorStatus);
- return status;
- }
-
-
- }
- catch (Exception e) {
- IStatusHandler sHandler = env.getStatusHandler();
- IStatus errorStatus = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS );
- sHandler.reportError(errorStatus);
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS, e);
- }
- return Status.OK_STATUS;
-}
-
-/**
- *
- */
-private IStatus copyIFile(String source, IPath targetPath, String targetFile, Plugin plugin,IEnvironment env, IProgressMonitor monitor )
-{
-
- if (plugin != null)
- {
- IPath target = targetPath.append(new Path(targetFile));
-
- ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_COPYING_FILE );
- try
- {
- ResourceContext context = new TransientResourceContext();
- context.setOverwriteFilesEnabled(true);
- context.setCreateFoldersEnabled(true);
- context.setCheckoutFilesEnabled(true);
- IResource resource = FileResourceUtils.findResource(target);
- URL sourceURL = BundleUtils.getURLFromBundle( WebServiceConsumptionPlugin.ID, source );
- if(resource != null) {
- File sourceFile = new File(FileLocator.toFileURL(sourceURL).getPath());
- if (resource.getLocation().toFile().length() == sourceFile.length())
- return Status.OK_STATUS;
- }
- FileResourceUtils.createFile(context,
- target,
- sourceURL.openStream(),
- monitor,
- env.getStatusHandler());
- }
- catch (Exception e) {
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS ,e);
- }
- }
- return Status.OK_STATUS;
-}
-
-public void setSampleProject(String sampleProject)
-{
- this.sampleProject = sampleProject;
-}
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CreateSampleProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CreateSampleProjectCommand.java
deleted file mode 100644
index e6828443d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CreateSampleProjectCommand.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.AssociateModuleWithEARCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateModuleCommand;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-
-public class CreateSampleProjectCommand extends AbstractDataModelOperation
-{
- private String sampleProject;
- private String sampleProjectEar;
- private IServer existingServer;
- private String serverFactoryId;
- private boolean needEAR;
- private String j2eeVersion;
-
-
- public CreateSampleProjectCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- if (!root.getProject(sampleProject).exists() || !root.getProject(sampleProjectEar).exists())
- {
- //Do the following
- //1. Create the Web project/component to house the sample JSPs.
- //2. If needEAR is true then
- // - create a EAR project and component if it doesn't exist
- // - add the Web component to the EAR component
- //3. Add the right component to the server.
- CreateModuleCommand command = new CreateModuleCommand();
- command.setProjectName(sampleProject);
- command.setModuleName(sampleProject);
- command.setModuleType(CreateModuleCommand.WEB);
- command.setServerFactoryId(serverFactoryId);
- command.setServerInstanceId(existingServer.getId());
- command.setJ2eeLevel(j2eeVersion);
- command.setEnvironment( env );
- IStatus status = command.execute( monitor, null ) ;
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- if (needEAR)
- {
- CreateModuleCommand commandEAR = new CreateModuleCommand();
- commandEAR.setProjectName(sampleProjectEar);
- //TODO The EAR component name is not necessarily the same as the project name
- //so the component name needs to somehow be piped into this command
- commandEAR.setModuleName(sampleProjectEar);
- commandEAR.setModuleType(CreateModuleCommand.EAR);
- commandEAR.setServerFactoryId(serverFactoryId);
- commandEAR.setServerInstanceId(existingServer.getId());
- commandEAR.setJ2eeLevel(j2eeVersion);
- commandEAR.setEnvironment( env );
- status = commandEAR.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
-
-
- //Associate the service module and service EAR
- AssociateModuleWithEARCommand associateCommand = new AssociateModuleWithEARCommand();
- associateCommand.setProject(sampleProject);
- associateCommand.setModule(sampleProject);
- associateCommand.setEARProject(sampleProjectEar);
- //TODO The EAR component name is not necessarily the same as the project name
- //so the component name needs to somehow be piped into this command
- associateCommand.setEar(sampleProjectEar);
- associateCommand.setEnvironment( env );
- status = associateCommand.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- //Add the EAR to the server
- AddModuleToServerCommand commandInstall = new AddModuleToServerCommand();
- commandInstall.setServerInstanceId(existingServer.getId());
- commandInstall.setProject(sampleProjectEar);
- //TODO The EAR component name is not necessarily the same as the project name
- //so the component name needs to somehow be piped into this command
- commandInstall.setModule(sampleProjectEar);
- commandInstall.setEnvironment( env );
- status = commandInstall.execute( monitor, null ) ;
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- else
- {
- //Add the Web component to the server
- AddModuleToServerCommand commandInstall = new AddModuleToServerCommand();
- commandInstall.setServerInstanceId(existingServer.getId());
- commandInstall.setProject(sampleProject);
- commandInstall.setModule(sampleProject);
- commandInstall.setEnvironment( env );
-
- status = commandInstall.execute( monitor, null ) ;
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
-
- }
- return Status.OK_STATUS;
- }
-
- public void setSampleProject(String sampleProject)
- {
- this.sampleProject = sampleProject;
- }
-
- public void setSampleProjectEAR(String sampleProjectEar)
- {
- this.sampleProjectEar = sampleProjectEar;
- }
-
- public void setExistingServer(IServer existingServer) {
-
- this.existingServer = existingServer;
- }
-
- public void setServerFactoryId(String serverFactoryId)
- {
- this.serverFactoryId = serverFactoryId;
- }
-
- /**
- * @param needEAR The needEAR to set.
- */
- public void setNeedEAR(boolean needEAR)
- {
- this.needEAR = needEAR;
- }
-
- /**
- * @param version The j2eeVersion to set.
- */
- public void setJ2eeVersion(String version)
- {
- j2eeVersion = version;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java
deleted file mode 100644
index 9c6df0cba..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-
-
-/*
-* The JSPGeneration task runs the jsp generation engine found in the
-* JBWizard Plugin
-*
-*
-*/
-public class FinishDefaultCommand extends AbstractDataModelOperation
-{
- private String sampleServerTypeID;
- private IServer sampleExistingServer;
- private String sampleServerInstanceId;
-
-
- public FinishDefaultCommand ()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
- if(sampleServerInstanceId != null){
- sampleExistingServer = ServerCore.findServer(sampleServerInstanceId);
- if (sampleExistingServer != null)
- sampleServerTypeID = sampleExistingServer.getServerType().getId();
-
- }
- return status;
-
- }
-
- public void setServerInstanceId(String serverInstanceId)
- {
- this.sampleServerInstanceId = serverInstanceId;
- }
-
- public String getSampleServerTypeID()
- {
- return sampleServerTypeID;
-
- }
-
- public IServer getSampleExistingServer()
- {
- return sampleExistingServer;
- }
-
- public void setExistingServerId(String existingServerId)
- {
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java
deleted file mode 100644
index f90c1b5ac..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on May 4, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.jst.ws.internal.consumption.command.common.BuildProjectCommand;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-
-
-/**
- * @author gilberta
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class FinishJavaTestFragment extends BooleanFragment
-{
- private boolean generateProxy;
-
- public FinishJavaTestFragment()
- {
- SequenceFragment javaTestRoot = new SequenceFragment();
- Condition condition = new Condition()
- {
- public boolean evaluate()
- {
- return generateProxy;
- }
- };
- setCondition(condition);
- javaTestRoot.add(new SimpleFragment(new TestClientDepartureInitCommand(), ""));
- javaTestRoot.add(new SimpleFragment(new BuildProjectCommand(), ""));
- setTrueFragment(javaTestRoot);
- }
-
- public void setGenerateProxy(boolean generateProxy)
- {
- this.generateProxy = generateProxy;
- }
-
- public void setIsJSPGen(boolean jspGen)
- {
-
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java
deleted file mode 100644
index 20fd0bea5..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-/*
- * Created on May 4, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-
-
-/**
- * @author gilberta
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class FinishTestFragment extends BooleanFragment{
-
- private boolean isTestWidget;
- private boolean generateProxy; // This actually represent whether client test is requested
- private String launchedServiceTestName;
- private boolean testService;
- private String testID;
- public FinishTestFragment()
- {
- Condition condition = new Condition()
- {
- public boolean evaluate()
- {
- if(!testService) return false;
- if(launchedServiceTestName == null) return true;
- if(launchedServiceTestName != null)
- if((!launchedServiceTestName.equals("") && (!isPreferedAWSDLTest() || (isTestWidget && isClientTestJava())) && generateProxy) || launchedServiceTestName.equals("")) return true;
-
- return false;
- }
- };
-
- setTrueFragment(new WebServiceTestClientDepartureFragment());
- setCondition(condition);
- }
-
- public void setLaunchedServiceTestName(String launchedServiceTestName)
- {
- this.launchedServiceTestName = launchedServiceTestName;
- }
-
- public boolean isPreferedAWSDLTest()
- {
- ScenarioContext scenarioContext = WebServicePlugin.getInstance().getScenarioContext().copy();
- String[] testTypes = scenarioContext.getWebServiceTestTypes();
- WebServiceTestRegistry wsttRegistry = WebServiceTestRegistry.getInstance();
- WebServiceTestExtension wscte = (WebServiceTestExtension)wsttRegistry.getWebServiceExtensionsByName(testTypes[0]);
- if(wscte.testWSDL())
- return true;
- return false;
- }
-
- public boolean isClientTestJava()
- {
- if(testID == null) return false;
- WebServiceTestRegistry wsttRegistry = WebServiceTestRegistry.getInstance();
- WebServiceTestExtension wscte = (WebServiceTestExtension)wsttRegistry.getWebServiceExtensionsByName(testID);
- if(!wscte.testWSDL())
- return true;
- return false;
- }
-
-
- public void setTestService(boolean testService)
- {
- this.testService = testService;
- }
-
- public void setGenerateProxy(boolean generateProxy)
- {
- this.generateProxy = generateProxy;
- }
-
- public void setTestID(String testID)
- {
- this.testID = testID;
- }
-
- public void setIsTestWidget(boolean isTestWidget)
- {
- this.isTestWidget = isTestWidget;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java
deleted file mode 100644
index 6c61ebaaa..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on Mar 25, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * @author gilberta
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class TestClientDepartureInitCommand extends AbstractDataModelOperation
-{
-
- private boolean forceBuild;
-
- public TestClientDepartureInitCommand()
- {
- forceBuild = true;
- }
-
- public boolean getForceBuild()
- {
- return forceBuild;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java
deleted file mode 100644
index a246e7cbc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
- * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
- * 20060907 156606 makandre@ca.ibm.com - Andrew Mak, no sample JSP in the pop-up action of Generate Sample JSPs
- *******************************************************************************/
-/*
- * Created on May 4, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
- * @author gilberta
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class TestDefaultingFragment extends AbstractDataModelOperation
-{
-
- private SelectionList testFacilities;
- private String launchedServiceTestName;
- private ScenarioContext scenarioContext;
- private boolean generateProxy; // This actually represent whether client test is requested
-
- private String clientRuntimeId_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- scenarioContext = WebServicePlugin.getInstance().getScenarioContext().copy();
- // test facilities
- selectTestFacility();
- return status;
- }
-
- // The test facilities retrieved from the extension
- // plus the default
- public SelectionList getTestFacility()
- {
- return testFacilities;
- }
-
-
-
- // ***********************
- // This method uses the preference to
- // select the correct test facility
- //
- //***********************
- private void selectTestFacility()
- {
- //if we find something we launched earlier
- //put it on the bottom
- String[] testTypes = scenarioContext.getWebServiceTestTypes();
- List newTestTypes = new ArrayList();
- String[] wsdlCases = scenarioContext.getNonJavaTestService();
- boolean launched = false;
-
- for(int i = 0;i<testTypes.length;i++){
-
- WebServiceTestExtension extension =
- (WebServiceTestExtension) WebServiceTestRegistry.getInstance()
- .getWebServiceExtensionsByName(testTypes[i]);
-
- if (clientRuntimeId_ != null && !extension.supportsRuntime(clientRuntimeId_))
- continue;
-
- if(testTypes[i].equals(launchedServiceTestName))
- launched = true;
- else{
- newTestTypes.add(testTypes[i]);
- }
- }
-
- if(launched)
- newTestTypes.add(launchedServiceTestName);
-
-
- if(!generateProxy)
- testFacilities = new SelectionList(wsdlCases,0);
- else {
- String[] tempArray = new String[newTestTypes.size()];
- testFacilities = new SelectionList((String[]) newTestTypes.toArray(tempArray), 0);
- }
- }
-
- public void setLaunchedServiceTestName(String launchedServiceTestName)
- {
- this.launchedServiceTestName = launchedServiceTestName;
- }
-
- public void setGenerateProxy(boolean generateProxy)
- {
- this.generateProxy = generateProxy;
- }
-
- /**
- * Sets the client runtime ID.
- *
- * @param clientRuntimeId The client runtime ID.
- */
- public void setClientRuntimeId(String clientRuntimeId) {
- clientRuntimeId_ = clientRuntimeId;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java
deleted file mode 100644
index a4efaabcb..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.wsrt.AbstractWebServiceClient;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-
-public class TestWebServiceClient extends AbstractWebServiceClient {
-
- public TestWebServiceClient(WebServiceClientInfo clientInfo){
- super(clientInfo);
- }
-
- public ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject){
- return null;
- }
-
- public ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject){
- return null;
- }
-
-
- public ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject){
- return null;
- }
-
- public ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject){
- return null;
- }
-
-
- public ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject){
- return null;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java
deleted file mode 100644
index 07f436804..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on May 4, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-
-/**
- * @author gilberta
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class WSDLFinishFragment extends BooleanFragment{
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java
deleted file mode 100644
index 89d839b0d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on May 4, 2004
- *
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-/**
- * @author gilberta
- *
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class WSDLTestLaunchCommand extends AbstractDataModelOperation
-{
- private String testID;
- private String launchedServiceTestName;
- private TypeRuntimeServer serviceids;
- private String serverProject;
- private String serverModule;
- private String wsdlURI;
- private boolean externalBrowser;
- private List endpoints;
- private IServer serviceExistingServer = null;
- private String serviceServerTypeID = null;
- private String serviceServerInstanceId = null;
-
- public WSDLTestLaunchCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- WebServiceTestRegistry testRegistry = WebServiceTestRegistry.getInstance();
- WebServiceTestExtension wscte = (WebServiceTestExtension)testRegistry.getWebServiceExtensionsByName(testID);
- IWebServiceTester iwst = (IWebServiceTester)wscte.getWebServiceExecutableExtension();
- TestInfo testInfo = getTestInfo();
-
-
- status = commandFactoryExecution(iwst.launch(testInfo),env, monitor);
-
- //Dont need to shut everything down because the wsdl test doesnt work
- if(status.getSeverity() != Status.OK){
- IStatusHandler sHandler = env.getStatusHandler();
- IStatus infoStatus = StatusUtils.infoStatus( ConsumptionUIMessages.MSG_ERROR_UNABLE_TO_LAUNCH_WSDL_TEST );
- sHandler.reportInfo(infoStatus);
- return infoStatus;
- }
- return status;
-
- }
-
- private IStatus commandFactoryExecution(ICommandFactory commandFactory,IEnvironment env, IProgressMonitor monitor)
- {
- IStatus status = Status.OK_STATUS;
- while(commandFactory.hasNext())
- {
- AbstractDataModelOperation operation = commandFactory.getNextCommand();
-
- if (operation != null)
- {
- try
- {
- operation.setEnvironment( env );
- status = operation.execute( monitor, null );
- }
- catch( Exception exc )
- {
- status = StatusUtils.errorStatus( exc );
- }
- }
-
- if(status.getSeverity() == Status.ERROR){
- IStatusHandler sHandler = env.getStatusHandler();
- sHandler.reportError(status);
- return status;
- }
- }
- return status;
- }
-
-
- private TestInfo getTestInfo()
- {
- // get the server stuff
- if (serviceids.getServerInstanceId() != null)
- serviceExistingServer = ServerCore.findServer(serviceids.getServerInstanceId());
- else if (serviceServerInstanceId!=null)
- serviceExistingServer = ServerCore.findServer(serviceServerInstanceId);
-
- if (serviceExistingServer != null)
- serviceServerTypeID = serviceExistingServer.getServerType().getId();
- else
- serviceServerTypeID = serviceids.getServerId();
- // server will be created in ServerDeployableConfigurationCommand
-
- TestInfo testInfo = new TestInfo();
- if (serviceExistingServer!=null)
- testInfo.setServiceExistingServer(serviceExistingServer);
- testInfo.setServiceServerTypeID(serviceServerTypeID);
- testInfo.setServiceProject(serverProject);
- testInfo.setWsdlServiceURL(wsdlURI);
- testInfo.setExternalBrowser(externalBrowser);
- testInfo.setEndpoint(endpoints);
- return testInfo;
-
- }
-
-
- public void setTestID(String testID)
- {
- this.testID = testID;
- }
-
- public String getLaunchedServiceTestName()
- {
- return launchedServiceTestName;
- }
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- public void setServerProject(String serverProject)
- {
- this.serverProject = serverProject;
- }
-
-
- public void setServiceTypeRuntimeServer(TypeRuntimeServer serviceids)
- {
- this.serviceids = serviceids;
- }
-
- public void setExternalBrowser(boolean externalBrowser)
- {
- this.externalBrowser = externalBrowser;
- }
-
- public void setEndpoint(List endpoints)
- {
- this.endpoints = endpoints;
- }
-
-public String getServerModule() {
- return serverModule;
-}
-
-public void setServerModule(String serverModule) {
- this.serverModule = serverModule;
-}
-
-public void setServiceServerInstanceId(String ssInstanceId){
- this.serviceServerInstanceId = ssInstanceId;
-}
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java
deleted file mode 100644
index 9cd65589a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java
+++ /dev/null
@@ -1,276 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060608 144500 mahutch@ca.ibm.com - Mark Hutchinson
- * 20060818 153903 makandre@ca.ibm.com - Andrew Mak, Browse does not work in generate client test page
- * 20060906 154548 gilberta@ca.ibm.com - Gilbert Andrews, This fixes name collisions when creating a sample project
- * 20060922 158177 makandre@ca.ibm.com - Andrew Mak, NPE when creating web service client into existing Java project with test
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import java.util.List;
-import java.util.ListIterator;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
-* This task sets up all the defaults for the webservice test
-* client page
-*
-*/
-public class WebServiceClientTestArrivalCommand extends AbstractDataModelOperation
-{
- public static final String DEFAULT_WEB_MODULE_ROOT = "WebContent";
- public static final String DEFAULT_SAMPLE_WEB_PROJECT_EXT = "Sample";
-
- public static String SAMPLE_DIR = "sample";
-
- private String clientProject;
- private String clientProjectEAR;
- private String clientP;
- private String clientC;
- private IProject clientIProject;
- private String folder;
- private String jspFolder;
- private BooleanSelection[] methods;
- private String proxyBean;
- private String sampleProject;
- private String sampleP;
- private String sampleC;
- private String sampleProjectEAR;
-
-
-
- /**
- * Constructs a new WebServiceClientTestArrivalTask object with the given label and description.
- */
- public WebServiceClientTestArrivalCommand ()
- {
-
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
-
- sampleProjectAndEarSetup(env);
- IPath webcontentPath = null;
-
- // *need* to double-check that clientIProject is a web project
- if (J2EEUtils.isWebComponent(clientIProject))
- webcontentPath = J2EEUtils.getWebContentPath(clientIProject);
-
- //Get the sample Folder ready
- StringBuffer sb = new StringBuffer();
-
- if (webcontentPath != null)
- {
- String path = webcontentPath.toString();
- sb.append(path).append("/");
- }
- else
- { //then just use the default
- sb.append("/").append(sampleC).append("/").append(DEFAULT_WEB_MODULE_ROOT).append("/");
- }
- folder = SAMPLE_DIR + getBean();
-
- sb.append(folder);
- jspFolder = sb.toString();
-
- //get the method names ready
- //find the full path of the file in the project
- /*
- * Getting the method names using javamof introspection
- */
- if(proxyBean == null){
- IStatusHandler sHandler = env.getStatusHandler();
- IStatus errorStatus = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_JTS_PROXY_NOT_COMPILED );
- sHandler.reportError(errorStatus);
- return errorStatus;
-
- }
-
-
- JavaMofReflectionCommand javamofcommand = new JavaMofReflectionCommand();
- javamofcommand.setProxyBean(proxyBean);
- javamofcommand.setClientProject(clientP);
- javamofcommand.setEnvironment( env );
-
-
-
- try{
- IStatus mofStatus = javamofcommand.execute( monitor, null);
- if(mofStatus.getSeverity() == Status.ERROR)
- return mofStatus;
- }catch(Exception exc){
- IStatusHandler sHandler = env.getStatusHandler();
- IStatus errorStatus = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_JTS_PROXY_NOT_COMPILED );
- sHandler.reportError(errorStatus);
- return errorStatus;
- }
- JavaHelpers javaHelpers = javamofcommand.getJavaClass();
- if (javaHelpers == null) return status;
-
- JavaClass javaClass = null;
- if(javaHelpers instanceof JavaClass)
- javaClass = (JavaClass)javaHelpers;
- else return status;
- List methodList = javaClass.getPublicMethods();
- BooleanSelection[] tempMethods = new BooleanSelection[methodList.size()];
- ListIterator listIterator = methodList.listIterator();
-
- int j = 0;
- while (listIterator.hasNext())
- {
- Method method = (Method)listIterator.next();
- if(method.isConstructor()) continue;
-
- tempMethods[j] = new BooleanSelection( method.getMethodElementSignature(), true);
- j++;
- }
- methods = tempMethods;
- return status;
- }
- public static final String DEFAULT_SAMPLE_EAR_PROJECT_EXT = "EAR";
-
- private void sampleProjectAndEarSetup(IEnvironment env)
- {
- if(clientProject == null) return;
- else{
- int index = clientProject.indexOf("/");
- clientP = clientProject.substring(0,index);
- clientC = clientProject.substring(index + 1);
- }
-
- clientIProject = (IProject)ProjectUtilities.getProject(clientP);
-
- if(J2EEUtils.isWebComponent(clientIProject)){
- sampleProject = clientProject;
- sampleP = clientP;
- sampleC = clientC;
- }
- else{
- sampleP = clientP + DEFAULT_SAMPLE_WEB_PROJECT_EXT;
- sampleC = clientC + DEFAULT_SAMPLE_WEB_PROJECT_EXT;
- sampleProject = sampleP + "/" + sampleC;
-
- String sampleTemp = sampleP;
-
- boolean nameFound = false;
- int i = 1;
- while(!nameFound){
- IProject sampleIProject = (IProject)ProjectUtilities.getProject(sampleTemp);
- if(sampleIProject.exists() && !J2EEProjectUtilities.isDynamicWebProject(sampleIProject)){
- sampleTemp = sampleP + Integer.toString(i);
- sampleProject = sampleTemp + "/" + sampleC;
-
- }
- else
- nameFound = true;
-
- i++;
- }
- sampleP = sampleTemp;
-
- }
-
-
-
-
- sampleProjectEAR = clientProjectEAR;
- if (sampleProjectEAR == null || sampleProjectEAR.length()==0){
- sampleProjectEAR = sampleP + DEFAULT_SAMPLE_EAR_PROJECT_EXT + "/" + sampleC + DEFAULT_SAMPLE_EAR_PROJECT_EXT;
- }
-
- }
-
- //getters and setters
-
- private String getBean()
- {
- int index = proxyBean.lastIndexOf(".");
- String end = "";
- if(index != -1){
- end = proxyBean.substring(index + 1);
- }
- String bean = end.substring(0,end.length());
-
- return bean;
- }
-
-
-
-
- public String getFolder()
- {
- return folder;
- }
-
- public String getJspFolder()
- {
- return jspFolder;
- }
-
- public BooleanSelection[] getMethods()
- {
- return methods;
- }
-
- public String getSampleProject()
- {
- return sampleProject;
- }
-
- public void setClientProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
-
- public void setClientProjectEAR(String clientProjectEAR)
- {
- this.clientProjectEAR = clientProjectEAR;
- }
-
-
- public void setProxyBean(String proxyBean)
- {
- this.proxyBean = proxyBean;
- }
-
- public String getSampleProjectEAR()
- {
- return sampleProjectEAR;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java
deleted file mode 100644
index 00bdfd0b4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on Mar 25, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
-
-import org.eclipse.jst.ws.internal.consumption.command.common.BuildProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.AddModuleDependenciesCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-
-
-/**
- * @author gilberta
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class WebServiceTestClientDepartureFragment extends SequenceFragment
-{
- public WebServiceTestClientDepartureFragment()
- {
- add(new SimpleFragment(new FinishDefaultCommand(),""));
- add(new SimpleFragment(new ClientTestDelegateCommand(),""));
- }
-
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataRegistry.addMapping(TestClientDepartureInitCommand.class, "ForceBuild",BuildProjectCommand.class);
- dataRegistry.addMapping(FinishDefaultCommand.class, "SampleServerTypeID",AddModuleDependenciesCommand.class);
- dataRegistry.addMapping(FinishDefaultCommand.class, "SampleExistingServer",AddModuleDependenciesCommand.class);
- dataRegistry.addMapping(FinishDefaultCommand.class, "SampleServerTypeID",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(FinishDefaultCommand.class, "SampleExistingServer",ClientTestDelegateCommand.class);
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java
deleted file mode 100644
index ebbf6a453..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.ext.test.WSDLTestFinishCommand;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.ws.internal.explorer.LaunchOption;
-import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-
-public class ExplorerServiceTestCommand extends AbstractDataModelOperation implements WSDLTestFinishCommand
-{
-
- private boolean externalBrowser = true;
- private String wsdlServiceURL;
- private List endpoints;
-
- /**
- * Constructs a new WebServiceExplorerLaunch object with the given label and description.
- */
- public ExplorerServiceTestCommand ()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
-
- WSExplorerLauncherCommand launchCommand = new WSExplorerLauncherCommand();
- launchCommand.setForceLaunchOutsideIDE(externalBrowser);
- Vector launchOptionVector = new Vector();
- String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
- String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
- launchOptionVector.add(new LaunchOption(LaunchOptions.STATE_LOCATION,stateLocation));
- launchOptionVector.add(new LaunchOption(LaunchOptions.DEFAULT_FAVORITES_LOCATION,defaultFavoritesLocation));
- launchOptionVector.add(new LaunchOption(LaunchOptions.WSDL_URL,wsdlServiceURL));
- if (endpoints != null)
- for (Iterator it = endpoints.iterator(); it.hasNext();)
- launchOptionVector.add(new LaunchOption(LaunchOptions.WEB_SERVICE_ENDPOINT, it.next().toString()));
- launchCommand.setLaunchOptions((LaunchOption[])launchOptionVector.toArray(new LaunchOption[0]));
- launchCommand.setEnvironment( env );
- status = launchCommand.execute( monitor, null );
- return status;
- }
-
- public void setExternalBrowser(boolean externalBrowser)
- {
- this.externalBrowser = externalBrowser;
- }
-
- public void setWsdlServiceURL(String wsdlServiceURL)
- {
- this.wsdlServiceURL = wsdlServiceURL;
- }
-
- public void setServerTypeID(String serviceServerTypeID)
- {
- //TODO: Type mappings to this property should be removed.
- }
-
- public void setExistingServer(IServer serviceExistingServer)
- {
- //TODO: Type mappings to this property should be removed.
- }
-
- public void setServiceProject(String serviceProject)
- {
- //TODO: Type mappings to this property should be removed.
- }
-
- public void setEndpoint(List endpoints)
- {
- this.endpoints = endpoints;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java
deleted file mode 100644
index 8ad6eeb12..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
-
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.explorer.LaunchOption;
-import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-public class WSEGenerateCommand extends AbstractDataModelOperation
-{
-
- private TestInfo testInfo;
-
- public WSEGenerateCommand(TestInfo testInfo){
- this.testInfo = testInfo;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
-
- WSExplorerLauncherCommand launchCommand = new WSExplorerLauncherCommand();
- launchCommand.setForceLaunchOutsideIDE(testInfo.getExternalBrowser());
- Vector launchOptionVector = new Vector();
- String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
- String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
- launchOptionVector.add(new LaunchOption(LaunchOptions.STATE_LOCATION,stateLocation));
- launchOptionVector.add(new LaunchOption(LaunchOptions.DEFAULT_FAVORITES_LOCATION,defaultFavoritesLocation));
- launchOptionVector.add(new LaunchOption(LaunchOptions.WSDL_URL,testInfo.getWsdlServiceURL()));
- if (testInfo.getEndpoint() != null)
- for (Iterator it = testInfo.getEndpoint().iterator(); it.hasNext();)
- launchOptionVector.add(new LaunchOption(LaunchOptions.WEB_SERVICE_ENDPOINT, it.next().toString()));
- launchCommand.setLaunchOptions((LaunchOption[])launchOptionVector.toArray(new LaunchOption[0]));
- launchCommand.setEnvironment( env );
- status = launchCommand.execute( monitor, null );
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java
deleted file mode 100644
index cfa116d05..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-public class WSEWebServiceTester implements IWebServiceTester {
-
- public ICommandFactory generate(TestInfo testInfo){
- Vector commands = new Vector();
- return new SimpleCommandFactory(commands);
- }
-
- public ICommandFactory launch(TestInfo testInfo){
- Vector commands = new Vector();
- commands.add(new WSEGenerateCommand(testInfo));
- return new SimpleCommandFactory(commands);
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java
deleted file mode 100644
index ecb320e5a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
-
-import org.eclipse.jst.ws.internal.ext.WebServiceExecutable;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
-* This is the interface for objects that represent a kind of
-* Web Service-Server-Runtime artifact. The primary purpose of a WebServiceServerRuntimeType
-* object is to manufacture the wizard pages that support the type, server, and runtime configuration.
-*/
-public class WebServiceExplorerExecutable implements WebServiceExecutable
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public AbstractDataModelOperation getFinishCommand()
- {
- return new ExplorerServiceTestCommand();
- }
-
-}
-
-
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java
deleted file mode 100644
index 3c6638f50..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java
+++ /dev/null
@@ -1,292 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060324 122799 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060503 138478 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060510 141115 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
-
-import java.io.IOException;
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifest;
-import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.project.facet.IJavaProjectMigrationDataModelProperties;
-import org.eclipse.jst.j2ee.project.facet.JavaProjectMigrationDataModelProvider;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.AssociateModuleWithEARCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.datamodel.properties.ICreateReferenceComponentsDataModelProperties;
-import org.eclipse.wst.common.componentcore.internal.operation.CreateReferenceComponentsDataModelProvider;
-import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-public class AddModuleDependenciesCommand extends AbstractDataModelOperation
-{
-
- private TestInfo testInfo;
-
- private IProject sampleIProject;
- private IProject clientIProject;
- private IProject sampleEARIProject;
- private String sampleEARProject;
-
- public AddModuleDependenciesCommand(TestInfo testInfo)
- {
- this.testInfo = testInfo;
- }
-
- /**
- * Execute WebServerDefaultingTask Set the default server name and id given a
- * deployable.
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- //1. Create a Web project for the sample if one does not already exist.
- sampleIProject = ProjectUtilities.getProject(testInfo.getGenerationProject());
- boolean createdSampleProject = false;
- if (!sampleIProject.exists())
- {
- CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
- command.setProjectName(testInfo.getGenerationProject());
- command.setTemplateId(IJ2EEModuleConstants.JST_WEB_TEMPLATE);
- // RequiredFacetVersions is set to an empty array because we don't need to impose any additional constraints.
- // We just want to create the highest level of Web project that the selected server supports.
- command.setRequiredFacetVersions(new RequiredFacetVersion[0]);
- command.setServerFactoryId(testInfo.getClientServerTypeID());
- command.setServerInstanceId(testInfo.getClientExistingServer().getId());
- IStatus status = command.execute( monitor, adaptable );
- if (status.getSeverity() == Status.ERROR)
- {
- env.getStatusHandler().reportError( status );
- return status;
- }
- createdSampleProject = true;
- }
-
- //2. If the selected server requires an EAR and no EAR name
- //has been provided, choose an EAR name and create it if it doesn't exist.
- ValidationUtils vu = new ValidationUtils();
- boolean serverNeedsEAR = vu.serverNeedsEAR(testInfo.getClientServerTypeID());
- if (serverNeedsEAR) {
- if (testInfo.getClientEARProject() == null
- || testInfo.getClientEARProject().length() == 0) {
- sampleEARProject = testInfo.getGenerationProject() + DEFAULT_SAMPLE_EAR_PROJECT_EXT;
- } else {
- sampleEARProject = testInfo.getClientEARProject();
- }
- sampleEARIProject = ProjectUtilities.getProject(sampleEARProject);
- if (sampleEARIProject == null || !sampleEARIProject.exists())
- {
- CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
- command.setProjectName(sampleEARProject);
- command.setTemplateId(IJ2EEModuleConstants.JST_EAR_TEMPLATE);
- // RequiredFacetVersions is set to an empty array because we don't need to impose any additional constraints.
- // We just want to create the highest level of Web project that the selected server supports.
- command.setRequiredFacetVersions(new RequiredFacetVersion[0]);
- command.setServerFactoryId(testInfo.getClientServerTypeID());
- command.setServerInstanceId(testInfo.getClientExistingServer().getId());
- IStatus status = command.execute( monitor, adaptable );
- if (status.getSeverity() == Status.ERROR)
- {
- env.getStatusHandler().reportError( status );
- return status;
- }
- }
-
- }
-
- // 3. If the selected server requires an EAR, and the sample project has
- // not already been added to the EAR, add it.
- if (serverNeedsEAR)
- {
- AssociateModuleWithEARCommand associateCommand = new AssociateModuleWithEARCommand();
- associateCommand.setProject(testInfo.getGenerationProject());
- associateCommand.setEARProject(sampleEARProject);
- associateCommand.setEar(sampleEARProject);
- associateCommand.setEnvironment( env );
- IStatus status = associateCommand.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- }
- }
-
-
-
-
- // 4. If server requires an EAR, and the sample EAR has not already been
- // added to the server, add it.
- // If no EAR is required, and sample project has not been added to the server add it.
- if (serverNeedsEAR)
- {
- //Add sampleEARIProject to the server if needed.
- AddModuleToServerCommand modToServer = new AddModuleToServerCommand();
- modToServer.setModule(sampleEARProject);
- modToServer.setProject(sampleEARProject);
- modToServer.setServerInstanceId(testInfo.getClientExistingServer().getId());
- modToServer.setEnvironment( env );
- IStatus status = modToServer.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- }
- }
- else
- {
- //add sampleIProject directly to the server if needed.
- AddModuleToServerCommand addToServer = new AddModuleToServerCommand();
- addToServer.setModule(testInfo.getGenerationProject());
- addToServer.setProject(testInfo.getGenerationProject());
- addToServer.setServerInstanceId(testInfo.getClientExistingServer().getId());
- addToServer.setEnvironment( env );
- IStatus status = addToServer.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- }
- }
-
- //5. Call StartServerCommand if this command had to create the sample project.
- if (createdSampleProject)
- {
- StartServerCommand startServer = new StartServerCommand(true);
- startServer.setServerInstanceId(testInfo.getClientExistingServer().getId());
- startServer.setEnvironment( env );
- IStatus status = startServer.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- env.getStatusHandler().reportError(status);
- }
- }
-
-
- //6. Establish all necessary dependencies between client project, sample project, and EAR
-
- clientIProject = ProjectUtilities.getProject(testInfo.getClientProject());
-
- if (clientIProject != null && !J2EEUtils.isWebComponent(clientIProject)) {
- if (J2EEUtils.isJavaComponent(clientIProject)) {
- addJavaProjectAsUtilityJar(clientIProject, sampleEARIProject, monitor);
- addJavaProjectAsUtilityJar(clientIProject, sampleIProject,monitor);
- }
-
- try
- {
- String uri = clientIProject.getName() + ".jar";
- addJAROrModuleDependency(sampleIProject, uri);
- } catch (CoreException ce)
- {
- String errorMessage = NLS.bind(ConsumptionUIMessages.MSG_ERROR_MODULE_DEPENDENCY, new String[]{sampleIProject.getName(), clientIProject.getName()});
- IStatus errorStatus = StatusUtils.errorStatus(errorMessage);
- env.getStatusHandler().reportError(errorStatus);
- } catch (IOException ioe)
- {
- String errorMessage = NLS.bind(ConsumptionUIMessages.MSG_ERROR_MODULE_DEPENDENCY, new String[]{sampleIProject.getName(), clientIProject.getName()});
- IStatus errorStatus = StatusUtils.errorStatus(errorMessage);
- env.getStatusHandler().reportError(errorStatus);
- }
-
- try {
- addBuildPath(sampleIProject, clientIProject);
- } catch (JavaModelException jme) {
- // Do nothing in this catch block. The worst that
- // will happen is that the sample Web project
- // will show some compile errors. The sample will
- // likely still launch successfully on the server
- // and the user will be able to use it.
- }
- }
-
- return Status.OK_STATUS;
- }
-
- private void addJAROrModuleDependency(IProject project, String uri) throws IOException, CoreException
- {
- if (J2EEUtils.isWebComponent(project))
- {
- ArchiveManifest manifest = J2EEProjectUtilities.readManifest(project);
- manifest.mergeClassPath(new String[]{uri});
- J2EEProjectUtilities.writeManifest(project, manifest);
- }
- }
-
- private void addJavaProjectAsUtilityJar(IProject javaProject, IProject earProject,IProgressMonitor monitor)
- {
- try {
- IDataModel migrationdm = DataModelFactory.createDataModel(new JavaProjectMigrationDataModelProvider());
- migrationdm.setProperty(IJavaProjectMigrationDataModelProperties.PROJECT_NAME, javaProject.getName());
- migrationdm.getDefaultOperation().execute(monitor, null);
-
-
- IDataModel refdm = DataModelFactory.createDataModel(new CreateReferenceComponentsDataModelProvider());
- List targetCompList = (List) refdm.getProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST);
-
- IVirtualComponent targetcomponent = ComponentCore.createComponent(javaProject);
- IVirtualComponent sourcecomponent = ComponentUtilities.getComponent(earProject.getName());
- targetCompList.add(targetcomponent);
-
- refdm.setProperty(ICreateReferenceComponentsDataModelProperties.SOURCE_COMPONENT,sourcecomponent );
- refdm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST, targetCompList);
- refdm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENTS_DEPLOY_PATH, "/WEB-INF/lib");
- refdm.getDefaultOperation().execute(monitor, null);
- }catch (Exception e) {
-
- }
- }
-
-
- private void addBuildPath(IProject referencingProject, IProject referencedProject) throws JavaModelException
- {
- IJavaProject javaProject = JavaCore.create(referencingProject);
- if (javaProject != null)
- {
- IClasspathEntry[] oldCp = javaProject.getRawClasspath();
- IClasspathEntry[] newCp = new IClasspathEntry[oldCp.length + 1];
- for (int i = 0; i < oldCp.length; i++)
- newCp[i] = oldCp[i];
- newCp[newCp.length - 1] = JavaCore.newProjectEntry(referencedProject.getFullPath());
- javaProject.setRawClasspath(newCp, new NullProgressMonitor());
- }
- }
-
-
- public static final String DEFAULT_SAMPLE_EAR_PROJECT_EXT = "EAR";
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java
deleted file mode 100644
index e7d91d9aa..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.MethodFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.ResultFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.TestClientFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.command.GeneratePageCommand;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.command.JavaToModelCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.CopyWebServiceUtilsJarCommand;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EnvironmentUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-public class GSTCGenerateCommand extends AbstractDataModelOperation
-{
-
- public static String INPUT = "Input.jsp";
- public static String TEST_CLIENT = "TestClient.jsp";
- public static String RESULT = "Result.jsp";
- public static String METHOD = "Method.jsp";
-
- private TestInfo testInfo;
- private Model proxyModel;
- private String jspfolder;
-
- public GSTCGenerateCommand(TestInfo testInfo){
- this.testInfo = testInfo;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
- CopyWebServiceUtilsJarCommand copy = new CopyWebServiceUtilsJarCommand();
- copy.setSampleProject(testInfo.getGenerationProject());
- copy.setEnvironment( env );
- status = copy.execute( monitor, null);
- if (status.getSeverity() == Status.ERROR) return status;
- setJSPFolder();
- status = createModel(env, monitor);
- if (status.getSeverity() == Status.ERROR) return status;
- status = generatePages(env);
- if (status.getSeverity() == Status.ERROR) return status;
- return status;
- }
-
- private void setJSPFolder(){
- //if the client is not a webcomponent then the
- //sample must have been created, we must now factor in
- //flexible projects
-
- IProject clientIProject = ProjectUtilities.getProject(testInfo.getClientProject());
- if (clientIProject != null && !J2EEUtils.isWebComponent(clientIProject)){
- IProject project = ProjectUtilities.getProject(testInfo.getGenerationProject());
- IPath path = J2EEUtils.getWebContentPath(project);
- int index = testInfo.getJspFolder().lastIndexOf("/");
- String jsp = testInfo.getJspFolder().substring(index + 1);
- StringBuffer sb = new StringBuffer();
- sb.append("/").append(path.toString()).append("/").append(jsp);
- jspfolder = sb.toString();
- }
- else
- jspfolder = testInfo.getJspFolder();
-
-
- }
-
- //create the model from the resource
- private IStatus createModel(IEnvironment env, IProgressMonitor monitor ) {
- JavaToModelCommand jtmc = new JavaToModelCommand();
- jtmc.setMethods(testInfo.getMethods());
- jtmc.setClientProject(testInfo.getClientProject());
- jtmc.setProxyBean(testInfo.getProxyBean());
- jtmc.setEnvironment( env );
- IStatus status = jtmc.execute( monitor, null);
- if (status.getSeverity() == Status.ERROR) return status;
- proxyModel = jtmc.getJavaDataModel();
- return status;
- }
-
- /**
- * Generate the four jsps that make up this
- * sample app.
- */
- private IStatus generatePages(IEnvironment env)
- {
- IStatus status = Status.OK_STATUS;
- IPath fDestinationFolderPath = new Path(jspfolder);
- fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
- IWorkspaceRoot fWorkspace = ResourcesPlugin.getWorkspace().getRoot();
-
- IPath pathTest = fDestinationFolderPath.append(TEST_CLIENT);
- IFile fileTest = fWorkspace.getFile(pathTest);
- GeneratePageCommand gpcTest = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- new TestClientFileGenerator(INPUT,METHOD,RESULT),fileTest);
- //gpcTest.setStatusMonitor(getStatusMonitor());
- gpcTest.setEnvironment( env );
- status = gpcTest.execute( null, null );
- if (status.getSeverity() == Status.ERROR )
- return status;
-
-
- //input codegen
- IPath pathInput = fDestinationFolderPath.append(INPUT);
- IFile fileInput = fWorkspace.getFile(pathInput);
- InputFileGenerator inputGenerator = new InputFileGenerator(RESULT);
- GeneratePageCommand gpcInput = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- inputGenerator,fileInput);
- //gpcInput.setStatusMonitor(getStatusMonitor());
- gpcInput.setEnvironment( env );
- status = gpcInput.execute( null, null );
- if (status.getSeverity() == Status.ERROR )
- return status;
-
- //method codegen
- IPath pathMethod = fDestinationFolderPath.append(METHOD);
- IFile fileMethod = fWorkspace.getFile(pathMethod);
- MethodFileGenerator methodGenerator = new MethodFileGenerator(INPUT);
- methodGenerator.setClientFolderPath(jspfolder);
- GeneratePageCommand gpcMethod = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- methodGenerator,fileMethod);
- //gpcMethod.setStatusMonitor(getStatusMonitor());
- gpcMethod.setEnvironment( env );
- status = gpcMethod.execute( null, null );
- if (status.getSeverity() == Status.ERROR )
- return status;
-
-
- //result codegen
- IPath pathResult = fDestinationFolderPath.append(RESULT);
- IFile fileResult = fWorkspace.getFile(pathResult);
- ResultFileGenerator rfg = new ResultFileGenerator();
- rfg.setClientFolderPath(jspfolder);
- rfg.setSetEndpointMethod(testInfo.getSetEndpointMethod());
- GeneratePageCommand gpcResult = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- rfg,fileResult);
- gpcResult.setEnvironment( env );
- status = gpcResult.execute( null, null );
-
- return status;
- }
-
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java
deleted file mode 100644
index 15bfc8cf3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060418 134322 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060424 124368 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.browser.IWebBrowser;
-import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-public class GSTCLaunchCommand extends AbstractDataModelOperation
-{
-
- public static String INPUT = "Input.jsp";
- public static String TEST_CLIENT = "TestClient.jsp";
- public static String RESULT = "Result.jsp";
- public static String METHOD = "Method.jsp";
-
- private TestInfo testInfo;
- private String jspfolder;
-
- public GSTCLaunchCommand(TestInfo testInfo){
- this.testInfo = testInfo;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- setJSPFolder();
-
- return launchSample(env, monitor);
- }
- private void setJSPFolder(){
- //if the client is not a webcomponent then the
- //sample must have been created, we must now factor in
- //flexible projects
-
- IProject clientIProject = ProjectUtilities.getProject(testInfo.getClientProject());
- if (clientIProject != null && !J2EEUtils.isWebComponent(clientIProject)){
- IProject project = ProjectUtilities.getProject(testInfo.getGenerationProject());
- IPath path = J2EEUtils.getWebContentPath(project);
- int index = testInfo.getJspFolder().lastIndexOf("/");
- String jsp = testInfo.getJspFolder().substring(index + 1);
- StringBuffer sb = new StringBuffer();
- sb.append("/").append(path.toString()).append("/").append(jsp);
- jspfolder = sb.toString();
- }
- else
- jspfolder = testInfo.getJspFolder();
-
-
- }
-
- private IStatus launchSample (IEnvironment env, IProgressMonitor monitor ) {
- IStatus status = Status.OK_STATUS;
- IPath fDestinationFolderPath = new Path(jspfolder);
- fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
- try
- {
- Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
- }
- catch( InterruptedException exc )
- {
- // UISynchronizer.syncExec seems to interrupt the UI tread when the autobuilder is done. Not sure, why.
- // I'm assuming here that the autobuilder has actually completed its stuff.
- }
-
- StartServerCommand serverCommand = new StartServerCommand( true );
- serverCommand.setServerInstanceId( testInfo.getClientExistingServer().getId() );
- serverCommand.setEnvironment( env );
-
- status = serverCommand.execute(monitor, null);
- if (status.getSeverity() == Status.ERROR) return status;
-
- IProject sampleProject = ProjectUtilities.getProject(testInfo.getGenerationProject());
- String newPath = ServerUtils.getWebComponentURL(sampleProject, testInfo.getClientServerTypeID(),testInfo.getClientExistingServer());
- int count = J2EEUtils.getWebContentPath(sampleProject).segmentCount();
-
- newPath = newPath + "/" + fDestinationFolderPath.removeFirstSegments(count);
- StringBuffer urlString = new StringBuffer( newPath + "/" + TEST_CLIENT );
- if (testInfo.getEndpoint() != null && !testInfo.getEndpoint().isEmpty())
- {
- urlString.append("?endpoint=");
- urlString.append(testInfo.getEndpoint().get(0).toString());
- }
-
- try{
- URL url;
- url = new URL(urlString.toString());
-
- InputStream resultStream = null;
- InputStream methodStream = null;
- InputStream inputStream = null;
- InputStream clientStream = null;
-
- for( int retries = 0; retries < 10; retries++ )
- {
- try
- {
- // Test the URLs
-
- resultStream = new URL(newPath + "/" + RESULT).openStream();
- methodStream = new URL(newPath + "/" + METHOD).openStream();
- inputStream = new URL(newPath + "/" + INPUT).openStream();
- clientStream = new URL(newPath + "/" + TEST_CLIENT).openStream();
-
- // Looks good, exit loop
- break;
- }
- catch( IOException ioe )
- {
- try
- {
- Thread.sleep(1000);
- }
- catch (InterruptedException ie) {}
- }
- finally
- {
- try
- {
- if( resultStream != null ) resultStream.close();
- if( methodStream != null ) methodStream.close();
- if( inputStream != null ) inputStream.close();
- if( clientStream != null ) clientStream.close();
- }
- catch( IOException exc )
- {
- }
- }
- }
-
- IWorkbenchBrowserSupport browserSupport = WebServiceConsumptionUIPlugin.getInstance().getWorkbench().getBrowserSupport();
- IWebBrowser browser = browserSupport.createBrowser(IWorkbenchBrowserSupport.LOCATION_BAR, null, null, null);
- browser.openURL(url);
- return status;
- }catch(PartInitException exc){
- env.getLog().log(ILog.ERROR, 5048, this, "launchSample", exc);
- status = StatusUtils.errorStatus(exc.getMessage(), exc);
- env.getStatusHandler().reportError(status);
- return status;
- }catch(MalformedURLException exc){
- env.getLog().log(ILog.WARNING, 5048, this, "launchSample", exc);
- status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, exc );
- try {
- env.getStatusHandler().report(status);
- } catch (StatusException e) {
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, e );
- }
- return status;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java
deleted file mode 100644
index ea068568d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
-import org.eclipse.wst.ws.internal.wsrt.TestInfo;
-
-public class GSTCWebServiceTester implements IWebServiceTester {
-
- public ICommandFactory generate(TestInfo testInfo){
- Vector commands = new Vector();
- commands.add(new AddModuleDependenciesCommand(testInfo));
- commands.add(new GSTCGenerateCommand(testInfo));
- return new SimpleCommandFactory(commands);
- }
-
- public ICommandFactory launch(TestInfo testInfo){
- Vector commands = new Vector();
- if (testInfo.getRunTestClient()) {
- commands.add(new GSTCLaunchCommand(testInfo));
- }
- return new SimpleCommandFactory(commands);
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java
deleted file mode 100644
index 9a7bc7e0d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java
+++ /dev/null
@@ -1,322 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060424 124368 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.StartProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.MethodFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.ResultFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.TestClientFileGenerator;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.command.GeneratePageCommand;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.command.JavaToModelCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.CopyWebServiceUtilsJarCommand;
-import org.eclipse.jst.ws.internal.ext.test.JavaProxyTestCommand;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.browser.IWebBrowser;
-import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EnvironmentUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-public class WSSampleFinishCommand extends AbstractDataModelOperation implements JavaProxyTestCommand
-{
-
- public static String INPUT = "Input.jsp";
- public static String TEST_CLIENT = "TestClient.jsp";
- public static String RESULT = "Result.jsp";
- public static String METHOD = "Method.jsp";
-
- private Model proxyModel;
- private String sampleServerTypeID;
- private IServer sampleExistingServer;
-
-
- private String clientProject;
- private String jspFolder;
- private boolean runClientTest;
- private String sampleProject;
- private BooleanSelection[] methods;
- private String proxyBean;
- private String setEndpointMethod;
- private List endpoints;
-
- /**
- * Constructs a new JavaBeanToSampleActiveTask object with the given label and description.
- */
- public WSSampleFinishCommand ()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
- //setters and getters to be removed
- CopyWebServiceUtilsJarCommand copy = new CopyWebServiceUtilsJarCommand();
- copy.setSampleProject(sampleProject);
- copy.setEnvironment( env );
- status = copy.execute( monitor, null );
- if (status.getSeverity() == Status.ERROR) return status;
- status = createModel(env, monitor );
- if (status.getSeverity() == Status.ERROR) return status;
- status = generatePages(env, monitor );
- if (status.getSeverity() == Status.ERROR) return status;
- //if (!isSuccessful()) return;
- status = launchSample(env, monitor);
- return status;
- }
-
-
- /**
- * Generate the four jsps that make up this
- * sample app.
- */
- protected IStatus generatePages(IEnvironment env, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
- IPath fDestinationFolderPath = new Path(jspFolder);
- fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
- IWorkspaceRoot fWorkspace = ResourcesPlugin.getWorkspace().getRoot();
-
- IPath pathTest = fDestinationFolderPath.append(TEST_CLIENT);
- IFile fileTest = fWorkspace.getFile(pathTest);
- GeneratePageCommand gpcTest = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- new TestClientFileGenerator(INPUT,METHOD,RESULT),fileTest);
- //gpcTest.setStatusMonitor(getStatusMonitor());
- gpcTest.setEnvironment( env );
- status = gpcTest.execute( monitor, null );
- if (status.getSeverity() == Status.ERROR )
- return status;
-
-
- //input codegen
- IPath pathInput = fDestinationFolderPath.append(INPUT);
- IFile fileInput = fWorkspace.getFile(pathInput);
- InputFileGenerator inputGenerator = new InputFileGenerator(RESULT);
- GeneratePageCommand gpcInput = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- inputGenerator,fileInput);
- //gpcInput.setStatusMonitor(getStatusMonitor());
- gpcInput.setEnvironment( env );
- status = gpcInput.execute( monitor, null );
- if (status.getSeverity() == Status.ERROR )
- return status;
-
- //method codegen
- IPath pathMethod = fDestinationFolderPath.append(METHOD);
- IFile fileMethod = fWorkspace.getFile(pathMethod);
- MethodFileGenerator methodGenerator = new MethodFileGenerator(INPUT);
- methodGenerator.setClientFolderPath(jspFolder);
- GeneratePageCommand gpcMethod = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- methodGenerator,fileMethod);
- //gpcMethod.setStatusMonitor(getStatusMonitor());
- gpcMethod.setEnvironment( env );
- status = gpcMethod.execute( monitor, null );
- if (status.getSeverity() == Status.ERROR )
- return status;
-
-
- //result codegen
- IPath pathResult = fDestinationFolderPath.append(RESULT);
- IFile fileResult = fWorkspace.getFile(pathResult);
- ResultFileGenerator rfg = new ResultFileGenerator();
- rfg.setClientFolderPath(jspFolder);
- rfg.setSetEndpointMethod(setEndpointMethod);
- GeneratePageCommand gpcResult = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
- rfg,fileResult);
- //gpcResult.setStatusMonitor(getStatusMonitor());
- gpcResult.setEnvironment( env );
- status = gpcResult.execute( monitor, null );
-
- return status;
- }
-
-
- protected IStatus launchSample (IEnvironment env, IProgressMonitor monitor ) {
-
- IStatus status = Status.OK_STATUS;
- if (!runClientTest) return status;
-
-
- IPath fDestinationFolderPath = new Path(jspFolder);
- fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
-
- StartProjectCommand spc = new StartProjectCommand(false );
- spc.setServiceServerTypeID(sampleServerTypeID);
- spc.setSampleExistingServer(sampleExistingServer);
- IProject project = (IProject) ResourceUtils.findResource(sampleProject);
- spc.setSampleProject(project);
- spc.setIsWebProjectStartupRequested(true);
- spc.setEnvironment( env );
-
- status = spc.execute( monitor, null );
- if (status.getSeverity() == Status.ERROR) return status;
-
- IPath newPath = new Path(ResourceUtils.getWebProjectURL(ResourceUtils.getProjectOf(fDestinationFolderPath),sampleServerTypeID,sampleExistingServer));
- newPath = newPath.append(fDestinationFolderPath.removeFirstSegments(2).makeAbsolute());
- StringBuffer urlString = new StringBuffer(newPath.append(TEST_CLIENT).toString());
- if (endpoints != null && !endpoints.isEmpty())
- {
- urlString.append("?endpoint=");
- urlString.append(endpoints.get(0).toString());
- }
-
- try{
- URL url;
- url = new URL(urlString.toString());
-
- for( int retries = 0; retries < 10; retries++ )
- {
- try
- {
- // Test the URLs
- (new URL(newPath.append(RESULT).toString())).openStream();
- (new URL(newPath.append(METHOD).toString())).openStream();
- (new URL(newPath.append(INPUT).toString())).openStream();
- (new URL(newPath.append(TEST_CLIENT).toString())).openStream();
- // Looks good, exit loop
- break;
- }
- catch( IOException ioe )
- {
- try
- {
- Thread.sleep(1000);
- }
- catch (InterruptedException ie) {}
- }
- }
-
- IWorkbenchBrowserSupport browserSupport = WebServiceConsumptionUIPlugin.getInstance().getWorkbench().getBrowserSupport();
- IWebBrowser browser = browserSupport.createBrowser(IWorkbenchBrowserSupport.LOCATION_BAR | IWorkbenchBrowserSupport.NAVIGATION_BAR, null, null, null);
- browser.openURL(url);
- return status;
- }catch(PartInitException exc){
- //TODO: change error message
- env.getLog().log(ILog.WARNING, 5048, this, "launchSample", exc);
- status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, exc );
- try {
- env.getStatusHandler().report(status);
- } catch (StatusException e) {
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, e );
- }
- return status;
- }catch(MalformedURLException exc){
- env.getLog().log(ILog.WARNING, 5048, this, "launchSample", exc);
- status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, exc );
- try {
- env.getStatusHandler().report(status);
- } catch (StatusException e) {
- status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, e );
- }
- return status;
- }
- }
-
-
-
- protected IStatus createModel(IEnvironment env, IProgressMonitor monitor ) {
-
- //create the model from the resource
- JavaToModelCommand jtmc = new JavaToModelCommand();
- jtmc.setMethods(methods);
- jtmc.setClientProject(clientProject);
- jtmc.setProxyBean(proxyBean);
- jtmc.setEnvironment( env );
- //jtmc.setStatusMonitor(getStatusMonitor());
- IStatus status = jtmc.execute( monitor, null);
- if (status.getSeverity() == Status.ERROR) return status;
-
- proxyModel = jtmc.getJavaDataModel();
- return status;
- }
-
- public void setServerTypeID(String sampleServerTypeID)
- {
- this.sampleServerTypeID = sampleServerTypeID;
- }
-
- public void setExistingServer(IServer sampleExistingServer)
- {
- this.sampleExistingServer = sampleExistingServer;
- }
-
- public void setJspFolder(String jspFolder)
- {
- this.jspFolder = jspFolder;
- }
-
- public void setRunClientTest(boolean runClientTest)
- {
- this.runClientTest = runClientTest;
- }
-
- public void setSampleProject(String sampleProject)
- {
- this.sampleProject = sampleProject;
- }
-
- public void setClientProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
- public void setMethods(BooleanSelection[] methods)
- {
- this.methods = methods;
- }
-
- public void setProxyBean(String proxyBean)
- {
- this.proxyBean = proxyBean;
- }
-
- /**
- * @param setEndpointMethod The setEndpointMethod to set.
- */
- public void setSetEndpointMethod(String setEndpointMethod)
- {
- this.setEndpointMethod = setEndpointMethod;
- }
-
- public void setEndpoint(List endpoints)
- {
- this.endpoints = endpoints;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java
deleted file mode 100644
index 59f68f977..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
-
-import org.eclipse.jst.ws.internal.ext.WebServiceExecutable;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
-* This is the interface for objects that represent a kind of
-* Web Service-Server-Runtime artifact. The primary purpose of a WebServiceServerRuntimeType
-* object is to manufacture the wizard pages that support the type, server, and runtime configuration.
-*/
-public class WebServiceWSSampleExecutable implements WebServiceExecutable
-{
-
-
- public AbstractDataModelOperation getFinishCommand()
- {
- return new WSSampleFinishCommand();
- }
-
-}
-
-
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java
deleted file mode 100644
index e19b750e6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jst.ws.internal.ui.uddi.PrivateUDDIRegistryType;
-
-
-public class PrivateUDDIRegistryTypeRegistry
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- private static PrivateUDDIRegistryTypeRegistry instance_;
-
- private PrivateUDDIRegistryTypeRegistry() {
- }
-
- /**
- * Returns a singleton instance of this class.
- * @return A singleton WebServiceClientTypeRegistry object.
- */
- public static PrivateUDDIRegistryTypeRegistry getInstance() {
- if (instance_ == null) {
- instance_ = new PrivateUDDIRegistryTypeRegistry();
- }
-
- return instance_;
- }
-
- public PrivateUDDIRegistryType getPrivateUDDIRegistryType() {
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] config = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui",
- "privateUDDIRegistryType");
-
- try {
- Object configElement = ((config.length > 0) ? config[0].createExecutableExtension("class") : null);
- if(configElement != null && configElement instanceof PrivateUDDIRegistryType)
- return (PrivateUDDIRegistryType)configElement;
- else
- return null;
- }
- catch (CoreException e) {
- return null;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java
deleted file mode 100644
index 0070383df..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryType;
-
-
-public class PublicUDDIRegistryTypeRegistry
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2002.";
-
- private static PublicUDDIRegistryTypeRegistry instance_;
- private Vector types_;
- private Vector configElements_;
-
- private PublicUDDIRegistryTypeRegistry() {
- types_ = new Vector();
- configElements_ = new Vector();
-
- init();
- }
-
- /**
- * Returns a singleton instance of this class.
- * @return A singleton WebServiceClientTypeRegistry object.
- */
- public static PublicUDDIRegistryTypeRegistry getInstance() {
- if (instance_ == null) {
- instance_ = new PublicUDDIRegistryTypeRegistry();
- }
-
- return instance_;
- }
-
- public void init() {
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] config = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui",
- "publicUDDIRegistryType");
-
- for (int i = 0; i < config.length; i++) {
- try {
- Object configElement = config[i].createExecutableExtension("class");
-
- if( configElement instanceof PublicUDDIRegistryType) {
- types_.add(configElement);
- configElements_.add(config[i]);
- }
- }
- catch (CoreException e) {}
- }
- }
-
- public PublicUDDIRegistryType[] getAllPublicUDDIRegistryTypes() {
- PublicUDDIRegistryType[] types = new PublicUDDIRegistryType[types_.size()];
- for (int i = 0; i < types_.size(); i++) {
- types[i] = (PublicUDDIRegistryType)types_.elementAt(i);
- }
- return types;
- }
-
- public PublicUDDIRegistryType getPublicUDDIRegistryTypeByID(String id) {
- for (int i = 0; i < configElements_.size(); i++) {
- IConfigurationElement c = (IConfigurationElement)configElements_.elementAt(i);
- if (c.getAttribute("id").equals(id))
- return (PublicUDDIRegistryType)types_.elementAt(i);
- }
- return null;
- }
-
- public String getPublicUDDIRegistryTypeIDByName(String name) {
- for (int i = 0; i < types_.size(); i++) {
- PublicUDDIRegistryType type = (PublicUDDIRegistryType)types_.elementAt(i);
- if (type.getName().equals(name))
- return ((IConfigurationElement)configElements_.elementAt(i)).getAttribute("id");
- }
- return null;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java
deleted file mode 100644
index 206f597ff..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java
+++ /dev/null
@@ -1,751 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060327 131605 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060717 150577 makandre@ca.ibm.com - Andrew Mak
- * 20060726 150865 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060726 150867 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060728 151723 mahutch@ca.ibm.com - Mark Hutchinson
- * 20060802 148731 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wizard;
-
-import java.util.Arrays;
-import java.util.Comparator;
-import java.util.Hashtable;
-import java.util.Vector;
-
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.swt.widgets.TreeItem;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-import org.eclipse.wst.server.core.IRuntimeType;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.ui.ServerUICore;
-
-public class RuntimeServerSelectionDialog extends Dialog implements Listener {
-
- private Shell thisShell;
- private Group viewSelectionGroup_;
- private Text messageBanner_;
- private Composite primaryGroup_;
- private Group runtimesGroup_;
- private Group serversGroup_;
- private Tree runtimesList_;
- private Tree serverList_;
- private Button viewSelectionByRuntimeButton_;
- private Button viewSelectionByServerButton_;
- private Button viewSelectionByExploreButton_;
- private ILabelProvider labelProvider_;
- private Image serverTypesIcon;
- private Image existingServersIcon;
-
- /*
- * CONTEXT_ID PWRS0001 for the selection of runtime, server and project combination
- */
- private String INFOPOP_PWRS_DIALOG = WebServiceConsumptionUIPlugin.ID + ".PWRS0001";
- /* CONTEXT_ID PWRS0002 for the runtime selection on in the dailog */
- private String INFOPOP_PWRS_LIST_RUNTIMES = WebServiceConsumptionUIPlugin.ID + ".PWRS0002";
- /* CONTEXT_ID PWRS0003 for the server selection in the dialog */
- private String INFOPOP_PWRS_LIST_SERVERS = WebServiceConsumptionUIPlugin.ID + ".PWRS0003";
- /*
- * CONTEXT_ID PWRS0004 for the EJB Project combo box of the runtime selection dialog
- */
- // private String INFOPOP_PWRS_EJB_PROJECT = WebServiceConsumptionUIPlugin.ID
- // + ".PWRS0004";
- /*
- * CONTEXT_ID PWRS0005 for the runtime view radio button of the runtime selection dialog
- */
- private String INFOPOP_PWRS_RADIO_RUNTIME = WebServiceConsumptionUIPlugin.ID + ".PWRS0005";
- /*
- * CONTEXT_ID PWRS0006 for the server view radio button of the runtime selection dialog
- */
- private String INFOPOP_PWRS_RADIO_SERVER = WebServiceConsumptionUIPlugin.ID + ".PWRS0006";
- /*
- * CONTEXT_ID PWRS0007 for the explore view radio button of the runtime selection dialog
- */
- private String INFOPOP_PWRS_RADIO_EXPLORE = WebServiceConsumptionUIPlugin.ID + ".PWRS0007";
- private Hashtable serverLabels_;
- private Hashtable existingServersTable_;
- private String defaultServer_;
- private String defaultRuntime_;
- private String typeId_;
-
- private RuntimeDescriptor selectedRuntime_;
-
- private IServer selectedServer_;
- private String selectedServerLabel_;
- private String selectedServerFactoryID_;
- private boolean isExistingServer_;
- private boolean validateOn_ = false;
- private byte selectionMode_;
- private final byte MODE_SERVICE = (byte) 0;
- private final String SERVER_TYPES_ICON = "icons/servers/servers_obj.gif";
- private final String EXISTING_SERVERS_ICON = "icons/servers/existing_server_obj.gif";
- private String serverInstanceID_;
-
- private boolean selectServerFirst_ = false;
-
- public RuntimeServerSelectionDialog(Shell shell, byte mode, TypeRuntimeServer ids, String j2eeVersion) {
- super(shell);
- selectionMode_ = mode;
- typeId_ = ids.getTypeId();
- defaultRuntime_ = ids.getRuntimeId();
- defaultServer_ = ids.getServerId();
- serverInstanceID_ = ids.getServerInstanceId();
- setIsExistingServer(ids.getServerInstanceId() != null);
- serverLabels_ = new Hashtable();
- existingServersTable_ = new Hashtable();
- labelProvider_ = ServerUICore.getLabelProvider();
- }
-
- public void setSelectServerFirst(boolean selectServerFirst) {
- selectServerFirst_ = selectServerFirst;
- }
-
- protected Point getInitialSize()
- {
- return this.getShell().computeSize(550, SWT.DEFAULT, true);
- }
-
- public TypeRuntimeServer getTypeRuntimeServer() {
- TypeRuntimeServer ids = new TypeRuntimeServer();
-
- ids.setTypeId(typeId_);
- if (selectedRuntime_ != null)
- ids.setRuntimeId(selectedRuntime_.getId());
-
- if( selectedServerFactoryID_ == null )
- {
- ids.setServerId( defaultServer_ );
- ids.setServerInstanceId( serverInstanceID_ );
- }
- else
- {
- ids.setServerId(selectedServerFactoryID_);
-
- if (isExistingServer_ && selectedServer_ != null)
- {
- ids.setServerInstanceId(selectedServer_.getId());
- }
- }
-
- return ids;
- }
-
- private boolean getIsExistingServer() {
- return isExistingServer_;
- }
-
- private void setIsExistingServer(boolean isExisting) {
- isExistingServer_ = isExisting;
- }
-
- protected Control createContents(Composite parent) {
- Composite comp = (Composite) super.createContents(parent);
- comp.pack();
-
- if (selectServerFirst_) {
- viewSelectionByServerButton_.setSelection(true);
- handleServerViewSelectionEvent();
- }
- else
- viewSelectionByRuntimeButton_.setSelection(true);
-
- return comp;
- }
-
- protected void setShellStyle(int newShellStyle)
- {
- super.setShellStyle( newShellStyle | SWT.RESIZE );
- }
-
- protected Control createDialogArea(Composite parent) {
- validateOn_ = false;
- thisShell = parent.getShell();
- if (thisShell == null) {
- thisShell = createShell();
- }
- Composite composite = (Composite) super.createDialogArea(parent);
- GridLayout gl;
- GridData gd;
- // Window title
- if (selectionMode_ == MODE_SERVICE)
- thisShell.setText(ConsumptionUIMessages.PAGE_TITLE_WS_RUNTIME_SELECTION);
- else
- thisShell.setText(ConsumptionUIMessages.PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION);
-
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
-
- helpSystem.setHelp(thisShell, INFOPOP_PWRS_DIALOG);
- // Dialog description banner
- messageBanner_ = new Text(composite, SWT.READ_ONLY | SWT.WRAP);
- messageBanner_.setText(ConsumptionUIMessages.PAGE_DESC_WS_RUNTIME_SELECTION + "\n" + " "); // reserves a second line for message display
- messageBanner_.setToolTipText(ConsumptionUIMessages.PAGE_DESC_WS_RUNTIME_SELECTION);
- gd = new GridData(GridData.FILL_HORIZONTAL);
- messageBanner_.setLayoutData(gd);
- // -----------------------------------------------------------------------//
- new Label(composite, SWT.HORIZONTAL);
- // -----------------------------------------------------------------------//
- // Selection
- thisShell.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_PAGE);
- viewSelectionGroup_ = new Group(composite, SWT.NONE);
- gl = new GridLayout();
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- viewSelectionGroup_.setLayout(gl);
- gd = new GridData(GridData.FILL_HORIZONTAL);
- viewSelectionGroup_.setLayoutData(gd);
- if (selectionMode_ == MODE_SERVICE)
- viewSelectionGroup_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_TITLE);
- else
- viewSelectionGroup_.setText(ConsumptionUIMessages.LABEL_CLIENT_SELECTION_VIEW_TITLE);
- viewSelectionByServerButton_ = new Button(viewSelectionGroup_, SWT.RADIO);
- viewSelectionByServerButton_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_SERVER);
- viewSelectionByServerButton_.addListener(SWT.Selection, this);
- viewSelectionByServerButton_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_RADIO_SERVER);
- helpSystem.setHelp(viewSelectionByServerButton_, INFOPOP_PWRS_RADIO_SERVER);
- viewSelectionByRuntimeButton_ = new Button(viewSelectionGroup_, SWT.RADIO);
- viewSelectionByRuntimeButton_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_RUNTIME);
- viewSelectionByRuntimeButton_.addListener(SWT.Selection, this);
- viewSelectionByRuntimeButton_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_RADIO_RUNTIME);
- helpSystem.setHelp(viewSelectionByRuntimeButton_, INFOPOP_PWRS_RADIO_RUNTIME);
- viewSelectionByExploreButton_ = new Button(viewSelectionGroup_, SWT.RADIO);
- viewSelectionByExploreButton_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_EXPLORE);
- viewSelectionByExploreButton_.addListener(SWT.Selection, this);
- viewSelectionByExploreButton_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_RADIO_EXPLORE);
- helpSystem.setHelp(viewSelectionByExploreButton_, INFOPOP_PWRS_RADIO_EXPLORE);
- primaryGroup_ = new Composite(composite, SWT.NONE);
- gl = new GridLayout();
- gl.numColumns = 1;
- gl.makeColumnsEqualWidth = true;
- gd = new GridData(GridData.FILL_BOTH);
- primaryGroup_.setLayout(gl);
- primaryGroup_.setLayoutData(gd);
- runtimesGroup_ = new Group(primaryGroup_, SWT.NONE);
- gl = new GridLayout();
- runtimesGroup_.setLayout(gl);
- gd = new GridData(GridData.FILL_BOTH);
- runtimesGroup_.setLayoutData(gd);
- runtimesGroup_.setText(ConsumptionUIMessages.LABEL_RUNTIMES_LIST);
- runtimesList_ = new Tree(runtimesGroup_, SWT.SINGLE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- gd = new GridData(GridData.FILL_BOTH);
- runtimesList_.setLayoutData(gd);
- runtimesList_.addListener(SWT.Selection, this);
- runtimesList_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_LIST_RUNTIMES);
- helpSystem.setHelp(runtimesList_, INFOPOP_PWRS_LIST_RUNTIMES);
- // Server labels control
- serversGroup_ = new Group(primaryGroup_, SWT.NONE);
- gl = new GridLayout();
- serversGroup_.setLayout(gl);
- gd = new GridData(GridData.FILL_BOTH);
- serversGroup_.setLayoutData(gd);
- serversGroup_.setText(ConsumptionUIMessages.LABEL_SERVERS_LIST);
- serverList_ = new Tree(serversGroup_, SWT.SINGLE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- serverList_.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL));
- serverList_.addListener(SWT.Selection, this);
- serverList_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_LIST_SERVERS);
- ServersList serverList = new ServersList();
- serverList.setServerTreeItems(serverList_);
- helpSystem.setHelp(serverList_, INFOPOP_PWRS_LIST_SERVERS);
- setRuntimesGroup();
- // -----------------------------------------------------------------------//
- new Label(composite, SWT.HORIZONTAL);
- validateOn_ = true;
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(parent);
- return composite;
- }
-
-
- private void validateServerRuntimeSelection() {
-
- if (selectionMode_ == MODE_SERVICE) {
- if (selectedServerFactoryID_ != null && selectedRuntime_ != null)
- {
-
- if (WebServiceRuntimeExtensionUtils2.isServerRuntimeTypeSupported(selectedServerFactoryID_, selectedRuntime_.getId(),
- typeId_))
- {
- setOKStatusMessage();
- } else
- {
- String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(selectedServerFactoryID_);
- String runtimeLabel = selectedRuntime_.getLabel();
- setERRORStatusMessage(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
- runtimeLabel }));
- // Found an error - so return.
- return;
- }
- }
- }
- else {
-
- if (selectedServerFactoryID_ != null && selectedRuntime_ != null)
- {
- String clientId = typeId_;
- if (WebServiceRuntimeExtensionUtils2.isServerClientRuntimeTypeSupported(selectedServerFactoryID_, selectedRuntime_
- .getId(), clientId))
- {
- setOKStatusMessage();
- } else
- {
- String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(selectedServerFactoryID_);
- String runtimeLabel = selectedRuntime_.getLabel();
- setERRORStatusMessage(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
- runtimeLabel }));
-
- // Found an error - so return.
- return;
- }
- }
- }
- // Disable OK button if the runtime selection is invalid
- TreeItem[] runtimeSel = runtimesList_.getSelection();
- if (runtimeSel == null || runtimeSel.length <= 0 || runtimeSel[0].getText().length() == 0) {
- disableOKButton();
- }
- // Disable OK button if server selection is invalid
- TreeItem[] serverSel = serverList_.getSelection();
- String currentSelection = (serverSel != null && serverSel.length > 0) ? serverSel[0].getText() : "";
- if (serverSel == null || currentSelection.length() == 0) {
- disableOKButton();
- }
- if (!serverLabels_.containsKey(currentSelection) || !existingServersTable_.containsKey(currentSelection)) {
- disableOKButton();
- setOKStatusMessage();
- }
- // Disable OK button if category is selected rather than a server
- if (serverSel.length > 0 && serverSel[0].getItemCount()!=0) {
- disableOKButton();
- }
- else {
- enableOKButton();
- }
-
- }
-
- private void setOKStatusMessage() {
- messageBanner_.setText(ConsumptionUIMessages.PAGE_DESC_WS_RUNTIME_SELECTION);
- messageBanner_.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_BLACK));
- enableOKButton();
- }
-
- private void setERRORStatusMessage(String message) {
- messageBanner_.setText(message);
- messageBanner_.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_RED));
- disableOKButton();
- }
-
- private void disableOKButton() {
- if (getButton(0) != null)
- getButton(0).setEnabled(false);
- }
-
- private void enableOKButton() {
- if (getButton(0) != null)
- getButton(0).setEnabled(true);
- }
-
- protected void okPressed() {
- if (labelProvider_!=null)
- labelProvider_.dispose();
- if (existingServersIcon!=null)
- existingServersIcon.dispose();
- if (serverTypesIcon!=null)
- serverTypesIcon.dispose();
- setReturnCode(OK);
- close();
- }
-
- protected void cancelPressed() {
- if (labelProvider_!=null)
- labelProvider_.dispose();
- if (existingServersIcon!=null)
- existingServersIcon.dispose();
- if (serverTypesIcon!=null)
- serverTypesIcon.dispose();
- setReturnCode(CANCEL);
- close();
- }
-
- /**
- * Called when an event occurs on the page. Handles the event and revalidates the page.
- *
- * @param event
- * The event that occured.
- */
- public void handleEvent(Event event) {
- if (!validateOn_)
- return;
- enableOKButton();
- if (viewSelectionByRuntimeButton_ == event.widget) {
- handleRuntimeViewSelectionEvent();
- return;
- }
- else if (viewSelectionByServerButton_ == event.widget) {
- handleServerViewSelectionEvent();
- return;
- }
- else if (viewSelectionByExploreButton_ == event.widget) {
- handleExploreViewSelectionEvent();
- return;
- }
- else if (runtimesList_ == event.widget) {
- TreeItem[] runtimeSel = runtimesList_.getSelection();
- processRuntimeListSelection(runtimeSel[0].getText());
- validateServerRuntimeSelection();
- }
- else if (serverList_ == event.widget) {
- processServerListSelection();
- validateServerRuntimeSelection();
- }
- }
-
- private void handleRuntimeViewSelectionEvent() {
- GridLayout gl = new GridLayout();
- gl.numColumns = 1;
- gl.makeColumnsEqualWidth = true;
- GridData gd = new GridData(GridData.FILL_BOTH);
- primaryGroup_.setLayout(gl);
- primaryGroup_.setLayoutData(gd);
- runtimesGroup_.moveAbove(serversGroup_);
- primaryGroup_.layout();
-
- // TODO: Show all runtimes, and only servers supported by current type id
- }
-
- //
- // Called by handleEvent() when the user selects the layout to view
- //
- public void handleServerViewSelectionEvent() {
- GridLayout gl = new GridLayout();
- gl.numColumns = 1;
- gl.makeColumnsEqualWidth = true;
- GridData gd = new GridData(GridData.FILL_BOTH);
- primaryGroup_.setLayout(gl);
- primaryGroup_.setLayoutData(gd);
- serversGroup_.moveAbove(runtimesGroup_);
- primaryGroup_.layout();
-
- // TODO: Show all servers, and only runtimes supported by the current type id
- }
-
- //
- // Called by handleEvent() when the user selects the layout to view
- //
- private void handleExploreViewSelectionEvent() {
- GridLayout gl;
- gl = (GridLayout) primaryGroup_.getLayout();
- gl.numColumns = 2;
- gl.makeColumnsEqualWidth = true;
- GridData gd = new GridData(GridData.FILL_BOTH);
- primaryGroup_.setLayout(gl);
- primaryGroup_.setLayoutData(gd);
- runtimesGroup_.moveAbove(serversGroup_);
- primaryGroup_.layout();
-
- // TODO: Show all servers and runtimes from the type id
-
- }
-
- private void processRuntimeListSelection(String runtimeName) {
-
- if (selectionMode_ == MODE_SERVICE) {
- selectedRuntime_ = WebServiceRuntimeExtensionUtils2.getRuntimeByLabel(runtimeName);
- }
- else {
- selectedRuntime_ = WebServiceRuntimeExtensionUtils2.getRuntimeByLabel(runtimeName);
- }
- }
-
- private void processServerListSelection() {
- String currentSelection;
- TreeItem[] serverSel = serverList_.getSelection();
- if (serverSel != null && serverSel.length > 0) {
- currentSelection = serverSel[0].getText();
- if (serverLabels_.containsKey(currentSelection) || existingServersTable_.containsKey(currentSelection)) {
- if (existingServersTable_.containsKey(currentSelection)) {
- selectedServer_ = (IServer) existingServersTable_.get(currentSelection);
- selectedServerLabel_ = currentSelection;
- selectedServerFactoryID_ = selectedServer_.getServerType().getId();
- }
- else if (serverLabels_.containsKey(currentSelection)) {
- TreeItem parentItem = serverSel[0].getParentItem();
- if (parentItem != null && !parentItem.getText().equalsIgnoreCase(ConsumptionUIMessages.LABEL_TREE_EXISTING_SERVERS)) {
- selectedServerLabel_ = currentSelection;
- selectedServer_ = null;
- selectedServerFactoryID_ = (String) serverLabels_.get(currentSelection);
- }
- }
-
- // check if isExistingServer or new ServerType
- TreeItem parentItem = serverSel[0].getParentItem();
- if (parentItem != null && parentItem.getText().equalsIgnoreCase(ConsumptionUIMessages.LABEL_TREE_EXISTING_SERVERS)) {
- setIsExistingServer(true);
- }
- else {
- setIsExistingServer(false);
- }
- }
- else {
- selectedServer_ = null;
- selectedServerLabel_ = null;
- selectedServerFactoryID_ = null;
- setIsExistingServer(false);
- return;
- }
- }
- }
-
-// private static String getMessage(String key) {
-// return WebServiceConsumptionUIPlugin.getMessage(key);
-// }
-
- private void setRuntimesGroup() {
- runtimesList_.removeAll();
- String[] runtimes = null;
-
- if (selectionMode_ == MODE_SERVICE) {
- runtimes = WebServiceRuntimeExtensionUtils2.getRuntimesByServiceType(typeId_);
- }
- else {
- runtimes = WebServiceRuntimeExtensionUtils2.getRuntimesByClientType(typeId_);
- }
-
- //sort the runtimes based on the runtime name (bug 151723)
- Comparator comparator = new RuntimeNameComparator();
- Arrays.sort(runtimes, comparator);
-
- TreeItem[] runtimeName = new TreeItem[runtimes.length];
-
- if (runtimes != null) {
- for (int i = 0; i < runtimes.length; i++) {
- String runtimeLabel = getRuntimeLabel(runtimes[i]);
- runtimeName[i] = new TreeItem(runtimesList_, SWT.NONE);
- runtimeName[i].setText(runtimeLabel);
-
- if (runtimes[i].equalsIgnoreCase(defaultRuntime_)) {
- runtimesList_.setSelection(new TreeItem[] { runtimeName[i]});
- selectedRuntime_ = getRuntime(runtimes[i]);
- }
- }
- }
- }
-
- private class RuntimeNameComparator implements Comparator
- {
- public RuntimeNameComparator()
- {
- }
- //Compare to runtime ID strings by their labels. Used for sorting.
- public int compare(Object item1, Object item2) {
- try {
- String runtime1 = (String)item1;
- String runtime2 = (String)item2;
-
- return getRuntimeLabel(runtime1).compareToIgnoreCase(getRuntimeLabel(runtime2));
- }
- catch (Exception e)
- { //Just in case of class cast exception or NPE. should never happen
- }
- return 0;
- }
- }
-
- private String getRuntimeLabel(String type) {
- return getRuntime(type).getLabel();
- }
-
- private RuntimeDescriptor getRuntime(String type) {
- if (selectionMode_ == MODE_SERVICE) {
- return WebServiceRuntimeExtensionUtils2.getRuntimeById(type);
- }
- else {
- return WebServiceRuntimeExtensionUtils2.getRuntimeById(type);
- }
- }
-
- /**
- *
- * ServersList class
- *
- * Class which easily creates the Tree structure and entries for existing servers and server types
- */
- public class ServersList {
-
- private TreeItem[] existingServersTree;
- boolean existingServer = false;
-
- public void setServerTreeItems(Tree serversList) {
- this.setExistingServersTree(serversList);
- this.setServerTypesTree(serversList);
- }
-
- public void setExistingServersTree(Tree serverList) {
- String[] serverIds = this.getAllExistingServers();
- existingServersTree = new TreeItem[1];
- TreeItem[] existingServerItems = new TreeItem[serverIds.length];
- existingServersTree[0] = new TreeItem(serverList, SWT.NONE);
- existingServersTree[0].setText(ConsumptionUIMessages.LABEL_TREE_EXISTING_SERVERS);
- ImageDescriptor id = WebServiceConsumptionUIPlugin.getImageDescriptor(EXISTING_SERVERS_ICON);
- if (id != null) {
- existingServersIcon = id.createImage();
- existingServersTree[0].setImage(existingServersIcon);
- }
- for (int k = 0; k < serverIds.length; k++) {
- IServerType serverType = ServerCore.findServerType(((IServer) existingServersTable_.get(serverIds[k])).getServerType().getId());
- if (serverType != null) {
- existingServerItems[k] = new TreeItem(existingServersTree[0], SWT.NONE);
- existingServerItems[k].setText(serverIds[k]);
- if (serverIds[k].equalsIgnoreCase(defaultServer_) && getIsExistingServer()) {
- existingServersTree[0].setExpanded(true);
- serverList.setSelection(new TreeItem[] { existingServerItems[k]});
- existingServer = true;
- RuntimeServerSelectionDialog.this.setIsExistingServer(true);
- selectedServer_ = (IServer) existingServersTable_.get(defaultServer_);
- selectedServerLabel_ = serverIds[k];
- selectedServerFactoryID_ = selectedServer_.getServerType().getId();
- }
- existingServerItems[k].setImage(labelProvider_.getImage(serverType));
- }
- }
- }
-
- public void setServerTypesTree(Tree serverList) {
-
- TreeItem[] serverTypesTree = new TreeItem[1];
- serverTypesTree[0] = new TreeItem(serverList, SWT.NONE);
- serverTypesTree[0].setText(ConsumptionUIMessages.LABEL_TREE_SERVER_TYPES);
- ImageDescriptor id = WebServiceConsumptionUIPlugin.getImageDescriptor(SERVER_TYPES_ICON);
- if (id != null) {
- serverTypesIcon = id.createImage();
- serverTypesTree[0].setImage(serverTypesIcon);
- }
- Hashtable categories_ = new Hashtable();
- Hashtable categoryTreeItem = new Hashtable();
- String[] serverIds = null;
- // rm String wst = wse.getWebServiceType();
- if (selectionMode_ == MODE_SERVICE) {
- serverIds = WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByServiceType(typeId_);
- }
- else {
- serverIds = WebServiceRuntimeExtensionUtils2.getAllClientServerFactoryIds();
- }
- // rm serverId =
- // wssrtRegistry.getServerFactoryIdsByType(wse.getWebServiceType());
- if (serverIds == null) {
- serverIds = getAllServerTypes();
- }
- TreeItem[] parent = new TreeItem[serverIds.length];
- TreeItem[] item = new TreeItem[serverIds.length];
- if (serverIds != null) {
- for (int i = 0; i < serverIds.length; i++) {
- String server = ServerUtils.getInstance().getServerLabelForId(serverIds[i]);
- if (server != null) {
- RuntimeServerSelectionDialog.this.serverLabels_.put(server, serverIds[i]);
- IServerType serverType = ServerCore.findServerType(serverIds[i]);
- IRuntimeType runtimeType = serverType.getRuntimeType();
- if (!categories_.containsKey(serverType) && runtimeType != null) {
- categories_.put(serverType, runtimeType);
- if (categoryTreeItem.get(runtimeType) == null) {
- String categoryText = runtimeType.getName();
- Image categoryImage = labelProvider_.getImage(runtimeType);
- parent[i] = new TreeItem(serverTypesTree[0], SWT.NONE);
- parent[i].setText(categoryText);
- parent[i].setImage(categoryImage);
- categoryTreeItem.put(runtimeType, parent[i]);
- }
- else {
- parent[i] = (TreeItem) categoryTreeItem.get(runtimeType);
- }
- String factoryText = serverType.getName();
- Image factoryImage = labelProvider_.getImage(serverType);
- item[i] = new TreeItem(parent[i], SWT.NONE);
- item[i].setText(factoryText);
- item[i].setImage(factoryImage);
- item[i].setData(serverType);
- if (factoryText.equalsIgnoreCase(defaultServer_) && !existingServer) {
- serverList.setSelection(new TreeItem[] { item[i]});
- selectedServer_ = null;
- selectedServerLabel_ = factoryText;
- selectedServerFactoryID_ = (String) serverLabels_.get(selectedServerLabel_);
- }
- }
- }
- }
- }
-
- }
-
- /**
- * Get all servers in the workspace
- *
- * @return String[] of existing server names
- */
- private String[] getAllExistingServers() {
- Vector serverIds = new Vector();
- {
- IServer[] servers = ServerCore.getServers();
- if (servers != null && servers.length!=0) {
- for (int i = 0; i < servers.length; i++) {
- IServer server = (IServer) servers[i];
- serverIds.add(server.getName());
- existingServersTable_.put(server.getName(), server);
- }
- }
- }
- return (String[]) serverIds.toArray(new String[serverIds.size()]);
- }
-
- /**
- * Get all server types available for creation
- *
- * @return String[] of server names
- */
- private String[] getAllServerTypes() {
- Vector serverTypes_ = new Vector();
- IServerType[] defaultServersList = ServerCore.getServerTypes();
- for (int i = 0; i < defaultServersList.length; i++) {
- IServerType serverType = (IServerType) defaultServersList[i];
- serverTypes_.add(serverType.getId());
- }
- return (String[]) serverTypes_.toArray(new String[serverTypes_.size()]);
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java
deleted file mode 100644
index f362fd288..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060606 105045 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-
-public class TypeSelectionFilter2
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- public String[] getWebServiceTypeByInitialSelection(IStructuredSelection initialSelection, ArrayList webServiceTypeList)
- {
-
- ArrayList supportedTypes = new ArrayList();
- if (initialSelection != null && initialSelection.size() == 1)
- {
-
- // Check for null initial selection
- Object initialObject = initialSelection.getFirstElement();
- if (initialObject == null)
- {
- return null;
- }
- // Match up resource type metadata with initial selection
- Iterator iter = webServiceTypeList.iterator();
- while (iter.hasNext())
- {
- String wst = (String)iter.next();
- String scenario = wst.substring(0,wst.indexOf("/"));
- String implId = wst.substring(wst.indexOf("/")+1);
- //IWebServiceType wst = (IWebServiceType)iter.next();
- //String typeId = (String)wst.getId();
- if (scenario.equals(String.valueOf(WebServiceScenario.BOTTOMUP)) && !supportedTypes.contains(wst))
- {
-
-
- WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
- String[] resourceTypes = wsimpl.getResourceTypeMetadata();
- for (int i=0; i<resourceTypes.length; i++)
- {
- if (resourceTypes[i]!=null)
- {
- if ((initialObject.getClass().getName()).endsWith(resourceTypes[i]))
- {
- String name = null;
- IResource resource = null;
-
- try
- {
- resource = ResourceUtils.getResourceFromSelection(initialObject);
- }
- catch( CoreException exc )
- {
- resource = null;
- }
-
- if (resource instanceof IContainer)
- {
- name = initialObject.getClass().getName();
- }
- else if( resource != null )
- {
- name = resource.getFullPath().toString();
- }
- else
- {
- name = initialObject.getClass().getName();
- }
- String[] extensions = wsimpl.getExtensionMetadata();
- if (acceptsName(name, extensions))
- {
- supportedTypes.add(wst);
- }
- }
-
- }
- }
- }
- }
-
- //If no wsImpls have accepted this selection, check if this is WSDL. If it is,
- //add the top-down Java service type to the list.
- if (supportedTypes.isEmpty())
- {
- String[] resourceTypes = {"File", "IResource", "String", "ServiceImpl", "ServiceRefImpl", "WSDLResourceImpl"};
- for (int i=0; i<resourceTypes.length; i++)
- {
- if (resourceTypes[i]!=null)
- {
- if ((initialObject.getClass().getName()).endsWith(resourceTypes[i]))
- {
- String name = null;
- IResource resource = null;
-
- try
- {
- resource = ResourceUtils.getResourceFromSelection(initialObject);
- }
- catch( CoreException exc )
- {
- resource = null;
- }
-
- if (resource instanceof IContainer)
- {
- name = initialObject.getClass().getName();
- }
- else if( resource != null )
- {
- name = resource.getFullPath().toString();
- }
- else if (initialObject instanceof String)
- { //the initialObject could be a path name that is a string
- //bug 105045
- name = (String)initialObject;
- }
- else
- {
- name = initialObject.getClass().getName();
- }
-
- String[] extensions = {".wsdl", ".wsil", ".html", ".ServiceImpl", ".ServiceRefImpl", ".WSDLResourceImpl"};
- if (acceptsName(name, extensions))
- {
- StringBuffer entrybuff = new StringBuffer();
- entrybuff.append(String.valueOf(WebServiceScenario.TOPDOWN));
- entrybuff.append("/");
- entrybuff.append("org.eclipse.jst.ws.wsImpl.java");
- String entry = entrybuff.toString();
- supportedTypes.add(entry);
- }
- }
-
- }
- }
- }
-
- }
-
-
-
- if (supportedTypes.isEmpty())
- {
- //It's not a registered implementation and its not WSDL so return null;
- return null;
- }
- else
- {
- return (String[])supportedTypes.toArray(new String[0]);
- }
- }
- //
- // Checks if the given name is acceptable based upon its extension
- //
- private boolean acceptsName ( String name, String[] extensions)
- {
- //Return true if "all" extensions are supported.
-
- if (extensions[0]!=null)
- {
- if (extensions[0].equals("all"))
- {
- return true;
- }
- }
-
- for (int i=0; i<extensions.length; i++)
- {
- if (extensions[i]!=null)
- {
- if (name.endsWith(extensions[i]))
- return true;
- }
- }
- return false;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java
deleted file mode 100644
index 8275acc8c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard;
-
-import com.ibm.icu.util.StringTokenizer;
-
-
- //
- // This class holds the set of distinguishing factors in determining
- // the default Web service type. The default Web Service type will be determined
- // by pattern matching the initial selection with the supported extension
- // and the resource type metadata specified in the manifest file.
- //
- public class TypeSelectionMetadata
- {
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- public String[] extensionMeta;
- public String[] resourceTypeMeta;
-
- public TypeSelectionMetadata(String extensionMD, String resourceTypeMD)
- {
- setExtensionMetadata(extensionMD);
- setResourceTypeMetadata(resourceTypeMD);
- }
-
- public void setExtensionMetadata(String extensionMetadata)
- {
- StringTokenizer st = new StringTokenizer(extensionMetadata);
- extensionMeta = new String[st.countTokens()];
- int i=0;
- while (st.hasMoreElements())
- {
- String exten = (String)st.nextToken();
- if (exten!=null)
- {
- extensionMeta[i]=exten;
- }
- i++;
- }
-
- }
-
- public String[] getExtensionMetadata()
- {
- return extensionMeta;
- }
-
- public void setResourceTypeMetadata(String resourceTypeMetadata)
- {
- StringTokenizer st = new StringTokenizer(resourceTypeMetadata);
- resourceTypeMeta = new String[st.countTokens()];
- int i=0;
- while (st.hasMoreElements())
- {
- String resourceType = (String)st.nextToken();
- if (resourceType!=null)
- {
- resourceTypeMeta[i]=resourceType;
- }
- i++;
- }
- }
-
- public String[] getResourceTypeMetadata()
- {
- return resourceTypeMeta;
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java
deleted file mode 100644
index 64bc552ba..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard;
-
-
-/**
-* This type is used to hold user or calculated
-* data to be use by finsih tasks
-*/
-public interface WebServiceInfo
-{
-
-}
-
-
-
-
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java
deleted file mode 100644
index 26e14b4b1..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
-
-import org.eclipse.wst.ws.parser.PluginMessages;
-
-public class PublicUDDIRegistryNTTComm implements PublicUDDIRegistryType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2002.";
-
- public PublicUDDIRegistryNTTComm() {
- }
-
- public String getName() {
- return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM;
- }
-
- public String getInquiryURL() {
- return "http://www.uddi.ne.jp/ubr/inquiryapi";
- }
-
- public String getPublishURL() {
- return "https://www.uddi.ne.jp/ubr/publishapi";
- }
-
- public String getRegistrationURL() {
- return "http://www.ntt.com/uddi/";
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java
deleted file mode 100644
index 1ad68fe4a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
-
-import org.eclipse.wst.ws.parser.PluginMessages;
-
-public class PublicUDDIRegistrySAP implements PublicUDDIRegistryType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2002.";
-
- public PublicUDDIRegistrySAP() {
- }
-
- public String getName() {
- return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_SAP;
- }
-
- public String getInquiryURL() {
- return "http://uddi.sap.com/UDDI/api/inquiry/";
- }
-
- public String getPublishURL() {
- return "https://uddi.sap.com/UDDI/api/publish/";
- }
-
- public String getRegistrationURL() {
- return "http://uddi.sap.com/";
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java
deleted file mode 100644
index 5fad14824..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
-
-import org.eclipse.wst.ws.parser.PluginMessages;
-
-public class PublicUDDIRegistrySAPTest implements PublicUDDIRegistryType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2002.";
-
- public PublicUDDIRegistrySAPTest() {
- }
-
- public String getName() {
- return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST;
- }
-
- public String getInquiryURL() {
- return "http://udditest.sap.com/UDDI/api/inquiry/";
- }
-
- public String getPublishURL() {
- return "https://udditest.sap.com/UDDI/api/publish/";
- }
-
- public String getRegistrationURL() {
- return "http://udditest.sap.com/";
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java
deleted file mode 100644
index e4d9e6589..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
-
-public interface PublicUDDIRegistryType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2002.";
-
- public String getName();
- public String getInquiryURL();
- public String getPublishURL();
- public String getRegistrationURL();
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java
deleted file mode 100644
index 8e7bde35a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
-
-import org.eclipse.wst.ws.parser.PluginMessages;
-
-public class PublicUDDIRegistryXMethods implements PublicUDDIRegistryType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2002.";
-
- public PublicUDDIRegistryXMethods() {
- }
-
- public String getName() {
- return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS;
- }
-
- public String getInquiryURL() {
- //return "http://uddi.xmethods.net/inquire";
- return "http://uddi.xmethods.net/inquire2";
- }
-
- // Read-only registry. The publish and registration URLs don't exist.
- public String getPublishURL() {
- return "https://uddi.xmethods.net/publish2";
- }
-
- public String getRegistrationURL() {
- return "http://www.xmethods.net/ve2/Register.po?event=registerOrg";
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java
deleted file mode 100644
index 23193c1a5..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsil;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsil.AddWSDLToWSILCommand;
-
-
-
-public class AddWSDLToWSILWrapperCommand extends AbstractDataModelOperation
-{
- private AddWSDLToWSILCommand command;
- private Arguments args;
-
- public AddWSDLToWSILWrapperCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- if (command == null)
- command = new AddWSDLToWSILCommand();
- if (!args.isEmpty())
- {
- command.setArguments(args.getStringArguments());
- command.setWWWAuthenticationHandler(new DialogWWWAuthentication(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell()));
- command.setEnvironment( env );
- return command.execute( null, null);
- }
- return Status.OK_STATUS;
- }
- /**
- * @param args The args to set.
- */
- public void setArgs(Arguments args)
- {
- this.args = args;
- }
-
- /**
- * @param command The command to set.
- */
- public void setCommand(AddWSDLToWSILCommand command)
- {
- this.command = command;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java
deleted file mode 100644
index 7a177c5a8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsil;
-
-import java.util.Vector;
-
-public class Arguments
-{
- private Vector args_;
-
- public Arguments()
- {
- args_ = new Vector();
- }
-
- public void add(String key, Object value)
- {
- args_.add(key);
- if (value != null)
- args_.add(value);
- }
-
- public void remove(String key)
- {
- int index = args_.indexOf(key);
- if (index >= 0)
- {
- args_.remove(index);
- args_.remove(index+1);
- }
- }
-
- public Object get(String key)
- {
- int index = args_.indexOf(key);
- if (index >= 0)
- return args_.get(index+1);
- else
- return null;
- }
-
- public void clear()
- {
- args_.clear();
- }
-
- public Object[] getArguments()
- {
- Object[] args = new Object[args_.size()];
- args_.copyInto(args);
- return args;
- }
-
- public String[] getStringArguments()
- {
- String[] args = new String[args_.size()];
- for (int i = 0; i < args.length; i++)
- args[i] = args_.get(i).toString();
- return args;
- }
-
- public boolean isEmpty()
- {
- return args_.isEmpty();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java
deleted file mode 100644
index 565c91dc2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsil;
-
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationHandler;
-
-
-public class DialogWWWAuthentication extends Dialog implements WWWAuthenticationHandler
-{
-
- /*CONTEXT_ID DBAS0001 for the HTTP basic authentication user name*/
- private final String INFOPOP_DBAS_USERNAME = WebServiceConsumptionUIPlugin.ID + ".DBAS0001";
-
- /*CONTEXT_ID DBAS0002 for the HTTP basic authentication password*/
- private final String INFOPOP_DBAS_PASSWORD = WebServiceConsumptionUIPlugin.ID + ".DBAS0002";
-
- private String usernameString_;
- private String passwordString_;
-
- private Text username_;
- private Text password_;
-
- private WWWAuthenticationException wwwae_;
-
- public DialogWWWAuthentication(Shell shell)
- {
- super(shell);
- usernameString_ = null;
- passwordString_ = null;
- wwwae_ = null;
- }
-
- /**
- * Called when the Cancel button is pressed.
- */
- protected void cancelPressed()
- {
- usernameString_ = null;
- passwordString_ = null;
- super.cancelPressed();
- }
-
- /**
- * Called when the OK button is pressed.
- */
- protected void okPressed()
- {
- String usernameString = username_.getText();
- usernameString_ = (usernameString.length() > 0) ? usernameString : null;
- String passwordString = password_.getText();
- passwordString_ = (passwordString.length() > 0) ? passwordString : null;
- setReturnCode(Dialog.OK);
- super.okPressed();
- }
-
- /**
- * See {@link org.eclipse.jface.window.Window#configureShell}.
- * @param shell The shell.
- */
- protected void configureShell(Shell shell)
- {
- super.configureShell(shell);
- shell.setText(ConsumptionUIMessages.DIALOG_TITLE_HTTP_BASIC_AUTH);
- }
-
- /**
- * Creates the dialog area.
- * @param parent The parent composite.
- * @return The control area.
- */
- protected Control createDialogArea(Composite parent)
- {
- Composite composite = (Composite)super.createDialogArea(parent);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL);
- gd.widthHint = 400;
- gd.grabExcessVerticalSpace = true;
- gd.grabExcessHorizontalSpace = true;
- composite.setLayoutData(gd);
- GridLayout gl = new GridLayout();
- gl.numColumns = 2;
- gl.verticalSpacing = 15;
- composite.setLayout(gl);
-
- Label label = new Label(composite, SWT.WRAP);
- label.setText(ConsumptionUIMessages.LABEL_URL);
- label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- label = new Label(composite, SWT.WRAP);
- label.setText(wwwae_.getURL());
- label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
- label = new Label(composite, SWT.WRAP);
- label.setText(ConsumptionUIMessages.LABEL_HTTP_BASIC_AUTH_USERNAME);
- label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- username_ = new Text(composite, SWT.BORDER);
- username_.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- username_.setToolTipText(ConsumptionUIMessages.TOOLTIP_HTTP_BASIC_AUTH_USERNAME);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(username_, INFOPOP_DBAS_USERNAME);
-
- label = new Label(composite, SWT.WRAP);
- label.setText(ConsumptionUIMessages.LABEL_HTTP_BASIC_AUTH_PASSWORD);
- label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- password_ = new Text(composite, SWT.BORDER);
- password_.setEchoChar('*');
- password_.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- password_.setToolTipText(ConsumptionUIMessages.TOOLTIP_HTTP_BASIC_AUTH_PASSWORD);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(username_, INFOPOP_DBAS_PASSWORD);
-
- return composite;
- }
-
- public void handleWWWAuthentication(WWWAuthenticationException wwwae)
- {
- usernameString_ = null;
- passwordString_ = null;
- wwwae_ = wwwae;
- open();
- }
-
- public String getUsername()
- {
- return usernameString_;
- }
-
- public String getPassword()
- {
- return passwordString_;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java
deleted file mode 100644
index 6b47c1211..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java
+++ /dev/null
@@ -1,525 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsil;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.TableEditor;
-import org.eclipse.swt.events.KeyEvent;
-import org.eclipse.swt.events.KeyListener;
-import org.eclipse.swt.events.MouseEvent;
-import org.eclipse.swt.events.MouseListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.events.TraverseEvent;
-import org.eclipse.swt.events.TraverseListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-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.ui.PlatformUI;
-
-
-public class TableViewerEditor extends Composite
-{
- private int DEFAULT_TABLE_HEIGHT_HINT = 100;
- private int DEFAULT_COLUMN_WIDTH = 80;
-
- private String[] columns_;
- private TableViewer tableViewer_;
- private Table table_;
- private TableEditor editor_;
- private TableEditorListener tableEditorListener_;
- private Text text_;
- private Button add_;
- private Button remove_;
-
- private List values_;
- private Object defaultValue_;
-
- public TableViewerEditor(Composite parent, String[] columns, List initValues, Object defaultValue)
- {
- super(parent, SWT.NONE);
- columns_ = columns;
- values_ = new ArrayList();
- if (initValues != null && initValues.size() > 0)
- values_.addAll(initValues);
- defaultValue_ = (defaultValue != null) ? defaultValue : new String("");
- createPartControl(this);
- }
-
- private void createPartControl(Composite parent)
- {
- GridLayout gl = new GridLayout();
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- setLayout(gl);
- setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
- Composite composite = new Composite(parent, SWT.NONE);
- gl = new GridLayout();
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- composite.setLayout(gl);
- composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
- table_ = new Table(composite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.BORDER);
- GridData gd = new GridData(GridData.FILL_BOTH);
- gd.heightHint = DEFAULT_TABLE_HEIGHT_HINT;
- table_.setLayoutData(gd);
- table_.setHeaderVisible(true);
- table_.setLinesVisible(true);
- TableLayout tableLayout = new TableLayout();
- int maxWidth = DEFAULT_COLUMN_WIDTH;
- for (int i = 0; i < columns_.length; i++)
- {
- TableColumn tableColumn = new TableColumn(table_, SWT.NONE);
- tableColumn.setText(columns_[i]);
- tableColumn.pack();
- int tableColumnWidth = Math.max(DEFAULT_COLUMN_WIDTH, tableColumn.getWidth());
- maxWidth = Math.max(maxWidth, tableColumnWidth);
- ColumnWeightData columnData = new ColumnWeightData(tableColumnWidth, tableColumnWidth, true);
- tableLayout.addColumnData(columnData);
- }
- table_.setLayout(tableLayout);
- // initialize the table editor
- editor_ = new TableEditor(table_);
- // The editor must have the same size as the cell and must
- // not be any smaller than 50 pixels.
- editor_.horizontalAlignment = SWT.LEFT;
- editor_.grabHorizontal = true;
- editor_.minimumWidth = maxWidth;
- tableEditorListener_ = new TableEditorListener();
- table_.addMouseListener(tableEditorListener_);
- tableViewer_ = new TableViewer(table_);
- tableViewer_.getControl().addKeyListener(
- new KeyListener()
- {
- public void keyPressed(KeyEvent e)
- {
- // Del
- if (((int)e.character) == 127)
- handleDeleteKeyPressed();
- // Enter or space
- if (((int)e.character) == 13 || ((int)e.character) == 32)
- tableEditorListener_.editSelection();
- }
- public void keyReleased(KeyEvent e)
- {
- }
- }
- );
- tableViewer_.setContentProvider(new ListContentProvider());
- tableViewer_.setLabelProvider(new ListLabelProvider());
- tableViewer_.setInput(values_);
- tableViewer_.addSelectionChangedListener(
- new ISelectionChangedListener()
- {
- public void selectionChanged(SelectionChangedEvent event)
- {
- enableRemove(true);
- }
- }
- );
-
- Composite buttonComposite = new Composite(composite, SWT.NONE);
- gl = new GridLayout();
- gl.numColumns = 2;
- gl.makeColumnsEqualWidth = true;
- buttonComposite.setLayout(gl);
- buttonComposite.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_BEGINNING));
-
- add_ = new Button(buttonComposite, SWT.PUSH);
- add_.setText(ConsumptionUIMessages.LABEL_ADD);
- add_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- add_.addSelectionListener(
- new SelectionListener()
- {
- public void widgetSelected(SelectionEvent event)
- {
- handleAddButtonSelected(event);
- }
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
- }
- );
-
- remove_ = new Button(buttonComposite, SWT.PUSH);
- remove_.setText(ConsumptionUIMessages.LABEL_REMOVE);
- remove_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- remove_.addSelectionListener(
- new SelectionListener()
- {
- public void widgetSelected(SelectionEvent event)
- {
- handleRemoveButtonSelected(event);
- }
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
- }
- );
- enableRemove(false);
- }
-
- private void enableRemove(boolean enabled)
- {
- remove_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
- }
-
- private void handleAddButtonSelected(SelectionEvent event)
- {
- values_.add(defaultValue_);
- refresh();
- setSelectionAsObject(values_.get(table_.getItemCount()-1));
- tableEditorListener_.editSelection();
- }
-
- private void handleRemoveButtonSelected(SelectionEvent event)
- {
- handleDeleteKeyPressed();
- }
-
- private void handleDeleteKeyPressed()
- {
- internalDispose();
- ISelection selection = tableViewer_.getSelection();
- if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection))
- {
- int selectionIndex = table_.getSelectionIndex();
- int selectionCount = table_.getItemCount();
- values_.remove(selectionIndex);
- if (selectionIndex < selectionCount-1)
- setSelectionAsObject(values_.get(selectionIndex));
- else if (selectionCount -2 >= 0)
- setSelectionAsObject(values_.get(selectionCount-2));
- refresh();
- }
- }
-
- private void internalRefresh()
- {
- // synchronize text field, previously selected table cell and model (inputObject)
- if (text_ != null)
- {
- TableItem oldTableItem = editor_.getItem();
- int oldColumnIndex = editor_.getColumn();
- if (oldTableItem != null && oldColumnIndex >= 0 && oldColumnIndex < columns_.length)
- {
- String oldText = text_.getText();
- oldTableItem.setText(oldColumnIndex, oldText);
- int oldRowIndex = table_.indexOf(oldTableItem);
- values_.set(oldRowIndex, oldText);
- }
- }
- }
-
- private void setSelectionAsObject(Object object)
- {
- tableViewer_.setSelection(new StructuredSelection(object), true);
- }
-
- public void setToolTipText(String string)
- {
- table_.setToolTipText(string);
- }
-
- public void setInfopop(String string)
- {
- PlatformUI.getWorkbench().getHelpSystem().setHelp(table_, string);
- }
-
- public void setInput(List list)
- {
- values_.clear();
- values_.addAll(list);
- }
-
- public void refresh()
- {
- internalRefresh();
- tableViewer_.refresh();
- }
-
- public TableItem[] getItems()
- {
- internalRefresh();
- return table_.getItems();
- }
-
- public void setEnabled(boolean enabled)
- {
- super.setEnabled(enabled);
- add_.setEnabled(enabled);
- enableRemove(enabled);
- }
-
- public void dispose()
- {
- super.dispose();
- internalDispose();
- if (editor_ != null)
- editor_.dispose();
- if (table_ != null)
- table_.dispose();
- if (add_ != null)
- add_.dispose();
- if (remove_ != null)
- remove_.dispose();
- }
-
- private void internalDispose()
- {
- if (text_ != null)
- text_.dispose();
- text_ = null;
- }
-
- protected class TableEditorListener implements MouseListener
- {
- private int currSelectionIndex_;
- private int editRow_;
- private int editColumn_;
-
- public TableEditorListener()
- {
- super();
- currSelectionIndex_ = -1;
- editRow_ = -1;
- editColumn_ = -1;
- }
-
- public void mouseDoubleClick(MouseEvent e)
- {
- mouseDown(e);
- }
-
- public void mouseDown(MouseEvent e)
- {
- // refresh table
- internalRefresh();
- // Clean up previous text editor control
- internalDispose();
- // update table
- if (table_.isFocusControl())
- {
- int selectedRowIndex = getSelectedRow(table_, e.y);
- if (currSelectionIndex_ != -1 && selectedRowIndex != -1 && currSelectionIndex_ == selectedRowIndex)
- {
- TableItem tableItem = table_.getItem(selectedRowIndex);
- int selectedColumnIndex = getSelectedColumn(tableItem, e.x, e.y);
- if (selectedColumnIndex != -1 && (text_ == null || text_.isDisposed() || selectedColumnIndex != editor_.getColumn()))
- editSelection(selectedRowIndex, selectedColumnIndex);
- }
- currSelectionIndex_ = selectedRowIndex;
- }
- }
-
- public void mouseUp(MouseEvent e)
- {
- }
-
- private int getSelectedRow(Table table, int y)
- {
- TableItem[] tableItems = table.getItems();
- for (int i = 0; i < tableItems.length; i++)
- {
- Rectangle rectangle = tableItems[i].getBounds(0);
- if (rectangle != null && y >= rectangle.y && y < (rectangle.y + rectangle.height))
- return i;
- }
- return -1;
- }
-
- private int getSelectedColumn(TableItem tableItem, int x, int y)
- {
- for (int i = 0; i < columns_.length; i++)
- {
- if (tableItem.getBounds(i).contains(x, y))
- return i;
- }
- return -1;
- }
-
- private void editSelection(int row, int column)
- {
- editRow_ = row;
- editColumn_ = column;
- TableItem tableItem = table_.getItem(row);
- // Setup adapter for the new selection
- text_ = new Text(table_, SWT.NONE);
- String text = tableItem.getText(column);
- text_.setText((text != null) ? text : "");
- text_.addKeyListener(new KeyListener()
- {
- public void keyPressed(KeyEvent e)
- {
- // Esc
- if (((int)e.character) == 27)
- cancelSelection();
- }
- public void keyReleased(KeyEvent e)
- {
- }
- }
- );
- text_.addTraverseListener(new TraverseListener()
- {
- public void keyTraversed(TraverseEvent e)
- {
- if (e.detail == SWT.TRAVERSE_TAB_NEXT)
- traverseTabNext();
- else if (e.detail == SWT.TRAVERSE_TAB_PREVIOUS)
- traverseTabPrevious();
- }
- }
- );
- editor_.setEditor(text_, tableItem, column);
- text_.setFocus();
- text_.selectAll();
- }
-
- protected void traverseTabNext()
- {
- internalRefresh();
- internalDispose();
- if (!(editRow_ == table_.getItems().length-1 && editColumn_ == columns_.length-1))
- {
- if (editColumn_ < columns_.length-1)
- editColumn_++;
- else
- {
- editColumn_ = 0;
- editRow_++;
- table_.select(editRow_);
- }
- editSelection(editRow_, editColumn_);
- }
- }
-
- protected void traverseTabPrevious()
- {
- internalRefresh();
- internalDispose();
- if (!(editRow_ == 0 && editColumn_ == 0))
- {
- if (editColumn_ > 0)
- editColumn_--;
- else
- {
- editColumn_ = columns_.length-1;
- editRow_--;
- table_.select(editRow_);
- }
- editSelection(editRow_, editColumn_);
- }
- }
-
- public void cancelSelection()
- {
- internalDispose();
- internalRefresh();
- }
-
- public void editSelection()
- {
- int selectedRowIndex = table_.getSelectionIndex();
- if (selectedRowIndex != -1 && columns_.length > 0)
- {
- // refresh table
- internalRefresh();
- // Clean up any previous editor control
- internalDispose();
- editSelection(selectedRowIndex, 0);
- }
- currSelectionIndex_ = selectedRowIndex;
- }
- }
-
- protected class ListContentProvider implements IStructuredContentProvider
- {
- public void dispose()
- {
- }
-
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
- {
- tableViewer_.add(getElements(newInput));
- }
-
- public Object[] getElements(Object inputElement)
- {
- if (inputElement instanceof List)
- {
- List list = (List)inputElement;
- Object[] objects = new Object[list.size()];
- for (int i = 0; i < objects.length; i++)
- objects[i] = list.get(i);
- return objects;
- }
- else
- return new Object[0];
- }
- }
-
- protected class ListLabelProvider implements ITableLabelProvider
- {
- public Image getColumnImage(Object element, int columnIndex)
- {
- return null;
- }
-
- public String getColumnText(Object element, int columnIndex)
- {
- return element.toString();
- }
-
- public void addListener(ILabelProviderListener listener)
- {
- }
-
- public void removeListener(ILabelProviderListener listener)
- {
- }
-
- public boolean isLabelProperty(Object element, String property)
- {
- return true;
- }
-
- public void dispose()
- {
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java
deleted file mode 100644
index 4dae50bac..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsil;
-
-import java.net.MalformedURLException;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-
-
-public class Utils
-{
- public Utils()
- {
- }
-
- public String toFileSystemURI(String relativePlatformURI)
- {
- if (relativePlatformURI != null)
- return toFileSystemURI(ResourceUtils.findResource(relativePlatformURI));
- else
- return null;
- }
-
- public String toFileSystemURI(IResource res)
- {
- if (res != null)
- {
- IPath path = res.getLocation();
- if (path != null)
- {
- try
- {
- return path.toFile().toURL().toString();
- }
- catch (MalformedURLException murle)
- {
- }
- }
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java
deleted file mode 100644
index 65bedf58f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Hashtable;
-import java.util.Set;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.wst.common.project.facet.core.IProjectFacet;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
-
-public class ClientRuntimeDescriptor
-{
- private IConfigurationElement elem;
- private Hashtable allWebServiceClientImpls;
- private Hashtable allRuntimes;
- private String id;
- private WebServiceClientImpl clientImplementationType;
- private RuntimeDescriptor runtime;
- private String clientRuntimeClassName;
- private IWebServiceRuntime webServiceRuntime;
- private RequiredFacetVersion[] requiredFacetVersions;
- private Set projectFacetVersions;
-
- public ClientRuntimeDescriptor(IConfigurationElement elem, Hashtable allWebServiceClientImpls, Hashtable allRuntimes)
- {
- this.elem = elem;
- this.allWebServiceClientImpls = allWebServiceClientImpls;
- this.allRuntimes = allRuntimes;
- }
-
- public WebServiceClientImpl getClientImplementationType()
- {
- if (clientImplementationType == null)
- {
- String clientImplementationTypeId = elem.getAttribute("clientImplementationTypeId");
- clientImplementationType = (WebServiceClientImpl)allWebServiceClientImpls.get(clientImplementationTypeId);
- }
- return clientImplementationType;
- }
-
- public String getClientRuntimeClassName()
- {
- if (clientRuntimeClassName == null)
- {
- clientRuntimeClassName = elem.getAttribute("class");
- }
- return clientRuntimeClassName;
- }
-
- public String getId()
- {
- if (id == null)
- {
- id = elem.getAttribute("id");
- }
- return id;
- }
-
- public RequiredFacetVersion[] getRequiredFacetVersions()
- {
- if (requiredFacetVersions == null)
- {
- ArrayList requiredFacetVersionList = new ArrayList();
- IConfigurationElement[] facetElems = elem.getChildren("required-facet-version");
- for (int i = 0; i < facetElems.length; i++)
- {
- RequiredFacetVersion rfv = new RequiredFacetVersion();
- IProjectFacet projectFacet = ProjectFacetsManager.getProjectFacet(facetElems[i].getAttribute("facet"));
- IProjectFacetVersion projectFacetVersion = projectFacet.getVersion(facetElems[i].getAttribute("version"));
- rfv.setProjectFacetVersion(projectFacetVersion);
- String allowNewerValue = facetElems[i].getAttribute("allow-newer");
- if (allowNewerValue == null)
- {
- rfv.setAllowNewer(false);
- }
- else
- {
- rfv.setAllowNewer(Boolean.valueOf(allowNewerValue).booleanValue());
- }
-
- requiredFacetVersionList.add(rfv);
- }
-
- requiredFacetVersions = (RequiredFacetVersion[])requiredFacetVersionList.toArray(new RequiredFacetVersion[]{});
- }
-
- return requiredFacetVersions;
- }
-
- public Set getProjectFacetVersions()
- {
- if (projectFacetVersions == null)
- {
- projectFacetVersions = new HashSet();
- RequiredFacetVersion[] rfv = getRequiredFacetVersions();
- for (int i=0; i<rfv.length; i++)
- {
- projectFacetVersions.add(rfv[i].getProjectFacetVersion());
- }
- }
-
- return projectFacetVersions;
- }
-
- public RuntimeDescriptor getRuntime()
- {
- if (runtime == null)
- {
- String runtimeId = elem.getAttribute("runtimeId");
- runtime = (RuntimeDescriptor)allRuntimes.get(runtimeId);
- }
- return runtime;
- }
-
- public IWebServiceRuntime getWebServiceRuntime()
- {
- if (webServiceRuntime == null)
- {
- try
- {
- webServiceRuntime = (IWebServiceRuntime)elem.createExecutableExtension("class");
- }
- catch(CoreException ce)
- {
-
- }
- }
-
- return webServiceRuntime;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java
deleted file mode 100644
index e3c4b51fe..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.Hashtable;
-import org.eclipse.core.runtime.IConfigurationElement;
-import com.ibm.icu.util.StringTokenizer;
-
-public class ClientType {
-
- private IConfigurationElement elem_;
- private Hashtable webServiceClientImpls_;
-
- private String id;
- private WebServiceClientImpl webServiceClientImpl;
- private String[] moduleTypesInclude;
- private String[] moduleTypesExclude;
-
-
-
- public ClientType(IConfigurationElement elem_, Hashtable webServiceClientImpls_)
- {
- super();
- this.elem_ = elem_;
- this.webServiceClientImpls_ = webServiceClientImpls_;
- }
-
-
-
- public String getId()
- {
- if (id==null)
- {
- id = elem_.getAttribute("id");
- }
- return id;
- }
-
-
-
-
- public String[] getModuleTypesExclude()
- {
- if (moduleTypesExclude==null)
- {
- String attr = elem_.getAttribute("moduleTypesExclude");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- moduleTypesExclude = new String[size];
- for (int i = 0; i < moduleTypesExclude.length; i++)
- moduleTypesExclude[i] = st.nextToken();
- }
- }
- return moduleTypesExclude;
- }
-
-
-
-
- public String[] getModuleTypesInclude()
- {
- if (moduleTypesInclude==null)
- {
- String attr = elem_.getAttribute("moduleTypesInclude");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- moduleTypesInclude = new String[size];
- for (int i = 0; i < moduleTypesInclude.length; i++)
- moduleTypesInclude[i] = st.nextToken();
- }
- }
- return moduleTypesInclude;
- }
-
-
-
-
- public WebServiceClientImpl getWebServiceClientImpl()
- {
- if (webServiceClientImpl==null)
- {
- String wscimplId = elem_.getAttribute("implId");
- webServiceClientImpl = (WebServiceClientImpl)webServiceClientImpls_.get(wscimplId);
- }
- return webServiceClientImpl;
- }
-
-
-
- /*
- public String getWebServiceClientTypeId()
- {
- if (webServiceClientTypeId==null)
- {
- webServiceClientTypeId = elem_.getAttribute("webServiceClientTypeId");
- }
- return webServiceClientTypeId;
- }
- */
-
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java
deleted file mode 100644
index 034a6e8ef..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-/**
- * @author rsinha
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class Context implements IContext {
- private WebServiceScenario scenario;
- private boolean develop;
- private boolean assemble;
- private boolean deploy;
- private boolean install;
- private boolean run;
- private boolean client;
- private boolean test;
- private boolean publish;
- private boolean overWriteFiles;
- private boolean createFolders;
- private boolean checkOutFiles;
-
- public boolean getAssemble() {
- return assemble;
- }
-
- public boolean getCheckOutFiles() {
- return checkOutFiles;
- }
-
- public boolean getClient() {
- return client;
- }
-
- public boolean getCreateFolders() {
- return createFolders;
- }
-
- public boolean getDeploy() {
- return deploy;
- }
-
- public boolean getDevelop() {
- return develop;
- }
-
- public boolean getInstall() {
- return install;
- }
-
- public boolean getOverWriteFiles() {
- return overWriteFiles;
- }
-
- public boolean getPublish() {
- return publish;
- }
-
- public boolean getRun() {
- return run;
- }
-
- public WebServiceScenario getScenario() {
- return scenario;
- }
-
- public boolean getTest() {
- return test;
- }
-
- public void setAssemble(boolean assemble) {
- this.assemble = assemble;
- }
-
-
- public void setCheckOutFiles(boolean checkOutFiles) {
- this.checkOutFiles = checkOutFiles;
- }
-
-
- public void setClient(boolean client) {
- this.client = client;
- }
-
-
- public void setCreateFolders(boolean createFolders) {
- this.createFolders = createFolders;
- }
-
-
- public void setDeploy(boolean deploy) {
- this.deploy = deploy;
- }
-
-
- public void setDevelop(boolean develop) {
- this.develop = develop;
- }
-
-
- public void setInstall(boolean install) {
- this.install = install;
- }
-
-
- public void setOverWriteFiles(boolean overWriteFiles) {
- this.overWriteFiles = overWriteFiles;
- }
-
-
- public void setPublish(boolean publish) {
- this.publish = publish;
- }
-
-
- public void setRun(boolean run) {
- this.run = run;
- }
-
-
- public void setScenario(WebServiceScenario scenario) {
- this.scenario = scenario;
- }
-
-
- public void setTest(boolean test) {
- this.test = test;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java
deleted file mode 100644
index 293d9f48a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java
+++ /dev/null
@@ -1,495 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner (initial creation)
- * 20060426 138051 kathy@ca.ibm.com - Kathy Chan
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceChangeEvent;
-import org.eclipse.core.resources.IResourceChangeListener;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
-import org.eclipse.jst.ws.internal.consumption.common.FacetSetsByTemplateCache;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
-
-/**
- * FacetMatchCache caches results of calculations made respecting
- * the suitability of projects and project types for serviceRuntimes
- * and clientRuntimes.
- *
- * <br/><br/>
- * Teminology used in the javadoc in this class:
- * <ul>
- * <li><b>serviceRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.serviceRuntimes.
- * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor</li>
- * <li><b>clientRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.clientRuntimes.
- * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor</li>
- * </ul>
- *
- */
-public class FacetMatchCache implements IResourceChangeListener
-{
- //single instance per workbench
- private static FacetMatchCache instance_;
-
-
- //Tables related to existing projects in the workspace
-
- //serviceFacetMatchTable_:
- //key: Object of type String.
- // Forward slash separated concatenation of a serviceRuntimeId and a projectName
- // (e.g. org.eclipse.jst.ws.axis.creation.java/wp).
- //value: Object of type org.eclipse.jst.ws.internal.consumption.common.FacetMatcher.
- // The FacetMatcher contains the matching characteristics calculated for the
- // serviceRuntime and project in the key.
- private Hashtable serviceFacetMatchTable_;
-
- //serviceTableKeysByProjectName_:
- //key: Object of type String.
- // project name (e.g. wp)
- //value: Set of elements of type String. The Strings in the Set are keys from the serviceFacetMatchTable_
- // that contain the project name (e.g. org.eclipse.jst.ws.axis.creation.java/wp). Used to rapidly
- // delete entries from serviceFacetMatchTable_ after a project is deleted from the workspace.
- private Hashtable serviceTableKeysByProjectName_;
-
- //clientFacetMatchTable_;
- //key: Object of type String.
- // forward slash separated concatenation of a clientRuntimeId and a projectName
- // (e.g. org.eclipse.jst.ws.axis.consumption.java/wp)
- //value: Object of type org.eclipse.jst.ws.internal.consumption.common.FacetMatcher
- // The FacetMatcher contains the matching characteristics calculated for the
- // clientRuntime and project in the key.
- private Hashtable clientFacetMatchTable_;
-
- //clientTableKeysByProjectName_
- //key: Object of type String.
- // project name (e.g. wp)
- //value: Set of elements of type String. The Strings in the Set are keys from the clientFacetMatchTable_
- // that contain the project name (e.g. org.eclipse.jst.ws.axis.consumption.java/wp). Used to rapidly
- // delete entries from clientFacetMatchTable_ after a project is deleted from the workspace.
- private Hashtable clientTableKeysByProjectName_;
-
- //projectEntriesToDelete_: elements of type String containing the names of projects that have
- //been deleted from the workspace but their corresponding entries from serviceFacetMatchTable_
- //and clientFacetMatchTable_ have yet to be deleted.
- private List projectEntriesToDelete_;
-
-
-
- //Tables related to templates
-
- //templatesByServiceRuntimeId_:
- //key: Object of type String.
- // serviceRuntime id
- //value: Set of elements of type org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate
- // This the set of templates that support the serviceRuntime identified by the key.
- private Hashtable templatesByServiceRuntimeId_;
-
- //templatesByClientRuntimeId_
- //key: Object of type String.
- // clientRuntime id
- //value: Set of elements of type org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate
- // This the set of templates that support the clientRuntime identified by the key.
- private Hashtable templatesByClientRuntimeId_;
-
-
- /**
- * Returns a singleton instance of this class.
- *
- * @return A singleton FacetMatchCache object.
- */
- public static synchronized FacetMatchCache getInstance()
- {
- if (instance_ == null)
- {
- instance_ = new FacetMatchCache();
- instance_.load();
- }
- return instance_;
- }
-
- private void load()
- {
- serviceFacetMatchTable_ = new Hashtable();
- serviceTableKeysByProjectName_ = new Hashtable();
- clientFacetMatchTable_ = new Hashtable();
- clientTableKeysByProjectName_ = new Hashtable();
- projectEntriesToDelete_ = new ArrayList();
- templatesByClientRuntimeId_ = new Hashtable();
- templatesByServiceRuntimeId_ = new Hashtable();
-
- //Listen for deletions of projects in order to delete all entries in
- //Hashtables for the deleted project.
- ResourcesPlugin.getWorkspace().addResourceChangeListener(this, IResourceChangeEvent.PRE_DELETE);
- }
-
-
- /*
- * Returns the FacetMatcher resulting from matching a serviceRuntime or clientRuntime with an existing project.
- * @param isClient true if runtimeId is a clientRuntimeId. false if runtimeId is a serviceRuntimeId.
- * @param runtimeId the id of a clientRuntime if isClient is true or the id of a serviceRuntime if
- * isClient is false.
- * @param projectName the name of an existing project.
- *
- * @returns FacetMatcher resulting from calling FacetUtils.match(..) using the serviceRuntime or clientRuntime id
- * and the project name. Returns null if the project doesn't exist. Non-faceted existing projects will always result
- * in a FacetMatcher with isMatch() equal to false (with the exception of Java projects which are a special case
- * - see FacetUtils.getFacetsForProject()).
- */
- public synchronized FacetMatcher getMatchForProject(boolean isClient, String runtimeId, String projectName)
- {
- //Delete entries from tables if there are deletions pending.
- if (projectEntriesToDelete_.size() > 0)
- {
- Iterator projectItr = projectEntriesToDelete_.iterator();
- while(projectItr.hasNext())
- {
- String projectNameToDelete = (String)projectItr.next();
-
- //Delete entries from client table
- removeTableEntriesForProject(true, projectNameToDelete);
-
- //Delete entries from service table
- removeTableEntriesForProject(false, projectNameToDelete);
- }
-
- //Clear the projectEntriesToDelete list
- projectEntriesToDelete_.clear();
- }
-
- IProject project = ProjectUtilities.getProject(projectName);
- FacetMatcher fm = null;
- if (project != null && project.exists())
- {
- String key = getKey(runtimeId, projectName);
- if (isClient)
- {
- fm = (FacetMatcher) clientFacetMatchTable_.get(key);
- }
- else
- {
- fm = (FacetMatcher) serviceFacetMatchTable_.get(key);
- }
-
- if (fm == null)
- {
- // This combination has not yet been calculated and cached so calculate it and cache it.
- fm = calculateFacetMatcher(isClient, runtimeId, projectName);
- if (isClient)
- {
- clientFacetMatchTable_.put(key,fm);
- }
- else
- {
- serviceFacetMatchTable_.put(key, fm);
- }
- updateTableOfKeys(isClient, key, projectName);
-
- } else
- {
- // If the project's facets have changed since the last time the
- // facets were calculated, refresh the facetMatcher.
- Set currentFacetVersions = FacetUtils.getFacetsForProject(projectName);
- Set previousFacetVersions = fm.getFacetsTested();
- if (!currentFacetVersions.equals(previousFacetVersions))
- {
- //recalculate and cache the FacetMatcher
- fm = calculateFacetMatcher(isClient, runtimeId, projectName);
- if (isClient)
- {
- clientFacetMatchTable_.put(key,fm);
- }
- else
- {
- serviceFacetMatchTable_.put(key, fm);
- }
- }
- }
- }
-
- return fm;
- }
-
- /**
- * Updates serviceTableKeysByProjectName_ or clientTableKeysByProjectName_ with
- * the provided project name and key. This is called whenever a new entry is
- * added to serviceFacetMatchTable_ or clientFacetMatchTable_.
- * @param isClient true if runtimeId is a clientRuntimeId. false if runtimeId is a serviceRuntimeId.
- * @param key
- * @param projectName
- */
- private void updateTableOfKeys(boolean isClient, String key, String projectName)
- {
- Set setOfKeysForProjectName = null;
- if (isClient)
- {
- setOfKeysForProjectName = (Set)clientTableKeysByProjectName_.get(projectName);
- }
- else
- {
- setOfKeysForProjectName = (Set)serviceTableKeysByProjectName_.get(projectName);
- }
-
- if (setOfKeysForProjectName == null)
- {
- //Add an entry in the table for this project.
- Set keys = new HashSet();
- keys.add(key);
- if (isClient)
- {
- clientTableKeysByProjectName_.put(projectName, keys);
- }
- else
- {
- serviceTableKeysByProjectName_.put(projectName, keys);
- }
- }
- else
- {
- //Update the entry in the table for this project.
- setOfKeysForProjectName.add(key);
- }
- }
-
- /**
- * Returns the {@link FacetMatcher} calculated for the given serviceRuntime or clientRuntime and project
- * @param isClient true if runtimeId is a clientRuntimeId. false if runtimeId is a serviceRuntimeId.
- * @param runtimeId the id of a clientRuntime if isClient is true or the id of a serviceRuntime if
- * isClient is false.
- * @param projectName the name of an existing project.
- * @return FacetMatcher resulting from calling FacetUtils.match(..) using the serviceRuntime or clientRuntime id
- * and the project name. Returns null if the project doesn't exist. Non-faceted existing projects will always result
- * in a FacetMatcher with isMatch() equal to false (with the exception of Java projects which are a special case
- * - see FacetUtils.getFacetsForProject()).
- */
- private FacetMatcher calculateFacetMatcher(boolean isClient, String runtimeId, String projectName)
- {
- FacetMatcher fm = null;
- RequiredFacetVersion[] rfvs = null;
- if (isClient)
- {
- ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(runtimeId);
- rfvs = desc.getRequiredFacetVersions();
- }
- else
- {
- ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(runtimeId);
- rfvs = desc.getRequiredFacetVersions();
- }
-
- Set facetVersions = FacetUtils.getFacetsForProject(projectName);
- if (facetVersions == null)
- {
- fm = new FacetMatcher();
- fm.setMatch(false);
- return fm;
- }
-
- fm = FacetUtils.match(rfvs, facetVersions);
-
- // Check if the facet runtime required by the required facet is supported
- // by the project without chaning it's current facet runtime
-
- IRuntime fProjectRuntime = FacetUtils.getFacetRuntimeForProject(projectName);
- if (fProjectRuntime != null) {
- String fProjectRuntimeName = fProjectRuntime.getName();
- boolean projectSupportRequiredFacetRuntime = false;
- Set rts = FacetUtils.getRuntimes(rfvs);
- for (Iterator iterator = rts.iterator(); iterator.hasNext() && !projectSupportRequiredFacetRuntime;) {
- IRuntime fRequiredRuntime = (IRuntime) iterator.next();
- if (fRequiredRuntime != null) {
- if (fRequiredRuntime.getName().equals(fProjectRuntimeName)) {
- projectSupportRequiredFacetRuntime = true;
- }
- }
- }
-
- // if project does not support the required facet runtime, set FacetMatch match to false
- if (!projectSupportRequiredFacetRuntime) {
- fm.setMatch(false);
- }
- }
- return fm;
- }
-
- private String getKey(String a, String b)
- {
- StringBuffer keysb = new StringBuffer();
- keysb.append(a);
- keysb.append("/");
- keysb.append(b);
- return keysb.toString();
- }
-
- /**
- * Removes all table entries in this cache for the given project
- * @param isClient true to remove entries from client side tables. false to remove entries from service side tables
- * @param projectName
- */
- private void removeTableEntriesForProject(boolean isClient, String projectName)
- {
- //First remove the entries from clientFacetMatchTable_ or serviceFacetMatchTable_
- //that have keys containing this project name.
- Set setOfKeysForProjectName = null;
- if (isClient)
- {
- setOfKeysForProjectName = (Set)clientTableKeysByProjectName_.get(projectName);
- }
- else
- {
- setOfKeysForProjectName = (Set)serviceTableKeysByProjectName_.get(projectName);
- }
-
- if (setOfKeysForProjectName != null)
- {
- Iterator keysItr = setOfKeysForProjectName.iterator();
- while (keysItr.hasNext())
- {
- String key = (String)keysItr.next();
- if (isClient)
- {
- clientFacetMatchTable_.remove(key);
- }
- else
- {
- serviceFacetMatchTable_.remove(key);
- }
- }
-
- //Second, remove the entry in clientTableKeysByProjectName_ or serviceTableKeysByProjectName_
- //with this projectName as the key.
- if (isClient)
- {
- clientTableKeysByProjectName_.remove(projectName);
- }
- else
- {
- serviceTableKeysByProjectName_.remove(projectName);
- }
-
- }
-
- }
-
- /**
- * Returns a set of templates supported by the given clientRuntime
- * @param clientRuntimeId id of a clientRuntime
- * @returns Set (elementtype: IFacetedProjectTemplate)
- */
- public synchronized Set getTemplatesForClientRuntime(String clientRuntimeId)
- {
- Set templates = (Set)templatesByClientRuntimeId_.get(clientRuntimeId);
- if (templates != null)
- {
- //Return the cached set of templates.
- return templates;
- }
- else
- {
- //Calculate the templates, cache them for later use, and return them.
- ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId);
- Set validTemplates = getTemplates(desc.getRequiredFacetVersions());
- templatesByClientRuntimeId_.put(clientRuntimeId, validTemplates);
- return validTemplates;
- }
- }
-
- /**
- * Returns a set of templates supported by the given serviceRuntime
- * @param serviceRuntimeId id of a serviceRuntime
- * @returns Set (elementtype: IFacetedProjectTemplate)
- */
- public synchronized Set getTemplatesForServiceRuntime(String serviceRuntimeId)
- {
- Set templates = (Set)templatesByServiceRuntimeId_.get(serviceRuntimeId);
- if (templates != null)
- {
- //Return the cached set of templates.
- return templates;
- }
- else
- {
- //Calculate the templates, cache them for later use, and return them.
- ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceRuntimeId);
- Set validTemplates = getTemplates(desc.getRequiredFacetVersions());
- templatesByServiceRuntimeId_.put(serviceRuntimeId, validTemplates);
- return validTemplates;
- }
- }
-
-
- /**
- * Returns the set of templates that supported the given required facet versions.
- * @param requiredFacetVersions
- * @return Set containing elemets of type {@link IFacetedProjectTemplate}.
- */
- private Set getTemplates(RequiredFacetVersion[] requiredFacetVersions)
- {
- Set templates = new HashSet();
-
- for( Iterator itr = ProjectFacetsManager.getTemplates().iterator(); itr.hasNext(); )
- {
- final IFacetedProjectTemplate template = (IFacetedProjectTemplate) itr.next();
- String templateId = template.getId();
- if (templateId.indexOf("ear") == -1 && templateId.indexOf("wst.web") == -1) //Don't include the EARs!!
- {
- Set[] combinations = FacetSetsByTemplateCache.getInstance().getFacetVersionCombinationsFromTemplate(templateId);
- for (int i=0; i<combinations.length; i++)
- {
- FacetMatcher fm = FacetUtils.match(requiredFacetVersions, combinations[i]);
- if (fm.isMatch())
- {
- //Found a combination that worked. Add the template to the list and move on.
- templates.add(template);
- break;
- }
- }
- }
- }
-
- return templates;
-
- }
-
- public synchronized void resourceChanged(IResourceChangeEvent event)
- {
- if (event.getType() == IResourceChangeEvent.PRE_DELETE)
- {
- IResource projectResource = event.getResource();
- if (projectResource!=null)
- {
- String projectName = projectResource.getName();
-
- //Add this project name to the list of project entries
- //to delete. Next time getMatchForProject is called all
- //entries for this project from all tables in this cache
- //will be deleted.
- projectEntriesToDelete_.add(projectName);
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java
deleted file mode 100644
index ac2bb3709..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-
-public class RuntimeDescriptor
-{
-
- private IConfigurationElement elem;
- private String id;
- private String label;
- private String serverRequiredString;
- private boolean serverRequired;
-
-
- public RuntimeDescriptor(IConfigurationElement elem)
- {
- this.elem = elem;
- }
-
- public String getId()
- {
- if (id == null)
- {
- id = elem.getAttribute("id");
- }
- return id;
- }
-
- public String getLabel()
- {
- if (label == null)
- {
- label = elem.getAttribute("label");
- }
- return label;
- }
-
- public String[] getJ2eeLevels()
- {
- return new String[]{"13", "14"};
- }
-
- public boolean getServerRequired()
- {
- if (serverRequiredString == null)
- {
- //Defaults to true if the extension omits this attribute
- serverRequired = true;
-
- serverRequiredString = elem.getAttribute("serverRequired");
- if (serverRequiredString != null)
- {
- serverRequired = Boolean.valueOf(serverRequiredString).booleanValue();
- }
-
- }
- return serverRequired;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java
deleted file mode 100644
index 631454bd6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-
-public class Selection implements ISelection {
-
- private Object[] selection;
-
- public Object[] getSelection()
- {
- return selection;
- }
-
- public void setSelection(Object[] selection)
- {
- this.selection = selection;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java
deleted file mode 100644
index 97c58e125..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- * -------- -------- -----------------------------------------------------------
- * 20060802 152150 mahutch@ca.ibm.com
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Hashtable;
-import java.util.Set;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.wst.common.project.facet.core.IProjectFacet;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
-
-
-public class ServiceRuntimeDescriptor
-{
- private IConfigurationElement elem;
- private Hashtable allWebServiceImpls;
- private Hashtable allRuntimes;
- private String id;
- private WebServiceImpl serviceImplementationType;
- private RuntimeDescriptor runtime;
- private boolean bottomUp = false;
- private boolean topDown = false;
- private String serviceRuntimeClassName;
- private IWebServiceRuntime webServiceRuntime;
- private RequiredFacetVersion[] requiredFacetVersions;
- private Set projectFacetVersions;
-
- public ServiceRuntimeDescriptor(IConfigurationElement elem, Hashtable allWebServiceImpls, Hashtable allRuntimes)
- {
- this.elem = elem;
- this.allWebServiceImpls = allWebServiceImpls;
- this.allRuntimes = allRuntimes;
-
- bottomUp = (Boolean.valueOf(elem.getAttribute("bottomUp"))).booleanValue();
- topDown = (Boolean.valueOf(elem.getAttribute("topDown"))).booleanValue();
- }
-
- public boolean getBottomUp()
- {
- return bottomUp;
- }
-
- public String getId()
- {
- if (id == null)
- {
- id = elem.getAttribute("id");
- }
- return id;
- }
-
-
- public RequiredFacetVersion[] getRequiredFacetVersions()
- {
- if (requiredFacetVersions == null)
- {
- ArrayList requiredFacetVersionList = new ArrayList();
- IConfigurationElement[] facetElems = elem.getChildren("required-facet-version");
- for (int i = 0; i < facetElems.length; i++)
- {
- String facetID = facetElems[i].getAttribute("facet");
- if (ProjectFacetsManager.isProjectFacetDefined(facetID))
- {
- RequiredFacetVersion rfv = new RequiredFacetVersion();
- IProjectFacet projectFacet = ProjectFacetsManager.getProjectFacet(facetID);
- IProjectFacetVersion projectFacetVersion = projectFacet.getVersion(facetElems[i].getAttribute("version"));
- rfv.setProjectFacetVersion(projectFacetVersion);
- String allowNewerValue = facetElems[i].getAttribute("allow-newer");
- if (allowNewerValue == null)
- {
- rfv.setAllowNewer(false);
- }
- else
- {
- rfv.setAllowNewer(Boolean.valueOf(allowNewerValue).booleanValue());
- }
-
- requiredFacetVersionList.add(rfv);
- }
- }
-
- requiredFacetVersions = (RequiredFacetVersion[])requiredFacetVersionList.toArray(new RequiredFacetVersion[]{});
- }
-
- return requiredFacetVersions;
- }
-
- public Set getProjectFacetVersions()
- {
- if (projectFacetVersions == null)
- {
- projectFacetVersions = new HashSet();
- RequiredFacetVersion[] rfv = getRequiredFacetVersions();
- for (int i=0; i<rfv.length; i++)
- {
- projectFacetVersions.add(rfv[i].getProjectFacetVersion());
- }
- }
-
- return projectFacetVersions;
- }
-
- public RuntimeDescriptor getRuntime()
- {
- if (runtime == null)
- {
- String runtimeId = elem.getAttribute("runtimeId");
- runtime = (RuntimeDescriptor)allRuntimes.get(runtimeId);
- }
- return runtime;
- }
-
- public WebServiceImpl getServiceImplementationType()
- {
- if (serviceImplementationType == null)
- {
- String serviceImplementationTypeId = elem.getAttribute("serviceImplementationTypeId");
- serviceImplementationType = (WebServiceImpl)allWebServiceImpls.get(serviceImplementationTypeId);
- }
- return serviceImplementationType;
- }
-
- public String getServiceRuntimeClassName()
- {
- if (serviceRuntimeClassName == null)
- {
- serviceRuntimeClassName = elem.getAttribute("class");
- }
- return serviceRuntimeClassName;
- }
-
- public boolean getTopDown()
- {
- return topDown;
- }
-
- public IWebServiceRuntime getWebServiceRuntime()
- {
- if (webServiceRuntime == null)
- {
- try
- {
- webServiceRuntime = (IWebServiceRuntime)elem.createExecutableExtension("class");
- }
- catch(CoreException ce)
- {
-
- }
- }
-
- return webServiceRuntime;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java
deleted file mode 100644
index 417cc2917..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.Hashtable;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-import com.ibm.icu.util.StringTokenizer;
-
-public class ServiceType {
-
- private IConfigurationElement elem_;
- private Hashtable webServiceImpls_;
- private String id;
- private WebServiceImpl webServiceImpl;
- private String[] bottomUpModuleTypesInclude;
- private String[] topDownModuleTypesInclude;
- private String[] bottomUpModuleTypesExclude;
- private String[] topDownModuleTypesExclude;
-
-
-
-
- public ServiceType(IConfigurationElement elem_, Hashtable webServiceImpls_)
- {
- super();
- this.elem_ = elem_;
- this.webServiceImpls_ = webServiceImpls_;
- }
-
- public String[] getBottomUpModuleTypesExclude()
- {
- if (bottomUpModuleTypesExclude==null)
- {
- String attr = elem_.getAttribute("buModuleTypesExclude");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- bottomUpModuleTypesExclude = new String[size];
- for (int i = 0; i < bottomUpModuleTypesExclude.length; i++)
- bottomUpModuleTypesExclude[i] = st.nextToken();
- }
- }
- return bottomUpModuleTypesExclude;
- }
-
- public void setBottomUpModuleTypesExclude(String[] bottomUpModuleTypesExclude)
- {
- this.bottomUpModuleTypesExclude = bottomUpModuleTypesExclude;
- }
-
- public String[] getBottomUpModuleTypesInclude()
- {
- if (bottomUpModuleTypesInclude==null)
- {
- String attr = elem_.getAttribute("buModuleTypesInclude");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- bottomUpModuleTypesInclude = new String[size];
- for (int i = 0; i < bottomUpModuleTypesInclude.length; i++)
- bottomUpModuleTypesInclude[i] = st.nextToken();
- }
- }
- return bottomUpModuleTypesInclude;
- }
-
- public void setBottomUpModuleTypesInclude(String[] bottomUpModuleTypesInclude)
- {
- this.bottomUpModuleTypesInclude = bottomUpModuleTypesInclude;
- }
-
- public String getId()
- {
- if (id==null)
- {
- id = elem_.getAttribute("id");
- }
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- public String[] getTopDownModuleTypesExclude()
- {
- if (topDownModuleTypesExclude==null)
- {
- String attr = elem_.getAttribute("tdModuleTypesExclude");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- topDownModuleTypesExclude = new String[size];
- for (int i = 0; i < topDownModuleTypesExclude.length; i++)
- topDownModuleTypesExclude[i] = st.nextToken();
- }
- }
- return topDownModuleTypesExclude;
- }
-
- public void setTopDownModuleTypesExclude(String[] topDownModuleTypesExclude)
- {
- this.topDownModuleTypesExclude = topDownModuleTypesExclude;
- }
-
- public String[] getTopDownModuleTypesInclude()
- {
- if (topDownModuleTypesInclude==null)
- {
- String attr = elem_.getAttribute("tdModuleTypesInclude");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- topDownModuleTypesInclude = new String[size];
- for (int i = 0; i < topDownModuleTypesInclude.length; i++)
- topDownModuleTypesInclude[i] = st.nextToken();
- }
- }
- return topDownModuleTypesInclude;
- }
-
- public void setTopDownModuleTypesInclude(String[] topDownModuleTypesInclude)
- {
- this.topDownModuleTypesInclude = topDownModuleTypesInclude;
- }
-
- public WebServiceImpl getWebServiceImpl()
- {
- if (webServiceImpl == null)
- {
- String wsimplId = elem_.getAttribute("implId");
- webServiceImpl = (WebServiceImpl)webServiceImpls_.get(wsimplId);
- }
- return webServiceImpl;
- }
-
- public void setWebServiceImpl1(WebServiceImpl webServiceImpl)
- {
- this.webServiceImpl = webServiceImpl;
- }
-
- public boolean supportsScenario(int scenario)
- {
- switch(scenario)
- {
- case WebServiceScenario.BOTTOMUP:
- String[] bus = getBottomUpModuleTypesInclude();
- if (bus!=null && bus.length>0)
- {
- return true;
- }
- break;
- case WebServiceScenario.TOPDOWN:
- String[] tds = getTopDownModuleTypesInclude();
- if (tds!=null && tds.length>0)
- {
- return true;
- }
- break;
- default:
-
- }
-
- return false;
- }
-
- public String[] getModuleTypesInclude(int scenario)
- {
- switch(scenario)
- {
- case WebServiceScenario.BOTTOMUP:
- return getBottomUpModuleTypesInclude();
- case WebServiceScenario.TOPDOWN:
- return getTopDownModuleTypesInclude();
- default:
- }
-
- return null;
- }
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java
deleted file mode 100644
index d187b3a6a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-
-public class WebServiceClientImpl {
-
- private IConfigurationElement elem_;
- private String id;
- private String label;
-
- public WebServiceClientImpl(IConfigurationElement elem_)
- {
- super();
- this.elem_ = elem_;
- }
-
- public String getId()
- {
- if (id==null)
- {
- id = elem_.getAttribute("id");
- }
- return id;
- }
-
-
- public String getLabel()
- {
- if (label==null)
- {
- label = elem_.getAttribute("label");
- }
- return label;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java
deleted file mode 100644
index b375424c4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import com.ibm.icu.util.StringTokenizer;
-
-public class WebServiceImpl {
-
- private IConfigurationElement elem_;
- private String id;
- private String label;
- private String[] resourceTypeMetadata;
- private String[] extensionMetadata;
- private String objectSelectionWidget;
-
- public WebServiceImpl(IConfigurationElement elem_)
- {
- super();
- this.elem_ = elem_;
- }
-
- public String[] getExtensionMetadata()
- {
- if (extensionMetadata==null)
- {
- String attr = elem_.getAttribute("extensionMetadata");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- extensionMetadata = new String[size];
- for (int i = 0; i < extensionMetadata.length; i++)
- extensionMetadata[i] = st.nextToken();
- }
- }
- return extensionMetadata;
- }
-
-
- public String getId()
- {
- if (id==null)
- {
- id = elem_.getAttribute("id");
- }
- return id;
- }
-
-
- public String getLabel()
- {
- if (label==null)
- {
- label = elem_.getAttribute("label");
- }
- return label;
- }
-
-
- public String[] getResourceTypeMetadata()
- {
- if (resourceTypeMetadata==null)
- {
- String attr = elem_.getAttribute("resourceTypeMetadata");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- resourceTypeMetadata = new String[size];
- for (int i = 0; i < resourceTypeMetadata.length; i++)
- resourceTypeMetadata[i] = st.nextToken();
- }
- }
- return resourceTypeMetadata;
- }
-
- public String getObjectSelectionWidget()
- {
- if (objectSelectionWidget==null)
- {
- objectSelectionWidget = elem_.getAttribute("objectSelectionWidget");
- }
- return objectSelectionWidget;
- }
-
-
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java
deleted file mode 100644
index acb0acc1b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Hashtable;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-public class WebServiceRuntimeExtensionRegistry
-{
-
- private static WebServiceRuntimeExtensionRegistry instance_;
-
- HashMap webServiceTypes_;
-
- ArrayList webServiceTypesList_;
-
- ArrayList webServiceClientTypesList_;
-
- Hashtable webServiceImpls_;
-
- Hashtable webServiceClientImpls_;
-
- Hashtable serviceTypes_;
-
- Hashtable clientTypes_;
-
- Hashtable webServiceRuntimes_;
-
- /**
- * Returns a singleton instance of this class.
- *
- * @return A singleton WebServiceRuntimeExtensionRegistry object.
- */
- public static WebServiceRuntimeExtensionRegistry getInstance()
- {
- if (instance_ == null)
- {
- instance_ = new WebServiceRuntimeExtensionRegistry();
- instance_.load();
- }
- return instance_;
- }
-
- private void load()
- {
- // Can't get rid of webServiceTypes in M4
- webServiceTypes_ = new HashMap();
- webServiceTypesList_ = new ArrayList();
- webServiceClientTypesList_ = new ArrayList();
- webServiceImpls_ = new Hashtable();
- webServiceClientImpls_ = new Hashtable();
- serviceTypes_ = new Hashtable();
- clientTypes_ = new Hashtable();
- webServiceRuntimes_ = new Hashtable();
-
- IExtensionRegistry reg = Platform.getExtensionRegistry();
-
- //Load WebServiceImpls
- IConfigurationElement[] wsImplExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "wsImpl");
-
- for(int idx=0; idx<wsImplExts.length; idx++)
- {
- IConfigurationElement elem = wsImplExts[idx];
-
- if (elem.getName().equals("webServiceImpl"))
- {
- WebServiceImpl wsimpl = new WebServiceImpl(elem);
- webServiceImpls_.put(elem.getAttribute("id"), wsimpl);
- }
- }
-
- //Load WebServiceClientImpls
- IConfigurationElement[] wsClientImplExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "wsClientImpl");
-
- for(int idx=0; idx<wsClientImplExts.length; idx++)
- {
- IConfigurationElement elem = wsClientImplExts[idx];
-
- if (elem.getName().equals("webServiceClientImpl"))
- {
- WebServiceClientImpl wsClientImpl = new WebServiceClientImpl(elem);
- webServiceClientImpls_.put(elem.getAttribute("id"), wsClientImpl);
- }
- }
-
- //Load ServiceTypes
- IConfigurationElement[] serviceTypeExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "serviceType");
-
- for(int idx=0; idx<serviceTypeExts.length; idx++)
- {
- IConfigurationElement elem = serviceTypeExts[idx];
-
- if (elem.getName().equals("serviceType"))
- {
- ServiceType st = new ServiceType(elem,webServiceImpls_);
- serviceTypes_.put(elem.getAttribute("id"), st);
- }
- }
-
- //Load ClientTypes
- IConfigurationElement[] clientTypeExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "clientType");
-
- for(int idx=0; idx<clientTypeExts.length; idx++)
- {
- IConfigurationElement elem = clientTypeExts[idx];
-
- if (elem.getName().equals("clientType"))
- {
- ClientType ct = new ClientType(elem,webServiceClientImpls_);
- clientTypes_.put(elem.getAttribute("id"), ct);
- }
- }
-
- //Load WebSerivceRuntimes
- IConfigurationElement[] wsrtExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "webServiceRuntime");
-
- for(int idx=0; idx<wsrtExts.length; idx++)
- {
- IConfigurationElement elem = wsrtExts[idx];
-
- if (elem.getName().equals("webServiceRuntime"))
- {
- WebServiceRuntimeInfo wsrtInfo = new WebServiceRuntimeInfo(elem, serviceTypes_, clientTypes_);
- webServiceRuntimes_.put(elem.getAttribute("id"), wsrtInfo);
-
- //Update the type lists
- updateWebServiceTypeList(wsrtInfo);
- updateWebServiceClientTypeList(wsrtInfo);
-
- }
- }
- }
-
- private void updateWebServiceTypeList(WebServiceRuntimeInfo wsrtInfo)
- {
- ServiceType[] sts = wsrtInfo.getServiceTypes();
- if (sts != null)
- {
- for (int j = 0; j < sts.length; j++)
- {
- String implId = sts[j].getWebServiceImpl().getId();
- String[] bus = sts[j].getBottomUpModuleTypesInclude();
- String[] tds = sts[j].getTopDownModuleTypesInclude();
- if (bus != null)
- {
- StringBuffer entrybuff = new StringBuffer();
- entrybuff.append(String.valueOf(WebServiceScenario.BOTTOMUP));
- entrybuff.append("/");
- entrybuff.append(implId);
- String entry = entrybuff.toString();
- if (!webServiceTypesList_.contains(entry))
- {
- webServiceTypesList_.add(entry);
- }
- }
- if (tds != null)
- {
- StringBuffer entrybuff = new StringBuffer();
- entrybuff.append(String.valueOf(WebServiceScenario.TOPDOWN));
- entrybuff.append("/");
- entrybuff.append(implId);
- String entry = entrybuff.toString();
- if (!webServiceTypesList_.contains(entry))
- {
- webServiceTypesList_.add(entry);
- }
- }
- }
- }
- }
-
- private void updateWebServiceClientTypeList(WebServiceRuntimeInfo wsrtInfo)
- {
- ClientType[] cts = wsrtInfo.getClientTypes();
- if (cts != null)
- {
- for (int j = 0; j < cts.length; j++)
- {
- String implId = cts[j].getWebServiceClientImpl().getId();
- String[] mods = cts[j].getModuleTypesInclude();
- if (mods != null)
- {
- StringBuffer entrybuff = new StringBuffer();
- entrybuff.append(String.valueOf(WebServiceScenario.CLIENT));
- entrybuff.append("/");
- entrybuff.append(implId);
- String entry = entrybuff.toString();
- if (!webServiceClientTypesList_.contains(entry))
- {
- webServiceClientTypesList_.add(entry);
- }
- }
- }
- }
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java
deleted file mode 100644
index ab2df35e4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.ArrayList;
-import java.util.Hashtable;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-public class WebServiceRuntimeExtensionRegistry2
-{
-
- private static WebServiceRuntimeExtensionRegistry2 instance_;
-
- //webServiceImpls_:
- //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.wsImpl
- //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl
- Hashtable webServiceImpls_;
-
- //webServiceClientImpls_:
- //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.wsClientImpl
- //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceClientImpl
- Hashtable webServiceClientImpls_;
-
- //runtimes_:
- //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.runtimes
- //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor
- Hashtable runtimes_;
-
- //serviceRuntimes_:
- //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.serviceRuntimes
- //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor
- Hashtable serviceRuntimes_;
-
- //clientRuntimes_:
- //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.clientRuntimes
- //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor
- Hashtable clientRuntimes_;
-
- //webServiceTypesList_ contains a list of String values in this form: "scenario/webServiceImplId",
- //where sceanrio the String representation of one of
- //org.eclipse.wst.ws.internal.wsrt.WebServiceScenario.BOTTOM_UP or
- //org.eclipse.wst.ws.internal.wsrt.WebServiceScenario.TOP_DOWN
- //and webServiceImplId is the id attribute of an extension to org.eclipse.jst.ws.consumption.ui.wsImpl
- //This list is used to determine the items displayed in the WebServiceType combo-box of page 1 of the
- //Web serivce wizard.
- ArrayList webServiceTypesList_;
-
- //TODO: Not used. Remove this and all references to it in this class.
- ArrayList webServiceClientTypesList_;
-
-
- /**
- * Returns a singleton instance of this class.
- *
- * @return A singleton WebServiceRuntimeExtensionRegistry2 object.
- */
- public static WebServiceRuntimeExtensionRegistry2 getInstance()
- {
- if (instance_ == null)
- {
- instance_ = new WebServiceRuntimeExtensionRegistry2();
- instance_.load();
- }
- return instance_;
- }
-
- private void load()
- {
- webServiceImpls_ = new Hashtable();
- webServiceClientImpls_ = new Hashtable();
- runtimes_ = new Hashtable();
- serviceRuntimes_ = new Hashtable();
- clientRuntimes_ = new Hashtable();
- webServiceTypesList_ = new ArrayList();
- webServiceClientTypesList_ = new ArrayList();
-
-
- IExtensionRegistry reg = Platform.getExtensionRegistry();
-
-// Load WebServiceImpls by reading all extensions to org.eclipse.jst.ws.consumption.ui.wsImpl
- IConfigurationElement[] wsImplExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "wsImpl");
-
- for(int idx=0; idx<wsImplExts.length; idx++)
- {
- IConfigurationElement elem = wsImplExts[idx];
- if (elem.getName().equals("webServiceImpl"))
- {
- WebServiceImpl wsimpl = new WebServiceImpl(elem);
- webServiceImpls_.put(elem.getAttribute("id"), wsimpl);
- }
- }
-
- //Load WebServiceClientImpls by reading all extensions to org.eclipse.jst.ws.consumption.ui.wsClientImpl
- IConfigurationElement[] wsClientImplExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "wsClientImpl");
-
- for(int idx=0; idx<wsClientImplExts.length; idx++)
- {
- IConfigurationElement elem = wsClientImplExts[idx];
-
- if (elem.getName().equals("webServiceClientImpl"))
- {
- WebServiceClientImpl wsClientImpl = new WebServiceClientImpl(elem);
- webServiceClientImpls_.put(elem.getAttribute("id"), wsClientImpl);
- }
- }
-
- //Load runtimes by reading all extensions to org.eclipse.jst.ws.consumption.ui.runtimes
- IConfigurationElement[] runtimeExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "runtimes");
-
- for(int idx=0; idx<runtimeExts.length; idx++)
- {
- IConfigurationElement elem = runtimeExts[idx];
-
- if (elem.getName().equals("runtime"))
- {
- RuntimeDescriptor rd = new RuntimeDescriptor(elem);
- runtimes_.put(elem.getAttribute("id"), rd);
- }
- }
-
- //Load serviceRuntimes by reading all extensions to org.eclipse.jst.ws.consumption.ui.serviceRuntimes
- IConfigurationElement[] serviceRuntimeExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "serviceRuntimes");
-
- for(int idx=0; idx<serviceRuntimeExts.length; idx++)
- {
- IConfigurationElement elem = serviceRuntimeExts[idx];
-
- if (elem.getName().equals("serviceRuntime"))
- {
- ServiceRuntimeDescriptor rd = new ServiceRuntimeDescriptor(elem, webServiceImpls_, runtimes_);
- serviceRuntimes_.put(elem.getAttribute("id"), rd);
- updateWebServiceTypeList(rd);
- }
- }
-
- //Load clientRuntimes by reading all extensions to org.eclipse.jst.ws.consumption.ui.clientRuntimes
- IConfigurationElement[] clientRuntimeExts = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui", "clientRuntimes");
-
- for(int idx=0; idx<clientRuntimeExts.length; idx++)
- {
- IConfigurationElement elem = clientRuntimeExts[idx];
-
- if (elem.getName().equals("clientRuntime"))
- {
- ClientRuntimeDescriptor rd = new ClientRuntimeDescriptor(elem, webServiceClientImpls_, runtimes_);
- clientRuntimes_.put(elem.getAttribute("id"), rd);
- updateWebServiceClientTypeList(rd);
-
- }
- }
- }
-
- /**
- * Updates the list of Web service types with the provided service runtime's contribution of
- * scenario/webServiceImpl combination.
- * @param descriptor
- */
- private void updateWebServiceTypeList(ServiceRuntimeDescriptor descriptor)
- {
- String serviceImplId = descriptor.getServiceImplementationType().getId();
- boolean bottomUp = descriptor.getBottomUp();
- boolean topDown = descriptor.getTopDown();
- if (bottomUp)
- {
- StringBuffer entrybuff = new StringBuffer();
- entrybuff.append(String.valueOf(WebServiceScenario.BOTTOMUP));
- entrybuff.append("/");
- entrybuff.append(serviceImplId);
- String entry = entrybuff.toString();
- if (!webServiceTypesList_.contains(entry))
- {
- webServiceTypesList_.add(entry);
- }
- }
-
- if (topDown)
- {
- StringBuffer entrybuff = new StringBuffer();
- entrybuff.append(String.valueOf(WebServiceScenario.TOPDOWN));
- entrybuff.append("/");
- entrybuff.append(serviceImplId);
- String entry = entrybuff.toString();
- if (!webServiceTypesList_.contains(entry))
- {
- webServiceTypesList_.add(entry);
- }
- }
- }
-
- private void updateWebServiceClientTypeList(ClientRuntimeDescriptor descriptor)
- {
- String clientImplId = descriptor.getClientImplementationType().getId();
- StringBuffer entrybuff = new StringBuffer();
- entrybuff.append(String.valueOf(WebServiceScenario.CLIENT));
- entrybuff.append("/");
- entrybuff.append(clientImplId);
- String entry = entrybuff.toString();
- if (!webServiceClientTypesList_.contains(entry))
- {
- webServiceClientTypesList_.add(entry);
- }
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java
deleted file mode 100644
index 93e66e437..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java
+++ /dev/null
@@ -1,1937 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060324 116750 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Set;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.server.core.FacetUtil;
-import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.TypeSelectionFilter2;
-import org.eclipse.jst.ws.internal.data.LabelsAndIds;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.ui.ServerUICore;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-/**
- * This class contains numerous utility methods that
- * process the information provided through extension points
- * which are read in WebServiceRuntimeExtensionRegistry2:
- * <ul>
- * <li> org.eclipse.jst.ws.consumption.ui.wsImpl </li>
- * <li> org.eclipse.jst.ws.consumption.ui.wsClientImpl </li>
- * <li> org.eclipse.jst.ws.consumption.ui.runtimes </li>
- * <li> org.eclipse.jst.ws.consumption.ui.serviceRuntimes </li>
- * <li> org.eclipse.jst.ws.consumption.ui.clientRuntimes </li>
- * </ul>
- *
- * to provide answers to common questions regarding which servers,
- * projects, and project types a particular Web service runtime
- * supports.
- * <br/><br/>
- * Teminology used in the javadoc in this class:
- * <ul>
- * <li><b>Web service scenario</b>: One of WebServiceScenario.BOTTOM_UP or WebServiceScenario.TOP_DOWN.</li>
- * <li><b>Web service implementation type</b>: extension to org.eclipse.jst.ws.consumption.ui.wsImpl.
- * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl.</li>
- * <li><b>Web service type</b>: Forward slash separated concatenation of the String representation
- * of a Web service scenario and a Web service implementation type id.
- * For example, "0/org.eclipse.jst.ws.wsImpl.java", represents the bottom up Java bean Web service type.</li>
- * <li><b>Web service client implementation type</b>: extension to org.eclipse.jst.ws.consumption.ui.wsClientImpl.
- * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceClientImpl.</li>
- * <li><b>Web service runtime</b>: extension to org.eclipse.jst.ws.consumption.ui.runtimes.
- * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor</li>
- * <li><b>serviceRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.serviceRuntimes.
- * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor</li>
- * <li><b>clientRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.clientRuntimes.
- * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor</li>
- * <li><b>server type</b>: This is a server tools artifact. You see a list of these when creating a new server
- * in the tool.</li>
- * <li><b>server runtime</b>: This is a server tools artifact. You see a list of these if you go to Preferences,
- * Server > Installed Runtimes in the tool. The Java representation of this is org.eclipse.wst.server.core.IRuntime</li>
- * <li><b>facet runtime</b>: The facet equivalent of a server runtime. The Java representation of this is
- * org.eclipse.wst.common.project.facet.core.runtime.IRuntime. org.eclipse.jst.server.core.FacetUtil
- * provides methods to translate from a server runtime to a facet runtime and vice-versa.</li>
- * </ul>
- */
-public class WebServiceRuntimeExtensionUtils2
-{
- private static WebServiceRuntimeExtensionRegistry2 registry = WebServiceRuntimeExtensionRegistry2.getInstance();
-
- /**
- * Returns the RuntimeDescriptor representing the Web service runtime
- * with an id attribute equal to the provided id
- * @param id
- * @return RuntimeDescriptor representing the Web service runtime
- * with an id attribute equal to the provided id. Returns null
- * if such a RuntimeDescriptor cannot be found.
- */
- public static RuntimeDescriptor getRuntimeById(String id)
- {
- Object result = registry.runtimes_.get(id);
- if (result!=null)
- {
- return (RuntimeDescriptor)result;
- }
- return null;
- }
-
- /**
- * Returns the union of all project types supported by all serviceRuntimes. Used by the
- * ProjectTopology preference page.
- * @return String[] array of template ids. The array may have 0 elements.
- */
- public static String[] getAllServiceProjectTypes()
- {
- ArrayList finalTemplateIdList = new ArrayList();
- Iterator iter = registry.serviceRuntimes_.values().iterator();
-
- //Loop through all the serviceRuntimes
- while (iter.hasNext())
- {
- ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
-
- //Get the templates for this serviceRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(desc.getId());
-
- //Add the template ids to the list if they have not already been added
- Iterator itr = templates.iterator();
- while (itr.hasNext())
- {
- IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
- if (!finalTemplateIdList.contains(template.getId()))
- {
- finalTemplateIdList.add(template.getId());
- }
- }
- }
-
- return (String[])finalTemplateIdList.toArray(new String[]{});
- }
-
- /**
- * Returns the union of all project types supported by all clientRuntimes. Used by the
- * ProjectTopology preference page.
- * @return String[] array of template ids. The array may have 0 elements.
- */
- public static String[] getAllClientProjectTypes()
- {
- ArrayList finalTemplateIdList = new ArrayList();
- Iterator iter = registry.clientRuntimes_.values().iterator();
-
- //Loop through all the clientRuntimes
- while (iter.hasNext())
- {
- ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
-
- //Get the templates for this clientRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(desc.getId());
-
- //Add the template ids to the list if they have not already been added
- Iterator itr = templates.iterator();
- while (itr.hasNext())
- {
- IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
- if (!finalTemplateIdList.contains(template.getId()))
- {
- finalTemplateIdList.add(template.getId());
- }
- }
- }
-
- return (String[])finalTemplateIdList.toArray(new String[]{});
- }
-
- /**
- * Returns the label of a Web service runtime given its id
- * @param runtimeId id of a Web service runtime
- * @return String the label of the Web service runtime with an id equal to runtimeId.
- * Returns null if such a Web service runtime cannot be found.
- */
- public static String getRuntimeLabelById(String runtimeId)
- {
- RuntimeDescriptor desc = getRuntimeById(runtimeId);
- if (desc == null)
- return null;
-
- return desc.getLabel();
- }
-
- /**
- * Returns the RuntimeDescriptor corresponding to the Web service runtime with the provided label
- * @param label label of a Web service runtime
- * @return RuntimeDescriptor corresponding to the Web service runtime with the provided label
- * Returns null if such a Web service runtime cannot be found.
- */
- public static RuntimeDescriptor getRuntimeByLabel(String label)
- {
- Iterator iter = registry.runtimes_.values().iterator();
- while (iter.hasNext())
- {
- RuntimeDescriptor descriptor = (RuntimeDescriptor)iter.next();
- if (descriptor!=null) {
- if (label.equals(descriptor.getLabel()))
- return descriptor;
- }
- }
- return null;
- }
-
- /**
- * Returns the label of an server type given its id
- * @param serverFactoryId id of a server type
- * @return String label of the server type with an id equal to serverFactoryId.
- * Returns null if such a server type cannot be found.
- */
- public static String getServerLabelById(String serverFactoryId)
- {
- IServerType serverType = ServerCore.findServerType(serverFactoryId);
- if (serverType == null)
- return null;
-
- String serverLabel = ServerUICore.getLabelProvider().getText(serverType);
- return serverLabel;
- }
-
- /**
- * Returns the label of an IServer given its id
- * @param instanceId id of an IServer
- * @return String label of the IServer with an id equal to instanceId.
- */
- public static String getServerInstanceLabelFromInstanceId( String instanceId )
- {
- IServer server = ServerCore.findServer( instanceId );
- return server.getName();
- }
-
- /**
- * Returns the union of all server type ids corresponding to the facet runtimes
- * in the provided set.
- * @param facetRuntimes a set containing elements of type {@link IRuntime}.
- * @return an array of IServerType ids. The array may have 0 elements.
- */
- private static String[] getServerFactoryIdsByFacetRuntimes(Set facetRuntimes)
- {
-
- ArrayList supportedServerFactoryIds = new ArrayList();
- String[] serverTypeIds = getAllServerFactoryIdsWithRuntimes();
- Iterator itr = facetRuntimes.iterator();
- while(itr.hasNext())
- {
- IRuntime fRuntime = (IRuntime)itr.next();
- org.eclipse.wst.server.core.IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- for (int i=0; i<serverTypeIds.length; i++)
- {
- IServerType serverType = ServerCore.findServerType(serverTypeIds[i]);
- String runtimeTypeId = serverType.getRuntimeType().getId();
- if (runtimeTypeId.equals(sRuntime.getRuntimeType().getId()))
- {
- supportedServerFactoryIds.add(serverTypeIds[i]);
- }
- }
- }
-
- return (String[])supportedServerFactoryIds.toArray(new String[0]);
-
- //Temporarily return all factory ids with runtimes
- //return getAllServerFactoryIdsWithRuntimes();
- }
-
- //Service-side utilities
- /**
- * Returns a WebServiceImpl given the id of a Web service implementation type.
- * @param id
- * @return WebServiceImpl with the given id
- * Returns null if such a WebServiceImpl cannot be found.
- */
- public static WebServiceImpl getWebServiceImplById(String id)
- {
- Object result = registry.webServiceImpls_.get(id);
- if (result!=null)
- {
- return (WebServiceImpl)result;
- }
- return null;
- }
-
- /**
- * Returns a {@link ServiceRuntimeDescriptor} given the id of a servicRuntime.
- * @param id of a serviceRuntime
- * @return ServiceRuntimeDescriptor with the given id
- * Returns null if such a ServiceRuntimeDescriptor cannot be found.
- */
- public static ServiceRuntimeDescriptor getServiceRuntimeDescriptorById(String id)
- {
- Object result = registry.serviceRuntimes_.get(id);
- if (result!=null)
- {
- return (ServiceRuntimeDescriptor)result;
- }
- return null;
- }
-
- /**
- * Returns the {@link IWebServiceRuntime} of the given serviceRuntime. Extenders provide the fully
- * qualified name of a concrete IWebServiceRuntime in the class attribute of a serviceRuntimes extension.
- * @param serviceRuntimeId id of a serviceRuntime
- * @return IWebServiceRuntime
- */
- public static IWebServiceRuntime getServiceRuntime( String serviceRuntimeId )
- {
- ServiceRuntimeDescriptor descriptor = getServiceRuntimeDescriptorById(serviceRuntimeId);
- IWebServiceRuntime webserviceRuntime = null;
- if (descriptor != null)
- {
- webserviceRuntime = descriptor.getWebServiceRuntime();
- }
-
- return webserviceRuntime;
- }
-
- /**
- * Returns the id of a serviceRuntime that supports the provided Web service type, Web service runtime,
- * server type/server instance (if present), project or project type.
- * @param trs an instance of {@link TypeRuntimeServer} containing a Web service type id, Web service runtime id,
- * server type id and server instance id. The Web service type id and Web service runtime id must be non-null
- * and non-empty. The server type id and server instance id may be null or empty.
- * @param projectName the name of an IProject thay may or mat not exist in the workspace. Must be non-null and
- * non-empty.
- * @param templateId the id of an {@link IFacetedProjectTemplate}. Must be non-null and non-empty if
- * an IProject with the name projectName does not exist in the workspace.
- * @return String id of a serviceRuntime that supports the provided Web service type, Web service runtime,
- * server type/server instance (if present), project or project type. Returns an empty String if no
- * such serviceRuntime could be found.
- */
- public static String getServiceRuntimeId(TypeRuntimeServer trs, String projectName, String templateId)
- {
- boolean serverSelected = (trs.getServerId() != null) && (trs.getServerId().length() > 0);
- //Find the first serviceRuntime that supports the implementation type, runtime, server, and project
- String[] descs = getServiceRuntimesByServiceType(trs.getTypeId());
- for (int i=0; i<descs.length; i++)
- {
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(descs[i]);
- if (desc.getRuntime().getId().equals(trs.getRuntimeId()))
- {
- if (serverSelected)
- {
- boolean supportsServer = doesServiceRuntimeSupportServer(desc.getId(), trs.getServerId());
- if (!supportsServer)
- {
- continue;
- }
- }
-
- IProject project = ProjectUtilities.getProject(projectName);
- if (project.exists())
- {
- if (doesServiceRuntimeSupportProject(desc.getId(), projectName))
- {
- return desc.getId();
- }
- }
- else
- {
- //Check if template is supported
- if (doesServiceRuntimeSupportTemplate(desc.getId(), templateId))
- {
- return desc.getId();
- }
- }
- }
- }
-
- return "";
-
- }
-
- /**
- * Returns the Web service scenario from the Web service type.
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- * @return int scenario (e.g. WebServiceScenario.BOTTOM_UP or WebServiceScenario.TOP_DOWN)
- */
- public static int getScenarioFromTypeId(String typeId)
- {
- return Integer.parseInt(typeId.substring(0,typeId.indexOf("/")));
- }
-
- /**
- * Returns the Web service implemenation type id fron the Web service type id.
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- * @return String the WebServiceImpl id.
- */
- public static String getWebServiceImplIdFromTypeId(String typeId)
- {
- return typeId.substring(typeId.indexOf("/")+1);
- }
-
- /**
- * Returns the ids of all Web service runtimes that support the given
- * Web service type.
- *
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @return String[] array containing the ids of all Web service runtimes that
- * support the given Web service type. The array may have 0 elements.
- */
- public static String[] getRuntimesByServiceType(String typeId)
- {
- int scenario = getScenarioFromTypeId(typeId);
- String implId = getWebServiceImplIdFromTypeId(typeId);
- ArrayList ids = new ArrayList();
- Iterator iter = registry.serviceRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
- //Check if this serviceRuntime supports the implementation type
- if (desc.getServiceImplementationType().getId().equals(implId))
- {
- switch (scenario)
- {
- case WebServiceScenario.BOTTOMUP:
- if (desc.getBottomUp())
- {
- String runtimeId = desc.getRuntime().getId();
- if (!ids.contains(runtimeId))
- {
- ids.add(runtimeId);
- }
- }
- break;
- case WebServiceScenario.TOPDOWN:
- if (desc.getTopDown())
- {
- String runtimeId = desc.getRuntime().getId();
- if (!ids.contains(runtimeId))
- {
- ids.add(runtimeId);
- }
- }
- break;
- default:
- }
- }
- }
-
- return (String[])ids.toArray(new String[]{});
- }
-
- /**
- * Returns the ids of all serviceRuntimes that support the given
- * Web service type.
- *
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @returns String[] array containing the ids of all serviceRuntimes that
- * support the given Web service type. The array may have 0 elements.
- */
- public static String[] getServiceRuntimesByServiceType(String typeId)
- {
- int scenario = getScenarioFromTypeId(typeId);
- String implId = getWebServiceImplIdFromTypeId(typeId);
- ArrayList ids = new ArrayList();
- Iterator iter = registry.serviceRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
- //Check if this serviceRuntime supports the implementation type
- if (desc.getServiceImplementationType().getId().equals(implId))
- {
- switch (scenario)
- {
- case WebServiceScenario.BOTTOMUP:
- if (desc.getBottomUp())
- {
- String serviceRuntimeId = desc.getId();
- ids.add(serviceRuntimeId);
- }
- break;
- case WebServiceScenario.TOPDOWN:
- if (desc.getTopDown())
- {
- String serviceRuntimeId = desc.getId();
- ids.add(serviceRuntimeId);
- }
- break;
- default:
- }
- }
- }
-
- return (String[])ids.toArray(new String[]{});
- }
-
- /**
- * Returns whether or not the given Web service runtime supports the given
- * Web service type.
- *
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @param runtimeId id of a Web service runtime
- *
- * @return boolean <code>true</code> if the given Web service runtime supports the given
- * Web service type. <code>false</code> otherwise.
- */
- public static boolean isRuntimeSupportedForServiceType(String typeId, String runtimeId)
- {
- String[] serviceRuntimeIds = getServiceRuntimesByServiceType(typeId);
- if (serviceRuntimeIds!=null)
- {
- for (int i=0; i < serviceRuntimeIds.length; i++)
- {
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(serviceRuntimeIds[i]);
- if (desc.getRuntime().getId().equals(runtimeId))
- {
- return true;
- }
- }
- }
-
- return false;
- }
-
- /**
- * Returns the ids of all server types that support the given
- * Web service type.
- *
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @returns String[] array containing the ids of all server types that
- * support the given Web service type. The array may have 0 elements.
- */
- public static String[] getServerFactoryIdsByServiceType(String typeId)
- {
- ArrayList serverFactoryIds = new ArrayList();
- String[] srts = getServiceRuntimesByServiceType(typeId);
- if (srts != null)
- {
- for (int i = 0; i < srts.length; i++)
- {
- //Get the runtimes that work for the facets required for this serviceRuntime
- String[] fIds = getServerFactoryIdsByServiceRuntime(srts[i]);
- for (int j=0; j<fIds.length; j++)
- {
- if (!serverFactoryIds.contains(fIds[j]))
- {
- serverFactoryIds.add(fIds[j]);
- }
- }
- }
- }
-
- return (String[])serverFactoryIds.toArray(new String[]{});
-
- //Temporarily return all server type ids.
- //return getAllServerFactoryIdsWithRuntimes();
- }
-
- /**
- * Returns whether or not the given server type supports the given
- * Web service type.
- *
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @param serverFactoryId id of a server type
- *
- * @return boolean <code>true</code> if the given server type supports the given
- * Web service type. <code>false</code> otherwise.
- */
- public static boolean isServerSupportedForChosenServiceType(String typeId, String serverFactoryId)
- {
- String[] fIds = getServerFactoryIdsByServiceType(typeId);
- if (fIds == null)
- {
- return false;
- }
-
- for (int i=0;i<fIds.length;i++)
- {
- if (serverFactoryId.equals(fIds[i]))
- {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns the ids of all server types that support the given
- * serviceRuntime.
- *
- * @param serviceRuntimeId id of a serviceRuntime
- *
- * @returns String[] array containing the ids of all server types that
- * support the given serviceRuntime. The array may have 0 elements.
- */
- public static String[] getServerFactoryIdsByServiceRuntime(String serviceRuntimeId)
- {
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(serviceRuntimeId);
- Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
-
- //Temporarily return all server types
- //return getAllServerFactoryIdsWithRuntimes();
- return getServerFactoryIdsByFacetRuntimes(facetRuntimes);
- }
-
-
-
- /**
- * Returns whether or not the given server type supports the given
- * serviceRuntime.
- *
- * @param serviceRuntimeId id of a serviceRuntime
- * @param serverFactoryId id of a server type
- *
- * @return boolean <code>true</code> if the given server type supports the given
- * serviceRuntime. <code>false</code> otherwise.
- */
- public static boolean doesServiceRuntimeSupportServer(String serviceRuntimeId, String serverFactoryId)
- {
- String[] serverIds = getServerFactoryIdsByServiceRuntime(serviceRuntimeId);
- for (int i=0; i<serverIds.length; i++)
- {
- if (serverIds[i].equals(serverFactoryId))
- {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns the labels and ids of all Web service types. Used to populate the Web service type combo box on
- * page 1 of the Web service wizard.
- * @return {@link LabelsAndIds}
- */
- public static LabelsAndIds getServiceTypeLabels()
- {
- LabelsAndIds labelIds = new LabelsAndIds();
- Iterator iterator = registry.webServiceTypesList_.iterator();
- int size = registry.webServiceTypesList_.size();
- String[] labels = new String[size];
- String[] ids = new String[size];
- int index = 0;
-
- labelIds.setLabels_( labels );
- labelIds.setIds_( ids );
-
- while( iterator.hasNext() )
- {
- String wst = (String)iterator.next();
- int scenario = getScenarioFromTypeId(wst);
- String implId = getWebServiceImplIdFromTypeId(wst);
- WebServiceImpl wsimpl = getWebServiceImplById(implId);
- String impllabel = wsimpl.getLabel();
- ids[index] = wst;
- String scenLabel = "";
- switch(scenario)
- {
- case WebServiceScenario.BOTTOMUP:
- scenLabel = NLS.bind(ConsumptionUIMessages.BOTTOMUP_LABEL, new String[0]);
- break;
- case WebServiceScenario.TOPDOWN:
- scenLabel = NLS.bind(ConsumptionUIMessages.TOPDOWN_LABEL, new String[0]);
- break;
- default:
- }
- labels[index] = NLS.bind(ConsumptionUIMessages.COMBINED_TYPE_AND_RUNTIME_LABEL, new String[]{ scenLabel, impllabel });
- index++;
- }
-
- return labelIds;
- }
-
- /**
- * Returns the id of a Web service runtime that supports the given Web service type.
- *
- * @param typeId will be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @return String id of a Web service runtime that supports the given Web service type.
- * Returns null if such a Web service runtime cannot be found.
- */
- public static String getDefaultRuntimeValueFor(String typeId)
- {
- String[] srIds = getServiceRuntimesByServiceType(typeId);
- if (srIds == null)
- {
- return null;
- }
-
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(srIds[0]);
- return desc.getRuntime().getId();
- }
-
- /**
- * Returns the id of a server type that supports the given Web service type.
- *
- * @param typeId will be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @return String id of a id of a server type that supports the given Web service type.
- * Returns null if such a server type cannot be found.
- */
- public static String getDefaultServerValueFor(String typeId)
- {
- String[] fIds = getServerFactoryIdsByServiceType(typeId);
- if (fIds==null || fIds.length==0)
- return null;
-
- return fIds[0];
- }
-
- /**
- * Returns whether or not the given combination of server type, Web service runtime, and Web service type is
- * supported. Used for validation.
- *
- * @param serverFactoryId id of a server type
- * @param runtimeId id of a Web service runtime
- * @param typeId will be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- *
- * @return boolean <code>true</code> if the given combination of server type, Web service runtime, and Web service type is
- * supported. <code>false</code> otherwise.
- */
- public static boolean isServerRuntimeTypeSupported(String serverFactoryId, String runtimeId, String typeId)
- {
- //Ensure there is at least one serviceRuntime that supports the given type
- String[] serviceRuntimes = getServiceRuntimesByServiceType(typeId);
- if (serviceRuntimes!=null && serviceRuntimes.length>0)
- {
- //Ensure that at least one of these server runtimes supports the given server
- for (int i=0; i<serviceRuntimes.length; i++)
- {
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(serviceRuntimes[i]);
- if (desc.getRuntime().getId().equals(runtimeId))
- {
- //Matches the type and the runtime. Check if it matches the server
- Set runtimes = getRuntimes(desc.getRequiredFacetVersions());
- String[] fIds = getServerFactoryIdsByFacetRuntimes(runtimes);
- for (int j=0; j<fIds.length; j++)
- {
- if (fIds[j].equals(serverFactoryId))
- {
- return true;
- }
- }
- }
- }
- }
-
- //didn't find a match. return false.
- return false;
- }
-
- /**
- * Returns an array of Web service type ids that are suitable for the provided selection.
- * Used to default the Web service type combo box on page 1 of the Web service wizard
- * based on the user's initial selection.
- * @param selection
- * @return String[] an array of Web service type ids that are suitable for the provided selection.
- * Returns null if the selection is empty or no suitable Web service types are found.
- */
- public static String[] getWebServiceTypeBySelection(IStructuredSelection selection)
- {
- TypeSelectionFilter2 tsf = new TypeSelectionFilter2();
- String[] wst = tsf.getWebServiceTypeByInitialSelection(selection, registry.webServiceTypesList_);
- return wst == null ? null : wst;
- }
-
- /**
- * Returns whether or not the given server type supports the given Web service runtime
- *
- * @param runtimeId : id of a Web service runtime
- * @param factoryId : id of a server type
- * @return boolean <code>true</code> if the given server type supports the given
- * Web service runtime for the service side. <code>false</code> otherwise.
- */
- public static boolean doesRuntimeSupportServerForServiceSide(String runtimeId, String factoryId)
- {
- //Get all the ServiceRuntimeDescriptors that point to this runtimeId
- Iterator iter = registry.serviceRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
- //check if this serviceRuntime points to runtimeId
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
- String[] fIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
- for (int j=0; j<fIds.length; j++)
- {
- if (fIds[j].equals(factoryId))
- {
- return true;
- }
- }
- }
- }
-
- //No serviceRuntime matched. Return false.
- return false;
- }
-
- /**
- * Returns the id of a server type that supports the given Web service runtime
- * on the service side.
- *
- * @param runtimeId id of a Web service runtime
- * @return String the id of a server type that supports the given Web service runtime.
- * Returns null if such a server type cannot be found.
- */
- public static String getFirstSupportedServerForServiceSide(String runtimeId)
- {
- //Get all the ServiceRuntimeDescriptors that point to this runtimeId
- Iterator iter = registry.serviceRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
- //check if this serviceRuntime points to runtimeId
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
- String[] factoryIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
- if (factoryIds!=null && factoryIds.length >0)
- {
- return factoryIds[0];
- }
- }
- }
-
- //didn't get a single suitable server type id, return null.
- return null;
- }
-
- /**
- * Returns the names of all projects in the workspace which support the given Web service type
- * and Web service runtime.
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- * @param runtimeId id of a Web service runtime
- * @return String[] array of project names. The array may have 0 elements.
- */
- public static String[] getProjectsForServiceTypeAndRuntime(String typeId, String runtimeId)
- {
- IProject[] projects = FacetUtils.getAllProjects();
- ArrayList validProjects = new ArrayList();
-
- for (int i=0; i<projects.length;i++)
- {
- if (doesServiceTypeAndRuntimeSupportProject(typeId, runtimeId, projects[i].getName()))
- {
- validProjects.add(projects[i].getName());
- }
- }
-
- return (String[])validProjects.toArray(new String[0]);
-
- }
-
- /**
- * Returns whether or not the given project supports the given Web service type and Web service runtime.
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- * @param runtimeId id of a Web service runtime
- * @param projectName name of an IProject in the workspace
- * @return boolean <code>true</code> if the project supports the given Web service type and
- * Web service runtime. Returns <code>false</code>
- * <ul>
- * <li>if the project does not support the given Web service type and Web service runtime or</li>
- * <li>if the project does not exist or</li>
- * <li>if projectName is null or empty</li>
- * </ul>
- */
- public static boolean doesServiceTypeAndRuntimeSupportProject(String typeId, String runtimeId, String projectName)
- {
- String[] descs = getServiceRuntimesByServiceType(typeId);
- for (int j = 0; j < descs.length; j++)
- {
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(descs[j]);
- if (desc.getRuntime().getId().equals(runtimeId))
- {
- if (doesServiceRuntimeSupportProject(descs[j], projectName))
- {
- return true;
- }
- }
- }
-
- return false;
-
- }
-
- /**
- * Returns whether or not the given project supports the given serviceRuntime.
- * @param serviceRuntimeId id of a serviceRuntime
- * @param projectName name of an IProject in the workspace
- * @return boolean <code>true</code> if the project supports the given
- * serviceRuntime. Returns <code>false</code>
- * <ul>
- * <li>if the project does not support the given serviceRuntime or</li>
- * <li>if the project does not exist or</li>
- * <li>if projectName is null or empty</li>
- * </ul>
- */
- public static boolean doesServiceRuntimeSupportProject(String serviceRuntimeId, String projectName)
- {
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(false, serviceRuntimeId, projectName);
- if (fm != null)
- {
- return fm.isMatch();
- }
- else
- {
- return false;
- }
- }
-
-
- /**
- * Returns an array of {@link IFacetedProjectTemplate} ids that support the given Web service type
- * and Web service runtime.
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- * @param runtimeId id of a Web service runtime
- * @return String[] array of {@link IFacetedProjectTemplate} ids that support the given Web service type
- * and Web service runtime. The array may have 0 elements. Returns null if no serviceRuntimes supporting
- * the given Web service type could be found.
- */
- public static String[] getServiceProjectTemplates(String typeId, String runtimeId)
- {
- String[] srIds = getServiceRuntimesByServiceType(typeId);
- if (srIds == null)
- {
- return null;
- }
-
- ArrayList templateIdList = new ArrayList();
- for (int i = 0; i < srIds.length; i++)
- {
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(srIds[i]);
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- //Get the templates for this serviceRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(desc.getId());
-
- //Add the template ids to the list if they have not already been added
- Iterator itr = templates.iterator();
- while (itr.hasNext())
- {
- IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
- if (!templateIdList.contains(template.getId()))
- {
- templateIdList.add(template.getId());
- }
- }
- }
-
- }
-
- return (String[])templateIdList.toArray(new String[]{});
- }
-
- /**
- * Returns whether or not the given {@link IFacetedProjectTemplate} supports the given Web service type
- * and Web service runtime.
- * @param typeId must be a String of the format "0/implId"
- * where the digit before the "/" represents the scenario
- * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
- * @param runtimeId id of a Web service runtime
- * @param templateId id of a {@link IFacetedProjectTemplate}
- * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
- * Web service type and Web service runtime. Returns <code>false</code> otherwise.
- */
- public static boolean doesServiceTypeAndRuntimeSupportTemplate(String typeId, String runtimeId, String templateId)
- {
- String[] srIds = getServiceRuntimesByServiceType(typeId);
- if (srIds == null)
- {
- return false;
- }
-
- for (int i = 0; i < srIds.length; i++)
- {
- ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(srIds[i]);
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- //Get the templates for this serviceRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(srIds[i]);
-
- //Check if any of the template ids match the given one.
- Iterator itr = templates.iterator();
- while (itr.hasNext())
- {
- IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
- if (template.getId().equals(templateId))
- {
- return true;
- }
-
- }
- }
-
- }
-
- return false;
- }
-
- /**
- * Returns whether or not the given {@link IFacetedProjectTemplate} supports the given serviceRuntime.
- * @param serviceRuntimeId id of a serviceRuntime
- * @param templateId id of a {@link IFacetedProjectTemplate}
- * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
- * serviceRuntime. Returns <code>false</code> otherwise.
- */
- public static boolean doesServiceRuntimeSupportTemplate(String serviceRuntimeId, String templateId)
- {
- //Get the templates for this serviceRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(serviceRuntimeId);
- IFacetedProjectTemplate checkingTemplate = ProjectFacetsManager.getTemplate(templateId);
- return templates.contains(checkingTemplate);
- }
-
- //Client-side utilities
- /**
- * Returns a WebServiceClientImpl given the id of a Web service client implementation type.
- * @param id
- * @return {@link WebServiceClientImpl} with the given id
- * Returns null if such a WebServiceClientImpl cannot be found.
- */
- public static WebServiceClientImpl getWebServiceClientImplById(String id)
- {
- Object result = registry.webServiceClientImpls_.get(id);
- if (result!=null)
- {
- return (WebServiceClientImpl)result;
- }
- return null;
- }
-
- /**
- * Returns a {@link ClientRuntimeDescriptor} given the id of a clientRuntime.
- * @param id of a clientRuntime
- * @return ClientRuntimeDescriptor with the given id
- * Returns null if such a ClientRuntimeDescriptor cannot be found.
- */
- public static ClientRuntimeDescriptor getClientRuntimeDescriptorById(String id)
- {
- Object result = registry.clientRuntimes_.get(id);
- if (result!=null)
- {
- return (ClientRuntimeDescriptor)result;
- }
- return null;
- }
-
- /**
- * Returns the {@link IWebServiceRuntime} of the given clientRuntime. Extenders provide the fully
- * qualified name of a concrete IWebServiceRuntime in the class attribute of a clientRuntimes extension.
- * @param clientRuntimeId id of a clientRuntime
- * @return IWebServiceRuntime
- */
- public static IWebServiceRuntime getClientRuntime( String clientRuntimeId )
- {
- ClientRuntimeDescriptor descriptor = getClientRuntimeDescriptorById(clientRuntimeId);
- IWebServiceRuntime webserviceRuntime = null;
- if (descriptor != null)
- {
- webserviceRuntime = descriptor.getWebServiceRuntime();
- }
-
- return webserviceRuntime;
- }
-
- /**
- * Returns the id of a clientRuntime that supports the provided Web service client implementation type, Web service runtime,
- * server type/server instance (if present), project or project type.
- * @param trs an instance of {@link TypeRuntimeServer} containing a Web service client implementation type id, Web service runtime id,
- * server type id and server instance id. The Web service client implementation type id and Web service runtime id must be non-null
- * and non-empty. The server type id and server instance id may be null or empty.
- * @param projectName the name of an IProject thay may or mat not exist in the workspace. Must be non-null and
- * non-empty.
- * @param templateId the id of an {@link IFacetedProjectTemplate}. Must be non-null and non-empty if
- * an IProject with the name projectName does not exist in the workspace.
- * @return String id of a clientRuntime that supports the provided Web service client implementation type, Web service runtime,
- * server type/server instance (if present), project or project type. Returns an empty String if no
- * such clientRuntime could be found.
- */
- public static String getClientRuntimeId(TypeRuntimeServer trs, String projectName, String templateId)
- {
- boolean serverSelected = (trs.getServerId()!=null) && (trs.getServerId().length()>0);
- //Find the first clientRuntime that supports the implementation type, runtime, server, and project
- String[] descs = getClientRuntimesByType(trs.getTypeId());
- for (int i=0; i<descs.length; i++)
- {
- ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(descs[i]);
- if (desc.getRuntime().getId().equals(trs.getRuntimeId()))
- {
- if (serverSelected)
- {
- boolean supportsServer = doesClientRuntimeSupportServer(desc.getId(), trs.getServerId());
- if (!supportsServer)
- {
- continue;
- }
- }
-
- IProject project = ProjectUtilities.getProject(projectName);
- if (project.exists())
- {
- if (doesClientRuntimeSupportProject(desc.getId(), projectName))
- {
- return desc.getId();
- }
- }
- else
- {
- //Check if template is supported
- if (doesClientRuntimeSupportTemplate(desc.getId(), templateId))
- {
- return desc.getId();
- }
- }
- }
- }
-
- return "";
-
- }
-
- /**
- * Returns all Web service runtime ids for the client side.
- * @return String[] array of Web service runtime ids for the client side.
- * The array may have 0 elements.
- */
- public static String[] getAllRuntimesForClientSide()
- {
- ArrayList runtimeIds = new ArrayList();
- Iterator iter = registry.clientRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
- String thisRuntimeId = desc.getRuntime().getId();
- if (!runtimeIds.contains(thisRuntimeId))
- runtimeIds.add(thisRuntimeId);
- }
- return (String[])runtimeIds.toArray(new String[]{});
- }
-
- /**
- * Returns the ids of all clientRuntimes that support the given
- * Web service client implementation type.
- * @param clientImplId id of a Web service client implementation type
- * @returns String[] array containing the ids of all clientRuntimes that
- * support the given Web service client implementation type. The array may have 0 elements.
- */
- public static String[] getClientRuntimesByType(String clientImplId)
- {
- ArrayList ids = new ArrayList();
- Iterator iter = registry.clientRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
- //Check if this serviceRuntime supports the implementation type
- if (desc.getClientImplementationType().getId().equals(clientImplId))
- {
- ids.add(desc.getId());
- }
- }
-
- return (String[])ids.toArray(new String[]{});
- }
-
- /**
- * Returns the ids of all Web service runtimes that support the given
- * Web service client implementation type.
- * @param clientImplId id of a Web service client implementation type
- * @return String[] array containing the ids of all Web service runtimes that
- * support the given Web service client implementation type. The array may have 0 elements.
- */
- public static String[] getRuntimesByClientType(String clientImplId)
- {
- ArrayList runtimeIds = new ArrayList();
- Iterator iter = registry.clientRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
- //Check if this serviceRuntime supports the implementation type
- if (desc.getClientImplementationType().getId().equals(clientImplId))
- {
- if (!runtimeIds.contains(desc.getRuntime().getId()))
- {
- runtimeIds.add(desc.getRuntime().getId());
- }
- }
- }
-
- return (String[])runtimeIds.toArray(new String[]{});
- }
-
- /**
- * Returns whether or not the given Web service runtime supports the given
- * Web service client implementation type.
- * @param clientImplId id of a Web service client implementation type
- * @param runtimeId id of a Web service runtime
- * @return boolean <code>true</code> if the given Web service runtime supports the given
- * Web service client implementation type. <code>false</code> otherwise.
- */
- public static boolean isRuntimeSupportedForClientType(String clientImplId, String runtimeId)
- {
- String[] clientRuntimeIds = getClientRuntimesByType(clientImplId);
- if (clientRuntimeIds!=null)
- {
- for (int i=0; i < clientRuntimeIds.length; i++)
- {
- ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(clientRuntimeIds[i]);
- if (desc.getRuntime().getId().equals(runtimeId))
- {
- return true;
- }
- }
- }
-
- return false;
- }
-
- /**
- * Returns all server type ids with configured server runtimes.
- * @return String[] array of server type ids. The array may have 0 elements.
- */
- public static String[] getAllClientServerFactoryIds()
- {
- //Iterator iter = registry.clientRuntimes_.values().iterator();
- //while (iter.hasNext())
- //{
- //TODO iterate over all the server types and see if their runtime types have an
- //id that matches the runtime type of any of the runtimes.
- // ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
- // Set runtimes = getRuntimes(desc.getRequiredFacetVersions());
- // IServerType[] allServerTypes = ServerCore.getServerTypes();
- //}
- //return (String[])serverFactoryIds.toArray(new String[]{});
- //Temporarily return all server types
- return getAllServerFactoryIdsWithRuntimes();
- }
-
- /**
- * Returns the ids of all server types that support the given
- * Web service client implementation type.
- *
- * @param clientImplId id of a Web service client implementation type
- * @return String[] array containing the ids of all server types that
- * support the given Web service client implementation type. The array may have 0 elements.
- */
- public static String[] getServerFactoryIdsByClientType(String clientImplId)
- {
- ArrayList serverFactoryIds = new ArrayList();
- String[] crts = getClientRuntimesByType(clientImplId);
- if (crts != null)
- {
- for (int i = 0; i < crts.length; i++)
- {
- //Get the runtimes that work for the facets required for this serviceRuntime
- String[] fIds = getServerFactoryIdsByClientRuntime(crts[i]);
- for (int j=0; j<fIds.length; j++)
- {
- if (!serverFactoryIds.contains(fIds[j]))
- {
- serverFactoryIds.add(fIds[j]);
- }
- }
- }
- }
-
- return (String[])serverFactoryIds.toArray(new String[]{});
- }
-
- /**
- * Returns whether or not the given server type supports the given
- * Web service client implementation type.
- * @param clientImplId id of a Web service client implementation type
- * @param serverFactoryId id of a server type
- * @return <code>true</code> if the given server type supports the given
- * Web service client implementation type. <code>false</code> otherwise.
- */
- public static boolean isServerSupportedForChosenClientType(String clientImplId, String serverFactoryId)
- {
- String[] fIds = getServerFactoryIdsByClientType(clientImplId);
- if (fIds == null)
- {
- return false;
- }
-
- for (int i=0;i<fIds.length;i++)
- {
- if (serverFactoryId.equals(fIds[i]))
- {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns the ids of all server types that support the given
- * clientRuntime.
- *
- * @param clientRuntimeId id of a clientRuntime
- * @return String[] array containing the ids of all server types that
- * support the given clientRuntime. The array may have 0 elements.
- */
- public static String[] getServerFactoryIdsByClientRuntime(String clientRuntimeId)
- {
- ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(clientRuntimeId);
- Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
-
- String[] fIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
- return fIds;
- }
-
- /**
- * Returns whether or not the given server type supports the given
- * clientRuntime.
- *
- * @param clientRuntimeId id of a clientRuntime
- * @param serverFactoryId id of a server type
- * @return boolean <code>true</code> if the given server type supports the given
- * clientRuntime. <code>false</code> otherwise.
- */
- public static boolean doesClientRuntimeSupportServer(String clientRuntimeId, String serverFactoryId)
- {
- String[] serverIds = getServerFactoryIdsByClientRuntime(clientRuntimeId);
- for (int i=0; i<serverIds.length; i++)
- {
- if (serverIds[i].equals(serverFactoryId))
- {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns whether or not the given server type supports the given Web service runtime
- *
- * @param runtimeId id of a Web service runtime
- * @param factoryId id of a server type
- * @return boolean <code>true</code> if the given server type supports the given
- * Web service runtime for the client side. <code>false</code> otherwise.
- */
- public static boolean doesRuntimeSupportServerForClientSide(String runtimeId, String factoryId)
- {
- //Get all the ClientRuntimeDescriptors that point to this runtimeId
- Iterator iter = registry.clientRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
- //check if this clientRuntime points to runtimeId
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
- String[] fIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
- for (int i=0; i<fIds.length; i++)
- {
- if (fIds[i].equals(factoryId))
- {
- return true;
- }
- }
- }
- }
-
- //No match.
- return false;
- }
-
- /**
- * Returns the id of a server type that supports the given Web service runtime
- * on the client side.
- *
- * @param runtimeId id of a Web service runtime
- * @return String the id of a server type that supports the given Web service runtime
- * on the client side. Returns null if such a server type cannot be found.
- */
- public static String getFirstSupportedServerForClientSide(String runtimeId)
- {
- //Get all the ClientRuntimeDescriptors that point to this runtimeId
- Iterator iter = registry.clientRuntimes_.values().iterator();
- while (iter.hasNext())
- {
- ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
- //check if this clientRuntime points to runtimeId
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
- String[] factoryIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
- if (factoryIds!=null && factoryIds.length >0)
- {
- return factoryIds[0];
- }
- }
- }
-
- //No suitable servers found. Return null.
- return null;
-
- }
-
-
- /**
- * Returns whether or not the given combination of server type, Web service runtime, and
- * Web service client implementation type is supported. Used for validation.
- *
- * @param serverFactoryId id of a server type
- * @param runtimeId id of a Web service runtime
- * @param clientImplId id of a Web service client implementation type
- * @return boolean <code>true</code> if the given combination of server type, Web service runtime,
- * and Web service client implementation type is supported. <code>false</code> otherwise.
- */
- public static boolean isServerClientRuntimeTypeSupported(String serverFactoryId, String runtimeId, String clientImplId)
- {
- //Ensure there is at least one clientRuntime that supports the given type
- String[] clientRuntimes = getClientRuntimesByType(clientImplId);
- if (clientRuntimes!=null && clientRuntimes.length>0)
- {
- //Ensure that at least one of these server runtimes supports the given server
- for (int i=0; i<clientRuntimes.length; i++)
- {
- ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(clientRuntimes[i]);
- if (desc.getRuntime().getId().equals(runtimeId))
- {
- //Matched type and runtime. Check the server.
- String[] factoryIds = getServerFactoryIdsByClientRuntime(desc.getId());
- for (int j=0; j<factoryIds.length; j++)
- {
- if (factoryIds[j].equals(serverFactoryId))
- {
- return true;
- }
- }
- }
- }
- }
-
- //No match found. return false.
- return false;
- }
-
- /**
- * Returns an array of {@link IFacetedProjectTemplate} ids that support the given Web service client implementation type
- * and Web service runtime.
- *
- * @param clientImplId id of a Web service client implementation type
- * @param runtimeId id of a Web service runtime
- * @return String[] array of {@link IFacetedProjectTemplate} ids that support the given Web service client implementation type
- * and Web service runtime. The array may have 0 elements. Returns null if no clientRuntimes supporting
- * the given Web service client implementation type could be found.
- */
- public static String[] getClientProjectTemplates(String clientImplId, String runtimeId)
- {
- String[] crIds = getClientRuntimesByType(clientImplId);
- if (crIds == null)
- {
- return null;
- }
-
- ArrayList templateIdList = new ArrayList();
- for (int i = 0; i < crIds.length; i++)
- {
- ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(crIds[i]);
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- //Get the templates for this clientRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(desc.getId());
-
- //Add the template ids to the list if they have not already been added
- Iterator itr = templates.iterator();
- while (itr.hasNext())
- {
- IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
- if (!templateIdList.contains(template.getId()))
- {
- templateIdList.add(template.getId());
- }
- }
- }
-
- }
-
- return (String[])templateIdList.toArray(new String[]{});
- }
-
- /**
- * Returns whether or not the given {@link IFacetedProjectTemplate} supports the given
- * Web service client implementation type and Web service runtime.
- *
- * @param clientImplId id of a Web service client implementation type
- * @param runtimeId id of a Web service runtime
- * @param templateId id of a {@link IFacetedProjectTemplate}
- * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
- * Web service client implementation type and Web service runtime. Returns <code>false</code> otherwise.
- */
- public static boolean doesClientTypeAndRuntimeSupportTemplate(String clientImplId, String runtimeId, String templateId)
- {
- String[] crIds = getClientRuntimesByType(clientImplId);
- if (crIds == null)
- {
- return false;
- }
-
- for (int i = 0; i < crIds.length; i++)
- {
- ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(crIds[i]);
- String thisRuntimeId = desc.getRuntime().getId();
- if (thisRuntimeId.equals(runtimeId))
- {
- //Get the templates for this clientRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(crIds[i]);
-
- //Check if the template ids contains the template we're checking for
- Iterator itr = templates.iterator();
- while (itr.hasNext())
- {
- IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
- if (template.getId().equals(templateId))
- {
- return true;
- }
- }
- }
-
- }
-
- return false;
- }
-
-
- /**
- * Returns whether or not the given {@link IFacetedProjectTemplate}
- * supports the given clientRuntime
- *
- * @param clientRuntimeId id of a clientRuntime
- * @param templateId id of a {@link IFacetedProjectTemplate}
- * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
- * clientRuntime. Returns <code>false</code> otherwise.
- */
- public static boolean doesClientRuntimeSupportTemplate(String clientRuntimeId, String templateId)
- {
- //Get the templates for this clientRuntime
- Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(clientRuntimeId);
- IFacetedProjectTemplate checkingTemplate = ProjectFacetsManager.getTemplate(templateId);
- return templates.contains(checkingTemplate);
- }
-
- /**
- * Returns the labels and ids of all Web service client implementation types.
- * Used to populate the Web service client type combo box on
- * page 1 of the Web service wizard and Web service client wizard.
- * @return {@link LabelsAndIds}
- */
- public static LabelsAndIds getClientTypeLabels()
- {
-
- LabelsAndIds labelIds = new LabelsAndIds();
- String[] idsArray = new String[0];
- String[] labelsArray = new String[0];
- labelIds.setIds_(idsArray);
- labelIds.setLabels_(labelsArray);
-
- ArrayList ids = new ArrayList();
- ArrayList labels = new ArrayList();
-
- Iterator itr = registry.clientRuntimes_.values().iterator();
- while(itr.hasNext())
- {
- ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)itr.next();
- WebServiceClientImpl thisClientImpl = desc.getClientImplementationType();
- if (!ids.contains(thisClientImpl.getId()))
- {
- ids.add(thisClientImpl.getId());
- labels.add(thisClientImpl.getLabel());
- }
- }
-
- if (ids.size() > 0)
- {
- idsArray = (String[]) ids.toArray(new String[0]);
- labelsArray = (String[]) labels.toArray(new String[0]);
- labelIds.setIds_(idsArray);
- labelIds.setLabels_(labelsArray);
- }
-
- return labelIds;
-
- }
-
- /**
- * Returns all server type ids for which there are configured server runtimes
- * present in the workspace.
- *
- * @return String[] array of server type ids for which there are configured server runtimes
- * present in the workspace. The array may have 0 elements.
- */
- public static String[] getAllServerFactoryIdsWithRuntimes()
- {
- ArrayList fids = new ArrayList();
- IServerType[] sts = ServerCore.getServerTypes();
- org.eclipse.wst.server.core.IRuntime[] rts = ServerCore.getRuntimes();
-
- for (int i=0; i<sts.length; i++)
- {
- IServerType st = sts[i];
- for (int j=0; j<rts.length; j++)
- {
- org.eclipse.wst.server.core.IRuntime rt = rts[j];
- // If the server type has the same runtime type as this runtime, add it to the list
- String serverTypeRuntimeTypeId = st.getRuntimeType().getId();
- String runtimeRuntimeTypeId = rt.getRuntimeType().getId();
- if (serverTypeRuntimeTypeId.equals(runtimeRuntimeTypeId))
- {
- if (!fids.contains(st.getId()))
- {
- fids.add(st.getId());
- }
- }
- }
- }
-
- return (String[])fids.toArray(new String[0]);
- }
-
- /**
- * Returns the names of all projects in the workspace which support the given Web service client
- * implementation type and Web service runtime.
- *
- * @param typeId id of a Web service client implementation type
- * @param runtimeId id of a Web service runtime
- * @return String[] array of project names. The array may have 0 elements.
- */
- public static String[] getProjectsForClientTypeAndRuntime(String typeId, String runtimeId)
- {
- IProject[] projects = FacetUtils.getAllProjects();
- ArrayList validProjects = new ArrayList();
-
- for (int i=0; i<projects.length;i++)
- {
- if (doesClientTypeAndRuntimeSupportProject(typeId, runtimeId, projects[i].getName()))
- {
- validProjects.add(projects[i].getName());
- }
- }
-
- return (String[])validProjects.toArray(new String[0]);
-
- }
-
- /**
- * Returns whether or not the given project supports the given Web service client implementation type
- * and Web service runtime.
- *
- * @param typeId id of a Web service client implementation type
- * @param runtimeId id of a Web service runtime
- * @param projectName name of an IProject in the workspace
- * @return boolean <code>true</code> if the project supports the given Web service type and
- * Web service runtime. Returns <code>false</code>
- * <ul>
- * <li>if the project does not support the given Web service client implementation type and
- * Web service runtime or</li>
- * <li>if the project does not exist or</li>
- * <li>if projectName is null or empty</li>
- * </ul>
- */
- public static boolean doesClientTypeAndRuntimeSupportProject(String typeId, String runtimeId, String projectName)
- {
- String[] descs = getClientRuntimesByType(typeId);
- for (int j = 0; j < descs.length; j++)
- {
- ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(descs[j]);
- if (desc.getRuntime().getId().equals(runtimeId))
- {
- if (doesClientRuntimeSupportProject(descs[j], projectName))
- {
- return true;
- }
- }
- }
-
- return false;
-
-
- }
-
-
- /**
- * Returns whether or not the given project supports the given clientRuntime.
- * @param clientRuntimeId id of a clientRuntime
- * @param projectName name of an IProject in the workspace
- * @return boolean <code>true</code> if the project supports the given
- * clientRuntime. Returns <code>false</code>
- * <ul>
- * <li>if the project does not support the given clientRuntime or</li>
- * <li>if the project does not exist or</li>
- * <li>if projectName is null or empty</li>
- * </ul>
- */
- public static boolean doesClientRuntimeSupportProject(String clientRuntimeId, String projectName)
- {
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(true, clientRuntimeId, projectName);
- if (fm != null)
- {
- return fm.isMatch();
- }
- else
- {
- return false;
- }
- }
-
- //Utilities used by the ServerRuntimePreferencePage
-
- private static SelectionListChoices serverToRuntimeToJ2EE_;
- private static Hashtable serverFactoryIdByLabel_;
- private static Hashtable runtimeIdByLabel_;
-
- /**
- * Returns the {@link SelectionListChoices} data structure representing the
- * server type > Web service runtime > J2EE cascading lists .
- * {@link SelectionListChoices} is a data structure which is like a cascading
- * set of lists useful for populating a group of combo boxes in which the
- * selection in a given combo box determines the list of items used to populate
- * the combo box below it. The Server Runtime preference page contains two combo
- * boxes: one for server types and, below it, one for Web service runtimes.
- * The server type combo box is meant to contain the list of all available server types
- * that support at least one Web service runtime on either the client or service side.
- * The Web service runtime combo box is meant to contain the subset of Web service runtimes
- * supported by the server type selected in the server type combo box.
- * The SelectionListChoices returned by this method has three lists: server types, Web service runtimes,
- * and J2EE levels. The first two lists correspond to the combo boxes on the preference
- * page and are used to populate them. The J2EE levels list is a historical remnant from
- * when J2EE levels used to be displayed on the preference page. It remains in this
- * data structure with some hard-coded values but is not rendered to the user.
- *
- * @return SelectionListChoices representing the server type > Web service runtime > J2EE cascading lists
- */
- public static SelectionListChoices getServerToRuntimeToJ2EE()
- {
- if (serverToRuntimeToJ2EE_!=null)
- {
- return serverToRuntimeToJ2EE_;
- }
-
- //TODO (see bug 116025): Instead of all server type ids, we should be calculating the set of server
- //types that support at least one Web service runtime on either the client or service side.
- //Getting all server types for now.
- String[] servers = getAllServerFactoryIds();
-
- SelectionList serversList = new SelectionList(servers, 0);
- Vector choices = new Vector();
- for (int i=0; i<servers.length; i++)
- {
- choices.add(getRuntimeChoices(servers[i]));
- }
- serverToRuntimeToJ2EE_ = new SelectionListChoices(serversList, choices);
- return serverToRuntimeToJ2EE_;
-
- }
-
- private static SelectionListChoices getRuntimeChoices(String serverFactoryId)
- {
- //TODO (see bug 116025): Instead of all Web service runtimes, we should be
- //calculating the subset of Web service runtimes supported by the server type
- //with id equal to serverFactoryId. Getting all the Web service runtimes for now.
- Set runtimes = registry.runtimes_.keySet();
- Iterator itr = registry.runtimes_.keySet().iterator();
- String[] runtimeIds = new String[runtimes.size()];
- int i = 0;
- while (itr.hasNext())
- {
- String runtimeId = (String)itr.next();
- runtimeIds[i] = runtimeId;
- i++;
- }
-
- SelectionList runtimesList = new SelectionList(runtimeIds, 0);
- Vector choices = new Vector();
- for (int j=0; j<runtimeIds.length; j++)
- {
- choices.add(getJ2EEChoices(runtimeIds[j]));
- }
- return new SelectionListChoices(runtimesList, choices);
- }
-
- private static SelectionListChoices getJ2EEChoices(String runtimeId)
- {
- //J2EE levels have been removed from the Server Runtime preference page.
- //Return some hard coded values. These will not be rendered on the preference page.
- String[] j2eeVersions = new String[]{"13", "14"};
- SelectionList j2eeVersionsList = new SelectionList(j2eeVersions, 0);
- return new SelectionListChoices(j2eeVersionsList, null);
- }
-
- private static String[] getAllServerFactoryIds()
- {
- //TODO (see bug 116025): Instead of all server type ids, we should be calculating the set of server
- //types that support at least one Web service runtime on either the client or service side.
- //Return all server type ids for now.
- ArrayList ids = new ArrayList();
- if (serverFactoryIdByLabel_ == null)
- {
- serverFactoryIdByLabel_ = new Hashtable();
- IServerType[] serverTypes = ServerCore.getServerTypes();
- for (int i=0; i<serverTypes.length; i++)
- {
- String id = serverTypes[i].getId();
- String label = getServerLabelById(id);
- serverFactoryIdByLabel_.put(label, id);
- ids.add(id);
- }
- }
- else
- {
- Iterator fids = serverFactoryIdByLabel_.values().iterator();
- while (fids.hasNext())
- {
- String fid = (String)fids.next();
- ids.add(fid);
- }
- }
-
- if (ids.size() > 0)
- {
- String[] serverFactoryIds = (String[])ids.toArray(new String[0]);
- return serverFactoryIds;
- }
-
- return null;
- }
-
- /**
- * Returns a server type id given the server type's label
- * @param label server type label
- * @return server type id or null if no server type with the given
- * label is found.
- */
- public static String getServerFactoryId(String label)
- {
- if (label==null || label.length()==0)
- return null;
-
- if (serverFactoryIdByLabel_ == null)
- {
- getAllServerFactoryIds();
- }
-
- if (serverFactoryIdByLabel_.containsKey(label))
- {
- return (String)serverFactoryIdByLabel_.get(label);
- }
- else
- {
- return null;
- }
- }
-
- /**
- * Returns a Web service runtime's id given its label
- * @param label Web service runtime label
- * @return Web service runtime id or null if no
- * Web service runtime with the given label is found.
- */
- public static String getRuntimeId(String label)
- {
-
- if (label==null || label.length()==0)
- return null;
-
- if (runtimeIdByLabel_ == null)
- {
- runtimeIdByLabel_ = new Hashtable();
- Iterator iter = registry.runtimes_.values().iterator();
- while (iter.hasNext())
- {
- RuntimeDescriptor desc = (RuntimeDescriptor)iter.next();
- runtimeIdByLabel_.put(desc.getLabel(), desc.getId());
- }
- }
-
- return (String)runtimeIdByLabel_.get(label);
- }
-
-
- /**
- * Returns a set of facet runtimes that support the given
- * required facet versions.
- * @param requiredFacetVersions an array containing elements of type {@link RequiredFacetVersion}
- * @return Set set of facet runtimes that support the given required facet versions.
- * (element type: {@link IRuntime})
- */
- private static Set getRuntimes(RequiredFacetVersion[] requiredFacetVersions)
- {
- return FacetUtils.getRuntimes(requiredFacetVersions);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java
deleted file mode 100644
index a8e2562d7..000000000
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
-
-import java.util.Hashtable;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
-import com.ibm.icu.util.StringTokenizer;
-
-
-public class WebServiceRuntimeInfo {
-
- private IConfigurationElement elem_;
- private Hashtable allServiceTypes_;
- private Hashtable allClientTypes_;
-
- private String id;
- private String label;
- private ServiceType[] serviceTypes;
- private ClientType[] clientTypes;
- private java.lang.String[] servletLevels;
- private java.lang.String[] j2eeLevels;
- private java.lang.String[] runtimeIds;
- private java.lang.String[] serverFactoryIds;
- private String className;
- private IWebServiceRuntime webServiceRuntime_;
-
- public WebServiceRuntimeInfo(IConfigurationElement elem_, Hashtable allServiceTypes_, Hashtable allClientTypes_)
- {
- super();
- this.elem_ = elem_;
- this.allServiceTypes_ = allServiceTypes_;
- this.allClientTypes_ = allClientTypes_;
- }
-
- public String getClassName()
- {
- if (className==null)
- {
- className=elem_.getAttribute("class");
- }
- return className;
- }
-
-
- public ClientType[] getClientTypes()
- {
- if (clientTypes==null)
- {
- String attr = elem_.getAttribute("clientTypes");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- clientTypes = new ClientType[size];
- for (int i = 0; i < clientTypes.length; i++)
- {
- String ctid = st.nextToken();
- clientTypes[i] = (ClientType)allClientTypes_.get(ctid);
- }
- }
- }
- return clientTypes;
- }
-
-
- public String getId()
- {
- if (id==null)
- {
- id = elem_.getAttribute("id");
- }
- return id;
- }
-
-
- public String getLabel()
- {
- if (label==null)
- {
- label = elem_.getAttribute("label");
- }
- return label;
- }
-
-
- public java.lang.String[] getJ2eeLevels()
- {
- if (j2eeLevels == null)
- {
- String attr = elem_.getAttribute("j2eeLevels");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- j2eeLevels = new String[size];
- for (int i = 0; i < j2eeLevels.length; i++)
- j2eeLevels[i] = st.nextToken();
- }
- }
-
- return j2eeLevels;
- }
-
-
- public java.lang.String[] getRuntimeIds()
- {
- if (runtimeIds == null)
- {
- String attr = elem_.getAttribute("runtimes");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- runtimeIds = new String[size];
- for (int i = 0; i < runtimeIds.length; i++)
- runtimeIds[i] = st.nextToken();
- }
- }
-
- return runtimeIds;
- }
-
-
- public java.lang.String[] getServerFactoryIds()
- {
- if (serverFactoryIds == null)
- {
- String attr = elem_.getAttribute("servers");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- serverFactoryIds = new String[size];
- for (int i = 0; i < serverFactoryIds.length; i++)
- serverFactoryIds[i] = st.nextToken();
- }
- }
- return serverFactoryIds;
- }
-
-
- public ServiceType[] getServiceTypes()
- {
- if (serviceTypes==null)
- {
- String attr = elem_.getAttribute("serviceTypes");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- serviceTypes = new ServiceType[size];
- for (int i = 0; i < serviceTypes.length; i++)
- {
- String ctid = st.nextToken();
- serviceTypes[i] = (ServiceType)allServiceTypes_.get(ctid);
- }
- }
- }
- return serviceTypes;
- }
-
-
- public java.lang.String[] getServletLevels()
- {
- if (servletLevels==null)
- {
- String attr = elem_.getAttribute("servletLevels");
- if (attr != null && attr.length()>0)
- {
- StringTokenizer st = new StringTokenizer(attr, " ");
- int size = st.countTokens();
- servletLevels = new String[size];
- for (int i = 0; i < servletLevels.length; i++)
- servletLevels[i] = st.nextToken();
- }
- }
- return servletLevels;
- }
-
- public IWebServiceRuntime getWebServiceRuntime()
- {
- if (webServiceRuntime_ == null)
- {
- try
- {
- webServiceRuntime_ = (IWebServiceRuntime)elem_.createExecutableExtension("class");
- }
- catch(CoreException ce)
- {
- ce.printStackTrace();
- }
- }
-
- return webServiceRuntime_;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/.classpath b/bundles/org.eclipse.jst.ws.consumption/.classpath
deleted file mode 100644
index 7c69b4f1a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="webserviceutils"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws.consumption/.cvsignore b/bundles/org.eclipse.jst.ws.consumption/.cvsignore
deleted file mode 100644
index ad09d9c9c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/.cvsignore
+++ /dev/null
@@ -1,9 +0,0 @@
-bin
-build.xml
-temp.folder
-webserviceutils.jar
-wsc.jar
-webserviceutilssrc.zip
-wscsrc.zip
-javaCompiler.webserviceutils.jar.args
-javaCompiler.wsc.jar.args
diff --git a/bundles/org.eclipse.jst.ws.consumption/.project b/bundles/org.eclipse.jst.ws.consumption/.project
deleted file mode 100644
index 0758941dc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.consumption</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 1426bed8a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:35:51 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 813550758..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:25 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF
deleted file mode 100644
index df01e20d1..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,60 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.consumption; singleton:=true
-Bundle-Version: 1.0.102.qualifier
-Bundle-ClassPath: wsc.jar,
- webserviceutils.jar
-Bundle-Activator: org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.internal.consumption;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.codegen;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.codegen.bean;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.command.common;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.common;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.datamodel.validate;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.fragments;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.plugin;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.sampleapp.command;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.sampleapp.common;x-internal:=true,
- org.eclipse.jst.ws.internal.consumption.wsfinder;x-internal:=true,
- org.eclipse.jst.ws.util
-Require-Bundle: org.eclipse.jem;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.emf.ecore;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.xsd;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.debug.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jdt.launching;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jface;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.internet.monitor.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.jst.j2ee.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.ejb;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.web;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.common.project.facet.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.server.core;bundle-version="[1.0.102,1.1.0)",
- com.ibm.icu;bundle-version="[3.4.4,3.5.0)",
- org.eclipse.ui;bundle-version="[3.2.0,4.0.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.jst.ws.consumption/about.html b/bundles/org.eclipse.jst.ws.consumption/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.consumption/build.properties b/bundles/org.eclipse.jst.ws.consumption/build.properties
deleted file mode 100644
index 31b6245e1..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/build.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-source.wsc.jar = src/
-source.webserviceutils.jar = webserviceutils/
-jars.compile.order = wsc.jar,\
- webserviceutils.jar
-bin.includes = plugin.properties,\
- plugin.xml,\
- wsc.jar,\
- webserviceutils.jar,\
- META-INF/,\
- about.html
-jars.extra.classpath = ../org.apache.axis/lib/saaj.jar
diff --git a/bundles/org.eclipse.jst.ws.consumption/plugin.properties b/bundles/org.eclipse.jst.ws.consumption/plugin.properties
deleted file mode 100644
index f484e2606..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/plugin.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Consumption
-PLUGIN_PROVIDER=Eclipse.org
-XP_WSFINDER=org.eclipse.jst.ws.internal.consumption.wsfinder
-XP_WEB_SERVICE_START_SERVER_TYPE=WebServiceStartServerType
-XP_SERVER_DEFAULTER=Server Defaulter
diff --git a/bundles/org.eclipse.jst.ws.consumption/plugin.xml b/bundles/org.eclipse.jst.ws.consumption/plugin.xml
deleted file mode 100644
index f6640aacf..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/plugin.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point
- id="wsfinder"
- name="%XP_WSFINDER"/>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point
- id="webServiceStartServerType"
- name="%XP_WEB_SERVICE_START_SERVER_TYPE"/>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point
- id="serverDefaulter"
- name="%XP_SERVER_DEFAULTER"/>
-
-
- <extension
- point="org.eclipse.jst.ws.consumption.webServiceStartServerType">
- <webServiceStartServerType
- factoryId="org.eclipse.jst.server.tomcat.32"
- class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
- id="SERVER_ID_TOMCAT32_LOCAL">
- </webServiceStartServerType>
- <webServiceStartServerType
- factoryId="org.eclipse.jst.server.tomcat.40"
- class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
- id="SERVER_ID_TOMCAT40_LOCAL">
- </webServiceStartServerType>
- <webServiceStartServerType
- factoryId="org.eclipse.jst.server.tomcat.41"
- class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
- id="SERVER_ID_TOMCAT41_LOCAL">
- </webServiceStartServerType>
- <webServiceStartServerType
- factoryId="org.eclipse.jst.server.tomcat.50"
- class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
- id="SERVER_ID_TOMCAT50_LOCAL">
- </webServiceStartServerType>
- <webServiceStartServerType
- factoryId="org.eclipse.jst.server.geronimo.10"
- class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
- id="SERVER_ID_GERONIMO10_LOCAL">
- </webServiceStartServerType>
- </extension>
-
-
-</plugin>
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties
deleted file mode 100644
index 36754615e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties
+++ /dev/null
@@ -1,193 +0,0 @@
-###############################################################################
-# Copyright (c) 2004, 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
-# -------- -------- -----------------------------------------------------------
-# 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060401 128827 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Sample messages
-#
-MSG_ERROR_JTS_PROXY_HAS_NO_METHODS=IWAB0179E Unable to create a sample to the proxy because the proxy does not contain methods.
-MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT=IWAB0180E Unable to create a sample to the proxy because the proxy is not a bean (i.e.. the sample does not have public default constructor).
-MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED=IWAB0181E Unable to create a sample to the proxy because none of the methods in the proxy were processed.
-MSG_WARN_JTS_UNSUPPORTED_TYPE=IWAB0182W The Sample JSP client does not support the following type:
-MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES=IWAB0187W The Sample JSP client does not support Indexed properties.
-MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS=IWAB0237W The Sample JSP client does not support arrays:
-MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS=IWAB0124W The Sample JSP client does not support input parameters that are not beans:
-MSG_ERROR_JTS_CYCLIC_BEAN=IWAB0188E The Sample JSP client does not support beans containing attributes that reference the beans.
-MSG_WARN_JTS_PROXY_METHODS_OMITTED=IWAB0189W The Sample JSP client omitted some methods because they contained unsupported types.
-MSG_ERROR_SAMPLE_CREATION_CANCELED=IWAB0021E Sample creation was canceled
-MSG_WARN_UNABLE_TO_FIND_PROXY=IWAB0022W The Proxy Resource cound not not be found.
-MSG_ERROR_JTS_JSP_GEN=Error in generating sample JSP
-
-# Not used
-#MSG_ERROR_CANNOT_CREATE_COMPONENT=The Web service wizard cannot automatically create component "{0}". Cancel the wizard and create the component manually.
-
-
-#
-# Filters
-#
-FILTER_MSG_ERROR_NULL_OBJECT=IWAB0097E No object has been provided.
-FILTER_MSG_ERROR_NOT_FILE=IWAB0098E The object "{0}" is not a file.
-FILTER_MSG_ERROR_NOT_FOLDER=IWAB0137E The object "{0}" is not a folder.
-
-JAVA_FILTER_NAME=Java files
-JAVA_FILTER_DESC=Files with names ending in ".java" or ".class".
-JAVA_FILTER_MSG_ERROR_WRONG_EXTENSION=IWAB0102E The file "{0}" does not end in ".java" or ".class".
-
-WSDL_FILTER_NAME=WSDL files
-WSDL_FILTER_DESC=Files with names ending in ".wsdl".
-WSDL_FILTER_MSG_ERROR_WRONG_EXTENSION=IWAB0103E The file "{0}" does not end in ".wsdl".
-
-ISD_FILTER_NAME=ISD files
-ISD_FILTER_DESC=Files with names ending in ".isd".
-ISD_FILTER_MSG_ERROR_WRONG_EXTENSION=IWAB0095E The file "{0}" does not end in ".isd".
-
-PROPERTIES_FILTER_NAME=Properties files
-PROPERTIES_FILTER_DESC=Files with names ending in ".properties"
-PROPERTIES_FILTER_MSG_ERROR_WRONG_EXTENSION= The file "{0}" does not end in ".properties".
-
-FOLDER_FILTER_NAME=Folders
-FOLDER_FILTER_DESC=Folders.
-
-#
-# Deployment status
-#
-PROGRESS_INFO_COPY_WEBSERVICE_UTILS=IWAB0023I Copying the webservice utilities.
-PROGRESS_INFO_COPYING_FILE=IWAB0197I Copying SOAP run-time file.
-PROGRESS_INFO_START_WEB_PROJECT=IWAB0198I Starting Web project.
-PROGRESS_INFO_PUBLISHING_SERVER=IWAB0199I Publishing server.
-PROGRESS_INFO_STARTING_SERVER=IWAB0200I Starting server.
-PROGRESS_INFO_PUBLISH_WEB_PROJECT=IWAB0205I Publishing Web project.
-
-
-#
-# Deployment messages
-#
-MSG_ERROR_PROJECT_NOT_FOUND=IWAB0207E Web project was not found.
-MSG_ERROR_FILECOPY_WEBSERVICE_UTILS=IWAB0024E Error in copying Webservice Utility file.
-MSG_ERROR_INSTANCE_NOT_FOUND=IWAB0212E Server was not found.
-MSG_ERROR_SERVER=IWAB0213E Error in starting server.
-MSG_ERROR_PUBLISH=IWAB0217E Error in publishing Web project.
-MSG_ERROR_ADD_MODULE=Error occured when adding the module, {0}, to the server
-
-MSG_ERROR_CREATE_SERVER=IWAB0025E Unable to create server.
-MSG_ERROR_STUB_ONLY=Unable to create server because only stub runtimes are available for the {0} server type. Go to Window > Preferences. Select Server > Installed Runtimes to install a non-stub runtime.
-
-#
-# EJB messages
-# 4 unused messages in jst.ws and wst.ws
-TASK_LABEL_CREATE_EJB_PROJECT=CreateEJBProjectTask
-TASK_DESC_CREATE_EJB_PROJECT=Create an EJB Project.
-MSG_ERROR_CANNOT_CREATE_EJB_PROJECT=IWAB0432E Unable to create EJB project.
-MSG_ERROR_CANNOT_CREATE_APP_CLIENT_PROJECT=IWAB0026E Unable to create application client project {0}.
-
-MSG_ERROR_CANNOT_CREATE_JAVA_PROJECT=IWAB0027E Unable to create Java project {0}.
-MSG_ERROR_CANNOT_CREATE_EAR_PROJECT=IWAB0062E Unable to create EAR project {0}.
-
-#
-# Validator task descriptions
-#
-TASK_LABEL_WEBSERVICE_DISABLE_VALIDATION=Disable validators.
-TASK_DESC_WEBSERVICE_DISABLE_VALIDATION=Temporarily disabling validators.
-TASK_LABEL_WEBSERVICE_RESTORE_VALIDATION=Restore validators.
-TASK_DESC_WEBSERVICE_RESTORE_VALIDATION=Restoring states of validators.
-TASK_LABEL_WEBSERVICE_DISABLE_BUILD=Disable auto build.
-TASK_DESC_WEBSERVICE_DISABLE_BUILD=Temporarily disabling auto build.
-TASK_LABEL_WEBSERVICE_RESTORE_BUILD=Restore auto build.
-TASK_DESC_WEBSERVICE_RESTORE_BUILD=Restoring state of auto build.
-
-#
-# MISC
-#
-MSG_ERROR_WEB_PROJECT_CREATE=IWAB0310E An error occurred during creation of the Web Project.
-
-#
-# CheckProjectOKCommand
-#
-MSG_ERROR_SERVER_VIEW_OPEN=IWAB0126E The server configuration editor is open for {0}. Close it and restart the wizard.
-
-
-#
-# DetectNonJavaCharsCommand
-#
-MSG_WARN_JAVA_METHOD_START_WITH_UPPER_CASE=IWAB0129W Java method {0} in class {1} starts with an upper case letter. Method names should begin with lower case letters.
-MSG_WARN_METHOD_NAME_INVALID=IWAB0131W Java method {0} name contains underscore or numeric digits followed by a lower case letter.\
-Method names should not contain lower case letters after a numeric or underscore.
-MSG_WARN_BOOLEAN_PROPERTY_ACCESSORS=IWAB0132W Boolean property accessor {0} in bean {1} begins with "get". Boolean getter methods should begin wth "is".
-MSG_WARN_PACKAGE_NAME_HAS_UPPER_CASE=IWAB0133W The package name {0} of class {1} includes upper case letters. Package names should consist of lower case letters only.
-
-WARN_BEAN_NAME_STARTS_WITH_LOWER_CASE
-
-#
-# JavaToModelCommand
-#
-LABEL_OK=OK
-DESCRIPTION_OK=Select OK to continue
-
-LABEL_CANCEL=Cancel
-DESCRIPTION_CANCEL=Select Cancel to cancel
-
-#
-# CreateMonitorCommand
-#
-MSG_ERROR_UNABLE_TO_START_MONITOR=IWAB0001E Unable to monitor port {0} of {1}.
-MSG_INFO_MONITORING_NOT_SUPPORTED=IWAB0002I {0} does not support port monitoring.
-
-#
-# CopyWSDLCommand
-#
-COMMAND_LABEL_COPY_WSDL=Copying WSDL
-COMMAND_DESC_COPY_WSDL=Copying WSDL into the workspace for Web service deployment
-MSG_ERROR_COPY_WSDL=IWAB0028E Failed to copy WSDL {0} to {1}
-
-#
-# AssociateModuleWithEARCommand
-#
-MSG_ERROR_UNABLE_TO_ASSOCIATE=Unable to associate component {0} to ear component {1}.
-
-#
-# CreateModuleCommand
-#
-MSG_ERROR_CREATE_FLEX_PROJET=An error occured during creation of flexible project {0}.
-MSG_ERROR_CREATE_EJB_COMPONENT=An error occured during creation of EJB component {0}.
-MSG_ERROR_CREATE_APPCLIENT_COMPONENT=An error occured during creation of Application Client component {0}.
-MSG_ERROR_COMPONENT_CREATION=Unable to create project {0} and/or component {1}.
-
-
-#
-# CreateFacetedProjectCommand
-#
-MSG_ERROR_PROJECT_CREATION=Unable to create project {0}.
-
-
-#
-# PreServiceDevelopCommand
-#
-MSG_ERROR_PROJECT_DOES_NOT_EXIST=The project {0} does not exist.
-MSG_ERROR_PROJECT_IS_NOT_OPEN=The project {0} is not open.
-
-#
-# SPECIAL NOTE TO TRANSLATORS: Substitution {1} in MSG_ERROR_ADDING_FACETS_TO_PROJECT and
-# MSG_ERROR_FIXED_FACETS will be a delimited list of translated labels. The list is formed
-# through repeated use of MSG_FACETS.
-#
-MSG_ERROR_ADDING_FACETS_TO_PROJECT=Unable to add the follwing facets to project {0}: {1}.
-MSG_ERROR_FIXED_FACETS=Unable to set the following facets as fixed on project {0}: {1}.
-MSG_FACETS={0}, {1}
-
-MSG_ERROR_SETTING_RUNTIME=Unable to bind project {0} to the {1} runtime.
-
-#
-# SkeletonMergeCommand Messages
-#
-MSG_ERROR_FILE_MERGE=Error in merging file {0}.
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java
deleted file mode 100644
index aad43c21f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060401 128827 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class ConsumptionMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.consumption.Consumption";//$NON-NLS-1$
-
- private ConsumptionMessages() {
- // Do not instantiate
- }
-
- public static String MSG_ERROR_JTS_PROXY_HAS_NO_METHODS;
- public static String MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT;
- public static String MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED;
- public static String MSG_WARN_JTS_UNSUPPORTED_TYPE;
- public static String MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES;
- public static String MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS;
- public static String MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS;
- public static String MSG_ERROR_JTS_CYCLIC_BEAN;
- public static String MSG_WARN_JTS_PROXY_METHODS_OMITTED;
- public static String MSG_ERROR_SAMPLE_CREATION_CANCELED;
- public static String MSG_WARN_UNABLE_TO_FIND_PROXY;
- public static String MSG_ERROR_JTS_JSP_GEN;
- public static String FILTER_MSG_ERROR_NULL_OBJECT;
- public static String FILTER_MSG_ERROR_NOT_FILE;
- public static String FILTER_MSG_ERROR_NOT_FOLDER;
- public static String JAVA_FILTER_NAME;
- public static String JAVA_FILTER_DESC;
- public static String JAVA_FILTER_MSG_ERROR_WRONG_EXTENSION;
- public static String WSDL_FILTER_NAME;
- public static String WSDL_FILTER_DESC;
- public static String WSDL_FILTER_MSG_ERROR_WRONG_EXTENSION;
- public static String ISD_FILTER_NAME;
- public static String ISD_FILTER_DESC;
- public static String ISD_FILTER_MSG_ERROR_WRONG_EXTENSION;
- public static String PROPERTIES_FILTER_NAME;
- public static String PROPERTIES_FILTER_DESC;
- public static String PROPERTIES_FILTER_MSG_ERROR_WRONG_EXTENSION;
- public static String FOLDER_FILTER_NAME;
- public static String FOLDER_FILTER_DESC;
- public static String PROGRESS_INFO_COPY_WEBSERVICE_UTILS;
- public static String PROGRESS_INFO_COPYING_FILE;
- public static String PROGRESS_INFO_START_WEB_PROJECT;
- public static String PROGRESS_INFO_PUBLISHING_SERVER;
- public static String PROGRESS_INFO_STARTING_SERVER;
- public static String PROGRESS_INFO_PUBLISH_WEB_PROJECT;
- public static String MSG_ERROR_PROJECT_NOT_FOUND;
- public static String MSG_ERROR_FILECOPY_WEBSERVICE_UTILS;
- public static String MSG_ERROR_INSTANCE_NOT_FOUND;
- public static String MSG_ERROR_SERVER;
- public static String MSG_ERROR_PUBLISH;
- public static String MSG_ERROR_ADD_MODULE;
- public static String MSG_ERROR_CREATE_SERVER;
- public static String MSG_ERROR_STUB_ONLY;
- public static String TASK_LABEL_CREATE_EJB_PROJECT;
- public static String TASK_DESC_CREATE_EJB_PROJECT;
- public static String MSG_ERROR_CANNOT_CREATE_EJB_PROJECT;
- public static String MSG_ERROR_CANNOT_CREATE_APP_CLIENT_PROJECT;
- public static String MSG_ERROR_CANNOT_CREATE_JAVA_PROJECT;
- public static String MSG_ERROR_CANNOT_CREATE_EAR_PROJECT;
- public static String TASK_LABEL_WEBSERVICE_DISABLE_VALIDATION;
- public static String TASK_DESC_WEBSERVICE_DISABLE_VALIDATION;
- public static String TASK_LABEL_WEBSERVICE_RESTORE_VALIDATION;
- public static String TASK_DESC_WEBSERVICE_RESTORE_VALIDATION;
- public static String TASK_LABEL_WEBSERVICE_DISABLE_BUILD;
- public static String TASK_DESC_WEBSERVICE_DISABLE_BUILD;
- public static String TASK_LABEL_WEBSERVICE_RESTORE_BUILD;
- public static String TASK_DESC_WEBSERVICE_RESTORE_BUILD;
- public static String MSG_ERROR_WEB_PROJECT_CREATE;
- public static String MSG_ERROR_SERVER_VIEW_OPEN;
- public static String MSG_WARN_JAVA_METHOD_START_WITH_UPPER_CASE;
- public static String MSG_WARN_METHOD_NAME_INVALID;
- public static String MSG_WARN_BOOLEAN_PROPERTY_ACCESSORS;
- public static String MSG_WARN_PACKAGE_NAME_HAS_UPPER_CASE;
- public static String WARN_BEAN_NAME_STARTS_WITH_LOWER_CASE;
- public static String LABEL_OK;
- public static String DESCRIPTION_OK;
- public static String LABEL_CANCEL;
- public static String DESCRIPTION_CANCEL;
- public static String MSG_ERROR_UNABLE_TO_START_MONITOR;
- public static String MSG_INFO_MONITORING_NOT_SUPPORTED;
- public static String COMMAND_LABEL_COPY_WSDL;
- public static String COMMAND_DESC_COPY_WSDL;
- public static String MSG_ERROR_COPY_WSDL;
- public static String MSG_ERROR_UNABLE_TO_ASSOCIATE;
- public static String MSG_ERROR_CREATE_FLEX_PROJET;
- public static String MSG_ERROR_CREATE_EJB_COMPONENT;
- public static String MSG_ERROR_CREATE_APPCLIENT_COMPONENT;
- public static String MSG_ERROR_COMPONENT_CREATION;
- public static String MSG_ERROR_PROJECT_CREATION;
- public static String MSG_ERROR_PROJECT_DOES_NOT_EXIST;
- public static String MSG_ERROR_PROJECT_IS_NOT_OPEN;
- public static String MSG_ERROR_ADDING_FACETS_TO_PROJECT;
- public static String MSG_ERROR_FIXED_FACETS;
- public static String MSG_FACETS;
- public static String MSG_ERROR_SETTING_RUNTIME;
- public static String MSG_ERROR_FILE_MERGE;
-
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, ConsumptionMessages.class);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java
deleted file mode 100644
index 8a2774bf1..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java
+++ /dev/null
@@ -1,245 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060811 153482 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-
-
-
-/**
-* Objects of this class represent a generator.
-* */
-public class Generator implements VisitorAction
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- * The StringBuffer that holds the codegen
- * */
- protected StringBuffer fbuffer;
-
- /**
- * The Visitor that calls the visit method
- * */
- protected Visitor fVisitor;
-
- /**
- * Vector that holds state data for this generator
- * */
- protected Vector fResidentVector;
-
- /*
- * This int holds the current number
- */
- protected int fUniqueNumber =0;
-
-
- protected String fClientFolderPath;
-
- public static final String FACTORY = "Factory";
-
- public static final String TAB = " ";
- public static final String DOUBLE_TAB = " ";
- public static final String SPACE = " ";
-
- /**
- * Constructor.
- *
- */
- public Generator ()
- {
- fbuffer = new StringBuffer();
- fResidentVector = new Vector();
-
- }
-
- /**
- * Constructor.
- * @param StringBuffer Takes the buffer it will write code to
- */
- public Generator (StringBuffer buffer)
- {
- fbuffer = buffer;
- fResidentVector = new Vector();
- }
-
- public void initialize(String resident)
- {
- //nothing to be done but must be implemented
- }
-
- public String getClientFolderPath()
- {
- return fClientFolderPath;
- }
-
- public void setClientFolderPath(String fClientFolderPath_)
- {
- fClientFolderPath = fClientFolderPath_;
- }
-
- protected String serviceName = "";
- protected String portName = "";
- protected String packageName = "";
- protected String proxyBaseName = "";
-
- public void setInfo(String service, String port, String packageName, String proxyBase)
- {
- serviceName = service;
- portName = port;
- this.packageName = packageName;
- proxyBaseName = proxyBase;
- }
-
- private static final char UNDERSCORE = '_';
- public String getSessionBeanId()
- {
- String name = getClientFolderPath();
- int index = name.lastIndexOf("/");
- index++;
- StringBuffer newName = new StringBuffer(name.substring(index));
-
- //We need to make this a valid java identifier
- //To do this we will replace any character that is not valid with an underscore
- for (int i = 0; i < newName.length(); i++)
- {
- char c = newName.charAt(i);
- if (i == 0 && !Character.isJavaIdentifierStart(c) || !Character.isJavaIdentifierPart(c))
- {
- newName.setCharAt(i,UNDERSCORE);
- }
- }
- return newName + "id";
- }
-
- /*
- * The Number Factory is here for naming purposes. In
- * this way we insure no names we create in a piece of
- * code gen are the same. We keep track of the numbers
- * used and we hand back the next one. Like take a number
- * buddy
- * @param int number we are at as the state data has to be settable
- */
- public void setNumberFactory(int number)
- {
- fUniqueNumber = number;
- }
-
-
- /*
- * This is a unique number for state purposes
- * @return int
- */
- public int getNumberFactory()
- {
- return fUniqueNumber;
- }
- /*
- * This is a unique number for naming purposes
- * @return int
- */
- public int getUniqueNumber()
- {
- return fUniqueNumber++;
- }
-
-
- /**
- * returns the current StringBuffer
- * @return StringBuffer Takes the buffer it will write code too
- */
- public StringBuffer getStringBuffer ()
- {
- return fbuffer;
- }
-
-
- /**
- * returns the Visitor that called this generator
- * @return Visitor
- */
- public Visitor getVisitor ()
- {
- return fVisitor;
- }
-
-
-
-
- /**
- * vector used to hold state data
- * @parameter Visitor
- */
- public void putResidentVector (Object object)
- {
- fResidentVector.addElement(object);
- }
-
-
- /**
- * vector used to hold state data
- * @parameter Visitor
- */
- public void setResidentVector (Vector vector)
- {
- fResidentVector = vector;
- }
-
-
- /**
- * returns the resident vector
- * @return Visitor
- */
- public Vector getResidentVector ()
- {
- return fResidentVector;
- }
-
-
- /**
- * This function is used to initialize any state a generator may have
- *
- **/
-
- public void initialize()
- {
- //to be implemented in sublasses
- }
-
-
- /**
- * sets the visitor that calls the visit
- * @parameter Visitor
- */
-
- public void setVisitor(Visitor visitor)
- {
- fVisitor = visitor;
- }
-
-
- public IStatus visit (Object object)
- {
- //implemented by subclasses
- return Status.OK_STATUS;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java
deleted file mode 100644
index fac00ac9b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen;
-
-import java.util.Enumeration;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-import org.eclipse.wst.ws.internal.datamodel.Rel;
-
-
-/**
-* Objects of this class represent a visitor.
-* This vistor will visit elements in a model given a
-* particular rel
-* */
-public class RelVisitor implements Visitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private int fElementCounter;
- private int fTotalElements;
- private String frelName;
-
- /**
- * Constructor.
- *
- */
-
- public RelVisitor (String relName)
- {
- frelName = relName;
- }
-
- public int getTotalElementsToVisit()
- {
- return fTotalElements;
- }
-
- public boolean isLastElement()
- {
- if(getTotalElementsToVisit() - presentElement() == 0) return true;
- return false;
- }
-
- public int presentElement()
- {
- return fElementCounter;
- }
-
- public void initialize(VisitorAction va)
- {
- //implemented by subclasses
- }
- public IStatus run (Object sourceElement,VisitorAction vAction)
- {
- IStatus status = Status.OK_STATUS;
- initialize(vAction);
-
- vAction.setVisitor(this);
- Rel rel = ((BasicElement)sourceElement).getRel(frelName);
- //set some state data
- fTotalElements = rel.getNumberOfTargetElements();
- fElementCounter = 0;
-
- Enumeration e = rel.getTargetElements();
- while (e.hasMoreElements()){
- BasicElement targetElement = (BasicElement)e.nextElement();
- fElementCounter++;
- initialize(vAction);
- status = vAction.visit(targetElement);
- }
- return status;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java
deleted file mode 100644
index c68cdadb0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public interface Visitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public IStatus run (Object object, VisitorAction vAction);
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java
deleted file mode 100644
index 9a3d6537f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-
-
-/**
-* Objects of this class represent a VisitorAction.
-* The visitor walks the model and the VisitorAction
-* does the action
-* */
-public interface VisitorAction
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- public IStatus visit (Object object);
- public void setVisitor(Visitor visitor);
- public void initialize(String residentString);
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java
deleted file mode 100644
index a01a64112..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.bean;
-
-import java.util.Vector;
-import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileAttributeGenerator;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class AttributeVisitor extends RelVisitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private Vector fResidentVector1;
- private Vector fResidentVector2;
-
- /**
- * Constructor.
- *
- */
-
- public AttributeVisitor ()
- {
- super(TypeElement.REL_ATTRIBUTES);
- }
-
- public AttributeVisitor (String rel)
- {
- super(rel);
- }
-
- public void setResidentString(String resident)
- {
- }
-
- public void setResidentVector1(Vector resident)
- {
- fResidentVector1 = resident;
- }
-
- public void setResidentVector2(Vector resident)
- {
- fResidentVector2 = resident;
- }
-
-
- public void initialize(VisitorAction vAction)
- {
- //hack for 197726
-
- if(vAction instanceof InputFileAttributeGenerator){
- if(fResidentVector1 == null) fResidentVector1=new Vector();
- if(fResidentVector2 == null) fResidentVector2=new Vector();
- ((InputFileAttributeGenerator)vAction).setParentGetters(fResidentVector1,fResidentVector2);
- }
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java
deleted file mode 100644
index 5a9ad690a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.bean;
-
-import java.util.Vector;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileAttributeGenerator;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class FieldVisitor extends AttributeVisitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private Vector fResidentVector1;
- private Vector fResidentVector2;
-
- /**
- * Constructor.
- *
- */
-
- public FieldVisitor ()
- {
- super(TypeElement.REL_FIELDS);
- }
-
- public void setResidentString(String resident)
- {
- }
-
- public void setResidentVector1(Vector resident)
- {
- fResidentVector1 = resident;
- }
-
- public void setResidentVector2(Vector resident)
- {
- fResidentVector2 = resident;
- }
-
-
- public void initialize(VisitorAction vAction)
- {
- //hack for 197726
-
- if(vAction instanceof InputFileAttributeGenerator){
- if(fResidentVector1 == null) fResidentVector1=new Vector();
- if(fResidentVector2 == null) fResidentVector2=new Vector();
- ((InputFileAttributeGenerator)vAction).setParentGetters(fResidentVector1,fResidentVector2);
- }
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java
deleted file mode 100644
index 34664622f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.bean;
-
-import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class MethodVisitor extends RelVisitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- * Constructor.
- *
- */
-
- public MethodVisitor ()
- {
- super(BeanElement.REL_METHODS);
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java
deleted file mode 100644
index 0749312d4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.bean;
-
-import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class ParameterVisitor extends RelVisitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- * Constructor.
- *
- */
-
- public ParameterVisitor ()
- {
- super(MethodElement.REL_PARAMETERS);
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java
deleted file mode 100644
index 1f6207072..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.bean;
-
-import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class ReturnParameterVisitor extends RelVisitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- * Constructor.
- *
- */
-
- public ReturnParameterVisitor ()
- {
- super(MethodElement.REL_RETURN_PARAMETERS);
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java
deleted file mode 100644
index d254615d7..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.bean;
-
-import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class TypeVisitor extends RelVisitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- * Constructor.
- *
- */
-
- public TypeVisitor ()
- {
- super(TypeElement.REL_TYPE);
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java
deleted file mode 100644
index 730077693..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofMethodVisitor;
-
-
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a BeanElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk the methods in the JavaClass
-* */
-public class DetectNonJavaCharsBeanVisitorAction extends VisitorActionImpl
-{
- private static char UNDERSCORE = '_';
-
- public DetectNonJavaCharsBeanVisitorAction ( Vector messages, Vector beans)
- {
- super (messages, beans);
- }
-
- /**
- * The visit will create the bean
- * Walk the methods
- * @param JavaClass the class to be used to create the bean model
- **/
- public IStatus visit (Object javaclass)
- {
- JavaClass javaClass = (JavaClass)javaclass;
- String packageName = javaClass.getJavaPackage().getPackageName();
- String beanName = javaClass.getName();
-
- if (!isBeanVisited(javaClass)) {
- addVisitedBean(javaClass);
- // check the bean name
- checkBeanName(beanName);
- checkPackageName(packageName, beanName);
- DetectNonJavaCharsMethodVisitorAction methodVisitorAction = new DetectNonJavaCharsMethodVisitorAction(getMessages(), getBeansVisited());
- JavaMofMethodVisitor methodVisitor = new JavaMofMethodVisitor();
- methodVisitor.run(javaClass,methodVisitorAction);
- }
-
- return Status.OK_STATUS;
- }
-
- private void checkBeanName(String beanName)
- {
-
- // check if the bean starts with a lower case
- if ( Character.isLowerCase(beanName.charAt(0)))
- addMessage(ConsumptionMessages.WARN_BEAN_NAME_STARTS_WITH_LOWER_CASE, new String[]{beanName});
-
-
- //check if the name has an underscore, then next letter should be upper case
- int underScoreIndex = beanName.indexOf(UNDERSCORE);
- String tempName = beanName;
- while(underScoreIndex !=-1) {
- tempName = tempName.substring(underScoreIndex+1);
- if ( Character.isLowerCase(tempName.charAt(0))) {
- addMessage(ConsumptionMessages.MSG_WARN_METHOD_NAME_INVALID, new String[] { beanName });
- break;
- }
- else
- underScoreIndex = tempName.indexOf(UNDERSCORE);
- }
- }
-
- private void checkPackageName(String packageName, String beanName)
- {
- if (!packageName.equals(packageName.toLowerCase()))
- addMessage(ConsumptionMessages.MSG_WARN_PACKAGE_NAME_HAS_UPPER_CASE, new String[] { packageName, beanName });
- }
- }
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java
deleted file mode 100644
index 16bca06e6..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofParameterVisitor;
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a BeanElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk the methods in the JavaClass
-* */
-public class DetectNonJavaCharsMethodVisitorAction extends VisitorActionImpl
-{
- private static char UNDERSCORE = '_';
- private boolean serviceBean = false;
-
- public DetectNonJavaCharsMethodVisitorAction ( Vector messages, Vector beans)
- {
- super (messages, beans);
- if ( beans.size() == 1)
- serviceBean = true;
- }
-
- /**
- * Create a method element from the method
- * @param Method the class to be used to create the method
- **/
- public IStatus visit (Object imethod)
- {
-
- Method method = (Method)imethod;
- String className = method.getContainingJavaClass().getName();
- String name = method.getName();
-
- if ( serviceBean && !method.isConstructor() )
- checkUpperCase(name, className);
-
- // for service bean or any referenced bean property accessors
- if ( serviceBean || name.startsWith("get") || name.startsWith("set") || name.startsWith("is"))
- {
- checkUnderScore(name, className);
- checkNumericDigits(name, className);
- checkBooleanProperties(method, className);
-
- DetectNonJavaCharsParameterVisitorAction parameterVisitorAction = new DetectNonJavaCharsParameterVisitorAction(getMessages(), getBeansVisited());
- // rsk Passing in null for the environment. DetectNonJavaCharsParameterVisitorAction always returns an OK status.
- JavaMofParameterVisitor parameterVisitor = new JavaMofParameterVisitor(null);
- parameterVisitor.run(method, parameterVisitorAction);
- }
-
- return Status.OK_STATUS;
- }
-
- private void checkUpperCase(String name, String className)
- {
- // in a service bean check if any method starts with upper case letter
- if ( Character.isUpperCase(name.charAt(0)))
- addMessage(ConsumptionMessages.MSG_WARN_JAVA_METHOD_START_WITH_UPPER_CASE, new String[]{name, className});
-
- }
-
- private void checkUnderScore(String name, String className)
- {
- //check if the name has an underscore, then next letter should be upper case
- int underScoreIndex = name.indexOf(UNDERSCORE);
- String tempName = name;
- while(underScoreIndex !=-1) {
- tempName = tempName.substring(underScoreIndex+1);
- if ( Character.isLowerCase(tempName.charAt(0))) {
- addMessage(ConsumptionMessages.MSG_WARN_METHOD_NAME_INVALID, new String[]{name, className});
- break;
- }
- else
- underScoreIndex = tempName.indexOf(UNDERSCORE);
- }
- }
-
- private void checkNumericDigits(String name, String className)
- {
- //check if the name has a numeric, then next letter should be upper case
- for ( int i = 0; i < name.length(); i++)
- {
- if ( Character.isDigit(name.charAt(i)))
- {
- if (Character.isLowerCase(name.charAt(i+1))) {
- addMessage(ConsumptionMessages.MSG_WARN_METHOD_NAME_INVALID, new String[]{name, className});
- break;
- }
- }
- }
- }
- private void checkBooleanProperties(Method method, String className)
- {
- if (!serviceBean && method.getName().startsWith("get") &&
- (method.getReturnType().getName().equals("boolean") ||
- method.getReturnType().getName().equals("java.lang.Boolean")))
- addMessage(ConsumptionMessages.MSG_WARN_BOOLEAN_PROPERTY_ACCESSORS, new String[]{method.getName(), className});
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java
deleted file mode 100644
index 680c07964..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.ArrayType;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofBeanVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a BeanElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk the methods in the JavaClass
-* */
-public class DetectNonJavaCharsParameterVisitorAction extends VisitorActionImpl
-{
-
- public DetectNonJavaCharsParameterVisitorAction ( Vector messages, Vector beans)
- {
- super (messages, beans);
- }
-
- /**
- * Create a method element from the method
- * @param Method the class to be used to create the method
- **/
- public IStatus visit (Object ijavaParameter)
- {
-
- JavaParameter javaParameter = (JavaParameter) ijavaParameter;
- JavaClass javaClass = null;
- if ( javaParameter.getJavaType() instanceof JavaClass)
- {
- javaClass = (JavaClass) javaParameter.getJavaType();
- if (javaClass.isArray())
- {
- JavaHelpers componentType = ((ArrayType)javaClass).getComponentTypeAsHelper();
- if (componentType instanceof JavaClass)
- {
- javaClass = (JavaClass)componentType;
- }
- else
- {
- javaClass = null; //The array contains primitive types, there is no need for further checking.
- }
- }
- }
- if (toBeVisited(javaClass)) {
- DetectNonJavaCharsBeanVisitorAction beanVisitorAction = new DetectNonJavaCharsBeanVisitorAction(getMessages(), getBeansVisited());
- JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
- beanVisitor.run(javaClass,beanVisitorAction);
- }
-
- return Status.OK_STATUS;
- }
-
-
- private boolean toBeVisited (JavaClass javaClass)
- {
- //check for recognized types
- if( javaClass == null ||
- javaClass.isPrimitive() ||
- javaClass.getJavaName().startsWith("javax") ||
- TypeFactory.recognizedBean(javaClass.getJavaName()))
- return false;
- else
- return true;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java
deleted file mode 100644
index 1a9ac05d2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofTypeVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a AttributeElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk a complex type
-* */
-public class JavaMofAttributeVisitorAction extends JavaMofBeanVisitorAction
-{
-
- /*
- *Constructor
- **/
- public JavaMofAttributeVisitorAction(Element parentElement, String project, IEnvironment env)
- {
- super(parentElement,project, env);
- }
-
- public IStatus visit (Object propertyDecorator)
- {
- IStatus status = Status.OK_STATUS;
-
- //PropertyDecorator pd = (PropertyDecorator)propertyDecorator;
- SamplePropertyDescriptor pd = (SamplePropertyDescriptor)propertyDecorator;
-
-
- try{
- //if the type of this attribute is unsupported dont make an Attribute
- if(!(getReturnParam() && TypeFactory.isRecognizedReturnType((JavaHelpers)pd.getPropertyType()))
- && (TypeFactory.isUnSupportedType((JavaHelpers)pd.getPropertyType()))){
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)pd.getPropertyType()).getJavaName() );
- //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- //ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)pd.getPropertyType()).getJavaName(),null));
- return status;
- }
-
- Method setMethod = pd.getWriteMethod();
- Method getMethod = pd.getReadMethod();
- if(setMethod != null){
- if(setMethod.isStatic()){
- setMethod=null;
- }
- }
- if(getMethod != null){
- if(getMethod.isStatic()){
- getMethod=null;
- }
- }
- if(pd.isfStatic()){
- return status;
- }
-
- AttributeElement attributeElement = (AttributeElement)BeanModelElementsFactory.getBeanModelElement(propertyDecorator,fParentElement);
-
- if(attributeElement != null){
-
- //lets check and see if the getter takes input params
- //if so throw an error
- //now the inputs
- if(getMethod != null){
- JavaParameter javaParameter[] = getMethod.listParametersWithoutReturn();
- if(javaParameter.length > 0){
- if(getReturnParam()) return status;
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES + getMethod.getName() );
- //getStatusMonitor().reportStatus (new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- // ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES + getMethod.getName(),null));
- return status;
- }
- }
- if(setMethod != null) attributeElement.setSetterMethod(setMethod.getMethodElementSignature());
- if(getMethod != null) attributeElement.setGetterMethod(getMethod.getMethodElementSignature());
-
- JavaMofTypeVisitorAction typeVisitorAction = new JavaMofTypeVisitorAction(attributeElement,clientProject, env_);
- typeVisitorAction.setStatusMonitor(getStatusMonitor());
- typeVisitorAction.setBeansCreated(getBeansCreated());
- typeVisitorAction.setReturnParam(getReturnParam());
- JavaMofTypeVisitor typeVisitor = new JavaMofTypeVisitor(env_);
- typeVisitor.setClientProject(getProject());
- status = typeVisitor.run(pd,typeVisitorAction);
-
- }
-
- return status;
- }catch(Exception e)
- {
- env_.getLog().log(ILog.WARNING, 5054, this, "visit", e);
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN, e);
- try {
- env_.getStatusHandler().report(status);
- } catch (StatusException e1) {
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN);
- }
- return status;
- }
- //env.Log.write(this,"visit",ILog.OK,e);}
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java
deleted file mode 100644
index 9af115278..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java
+++ /dev/null
@@ -1,425 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import java.util.Enumeration;
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.command.NullStatusMonitor;
-import org.eclipse.jst.ws.internal.command.StatusMonitor;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofAttributeVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofFieldVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofMethodVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a BeanElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk the methods in the JavaClass
-* */
-public class JavaMofBeanVisitorAction implements VisitorAction
-{
-
- protected IEnvironment env_;
- protected Visitor fVisitor;
-
- /*
- * The project that defines the context
- **/
- protected String clientProject;
-
- /*
- * The Status monitor
- **/
- protected StatusMonitor monitor_;
-
- /*
- * The model that will be created
- **/
- protected Model fModel;
-
- /*
- * This is the parent element used when creating a
- * new element
- */
- protected Element fParentElement;
-
- /*
- * Methods processed from proxy
- */
- protected Vector fBeansCreated;
-
- private BooleanSelection[] fMethodsSelected;
-
- /*
- * this boolean tells wether the bean is a return parameter or an input parameter
- * usually this should be set around the parametervisitoraction, and passed on from there
- */
- protected boolean fReturnParam=false;
-
- public JavaMofBeanVisitorAction(String clientProject,BooleanSelection[] methods, IEnvironment env)
- {
- this.clientProject = clientProject;
- fMethodsSelected = methods;
- env_ = env;
- }
-
-
-
- /*
- *Constructor
- * @param Model model is the Model that this bean will be placed in
- * @param IProject used in nature
- **/
- public JavaMofBeanVisitorAction(Model model, String clientProject, IEnvironment env)
- {
- this.clientProject = clientProject;
- fModel = model;
- env_ = env;
- }
-
- /*
- *Constructor
- * @param Element the parent element that this element will be added too
- * @param IProject used in nature
- **/
- public JavaMofBeanVisitorAction(Element parentElement, String clientProject, IEnvironment env )
- {
- fParentElement = parentElement;
- this.clientProject = clientProject;
- env_ = env;
- }
-
- /**
- * The visit will create the bean
- * Walk the methods
- * @param JavaClass the class to be used to create the bean model
- **/
- public IStatus visit (Object javaclass)
- {
- Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
- Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
- IStatus status = Status.OK_STATUS;
- JavaClass javaClass = (JavaClass)javaclass;
-
-
- BeanElement beanElement = (BeanElement)BeanModelElementsFactory.getBeanModelElement(javaClass,fParentElement,fModel);
- if(beanElement.isOwnerParameter()) {
- resetBeansCreated();
- }
- fModel = beanElement.getModel();
-
- //this for the subsequent beans that represent types
- //first do the attributes
- //if we are not on the root
- if (!(beanElement == fModel.getRootElement())){
- Enumeration e = getBeansCreated().elements();
- while(e.hasMoreElements()){
- String name = (String)e.nextElement();
- if(name.equals(javaClass.getName())){
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_ERROR_JTS_CYCLIC_BEAN );
- //getStatusMonitor().reportStatus(new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- //WebServiceConsumptionPlugin.getMessage( "%MSG_ERROR_JTS_CYCLIC_BEAN" ),null));
- return status;
- }
- }
-
- JavaMofAttributeVisitorAction attributeVisitorAction = new JavaMofAttributeVisitorAction(beanElement,clientProject, env_);
- //attributeVisitorAction.setStatusMonitor(getStatusMonitor());
- Vector childVector = ((Vector)getBeansCreated().clone());
- childVector.addElement(javaClass.getName());
- attributeVisitorAction.setBeansCreated(childVector);
- attributeVisitorAction.setReturnParam(getReturnParam());
- JavaMofAttributeVisitor attributeVisitor = new JavaMofAttributeVisitor();
- attributeVisitor.setReturnParameter(getReturnParam());
- attributeVisitor.setProject(getProject());
- attributeVisitor.setEnvironment(env_);
- status = attributeVisitor.run(javaClass,attributeVisitorAction);
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
-
- JavaMofFieldVisitorAction fieldVisitorAction = new JavaMofFieldVisitorAction(beanElement,clientProject, env_);
- //fieldVisitorAction.setStatusMonitor(getStatusMonitor());
- Vector childVector2 = ((Vector)getBeansCreated().clone());
- childVector2.addElement(javaClass.getName());
- fieldVisitorAction.setBeansCreated(childVector2);
- fieldVisitorAction.setReturnParam(getReturnParam());
- JavaMofFieldVisitor fieldVisitor = new JavaMofFieldVisitor();
- fieldVisitor.setProject(getProject());
- status = fieldVisitor.run(javaClass,fieldVisitorAction);
- //
- severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
-
- }
-
- //this is to insure we are on the proxy
- //now do the methods
- if (beanElement == fModel.getRootElement()){
- //first lets make sure the proxy is in good form
- //-it has a default constructor
- //-it has at least one method
- //otherwise return the problem in the form of a status
-
- if (!proxyCheck(javaClass, status)) return status;
- JavaMofMethodVisitorAction methodVisitorAction = new JavaMofMethodVisitorAction(beanElement,clientProject, env_);
-
- //methodVisitorAction.setStatusMonitor(getStatusMonitor());
- JavaMofMethodVisitor methodVisitor = new JavaMofMethodVisitor();
- methodVisitor.setMethodSelection(fMethodsSelected);
- status = methodVisitor.run(javaClass,methodVisitorAction);
-
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
- //This is where we check for several things:
- //-if no methods were processed because of unsupported types then we send back that result
- //-if there were any methods omitted we should warn them
-
- //first no methods
- if (!methodVisitorAction.wereMethodsProcessed()){
- //this has to be done to insure the dialog is an error
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED );
- return status;
- //getStatusMonitor().reportStatus( new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,
- // WebServiceConsumptionPlugin.getMessage( "%MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED" ),null));
- }
- //now methods omitted
- else if(methodVisitorAction.wereMethodsOmitted()){
- //The dialog is already a warning so we just need to set the overall message
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_PROXY_METHODS_OMITTED );
- return status;
- //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- // ConsumptionMessages.MSG_WARN_JTS_PROXY_METHODS_OMITTED,null));
- }
- }
- return status;
- }
-
- public void initialize(String resident)
- {
- //nothing to be done but must be implemented
- }
-
-
- /*
- * Return the model that was created
- * @return Model the bean model that was created
- */
- public Model getModel()
- {
- return fModel;
- }
-
- /*
- * The proxy check insures there is a default constructor and
- * at Least one method
- * @param JavaClass javaClass is used to traverse the methods on the proxy
- */
- public boolean proxyCheck(JavaClass javaClass, IStatus status)
- {
- // first check for a method
- Iterator m=javaClass.getPublicMethods().iterator();
- if (!m.hasNext()){
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_METHODS );
- //getStatusMonitor().reportStatus( new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,
- // ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_METHODS,null));
- return false;
- }
- //now check for a default constructor
- while (m.hasNext()) {
- Method method=(Method)m.next();
- if (javaClass.getName().equals(method.getName())){
- //now the inputs
- JavaParameter javaParameter[] = method.listParametersWithoutReturn();
- if (javaParameter.length > 0){
- //then we have no default constructor
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT );
- //getStatusMonitor().reportStatus( new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,
- //ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT,null));
- return false;
- }
- }
- }
- return true;
-
- }
-
- /**
- * Sets the status monitor that this action will use to report status that occres while executing the Action.
- */
- public void setStatusMonitor ( StatusMonitor monitor )
- {
- monitor_ = monitor;
- }
-
- /**
- * Returns the status monitor that this task is using to report status.
- */
- public StatusMonitor getStatusMonitor ()
- {
- if (monitor_ == null)
- {
- monitor_ = new NullStatusMonitor();
- }
- return monitor_;
- }
-
-
- /**
- * check if the action has finished sucsessfully
- */
- /*
- public boolean isSuccessful ()
- {
- return getStatusMonitor().canContinue();
- }
- */
- public void resetBeansCreated()
- {
- fBeansCreated = new Vector();
- }
-
- public void setEnvironment(IEnvironment env)
- {
- env_ = env;
- }
-
- /*
- * The command that called this will get the results of the operation in the form
- * of a status.
- */
- public Vector getBeansCreated ()
- {
- if(fBeansCreated == null) fBeansCreated = new Vector();
- return fBeansCreated;
- }
-
- /*
- * The command that called this will get the results of the operation in the form
- * of a status.
- */
- public void setBeansCreated (Vector beansCreated)
- {
- fBeansCreated = beansCreated;
- }
-
- /*
- * This boolean tells wether we are dealing with a return param
- */
- public boolean getReturnParam ()
- {
- return fReturnParam;
- }
-
- /*
- * This boolean tells wether we are dealing with a return param
- */
- public void setReturnParam (boolean returnparam)
- {
- fReturnParam = returnparam;
- }
-
- /*
- * This boolean tells wether we are dealing with a return param
- */
- public String getProject ()
- {
- return clientProject;
- }
-
- /*
- * This boolean tells wether we are dealing with a return param
- */
- public void setProject (String clientProject)
- {
- this.clientProject = clientProject;
- }
-
-
- /**
- * sets the visitor that calls the visit
- * @parameter Visitor
- */
-
- public void setVisitor(Visitor visitor)
- {
- fVisitor = visitor;
- }
-
- /*
- * Sets the parent element the child then knows where to
- * add itself to the model
- * @param Element parent element
- */
- public void setParentElement(Element element)
- {
- fParentElement = element;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java
deleted file mode 100644
index 143774f22..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.Field;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofTypeVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.FieldElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a AttributeElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk a complex type
-* */
-public class JavaMofFieldVisitorAction extends JavaMofBeanVisitorAction
-{
-
- /*
- *Constructor
- **/
- public JavaMofFieldVisitorAction(Element parentElement, String project, IEnvironment env)
- {
- super(parentElement,project, env);
- }
-
-
- public IStatus visit (Object field_)
- {
- IStatus status = Status.OK_STATUS;
- Field field = (Field)field_;
-
- try{
- //if the type of this attribute is unsupported dont make an Attribute
- if(!(getReturnParam() && TypeFactory.isRecognizedReturnType((JavaHelpers)field.getJavaClass()))
- && (TypeFactory.isUnSupportedType((JavaHelpers)field.getJavaClass()))){
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)field.getJavaClass()).getJavaName() );
- //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- //ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)field.getJavaClass()).getJavaName(),null));
- return status;
- }
-
-
- FieldElement fieldElement = (FieldElement)BeanModelElementsFactory.getBeanModelElement(field,fParentElement);
-
- if(fieldElement != null){
- //lets check and see if the getter takes input params
- //if so throw an error
- //now the inputs
-
- JavaMofTypeVisitorAction typeVisitorAction = new JavaMofTypeVisitorAction(fieldElement,clientProject, env_);
- typeVisitorAction.setStatusMonitor(getStatusMonitor());
- typeVisitorAction.setBeansCreated(getBeansCreated());
- typeVisitorAction.setReturnParam(getReturnParam());
- JavaMofTypeVisitor typeVisitor = new JavaMofTypeVisitor(env_);
- typeVisitor.setClientProject(getProject());
- status = typeVisitor.run(field,typeVisitorAction);
-
- }
- return status;
-
- }catch(Exception e)
- {
- env_.getLog().log(ILog.WARNING, 5055, this, "visit", e);
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN, e);
- try {
- env_.getStatusHandler().report(status);
- }
- catch (StatusException e1)
- {
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN, e1 );
- }
- return status;
- }
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java
deleted file mode 100644
index abe72790a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java
+++ /dev/null
@@ -1,219 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofParameterVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a BeanElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk the methods in the JavaClass
-* */
-public class JavaMofMethodVisitorAction extends JavaMofBeanVisitorAction
-{
-
- public String fUnsupportedParameterName;
-
- /*
- * Methods omitted from the proxy
- */
- protected Vector fMethodsOmitted;
-
- /*
- * Methods processed from proxy
- */
- protected Vector fMethodsProcessed;
-
-
- /*
- *Constructor
- **/
- public JavaMofMethodVisitorAction(Element parentElement,String project, IEnvironment env)
- {
- super(parentElement,project, env);
- fMethodsOmitted = new Vector();
- fMethodsProcessed = new Vector();
-
- }
-
- /**
- * Create a method element from the method
- * @param Method the class to be used to create the method
- **/
- public IStatus visit (Object imethod)
- {
- IStatus status = Status.OK_STATUS;
- Method method = (Method)imethod;
-
- if (methodCheck(method)){
- //this is to check immediate input and return parameters
- //if there is an unsupported type in these we can react immediately
- //we add it to the omitted methods an go to the next one
- if(!parameterCheck(method)){
- status = StatusUtils.warningStatus(ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS + fUnsupportedParameterName );
- //getStatusMonitor().reportStatus (new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- // ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS + fUnsupportedParameterName,null));
- fMethodsOmitted.addElement(method.getMethodElementSignature());
- return status;
- }
- if(!nullConstructor(method)){
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS + fUnsupportedParameterName );
- //getStatusMonitor().reportStatus (new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- // ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS + fUnsupportedParameterName,null));
- fMethodsOmitted.addElement(method.getMethodElementSignature());
- return status;
-
- }
-
- //carry on all parameters supported
- MethodElement methodElement = (MethodElement)BeanModelElementsFactory.getBeanModelElement(method,fParentElement);
- JavaMofParameterVisitorAction parameterVisitorAction = new JavaMofParameterVisitorAction(methodElement,clientProject,env_);
- parameterVisitorAction.setStatusMonitor(getStatusMonitor());
- JavaMofParameterVisitor parameterVisitor = new JavaMofParameterVisitor(env_);
- status = parameterVisitor.run(method,parameterVisitorAction);
- //something may have gone wrong with an internal type
- if (status.getSeverity()!=Status.OK){
- //This method has to be omitted
- fMethodsOmitted.addElement(method.getMethodElementSignature());
- methodElement.setMethodOmmission(true);
- }
- else {
- fMethodsProcessed.addElement(method.getMethodElementSignature());
- }
- }
-
- return status;
- }
-
- /*
- * Tells wether any methods were processed
- * @return boolean true if any methods were processed
- */
- public boolean wereMethodsProcessed()
- {
- if(fMethodsProcessed.isEmpty()) return false;
- return true;
- }
-
- /*
- * Tells wether there were methods omitted because of unsupported types
- * @return boolean true if methods were omitted
- */
- public boolean wereMethodsOmitted()
- {
- if(fMethodsOmitted.isEmpty()) return false;
- return true;
- }
-
- /**
- * There may be methods that we dont support
- * and dont want in the model
- * @param boolean true if all parameters are fine
- **/
- public boolean methodCheck(Method method)
- {
- boolean ok = true;
- // if we have a constructor we return false
- if (method.isConstructor()) return false;
-
-
- return ok;
- }
-
- /**
- * There may be parameters of this method that have types
- * not yet supported return false if we find any
- * @param boolean true if all parameters are fine
- **/
- public boolean parameterCheck(Method method)
- {
-
- boolean ok = true;
-
- //now the inputs
- JavaParameter javaParameter[] = method.listParametersWithoutReturn();
- for (int i = 0;i<javaParameter.length;i++) {
- JavaParameter param=javaParameter[i];
- JavaHelpers javaHelper1 = param.getJavaType();
- if(TypeFactory.isUnSupportedType(javaHelper1)) {
- fUnsupportedParameterName = param.getName();
- return false;
- }
- }
- return ok;
- }
-
-
- /**
- * There may be parameters of this method that have types
- * not yet supported return false if we find any
- * @param boolean true if all parameters are fine
- **/
- public boolean nullConstructor(Method method)
- {
-
- boolean ok = true;
- //now the inputs
- JavaParameter javaParameter[] = method.listParametersWithoutReturn();
- for (int i = 0;i<javaParameter.length;i++) {
- JavaParameter param=javaParameter[i];
- JavaHelpers javaHelper1 = param.getJavaType();
- if(javaHelper1 instanceof JavaClass){
- JavaClass javaClass = (JavaClass)javaHelper1;
- if(TypeFactory.recognizedBean(javaClass.getJavaName()))return true;
- Iterator m=javaClass.getMethods().iterator();
- while (m.hasNext()) {
- Method method2=(Method)m.next();
- if (javaClass.getName().equals(method2.getName())){
- //now the inputs
- JavaParameter javaParam[] = method2.listParametersWithoutReturn();
- if (javaParam.length > 0){
- //then we have no default constructor
- fUnsupportedParameterName = param.getName();
- ok = false;
- }
- else return true;
- }
- }
- }
- }
- return ok;
- }
-
-
-
-
-
-
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java
deleted file mode 100644
index 2a1fb4547..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofTypeVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.ParameterElement;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a parameterElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk to its type
-* */
-public class JavaMofParameterVisitorAction extends JavaMofBeanVisitorAction
-{
-
-
- /*
- *Constructor
- **/
- public JavaMofParameterVisitorAction(Element parentElement,String project, IEnvironment env)
- {
- super(parentElement,project, env);
- }
-
- /**
- * Create a parameter element from the method
- * @param JavaParameter the mof element to be used to create the Parameter
- **/
- public IStatus visit (Object ijavaParameter)
- {
- IStatus status = Status.OK_STATUS;
- Choice OKChoice = new Choice('O',ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
- Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
-
- ParameterElement parameterElement = (ParameterElement)BeanModelElementsFactory.getBeanModelElement(ijavaParameter,fParentElement);
- JavaMofTypeVisitorAction typeVisitorAction = new JavaMofTypeVisitorAction(parameterElement,clientProject, env_);
- //typeVisitorAction.setStatusMonitor(getStatusMonitor());
- typeVisitorAction.setReturnParam(parameterElement.isReturn());
- JavaMofTypeVisitor typeVisitor = new JavaMofTypeVisitor(env_);
- typeVisitor.setClientProject(getProject());
- status = typeVisitor.run(ijavaParameter,typeVisitorAction);
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java
deleted file mode 100644
index 88aa4591b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofBeanVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-
-
-/**
-* Objects of this class represent a JavaMofBeanVisitorAction.
-* This VisitorAction will create a TypeElement using the
-* JavaClass and the BeanModelElementsFactory
-* It will also automatically walk a complex type
-* */
-public class JavaMofTypeVisitorAction extends JavaMofBeanVisitorAction
-{
-
- /*
- *Constructor
- **/
- public JavaMofTypeVisitorAction(Element parentElement,String project, IEnvironment env)
- {
- super(parentElement,project, env);
- }
-
- /**
- * Create a type element from the JavaHelper
- * @param JavaHelper the mof element to be used to create the Type
- **/
- public IStatus visit (Object typeNavigator)
- {
- IStatus status = Status.OK_STATUS;
- Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
- Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
-
- //if bean
- JavaClass javaClass = null;
- if(typeNavigator instanceof JavaClass){
- javaClass = (JavaClass)typeNavigator;
- }
-
-
- /* If we are dealing with a return parameter then we need to treat this differently then if it is an input
- * parameter.
- * We need to first see if it is a special case for return types if not we treat it the same as everything
- * else.
- */
- if(getReturnParam() && TypeFactory.isRecognizedReturnType((JavaHelpers)typeNavigator))
- {
- BeanModelElementsFactory.getBeanModelElement(typeNavigator,fParentElement);
- }
- else{
- if(TypeFactory.isUnSupportedType((JavaHelpers)typeNavigator)){
- status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)typeNavigator).getJavaName() );
- //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
- //ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)typeNavigator).getJavaName(),null));
- return status;
- }
-
- //if javaclass is null then we have a simple type
- if((javaClass == null) || TypeFactory.recognizedBean(javaClass.getJavaName()))
- {
- BeanModelElementsFactory.getBeanModelElement(typeNavigator,fParentElement);
- }
- else{
- JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(fParentElement,clientProject, env_);
- beanVisitorAction.setStatusMonitor(getStatusMonitor());
- beanVisitorAction.setBeansCreated(getBeansCreated());
- beanVisitorAction.setReturnParam(getReturnParam());
- JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
- status = beanVisitor.run(javaClass,beanVisitorAction);
- }
- }
-
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java
deleted file mode 100644
index 35833fbd4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
-
-import java.util.Vector;
-
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.osgi.util.NLS;
-
-
-
-
-
-/**
-* Objects of this class represent a VisitorAction.
-* It will automatically walk the methods in the JavaClass
-* */
-public abstract class VisitorActionImpl implements VisitorAction
-{
-
- private Vector beansVisited = null;
- private Vector messages = null;
-
- public VisitorActionImpl( Vector messages, Vector beansVisited)
- {
- this.messages = messages;
- this.beansVisited = beansVisited;
- }
-
- public void initialize(String resident)
- {
- //nothing to be done but must be implemented
- }
-
- /**
- * Returns the vector of all messages found
- */
- public Vector getMessages ()
- {
- if (messages == null)
- messages = new Vector();
- return messages;
- }
-
- public Vector getBeansVisited()
- {
- if ( beansVisited == null)
- beansVisited = new Vector();
- return beansVisited;
- }
-
- public void addVisitedBean( JavaClass bean)
- {
- if ( beansVisited == null)
- beansVisited = new Vector();
- beansVisited.add(bean);
- }
-
- public boolean isBeanVisited (JavaClass bean)
- {
- return (beansVisited != null && beansVisited.contains(bean));
- }
-
- /**
- * sets the visitor that calls the visit
- * @parameter Visitor
- */
-
- public void setVisitor(Visitor visitor)
- {
- }
-
- protected void addMessage ( String key )
- {
- getMessages().add(key);
- }
-
- protected void addMessage ( String key, Object[] args )
- {
- getMessages().add(NLS.bind(key,args));
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java
deleted file mode 100644
index 6d2d6a044..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Iterator;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.Field;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class JavaMofAttributeVisitor implements Visitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private String clientProject;
- private boolean returnParameter;
- private IEnvironment env;
-
-
- public void setEnvironment(IEnvironment env)
- {
- this.env = env;
- }
-
- /*
- * Use this to reflect
- */
- public void setProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
- /*
- * Use this to reflect
- */
- public String getProject()
- {
- return clientProject;
- }
-
- public void setReturnParameter(boolean returnParameter)
- {
- this.returnParameter = returnParameter;
- }
-
-
- /*
- * Get the attribute belonging to this complex type
- * @param JavaParameter javaParameter that owns the type
- * @param VisitorAction Action to be performed on each method
- **/
- public IStatus run ( Object javaclass, VisitorAction vAction)
- {
- IStatus status = Status.OK_STATUS;
- JavaClass javaClass = (JavaClass)javaclass;
-
- Hashtable spdMap = new Hashtable();
- for (Iterator m=javaClass.getPublicMethods().iterator(); m.hasNext(); ) {
- Method method=(Method)m.next();
- if (((method.getMethodElementSignature().startsWith("get")
- || method.getMethodElementSignature().startsWith("is"))
- && method.listParametersWithoutReturn().length == 0 )
- || (method.getMethodElementSignature().startsWith("set")
- && method.listParametersWithoutReturn().length > 0)) {
- int sub = 3;
- if(method.getMethodElementSignature().startsWith("is"))
- sub = 2;
- String propertyName = method.getMethodElementSignature().substring(sub);
- String lower = propertyName.substring(0,1).toLowerCase();
- String remainder = propertyName.substring(1);
- propertyName = lower + remainder;
- int index = propertyName.lastIndexOf("(");
- String temp = propertyName;
- propertyName = temp.substring(0,index);
-
- //find the propertydescriptor
- SamplePropertyDescriptor spd = (SamplePropertyDescriptor)spdMap.get(propertyName);
- if(spd == null){
- spd = new SamplePropertyDescriptor(propertyName);
- spdMap.put(propertyName,spd);
- }
- if(method.getMethodElementSignature().startsWith("set"))
- spd.setWriteMethod(method);
- else
- spd.setReadMethod(method);
-
- Field field = javaClass.getFieldNamed(propertyName);
- JavaHelpers propertyType = null;
- if(field != null){
- propertyType = (JavaHelpers)field.getEType();
- spd.setfStatic(field.isStatic());
- }
- else{
- if(method.getMethodElementSignature().startsWith("get") || method.getMethodElementSignature().startsWith("is"))
- propertyType = method.getReturnType();
- else{
- JavaParameter params[] = method.listParametersWithoutReturn();
- propertyType = params[0].getJavaType();
- }
- }
-
- spd.setPropertyType(propertyType);
-
- }
- }
- Enumeration spdEnum = spdMap.elements();
- while(spdEnum.hasMoreElements()){
- SamplePropertyDescriptor spd = (SamplePropertyDescriptor)spdEnum.nextElement();
- if(spdCheck(spd))
- status = vAction.visit(spd);
- }
-
- return status;
-
- }
-
- private boolean spdCheck(SamplePropertyDescriptor spd)
- {
- //check for indexed properties
- Method writeMethod = spd.getWriteMethod();
- if(writeMethod != null)
- if(writeMethod.listParametersWithoutReturn().length > 1) return false;
-
- if(spd.getPropertyType() == null) return false;
- if(spd.getPropertyType().isPrimitive()) return true;
- if(returnParameter && TypeFactory.isRecognizedReturnType(spd.getPropertyType())) return true;
- if(!returnParameter && TypeFactory.isUnSupportedType(spd.getPropertyType())) return true;
- if(!checkPolarity(spd)) return false;
-
- // so its a bean make sure it has a default constructor
- JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
- javaMofRef.setClientProject(getProject());
- javaMofRef.setProxyBean(((JavaHelpers)spd.getPropertyType()).getQualifiedName());
- javaMofRef.setEnvironment( env );
- javaMofRef.execute(null, null);
- if(javaMofRef.getJavaClass() instanceof JavaClass){
- if(TypeFactory.recognizedBean(javaMofRef.getJavaClass().getJavaName())) return true;
- return defaultCheck((JavaClass)javaMofRef.getJavaClass());
-
- }
- return true;
-
- }
-
- private boolean checkPolarity(SamplePropertyDescriptor spd){
-
- Method readMethod = spd.getReadMethod();
- Method writeMethod = spd.getWriteMethod();
- if((readMethod == null && writeMethod != null) || (readMethod != null && writeMethod == null))
- return true;
- if(readMethod == null && writeMethod == null)
- return false;
-
- JavaParameter javaParameter[] = writeMethod.listParametersWithoutReturn();
- for(int i = 0;i< javaParameter.length;i++){
- JavaParameter jp = javaParameter[i];
- jp.getJavaType().getJavaName();
- readMethod.getReturnType().getJavaName();
- if(jp.getJavaType().getJavaName().equals(readMethod.getReturnType().getJavaName()))
- return true;
- }
- return false;
- }
-
- private boolean defaultCheck(JavaClass javaClass){
-
- Iterator m=javaClass.getMethods().iterator();
- //now check for a default constructor
- boolean defaultConst = true;
- while (m.hasNext()) {
- Method method=(Method)m.next();
- if (javaClass.getName().equals(method.getName())){
- //now the inputs
- JavaParameter javaParameter[] = method.listParametersWithoutReturn();
- if (javaParameter.length > 0){
- //then we have no default constructor
- defaultConst = false;
- }
- else if(javaParameter.length == 0){
- if (method.getJavaVisibility().getValue() == 0)
- return true;
- }
- }
- }
-
- return defaultConst;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java
deleted file mode 100644
index 2b571f830..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-
-
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class JavaMofBeanVisitor implements Visitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /*
- *Constructor
- **/
- public JavaMofBeanVisitor()
- {
- }
-
- public IStatus run ( Object javaClass, VisitorAction vAction)
- {
- return vAction.visit((JavaClass)javaClass);
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java
deleted file mode 100644
index f693dfab0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
-
-import java.util.Iterator;
-import java.util.ListIterator;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jem.java.Field;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.JavaVisibilityKind;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class JavaMofFieldVisitor implements Visitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private String clientProject;
-
- /*
- * Constructor
- **/
- public JavaMofFieldVisitor()
- {
- }
-
- /*
- * Use this to reflect
- */
- public void setProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
- /*
- * Use this to reflect
- */
- public String getProject()
- {
- return clientProject;
- }
-
- /*
- * Get the attribute belonging to this complex type
- * @param JavaParameter javaParameter that owns the type
- * @param VisitorAction Action to be performed on each method
- **/
- public IStatus run ( Object javaclass, VisitorAction vAction)
- {
- IStatus status = Status.OK_STATUS;
- JavaClass javaClass = (JavaClass)javaclass;
-
- boolean holderClass = false;
- EList implemented = javaClass.getImplementsInterfaces();
- for (int i = 0; i < implemented.size(); i++) {
- JavaClass anInterface = (JavaClass) implemented.get(i);
- if (anInterface.getQualifiedName().equals("javax.xml.rpc.holders.Holder"))
- holderClass = true;
- }
-
- //beaninfo code
- if(holderClass){
- EList e = javaClass.getFields();
- ListIterator list = e.listIterator();
- while(list.hasNext()){
- Field field = (Field)list.next();
- if(field.getJavaVisibility().getValue() == JavaVisibilityKind.PUBLIC && !field.isFinal() && !field.isStatic()){
- if(fieldCheck(field))
- status = vAction.visit(field);
- }
- }
- }
-
- return status;
- }
- private boolean fieldCheck(Field field)
- {
- // so its a bean make sure it has a default constructor
- JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
- javaMofRef.setProxyBean(((JavaHelpers)field.getEType()).getQualifiedName());
- javaMofRef.setClientProject(getProject());
- javaMofRef.execute(null, null);
- if(javaMofRef.getJavaClass() instanceof JavaClass){
- if(TypeFactory.recognizedBean(javaMofRef.getJavaClass().getJavaName())) return true;
- return defaultCheck((JavaClass)javaMofRef.getJavaClass());
- }
- return true;
- }
-
- private boolean defaultCheck(JavaClass javaClass){
-
- Iterator m=javaClass.getMethods().iterator();
- //now check for a default constructor
- boolean defaultConst = true;
- while (m.hasNext()) {
- Method method=(Method)m.next();
- if (javaClass.getName().equals(method.getName())){
- //now the inputs
- JavaParameter javaParameter[] = method.listParametersWithoutReturn();
- if (javaParameter.length > 0){
- //then we have no default constructor
- defaultConst = false;
- }
- else if(javaParameter.length == 0){
- if (method.getJavaVisibility().getValue() == 0)
- return true;
- else if(method.getJavaVisibility().getValue() == 1)
- defaultConst = false;
- }
- }
- }
-
- return defaultConst;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java
deleted file mode 100644
index 3e37c717a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
-
-import java.util.Iterator;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class JavaMofMethodVisitor implements Visitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- public String SET_ENDPOINT = "setEndPoint";
- public String GET_ENDPOINT = "getEndPoint";
- private BooleanSelection[] fMethodsSelected;
-
-
- /*
- * Constructor
- **/
- public JavaMofMethodVisitor()
- {
- }
-
- public String UNDER_SCORE = "_";
-
- /*
- * Run through all the methods in this bean
- * @param JavaClass javaclass that holds the methods
- * @param VisitorAction Action to be performed on each method
- **/
- public IStatus run ( Object javaclass, VisitorAction vAction)
- {
- IStatus status = Status.OK_STATUS;
- JavaClass javaClass = (JavaClass)javaclass;
- for (Iterator m=javaClass.getPublicMethods().iterator(); m.hasNext(); ) {
- Method method=(Method)m.next();
- if(fMethodsSelected != null) {
- boolean methodSelected = false;
- for(int i =0;i < fMethodsSelected.length;i++){
- if(fMethodsSelected[i] == null) continue;
- if ( fMethodsSelected[i].getValue().equals(method.getMethodElementSignature()))
- methodSelected = (boolean) fMethodsSelected[i].isSelected();
- }
-
- method.getName();
-
- if(methodSelected)
- status = vAction.visit(method);
-
- }
- else {
- status = vAction.visit(method);
- }
-
- }
- return status;
- }
-
- public void setMethodSelection(BooleanSelection[] methodSelected)
- {
- fMethodsSelected = methodSelected;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java
deleted file mode 100644
index f297c3d7f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class JavaMofParameterVisitor implements Visitor
-{
- private IEnvironment env_;
-
- /*
- * Constructor
- **/
- public JavaMofParameterVisitor(IEnvironment env)
- {
- env_ = env;
- }
-
- /*
- * Run through all the parameters in this method
- * @param JavaClass javaclass that holds the parameters
- * @param VisitorAction Action to be performed on each method
- **/
- public IStatus run ( Object imethod, VisitorAction vAction)
- {
- IStatus status = Status.OK_STATUS;
- Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
- Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
- Method method = (Method)imethod;
-
- JavaHelpers javaReturnParameter = method.getReturnType();
- //pgm This visitor used to take a JavaParameter type and now it is being called
- // with a JavaHelpers type. Gil, please ensure that this is Ok.
- status = vAction.visit(javaReturnParameter);
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
-
- //now the inputs
- List parameters = method.getParameters();
-
- for (int index = 0; index < parameters.size(); index++)
- {
- JavaParameter param=(JavaParameter)parameters.get(index);
- status = vAction.visit(param);
- //
- severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
- }
-
- return status;
-
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java
deleted file mode 100644
index db1f25571..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.Field;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-
-/**
-* Objects of this class represent a visitor.
-* */
-public class JavaMofTypeVisitor implements Visitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private IEnvironment env_;
-
- private String clientProject;
-
- /*
- * Constructor
- **/
- public JavaMofTypeVisitor(IEnvironment env)
- {
- env_ = env;
- }
-
- /*
- * Use this to reflect
- */
- public void setClientProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
- /*
- * Use this to reflect
- */
- public String getClientProject()
- {
- return clientProject;
- }
-
- /*
- * Get the type belonging to the parameter
- * @param JavaParameter javaParameter that owns the type
- * @param VisitorAction Action to be performed on each method
- **/
- public IStatus run ( Object typeNavigator, VisitorAction vAction)
- {
- IStatus status = Status.OK_STATUS;
- if (typeNavigator instanceof JavaParameter){
-
- JavaParameter javaParameter = (JavaParameter)typeNavigator;
- JavaHelpers javaHelpers = javaParameter.getJavaType();
- status = vAction.visit(javaHelpers);
- }
- else if (typeNavigator instanceof JavaHelpers){
- status = vAction.visit(typeNavigator);
- }
- else if (typeNavigator instanceof SamplePropertyDescriptor){
- SamplePropertyDescriptor pd = (SamplePropertyDescriptor)typeNavigator;
- JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
- javaMofRef.setClientProject(clientProject);
- javaMofRef.setProxyBean(((JavaHelpers)pd.getPropertyType()).getQualifiedName());
- javaMofRef.setEnvironment( env_ );
- status = javaMofRef.execute( null, null );
- if (status.getSeverity()==Status.ERROR)
- return status;
-
- status = vAction.visit(javaMofRef.getJavaClass());
- }
- else if (typeNavigator instanceof Field){
- Field field = (Field)typeNavigator;
- JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
- javaMofRef.setClientProject(clientProject);
- javaMofRef.setProxyBean(((JavaHelpers)field.getEType()).getQualifiedName());
- javaMofRef.setEnvironment( env_ );
-
- status = javaMofRef.execute( null, null );
- if (status.getSeverity()==Status.ERROR)
- return status;
-
- status = vAction.visit(javaMofRef.getJavaClass());
- }
-
- return status;
- }
-
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java
deleted file mode 100644
index 2cd7ffc62..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.debug.core.ILaunchManager;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.server.core.IServer;
-
-public abstract class AbstractStartServer {
-
-protected IProgressMonitor monitor;
-private ILog log_;
-
-public AbstractStartServer()
-{
- log_ = EnvironmentService.getEclipseLog();
-}
-
-/**
- * Execute the command
- */
-public void StartServer (IProject project, IServer server, IProgressMonitor monitor, boolean restart) throws CoreException
-{
- this.monitor = monitor;
-
- try
- {
-
-// IJavaServer javaServer = (IJavaServer) server.getDelegate();
-// addJarsToClassPath(javaServer);
- validateRemoteServerPath(server);
-
- if (server.getServerState() != IServer.STATE_STOPPED) // The Server is running
- {
- if (server.getServerRestartState())
- {
-
- server.synchronousStop(false);
- log_.log(ILog.INFO, 5050, this, "StartServer", "project="+project+", Stop command completed, restart needed");
- publishProject(server);
- startProject(server);
- }
- else
- {
-
- if (restart) // WEB-INF\lib need to be reloaded
- {
- publishProject(server);
- restartProject(project, server);
- }
- }
- }
- else {
-
- publishProject(server);
- startProject(server);
- }
-}
-
- catch (CoreException ce) {
- throw ce;
- }
- catch (Exception e) {
- throw new CoreException(new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,ConsumptionMessages.MSG_ERROR_SERVER,e));
- }
-}
-
-protected void publishProject(IServer server) throws CoreException
-{
- monitor.subTask( ConsumptionMessages.PROGRESS_INFO_PUBLISHING_SERVER );
- IStatus status = server.publish(IServer.PUBLISH_INCREMENTAL, monitor);
- if (status.getSeverity() != IStatus.OK)
- throw new CoreException(status);
- log_.log(ILog.INFO, 5051, this, "publishProject", "IServer="+server+", Publish command completed");
- }
-
-protected void startProject(IServer server) throws CoreException
-{
- try
- {
- monitor.subTask( ConsumptionMessages.PROGRESS_INFO_STARTING_SERVER );
- server.synchronousStart(ILaunchManager.RUN_MODE, monitor);
- log_.log(ILog.INFO, 5052, this, "startProject", "IServer="+server+", Start command completed");
-
- }
- catch (Exception e) {
- throw new CoreException(new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,ConsumptionMessages.MSG_ERROR_SERVER,e));
- }
-}
-
-protected void restartProject(IProject project, IServer server) throws CoreException
-{
- //Do nothing
-}
-
-public void runPreServerConfig(IServer server, IProject EARProject){
-
- return;
-
-}
-
-public void runPostServerConfig(IServer server, IProject EARProject){
-
- return;
-}
-
-
-protected abstract void addJarsToClassPath(IServer server) throws CoreException;
-protected abstract void validateRemoteServerPath(IServer server) throws CoreException;
-
-public void stopServer(IServer server) throws CoreException {
-
- if (server != null) {
-
- if (server.getServerState() != IServer.STATE_STOPPED) {
- server.synchronousStop(false);
- }
- }
-
-}
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java
deleted file mode 100644
index 79657e302..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060921 [158210] kathy@ca.ibm.com - Kathy Chan, Calling incremental build on the project before adding to server
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IModule;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerWorkingCopy;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerUtil;
-
-public class AddModuleToServerCommand extends AbstractDataModelOperation
-{
-
- private String serverInstanceId;
- private String project;
- private String module;
-
- public AddModuleToServerCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
-
- IServer server = ServerCore.findServer(serverInstanceId);
- if (server == null)
- {
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND );
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- IServerWorkingCopy serverwc = null;
-
- try
- {
- //Ensure the module is not a Java utility
- IProject iproject = ProjectUtilities.getProject(project);
- if (!J2EEUtils.isJavaComponent(iproject))
- {
- IModule imodule = ServerUtils.getModule(iproject);
- // TODO: This workaround for 156768 should be removed once the defect is fixed
- if (imodule == null) {
- // calling incremental build on the project before trying again
- iproject.build(IncrementalProjectBuilder.INCREMENTAL_BUILD,null);
- // wait for the incremental build to complete before trying again
- try
- {
- Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
- }
- catch( InterruptedException exc )
- {
- // Assuming that the autobuilder has actually completed.
- }
- imodule = ServerUtils.getModule(iproject);
- if (imodule == null) {
- // return error if module is still null after 1 retry
- status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_ADD_MODULE, new String[]{module}) );
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- // end of workaround for 156768
-
- if (!ServerUtil.containsModule(server, imodule, null))
- {
- IModule[] imodules = new IModule[]{imodule};
- serverwc = server.createWorkingCopy();
- ServerUtil.modifyModules(serverwc, imodules, null, null);
- }
-
- }
- } catch (CoreException e)
- {
- status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_ADD_MODULE, new String[]{module}), e);
- env.getStatusHandler().reportError(status);
- return status;
- } finally
- {
- try
- {
- if (serverwc != null)
- {
- serverwc.save(true, null);
- }
- } catch (CoreException ce)
- {
- status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_ADD_MODULE, new String[] { module }), ce);
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
-
- return status;
-
-
- }
-
- public void setModule(String module)
- {
- this.module = module;
- }
-
- public void setProject(String project)
- {
- this.project = project;
- }
-
- public void setServerInstanceId(String serverInstanceId)
- {
- this.serverInstanceId = serverInstanceId;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java
deleted file mode 100644
index 82ab8a312..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-public class AssociateModuleWithEARCommand extends AbstractDataModelOperation
-{
- private String project_;
- private String module_;
- private String earProject_;
- private String ear_;
-
-
- public AssociateModuleWithEARCommand(){
-
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
- IProject moduleProject = null;
- IProject earProject = null;
-
- // get projects
- if (project_!=null)
- moduleProject = ProjectUtilities.getProject(project_);
- if (earProject_!=null)
- earProject = ProjectUtilities.getProject(earProject_);
-
- // associate modules if not already associated
- if (moduleProject!=null && earProject!=null) {
- if (!J2EEUtils.isComponentAssociated(earProject, moduleProject))
- J2EEUtils.associateComponentToEAR(moduleProject, earProject);
- }
-
- // ensure modules are associated otherwise report error
- if (!J2EEUtils.isComponentAssociated(earProject, moduleProject)){
- status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_ASSOCIATE, new String[]{module_, ear_}) );
- if (env!=null)
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- return status;
- }
-
- public void setProject( String project )
- {
- project_ = project;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setEARProject( String earProject )
- {
- earProject_ = earProject;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java
deleted file mode 100644
index 90c6ff9b3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.OperationCanceledException;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class BuildProjectCommand extends AbstractDataModelOperation
-{
- private ValidationManager validationManager;
- private IProject project_;
- private boolean forceBuild_;
- // rm private Model model;
-
- /**
- * Default CTOR;
- */
- public BuildProjectCommand()
- {
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- try
- {
- if (forceBuild_)
- project_.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgressMonitor());
- else if (validationManager == null)
- project_.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgressMonitor());
- else if (validationManager.getWorkspaceAutoBuildPreference())
- project_.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgressMonitor());
- }
- catch (Exception e)
- {
- }
-
- try
- {
- Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, new NullProgressMonitor());
- }
- catch (InterruptedException ie)
- {
- // continue execution
- }
- catch (OperationCanceledException oce)
- {
- // continue execution
- }
-
- return Status.OK_STATUS;
- }
- /**
- * @param forceBuild The forceBuild to set.
- */
- public void setForceBuild(boolean forceBuild) {
- this.forceBuild_ = forceBuild;
- }
-
- /**
- * @param project The project to set.
- */
- public void setProject(IProject project) {
- this.project_ = project;
- }
-
- /**
- * @param validationManager The validationManager to set.
- */
- public void setValidationManager(ValidationManager validationManager) {
- this.validationManager = validationManager;
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java
deleted file mode 100644
index c5274a5ef..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-
-public class CheckProjectOKCommand extends AbstractDataModelOperation
-{
-
- private String serviceServerTypeId_;
-
-
- /**
- * Default CTOR
- */
- public CheckProjectOKCommand() {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- String typeid = serviceServerTypeId_;
- IServer[] servers = ServerCore.getServers();
-// Iterator iterator = servers.iterator();
- boolean viewOpen = false;
- String serverName = null;
-
- for (int i=0;i<servers.length;i++) {
- IServer server = (IServer) servers[i];
-
- // If the configuration editor is open for the server that we are
- // deploying
- // to we will prompt the user to close it.
- if (server != null && server.getServerType().getId().equals(typeid)) {
- viewOpen = true;
- serverName = server.getName();
- break;
- }
- }
-
- if (viewOpen) {
- String errorMessage = NLS.bind(ConsumptionMessages.MSG_ERROR_SERVER_VIEW_OPEN, new String[] { serverName});
- return StatusUtils.errorStatus( errorMessage );
-
- }
-
- return status;
- }
-
- /**
- * @param serviceServerId
- * The serviceServer factory Id to set.
- */
- public void setServiceServerTypeID(String serviceServerId) {
- this.serviceServerTypeId_ = serviceServerId;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java
deleted file mode 100644
index 329a3e5d9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Iterator;
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-public class ComputeEndpointCommand extends AbstractDataModelOperation
-{
- private WebServicesParser webServicesParser;
- private String wsdlURI;
- private Boolean monitorService;
- private Integer monitoredPort;
-
- public ComputeEndpointCommand()
- {
- }
-
- /**
- * @param monitoredPort The monitoredPort to set.
- */
- public void setMonitoredPort(Integer monitoredPort)
- {
- this.monitoredPort = monitoredPort;
- }
- /**
- * @param monitorService The monitorService to set.
- */
- public void setMonitorService(Boolean monitorService)
- {
- this.monitorService = monitorService;
- }
- /**
- * @param webServicesParser The webServicesParser to set.
- */
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
- /**
- * @param wsdlURI The wsdlURI to set.
- */
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- public String getEndpoint()
- {
- if (monitorService != null && monitorService.booleanValue() && monitoredPort != null)
- {
- Definition def = webServicesParser.getWSDLDefinition(wsdlURI);
- if (def != null)
- {
- for (Iterator it = def.getServices().values().iterator(); it.hasNext();)
- {
- Service service = (Service)it.next();
- for (Iterator it2 = service.getPorts().values().iterator(); it2.hasNext();)
- {
- Port port = (Port)it2.next();
- for (Iterator it3 = port.getExtensibilityElements().iterator(); it3.hasNext();)
- {
- ExtensibilityElement ext = (ExtensibilityElement)it3.next();
- if (ext instanceof SOAPAddress)
- {
- String location = ((SOAPAddress)ext).getLocationURI();
- try
- {
- URL url = new URL(location);
- url = new URL(url.getProtocol(), url.getHost(), monitoredPort.intValue(), url.getFile());
- return url.toString();
- }
- catch (MalformedURLException murle)
- {
- int protocolIndex = location.indexOf("://");
- if (protocolIndex != -1)
- {
- String protocol = location.substring(0, protocolIndex+3);
- int hostPortIndex = location.indexOf('/', protocolIndex+3);
- String file;
- if (hostPortIndex == -1)
- {
- hostPortIndex = location.length();
- file = "";
- }
- else
- file = location.substring(hostPortIndex, location.length());
- String hostPort = location.substring(protocolIndex+3, hostPortIndex);
- int hostIndex = hostPort.indexOf(':');
- String host;
- if (hostIndex != -1)
- host = hostPort.substring(0, hostIndex+1);
- else
- host = hostPort + ':';
- String newPort = String.valueOf(monitoredPort.intValue());
- StringBuffer endpoint = new StringBuffer(protocol);
- endpoint.append(host);
- endpoint.append(newPort);
- endpoint.append(file);
- return endpoint.toString();
- }
- }
- }
- }
- }
- }
- }
- }
- return null;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java
deleted file mode 100644
index fd014e829..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-public class ComputeProxyEndpointCommand extends AbstractDataModelOperation
-{
- private Boolean monitorService;
- private Integer monitoredPort;
- private String proxyEndpoint;
- private String endpoint;
-
- public ComputeProxyEndpointCommand()
- {
- }
-
- /**
- * @param monitoredPort The monitoredPort to set.
- */
- public void setMonitoredPort(Integer monitoredPort)
- {
- this.monitoredPort = monitoredPort;
- }
- /**
- * @param monitorService The monitorService to set.
- */
- public void setMonitorService(Boolean monitorService)
- {
- this.monitorService = monitorService;
- }
-
- public String getEndpoint()
- {
- if (monitorService != null && monitorService.booleanValue() && monitoredPort != null)
- {
- // Use the endpoint that matches with the proxy the extension passes to us if it is set
- if (proxyEndpoint != null) {
- String location = proxyEndpoint;
- try
- {
- URL url = new URL(location);
- url = new URL(url.getProtocol(), url.getHost(), monitoredPort.intValue(), url.getFile());
- return url.toString();
- }
- catch (MalformedURLException murle)
- {
- int protocolIndex = location.indexOf("://");
- if (protocolIndex != -1)
- {
- String protocol = location.substring(0, protocolIndex+3);
- int hostPortIndex = location.indexOf('/', protocolIndex+3);
- String file;
- if (hostPortIndex == -1)
- {
- hostPortIndex = location.length();
- file = "";
- }
- else
- file = location.substring(hostPortIndex, location.length());
- String hostPort = location.substring(protocolIndex+3, hostPortIndex);
- int hostIndex = hostPort.indexOf(':');
- String host;
- if (hostIndex != -1)
- host = hostPort.substring(0, hostIndex+1);
- else
- host = hostPort + ':';
- String newPort = String.valueOf(monitoredPort.intValue());
- StringBuffer endpoint = new StringBuffer(protocol);
- endpoint.append(host);
- endpoint.append(newPort);
- endpoint.append(file);
- return endpoint.toString();
- }
- }
- } else {
- return endpoint;
- }
- }
- return null;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-
- /**
- * @param proxyEndpoint The proxyEndpoint to set.
- */
- public void setProxyEndpoint(String proxyEndpoint) {
- this.proxyEndpoint = proxyEndpoint;
- }
- /**
- * @param endpoint The endpoint to set.
- */
- public void setEndpoint(String endpoint) {
- this.endpoint = endpoint;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java
deleted file mode 100644
index 983494869..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java
+++ /dev/null
@@ -1,362 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20061213 165723 kathy@ca.ibm.com - Kathy Chan
- * 20061213 165725 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Import;
-import javax.wsdl.Types;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.UnknownExtensibilityElement;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLWriter;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.eclipse.core.resources.IWorkspaceRunnable;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.uri.URIException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.wsdl.internal.impl.XSDSchemaExtensibilityElementImpl;
-import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDSchemaDirective;
-import org.eclipse.xsd.impl.XSDSchemaImpl;
-import org.eclipse.xsd.util.XSDParser;
-import org.w3c.dom.Element;
-
-public class CopyWSDLCommand extends AbstractDataModelOperation
-{
- private String wsdlURI;
- private WebServicesParser webServicesParser;
- private String destinationURI;
- private Definition def;
- private Vector ignoreList;
-
- public CopyWSDLCommand()
- {
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- CopyWSDLRunnable copyWSDLRunnable = new CopyWSDLRunnable(env);
- try
- {
- ResourceUtils.getWorkspace().run(copyWSDLRunnable, null);
- return Status.OK_STATUS;
- }
- catch (CoreException ce)
- {
- IStatus status = ce.getStatus();
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
-
-
- private class CopyWSDLRunnable implements IWorkspaceRunnable {
-
- private IEnvironment environment = null;
-
- protected CopyWSDLRunnable(IEnvironment env){
- environment = env;
- }
- public void run(IProgressMonitor pm) throws CoreException {
- ignoreList = new Vector();
- if (def == null)
- def = webServicesParser.getWSDLDefinition(wsdlURI);
- try {
- copyWSDL(environment, wsdlURI, getBaseURI(destinationURI), getLocalname(destinationURI), def);
- } catch (Throwable e) {
- throw new CoreException(StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_COPY_WSDL, new String[]{wsdlURI, destinationURI}), e));
- }
- }
- }
- private void copyWSDL(IEnvironment env, String uri, String destURI, String destLocalname) throws WSDLException, IOException, WWWAuthenticationException, TransformerException, TransformerConfigurationException, URIException
- {
- Definition definition;
-
- try {
- definition = webServicesParser.getWSDLDefinitionVerbose(uri);
- copyWSDL(env, uri, destURI, destLocalname, definition);
- } catch (WSDLException e) {
- copyXMLSchema(env, uri, destURI);
- }
- }
-
- private void copyWSDL(IEnvironment env, String uri, String destURI, String destLocalname, Definition definition) throws WSDLException, IOException, WWWAuthenticationException, TransformerException, TransformerConfigurationException, URIException
- {
- uri = normalize(uri);
- if (!needToCopy(uri)) {
- return;
- }
- destURI = normalize(destURI);
- String baseURI = getBaseURI(uri);
- if (destLocalname == null || destLocalname.length() <= 0)
- destLocalname = getLocalname(uri);
-
- // copy WSDL
- StringBuffer destinationFileURI = new StringBuffer(addTrailingSeparator(destURI));
- destinationFileURI.append(destLocalname);
- WSDLFactory wsdlFactory = new WSDLFactoryImpl();
- WSDLWriter wsdlWriter = wsdlFactory.newWSDLWriter();
- OutputStream os = env.getURIFactory().newURI(destinationFileURI.toString()).getOutputStream();
- wsdlWriter.writeWSDL(definition, os);
- os.close();
- // copy <wsdl:import>s
- Map imports = definition.getImports();
- for (Iterator it = imports.values().iterator(); it.hasNext();)
- {
- List list = (List)it.next();
- for (Iterator listIt = list.iterator(); listIt.hasNext();)
- {
- Import wsdlImport = (Import)listIt.next();
- String wsdlImportURI = wsdlImport.getLocationURI();
- if (isRelative(wsdlImportURI))
- {
- String importBaseURI = (new StringBuffer(baseURI)).append(wsdlImportURI).toString();
- String wsdlImportBaseURI = getBaseURI(wsdlImportURI);
- StringBuffer importDestURI = new StringBuffer(destURI);
- if (wsdlImportBaseURI != null)
- importDestURI.append(wsdlImportBaseURI);
- copyWSDL(env, importBaseURI, importDestURI.toString(), getLocalname(wsdlImportURI));
- }
- }
- }
- Types types = definition.getTypes();
- if (types != null)
- {
- List schemas = types.getExtensibilityElements();
- for (Iterator it = schemas.iterator(); it.hasNext();)
- {
- ExtensibilityElement extElement = (ExtensibilityElement)it.next();
- if (extElement instanceof UnknownExtensibilityElement)
- {
- UnknownExtensibilityElement schemaElement = (UnknownExtensibilityElement)extElement;
- XSDSchema xsdSchema = null;
- try
- {
- xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
- }
- catch (Throwable t)
- {
- // ignore any extensibility elements that cannot be parsed into a
- // XSDSchema instance
- }
- copyXMLSchema(env, xsdSchema, baseURI, destURI);
- }
- else if (extElement instanceof XSDSchemaExtensibilityElementImpl)
- {
- XSDSchemaExtensibilityElementImpl schemaElement = (XSDSchemaExtensibilityElementImpl)extElement;
- XSDSchema xsdSchema = null;
- try
- {
- xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
- }
- catch (Throwable t)
- {
- // ignore any extensibility elements that cannot be parsed into a
- // XSDSchema instance
- }
- copyXMLSchema(env, xsdSchema, baseURI, destURI);
- }
- }
- }
- }
-
- private String getBaseURI(String uri)
- {
- int index = uri.lastIndexOf('/');
- if (index == -1)
- index = uri.lastIndexOf('\\');
- if (index != -1)
- return uri.substring(0, index + 1);
- else
- return null;
- }
-
- private String getLocalname(String uri)
- {
- int index = uri.lastIndexOf('/');
- if (index == -1)
- index = uri.lastIndexOf('\\');
- if (index != -1)
- return uri.substring(index + 1);
- else
- return uri;
- }
-
- private String addTrailingSeparator(String s)
- {
- if (!(s.endsWith("/") || s.endsWith("\\")))
- {
- StringBuffer sb = new StringBuffer(s);
- sb.append('/');
- return sb.toString();
- }
- else
- return s;
- }
-
- private boolean isRelative(String uri)
- {
- return (uri.indexOf(':') == -1);
- }
-
- private void copyXMLSchema(IEnvironment env, String uri, String destURI) throws TransformerException, TransformerConfigurationException, IOException, URIException
- {
- uri = normalize(uri);
- if (!needToCopy(uri)) {
- return;
- }
- destURI = normalize(destURI);
- // load as a cached schema
- XSDSchema xsdSchema = XSDSchemaImpl.getSchemaForSchema(uri);
- // if schema is not cached, parse it
- if (xsdSchema == null)
- {
- XSDParser p = new XSDParser();
- InputStream is = NetUtils.getURLInputStream(uri);
- if (is != null)
- {
- p.parse(is);
- xsdSchema = p.getSchema();
- }
- }
- if (xsdSchema != null)
- {
- // copy schema
- Element e = xsdSchema.getElement();
- DOMSource domSource = new DOMSource(e);
- Transformer serializer = TransformerFactory.newInstance().newTransformer();
- serializer.setOutputProperty(OutputKeys.INDENT, "yes");
- serializer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
- serializer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
- OutputStream os = env.getURIFactory().newURI((new StringBuffer(destURI)).append(getLocalname(uri)).toString()).getOutputStream();
- serializer.transform(domSource, new StreamResult(os));
- os.close();
- // copy <xsd:import>s and <xsd:include>s
- copyXMLSchema(env, xsdSchema, getBaseURI(uri), destURI);
- }
- }
-
- private void copyXMLSchema(IEnvironment env, XSDSchema xsdSchema, String baseURI, String destURI) throws TransformerException, TransformerConfigurationException, IOException, URIException
- {
- if (xsdSchema != null)
- {
- // copy <xsd:import>s and <xsd:include>s
- EList xsdSchemaContents = xsdSchema.getContents();
- for (Iterator it = xsdSchemaContents.iterator(); it.hasNext();)
- {
- Object content = it.next();
- if (content instanceof XSDSchemaDirective)
- {
- XSDSchemaDirective xsdSchemaDirective = (XSDSchemaDirective)content;
- String xsdSchemaDirectiveLocation = xsdSchemaDirective.getSchemaLocation();
- if (xsdSchemaDirectiveLocation != null && isRelative(xsdSchemaDirectiveLocation))
- {
- String directiveURI = (new StringBuffer(baseURI)).append(xsdSchemaDirectiveLocation).toString();
- String directiveBaseURI = getBaseURI(xsdSchemaDirectiveLocation);
- StringBuffer directiveDestURI = new StringBuffer(destURI);
- if (directiveBaseURI != null)
- directiveDestURI.append(directiveBaseURI);
- copyXMLSchema(env, directiveURI, directiveDestURI.toString());
- }
- }
- }
- }
- }
-
- private boolean needToCopy (String normalizedURI) {
- if (ignoreList.contains(normalizedURI))
- return false;
- ignoreList.add(normalizedURI);
- return true;
- }
-
-//normalize the uri to remove relative addressing "/.."
- private String normalize(String uri )
- {
- boolean normalized = false;
- while(!normalized){
- int dir = uri.indexOf("/..");
- if(dir == -1)
- normalized = true;
- else{
- String first = uri.substring(0,dir);
- String second = uri.substring(dir + 3);
- int newIndex = first.lastIndexOf("/");
- if(newIndex == -1){
- normalized = true;
- } else {
- first = first.substring(0,newIndex);
- uri = first + second;
- }
- }
- }
- return uri;
-
- }
-
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
-
- public void setDestinationURI(String destinationURI)
- {
- this.destinationURI = destinationURI;
- }
-
- public void setDefinition(Definition def)
- {
- this.def = def;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateEARProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateEARProjectCommand.java
deleted file mode 100644
index 1d10ea922..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateEARProjectCommand.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.j2ee.datamodel.properties.IEarComponentCreationDataModelProperties;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.internal.earcreation.EarComponentCreationDataModelProvider;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
-
-
-public class CreateEARProjectCommand extends AbstractDataModelOperation
-{
- private String earProjectName_;
- private String serverFactoryId_;
- private String j2eeVersion_;
-
- /**
- * Constructor
- */
- public CreateEARProjectCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- try
- {
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(earProjectName_);
- if (project != null && !project.exists())
- {
- IDataModel info = DataModelFactory.createDataModel(new EarComponentCreationDataModelProvider());
- info.setProperty(IEarComponentCreationDataModelProperties.PROJECT_NAME, project.getName());
-
- //Set the J2EE version
- if (j2eeVersion_ != null && j2eeVersion_.length()>0)
- {
- info.setProperty(IEarComponentCreationDataModelProperties.COMPONENT_VERSION, new Integer(j2eeVersion_));
- }
- else
- {
- info.setProperty(IEarComponentCreationDataModelProperties.COMPONENT_VERSION, new Integer(J2EEVersionConstants.J2EE_1_3_ID));
- }
-
- //Set the server target
- if (serverFactoryId_!=null && serverFactoryId_.length()>0)
- {
-// TODO - Add this logic to FlexibleProjectCreationDataModel, and op....
-// String runtimeTargetId = ServerUtils.getServerTargetIdFromFactoryId(serverFactoryId_, IServerTargetConstants.EAR_TYPE, finalJ2EEVersion);
-// info.setProperty(EARComponentCreationDataModel.SERVER_TARGET_ID, runtimeTargetId );
-// info.setProperty(EARComponentCreationDataModel.ADD_SERVER_TARGET, Boolean.TRUE);
- }
-
- //Create the EAR
- IDataModelOperation operation = info.getDefaultOperation();
- operation.execute(new NullProgressMonitor(), null);
- }
- }
- catch (ExecutionException ite)
- {
- IStatus status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_CANNOT_CREATE_EAR_PROJECT, new String[] {earProjectName_}), ite);
- env.getStatusHandler().reportError(status);
- return status;
- }
- return Status.OK_STATUS;
- }
- /**
- * @param earProjectName_ The earProjectName_ to set.
- */
- public void setEarProjectName(String earProjectName)
- {
- this.earProjectName_ = earProjectName;
- }
-
- public void setServerFactoryId(String serverFactoryId)
- {
- serverFactoryId_ = serverFactoryId;
- }
-
- public void setJ2EEVersion(String j2eeVersion)
- {
- j2eeVersion_ = j2eeVersion;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java
deleted file mode 100644
index 72b5da7ff..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java
+++ /dev/null
@@ -1,331 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060517 126965 kathy@ca.ibm.com - Kathy Chan
- * 20060905 156230 kathy@ca.ibm.com - Kathy Chan, Handling projects with no target runtime
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Set;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.server.core.FacetUtil;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
-import org.eclipse.jst.ws.internal.consumption.common.FacetSetsByTemplateCache;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-
-public class CreateFacetedProjectCommand extends AbstractDataModelOperation
-{
-
- //name of the project to be created
- private String projectName;
-
- //id of the IFacetedProjectTemplate to be used to create this project.
- private String templateId;
-
- //required facet versions that must be satisfied when creating the project (this comes from
- //the selected serverRuntime or clientRuntime in the calling scenario)
- private RequiredFacetVersion[] requiredFacetVersions;
-
- //server type id - used to determine the facet runtime the created project will be bound to
- //if serverInstanceId is null or empty
- private String serverFactoryId;
-
- //server id - used to determine the facet runtime the created project will be bound to. May
- //be null or empty.
- private String serverInstanceId;
-
- //facet runtime determined from the serverInstanceId or serverFactoryId
- private org.eclipse.wst.common.project.facet.core.runtime.IRuntime facetRuntime;
-
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info)
- {
- IStatus status = Status.OK_STATUS;
-
- // check if data ready
- status = checkDataReady();
- if (status.getSeverity()==Status.ERROR)
- {
- return status;
- }
-
- IProject project = ProjectUtilities.getProject(projectName);
- if (!project.exists())
- {
- try
- {
- status = FacetUtils.createNewFacetedProject(projectName);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- IProject createdProject = ProjectUtilities.getProject(projectName);
- IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
-
- //Get the facet versions to install.
- Set facetsToAdd = getFacetsToAdd();
-
- //Install the facet versions
- status = FacetUtils.addFacetsToProject(fproject, facetsToAdd);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- //Set the installed facet versions as fixed.
- Set newFacetVersions = fproject.getProjectFacets();
- Set fixedFacets = new HashSet();
- for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
- IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
- fixedFacets.add(facetVersion.getProjectFacet());
- }
- status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
-
- //Set the runtime
- if (facetRuntime != null)
- {
- status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
- }
-
- // add facets required by Web service runtime
- if (requiredFacetVersions.length != 0) {
- status = FacetUtils.addRequiredFacetsToProject(project, requiredFacetVersions, monitor);
- if (status.getSeverity() == Status.ERROR)
- {
- return status;
- }
- }
-
- if (facetRuntime != null)
- {
- // add the default facets that's not in conflict with the existing facets
- Set projectFacetVersionSet = fproject.getProjectFacets();
- Set projectFacetSet = new HashSet();
- // get the project facet from the project facet version we calculated
- for (Iterator iter = projectFacetVersionSet.iterator(); iter.hasNext();) {
- IProjectFacetVersion pfv = (IProjectFacetVersion) iter.next();
- projectFacetSet.add(pfv.getProjectFacet());
- }
- try {
- Set defaultProjectFacetVersionSet = facetRuntime.getDefaultFacets(projectFacetSet);
- // The returned defaultFacetSet contains the original projectFacetSet passed into getDefaultFacets
- // plus any default facets that are not in conflict with the original projectFacetSet.
- // Add to facetsToAdd if the the default facet is not in the original set.
- Set defaultFacetsToAdd = new HashSet();
- for (Iterator iter = defaultProjectFacetVersionSet.iterator(); iter.hasNext();) {
- IProjectFacetVersion defaultProjFacetVersion = (IProjectFacetVersion) iter.next();
- if( ! projectFacetSet.contains( defaultProjFacetVersion.getProjectFacet() ) )
- {
- defaultFacetsToAdd.add(defaultProjFacetVersion);
- }
- }
- if (!defaultFacetsToAdd.isEmpty()) {
- status = FacetUtils.addFacetsToProject(fproject, defaultFacetsToAdd);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
- }
- } catch (CoreException e) {
- // If there's any exception when trying to get the default facet, just ignore the default facet
- // and return the original facetsToAdd.
- }
- // end of adding default facets
- }
- } catch (CoreException ce)
- {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }));
- }
- }
- return status;
- }
-
- private IStatus checkDataReady()
- {
-
- if (projectName == null)
- {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] {projectName}));
- }
-
- return Status.OK_STATUS;
- }
-
- /**
- * Returns the set of facets to install on the new project. The set will consist
- * of the highest version of each of the template's fixed facets that satifies
- * both the required facet versions and the facet runtime.
- * @return Set a Set containing elements of type IProjectFacetVersion.
- */
- private Set getFacetsToAdd()
- {
- Set facets = null;
-
- //Set the facet runtime.
- setFacetRuntime();
- //Get all facet version combinations for the template in order of ascending version numbers.
- Set[] allCombinations = FacetSetsByTemplateCache.getInstance().getFacetVersionCombinationsFromTemplate(templateId);
- int n = allCombinations.length;
- if (facetRuntime != null)
- {
- //Walk the facet version combinations in order of descending version numbers.
- for (int i=n-1; i>=0; i--)
- {
- //Check this template combination to see if it is compatible with both the
- //required facet versions and the server runtime. If it is, choose it.
- Set combination = allCombinations[i];
- FacetMatcher fm = FacetUtils.match(requiredFacetVersions, combination);
- if (fm.isMatch())
- {
- //Check against Runtime
- if (FacetUtils.doesRuntimeSupportFacets(facetRuntime, combination))
- {
- //We have a match. Use this combination of facet versions for project creation.
- facets = combination;
- break;
- }
- }
- }
-
- }
- else
- {
- for (int i=n-1; i>=0; i--)
- {
- //Check this template combination to see if it is compatible with both the
- //service/client runtime and the server runtime. If it is, choose it.
- Set combination = allCombinations[i];
- FacetMatcher fm = FacetUtils.match(requiredFacetVersions, combination);
- if (fm.isMatch())
- {
- //We have a match. Use this combination of facet versions for project creation.
- facets = combination;
- break;
- }
- }
- }
-
- //Unlikely to get to this point in the code, but if we do, choose the highest version
- //of each fixed facet in the template.
- if (facets == null)
- {
- facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
- }
-
- return facets;
- }
-
- /**
- * Sets the facetRuntime attribute based on the serverInstanceId or serverFactoryId
- * Preference is given to non-stub facet runtimes.
- */
- private void setFacetRuntime()
- {
-
- if (serverInstanceId != null && serverInstanceId.length()>0)
- {
- IServer server = ServerCore.findServer(serverInstanceId);
- IRuntime sRuntime = server.getRuntime();
- facetRuntime = FacetUtil.getRuntime(sRuntime);
- }
- else
- {
- if (serverFactoryId != null && serverFactoryId.length() > 0)
- {
- //Find a non Stub runtime that matches this server type
- IRuntime serverRuntime = ServerUtils.getNonStubRuntime(serverFactoryId);
- if (serverRuntime != null)
- {
- facetRuntime = FacetUtil.getRuntime(serverRuntime);
- }
- else
- {
- //Accept stub runtime.
- IServerType st = ServerCore.findServerType(serverFactoryId);
- String runtimeTypeId = st.getRuntimeType().getId();
- //Find the facet runtime
- IRuntime[] runtimes = ServerCore.getRuntimes();
- for (int i=0; i<runtimes.length; i++)
- {
- IRuntime sRuntime = runtimes[i];
- if (sRuntime.getRuntimeType().getId().equals(runtimeTypeId))
- {
- facetRuntime = FacetUtil.getRuntime(sRuntime);
- }
- }
- }
- }
- }
- }
-
- public void setProjectName(String projectName)
- {
- this.projectName = projectName;
- }
-
- public void setTemplateId(String templateId)
- {
- this.templateId = templateId;
- }
-
- public void setRequiredFacetVersions(RequiredFacetVersion[] requiredFacetVersions)
- {
- this.requiredFacetVersions = requiredFacetVersions;
- }
-
- public void setServerFactoryId(String serverFactoryId)
- {
- this.serverFactoryId = serverFactoryId;
- }
-
- public void setServerInstanceId(String serverInstanceId)
- {
- this.serverInstanceId = serverInstanceId;
- }
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java
deleted file mode 100644
index b17308122..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.ICommand;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IProjectDescription;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.launching.JavaRuntime;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-
-public class CreateJavaProjectCommand extends AbstractDataModelOperation
-{
- private String projectName_;
-
- /**
- * Default CTOR
- */
- public CreateJavaProjectCommand()
- {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName_);
-
- if (project != null && !project.exists())
- {
- try
- {
- project.create(ResourcesPlugin.getWorkspace().newProjectDescription(project.getName()), monitor);
- project.open(monitor);
- IProjectDescription desc = project.getDescription();
- desc.setNatureIds(new String[] {JavaCore.NATURE_ID});
- ICommand cmd = desc.newCommand();
- cmd.setBuilderName(JavaCore.BUILDER_ID);
- desc.setBuildSpec(new ICommand[] {cmd});
- project.setDescription(desc, monitor);
- IJavaProject javaProject = JavaCore.create(project);
- Path projectRoot = new Path(Path.ROOT.append(new Path(project.getName())).toString());
- javaProject.setRawClasspath(new IClasspathEntry[] {JavaCore.newSourceEntry(projectRoot), JavaCore.newContainerEntry(new Path(JavaRuntime.JRE_CONTAINER))}, monitor);
- javaProject.setOutputLocation(projectRoot, monitor);
- }
- catch (CoreException ce)
- {
- IStatus status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_CANNOT_CREATE_JAVA_PROJECT, new String[] {projectName_}), ce);
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- return Status.OK_STATUS;
- }
-
- public void setProjectName(String projectName)
- {
- projectName_ = projectName;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java
deleted file mode 100644
index e0cce92cd..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java
+++ /dev/null
@@ -1,734 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner *
- * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.application.internal.operations.FlexibleJavaProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.project.datamodel.properties.IFlexibleJavaProjectCreationDataModelProperties;
-import org.eclipse.jst.server.core.FacetUtil;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.IProjectFacet;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.common.project.facet.core.VersionFormatException;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-
-public class CreateModuleCommand extends AbstractDataModelOperation
-{
-
- public final static int WEB = J2EEUtils.WEB;
- public final static int EJB = J2EEUtils.EJB;
- public final static int APPCLIENT = J2EEUtils.APPCLIENT;
- public final static int EAR = J2EEUtils.EAR;
-
- //Templates
- //TODO Remove these template constants once J2EE tools defines constants (bug 117531)
- public final static String WEB_TEMPLATE = "template.jst.web";
- public final static String EJB_TEMPLATE = "template.jst.ejb";
- public final static String APPCLIENT_TEMPLATE = "template.jst.appclient";
- public final static String EAR_TEMPLATE = "template.jst.ear";
-
- private String projectName;
- private String moduleName; // may be null for non-flexible project
- private int moduleType;;
- private String j2eeLevel;
- private String serverFactoryId;
- private String serverInstanceId_;
- private IEnvironment env;
- private IProgressMonitor monitor_;
-
- private org.eclipse.wst.common.project.facet.core.runtime.IRuntime facetRuntime;
-
- public CreateModuleCommand(){
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- monitor_ = monitor;
- this.env = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- // check if data ready
- status = checkDataReady();
- if (status.getSeverity()==Status.ERROR){
- return status;
- }
-
- //ensure the project does not exist
- IProject project = ProjectUtilities.getProject(projectName);
- if (!project.exists())
- {
- // create the component according to the component type specified
- int type = getModuleType();
- switch (type) {
- case WEB:
- status = createWebComponent();
- break;
- case EJB:
- status = createEJBComponent();
- break;
- case APPCLIENT:
- status = createAppClientComponent();
- break;
- case EAR:
- status = createEARComponent();
- break;
-
- default:
- return StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_COMPONENT_CREATION, new String[]{moduleName}) );
- }
- }
-
-
- // check if flexible project exists
- /*
- if (project==null || !project.exists()){
- status = createFlexibleJavaProject();
- if (status.getSeverity()==Status.ERROR){
- return status;
- }
- }
- */
- /*
- // check if project and/or component exists
- if (projectName!=null) {
- if (moduleName==null){
- if (project.exists())
- return status;
- }
- else {
- if (J2EEUtils.exists(projectName, moduleName))
- return status;
- }
- }
- else {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_COMPONENT_CREATION, new String[]{projectName, moduleName}) );
- }
- */
-
-
-
-
- return status;
- }
-
- private IStatus checkDataReady(){
-
- if (projectName==null || serverFactoryId==null){
- return StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_COMPONENT_CREATION, new String[]{projectName, moduleName}) );
- }
-
- return Status.OK_STATUS;
- }
-
-
- /**
- * Create a Web component
- * @return
- */
- public IStatus createWebComponent(){
-
- IStatus status = Status.OK_STATUS;
-
- try
- {
- status = FacetUtils.createNewFacetedProject(projectName);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
- IProject createdProject = ProjectUtilities.getProject(projectName);
- IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
-
- //Decide which facets to install based on the templateId and the selected server.
- Set facetsToAdd = getFacetsToAdd(WEB_TEMPLATE);
- Set facetsToAddModified = facetsToAdd;
- //If the J2EE level has been set, modify the Web facet version to be consistent.
- if (j2eeLevel!=null && j2eeLevel.length()>0)
- {
- String webVersion = getWebVersionFromJ2EELevel(j2eeLevel);
- facetsToAddModified = new HashSet();
- Iterator itr = facetsToAdd.iterator();
- while (itr.hasNext())
- {
- //If this is the web facet, get the right version.
- IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
- IProjectFacet pf = pfv.getProjectFacet();
- if (pf.getId().equals(IModuleConstants.JST_WEB_MODULE))
- {
- IProjectFacetVersion webfv = pf.getVersion(webVersion);
- facetsToAddModified.add(webfv);
- }
- else
- {
- facetsToAddModified.add(pfv);
- }
- }
- }
-
- status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- Set newFacetVersions = fproject.getProjectFacets();
- Set fixedFacets = new HashSet();
- for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
- IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
- fixedFacets.add(facetVersion.getProjectFacet());
- }
-
- status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- //Set the runtime
- if (facetRuntime != null)
- {
- status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
- }
-
- } catch (CoreException ce)
- {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ce);
- }
-
- return status;
-
- }
-
- /**
- * Create an EAR component
- * @return
- */
- public IStatus createEARComponent(){
- IStatus status = Status.OK_STATUS;
-
- try
- {
- status = FacetUtils.createNewFacetedProject(projectName);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
- IProject createdProject = ProjectUtilities.getProject(projectName);
- IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
-
- //Decide which facets to install based on the templateId and the selected server.
- Set facetsToAdd = getFacetsToAdd(EAR_TEMPLATE);
- Set facetsToAddModified = facetsToAdd;
- //If the J2EE level has been set, modify the Web facet version to be consistent.
- if (j2eeLevel!=null && j2eeLevel.length()>0)
- {
- String webVersion = getEARVersionFromJ2EELevel(j2eeLevel);
- facetsToAddModified = new HashSet();
- Iterator itr = facetsToAdd.iterator();
- while (itr.hasNext())
- {
- //If this is the ear facet, get the right version.
- IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
- IProjectFacet pf = pfv.getProjectFacet();
- if (pf.getId().equals(IModuleConstants.JST_EAR_MODULE))
- {
- IProjectFacetVersion webfv = pf.getVersion(webVersion);
- facetsToAddModified.add(webfv);
- }
- else
- {
- facetsToAddModified.add(pfv);
- }
- }
- }
-
- status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- Set newFacetVersions = fproject.getProjectFacets();
- Set fixedFacets = new HashSet();
- for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
- IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
- fixedFacets.add(facetVersion.getProjectFacet());
- }
-
- status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- //Set the runtime
- if (facetRuntime != null)
- {
- status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
- }
-
- } catch (CoreException ce)
- {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ce);
- }
-
- return status;
- }
-
- /**
- * Create an EJB Component
- * @return
- */
- public IStatus createEJBComponent(){
- IStatus status = Status.OK_STATUS;
-
- try
- {
- status = FacetUtils.createNewFacetedProject(projectName);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
- IProject createdProject = ProjectUtilities.getProject(projectName);
- IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
-
- //Decide which facets to install based on the templateId and the selected server.
- Set facetsToAdd = getFacetsToAdd(EJB_TEMPLATE);
- Set facetsToAddModified = facetsToAdd;
- //If the J2EE level has been set, modify the Web facet version to be consistent.
- if (j2eeLevel!=null && j2eeLevel.length()>0)
- {
- String webVersion = getEJBVersionFromJ2EELevel(j2eeLevel);
- facetsToAddModified = new HashSet();
- Iterator itr = facetsToAdd.iterator();
- while (itr.hasNext())
- {
- //If this is the web facet, get the right version.
- IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
- IProjectFacet pf = pfv.getProjectFacet();
- if (pf.getId().equals(IModuleConstants.JST_EJB_MODULE))
- {
- IProjectFacetVersion webfv = pf.getVersion(webVersion);
- facetsToAddModified.add(webfv);
- }
- else
- {
- facetsToAddModified.add(pfv);
- }
- }
- }
-
- status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- Set newFacetVersions = fproject.getProjectFacets();
- Set fixedFacets = new HashSet();
- for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
- IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
- fixedFacets.add(facetVersion.getProjectFacet());
- }
-
- status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- //Set the runtime
- if (facetRuntime != null)
- {
- status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
- }
-
- } catch (CoreException ce)
- {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_CREATE_EJB_COMPONENT, new String[] { projectName }), ce);
- }
-
- return status;
-
- }
-
- /**
- * Create an Application Client component
- * @return
- */
- public IStatus createAppClientComponent()
- {
- IStatus status = Status.OK_STATUS;
-
- try
- {
- status = FacetUtils.createNewFacetedProject(projectName);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
- IProject createdProject = ProjectUtilities.getProject(projectName);
- IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
-
- //Decide which facets to install based on the templateId and the selected server.
- Set facetsToAdd = getFacetsToAdd(APPCLIENT_TEMPLATE);
- Set facetsToAddModified = facetsToAdd;
- //If the J2EE level has been set, modify the Web facet version to be consistent.
- if (j2eeLevel!=null && j2eeLevel.length()>0)
- {
- String webVersion = getAppClientVersionFromJ2EELevel(j2eeLevel);
- facetsToAddModified = new HashSet();
- Iterator itr = facetsToAdd.iterator();
- while (itr.hasNext())
- {
- //If this is the web facet, get the right version.
- IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
- IProjectFacet pf = pfv.getProjectFacet();
- if (pf.getId().equals(IModuleConstants.JST_APPCLIENT_MODULE))
- {
- IProjectFacetVersion webfv = pf.getVersion(webVersion);
- facetsToAddModified.add(webfv);
- }
- else
- {
- facetsToAddModified.add(pfv);
- }
- }
- }
-
- status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- Set newFacetVersions = fproject.getProjectFacets();
- Set fixedFacets = new HashSet();
- for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
- IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
- fixedFacets.add(facetVersion.getProjectFacet());
- }
-
- status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
- if (status.getSeverity() == IStatus.ERROR)
- {
- return status;
- }
-
- //Set the runtime
- if (facetRuntime != null)
- {
- status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
- }
-
- } catch (CoreException ce)
- {
- return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_CREATE_APPCLIENT_COMPONENT, new String[] { projectName }), ce);
- }
-
- return status;
- }
-
- /**
- * Creates Flexible Java Project structure
- * This project is required if it doesn't already exist in order to create the component
- * @return
- *
- * Note: This call may not be necessary once J2EE implements creating a flex project automatically
- * with the creation of components.
- */
- public IStatus createFlexibleJavaProject(){
- IStatus status = Status.OK_STATUS;
- try
- {
- IDataModel projectInfo = DataModelFactory.createDataModel(new FlexibleJavaProjectCreationDataModelProvider());
- projectInfo.setProperty(IFlexibleJavaProjectCreationDataModelProperties.PROJECT_NAME,projectName);
-
- String runtimeTargetId = null;
- if( serverInstanceId_ == null )
- {
- // We don't have a server instance so we will get the first runtimeTarget from the factory ID.
- runtimeTargetId = ServerUtils.getServerTargetIdFromFactoryId(serverFactoryId, ServerUtils.getServerTargetModuleType(moduleType), j2eeLevel);
- }
- else
- {
- // We have a server instance so we will just get it's runtimeTargetId.
- IServer server = ServerCore.findServer( serverInstanceId_ );
- runtimeTargetId = server.getRuntime().getId();
- }
-
- projectInfo.setProperty(IFlexibleJavaProjectCreationDataModelProperties.RUNTIME_TARGET_ID,runtimeTargetId);
- projectInfo.setProperty(IFlexibleJavaProjectCreationDataModelProperties.ADD_SERVER_TARGET,Boolean.TRUE);
- IDataModelOperation op = projectInfo.getDefaultOperation();
- if (env!=null)
- op.execute( monitor_, null);
- else
- op.execute(new NullProgressMonitor(), null);
-
- }
- catch (Exception e)
- {
- status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_CREATE_FLEX_PROJET, new String[]{projectName}), e);
- }
- return status;
- }
-
- /*
- * @return Set Returns the Set of facets to add to the new project,
- * choosing the highest level of each facet that works on the selected server.
- */
- private Set getFacetsToAdd(String templateId)
- {
- Set facets = new HashSet();
-
- //Set the facet runtime.
- setFacetRuntime();
- if (facetRuntime != null)
- {
- IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
- Set templateFacets = template.getFixedProjectFacets();
- Iterator templateFacetsItr = templateFacets.iterator();
- while (templateFacetsItr.hasNext())
- {
- IProjectFacet fixedFacet = (IProjectFacet)templateFacetsItr.next();
- List versions = null;
- try {
- versions = fixedFacet.getSortedVersions(false);
- } catch (VersionFormatException e) {
- Set versionSet = fixedFacet.getVersions();
- Iterator itr = versionSet.iterator();
- versions = new ArrayList();
- while (itr.hasNext())
- {
- versions.add(itr.next());
- }
- } catch (CoreException e) {
- Set versionSet = fixedFacet.getVersions();
- Iterator itr = versionSet.iterator();
- versions = new ArrayList();
- while (itr.hasNext())
- {
- versions.add(itr.next());
- }
- }
- Iterator versionsItr = versions.iterator();
- while(versionsItr.hasNext())
- {
- IProjectFacetVersion pfv = (IProjectFacetVersion)versionsItr.next();
- Set pfvs = new HashSet();
- pfvs.add(pfv);
-
- //Check against Runtime
- if (FacetUtils.doesRuntimeSupportFacets(facetRuntime, pfvs))
- {
- //We have a match. Add this one to the master set.
- facets.add(pfv);
- break;
- }
- }
- }
- }
- else
- {
- facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
- }
-
-
- return facets;
- }
-
- private void setFacetRuntime()
- {
-
- if (serverInstanceId_ != null && serverInstanceId_.length()>0)
- {
- IServer server = ServerCore.findServer(serverInstanceId_);
- IRuntime sRuntime = server.getRuntime();
- facetRuntime = FacetUtil.getRuntime(sRuntime);
- }
- else
- {
- //Find a non Stub runtime that matches this server type
- IRuntime serverRuntime = ServerUtils.getNonStubRuntime(serverFactoryId);
- if (serverRuntime != null)
- {
- facetRuntime = FacetUtil.getRuntime(serverRuntime);
- }
- else
- {
- //Accept stub runtime.
- IServerType st = ServerCore.findServerType(serverFactoryId);
- String runtimeTypeId = st.getRuntimeType().getId();
- //Find the facet runtime
- IRuntime[] runtimes = ServerCore.getRuntimes();
- for (int i=0; i<runtimes.length; i++)
- {
- IRuntime sRuntime = runtimes[i];
- if (sRuntime.getRuntimeType().getId().equals(runtimeTypeId))
- {
- facetRuntime = FacetUtil.getRuntime(sRuntime);
- }
- }
- }
- }
- }
-
- private String getWebVersionFromJ2EELevel(String j2eeVersion)
- {
- int aVersion = Integer.valueOf(j2eeLevel).intValue();
- switch (aVersion) {
- case J2EEVersionConstants.J2EE_1_2_ID:
- return "2.2";
-
- case J2EEVersionConstants.J2EE_1_3_ID:
- return "2.3";
-
- case J2EEVersionConstants.J2EE_1_4_ID:
- return "2.4";
-
- default:
- return "2.4";
- }
- }
-
- private String getEJBVersionFromJ2EELevel(String j2eeVersion)
- {
- int aVersion = Integer.valueOf(j2eeLevel).intValue();
- switch (aVersion) {
- case J2EEVersionConstants.J2EE_1_2_ID:
- return "1.1";
-
- case J2EEVersionConstants.J2EE_1_3_ID:
- return "2.0";
-
- case J2EEVersionConstants.J2EE_1_4_ID:
- return "2.1";
-
- default:
- return "2.1";
- }
- }
-
- private String getAppClientVersionFromJ2EELevel(String j2eeVersion)
- {
- int aVersion = Integer.valueOf(j2eeLevel).intValue();
- switch (aVersion) {
- case J2EEVersionConstants.J2EE_1_2_ID:
- return "1.2";
-
- case J2EEVersionConstants.J2EE_1_3_ID:
- return "1.3";
-
- case J2EEVersionConstants.J2EE_1_4_ID:
- return "1.4";
-
- default:
- return "1.4";
- }
- }
-
- private String getEARVersionFromJ2EELevel(String j2eeVersion)
- {
- int aVersion = Integer.valueOf(j2eeLevel).intValue();
- switch (aVersion) {
- case J2EEVersionConstants.J2EE_1_2_ID:
- return "1.2";
-
- case J2EEVersionConstants.J2EE_1_3_ID:
- return "1.3";
-
- case J2EEVersionConstants.J2EE_1_4_ID:
- return "1.4";
-
- default:
- return "1.4";
- }
- }
-
- public void setModuleName(String moduleName)
- {
- this.moduleName = moduleName;
- }
-
- public int getModuleType()
- {
- return moduleType;
- }
-
- public void setModuleType(int moduleType)
- {
- this.moduleType = moduleType;
- }
-
- public void setProjectName(String projectName)
- {
- this.projectName = projectName;
- }
-
- /**
- * Expecting 12,13,14 etc.
- * @param level
- */
- public void setJ2eeLevel(String level)
- {
- if (level !=null && level.indexOf(".")!=-1)
- j2eeLevel = J2EEUtils.getJ2EEIntVersionAsString(level);
- else
- j2eeLevel = level;
- }
-
- public void setServerFactoryId(String serverFactoryId)
- {
- this.serverFactoryId = serverFactoryId;
- }
-
- public void setServerInstanceId( String serverInstanceId )
- {
- serverInstanceId_ = serverInstanceId;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java
deleted file mode 100644
index ce05bff11..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerPort;
-import org.eclipse.wst.server.core.internal.IMonitoredServerPort;
-import org.eclipse.wst.server.core.internal.IServerMonitorManager;
-import org.eclipse.wst.server.core.internal.ServerMonitorManager;
-
-public class CreateMonitorCommand extends AbstractDataModelOperation
-{
-
- private static final String WEB_SERVICES = "Web services";
-
- private Boolean monitorService;
-
- private String serviceServerInstanceId;
-
- private Integer monitoredPort;
-
- public CreateMonitorCommand() {
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- if (monitorService != null && monitorService.booleanValue()) {
- IServer server = ServerCore.findServer(serviceServerInstanceId);
- if (server != null) {
-
- // IMonitorableServer monitorableServer = (IMonitorableServer)
- // serverDelegate;
- ServerPort[] ports = server.getServerPorts(null);
- ServerPort port = null;
- for (int it = 0; it < ports.length; it++) {
- ServerPort p = ports[it];
- String protocol = p.getProtocol();
- if (protocol != null && protocol.trim().toLowerCase().equals("http")) {
- port = p;
- break;
- }
- }
- if (port != null) {
- IServerMonitorManager serverMonitorManager = ServerMonitorManager.getInstance();
- IMonitoredServerPort[] monitoredPorts = serverMonitorManager.getMonitoredPorts(server);
- for (int it2 = 0; it2 < monitoredPorts.length; it2++) {
- IMonitoredServerPort imsPort = monitoredPorts[it2];
- if (port.getPort() == imsPort.getServerPort().getPort() && hasContentWebServices(imsPort)) // port
- // already
- // being
- // monitored
- {
- if (!imsPort.isStarted()) {
- try {
- serverMonitorManager.startMonitor(imsPort);
- }
- catch (CoreException ce) {
- IStatus error = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR,
- new Object[] { String.valueOf(port.getPort()), server.getName()}), ce);
- env.getStatusHandler().reportError(error);
- return error;
- }
- }
- monitoredPort = new Integer(imsPort.getMonitorPort());
- return Status.OK_STATUS;
- }
- }
- try {
- IMonitoredServerPort imsPort = serverMonitorManager.createMonitor(server, port, -1, new String[] { WEB_SERVICES});
- serverMonitorManager.startMonitor(imsPort);
- monitoredPort = new Integer(imsPort.getMonitorPort());
- return Status.OK_STATUS;
- }
- catch (CoreException ce) {
- IStatus error = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR, new Object[] {
- String.valueOf(port.getPort()), server.getName()}), ce);
- env.getStatusHandler().reportError(error);
- return error;
- }
- }
-
- else {
- IStatus info = StatusUtils.infoStatus( NLS.bind(ConsumptionMessages.MSG_INFO_MONITORING_NOT_SUPPORTED,
- new Object[] { server.getName()}) );
- env.getStatusHandler().reportInfo(info);
- return info;
- }
- }
- }
- return Status.OK_STATUS;
- }
-
- private boolean hasContentWebServices(IMonitoredServerPort imsPort) {
- String[] contents = imsPort.getContentTypes();
- for (int i = 0; i < contents.length; i++)
- if (WEB_SERVICES.equals(contents[i])) return true;
- return false;
- }
-
- public void setServiceTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer) {
- this.serviceServerInstanceId = typeRuntimeServer.getServerInstanceId();
- }
-
- public void setServiceServerInstanceId(String serviceServerInstanceId) {
- this.serviceServerInstanceId = serviceServerInstanceId;
- }
-
- public Integer getMonitoredPort() {
- return monitoredPort;
- }
-
- public void setMonitorService(Boolean value) {
- monitorService = value;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java
deleted file mode 100644
index fe31e83af..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.IServerWorkingCopy;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerUtil;
-
-public class CreateServerCommand extends AbstractDataModelOperation
-{
- private String serverFactoryId;
- private String serverInstanceId;
-
- /**
- * Creates a server of the factory id
- * Note1: Checking for server instance == null is done in the PreService/ClientInstallCommands
- * Note2: Reporting of errors is done in PreService/ClientInstallCommands; simply return the status.
- */
- public CreateServerCommand(){
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
-
- if (serverFactoryId==null){
- status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_CREATE_SERVER );
- return status;
- }
-
- IServerWorkingCopy serverWC = null;
- IServer server = null;
- try {
- IServerType serverType = ServerCore.findServerType(serverFactoryId);
- if (serverType!=null) {
-
- //Choose a Runtime which is not a stub
- IRuntime nonStubRuntime = null;
- IRuntime[] runtimes = ServerUtil.getRuntimes(null, null);
- String serverRuntimeTypeId = serverType.getRuntimeType().getId();
- for (int i = 0; i < runtimes.length; i++) {
- IRuntime runtime = runtimes[i];
- String thisRuntimeTypeId = runtime.getRuntimeType().getId();
- if (thisRuntimeTypeId.equals(serverRuntimeTypeId) && !runtime.isStub()) {
- //Found an appropriate IRuntime that is not a stub
- nonStubRuntime = runtime;
- break;
- }
- }
-
- if (nonStubRuntime==null)
- {
- status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_STUB_ONLY,new String[]{serverFactoryId}) );
- return status;
- }
-
- if (env!=null)
- {
- serverWC = serverType.createServer(null, null, nonStubRuntime, monitor );
- }
- else
- {
- serverWC = serverType.createServer(null, null, nonStubRuntime, null);
- }
-
- if (serverWC != null) {
- if (env!=null)
- server = serverWC.saveAll(true, monitor );
- else
- server = serverWC.saveAll(true, null);
- }
- }
- } catch (CoreException ce) {
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_CREATE_SERVER, ce);
- return status;
- }
-
- // set serverInstanceId
- if (server!=null)
- serverInstanceId = server.getId();
- else {
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_CREATE_SERVER );
- }
-
- return status;
- }
-
- public void setServerFactoryid(String serverFactoryId)
- {
- this.serverFactoryId = serverFactoryId;
- }
-
- public String getServerInstanceId()
- {
- return serverInstanceId;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java
deleted file mode 100644
index f10d2c35c..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-
-public class DisableBuildCommand extends AbstractDataModelOperation
-{
-
- private ValidationManager manager_;
- /**
- * CTOR;
- */
- public DisableBuildCommand()
- {
-
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- ProgressUtils.report( monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_DISABLE_BUILD);
-
- if (manager_!=null) {
- manager_.disableAutoBuild();
- }
- return status;
- }
-
- /**
- * Set the model
- *
- * @param model
- */
- public void setModel(Model model) {
- }
-
-
- /**
- * @param manager_ The manager_ to set.
- */
- public void setValidationManager(ValidationManager manager) {
- this.manager_ = manager;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java
deleted file mode 100644
index c513db90b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class DisableValidationCommand extends AbstractDataModelOperation
-{
-
- private ValidationManager manager_;
- private IProject serviceProject_;
-
- /**
- * CTOR;
- */
- public DisableValidationCommand() {
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- ProgressUtils.report(monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_DISABLE_VALIDATION);
-
- IProject project = serviceProject_;
- if (project != null) manager_.disableValidationForProject(project);
-
- return status;
- }
-
- /**
- * @param manager_
- * The manager_ to set.
- */
- public void setValidationManager(ValidationManager manager) {
- this.manager_ = manager;
- }
-
- public void setServiceProject(IProject serviceProject){
- this.serviceProject_ = serviceProject;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java
deleted file mode 100644
index 840cd647f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060612 146564 kathy@ca.ibm.com - Kathy Chan
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-// TODO: Get rid of this. A replacement is in org.eclipse.wst.ws.
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.wsdl.extensions.soap.SOAPAddress;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.internet.monitor.core.internal.provisional.IMonitor;
-import org.eclipse.wst.internet.monitor.core.internal.provisional.IMonitorWorkingCopy;
-import org.eclipse.wst.internet.monitor.core.internal.provisional.MonitorCore;
-import org.eclipse.wst.server.core.util.SocketUtil;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-public class GetMonitorCommand extends AbstractDataModelOperation
-{
- private boolean monitorService;
- private boolean create;
- private WebServicesParser webServicesParser;
- private String wsdlURI;
- private List endpoints;
- private String proxyEndpoint;
-
- public GetMonitorCommand()
- {
- monitorService = true;
- create = true;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- endpoints = new Vector();
- if (monitorService && wsdlURI != null && wsdlURI.length() > 0)
- {
- webServicesParser = WSDLParserFactory.getWSDLParser();
- Definition definition = webServicesParser.getWSDLDefinition(wsdlURI);
- if (definition != null)
- {
- Map services = definition.getServices();
- for (Iterator servicesIt = services.values().iterator(); servicesIt.hasNext();)
- {
- Service service = (Service)servicesIt.next();
- Map ports = service.getPorts();
- for (Iterator portsIt = ports.values().iterator(); portsIt.hasNext();)
- {
- Port wsdlPort = (Port)portsIt.next();
- List extElements = wsdlPort.getExtensibilityElements();
- for (Iterator extElementsIt = extElements.iterator(); extElementsIt.hasNext();)
- {
- ExtensibilityElement extElement = (ExtensibilityElement)extElementsIt.next();
- String endpoint = null;
- URL endpointURL = null;
- if (extElement instanceof SOAPAddress)
- endpoint = ((SOAPAddress)extElement).getLocationURI();
- else if (extElement instanceof HTTPAddress)
- endpoint = ((HTTPAddress)extElement).getLocationURI();
- if (endpoint != null)
- {
- try
- {
- endpointURL = new URL(endpoint);
- }
- catch (MalformedURLException murle)
- {
- }
- }
- if (endpointURL != null)
- {
- String protocol = endpointURL.getProtocol();
- String host = endpointURL.getHost();
- int port = endpointURL.getPort();
- if (port == -1)
- {
- if ("http".equalsIgnoreCase(protocol))
- port = 80;
- else if ("https".equalsIgnoreCase(protocol))
- port = 443;
- }
- if (protocol != null && protocol.startsWith("http") && host != null && host.length() > 0 && port != -1)
- {
- IMonitor m = null;
- IMonitor[] monitors = MonitorCore.getMonitors();
- for (int i=0; i<monitors.length; i++)
- {
- if (host.equalsIgnoreCase(monitors[i].getRemoteHost()) && port == monitors[i].getRemotePort())
- {
- m = monitors[i];
- break;
- }
- }
- if (m == null && create)
- {
- int monitoredPort = SocketUtil.findUnusedPort(5000, 15000);
- IMonitorWorkingCopy monitorWorkingCopy = MonitorCore.createMonitor();
- monitorWorkingCopy.setLocalPort(monitoredPort);
- monitorWorkingCopy.setRemoteHost(host);
- monitorWorkingCopy.setRemotePort(port);
- monitorWorkingCopy.setProtocol("HTTP");
- try
- {
- m = monitorWorkingCopy.save();
- }
- catch (Throwable t)
- {
- IStatus warning = StatusUtils.warningStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR, new Object[]{String.valueOf(port), endpoint}), t);
- try
- {
- if (env != null)
- env.getStatusHandler().report(warning);
- }
- catch (StatusException se)
- {
- }
- }
- }
- if (m != null)
- {
- try
- {
- if (!m.isRunning())
- m.start();
- // Use the endpoint that matches with the proxy the extension passes to us if it is set
- if (proxyEndpoint != null) {
- try {
- endpointURL = new URL(proxyEndpoint);
- } catch (MalformedURLException murle)
- {
- // ignore proxy endpoint
- }
- }
- StringBuffer sb = new StringBuffer(endpointURL.getProtocol());
- sb.append("://localhost:");
- sb.append(String.valueOf(m.getLocalPort()));
- sb.append(endpointURL.getFile());
- endpoints.add(sb.toString());
- }
-
- catch (Throwable t)
- {
- IStatus warning = StatusUtils.warningStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR, new Object[]{String.valueOf(port), endpoint}), t);
- try
- {
- if (env != null)
- env.getStatusHandler().report(warning);
- }
- catch (StatusException se)
- {
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- return Status.OK_STATUS;
- }
-
- public void setMonitorService(boolean monitorService)
- {
- this.monitorService = monitorService;
- }
-
- public void setDefinition(Definition definition)
- {
- }
-
- public void setWebServicesParser(WebServicesParser webServicesParser)
- {
- this.webServicesParser = webServicesParser;
- }
-
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- public void setCreate(boolean create)
- {
- this.create = create;
- }
-
- public List getEndpoints()
- {
- return endpoints;
- }
-
- /**
- * @param proxyEndpoint The proxyEndpoint to set.
- */
- public void setProxyEndpoint(String proxyEndpoint) {
- this.proxyEndpoint = proxyEndpoint;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java
deleted file mode 100644
index b0ad9da58..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-
-//core stuff
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jem.util.emf.workbench.nature.EMFNature;
-import org.eclipse.jem.workbench.utility.JemProjectUtilities;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
-* This class is to be used to Build the data model
-* first we get the java class and then build the model
-*/
-public class JavaMofReflectionCommand extends AbstractDataModelOperation
-{
-
- public static String LABEL = "JavaMofReflectionCommand";
- public static String DESCRIPTION = "reflection for a given class";
- public static String OK_MESSAGE = "The model has been built ";
- private static String JAVA_EXTENSION = ".java";
- private static String CLASS_EXTENSION = ".class";
-
- private String clientProject;
- private JavaHelpers javaClass;
- private String qname;
- private String proxyBean;
-
- /**
- * Constructs a new JavaMofReflectionCommand with the given label and description
- *
- */
- public JavaMofReflectionCommand()
- {
- }
-
- // setters for this command
-
-
- /**
- * The end result of this whole process is to get the Java Class
- */
- public JavaHelpers getJavaClass()
- {
- return javaClass;
- }
-
-
- private void processQName()
- {
- qname = proxyBean;
- if (qname.toLowerCase().endsWith(JAVA_EXTENSION)) {
- qname = qname.substring(0,(qname.length() -5));
- }
- if (qname.toLowerCase().endsWith(CLASS_EXTENSION)) {
- qname = qname.substring(0,(qname.length() -6));
- }
- }
-
- /**
- * Get the java model from the resource then
- * build the model from the mof
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- //just make sure the project and qname are there
- //they are essential for this operation
- IStatus status = Status.OK_STATUS;
- IProject clientIProject = (IProject)ResourceUtils.findResource(clientProject);
- processQName();
- if(clientProject == null || qname == null)
- return StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_UNABLE_TO_FIND_PROXY );
-
- try {
- EMFNature nature = JemProjectUtilities.getJEM_EMF_Nature(clientIProject, true);
- javaClass = JavaRefFactory.eINSTANCE.reflectType(qname, nature.getResourceSet());
- } catch (CoreException e) {
- }
-
- return status;
- }
-
- public void setProxyBean(String proxyBean)
- {
- this.proxyBean = proxyBean;
- }
-
- public void setClientProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
- }
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java
deleted file mode 100644
index 5ca1c3224..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-
-public class ManageServerStartUpCommand extends AbstractDataModelOperation
-{
-
- private Boolean isStartServiceEnabled_;
- private Boolean isTestServiceEnabled_;
-
- private IProject serviceProject_;
- private String serviceServerTypeId_;
- private IServer serviceExistingServer_;
-
- private IProject sampleProject_;
- private String sampleServerTypeId_;
- private IServer sampleExistingServer_;
-
- private boolean isWebProjectStartupRequested_;
-
- /**
- * Default CTOR;
- */
- public ManageServerStartUpCommand( ) {
-
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
- ProgressUtils.report(monitor, ConsumptionMessages.PROGRESS_INFO_START_WEB_PROJECT);
-
- if (isStartServiceEnabled_.booleanValue() && serviceExistingServer_!=null){
- //System.out.println("Calling service server start: "+serviceProject_+" "+serviceServerTypeId_);
- StartProjectCommand spc = new StartProjectCommand( );
- spc.setServiceProject(serviceProject_);
- spc.setServiceServerTypeID(serviceServerTypeId_);
- spc.setServiceExistingServer(serviceExistingServer_);
- spc.setIsWebProjectStartupRequested(isWebProjectStartupRequested_);
- spc.setEnvironment( env );
- spc.execute( null, null );
- }
-
- if(isTestServiceEnabled_.booleanValue()&& sampleExistingServer_!=null && serviceExistingServer_!=null && !sampleExistingServer_.equals(serviceExistingServer_)){
- //System.out.println("Calling client server start: "+sampleProject_+" "+sampleExistingServer__);
- StartProjectCommand spc = new StartProjectCommand( );
- spc.setSampleProject(sampleProject_);
- spc.setSampleServerTypeID(sampleServerTypeId_);
- spc.setSampleExistingServer(sampleExistingServer_);
- spc.setCreationScenario(new Boolean("false"));
- spc.setEnvironment( env );
- spc.execute( null, null );
- }
-
- return status;
- }
-
- /**
- * @param isStartServiceEnabled The isStartServiceEnabled to set.
- */
- public void setStartService(Boolean isStartServiceEnabled) {
- this.isStartServiceEnabled_ = isStartServiceEnabled;
- }
- /**
- * @param isTestServiceEnabled The isTestServiceEnabled to set.
- */
- public void setTestService(Boolean isTestServiceEnabled) {
- this.isTestServiceEnabled_ = isTestServiceEnabled;
- }
- /**
- * @param serviceExistingServer The serviceExistingServer to set.
- */
- public void setServiceExistingServer(IServer serviceExistingServer) {
- this.serviceExistingServer_ = serviceExistingServer;
- }
-
- /**
- * @param serviceServerTypeId The serviceServerTypeId to set.
- */
- public void setServiceServerTypeId(String serviceServerTypeId) {
- this.serviceServerTypeId_ = serviceServerTypeId;
- }
- /**
- * @param serviceProject The serviceProject to set.
- */
- public void setServiceProject(IProject serviceProject) {
- this.serviceProject_ = serviceProject;
- }
-
- /**
- * @param sampleExistingServer The sampleExistingServer to set.
- */
- public void setSampleExistingServer(IServer sampleExistingServer) {
- this.sampleExistingServer_ = sampleExistingServer;
- }
- /**
- * @param sampleProject The sampleProject to set.
- */
- public void setSampleProject(IProject sampleProject) {
- this.sampleProject_ = sampleProject;
- }
- /**
- * @param sampleServerTypeId The sampleServerTypeId to set.
- */
- public void setSampleServerTypeId(String sampleServerTypeId) {
- this.sampleServerTypeId_ = sampleServerTypeId;
- }
-
- /**
- * @param isRestartProjectNeeded The isRestartProjectNeeded to set.
- */
- public void setIsWebProjectStartupRequested(boolean isRestartProjectNeeded) {
- this.isWebProjectStartupRequested_ = isRestartProjectNeeded;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java
deleted file mode 100644
index f663b4846..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class RestoreBuildStateCommand extends AbstractDataModelOperation
-{
-
- private ValidationManager manager_;
-
- /**
- * Default CTOR;
- */
- public RestoreBuildStateCommand()
- {
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- ProgressUtils.report( monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_RESTORE_BUILD);
-
- manager_.restoreAutoBuild();
-
- return Status.OK_STATUS;
- }
-
- /**
- * @param manager_ The manager_ to set.
- */
- public void setValidationManager(ValidationManager manager) {
- this.manager_ = manager;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java
deleted file mode 100644
index 6ae6317ea..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class RestoreValidationStateCommand extends AbstractDataModelOperation
-{
- private ValidationManager manager_;
-
- private boolean runValidation_;
-
- /**
- * Default CTOR;
- */
- public RestoreValidationStateCommand( boolean runValidation )
- {
- runValidation_ = runValidation;
- }
-
- /**
- * Execute the command
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- ProgressUtils.report( monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_RESTORE_VALIDATION);
-
- manager_.restoreValidationForProjects( runValidation_ );
-
- return Status.OK_STATUS;
- }
-
- /**
- * @param manager The validation manager to set.
- */
- public void setValidationManager(ValidationManager manager) {
- this.manager_ = manager;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java
deleted file mode 100644
index 30f1da3f2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060330 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060403 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060524 141925 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import java.io.ByteArrayInputStream;
-import java.io.InputStream;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.common.MergeUtils;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentMergeContext;
-
-public class SkeletonMergeCommand extends AbstractDataModelOperation
-{
- private String[] urls_;
- private String projectName_;
-
- public SkeletonMergeCommand(String projectName)
- {
- projectName_ = projectName;
- }
-
- public void setUrls(String[] urls)
- {
- this.urls_ = urls;
- }
-
- // Merge the content of the skeleton files (represented by urls_ with the previous version stored.
- // The Web service extensions triggers the storing of the content of the old skeleton file by
- // calling WebServiceInfo.setImplURLs() before the new skeleton is generated in the extension's
- // develop() method.
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info)
- {
-
- IStatus status = Status.OK_STATUS;
- IEnvironment environment = getEnvironment();
- ResourceContext context = WebServicePlugin.getInstance().getResourceContext();
- PersistentMergeContext mergeContext = WSPlugin.getInstance().getMergeContext();
- if (mergeContext.isSkeletonMergeEnabled()) {
- // merge the skeleton implementation file with the model stored earlier
-
- String mergedContent;
- String filename;
- InputStream inStream = null;
- if (urls_ != null) {
- for (int i = 0; i < urls_.length; i++) {
- filename = MergeUtils.getFileFromURL(urls_[i]);
- if (filename != null) {
- mergedContent = MergeUtils.mergeFile(filename);
- if (mergedContent != null) {
- // write the merged content back into the file, respecting file overwrite preference
- IPath targetPath = new Path(filename);
- IProject project = ProjectUtilities.getProject(projectName_);
- byte[] buf = null;
- if (project != null) {
- try {
- buf = mergedContent.getBytes(project.getDefaultCharset());
- } catch (Throwable e) {
- buf = mergedContent.getBytes();
- }
- } else {
- buf = mergedContent.getBytes();
- }
- inStream = new ByteArrayInputStream(buf);
-
- if (inStream != null) {
- try {
- FileResourceUtils.createFileAtLocation(context, targetPath.makeAbsolute(), inStream,
- monitor, environment.getStatusHandler());
- } catch (CoreException e) {
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_FILE_MERGE, urls_), e);
- environment.getStatusHandler().reportError( status );
- }
- }
- }
- }
- }
- }
- }
-
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java
deleted file mode 100644
index ef01e27a5..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.command.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.common.WebServiceStartServerRegistry;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.server.core.IServer;
-
-public class StartProjectCommand extends AbstractDataModelOperation
-{
-
-private Boolean creationScenario_ = Boolean.TRUE;
-
-private boolean isWebProjectStartupRequested_;
-private IProject serviceProject_;
-private IProject sampleProject_;
-private String serviceServerTypeID_;
-private String sampleServerTypeID_;
-private IServer serviceExistingServer_;
-private IServer sampleExistingServer_;
-
-
-/**
- * Default CTOR;
- */
-public StartProjectCommand( ) {
-
-}
-
-/**
- * Default CTOR;
- */
-public StartProjectCommand(boolean creationScenario ) {
- creationScenario_ = new Boolean(creationScenario);
-}
-
-/**
- * Execute the command
- */
-public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
-{
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
- ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_START_WEB_PROJECT);
-
-
- IProject project = ((creationScenario_.booleanValue()) ? serviceProject_ : sampleProject_);
- String serverTypeID = ((creationScenario_.booleanValue()) ? serviceServerTypeID_ : sampleServerTypeID_);
- IServer server = ((creationScenario_.booleanValue()) ? serviceExistingServer_ : sampleExistingServer_);
- if (serverTypeID == null && server!=null) {
- serverTypeID = server.getServerType().getId();
- }
- if (project == null)
- {
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_PROJECT_NOT_FOUND );
- env.getStatusHandler().reportError(status);
- return status;
- }
- IServer instance = ServerUtils.getServerForModule(ServerUtils.getModule(project), serverTypeID, server, true, monitor );
- if (instance == null)
- {
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND );
- env.getStatusHandler().reportError(status);
- return status;
- }
-
- try
- {
- AbstractStartServer startServerCommand = null;
- WebServiceStartServerRegistry reg = WebServiceStartServerRegistry.getInstance();
- startServerCommand = (AbstractStartServer)reg.getServerStartByTypeId(instance.getServerType().getId());
- startServerCommand.StartServer(project, instance, monitor, isWebProjectStartupRequested_);
- return status;
- }
- catch (CoreException ce )
- {
- IStatus embeddedStatus = ce.getStatus();
- status = embeddedStatus;
- env.getStatusHandler().reportError(status);
- return status;
- }
- catch (Exception e)
- {
- status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SERVER, e);
- env.getStatusHandler().reportError(status);
- return status;
- }
-
-}
-
-public void setCreationScenario(Boolean creationScenario)
-{
- creationScenario_ = creationScenario;
-}
-
-public void setServiceProject(IProject serviceProject)
-{
- serviceProject_ = serviceProject;
-}
-
-public void setSampleProject(IProject sampleProject)
-{
- sampleProject_ = sampleProject;
-}
-
-public void setServiceServerTypeID(String serviceServerTypeID)
-{
- serviceServerTypeID_ = serviceServerTypeID;
-}
-
-public void setSampleServerTypeID(String sampleServerTypeID)
-{
- sampleServerTypeID_ = sampleServerTypeID;
-}
-
-public void setServiceExistingServer(IServer serviceExistingServer)
-{
- serviceExistingServer_ = serviceExistingServer;
- if (serviceExistingServer_ != null)
- setServiceServerTypeID(serviceExistingServer_.getServerType().getId());
-}
-
-public void setSampleExistingServer(IServer sampleExistingServer)
-{
- sampleExistingServer_ = sampleExistingServer;
- if (sampleExistingServer_ != null)
- setSampleServerTypeID(sampleExistingServer_.getServerType().getId());
-}
-
-public void setIsWebProjectStartupRequested(boolean webProjectStartupRequested)
-{
- isWebProjectStartupRequested_ = webProjectStartupRequested;
-}
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java
deleted file mode 100644
index 5fac372d0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import java.util.Set;
-
-public class FacetMatcher
-{
- private boolean match;
- private Set facetsTested;
- private Set facetsThatMatched;
- private Set facetsToAdd;
-
- public Set getFacetsThatMatched()
- {
- return facetsThatMatched;
- }
- public void setFacetsThatMatched(Set facetsThatMatched)
- {
- this.facetsThatMatched = facetsThatMatched;
- }
- public Set getFacetsToAdd()
- {
- return facetsToAdd;
- }
- public void setFacetsToAdd(Set facetsToAdd)
- {
- this.facetsToAdd = facetsToAdd;
- }
- public boolean isMatch()
- {
- return match;
- }
- public void setMatch(boolean match)
- {
- this.match = match;
- }
- public Set getFacetsTested()
- {
- return facetsTested;
- }
- public void setFacetsTested(Set facetsTested)
- {
- this.facetsTested = facetsTested;
- }
-
-
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java
deleted file mode 100644
index 7922db8ec..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner (creation)
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.IProjectFacet;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.common.project.facet.core.VersionFormatException;
-
-
-/**
- * FacetSetsByTemplateCache caches the sets of facet version combinations for templates.
- */
-public class FacetSetsByTemplateCache
-{
- // single instance per workbench
- private static FacetSetsByTemplateCache instance_;
-
- //facetSetsByTemplateId_:
- //key: Object of type String. String id of an IFacetedProjectTemplate.
- //value: Object of Set[]. An array of Sets where each set contains elements of type IProjectFacetVersion.
- private Hashtable facetSetsByTemplateId_;
- /**
- * Returns a singleton instance of this class.
- *
- * @return A singleton FacetSetsByTemplateCache object.
- */
- public static synchronized FacetSetsByTemplateCache getInstance()
- {
- if (instance_ == null)
- {
- instance_ = new FacetSetsByTemplateCache();
- instance_.load();
- }
- return instance_;
- }
-
- private void load()
- {
- facetSetsByTemplateId_ = new Hashtable();
- }
-
- /**
- * Returns all the valid facet version combinations that can be derived from the fixed facets
- * of the given template. For example, if the template has two fixed facets, A and B,
- * and A has versions 1.0 and 2.0, B has versions 1.1, 2.1,
- * the following array of Sets will be returned (assuming for the sake of the example
- * that all the combinations are valid):<br/>
- * {Set1, Set2, Set3, Set4}, where<br/>
- * Set1 = [A1.0, B1.1]<br/>
- * Set2 = [A2.0, B1.1]<br/>
- * Set3 = [A1.0, B2.1]<br/>
- * Set4 = [A2.0, B2.1]<br/>
- * <br/>
- * @param templateId id of an {@link IFacetedProjectTemplate}
- * @return Set[] An array of Sets where each set contains elements of type {@link IProjectFacetVersion}.
- */
- public synchronized Set[] getFacetVersionCombinationsFromTemplate(String templateId)
- {
- //Return the cached combinations if present.
- Set[] cachedCombinations = (Set[])facetSetsByTemplateId_.get(templateId);
- if (cachedCombinations != null)
- {
- return cachedCombinations;
- }
- else
- {
- //Combinations have not yet been cached for the given template.
- //Determine the combinations and cache them.
- IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
- Set fixedFacets = template.getFixedProjectFacets();
-
- //Create an array of arrays. Each element of the array will contain the array
- //of IProjectFacetVersions for each IProjectFacet in the set of fixed facets.
- Iterator itr = fixedFacets.iterator();
- ArrayList projectFacetVersionArrays = new ArrayList();
-
- while (itr.hasNext())
- {
- IProjectFacet facet = (IProjectFacet) itr.next();
- List versions = null;
- try
- {
- // Get the facet versions in ascending order.
- versions = facet.getSortedVersions(true);
- } catch (VersionFormatException e) {
- Set versionSet = facet.getVersions();
- Iterator versionSetItr = versionSet.iterator();
- versions = new ArrayList();
- while (versionSetItr.hasNext())
- {
- versions.add(itr.next());
- }
- } catch (CoreException e) {
- Set versionSet = facet.getVersions();
- Iterator versionSetItr = versionSet.iterator();
- versions = new ArrayList();
- while (versionSetItr.hasNext())
- {
- versions.add(itr.next());
- }
- }
- if (versions.size() > 0)
- {
- //Create an array of IProjectFacetVersions from versions.
- Iterator versionItr = versions.iterator();
- ArrayList arrayOfVersionsList = new ArrayList();
- while (versionItr.hasNext())
- {
- IProjectFacetVersion pfv = (IProjectFacetVersion)versionItr.next();
- arrayOfVersionsList.add(pfv);
- }
-
- //Add the array of versions to the list of arrays.
- projectFacetVersionArrays.add((IProjectFacetVersion[])arrayOfVersionsList.toArray(new IProjectFacetVersion[0]));
- }
- }
-
- IProjectFacetVersion[][] arrayOfProjectFacetVersionArrays = (IProjectFacetVersion[][])projectFacetVersionArrays.toArray(new IProjectFacetVersion[0][0]);
- Set[] allValidCombinationsArray = FacetUtils.getFacetCombinations(arrayOfProjectFacetVersionArrays, true);
- facetSetsByTemplateId_.put(templateId, allValidCombinationsArray);
- return allValidCombinationsArray;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java
deleted file mode 100644
index 7cfed901a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java
+++ /dev/null
@@ -1,1385 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060419 137548 kathy@ca.ibm.com - Kathy Chan
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060503 126819 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060523 133714 joan@ca.ibm.com - Joan Haggarty
- * 20060920 158061 kathy@ca.ibm.com - Kathy Chan, Do not add module to EAR when adding J2EE facets to project
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jst.j2ee.internal.ejb.project.operations.EjbFacetInstallDataModelProvider;
-import org.eclipse.jst.j2ee.internal.ejb.project.operations.IEjbFacetInstallDataModelProperties;
-import org.eclipse.jst.j2ee.project.facet.AppClientFacetInstallDataModelProvider;
-import org.eclipse.jst.j2ee.project.facet.IAppClientFacetInstallDataModelProperties;
-import org.eclipse.jst.j2ee.project.facet.IUtilityFacetInstallDataModelProperties;
-import org.eclipse.jst.j2ee.project.facet.UtilityFacetInstallDataModelProvider;
-import org.eclipse.jst.j2ee.web.project.facet.IWebFacetInstallDataModelProperties;
-import org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDataModelProvider;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.IProjectFacet;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.common.project.facet.core.VersionFormatException;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject.Action;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject.Action.Type;
-import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
-import org.eclipse.wst.common.project.facet.core.runtime.RuntimeManager;
-
-import com.ibm.icu.util.StringTokenizer;
-
-/**
- * FacetUtils contains utility methods related to facets and templates.
- * <br/><br/>
- * Terminology used in the Javadoc in this class
- * <ul>
- * <li><b>facet</b>: An {@link IProjectFacet}</li>
- * <li><b>facet version</b>: An {@link IProjectFacetVersion} </li>
- * <li><b>facet runtime</b>: An {@link IRuntime}</li>
- * <li><b>faceted project</b>: An {@link IFacetedProject}. A faceted project may be obtained
- * from an IProject (@see ProjectFacetsManager#create)</li>
- * <li><b>template</b>: An {@link IFacetedProjectTemplate}. Conceptually this is similar to a project type.</li>
- * <li><b>required facet version</b>: A {@link RequiredFacetVersion}. Used by serviceRuntimes and clientRuntimes
- * to identify what they require in terms of facet versions.</li>
- * </ul>
- */
-public class FacetUtils
-{
-
- /**
- * Returns an array of valid projects. Valid projects include projects with the facets nature or
- * projects with the Java nature.
- * @return IProject[] an array of valid projects
- */
- public static IProject[] getAllProjects()
- {
- //Return all projects in the workspace that have the project facet nature or that do not have the project
- //facet nature but have the Java nature.
- IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
- ArrayList validProjects = new ArrayList();
- for (int i = 0; i < projects.length; i++)
- {
- try
- {
- IFacetedProject facProject = ProjectFacetsManager.create(projects[i]);
- if (facProject != null)
- {
- //Add it to the list
- validProjects.add(projects[i]);
- }
- else
- {
- if (ResourceUtils.isJavaProject(projects[i]))
- {
- validProjects.add(projects[i]);
- }
- }
- }
- catch (CoreException ce)
- {
- }
- }
- return (IProject[])validProjects.toArray(new IProject[]{});
- }
-
- /**
- * Returns the facet versions on the given project.
- * @param projectName name of an existing project.
- * @returns Set containing elements of type {@link IProjectFacetVersion}.
- * These are the facet versions currently installed on this project. If the project
- * is a Java project, facets are inferred from the Java project. Returns null
- * <ul>
- * <li>if the project is not a faceted project or a Java project or</li>
- * <li>if the project does not exist or</li>
- * <li>if the project is null</li>
- * </ul>
- */
- public static Set getFacetsForProject(String projectName)
- {
- Set facetVersions = null;
- IProject project = ProjectUtilities.getProject(projectName);
- if (project!=null && project.exists())
- {
- try
- {
- IFacetedProject fproject = ProjectFacetsManager.create(project);
- if (fproject != null)
- {
- facetVersions = fproject.getProjectFacets();
- } else
- {
- //If this is not a faceted project, it may still be okay if it is a Java project
- //and the client runtime supports a Java project.
- IJavaProject javaProject = null;
- if (ResourceUtils.isJavaProject(project))
- {
- javaProject = JavaCore.create(project);
- facetVersions = FacetUtils.getFacetsForJavaProject(javaProject);
- }
- }
- } catch (CoreException ce)
- {
- //Leaving the catch block empty. This method will return null if there
- //were any blow-ups in the facet API being called.
- }
- }
-
- return facetVersions;
-
- }
-
- /**
- * Returns the facet runtime the given project is bound to.
- * @param projectName name of an existing project
- * @return {@link IRuntime} the project is bound to. Returns null
- * <ul>
- * <li>if the project is not bound to a facet runtime</li>
- * <li>if the project does not exist</li>
- * <li>if the project is null</li>
- * </ul>
- */
- public static IRuntime getFacetRuntimeForProject(String projectName)
- {
- IProject project = ProjectUtilities.getProject(projectName);
- if (project!=null && project.exists())
- {
- try
- {
- IFacetedProject fproject = ProjectFacetsManager.create(project);
- if (fproject != null)
- {
- return fproject.getRuntime();
- }
- } catch (CoreException ce)
- {
- //Leaving the catch block empty. This method will return null if there
- //were any blow-ups in the facet API being called.
- }
- }
-
- return null;
- }
-
-
- /**
- * Returns a set of combinations of facet versions derived from the facet versions
- * in the provided arrayOfProjectFacetVersionArrays. For example, if
- * arrayOfProjectFacetVersionArrays is a two dimenstional array of facet versions that has
- * a structure like this:<br/>
- * {{FacetA_version1, FacetA_version2},<br/>
- * {FacetB_version1},<br/>
- * {FacetC_version1, FacetC_version2}}<br/>
- * the following array of Sets will be returned:<br/>
- * {Set1, Set2, Set3, Set4}, where<br/>
- * Set1 = [FacetA_version1, FacetB_version1, FacetC_version1]<br/>
- * Set2 = [FacetA_version2, FacetB_version1, FacetC_version1]<br/>
- * Set3 = [FacetA_version1, FacetB_version1, FacetC_version2]<br/>
- * Set4 = [FacetA_version2, FacetB_version1, FacetC_version2]<br/>
- * <br/>
- * @param arrayOfProjectFacetVersionArrays a two dimensional array containing elements
- * of type {@link IProjectFacetVersion}
- * @param returnValidOnly false if all combinations of facet versions are to be returned.
- * true if only valid combinations of facet versions are to be returned.
- * @return Set[] an array of Sets, where each Set contains elements of type {@link IProjectFacetVersion}.
- */
- public static Set[] getFacetCombinations(IProjectFacetVersion[][] arrayOfProjectFacetVersionArrays, boolean returnValidOnly)
- {
- ArrayList allCombinations = new ArrayList();
- //maxCount contains the number of versions in each array of IProjectFacetVersions.
- //initialize counter, which will be used to navigate arrayOfProjectFacetVersionArrays.
- int n = arrayOfProjectFacetVersionArrays.length;
- int[] maxCount = new int[n];
- int[] counter = new int[n];
- for (int i=0; i<n; i++)
- {
- maxCount[i] = arrayOfProjectFacetVersionArrays[i].length - 1;
- counter[i] = 0;
- }
-
- //Navigate arrayOfProjectFacetVersionArrays to create all possible combinations.
- boolean done = false;
- while (!done)
- {
- //Create a combination of size n using current values in counter.
- //Add it to the list of all combinations, checking first for validity if returnValidOnly is true.
- Set combination = new HashSet();
- for (int j=0; j<n; j++)
- {
- IProjectFacetVersion pfv = arrayOfProjectFacetVersionArrays[j][counter[j]];
- combination.add(pfv);
- }
-
- //Check if valid.
- if (returnValidOnly)
- {
- Set actions = getInstallActions(combination);
- try {
- if( ProjectFacetsManager.check( new HashSet(), actions ).getSeverity() == IStatus.OK )
- {
- allCombinations.add((combination));
- }
- } catch (Throwable e) {
- // Do nothing if ProjectFacetsManager.check() throws exception.
- // TODO This try/catch will be unneccesary once WTP bug 137551 is fixed so that an OK Status
- // would not be returned when an exception is thrown.
- }
- }
- else
- {
- allCombinations.add((combination));
- }
-
- //Update the counters.
- for (int p=0; p<n; p++)
- {
- if ( (counter[p] + 1) <= maxCount[p])
- {
- (counter[p])++;
- break;
- }
- else
- {
- counter[p] = 0;
- if (p == n-1)
- {
- done = true;
- }
- }
- }
- }
-
- Set[] allCombinationsArray = (Set[])allCombinations.toArray(new Set[0]);
- return allCombinationsArray;
- }
-
- /**
- * Returns a set of facet versions given a template. The highest facet version of every fixed
- * facet in the template is returned, with the exception of the jst.java facet, where the 1.4
- * facet version is returned.
- *
- * @param templateId id of a {@link IFacetedProjectTemplate}
- * @return Set containing elements of type {@link IProjectFacetVersion}
- */
- public static Set getInitialFacetVersionsFromTemplate(String templateId)
- {
- IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
- Set fixedFacets = template.getFixedProjectFacets();
- HashSet initial = new HashSet();
- for (Iterator itr2 = fixedFacets.iterator(); itr2.hasNext(); )
- {
- IProjectFacet facet = (IProjectFacet) itr2.next();
- IProjectFacetVersion highestFacetVersion = null;
- try {
- if (isJavaFacet(facet)) //special case the java facet because 1.4 is a better default than 5.0 for now.
- {
- highestFacetVersion = facet.getVersion("1.4");
- } else {
- highestFacetVersion = facet.getLatestVersion();
- }
- } catch (VersionFormatException e) {
- } catch (CoreException e) {
- }
- initial.add(highestFacetVersion);
- }
-
- return initial;
- }
-
- /**
- * Returns the template lables corresponding to the provided templateIds.
- * @param templateIds array of valid template ids. Each id must correspond to a {@link IFacetedProjectTemplate}.
- * @return String[] array of template labels.
- */
- public static String[] getTemplateLabels(String[] templateIds)
- {
- String[] labels = new String[templateIds.length];
- for (int i=0; i<templateIds.length; i++)
- {
- IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateIds[i]);
- labels[i] = template.getLabel();
- }
- return labels;
-
- }
-
- /**
- * Returns the id of a template given its label.
- *
- * @param templateLabel label of a template
- * @return template id or empty String if no {@link IFacetedProjectTemplate} with the
- * given templateLabel could be found.
- */
- public static String getTemplateIdByLabel(String templateLabel)
- {
- for( Iterator itr = ProjectFacetsManager.getTemplates().iterator(); itr.hasNext(); )
- {
- final IFacetedProjectTemplate template = (IFacetedProjectTemplate) itr.next();
- if (template.getLabel().equals(templateLabel))
- {
- return template.getId();
-
- }
- }
-
- return "";
- }
-
- /**
- * Returns the label of a template given its id
- *
- * @param templateId id of a {@link IFacetedProjectTemplate}
- * @return template label
- */
- public static String getTemplateLabelById(String templateId)
- {
- IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
- return template.getLabel();
- }
-
- /**
- * Returns a set of install actions for the provided facet version
- *
- * @param projectFacetVersions Set containing elements of type {@link IProjectFacetVersion}
- * @return Set containing elements of type {@link Action} with the type attribute set to Type.INSTALL
- * The set contains one Action for each {@link IProjectFacetVersion} in projectFacetVersions.
- */
- public static Set getInstallActions(Set projectFacetVersions)
- {
- HashSet actions = new HashSet();
-
- Iterator facets = projectFacetVersions.iterator();
-
- while(facets.hasNext())
- {
- IProjectFacetVersion fv = (IProjectFacetVersion)facets.next();
- if (fv != null) {
- IProjectFacet pf = fv.getProjectFacet();
- Action action = new Action(Type.INSTALL, fv, getConfigObject(pf));
- actions.add(action);
- }
- }
-
- return actions;
- }
-
- /**
- * Returns the data model config object for the given project facet
- * For J2EE facets, set Add_TO_EAR properties of the data model to false,
- * for other facets, just return null
- * @param facetID
- * @return data model config object
- */
- public static Object getConfigObject(IProjectFacet projectFacet)
- {
-
- IDataModel dm = null;
- if (projectFacet != null) {
- String facetId = projectFacet.getId();
- if (facetId != null) {
- // set Add to EAR to false
- if (facetId.equals(IModuleConstants.JST_WEB_MODULE)) {
- dm = DataModelFactory.createDataModel(new WebFacetInstallDataModelProvider());
- dm.setBooleanProperty(IWebFacetInstallDataModelProperties.ADD_TO_EAR, false);
- } else if (facetId.equals(IModuleConstants.JST_EJB_MODULE)) {
- dm = DataModelFactory.createDataModel(new EjbFacetInstallDataModelProvider());
- dm.setBooleanProperty(IEjbFacetInstallDataModelProperties.ADD_TO_EAR, false);
- } else if (facetId.equals(IModuleConstants.JST_APPCLIENT_MODULE)) {
- dm = DataModelFactory.createDataModel(new AppClientFacetInstallDataModelProvider());
- dm.setBooleanProperty(IAppClientFacetInstallDataModelProperties.ADD_TO_EAR, false);
- } else if (facetId.equals(IModuleConstants.JST_UTILITY_MODULE)) {
- dm = DataModelFactory.createDataModel(new UtilityFacetInstallDataModelProvider());
- dm.setBooleanProperty(IUtilityFacetInstallDataModelProperties.ADD_TO_EAR, false);
- }
- }
- }
- return dm;
- }
- /**
- * Returns the {@link FacetMatcher} calculated when checking the required facet versions
- * against the facet versions.
- *
- * @param requiredFacetVersions array of required facet versions
- * @param projectFacetVersions facet versions to check against. Set containing elements of type
- * {@link IProjectFacetVersion}
- * @return FacetMatcher with the following characteristics:
- * <ul>
- * <li><b>isMatch</b>: returns true if the required facet versions already exist in the facet versions
- * or can be added to the facet versions. isMatch will return false otherwise.</li>
- * <li><b>getFacetsTested</b>: returns the same set of facet versions as the input parameter, projectFacetVersions</li>
- * <li><b>getFacetsThatMatched</b>: if isMatch returns false, getFacetsThatMatched returns null. If isMatch returns true,
- * getFacetsThatMatched returns the subset of facet versions in the input parameter, projectFacetVersions,
- * that matched one of the required facet versions. This may be an empty set.</li>
- * <li><b>getFacetsToAdd</b>: if isMatch returns false, getFacetsToAdd returns null. If isMatch returns true,
- * getFacetsToAdd returns the subset of facet versions that would need to be added to the facet versions in
- * projectFacetVersions in order to satisfy the requirements of the required facet versions. This may be
- * an empty set.</li>
- * </ul>
- */
- public static FacetMatcher match(RequiredFacetVersion[] requiredFacetVersions, Set projectFacetVersions)
- {
- FacetMatcher fm = new FacetMatcher();
- fm.setFacetsTested(projectFacetVersions);
- HashSet facetsToAdd = new HashSet();
- HashSet requiredFacetVersionsToAdd = new HashSet();
- HashSet facetsThatMatched = new HashSet();
- for (int i=0; i<requiredFacetVersions.length; i++)
- {
- RequiredFacetVersion rfv = requiredFacetVersions[i];
- IProjectFacetVersion rpfv = rfv.getProjectFacetVersion();
- String rid = rpfv.getProjectFacet().getId();
- String rv = rpfv.getVersionString();
- boolean facetPresent = false;
-
- //Is the project facet present? or a later version of applicable.
- Iterator itr = projectFacetVersions.iterator();
- while(itr.hasNext())
- {
- IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
- String id = pfv.getProjectFacet().getId();
- String version = pfv.getVersionString();
- if (rid.equals(id))
- {
- if (rv.equals(version))
- {
- //found an exact match
- facetPresent = true;
- facetsThatMatched.add(pfv);
- }
- else
- {
- if (rfv.getAllowNewer())
- {
- if (greaterThan(version, rv))
- {
- //found a match
- facetPresent = true;
- facetsThatMatched.add(pfv);
- }
- }
- }
- //No need to keep iterating since we hit a facet with the same id;
- break;
- }
- }
-
- //if not present, put it in the list to check if it can be added.
- if (!facetPresent)
- {
- facetsToAdd.add(rpfv);
- requiredFacetVersionsToAdd.add(rfv);
- }
-
- }
-
- //Check if the facetsToAdd can be added
- if (requiredFacetVersionsToAdd.size() > 0)
- {
- //Test all possible combinations of the facets that need to be added
- //Create an array of arrays. Each element of the array will contain the array
- //of the permitted IProjectFacetVersions for each required facet.
- boolean facetsCanBeAdded = false;
- Iterator itr = requiredFacetVersionsToAdd.iterator();
- ArrayList projectFacetVersionArrays = new ArrayList();
-
- while (itr.hasNext())
- {
- RequiredFacetVersion reqFacetVersion = (RequiredFacetVersion) itr.next();
- IProjectFacetVersion[] versions = reqFacetVersion.getAllowedProjectFacetVersions();
- if (versions != null && versions.length > 0)
- {
- //Add the array of versions to the list of arrays.
- projectFacetVersionArrays.add(versions);
- }
- }
-
- IProjectFacetVersion[][] arrayOfProjectFacetVersionArrays = (IProjectFacetVersion[][])projectFacetVersionArrays.toArray(new IProjectFacetVersion[0][0]);
- Set[] combinations = getFacetCombinations(arrayOfProjectFacetVersionArrays, false);
- for (int i=0; i<combinations.length; i++)
- {
- //Check if the set can be added. If so, this is a match. Update the facet matcher and break.
- Set actions = getInstallActions(combinations[i]);
- try {
- if( ProjectFacetsManager.check( projectFacetVersions, actions ).getSeverity() == IStatus.OK )
- {
- //Facets can be added so there is a match
- facetsCanBeAdded=true;
- fm.setMatch(true);
- fm.setFacetsThatMatched(facetsThatMatched);
- fm.setFacetsToAdd(combinations[i]);
- break;
- }
- } catch (Throwable e) {
- // Do nothing if ProjectFacetsManager.check() throws exception.
- // TODO This try/catch will be unneccesary once WTP bug 137551 is fixed so that an OK Status
- // would not be returned when an exception is thrown.
- }
- }
-
-
- if (!facetsCanBeAdded)
- {
- fm.setMatch(false);
- }
- }
- else
- {
- //There are no facets to add.
- fm.setMatch(true);
- fm.setFacetsThatMatched(facetsThatMatched);
- fm.setFacetsToAdd(facetsToAdd);
- }
-
- return fm;
- }
-
- /**
- * Adds facet versions to the provided project if required based on checking provided
- * required facet versions against the facet versions already installed on project.
- *
- * @param project IProject which exists in the workspace
- * @param rfvs array of required facet versions.
- * @param monitor progress monitor
- * @return IStatus with severity IStatus.ERROR
- * <ul>
- * <li>if the project does not exist or</li>
- * <li>if the project is not open or</li>
- * <li>an attempt to add facet versions to the project resulted in an error.</li>
- * </ul>
- * Otherwise, returns an IStatus with severity IStatus.OK
- */
- public static IStatus addRequiredFacetsToProject(IProject project, RequiredFacetVersion[] rfvs, IProgressMonitor monitor)
- {
- IStatus status = Status.OK_STATUS;
-
- Set missingFacets = null;
- Set facetsToAdd = new HashSet();
- try
- {
- IFacetedProject fProject = ProjectFacetsManager.create(project);
- if (fProject != null)
- {
- Set projectFacetVersions = fProject.getProjectFacets();
- FacetMatcher projectFacetMatcher = FacetUtils.match(rfvs, projectFacetVersions);
- if (projectFacetMatcher.isMatch())
- {
- missingFacets = projectFacetMatcher.getFacetsToAdd();
- if (missingFacets.size() > 0)
- {
- IRuntime fRuntime = null;
- fRuntime = FacetUtils.getFacetRuntimeForProject(project.getName());
- if (fRuntime != null)
- {
- //Add the highest version supported by the runtime the project is bound to.
- Iterator missingFacetsItr = missingFacets.iterator();
- while (missingFacetsItr.hasNext())
- {
- IProjectFacet facet = ((IProjectFacetVersion)missingFacetsItr.next()).getProjectFacet();
- //Get the highest level of this facet supported by the runtime.
- List versions = null;
- try {
- versions = facet.getSortedVersions(false);
- } catch (VersionFormatException e) {
- Set versionSet = facet.getVersions();
- Iterator itr = versionSet.iterator();
- versions = new ArrayList();
- while (itr.hasNext())
- {
- versions.add(itr.next());
- }
- } catch (CoreException e) {
- Set versionSet = facet.getVersions();
- Iterator itr = versionSet.iterator();
- versions = new ArrayList();
- while (itr.hasNext())
- {
- versions.add(itr.next());
- }
- }
-
- //Iterate over the versions in descending order and pick the
- //first one that fRuntime supports.
- Iterator versionsItr = versions.iterator();
- while(versionsItr.hasNext())
- {
- boolean match = false;
- IProjectFacetVersion pfv = (IProjectFacetVersion)versionsItr.next();
- Set pfvs = new HashSet();
- pfvs.add(pfv);
-
- //Check the required facets to see if this version of this facet is supported.
- for (int j=0; j<rfvs.length; j++)
- {
- RequiredFacetVersion rfv = rfvs[j];
- IProjectFacetVersion rpfv = rfv.getProjectFacetVersion();
- if (rpfv.getProjectFacet().getId().equals(pfv.getProjectFacet().getId()))
- {
- if (rpfv.getVersionString().equals(pfv.getVersionString()))
- {
- match = true;
- }
- else
- {
- if (rfv.getAllowNewer())
- {
- if (greaterThan(pfv.getVersionString(), rpfv.getVersionString()))
- {
- match = true;
- }
- }
- }
- }
- }
-
- if (match)
- {
- //Check against Runtime
- if (FacetUtils.doesRuntimeSupportFacets(fRuntime, pfvs))
- {
- //We have a match. Add this one to the master set.
- facetsToAdd.add(pfv);
- break;
- }
- }
- }
- }
- }
- else
- {
- facetsToAdd = missingFacets;
- }
-
- status = addFacetsToProject(fProject, facetsToAdd);
- }
- }
- }
- } catch (CoreException ce)
- {
- //Display an appropriate error message to the user.
- //A CoreException could have been thrown for any of the following three reasons
- //1. The project does not exist
- //2. The project is not open
- //3. There was a problem adding the facets to the project.
-
- if (!project.exists())
- {
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_DOES_NOT_EXIST, new String[] { project.getName()}));
- }
- else if (!project.isOpen())
- {
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_IS_NOT_OPEN, new String[] { project.getName()}));
- }
- else
- {
- status = getErrorStatusForAddingFacets(project.getName(), facetsToAdd, ce);
- }
- }
-
- return status;
- }
-
-
- /**
- * Adds the provided set of facet versions to the provided faceted project
- *
- * @param fproject A faceted project which exists in the workspace
- * @param projectFacetVersions A set containing elements of type {@link IProjectFacetVersion}
- * @return An IStatus with a severity of IStatus.OK if the facet
- * versions were added successfully. Otherwise, an IStatus with a severity of
- * IStatus.ERROR.
- */
- public static IStatus addFacetsToProject(final IFacetedProject fproject, final Set projectFacetVersions)
- {
- final IStatus[] status = new IStatus[1];
- status[0] = Status.OK_STATUS;
- final Set actions = getInstallActions(projectFacetVersions);
-
- // Create a runnable that applies the install actions to the faceted project
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
- {
- try
- {
- fproject.modify(actions, shellMonitor);
- } catch (CoreException e)
- {
- status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, e);
- }
- }
- };
-
- // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
- if (Display.getCurrent() != null)
- {
- try
- {
- PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
- } catch (InvocationTargetException ite)
- {
- status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, ite);
- } catch (InterruptedException ie)
- {
- status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, ie);
- }
- }
- else
- {
- try
- {
- fproject.modify(actions, null);
- } catch (CoreException e)
- {
- status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, e);
- }
- }
-
- return status[0];
- }
-
- /**
- * Returns an error status indicating that the facet versions could not be
- * added to the faceted project
- *
- * @param projectName a project name to insert in the error message in the IStatus
- * @param projectFacetVersions a set containing elements of type {@link IProjectFacetVersion}.
- * The facets in this set will be listed in the error message in the IStatus.
- * @param t a Throwable which will be inserted in the IStatus
- * @return an IStatus with severity IStatus.ERROR
- */
- private static IStatus getErrorStatusForAddingFacets(String projectName, Set projectFacetVersions, Throwable t)
- {
- IStatus status = Status.OK_STATUS;
- int size = projectFacetVersions.size();
- if (size > 0)
- {
- Set facets = new HashSet();
- //Iterate over projectFacetVersions to form a set of IProjectFacets
- Iterator itr = projectFacetVersions.iterator();
- while (itr.hasNext())
- {
- IProjectFacetVersion projectFacet = (IProjectFacetVersion)itr.next();
- IProjectFacet facet = projectFacet.getProjectFacet();
- facets.add(facet);
- }
- String facetList = getFacetListMessageString(facets);
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_ADDING_FACETS_TO_PROJECT, new String[] { projectName, facetList}), t);
- }
-
- return status;
- }
-
- /**
- * Creates a new faceted project with the provided name
- *
- * @param projectName A String containing the name of the project to be created
- * @return An IStatus with a severity of IStatus.OK if the faceted project
- * was created successfully or if a project of the provided name already
- * exists in the workspace. Otherwise, an IStatus with severity of
- * IStatus.ERROR.
- */
- public static IStatus createNewFacetedProject(final String projectName)
- {
- final IStatus[] status = new IStatus[1];
- status[0] = Status.OK_STATUS;
- IProject project = ProjectUtilities.getProject(projectName);
- if (!project.exists())
- {
- // Create a runnable that creates a new faceted project.
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
- {
- try
- {
- IFacetedProject fProject = ProjectFacetsManager.create(projectName, null, shellMonitor);
- if (fProject == null)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }));
- }
- } catch (CoreException e)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), e);
- }
- }
- };
-
- // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
- try
- {
- if (Display.getCurrent() != null)
- {
- PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
- }
- else
- {
- try
- {
- IFacetedProject fProject = ProjectFacetsManager.create(projectName, null, null);
- if (fProject == null)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }));
- }
- } catch (CoreException e)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), e);
- }
- }
- } catch (InvocationTargetException ite)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ite);
- } catch (InterruptedException ie)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ie);
- }
- }
-
- return status[0];
- }
-
- /**
- * Sets the provided set of facets as fixed on the faceted project
- *
- * @param fProject A faceted project which exists in the workspace
- * @param fixedFacets A set containing elements of type {@link IProjectFacet}
- * @return An IStatus with a severity of IStatus.OK if the facets
- * were successfully set as fixed facets on the faceted project.
- * Otherwise, an IStatus with a severity of IStatus.ERROR.
- *
- * @see IFacetedProject#setFixedProjectFacets
- */
- public static IStatus setFixedFacetsOnProject(final IFacetedProject fProject, final Set fixedFacets)
- {
- final IStatus[] status = new IStatus[1];
- status[0] = Status.OK_STATUS;
-
- //Create a runnable that sets the fixed facets on the faceted project
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
- {
- try
- {
- fProject.setFixedProjectFacets(fixedFacets);
- } catch (CoreException e)
- {
- status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, e);
- }
- }
- };
-
- // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
- if (Display.getCurrent() != null)
- {
- try
- {
- PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
- } catch (InvocationTargetException ite)
- {
- status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, ite);
- } catch (InterruptedException ie)
- {
- status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, ie);
- }
- }
- else
- {
- try
- {
- fProject.setFixedProjectFacets(fixedFacets);
- } catch (CoreException e)
- {
- status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, e);
- }
- }
-
- return status[0];
- }
-
- /**
- * Returns an error status indicating that the facets could not be
- * set as fixed facets on the faceted project
- *
- * @param projectName a project name to insert in the error message in the IStatus
- * @param facets a set containing elements of type {@link IProjectFacet}.
- * The facets in this set will be listed in the error message in the IStatus.
- * @param t a Throwable which will be inserted in the IStatus
- * @return an IStatus with severity IStatus.ERROR
- */
- private static IStatus getErrorStatusForSettingFixedFacets(String projectName, Set facets, Throwable t)
- {
- IStatus status = Status.OK_STATUS;
- int size = facets.size();
- if (size > 0)
- {
- String facetList = getFacetListMessageString(facets);
- status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_FIXED_FACETS, new String[] { projectName, facetList}), t);
- }
-
- return status;
- }
-
-
- /**
- * Binds the faceted project to the facet runtime
- *
- * @param fProject A faceted project which exists in the workspace
- * @param fRuntime A facet runtime
- * @return An IStatus with a severity of IStatus.OK if the faceted project
- * was bound to the facet runtime successfully. Otherwise, an IStatus with severity of
- * IStatus.ERROR.
- */
- public static IStatus setFacetRuntimeOnProject(final IFacetedProject fProject, final IRuntime fRuntime)
- {
- final IStatus[] status = new IStatus[1];
- status[0] = Status.OK_STATUS;
-
- //Create a runnable that sets the facet runtime on the faceted project
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
- {
- try
- {
- fProject.setRuntime(fRuntime, shellMonitor);
- } catch (CoreException e)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), e);
- }
- }
- };
-
- // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
- if (Display.getCurrent() != null)
- {
- try
- {
- PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
- } catch (InvocationTargetException ite)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), ite);
- } catch (InterruptedException ie)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), ie);
- }
- }
- else
- {
- try
- {
- fProject.setRuntime(fRuntime, null); //jvh - happens here...
- } catch (CoreException e)
- {
- status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), e);
- }
- }
-
-
- return status[0];
- }
-
- /**
- * Returns a translatable delimited list of facet labels derived from the provided
- * set of facets
- *
- * @param facets a set containing elements of type {@link IProjectFacet}
- * @return String a delimited list of facet labels
- */
- private static String getFacetListMessageString(Set facets)
- {
- String facetListMessage = "";
- int size = facets.size();
- if (size > 0)
- {
- Iterator itr = facets.iterator();
- IProjectFacet firstProjectFacet = (IProjectFacet)itr.next();
- facetListMessage = firstProjectFacet.getLabel();
-
- //Continue appending to facetListMessage until all the facet labels
- //are in the list.
- while (itr.hasNext())
- {
- IProjectFacet projectFacet = (IProjectFacet)itr.next();
- String pfLabel = projectFacet.getLabel();
- facetListMessage = NLS.bind(ConsumptionMessages.MSG_FACETS, new String[] {facetListMessage, pfLabel});
- }
- }
-
- return facetListMessage;
- }
-
-
- /**
- * Returns the set of facet versions which can be inferred from the provided Java project
- *
- * @param javaProject a Java project that exists in the workspace. Must not be null.
- * @return Set containing elements of type {@link IProjectFacetVersion}
- */
- public static Set getFacetsForJavaProject(IJavaProject javaProject)
- {
- Set facets = new HashSet();
- String jdkComplianceLevel = null;
- if (javaProject!=null)
- {
- jdkComplianceLevel = javaProject.getOption("org.eclipse.jdt.core.compiler.compliance", false);
- if (jdkComplianceLevel == null)
- {
- jdkComplianceLevel = (String)JavaCore.getDefaultOptions().get("org.eclipse.jdt.core.compiler.compliance");
- if (jdkComplianceLevel == null)
- {
- jdkComplianceLevel = "1.4";
- }
- }
- }
-
- IProjectFacet javaFacet = ProjectFacetsManager.getProjectFacet(IModuleConstants.JST_JAVA);
- IProjectFacetVersion javaFacetVersion = null;
- if (jdkComplianceLevel.equals("1.3"))
- {
- javaFacetVersion = javaFacet.getVersion("1.3");
- }
- else if (jdkComplianceLevel.equals("1.4"))
- {
- javaFacetVersion = javaFacet.getVersion("1.4");
- }
- else if (jdkComplianceLevel.equals("1.5"))
- {
- javaFacetVersion = javaFacet.getVersion("5.0");
- }
- else
- {
- javaFacetVersion = javaFacet.getVersion("1.4");
- }
-
- facets.add(javaFacetVersion);
- IProjectFacet utilityFacet = ProjectFacetsManager.getProjectFacet(IModuleConstants.JST_UTILITY_MODULE);
- IProjectFacetVersion utilityFacetVersion = null;
- try
- {
- utilityFacetVersion = utilityFacet.getLatestVersion();
- }
- catch (CoreException ce)
- {
-
- }
- if (utilityFacetVersion != null)
- {
- facets.add(utilityFacetVersion);
- }
- return facets;
- }
-
-
- //Methods related to facet runtimes.
-
- /**
- * Returns a set of facet runtimes that support the given
- * required facet versions.
- * @param requiredFacetVersions an array containing elements of type {@link RequiredFacetVersion}
- * @return Set set of facet runtimes that support the given required facet versions.
- * (element type: {@link IRuntime})
- */
- public static Set getRuntimes(RequiredFacetVersion[] requiredFacetVersions)
- {
- //Form the sets of IProjectFacetVersions these RequiredFacetVersions represent.
- ArrayList listOfFacetSets = new ArrayList();
-
- HashSet facets = new HashSet();
- int javaFacetIndex = -1;
- for (int i=0; i<requiredFacetVersions.length; i++)
- {
- IProjectFacetVersion pfv = requiredFacetVersions[i].getProjectFacetVersion();
- if (FacetUtils.isJavaFacet(pfv.getProjectFacet()))
- {
- //Remember the index
- javaFacetIndex = i;
- }
- facets.add(requiredFacetVersions[i].getProjectFacetVersion());
- }
-
- listOfFacetSets.add(facets);
-
- //If the java facet was one of the facets in the set, and new versions of java are allowed,
- //create sets that contain the newer permitted versions of the java facets.
- if (javaFacetIndex > -1)
- {
- ArrayList permittedJavaVersions = new ArrayList();
- RequiredFacetVersion rfv = requiredFacetVersions[javaFacetIndex];
- if (rfv.getAllowNewer())
- {
- String version = rfv.getProjectFacetVersion().getVersionString();
- Set allVersions = rfv.getProjectFacetVersion().getProjectFacet().getVersions();
- Iterator itr = allVersions.iterator();
- while (itr.hasNext())
- {
- IProjectFacetVersion thisPfv = (IProjectFacetVersion)itr.next();
- String thisVersion = thisPfv.getVersionString();
- if (greaterThan(thisVersion, version))
- {
- permittedJavaVersions.add(thisVersion);
- }
- }
-
- String[] javaVersions = (String[])permittedJavaVersions.toArray(new String[0]);
-
- for (int j=0; j<javaVersions.length; j++)
- {
- HashSet thisFacetSet = new HashSet();
-
- for (int k=0; k<requiredFacetVersions.length; k++)
- {
- if (k==javaFacetIndex)
- {
- IProjectFacetVersion pfv = requiredFacetVersions[k].getProjectFacetVersion().getProjectFacet().getVersion(javaVersions[j]);
- thisFacetSet.add(pfv);
- }
- else
- {
- IProjectFacetVersion pfv = requiredFacetVersions[k].getProjectFacetVersion();
- thisFacetSet.add(pfv);
- }
- }
-
- listOfFacetSets.add(thisFacetSet);
- }
- }
- }
-
- //Return the union of runtimes for all the facetSets.
- return getRuntimes((Set[])listOfFacetSets.toArray(new Set[0]));
-
- }
-
- /**
- * Returns whether or not the provided facet runtime supports the provided
- * required facet versions.
- *
- * @param requiredFacetVersions an array containing elements of type {@link RequiredFacetVersion}
- * @param fRuntimeName name of a {@link IRuntime}
- * @return boolean <code>true</code> if the facet runtime supports the required facet versions.
- * Returns <code>false</code> otherwise.
- */
- public static boolean isFacetRuntimeSupported(RequiredFacetVersion[] requiredFacetVersions, String fRuntimeName)
- {
- Set fRuntimes = getRuntimes(requiredFacetVersions);
- Iterator itr = fRuntimes.iterator();
- while (itr.hasNext())
- {
- IRuntime runtime = (IRuntime)itr.next();
- if (runtime.getName().equals(fRuntimeName))
- {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns the union of facet runtimes that support the provided sets of facet versions.
- *
- * @param facetSets array of Sets, where each Set contains elements of type {@link IProjectFacetVersion}.
- * @return Set containing elements of type {@link IRuntime}
- */
- public static Set getRuntimes(Set[] facetSets)
- {
- HashSet unionSet = new HashSet();
- for (int i=0; i<facetSets.length; i++)
- {
- Set facets = facetSets[i];
- Set runtimes = RuntimeManager.getRuntimes(facets);
- Iterator itr = runtimes.iterator();
- while (itr.hasNext())
- {
- IRuntime runtime = (IRuntime)itr.next();
- if (!unionSet.contains(runtime))
- {
- unionSet.add(runtime);
- }
- }
- }
- return unionSet;
- }
-
- /**
- * Returns whether or not the provided facet runtime supports the provided set of facet versions.
- *
- * @param facetRuntime a facet runtime
- * @param projectFacetVersions set containing elements of type {@link IProjectFacetVersion}
- * @return boolean <code>true</code> if the facet runtime supports the provided set of facet versions.
- * Returns <code>false</code> otherwise.
- */
- public static boolean doesRuntimeSupportFacets(IRuntime facetRuntime, Set projectFacetVersions)
- {
- Set runtimes = RuntimeManager.getRuntimes(projectFacetVersions);
- Iterator itr = runtimes.iterator();
- while (itr.hasNext())
- {
- IRuntime runtime = (IRuntime)itr.next();
- if (runtime.getName().equals(facetRuntime.getName()))
- {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns whether versionA is greater than versionB
- *
- * @param versionA version number of the form 1.2.3
- * @param versionA version number of the form 1.2.3
- * @return boolean <code>true</code> if versionA is greater than versionB, <code>false</code> otherwise.
- */
- public static boolean greaterThan(String versionA, String versionB)
- {
- StringTokenizer stA = new StringTokenizer(versionA, ".");
- StringTokenizer stB = new StringTokenizer(versionB, ".");
-
- int sizeA = stA.countTokens();
- int sizeB = stB.countTokens();
-
- int size;
- if (sizeA < sizeB)
- {
- size = sizeA;
- }
- else
- size = sizeB;
-
- for (int i=0; i<size; i++)
- {
- int a = Integer.parseInt(stA.nextToken());
- int b = Integer.parseInt(stB.nextToken());
- if (a!=b)
- {
- return a > b;
- }
- }
-
- return sizeA > sizeB;
- }
-
- /**
- * Returns whether the provided facet has an id of "jst.java"
- * @param pf facet
- * @return <code>true</code> if facet has an id of "jst.java", <code>false</code> otherwise.
- */
- public static boolean isJavaFacet(IProjectFacet pf)
- {
- if (pf.getId().equals("jst.java"))
- return true;
- else
- return false;
- }
-
- /**
- * Returns whether or not the provided project is a faceted Java utility project or a non-faceted Java project.
- *
- * @param project an IProject
- * @return boolean <code>true</code> if the provided project is a faceted Java utility project
- * or a non-faceted Java project, <code>false</code> otherwise.
- */
- public static boolean isJavaProject(IProject project)
- {
- //Check if it's a faceted project
- try
- {
- IFacetedProject fProject = ProjectFacetsManager.create(project);
- if (fProject != null)
- {
- //Return true if it's a utility project
- if (J2EEUtils.isJavaComponent(project))
- {
- return true;
- }
- else
- {
- //See if the java facet is the only one it has.
- Set facets = fProject.getProjectFacets();
- if (facets.size()==1)
- {
- IProjectFacetVersion pfv = (IProjectFacetVersion)facets.iterator().next();
- if (isJavaFacet(pfv.getProjectFacet()))
- {
- return true;
- }
- }
- }
- }
- else
- {
- if (ResourceUtils.isJavaProject(project))
- {
- return true;
- }
- }
- } catch (CoreException ce)
- {
-
- }
-
- return false;
- }
-
- /**
- * Returns whether or not the provided template id is equal to "template.jst.utility"
- *
- * @param templateId template id
- * @return boolean <code>true</code> if the provided template id is equal to "template.jst.utility",
- * <code>false</code> otherwise.
- */
- public static boolean isUtilityTemplate(String templateId)
- {
- if (ProjectFacetsManager.isTemplateDefined(templateId))
- {
- if (templateId.equals("template.jst.utility"))
- {
- return true;
- }
- }
-
- return false;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java
deleted file mode 100644
index e78fcf032..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.AnyFilter;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
-import org.eclipse.osgi.util.NLS;
-
-
-/**
-* This is a kind of Filter that accepts only objects
-* which indicate a Java resource. In particular, any
-* {@link org.eclipse.core.resources.IResource} whose
-* pathname, or any object whose string representation as
-* returned by <code>toString()</code>, ends in
-* "<code>.java</code>" or "<code>.class</code>" will be accepted.
-* All other objects will be rejected.
-*/
-public class FolderResourceFilter extends AnyFilter
-{
-
- /**
- * Constructs a new <code>JavaResourceFilter</code> that filters
- * "<code>.java</code>" and "<code>.class</code>" objects.
- * Equivalent to <code>JavaResourceFilter(ALL_FILES)</code>.
- */
- public FolderResourceFilter () { }
-
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName ()
- {
- return ConsumptionMessages.FOLDER_FILTER_NAME;
- }
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription ()
- {
- return ConsumptionMessages.FOLDER_FILTER_DESC;
- }
-
- public IStatus statusOf ( Object object )
- {
- if (object == null)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
- null
- );
- }
-
- String name = null;
-
- if (object instanceof IResource)
- {
- IResource resource = (IResource)object;
- name = resource.getFullPath().toString();
- if (resource.getType() != IResource.FOLDER)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FOLDER,new Object[] {name}),
- null
- );
- }
- }
- return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java
deleted file mode 100644
index fc1f1d910..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import org.eclipse.core.resources.IProject;
-
-
-/**
- * Implement this interface to provide logic that can be plugged into
- * the server defaulting algorithm.
- * (See the org.eclipse.jst.ws.consumption.serverDefaulter extension point)
- */
-public interface IServerDefaulter
-{
-
- /**
- * @param project
- * @return ServerInfo.
- * If no existing server or server type is recommended, return null.
- * If a server type is recommended, return an instance of ServerInfo with a non-null
- * non-empty String for the serverFactoryId and null for the serverInstanceId.
- * If a server instance is recommended, return an instance of ServerInfo with a non-null
- * non-empty String for the serverFactoryId and the serverInstanceId.
- */
- public ServerInfo recommendDefaultServer(IProject project);
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java
deleted file mode 100644
index a15eb540a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.AnyFilter;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
-import org.eclipse.osgi.util.NLS;
-
-
-/**
-* This is a kind of Filter that accepts only objects
-* which indicate a Java resource. In particular, any
-* {@link org.eclipse.core.resources.IResource} whose
-* pathname, or any object whose string representation as
-* returned by <code>toString()</code>, ends in
-* "<code>.java</code>" or "<code>.class</code>" will be accepted.
-* All other objects will be rejected.
-*/
-public class JavaResourceFilter extends AnyFilter
-{
-
- /**
- * A <code>JavaResourceFilter</code> constructed with this value will
- * accept "<code>.java</code>", but not "<code>.class</code>", objects.
- */
- public static final byte JAVA_FILES = (byte)1;
-
- /**
- * A <code>JavaResourceFilter</code> constructed with this value will
- * accept "<code>.class</code>", but not "<code>.java</code>", objects.
- */
- public static final byte CLASS_FILES = (byte)2;
-
- /**
- * A <code>JavaResourceFilter</code> constructed with this value will
- * accept both "<code>.java</code>" and "<code>.class</code>" objects.
- */
- public static final byte ALL_FILES = (byte)255;
-
- private byte extensions_;
-
- /**
- * Constructs a new <code>JavaResourceFilter</code> that filters
- * "<code>.java</code>" and "<code>.class</code>" objects.
- * Equivalent to <code>JavaResourceFilter(ALL_FILES)</code>.
- */
- public JavaResourceFilter ()
- {
- this(ALL_FILES);
- }
-
- /**
- * Constructs a new <code>JavaResourceFilter</code> that filters
- * "<code>.java</code>" objects, "<code>.class</code>" objects,
- * or both if the value of <code>extensions</code> is
- * {@link #JAVA_FILES}, {@link #CLASS_FILES} or {@link #ALL_FILES}
- * respectively.
- * @param extensions One of
- * {@link #JAVA_FILES}, {@link #CLASS_FILES} or {@link #ALL_FILES}.
- */
- public JavaResourceFilter ( byte extensions )
- {
- extensions_ = extensions;
- }
-
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName ()
- {
- return ConsumptionMessages.JAVA_FILTER_NAME;
- }
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription ()
- {
- return ConsumptionMessages.JAVA_FILTER_DESC;
- }
-
- /**
- * Returns an {@link org.eclipse.core.runtime.IStatus}
- * describing the <code>Filter</code>'s assessment of
- * the given <code>object</code>.
- * @param object The object to filter.
- * @return An {@link org.eclipse.core.runtime.IStatus}
- * indicating whether or not if the given <code>object</code>
- * represents a Java resource.
- */
- public IStatus statusOf ( Object object )
- {
- if (object == null)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
- null
- );
- }
-
- String name = null;
-
- if (object instanceof IResource)
- {
- IResource resource = (IResource)object;
- name = resource.getFullPath().toString();
- if (resource.getType() != IResource.FILE)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FILE,new Object[] {name}),
- null
- );
- }
- }
-
- if (name == null)
- {
- name = object.toString();
- }
-
- if (!acceptsName(name))
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- NLS.bind(ConsumptionMessages.JAVA_FILTER_MSG_ERROR_WRONG_EXTENSION,new Object[] {name}),
- null
- );
- }
-
- return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
- }
-
- //
- // Checks if the given name is acceptable based upon its extension
- // and the value of the extensions_ bitmask.
- //
- private boolean acceptsName ( String name )
- {
- return (
- (name.endsWith(".java") && ((extensions_ & JAVA_FILES) != 0)) ||
- (name.endsWith(".class") && ((extensions_ & CLASS_FILES) != 0))
- );
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java
deleted file mode 100644
index e8da47621..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-
-
-/**
-* This class contains useful methods for working with Server plugin functions
-*/
-public final class MappingUtils
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private static final String DEFAULT_SERVICE_EXT = "Service.wsdl";
- private static final String DEFAULT_BINDING_EXT = "Binding.wsdl";
- private static final String DEFAULT_V4_SERVICE_EXT = "-service.wsdl";
- private static final String DEFAULT_V4_BINDING_EXT = "-binding.wsdl";
- private static final String WSDL_EXTENSION = ".wsdl";
- private static final String WSDL_FOLDER = "wsdl";
- public static final String DEFAULT_SKELETON_PACKAGENAME = "service";
-
- /**
- * Returns the WSDL folder path
- * @param project the project
- */
- public static IPath getWSDLFolderPath (IProject project, String componentName)
- {
- IPath wsdlFolder=null;
-// IPath webModuleServerRoot = ResourceUtils.getWebModuleServerRoot( project ).getFullPath();
- IPath webModuleServerRoot = J2EEUtils.getWebContentPath(project);
- if (webModuleServerRoot != null )
- wsdlFolder = webModuleServerRoot.append(WSDL_FOLDER);
- return wsdlFolder;
- }
-
-
- /**
- * Returns the base name based on WSDL file name
- * @param wsdlName WSDL file name
- */
- public static String getBaseName (String wsdlLocation )
- {
- String wsdlName=wsdlLocation;
-
- int index = wsdlLocation.lastIndexOf('/');
- if (index!= -1) {
- wsdlName = wsdlLocation.substring(index+1,wsdlName.length());
- }
-
- String baseName=wsdlName;
- if ( wsdlName.endsWith(DEFAULT_SERVICE_EXT) ) {
- baseName = wsdlName.substring(0,(wsdlName.length() - DEFAULT_SERVICE_EXT.length()));
- } else if ( wsdlName.toLowerCase().endsWith(DEFAULT_V4_SERVICE_EXT) ) {
- baseName = wsdlName.substring(0,(wsdlName.length() - DEFAULT_V4_SERVICE_EXT.length()));
- } else if (wsdlName.endsWith(DEFAULT_BINDING_EXT)) {
- baseName = wsdlName.substring(0,(wsdlName.length()-DEFAULT_BINDING_EXT.length()));
- } else if (wsdlName.toLowerCase().endsWith(DEFAULT_V4_BINDING_EXT)) {
- baseName = wsdlName.substring(0,(wsdlName.length()-DEFAULT_V4_BINDING_EXT.length()));
- } else if (wsdlName.toLowerCase().endsWith(WSDL_EXTENSION)) {
- baseName = wsdlName.substring(0,(wsdlName.length() - WSDL_EXTENSION.length()));
- } else {
- // no recognizable suffix, just remove extension, if any
- int index4 = baseName.lastIndexOf('.');
- if (index4!=-1)
- baseName = baseName.substring(0, index4);
- }
- return baseName;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java
deleted file mode 100644
index bf7f4f058..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.AnyFilter;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
-import org.eclipse.osgi.util.NLS;
-
-
-/**
-* This is a kind of Filter that accepts only objects
-* which indicate a Java resource. In particular, any
-* {@link org.eclipse.core.resources.IResource} whose
-* pathname, or any object whose string representation as
-* returned by <code>toString()</code>, ends in
-* "<code>.java</code>" or "<code>.class</code>" will be accepted.
-* All other objects will be rejected.
-*/
-public class PropertiesResourceFilter extends AnyFilter
-{
-
- /**
- * Constructs a new <code>JavaResourceFilter</code> that filters
- * "<code>.java</code>" and "<code>.class</code>" objects.
- * Equivalent to <code>JavaResourceFilter(ALL_FILES)</code>.
- */
- public PropertiesResourceFilter ()
- {
-
- }
-
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName ()
- {
- return ConsumptionMessages.PROPERTIES_FILTER_NAME;
- }
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription ()
- {
- return ConsumptionMessages.PROPERTIES_FILTER_DESC;
- }
-
- /**
- * Returns an {@link org.eclipse.core.runtime.IStatus}
- * describing the <code>Filter</code>'s assessment of
- * the given <code>object</code>.
- * @param object The object to filter.
- * @return An {@link org.eclipse.core.runtime.IStatus}
- * indicating whether or not if the given <code>object</code>
- * represents a Java resource.
- */
- public IStatus statusOf ( Object object )
- {
- if (object == null)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
- null
- );
- }
-
- String name = null;
-
- if (object instanceof IResource)
- {
- IResource resource = (IResource)object;
- name = resource.getFullPath().toString();
- if (resource.getType() != IResource.FILE)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FILE,new Object[] {name}),
- null
- );
- }
- }
-
- if (name == null)
- {
- name = object.toString();
- }
-
- if (!name.endsWith(".properties"))
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- NLS.bind(ConsumptionMessages.PROPERTIES_FILTER_MSG_ERROR_WRONG_EXTENSION,new Object[] {name}),
- null
- );
- }
-
- return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java
deleted file mode 100644
index 4a501df52..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-
-import java.util.ArrayList;
-import java.util.Iterator;
-
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-
-public class RequiredFacetVersion
-{
- private IProjectFacetVersion projectFacetVersion;
- private boolean allowNewer;
- private IProjectFacetVersion[] allowedProjectFacetVersions;
-
- public boolean getAllowNewer()
- {
- return allowNewer;
- }
- public void setAllowNewer(boolean allowNewer)
- {
- this.allowNewer = allowNewer;
- }
- public IProjectFacetVersion getProjectFacetVersion()
- {
- return projectFacetVersion;
- }
- public void setProjectFacetVersion(IProjectFacetVersion projectFacetVersion)
- {
- this.projectFacetVersion = projectFacetVersion;
- }
- public IProjectFacetVersion[] getAllowedProjectFacetVersions()
- {
- if (allowedProjectFacetVersions == null)
- {
- ArrayList versions = new ArrayList();
- IProjectFacetVersion minpfv = getProjectFacetVersion();
- versions.add(minpfv);
- //If allow-newer is true, add all the versions greater than the min version.
- if (getAllowNewer())
- {
- String minVersion = minpfv.getVersionString();
- Iterator allVersionsItr = minpfv.getProjectFacet().getVersions().iterator();
- while (allVersionsItr.hasNext())
- {
- IProjectFacetVersion testpfv = (IProjectFacetVersion)allVersionsItr.next();
- String testVersion = testpfv.getVersionString();
- if (FacetUtils.greaterThan(testVersion, minVersion))
- {
- versions.add(testpfv);
- }
- }
- }
-
- allowedProjectFacetVersions = (IProjectFacetVersion[])versions.toArray(new IProjectFacetVersion[0]);
- }
-
- return allowedProjectFacetVersions;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java
deleted file mode 100644
index 0625cb2e3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on Mar 25, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.ws.internal.consumption.common;
-
-/**
- *
- */
-public class ServerInfo
-{
- String serverFactoryId;
- String serverInstanceId;
- /**
- * @return Returns the serverFactoryId.
- */
- public String getServerFactoryId()
- {
- return serverFactoryId;
- }
- /**
- * @param serverFactoryId The serverFactoryId to set.
- */
- public void setServerFactoryId(String serverFactoryId)
- {
- this.serverFactoryId = serverFactoryId;
- }
- /**
- * @return Returns the serverInstanceId.
- */
- public String getServerInstanceId()
- {
- return serverInstanceId;
- }
- /**
- * @param serverInstanceId The serverInstanceId to set.
- */
- public void setServerInstanceId(String serverInstanceId)
- {
- this.serverInstanceId = serverInstanceId;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java
deleted file mode 100644
index a6dd1815a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-/**
- *
- * The factory class can be used to get at a single instance of the
- * WSDL parser. Note: This class is temporary. We will probably come
- * up with a better method of handling passing around the parser.
- *
- */
-//TODO We need to find a better way to pass around the parser than
-// using this singleton factory. Hopefully, we can then delete
-// this class.
-public class WSDLParserFactory
-{
- private static WebServicesParserExt parser_;
-
- private WSDLParserFactory()
- {
- }
-
- public static WebServicesParser getWSDLParser()
- {
- if( parser_ == null )
- {
- parser_ = new WebServicesParserExt();
- }
-
- return parser_;
- }
-
- public static void killParser()
- {
- parser_ = null;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java
deleted file mode 100644
index 880819506..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.AnyFilter;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
-import org.eclipse.osgi.util.NLS;
-
-
-/**
-* This is a kind of Filter that accepts only objects
-* which indicate a WSDL resource. In particular, any
-* {@link org.eclipse.core.resources.IResource} whose
-* pathname, or any object whose string representation as
-* returned by <code>toString()</code>, ends in
-* "<code>.wsdl</code>" will be accepted.
-* All other objects will be rejected.
-*/
-public class WSDLResourceFilter extends AnyFilter
-{
- /**
- * Constructs a new <code>WSDLResourceFilter</code>.
- */
- public WSDLResourceFilter ()
- {
- }
-
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName ()
- {
- return ConsumptionMessages.WSDL_FILTER_NAME;
- }
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription ()
- {
- return ConsumptionMessages.WSDL_FILTER_DESC;
- }
-
- /**
- * Returns an {@link org.eclipse.core.runtime.IStatus}
- * describing the <code>Filter</code>'s assessment of
- * the given <code>object</code>.
- * @param object The object to filter.
- * @return An {@link org.eclipse.core.runtime.IStatus}
- * indicating whether or not if the given <code>object</code>
- * represents a WSDL resource.
- */
- public IStatus statusOf ( Object object )
- {
- if (object == null)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
- null
- );
- }
-
- String name = null;
-
- if (object instanceof IResource)
- {
- IResource resource = (IResource)object;
- name = resource.getFullPath().toString();
- if (resource.getType() != IResource.FILE)
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FILE,new Object[] {name}),
- null
- );
- }
- }
-
- if (name == null)
- {
- name = object.toString();
- }
-
- if (!name.endsWith(".wsdl"))
- {
- return new Status(
- IStatus.ERROR,
- WebServiceConsumptionPlugin.ID,
- 0,
- NLS.bind(ConsumptionMessages.WSDL_FILTER_MSG_ERROR_WRONG_EXTENSION,new Object[] {name}),
- null
- );
- }
-
- return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java
deleted file mode 100644
index 59b3831ce..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.common;
-
-import java.util.Hashtable;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-
-
-
-/**
-* This is the registry of WebServiceStartServerType objects.
-*/
-public class WebServiceStartServerRegistry
-{
-
- private static WebServiceStartServerRegistry instance_;
- private Hashtable StartServerTypes;
-
- //
- // Loads WebServiceStartServerType objects into this registry.
- // See method getInstance().
- //
- private void load ()
- {
- StartServerTypes = new Hashtable();
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] config = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption",
- "webServiceStartServerType");
-
- for(int idx=0; idx<config.length; idx++)
- {
- IConfigurationElement elem = config[idx];
- try
- {
- String factoryId_ = elem.getAttribute("factoryId");
- StartServerTypes.put(factoryId_, elem);
-
- }
- catch (Exception e)
- {
- ILog log = EnvironmentService.getEclipseLog();
- log.log(ILog.ERROR, 5047, this, "load", e);
- }
-
- }
- }
-
- /**
- * Returns a singleton instance of this class.
- * @return A singleton WebServiceStartServerRegistry object.
- */
- public static WebServiceStartServerRegistry getInstance ()
- {
- if (instance_ == null)
- {
- instance_ = new WebServiceStartServerRegistry();
- instance_.load();
- }
- return instance_;
- }
-
- public Object getServerStartByTypeId (String typeID) throws CoreException
- {
- if (typeID==null)
- return null;
- return ((IConfigurationElement)StartServerTypes.get(typeID)).createExecutableExtension("class");
- }
-
- public boolean isRemoveEARRequired(String typeId) throws CoreException {
- if (typeId!=null) {
- IConfigurationElement elem = (IConfigurationElement)StartServerTypes.get(typeId);
- if (elem!=null){
- String value = elem.getAttribute("removeEAR");
- if (value!=null){
- return Boolean.valueOf(value).booleanValue();
- }
- }
- }
- return true;
- }
-}
-
-
-
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java
deleted file mode 100644
index c07aa7287..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* Objects of this class represent a Java bean.
-* Nearest moral equivalents: java.lang.Class, java.beans.BeanDescriptor.
-*/
-public class ArrayElement extends TypeElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- public static String ARRAY_NAME = "10101010array10101010";
- public static String REL_METHODS = "relmethods";
-
- /**
- * Constructor
- * @param projectElement The project this Bean belongs to.
- */
- public ArrayElement (String name)
- {
- this(name,new BasicModel("Project"),true);
- }
-
- /**
- * Constructor
- * @param parameterElement The parameter this Bean belongs to.
- */
- public ArrayElement (String name, Model model,boolean isRoot)
- {
- super(name,model,TypeElement.ARRAY);
- if(isRoot) model.setRootElement(this);
- fOwnerType = TypeElement.ROOT;
- }
-
-
- /**
- * Constructor for the case when this is not the root object
- * here it represents complex types
- * @param ParameterElement The Parameter that owns this bean type.
- * @param String Name of the bean element.
- */
- public ArrayElement ( ParameterElement parameterElement, String name)
- {
- super(name,parameterElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.ARRAY);
- fOwnerType = TypeElement.PARAMETER_OWNER;
- }
-
- /**
- * Constructor for the case when this is not the root object
- * here it represents complex types
- * @param ParameterElement The Parameter that owns this bean type.
- * @param String Name of the ParameterElement.
- */
- public ArrayElement ( AttributeElement attributeElement, String name)
- {
- super(name,attributeElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.ARRAY);
- fOwnerType = TypeElement.ATTRIBUTE_OWNER;
- }
-
- /**
- * Constructor for the case when this is not the root object
- * here it represents complex types
- * @param FieldElement The Parameter that owns this bean type.
- * @param String Name of the ParameterElement.
- */
- public ArrayElement ( FieldElement fieldElement, String name)
- {
- super(name,fieldElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.ARRAY);
- fOwnerType = TypeElement.FIELD_OWNER;
- }
-
-
- /*
- * determine wether this is an object array or
- * primitive array
- */
- public String getTypeName()
- {
- return ARRAY_NAME + getName();
- }
-
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java
deleted file mode 100644
index 0c7ce9c62..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* objects of this class represent a recognized return type
-*
-*/
-public class ArrayType extends RecognizedReturnType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public ArrayType(String typeName)
- {
- this(TypeFactory.ARRAY_NAME,typeName);
- }
-
- public ArrayType(String name,String typeName)
- {
- super(name);
- }
-
-
- /**
- * This is basically the function that dictates how we want to display this type
- * upon receiving it as a return from a proxy method
- * @param String the name of the type
- * @return String The display string
- */
- public String TypeConversion(String name)
- {
-
- String nonBean = Generator.DOUBLE_TAB + "java.util.List list" + getUniqueName() + "= java.util.Arrays.asList(" + name + ");" +StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "String temp"+ getUniqueName() +" = list" + getUniqueName() + ".toString();" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%=temp"+ getUniqueName() +"%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%"+ StringUtils.NEWLINE;
-
- return nonBean;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java
deleted file mode 100644
index c3cc514bb..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-/**
-* Objects of this class represent a Java bean method parameter.
-* Nearest moral equivalents: java.beans.ParameterDescriptor.
-*/
-public class AttributeElement extends BasicElement implements AttributeElementType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static final String REL_TYPE = "type";
- public static final String REL_OWNING_BEAN = "owningbean";
-
- private String fSetterMethod;
- private String fGetterMethod;
-
- /**
- * Constructor this takes the owning bean.
- * @param name The name of the attribute.
- * @param beanElement the bean that owns this attribute.
- */
- public AttributeElement ( BeanElement beanElement, String name)
- {
- super(name,beanElement,REL_OWNING_BEAN,BeanElement.REL_ATTRIBUTES);
- }
-
- public void setSetterMethod(String setterMethod)
- {
- fSetterMethod = setterMethod;
- }
-
- public String getSetterMethod()
- {
- return fSetterMethod;
- }
-
- public String getGetterMethod()
- {
- return fGetterMethod;
- }
-
- public void setGetterMethod(String getterMethod)
- {
- fGetterMethod = getterMethod;
- }
-
- public String getSetterSignature(String attribute)
- {
- int bracket = fSetterMethod.indexOf("(");
- bracket++;
- String setter = fSetterMethod.substring(0,bracket);
- String fullSetter = setter + attribute + ");";
-
- return fullSetter;
- }
-
- /**
- * Returns the Bean that owns this Attribute.
- * @return BeanElement The bean that owns this attribute.
- */
- public BeanElement getOwningBeanElement ()
- {
- Enumeration e = getElements(REL_OWNING_BEAN);
- return e.hasMoreElements() ? (BeanElement)e.nextElement() : null;
- }
-
- /**
- * Returns the type that is owned by this attributte.
- * @return TypeElement The Type that of this attribute.
- */
- public TypeElement getTypeElement ()
- {
- Enumeration e = getElements(REL_TYPE);
- return e.hasMoreElements() ? (TypeElement)e.nextElement() : null;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java
deleted file mode 100644
index 0b0b6fc88..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* Objects of this class represent a Java bean method parameter.
-* Nearest moral equivalents: java.beans.ParameterDescriptor.
-*/
-public interface AttributeElementType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public void setSetterMethod(String setterMethod);
- public String getSetterMethod();
- public String getGetterMethod();
- public void setGetterMethod(String getterMethod);
- public BeanElement getOwningBeanElement ();
- public TypeElement getTypeElement ();
- /**
- * Return the signature with this value as the parmeter
- *
- */
- public String getSetterSignature(String attribute);
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java
deleted file mode 100644
index 3b842ab76..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-
-/**
-* Objects of this class represent a Java bean.
-* Nearest moral equivalents: java.lang.Class, java.beans.BeanDescriptor.
-*/
-public class BeanElement extends TypeElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- public static String STATELESS_BEAN = "10101010statelessbean10101010";
- public static String REL_METHODS = "relmethods";
- public static int READONLY = 0;
- public static int WRITEONLY = 1;
- public static int READWRITE = 2;
- private int attrib = 2;
-
-
- /**
- * Constructor
- * @param projectElement The project this Bean belongs to.
- */
- public BeanElement (String name)
- {
- this(name,new BasicModel("Project"),true);
- }
-
- /**
- * Constructor
- * @param parameterElement The parameter this Bean belongs to.
- */
- public BeanElement (String name, Model model,boolean isRoot)
- {
- super(name,model,TypeElement.BEAN);
- if(isRoot) model.setRootElement(this);
- fOwnerType = TypeElement.ROOT;
- }
-
- /**
- * Constructor for the case when this is not the root object
- * here it represents complex types
- * @param ParameterElement The Parameter that owns this bean type.
- * @param String Name of the bean element.
- */
- public BeanElement ( ParameterElement parameterElement, String name)
- {
- super(name,parameterElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.BEAN);
- fOwnerType = TypeElement.PARAMETER_OWNER;
- }
-
- /**
- * Constructor for the case when this is not the root object
- * here it represents complex types
- * @param ParameterElement The Parameter that owns this bean type.
- * @param String Name of the ParameterElement.
- */
- public BeanElement ( AttributeElement attributeElement, String name)
- {
- super(name,attributeElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.BEAN);
- fOwnerType = TypeElement.ATTRIBUTE_OWNER;
- attribFunction(attributeElement);
- }
-
- private void attribFunction(AttributeElement attributeElement){
- if(attributeElement.getGetterMethod() != null && attributeElement.getSetterMethod() != null) attrib = READWRITE;
- else if(attributeElement.getGetterMethod() == null && attributeElement.getSetterMethod() != null) attrib = WRITEONLY;
- else if(attributeElement.getGetterMethod() != null && attributeElement.getSetterMethod() == null) attrib = READONLY;
- }
-
- /**
- * Constructor for the case when this is not the root object
- * here it represents complex types
- * @param ParameterElement The Parameter that owns this bean type.
- * @param String Name of the ParameterElement.
- */
- public BeanElement ( FieldElement fieldElement, String name)
- {
- super(name,fieldElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.BEAN);
- fOwnerType = TypeElement.FIELD_OWNER;
-
- }
-
- /**
- * Returns an enumeration of all Method objects of this Bean.
- * @return Enumeration All Method objects of this Bean.
- */
- public Enumeration getMethods ()
- {
- return getElements(REL_METHODS);
- }
-
- /**
- * Returns the number of Method objects of this Bean.
- * @return int The number of Method objects of this Bean.
- */
- public int getNumberOfMethodElements ()
- {
- return getNumberOfElements(REL_METHODS);
- }
-
- public String getTypeName()
- {
- if(isStateLess()) return STATELESS_BEAN + getName();
- return getName();
- }
-
- public int getAttrib()
- {
- return attrib;
- }
-
- public void setAttrib(int attrib)
- {
- this.attrib = attrib;
- }
-
- public boolean isStateLess()
- {
- Enumeration ea = getElements(TypeElement.REL_ATTRIBUTES);
- Enumeration ef = getElements(TypeElement.REL_FIELDS);
- if(ea.hasMoreElements() || ef.hasMoreElements()) return false;
- else return true;
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java
deleted file mode 100644
index 1ed79927a..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jem.java.Field;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
- * TypeFactory
- * Creation date: (4/10/2001 12:41:48 PM)
- * @author: Gilbert Andrews
- */
-public class BeanModelElementsFactory
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- public static final String RETURN_PARAM_NAME="returnp";
-
- private BeanModelElementsFactory(){}
-
- public static Element getBeanModelElement(Object object)
- {
- return BeanModelElementsFactory.getBeanModelElement(object,null,null);
- }
-
- public static Element getBeanModelElement(Object object,Element parentElement)
- {
- return BeanModelElementsFactory.getBeanModelElement(object,parentElement,null);
- }
-
- /*
- * Take in an object and return an element depending on what
- * type we are dealing with from the javamof
- **/
- public static Element getBeanModelElement(Object object,Element parentElement, Model model)
- {
- Element returnElement = null;
-
- if (object instanceof JavaClass){
- JavaClass javaClass = (JavaClass)object;
- String javaName = javaClass.getJavaName();
- if (!javaClass.isArray()){
- if(parentElement == null && model ==null) returnElement = new BeanElement(javaName);
- else if(parentElement == null && model !=null) returnElement = new BeanElement(javaName,model,false);
- else{
- if(parentElement instanceof ParameterElement){
- ParameterElement tempElement = (ParameterElement)parentElement;
- returnElement = new BeanElement(tempElement,javaName);
- }
- else if(parentElement instanceof AttributeElement){
- AttributeElement tempElement = (AttributeElement)parentElement;
- returnElement = new BeanElement(tempElement,javaName);
- }
- else if(parentElement instanceof FieldElement){
- FieldElement tempElement = (FieldElement)parentElement;
- returnElement = new BeanElement(tempElement,javaName);
- }
- else if(parentElement instanceof MethodElement){
- returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
- }
- }
- }
- else{
- if(parentElement == null && model ==null) returnElement = new ArrayElement(javaName);
- else if(parentElement == null && model !=null) returnElement = new ArrayElement(javaName,model,false);
- else{
- if(parentElement instanceof ParameterElement){
- ParameterElement tempElement = (ParameterElement)parentElement;
- returnElement = new ArrayElement(tempElement,javaName);
- }
- else if(parentElement instanceof AttributeElement){
- AttributeElement tempElement = (AttributeElement)parentElement;
- returnElement = new ArrayElement(tempElement,javaName);
- }
- else if(parentElement instanceof FieldElement){
- FieldElement tempElement = (FieldElement)parentElement;
- returnElement = new ArrayElement(tempElement,javaName);
- }
- else if(parentElement instanceof MethodElement){
- returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
- }
-
- }
- }
-
- }
- else if(object instanceof SamplePropertyDescriptor){
- SamplePropertyDescriptor pd = (SamplePropertyDescriptor)object;
- returnElement = new AttributeElement((BeanElement)parentElement,pd.getName());
- }
- else if(object instanceof Field){
- Field field = (Field)object;
- returnElement = new FieldElement((BeanElement)parentElement,field.getName());
- }
- else if (object instanceof Method){
- Method method = (Method)object;
- returnElement = new MethodElement((BeanElement)parentElement,method.getName(), method.getMethodElementSignature());
- }
- //non beaninfo
- else if (object instanceof String){
- String name = (String)object;
- returnElement = new AttributeElement((BeanElement)parentElement,name);
- }
- else if (object instanceof JavaParameter){
- JavaParameter javaParameter = (JavaParameter)object;
-
-
- if (javaParameter.isReturn())
- returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
- else{
- //a java parameter gives us the qualified name we dont want this
- String name = javaParameter.getQualifiedName();
- String shortName;
- int index = name.lastIndexOf(".");
- if (index != -1){
- index++;
- shortName = name.substring(index);
- }
- else shortName = name;
-
- returnElement = new ParameterElement((MethodElement)parentElement,shortName,MethodElement.REL_PARAMETERS,false);
-
- }
-
- }
- else if (object instanceof JavaHelpers){
- JavaHelpers javaHelper = (JavaHelpers)object;
- String javaName;
- if (javaHelper.isArray()) javaName = TypeFactory.ARRAY_NAME;
- else javaName = javaHelper.getJavaName();
- if (parentElement instanceof ParameterElement){
- returnElement = new SimpleElement((ParameterElement)parentElement,javaName,javaHelper.isPrimitive());
- }
- else if(parentElement instanceof AttributeElement){
- returnElement = new SimpleElement((AttributeElement)parentElement,javaName,javaHelper.isPrimitive());
- }
- else if(parentElement instanceof FieldElement){
- returnElement = new SimpleElement((FieldElement)parentElement,javaName,javaHelper.isPrimitive());
- }
- else if(parentElement instanceof MethodElement){
- returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
- }
- }
- return returnElement;
- }
-
-
-
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java
deleted file mode 100644
index 24da0c1c0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-/**
-* objects of this class represent a type
-*
-*/
-public class BigDecimalType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public BigDecimalType()
- {
- super(TypeFactory.BIG_DECIMAL_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type .
- */
- public String StringToType(String name)
- {
- return "new java.math.BigDecimal(" + name + ");";
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return name + ".toString()";
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java
deleted file mode 100644
index acf6033cc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-/**
-* objects of this class represent a type
-*
-*/
-public class BigIntegerType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public BigIntegerType()
- {
- super(TypeFactory.BIG_INTEGER_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type .
- */
- public String StringToType(String name)
- {
- return "new java.math.BigInteger(" + name + ");";
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return name + ".toString()";
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java
deleted file mode 100644
index 4861a696f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-* This class is used to simplify the codegen process
-* Because codegen may be processed differently depending on the type
-* we can handle how each type wants the code to look for a specific task
-* by creating a datatype and calling generic methods that are
-* to be specialized in subclasses
-*/
-public interface DataType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_TYPE = "type";
-
- /**
- * This function hands back the code required to go from the
- * string the user entered to the actual type of the element
- * @param String typeName this is the actual name of the type ie int,boolean
- * @param String nodeName The nodeName is just the attributename + Temp.
- * @param String the attributeName
- * @return String convert the string to type .
- */
- public String stringConversion(String typeName, String nodeName, String attributeName);
-
- /**
- * Often times in order to convert a type to string, string to type or just plain provide an input form
- * A temporary variable is used. If we run into a sitution where two of the same types are used in the
- * same method these temporary variables share the same name space. It isnt enough to use a name
- * because of we may have a nested scenario. Therefore any temporary variable that is used in a dataType
- * must use a unique name apeended to the end. This name must be passed in and it is up to the user of
- * DataType to insure it is unique.
- * @return Unique Name
- */
- public void setUniqueName(String name);
-
- /**
- * This is the name each temp variable will use
- *
- *
- */
- public String getUniqueName();
-
- /**
- * This function dictates how you want to process the
- * incoming string from the input jsp. You may or may not use the markup
- * function depending on the type. The simple types use it. DomElement does not
- * @param String the name of the attribute
- * @return String the code to be generated
- */
- public String getRequestCode(String name, String id);
-
-
- /**
- * Input form returns the user input html
- * @param String name The name of the input element
- * @return String The form used to collect the data
- */
- public String inputForm(String name);
-
- /**
- * converts the type returned from the proxy
- * back to a string
- * @return String convert the type to string.
- */
- public String TypeConversion(String name);
-
- /**
- * return the type
- * @return String the type(including package).
- */
- public String getType();
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java
deleted file mode 100644
index 6a839891b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class DateType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public DateType()
- {
- super(TypeFactory.BIG_DECIMAL_NAME);
- }
-
-
- /**
- * inputForm returns the user input html
- * The simple form is just a text input box
- * This has been specialized to show an example
- * @param String name The name of the input element
- * @return String The form used to collect the data
- */
- public String inputForm(String name)
- {
- String inputForm = "<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\""
- + name + "\" SIZE=20></TD>" + StringUtils.NEWLINE
- + "<%" + StringUtils.NEWLINE
- + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
- + "java.util.GregorianCalendar gcExamp" + getUniqueName()+ " = new java.util.GregorianCalendar();" + StringUtils.NEWLINE
- + "java.util.Date date" + getUniqueName()+ " = gcExamp" + getUniqueName()+ ".getTime();" + StringUtils.NEWLINE
- + "String tempResult" + getUniqueName()+ " = dateFormat" + getUniqueName()+ ".format(date" + getUniqueName()+ ");" + StringUtils.NEWLINE
- + "%>" + StringUtils.NEWLINE
- + "<TD ALIGN=\"left\">" + StringUtils.NEWLINE
- + "</TR>" + StringUtils.NEWLINE
- + "<TR>" + StringUtils.NEWLINE
- + "<TD> </TD>" + StringUtils.NEWLINE
- + "<TD ALIGN=\"left\"> eg. <%= tempResult" + getUniqueName()+ " %> </TD>" + StringUtils.NEWLINE
- + "</TR>" + StringUtils.NEWLINE;
-
-
-
- return inputForm;
- }
-
-
- /*
- * This function needs to be specialized
- * We must use the date function to help
- * us convert back and forth
- */
- public String stringConversion(String typeName, String nodeName, String attributeName)
- {
- String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();"
- + StringUtils.NEWLINE + Generator.DOUBLE_TAB + "java.util.Date " + nodeName + "= dateFormat" + getUniqueName()+ ".parse(" + attributeName + ");"
- + "" + StringUtils.NEWLINE;
- return conversion;
- }
-
- /**
- * this is needed for most case
- * but it is peripheral as the stringconversion needed
- * to be overridden
- */
- public String StringToType(String name)
- {
- return "";
- }
-
-
-
- /**
- * converts the type returned from the proxy
- * back to a string
- * @return String convert the type to string.
- */
- public String TypeConversion(String name)
- {
-
- String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.JspUtils.markup(dateFormat" + getUniqueName()+ ".format(" + name +"));" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
-
- return conversion;
- }
-
-
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return "";
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java
deleted file mode 100644
index c0406ac6b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class DomElementType implements DataType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- protected String fType;
- protected String fUniqueName;
-
- /**
- *Constructor
- *
- */
- public DomElementType()
- {
- fType = "org.w3c.dom.Element";
- fUniqueName = "";
- }
-
- /**
- * inputForm returns the user input html
- * The DomElement form is a text box
- * @param String name The name of the input element
- * @return String The form used to collect the data
- */
- public String inputForm(String name)
- {
- String inputForm = "<TD ALIGN=\"left\"><TEXTAREA Rows=7 Cols=45 NAME=\""
- + name + "\"></TEXTAREA></TD>" + StringUtils.NEWLINE
- + "</TR>" + StringUtils.NEWLINE;
- return inputForm;
- }
-
- /**
- * This function dictates how you want to process the
- * incoming string from the input jsp. You may or may not use the markup
- * function depending on the type. The simple types use it. DomElement does not
- * @param String the name of the attribute
- * @return String the code to be generated
- */
- public String getRequestCode(String name, String id)
- {
- String requestCode = Generator.DOUBLE_TAB + "String" + Generator.SPACE
- + id + "= request.getParameter(\""
- + name +"\");" + StringUtils.NEWLINE;
- return requestCode;
- }
-
- /**
- * This function hands back the code required to go from the
- * string the user entered to the actual type of the element
- * @param String typeName this is the actual name of the type ie int,boolean
- * @param String nodeName The nodeName is just the attributename + Temp.
- * @param String the attributeName
- * @return String convert the string to type .
- */
- public String stringConversion(String typeName, String nodeName, String attributeName)
- {
- String conversion = Generator.DOUBLE_TAB
- + "org.w3c.dom.Element " + nodeName + "= org.eclipse.jst.ws.util.DomElementHelper.createDomElementFromXMLString(" + attributeName + ");"
- + StringUtils.NEWLINE;
- return conversion;
- }
-
- /**
- * This is basically the function that dictates how we want to display this type
- * upon receiving it as a return from a proxy method
- * @param String the name of the type
- * @return String The display string
- */
- public String TypeConversion(String name)
- {
- String typeToString = Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.DomElementHelper.domWriter(" + name + ", new java.lang.StringBuffer()" + ");" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
-
- return typeToString;
- }
-
- /**
- * return the name of this type
- * @return String the name(including package).
- */
- public String getType()
- {
- return fType;
- }
-
- public String getUniqueName()
- {
- return fUniqueName;
- }
-
- public void setUniqueName(String name)
- {
- fUniqueName = name;
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java
deleted file mode 100644
index eceb2eb6e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-/**
-* Objects of this class represent a Java bean method parameter.
-* Nearest moral equivalents: java.beans.ParameterDescriptor.
-*/
-public class FieldElement extends BasicElement implements AttributeElementType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private String fSetterMethod;
- private String fGetterMethod;
-
-
- public static final String REL_TYPE = "type";
- public static final String REL_OWNING_BEAN = "owningbean";
-
- /**
- * Constructor this takes the owning bean.
- * @param name The name of the attribute.
- * @param beanElement the bean that owns this attribute.
- */
- public FieldElement ( BeanElement beanElement, String name)
- {
- super(name,beanElement,REL_OWNING_BEAN,BeanElement.REL_FIELDS);
- fSetterMethod = name;
- fGetterMethod = name;
- }
-
- public void setSetterMethod(String setterMethod)
- {
- fSetterMethod = setterMethod;
- }
-
- public String getSetterMethod()
- {
- return fSetterMethod;
- }
-
- public String getGetterMethod()
- {
- return fGetterMethod;
- }
-
- public void setGetterMethod(String getterMethod)
- {
- fGetterMethod = getterMethod;
- }
-
- public String getSetterSignature(String attribute)
- {
- return fSetterMethod + " = " + attribute + ";";
- }
-
- /**
- * Returns the Bean that owns this Attribute.
- * @return BeanElement The bean that owns this attribute.
- */
- public BeanElement getOwningBeanElement ()
- {
- Enumeration e = getElements(REL_OWNING_BEAN);
- return e.hasMoreElements() ? (BeanElement)e.nextElement() : null;
- }
-
- /**
- * Returns the type that is owned by this attributte.
- * @return TypeElement The Type that of this attribute.
- */
- public TypeElement getTypeElement ()
- {
- Enumeration e = getElements(REL_TYPE);
- return e.hasMoreElements() ? (TypeElement)e.nextElement() : null;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java
deleted file mode 100644
index d7cfbf9c4..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-/**
-* objects of this class represent a type
-*
-*/
-public class GregorianCalendarType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public GregorianCalendarType()
- {
- super(TypeFactory.GREGORIAN_CALENDAR_NAME);
- }
-
-
- /**
- * inputForm returns the user input html
- * The simple form is just a text input box
- * This has been specialized to show an example
- * @param String name The name of the input element
- * @return String The form used to collect the data
- */
- public String inputForm(String name)
- {
- String inputForm = "<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\""
- + name + "\" SIZE=20></TD>" + StringUtils.NEWLINE
- + "<%" + StringUtils.NEWLINE
- + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
- + "java.util.GregorianCalendar gcExamp" + getUniqueName()+ " = new java.util.GregorianCalendar();" + StringUtils.NEWLINE
- + "java.util.Date date" + getUniqueName()+ " = gcExamp" + getUniqueName()+ ".getTime();" + StringUtils.NEWLINE
- + "String tempResult" + getUniqueName()+ " = dateFormat" + getUniqueName()+ ".format(date" + getUniqueName()+ ");" + StringUtils.NEWLINE
- + "%>" + StringUtils.NEWLINE
-
-
- + "<TD ALIGN=\"left\">" + StringUtils.NEWLINE
- + "</TR>" + StringUtils.NEWLINE
- + "<TR>" + StringUtils.NEWLINE
- + "<TD> </TD>" + StringUtils.NEWLINE
- + "<TD ALIGN=\"left\"> eg. <%= tempResult" + getUniqueName()+ " %> </TD>" + StringUtils.NEWLINE
- + "</TR>" + StringUtils.NEWLINE;
-
-
-
- return inputForm;
- }
-
-
- /*
- * This function needs to be specialized
- * We must use the date function to help
- * us convert back and forth
- */
- public String stringConversion(String typeName, String nodeName, String attributeName)
- {
- String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();"
- + StringUtils.NEWLINE + Generator.DOUBLE_TAB + "java.util.Date dateTemp" + getUniqueName()+ " = dateFormat" + getUniqueName()+ ".parse(" + attributeName + ");"
- + StringUtils.NEWLINE + Generator.DOUBLE_TAB + "java.util.GregorianCalendar" + Generator.SPACE + nodeName + " = " + "new java.util.GregorianCalendar();"
- + StringUtils.NEWLINE + Generator.DOUBLE_TAB + nodeName + ".setTime(dateTemp" + getUniqueName()+ ");"
- + "" + StringUtils.NEWLINE;
- return conversion;
- }
-
- /**
- * this is needed for most case
- * but it is peripheral as the stringconversion needed
- * to be overridden
- */
- public String StringToType(String name)
- {
- return "";
- }
-
- /**
- * converts the type returned from the proxy
- * back to a string
- * @return String convert the type to string.
- */
- public String TypeConversion(String name)
- {
-
- String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "java.util.Date date" + getUniqueName()+ " = " + name + ".getTime();" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.JspUtils.markup(dateFormat" + getUniqueName()+ ".format(date" + getUniqueName() + "));" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
-
- return conversion;
- }
-
-
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return "";
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java
deleted file mode 100644
index a1ff2cf46..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a recognized return type
-*
-*/
-public class HashtableType extends RecognizedReturnType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public HashtableType()
- {
- super(TypeFactory.HASHTABLE_NAME);
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java
deleted file mode 100644
index 0035bfbe8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a recognized return type
-*
-*/
-public class MapType extends RecognizedReturnType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public MapType()
- {
- super(TypeFactory.MAP_NAME);
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java
deleted file mode 100644
index 52e8d6032..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-/**
-* Objects of this class represent a Java bean method.
-* Nearest moral equivalents: java.lang.reflect.Method, java.beans.MethodDescriptor.
-*/
-public class MethodElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static final String REL_BEAN = "bean";
- public static final String REL_PARAMETERS = "parameters";
- public static final String REL_RETURN_PARAMETERS = "returnparameters";
- private String fDisplayName;
- private String fName;
- private boolean fMethodOmitted;
-
- /**
- * Constructor.
- * @param bean The Bean that owns this method.
- * @param name The name of the method.
- * @param type The type of the method.
- */
- public MethodElement ( BeanElement beanElement, String name, String displayName)
- {
- super(name,beanElement,REL_BEAN,BeanElement.REL_METHODS);
- fDisplayName = displayName;
- fName = name;
- fMethodOmitted = false;
-
- }
-
- /*
- * In the event that there is an unsupported type
- * we will set the ommission boolean variable
- * @return boolean true if this method is to be ommited
- */
- public boolean getMethodOmmission()
- {
- return fMethodOmitted;
- }
-
- /*
- * In the event that there is an unsupported type
- * we will get the ommission boolean variable
- * @param boolean true if this method is to be ommited
- */
- public void setMethodOmmission(boolean bool)
- {
- fMethodOmitted = bool;
- }
-
-
- public String getName()
- {
- return fName;
- }
-
- public String getDisplayName()
- {
- return fDisplayName;
- }
-
- /**
- * Returns the Bean that owns this method.
- * @return Bean The Bean that owns this method.
- */
- public BeanElement getBeanElement ()
- {
- Enumeration e = getElements(REL_BEAN);
- return e.hasMoreElements() ? (BeanElement)e.nextElement() : null;
- }
-
- /**
- * Returns an enumeration of the return parameter of this method.
- * @return Enumeration holds the return parameter of this method.
- */
- public Enumeration getReturnParameterEnum ()
- {
- return getElements(REL_RETURN_PARAMETERS);
- }
-
- /**
- * Returns an enumeration of the return parameter of this method.
- * @return Enumeration holds the return parameter of this method.
- */
- public ParameterElement getReturnParameterElement ()
- {
- Enumeration e = getReturnParameterEnum();
- return e.hasMoreElements() ? (ParameterElement)e.nextElement() : null;
- }
-
- /**
- * Returns an enumeration of all Parameter objects of this method.
- * @return Enumeration All Parameter objects of this method.
- */
- public Enumeration getParameterElements ()
- {
- return getElements(REL_PARAMETERS);
- }
-
- /**
- * Returns the number of Parameter objects of this method.
- * @return int The number of Parameter objects of this method.
- */
- public int getNumberOfParameterElements ()
- {
- return getNumberOfElements(REL_PARAMETERS);
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java
deleted file mode 100644
index 37e8bd726..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060823 145643 mahutch@ca.ibm.com - Mark Hutchinson (created class)
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class ObjectType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public ObjectType()
- {
- super(TypeFactory.OBJECT_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type .
- */
- public String StringToType(String name)
- {
- //We can't deserialize a String to an Object
- //this should never actually be called since
- //methods with Objects as input are omitted.
- return "new java.lang.Object();";
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return name + ".toString()";
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java
deleted file mode 100644
index 36f08a8b8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-/**
-* Objects of this class represent a Java bean method parameter.
-* Nearest moral equivalents: java.beans.ParameterDescriptor.
-*/
-public class ParameterElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static final String REL_METHOD = "method";
- public static final String REL_TYPE = "type";
-
- public boolean fReturnParameter=false;
-
- /**
- * Constructor.
- * @param method The Method that owns this parameter.
- * @param name The name of the parameter.
- * @param type The type of the parameter.
- */
- public ParameterElement ( MethodElement methodElement, String name, String relType,boolean returnParameter )
- {
- this(name,methodElement,REL_METHOD,relType);
- fReturnParameter = returnParameter;
- }
-
- /**
- * Constructor.
- * @param method The Method that owns this parameter.
- * @param name The name of the parameter.
- * @param type The type of the parameter.
- */
- public ParameterElement (String name, MethodElement methodElement, String outRel,String inRel)
- {
- super(name,methodElement,outRel,inRel);
- }
-
- /**
- * Returns the Method that owns this parameter.
- * @return Method The Method that owns this parameter.
- */
- public MethodElement getMethodElement ()
- {
- Enumeration e = getElements(REL_METHOD);
- return e.hasMoreElements() ? (MethodElement)e.nextElement() : null;
- }
-
- /**
- * Returns the Method that owns this parameter.
- * @return Method The Method that owns this parameter.
- */
- public TypeElement getTypeElement ()
- {
- Enumeration e = getElements(REL_TYPE);
- return e.hasMoreElements() ? (TypeElement)e.nextElement() : null;
- }
-
- public boolean isReturn()
- {
- return fReturnParameter;
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java
deleted file mode 100644
index 387306178..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* objects of this class represent a recognized return type
-*
-*/
-public class PrimitiveArrayType extends ArrayType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveArrayType(String typeName)
- {
- super(TypeFactory.PRIMITIVE_ARRAY_NAME, typeName);
- }
-
- /**
- * This is basically the function that dictates how we want to display this type
- * upon receiving it as a return from a proxy method
- * @param String the name of the type
- * @return String The display string
- */
- public String TypeConversion(String name)
- {
- String trippleTab = Generator.DOUBLE_TAB + Generator.TAB;
-
- String nonBean = Generator.DOUBLE_TAB + "String temp" + getUniqueName() + " = \"[\";"
- + Generator.DOUBLE_TAB + "for(int i" + getUniqueName() + "=0;i" +getUniqueName() + "< " + name
- + ".length;i" + getUniqueName() + "++){" + StringUtils.NEWLINE
- + trippleTab + "temp"+ getUniqueName() +" = temp"+getUniqueName() + " + " + name + "[i" + getUniqueName()
- + "] + \",\";" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "}" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "int length" + getUniqueName() + " = temp" + getUniqueName() + ".length();"
- + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "temp" + getUniqueName() + " = temp"+getUniqueName()+".substring(0,(length"+getUniqueName()+" - 1)) + \"]\";"
- + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%=temp"+ getUniqueName() +"%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%"+ StringUtils.NEWLINE;
-
- return nonBean;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java
deleted file mode 100644
index f58ad9d80..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveBooleanType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveBooleanType()
- {
- super(TypeFactory.PRIM_BOOLEAN_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "Boolean.valueOf(" + name + ").booleanValue();";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java
deleted file mode 100644
index 5045d26dd..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveByteType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveByteType()
- {
- super(TypeFactory.PRIM_BYTE_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "Byte.parseByte(" + name + ");";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java
deleted file mode 100644
index d52f90393..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveCharType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveCharType()
- {
- super(TypeFactory.PRIM_CHAR_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "" + name + ".charAt(0);";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java
deleted file mode 100644
index 7b362e718..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveDoubleType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveDoubleType()
- {
- super(TypeFactory.PRIM_DOUBLE_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "Double.parseDouble(" + name + ");";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java
deleted file mode 100644
index 200f9d7ca..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveFloatType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveFloatType()
- {
- super(TypeFactory.PRIM_FLOAT_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "Float.parseFloat(" + name + ");";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java
deleted file mode 100644
index 2f33dd929..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveIntType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveIntType()
- {
- super(TypeFactory.PRIM_INTEGER_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "Integer.parseInt(" + name + ");";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java
deleted file mode 100644
index f71523669..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveJavaTypes extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveJavaTypes(String type)
- {
- super(type);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type .
- */
- public String StringToType(String name)
- {
- String conversion = fType + ".valueOf(" + name + ");";
- return conversion;
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return "String.valueOf(" + name + ")";
- }
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java
deleted file mode 100644
index ef0c82698..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveLongType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveLongType()
- {
- super(TypeFactory.PRIM_LONG_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "Long.parseLong(" + name + ");";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java
deleted file mode 100644
index 8f91ce6ac..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class PrimitiveShortType extends PrimitiveType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveShortType()
- {
- super(TypeFactory.PRIM_SHORT_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type.
- */
- public String StringToType(String name)
- {
- String conversion = "Short.parseShort(" + name + ");";
- return conversion;
- }
-
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java
deleted file mode 100644
index 4b5176766..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-/**
-* objects of this class represent a type
-*
-*/
-public abstract class PrimitiveType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public PrimitiveType(String type)
- {
- super(type);
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return "String.valueOf(" + name + ")";
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java
deleted file mode 100644
index fc721a809..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* objects of this class represent a recognized return type
-*
-*/
-public class RecognizedReturnType implements DataType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- protected String fType;
- protected String fUniqueName;
-
- /**
- *Constructor
- *
- */
- public RecognizedReturnType(String type)
- {
- fType = type;
- fUniqueName = "";
- }
-
- /**
- * not relevant at this point
- */
- public String inputForm(String name)
- {
- return "";
- }
-
- /**
- * again not relevant
- */
- public String getRequestCode(String name, String id)
- {
- return "";
- }
-
- /**
- * This function hands back the code required to go from the
- * string the user entered to the actual type of the element
- * @param String typeName this is the actual name of the type ie int,boolean
- * @param String nodeName The nodeName is just the attributename + Temp.
- * @param String the attributeName
- * @return String convert the string to type .
- */
- public String stringConversion(String typeName, String nodeName, String attributeName)
- {
- return "";
- }
-
- /**
- * This is basically the function that dictates how we want to display this type
- * upon receiving it as a return from a proxy method
- * @param String the name of the type
- * @return String The display string
- */
- public String TypeConversion(String name)
- {
- String nonBean = Generator.DOUBLE_TAB + "if(" + name + "!= null){" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "String temp" + getUniqueName()+" = " + name + ".toString();" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%=temp" + getUniqueName() +"%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "}";
- return nonBean;
- }
-
- /**
- * return the name of this type
- * @return String the name(including package).
- */
- public String getType()
- {
- return fType;
- }
-
- public String getUniqueName()
- {
- return fUniqueName;
- }
-
- public void setUniqueName(String name)
- {
- fUniqueName = name;
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java
deleted file mode 100644
index 289e009e5..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class SOAPElementType implements DataType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- protected String fType;
- protected String fUniqueName;
-
- /**
- *Constructor
- *
- */
- public SOAPElementType()
- {
- fType = "javax.xml.soap.SOAPElement";
- fUniqueName = "";
- }
-
- /**
- * inputForm returns the user input html
- * The DomElement form is a text box
- * @param String name The name of the input element
- * @return String The form used to collect the data
- */
- public String inputForm(String name)
- {
- String inputForm = "<TD ALIGN=\"left\"><TEXTAREA Rows=7 Cols=45 NAME=\""
- + name + "\"></TEXTAREA></TD>" + StringUtils.NEWLINE
- + "</TR>" + StringUtils.NEWLINE;
- return inputForm;
- }
-
- /**
- * This function dictates how you want to process the
- * incoming string from the input jsp. You may or may not use the markup
- * function depending on the type. The simple types use it. DomElement does not
- * @param String the name of the attribute
- * @return String the code to be generated
- */
- public String getRequestCode(String name, String id)
- {
- String requestCode = Generator.DOUBLE_TAB + "String" + Generator.SPACE
- + id + "= request.getParameter(\""
- + name +"\");" + StringUtils.NEWLINE;
- return requestCode;
- }
-
- /**
- * This function hands back the code required to go from the
- * string the user entered to the actual type of the element
- * @param String typeName this is the actual name of the type ie int,boolean
- * @param String nodeName The nodeName is just the attributename + Temp.
- * @param String the attributeName
- * @return String convert the string to type .
- */
- public String stringConversion(String typeName, String nodeName, String attributeName)
- {
- String conversion = Generator.DOUBLE_TAB
- + "javax.xml.soap.SOAPElement " + nodeName + "= org.eclipse.jst.ws.util.SoapElementHelper.createSOAPElementFromXMLString(" + attributeName + ");"
- + StringUtils.NEWLINE;
- return conversion;
- }
-
- /**
- * This is basically the function that dictates how we want to display this type
- * upon receiving it as a return from a proxy method
- * @param String the name of the type
- * @return String The display string
- */
- public String TypeConversion(String name)
- {
- String typeToString = Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.SoapElementHelper.soapElementWriter(" + name + ", new java.lang.StringBuffer()" + ");" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
-
- return typeToString;
- }
-
- /**
- * return the name of this type
- * @return String the name(including package).
- */
- public String getType()
- {
- return fType;
- }
-
- public String getUniqueName()
- {
- return fUniqueName;
- }
-
- public void setUniqueName(String name)
- {
- fUniqueName = name;
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java
deleted file mode 100644
index f478345d1..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* 1 of three type elements represents primitives
-*/
-public class SimpleElement extends TypeElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- * Constructor
- * @param ParameterElement The Parameter that owns this simple type.
- * @param String Name of the simple element.
- */
- public SimpleElement ( ParameterElement parameterElement, String name, boolean prim)
- {
- super(name,parameterElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.SIMPLE);
- fOwnerType = TypeElement.PARAMETER_OWNER;
- setPrimitive(prim);
- }
-
- /**
- * Constructor
- * @param ParameterElement The Attribute that owns this simple type.
- * @param String Name of the AttributeElement.
- */
- public SimpleElement ( AttributeElement attributeElement, String name, boolean prim)
- {
- super(name,attributeElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.SIMPLE);
- fOwnerType = TypeElement.ATTRIBUTE_OWNER;
- setPrimitive(prim);
- }
-
- /**
- * Constructor
- * @param ParameterElement The Attribute that owns this simple type.
- * @param String Name of the AttributeElement.
- */
- public SimpleElement ( FieldElement fieldElement, String name, boolean prim)
- {
- super(name,fieldElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.SIMPLE);
- fOwnerType = TypeElement.FIELD_OWNER;
- setPrimitive(prim);
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java
deleted file mode 100644
index e81948248..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public abstract class SimpleType implements DataType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- protected String fType;
- protected String fUniqueName;
-
- /**
- *Constructor
- *
- */
- public SimpleType(String type)
- {
- fType = type;
- }
-
- /**
- * inputForm returns the user input html
- * The simple form is just a text input box
- * @param String name The name of the input element
- * @return String The form used to collect the data
- */
- public String inputForm(String name)
- {
- String inputForm = "<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\""
- + name + "\" SIZE=20></TD>" + StringUtils.NEWLINE
- + "</TR>" + StringUtils.NEWLINE;
- return inputForm;
- }
-
- /**
- * This function dictates how you want to process the
- * incoming string from the input jsp. You may or may not use the markup
- * function depending on the type. The simple types use it. DomElement does not
- * @param String the name of the attribute
- * @return String the code to be generated
- */
- public String getRequestCode(String name, String id)
- {
- String requestCode = Generator.DOUBLE_TAB + "String" + Generator.SPACE
- + id + "= request.getParameter(\""
- + name +"\");" + StringUtils.NEWLINE;
- return requestCode;
- }
-
- /**
- * This function hands back the code required to go from the
- * string the user entered to the actual type of the element
- * it uses another function that all subclasses of SimpleType are required to implement
- * The StringToType function
- * @param String typeName this is the actual name of the type ie int,boolean
- * @param String nodeName The nodeName is just the attributename + Temp.
- * @param String the attributeName
- * @return String convert the string to type .
- */
- public String stringConversion(String typeName, String nodeName, String attributeName)
- {
- String conversion = Generator.DOUBLE_TAB + typeName + Generator.SPACE + nodeName
- + Generator.SPACE + " = " + StringToType(attributeName)
- + "" + StringUtils.NEWLINE;
- return conversion;
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public abstract String StringToType(String name);
-
- /**
- * converts the type returned from the proxy
- * back to a string
- * @return String convert the type to string.
- */
- public String TypeConversion(String name)
- {
-
- String conversion = Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.JspUtils.markup(" + TypeToString(name) + ");" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
- + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
-
- return conversion;
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public abstract String TypeToString(String name);
-
- /**
- * return the name of this type
- * @return String the name(including package).
- */
- public String getType()
- {
- return fType;
- }
-
- public String getUniqueName()
- {
- return fUniqueName;
- }
-
- public void setUniqueName(String name)
- {
- fUniqueName = name;
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java
deleted file mode 100644
index 50cb4cfbe..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a recognized return type
-*
-*/
-public class StateLessBeanType extends RecognizedReturnType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
-
- public StateLessBeanType(String name)
- {
- super(TypeFactory.STATELESS_BEAN);
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java
deleted file mode 100644
index 1b99c746e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-/**
-* objects of this class represent a type
-*
-*/
-public class StringType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public StringType()
- {
- super(TypeFactory.STRING_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type .
- */
- public String StringToType(String name)
- {
- String conversion = name + ";";
- return conversion;
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return "String.valueOf(" + name + ")";
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java
deleted file mode 100644
index f1592f6aa..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* TypeElement is the base class for Java bean features that have types.
-*/
-public abstract class TypeElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static int BEAN = 0;
- public static int SIMPLE = 1;
- public static int ARRAY = 2;
-
- private int fType;
- protected int fOwnerType;
- private boolean fPrimitive = false;
-
- /**
- * Constructor. Automatically adds this object to the given model.
- * @param name The name of the element
- * @param model The model to own this object.
- * @param type The type represented by this object, one of
- * <code>BEAN</code>, <code>SIMPLE</code> or <code>ARRAY</code>.
- */
- protected TypeElement ( String name, Model model, int type )
- {
- super(name,model);
- fType = type;
- }
-
- /**
- */
- protected TypeElement ( String name, Element element, String outboundRelName, String inboundRelName, int type )
- {
- super(name,element,outboundRelName,inboundRelName);
- fType = type;
- }
-
- /*
- *This will tell you wether the type is a bean
- *@param Boolean returns true if this is bean
- **/
- public boolean isBean()
- {
- if (fType == BEAN) return true;
- return false;
- }
-
- /*
- *This will tell you wether the type is a bean
- *@param Boolean returns true if this is bean
- **/
- public boolean isPrimitive()
- {
- return fPrimitive;
- }
-
- /*
- *This will tell you wether the type is a bean
- *@param Boolean returns true if this is bean
- **/
- protected void setPrimitive(boolean prim)
- {
- fPrimitive = prim;
- }
-
-
- /*
- * This is mainly needed for arrays as with all types the
- * names come out as java.util.type, but with an array it
- * isnt explicit in telling us its an array
- */
- public String getTypeName()
- {
- return getName();
- }
-
- /*
- *This will tell you wether the type is a simple
- *@param Boolean returns true if this is simple
- **/
- public boolean isSimple()
- {
- if (fType == SIMPLE) return true;
- return false;
- }
-
- /*
- *This will tell you wether the type is a array
- *@param Boolean returns true if this is array
- **/
- public boolean isArray()
- {
- if (fType == ARRAY) return true;
- return false;
- }
-
- public static String REL_ATTRIBUTES = "attributes";
- public static String REL_FIELDS = "fields";
- public static final String REL_TYPE = "type";
- public static final String REL_OWNER = "owner";
-
- public static int PARAMETER_OWNER = 0;
- public static int ATTRIBUTE_OWNER = 1;
- public static int FIELD_OWNER = 2;
- public static int ROOT = 3;
-
- /*
- * This could be The root test bean
- * @return boolean true if this is root bean
- */
- public boolean isRoot()
- {
- if(fOwnerType == ROOT) return true;
- return false;
- }
-
- /*
- * This Type could be owned by a Parameter or an attribute
- * @return boolean true if this is owned by a parameter
- */
- public boolean isOwnerParameter()
- {
- if(fOwnerType == PARAMETER_OWNER) return true;
- return false;
- }
-
- /*
- * This Type could be owned by a Parameter or an attribute
- * @return boolean true if this is owned by an attribute
- */
- public boolean isOwnerAttribute()
- {
- if(fOwnerType == ATTRIBUTE_OWNER) return true;
- return false;
- }
-
- /*
- * This Type could be owned by a Parameter or an attribute
- * @return boolean true if this is owned by an attribute
- */
- public boolean isOwnerField()
- {
- if(fOwnerType == FIELD_OWNER) return true;
- return false;
- }
-
- /**
- * This Type may be owned by a parameter or an attribute
- * Use this method in conjunction with isOwnerParamter, isOwner
- * @return BasicElement the element that owns this attribute.
- */
- public BasicElement getOwningElement ()
- {
- if (isOwnerParameter()){
- Enumeration e = getElements(REL_OWNER);
- return e.hasMoreElements() ? (BasicElement)e.nextElement() : null;
- }
- else if(isOwnerAttribute()){
- Enumeration e = getElements(REL_OWNER);
- return e.hasMoreElements() ? (BasicElement)e.nextElement() : null;
- }
- else if(isOwnerField()){
- Enumeration e = getElements(REL_OWNER);
- return e.hasMoreElements() ? (BasicElement)e.nextElement() : null;
- }
-
- return null;
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java
deleted file mode 100644
index 7bed616cb..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060726 145676 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060823 145643 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-import java.util.Hashtable;
-import org.eclipse.jem.java.JavaHelpers;
-/**
- * TypeFactory
- * Creation date: (4/10/2001 12:41:48 PM)
- * @author: Gilbert Andrews
- */
-public class TypeFactory
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static final String URL_NAME = "java.net.URL";
- public static final String STRING_NAME = "java.lang.String";
- public static final String BIG_DECIMAL_NAME = "java.math.BigDecimal";
- public static final String BIG_INTEGER_NAME = "java.math.BigInteger";
- public static final String DATE_NAME = "java.util.Date";
- public static final String GREGORIAN_CALENDAR_NAME = "java.util.GregorianCalendar";
- public static final String CALENDAR_NAME = "java.util.Calendar";
- public static final String BOOLEAN_NAME = "java.lang.Boolean";
- public static final String BYTE_NAME = "java.lang.Byte";
- public static final String DOUBLE_NAME = "java.lang.Double";
- public static final String FLOAT_NAME = "java.lang.Float";
- public static final String INTEGER_NAME = "java.lang.Integer";
- public static final String LONG_NAME = "java.lang.Long";
- public static final String SHORT_NAME = "java.lang.Short";
- public static final String CHARACTER_NAME = "java.lang.Character";
- public static final String OBJECT_NAME = "java.lang.Object";
- public static final String PRIM_BOOLEAN_NAME = "boolean";
- public static final String PRIM_BYTE_NAME = "byte";
- public static final String PRIM_DOUBLE_NAME = "double";
- public static final String PRIM_FLOAT_NAME = "float";
- public static final String PRIM_INTEGER_NAME = "int";
- public static final String PRIM_LONG_NAME = "long";
- public static final String PRIM_SHORT_NAME = "short";
- public static final String PRIM_CHAR_NAME = "char";
- public static final String VOID_NAME = "void";
-
- //some special complex
- public static final String DOM_ELEMENT_NAME = "org.w3c.dom.Element";
- public static final String SOAP_ELEMENT_NAME = "javax.xml.soap.SOAPElement";
- public static final String STATELESS_BEAN = BeanElement.STATELESS_BEAN;
-
-
-
- public static Hashtable javaTypes = new Hashtable();
-
- public TypeFactory(){}
-
- static{
- javaTypes.put(BOOLEAN_NAME,new PrimitiveJavaTypes(BOOLEAN_NAME));
- javaTypes.put(BYTE_NAME, new PrimitiveJavaTypes(BYTE_NAME));
- javaTypes.put(DOUBLE_NAME, new PrimitiveJavaTypes(DOUBLE_NAME));
- javaTypes.put(FLOAT_NAME, new PrimitiveJavaTypes(FLOAT_NAME));
- javaTypes.put(INTEGER_NAME,new PrimitiveJavaTypes(INTEGER_NAME));
- javaTypes.put(LONG_NAME, new PrimitiveJavaTypes(LONG_NAME));
- javaTypes.put(SHORT_NAME, new PrimitiveJavaTypes(SHORT_NAME));
- javaTypes.put(CHARACTER_NAME, new PrimitiveJavaTypes(CHARACTER_NAME));
- }
-
-
- /*
- * This function allows us to handle recognized beans
- * in displaying and generating code for them instead of
- * treating them as complex types
- */
- public static boolean recognizedBean(String type)
- {
-
- //
- //current recognized beans (mostly java.lang)
- if (type.equals(BOOLEAN_NAME) ||
- type.equals(BYTE_NAME) ||
- type.equals(DOUBLE_NAME) ||
- type.equals(FLOAT_NAME) ||
- type.equals(INTEGER_NAME) ||
- type.equals(LONG_NAME) ||
- type.equals(SHORT_NAME) ||
- type.equals(CHARACTER_NAME) ||
- type.equals(DOM_ELEMENT_NAME) ||
- type.equals(SOAP_ELEMENT_NAME) ||
- type.equals(BIG_DECIMAL_NAME) ||
- type.equals(BIG_INTEGER_NAME) ||
- type.equals(DATE_NAME) ||
- type.equals(GREGORIAN_CALENDAR_NAME) ||
- type.equals(CALENDAR_NAME) ||
- type.equals(URL_NAME) ||
- type.equals(OBJECT_NAME) ||
- type.equals(STRING_NAME)) return true;
- return false;
-
- }
-
- /*
- * This function allows us to handle unsupported types
- * if we dont want to support a type and we want to omitt this
- * method from the samples
- * @param javaHelpers this is the type to be evaluated
- * @return boolean true if the type is not supported
- */
- public static boolean isUnSupportedType(JavaHelpers javaHelpers)
- {
- //we also dont support arrays
- //java.lang.Objects are ok for return types but not for input type
- if (javaHelpers.isArray()||
- javaHelpers.getJavaName().equals(MAP_NAME)||
- javaHelpers.getJavaName().equals(VECTOR_NAME)||
- javaHelpers.getJavaName().equals(DATA_HANDLER)||
- javaHelpers.getJavaName().equals(OBJECT_NAME) ||
- javaHelpers.getJavaName().equals("java.lang.class") ) return true;
-
- return false;
- }
-
- public static String HASHTABLE_NAME = "java.util.Hashtable";
- public static String MAP_NAME = "java.util.Map";
- public static String VECTOR_NAME = "java.util.Vector";
- public static String ARRAY_NAME = ArrayElement.ARRAY_NAME;
- public static String PRIMITIVE_ARRAY_NAME = "primitivearray";
- public static String DATA_HANDLER = "javax.activation.DataHandler";
-
- public static boolean isRecognizedReturnType(JavaHelpers javaHelpers)
- {
- //arrays
- //Hashtable
- //Vectors
- //java.lang.Objects are ok for return types
- if (javaHelpers.isArray()) return true;
- else if (javaHelpers.getJavaName().equals(HASHTABLE_NAME))return true;
- else if (javaHelpers.getJavaName().equals(VECTOR_NAME))return true;
- else if (javaHelpers.getJavaName().equals(MAP_NAME))return true;
- else if (javaHelpers.getJavaName().equals(OBJECT_NAME))return true;
- else return false;
- }
-
- public static boolean isRecognizedReturnType(String type)
- {
- //arrays
- //Hashtable
- //Vectors
- //java.lang.Objects are ok for return types
- if (type.startsWith(ARRAY_NAME)) return true;
- else if (type.equals(HASHTABLE_NAME))return true;
- else if (type.equals(VECTOR_NAME))return true;
- else if (type.equals(MAP_NAME))return true;
- else if (type.equals(OBJECT_NAME)) return true;
- else return false;
- }
-
- public static boolean isStateLessBean(String type)
- {
- if(type.startsWith(STATELESS_BEAN)) return true;
- return false;
- }
-
-
- /**
- * Creates a type based on the JavaHelper then sets this type in the element
- * @params JavaHelpers this holds the type
- * @param TypeElement The element which will hold the type created
- * @param String Uniquename to be used when naming temp variables
- */
-
- public static DataType createType(String type, String UniqueName)
- {
- //this guy might be both stateless and one of the below elements
- //we would like to be as specific as we can, stateless is the worst case
- boolean stateless = false;
- if(type.startsWith(STATELESS_BEAN)) {
- stateless = true;
- type = type.substring(29);
- }
-
- DataType datatype = null;
- if (type.equals(PRIM_BOOLEAN_NAME)) datatype = new PrimitiveBooleanType();
- else if (type.equals(PRIM_BYTE_NAME)) datatype = new PrimitiveByteType();
- else if (type.equals(PRIM_DOUBLE_NAME)) datatype = new PrimitiveDoubleType();
- else if (type.equals(PRIM_FLOAT_NAME)) datatype = new PrimitiveFloatType();
- else if (type.equals(PRIM_LONG_NAME)) datatype = new PrimitiveLongType();
- else if (type.equals(PRIM_INTEGER_NAME)) datatype = new PrimitiveIntType();
- else if (type.equals(PRIM_CHAR_NAME)) datatype = new PrimitiveCharType();
- else if (type.equals(PRIM_SHORT_NAME)) datatype = new PrimitiveShortType();
-
-
- //see if this critter is a javatype
- else if (type.equals(BOOLEAN_NAME) ||
- type.equals(BYTE_NAME) ||
- type.equals(DOUBLE_NAME) ||
- type.equals(FLOAT_NAME) ||
- type.equals(INTEGER_NAME) ||
- type.equals(LONG_NAME) ||
- type.equals(CHARACTER_NAME) ||
- type.equals(SHORT_NAME)) datatype = (DataType)javaTypes.get(type);
-
- //see if its a case we handle
- else if (type.equals(STRING_NAME)) datatype = new StringType();
- else if (type.equals(VOID_NAME)) datatype = new VoidType();
- else if (type.equals(DOM_ELEMENT_NAME)) datatype = new DomElementType();
- else if (type.equals(SOAP_ELEMENT_NAME)) datatype = new SOAPElementType();
- else if (type.equals(BIG_DECIMAL_NAME)) datatype = new BigDecimalType();
- else if (type.equals(BIG_INTEGER_NAME)) datatype = new BigIntegerType();
- else if (type.equals(DATE_NAME)) datatype = new DateType();
- else if (type.equals(URL_NAME)) datatype = new URLType();
- else if (type.equals(GREGORIAN_CALENDAR_NAME)) datatype = new GregorianCalendarType();
- else if (type.equals(CALENDAR_NAME)) datatype = new GregorianCalendarType();
-
- //it could be a return type we support
- else if (type.equals(HASHTABLE_NAME)) datatype = new HashtableType();
- else if (type.equals(VECTOR_NAME)) datatype = new VectorType();
- else if (type.equals(MAP_NAME)) datatype = new MapType();
- else if (type.equals(OBJECT_NAME)) datatype = new ObjectType();
-
- // need to see if it is an object array
- //or a primitive
- else if (type.startsWith(ARRAY_NAME)){
- String name = type.substring(21);
- if(name.startsWith(PRIM_BOOLEAN_NAME) ||
- name.startsWith(PRIM_BYTE_NAME) ||
- name.startsWith(PRIM_DOUBLE_NAME) ||
- name.startsWith(PRIM_FLOAT_NAME) ||
- name.startsWith(PRIM_LONG_NAME) ||
- name.startsWith(PRIM_INTEGER_NAME) ||
- name.startsWith(PRIM_CHAR_NAME) ||
- name.startsWith(PRIM_SHORT_NAME))
- datatype = new PrimitiveArrayType(name);
- else
- datatype = new ArrayType(name);
-
- }
- else if (stateless){
- datatype = new StateLessBeanType(type);
-
- }
-
-
- datatype.setUniqueName(UniqueName);
- return datatype;
-
- }
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java
deleted file mode 100644
index 9c0fb28c8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-/**
-* objects of this class represent a type
-*
-*/
-public class URLType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public URLType()
- {
- super(TypeFactory.URL_NAME);
- }
-
- /**
- * StringToType gets the string taken by the
- * user into proxy form
- * @return String convert the string to type .
- */
- public String StringToType(String name)
- {
- String conversion = "new java.net.URL(" + name + ");";
- return conversion;
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return name + ".toString()";
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java
deleted file mode 100644
index 5a0718ddc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a recognized return type
-*
-*/
-public class VectorType extends RecognizedReturnType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public VectorType()
- {
- super(TypeFactory.VECTOR_NAME);
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java
deleted file mode 100644
index 5fde91e13..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
-
-
-/**
-* objects of this class represent a type
-*
-*/
-public class VoidType extends SimpleType
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- *Constructor
- *
- */
- public VoidType()
- {
- super("void");
- }
-
- /**
- * for a void there is no need to return
- * @return String convert the string to type .
- */
- public String StringToType(String name)
- {
- return "";
- }
-
- /**
- * The stringConversion function nails out specific conversion methods used among simple types
- * This method is to be implemented by SimpleType subclasses
- * @param String the name of string after the request call
- * @return String the actual conversion string containing the name.
- */
- public String TypeToString(String name)
- {
- return "String.valueOf(" + name + ")";
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java
deleted file mode 100644
index 1e8647fd2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.validate;
-
-import java.util.HashSet;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.IWorkspaceDescription;
-import org.eclipse.core.resources.ResourcesPlugin;
-
-/**
- * This class manages the validation state of projects that some tasks may want
- * to disable. The manager can then be used to restore the validation state.
-**/
-public class ValidationManager
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * This set contains a set of IProjects that need to be validated.
- **/
- private HashSet projects = null;
-
- /**
- * This object contains a reference to the j2ee validator.
- **/
- //pgm private ValidatorManager j2eeManager = null;
-
- /**
- * This boolean contains the auto build setting under preferrence
- **/
- private boolean isAutoBuild_;
- private boolean autoBuildDisabled_;
-
- public ValidationManager()
- {
- projects = new HashSet();
- //pgm j2eeManager = ValidatorManager.getManager();
- setAutoBuildPreference();
- autoBuildDisabled_ = false;
- }
-
- /**
- * Disables the validation for a project if required.
- **/
- public void disableValidationForProject( IProject project )
- {
- // We need to remember that this project needs have validation turned back on.
- projects.add( project );
-
- //pgm j2eeManager.suspendAllValidation( true );
- }
-
- /**
- * Restores the validation state for all needed projects.
- **/
- public void restoreValidationForProjects( boolean runValidation )
- {
- }
-
- public void modifyAutoBuild(boolean isAutoBuild) {
- try {
- IWorkspace workspace = ResourcesPlugin.getWorkspace();
- IWorkspaceDescription workspaceDesc = workspace.getDescription();
- workspaceDesc.setAutoBuilding(isAutoBuild);
- workspace.setDescription(workspaceDesc);
- }
- catch (Exception e) {}
- }
-
- public void disableAutoBuild() {
- if (!autoBuildDisabled_) {
- setAutoBuildPreference();
- modifyAutoBuild(false);
- autoBuildDisabled_ = true;
- }
- }
-
- public void restoreAutoBuild() {
- if (autoBuildDisabled_) {
- modifyAutoBuild(getAutoBuildPreference());
- autoBuildDisabled_ = false;
- }
- }
-
- public boolean setAutoBuildPreference() {
- isAutoBuild_ = getWorkspaceAutoBuildPreference();
- return isAutoBuild_;
- }
-
- public boolean getAutoBuildPreference() {
- return isAutoBuild_;
- }
-
- public boolean getWorkspaceAutoBuildPreference() {
- IWorkspaceDescription workspaceDesc = ResourcesPlugin.getWorkspace().getDescription();
- return workspaceDesc.isAutoBuilding();
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java
deleted file mode 100644
index e7ca18741..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class BindingElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_PORT = "port";
- public static String REL_OPERATIONS = "operations";
- public static String REL_PORT_TYPE = "porttype";
-
- public BindingElement (PortElement portElement,String name)
- {
- super(name,portElement,REL_PORT,PortElement.REL_BINDING);
- }
-
- public Enumeration getPort()
- {
- return getElements(REL_PORT);
- }
-
- public Enumeration getPortType()
- {
- return getElements(REL_PORT_TYPE);
- }
-
- public Enumeration getOperations()
- {
- return getElements(REL_OPERATIONS);
- }
-
- public int getNumberOfOperations()
- {
- return getNumberOfElements(REL_OPERATIONS);
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java
deleted file mode 100644
index 723975828..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class DefinitionElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_SERVICES = "services";
- public static String REL_WSDL = "wsdl";
-
- public DefinitionElement (WSDLElement wsdlElement,String name)
- {
- super(name,wsdlElement,REL_WSDL,WSDLElement.REL_DEFINITIONS);
- }
-
- public Enumeration getWSDL()
- {
- return getElements(REL_WSDL);
- }
-
- public Enumeration getServices()
- {
- return getElements(REL_SERVICES);
- }
-
- public int getNumberOfServices()
- {
- return getNumberOfElements(REL_SERVICES);
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java
deleted file mode 100644
index f0d010cbc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class MessageElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_OPERATION = "operation";
- public static String REL_PARTS = "parts";
-
- public MessageElement (OperationElement operationElement,String name)
- {
- super(name,operationElement,REL_OPERATION,OperationElement.REL_MESSAGES);
- }
-
- public Enumeration getOperation()
- {
- return getElements(REL_OPERATION);
- }
-
- public Enumeration getParts()
- {
- return getElements(REL_PARTS);
- }
-
- public int getNumberOfParts()
- {
- return getNumberOfElements(REL_PARTS);
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java
deleted file mode 100644
index 2f501e067..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class OperationElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_BINDING = "binding";
- public static String REL_MESSAGES = "messages";
-
- public OperationElement (BindingElement bindingElement,String name)
- {
- super(name,bindingElement,REL_BINDING,BindingElement.REL_OPERATIONS);
- }
-
- public Enumeration getBinding()
- {
- return getElements(REL_BINDING);
- }
-
- public Enumeration getMessages()
- {
- return getElements(REL_MESSAGES);
- }
-
- public int getNumberOfMessages()
- {
- return getNumberOfElements(REL_MESSAGES);
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java
deleted file mode 100644
index d80ffbb39..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class PartElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_MESSAGE = "message";
-
- public PartElement (MessageElement messageElement,String name)
- {
- super(name,messageElement,REL_MESSAGE,MessageElement.REL_PARTS);
- }
-
- public Enumeration getMessage()
- {
- return getElements(REL_MESSAGE);
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java
deleted file mode 100644
index 78e2ac4af..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class PortElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_BINDING = "binding";
- public static String REL_SERVICE = "service";
-
- public PortElement (ServiceElement serviceElement,String name)
- {
- super(name,serviceElement,REL_SERVICE,ServiceElement.REL_PORTS);
- }
-
- public Enumeration getService()
- {
- return getElements(REL_SERVICE);
- }
-
- public Enumeration getBinding()
- {
- return getElements(REL_BINDING);
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java
deleted file mode 100644
index 08f6883f8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class PortTypeElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_BINDING = "binding";
-
- public PortTypeElement (BindingElement bindingElement,String name)
- {
- super(name,bindingElement,REL_BINDING,BindingElement.REL_PORT_TYPE);
- }
-
- public Enumeration getBinding()
- {
- return getElements(REL_BINDING);
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java
deleted file mode 100644
index 3302d8968..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-
-public class ServiceElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_PORTS = "ports";
- public static String REL_DEFINITION = "definition";
-
- public ServiceElement (DefinitionElement definitionElement,String name)
- {
- super(name,definitionElement,REL_DEFINITION,DefinitionElement.REL_SERVICES);
- }
-
- public Enumeration getDefinition()
- {
- return getElements(REL_DEFINITION);
- }
-
- public Enumeration getPorts()
- {
- return getElements(REL_PORTS);
- }
-
- public int getNumberOfPorts()
- {
- return getNumberOfElements(REL_PORTS);
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java
deleted file mode 100644
index 64611e868..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-public class StubbedWSDLModel
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- protected Model fModel;
- public StubbedWSDLModel()
- {
- WSDLElement wsdlElement = new WSDLElement("WSDLFiles");
- fModel = wsdlElement.getModel();
- }
-
- public Model getWSDLModel()
- {
- return fModel;
- }
-
- public void buildModel()
- {
- DefinitionElement def1 = new DefinitionElement((WSDLElement)fModel.getRootElement(),"StockQuote");
- ServiceElement ser1 = new ServiceElement(def1,"getQuote");
- ServiceElement ser2 = new ServiceElement(def1,"setQuote");
- PortElement port1 = new PortElement(ser1,"port1");
- PortElement port2 = new PortElement(ser1,"port2");
- PortElement port3 = new PortElement(ser2,"port1");
- PortElement port4 = new PortElement(ser2,"port2");
- BindingElement bind1 = new BindingElement(port1,"bind1");
- BindingElement bind2 = new BindingElement(port2,"bind1");
- BindingElement bind3 = new BindingElement(port3,"bind1");
- BindingElement bind4 = new BindingElement(port4,"bind1");
- OperationElement op1 = new OperationElement(bind1,"op1");
- new OperationElement(bind2,"op1");
- new OperationElement(bind3,"op1");
- new OperationElement(bind4,"op1");
- MessageElement me1 = new MessageElement(op1,"me1");
- MessageElement me2 = new MessageElement(op1,"me2");
- new PartElement(me1,"pe1");
- new PartElement(me2,"pe2");
-
- DefinitionElement def2 = new DefinitionElement((WSDLElement)fModel.getRootElement(),"TempConversion");
- ServiceElement ser3 = new ServiceElement(def2,"getTemp");
- ServiceElement ser4 = new ServiceElement(def2,"setTemp");
- PortElement port5 = new PortElement(ser3,"port1");
- PortElement port6 = new PortElement(ser4,"port1");
- BindingElement bind5 = new BindingElement(port5,"bind1");
- BindingElement bind6 = new BindingElement(port6,"bind1");
- new OperationElement(bind5,"op1");
- new OperationElement(bind6,"op1");
-
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java
deleted file mode 100644
index a9e89d3bc..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-
-public class WSDLElement extends BasicElement
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static String REL_DEFINITIONS = "definitions";
-
- /*
- *
- **/
- public WSDLElement (String name)
- {
- this(name,new BasicModel("WSDLModel"));
- }
-
- public WSDLElement (String name, Model model)
- {
- super(name,model);
- model.setRootElement(this);
- }
-
- public Enumeration getDefinitions()
- {
- return getElements(REL_DEFINITIONS);
- }
-
- public int getNumberOfDefinitions()
- {
- return getNumberOfElements(REL_DEFINITIONS);
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java
deleted file mode 100644
index 65cab80e0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ClientPreAssemblyFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java
deleted file mode 100644
index 0b09cf2a8..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ClientPreDeployFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java
deleted file mode 100644
index 6a3f5cf25..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ClientPreDevelopFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java
deleted file mode 100644
index a3da3d86d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ClientPreInstallFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java
deleted file mode 100644
index 7cd1b4c2f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ServicePreAssemblyFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java
deleted file mode 100644
index 5c1db7301..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ServicePreDeployFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java
deleted file mode 100644
index a0e9c21ec..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ServicePreDevelopFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java
deleted file mode 100644
index af8268a89..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.fragments;
-
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-public class ServicePreInstallFragment extends SequenceFragment
-{
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java
deleted file mode 100644
index 3d4062a67..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.plugin;
-
-import org.eclipse.core.runtime.Plugin;
-
-/**
-* This is the plugin class for the Web Services plugin.
-* <p>
-* This plugin contains the bulk of the Web Services runtime.
-* Only the graphical user interface portion of the runtime is
-* found elsewhere - in the org.eclipse.jst.ws.ui plugin.
-*/
-public class WebServiceConsumptionPlugin extends Plugin
-{
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.jst.ws.consumption";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WebServiceConsumptionPlugin instance_;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- */
- public WebServiceConsumptionPlugin ()
- {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WebServiceConsumptionPlugin)Platform.getPlugin("org.eclipse.jst.ws");
- * @return The WebServiceConsumptionPlugin singleton.
- */
- public static WebServiceConsumptionPlugin getInstance ()
- {
- return instance_;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java
deleted file mode 100644
index 391fa5e72..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElementType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-
-
-/**
-* Objects of this class represent a InputFileTypeGenerator.
-* */
-public class InputFileAttributeGenerator extends InputFileTypeGenerator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private boolean fStateLess;
-
- /**
- * Constructor.
- *
- */
- public InputFileAttributeGenerator (StringBuffer buffer, int currentLevel, int levelsDeep)
- {
- super(buffer,currentLevel,levelsDeep);
- }
-
-
- /*
- * Takes in an object to be acted upon by this visitor action
- * @param Object The object to be acted upon
- */
- public IStatus visit (Object object)
- {
-
- AttributeElementType attributeElementType = (AttributeElementType)object;
- //if it is a bean is it stateless
- attributeElementType.getTypeElement();
- if(attributeElementType.getSetterMethod() == null) return Status.OK_STATUS;
- if(attributeElementType.getTypeElement().isBean()){
- BeanElement bean = (BeanElement)attributeElementType.getTypeElement();
- fStateLess = bean.isStateLess();
- }
-
- TypeVisitor typeVisitor = new TypeVisitor();
- InputFileTypeGenerator inputFileTypeGenerator = new InputFileTypeGenerator(fbuffer,fCurrentLevel,fLevelsDeep);
- if(attributeElementType.getTypeElement().isBean() && !TypeFactory.recognizedBean(attributeElementType.getTypeElement().getName())
- && !(getReturnParam() && (TypeFactory.isRecognizedReturnType(attributeElementType.getTypeElement().getTypeName()) || fStateLess)))
-
- addParentGetter(attributeElementType.getGetterMethod(),attributeElementType.getTypeElement().getName());
- inputFileTypeGenerator.addParentGetter(returnParentGetter(),returnParentGetterType());
- inputFileTypeGenerator.setInstanceName(fInstanceName);
- inputFileTypeGenerator.setReturnParam(getReturnParam());
- typeVisitor.run(attributeElementType,inputFileTypeGenerator);
- fbuffer = inputFileTypeGenerator.getStringBuffer();
-
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java
deleted file mode 100644
index 83719d761..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.MethodVisitor;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a MethodFilegenerator.
-* */
-public class InputFileGenerator extends Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public String fResultName;
-
- /**
- * Constructor.
- * used directly
- */
- public InputFileGenerator (String result)
- {
- super();
- fResultName = result;
- }
-
- /**
- * Constructor.
- * called from subclasses
- */
- public InputFileGenerator (StringBuffer buffer, String result)
- {
- super(buffer);
- fResultName = result;
- }
-
- /**
- * Constructor.
- * called from subclasses
- */
- public InputFileGenerator (StringBuffer buffer)
- {
- super(buffer);
- }
-
- public void setFileNames(String results)
- {
- fResultName = results;
- }
-
- //takes in a bean node
- public IStatus visit (Object object)
- {
- Element beanElement = (Element)object;
- fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>" + StringUtils.NEWLINE);
- fbuffer.append("<HTML>" + StringUtils.NEWLINE);
- fbuffer.append("<HEAD>" + StringUtils.NEWLINE);
- fbuffer.append("<TITLE>Inputs</TITLE>" + StringUtils.NEWLINE);
- fbuffer.append("</HEAD>" + StringUtils.NEWLINE);
- fbuffer.append("<BODY>" + StringUtils.NEWLINE);
- fbuffer.append("<H1>Inputs</H1>" + StringUtils.NEWLINE + "" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE + "String method = request.getParameter(\"method\");" + StringUtils.NEWLINE);
- fbuffer.append("int methodID = 0;" + StringUtils.NEWLINE);
- fbuffer.append("if (method == null) methodID = -1;" + StringUtils.NEWLINE + "" + StringUtils.NEWLINE);
- fbuffer.append("boolean valid = true;" + StringUtils.NEWLINE + StringUtils.NEWLINE);
-
- fbuffer.append("if(methodID != -1) methodID = Integer.parseInt(method);" + StringUtils.NEWLINE);
- fbuffer.append("switch (methodID){ " + StringUtils.NEWLINE);
-
- // go to the next generator
- MethodVisitor methodVisitor = new MethodVisitor();
- InputFileHelp1Generator inputFileHelp1Generator = new InputFileHelp1Generator(fbuffer,fResultName);
- methodVisitor.run(beanElement,inputFileHelp1Generator);
- fbuffer = inputFileHelp1Generator.getStringBuffer();
-
- fbuffer.append("case 1111111111:" + StringUtils.NEWLINE);
- fbuffer.append("valid = false;" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("<FORM METHOD=\"POST\" ACTION=\"" + fResultName + "\" TARGET=\"result\">" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"HIDDEN\" NAME=\"method\" VALUE=\"<%=method%>\">" + StringUtils.NEWLINE);
- fbuffer.append("<TABLE>" + StringUtils.NEWLINE);
- fbuffer.append("<TR>" + StringUtils.NEWLINE);
- fbuffer.append("<TD COLSPAN=\"1\" ALIGN=\"LEFT\">URLString:</TD>" + StringUtils.NEWLINE);
- fbuffer.append("<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\"url1111111111\" SIZE=20></TD>" + StringUtils.NEWLINE);
- fbuffer.append("</TR>" + StringUtils.NEWLINE);
- fbuffer.append("</TABLE>" + StringUtils.NEWLINE);
- fbuffer.append("<BR>" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"SUBMIT\" VALUE=\"Invoke\">" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"RESET\" VALUE=\"Clear\">" + StringUtils.NEWLINE);
- fbuffer.append("</FORM>" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("break;" + StringUtils.NEWLINE);
- fbuffer.append("case 1111111112:" + StringUtils.NEWLINE);
- fbuffer.append("valid = false;" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("<FORM METHOD=\"POST\" ACTION=\"" + fResultName + "\" TARGET=\"result\">" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"HIDDEN\" NAME=\"method\" VALUE=\"<%=method%>\">" + StringUtils.NEWLINE);
- fbuffer.append("<BR>" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"SUBMIT\" VALUE=\"Invoke\">" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"RESET\" VALUE=\"Clear\">" + StringUtils.NEWLINE);
- fbuffer.append("</FORM>" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("break;" + StringUtils.NEWLINE);
-
-
-
- fbuffer.append("}" + StringUtils.NEWLINE);
- fbuffer.append("if (valid) {" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE + "Select a method to test." + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append(Generator.TAB + "return;" + StringUtils.NEWLINE);
- fbuffer.append("}" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE + StringUtils.NEWLINE);
- fbuffer.append("</BODY>" + StringUtils.NEWLINE);
- fbuffer.append("</HTML>" + StringUtils.NEWLINE);
-
- return Status.OK_STATUS;
-
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java
deleted file mode 100644
index 9cca6548f..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.ParameterVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a InputFileHelp1Generator.
-* */
-public class InputFileHelp1Generator extends InputFileGenerator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static final int INITIAL_STATE = 1;
- public static final int FINAL_STATE = 2;
-
- public int fstate;
-
- /**
- * Constructor.
- *
- */
- public InputFileHelp1Generator (StringBuffer buffer)
- {
- super(buffer);
- fstate = INITIAL_STATE;
- }
-
- /**
- * Constructor.
- *
- */
- public InputFileHelp1Generator (StringBuffer buffer,String resultName)
- {
- super(buffer,resultName);
- fstate = INITIAL_STATE;
- }
-
- /*
- * Takes in an element
- * @param Object Takes in an object to be acted upon
- */
- public IStatus visit (Object object)
- {
- Element methodElement = (Element)object;
- MethodElement method = (MethodElement)methodElement;
- if (method.getMethodOmmission()) return Status.OK_STATUS;
-
- ParameterVisitor parameterVisitor = new ParameterVisitor();
- fbuffer.append("case " + method.getNumberID()+ ":" + StringUtils.NEWLINE);
- fbuffer.append("valid = false;" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("<FORM METHOD=\"POST\" ACTION=\"" + fResultName + "\" TARGET=\"result\">" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"HIDDEN\" NAME=\"method\" VALUE=\"<%=method%>\">" + StringUtils.NEWLINE);
-
- // go to the next generator
- InputFileHelp2Generator inputFileHelp2Generator = new InputFileHelp2Generator(fbuffer);
- parameterVisitor.run(methodElement,inputFileHelp2Generator);
- fbuffer = inputFileHelp2Generator.getStringBuffer();
-
- fbuffer.append("<BR>" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"SUBMIT\" VALUE=\"Invoke\">" + StringUtils.NEWLINE);
- fbuffer.append("<INPUT TYPE=\"RESET\" VALUE=\"Clear\">" + StringUtils.NEWLINE);
- fbuffer.append("</FORM>" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("break;" + StringUtils.NEWLINE);
-
-
- return Status.OK_STATUS;
-
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java
deleted file mode 100644
index 9e9232b70..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a InputFileHelp2Generator.
-* */
-public class InputFileHelp2Generator extends InputFileHelp1Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /*
- * This is actually used by the result generator to show the
- * resultant Bean
- * The name is the name the resultant bean is using as its instance name
- */
- protected String fInstanceName;
- private boolean fReturnParam=false;
-
- /**
- * Constructor.
- *
- */
- public InputFileHelp2Generator (StringBuffer buffer)
- {
- super(buffer);
- fInstanceName="";
- }
-
- /**
- * This is state data to be used by the generators
- * @param String name The instance name of the parameters type bean
- */
- public void setInstanceName(String name)
- {
- fInstanceName = name;
- }
-
- /**
- * This is state data to be used by the generators
- * @return String name The instance name of the parameters type bean
- */
- public String getInstanceName()
- {
- return fInstanceName;
- }
-
-
- /*
- * Takes in an object to be acted upon by this visitor action
- * @param Object The object to be acted upon
- */
- public IStatus visit (Object object)
- {
- Element parameterElement = (Element)object;
- getVisitor();
-
- fbuffer.append("<TABLE>" + StringUtils.NEWLINE);
-
- TypeVisitor typeVisitor = new TypeVisitor();
- InputFileTypeGenerator inputFileTypeGenerator = new InputFileTypeGenerator(fbuffer,0);
- inputFileTypeGenerator.setReturnParam(getReturnParam());
- inputFileTypeGenerator.setInstanceName(fInstanceName);
- typeVisitor.run(parameterElement,inputFileTypeGenerator);
- fbuffer = inputFileTypeGenerator.getStringBuffer();
-
- fbuffer.append("</TABLE>" + StringUtils.NEWLINE);
-
- return Status.OK_STATUS;
-
- }
-
- public boolean getReturnParam()
- {
- return fReturnParam;
- }
-
- public void setReturnParam(boolean returnParam)
- {
- fReturnParam = returnParam;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java
deleted file mode 100644
index af2d94e63..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java
+++ /dev/null
@@ -1,300 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.AttributeVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.FieldVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElementType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.SimpleElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-
-
-/**
-* Objects of this class represent a InputFileTypeGenerator.
-* */
-public class InputFileTypeGenerator extends InputFileHelp2Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- protected String fParentGetters;
- protected int fLevelsDeep;
- protected int fColspan;
- protected int fCurrentLevel;
- private boolean fIsSimple;
- private boolean fStateLessBean;
- private Vector fGetters;
- private Vector fTypes;
- private boolean fWrite = true;
-
- /**
- * Constructor.
- *
- */
- public InputFileTypeGenerator (StringBuffer buffer, int currentLevel)
- {
- super(buffer);
- fCurrentLevel = currentLevel;
- fLevelsDeep = -1;
- fParentGetters = "";
- }
-
- /**
- * Constructor.
- *
- */
- public InputFileTypeGenerator (StringBuffer buffer, int currentLevel,int levelsDeep)
- {
- super(buffer);
- fCurrentLevel = currentLevel;
- fLevelsDeep = levelsDeep;
- fParentGetters = "";
- }
-
- public void setParentGetters(Vector getter,Vector type)
- {
- if(fGetters != null){
- fGetters.clear();
- fTypes.clear();
- }
- addParentGetter(getter,type);
- }
-
-
- /**
- * This function holds some state data that is important in getting the
- * Strings for display of resultant beans
- * @param String getter this is the getter of an attribute
- * The idea is that by the time we get to the simple type
- * we have getAddress().getStreet()....
- */
- public void addParentGetter(String getter, String type)
- {
- if(fGetters == null) fGetters = new Vector();
- if(fTypes == null) fTypes = new Vector();
- fGetters.addElement(getter);
- fTypes.addElement(type);
- }
-
- /*
- * this will be used when passing between two visitors
- *
- */
- public void addParentGetter(Vector getters, Vector types)
- {
- if(fGetters == null) fGetters = new Vector();
- if(fTypes == null) fTypes = new Vector();
- int size = getters.size();
- for(int i = 0; i<size; i++){
- fGetters.addElement(getters.get(i));
- fTypes.addElement(types.get(i));
- }
- }
-
- protected String returnParentGetter(int count)
- {
- if (fGetters == null || count > fGetters.size()) return null;
- return (String)fGetters.get(count);
- }
-
- protected String returnParentGetterType(int count)
- {
- if (fTypes == null || count > fTypes.size()) return null;
- return (String)fTypes.get(count);
- }
-
- protected Vector returnParentGetter()
- {
- if (fGetters == null ) return new Vector();
- return fGetters;
- }
-
- protected Vector returnParentGetterType()
- {
- if (fTypes == null ) return new Vector();
- return fTypes;
- }
-
- protected int getterCount()
- {
- if(fGetters == null) return 0;
- return fGetters.size();
- }
-
-
- /**
- * This function returns some state data that is important in getting the
- * Strings for display of resultant beans
- * @return String the string of getters to this point
- * The idea is that by the time we get to the simple type
- * we have getAddress().getStreet()....
- */
- public String getParentGetters()
- {
- return fParentGetters;
- }
-
- /*
- * Takes in an object to be acted upon by this visitor action
- * @param Object The object to be acted upon
- */
- public IStatus visit (Object object)
- {
- TypeElement element = (TypeElement)object;
-
- if (element instanceof SimpleElement) fIsSimple = true;
- else fIsSimple = false;
-
- //this could be a statelessbean need to know
- if (element instanceof BeanElement ){
- BeanElement bean = (BeanElement)element;
- if (bean.isStateLess()) fStateLessBean = true;
- if (bean.getAttrib() == BeanElement.READONLY) fWrite = false;
- }
-
-
-
- //Complex type support
- //first I need to find out how many levels deep
- if(fLevelsDeep == -1){
- AttributeVisitor attributeVisitor = new AttributeVisitor();
- LevelsDeepVisitorAction ldva = new LevelsDeepVisitorAction();
- attributeVisitor.run(element,ldva);
- fLevelsDeep = ldva.getLevelsDeep();
- //check out the fields
- FieldVisitor fieldVisitor = new FieldVisitor();
- LevelsDeepVisitorAction ldva2 = new LevelsDeepVisitorAction();
- fieldVisitor.run(element,ldva2);
-
- if(fLevelsDeep < ldva2.getLevelsDeep())fLevelsDeep = ldva2.getLevelsDeep();
- fLevelsDeep++;
- }
- fColspan = fLevelsDeep - fCurrentLevel;
-
- //if we have a return param with no getter make sure we are on the
- //attribute and not the parameter then return
- if(getReturnParam() && element.getOwningElement() instanceof AttributeElementType &&(((AttributeElementType)element.getOwningElement()).getGetterMethod() == null) ) return Status.OK_STATUS;
-
- //Code gen for all elements
- if(fWrite){
- fbuffer.append("<TR>" + StringUtils.NEWLINE);
- for (int i = 0; i < fCurrentLevel;i++){
- fbuffer.append("<TD WIDTH=\"5%\"></TD>" + StringUtils.NEWLINE);
- }
- fbuffer.append("<TD COLSPAN=\"" + fColspan + "\" ALIGN=\"LEFT\">" + element.getOwningElement().getName() + ":</TD>" + StringUtils.NEWLINE);
- }
- if(fIsSimple || TypeFactory.recognizedBean(element.getName())
- || (getReturnParam() && fStateLessBean)
- || (getReturnParam() && TypeFactory.isRecognizedReturnType(element.getTypeName()))){
- if(getInstanceName().equals("")){
- if(fWrite){
- DataType dataType = TypeFactory.createType(element.getName(),element.getOwningElement().getMUID());
- fbuffer.append(dataType.inputForm(element.getOwningElement().getMUID()));
- }
- }
- else{
- if(getReturnParam() && (TypeFactory.isRecognizedReturnType(element.getTypeName()) || fStateLessBean)){
- DataType dataType = TypeFactory.createType(element.getTypeName(),element.getOwningElement().getMUID());
- String uniqueName = "type" + dataType.getUniqueName();
- fbuffer.append("<TD>" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("if(" + getInstanceName() + " != null){" + StringUtils.NEWLINE);
- String afterString = getInstanceName();
- String tmpString = "tebece";
- String prevString = getInstanceName();
- String newTmpString = "";
- for(int i=0;i<getterCount();i++){
- newTmpString = tmpString + i;
- fbuffer.append(returnParentGetterType(i) + " " + newTmpString + "=" + prevString + "." + returnParentGetter(i) + ";" + StringUtils.NEWLINE);
- prevString = newTmpString;
- fbuffer.append("if(" + newTmpString + " != null){" + StringUtils.NEWLINE);
- afterString = newTmpString;
- }
- fbuffer.append(element.getName() + " " + uniqueName + " = " + afterString + "." + ((AttributeElementType)element.getOwningElement()).getGetterMethod()+ ";" + StringUtils.NEWLINE);
- fbuffer.append(dataType.TypeConversion(uniqueName));
- for(int i=0;i<getterCount();i++){
- fbuffer.append("}");
- }
- fbuffer.append("}%>" + StringUtils.NEWLINE);
- fbuffer.append("</TD>" + StringUtils.NEWLINE);
- }
-
- else{
- fbuffer.append("<TD>" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("if(" + getInstanceName() + " != null){" + StringUtils.NEWLINE);
- String afterString = getInstanceName();
- String tmpString = "tebece";
- String prevString = getInstanceName();
- String newTmpString = "";
- for(int i=0;i<getterCount();i++){
- newTmpString = tmpString + i;
- fbuffer.append(returnParentGetterType(i) + " " + newTmpString + "=" + prevString + "." + returnParentGetter(i) + ";" + StringUtils.NEWLINE);
- prevString = newTmpString;
- fbuffer.append("if(" + newTmpString + " != null){" + StringUtils.NEWLINE);
- afterString = newTmpString;
- }
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("<%=");
- fbuffer.append(afterString + "." + ((AttributeElementType)element.getOwningElement()).getGetterMethod()+ StringUtils.NEWLINE);
- fbuffer.append("%>");
- fbuffer.append("<%");
- for(int i=0;i<getterCount();i++){
- fbuffer.append("}");
- }
- fbuffer.append("}%>" + StringUtils.NEWLINE);
- fbuffer.append("</TD>" + StringUtils.NEWLINE);
- }
- }
-
- }
-
- //Now carry on down the rest of the bean
- else {
- AttributeVisitor attributeVisitor = new AttributeVisitor();
- attributeVisitor.setResidentVector1(returnParentGetter());
- attributeVisitor.setResidentVector2(returnParentGetterType());
- InputFileAttributeGenerator inputFileAttributeGenerator = new InputFileAttributeGenerator(fbuffer,(fCurrentLevel + 1),fLevelsDeep);
- inputFileAttributeGenerator.setReturnParam(getReturnParam());
- inputFileAttributeGenerator.setInstanceName(fInstanceName);
- attributeVisitor.run(element,inputFileAttributeGenerator);
- fbuffer = inputFileAttributeGenerator.getStringBuffer();
-
- //now do fields very similar
- FieldVisitor fieldVisitor = new FieldVisitor();
- fieldVisitor.setResidentVector1(returnParentGetter());
- fieldVisitor.setResidentVector2(returnParentGetterType());
- InputFileAttributeGenerator inputFileAttributeGenerator2 = new InputFileAttributeGenerator(fbuffer,(fCurrentLevel + 1),fLevelsDeep);
- inputFileAttributeGenerator2.setReturnParam(getReturnParam());
- inputFileAttributeGenerator2.setInstanceName(fInstanceName);
- fieldVisitor.run(element,inputFileAttributeGenerator2);
- fbuffer = inputFileAttributeGenerator2.getStringBuffer();
-
-
-
- }
-
-
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java
deleted file mode 100644
index a8f4cb17e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.AttributeVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.FieldVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a LevelsDeepVisitorAction.
-* */
-public class LevelsDeepVisitorAction implements VisitorAction
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private int fLevelsDeep;
- private int fDeepestLevel;
-
- /**
- * Constructor.
- * This is the starting point
- *
- */
- public LevelsDeepVisitorAction ()
- {
- fLevelsDeep = 0;
- }
-
- /**
- * Constructor.
- * This is the starting point
- *
- */
- public LevelsDeepVisitorAction (int current,boolean increment)
- {
- fLevelsDeep = current;
- if(increment) fLevelsDeep++;
- fDeepestLevel = fLevelsDeep;
- }
-
- public void initialize(String resident)
- {
- //nothing to be done but must be implemented
- }
-
-
-
- /**
- * The visitor that called this VisitorAction
- * @param visitor the visitor that called this visitor action
- */
- public void setVisitor(Visitor visitor)
- {
- }
-
-
- /**
- * Returns the level of nesting within this bean
- * @return int returns the int number representing the number of nests of this bean
- */
- public int getLevelsDeep()
- {
- return fDeepestLevel;
- }
-
-
- /**
- * Takes in an object to be acted upon by this visitor action
- * @param Object The object to be acted upon
- */
- public IStatus visit (Object object)
- {
- Element element = (Element)object;
- if (element instanceof AttributeElement || element instanceof TypeElement){
- TypeVisitor typeVisitor = new TypeVisitor();
- LevelsDeepVisitorAction lvda = new LevelsDeepVisitorAction(fLevelsDeep,true);
- typeVisitor.run(element,lvda);
-
- if (lvda.getLevelsDeep() > fDeepestLevel) fDeepestLevel = lvda.getLevelsDeep();
-
- }
- else if (element instanceof BeanElement && !(TypeFactory.recognizedBean(element.getName()))){
- AttributeVisitor attributeVisitor = new AttributeVisitor();
- LevelsDeepVisitorAction lvda = new LevelsDeepVisitorAction(fLevelsDeep,false);
- attributeVisitor.run(element,lvda);
- if (lvda.getLevelsDeep() > fDeepestLevel) fDeepestLevel = lvda.getLevelsDeep();
-
- FieldVisitor fieldVisitor = new FieldVisitor();
- LevelsDeepVisitorAction lvda2 = new LevelsDeepVisitorAction(fLevelsDeep,false);
- fieldVisitor.run(element,lvda2);
- if (lvda2.getLevelsDeep() > fDeepestLevel) fDeepestLevel = lvda2.getLevelsDeep();
-
- }
-
- return Status.OK_STATUS;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java
deleted file mode 100644
index 3a8973402..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.MethodVisitor;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a MethodFilegenerator.
-* */
-public class MethodFileGenerator extends Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public String fInputName;
- /**
- * Constructor.
- *
- */
- public MethodFileGenerator (String inputs)
- {
- super();
- fInputName = inputs;
- }
-
- /**
- * Constructor.
- * @param StringBuffer buffer to append codegen
- */
- public MethodFileGenerator (StringBuffer buffer,String inputs)
- {
- super(buffer);
- fInputName = inputs;
- }
-
-
- public void setFileNames(String inputs)
- {
- fInputName = inputs;
- }
-
- //public static String LOCATOR = "Locator";
- public static String BEAN = "Proxy";
- public static String GET = "get";
-
-
- //takes in a bean node
- public IStatus visit (Object object)
- {
- Element beanElement = (Element)object;
- fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>");
- fbuffer.append("<HTML>" + StringUtils.NEWLINE + "<HEAD>" + StringUtils.NEWLINE + "<TITLE>Methods</TITLE>" + StringUtils.NEWLINE + "</HEAD>" + StringUtils.NEWLINE + "<BODY>" + StringUtils.NEWLINE + "<H1>Methods</H1>" + StringUtils.NEWLINE + "<UL>" + StringUtils.NEWLINE);
- MethodVisitor methodVisitor = new MethodVisitor();
- MethodFileHelpGenerator methodFileHelpGenerator = new MethodFileHelpGenerator(fbuffer,fInputName);
- methodVisitor.run(beanElement,methodFileHelpGenerator);
- fbuffer = methodFileHelpGenerator.getStringBuffer();
- fbuffer.append("</UL>" + StringUtils.NEWLINE + "</BODY>" + StringUtils.NEWLINE + "</HTML>");
-
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java
deleted file mode 100644
index 45ff5f9e2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a MethodFilegenerator.
-* */
-public class MethodFileHelpGenerator extends MethodFileGenerator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- /**
- * Constructor.
- *
- */
- public MethodFileHelpGenerator (StringBuffer buffer,String inputName)
- {
- super(buffer,inputName);
- }
-
-
- //takes in a Method node
- public IStatus visit (Object object)
- {
- Element methodElement = (Element)object;
- MethodElement method = (MethodElement)methodElement;
- if (method.getMethodOmmission()) return Status.OK_STATUS;
-
- fbuffer.append("<LI><A HREF=\"" + fInputName + "?method=" + method.getNumberID());
- fbuffer.append("\" TARGET=\"inputs\"> " + method.getDisplayName());
- fbuffer.append("</A></LI>" + StringUtils.NEWLINE);
-
- return Status.OK_STATUS;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java
deleted file mode 100644
index cf8e564f3..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElementType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-
-/**
-* Objects of this class represent a ResultFileAttributeGenerator.
-* */
-public class ResultFileAttributeGenerator extends ResultFileHelp2Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private Vector fSetterVector;
-
- /**
- * Constructor.
- * @param buffer StringBuffer object that this code generator writes to
- */
- public ResultFileAttributeGenerator (StringBuffer buffer)
- {
- super(buffer);
-
- }
-
- /**
- * Setter vector
- */
- public Vector getSetterVector()
- {
- return fSetterVector;
- }
-
-
- /**
- * Visit Method generates code for this Visitor
- * @param Parameter parameter code will be generated
- */
- public IStatus visit (Object object)
- {
- AttributeElementType attributeElementType = (AttributeElementType)object;
- if(attributeElementType.getSetterMethod() == null) return Status.OK_STATUS;
- BasicElement element = (BasicElement)object;
- if(attributeElementType.getTypeElement().isSimple() || TypeFactory.recognizedBean(attributeElementType.getTypeElement().getName())){
- //start the codegen
- //ask the datatype for its request line, it may need mark up or not.
- //ie For the simple types we need the mark up
- //for the dom element we cant use it.
- DataType dataType = TypeFactory.createType(attributeElementType.getTypeElement().getName(),element.getMUID());
- setTypeOwnerId(idName(element.getName()));
- fbuffer.append(dataType.getRequestCode(element.getMUID(),getTypeOwnerId()));
-
- }
-
- TypeVisitor typeVisitor = new TypeVisitor();
- ResultFileTypeGenerator resultFileTypeGenerator = new ResultFileTypeGenerator(fbuffer);
- resultFileTypeGenerator.setNumberFactory(getNumberFactory());
- resultFileTypeGenerator.setTypeOwnerId(getTypeOwnerId());
-
- typeVisitor.run(attributeElementType,resultFileTypeGenerator);
- setNumberFactory(resultFileTypeGenerator.getNumberFactory());
- Vector setterInputs = resultFileTypeGenerator.getResidentVector();
- putResidentVector(attributeElementType.getSetterSignature((String)setterInputs.firstElement()));
-
- return Status.OK_STATUS;
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java
deleted file mode 100644
index 0427721f0..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060523 142296 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.MethodVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a MethodFilegenerator.
-* */
-public class ResultFileGenerator extends Generator
-{
- public static String TRIPLE_TAB = Generator.DOUBLE_TAB + Generator.TAB;
- public static String QUAD_TAB = Generator.DOUBLE_TAB + Generator.DOUBLE_TAB;
-
- private String setEndpointMethod;
-
- /**
- * Constructor.
- *
- */
- public ResultFileGenerator ()
- {
- super();
- }
-
- /**
- * Constructor.
- *
- */
- public ResultFileGenerator (StringBuffer buffer)
- {
- super(buffer);
- }
-
- //takes in a bean node
- public IStatus visit (Object object)
- {
- Element beanElement = (Element)object;
- BeanElement bean = (BeanElement)beanElement;
- fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>"+ StringUtils.NEWLINE);
- fbuffer.append("<% request.setCharacterEncoding(\"UTF-8\"); %>"+ StringUtils.NEWLINE);
- fbuffer.append("<HTML>" + StringUtils.NEWLINE);
- fbuffer.append("<HEAD>" + StringUtils.NEWLINE);
- fbuffer.append("<TITLE>Result</TITLE>" + StringUtils.NEWLINE);
- fbuffer.append("</HEAD>" + StringUtils.NEWLINE);
- fbuffer.append("<BODY>" + StringUtils.NEWLINE);
- fbuffer.append("<H1>Result</H1>" + StringUtils.NEWLINE + StringUtils.NEWLINE);
-
- fbuffer.append("<jsp:useBean id=\""+ getSessionBeanId() + "\" scope=\"session\" class=\"");
- fbuffer.append(bean.getName() + "\" />" + StringUtils.NEWLINE);
- if (setEndpointMethod != null && setEndpointMethod.length() > 0)
- {
- fbuffer.append("<%");
- fbuffer.append(StringUtils.NEWLINE);
- fbuffer.append("if (request.getParameter(\"endpoint\") != null && request.getParameter(\"endpoint\").length() > 0)");
- fbuffer.append(StringUtils.NEWLINE);
- fbuffer.append(getSessionBeanId());
- fbuffer.append(".");
- int index = setEndpointMethod.indexOf('?');
- if (index != -1)
- {
- fbuffer.append(setEndpointMethod.substring(0, index));
- fbuffer.append("(new ");
- fbuffer.append(setEndpointMethod.substring(index+1, setEndpointMethod.length()));
- fbuffer.append("(request.getParameter(\"endpoint\")));");
- }
- else
- {
- fbuffer.append(setEndpointMethod);
- fbuffer.append("(request.getParameter(\"endpoint\"));");
- }
- fbuffer.append(StringUtils.NEWLINE);
- fbuffer.append("%>");
- fbuffer.append(StringUtils.NEWLINE);
- }
- fbuffer.append(StringUtils.NEWLINE);
-
- //carry on with regular gorp
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("String method = request.getParameter(\"method\");" + StringUtils.NEWLINE);
- fbuffer.append("int methodID = 0;" + StringUtils.NEWLINE);
- fbuffer.append("if (method == null) methodID = -1;" + StringUtils.NEWLINE + "" + StringUtils.NEWLINE);
- fbuffer.append("if(methodID != -1) methodID = Integer.parseInt(method);" + StringUtils.NEWLINE);
- fbuffer.append("boolean gotMethod = false;" + StringUtils.NEWLINE + StringUtils.NEWLINE);
-
- fbuffer.append("try {" + StringUtils.NEWLINE);
- fbuffer.append("switch (methodID){ " + StringUtils.NEWLINE);
-
- // go to the next generator
- MethodVisitor methodVisitor = new MethodVisitor();
- ResultFileHelp1Generator resultFileHelp1Generator = new ResultFileHelp1Generator(fbuffer);
- resultFileHelp1Generator.setNumberFactory(getNumberFactory());
- resultFileHelp1Generator.setClientFolderPath(getClientFolderPath());
- methodVisitor.run(beanElement,resultFileHelp1Generator);
- setNumberFactory(resultFileHelp1Generator.getNumberFactory());
-
- fbuffer = resultFileHelp1Generator.getStringBuffer();
-
- fbuffer.append("}" + StringUtils.NEWLINE);
- fbuffer.append("} catch (Exception e) { " + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("exception: <%= e %>" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("return;" + StringUtils.NEWLINE);
- fbuffer.append("}" + StringUtils.NEWLINE);
- fbuffer.append("if(!gotMethod){" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("result: N/A" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("}" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("</BODY>" + StringUtils.NEWLINE);
- fbuffer.append("</HTML>");
-
- return Status.OK_STATUS;
- }
-
- /**
- * @param setEndpointMethod The setEndpointMethod to set.
- */
- public void setSetEndpointMethod(String setEndpointMethod)
- {
- this.setEndpointMethod = setEndpointMethod;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java
deleted file mode 100644
index b6d38ab37..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import java.util.Enumeration;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.ParameterVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.ReturnParameterVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-
-/**
-* Objects of this class represent a ResultFilegenerator.
-* */
-public class ResultFileHelp1Generator extends ResultFileGenerator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public static final int INITIAL_STATE = 1;
- public static final int FINAL_STATE = 2;
- public static final String MTEMP = "mtemp";
- public static String BEAN = "Proxy";
-
- /**
- * Constructor.
- * @param buffer StringBuffer object that this code generator writes to
- */
- public ResultFileHelp1Generator (StringBuffer buffer)
- {
- super(buffer);
- }
-
- /**
- * Visit Method generates code for this Visitor
- * @param method method code will be generated for
- */
- public IStatus visit (Object object)
- {
- Element methodElement = (Element)object;
-
-
- MethodElement method = (MethodElement)methodElement;
- if (method.getMethodOmmission()) return Status.OK_STATUS;
-
- fbuffer.append("case " + method.getNumberID()+ ":" + StringUtils.NEWLINE);
- visitHelper(method);
-
- fbuffer.append("break;" + StringUtils.NEWLINE);
-
- return Status.OK_STATUS;
- }
- /**
- * Helps out the visitor
- * @param method method code will be generated for
- */
- public void visitHelper (Element methodElement)
- {
-
- fbuffer.append(Generator.DOUBLE_TAB + "gotMethod = true;" + StringUtils.NEWLINE);
-
- MethodElement method = (MethodElement)methodElement;
- // go to the next generator
- ResultFileHelp2Generator resultFileHelp2Generator = new ResultFileHelp2Generator(fbuffer);
- resultFileHelp2Generator.setNumberFactory(getNumberFactory());
- ParameterVisitor parameterVisitor = new ParameterVisitor();
- parameterVisitor.run(methodElement,resultFileHelp2Generator);
- fbuffer = resultFileHelp2Generator.getStringBuffer();
- setNumberFactory(resultFileHelp2Generator.getNumberFactory());
- // we must now grab the state data from the resident vector
- setResidentVector(resultFileHelp2Generator.getResidentVector());
-
-
- //there is no return type if void occurs
-
-
- if (method.getReturnParameterElement().getTypeElement().getName().equals("void"))
- fbuffer.append(Generator.DOUBLE_TAB + getSessionBeanId() + "." +method.getName() + "(");
-
- else{
- fbuffer.append(Generator.DOUBLE_TAB + method.getReturnParameterElement().getTypeElement().getName() + Generator.SPACE + method.getMUID() + MTEMP + Generator.SPACE);
- fbuffer.append("=" + Generator.SPACE + getSessionBeanId() + "." + method.getName() + "(");
- }
-
- Enumeration e = fResidentVector.elements();
- while (e.hasMoreElements()){
- fbuffer.append((String)e.nextElement());
- if (e.hasMoreElements())
- fbuffer.append(",");
- }
- fbuffer.append(");" + StringUtils.NEWLINE);
- if (!method.getReturnParameterElement().getTypeElement().getName().equals("void") && !method.getReturnParameterElement().getTypeElement().isPrimitive()){
- //in case our result is null
- fbuffer.append("if(" + method.getMUID() + "mtemp == null){" + StringUtils.NEWLINE);
- fbuffer.append("%>" + StringUtils.NEWLINE);
- fbuffer.append("<%=" + method.getMUID() + "mtemp %>" + StringUtils.NEWLINE);
- fbuffer.append("<%" + StringUtils.NEWLINE);
- fbuffer.append("}else{" + StringUtils.NEWLINE);
- }
-
- //now lets display the return bean
- // if it is simple we dont need to use the generator
-
- if (!method.getReturnParameterElement().getTypeElement().getName().equals("void")){
- if (method.getReturnParameterElement().getTypeElement().isSimple()
- || TypeFactory.recognizedBean(method.getReturnParameterElement().getTypeElement().getName())
- || TypeFactory.isStateLessBean(method.getReturnParameterElement().getTypeElement().getTypeName())
- || TypeFactory.isRecognizedReturnType(method.getReturnParameterElement().getTypeElement().getTypeName())){
- DataType dataType = TypeFactory.createType(method.getReturnParameterElement().getTypeElement().getTypeName(),method.getReturnParameterElement().getMUID());
- fbuffer.append(dataType.TypeConversion(method.getMUID() + MTEMP));
- }
- else{
- fbuffer.append("%>" + StringUtils.NEWLINE);
- InputFileHelp2Generator inputFileHelp2Generator = new InputFileHelp2Generator(fbuffer);
- inputFileHelp2Generator.setInstanceName(method.getMUID() + MTEMP);
- inputFileHelp2Generator.setReturnParam(true);
- ReturnParameterVisitor returnParameterVisitor = new ReturnParameterVisitor();
- returnParameterVisitor.run(method,inputFileHelp2Generator);
- fbuffer = inputFileHelp2Generator.getStringBuffer();
- fbuffer.append("<%" + StringUtils.NEWLINE);
-
- }
- }
-
- if (!method.getReturnParameterElement().getTypeElement().getName().equals("void") && !method.getReturnParameterElement().getTypeElement().isPrimitive()) fbuffer.append("}" + StringUtils.NEWLINE);
-
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java
deleted file mode 100644
index 724285e06..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.ParameterElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-
-/**
-* Objects of this class represent a ResultFileHelp2generator.
-* */
-public class ResultFileHelp2Generator extends Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private String fTypeOwnerId;
-
-
- /**
- * Constructor.
- * @param buffer StringBuffer object that this code generator writes to
- */
- public ResultFileHelp2Generator (StringBuffer buffer)
- {
- super(buffer);
-
- }
-
- /**
- * Visit Method generates code for this Visitor
- * @param Parameter parameter code will be generated
- */
- public IStatus visit (Object object)
- {
-
-
- ParameterElement parameterElement = (ParameterElement)object;
- parameterElement.getTypeElement();
- if(parameterElement.getTypeElement().isSimple() || TypeFactory.recognizedBean(parameterElement.getTypeElement().getName())){
- //start the codegen
- //ask the datatype for its request line, it may need mark up or not.
- //ie For the simple types we need the mark up
- //for the dom element we cant use it.
- DataType dataType = TypeFactory.createType(parameterElement.getTypeElement().getName(),parameterElement.getMUID());
- setTypeOwnerId(idName(parameterElement.getName()));
- fbuffer.append(dataType.getRequestCode(parameterElement.getMUID(),getTypeOwnerId()));
- }
-
- //visit the type generator
- ResultFileTypeGenerator resultFileTypeGenerator = new ResultFileTypeGenerator(fbuffer);
- resultFileTypeGenerator.setNumberFactory(getNumberFactory());
- resultFileTypeGenerator.setTypeOwnerId(getTypeOwnerId());
- TypeVisitor TypeVisitor = new TypeVisitor();
- TypeVisitor.run(parameterElement,resultFileTypeGenerator);
- fbuffer = resultFileTypeGenerator.getStringBuffer();
- setNumberFactory(resultFileTypeGenerator.getNumberFactory());
- String name = (String)resultFileTypeGenerator.getResidentVector().firstElement();
- putResidentVector(name);
-
- return Status.OK_STATUS;
- }
-
-
- public String getTypeOwnerId()
- {
- if (fTypeOwnerId == null) fTypeOwnerId = "";
- return fTypeOwnerId;
- }
-
- public void setTypeOwnerId(String name)
- {
- fTypeOwnerId = name;
- }
-
- public String idName(String name)
- {
-
- String uniqueNum = String.valueOf(getUniqueNumber());
- String newName = name.replace('.','1') + "_" +uniqueNum + "id";
- return newName;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java
deleted file mode 100644
index f78cd599d..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import java.util.Enumeration;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.AttributeVisitor;
-import org.eclipse.jst.ws.internal.consumption.codegen.bean.FieldVisitor;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
-import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-
-/**
-* Objects of this class represent a ResultFileHelp2generator.
-* */
-public class ResultFileTypeGenerator extends ResultFileHelp2Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
-
- public String fTypeIdName;
-
- /**
- * Constructor.
- * @param buffer StringBuffer object that this code generator writes to
- */
- public ResultFileTypeGenerator (StringBuffer buffer)
- {
- super(buffer);
- }
-
- /**
- * Visit Method generates code for this Visitor
- * @param Parameter parameter code will be generated
- */
- public IStatus visit (Object object)
- {
- Element typeElement = (Element)object;
- TypeElement type = (TypeElement)typeElement;
- // right now we only have simple to worry about
- if(type.isSimple() || TypeFactory.recognizedBean(type.getName())){
- // create the type that represents the simple type name
- DataType dataType = TypeFactory.createType(type.getName(),type.getOwningElement().getMUID());
-
- String nodeName = getTypeOwnerId()+ "Temp";
- fbuffer.append(dataType.stringConversion(type.getName(),nodeName,getTypeOwnerId()));
-
- putResidentVector(nodeName);
- }
-
- else {
- //must be complex
- String typeName = typeElement.getName();
- fTypeIdName = idName(typeName);
-
- AttributeVisitor attributeVisitor = new AttributeVisitor();
- ResultFileAttributeGenerator resultFileAttributeGenerator = new ResultFileAttributeGenerator(fbuffer);
- resultFileAttributeGenerator.setNumberFactory(getNumberFactory());
- attributeVisitor.run(typeElement,resultFileAttributeGenerator);
- setNumberFactory(resultFileAttributeGenerator.getNumberFactory());
- fbuffer = resultFileAttributeGenerator.getStringBuffer();
-
- FieldVisitor fieldVisitor = new FieldVisitor();
- ResultFileAttributeGenerator resultFileAttributeGenerator2 = new ResultFileAttributeGenerator(fbuffer);
- resultFileAttributeGenerator2.setNumberFactory(getNumberFactory());
- fieldVisitor.run(typeElement,resultFileAttributeGenerator2);
- setNumberFactory(resultFileAttributeGenerator2.getNumberFactory());
- fbuffer = resultFileAttributeGenerator2.getStringBuffer();
-
-
- fbuffer.append(Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE);
- fbuffer.append(Generator.DOUBLE_TAB + "<jsp:useBean id=\"" + fTypeIdName + "\" scope=\"session\" class=\"" + typeName + "\" />" + StringUtils.NEWLINE);
- fbuffer.append(Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE);
-
- Enumeration e = resultFileAttributeGenerator.getResidentVector().elements();
- while(e.hasMoreElements()){
- fbuffer.append(Generator.DOUBLE_TAB + fTypeIdName + "." + e.nextElement() + StringUtils.NEWLINE);
- }
-
- Enumeration e2 = resultFileAttributeGenerator2.getResidentVector().elements();
- while(e2.hasMoreElements()){
- fbuffer.append(Generator.DOUBLE_TAB + fTypeIdName + "." + e2.nextElement() + StringUtils.NEWLINE);
- }
- putResidentVector(fTypeIdName);
- //end of changes
-
- }
-
- return Status.OK_STATUS;
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java
deleted file mode 100644
index 83fe42bca..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.common.StringUtils;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-
-
-/**
-* Objects of this class represent a TestClientFilegenerator.
-* */
-public class TestClientFileGenerator extends Generator
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- public String fMethodName;
- public String fInputName;
- public String fResultName;
-
- /**
- * Constructor.
- *
- */
- public TestClientFileGenerator (String inputs, String methods, String results)
- {
- super();
- fInputName = inputs;
- fMethodName = methods;
- fResultName = results;
- }
-
- public void setFileNames(String inputs, String methods, String results)
- {
- fInputName = inputs;
- fMethodName = methods;
- fResultName = results;
- }
-
- //takes in a bean node
- public IStatus visit (Object object)
- {
- fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>");
- fbuffer.append("<HTML>" + StringUtils.NEWLINE);
- fbuffer.append("<HEAD>" + StringUtils.NEWLINE);
- fbuffer.append("<TITLE>Web Services Test Client</TITLE>" + StringUtils.NEWLINE);
- fbuffer.append("</HEAD>" + StringUtils.NEWLINE + "");
- fbuffer.append("<FRAMESET COLS=\"220,*\">" + StringUtils.NEWLINE);
- fbuffer.append("<FRAME SRC=\""+ fMethodName + "\" NAME=\"methods\" MARGINWIDTH=\"1\" MARGINHEIGHT=\"1\" SCROLLING=\"yes\" FRAMEBORDER=\"1\">" + StringUtils.NEWLINE);
- fbuffer.append("<FRAMESET ROWS=\"80%,20%\">" + StringUtils.NEWLINE);
- fbuffer.append("<FRAME SRC=\""+ fInputName + "\" NAME=\"inputs\" MARGINWIDTH=\"1\" MARGINHEIGHT=\"1\" SCROLLING=\"yes\" FRAMEBORDER=\"1\">" + StringUtils.NEWLINE);
- fbuffer.append("<%").append(StringUtils.NEWLINE);
- fbuffer.append("StringBuffer resultJSP = new StringBuffer(\"").append(fResultName).append("\");").append(StringUtils.NEWLINE);
- fbuffer.append("resultJSP.append(\"?\");").append(StringUtils.NEWLINE);
- fbuffer.append("java.util.Enumeration resultEnum = request.getParameterNames();");
- fbuffer.append("while (resultEnum.hasMoreElements()) {").append(StringUtils.NEWLINE);
- fbuffer.append("Object resultObj = resultEnum.nextElement();").append(StringUtils.NEWLINE);
- fbuffer.append("resultJSP.append(resultObj.toString()).append(\"=\").append(request.getParameter(resultObj.toString())).append(\"&\");").append(StringUtils.NEWLINE);
- fbuffer.append("}").append(StringUtils.NEWLINE);
- fbuffer.append("%>").append(StringUtils.NEWLINE);
- fbuffer.append("<FRAME SRC=\"<%=resultJSP.toString()%>\" NAME=\"result\" MARGINWIDTH=\"1\" MARGINHEIGHT=\"1\" SCROLLING=\"yes\" FRAMEBORDER=\"1\">" + StringUtils.NEWLINE);
- fbuffer.append("</FRAMESET>" + StringUtils.NEWLINE);
-
-
- fbuffer.append("<NOFRAMES>" + StringUtils.NEWLINE);
- fbuffer.append("<BODY>" + StringUtils.NEWLINE);
- fbuffer.append("The Web Services Test Client requires a browser that supports frames." + StringUtils.NEWLINE);
- fbuffer.append("</BODY>" + StringUtils.NEWLINE);
- fbuffer.append("</NOFRAMES>" + StringUtils.NEWLINE);
- fbuffer.append("</FRAMESET>" + StringUtils.NEWLINE);
- fbuffer.append("</HTML>");
-
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java
deleted file mode 100644
index d456f896e..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.command;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-
-/**
- * MofToBeanModelCommand
- * Creation date: (4/10/2001 12:41:48 PM)
- * @author: Gilbert Andrews
- */
-public class GeneratePageCommand extends AbstractDataModelOperation
-{
-
-private Model model_;
-private Generator fGenerator;
-private IFile fIFile;
-private ResourceContext resourceContext_;
-private StringBuffer fStringBuffer;
-
-/**
- * Build constructor comment.
- */
-public GeneratePageCommand()
-{
-}
-
-/**
-* Constructor
-* This command will generate code from a Model
-* @param model The model to be traversed
-* @param generator The code generator to be used
-* @param resource the resource to place the finished product
-*/
-public GeneratePageCommand(ResourceContext context, Model model, Generator generator, IFile file)
-{
- model_ = model;
- fGenerator = generator;
- fIFile = file;
- resourceContext_ = context;
-}
-
-public Model getJavaDataModel()
-{
- return model_;
-}
-
-/**
- *
- */
-public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
-{
- IEnvironment env = getEnvironment();
-
- IStatus status = Status.OK_STATUS;
- try {
- fGenerator.visit(model_.getRootElement());
- fStringBuffer = fGenerator.getStringBuffer();
- String tempString = fStringBuffer.toString();
- OutputStream fileResource = FileResourceUtils.newFileOutputStream(resourceContext_, fIFile.getFullPath(), monitor, env.getStatusHandler());
- //PrintStream ps = new PrintStream(fileResource);
- //ps.print(tempString);
- OutputStreamWriter osw = new OutputStreamWriter(fileResource,"UTF-8");
- osw.write(tempString,0,fStringBuffer.length());
- osw.close();
- fileResource.close();
- return status;
- } catch (IOException ioexc) {
- status = StatusUtils.errorStatus( ioexc );
- return status;
- }
-}
-
-public void setRootElement(Element rootElement)
-{
-}
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java
deleted file mode 100644
index b40810432..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java
+++ /dev/null
@@ -1,227 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.command;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions.JavaMofBeanVisitorAction;
-import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofBeanVisitor;
-import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* This is the base class for commands that need to report progress
-* and status during and after their execution. This class extends
-* {@link org.eclipse.emf.common.command.AbstractCommand AbstractCommand}
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-* with methods to {@link #setProgressMonitor set}
-* and {@link #getProgressMonitor get} a progress monitor,
-* and to get a status object {@link #getReadyStatus before}
-* or {@link #getResultStatus after} execution.
-* <p>
-* Note that the responsibility of providing an
-* {@link org.eclipse.core.runtime.IProgressMonitor IProgressMonitor}
-* rests with frameworks that construct or run ProgressCommand objects,
-* whereas the responsibility of providing an
-* {@link org.eclipse.core.runtime.IStatus IStatus}
-* object lies with the subclasses of ProgressCommand.
-* Subclasses must follow the rules described for
-* {@link org.eclipse.emf.common.command.AbstractCommand AbstractCommand}.
-*/
-public class JavaToModelCommand extends AbstractDataModelOperation
-{
-
- private String clientProject;
- private BooleanSelection[] methods;
- private String proxyBean;
- private JavaClass javaClass;
- private Model model;
- private Element parentElement;
-
- public JavaToModelCommand ()
- {
- }
-
-
- private IStatus createJavaReflection(IEnvironment env, IProgressMonitor monitor )
- {
- IStatus status = Status.OK_STATUS;
- JavaMofReflectionCommand javaMofReflectionCommand = new JavaMofReflectionCommand();
- javaMofReflectionCommand.setClientProject(clientProject);
- javaMofReflectionCommand.setProxyBean(proxyBean);
- javaMofReflectionCommand.setEnvironment( env );
- //javaMofReflectionCommand.setStatusMonitor(getStatusMonitor());
- status = javaMofReflectionCommand.execute( monitor, null);
- javaClass = (JavaClass)javaMofReflectionCommand.getJavaClass();
- return status;
- }
-
- /**
- * The Model that was created from this javamof
- * @return Model The data model that was created
- **/
- public Model getJavaDataModel()
- {
- return model;
- }
-
- /**
- * Build the datamodel from the mof
- */
- public IStatus buildModelFromMof (IEnvironment env) throws CoreException
- {
-
- Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
- Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
-
- // we could have one of three cases:
- //1. The model is null meaning we want and the parent element is null, meaning we want to
- // create a brand new model and make this bean its root
- //2. The model is null but the parentElement is not, meaning we want to add the Bean to the
- // given parent element
- //3. The model is not null however the parentElement is, meaning we want to add this Bean to
- // This model but dont attach it to anything
- IStatus status = Status.OK_STATUS;
-
- if(model == null && parentElement == null){
- JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(clientProject,methods, env);
- //beanVisitorAction.setStatusMonitor(getStatusMonitor());
- JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
- status = beanVisitor.run(javaClass,beanVisitorAction);
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
- model = beanVisitorAction.getModel();
-
- }
- else if (model == null && parentElement != null){
- JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(parentElement,clientProject, env);
- //beanVisitorAction.setStatusMonitor(getStatusMonitor());
- JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
- status = beanVisitor.run(javaClass,beanVisitorAction);
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
- model = beanVisitorAction.getModel();
- }
- else {
- JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(model,clientProject, env);
- //beanVisitorAction.setStatusMonitor(getStatusMonitor());
- JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
- status = beanVisitor.run(javaClass,beanVisitorAction);
- //
- int severity = status.getSeverity();
- if (severity==Status.ERROR)
- return status;
-
- if (severity==Status.WARNING)
- {
- Choice result = env.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
- if (result.getLabel().equals(CancelChoice.getLabel()))
- {
- //return an error status since the user canceled
- return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
- }
-
- }
- //
- model = beanVisitorAction.getModel();
- }
-
- return status;
- }
-
- /**
- * Get the java model from the resource then
- * build the model from the mof
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
- IStatus status = Status.OK_STATUS;
- if(clientProject == null) return status;
-
- status = createJavaReflection(env, monitor);
- if (status.getSeverity()==Status.ERROR) return status;
- try{
- status = buildModelFromMof(env);
- return status;
- }catch(CoreException exc){
- IStatus embeddedStatus = exc.getStatus();
- status = embeddedStatus;
- return status;
- }
-
- }
-
- public void setMethods(BooleanSelection[] methods)
- {
- this.methods = methods;
- }
-
- public void setClientProject(String clientProject)
- {
- this.clientProject = clientProject;
- }
-
- public void setParentElement(Element parentElement)
- {
- this.parentElement = parentElement;
- }
-
- public void setProxyBean(String proxyBean)
- {
- this.proxyBean = proxyBean;
- }
-
- }
-
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java
deleted file mode 100644
index 74f4b0115..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.sampleapp.common;
-
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.Method;
-
-
-/**
-* Objects of this class represent a PropertyDescriptor.
-* */
-public class SamplePropertyDescriptor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
-
- private Method fReadMethod;
- private Method fWriteMethod;
- private String fPropertyName;
- private JavaHelpers fPropertyType;
- private boolean fStatic;
-
- /*
- * Constructor
- **/
- public SamplePropertyDescriptor(String name)
- {
- fPropertyName = name;
- }
-
- /*
- * set the ReadMethod
- */
- public void setReadMethod(Method readMethod)
- {
- fReadMethod = readMethod;
- }
-
- /*
- * get the ReadMethod
- */
- public Method getReadMethod()
- {
- return fReadMethod;
- }
-
- /*
- * set the writeMethod
- */
- public void setWriteMethod(Method writeMethod)
- {
- fWriteMethod = writeMethod;
- }
-
- /*
- * get the writeMethod
- */
- public Method getWriteMethod()
- {
- return fWriteMethod;
- }
-
- /*
- * set the propertyName
- */
- public void setName(String name)
- {
- fPropertyName= name;
- }
-
- /*
- * get the propertyName
- */
- public String getName()
- {
- return fPropertyName;
- }
-
- /*
- * set the PropertyType
- */
- public void setPropertyType(JavaHelpers propertyType)
- {
- fPropertyType = propertyType;
- }
-
- /*
- * get the PropertyType
- */
- public JavaHelpers getPropertyType()
- {
- return fPropertyType;
- }
-
- public boolean isfStatic()
- {
- return fStatic;
- }
-
- public void setfStatic(boolean fStatic)
- {
- this.fStatic = fStatic;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java
deleted file mode 100644
index 7ea7ff5f7..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.wsfinder;
-
-import java.util.List;
-
-public interface IWSFinder
-{
- public String getID();
- public void setID(String id);
-
- public String getName();
- public void setName(String name);
-
- public String getDescription();
- public void setDescription(String desc);
-
- public List find();
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java
deleted file mode 100644
index 97b207ecd..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.wsfinder;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
-
-public class LiveWSDLFilter extends Thread
-{
- private String wsdlURL_;
- private boolean finish_;
- private boolean live_;
-
- public LiveWSDLFilter(String wsdlURL)
- {
- wsdlURL_ = wsdlURL;
- finish_ = false;
- live_ = false;
- }
-
- public String getWSDLURL()
- {
- return wsdlURL_;
- }
-
- public boolean isFinish()
- {
- return finish_;
- }
-
- public boolean isWSDLLive()
- {
- return live_;
- }
-
- public void run()
- {
- try
- {
- live_ = validateWSDL();
- }
- catch (Throwable t)
- {
- live_ = false;
- }
- finally
- {
- finish_ = true;
- }
- }
-
- private boolean validateWSDL() throws WSDLException, MalformedURLException, IOException, WWWAuthenticationException
- {
- WebServicesParserExt parser = new WebServicesParserExt();
- Definition definition = parser.getWSDLDefinitionVerbose(wsdlURL_);
- Map services = definition.getServices();
- Iterator serviceIterator = services.values().iterator();
- while (serviceIterator.hasNext())
- {
- Service service = (Service)serviceIterator.next();
- Map ports = service.getPorts();
- Iterator portIterator = ports.values().iterator();
- while (portIterator.hasNext())
- {
- Port port = (Port)portIterator.next();
- List extensibilityElements = port.getExtensibilityElements();
- Iterator extensibilityElementsIterator = extensibilityElements.iterator();
- while (extensibilityElementsIterator.hasNext())
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement)extensibilityElementsIterator.next();
- if ((extensibilityElement instanceof SOAPAddress) || (extensibilityElement instanceof HTTPAddress))
- return true;
- }
- }
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java
deleted file mode 100644
index e93561e25..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.consumption.wsfinder;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-
-public class WSFinderRegistry
-{
- private static WSFinderRegistry instance_;
- private Vector wsfinders_;
-
- private WSFinderRegistry()
- {
- wsfinders_ = new Vector();
- }
-
- /**
- * Returns a singleton instance of this class.
- * @return A singleton WSFinderRegistry object.
- */
- public static WSFinderRegistry getInstance()
- {
- if (instance_ == null)
- {
- instance_ = new WSFinderRegistry();
- instance_.init();
- }
- return instance_;
- }
-
- private void init()
- {
- IExtensionRegistry pluginReg = Platform.getExtensionRegistry();
- IConfigurationElement[] configElements = pluginReg.getConfigurationElementsFor("org.eclipse.jst.ws.consumption", "wsfinder");
- for (int i = 0; i < configElements.length; i++)
- {
- try
- {
- Object object = configElements[i].createExecutableExtension("class");
- if (object instanceof IWSFinder)
- {
- IWSFinder wsfinder = (IWSFinder)object;
- wsfinder.setID(configElements[i].getAttribute("id"));
- wsfinder.setName(configElements[i].getAttribute("name"));
- wsfinder.setDescription(configElements[i].getAttribute("description"));
- wsfinders_.add(wsfinder);
- }
- }
- catch (CoreException ce)
- {
- }
- }
- }
-
- public List getWSFinders()
- {
- return wsfinders_;
- }
-
- public List getWebServices()
- {
- List ws = new Vector();
- List wsFinders = getWSFinders();
- for (Iterator it = wsFinders.iterator(); it.hasNext();)
- {
- IWSFinder wsFinder = (IWSFinder)it.next();
- ws.addAll(wsFinder.find());
- }
- return ws;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java
deleted file mode 100644
index 5123e55e2..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.util;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import org.w3c.dom.Document;
-
-/**
- * @author gilberta
- *
- * To change the template for this generated type comment go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-public class DomElementHelper {
-
-
- public static org.w3c.dom.Element createDomElementFromXMLString(java.lang.String xmlString )
- {
- java.io.StringReader stringReader = new java.io.StringReader(xmlString);
- org.xml.sax.InputSource inputSource = new org.xml.sax.InputSource(stringReader);
- try
- {
- DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
- DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
- Document document = docBuilder.parse(inputSource);
- return document.getDocumentElement();
- }
- catch (Throwable t)
- {
- return null;
- }
- }
-
- public static java.lang.String domWriter(org.w3c.dom.Node node,java.lang.StringBuffer buffer)
- {
- if ( node == null ) {
- return "";
- }
- int type = node.getNodeType();
- switch ( type ) {
- case org.w3c.dom.Node.DOCUMENT_NODE: {
- buffer.append(JspUtils.markup("<?xml version=\"1.0\" encoding=\"UTF-8\"?>") + "<br>");
- domWriter(((org.w3c.dom.Document)node).getDocumentElement(),buffer);
- break;
- }
- case org.w3c.dom.Node.ELEMENT_NODE: {
- buffer.append(JspUtils.markup("<" + node.getNodeName()));
- org.w3c.dom.Attr attrs[] = sortAttributes(node.getAttributes());
- for ( int i = 0; i < attrs.length; i++ ) {
- org.w3c.dom.Attr attr = attrs[i];
- buffer.append(" " + attr.getNodeName() + "=\"" + JspUtils.markup(attr.getNodeValue()) + "\"");
- }
- buffer.append(JspUtils.markup(">"));
- org.w3c.dom.NodeList children = node.getChildNodes();
- if ( children != null ) {
- int len = children.getLength();
- for ( int i = 0; i < len; i++ ) {
- if(((org.w3c.dom.Node)children.item(i)).getNodeType() == org.w3c.dom.Node.ELEMENT_NODE)
- buffer.append("<br>");
- domWriter(children.item(i),buffer);
- }
- }
- buffer.append(JspUtils.markup("</" + node.getNodeName() + ">"));
- break;
- }
- case org.w3c.dom.Node.ENTITY_REFERENCE_NODE: {
- org.w3c.dom.NodeList children = node.getChildNodes();
- if ( children != null ) {
- int len = children.getLength();
- for ( int i = 0; i < len; i++ )
- {
- buffer.append(children.item(i));
- }
- }
- break;
- }
- case org.w3c.dom.Node.CDATA_SECTION_NODE: {
- buffer.append(JspUtils.markup(node.getNodeValue()));
- break;
- }
- case org.w3c.dom.Node.TEXT_NODE:{
- buffer.append(JspUtils.markup(node.getNodeValue()));
- break;
- }
- case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:{
- buffer.append(JspUtils.markup("<?"));
- buffer.append(node.getNodeName());
- String data = node.getNodeValue();
- if ( data != null && data.length() > 0 ){
- buffer.append(" ");
- buffer.append(data);
- }
- buffer.append(JspUtils.markup("?>"));
- break;
- }
- }
- return buffer.toString();
- }
-
- public static org.w3c.dom.Attr[] sortAttributes(org.w3c.dom.NamedNodeMap attrs)
- {
- int len = (attrs != null) ? attrs.getLength() : 0;
- org.w3c.dom.Attr array[] = new org.w3c.dom.Attr[len];
- for ( int i = 0; i < len; i++ ){
- array[i] = (org.w3c.dom.Attr)attrs.item(i);
- }
- for ( int i = 0; i < len - 1; i++ ) {
- String name = array[i].getNodeName();
- int index = i;
- for ( int j = i + 1; j < len; j++ ) {
- String curName = array[j].getNodeName();
- if ( curName.compareTo(name) < 0 ) {
- name = curName;
- index = j;
- }
- }
- if ( index != i ) {
- org.w3c.dom.Attr temp = array[i];
- array[i] = array[index];
- array[index] = temp;
- }
- }
- return (array);
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java
deleted file mode 100644
index abb9013e9..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.util;
-
-/**
- * @author gilberta
- *
- * To change the template for this generated type comment go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-public class JspUtils {
- public static String markup(String text) {
- if (text == null) {
- return null;
- }
-
- StringBuffer buffer = new StringBuffer();
- for (int i = 0; i < text.length(); i++) {
- char c = text.charAt(i);
- switch (c) {
- case '<':
- buffer.append("&lt;");
- break;
- case '&':
- buffer.append("&amp;");
- break;
- case '>':
- buffer.append("&gt;");
- break;
- case '"':
- buffer.append("&quot;");
- break;
- default:
- buffer.append(c);
- break;
- }
- }
- return buffer.toString();
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java
deleted file mode 100644
index 18030062b..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005,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
- * -------- -------- -----------------------------------------------------------
- * 20060131 123963 andyzhai@ca.ibm.com - Andy Zhai
- *******************************************************************************/
-package org.eclipse.jst.ws.util;
-
-import java.io.IOException;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.xml.sax.SAXException;
-
-/**
- * @author gilberta
- */
-public class SoapElementHelper
-{
- public static javax.xml.soap.SOAPElement createSOAPElementFromXMLString(String xmlString) throws ParserConfigurationException, IOException, SAXException
- {
- java.io.StringReader stringReader = new java.io.StringReader(xmlString);
- org.xml.sax.InputSource inputSource = new org.xml.sax.InputSource(stringReader);
- SAXParserFactory factory = SAXParserFactory.newInstance();
- factory.setNamespaceAware(true);
- SAXParser parser = factory.newSAXParser();
- SoapElementSaxHandler handler = new SoapElementSaxHandler();
- parser.parse(inputSource,handler);
- return handler.getSOAPElement();
- }
-
- public static java.lang.String soapElementWriter(javax.xml.soap.SOAPElement node,java.lang.StringBuffer buffer)
- {
- if (node == null ) {
- return "";
- }
-
- buffer.append(JspUtils.markup("<" + node.getElementName().getLocalName()));
- java.util.Iterator attrs = node.getAllAttributes();
- while(attrs.hasNext()) {
- javax.xml.soap.Name attr = (javax.xml.soap.Name)attrs.next();
- buffer.append(" " + attr.getQualifiedName() + "=\"" + JspUtils.markup(node.getAttributeValue(attr)) + "\"");
- }
- buffer.append(JspUtils.markup(">"));
- java.util.Iterator children = node.getChildElements();
- if ( children != null ) {
- while(children.hasNext()){
- javax.xml.soap.Node childNode = (javax.xml.soap.Node)children.next();
- if(childNode instanceof javax.xml.soap.SOAPElement){
- buffer.append("<br>");
- soapElementWriter((javax.xml.soap.SOAPElement)childNode,buffer);
- }
- else
- buffer.append(JspUtils.markup(((javax.xml.soap.Text)childNode).getValue()));
- }
- buffer.append(JspUtils.markup("</" + node.getElementName().getLocalName() + ">"));
- }
- return buffer.toString();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java
deleted file mode 100644
index 2335ef522..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.util;
-
-/**
- * @author gilberta
- *
- * To change the template for this generated type comment go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-public class SoapElementRuntimeException extends Exception {
-
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3761693372674748471L;
-
-public SoapElementRuntimeException(String message){
- super(message);
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java
deleted file mode 100644
index 26bbf6e30..000000000
--- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 123963 andyzhai@ca.ibm.com - Andy Zhai
- *******************************************************************************/
-
-package org.eclipse.jst.ws.util;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-
-import javax.xml.soap.Name;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPException;
-import javax.xml.soap.SOAPFactory;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/**
- * @author xinzhai
- */
-public class SoapElementSaxHandler extends DefaultHandler
-{
- //Stores all values of pairs of prefix and URI in the document
- private HashMap prefixURIMapping = new HashMap();
- //Stores a list of URIs for a particular SOAP element
- private ArrayList uris = new ArrayList();
- //Represents the whole(root) SOAP document
- private SOAPElement rootElement = null;
- //Represents the current SOAP element where SAX parser is reading
- private SOAPElement currentElement = null;
- private SOAPFactory soapFactory;
-
- public SOAPElement getSOAPElement()
- {
- return rootElement;
- }
-
- public void startDocument() throws SAXException
- {
- try
- {
- soapFactory = SOAPFactory.newInstance();
- }
- catch (SOAPException e)
- {
- throw new SAXException("Can't create a SOAPFactory instance", e);
- }
- }
-
- public void startPrefixMapping(String prefix, String uri)
- {
- prefixURIMapping.put(uri,prefix);
- uris.add(uri);
- }
-
- public void characters(char[] ch, int start, int length) throws SAXException
- {
- String str = String.valueOf(ch);
- //Add non-trivial text as a text node
- if (length > 1)
- {
- try
- {
- currentElement.addTextNode(str.substring(start,start+length));
- }
- catch (SOAPException e)
- {
- throw new SAXException("Can't add a text node into SOAPElement from text", e);
- }
- }
- }
-
- public void endElement (String uri, String localName, String qName)
- {
- if (currentElement != rootElement )
- {
- currentElement = currentElement.getParentElement();
- }
- }
- public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- {
- String prefix = (String)prefixURIMapping.get(namespaceURI);
- try
- {
- // Create and/or add child element
- if (rootElement == null && currentElement == null)
- {
- rootElement = soapFactory.createElement(localName,prefix,namespaceURI);
- currentElement = rootElement;
- }
- else
- {
- currentElement = currentElement.addChildElement(localName,prefix,namespaceURI);
- }
-
- // Add namespace declaration
- if (uris.size() > 0)
- {
- for (int i = 0; i < uris.size(); i++)
- {
- String uri = (String)uris.get(i);
- String pre = (String)prefixURIMapping.get(uri);
- currentElement.addNamespaceDeclaration(pre,uri);
- }
- // Need to reset uris as we will use it for next element.
- uris.clear();
- }
-
- // Add attibutes
- for (int i =0; i<atts.getLength(); i++)
- {
- Name attriName;
- if (atts.getURI(i) != null)
- {
- String attriPre = (String)prefixURIMapping.get(atts.getURI(i));
- attriName = soapFactory.createName(atts.getLocalName(i),attriPre,atts.getURI(i));
- }
- else
- {
- attriName = soapFactory.createName(atts.getLocalName(i));
- }
- currentElement.addAttribute(attriName, atts.getValue(i));
- }
- }
- catch (SOAPException e)
- {
- throw new SAXException(e);
- }
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore b/bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore
deleted file mode 100644
index c14487cea..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-build.xml
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.project b/bundles/org.eclipse.jst.ws.creation.ejb.ui/.project
deleted file mode 100644
index 802346176..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.project
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.creation.ejb.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 5709b0185..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:15 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 60bfabbf1..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,9 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.creation.ejb.ui; singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.jst.ws.consumption.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)"
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html b/bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties b/bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties
deleted file mode 100644
index 6e2940fa0..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-bin.includes = plugin.xml,\
- plugin.properties,\
- META-INF/,\
- about.html
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties b/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties
deleted file mode 100644
index 13fe654ef..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Creation EJB Graphical User Interface
-PLUGIN_PROVIDER=Eclipse.org
-
-#
-# Web service types
-#
-WEBSERVICETYPE_NAME_EJB_TP=EJB Web Service
-WEBSERVICETYPE_NAME_WSDL_EJB_TP=Skeleton EJB Web Service
-
-#
-# Pop-up actions
-#
-ACTION_DEPLOY_WEBSERVICE=Create Web service
-
diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml b/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml
deleted file mode 100644
index 83a18e6f0..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <!-- EJB Web Service Types -->
-<!--
- <extension
- point="org.eclipse.jst.ws.consumption.ui.webServiceServerRuntimeType">
-
- <webServiceType
- label="%WEBSERVICETYPE_NAME_WSDL_EJB_TP"
- resourceTypeMetadata="File IResource"
- extensionMetadata=".wsdl"
- objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget"
- includeNatures="org.eclipse.jst.j2ee.ejb.EJBNature"
- excludeNatures=""
- id="org.eclipse.jst.ws.type.wsdl.ejb">
- </webServiceType>
-
- <webServiceType
- label="%WEBSERVICETYPE_NAME_EJB_TP"
- resourceTypeMetadata="EJBObject org.eclipse.jst.j2ee.ejb.EnterpriseBean SessionImpl"
- extensionMetadata=".java .class .SessionImpl"
- objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget"
- includeNatures="org.eclipse.jst.j2ee.ejb.EJBNature"
- excludeNatures=""
- id="org.eclipse.jst.ws.type.ejb">
- </webServiceType>
- </extension>
--->
-
- <!-- Popups -->
-
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.ejb.EnterpriseBean"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java">
- <action
- label="%ACTION_DEPLOY_WEBSERVICE"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.ejb.popupMenu/popupActions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
- </extension>
-
-
-<!-- EJB stuff -->
- <extension point="org.eclipse.jst.ws.consumption.ui.wsImpl">
- <webServiceImpl
- id="org.eclipse.jst.ws.wsImpl.ejb"
- label="%WEBSERVICETYPE_NAME_EJB_TP"
- resourceTypeMetadata="EJBObject org.eclipse.jst.j2ee.ejb.EnterpriseBean SessionImpl"
- extensionMetadata=".java .class .SessionImpl"
- objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget">
- </webServiceImpl>
- </extension>
-
-
-
-
-</plugin> \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/.classpath b/bundles/org.eclipse.jst.ws.creation.ui/.classpath
deleted file mode 100644
index cb0105380..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/.cvsignore b/bundles/org.eclipse.jst.ws.creation.ui/.cvsignore
deleted file mode 100644
index 8e6edef01..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-build.xml
-temp.folder
-wss-ui.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/.project b/bundles/org.eclipse.jst.ws.creation.ui/.project
deleted file mode 100644
index b9c8bfcaf..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.creation.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index d79b49db9..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:36:30 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 5971ac072..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:04 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.creation.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index d96064543..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,48 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.creation.ui; singleton:=true
-Bundle-Version: 1.0.103.qualifier
-Bundle-Activator: org.eclipse.jst.ws.internal.creation.ui.plugin.WebServiceCreationUIPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.internal.creation.ui;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.ant;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.extension;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.plugin;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.preferences;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.server;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.widgets;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.widgets.binding;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.widgets.runtime;x-internal:=true,
- org.eclipse.jst.ws.internal.creation.ui.widgets.test;x-internal:=true
-Require-Bundle: org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.ws.explorer;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws.consumption;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.ws.ui;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.ws.consumption.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.common.emfworkbench.integration;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.ejb;bundle-version="[1.1.0,1.2.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.common.project.facet.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.ui.forms;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.ws.ui;bundle-version="[1.0.101,1.1.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/about.html b/bundles/org.eclipse.jst.ws.creation.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/build.properties b/bundles/org.eclipse.jst.ws.creation.ui/build.properties
deleted file mode 100644
index e1dec33b5..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-source.. = src/
-bin.includes = .,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- META-INF/,\
- about.html
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws.gif b/bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws.gif
deleted file mode 100644
index ca44ef839..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws_wiz.gif b/bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws_wiz.gif
deleted file mode 100644
index 74fcd7711..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/export_ws_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/full/ctool16/new_webserv_wiz.gif b/bundles/org.eclipse.jst.ws.creation.ui/icons/full/ctool16/new_webserv_wiz.gif
deleted file mode 100644
index 2d737f07a..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/full/ctool16/new_webserv_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/full/wizban/webservices_wiz.png b/bundles/org.eclipse.jst.ws.creation.ui/icons/full/wizban/webservices_wiz.png
deleted file mode 100644
index 45f876a63..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/full/wizban/webservices_wiz.png
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale0_bground.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/scale0_bground.jpg
deleted file mode 100644
index 4eb1880db..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale0_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale1_bground.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/scale1_bground.jpg
deleted file mode 100644
index 9f1173267..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale1_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale2_bground.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/scale2_bground.jpg
deleted file mode 100644
index 27caf5e10..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale2_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale3_bground.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/scale3_bground.jpg
deleted file mode 100644
index 12d48b156..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale3_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale4_bground.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/scale4_bground.jpg
deleted file mode 100644
index 0d9a43802..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale4_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale5_bground.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/scale5_bground.jpg
deleted file mode 100644
index 4e7d44869..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale5_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale6_bground.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/scale6_bground.jpg
deleted file mode 100644
index 04c094303..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/scale6_bground.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_assemble.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/service_assemble.jpg
deleted file mode 100644
index 5d3793332..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_assemble.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_deploy.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/service_deploy.jpg
deleted file mode 100644
index bd58bc06d..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_deploy.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_develop.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/service_develop.jpg
deleted file mode 100644
index 38ff6a6f9..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_develop.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_install.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/service_install.jpg
deleted file mode 100644
index 58fcdba85..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_install.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_run.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/service_run.jpg
deleted file mode 100644
index 5c912f705..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_run.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_test.jpg b/bundles/org.eclipse.jst.ws.creation.ui/icons/service_test.jpg
deleted file mode 100644
index ab5695991..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/icons/service_test.jpg
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/plugin.properties b/bundles/org.eclipse.jst.ws.creation.ui/plugin.properties
deleted file mode 100644
index 5e18d4aac..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/plugin.properties
+++ /dev/null
@@ -1,62 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Creation Graphical User Interface
-PLUGIN_PROVIDER=Eclipse.org
-
-PLUGIN_NEW_CATEGORY_NAME_WS=Web Services
-PLUGIN_NEW_WIZARD_NAME_WS_SERVICE=Web Service
-PLUGIN_EXPORT_WIZARD_NAME_WS=Web Service
-PLUGIN_NEW_WIZARD_DESC_WS_SERVICE=Create a new XML web service.
-PLUGIN_EXPORT_WIZARD_DESC_WS=A wizard for exporting a web service.
-
-#
-# Web Services Preferance Pages
-#
-# Dialogs
-CHECKBOX_SHOW_DEPLOY_WEB_SERVICE_DIALOG=Hide &Create Web service Dialog
-CHECKBOX_SHOW_GENERATE_SKELETON_DIALOG=Hide Generate Java Bean S&keleton Dialog
-CHECKBOX_SHOW_GENERATE_WSDL_FILES_DIALOG=Hide Generate WSDL Files Dialog
-CHECKBOX_SHOW_PUBLISH_WSDL_DIALOG=Hide Publish &WSDL Dialog
-
-PREFERENCE_CATEGORY_SCENARIO_DEFAULTS=Scenario Defaults
-
-
-#
-# Preferences Tooltips
-#
-#Action Dialogs
-TOOLTIP_PPAD_CHECKBOX_DEPLOY=Hides the dialog for deploying a Web service action
-TOOLTIP_PPAD_CHECKBOX_SKELETON=Hides the dialog for generating Java bean Skeleton action
-TOOLTIP_PPAD_CHECKBOX_WSDL=Hides the dialog for generating WSDL files action
-TOOLTIP_PPAD_CHECKBOX_PUBLISH=Hides the dialog for publishing the WSDL action
-
-#
-# Pop-up actions
-#
-ACTION_DEPLOY_WEBSERVICE=Create Web service
-ACTION_GENERATE_JAVA_SKELETON=Generate Java bean skeleton
-ACTION_PUBLISH_WSDL=Publish WSDL file
-
-#
-# Wizards.
-#
-WIZARD_TITLE_WSS=Web Service
-
-
-#
-# Pop-up actions
-#
-ACTION_DEPLOY_WEBSERVICE=Create Web service
-
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/plugin.xml b/bundles/org.eclipse.jst.ws.creation.ui/plugin.xml
deleted file mode 100644
index 6d304debe..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/plugin.xml
+++ /dev/null
@@ -1,393 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <!-- Wizards -->
-
- <extension
- point="org.eclipse.ui.newWizards">
- <category
- name="%PLUGIN_NEW_CATEGORY_NAME_WS"
- id="org.eclipse.jst.ws.ui.new">
- </category>
- <wizard
- name="%PLUGIN_NEW_WIZARD_NAME_WS_SERVICE"
- icon="icons/full/ctool16/new_webserv_wiz.gif"
- category="org.eclipse.jst.ws.ui.new"
- class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- <description>
- %PLUGIN_NEW_WIZARD_DESC_WS_SERVICE
- </description>
- </wizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/full/wizban/webservices_wiz.png"
- title="%WIZARD_TITLE_WSS"
- class="org.eclipse.jst.ws.internal.creation.ui.widgets.binding.ServerWidgetBinding"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </dynamicWizard>
- </extension>
-
- <extension
- point="org.eclipse.ui.exportWizards">
- <category
- id="org.eclipse.jst.ws.creation.ui.wsexport.category"
- name="%PLUGIN_NEW_CATEGORY_NAME_WS"/>
- </extension>
-
- <extension
- point="org.eclipse.ui.exportWizards">
- <wizard
- name="%PLUGIN_EXPORT_WIZARD_NAME_WS"
- icon="icons/export_ws.gif"
- category="org.eclipse.jst.ws.creation.ui.wsexport.category"
- class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
- id="org.eclipse.jst.ws.consumption.ui.wsexport">
- <description>
- %PLUGIN_EXPORT_WIZARD_DESC_WS
- </description>
- </wizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/export_ws_wiz.gif"
- name="%PLUGIN_EXPORT_WIZARD_NAME_WS"
- class="org.eclipse.jst.ws.internal.creation.ui.widgets.binding.ExportWSWidgetBinding"
- id="org.eclipse.jst.ws.consumption.ui.wsexport">
- </dynamicWizard>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- iconbanner="icons/export_ws_wiz.gif"
- name="%PLUGIN_EXPORT_WIZARD_NAME_WS"
- class="org.eclipse.jst.ws.internal.creation.ui.widgets.binding.ExportWSWidgetBinding"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- </dynamicWizard>
- </extension>
-
- <!-- "Don't Show Me" Preferences -->
-
- <extension
- point="org.eclipse.wst.command.env.actionDialogPreferenceType">
-
- <actionDialogPreferenceType
- name="%CHECKBOX_SHOW_DEPLOY_WEB_SERVICE_DIALOG"
- tooltip="%TOOLTIP_PPAD_CHECKBOX_DEPLOY"
- infopop="org.eclipse.jst.ws.creation.ui.PPAD0006"
- category="org.eclipse.jst.wss.popup.category"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java">
- </actionDialogPreferenceType>
-
- <actionDialogPreferenceType
- name="%CHECKBOX_SHOW_GENERATE_SKELETON_DIALOG"
- tooltip="%TOOLTIP_PPAD_CHECKBOX_SKELETON"
- infopop="org.eclipse.jst.ws.creation.ui.PPAD0008"
- category="org.eclipse.jst.wss.popup.category"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.skeleton">
- </actionDialogPreferenceType>
-
- <actionDialogPreferenceType
- name="%CHECKBOX_SHOW_PUBLISH_WSDL_DIALOG"
- tooltip="%TOOLTIP_PPAD_CHECKBOX_PUBLISH"
- infopop="org.eclipse.jst.ws.creation.ui.PPAD0009"
- category="org.eclipse.jst.wss.popup.category"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- </actionDialogPreferenceType>
-
- </extension>
-
- <!-- Popups -->
-
- <extension
- point="org.eclipse.ui.popupMenus">
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.java"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java">
- <action
- label="%ACTION_DEPLOY_WEBSERVICE"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jdt.internal.core.CompilationUnit"
- nameFilter="*.java"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java">
- <action
- label="%ACTION_DEPLOY_WEBSERVICE"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsdl"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.skeleton">
- <action
- label="%ACTION_GENERATE_JAVA_SKELETON"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.Service"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.skeleton">
- <action
- label="%ACTION_GENERATE_JAVA_SKELETON"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.skeleton">
- <action
- label="%ACTION_GENERATE_JAVA_SKELETON"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.skeleton">
- <action
- label="%ACTION_GENERATE_JAVA_SKELETON"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsdd.ServiceImplBean"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java">
- <action
- label="%ACTION_DEPLOY_WEBSERVICE"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsdd.BeanLink"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java">
- <action
- label="%ACTION_DEPLOY_WEBSERVICE"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsil"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.skeleton">
- <action
- label="%ACTION_GENERATE_JAVA_SKELETON"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsdl"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- <action
- label="%ACTION_PUBLISH_WSDL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.Service"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- <action
- label="%ACTION_PUBLISH_WSDL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- <action
- label="%ACTION_PUBLISH_WSDL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- </action>
- </objectContribution>
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
- nameFilter="*"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- <action
- label="%ACTION_PUBLISH_WSDL"
- class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- menubarPath="additions"
- id="org.eclipse.jst.ws.creation.ui.wizard.publish">
- </action>
- </objectContribution>
-
- </extension>
-
- <!-- Preference Pages -->
-
- <extension point="org.eclipse.ui.preferencePages">
- <page
- name="%PREFERENCE_CATEGORY_SCENARIO_DEFAULTS"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.jst.ws.internal.creation.ui.preferences.ScenarioDefaultsPreferencePage"
- id="org.eclipse.jst.ws.internal.creation.ui.preferences.ScenarioDefaultsPreferencePage">
- </page>
- </extension>
-
- <extension point="org.eclipse.wst.command.env.ui.widgetRegistry">
- <widgetFactory
- id="StartServiceServer"
- insertBeforeCommandId="org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceRunCommand"
- class="org.eclipse.jst.ws.internal.creation.ui.server.StartServerWidgetFactory"/>
- </extension>
-
- <extension point="org.eclipse.wst.command.env.antScenario">
- <antScenario
- class="org.eclipse.jst.ws.internal.creation.ui.ant.AntServiceRootCommandFragment"
- scenarioType="service"/>
- </extension>
-
- <extension
- point="org.eclipse.wst.command.env.antDataMapping">
- <map
- key="InitialSelection"
- operation="org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetDefaultingCommand"
- property="InitialSelection"
- required="true"
- transform="org.eclipse.jst.ws.internal.common.String2SelectionTransformer"/>
- <map
- key="InitialSelection"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionOutputCommand"
- property="ObjectSelection"
- required="true"
- transform="org.eclipse.jst.ws.internal.common.String2SelectionTransformer"/>
- <map
- key="Project"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionOutputCommand"
- property="Project"
- transform="org.eclipse.jst.ws.internal.common.StringToIProjectTransformer"/>
- <map
- key="ComponentName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionOutputCommand"
- property="ComponentName"/>
- <map
- key="Service.RuntimeId"
- operation="org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetOutputCommand"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Service.ServerId"
- operation="org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetOutputCommand"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Service.TypeId"
- operation="org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetOutputCommand"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="GenerateProxy"
- operation="org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetOutputCommand"
- property="GenerateProxy"/>
- <map
- key="Service.RuntimeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Service.ServerId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Service.TypeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
-
- <map
- key="ServiceProjectName"
- operation="org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand"
- property="ServiceProjectName"/>
-
- <map
- key="ServiceProjectName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand"
- property="ServiceProjectName"/>
-
- <map
- key="ServiceComponentName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand"
- property="ServiceComponentName"/>
-
- <map
- key="ServiceEarProjectName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand"
- property="ServiceEarProjectName"/>
-
- <map
- key="ServiceEarComponentName"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand"
- property="ServiceEarComponentName"/>
- <map
- key="Service.RuntimeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionFragment"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Service.ServerId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionFragment"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- <map
- key="Service.TypeId"
- operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionFragment"
- property="ServiceTypeRuntimeServer"
- transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
- </extension>
-</plugin>
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUI.properties b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUI.properties
deleted file mode 100644
index 14c74bf2f..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUI.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2004 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
-###############################################################################
-
-#
-# Wizard pages
-#
-PAGE_TITLE_OBJECT_SELECTION=Object Selection Page
-PAGE_DESC_OBJECT_SELECTION=Object Selection Page
-
-
-
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUIMessages.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUIMessages.java
deleted file mode 100644
index eb19e8bc6..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/CreationUIMessages.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class CreationUIMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.creation.ui.CreationUI";//$NON-NLS-1$
-
- private CreationUIMessages() {
- // Do not instantiate
- }
-
- public static String PAGE_TITLE_OBJECT_SELECTION;
- public static String PAGE_DESC_OBJECT_SELECTION;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, CreationUIMessages.class);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/ant/AntServiceRootCommandFragment.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/ant/AntServiceRootCommandFragment.java
deleted file mode 100644
index f35a50901..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/ant/AntServiceRootCommandFragment.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060530 144358 kathy@ca.ibm.com - Kathy Chan
- * 20060530 144350 kathy@ca.ibm.com - Kathy Chan
- * 20060823 154938 pmoogk@ca.ibm.com - Peter Moogk
- * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
- * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.ant;
-
-import org.eclipse.jst.ws.internal.consumption.ui.command.AntDefaultingOperation;
-import org.eclipse.jst.ws.internal.consumption.ui.command.AntRestoringCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.command.ListOptionsCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ScenarioCleanupCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.selection.SelectionTransformer;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionOutputCommand;
-import org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceDevelopCommand;
-import org.eclipse.jst.ws.internal.creation.ui.extension.ServiceRootFragment;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-
-/**
- *
- * Command fragment for generating web service top down or bottom up using Ant task.
- * Run headless Eclipse or within workspace using Run as Ant Build. This fragment eliminates any UI specific
- * commands and data mappings between commands and widgets. Widget to command mappings are
- * replaced by Ant property file to command mappings which are enabled by a antDataMapping extension
- * point in the org.eclipse.wst.command.env plugin.
- *
- * @author joan
- *
- */
-
-public class AntServiceRootCommandFragment extends SequenceFragment
-{
-
- public AntServiceRootCommandFragment()
- {
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
- add( new SimpleFragment(new ListOptionsCommand(), ""));
- add (new SimpleFragment(new AntDefaultingOperation(), ""));
- add( new SimpleFragment( new ServerWizardWidgetDefaultingCommand(), ""));
- add( new SimpleFragment( new ServerWizardWidgetOutputCommand(), "" ));
- add( new ObjectSelectionFragment() );
- add( new SimpleFragment( new ServerRuntimeSelectionWidgetDefaultingCommand(), ""));
- add( new SimpleFragment( new ServerExtensionDefaultingCommand(), ""));
- add( new ServiceRootFragment() );
- add( new SimpleFragment( new ServerExtensionOutputCommand(), "" ));
- add(new FinishFragment());
- add( new SimpleFragment( new AntRestoringCommand(), "" ));
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
- }
-
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ObjectSelection", ServerRuntimeSelectionWidgetDefaultingCommand.class, "InitialSelection", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ObjectSelection", ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialSelection", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "Project", ServerRuntimeSelectionWidgetDefaultingCommand.class, "InitialProject", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "Project", ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ComponentName", ServerRuntimeSelectionWidgetDefaultingCommand.class, "InitialComponentName", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ComponentName", ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialComponentName", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "WebServicesParser", ServerExtensionDefaultingCommand.class );
-
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "GenerateProxy", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "GenerateProxy", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ResourceContext", ServerWizardWidgetOutputCommand.class);
-
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DevelopService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "AssembleService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DeployService", ServerWizardWidgetOutputCommand.class);
-
- // Map ServerWizardWidgetOutputCommand.
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "ServiceTypeRuntimeServer", ObjectSelectionFragment.class, "TypeRuntimeServer", null);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "ClientTypeRuntimeServer", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "ServiceTypeRuntimeServer", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "StartService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "GenerateProxy", ServerRuntimeSelectionWidgetDefaultingCommand.class);
-
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "DevelopService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "AssembleService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "DeployService", ServerExtensionDefaultingCommand.class);
-
- //Map AntDefaultingFragment
- dataRegistry.addMapping(AntDefaultingOperation.class, "ServiceIdsFixed", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(AntDefaultingOperation.class, "ClientIdsFixed", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(AntDefaultingOperation.class, "StartService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping(AntDefaultingOperation.class, "InstallService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping(AntDefaultingOperation.class, "DeployService", PreServiceDevelopCommand.class);
-
- // Map ServerRuntimeSelectionWidgetDefaultingCommand
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceProjectName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceEarProjectName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceComponentName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceEarComponentName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceJ2EEVersion", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceNeedEAR", ServerExtensionDefaultingCommand.class);
-
-
- // Map ServerExtensionDefaultingCommand
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerExtensionFragment.class);
-
- // Setup the PreServiceDevelopCommand.
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "StartService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "GenerateProxy", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "ResourceContext", PreServiceDevelopCommand.class);
-
- dataRegistry.addMapping( ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceComponentType", PreServiceDevelopCommand.class, "ModuleType", null);
- dataRegistry.addMapping( ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceComponentType", ServerExtensionDefaultingCommand.class );
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceRuntimeId", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", PreServiceDevelopCommand.class );
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServiceRuntimeId", PreServiceDevelopCommand.class );
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServiceJ2EEVersion", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServerProject", PreServiceDevelopCommand.class, "Module", null );
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServerProjectEAR", PreServiceDevelopCommand.class, "Ear", null );
-
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "DevelopService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "AssembleService", PreServiceDevelopCommand.class);
-
-
-
- dataRegistry.addMapping( ObjectSelectionOutputCommand.class, "ObjectSelection", PreServiceDevelopCommand.class, "Selection", new SelectionTransformer() );
- dataRegistry.addMapping( PreServiceDevelopCommand.class, "WebService", ServerExtensionOutputCommand.class );
-
- // Map ServerExtensionOutputCommand for ServerStart()
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServerProjectEAR", ServerExtensionOutputCommand.class, "EarProjectName", null);
-
- dataRegistry.addMapping(AntDefaultingOperation.class, "RendererValidation", AntRestoringCommand.class);
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceAssembleCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceAssembleCommand.java
deleted file mode 100644
index b8f0170ba..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceAssembleCommand.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060330 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060524 141925 kathy@ca.ibm.com - Kathy Chan
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
-import org.eclipse.jst.ws.internal.consumption.command.common.AssociateModuleWithEARCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.SkeletonMergeCommand;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-public class PreServiceAssembleCommand extends AbstractDataModelOperation
-{
- private IWebService webService_;
- private String project_;
- private String module_;
- private String earProject_;
- private String ear_;
- private IContext context_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
- IStatus status = Status.OK_STATUS;
-
- // For top down scenarios, merge the content of the skeleton files with the previous version stored.
- // The Web service extensions triggers the storing of the content of the old skeleton file by
- // calling WebServiceInfo.setImplURLs() before the new skeleton is generated in the extension's
- // develop() method.
-
- if (context_.getScenario().getValue() == WebServiceScenario.TOPDOWN) {
- SkeletonMergeCommand skeletonMergeCommand = new SkeletonMergeCommand(project_);
- skeletonMergeCommand.setUrls(webService_.getWebServiceInfo().getImplURLs());
- skeletonMergeCommand.setEnvironment(environment);
- status = skeletonMergeCommand.execute( monitor, adaptable );
- if (status.getSeverity() == Status.ERROR) {
- environment.getStatusHandler().reportError(status);
- return status;
- }
- }
-
- if (context_.getAssemble()) {
-
- // Check if EAR module is req'd, ie. !=null
- if (earProject_==null)
- return Status.OK_STATUS;
-
-
-
- //Create the service EAR module
-
- CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
- command.setProjectName(earProject_);
- command.setTemplateId(IJ2EEModuleConstants.JST_EAR_TEMPLATE);
-
- // RequiredFacetVersions is set to an empty array because we don't need to impose any additional constraints.
- // We just want to create the highest level of EAR project that the selected server supports.
- command.setRequiredFacetVersions(new RequiredFacetVersion[0]);
-
- command.setServerFactoryId(webService_.getWebServiceInfo().getServerFactoryId());
- command.setServerInstanceId(webService_.getWebServiceInfo().getServerInstanceId());
- status = command.execute( monitor, adaptable );
- if (status.getSeverity() == Status.ERROR)
- {
- environment.getStatusHandler().reportError( status );
- return status;
- }
-
- //Associate the service module and service EAR
- AssociateModuleWithEARCommand associateCommand = new AssociateModuleWithEARCommand();
- associateCommand.setProject(project_);
- associateCommand.setModule(module_);
- associateCommand.setEARProject(earProject_);
- associateCommand.setEar(ear_);
- associateCommand.setEnvironment( environment );
- status = associateCommand.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError(status);
- }
-
- }
- return status;
- }
-
- public void setProject( String project )
- {
- project_ = project;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setEarProject( String earProject )
- {
- earProject_ = earProject;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-
- public void setWebService( IWebService webService )
- {
- webService_ = webService;
- }
-
- public void setContext (IContext context) {
- context_ = context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDeployCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDeployCommand.java
deleted file mode 100644
index 4e557598c..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDeployCommand.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-
-public class PreServiceDeployCommand extends AbstractDataModelOperation
-{
- private IContext context_;
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- if (context_.getDeploy())
- {
- //If and when there are framework specific deploy things to be done,
- //do them here.
- }
-
- return Status.OK_STATUS;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDevelopCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDevelopCommand.java
deleted file mode 100644
index 856e99c30..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDevelopCommand.java
+++ /dev/null
@@ -1,268 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060516 126965 kathy@ca.ibm.com - Kathy Chan
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.extension;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
-import org.eclipse.wst.ws.internal.wsrt.SimpleContext;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceInfo;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceState;
-
-public class PreServiceDevelopCommand extends AbstractDataModelOperation
-{
- private TypeRuntimeServer typeRuntimeServer_;
- private String serviceRuntimeId_;
- private IContext context_;
- private ISelection selection_;
- private String project_;
- private String module_;
- private String moduleType_;
- private String earProject_;
- private String ear_;
-
- private IWebService webService_;
- private String j2eeLevel_;
- private ResourceContext resourceContext_;
-
- private boolean develop_;
- private boolean assemble_;
- private boolean deploy_;
- private boolean install_;
- private boolean run_;
- private boolean client_;
- private boolean test_;
- private boolean publish_;
-
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
- if (develop_) {
- IEnvironment environment = getEnvironment();
-
- // Split up the project and module
- int index = module_.indexOf("/");
- if (index!=-1){
- project_ = module_.substring(0,index);
- module_ = module_.substring(index+1);
- }
-
- if (ear_!=null && ear_.length()>0)
- {
- int earIndex = ear_.indexOf("/");
- if (earIndex!=-1) {
- earProject_ = ear_.substring(0,earIndex);
- ear_ = ear_.substring(earIndex+1);
- }
- }
-
-
- IWebServiceRuntime wsrt = WebServiceRuntimeExtensionUtils2.getServiceRuntime( serviceRuntimeId_ );
- WebServiceInfo wsInfo = new WebServiceInfo();
-
- wsInfo.setServerFactoryId( typeRuntimeServer_.getServerId() );
- wsInfo.setServerInstanceId( typeRuntimeServer_.getServerInstanceId());
- wsInfo.setState( WebServiceState.UNKNOWN_LITERAL );
- wsInfo.setWebServiceRuntimeId( typeRuntimeServer_.getRuntimeId() );
-
- webService_ = wsrt.getWebService( wsInfo );
-
- //Set up the IContext
- WebServiceScenario scenario = null;
- int scenarioInt = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(typeRuntimeServer_.getTypeId());
- if (scenarioInt == WebServiceScenario.BOTTOMUP)
- {
- scenario = WebServiceScenario.BOTTOMUP_LITERAL;
- String impl = (String)(selection_.getSelection())[0];
- wsInfo.setImplURL(impl);
- }
- else if (scenarioInt == WebServiceScenario.TOPDOWN)
- {
- scenario = WebServiceScenario.TOPDOWN_LITERAL;
- String wsdlURL = (String)(selection_.getSelection())[0];
- wsInfo.setWsdlURL(wsdlURL);
- }
-
- context_ = new SimpleContext(develop_, assemble_, deploy_, install_, run_, client_, test_, publish_,
- scenario,
- resourceContext_.isOverwriteFilesEnabled(),
- resourceContext_.isCreateFoldersEnabled(),
- resourceContext_.isCheckoutFilesEnabled());
-
- // Create the service module if needed.
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(project_);
- if (!project.exists())
- {
- boolean matches = WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportTemplate(serviceRuntimeId_, moduleType_);
- if (matches)
- {
- RequiredFacetVersion[] rfv = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceRuntimeId_).getRequiredFacetVersions();
- CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
- command.setProjectName(project_);
- command.setTemplateId(moduleType_);
- command.setRequiredFacetVersions(rfv);
- command.setServerFactoryId(typeRuntimeServer_.getServerId());
- command.setServerInstanceId(typeRuntimeServer_.getServerInstanceId());
- status = command.execute( monitor, adaptable );
- if (status.getSeverity() == Status.ERROR)
- {
- environment.getStatusHandler().reportError( status );
- return status;
- }
- }
- }
- }
- return status;
-
- }
-
- public void setServiceTypeRuntimeServer( TypeRuntimeServer typeRuntimeServer )
- {
- typeRuntimeServer_ = typeRuntimeServer;
- }
-
- public void setServiceRuntimeId(String id)
- {
- serviceRuntimeId_ = id;
- }
-
- public void setServiceJ2EEVersion( String j2eeLevel )
- {
- j2eeLevel_ = j2eeLevel;
- }
-
- public String getJ2eeLevel()
- {
- return j2eeLevel_;
- }
-
- public IWebService getWebService()
- {
- return webService_;
- }
-
- public IContext getContext()
- {
- return context_;
- }
-
- public void setResourceContext( ResourceContext resourceContext )
- {
- resourceContext_ = resourceContext;
- }
-
- public ISelection getSelection()
- {
- return selection_;
- }
-
- public void setSelection( ISelection selection )
- {
- selection_ = selection;
- }
-
- public String getProject()
- {
- return project_;
- }
-
- public String getModule()
- {
- return module_;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setModuleType(String type)
- {
- moduleType_ = type;
- }
-
- public String getEarProject()
- {
- return earProject_;
- }
-
- public String getEar()
- {
- return ear_;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-
- public void setInstallService(boolean installService)
- {
- install_ = installService;
- }
-
- public void setDevelopService(boolean developService) {
- develop_ = developService;
- }
-
- public void setAssembleService(boolean assembleService) {
- assemble_ = assembleService;
- }
-
- public void setDeployService(boolean deployService) {
- deploy_ = deployService;
- }
-
- public void setStartService(boolean startService)
- {
- run_ = startService;
- }
-
- public void setTestService(boolean testService)
- {
- test_ = testService;
- }
-
- public void setPublishService(boolean publishService)
- {
- publish_ = publishService;
- }
-
- public void setGenerateProxy(boolean genProxy)
- {
- client_ = genProxy;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceInstallCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceInstallCommand.java
deleted file mode 100644
index 7bea4682b..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceInstallCommand.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateServerCommand;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-
-public class PreServiceInstallCommand extends AbstractDataModelOperation
-{
- private IWebService webService_;
- private String project_;
- private String module_;
- private String earProject_;
- private String ear_;
- private IContext context_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- if (context_.getInstall())
- {
- IEnvironment environment = getEnvironment();
-
- if (webService_.getWebServiceInfo().getServerInstanceId()==null)
- {
- CreateServerCommand createServerCommand = new CreateServerCommand();
- createServerCommand.setServerFactoryid(webService_.getWebServiceInfo().getServerFactoryId());
- createServerCommand.setEnvironment( environment );
- IStatus createServerStatus = createServerCommand.execute( monitor, null);
- if (createServerStatus.getSeverity()==Status.OK)
- {
- webService_.getWebServiceInfo().setServerInstanceId(createServerCommand.getServerInstanceId());
- }
- else
- {
- if (createServerStatus.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError(createServerStatus);
- }
- return createServerStatus;
- }
- }
-
-
-
- AddModuleToServerCommand command = new AddModuleToServerCommand();
- command.setServerInstanceId(webService_.getWebServiceInfo().getServerInstanceId());
- if (earProject_ != null && earProject_.length()>0 && ear_!= null && ear_.length()>0)
- {
- command.setProject(earProject_);
- command.setModule(ear_);
- }
- else
- {
- command.setProject(project_);
- command.setModule(module_);
- }
-
- command.setEnvironment( environment );
- IStatus status = command.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError(status);
- }
- return status;
- }
- return Status.OK_STATUS;
- }
-
- public void setProject( String project )
- {
- project_ = project;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setEarProject( String earProject )
- {
- earProject_ = earProject;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-
- public void setWebService( IWebService webService )
- {
- webService_ = webService;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java
deleted file mode 100644
index b758bca54..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.extension;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-
-public class PreServiceRunCommand extends AbstractDataModelOperation
-{
- private IWebService webService_;
- private IContext context_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
- if (context_.getRun())
- {
- IEnvironment environment = getEnvironment();
-
- StartServerCommand command = new StartServerCommand();
- command.setServerInstanceId(webService_.getWebServiceInfo().getServerInstanceId());
- command.setEnvironment( environment );
- status = command.execute( monitor, null );
- if (status.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError(status);
- }
- }
-
- return status;
- }
-
- public void setWebService( IWebService webService )
- {
- webService_ = webService;
- }
-
- public void setContext (IContext context)
- {
- context_ = context;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/ServiceRootFragment.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/ServiceRootFragment.java
deleted file mode 100644
index 2ab439ac4..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/ServiceRootFragment.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060331 128827 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.extension;
-
-import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.DataObjectCommand;
-import org.eclipse.wst.ws.internal.extensions.AssembleServiceFragment;
-import org.eclipse.wst.ws.internal.extensions.DeployServiceFragment;
-import org.eclipse.wst.ws.internal.extensions.DevelopServiceFragment;
-import org.eclipse.wst.ws.internal.extensions.InstallServiceFragment;
-import org.eclipse.wst.ws.internal.extensions.RunServiceFragment;
-
-public class ServiceRootFragment extends SequenceFragment
-{
- public ServiceRootFragment()
- {
- add( new SimpleFragment( new PreServiceDevelopCommand(), "" ) );
- add( new DevelopServiceFragment() );
- add( new SimpleFragment( new PreServiceAssembleCommand(), "" ) );
- add( new AssembleServiceFragment() );
- add( new SimpleFragment( new PreServiceDeployCommand(), "" ) );
- add( new DeployServiceFragment() );
- add( new SimpleFragment( new PreServiceInstallCommand(), "" ) );
- add( new InstallServiceFragment() );
- add( new SimpleFragment( new PreServiceRunCommand(),
- "org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceRunCommand" ) );
- add( new RunServiceFragment() );
- }
-
- public void registerDataMappings(DataMappingRegistry registry)
- {
- //Mappings from framework to extension fragments
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", DevelopServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Environment", DevelopServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", DevelopServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Selection", DevelopServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Project", DevelopServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Module", DevelopServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "EarProject", DevelopServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Ear", DevelopServiceFragment.class );
-
- // Map the PreServiceDevelopCommand into the dataObject and the PreClientDevelopCommand.
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", DataObjectCommand.class, "DataObject", null );
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", PreClientDevelopCommand.class, "DataObject", null );
-
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", AssembleServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Environment", AssembleServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", AssembleServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Selection", AssembleServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Project", AssembleServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Module", AssembleServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "EarProject", AssembleServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Ear", AssembleServiceFragment.class );
-
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", DeployServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Environment", DeployServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", DeployServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Selection", DeployServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Project", DeployServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Module", DeployServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "EarProject", DeployServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Ear", DeployServiceFragment.class );
-
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", InstallServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Environment", InstallServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", InstallServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Selection", InstallServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Project", InstallServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Module", InstallServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "EarProject", InstallServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Ear", InstallServiceFragment.class );
-
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", RunServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Environment", RunServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", RunServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Selection", RunServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Project", RunServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Module", RunServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "EarProject", RunServiceFragment.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Ear", RunServiceFragment.class );
-
- //Mappings from framework to framework commands
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", PreServiceAssembleCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Project", PreServiceAssembleCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Module", PreServiceAssembleCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "EarProject", PreServiceAssembleCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Ear", PreServiceAssembleCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", PreServiceAssembleCommand.class );
-
- registry.addMapping( PreServiceDevelopCommand.class, "Context", PreServiceDeployCommand.class );
-
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", PreServiceInstallCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Project", PreServiceInstallCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Module", PreServiceInstallCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "EarProject", PreServiceInstallCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Ear", PreServiceInstallCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", PreServiceInstallCommand.class );
-
- registry.addMapping( PreServiceDevelopCommand.class, "WebService", PreServiceRunCommand.class );
- registry.addMapping( PreServiceDevelopCommand.class, "Context", PreServiceRunCommand.class );
-
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/plugin/WebServiceCreationUIPlugin.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/plugin/WebServiceCreationUIPlugin.java
deleted file mode 100644
index 47b8a0b83..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/plugin/WebServiceCreationUIPlugin.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 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
- * -------- -------- -----------------------------------------------------------
- * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060504 138118 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.plugin;
-
-import java.net.URL;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.jface.resource.ImageDescriptor;
-
-
-/**
-* This is the plugin class for the Web Services Creation UI plugin.
-* <p>
-* The Web Services Creation UI plugin's sole function is to add
-* user interface of the Web Services Creation Wizard, contained in
-* the org.eclipse.jst.ws.ui plugin.
-*/
-public class WebServiceCreationUIPlugin extends Plugin
-{
-
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.jst.ws.creation.ui";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WebServiceCreationUIPlugin instance_;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- * The "plugin" element in plugin.xml should include the attribute
- * class = "org.eclipse.jst.ws.internal.creation.ui.plugin.WebServiceCreationUIPlugin".
- * @param descriptor The descriptor of this plugin.
- */
- public WebServiceCreationUIPlugin ()
- {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WebServiceCreationUIPlugin)Platform.getPlugin("org.eclipse.jst.ws.creation.ui");
- * @return The WebServiceCreationUIPlugin singleton.
- */
- public static WebServiceCreationUIPlugin getInstance ()
- {
- return instance_;
- }
-
- /**
- * Returns an image descriptor for the named resource
- * as relative to the plugin install location.
- * @return An image descriptor, possibly null.
- */
- public static ImageDescriptor getImageDescriptor ( String name )
- {
- try
- {
- URL imageURL = FileLocator.find(instance_.getBundle(), new Path("$nl$/"+name), null);
- return ImageDescriptor.createFromURL(imageURL);
- }
- catch (Exception e)
- {
- return null;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/preferences/ScenarioDefaultsPreferencePage.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/preferences/ScenarioDefaultsPreferencePage.java
deleted file mode 100644
index 34e09f1ab..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/preferences/ScenarioDefaultsPreferencePage.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060417 136391 joan@ca.ibm.com - Joan Haggarty
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.preferences;
-
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidget;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-
-
-
-/**
- *
- */
-public class ScenarioDefaultsPreferencePage extends PreferencePage implements IWorkbenchPreferencePage
-{
- private ServerWizardWidget serverWidget_ = null;
-
- public void init(IWorkbench workbench) { }
- /* (non-Javadoc)
- * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
- */
-
- protected Control createContents(Composite parent)
- {
- UIUtils utils = new UIUtils(null);
-
- Composite page = utils.createComposite( parent, 1 );
-
- serverWidget_ = new ServerWizardWidget( false, true );
- serverWidget_.addControls( page, new Listener()
- {
- public void handleEvent( Event evt ){}
- } );
- initializeValues();
- serverWidget_.disableNonPreferenceWidgets();
- applyDialogFont(page);
- return page;
- }
-
- private void initializeValues()
- {
- ScenarioContext context = WebServicePlugin.getInstance().getScenarioContext();
-
- // Set values from context.
- TypeRuntimeServer serverIds = new TypeRuntimeServer();
- TypeRuntimeServer clientIds = new TypeRuntimeServer();
-
- serverIds.setTypeId( context.getWebServiceType() );
- clientIds.setTypeId( context.getClientWebServiceType() );
-
- serverWidget_.setServiceTypeRuntimeServer( serverIds );
- serverWidget_.setClientTypeRuntimeServer( clientIds );
- //jvh serverWidget_.setGenerateProxy( new Boolean(context.getGenerateProxy()) );
- serverWidget_.setPublishService( new Boolean(context.getLaunchWebServiceExplorer()) );
- serverWidget_.setInstallService( new Boolean(context.getInstallWebService()) );
- serverWidget_.setInstallClient( new Boolean(context.getInstallClient()) );
- serverWidget_.setStartService( new Boolean(context.getStartWebService()) );
- serverWidget_.setTestService( new Boolean(context.getTestWebService()) );
- serverWidget_.setTestClient( new Boolean(context.getTestWebService()) );
- serverWidget_.setMonitorService(new Boolean(context.getMonitorWebService()));
- serverWidget_.setServiceGeneration(context.getGenerateWebService()); //jvh
- serverWidget_.setClientGeneration(context.getGenerateClient()); //jvh
- serverWidget_.internalize();
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- setToDefaults();
- }
-
- private void setToDefaults()
- {
- ScenarioContext context = WebServicePlugin.getInstance().getScenarioContext();
-
- // Set values from context.
- TypeRuntimeServer serverIds = new TypeRuntimeServer();
- TypeRuntimeServer clientIds = new TypeRuntimeServer();
-
- serverIds.setTypeId( context.getWebServiceTypeDefault() );
- clientIds.setTypeId( context.getClientWebServiceTypeDefault() );
-
- serverWidget_.setServiceTypeRuntimeServer( serverIds );
- serverWidget_.setClientTypeRuntimeServer( clientIds );
- serverWidget_.setPublishService( new Boolean(context.getLaunchWebServiceExplorerDefault()) );
- serverWidget_.setInstallService( new Boolean(context.getInstallWebServiceDefault()) );
- serverWidget_.setInstallClient( new Boolean(context.getInstallClientDefault()) );
- serverWidget_.setStartService( new Boolean(context.getStartWebServiceDefault()) );
- serverWidget_.setTestService( new Boolean(context.getTestWebServiceDefault()) );
- serverWidget_.setTestClient( new Boolean(context.getTestWebServiceDefault()) );
- serverWidget_.setMonitorService(new Boolean(context.getMonitorWebServiceDefault()));
- serverWidget_.setServiceGeneration(context.getGenerateWebServiceDefault()); //jvh
- serverWidget_.setClientGeneration(context.getGenerateClientDefault()); //jvh
- serverWidget_.internalize();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- storeValues();
- return true;
- }
-
- private void storeValues()
- {
- ScenarioContext context = WebServicePlugin.getInstance().getScenarioContext();
-
- TypeRuntimeServer serverIds = serverWidget_.getServiceTypeRuntimeServer();
- TypeRuntimeServer clientIds = serverWidget_.getClientTypeRuntimeServer();
-
- context.setWebServiceType( serverIds.getTypeId() );
- context.setClientWebServiceType( clientIds.getTypeId() );
- context.setGenerateProxy( serverWidget_.getGenerateProxy().booleanValue() );
- context.setLaunchWebServiceExplorer( serverWidget_.getPublishService().booleanValue() );
- context.setInstallWebService( serverWidget_.getInstallService().booleanValue() );
- context.setInstallClient( serverWidget_.getInstallClient().booleanValue() );
- context.setStartWebService( serverWidget_.getStartService().booleanValue() );
- context.setTestWebService( serverWidget_.getTestService().booleanValue() );
- context.setMonitorWebService(serverWidget_.getMonitorService().booleanValue());
- context.setGenerateWebService(serverWidget_.getServiceGeneration());
- context.setGenerateClient(serverWidget_.getClientGeneration());
- }
-
- protected void performApply()
- {
- performOk();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetContributor.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetContributor.java
deleted file mode 100644
index fc96c1c97..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetContributor.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.server;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.server.StartServerWidget;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.server.core.IServer;
-
-public class StartServerWidgetContributor implements INamedWidgetContributor
-{
- private IServer server_;
-
- public StartServerWidgetContributor( IServer server )
- {
- server_ = server;
- }
-
- public String getDescription()
- {
- return ConsumptionUIMessages.PAGE_DESC_WS_START_SERVER;
- }
-
- public String getName()
- {
- return "";
- }
-
- public String getTitle()
- {
- return ConsumptionUIMessages.PAGE_TITLE_WS_START_SERVER;
- }
-
- public WidgetContributorFactory getWidgetContributorFactory()
- {
- return new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new StartServerWidget( server_ );
- }
- };
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetFactory.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetFactory.java
deleted file mode 100644
index fcf2f834a..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/server/StartServerWidgetFactory.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.creation.ui.server;
-
-import org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceDevelopCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributorFactory;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-
-public class StartServerWidgetFactory implements INamedWidgetContributorFactory
-{
- private IWebService webservice_;
- private IContext context_;
-
- public INamedWidgetContributor getFirstNamedWidget()
- {
- IServer server = null;
-
- if( webservice_ != null && context_.getRun())
- {
- server = ServerCore.findServer(webservice_.getWebServiceInfo().getServerInstanceId() );
- }
-
- if( server != null && server.getServerState() != IServer.STATE_STARTED )
- {
- return new StartServerWidgetContributor( server );
- }
-
- return null;
- }
-
- public INamedWidgetContributor getNextNamedWidget( INamedWidgetContributor widgetContributor)
- {
- return null;
- }
-
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataRegistry.addMapping( PreServiceDevelopCommand.class, "WebService", StartServerWidgetFactory.class );
- dataRegistry.addMapping( PreServiceDevelopCommand.class, "Context", StartServerWidgetFactory.class );
- }
-
- public void setWebService( IWebService webservice )
- {
- webservice_ = webservice;
- }
- public void setContext ( IContext context )
- {
- context_ = context;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidget.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidget.java
deleted file mode 100644
index f0df6624b..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidget.java
+++ /dev/null
@@ -1,1663 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060407 135415 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060407 135443 joan@ca.ibm.com - Joan Haggarty
- * 20060410 135442 kathy@ca.ibm.com - Kathy Chan
- * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
- * 20060410 135562 joan@ca.ibm.com - Joan Haggarty
- * 20060411 136167 kathy@ca.ibm.com - Kathy Chan
- * 20060417 136390/136391/136159 joan@ca.ibm.com - Joan Haggarty
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 136705 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 136182 kathy@ca.ibm.com - Kathy Chan
- * 20060420 137820 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
- * 20060421 136761 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060424 138052 kathy@ca.ibm.com - Kathy Chan
- * 20060425 137831 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060426 138519 joan@ca.ibm.com - Joan Haggarty
- * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
- * 20060504 138035 joan@ca.ibm.com - Joan Haggarty
- * 20060524 142276 joan@ca.ibm.com - Joan Haggarty
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060605 145081 joan@ca.ibm.com - Joan Haggarty
- * 20060607 144826 joan@ca.ibm.com - Joan Haggarty
- * 20060607 144049 joan@ca.ibm.com - Joan Haggarty
- * 20060614 146270 joan@ca.ibm.com - Joan Haggarty
- * 20060616 147317 joan@ca.ibm.com - Joan Haggarty
- * 20060717 150577 makandre@ca.ibm.com - Andrew Mak
- * 20060726 150865 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060803 152486 makandre@ca.ibm.com - Andrew Mak, Typing WSDL in Service definition field is very slow
- * 20060817 140017 makandre@ca.ibm.com - Andrew Mak, longer project or server/runtime strings do not resize wizard
- * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
- * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
- * 20060830 155114 pmoogk@ca.ibm.com - Peter Moogk, Updated patch for this defect.
- * 20060831 155441 makandre@ca.ibm.com - Andrew Mak, Small tweak for this bug
- * 20061003 159142 kathy@ca.ibm.com - Kathy Chan
- * 20061212 164177 makandre@ca.ibm.com - Andrew Mak, Incorrect validation error complaining about runtime not supporting a project type
- * 20061212 159911 makandre@ca.ibm.com - Andrew Mak, changing service definition resets some configuration fields
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets;
-
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.window.Window;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.IObjectSelectionLaunchable;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.IPackable;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ProjectSelectionDialog;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.WebServiceClientTypeWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.IObjectSelectionWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionRegistry;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.Timer;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ProjectSelectionWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.wizard.RuntimeServerSelectionDialog;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.creation.ui.plugin.WebServiceCreationUIPlugin;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.data.LabelsAndIds;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.accessibility.Accessible;
-import org.eclipse.swt.accessibility.AccessibleAdapter;
-import org.eclipse.swt.accessibility.AccessibleControlAdapter;
-import org.eclipse.swt.accessibility.AccessibleControlEvent;
-import org.eclipse.swt.accessibility.AccessibleEvent;
-import org.eclipse.swt.events.ControlEvent;
-import org.eclipse.swt.events.ControlListener;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Rectangle;
-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.Display;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Scale;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.forms.HyperlinkGroup;
-import org.eclipse.ui.forms.HyperlinkSettings;
-import org.eclipse.ui.forms.events.HyperlinkEvent;
-import org.eclipse.ui.forms.events.IHyperlinkListener;
-import org.eclipse.ui.forms.widgets.Hyperlink;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-public class ServerWizardWidget extends SimpleWidgetDataContributor implements Runnable, IPackable {
-
- //INFOPOPS
- /* CONTEXT_ID WSWSCEN0001 for the Scenario Page */
- private String INFOPOP_WSWSCEN_PAGE = "WSWSCEN0001";
- /* CONTEXT_ID WSWSCEN0010 for the Web Service Type combo box of the Scenario Page */
- private String INFOPOP_WSWSCEN_COMBO_SERVICETYPE = "WSWSCEN0010";
- /* CONTEXT_ID WSWSCEN0014 for the monitor service checkbox of the Scenario page */
- private String INFOPOP_WSWSCEN_CHECKBOX_MONITOR_SERVICE = "WSWSCEN0014";
- /* CONTEXT_ID WSWSCEN0012 for the Launch UDDI check box of the Scenario Page */
- private String INFOPOP_WSWSCEN_CHECKBOX_LAUNCH_WS = "WSWSCEN0012";
- /* CONTEXT_ID WSWSCEN0020 for the Service Implemenation text field of the Scenario Page */
- private String INFOPOP_WSWSCEN_TEXT_SERVICE_IMPL = "WSWSCEN0020";
- /* CONTEXT_ID WSWSCEN0021 for theService Slider of the Scenario Page */
- private String INFOPOP_WSWSCEN_SCALE_SERVICE = "WSWSCEN0021";
- /* CONTEXT_ID WSWSCEN0022 for the Server hyperlink of the Scenario Page */
- private String INFOPOP_WSWSCEN_HYPERLINK_SERVER = "WSWSCEN0022";
- /* CONTEXT_ID WSWSCEN0023 for the Runtime hyperlink of the Scenario Page */
- private String INFOPOP_WSWSCEN_HYPERLINK_RUNTIME = "WSWSCEN0023";
- /* CONTEXT_ID WSWSCEN0024 for theProjects hyperlink of the Scenario Page */
- private String INFOPOP_WSWSCEN_HYPERLINK_PROJECTS = "WSWSCEN0024";
- /* CONTEXT_ID WSWSCEN0030 for the Overwrite Files checkbox of the Scenario Page */
- private String INFOPOP_WSWSCEN_CHECKBOX_OVERWRITE = "WSWSCEN0030";
-
- private ScaleSelectionListener scaleSelectionListener = new ScaleSelectionListener();
- private Listener statusListener_;
- private ModifyListener objectModifyListener_ ;
- private int validationState_;
- boolean validObjectSelection_ = true;
-
- private ImageRegistry imageReg_;
-
- private TypeRuntimeServer ids_;
- private LabelsAndIds labelIds_;
- private String serviceProjectName_;
- private String serviceEarProjectName_;
- private String serviceComponentType_;
- private WebServicesParser parser_;
- private boolean needEar_;
-
- private boolean developService_;
- private boolean assembleService_;
- private boolean deployService_;
-
- private IStructuredSelection objectSelection_;
- private Boolean testService_;
- private Boolean startService_;
- private Boolean installService_;
-
- private boolean displayPreferences_;
- private boolean preferencesPage_;
-
- private Composite groupComposite_;
- private Composite hCompService_;
- private WebServiceClientTypeWidget clientWidget_;
- private Label serviceLabel_;
- private Combo webserviceType_;
- private Text serviceImpl_;
- private Scale serviceScale_;
- private Label topologySpot_;
- private Button browseButton_;
- private Button publishButton_;
- private Button monitorButton_;
- private Button overwriteButton_;
- private ServiceImplSelectionDialog browseDialog_;
- private ProjectSelectionDialog projectDialog_;
- private Hyperlink hLinkServiceRuntime_;
- private Hyperlink hLinkServiceServer_;
- private Hyperlink hLinkServiceProject_;
- private Hyperlink hLinkServiceEAR_;
-
- private Object objectSelectionWidget_; //may be IObjectSelectionLaunchable or IObjectSelectionWidget
-
- private ResourceContext resourceContext_;
-
- private Timer timer_ = null;
-
- private UIUtils utils_ = new UIUtils("org.eclipse.jst.ws.creation.ui");
-
- private boolean forceRefreshRuntime = false;
-
- private String GRAPHIC_SERVICE_0="icons/service_test.jpg"; //$NON-NLS-N$
- private String GRAPHIC_SERVICE_1="icons/service_run.jpg"; //$NON-NLS-N$
- private String GRAPHIC_SERVICE_2="icons/service_install.jpg"; //$NON-NLS-N$
- private String GRAPHIC_SERVICE_3="icons/service_deploy.jpg"; //$NON-NLS-N$
- private String GRAPHIC_SERVICE_4="icons/service_assemble.jpg"; //$NON-NLS-N$
- private String GRAPHIC_SERVICE_5="icons/service_develop.jpg"; //$NON-NLS-N$
-
- private String ICON_SCALE_BG_0="icons/scale0_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_1="icons/scale1_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_2="icons/scale2_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_3="icons/scale3_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_4="icons/scale4_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_5="icons/scale5_bground.jpg"; //$NON-NLS-N$
- private String ICON_SCALE_BG_6="icons/scale6_bground.jpg"; //$NON-NLS-N$
-
- private String SERVICE_RUNTIME_PREFIX = ConsumptionUIMessages.LABEL_RUNTIMES_LIST ;
- private String SERVICE_SERVER_PREFIX = ConsumptionUIMessages.LABEL_SERVERS_LIST;
- private String SERVICE_PROJECT_PREFIX = ConsumptionUIMessages.LABEL_SERVICE_PROJECT;
- private String SERVICE_EAR_PREFIX = ConsumptionUIMessages.LABEL_SERVICE_EAR_PROJECT;
-
- /**
- * @param displayPreferences Set to true if preferences such as overwrite should be displayed on the wizard page
- * @param prefPage Set to true if the widget is being used on the preferences page. Alters widget layout.
- */
- public ServerWizardWidget(boolean displayPreferences, boolean prefPage) {
- displayPreferences_ = displayPreferences;
- preferencesPage_ = prefPage;
- initImageRegistry();
- validationState_ = ValidationUtils.VALIDATE_ALL;
- }
-
- private Composite serviceComposite_;
-
- /**
- * Run this ServerWizardWidget, which validates the entry field values.
- */
- public void run() {
-
- // do minimal check here, this call will determine if we at least
- // have a "validObjectSelection_"
- checkServiceImplTextStatus();
-
- if (validObjectSelection_)
- {
- boolean refreshRuntime = (getWebServiceScenario() != WebServiceScenario.TOPDOWN);
-
- if (objectSelectionWidget_ instanceof IObjectSelectionLaunchable)
- {
- IObjectSelectionLaunchable launchable = (IObjectSelectionLaunchable)objectSelectionWidget_;
- callObjectTransformation(launchable.getObjectSelection(), launchable.getProject(), launchable.getComponentName(), refreshRuntime);
- }
- else
- {
- IObjectSelectionWidget widget = (IObjectSelectionWidget)objectSelectionWidget_;
- callObjectTransformation(widget.getObjectSelection(), widget.getProject(), widget.getComponentName(), refreshRuntime);
- }
- }
- else
- setObjectSelection(null);
-
- // do full validation after all transformations and calculations have occurred
- validationState_ = ValidationUtils.VALIDATE_ALL;
- statusListener_.handleEvent(null);
- }
-
- /**
- * Pack this widget and the client-side widget as well.
- */
- private void packSelf() {
- // don't need to call packIt(), since clientWidget_ has a callback to packIt() already.
- clientWidget_.packIt();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.consumption.ui.widgets.IPackable#packIt()
- */
- public void packIt() {
- groupComposite_.pack(true);
- utils_.horizontalResize(groupComposite_.getShell(), groupComposite_, UIUtils.DEFAULT_PADDING);
- }
-
- public WidgetDataEvents addControls(Composite parent,
- Listener statusListener) {
-
- statusListener_ = statusListener;
- utils_.createInfoPop(parent, INFOPOP_WSWSCEN_PAGE);
-
- Composite typeComposite = utils_.createComposite(parent, 3);
-
- webserviceType_ = utils_.createCombo(typeComposite,
- ConsumptionUIMessages.LABEL_WEBSERVICETYPE,
- ConsumptionUIMessages.TOOLTIP_PWPR_COMBO_TYPE,
- INFOPOP_WSWSCEN_COMBO_SERVICETYPE, SWT.SINGLE | SWT.BORDER
- | SWT.READ_ONLY);
- GridData gdata1 = (GridData) webserviceType_.getLayoutData();
- gdata1.horizontalSpan = 2;
- webserviceType_.setLayoutData(gdata1);
-
- webserviceType_.addSelectionListener(new SelectionListener(){
- public void widgetDefaultSelected(SelectionEvent e) {}
-
- public void widgetSelected(SelectionEvent e) {
- String oldTypeId = ids_.getTypeId();
- int currentSelectionIdx = webserviceType_.getSelectionIndex();
- String currentTypeId = labelIds_.getIds_()[currentSelectionIdx];
- int oldScenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(oldTypeId);
- int currentScenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(currentTypeId);
- if (!oldTypeId.equals(currentTypeId)) {
- ids_.setTypeId(currentTypeId);
-
- objectSelectionWidget_ = getSelectionWidget();
- // change the label for the service
- // implementation/definition based on the web service type
- handleTypeChange();
-
- // After bug 159911, we will not refresh the runtime in TOPDOWN scenario unless we absolutely
- // have to. Therefore, if we are switching from another scenario type, we should check if the
- // current selections are valid for this TOPDOWN scenario, if not, try to pick a more suitable
- // runtime.
- if (currentScenario == WebServiceScenario.TOPDOWN) {
- validationState_ = ValidationUtils.VALIDATE_SERVER_RUNTIME_CHANGES;
-
- // this will force a refresh the next time the wsdl is changed
- forceRefreshRuntime = !checkErrorStatus().isOK();
- }
-
- //if the web service type change is from one top-down type to another
- //top-down type leave the object selection field in tact and refresh
- //the server/runtime project defaulting.
- //Otherwise clear the object selection field since it's value is not valid anymore
- if (oldScenario==WebServiceScenario.TOPDOWN && currentScenario==WebServiceScenario.TOPDOWN)
- {
- // if switching from one TOPDOWN scenario to another TOPDOWN scenario and
- // we've determined that the current runtime selection is not suitable, we
- // can refresh the runtime now (don't need to wait for the next time the
- // wsdl is changed).
- if (forceRefreshRuntime) {
- refreshServerRuntimeSelection();
- forceRefreshRuntime = false;
- }
- }
- else
- {
- //clear the object selection field
- // serviceImpl may be null if on the preferences page
- if (serviceImpl_ != null)
- {
- serviceImpl_.removeModifyListener(objectModifyListener_);
- serviceImpl_.setText("");
- setObjectSelection(null);
- serviceImpl_.addModifyListener(objectModifyListener_);
- }
- }
- validationState_ = ValidationUtils.VALIDATE_ALL;
- statusListener_.handleEvent(null);
-
- }
- }
-
- });
-
- // Create text field and browse for object selection if not on preferences page
- if (!preferencesPage_)
- {
- //text of this label is based on the web service type selected in webserviceType_ combo
- serviceLabel_ = new Label( typeComposite, SWT.WRAP);
- serviceLabel_.setText(ConsumptionUIMessages.LABEL_WEBSERVICEIMPL);
- serviceLabel_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_TEXT_IMPL);
-
- serviceImpl_ = new Text(typeComposite, SWT.LEFT | SWT.BORDER );
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- serviceImpl_.setLayoutData( griddata );
- serviceImpl_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_TEXT_IMPL);
- utils_.createInfoPop(serviceImpl_, INFOPOP_WSWSCEN_TEXT_SERVICE_IMPL);
-
- objectModifyListener_ = new ModifyListener(){
- public void modifyText(ModifyEvent e) {
- if (serviceImpl_.getText().indexOf(':') > 0) {
- timer_ = Timer.newInstance(timer_, Display.getCurrent(), ServerWizardWidget.this);
- timer_.startTimer();
- }
- else
- run();
- }
- };
-
- serviceImpl_.addModifyListener(objectModifyListener_);
-
- browseButton_ = utils_.createPushButton(typeComposite,
- ConsumptionUIMessages.BUTTON_BROWSE, ConsumptionUIMessages.TOOLTIP_WSWSCEN_BUTTON_BROWSE_IMPL, null);
-
- IWorkbench workbench = PlatformUI.getWorkbench();
- browseDialog_ = new ServiceImplSelectionDialog(workbench.getActiveWorkbenchWindow().getShell(),
- new PageInfo(ConsumptionUIMessages.DIALOG_TITILE_SERVICE_IMPL_SELECTION, "",
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ObjectSelectionWidget();
- }
- }));
- browseButton_.addSelectionListener(new ServiceImplBrowseListener());
- }
- // Service Lifecycle section - scales for service & client, graphic
-
- groupComposite_ = new Composite(parent, SWT.NONE);
- GridLayout gclayout = new GridLayout();
- gclayout.numColumns = 2;
- gclayout.horizontalSpacing=0;
- gclayout.marginHeight=0;
- gclayout.marginBottom=5;
- groupComposite_.setLayout( gclayout );
- GridData gcGridData = new GridData(SWT.BEGINNING, SWT.BEGINNING, true, true);
- groupComposite_.setLayoutData(gcGridData);
-
- groupComposite_.addControlListener(new ControlListener()
- {
- public void controlMoved(ControlEvent e) {
- // TODO Auto-generated method stub
-
- }
- public void controlResized(ControlEvent e) {
- groupComposite_.pack(true);
- }
- });
-
- serviceComposite_ = new Composite(groupComposite_, SWT.NONE);
- GridLayout gridlayout = new GridLayout();
- gridlayout.numColumns = 2;
- gridlayout.horizontalSpacing=0;
- gridlayout.marginHeight=0;
- serviceComposite_.setLayout( gridlayout );
- GridData scGridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- serviceComposite_.setLayoutData(scGridData);
-
- serviceComposite_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_SERVICE);
-
-
- serviceScale_ = new Scale(serviceComposite_, SWT.VERTICAL | SWT.BORDER);
- utils_.createInfoPop(serviceScale_, INFOPOP_WSWSCEN_SCALE_SERVICE);
- serviceScale_.setMinimum(0);
- serviceScale_.setMaximum(6);
- serviceScale_.setIncrement(1);
- serviceScale_.addSelectionListener(scaleSelectionListener);
- serviceScale_.setSelection(getServiceGeneration());
- serviceScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_SERVICE);
-
- Accessible accessibleScale = serviceScale_.getAccessible();
- accessibleScale.addAccessibleListener(new AccessibleAdapter(){
- // return a string that describes what to do with the slider
- // this is read by the screen reader when the slider first gets focus
- public void getName(AccessibleEvent e) {
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_SERVICE;
- }
- });
- accessibleScale.addAccessibleControlListener(new AccessibleControlAdapter(){
- // return a meaningful string when the screen reader
- // attempts to get the value from the service scale
- public void getValue(AccessibleControlEvent e) {
- int selection = serviceScale_.getSelection();
- switch (selection) {
- case 0:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_TEST;
- break;
- case 1:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_RUN;
- break;
- case 2:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_INSTALL;
- break;
- case 3:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEPLOY;
- break;
- case 4:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_ASSEMBLE;
- break;
- case 5:
- case 6:
- e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP;
- break;
- default:
- break;
- }
- }
- });
-
- GridData layoutData1 = new GridData();
- layoutData1.horizontalAlignment=SWT.CENTER;
- layoutData1.verticalAlignment = SWT.BEGINNING;
- Rectangle scaleR = (imageReg_.get(ICON_SCALE_BG_0)).getBounds();
- layoutData1.heightHint=scaleR.height;
- layoutData1.widthHint=scaleR.width+1;
- serviceScale_.setLayoutData(layoutData1);
-
- topologySpot_ = new Label(serviceComposite_, SWT.BORDER | SWT.TOP );
- topologySpot_.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));
- topologySpot_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_SERVICE);
-
- GridData layoutData2 = new GridData();
- layoutData2.horizontalAlignment=SWT.BEGINNING;
- layoutData2.verticalAlignment = SWT.BEGINNING;
- Rectangle topR = (imageReg_.get(GRAPHIC_SERVICE_0)).getBounds();
- layoutData2.heightHint=topR.height;
- layoutData2.widthHint=topR.width;
- topologySpot_.setLayoutData(layoutData2);
-
- setGraphics(getServiceGeneration());
-
- hCompService_ = utils_.createComposite(groupComposite_, 1);
-
- Label serviceDetailsLabel = new Label(hCompService_, SWT.NONE);
- serviceDetailsLabel.setText(ConsumptionUIMessages.LABEL_SUMMARY);
-
- hLinkServiceServer_= new Hyperlink(hCompService_, SWT.NULL);
- utils_.createInfoPop(hLinkServiceServer_, INFOPOP_WSWSCEN_HYPERLINK_SERVER);
- hLinkServiceServer_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_TEXT_SERVER);
- hLinkServiceServer_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchRuntimeSelectionDialog(false, true);
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- hLinkServiceRuntime_ = new Hyperlink(hCompService_, SWT.NULL);
- utils_.createInfoPop(hLinkServiceRuntime_, INFOPOP_WSWSCEN_HYPERLINK_RUNTIME);
- hLinkServiceRuntime_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_TEXT_RUNTIME);
- hLinkServiceRuntime_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchRuntimeSelectionDialog(false);
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- IWorkbench workbench = PlatformUI.getWorkbench();
- projectDialog_ = new ProjectSelectionDialog(workbench.getActiveWorkbenchWindow().getShell(),
- new PageInfo(ConsumptionUIMessages.DIALOG_TITILE_SERVICE_PROJECT_SETTINGS, "",
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ProjectSelectionWidget();
- }
- }));
-
- hLinkServiceProject_= new Hyperlink(hCompService_, SWT.NULL);
- utils_.createInfoPop(hLinkServiceRuntime_, INFOPOP_WSWSCEN_HYPERLINK_PROJECTS);
- hLinkServiceProject_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SERVICEPROJECT_LINK);
- hLinkServiceProject_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchProjectDialog();
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- hLinkServiceEAR_= new Hyperlink(hCompService_, SWT.NULL);
- utils_.createInfoPop(hLinkServiceRuntime_, INFOPOP_WSWSCEN_HYPERLINK_PROJECTS);
- hLinkServiceEAR_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SERVICEPROJECT_LINK);
- hLinkServiceEAR_.addHyperlinkListener(new IHyperlinkListener(){
- public void linkActivated(HyperlinkEvent e){
- launchProjectDialog();
- }
- public void linkEntered(HyperlinkEvent e){}
- public void linkExited(HyperlinkEvent e){}
- });
-
- hLinkServiceServer_.setText(SERVICE_SERVER_PREFIX);
- hLinkServiceRuntime_.setText(SERVICE_RUNTIME_PREFIX);
- hLinkServiceProject_.setText(SERVICE_PROJECT_PREFIX);
- hLinkServiceEAR_.setText(SERVICE_EAR_PREFIX);
-
- HyperlinkGroup serverRuntimeGroup = new HyperlinkGroup(Display.getCurrent());
-
- serverRuntimeGroup.add(hLinkServiceServer_);
- serverRuntimeGroup.add(hLinkServiceRuntime_);
- serverRuntimeGroup.add(hLinkServiceProject_);
- serverRuntimeGroup.add(hLinkServiceEAR_);
- serverRuntimeGroup.setHyperlinkUnderlineMode(HyperlinkSettings.UNDERLINE_ALWAYS);
-
- utils_.createHorizontalSeparator(parent, 1);
-
- // Add client widgets...
- clientWidget_ = new WebServiceClientTypeWidget(false);
- clientWidget_.addControls(parent, statusListener );
- clientWidget_.setPackable(this);
- clientWidget_.enableClientSlider(serviceScale_.getSelection()<=ScenarioContext.WS_START);
-
- // Advanced buttons section
- utils_.createHorizontalSeparator(parent, 3);
-
- Composite advancedButtonPanel = utils_.createComposite(parent, 1);
-
- publishButton_ = utils_.createCheckbox(advancedButtonPanel,
- ConsumptionUIMessages.BUTTON_WSWSCEN_PUBLISH, ConsumptionUIMessages.TOOLTIP_PWPR_CHECKBOX_LAUNCH_WS, INFOPOP_WSWSCEN_CHECKBOX_LAUNCH_WS);
- monitorButton_ = utils_.createCheckbox(advancedButtonPanel,
- ConsumptionUIMessages.CHECKBOX_MONITOR_WEBSERVICE, ConsumptionUIMessages.TOOLTIP_PWPR_CHECKBOX_MONITOR_SERVICE, INFOPOP_WSWSCEN_CHECKBOX_MONITOR_SERVICE);
-
- if (displayPreferences_ && getResourceContext().isOverwriteFilesEnabled()) {
- utils_.createHorizontalSeparator(parent, 1);
- Composite prefButtonPanel = utils_.createComposite(parent, 1);
- overwriteButton_ = utils_.createCheckbox(prefButtonPanel,
- ConsumptionUIMessages.CHECKBOX_OVERWRITE_FILES, ConsumptionUIMessages.TOOLTIP_WSWSCEN_BUTTON_OVERWRITE_FILES, INFOPOP_WSWSCEN_CHECKBOX_OVERWRITE);
- overwriteButton_.setSelection(getResourceContext()
- .isOverwriteFilesEnabled());
- }
-
- return this;
- }
-
- private void launchProjectDialog()
- {
- String currentProjectName = getServiceProjectName();
- String currentEarProjectName = getServiceEarProjectName();
- String currentProjectType = getServiceComponentType();
- boolean currentNeedEar = getServiceNeedEAR();
-
- projectDialog_.setProjectName(currentProjectName);
- projectDialog_.setEarProjectName(currentEarProjectName);
- projectDialog_.setProjectComponentType(currentProjectType);
- projectDialog_.setNeedEAR(currentNeedEar);
-
- int status = projectDialog_.open();
- if (status == Window.OK)
- {
- String newProjectName = projectDialog_.getProjectName();
- String newEarProjectName = projectDialog_.getEarProjectName();
- String newProjectType = projectDialog_.getProjectComponentType();
- boolean newNeedEar = projectDialog_.getNeedEAR();
-
- //Update project settings and validate page if selections changed.
- if (!newProjectName.equals(currentProjectName)
- || !newEarProjectName.equals(currentEarProjectName)
- || !newProjectType.equals(currentProjectType)
- || newNeedEar != currentNeedEar) {
- setServiceProjectName(newProjectName);
- setServiceEarProjectName(newEarProjectName);
- setServiceComponentType(newProjectType);
- setServiceNeedEAR(newNeedEar);
- validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_PROJECT_CHANGES);
- statusListener_.handleEvent(null);
- }
-
- /*check to see if text has changed for project and EAR
- if so, repaint links */
- if (!newProjectName.equals(currentProjectName))
- {
- hLinkServiceProject_.pack(true);
- packSelf();
- }
- if (!newEarProjectName.equals(currentEarProjectName))
- {
- hLinkServiceEAR_.pack(true);
- packSelf();
- }
- }
- }
-
- private void launchRuntimeSelectionDialog(boolean clientContext)
- {
- launchRuntimeSelectionDialog(clientContext, false);
- }
-
- private void launchRuntimeSelectionDialog(boolean clientContext, boolean selectServerFirst)
- {
- byte mode = clientContext ? (byte)1 : (byte)0;
-
- //TODO: jvh - investigate - don't think j2ee version shouldn't be hard coded (last parm)
- // question - where to pick it up from?
- //Remember the current values
- TypeRuntimeServer currentServiceTRS = getServiceTypeRuntimeServer();
- IWorkbench workbench = PlatformUI.getWorkbench();
- RuntimeServerSelectionDialog rssd = new RuntimeServerSelectionDialog(
- workbench.getActiveWorkbenchWindow().getShell(), mode, currentServiceTRS, "14");
- rssd.setSelectServerFirst(selectServerFirst);
- int result = rssd.open();
- if (result == Window.OK)
- {
- TypeRuntimeServer newServiceTRS = rssd.getTypeRuntimeServer();
- if (!currentServiceTRS.equals(newServiceTRS))
- {
- setServiceTypeRuntimeServer(newServiceTRS);
- refreshClientServerRuntimeSelection();
- validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_SERVER_RUNTIME_CHANGES);
- clientWidget_.setValidationState(ValidationUtils.VALIDATE_SERVER_RUNTIME_CHANGES);
- statusListener_.handleEvent(null); //Revalidate the page since server/runtime selections changed.
- }
-
- }
- }
-
- public void setClientTypeRuntimeServer(TypeRuntimeServer ids) {
- clientWidget_.setTypeRuntimeServer( ids );
- }
-
- public TypeRuntimeServer getClientTypeRuntimeServer() {
- return clientWidget_.getTypeRuntimeServer();
- }
-
- public void setInstallClient(Boolean install) {
- clientWidget_.setInstallClient( install );
- }
-
- public Boolean getInstallClient() {
- return clientWidget_.getInstallClient();
- }
-
- public void setStartClient(Boolean startClient) {
- clientWidget_.setStartClient( startClient );
- }
-
- public Boolean getStartClient() {
- return clientWidget_.getStartClient();
- }
-
- public void setTestClient(Boolean testClient) {
- clientWidget_.setTestClient( testClient );
- }
-
- public Boolean getTestClient() {
- return clientWidget_.getTestClient();
- }
-
- public void setDevelopClient(boolean develop) {
- clientWidget_.setDevelopClient( develop );
- }
-
- public boolean getDevelopClient() {
- return clientWidget_.getDevelopClient();
- }
-
- public void setAssembleClient(boolean assemble) {
- clientWidget_.setAssembleClient( assemble );
- }
-
- public boolean getAssembleClient() {
- return clientWidget_.getAssembleClient();
- }
-
- public void setDeployClient(boolean deploy) {
- clientWidget_.setDeployClient( deploy );
- }
-
- public boolean getDeployClient() {
- return clientWidget_.getDeployClient();
- }
-
-private void handleTypeChange()
- {
- if (!preferencesPage_) {
- int scenario = getWebServiceScenario();
-
- if (scenario == WebServiceScenario.BOTTOMUP)
- {
- serviceLabel_.setText(ConsumptionUIMessages.LABEL_WEBSERVICEIMPL);
- }
- else if (scenario == WebServiceScenario.TOPDOWN)
- {
- serviceLabel_.setText(ConsumptionUIMessages.LABEL_WEBSERVICEDEF);
- }
- }
- }
-
- public void setServiceTypeRuntimeServer(TypeRuntimeServer ids) {
- LabelsAndIds labelIds = WebServiceRuntimeExtensionUtils2
- .getServiceTypeLabels();
- // rskreg
- int selection = 0;
- String[] serviceIds = labelIds.getIds_();
- String selectedId = ids.getTypeId();
-
- webserviceType_.setItems(labelIds.getLabels_());
-
- // Now find the selected one.
- for (int index = 0; index < serviceIds.length; index++) {
- if (selectedId.equals(serviceIds[index])) {
- selection = index;
- break;
- }
- }
- webserviceType_.select(selection);
-
- ids_ = ids;
-
- if (ids_ != null)
- {
- String serviceServerText = "";
- String serverId = ids_.getServerId();
- if (serverId != null && serverId.length()>0)
- {
- serviceServerText = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
- }
- String serviceRuntimeText = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(ids_.getRuntimeId());
-
- String currentServerText = hLinkServiceServer_.getText();
- String currentRuntimeText = hLinkServiceRuntime_.getText();
- String newServerText = SERVICE_SERVER_PREFIX + " " + serviceServerText;
- String newRuntimeText = SERVICE_RUNTIME_PREFIX + " " + serviceRuntimeText;
- hLinkServiceServer_.setText(newServerText);
- hLinkServiceRuntime_.setText(newRuntimeText);
-
- /*check to see if text has changed for server or runtime
- if so, repaint links */
- if (!newServerText.equals(currentServerText))
- {
- hLinkServiceServer_.pack(true);
- packSelf();
- }
-
- if (!newRuntimeText.equals(currentRuntimeText))
- {
- hLinkServiceRuntime_.pack(true);
- packSelf();
- }
- }
- labelIds_ = labelIds;
- handleTypeChange();
-
- if (projectDialog_ != null)
- projectDialog_.setTypeRuntimeServer(ids_);
-
-
- //When the server changes, the state of needEar could change.
- //If the the server change results in a change in the state of needEar,
- //update needEar and serviceEarProjectName.
- ValidationUtils vu = new ValidationUtils();
- boolean oldNeedEar = getServiceNeedEAR();
- boolean serviceProjectOrProjectTypeNeedsEar;
-
- if (!oldNeedEar)
- {
- //If an EAR was not needed previously it could have been because of the project/project type or the server.
- //If it was because of the project/project type, changing the server should have no impact
- //on the state of needEar.
- serviceProjectOrProjectTypeNeedsEar = vu.projectOrProjectTypeNeedsEar(getServiceProjectName(), getServiceComponentType());
- }
- else
- {
- serviceProjectOrProjectTypeNeedsEar = true;
- }
-
- //boolean serviceProjectOrProjectTypeNeedsEar = vu.projectOrProjectTypeNeedsEar(getServiceProjectName(), getServiceComponentType());
- if (serviceProjectOrProjectTypeNeedsEar)
- {
- //Could not rule out need for an Ear from the project/project type so changing the server
- //may impact the need for an Ear.
-
- boolean currentServiceServerNeedsEar = vu.serverNeedsEAR(getServiceTypeRuntimeServer().getServerId());
- if (oldNeedEar != currentServiceServerNeedsEar)
- {
- //Update needEar and serviceEarProjectName.
- if (currentServiceServerNeedsEar)
- {
- //Calculate a reasonable default for the Ear project name
- String earProjectName = DefaultingUtils.getDefaultEARProjectName(getServiceProjectName());
- setServiceNeedEAR(currentServiceServerNeedsEar);
- setServiceEarProjectName(earProjectName);
- }
- else
- {
- setServiceNeedEAR(currentServiceServerNeedsEar);
- setServiceEarProjectName("");
- }
-
- }
- }
- }
-
- public TypeRuntimeServer getServiceTypeRuntimeServer() {
- return ids_;
- }
-
- public void setServiceGeneration(int value)
- {
- serviceScale_.setSelection(value);
- setGraphics(value);
-
- //enable client widget based on service scale setting
- clientWidget_.enableClientSlider(value<=ScenarioContext.WS_START);
-
- /*for popup case need to make sure that the UI is refreshed based on
- changes to data*/
- packSelf();
- }
-
- public int getServiceGeneration()
- {
- return serviceScale_.getSelection();
- }
-
- public boolean getDevelopService() {
- return developService_;
- }
-
- public void setDevelopService(boolean developService) {
- this.developService_ = developService;
- }
-
- public boolean getAssembleService() {
- return assembleService_;
- }
-
- public void setAssembleService(boolean assembleService) {
- this.assembleService_ = assembleService;
- }
-
- public boolean getDeployService() {
- return deployService_;
- }
-
- public void setDeployService(boolean deployService) {
- this.deployService_ = deployService;
- }
-
- public Boolean getStartService(){
- return startService_;
- }
-
- public void setStartService(Boolean value) {
- startService_=value;
- }
-
- public Boolean getInstallService() {
- return installService_;
- }
-
- public void setInstallService(Boolean value) {
- installService_=value;
- }
-
- public Boolean getTestService() {
- return
- new Boolean(testService_.booleanValue() || clientWidget_.getTestClient().booleanValue());
- }
-
- public void setTestService(Boolean value) {
- testService_= value;
- }
- public Boolean getMonitorService() {
- return new Boolean(monitorButton_.getSelection());
- }
-
- public void setMonitorService(Boolean value) {
- monitorButton_.setSelection(value.booleanValue());
- }
-
- public Boolean getPublishService() {
- return new Boolean(publishButton_.getSelection());
- }
-
- public void setPublishService(Boolean value) {
- publishButton_.setSelection( value.booleanValue() );
- }
-
- public Boolean getGenerateProxy() {
- return new Boolean(clientWidget_.getGenerateProxy());
- }
-
- public void setClientGeneration(int value)
- {
- clientWidget_.setClientGeneration(value);
- /*for popup case need to make sure that the UI is refreshed based on
- changes to data*/
- packSelf();
- }
-
- public String getClientEarProjectName()
- {
- return clientWidget_.getClientEarProjectName();
- }
-
- public String getClientProjectName()
- {
- return clientWidget_.getClientProjectName();
- }
-
- public int getClientGeneration()
- {
- return clientWidget_.getClientGeneration();
- }
-
- public ResourceContext getResourceContext() {
- if (resourceContext_ == null) {
- resourceContext_ = WebServicePlugin.getInstance()
- .getResourceContext();
- }
- return resourceContext_;
- }
-
- public void setResourceContext(ResourceContext context) {
- resourceContext_ = context;
- }
-
- public IStructuredSelection getObjectSelection()
- {
- return objectSelection_;
- }
-
- public void setObjectSelection(IStructuredSelection selection )
- {
- objectSelection_ = selection;
- }
-
- public WebServicesParser getWebServicesParser()
- {
- return parser_;
- }
-
- public void setWebServicesParser(WebServicesParser parser)
- {
- parser_ = parser;
- clientWidget_.setWebServicesParser(parser);
- }
-
- public void internalize() {
-
- if (preferencesPage_)
- return;
-
- if (objectSelectionWidget_ == null)
- objectSelectionWidget_ = getSelectionWidget();
-
- String displayable = null;
-
- if (objectSelectionWidget_ instanceof IObjectSelectionLaunchable) {
- IObjectSelectionLaunchable launchable = (IObjectSelectionLaunchable) objectSelectionWidget_;
- launchable.setInitialSelection(objectSelection_);
- objectSelection_ = launchable.getObjectSelection();
- displayable = launchable.getObjectSelectionDisplayableString();
- }
- else {
- IObjectSelectionWidget selectionWidget = (IObjectSelectionWidget) objectSelectionWidget_;
- selectionWidget.setInitialSelection(objectSelection_);
- displayable = selectionWidget.getObjectSelectionDisplayableString();
- }
-
- if (displayable == null || displayable.length() == 0)
- return;
-
- serviceImpl_.removeModifyListener(objectModifyListener_);
- serviceImpl_.setText(displayable);
- serviceImpl_.addModifyListener(objectModifyListener_);
- }
-
- public IStatus getStatus() {
- IStatus status = Status.OK_STATUS;
-
- IStatus missingFieldStatus = checkMissingFieldStatus();
- if (missingFieldStatus.getSeverity() == IStatus.ERROR) {
- return missingFieldStatus;
- }
-
- IStatus invalidServiceImplStatus = checkServiceImplTextStatus();
- if (invalidServiceImplStatus.getSeverity() == IStatus.ERROR) {
- return invalidServiceImplStatus;
- }
-
- IStatus possibleErrorStatus = checkErrorStatus();
- if (possibleErrorStatus.getSeverity() == IStatus.ERROR) {
- return possibleErrorStatus;
- }
-
- IStatus possibleWarningStatus = checkWarningStatus();
- if (possibleWarningStatus.getSeverity() == IStatus.WARNING) {
- return possibleWarningStatus;
- }
-
- // If no warnings/errors were reported, clear validation state on
- // service side and client side (if enabled)
- validationState_ = ValidationUtils.VALIDATE_NONE;
- if (clientWidget_.getGenerateProxy()) {
- clientWidget_.setValidationState(ValidationUtils.VALIDATE_NONE);
- }
-
- return status;
- }
-
- /*
- * call validation code in the object selection widget to ensure any
- * modifications to the serviceImpl_ field are valid
- */
- private IStatus checkServiceImplTextStatus() {
-
- String fieldText = serviceImpl_.getText().trim();
-
- if (objectSelectionWidget_ == null)
- {
- objectSelectionWidget_ = getSelectionWidget();
- }
-
- if (objectSelectionWidget_ instanceof IObjectSelectionLaunchable)
- {
- IObjectSelectionLaunchable launchable = (IObjectSelectionLaunchable)objectSelectionWidget_;
- validObjectSelection_ = launchable.validate(fieldText);
- }
- else
- {
- IObjectSelectionWidget widget = (IObjectSelectionWidget)objectSelectionWidget_;
- validObjectSelection_ = widget.validate(fieldText);
- }
-
- if (!validObjectSelection_)
- {
- int scenario = getWebServiceScenario();
-
- if (scenario == WebServiceScenario.BOTTOMUP)
- return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_INVALID_SERVICE_IMPL);
- else
- return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_INVALID_SERVICE_DEF);
- }
-
- return Status.OK_STATUS;
- }
-
- private int getWebServiceScenario()
- {
- int index = webserviceType_.getSelectionIndex();
- String typeId = labelIds_.getIds_()[index];
- return WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(typeId);
- }
-
- private IStatus checkMissingFieldStatus() {
-
- // 1. Check for missing fields on service side
- ValidationUtils valUtils = new ValidationUtils();
- String serviceImpl = serviceImpl_.getText().trim();
- String typeId = getServiceTypeRuntimeServer().getTypeId();
- String runtimeId = getServiceTypeRuntimeServer().getRuntimeId();
- String serverId = getServiceTypeRuntimeServer().getServerId();
- String projectName = getServiceProjectName();
- boolean needEar = getServiceNeedEAR();
- String earProjectName = getServiceEarProjectName();
- String projectTypeId = getServiceComponentType();
-
- IStatus serviceMissingFieldStatus = valUtils.checkMissingFieldStatus(validationState_, typeId, serviceImpl,
- runtimeId, serverId, projectName, needEar, earProjectName, projectTypeId, false);
- if (serviceMissingFieldStatus.getSeverity() == IStatus.ERROR) {
- return serviceMissingFieldStatus;
- }
-
- // 2. Check for missing fields on the client side if it's visible.
- if (clientWidget_.getGenerateProxy()) {
- IStatus clientMissingFieldsStatus = clientWidget_.checkMissingFieldStatus();
- if (clientMissingFieldsStatus.getSeverity() == IStatus.ERROR) {
- return clientMissingFieldsStatus;
- }
-
- }
-
- return Status.OK_STATUS;
- }
-
- private IStatus checkErrorStatus() {
-
- ValidationUtils valUtils = new ValidationUtils();
-
- // 1. Check for errors on service side
- String runtimeId = getServiceTypeRuntimeServer().getRuntimeId();
- String serverId = getServiceTypeRuntimeServer().getServerId();
- String typeId = getServiceTypeRuntimeServer().getTypeId();
- String projectName = getServiceProjectName();
- boolean needEar = getServiceNeedEAR();
- String earProjectName = getServiceEarProjectName();
- String projectTypeId = getServiceComponentType();
- IStatus serviceSideErrorStatus = valUtils.checkErrorStatus(validationState_, typeId, runtimeId, serverId,
- projectName, needEar, earProjectName, projectTypeId, false);
- if (serviceSideErrorStatus.getSeverity() == IStatus.ERROR) {
- return serviceSideErrorStatus;
- }
-
- // 2. Check for errors on client side if it is visible
- if (clientWidget_.getGenerateProxy()) {
- IStatus clientSideErrorStatus = clientWidget_.checkErrorStatus();
- if (clientSideErrorStatus.getSeverity() == IStatus.ERROR) {
- return clientSideErrorStatus;
- }
-
- // 3. Check for errors that span service and client if client side
- // is visible.
- int clientValidationState = clientWidget_.getValidationState();
- if (validationState_ == ValidationUtils.VALIDATE_ALL
- || validationState_ == ValidationUtils.VALIDATE_PROJECT_CHANGES
- || clientValidationState == ValidationUtils.VALIDATE_ALL
- || clientValidationState == ValidationUtils.VALIDATE_PROJECT_CHANGES) {
- String clientProjectName = clientWidget_.getClientProjectName();
- if (clientProjectName.equalsIgnoreCase(projectName)) {
- return StatusUtils
- .errorStatus(ConsumptionUIMessages.MSG_SAME_CLIENT_AND_SERVICE_PROJECTS);
- }
- }
- }
-
- return Status.OK_STATUS;
- }
-
- private IStatus checkWarningStatus() {
- ValidationUtils valUtils = new ValidationUtils();
- // 1. Check for warnings on the service side
- int scaleSetting = getServiceGeneration();
- String serverId = getServiceTypeRuntimeServer().getServerId();
- IStatus serviceWarningStatus = valUtils.checkWarningStatus(validationState_, scaleSetting, serverId, false);
- if (serviceWarningStatus.getSeverity() == IStatus.WARNING) {
- return serviceWarningStatus;
- }
-
- // 2. Check for warnings on the client side if it's enabled
- if (clientWidget_.getGenerateProxy()) {
- IStatus clientWarningStatus = clientWidget_.checkWarningStatus();
- if (clientWarningStatus.getSeverity() == IStatus.WARNING) {
- return clientWarningStatus;
- }
-
- // 3. Check for warnings that span service and client if client side
- // is enabled.
- int clientValidationState = clientWidget_.getValidationState();
- if (validationState_ == ValidationUtils.VALIDATE_ALL
- || validationState_ == ValidationUtils.VALIDATE_PROJECT_CHANGES
- || clientValidationState == ValidationUtils.VALIDATE_ALL
- || clientValidationState == ValidationUtils.VALIDATE_PROJECT_CHANGES) {
- if (getServiceNeedEAR() && clientWidget_.getClientNeedEAR()) {
- if (getServiceEarProjectName().equals(clientWidget_.getClientEarProjectName())) {
- return StatusUtils.warningStatus(NLS.bind(
- ConsumptionUIMessages.MSG_SAME_CLIENT_AND_SERVICE_EARS,
- new String[] { "EAR" }));
- }
- }
- }
-
- }
-
- return Status.OK_STATUS;
- }
-
- protected void initImageRegistry()
- {
- imageReg_ = new ImageRegistry(Display.getCurrent());
-
- imageReg_.put(ICON_SCALE_BG_0, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_0));
- imageReg_.put(ICON_SCALE_BG_1, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_1));
- imageReg_.put(ICON_SCALE_BG_2, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_2));
- imageReg_.put(ICON_SCALE_BG_3, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_3));
- imageReg_.put(ICON_SCALE_BG_4, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_4));
- imageReg_.put(ICON_SCALE_BG_5, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_5));
- imageReg_.put(ICON_SCALE_BG_6, WebServiceConsumptionUIPlugin
- .getImageDescriptor(ICON_SCALE_BG_6));
-
- imageReg_.put(GRAPHIC_SERVICE_0, WebServiceCreationUIPlugin
- .getImageDescriptor(GRAPHIC_SERVICE_0));
- imageReg_.put(GRAPHIC_SERVICE_1, WebServiceCreationUIPlugin
- .getImageDescriptor(GRAPHIC_SERVICE_1));
- imageReg_.put(GRAPHIC_SERVICE_2, WebServiceCreationUIPlugin
- .getImageDescriptor(GRAPHIC_SERVICE_2));
- imageReg_.put(GRAPHIC_SERVICE_3, WebServiceCreationUIPlugin
- .getImageDescriptor(GRAPHIC_SERVICE_3));
- imageReg_.put(GRAPHIC_SERVICE_4, WebServiceCreationUIPlugin
- .getImageDescriptor(GRAPHIC_SERVICE_4));
- imageReg_.put(GRAPHIC_SERVICE_5, WebServiceCreationUIPlugin
- .getImageDescriptor(GRAPHIC_SERVICE_5));
- }
-
- private void setAdvancedOptions(boolean enabled)
- {
- monitorButton_.setEnabled(enabled);
- publishButton_.setEnabled(enabled);
- }
-
- public void setServiceProjectName(String name)
- {
- serviceProjectName_= name;
- hLinkServiceProject_.setText(SERVICE_PROJECT_PREFIX + " " + serviceProjectName_);
- hLinkServiceProject_.pack(true);
- packSelf();
- }
-
- public void setServiceEarProjectName(String name)
- {
- serviceEarProjectName_ = name;
- refreshEARLink();
- }
-
- public void refreshEARLink()
- {
- hLinkServiceEAR_.setVisible(needEar_);
- if (needEar_)
- {
- hLinkServiceEAR_.setText(SERVICE_EAR_PREFIX + " " + serviceEarProjectName_);
- hLinkServiceEAR_.pack(true);
- packSelf();
- }
- }
- public void setServiceComponentType( String type )
- {
- serviceComponentType_ = type;
- }
-
- public void setClientProjectName(String name)
- {
- clientWidget_.setClientProjectName(name);
- }
-
- public void setClientEarProjectName(String name)
- {
- clientWidget_.setClientEarProjectName(name);
- }
-
- IProject project_;
-
- public String getServiceComponentType()
- {
- return serviceComponentType_;
- }
-
- public void setClientComponentType(String type)
- {
- clientWidget_.setClientComponentType(type);
- }
-
- public String getClientComponentType()
- {
- return clientWidget_.getClientComponentType();
- }
-
- public String getServiceProjectName()
- {
- return serviceProjectName_;
- }
-
- public String getServiceEarProjectName()
- {
- return serviceEarProjectName_;
- }
-
- public void setClientProject(IProject project)
- {
- clientWidget_.setProject(project);
- }
-
- private IProject getClientProject()
- {
- return clientWidget_.getProject();
- }
-
- public void setProject(IProject project)
- {
- project_ = project;
- }
-
- public IProject getProject()
- {
- return project_;
- }
-
- public String getServiceRuntimeId()
- {
- // calculate the most appropriate serviceRuntimeId based on current settings.
- return WebServiceRuntimeExtensionUtils2.getServiceRuntimeId(getServiceTypeRuntimeServer(), getServiceProjectName(), getServiceComponentType());
- }
-
- public String getClientRuntimeId()
- {
- return clientWidget_.getClientRuntimeId();
- }
-
- public void setServiceNeedEAR(boolean b)
- {
- needEar_ = b;
- refreshEARLink();
- }
-
- public boolean getServiceNeedEAR()
- {
- return needEar_;
- }
-
- public void setClientNeedEAR(boolean b)
- {
- clientWidget_.setClientNeedEAR(b);
- }
-
- public boolean getClientNeedEAR()
- {
- return clientWidget_.getClientNeedEAR();
- }
-
- // looks through extensions and returns the appropriate selection widget
- private Object getSelectionWidget()
- {
- String wst = getServiceTypeRuntimeServer().getTypeId();
- int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(wst);
- String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(wst);
- WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
- Object result = null;
-
-
- if (wsimpl != null)
- {
- String objectSelectionWidgetId = null;
- if (scenario == WebServiceScenario.TOPDOWN)
- {
- objectSelectionWidgetId = "org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget";
- }
- else
- {
- objectSelectionWidgetId = wsimpl.getObjectSelectionWidget();
- }
-
- ObjectSelectionRegistry registry = ObjectSelectionRegistry.getInstance();
- boolean editable = registry.getExternalModify( objectSelectionWidgetId );
-
- serviceImpl_.setEditable( editable );
- result = registry.getSelectionWidget( objectSelectionWidgetId );
- }
-
- return result;
- }
-
- // for the purposes of disabling the service implementation controls from the preferences dialog
- public void disableNonPreferenceWidgets()
- {
- if (serviceImpl_ != null)
- serviceImpl_.setEnabled(false);
- if (browseButton_ != null)
- browseButton_.setEnabled(false);
- if (hCompService_ != null)
- {
- hCompService_.setVisible(false);
- }
- clientWidget_.disableNonPreferenceWidgets();
- }
-
- private void setGraphics(int value)
- {
- String iconImage = "";
- String toplogyImage = "";
- switch (value) {
- case 0:
- iconImage=ICON_SCALE_BG_0;
- toplogyImage=GRAPHIC_SERVICE_0;
- break;
- case 1:
- iconImage=ICON_SCALE_BG_1;
- toplogyImage=GRAPHIC_SERVICE_1;
- break;
- case 2:
- iconImage=ICON_SCALE_BG_2;
- toplogyImage=GRAPHIC_SERVICE_2;
- break;
- case 3:
- iconImage=ICON_SCALE_BG_3;
- toplogyImage=GRAPHIC_SERVICE_3;
- break;
- case 4:
- iconImage=ICON_SCALE_BG_4;
- toplogyImage=GRAPHIC_SERVICE_4;
- break;
- case 5:
- case 6:
- iconImage=ICON_SCALE_BG_5;
- toplogyImage=GRAPHIC_SERVICE_5;
- break;
- default:
- break;
- }
- serviceScale_.setBackgroundImage(imageReg_.get(iconImage));
- topologySpot_.setImage(imageReg_.get(toplogyImage));
- }
-
- private void refreshServerRuntimeSelection()
- {
- //new up ServerRuntimeSelectionWidgetDefaultingCommand
- ServerRuntimeSelectionWidgetDefaultingCommand serverRTDefaultCmd = new ServerRuntimeSelectionWidgetDefaultingCommand();
-
- //call setters of new defaulting command:
- serverRTDefaultCmd.setInitialSelection(getObjectSelection());
- serverRTDefaultCmd.setInitialProject(getProject());
- serverRTDefaultCmd.setGenerateProxy(clientWidget_.getGenerateProxy());
- serverRTDefaultCmd.setServiceTypeRuntimeServer(getServiceTypeRuntimeServer());
- serverRTDefaultCmd.setWebServicesParser(getWebServicesParser());
- serverRTDefaultCmd.setClientInitialSelection(getObjectSelection());
- serverRTDefaultCmd.setClientInitialProject(getClientProject());
- serverRTDefaultCmd.setClientEarProjectName(clientWidget_.getClientEarProjectName());
- serverRTDefaultCmd.setClientTypeRuntimeServer(getClientTypeRuntimeServer());
-
- serverRTDefaultCmd.execute(null, null);
-
- //perform mappings from the defaulting command to the project settings...
- setServiceProjectName(serverRTDefaultCmd.getServiceProjectName());
- setServiceEarProjectName(serverRTDefaultCmd.getServiceEarProjectName());
- setServiceComponentType(serverRTDefaultCmd.getServiceComponentType());
- setClientProjectName(serverRTDefaultCmd.getClientProjectName());
- setClientEarProjectName(serverRTDefaultCmd.getClientEarProjectName());
- setServiceTypeRuntimeServer(serverRTDefaultCmd.getServiceTypeRuntimeServer());
- setClientTypeRuntimeServer(serverRTDefaultCmd.getClientTypeRuntimeServer());
- setServiceNeedEAR(serverRTDefaultCmd.getServiceNeedEAR());
- setClientNeedEAR(serverRTDefaultCmd.getClientNeedEAR());
- setClientComponentType(serverRTDefaultCmd.getClientComponentType());
- }
-
- /**
- * Update client server and runtime based on service side
- */
- private void refreshClientServerRuntimeSelection()
- {
- TypeRuntimeServer clientTypeRuntimeserver = getClientTypeRuntimeServer();
- clientTypeRuntimeserver.setRuntimeId(getServiceTypeRuntimeServer().getRuntimeId());
- clientTypeRuntimeserver.setServerId(getServiceTypeRuntimeServer().getServerId());
- clientTypeRuntimeserver.setServerInstanceId(getServiceTypeRuntimeServer().getServerInstanceId());
- setClientTypeRuntimeServer(clientTypeRuntimeserver);
- }
-
-
- private void callObjectTransformation(IStructuredSelection objectSelection,
- IProject project, String componentName, boolean refreshRuntime)
- {
- ObjectSelectionOutputCommand objOutputCommand = new ObjectSelectionOutputCommand();
- objOutputCommand.setTypeRuntimeServer(getServiceTypeRuntimeServer());
- objOutputCommand.setObjectSelection(objectSelection);
- objOutputCommand.setProject(project);
- objOutputCommand.setComponentName(componentName);
-
- objOutputCommand.execute(null, null);
-
- setWebServicesParser(objOutputCommand.getWebServicesParser());
- setObjectSelection(objOutputCommand.getObjectSelection());
- setProject(objOutputCommand.getProject());
-
- if (refreshRuntime || forceRefreshRuntime)
- refreshServerRuntimeSelection();
-
- forceRefreshRuntime = false;
- }
-
- private class ScaleSelectionListener implements SelectionListener
- {
- public void widgetSelected(SelectionEvent e) {
-
- Scale scale = (Scale)e.widget;
- int selection = scale.getSelection();
-
- //TODO: change the hard coded integers here to the the ScenarioContext.WS_xxx when in less critical phase
- switch (selection) {
- case 0:
- serviceScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_TEST);
- break;
- case 1:
- serviceScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_RUN);
- break;
- case 2:
- serviceScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_INSTALL);
- break;
- case 3:
- serviceScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEPLOY);
- break;
- case 4:
- serviceScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_ASSEMBLE);
- break;
- case 5:
- case 6:
- serviceScale_.setSelection(ScenarioContext.WS_DEVELOP); //"no selection" is not allowed...must develop service @ minimum
- serviceScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP);
- //reset local selection so that setters get correct value below
- selection = ScenarioContext.WS_DEVELOP;
- break;
- default:
- break;
- }
-
- setDevelopService(selection <= ScenarioContext.WS_DEVELOP);
- setAssembleService(selection <= ScenarioContext.WS_ASSEMBLE);
- setDeployService(selection <= ScenarioContext.WS_DEPLOY);
-
- setTestService(new Boolean(selection <= ScenarioContext.WS_TEST));
- setInstallService(new Boolean(selection <= ScenarioContext.WS_INSTALL));
- setStartService(new Boolean(selection <= ScenarioContext.WS_START));
- setAdvancedOptions(selection <= ScenarioContext.WS_INSTALL);
- clientWidget_.enableClientSlider(selection <= ScenarioContext.WS_START);
-
- setGraphics(selection);
-
- //Validate the page
- validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_SCALE_CHANGES);
- statusListener_.handleEvent(null);
-
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- widgetSelected(e);
- }
- }
-
- private class ServiceImplBrowseListener implements SelectionListener
- {
- public void widgetDefaultSelected(SelectionEvent e) {
- // TODO Auto-generated method stub
- }
-
- public void widgetSelected(SelectionEvent e) {
-
- if (objectSelectionWidget_ == null)
- objectSelectionWidget_ = getSelectionWidget();
-
- IStructuredSelection objectSelection = null;
- IProject project = null;
- String componentName="";
- int result=Dialog.CANCEL;
-
- if (objectSelectionWidget_ instanceof IObjectSelectionLaunchable)
- {
- IObjectSelectionLaunchable launchable = ((IObjectSelectionLaunchable)objectSelectionWidget_);
- launchable.setInitialSelection(getObjectSelection());
- IWorkbench workbench = PlatformUI.getWorkbench();
- result = launchable.launch(workbench.getActiveWorkbenchWindow().getShell());
- if (result == Dialog.OK)
- {
- serviceImpl_.removeModifyListener(objectModifyListener_);
- serviceImpl_.setText(launchable.getObjectSelectionDisplayableString());
- serviceImpl_.addModifyListener(objectModifyListener_);
- objectSelection = launchable.getObjectSelection();
- project = launchable.getProject();
- componentName= launchable.getComponentName();
- }
- }
- else
- {
- browseDialog_.setTypeRuntimeServer(getServiceTypeRuntimeServer());
- browseDialog_.setInitialSelection(getObjectSelection());
- result = browseDialog_.open();
- if (result == Dialog.OK)
- {
- serviceImpl_.removeModifyListener(objectModifyListener_);
- serviceImpl_.setText(browseDialog_.getDisplayableSelectionString());
- serviceImpl_.addModifyListener(objectModifyListener_);
- objectSelection = browseDialog_.getObjectSelection();
- project = browseDialog_.getProject();
- componentName= browseDialog_.getComponentName();
- }
- }
-
- // call ObjectSelectionOutputCommand to carry out any transformation on the objectSelection
- if (result == Dialog.OK)
- {
- callObjectTransformation(objectSelection, project, componentName, getWebServiceScenario() != WebServiceScenario.TOPDOWN);
- validationState_ = ValidationUtils.VALIDATE_ALL;
- statusListener_.handleEvent(null); // validate the page
- }
- }
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetDefaultingCommand.java
deleted file mode 100644
index 2e9f62241..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetDefaultingCommand.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-
-public class ServerWizardWidgetDefaultingCommand extends ClientWizardWidgetDefaultingCommand
-{
- private TypeRuntimeServer typeRuntimeServer_;
- private IStructuredSelection initialSelection_;
- private int serviceGeneration_;
- private boolean developService_;
- private boolean assembleService_;
- private boolean deployService_;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
-
- String type = getScenarioContext().getWebServiceType();
- String runtime = WebServiceRuntimeExtensionUtils2.getDefaultRuntimeValueFor( type );
-
- String factoryID = WebServiceRuntimeExtensionUtils2.getDefaultServerValueFor(type);
- typeRuntimeServer_ = new TypeRuntimeServer();
-
- typeRuntimeServer_.setTypeId( type );
- typeRuntimeServer_.setRuntimeId( runtime );
- typeRuntimeServer_.setServerId( factoryID );
-
- //Default the typeId from the initial selection
- String[] typeIds = WebServiceRuntimeExtensionUtils2.getWebServiceTypeBySelection(initialSelection_);
-
- if (typeIds!=null && typeIds.length>0)
- {
- typeRuntimeServer_.setTypeId(typeIds[0]);
- }
-
- serviceGeneration_ = getScenarioContext().getGenerateWebService();
-
- developService_ = serviceGeneration_ <= ScenarioContext.WS_DEVELOP;
- assembleService_ = serviceGeneration_ <= ScenarioContext.WS_ASSEMBLE;
- deployService_ = serviceGeneration_ <= ScenarioContext.WS_DEPLOY;
-
- defaultClientScale();
-
- return Status.OK_STATUS;
- }
-
- public void setInitialSelection(IStructuredSelection selection)
- {
- initialSelection_ = selection;
- }
-
- public IStructuredSelection getInitialSelection()
- {
- return initialSelection_ ;
- }
-
- IProject project_;
-
- public IProject getInitialProject()
- {
- if (project_==null)
- {
- project_ = getProjectFromObjectSelection(initialSelection_);
- }
-
- return project_;
- }
-
- private IProject getProjectFromObjectSelection(IStructuredSelection selection)
- {
- if (selection != null && selection.size() == 1)
- {
- Object obj = selection.getFirstElement();
- if (obj != null)
- {
- try
- {
- IResource resource = ResourceUtils.getResourceFromSelection(obj);
- if (resource==null)
- return null;
- IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
- return p;
- } catch(CoreException e)
- {
- return null;
- }
- }
- }
- return null;
- }
-
- public TypeRuntimeServer getServiceTypeRuntimeServer()
- {
- return typeRuntimeServer_;
- }
-
- public Boolean getInstallService()
- {
- return new Boolean( getScenarioContext().getInstallWebService() );
- }
-
- public Boolean getStartService()
- {
- return new Boolean( getScenarioContext().getStartWebService() );
- }
-
- public Boolean getTestService()
- {
- return new Boolean( getScenarioContext().getTestWebService() );
- }
-
- public Boolean getPublishService()
- {
- return new Boolean( getScenarioContext().getLaunchWebServiceExplorer() );
- }
-
- public Boolean getGenerateProxy()
- {
- return new Boolean( getScenarioContext().getGenerateProxy() );
- }
-
- public boolean getRunTestClient()
- {
- return getScenarioContext().isLaunchSampleEnabled();
- }
-
- public Boolean getMonitorService()
- {
- return new Boolean(getScenarioContext().getMonitorWebService());
- }
-
- public int getServiceGeneration()
- {
- return serviceGeneration_;
- }
-
- public int getClientGeneration()
- {
- return getScenarioContext().getGenerateClient();
- }
-
- public boolean getDevelopService() {
- return developService_;
- }
-
- public boolean getAssembleService() {
- return assembleService_;
- }
-
- public boolean getDeployService() {
- return deployService_;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetOutputCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetOutputCommand.java
deleted file mode 100644
index 6252ca65e..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServerWizardWidgetOutputCommand.java
+++ /dev/null
@@ -1,181 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-
-
-public class ServerWizardWidgetOutputCommand extends ClientWizardWidgetOutputCommand
-{
- private TypeRuntimeServer typeRuntimeServer_;
- private boolean installService_;
- private boolean startService_;
- private boolean testService_;
- private boolean testClient_;
- private boolean runTestClient_;
- private boolean publishService_;
- private boolean generateProxy_;
- private boolean developService_;
- private boolean assembleService_;
- private boolean deployService_;
-
- private ResourceContext resourceContext_;
- private IStructuredSelection selection_;
-
-
- public TypeRuntimeServer getServiceTypeRuntimeServer()
- {
- return typeRuntimeServer_;
- }
-
- public boolean getInstallService()
- {
- return installService_;
- }
-
- public boolean getStartService()
- {
- return startService_;
- }
-
- public boolean getTestService()
- {
- return testService_;
- }
-
- public boolean getRunTestClient()
- {
- return runTestClient_;
- }
-
- public boolean getPublishService()
- {
- return publishService_;
- }
-
- public boolean getGenerateProxy()
- {
- return generateProxy_;
- }
-
- public ResourceContext getResourceContext()
- {
- return resourceContext_;
- }
-
- /**
- * @param generateProxy_ The generateProxy_ to set.
- */
- public void setGenerateProxy(boolean generateProxy_)
- {
- this.generateProxy_ = generateProxy_;
- }
- /**
- * @param publishService_ The publishService_ to set.
- */
- public void setPublishService(boolean publishService_)
- {
- this.publishService_ = publishService_;
- }
- /**
- * @param installService_ The installService_ to set.
- */
- public void setInstallService(boolean installService_)
- {
- this.installService_ = installService_;
- }
- /**
- * @param startService_ The startService_ to set.
- */
- public void setStartService(boolean startService_)
- {
- this.startService_ = startService_;
- }
- /**
- * @param testService_ The testService_ to set.
- */
- public void setTestService(boolean testService_)
- {
- this.testService_ = testService_;
- }
-
- /**
- * @param testService_ The testService_ to set.
- */
- public void setRunTestClient(boolean runTestClient_)
- {
- this.runTestClient_ = runTestClient_;
- }
-
- /**
- * @param typeRuntimeServer_ The typeRuntimeServer_ to set.
- */
- public void setServiceTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer_)
- {
- this.typeRuntimeServer_ = typeRuntimeServer_;
- }
-
- public void setResourceContext(ResourceContext rc)
- {
- resourceContext_ = rc;
- }
-
- public void setObjectSelection(IStructuredSelection selection)
- {
- selection_ = selection;
- }
-
- public IStructuredSelection getObjectSelection()
- {
- return selection_;
- }
-
- public boolean getDevelopService() {
- return developService_;
- }
-
- public void setDevelopService(boolean developService) {
- this.developService_ = developService;
- }
-
- public boolean getAssembleService() {
- return assembleService_;
- }
-
- public void setAssembleService(boolean assembleService) {
- this.assembleService_ = assembleService;
- }
-
- public boolean getDeployService() {
- return deployService_;
- }
-
- public void setDeployService(boolean deployService) {
- this.deployService_ = deployService;
- }
-
- public boolean getTestClient() {
- return testClient_;
- }
-
- public void setTestClient(boolean testClient_) {
- this.testClient_ = testClient_;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServiceImplSelectionDialog.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServiceImplSelectionDialog.java
deleted file mode 100644
index fd210a0d9..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/ServiceImplSelectionDialog.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
- * 20060418 136335 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.command.internal.env.ui.widgets.AbstractSelectionDialog;
-import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-public class ServiceImplSelectionDialog extends AbstractSelectionDialog {
-
- TypeRuntimeServer trs_;
- String titleText_;
- IStructuredSelection selection_;
-
- public ServiceImplSelectionDialog(Shell parent, PageInfo pageInfo) {
- super(parent, pageInfo);
- titleText_ = pageInfo.getPageName();
- }
-
- protected void callSetters()
- {
- ((ObjectSelectionWidget)getWidget()).setTypeRuntimeServer(trs_);
- ((ObjectSelectionWidget)getWidget()).setInitialSelection(selection_);
- }
-
- public void setTypeRuntimeServer(TypeRuntimeServer trs)
- {
- trs_ = trs;
-
- // set dialog title text based on the web service scenario
- if (trs != null)
- {
- String typeId = trs.getTypeId();
- int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(typeId);
-
- if (scenario == WebServiceScenario.BOTTOMUP)
- {
- titleText_ = ConsumptionUIMessages.DIALOG_TITILE_SERVICE_IMPL_SELECTION;
- }
- else if (scenario == WebServiceScenario.TOPDOWN)
- {
- titleText_ = ConsumptionUIMessages.DIALOG_TITILE_SERVICE_DEF_SELECTION;
- }
- }
- }
-
- protected void setShellStyle(int newShellStyle)
- {
- super.setShellStyle( newShellStyle | SWT.RESIZE );
- }
-
- protected void configureShell(Shell newShell)
- {
- newShell.setText(titleText_);
- super.configureShell(newShell);
- }
-
- public String getDisplayableSelectionString() {
-
- return ((ObjectSelectionWidget)getWidget()).getObjectSelectionDisplayableString();
- }
-
- public IStructuredSelection getObjectSelection() {
- return ((ObjectSelectionWidget)getWidget()).getObjectSelection();
- }
-
- public IProject getProject(){
- return ((ObjectSelectionWidget)getWidget()).getProject();
- }
-
- public String getComponentName(){
- return ((ObjectSelectionWidget)getWidget()).getComponentName();
- }
-
- public void setInitialSelection(IStructuredSelection selection)
- {
- selection_ = selection;
- }
-
- protected Point getInitialSize()
- {
- return ((ObjectSelectionWidget)getWidget()).getWidgetSize();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ExportWSWidgetBinding.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ExportWSWidgetBinding.java
deleted file mode 100644
index 804cb29d4..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ExportWSWidgetBinding.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishToPrivateUDDICommandFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishWSWidget;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-
-
-public class ExportWSWidgetBinding implements CommandWidgetBinding
-{
- private CanFinishRegistry canFinishRegistry;
- private WidgetRegistry widgetRegistry;
- private DataMappingRegistry dataMappingRegistry;
- private PublishToPrivateUDDICommandFragment publishToPrivateUDDICmdFrag;
-
- public ExportWSWidgetBinding()
- {
- publishToPrivateUDDICmdFrag = new PublishToPrivateUDDICommandFragment();
- }
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- SequenceFragment root = new SequenceFragment();
- root.add(new SimpleFragment("WSExport"));
- root.add(publishToPrivateUDDICmdFrag);
- root.add(new SimpleFragment(new WSExplorerLauncherCommand(), ""));
- return root;
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- this.canFinishRegistry = canFinishRegistry;
- publishToPrivateUDDICmdFrag.registerCanFinish(this.canFinishRegistry);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- this.dataMappingRegistry = dataRegistry;
- publishToPrivateUDDICmdFrag.registerDataMappings(this.dataMappingRegistry);
-
- // PublishToPrivateUDDICommandFragment
- dataMappingRegistry.addMapping(PublishWSWidget.class, "PublishToPrivateUDDI", PublishToPrivateUDDICommandFragment.class);
-
- // LaunchWebServicesExplorerCommand
- dataMappingRegistry.addMapping(PublishWSWidget.class, "ForceLaunchOutsideIDE", WSExplorerLauncherCommand.class);
- dataMappingRegistry.addMapping(PublishWSWidget.class, "LaunchOptions", WSExplorerLauncherCommand.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
- this.widgetRegistry = widgetRegistry;
- publishToPrivateUDDICmdFrag.registerWidgetMappings(this.widgetRegistry);
-
- widgetRegistry.add("WSExport",
- ConsumptionUIMessages.PAGE_TITLE_WS_PUBLISH,
- ConsumptionUIMessages.PAGE_DESC_WS_PUBLISH,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new PublishWSWidget(true);
- }
- }
- );
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/PublishWSDLWidgetBinding.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/PublishWSDLWidgetBinding.java
deleted file mode 100644
index 37d757656..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/PublishWSDLWidgetBinding.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets.binding;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-public class PublishWSDLWidgetBinding implements CommandWidgetBinding
-{
- public PublishWSDLWidgetBinding()
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- return new SimpleFragment();
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- }
-
- /* (non-Javadoc),
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ServerWidgetBinding.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ServerWidgetBinding.java
deleted file mode 100644
index 968288b22..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ServerWidgetBinding.java
+++ /dev/null
@@ -1,638 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060204 121605 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060407 135415 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060410 135562 joan@ca.ibm.com - Joan Haggarty
- * 20060417 136391 joan@ca.ibm.com - Joan Haggarty
- * 20060425 138052 kathy@ca.ibm.com - Kathy Chan
- * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- * 20060530 144358 kathy@ca.ibm.com - Kathy Chan
- * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
- * 20060609 86421 kathy@ca.ibm.com - Kathy Chan
- * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- * 20060810 135395 makandre@ca.ibm.com - Andrew Mak, Enable WTP Web service framework opening Java editor
- * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
- * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets.binding;
-
-import org.eclipse.jst.ws.internal.common.StringToIProjectTransformer;
-import org.eclipse.jst.ws.internal.consumption.command.common.ComputeEndpointCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.ComputeProxyEndpointCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateMonitorCommand;
-import org.eclipse.jst.ws.internal.consumption.command.common.ManageServerStartUpCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.command.data.ServerInstToIServerTransformer;
-import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.common.ScenarioCleanupCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.extension.ClientRootFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.selection.SelectionTransformer;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishToPrivateUDDICommandFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishWSWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ServerExtensionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionOutputCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestDelegateCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestWidget;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishDefaultCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishTestFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.TestDefaultingFragment;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WSDLTestLaunchCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceClientTestArrivalCommand;
-import org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceDevelopCommand;
-import org.eclipse.jst.ws.internal.creation.ui.extension.ServiceRootFragment;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidget;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetOutputCommand;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.test.LaunchFragment;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.test.ServiceTestFragment;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.test.ServiceTestWidget;
-import org.eclipse.jst.ws.internal.creation.ui.widgets.test.WebServiceTestDefaultingCommand;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-import org.eclipse.wst.ws.internal.ui.command.OpenEditorCommand;
-
-public class ServerWidgetBinding implements CommandWidgetBinding
-{
- private CanFinishRegistry canFinishRegistry_;
- private WidgetRegistry widgetRegistry_;
- private DataMappingRegistry dataMappingRegistry_;
- private PublishToPrivateUDDICommandFragment publishToPrivateUDDICmdFrag;
-
- public ServerWidgetBinding()
- {
- publishToPrivateUDDICmdFrag = new PublishToPrivateUDDICommandFragment();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- return new ServiceRootCommandFragment();
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- canFinishRegistry_ = canFinishRegistry;
- publishToPrivateUDDICmdFrag.registerCanFinish(canFinishRegistry_);
- }
-
- /* (non-Javadoc),
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataMappingRegistry_ = dataRegistry;
-
- // Before ServerWizardWidget
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ObjectSelection", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ServiceGeneration", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "MonitorService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "MonitorService", CreateMonitorCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "MonitorService", ComputeEndpointCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "MonitorService", ComputeProxyEndpointCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "PublishService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ClientGeneration", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InstallClient", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ResourceContext", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DevelopService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "AssembleService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DeployService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InstallService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "StartService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "TestService", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DevelopClient", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "AssembleClient", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DeployClient", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "StartClient", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "TestClient", ServerWizardWidget.class);
-
-
- // After ServerWizardWidget
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceTypeRuntimeServer", ServerWizardWidgetOutputCommand.class );
- dataRegistry.addMapping(ServerWizardWidget.class, "InstallService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "InstallClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "StartService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "TestService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "MonitorService", CreateMonitorCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "MonitorService", ComputeEndpointCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "MonitorService", ComputeProxyEndpointCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "PublishService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "GenerateProxy", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientTypeRuntimeServer", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ResourceContext", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ObjectSelection", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "DevelopService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "AssembleService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "DeployService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "DevelopClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "AssembleClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "DeployClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "StartClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "TestClient", ServerWizardWidgetOutputCommand.class);
-
- // Before ObjectSelectionWidget
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "TestService", ClientTestWidget.class );
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "TestService",FinishTestFragment.class);
-
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "GenerateProxy", ClientFragment.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "GenerateProxy", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceProjectName", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceEarProjectName", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceComponentType", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceNeedEAR", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ServerWizardWidget.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ServerWizardWidget.class); //jvh
-
- // After ServerWizardWidget
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceTypeRuntimeServer", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceRuntimeId", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceProjectName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceEarProjectName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceComponentType", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceNeedEAR", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "WebServicesParser", ServerExtensionDefaultingCommand.class );
-
- // Map fragments that depend on data.
- dataRegistry.addMapping(ServerWizardWidget.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
- dataRegistry.addMapping(ServerWizardWidget.class, "ServiceTypeRuntimeServer", ServerExtensionFragment.class);
-
- // CreateMonitorCommand
- dataRegistry.addMapping(CreateMonitorCommand.class, "MonitoredPort", ComputeEndpointCommand.class);
- dataRegistry.addMapping(CreateMonitorCommand.class, "MonitoredPort", ComputeProxyEndpointCommand.class);
-
- // ComputeEndpointCommand
- dataRegistry.addMapping(ComputeEndpointCommand.class, "Endpoint", ServiceTestWidget.class);
- dataRegistry.addMapping(ComputeEndpointCommand.class, "Endpoint", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ComputeEndpointCommand.class, "Endpoint", ComputeProxyEndpointCommand.class);
-
- // ComputeProxyEndpointCommand
- dataRegistry.addMapping(ComputeProxyEndpointCommand.class, "Endpoint", ClientTestDelegateCommand.class);
-
- // 145426
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyEndpoint", ComputeProxyEndpointCommand.class);
-
- //ServiceTestWidget mappings
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", ServiceTestWidget.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServerProject", ServiceTestWidget.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", CreateMonitorCommand.class);
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "WsdlURI", ServiceTestWidget.class);
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "ServiceServerInstanceId", ServiceTestWidget.class);
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "WsdlURI", ComputeEndpointCommand.class);
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "WebServicesParser", ComputeEndpointCommand.class);
- dataRegistry.addMapping(WebServiceTestDefaultingCommand.class, "ServiceTestFacilities", ServiceTestWidget.class);
- dataRegistry.addMapping(WebServiceTestDefaultingCommand.class, "Environment", ServiceTestWidget.class);
- dataRegistry.addMapping(ServiceTestWidget.class, "LaunchedServiceTestName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServiceTestWidget.class, "LaunchedServiceTestName", FinishTestFragment.class);
- dataRegistry.addMapping(ServiceTestWidget.class, "LaunchedServiceTestName", TestDefaultingFragment.class);
-
- // Before Client Test widget.
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientTestWidget.class );
-
- // Before ClientTestWidget
-
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject", ClientTestWidget.class );
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR", ClientTestWidget.class );
- dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunClientTest",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestWidget.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunTestClient",ClientTestWidget.class);
-
- // After ClientTestWidget
- dataRegistry.addMapping(ClientTestWidget.class, "SampleProjectEAR",FinishDefaultCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "SampleProject",FinishDefaultCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "Folder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "JspFolder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "RunTestClient",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "Methods",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestService",FinishTestFragment.class);
- dataRegistry.addMapping(ClientTestWidget.class, "TestID",FinishTestFragment.class);
- dataRegistry.addMapping(ClientTestWidget.class, "IsTestWidget",FinishTestFragment.class);
- // PublishWSWidget
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "PublishService", PublishWSWidget.class, "PublishToPublicUDDI", null);
-
- // PublishToPrivateUDDICommandFragment
- dataRegistry.addMapping(PublishWSWidget.class, "PublishToPrivateUDDI", PublishToPrivateUDDICommandFragment.class);
-
- // LaunchWebServicesExplorerCommand
- dataRegistry.addMapping(PublishWSWidget.class, "PublishToPrivateUDDI", LaunchFragment.class);
- dataRegistry.addMapping(PublishWSWidget.class, "PublishToPublicUDDI", LaunchFragment.class);
- // TODO Need defaults for these properties.
- dataRegistry.addMapping(PublishWSWidget.class, "ForceLaunchOutsideIDE", WSExplorerLauncherCommand.class);
- dataRegistry.addMapping(PublishWSWidget.class, "LaunchOptions", WSExplorerLauncherCommand.class);
-
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
-
- widgetRegistry_ = widgetRegistry;
- publishToPrivateUDDICmdFrag.registerWidgetMappings(widgetRegistry_);
-
- widgetRegistry.add( "ServerWizardWidget",
- ConsumptionUIMessages.PAGE_TITLE_WS_PROJECT,
- ConsumptionUIMessages.PAGE_DESC_WS_PROJECT,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ServerWizardWidget( true, false );
- }
- } );
-
- widgetRegistry.add( "TestService",
- ConsumptionUIMessages.PAGE_TITLE_WSTEST,
- ConsumptionUIMessages.PAGE_DESC_WSTEST,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ServiceTestWidget();
- }
- } );
-
- widgetRegistry.add( "ClientTestWidget",
- ConsumptionUIMessages.PAGE_TITLE_WS_SAMPLE,
- ConsumptionUIMessages.PAGE_DESC_WS_SAMPLE,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new ClientTestWidget();
- }
- });
-
- widgetRegistry.add( "Publish",
- ConsumptionUIMessages.PAGE_TITLE_WS_PUBLISH,
- ConsumptionUIMessages.PAGE_DESC_WS_PUBLISH,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new PublishWSWidget(true);
- }
- } );
- }
-
- private class ClientFragment extends BooleanFragment
- {
- boolean genProxy_ = false;
-
- public ClientFragment()
- {
- setCondition( new Condition()
- {
- public boolean evaluate()
- {
- return genProxy_;
- }
- });
-
- SequenceFragment clientRoot = new SequenceFragment();
-
- clientRoot.add( new SimpleFragment( new ClientExtensionDefaultingCommand( false ), ""));
- //clientRoot.add(new SimpleFragment(new ClientServerDeployableConfigCommand(), "")); //Note: added here for client
- //clientRoot.add( new ClientExtensionFragment() );
- clientRoot.add( new ClientRootFragment() );
- clientRoot.add( new SimpleFragment( new ClientExtensionOutputCommand(), "" ));
-
- setTrueFragment( clientRoot );
- }
-
- public void setGenerateProxy( boolean genProxy )
- {
- genProxy_ = genProxy;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- // Map the output of the service scenario to the client scenario.
- dataRegistry.addMapping( ServerExtensionOutputCommand.class, "WebServicesParser", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping( ServerExtensionOutputCommand.class, "WsdlURI", ClientExtensionDefaultingCommand.class );
- dataRegistry.addMapping( ServerExtensionOutputCommand.class, "ServiceServerFactoryId", ClientExtensionDefaultingCommand.class );
- dataRegistry.addMapping( ServerExtensionOutputCommand.class, "ServiceServerInstanceId", ClientExtensionDefaultingCommand.class );
-
-
- // Setup the PreClientDevelopCommand.
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "TestService", PreClientDevelopCommand.class);
-
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DevelopClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "AssembleClient", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DeployClient", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "InstallClient", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "StartClient", PreClientDevelopCommand.class, "StartService", null);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientRuntimeId", PreClientDevelopCommand.class );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientJ2EEVersion", PreClientDevelopCommand.class);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProject", PreClientDevelopCommand.class, "Module", null );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectType", PreClientDevelopCommand.class, "ModuleType", null);
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectEAR", PreClientDevelopCommand.class, "Ear", null );
- dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "WsdlURI", PreClientDevelopCommand.class);
- dataRegistry.addMapping( PreClientDevelopCommand.class, "WebService", ClientExtensionOutputCommand.class, "WebServiceClient", null );
- }
- }
-
- private class ServiceRootCommandFragment extends SequenceFragment
- {
- public ServiceRootCommandFragment()
- {
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
-
- add( new SimpleFragment( new ServerWizardWidgetDefaultingCommand(), ""));
- add (new SimpleFragment( new ObjectSelectionOutputCommand(), ""));
- add( new SimpleFragment( new ServerRuntimeSelectionWidgetDefaultingCommand(), ""));
- add( new SimpleFragment( "ServerWizardWidget" ) );
- add( new SimpleFragment( new ServerWizardWidgetOutputCommand(), "" ));
- add( new SimpleFragment( new ServerExtensionDefaultingCommand(), ""));
- add( new ServiceRootFragment() );
- add( new SimpleFragment( new ServerExtensionOutputCommand(), "" ));
- add(new SimpleFragment(new CreateMonitorCommand(), ""));
- add(new SimpleFragment(new ComputeEndpointCommand(), ""));
- add( new ServiceTestFragment( "TestService") );
- add( new ClientFragment() );
- add( new SimpleFragment(new TestDefaultingFragment(),""));
- add( new SimpleFragment(new ComputeProxyEndpointCommand(), ""));
- add( new ClientTestFragment( "ClientTestWidget") );
- add( new SimpleFragment( "Publish") );
- add(publishToPrivateUDDICmdFrag);
- add( new SimpleFragment( new OpenEditorCommand(), "") );
- add(new LaunchFragment());
- add(new FinishFragment());
-
- add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- publishToPrivateUDDICmdFrag.registerDataMappings(dataMappingRegistry_);
-
- dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ServerWizardWidgetDefaultingCommand.class );
-
- // Map ServerWizardWidgetDefaultingCommand to ObjectSelectionOutputCommand
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InitialSelection", ObjectSelectionOutputCommand.class, "ObjectSelection", null);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ObjectSelectionOutputCommand.class, "TypeRuntimeServer", null);
-
- // Map ServerWizardWidgetDefaultingCommand to ServerWizardWidgetOutputCommand
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "GenerateProxy", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DevelopService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "AssembleService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DeployService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DevelopClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "AssembleClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "DeployClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InstallClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "StartClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "TestClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InstallService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "StartService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "TestService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "RunTestClient", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "PublishService", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "GenerateProxy", ServerWizardWidgetOutputCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ResourceContext", ServerWizardWidgetOutputCommand.class);
-
- // Map ServerWizardWidgetOutputCommand.
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InitialProject", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InstallService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "StartService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "TestService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "TestService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "PublishService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "PublishService", PublishWSWidget.class, "PublishToPublicUDDI", null);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "GenerateProxy", ServerRuntimeSelectionWidgetDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "InstallClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "RunTestClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "GenerateProxy", ClientExtensionDefaultingCommand.class); // KSC
- dataRegistry.addMapping(ServerWizardWidgetDefaultingCommand.class, "ResourceContext", ClientExtensionDefaultingCommand.class);
-
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "DevelopService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "AssembleService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "DeployService", ServerExtensionDefaultingCommand.class);
-
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "InstallClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "StartClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "DevelopClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "AssembleClient", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "DeployClient", ClientExtensionDefaultingCommand.class);
-
-
- //Map ObjectSelectionOutputCommand to ServerRuntimeSelectionWidgetDefaultingCommand
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ObjectSelection", ServerRuntimeSelectionWidgetDefaultingCommand.class, "InitialSelection", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ObjectSelection", ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialSelection", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "Project", ServerRuntimeSelectionWidgetDefaultingCommand.class, "InitialProject", null);
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "Project", ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
-
- //Map ObjectSelectionOutputCommand to ServerWizardWidgetOutputCommand
- dataRegistry.addMapping(ObjectSelectionOutputCommand.class, "ObjectSelection", ServerWizardWidgetOutputCommand.class);
-
- //to the test wizard
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "GenerateProxy", ServiceTestFragment.class);
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "WsdlURI", WSDLTestLaunchCommand.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServerProject", WSDLTestLaunchCommand.class);
-
- // Map ServerRuntimeSelectionWidgetDefaultingCommand
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceRuntimeId", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceProject2EARProject", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceProjectName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceEarProjectName", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceComponentType", ServerExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceComponentName", ServerExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceEarComponentName", ServerExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceJ2EEVersion", ServerExtensionDefaultingCommand.class);
- //dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientJ2EEVersion", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "GenerateProxy", ClientFragment.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "GenerateProxy", ClientExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceNeedEAR", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
-
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "InstallService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "StartService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "TestService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "MonitorService", ServerExtensionDefaultingCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "PublishService", ServerExtensionDefaultingCommand.class);
-
-
- // Map ServerExtensionDefaultingCommand
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerExtensionFragment.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "TestService", ServiceTestFragment.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "Publish", PublishToPrivateUDDICommandFragment.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer",WSDLTestLaunchCommand.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", ClientTestDelegateCommand.class);
-
- // Setup the PreServiceDevelopCommand.
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "DevelopService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "AssembleService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "DeployService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "InstallService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "StartService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "TestService", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "PublishService", PreServiceDevelopCommand.class);
-
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "GenerateProxy", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "ResourceContext", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "ObjectSelection", PreServiceDevelopCommand.class, "Selection", new SelectionTransformer() );
-
- //dataRegistry.addMapping( ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceComponentType", PreServiceDevelopCommand.class, "ModuleType", null);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", PreServiceDevelopCommand.class );
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServiceRuntimeId", PreServiceDevelopCommand.class );
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServiceJ2EEVersion", PreServiceDevelopCommand.class);
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServerProject", PreServiceDevelopCommand.class, "Module", null );
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServerProjectEAR", PreServiceDevelopCommand.class, "Ear", null );
- dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "ServiceComponentType", PreServiceDevelopCommand.class, "ModuleType", null );
-
- dataRegistry.addMapping( PreServiceDevelopCommand.class, "WebService", ServerExtensionOutputCommand.class );
-
- // Map ClientExtensionDefaultingCommand
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", FinishDefaultCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestFragment.class );
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestWidget.class );
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", ClientTestWidget.class );
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientNeedEAR", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarComponentName", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "LaunchedServiceTestName", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServer", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient",ClientTestDelegateCommand.class);
-
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "RunTestClient", ClientTestDelegateCommand.class);
-
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "TestClient", ClientExtensionDefaultingCommand.class, "TestService", null);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "TestClient", TestDefaultingFragment.class, "GenerateProxy", null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", TestDefaultingFragment.class, "GenerateProxy", null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientRuntimeId", TestDefaultingFragment.class);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestFragment.class, "GenerateProxy", null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", FinishTestFragment.class, "GenerateProxy", null);
-
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServerProject", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "WsdlURI", ClientTestDelegateCommand.class);
-
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "ServiceServerInstanceId", CreateMonitorCommand.class);
-
- // Map ServerExtensionOutputCommand for ServerStart()
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServerProjectEAR", ServerExtensionOutputCommand.class, "EarProjectName", null);
-
- // MAP post server config call
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", ClientExtensionOutputCommand.class, "EarProjectName", null);
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ClientExtensionOutputCommand.class, "ExistingServerId", null);
-
- // Map ClientExtensionOutputCommand
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", WebServiceClientTestArrivalCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "SetEndpointMethod", ClientTestDelegateCommand.class);
- dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ServerInstanceId", FinishDefaultCommand.class);
-
- // Map ManageServerStartUpCommand
- dataRegistry.addMapping(ServerExtensionOutputCommand.class, "IsWebProjectStartupRequested", ManageServerStartUpCommand.class);
-
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "StartService", ManageServerStartUpCommand.class);
- dataRegistry.addMapping(ServerWizardWidgetOutputCommand.class, "TestService", ManageServerStartUpCommand.class);
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServerProject", ManageServerStartUpCommand.class, "ServiceProject", new StringToIProjectTransformer());
- dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServerServer", ManageServerStartUpCommand.class,"ServiceServerTypeId", null);
-
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject", ManageServerStartUpCommand.class, "SampleProject", new StringToIProjectTransformer());
- dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ManageServerStartUpCommand.class,"SampleExistingServer", new ServerInstToIServerTransformer());
-
- // Map WebServiceClientTestArrivalCommand
- dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunClientTest",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject",ClientTestDelegateCommand.class);
- dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR",ClientTestDelegateCommand.class);
-
- // Map OpenEditorCommand
- dataRegistry.addMapping( PreServiceDevelopCommand.class, "WebService", OpenEditorCommand.class );
- dataRegistry.addMapping( PreServiceDevelopCommand.class, "Context", OpenEditorCommand.class );
-
- //Map Finish Command
-
-
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/runtime/ServerRuntimeSelectionWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/runtime/ServerRuntimeSelectionWidgetDefaultingCommand.java
deleted file mode 100644
index 89cecb4c2..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/runtime/ServerRuntimeSelectionWidgetDefaultingCommand.java
+++ /dev/null
@@ -1,615 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060315 131963 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060418 129688 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
- * 20060523 133714 joan@ca.ibm.com - Joan Haggarty
- * 20060525 143843 joan@ca.ibm.com - Joan Haggarty
- * 20060905 156230 kathy@ca.ibm.com - Kathy Chan, Handling projects with no target runtime
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets.runtime;
-
-import java.util.ArrayList;
-import java.util.Set;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentServerRuntimeContext;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.FacetMatchCache;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerUtil;
-
-public class ServerRuntimeSelectionWidgetDefaultingCommand extends ClientRuntimeSelectionWidgetDefaultingCommand
-{
- private boolean generateProxy_=true; //jvh
-
- private TypeRuntimeServer serviceIds_;
- private boolean serviceIdsFixed_ = false;
- private String serviceRuntimeId_;
- private String serviceProjectName_;
- private String serviceEarProjectName_;
- private String serviceComponentType_;
- private IProject initialProject_;
- private boolean serviceNeedEAR_ = true;
- private FacetMatcher serviceFacetMatcher_;
-
- public ServerRuntimeSelectionWidgetDefaultingCommand()
- {
- super();
- }
-
-
- /**
- * Defaults the following bits of information in the following order:
- * serviceRuntimeId_ : the serviceRuntimeId. Must be defaulted to non-empty String.
- * serviceIds_.runtimeId_: the Web service runtime id. Must be defaulted to non-empty String.
- * serviceProjectName_ : the name of the service project. Must be non-empty. May or may not exist.
- * serviceComponentType_: the id of the service project template. Must be empty if the service
- * project exists. Must be non-empty of the service project does not exist.
- * serviceIds_.serverId_: the server type id. May be an empty String if the defaulted Web service runtime
- * does not require a server.
- * serviceIds_.serverInstanceId_: the server id. May be null or an empty String.
- * serviceNeedEAR_: true if an EAR is needed. False otherwise.
- * serviceEarProjectName_: the service EAR project. Must be empty if the serviceNeedEAR_ is false.
- * Must be non-empty if the serviceNeedEAR_ is true.
- * Defaults the parallel information on the client-side if needed
- * (@see ClientRuntimeSelectionWidgetDefaultingCommand#execute).
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- try
- {
-
- //**Step 1** Default the serviceRuntime and the Web service runtime.
- //serviceIdsFixed_ is set to true for the Ant scenario. It's always false for the wizard
- //scenarios.
- if (serviceIdsFixed_)
- {
- //Set the serviceRuntime based on the runtime and server.
- //If user set a service project use that as initial project otherwise default from initial selection.
- if (serviceProjectName_ != null)
- {
- initialProject_ = ResourcesPlugin.getWorkspace().getRoot().getProject(serviceProjectName_);
-
- DefaultRuntimeTriplet drt = getDefaultRuntime(initialProject_, serviceIds_.getTypeId(), false);
- serviceFacetMatcher_ = drt.getFacetMatcher();
- serviceProjectName_ = drt.getProjectName();
- serviceRuntimeId_ = drt.getRuntimeId();
-
- if (serviceRuntimeId_ != null)
- {
- serviceIds_.setRuntimeId(WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceRuntimeId_).getRuntime()
- .getId());
- }
- }
- else
- {
- DefaultRuntimeTriplet drt = getDefaultServiceRuntimeForFixedRuntimeAndServer(initialProject_);
- serviceFacetMatcher_ = drt.getFacetMatcher();
- serviceProjectName_ = drt.getProjectName();
- serviceRuntimeId_ = drt.getRuntimeId();
- }
- }
- else
- {
- // Set the runtime based on the initial selection
- DefaultRuntimeTriplet drt = getDefaultRuntime(initialProject_, serviceIds_.getTypeId(), false);
- serviceFacetMatcher_ = drt.getFacetMatcher();
- serviceProjectName_ = drt.getProjectName();
- serviceRuntimeId_ = drt.getRuntimeId();
-
- if (serviceRuntimeId_ != null)
- {
- serviceIds_.setRuntimeId(WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceRuntimeId_).getRuntime()
- .getId());
- }
- }
-
- //**Step 2** Default the service project if it was not already defaulted
- //as part of defaulting the Web service runtime.
- if (serviceProjectName_ == null)
- {
- // Project name did not get set when the runtime was set, so set it now
- serviceProjectName_ = getDefaultServiceProjectName();
- }
-
- //**Step 3** Default the service project type.
- IProject serviceProject = ResourcesPlugin.getWorkspace().getRoot().getProject(serviceProjectName_);
- if (!serviceProject.exists())
- {
- // Set the project template
- serviceComponentType_ = getDefaultServiceProjectTemplate();
- }
- else
- {
- //Set it to an empty String
- serviceComponentType_ = "";
- }
- //**Step 4** Default the server if this is not an Ant scenario.
- if (!serviceIdsFixed_)
- {
- // Set the server
- IStatus serverStatus = setServiceDefaultServer();
- if (serverStatus.getSeverity() == Status.ERROR)
- {
- env.getStatusHandler().reportError(serverStatus);
- return serverStatus;
- }
- }
-
- //**Step 5** Default clientNeedEAR and client EAR if an EAR is needed
- setDefaultServiceEarProject();
-
- // jvh - for now comment out generate proxy
- // need to look at defaulting based on an event
- // on page 1 - when client generation goes from none
- // to develop...
- /*if (generateProxy_)
- {*/
- //Default the client-side.
- IStatus clientSideStatus = defaultClientSide(monitor);
- if (clientSideStatus.getSeverity() == Status.ERROR)
- {
- return clientSideStatus;
- }
- // }
-
- return Status.OK_STATUS;
-
- } catch (Exception e)
- {
- // Catch all Exceptions in order to give some feedback to the user
- IStatus errorStatus = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED,
- new String[] { e.getMessage() }), e);
- env.getStatusHandler().reportError(errorStatus);
- return errorStatus;
- }
- }
-
- private IStatus defaultClientSide(IProgressMonitor monitor)
- {
- IStatus clientDefaultFromServiceStatus = defaultClientSideFromServiceSide(serviceProjectName_, serviceIds_, serviceNeedEAR_, serviceEarProjectName_);
-
- // If an error status is returned, the only property that was set on
- // ClientRuntimeSelectionWidgetDefaultingCommand is clientProjectName_.
- // The rest of the properties including clientRuntimeId_, clientComponentType_,
- // all the values in clientIds_, clientNeedEAR_, and clientEarProjectName_
- // have not been set because the service side server and
- // web service runtime could not be used on the client side. Run the entire
- // client-side defaulting algorithm using clientProjectName_ as the
- // clientInitialProject_. Then update the clientEarProjectName_ based on the
- // service side EAR.
- if (clientDefaultFromServiceStatus.getSeverity() == IStatus.ERROR)
- {
- // 1. Run client side defaulting from scratch with clientInitialProject_
- // set to the new clientProjectName_.
- IProject clientProject = ResourcesPlugin.getWorkspace().getRoot().getProject(getClientProjectName());
- setClientInitialProject(clientProject);
- IStatus clientExecuteStatus = super.execute(monitor, null);
- if (clientExecuteStatus.getSeverity() == Status.ERROR)
- {
- return clientExecuteStatus;
- }
-
- // 2. Update the client-side EAR if serviceNeedEAR_ is true;
- if (serviceNeedEAR_)
- {
- defaultClientEarFromServiceEar(serviceProjectName_, serviceEarProjectName_);
- }
- }
-
- return Status.OK_STATUS;
-
- }
-
- private void setDefaultServiceEarProject()
- {
- //Don't need an ear if this is a Java project, or if the selected template is jst.utility
- IProject serviceProject = ResourcesPlugin.getWorkspace().getRoot().getProject(serviceProjectName_);
- if (serviceProject.exists())
- {
- serviceNeedEAR_ = !(FacetUtils.isJavaProject(serviceProject));
- }
- else
- {
- serviceNeedEAR_ = !(FacetUtils.isUtilityTemplate(serviceComponentType_));
- }
-
- //If serviceNeedEAR_ is still true, it means that we're not dealing with a Java project
- //or Java project type. Check the server.
-
-
- if (serviceNeedEAR_)
- {
-
- // Determine if an ear selection is needed based on the server type.
- String serverId = serviceIds_.getServerId();
- if (serverId != null)
- {
- // Use the server type
- String serverTargetId = ServerUtils.getRuntimeTargetIdFromFactoryId(serverId);
- if (serverTargetId != null && serverTargetId.length() > 0)
- {
- if (!ServerUtils.isTargetValidForEAR(serverTargetId, "13"))
- {
- // Default the EAR selection to be empty
- serviceNeedEAR_ = false;
- }
- }
- } else { // serverId == null, assume that it does not need EAR
- serviceNeedEAR_ = false;
- }
- }
-
- if (serviceNeedEAR_)
- {
- serviceEarProjectName_ = DefaultingUtils.getDefaultEARProjectName(serviceProjectName_);
- }
- else
- {
- serviceEarProjectName_ = "";
- }
- }
-
- private IStatus setServiceDefaultServer()
- {
- //Choose an existing server the module is already associated with if possible
- IProject serviceProject = ResourcesPlugin.getWorkspace().getRoot().getProject(serviceProjectName_);
- IServer[] configuredServers = ServerUtil.getServersByModule(ServerUtils.getModule(serviceProject), null);
- if (configuredServers!=null && configuredServers.length>0)
- {
- serviceIds_.setServerId(configuredServers[0].getServerType().getId());
- serviceIds_.setServerInstanceId(configuredServers[0].getId());
- return Status.OK_STATUS;
- }
-
- //If the project exists, choose a suitable server or server type based on the existing project's runtime or facets
- if (serviceProject.exists())
- {
- IServer server = getServerFromProject(serviceProjectName_, serviceFacetMatcher_);
- if (server != null)
- {
- serviceIds_.setServerId(server.getServerType().getId());
- serviceIds_.setServerInstanceId(server.getId());
- return Status.OK_STATUS;
- }
- else
- {
- IServerType serverType = getServerTypeFromProject(serviceProjectName_, serviceFacetMatcher_);
- if (serverType != null)
- {
- serviceIds_.setServerId(serverType.getId());
- return Status.OK_STATUS;
- }
- }
- }
-
- //Haven't picked a server/server type on the basis of the project. Pick a server/server type
- //that is compatible with the serviceRuntimeId.
- IServer server = getServerFromServiceRuntimeId();
- if (server!=null)
- {
- serviceIds_.setServerId(server.getServerType().getId());
- serviceIds_.setServerInstanceId(server.getId());
- return Status.OK_STATUS;
- }
-
- IServerType serverType = getServerTypeFromServiceRuntimeId();
- if (serverType != null)
- {
- serviceIds_.setServerId(serverType.getId());
- return Status.OK_STATUS;
- }
-
- //No suitable server was found. Popup an error.
- RuntimeDescriptor runtimeDescriptor = WebServiceRuntimeExtensionUtils2.getRuntimeById(serviceIds_.getRuntimeId());
- if (runtimeDescriptor.getServerRequired())
- {
- String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(serviceIds_.getRuntimeId());
- IStatus status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[]{runtimeLabel}) );
- return status;
- }
-
- return Status.OK_STATUS;
- }
-
- private IServer getServerFromServiceRuntimeId()
- {
- IServer[] servers = ServerCore.getServers();
- if (servers != null && servers.length > 0)
- {
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
-
- //If a server of the preferred server type is present, check that one first
- for (int j = 0; j < servers.length; j++)
- {
- String serverFactoryId = servers[j].getServerType().getId();
- if (serverFactoryId == preferredServerFactoryId)
- {
- if (WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportServer(serviceRuntimeId_, serverFactoryId))
- {
- return servers[j];
- }
- }
- }
-
- //A server of the preferred server type could not be found or did not match. Check all the existing servers.
- for (int i = 0; i < servers.length; i++)
- {
- String serverFactoryId = servers[i].getServerType().getId();
- if (WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportServer(serviceRuntimeId_, serverFactoryId))
- {
- return servers[i];
- }
- }
- }
- return null;
- }
-
- private IServerType getServerTypeFromServiceRuntimeId()
- {
- String[] serverTypes = WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByServiceRuntime(serviceRuntimeId_);
- if (serverTypes!=null && serverTypes.length>0)
- {
- //Return the preferred one if it is in the list
- PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- String preferredServerFactoryId = context.getServerFactoryId();
- for (int i=0; i<serverTypes.length; i++)
- {
- if (serverTypes[i].equals(preferredServerFactoryId))
- {
- return ServerCore.findServerType(serverTypes[i]);
- }
- }
-
- return ServerCore.findServerType(serverTypes[0]);
- }
-
- return null;
- }
-
-
- private String getDefaultServiceProjectTemplate()
- {
- String[] templates = WebServiceRuntimeExtensionUtils2.getServiceProjectTemplates(serviceIds_.getTypeId(), serviceIds_.getRuntimeId());
-
- //Walk the list of service project types in the project topology preference
- ProjectTopologyContext ptc= WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
- String[] preferredTemplateIds = ptc.getServiceTypes();
- for (int j = 0; j < preferredTemplateIds.length; j++)
- {
- for (int i = 0; i < templates.length; i++)
- {
- String templateId = templates[i];
- if (templateId.equals(preferredTemplateIds[j]))
- {
- boolean matches = WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportTemplate(serviceRuntimeId_, templateId);
- if (matches)
- {
- return templates[i];
- }
- }
- }
- }
-
- //Since the preferredTemplateIds contains the union of all project types for all service runtimes, we are
- //guaranteed to have returned by now, so the code below will never be executed under normal
- //circumstances. Just return something to satisfy the compiler.
- if (templates.length > 0)
- return templates[0];
-
- return "";
-
- }
-
- private String getDefaultServiceProjectName()
- {
- IProject[] projects = FacetUtils.getAllProjects();
- ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceRuntimeId_);
- RequiredFacetVersion[] rfvs = desc.getRequiredFacetVersions();
-
- //Check each project for compatibility with the serviceRuntime
- for (int i=0; i<projects.length; i++)
- {
- Set facetVersions = FacetUtils.getFacetsForProject(projects[i].getName());
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
- String fRuntimeName = null;
- fRuntime = FacetUtils.getFacetRuntimeForProject(projects[i].getName());
- if (fRuntime != null)
- {
- fRuntimeName = fRuntime.getName();
- }
-
- if (facetVersions != null)
- {
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(false, serviceRuntimeId_, projects[i].getName());
- boolean facetRuntimeMatches = true;
- if (fRuntimeName != null)
- {
- facetRuntimeMatches = FacetUtils.isFacetRuntimeSupported(rfvs, fRuntimeName);
- }
-
- if (fm.isMatch() && facetRuntimeMatches)
- {
- serviceFacetMatcher_ = fm;
- return projects[i].getName();
- }
- }
- }
-
- //No project was suitable, return a new project name
- return ResourceUtils.getDefaultWebProjectName();
-
- }
-
- private DefaultRuntimeTriplet getDefaultServiceRuntimeForFixedRuntimeAndServer(IProject project)
- {
- String[] serviceRuntimes = WebServiceRuntimeExtensionUtils2.getServiceRuntimesByServiceType(serviceIds_.getTypeId());
- ArrayList validServiceRuntimes = new ArrayList();
- for (int i=0; i<serviceRuntimes.length; i++ )
- {
- ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceRuntimes[i]);
- if (desc.getRuntime().getId().equals(serviceIds_.getRuntimeId()))
- {
- //Check if this service runtime supports the server
- if (WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportServer(desc.getId(), serviceIds_.getServerId()))
- {
- validServiceRuntimes.add(desc.getId());
- if (project != null && project.exists())
- {
- Set facetVersions = FacetUtils.getFacetsForProject(project.getName());
- if (facetVersions != null)
- {
- FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(false, serviceRuntimes[i], project.getName());
- if (fm.isMatch())
- {
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(fm);
- drt.setProjectName(project.getName());
- drt.setRuntimeId(desc.getId());
- return drt;
- }
- }
- }
-
- }
- }
-
- }
-
- if (validServiceRuntimes.size() > 0)
- {
- //We couldn't match to the initially selected project so return the first valid runtime.
- DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
- drt.setFacetMatcher(null);
- drt.setProjectName(null);
- drt.setRuntimeId(((String[])validServiceRuntimes.toArray(new String[0]))[0]);
- return drt;
- }
- else
- {
- //There are no service runtimes that match the fixed runtime and server. Fall back to original algorithm.
- serviceIdsFixed_ = false;
- return getDefaultRuntime(project, serviceIds_.getTypeId(), false);
- }
- }
-
-
-
- public void setInitialSelection(IStructuredSelection selection)
- {
- }
-
- public void setInitialProject(IProject initialProject)
- {
- initialProject_ = initialProject;
- }
-
- public void setInitialComponentName(String name)
- {
- //TODO This method and any mappings to it
- // should be removed if no longer needed.
- }
-
- public void setServiceTypeRuntimeServer( TypeRuntimeServer ids )
- {
- serviceIds_ = ids;
- }
-
- public void setServiceIdsFixed(boolean b)
- {
- serviceIdsFixed_ = b;
- }
-
- public TypeRuntimeServer getServiceTypeRuntimeServer()
- {
- return serviceIds_;
- }
-
- public String getServiceRuntimeId()
- {
- return serviceRuntimeId_;
- }
- /**
- * @return Returns the generateProxy_.
- */
- public boolean getGenerateProxy()
- {
- return generateProxy_;
- }
- /**
- * @param generateProxy_ The generateProxy_ to set.
- */
- public void setGenerateProxy(boolean generateProxy_)
- {
- this.generateProxy_ = generateProxy_;
- }
-
- public String getServiceProjectName()
- {
- return serviceProjectName_;
- }
-
- public String getServiceEarProjectName()
- {
- return serviceEarProjectName_;
- }
-
- public String getServiceComponentType()
- {
- return serviceComponentType_;
- }
-
- public boolean getServiceNeedEAR()
- {
- return serviceNeedEAR_;
- }
-
- // This is for the Ant scenario where the service project name can be set in the property file.
- // If the user has set the ServiceProjectName use it for defaulting purposes
- public void setServiceProjectName(String name)
- {
- serviceProjectName_ = name;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/LaunchFragment.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/LaunchFragment.java
deleted file mode 100644
index a00645bc3..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/LaunchFragment.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/**
- */
-package org.eclipse.jst.ws.internal.creation.ui.widgets.test;
-
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-
-
-public class LaunchFragment extends BooleanFragment
-{
- private boolean publishToPublicUDDI_;
- private boolean publishToPrivateUDDI_;
-
- public LaunchFragment()
- {
- Condition condition = new Condition()
- {
- public boolean evaluate()
- {
- return (publishToPublicUDDI_ || publishToPrivateUDDI_);
- }
- };
- setCondition( condition );
- setTrueFragment( new SimpleFragment( new WSExplorerLauncherCommand(), "" ) );
- }
-
- public void setPublishToPublicUDDI(boolean publishToPublicUDDI)
- {
- publishToPublicUDDI_ = publishToPublicUDDI;
- }
-
- public void setPublishToPrivateUDDI(boolean publishToPrivateUDDI)
- {
- publishToPrivateUDDI_ = publishToPrivateUDDI;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestFragment.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestFragment.java
deleted file mode 100644
index 196ed3649..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestFragment.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/**
- */
-package org.eclipse.jst.ws.internal.creation.ui.widgets.test;
-
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WSDLTestLaunchCommand;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-
-
-public class ServiceTestFragment extends BooleanFragment
-{
- private boolean testService;
- private boolean generateProxy;
-
-
- public ServiceTestFragment( String id )
- {
- SequenceFragment testRoot = new SequenceFragment();
- Condition condition = new Condition()
- {
- public boolean evaluate()
- {
- return testService;
- }
- };
- setCondition( condition );
-
- testRoot.add( new SimpleFragment( new WebServiceTestDefaultingCommand(), "" ) );
- testRoot.add( new SimpleFragment( id ) );
- setTrueFragment( testRoot );
-
- }
-
-
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
-
- dataRegistry.addMapping(WebServiceTestDefaultingCommand.class, "TestID",WSDLTestLaunchCommand.class);
-
- //from the wizard
- dataRegistry.addMapping(ServiceTestWidget.class, "TestID",WSDLTestLaunchCommand.class);
- dataRegistry.addMapping(WebServiceTestDefaultingCommand.class, "ExternalBrowser",WSDLTestLaunchCommand.class);
- }
-
- public void setGenerateProxy(boolean generateProxy)
- {
- this.generateProxy = generateProxy;
- }
-
- public boolean getGenerateProxy()
- {
- return generateProxy;
- }
-
- /**
- * @return Returns the testService.
- */
- public void setTestService( boolean testService )
- {
- this.testService = testService;
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestWidget.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestWidget.java
deleted file mode 100644
index 2096c8d90..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/ServiceTestWidget.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.creation.ui.widgets.test;
-
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
-import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WSDLTestLaunchCommand;
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.jst.ws.internal.ui.common.UIUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-public class ServiceTestWidget extends SimpleWidgetDataContributor
-{
- private String createPluginId_ = "org.eclipse.jst.ws.creation.ui";
-
- private Combo testTypeCombo_;
- /*CONTEXT_ID PSTP0001 for the Test Type Combo box of the Service Test Page*/
- private final String INFOPOP_PSTP_COMBOBOX_TEST = "PSTP0001";
-
- private Button launchButton_;
- /*CONTEXT_ID PSTP0002 for the launch button of the Service Test Page*/
- private final String INFOPOP_PSTP_LAUNCH_BUTTON = "PSTP0002";
-
-
- private SelectionList facilities_;
-
- private String serviceServerInstanceId = null;
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener )
- {
- UIUtils uiUtils = new UIUtils(createPluginId_ );
-
- Composite testComposite = uiUtils.createComposite( parent, 3, 0, 0 );
-
- testTypeCombo_ = uiUtils.createCombo( testComposite, ConsumptionUIMessages.LABEL_TEST_TYPES,
- ConsumptionUIMessages.TOOLTIP_PSTP_COMBOBOX_TEST,
- INFOPOP_PSTP_COMBOBOX_TEST,
- SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
-
- launchButton_ = uiUtils.createPushButton( testComposite, ConsumptionUIMessages.BUTTON_LAUNCH_SERVICE_TEST,
- ConsumptionUIMessages.TOOLTIP_PSTP_LAUNCH_BUTTON,
- INFOPOP_PSTP_LAUNCH_BUTTON );
- launchButton_.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent event )
- {
- handleLaunchButton();
- }
- });
-
-
- return this;
- }
-
- private TypeRuntimeServer serviceids;
- private String serverProject;
- private String module;
- private String wsdlURI;
- private String launchedServiceTestName = "";
- private IEnvironment env;
- private List endpoints;
-
- private void handleLaunchButton()
- {
- // Split up the project and module
- int p = serverProject.indexOf("/");
- if (p != -1){
- module = serverProject.substring(p+1);
- serverProject = serverProject.substring(0,p);
- }
-
- String testID = testTypeCombo_.getText();
- launchedServiceTestName = testID;
- WSDLTestLaunchCommand wtlc = new WSDLTestLaunchCommand();
- wtlc.setTestID(testID);
- wtlc.setServiceTypeRuntimeServer(serviceids);
- wtlc.setServiceServerInstanceId(serviceServerInstanceId);
- wtlc.setServerProject(serverProject);
- wtlc.setServerModule(module);
- wtlc.setWsdlURI(wsdlURI);
- wtlc.setExternalBrowser(true);
- wtlc.setEndpoint(endpoints);
- wtlc.setEnvironment( env );
- wtlc.execute( null, null );
- }
-
- public void setServiceTestFacilities( SelectionList facilities )
- {
- facilities_ = facilities;
- testTypeCombo_.setItems( facilities.getList() );
- testTypeCombo_.select( facilities.getIndex() );
- }
-
- public SelectionList getServiceTestFacilities()
- {
- facilities_.setIndex( testTypeCombo_.getSelectionIndex() );
- return facilities_;
- }
-
- public String getTestID()
- {
- return testTypeCombo_.getText();
- }
-
- public void setWsdlURI(String wsdlURI)
- {
- this.wsdlURI = wsdlURI;
- }
-
- public void setServerProject(String serverProject)
- {
- this.serverProject = serverProject;
- }
-
- public void setServiceTypeRuntimeServer(TypeRuntimeServer serviceids)
- {
- this.serviceids = serviceids;
- }
-
- public String getLaunchedServiceTestName()
- {
- return launchedServiceTestName;
- }
-
- public void setEnvironment(IEnvironment env)
- {
- this.env = env;
- }
-
- public void setEndpoint(String endpoint)
- {
- if (endpoint != null && endpoint.length() > 0)
- {
- Vector v = new Vector();
- v.add(endpoint);
- setEndpoints(v);
- }
- }
-
- public void setEndpoints(List endpoints)
- {
- this.endpoints = endpoints;
- }
-
- public void setServiceServerInstanceId(String ssInstanceId){
- this.serviceServerInstanceId = ssInstanceId;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/WebServiceTestDefaultingCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/WebServiceTestDefaultingCommand.java
deleted file mode 100644
index 20971001b..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/widgets/test/WebServiceTestDefaultingCommand.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/*
- * Created on Apr 15, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.ws.internal.creation.ui.widgets.test;
-
-import java.util.Enumeration;
-import java.util.Vector;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
- * @author gilberta
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class WebServiceTestDefaultingCommand extends AbstractDataModelOperation
-{
-
- private SelectionList serviceTestFacilities;
- private String[] testID;
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- ScenarioContext scenarioContext = WebServicePlugin.getInstance().getScenarioContext().copy();
- testID = scenarioContext.getNonJavaTestService();
- String[] testTypes = scenarioContext.getWebServiceTestTypes();
-
- IStatus status = Status.OK_STATUS;
- WebServiceTestRegistry wsttRegistry = WebServiceTestRegistry.getInstance();
-
-
- Vector wsdlNames = new Vector();
- for(int i =0 ;i<testTypes.length;i++){
- WebServiceTestExtension wscte = (WebServiceTestExtension)wsttRegistry.getWebServiceExtensionsByName(testTypes[i]);
- if(wscte.testWSDL()){
- wsdlNames.addElement(testTypes[i]);
- }
- }
-
- String javaNamesArray[] = new String[wsdlNames.size()];
- Enumeration e = wsdlNames.elements();
- int i = 0;
- while(e.hasMoreElements()){
- javaNamesArray[i] = (String)e.nextElement();
- i++;
- }
-
-
- serviceTestFacilities = new SelectionList(javaNamesArray,0);
-
- return status;
- }
-
- public SelectionList getServiceTestFacilities()
- {
- return serviceTestFacilities;
- }
-
- public String[] getTestID()
- {
- return testID;
- }
-
- public boolean getExternalBrowser()
- {
- return false;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/.classpath b/bundles/org.eclipse.jst.ws.uddiregistry/.classpath
deleted file mode 100644
index cb0105380..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/.cvsignore b/bundles/org.eclipse.jst.ws.uddiregistry/.cvsignore
deleted file mode 100644
index b7853eaff..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-build.xml
-temp.folder
-uddiregistry.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/.project b/bundles/org.eclipse.jst.ws.uddiregistry/.project
deleted file mode 100644
index 662562dfb..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.uddiregistry</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index f2b029a29..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:36:58 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 9269b4dcf..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:49 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.uddiregistry/META-INF/MANIFEST.MF
deleted file mode 100644
index e89356fce..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,22 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.uddiregistry; singleton:=true
-Bundle-Version: 1.0.100.qualifier
-Bundle-Activator: org.eclipse.jst.ws.internal.uddiregistry.plugin.WebServiceUDDIRegistryPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.internal.uddiregistry;x-internal:=true,
- org.eclipse.jst.ws.internal.uddiregistry.plugin;x-internal:=true,
- org.eclipse.jst.ws.internal.uddiregistry.widgets;x-internal:=true,
- org.eclipse.jst.ws.internal.uddiregistry.widgets.binding;x-internal:=true,
- org.eclipse.jst.ws.internal.uddiregistry.wizard;x-internal:=true
-Require-Bundle: org.eclipse.ui;bundle-version="[3.2.0,3.4.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.jst.ws.ui;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- com.ibm.icu;bundle-version="[3.4.4,3.5.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/about.html b/bundles/org.eclipse.jst.ws.uddiregistry/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/build.properties b/bundles/org.eclipse.jst.ws.uddiregistry/build.properties
deleted file mode 100644
index e1dec33b5..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-source.. = src/
-bin.includes = .,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- META-INF/,\
- about.html
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/icons/registry.gif b/bundles/org.eclipse.jst.ws.uddiregistry/icons/registry.gif
deleted file mode 100644
index 5b43cae7b..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/icons/registry.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/icons/uddiprivateconfig_wiz.gif b/bundles/org.eclipse.jst.ws.uddiregistry/icons/uddiprivateconfig_wiz.gif
deleted file mode 100644
index 31611ec30..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/icons/uddiprivateconfig_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/plugin.properties b/bundles/org.eclipse.jst.ws.uddiregistry/plugin.properties
deleted file mode 100644
index d8cfbff82..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/plugin.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Universal Description Discovery and Integration Registry
-PLUGIN_PROVIDER=Eclipse.org
-
-PLUGIN_NEW_WIZARD_NAME_WS_UNIT_TEST_UDDI=Unit Test UDDI
-
-XP_PRIVATE_UDDI_REGISTRY_TYPES=Private UDDI Registry Types
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/plugin.xml b/bundles/org.eclipse.jst.ws.uddiregistry/plugin.xml
deleted file mode 100644
index f7834fe69..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/plugin.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point id="privateUDDIRegistryType" name="%XP_PRIVATE_UDDI_REGISTRY_TYPES"/>
-
- <extension
- point="org.eclipse.jst.ws.consumption.ui.privateUDDIRegistryType">
- <privateUDDIRegistryType
- name="%PRIVATE_UDDI_REGISTRY_TYPE_IMPL"
- class="org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIRegistryTypeImpl"
- id="org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIRegistryTypeImpl">
- </privateUDDIRegistryType>
- </extension>
- <extension
- point="org.eclipse.ui.newWizards">
- <wizard
- name="%PLUGIN_NEW_WIZARD_NAME_WS_UNIT_TEST_UDDI"
- icon="icons/registry.gif"
- category="org.eclipse.jst.ws.ui.new"
- class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
- id="org.eclipse.jst.ws.internal.uddiregistry.widgets.binding.PrivateUDDIWidgetBinding">
- </wizard>
- </extension>
- <extension
- point="org.eclipse.wst.command.env.dynamicWizard">
- <dynamicWizard
- name="%PLUGIN_NEW_WIZARD_NAME_WS_UNIT_TEST_UDDI"
- class="org.eclipse.jst.ws.internal.uddiregistry.widgets.binding.PrivateUDDIWidgetBinding"
- iconbanner="icons/uddiprivateconfig_wiz.gif"
- id="org.eclipse.jst.ws.internal.uddiregistry.widgets.binding.PrivateUDDIWidgetBinding">
- </dynamicWizard>
- </extension>
- <!--
- <extension
- point="org.eclipse.ui.newWizards">
- <wizard
- name="%PLUGIN_NEW_WIZARD_NAME_WS_UNIT_TEST_UDDI"
- icon="icons/registry.gif"
- category="org.eclipse.jst.ws.ui.new"
- class="org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIWizard"
- id="org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIWizard">
- <description>
- %PLUGIN_NEW_WIZARD_DESC_WS_UNIT_TEST_UDDI
- </description>
- <selection
- class="org.eclipse.core.resources.IResource">
- </selection>
- </wizard>
- </extension>
- -->
-</plugin>
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistry.properties b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistry.properties
deleted file mode 100644
index 8b15a6d55..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistry.properties
+++ /dev/null
@@ -1,55 +0,0 @@
-###############################################################################
-# Copyright (c) 2004 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
-###############################################################################
-
-#
-# PrivateUDDIConfigPage
-#
-PAGE_TITLE_PRIVATE_UDDI_CONFIG=Unit Test UDDI Registry Configuration
-PAGE_DESC_PRIVATE_UDDI_CONFIG=Configure the unit test UDDI registry.
-
-#
-# Tooltip for PrivateUDDIConfigPage
-#
-TOOLTIP_PUPR_PRIVATE_UDDI_PAGE=Deploy or remove a Unit Test UDDI Registry
-TOOLTIP_PUPR_PRIVATE_UDDI_TYPE=Choose the type of Unit Test UDDI Registry you want to deploy
-TOOLTIP_PUPR_DEPLOY_PRIVATE_UDDI=Deploy a Unit Test UDDI Registry
-TOOLTIP_PUPR_UPDATE_PRIVATE_UDDI=Update the existing Unit Test UDDI Registry
-TOOLTIP_PUPR_REMOVE_PRIVATE_UDDI=Remove the existing Unit Test UDDI Registry
-
-#
-# Common wizard strings.
-#
-LABEL_PRIVATE_UDDI_REGISTRY_TYPES=Private UDDI Registry type:
-BUTTON_DEPLOY_UDDI_REGISTRY=Deploy the Unit Test UDDI Registry
-BUTTON_UPDATE_UDDI_REGISTRY=Update the previously deployed UDDI registry
-BUTTON_REMOVE_UDDI_REGISTRY=Remove the previously deployed UDDI registry
-
-#
-# Wizard page task labels and descriptions
-# (used only for progress indication).
-#
-
-#
-# Dialog messages
-#
-
-#
-# Progress messages
-#
-
-#
-# Warning messages
-#
-
-#
-# Error messages
-#
-MSG_ERROR_NO_UDDI_REGISTRY_AVAILABLE=IWAB0363E No UDDI registry available.
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistryMessages.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistryMessages.java
deleted file mode 100644
index ea29e8828..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/UDDIRegistryMessages.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class UDDIRegistryMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.uddiregistry.UDDIRegistry";//$NON-NLS-1$
-
- private UDDIRegistryMessages() {
- // Do not instantiate
- }
-
- public static String PAGE_TITLE_PRIVATE_UDDI_CONFIG;
- public static String PAGE_DESC_PRIVATE_UDDI_CONFIG;
- public static String TOOLTIP_PUPR_PRIVATE_UDDI_PAGE;
- public static String TOOLTIP_PUPR_PRIVATE_UDDI_TYPE;
- public static String TOOLTIP_PUPR_DEPLOY_PRIVATE_UDDI;
- public static String TOOLTIP_PUPR_UPDATE_PRIVATE_UDDI;
- public static String TOOLTIP_PUPR_REMOVE_PRIVATE_UDDI;
- public static String LABEL_PRIVATE_UDDI_REGISTRY_TYPES;
- public static String BUTTON_DEPLOY_UDDI_REGISTRY;
- public static String BUTTON_UPDATE_UDDI_REGISTRY;
- public static String BUTTON_REMOVE_UDDI_REGISTRY;
- public static String MSG_ERROR_NO_UDDI_REGISTRY_AVAILABLE;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, UDDIRegistryMessages.class);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/plugin/WebServiceUDDIRegistryPlugin.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/plugin/WebServiceUDDIRegistryPlugin.java
deleted file mode 100644
index 81df413f7..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/plugin/WebServiceUDDIRegistryPlugin.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry.plugin;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.text.MessageFormat;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.jface.resource.ImageDescriptor;
-
-/**
-* This is the plugin class for the Web Services UDDI Registry plugin.
-* <p>
-* The Web Services UDDI Registry plugin's is to add the
-* option to create a unit test UDDI registry
-*/
-public class WebServiceUDDIRegistryPlugin extends Plugin
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2002.";
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.jst.ws.uddiregistry";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WebServiceUDDIRegistryPlugin instance_;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- */
- public WebServiceUDDIRegistryPlugin ()
- {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WebServiceUDDIRegistryPlugin)Platform.getPlugin("org.eclipse.jst.ws.uddiregistry");
- * @return The WebServiceUDDIRegistryPlugin singleton.
- */
- public static WebServiceUDDIRegistryPlugin getInstance ()
- {
- return instance_;
- }
-
- /**
- * Returns an image descriptor for the named resource
- * as relative to the plugin install location.
- * @return An image descriptor, possibly null.
- */
- public static ImageDescriptor getImageDescriptor ( String name )
- {
- try
- {
- URL installURL = instance_.getBundle().getEntry("/");
- URL imageURL = new URL(installURL,name);
- return ImageDescriptor.createFromURL(imageURL);
- }
- catch (MalformedURLException e)
- {
- return null;
- }
- }
-
- /**
- * Returns the message string identified by the given key from
- * plugin.properties.
- * @return The String message.
- */
- public static String getMessage ( String key )
- {
- return Platform.getResourceString(instance_.getBundle(),key);
- }
-
- /**
- * Returns the message string identified by the given key from
- * plugin.properties. Substitution sequences in the message string
- * are replaced by the given array of substitution objects (which
- * are most frequently strings). See the JDK's
- * {@link java.text.MessageFormat java.text.MessageFormat}
- * class for further details on substitution.
- * @return The String message.
- */
- public static String getMessage ( String key, Object[] args )
- {
- return MessageFormat.format(getMessage(key),args);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommand.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommand.java
deleted file mode 100644
index 7fb402cef..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommand.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry.widgets;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIRegistryType;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-/*
-import org.eclipse.wst.command.internal.env.core.common.Environment;
-import org.eclipse.wst.command.internal.env.core.common.MessageUtils;
-import org.eclipse.wst.command.internal.env.core.common.SimpleStatus;
-import org.eclipse.wst.command.internal.env.core.common.Status;
-import org.eclipse.jst.ws.internal.uddiregistry.plugin.WebServiceUDDIRegistryPlugin;
-*/
-
-public class PrivateUDDISelectionCommand extends AbstractDataModelOperation
-{
- private byte operationType;
- private PrivateUDDIRegistryType registryType;
-
- /*
- public Status execute(Environment env)
- {
- MessageUtils msgUtils = new MessageUtils(WebServiceUDDIRegistryPlugin.ID + ".plugin", this);
- if (registryType != null)
- {
- switch (operationType)
- {
- case PrivateUDDIRegistryType.OP_DEPLOY:
- return registryType.deploy(env);
- case PrivateUDDIRegistryType.OP_UPDATE:
- return registryType.update(env);
- case PrivateUDDIRegistryType.OP_REMOVE:
- return registryType.remove(env);
- default:
- }
- }
- return new SimpleStatus("");
- }
- */
-
- public PrivateUDDIRegistryType getRegistryType()
- {
- return getPrivateUDDIRegistryType();
- }
-
- public byte getOperationType()
- {
- return operationType;
- }
-
- public PrivateUDDIRegistryType getPrivateUDDIRegistryType()
- {
- return registryType;
- }
-
- public void setRegistryType(PrivateUDDIRegistryType regType)
- {
- setPrivateUDDIRegistryType(regType);
- }
-
- public void setOperationType(byte type)
- {
- operationType = type;
- }
-
- public void setPrivateUDDIRegistryType(PrivateUDDIRegistryType regType)
- {
- registryType = regType;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommandFragment.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommandFragment.java
deleted file mode 100644
index b408b68f1..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionCommandFragment.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry.widgets;
-
-import org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIRegistryType;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.AbstractCommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-public class PrivateUDDISelectionCommandFragment extends AbstractCommandFragment
-{
- private PrivateUDDIRegistryType registryType;
- private DataMappingRegistry dataMappingRegistry;
- private CanFinishRegistry canFinishRegistry;
- private WidgetRegistry widgetRegistry;
-
- public PrivateUDDISelectionCommandFragment()
- {
- super(null, "");
- }
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment()
- {
- if (registryType != null)
- {
- registryType.registerCanFinish(canFinishRegistry);
- registryType.registerDataMappings(dataMappingRegistry);
- registryType.registerWidgetMappings(widgetRegistry);
- return registryType.create().create();
- }
- else
- return null;
- }
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment(CommandFragment fragment)
- {
- return null;
- }
-
- /*
- * This method is called to retrieve the data mappings for this command fragment.
- */
- public void registerDataMappings(DataMappingRegistry registry)
- {
- dataMappingRegistry = registry;
- }
-
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- this.canFinishRegistry = canFinishRegistry;
- }
-
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
- this.widgetRegistry = widgetRegistry;
- }
-
- /**
- * All wizard fragments need to be cloneable.
- **/
- public Object clone()
- {
- PrivateUDDISelectionCommandFragment fragment = new PrivateUDDISelectionCommandFragment();
- fragment.registerDataMappings(dataMappingRegistry);
- fragment.registerCanFinish(canFinishRegistry);
- fragment.registerWidgetMappings(widgetRegistry);
- fragment.setPrivateUDDIRegistryType(registryType);
- return fragment;
- }
-
- public void setPrivateUDDIRegistryType(PrivateUDDIRegistryType registryType)
- {
- this.registryType = registryType;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidget.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidget.java
deleted file mode 100644
index d3ea22f56..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidget.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry.widgets;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jst.ws.internal.uddiregistry.UDDIRegistryMessages;
-import org.eclipse.jst.ws.internal.uddiregistry.plugin.WebServiceUDDIRegistryPlugin;
-import org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIRegistryType;
-import org.eclipse.jst.ws.internal.uddiregistry.wizard.PrivateUDDIRegistryTypeRegistry;
-import org.eclipse.swt.SWT;
-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.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-
-
-/**
-* This UDDI configuration page prompts the user
-* for the information required to configure the
-* unit test UDDI registry.
-*/
-public class PrivateUDDISelectionWidget extends SimpleWidgetDataContributor
-{
- private Listener statusListener;
-
- private Button deployRadio_;
- private Label typesLabel_;
- private Combo typesCombo_;
- private Button updateRadio_;
- private Button removeRadio_;
- private PrivateUDDIRegistryType[] types_;
- private PrivateUDDIRegistryType installedType_;
-
- // Infopop
- private final String INFOPOP_PUPR_PRIVATE_UDDI_PAGE = WebServiceUDDIRegistryPlugin.ID + ".pupr0001";
- private final String INFOPOP_PUPR_PRIVATE_UDDI_TYPE = WebServiceUDDIRegistryPlugin.ID + ".pupr0002";
- private final String INFOPOP_PUPR_DEPLOY_PRIVATE_UDDI = WebServiceUDDIRegistryPlugin.ID + ".pupr0003";
- private final String INFOPOP_PUPR_UPDATE_PRIVATE_UDDI = WebServiceUDDIRegistryPlugin.ID + ".pupr0005";
- private final String INFOPOP_PUPR_REMOVE_PRIVATE_UDDI = WebServiceUDDIRegistryPlugin.ID + ".pupr0004";
-
- public PrivateUDDISelectionWidget()
- {
- }
-
- public WidgetDataEvents addControls(Composite parent, Listener statusListener)
- {
- this.statusListener = statusListener;
- parent.setToolTipText(UDDIRegistryMessages.TOOLTIP_PUPR_PRIVATE_UDDI_PAGE);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, INFOPOP_PUPR_PRIVATE_UDDI_PAGE);
-
- GridLayout gl;
- GridData gd;
-
- Listener listener = new Listener()
- {
- public void handleEvent(Event event)
- {
- handleWidgetEvent(event);
- }
- };
-
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
-
- deployRadio_ = new Button(parent, SWT.RADIO);
- deployRadio_.setText(UDDIRegistryMessages.BUTTON_DEPLOY_UDDI_REGISTRY);
- deployRadio_.setSelection(true);
- deployRadio_.addListener(SWT.Selection, listener);
- deployRadio_.setToolTipText(UDDIRegistryMessages.TOOLTIP_PUPR_DEPLOY_PRIVATE_UDDI);
- helpSystem.setHelp(deployRadio_, INFOPOP_PUPR_DEPLOY_PRIVATE_UDDI);
-
- Composite typeComposite = new Composite(parent,SWT.NONE);
- gl = new GridLayout();
- gl.numColumns = 2;
- gl.marginHeight = 5;
- gl.verticalSpacing = 15;
- gl.marginWidth = 20;
- typeComposite.setLayout(gl);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- typeComposite.setLayoutData(gd);
-
- typesLabel_ = new Label(typeComposite, SWT.WRAP);
- typesLabel_.setText(UDDIRegistryMessages.LABEL_PRIVATE_UDDI_REGISTRY_TYPES);
- typesLabel_.setToolTipText(UDDIRegistryMessages.TOOLTIP_PUPR_PRIVATE_UDDI_TYPE);
- helpSystem.setHelp(typesLabel_, INFOPOP_PUPR_PRIVATE_UDDI_TYPE);
-
- typesCombo_ = new Combo(typeComposite, SWT.DROP_DOWN | SWT.READ_ONLY);
- gd = new GridData(GridData.FILL_HORIZONTAL);
- typesCombo_.setLayoutData(gd);
- typesCombo_.addListener(SWT.Selection, listener);
- typesCombo_.setToolTipText(UDDIRegistryMessages.TOOLTIP_PUPR_PRIVATE_UDDI_TYPE);
- helpSystem.setHelp(typesCombo_, INFOPOP_PUPR_PRIVATE_UDDI_TYPE);
-
- updateRadio_ = new Button(parent,SWT.RADIO);
- updateRadio_.setText(UDDIRegistryMessages.BUTTON_UPDATE_UDDI_REGISTRY);
- updateRadio_.setSelection(false);
- updateRadio_.addListener(SWT.Selection,listener);
- updateRadio_.setToolTipText(UDDIRegistryMessages.TOOLTIP_PUPR_UPDATE_PRIVATE_UDDI);
- helpSystem.setHelp(updateRadio_, INFOPOP_PUPR_UPDATE_PRIVATE_UDDI);
-
- removeRadio_ = new Button(parent, SWT.RADIO);
- removeRadio_.setText(UDDIRegistryMessages.BUTTON_REMOVE_UDDI_REGISTRY);
- removeRadio_.setSelection(false);
- removeRadio_.addListener(SWT.Selection, listener);
- removeRadio_.setToolTipText(UDDIRegistryMessages.TOOLTIP_PUPR_REMOVE_PRIVATE_UDDI);
- helpSystem.setHelp(removeRadio_, INFOPOP_PUPR_REMOVE_PRIVATE_UDDI);
-
- loadTypes();
- init();
- return this;
- }
-
- private final void loadTypes()
- {
- types_ = PrivateUDDIRegistryTypeRegistry.getInstance().getTypes();
- }
-
- private final void init()
- {
- for (int i = 0; i < types_.length; i++)
- {
- if (types_[i] != null)
- {
- typesCombo_.add(types_[i].getName());
- if (types_[i].isPrivateUDDIRegistryInstalled())
- installedType_ = types_[i];
- }
- }
- if (typesCombo_.getItemCount() > 0)
- typesCombo_.setText(typesCombo_.getItem(0));
- if (installedType_ != null)
- {
- updateRadio_.setEnabled(true);
- removeRadio_.setEnabled(true);
- }
- else
- {
- updateRadio_.setEnabled(false);
- removeRadio_.setEnabled(false);
- }
- }
-
- private void handleWidgetEvent(Event event)
- {
- if (event.widget == removeRadio_ || event.widget == updateRadio_)
- {
- boolean isUpdateOrRemoveSelected = ((Button)event.widget).getSelection();
- typesLabel_.setEnabled(!isUpdateOrRemoveSelected);
- typesCombo_.setEnabled(!isUpdateOrRemoveSelected);
- }
- else if (event.widget == deployRadio_)
- {
- boolean isDeploySelected = ((Button)event.widget).getSelection();
- typesLabel_.setEnabled(isDeploySelected);
- typesCombo_.setEnabled(isDeploySelected);
- }
- statusListener.handleEvent(event);
- }
-
- public PrivateUDDIRegistryType getPrivateUDDIRegistryType()
- {
- if (deployRadio_.getSelection())
- {
- String selectedRegistryName = typesCombo_.getText();
- for (int i = 0; i < types_.length; i++)
- if (selectedRegistryName.equals(types_[i].getName()))
- return types_[i];
- return null;
- }
- else
- return installedType_;
- }
-
- public byte getOperationType()
- {
- if (deployRadio_.getSelection())
- return PrivateUDDIRegistryType.OP_DEPLOY;
- else if (updateRadio_.getSelection())
- return PrivateUDDIRegistryType.OP_UPDATE;
- else if (removeRadio_.getSelection())
- return PrivateUDDIRegistryType.OP_REMOVE;
- else
- return PrivateUDDIRegistryType.OP_DEPLOY;
- }
-
- public IStatus getStatus()
- {
- PrivateUDDIRegistryType privateUDDIRegistryType = getPrivateUDDIRegistryType();
- if (privateUDDIRegistryType != null)
- return privateUDDIRegistryType.getOperationStatus(getOperationType());
- else
- return StatusUtils.errorStatus( UDDIRegistryMessages.MSG_ERROR_NO_UDDI_REGISTRY_AVAILABLE );
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidgetConditionCommand.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidgetConditionCommand.java
deleted file mode 100644
index 3141b637c..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/PrivateUDDISelectionWidgetConditionCommand.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry.widgets;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class PrivateUDDISelectionWidgetConditionCommand extends AbstractDataModelOperation implements Condition
-{
- private boolean condition;
-
- public PrivateUDDISelectionWidgetConditionCommand()
- {
- condition = true;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- condition = !condition;
- return Status.OK_STATUS;
- }
-
- public IStatus undo( IProgressMonitor monitor, IAdaptable adaptable )
- {
- condition = !condition;
- return Status.OK_STATUS;
- }
-
- public boolean evaluate()
- {
- return condition;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/binding/PrivateUDDIWidgetBinding.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/binding/PrivateUDDIWidgetBinding.java
deleted file mode 100644
index a9d5aca2c..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/widgets/binding/PrivateUDDIWidgetBinding.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry.widgets.binding;
-
-import org.eclipse.jst.ws.internal.uddiregistry.UDDIRegistryMessages;
-import org.eclipse.jst.ws.internal.uddiregistry.widgets.PrivateUDDISelectionCommand;
-import org.eclipse.jst.ws.internal.uddiregistry.widgets.PrivateUDDISelectionCommandFragment;
-import org.eclipse.jst.ws.internal.uddiregistry.widgets.PrivateUDDISelectionWidget;
-import org.eclipse.jst.ws.internal.uddiregistry.widgets.PrivateUDDISelectionWidgetConditionCommand;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
-
-
-public class PrivateUDDIWidgetBinding implements CommandWidgetBinding
-{
- private CanFinishRegistry canFinishRegistry;
- private WidgetRegistry widgetRegistry;
- private DataMappingRegistry dataMappingRegistry;
- private PrivateUDDISelectionCommandFragment privateUDDISelFragment;
- private PrivateUDDISelectionWidgetConditionCommand conditionCommand;
-
- public PrivateUDDIWidgetBinding()
- {
- privateUDDISelFragment = new PrivateUDDISelectionCommandFragment();
- conditionCommand = new PrivateUDDISelectionWidgetConditionCommand();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
- */
- public CommandFragmentFactory create()
- {
- return new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- SequenceFragment root = new SequenceFragment();
- root.add(new SimpleFragment(conditionCommand, ""));
- root.add(new SimpleFragment("PrivateUDDISelectionWidget"));
- root.add(new SimpleFragment(conditionCommand, ""));
- root.add(new SimpleFragment(new PrivateUDDISelectionCommand(), ""));
- root.add(privateUDDISelFragment);
- return root;
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- this.canFinishRegistry = canFinishRegistry;
- privateUDDISelFragment.registerCanFinish(this.canFinishRegistry);
-
- canFinishRegistry.addCondition(conditionCommand);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- dataMappingRegistry = dataRegistry;
- privateUDDISelFragment.registerDataMappings(dataMappingRegistry);
-
- // PrivateUDDISelectionCommand
- dataMappingRegistry.addMapping(PrivateUDDISelectionWidget.class, "PrivateUDDIRegistryType", PrivateUDDISelectionCommand.class);
- dataMappingRegistry.addMapping(PrivateUDDISelectionWidget.class, "OperationType", PrivateUDDISelectionCommand.class);
-
- // PrivateUDDISelectionCommandFragment
- dataMappingRegistry.addMapping(PrivateUDDISelectionWidget.class, "PrivateUDDIRegistryType", PrivateUDDISelectionCommandFragment.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
- this.widgetRegistry = widgetRegistry;
- privateUDDISelFragment.registerWidgetMappings(this.widgetRegistry);
-
- widgetRegistry.add("PrivateUDDISelectionWidget",
- UDDIRegistryMessages.PAGE_TITLE_PRIVATE_UDDI_CONFIG,
- UDDIRegistryMessages.PAGE_DESC_PRIVATE_UDDI_CONFIG,
- new WidgetContributorFactory()
- {
- public WidgetContributor create()
- {
- return new PrivateUDDISelectionWidget();
- }
- }
- );
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryType.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryType.java
deleted file mode 100644
index 7e48cf0cc..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryType.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.uddiregistry.wizard;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-
-
-public interface PrivateUDDIRegistryType extends CommandWidgetBinding
-{
- // operation types
- public static byte OP_DEPLOY = 0x0;
- public static byte OP_UPDATE = 0x1;
- public static byte OP_REMOVE = 0x2;
-
- // general information
- public String getID();
- public String getName();
- public boolean isPrivateUDDIRegistryInstalled();
- public IStatus getOperationStatus(byte operation);
-
- // registry URLs
- public String getInquiryAPI();
- public String getPublishAPI();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeImpl.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeImpl.java
deleted file mode 100644
index 79d092128..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeImpl.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.uddiregistry.wizard;
-
-import java.util.Enumeration;
-import java.util.Vector;
-import org.eclipse.jst.ws.internal.uddiregistry.widgets.binding.PrivateUDDIWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-
-
-public class PrivateUDDIRegistryTypeImpl implements org.eclipse.jst.ws.internal.ui.uddi.PrivateUDDIRegistryType
-{
- public PrivateUDDIRegistryTypeImpl() {
- }
-
- public boolean isPrivateUDDIRegistryInstalled() {
- PrivateUDDIRegistryType[] types = PrivateUDDIRegistryTypeRegistry.getInstance().getTypes();
- for (int i = 0; i < types.length; i++) {
- if (types[i].isPrivateUDDIRegistryInstalled())
- return true;
- }
- return false;
- }
-
- public String[] getPrivateUDDIRegistryInquiryAPI() {
- Vector inquiryAPIVector = new Vector();
- PrivateUDDIRegistryType[] types = PrivateUDDIRegistryTypeRegistry.getInstance().getTypes();
- for (int i = 0; i < types.length; i++) {
- if (types[i].isPrivateUDDIRegistryInstalled()) {
- String inquiryAPI = types[i].getInquiryAPI();
- if (inquiryAPI != null && inquiryAPI.startsWith("http"))
- inquiryAPIVector.add(inquiryAPI);
- }
- }
-
- String[] inquiryAPIArray = new String[inquiryAPIVector.size()];
- Enumeration e = inquiryAPIVector.elements();
- int j = 0;
- while(e.hasMoreElements()) {
- inquiryAPIArray[j] = (String)e.nextElement();
- j++;
- }
- return inquiryAPIArray;
- }
-
- public String[] getPrivateUDDIRegistryPublishAPI() {
- Vector publishAPIVector = new Vector();
- PrivateUDDIRegistryType[] types = PrivateUDDIRegistryTypeRegistry.getInstance().getTypes();
- for (int i = 0; i < types.length; i++) {
- if (types[i].isPrivateUDDIRegistryInstalled()) {
- String publishAPI = types[i].getPublishAPI();
- if (publishAPI != null && publishAPI.startsWith("http"))
- publishAPIVector.add(publishAPI);
- }
- }
-
- String[] publishAPIArray = new String[publishAPIVector.size()];
- Enumeration e = publishAPIVector.elements();
- int j = 0;
- while(e.hasMoreElements()) {
- publishAPIArray[j] = (String)e.nextElement();
- j++;
- }
- return publishAPIArray;
- }
-
- public CommandWidgetBinding getBinding()
- {
- return new PrivateUDDIWidgetBinding();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeRegistry.java b/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeRegistry.java
deleted file mode 100644
index 375510e49..000000000
--- a/bundles/org.eclipse.jst.ws.uddiregistry/src/org/eclipse/jst/ws/internal/uddiregistry/wizard/PrivateUDDIRegistryTypeRegistry.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.uddiregistry.wizard;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import com.ibm.icu.util.StringTokenizer;
-
-public class PrivateUDDIRegistryTypeRegistry {
-
- private static PrivateUDDIRegistryTypeRegistry instance_;
- private IConfigurationElement[] configElements_;
-
- private PrivateUDDIRegistryTypeRegistry() {
- }
-
- /**
- * Returns a singleton instance of this class.
- * @return A singleton WebServiceClientTypeRegistry object.
- */
- public static PrivateUDDIRegistryTypeRegistry getInstance() {
- if (instance_ == null) {
- instance_ = new PrivateUDDIRegistryTypeRegistry();
- instance_.getConfigElements();
- }
- return instance_;
- }
-
- public IConfigurationElement[] getConfigElements() {
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- configElements_ = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.uddiregistry",
- "privateUDDIRegistryType");
- Vector v = new Vector();
- for (int i = 0; i < configElements_.length; i++)
- {
- int weight = getWeight(configElements_[i]);
- int index = -1;
- for (int j = v.size()-1; j >= 0; j--)
- {
- if (weight > getWeight((IConfigurationElement)v.get(j)))
- index = j;
- else
- break;
- }
- if (index != -1)
- v.add(index, configElements_[i]);
- else
- v.add(configElements_[i]);
- }
- v.copyInto(configElements_);
- return configElements_;
- }
-
- private int getWeight(IConfigurationElement e)
- {
- try
- {
- return Integer.parseInt(e.getAttribute("weight"));
- }
- catch (NumberFormatException nfe)
- {
- return -1;
- }
- }
-
- private IConfigurationElement getConfigElementByID(String id) {
- for (int i = 0; i <configElements_.length; i++) {
- if (configElements_[i].getAttribute("id").equals(id))
- return configElements_[i];
- }
- return null;
- }
-
- public PrivateUDDIRegistryType[] getTypes() {
- Vector types = new Vector();
- for (int i = 0; i < configElements_.length; i++) {
- try {
- Object typeObj = configElements_[i].createExecutableExtension("class");
- if (typeObj instanceof PrivateUDDIRegistryType)
- types.add(typeObj);
- }
- catch (Exception e) {}
- }
-
- PrivateUDDIRegistryType[] typesArray = new PrivateUDDIRegistryType[types.size()];
- for (int j = 0; j < types.size(); j++) {
- typesArray[j] = (PrivateUDDIRegistryType)types.elementAt(j);
- }
- return typesArray;
- }
-
- public PrivateUDDIRegistryType getTypeByID(String id) {
- try {
- Object typeObj = getConfigElementByID(id).createExecutableExtension("class");
- if (typeObj instanceof PrivateUDDIRegistryType)
- return (PrivateUDDIRegistryType)typeObj;
- }
- catch (Exception e) {}
- return null;
- }
-
- public String[] getSupportedServerFactoryIDByID(String id) {
- IConfigurationElement configElement = getConfigElementByID(id);
- if (configElement == null)
- return new String[0];
- Vector idVector = new Vector();
- StringTokenizer st = new StringTokenizer(configElement.getAttribute("serverFactoryID"), ",");
- while (st.hasMoreTokens()) {
- idVector.add(st.nextToken());
- }
- String[] ids = new String[idVector.size()];
- for (int i = 0; i < idVector.size(); i++) {
- ids[i] = (String)idVector.elementAt(i);
- }
- return ids;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/.classpath b/bundles/org.eclipse.jst.ws.ui/.classpath
deleted file mode 100644
index cb0105380..000000000
--- a/bundles/org.eclipse.jst.ws.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws.ui/.cvsignore b/bundles/org.eclipse.jst.ws.ui/.cvsignore
deleted file mode 100644
index 5deffe563..000000000
--- a/bundles/org.eclipse.jst.ws.ui/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-build.xml
-temp.folder
-ws-ui.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.jst.ws.ui/.project b/bundles/org.eclipse.jst.ws.ui/.project
deleted file mode 100644
index d401669e3..000000000
--- a/bundles/org.eclipse.jst.ws.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index af2a5be27..000000000
--- a/bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:37:07 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index df6fea3cc..000000000
--- a/bundles/org.eclipse.jst.ws.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:45 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 3c44f8dac..000000000
--- a/bundles/org.eclipse.jst.ws.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,34 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.ui; singleton:=true
-Bundle-Version: 1.0.101.qualifier
-Bundle-Activator: org.eclipse.jst.ws.internal.ui.plugin.WebServiceUIPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.internal.ui;x-internal:=true,
- org.eclipse.jst.ws.internal.ui.action;x-internal:=true,
- org.eclipse.jst.ws.internal.ui.common;x-internal:=true,
- org.eclipse.jst.ws.internal.ui.dialog;x-internal:=true,
- org.eclipse.jst.ws.internal.ui.plugin;x-internal:=true,
- org.eclipse.jst.ws.internal.ui.preferences;x-internal:=true,
- org.eclipse.jst.ws.internal.ui.uddi;x-internal:=true
-Require-Bundle: org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.jdt.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.emf.ecore;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.ws.explorer;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jst.j2ee.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.jst.ws.ui/about.html b/bundles/org.eclipse.jst.ws.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws.ui/build.properties b/bundles/org.eclipse.jst.ws.ui/build.properties
deleted file mode 100644
index e1dec33b5..000000000
--- a/bundles/org.eclipse.jst.ws.ui/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-source.. = src/
-bin.includes = .,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- META-INF/,\
- about.html
diff --git a/bundles/org.eclipse.jst.ws.ui/icons/jar_obj.gif b/bundles/org.eclipse.jst.ws.ui/icons/jar_obj.gif
deleted file mode 100644
index 152f4f2b3..000000000
--- a/bundles/org.eclipse.jst.ws.ui/icons/jar_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.jst.ws.ui/plugin.properties b/bundles/org.eclipse.jst.ws.ui/plugin.properties
deleted file mode 100644
index bf5d6cf21..000000000
--- a/bundles/org.eclipse.jst.ws.ui/plugin.properties
+++ /dev/null
@@ -1,48 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Graphical User Interface
-PLUGIN_PROVIDER=Eclipse.org
-
-PLUGIN_NEW_CATEGORY_NAME_WS=Web Services
-
-#
-# Web Services Preferance Pages
-#
-# Categories
-PREFERENCE_CATEGORY_RESOURCE_MANAGEMENT=Resource Management
-
-#
-# WS-I Preference pages
-#
-# WS-I Compliance Page
-#
-PREFERENCE_CATEGORY_WSI=WS-I Compliance
-
-#
-# Popup action Category
-#
-LABEL_POPUP_CATEGORY_WEB_SERVICES=Web Services
-
-#
-# Messages for popup action (Test with Web Services Explorer)
-#
-POPUP_TEST_WSDL=Test with Web Services Explorer
-
-
-
-
-
-
-
diff --git a/bundles/org.eclipse.jst.ws.ui/plugin.xml b/bundles/org.eclipse.jst.ws.ui/plugin.xml
deleted file mode 100644
index dc5fd1d73..000000000
--- a/bundles/org.eclipse.jst.ws.ui/plugin.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <extension
- point="org.eclipse.ui.newWizards">
- <category
- name="%PLUGIN_NEW_CATEGORY_NAME_WS"
- id="org.eclipse.jst.ws.ui.new">
- </category>
- </extension>
-
- <extension
- point="org.eclipse.ui.preferencePages">
-
- <page
- name="%PREFERENCE_CATEGORY_RESOURCE_MANAGEMENT"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.jst.ws.internal.ui.preferences.ResourceManagmentPreferencePage"
- id="org.eclipse.jst.ws.internal.ui.preferences.ResourceManagmentPreferencePage">
- </page>
-
- </extension>
-
- <extension
- point="org.eclipse.ui.propertyPages">
-
-
-
- </extension>
-
- <extension
- point="org.eclipse.ui.popupMenus">
-
- <objectContribution
- objectClass="org.eclipse.core.resources.IResource"
- adaptable="true"
- id="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu">
- <menu
- label="%LABEL_POPUP_CATEGORY_WEB_SERVICES"
- path="additions"
- id="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu">
- <separator
- name="popupActions">
- </separator>
- </menu>
- </objectContribution>
-
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.ejb.EnterpriseBean"
- adaptable="true"
- id="org.eclipse.jst.ws.atk.ui.webservice.category.ejb.popupMenu">
- <menu
- label="%LABEL_POPUP_CATEGORY_WEB_SERVICES"
- path="additions"
- id="org.eclipse.jst.ws.atk.ui.webservice.category.ejb.popupMenu">
- <separator
- name="popupActions">
- </separator>
- </menu>
- </objectContribution>
-
-
- <objectContribution
- objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.action.WSDLFileMenu">
- <action
- label="%POPUP_TEST_WSDL"
- class="org.eclipse.jst.ws.internal.ui.popup.PopupTestService"
- menubarPath="additions"
- id="org.eclipse.jst.ws.internal.ui.popup.PopupTestService">
- </action>
- </objectContribution>
- </extension>
-
-</plugin>
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPlugin.properties b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPlugin.properties
deleted file mode 100644
index 29f6f2fce..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPlugin.properties
+++ /dev/null
@@ -1,116 +0,0 @@
-###############################################################################
-# Copyright (c) 2004, 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
-# -------- -------- -----------------------------------------------------------
-# 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
-# 20060329 128827 kathy@ca.ibm.com - Kathy Chan
-# 20060329 124667 kathy@ca.ibm.com - Kathy Chan
-# 20060331 128827 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Graphical User Interface
-PLUGIN_VENDOR=Eclipse.org
-PLUGIN_DESC=\
-The Web services GUI plugin delivers the graphical \
-user interface to the Web services function of the \
-Web services plugin.
-
-PLUGIN_NEW_CATEGORY_NAME_WS=Web Services
-
-#
-# Web Services Preferance Pages
-#
-# Categories
-PREFERENCE_CATEGORY_RESOURCE_MANAGEMENT=Resource Management
-PREFERENCE_CATEGORY_CODE_GENERATION=Code Generation
-PREFERENCE_CATEGORY_SCENARIO_DEFAULTS=Scenario Defaults
-PREFERENCE_CATEGORY_PROJECT_TOPOLOGY=Project Topology
-PREFERENCE_CATEGORY_DRIVER_JARS=JDBC drivers
-
-#
-#Scenario Defaults
-BUTTON_LAUNCH_SAMPLE=&Launch the sample when generated
-LABEL_MOVE_UP=Move &up
-LABEL_MOVE_DOWN=Move &down
-LABEL_MOVE_UP_2=Move u&p
-LABEL_MOVE_DOWN_2=Move dow&n
-
-#
-# Preferences Tooltips
-#
-
-#Scenario Defaults
-TOOLTIP_PPSD_PAGE=Set the defaults for the Web service scenarios.
-TOOLTIP_PPSD_CHECKBOX_LAUNCH_SAMPLE=Launch the sample application after generation.
-TOOLTIP_SERVICE_TYPE_TABLE_VIEWER=Preferred order of the list of service project types
-TOOLTIP_CLIENT_TYPE_TABLE_VIEWER=Preferred order of the list of client project types
-TOOLTIP_MOVE_UP=Move the selected project type up the list
-TOOLTIP_MOVE_DOWN=Move the selected project type down the list
-
-#
-# Resource Managment
-TOOLTIP_PPRM_PAGE=Set preferences that control resources used/generated by the Web service.
-TOOLTIP_PPRM_CHECKBOX_OVERWRITE_FILES=Overwrite files without warning.
-TOOLTIP_PPRM_CHECKBOX_CREATE_FOLDERS=Create folders when necessary.
-TOOLTIP_PPRM_CHECKBOX_CHECK_OUT=Check out files without warning.
-TOOLTIP_PPRM_CHECKBOX_SKELETON_MERGE=Enable merging of generated skeleton file.
-BUTTON_CREATE_FOLDERS=&Create folders when necessary
-BUTTON_OVERWRITE_FILES=&Overwrite files without warning
-BUTTON_CHECKOUT_FILES=C&heck out files without warning
-BUTTON_SKELETON_MERGE=&Merge generated skeleton file.
-
-#
-# General messages.
-#
-ISTATUS_WITHOUT_EXCEPTION={0}
-ISTATUS_WITH_EXCEPTION={0}\nException: {1}
-MSG_INFO_SAVED_STATUS=IWAB0297I Press the Details button to see informational messages.
-
-#
-# TypeSelectionDialog
-#
-DIALOG_TITLE_CLASS_BROWSE=Browse Classes
-DIALOG_TITLE_INTERFACE_BROWSE=Browse Interfaces
-
-#
-# Common wizard strings.
-#
-LABEL_SAMPLE_TYPES=Java proxy sample
-
-#
-# ResourceSelectionDialog
-#
-DIALOG_TITLE_RESOURCE_BROWSE=Browse Files
-LABEL_RESOURCE_FILTER=Filter:
-
-#
-# Tooltips for dialog.ResourceSelectionDialog
-# DRES=Dialog/RESources
-#
-TOOLTIP_DRES_COMBO_RESOURCE_TYPE=Type of resources to browse.
-TOOLTIP_DRES_TREE_RESOURCE=Resources available for selection.
-
-#
-# Messages for project topology preference page
-#
-TOOLTIP_PTPP_PAGE=Preference that control the project topology of your Web service and client scenarios.
-TOOLTIP_ENABLE_TWO_EARS=Enable this option if you want to generate your Web service and Web service client in different EAR projects.
-
-LABEL_ENABLE_TWO_EARS=&Generate Web service and Web service client in different EAR projects
-LABEL_CLIENT_TYPE_NAME=Client project types
-LABEL_SERVICE_TYPE_NAME=Service project types
-#
-# Resource Browser
-#
-DIALOG_TITLE_RESOURCE_BROWSER=Resource browser
-TOOLTIP_RESOURCE_TREE=Choose a resource.
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPluginMessages.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPluginMessages.java
deleted file mode 100644
index f5fb8f4b4..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/WSUIPluginMessages.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060329 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060329 124667 kathy@ca.ibm.com - Kathy Chan
- * 20060331 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060515 141398 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class WSUIPluginMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.ui.WSUIPlugin";//$NON-NLS-1$
-
- private WSUIPluginMessages() {
- // Do not instantiate
- }
-
- public static String PLUGIN_NAME;
- public static String PLUGIN_VENDOR;
- public static String PLUGIN_DESC;
- public static String PLUGIN_NEW_CATEGORY_NAME_WS;
- public static String PREFERENCE_CATEGORY_RESOURCE_MANAGEMENT;
- public static String PREFERENCE_CATEGORY_CODE_GENERATION;
- public static String PREFERENCE_CATEGORY_SCENARIO_DEFAULTS;
- public static String PREFERENCE_CATEGORY_PROJECT_TOPOLOGY;
- public static String PREFERENCE_CATEGORY_DRIVER_JARS;
- public static String BUTTON_LAUNCH_SAMPLE;
- public static String LABEL_MOVE_UP;
- public static String LABEL_MOVE_DOWN;
- public static String LABEL_MOVE_UP_2;
- public static String LABEL_MOVE_DOWN_2;
- public static String TOOLTIP_PPSD_PAGE;
- public static String TOOLTIP_PPSD_CHECKBOX_LAUNCH_SAMPLE;
- public static String TOOLTIP_CLIENT_TYPE_TABLE_VIEWER;
- public static String TOOLTIP_SERVICE_TYPE_TABLE_VIEWER;
- public static String TOOLTIP_MOVE_UP;
- public static String TOOLTIP_MOVE_DOWN;
- public static String TOOLTIP_PPRM_PAGE;
- public static String TOOLTIP_PPRM_CHECKBOX_OVERWRITE_FILES;
- public static String TOOLTIP_PPRM_CHECKBOX_CREATE_FOLDERS;
- public static String TOOLTIP_PPRM_CHECKBOX_CHECK_OUT;
- public static String TOOLTIP_PPRM_CHECKBOX_SKELETON_MERGE;
- public static String BUTTON_CREATE_FOLDERS;
- public static String BUTTON_OVERWRITE_FILES;
- public static String BUTTON_CHECKOUT_FILES;
- public static String BUTTON_SKELETON_MERGE;
- public static String ISTATUS_WITHOUT_EXCEPTION;
- public static String ISTATUS_WITH_EXCEPTION;
- public static String MSG_INFO_SAVED_STATUS;
- public static String DIALOG_TITLE_CLASS_BROWSE;
- public static String DIALOG_TITLE_INTERFACE_BROWSE;
- public static String LABEL_SAMPLE_TYPES;
- public static String DIALOG_TITLE_RESOURCE_BROWSE;
- public static String LABEL_RESOURCE_FILTER;
- public static String TOOLTIP_DRES_COMBO_RESOURCE_TYPE;
- public static String TOOLTIP_DRES_TREE_RESOURCE;
- public static String TOOLTIP_PTPP_PAGE;
- public static String TOOLTIP_ENABLE_TWO_EARS;
- public static String LABEL_ENABLE_TWO_EARS;
- public static String LABEL_CLIENT_TYPE_NAME;
- public static String DIALOG_TITLE_RESOURCE_BROWSER;
- public static String TOOLTIP_RESOURCE_TREE;
- public static String LABEL_SERVICE_TYPE_NAME;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, WSUIPluginMessages.class);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/LaunchImportWizardAction.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/LaunchImportWizardAction.java
deleted file mode 100644
index 825db1990..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/LaunchImportWizardAction.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui.action;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.ui.IActionDelegate;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard;
-
-
-/**
- * This class launches the import wizard.
- */
-public class LaunchImportWizardAction implements IActionDelegate
-{
- private IStructuredSelection selection_;
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- */
- public void run(IAction action)
- {
- DynamicWizard wizard = new DynamicWizard();
-
- try
- {
- wizard.setInitialData( "org.eclipse.jst.ws.consumption.ui.wsimport" );
- wizard.init( PlatformUI.getWorkbench(), selection_ );
- }
- catch( CoreException exc )
- {
- // Do nothing.
- return;
- }
-
- WizardDialog dialog= new WizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard);
- dialog.setPageSize( 500, 400 );
- dialog.create();
- dialog.open();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
- */
- public void selectionChanged(IAction action, ISelection selection)
- {
- if( selection instanceof IStructuredSelection )
- {
- selection_ = (IStructuredSelection)selection;
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeploy.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeploy.java
deleted file mode 100644
index e8d48b71f..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeploy.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.action;
-import org.eclipse.core.resources.IResource;
-
-
-public interface WebServiceDeploy {
- public void run(IResource selection);
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeployAction.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeployAction.java
deleted file mode 100644
index a1db9cbbc..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WebServiceDeployAction.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.action;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-
-public class WebServiceDeployAction extends WindowActionDelegate {
-public void run(org.eclipse.jface.action.IAction action) {
-
- IProject project = getSelectedResourceProject();
-
- String [] typeIds = ServerUtils.getServerTypeIdsByModule(project);
- Object theAction = null;
-
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] elements = reg.getConfigurationElementsFor("org.eclipse.jst.ws.ui", "webservicedeploy");
- try {
-
- if (typeIds == null || typeIds.length <= 0)
- {
- // that means the module is not attached to a server then pick the first extension found
- theAction = elements[0].createExecutableExtension("class");
- }
- else if ( typeIds.length == 1)
- {
- // that means the module is attached to one server then finds it id and a matchin extension or give a message
- for (int i = 0; i < elements.length; i++)
- {
- String id = elements[i].getAttribute("factoryId");
- if ( typeIds[0].equals(id))
- {
- theAction = elements[i].createExecutableExtension("class");
- break;
- }
- }
- if (theAction == null )
- {
- // give a message
- }
- }
- else
- {
- // The module is attached to more than one server find the first server-extension couple
- // TBD: add a dialog to choose the server for deployment
- for (int i = 0; i < elements.length; i++)
- {
- String id = elements[i].getAttribute("factoryId");
- for ( int k=0; k< typeIds.length; k++)
- {
- if ( typeIds[k].equals(id))
- {
- theAction = elements[i].createExecutableExtension("class");
- break;
- }
- }
- if (theAction != null) break;
- }
- if (theAction == null)
- {
- // give a Message
- }
- }
-
- if (theAction instanceof WebServiceDeploy)
- ((WebServiceDeploy)theAction).run(project);
- }
-
- catch (Exception e) {}
-}
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WindowActionDelegate.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WindowActionDelegate.java
deleted file mode 100644
index 837e28409..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/action/WindowActionDelegate.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.action;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.ui.IWorkbenchWindowActionDelegate;
-
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-
-
-public abstract class WindowActionDelegate implements IWorkbenchWindowActionDelegate {
-protected IStructuredSelection fSelection;
-
-public WindowActionDelegate() {
- super();
- }
-
-public void dispose()
- {
- }
-
-public void init(org.eclipse.ui.IWorkbenchWindow window) { }
-
-public void selectionChanged(org.eclipse.jface.action.IAction action,
- org.eclipse.jface.viewers.ISelection selection) {
- if (selection instanceof IStructuredSelection)
- fSelection = (IStructuredSelection) selection;
- }
-
-public void setSelection(IStructuredSelection selection) {
- fSelection = selection;
-}
-public IStructuredSelection getSelection() {
- return fSelection;
-}
-
-public IProject getSelectedResourceProject() {
- IProject project = null;
- IResource resource_ = null;
- try {
- if (fSelection != null && fSelection.size() == 1) {
- Object obj = fSelection.getFirstElement();
-
- if (obj != null) {
- if ( obj instanceof IResource)
- {
- resource_ = (IResource) obj;
- }
- else if (obj instanceof ICompilationUnit)
- {
- ICompilationUnit compUnit = (ICompilationUnit)obj;
- resource_= compUnit.getCorrespondingResource();
- }
- else if (obj instanceof IJavaProject) {
- project = ((IJavaProject) obj).getProject();
- }
-
- else if (obj instanceof EObject) {
- project = ProjectUtilities.getProject((EObject) obj);
- }
-
- if ( resource_ != null )
- project = resource_.getProject();
-
- }
- }
- }
- catch (Exception e) {}
- return project;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/DialogResourceBrowser.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/DialogResourceBrowser.java
deleted file mode 100644
index 6d25ca1ea..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/DialogResourceBrowser.java
+++ /dev/null
@@ -1,218 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.common;
-
-import java.util.Iterator;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.viewers.DecoratingLabelProvider;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
-import org.eclipse.jst.ws.internal.ui.plugin.WebServiceUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.model.WorkbenchContentProvider;
-import org.eclipse.ui.model.WorkbenchLabelProvider;
-
-/**
-* This class provides a dialog for browsing workspace resources.
-*/
-public class DialogResourceBrowser extends Dialog
-{
- private final String INFOPOP_RESOURCE_TREE = WebServiceUIPlugin.ID + ".DRES0001";
-
- private IResource root_;
- private IFilter[] filters_;
- private boolean multipleSelectionEnabled_;
- private IResource[] selection_;
- private Tree resourceTree_;
- private TreeViewer fileViewer_;
-
- public DialogResourceBrowser(Shell shell, IResource root, IFilter filter)
- {
- this(shell, root, new IFilter[]{filter});
- }
-
- /**
- * Constructs a new <code>DialogResourceBrowser</code>
- * under the given <code>parent Shell</code>.
- * The dialog renders all resources including and
- * under the given <code>root IResource</code>
- * @param parent The parent {@link org.eclipse.swt.widgets.Shell}.
- * or null to create a top-level shell.
- * @param root The root {@link org.eclipse.core.resources.IResource},
- * or null to begin with the workspace root.
- * @param filters An array of java.lang.String
- */
- public DialogResourceBrowser(Shell shell, IResource root, IFilter[] filters)
- {
- super(shell);
-
- IResource moduleRoot = root;
- if (root instanceof IProject)
- {
- IProject p = (IProject)moduleRoot;
-
- moduleRoot = p;
-
- }
-
- root_ = (moduleRoot == null) ? ResourcesPlugin.getWorkspace().getRoot() : moduleRoot;
- filters_ = (filters == null) ? new IFilter[0] : filters;
- multipleSelectionEnabled_ = false;
- setShellStyle(SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL);
- }
-
- /**
- * Enables or disables multiple selection in the tree view.
- * Multiple selection is disabled by default.
- * @param multipleSelectionEnabled True to enabled or false to disable.
- */
- public void setMultipleSelectionEnabled(boolean multipleSelectionEnabled)
- {
- multipleSelectionEnabled_ = multipleSelectionEnabled;
- }
-
- /**
- * Returns the selections made in the dialog if OK was pressed,
- * or null if Cancel was pressed. Returns null if the dialog
- * has never been opened.
- * @return An array of selected resources, possibly empty, possibly null.
- */
- public IResource[] getSelection()
- {
- return selection_;
- }
-
- public IResource getFirstSelection()
- {
- if (selection_ != null && selection_.length > 0)
- return selection_[0];
- else
- return null;
- }
-
- /**
- * Called when the Cancel button is pressed.
- * Insures that {@link #getResult} will return null.
- */
- protected void cancelPressed()
- {
- selection_ = null;
- setReturnCode(Dialog.CANCEL);
- super.cancelPressed();
- }
-
- /**
- * Called when the OK button is pressed.
- * Squirrels away the list of zero or more selected
- * <code>IResource</code>s to be returned by {@link #getResult}.
- */
- protected void okPressed()
- {
- ISelection selection = fileViewer_.getSelection();
- if (selection instanceof IStructuredSelection)
- {
- IStructuredSelection structuredSelection = (IStructuredSelection)selection;
- selection_ = new IResource[structuredSelection.size()];
- int i = 0;
- Iterator it = structuredSelection.iterator();
- while (it.hasNext())
- {
- Object object = it.next();
- if (object instanceof IResource)
- selection_[i++] = (IResource)object;
- }
- }
- setReturnCode(Dialog.OK);
- super.okPressed();
- }
-
- /**
- * See {@link org.eclipse.jface.window.Window#configureShell}.
- * @param shell The shell.
- */
- protected void configureShell(Shell shell)
- {
- super.configureShell(shell);
- shell.setText(WSUIPluginMessages.DIALOG_TITLE_RESOURCE_BROWSER);
- }
-
- /**
- * Creates the dialog area.
- * @param parent The parent composite.
- * @return The control area.
- */
- protected Control createDialogArea(Composite parent)
- {
- Composite composite = (Composite)super.createDialogArea(parent);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL);
- gd.widthHint = 400;
- gd.heightHint = 300;
- gd.grabExcessVerticalSpace = true;
- gd.grabExcessHorizontalSpace = true;
- composite.setLayoutData(gd);
-
- if (multipleSelectionEnabled_)
- {
- resourceTree_ = new Tree(composite,SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- }
- else
- {
- resourceTree_ = new Tree(composite,SWT.SINGLE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- }
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL);
- gd.grabExcessVerticalSpace = true;
- gd.grabExcessHorizontalSpace = true;
- resourceTree_.setLayoutData(gd);
- resourceTree_.setToolTipText(WSUIPluginMessages.TOOLTIP_RESOURCE_TREE);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(resourceTree_, INFOPOP_RESOURCE_TREE);
-
- fileViewer_ = new TreeViewer(resourceTree_);
- fileViewer_.setContentProvider(new WorkbenchContentProvider());
- fileViewer_.setLabelProvider(new DecoratingLabelProvider(new WorkbenchLabelProvider(), WebServiceUIPlugin.getInstance().getWorkbench().getDecoratorManager().getLabelDecorator()));
- fileViewer_.addFilter(
- new ViewerFilter()
- {
- public boolean select(Viewer viewer, Object parentObject, Object object)
- {
- if ((object instanceof IResource) && ((IResource)object).getType() != IResource.FILE)
- return true;
- else
- {
- for (int i = 0; i < filters_.length; i++)
- {
- if (filters_[i].accepts(object))
- return true;
- }
- return false;
- }
- }
- }
- );
- fileViewer_.setInput(root_);
- return composite;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/FileExtensionFilter.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/FileExtensionFilter.java
deleted file mode 100644
index ed355c40d..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/FileExtensionFilter.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.common;
-
-import org.eclipse.core.resources.IFile;
-
-/**
-* This is the interface for a class of objects that filter
-* other objects for inclusion or exclusion by some consumer.
-*/
-public class FileExtensionFilter implements IFilter
-{
- private String[] extensions_;
-
- public FileExtensionFilter(String[] extensions)
- {
- extensions_ = (extensions != null) ? extensions : new String[0];
- }
-
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName()
- {
- return "org.eclipse.jst.ws.atk.ui.editor.common.FileExtensionFilter";
- }
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription()
- {
- return "org.eclipse.jst.ws.atk.ui.editor.common.FileExtensionFilter";
- }
-
- /**
- * Returns true if and only if this <code>Filter</code>
- * accepts the given <code>object</code>. This method
- * must return true if and only if {@link #statusOf}
- * returns an <code>IStatus</code> with a severity of
- * less than <code>IStatus.ERROR</code>.
- * @param object The object to filter.
- * @return True if and only if this <code>Filter</code>
- * accepts the given <code>object</code>.
- */
- public boolean accepts(Object object)
- {
- if (object instanceof IFile)
- {
- IFile file = (IFile)object;
- for (int i = 0; i < extensions_.length; i++)
- {
- if (file.getFileExtension() != null && file.getFileExtension().equals(extensions_[i]))
- return true;
- }
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/IFilter.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/IFilter.java
deleted file mode 100644
index 2e5db8b50..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/IFilter.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.common;
-
-/**
-* This is the interface for a class of objects that filter
-* other objects for inclusion or exclusion by some consumer.
-*/
-public interface IFilter
-{
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName();
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription();
-
- /**
- * Returns true if and only if this <code>Filter</code>
- * accepts the given <code>object</code>. This method
- * must return true if and only if {@link #statusOf}
- * returns an <code>IStatus</code> with a severity of
- * less than <code>IStatus.ERROR</code>.
- * @param object The object to filter.
- * @return True if and only if this <code>Filter</code>
- * accepts the given <code>object</code>.
- */
- public boolean accepts(Object object);
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/UIUtils.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/UIUtils.java
deleted file mode 100644
index 24793c45f..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/common/UIUtils.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060817 140017 makandre@ca.ibm.com - Andrew Mak, longer project or server/runtime strings do not resize wizard
- * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui.common;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Point;
-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.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.ui.PlatformUI;
-
-
-public class UIUtils
-{
- /**
- * A default padding value for horizontalResize().
- */
- public final static int DEFAULT_PADDING = 35;
-
- String infoPopid_;
-
- public UIUtils( String infoPopid )
- {
- infoPopid_ = infoPopid;
- }
-
- public Button createRadioButton( Composite parent, String labelName, String tooltip, String infopop )
- {
- return createButton( SWT.RADIO, parent, labelName, tooltip, infopop );
- }
-
- public Button createCheckbox( Composite parent, String labelName, String tooltip, String infopop )
- {
- return createButton( SWT.CHECK, parent, labelName, tooltip, infopop );
- }
-
- public Button createPushButton( Composite parent, String labelName, String tooltip, String infopop )
- {
- return createButton( SWT.NONE, parent, labelName, tooltip, infopop );
- }
-
- public Button createButton( int kind, Composite parent, String labelName, String tooltip, String infopop )
- {
- Button button = new Button( parent, kind );
-
- tooltip = tooltip == null ? labelName : tooltip;
- button.setText( labelName );
- button.setToolTipText( tooltip );
-
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( button, infoPopid_ + "." + infopop );
-
- return button;
- }
-
- public Combo createCombo( Composite parent, String labelName, String tooltip, String infopop, int style )
- {
- tooltip = tooltip == null ? labelName : tooltip;
-
- if( labelName != null )
- {
- Label label = new Label( parent, SWT.WRAP);
- label.setText( labelName );
- label.setToolTipText( tooltip );
- }
-
- Combo combo = new Combo( parent, style );
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
-
- combo.setLayoutData( griddata );
- combo.setToolTipText( tooltip );
-
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( combo, infoPopid_ + "." + infopop );
-
- return combo;
- }
-
- public Text createText( Composite parent, String labelName, String tooltip, String infopop, int style )
- {
- tooltip = tooltip == null ? labelName : tooltip;
-
- if( labelName != null )
- {
- Label label = new Label( parent, SWT.WRAP);
- label.setText( labelName );
- label.setToolTipText( tooltip );
- }
-
- Text text = new Text( parent, style );
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
-
- text.setLayoutData( griddata );
- text.setToolTipText( tooltip);
-
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( text, infoPopid_ + "." + infopop );
-
- return text;
- }
-
- public Composite createComposite( Composite parent, int columns )
- {
- return createComposite( parent, columns, -1, -1 );
- }
-
- public Composite createComposite( Composite parent, int columns, int marginHeight, int marginWidth )
- {
- Composite composite = new Composite( parent, SWT.NONE );
-
- GridLayout gridlayout = new GridLayout();
- gridlayout.numColumns = columns;
-
- if( marginHeight >= 0 ) gridlayout.marginHeight = marginHeight;
- if( marginWidth >= 0 ) gridlayout.marginWidth = marginWidth;
-
- composite.setLayout( gridlayout );
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- composite.setLayoutData( griddata );
-
- return composite;
-
- }
- public Group createGroup( Composite parent, String groupName, String tooltip, String infopop )
- {
- return createGroup( parent, groupName, tooltip, infopop, 1, -1, -1 );
- }
-
- public Group createGroup( Composite parent, String groupName, String tooltip, String infopop, int columns, int marginHeight, int marginWidth )
- {
- Group newGroup = new Group( parent, SWT.NONE );
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- GridLayout gridlayout = new GridLayout();
-
- gridlayout.numColumns = columns;
-
- if( marginHeight >= 0 ) gridlayout.marginHeight = marginHeight;
- if( marginWidth >= 0 ) gridlayout.marginWidth = marginWidth;
-
- tooltip = tooltip == null ? groupName : tooltip;
- newGroup.setLayout( gridlayout );
- newGroup.setText( groupName );
- newGroup.setLayoutData( griddata );
- newGroup.setToolTipText( tooltip );
-
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp(newGroup, infoPopid_ + "." + infopop);
-
- return newGroup;
- }
-
- public Tree createTree( Composite parent, String tooltip, String infopop, int style )
- {
-
- tooltip = tooltip == null ? "" : tooltip;
-
- Tree tree = new Tree( parent, style );
-
- tree.setLayoutData( createFillAll() );
- tree.setToolTipText( tooltip);
-
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( tree, infoPopid_ + "." + infopop );
-
- return tree;
-
- }
-
- public Table createTable( Composite parent, String tooltip, String infopop, int style )
- {
-
- tooltip = tooltip == null ? "" : tooltip;
-
- Table table = new Table( parent, style );
-
- //table.setLayoutData( createFillAll() );
- table.setToolTipText( tooltip);
-
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( table, infoPopid_ + "." + infopop );
-
- return table;
-
- }
-
- public Label createHorizontalSeparator( Composite parent, int spacing )
- {
- Composite composite = createComposite( parent, 1, spacing, -1 );
-
- Label separator = new Label( composite, SWT.SEPARATOR | SWT.HORIZONTAL );
-
- GridData griddata = new GridData( GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL );
- separator.setLayoutData( griddata );
-
- return separator;
- }
-
- public GridData createFillAll()
- {
- GridData data = new GridData( GridData.HORIZONTAL_ALIGN_FILL |
- GridData.GRAB_HORIZONTAL |
- GridData.VERTICAL_ALIGN_FILL |
- GridData.GRAB_VERTICAL );
- return data;
- }
-
- public void createInfoPop(Control ctrl, String infopop)
- {
- if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( ctrl, infoPopid_ + "." + infopop );
- }
-
- /**
- * Resizes the width of the target composite so that it is as wide as the
- * reference composite plus a padding value.
- *
- * @param target The composite to resize.
- * @param reference The reference composite
- * @param padding The padding value
- */
- public void horizontalResize(Composite target, Composite reference, int padding) {
-
- Point originalSize = target.getSize();
- Point referenceSize = reference.getSize();
-
- padding = padding >= 0 ? padding : DEFAULT_PADDING;
-
- if (referenceSize.x + padding > originalSize.x)
- target.setSize(referenceSize.x + padding, originalSize.y);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/DialogUtils.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/DialogUtils.java
deleted file mode 100644
index 1472a56e4..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/DialogUtils.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.dialog;
-
-import java.util.Vector;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jdt.core.search.IJavaSearchScope;
-import org.eclipse.jdt.core.search.SearchEngine;
-import org.eclipse.jdt.ui.IJavaElementSearchConstants;
-import org.eclipse.jdt.ui.JavaUI;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.operation.IRunnableContext;
-import org.eclipse.jface.wizard.IWizardContainer;
-import org.eclipse.jst.ws.internal.common.Filter;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.dialogs.ContainerSelectionDialog;
-import org.eclipse.ui.dialogs.SelectionDialog;
-
-
-/**
-* Contains utility methods for launching various common dialogs.
-*/
-public final class DialogUtils
-{
-
- /**
- * Raises a dialog for browsing containers.
- * @param parentShell The parent shell, optionally null.
- * @param initialPathname The initial selection.
- * @return The selected container or null if the dialog
- * is cancelled, or there is no selection, or the selection
- * is not a project or a folder.
- */
- public static String browseContainers ( Shell parentShell, String initialPathname )
- {
- String selectedPathname = null;
- IPath initialPath = new Path(initialPathname);
- IResource initialResource = ResourceUtils.getWorkspaceRoot().findMember(initialPath);
- if (initialResource == null)
- {
- if (initialPath.segmentCount() == 1)
- {
- initialResource = ResourceUtils.getWorkspaceRoot().getProject(initialPath.segment(0));
- }
- else if (initialPath.segmentCount() > 1)
- {
- initialResource = ResourceUtils.getWorkspaceRoot().getFolder(initialPath);
- }
- }
- else
- {
- if (initialResource.getType() == IResource.FILE)
- {
- initialResource = initialResource.getParent();
- }
- }
- ContainerSelectionDialog dialog = new ContainerSelectionDialog(parentShell,(IContainer)initialResource,true,null);
- dialog.open();
- Object[] result = dialog.getResult();
- if (result != null && result.length > 0)
- {
- if (result[0] instanceof IPath)
- {
- IPath path = (IPath)result[0];
- selectedPathname = path.toString();
- }
- }
- return selectedPathname;
- }
-
- /**
- * Raises a dialog for browsing resources.
- * @param parentShell The parent shell, optionally null.
- * @param topResource The resource under which to browse.
- * If null, all resources in the workspace are browsed.
- * @param initialSelection The initial selection, or null for none.
- * If the initial selection is not null and exists in the set of
- * resources found by the browser, that resource is selected by default.
- * @param filter The resource filter object.
- * @return The selected resource.
- */
- public static IResource browseResources ( Shell parentShell, IResource topResource, IResource initialSelection, Filter filter)
- {
- ResourceSelectionDialog rds = new ResourceSelectionDialog(parentShell,topResource,initialSelection,filter);
- rds.setMultipleSelectionEnabled(false);
- if (rds.open() == Dialog.OK)
- {
- IResource[] resources = rds.getResult();
- if (resources != null && resources.length > 0)
- {
- return resources[0];
- }
- }
- return null;
- }
-
- /**
- * <b>Implementation remains TBD.</b><br>
- * Raises a dialog for browsing classes on a project's class path.
- * @param parentShell The parent shell, optionally null.
- * @param project The project.
- * @return The qualified name of the selected java class.
- */
- public static String browseClasses ( Shell parentShell, IProject project )
- {
- return browseClasses(parentShell, project, (IRunnableContext)null);
- }
-
- public static String browseClasses ( Shell parentShell, IProject project, IWizardContainer container)
- {
- return browseClasses(parentShell, project, (IRunnableContext)container);
- }
-
- /**
- * Raises a dialog for browsing classes on a project's class path.
- * @param parentShell The parent shell, optionally null.
- * @param project The project.
- * @param container The container of the launching wizard.
- * @return The qualified name of the selected java class.
- */
- public static String browseClasses ( Shell parentShell,
- IProject project,
- IRunnableContext ctxt)
- {
- return browseClasses(parentShell, new IResource[] {project}, ctxt);
- }
-
- public static String browseClasses(Shell parentShell, IResource[] resources, IRunnableContext ctxt)
- {
- IType itype = browseClassesAsIType(parentShell, resources, ctxt);
- if (itype != null)
- return itype.getFullyQualifiedName();
- else
- return null;
- }
-
- public static IType browseClassesAsIType(Shell parentShell, IResource[] resources, IRunnableContext ctxt)
- {
- Vector javaElements = new Vector();
- for (int i = 0; i < resources.length; i++)
- {
- IJavaElement javaElement = JavaCore.create(resources[i]);
- if (javaElement != null)
- javaElements.add(javaElement);
- }
- IJavaElement[] elements = (IJavaElement[])javaElements.toArray(new IJavaElement[0]);
-
- IJavaSearchScope scope = SearchEngine.createJavaSearchScope(elements);
- scope.setIncludesClasspaths(true);
- scope.setIncludesBinaries(true);
-
- //Creating and opening a TypeSelectionDialog
- try
- {
- SelectionDialog dialog = JavaUI.createTypeDialog(parentShell, ctxt, scope, IJavaElementSearchConstants.CONSIDER_CLASSES, false);
- dialog.setTitle(WSUIPluginMessages.DIALOG_TITLE_CLASS_BROWSE);
- dialog.setMessage(WSUIPluginMessages.DIALOG_TITLE_CLASS_BROWSE);
- dialog.open();
-
- //Getting the result and returning it
- Object[] results = dialog.getResult();
- if (results != null && results.length > 0)
- {
- if (results[0] instanceof IType)
- {
- return (IType)results[0];
- }
- }
- }
- catch (JavaModelException jme)
- {
- }
- return null;
- }
-
- /**
- * Raises a dialog for browsing interfaces on a project's class path.
- * @param parentShell The parent shell, optionally null.
- * @param project The project.
- * @param container The container of the launching wizard.
- * @return The qualified name of the selected java interface.
- */
- public static String browseInterfaces( Shell parentShell,
- IProject project,
- IWizardContainer container)
-
- {
- String interfaceName = null;
-
- //Limiting search scope to the project
- IResource[] resources = new IResource[1];
- resources[0]=project;
- IJavaElement[] elements = new IJavaElement[1];
- elements[0] = JavaCore.create(resources[0]);
- IJavaSearchScope scope = SearchEngine.createJavaSearchScope(elements);
- scope.setIncludesClasspaths(true);
- scope.setIncludesBinaries(true);
-
- //Creating and opening a TypeSelectionDialog
- try
- {
- SelectionDialog dialog = JavaUI.createTypeDialog(parentShell, container, scope, IJavaElementSearchConstants.CONSIDER_TYPES, false);
- dialog.setTitle(WSUIPluginMessages.DIALOG_TITLE_INTERFACE_BROWSE);
- dialog.setMessage(WSUIPluginMessages.DIALOG_TITLE_INTERFACE_BROWSE);
- dialog.open();
-
- //Getting the result and returning it
- Object[] results = dialog.getResult();
- if (results != null && results.length > 0)
- {
- if (results[0] instanceof IType)
- {
- IType resultInterface = (IType)results[0];
- interfaceName = resultInterface.getFullyQualifiedName();
- }
- }
- }
- catch (JavaModelException jme)
- {
- }
-
- return interfaceName;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/ResourceSelectionDialog.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/ResourceSelectionDialog.java
deleted file mode 100644
index 1d88d39d6..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/dialog/ResourceSelectionDialog.java
+++ /dev/null
@@ -1,319 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ui.dialog;
-
-import java.util.Iterator;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.viewers.DecoratingLabelProvider;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.jst.ws.internal.common.AnyFilter;
-import org.eclipse.jst.ws.internal.common.Filter;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
-import org.eclipse.jst.ws.internal.ui.plugin.WebServiceUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.model.WorkbenchContentProvider;
-import org.eclipse.ui.model.WorkbenchLabelProvider;
-
-
-/**
-* This class provides a dialog for browsing workspace resources.
-* See also {@link DialogUtils#browseResources}.
-*/
-public class ResourceSelectionDialog extends Dialog implements Listener
-{
-
- // Dialog controls.
- //
- private Label filterLabel_;
- private Combo filterCombo_;
- /*CONTEXT_ID DRES0001 for the Resource Type combo box of the Resource Selection Dialog*/
- private static final String INFOPOP_DRES_COMBO_RESOURCE_TYPE = WebServiceUIPlugin.ID + ".DRES0001";
-
- private Tree resourceTree_;
- private TreeViewer fileViewer_;
- /*CONTEXT_ID DRES0002 for the Resource tree of the Resource Selection Dialog*/
- private static final String INFOPOP_DRES_TREE_RESOURCE = WebServiceUIPlugin.ID + ".DRES0002";
-
- //
- // Essential goodies.
- //
- private IResource root_;
- private IResource initialSelection_;
- private Filter[] filters_;
- private Filter currentFilter_;
- private IResource[] selection_;
- private boolean multipleSelectionEnabled_;
-
- /**
- * Constructs a new <code>ResourceSelectionDialog</code>
- * under the given <code>parent Shell</code>.
- * The dialog renders all resources including and
- * under the given <code>root IResource</code>.
- * @param parent The parent {@link org.eclipse.swt.widgets.Shell},
- * or null to create a top-level shell.
- * @param root The root {@link org.eclipse.core.resources.IResource},
- * or null to begin with the workspace root.
- * @param initialSelection The initially selected object or null if none.
- */
- public ResourceSelectionDialog ( Shell parent, IResource root, IResource initialSelection )
- {
- this(parent,root,initialSelection,new Filter[] {new AnyFilter()});
- }
-
- /**
- * Constructs a new <code>ResourceSelectionDialog</code>
- * under the given <code>parent Shell</code>.
- * The dialog renders all resources including and
- * under the given <code>root IResource</code> that
- * are accepted by the given filter.
- * See {@link org.eclipse.jst.ws.internal.common.Filter#accepts}.
- * @param parent The parent {@link org.eclipse.swt.widgets.Shell},
- * or null to create a top-level shell.
- * @param root The root {@link org.eclipse.core.resources.IResource},
- * or null to begin with the workspace root.
- * @param initialSelection The initially selected object or null if none.
- * @param filter The {@link org.eclipse.jst.ws.internal.common.Filter},
- * or null to default to all resources under the <code>root</code>.
- */
- public ResourceSelectionDialog ( Shell parent, IResource root, IResource initialSelection, Filter filter )
- {
- this(parent,root,initialSelection,new Filter[] {filter});
- }
-
- /**
- * Constructs a new <code>ResourceSelectionDialog</code>
- * under the given <code>parent Shell</code>.
- * The dialog renders all resources including and
- * under the given <code>root IResource</code> that
- * are accepted by the given filters.
- * See {@link org.eclipse.jst.ws.internal.common.Filter#accepts}.
- * @param parent The parent {@link org.eclipse.swt.widgets.Shell}.
- * or null to create a top-level shell.
- * @param root The root {@link org.eclipse.core.resources.IResource},
- * or null to begin with the workspace root.
- * @param initialSelection The initially selected object or null if none.
- * @param filters An array of {@link org.eclipse.jst.ws.internal.common.Filter}
- * objects.
- * If the array is null or of length zero, then all resources are accepted
- * (ie. equivalent to <code>ResourceSelectionDialog(parent,root)</code>.
- * If the array is of length one, then the dialog will consist of a single
- * control showing a list of all filtered resources.
- * If the array is of length greater than one, then the dialog will
- * consist of a combo box containing the names of the filters and with the
- * first filter (ie. <code>filters[0]</code>) selected by default, followed
- * by a control showing a list of all resources filtered by the selected filter.
- */
- public ResourceSelectionDialog ( Shell parent, IResource root, IResource initialSelection, Filter[] filters )
- {
- super(parent);
- root_ = root == null ? ResourceUtils.getWorkspaceRoot() : root;
- initialSelection_ = initialSelection;
- filters_ = (filters == null || filters.length == 0) ? new Filter[] {new AnyFilter()} : filters;
- currentFilter_ = filters_[0];
- multipleSelectionEnabled_ = false;
- setShellStyle(SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL);
- }
-
- /**
- * Enables or disables multiple selection in the tree view.
- * Multiple selection is disabled by default.
- * @param multipleSelectionEnabled True to enabled or false to disable.
- */
- public void setMultipleSelectionEnabled ( boolean multipleSelectionEnabled )
- {
- multipleSelectionEnabled_ = multipleSelectionEnabled;
- }
-
- /**
- * Returns the selections made in the dialog if OK was pressed,
- * or null if Cancel was pressed. Returns null if the dialog
- * has never been opened.
- * @return An array of selected resources, possibly empty, possibly null.
- */
- public IResource[] getResult ()
- {
- return selection_;
- }
-
- /**
- * Called when the Cancel button is pressed.
- * Insures that {@link #getResult} will return null.
- */
- protected void cancelPressed ()
- {
- selection_ = null;
- setReturnCode(Dialog.CANCEL);
- super.cancelPressed();
- }
-
- /**
- * Called when the OK button is pressed.
- * Squirrels away the list of zero or more selected
- * <code>IResource</code>s to be returned by {@link #getResult}.
- */
- protected void okPressed ()
- {
- ISelection selection = fileViewer_.getSelection();
- if (selection instanceof IStructuredSelection)
- {
- IStructuredSelection structuredSelection = (IStructuredSelection)selection;
- selection_ = new IResource[structuredSelection.size()];
- int i=0;
- Iterator iter = structuredSelection.iterator();
- while (iter.hasNext())
- {
- Object object = iter.next();
- if (object instanceof IResource)
- {
- selection_[i++] = (IResource)object;
- }
- }
- }
- setReturnCode(Dialog.OK);
- super.okPressed();
- }
-
- /**
- * See {@link org.eclipse.jface.window.Window#configureShell}.
- * @param shell The shell.
- */
- protected void configureShell ( Shell shell )
- {
- super.configureShell(shell);
- shell.setText(WSUIPluginMessages.DIALOG_TITLE_RESOURCE_BROWSE);
- }
-
- /**
- * Creates the dialog area.
- * @param parent The parent composite.
- * @return The control area.
- */
- protected Control createDialogArea ( Composite parent )
- {
- GridLayout gl;
- GridData gd;
-
- Composite composite = (Composite)super.createDialogArea(parent);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL);
- gd.widthHint = 400;
- gd.heightHint = 300;
- gd.grabExcessVerticalSpace = true;
- gd.grabExcessHorizontalSpace = true;
- composite.setLayoutData(gd);
-
- if (filters_.length > 1)
- {
- Composite f = new Composite(composite,SWT.NONE);
- gl = new GridLayout();
- gl.numColumns = 2;
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- f.setLayout(gl);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- f.setLayoutData(gd);
-
- filterLabel_ = new Label(f,SWT.WRAP);
- filterLabel_.setText(WSUIPluginMessages.LABEL_RESOURCE_FILTER);
- filterLabel_.setToolTipText(WSUIPluginMessages.TOOLTIP_DRES_COMBO_RESOURCE_TYPE);
-
- filterCombo_ = new Combo(f,SWT.DROP_DOWN | SWT.READ_ONLY);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- filterCombo_.setLayoutData(gd);
- filterCombo_.addListener(SWT.Selection,this);
- filterCombo_.setToolTipText(WSUIPluginMessages.TOOLTIP_DRES_COMBO_RESOURCE_TYPE);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(filterCombo_,INFOPOP_DRES_COMBO_RESOURCE_TYPE);
- }
-
- if (multipleSelectionEnabled_)
- {
- resourceTree_ = new Tree(composite,SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- }
- else
- {
- resourceTree_ = new Tree(composite,SWT.SINGLE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- }
- gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL);
- gd.grabExcessVerticalSpace = true;
- gd.grabExcessHorizontalSpace = true;
- resourceTree_.setLayoutData(gd);
-// resourceTree_.addListener(SWT.Selection,this);
- resourceTree_.setToolTipText(WSUIPluginMessages.TOOLTIP_DRES_TREE_RESOURCE);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(resourceTree_,INFOPOP_DRES_TREE_RESOURCE);
-
- fileViewer_ = new TreeViewer(resourceTree_);
- fileViewer_.setContentProvider(new WorkbenchContentProvider());
- fileViewer_.setLabelProvider(
- new DecoratingLabelProvider(
- new WorkbenchLabelProvider(),
- WebServiceUIPlugin.getInstance().getWorkbench().getDecoratorManager().getLabelDecorator()));
- fileViewer_.addFilter(
- new ViewerFilter ()
- {
- public boolean select ( Viewer viewer, Object parentObject, Object object )
- {
- return
- (
- ((object instanceof IResource) && ((IResource)object).getType() != IResource.FILE)
- || (ResourceSelectionDialog.this.currentFilter_.accepts(object))
- );
- }
- }
- );
- fileViewer_.setInput(root_);
- fileViewer_.addSelectionChangedListener(
- new ISelectionChangedListener ()
- {
- public void selectionChanged ( SelectionChangedEvent event )
- {
-// ResourceSelectionDialog.this.validatePageToStatus();
- }
- }
- );
- if (initialSelection_ != null)
- {
- fileViewer_.setSelection(new StructuredSelection(ResourceSelectionDialog.this.initialSelection_),true);
- }
-
- return composite;
- }
-
- /**
- * Called when an event occurs on the page.
- * Handles the event and revalidates the page.
- * @param event The event that occured.
- */
- public void handleEvent ( Event event )
- {
-// validatePageToStatus();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/plugin/WebServiceUIPlugin.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/plugin/WebServiceUIPlugin.java
deleted file mode 100644
index 6e51a55d3..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/plugin/WebServiceUIPlugin.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui.plugin;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-
-/**
-* This is the plugin class for the Web Services plugin.
-* <p>
-* This plugin contains the graphic user interface to the
-* Web Services runtime found in org.eclipse.jst.ws.
-*/
-public class WebServiceUIPlugin extends AbstractUIPlugin
-{
-
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.jst.ws.ui";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WebServiceUIPlugin instance_;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- */
- public WebServiceUIPlugin() {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WebServiceUIPlugin)Platform.getPlugin("org.eclipse.jst.ws.ui");
- * @return The WebServiceUIPlugin singleton.
- */
- static public WebServiceUIPlugin getInstance() {
- return instance_;
- }
-
- /**
- * Returns an image descriptor for the named resource
- * as relative to the plugin install location.
- * @return An image descriptor, possibly null.
- */
- public static ImageDescriptor getImageDescriptor(String name) {
- try {
- URL installURL = instance_.getBundle().getEntry("/");
- URL imageURL = new URL(installURL, name);
- return ImageDescriptor.createFromURL(imageURL);
- } catch (MalformedURLException e) {
- return null;
- }
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/popup/PopupTestService.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/popup/PopupTestService.java
deleted file mode 100644
index 25a0d110e..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/popup/PopupTestService.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 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
- * -------- -------- -----------------------------------------------------------
- * 20060803 152790 mahutch@ca.ibm.com - Mark Hutchinson (created class)
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui.popup;
-
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
-import org.eclipse.wst.ws.internal.explorer.LaunchOption;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-import org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL;
-
-
-public class PopupTestService extends PopupTestWSDL
-{
- public PopupTestService()
- {
- super();
- }
-
- public void run()
- {
- String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
- String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
- WSExplorerLauncherCommand command = new WSExplorerLauncherCommand();
- command.setForceLaunchOutsideIDE(false);
- IStructuredSelection selection = getWorkbenchSelection();
- Vector launchOptions = new Vector();
- if (selection != null)
- {
- for (Iterator it = selection.iterator(); it.hasNext();)
- {
- String wsdlURL = null;
- Object object = it.next();
-
- if (object instanceof ServiceRef)
- {
- ServiceRef serviceImpl = (ServiceRef)object;
- wsdlURL = J2EEActionAdapterFactory.getWSDLURI(serviceImpl);
- }
-
- addLaunchOptions(launchOptions, wsdlURL, stateLocation, defaultFavoritesLocation);
- }
- }
- command.setLaunchOptions((LaunchOption[])launchOptions.toArray(new LaunchOption[0]));
- command.execute();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/ResourceManagmentPreferencePage.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/ResourceManagmentPreferencePage.java
deleted file mode 100644
index 24b3fe7bc..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/ResourceManagmentPreferencePage.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060331 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060403 128827 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui.preferences;
-
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
-import org.eclipse.jst.ws.internal.ui.plugin.WebServiceUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.context.ResourceDefaults;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.MergeDefaults;
-import org.eclipse.wst.ws.internal.preferences.PersistentMergeContext;
-
-
-
-public class ResourceManagmentPreferencePage extends PreferencePage implements IWorkbenchPreferencePage
-{
- /*CONTEXT_ID PPRM0001 for the Resource Managment Preference Page*/
- private String INFOPOP_PPRM_PAGE = WebServiceUIPlugin.ID + ".PPRM0001";
- //
- private Button overWriteFiles;
- /*CONTEXT_ID PPRM0002 for the file overwrite check box on the Resource Management Preference Page*/
- private String INFOPOP_PPRM_CHECKBOX_OVERWRITE_FILES = WebServiceUIPlugin.ID + ".PPRM0002";
- //
- private Button createFolders;
- /*CONTEXT_ID PPRM0003 for the create folders check box on the Resource Management Preference Page*/
- private String INFOPOP_PPRM_CHECKBOX_CREATE_FOLDERS = WebServiceUIPlugin.ID + ".PPRM0003";
- //
- private Button checkoutFiles;
- /*CONTEXT_ID PPRM0004 for the checkout files check box on the Resource Management Preference Page*/
- private String INFOPOP_PPRM_CHECKBOX_CHECK_OUT = WebServiceUIPlugin.ID + ".PPRM0004";
-
- private Button skeletonMerge;
- /*CONTEXT_ID PPRM0005 for the skeleton merge check box on the Resource Management Preference Page*/
- private String INFOPOP_PPRM_CHECKBOX_SKELETON_MERGE = WebServiceUIPlugin.ID + ".PPRM0005";
-
- /**
- * Creates preference page controls on demand.
- * @param parent the parent for the preference page
- */
- protected Control createContents(Composite superparent)
- {
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
-
- Composite parent = new Composite( superparent, SWT.NONE );
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- parent.setLayout( layout );
- parent.setToolTipText(WSUIPluginMessages.TOOLTIP_PPRM_PAGE);
- helpSystem.setHelp(parent, INFOPOP_PPRM_PAGE);
-
- overWriteFiles = createCheckBox(parent, WSUIPluginMessages.BUTTON_OVERWRITE_FILES);
- overWriteFiles.setToolTipText(WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_OVERWRITE_FILES);
- helpSystem.setHelp(overWriteFiles, INFOPOP_PPRM_CHECKBOX_OVERWRITE_FILES);
-
- createFolders = createCheckBox(parent, WSUIPluginMessages.BUTTON_CREATE_FOLDERS);
- createFolders.setToolTipText(WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_CREATE_FOLDERS);
- helpSystem.setHelp(createFolders, INFOPOP_PPRM_CHECKBOX_CREATE_FOLDERS);
-
- checkoutFiles = createCheckBox(parent, WSUIPluginMessages.BUTTON_CHECKOUT_FILES);
- checkoutFiles.setToolTipText(WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_CHECK_OUT);
- helpSystem.setHelp(checkoutFiles, INFOPOP_PPRM_CHECKBOX_CHECK_OUT);
-
- skeletonMerge = createCheckBox(parent, WSUIPluginMessages.BUTTON_SKELETON_MERGE);
- skeletonMerge.setToolTipText(WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_SKELETON_MERGE);
- helpSystem.setHelp(skeletonMerge, INFOPOP_PPRM_CHECKBOX_SKELETON_MERGE);
-
- initializeValues();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
-
- return parent;
- }
-
- private Button createCheckBox( Composite parent, String text )
- {
- Button button = new Button( parent, SWT.CHECK );
- button.setText( text );
- return button;
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- initializeDefaults();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- storeValues();
- return true;
- }
-
- protected void performApply()
- {
- performOk();
- }
-
- /**
- * @see IWorkbenchPreferencePage
- */
- public void init(IWorkbench workbench) { }
-
- /**
- * Initializes states of the controls using default values
- * in the preference store.
- */
- private void initializeDefaults()
- {
- overWriteFiles.setSelection( ResourceDefaults.getOverwriteFilesDefault());
- createFolders.setSelection( ResourceDefaults.getCreateFoldersDefault());
- checkoutFiles.setSelection( ResourceDefaults.getCheckoutFilesDefault());
- skeletonMerge.setSelection( MergeDefaults.getSkeletonMergeDefault());
- }
-
- /**
- * Initializes states of the controls from the preference store.
- */
- private void initializeValues()
- {
- // get the persistent context from the plugin
- ResourceContext context = WebServicePlugin.getInstance().getResourceContext();
- PersistentMergeContext mergeContext = WSPlugin.getInstance().getMergeContext();
- overWriteFiles.setSelection( context.isOverwriteFilesEnabled());
- createFolders.setSelection( context.isCreateFoldersEnabled());
- checkoutFiles.setSelection( context.isCheckoutFilesEnabled());
- skeletonMerge.setSelection( mergeContext.isSkeletonMergeEnabled());
- }
-
- /**
- * Stores the values of the controls back to the preference store.
- */
- private void storeValues()
- {
- // get the persistent context from the plugin
- ResourceContext context = WebServicePlugin.getInstance().getResourceContext();
- PersistentMergeContext mergeContext = WSPlugin.getInstance().getMergeContext();
- context.setOverwriteFilesEnabled( overWriteFiles.getSelection() );
- context.setCreateFoldersEnabled( createFolders.getSelection() );
- context.setCheckoutFilesEnabled( checkoutFiles.getSelection() );
- mergeContext.setSkeletonMergeEnabled( skeletonMerge.getSelection() );
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/TestFacilityDefaultsPreferencePage.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/TestFacilityDefaultsPreferencePage.java
deleted file mode 100644
index a012ffd54..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/preferences/TestFacilityDefaultsPreferencePage.java
+++ /dev/null
@@ -1,318 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060217 113169 pmoogk@ca.ibm.com - Peter Moogk
- * 20060222 118711 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui.preferences;
-
-import java.util.Vector;
-
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.context.ScenarioDefaults;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
-import org.eclipse.jst.ws.internal.ui.plugin.WebServiceUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.TableColumn;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.PlatformUI;
-
-
-
-public class TestFacilityDefaultsPreferencePage extends PreferencePage implements IWorkbenchPreferencePage, SelectionListener
-{
-
- private TableViewer webServiceTestTypeViewer_;
- private Button moveUp_;
- private Button moveDown_;
- private Vector webServiceTestTypes_;
-
- /*CONTEXT_ID PPSD0001 for the Scenario Defaults Preference Page*/
- private String INFOPOP_PPSD_PAGE = WebServiceUIPlugin.ID + ".PPSD0001";
- //
- private Button launchSample;
- /*CONTEXT_ID PPSD0002 for the launch sample check box on the Scenario Defaults Preference Page*/
- private final String INFOPOP_PPSD_CHECKBOX_LAUNCH_SAMPLE = WebServiceUIPlugin.ID + ".PPSD0002";
- //
-
- /**
- * Creates preference page controls on demand.
- * @param parent the parent for the preference page
- */
- protected Control createContents(Composite superparent)
- {
-
- Composite parent = new Composite( superparent, SWT.NONE );
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- parent.setLayout( layout );
- parent.setToolTipText(WSUIPluginMessages.TOOLTIP_PPSD_PAGE);
- parent.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,INFOPOP_PPSD_PAGE);
-
- launchSample = createCheckBox(parent, WSUIPluginMessages.BUTTON_LAUNCH_SAMPLE);
- launchSample.setToolTipText(WSUIPluginMessages.TOOLTIP_PPSD_CHECKBOX_LAUNCH_SAMPLE);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(launchSample, INFOPOP_PPSD_CHECKBOX_LAUNCH_SAMPLE);
-
-
- Text testServiceTypeLabel = new Text(parent, SWT.READ_ONLY | SWT.WRAP);
- testServiceTypeLabel.setText(WSUIPluginMessages.LABEL_SAMPLE_TYPES);
- testServiceTypeLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
-
- Composite webServiceTestTypeComposite = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout();
- gl.numColumns = 2;
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- webServiceTestTypeComposite.setLayout(gl);
- webServiceTestTypeComposite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
-
- Table table= new Table(webServiceTestTypeComposite, SWT.BORDER | SWT.SINGLE | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL);
- GridData gd = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
- gd.widthHint = 256;
- table.setLayoutData(gd);
- table.setToolTipText(WSUIPluginMessages.TOOLTIP_CLIENT_TYPE_TABLE_VIEWER);
-
- webServiceTestTypes_ = new Vector();
- webServiceTestTypeViewer_ = new TableViewer(table);
- webServiceTestTypeViewer_.setContentProvider(new WebServiceTestTypeContentProvider());
- webServiceTestTypeViewer_.setLabelProvider(new WebServiceTestTypeLabelProvider());
- webServiceTestTypeViewer_.setInput(webServiceTestTypes_);
-
- TableLayout tableLayout = new TableLayout();
- TableColumn tableColumn = new TableColumn(table, SWT.NONE);
- tableColumn.setText(WSUIPluginMessages.LABEL_CLIENT_TYPE_NAME);
- ColumnWeightData columnData = new ColumnWeightData(256, 256, false);
- tableLayout.addColumnData(columnData);
- table.setLayout(tableLayout);
-
- Composite c = new Composite(webServiceTestTypeComposite, SWT.NONE);
- gl = new GridLayout();
- gl.numColumns = 1;
- gl.marginHeight = 10;
- gl.marginWidth = 0;
- c.setLayout(gl);
-
- moveUp_ = new Button(c, SWT.PUSH);
- moveUp_.setText(WSUIPluginMessages.LABEL_MOVE_UP);
- moveUp_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- moveUp_.addSelectionListener(this);
- moveUp_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_UP);
-
- moveDown_ = new Button(c, SWT.PUSH);
- moveDown_.setText(WSUIPluginMessages.LABEL_MOVE_DOWN);
- moveDown_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
- moveDown_.addSelectionListener(this);
- moveDown_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_DOWN);
-
- initializeValues();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
-
- return parent;
- }
-
- private Button createCheckBox( Composite parent, String text )
- {
- Button button = new Button( parent, SWT.CHECK );
- button.setText( text );
- return button;
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- initializeDefaults();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- try{
- storeValues();
- }catch (Exception exc){
- exc.printStackTrace();}
- return true;
- }
-
- protected void performApply()
- {
- try{
- performOk();
- }catch(NullPointerException exc){
- exc.printStackTrace();
- }
- }
-
- /**
- * @see IWorkbenchPreferencePage
- */
- public void init(IWorkbench workbench) { }
-
- /**
- * Initializes states of the controls to their burned-in defaults.
- */
- private void initializeDefaults()
- {
- ScenarioDefaults defaults = new ScenarioDefaults();
- //pgm launchSample.setSelection( defaults.getLaunchSampleDefault());
-
- webServiceTestTypes_.clear();
- String[] types = defaults.getWebServiceTestTypes();
- for (int i = 0; i < types.length; i++)
- webServiceTestTypes_.add(types[i]);
- webServiceTestTypeViewer_.refresh();
- }
-
- /**
- * Initializes states of the controls from the preference helper.
- */
- private void initializeValues()
- {
- ScenarioContext context = WebServicePlugin.getInstance().getScenarioContext();
- ScenarioDefaults defaults = new ScenarioDefaults();
-
- launchSample.setSelection( context.isLaunchSampleEnabled());
-
- String[] types = context.getWebServiceTestTypes();
- for (int i = 0; i < types.length; i++)
- webServiceTestTypes_.add(types[i]);
- // check whether we missed any types from the default list
- boolean missed = false;
- types = defaults.getWebServiceTestTypes();
- for (int i = 0; i < types.length; i++)
- {
- if (webServiceTestTypes_.indexOf(types[i]) == -1)
- {
- webServiceTestTypes_.add(types[i]);
- missed = true;
- }
- }
- if (missed)
- {
- types = new String[webServiceTestTypes_.size()];
- webServiceTestTypes_.copyInto(types);
- context.setWebServiceTestTypes(types);
- }
- // refresh viewer
- webServiceTestTypeViewer_.refresh();
- }
-
- /**
- * Stores the values of the controls back to the preference helper.
- */
- private void storeValues()
- {
- ScenarioContext context = WebServicePlugin.getInstance().getScenarioContext();
- String[] types = new String[webServiceTestTypes_.size()];
- webServiceTestTypes_.copyInto(types);
- context.setWebServiceTestTypes(types);
-
- context.setLaunchSampleEnabled(launchSample.getSelection());
- }
-
- public void widgetDefaultSelected(SelectionEvent e)
- {
- }
-
- public void widgetSelected(SelectionEvent e)
- {
- int index = webServiceTestTypeViewer_.getTable().getSelectionIndex();
- if (index != -1)
- {
- if (e.widget == moveUp_ && index > 0)
- {
- Object object = webServiceTestTypes_.remove(index);
- webServiceTestTypes_.insertElementAt(object, index-1);
- webServiceTestTypeViewer_.refresh();
- }
- else if (e.widget == moveDown_ && index < webServiceTestTypes_.size()-1)
- {
- Object object = webServiceTestTypes_.remove(index);
- webServiceTestTypes_.insertElementAt(object, index+1);
- webServiceTestTypeViewer_.refresh();
- }
- }
- }
-
- private class WebServiceTestTypeContentProvider implements IStructuredContentProvider
- {
- /**
- * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(Object)
- */
- public Object[] getElements(Object value)
- {
- return ((Vector)value).toArray(new String[0]);
- }
-
- /**
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- */
- public void dispose()
- {
- }
-
- /**
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(Viewer, Object, Object)
- */
- public void inputChanged(Viewer arg0, Object arg1, Object arg2)
- {
- }
- }
-
- private class WebServiceTestTypeLabelProvider extends LabelProvider
- {
- public WebServiceTestTypeLabelProvider()
- {
- }
-
- /**
- * @see org.eclipse.jface.viewers.ILabelProvider#getImage(Object)
- */
- public Image getImage(Object arg0)
- {
- return null;
- }
-
- /**
- * @see org.eclipse.jface.viewers.ILabelProvider#getText(Object)
- */
- public String getText(Object value)
- {
- //return getElementByAttribute("id", value.toString()).getAttribute("label");
- return value.toString();
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/uddi/PrivateUDDIRegistryType.java b/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/uddi/PrivateUDDIRegistryType.java
deleted file mode 100644
index e37abc3d3..000000000
--- a/bundles/org.eclipse.jst.ws.ui/src/org/eclipse/jst/ws/internal/ui/uddi/PrivateUDDIRegistryType.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.ui.uddi;
-
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-
-public interface PrivateUDDIRegistryType
-{
- public boolean isPrivateUDDIRegistryInstalled();
- public String[] getPrivateUDDIRegistryInquiryAPI();
- public String[] getPrivateUDDIRegistryPublishAPI();
- public CommandWidgetBinding getBinding();
-}
diff --git a/bundles/org.eclipse.jst.ws/.classpath b/bundles/org.eclipse.jst.ws/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/bundles/org.eclipse.jst.ws/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.jst.ws/.cvsignore b/bundles/org.eclipse.jst.ws/.cvsignore
deleted file mode 100644
index 5e01b0ff7..000000000
--- a/bundles/org.eclipse.jst.ws/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-build.xml
-temp.folder
-ws.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.jst.ws/.project b/bundles/org.eclipse.jst.ws/.project
deleted file mode 100644
index 641451761..000000000
--- a/bundles/org.eclipse.jst.ws/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.jst.ws/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index ac5284f3f..000000000
--- a/bundles/org.eclipse.jst.ws/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:35:26 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.jst.ws/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 2bcc8c952..000000000
--- a/bundles/org.eclipse.jst.ws/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:42 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.jst.ws/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws/META-INF/MANIFEST.MF
deleted file mode 100644
index 100dd1839..000000000
--- a/bundles/org.eclipse.jst.ws/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,46 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws
-Bundle-Version: 1.0.102.qualifier
-Bundle-Activator: org.eclipse.jst.ws.internal.plugin.WebServicePlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.internal;x-internal:=true,
- org.eclipse.jst.ws.internal.command;x-internal:=true,
- org.eclipse.jst.ws.internal.common;x-internal:=true,
- org.eclipse.jst.ws.internal.conformance;x-internal:=true,
- org.eclipse.jst.ws.internal.conformance.rules;x-internal:=true,
- org.eclipse.jst.ws.internal.context;x-internal:=true,
- org.eclipse.jst.ws.internal.data;x-internal:=true,
- org.eclipse.jst.ws.internal.dialog;x-internal:=true,
- org.eclipse.jst.ws.internal.ext;x-internal:=true,
- org.eclipse.jst.ws.internal.ext.test;x-internal:=true,
- org.eclipse.jst.ws.internal.plugin;x-internal:=true,
- org.eclipse.jst.ws.internal.wsrt
-Require-Bundle: org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jem;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.jface;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.emf.ecore;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.jst.j2ee.core;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee.ejb;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.modulecore;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.emf.ecore.xmi;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.common.project.facet.core;bundle-version="[1.1.0,1.2.0)",
- com.ibm.icu;bundle-version="[3.4.4,3.5.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.jst.ws/about.html b/bundles/org.eclipse.jst.ws/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.jst.ws/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.jst.ws/build.properties b/bundles/org.eclipse.jst.ws/build.properties
deleted file mode 100644
index 454fccee8..000000000
--- a/bundles/org.eclipse.jst.ws/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-src.includes = component.xml
-bin.includes = .,\
- META-INF/,\
- about.html,\
- plugin.properties
-source.. = src/
diff --git a/bundles/org.eclipse.jst.ws/component.xml b/bundles/org.eclipse.jst.ws/component.xml
deleted file mode 100644
index a90bf17d8..000000000
--- a/bundles/org.eclipse.jst.ws/component.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component xmlns="http://eclipse.org/wtp/releng/tools/component-model" name="org.eclipse.jst.ws">
- <component-depends unrestricted="true">
- </component-depends>
- <plugin id="org.eclipse.jst.ws" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.axis.consumption.core" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.axis.consumption.ui" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.axis.creation.ui" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.consumption" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.consumption.ui" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.creation.ejb.ui" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.creation.ui" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.uddiregistry" fragment="false"/>
- <plugin id="org.eclipse.jst.ws.ui" fragment="false"/>
-</component>
diff --git a/bundles/org.eclipse.jst.ws/plugin.properties b/bundles/org.eclipse.jst.ws/plugin.properties
deleted file mode 100644
index 505a8be08..000000000
--- a/bundles/org.eclipse.jst.ws/plugin.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services
-PLUGIN_PROVIDER=Eclipse.org
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPlugin.properties b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPlugin.properties
deleted file mode 100644
index 0ffee3f21..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPlugin.properties
+++ /dev/null
@@ -1,31 +0,0 @@
-###############################################################################
-# Copyright (c) 2004 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
-###############################################################################
-
-MSG_ERROR_SERVER=IWAB0213E Error in starting server.
-
-ANY_FILTER_NAME=All files
-ANY_FILTER_DESC=This is a kind of Filter that accepts all objects.
-
-ERROR_SELECTION_TRANSFORM=Specified selection does not match a resource.
-
-MSG_JAXRPC11_NOT_COMPLIANT=The service class "{0}" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly.
-MSG_JAXRPC11_UNRESOLVED_CLASS=The class "{0}" cannot be loaded via project "{1}". Check that the project contains the class, or that the class is loadable according to the Java Build Path of the project.
-MSG_JAXRPC11_UNRESOLVED_TYPE=A data type, "{0}", could not be resolved while analyzing the service class. Check your project classpath.
-MSG_JAXRPC11_RULE_0001=The service class "{0}" does not have a public default constructor. Chapter 10.1 of the JAX-RPC 1.1 specification requires a service class to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the service class to handle an incoming request message.
-MSG_JAXRPC11_RULE_0002=The value type "{0}" used via the service class "{1}" does not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the value type during deserialization.
-MSG_JAXRPC11_RULE_0003=The method "{0}" on the service class "{1}" is overloaded. Overloaded methods are allowed by chapter 5.5.5 of the JAX-RPC 1.1 specification, however, some JAX-RPC 1.1 compliant tools may not allow overloaded methods or may generate WSDL with overloaded operations as contrary to rule R2304 of the WS-I Basic Profile.
-MSG_JAXRPC11_RULE_0004=The service specific exception class "{0}" does not have a public constructor with parameters corresponding in number and type to the getter methods on the class. Chapter 5.5.5 of the JAX-RPC 1.1 specification requires a service specific exception to have a public constructor with the same number of parameters as there are getter methods, and of matching data types, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the exception during deserialization of a fault message.
-MSG_JAXRPC11_RULE_0005=The method "{0}" on the service class "{1}" uses a data type, "{2}", that is not supported by the JAX-RPC specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
-MSG_JAXRPC11_RULE_0006=The field or property "{0}" on the value type "{1}" used via the service class "{2}" has a data type, "{3}", that is not supported by the JAX-RPC 1.1 specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
-MSG_JAXRPC11_RULE_0007=The primitive type "{0}" is not supported by the JAX-RPC 1.1 specification. As stated in chapter 5.1.1 of the specification, the supported primitive types are "boolean", "byte", "short", "int", "long", "float" and "double".
-MSG_JAXRPC11_RULE_0008=The wrapper type "{0}" is not supported by the JAX-RPC 1.1 specification. As stated in chapter 5.1.1 of the specification, the supported wrapper types are those corresponding to "boolean", "byte", "short", "int", "long", "float" and "double".
-MSG_JAXRPC11_RULE_0009=The Java type "{0}" is not supported by the JAX-RPC 1.1 specification. As stated in chapter 5.1.3 of the specification, the supported standard types are "java.lang.String", "java.util.Date", "java.util.Calendar", "java.math.BigInteger", "java.math.BigDecimal", "javax.xml.namespace.QName" and "java.net.URI".
-MSG_JAXRPC11_RULE_0010=Support for collection and map classes such as "{0}" is not required by JAX-RPC 1.1. Due to their non-type safe nature, a JAX-RPC 1.1 compliant Web service engine may not handle collections, or may represent them in WSDL documents and SOAP messages in a manner that impairs interoperability. The use of arrays instead of collections is strongly recommended. \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPluginMessages.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPluginMessages.java
deleted file mode 100644
index 58874f2ae..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/WSPluginMessages.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 132905 cbrealey@ca.ibm.com - Chris Brealey
- * 20060607 145604 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class WSPluginMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.WSPlugin";//$NON-NLS-1$
-
- private WSPluginMessages() {
- // Do not instantiate
- }
-
- public static String MSG_ERROR_SERVER;
- public static String ANY_FILTER_NAME;
- public static String ANY_FILTER_DESC;
- public static String ERROR_SELECTION_TRANSFORM;
- public static String MSG_JAXRPC11_NOT_COMPLIANT;
- public static String MSG_JAXRPC11_UNRESOLVED_CLASS;
- public static String MSG_JAXRPC11_UNRESOLVED_TYPE;
- public static String MSG_JAXRPC11_RULE_0001;
- public static String MSG_JAXRPC11_RULE_0002;
- public static String MSG_JAXRPC11_RULE_0003;
- public static String MSG_JAXRPC11_RULE_0004;
- public static String MSG_JAXRPC11_RULE_0005;
- public static String MSG_JAXRPC11_RULE_0006;
- public static String MSG_JAXRPC11_RULE_0007;
- public static String MSG_JAXRPC11_RULE_0008;
- public static String MSG_JAXRPC11_RULE_0009;
- public static String MSG_JAXRPC11_RULE_0010;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, WSPluginMessages.class);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/NullStatusMonitor.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/NullStatusMonitor.java
deleted file mode 100644
index c0454d107..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/NullStatusMonitor.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.command;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-
-/**
-* A NullStatusRenderer throws away IStatus information.
-*/
-public class NullStatusMonitor implements StatusMonitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- protected boolean result;
-
- /**
- * Default constructor.
- */
- public NullStatusMonitor () {}
- /**
- * Does nothing.
- */
- public int reportStatus(IStatus status, Vector options) { return 0; }
- public boolean reportStatus(IStatus status)
- {
- switch (status.getSeverity())
- {
- case IStatus.ERROR:
- case IStatus.WARNING:
- result = false;
- break;
- case IStatus.INFO:
- default: //IStatus.OK
- result = true;
- break;
- }
- return result;
- }
- public void dumpSavedStatus() { }
- public boolean canContinue()
- {
- return result;
- }
-
- public void reset () {
- result = true;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusMonitor.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusMonitor.java
deleted file mode 100644
index de0758f77..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusMonitor.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.command;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-
-/**
-* A StatusMonitor reports IStatus information to a display system.
-*/
-public interface StatusMonitor
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * reports the contents of the given status object.
- * Subclasses must implement this method to report
- * IStatus information to a given display system,
- * such as SWT, the command line, or a trace file.
- */
- public int reportStatus(IStatus status, Vector options);
- public boolean reportStatus(IStatus status);
- public void dumpSavedStatus();
- public boolean canContinue();
- public void reset();
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusRenderer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusRenderer.java
deleted file mode 100644
index 0cff3a6b8..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/command/StatusRenderer.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.command;
-
-import org.eclipse.core.runtime.IStatus;
-
-/**
-* A StatusRenderer renders IStatus information to a display system.
-*/
-public interface StatusRenderer
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * Renders the contents of the given status object.
- * Subclasses must implement this method to render
- * IStatus information to a given display system,
- * such as SWT, the command line, or a trace file.
- */
- public void render ( IStatus status );
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/AnyFilter.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/AnyFilter.java
deleted file mode 100644
index c88ba88cd..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/AnyFilter.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-
-/**
-* This is a kind of {@link Filter} that accepts all objects,
-* and is a suitable base class for new <code>Filters</code>.
-*/
-public class AnyFilter implements Filter
-{
-
- /**
- * Constructs a new <code>AnyFilter</code>.
- */
- public AnyFilter ()
- {
- }
-
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName ()
- {
- return WSPluginMessages.ANY_FILTER_NAME;
- }
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription ()
- {
- return WSPluginMessages.ANY_FILTER_DESC;
- }
-
- /**
- * Returns an {@link org.eclipse.core.runtime.IStatus}
- * describing the <code>Filter</code>'s assessment of
- * the given <code>object</code>.
- * See {@link Filter#statusOf} for general comments.
- * The default implementation of <code>AnyFilter</code>
- * returns a status with severity <code>IStatus.OK</code>.
- * Subclasses may override.
- * @param object The object to filter.
- * @return An {@link org.eclipse.core.runtime.IStatus}.
- */
- public IStatus statusOf ( Object object )
- {
- return new Status(IStatus.OK,WebServicePlugin.ID,0,"",null);
- }
-
- /**
- * Returns true if and only if {@link #statusOf} returns
- * an {@link org.eclipse.core.runtime.IStatus} with a
- * severity of less than <code>IStatus.ERROR</code>.
- * Subclasses may override to provide a higher-performance
- * implementation.
- * @param object The object to filter.
- * @return True if and only if {@link #statusOf} returns
- * an {@link org.eclipse.core.runtime.IStatus} with a
- * severity of less than <code>IStatus.ERROR</code>.
- */
- public boolean accepts ( Object object )
- {
- return !statusOf(object).matches(IStatus.ERROR);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/Filter.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/Filter.java
deleted file mode 100644
index 7749cad43..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/Filter.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.runtime.IStatus;
-
-/**
-* This is the interface for a class of objects that filter
-* other objects for inclusion or exclusion by some consumer.
-*/
-public interface Filter
-{
-
- /**
- * Returns the locale-specific name of this filter.
- * @return The locale-specific name of this filter.
- */
- public String getName ();
-
- /**
- * Returns the locale-specific description of this filter.
- * @return The locale-specific description of this filter.
- */
- public String getDescription ();
-
- /**
- * Returns an {@link org.eclipse.core.runtime.IStatus}
- * describing the <code>Filter</code>'s assessment of
- * the given <code>object</code>.
- * The severity of the
- * returned <code>IStatus</code> is as follows:
- * <ul>
- * <li>
- * {@link org.eclipse.core.runtime.IStatus#OK}
- * if the <code>Filter</code> accepts the <code>object</code>
- * with no further information for the caller (meaning the
- * {@link org.eclipse.core.runtime.IStatus#getMessage} and
- * {@link org.eclipse.core.runtime.IStatus#getException} methods
- * are ignored).
- * <li>
- * {@link org.eclipse.core.runtime.IStatus#INFO}
- * if the <code>Filter</code> accepts the <code>object</code>
- * Additional information may be available from the
- * {@link org.eclipse.core.runtime.IStatus#getMessage} and
- * {@link org.eclipse.core.runtime.IStatus#getException} methods.
- * <li>
- * {@link org.eclipse.core.runtime.IStatus#WARNING}
- * if the <code>Filter</code> accepts the <code>object</code>.
- * Additional information may be available from the
- * {@link org.eclipse.core.runtime.IStatus#getMessage} and
- * {@link org.eclipse.core.runtime.IStatus#getException} methods.
- * <li>
- * {@link org.eclipse.core.runtime.IStatus#ERROR}
- * if the <code>Filter</code> does not accept the <code>object</code>.
- * Additional information may be available from the
- * {@link org.eclipse.core.runtime.IStatus#getMessage} and
- * {@link org.eclipse.core.runtime.IStatus#getException} methods.
- * </ul>
- * @param object The object to filter.
- * @return An {@link org.eclipse.core.runtime.IStatus}
- * describing the <code>Filter</code>'s assessment of
- * the given <code>object</code>.
- */
- public IStatus statusOf ( Object object );
-
- /**
- * Returns true if and only if this <code>Filter</code>
- * accepts the given <code>object</code>. This method
- * must return true if and only if {@link #statusOf}
- * returns an <code>IStatus</code> with a severity of
- * less than <code>IStatus.ERROR</code>.
- * @param object The object to filter.
- * @return True if and only if this <code>Filter</code>
- * accepts the given <code>object</code>.
- */
- public boolean accepts ( Object object );
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/IProjectToStringTransformer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/IProjectToStringTransformer.java
deleted file mode 100644
index 5bec5527e..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/IProjectToStringTransformer.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-
-
-/**
- * Transfroms a org.eclipse.core.runtime.IProject to java.lang.String
- */
-public class IProjectToStringTransformer implements Transformer {
-
- public Object transform(Object value)
- {
- IProject project = (IProject)value;
- return project.getName();
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEActionAdapterFactory.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEActionAdapterFactory.java
deleted file mode 100644
index 2bf7bf063..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEActionAdapterFactory.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 125574 zina@ca.ibm.com - Zina Mostafia
- * 20060222 225574 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-/*
- * Created on May 8, 2004
- */
-package org.eclipse.jst.ws.internal.common;
-
-import java.io.File;
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-
-
-/**
- * @author gilberta
- */
-public class J2EEActionAdapterFactory {
-
-
- public static String getWSDLURI(ServiceImpl serviceImpl)
- {
- Definition definition = serviceImpl.getEnclosingDefinition();
- String location = definition.getLocation();
-
- return location;
- }
-
- //has to be under the webcontent
- public static final String EJB_MODULE = "ejbModule";
- public static final String APPCLIENT_MODULE = "appClientModule";
- public static final String WEB_MODULE = "WebContent";
-
- public static String getWSDLURI(ServiceRef serviceImpl)
- {
- String moduleRoot = null;
- IProject project = ProjectUtilities.getProject(serviceImpl);
- if(J2EEUtils.isWebComponent(project))
- {
- moduleRoot = WEB_MODULE;
- }
- else if (J2EEUtils.isEJBComponent(project))
- {
- moduleRoot = EJB_MODULE;
- }
- else if (J2EEUtils.isAppClientComponent(project))
- {
- moduleRoot = APPCLIENT_MODULE;
- }
- IPath path = project.getLocation().addTrailingSeparator();
- path = path.append(moduleRoot).addTrailingSeparator();
- path = path.append(serviceImpl.getWsdlFile());
- File file = new File(path.toString());
- try{
- URL url = file.toURL();
- return url.toString();
- }catch(MalformedURLException e){return null;}
-
-
-
-
- }
-
- public static String getWSDLURI(WSDLResourceImpl wsdlRI)
- {
- Definition definition = wsdlRI.getDefinition();
- String location = definition.getLocation();
-
- return location;
- }
-
- public static String getWSILPath(WSDLResourceImpl wsdlRI)
- {
- return convertToRelative(getWSDLURI(wsdlRI));
- }
-
- public static String getWSILPath(ServiceRef serviceImpl)
- {
- return convertToRelative(getWSDLURI(serviceImpl));
- }
-
- public static String getWSILPath(ServiceImpl serviceImpl)
- {
- return convertToRelative(getWSDLURI(serviceImpl));
- }
-
- public static String FILE="file:/";
- public static String FILEL="file:";
- public static String convertToRelative(String uri)
- {
- //remove file:
- String root = ResourcesPlugin.getWorkspace().getRoot().getLocation().toString();
- root = FILE + root;
- String rootL = FILEL + root;
- if(uri.startsWith(root) || uri.startsWith(rootL)){
- return uri.substring(root.length());
- }
- return uri;
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEUtils.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEUtils.java
deleted file mode 100644
index e513d734e..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEUtils.java
+++ /dev/null
@@ -1,1407 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124143 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060329 128069 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060503 126819 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060524 131132 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.common;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-import java.util.StringTokenizer;
-import java.util.Vector;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jst.j2ee.application.internal.operations.AddComponentToEnterpriseApplicationDataModelProvider;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.Session;
-import org.eclipse.jst.j2ee.ejb.SessionType;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.internal.common.J2EEVersionUtil;
-import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.ModuleCoreNature;
-import org.eclipse.wst.common.componentcore.datamodel.properties.ICreateReferenceComponentsDataModelProperties;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
-import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.IProjectFacet;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.server.core.IModule;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerUtil;
-/**
- * This class contains some useful J2EE utilities for Web services internal use.
- */
-public final class J2EEUtils {
-
- public final static int WEB = 1;
- public final static int EJB = 2;
- public final static int APPCLIENT = 4;
- public final static int EAR = 8;
-
- /**
- * Returns an IVirtualComponent
- * @param project
- * @return
- */
- public static IVirtualComponent getVirtualComponent(IProject project){
- return ComponentCore.createComponent(project);
- }
-
- /**
- *
- * @param projectName
- * @return
- */
- public static IVirtualComponent getVirtualComponent(String projectName){
- IProject project = null;
- if (projectName!=null && projectName.length() > 0 )
- project = ProjectUtilities.getProject(projectName);
-
- return ComponentCore.createComponent(project);
- }
-
-
- /**
- * Returns the J2EE version
- * @param p project
- * @return int
- */
- public static int getJ2EEVersion(IProject p){
-
- String ver = J2EEProjectUtilities.getJ2EEProjectVersion(p);
- return J2EEVersionUtil.convertVersionStringToInt(ver);
-
- /*
- int j2eeVer = -1;
- try {
- IVirtualComponent vc = ComponentCore.createComponent(p);
- if (vc!=null){
- j2eeVer = getJ2EEVersion(vc);
- }
- }
- catch (Exception e){
- //handle exception
- }
- return j2eeVer;
- */
- }
-
- public static int getJ2EEVersion(IVirtualComponent ch){
- int j2eeVer = -1;
- //check type
- if (ch!=null){
- IProject project = ch.getProject();
- j2eeVer = getJ2EEVersion(project);
- }
-
- /* Use new API provided by J2EE
- if (ch!=null) {
- if (isWebComponent(ch))
- j2eeVer = getWebComponentJ2EEVersion(ch);
- else if (isAppClientComponent(ch))
- j2eeVer = getAppClientComponentJ2EEVersion(ch);
- else if (isEJBComponent(ch))
- j2eeVer = getEJBComponentJ2EEVersion(ch);
- else if (isEARComponent(ch))
- j2eeVer = getEARComponentJ2EEVersion(ch);
- }
- */
-
- return j2eeVer;
- }
-
-
- /**
- * Returns the J2EEVersion
- * @param p IProject
- * @return String
- */
- public static String getJ2EEVersionAsString(IProject p){
-
- String ver = J2EEProjectUtilities.getJ2EEProjectVersion(p);
- return ver != null ? ver : null;
-
- /*
- int j2eeVer = getJ2EEVersion(p);
- if (j2eeVer!=-1){
- return J2EEVersionUtil.getJ2EETextVersion(j2eeVer);
- }
- else
- return null;
-
- */
- }
-
- public static IVirtualComponent[] getAllComponents(){
- List v = new ArrayList();
- IProject[] projects = ResourceUtils.getWorkspaceRoot().getProjects();
- for (int i = 0; i < projects.length; i++) {
- IVirtualComponent vc = ComponentCore.createComponent(projects[i]);
- if(vc != null)
- v.add(vc);
- }
-
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- /**
- * Returns all the EAR components in the workspace
- * @return IVirtualComponent[]; empty if none
- */
- public static IVirtualComponent[] getAllEARComponents() {
- List v = new ArrayList();
- IProject[] projects = ResourceUtils.getWorkspaceRoot().getProjects();
- for (int i = 0; i < projects.length; i++) {
- try {
- IVirtualComponent[] components = getEARComponentsFromProject(projects[i]);
- for (int j=0; j<components.length; j++) {
- if (components[j]!=null)
- v.add(components[j]);
- }
- } catch (Exception e) {
- e.printStackTrace();
- //handle exception
- }
-
- }
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- public static IVirtualComponent[] getAllWebComponents(){
- List v = new ArrayList();
- IProject[] projects = ResourceUtils.getWorkspaceRoot().getProjects();
- for (int i = 0; i < projects.length; i++) {
- try {
- IVirtualComponent[] components = getWebComponents(projects[i]);
- for (int j=0; j<components.length; j++) {
- if (components[j]!=null)
- v.add(components[j]);
- }
- } catch (Exception e) {
- e.printStackTrace();
- //handle exception
- }
-
- }
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- public static IVirtualComponent[] getAllEJBComponents(){
- List v = new ArrayList();
- IProject[] projects = ResourceUtils.getWorkspaceRoot().getProjects();
- for (int i = 0; i < projects.length; i++) {
- try {
- IVirtualComponent[] components = getEJBComponents(projects[i]);
- for (int j=0; j<components.length; j++) {
- if (components[j]!=null)
- v.add(components[j]);
- }
- } catch (Exception e) {
- e.printStackTrace();
- //handle exception
- }
-
- }
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- /**
- * Returns the EAR components in a given IProject
- * @param project
- * @return empty if no EAR components; must not return null
- */
- public static IVirtualComponent[] getEARComponentsFromProject(IProject project){
- //get all components in the project
- List v = new ArrayList();
- try {
- IVirtualComponent component = ComponentCore.createComponent(project);
- if (component != null && isEARComponent(component)){
- v.add(component);
- }
- }
- catch (Exception e){
- //handle exception
- }
-
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- /**
- * Returns Web components in a project
- * @param project
- * @return empty array if no web components; must not return null
- */
- public static IVirtualComponent[] getWebComponents(IProject project){
-
- //get all components in the project
- List v = new ArrayList();
- try {
- IVirtualComponent component = ComponentCore.createComponent(project);
-
- if (component != null && isWebComponent(component)){
- v.add(component);
- }
-
- }
- catch (Exception e){
- //handle exception
- }
-
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- public static String[] getWebComponentNames(IProject project){
- IVirtualComponent[] vcs = getWebComponents(project);
- return toComponentNamesArray(vcs);
- }
-
- public static String[] getEARComponentNames(IProject project){
- IVirtualComponent[] vcs = getEARComponentsFromProject(project);
- return toComponentNamesArray(vcs);
- }
-
- /**
- * Returns all components of type, componentType in the project.
- * @param project
- * @param componentType i.e. J2EEUtils.WEB
- * @return
- */
- public static IVirtualComponent[] getComponentsByType(IProject project, int componentType){
-
- List v = new ArrayList();
- if ( (WEB & componentType)==WEB ){
- IVirtualComponent[] webVC = getWebComponents(project);
- addToArrayListHelper(webVC, v);
- }
- if ( (EJB & componentType)==EJB ){
- IVirtualComponent[] ejbVC = getEJBComponents(project);
- addToArrayListHelper(ejbVC, v);
- }
- if ( (APPCLIENT & componentType)==APPCLIENT ) {
- IVirtualComponent[] appClientVC = getAppClientComponents(project);
- addToArrayListHelper(appClientVC, v);
- }
- if ( (EAR & componentType)==EAR ) {
- IVirtualComponent[] earVC = getEARComponentsFromProject(project);
- addToArrayListHelper(earVC, v);
- }
-
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- /**
- * Returns all components of type, componentType in the project.
- * @param project
- * @param componentTypeId as defined in IModuleConstants.
- * @return
- */
- public static IVirtualComponent[] getComponentsByType(IProject project, String componentTypeId){
-
- //get all components in the project of type componentTypeId
- List v = new ArrayList();
- try {
-
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if ( vc != null && J2EEProjectUtilities.isProjectOfType(project,componentTypeId))
- {
- v.add(vc);
- }
- //if (isWebComponent(project, components[i].getName())){
- //v.add(components[i]);
- //}
-
- }
- catch (Exception e){
- //handle exception
- }
-
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- public static String[] getProjectsContainingComponentOfType(String componentTypeId)
- {
- Vector v = new Vector();
- IVirtualComponent[] comps = getAllComponents();
- for (int i = 0; i < comps.length; i++) {
- if (J2EEProjectUtilities.isProjectOfType(comps[i].getProject(),componentTypeId))
- {
- //Add the project name to the vector if it has not been added already
- String name = comps[i].getProject().getName();
- if (!v.contains(name))
- {
- v.add(name);
- }
- }
-
- }
-
- return (String[])v.toArray(new String[0]);
- }
-
- /**
- * Helper method for getComponentsByType
- * @param vcs
- * @param vect
- */
- private static void addToArrayListHelper(IVirtualComponent[] vcs, List al){
- for (int i=0;i<vcs.length;i++){
- al.add(vcs[i]);
- }
- }
-
-
- /**
- * Essentially, returns all projects in the workspace
- * @return
- */
- public static IProject[] getAllFlexibleProjects(){
-
- List v = new ArrayList();
- try {
- IProject[] projects = ProjectUtilities.getAllProjects();
- for(int i=0; i<projects.length;i++) {
- if (ModuleCoreNature.getModuleCoreNature(projects[i])!=null){
- v.add(projects[i]);
- }
- }
- }
- catch(Exception e){
- }
-
- return (IProject[])v.toArray(new IProject[0]);
- }
-
-
- /**
- * True if there exists a underlying resource backing up the component and project
- * @param projectName
- * @param componentName
- * @return
- */
- public static boolean exists(String projectName, String componentName){
- IProject project = null;
- if (projectName!=null && projectName.length() > 0 ) {
- project = ProjectUtilities.getProject(projectName);
- }
- else
- return false;
-
- return exists(project);
- }
-
- /**
- * True if there exists a underlying resource backing up the component and project
- * @param project
- * @return
- */
- public static boolean exists(IProject project){
- if (project!=null) {
- if (!project.exists())
- return false;
-
- IVirtualComponent vc = ComponentCore.createComponent(project);
- return vc.exists();
- }
- else
- return false;
-
- }
-
- /**
- * Returns an array of EAR components which are referenced by the component
- * @param project
- * @return
- */
- public static IVirtualComponent[] getReferencingEARComponents(IProject project){
- List ears = new ArrayList();
- try{
- IVirtualComponent targetVC = ComponentCore.createComponent(project);
-
- IVirtualComponent[] earVC = getAllEARComponents();
- for (int i=0; i<earVC.length;i++) {
- IVirtualReference[] refs = earVC[i].getReferences();
- for (int k=0;k<refs.length;k++) {
- if (targetVC.equals(refs[k].getReferencedComponent())){
- ears.add(refs[k].getEnclosingComponent());
- }
- }
- }
-
- }
- catch (Exception e){
- }
-
- return (IVirtualComponent[])ears.toArray(new IVirtualComponent[0]);
- }
-
-
- /**
- * Returns the EJB Components referenced by the ear
- * @param project
- * @return
- */
- public static IVirtualComponent[] getReferencingEJBComponentsFromEAR(IProject project){
-
- List ejbComps = new ArrayList();
- try{
- IVirtualComponent vc = ComponentCore.createComponent(project);
- IVirtualReference[] refs = vc.getReferences();
- for (int i=0;i<refs.length;i++){
- if (isEJBComponent(refs[i].getReferencedComponent())){
- ejbComps.add(refs[i].getReferencedComponent());
- }
- }
- }
- catch(Exception e){
- }
-
- return (IVirtualComponent[])ejbComps.toArray(new IVirtualComponent[0]);
- }
-
-
- /**
- *
- * @param jar
- * @return Vector of bean String names.
- */
- public static Vector getBeanNames(EJBJar jar) {
- // We currently only support Stateless session beans.
- // List cmpBeans = jar.getBeanManagedBeans();
- // List bmpBeans = jar.getContainerManagedBeans();
- List sessionBeans = jar.getSessionBeans();
-
- Vector names = new Vector();
-
- // getBeanNames( names, cmpBeans );
- // getBeanNames( names, bmpBeans );
- getBeanNames(names, sessionBeans);
-
- return names;
- }
-
- /**
- * @param names
- * specifies that vector of strings that will be used to add bean
- * names to.
- * @param beans
- * specifies a list of beans.
- */
- private static void getBeanNames(Vector names, List beans) {
- Iterator iterator = beans.iterator();
-
- while (iterator.hasNext()) {
- EnterpriseBean bean = (EnterpriseBean) (iterator.next());
-
- if (bean.isSession()) {
- Session sessionBean = (Session) bean;
-
- if (sessionBean.getSessionType().getValue() == SessionType.STATELESS) {
- names.add(bean.getName());
- }
- }
- }
- }
-
- /**
- * Uses jem ProjectUtilities to get the project
- * @param ejb eObject
- * @return IProject
- */
- public static IProject getProjectFromEJB(EnterpriseBean ejb) {
- return ProjectUtilities.getProject(ejb);
- }
-
- /**
- * Returns a default J2EE 1.3 EAR component in the workspace
- * @return EAR component name
- */
- public static IVirtualComponent getDefault13EARComponent(){
- IVirtualComponent[] allEARComponents = getAllEARComponents();
- for (int j=0;j<allEARComponents.length;j++){
- int j2eeVersion = getJ2EEVersion(allEARComponents[j]);
- if (j2eeVersion == J2EEVersionConstants.J2EE_1_3_ID)
- return allEARComponents[j];
- }
- return null;
- }
-
- /**
- * Returns a default J2EE 1.4 EAR component in the workspace
- * @return EAR component name
- */
- public static IVirtualComponent getDefault14EARComponent(){
- IVirtualComponent[] allEARComponents = getAllEARComponents();
- for (int j=0;j<allEARComponents.length;j++){
- int j2eeVersion = getJ2EEVersion(allEARComponents[j]);
- if (j2eeVersion == J2EEVersionConstants.J2EE_1_4_ID)
- return allEARComponents[j];
- }
- return null;
- }
-
- /**
- * Returns the first EAR component of the J2EE version
- * @param versionId
- * @return
- */
- public static IVirtualComponent getEARComponentofJ2EEVersion(int versionId){
- IVirtualComponent[] components = getAllEARComponents();
- for (int i=0; i<components.length; i++){
- if (getJ2EEVersion(components[i]) == versionId)
- return components[i];
- }
- return null;
- }
-
-
- /**
- *
- * @param j2eeVersionInt
- * @return
- */
- public static String getLabelFromJ2EEVersion(String j2eeVersionInt) {
- if (j2eeVersionInt == null || j2eeVersionInt.length() == 0)
- return "";
-
- int j2eeVersion = Integer.parseInt(j2eeVersionInt);
- switch (j2eeVersion) {
- case J2EEVersionConstants.J2EE_1_2_ID :
- return J2EEVersionConstants.VERSION_1_2_TEXT;
- case J2EEVersionConstants.J2EE_1_3_ID :
- return J2EEVersionConstants.VERSION_1_3_TEXT;
- case J2EEVersionConstants.J2EE_1_4_ID :
- return J2EEVersionConstants.VERSION_1_4_TEXT;
- default :
- return "";
- }
- }
-
- public static String getJ2EEVersionFromLabel(String j2eeLabel) {
- String j2ee12String = String.valueOf(J2EEVersionConstants.J2EE_1_2_ID);
- String j2ee13String = String.valueOf(J2EEVersionConstants.J2EE_1_3_ID);
- String j2ee14String = String.valueOf(J2EEVersionConstants.J2EE_1_4_ID);
- if (j2eeLabel.equals(J2EEVersionConstants.VERSION_1_2_TEXT))
- return j2ee12String;
-
- if (j2eeLabel.equals(J2EEVersionConstants.VERSION_1_3_TEXT))
- return j2ee13String;
-
- if (j2eeLabel.equals(J2EEVersionConstants.VERSION_1_4_TEXT))
- return j2ee14String;
-
- return "";
-
- }
-
- /**
- * Returns String representations of J2EE versions
- * @param aVersion
- * @return
- */
- public static String getJ2EEIntVersionAsString(String aVersion) {
- if (aVersion.equals(J2EEVersionConstants.VERSION_1_4_TEXT))
- return new Integer(J2EEVersionConstants.J2EE_1_4_ID).toString();
- if (aVersion.equals(J2EEVersionConstants.VERSION_1_3_TEXT))
- return new Integer(J2EEVersionConstants.J2EE_1_3_ID).toString();
- if (aVersion.equals(J2EEVersionConstants.VERSION_1_2_TEXT))
- return new Integer(J2EEVersionConstants.J2EE_1_2_ID).toString();
- // default
- return new Integer(J2EEVersionConstants.J2EE_1_4_ID).toString();
- }
-
- // ----------------------------------------------------------------------
-
-
-
- /**
- *
- * @return
- *
- * @deprecated // use getALLEARComponents
- */
- public static IProject[] getEARProjects() {
- Vector v = new Vector();
- IProject[] projects = ResourceUtils.getWorkspaceRoot().getProjects();
- for (int i = 0; i < projects.length; i++) {
- try {
-// if (projects[i].hasNature(IEARNatureConstants.NATURE_ID)) {
- if (ResourceUtils.isEARProject(projects[i])) {
- v.add(projects[i]);
- }
- } catch (Exception e) {
- e.printStackTrace();
- //handle exception
- }
-
- }
-
- return (IProject[])v.toArray(new IProject[0]);
- }
-
-
- /**
- * Returns the first EAR project associated with the project and server
- * @param serviceProject
- * @param server
- * @return
- *
- * @deprecated // to be simplified
- */
- public static IProject getDefaultEARProject(IProject serviceProject, IServer server) {
-
- IProject[] earProjects = null;
- IProject ear = null;
-
- if (serviceProject != null && serviceProject.exists()) {
- try {
-
- boolean isWebEJBOrAppClient = ResourceUtils.isWebProject(serviceProject) //serviceProject.hasNature(IWebNatureConstants.J2EE_NATURE_ID)
- || ResourceUtils.isEJBProject(serviceProject) //serviceProject.hasNature(IEJBNatureConstants.NATURE_ID)
- || ResourceUtils.isAppClientProject(serviceProject);//serviceProject.hasNature(IApplicationClientNatureConstants.NATURE_ID);
- if (!isWebEJBOrAppClient) {
- return null;
- }
-
- IProject[] ears = getEARProjects();
-
- // separate EARs which are already deployed to the existing
- // server
- if (ears != null && ears.length >= 1) {
- ArrayList preferredEARList = new ArrayList();
- ArrayList secondaryEARList = new ArrayList();
- for (int i = 0; i < ears.length; i++) {
- ear = ears[i];
- IModule module = ResourceUtils.getModule(ear);
- if (module != null) {
- if (server != null
- || ServerUtil.containsModule(server,
- module, new NullProgressMonitor())) {
- preferredEARList.add(ear);
- } else {
- secondaryEARList.add(ear);
- }
- }
- }
- // add secondaryEARList items to end of primary list
- for (int j = 0; j < secondaryEARList.size(); j++) {
- preferredEARList.add(secondaryEARList.get(j));
- }
- // toArray
- if (preferredEARList != null) {
- earProjects = (IProject[]) preferredEARList.toArray(new IProject[0]);
- }
- }
- } catch (Exception ce) {
- ILog log = EnvironmentService.getEclipseLog();
- log.log(ILog.ERROR, 5039, J2EEUtils.class, "getEARProjects", ce);
-
- }
- }
- return earProjects[0];
- }
-
- /**
- * Gets the EJB Components in the project
- * @param project
- * @return
- */
- public static IVirtualComponent[] getEJBComponents(IProject project){
-
- //get all components in the project
- List v = new ArrayList();
- IVirtualComponent component = ComponentCore.createComponent(project);
- try {
- if (component != null && isEJBComponent(component)){
- v.add(component);
- }
- }
- catch (Exception e){
- //handle exception
- }
-
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- /**
- * Gets the Application Client components in a project.
- * @param project
- * @return
- */
- public static IVirtualComponent[] getAppClientComponents(IProject project){
-
- //get all components in the project
- List v = new ArrayList();
- try {
- IVirtualComponent component = ComponentCore.createComponent(project);
-
- if (component != null && isAppClientComponent(component)){
- v.add(component);
- }
- }
- catch (Exception e){
- //handle exception
- }
-
- return (IVirtualComponent[])v.toArray(new IVirtualComponent[0]);
- }
-
- /**
- *
- * @param project
- * @return
- */
- public static IVirtualComponent[] getReferencingEJB20ComponentsFromEAR(IProject project){
-
- List ejbComps = new ArrayList();
- try{
- IVirtualComponent vc = ComponentCore.createComponent(project);
- IVirtualReference[] refs = vc.getReferences();
- for (int i=0; i<refs.length;i++) {
- if (isEJB20Component(refs[i].getReferencedComponent()))
- ejbComps.add(refs[i].getReferencedComponent());
- }
- }
- catch (Exception e){
- }
-
- return (IVirtualComponent[])ejbComps.toArray(new IVirtualComponent[0]);
- }
-
-
- /**
- * Utility method to combine two IProject[]
- * @param projectArray1
- * @param projectArray2
- * @return
- */
- public static IProject[] combineProjectArrays(IProject[] projectArray1,
- IProject[] projectArray2) {
-
- // check if either or both arrays are null.
- if (projectArray1 == null && projectArray2 == null)
- return null;
- else if (projectArray1 != null && projectArray2 == null)
- return projectArray1;
- else if (projectArray1 == null && projectArray2 != null)
- return projectArray2;
-
- IProject[] combinedProjects = new IProject[projectArray1.length
- + projectArray2.length];
-
- System.arraycopy(projectArray1, 0, combinedProjects, 0,
- projectArray1.length);
- if (projectArray2.length > 0) {
- System.arraycopy(projectArray2, 0, combinedProjects,
- projectArray1.length, projectArray2.length);
- }
-
- return combinedProjects;
- }
-
- /**
- *
- * @param project
- * @return
- */
- public static IVirtualComponent[] getReferencingWebComponentsFromEAR(IProject project){
- List webComps = new ArrayList();
- try{
- IVirtualComponent vc = ComponentCore.createComponent(project);
- IVirtualReference[] refs = vc.getReferences();
- for (int i=0; i<refs.length;i++) {
- if (isWebComponent(refs[i].getReferencedComponent()))
- webComps.add(refs[i].getReferencedComponent());
- }
- }
- catch(Exception e){
- }
-
- return (IVirtualComponent[])webComps.toArray(new IVirtualComponent[0]);
- }
-
-
-
- /**
- *
- * @param ejbComponent
- * @return
- */
- public static boolean isEJB20Component(IVirtualComponent ejbComponent){
- return isEJB20Component(ejbComponent.getProject());
- }
-
- /**
- *
- * @param project
- * @return
- */
- public static boolean isEJB20Component(IProject project){
- boolean isEJB = false;
- try {
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (EJBArtifactEdit.isValidEJBModule(vc)) {
- EJBArtifactEdit ejbEdit = null;
- try {
- ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(vc);
- EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
- if (ejbRes.getModuleVersionID()== J2EEVersionConstants.EJB_2_0_ID) {
- return true;
- }
- }
- finally {
- if (ejbEdit!=null)
- ejbEdit.dispose();
- }
- }
- }
- catch(Exception ex){}
-
- return isEJB;
- }
-
-
- /**
- * Checks if the component at compName is referenced by the ear at earCompName
- * @param earProject
- * @param project
- * @return
- */
- public static boolean isComponentAssociated(IProject earProject, IProject project) {
- IVirtualComponent vc1 = ComponentCore.createComponent(earProject);
- IVirtualComponent vc2 = ComponentCore.createComponent(project);
- return isComponentAssociated(vc1, vc2);
- }
-
- /**
- * Checks if the component is referenced by the ear
- * @param ear
- * @param component
- * @return
- */
- private static boolean isComponentAssociated(IVirtualComponent ear, IVirtualComponent component){
- boolean isAssociated = false;
-
- // Note: not implemented by J2EE yet.. to be used later.
- IVirtualReference[] compRefs = ear.getReferences();
- if (compRefs!= null) {
- for (int i=0;i<compRefs.length;i++){
- IVirtualReference vref = compRefs[i];
- if (component.equals(vref.getReferencedComponent()))
- isAssociated = true;
- }
- }
- return isAssociated;
- }
-
- /**
- *
- * @param project
- * @param earProject
- */
- public static void associateComponentToEAR(IProject project, IProject earProject) {
-
- IDataModel addComponentToEARDataModel = DataModelFactory.createDataModel(new AddComponentToEnterpriseApplicationDataModelProvider());
- IVirtualComponent earComp = ComponentCore.createComponent(earProject);
- addComponentToEARDataModel.setProperty(ICreateReferenceComponentsDataModelProperties.SOURCE_COMPONENT, earComp);
- List modList = (List) addComponentToEARDataModel.getProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST);
- IVirtualComponent targetComp = ComponentCore.createComponent(project);
- modList.add(targetComp);
- addComponentToEARDataModel.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST, modList);
-
- try {
- addComponentToEARDataModel.getDefaultOperation().execute(null, null);
- } catch (ExecutionException e) {
- Logger.getLogger().log(e);
- }
-
- }
-
- /*
- * Determines whether project can be associated with earProject.
- * @returns IStatus of OK if the project is a Web project, EJB project, or AppClient
- * project that can be associated with the EAR project.
- * Returns IStatus with an ERROR severity if the project is a Web project,
- * EJB project, or AppClient project that cannot be associated with the EAR project.
- * When an IStatus of severity ERROR is returned, the IStatus' message will contain the
- * lowest J2EE level that this project requires on an EAR.
- * Returns an IStatus with severity OK if project is not recognized as a Web, EJB, or
- * AppClient project or if earProject is not recognized as an EAR project.
- */
- public static IStatus canAssociateProjectToEAR(IProject project, IProject earProject)
- {
- //If project contains the web, ejb, or appclient facet, and earProject contains the
- //ear facet, return whether or not the facet versions are such that the project
- //can be added to the ear.
-
- IStatus status = Status.OK_STATUS;
- boolean isWeb = isWebComponent(project);
- boolean isEJB = isEJBComponent(project);
- boolean isAppClient = isAppClientComponent(project);
- boolean isEAR = isEARComponent(earProject);
- if ((isWeb || isEJB || isAppClient) && isEAR)
- {
- try
- {
- IFacetedProject fProject = ProjectFacetsManager.create(project);
- IFacetedProject fEarProject = ProjectFacetsManager.create(earProject);
-
- IProjectFacet earPf = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_EAR_MODULE);
- IProjectFacetVersion earPfv = fEarProject.getInstalledVersion(earPf);
- String earVersion = earPfv.getVersionString();
-
- String webVersion = null;
- String ejbVersion = null;
- String acVersion = null;
-
- if (isWeb)
- {
- IProjectFacet webPf = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_WEB_MODULE);
- IProjectFacetVersion webPfv = fProject.getInstalledVersion(webPf);
- webVersion = webPfv.getVersionString();
- }
- else if (isEJB)
- {
- IProjectFacet ejbPf = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_EJB_MODULE);
- IProjectFacetVersion ejbPfv = fProject.getInstalledVersion(ejbPf);
- ejbVersion = ejbPfv.getVersionString();
- }
- else if (isAppClient)
- {
- IProjectFacet acPf = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_APPCLIENT_MODULE);
- IProjectFacetVersion acPfv = fProject.getInstalledVersion(acPf);
- acVersion = acPfv.getVersionString();
- }
-
- if ((isWeb && webVersion.equals(J2EEVersionConstants.VERSION_2_2_TEXT)) ||
- (isEJB && ejbVersion.equals(J2EEVersionConstants.VERSION_1_1_TEXT)) ||
- (isAppClient && acVersion.equals(J2EEVersionConstants.VERSION_1_2_TEXT))
- )
- {
- if (!greaterThanOrEqualTo(earVersion, J2EEVersionConstants.VERSION_1_2_TEXT))
- {
- status = StatusUtils.errorStatus(J2EEVersionConstants.VERSION_1_2_TEXT);
- }
- }
- else if ((isWeb && webVersion.equals(J2EEVersionConstants.VERSION_2_3_TEXT)) ||
- (isEJB && ejbVersion.equals(J2EEVersionConstants.VERSION_2_0_TEXT)) ||
- (isAppClient && acVersion.equals(J2EEVersionConstants.VERSION_1_3_TEXT))
- )
- {
- if (!greaterThanOrEqualTo(earVersion, J2EEVersionConstants.VERSION_1_3_TEXT))
- {
- status = StatusUtils.errorStatus(J2EEVersionConstants.VERSION_1_3_TEXT);
- }
- }
- else if ((isWeb && webVersion.equals(J2EEVersionConstants.VERSION_2_4_TEXT)) ||
- (isEJB && ejbVersion.equals(J2EEVersionConstants.VERSION_2_1_TEXT)) ||
- (isAppClient && acVersion.equals(J2EEVersionConstants.VERSION_1_4_TEXT))
- )
- {
- if (!greaterThanOrEqualTo(earVersion, J2EEVersionConstants.VERSION_1_4_TEXT))
- {
- status = StatusUtils.errorStatus(J2EEVersionConstants.VERSION_1_4_TEXT);
- }
- }
- } catch (CoreException ce)
- {
- //If facet API throws a CoreException when trying to create an IFacetedProject from
- //an IProject, an OK Status will be returned and clients of this utility method
- //won't raise a validation error.
- }
- }
-
- return status;
- }
-
-
- /*
- * @param versionA version number of the form 1.2.3
- * @param versionA version number of the form 1.2.3
- * @return boolean returns whether versionA is greater than or equal to versionB
- */
- private static boolean greaterThanOrEqualTo(String versionA, String versionB)
- {
- if (versionA.equals(versionB))
- {
- return true;
- }
- else
- {
- StringTokenizer stA = new StringTokenizer(versionA, ".");
- StringTokenizer stB = new StringTokenizer(versionB, ".");
-
- int sizeA = stA.countTokens();
- int sizeB = stB.countTokens();
-
- int size;
- if (sizeA < sizeB)
- {
- size = sizeA;
- }
- else
- size = sizeB;
-
- for (int i = 0; i < size; i++)
- {
- int a = Integer.parseInt(stA.nextToken());
- int b = Integer.parseInt(stB.nextToken());
- if (a != b)
- {
- return a > b;
- }
- }
-
- return sizeA > sizeB;
- }
- }
-
- /**
- * @param project
- * @return
- */
- public static IPath getWebInfPath(IProject project){
-
- IVirtualComponent component = ComponentCore.createComponent(project);
-
- //should WEB-INF location be pulled in from the .component file rather than hardcoded here?
- IVirtualFolder webInfDir = component.getRootFolder().getFolder(new Path("/WEB-INF"));
- IPath modulePath = webInfDir.getWorkspaceRelativePath();
-
- if (!webInfDir.exists())
- {
- try
- {
- webInfDir.create(0,null);
- }
- catch (CoreException e)
- {}
- }
- return modulePath;
- }
-
-
- /**
- *
- * @param project
- * @return
- *
- */
- public static IPath getFirstWebContentPath(IProject project){
-
- IPath modulePath = null;
- try {
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (ModuleCoreNature.isFlexibleProject(project)) {
- modulePath = vc.getRootFolder().getWorkspaceRelativePath();
- }
- }
- catch(Exception ex){}
-
- return modulePath;
- }
-
- /**
- * @param project
- * @return
- */
- public static IPath getWebContentPath(IProject project){
- IVirtualComponent component = ComponentCore.createComponent(project);
- IPath modulePath = component.getRootFolder().getWorkspaceRelativePath();
- return modulePath;
- }
-
- /**
- *
- * @param project
- * @return
- *
- */
- public static IContainer getFirstWebContentContainer(IProject project){
- IContainer container = null;
- IPath modulePath = getFirstWebContentPath(project);
- IResource res = ResourceUtils.findResource(modulePath);
- if (res!=null){
- container = res.getParent();
- }
-
- return container;
- }
-
- /**
- * @param project
- * @return
- */
- public static IContainer getWebContentContainer(IProject project){
- IContainer container = null;
- IPath modulePath = getWebContentPath(project);
- IResource res = ResourceUtils.findResource(modulePath);
- if (res instanceof IContainer){
- container = (IContainer)res;
- }
- return container;
- }
-
-
- /**
- * Returns the first Module name
- * @param project
- * @return
- *
- */
- public static String getFirstWebModuleName(IProject project){
- String moduleName = null;
- try {
- IVirtualComponent vc = ComponentCore.createComponent(project);
- moduleName = vc.getName();
- }
- catch(Exception ex){}
-
- return moduleName;
- }
-
-
- public static boolean isWebComponent(IVirtualComponent comp){
- return J2EEProjectUtilities.isDynamicWebProject(comp.getProject());
- }
-
- public static boolean isEARComponent(IVirtualComponent comp){
- return J2EEProjectUtilities.isEARProject(comp.getProject());
- }
-
- /**
- * True if the component is a valid EJB component
- * @param project
- * @return
- */
- public static boolean isEJBComponent(IProject project) {
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (vc != null)
- {
- return isEJBComponent(vc);
- }
- else
- {
- return false;
- }
- }
-
- public static boolean isEJBComponent(IVirtualComponent comp){
- return J2EEProjectUtilities.isEJBProject(comp.getProject());
- }
-
- public static boolean isAppClientComponent(IVirtualComponent comp){
- return J2EEProjectUtilities.isApplicationClientProject(comp.getProject());
- }
-
- public static boolean isJavaComponent(IVirtualComponent comp){
- return J2EEProjectUtilities.isUtilityProject(comp.getProject());
- }
-
- public static String getComponentTypeId(IProject project) {
- return J2EEProjectUtilities.getJ2EEProjectType(project);
- }
-
- public static String[] toComponentNamesArray(IVirtualComponent[] components){
- String[] ecNames = new String[components.length];
- for(int i=0; i<components.length; i++){
- ecNames[i] = components[i].getName();
- }
- return ecNames;
- }
-
- public static IProject[] toProjectArray(IVirtualComponent[] components){
- IProject[] projects = new IProject[components.length];
- for (int i=0; i<components.length; i++){
- projects[i] = components[i].getProject();
- }
- return projects;
- }
-
- /**
- * Given a J2EE level, this method returns the highest supported servlet level
- * @param j2eeLevel
- * @return web app version
- */
- public static Integer getServletVersionForJ2EEVersion(String j2eeLevel){
- int aVersion = Integer.valueOf(j2eeLevel).intValue();
- switch (aVersion) {
- case J2EEVersionConstants.J2EE_1_2_ID:
- return new Integer(J2EEVersionConstants.WEB_2_2_ID);
-
- case J2EEVersionConstants.J2EE_1_3_ID:
- return new Integer(J2EEVersionConstants.WEB_2_3_ID);
-
- case J2EEVersionConstants.J2EE_1_4_ID:
- return new Integer(J2EEVersionConstants.WEB_2_4_ID);
-
- default:
- return new Integer(J2EEVersionConstants.WEB_2_3_ID);
- }
- }
-
- /**
- * Given a J2EE level, this method returns the highest supported EJB version
- * @param j2eeLevel
- * @return ejb spec version
- */
- public static Integer getEJBVersionForJ2EEVersion(String j2eeLevel){
- int aVersion = Integer.valueOf(j2eeLevel).intValue();
- switch (aVersion) {
- case J2EEVersionConstants.J2EE_1_2_ID:
- return new Integer(J2EEVersionConstants.EJB_1_1_ID);
-
- case J2EEVersionConstants.J2EE_1_3_ID:
- return new Integer(J2EEVersionConstants.EJB_2_0_ID);
-
- case J2EEVersionConstants.J2EE_1_4_ID:
- return new Integer(J2EEVersionConstants.EJB_2_1_ID);
-
- default:
- return new Integer(J2EEVersionConstants.EJB_2_0_ID);
- }
- }
-
- /**
- * True if the component is a valid Java component
- * @param project
- * @return
- */
- public static boolean isJavaComponent(IProject project) {
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (vc != null)
- {
- return isJavaComponent(vc);
- }
- else
- {
- //check if it's a faceted project with only the Java facet.
- try
- {
- if (project.exists())
- {
- IFacetedProject fProject = ProjectFacetsManager.create(project);
- if (fProject != null)
- {
- Set facets = fProject.getProjectFacets();
- if (facets.size()==1)
- {
- IProjectFacetVersion pfv = (IProjectFacetVersion)facets.iterator().next();
- if (pfv.getProjectFacet().getId().equals(IModuleConstants.JST_JAVA))
- {
- return true;
- }
- }
- }
- else
- {
- //This is not a faceted project. Check if this is a simple Java project.
- if (ResourceUtils.isJavaProject(project))
- {
- return true;
- }
- }
- }
- } catch (CoreException ce)
- {
-
- }
- }
-
- return false;
- }
-
- /**
- * True if the component is a valid Web component
- * @param project
- * @return
- */
- public static boolean isWebComponent(IProject project) {
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (vc != null)
- {
- return isWebComponent(vc);
- }
- else
- {
- return false;
- }
- }
-
- /**
- * True if the component is a true Application client component
- * @param project
- * @return
- */
- public static boolean isAppClientComponent(IProject project) {
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (vc != null)
- {
- return isAppClientComponent(vc);
- }
- else
- {
- return false;
- }
- }
-
- /**
- * True is the component is a valid EAR component
- * @param project
- * @return
- */
- public static boolean isEARComponent(IProject project){
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (vc != null)
- {
- return isEARComponent(vc);
- }
- else
- {
- return false;
- }
- }
-
- public static IFolder getOutputContainerRoot (IVirtualComponent component) {
- return (IFolder)J2EEProjectUtilities.getOutputContainers(component.getProject())[0];
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/JavaMOFUtils.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/JavaMOFUtils.java
deleted file mode 100644
index f883dd34c..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/JavaMOFUtils.java
+++ /dev/null
@@ -1,248 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.common;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jem.util.emf.workbench.nature.EMFNature;
-import org.eclipse.jem.workbench.utility.JemProjectUtilities;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jem.java.JavaVisibilityKind;
-import org.eclipse.jem.java.Method;
-
-/**
-* This class contains some useful utilities for dealing with the JavaMOF
-*/
-
-public final class JavaMOFUtils
-{
- /**
- * Determine whether this class of the given name is loadable in the given
- * project.
- * @param className The fully qualified name of the class
- * @param project The project
- * @return True if the class is loadable and no exceptions are thrown.
- */
- public static boolean isClassLoadable(String className, IProject project) throws CoreException
- {
- return isClassLoadable(getJavaClass(className,project));
- }
-
- public static boolean isClassLoadable(JavaClass javaClass)
- {
- return javaClass.isExistingType();
- }
-
- /**
- * Determine whether the specified class has a public constructor
- * with an empty parameter list.
- * @param className The fully qualified name of the class
- * @param project The project
- * @return True if the class is loadable from the project and the
- * class has a public constructor with an empty parameter list
- */
- public static boolean hasPublicDefaultCtor(String className, IProject project) throws CoreException
- {
- return hasPublicDefaultCtor(getJavaClass(className, project));
- }
-
-
- public static boolean hasPublicDefaultCtor(JavaClass javaClass)
- {
-
- List methodList = javaClass.getMethods();
- if (methodList==null)
- return true;
-
- Iterator iMethods = methodList.iterator();
- boolean userDefinedCtor = false;
- while (iMethods.hasNext())
- {
- Method thisMethod = (Method)iMethods.next();
-
- if (thisMethod.isConstructor())
- {
- userDefinedCtor = true;
-
- //Since the user has defined a ctor, the default ctor is no longer available.
- //We must ensure that the user has provided a public ctor with no parameters.
-
- //check if public
- if (thisMethod.getJavaVisibility().getValue() == JavaVisibilityKind.PUBLIC)
- {
- //see if parameter list is empty
- List paramList = thisMethod.getParameters();
- if (paramList.isEmpty() )
- {
- return true;
- }
- }
- }
-
- }
-
- if (userDefinedCtor)
- {
- return false; //if the user defined a ctor and we still haven't
- //returned true, none of them were public with no parameters.
- }
- else
- {
- return true;
- }
-
- }
- /**
- * Determine whether the specified class implements the specified interface.
- * @param className The fully qualified name of the class
- * @param interfaceName The fully qualified name of the interface
- * @param project The project
- * @return True if the class and interface are loadable from the project and
- * the class implements the interface.
- */
- public static boolean implementsInterface(String className, String interfaceName, IProject project)
- throws CoreException
- {
- return implementsInterface(getJavaClass(className, project), getJavaClass(interfaceName, project));
- }
-
-public static boolean implementsInterface(JavaClass javaClass, JavaClass interfaceClass)
- {
-
- if (!javaClass.isExistingType()) return false;
-
- if (!interfaceClass.isExistingType()) return false;
-
- return javaClass.implementsInterface(interfaceClass);
- }
-
- /**
- * Determine whether the specified class extends the specified superclass
- * @param className The fully qualified name of the class
- * @param superClassName The fully qualified name of the superclass
- * @param project The project
- * @return True if the class and superClass are loadable from the project and
- * the class extends the superClass
- */
- public static boolean extendsClass(String className, String superClassName, IProject project)
- throws CoreException
- {
- return extendsClass(getJavaClass(className,project), getJavaClass(superClassName, project));
- }
-
- public static boolean extendsClass(JavaClass javaClass, JavaClass superClass)
- {
- return superClass.isAssignableFrom(javaClass);
- }
-
- /**
- * Determine whether the specified class is actually an interface
- * @param className The fully qualified name of the class
- * @param project The project
- * @return True if the class is loadable from the project and is
- * actually an interface
- */
- public static boolean isInterface(String className, IProject project) throws CoreException
- {
- return isInterface(getJavaClass(className, project));
- }
-
- public static boolean isInterface(JavaClass javaClass)
- {
- return javaClass.isInterface();
- }
- public static boolean hasAbstractMethods (String className, IProject project) throws CoreException
- {
- return hasAbstractMethods(getJavaClass(className, project));
- }
-
- public static boolean hasAbstractMethods (JavaClass javaClass)
- {
- List methodList = javaClass.getMethods();
- if (methodList==null)
- return false;
-
- Iterator iMethods = methodList.iterator();
- while (iMethods.hasNext())
- {
- Method thisMethod = (Method)iMethods.next();
- if ( thisMethod.isAbstract()) return true;
- }
- return false;
- }
-
- /*
- *
- */
- /**
- * @param classQName Fully qualified classname (packageName + typeName)
- * @param project
- * @return
- * @throws CoreException
- */
-public static JavaClass getJavaClass(String classQName , IProject project) throws CoreException
- {
- EMFNature jMOF = JemProjectUtilities.getJEM_EMF_Nature(project, true);
- return (JavaClass)JavaRefFactory.eINSTANCE.reflectType(classQName,jMOF.getResourceSet());
- }
-
- /**
- * @param packageName
- * @param typeName
- * @param project
- * @return
- * @throws CoreException
- */
-public static JavaClass getJavaClass(String packageName, String typeName , IProject project) throws CoreException
- {
- EMFNature jMOF = JemProjectUtilities.getJEM_EMF_Nature(project, true);
- return (JavaClass)JavaRefFactory.eINSTANCE.reflectType(packageName, typeName, jMOF.getResourceSet());
- }
-
- public static boolean isValidSEIFile(JavaClass beanClass, JavaClass seiClass)
- {
- if (!seiClass.isInterface())
- return false;
-
- Vector beanMethodsList = new Vector();
- List beanMethods = beanClass.getMethods();
- Iterator beanMethodsIterator = beanMethods.iterator();
- while (beanMethodsIterator.hasNext())
- {
- Method thisMethod = (Method)beanMethodsIterator.next();
- beanMethodsList.add(thisMethod.getMethodElementSignature());
- }
-
- List seiMethods = seiClass.getMethods();
- if (beanMethods == null ) {
- if ( seiMethods == null) return true;
- else return false;
- }
- if (seiMethods == null) return false;
-
- Iterator seiMethodsIterator = seiMethods.iterator();
- while (seiMethodsIterator.hasNext())
- {
- Method thisMethod = (Method)seiMethodsIterator.next();
- if ( !beanMethodsList.contains(thisMethod.getMethodElementSignature())) {
- return false;
- }
- }
- return true;
-
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ResourceUtils.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ResourceUtils.java
deleted file mode 100644
index 650af5aa6..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ResourceUtils.java
+++ /dev/null
@@ -1,1890 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060330 124667 kathy@ca.ibm.com - Kathy Chan
- * 20060421 136761 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
- * 20060503 126819 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.URL;
-import java.net.URLEncoder;
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IPackageFragment;
-import org.eclipse.jdt.core.IPackageFragmentRoot;
-import org.eclipse.jdt.core.JavaConventions;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.applicationclient.componentcore.util.AppClientArtifactEdit;
-import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
-import org.eclipse.wst.common.componentcore.resources.IVirtualResource;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.server.core.IModule;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerUtil;
-import org.eclipse.wst.server.core.model.IURLProvider;
-
-/**
- * This class contains useful methods for working with Eclipse resources.
- */
-public final class ResourceUtils {
-
- // Keeps the IWorkspaceRoot hanging around. See getWorkspaceRoot().
- private static IWorkspaceRoot root_ = null;
-
- // Keeps the IWorkspace hanging around. See getWorkspace().
-
- private static IWorkspace workspace_ = null;
-
- /**
- * As returned by {@link #getProjectType getProjectType()}, indicates that
- * the given project has no Java or Web nature.
- */
- public static byte PROJECT_TYPE_NONE = 0;
-
- /**
- * As returned by {@link #getProjectType getProjectType()}, indicates that
- * the given project has a Java project nature.
- */
- public static byte PROJECT_TYPE_JAVA = 1;
-
- /**
- * As returned by {@link #getProjectType getProjectType()}, indicates that
- * the given project has a Web project nature.
- */
- public static byte PROJECT_TYPE_WEB = 2;
-
- /**
- * As returned by {@link #getProjectType getProjectType()}, indicates that
- * the given project has an EJB project nature.
- */
- public static byte PROJECT_TYPE_EJB = 4;
-
- /**
- * As returned by {@link #getProjectType getProjectType()}, indicates that
- * the given project has an Application client project nature.
- */
- public static byte PROJECT_TYPE_APPCLIENT = 8;
-
- /**
- * The SOAP rpcrouter servlet extension to be added to web project URL
- */
- public static String SERVLET_EXT = "/servlet/rpcrouter";
-
- private static final String DEFAULT_CLIENT_WEB_PROJECT_EXT = "Client";
- private static final String DEFAULT_CLIENT_EJB_PROJECT_EXT = "EJBClient";
- private static final String DEFAULT_EJB_PROJECT_NAME = "WebServiceEJBProject";
- private static final String DEFAULT_EJB_COMPONENT_NAME = "WebServiceEJB";
- private static final String DEFAULT_WEB_PROJECT_NAME = "WebServiceProject";
- private static final String DEFAULT_WEB_COMPONENT_NAME = "WebServiceProject";
- private static final String DEFAULT_ROUTER_PROJECT_EXT = "Router";
-
- private static final String DEFAULT_SERVICE_EAR_PROJECT_NAME = "WebServiceProjectEAR";
- private static final String DEFAULT_SERVICE_EAR_COMPONENT_NAME = "WebServiceProjectEAR";
- private static final String DEFAULT_CLIENT_EAR_PROJECT_NAME = "WebServiceProjectClientEAR";
- private static final String DEFAULT_CLIENT_EAR_COMPONENT_NAME = "WebServiceProjectClientEAR";
-
- private static final String DEFAULT_EAR_EXT = "EAR";
-
- /**
- * Returns the IWorkspaceRoot object.
- * @return The IWorkspaceRoot object.
- */
- public static IWorkspaceRoot getWorkspaceRoot() {
- if (root_ == null) {
- root_ = ResourcesPlugin.getWorkspace().getRoot();
- }
- return root_;
- }
-
- /**
- * Returns the IWorkspace object.
- * @return The IWorkspace object.
- */
- public static IWorkspace getWorkspace() {
- if (workspace_ == null) {
- if (root_ == null) {
- root_ = ResourcesPlugin.getWorkspace().getRoot();
- }
- workspace_ = root_.getWorkspace();
- }
- return workspace_;
- }
-
- /**
- * Returns an {@link org.eclipse.core.resources.IResource IResource}of the
- * given absolute pathname or null if no such resource exists.
- *
- * @param absolutePathname
- * The absolute path of the resource.
- * @return The <code>IResource</code>.
- */
- public static IResource findResource(String absolutePathname) {
- if (absolutePathname == null) {
- return null;
- }
- return findResource(new Path(absolutePathname));
- }
-
- /**
- * Returns an {@link org.eclipse.core.resources.IResource IResource}of the
- * given absolute path or null if no such resource exists.
- *
- * @param absolutePath
- * The absolute <code>IPath</code> of the resource.
- * @return The <code>IResource</code>.
- */
- public static IResource findResource(IPath absolutePath) {
- if (absolutePath == null) {
- return null;
- }
- return ResourceUtils.getWorkspaceRoot().findMember(absolutePath);
- }
-
- /**
- * Returns an {@link org.eclipse.core.resources.IResource IResource}of the
- * given file system relative pathname and project or null if no such resource exists.
- *
- * @param filePath File system relative pathname
- * @param project Project
- * @return The <code>IResource</code>.
- */
- public static IResource findResourceAtLocation(String filePath, IProject project) {
-
- return findResource(findPathAtLocation( new Path(filePath), project));
- }
-
- /**
- * This method attempts to convert a path that is relative to a file system
- * to a path that is relative to the workspace. Instead of comparing the
- * filePath with the install location of the workspace (i.e.
- * Platform.getLocation()), the filePath is compared with the location of the project
- * since the project could be in a location other than the the default location relative to the
- * workspace.
- *
- * @param filePath File path relative to a file system
- * @param project The project the file is in
- * @return Path relative to the workspace
- */
- public static IPath findPathAtLocation(IPath filePath, IProject project) {
- IPath result = null;
-
- IPath projectLocation = project.getLocation();
-
- if (projectLocation.matchingFirstSegments(filePath) == projectLocation
- .segmentCount()) {
- filePath = filePath.removeFirstSegments(projectLocation
- .segmentCount() - 1);
- result = filePath.setDevice(null);
- }
-
- return result;
- }
- /**
- * Validates the given string as a name for a resource of the given type(s).
- * This method obeys the contract of
- * {@link org.eclipse.core.resources.IWorkspace#validateName IWorkspace.validateName()}.
- *
- * @param segment
- * The path to validate.
- * @param typeMask
- * The <code>IResource</code> type or types.
- * @return The status with a value if <code>IStatus.OK</code> if the path
- * is valid, or with appropriate severity and message information if
- * the path is not valid.
- *
- * @deprecated not used
- */
- public static IStatus validateName(String segment, int typeMask) {
- return getWorkspace().validateName(segment, typeMask);
- }
-
- /**
- * Validates the given string as the path of a resource of the given
- * type(s). This method obeys the contract of
- * {@link org.eclipse.core.resources.IWorkspace#validatePath IWorkspace.validatePath()}.
- *
- * @param path
- * The path to validate.
- * @param typeMask
- * The <code>IResource</code> type or types.
- * @return The status with a value if <code>IStatus.OK</code> if the path
- * is valid, or with appropriate severity and message information if
- * the path is not valid.
- * @deprecated not used
- */
- public static IStatus validatePath(String path, int typeMask) {
- return getWorkspace().validatePath(path, typeMask);
- }
-
- /**
- * Validates the given Java type name.
- *
- * @param typeName
- * The Java type name.
- * @return The status with a value of <code>IStatus.OK</code> if the name
- * is valid, or with appropriate severity and message information if
- * name is not valid. The primitive types (boolean, char, byte,
- * short, int, long, float, double) are valid. Arrays of valid types
- * are themselves valid.
- * @deprecated use JavaConventions in the jdt core
- */
- public static IStatus validateJavaTypeName(String typeName) {
- //
- // Strip off the trailing array bits, if any.
- //
- int a = typeName.indexOf('[');
- if (a > 0) {
- typeName = typeName.substring(0, a);
- }
- //
- // Allow primitives.
- //
- if (isPrimitiveJavaType(typeName)) {
- return new Status(IStatus.OK, WebServicePlugin.ID, 0, "", null);
- }
- //
- // Defer to JavaConventions.
- //
- return JavaConventions.validateJavaTypeName(typeName);
- }
-
- /**
- * Returns true if the given <code>typeName</code> is a Java primitive
- * (boolean, char, byte, short, int, long, float, double).
- *
- * @return True if the type name is a Java primitive.
- *
- * @deprecated
- */
- public static boolean isPrimitiveJavaType(String typeName) {
- return (typeName.equals("boolean") || typeName.equals("char")
- || typeName.equals("byte") || typeName.equals("short")
- || typeName.equals("int") || typeName.equals("long")
- || typeName.equals("float") || typeName.equals("double"));
- }
-
- /**
- * Returns the handle of the IProject at the beginning of the given
- * <code>absolutePath</code>. Neither the given path nor the project need
- * exist in the workspace. The path must be absolute, and must consist of at
- * least one segment.
- *
- * @return An IProject handle for the project at the beginning of the given
- * <code>absolutePath</code>, or null if the path does not
- * specify a project.
- */
- public static IProject getProjectOf(IPath absolutePath) {
- if (absolutePath.isAbsolute()) {
- String projectName = absolutePath.segment(0);
- if (projectName != null) {
- return getWorkspaceRoot().getProject(projectName);
- }
- }
- return null;
- }
-
- /**
- *
- * @param absolutePath
- * @return
- */
- public static IVirtualComponent getComponentOf(IPath absolutePath){
- if (absolutePath.isAbsolute()) {
- String projectName = absolutePath.segment(0);
- IProject project = getWorkspaceRoot().getProject(projectName);
- if (projectName != null) {
- return ComponentCore.createComponent(project);
- }
- }
- return null;
- }
-
- public static IVirtualComponent getComponentOf(IResource res)
- {
- IVirtualResource[] vresources = ComponentCore.createResources(res);
- IVirtualComponent vcomp = null;
- if (vresources != null && vresources.length>0)
- {
- IVirtualResource vres = vresources[0];
- vcomp = vres.getComponent();
- }
- return vcomp;
- }
-
-
- /**
- * Returns true if the given <code>project</code> is a Java Project.
- *
- * @param project
- * The project.
- * @return True if the project is a Java Project.
- */
- public static boolean isJavaProject(IProject project) {
- try
- {
- return project.hasNature(JavaCore.NATURE_ID);
- }
- catch (CoreException ce)
- {
- //Return false if CoreException occurs while checking nature.
- return false;
- }
- }
-
- /**
- * Returns true if the given <code>project</code> is a Java Project.
- *
- * @param project
- * The project.
- * @return True if the project is a Java Project.
- */
- public static boolean isTrueJavaProject(IProject project) {
- return (!isWebProject(project) && !isAppClientProject(project) && !isEARProject(project)
- && !isEJBProject(project) && isJavaProject(project));
- /*
- * try { String[] natures = project.getDescription().getNatureIds();
- * return (natures.length == 1 &&
- * natures[0].equals(JavaCore.NATURE_ID)); } catch (CoreException e) { }
- * return false;
- */
- }
-
- /**
- * Returns true if the given <code>project</code> is a Web Project.
- * Note: For components; use J2EEUtils.isWebComponent()
- * @param project
- * The project.
- * @return True if the project is a Web Project.
- *
- * @deprecated
- */
- public static boolean isWebProject(IProject project) {
- boolean isWeb = false;
- StructureEdit mc = null;
- try {
- mc = StructureEdit.getStructureEditForRead(project);
- WorkbenchComponent[] wbcs = mc.getWorkbenchModules();
- if (wbcs.length!=0) {
- //isWeb = WebArtifactEdit.isValidWebModule(wbcs[0]);
- }
- }
- catch(Exception ex){
- // handle exception
- }
- finally{
- if (mc!=null)
- mc.dispose();
- }
-
- return isWeb;
- }
-
- /**
- * Note: for components; use J2EEUtils.isEARComponent()
- * @param project
- * @return
- *
- * @deprecated
- */
- public static boolean isEARProject(IProject project){
- boolean isEAR = false;
- StructureEdit mc = null;
- try {
- mc = StructureEdit.getStructureEditForRead(project);
- WorkbenchComponent[] wbcs = mc.getWorkbenchModules();
- if (wbcs.length!=0) {
- EARArtifactEdit earEdit = null;
- try {
- //earEdit = EARArtifactEdit.getEARArtifactEditForRead(wbcs[0]);
- if (earEdit!=null){
- isEAR = true;
- }
- }
- finally{
- if (earEdit!=null)
- earEdit.dispose();
- }
- }
- }
- catch(Exception ex){}
- finally{
- if (mc!=null)
- mc.dispose();
- }
-
- return isEAR;
- }
- /**
- * Returns true if the given <code>project</code> is an EJB 1.1 or EJB 2.0
- * Project.
- * Note: for components, use J2EEUtils.isEJBComponent
- * @param project
- * The project.
- * @return True if the project is an EJB 1.1 or an EJB 2.0 Project.
- *
- * @deprecated
- *
- */
- public static boolean isEJBProject(IProject project) {
- boolean isEJB = false;
- StructureEdit mc = null;
- try {
- mc = StructureEdit.getStructureEditForRead(project);
- WorkbenchComponent[] wbcs = mc.getWorkbenchModules();
- if (wbcs.length!=0) {
- EJBArtifactEdit ejbEdit = null;
- try {
- //ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(wbcs[0]);
- if (ejbEdit!=null){
- isEJB = true;
- }
- }
- finally{
- if (ejbEdit!=null)
- ejbEdit.dispose();
- }
- }
- }
- catch(Exception ex){}
- finally{
- if (mc!=null)
- mc.dispose();
- }
-
- return isEJB;
- }
-
- /**
- * Returns true if the given <code>project</code> is an Application Client
- * Project.
- * Note: for components, use J2EEUtils.isAppClientComponent()
- * @param project
- * The project.
- * @return True if the project is an Application Client Project
- *
- * @deprecated
- */
- public static boolean isAppClientProject(IProject project) {
- boolean isAppClient = false;
- StructureEdit mc = null;
- try {
- mc = StructureEdit.getStructureEditForRead(project);
- WorkbenchComponent[] wbcs = mc.getWorkbenchModules();
- if (wbcs.length!=0) {
- AppClientArtifactEdit appClientEdit = null;
- try {
- //appClientEdit = AppClientArtifactEdit.getAppClientArtifactEditForRead(wbcs[0]);
- if (appClientEdit!=null){
- isAppClient = true;
- }
- }
- finally{
- if (appClientEdit!=null)
- appClientEdit.dispose();
- }
- }
- }
- catch(Exception ex){}
- finally{
- if (mc!=null)
- mc.dispose();
- }
-
- return isAppClient;
- }
-
- /**
- * Returns the type of the given <code>project</code> as a bitmask.
- * Relevant bitmask values are:
- * <ol>
- * <li>{@link #PROJECT_TYPE_JAVA PROJECT_TYPE_JAVA}
- * <li>{@link #PROJECT_TYPE_WEB PROJECT_TYPE_WEB}
- * <li>{@link #PROJECT_TYPE_EJB PROJECT_TYPE_EJB}
- * <li>{@link #PROJECT_TYPE_NONE PROJECT_TYPE_NONE}
- * </ol>
- *
- * @param project
- * The project.
- * @return The type bitmask of the project.
- *
- * @deprecated use getComponentType
- */
- public static byte getProjectType(IProject project) {
- byte projectType = PROJECT_TYPE_NONE;
- if (ResourceUtils.isJavaProject(project)) {
- projectType |= PROJECT_TYPE_JAVA;
- }
- if (ResourceUtils.isWebProject(project)) {
- projectType |= PROJECT_TYPE_WEB;
- }
- if (ResourceUtils.isEJBProject(project)) {
- projectType |= PROJECT_TYPE_EJB;
- }
- return projectType;
- }
-
- /**
- * Returns the component type id as defined in IModuleConstants
- * i.e. IModuleConstants.JST_WEB_MODULE = "jst.web"
- * @param project
- * @return
- */
- public static String getComponentType(IProject project){
- return J2EEProjectUtilities.getJ2EEProjectType(project);
- }
-
- /**
- * Returns the component type
- * @param component
- * @return
- */
- public static String getComponentType(IVirtualComponent component){
- return getComponentType(component.getProject());
- }
-
- /**
- * Returns WebModule Deployable of the <code>project</code> as an
- * <code>IDeployable</code>, or null if the project has no Web nature.
- *
- * @param project
- * The project.
- * @return WebModule Deployable of the <code>project</code> or null if the
- * project has no Web nature.
- */
- public static IModule getModule(IProject project) {
- return ServerUtil.getModule(project);
-}
-
-// Workaround for 113621
-//public static IModule getModule(IProject project) {
-// IModule[] modules = ServerUtil.getModules(project);
-// if (modules!=null && modules.length!=0) {
-// return modules[0];
-// }
-// return null;
-//}
-
- /**
- * Returns the build output location of the <code>project</code> as an
- * <code>IPath</code>, or null if the project has no Java nature.
- * i.e. WP\.deployables\webModule\WEB-INF\classes
- * @param project
- * The project.
- * @return The build output location of the <code>project</code> or null
- * if the project has no Java nature.
- * @deprecated not used
- */
- public static IPath getJavaOutputLocation(IProject project) {
- IPath outputLocation = null;
- try {
- IJavaProject javaProject = JavaCore.create(project);
- if (javaProject != null) {
- outputLocation = javaProject.getOutputLocation();
- }
- } catch (JavaModelException e) {
- }
- ILog log = EnvironmentService.getEclipseLog();
- log.log(ILog.INFO, 5032, ResourceUtils.class, "getJavaOutputLocation",
- "project=" + project + ",outputLocation=" + outputLocation);
-
- return outputLocation;
- }
-
- /**
- * Returns a build source location of the <code>project</code> as an
- * <code>IPath</code>, or null if the project either has no Java nature
- * or if the project's build classpath contains no folders local to the
- * project. If the project has more than one of its own folders on the build
- * classpath, then one of them is chosen arbitrarily as the build source
- * location. To work with all entries on the build classpath, use
- * {@link #getJavaPackageFragmentRoots getJavaPackageFragmentRoots()}or
- * {@link #getJavaClasspath getJavaClasspath()}.
- *
- * @param project
- * The project.
- * @return A build source location of the <code>project</code> or null if
- * the project has no Java nature or if the project's build
- * classpath contains no folders local to the project.
- */
-
- public static IPath getJavaSourceLocation(IProject project) {
- IPath sourceLocation = null;
- IPackageFragmentRoot[] fragmentRoots = getJavaPackageFragmentRoots(project);
- for (int i = 0; i < fragmentRoots.length && sourceLocation == null; i++) {
- try {
- IResource fragmentRoot = fragmentRoots[i]
- .getCorrespondingResource();
- if (fragmentRoot != null
- && (fragmentRoot.getProject().equals(project))
- && (fragmentRoot.getType() != IResource.FILE)) {
- sourceLocation = fragmentRoot.getFullPath();
- }
- } catch (JavaModelException e) {
- }
- }
-
- ILog log = EnvironmentService.getEclipseLog();
- log.log(ILog.INFO, 5030, ResourceUtils.class, "getJavaSourceLocation",
- "project=" + project + ",sourceLocation=" + sourceLocation);
-
- return sourceLocation;
- }
-
-
- /**
- * Returns the "JavaSource" folder
- * @param project
- * @return
- */
- /*
- public static IPath getJavaSourceLocation(IProject project){
- IVirtualComponent component = ComponentCore.createComponent(project);
- return getJavaSourceLocation(component);
- }
- */
- /**
- * Returns the JavaSource location folder
- * @param comp
- * @return
- */
- public static IPath getJavaSourceLocation(IVirtualComponent comp){
- if (comp!=null){
- IVirtualFolder folder = comp.getRootFolder().getFolder(new Path("/WEB-INF/classes"));
- return folder.getWorkspaceRelativePath();
- }
- return null;
- }
-
- /**
- * Returns the JavaSource locations in each project
- * @param project
- * @return
- */
- public static IPath[] getAllJavaSourceLocations(IProject project) {
- Vector pathVector = new Vector();
- IPackageFragmentRoot[] fragmentRoots = getJavaPackageFragmentRoots(project);
-
- for (int i = 0; i < fragmentRoots.length; i++) {
- try {
- IResource fragmentRoot = fragmentRoots[i].getCorrespondingResource();
- if (fragmentRoot != null && (fragmentRoot.getProject().equals(project))
- && (fragmentRoot.getType() != IResource.FILE)) {
- pathVector.add(fragmentRoot.getFullPath());
- }
- } catch (JavaModelException e) {
- }
- }
- return (IPath[]) pathVector.toArray(new Path[pathVector.size()]);
- }
-
- public static IPath[] getAllJavaSourceLocations(IVirtualComponent[] components) {
-
- if (components!=null){
- List javaSourcePaths = new ArrayList();
- for (int i=0;i<components.length;i++){
- IPath path = getJavaSourceLocation(components[i]);
- javaSourcePaths.add(path);
- }
- return (IPath[])javaSourcePaths.toArray(new IPath[0]);
- }
- return null;
- }
-
- /**
- * Returns a build source package fragment root of the <code>project</code>
- * as an <code>IPackageFragmentRoot</code>, or null if the project either
- * has no Java nature or if the project's build classpath contains no
- * folders local to the project. If the project has more than one of its own
- * folders on the build classpath, then one of them is chosen arbitrarily as
- * the build source location.
- *
- * @param project
- * The project.
- * @return A build source package fragment root of the <code>project</code>
- * or null if the project has no Java nature or if the project's
- * build classpath contains no folders local to the project.
- *
- * @deprecated not used
- */
- public static IPackageFragmentRoot getJavaSourcePackageFragmentRoot(IProject project) {
- IPackageFragmentRoot packageFragmentRoot = null;
- IPath javaSourceLocation = getJavaSourceLocation(project);
- try {
- IJavaProject javaProject = JavaCore.create(project);
- if (javaProject != null) {
- packageFragmentRoot = javaProject.findPackageFragmentRoot(javaSourceLocation);
- }
- } catch (JavaModelException e) {
- }
- return packageFragmentRoot;
- }
-
- /**
- * Returns the package fragment roots of the <code>project</code> as an
- * array of <code>IPackageFragmentRoot</code> objects. If the project has
- * no Java nature then the returned array will be of length zero.
- *
- * @param project
- * The project.
- * @return The package fragment roots of the <code>project</code>.
- */
- public static IPackageFragmentRoot[] getJavaPackageFragmentRoots(IProject project) {
- try {
- IJavaProject javaProject = JavaCore.create(project);
- if (javaProject != null) {
- IPackageFragmentRoot[] packageFragmentRoots = javaProject
- .getPackageFragmentRoots();
- return packageFragmentRoots;
- }
- } catch (JavaModelException e) {
- }
- return new IPackageFragmentRoot[0];
- }
-
- /**
- * Returns the build classpath entries of the <code>project</code> as an
- * array of <code>IClasspathEntry</code> objects. If the project has no
- * Java nature then the returned array will be of length zero.
- *
- * @param project
- * The project.
- * @return The classpath entries of the <code>project</code>.
- *
- * @deprecated not used
- */
- public static IClasspathEntry[] getJavaClasspath(IProject project) {
- try {
- IJavaProject javaProject = JavaCore.create(project);
- if (javaProject != null) {
- IClasspathEntry[] classpathEntries = javaProject.getRawClasspath();
- return classpathEntries;
- }
- } catch (JavaModelException e) {
- }
- return new IClasspathEntry[0];
- }
-
- /**
- *
- * @param project
- * @return
- */
- public static IFolder getWebComponentServerRoot(IProject project){
-
- IFolder webModuleServerRoot = null;
- IVirtualComponent vc = ComponentCore.createComponent(project);
- if (vc.exists())
- webModuleServerRoot = J2EEUtils.getOutputContainerRoot(vc);
-
- return webModuleServerRoot;
- }
-
- /**
- * Returns the URL string corresponding to the web server module root of the
- * project in a server instance or null if the project has no Web nature or
- * has no association to a server instance.
- *
- * @param project
- * The project.
- * @return The web server module root URL or null if the project has no Web
- * nature or has no association to a server instance.
- * @deprecated use getWebComponentURL(..) which belongs in ServerUtils
- */
- public static String getWebProjectURL(IProject project,
- String serverFactoryId, IServer server) {
-
- String webProjectURL = null;
- IModule module = getModule(project);
- if (module != null) {
- IServer serverInstance = ServerUtils.getServerForModule(module,
- serverFactoryId, server, true, new NullProgressMonitor());
- if (serverInstance != null) {
-// URL url = ((IURLProvider) serverInstance.getDelegate()).getModuleRootURL(module);
- URL url = ((IURLProvider)serverInstance.getAdapter(IURLProvider.class)).getModuleRootURL(module);
- if (url != null) {
- String s = url.toString();
- webProjectURL = (s.endsWith("/") ? s.substring(0, s
- .length() - 1) : s);
- }
- }
- }
-
- ILog log = EnvironmentService.getEclipseLog();
- log.log(ILog.INFO, 5036, ResourceUtils.class, "getWebProjectURL",
- "project=" + project + ",webProjectURL=" + webProjectURL);
-
- return webProjectURL;
- }
-
- /**
- * Returns the forged URL string corresponding to the web server module root
- * of the project in a server instance or null if the project has no Web
- * nature or has no association to a server instance.
- *
- * @param project
- * @return The web server module root URL or null if the project has no Web
- * nature or has no association to a server instance.
- * @deprecated not used
- */
-// public static String getForgedWebProjectURL(IProject project, String serverFactoryId, IServer server){
-//
-// String webProjectURL = null;
-// IModule module = getModule(project);
-// if (module != null)
-// {
-// //IServer serverInstance = ServerUtils.getServerForModule(module,
-// // serverFactoryId, server, true, new NullProgressMonitor());
-// if (server != null)
-// {
-// String hostname = server.getHost();
-//
-// // get ServerPort
-// int portNumber = 0;
-//
-// ServerPort[] ports = server.getServerPorts(null);
-// ServerPort port = null;
-// for (int it = 0; it<ports.length; it++)
-// {
-// ServerPort p = ports[it];
-// String protocol = p.getProtocol();
-// if (protocol != null && protocol.trim().toLowerCase().equals("http"))
-// {
-// port = p;
-// portNumber = p.getPort();
-// break;
-// }
-// }
-//
-//
-//
-// URL url = null;
-// try {
-// url = new URL("http", hostname, portNumber, "");
-// }
-// catch(Exception e){
-// e.printStackTrace();
-// }
-//
-//
-// //URL url = ((IURLProvider) serverInstance.getDelegate()).getModuleRootURL(module);
-//
-// if (url != null)
-// {
-// String s = url.toString();
-// webProjectURL = s + "/"+project.getName();
-// //webProjectURL = (s.endsWith("/") ? s.substring(0,s.length()-1) : s);
-// }
-// }
-// }
-// ILog log = new EclipseLog();
-// log.log(ILog.INFO, 5036, ResourceUtils.class, "getWebProjectURL", "project="+project+",webProjectURL="+webProjectURL);
-// return webProjectURL;
-// }
- /**
- * Returns the URL string corresponding to the web server module root of the
- * project in a server instance or null if the project has no Web nature or
- * has no association to a server instance.
- *
- * @param project
- * The project.
- * @return The web server module root URL or null if the project has no Web
- * nature or has no association to a server instance.
- * @deprecated belongs in ServerUtils
- *
- */
- public static String getWebProjectURL(IProject project) {
- String webProjectURL = null;
- IModule module = getModule(project);
- if (module != null) {
- IServer serverInstance = ServerUtils.getServerForModule(module);
- if (serverInstance != null) {
- URL url = ((IURLProvider)serverInstance.getAdapter(IURLProvider.class)).getModuleRootURL(module);
- if (url != null) {
- String s = url.toString();
- webProjectURL = (s.endsWith("/") ? s.substring(0, s
- .length() - 1) : s);
- }
- }
- }
- ILog log = EnvironmentService.getEclipseLog();
- log.log(ILog.INFO, 5037, ResourceUtils.class, "getWebProjectURL",
- "project=" + project + ",webProjectURL=" + webProjectURL);
-
- return webProjectURL;
- }
-
- /**
- *
- * @param project
- * @return
- *
- * @deprecated should be in ServerUtils
- */
- public static String getEncodedWebProjectURL(IProject project) {
- String url = getWebProjectURL(project);
- if (url != null) {
- int index = url.lastIndexOf('/');
- if (index != -1) {
- StringBuffer encodedURL = new StringBuffer();
- encodedURL.append(url.substring(0, index + 1));
- try {
- String ctxtRoot = URLEncoder.encode(url.substring(index + 1, url.length()), "UTF-8");
- int plusIndex = ctxtRoot.indexOf('+');
- while (plusIndex != -1) {
- StringBuffer sb = new StringBuffer();
- sb.append(ctxtRoot.substring(0, plusIndex));
- sb.append("%20");
- sb.append(ctxtRoot.substring(plusIndex + 1, ctxtRoot
- .length()));
- ctxtRoot = sb.toString();
- plusIndex = ctxtRoot.indexOf('+');
- }
- encodedURL.append(ctxtRoot);
- }catch (IOException io){
- //handler exception
- }
- url = encodedURL.toString();
- }
- }
- return url;
- }
-
- /**
- * Given the <code>absolutePath</code> of a Java resource, returns the
- * package name of the resource or null if the resource is not properly
- * located in a project or folder on the build classpath or that is the
- * build output path.
- *
- * @param absolutePath
- * The absolute path of the Java resource.
- * @return the package name of the Java resource.
- */
- public static String getJavaResourcePackageName(IPath absolutePath) {
- try {
- IPath javaFolderPath = absolutePath.removeLastSegments(1);
- IProject project = getProjectOf(absolutePath);
- IJavaProject javaProject = JavaCore.create(project);
- if (javaProject != null) {
- IPackageFragment fragment = javaProject
- .findPackageFragment(javaFolderPath);
- if (fragment != null) {
- return fragment.getElementName();
- }
- IPath outputPath = getJavaOutputLocation(project);
- if (outputPath.isPrefixOf(javaFolderPath)) {
- IPath javaPackagePath = javaFolderPath
- .removeFirstSegments(outputPath.segmentCount());
- return javaPackagePath.isEmpty() ? null : javaPackagePath
- .toString().replace(IPath.SEPARATOR, '.');
- }
- }
- } catch (JavaModelException e) {
- }
- return null;
- }
-
- /**
- * Given the <code>absolutePath</code> of a Java resource, returns the
- * package name of the resource as a relative pathname or null if the
- * resource is not properly located in a project or folder on the build
- * classpath.
- *
- * @param absolutePath
- * The absolute path of the Java resource.
- * @return the package name of the Java resource as a relative path.
- */
- public static IPath getJavaResourcePackagePath(IPath absolutePath) {
- String packageName = ResourceUtils
- .getJavaResourcePackageName(absolutePath);
- return (packageName == null ? null : new Path(packageName.replace('.',
- IPath.SEPARATOR)));
- }
-
- /**
- * Given the <code>absolutePath</code> of a Java resource, returns the
- * absolute path of the project or folder that is on the build classpath or
- * is the build output path and that contains the fully qualified Java
- * resource, or null if no such project or folder exists.
- *
- * @param absolutePath
- * The absolute path of the Java resource.
- * @return The absolute path of the project or folder containing the fully
- * qualified Java resource.
- * @deprecated not used
- */
- public static IPath getJavaResourceRootPath(IPath absolutePath) {
- try {
- IProject project = getProjectOf(absolutePath);
- IJavaProject javaProject = JavaCore.create(project);
- if (javaProject != null) {
- IPackageFragmentRoot[] pfrs = javaProject
- .getPackageFragmentRoots();
- for (int i = 0; i < pfrs.length; i++) {
- IResource fragmentRoot = pfrs[i].getCorrespondingResource();
- if (fragmentRoot != null) {
- IPath fragmentPath = fragmentRoot.getFullPath();
- if (fragmentPath.isPrefixOf(absolutePath)) {
- return fragmentPath;
- }
- }
- }
- IPath outputPath = getJavaOutputLocation(project);
- if (outputPath.isPrefixOf(absolutePath)) {
- return outputPath;
- }
- }
- } catch (JavaModelException e) {
- }
- return null;
- }
-
- /**
- * Determines an URL (HTTP or FILE) to an Eclipse resource, returning the
- * URL string if successful and false otherwise. A value of null will
- * definitely be returned if any of the following conditions are not met:
- * <ol>
- * <li>The absolute path begins with a Web Project.
- * <li>The leading portion of the absolute path matches the path of the
- * container returned by {#link #getWebModuleServerRoot
- * getWebModuleServerRoot} for the project.
- * <li>The path does not lead to the WEB-INF folder or any descendent
- * thereof.
- * <li>The Web Project is associated with an explicit or default server
- * instance.
- * </ol>
- *
- * @param absolutePath
- * The absolute path of the resource.
- * @return The URL of the file, or null if no URL can be determined.
- * @deprecated not used
- */
-// public static String getURLFromPath(IPath absolutePath,
-// String serverFactoryId, IServer server) {
-// return getURLFromPath(absolutePath, getWebProjectURL(
-// getProjectOf(absolutePath), serverFactoryId, server));
-// }
-
- /**
- *
- * @param absolutePath
- * @param webProjectURL
- * @return
- * @deprecated not used
- */
-// public static String getURLFromPath(IPath absolutePath, String webProjectURL) {
-// StringBuffer url = new StringBuffer();
-// IProject project = getProjectOf(absolutePath);
-// IContainer webModuleServerRoot = getWebModuleServerRoot(project);
-// if (webModuleServerRoot != null) {
-// IPath webModuleServerRootPath = webModuleServerRoot.getFullPath();
-// if (webModuleServerRootPath.isPrefixOf(absolutePath)) {
-// int numSegment = webModuleServerRootPath.segmentCount();
-// int numSegmentFromPath = absolutePath.segmentCount();
-// if (numSegmentFromPath > numSegment) {
-// String nextSegment = absolutePath.segment(numSegment);
-// // check if the segment after the WebModuleServerRoot is
-// // WEB-INF (ignoring case)
-// if (nextSegment != null && !nextSegment.equalsIgnoreCase("WEB-INF")) {
-// IPath relativePath = absolutePath.removeFirstSegments(numSegment);
-// if (webProjectURL != null)
-// url.append(webProjectURL).append(IPath.SEPARATOR).append(relativePath.toString());
-// }
-// } else if (numSegmentFromPath == numSegment)
-// url.append(webProjectURL);
-// }
-// }
-// if (url.length() < 1) {
-// IWorkspaceRoot workspace = getWorkspaceRoot();
-// url.append(getResourceURI(workspace.getFile(absolutePath)));
-// }
-// ILog log = new EclipseLog();
-// log.log(ILog.INFO, 5038, ResourceUtils.class, "getURLFromPath",
-// "absolutePath=" + absolutePath + ",url=" + url);
-//
-// return url.toString();
-// }
-
- /**
- * Copies a set of files from a plugin's installation location to a native
- * directory. The files are named in an index file located relative to the
- * plugin's installation location.
- *
- * @param plugin
- * The plugin containing the files to copy. Must not be null.
- * @param sourcePath
- * The path, relative to the <code>plugin</code> install
- * location, containing the files to copy. If null, then the
- * plugin install location is the source path (ie. null is
- * equivalent to ".").
- * @param indexPathname
- * A file containing a whitespace-delimitted list of pathnames of
- * the files to copy. The pathnames are relative to the
- * <code>plugin sourcePath</code>. Must not be null.
- * @param targetPath
- * The absolute path of the native directory to which the files
- * will be copied. The relative pathnames of the files named in
- * the <code>indexPathname</code> file are preserved. Must not
- * be null.
- * @param progressMonitor
- * The progress monitor for the operation, or null.
- * @throws IOException
- * An exception indicating an IO error has occured.
- */
- static public void copyIndexedFilesToOS(Plugin plugin, IPath sourcePath,
- IPath indexPathname, IPath targetPath,
- IProgressMonitor progressMonitor) throws IOException {
- InputStream input = plugin.openStream(indexPathname);
- Enumeration filenames = StringUtils.parseFilenamesFromStream(input);
- copyEnumeratedFilesToOS(plugin, sourcePath, filenames, targetPath,
- progressMonitor);
- }
-
- /**
- * Copies a set of files from a plugin's installation location to a native
- * directory. The files are named in an enumeration.
- *
- * @param plugin
- * The plugin containing the files to copy. Must not be null.
- * @param sourcePath
- * The path, relative to the <code>plugin</code> install
- * location, containing the files to copy. If null, then the
- * plugin install location is the source path (ie. null is
- * equivalent to ".").
- * @param pathnames
- * An enumeration of pathnames of the files to copy. The
- * pathnames are relative to the <code>plugin sourcePath</code>.
- * Must not be null.
- * @param targetPath
- * The absolute path of the native directory to which the files
- * will be copied. The relative pathnames of the files named in
- * the <code>pathnames</code> enumeration are preserved. Must
- * not be null.
- * @param progressMonitor
- * The progress monitor for the operation, or null.
- * @throws IOException
- * An exception indicating an IO error has occured.
- */
- static public void copyEnumeratedFilesToOS(Plugin plugin, IPath sourcePath,
- Enumeration pathnames, IPath targetPath,
- IProgressMonitor progressMonitor) throws IOException {
- while (pathnames.hasMoreElements()) {
- String filename = (String) pathnames.nextElement();
- copyFileToOS(plugin, sourcePath, new Path(filename), targetPath,
- progressMonitor);
- }
- }
-
- /**
- * Copies a file from a plugin's installation location to a native
- * directory.
- *
- * @param plugin
- * The plugin containing the files to copy. Must not be null.
- * @param sourcePath
- * The path, relative to the <code>plugin</code> install
- * location, containing the files to copy. If null, then the
- * plugin install location is the source path (ie. null is
- * equivalent to ".").
- * @param pathname
- * The pathname of the file to copy. The pathname is relative to
- * the <code>plugin sourcePath</code>. Must not be null.
- * @param targetPath
- * The absolute path of the native directory to which the file
- * will be copied. The relative pathname of the file is
- * preserved. Must not be null.
- * @param progressMonitor
- * The progress monitor for the operation, or null.
- * @throws IOException
- * An exception indicating an IO error has occured.
- */
- static public void copyFileToOS(Plugin plugin, IPath sourcePath,
- IPath pathname, IPath targetPath, IProgressMonitor progressMonitor)
- throws IOException {
- IPath target = targetPath.append(pathname);
- IPath source = sourcePath == null ? pathname : sourcePath
- .append(pathname);
- InputStream input = plugin.openStream(source);
- OutputStream output = new FileOutputStream(target.toOSString());
- copyStream(input, output);
- input.close();
- output.close();
- }
-
- /**
- * Copies data from one stream to another.
- *
- * @param input
- * The input stream.
- * @param output
- * The output stream.
- * @return The number of bytes copied.
- * @throws IOException
- * An exception if an error occurs while processing either of
- * the streams.
- */
- static public int copyStream(InputStream input, OutputStream output)
- throws IOException {
- int t = 0;
- byte[] buffer = new byte[1024];
- int n = input.read(buffer);
- while (n >= 0) {
- output.write(buffer, 0, n);
- t += n;
- n = input.read(buffer);
- }
- return t;
- }
-
- /**
- * Creates a native directory path equal to the parent portion of the given
- * <code>pathname</code>. If the directory already exists, then no action
- * is taken.
- *
- * @param pathname
- * The pathname to the file whose parent directory should be
- * created.
- * @throws IOException
- * An exception if an IO error occurs.
- */
- static public void createParentDirectoryFor(String pathname)
- throws IOException {
- File file = new File(pathname);
- File parent = file.getParentFile();
- if (parent != null) {
- parent.mkdirs();
- }
- }
-
- /**
- * Returns the IResource represented by the given selection.
- *
- * @param object
- * The selection
- * @return IResource if the selection represents an IResource. Returns null
- * otherwise.
- * @throws CoreException
- */
- static public IResource getResourceFromSelection(Object obj)
- throws CoreException {
- IResource res = null;
- if (obj != null) {
- if (obj instanceof IResource) {
- res = (IResource) obj;
- } else if (obj instanceof IJavaElement) {
- IJavaElement javaElement = (IJavaElement) obj;
- res = javaElement.getCorrespondingResource();
- } else if (obj instanceof EnterpriseBean) {
- EnterpriseBean ejbBean = (EnterpriseBean) obj;
- IProject ejbProject = ProjectUtilities.getProject(ejbBean);
- if (ejbProject != null)
- res = ejbProject;
- }
-
- }
-
- return res;
- }
-
- //----------------------------------------------------------------------
- // Naughty bits...
- //----------------------------------------------------------------------
-
- //
- // Creates a path of folders.
- // Do not call with an absolutePath of less than one segment.
- //
- // private static IContainer makeFolderPath (
- // ResourceContext resourceContext,
- // IPath absolutePath,
- // IProgressMonitor progressMonitor,
- // StatusMonitor statusMonitor
- // )
- // throws CoreException
- // {
- // if (absolutePath.segmentCount() <= 1)
- // {
- // return getWorkspaceRoot().getProject(absolutePath.segment(0));
- // }
- // else
- // {
- // IContainer parent = makeFolderPath(resourceContext,
- // absolutePath.removeLastSegments(1), progressMonitor, statusMonitor);
- // String folderName = absolutePath.lastSegment();
- // return makeFolder(resourceContext, parent,folderName, progressMonitor ,
- // statusMonitor);
- // }
- // }
- //
- // Creates a folder under a container.
- // The container must already exist.
- //
- // private static IFolder makeFolder (
- // ResourceContext resourceContext,
- // IContainer parent,
- // String folderName,
- // IProgressMonitor progressMonitor,
- // StatusMonitor statusMonitor
- // )
- // throws CoreException
- // {
- // IResource child = parent.findMember(folderName);
- // if (child == null)
- // {
- // if (!resourceContext.isCreateFoldersEnabled()) {
- // int result = statusMonitor.reportStatus(new
- // Status(IStatus.WARNING,WebServicePlugin.ID,0,
- // WebServicePlugin.getMessage("%MSG_ERROR_FOLDER_CREATION_DISABLED",
- // new Object[] {parent.getFullPath().toString(),folderName}),null),
- // getThreeStateFileOptions());
- // if (result == IStatusDialogConstants.CANCEL_ID)
- // return null;
- //
- // if ( result == IStatusDialogConstants.YES_TO_ALL_ID)
- // resourceContext.setCreateFoldersEnabled(true);
- //
- // }
- // IFolder folder = parent.getFolder(new Path(folderName));
- // folder.create(true,true,progressMonitor);
- // return folder;
- // }
- // else if (child.getType() == IResource.FOLDER)
- // {
- // return (IFolder)child;
- // }
- // else
- // {
- // throw new CoreException(new
- // Status(IStatus.ERROR,WebServicePlugin.ID,0,WebServicePlugin.getMessage("%MSG_ERROR_RESOURCE_NOT_FOLDER",new
- // Object[] {parent.getFullPath().append(folderName).toString()}),null));
- // }
- // }
-
- //
- // Creates a file under a container.
- // The container must already exist.
- //
- // private static IFile makeFile (
- // ResourceContext resourceContext,
- // IContainer parent,
- // String fileName,
- // InputStream inputStream,
- // IProgressMonitor progressMonitor,
- // StatusMonitor statusMonitor
- // )
- // throws CoreException
- // {
- // IResource child = parent.findMember(fileName);
- // if (child != null)
- // {
- // if (child.getType() == IResource.FILE)
- // {
- // if (!resourceContext.isOverwriteFilesEnabled()) {
- // int result = statusMonitor.reportStatus( new
- // Status(IStatus.WARNING,WebServicePlugin.ID,0,
- // WebServicePlugin.getMessage("%MSG_ERROR_FILE_OVERWRITE_DISABLED",
- // new Object[] {parent.getFullPath().toString(),fileName}),null),
- // getThreeStateFileOptions());
- //
- // if (result == IStatusDialogConstants.CANCEL_ID)
- // return null;
- //
- // if ( result == IStatusDialogConstants.YES_TO_ALL_ID)
- // resourceContext.setOverwriteFilesEnabled(true);
- // }
- // //We have permission to overwrite so check if file is read-only
- // if (child.isReadOnly())
- // {
- // if (!resourceContext.isCheckoutFilesEnabled()) {
- //
- // int result = statusMonitor.reportStatus( new
- // Status(IStatus.WARNING,WebServicePlugin.ID,0,
- // WebServicePlugin.getMessage("%MSG_ERROR_FILE_CHECKOUT_DISABLED",
- // new Object[] {parent.getFullPath().toString(),fileName}),null),
- // getThreeStateFileOptions());
- //
- // if (result == IStatusDialogConstants.CANCEL_ID)
- // return null;
- //
- // if ( result == IStatusDialogConstants.YES_TO_ALL_ID)
- // resourceContext.setCheckoutFilesEnabled(true);
- // }
- //
- // IFile[] files = new IFile[1];
- // files[0] = (IFile)child;
- //
- // if (
- // !statusMonitor.reportStatus(getWorkspace().validateEdit(files,null)))
- // return null;
- // }
- //
- // //Change the contents of the existing file.
- // IFile file = parent.getFile(new Path(fileName));
- // file.setContents(inputStream,true,true,progressMonitor);
- // return file;
- //
- // }
- // else
- // {
- // throw new CoreException(new
- // Status(IStatus.ERROR,WebServicePlugin.ID,0,WebServicePlugin.getMessage("%MSG_ERROR_RESOURCE_NOT_FILE",new
- // Object[] {parent.getFullPath().append(fileName)}),null));
- // }
- // }
- // else
- // {
- // //Create a new file.
- // IFile file = parent.getFile(new Path(fileName));
- // file.create(inputStream,true,progressMonitor);
- // return file;
- // }
- // }
-
- /**
- * Deletes a file under a container. The container must already exist.
- *
- * @param file -
- * the IFile to be deleted
- * @param progressMonitor
- * @param statusMonitor
- * @return True if the file does not exist or if it exists and is
- * successfully deleted. False otherwise.
- */
- // public static boolean deleteFile (
- // ResourceContext resourceContext,
- // IFile file,
- // IProgressMonitor progressMonitor,
- // StatusMonitor statusMonitor )
- // throws CoreException
- // {
- // if (file.exists())
- // {
- // if (!resourceContext.isOverwriteFilesEnabled()) {
- // int result = statusMonitor.reportStatus( new
- // Status(IStatus.WARNING,WebServicePlugin.ID,0,
- // WebServicePlugin.getMessage("%MSG_ERROR_FILE_OVERWRITE_DISABLED",
- // new Object[]
- // {file.getParent().getFullPath().toString(),file.getName()}),null),
- // getThreeStateFileOptions());
- //
- // if (result == IStatusDialogConstants.CANCEL_ID)
- // return false;
- //
- // if ( result == IStatusDialogConstants.YES_TO_ALL_ID)
- // resourceContext.setOverwriteFilesEnabled(true);
- // }
- // //We have permission to overwrite so check if file is read-only
- // if (file.isReadOnly())
- // {
- // if (!resourceContext.isCheckoutFilesEnabled()) {
- // int result = statusMonitor.reportStatus( new
- // Status(IStatus.WARNING,WebServicePlugin.ID,0,
- // WebServicePlugin.getMessage("%MSG_ERROR_FILE_CHECKOUT_DISABLED",
- // new Object[]
- // {file.getParent().getFullPath().toString(),file.getName()}),null),
- // getThreeStateFileOptions());
- // if (result == IStatusDialogConstants.CANCEL_ID)
- // return false;
- //
- // if ( result == IStatusDialogConstants.YES_TO_ALL_ID)
- // resourceContext.setCheckoutFilesEnabled(true);
- //
- // }
- // IFile[] files = new IFile[1];
- // files[0] = file;
- //
- // if (
- // !statusMonitor.reportStatus(getWorkspace().validateEdit(files,null)))
- // return false;
- // }
- // file.delete(true,progressMonitor);
- // }
- // //At this point, either the file did not exist or we successfully deleted
- // it. Return success.
- // return true;
- // }
- /**
- * Deletes a folder under a container.
- *
- * @param folder -
- * the IFolder to be deleted
- * @param progressMonitor
- * @param statusMonitor
- * @return True if the folder does not exist or if it exists and is
- * successfully deleted along with its members. False otherwise.
- */
- // public static boolean deleteFolder (
- // ResourceContext resourceContext,
- // IFolder folder,
- // IProgressMonitor progressMonitor,
- // StatusMonitor statusMonitor
- // )
- // throws CoreException
- // {
- // if (!folder.exists()) return true;
- //
- // boolean deleted = true;
- // IResource[] resources = folder.members();
- // for (int i=0; i<resources.length; i++)
- // {
- // IResource resource = resources[i];
- // if (resource instanceof IFile)
- // {
- // deleted = deleteFile(resourceContext, (IFile)resource, progressMonitor,
- // statusMonitor);
- // }
- // if (resource instanceof IFolder)
- // {
- // deleted = deleteFolder( resourceContext, (IFolder)resource,
- // progressMonitor, statusMonitor);
- // }
- //
- // if (!deleted) break;
- // }
- // if (deleted) {
- // folder.delete(true, true, progressMonitor);
- // return true;
- // }
- // else
- // return false;
- //
- // }
- /**
- * Deletes a set of files that are named in an index file located relative
- * to the plugin's installation location.
- *
- * @param plugin
- * The plugin containing the indexed file Must not be null.
- * @param sourcePath -
- * relative path of the indexed file passing a null in has the
- * same effect as passing a "." in
- * @param indexFilePath -
- * the indexed filename Must not be null
- * @param targetPath -
- * path containing the files named in the indexed file Must not
- * be null, this path must end with a trailing separator
- * @param progressMonitor
- */
- // public static void deleteIndexFilesFromOS (
- // Plugin plugin,
- // IPath indexFilePath,
- // IPath targetPath
- // )
- // throws IOException {
- // InputStream input = plugin.openStream(indexFilePath);
- // Enumeration filenames = StringUtils.parseFilenamesFromStream(input);
- // while (filenames.hasMoreElements()) {
- // File targetFile =
- // targetPath.append((String)filenames.nextElement()).toFile();
- // if (targetFile.exists())
- // targetFile.delete();
- // }
- // }
- /**
- * Returns a URI reference to the given Eclipse resource, or null if no such
- * reference can be determined (for example, if the resource does not exist
- * in the underlying filesystem).
- *
- * @param resource
- * The resource.
- * @return The URI as a string, or null if there is no URI to the resource.
- */
- public static String getResourceURI(IResource resource) {
- String uri = null;
- IPath location = resource.getLocation();
- if (location != null) {
- uri = "file:" + location.toString();
- }
- return uri;
- }
-
- /**
- * Returns a URI reference to the given Eclipse resource using the
- * "platform:" protocol, or null if no such reference can be determined (for
- * example, if the resource does not exist in the underlying filesystem).
- *
- * @param resource
- * The resource.
- * @return The URI as a string, or null if there is no URI to the resource.
- */
- public static String getPlatformResourceURI(IResource resource) {
- String uri = null;
- IPath location = resource.getFullPath();
- if (location != null) {
- uri = "platform:/resource" + location.toString();
- }
- return uri;
- }
-
- /**
- * Returns the default binding namespace string given a Java bean name
- * (using the convention used by CTC in GM). e.g. Java bean MyClass result
- * in binding namespace of
- * "http://www.myclass.com/definitions/MyClassRemoteInterface"
- *
- * @param beanName
- * The java bean.
- * @return The binding namespace as a string.
- */
- public static String getBindingNamespace(String beanName) {
- return "http://www." + beanName.toLowerCase() + ".com/definitions/"
- + beanName + "RemoteInterface";
- }
-
- /**
- * Returns the default schema namespace string given a Java bean name (using
- * the convention used by CTC in GM). e.g. Java bean MyClass result in
- * schema namespace of
- * "http://www.myclass.com/schemas/MyClassRemoteInterface"
- *
- * @param beanName
- * The java bean.
- * @return The schemas namespace as a string.
- */
- public static String getSchemaNamespace(String beanName) {
- return "http://www." + beanName.toLowerCase() + ".com/schemas/"
- + beanName + "RemoteInterface";
- }
-
- // public static Vector getThreeStateFileOptions() {
- // Vector options = new Vector();
- // options.add(new
- // StatusOption(IStatusDialogConstants.YES_ID,IStatusDialogConstants.YES_LABEL,"",""));
- // options.add(new
- // StatusOption(IStatusDialogConstants.YES_TO_ALL_ID,IStatusDialogConstants.YES_TO_ALL_LABEL,"",""));
- // options.add(new
- // StatusOption(IStatusDialogConstants.CANCEL_ID,IStatusDialogConstants.CANCEL_LABEL,"",""));
- // return options;
- // }
-
- //----------------------------------------------------------------------
-
- /**
- * Gets the SOAP rpcrouter servlet URL for the service project
- *
- * @param project
- * The project.
- * @param serverFactoryId
- * The server factory id
- * @param server
- * The server
- * @return The URL, possibly null.
- */
-
- public static String getServletURL(IProject project,
- String serverFactoryId, IServer server) {
- return getServletURL(getWebProjectURL(project, serverFactoryId, server));
- }
-
- public static String getServletURL(String webProjectURL) {
- if (webProjectURL == null)
- return null;
- else
- return webProjectURL + SERVLET_EXT;
- }
-
- /**
- * Gets the client Web project name
- *
- * @param projectName
- * The project name to base on.
- * @param typeId the webservice type id.
- * @return The client Web project name.
- *
- * @deprecated
- */
- public static String getClientWebProjectName(String projectName, String typeId)
- {
- String baseClientWebProjectName = projectName + DEFAULT_CLIENT_WEB_PROJECT_EXT;
- IPath projectPath;
- IProject project;
- boolean foundWebProject = false;
- int i = 1;
-
- if( isSkeletonEJBType( typeId ) )
- {
- // For the skeleton EJB scenario we need to create a slightly different
- // base name. When the EJB project is created another project
- // is created with "Client" tacked onto the end. We will
- // add "WS" to our client so we don't collide with the other
- // client project.
- baseClientWebProjectName = projectName + "WS" + DEFAULT_CLIENT_WEB_PROJECT_EXT;
- }
-
- String clientWebProjectName = baseClientWebProjectName;
-
- while (!foundWebProject)
- {
- projectPath = new Path(clientWebProjectName).makeAbsolute();
- project = ResourceUtils.getProjectOf(projectPath);
-
- if (project.exists() && !ResourceUtils.isWebProject(project))
- {
- clientWebProjectName = baseClientWebProjectName + i;
- i++;
- }
- else
- {
- foundWebProject = true;
- }
- }
-
- return clientWebProjectName;
- }
-
- public static String[] getClientProjectComponentName(String projectName, String componentName, boolean isEJB)
- {
- String clientProjectName = null;
- String clientComponentName = null;
- if (isEJB)
- {
- clientProjectName = projectName + DEFAULT_CLIENT_EJB_PROJECT_EXT;
- clientComponentName = componentName + DEFAULT_CLIENT_EJB_PROJECT_EXT;
- }
- else
- {
- clientProjectName = projectName + DEFAULT_CLIENT_WEB_PROJECT_EXT;
-// String baseName = clientProjectName;
- clientComponentName = componentName + DEFAULT_CLIENT_WEB_PROJECT_EXT;
-// String baseCompName = clientComponentName;
- }
-
- //TODO we may want to remove this if statement once defect 103366 is resolved.
- //TODO: Defect 107997 - Revisit prject and module creation logic
-// if( !FlexibleJavaProjectPreferenceUtil.getMultipleModulesPerProjectProp() )
-// {
-// clientComponentName = clientProjectName;
-// }
-
-// boolean foundWebProject = false;
-// int i = 1;
-//
-// while (!foundWebProject)
-// {
-// IPath projectPath = new Path(clientProjectName).makeAbsolute();
-// IProject project = ResourceUtils.getProjectOf(projectPath);
-//
-// if (project.exists())
-// {
-// clientProjectName = baseName + i;
-// clientComponentName = baseCompName + i;
-// i++;
-// }
-// else
-// {
-// foundWebProject = true;
-// }
-// }
-
- return new String[]{clientProjectName, clientComponentName};
- }
-
- /**
- *
- * @param typeID
- * @return
- *
- * @deprecated
- */
- public static boolean isSkeletonEJBType( String typeID )
- {
- return typeID.equals( "org.eclipse.jst.ws.type.wsdl.ejb" );
- }
-
- public static String getDefaultEJBProjectName() {
- return DEFAULT_EJB_PROJECT_NAME;
- }
-
- public static String getDefaultEJBComponentName() {
- return DEFAULT_EJB_COMPONENT_NAME;
- }
-
- public static String getDefaultWebProjectName() {
- return DEFAULT_WEB_PROJECT_NAME;
- }
-
- public static String getDefaultWebComponentName() {
- return DEFAULT_WEB_COMPONENT_NAME;
- }
-
- public static String getDefaultClientExtension() {
- return DEFAULT_CLIENT_WEB_PROJECT_EXT;
- }
-
- /**
- *
- * @param projectName
- * @return
- *
- */
- public static String getRouterProjectName(String projectName) {
- return projectName + DEFAULT_ROUTER_PROJECT_EXT;
- }
-
- public static String getDefaultServiceEARProjectName() {
- return DEFAULT_SERVICE_EAR_PROJECT_NAME;
- }
-
- public static String getDefaultServiceEARComponentName() {
- return DEFAULT_SERVICE_EAR_COMPONENT_NAME;
- }
-
- public static String getDefaultClientEARProjectName() {
- return DEFAULT_CLIENT_EAR_PROJECT_NAME;
- }
-
- public static String getDefaultClientEARComponentName() {
- return DEFAULT_CLIENT_EAR_COMPONENT_NAME;
- }
-
- public static String getDefaultEARExtension() {
- return DEFAULT_EAR_EXT;
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/SelectionToResource.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/SelectionToResource.java
deleted file mode 100644
index 7c77dabbc..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/SelectionToResource.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-public class SelectionToResource implements Transformer
-{
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.data.Transformer#transform(java.lang.Object)
- */
- public Object transform(Object value)
- {
- IStructuredSelection selection = (IStructuredSelection)value;
- IResource resource = null;
-
- if( selection != null )
- {
- Object object = selection.getFirstElement();
-
- if( object != null )
- {
- if( object instanceof IResource)
- {
- resource = (IResource)object;
- }
- else if( object instanceof ICompilationUnit )
- {
- ICompilationUnit compUnit = (ICompilationUnit)object;
-
- try
- {
- resource = compUnit.getCorrespondingResource();
- }
- catch( JavaModelException exc)
- {
- }
- }
- else if( object instanceof EnterpriseBean )
- {
- EnterpriseBean ejbBean = (EnterpriseBean)object;
- IProject ejbProject = ProjectUtilities.getProject( ejbBean );
-
- if( ejbProject != null )
- {
- resource = ejbProject;
- }
- }
- }
- }
-
- return resource;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ServerUtils.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ServerUtils.java
deleted file mode 100644
index 4c1b8dc52..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/ServerUtils.java
+++ /dev/null
@@ -1,788 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060330 124667 kathy@ca.ibm.com - Kathy Chan
- * 20061004 159356 kathy@ca.ibm.com - Kathy Chan, Get correct module root URL based on server chosen
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.common;
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLEncoder;
-import java.util.Arrays;
-import java.util.Hashtable;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.internal.servertarget.IServerTargetConstants;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.server.core.IModule;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IRuntimeType;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.IServerWorkingCopy;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerUtil;
-import org.eclipse.wst.server.core.model.IURLProvider;
-
-/**
- * This class contains useful methods for working with Server plugin functions
- */
-public final class ServerUtils {
-
- private Hashtable serverIdToLabel_;
-
- private Hashtable serverLabelToId_;
-
- private static ServerUtils instance_;
-
- public static ServerUtils getInstance() {
- if (instance_ == null) {
- instance_ = new ServerUtils();
- }
- return instance_;
-
- }
-
- public ServerUtils() {
- }
-
- // Gets the Server labels given the server factory id
- public void getServerLabelsAndIds() {
- serverIdToLabel_ = new Hashtable();
- serverLabelToId_ = new Hashtable();
- IServerType[] serverTypes = ServerCore.getServerTypes();
- for (int idx = 0; idx < serverTypes.length; idx++) {
-
- IServerType serverType = (IServerType) serverTypes[idx];
-
- String id = serverType.getId();
- String serverLabel = serverType.getName();
- if (!(id == null) && !(serverLabel == null)) {
- serverIdToLabel_.put(id, serverLabel);
- serverLabelToId_.put(serverLabel, id);
- }
- }
- }
-
- public String getServerLabelForId(String factoryId) {
- if (serverIdToLabel_ == null)
- this.getServerLabelsAndIds();
- return (String) serverIdToLabel_.get(factoryId);
- }
-
- public String getServerIdForLabel(String factoryLabel) {
- if (serverLabelToId_ == null)
- this.getServerLabelsAndIds();
- return (String) serverLabelToId_.get(factoryLabel);
- }
-
- public IStatus modifyModules(IEnvironment env, IServer server,
- IModule module, boolean add, IProgressMonitor monitor) {
-
- IServerWorkingCopy wc = null;
- IStatus status = Status.OK_STATUS;
-
- try {
-
- if (module == null || !module.getProject().exists()) {
- return status;
- }
-
- // check if module is a true Java project
- if (module instanceof IModule) {
- IModule pm = (IModule) module;
- if (pm != null) {
- IProject project = pm.getProject();
- if (project == null
- || ResourceUtils.isTrueJavaProject(project)) {
- return status;
- }
- }
- }
-
- wc = server.createWorkingCopy();
- if (wc != null) {
-// Object x = server.getAdapter(IRunningActionServer.class);
-// if (x != null && x instanceof IRunningActionServer) {
-// int state = server.getServerState();
-// if (state == IServer.STATE_STOPPED
-// || state == IServer.STATE_UNKNOWN) {
-// String mode = ILaunchManager.RUN_MODE;
-// server.synchronousStart(mode, monitor);
-// }
-// }
-
- List list = Arrays.asList(server.getModules());
- if (add) {
- if (!list.contains(module)) {
- ServerUtil.modifyModules(wc, new IModule[] { module },
- new IModule[0], monitor);
- }
- } else { // removes module
- if (list.contains(module)) {
- ServerUtil.modifyModules(wc, new IModule[0],
- new IModule[] { module }, monitor);
- }
- }
- } else {
- // handle case of Null WC; non-issue for now
- }
- }
- catch (CoreException exc )
- {
- status = StatusUtils.errorStatus( WSPluginMessages.MSG_ERROR_SERVER, exc );
- env.getStatusHandler().reportError(status);
- return status;
- } finally {
- if (wc != null) {
- // Always saveAll and release the serverWorkingCopy
- try
- {
- wc.saveAll(true, monitor);
- }
- catch (CoreException exc )
- {
- status = StatusUtils.errorStatus( WSPluginMessages.MSG_ERROR_SERVER, exc );
- env.getStatusHandler().reportError(status);
- return status;
- }
- }
- }
- return status;
- }
-
- public static IServer getServerForModule(IModule module, String serverTypeId,
- IServer server, boolean create, IProgressMonitor monitor) {
- if (server != null)
- return server;
- else
- return getServerForModule(module, serverTypeId, create, monitor);
- }
-
- public static IServer getServerForModule(IModule module,
- String serverTypeId, boolean create, IProgressMonitor monitor) {
- try {
-
- IServer[] servers = ServerUtil.getServersByModule(module, monitor);
-
- if (servers != null && servers.length > 0) {
- if (serverTypeId == null || serverTypeId.length() == 0)
- return servers[0]; // WSAD v4 behavior
-
- for (int i = 0; i < servers.length; i++) {
- if (servers[i].getServerType().getId().equalsIgnoreCase(
- serverTypeId))
- return servers[i];
- }
- }
-
- return createServer(module, serverTypeId, monitor);
-
- } catch (Exception e) {
- return null;
- }
- }
-
- public static IServer getServerForModule(IModule module) {
- try {
- IServer[] servers = ServerUtil.getServersByModule(module, null);
- return ((servers != null && servers.length > 0) ? servers[0] : null);
- } catch (Exception e) {
- return null;
- }
- }
-
- /**
- *
- * @param env
- * @param module
- * @param serverTypeId
- * @param monitor
- * @return
- *
- * @deprecated
- */
- public IServer createServer(IEnvironment env, IModule module,
- String serverTypeId, IProgressMonitor monitor) {
- IServerWorkingCopy serverWC = null;
- IServer server = null;
- try {
- IServerType serverType = ServerCore.findServerType(serverTypeId);
- serverWC = serverType.createServer(serverTypeId, null, monitor);
- try {
- if (serverWC != null) {
- server = serverWC.saveAll(true, monitor);
- }
- } catch (CoreException ce)
- {
- IStatus status = StatusUtils.errorStatus( WSPluginMessages.MSG_ERROR_SERVER, ce);
- env.getStatusHandler().reportError(status);
- return null;
- }
-
- if (server != null) {
-
-// Object x = server.getAdapter(IRunningActionServer.class);
-// if (x != null && x instanceof IRunningActionServer) {
-// int state = server.getServerState();
-// if (state == IServer.STATE_STOPPED
-// || state == IServer.STATE_UNKNOWN) {
-// String mode = ILaunchManager.RUN_MODE;
-// server.synchronousStart(mode, monitor);
-// }
-// }
-
- if (module != null && module.getProject().exists()) {
- IModule[] parentModules = server.getRootModules(module,
- monitor);
- if (parentModules != null && parentModules.length != 0) {
- module = (IModule) parentModules[0];
- }
- serverWC.modifyModules(new IModule[] { module },
- new IModule[0], monitor);
- }
-
- }
-
- return server;
- }
- catch (Exception e)
- {
- IStatus status = StatusUtils.errorStatus( WSPluginMessages.MSG_ERROR_SERVER, e);
- env.getStatusHandler().reportError(status);
- return null;
- } finally {
- try {
- if (serverWC != null) {
- serverWC.saveAll(true, monitor);
- }
- } catch (CoreException ce) {
- IStatus status = StatusUtils.errorStatus( WSPluginMessages.MSG_ERROR_SERVER, ce);
- env.getStatusHandler().reportError(status);
- return null;
- }
- }
- }
-
- /**
- * createServer This creates a server but does not report errors. @param
- * module
- * @param serverTypeId
- * @param monitor progress monitor
- * @return IServer returns null if unsuccessful
- *
- * @deprecated
- */
- public static IServer createServer(IModule module, String serverTypeId,
- IProgressMonitor monitor) {
- IServerWorkingCopy serverWC = null;
- IServer server = null;
- try {
- IServerType serverType = ServerCore.findServerType(serverTypeId);
- serverWC = serverType.createServer(serverTypeId, null, monitor);
-
- try {
- if (serverWC != null) {
- server = serverWC.saveAll(true, monitor);
- }
- } catch (CoreException ce) {
- return null;
- }
-
- if (server != null) {
-
-// Object x = server.getAdapter(IRunningActionServer.class);
-// if (x != null && x instanceof IRunningActionServer) {
-// int state = server.getServerState();
-// if (state == IServer.STATE_STOPPED
-// || state == IServer.STATE_UNKNOWN) {
-// String mode = ILaunchManager.RUN_MODE;
-// server.synchronousStart(mode, monitor);
-// }
-// }
- if (module != null) {
- IModule[] parentModules = server.getRootModules(module,
- monitor);
- if (parentModules != null && parentModules.length != 0) {
- module = (IModule) parentModules[0];
- }
- serverWC.modifyModules(new IModule[] { module },
- new IModule[0], monitor);
- }
-
- }
-
- return server;
- } catch (Exception e) {
- return null;
- } finally {
- try {
- if (serverWC != null) {
- serverWC.saveAll(true, monitor);
- }
- } catch (CoreException ce) {
- return null;
- // handler core exception
- }
- }
- }
-
- public static String[] getServerTypeIdsByModule(IVirtualComponent component) {
- IProject project = component.getProject();
- String[] serverIds = null;
-
- if (project != null) {
- IServer[] servers = ServerUtil.getServersByModule(getModule(project), null);
- if (servers != null) {
- serverIds = new String[servers.length];
-
- for (int index = 0; index < servers.length; index++) {
- serverIds[index] = servers[index].getId();
-
- }
- }
- }
-
- if (serverIds == null) {
- serverIds = new String[0];
- }
-
- return serverIds;
- }
-
- /**
- * @param project
- * @return
- * @deprecated should be using getServerTypeIdsByModule( IVirtualComponent )
- */
- public static String[] getServerTypeIdsByModule(IProject project) {
- Vector serverIds = new Vector();
- if (project != null) {
- IServer[] servers = ServerUtil.getServersByModule(ResourceUtils
- .getModule(project), null);
- if (servers != null && servers.length > 0) {
- for (int i = 0; i < servers.length; i++) {
- serverIds.add(servers[i].getId());
- }
- }
- }
- return (String[]) serverIds.toArray(new String[serverIds.size()]);
- }
-
- public static IModule getModule(IProject project) {
- return ServerUtil.getModule(project);
-}
-
-// Workaround for 113621
-//public static IModule getModule(IProject project) {
-// IModule[] modules = ServerUtil.getModules(project);
-// if (modules!=null && modules.length!=0) {
-// return modules[0];
-// }
-// return null;
-//}
-
- /**
- * Returns the URL string corresponding to the web server module root of the
- * component based on a server factory ID or null if the project has no Web nature
- * or the module root cannot be determined (e.g. For some types of
- * servers, we would not be able to get module root URL if the server has not been started).
- * Note that we are not relying on which server the module is currently associated with to determine
- * the correct module server root because the project might be associated with a server but we need the
- * module root based on another server factory ID.
- *
- * @param project
- * The project.
- * @param serverFactoryId server factory ID
- * @return The web server module root URL or null
- */
- public static String getWebComponentURL(IProject project, String serverFactoryId) {
- String webProjectURL = null;
- IModule module = getModule(project);
- if (module != null) {
- IServerType serverType = ServerCore.findServerType(serverFactoryId);
- if (serverType!=null)
- {
- try {
- //Choose a Runtime which is not a stub
- IRuntime nonStubRuntime = null;
- IRuntime[] runtimes = ServerUtil.getRuntimes(null, null);
- String serverRuntimeTypeId = serverType.getRuntimeType().getId();
- for (int i = 0; i < runtimes.length; i++) {
- IRuntime runtime = runtimes[i];
- String thisRuntimeTypeId = runtime.getRuntimeType().getId();
- if (thisRuntimeTypeId.equals(serverRuntimeTypeId) && !runtime.isStub()) {
- //Found an appropriate IRuntime that is not a stub
- nonStubRuntime = runtime;
- break;
- }
- }
-
- if (nonStubRuntime != null)
- {
- IServerWorkingCopy serverWC = serverType.createServer(null, null, nonStubRuntime, null);
- IURLProvider urlProvider = (IURLProvider) serverWC.loadAdapter(IURLProvider.class, null);
- if (urlProvider!=null) {
- URL url = urlProvider.getModuleRootURL(module);
- if (url != null) {
- String s = url.toString();
- webProjectURL = (s.endsWith("/") ? s.substring(0, s.length() - 1) : s);
- }
- }
- }
-
- } catch(CoreException ce){
- Logger.getLogger().log(ce);
- }
-
- }
- }
- return webProjectURL;
- }
-
- /**
- * Returns the URL string corresponding to the web server module root of the
- * component based on a server factory ID and server. Returns null if the project has no Web nature
- * or the module root cannot be determined (e.g. For some types of
- * servers, we would not be able to get module root URL if the server has not been started).
- * Note that we are not relying on which server the module is currently associated with to determine
- * the correct module server root because the project might be associated with a server but we need the
- * module root based on another server / server factory ID.
- *
- * @param project
- * The project.
- * @param serverFactoryId server factory ID
- * @param server Server id
- * @return The web server module root URL or null
- */
- public static String getWebComponentURL(IProject project,
- String serverFactoryId, IServer server) {
-
- String webProjectURL = null;
- IModule module = getModule(project);
- if (module != null) {
- if (server != null) {
- IURLProvider urlProvider = (IURLProvider) server.loadAdapter(IURLProvider.class, null);
- if (urlProvider!=null) {
- URL url = urlProvider.getModuleRootURL(module);
- if (url != null) {
- String s = url.toString();
- webProjectURL = (s.endsWith("/") ? s.substring(0, s.length() - 1) : s);
- }
- }
- } else {
- webProjectURL = getWebComponentURL(project, serverFactoryId);
- }
- }
- return webProjectURL;
- }
-
- public static String getEncodedWebComponentURL(IProject project, String serverFactoryId) {
- String url = getWebComponentURL(project, serverFactoryId);
- return encodeURL(url);
- }
-
- public static String getEncodedWebComponentURL(IProject project, String serverFactoryId, IServer server) {
- String url = getWebComponentURL(project, serverFactoryId, server);
- return encodeURL(url);
- }
-
- public static String encodeURL(String url) {
- if (url != null) {
- int index = url.lastIndexOf('/');
- if (index != -1) {
- StringBuffer encodedURL = new StringBuffer();
- encodedURL.append(url.substring(0, index + 1));
- try {
- String ctxtRoot = URLEncoder.encode(url.substring(index + 1, url.length()), "UTF-8");
- int plusIndex = ctxtRoot.indexOf('+');
- while (plusIndex != -1) {
- StringBuffer sb = new StringBuffer();
- sb.append(ctxtRoot.substring(0, plusIndex));
- sb.append("%20");
- sb.append(ctxtRoot.substring(plusIndex + 1, ctxtRoot
- .length()));
- ctxtRoot = sb.toString();
- plusIndex = ctxtRoot.indexOf('+');
- }
- encodedURL.append(ctxtRoot);
- }catch (IOException io){
- //handler exception
- }
- url = encodedURL.toString();
- }
- }
- return url;
- }
-
- public static IServer getDefaultExistingServer(IVirtualComponent component) {
- IProject project = component.getProject();
- IModule module = getModule(project);
- IServer preferredServer = ServerCore.getDefaultServer(module);
- if (preferredServer != null)
- return preferredServer;
-
- IServer[] configuredServers = ServerUtil.getServersByModule(module,
- null);
-
- if (configuredServers != null && configuredServers.length > 0) {
- preferredServer = configuredServers[0];
- } else {
- IServer[] nonConfiguredServers = ServerUtil
- .getAvailableServersForModule(module, false, null);
-
- if (nonConfiguredServers != null
- && nonConfiguredServers.length > 0) {
- preferredServer = nonConfiguredServers[0];
- }
- }
-
- return preferredServer;
- }
-
- /**
- * @param project
- * @return
- * @deprecated should be using getDefaultExistingServer( IVirtualComponent )
- */
- public static IServer getDefaultExistingServer(IProject project) {
-
- IModule module = ServerUtil.getModule(project);
- IServer preferredServer = null;
- preferredServer = ServerCore.getDefaultServer(module);
-
-// Workaround for 113621
-// IModule[] modules = ServerUtil.getModules(project);
-// IServer preferredServer = null;
-// if (modules.length > 0){
-// preferredServer = ServerCore.getDefaultServer(modules[0]);
-// }
-
- if (preferredServer != null)
- return preferredServer;
-
- IServer[] configuredServers = ServerUtil.getServersByModule(
- ResourceUtils.getModule(project), null);
- if (configuredServers != null && configuredServers.length > 0) {
- return configuredServers[0];
- }
-
- IServer[] nonConfiguredServers = ServerUtil
- .getAvailableServersForModule(ResourceUtils.getModule(project),
- false, null);
- if (nonConfiguredServers != null && nonConfiguredServers.length > 0) {
- return nonConfiguredServers[0];
- }
- return null;
- }
-
- /*
- * @param moduleType - ad defined in IServerTargetConstants (i.e. EAR_TYPE,
- * WEB_TYPE, etc.) @param j2eeVersion String representation of the int
- * values in J2EEVersionConstants i.e. "12" or "13" or "14" @return String
- * the id of the server target - to be used in project creation operations.
- */
- public static String getServerTargetIdFromFactoryId(String serverFactoryId,
- String moduleType, String j2eeVersion) {
- IServerType serverType = ServerCore.findServerType(serverFactoryId);
- if (serverType == null)
- return null;
-
- String serverRuntimeTypeId = serverType.getRuntimeType().getId();
-
- String stJ2EEVersion = ServerUtils.getServerTargetJ2EEVersion(j2eeVersion);
- List runtimes = Arrays.asList(ServerUtil.getRuntimes(moduleType, stJ2EEVersion));
- for (int i = 0; i < runtimes.size(); i++) {
- IRuntime runtime = (IRuntime) runtimes.get(i);
- String thisRuntimeTypeId = runtime.getRuntimeType().getId();
- if (thisRuntimeTypeId.equals(serverRuntimeTypeId) && !runtime.isStub()) {
- return runtime.getId();
- }
- }
-
- return null;
- }
-
- /*
- * @param serverFactoryId the server's factory id @returns the runtime type
- * id given the server's factory id. Returns a blank String if the no
- * ServerType exists for the given factory id.
- */
- public static String getRuntimeTargetIdFromFactoryId(String serverFactoryId) {
- IServerType serverType = ServerCore.findServerType(serverFactoryId);
- if (serverType != null) {
- String serverRuntimeId = serverType.getRuntimeType().getId();
- return serverRuntimeId;
- } else
- return "";
- }
-
- public static String getFactoryIdFromRuntimeTargetId(String runtimeTargetId){
- IServerType[] serverTypes = ServerCore.getServerTypes();
- for (int i=0;i<serverTypes.length;i++) {
- IRuntimeType runtimeTyp = serverTypes[i].getRuntimeType();
- if (runtimeTyp!=null){
- if (runtimeTyp.getId().equals(runtimeTargetId))
- return serverTypes[i].getId();
- }
- }
- return "";
-
- }
-
-
- /*
- * @param serverFactoryId the server's factory id @returns the server type
- * id given the server's factory id. Returns a blank String if the no
- * ServerType exists for the given factory id.
- */
- public static String getServerTypeIdFromFactoryId(String serverFactoryId) {
- IServerType serverType = ServerCore.findServerType(serverFactoryId);
- if (serverType != null) {
- String serverTypeId = serverType.getId();
- return serverTypeId;
- } else
- return "";
- }
-
- /*
- * @param j2eeVersion String representation of the int values in
- * J2EEVersionConstants i.e. "12" or "13" or "14"
- */
- public static boolean isTargetValidForEAR(String runtimeTargetId,
- String j2eeVersion) {
- if (runtimeTargetId == null)
- return false;
-
- String earModuleType = IModuleConstants.JST_EAR_MODULE;
- String stJ2EEVersion = ServerUtils.getServerTargetJ2EEVersion(j2eeVersion);
- List runtimes = Arrays.asList(ServerUtil.getRuntimes(earModuleType, stJ2EEVersion));
- for (int i = 0; i < runtimes.size(); i++) {
- IRuntime runtime = (IRuntime) runtimes.get(i);
- String thisId = runtime.getRuntimeType().getId();
- if (thisId.equals(runtimeTargetId))
- return true;
- }
-
- return false;
- }
-
- /*
- * @param j2eeVersion String representation of the int values in
- * J2EEVersionConstants i.e. "12" or "13" or "14" @param the project type
- * from IServerTargetConstants
- */
- public static boolean isTargetValidForProjectType(String runtimeTargetId,
- String j2eeVersion, String projectType) {
- if (runtimeTargetId == null)
- return false;
-
- if (projectType == null || projectType.length() == 0)
- return false;
-
- String stJ2EEVersion = ServerUtils.getServerTargetJ2EEVersion(j2eeVersion);
- List runtimes = Arrays.asList(ServerUtil.getRuntimes(projectType, stJ2EEVersion));
- for (int i = 0; i < runtimes.size(); i++) {
- IRuntime runtime = (IRuntime) runtimes.get(i);
- String thisId = runtime.getRuntimeType().getId();
- if (thisId.equals(runtimeTargetId))
- return true;
- }
-
- return false;
- }
-
- public static String getServerTargetJ2EEVersion(String j2eeVersion) {
-
- if (j2eeVersion == null || j2eeVersion.length() == 0)
- return null;
-
- int j2eeVersionInt = Integer.parseInt(j2eeVersion);
- switch (j2eeVersionInt) {
- case (J2EEVersionConstants.J2EE_1_2_ID):
- return IServerTargetConstants.J2EE_12;
- case (J2EEVersionConstants.J2EE_1_3_ID):
- return IServerTargetConstants.J2EE_13;
- case (J2EEVersionConstants.J2EE_1_4_ID):
- return IServerTargetConstants.J2EE_14;
- default:
- return null;
- }
- }
-
- //Converts a module type from J2EEUtils to a module type like
- //the one in IServerTargetConstants.
- public static String getServerTargetModuleType(int moduleType)
- {
- switch (moduleType)
- {
- case J2EEUtils.WEB :
- return IServerTargetConstants.WEB_TYPE;
- case J2EEUtils.EJB :
- return IServerTargetConstants.EJB_TYPE;
- case J2EEUtils.APPCLIENT :
- return IServerTargetConstants.APP_CLIENT_TYPE;
- case J2EEUtils.EAR :
- return IServerTargetConstants.EAR_TYPE;
- default:
- return null;
-
- }
- }
-
- /*
- * Returns a non-stub runtime if one is available for the the given server type.
- * @param serverFactoryId - server type id
- * @returns IRuntime Returns a non-stub runtime if one is available for the the given server type.
- * Returns null otherwise.
- */
- public static IRuntime getNonStubRuntime(String serverFactoryId)
- {
- //Find a Runtime which is not a stub
- IServerType serverType = ServerCore.findServerType(serverFactoryId);
- IRuntime nonStubRuntime = null;
- if (serverType != null)
- {
- //boolean foundNonStubRuntime = false;
- IRuntime[] runtimes = ServerUtil.getRuntimes(null, null);
- String serverRuntimeTypeId = serverType.getRuntimeType().getId();
- for (int i = 0; i < runtimes.length; i++)
- {
- IRuntime runtime = runtimes[i];
- String thisRuntimeTypeId = runtime.getRuntimeType().getId();
- if (thisRuntimeTypeId.equals(serverRuntimeTypeId) && !runtime.isStub())
- {
- // Found an appropriate IRuntime that is not a stub
- //foundNonStubRuntime = true;
- nonStubRuntime = runtime;
- break;
- }
- }
- }
-
- return nonStubRuntime;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StatusObjectHandler.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StatusObjectHandler.java
deleted file mode 100644
index 1111d76c7..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StatusObjectHandler.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.common;
-
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.WrappedException;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-
-
-public class StatusObjectHandler
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- private static final int MAX_DETAILS = 16;
-
- public static IStatus generateTreeStatus (IStatus status)
- {
- //
- // There could be lots of Throwables, CoreExceptions,
- // WrappedExceptions and IStatus objects beneath the
- // given status. Find them.
- //
- LinkedList statusList = new LinkedList();
- appendStatus(MAX_DETAILS, statusList, status, status.getSeverity());
- if (statusList.size() > 0)
- {
- IStatus newStatus = (IStatus)statusList.removeFirst();
- if (statusList.size() > 0)
- {
- IStatus[] secondaryStatusArray = new IStatus[statusList.size()];
- int n = 0;
- Iterator i = statusList.iterator();
- while (i.hasNext())
- {
- secondaryStatusArray[n++] = (IStatus)i.next();
- }
- newStatus = new MultiStatus(status.getPlugin(),status.getCode(),secondaryStatusArray,status.getMessage(),status.getException());
- }
- return newStatus;
- }
- else
- return null;
- }
-
- //
- // Appends zero or more IStatus objects to the list of IStatus objects
- // based upon an IStatus.
- //
- private static int appendStatus ( int max, List statusList, IStatus status, int severity )
- {
- if (max > 0 && status != null)
- {
- //
- // Append an IStatus object for the given status' message.
- //
- if (status.getMessage() != null)
- {
- max = append(statusList,max,severity,status.getPlugin(),status.getCode(),status.getMessage(),status.getException());
- }
- //
- // Append the IStatus' Throwable, if any.
- //
- max = appendThrowable(max,statusList,status.getException(),severity);
- //
- // If the IStatus is a multi status, append the children.
- //
- IStatus[] children = status.getChildren();
- for (int i=0; i<children.length && max>0; i++)
- {
- max = appendStatus(max,statusList,children[i],severity);
- }
- }
- return max;
- }
-
- //
- // Appends zero or more IStatus objects to the list of IStatus objects
- // based upon a Throwable. WrappedExceptions and CoreExceptions are
- // given special treatment.
- //
- private static int appendThrowable ( int max, List statusList, Throwable throwable, int severity )
- {
- if (max > 0 && throwable != null)
- {
- //
- // Append an IStatus object for the exception's message.
- //
- if (throwable.getLocalizedMessage() != null)
- {
- max = append(statusList,max,severity,WebServicePlugin.ID,0,throwable.getLocalizedMessage(),throwable);
- }
- //
- // If the exception is a WrappedException, append the wrapped Exception.
- //
- if (throwable instanceof WrappedException)
- {
- WrappedException wexc = (WrappedException)throwable;
- max = appendThrowable(max,statusList,wexc.exception(),severity);
- }
- //
- // If the exception is a CoreException, append the enclosed IStatus.
- //
- if (throwable instanceof CoreException)
- {
- CoreException cexc = (CoreException)throwable;
- max = appendStatus(max,statusList,cexc.getStatus(),severity);
- }
- }
- return max;
- }
-
- //
- // Creates and appends an IStatus to the list of IStatus objects.
- //
- private static int append ( List statusList, int max, int severity, String id, int code, String message, Throwable throwable )
- {
- if (max > 0)
- {
- IStatus status = new Status(severity,id,code,message,throwable);
- statusList.add(status);
- max--;
- }
- return max;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2PathTransformer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2PathTransformer.java
deleted file mode 100644
index da7e1da65..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2PathTransformer.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.runtime.Path;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-/**
- *
- * Transforms a input String to a Path
- *
- * @author joan
- *
- */
-
-public class String2PathTransformer implements Transformer {
-
- public Object transform(Object value) {
- Path path = new Path(value.toString());
- return path;
- }
-
-}
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2SelectionTransformer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2SelectionTransformer.java
deleted file mode 100644
index f2351b0f9..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2SelectionTransformer.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 128094 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-/**
- * Transforms a string value representing a workspace resource path into a StructuredSelection object
- *
- * @author joan
- *
- */
-
-public class String2SelectionTransformer implements Transformer {
-
- public Object transform(Object value) {
-
- StructuredSelection selection = null;
- IResource resource = FileResourceUtils.getWorkspaceRoot().findMember(new Path(value.toString()));
- if (resource != null)
- {
- IProject resProject = resource.getProject();
- // check if resource is part of an EJB
- if (J2EEUtils.isEJBComponent(resProject))
- {
- // if resource is part of EJB need to get the EnterpriseBean as the selection
- IVirtualComponent[] ejbComponents = J2EEUtils.getEJBComponents(resProject);
- EJBArtifactEdit ejbEdit = null;
- try{
- ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbComponents[0]);
- EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
- EJBJar ejbJar = ejbRes.getEJBJar();
- IPath path = resource.getFullPath();
- String resourcePath = ResourceUtils.getJavaResourcePackageName(path);
- String javaClassName = resource.getName();
- // strip off file extension if necessary
- if (javaClassName.lastIndexOf('.')>-1)
- {
- javaClassName = javaClassName.substring(0, javaClassName.lastIndexOf('.'));
- }
- JavaClass javaClass = JavaMOFUtils.getJavaClass(resourcePath, javaClassName, resProject);
- EnterpriseBean ejb = ejbJar.getEnterpriseBeanWithReference(javaClass);
- if (ejb != null)
- {
- selection = new StructuredSelection(ejb.getName());
- }
- }
- catch (Exception exc)
- {
-
- }
- finally {
- if (ejbEdit!=null)
- ejbEdit.dispose();
- }
- }
- // if selection not already set - create it from the resource object
- if (selection == null)
- {
- selection = new StructuredSelection(resource);
- }
- }
- else
- {
- // string doesn't return resource - error condition
- throw new IllegalArgumentException(WSPluginMessages.ERROR_SELECTION_TRANSFORM);
- }
- return selection;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TestFacilityListTransformer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TestFacilityListTransformer.java
deleted file mode 100644
index b8596054b..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TestFacilityListTransformer.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
-
-public class String2TestFacilityListTransformer implements Transformer {
-
- public Object transform(Object value) {
- String testFacility = (String)value;
- //value represents name of a test facility
- //pick up list of test facilities
- String[] testTypes = WebServicePlugin.getInstance().getScenarioContext().getWebServiceTestTypes();
-
- int index = 0;
- //match value to name of test facility and set index accordingly
- for (int i = 0; i < testTypes.length; i++) {
- if (testTypes[i].equals(testFacility))
- {
- break;
- }
- index++;
- }
-
- SelectionList selectionList = new SelectionList(testTypes, index);
- return selectionList;
- }
-}
-
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TypeRuntimeServerModifier.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TypeRuntimeServerModifier.java
deleted file mode 100644
index 8f4fcf20c..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/String2TypeRuntimeServerModifier.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- * -------- -------- -----------------------------------------------------------
- * 20060303 128832 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import java.util.Map;
-
-import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
-import org.eclipse.wst.command.internal.env.core.data.BeanModifier;
-
-public class String2TypeRuntimeServerModifier implements BeanModifier {
-
- private String SERVICE_RT_ID_KEY = "Service.RuntimeId"; //$NON-NLS-N$
- private String RUNTIME_ID = "RuntimeId"; //$NON-NLS-N$
- private String SERVICE_SRV_ID_KEY = "Service.ServerId"; //$NON-NLS-N$
- private String SERVER_ID = "ServerId"; //$NON-NLS-N$
- private String TYPE_ID = "TypeId"; //$NON-NLS-N$
- private String TD_EJB = "TOP DOWN EJB"; //$NON-NLS-N$
- private String BU_EJB = "BOTTOM UP EJB"; //$NON-NLS-N$
- private String TD_EJB_TYPE_ID = "1/org.eclipse.jst.ws.wsImpl.ejb";
- private String BU_EJB_TYPE_ID = "0/org.eclipse.jst.ws.wsImpl.ejb";
- private String SERVICE_PREFIX = "Service."; //$NON-NLS-N$
- private String CLIENT_PREFIX = "Client."; //$NON-NLS-N$
-
- /**
- * Modifies the supplied TypeRuntimeServer bean with properties in holder.
- * If the bean is null, construct a new one and set its properties.
- * @param bean TypeRuntimeServer bean to be modified
- * @param holder Map containing values for TypeRuntimeServer properties
- * @return TypeRuntimeServer with properties set
- */
- public void modify(Object bean, Object holder) {
-
- TypeRuntimeServer types = null;
- if (bean == null || !(bean instanceof TypeRuntimeServer))
- {
- types = new TypeRuntimeServer();
- }
- else
- {
- types = (TypeRuntimeServer)bean;
- }
-
- if (holder instanceof Map)
- {
- Map typesMap = (Map)holder;
- String prefix = "";
-
-
- if (typesMap.containsKey(SERVICE_RT_ID_KEY)||typesMap.containsKey(SERVICE_SRV_ID_KEY))
- {
- prefix = SERVICE_PREFIX;
- }
- else
- {
- prefix = CLIENT_PREFIX;
- }
-
- String runtimeID = (String)typesMap.get(prefix+RUNTIME_ID);
- if (runtimeID != null)
- types.setRuntimeId(runtimeID);
-
- String serverID = (String)typesMap.get(prefix+SERVER_ID);
- if (serverID != null)
- types.setServerId(serverID);
-
- //check if web service type is EJB - if not, default for Java bean types
- String typeID = (String)typesMap.get(prefix+TYPE_ID);
- if (typeID != null)
- {
- if (typeID.toUpperCase().equals(TD_EJB)) //only setting typeID specifically for EJB case
- {
- types.setTypeId(TD_EJB_TYPE_ID);
- }
- else if (typeID.toUpperCase().equals(BU_EJB))
- {
- types.setTypeId(BU_EJB_TYPE_ID);
- }
- }
- }
- }
-}
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringToIProjectTransformer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringToIProjectTransformer.java
deleted file mode 100644
index 92efc3b17..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringToIProjectTransformer.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-
-/**
- * Transfroms a java.lang.String to an org.eclipse.core.runtime.IProject
- */
-public class StringToIProjectTransformer implements Transformer
-{
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.data.Transformer#transform(java.lang.Object)
- * @param Object This must be a java.lang.String
- * @return Object Returns an IProject
- */
-
- public Object transform(Object value)
- {
- String project = (String)value;
- int slashIndex = project.indexOf( '/' );
- String projectName = project;
-
- if( slashIndex != -1 )
- {
- projectName = project.substring( 0, slashIndex );
- }
-
- return ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringUtils.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringUtils.java
deleted file mode 100644
index 0c4bd2dc9..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/StringUtils.java
+++ /dev/null
@@ -1,288 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.common;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Enumeration;
-import java.util.Vector;
-import org.eclipse.jdt.core.JavaConventions;
-
-/**
- * This class contains some useful string utilities that are not provided by
- * either String or StringBuffer.
- *
- * @author Peter Moogk
- * @date July 13, 2000
-**/
-public final class StringUtils
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * The platform-specific line separator.
- */
- public static final String NEWLINE = System.getProperty("line.separator");
-
- private StringUtils(){};
-
- /**
- * This method splits a single line of text into multiple lines
- * based on a maximum line length. The method will try to fit as
- * many words as possible onto a line without exceeding the maximum
- * line length. Note: the only case where a line might exceed the
- * maximum is if a single word is longer than the maximum.
- **/
- public static String[] splitter( String text, int max_length )
- {
- Vector return_text = new Vector(20);
- String[] return_str;
- int index = 0;
-
- while( index < text.length() )
- {
- String str = text.substring( index, Math.min( max_length + index,
- text.length() ) );
- int space_index = str.lastIndexOf( " " );
-
- if( index + str.length() < text.length() &&
- text.charAt( index + str.length() - 1 ) != ' ' &&
- text.charAt( index + str.length() ) != ' ' &&
- space_index != -1 )
- {
- return_text.addElement( str.substring( 0, space_index ) );
- index += space_index + 1;
- }
- else
- {
- return_text.addElement( str.trim() );
- index += str.length();
- }
- }
-
- return_str = new String[return_text.size()];
-
- for( index = 0; index < return_text.size(); index++ )
- {
- return_str[index] = (String)(return_text.elementAt(index));
- }
-
- return return_str;
- }
-
- /**
- * This method returns a string with a repeated number of characters.
- **/
- static public String repeat( char the_char, int count )
- {
- StringBuffer buf = new StringBuffer( count );
-
- for( int index = 0; index < count; index++ )
- {
- buf.append( the_char );
- }
-
- return buf.toString();
- }
-
- /**
- * This method flattens an array of arguments to a string.
- * The method respects embedded whitespace and quotes.
- * <ul>
- * <li>Any argument with embedded whitespace will be flattened out
- * with enclosing quotes. For example, the single argument
- * <u>Hello World</u>
- * will be returned as
- * <u>"Hello World"</u>.
- * <li>Any argument with quotes will be flattened out with the
- * quotes escaped. For example, the single argument
- * <u>"Happy days"</u>
- * will be returned as
- * <u>\"Happy days\"</u>.
- * </ul>
- * @param arguments The array of strings to flatten.
- * @return the flattened string.
- */
- static public String flattenArguments ( String[] arguments )
- {
- StringBuffer buf = new StringBuffer();
-
- for (int i=0; i<arguments.length; i++)
- {
- //
- // Append a separator (except the first time).
- //
- if (i > 0) buf.append(' ');
-
- //
- // Look for whitespace.
- //
- boolean whitespace = false;
- char[] chars = arguments[i].toCharArray();
- for (int j=0; !whitespace && j<chars.length; j++)
- {
- if (Character.isWhitespace(chars[j]))
- {
- whitespace = true;
- }
- }
-
- //
- // Append the argument, quoted as necessary.
- //
- if (whitespace) buf.append('"');
- for (int j=0; j<chars.length; j++)
- {
- if (chars[j] == '"') buf.append('\\');
- buf.append(chars[j]);
- }
- if (whitespace) buf.append('"');
- }
-
- return buf.toString();
- }
-
- /**
- * This method parses whitespace-delimitted filenames from
- * the given <code>input</code> stream. <b>Limitation:</b>
- * Quoted filenames or filenames with embedded whitespace
- * are not currently supported.
- * @param input The input stream.
- * @return An enumeration of filenames from the stream.
- */
- static public Enumeration parseFilenamesFromStream ( InputStream input )
- throws IOException
- {
- Vector filenames = new Vector(64,64);
- StringBuffer buffer = null;
- byte state = STATE_WS;
- int ic = input.read();
- while (ic >= 0)
- {
- char c = (char)ic;
- switch (state)
- {
- case STATE_WS:
- if (!Character.isWhitespace(c))
- {
- buffer = new StringBuffer();
- buffer.append(c);
- state = STATE_NWS;
- }
- break;
- case STATE_NWS:
- if (!Character.isWhitespace(c))
- {
- buffer.append(c);
- }
- else
- {
- String filename = buffer.toString();
- filenames.add(filename);
- buffer = null;
- state = STATE_WS;
- }
- break;
- default:
- break;
- }
- ic = input.read();
- }
- return filenames.elements();
- }
-
- private static final byte STATE_WS = 0;
- private static final byte STATE_NWS = 1;
-
-
- /**
- * Returns true is the type passed in is a primtive java type
- * @param class name String
- * @return true is primitive type
- */
- public static boolean isPrimitiveType(String typeName)
- {
-
- if (typeName.equalsIgnoreCase("boolean") ||
- typeName.equalsIgnoreCase("byte") ||
- typeName.equalsIgnoreCase("double") ||
- typeName.equalsIgnoreCase("float") ||
- typeName.equalsIgnoreCase("int") ||
- typeName.equalsIgnoreCase("long") ||
- typeName.equalsIgnoreCase("short") ||
- typeName.equalsIgnoreCase("char"))
- return true;
- return false;
-
- }
-
- /**
- * The method replace the characters that are allowed in URIs
- * and not allowed in Java class names to an underscore ('_')
- * @param URI String
- * @return valid Java class name String
- */
- public static String URI2ClassName( String uri ) {
- String className = uri;
- for ( int i = 0; i < URI_SYMBOLS.length; i++ ) {
- className = className.replace ( URI_SYMBOLS[i], UNDERSCORE );
- }
- return className;
- }
-
- private static final char[] URI_SYMBOLS = {'-', '~', '#', '/', '.'};
- private static final char UNDERSCORE = '_';
-
-
- /**
- * This returns a valid Java identifier based on the given name.
- * (follows JAX-RPC 1.0 Public Review Draft 2 recommendations)
- */
- public static String javaIdentifierFor(String localName)
- {
- StringBuffer result = new StringBuffer();
- boolean skipped = false;
- for (int i = 0, length = localName.length(); i < length; ++i)
- {
- char character = localName.charAt(i);
- if (Character.isJavaIdentifierPart(character) && !isDelimiter(character))
- {
- if (skipped && result.length() != 0)
- {
- character = Character.toUpperCase(character);
- }
- result.append(character);
- skipped = false;
- }
- else
- {
- skipped =true;
- }
- }
-
- if (!JavaConventions.validateIdentifier(result.toString()).isOK())
- {
- result.insert(0, "_");
- }
-
- return result.toString();
- }
-
- private static boolean isDelimiter(char character)
- {
- return "\u002D\u002E\u003A\u005F\u00B7\u0387\u06DD\u06DE".indexOf(character) != -1;
- }
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/UniversalPathTransformer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/UniversalPathTransformer.java
deleted file mode 100644
index a5e6c3141..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/UniversalPathTransformer.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.common;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-
-/**
- * <p>A utility class for transforming a path to and from the following formats:</p>
- * <ul>
- * <li>An absolute eclipse path (i.e. starts with /ProjectName/...)</li>
- * <li>An absolute filesystem URI path (i.e. file:/C:/MyWorkspace/ProjectName/...)</li>
- * <li>A platform URI path (i.e. platform:/resource/ProjectName/...)</li>
- * </ul>
- * <p>In all cases, if the transformer could not convert the path, it is returned unchanged.</p>
- */
-public class UniversalPathTransformer {
-
- /**
- * Prefix of platform URIs.
- */
- public static final String PLATFORM_PREFIX = "platform:/resource/";
-
- /**
- * Prefix of filesystem URIs.
- */
- public static final String LOCATION_PREFIX = "file:/";
-
- private static String PROTOCOL_MARKER = ":";
- private static char PATH_SEPARATOR = '/';
-
- /**
- * Determines if a URI string starts with the given prefix. This method is case-insensitive.
- *
- * @param uri The URI string to check.
- * @param prefix The prefix.
- * @return true iff prefix is a strict prefix of the URI string (i.e. prefix != uri), false
- * is returned otherwise.
- */
- private boolean isPrefix(String uri, String prefix) {
- if (prefix.length() >= uri.length())
- return false;
-
- return uri.substring(0, prefix.length()).equalsIgnoreCase(prefix);
- }
-
- /**
- * Transform the given path to an eclipse path. If the given path is a filesystem URI, it must map to
- * a real resource in the workspace.
- *
- * @param str The path to transform.
- * @return Returns an eclipse path equivalent of the given path.
- */
- public String toPath(String str) {
-
- if (str == null || str.length() == 0)
- return str;
-
- if (isPrefix(str, PLATFORM_PREFIX)) {
- str = str.substring(PLATFORM_PREFIX.length() - 1);
- }
- else if (isPrefix(str, LOCATION_PREFIX)) {
- String s = str.substring(LOCATION_PREFIX.length());
- IFile file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(new Path(s));
- if (file != null)
- str = file.getFullPath().makeAbsolute().toString();
- }
-
- return str;
- }
-
- /**
- * Transform the given path to a platform URI path. If the given path is a filesystem URI, it must map to
- * a real resource in the workspace.
- *
- * @param str The path to transform.
- * @return Returns a platform URI path equivalent of the given path.
- */
- public String toPlatformPath(String str) {
-
- if (str == null || str.length() == 0)
- return str;
-
- if (isPrefix(str, LOCATION_PREFIX)) {
- String s = str.substring(LOCATION_PREFIX.length());
- IFile file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(new Path(s));
- if (file != null)
- str = PLATFORM_PREFIX + file.getFullPath().makeRelative();
- }
- else if (str.indexOf(PROTOCOL_MARKER) == -1) {
- if (str.charAt(0) == PATH_SEPARATOR)
- str = PLATFORM_PREFIX + str.substring(1);
- else
- str = PLATFORM_PREFIX + str;
- }
-
- return str;
- }
-
- /**
- * Transform the given path to a filesystem URI path. The path must be a valid
- * eclipse resource.
- *
- * @param str The path to transform.
- * @return Returns a filesystem URI path equivalent of the given path.
- */
- public String toLocation(String str) {
-
- if (str == null || str.length() == 0)
- return str;
-
- String s = str;
-
- if (isPrefix(s, PLATFORM_PREFIX))
- s = toPath(s);
-
- if (s.indexOf(PROTOCOL_MARKER) == -1) {
- IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(s));
- if (file != null)
- str = file.getLocationURI().toString();
- }
-
- return str;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaBeanProperty.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaBeanProperty.java
deleted file mode 100644
index 9cfe27dba..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaBeanProperty.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-
-/**
- * @author cbrealey
- * This object represents a simple or indexed property
- * as defined by the Java Bean specification. Every
- * IJavaBeanProperty is characterized by four things:
- * <ol>
- * <li>The name of the property.</li>
- * <li>Whether or not the property is indexed.</li>
- * <li>The JDT IMethod of the getter, if any.</li>
- * <li>The JDT IMethod of the setter, if any.</li>
- * </ol>
- */
-public interface IJavaBeanProperty
-{
- /**
- * Returns the name of the property.
- * @return The name of the property.
- */
- public String getName ();
-
- /**
- * Returns true if and only if the property is indexed.
- * @return True if and only if the property is indexed.
- */
- public boolean isIndexed ();
-
- /**
- * Returns the JDT IMethod of the getter.
- * For indexed properties,
- * the return type of the getter will be an array.
- * For simple properties,
- * the return type of the getter will not be an array.
- * @return The JDT IMethod of the getter,
- * or null if this is a write-only property.
- */
- public IMethod getGetter ();
-
- /**
- * Returns the JDT IMethod of the indexed getter,
- * or null if this is either not an indexed property,
- * or is an indexed property but has only the array-
- * based getter.
- * @return The JDT IMethod of the indexed getter,
- * or null if this is not an indexed property or
- * if there is no indexed getter.
- */
- public IMethod getIndexedGetter ();
-
- /**
- * Returns the JDT IMethod of the setter.
- * For indexed properties,
- * the parameter type of the setter will be an array.
- * For simple properties,
- * the parameter type of the setter will not be an array.
- * @return The JDT IMethod of the setter,
- * or null if this is a read-only property.
- */
- public IMethod getSetter ();
-
- /**
- * Returns the JDT IMethod of the indexed setter,
- * or null if this is either not an indexed property,
- * or is an indexed property but has only the array-
- * based setter.
- * @return The JDT IMethod of the indexed setter,
- * or null if this is not an indexed property or
- * if there is no indexed setter.
- */
- public IMethod getIndexedSetter ();
-
- /**
- * Returns the type within which the getter and/or setter
- * of this property is declared, or null if none.
- * @return The type within which the getter and/or setter
- * of this property is declared.
- */
- public IType getDeclaringType ();
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRule.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRule.java
deleted file mode 100644
index 0912c9d05..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRule.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-
-/**
- * @author cbrealey
- * A Java Web service conformance Rule tests some collection
- * of Java resources that implement, or are meant to implement,
- * a Web service against a single, concise requirement as is
- * typically defined by a specification (eg. JAX-RPC, JSR 109)
- * or a runtime (eg. Apache Axis).
- * <p>
- * Every rule must have a namespace and a unique ID under that
- * that namespace. Every rule may have a short name and a long
- * description, both of which are recommended but optional.
- * <p>
- * Every rule follows a lifecycle of initialization, analysis
- * and completion. A Java Web service rule engine will drive
- * the <code>init()</code> method to initialize the rule, then
- * drive the various <code>visit...()</code> methods as it
- * navigates some collection of JDT resources, then drive the
- * <code>getResults()</code> method to indicate analysis is done
- * and retrieve a status object with the results of the analysis.
- */
-public interface IJavaWebServiceRule
-{
- /**
- * Returns the unique identifier of the rule
- * within the namespace to which the rule belongs.
- * @return The unique identifier of the rule.
- * Valid rule identifiers must not be negative.
- */
- public int getId ();
-
- /**
- * Returns the namespace to which this rule belongs.
- * @return The namespace to which this rule belongs.
- * Never returns null.
- */
- public String getNamespace ();
-
- /**
- * Returns the translatable short name of this rule.
- * @return The translatable short name of this rule,
- * or null if the rule has no name.
- */
- public String getName ();
-
- /**
- * Returns the translatable description of this rule.
- * @return The translatable description of this rule,
- * or null if the rule has no description.
- */
- public String getDescription ();
-
- /**
- * Called by the rule engine to give this rule a chance
- * to initialize itself prior to visiting JDT objects.
- * @param engine The engine initializing this rule.
- */
- public void init ( IJavaWebServiceRuleEngine engine );
-
- /**
- * Called by the rule engine when it decides to visit
- * a Java class (ie. primitive types are excluded).
- * @param jdtClass The class to visit.
- * @param peanutTrail The trail of objects back to the root.
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail );
-
- /**
- * Called by the rule engine when it decides to visit
- * a Java class found on the throws clause of a method.
- * @param jdtClass The exception class to visit.
- * @param peanutTrail The trail of objects back to the root.
- */
- public void visitException ( IType jdtClass, Stack peanutTrail );
-
- /**
- * Called by the rule engine when it decides to visit
- * a field belonging to a class.
- * @param jdtField The field to visit.
- * @param peanutTrail The trail of objects back to the root.
- */
- public void visitField ( IField jdtField, Stack peanutTrail );
-
- /**
- * Called by the rule engine when it decides to visit
- * a Java Bean property (ie. represented by a "get" and/or
- * "set" method) beloning to a class.
- * @param beanProperty The property to visit.
- * @param peanutTrail The trail of objects back to the root.
- */
- public void visitProperty ( IJavaBeanProperty beanProperty, Stack peanutTrail );
-
- /**
- * Called by the rule engine when it decides to visit a method.
- * @param jdtMethod The method to visit.
- * @param peanutTrail The trail of objects back to the root.
- */
- public void visitMethod ( IMethod jdtMethod, Stack peanutTrail );
-
- /**
- * Called by the rule engine after all JDT objects have
- * been visited so that the rule can return a status
- * object (usually a multi-status) with a summary of
- * any violations by JDT objects detected by this rule.
- * @return The results of the rule's analysis.
- */
- public IStatus getResults ();
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRuleEngine.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRuleEngine.java
deleted file mode 100644
index 23ef0b6ab..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/IJavaWebServiceRuleEngine.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jdt.core.IType;
-
-/**
- * @author cbrealey
- * This is an engine that walks a JDT model and runs rules.
- */
-public interface IJavaWebServiceRuleEngine
-{
- /**
- * Analyzes the given class in the context of the given
- * project for compliance to a set of JAX-RPC rules.
- * @param project The project context of the analysis.
- * @param rootClass The IType of the class to analyze.
- * @param rules The rules to use for the analysis.
- * @return An IStatus summarizing the results of the analysis.
- */
- public IStatus analyze ( IProject project, IType rootClass, JavaWebServiceRuleSet rules );
-
- /**
- * Returns the JDTResolver in use by this analyzer.
- * The JDTResolver is guaranteed not to be null only
- * after the analyze method has been invoked and before
- * the first rule is visited. This method is intended
- * for use by implementations of IJavaWebServiceRule.
- * @return The JDTResolver in use by this analyzer.
- */
- public JDTResolver getJDTResolver ();
-
- /**
- * Returns the progress monitor in use by this analyzer,
- * or null if no progress monitor is in use.
- * This method is intended for use by implementations
- * of IJavaWebServiceRule.
- * @return The progress monitor in use by this analyzer,
- * or null for none.
- */
- public IProgressMonitor getProgressMonitor ();
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceAnalyzer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceAnalyzer.java
deleted file mode 100644
index 115efb770..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceAnalyzer.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- * 20060607 145604 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IClassFile;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.jst.ws.internal.conformance.rules.JAXRPCRuleSetFactory;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * This class provides convenience methods for analyzing
- * compliance of Java service classes and value types to
- * the JAX-RPC 1.1 specification. Typical usage of this
- * class:
- * <code>
- * IType type = JAXRPCWebServiceAnalyzer.asType(myJavaFileResource);
- * JavaWebServiceRuleSet rules = JAXRPCWebServiceAnalyzer.getRuleSet();
- * JAXRPCWebServiceAnalyzer.getRuleEngine().analyze(type,rules,myProgressMonitor);
- * </code>
- * @author cbrealey
- */
-public class JAXRPCWebServiceAnalyzer
-{
- private JavaWebServiceRuleSet ruleSet_;
-
- /**
- * Constructs a new JAX-RPC Web service analyzer,
- * a convenience class wrapped around a
- * JAXRPCWebServiceAnalyzer.
- */
- public JAXRPCWebServiceAnalyzer ()
- {
- ruleSet_ = JAXRPCRuleSetFactory.newRuleSet();
- }
-
- /**
- * Returns the set of rules in use, the contents of
- * which can be manipulated and will be respected by
- * this analyzer. In other words, this method returns a
- * reference to, not a copy of, the set of rules in use.
- * @return The set of rules in use by the analyzer.
- */
- public JavaWebServiceRuleSet getRuleSet ()
- {
- return ruleSet_;
- }
-
- /**
- * Analyzes the Java service class represented by the given
- * JDT type for compliance to the JAX-RPC for compliance to
- * the JAX-RPC specification.
- * Progress monitoring is provided by the given monitor.
- * @param project The project context in which the analysis
- * should take place.
- * @param rootClass The Java service class to analyze.
- * @param monitor The progress monitor to use,
- * or null if monitoring is not desired.
- * @return A status object whose severity, message and
- * child status objects, if any, describe any JAX-RPC
- * rules that may be compromised by the service class.
- * Never returns null.
- */
- public IStatus analyze ( IProject project, IType rootClass, IProgressMonitor monitor )
- {
- IJavaWebServiceRuleEngine engine = new JAXRPCWebServiceRuleEngine(monitor);
- return engine.analyze(project,rootClass,ruleSet_);
- }
-
- /**
- * Analyzes the Java service class represented by the given
- * JDT type for compliance to the JAX-RPC for compliance to
- * the JAX-RPC specification.
- * Progress monitoring is provided by the given monitor.
- * @param project The project context in which the analysis
- * should take place.
- * @param rootClass The fully qualified name of the
- * Java service class to analyze.
- * @param monitor The progress monitor to use,
- * or null if monitoring is not desired.
- * @return A status object whose severity, message and
- * child status objects, if any, describe any JAX-RPC
- * rules that may be compromised by the service class.
- * Never returns null.
- */
- public IStatus analyze ( IProject project, String rootClass, IProgressMonitor monitor )
- {
- try
- {
- IType rootType = asType(rootClass,project);
- if (rootType == null)
- {
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_UNRESOLVED_CLASS,rootClass,project.getName());
- return new Status(IStatus.ERROR,"org.eclipse.jst.ws",0,message,null);
- }
- return analyze(project,rootType,monitor);
- }
- catch (JavaModelException e)
- {
- // An exception may be thrown from the call to asType(...),
- // not from the call to analyze(...). Exceptions within the
- // analyze(...) method are captured in the returned IStatus.
- return new Status(IStatus.ERROR,"org.eclipse.jst.ws",0,"Internal error",e);
- }
- }
-
- /**
- * Analyzes the Java service class represented by the given
- * ".java" compilation unit or ".class" file for compliance
- * to the JAX-RPC specification.
- * Progress monitoring is provided by the given monitor.
- * @param project The project context in which the analysis
- * should take place.
- * @param rootClass The Java service class to analyze.
- * @param monitor The progress monitor to use,
- * or null if monitoring is not desired.
- * @return A status object whose severity, message and
- * child status objects, if any, describe any JAX-RPC
- * rules that may be compromised by the service class.
- * Never returns null.
- */
- public IStatus analyze ( IProject project, IFile rootClass, IProgressMonitor monitor )
- {
- try
- {
- IType rootType = asType(rootClass);
- if (rootType == null)
- {
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_UNRESOLVED_CLASS,rootClass.getFullPath().toString(),project.getName());
- return new Status(IStatus.ERROR,"org.eclipse.jst.ws",0,message,null);
- }
- return analyze(project,rootType,monitor);
- }
- catch (JavaModelException e)
- {
- // An exception may be thrown from the call to asType(...),
- // not from the call to analyze(...). Exceptions within the
- // analyze(...) method are captured in the returned IStatus.
- return new Status(IStatus.ERROR,"org.eclipse.jst.ws",0,"Internal error",e);
- }
- }
-
- /**
- * Returns the Java type represented by the given file,
- * or null if no such type can be clearly determined.
- * @param file The file whose type to infer, usually a
- * ".java" or ".class" file. For ".java" files, this
- * method will return the primary type.
- * @return The inferred JDT Java type.
- * @throws JavaModelException If the given file could not
- * mapped to a JDT IType.
- */
- private static IType asType ( String qname, IProject project )
- throws JavaModelException
- {
- IType type = null;
- IJavaElement javaElement = JavaCore.create(project);
- if (javaElement instanceof IJavaProject)
- {
- IJavaProject javaProject = (IJavaProject)javaElement;
- type = javaProject.findType(qname);
- }
- return type;
- }
- /**
- * Returns the Java type represented by the given file,
- * or null if no such type can be clearly determined.
- * @param file The file whose type to infer, usually a
- * ".java" or ".class" file. For ".java" files, this
- * method will return the primary type.
- * @return The inferred JDT Java type.
- * @throws JavaModelException If the given file could not
- * mapped to a JDT IType.
- */
- private static IType asType ( IFile file )
- throws JavaModelException
- {
- IType type = null;
- IJavaElement javaElement = JavaCore.create(file);
- if (javaElement instanceof ICompilationUnit)
- {
- ICompilationUnit compilationUnit = (ICompilationUnit)javaElement;
- type = compilationUnit.findPrimaryType();
- }
- else if (javaElement instanceof IClassFile)
- {
- IClassFile classFile = (IClassFile)javaElement;
- type = classFile.getType();
- }
- return type;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceRuleEngine.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceRuleEngine.java
deleted file mode 100644
index 33597f06f..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JAXRPCWebServiceRuleEngine.java
+++ /dev/null
@@ -1,278 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 149411 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import java.util.HashSet;
-import java.util.Set;
-import java.util.Stack;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * @author cbrealey
- * This engine navigated JDT classes according to a JAX-RPC
- * interpretation. The root class is considered to be a
- * candidate JAX-RPC service class, and any non-standard
- * or non-primitive types used by the methods of the service
- * class are considered to be candidates for JAX-RPC value
- * type classes.
- */
-public class JAXRPCWebServiceRuleEngine implements IJavaWebServiceRuleEngine
-{
- /**
- * Creates a new JAX-RPC analysis engine with the given
- * progress monitor.
- * @param progressMonitor The progress monitor for the
- * engine to use, or null if monitoring is not desired.
- */
- public JAXRPCWebServiceRuleEngine ( IProgressMonitor progressMonitor )
- {
- progressMonitor_ = progressMonitor;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine#analyze(org.eclipse.core.resources.IProject, org.eclipse.jdt.core.IType, org.eclipse.jst.ws.internal.conformance.JavaWebServiceRuleSet, org.eclipse.core.runtime.IProgressMonitor)
- */
- public IStatus analyze ( IProject project, IType rootClass, JavaWebServiceRuleSet rules )
- {
- visited_ = new HashSet();
- peanutTrail_ = new Stack();
- resolver_ = new JDTResolver(project,progressMonitor_);
- IStatus status = null;
- rules.init(this);
- try
- {
- analyzeServiceClass(rootClass,rules);
- String inCaseOfFailureMessage = NLS.bind(WSPluginMessages.MSG_JAXRPC11_NOT_COMPLIANT,rootClass.getFullyQualifiedName());
- status = rules.getResults(inCaseOfFailureMessage);
- }
- catch (JavaModelException e)
- {
- status = new Status(IStatus.ERROR,"org.eclipse.jst.ws",0,"Internal Error",e);
- }
- return status;
- }
-
- private void analyzeServiceClass ( IType type, JavaWebServiceRuleSet rules )
- throws JavaModelException
- {
- rules.visitClass(type,peanutTrail_);
- visited_.add(type.getFullyQualifiedName());
- push(type);
- try
- {
- IType[] superClasses = resolver_.getSuperClasses(type);
- IMethod[] methods = resolver_.getPublicMethods(type,superClasses);
- for (int m=0; m<methods.length; m++)
- {
- analyzeMethod(methods[m],rules);
- }
- }
- finally
- {
- pop();
- }
- }
-
- private void analyzeMethod ( IMethod method, JavaWebServiceRuleSet rules )
- throws JavaModelException
- {
- rules.visitMethod(method,peanutTrail_);
- push(method);
- try
- {
- IType returnType = resolver_.getReturnType(method);
- analyzeDataType(returnType,rules);
- IType[] parameterTypes = resolver_.getParameterTypes(method);
- for (int p=0; p<parameterTypes.length; p++)
- {
- analyzeDataType(parameterTypes[p],rules);
- }
- IType[] exceptionTypes = resolver_.getExceptionTypes(method);
- for (int e=0; e<exceptionTypes.length; e++)
- {
- analyzeExceptionType(exceptionTypes[e],rules);
- }
- }
- finally
- {
- pop();
- }
- }
-
- private void analyzeDataType ( IType type, JavaWebServiceRuleSet rules )
- throws JavaModelException
- {
- if (type != null && !resolver_.isStandardType(type.getFullyQualifiedName()) && !visited_.contains(type.getFullyQualifiedName()))
- {
- rules.visitClass(type,peanutTrail_);
- visited_.add(type.getFullyQualifiedName());
- push(type);
- try
- {
- IType[] superClasses = resolver_.getSuperClasses(type);
- IField[] fields = resolver_.getPublicFields(type,superClasses);
- for (int f=0; f<fields.length; f++)
- {
- analyzeField(fields[f],rules);
- }
- IJavaBeanProperty[] properties = resolver_.getPublicProperties(type,superClasses);
- for (int p=0; p<properties.length; p++)
- {
- analyzeProperty(properties[p],rules);
- }
- }
- finally
- {
- pop();
- }
- }
- }
-
- private void analyzeField ( IField field, JavaWebServiceRuleSet rules )
- throws JavaModelException
- {
- if (field != null)
- {
- rules.visitField(field,peanutTrail_);
- push(field);
- try
- {
- //TODO: Get qualified name of the field type
- //and determine if we need to build an IType
- //for it and analyze it.
- IType type = resolver_.getFieldType(field);
- analyzeDataType(type,rules);
- }
- finally
- {
- pop();
- }
- }
- }
-
- private void analyzeProperty ( IJavaBeanProperty property, JavaWebServiceRuleSet rules )
- throws JavaModelException
- {
- if (property != null)
- {
- rules.visitProperty(property,peanutTrail_);
- push(property);
- try
- {
- IType type = resolver_.getPropertyType(property);
- analyzeDataType(type,rules);
- }
- finally
- {
- pop();
- }
- }
- }
-
- private void analyzeExceptionType ( IType type, JavaWebServiceRuleSet rules )
- throws JavaModelException
- {
- if (type != null && !resolver_.isStandardType(type.getFullyQualifiedName()) && !visited_.contains(type.getFullyQualifiedName()))
- {
- rules.visitException(type,peanutTrail_);
- visited_.add(type.getFullyQualifiedName());
- push(type);
- try
- {
- // We trust java.lang.Exception/Throwable as superclasses
- // for service specific exception classes, therefore we do
- // not try to analyze their properties (some of which would
- // otherwise violate JAX-RPC's rules anyways).
- IType[] superClasses = resolver_.getSuperClasses(type,"java.lang.Exception");
- IJavaBeanProperty[] properties = resolver_.getPublicProperties(type,superClasses);
- for (int p=0; p<properties.length; p++)
- {
- analyzeProperty(properties[p],rules);
- }
- }
- finally
- {
- pop();
- }
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine#getJDTResolver()
- */
- public JDTResolver getJDTResolver ()
- {
- return resolver_;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine#getProgressMonitor()
- */
- public IProgressMonitor getProgressMonitor ()
- {
- return progressMonitor_;
- }
-
- /*
- * Pushes a peanut onto the peanut trail.
- */
- private void push ( Object peanut )
- {
- peanutTrail_.push(peanut);
- }
-
- /*
- * Pops a peanut off the peanut trail.
- */
- private void pop ()
- {
- peanutTrail_.pop();
- }
-
- /*
- * The JDTResolver used by this analyzer.
- */
- private JDTResolver resolver_;
-
- /*
- * The progress monitor used by this analyzer.
- */
- private IProgressMonitor progressMonitor_;
-
- /*
- * This set keeps track of the fully qualified names of
- * classes we have visited so that we don't visit the same
- * service class, value type or exception class more than once.
- */
- private Set visited_;
-
- /*
- * This stack keeps a trail of JDT objects back to the
- * service class we began with. This can be useful to
- * visitors that need to inspect the JDT elements that
- * enclose the currently visited element.
- */
- private Stack peanutTrail_;
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JDTResolver.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JDTResolver.java
deleted file mode 100644
index c1ed6fd1b..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JDTResolver.java
+++ /dev/null
@@ -1,877 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 149411 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jdt.core.Flags;
-import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.ITypeHierarchy;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jdt.core.Signature;
-
-/**
- * @author cbrealey
- * A JDTResolver provides several convenience methods for
- * navigating references between Java classes, methods,
- * fields and properties. A JDTResolver is constructed
- * for a Java project whose effective classpath will
- * govern the scope of search operations performed by the
- * JDTResolver whenever it needs to convert a signature
- * into a JDT IType object.
- */
-public class JDTResolver
-{
- /**
- * Creates a new JDTResolver for the given project.
- * @param project The project providing the context
- * @param monitor The progress monitor for this resolver
- * to use, or null if progress monitoring is not desired.
- * within which this resolver will search for classes.
- */
- public JDTResolver ( IProject project, IProgressMonitor monitor )
- {
- javaProject_ = JavaCore.create(project);
- monitor_ = monitor;
- }
-
- /**
- * Returns true if and only if the given JDT IType is an interface.
- * @param jdtType The type to analyze.
- * @return True if and only if the given JDT IType is an interface.
- * @throws JavaModelException If the JDT model fails to
- * analyze the given type.
- */
- public boolean isInterface ( IType jdtType )
- throws JavaModelException
- {
- return jdtType.isInterface();
- }
-
- /**
- * Returns true if and only if the given JDT IType is an abstract class.
- * @param jdtType The type to analyze.
- * @return True if and only if the given JDT IType is an abstract class.
- * @throws JavaModelException If the JDT model fails to
- * analyze the given type.
- */
- public boolean isAbstract ( IType jdtType )
- throws JavaModelException
- {
- return Flags.isAbstract(jdtType.getFlags());
- }
-
- /**
- * Returns true if and only if instances of the given JDT IType
- * can be instantiated via a public default constructor. The class
- * must have an explicit public default constructor, or have no
- * explicit constructors at all to meet this criteria.
- * @param jdtType The type to analyze.
- * @return True if and only if instances of the type are
- * public default constructable.
- * @throws JavaModelException If the JDT model fails to
- * analyze the given type.
- */
- public boolean isConstructable ( IType jdtType )
- throws JavaModelException
- {
- IMethod[] methods = jdtType.getMethods();
- int numberOfConstructors = 0;
- for (int m=0; m<methods.length; m++)
- {
- if (methods[m].isConstructor())
- {
- numberOfConstructors++;
- if (methods[m].getNumberOfParameters() == 0 && Flags.isPublic(methods[m].getFlags()))
- {
- return true;
- }
- }
- }
- return numberOfConstructors == 0;
- }
-
- /**
- * Returns true if and only if the given fully qualified
- * type name is a type from the standard JDK, that is,
- * if the given type name belongs under the "java" or
- * "javax" packages.
- * @param typeName The name of the type to check.
- * @return True if and only if the type is a non-primitive,
- * Java standard type.
- */
- public boolean isStandardType ( String typeName )
- {
- return typeName.startsWith("java.") || typeName.startsWith("javax.");
- }
-
- /**
- * Returns true if and only if the given type name is a
- * Java primitive type.
- * @param typeName The name of the type to check.
- * @return True if and only if the type is a Java primitive type.
- */
- public boolean isPrimitiveType ( String typeName )
- {
- for (int i=0; i<primitiveTypes_.length; i++)
- {
- if (primitiveTypes_[i].equals(typeName))
- {
- return true;
- }
- }
- return false;
- }
-
- /**
- * Returns true if and only if the given fully qualified
- * type name is a Java wrapper type.
- * @param typeName The name of the type to check.
- * @return True if and only if the type is a Java wrapper type.
- */
- public boolean isWrapperType ( String typeName )
- {
- for (int i=0; i<wrapperTypes_.length; i++)
- {
- if (wrapperTypes_[i].equals(typeName))
- {
- return true;
- }
- }
- return false;
- }
-
- /**
- * Returns true if and only if the given fully qualified
- * type name is a Java primitive or standard type supported
- * by the JAX-RPC specification.
- * @param typeName The name of the type to check.
- * @return True if and only if the type is a Java wrapper type.
- */
- public boolean isJAXRPCStandardType ( String typeName )
- {
- for (int i=0; i<jaxrpcTypes_.length; i++)
- {
- if (jaxrpcTypes_[i].equals(typeName))
- {
- return true;
- }
- }
- if (isWrapperType(typeName) && !"java.lang.Character".equals(typeName))
- {
- return true;
- }
- if (isPrimitiveType(typeName) && !"char".equals(typeName))
- {
- return true;
- }
- return false;
- }
-
- /**
- * Returns an array of zero or more JDT IType objects
- * for the public fields belonging to the given type
- * @param jdtType The type to analyze.
- * @param jdtSuperTypes Any supertypes to analyze,
- * or null to analyze only the <code>jdtType</code>.
- * @return An array of zero or more public field types.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given types to satisfy this request.
- */
- public IField[] getPublicFields ( IType jdtType, IType[] jdtSuperClasses )
- throws JavaModelException
- {
- List fieldsList = new LinkedList();
- harvestPublicFields(jdtType,fieldsList);
- if (jdtSuperClasses != null)
- {
- for (int t=0; t<jdtSuperClasses.length; t++)
- {
- harvestPublicFields(jdtSuperClasses[t],fieldsList);
- }
- }
- return (IField[])fieldsList.toArray(new IField[0]);
- }
-
- /**
- * Returns an array of zero or more JDT IMethod objects
- * for the public methods belonging to the given type.
- * @param jdtType The type to analyze.
- * @param jdtSuperTypes Any supertypes to analyze,
- * or null to analyze only the <code>jdtType</code>.
- * @return An array of zero or more public methods.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given types to satisfy this request.
- */
- public IMethod[] getPublicMethods ( IType jdtType, IType[] jdtSuperClasses )
- throws JavaModelException
- {
- List methodsList = new LinkedList();
- harvestPublicMethods(jdtType,methodsList);
- if (jdtSuperClasses != null)
- {
- for (int t=0; t<jdtSuperClasses.length; t++)
- {
- harvestPublicMethods(jdtSuperClasses[t],methodsList);
- }
- }
- return (IMethod[])methodsList.toArray(new IMethod[0]);
- }
-
- /**
- * Returns an array of zero or more JDT IType objects
- * for the public properties (getters and/or setters)
- * belonging to the given type.
- * @param jdtType The type to analyze.
- * @param jdtSuperTypes Any supertypes to analyze,
- * or null to analyze only the <code>jdtType</code>.
- * @return An array of zero or more public property types.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given types to satisfy this request.
- */
- public IJavaBeanProperty[] getPublicProperties ( IType jdtType, IType[] jdtSuperClasses )
- throws JavaModelException
- {
- IMethod[] methods = getPublicMethods(jdtType,jdtSuperClasses);
- Map properties = new HashMap();
- for (int m=0; m<methods.length; m++)
- {
- String name = getGetterName(methods[m]);
- if (name != null)
- {
- JavaBeanProperty property = (JavaBeanProperty)properties.get(name);
- if (property == null)
- {
- property = new JavaBeanProperty();
- property.setName(name);
- properties.put(name,property);
- }
- property.setGetter(methods[m]);
- }
- else
- {
- name = getSetterName(methods[m]);
- if (name != null)
- {
- JavaBeanProperty property = (JavaBeanProperty)properties.get(name);
- if (property == null)
- {
- property = new JavaBeanProperty();
- property.setName(name);
- properties.put(name,property);
- }
- property.setSetter(methods[m]);
- }
- }
- }
- return (IJavaBeanProperty[])properties.values().toArray(new JavaBeanProperty[0]);
- }
-
- /**
- * Returns the JDT IType object for the given field.
- * @param jdtField The field to analyze.
- * @return The field type.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given field to satisfy this request.
- */
- public IType getFieldType ( IField jdtField )
- throws JavaModelException
- {
- IJavaElement elem = jdtField.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String signature = jdtField.getTypeSignature();
- String typeName = getTypeNameFromSignature(signature);
- return findType(typeName,ancestor);
- }
-
- /**
- * Returns the type name for the given field.
- * @param jdtField The field to analyze.
- * @return The field type name.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given field to satisfy this request.
- */
- public String getFieldTypeName ( IField jdtField )
- throws JavaModelException
- {
- IJavaElement elem = jdtField.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String signature = jdtField.getTypeSignature();
- String typeName = getTypeNameFromSignature(signature);
- return resolveType(typeName,ancestor);
- }
-
- /**
- * Returns the JDT IType object for the given bean property.
- * @param javaBeanProperty The bean property to analyze.
- * @return The property type.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given bean property to satisfy this request.
- */
- public IType getPropertyType ( IJavaBeanProperty javaBeanProperty )
- throws JavaModelException
- {
- IMethod method = javaBeanProperty.getGetter();
- if (method != null)
- {
- return getReturnType(method);
- }
- else
- {
- method = javaBeanProperty.getSetter();
- if (method != null)
- {
- IType[] parameters = getParameterTypes(method);
- if (parameters.length > 0)
- {
- //
- // It's the last parameter's type we want,
- // for indexed or non-indexed setters.
- //
- return parameters[parameters.length-1];
- }
- }
- }
- return null;
- }
-
- /**
- * Returns the type name for the given bean property.
- * @param javaBeanProperty The bean property to analyze.
- * @return The property type name.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given bean property to satisfy this request.
- */
- public String getPropertyTypeName ( IJavaBeanProperty javaBeanProperty )
- throws JavaModelException
- {
- IMethod method = javaBeanProperty.getGetter();
- if (method != null)
- {
- return getReturnTypeName(method);
- }
- else
- {
- method = javaBeanProperty.getSetter();
- if (method != null)
- {
- String[] parameterTypeNames = getParameterTypeNames(method);
- if (parameterTypeNames.length > 0)
- {
- return parameterTypeNames[0];
- }
- }
- }
- return null;
- }
-
- /**
- * Returns the JDT IType object for the return type
- * of the given method, or null if the method is void.
- * @param jdtMethod The method to analyze.
- * @return The method return type, or null if none.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given method to satisfy this request.
- */
- public IType getReturnType ( IMethod jdtMethod )
- throws JavaModelException
- {
- IJavaElement elem = jdtMethod.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String signature = jdtMethod.getReturnType();
- String typeName = getTypeNameFromSignature(signature);
- return findType(typeName,ancestor);
- }
-
- /**
- * Returns the type name for the return type
- * of the given method, or null if the method is void.
- * @param jdtMethod The method to analyze.
- * @return The method return type name, or null if none.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given method to satisfy this request.
- */
- public String getReturnTypeName ( IMethod jdtMethod )
- throws JavaModelException
- {
- IJavaElement elem = jdtMethod.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String signature = jdtMethod.getReturnType();
- String typeName = getTypeNameFromSignature(signature);
- return resolveType(typeName,ancestor);
- }
-
- /**
- * Returns an array of zero or more JDT IType objects
- * for the parameters of the given method.
- * @param jdtMethod The method to analyze.
- * @return An array of zero or more parameter types.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given method to satisfy this request.
- */
- public IType[] getParameterTypes ( IMethod jdtMethod )
- throws JavaModelException
- {
- IJavaElement elem = jdtMethod.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String[] signatures = jdtMethod.getParameterTypes();
- IType[] types = new IType[signatures.length];
- for (int s=0; s<signatures.length; s++)
- {
- String typeName = getTypeNameFromSignature(signatures[s]);
- types[s] = findType(typeName,ancestor);
- }
- return types;
- }
-
- /**
- * Returns an array of zero or more type names
- * for the parameters of the given method.
- * @param jdtMethod The method to analyze.
- * @return An array of zero or more parameter type names.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given method to satisfy this request.
- */
- public String[] getParameterTypeNames ( IMethod jdtMethod )
- throws JavaModelException
- {
- IJavaElement elem = jdtMethod.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String[] signatures = jdtMethod.getParameterTypes();
- String[] typeNames = new String[signatures.length];
- for (int s=0; s<signatures.length; s++)
- {
- String typeName = getTypeNameFromSignature(signatures[s]);
- typeNames[s] = resolveType(typeName,ancestor);
- }
- return typeNames;
- }
-
- /**
- * Returns an array of zero or more JDT IType objects
- * for the exceptions thrown by the given method.
- * @param jdtMethod The method to analyze.
- * @return An array of zero or more exception types.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given method to satisfy this request.
- */
- public IType[] getExceptionTypes ( IMethod jdtMethod )
- throws JavaModelException
- {
- IJavaElement elem = jdtMethod.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String[] signatures = jdtMethod.getExceptionTypes();
- IType[] types = new IType[signatures.length];
- for (int s=0; s<signatures.length; s++)
- {
- String typeName = getTypeNameFromSignature(signatures[s]);
- types[s] = findType(typeName,ancestor);
- }
- return types;
- }
-
- /**
- * Returns an array of zero or more type names
- * for the exceptions thrown by the given method.
- * @param jdtMethod The method to analyze.
- * @return An array of zero or more exception type names.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given method to satisfy this request.
- */
- public String[] getExceptionTypeNames ( IMethod jdtMethod )
- throws JavaModelException
- {
- IJavaElement elem = jdtMethod.getAncestor(IJavaElement.TYPE);
- IType ancestor = elem instanceof IType ? (IType)elem : null;
- String[] signatures = jdtMethod.getExceptionTypes();
- String[] typeNames = new String[signatures.length];
- for (int s=0; s<signatures.length; s++)
- {
- String typeName = getTypeNameFromSignature(signatures[s]);
- typeNames[s] = resolveType(typeName,ancestor);
- }
- return typeNames;
- }
-
- /**
- * Returns an array of zero or more types representing
- * the superclasses, if any, of the given IType in bottom-up
- * order excluding java.lang.Object.
- * @param jdtType The type to analyze.
- * @return An array of zero or more superclass types.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given type to satisfy this request.
- */
- public IType[] getSuperClasses ( IType jdtType )
- throws JavaModelException
- {
- return getSuperClasses(jdtType,"java.lang.Object");
- }
-
- /**
- * Returns an array of zero or more types representing
- * the superclasses, if any, of the given IType.
- * Under normal circumstances, java.lang.Object is included.
- * @param jdtType The type to analyze.
- * @param stopClassName The name of a stop class used to limit
- * the superclasses returned to the caller. If the stop class
- * is null or names a class not found in the hierarchy, all
- * superclasses are returned. Otherwise, only superclasses up
- * to but excluding the stop class are returned.
- * @return An array of zero or more superclass types.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given type to satisfy this request.
- */
- public IType[] getSuperClasses ( IType jdtType, String stopClassName )
- throws JavaModelException
- {
- ITypeHierarchy hierarchy = jdtType.newSupertypeHierarchy(monitor_);
- IType[] allSuperClasses = hierarchy.getAllSuperclasses(jdtType);
- List superClasses = new LinkedList();
- for (int i=0; i<allSuperClasses.length; i++)
- {
- if (allSuperClasses[i].getFullyQualifiedName().equals(stopClassName))
- break;
- superClasses.add(allSuperClasses[i]);
- }
- return (IType[])superClasses.toArray(new IType[0]);
- }
-
- /**
- * Extracts the qualified type name from a JDT signature.
- * @param signature The signature to examine.
- * @return The qualified type name from the signature.
- */
- public String getTypeNameFromSignature ( String signature )
- {
- String packageName = Signature.getSignatureQualifier(signature);
- String baseName = Signature.getSignatureSimpleName(signature);
- String typeName = (packageName.trim().equals("")?"":packageName+".") + baseName;
- return typeName;
- }
-
- /**
- * Attempts to resolve an unresolved type name in the
- * context of the given ancestor type (ie. the type
- * acting as the context within which the type name
- * should be resolved).
- * @param typeName The qualified name of the type to find.
- * @param ancestor The type providing the context within
- * which to look up the type.
- * @return The qualified name, or the original type name
- * if it could not be resolved.
- */
- public String resolveType ( String typeName, IType ancestor )
- throws JavaModelException
- {
- if (ancestor != null)
- {
- String[][] matches = ancestor.resolveType(typeName);
- if (matches != null && matches.length > 0)
- {
- StringBuffer qname = new StringBuffer();
- int n = matches[0].length;
- for (int j=0; j<n-1; j++)
- {
- qname.append(matches[0][j]).append(".");
- }
- if (n >= 0)
- {
- qname.append(matches[0][n-1]);
- }
- return qname.toString();
- }
- }
- return typeName;
- }
-
- /**
- * Attempts to find a JDT IType object for the given
- * resolved or unresolved type name in the context of
- * the given ancestor type (ie. the type acting as the
- * context within which the type name should be resolved).
- * @param typeName The qualified name of the type to find.
- * @param ancestor The type providing the context within
- * which to look up the type.
- * @return The IType object of the given qualified name,
- * or null if no type could be found in the workspace.
- */
- public IType findType ( String typeName, IType ancestor )
- throws JavaModelException
- {
- IType type = javaProject_.findType(typeName);
- if (type == null && ancestor != null)
- {
- String[][] matches = ancestor.resolveType(typeName);
- if (matches != null)
- {
- int i=0;
- while (type == null && i<matches.length)
- {
- StringBuffer qname = new StringBuffer();
- int n = matches[i].length;
- for (int j=0; j<n-1; j++)
- {
- qname.append(matches[i][j]).append(".");
- }
- if (n >= 0)
- {
- qname.append(matches[i][n-1]);
- }
- type = javaProject_.findType(qname.toString());
- i++;
- }
- }
- }
- return type;
- }
-
- /**
- * Finds all public, non-constructor IMethods belonging
- * to the given IType and adds them to the given list.
- * @param jdtType The type whose methods are to be harvested.
- * @param list The list to which the harvested methods will be added.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given type to satisfy this request.
- */
- public void harvestPublicMethods ( IType jdtType, List list )
- throws JavaModelException
- {
- IMethod[] methods = jdtType.getMethods();
- for (int m=0; m<methods.length; m++)
- {
- if (!methods[m].isConstructor() && Flags.isPublic(methods[m].getFlags()))
- {
- list.add(methods[m]);
- }
- }
- }
-
- /**
- * Finds all public IFields belonging
- * to the given IType and adds them to the given list.
- * @param jdtType The type whose fields are to be harvested.
- * @param list The list to which the harvested fields will be added.
- * @throws JavaModelException If the JDT engine fails to
- * analyze the given type to satisfy this request.
- */
- public void harvestPublicFields ( IType jdtType, List list )
- throws JavaModelException
- {
- IField[] fields = jdtType.getFields();
- for (int f=0; f<fields.length; f++)
- {
- if (Flags.isPublic(fields[f].getFlags()))
- {
- list.add(fields[f]);
- }
- }
- }
-
- /**
- * If the given method is a getter according to the Bean spec
- * (eg. "MyType getMyProperty ()" or "boolean isMyProperty ()")
- * return the corresponding bean property name (eg. "myProperty"),
- * otherwise, return null.
- * @param method The method to check.
- * @return The property name or none if the method is not a getter.
- */
- public String getGetterName ( IMethod method )
- {
- try
- {
- String methodName = method.getElementName();
- if (methodName.startsWith("get") && methodName.length() > 3)
- {
- String signature = method.getSignature();
- String returnTypeName = Signature.getReturnType(signature);
- //
- // Getters must not be void.
- //
- if (returnTypeName != null && returnTypeName != Signature.SIG_VOID)
- {
- String[] parameterSignatures = method.getParameterTypes();
- //
- // Non-indexed getters must have zero parameters.
- //
- if (parameterSignatures.length == 0)
- {
- return methodName.substring(3,4).toLowerCase() + methodName.substring(4);
- }
- //
- // Indexed getters must have exactly one parameter of type "int".
- //
- else if (parameterSignatures.length == 1)
- {
- String indexTypeName = getTypeNameFromSignature(parameterSignatures[0]);
- if (indexTypeName.equals("int"))
- {
- return methodName.substring(3,4).toLowerCase() + methodName.substring(4);
- }
- }
- }
- }
- else if (methodName.startsWith("is") && methodName.length() > 2)
- {
- String signature = method.getSignature();
- String returnTypeName = Signature.getReturnType(signature);
- //
- // "is" getters must be boolean.
- //
- if (Signature.SIG_BOOLEAN.equals(returnTypeName))
- {
- //
- // "is" getters must have no parameters.
- //
- if (method.getParameterTypes().length == 0)
- {
- return methodName.substring(2,3).toLowerCase() + methodName.substring(3);
- }
- }
- }
- }
- catch (JavaModelException e)
- {
- return null;
- }
- return null;
- }
-
- /**
- * If the given method is a setter according to the Bean spec
- * (eg. "void setMyProperty (MyType)" return the corresponding
- * bean property name (eg. "myProperty"), otherwise, return null.
- * @param method The method to check.
- * @return The property name or none if the method is not a setter.
- */
- public String getSetterName ( IMethod method )
- {
- try
- {
- String methodName = method.getElementName();
- if (methodName.startsWith("set") && methodName.length() > 3)
- {
- String signature = method.getSignature();
- String returnTypeName = Signature.getReturnType(signature);
- //
- // Setters must be void.
- //
- if (Signature.SIG_VOID.equals(returnTypeName))
- {
- String[] parameterSignatures = method.getParameterTypes();
- //
- // Non-indexed setters must have exactly one parameter.
- //
- if (parameterSignatures.length == 1)
- {
- return methodName.substring(3,4).toLowerCase() + methodName.substring(4);
- }
- //
- // Indexed setters must have exactly two parameters,
- // the first of which must be "int".
- //
- else if (parameterSignatures.length == 2)
- {
- if (Signature.SIG_INT.equals(parameterSignatures[0]))
- {
- return methodName.substring(3,4).toLowerCase() + methodName.substring(4);
- }
- }
- }
- }
- }
- catch (JavaModelException e)
- {
- return null;
- }
- return null;
- }
-
- /*
- * The Java project that governs the search scope for this resolver.
- */
- private IJavaProject javaProject_;
-
- /*
- * The progress monitor to use, if any.
- */
- private IProgressMonitor monitor_;
-
- /*
- * The set of Java wrapper types.
- */
- private static String[] wrapperTypes_ = {
- "java.lang.Character",
- "java.lang.Boolean",
- "java.lang.Byte",
- "java.lang.Short",
- "java.lang.Integer",
- "java.lang.Long",
- "java.lang.Float",
- "java.lang.Double"
- };
-
- /*
- * The set of Java primitive types.
- */
- private static String[] primitiveTypes_ = {
- "char",
- "boolean",
- "byte",
- "short",
- "int",
- "long",
- "float",
- "double"
- };
-
- /*
- * The set of JAX-RPC supported Java standard types,
- * excluding primitives and wrapper types.
- */
- private static String[] jaxrpcTypes_ = {
- "boolean",
- "byte",
- "short",
- "int",
- "long",
- "float",
- "double",
- "java.lang.String",
- "java.lang.Boolean",
- "java.lang.Byte",
- "java.lang.Short",
- "java.lang.Integer",
- "java.lang.Long",
- "java.lang.Float",
- "java.lang.Double",
- "java.util.Date",
- "java.util.Calendar",
- "java.math.BigInteger",
- "java.math.BigDecimal",
- "java.net.URI",
- "javax.xml.namespace.QName"
- };
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaBeanProperty.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaBeanProperty.java
deleted file mode 100644
index 529d5529d..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaBeanProperty.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-
-/**
- * @author cbrealey
- * This is a garden variety implementation of IJavaBeanProperty,
- * constructable by default and equipped with getters and setters
- * for the properties of IJavaBeanProperty.
- */
-public class JavaBeanProperty implements IJavaBeanProperty
-{
- private String name_;
- private boolean indexed_;
- private IMethod getter_;
- private IMethod setter_;
- private IMethod indexedGetter_;
- private IMethod indexedSetter_;
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty#getName()
- */
- public String getName ()
- {
- return name_;
- }
-
- /**
- * Sets the "name" property of this Java Bean Property descriptor.
- * @param name The string value to set.
- */
- public void setName ( String name )
- {
- name_ = name;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty#isIndexed()
- */
- public boolean isIndexed ()
- {
- return indexed_;
- }
-
- /**
- * Sets the "indexed" property of this Java Bean Property descriptor.
- * @param indexed The boolean value to set.
- */
- public void setIndexed ( boolean indexed )
- {
- indexed_ = indexed;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty#getGetter()
- */
- public IMethod getGetter ()
- {
- return getter_;
- }
-
- /**
- * Sets the "getter" property of this Java Bean Property descriptor.
- * @param getter The IMethod to set.
- */
- public void setGetter ( IMethod getter )
- {
- getter_ = getter;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty#getSetter()
- */
- public IMethod getSetter ()
- {
- return setter_;
- }
-
- /**
- * Sets the "setter" property of this Java Bean Property descriptor.
- * @param setter The IMethod to set.
- */
- public void setSetter ( IMethod setter )
- {
- setter_ = setter;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty#getIndexedGetter()
- */
- public IMethod getIndexedGetter ()
- {
- return indexedGetter_;
- }
-
- /**
- * Sets the "indexedGetter" property of this Java Bean Property descriptor.
- * @param indexedGetter The IMethod to set.
- */
- public void setIndexedGetter ( IMethod indexedGetter )
- {
- indexedGetter_ = indexedGetter;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty#getIndexedSetter()
- */
- public IMethod getIndexedSetter ()
- {
- return indexedSetter_;
- }
-
- /**
- * Sets the "indexedSetter" property of this Java Bean Property descriptor.
- * @param indexedSetter The IMethod to set.
- */
- public void setIndexedSetter ( IMethod indexedSetter )
- {
- indexedSetter_ = indexedSetter;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty#getDeclaringType()
- */
- public IType getDeclaringType ()
- {
- IMethod method = getGetter();
- if (method == null) method = getSetter();
- if (method == null) method = getIndexedGetter();
- if (method == null) method = getIndexedSetter();
- return method != null ? method.getDeclaringType() : null;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRule.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRule.java
deleted file mode 100644
index 39ffa312d..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRule.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-
-/**
- * A basic default implementation of IJavaWebServiceRule.
- */
-public class JavaWebServiceRule implements IJavaWebServiceRule
-{
- protected IJavaWebServiceRuleEngine engine_;
- protected List statusList_;
- protected int id_;
- protected String namespace_;
- protected String name_;
- protected String description_;
-
- protected JavaWebServiceRule ()
- {
- // Not publicly constructable.
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#getId()
- */
- public int getId ()
- {
- return id_;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#getNamespace()
- */
- public String getNamespace ()
- {
- return namespace_;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#getName()
- */
- public String getName ()
- {
- return name_;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#getDescription()
- */
- public String getDescription ()
- {
- return description_;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#init()
- */
- public void init ( IJavaWebServiceRuleEngine engine )
- {
- engine_ = engine;
- statusList_ = new LinkedList();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#visitClass(org.eclipse.jdt.core.IType, java.util.Stack)
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail )
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#visitException(org.eclipse.jdt.core.IField, java.util.Stack)
- */
- public void visitException ( IType jdtClass, Stack peanutTrail )
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#visitField(org.eclipse.jdt.core.IField, java.util.Stack)
- */
- public void visitField ( IField jdtField, Stack peanutTrail )
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#visitProperty(org.eclipse.jdt.core.IMethod, org.eclipse.jdt.core.IMethod, java.util.Stack)
- */
- public void visitProperty ( IJavaBeanProperty beanProperty, Stack peanutTrail )
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#visitMethod(org.eclipse.jdt.core.IMethod, java.util.Stack)
- */
- public void visitMethod ( IMethod jdtMethod, Stack peanutTrail )
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRule#getResults()
- */
- public IStatus getResults ()
- {
- IStatus status = null;
- if (statusList_.size() == 0)
- {
- status = new Status(IStatus.OK,"org.eclipse.jst.ws",0,"",null);
- }
- else
- {
- MultiStatus multiStatus = new MultiStatus("org.eclipse.jst.ws",0,"",null);
- Iterator i = statusList_.iterator();
- while (i.hasNext())
- {
- multiStatus.add((IStatus)i.next());
- }
- status = multiStatus;
- }
- return status;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRuleSet.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRuleSet.java
deleted file mode 100644
index f48771487..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/JavaWebServiceRuleSet.java
+++ /dev/null
@@ -1,285 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance;
-
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Set;
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-
-/**
- * @author cbrealey
- * This object manages a set of rules.
- * Rules in the set may be enabled or disabled.
- */
-public class JavaWebServiceRuleSet
-{
- private Set enabledRules_ = new HashSet();
- private Set disabledRules_ = new HashSet();
-
- /**
- * Creates a new, initially empty set of rules.
- */
- public JavaWebServiceRuleSet ()
- {
- // Nothing to do.
- }
-
- /**
- * Creates a new set of rules initialized with those
- * from the given array of <code>rules</code>.
- * @param rules An array of rules to add.
- */
- public JavaWebServiceRuleSet ( IJavaWebServiceRule[] rules )
- {
- addRules(rules);
- }
-
- /**
- * Adds a <code>rule</code> to the set.
- * Rules added to the set are initially enabled.
- * @param rule The rule to add.
- */
- public void addRule ( IJavaWebServiceRule rule )
- {
- enabledRules_.add(rule);
- }
-
- /**
- * Adds several <code>rules</code> to the set.
- * Rules added to the set are initially enabled.
- * @param rules The array of rules to add.
- */
- public void addRules ( IJavaWebServiceRule[] rules )
- {
- enabledRules_.addAll(Arrays.asList(rules));
- }
-
- /**
- * Marks the given <code>rule</code> as disabled or enabled.
- * This method has no effect if the rule is not already in
- * the set, in other words, this method will not have the
- * side effect of adding a rule to the set.
- * @param rule The rule to disable or enable.
- * @param disabled True to disable the rule or false to enable it.
- * @return True if a change in status was actually made.
- */
- public boolean setRuleDisabled ( IJavaWebServiceRule rule, boolean disabled )
- {
- if (disabled)
- {
- if (enabledRules_.remove(rule))
- {
- disabledRules_.add(rule);
- return true;
- }
- }
- else
- {
- if (disabledRules_.remove(rule))
- {
- enabledRules_.add(rule);
- return true;
- }
- }
- return false;
- }
-
- /**
- * Returns the number of rules in the set.
- * @return The number of rules in the set.
- */
- public int size ()
- {
- return enabledRules_.size() + disabledRules_.size();
- }
-
- /**
- * Returns the number of enabled rules in the set.
- * @return The number of enabled rules in the set.
- */
- public int numberEnabled ()
- {
- return enabledRules_.size();
- }
-
- /**
- * Returns the number of disabled rules in the set.
- * @return The number of disabled rules in the set.
- */
- public int numberDisabled ()
- {
- return disabledRules_.size();
- }
-
- /**
- * Returns an array of all currently enabled rules from the set.
- * @return An array of all currently enabled rules from the set.
- */
- public IJavaWebServiceRule[] getEnabledRules ()
- {
- return (IJavaWebServiceRule[])enabledRules_.toArray(new IJavaWebServiceRule[0]);
- }
-
- /**
- * Returns an array of all currently disabled rules from the set.
- * @return An array of all currently disabled rules from the set.
- */
- public IJavaWebServiceRule[] getDisabledRules ()
- {
- return (IJavaWebServiceRule[])disabledRules_.toArray(new IJavaWebServiceRule[0]);
- }
-
- /**
- * Initializes all rules in the set by calling
- * their init() methods with the given engine.
- * @param engine The engine initializing
- */
- public void init ( IJavaWebServiceRuleEngine engine )
- {
- Iterator i = enabledRules_.iterator();
- while (i.hasNext())
- {
- IJavaWebServiceRule rule = (IJavaWebServiceRule)i.next();
- rule.init(engine);
- }
- }
-
- /**
- * Visits the "visitClass" method of all rules in the set.
- * @param jdtClass The JDT IType being visited.
- * @param peanutTrail The stack of objects up to the root.
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail )
- {
- Iterator i = enabledRules_.iterator();
- while (i.hasNext())
- {
- IJavaWebServiceRule rule = (IJavaWebServiceRule)i.next();
- rule.visitClass(jdtClass,peanutTrail);
- }
- }
-
- /**
- * Visits the "visitException" method of all rules in the set.
- * @param jdtClass The JDT IType being visited.
- * @param peanutTrail The stack of objects up to the root.
- */
- public void visitException ( IType jdtClass, Stack peanutTrail )
- {
- Iterator i = enabledRules_.iterator();
- while (i.hasNext())
- {
- IJavaWebServiceRule rule = (IJavaWebServiceRule)i.next();
- rule.visitException(jdtClass,peanutTrail);
- }
- }
-
-
- /**
- * Visits the "visitField" method of all rules in the set.
- * @param jdtClass The JDT IField being visited.
- * @param peanutTrail The stack of objects up to the root.
- */
- public void visitField ( IField jdtField, Stack peanutTrail )
- {
- Iterator i = enabledRules_.iterator();
- while (i.hasNext())
- {
- IJavaWebServiceRule rule = (IJavaWebServiceRule)i.next();
- rule.visitField(jdtField,peanutTrail);
- }
- }
-
- /**
- * Visits the "visitProperty" method of all rules in the set.
- * @param jdtClass The IJavaBeanProperty being visited.
- * @param peanutTrail The stack of objects up to the root.
- */
- public void visitProperty ( IJavaBeanProperty beanProperty, Stack peanutTrail )
- {
- Iterator i = enabledRules_.iterator();
- while (i.hasNext())
- {
- IJavaWebServiceRule rule = (IJavaWebServiceRule)i.next();
- rule.visitProperty(beanProperty,peanutTrail);
- }
- }
-
- /**
- * Visits the "visitMethod" method of all rules in the set.
- * @param jdtClass The JDT IMethod being visited.
- * @param peanutTrail The stack of objects up to the root.
- */
- public void visitMethod ( IMethod jdtMethod, Stack peanutTrail )
- {
- Iterator i = enabledRules_.iterator();
- while (i.hasNext())
- {
- IJavaWebServiceRule rule = (IJavaWebServiceRule)i.next();
- rule.visitMethod(jdtMethod,peanutTrail);
- }
- }
-
- /**
- * Collects the results of all rules in the set together.
- * If one or more warnings or errors are found, returns
- * a status object whose top level message is the root
- * message passed to this message, otherwise, returns a
- * basic "OK" status.
- * @param rootMessage The warning/error message to act as
- * the root message if necessary (ie. if at least one rule
- * in the set reported at least one warning/error).
- * @return The collective status.
- */
- public IStatus getResults ( String rootMessage )
- {
- List list = new LinkedList();
- Iterator e = enabledRules_.iterator();
- while (e.hasNext())
- {
- IJavaWebServiceRule rule = (IJavaWebServiceRule)e.next();
- IStatus status = rule.getResults();
- if (!status.isOK())
- {
- list.add(status);
- }
- }
- if (list.size() > 0)
- {
- MultiStatus multiStatus = new MultiStatus("org.eclipse.jst.ws",0,rootMessage,null);
- Iterator l = list.iterator();
- while (l.hasNext())
- {
- IStatus status = (IStatus)l.next();
- multiStatus.addAll(status);
- }
- return multiStatus;
- }
- else
- {
- return new Status(IStatus.OK,"org.eclipse.jst.ws",0,"",null);
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0001.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0001.java
deleted file mode 100644
index 144107980..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0001.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance.rules;
-
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.jst.ws.internal.conformance.JDTResolver;
-import org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * This rule checks if a service class
- * is public default constructable.
- */
-public class JAXRPCRule0001 extends JavaWebServiceRule
-{
- /**
- * Creates a new instance of this rule.
- */
- public JAXRPCRule0001 ()
- {
- id_ = 1;
- namespace_ = "http://www.eclipse.org/webtools/org.eclipse.jst.ws/jaxrpc/1.1";
- name_ = null;
- description_ = null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitClass(org.eclipse.jdt.core.IType, java.util.Stack)
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail )
- {
- // An empty peanut trail implies this is the root
- // class or JAX-RPC service class.
- if (peanutTrail.size() == 0)
- {
- try
- {
- JDTResolver resolver = engine_.getJDTResolver();
- if (!resolver.isConstructable(jdtClass) || resolver.isInterface(jdtClass) || resolver.isAbstract(jdtClass))
- {
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_RULE_0001,jdtClass.getFullyQualifiedName());
- statusList_.add(new Status(IStatus.WARNING,"org.eclipse.jst.ws",0,message,null));
- }
- }
- catch (JavaModelException e)
- {
- statusList_.add(new Status(IStatus.ERROR,"org.eclipse.jst.ws",0,"Internal error",e));
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0002.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0002.java
deleted file mode 100644
index 7049c3356..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0002.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance.rules;
-
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.jst.ws.internal.conformance.JDTResolver;
-import org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * This rule checks if a value type class
- * is public default constructable.
- */
-public class JAXRPCRule0002 extends JavaWebServiceRule
-{
- /**
- * Creates a new instance of this rule.
- */
- public JAXRPCRule0002 ()
- {
- id_ = 2;
- namespace_ = "http://www.eclipse.org/webtools/org.eclipse.jst.ws/jaxrpc/1.1";
- name_ = null;
- description_ = null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitClass(org.eclipse.jdt.core.IType, java.util.Stack)
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail )
- {
- // An empty peanut trail implies this is the root class
- // root class or JAX-RPC service class, whereas a non-empty
- // peanut trail implies this is a class from a method, field
- // or property signature. In the former case, remember the
- // qualified name of the type just in case we need it for the
- // latter case.
- if (peanutTrail.size() == 0)
- {
- serviceClassName_ = jdtClass.getFullyQualifiedName();
- }
- else
- {
- try
- {
- JDTResolver resolver = engine_.getJDTResolver();
- String qname = jdtClass.getFullyQualifiedName();
- if (!resolver.isStandardType(qname))
- {
- if (!resolver.isConstructable(jdtClass) || resolver.isInterface(jdtClass) || resolver.isAbstract(jdtClass))
- {
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_RULE_0002,qname,serviceClassName_);
- statusList_.add(new Status(IStatus.WARNING,"org.eclipse.jst.ws",0,message,null));
- }
- }
- }
- catch (JavaModelException e)
- {
- statusList_.add(new Status(IStatus.ERROR,"org.eclipse.jst.ws",0,"Internal error",e));
- }
- }
- }
-
- private String serviceClassName_;
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0003.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0003.java
deleted file mode 100644
index bc65bcda5..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0003.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance.rules;
-
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine;
-import org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * This rule verifies that a service class has no overloaded methods.
- */
-public class JAXRPCRule0003 extends JavaWebServiceRule
-{
- /**
- * Creates a new instance of this rule.
- */
- public JAXRPCRule0003 ()
- {
- id_ = 3;
- namespace_ = "http://www.eclipse.org/webtools/org.eclipse.jst.ws/jaxrpc/1.1";
- name_ = null;
- description_ = null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#init(org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine)
- */
- public void init ( IJavaWebServiceRuleEngine engine )
- {
- super.init(engine);
- methodNames_ = new HashMap();
- overloadedMethodNames_ = new HashSet();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitClass(org.eclipse.jdt.core.IType, java.util.Stack)
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail )
- {
- //
- // An empty peanut trail implies this is the root
- // class, aka. JAX-RPC service class. Put aside
- // the class name in case visitMethod() needs it.
- //
- if (peanutTrail.size() == 0)
- {
- serviceClassName_ = jdtClass.getFullyQualifiedName();
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitMethod(org.eclipse.jdt.core.IMethod, java.util.Stack)
- */
- public void visitMethod ( IMethod jdtMethod, Stack peanutTrail )
- {
- //
- // A peanut trail of length one implies this is a method
- // belonging to the root class, aka. JAX-RPC service class.
- //
- if (peanutTrail.size() == 1)
- {
- try
- {
- //
- // If we have encountered this method already but haven't
- // reported the overload condition, report it.
- //
- String methodName = jdtMethod.getElementName();
- String firstParameterSignature = (String)methodNames_.get(methodName);
- String thisParameterSignature = flattenedSignatureOf(jdtMethod);
- if (thisParameterSignature != null)
- {
- if (firstParameterSignature != null)
- {
- //
- // If we have encountered this method's name already,
- // but have not yet determined if it is overloaded,
- // then compare this method's parameter signature with
- // that of the "first signature" of the method name.
- // The moment we find a second signature for a given
- // method name, we have an overload condition.
- //
- if (!overloadedMethodNames_.contains(methodName) && !thisParameterSignature.equals(firstParameterSignature))
- {
- overloadedMethodNames_.add(methodName);
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_RULE_0003,methodName,serviceClassName_);
- statusList_.add(new Status(IStatus.WARNING,"org.eclipse.jst.ws",0,message,null));
- }
- }
- else
- {
- //
- // If we have recorded no signature for the given method
- // name (ie. we have not encountered the method name yet),
- // then record this one. Any "first signature" will do.
- //
- methodNames_.put(methodName,thisParameterSignature);
- }
- }
- }
- catch (JavaModelException e)
- {
- // Do nothing.
- }
- }
- }
-
- /*
- * Grabs the types of the parameters of the given method
- * and flattens then into a single string sufficient to
- * distinguish between overloaded vs. overridden methods.
- */
- private String flattenedSignatureOf ( IMethod jdtMethod )
- throws JavaModelException
- {
- String[] signatures = engine_.getJDTResolver().getParameterTypeNames(jdtMethod);
- StringBuffer flattenedSignature = new StringBuffer();
- for (int s=0; s<signatures.length; s++)
- {
- flattenedSignature.append(signatures[s]).append(",");
- }
- return flattenedSignature.toString();
- }
-
- private Map methodNames_;
- private Set overloadedMethodNames_;
- private String serviceClassName_;
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0005.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0005.java
deleted file mode 100644
index c66cf7a51..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0005.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance.rules;
-
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine;
-import org.eclipse.jst.ws.internal.conformance.JDTResolver;
-import org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * This rule verifies that the methods of a service class
- * uses only JAX-RPC supported types.
- */
-public class JAXRPCRule0005 extends JavaWebServiceRule
-{
- /**
- * Creates a new instance of this rule.
- */
- public JAXRPCRule0005 ()
- {
- id_ = 5;
- namespace_ = "http://www.eclipse.org/webtools/org.eclipse.jst.ws/jaxrpc/1.1";
- name_ = null;
- description_ = null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#init(org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine)
- */
- public void init ( IJavaWebServiceRuleEngine engine )
- {
- super.init(engine);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitClass(org.eclipse.jdt.core.IType, java.util.Stack)
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail )
- {
- //
- // An empty peanut trail implies this is the root
- // class, aka. JAX-RPC service class. Put aside
- // the class name in case visitMethod() needs it.
- //
- if (peanutTrail.size() == 0)
- {
- serviceClassName_ = jdtClass.getFullyQualifiedName();
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitMethod(org.eclipse.jdt.core.IMethod, java.util.Stack)
- */
- public void visitMethod ( IMethod jdtMethod, Stack peanutTrail )
- {
- //
- // A peanut trail of length one implies this is a method
- // belonging to the root class, aka. JAX-RPC service class.
- //
- if (peanutTrail.size() == 1)
- {
- try
- {
- String methodName = jdtMethod.getElementName();
- //
- // Check the method return type for compliance.
- // Any Java primitive or standard ("java." or "javax.") type
- // that is not supported by JAX-RPC will get flagged.
- // Any non-primitive or non-standard type is presumed to be a
- // potential value type and is bypassed since the rule engine
- // will navigate into the potential value type's class.
- //
- JDTResolver resolver = engine_.getJDTResolver();
- String returnTypeName = resolver.getReturnTypeName(jdtMethod);
- if ((resolver.isPrimitiveType(returnTypeName) || resolver.isStandardType(returnTypeName)) && !resolver.isJAXRPCStandardType(returnTypeName))
- {
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_RULE_0005,new String[] {methodName,serviceClassName_,returnTypeName});
- statusList_.add(new Status(IStatus.WARNING,"org.eclipse.jst.ws",0,message,null));
- }
- //
- // Check the method parameter types for compliance.
- // Same comment as above, only applied to the method's parameters.
- //
- String[] parameterTypeNames = resolver.getParameterTypeNames(jdtMethod);
- for (int p=0; p<parameterTypeNames.length; p++)
- {
- if ((resolver.isPrimitiveType(parameterTypeNames[p]) || resolver.isStandardType(parameterTypeNames[p])) && !resolver.isJAXRPCStandardType(parameterTypeNames[p]))
- {
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_RULE_0005,new String[] {methodName,serviceClassName_,parameterTypeNames[p]});
- statusList_.add(new Status(IStatus.WARNING,"org.eclipse.jst.ws",0,message,null));
- }
- }
- }
- catch (JavaModelException e)
- {
- // Do nothing.
- }
- }
- }
-
- private String serviceClassName_;
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0006.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0006.java
deleted file mode 100644
index 407afd319..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRule0006.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance.rules;
-
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.ws.internal.WSPluginMessages;
-import org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty;
-import org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine;
-import org.eclipse.jst.ws.internal.conformance.JDTResolver;
-import org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * This rule verifies that the fields and properties of a
- * value type class uses only JAX-RPC supported types.
- */
-public class JAXRPCRule0006 extends JavaWebServiceRule
-{
- /**
- * Creates a new instance of this rule.
- */
- public JAXRPCRule0006 ()
- {
- id_ = 6;
- namespace_ = "http://www.eclipse.org/webtools/org.eclipse.jst.ws/jaxrpc/1.1";
- name_ = null;
- description_ = null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#init(org.eclipse.jst.ws.internal.conformance.IJavaWebServiceRuleEngine)
- */
- public void init ( IJavaWebServiceRuleEngine engine )
- {
- super.init(engine);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitClass(org.eclipse.jdt.core.IType, java.util.Stack)
- */
- public void visitClass ( IType jdtClass, Stack peanutTrail )
- {
- //
- // An empty peanut trail implies this is the root
- // class, aka. JAX-RPC service class. Put aside
- // the class name in case visitMethod() needs it.
- //
- if (peanutTrail.size() == 0)
- {
- serviceClassName_ = jdtClass.getFullyQualifiedName();
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitMethod(org.eclipse.jdt.core.IMethod, java.util.Stack)
- */
- public void visitField ( IField jdtField, Stack peanutTrail )
- {
- //
- // A peanut trail of length greater than one implies this is a
- // field belonging to a class other than the root (aka. JAX-RPC
- // service) class, namely a presumed value type class.
- //
- if (peanutTrail.size() > 1)
- {
- try
- {
- //
- // Any Java primitive or standard ("java." or "javax.") type
- // that is not supported by JAX-RPC will get flagged.
- // Any non-primitive or non-standard type is presumed to be a
- // potential value type and is bypassed since the rule engine
- // will navigate into the potential value type's class.
- //
- JDTResolver resolver = engine_.getJDTResolver();
- String fieldTypeName = resolver.getFieldTypeName(jdtField);
- if ((resolver.isPrimitiveType(fieldTypeName) || resolver.isStandardType(fieldTypeName)) && !resolver.isJAXRPCStandardType(fieldTypeName))
- {
- //
- // The field pretty much MUST be declared in a type or
- // we would not have gotten here. Still, best to be safe.
- //
- IType valueType = jdtField.getDeclaringType();
- if (valueType != null)
- {
- String valueTypeClassName = valueType.getFullyQualifiedName();
- String fieldName = jdtField.getElementName();
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_RULE_0006,new String[] {fieldName,valueTypeClassName,serviceClassName_,fieldTypeName});
- statusList_.add(new Status(IStatus.WARNING,"org.eclipse.jst.ws",0,message,null));
- }
- }
- }
- catch (JavaModelException e)
- {
- // Do nothing.
- }
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.conformance.JavaWebServiceRule#visitProperty(org.eclipse.jst.ws.internal.conformance.IJavaBeanProperty, java.util.Stack)
- */
- public void visitProperty ( IJavaBeanProperty property, Stack peanutTrail )
- {
- //
- // A peanut trail of length greater than one implies this is a
- // property belonging to a class other than the root (aka. JAX-RPC
- // service) class, namely a presumed value type class.
- //
- if (peanutTrail.size() > 1)
- {
- try
- {
- //
- // Any Java primitive or standard ("java." or "javax.") type
- // that is not supported by JAX-RPC will get flagged.
- // Any non-primitive or non-standard type is presumed to be a
- // potential value type and is bypassed since the rule engine
- // will navigate into the potential value type's class.
- //
- JDTResolver resolver = engine_.getJDTResolver();
- String propertyTypeName = resolver.getPropertyTypeName(property);
- if ((resolver.isPrimitiveType(propertyTypeName) || resolver.isStandardType(propertyTypeName)) && !resolver.isJAXRPCStandardType(propertyTypeName))
- {
- //
- // The field pretty much MUST be declared in a type or
- // we would not have gotten here. Still, best to be safe.
- //
- IType valueType = property.getDeclaringType();
- if (valueType != null)
- {
- String valueTypeClassName = valueType.getFullyQualifiedName();
- String propertyName = property.getName();
- String message = NLS.bind(WSPluginMessages.MSG_JAXRPC11_RULE_0006,new String[] {propertyName,valueTypeClassName,serviceClassName_,propertyTypeName});
- statusList_.add(new Status(IStatus.WARNING,"org.eclipse.jst.ws",0,message,null));
- }
- }
- }
- catch (JavaModelException e)
- {
- // Do nothing.
- }
- }
- }
-
- private String serviceClassName_;
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRuleSetFactory.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRuleSetFactory.java
deleted file mode 100644
index 0f1c7a63b..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/conformance/rules/JAXRPCRuleSetFactory.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060419 132905 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.conformance.rules;
-
-import org.eclipse.jst.ws.internal.conformance.JavaWebServiceRuleSet;
-
-/**
- * A factory that produces a JavaWebServiceRuleSet
- * for the JAX-RPC 1.1 specification.
- */
-public class JAXRPCRuleSetFactory
-{
- private JAXRPCRuleSetFactory ()
- {
- // Not publicly constructable.
- }
-
- /**
- * Returns a set of rules for analyzing Java classes
- * for compliance to the rules of JAX-RPC 1.1.
- * @return A set of JAX-RPC 1.1 analysis rules.
- */
- public static JavaWebServiceRuleSet newRuleSet ()
- {
- JavaWebServiceRuleSet set = new JavaWebServiceRuleSet();
- set.addRule(new JAXRPCRule0001());
- set.addRule(new JAXRPCRule0002());
- set.addRule(new JAXRPCRule0003());
- set.addRule(new JAXRPCRule0005());
- set.addRule(new JAXRPCRule0006());
- return set;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentScenarioContext.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentScenarioContext.java
deleted file mode 100644
index f2defd083..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentScenarioContext.java
+++ /dev/null
@@ -1,367 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.context;
-
-import java.util.Enumeration;
-import java.util.Vector;
-
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-import com.ibm.icu.util.StringTokenizer;
-
-
-public class PersistentScenarioContext extends PersistentContext implements ScenarioContext
-{
- public PersistentScenarioContext()
- {
- super(WebServicePlugin.getInstance());
- }
-
- public void load()
- {
- ScenarioDefaults defaults = new ScenarioDefaults();
- String[] ids = defaults.getWebServiceTestTypes();
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < ids.length; i++)
- {
- if (i != 0) sb.append(",");
- sb.append(ids[i]);
- }
- String nonJavaTestService = defaults.getNonJavaTestServiceDefault();
- setDefaultStringIfNoDefault(PREFERENCE_WEBSERVICE_TEST_TYPES, sb.toString());
- setDefaultStringIfNoDefault(PREFERENCE_NON_JAVA_TEST_SERVICE, nonJavaTestService);
-
- setDefaultStringIfNoDefault(PREFERENCE_CLIENT_WEBSERVICE_TYPE, defaults.webserviceClientTypeDefault() );
- setDefaultStringIfNoDefault(PREFERENCE_WEBSERVICE_TYPE, defaults.webserviceTypeIdDefault() );
- setDefaultBooleanIfNoDefault(PREFERENCE_GENERATE_PROXY, defaults.generateProxyDefault() );
- setDefaultBooleanIfNoDefault(PREFERENCE_LAUNCH_WEBSERVICE_EXPLORER, defaults.launchWebserviceExplorerDefault() );
- setDefaultBooleanIfNoDefault(PREFERENCE_INSTALL_WEBSERVICE, defaults.installWebserviceDefault() );
- setDefaultBooleanIfNoDefault(PREFERENCE_INSTALL_CLIENT, defaults.installClientDefault() );
- setDefaultBooleanIfNoDefault(PREFERENCE_START_WEBSERVICE, defaults.startWebserviceDefault() );
- setDefaultBooleanIfNoDefault(PREFERENCE_TEST_WEBSERVICE, defaults.testWebserviceDefault() );
- setDefaultBooleanIfNoDefault(PREFERENCE_MONITOR_WEBSERVICE, defaults.getMonitorWebServiceDefault());
- setDefaultBooleanIfNoDefault(PREFERENCE_LAUNCH_SAMPLE, defaults.launchSample() );
-
- setDefaultIntIfNoDefault(PREFERENCE_GENERATE_WEBSERVICE, defaults.serviceGenerationDefault()); //jvh
- setDefaultIntIfNoDefault(PREFERENCE_GENERATE_CLIENT, defaults.clientGenerationDefault());
- }
-
- public String[] getNonJavaTestService()
- {
- WebServiceTestRegistry registry = WebServiceTestRegistry.getInstance();
- String[] testTypes = getWebServiceTestTypes();
- Vector newTestCases = new Vector();
- for (int i = 0; i < testTypes.length; i++)
- {
- WebServiceTestExtension wse = (WebServiceTestExtension) registry
- .getWebServiceExtensionsByName(testTypes[i]);
- if (wse.testWSDL())
- newTestCases.addElement(testTypes[i]);
- }
- String[] wsdlTestArray = new String[newTestCases.size()];
- Enumeration e = newTestCases.elements();
- int i = 0;
- while(e.hasMoreElements()){
- wsdlTestArray[i] = (String)e.nextElement();
- i++;
- }
-
- return wsdlTestArray;
- }
-
- public void setWebServiceTestTypes(String[] ids)
- {
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < ids.length; i++)
- {
- if (i != 0) sb.append(",");
- sb.append(ids[i]);
- }
- setValue(PREFERENCE_WEBSERVICE_TEST_TYPES, sb.toString());
- }
-
- public String[] getWebServiceTestTypes()
- {
- StringTokenizer st = new StringTokenizer(
- getValueAsString(PREFERENCE_WEBSERVICE_TEST_TYPES), ",");
- String[] s = new String[st.countTokens()];
- for (int i = 0; i < s.length; i++)
- s[i] = st.nextToken();
- return s;
- }
-
- public ScenarioContext copy()
- {
- TransientScenarioContext context = new TransientScenarioContext();
- context.setWebServiceTestTypes(getWebServiceTestTypes());
- context.setNonJavaTestService(getNonJavaTestService());
-
- context.setClientWebServiceType( getClientWebServiceType() );
- context.setWebServiceType( getWebServiceType() );
- context.setLaunchWebServiceExplorer( getLaunchWebServiceExplorer() );
- context.setStartWebService( getStartWebService() );
- context.setGenerateProxy( getGenerateProxy() );
- context.setTestWebService( getTestWebService() );
- context.setMonitorWebService(getMonitorWebService());
- context.setLaunchSampleEnabled( isLaunchSampleEnabled() );
-
- return context;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getClientWebServiceType()
- */
- public String getClientWebServiceType()
- {
- return getValueAsString(PREFERENCE_CLIENT_WEBSERVICE_TYPE);
- }
-
- public String getClientWebServiceTypeDefault()
- {
- return getDefaultString(PREFERENCE_CLIENT_WEBSERVICE_TYPE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getGenerateProxy()
- */
- public boolean getGenerateProxy()
- {
- return getValueAsBoolean(PREFERENCE_GENERATE_PROXY);
- }
-
- public boolean getGenerateProxyDefault()
- {
- return getDefaultBoolean(PREFERENCE_GENERATE_PROXY);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getLaunchWebServiceExplorer()
- */
- public boolean getLaunchWebServiceExplorer()
- {
- return getValueAsBoolean(PREFERENCE_LAUNCH_WEBSERVICE_EXPLORER);
- }
-
- public boolean getLaunchWebServiceExplorerDefault()
- {
- return getDefaultBoolean(PREFERENCE_LAUNCH_WEBSERVICE_EXPLORER);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getStartWebService()
- */
- public boolean getStartWebService()
- {
- return getValueAsBoolean(PREFERENCE_START_WEBSERVICE);
- }
-
- public boolean getStartWebServiceDefault()
- {
- return getDefaultBoolean(PREFERENCE_START_WEBSERVICE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getInstallWebService()
- */
- public boolean getInstallWebService()
- {
- return getValueAsBoolean(PREFERENCE_INSTALL_WEBSERVICE);
- }
-
- public boolean getInstallWebServiceDefault()
- {
- return getDefaultBoolean(PREFERENCE_INSTALL_WEBSERVICE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getInstallWebService()
- */
- public boolean getInstallClient()
- {
- return getValueAsBoolean(PREFERENCE_INSTALL_CLIENT);
- }
-
- public boolean getInstallClientDefault()
- {
- return getDefaultBoolean(PREFERENCE_INSTALL_CLIENT);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getTestWebService()
- */
- public boolean getTestWebService()
- {
- return getValueAsBoolean(PREFERENCE_TEST_WEBSERVICE);
- }
-
- public boolean getTestWebServiceDefault()
- {
- return getDefaultBoolean(PREFERENCE_TEST_WEBSERVICE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getWebServiceType()
- */
- public String getWebServiceType()
- {
- return getValueAsString(PREFERENCE_WEBSERVICE_TYPE);
- }
-
- public String getWebServiceTypeDefault()
- {
- return getDefaultString(PREFERENCE_WEBSERVICE_TYPE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setClientWebServiceType(java.lang.String)
- */
- public void setClientWebServiceType(String value)
- {
- setValue( PREFERENCE_CLIENT_WEBSERVICE_TYPE, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setGenerateProxy(boolean)
- */
- public void setGenerateProxy(boolean value)
- {
- setValue( PREFERENCE_GENERATE_PROXY, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setLaunchWebServiceExplorer(boolean)
- */
- public void setLaunchWebServiceExplorer(boolean value)
- {
- setValue( PREFERENCE_LAUNCH_WEBSERVICE_EXPLORER, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setInstallWebService(boolean)
- */
- public void setInstallWebService(boolean value)
- {
- setValue( PREFERENCE_INSTALL_WEBSERVICE, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setInstallWebService(boolean)
- */
- public void setInstallClient(boolean value)
- {
- setValue( PREFERENCE_INSTALL_CLIENT, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setStartWebService(boolean)
- */
- public void setStartWebService(boolean value)
- {
- setValue( PREFERENCE_START_WEBSERVICE, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setTestWebService(boolean)
- */
- public void setTestWebService(boolean value)
- {
- setValue( PREFERENCE_TEST_WEBSERVICE, value);
- }
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setWebServiceType(java.lang.String)
- */
- public void setWebServiceType(String value)
- {
- setValue( PREFERENCE_WEBSERVICE_TYPE, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getMonitorWebService()
- */
- public boolean getMonitorWebService()
- {
- return getValueAsBoolean(PREFERENCE_MONITOR_WEBSERVICE);
- }
-
- public boolean getMonitorWebServiceDefault()
- {
- return getDefaultBoolean(PREFERENCE_MONITOR_WEBSERVICE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setMonitorWebService(boolean)
- */
- public void setMonitorWebService(boolean value)
- {
- setValue(PREFERENCE_MONITOR_WEBSERVICE, value);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getLaunchSampleEnabledDefault()
- */
- public boolean getLaunchSampleEnabledDefault()
- {
- return getDefaultBoolean(PREFERENCE_LAUNCH_SAMPLE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#isLaunchSampleEnabled()
- */
- public boolean isLaunchSampleEnabled()
- {
- return getValueAsBoolean(PREFERENCE_LAUNCH_SAMPLE);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setLaunchSampleEnabled(boolean)
- */
- public void setLaunchSampleEnabled(boolean value)
- {
- setValue( PREFERENCE_LAUNCH_SAMPLE, value);
- }
-
- //jvh
- public int getGenerateWebService()
- {
- return getValueAsInt(PREFERENCE_GENERATE_WEBSERVICE);
- }
-
- public int getGenerateWebServiceDefault()
- {
- return getDefaultInt(PREFERENCE_GENERATE_WEBSERVICE);
- }
-
- public void setGenerateWebService(int value)
- {
- setValue(PREFERENCE_GENERATE_WEBSERVICE, value);
- }
-
- public int getGenerateClientDefault()
- {
- return getDefaultInt(PREFERENCE_GENERATE_CLIENT);
- }
-
- public int getGenerateClient()
- {
- return getValueAsInt(PREFERENCE_GENERATE_CLIENT);
- }
-
- public void setGenerateClient(int value)
- {
- setValue(PREFERENCE_GENERATE_CLIENT, value);
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentUDDIPreferenceContext.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentUDDIPreferenceContext.java
deleted file mode 100644
index f5888125b..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/PersistentUDDIPreferenceContext.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.context;
-
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-
-
-public class PersistentUDDIPreferenceContext extends PersistentContext implements UDDIPreferenceContext
-{
- public PersistentUDDIPreferenceContext()
- {
- super(WebServicePlugin.getInstance());
- }
-
- public void load()
- {
- setDefault(PREFERENCE_UDDI_CAT_DATA_COLUMN_DELIMITER, UDDIPreferenceDefaults.getUddiCatDataColumnDelimiter());
- setDefault(PREFERENCE_UDDI_CAT_DATA_STRING_DELIMITER, UDDIPreferenceDefaults.getUddiCatDataStringDelimiter());
- }
-
- public void setUddiCatDataColumnDelimiter(String delimiter)
- {
- setValue(PREFERENCE_UDDI_CAT_DATA_COLUMN_DELIMITER, delimiter);
- }
-
- public String getUddiCatDataColumnDelimiter()
- {
- return getValueAsString(PREFERENCE_UDDI_CAT_DATA_COLUMN_DELIMITER);
- }
-
- public void setUddiCatDataStringDelimiter(String delimiter)
- {
- setValue(PREFERENCE_UDDI_CAT_DATA_STRING_DELIMITER, delimiter);
- }
-
- public String getUddiCatDataStringDelimiter()
- {
- return getValueAsString(PREFERENCE_UDDI_CAT_DATA_STRING_DELIMITER);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioContext.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioContext.java
deleted file mode 100644
index 6f8725edd..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioContext.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.context;
-
-public interface ScenarioContext
-{
- public final String PREFERENCE_WEBSERVICE_TEST_TYPES = "webServiceTestTypes";
-
- public final String PREFERENCE_NON_JAVA_TEST_SERVICE= "nonJavaTestService";
-
- public final String PREFERENCE_WEBSERVICE_TYPE = "webServiceType";
-
- public final String PREFERENCE_START_WEBSERVICE = "startWebService";
-
- public final String PREFERENCE_INSTALL_WEBSERVICE = "installWebService";
-
- public final String PREFERENCE_INSTALL_CLIENT = "installClient";
-
- public final String PREFERENCE_LAUNCH_WEBSERVICE_EXPLORER = "launchWebServiceExplorer";
-
- public final String PREFERENCE_GENERATE_PROXY = "generateProxy";
-
- public final String PREFERENCE_CLIENT_WEBSERVICE_TYPE = "clientWebServiceType";
-
- public final String PREFERENCE_TEST_WEBSERVICE = "testWebService";
-
- public final String PREFERENCE_MONITOR_WEBSERVICE = "monitorWebService";
-
- public final String PREFERENCE_LAUNCH_SAMPLE = "launchSample";
-
- public final String PREFERENCE_GENERATE_WEBSERVICE = "generateWebService"; //jvh
- public final String PREFERENCE_GENERATE_CLIENT = "generateClient"; //jvh
-
- public final static int WS_TEST=0;
- public final static int WS_START=1;
- public final static int WS_INSTALL=2;
- public final static int WS_DEPLOY=3;
- public final static int WS_ASSEMBLE=4;
- public final static int WS_DEVELOP=5;
- public final static int WS_NONE=6;
-
- public String[] getWebServiceTestTypes();
- public void setWebServiceTestTypes(String[] testTypes);
-
- public String[] getNonJavaTestService();
-
- public String getWebServiceType();
- public String getWebServiceTypeDefault();
- public void setWebServiceType( String value );
-
- public boolean getInstallWebService();
- public boolean getInstallWebServiceDefault();
- public void setInstallWebService( boolean value );
-
- public boolean getInstallClient();
- public boolean getInstallClientDefault();
- public void setInstallClient( boolean value );
-
- public boolean getStartWebService();
- public boolean getStartWebServiceDefault();
- public void setStartWebService( boolean value );
-
- public boolean getLaunchWebServiceExplorer();
- public boolean getLaunchWebServiceExplorerDefault();
- public void setLaunchWebServiceExplorer( boolean value );
-
- public boolean getGenerateProxy();
- public boolean getGenerateProxyDefault();
- public void setGenerateProxy( boolean value );
-
- public String getClientWebServiceType();
- public String getClientWebServiceTypeDefault();
- public void setClientWebServiceType( String value );
-
- public boolean getTestWebService();
- public boolean getTestWebServiceDefault();
- public void setTestWebService( boolean value );
-
- public boolean getMonitorWebService();
- public boolean getMonitorWebServiceDefault();
- public void setMonitorWebService(boolean value);
-
- public boolean isLaunchSampleEnabled();
- public boolean getLaunchSampleEnabledDefault();
- public void setLaunchSampleEnabled( boolean value );
-
- public int getGenerateWebServiceDefault();
- public int getGenerateWebService();
- public void setGenerateWebService(int value);
-
- public int getGenerateClientDefault();
- public int getGenerateClient();
- public void setGenerateClient(int value);
-
- public ScenarioContext copy();
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioDefaults.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioDefaults.java
deleted file mode 100644
index 2ed3f5643..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/ScenarioDefaults.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.context;
-
-
-import org.eclipse.jst.ws.internal.data.LabelsAndIds;
-import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
-
-
-
-public class ScenarioDefaults
-{
-
-
- public String[] getWebServiceTestTypes()
- {
- //we will set the home grown sample as the first choice
- WebServiceTestRegistry testRegistry = WebServiceTestRegistry.getInstance();
-
- LabelsAndIds labelsandids = testRegistry.getLabelsAndIDs();
- String[] labels = labelsandids.getLabels_();
- String[] ids = labelsandids.getIds_();
-
- String[] newNames = new String[labels.length];
- int index = -1;
- for(int i = 0;i<ids.length;i++){
- if(ids[i].equals("org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTest"))
- index = i;
- }
- if(index != -1){
- newNames[0] = labels[index];
- int j = 1;
- for(int i = 0;i<labels.length;i++){
- if(i != index){
- newNames[j] = labels[i];
- j++;
- }
- }
- }
- else return labels;
-
- return newNames;
- }
-
- public String getNonJavaTestServiceDefault()
- {
- return "Web Services Explorer";
- }
-
- public String webserviceTypeIdDefault()
- {
- return "0/org.eclipse.jst.ws.wsImpl.java";
- }
-
- public int serviceGenerationDefault()
- {
- return ScenarioContext.WS_START;
- }
-
- public int clientGenerationDefault()
- {
- return ScenarioContext.WS_NONE;
- }
-
- public boolean startWebserviceDefault()
- {
- return true;
- }
-
- public boolean installWebserviceDefault()
- {
- return true;
- }
-
- public boolean installClientDefault()
- {
- return true;
- }
-
- public boolean launchWebserviceExplorerDefault()
- {
- return false;
- }
-
- public boolean generateProxyDefault()
- {
- return false;
- }
-
- public String webserviceClientTypeDefault()
- {
- return "org.eclipse.jst.ws.client.type.java";
- }
-
- public boolean testWebserviceDefault()
- {
- return false;
- }
-
- public boolean getMonitorWebServiceDefault()
- {
- return false;
- }
-
- public boolean launchSample()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/TransientScenarioContext.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/TransientScenarioContext.java
deleted file mode 100644
index d1701982e..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/TransientScenarioContext.java
+++ /dev/null
@@ -1,293 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.context;
-
-public class TransientScenarioContext implements ScenarioContext
-{
- private String[] webServiceTestTypes;
- private String[] nonJavaTestService;
- private String webServiceType_;
- private boolean installWebService_;
- private boolean installClient_;
- private boolean startWebService_;
- private boolean launchWebServiceExplorer_;
- private boolean generateProxy_;
- private String clientWebServiceType_;
- private boolean testWebService_;
- private boolean monitorWebService;
- private boolean launchSample_;
- private int generateWebService_; //jvh
- private int generateClient_; //jvh
-
- private ScenarioDefaults defaults = new ScenarioDefaults();
-
- public TransientScenarioContext () {}
-
- public String[] getNonJavaTestService()
- {
- return nonJavaTestService;
- }
-
- public void setNonJavaTestService(String[] nonJavaTestService)
- {
- this.nonJavaTestService = nonJavaTestService;
- }
-
- public void setWebServiceTestTypes(String[] webServiceTestTypes)
- {
- this.webServiceTestTypes = webServiceTestTypes;
- }
-
- public String[] getWebServiceTestTypes()
- {
- return webServiceTestTypes;
- }
-
- public ScenarioContext copy() {
- TransientScenarioContext context = new TransientScenarioContext();
- context.setWebServiceTestTypes(getWebServiceTestTypes());
- context.setNonJavaTestService(getNonJavaTestService());
-
- context.setWebServiceType( getWebServiceType() );
- context.setClientWebServiceType( getClientWebServiceType() );
- context.setGenerateProxy( getGenerateProxy() );
- context.setLaunchWebServiceExplorer( getLaunchWebServiceExplorer() );
- context.setInstallWebService( getInstallWebService() );
- context.setInstallClient( getInstallClient() );
- context.setStartWebService( getStartWebService() );
- context.setTestWebService( getTestWebService() );
- context.setMonitorWebService(getMonitorWebService());
- context.setLaunchSampleEnabled( isLaunchSampleEnabled() );
- context.setGenerateWebService(getGenerateWebService()); //jvh
- return context;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getClientWebServiceType()
- */
- public String getClientWebServiceType()
- {
- return clientWebServiceType_;
- }
-
- public String getClientWebServiceTypeDefault(){ return defaults.webserviceClientTypeDefault(); }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getGenerateProxy()
- */
- public boolean getGenerateProxy()
- {
- return generateProxy_;
- }
-
- public boolean getGenerateProxyDefault(){ return defaults.generateProxyDefault(); }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getLaunchWebServiceExplorer()
- */
- public boolean getLaunchWebServiceExplorer()
- {
- return launchWebServiceExplorer_;
- }
-
- public boolean getLaunchWebServiceExplorerDefault(){ return defaults.launchWebserviceExplorerDefault(); }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getInstallWebService()
- */
- public boolean getInstallWebService()
- {
- return installWebService_;
- }
-
- public boolean getInstallWebServiceDefault(){ return defaults.installWebserviceDefault(); }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getInstallWebService()
- */
- public boolean getInstallClient()
- {
- return installClient_;
- }
-
- public boolean getInstallClientDefault(){ return defaults.installClientDefault(); }
-
-
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getStartWebService()
- */
- public boolean getStartWebService()
- {
- return startWebService_;
- }
-
- public boolean getStartWebServiceDefault(){ return defaults.startWebserviceDefault(); }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getTestWebService()
- */
- public boolean getTestWebService()
- {
- return testWebService_;
- }
-
- public boolean getTestWebServiceDefault(){ return defaults.testWebserviceDefault(); }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getWebServiceType()
- */
- public String getWebServiceType()
- {
- return webServiceType_;
- }
-
- public String getWebServiceTypeDefault(){ return defaults.webserviceTypeIdDefault(); }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setClientWebServiceType(java.lang.String)
- */
- public void setClientWebServiceType(String value)
- {
- clientWebServiceType_ = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setGenerateProxy(boolean)
- */
- public void setGenerateProxy(boolean value)
- {
- generateProxy_ = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setLaunchWebServiceExplorer(boolean)
- */
- public void setLaunchWebServiceExplorer(boolean value)
- {
- launchWebServiceExplorer_ = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setInstallWebService(boolean)
- */
- public void setInstallWebService(boolean value)
- {
- installWebService_ = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setInstallWebService(boolean)
- */
- public void setInstallClient(boolean value)
- {
- installClient_ = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setStartWebService(boolean)
- */
- public void setStartWebService(boolean value)
- {
- startWebService_ = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setTestWebService(boolean)
- */
- public void setTestWebService(boolean value)
- {
- testWebService_ = value;
- }
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setWebServiceType(java.lang.String)
- */
- public void setWebServiceType(String value)
- {
- webServiceType_ = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getMonitorWebService()
- */
- public boolean getMonitorWebService()
- {
- return monitorWebService;
- }
-
- public boolean getMonitorWebServiceDefault()
- {
- return defaults.getMonitorWebServiceDefault();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setMonitorWebService(boolean)
- */
- public void setMonitorWebService(boolean value)
- {
- monitorWebService = value;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#getLaunchSampleEnabledDefault()
- */
- public boolean getLaunchSampleEnabledDefault()
- {
- return defaults.launchSample();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#isLaunchSampleEnabled()
- */
- public boolean isLaunchSampleEnabled()
- {
- return launchSample_;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.context.ScenarioContext#setLaunchSampleEnabled(boolean)
- */
- public void setLaunchSampleEnabled(boolean value)
- {
- launchSample_ = value;
- }
-
- public void setGenerateWebService(int value)
- {
- generateWebService_ = value;
- }
-
- public int getGenerateWebServiceDefault()
- {
- return defaults.serviceGenerationDefault();
- }
-
- public int getGenerateWebService()
- {
- return generateWebService_;
- }
-
- public int getGenerateClientDefault()
- {
- return defaults.clientGenerationDefault();
- }
-
- public int getGenerateClient()
- {
- return generateClient_;
- }
-
- public void setGenerateClient(int value)
- {
- generateClient_ = value;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceContext.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceContext.java
deleted file mode 100644
index a24addb41..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceContext.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.context;
-
-public interface UDDIPreferenceContext
-{
- /*
- * This constant String is used to lookup the column delimiter for user-defined UDDI
- * Category data.
- */
- public static final String PREFERENCE_UDDI_CAT_DATA_COLUMN_DELIMITER = "uddiCatDataColumnDelimiter";
-
- /*
- * This constant String is used to lookup the string delimiter for user-defined UDDI
- * Category data.
- */
- public static final String PREFERENCE_UDDI_CAT_DATA_STRING_DELIMITER = "uddiCatDataStringDelimiter";
-
- public void setUddiCatDataColumnDelimiter(String delimiter);
- public String getUddiCatDataColumnDelimiter();
- public void setUddiCatDataStringDelimiter(String delimiter);
- public String getUddiCatDataStringDelimiter();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceDefaults.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceDefaults.java
deleted file mode 100644
index 39eba91a8..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/context/UDDIPreferenceDefaults.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.internal.context;
-
-public class UDDIPreferenceDefaults
-{
- public static final String getUddiCatDataColumnDelimiter()
- {
- return "#";
- }
-
- public static final String getUddiCatDataStringDelimiter()
- {
- return "\"";
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/LabelsAndIds.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/LabelsAndIds.java
deleted file mode 100644
index 4bd0f64e4..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/LabelsAndIds.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/**
- */
-package org.eclipse.jst.ws.internal.data;
-
-public class LabelsAndIds
-{
- private String[] labels_;
- private String[] ids_;
-
- /**
- * @return Returns the ids_.
- */
- public String[] getIds_()
- {
- return ids_;
- }
- /**
- * @param ids_ The ids_ to set.
- */
- public void setIds_(String[] ids_)
- {
- this.ids_ = ids_;
- }
- /**
- * @return Returns the labels_.
- */
- public String[] getLabels_()
- {
- return labels_;
- }
- /**
- * @param labels_ The labels_ to set.
- */
- public void setLabels_(String[] labels_)
- {
- this.labels_ = labels_;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/TypeRuntimeServer.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/TypeRuntimeServer.java
deleted file mode 100644
index 25b44417c..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/data/TypeRuntimeServer.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-/**
- */
-package org.eclipse.jst.ws.internal.data;
-
-public class TypeRuntimeServer
-{
- private String typeId_ = "";
- private String runtimeId_ = "";
- private String serverId_ = "";
- private String serverInstanceId_;
-
- /**
- * @return Returns the runtimeId_.
- */
- public String getRuntimeId()
- {
- return runtimeId_;
- }
- /**
- * @param runtimeId_ The runtimeId_ to set.
- */
- public void setRuntimeId(String runtimeId_)
- {
- this.runtimeId_ = runtimeId_;
- }
- /**
- * @return Returns the serverId_.
- */
- public String getServerId()
- {
- return serverId_;
- }
- /**
- * @param serverId_ The serverId_ to set.
- */
- public void setServerId(String serverId_)
- {
- this.serverId_ = serverId_;
- }
- /**
- * @return Returns the serverInstanceId_.
- */
- public String getServerInstanceId()
- {
- return serverInstanceId_;
- }
- /**
- * @param serverInstanceId_ The serverInstanceId_ to set.
- */
- public void setServerInstanceId(String serverInstanceId_)
- {
- this.serverInstanceId_ = serverInstanceId_;
- }
- /**
- * @return Returns the typeId_.
- */
- public String getTypeId()
- {
- return typeId_;
- }
- /**
- * @param typeId_ The typeId_ to set.
- */
- public void setTypeId(String typeId_)
- {
- this.typeId_ = typeId_;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- public String toString()
- {
- return "type(" + typeId_ + ") runtime(" + runtimeId_ + ") factory(" + serverId_ + ") servInstId(" + serverInstanceId_ + ")";
- }
-
- public boolean equals(Object object)
- {
- if (object != null && object instanceof TypeRuntimeServer)
- {
- TypeRuntimeServer trs = (TypeRuntimeServer)object;
- String trsTypeId = trs.getTypeId();
- String trsRuntimeId = trs.getRuntimeId();
- String trsServerId = trs.getServerId();
- String trsServerInstanceId = trs.getServerInstanceId();
-
- boolean typeIdsMatch = ((typeId_ == null) && (trsTypeId == null)) || ((typeId_ != null) && (typeId_.equals(trsTypeId)));
- if (!typeIdsMatch) return false;
- boolean runtimeIdsMatch = ((runtimeId_ == null) && (trsRuntimeId == null)) || ((runtimeId_ != null) && (runtimeId_.equals(trsRuntimeId)));
- if (!runtimeIdsMatch) return false;
- boolean serverIdsMatch = ((serverId_ == null) && (trsServerId == null)) || ((serverId_ != null) && (serverId_.equals(trsServerId)));
- if (!serverIdsMatch) return false;
- boolean serverInstanceIdsMatch = ((serverInstanceId_ == null) && (trsServerInstanceId == null)) || ((serverInstanceId_ != null) && (serverInstanceId_.equals(trsServerInstanceId)));
- if (!serverInstanceIdsMatch) return false;
-
- return true;
- }
-
- return false;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/dialog/IStatusDialogConstants.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/dialog/IStatusDialogConstants.java
deleted file mode 100644
index 5831b233a..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/dialog/IStatusDialogConstants.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.dialog;
-
-/**
-* Constants for status dialogs
-*/
-public interface IStatusDialogConstants {
-
- /*
- * Button ID for the "Yes" button
- */
- public static final int YES_ID = 2;
- /*
- * Button ID for the "Yes to all" button
- */
- public static final int YES_TO_ALL_ID = 4;
- /*
- * Button ID for the "Cancel" button
- */
- public static final int CANCEL_ID = 1;
- /*
- * Button ID for the "OK" button
- */
- public static final int OK_ID = 0;
- /*
- * Button ID for the "Details" button
- */
- public static final int DETAILS_ID = 13;
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExecutable.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExecutable.java
deleted file mode 100644
index 9660fbb82..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExecutable.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext;
-
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
-* All Extensions with exectutable extensions should implement this
-* to fit our framework
-*/
-public interface WebServiceExecutable
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- /**
- *Returns a wizard fragment for this exention type
- *
- */
- public AbstractDataModelOperation getFinishCommand();
-}
-
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtension.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtension.java
deleted file mode 100644
index 4332d0a74..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtension.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-
-
-/**
-* This represents an extension in the plugin registry
-* It job is to act as a proxy to the iconfigelement
-*/
-public interface WebServiceExtension
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * If the extension has code that needs to be executed or a fragment added
- * @return WebServiceExecutable this interface holds executable code and a
- * fragment
- */
- public Object getWebServiceExecutableExtension();
-
- /**
- * This is the config element that holds the extension info
- * @param IConfigurationElement Extension element
- */
- public void setConfigElement(IConfigurationElement configElement);
-
- /**
- * If the extension has code that
- * @return IConfigurationElement Extension element
- */
- public IConfigurationElement getConfigElement();
-}
-
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionImpl.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionImpl.java
deleted file mode 100644
index 7d9d92fe5..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-
-
-
-
-
-/**
-* This represents an extension in the plugin registry
-* It job is to act as a proxy to the iconfigelement
-*/
-public class WebServiceExtensionImpl implements WebServiceExtension
-{
-
- private ILog log_;
-
- /*
- * The ConfigElement that holds extension info
- */
- protected IConfigurationElement configElement_;
-
- /*
- * The extension executable
- */
- protected WebServiceExecutable webServiceExecutable_;
-
-
- public WebServiceExtensionImpl(IConfigurationElement configElement)
- {
- configElement_ = configElement;
- log_ = EnvironmentService.getEclipseLog();
- }
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * If the extension has code that needs to be executed or a fragment added
- * @return WebServiceExecutable this interface holds executable code and a
- * fragment
- */
- public Object getWebServiceExecutableExtension()
- {
- if(webServiceExecutable_ != null) return webServiceExecutable_;
-
- try{
- return configElement_.createExecutableExtension("class");
- }catch (CoreException e){
- log_.log(ILog.ERROR, 5029, this, "getWebServiceExecutableExtension",e);
- }
-
- return null;
- }
-
- /**
- * This is the config element that holds the extension info
- * @param IConfigurationElement Extension element
- */
- public void setConfigElement(IConfigurationElement configElement)
- {
- configElement_ = configElement;
- }
-
- /**
- * This is the config element that holds the extension info
- * @return IConfigurationElement Extension element
- */
- public IConfigurationElement getConfigElement()
- {
- return configElement_;
- }
-
- /**
- * The name of the extension being used
- * @return String name of this extension
- */
- public String getName()
- {
- return getConfigElement().getAttribute( "name" );
- }
-
-
-}
-
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistry.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistry.java
deleted file mode 100644
index afc1d0721..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistry.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext;
-
-
-/**
-* Returns the names of the extensions for a given extension-point
-* also returns the extension objects
-*
-*/
-public interface WebServiceExtensionRegistry
-{
-
- /**
- * Returns the names of all registered extensions
- * @return The names of all registered extensions.
- */
- public String[] getWebServiceExtensionNames ();
-
- /**
- * Returns the extension object of the given name
- *@return WebServiceExtension object
- */
- public WebServiceExtension getWebServiceExtensionsByName( String name);
-
- /**
- * Returns All extention objects in this registry
- *@return WebServiceExtension objects
- */
- public WebServiceExtension[] getWebServiceExtensions();
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistryImpl.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistryImpl.java
deleted file mode 100644
index 46bea11f7..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/WebServiceExtensionRegistryImpl.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.jst.ws.internal.data.LabelsAndIds;
-
-
-/**
-* This is a generic registry which sets up general code in handling
-* IConfigElements for an extension
-*/
-public abstract class WebServiceExtensionRegistryImpl implements WebServiceExtensionRegistry
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- protected Hashtable nameExtensionTable_;
- protected Vector id_;
- protected Vector label_;
- private LabelsAndIds labelsandids_;
-
- public WebServiceExtensionRegistryImpl()
- {
- nameExtensionTable_ = new Hashtable();
- label_ = new Vector();
- id_ = new Vector();
- loadExtensions();
- }
-
- /**
- * Children registries will have different extension types
- * @return WebserviceExtension holds a config elem
- * for that extension capable of creating an executable file
- */
- public abstract WebServiceExtension createWebServiceExtension(IConfigurationElement configElement);
-
- /**
- * Children must implement how they get the IConfigurationElement[]
- * @return IConfigurationElement[] an array of elements particular to that
- * extension
- */
- public abstract IConfigurationElement[] getConfigElements();
-
- /*
- * Loads WebServiceExtensions for WebServiceClientTest into this registry.
- * This is done by querying the plugin registry for all extensions
- * that extend webServiceClientTest
- */
- protected void loadExtensions ()
- {
- IConfigurationElement[] config = getConfigElements();
-
- for(int idx=0; idx<config.length; idx++)
- {
- IConfigurationElement elem = config[idx];
- String label = elem.getAttribute( "label" );
- String id = elem.getAttribute( "id" );
- WebServiceExtension webServiceExtension = createWebServiceExtension(elem);
- nameExtensionTable_.put(label,webServiceExtension);
- label_.add(label);
- id_.add(id);
- }
- }
-
- /**
- * Returns the names of all registered extensions
- * @return The names of all registered extensions.
- */
- public String[] getWebServiceExtensionNames ()
- {
- return (String[])nameExtensionTable_.keySet().toArray( new String[0] );
- }
-
- /**
- * Return the names and Ids
- */
- public LabelsAndIds getLabelsAndIDs()
- {
- labelsandids_ = new LabelsAndIds();
- labelsandids_.setLabels_((String[])label_.toArray( new String[0] ));
- labelsandids_.setIds_((String[])id_.toArray( new String[0] ));
- return labelsandids_;
- }
-
- /**
- * Returns the extension object of the given name
- * @return WebServiceExtension object
- */
- public WebServiceExtension getWebServiceExtensionsByName( String name)
- {
- return (WebServiceExtension)nameExtensionTable_.get(name);
- }
-
- /**
- * Returns All extention objects in this registry
- *@return WebServiceExtension objects
- */
- public WebServiceExtension[] getWebServiceExtensions()
- {
- return (WebServiceExtension[])nameExtensionTable_.values().toArray( new WebServiceExtension[0] );
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/JavaProxyTestCommand.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/JavaProxyTestCommand.java
deleted file mode 100644
index 4eae34196..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/JavaProxyTestCommand.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2002 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext.test;
-
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-
-public interface JavaProxyTestCommand extends WebServiceTestFinishCommand
-{
-
- /**
- * This holds an info class that comes from user input or some calcilations that needs to be
- * used for the finish
- */
-
- public void setJspFolder(String jspFolder);
-
- public void setRunClientTest(boolean runClientTest);
-
- public void setSampleProject(String sampleProject);
-
- public void setProxyBean(String proxyBean);
-
- public void setSetEndpointMethod(String setEndpointMethod);
-
- public void setClientProject(String clientProject);
-
- public void setMethods(BooleanSelection[] methods);
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WSDLTestFinishCommand.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WSDLTestFinishCommand.java
deleted file mode 100644
index 1b29e53d4..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WSDLTestFinishCommand.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2002 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext.test;
-
-public interface WSDLTestFinishCommand extends WebServiceTestFinishCommand
-{
- public void setServiceProject(String serverProject);
- public void setWsdlServiceURL(String wsdlURI);
- public void setExternalBrowser(boolean external);
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestExtension.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestExtension.java
deleted file mode 100644
index 288193988..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestExtension.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060816 104870 kathy@ca.ibm.com - Kathy Chan
- * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext.test;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.jst.ws.internal.ext.WebServiceExtensionImpl;
-
-
-
-/**
-* This represents an extension in the plugin registry
-* It job is to act as a proxy to the iconfigelement
-* In particular it holds a client test extension element
-*/
-public class WebServiceTestExtension extends WebServiceExtensionImpl
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private List supportedRuntimes_ = new ArrayList();
-
- public WebServiceTestExtension(IConfigurationElement configElement)
- {
- super(configElement);
-
- String runtimesList = getConfigElement().getAttribute("supportedClientRuntimes");
-
- addRuntimes(runtimesList);
- }
-
- /**
- * Adds a list of space delimited runtime IDs.
- *
- * @param runtimesList The list of runtime IDs.
- */
- public void addRuntimes(String runtimesList) {
-
- if (runtimesList == null)
- return;
-
- String[] runtimes = runtimesList.split("\\s+");
-
- for (int i = 0; i < runtimes.length; i++) {
- if (runtimes[i].length() > 0)
- supportedRuntimes_.add(runtimes[i]);
- }
- }
-
- /**
- * Will this testClient generate code
- * @return boolean true if codegen needed
- */
- public boolean isCodeGenNeeded()
- {
- return Boolean.valueOf(getConfigElement().getAttribute( "codeGenerated" )).booleanValue();
- }
-
- /**
- * Use the default Folder Provided by us
- * @return boolean true if no special folder requires
- */
- public boolean useDefaultCodeGenFolder()
- {
- return Boolean.valueOf(getConfigElement().getAttribute( "defaultcodegenfolder" )).booleanValue();
- }
-
- /**
- * Use Special Folder for generated code
- * @return String special folder name
- */
- public String getCodeGenFolder()
- {
- return getConfigElement().getAttribute( "codegenfolder" );
- }
-
- /**
- * Do we need to launch something
- * @return Boolean if true launch codegen
- */
- public boolean isLaunchRequired()
- {
- return Boolean.valueOf(getConfigElement().getAttribute( "launchRequired" )).booleanValue();
- }
-
- /**
- * Do we need the methods for the proxy
- * @return boolean true if proxy methods needed
- */
- public boolean areMethodsNeeded()
- {
- return Boolean.valueOf(getConfigElement().getAttribute( "methodsneeded" )).booleanValue();
- }
-
- /**
- * Does this test machine need a server
- * @return boolean true if a server is required
- */
- public boolean isServerNeeded()
- {
- return Boolean.valueOf(getConfigElement().getAttribute( "serverRequired" )).booleanValue();
- }
-
- /**
- * Use the Default Server chosen by the wizard
- * @return boolean true if the default server is wanted
- */
- public boolean useDefaultServer()
- {
- return Boolean.valueOf(getConfigElement().getAttribute( "defaultserver" )).booleanValue();
- }
-
- /**
- * Use the Default Server chosen by the wizard
- * @return boolean true if the default server is wanted
- */
- public String useServer()
- {
- return getConfigElement().getAttribute( "useserver" );
- }
-
- public boolean testWSDL()
- {
- String wsdl = getConfigElement().getAttribute( "testWSDL" );
- if(wsdl.equals("yes") || wsdl.equals("true"))
- return true;
-
- return false;
- }
-
- /**
- * Returns the id attribute of this WebServiceTestExtension
- *
- * @return The value of the id attribute.
- */
- public String getId() {
- return getConfigElement().getAttribute( "id" );
- }
-
- /**
- * Does this extension allow extenders to restrict the runtimes that are supported?
- *
- * @return The value of the allowRunimesRestriction attribute, false if not present.
- */
- public boolean allowClientRuntimesRestriction() {
- return Boolean.valueOf(getConfigElement().getAttribute( "allowClientRuntimesRestriction" )).booleanValue();
- }
-
- /**
- * Determines if this WebServiceTestExtension supports the give client runtime ID.
- *
- * @return true if the client runtime ID is supported, false otherwise.
- */
- public boolean supportsRuntime(String runtimeId) {
-
- if (!allowClientRuntimesRestriction() || supportedRuntimes_.isEmpty())
- return true;
-
- return supportedRuntimes_.contains(runtimeId);
- }
-}
-
-
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestFinishCommand.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestFinishCommand.java
deleted file mode 100644
index 74193670b..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestFinishCommand.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2002 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
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext.test;
-
-import java.util.List;
-import org.eclipse.wst.server.core.IServer;
-
-public interface WebServiceTestFinishCommand
-{
-
- /**
- * If the command needs a server this is the chosen
- * client serverID
- * @param sampleServerTypeID
- */
- public void setServerTypeID(String serviceServerTypeID);
-
- /**
- * This is the IServer if required
- * @param sampleExistingServer
- */
- public void setExistingServer(IServer serviceExistingServer);
-
- /**
- * This is the endpoints if monitor service is enabled
- * @param endpoints
- */
- public void setEndpoint(List endpoints);
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestRegistry.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestRegistry.java
deleted file mode 100644
index fdb9adfaf..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/ext/test/WebServiceTestRegistry.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.ext.test;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jst.ws.internal.ext.WebServiceExtension;
-import org.eclipse.jst.ws.internal.ext.WebServiceExtensionRegistryImpl;
-
-public class WebServiceTestRegistry extends WebServiceExtensionRegistryImpl
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- /*
- * This is a singleton becasue it was decided that the memory foot print
- * is not as expensive as the time taken retrieving the data
- *
- */
-
-
- private static WebServiceTestRegistry wstr;
-
- public static WebServiceTestRegistry getInstance()
- {
- if(wstr == null) wstr = new WebServiceTestRegistry();
- return wstr;
- }
-
- private WebServiceTestRegistry()
- {
- super();
- }
-
- /**
- * Helper method to "join" an existing value and a new value together by
- * a space in between. Handles special case when either value is null.
- *
- * @param existingValue The existing value
- * @param newValue The new value
- * @return If eiter the existing or new value is null, simply returns the
- * new value as is (which could be null). Otherwise returns the value joined
- * by a space.
- */
- private String genNewValue(String existingValue, String newValue) {
-
- if (existingValue == null || newValue == null)
- return newValue;
-
- return existingValue + " " + newValue;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.ws.internal.ext.WebServiceExtensionRegistryImpl#loadExtensions()
- */
- protected void loadExtensions ()
- {
- // keep track of the support runtimes for each test facility ID
- Hashtable supportedClientRuntimes = new Hashtable();
-
- IConfigurationElement[] config = getConfigElements();
-
- for(int idx=0; idx<config.length; idx++)
- {
- IConfigurationElement elem = config[idx];
- String label = elem.getAttribute( "label" );
- String id = elem.getAttribute( "id" );
-
- // label is found, hence we have a master extension element
- if (label != null) {
- WebServiceExtension webServiceExtension = createWebServiceExtension(elem);
- nameExtensionTable_.put(label,webServiceExtension);
- label_.add(label);
- id_.add(id);
- }
-
- // slave extension element, which only has the id and supportedClientRuntimes attributes
- else {
- String existingValue = (String) supportedClientRuntimes.get(id);
- String newValue = genNewValue(existingValue, elem.getAttribute("supportedClientRuntimes"));
-
- if (newValue != null)
- supportedClientRuntimes.put(id, newValue);
- }
- }
-
- // merge any supportedClientRuntimes attributes from the slave elements back to the master elements
-
- Iterator iter = nameExtensionTable_.values().iterator();
-
- while (iter.hasNext()) {
- WebServiceTestExtension webServiceTestExtension = (WebServiceTestExtension) iter.next();
-
- // skip if the extension does not allow restriction on the supported client runtimes
- if (webServiceTestExtension.allowClientRuntimesRestriction()) {
- String id = webServiceTestExtension.getId();
- webServiceTestExtension.addRuntimes((String) supportedClientRuntimes.get(id));
- }
- }
- }
-
- /**
- * Children registries will have different extension types
- * @return WebserviceExtension holds a config elem
- * for that extension capable of creating an executable file
- */
- public WebServiceExtension createWebServiceExtension(IConfigurationElement configElement)
- {
- return new WebServiceTestExtension(configElement);
- }
-
- /**
- * Children must implement how they get the IConfigurationElement[]
- * @return IConfigurationElement[] an array of elements particular to that
- * extension
- */
- public IConfigurationElement[] getConfigElements()
- {
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] config = reg.getConfigurationElementsFor(
- "org.eclipse.jst.ws.consumption.ui",
- "tester");
- return config;
- }
-
-
-
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/plugin/WebServicePlugin.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/plugin/WebServicePlugin.java
deleted file mode 100644
index b520d136a..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/plugin/WebServicePlugin.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.plugin;
-
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.jst.ws.internal.context.PersistentScenarioContext;
-import org.eclipse.jst.ws.internal.context.PersistentUDDIPreferenceContext;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.context.UDDIPreferenceContext;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-
-
-/**
-* This is the plugin class for the Web Services plugin.
-* <p>
-* This plugin contains the bulk of the Web Services runtime.
-* Only the graphical user interface portion of the runtime is
-* found elsewhere - in the org.eclipse.jst.ws.ui plugin.
-*/
-public class WebServicePlugin extends Plugin
-{
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.jst.ws";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WebServicePlugin instance_;
-
- private PersistentResourceContext resourceContext_;
- private PersistentScenarioContext scenarioContext_;
- private PersistentUDDIPreferenceContext uddiPreferenceContext;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- */
- public WebServicePlugin()
- {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin.
- * @return The WebServicePlugin singleton.
- */
- public static WebServicePlugin getInstance ()
- {
- return instance_;
- }
-
- protected void initializeDefaultPluginPreferences()
- {
- ((PersistentUDDIPreferenceContext) getUDDIPreferenceContext()).load();
- }
-
- public ResourceContext getResourceContext()
- {
- if (resourceContext_ == null)
- resourceContext_ = PersistentResourceContext.getInstance();
- return resourceContext_;
- }
-
- public ScenarioContext getScenarioContext()
- {
- if (scenarioContext_ == null)
- {
- scenarioContext_ = new PersistentScenarioContext();
- scenarioContext_.load();
- }
-
- return scenarioContext_;
- }
-
- public UDDIPreferenceContext getUDDIPreferenceContext()
- {
- if (uddiPreferenceContext == null)
- uddiPreferenceContext = new PersistentUDDIPreferenceContext();
- return uddiPreferenceContext;
- }
-
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaClientInfo.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaClientInfo.java
deleted file mode 100644
index 919002b0b..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaClientInfo.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060620 147864 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.wsrt;
-
-import org.eclipse.jdt.core.IType;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-
-/**
- * This subclass of WebServiceClientInfo adds properties
- * relevant to descriptors of Java Web service clients.
- */
-public class WebServiceJavaClientInfo extends WebServiceClientInfo
-{
- private IType jdtType_;
-
- /**
- * Returns the JDT IType of the primary Java proxy class
- * of a Web service client, or null if no such class has
- * been located.
- * @return The JDT IType of the Java client proxy class.
- */
- public IType getType ()
- {
- return jdtType_;
- }
-
- /**
- * Sets the JDT IType of the primary Java proxy class
- * of a Web service client.
- * @param jdtType The JDT IType of the Java client proxy class.
- */
- public void setType ( IType jdtType )
- {
- jdtType_ = jdtType;
- }
-}
diff --git a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaInfo.java b/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaInfo.java
deleted file mode 100644
index 66d9ec99b..000000000
--- a/bundles/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/wsrt/WebServiceJavaInfo.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060620 147864 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.internal.wsrt;
-
-import org.eclipse.jdt.core.IType;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceInfo;
-
-/**
- * This subclass of WebServiceInfo adds properties
- * relevant to descriptors of Java Web services.
- */
-public class WebServiceJavaInfo extends WebServiceInfo
-{
- private IType jdtType_;
-
- /**
- * Returns the JDT IType of the primary Java implementation
- * class of a Web service, or null if no such class has
- * been located.
- * @return The JDT IType of the Java implementation class.
- */
- public IType getType ()
- {
- return jdtType_;
- }
-
- /**
- * Sets the JDT IType of the primary Java implementation
- * class of a Web service.
- * @param jdtType The JDT IType of the Java implementation class.
- */
- public void setType ( IType jdtType )
- {
- jdtType_ = jdtType;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/.classpath b/bundles/org.eclipse.wst.command.env.core/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/bundles/org.eclipse.wst.command.env.core/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.command.env.core/.cvsignore b/bundles/org.eclipse.wst.command.env.core/.cvsignore
deleted file mode 100644
index 8b68b0547..000000000
--- a/bundles/org.eclipse.wst.command.env.core/.cvsignore
+++ /dev/null
@@ -1,8 +0,0 @@
-bin
-build.xml
-runtime
-temp.folder
-envcore.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.command.env.core/.project b/bundles/org.eclipse.wst.command.env.core/.project
deleted file mode 100644
index 6327deaaa..000000000
--- a/bundles/org.eclipse.wst.command.env.core/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.command.env.core</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index eede846b0..000000000
--- a/bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:37:21 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 1d7a235d2..000000000
--- a/bundles/org.eclipse.wst.command.env.core/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:34 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.command.env.core/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.command.env.core/META-INF/MANIFEST.MF
deleted file mode 100644
index 0ed8f6d2a..000000000
--- a/bundles/org.eclipse.wst.command.env.core/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,19 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.command.env.core
-Bundle-Version: 1.0.101.qualifier
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.command.internal.env.core;x-internal:=true,
- org.eclipse.wst.command.internal.env.core.common;x-internal:=true,
- org.eclipse.wst.command.internal.env.core.context;x-internal:=true,
- org.eclipse.wst.command.internal.env.core.data;x-internal:=true,
- org.eclipse.wst.command.internal.env.core.fragment;x-internal:=true,
- org.eclipse.wst.command.internal.env.core.registry;x-internal:=true,
- org.eclipse.wst.command.internal.env.core.selection;x-internal:=true,
- org.eclipse.wst.command.internal.env.core.uri;x-internal:=true
-Require-Bundle: org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.core.commands;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)"
diff --git a/bundles/org.eclipse.wst.command.env.core/about.html b/bundles/org.eclipse.wst.command.env.core/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.command.env.core/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.command.env.core/build.properties b/bundles/org.eclipse.wst.command.env.core/build.properties
deleted file mode 100644
index 7d430a12b..000000000
--- a/bundles/org.eclipse.wst.command.env.core/build.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-bin.includes = *.jar,\
- .,\
- META-INF/,\
- plugin.properties,\
- about.html
-src.includes = component.xml
-source.. = src/
-output.. = bin/
-
diff --git a/bundles/org.eclipse.wst.command.env.core/component.xml b/bundles/org.eclipse.wst.command.env.core/component.xml
deleted file mode 100644
index 7c458f7de..000000000
--- a/bundles/org.eclipse.wst.command.env.core/component.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component xmlns="http://eclipse.org/wtp/releng/tools/component-model" name="org.eclipse.wst.command">
- <component-depends unrestricted="true">
- </component-depends>
- <plugin id="org.eclipse.wst.command.env" fragment="false"/>
- <plugin id="org.eclipse.wst.command.env.core" fragment="false"/>
- <plugin id="org.eclipse.wst.command.env.ui" fragment="false"/>
-</component>
diff --git a/bundles/org.eclipse.wst.command.env.core/plugin.properties b/bundles/org.eclipse.wst.command.env.core/plugin.properties
deleted file mode 100644
index c71709d6d..000000000
--- a/bundles/org.eclipse.wst.command.env.core/plugin.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Environment Command Framework (core)
-PLUGIN_PROVIDER=Eclipse.org
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandFactory.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandFactory.java
deleted file mode 100644
index 0957e6ded..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandFactory.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core;
-
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * This interface is used to create Command objects.
- *
- */
-public interface CommandFactory
-{
- /**
- *
- * @return returns a created Command object.
- */
- public AbstractDataModelOperation create();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandManager.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandManager.java
deleted file mode 100644
index 19da21946..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/CommandManager.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-
-/**
- * CommandManagers help manage the lifecycle of Commands.
- */
-public interface CommandManager
-{
- /**
- * Returns true if this CommandManager is capable of undoing
- * Commands. Some CommandManagers and Environments may be of
- * a sort that will never undo() Commands. Command.execute()
- * methods should take advantage of this method to optimize
- * out any caching logic whenever this method returns false.
- */
- public boolean isUndoEnabled ();
-
- // There's probably more, like factory methods for creating
- // Undo/Redo stacks and stuff like that.
-
- public DataMappingRegistry getMappingRegistry();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCore.properties b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCore.properties
deleted file mode 100644
index 429c18eaa..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCore.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Common Messages
-#
-MSG_ERROR_UNEXPECTED_ERROR=IWAB0014E Unexpected exception occured.
-
-TITLE_WARNING=Warning:
-TITLE_ERROR=Error:
-TITLE_INFO=Info:
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCoreMessages.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCoreMessages.java
deleted file mode 100644
index 94581af68..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/EnvironmentCoreMessages.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class EnvironmentCoreMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.wst.command.internal.env.core.EnvironmentCore";//$NON-NLS-1$
-
- private EnvironmentCoreMessages() {
- // Do not instantiate
- }
-
- public static String MSG_ERROR_UNEXPECTED_ERROR;
- public static String TITLE_WARNING;
- public static String TITLE_ERROR;
- public static String TITLE_INFO;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, EnvironmentCoreMessages.class);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/ICommandFactory.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/ICommandFactory.java
deleted file mode 100644
index 182a28b10..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/ICommandFactory.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.core;
-
-import java.util.Iterator;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
- *
- * This class is used to return a sequence of Commands.
- *
- */
-public interface ICommandFactory extends Iterator
-{
- /**
- *
- * @return returns the next Command in the sequence.
- */
- public AbstractDataModelOperation getNextCommand();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/SimpleCommandFactory.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/SimpleCommandFactory.java
deleted file mode 100644
index 75fdc4a52..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/SimpleCommandFactory.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.core;
-
-import java.util.Vector;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class SimpleCommandFactory implements ICommandFactory
-{
- private Vector commands_;
- private int index_;
-
- public SimpleCommandFactory( Vector commands )
- {
- commands_ = commands;
- index_ = 0;
- }
-
- public AbstractDataModelOperation getNextCommand()
- {
- return (AbstractDataModelOperation)next();
- }
-
- public void remove()
- {
- throw new UnsupportedOperationException();
- }
-
- public boolean hasNext()
- {
- return index_ < commands_.size();
- }
-
- public Object next()
- {
- return commands_.elementAt(index_++);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Condition.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Condition.java
deleted file mode 100644
index 6d5b18053..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Condition.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.common;
-
-/**
- * This interface defines a boolean condition that can be evaluated for any object.
- */
-public interface Condition
-{
- /**
- * This returns whether the given object passes this condition.
- */
- public boolean evaluate();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Evaluate.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Evaluate.java
deleted file mode 100644
index 0dcb74ec0..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Evaluate.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.common;
-
-/**
- * This interface can be used when a conditional object needs to be returned.
-**/
-public interface Evaluate
-{
- /**
- * @return returns an object based on some evaluated condition.
- **/
- public Object evaluate();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/MessageUtils.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/MessageUtils.java
deleted file mode 100644
index aa7bb5939..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/MessageUtils.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.common;
-
-import java.text.MessageFormat;
-import java.util.Hashtable;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
-/**
- * This class provides a convienent way to access resource bundles and
- * retieve translated strings.
- *
- *
- */
-public class MessageUtils
-{
- private ResourceBundle resource_;
-
- private static Hashtable bundles_ = new Hashtable();
-
- /**
- *
- * @param bundleId the resource bundle ID.
- * @param object the class loader for this object will be used to retrieve
- * the resource bundle.
- */
- public MessageUtils( String bundleId, Object object )
- {
- this( bundleId, object.getClass().getClassLoader() );
- }
-
- /**
- *
- * @param bundleId the resource bundle ID.
- * @param loader the class loader that will be used to retrieve
- * the resource bundle.
- */
- public MessageUtils( String bundleId, ClassLoader loader )
- {
- resource_ = (ResourceBundle)bundles_.get( bundleId );
-
- if( resource_ == null )
- {
- resource_ = ResourceBundle.getBundle( bundleId, Locale.getDefault(), loader );
- bundles_.put( bundleId, resource_ );
- }
- }
-
- /**
- *
- * @param key the key for the string to retrieve.
- * @return returns the translated string.
- */
- public String getMessage ( String key )
- {
- String value = key;
-
- try
- {
- value = resource_.getString( key );
- }
- catch( Throwable exc )
- {
- }
-
- return value;
- }
-
- /**
- *
- * @param key the key for the string to retrieve.
- * @param args These arguments will be substituted into the translated string.
- * @return returns the translated string with any substitutions.
- */
- public String getMessage ( String key, Object[] args )
- {
- return MessageFormat.format( getMessage(key),args );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/ProgressUtils.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/ProgressUtils.java
deleted file mode 100644
index 4028caa12..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/ProgressUtils.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/***************************************************************************************************
- * Copyright (c) 2003, 2005 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
- **************************************************************************************************/
-package org.eclipse.wst.command.internal.env.core.common;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-public class ProgressUtils
-{
- static public void report( IProgressMonitor monitor, String message )
- {
- if( monitor != null )
- {
- monitor.beginTask( message, IProgressMonitor.UNKNOWN );
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java
deleted file mode 100644
index 2e98b4b20..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.common;
-
-import org.eclipse.wst.common.environment.uri.IURI;
-
-/**
- * Carries position information within a resource.
- */
-public interface Range
-{
- public static final int UNKNOWN = -1;
-
- /**
- * Returns the identifier of the resource the range applies to.
- */
- public IURI getURI ();
-
- /**
- * Returns the index, zero-indexed, of the first line
- * of the range.
- */
- public int getStartingLineNumber ();
-
- /**
- * Returns the index, zero-indexed, of the first character
- * of the range relative to the beginning of the line.
- */
- public int getStartingCharNumberInLine ();
-
- /**
- * Returns the index, zero-indexed, of the first character
- * of the range relative to the beginning of the file.
- */
- public int getStartingCharNumberInURI ();
-
- /**
- * Returns the index, zero-indexed, of the last line
- * of the range.
- */
- public int getEndingLineNumber ();
-
- /**
- * Returns the offset, zero-indexed, of the last character
- * of the range relative to the beginning of the line.
- */
- public int getEndingCharNumberInLine ();
-
- /**
- * Returns the index, zero-indexed, of the last character
- * of the range relative to the beginning of the file.
- */
- public int getEndingCharNumberInURI ();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/RangeVector.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/RangeVector.java
deleted file mode 100644
index 3f86edfaf..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/RangeVector.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.common;
-
-import java.util.Vector;
-
-/**
- * This Vector makes the protected method removeRange public.
- *
- */
-public class RangeVector extends Vector
-{
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 4048793476659230773L;
-
- public void removeRange( int start, int end )
- {
- super.removeRange( start, end );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/StatusUtils.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/StatusUtils.java
deleted file mode 100644
index a03a57201..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/StatusUtils.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/***************************************************************************************************
- * Copyright (c) 2003, 2005 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
- **************************************************************************************************/
-package org.eclipse.wst.command.internal.env.core.common;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.Status;
-
-public class StatusUtils
-{
- public static IStatus errorStatus( String errorMessage )
- {
- return new Status( IStatus.ERROR, "id", 0, errorMessage, null );
- }
-
- public static IStatus errorStatus( Throwable exc )
- {
- String message = exc.getMessage();
-
- return new Status( IStatus.ERROR, "id", 0, message == null ? "" : message, exc );
- }
-
- public static IStatus errorStatus( String message, Throwable exc )
- {
- return new Status( IStatus.ERROR, "id", 0, message, exc );
- }
-
- public static MultiStatus multiStatus( String message, IStatus[] children, Throwable exc )
- {
- return new MultiStatus( "id", 0, children, message, exc );
- }
-
- public static MultiStatus multiStatus( String message, IStatus[] children )
- {
- return new MultiStatus( "id", 0, children, message, null );
- }
-
- public static IStatus warningStatus( String warningMessage )
- {
- return new Status( IStatus.WARNING, "id", 0, warningMessage, null );
- }
-
- public static IStatus warningStatus( String warningMessage, Throwable exc )
- {
- return new Status( IStatus.WARNING, "id", 0, warningMessage, exc );
- }
-
- public static IStatus infoStatus( String infoMessage )
- {
- return new Status( IStatus.INFO, "id", 0, infoMessage, null );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/Context.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/Context.java
deleted file mode 100644
index d38351bd0..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/Context.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.context;
-
-/**
- * This interface provides a way to get and set preference information.
- *
- */
-public interface Context
-{
- /**
- * Loads the preference data into this Context object.
- *
- */
- public void load();
-
- /**
- * Sets the default for a boolean preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setDefault (String name, boolean value);
-
- /**
- * Sets the default for a string preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setDefault (String name, String value);
-
- /**
- * Sets the default for a int preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setDefault (String name, int value);
-
- /**
- * Sets the value for a string preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setValue (String name, String value);
-
- /**
- * Sets the value for a boolean preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setValue (String name, boolean value);
-
- /**
- * Sets the value for a int preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setValue (String name, int value);
-
- /**
- * Gets the value for a string preference.
- * @param name the preference name.
- * @return the preference value.
- */
- public String getValueAsString ( String name);
-
- /**
- * Gets the value for a boolean preference.
- * @param name the preference name.
- * @return the preference value.
- */
- public boolean getValueAsBoolean ( String name);
-
- /**
- * Gets the value for a int preference.
- * @param name the preference name.
- * @return the preference value.
- */
- public int getValueAsInt ( String name);
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceContext.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceContext.java
deleted file mode 100644
index b36ecc2ca..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceContext.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.context;
-
-public interface ResourceContext
-{
- /**
- * This constant string is used to lookup the overwrite files general preference from
- * the plugins local preferences store.
- **/
- public static final String PREFERENCE_OVERWRITE = "filesOverwrite";
-
- /**
- * This constant string is used to lookup the create folders general preference from
- * the plugins local preferences store.
- **/
- public static final String PREFERENCE_CREATE_FOLDERS = "createFolders";
-
- /**
- * This constant string is used to lookup the checkout files general preference from
- * the plugins local preferences store.
- **/
- public static final String PREFERENCE_CHECKOUT = "filesCheckout";
-
- /**
- *
- * @param enable set whether overwriting of files is enabled.
- */
- public void setOverwriteFilesEnabled ( boolean enable);
-
- /**
- *
- * @return returns whether overwriting of files is enabled.
- */
- public boolean isOverwriteFilesEnabled();
-
- /**
- *
- * @param enable set whether creation of folders is enabled.
- */
- public void setCreateFoldersEnabled( boolean enable);
-
- /**
- *
- * @return returns whether creation of folders is enabled.
- */
- public boolean isCreateFoldersEnabled();
-
- /**
- *
- * @param enable sets whether automatic checkout of files is enabled.
- */
- public void setCheckoutFilesEnabled( boolean enable);
-
- /**
- *
- * @return returns whether automatic checkout of files is enabled.
- */
- public boolean isCheckoutFilesEnabled();
-
- /**
- *
- * @return returns a copy of this ResourceContext.
- */
- public ResourceContext copy();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceDefaults.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceDefaults.java
deleted file mode 100644
index dad802626..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/ResourceDefaults.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.context;
-
-public class ResourceDefaults
-{
- private static final boolean PREFERENCE_OVERWRITE_DEFAULT = false;
- private static final boolean PREFERENCE_CREATE_FOLDERS_DEFAULT = true;
- private static final boolean PREFERENCE_CHECKOUT_DEFAULT = false;
-
- /**
- *
- * @return returns the default setting for overwriting files.
- */
- public static boolean getOverwriteFilesDefault ()
- {
- return PREFERENCE_OVERWRITE_DEFAULT;
- }
-
- /**
- *
- * @return returns the default setting ofr creating folders.
- */
- public static boolean getCreateFoldersDefault ()
- {
- return PREFERENCE_CREATE_FOLDERS_DEFAULT;
- }
-
- /**
- *
- * @return returns the default setting for checking out files.
- */
- public static boolean getCheckoutFilesDefault()
- {
- return PREFERENCE_CHECKOUT_DEFAULT;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/TransientResourceContext.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/TransientResourceContext.java
deleted file mode 100644
index 1dffa025b..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/context/TransientResourceContext.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.context;
-
-/**
- * This class implements a ResourceContext interface where the state
- * of the context data is transient.
- *
- */
-public class TransientResourceContext implements ResourceContext
-{
- private boolean overWriteFiles;
- private boolean createFolders;
- private boolean checkOutFiles;
-
- public TransientResourceContext() {
- setOverwriteFilesEnabled(ResourceDefaults.getOverwriteFilesDefault());
- setCreateFoldersEnabled(ResourceDefaults.getCreateFoldersDefault());
- setCheckoutFilesEnabled(ResourceDefaults.getCheckoutFilesDefault());
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.context.ResourceContext#setOverwriteFilesEnabled(boolean)
- */
- public void setOverwriteFilesEnabled(boolean enable) {
- overWriteFiles = enable;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.context.ResourceContext#isOverwriteFilesEnabled()
- */
- public boolean isOverwriteFilesEnabled() {
- return overWriteFiles;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.context.ResourceContext#setCreateFoldersEnabled(boolean)
- */
- public void setCreateFoldersEnabled(boolean enable) {
- createFolders = enable;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.context.ResourceContext#isCreateFoldersEnabled()
- */
- public boolean isCreateFoldersEnabled() {
- return createFolders;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.context.ResourceContext#setCheckoutFilesEnabled(boolean)
- */
- public void setCheckoutFilesEnabled(boolean enable) {
- checkOutFiles = enable;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.context.ResourceContext#isCheckoutFilesEnabled()
- */
- public boolean isCheckoutFilesEnabled() {
- return checkOutFiles;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.context.ResourceContext#copy()
- */
- public ResourceContext copy() {
- ResourceContext cc = new TransientResourceContext();
- cc.setOverwriteFilesEnabled(isOverwriteFilesEnabled());
- cc.setCreateFoldersEnabled(isCreateFoldersEnabled());
- cc.setCheckoutFilesEnabled(isCheckoutFilesEnabled());
- return cc;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/BeanModifier.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/BeanModifier.java
deleted file mode 100644
index d56fc66c0..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/BeanModifier.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.data;
-
-public interface BeanModifier {
-
- /**
- * Performs modification on bean properties using data provided
- * @param bean The bean to be modified
- * @param propertyHolder The data to use to make the modification
- */
- public void modify(Object bean, Object propertyHolder);
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/ClassEntry.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/ClassEntry.java
deleted file mode 100644
index 41e5c5664..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/ClassEntry.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060313 130958 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.core.data;
-
-import java.util.Vector;
-
-public class ClassEntry
-{
- // A list of getter methods for a particular class.
- public Vector getterList_;
-
- // A list of setter methods for a particular class.
- public Vector setterList_;
-
- // A list of instance objects for this class. Only the last entry
- // should be looked at.
- private Vector objectList_ = new Vector();
-
- // A list of Interger objects that represent an ordering of objects.
- // The number of entries in the objectList vector and the orderList vector
- // should be the same. Each entry in the objectList vector is
- // corelated with each entry in the orderList vector.
- private Vector orderList_ = new Vector();
-
- public void addObject( Object object, int order )
- {
- objectList_.add(object);
- orderList_.add( new Integer(order) );
- }
-
- public Object getLastObject()
- {
- Object result = null;
-
- if( objectList_.size() > 0 )
- {
- result = objectList_.lastElement();
- }
-
- return result;
- }
-
- public int getLastOrder()
- {
- int result = -1;
-
- if( orderList_.size() > 0 )
- {
- result = ((Integer)orderList_.lastElement()).intValue();
- }
-
- return result;
- }
-
- public void removeObject( Object object )
- {
- int removalIndex = objectList_.indexOf(object);
-
- if( removalIndex != -1 )
- {
- objectList_.remove(removalIndex);
- orderList_.remove(removalIndex);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataFlowManager.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataFlowManager.java
deleted file mode 100644
index e7ffe03f8..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataFlowManager.java
+++ /dev/null
@@ -1,293 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060313 130958 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.data;
-
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-
-
-public class DataFlowManager
-{
- private DataMappingRegistryImpl registry_;
- private Hashtable classTable_;
- private int order_;
- private IEnvironment environment_;
-
- public DataFlowManager( DataMappingRegistryImpl registry, IEnvironment environment )
- {
- registry_ = registry;
- classTable_ = new Hashtable();
- order_ = 0;
- environment_ = environment;
- }
-
- public DataMappingRegistry getMappingRegistry()
- {
- return registry_;
- }
-
- // Remove this instance object from the mapping table.
- public void unprocess( Object object )
- {
- String objectType = object.getClass().getName();
- ClassEntry classEntry = (ClassEntry)classTable_.get( objectType );
-
- if( classEntry != null )
- {
- classEntry.removeObject(object);
- }
- }
-
- // Add this object to our mapping table and call the setters
- // that have corresponding getter objects.
- public void process( Object object )
- {
- // Add this object to the classTable_ if required.
- String objectType = object.getClass().getName();
- ClassEntry classEntry = (ClassEntry)classTable_.get( objectType );
-
- environment_.getLog().log(ILog.INFO, "data", 5004, this, "process", "Processing: " + objectType );
-
- if( classEntry == null )
- {
- classEntry = new ClassEntry();
- classTable_.put( objectType, classEntry );
- }
-
- classEntry.addObject(object, order_++ );
-
- // Now process the setters for this object
- Vector ruleEntries = registry_.getRuleEntries( objectType );
-
- if( ruleEntries != null )
- {
- if( classEntry.setterList_ == null )
- {
- classEntry.setterList_ = getSetterList( object );
- }
-
- // For each setter in this object try to find a rule.
- for( int setterIndex = 0; setterIndex < classEntry.setterList_.size(); setterIndex++ )
- {
- ObjectMethod currentObjectMethod = new ObjectMethod();
- Method setterMethod = (Method)classEntry.setterList_.elementAt( setterIndex );
- RuleEntry currentRuleEntry = null;
-
- currentObjectMethod.order = -1;
-
- // Find rules that match this setter. Note: there can be more than one rule
- // that matches this setter. In this case we use the most recent, which is
- // defined by the order field.
- for( int index = 0; index < ruleEntries.size(); index++ )
- {
- RuleEntry ruleEntry = (RuleEntry)ruleEntries.elementAt( index );
-
- if( setterMethod.getName().equals( "set" + ruleEntry.targetProperty_ ) )
- {
- // We found a setter for this rule. Now find the getter method.
- // Note: getGetterMethod always returns a value, but if there is no
- // getters available it will set the order to -1.
- ObjectMethod getter = getGetterMethod( ruleEntry.sourceType_, ruleEntry.sourceProperty_ );
-
- if( getter.order == -1 )
- {
- environment_.getLog().log(ILog.INFO , "data", 5005, this, "process", " >>No getter found for property: " + setterMethod.getName());
- }
-
- if( currentObjectMethod.order < getter.order )
- {
- // We found a more recent getter.
- currentObjectMethod = getter;
- currentRuleEntry = ruleEntry;
- }
- }
- }
-
- if( currentObjectMethod.order != -1 )
- {
- invokeMethod( currentObjectMethod.object,
- currentObjectMethod.method,
- object,
- setterMethod,
- currentRuleEntry.transformer_ );
- }
- else
- {
- environment_.getLog().log(ILog.INFO, "data", 5006, this, "process", " >>No rule found for setter: " + setterMethod.getName() );
- }
- }
- }
- }
-
- /**
- * Find all the setters for this object and return a vector of them.
- *
- * @param object
- * @return
- */
- private Vector getSetterList( Object object )
- {
- Vector result = new Vector();
-
- Method[] methods = object.getClass().getMethods();
-
- for( int index = 0; index < methods.length; index++ )
- {
- Method method = methods[index];
- boolean isPublic = Modifier.isPublic( method.getModifiers() );
- Class returnType = method.getReturnType();
-
- if( isPublic &&
- returnType == Void.TYPE &&
- method.getParameterTypes().length == 1 &&
- method.getName().startsWith( "set" ))
- {
- method.setAccessible( true );
- result.add( method );
- }
- }
-
- return result;
- }
-
- private ObjectMethod getGetterMethod( String sourceType, String sourceProperty )
- {
- ClassEntry classEntry = (ClassEntry)classTable_.get( sourceType );
- ObjectMethod getterFound = new ObjectMethod();
-
- // Indicate that there is no getter yet.
- getterFound.order = -1;
-
- if( classEntry != null )
- {
- Object lastObject = classEntry.getLastObject();
-
- if( lastObject != null )
- {
- if( classEntry.getterList_ == null )
- {
- // Build the getter list.
- classEntry.getterList_ = getGetterList( lastObject );
- }
-
- for( int index = 0; index < classEntry.getterList_.size(); index++ )
- {
- Method getter = (Method)classEntry.getterList_.elementAt( index );
-
- if( getter.getName().equals( "get" + sourceProperty ))
- {
- getterFound.order = classEntry.getLastOrder();
- getterFound.method = getter;
- getterFound.object = lastObject;
- break;
- }
- }
- }
- }
-
- return getterFound;
- }
-
- private Vector getGetterList( Object object )
- {
- Vector result = new Vector();
-
- Method[] methods = object.getClass().getMethods();
-
- for( int index = 0; index < methods.length; index++ )
- {
- Method method = methods[index];
- boolean isPublic = Modifier.isPublic( method.getModifiers() );
- Class returnType = method.getReturnType();
-
- if( isPublic &&
- returnType != Void.TYPE &&
- method.getParameterTypes().length == 0 &&
- method.getName().startsWith( "get" ))
- {
- method.setAccessible( true );
- result.add( method );
- }
- }
-
- return result;
- }
-
- private void invokeMethod( Object sourceObject,
- Method sourceMethod ,
- Object clientObject,
- Method clientMethod,
- Transformer transformer)
- {
- Object data = null;
-
- try
- {
- data = sourceMethod.invoke( sourceObject, new Object[0] );
- }
- catch( InvocationTargetException exc )
- {
- exc.printStackTrace();
- // pgm Need to externalize this string.
- throw new IllegalArgumentException( "Provider \"" + sourceObject.getClass().getName() +
- "\" threw an exception." );
- }
- catch( IllegalAccessException exc )
- {
- exc.printStackTrace();
- // pgm Need to externalize this string.
- throw new IllegalArgumentException( "Provider \"" + sourceObject.getClass().getName() +
- "\" threw an exception." );
- }
-
- environment_.getLog().log(ILog.INFO, "data", 5007, this, "invokeMethod "," Setting prop: " + clientMethod.getName() + " data=" + data + " from: " + sourceObject.getClass().getName() );
-
-
- if( transformer != null )
- {
- data = transformer.transform( data );
- }
-
- try
- {
- clientMethod.invoke( clientObject, new Object[]{ data } );
- }
- catch( InvocationTargetException exc )
- {
- exc.printStackTrace();
- // pgm Need to externalize this string.
- throw new IllegalArgumentException( "Client \"" + clientObject.getClass().getName() +
- "\" threw an exception." );
- }
- catch( IllegalAccessException exc )
- {
- exc.printStackTrace();
- // pgm Need to externalize this string.
- throw new IllegalArgumentException( "Client \"" + clientObject.getClass().getName() +
- "\" threw an exception." );
- }
- }
-
- private class ObjectMethod
- {
- public Object object;
- public Method method;
- public int order;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistry.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistry.java
deleted file mode 100644
index 99da37a6f..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistry.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.data;
-
-public interface DataMappingRegistry
-{
- /**
- * This method adds a data mapping from a source object to a target
- * object. When the sourceObject is encountered by the framework the
- * sourceProperty will be called and the data will be passed to the
- * targetProperty in the targetObject. If a transformer object is
- * specified the sourceObject is transformed before being passed to
- * the target object.
- *
- * @param sourceType The source object.
- * @param sourceProperty The source property.
- * @param targetType The target object.
- * @param targetProperty The target property.
- * @param transformer The transformer object that transforms the
- * the source object.
- */
- public void addMapping( Class sourceType,
- String sourceProperty,
- Class targetType,
- String targetProperty,
- Transformer transformer );
-
- /**
- * This method is equivalent to the above with targetProperty the same
- * as the sourceProperty and with the transformer set to null.
- *
- * @param sourceType The source object.
- * @param sourceProperty The source property.
- * @param targetType The target object.
- */
- public void addMapping( Class sourceType,
- String sourceProperty,
- Class targetType );
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistryImpl.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistryImpl.java
deleted file mode 100644
index 7bea57788..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/DataMappingRegistryImpl.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.data;
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-
-public class DataMappingRegistryImpl implements DataMappingRegistry
-{
- private Hashtable rulesTable_ = new Hashtable();
-
- public Vector getRuleEntries( String targetType )
- {
- return (Vector)rulesTable_.get( targetType );
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry#addMapping(java.lang.Class, java.lang.String, java.lang.Class, java.lang.String, org.eclipse.wst.command.internal.env.core.data.Transformer)
- */
- public void addMapping( Class sourceType, String sourceProperty,
- Class targetType, String targetProperty,
- Transformer transformer)
- {
- Vector ruleEntries = (Vector)rulesTable_.get( targetType.getName() );
- RuleEntry ruleEntry = null;
-
- if( ruleEntries == null )
- {
- ruleEntries = new Vector();
- rulesTable_.put( targetType.getName(), ruleEntries );
- }
-
- // Find the rule entry
- for( int index = 0; index < ruleEntries.size(); index++ )
- {
- RuleEntry newEntry = (RuleEntry)ruleEntries.elementAt( index );
-
- if( sourceProperty.equals( newEntry.sourceProperty_ ) &&
- sourceType.equals( newEntry.sourceType_ ) &&
- targetProperty.equals( newEntry.targetProperty_ ) )
- {
- // The entry already exists
- ruleEntry = newEntry;
- break;
- }
- }
-
- if( ruleEntry == null )
- {
- // The rule didn't exist already so we will create a new one.
- ruleEntry = new RuleEntry(sourceType.getName(), sourceProperty, targetProperty, transformer );
- ruleEntries.add( ruleEntry );
- }
- else
- {
- // Just update the transformer.
- ruleEntry.transformer_ = transformer;
- }
- }
-
- //ruleEntries_.
-// String sourceClass = sourceType.getName();
-// String targetClass = targetType.getName();
-// Vector entries = (Vector)ruleEntries_.get( sourceClass );
-// RuleEntry ruleEntry = null;
-//
-// if( entries != null )
-// {
-// // Check to see if this mapping already exists.
-// for( int index = 0; index < entries.size(); index++ )
-// {
-// RuleEntry foundEntry = (RuleEntry)entries.elementAt( index );
-//
-// if( sourceProperty.equals( foundEntry.sourceProperty_ ) &&
-// targetType.equals( foundEntry.targetType_ ) &&
-// targetProperty.equals( foundEntry.targetProperty_ ) )
-// {
-// ruleEntry = foundEntry;
-// ruleEntry.transformer_ = transformer;
-// }
-// }
-//
-// // There is an existing vector for this sourceClass, but it didn't
-// // contain this new rule so we will add it in.
-// if( ruleEntry == null )
-// {
-// ruleEntry = new RuleEntry( sourceProperty, targetClass, targetProperty, transformer );
-// entries.add( ruleEntry );
-// }
-// }
-// else
-// {
-// // We need to create a new vector for this sourceClass.
-// entries = new Vector();
-// ruleEntry = new RuleEntry( sourceProperty, targetClass, targetProperty, transformer );
-// entries.add( ruleEntry );
-// ruleEntries_.put( sourceClass, entries );
-// }
-// }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry#addMapping(java.lang.Class, java.lang.String, java.lang.Class)
- */
- public void addMapping(Class sourceType, String sourceProperty, Class targetType)
- {
- addMapping( sourceType, sourceProperty, targetType, sourceProperty, null );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/RuleEntry.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/RuleEntry.java
deleted file mode 100644
index df242c105..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/RuleEntry.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.data;
-
-
-public class RuleEntry
-{
- public String sourceType_;
- public String sourceProperty_;
- public String targetProperty_;
- public Transformer transformer_;
-
-
- public RuleEntry( String sourceType,
- String sourceProperty,
- String targetProperty,
- Transformer transformer )
- {
- sourceType_ = sourceType;
- sourceProperty_ = sourceProperty;
- targetProperty_ = targetProperty;
- transformer_ = transformer;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/Transformer.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/Transformer.java
deleted file mode 100644
index 19c3c01e7..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/data/Transformer.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.data;
-
-/**
- * This interface is used to transform an object from one class to another.
- *
- */
-public interface Transformer
-{
- /*
- * @return returns a transformed object based on the input value.
- */
- public Object transform( Object value );
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/AbstractCommandFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/AbstractCommandFragment.java
deleted file mode 100644
index d18a2f2db..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/AbstractCommandFragment.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-
-
-/**
- * This class is used as the base class for other standard fragment classes.
- *
-**/
-public abstract class AbstractCommandFragment implements CommandFragment
-{
- private CommandFactory commandFactory_;
- private String id_;
- private boolean doNotRunInTransaction_ = false;
-
- /**
- * Copy constructor.
- * @param fragment
- */
- protected AbstractCommandFragment( AbstractCommandFragment fragment )
- {
- commandFactory_ = fragment.commandFactory_;
- id_ = fragment.id_;
- }
-
- /**
- * Creates a new AbstractCommandFragment.
- *
- * @param command the executable command for this fragment.
- **/
- public AbstractCommandFragment( CommandFactory commandFactory, String id )
- {
- commandFactory_ = commandFactory;
- id_ = id;
- }
-
- public String getId()
- {
- return id_;
- }
-
- public void setId( String id )
- {
- id_ = id;
- }
-
- /**
- * Gets executable command associated with this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFactory getCommandFactory()
- {
- return commandFactory_;
- }
-
- /**
- * This method is called retrieve the data mappings for this command fragment.
- */
- public void registerDataMappings( DataMappingRegistry registry )
- {
- // The default behaviour is not to add any entries to the registry.
- }
-
- /**
- *
- * @return If the commands for this fragment should not be run within a transaction then
- * this method should return true. If the fragment does not care if it is run in a transaction
- * or not it should return false.
- */
- public boolean doNotRunInTransaction()
- {
- return doNotRunInTransaction_;
- }
-
- /**
- * Sets the run in transaction property.
- * @param doNotRunInTransaction
- */
- public void setDoNotRunInTransaction( boolean doNotRunInTransaction )
- {
- doNotRunInTransaction_ = doNotRunInTransaction;
- }
-
- /**
- * All fragments need to be cloneable.
- **/
- abstract public Object clone();
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/BooleanFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/BooleanFragment.java
deleted file mode 100644
index 571156de4..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/BooleanFragment.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-
-
-/**
- * This class returns either the true fragment or the false fragment
- * based on the response from the condition object.
-**/
-public class BooleanFragment extends AbstractCommandFragment
-{
- private CommandFragment trueFragment_;
- private CommandFragment falseFragment_;
- private Condition condition_;
-
- /**
- * Create a BooleanFragment with default values.
- *
- */
- public BooleanFragment()
- {
- this( null, null, new Condition()
- {
- public boolean evaluate()
- {
- return true;
- }
- },
- null, "" );
- }
-
- /**
- *
- * @param trueFragment The fragment chosen if the condition is true.
- * @param falseFragment The fragment chosen if the condition is false.
- * @param condition The condition.
- */
- public BooleanFragment( CommandFragment trueFragment,
- CommandFragment falseFragment,
- Condition condition )
- {
- this( trueFragment, falseFragment, condition, null, "" );
- }
-
- /**
- * Creates a new BooleanFragment.
- *
- * @param trueFragment returned if condition is true.
- * @param falseFragment returned if condition is false.
- * @param condition the condition for this fragment.
- * @param state the state passed to the condition.
- * @param command the exectable command for this fragment.
- **/
- public BooleanFragment( CommandFragment trueFragment,
- CommandFragment falseFragment,
- Condition condition,
- CommandFactory commandFactory,
- String id )
- {
- super( commandFactory, id );
-
- trueFragment_ = trueFragment;
- falseFragment_ = falseFragment;
- condition_ = condition;
- }
-
- /**
- * Copy constructor.
- * @param frag
- */
- protected BooleanFragment( BooleanFragment frag )
- {
- this( null,
- null,
- frag.condition_,
- frag.getCommandFactory(),
- frag.getId() );
-
- // Now we have to clone in the true and false
- // fragments.
- trueFragment_ = (CommandFragment)trueFragment_.clone();
- falseFragment_ = (CommandFragment)falseFragment_.clone();
- }
-
- /**
- * Makes a copy of the CommandFragment.
- *
- * @return returns a copy of this fragment.
- **/
- public Object clone()
- {
- return new BooleanFragment( this );
- }
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment()
- {
- return condition_.evaluate() ? trueFragment_ : falseFragment_;
- }
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment( CommandFragment fragment )
- {
- return null;
- }
-
- /**
- * Sets the condition.
- * @param condition
- */
- public void setCondition( Condition condition )
- {
- condition_ = condition;
- }
-
- /**
- * Sets the true fragment.
- * @param fragment
- */
- public void setTrueFragment( CommandFragment fragment )
- {
- trueFragment_ = fragment;
- }
-
- /**
- * Sets the false fragment.
- * @param fragment
- */
- public void setFalseFragment( CommandFragment fragment )
- {
- falseFragment_ = fragment;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ChoiceFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ChoiceFragment.java
deleted file mode 100644
index 3982cbd05..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ChoiceFragment.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.command.internal.env.core.common.Evaluate;
-
-
-/**
- * This class returns a fragment from a list of fragments based
- * on the object returned from the Evaluate object.
-**/
-public class ChoiceFragment extends AbstractCommandFragment
-{
- private Hashtable fragmentTable_;
- private Evaluate evaluate_;
-
- /**
- * Create a clone with new a new hashtable.
- **/
- protected ChoiceFragment( ChoiceFragment frag )
- {
- super( frag.getCommandFactory(), frag.getId() );
-
- evaluate_ = frag.evaluate_;
- fragmentTable_ = new Hashtable();
-
- Enumeration keys = frag.fragmentTable_.keys();
-
- // Clone the fragments in the table.
- while( keys.hasMoreElements() )
- {
- Object key = keys.nextElement();
- fragmentTable_.put( key, ((CommandFragment)frag.fragmentTable_.get(key)).clone() );
- }
- }
-
- public ChoiceFragment( Object[] keys,
- CommandFragment[] fragments )
- {
- this( keys, fragments, null, null, "" );
- }
-
- public ChoiceFragment( Object[] keys,
- CommandFragment[] fragments,
- Evaluate evaluate )
- {
- this( keys, fragments, evaluate, null, "" );
- }
-
- public void setEvaluate( Evaluate evaluate )
- {
- evaluate_ = evaluate;
- }
-
- /**
- * Constructs a choice fragment. The key at index X is mapped to
- * to the fragment at index X.
- *
- * @param keys these keys must be unique as determined by the equals method.
- * They are used to identify which fragment to return.
- * @param fragments these are the fragments to be returned. Null is not allowed
- * as an entry in the array.
- * @param evaluate the object returned by this evaluate object is used
- * as the key to locate a fragment.
- * @param state the state passed to evaluate.
- **/
- public ChoiceFragment( Object[] keys,
- CommandFragment[] fragments,
- Evaluate evaluate,
- CommandFactory commandFactory,
- String id )
- {
- super( commandFactory, id );
-
- evaluate_ = evaluate;
- fragmentTable_ = new Hashtable();
-
- if( keys == null || fragments == null || keys.length != fragments.length )
- {
- throw new IllegalArgumentException( "Bad keys or fragments." );
- }
- else
- {
- // Create the fragment table.
- for( int index = 0; index < keys.length; index++ )
- {
- fragmentTable_.put( keys[index], fragments[index] );
- }
- }
- }
-
- /**
- * Makes a copy of the CommandFragment.
- *
- * @return returns a copy of this fragment.
- **/
- public Object clone()
- {
- return new ChoiceFragment( this );
- }
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment()
- {
- Object key = evaluate_.evaluate();
- CommandFragment fragment = (CommandFragment)fragmentTable_.get(key);
-
- if( fragment == null )
- {
- throw new IllegalArgumentException( "Key not found in table. Key=" + key );
- }
-
- return fragment;
- }
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment( CommandFragment fragment )
- {
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFactoryFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFactoryFragment.java
deleted file mode 100644
index 19075ac57..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFactoryFragment.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-public abstract class CommandFactoryFragment implements CommandFragment
-{
- private Vector commands_;
-
- /**
- * Subclasses should override this method and return
- * an CommandFactory.
- * @return
- */
- public abstract ICommandFactory getICommandFactory();
-
- /**
- * All wizard fragments need to be cloneable.
- **/
- public abstract Object clone();
-
- protected CommandFactoryFragment( CommandFactoryFragment frag )
- {
- commands_ = frag.commands_;
- }
-
- public CommandFactoryFragment()
- {
- }
-
- /**
- *
- * @return Returns a unique identifier for this fragment.
- */
- public String getId()
- {
- return "";
- }
-
- /**
- * Gets executable command associated with this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFactory getCommandFactory()
- {
- return null;
- }
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment()
- {
- CommandFragment result = null;
-
- commands_ = createCommands();
-
- if( commands_.size() > 0 )
- {
- result = (ChildFragment)commands_.elementAt(0);
- }
-
- return result;
- }
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment( CommandFragment fragment )
- {
- CommandFragment result = null;
-
- if( commands_ != null && fragment instanceof ChildFragment )
- {
- ChildFragment child = (ChildFragment)fragment;
-
- int index = child.index_;
-
- if( index != -1 )
- {
- index++;
-
- if( index < commands_.size() )
- {
- result = (CommandFragment)commands_.elementAt( index );
- }
- }
- }
-
- return result;
- }
-
- /*
- * This method is called to retrieve the data mappings for this command fragment.
- */
- public void registerDataMappings( DataMappingRegistry registry )
- {
- }
-
- /**
- *
- * @return If the commands for this fragment should not be run within a transaction then
- * this method should return true. If the fragment does not care if it is run in a transaction
- * or not it should return false.
- */
- public boolean doNotRunInTransaction()
- {
- return false;
- }
-
- private Vector createCommands()
- {
- Vector commands = new Vector();
- ICommandFactory factory = getICommandFactory();
- int index = 0;
-
- while( factory != null && factory.hasNext() )
- {
- AbstractDataModelOperation command = factory.getNextCommand();
-
- commands.add( new ChildFragment( command, index++ ) );
- }
-
- return commands;
- }
-
- private class ChildFragment extends SimpleFragment
- {
- int index_;
-
- public ChildFragment( AbstractDataModelOperation command, int index )
- {
- super( command, command.getID() );
- index_ = index;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragment.java
deleted file mode 100644
index 03af35eca..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragment.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-
-
-/**
- * This interface describes a list of interruptable commands. The
- * order of this list of commands is defined by the getFirstSubFragment and
- * getNextSubFragment methods.
-**/
-public interface CommandFragment extends Cloneable
-{
- /**
- *
- * @return Returns a unique identifier for this fragment.
- */
- public String getId();
-
- /**
- * Gets executable command associated with this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFactory getCommandFactory();
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment();
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment( CommandFragment fragment );
-
- /*
- * This method is called to retrieve the data mappings for this command fragment.
- */
- public void registerDataMappings( DataMappingRegistry registry );
-
- /**
- *
- * @return If the commands for this fragment should not be run within a transaction then
- * this method should return true. If the fragment does not care if it is run in a transaction
- * or not it should return false.
- */
- public boolean doNotRunInTransaction();
-
- /**
- * All wizard fragments need to be cloneable.
- **/
- public Object clone();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentEngine.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentEngine.java
deleted file mode 100644
index 12488aaa0..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentEngine.java
+++ /dev/null
@@ -1,467 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060223 129232 pmoogk@ca.ibm.com - Peter Moogk
- * 20060313 130958 pmoogk@ca.ibm.com - Peter Moogk
- * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import java.util.Stack;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.command.internal.env.core.CommandManager;
-import org.eclipse.wst.command.internal.env.core.EnvironmentCoreMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-
-/**
- * The CommandFragmentEngine provides a convienent way to traverse CommandFragments
- * and possiblity execute its associate Command.
- */
-public class CommandFragmentEngine implements CommandManager
-{
- private Stack commandStack_;
- private FragmentListener undoFragmentListener_;
- private FragmentListener nextFragmentListener_;
- private FragmentListener afterExecuteFragmentListener_;
- private FragmentListener peekFragmentListener_;
- private DataFlowManager dataManager_;
- private IEnvironment environment_;
- private IStatus lastStatus_;
-
- /**
- * Creates a CommandFragmentEngine.
- *
- * @param startFragment the root fragment where traversal will begin.
- * @param dataManager the data manager containing all of the data mappings.
- * @param environment the environment.
- */
- public CommandFragmentEngine( CommandFragment startFragment, DataFlowManager dataManager, IEnvironment environment )
- {
- SequenceFragment root = new SequenceFragment();
- root.add( startFragment );
-
- commandStack_ = new Stack();
-
- addToStack( root, -1 );
- addToStack( startFragment, 0 );
-
- dataManager_ = dataManager;
- environment_ = environment;
- }
-
- public String toString()
- {
- String newline = System.getProperty("line.separator");
- StringBuffer buffer = new StringBuffer();
-
- buffer.append(newline);
- buffer.append("Command stack start:");
- buffer.append(newline);
-
- for( int index = 0; index < commandStack_.size(); index++ )
- {
- CommandListEntry entry = (CommandListEntry)commandStack_.elementAt(index);
- entry.dump(buffer, index);
- }
-
- buffer.append("Command start end:");
- buffer.append(newline);
-
- return buffer.toString();
- }
-
- /**
- * @return returns the Data mapping registry.
- */
- public DataMappingRegistry getMappingRegistry()
- {
- return dataManager_.getMappingRegistry();
- }
-
- /**
- *
- * @return the Status from the last Command executed.
- */
- public IStatus getLastStatus()
- {
- return lastStatus_;
- }
-
- /**
- */
- public boolean isUndoEnabled()
- {
- return true;
- }
-
- /**
- * Sets the next fragment listener for this engine. This listener will be
- * called for each fragment that is traversed in moveForwardToNextStop operation.
- *
- * @param listener the fragment listener.
- */
- public void setNextFragmentListener( FragmentListener listener )
- {
- nextFragmentListener_ = listener;
- }
-
- public void setAfterExecuteFragmentListener( FragmentListener listener )
- {
- afterExecuteFragmentListener_ = listener;
- }
-
- /**
- * Sets the next fragment listener for this engine. This listener will be
- * called for each fragment that is traversed in peekForwardToNextStop operation.
- *
- * @param listener the fragment listener.
- */
- public void setPeekFragmentListener( FragmentListener listener )
- {
- peekFragmentListener_ = listener;
- }
-
- /**
- * Sets the peek fragment listener for this engine. This listener will be
- * called for each fragment that is traversed in undoToLastStop operation.
- *
- * @param listener the fragment listener.
- */
- public void setUndoFragmentListener( FragmentListener listener )
- {
- undoFragmentListener_ = listener;
- }
-
- /**
- * Traverse the CommandFragments starting with the CommandFragment on the
- * top of the command fragment stack. The operation does NOT change the
- * command fragment stack and does not execute any command associated with
- * a CommandFragment.
- */
- public void peekForwardToNextStop()
- {
- CommandListEntry topEntry = (CommandListEntry)commandStack_.lastElement();
- int parentIndex = topEntry.parentIndex_;
- CommandFragment childFragment = topEntry.fragment_;
- boolean continueLoop = navigateChildFragments( childFragment, false );
-
- while( parentIndex != -1 && continueLoop )
- {
- CommandListEntry parentEntry = (CommandListEntry)commandStack_.elementAt( parentIndex );
- CommandFragment parentFragment = parentEntry.fragment_;
- CommandFragment nextFragment = parentFragment.getNextSubFragment( childFragment );
-
- if( nextFragment == null )
- {
- // There are no more sibling fragments to navigate so we will pop up to the parent
- // an continue navigation there.
- parentIndex = parentEntry.parentIndex_;
- childFragment = parentFragment;
- }
- else
- {
- if( navigateChildFragments( nextFragment, true ) )
- {
- // We are continuing to navigate. This time we want to traverse the sibling
- // of nextFragment.
- childFragment = nextFragment;
- }
- else
- {
- // We are stopping our navigation.
- continueLoop = false;
- }
- }
- }
- }
-
-
- /**
- * Traverse the CommandFragments starting with the CommandFragment on the
- * top of the command fragment stack. This operation does change the
- * command fragment stack and does execute any command associated with
- * a CommandFragment.
- */
- public void moveForwardToNextStop( IProgressMonitor monitor )
- {
- CommandListEntry topEntry = (CommandListEntry)commandStack_.lastElement();
- int parentIndex = topEntry.parentIndex_;
- CommandFragment currentFragment = topEntry.fragment_;
- boolean continueExecute = visitTop( monitor );
- CommandFragment childFragment = currentFragment.getFirstSubFragment();
-
- // If the current fragment has child fragments we need to traverse these children.
- while( childFragment != null && continueExecute )
- {
- parentIndex = commandStack_.size() - 1;
- addToStack( childFragment, parentIndex );
- continueExecute = visitTop( monitor );
- currentFragment = childFragment;
- childFragment = currentFragment.getFirstSubFragment();
- }
-
- // The previous while loop has guaranteed that currentFragment has no
- // child fragments. This while loop assumes this to be the case.
- while( parentIndex != -1 && continueExecute )
- {
- CommandListEntry parentEntry = (CommandListEntry)commandStack_.elementAt( parentIndex );
- CommandFragment parentFragment = parentEntry.fragment_;
- CommandFragment nextFragment = null;
-
- if( currentFragment == null )
- {
- nextFragment = parentFragment.getFirstSubFragment();
- }
- else
- {
- nextFragment = parentFragment.getNextSubFragment( currentFragment );
- }
-
- if( nextFragment == null )
- {
- // There are no more sibling fragments to navigate so we will pop up to the parent
- // and continue navigation there.
- parentIndex = parentEntry.parentIndex_;
- currentFragment = parentFragment;
- }
- else
- {
- // We have a new fragment that we need to add to the top of the stack.
- addToStack( nextFragment, parentIndex );
- parentIndex = commandStack_.size() - 1;
- continueExecute = visitTop( monitor );
- currentFragment = null;
- }
- }
- }
-
- /**
- *
- * @return returns true if the there is not longer any elements on the stack. Note:
- * that last two entries are always left on the stack.
- */
- public boolean undoToLastStop()
- {
- CommandListEntry topEntry = (CommandListEntry)commandStack_.lastElement();
-
- if( topEntry.fragmentStopped_ && !topEntry.beforeExecute_ )
- {
- // Normally the command at the top of the stack has not been executed. If
- // it has been execute, it means that we tried to execute and it failed.
- // The first command in the command stack failed. Therefore, we should
- // only undo this command.
- performUndo( topEntry );
- return topEntry.parentIndex_ == 0;
- }
-
- performUndo( topEntry );
-
- while( topEntry.parentIndex_ != 0 )
- {
- commandStack_.pop();
- topEntry = (CommandListEntry)commandStack_.lastElement();
-
- performUndo( topEntry );
-
- if( topEntry.fragmentStopped_ )
- {
- break;
- }
- }
-
- return topEntry.parentIndex_ == 0;
- }
-
- private void performUndo( CommandListEntry entry )
- {
- if( entry.parentIndex_ == 0 ) return;
-
- AbstractDataModelOperation cmd = entry.command_;
-
- if( cmd != null && cmd.canUndo() && !entry.beforeExecute_ )
- {
- try
- {
- cmd.undo( null, null );
- dataManager_.unprocess(cmd);
- }
- catch( Exception exc )
- {
- exc.printStackTrace();
- }
-
- entry.beforeExecute_ = true;
- }
-
- undoFragmentListener_.notify( entry.fragment_ );
- }
-
- private boolean navigateChildFragments( CommandFragment fragment, boolean visitCurrent )
- {
- boolean continueNavigate = true;
- CommandFragment childFrag = null;
-
- if( visitCurrent )
- {
- continueNavigate = peekFragmentListener_.notify( fragment );
- dataManager_.process( fragment );
- }
-
- childFrag = fragment.getFirstSubFragment();
-
- while( childFrag != null && continueNavigate )
- {
- continueNavigate = navigateChildFragments( childFrag, true );
- childFrag = fragment.getNextSubFragment( childFrag );
- }
-
- return continueNavigate;
- }
-
- private boolean visitTop( IProgressMonitor monitor )
- {
- CommandListEntry entry = (CommandListEntry)commandStack_.lastElement();
- boolean continueNavigate = nextFragmentListener_.notify( entry.fragment_ );
-
- if( continueNavigate )
- {
- // Call the setters for this fragment.
- dataManager_.process( entry.fragment_ );
-
- // Add any rules to the mapping registry before we execute the command.
- entry.fragment_.registerDataMappings( dataManager_.getMappingRegistry() );
-
- lastStatus_ = runCommand( entry, monitor );
-
- if( afterExecuteFragmentListener_ != null )
- {
- continueNavigate = afterExecuteFragmentListener_.notify( entry.fragment_ );
-
- if( !continueNavigate )
- {
- // The after execution listener has indicated that execution should stop.
- // Therefore, we will upgrade the severity of the last status to ERROR.
- lastStatus_ = new Status( IStatus.ERROR,
- lastStatus_.getPlugin(),
- lastStatus_.getCode(),
- lastStatus_.getMessage(),
- lastStatus_.getException() );
- }
- }
-
- if( continueNavigate && lastStatus_.getSeverity() == IStatus.ERROR ) continueNavigate = false;
- }
-
- if( !continueNavigate ) entry.fragmentStopped_ = true;
-
- return continueNavigate;
- }
-
- private void addToStack( CommandFragment fragment, int parentIndex )
- {
- CommandListEntry entry = new CommandListEntry( fragment, parentIndex );
- commandStack_.push( entry );
- }
-
- // Subclasses can do initialization before the execution of a command here
- protected IStatus initBeforeExecute( AbstractDataModelOperation operation )
- {
- return Status.OK_STATUS;
- }
-
- private IStatus runCommand( CommandListEntry entry, IProgressMonitor monitor )
- {
- CommandFactory factory = entry.fragment_.getCommandFactory();
- IStatus status = Status.OK_STATUS;
-
- if( factory != null )
- {
- AbstractDataModelOperation cmd = factory.create();
-
- entry.command_ = cmd;
-
- if( cmd != null )
- {
- try
- {
- dataManager_.process( cmd );
-
- status = initBeforeExecute( cmd );
-
- environment_.getLog().log(ILog.INFO, "command", 5001, this, "runCommand", "Executing: " + cmd.getClass().getName());
-
- cmd.setEnvironment( environment_ );
- status = cmd.execute( monitor, null );
-
- entry.beforeExecute_ = false;
- }
- catch( Throwable exc )
- {
- IStatus unexpectedError = StatusUtils.errorStatus( exc );
- MultiStatus parentStatus = new MultiStatus( "id", 0, new IStatus[]{unexpectedError},
- EnvironmentCoreMessages.MSG_ERROR_UNEXPECTED_ERROR, null );
- environment_.getStatusHandler().reportError( parentStatus );
- status = unexpectedError;
- }
- finally
- {
- String message = "Ok";
-
- if( status.getSeverity() == Status.ERROR )
- {
- message = "Error: " + status.getMessage();
- }
-
- environment_.getLog().log(ILog.INFO, "command", 5001, this, "runCommand", "Execution status: " + message );
- }
- }
- }
-
- return status;
- }
-
- private class CommandListEntry
- {
- public CommandListEntry( CommandFragment fragment, int parentIndex )
- {
- fragment_ = fragment;
- parentIndex_ = parentIndex;
- fragmentStopped_ = false;
- beforeExecute_ = true;
- }
-
- public AbstractDataModelOperation command_;
- public CommandFragment fragment_;
- public int parentIndex_;
- public boolean fragmentStopped_;
- public boolean beforeExecute_;
-
- public void dump( StringBuffer buffer, int index )
- {
- String newline = System.getProperty("line.separator");
- String line = " " + index + "- frag: " + fragment_.getId() + " parIndex: " + parentIndex_ + " stop: " + fragmentStopped_ + " beforeExecute: " + beforeExecute_ ;
- buffer.append(line);
- buffer.append(newline);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactory.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactory.java
deleted file mode 100644
index a99be49b3..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactory.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-/**
- * This interface provides a way to create CommandFragments.
- *
- */
-public interface CommandFragmentFactory
-{
- /**
- *
- * @return returns a created CommandFragment object.
- */
- public CommandFragment create();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactoryFactory.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactoryFactory.java
deleted file mode 100644
index 0f1701c09..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/CommandFragmentFactoryFactory.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-public interface CommandFragmentFactoryFactory
-{
- /**
- * The framework calls this method to get the CommandFragmentFactory
- * for a particular extension.
- *
- * @return Creates a CommandFragmentFactory.
- */
- public CommandFragmentFactory create();
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ExtensionFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ExtensionFragment.java
deleted file mode 100644
index 7751ba603..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/ExtensionFragment.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import java.util.Hashtable;
-import org.eclipse.wst.command.internal.env.core.registry.CommandRegistry;
-
-
-public class ExtensionFragment extends AbstractCommandFragment
-{
- private String[] ids_;;
- private CommandRegistry extensionRegistry_;
- private Hashtable fragments_;
-
- /**
- * The default constructor
- *
- */
- public ExtensionFragment()
- {
- super( null, "" );
- fragments_ = new Hashtable();
- }
-
- /**
- * Copy constructor.
- * @param Fragment the fragment to copy
- */
- protected ExtensionFragment( ExtensionFragment fragment )
- {
- super( fragment );
-
- ids_ = fragment.ids_;
- extensionRegistry_ = fragment.extensionRegistry_;
- fragments_ = fragment.fragments_;
- }
-
- /**
- *
- * @param ids Sets the IDs for this extension fragment.
- */
- public void setExtensionIds( String[] ids )
- {
- ids_ = ids;
- }
-
- /**
- *
- * @param registry Sets the registry for this extension fragment.
- */
- public void setExtensionRegistry( CommandRegistry registry )
- {
- extensionRegistry_ = registry;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#getFirstSubFragment()
- */
- public CommandFragment getFirstSubFragment()
- {
- CommandFragmentFactoryFactory factory = extensionRegistry_.getFactoryFactory( ids_ );
-
- if( factory == null ) return null;
-
- CommandFragment fragment = (CommandFragment)fragments_.get( factory );
-
- if( fragment == null )
- {
- fragment = factory.create().create();
- fragments_.put( factory, fragment );
- }
-
- return fragment;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#getNextSubFragment(org.eclipse.wst.command.internal.env.core.fragment.CommandFragment)
- */
- public CommandFragment getNextSubFragment(CommandFragment fragment)
- {
- return null;
- }
-
- /**
- * @see java.lang.Object#clone()
- */
- public Object clone()
- {
- return new ExtensionFragment( this );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/FragmentListener.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/FragmentListener.java
deleted file mode 100644
index 01cd7a163..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/FragmentListener.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-/**
- * This interface should be implement for code that needs to listen to fragments
- * that are being traverse by the CommandFragmentEngine.
- *
- */
-public interface FragmentListener
-{
- /*
- * Notifies this listener that a commandFragment is being visited during
- * a traversal.
- */
- public boolean notify( CommandFragment commandFragment );
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopCondition.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopCondition.java
deleted file mode 100644
index 8c3e4d416..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopCondition.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-/**
- * This interface can be used when a conditional object needs to be returned.
-**/
-public interface LoopCondition
-{
- /**
- * Evaluates a loop condition.
- *
- * @param loop the loop fragment that is being evaluated.
- * @param fragment the child fragment of the loop
- * under evaluation. Note: fragment can be null.
- * @return returns an object based on some evaluated condition.
- **/
- public boolean evaluate( LoopFragment loop, CommandFragment fragment );
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopFragment.java
deleted file mode 100644
index 60cdc9a72..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/LoopFragment.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.command.internal.env.core.common.RangeVector;
-
-
-/**
- * This class returns a dynamically determined number of
- * fragments. This loop will return the fragment parameter
- * as long as the stopCondition evaluates to false. Otherwise,
- * null is returned.
-**/
-public class LoopFragment extends AbstractCommandFragment
-{
- private LoopCondition stopCondition_;
- private CommandFragment fragment_;
- private RangeVector fragmentHistory_;
-
- /**
- * Copy contructor for this fragment.
- **/
- protected LoopFragment( LoopFragment fragment )
- {
- this( fragment.fragment_,
- fragment.stopCondition_,
- fragment.getCommandFactory(),
- fragment.getId() );
- }
-
- public LoopFragment( CommandFragment fragment,
- LoopCondition stopCondition )
- {
- this( fragment, stopCondition, null, "" );
- }
-
- /**
- * @param fragment the fragment that will be returned by the loop.
- * @param stopCondition when false the fragment will be returned,
- * otherwise null is returned.
- * @param state the state passed to the condition.
- * @param command the executable command for this fragment.
- **/
- public LoopFragment( CommandFragment fragment,
- LoopCondition stopCondition,
- CommandFactory commandFactory,
- String id )
- {
- super( commandFactory, id );
-
- fragment_ = fragment;
- stopCondition_ = stopCondition;
- fragmentHistory_ = new RangeVector();
- }
-
- /**
- * Makes a copy of the CommandFragment.
- *
- * @return returns a copy of this fragment.
- **/
- public Object clone()
- {
- return new LoopFragment( this );
- }
-
- /**
- * Returns the index of the fragment
- *
- * @param fragment the fragment to search.
- * @return the index of this fragment.
- **/
- public int indexOf( CommandFragment fragment )
- {
- return fragmentHistory_.indexOf( fragment );
- }
-
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment()
- {
- return getNextSubFragment( null );
- }
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment( CommandFragment frag )
- {
- CommandFragment nextFrag = null;
-
- if( stopCondition_.evaluate( this, frag ) )
- {
- // The stop condition has been met.
- // Do nothing.
- }
- else
- {
- int fragIndex = indexOf( frag );
-
- // Note: when fragment == null the fragIndex
- // should be -1. Therefore, if there
- // is already a first fragment in
- // fragmentHistory that will be returned.
- if( fragIndex + 1 < fragmentHistory_.size() )
- {
- // We have a copy of the fragment already.
- nextFrag = (CommandFragment)(fragmentHistory_.elementAt( fragIndex + 1 ));
- }
- else
- {
- nextFrag = (CommandFragment)(fragment_.clone());
- fragmentHistory_.add( nextFrag );
- }
- }
-
- return nextFrag;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SequenceFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SequenceFragment.java
deleted file mode 100644
index 190871230..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SequenceFragment.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import java.util.Arrays;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-
-
-/**
- * This class implements a sequence of CommandFragments.
-**/
-public class SequenceFragment extends AbstractCommandFragment
-{
- private List fragmentList_;
-
- protected SequenceFragment( SequenceFragment frag )
- {
- super( frag.getCommandFactory(), frag.getId() );
-
- fragmentList_ = new Vector();
-
- for( int index = 0; index < frag.fragmentList_.size(); index++ )
- {
- Object newFrag = ((CommandFragment)frag.fragmentList_.get(index)).clone();
- fragmentList_.add( newFrag );
- }
- }
-
- public SequenceFragment( CommandFragment[] fragments,
- CommandFactory commandFactory,
- String id )
- {
- super( commandFactory, id );
-
- if( fragments != null )
- {
- fragmentList_ = Arrays.asList( fragments );
- }
- else
- {
- fragmentList_ = new Vector();
- }
- }
-
- public SequenceFragment()
- {
- super( null, "" );
-
- fragmentList_ = new Vector();
- }
-
- /**
- * Appends a fragment to the sequence.
- **/
- public void add( CommandFragment fragment )
- {
- fragmentList_.add( fragment );
- }
-
- /**
- * Makes a copy of the CommandFragment.
- *
- * @return returns a copy of this fragment.
- **/
- public Object clone()
- {
- return new SequenceFragment( this );
- }
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment()
- {
- CommandFragment fragment = null;
-
- if( fragmentList_ == null || fragmentList_.size() == 0 )
- {
- fragment = null;
- }
- else
- {
- fragment = (CommandFragment)( fragmentList_.get(0) );
- }
-
- return fragment;
- }
-
- /**
- * Gets the next child fragment for this fragment.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment( CommandFragment fragment )
- {
- int index = fragmentList_.indexOf( fragment );
-
- if( index == -1 )
- {
- throw new IllegalArgumentException( "Fragment not found in sequence.");
- }
- else
- {
- index++;
-
- if( index >= fragmentList_.size() )
- {
- // There is nothing following this fragment so return null;
- return null;
- }
- else
- {
- // Return the next fragment.
- return (CommandFragment)(fragmentList_.get( index ));
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SimpleFragment.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SimpleFragment.java
deleted file mode 100644
index 0d1f1e4eb..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/fragment/SimpleFragment.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.fragment;
-
-import org.eclipse.wst.command.internal.env.core.CommandFactory;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * This class implements an empty of WizardFragment.
-**/
-public class SimpleFragment extends AbstractCommandFragment
-{
- public SimpleFragment()
- {
- this( (CommandFactory)null, "" );
- }
-
- public SimpleFragment( String id )
- {
- this( (CommandFactory)null, id );
- }
-
- public SimpleFragment( final AbstractDataModelOperation operation, String id )
- {
- super( new CommandFactory()
- {
- public AbstractDataModelOperation create()
- {
- return operation;
- }
- }, id );
- }
-
- public SimpleFragment( CommandFactory commandFactory, String id )
- {
- super( commandFactory, id );
- }
-
- /**
- * Copy constructor for fragment.
- **/
- protected SimpleFragment( SimpleFragment fragment )
- {
- super( fragment.getCommandFactory(), fragment.getId() );
- }
-
- /**
- * All wizard fragments need to be cloneable.
- **/
- public Object clone()
- {
- return new SimpleFragment( this );
- }
-
-
- /**
- * Gets the first child fragment for this fragment.
- *
- * @return returns the first child fragment for this fragment. Returns
- * null when there is no first child.
- **/
- public CommandFragment getFirstSubFragment(){ return null; }
-
- /**
- * Gets the next child fragment for this fragment.
- * Since this is a simple fragment, there is no next fragment
- * so we will always return null.
- *
- * @return returns the next child fragment for this fragment. Returns null
- * when there is no next child.
- **/
- public CommandFragment getNextSubFragment( CommandFragment fragment ){ return null; }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/registry/CommandRegistry.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/registry/CommandRegistry.java
deleted file mode 100644
index 86f4829b5..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/registry/CommandRegistry.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.registry;
-
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory;
-
-/**
- * This interface provides a way to create a CommandFragmentFactoryFactory
- * from an array of ids.
- *
- */
-public interface CommandRegistry
-{
- /**
- * Creates a CommandFragmentFactoryFactory from an array of ids.
- *
- * @param ids the ids.
- * @return the CommandFragmentFactoryFactory object.
- */
- public CommandFragmentFactoryFactory getFactoryFactory( String[] ids );
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/BooleanSelection.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/BooleanSelection.java
deleted file mode 100644
index b2ee8b00a..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/BooleanSelection.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/**
- * This class combines a string with a boolean value. This is
- * useful for storing the state data for a boolean selection list.
- */
-package org.eclipse.wst.command.internal.env.core.selection;
-
-public class BooleanSelection
-{
- private String value_;
- private boolean selected_;
-
- public BooleanSelection( String value, boolean selected )
- {
- value_ = value;
- selected_ = selected;
- }
-
- /**
- *
- * @return Get the string value.
- */
- public String getValue()
- {
- return value_;
- }
-
- /**
- *
- * @return Get the boolean value for this string.
- */
- public boolean isSelected()
- {
- return selected_;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/ChoicesToString.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/ChoicesToString.java
deleted file mode 100644
index 3453a0203..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/ChoicesToString.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.selection;
-
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-/**
- * This transformer class selects a string at a particular level
- * in a SelectionListChoices class.
- */
-public class ChoicesToString implements Transformer
-{
- private int level_;
-
- public ChoicesToString( int level )
- {
- level_ = level;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.data.Transformer#transform(java.lang.Object)
- */
- public Object transform( Object value )
- {
- SelectionListChoices choices = (SelectionListChoices)value;
-
- for( int index = 0; index < level_; index++ )
- {
- choices = choices.getChoice();
- }
-
- return choices.getList().getSelection();
- }
-
- public SelectionList transform( SelectionListChoices choices )
- {
- return (SelectionList)transform( (Object)choices );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/DynamicList.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/DynamicList.java
deleted file mode 100644
index 937d38d13..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/DynamicList.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.selection;
-
-import java.util.Vector;
-
-/**
- * This is a Dynamic version of the SelectionListChoices class.
- */
-public class DynamicList
-{
- private Vector stringList_ = new Vector();
- private Vector dynamicListVectorList_ = new Vector();
-
- /**
- * Adds an entry into the dynamic list.
- *
- * @param values the string values that lead to the target.
- * @param target the target.
- */
- public void add( String[] values, Object target )
- {
- DynamicList currentList = this;
-
- for( int index = 0; index < values.length; index++ )
- {
- String value = values[index];
- int length = currentList.stringList_.size();
- int foundIndex = -1;
-
- // Find the string in the current list.
- for( int searchIndex = 0; searchIndex < length; searchIndex++ )
- {
- String string = (String)currentList.stringList_.elementAt( searchIndex );
-
- if( string.equals( value ) )
- {
- foundIndex = searchIndex;
- break;
- }
- }
-
- if( foundIndex == -1 )
- {
- // We have a new string so add it to the list.
- currentList.stringList_.add( value );
- currentList.dynamicListVectorList_.add( new DynamicList() );
- foundIndex = length;
- }
-
- currentList = (DynamicList)currentList.dynamicListVectorList_.elementAt( foundIndex );
- }
-
- currentList.dynamicListVectorList_.add( target );
- }
-
- /**
- *
- * @return returns a SelectionListChoices object from this DynamicList
- * object.
- */
- public SelectionListChoices toListChoices()
- {
- SelectionList list = new SelectionList( (String[])stringList_.toArray( new String[0] ), 0);
- int length = dynamicListVectorList_.size();
- Vector vector = new Vector();
-
- for( int index = 0; index < length; index++ )
- {
- Object obj = dynamicListVectorList_.elementAt(index);
-
- if( obj instanceof DynamicList )
- {
- vector.add( ((DynamicList)obj).toListChoices() );
- }
- else
- {
- vector.add( obj );
- }
- }
-
- return new SelectionListChoices( list, vector );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionList.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionList.java
deleted file mode 100644
index e52ebdc65..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionList.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.selection;
-
-/**
- * This class stores a list strings along with a selectionIndex which
- * stores the current string that selected. There is also a selection
- * value. If this value is one of the strings in the the string list
- * then selectionIndex will contain the index of this string. If it
- * is not in the list then the selectionValue string will contain this
- * value and selectionIndex will be set to -1. This class can be
- * used to store the state data for a Combo box.
- */
-public class SelectionList
-{
- private int selectionIndex_;
- private String[] list_;
- private String selectionValue_;
-
- public SelectionList( String[] list, int selectionIndex )
- {
- list_ = list;
- selectionIndex_ = selectionIndex;
- }
-
- /**
- * Sets the selection value for this object.
- *
- * @param value the value.
- */
- public void setSelectionValue( String value )
- {
- selectionValue_ = value;
- selectionIndex_ = -1;
-
- for( int index = 0; index < list_.length; index++ )
- {
- if( value.equals( list_[index] ) )
- {
- selectionIndex_ = index;
- break;
- }
- }
- }
-
- /*
- * @return returns the string list.
- */
- public String[] getList()
- {
- return list_;
- }
-
- /*
- * Sets the currently selected string in the list.
- */
- public void setIndex( int index )
- {
- selectionIndex_ = index;
- selectionValue_ = null;
- }
-
- /*
- * @return returns the index of the current string. The value
- * will be -1 if the selection value is not in the string list.
- */
- public int getIndex()
- {
- return selectionIndex_;
- }
-
- /*
- * @return returns the current string selection for this object.
- */
- public String getSelection()
- {
- if( selectionValue_ != null ) return selectionValue_;
-
- if( selectionIndex_ == -1 || selectionIndex_ > list_.length-1 )
- {
- return "";
- }
- else
- {
- return list_[ selectionIndex_ ];
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionListChoices.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionListChoices.java
deleted file mode 100644
index 6c6aba878..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/selection/SelectionListChoices.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.selection;
-
-import java.util.Vector;
-
-/*
- * This class can be used to store a hierarchy of SelectionList
- * objects.
- */
-public class SelectionListChoices
-{
- private SelectionList selectionList_;
- private Vector choices_;
- private SelectionList newValueSelectionList_;
-
- /**
- *
- * @param list The selection list.
- * @param choices This is a vector of SelectionListChoies and can be
- * null if there are no choices. This index of list
- * is used to index into choices. If index is -1 then
- * the newValueSelectionList is used.
- */
- public SelectionListChoices( SelectionList list, Vector choices )
- {
- selectionList_ = list;
- choices_ = choices;
-
- newValueSelectionList_ = new SelectionList( new String[0], -1 );
- }
-
- public SelectionListChoices( SelectionList list, Vector choices, SelectionList newList )
- {
- this( list, choices );
- newValueSelectionList_ = newList;
- }
-
- /**
- * @return returns the current Selection list.
- */
- public SelectionList getList()
- {
- return selectionList_;
- }
-
- /**
- *
- * @return returns the choices for this object.
- */
- public Vector getChoices()
- {
- return choices_;
- }
-
- /**
- *
- * @param level the level in the hierarchy where we want to get the choices.
- * @return returns a vector of SelectionListChoices.
- */
- public Vector getChoicesAtLevel( int level )
- {
- SelectionListChoices choices = this;
-
- for( int index = 0; index < level; index++ )
- {
- choices = choices.getChoice();
- }
-
- return choices.getChoices();
- }
-
- /**
- *
- * @return returns the current SelectionListChoice
- */
- public SelectionListChoices getChoice()
- {
- int selectionIndex = selectionList_.getIndex();
- SelectionListChoices result = null;
-
- if( selectionIndex == -1 )
- {
- result = new SelectionListChoices( newValueSelectionList_, null );
- }
- else if( choices_ != null && choices_.size() != 0 )
- {
- result = (SelectionListChoices)choices_.elementAt( selectionIndex );
- }
-
- return result;
- }
-
- /**
- *
- * @param index the index of the choice we want.
- * @return returns the SelectionListChoice at the index specified.
- */
- public SelectionListChoices getChoice(int index)
- {
- SelectionListChoices result = null;
- if (index < 0 || index >= getList().getList().length)
- {
- result = new SelectionListChoices( newValueSelectionList_, null );
- }
- else
- {
- result = (SelectionListChoices)choices_.elementAt( index );
- }
-
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/uri/NativeFileCommand.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/uri/NativeFileCommand.java
deleted file mode 100644
index ef51355ea..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/uri/NativeFileCommand.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.core.uri;
-
-import java.io.File;
-import java.util.LinkedList;
-import java.util.List;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.wst.common.environment.uri.IURI;
-import org.eclipse.wst.common.environment.uri.URIException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-public abstract class NativeFileCommand extends AbstractDataModelOperation
-{
- protected String name;
-
- protected String description;
-
- protected IURI[] urisToRead;
-
- protected IURI[] urisToWrite;
-
- protected NativeFileCommand ()
- {
- this(null,null);
- }
-
- protected NativeFileCommand ( String name, String description )
- {
- this.name = name;
- this.description = description;
- }
-
- public String getName ()
- {
- return name;
- }
-
- public String getDescription ()
- {
- return description;
- }
-
- public void setURIsToRead ( IURI[] urisToRead )
- {
- this.urisToRead = urisToRead;
- }
-
- public IURI[] getURIsToRead ()
- {
- return urisToRead;
- }
-
- public void setURIsToWrite ( IURI[] urisToWrite )
- {
- this.urisToWrite = urisToWrite;
- }
-
- public IURI[] getURIsToWrite ()
- {
- return urisToWrite;
- }
-
- public IStatus execute ( IProgressMonitor monitor, IAdaptable adaptable )
- {
- File[] filesToRead = getFiles(urisToRead);
- File[] filesToWrite = getFiles(urisToWrite);
- preProcess(filesToRead,filesToWrite);
- IStatus status = execute(filesToRead,filesToWrite);
- postProcess(filesToRead,filesToWrite);
- return status;
- }
-
- public abstract IStatus execute ( File[] filesToRead, File[] filesToWrite );
-
- private void preProcess ( File[] filesToRead, File[] filesToWrite )
- {
- // TBD.
- }
-
- private void postProcess ( File[] filesToRead, File[] filesToWrite )
- {
- // TBD.
- }
-
- private File[] getFiles ( IURI[] uris )
- {
- List list = new LinkedList();
- if (uris != null)
- {
- for (int i=0; i<uris.length; i++)
- {
- if (uris[i].isAvailableAsFile())
- {
- try
- {
- list.add(uris[i].asFile());
- }
- catch (URIException e)
- {
- }
- }
- }
- }
- return (File[])list.toArray(new File[0]);
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/.classpath b/bundles/org.eclipse.wst.command.env.ui/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.command.env.ui/.cvsignore b/bundles/org.eclipse.wst.command.env.ui/.cvsignore
deleted file mode 100644
index c28c7a78c..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/.cvsignore
+++ /dev/null
@@ -1,8 +0,0 @@
-bin
-build.xml
-runtime
-temp.folder
-envui.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.command.env.ui/.project b/bundles/org.eclipse.wst.command.env.ui/.project
deleted file mode 100644
index ceb0b3793..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.command.env.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index d87aee152..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:37:28 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index cbae875a4..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:30 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.command.env.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.command.env.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 1645b8d01..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,27 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.command.env.ui; singleton:=true
-Bundle-Version: 1.0.102.qualifier
-Bundle-Activator: org.eclipse.wst.command.internal.env.ui.plugin.EnvUIPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.command.internal.env.ui;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.common;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.dialog;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.eclipse;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.plugin;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.preferences;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.registry;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.widgets;x-internal:=true,
- org.eclipse.wst.command.internal.env.ui.widgets.popup;x-internal:=true
-Require-Bundle: org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.osgi;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.command.env.ui/about.html b/bundles/org.eclipse.wst.command.env.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.command.env.ui/build.properties b/bundles/org.eclipse.wst.command.env.ui/build.properties
deleted file mode 100644
index 74d7e4984..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/build.properties
+++ /dev/null
@@ -1,10 +0,0 @@
-bin.includes = plugin.xml,\
- *.jar,\
- .,\
- META-INF/,\
- icons/,\
- plugin.properties,\
- about.html
-source.. = src/
-output.. = bin/
-src.includes = schema/
diff --git a/bundles/org.eclipse.wst.command.env.ui/icons/full/obj16/ant_buildfile.gif b/bundles/org.eclipse.wst.command.env.ui/icons/full/obj16/ant_buildfile.gif
deleted file mode 100644
index 6df3469e5..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/icons/full/obj16/ant_buildfile.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.command.env.ui/icons/full/wizban/newantfiles_wiz.png b/bundles/org.eclipse.wst.command.env.ui/icons/full/wizban/newantfiles_wiz.png
deleted file mode 100644
index 9623c4fd2..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/icons/full/wizban/newantfiles_wiz.png
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.command.env.ui/plugin.properties b/bundles/org.eclipse.wst.command.env.ui/plugin.properties
deleted file mode 100644
index 2c57ea915..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/plugin.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Environment Command Framework (GUI)
-PLUGIN_PROVIDER=Eclipse.org
-
-WIDGET_REGISTRY_NAME=Widget contributor registry
-
-PLUGIN_XP_ANT_WIZARD_NAME=Ant Files
-PLUGIN_XP_ANT_WIZARD_DESC=Create Ant script and properties files in the workspace.
diff --git a/bundles/org.eclipse.wst.command.env.ui/plugin.xml b/bundles/org.eclipse.wst.command.env.ui/plugin.xml
deleted file mode 100644
index ed639852d..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/plugin.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
-<extension
- point="org.eclipse.ui.newWizards">
- <wizard
- name="%PLUGIN_XP_ANT_WIZARD_NAME"
- icon="icons/full/obj16/ant_buildfile.gif"
- category="org.eclipse.jst.ws.ui.new"
- class="org.eclipse.wst.command.internal.env.ui.dialog.AntFileImportWizard"
- id="org.eclipse.wst.command.env.ui.AntFileImportWizard">
- <description>
- %PLUGIN_XP_ANT_WIZARD_DESC
- </description>
- </wizard>
- </extension>
-
- <!-- The following extension point is internal and likely to be removed in a future release. -->
- <extension-point id="widgetRegistry" name="%WIDGET_REGISTRY_NAME" schema="schema/widgetRegistry.exsd"/>
-
-</plugin>
diff --git a/bundles/org.eclipse.wst.command.env.ui/schema/widgetRegistry.exsd b/bundles/org.eclipse.wst.command.env.ui/schema/widgetRegistry.exsd
deleted file mode 100644
index 596cc7c33..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/schema/widgetRegistry.exsd
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.command.env.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.command.env.ui" id="widgetRegistry" name="Widget Registry"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="widgetFactory"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="widgetFactory">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="insertBeforeCommandId" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUI.properties b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUI.properties
deleted file mode 100644
index 4c0ebd8ff..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUI.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-# -------- -------- -----------------------------------------------------------
-# 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
-###############################################################################
-
-BUTTON_SHOW_ALL_DIALOGS=&Show All
-BUTTON_HIDE_ALL_DIALOGS=&Hide All
-CHECKBOX_DO_NOT_SHOW_DIALOG_AGAIN=Do not show me this dialog box again.
-
-TOOLTIP_PPAD_PAGE=Control to show/hide the dialogs that appear when a pop-up action is executed.
-TOOLTIP_DO_NOT_SHOW_DIALOG_AGAIN=To allow this dialog to show again, enable from preference - dialogs.
-TOOLTIP_PPAD_BUTTON_SHOW_ALL=Show all dialogs.
-TOOLTIP_PPAD_BUTTON_HIDE_ALL=Hide all dialogs and execute pop-up actions.
-
-WIZARD_TITLE_ANT=Create Ant Files
-WIZARD_PAGE_TITLE_ANT=Create Web Service Ant files
-WIZARD_PAGE_DESC_ANT=Select workspace folder for Ant script and properties files
-MSG_STATUS_COPYING_ANT_FILES=Copying web services Ant files
-MSG_ERR_COPYING_ANT_FILES=Error encountered copying Ant files
-MSG_WARNING_FILE_EXISTS=The file {0} exists. Do you want to overwrite?
-DIALOG_TITLE_OVERWRITE=Confirm Overwrite
-
-MSG_ERROR_WIZARD_ID_NOT_FOUND=IWAB0013E Could not find wizard id: {0}
-MSG_ERROR_OPERATION_TIMED_OUT=Operation timed out.
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUIMessages.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUIMessages.java
deleted file mode 100644
index 8931d841c..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/EnvironmentUIMessages.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class EnvironmentUIMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.wst.command.internal.env.ui.EnvironmentUI";//$NON-NLS-1$
-
- private EnvironmentUIMessages() {
- // Do not instantiate
- }
-
- public static String BUTTON_SHOW_ALL_DIALOGS;
- public static String BUTTON_HIDE_ALL_DIALOGS;
- public static String CHECKBOX_DO_NOT_SHOW_DIALOG_AGAIN;
- public static String TOOLTIP_PPAD_PAGE;
- public static String TOOLTIP_DO_NOT_SHOW_DIALOG_AGAIN;
- public static String TOOLTIP_PPAD_BUTTON_SHOW_ALL;
- public static String TOOLTIP_PPAD_BUTTON_HIDE_ALL;
- public static String MSG_ERROR_WIZARD_ID_NOT_FOUND;
- public static String WIZARD_TITLE_ANT;
- public static String WIZARD_PAGE_TITLE_ANT;
- public static String WIZARD_PAGE_DESC_ANT;
- public static String MSG_STATUS_COPYING_ANT_FILES;
- public static String MSG_ERR_COPYING_ANT_FILES;
- public static String MSG_WARNING_FILE_EXISTS;
- public static String DIALOG_TITLE_OVERWRITE;
- public static String MSG_ERROR_OPERATION_TIMED_OUT;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, EnvironmentUIMessages.class);
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/common/TimedOperation.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/common/TimedOperation.java
deleted file mode 100644
index 8012dcb38..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/common/TimedOperation.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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
- * -------- -------- -----------------------------------------------------------
- * 20060504 119296 pmoogk@ca.ibm.com - Peter Moogk
- * 20060822 154750 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.common;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.operations.AbstractOperation;
-import org.eclipse.core.commands.operations.IUndoContext;
-import org.eclipse.core.commands.operations.IUndoableOperation;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.ui.EnvironmentUIMessages;
-
-public class TimedOperation implements IUndoableOperation
-{
- private AbstractOperation operation;
- private int timeout;
- private IProgressMonitor tempMonitor;
- private IAdaptable tempInfo;
- private IStatus returnStatus;
- private boolean operationComplete;
- private String timeOutMessage;
-
- public TimedOperation( AbstractOperation operation, int timeout, String timeOutMessage )
- {
- this.operation = operation;
- this.timeout = timeout;
- this.timeOutMessage = timeOutMessage;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info)
- {
- Thread executeThread = new Thread( new OperationRunnable() );
-
- returnStatus = Status.OK_STATUS;
- tempMonitor = monitor;
- tempInfo = info;
- operationComplete = false;
- executeThread.start();
-
- synchronized( operation )
- {
- while( !operationComplete )
- {
- try
- {
- operation.wait(timeout);
- }
- catch( InterruptedException exc )
- {
- String message = exc.getMessage();
- Status errorStatus = new Status( IStatus.ERROR,"id", 0, message == null ? "" : message, exc );
- executeThread.interrupt();
- return errorStatus;
- }
-
- if( !operationComplete )
- {
- // We timed out, since the execution thread hasn't set operationComplete
- // to true.
- Status errorStatus = new Status( IStatus.ERROR,"id", 0, EnvironmentUIMessages.MSG_ERROR_OPERATION_TIMED_OUT, null);
- Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
- boolean waitMore = MessageDialog.openConfirm(shell, EnvironmentUIMessages.MSG_ERROR_OPERATION_TIMED_OUT, timeOutMessage );
-
- if( !waitMore )
- {
- executeThread.interrupt();
- operationComplete = true;
- return errorStatus;
- }
- }
- }
- }
-
- // We completed successfully. Therefore return the status set in the forked
- // thread.
- return returnStatus;
- }
-
- private class OperationRunnable implements Runnable
- {
- public void run()
- {
- try
- {
- returnStatus = operation.execute(tempMonitor, tempInfo);
- }
- catch( Throwable exc )
- {
- String message = exc.getMessage();
-
- returnStatus = new Status( IStatus.ERROR,"id", 0, message == null ? "" : message, exc );
- }
- finally
- {
- synchronized( operation )
- {
- operationComplete = true;
- operation.notify();
- }
- }
- }
- }
-
- public IStatus redo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return operation.redo(monitor, info);
- }
-
- public IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return operation.undo(monitor, info);
- }
- public IUndoContext[] getContexts()
- {
- return operation.getContexts();
- }
-
- public boolean hasContext(IUndoContext context)
- {
- return operation.hasContext(context);
- }
-
- public void addContext(IUndoContext context)
- {
- operation.addContext(context);
- }
-
- public boolean canExecute()
- {
- return operation.canExecute();
- }
-
- public boolean canRedo()
- {
- return operation.canRedo();
- }
-
- public boolean canUndo()
- {
- return operation.canUndo();
- }
-
- public void dispose()
- {
- operation.dispose();
- }
-
- public String getLabel()
- {
- return operation.getLabel();
- }
-
- public void removeContext(IUndoContext context)
- {
- operation.removeContext(context);
- }
-
- public void setLabel(String name)
- {
- operation.setLabel(name);
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizard.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizard.java
deleted file mode 100644
index 1c3d15526..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizard.java
+++ /dev/null
@@ -1,277 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060315 128711 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.MessageBox;
-import org.eclipse.ui.INewWizard;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.IWorkbenchPartReference;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.part.ISetSelectionTarget;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.command.internal.env.plugin.EnvPlugin;
-import org.eclipse.wst.command.internal.env.ui.EnvironmentUIMessages;
-import org.eclipse.wst.command.internal.env.ui.plugin.EnvUIPlugin;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.environment.NullStatusHandler;
-
-public class AntFileImportWizard extends Wizard implements INewWizard {
-
- //private IConfigurationElement fConfigElement;
- private AntFileImportWizardPage mainPage;
- /**
- * The workbench.
- */
- private IWorkbench workbench;
-
- /**
- * The current selection.
- */
- protected IStructuredSelection selection;
-
- public AntFileImportWizard()
- {
- super();
- setWindowTitle(EnvironmentUIMessages.WIZARD_TITLE_ANT);
- }
-
- public void setWindowTitle(String newTitle) {
- super.setWindowTitle(newTitle);
- }
-
- public void addPages() {
- super.addPages();
- mainPage = new AntFileImportWizardPage(EnvironmentUIMessages.WIZARD_PAGE_TITLE_ANT, getSelection());
- addPage(mainPage);
- }
-
- public boolean performFinish() {
- IPath destination = mainPage.getPath();
- if (destination == null)
- {
- return false;
- }
- else
- {
- //jvh: TODO: add extension so extenders of the command framework can register properties files to import
- // here we pick up all registered Ant files and import - also would be nice to allow user to choose a subset
- String[] sourceFiles = new String[]{"ant/wsgen.xml", "ant/axisclient.properties", "ant/axisservice.properties"}; //$NON-NLS$
- int filecount = 0;
- for (int i = 0; i < sourceFiles.length; i++) {
- String fileSource = sourceFiles[i];
- String targetFile = fileSource;
- //strip any leading segments off of targetFile
- int fileStart = targetFile.lastIndexOf("/");
- if (fileStart >= 0)
- {
- targetFile = targetFile.substring(fileStart);
- }
- Plugin sourcePlugin = EnvPlugin.getInstance();
- //jvh: TODO - add real progress monitor in here...
-
- IStatus status = copyIFile(sourcePlugin, fileSource, destination, targetFile, (IProgressMonitor)new NullProgressMonitor());
- if (status == Status.CANCEL_STATUS)
- {
- filecount++;
- }
- }
- if (filecount == sourceFiles.length)
- {
- return false; //don't close if all files were not written out - give user opportunity to change destination
- }
- }
- return true;
- }
-
- private IStatus copyIFile(Plugin plugin, String source, IPath targetPath, String targetFile, /*IEnvironment env,*/ IProgressMonitor monitor )
- {
-
- if (plugin != null)
- {
- IPath target = targetPath.append(new Path(targetFile));
-
- ProgressUtils.report( monitor, EnvironmentUIMessages.MSG_STATUS_COPYING_ANT_FILES);
- try
- {
- ResourceContext context = new TransientResourceContext();
- // check to see if file exists before copy
- IResource resource = FileResourceUtils.findResource(target);
-
- if (resource != null)
- {
- MessageBox overwriteBox = new MessageBox(getShell(), SWT.ICON_QUESTION|SWT.YES|SWT.NO);
- overwriteBox.setMessage(EnvironmentUIMessages.bind(EnvironmentUIMessages.MSG_WARNING_FILE_EXISTS, target.toString()));
- overwriteBox.setText(EnvironmentUIMessages.DIALOG_TITLE_OVERWRITE);
- int result = overwriteBox.open();
- if (result != SWT.NO)
- FileResourceUtils.createFile(context, target, plugin.openStream(new Path(source)),
- monitor, (IStatusHandler)new NullStatusHandler());
- else
- return Status.CANCEL_STATUS;
- }
- else
- {
- FileResourceUtils.createFile(context, target, plugin.openStream(new Path(source)),
- monitor, (IStatusHandler)new NullStatusHandler());
- }
- }
- catch (Exception e) {
- return StatusUtils.errorStatus(EnvironmentUIMessages.MSG_ERR_COPYING_ANT_FILES, e);
- }
- }
- return Status.OK_STATUS;
- }
-
- /**
- * Returns the selection which was passed to <code>init</code>.
- *
- * @return the selection
- */
- public IStructuredSelection getSelection() {
- return selection;
- }
-
- /**
- * Returns the workbench which was passed to <code>init</code>.
- *
- * @return the workbench
- */
- public IWorkbench getWorkbench() {
- return workbench;
- }
-
- /**
- * The <code>BasicNewResourceWizard</code> implementation of this
- * <code>IWorkbenchWizard</code> method records the given workbench and
- * selection, and initializes the default banner image for the pages
- * by calling <code>initializeDefaultPageImageDescriptor</code>.
- * Subclasses may extend.
- */
- public void init(IWorkbench workbench, IStructuredSelection currentSelection) {
- this.workbench = workbench;
- this.selection = currentSelection;
-
- initializeDefaultPageImageDescriptor();
- }
-
- /**
- * Initializes the default page image descriptor to an appropriate banner.
- * By calling <code>setDefaultPageImageDescriptor</code>.
- * The default implementation of this method uses a generic new wizard image.
- * <p>
- * Subclasses may reimplement.
- * </p>
- */
- protected void initializeDefaultPageImageDescriptor() {
- ImageDescriptor desc = EnvUIPlugin.getImageDescriptor("icons/full/wizban/newantfiles_wiz.png");//$NON-NLS-1$
- setDefaultPageImageDescriptor(desc);
- }
-
- /**
- * Selects and reveals the newly added resource in all parts
- * of the active workbench window's active page.
- *
- * @see ISetSelectionTarget
- */
- protected void selectAndReveal(IResource newResource) {
- selectAndReveal(newResource, getWorkbench().getActiveWorkbenchWindow());
- }
-
- /**
- * Attempts to select and reveal the specified resource in all
- * parts within the supplied workbench window's active page.
- * <p>
- * Checks all parts in the active page to see if they implement <code>ISetSelectionTarget</code>,
- * either directly or as an adapter. If so, tells the part to select and reveal the
- * specified resource.
- * </p>
- *
- * @param resource the resource to be selected and revealed
- * @param window the workbench window to select and reveal the resource
- *
- * @see ISetSelectionTarget
- */
- public static void selectAndReveal(IResource resource,
- IWorkbenchWindow window) {
- // validate the input
- if (window == null || resource == null)
- return;
- IWorkbenchPage page = window.getActivePage();
- if (page == null)
- return;
-
- // get all the view and editor parts
- List parts = new ArrayList();
- IWorkbenchPartReference refs[] = page.getViewReferences();
- for (int i = 0; i < refs.length; i++) {
- IWorkbenchPart part = refs[i].getPart(false);
- if (part != null)
- parts.add(part);
- }
- refs = page.getEditorReferences();
- for (int i = 0; i < refs.length; i++) {
- if (refs[i].getPart(false) != null)
- parts.add(refs[i].getPart(false));
- }
-
- final ISelection selection = new StructuredSelection(resource);
- Iterator itr = parts.iterator();
- while (itr.hasNext()) {
- IWorkbenchPart part = (IWorkbenchPart) itr.next();
-
- // get the part's ISetSelectionTarget implementation
- ISetSelectionTarget target = null;
- if (part instanceof ISetSelectionTarget)
- target = (ISetSelectionTarget) part;
- else
- target = (ISetSelectionTarget) part
- .getAdapter(ISetSelectionTarget.class);
-
- if (target != null) {
- // select and reveal resource
- final ISetSelectionTarget finalTarget = target;
- window.getShell().getDisplay().asyncExec(new Runnable() {
- public void run() {
- finalTarget.selectReveal(selection);
- }
- });
- }
- }
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizardPage.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizardPage.java
deleted file mode 100644
index ec53a3c03..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/AntFileImportWizardPage.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.dialogs.WizardResourceImportPage;
-import org.eclipse.wst.command.internal.env.ui.EnvironmentUIMessages;
-
-public class AntFileImportWizardPage extends WizardResourceImportPage{
-
- public AntFileImportWizardPage(String pageName,
- IStructuredSelection selection) {
- super("WSAntFilesPage1", selection);//$NON-NLS-1$
- setTitle(pageName);
- setDescription(EnvironmentUIMessages.WIZARD_PAGE_DESC_ANT);
- }
-
- protected ITreeContentProvider getFileProvider() {
- return null;
- }
-
- public IPath getPath()
- {
- return getContainerFullPath();
- }
-
- protected void createSourceGroup(Composite parent) {
- //don't need source group
- }
-
- protected ITreeContentProvider getFolderProvider() {
- return null;
- }
-
- protected void createOptionsGroup(Composite parent) {
- //empty - don't want an options group
- }
-
-
-
-}
-
-
-
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/ErrorDialog.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/ErrorDialog.java
deleted file mode 100644
index 16cc76ad6..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/ErrorDialog.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.PlatformUI;
-
-
-/**
- * A dialog to display one or more errors to the user, as contained in an
- * <code>Status</code> object. If an error contains additional detailed
- * information then a Details button is automatically supplied, which shows or
- * hides an error details viewer when pressed by the user.
- *
- */
-public class ErrorDialog extends MessageDialog
-{
-
- /**
- * Creates an error dialog. Note that the dialog will have no visual
- * representation (no widgets) until it is told to open.
- * <p>
- * Normally one should use <code>openError</code> to create and open one of
- * these. This constructor is useful only if the error object being displayed
- * contains child items <it>and</it> you need to specify a mask which will
- * be used to filter the displaying of these children.
- * </p>
- *
- * @param parentShell
- * the shell under which to create this dialog
- * @param dialogTitle
- * the title to use for this dialog, or <code>null</code> to
- * indicate that the default title should be used
- * @param message
- * the message to show in this dialog, or <code>null</code> to
- * indicate that the error's message should be shown as the
- * primary message
- * @param status
- * the error to show to the user
- * @param displayMask
- * the mask to use to filter the displaying of child items, as per
- * <code>Status.matches</code>
- */
- public ErrorDialog(
- Shell parentShell,
- String dialogTitle,
- String message,
- IStatus status,
- int displayMask)
- {
- super(parentShell, dialogTitle, message, status, displayMask);
- }
-
- /*
- * (non-Javadoc) This should also be overwritten Method declared on Dialog.
- */
- protected void createButtonsForButtonBar(Composite parent)
- {
- // create OK and Details buttons
- createButton(
- parent,
- StatusDialogConstants.OK_ID,
- IDialogConstants.OK_LABEL,
- true);
- if (status.isMultiStatus() || status.getException() != null )
- {
- detailsButton =
- createButton(
- parent,
- StatusDialogConstants.DETAILS_ID,
- IDialogConstants.SHOW_DETAILS_LABEL,
- false);
- }
- }
-
- /*
- * This is one of the few methods that needs to be overwritten by the
- * subclasses. The image names can be found in the Dialog class
- */
- protected Image getDialogImage()
- {
- // create image
- return PlatformUI.getWorkbench().getDisplay().getSystemImage(SWT.ICON_ERROR);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/InfoDialog.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/InfoDialog.java
deleted file mode 100644
index fa6c84f0a..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/InfoDialog.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.PlatformUI;
-
-
-/**
- * A dialog to display one or more errors to the user, as contained in an
- * <code>Status</code> object. If an error contains additional detailed
- * information then a Details button is automatically supplied, which shows or
- * hides an error details viewer when pressed by the user.
- *
- */
-public class InfoDialog extends MessageDialog
-{
- /**
- * Creates an error dialog. Note that the dialog will have no visual
- * representation (no widgets) until it is told to open.
- * <p>
- * Normally one should use <code>openError</code> to create and open one of
- * these. This constructor is useful only if the error object being displayed
- * contains child items <it>and</it> you need to specify a mask which will
- * be used to filter the displaying of these children.
- * </p>
- *
- * @param parentShell
- * the shell under which to create this dialog
- * @param dialogTitle
- * the title to use for this dialog, or <code>null</code> to
- * indicate that the default title should be used
- * @param message
- * the message to show in this dialog, or <code>null</code> to
- * indicate that the error's message should be shown as the
- * primary message
- * @param status
- * the error to show to the user
- * @param displayMask
- * the mask to use to filter the displaying of child items, as per
- * <code>Status.matches</code>
- */
- public InfoDialog(
- Shell parentShell,
- String dialogTitle,
- String message,
- IStatus status,
- int displayMask)
- {
- super(parentShell, dialogTitle, message, status, displayMask);
- }
-
- /*
- * (non-Javadoc) This should also be overwritten Method declared on Dialog.
- */
- protected void createButtonsForButtonBar(Composite parent)
- {
- // create OK and Details buttons
- createButton(
- parent,
- StatusDialogConstants.OK_ID,
- IDialogConstants.OK_LABEL,
- true);
- if (status.isMultiStatus() )
- {
- detailsButton =
- createButton(
- parent,
- StatusDialogConstants.DETAILS_ID,
- IDialogConstants.SHOW_DETAILS_LABEL,
- false);
- }
- }
-
- /*
- * This is one of the few methods that needs to be overwritten by the
- * subclasses. The image names can be found in the Dialog class
- */
- protected Image getDialogImage()
- {
- // create image
- return PlatformUI.getWorkbench().getDisplay().getSystemImage(SWT.ICON_INFORMATION);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/MessageDialog.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/MessageDialog.java
deleted file mode 100644
index ddaf723b3..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/MessageDialog.java
+++ /dev/null
@@ -1,585 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060504 128984 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-import java.util.Arrays;
-import java.util.Iterator;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.jface.resource.JFaceResources;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.List;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.common.StringUtils;
-import org.eclipse.wst.common.environment.Choice;
-
-
-/**
- * A dialog to display one or more errors to the user, as contained in an
- * <code>Status</code> object. If an error contains additional detailed
- * information then a Details button is automatically supplied, which shows or
- * hides an error details viewer when pressed by the user.
- *
- */
-public class MessageDialog extends Dialog
-{
- protected Composite parent;
-
- /**
- * Reserve room for this many list items.
- */
- protected static final int LIST_ITEM_COUNT = 7;
-
- /**
- * The Details button.
- */
- protected Button detailsButton;
-
- /**
- * The title of the dialog.
- */
- protected String title;
-
- /**
- * The message to display.
- */
- protected String message;
-
- /**
- * The SWT list control that displays the error details.
- */
- protected List list;
- protected Text details;
-
- /**
- * Indicates whether the error details viewer is currently created.
- */
- protected boolean listCreated = false;
- protected boolean detailsCreated = false;
-
- /**
- * Filter mask for determining which status items to display.
- */
- protected int displayMask = 0xFFFF;
-
- /**
- * The main status object.
- */
- protected IStatus status;
-
- private Point savedSize = null;
-
- /**
- * List of the main error object's detailed errors (element type: <code>Status</code>).
- */
- protected java.util.List statusList;
- /**
- * Creates an error dialog. Note that the dialog will have no visual
- * representation (no widgets) until it is told to open.
- * <p>
- * Normally one should use <code>openError</code> to create and open one of
- * these. This constructor is useful only if the error object being displayed
- * contains child items <it>and</it> you need to specify a mask which will
- * be used to filter the displaying of these children.
- * </p>
- *
- * @param parentShell
- * the shell under which to create this dialog
- * @param dialogTitle
- * the title to use for this dialog, or <code>null</code> to
- * indicate that the default title should be used
- * @param message
- * the message to show in this dialog, or <code>null</code> to
- * indicate that the error's message should be shown as the
- * primary message
- * @param status
- * the error to show to the user
- * @param displayMask
- * the mask to use to filter the displaying of child items, as per
- * <code>Status.matches</code>
- */
- public MessageDialog(
- Shell parentShell,
- String dialogTitle,
- String message,
- IStatus status,
- int displayMask)
- {
- super(parentShell);
- this.title = dialogTitle == null ? JFaceResources.getString("Problem_Occurred") : //$NON-NLS-1$
- dialogTitle;
- this.message = message == null ? status.getMessage() : JFaceResources.format("Reason", new Object[] { message, status.getMessage()}); //$NON-NLS-1$
- this.status = status;
- statusList = Arrays.asList(status.getChildren());
- this.displayMask = displayMask;
- setShellStyle(SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL);
- }
- /*
- * (non-Javadoc) Method declared on Dialog. Handles the pressing of the Ok or
- * Details button in this dialog. If the Ok button was pressed then close
- * this dialog. If the Details button was pressed then toggle the displaying
- * of the error details area. Note that the Details button will only be
- * visible if the error being displayed specifies child details.
- */
- protected void buttonPressed(int id)
- {
- if (id == StatusDialogConstants.DETAILS_ID)
- { // was the details button pressed?
- toggleDetailsArea();
- }
- else
- {
- super.buttonPressed(id);
- }
- }
- /*
- * (non-Javadoc) Method declared in Window.
- */
- protected void configureShell(Shell shell)
- {
- super.configureShell(shell);
- shell.setText(title);
- }
- /*
- * (non-Javadoc) This should also be overwritten Method declared on Dialog.
- */
- protected void createButtonsForButtonBar(Composite parent)
- {
- // create OK and Details buttons
- createButton(
- parent,
- StatusDialogConstants.OK_ID,
- IDialogConstants.OK_LABEL,
- true);
- if (status.isMultiStatus() || status.getException() != null )
- {
- detailsButton =
- createButton(
- parent,
- StatusDialogConstants.DETAILS_ID,
- IDialogConstants.SHOW_DETAILS_LABEL,
- false);
- }
-
- parent.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
- }
-
- /*
- * This is one of the few methods that needs to be overwritten by the
- * subclasses. The image names can be found in the Dialog class
- */
- protected Image getDialogImage()
- {
- // create image
- return PlatformUI.getWorkbench().getDisplay().getSystemImage(SWT.ICON_INFORMATION);
- }
-
- /*
- * (non-Javadoc) Method declared on Dialog. Creates and returns the contents
- * of the upper part of the dialog (above the button bar).
- */
- protected Control createDialogArea(Composite parent)
- {
- this.parent = parent;
-
- // create composite
- Composite composite = (Composite) super.createDialogArea(parent);
- Composite imageAndLabel = new Composite(composite, SWT.NONE);
- GridLayout gl = new GridLayout();
- gl.numColumns = 2;
- imageAndLabel.setLayout(gl);
- imageAndLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- composite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
-
- // create image
- Image image = getDialogImage();
- if (image != null)
- {
- Label label = new Label(imageAndLabel, 0);
- image.setBackground(label.getBackground());
- label.setImage(image);
- label.setLayoutData(
- new GridData(
- GridData.HORIZONTAL_ALIGN_CENTER
- | GridData.VERTICAL_ALIGN_BEGINNING));
- }
-
- // create message
- if (message != null)
- {
- Text text = new Text(imageAndLabel, SWT.READ_ONLY|SWT.WRAP);
- text.setText(message);
- GridData data =
- new GridData(
- GridData.GRAB_HORIZONTAL
- | GridData.GRAB_VERTICAL
- | GridData.HORIZONTAL_ALIGN_FILL
- | GridData.VERTICAL_ALIGN_CENTER);
- data.widthHint =
- convertHorizontalDLUsToPixels(
- IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH);
-
- text.setLayoutData(data);
- text.setFont(parent.getFont());
- }
-
- return composite;
- }
-
- protected List createDropDownList(Composite parent)
- {
- // create the list
- list = new List(parent, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
-
- // fill the list
- populateList(list);
-
- GridData data =
- new GridData(
- GridData.HORIZONTAL_ALIGN_FILL
- | GridData.GRAB_HORIZONTAL
- | GridData.VERTICAL_ALIGN_FILL
- | GridData.GRAB_VERTICAL);
- data.heightHint = list.getItemHeight() * LIST_ITEM_COUNT;
- list.setLayoutData(data);
- listCreated = true;
- return list;
- }
- protected Text createDropDownDetails(Composite parent)
- {
- details = new Text(parent, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.READ_ONLY | SWT.WRAP );
- //details.setEditable(false);
- Color color = parent.getShell().getDisplay().getSystemColor( SWT.COLOR_WHITE );
- details.setBackground(color);
- populateDetails(details, status, 0);
- GridData data =
- new GridData(
- GridData.HORIZONTAL_ALIGN_FILL
- | GridData.GRAB_HORIZONTAL
- | GridData.VERTICAL_ALIGN_FILL
- | GridData.GRAB_VERTICAL);
-
- details.setLayoutData(data);
- details.setSelection(0);
- detailsCreated = true;
- return details;
- }
- /*
- * (non-Javadoc) Method declared on Window.
- */
- /**
- * Extends <code>Window.open()</code>. Opens an error dialog to display
- * the error. If you specified a mask to filter the displaying of these
- * children, the error dialog will only be displayed if there is at least one
- * child status matching the mask.
- */
- public int open()
- {
- if (shouldDisplay(status, displayMask))
- {
- return super.open();
- }
- return 0;
- }
- /**
- * This essentially does the work of a factory Opens an error dialog to
- * display the given error. Use this method if the error object being
- * displayed does not contain child items, or if you wish to display all such
- * items without filtering.
- *
- * @param parent
- * the parent shell of the dialog, or <code>null</code> if none
- * @param dialogTitle
- * the title to use for this dialog, or <code>null</code> to
- * indicate that the default title should be used
- * @param message
- * the message to show in this dialog, or <code>null</code> to
- * indicate that the error's message should be shown as the
- * primary message
- * @param status
- * the error to show to the user
- * @return the code of the button that was pressed that resulted in this
- * dialog closing. This will be <code>Dialog.OK</code> if the OK
- * button was pressed, or <code>Dialog.CANCEL</code> if this
- * dialog's close window decoration or the ESC key was used.
- */
- public static int openMessage(
- Shell parent,
- String dialogTitle,
- String message,
- IStatus status)
- {
-
- switch (status.getSeverity())
- {
- case IStatus.INFO :
- return openInfo(
- parent,
- dialogTitle,
- message,
- status,
- IStatus.OK | IStatus.INFO | IStatus.WARNING | IStatus.ERROR);
- case IStatus.WARNING :
- return openWarning(
- parent,
- dialogTitle,
- message,
- status,
- IStatus.OK | IStatus.INFO | IStatus.WARNING | IStatus.ERROR);
- default :
- return openError(
- parent,
- dialogTitle,
- message,
- status,
- IStatus.OK | IStatus.INFO | IStatus.WARNING | IStatus.ERROR);
- }
-
- }
-
- public static int openMessage(
- Shell parent,
- String dialogTitle,
- String message,
- IStatus status,
- Choice[] options)
- {
-
- return openOptions(
- parent,
- dialogTitle,
- message,
- status,
- IStatus.OK | IStatus.INFO | IStatus.WARNING | IStatus.ERROR,
- options);
- }
-
- /**
- * Opens an error dialog to display the given error. Use this method if the
- * error object being displayed contains child items <it>and</it> you wish
- * to specify a mask which will be used to filter the displaying of these
- * children. The error dialog will only be displayed if there is at least one
- * child status matching the mask.
- *
- * @param parentShell
- * the parent shell of the dialog, or <code>null</code> if none
- * @param dialogTitle
- * the title to use for this dialog, or <code>null</code> to
- * indicate that the default title should be used
- * @param message
- * the message to show in this dialog, or <code>null</code> to
- * indicate that the error's message should be shown as the
- * primary message
- * @param status
- * the error to show to the user
- * @param displayMask
- * the mask to use to filter the displaying of child items, as per
- * <code>Status.matches</code>
- * @return the code of the button that was pressed that resulted in this
- * dialog closing. This will be <code>Dialog.OK</code> if the OK
- * button was pressed, or <code>Dialog.CANCEL</code> if this
- * dialog's close window decoration or the ESC key was used.
- */
- public static int openError(
- Shell parentShell,
- String title,
- String message,
- IStatus status,
- int displayMask)
- {
- ErrorDialog dialog =
- new ErrorDialog(parentShell, title, message, status, displayMask);
- return dialog.open();
- }
-
- public static int openInfo(
- Shell parentShell,
- String title,
- String message,
- IStatus status,
- int displayMask)
- {
- InfoDialog dialog =
- new InfoDialog(parentShell, title, message, status, displayMask);
- return dialog.open();
- }
-
- public static int openWarning(
- Shell parentShell,
- String title,
- String message,
- IStatus status,
- int displayMask)
- {
- WarningDialog dialog =
- new WarningDialog(parentShell, title, message, status, displayMask);
- return dialog.open();
- }
-
- public static int openOptions(
- Shell parentShell,
- String title,
- String message,
- IStatus status,
- int displayMask,
- Choice[] options)
- {
- OptionsDialog dialog =
- new OptionsDialog(
- parentShell,
- title,
- message,
- status,
- displayMask,
- options);
- dialog.open();
- return dialog.getReturnCode();
- }
-
- /**
- * Populates the list using this error dialog's status object. This walks the
- * child stati of the status object and displays them in a list. The format
- * for each entry is status_path : status_message If the status's path was
- * null then it (and the colon) are omitted.
- */
- private void populateList(List list)
- {
- Iterator enumeration = statusList.iterator();
- while (enumeration.hasNext())
- {
- IStatus childStatus = (IStatus) enumeration.next();
- populateList(list, childStatus, 0);
- }
- }
- private void populateList(List list, IStatus status, int nesting)
- {
- if (!status.matches(displayMask))
- {
- return;
- }
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < nesting; i++)
- {
- sb.append(" ");
- }
- sb.append(status.getMessage());
- list.add(sb.toString());
- IStatus[] children = status.getChildren();
- for (int i = 0; i < children.length; i++)
- {
- populateList(list, children[i], nesting + 1);
- }
- }
- private void populateDetails(Text text, IStatus status, int nesting)
- {
- if (!status.matches(displayMask))
- {
- return;
- }
-
- String tabChars = StringUtils.repeat( ' ', nesting * 2 );
- String messageLine = tabChars + status.getMessage() + System.getProperty("line.separator");
- Throwable except = status.getException();
-
- text.append( messageLine );
-
- if( except != null )
- {
- String[] trace = StringUtils.getStackTrace( except );
-
- for( int index = 0; index < trace.length; index++ )
- {
- text.append( tabChars + " " + trace[index] + System.getProperty("line.separator") );
- }
- }
-
- IStatus[] children = status.getChildren();
- for (int i = 0; i < children.length; i++)
- {
- populateDetails(text, children[i], nesting + 1);
- }
- }
- /**
- * Returns whether the given status object should be displayed.
- *
- * @param status
- * a status object
- * @param mask
- * a mask as per <code>Status.matches</code>
- * @return <code>true</code> if the given status should be displayed, and
- * <code>false</code> otherwise
- */
- protected static boolean shouldDisplay(IStatus status, int mask)
- {
- IStatus[] children = status.getChildren();
- if (children == null || children.length == 0)
- {
- return status.matches(mask);
- }
- for (int i = 0; i < children.length; i++)
- {
- if (children[i].matches(mask))
- return true;
- }
- return false;
- }
- /**
- * Toggles the unfolding of the details area. This is triggered by the user
- * pressing the details button.
- */
- private void toggleDetailsArea()
- {
- Point windowSize = getShell().getSize();
- int newHeight = -1;
-
- if (detailsCreated)
- {
- details.dispose();
- detailsCreated = false;
- detailsButton.setText(IDialogConstants.SHOW_DETAILS_LABEL);
-
- // Without the following computeSize call the setSize call below throws an array out of bounds exception.
- // Very weird.
- getContents().computeSize(SWT.DEFAULT, SWT.DEFAULT);
-
- newHeight = savedSize.y;
- }
- else
- {
- if( savedSize == null ) savedSize = windowSize;
-
- details = createDropDownDetails((Composite) getContents());
- detailsButton.setText(IDialogConstants.HIDE_DETAILS_LABEL);
- newHeight = getContents().computeSize(SWT.DEFAULT, SWT.DEFAULT).y;
- newHeight = newHeight < 250 ? 250 : newHeight;
- }
-
- newHeight = newHeight > 400 ? 400 : newHeight;
-
- getShell().setSize( new Point(windowSize.x, newHeight) );
- parent.layout();
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/OptionsDialog.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/OptionsDialog.java
deleted file mode 100644
index 24ceea306..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/OptionsDialog.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.environment.Choice;
-
-
-/**
- * A dialog to display one or more errors to the user, as contained in an
- * <code>Status</code> object. If an error contains additional detailed
- * information then a Details button is automatically supplied, which shows or
- * hides an error details viewer when pressed by the user.
- *
- */
-public class OptionsDialog extends MessageDialog
-{
- private Choice[] choices;
- private int returnCode_;
-
- public OptionsDialog(
- Shell parentShell,
- String dialogTitle,
- String message,
- IStatus status,
- int displayMask,
- Choice[] choices)
- {
- super(parentShell, dialogTitle, message, status, displayMask);
- this.choices = choices;
- }
-
- /*
- * (non-Javadoc) This should also be overwritten Method declared on Dialog.
- */
- protected void createButtonsForButtonBar(Composite parent)
- {
- // create a button for each options
- for (int i = 0; i < choices.length; i++)
- {
- createButton(parent, choices[i].getShortcut(), choices[i].getLabel(), true);
- }
- if (status.isMultiStatus() )
- {
- detailsButton =
- createButton(
- parent,
- StatusDialogConstants.DETAILS_ID,
- IDialogConstants.SHOW_DETAILS_LABEL,
- false);
- }
- }
-
- protected void buttonPressed(int id)
- {
- if (id == StatusDialogConstants.DETAILS_ID)
- // was the Details button pressed?
- super.buttonPressed(id);
- else
- {
- setReturnCode(id);
- close();
- }
- }
-
- protected void setReturnCode(int id)
- {
- returnCode_ = id;
- }
-
- public int getReturnCode()
- {
- return returnCode_;
- }
- /*
- * This is one of the few methods that needs to be overwritten by the
- * subclasses. The image names can be found in the Dialog class
- */
- protected Image getDialogImage()
- {
- // create image
- switch (status.getSeverity())
- {
- case IStatus.INFO :
- return PlatformUI.getWorkbench().getDisplay().getSystemImage(SWT.ICON_INFORMATION);
- case IStatus.WARNING :
- return PlatformUI.getWorkbench().getDisplay().getSystemImage(SWT.ICON_WARNING);
- default :
- return PlatformUI.getWorkbench().getDisplay().getSystemImage(SWT.ICON_ERROR);
- }
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/StatusDialogConstants.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/StatusDialogConstants.java
deleted file mode 100644
index 4e56788ec..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/StatusDialogConstants.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-/**
-* Constants for status dialogs
-*/
-public interface StatusDialogConstants {
-
- /*
- * Button ID for the "Yes" button
- */
- public static final int YES_ID = 2;
- /*
- * Button ID for the "Yes to all" button
- */
- public static final int YES_TO_ALL_ID = 4;
- /*
- * Button ID for the "Cancel" button
- */
- public static final int CANCEL_ID = 1;
- /*
- * Button ID for the "OK" button
- */
- public static final int OK_ID = 0;
- /*
- * Button ID for the "Details" button
- */
- public static final int DETAILS_ID = 13;
-
- /*
- * Button label for the "Yes" button
- */
- // public static final String YES_LABEL = EnvironmentPlugin.getInstance().getMessage("%STATUS_DIALOG_YES_LABEL");
- /*
- * Button label for the "Yes to all" button
- */
- // public static final String YES_TO_ALL_LABEL = EnvironmentPlugin.getInstance().getMessage("%STATUS_DIALOG_YES_TO_ALL_LABEL");
- /*
- * Button label for the "Cancel" button
- */
- // public static final String CANCEL_LABEL = EnvironmentPlugin.getInstance().getMessage("%STATUS_DIALOG_CANCEL_LABEL");
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/WarningDialog.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/WarningDialog.java
deleted file mode 100644
index 9d28e3d2a..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/dialog/WarningDialog.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.dialog;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.PlatformUI;
-
-
-/**
- * A dialog to display one or more errors to the user, as contained in an
- * <code>Status</code> object. If an error contains additional detailed
- * information then a Details button is automatically supplied, which shows or
- * hides an error details viewer when pressed by the user.
- *
- */
-public class WarningDialog extends MessageDialog
-{
- /**
- * Creates an error dialog. Note that the dialog will have no visual
- * representation (no widgets) until it is told to open.
- * <p>
- * Normally one should use <code>openError</code> to create and open one of
- * these. This constructor is useful only if the error object being displayed
- * contains child items <it>and</it> you need to specify a mask which will
- * be used to filter the displaying of these children.
- * </p>
- *
- * @param parentShell
- * the shell under which to create this dialog
- * @param dialogTitle
- * the title to use for this dialog, or <code>null</code> to
- * indicate that the default title should be used
- * @param message
- * the message to show in this dialog, or <code>null</code> to
- * indicate that the error's message should be shown as the
- * primary message
- * @param status
- * the error to show to the user
- * @param displayMask
- * the mask to use to filter the displaying of child items, as per
- * <code>Status.matches</code>
- */
- public WarningDialog(
- Shell parentShell,
- String dialogTitle,
- String message,
- IStatus status,
- int displayMask)
- {
- super(parentShell, dialogTitle, message, status, displayMask);
- }
-
- /*
- * (non-Javadoc) This should also be overwritten Method declared on Dialog.
- */
- protected void createButtonsForButtonBar(Composite parent)
- {
- // create OK, Cancel and Details buttons
- createButton(
- parent,
- StatusDialogConstants.OK_ID,
- IDialogConstants.OK_LABEL,
- true);
- createButton(
- parent,
- StatusDialogConstants.CANCEL_ID,
- IDialogConstants.CANCEL_LABEL,
- false);
- if (status.isMultiStatus())
- {
- detailsButton =
- createButton(
- parent,
- StatusDialogConstants.DETAILS_ID,
- IDialogConstants.SHOW_DETAILS_LABEL,
- false);
- }
- }
-
- /*
- * This is one of the few methods that needs to be overwritten by the
- * subclasses. The image names can be found in the Dialog class
- */
- protected Image getDialogImage()
- {
- // create image
- return PlatformUI.getWorkbench().getDisplay().getSystemImage(SWT.ICON_WARNING);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EclipseStatusHandler.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EclipseStatusHandler.java
deleted file mode 100644
index 1c133103c..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EclipseStatusHandler.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.eclipse;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.command.internal.env.core.EnvironmentCoreMessages;
-import org.eclipse.wst.command.internal.env.ui.dialog.MessageDialog;
-import org.eclipse.wst.command.internal.env.ui.dialog.StatusDialogConstants;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.environment.StatusException;
-
-
-/**
- * This is the Eclipse UI version of the IStatusHandler
- */
-public class EclipseStatusHandler implements IStatusHandler
-{
- private IStatus worstStatus = Status.OK_STATUS;
- private Shell shell = null;
-
- public EclipseStatusHandler()
- {
- }
-
- public EclipseStatusHandler( Shell theShell )
- {
- shell = theShell;
- }
-
- public IStatus getStatus()
- {
- return worstStatus;
- }
-
- public void resetStatus()
- {
- worstStatus = Status.OK_STATUS;
- }
-
- /**
- * @see org.eclipse.env.common.IStatusHandler#report(org.eclipse.env.common.Status, org.eclipse.env.common.Choice[])
- */
- public Choice report( final IStatus status, final Choice[] choices)
- {
- final int[] result = new int[1];
-
- checkStatus( status );
-
- Runnable runnable = new Runnable()
- {
- public void run()
- {
- result[0] =
- MessageDialog.openMessage( getShell(),
- EnvironmentCoreMessages.TITLE_WARNING, //TODO: Should be inferred from status' severity.
- null,
- status,
- choices);
- }
- };
-
- Display.getDefault().syncExec( runnable );
-
- for (int i = 0; i < choices.length; i++)
- {
- if (choices[i].getShortcut() == result[0] )
- return choices[i];
- }
-
- return null;
- }
-
- /**
- * @see org.eclipse.env.common.IStatusHandler#report(org.eclipse.env.common.Status)
- */
- public void report(IStatus status) throws StatusException
- {
- boolean userOk = false;
-
- checkStatus( status );
-
- switch (status.getSeverity())
- {
- // an error has been reported and we need to stop executing the comming
- // commands
- case Status.ERROR :
- {
- userOk = reportErrorStatus(status);
- break;
- }
- case Status.WARNING :
- {
- userOk = reportWarning(status);
- break;
- }
- case Status.INFO :
- {
- userOk = true;
- reportInfo(status);
- break;
- }
- }
-
- if( !userOk ) throw new StatusException( status );
- }
-
- private boolean reportWarning( final IStatus status )
- {
- final int userResponse[] = new int[1];
-
- Runnable runnable = new Runnable()
- {
- public void run()
- {
- userResponse[0] =
- MessageDialog.openMessage( getShell(),
- EnvironmentCoreMessages.TITLE_WARNING,
- null,
- status);
- }
- };
-
- Display.getDefault().syncExec( runnable );
-
- return (userResponse[0] == StatusDialogConstants.OK_ID);
- }
-
- private boolean reportErrorStatus(final IStatus status)
- {
- Runnable runnable = new Runnable()
- {
- public void run()
- {
- MessageDialog.openMessage( getShell(),
- EnvironmentCoreMessages.TITLE_ERROR,
- null,
- status);
- }
- };
-
- Display.getDefault().syncExec( runnable );
-
- return false;
- }
-
- private void checkStatus( IStatus status )
- {
- if( status.getSeverity() > worstStatus.getSeverity() )
- {
- worstStatus = status;
- }
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.common.IStatusHandler#reportError(org.eclipse.wst.command.internal.env.core.common.Status)
- */
- public void reportError(IStatus status)
- {
- checkStatus( status );
- reportErrorStatus( status );
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.common.IStatusHandler#reportInfo(org.eclipse.wst.command.internal.env.core.common.Status)
- */
- public void reportInfo(final IStatus status)
- {
- Runnable runnable = new Runnable()
- {
- public void run()
- {
- MessageDialog.openMessage( getShell(),
- EnvironmentCoreMessages.TITLE_INFO,
- null,
- status);
- }
- };
-
- Display.getDefault().syncExec( runnable );
- }
-
- private Shell getShell()
- {
- if( shell != null ) return shell;
-
- Display display = Display.getDefault();
-
- return display == null ? null : display.getActiveShell();
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EnvironmentUtils.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EnvironmentUtils.java
deleted file mode 100644
index 60ea6d2a2..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/EnvironmentUtils.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.eclipse;
-
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-public final class EnvironmentUtils
-{
- /**
- *
- * @param env This should be an EclipseEnvironment.
- * @return Returns a ResourceContext.
- */
- public static ResourceContext getResourceContext( IEnvironment env )
- {
- ResourceContext context = null;
-
- if( env instanceof EclipseEnvironment )
- {
- context = ((EclipseEnvironment)env).getResourceContext();
- }
- else
- {
- context = new TransientResourceContext();
- }
-
- return context;
- }
-
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/SWTEnvironmentManager.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/SWTEnvironmentManager.java
deleted file mode 100644
index 99132bcc5..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/eclipse/SWTEnvironmentManager.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/***************************************************************************************************
- * Copyright (c) 2005 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
- **************************************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.eclipse;
-
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.eclipse.BaseEclipseEnvironment;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-
-public class SWTEnvironmentManager
-{
- /**
- * Returns a new instance of an IEnvironment for the Eclipse SWT GUI.
- */
- public static BaseEclipseEnvironment getNewSWTEnvironment()
- {
- PersistentResourceContext context = PersistentResourceContext.getInstance();
- EclipseStatusHandler handler = new EclipseStatusHandler();
- EclipseEnvironment environment = new EclipseEnvironment( null, context, handler );
-
- return environment;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/plugin/EnvUIPlugin.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/plugin/EnvUIPlugin.java
deleted file mode 100644
index 4c15d6091..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/plugin/EnvUIPlugin.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- ******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.plugin;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.jface.resource.ImageDescriptor;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class EnvUIPlugin extends Plugin {
-
- //The shared instance.
- private static EnvUIPlugin instance;
-
- /**
- * The constructor.
- */
- public EnvUIPlugin() {
- super();
- instance = this;
- }
-
- /**
- * Returns the shared instance.
- */
- public static EnvUIPlugin getInstance() {
- return instance;
- }
- public static ImageDescriptor getImageDescriptor ( String name )
- {
- try
- {
- URL installURL = instance.getBundle().getEntry("/");
- URL imageURL = new URL(installURL,name);
- return ImageDescriptor.createFromURL(imageURL);
- }
- catch (MalformedURLException e)
- {
- return null;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/preferences/ActionDialogsPreferencePage.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/preferences/ActionDialogsPreferencePage.java
deleted file mode 100644
index 55e4a7989..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/preferences/ActionDialogsPreferencePage.java
+++ /dev/null
@@ -1,247 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060726 151866 makandre@ca.ibm.com - Andrew Mak, Popup Dialog Selection preferences defaults incorrectly to hide all
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.preferences;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExecutableExtension;
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.context.PersistentActionDialogsContext;
-import org.eclipse.wst.command.internal.env.preferences.ActionDialogPreferenceType;
-import org.eclipse.wst.command.internal.env.ui.EnvironmentUIMessages;
-
-
-/**
- * This class can be used to create a popup actions preference page for a
- * particular category. For example:
- *
- * <pre>
- * &lt;extension
- * point="org.eclipse.ui.preferencePages"&gt;
- * &lt;page
- * name="%PREFERENCE_CATEGORY_DIALOGS"
- * category="org.eclipse.jst.ws.ui.preferences.name"
- * class="org.eclipse.wst.command.internal.env.preferences.ActionDialogsPreferencePage"
- * id="org.eclipse.jst.wss.popup.category"&gt;
- * &lt;/page&gt;
- * * </pre>
- * This entry specifies that all popup actions that are associated with the
- * org.eclipse.jst.wss.popup.category will be displayed on this
- * preference page.
- */
-public class ActionDialogsPreferencePage extends PreferencePage implements IWorkbenchPreferencePage, Listener, IExecutableExtension
-{
- /*CONTEXT_ID PPAD0001 for the Action Dialogs Preference Page*/
- private String INFOPOP_PPAD_PAGE = "org.eclipse.wst.command.env.ui.PPAD0001";
- //
- private Button showAll;
- /*CONTEXT_ID PPAD0002 for the show all check box on the Action Dialogs Preference Page*/
- private String INFOPOP_PPAD_BUTTON_SHOW_ALL = "org.eclipse.wst.command.env.ui.PPAD0002";
- //
- private Button hideAll;
- /*CONTEXT_ID PPAD0003 for the hide all check box on the Action Dialogs Preference Page*/
- private String INFOPOP_PPAD_BUTTON_HIDE_ALL = "org.eclipse.wst.command.env.ui.PPAD0003";
-
- private Hashtable checkBoxes_;
- private String categoryId_;
-
- public void setInitializationData( IConfigurationElement config,
- String propertyName,
- Object data )
- throws CoreException
- {
- categoryId_ = config.getAttribute( "id" );
- }
-
- /**
- * Creates preference page controls on demand.
- * @param parent the parent for the preference page
- */
- protected Control createContents(Composite superparent)
- {
-
- checkBoxes_ = new Hashtable();
- addOptionalDialogsCheckBoxes (superparent);
- new Label(superparent, SWT.HORIZONTAL);
-
- Composite parent = new Composite( superparent, SWT.NONE );
- GridLayout layout = new GridLayout();
- layout.numColumns = 2;
- parent.setLayout( layout );
- parent.setToolTipText(EnvironmentUIMessages.TOOLTIP_PPAD_PAGE);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, INFOPOP_PPAD_PAGE );
-
- showAll = new Button(parent, SWT.NONE);
- showAll.setText(EnvironmentUIMessages.BUTTON_SHOW_ALL_DIALOGS);
- showAll.addListener(SWT.Selection, this);
- showAll.setToolTipText(EnvironmentUIMessages.TOOLTIP_PPAD_BUTTON_SHOW_ALL);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(showAll, INFOPOP_PPAD_BUTTON_SHOW_ALL );
-
- hideAll = new Button(parent, SWT.NONE);
- hideAll.setText(EnvironmentUIMessages.BUTTON_HIDE_ALL_DIALOGS);
- hideAll.addListener ( SWT.Selection, this);
- hideAll.setToolTipText(EnvironmentUIMessages.TOOLTIP_PPAD_BUTTON_HIDE_ALL);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(hideAll, INFOPOP_PPAD_BUTTON_HIDE_ALL );
-
- initializeValues();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
- return parent;
- }
-
- public void handleEvent (Event event)
- {
- if (showAll == event.widget)
- handleShowAllEvent();
-
- else if ( hideAll == event.widget)
- handleHideAllEvent();
- }
-
- private void handleShowAllEvent ()
- {
- Enumeration e = checkBoxes_.elements();
- for (int i=0; e.hasMoreElements(); i++)
- {
- Button dialog = (Button) e.nextElement();
- dialog.setSelection( false );
- }
- }
-
- private void handleHideAllEvent ()
- {
- Enumeration e = checkBoxes_.elements();
- for (int i=0; e.hasMoreElements(); i++)
- {
- Button dialog = (Button) e.nextElement();
- dialog.setSelection( true );
- }
- }
-
- private void addOptionalDialogsCheckBoxes ( Composite parent)
- {
- PersistentActionDialogsContext context = PersistentActionDialogsContext.getInstance();
- ActionDialogPreferenceType[] dialogs = context.getDialogs();
-
- for (int i = 0; i < dialogs.length; i++)
- {
- ActionDialogPreferenceType dialog = dialogs[i];
- String category = dialog.getCategory();
-
- if( dialog.getShowCheckbox() && category != null && category.equals( categoryId_) )
- {
- Button checkBox = createCheckBox(parent, dialog.getName());
- checkBox.setToolTipText( dialog.getTooltip() );
- PlatformUI.getWorkbench().getHelpSystem().setHelp(checkBox, dialog.getInfopop() );
- checkBoxes_.put(dialog.getId(), checkBox);
- }
- }
- }
-
- private Button createCheckBox( Composite parent, String text )
- {
- Button button = new Button( parent, SWT.CHECK );
- button.setText( text );
- return button;
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- initializeDefaults();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- storeValues();
- return true;
- }
-
- protected void performApply()
- {
- performOk();
- }
-
- /**
- * @see IWorkbenchPreferencePage
- */
- public void init(IWorkbench workbench) { }
-
- /**
- * Initializes states of the controls using default values
- * in the preference store.
- */
- private void initializeDefaults()
- {
- PersistentActionDialogsContext context = PersistentActionDialogsContext.getInstance();
- Enumeration e = checkBoxes_.keys();
- for (int i=0; e.hasMoreElements(); i++)
- {
- String id = (String) e.nextElement();
- Button dialog = (Button) checkBoxes_.get(id);
- dialog.setSelection(context.getDefaultBoolean(id));
- }
- }
-
- /**
- * Initializes states of the controls from the preferences.
- */
- private void initializeValues()
- {
- PersistentActionDialogsContext context = PersistentActionDialogsContext.getInstance();
- Enumeration e = checkBoxes_.keys();
- for (int i=0; e.hasMoreElements(); i++)
- {
- String id = (String) e.nextElement();
- Button button = (Button) checkBoxes_.get(id);
- button.setSelection(context.isActionDialogEnabled(id));
- }
- }
-
- /**
- * Stores the values of the controls back to the preference store.
- */
- private void storeValues()
- {
- PersistentActionDialogsContext context = PersistentActionDialogsContext.getInstance();
-
- Enumeration e = checkBoxes_.keys();
- for (int i=0; e.hasMoreElements(); i++)
- {
- String id = (String) e.nextElement();
- context.setActionDialogEnabled(id, ((Button)checkBoxes_.get(id)).getSelection());
- }
- }
-}
-
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/registry/WidgetRegistry.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/registry/WidgetRegistry.java
deleted file mode 100644
index 5ab5b3104..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/registry/WidgetRegistry.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.registry;
-
-import java.util.Hashtable;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributorFactory;
-
-public class WidgetRegistry
-{
- private static WidgetRegistry registry_;
-
- private Hashtable entries_;
-
- private WidgetRegistry()
- {
- }
-
- public static WidgetRegistry instance()
- {
- if (registry_ == null)
- {
- registry_ = new WidgetRegistry();
- registry_.load();
- }
-
- return registry_;
- }
-
- public static void initialize()
- {
- registry_ = null;
- }
-
- /**
- *
- * @param id the methodId that may have WidgetContributor associated with it.
- * @return returns a INamedWidgetContributorFactory if one was defined in the registry.
- * Otherwise null is returned.
- */
- public INamedWidgetContributorFactory getFactory( String id )
- {
- INamedWidgetContributorFactory factory = null;
- Entry entry = (Entry)entries_.get( id );
-
- if( entry != null )
- {
- try
- {
- if( entry.factory_ == null )
- {
- entry.factory_ = (INamedWidgetContributorFactory)entry.element_.createExecutableExtension( "class" );
- }
-
- factory = entry.factory_;
- }
- catch( CoreException exc )
- {
- exc.printStackTrace();
- }
- catch( Throwable exc )
- {
- exc.printStackTrace();
- }
- }
-
- return factory;
- }
-
- private void load()
- {
- IConfigurationElement[] elements = Platform.getExtensionRegistry().getConfigurationElementsFor("org.eclipse.wst.command.env.ui.widgetRegistry");
-
- entries_ = new Hashtable();
-
- for( int index = 0; index < elements.length; index++ )
- {
- // If this is not an element that know about we will skip it.
- if( !elements[index].getName().equals("widgetFactory") ) continue;
-
- Entry entry = new Entry();
- IConfigurationElement element = elements[index];
- String id = element.getAttribute( "id" );
- String methodId = element.getAttribute( "insertBeforeCommandId" );
-
- entry.element_ = element;
- entry.id_ = id;
-
- entries_.put( methodId, entry );
- }
- }
-
- private class Entry
- {
- String id_;
- IConfigurationElement element_;
- INamedWidgetContributorFactory factory_;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/AbstractSelectionDialog.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/AbstractSelectionDialog.java
deleted file mode 100644
index 0dbab2c57..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/AbstractSelectionDialog.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.widgets.Shell;
-
-public abstract class AbstractSelectionDialog extends SimpleDialog {
-
- public AbstractSelectionDialog( Shell shell, PageInfo pageInfo)
- {
- super(shell, pageInfo);
- }
-
- protected void callSetters() {
- // extenders should override this method
-
- }
-
- public String getDisplayableSelectionString()
- {
- return "";
- }
-
- public abstract IStructuredSelection getObjectSelection();
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CanFinishRegistry.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CanFinishRegistry.java
deleted file mode 100644
index bfe0a0e07..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CanFinishRegistry.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-
-/**
- * This is an interface for an abstract can finish registry.
- * This registry is usually associate with an Eclipse wizard. This
- * registry allow condition object to be added to it in order to
- * determine if the wizard can finish or not.
- *
- */
-public interface CanFinishRegistry
-{
- /**
- * Add a condition object to the registry.
- * @param condition the condition.
- */
- public void addCondition( Condition condition );
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBinding.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBinding.java
deleted file mode 100644
index afd591ba5..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBinding.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory;
-
-
-public interface CommandWidgetBinding extends CommandFragmentFactoryFactory
-{
- /**
- * This method is used by extensions to register their widgets with
- * CommandFragments
- *
- * @param widgetRegistry
- */
- public void registerWidgetMappings( WidgetRegistry widgetRegistry );
-
- /**
- * This method is used by extenions to register the data mappings
- * that their widgets use.
- *
- * @param dataRegistry
- */
- public void registerDataMappings( DataMappingRegistry dataRegistry );
-
- /**
- * This method is used by extensions to register condition objects
- * that control if the wizard can finish or not.
- *
- * @param canFinishRegistry
- */
- public void registerCanFinish( CanFinishRegistry canFinishRegistry );
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBindingList.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBindingList.java
deleted file mode 100644
index 7b8784584..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CommandWidgetBindingList.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-
-
-public class CommandWidgetBindingList implements CommandWidgetBinding
-{
- private Vector bindings_;
- private Vector fragments_;
- private CommandFragmentFactory factory_;
-
- /**
- * This CommandWidgetBinding combines a list of CommandWidgetBindings.
- * There should be the same number of entries in both the bindings
- * parameter and the fragments parameter. Entries in either of the
- * bindings for fragments vectors are allowed to be null.
- *
- * @param bindings the bindings to combine.
- * @param fragments These fragments will be interspersed with the
- * fragments associated with each binding. The first
- * fragment will be put before the fragment from the
- * first binding. Following this will be the second
- * fragment from the fragments vector and then the
- * second fragment from the bindings vector, etc.
- */
- public CommandWidgetBindingList( Vector bindings, Vector fragments )
- {
- bindings_ = bindings;
- fragments_ = fragments;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
- */
- public void registerCanFinish(CanFinishRegistry canFinishRegistry)
- {
- int length = bindings_.size();
-
- for( int index = 0; index < length; index++ )
- {
- CommandWidgetBinding binding = (CommandWidgetBinding)bindings_.elementAt( index );
-
- if( binding != null ) binding.registerCanFinish( canFinishRegistry );
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- int length = bindings_.size();
-
- for( int index = 0; index < length; index++ )
- {
- CommandWidgetBinding binding = (CommandWidgetBinding)bindings_.elementAt( index );
- if( binding != null ) binding.registerDataMappings( dataRegistry );
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
- */
- public void registerWidgetMappings(WidgetRegistry widgetRegistry)
- {
- int length = bindings_.size();
-
- for( int index = 0; index < length; index++ )
- {
- CommandWidgetBinding binding = (CommandWidgetBinding)bindings_.elementAt( index );
- if( binding != null ) binding.registerWidgetMappings( widgetRegistry );
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory#create()
- */
- public CommandFragmentFactory create()
- {
- if( factory_ == null )
- {
- factory_ = new CommandFragmentFactory()
- {
- public CommandFragment create()
- {
- SequenceFragment fragmentList = new SequenceFragment();
- int length = bindings_.size();
-
- for( int index = 0; index < length; index++ )
- {
- CommandFragment fragment = (CommandFragment)fragments_.elementAt( index );
-
- if( fragment != null )
- {
- fragmentList.add( fragment );
- }
-
- CommandWidgetBinding binding = (CommandWidgetBinding)bindings_.elementAt( index );
-
- if( binding != null )
- {
- fragmentList.add( binding.create().create() );
- }
- }
-
- return fragmentList;
- }
- };
- }
-
- return factory_;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CurrentPageCommand.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CurrentPageCommand.java
deleted file mode 100644
index 6509401e0..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/CurrentPageCommand.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
- * This Command can be used to get the current page.
- * Use of this class is not recommended.
- *
- */
-public class CurrentPageCommand extends AbstractDataModelOperation
-{
- private WizardPageManager pageManager_;
-
- public CurrentPageCommand( WizardPageManager pageManager )
- {
- pageManager_ = pageManager;
- }
-
- public IWizardPage getCurrentPage()
- {
- return pageManager_.getCurrentPage();
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DataObjectCommand.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DataObjectCommand.java
deleted file mode 100644
index 0450ad308..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DataObjectCommand.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
- * This Command can be use to get the resulting data object for
- * this wizard.
- *
- */
-public class DataObjectCommand extends AbstractDataModelOperation
-{
- private Object dataObject_;
-
- public void setDataObject( Object object )
- {
- dataObject_ = object;
- }
-
- public Object getDataObject()
- {
- return dataObject_;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DialogDataEvents.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DialogDataEvents.java
deleted file mode 100644
index b378bb96b..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DialogDataEvents.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-
-/**
- * Dynamic wizard implementations that want to create different
- * kinds of wizard pages need to implement this interface.
- * The WizardPageFactory returns a class of this type.
- *
- */
-public interface DialogDataEvents
-{
- /**
- *
- * @return returns the WidgetDataEvents object created by the addControls
- * method of a WidgetContributor.
- */
- public WidgetDataEvents getDataEvents();
-
- /**
- * Validates that this wizard page is complete.
- *
- */
- public void validatePageToStatus();
-}
-
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DynamicWizard.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DynamicWizard.java
deleted file mode 100644
index b6471a957..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/DynamicWizard.java
+++ /dev/null
@@ -1,387 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060223 129232 pmoogk@ca.ibm.com - Peter Moogk
- * 20060822 154750 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExecutableExtension;
-import org.eclipse.core.runtime.IExtension;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.ui.INewWizard;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistryImpl;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.EnvironmentUIMessages;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.command.internal.env.ui.registry.WidgetRegistry;
-import org.osgi.framework.Bundle;
-
-
-/**
- * This class is used to add dynamic wizards into Eclipse. When adding
- * a dynamic wizard into eclipse two entries need to be made in the plugin.xml
- * file. This first entry tells Eclipse that a new wizard should be added
- * and it references this class. The second entry specifies detailed information
- * that is specific to the wizard to be added. These two plugin.xml entries
- * are linked together via their id attributes. For example here is an
- * entry that registers a new wizard with eclipse. Note the class attribute
- * references this class.
- * <pre>
- * &lt;extension
- * point="org.eclipse.ui.newWizards"&gt;
- * &lt;wizard
- * name="%PLUGIN_NEW_WIZARD_NAME_WS_CLIENT"
- * icon="icons/full/ctool16/newclient_webserv_wiz.gif"
- * category="org.eclipse.jst.ws.ui.new"
- * class="org.eclipse.wst.command.env.ui.widgets.DynamicWizard"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard"&gt;
- * &lt;description&gt;
- * %PLUGIN_NEW_WIZARD_DESC_WS_CLIENT
- * &lt;/description&gt;
- * &lt;selection
- * class="org.eclipse.core.resources.IResource"&gt;
- * &lt;/selection&gt;
- * &lt;/wizard&gt;
- * &lt;/extension&gt;
- *
- * </pre>
- * Here is the dynamicWizard entry for this particular wizard. This id attributes
- * link these two entries together. The class attribute must specify a class that
- * implements the org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding interface. This
- * interface specifies what the UI should look like and the commands the should
- * be executed in the wizard.
- *
- * <pre>
- * &lt;extension
- * point="org.eclipse.wst.command.env.dynamicWizard"&gt;
- * &lt;dynamicWizard
- * iconbanner="icons/full/wizban/webservicesclient_wiz.gif"
- * class="org.eclipse.jst.ws.consumption.ui.widgets.binding.ClientWidgetBinding"
- * title="%WIZARD_TITLE_WSC"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard"&gt;
- * &lt;/dynamicWizard&gt;
- * &lt;/extension&gt;
- * </pre>
- *
- */
-public class DynamicWizard extends Wizard implements INewWizard, IExecutableExtension
-{
- private String iconBannerName_;
- private Bundle bundle_;
- private SimpleCanFinishRegistry canFinishRegistry_;
- private String wizardTitle_;
- private DataObjectCommand dataObjectCommand_ = null;
- private WizardPageManager pageManager_;
-
- protected IConfigurationElement wizardElement_;
- protected IConfigurationElement originalElement_;
- protected CommandWidgetBinding commandWidgetBinding_;
-
- public DynamicWizard()
- {
- setNeedsProgressMonitor(true);
- }
-
- /**
- * This method is called when the Dynamic wizard is created by eclipse.
- * We need to find a dynamicWizard extension point that matches the id
- * for this wizard. Once the extension point is found it will contain
- * a reference to a CommandWidgetBinding class which defines the widgets
- * and commands for this wizard.
- *
- * @see org.eclipse.core.runtime.IExecutableExtension#setInitializationData(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object)
- */
- public void setInitializationData( IConfigurationElement config,
- String propertyName,
- Object data )
- throws CoreException
- {
- String wizardId = config.getAttribute( "id" );
-
- setInitialData( wizardId );
- originalElement_ = config;
- }
-
- /**
- * This method should only be called if the Dynamic Wizard is being
- * launched through some other mechanise other than the Eclipse New Wizard
- * mechanism.
- *
- * @param binding the command widget binding for this wizard.
- * @param descriptor the plugin descriptor where the icon banner is
- * located.
- * @param iconBannerPath the icon banner path for this wizard. The path
- * is relative to the plugin specified by the
- * descriptor parameter.
- * @param wizardTitle the wizard title
- */
- public void setInitialData( CommandWidgetBinding binding,
- Bundle bundle,
- String iconBannerPath,
- String wizardTitle )
- {
- commandWidgetBinding_ = binding;
- bundle_ = bundle;
- iconBannerName_ = iconBannerPath;
- wizardTitle_ = wizardTitle;
- }
-
- /**
- * Sets the initial data based on the dynamic wizard id.
- *
- * @param wizardId
- */
- public void setInitialData( String wizardId ) throws CoreException
- {
- IExtensionRegistry registry = Platform.getExtensionRegistry();
- IExtensionPoint point = registry.getExtensionPoint("org.eclipse.wst.command.env.dynamicWizard");
- IExtension[] extensions = point.getExtensions();
-
- for( int index = 0; index < extensions.length; index++)
- {
- IConfigurationElement[] elements = extensions[index].getConfigurationElements();
-
- if( elements.length == 1 && elements[0].getName().equals( "dynamicWizard") )
- {
- String id = elements[0].getAttribute( "id" );
-
- if( id != null && id.equals( wizardId ) )
- {
- wizardElement_ = elements[0];
- break;
- }
- }
- }
-
- if( wizardElement_ == null )
- {
- Status status = new Status( Status.ERROR, "id", 0, NLS.bind(EnvironmentUIMessages.MSG_ERROR_WIZARD_ID_NOT_FOUND, new String[]{ wizardId}) , null );
- throw new CoreException( status );
- }
- }
-
- /**
- * This method is called by the eclipse framework to initialize the
- * wizard.
- *
- * @param workbench the eclipse workbench
- * @param selection the initial selection that the user has made within
- * eclipse.
- */
- public void init ( IWorkbench workbench, IStructuredSelection selection )
- {
- PersistentResourceContext context = PersistentResourceContext.getInstance();
- EclipseStatusHandler handler = new EclipseStatusHandler();
- EclipseEnvironment environment = new EclipseEnvironment( null, context, handler );
-
- DataMappingRegistryImpl dataRegistry_ = new DataMappingRegistryImpl();
- SimpleWidgetRegistry widgetRegistry_ = new SimpleWidgetRegistry();
- DataFlowManager dataManager = new DataFlowManager( dataRegistry_, environment );
-
- try
- {
- commandWidgetBinding_ = (CommandWidgetBinding)wizardElement_.createExecutableExtension( "class" );
- bundle_ = Platform.getBundle( wizardElement_.getNamespace() );
- iconBannerName_ = wizardElement_.getAttribute( "iconbanner" );
- wizardTitle_ = wizardElement_.getAttribute( "title" );
- }
- catch( CoreException exc )
- {
- exc.printStackTrace();
- }
-
- dataObjectCommand_ = new DataObjectCommand();
- canFinishRegistry_ = new SimpleCanFinishRegistry();
- pageManager_ = new WizardPageManager( widgetRegistry_,
- getWizardPageFactory(),
- this,
- dataManager,
- environment );
-
- pageManager_.setRootFragment( getRootFragment( selection, pageManager_ ) );
-
- commandWidgetBinding_.registerWidgetMappings( widgetRegistry_ );
- commandWidgetBinding_.registerDataMappings( dataRegistry_ );
- commandWidgetBinding_.registerCanFinish( canFinishRegistry_ );
-
- // If a page is not complete ensure that canFinish is false.
- Condition canFinish = new Condition()
- {
- public boolean evaluate()
- {
- IWizardPage currentPage = pageManager_.getCurrentPage();
-
- return currentPage != null ? currentPage.isPageComplete() : true;
- }
- };
-
- canFinishRegistry_.add( canFinish );
-
- // Set that we need a progress monitor.
- setNeedsProgressMonitor( true );
-
- // Ensure that the next/back buttons are enabled.
- setForcePreviousAndNextButtons( true );
-
- // Set the icon banner if specified.
- if( iconBannerName_ != null && iconBannerName_.length() > 0 )
- {
- try
- {
- URL installURL = bundle_.getEntry("/");
- URL imageURL = new URL(installURL, iconBannerName_ );
- ImageDescriptor image = ImageDescriptor.createFromURL(imageURL);
-
- if( image != null )
- {
- setDefaultPageImageDescriptor( image );
- }
- }
- catch (MalformedURLException e)
- {
- }
- }
-
- if( wizardTitle_ != null && wizardTitle_.length() > 0 )
- {
- setWindowTitle( wizardTitle_ );
- }
- }
-
- // Subclasses can override this.
- protected WizardPageFactory getWizardPageFactory()
- {
- return new SimplePageFactory();
- }
-
- /**
- * Returns true if all pages are complete.
- * @return True if all pages are complete.
- */
- public boolean canFinish ()
- {
- int length = canFinishRegistry_.size();
- boolean result = true;
-
- for( int index = 0; index < length; index++ )
- {
- Condition condition = (Condition)canFinishRegistry_.elementAt( index );
-
- result = condition.evaluate();
-
- if( !result ) break;
- }
-
- return result;
- }
-
- /**
- * Returns the first page for this wizard.
- *
- * @return the first page for this wizard.
- **/
- public IWizardPage getStartingPage()
- {
- return pageManager_.getStartingPage();
- }
-
- /**
- * Returns the next page after page and
- * runs the appropriate tasks.
- *
- * @return the next page after page.
- **/
- public IWizardPage getNextPage( IWizardPage page )
- {
- return pageManager_.getNextPage();
- }
-
- /**
- */
- public boolean performFinish ()
- {
- boolean result = pageManager_.performFinish();
-
- if( result ) cleanup();
-
- return result;
- }
-
- /**
- * Undo fragments
- */
- public boolean performCancel ()
- {
- boolean result = pageManager_.performCancel();
-
- if( result ) cleanup();
-
- return result;
- }
-
- public Object getDataObject()
- {
- return dataObjectCommand_.getDataObject();
- }
-
- protected CommandFragment getRootFragment( IStructuredSelection selection, WizardPageManager pageManager )
- {
- SequenceFragment root = new SequenceFragment();
-
- root.add( new SimpleFragment( new SelectionCommand( selection ), "" ) );
- root.add( new SimpleFragment( new CurrentPageCommand( pageManager ), "" ) );
- root.add( commandWidgetBinding_.create().create() );
- root.add( new SimpleFragment( dataObjectCommand_, "" ));
-
- return root;
- }
-
- protected IConfigurationElement getConfigElement()
- {
- return wizardElement_;
- }
-
- /**
- * This method frees up the memory held by this object.
- *
- */
- private void cleanup()
- {
- iconBannerName_ = null;
- bundle_ = null;
- canFinishRegistry_ = null;
- pageManager_ = null;
- wizardTitle_ = null;
- commandWidgetBinding_ = null;
- WidgetRegistry.initialize();
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributor.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributor.java
deleted file mode 100644
index a5baf32b4..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributor.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-
-public interface INamedWidgetContributor
-{
- /**
- *
- * @return returns the WidgetContributor for this Named widget.
- */
- public WidgetContributorFactory getWidgetContributorFactory();
-
- /**
- *
- * @return returns the name.
- */
- public String getName ();
-
- /**
- *
- * @return returns a description that might be displayed on
- * a wizard page.
- */
- public String getDescription ();
-
- /**
- *
- * @return returns title that may be displayed on
- * a wizard page.
- */
- public String getTitle();
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributorFactory.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributorFactory.java
deleted file mode 100644
index f14ff0380..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/INamedWidgetContributorFactory.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-
-public interface INamedWidgetContributorFactory
-{
- /**
- *
- * @return returns the first named widget.
- */
- INamedWidgetContributor getFirstNamedWidget();
-
- /**
- *
- * @param widgetContributor
- * @return returns the next named widget after the one specified.
- */
- INamedWidgetContributor getNextNamedWidget( INamedWidgetContributor widgetContributor );
-
- /**
- * This method is used by extenions to register the data mappings
- * that their widgets use.
- *
- * @param dataRegistry
- */
- public void registerDataMappings( DataMappingRegistry dataRegistry );
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageInfo.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageInfo.java
deleted file mode 100644
index cbad7b240..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageInfo.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-
-
-public class PageInfo
-{
- private String pageName_;
- private String pageTitle_;
- private WidgetContributorFactory widgetFactory_;
-
- public PageInfo( String pageName,
- String pageTitle,
- WidgetContributorFactory widgetFactory )
- {
- pageName_ = pageName;
- pageTitle_ = pageTitle;
- widgetFactory_ = widgetFactory;
- }
-
- public String getPageName()
- {
- return pageName_;
- }
-
- public String getPageTitle()
- {
- return pageTitle_;
- }
-
- public WidgetContributorFactory getWidgetFactory()
- {
- return widgetFactory_;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageWizardDataEvents.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageWizardDataEvents.java
deleted file mode 100644
index b4c858922..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/PageWizardDataEvents.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.jface.wizard.IWizardPage;
-
-/**
- * Dynamic wizard implementations that want to create different
- * kinds of wizard pages need to implement this interface.
- * The WizardPageFactory returns a class of this type.
- *
- */
-public interface PageWizardDataEvents extends IWizardPage
-{
- /**
- *
- * @return returns the WidgetDataEvents object created by the addControls
- * method of a WidgetContributor.
- */
- public WidgetDataEvents getDataEvents();
-
- /**
- * Validates that this wizard page is complete.
- *
- */
- public void validatePageToStatus();
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SelectionCommand.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SelectionCommand.java
deleted file mode 100644
index 1abb1e68a..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SelectionCommand.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-/**
- * This SelectionCommand is execute at the very beginning of the
- * dynamic wizard. Commands executed in the wizard that need
- * the initial selection can get it through a data mapping from
- * this command to the command that needs it.
- *
- */
-public class SelectionCommand extends AbstractDataModelOperation
-{
- private IStructuredSelection selection_;
-
- public SelectionCommand( IStructuredSelection selection )
- {
- selection_ = selection;
- }
-
- public IStructuredSelection getInitialSelection()
- {
- return selection_;
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
- {
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCanFinishRegistry.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCanFinishRegistry.java
deleted file mode 100644
index 43d193ff0..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCanFinishRegistry.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.common.Condition;
-
-
-
-public class SimpleCanFinishRegistry extends Vector implements CanFinishRegistry
-{
-
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3257285837870741305L;
-
- /* (non-Javadoc)
- * @see org.eclipse.env.widgets.CanFinishRegistry#addCondition(org.eclipse.env.command.fragment.Condition)
- */
- public void addCondition(Condition condition)
- {
- add( condition );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCommandEngineManager.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCommandEngineManager.java
deleted file mode 100644
index 243175fbf..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleCommandEngineManager.java
+++ /dev/null
@@ -1,278 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060223 129232 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import java.lang.reflect.InvocationTargetException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.operation.IRunnableContext;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine;
-import org.eclipse.wst.command.internal.env.core.fragment.FragmentListener;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.common.environment.ILog;
-
-
-/**
- * This class manages the execution of Commands in a flow of CommandFragments.
- * The bulk of this work is done by the CommandFragmentEngine. The main job of
- * this class is run the fragments in a particular transactional environment.
- * A fragment has a method called doNotRunInTransaction which is used to determine
- * if its commands should be run in a transaction or not. If this method returns
- * true(ie. not in a transaction) the Commands are wrapped in a IRunnableWithProgress.
- * If false( ie. in a transaction ) the Commands are wrapped in a WorkspaceModifyOperation.
- *
- */
-public class SimpleCommandEngineManager
-{
- protected CommandFragmentEngine engine_;
- protected DataFlowManager dataManager_;
- protected EclipseEnvironment environment_;
-
- private boolean foundStop_;
- private boolean doNotRunInTransaction_;
-
- public SimpleCommandEngineManager( EclipseEnvironment environment, DataFlowManager dataManager )
- {
- environment_ = environment;
- dataManager_ = dataManager;
- }
-
- /**
- * Sets the root fragment. The execution engine will start executing commands
- * at the beginning of this root fragment.
- *
- * @param root the root fragment.
- */
- public void setRootFragment( CommandFragment root )
- {
- engine_ = new CommandFragmentEngine( root, dataManager_, environment_ );
-
- environment_.setCommandManager( engine_ );
-
- engine_.setPeekFragmentListener(
- new FragmentListener()
- {
- public boolean notify( CommandFragment fragment )
- {
- return peekFragment( fragment );
- }
- } );
-
- engine_.setNextFragmentListener(
- new FragmentListener()
- {
- public boolean notify( CommandFragment fragment )
- {
- return nextFragment( fragment );
- }
- } );
-
- engine_.setAfterExecuteFragmentListener(
- new FragmentListener()
- {
- public boolean notify( CommandFragment fragment )
- {
- return afterExecuteNextFragment( fragment );
- }
- } );
-
- engine_.setUndoFragmentListener(
- new FragmentListener()
- {
- public boolean notify( CommandFragment fragment )
- {
- return undoFragment( fragment );
- }
- } );
- }
-
- protected boolean afterExecuteNextFragment( CommandFragment fragment )
- {
- boolean continueExecute = true;
- EclipseStatusHandler statusHandler = (EclipseStatusHandler)environment_.getStatusHandler();
- IStatus commandStatus = engine_.getLastStatus();
- IStatus handlerStatus = statusHandler.getStatus();
-
- if( commandStatus.getSeverity() == IStatus.ERROR &&
- handlerStatus.getSeverity() != IStatus.ERROR )
- {
- // The command returned an error status for the engine to stop,
- // but the status handler did not have report and error.
- // Therefore, we will report this status returned by the command
- // if there is a message to display.
- String errorMessage = commandStatus.getMessage();
-
- if( errorMessage != null && errorMessage.length() > 0 )
- {
- statusHandler.reportError( commandStatus );
- }
- }
- else if( commandStatus.getSeverity() != IStatus.ERROR &&
- handlerStatus.getSeverity() == IStatus.ERROR )
- {
- // The last command didn't return an error, but the status handler
- // did report and error. Therefore, we should stop.
- continueExecute = false;
- }
-
- return continueExecute;
- }
-
- /**
- * The CommandFragmentEngine calls this method when it is peeking forward
- * in the fragments. When peeking forward the command stack state in the
- * engine is not changes.
- *
- *
- * @param fragment the fragment that it is peeking at.
- * @return Indicates whether peeking should stop or not.
- */
- protected boolean peekFragment( CommandFragment fragment )
- {
- return true;
- }
-
- /**
- * The CommandFragmentEngine calls this method when it is moving forward
- * in the fragments. When moving forward the command stack state is saved
- * at each fragment is traversed.
- *
- * @param fragment the fragment that is being traversed.
- * @return indicates if the forward traversal should continue.
- */
- protected boolean nextFragment( CommandFragment fragment )
- {
- if( fragment.doNotRunInTransaction() != doNotRunInTransaction_ )
- {
- // The fragment is requesting a different transaction environment than
- // the one that we are in so we must stop and change environments.
- doNotRunInTransaction_ = fragment.doNotRunInTransaction();
- foundStop_ = false;
- }
-
- return foundStop_;
- }
-
- /**
- * This method is called for each fragment when the command engine is unwinding
- * its stack during an undo operation.
- *
- * @param fragment the fragment being undone.
- * @return returns true if the undo process should continue.
- */
- protected boolean undoFragment( CommandFragment fragment )
- {
- return true;
- }
-
- /**
- * The method executes the CommandFragment commands in the context provided.
- *
- * @param context the context
- * @return returns the status of executing the commands.
- */
- public IStatus runForwardToNextStop( IRunnableContext context )
- {
- IRunnableWithProgress operation = null;
-
- doNotRunInTransaction_ = false;
-
- do
- {
- // We will stop unless we are changing transaction modes.
- foundStop_ = true;
-
- if( doNotRunInTransaction_ )
- {
- operation = getNoTransactionOperation();
- }
- else
- {
- operation = getTransactionOperation();
- }
-
- try
- {
- if( context == null )
- {
- // We don't have a container yet so just run the operation.
- operation.run( null );
- }
- else
- {
- // We have a container where this operation can run and have
- // its progress displayed.
- context.run( false, false, operation );
- }
- }
- catch( InterruptedException exc )
- {
- //TODO should log these exceptions.
- exc.printStackTrace();
- }
- catch( InvocationTargetException exc )
- {
- //TODO should log these exceptions.
- exc.printStackTrace();
- }
- }
- while( !foundStop_ );
-
- return engine_.getLastStatus();
- }
-
- private IRunnableWithProgress getTransactionOperation()
- {
- IRunnableWithProgress operation = new IRunnableWithProgress()
- {
- public void run( IProgressMonitor monitor )
- {
- environment_.getLog().log(ILog.INFO, "command", 5002, this, "getTransactionOperation", "Start of transaction");
-
- EclipseStatusHandler statusHandler = (EclipseStatusHandler)environment_.getStatusHandler();
-
- statusHandler.resetStatus();
- engine_.moveForwardToNextStop( monitor );
-
-
- environment_.getLog().log(ILog.INFO, "command", 5003, this, "getTransactionOperation", "End of transaction");
- }
- };
-
- return operation;
- }
-
- private IRunnableWithProgress getNoTransactionOperation()
- {
- IRunnableWithProgress operation = new IRunnableWithProgress()
- {
- public void run( IProgressMonitor monitor )
- {
- environment_.getLog().log(ILog.INFO, "command", 5085, this, "getNoTransactionOperation", "Start of NON transaction");
-
- EclipseStatusHandler statusHandler = (EclipseStatusHandler)environment_.getStatusHandler();
-
- statusHandler.resetStatus();
- engine_.moveForwardToNextStop( monitor );
- environment_.getLog().log(ILog.INFO, "command", 5086, this, "getNoTransactionOperation", "End of NON transaction");
- }
- };
-
- return operation;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleDialog.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleDialog.java
deleted file mode 100644
index f1a55c7ff..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleDialog.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060418 136335 joan@ca.ibm.com - Joan Haggarty
- * 20060418 136759 joan@ca.ibm.com - Joan Haggarty
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-
-public abstract class SimpleDialog extends Dialog implements DialogDataEvents
-{
- private WidgetContributor widget_;
- private WidgetDataEvents dataEvents_;
- private Listener statusListener_;
- protected WizardPageManager pageManager_;
- private Text messageText_;
- private boolean ok_;
-
- public SimpleDialog( Shell shell, PageInfo pageInfo)
- {
- super(shell);
- widget_ = pageInfo.getWidgetFactory().create();
- statusListener_ = new StatusListener();
- }
-
- Composite parent_;
- public Control createDialogArea( Composite parent )
- {
- parent_ = parent;
- Composite control = (Composite) super.createDialogArea(parent);
- dataEvents_ = widget_.addControls( control, statusListener_ );
-
- //Text area to display validation messages
- messageText_ = new Text(parent, SWT.WRAP | SWT.MULTI | SWT.READ_ONLY);
- GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
- griddata.horizontalIndent = 10;
- messageText_.setLayoutData( griddata );
- parent_.setFocus();
-
- //Call extenders override of the callSetters method to intialize any data in widget
- callSetters();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(control);
- return control;
- }
-
- //Override of Dialog.createContents so we can affect button enablement
- protected Control createContents(Composite parent) {
- Control c = super.createContents(parent);
- //enable controls for initial entry to dialog
- validatePageToStatus();
- return c;
- }
-
- // Enable or disable ok button based on state
- private void enableOk(boolean state)
- {
- Button okButton = getButton(IDialogConstants.OK_ID);
- if (okButton != null)
- okButton.setEnabled(state);
- }
-
- //Implement this method to call all setters on the dialog widget after the controls are created
- protected abstract void callSetters();
-
- public WidgetDataEvents getDataEvents()
- {
- return dataEvents_;
- }
-
- protected WidgetContributor getWidget()
- {
- return widget_;
- }
-
- // sets message in message area above OK and Cancel buttons
- private void setMessage(String message)
- {
- if (message == null)
- messageText_.setText("");
- else
- messageText_.setText(message);
- // force a resize of the parent composite and wrap of the text field if necessary
- parent_.layout();
- }
-
-
-
- public void validatePageToStatus()
- {
- IStatus status = widget_.getStatus();
-
- if( status != null )
- {
- String message = status.getMessage();
- int severity = status.getSeverity();
-
- // for error condition, disable ok and print message
- if( severity == IStatus.ERROR )
- {
- if( message.length() == 0 )
- {
- setMessage( null);
- }
- else
- {
- setMessage(message);
- }
- ok_ = false;
- }
- // display warning and info messages but still enable OK
- else if (severity == IStatus.WARNING | severity == IStatus.INFO)
- {
- setMessage(message);
- ok_ = true;
- }
- // no message to display
- else
- {
- setMessage( null);
- ok_ = true;
- }
- }
- // null status case
- else
- {
- setMessage(null);
- ok_ = true;
- }
-
- enableOk(ok_);
- }
-
- private class StatusListener implements Listener
- {
- public void handleEvent( Event evt )
- {
- validatePageToStatus();
- }
- }
-}
-
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePageFactory.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePageFactory.java
deleted file mode 100644
index 4c02e6be5..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePageFactory.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-
-public class SimplePageFactory implements WizardPageFactory
-{
- public PageWizardDataEvents getPage( PageInfo pageInfo, WizardPageManager manager )
- {
- return new SimpleWizardPage( pageInfo, manager );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupPageFactory.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupPageFactory.java
deleted file mode 100644
index ada9688e7..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupPageFactory.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-
-public class SimplePopupPageFactory implements WizardPageFactory
-{
- private String id_;
-
- public SimplePopupPageFactory( String id )
- {
- id_ = id;
- }
-
- public PageWizardDataEvents getPage( PageInfo pageInfo, WizardPageManager manager )
- {
- return new SimplePopupWizardPage( pageInfo, manager, id_ );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupWizardPage.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupWizardPage.java
deleted file mode 100644
index 662e6073c..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimplePopupWizardPage.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060731 120378 makandre@ca.ibm.com - Andrew Mak, Fields not visible in Large font settings
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.context.PersistentActionDialogsContext;
-import org.eclipse.wst.command.internal.env.ui.EnvironmentUIMessages;
-
-
-
-public class SimplePopupWizardPage extends SimpleWizardPage
-{
- private String id_;
-
- public SimplePopupWizardPage( PageInfo pageInfo, WizardPageManager pageManager, String id )
- {
- super( pageInfo, pageManager );
-
- id_ = id;
- }
-
- protected Composite internalCreateControl( Composite parent )
- {
- Composite composite = super.internalCreateControl(parent);
-
- final PersistentActionDialogsContext context = PersistentActionDialogsContext.getInstance();
-
- // If the current page is null then this must be the first page.
- if( pageManager_.getCurrentPage() == null && context.showCheckbox(id_) )
- {
- final Button button = new Button( composite, SWT.CHECK );
- String label = EnvironmentUIMessages.CHECKBOX_DO_NOT_SHOW_DIALOG_AGAIN;
-
- /*CONTEXT_ID TWP0001 for the show/hide check box*/
- String infopop = "org.eclipse.wst.command.env.ui.TWP0001";
- String tooltip = EnvironmentUIMessages.TOOLTIP_DO_NOT_SHOW_DIALOG_AGAIN;
-
- button.setText( label );
- button.setToolTipText( tooltip );
- button.addSelectionListener( new SelectionAdapter()
- {
- public void widgetSelected( SelectionEvent evt )
- {
- context.setActionDialogEnabled( id_, button.getSelection() );
- }
- });
- button.setSelection( false );
-
- PlatformUI.getWorkbench().getHelpSystem().setHelp( button, infopop );
- }
-
- return composite;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetContributor.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetContributor.java
deleted file mode 100644
index 652acb165..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetContributor.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-
-public class SimpleWidgetContributor implements INamedWidgetContributor
-{
- private WidgetContributorFactory factory_;
- private String name_;
- private String description_;
- private String title_;
-
- public void setDescription(String description)
- {
- description_ = description;
- }
-
-
- public void setFactory(WidgetContributorFactory factory)
- {
- factory_ = factory;
- }
-
-
- public void setName(String name)
- {
- name_ = name;
- }
-
-
- public void setTitle(String title)
- {
- title_ = title;
- }
-
-
- public WidgetContributorFactory getWidgetContributorFactory()
- {
- return factory_;
- }
-
- public String getName()
- {
- return name_;
- }
-
- public String getDescription()
- {
- return description_;
- }
-
- public String getTitle()
- {
- return title_;
- }
-
- /**
- * Subsclassers should override this method.
- */
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
-
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetDataContributor.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetDataContributor.java
deleted file mode 100644
index 5484c9ef0..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetDataContributor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-
-
-/**
- * This class provides a simple WidgetDataContributor class that concrete
- * WidgetDataContributors can subclass.
- *
- */
-public class SimpleWidgetDataContributor implements WidgetDataContributor
-{
- /**
- * @see org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor#addControls(org.eclipse.swt.widgets.Composite, org.eclipse.swt.widgets.Listener)
- */
- public WidgetDataEvents addControls( Composite parent, Listener statusListener)
- {
- return this;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor#getStatus()
- */
- public IStatus getStatus()
- {
- return null;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents#externalize()
- */
- public void externalize()
- {
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents#internalize()
- */
- public void internalize()
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetRegistry.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetRegistry.java
deleted file mode 100644
index 0489bca3f..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWidgetRegistry.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import java.util.Hashtable;
-
-
-
-public class SimpleWidgetRegistry implements WidgetRegistry
-{
- private Hashtable table_ = new Hashtable();
-
- public void add( String fragmentId,
- String pageName,
- String pageTitle,
- WidgetContributorFactory widgetFactory )
- {
- PageInfo entry = new PageInfo( pageName, pageTitle, widgetFactory );
- table_.put( fragmentId, entry );
- }
-
- public PageInfo getPageInfo( String fragmentId )
- {
- return (PageInfo)table_.get( fragmentId );
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWizardPage.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWizardPage.java
deleted file mode 100644
index 2625964cc..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/SimpleWizardPage.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060731 120378 makandre@ca.ibm.com - Andrew Mak, Fields not visible in Large font settings
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.ScrolledComposite;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-
-
-
-public class SimpleWizardPage extends WizardPage implements PageWizardDataEvents
-{
- private WidgetContributor widget_;
- private WidgetDataEvents dataEvents_;
- private Listener statusListener_;
- protected WizardPageManager pageManager_;
-
- public SimpleWizardPage( PageInfo pageInfo, WizardPageManager pageManager )
- {
- super( "" );
-
- setTitle( pageInfo.getPageName() );
- setDescription( pageInfo.getPageTitle());
-
- widget_ = pageInfo.getWidgetFactory().create();
- statusListener_ = new StatusListener();
- pageManager_ = pageManager;
- }
-
- public void createControl( Composite parent )
- {
- ScrolledComposite control = new ScrolledComposite( parent, SWT.V_SCROLL );
- Composite inner = internalCreateControl(control);
-
- control.setExpandHorizontal(true);
- control.setExpandVertical(true);
- control.setContent(inner);
- control.setMinSize(inner.computeSize(SWT.DEFAULT, SWT.DEFAULT));
-
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(control);
- setControl( control );
- }
-
- protected Composite internalCreateControl( Composite parent ) {
-
- Composite control = new Composite( parent, SWT.NONE );
- control.setLayout( new GridLayout() );
- control.setLayoutData( new GridData( GridData.FILL_BOTH ));
-
- dataEvents_ = widget_.addControls( control, statusListener_ );
-
- return control;
- }
-
- public WidgetDataEvents getDataEvents()
- {
- return dataEvents_;
- }
-
- public void validatePageToStatus()
- {
- IStatus status = widget_.getStatus();
-
- if( status != null )
- {
- if( status.getSeverity() == IStatus.ERROR )
- {
- String message = status.getMessage();
-
- if( message.length() == 0 )
- {
- setErrorMessage( null );
- setMessage( getDescription() );
- }
- else
- {
- setErrorMessage( message );
- }
-
- setPageComplete( false );
- }
- else if (status.getSeverity() == IStatus.WARNING )
- {
- setErrorMessage( null );
- setMessage(status.getMessage(), IStatus.WARNING );
- setPageComplete( true );
- }
- else if( status.getSeverity() == IStatus.INFO )
- {
- setErrorMessage( null );
- setMessage( status.getMessage(), IStatus.INFO );
- setPageComplete( true );
- }
- else
- {
- setErrorMessage( null );
- setMessage( getDescription() );
- setPageComplete( true );
- }
- }
- else
- {
- setErrorMessage( null );
- setMessage( getDescription() );
- setPageComplete( true );
- }
-
- getContainer().updateButtons();
- }
-
- public boolean canFlipToNextPage()
- {
- return isPageComplete() && pageManager_.hasNextPage();
- }
-
- public IWizardPage getNextPage()
- {
- return pageManager_.getNextPage();
- }
-
- public void setVisible(boolean value)
- {
- pageManager_.handlePageVisible( this, value );
-
- super.setVisible(value);
- }
-
- private class StatusListener implements Listener
- {
- public void handleEvent( Event evt )
- {
- validatePageToStatus();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetBindingToWidgetFactoryAdapter.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetBindingToWidgetFactoryAdapter.java
deleted file mode 100644
index 152f7c8c8..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetBindingToWidgetFactoryAdapter.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import java.util.Hashtable;
-
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
-
-public class WidgetBindingToWidgetFactoryAdapter
-{
- private Hashtable widgetContributor_;
- private CommandWidgetBinding binding_;
-
- public WidgetBindingToWidgetFactoryAdapter( CommandWidgetBinding binding )
- {
- widgetContributor_ = new Hashtable();
- binding_ = binding;
-
- binding.registerWidgetMappings( new MyWidgetRegistry() );
- }
-
- public INamedWidgetContributor getWidget( String id )
- {
- return (INamedWidgetContributor)widgetContributor_.get( id );
- }
-
- public void registerDataMappings( DataMappingRegistry registry )
- {
- binding_.registerDataMappings( registry );
- }
-
- private class MyWidgetRegistry implements WidgetRegistry
- {
- public void add(String fragmentId, String pageName, String pageTitle, WidgetContributorFactory widgetFactory)
- {
- SimpleWidgetContributor widget = new SimpleWidgetContributor();
- widget.setTitle( pageName );
- widget.setDescription( pageTitle );
- widget.setFactory( new MyWidgetContributorFactory( widgetFactory ) );
-
- widgetContributor_.put( fragmentId, widget );
- }
- }
-
- private class MyWidgetContributorFactory implements WidgetContributorFactory
- {
- private WidgetContributorFactory factory_;
- private WidgetContributor widget_;
-
- public MyWidgetContributorFactory( WidgetContributorFactory factory )
- {
- factory_ = factory;
- }
-
- public WidgetContributor create()
- {
- if( widget_ == null )
- {
- widget_ = factory_.create();
- }
-
- return widget_;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributor.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributor.java
deleted file mode 100644
index b6db62601..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributor.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-
-
-/**
- * This interface provides a way for developers to create validatable widgets
- * that can be used in many different Eclipse UI contexts. (ie. in a Windows, Diaglogs,
- * wizard pages, etc)
- *
- * The main functionality this interface has over just a regular Eclipse Composite
- * is that it provides a mechanism for validating the Widget. When validating
- * there are two aspects to keep in mind. The first aspect deals with WHEN validation
- * occurs and the second aspect deals with WHAT to do for a validation event.
- *
- * The first aspect of triggering validation events is handled by the statusListener
- * parameter of the addControls method. If a particular control that is contributed can
- * affect the validity of this WidgetContributor then the statusListener object
- * should be added to the listener list of that control. For example, if the text in
- * a Text widget can affect the validity of this WidgetContributor then you would
- * add the statusListener to the Text widgets Modify listener list:
- *
- *
- * Text someText = new Text( parent, SWT.NONE );
- * someText.addListener( SWT.Modify, statusListener );
- *
- * Note: if you want to force validation of this widget you can call
- * the statusListener.handleEvent(null) method directly. This
- * is not the prefered may to trigger validation, however.
- *
- * The second aspect of valiation is what to do when the validation event occurs.
- * This is handled by getStatus method. Any code that ensures that this widget is
- * valid should be put in the getStatus implementation.
- *
- *
-*/
-public interface WidgetContributor
-{
- /**
- * This method should be used to implement the UI contributions for this widget.
- *
- * @param parent The composite parent that sub widgets should use.
- * @param statusListener This listener should be added to any widget that can
- * affect the validity of this WidgetContributor.
- * @return returns a WidgetDataEvents object. This object is used by the
- * framework to internalize and externalize data for this widget.
- */
- public WidgetDataEvents addControls( Composite parent, Listener statusListener );
-
- /**
- * This method should implement validation code for this WidgetContributor.
- *
- * @return returns a status object indicating the validity of this widget.
- * If the status severity is ERROR then this widget is considered to
- * be invalid. For any other status severity or if the status returned
- * is null this widget is considered to be valid.
- */
- public IStatus getStatus();
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributorFactory.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributorFactory.java
deleted file mode 100644
index 65b5d0aa3..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetContributorFactory.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-/**
- * This interface provide a way for creating WidgetContributors
- *
- *
- */
-public interface WidgetContributorFactory
-{
- public WidgetContributor create();
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataContributor.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataContributor.java
deleted file mode 100644
index e9aa31db7..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataContributor.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-/**
- * This interface is a combination of the WidgetContributor interface and
- * the WidgetDataEvents interface.
- *
- */
-public interface WidgetDataContributor extends WidgetContributor, WidgetDataEvents
-{
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataEvents.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataEvents.java
deleted file mode 100644
index 4cb03f0fc..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetDataEvents.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-/**
- * This interface provides a way for internalizing and externalizing state
- * data in a WidgetContributor. The internalize method will be called
- * before the widget is displayed so that it can set the default data
- * for that widget. The externalize method provides a way of getting data
- * from the widget after it is displayed.
- *
- */
-public interface WidgetDataEvents
-{
- /**
- * Implementations should set widget state data here.
- *
- */
- public void internalize();
-
- /**
- * Implemenations should get widget state data here.
- *
- */
- public void externalize();
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetRegistry.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetRegistry.java
deleted file mode 100644
index c01107c0f..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WidgetRegistry.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-/**
- * This interface defines how WidgetContributors are made known to the
- * dynamic wizard framework. This widget will be displayed as a wizard page
- * with the name and title specified in the add method. The fragmentId is
- * used to associate this widget with a particular CommandFragment. When
- * a CommandFragment with this fragmentId is traversed the corresponding
- * WidgetContributor will be displayed.
- *
- */
-public interface WidgetRegistry
-{
- /**
- * Adds a WidgetContributorFactory to the framework. This factory
- * is used to get the WidgetContributor. This WidgetContributor
- * will be used to render the wizard page.
- *
- * @param fragmentId the CommandFragment id that this WidgetContributor is associated with.
- * @param pageName the name of this wizard page.
- * @param pageTitle the title of this wizard page.
- * @param widgetFactory the factory which will create the WidgetContributor.
- */
- public void add( String fragmentId,
- String pageName,
- String pageTitle,
- WidgetContributorFactory widgetFactory );
-
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageFactory.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageFactory.java
deleted file mode 100644
index c520979b2..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageFactory.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-
-/**
- *
- *
- *
- *
- */
-public interface WizardPageFactory
-{
- public PageWizardDataEvents getPage( PageInfo pageInfo, WizardPageManager manager );
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageManager.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageManager.java
deleted file mode 100644
index 0c795ce7c..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/WizardPageManager.java
+++ /dev/null
@@ -1,502 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060223 129232 pmoogk@ca.ibm.com - Peter Moogk
- * 20060313 130958 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets;
-
-import java.util.Hashtable;
-import java.util.Stack;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.wizard.IWizard;
-import org.eclipse.jface.wizard.IWizardContainer;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.registry.WidgetRegistry;
-import org.eclipse.wst.common.environment.ILog;
-
-
-
-public class WizardPageManager extends SimpleCommandEngineManager
-{
- private WizardPageFactory pageFactory_;
- private Hashtable pageTable_;
- private IWizard wizard_;
- protected SimpleWidgetRegistry registry_;
-
- // These variables are used and set by our methods which is
- // why they are not initialized in the constructor.
- private PageWizardDataEvents currentPage_;
- private PageWizardDataEvents nextPage_;
- private PageWizardDataEvents nextPeekPage_;
- private PageWizardDataEvents firstPage_;
- private CommandFragment lastUndoFragment_;
- private boolean firstFragment_;
-
- private INamedWidgetContributorFactory widgetFactory_;
- private Stack widgetStack_;
- private Stack widgetStackStack_;
- private Hashtable widgetTable_;
- private WidgetRegistry widgetRegistry_;
- private Hashtable widgetFactoryTable_;
-
- public WizardPageManager( SimpleWidgetRegistry registry,
- WizardPageFactory pageFactory,
- IWizard wizard,
- DataFlowManager dataManager,
- EclipseEnvironment environment )
- {
- super( environment, dataManager );
-
- pageFactory_ = pageFactory;
- pageTable_ = new Hashtable();
- registry_ = registry;
- wizard_ = wizard;
- widgetTable_ = new Hashtable();
- widgetFactoryTable_ = new Hashtable();
- widgetRegistry_ = WidgetRegistry.instance();
- widgetStackStack_ = new Stack();
- }
-
- public IWizardPage getStartingPage()
- {
- if( firstPage_ == null )
- {
- firstPage_ = (PageWizardDataEvents)getNextPage();
- }
-
- return firstPage_;
- }
-
- public IStatus runForwardToNextStop()
- {
- firstFragment_ = true;
- nextPage_ = null;
-
- IWizardContainer container = wizard_.getContainer();
-
- if( container == null || container.getCurrentPage() == null )
- {
- container = null;
- }
-
- return super.runForwardToNextStop( container );
- }
-
- public IWizardPage getCurrentPage()
- {
- return currentPage_;
- }
-
- public boolean hasNextPage()
- {
-
- nextPeekPage_ = null;
-
- try
- {
- nextPeekPage_ = getNextPageInGroup( widgetFactory_, false );
-
- if( nextPeekPage_ == null )
- {
- // If a page is found nextPage_ will be set to its value in the method below.
- engine_.peekForwardToNextStop();
- }
- }
- catch( Throwable exc )
- {
- exc.printStackTrace();
- }
-
- return nextPeekPage_ != null;
- }
-
- public IWizardPage getNextPage()
- {
- try
- {
- // Need to externalize the data for the current page so that
- // when we move forward below the data is available.
- if( currentPage_ != null ) currentPage_.getDataEvents().externalize();
-
- if( environment_.getLog().isEnabled() )
- {
- environment_.getLog().log(ILog.INFO, "ws_dt_cmd_engine", 5010, this, "Cmd stack dump:", engine_ );
- }
-
- nextPage_ = getNextPageInGroup( widgetFactory_, true );
-
- if( nextPage_ == null )
- {
- widgetFactory_ = null;
- widgetStack_ = null;
-
- IStatus status = runForwardToNextStop();
-
- if( status.getSeverity() == IStatus.ERROR )
- {
- // An error has occured so we need undo to the previous stop point.
- undoToLastPage();
- }
- }
-
- if( nextPage_ != null ) nextPage_.setWizard( wizard_ );
-
- return nextPage_;
- }
- catch( Throwable exc )
- {
- exc.printStackTrace();
- }
-
- return null;
- }
-
- public void handlePageVisible( PageWizardDataEvents page, boolean isPageVisible )
- {
- if( !isPageVisible && page == firstPage_ && page == currentPage_ )
- {
- // We are moving back one page from the first page. This can't happen with popup wizards
- // since the previous button would be greyed out. But when the new wizard launches this wizard
- // the previous button is not greyed out and brings the user back to the list wizards to select.
- // Therefore, we must unwind the command engine and get ready for the user to invoke this wizard
- // again. We are assuming here that the first page is never part of a widget group!
- undoToLastPage();
- currentPage_ = null;
- firstPage_ = null;
- }
- if( currentPage_ != null && page == currentPage_.getPreviousPage() && isPageVisible )
- {
- // We are moving back one page.
- // Note: we don't internalize the previous page and we do not externalize the current page.
- // we are basically just leaving the current page without retrieving its state and
- // moving to the previous page which already has its state set.
-
- if( widgetFactory_ != null )
- {
- if( widgetStack_.size() > 0 )
- {
- widgetStack_.pop();
- }
-
- if( widgetStack_.size() == 0 )
- {
- widgetFactory_ = null;
- widgetStack_ = null;
- widgetStackStack_.pop();
- }
- }
-
- if( widgetFactory_ == null )
- {
- undoToLastPage();
- }
-
- // Since we are moving backwards we need to remove the
- // current page object from the mapping table.
- dataManager_.unprocess( currentPage_.getDataEvents() );
-
- currentPage_ = page;
- }
- else if( isPageVisible )
- {
- try
- {
- // We are moving forward one page.
- WidgetDataEvents dataEvents = page.getDataEvents();
-
- dataManager_.process( dataEvents ); // Push model data into the new page.
- dataEvents.internalize();
-
- page.validatePageToStatus();
- }
- catch( Throwable exc )
- {
- exc.printStackTrace();
- }
- finally
- {
- if( currentPage_ != null ) page.setPreviousPage( currentPage_ );
-
- currentPage_ = page;
- }
- }
- }
-
- public boolean performFinish()
- {
- // We need to simulate the next button being pressed until there are no more pages.
- // If an error occurs we will return false and reset the command stack back our original state.
- boolean doneOk = true;
- PageWizardDataEvents startPage = currentPage_;
-
- // Externalize the current page.
- currentPage_.getDataEvents().externalize();
-
- // Loop through subsequent pages.
- do
- {
- IStatus status = runForwardToNextStop();
-
- if( status.getSeverity() == IStatus.ERROR )
- {
- // An error occured in one of the commands.
- doneOk = false;
- }
- else
- {
- currentPage_ = nextPage_;
- }
- }
- while( nextPage_ != null && doneOk);
-
- if( !doneOk )
- {
- // An error occured, so we need to return the command stack to it's
- // orginal state.
- PageWizardDataEvents page = null;
- boolean done = false;
-
- do
- {
- done = engine_.undoToLastStop();
- page = getPage( lastUndoFragment_ );
- }
- while( page != startPage && !done );
-
- currentPage_ = page;
- }
-
- return doneOk;
- }
-
- public boolean performCancel()
- {
- while( !engine_.undoToLastStop() ){}
-
- return true;
- }
-
- protected boolean peekFragment( CommandFragment fragment )
- {
- // Check to see if this fragment is in our page table.
- nextPeekPage_ = getPage( fragment );
-
- if( nextPeekPage_ == null )
- {
- INamedWidgetContributorFactory factory = getWidgetFactory( fragment.getId() );
-
- if( factory != null )
- {
- nextPeekPage_ = getNextPageInGroup( factory, false );
- }
- }
-
- return nextPeekPage_ == null;
- }
-
- protected boolean nextFragment( CommandFragment fragment )
- {
- // If the super class nextFragment want us to stop then we will stop right away.
- if( !super.nextFragment( fragment ) ) return false;
-
- // The first fragment is either at the start of the wizard
- // or it is on a wizard page. In either case we do not want
- // to stop if a page is found.
- if( firstFragment_ )
- {
- firstFragment_ = false;
- }
- else
- {
- widgetFactory_ = getWidgetFactory( fragment.getId() );
-
- if( widgetFactory_ != null )
- {
- widgetStack_ = new Stack();
-
- nextPage_ = getNextPageInGroup( widgetFactory_, true );
-
- if( nextPage_ == null )
- {
- // We found a widget contributor for this fragment, but no page was delivered for it.
- // We will therefore, not put it on our stack of widget stacks.
- widgetStack_ = null;
- widgetFactory_ = null;
- }
- else
- {
- StackEntry entry = new StackEntry();
-
- entry.factory_ = widgetFactory_;
- entry.stack_ = widgetStack_;
- widgetStackStack_.push( entry );
- }
- }
- else
- {
- nextPage_ = getPage( fragment );
- }
- }
-
- return nextPage_ == null;
- }
-
- protected boolean undoFragment( CommandFragment fragment )
- {
- lastUndoFragment_ = fragment;
-
- return true;
- }
-
-
- private PageWizardDataEvents getNextPageInGroup( INamedWidgetContributorFactory factory, boolean pushNewWidget )
- {
- PageWizardDataEvents page = null;
-
- if( factory != null )
- {
- INamedWidgetContributor newWidget = null;
-
- if( widgetStack_ == null || widgetStack_.size() == 0 )
- {
- newWidget = factory.getFirstNamedWidget();
- }
- else
- {
- INamedWidgetContributor currentWidget = (INamedWidgetContributor)widgetStack_.peek();
- newWidget = factory.getNextNamedWidget( currentWidget );
- }
-
- if( newWidget != null )
- {
- page = getPage( newWidget );
-
- if( pushNewWidget )
- {
- widgetStack_.push( newWidget );
- }
- }
- }
-
- return page;
- }
-
- private void undoToLastPage()
- {
- boolean stackEmpty = false;
- boolean doneUndoing = false;
-
- while( !doneUndoing )
- {
- stackEmpty = engine_.undoToLastStop();
-
- IWizardPage page = null;
-
- if( lastUndoFragment_ != null )
- {
- page = getPage( lastUndoFragment_ );
-
- if( page == null )
- {
- // Check to see if a group page fragment was found.
- INamedWidgetContributorFactory factory = getWidgetFactory( lastUndoFragment_.getId() );
-
- if( factory != null )
- {
- StackEntry entry = (StackEntry)widgetStackStack_.peek();
-
- widgetFactory_ = entry.factory_;
- widgetStack_ = entry.stack_;
-
- if( widgetStack_ != null && !widgetStack_.empty() )
- {
- INamedWidgetContributor currentWidget = (INamedWidgetContributor)widgetStack_.peek();
-
- page = getPage( currentWidget );
- }
- }
- }
- }
-
- doneUndoing = page != null || stackEmpty;
- }
- }
-
- private PageWizardDataEvents getPage( CommandFragment fragment )
- {
- // Check to see if this fragment is in our page table.
- PageWizardDataEvents page = (PageWizardDataEvents)pageTable_.get( fragment );
- String id = fragment.getId();
-
- if( page == null && id != null )
- {
- // Check to see if this fragment id is in the registry.
- PageInfo pageInfo = registry_.getPageInfo( id );
-
- if( pageInfo != null )
- {
- page = pageFactory_.getPage( pageInfo, this );
- pageTable_.put( fragment, page );
- }
- }
-
- return page;
- }
-
- private PageWizardDataEvents getPage( INamedWidgetContributor widget )
- {
- PageWizardDataEvents page = (PageWizardDataEvents)widgetTable_.get( widget );
-
- if( page == null )
- {
- PageInfo pageInfo = new PageInfo(widget.getTitle(), widget.getDescription(), widget.getWidgetContributorFactory() );
-
- page = pageFactory_.getPage( pageInfo, this );
- widgetTable_.put( widget, page );
- }
-
- return page;
- }
-
- private INamedWidgetContributorFactory getWidgetFactory( String id )
- {
- INamedWidgetContributorFactory factory = (INamedWidgetContributorFactory)widgetFactoryTable_.get( id );
-
- if( factory == null )
- {
- // The factory is not in our table so we will try the registry.
- factory = widgetRegistry_.getFactory( id );
-
- if( factory != null )
- {
- widgetFactoryTable_.put( id, factory );
- factory.registerDataMappings( dataManager_.getMappingRegistry() );
- dataManager_.process( factory );
- }
- }
- else
- {
- dataManager_.process( factory );
- }
-
- return factory;
- }
-
- private class StackEntry
- {
- INamedWidgetContributorFactory factory_;
- Stack stack_;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/popup/DynamicPopupWizard.java b/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/popup/DynamicPopupWizard.java
deleted file mode 100644
index 0a1748bc8..000000000
--- a/bundles/org.eclipse.wst.command.env.ui/src/org/eclipse/wst/command/internal/env/ui/widgets/popup/DynamicPopupWizard.java
+++ /dev/null
@@ -1,227 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060223 129232 pmoogk@ca.ibm.com - Peter Moogk
- * 20060417 136596 joan@ca.ibm.com - Joan Haggarty
- * 20060731 120378 makandre@ca.ibm.com - Andrew Mak, Fields not visible in Large font settings
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ui.widgets.popup;
-
-import java.lang.reflect.InvocationTargetException;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.jface.operation.IRunnableContext;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.ui.IActionDelegate;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.context.PersistentActionDialogsContext;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistryImpl;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimplePopupPageFactory;
-import org.eclipse.wst.command.internal.env.ui.widgets.WizardPageFactory;
-
-
-/**
- * This class is used to popup dynamic wizards. The popupMenus extension is used
- * the contribute a popup to Eclipse. The class in the action element should reference
- * this DynamicPopupWizard class. This id attribute in the action element should contain
- * an id that references a dynamicWizard extension point. This is how the DynamicPopupWizard
- * class knows which wizard to display.
- *
- * Note: the id attribute in the objectContribution element refers to an
- * actionDialogPreferenceType extension point. The ids in objectContribution
- * element and the action element need not be the same as they are in the
- * example below.
- *
- *<pre>
- * &lt;extension
- * point="org.eclipse.ui.popupMenus"&gt;
- *&lt;!-- IFile *.wsdl popup menu --&gt;
- * &lt;objectContribution
- * objectClass="org.eclipse.core.resources.IFile"
- * nameFilter="*.wsdl"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard"&gt;
- *&lt;!-- WSDL To Java Bean Proxy --&gt;
- * &lt;action
- * label="%ACTION_GENERATE_JAVA_PROXY"
- * class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
- * menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard"&gt;
- * &lt;/action&gt;
- * &lt;/objectContribution&gt;
- * &lt;/extension&gt;
- *
- * &lt;extension
- * point="org.eclipse.wst.command.env.dynamicWizard"&gt;
- * &lt;dynamicWizard
- * iconbanner="icons/full/wizban/webservicesclient_wiz.gif"
- * class="org.eclipse.jst.ws.consumption.ui.widgets.binding.ClientWidgetBinding"
- * title="%WIZARD_TITLE_WSC"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard"&gt;
- * &lt;/dynamicWizard&gt;
- * &lt;/extension&gt;
- *</pre>
- *
- */
-public class DynamicPopupWizard extends DynamicWizard implements IActionDelegate
-{
- private ISelection selection_;
-
- public DynamicPopupWizard()
- {
- super();
- }
-
- /**
- *
- * @see org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard#getWizardPageFactory()
- */
- protected WizardPageFactory getWizardPageFactory()
- {
- return new SimplePopupPageFactory( getId() );
- }
-
- private String getId()
- {
- return ((IConfigurationElement)originalElement_.getParent()).getAttribute( "id" );
- }
-
- /**
- * @see IActionDelegate#run
- */
- public void run(IAction action)
- {
- PersistentActionDialogsContext context = PersistentActionDialogsContext.getInstance();
- String id = getId();
-
- if( context.showDialog(id) )
- {
- // Launch the wizard.
- init( PlatformUI.getWorkbench(), getSelection() );
-
- WizardDialog dialog= new WizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), this);
- dialog.create();
-
- if( getStartingPage() != null )
- {
- dialog.open();
- }
- }
- else
- {
- final ProgressMonitorDialog monitor = new ProgressMonitorDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
-
- try
- {
- monitor.run( false, false, new IRunnableWithProgress()
- {
- public void run( IProgressMonitor progressMonitor )
- {
- runHeadLess( getSelection(), monitor );
- }
- } );
- }
- catch( InterruptedException exc )
- {
- }
- catch( InvocationTargetException exc )
- {
- }
- }
- }
-
- /**
- * Runs only the Commands associated with the dynamic wizard.
- *
- * @param selection the initial selection from the user.
- * @param context the context that this execution should take place in. This
- * is usually a progress context so that the user can get feedback
- * on how execution is progressing. The context may be null.
- */
- public void runHeadLess( IStructuredSelection selection, IRunnableContext context )
- {
- PersistentResourceContext resourceContext = PersistentResourceContext.getInstance();
- EclipseStatusHandler handler = new EclipseStatusHandler();
- EclipseEnvironment environment = new EclipseEnvironment( null, resourceContext, handler );
-
- DataMappingRegistryImpl dataRegistry_ = new DataMappingRegistryImpl();
- DataFlowManager dataManager = new DataFlowManager( dataRegistry_, environment );
- SimpleCommandEngineManager manager = new SimpleCommandEngineManager(environment, dataManager );
-
- try
- {
- commandWidgetBinding_ = (CommandWidgetBinding)wizardElement_.createExecutableExtension( "class" );
- }
- catch( CoreException exc )
- {
- exc.printStackTrace();
- }
-
- commandWidgetBinding_.registerDataMappings( dataRegistry_ );
-
- CommandFragment rootFragment = getRootFragment( selection, null );
-
- manager.setRootFragment( rootFragment );
- manager.runForwardToNextStop( context );
- }
-
- /**
- * @see IActionDelegate#selectionChanged
- */
- public void selectionChanged(IAction action, ISelection selection)
- {
- selection_ = selection;
- }
-
- private IStructuredSelection getSelection()
- {
- IStructuredSelection result = new StructuredSelection();
-
- if( selection_ != null)
- {
- if( selection_ instanceof IStructuredSelection )
- {
- result = (IStructuredSelection)selection_;
- }
- }
- else
- {
- IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
-
- if( window != null )
- {
- ISelection selection = window.getSelectionService().getSelection();
-
- if( selection instanceof IStructuredSelection )
- {
- result = (IStructuredSelection)selection;
- }
- }
- }
-
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/.classpath b/bundles/org.eclipse.wst.command.env/.classpath
deleted file mode 100644
index f23913fc7..000000000
--- a/bundles/org.eclipse.wst.command.env/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="ant-src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.command.env/.cvsignore b/bundles/org.eclipse.wst.command.env/.cvsignore
deleted file mode 100644
index 5a9183aeb..000000000
--- a/bundles/org.eclipse.wst.command.env/.cvsignore
+++ /dev/null
@@ -1,10 +0,0 @@
-bin
-build.xml
-runtime
-temp.folder
-env.jar
-@dot
-src.zip
-envsrc.zip
-javaCompiler.env.jar.args
-javaCompiler.ant-lib_anttasks.jar.args
diff --git a/bundles/org.eclipse.wst.command.env/.externalToolBuilders/build-anttasks.launch b/bundles/org.eclipse.wst.command.env/.externalToolBuilders/build-anttasks.launch
deleted file mode 100644
index e4b79adab..000000000
--- a/bundles/org.eclipse.wst.command.env/.externalToolBuilders/build-anttasks.launch
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
-<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
-<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
-<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
-<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
-<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.wst.command.env/build-anttasks.xml}"/>
-<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
-<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
-</launchConfiguration>
diff --git a/bundles/org.eclipse.wst.command.env/.project b/bundles/org.eclipse.wst.command.env/.project
deleted file mode 100644
index 31281d9e6..000000000
--- a/bundles/org.eclipse.wst.command.env/.project
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.command.env</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
- <triggers>full,incremental,</triggers>
- <arguments>
- <dictionary>
- <key>LaunchConfigHandle</key>
- <value>&lt;project&gt;/.externalToolBuilders/build-anttasks.launch</value>
- </dictionary>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.core.resources.prefs b/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index de2f205b0..000000000
--- a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun May 07 23:14:57 EDT 2006
-eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
diff --git a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 216c1c113..000000000
--- a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:37:15 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index d6f09abab..000000000
--- a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Jan 31 00:16:54 EST 2006
-eclipse.preferences.version=1
-internal.default.compliance=default
diff --git a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 00faa094e..000000000
--- a/bundles/org.eclipse.wst.command.env/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:38 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.command.env/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.command.env/META-INF/MANIFEST.MF
deleted file mode 100644
index 6d5e27ec9..000000000
--- a/bundles/org.eclipse.wst.command.env/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,26 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ClassPath: env.jar
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.command.env; singleton:=true
-Bundle-Version: 1.0.102.qualifier
-Bundle-Activator: org.eclipse.wst.command.internal.env.plugin.EnvPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.command.internal.env;x-internal:=true,
- org.eclipse.wst.command.internal.env.ant;x-internal:=true,
- org.eclipse.wst.command.internal.env.commandline;x-internal:=true,
- org.eclipse.wst.command.internal.env.common;x-internal:=true,
- org.eclipse.wst.command.internal.env.context;x-internal:=true,
- org.eclipse.wst.command.internal.env.eclipse;x-internal:=true,
- org.eclipse.wst.command.internal.env.plugin;x-internal:=true,
- org.eclipse.wst.command.internal.env.preferences;x-internal:=true
-Require-Bundle: org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.core.commands;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.apache.ant;bundle-version="[1.6.5,1.7.0)",
- org.eclipse.ant.core;bundle-version="[3.1.100,3.2.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.command.env/about.html b/bundles/org.eclipse.wst.command.env/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.command.env/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.command.env/ant-lib/.cvsignore b/bundles/org.eclipse.wst.command.env/ant-lib/.cvsignore
deleted file mode 100644
index 60dbc397b..000000000
--- a/bundles/org.eclipse.wst.command.env/ant-lib/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-anttasks.jar
-anttaskssrc.zip
diff --git a/bundles/org.eclipse.wst.command.env/ant-src/ws/ant/task/WebServiceGenerationAntTask.java b/bundles/org.eclipse.wst.command.env/ant-src/ws/ant/task/WebServiceGenerationAntTask.java
deleted file mode 100644
index d4f3b7dd3..000000000
--- a/bundles/org.eclipse.wst.command.env/ant-src/ws/ant/task/WebServiceGenerationAntTask.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package ws.ant.task;
-
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.Task;
-import org.eclipse.wst.command.internal.env.ant.AntController;
-
-public class WebServiceGenerationAntTask extends Task {
-
- public void execute()
- {
- //get properties set in the Ant file
- Project proj = getProject();
- if (proj != null)
- {
- //call the AntController to kick off generation
- new AntController(proj.getProperties());
- }
- }
- }
-
-
diff --git a/bundles/org.eclipse.wst.command.env/ant/axisclient.properties b/bundles/org.eclipse.wst.command.env/ant/axisclient.properties
deleted file mode 100644
index 5692fed20..000000000
--- a/bundles/org.eclipse.wst.command.env/ant/axisclient.properties
+++ /dev/null
@@ -1,50 +0,0 @@
-!--ScenarioType REQUIRED. Differentiates from "service" scenario. See axisservice.properties.
-ScenarioType=client
-
-!--InitialSelection REQUIRED. Workspace relative URI to the input WSDL or Java.
-InitialSelection=/dynamicWebProjectName/WebContent/wsdl/myService.wsdl
-
-!--Utility property values - use these to list values for the following properties:
-!-- Client.RuntimeId, Client.ServerId
-ListRuntimes=true
-ListServers=true
-!-- Verbose will list informational messages as well as errors if set to true
-Verbose=true
-
-
-!--Client.RuntimeId - ID of web service runtime
-Client.RuntimeId=org.eclipse.jst.ws.axis.creation.axisWebServiceRT
-!--Client.ServerId - ID of target server
-Client.ServerId=org.eclipse.jst.server.tomcat.50
-
-!--ClientProjectName - name of Client project - this property can be used to give the client project a
-!-- different name than the project containing the initial selection
-!--ClientProjectName=clientProjectName
-
-!--ClientEarProjectName- name of Client EAR project - set only if applicable for selected server type
-!--ClientEarProjectName=clientEARProjectName
-
-!--ClientComponentType - type of Client project - the following are valid Axis templates: template.jst.web and template.jst.utility
-!--ClientComponentType=template.jst.web
-
-!-- CustomizeClientMappings - set to true to supply package-namespace mappings type: boolean
-!--CustomizeClientMappings=false
-
-!-- Mappings
-!-- Workspace relative URI to property file containing mappings
-!-- Mappings are used to override the default package names of the generated Java classes.
-!-- Need not be set if CustomizeClientMappings is false
-!-- The content of the properties file must be of the format package = namespace.
-!--Mappings=/testProj/mappings/mappings.txt
-
-!--OverwriteFilesEnabled - set to true to overwrite files that already exist. type:boolean
-!-- note for non-interactive mode it is recommended that this be set to true
-!-- OverwriteFilesEnabled=true
-
-!--CreateFoldersEnabled - set to true create folders necessary during file generation type:boolean
-!-- note for non-interactive mode it is recommended that this be set to true
-!-- CreateFoldersEnabled=true
-
-!--CheckoutFilesEnabled - set to true to check out files with no warning to the user type:boolean
-!-- note for non-interactive mode it is recommended that this be set to true
-!-- CheckoutFilesEnabled=true
diff --git a/bundles/org.eclipse.wst.command.env/ant/axisservice.properties b/bundles/org.eclipse.wst.command.env/ant/axisservice.properties
deleted file mode 100644
index 3df6484fb..000000000
--- a/bundles/org.eclipse.wst.command.env/ant/axisservice.properties
+++ /dev/null
@@ -1,61 +0,0 @@
-!-- ScenarioType REQUIRED. Differentiates from "client" scenario. See axisclient.properties.
-ScenarioType=service
-
-!-- InitialSelection REQUIRED. Workspace relative URI to the input WSDL or Java
-InitialSelection=/dynamicWebProjectName/WebContent/myService.wsdl
-
-!--Utility property values - use these to list valid values for the following properties:
-!-- Service.RuntimeId, Service.ServerId
-ListRuntimes=true
-ListServers=true
-!-- Verbose will list informational messages as well as errors if set to true
-Verbose=true
-
-!-- Service.RuntimeId - ID of web service runtime
-Service.RuntimeId=org.eclipse.jst.ws.axis.creation.axisWebServiceRT
-!-- Service.ServerId - ID of target server
-Service.ServerId=org.eclipse.jst.server.tomcat.50
-!-- Service.TypeId - "Top Down EJB" or "Bottom Up EJB"
-!-- Java Bean is default for both Top Down and Bottom Up
-!-- Service.TypeId=Top Down EJB
-
-!-- ServiceProjectName - !--type:String - name of Service project - this property can be used to give the service project a different name than the project containing the initial selection. type: String
-!--ServiceProjectName=serviceProjectName
-!-- ServiceEarProjectName - !--type:String - name of Service project - this property can be used to give the service EAR project a different name than the project containing the initial selection. type: String
-!--ServiceEarProjectName=serviceEarProjectName
-
-!-- Mappings
-!-- Top down or bottom up scenario. Workspace relative URI to property file containing mappings.
-!-- Top Down: Mappings are used to override the default package names of the generated Java template classes.
-!-- The content of the properties file must be of the format namespace=package
-!-- Bottom Up: Mappings are used to override the default namespace names in the generated WSDL.
-!-- The content of the properties file must be of the format package = namespace
-!--Mappings=/testProj/mappings/mappings.txt
-
-!-- JavaOutput
-!-- Top down - String: the workspace relative URI for a Java source folder for the generated Java code - must be existing workspace source folder
-!--JavaOutput=/projectName/JavaSource
-
-!-- Methods
-!-- Bottom up - space delimited string of method signatures (i.e. method1(parmType1) method2(parmType2)) to be exposed in output WSDL. If no list is provided, all methods are exposed.
-!-- Methods=
-
-!-- Style
-!-- Bottom up - String: one of: RPC, DOCUMENT, WRAPPED
-!--Style=DOCUMENT
-
-!-- Use
-!-- Bottom up - String: one of: LITERAL, ENCODED
-!--Use=LITERAL
-
-!--OverwriteFilesEnabled - set to true to overwrite files that already exist. type:boolean
-!-- note for non-interactive mode it is recommended that this be set to true
-!--OverwriteFilesEnabled=true
-
-!--CreateFoldersEnabled - set to true create folders necessary during file generation type:boolean
-!-- note for non-interactive mode it is recommended that this be set to true
-!--CreateFoldersEnabled=true
-
-!--CheckoutFilesEnabled - set to true to check out files with no warning to the user type:boolean
-!-- note for non-interactive mode it is recommended that this be set to true
-!--CheckoutFilesEnabled=true
diff --git a/bundles/org.eclipse.wst.command.env/ant/wsant.bat b/bundles/org.eclipse.wst.command.env/ant/wsant.bat
deleted file mode 100644
index a1f0bf5d0..000000000
--- a/bundles/org.eclipse.wst.command.env/ant/wsant.bat
+++ /dev/null
@@ -1,28 +0,0 @@
-echo off
-setlocal
-
-REM *********** Local envars ***************************
-
-REM The JRE java.exe to be used
-set JAVAEXE="C:\j2sdk1.4.2_07\jre\bin\java.exe"
-
-REM The Eclipse startup.jar - target workspace/wtp workspace
-set STARTUPJAR="D:\wtp0929\eclipse\startup.jar"
-
-REM The location of your workspace
-set WORKSPACE=D:\workspaces\ant_task
-
-REM ****************************************************
-
-if not exist %JAVAEXE% echo ERROR: incorrect java.exe=%JAVAEXE%, edit this file and correct the JAVAEXE envar
-if not exist %JAVAEXE% goto done
-
-if not exist %STARTUPJAR% echo ERROR: incorrect startup.jar=%STARTUPJAR%, edit this file and correct the STARTUPJAR envar
-if not exist %STARTUPJAR% goto done
-
-:run
-@echo on
-%JAVAEXE% -cp %STARTUPJAR% org.eclipse.core.launcher.Main -noupdate -application org.eclipse.ant.core.antRunner -data %WORKSPACE% -file wsgen.xml %* >wsgen.txt 2>&1
-
-:done
-pause
diff --git a/bundles/org.eclipse.wst.command.env/ant/wsant.sh b/bundles/org.eclipse.wst.command.env/ant/wsant.sh
deleted file mode 100644
index b2efc1643..000000000
--- a/bundles/org.eclipse.wst.command.env/ant/wsant.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-set +v
-
-#Script to run WebService Ant tasks in headless Eclipse mode
-
-echo "Setting environment variables"
-
-# The JRE java.exe to be used
-JAVAEXE=/home/tester/sunjdk/j2sdk1.4.2_06/bin/java
-
-# The Eclipse startup.jar - the wtp workspace to launch headless
-STARTUPJAR=/opt/wtp_install/wtp_1116/eclipse/startup.jar
-
-# The location of your workspace
-WORKSPACE=/home/tester/workspace_1116b
-
-run() {
- set -v
- $JAVAEXE -cp $STARTUPJAR org.eclipse.core.launcher.Main -noupdate -application org.eclipse.ant.core.antRunner -data $WORKSPACE -file wsgen.xml $ls > wsgen.txt 2>&1
-}
-
-if [ ! -e $JAVAEXE ]; then
- echo "ERROR: incorrect java.exe=$JAVAEXE, edit the script and correct the JAVAEXE environment variable";
- exit 1;
-fi
-
-if [ ! -e $STARTUPJAR ]; then
-echo "ERROR: incorrect startup.jar=$STARTUPJAR, edit the script and correct the STARTUPJAR environment variable";
-exit 1;
-fi
-
-run
-exit 0
diff --git a/bundles/org.eclipse.wst.command.env/ant/wsgen.xml b/bundles/org.eclipse.wst.command.env/ant/wsgen.xml
deleted file mode 100644
index 947a6c7b3..000000000
--- a/bundles/org.eclipse.wst.command.env/ant/wsgen.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0"?>
-
-<project default="main" basedir=".">
-
-<echo message="pulling in property files"/>
-<property file="axisservice.properties"/>
-
-<echo message="calling the web services generation ant task: wsgen"/>
- <target name="main" >
- <wsgen/>
- </target>
-
-</project>
diff --git a/bundles/org.eclipse.wst.command.env/build-anttasks.xml b/bundles/org.eclipse.wst.command.env/build-anttasks.xml
deleted file mode 100644
index 5e1ed8850..000000000
--- a/bundles/org.eclipse.wst.command.env/build-anttasks.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="Build Ant Environment support JAR" default="build" basedir=".">
-
- <target name="build" description="Cleans, builds and refreshes" depends="clean, ant-lib/anttasks.jar"/>
-
- <target name="init" depends="properties">
- <property name="version.suffix" value="_3.1.0"/>
- <property name="new.version.suffix" value="_3.2.0"/>
- <property name="bootclasspath" value=""/>
- <property name="temp.folder" value="${basedir}/temp.folder"/>
- <property name="build.result.folder" value="${basedir}"/>
- <property name="win32.jar" value="${eclipse.home}/plugins/org.eclipse.swt.win32.win32.x86${version.suffix}.jar"/>
- <property name="gtk.jar" value="${eclipse.home}/plugins/org.eclipse.swt.gtk.linux.x86${version.suffix}.jar"/>
- <property name="motif.jar" value="${eclipse.home}/plugins/org.eclipse.swt.motif${version.suffix}.jar"/>
- <property name="osx.jar" value="${eclipse.home}/plugins/org.eclipse.swt.carbon.macosx.ppc${version.suffix}.jar"/>
- <available file="${win32.jar}" property="swt.jar" value="${win32.jar}"/>
- <available file="${gtk.jar}" property="swt.jar" value="${gtk.jar}"/>
- <available file="${motif.jar}" property="swt.jar" value="${motif.jar}"/>
- <available file="${osx.jar}" property="swt.jar" value="${osx.jar}"/>
- </target>
-
- <target name="properties" if="eclipse.running">
- <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
- </target>
-
- <target name="ant-lib/anttasks.jar" description= "Creates the antrunner.jar" depends="init">
- <property name="destdir" value="${temp.folder}/ant-lib/anttasks.jar"/>
- <delete dir="${destdir}"/>
- <mkdir dir="${destdir}"/>
- <javac destdir="${destdir}" failonerror="true" verbose="false" debug="on" includeJavaRuntime= "yes"
- bootclasspath="${bootclasspath}"
- classpath="${basedir}/bin">
- <src path="ant-src/"/>
- </javac>
- <copy todir="${destdir}">
- <fileset dir="ant-src/" excludes="**/*.java"/>
- </copy>
- <mkdir dir="${build.result.folder}/ant-lib"/>
- <jar destfile="${build.result.folder}/ant-lib/anttasks.jar" basedir="${destdir}"/>
- <delete dir="${temp.folder}"/>
- </target>
-
- <target name="clean" description="Deletes previous build remnants" depends="init">
- <delete file="${build.result.folder}/ant-lib/anttasks.jar"/>
- <delete dir="${temp.folder}"/>
- </target>
-
- <target name="refresh">
- <eclipse.LocalRefresh resource="org.eclipse.wst.command.env" depth="infinite"/>
- </target>
-
- </project>
diff --git a/bundles/org.eclipse.wst.command.env/build.properties b/bundles/org.eclipse.wst.command.env/build.properties
deleted file mode 100644
index 915706aa5..000000000
--- a/bundles/org.eclipse.wst.command.env/build.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-bin.includes = plugin.xml,\
- plugin.properties,\
- env.jar,\
- META-INF/,\
- about.html,\
- ant/,\
- ant-lib/anttasks.jar
-source.env.jar = src/
-output.env.jar = bin/
-jars.compile.order = env.jar,\
- ant-lib/anttasks.jar
-source.ant-lib/anttasks.jar = ant-src/
-output.ant-lib/anttasks.jar = bin/
-root.permissions.777 = ant/
diff --git a/bundles/org.eclipse.wst.command.env/plugin.properties b/bundles/org.eclipse.wst.command.env/plugin.properties
deleted file mode 100644
index 55e7f09e5..000000000
--- a/bundles/org.eclipse.wst.command.env/plugin.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Environment Command Framework (headless)
-PLUGIN_PROVIDER=Eclipse.org
-
-PLUGIN_XP_DYNAMIC_WIZARD=Dynamic Wizard
-PLUGIN_XP_POPUP_DIALOGS=Optional Pop-up Action Dialogs Types
-
-XP_antDataMapping=Ant Environment property mappings
-XP_antScenario=Ant Environment scenarios
diff --git a/bundles/org.eclipse.wst.command.env/plugin.xml b/bundles/org.eclipse.wst.command.env/plugin.xml
deleted file mode 100644
index 39622169c..000000000
--- a/bundles/org.eclipse.wst.command.env/plugin.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <!-- The following extension point is internal and likely to change. -->
- <extension-point
- id="dynamicWizard"
- name="%PLUGIN_XP_DYNAMIC_WIZARD"/>
-
- <!-- The following extension point is internal and likely to change. -->
- <extension-point
- id="actionDialogPreferenceType"
- name="%PLUGIN_XP_POPUP_DIALOGS"/>
-
- <extension-point id="antDataMapping" name="%XP_antDataMapping" schema="schema/antdatamapping.exsd"/>
- <extension-point id="antScenario" name="%XP_antScenario" schema="schema/antScenario.exsd"/>
-
- <extension
- id="wsgen"
- name="wsgen"
- point="org.eclipse.ant.core.antTasks">
- <antTask
- class="ws.ant.task.WebServiceGenerationAntTask"
- eclipseRuntime="true"
- headless="true"
- library="ant-lib/anttasks.jar"
- name="wsgen"/>
- </extension>
- <extension
- point="org.eclipse.ant.core.extraClasspathEntries">
- <extraClasspathEntry library="ant-lib/anttasks.jar"/>
- </extension>
-
-</plugin>
diff --git a/bundles/org.eclipse.wst.command.env/schema/antScenario.exsd b/bundles/org.eclipse.wst.command.env/schema/antScenario.exsd
deleted file mode 100644
index caaff5289..000000000
--- a/bundles/org.eclipse.wst.command.env/schema/antScenario.exsd
+++ /dev/null
@@ -1,110 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.command.env">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.command.env" id="antScenario" name="Ant Environment Scenarios"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="antScenario"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="antScenario">
- <complexType>
- <attribute name="scenarioType" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.command.env/schema/antdatamapping.exsd b/bundles/org.eclipse.wst.command.env/schema/antdatamapping.exsd
deleted file mode 100644
index 4d2b66434..000000000
--- a/bundles/org.eclipse.wst.command.env/schema/antdatamapping.exsd
+++ /dev/null
@@ -1,131 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.command.env">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.command.env" id="antDataMapping" name="Ant Environment Property Mappings"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="map"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="map">
- <complexType>
- <attribute name="key" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="operation" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="property" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="transform" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="required" type="boolean" use="optional" default="false">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/Environment.properties b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/Environment.properties
deleted file mode 100644
index 413d70071..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/Environment.properties
+++ /dev/null
@@ -1,39 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages for ResouceUtils
-#
-MSG_ERROR_PATH_NOT_ABSOLUTE=IWAB0003E Path {0} is not absolute for creating a file.
-MSG_ERROR_PATH_EMPTY=IWAB0004E Path {0} is empty while creating a file.
-MSG_ERROR_PATH_NOT_FOLDER=IWAB0005E Path {0} is not a folder for creating a file.
-MSG_ERROR_FOLDER_CREATION_DISABLED=IWAB0007E Folder creation has been disabled for parent folder {0} and child {1}.
-MSG_ERROR_RESOURCE_NOT_FOLDER=IWAB0008E Resource {0} is not a folder.
-MSG_WARN_FILE_OVERWRITE_DISABLED=IWAB0009W Cannot overwrite file {1} in folder {0}.
-MSG_ERROR_FILE_CHECKOUT_DISABLED=IWAB0010E Cannot checkout file {1} in folder {0}.
-MSG_ERROR_RESOURCE_NOT_FILE=IWAB0011E The following path is not a resource: {0}.
-MSG_ERROR_FOLDER_HAS_CHILDREN=IWAB0012E Cannot create folder: {0} that already has children.
-MSG_ERROR_IO=IWAB0006E An input/output error occurred while processing the resource "{0}".
-MSG_ERROR_FILE_OVERWRITE_DISABLED=IWAB0164E Cannot create the file "{1}" relative to the path "{0}" because automatic file overwriting has not been enabled. Do you want to enable it for this file?
-MSG_ERROR_UNEXPECTED_ERROR=IWAB0014E Unexpected exception occured.
-MSG_ERROR_ANT_DATA_TRANSFORM=Exception transforming Ant property key {0} using transformation {1}.
-MSG_ERROR_ANT_CALL_SETTER=Exception invoking setter method {0} for Ant property.
-MSG_ERROR_ANT_CMD_FRAGMENT=Exception retrieving Ant command fragment from registry.
-MSG_ERROR_ANT_SCENARIO_TYPE=Cannot determine scenario type. Please ensure ScenarioType Ant property is set.
-MSG_ERROR_ANT_REQUIRED_PROPERTY=Required property {0} was not set in the Ant property file.
-MSG_INFO_ANT__PROPERTY_DEFAULT=Property {0} was not set in the Ant property file. A default value will be used.
-
-LABEL_YES=Yes
-LABEL_YES_TO_ALL=Yes All
-LABEL_CANCEL=Cancel
-
-
-
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/EnvironmentMessages.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/EnvironmentMessages.java
deleted file mode 100644
index 2c738163f..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/EnvironmentMessages.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class EnvironmentMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.wst.command.internal.env.Environment";//$NON-NLS-1$
-
- private EnvironmentMessages() {
- // Do not instantiate
- }
-
- public static String MSG_ERROR_PATH_NOT_ABSOLUTE;
- public static String MSG_ERROR_PATH_EMPTY;
- public static String MSG_ERROR_PATH_NOT_FOLDER;
- public static String MSG_ERROR_FOLDER_CREATION_DISABLED;
- public static String MSG_ERROR_RESOURCE_NOT_FOLDER;
- public static String MSG_WARN_FILE_OVERWRITE_DISABLED;
- public static String MSG_ERROR_FILE_CHECKOUT_DISABLED;
- public static String MSG_ERROR_RESOURCE_NOT_FILE;
- public static String MSG_ERROR_FOLDER_HAS_CHILDREN;
- public static String MSG_ERROR_IO;
- public static String MSG_ERROR_FILE_OVERWRITE_DISABLED;
- public static String MSG_ERROR_UNEXPECTED_ERROR;
- public static String MSG_ERROR_ANT_DATA_TRANSFORM;
- public static String MSG_ERROR_ANT_CALL_SETTER;
- public static String MSG_ERROR_ANT_CMD_FRAGMENT;
- public static String MSG_ERROR_ANT_SCENARIO_TYPE;
- public static String MSG_ERROR_ANT_REQUIRED_PROPERTY;
- public static String MSG_INFO_ANT__PROPERTY_DEFAULT;
- public static String LABEL_YES;
- public static String LABEL_YES_TO_ALL;
- public static String LABEL_CANCEL;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, EnvironmentMessages.class);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntController.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntController.java
deleted file mode 100644
index 87c72f38b..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntController.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060726 151614 pmoogk@ca.ibm.com - Peter Moogk
- * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.ant;
-
-import java.util.Hashtable;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.EnvironmentMessages;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.core.CommandManager;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistryImpl;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.FragmentListener;
-
-/**
- *
- * Central point of control for web service Ant tasks.
- * Constructs Ant environment, root fragment and command manager. Starts execution of the command stack.
- *
- * @author joan
- *
- */
-
-public class AntController {
-
-
- private AntOperationManager operationManager_;
-
- public AntController(Hashtable properties)
- {
- // construct the environment - passing in the property table
- // --maintains link to property table plus any other environment properties
- // --code to access extension point mappings for operations to retrieve data from property table
- TransientResourceContext resourceContext = (TransientResourceContext)PersistentResourceContext.getInstance().copy();
- AntStatusHandler handler = new AntStatusHandler();
- AntEnvironment environment = new AntEnvironment(this, resourceContext, handler, properties);
-
- // construct data manager for maintaining state across operations
- DataFlowManager dataManager = new DataFlowManager( new DataMappingRegistryImpl(), environment);
-
- // set up operation fragments - conditional on options by user... service or client
- // also need to initialize the "selection" or input file (WSDL, Java) here
-
- CommandFragment rootFragment = environment.getRootCommandFragment();
-
- if (rootFragment != null)
- {
- //construct the engine - manages execution of operations
- createOperationManager(rootFragment, dataManager, environment);
-
- DataMappingRegistryImpl dataRegistry_ = new DataMappingRegistryImpl();
- rootFragment.registerDataMappings(dataRegistry_);
- }
- else //problem getting the root fragment - scenario type is likely missing
- {
- handler.reportError(new Status(IStatus.ERROR, "ws_ant", 9999, EnvironmentMessages.MSG_ERROR_ANT_SCENARIO_TYPE, null));
- return;
- }
-
- //ready to start running operations
- ((AntOperationManager)getOperationManager()).moveForwardToNextStop(new NullProgressMonitor());
-
- if (!operationManager_.getLastStatus().isOK())
- operationManager_.undoToLastStop();
- }
-
- private void createOperationManager(CommandFragment frag, DataFlowManager mgr, AntEnvironment env)
- {
- operationManager_ = new AntOperationManager(frag, mgr, env);
-
- operationManager_.setPeekFragmentListener(
- new FragmentListener()
- {
- public boolean notify( CommandFragment fragment )
- {
- return peekFragment( fragment );
- }
- } );
-
- operationManager_.setNextFragmentListener(
- new FragmentListener()
- {
- public boolean notify( CommandFragment fragment )
- {
- return nextFragment( fragment );
- }
- } );
-
- operationManager_.setUndoFragmentListener(
- new FragmentListener()
- {
- public boolean notify( CommandFragment fragment )
- {
- return undoFragment( fragment );
- }
- } );
- }
-
- protected CommandManager getOperationManager()
- {
- return operationManager_;
- }
-
- /**
- * The CommandFragmentEngine calls this method when it is peeking forward
- * in the fragments. When peeking forward the command stack state in the
- * engine is not changes.
- *
- *
- * @param fragment the fragment that it is peeking at.
- * @return Indicates whether peeking should stop or not.
- */
- protected boolean peekFragment( CommandFragment fragment )
- {
- return true;
- }
-
- /**
- * The CommandFragmentEngine calls this method when it is moving forward
- * in the fragments. When moving forward the command stack state is saved
- * at each fragment is traversed.
- *
- * @param fragment the fragment that is being traversed.
- * @return indicates if the forward traversal should continue.
- */
- protected boolean nextFragment( CommandFragment fragment )
- {
- return true;
- }
-
- /**
- * This method is called for each fragment when the command engine is unwinding
- * its stack during an undo operation.
- *
- * @param fragment the fragment being undone.
- * @return returns true if the undo process should continue.
- */
- protected boolean undoFragment( CommandFragment fragment )
- {
- return true;
- }
-
-
-
-
-
- }
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java
deleted file mode 100644
index b0c7666e2..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java
+++ /dev/null
@@ -1,587 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060523 133714 joan@ca.ibm.com - Joan Haggarty
- * 20060726 151614 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ant;
-
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.EnvironmentMessages;
-import org.eclipse.wst.command.internal.env.core.CommandManager;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.command.internal.env.core.data.BeanModifier;
-import org.eclipse.wst.command.internal.env.core.data.ClassEntry;
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.plugin.EnvPlugin;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- *
- * Access to status handler, log, resource context and command manager.
- * Initializes data for commands from Ant property files based on antDataMapping extensions.
- *
- * @author joan
- *
- */
-
-public class AntEnvironment extends EclipseEnvironment{
-
- private Hashtable antProperties_;
- private Hashtable operationDataRecord_ = new Hashtable();
- private boolean mappingComplete_;
- private ClassEntry classEntry;
-
- // extensionPoint names and namespace
- private static String MAPPER_EXT_PT = "antDataMapping"; //$NON-NLS-1$
- private static String SCENARIO_EXT_PT = "antScenario"; //$NON-NLS-1$
- private static String EXT_PT_NAMESPACE = "org.eclipse.wst.command.env"; ////$NON-NLS-1$
-
- // antDataMapping extension point attributes
- private static final String MAPPER_OPERATION_ATTRIBUTE= "operation"; //$NON-NLS-1$
- private static final String MAPPER_KEY_ATTRIBUTE= "key"; //$NON-NLS-1$
- private static final String MAPPER_PROPERTY_ATTRIBUTE= "property"; //$NON-NLS-1$
- private static final String MAPPER_TRANSFORM_ATTRIBUTE= "transform"; //$NON-NLS-1$
- private static final String MAPPER_REQUIRED_ATTRIBUTE= "required"; //$NON-NLS-1$
-
- // antScenario extension point attributes
- private static final String SCENARIO_TYPE_ATTRIBUTE = "scenarioType"; //$NON-NLS-1$
- private static final String SCENARIO_CLASS_ATTRIBUTE = "class"; //$NON-NLS-1$
-
- // Ant property IDs
- private static final String VERBOSE_PROPERTY = "Verbose"; //$NON-NLS-1$
- private static final String OVERWRITE_PROPERTY = "OverwriteFilesEnabled"; //$NON-NLS-1$
- private static final String CREATEFOLDER_PROPERTY = "CreateFoldersEnabled"; //$NON-NLS-1$
- private static final String CHECKOUT_PROPERTY = "CheckoutFilesEnabled"; //$NON-NLS-1$
- private static final String SCENARIO_TYPE_PROPERTY = "ScenarioType"; //$NON-NLS-1$
-
- private AntController controller_;
-
- public AntEnvironment(AntController controller, TransientResourceContext context, IStatusHandler handler, Hashtable properties)
- {
- super(controller.getOperationManager(), context, handler);
- antProperties_ = properties;
- controller_ = controller;
- setContext( context );
- }
-
- private void setContext(TransientResourceContext context)
- {
- Boolean overwriteSet = getBooleanProperty( OVERWRITE_PROPERTY );
- Boolean createfolderSet = getBooleanProperty( CREATEFOLDER_PROPERTY );
- Boolean checkoutSet = getBooleanProperty( CHECKOUT_PROPERTY );
-
- if( overwriteSet != null ) context.setOverwriteFilesEnabled( overwriteSet.booleanValue() );
- if( createfolderSet != null ) context.setCreateFoldersEnabled( createfolderSet.booleanValue() );
- if( checkoutSet != null ) context.setCheckoutFilesEnabled( checkoutSet.booleanValue() );
- }
-
- public boolean verbose()
- {
- Boolean result = getBooleanProperty( VERBOSE_PROPERTY );
-
- return result == null ? false : result.booleanValue();
- }
-
- public Boolean getBooleanProperty( String property )
- {
- String value = getProperty( property );
- Boolean result = null;
-
- if( value != null )
- {
- value = value.toLowerCase();
- result = new Boolean( value.equals( "true") );
- }
-
- return result;
- }
-
- // returns String since the property table built by Ant is property value pairs where the value is a String
- private String getProperty(String key)
- {
- Object property = antProperties_.get(key);
- if (property != null && (!property.toString().equals("")))
- return property.toString().trim();
- return null;
- }
-
- // call from engine prior to executing the operation
- public IStatus initOperationData(AbstractDataModelOperation op)
- {
- //check to see if data has already been primed for this operation
- String qualifiedClassName = op.getClass().getName();
- if (operationDataRecord_.get(qualifiedClassName) == null)
- {
- classEntry = new ClassEntry();
-
- try {
- //extension lookup for the bean - may be more than one property for it
- Enumeration operationData = getMappingExtensions(op);
- classEntry.setterList_= getSetterList(op);
- while (operationData.hasMoreElements())
- {
- PropertyDataHolder mapping = (PropertyDataHolder)operationData.nextElement();
-
- mappingComplete_ = false;
- String property = mapping.property_;
- String setterMethodName = createSetterName(property);
-
- int step = 1;
- while (!mappingComplete_)
- {
- switch (step) {
- case 1:
- mappingComplete_ = transformAndSet(mapping, setterMethodName);
- break;
- case 2:
- mappingComplete_ = callSetter(mapping.operation_, mapping.value_, setterMethodName);
- break;
-
- case 3:
- mappingComplete_ = callPrimitiveSetter(mapping);
- break;
-
- case 4:
- mappingComplete_ = callSetterConstructor(mapping);
- break;
-
- default:
- mappingComplete_ = true;
- break;
- }
- step++;
- }
- }
- //add operation to the record - no need to initialize again...
- operationDataRecord_.put(qualifiedClassName, "");
- }
- catch (Exception e)
- {
- throw new IllegalArgumentException(e.getMessage());
- }
-
- }
- return Status.OK_STATUS;
- }
-
- /**
- * Creates setter name based on the property passed in. If the
- * property has any leading qualifiers they are stripped off.
- * The property is capitalized and set is prepended.
- * @param property The name of the property that requires a setter.
- * @return
- */
- private String createSetterName(String property)
- {
- while (property.indexOf(".")>=0)
- {
- property=property.substring(property.indexOf(".")+1);
- }
- String firstChar = property.substring(0,1);
- firstChar = firstChar.toUpperCase();
- property = firstChar + property.substring(1);
- String setterName = "set" + property;
- return setterName;
- }
-
- /**
- * Retrieves extensions for the org.eclipse.wst.command.env antDataMapping
- * extension point. Extracts those that with class attribute values that match operationName.
- * All mappings are converted to PropertyDataHolder objects.
- * Any m:1 Ant key to property mappings are collected into a key-value map within
- * a single PropertyDataHolder.
- * @param operationName The name of the operation that is being initialized.
- * @return A collection of PropertyDataHolder objects. Returns null if there are no extensions matching the operationName.
- */
- private Enumeration getMappingExtensions(AbstractDataModelOperation operation) throws CoreException
- {
- String operationName = operation.getClass().getName();
- //go to ext registry and get all antMapping extensions
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IExtensionPoint extPt = reg.getExtensionPoint(EXT_PT_NAMESPACE, MAPPER_EXT_PT);
- Hashtable dataTable = new Hashtable(25);
-
- IConfigurationElement[] elements = extPt.getConfigurationElements();
-
- for (int i = 0; i < elements.length; i++) {
-
- IConfigurationElement ce = elements[i];
- Object obj = ce.getAttribute(MAPPER_OPERATION_ATTRIBUTE);
- // look for mappings for this operation
- if (obj.equals(operationName))
- {
- String key = ce.getAttribute(MAPPER_KEY_ATTRIBUTE);
- String value = getProperty(key);
-
- //check to see if the property for this extension is already in the data table
- // if so, there is a m:1 mapping
- if (value != null) //only do a mapping if there is an Ant property value passed in...
- {
-
- String property = ce.getAttribute(MAPPER_PROPERTY_ATTRIBUTE);
- Object transform = null;
- try
- {
- //check to make sure there is an transform attribute provided
- // if so, get the class to do the transformation
- if (ce.getAttribute(MAPPER_TRANSFORM_ATTRIBUTE)!= null)
- transform = ce.createExecutableExtension(MAPPER_TRANSFORM_ATTRIBUTE);
- }
- catch (CoreException cex) {
- Status errorStatus = new Status(Status.ERROR, "ws_ant", 5092, cex.getMessage(), cex);
- getStatusHandler().reportError(errorStatus);
- getLog().log(ILog.ERROR, "ws_ant", 5092, this, "getMappingExtensions", EnvironmentMessages.bind(EnvironmentMessages.MSG_ERROR_ANT_DATA_TRANSFORM, key, transform));
- throw new CoreException(errorStatus);
- }
-
- if (transform != null && transform instanceof BeanModifier/*dataTable.containsKey(property)*/)
- {
- //get the PropertyDataHolder from the table
- PropertyDataHolder holder = (PropertyDataHolder)dataTable.get(property);
- if (holder == null)
- {
- holder = new PropertyDataHolder();
- holder.key_ = "";
- holder.value_ = "";
- holder.transform_ = transform;
- holder.operation_ = operation;
- holder.property_ = property;
- holder.map_ = new HashMap();
- holder.map_.put(key, value);
- dataTable.put(property, holder);
- }
- else
- {
- holder.map_.put(key, value);
- }
- }
- else //plain property mapping not a bean
- {
- PropertyDataHolder holder = new PropertyDataHolder();
- holder.operation_ = operation;
- holder.key_ = key;
- holder.property_ = property;
- holder.transform_ = transform;
- holder.value_ = value;
- dataTable.put(property, holder);
- }
- }
- else if(ce.getAttribute(MAPPER_REQUIRED_ATTRIBUTE)!=null && ce.getAttribute(MAPPER_REQUIRED_ATTRIBUTE).equals("true"))
- {
- String msg = EnvironmentMessages.bind(EnvironmentMessages.MSG_ERROR_ANT_REQUIRED_PROPERTY, key.toString());
- Status statusObj = new Status(IStatus.ERROR,
- EnvPlugin.ID,
- IStatus.ERROR,
- msg,
- null);
- getStatusHandler().reportError(statusObj);
- getLog().log(ILog.ERROR, "ws_ant", 9999, this, "getMappingExtensions", msg);
- }
- else if (verbose())
- {
- String msg = EnvironmentMessages.bind(EnvironmentMessages.MSG_INFO_ANT__PROPERTY_DEFAULT, key.toString());
- Status statusObj = new Status(IStatus.INFO,
- EnvPlugin.ID,
- IStatus.INFO,
- msg,
- null);
- getStatusHandler().reportInfo(statusObj);
- getLog().log(ILog.INFO, "ws_ant", 9999, this, "getMappingExtensions", msg);
- }
- }
- }
- return dataTable.elements();
- }
-
- private boolean transformAndSet(PropertyDataHolder mapping, String setterMethodName)
- {
- Object transform = mapping.transform_;
- if (transform != null)
- {
- // get transform class & create setter parameters
- try
- {
- //Object classObject = Class.forName(transform).newInstance();
- Object param = new Object();
- if (transform instanceof Transformer)
- {
- Transformer transformer = (Transformer)transform;
- // transform the property value
- param = transformer.transform(mapping.value_);
- }
- else if (mapping.map_ != null && transform instanceof BeanModifier)
- {
- BeanModifier modifier = (BeanModifier)transform;
- Method getter = getGetterMethod(mapping);
- param = getter.invoke(mapping.operation_, new Object[]{});
- modifier.modify(param, mapping.map_);
- }
- return callSetter(mapping.operation_, param, setterMethodName);
-
- }
- catch (Exception exc)
- {
- getStatusHandler().reportError(new Status(Status.ERROR, "ws_ant", 5093, exc.getMessage(), exc));
- getLog().log(ILog.ERROR, "ws_ant", 5093, this, "transformAndSet", EnvironmentMessages.bind(EnvironmentMessages.MSG_ERROR_ANT_DATA_TRANSFORM, mapping.key_, mapping.transform_));
- throw new IllegalArgumentException(exc.getMessage());
- }
- }
- return false;
- }
-
- private Vector getSetterList(Object op)
- {
- Vector result = new Vector();
- Method[] methods = op.getClass().getMethods();
- for( int index = 0; index < methods.length; index++ )
- {
- Method method = methods[index];
- boolean isPublic = Modifier.isPublic( method.getModifiers() );
- Class returnType = method.getReturnType();
-
- if( isPublic &&
- returnType == Void.TYPE &&
- method.getParameterTypes().length == 1 &&
- method.getName().startsWith( "set" ))
- {
- method.setAccessible( true );
- result.add( method );
- }
- }
-
- return result;
- }
-
- private Method getGetterMethod(PropertyDataHolder mapping)
- {
- Method getterFound = null;
-
- if (classEntry.getterList_ == null)
- {
- classEntry.getterList_ = getGetterList(mapping.operation_);
- }
-
- for( int index = 0; index < classEntry.getterList_.size(); index++ )
- {
- Method getter = (Method)classEntry.getterList_.elementAt( index );
-
- if( getter.getName().equals( "get" + mapping.property_ ))
- {
- getterFound = getter;
- break;
- }
- }
- return getterFound;
- }
-
- private Vector getGetterList( Object object )
- {
- Vector result = new Vector();
- Method[] methods = object.getClass().getMethods();
-
- for( int index = 0; index < methods.length; index++ )
- {
- Method method = methods[index];
- boolean isPublic = Modifier.isPublic( method.getModifiers() );
- Class returnType = method.getReturnType();
-
- if( isPublic &&
- returnType != Void.TYPE &&
- method.getParameterTypes().length == 0 &&
- method.getName().startsWith( "get" ))
- {
- method.setAccessible( true );
- result.add( method );
- }
- }
-
- return result;
- }
-
- private boolean callSetter(AbstractDataModelOperation op, Object param, String setterMethodName) throws CoreException
- {
- for (Iterator iterator = classEntry.setterList_.iterator(); iterator.hasNext();)
- {
- Method method = (Method) iterator.next();
- if (method.getName().equals(setterMethodName))
- {
- Class[] paramTypes = method.getParameterTypes();
- if (paramTypes.length == 1 && param != null)
- {
- try{
- method.invoke(op, new Object[]{param});
- return true;
- }
- catch(Exception cex){
- Status errorStatus = new Status(Status.ERROR, "ws_ant", 5094, cex.getMessage(), cex);
- getStatusHandler().reportError(errorStatus);
- getLog().log(ILog.ERROR, "ws_ant", 5094, this, "callSetter", EnvironmentMessages.bind(EnvironmentMessages.MSG_ERROR_ANT_CALL_SETTER, setterMethodName));
- throw new CoreException(errorStatus);
- }
- }
- }
- }
- return false;
- }
-
-
- // look for setter with primitive type parameter - if find one, convert String propertyValue and call it
- private boolean callPrimitiveSetter(PropertyDataHolder mapping) throws CoreException
- {
- for (Iterator iterator = classEntry.setterList_.iterator(); iterator.hasNext();) {
- Method element = (Method) iterator.next();
- Class[] parmTypes = element.getParameterTypes();
- if (parmTypes.length==1 && parmTypes[0].isPrimitive())
- {
- Class parmType = parmTypes[0].getClass();
- Object setterParm = null;
- if (parmType.equals(Integer.class))
- {
- setterParm = Integer.valueOf(mapping.value_);
- }
- else if (parmType.equals(Boolean.class))
- {
- setterParm = Boolean.valueOf(mapping.value_);
- }
- else if (parmType.equals(Character.class) && mapping.value_.length() == 1)
- {
- setterParm = new Character(mapping.value_.charAt(0));
- }
- else if (parmType.equals(Byte.class))
- {
- setterParm = Byte.valueOf(mapping.value_);
- }
- else if (parmType.equals(Short.class))
- {
- setterParm = Short.valueOf(mapping.value_);
- }
- else if (parmType.equals(Long.class))
- {
- setterParm = Long.valueOf(mapping.value_);
- }
- else if (parmType.equals(Float.class))
- {
- setterParm = Float.valueOf(mapping.value_);
- }
- else if (parmType.equals(Double.class))
- {
- setterParm = Double.valueOf(mapping.value_);
- }
-
- if (setterParm != null)
- {
- try
- {
- element.invoke(mapping.operation_, new Object[]{setterParm});
- return true;
- }
- catch(Exception e){
- Status errorStatus = new Status(Status.ERROR, "ws_ant", 5095, e.getMessage(), e);
- getStatusHandler().reportError(errorStatus);
- getLog().log(ILog.ERROR, "ws_ant", 5095, this, "callPrimitiveSetter", EnvironmentMessages.bind(EnvironmentMessages.MSG_ERROR_ANT_CALL_SETTER, element.getName()));
- throw new CoreException(errorStatus);
- }
- }
- }
- }
- return false;
- }
-
- //check for setter with parameter type that takes a String to construct
- // construct the parameter using String & call the setter
- private boolean callSetterConstructor(PropertyDataHolder mapping) throws CoreException
- {
- for (Iterator iterator = classEntry.setterList_.iterator(); iterator.hasNext();) {
- Method element = (Method) iterator.next();
- Class[] parmTypes = element.getParameterTypes();
- Class[] stringParm = new Class[]{String.class};
- if (parmTypes.length==1)
- {
- try
- {
- Constructor ctor = parmTypes.getClass().getConstructor(stringParm);
- Object parameter = ctor.newInstance(new Object[]{mapping.value_});
- element.invoke(mapping.operation_, new Object[]{parameter});
- }
- catch (Exception exc)
- {
- Status errorStatus = new Status(Status.ERROR, "ws_ant", 5096, exc.getMessage(), exc);
- getStatusHandler().reportError(errorStatus);
- getLog().log(ILog.ERROR, "ws_ant", 5096, this, "callSetterConstructor", EnvironmentMessages.bind(EnvironmentMessages.MSG_ERROR_ANT_CALL_SETTER, element.getName()));
- throw new CoreException(errorStatus);
- }
- }
- }
- return false;
- }
-
- /**
- * Returns an object that helps manage execution/undoing of Commands.
- */
- public CommandManager getCommandManager (){
- return controller_.getOperationManager();
- }
-
- public CommandFragment getRootCommandFragment()
- {
-
- //look up the commandFragment in the scenarioRegistry extension point with an ID corresponding to the scenario property in the propertytable
- String scenarioProperty = (String)getProperty(SCENARIO_TYPE_PROPERTY);
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IExtensionPoint extPt = reg.getExtensionPoint(EXT_PT_NAMESPACE, SCENARIO_EXT_PT);
-
- IConfigurationElement[] elements = extPt.getConfigurationElements();
-
- for (int i = 0; i < elements.length; i++) {
-
- IConfigurationElement configElement = elements[i];
- if (configElement.getAttribute(SCENARIO_TYPE_ATTRIBUTE).equals(scenarioProperty))
- {
- try
- {
- Object obj = configElement.createExecutableExtension(SCENARIO_CLASS_ATTRIBUTE);
-
- if (obj instanceof org.eclipse.wst.command.internal.env.core.fragment.CommandFragment)
- {
- return (org.eclipse.wst.command.internal.env.core.fragment.CommandFragment)obj;
- }
- }
- catch (Exception exception)
- {
- Status errorStatus = new Status(Status.ERROR, "ws_ant", 5097, exception.getMessage(), exception);
- getStatusHandler().reportError(errorStatus);
- getLog().log(ILog.ERROR, "ws_ant", 5097, this, "getRootCommandFragment", EnvironmentMessages.MSG_ERROR_ANT_CMD_FRAGMENT);
- }
- }
- }
- return null;
- }
- }
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntOperationManager.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntOperationManager.java
deleted file mode 100644
index 189861203..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntOperationManager.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ant;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * Manages the execution of commands in the root fragment passed to the constructor.
- *
- * @author joan
- *
- */
-
-public class AntOperationManager extends CommandFragmentEngine
-{
- private AntEnvironment environment_;
-
- protected IStatus initBeforeExecute( AbstractDataModelOperation operation )
- {
- environment_.getLog().log(ILog.INFO, "ws_ant", 5098, this, "initBeforeExecute", "Initializing data for: " + operation.getClass().getName());
- IStatus initStatus = Status.OK_STATUS;
- try
- {
- initStatus = environment_.initOperationData( operation );
- }
- catch (Exception e)
- {
- throw new IllegalArgumentException(e.getMessage());
- }
- return initStatus;
- }
-
- /**
- * Creates a CommandFragmentEngine.
- *
- * @param startFragment the root fragment where traversal will begin.
- * @param dataManager the data manager containing all of the data mappings.
- * @param environment the environment.
- */
- public AntOperationManager( CommandFragment startFragment, DataFlowManager dataManager, AntEnvironment environment )
- {
- super( startFragment, dataManager, environment );
-
- environment_ = environment;
- }
-}
-
-
-
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java
deleted file mode 100644
index aa4c6c884..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ant;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.environment.StatusException;
-
-public class AntStatusHandler implements IStatusHandler {
-
- public Choice report(IStatus status, Choice[] choices) {
- // TODO
- return null;
- }
-
- public void report(IStatus status) throws StatusException {
- if (status.getSeverity() == IStatus.ERROR)
- reportError(status);
- else
- reportInfo(status);
-
- }
-
- public void reportError(IStatus status) {
- System.err.println(status.getMessage());
- }
-
- public void reportInfo(IStatus status) {
- System.out.println(status.getMessage());
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/PropertyDataHolder.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/PropertyDataHolder.java
deleted file mode 100644
index 509ab6bb0..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/PropertyDataHolder.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ant;
-
-/**
- * Simple class to hold data mapping information once retrieved from Ant property file.
- * Map is used for many to one mappings involving mapping of multiple properties to a bean.
- * In this case, the key_ and value_ should be set to an empty string and all key value pairs
- * for properties put into the map instead. The transformation for this case would be a modifier
- * which will set the properties onto the bean.
- */
-
-import java.util.Map;
-
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-public class PropertyDataHolder {
- public AbstractDataModelOperation operation_;
- public Object transform_;
- public String key_;
- public String property_;
- public String value_;
- public Map map_;
-}
-
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/String2BooleanTransformer.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/String2BooleanTransformer.java
deleted file mode 100644
index 783e54cac..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/String2BooleanTransformer.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.ant;
-
-import org.eclipse.wst.command.internal.env.core.data.Transformer;
-
-public class String2BooleanTransformer implements Transformer {
-
- public Object transform(Object value) {
- String str = (String)value;
- str = str.toLowerCase();
- if (str.equals("true"))
- {
- return new Boolean(true);
- }
- else return new Boolean(false);
-
- }
-
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/CommandLine.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/CommandLine.java
deleted file mode 100644
index c35982acf..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/CommandLine.java
+++ /dev/null
@@ -1,855 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.commandline;
-
-import java.text.MessageFormat;
-import java.util.Arrays;
-import java.util.BitSet;
-import java.util.ResourceBundle;
-import java.util.Vector;
-import org.eclipse.wst.command.internal.env.common.StringUtils;
-
-
-/**
- * <p>This is a generic command line parsing class. The programmer need only specify
- * the characteristics of their command line(ie. positional parameters, flags, etc)
- * and this class will perform the rest of the parsing work. As an added bonus this
- * class will also create formated help text that displays the syntax of this
- * command line.
- *
- * <p>The main parameter to the CommandLine constructor is a two dimensional String
- * array. There are 5 columns in this array and as many rows as needed for each
- * flag or positional parameter. The five columns are:
- *
- * <ol>
- * <li>The name of the flag(eg. "help" or "a", etc)
- * Note: no dash should be in the name here. The user would specify "-help" on the
- * command line though.
- * <li>The name of the flag parameter(if any)
- * <li>A string indicating whether this flag can appear more than once on the
- * command line.
- * <li>A string indicating whether this flag must be specified on the command line.
- * <li>A help text string which describes this particular flag or positional parameter.
- * </ol>
- *
- * <p>Each row in the string array is associate with either a positional parameter
- * or with a flag. For example, consider this command line:
- * <ul>
- * <li>My_prog required_parm1 -ab parm_for_ab required_parm2 -help optional_parms
- * </ul>
- *
- * <p>In this example My_prog is the name of the program. required_parm1 and
- * required_parm2 must be specified on the command line. Notice that they do not
- * have to be adjacent to each other on the command line. optional_parms may optionally
- * specified. optional_parms can be 0 or more parameters. They does not need to be
- * adjacent to the required parameters, but they do need to follow the required
- * parameters. Two flags are specified "-ab" and "-help". The "-ab" flag has a
- * parameter "parm_for_ab" associated with it. Note: a flag can not have an optional
- * parameter. (ie. a flag either never have a parameter or it always has a parameter)
- * In this example, the first two rows in the string array would describe required_parm1
- * and required_parm2. The third entry would describe optional_parms. The fourth and
- * fifth rows would describe "-ab" and "-help". For this command line the string array
- * would look like this:
- *
- * <ul>
- * <li>{ { CommandLine.POSITIONAL, "parm1", CommandLine.NO_DUPS,
- * CommandLine.REQUIRED, "parm1 help text" },
- * <li>{ CommandLine.POSITIONAL, "parm2", CommandLine.NO_DUPS,
- * CommandLine.REQUIRED, "parm2 help text" },
- * <li>{ CommandLine.POSITIONAL, "optional_parms", CommandLine.DUPS_OK,
- * CommandLine.REQUIRED, "optional help text" },
- * <li>{ "ab", "parm_for_ab", CommandLine.NO_DUPS,
- * CommandLine.OPTIONAL, "ab help text" },
- * <li>{ "help", CommandLine.NO_PARM, CommandLine.NO_DUPS,
- * CommandLine.OPTIONAL, "displays this help text" } }
- * </ul>
- *
- * <p>String array rules:
- *
- * <ol>
- * <li>Positional rows must always come first in the array. These rows must
- * have a name specified in column 2, except for one case. If you want to indicate that
- * there are no optional positional parameters you would put CommandLine.NO_PARM
- * in column 2 of the positional row. You would also need to put CommandLine.OPTIONAL
- * in column 4 since this row is for optional parameters(or the non-existence of
- * optional parameters as the case may be)
- * <li>Once a positional row specifies that it is optional, no further positional rows
- * may be specified.
- * <li>At least one positional row must be specified, even if it is to just to specify that
- * there are no optional parameters.
- * <li>Flag names must be in lower case. Note: the user can specify upper or lower case
- * on the command line.
- * <li>If a flag has a parameter the name of the parameter should be put into column 2.
- * otherwise CommandLine.NO_PARM should be put in column 2.
- * <li>If a flag is allowed to appear more than once on the command line then
- * CommandLine.DUPS_OK should be put into column 3, otherwise CommandLine.NO_DUPS
- * should be put into column 3.
- * <li>If a flag must be specified on the command line then CommandLine.REQUIRED should
- * be specified in column 4, otherwise CommandLine.OPTIONAL should be specified.
- * <li>A help flag must be specified.
- * <li>The strings specified in the flags column, the parameter name column, and the
- * help column are always translated using the resource bundle specified. Of
- * course the special string values such as POSITIONAL and NO_PARM are not
- * translated.
- * </ol>
- *
- * <p> Flag matching rules:
- * <ol>
- * <li>The parser will attempt to match a user specified flag with the minimum number
- * of programmer specified flag characters. For example, if the programmer has
- * specified that the flag is "help" the user could specify "-h", "-he", "-hel", or
- * "-help". If the programmer has also specified a flag called "hello", the
- * user would get an error message for specifing either "-h", "-he" or "-hel", since
- * it is ambiguous which flag is being refered to. Both "-hell" and "-hello"
- * would be ok for the user to specify the hello flag on the command line.
- * <li>If a flag has a parameter, the parameter may be immediately adjacent to the flag.
- * For example if "abcd" is specified as a flag with a parameter, the user could
- * specify the following assuming there are no other ambiguous flags. "-abcdparm",
- * "-abcparm", "-abparm", or "-aparm" where parm is the parameter for the flag.
- * (Of course the user can always put a white space between the flag and the
- * parameter.)
- * <li>If a flag does not have a parameter and a parameter is adjacent to it then this
- * parameter is interpreted as a positional parameter. For example if "abcb" is
- * specified as a flag and the user specifies "-abhello", then the first "ab" will be
- * interpreted as the flag and "hello" will be interpreted as a positional
- * parameter.
- * </ol>
- *
- * @author Peter Moogk
- * @date July 13, 2000
-**/
-
-public class CommandLine
-{
- // Constant strings that the user should use in their flags_info input array.
- /**
- * Specifies that this flag or positional parameter is required.
- **/
- public static final String REQUIRED = "required";
- /**
- * Specifies that this flag or positional parameter is optional.
- **/
- public static final String OPTIONAL = "optional";
- /**
- * Specifies that this flag may be specified more than once on the command line.
- * Note: This string has no meaning for positional parameters.
- **/
- public static final String DUPS_OK = "dups_ok";
- /**
- * Specifies that this flag may not be specified more than once on the command line.
- * Note: This string has no meaning for positional parameters.
- **/
- public static final String NO_DUPS = "no_dups";
- /**
- * Specifies that a row is a positional parameter row.
- **/
- public static final String POSITIONAL = "";
- /**
- * Specifies that a flag has no parameter. For positional parameters this
- * string indicates that there are no optional parameters.
- **/
- public static final String NO_PARM = "";
-
- /**
- * @param flags_info This parameter specifies the characteristics of the
- * command line parser. See the class description for a
- * definition of what this string array should look like.
- * @param help_flag This string indicates which flag in the flags_info
- * array is the help flag.
- * @param tool_name This string indicates the name of the tool that this
- * command line parser is being used for. This string
- * is only used when creating the help text.
- **/
- public CommandLine( String[][] flags_info,
- String help_flag,
- String tool_name,
- ResourceBundle flagMessages )
-
- throws InternalErrorExc
- {
- this.flags_info = flags_info;
- this.help_flag = help_flag;
- this.tool_name = tool_name;
- this.flagMessages = flagMessages;
-
- messages = ResourceBundle.getBundle( "org.eclipse.wst.command.internal.env.commandline.commandline" );
- verify_flags_info();
- }
-
- /**
- * Call this method to parse a command line.
- * @param args This is the string array from the command line.
- * @throws Flag_error If the user has specified the command line incorrectly
- * a Flag_error exception will be thrown. Use getMessage
- * to get a description of the user error.
- *
- * @throws Help_specified If the user specifies the help flag this exception
- * will be thrown. Use getMessage to get a fully
- * formatted syntax description of this command line.
- **/
- public void check_flags( String[] args ) throws Flag_error
- {
- flags_specified = new Vector[flags_info.length];
-
- for( int index = 0; index < args.length; index++ )
- {
- boolean processed_the_next_arg = process_arg( args, index );
- if( processed_the_next_arg == true ) index++;
- }
-
- // If help was specified we will not check the regular rules.
- if( !flag_specified( help_flag ) )
- {
- // Check for flags breaking the rules specified in flags_info.
- check_rules();
-
- // Call subclassed method to see if more processing is required.
- more_processing();
- }
- }
-
- /**
- * This method is for subclasses of this class. This method is called at
- * the very end of check_flags method. It is intended that subclasses would
- * perform additional command line checking here.
- **/
- protected void more_processing() throws Flag_error, InternalErrorExc
- {
- }
-
- /**
- * Once the command line has been parsed by calling check_flags a
- * call can be made to this method to get the parameters for this flag.
- * If the flag was not specified on the command line null will be returned.
- * If the flag was specified, but has no parameters a valid vector will be
- * returned containing a null.
- **/
- public String[] get_flag_parms( String flag )
- {
- int row = 0;
- boolean flag_found = false;
-
- while( flag_found == false && row < flags_info.length )
- {
- if( flags_info[row][FLAG_COL].equals( flag ) )
- {
- flag_found = true;
- }
- else
- {
- row++;
- }
- }
-
- if( flag_found == true )
- {
- Vector parms = flags_specified[row];
- return parms == null ? null : (String[])(parms.toArray( new String[0] ));
- }
-
- return null;
- }
-
- /**
- * Call this method to get all of the positional parameters.
- * This method returns both the required positionals and the
- * optional positionals in that order. If no positional parameters
- * were specified null will be returned.
- **/
- public String[] get_positionals()
- {
- return (String[])flags_specified[POSITIONAL_ROW].toArray( new String[0] );
- }
-
- /**
- * This method returns true if this flag was specified by the user
- * otherwise false is returned.
- **/
- public boolean flag_specified( String flag )
- {
- return get_flag_parms( flag ) != null;
- }
-
- /**
- * This method returns fully formated help text syntax for this
- * command line.
- **/
- public String get_help_text()
- {
- StringBuffer help_text = new StringBuffer(400);
- int help_width = HELP_LINE_LEN -
- 2 - // blanks
- 1 - // dash
- max_flag_size - // flag field
- 1 - // blank
- max_name_size - // name field
- 1; // blank
-
- help_text.append( messages.getString( FlagMessages.PARSER_INFO_SYNTAX ) +
- ": " + tool_name + " " );
-
- // Display the required positionals if any.
- for( int index = 0; index < required_positionals; index++ )
- {
- help_text.append( flagMessages.getString( flags_info[index][NAME_COL] ) +
- " " );
- }
-
- help_text.append( "[" + messages.getString( FlagMessages.PARSER_FLAGS ) +
- "] " );
-
- if( optional_positionals_allowed == true )
- {
- help_text.append( flagMessages.getString( flags_info[optional_list_index][NAME_COL] ) );
- }
-
- help_text.append( "\n " + messages.getString( FlagMessages.PARSER_INFO_WHERE ) + "\n" );
-
- // Create one line of description for each parameter
- for( int row = 0; row < flags_info.length; row++ )
- {
- String columnId = flags_info[row][NAME_COL];
- String columnName = columnId == NO_PARM ? "" : flagMessages.getString( columnId );
-
- String flagId = flags_info[row][FLAG_COL];
- String flagName = flagId == POSITIONAL ? POSITIONAL : flagMessages.getString(flagId);
-
- int flag_padding = max_flag_size - flagName.length();
- int name_padding = max_name_size - columnName.length();
-
- // Skip this row if this is a marker for no optional positionals.
- if( flags_info[row][FLAG_COL] == POSITIONAL &&
- flags_info[row][NAME_COL] == NO_PARM ) continue;
-
- if( flagName == POSITIONAL )
- {
- help_text.append( getBlanks(3 ) );
- }
- else
- {
- help_text.append( " -" + flagName );
- }
-
- help_text.append( getBlanks( flag_padding + 1 ) );
- help_text.append( columnName );
- help_text.append( getBlanks( name_padding + 1 ) );
-
- String columnHelp = flagMessages.getString( flags_info[row][HELP_COL] );
- String[] split_help_text
- = StringUtils.splitter( columnHelp, help_width );
-
- if( split_help_text.length > 0 )
- help_text.append( split_help_text[0] + "\n" );
- else
- help_text.append( "\n" );
-
- for( int index = 1; index < split_help_text.length; index++ )
- {
- help_text.append( getBlanks( HELP_LINE_LEN - help_width ) );
- help_text.append( split_help_text[index] + "\n" );
- }
-
- help_text.append( "\n" );
- }
-
- return "" + help_text;
- }
-
- /**
- * Return a string with the specified number of blanks.
- */
- private String getBlanks( int count )
- {
- char[] blanks = new char[count];
- Arrays.fill( blanks, 0, count, ' ' );
-
- return new String( blanks );
- }
-
- /**
- * This class is the base for all command line exception classes.
- **/
- static public class ErrorExc extends Exception
- {
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3257567317259793720L;
-
- public ErrorExc( String message, String[] args )
- {
- super( MessageFormat.format( message, args ) );
- }
- }
-
- /**
- * This class will be thrown when an internal error is detected.
- * This usually happens if the flag description information was
- * specified incorrectly.
- **/
- static public class InternalErrorExc extends IllegalArgumentException
- {
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3258410621136614450L;
-
- public InternalErrorExc( String message, String[] args )
- {
- super( MessageFormat.format( message, args ) );
- }
-
- public InternalErrorExc( String message )
- {
- this( message, (String[])null );
- }
-
- public InternalErrorExc( String message, String arg )
- {
- this( message, new String[]{ arg } );
- }
- }
-
- /**
- * This class will be thrown if a user error occurs while parsing the command line.
- **/
- static public class Flag_error extends ErrorExc
- {
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3832621776877663537L;
-
- public Flag_error( String message, String[] args )
- {
- super( message, args );
- }
-
- public Flag_error( String message, String arg )
- {
- super( message, new String[]{ arg } );
- }
-
- public Flag_error( String message )
- {
- super( message, null );
- }
- }
-
- /**
- * Tries to process a single flag on the command line.
- * @param args All the command line parameters.
- * @param arg_index This is the index of the argument that is to be processed.
- * @return returns true if the argument we are processing is a flag that has a
- * parameter and the parameter is specified in the next argument.
- **/
- private boolean process_arg( String[] args, int arg_index ) throws Flag_error
- {
- boolean processed_next_arg = false;
-
- if( args[arg_index].charAt(0) == '-' )
- {
- // This is the start of a flag.
- int flag_index = 1;
- int info_index = get_info_index( args[arg_index], flag_index );
- int max_index = get_max_index( args[arg_index], flag_index, info_index );
-
- if( flags_info[info_index][NAME_COL] != NO_PARM )
- {
- // This flag takes a parameter so check if it is stuck to this
- // arg.
- if( max_index < args[arg_index].length() )
- {
- add_flag_parm( info_index,
- args[arg_index].substring( max_index,
- args[arg_index].length() ) );
- }
- else
- {
- // This flag has a parameter and it wasn't stuck to the flag,
- // so we will try to get it from the next arg.
- if( arg_index+1 < args.length &&
- args[arg_index+1].charAt(0) != '-' )
- {
- // We found an parameter in the next string so we will use this
- // one as a parameter for this flag. Note: if was no parameter
- // after the flag at all, the error will be caught in the
- // check_rules method.
- add_flag_parm( info_index, args[arg_index+1] );
- processed_next_arg = true;
- }
- else
- {
- // Error missing paramater. This error is caught by check_rules.
- add_flag_parm( info_index, null );
- }
- }
- }
- else
- {
- // The flag does not have a parameter so we will add a null.
- add_flag_parm( info_index, null );
-
- // Check to see if a positional parameter is stuck to this flag.
- if( max_index < args[arg_index].length() )
- {
- add_positional( args[arg_index].substring( max_index,
- args[arg_index].length() ) );
- }
- }
- }
- else
- {
- // This is a positional parameter.
- add_positional( args[arg_index] );
- }
-
- return processed_next_arg;
- }
-
- /**
- * Finds the row for the flag that uniquely matched this flag str.
- * @return returns the flags_info index of the matching flag.
- **/
- private int get_info_index( String flag_str, int start_index )
- throws Flag_error
- {
- //int info_start = 1;
- //int info_end = flags_info.length;
- int info_index;
- int found_count = 0;
- int info_col_index = 0;
- int last_info_index = 0;
-
- BitSet flags_rejected = new BitSet();
-
- // Loop over each char in flag_str. Note: we will probably bail early.
- for( int flag_col_index = start_index; flag_col_index < flag_str.length(); flag_col_index++ )
- {
- // Loop over each flag in flag_info
- for( info_index = 0; info_index < flags_info.length; info_index++ )
- {
- String flagId = flags_info[info_index][FLAG_COL];
- String flagName = flagId == POSITIONAL ? POSITIONAL : flagMessages.getString( flagId );
-
- if( flags_rejected.get( info_index ) == false &&
- info_col_index < flagName.length() &&
- Character.toLowerCase(flag_str.charAt(flag_col_index)) ==
- flagName.charAt(info_col_index) )
- {
- found_count++;
- last_info_index = info_index;
- }
- else
- {
- flags_rejected.set( info_index );
- }
- }
-
- if( found_count == 1 )
- {
- // We have a match.
- return last_info_index;
- }
- else if( found_count == 0 )
- {
- // Flag not found at all.
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_FLAG_NOT_FOUND ),
- flag_str.substring( start_index ) );
- }
- else
- {
- // More than one flag was found with this char so we will go to the
- // next char to uniquely match it.
- info_col_index++;
- //info_start = last_info_index - found_count + 1;
- //info_end = last_info_index + 1;
- found_count = 0;
- }
- }
-
- // The only way to get to this code is if the loop exited with
- // the found_count greater than 1. Therefore, the flag specified is
- // ambiguous.
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_AMBIGUOUS_FLAG ),
- flag_str.substring( start_index) );
- }
-
- /**
- * This method tries to match as many characters as possible of the user
- * specified flag with the matched flag string.
- * @return returns the position of the last matching flag chararacter.
- **/
- private int get_max_index( String flag_str, int flag_start, int info_index )
- {
- int flag_col_index = flag_start;
- int info_col_index = 0;
-
- String info_str = flagMessages.getString( flags_info[info_index][FLAG_COL] );
-
- while( flag_col_index < flag_str.length() &&
- info_col_index < info_str.length() )
- {
- if( Character.toLowerCase( flag_str.charAt(flag_col_index) ) !=
- info_str.charAt(info_col_index) )
- break;
-
- flag_col_index++;
- info_col_index++;
- }
-
- return flag_col_index;
- }
-
- /**
- * Adds a positional parameter to flags_specified.
- **/
- private void add_positional( String positional_parm )
- {
- if( flags_specified[POSITIONAL_ROW] == null )
- flags_specified[POSITIONAL_ROW] = new Vector(3);
-
- flags_specified[POSITIONAL_ROW].add( positional_parm );
- }
-
- /**
- * Adds a flag and its parameter to flags_specified. If only the
- * flag was specified, then a null should be passed to flag_parm.
- **/
- private void add_flag_parm( int flag_index, String flag_parm )
- throws Flag_error
- {
- if( flags_info[flag_index][DUP_COL] == NO_DUPS &&
- flags_specified[flag_index] != null )
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_DUPLICATE_FLAGS_NOT_ALLOWED ),
- flagMessages.getString( flags_info[flag_index][FLAG_COL] ) );
-
- if( flags_specified[flag_index] == null )
- flags_specified[flag_index] = new Vector(3);
-
- flags_specified[flag_index].add( flag_parm );
- }
-
- /**
- * Checks that the user hasn't broken any command line rules.
- **/
- private void check_rules() throws Flag_error
- {
- // Check that all of the required positionals were specified.
- int positional_count = 0;
-
- if( flags_specified[POSITIONAL_ROW] != null )
- {
- positional_count = flags_specified[POSITIONAL_ROW].size();
- }
-
- if( required_positionals > positional_count )
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_MISSING_POSITIONAL ),
- flagMessages.getString( flags_info[required_positionals-1][NAME_COL] ) );
-
- else if( required_positionals < positional_count &&
- optional_positionals_allowed == false )
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_TOO_MANY_POSITIONALS ) );
-
- for( int row = 0; row < flags_info.length; row++ )
- {
- if( flags_info[row][FLAG_COL] == POSITIONAL ) continue;
-
- if( flags_specified[row] == null &&
- flags_info[row][REQUIRED_COL] == REQUIRED )
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_MISSING_REQUIRED_FLAG ),
- flagMessages.getString( flags_info[row][FLAG_COL] ) );
-
- int parm_count = 0;
-
- if( flags_specified[row] != null ) parm_count = flags_specified[row].size();
-
- // Check for too many flag parameters.
- if( flags_info[row][DUP_COL] == NO_DUPS && parm_count > 1 )
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_DUPLICATE_FLAGS_NOT_ALLOWED ),
- flagMessages.getString( flags_info[row][FLAG_COL] ) );
-
- // Check for missing flag parameter.
- if( parm_count > 0 && flags_info[row][NAME_COL] != NO_PARM )
- {
- for( int index = 0; index < flags_specified[row].size(); index++ )
- {
- if( flags_specified[row].elementAt(index) == null )
- throw new Flag_error( messages.getString( FlagMessages.PARSER_ERROR_MISSING_FLAG_PARAMETER ),
- new String[]
- { flagMessages.getString( flags_info[row][FLAG_COL] ),
- flagMessages.getString( flags_info[row][NAME_COL] ) } );
-
- }
- }
- }
- }
-
- /**
- * This method verifies that a proper flags_info string array was passed
- * to us by the programmer.
- **/
- private void verify_flags_info() throws InternalErrorExc
- {
- boolean done_positionals = false;
- boolean help_specified = false;
-
- required_positionals = 0;
- optional_positionals_allowed = false;
- optional_list_index = -1;
- max_flag_size = 0;
- max_name_size = 0;
-
- if( flags_info == null || flags_info.length == 0 )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_NO_FLAGS_DATA_SPECIFIED ) );
-
- if( flags_info[POSITIONAL_ROW] != null &&
- flags_info[POSITIONAL_ROW].length > 0 &&
- flags_info[POSITIONAL_ROW][FLAG_COL] != POSITIONAL )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_FIRST_FLAG_NOT_POSITIONAL ) );
-
- for( int row = 0; row < flags_info.length; row++ )
- {
- if( flags_info[row] == null )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_NULL_FLAG_ROW ) );
-
- if( flags_info[row].length != 5 )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_INCORRECT_ROW_SIZE ) );
-
- if( flags_info[row][FLAG_COL] == null ||
- flags_info[row][NAME_COL] == null ||
- flags_info[row][HELP_COL] == null )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_NULL_IN_ROW ) );
-
- if( flags_info[row][FLAG_COL].equals( help_flag ) ) help_specified = true;
-
- String flagId = flags_info[row][FLAG_COL];
- String nameId = flags_info[row][NAME_COL];
-
- String flag_col = flagId == POSITIONAL ? POSITIONAL : flagMessages.getString( flagId );
- String name_col = nameId == NO_PARM ? NO_PARM : flagMessages.getString( nameId );
-
- if( flag_col.length() > max_flag_size )
- max_flag_size = flag_col.length();
-
- if( name_col != NO_PARM && name_col.length() > max_name_size )
- max_name_size = name_col.length();
-
- // Ensure that flags are all in lowercase.
- if( !flag_col.equals( flag_col.toLowerCase() ) )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_FLAG_NOT_LOWERCASE ),
- flag_col );
-
- // Ensure that only the predefined dup strings are used.
- // Note: it's ok to use != when comparing constant strings literals.
- if( flags_info[row][DUP_COL] == null ||
- ( flags_info[row][DUP_COL] != NO_DUPS &&
- flags_info[row][DUP_COL] != DUPS_OK ) )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_INCORRECT_DUP_STRING ),
- flags_info[row][DUP_COL] );
-
- // Ensure that only the predefined required strings are used.
- if( flags_info[row][REQUIRED_COL] == null ||
- ( flags_info[row][REQUIRED_COL] != REQUIRED &&
- flags_info[row][REQUIRED_COL] != OPTIONAL ) )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_INCORRECT_REQUIRED_STRING ),
- flags_info[row][REQUIRED_COL] );
-
- // Count the number of required positionals.
- if( flags_info[row][FLAG_COL] == POSITIONAL )
- {
- if( flags_info[row][REQUIRED_COL] == REQUIRED )
- {
- if( flags_info[row][NAME_COL] == NO_PARM )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_REQUIRED_POSITIONAL_NEEDS_NAME ) );
-
- required_positionals++;
- }
- else if( flags_info[row][NAME_COL] != NO_PARM )
- {
- // We use the NAME_COL field for an optional positional to denote
- // whether additional positionals are allowed or not.
- optional_positionals_allowed = true;
- optional_list_index = row;
- }
- }
-
- // Ensure that positionals are at the beginning of the info.
- if( flags_info[row][FLAG_COL] != POSITIONAL ||
- ( done_positionals == false &&
- flags_info[row][FLAG_COL] == POSITIONAL &&
- flags_info[row][REQUIRED_COL] == OPTIONAL ) )
- {
- done_positionals = true;
- }
- else if( done_positionals == true )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_POSITIONAL_NOT_AT_BEGINNING ) );
- }
-
- // Ensure that a help flag was specified in the info list.
- if( help_specified == false )
- throw new InternalErrorExc( messages.getString( FlagMessages.PARSER_ERROR_HELP_FLAG_NOT_SPECIFIED ) );
- }
-
- /**
- * This method is used to dump internal information about a parsed
- * command line.
- **/
- public String toString()
- {
- StringBuffer b = new StringBuffer(100);
-
- for( int row = 0; row < flags_info.length; row++ )
- {
- b.append( "\n" );
-
- if( flags_info[row][FLAG_COL] == POSITIONAL )
- b.append( "Positional:" );
- else
- b.append( flagMessages.getString( flags_info[row][FLAG_COL] ) + ":" );
-
-
- if( flags_specified[row] == null )
- b.append( "no parameters" );
- else
- for( int parm_index = 0; parm_index < flags_specified[row].size(); parm_index++ )
- {
- String parm = (String)flags_specified[row].elementAt(parm_index);
- b.append( parm + ":" );
- }
- b.append( "\n" );
- }
-
- return ""+b;
- }
-
- private static final int FLAG_COL = 0;
- private static final int NAME_COL = 1;
- private static final int DUP_COL = 2;
- private static final int REQUIRED_COL = 3;
- private static final int HELP_COL = 4;
-
- private static final int POSITIONAL_ROW = 0;
- private static final int HELP_LINE_LEN = 75;
-
- private String[][] flags_info;
- private String help_flag;
- private String tool_name;
- private Vector[] flags_specified;
- private int required_positionals;
- private boolean optional_positionals_allowed;
- private int optional_list_index;
- private int max_flag_size;
- private int max_name_size;
-
- protected ResourceBundle messages;
- private ResourceBundle flagMessages;
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/FlagMessages.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/FlagMessages.java
deleted file mode 100644
index 1c56797c7..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/FlagMessages.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.commandline;
-
-/**
- * This class is used to store constant string error messages
- * generated by CommandLine.java
- *
- *
- * @author Peter Moogk
- * @date July 13, 2000
- * @see org.eclipse.wst.command.internal.env.commandline.CommandLine
-**/
-
-public final class FlagMessages
-{
-
- public static final String PARSER_ERROR_FLAG_NOT_FOUND = "PARSER_ERROR_FLAG_NOT_FOUND";
-
- public static final String PARSER_ERROR_AMBIGUOUS_FLAG = "PARSER_ERROR_AMBIGUOUS_FLAG";
-
- public static final String PARSER_ERROR_MISSING_POSITIONAL = "PARSER_ERROR_MISSING_POSITIONAL";
-
- public static final String PARSER_ERROR_TOO_MANY_POSITIONALS = "PARSER_ERROR_TOO_MANY_POSITIONALS";
-
- public static final String PARSER_ERROR_MISSING_REQUIRED_FLAG = "PARSER_ERROR_MISSING_REQUIRED_FLAG";
-
- public static final String PARSER_ERROR_DUPLICATE_FLAGS_NOT_ALLOWED = "PARSER_ERROR_DUPLICATE_FLAGS_NOT_ALLOWED";
-
- public static final String PARSER_ERROR_MISSING_FLAG_PARAMETER = "PARSER_ERROR_MISSING_FLAG_PARAMETER";
-
- // Error internal error messages.
- public static final String PARSER_ERROR_MESSAGE_MISSING_ARG = "PARSER_ERROR_MESSAGE_MISSING_ARG";
-
- // Internal command line error messages.
- public static final String PARSER_ERROR_NO_FLAGS_DATA_SPECIFIED = "PARSER_ERROR_NO_FLAGS_DATA_SPECIFIED";
-
- public static final String PARSER_ERROR_FIRST_FLAG_NOT_POSITIONAL = "PARSER_ERROR_FIRST_FLAG_NOT_POSITIONAL";
-
- public static final String PARSER_ERROR_NULL_FLAG_ROW = "PARSER_ERROR_NULL_FLAG_ROW";
-
- public static final String PARSER_ERROR_INCORRECT_ROW_SIZE = "PARSER_ERROR_INCORRECT_ROW_SIZE";
-
- public static final String PARSER_ERROR_NULL_IN_ROW = "PARSER_ERROR_NULL_IN_ROW";
-
- public static final String PARSER_ERROR_INCORRECT_DUP_STRING = "PARSER_ERROR_INCORRECT_DUP_STRING";
-
- public static final String PARSER_ERROR_INCORRECT_REQUIRED_STRING = "PARSER_ERROR_INCORRECT_REQUIRED_STRING";
-
- public static final String PARSER_ERROR_POSITIONAL_NOT_AT_BEGINNING = "PARSER_ERROR_POSITIONAL_NOT_AT_BEGINNING";
-
- public static final String PARSER_ERROR_HELP_FLAG_NOT_SPECIFIED = "PARSER_ERROR_HELP_FLAG_NOT_SPECIFIED";
-
- public static final String PARSER_ERROR_FLAGS_NOT_ORDERED = "PARSER_ERROR_FLAGS_NOT_ORDERED";
-
- public static final String PARSER_ERROR_FLAG_NOT_LOWERCASE = "PARSER_ERROR_FLAG_NOT_LOWERCASE";
-
- public static final String PARSER_ERROR_REQUIRED_POSITIONAL_NEEDS_NAME = "PARSER_ERROR_REQUIRED_POSITIONAL_NEEDS_NAME";
-
- public static final String PARSER_INFO_SYNTAX = "PARSER_SYNTAX";
-
- public static final String PARSER_FLAGS = "PARSER_FLAGS";
-
- public static final String PARSER_INFO_WHERE = "PARSER_WHERE";
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/commandline.properties b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/commandline.properties
deleted file mode 100644
index 78529810d..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/commandline/commandline.properties
+++ /dev/null
@@ -1,34 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-PARSER_ERROR_FLAG_NOT_FOUND=IWAB0123E Flag -{0} is not valid.
-PARSER_ERROR_AMBIGUOUS_FLAG=IWAB0284E Flag -{0} is ambiguous.
-PARSER_ERROR_MISSING_POSITIONAL=IWAB0285E Missing {0} parameter.
-PARSER_ERROR_TOO_MANY_POSITIONALS=IWAB0286E Too many positional parameters specified.
-PARSER_ERROR_MISSING_REQUIRED_FLAG=IWAB0288E Flag -{0} is missing.
-PARSER_ERROR_DUPLICATE_FLAGS_NOT_ALLOWED=IWAB0293E Flag -{0} has been specified more than once.
-PARSER_ERROR_MISSING_FLAG_PARAMETER=IWAB0294E Flag -{0} is missing parameter {1}.
-PARSER_ERROR_MESSAGE_MISSING_ARG=IWAB0319E Error message {0} is missing an argument.
-PARSER_ERROR_NO_FLAGS_DATA_SPECIFIED=IWAB0345E Specify flag information.
-PARSER_ERROR_FIRST_FLAG_NOT_POSITIONAL=IWAB0346E The first flag must be positional.
-PARSER_ERROR_NULL_FLAG_ROW=IWAB0347E Null flag row.
-PARSER_ERROR_INCORRECT_ROW_SIZE=IWAB0348E Flag row must have 5 strings.
-PARSER_ERROR_NULL_IN_ROW=IWAB0349E Flag information contains a null string.
-PARSER_ERROR_INCORRECT_DUP_STRING=IWAB0350E Duplicate string {0} is not valid.
-PARSER_ERROR_INCORRECT_REQUIRED_STRING=IWAB0351E Required string {0} is not valid.
-PARSER_ERROR_POSITIONAL_NOT_AT_BEGINNING=IWAB0352E Positional flag is not at the beginning.
-PARSER_ERROR_HELP_FLAG_NOT_SPECIFIED=IWAB0353E Help flag is not specified in information array.
-PARSER_ERROR_FLAGS_NOT_ORDERED=IWAB0354E Flags are not in lexical order.
-PARSER_ERROR_FLAG_NOT_LOWERCASE=IWAB0355E Flag {0} is not lowercase.
-PARSER_ERROR_REQUIRED_POSITIONAL_NEEDS_NAME=IWAB0356E Required positional parameters must have a name specified.
-PARSER_SYNTAX=Syntax
-PARSER_FLAGS=Flags
-PARSER_WHERE=Where
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/ClassPath.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/ClassPath.java
deleted file mode 100644
index fa1923e7b..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/ClassPath.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.common;
-
-import java.io.File;
-
-/**
- *
- * The class provides and easy way to build classpaths.
- *
- */
-public class ClassPath
-{
- private StringBuffer path = new StringBuffer();
-
- /**
- *
- * @param newPath appends this new path to the end of the classpath.
- */
- public void appendPath( String newPath )
- {
- // No value to put on path, so just return
- if( newPath.equals( "" ) ) return;
-
- // If this is the first path in the string then we don't need a path
- // separator.
- if( path.length() == 0 )
- {
- path.append( newPath );
- }
- else
- {
- path.append( File.pathSeparatorChar + newPath );
- }
- }
-
- /**
- * This method appends all jar and zip files in a particular directory to
- * the classpath.
- *
- * @param directory specifies a directory contains jar and zip files.
- */
- public void appendDir( String directory )
- {
- File dir = new File( directory );
-
- if( !dir.isDirectory() ) return;
-
- File[] files = dir.listFiles();
-
- for( int index = 0; index < files.length; index++ )
- {
- File file = files[index];
- String name = file.getName();
-
- if( file.isFile() &&
- ( name.endsWith( ".jar" ) ||
- name.endsWith( ".zip" ) ) )
- {
- appendPath( file.getAbsolutePath() );
- }
-
- }
- }
-
- /**
- *
- * @param newPath appends a new classpath to the end of this classpath.
- */
- public void appendPath( ClassPath newPath )
- {
- appendPath( newPath.path.toString() );
- }
-
- /**
- * @return returns the full string classpath with separators.
- */
- public String toString()
- {
- return path.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceOutputStream.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceOutputStream.java
deleted file mode 100644
index 0960ac613..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceOutputStream.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.common;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IStatusHandler;
-
-
-
-/**
-* This class defines an output stream that writes to an
-* {@link org.eclipse.core.resources.IFile IFile}.
-*/
-public class FileResourceOutputStream extends OutputStream
-{
-
- IPath fFilePath;
- ResourceContext fResourceContext;
- IProgressMonitor fMonitor;
- IStatusHandler fStatusHandler;
- ByteArrayOutputStream fByteArrayOutputStream;
- boolean fOpen;
-
- /**
- * Constructs an output stream that can be used to write to the
- * given <code>file</code>. The workspace is neither examined nor
- * altered during construction. All resource creation is deferred
- * until later in the stream's lifecycle, such as during writing
- * or closure.
- * <b>Note:</b> The preferred mechanism for creating a stream that
- * writes to an IFile is to call the static factory method
- * {@link FileResourceUtils#newFileOutputStream FileResourceUtils.newFileOutputStream()}
- * and work with the resulting <code>OutputStream</code>.
- * Direct construction of a FileResourceOutputStream is not recommended.
- * @param file The {@link org.eclipse.core.resources.IFile IFile}
- * handle of the file resource to create. The project implied by the
- * pathname of the file must already exist,
- * that is, this method cannot be used to create projects.
- * @param progressMonitor The progress monitor for the operation, or null.
- */
- public FileResourceOutputStream (
- ResourceContext resourceContext,
- IPath filePath,
- IProgressMonitor monitor,
- IStatusHandler statusHandler
- )
- {
- fFilePath = filePath;
- fResourceContext = resourceContext;
- fMonitor = monitor;
- fStatusHandler = statusHandler;
- fByteArrayOutputStream = new ByteArrayOutputStream();
- fOpen = true;
- }
-
- /**
- * Closes the stream.
- * @throws IOException If an error occurs while closing the stream.
- * For example, if this stream was constructed with overwriteFile = false
- * and a file of the same name already exists, then an IOException will
- * be thrown either now or during an earlier {@link #write write}.
- */
- public void close ()
- throws IOException
- {
- if (!fOpen) return;
- fOpen = false;
- fByteArrayOutputStream.close();
- byte[] buffer = fByteArrayOutputStream.toByteArray();
- ByteArrayInputStream tempInputStream = new ByteArrayInputStream(buffer);
- try
- {
- FileResourceUtils.createFile(fResourceContext, fFilePath, tempInputStream, fMonitor, fStatusHandler);
- }
- catch (CoreException e)
- {
- throw new IOException(e.getMessage());
- }
- }
-
- /**
- * Flushes the stream. This does not imply the File resource
- * will be created or become visible within the workbench.
- * @throws IOException If an error occurs. For example, if this
- * stream was constructed with overwriteFile = false and a file of the
- * same name already exists, then an IOException may be thrown at
- * this point.
- */
- public void flush ()
- throws IOException
- {
- fByteArrayOutputStream.flush();
- }
-
- /**
- * Writes all bytes from the given array to the stream.
- * @param b The array of bytes to write.
- * @throws IOException If an error occurs. For example, if this
- * stream was constructed with overwriteFile = false and a file of the
- * same name already exists, then an IOException may be thrown at
- * this point.
- */
- public void write ( byte[] b )
- throws IOException
- {
- fByteArrayOutputStream.write(b);
- }
-
- /**
- * Writes bytes from the given array beginning at some offset
- * and continuing for some number of bytes (len) to the stream.
- * @param b The array of bytes to write.
- * @param off The offset into the array to begin writing.
- * @param len The number of bytes to write.
- * @throws IOException If an error occurs. For example, if this
- * stream was constructed with overwriteFile = false and a file of the
- * same name already exists, then an IOException may be thrown at
- * this point.
- */
- public void write ( byte[] b, int off, int len )
- {
- fByteArrayOutputStream.write(b,off,len);
- }
-
- /**
- * Writes a single byte to the stream.
- * @param b The byte to write.
- * @throws IOException If an error occurs. For example, if this
- * stream was constructed with overwriteFile = false and a file of the
- * same name already exists, then an IOException may be thrown at
- * this point.
- */
- public void write ( int b )
- {
- fByteArrayOutputStream.write(b);
- }
-}
-
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceUtils.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceUtils.java
deleted file mode 100644
index 81142a30e..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/FileResourceUtils.java
+++ /dev/null
@@ -1,778 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060112 121199 jesper@selskabet.org - Jesper Møller
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.common;
-
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.EnvironmentMessages;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.environment.StatusException;
-
-
-
-/**
-* This class contains useful methods for working with Eclipse resources.
-*/
-public final class FileResourceUtils
-{
- //
- // Keeps the IWorkspace hanging around. See getWorkspace().
- //
- private static IWorkspace workspace_ = null;
- //
- // Keeps the IWorkspaceRoot hanging around. See getWorkspaceRoot().
- //
- private static IWorkspaceRoot root_ = null;
-
-// private static MessageUtils msg_ = new MessageUtils( "org.eclipse.wst.command.internal.env.common.environment", new FileResourceUtils() );
-
-
- /**
- * Returns the IWorkspaceRoot object.
- * @return The IWorkspaceRoot object.
- */
- public static IWorkspaceRoot getWorkspaceRoot ()
- {
- if (root_ == null)
- {
- root_ = ResourcesPlugin.getWorkspace().getRoot();
- }
- return root_;
- }
-
- /**
- * Returns the IWorkspace object.
- *
- * @return The IWorkspace object.
- */
- public static IWorkspace getWorkspace ()
- {
- if (workspace_ == null)
- {
- if (root_ == null)
- {
- root_ = ResourcesPlugin.getWorkspace().getRoot();
- }
-
- workspace_ = root_.getWorkspace();
- }
-
- return workspace_;
- }
-
- /**
- *
- * @return returns an array of three common choices. (ie. Yes, yes all, and cancel )
- */
- public static Choice[] getThreeStateFileOptions()
- {
- Vector choices = new Vector();
-
- choices.add(new Choice( 'Y', EnvironmentMessages.LABEL_YES));
- choices.add(new Choice( 'A', EnvironmentMessages.LABEL_YES_TO_ALL));
- choices.add(new Choice( 'C', EnvironmentMessages.LABEL_CANCEL));
-
- return (Choice[])choices.toArray(new Choice[choices.size()]);
- }
-
- /**
- * Returns an
- * {@link org.eclipse.core.resources.IResource IResource}
- * of the given absolute pathname or null if no such resource exists.
- * @param absolutePathname The absolute path of the resource.
- * @return The <code>IResource</code>.
- */
- public static IResource findResource ( String absolutePathname )
- {
- if (absolutePathname == null)
- {
- return null;
- }
-
- return findResource(new Path(absolutePathname));
- }
-
- /**
- * Returns an
- * {@link org.eclipse.core.resources.IResource IResource}
- * of the given absolute path or null if no such resource exists.
- * @param absolutePath The absolute <code>IPath</code> of the resource.
- * @return The <code>IResource</code>.
- */
- public static IResource findResource ( IPath absolutePath )
- {
- if (absolutePath == null)
- {
- return null;
- }
-
- return FileResourceUtils.getWorkspaceRoot().findMember(absolutePath);
- }
-
- /**
- * Copies a file from a plugin's installation location
- * to an Eclipse folder.
- * @param plugin The plugin containing the files to copy.
- * Must not be null.
- * @param sourcePath The path, relative to the <code>plugin</code>
- * install location, containing the files to copy.
- * If null, then the plugin install location is the source path
- * (ie. null is equivalent to ".").
- * @param pathname The pathname of the file to copy.
- * The pathname is relative to the <code>plugin sourcePath</code>.
- * Must not be null.
- * @param targetPath The absolute Eclipse path of the folder to
- * which the file will be copied. The relative pathname of the
- * file is preserved.
- * Must not be null.
- * @param createFolders The intermediate folder creation policy, one of
- * {@link #CREATE CREATE} or {@link #DONT_CREATE DONT_CREATE}.
- * <ul>
- * <li><code>CREATE</code> -
- * If any intermediate folders in the given <code>absolutePath</code>
- * do not exist, they will be created.
- * <li><code>DONT_CREATE</code> -
- * If any intermediate folders in the given <code>absolutePath</code>
- * do not exist, the method will throw a <code>CoreException</code>.
- * </ul>
- * @param overwriteFile The policy for existing files, one of
- * {@link #OVERWRITE OVERWRITE} or {@link #DONT_OVERWRITE DONT_OVERWRITE}.
- * <ul>
- * <li><code>OVERWRITE</code> -
- * If a resource of the same name as the given
- * <code>absolutePath</code> already exists and is a file,
- * it will be replaced.
- * If the resource already exists and it is not a file,
- * then no file will be created and
- * a <code>CoreException</code> will be thrown.
- * <li><code>DONT_OVERWRITE</code> -
- * If any resource of the same name as the given
- * <code>absolutePath</code> already exists,
- * then no file will be created and
- * a <code>CoreException</code> will be thrown.
- * </ul>
- * @param progressMonitor The progress monitor for the operation, or null.
- * @throws CoreException An exception containing an
- * {@link org.eclipse.core.runtime.IStatus IStatus}
- * with a severity of <code>IStatus.ERROR</code> and a
- * locale-specific description of the cause.
- */
- static public void copyFile( ResourceContext resourceContext,
- Plugin plugin,
- IPath sourcePath,
- IPath pathname,
- IPath targetPath,
- IProgressMonitor progressMonitor,
- IStatusHandler statusMonitor )
- throws CoreException
- {
- try
- {
- IPath target = targetPath.append(pathname);
- IPath source = sourcePath == null ? pathname : sourcePath.append(pathname);
- InputStream input = plugin.openStream(source);
- createFile(resourceContext, target, input, progressMonitor, statusMonitor);
- }
- catch (IOException e)
- {
- throw new CoreException(new Status(IStatus.ERROR,
- plugin.getBundle().getSymbolicName(),
- 0,
- EnvironmentMessages.MSG_ERROR_IO,e));
- }
- }
-
- /**
- * Deletes a file under a container.
- * The container must already exist.
- * @param file - the IFile to be deleted
- * @param progressMonitor
- * @param statusMonitor
- * @return True if the file does not exist or if it exists and is successfully deleted. False otherwise.
- */
- public static boolean deleteFile( ResourceContext resourceContext,
- IFile file,
- IProgressMonitor progressMonitor,
- IStatusHandler statusMonitor)
- throws CoreException
- {
- if (file.exists())
- {
- if (!resourceContext.isOverwriteFilesEnabled())
- {
- IStatus status
- = StatusUtils.warningStatus( NLS.bind(EnvironmentMessages.MSG_ERROR_FILE_OVERWRITE_DISABLED,
- new Object[]{ file.getParent().getFullPath().toString(),
- file.getName()}) );
-
-
- Choice choice = statusMonitor.report( status, getThreeStateFileOptions() );
-
- if( choice.getShortcut() == 'C' ) return false;
-
- if( choice.getShortcut() == 'A' ) resourceContext.setOverwriteFilesEnabled(true);
- }
-
- //We have permission to overwrite so check if file is read-only
- if (file.isReadOnly())
- {
- if (!resourceContext.isCheckoutFilesEnabled())
- {
- IStatus status
- = StatusUtils.warningStatus( NLS.bind(EnvironmentMessages.MSG_ERROR_FILE_CHECKOUT_DISABLED,
- new Object[]{ file.getParent().getFullPath().toString(),
- file.getName()}) );
-
- Choice choice = statusMonitor.report( status, getThreeStateFileOptions() );
-
- if( choice.getShortcut() == 'C' ) return false;
-
- if( choice.getShortcut() == 'A' ) resourceContext.setCheckoutFilesEnabled(true);
- }
-
- IFile[] files = new IFile[1];
- files[0] = file;
- IStatus status = getWorkspace().validateEdit(files, null);
-
- if( status.getSeverity() == IStatus.ERROR )
- {
- statusMonitor.reportError( status );
- return false;
- }
- }
-
- file.delete(true, null);
- }
- //At this point, either the file did not exist or we successfully deleted
- // it. Return success.
- return true;
- }
-
- /**
- * Deletes a folder under a container.
- * @param folder - the IFolder to be deleted
- * @param progressMonitor
- * @param statusMonitor
- * @return True if the folder does not exist or if it exists and is successfully deleted along with its members. False otherwise.
- */
- public static boolean deleteFolder( ResourceContext resourceContext,
- IFolder folder,
- IProgressMonitor progressMonitor,
- IStatusHandler statusMonitor )
- throws CoreException
- {
- if (!folder.exists()) return true;
-
- boolean deleted = true;
- IResource[] resources = folder.members();
-
- for (int i=0; i<resources.length; i++)
- {
- IResource resource = resources[i];
- if (resource instanceof IFile)
- {
- deleted = deleteFile(resourceContext, (IFile)resource, progressMonitor, statusMonitor);
- }
- if (resource instanceof IFolder)
- {
- deleted = deleteFolder( resourceContext, (IFolder)resource, progressMonitor, statusMonitor);
- }
-
- if( !deleted ) break;
- }
-
- if( deleted )
- {
- folder.delete(true, true, null);
- return true;
- }
- else
- return false;
- }
-
- /**
- * Creates a file of the given <code>absolutePath</code>
- * and returns its handle as an <code>IFile</code>.
- * If the file cannot be created, a
- * <code>CoreException</code> containing an
- * <code>IStatus</code> object is thrown.
- * @param absolutePath The absolute path of the file to create.
- * The project at the beginning of the path must already exist,
- * that is, this method cannot be used to create projects.
- * @param progressMonitor The progress monitor for the operation, or null.
- * @return The {@link org.eclipse.core.resources.IFile IFile}
- * handle of the file.
- * @throws CoreException An exception containing an
- * {@link org.eclipse.core.runtime.IStatus IStatus}
- * with a severity of <code>IStatus.ERROR</code> and a
- * locale-specific description of the cause.
- */
- public static IFile createFile (
- ResourceContext resourceContext,
- IPath absolutePath,
- InputStream inputStream,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- throws CoreException
- {
- if (!absolutePath.isAbsolute())
- {
- throw new CoreException(new Status(IStatus.ERROR, "ResourceUtils",0,NLS.bind(EnvironmentMessages.MSG_ERROR_PATH_NOT_ABSOLUTE,new Object[] {absolutePath.toString()}),null));
- }
- if (absolutePath.segmentCount() < 1)
- {
- throw new CoreException(new Status(IStatus.ERROR,"ResourceUtils",0,NLS.bind(EnvironmentMessages.MSG_ERROR_PATH_EMPTY,new Object[] {absolutePath.toString()}),null));
- }
- if (absolutePath.segmentCount() < 2)
- {
- throw new CoreException(new Status(IStatus.ERROR,"ResourceUtils",0,NLS.bind(EnvironmentMessages.MSG_ERROR_PATH_NOT_FOLDER,new Object[] {absolutePath.toString()}),null));
- }
- IContainer parent = makeFolderPath(resourceContext, absolutePath.removeLastSegments(1), progressMonitor, statusHandler);
- String fileName = absolutePath.lastSegment();
-
- return makeFile(resourceContext, parent, fileName, inputStream, progressMonitor, statusHandler);
- }
-
- /**
- * Creates under the given <code>project</code>
- * a file of the given <code>relativePath</code>
- * and returns its handle as an <code>IFile</code>.
- * If the file cannot be created, a
- * <code>CoreException</code> containing an
- * <code>IStatus</code> object is thrown.
- * @param absolutePath The absolute path of the file to create.
- * The project at the beginning of the path must already exist,
- * that is, this method cannot be used to create projects.
- * @param createFolders The intermediate folder creation policy, one of
- * {@link #CREATE CREATE} or {@link #DONT_CREATE DONT_CREATE}.
- * <ul>
- * <li><code>CREATE</code> -
- * If any intermediate folders in the given <code>absolutePath</code>
- * do not exist, they will be created.
- * <li><code>DONT_CREATE</code> -
- * If any intermediate folders in the given <code>absolutePath</code>
- * do not exist, the method will throw a <code>CoreException</code>.
- * </ul>
- * @param overwriteFile The policy for existing files, one of
- * {@link #OVERWRITE OVERWRITE} or {@link #DONT_OVERWRITE DONT_OVERWRITE}.
- * <ul>
- * <li><code>OVERWRITE</code> -
- * If a resource of the same name as the given
- * <code>absolutePath</code> already exists and is a file,
- * it will be replaced.
- * If the resource already exists and it is not a file,
- * then no file will be created and
- * a <code>CoreException</code> will be thrown.
- * <li><code>DONT_OVERWRITE</code> -
- * If any resource of the same name as the given
- * <code>absolutePath</code> already exists,
- * then no file will be created and
- * a <code>CoreException</code> will be thrown.
- * </ul>
- * @param progressMonitor The progress monitor for the operation, or null.
- * @return The {@link org.eclipse.core.resources.IFile IFile}
- * handle of the file.
- * @throws CoreException An exception containing an
- * {@link org.eclipse.core.runtime.IStatus IStatus}
- * with a severity of <code>IStatus.ERROR</code> and a
- * locale-specific description of the cause.
- */
- public static IFile createFile (
- ResourceContext resourceContext,
- IProject project,
- IPath relativePath,
- InputStream inputStream,
- IProgressMonitor progressMonitor,
- IStatusHandler statusMonitor )
-
- throws CoreException
- {
- IPath absolutePath = project.getFullPath().append(relativePath);
- return createFile(resourceContext, absolutePath, inputStream, progressMonitor, statusMonitor);
- }
-
- /**
- * Creates an output stream that can be used to write to the
- * given <code>file</code>. Actual changes to the workspace
- * may occur during creation of the stream, while writing to
- * the stream, or when the stream is closed.
- * A <code>CoreException</code> containing
- * an <code>IStatus</code> will be thrown
- * at some point in the lifecycle of the stream
- * if the file resource cannot be created.
- * @param file The {@link org.eclipse.core.resources.IFile IFile}
- * handle of the file resource to create. The project implied by the
- * pathname of the file must already exist,
- * that is, this method cannot be used to create projects.
- * @param progressMonitor The progress monitor for the operation, or null.
- * @return An <code>OutputStream</code> tied to the file resource.
- * Actual checks of or changes to the workspace may occur as early during
- * stream creation, closure, or any time in between.
- * @throws CoreException An exception containing an
- * {@link org.eclipse.core.runtime.IStatus IStatus}
- * with a severity of <code>IStatus.ERROR</code> and a
- * locale-specific description of the cause.
- * Reasons include:
- * <ol>
- * <li>The project of the given file's path does not exist.
- * <li>A non-file resource of the same name of the given file
- * already exists.
- * <li>A file resource of the same name of the given file
- * already exists, and <code>overwriteFile</code> is false.
- * <li>One or more intermediate folders to the given file
- * do not exist, and <code>createFolders</code> is false.
- * </ol>
- */
-
- public static OutputStream newFileOutputStream (
- ResourceContext context,
- IPath file,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- {
- return new FileResourceOutputStream(context, file, progressMonitor, statusHandler);
- }
-
- //----------------------------------------------------------------------
- // Naughty bits...
- //----------------------------------------------------------------------
-
- //
- // Creates a path of folders.
- // Do not call with an absolutePath of less than one segment.
- //
- /**
- * Creates a path of folders.
- * Do not call with an absolutePath of less than one segment.
- * @param resourceContext the resource context for making folders.
- * @param absolutePath the path of folders that will be created.
- * @param progressMonitor the progress monitor to be used.
- * @param statusHandler the status handler.
- * @return returns the IContainer of the created folder.
- */
- public static IContainer makeFolderPath (
- ResourceContext resourceContext,
- IPath absolutePath,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- throws CoreException
- {
- if (absolutePath.segmentCount() <= 1)
- {
- return getWorkspaceRoot().getProject(absolutePath.segment(0));
- }
- else
- {
- IContainer parent = makeFolderPath(resourceContext, absolutePath.removeLastSegments(1), progressMonitor, statusHandler );
- String folderName = absolutePath.lastSegment();
-
- return makeFolder(resourceContext, parent,folderName, progressMonitor , statusHandler );
- }
- }
- //
- // Creates a folder under a container.
- // The container must already exist.
- //
- private static IFolder makeFolder (
- ResourceContext resourceContext,
- IContainer parent,
- String folderName,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- throws CoreException
- {
- IResource child = parent.findMember(folderName);
- Choice result = null;
-
- if( child == null )
- {
- if (!resourceContext.isCreateFoldersEnabled())
- {
- result = statusHandler.report(
- StatusUtils.warningStatus(
- NLS.bind(EnvironmentMessages.MSG_ERROR_FOLDER_CREATION_DISABLED,
- new Object[]{ parent.getFullPath().toString(), folderName} ) ),
- getThreeStateFileOptions() );
-
- if( result == null || result.getShortcut() == 'C' )
- {
- return null;
- }
- else if( result.getShortcut() == 'A' )
- {
- resourceContext.setCreateFoldersEnabled(true);
- }
- }
-
- IFolder folder = parent.getFolder(new Path(folderName));
- folder.create(true,true,null);
- return folder;
- }
- else if( child.getType() == IResource.FOLDER )
- {
- return (IFolder)child;
- }
- else
- {
- throw new CoreException(
- new Status( IStatus.ERROR,
- "ResourceUtils",
- 0,
- NLS.bind(EnvironmentMessages.MSG_ERROR_RESOURCE_NOT_FOLDER,
- new Object[]{ parent.getFullPath().append(folderName).toString() }),
- null ) );
- }
- }
-
- //
- // Creates a file under a container.
- // The container must already exist.
- //
- private static IFile makeFile (
- ResourceContext resourceContext,
- IContainer parent,
- String fileName,
- InputStream inputStream,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- throws CoreException
- {
- IResource child = parent.findMember(fileName);
- Choice result = null;
-
- if( child != null )
- {
- if( child.getType() == IResource.FILE )
- {
- if( !resourceContext.isOverwriteFilesEnabled() )
- {
- result = statusHandler.report(
- StatusUtils.warningStatus( NLS.bind(EnvironmentMessages.MSG_ERROR_FILE_OVERWRITE_DISABLED,
- new Object[] {parent.getFullPath().toString(),fileName}) ),
- getThreeStateFileOptions() );
-
- if( result == null || result.getShortcut() == 'C' )
- {
- return null;
- }
- else if( result.getShortcut() == 'A' )
- {
- resourceContext.setOverwriteFilesEnabled(true);
- }
- }
-
- //We have permission to overwrite so check if file is read-only
- if( child.getResourceAttributes().isReadOnly() )
- {
- if( !resourceContext.isCheckoutFilesEnabled() )
- {
- result = statusHandler.report(
- StatusUtils.errorStatus( NLS.bind(EnvironmentMessages.MSG_ERROR_FILE_CHECKOUT_DISABLED,
- new Object[]{ parent.getFullPath().toString(),fileName} ) ),
- getThreeStateFileOptions() );
-
- if( result == null || result.getShortcut() == 'C' )
- {
- return null;
- }
- else if( result.getShortcut() == 'A' )
- {
- resourceContext.setCheckoutFilesEnabled(true);
- }
- }
-
- IFile[] files = new IFile[1];
- files[0] = (IFile)child;
-
- IStatus status = getWorkspace().validateEdit(files,null);
-
- try
- {
- statusHandler.report( status );
- }
- catch( StatusException exc )
- {
- return null;
- }
- }
-
- //Change the contents of the existing file.
- IFile file = parent.getFile( new Path(fileName) );
- file.setContents( inputStream, true, true, null );
-
- return file;
-
- }
- else
- {
- throw new CoreException(
- new Status( IStatus.ERROR,
- "ResourceUtils",
- 0,
- NLS.bind(EnvironmentMessages.MSG_ERROR_RESOURCE_NOT_FILE,
- new Object[] {parent.getFullPath().append(fileName)}),
- null ) );
- }
- }
- else
- {
- //Create a new file.
- IFile file = parent.getFile( new Path(fileName) );
- file.create( inputStream, true, null);
-
- return file;
- }
- }
-
-
- /**
- * Creates a file of the given <code>absolutePath</code>
- * and returns its handle as an <code>IFile</code>.
- * If the file cannot be created, a
- * <code>CoreException</code> containing an
- * <code>IStatus</code> object is thrown.
- * @param absolutePath The absolute path of the file to create.
- * The project at the beginning of the path must already exist,
- * that is, this method cannot be used to create projects.
- * @param progressMonitor The progress monitor for the operation, or null.
- * @return The {@link org.eclipse.core.resources.IFile IFile}
- * handle of the file.
- * @throws CoreException An exception containing an
- * {@link org.eclipse.core.runtime.IStatus IStatus}
- * with a severity of <code>IStatus.ERROR</code> and a
- * locale-specific description of the cause.
- */
- public static IFile createFileAtLocation (
- ResourceContext resourceContext,
- IPath absolutePath,
- InputStream inputStream,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- throws CoreException
- {
- if (!absolutePath.isAbsolute())
- {
- throw new CoreException(new Status(IStatus.ERROR, "ResourceUtils",0,NLS.bind(EnvironmentMessages.MSG_ERROR_PATH_NOT_ABSOLUTE,new Object[] {absolutePath.toString()}),null));
- }
- if (absolutePath.segmentCount() < 1)
- {
- throw new CoreException(new Status(IStatus.ERROR,"ResourceUtils",0,NLS.bind(EnvironmentMessages.MSG_ERROR_PATH_EMPTY,new Object[] {absolutePath.toString()}),null));
- }
- if (absolutePath.segmentCount() < 2)
- {
- throw new CoreException(new Status(IStatus.ERROR,"ResourceUtils",0,NLS.bind(EnvironmentMessages.MSG_ERROR_PATH_NOT_FOLDER,new Object[] {absolutePath.toString()}),null));
- }
- IContainer parent = makeFolderPathAtLocation(resourceContext, absolutePath.removeLastSegments(1), progressMonitor, statusHandler);
- String fileName = absolutePath.lastSegment();
-
- return makeFile(resourceContext, parent, fileName, inputStream, progressMonitor, statusHandler);
- }
-
-/**
- * Creates a path of folders using absolute filenames.
- * Do not call with an absolutePath of less than one segment.
- * @param resourceContext the resource context for making folders.
- * @param resource the resource that will be created.
- * @param progressMonitor the progress monitor to be used.
- * @param statusHandler the status handler.
- * @return returns the IContainer of the created folder.
- */
- public static IContainer makeFolderPathAtLocation (
- ResourceContext resourceContext,
- IContainer resource,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- throws CoreException
- {
- if (resource.exists())
- {
- if (resource instanceof IContainer)
- {
- return (IContainer) resource;
- }
- else
- {
- throw new CoreException(
- new Status( IStatus.ERROR,
- "ResourceUtils",
- 0,
- NLS.bind(EnvironmentMessages.MSG_ERROR_RESOURCE_NOT_FOLDER,
- new Object[]{ resource.getFullPath().toString() }),
- null ) );
- }
- }
- else
- {
- IContainer parent = makeFolderPathAtLocation(resourceContext, resource.getParent(), progressMonitor, statusHandler );
- String folderName = resource.getName();
-
- return makeFolder(resourceContext, parent, folderName, progressMonitor , statusHandler );
- }
- }
-
- /**
- * Creates a path of folders.
- * Do not call with an absolutePath of less than one segment.
- * @param resourceContext the resource context for making folders.
- * @param absolutePath the path of folders that will be created.
- * @param progressMonitor the progress monitor to be used.
- * @param statusHandler the status handler.
- * @return returns the IContainer of the created folder.
- */
- public static IContainer makeFolderPathAtLocation (
- ResourceContext resourceContext,
- IPath absolutePath,
- IProgressMonitor progressMonitor,
- IStatusHandler statusHandler )
-
- throws CoreException
- {
- return makeFolderPathAtLocation(resourceContext,
- getWorkspaceRoot().getContainerForLocation(absolutePath),
- progressMonitor, statusHandler);
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/StringUtils.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/StringUtils.java
deleted file mode 100644
index 601e15a2b..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/StringUtils.java
+++ /dev/null
@@ -1,296 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.common;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.PrintWriter;
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.util.Enumeration;
-import java.util.Vector;
-
-/**
- * This class contains some useful string utilities that are not provided by
- * either String or StringBuffer.
- *
- * @author Peter Moogk
- * @date July 13, 2000
-**/
-public final class StringUtils
-{
- /**
- * The platform-specific line separator.
- */
- public static final String NEWLINE = System.getProperty("line.separator");
-
- private StringUtils(){};
-
- /**
- * This method splits a single line of text into multiple lines
- * based on a maximum line length. The method will try to fit as
- * many words as possible onto a line without exceeding the maximum
- * line length. Note: the only case where a line might exceed the
- * maximum is if a single word is longer than the maximum.
- * @param text a single line a text that is to be split.
- * @param max_length the maximum length of each split line.
- * @return a string array of the split lines.
- **/
- public static String[] splitter( String text, int max_length )
- {
- Vector return_text = new Vector(20);
- String[] return_str;
- int index = 0;
-
- while( index < text.length() )
- {
- String str = text.substring( index, Math.min( max_length + index,
- text.length() ) );
- int space_index = str.lastIndexOf( " " );
-
- if( index + str.length() < text.length() &&
- text.charAt( index + str.length() - 1 ) != ' ' &&
- text.charAt( index + str.length() ) != ' ' &&
- space_index != -1 )
- {
- return_text.addElement( str.substring( 0, space_index ) );
- index += space_index + 1;
- }
- else
- {
- return_text.addElement( str.trim() );
- index += str.length();
- }
- }
-
- return_str = new String[return_text.size()];
-
- for( index = 0; index < return_text.size(); index++ )
- {
- return_str[index] = (String)(return_text.elementAt(index));
- }
-
- return return_str;
- }
-
- /**
- * This method returns a string with a repeated number of characters.
- * @param the_char the character to be repeated.
- * @param count the number of time this character should be repeated.
- * @return the resulting string of repeated characters.
- **/
- static public String repeat( char the_char, int count )
- {
- StringBuffer buf = new StringBuffer( count );
-
- for( int index = 0; index < count; index++ )
- {
- buf.append( the_char );
- }
-
- return buf.toString();
- }
-
- /**
- * This method flattens an array of arguments to a string.
- * The method respects embedded whitespace and quotes.
- * <ul>
- * <li>Any argument with embedded whitespace will be flattened out
- * with enclosing quotes. For example, the single argument
- * <u>Hello World</u>
- * will be returned as
- * <u>"Hello World"</u>.
- * <li>Any argument with quotes will be flattened out with the
- * quotes escaped. For example, the single argument
- * <u>"Happy days"</u>
- * will be returned as
- * <u>\"Happy days\"</u>.
- * </ul>
- * @param arguments The array of strings to flatten.
- * @return the flattened string.
- */
- static public String flattenArguments ( String[] arguments )
- {
- StringBuffer buf = new StringBuffer();
-
- for (int i=0; i<arguments.length; i++)
- {
- //
- // Append a separator (except the first time).
- //
- if (i > 0) buf.append(' ');
-
- //
- // Look for whitespace.
- //
- boolean whitespace = false;
- char[] chars = arguments[i].toCharArray();
- for (int j=0; !whitespace && j<chars.length; j++)
- {
- if (Character.isWhitespace(chars[j]))
- {
- whitespace = true;
- }
- }
-
- //
- // Append the argument, quoted as necessary.
- //
- if (whitespace) buf.append('"');
- for (int j=0; j<chars.length; j++)
- {
- if (chars[j] == '"') buf.append('\\');
- buf.append(chars[j]);
- }
- if (whitespace) buf.append('"');
- }
-
- return buf.toString();
- }
-
- /**
- * This method parses whitespace-delimitted filenames from
- * the given <code>input</code> stream. <b>Limitation:</b>
- * Quoted filenames or filenames with embedded whitespace
- * are not currently supported.
- * @param input The input stream.
- * @return An enumeration of filenames from the stream.
- */
- static public Enumeration parseFilenamesFromStream ( InputStream input )
- throws IOException
- {
- Vector filenames = new Vector(64,64);
- StringBuffer buffer = null;
- byte state = STATE_WS;
- int ic = input.read();
- while (ic >= 0)
- {
- char c = (char)ic;
- switch (state)
- {
- case STATE_WS:
- if (!Character.isWhitespace(c))
- {
- buffer = new StringBuffer();
- buffer.append(c);
- state = STATE_NWS;
- }
- break;
- case STATE_NWS:
- if (!Character.isWhitespace(c))
- {
- buffer.append(c);
- }
- else
- {
- String filename = buffer.toString();
- filenames.add(filename);
- buffer = null;
- state = STATE_WS;
- }
- break;
- default:
- break;
- }
- ic = input.read();
- }
- return filenames.elements();
- }
-
- private static final byte STATE_WS = 0;
- private static final byte STATE_NWS = 1;
-
-
- /**
- * Returns true is the type passed in is a primtive java type
- * @param class name String
- * @return true is primitive type
- */
- public static boolean isPrimitiveType(String typeName)
- {
-
- if (typeName.equalsIgnoreCase("boolean") ||
- typeName.equalsIgnoreCase("byte") ||
- typeName.equalsIgnoreCase("double") ||
- typeName.equalsIgnoreCase("float") ||
- typeName.equalsIgnoreCase("int") ||
- typeName.equalsIgnoreCase("long") ||
- typeName.equalsIgnoreCase("short") ||
- typeName.equalsIgnoreCase("char"))
- return true;
- return false;
-
- }
-
- /**
- * The method replace the characters that are allowed in URIs
- * and not allowed in Java class names to an underscore ('_')
- * @param URI String
- * @return valid Java class name String
- */
- public static String URI2ClassName( String uri ) {
- String className = uri;
- for ( int i = 0; i < URI_SYMBOLS.length; i++ ) {
- className = className.replace ( URI_SYMBOLS[i], UNDERSCORE );
- }
- return className;
- }
-
- /**
- * Creates and array of strings containing the exception traceback information of
- * a Throwable. This is the same traceback data that is displayed by exc.printStackTrace().
- * @param exc the exception
- * @return a string array of the traceback information.
- */
- public static String[] getStackTrace( Throwable exc )
- {
- Vector lines = new Vector();
- StringWriter stringWriter = new StringWriter();
- PrintWriter printWriter = new PrintWriter( stringWriter );
-
- exc.printStackTrace( printWriter );
-
- try
- {
- printWriter.close();
- stringWriter.close();
- }
- catch( Exception nestedExc )
- {
- return new String[0];
- }
-
- StringReader stringReader = new StringReader( stringWriter.toString() );
- BufferedReader reader = new BufferedReader( stringReader );
- String line = null;
-
- try
- {
- line = reader.readLine();
-
- while( line != null )
- {
- lines.add( line.trim() );
- line = reader.readLine();
- }
- }
- catch( Exception nestedExc )
- {
- return new String[0];
- }
-
- return (String[])lines.toArray( new String[0] );
- }
-
- private static final char[] URI_SYMBOLS = {'-', '~', '#', '/', '.'};
- private static final char UNDERSCORE = '_';
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/WaitForAutoBuildCommand.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/WaitForAutoBuildCommand.java
deleted file mode 100644
index 0d8a1843c..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/common/WaitForAutoBuildCommand.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.common;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-
-public class WaitForAutoBuildCommand extends AbstractDataModelOperation
-{
- public IStatus execute( IProgressMonitor montitor, IAdaptable adaptable )
- {
- IStatus status = Status.OK_STATUS;
-
- try
- {
- Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
- }
- catch( InterruptedException exc )
- {
- // UISynchronizer.syncExec seems to interrupt the UI tread when the autobuilder is done. Not sure, why.
- // I'm assuming here that the autobuilder has actually completed its stuff.
- }
-
- return status;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/ActionDialogPreferenceTypeRegistry.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/ActionDialogPreferenceTypeRegistry.java
deleted file mode 100644
index ff6a2c522..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/ActionDialogPreferenceTypeRegistry.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.context;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.command.internal.env.preferences.ActionDialogPreferenceType;
-
-
-public class ActionDialogPreferenceTypeRegistry
-{
- private Vector preferences_;
-
- private static ActionDialogPreferenceTypeRegistry registry_;
-
- private ActionDialogPreferenceTypeRegistry()
- {
- preferences_ = new Vector();
-
- loadDialogsPreferences();
- }
-
- static public ActionDialogPreferenceTypeRegistry getInstance()
- {
- if( registry_ == null )
- {
- registry_ = new ActionDialogPreferenceTypeRegistry();
- }
-
- return registry_;
- }
-
- //
- private void loadDialogsPreferences ()
- {
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] config = reg.getConfigurationElementsFor( "org.eclipse.wst.command.env",
- "actionDialogPreferenceType");
-
- for(int idx=0; idx<config.length; idx++)
- {
- IConfigurationElement elem = config[idx];
- ActionDialogPreferenceType dialog = new ActionDialogPreferenceType();
-
- dialog.setId( elem.getAttribute("id") );
- dialog.setName( elem.getAttribute("name") );
- dialog.setInfopop( elem.getAttribute("infopop") );
- dialog.setTooltip( elem.getAttribute("tooltip") );
- dialog.setCategory( elem.getAttribute("category") );
-
- String showCheckbox = elem.getAttribute( "showcheckbox" );
- String alwaysHide = elem.getAttribute( "alwayshide" );
-
- dialog.setShowCheckbox( showCheckbox == null ? true : showCheckbox.equals( "true" ) );
- dialog.setAlwaysHide( alwaysHide == null ? false : alwaysHide.equals( "true" ) );
-
- preferences_.add(dialog);
- }
- }
-
- /**
- * Returns all registered <code>WebServiceType</code> objects.
- * @return All registered <code>WebServiceType</code> objects.
- */
- public ActionDialogPreferenceType[] getActionDialogsPrefrences ()
- {
- return (ActionDialogPreferenceType[])preferences_.toArray( new ActionDialogPreferenceType[0]);
- }
-
- public ActionDialogPreferenceType getActionDialogsPrefrence( String id )
- {
- int length = preferences_.size();
- ActionDialogPreferenceType result = null;
-
- for( int index = 0; index < length; index++ )
- {
- ActionDialogPreferenceType preference = (ActionDialogPreferenceType)preferences_.elementAt( index );
-
- if( preference.getId().equals( id ) )
- {
- result = preference;
- break;
- }
- }
-
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentActionDialogsContext.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentActionDialogsContext.java
deleted file mode 100644
index 2293f8cd4..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentActionDialogsContext.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.context;
-
-import org.eclipse.wst.command.internal.env.plugin.EnvPlugin;
-import org.eclipse.wst.command.internal.env.preferences.ActionDialogPreferenceType;
-
-
-public class PersistentActionDialogsContext extends PersistentContext
-{
- private ActionDialogPreferenceTypeRegistry registry;
-
- private static PersistentActionDialogsContext instance_ = null;
-
- private PersistentActionDialogsContext()
- {
- super(EnvPlugin.getInstance());
- }
-
- static public PersistentActionDialogsContext getInstance()
- {
- if( instance_ == null )
- {
- instance_ = new PersistentActionDialogsContext();
- instance_.load();
- }
-
- return instance_;
- }
-
- public void load()
- {
- registry = ActionDialogPreferenceTypeRegistry.getInstance();
- ActionDialogPreferenceType[] dialogs = registry.getActionDialogsPrefrences();
-
- for (int i = 0; i < dialogs.length; i++)
- {
- setDefault(dialogs[i].getId(), false);
- }
- }
-
- public ActionDialogPreferenceType[] getDialogs()
- {
- return registry.getActionDialogsPrefrences();
- }
-
- public void setActionDialogEnabled(String id, boolean value)
- {
- setValue(id, value);
- }
-
- public boolean isActionDialogEnabled(String id)
- {
- if (id == null) return true;
- return getValueAsBoolean(id);
- }
-
- public boolean showDialog( String id )
- {
- ActionDialogPreferenceType dialog = registry.getActionDialogsPrefrence( id );
-
- // We are trying to determine if the popup wizard should be displayed
- // or not with this logic. If the dialog variable is null then
- // there was no popup extension point point defined for this wizard. In
- // this case we will assume that the popup should always be displayed.
- // In the case where the extension says that the show check box control
- // should be displayed we need to ensure that wizard should not always
- // be hidden, as well we need to check the current setting of the check
- // box via the isActionDialogEnabled call. If the show check box state
- // defined in the extension is false, but always hide is also false then
- // we will display the pop wizard.
- return dialog == null ||
- ( ( dialog.getShowCheckbox() &&
- !dialog.getAlwaysHide() &&
- !isActionDialogEnabled( id ) ) ||
- ( !dialog.getShowCheckbox() &&
- !dialog.getAlwaysHide() ) );
- }
-
- public boolean showCheckbox( String id )
- {
- ActionDialogPreferenceType dialog = registry.getActionDialogsPrefrence( id );
-
- return dialog == null ? false : dialog.getShowCheckbox();
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentContext.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentContext.java
deleted file mode 100644
index 5852c9083..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentContext.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.context;
-
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.Preferences;
-import org.eclipse.wst.command.internal.env.core.context.Context;
-
-/**
- * This class is used as the base class for types that what to persist preference
- * data in the plugin preferences area.
- *
- *
- */
-public abstract class PersistentContext implements Context
-{
- protected Preferences preferences_;
- protected Plugin plugin_;
-
- public PersistentContext ( Plugin plugin)
- {
- plugin_ = plugin;
- preferences_ = plugin.getPluginPreferences();
- }
-
- /**
- * Sets the default for a boolean preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setDefault (String name, boolean value) {
- preferences_.setDefault(name, value);
- }
-
- /**
- * Sets the default for a string preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setDefault (String name, String value) {
- preferences_.setDefault(name,value);
- }
-
- /**
- * Sets the default for a int preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setDefault (String name, int value) {
- preferences_.setDefault(name,value);
- }
-
- /**
- * Sets the value for a string preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setValue (String name, String value) {
- preferences_.setValue(name,value);
- plugin_.savePluginPreferences();
- }
-
- /**
- * Sets the value for a boolean preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setValue (String name, boolean value) {
- preferences_.setValue(name, value);
- plugin_.savePluginPreferences();
- }
-
- /**
- * Sets the value for a int preference.
- * @param name the preference name.
- * @param value the preference value.
- */
- public void setValue (String name, int value) {
- preferences_.setValue(name, value);
- plugin_.savePluginPreferences();
- }
-
- /**
- * Gets the value for a string preference.
- * @param name the preference name.
- * @return the preference value.
- */
- public String getValueAsString ( String name) {
- return preferences_.getString(name);
- }
-
- /**
- * Gets the value for a boolean preference.
- * @param name the preference name.
- * @return the preference value.
- */
- public boolean getValueAsBoolean ( String name) {
- return preferences_.getBoolean(name);
- }
-
- /**
- * Gets the value for a int preference.
- * @param name the preference name.
- * @return the preference value.
- */
- public int getValueAsInt( String name) {
- return preferences_.getInt(name);
- }
-
- /**
- * Gets the default value for a string preference.
- * @param name the preference name.
- * @return the default preference value.
- */
- public String getDefaultString(String name)
- {
- return preferences_.getDefaultString(name);
- }
-
- /**
- * Gets the default value for a boolean preference.
- * @param name the preference name.
- * @return the default preference value.
- */
- public boolean getDefaultBoolean(String name)
- {
- return preferences_.getDefaultBoolean(name);
- }
-
- /**
- * Gets the default value for a int preference.
- * @param name the preference name.
- * @return the default preference value.
- */
- public int getDefaultInt(String name)
- {
- return preferences_.getDefaultInt(name);
- }
-
- /**
- * Sets the default value for a string preference if a default value has
- * not already been set.
- * @param name the preference name.
- * @param value the default preference value
- */
- public void setDefaultStringIfNoDefault( String key, String value )
- {
- // If the key already has a default value we don't want to override it.
- if( preferences_.getDefaultString( key ).equals("") )
- {
- preferences_.setDefault( key, value );
- }
- }
-
- /**
- * Sets the default value for a boolean preference if a default value has
- * not already been set.
- * @param name the preference name.
- * @param value the default preference value
- */
- public void setDefaultBooleanIfNoDefault( String key, boolean value )
- {
- // If the key already has a default value we don't want to override it.
- if( preferences_.getDefaultString( key ).equals("") )
- {
- preferences_.setDefault( key, value );
- }
- }
-
- /**
- * Sets the default value for a int preference if a default value has
- * not already been set.
- * @param name the preference name.
- * @param value the default preference value
- */
- public void setDefaultIntIfNoDefault( String key, int value )
- {
- // If the key already has a default value we don't want to override it.
- if( preferences_.getDefaultString( key ).equals("") )
- {
- preferences_.setDefault( key, value );
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentResourceContext.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentResourceContext.java
deleted file mode 100644
index a0675c409..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/context/PersistentResourceContext.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.context;
-
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.core.context.ResourceDefaults;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.command.internal.env.plugin.EnvPlugin;
-
-
-public class PersistentResourceContext extends PersistentContext implements ResourceContext
-{
- private static PersistentResourceContext context_ = null;
-
- public static PersistentResourceContext getInstance()
- {
- if( context_ == null )
- {
- context_ = new PersistentResourceContext();
- context_.load();
- }
-
- return context_;
- }
-
- private PersistentResourceContext()
- {
- super(EnvPlugin.getInstance());
- }
-
- public void load()
- {
- setDefault(PREFERENCE_OVERWRITE, ResourceDefaults
- .getOverwriteFilesDefault());
- setDefault(PREFERENCE_CREATE_FOLDERS, ResourceDefaults
- .getCreateFoldersDefault());
- setDefault(PREFERENCE_CHECKOUT, ResourceDefaults.getCheckoutFilesDefault());
- }
-
- public void setOverwriteFilesEnabled(boolean enable)
- {
- setValue(PREFERENCE_OVERWRITE, enable);
- }
-
- public boolean isOverwriteFilesEnabled()
- {
- return getValueAsBoolean(PREFERENCE_OVERWRITE);
- }
-
- public void setCreateFoldersEnabled(boolean enable)
- {
- setValue(PREFERENCE_CREATE_FOLDERS, enable);
- }
-
- public boolean isCreateFoldersEnabled()
- {
- return getValueAsBoolean(PREFERENCE_CREATE_FOLDERS);
- }
-
- public void setCheckoutFilesEnabled(boolean enable)
- {
- setValue(PREFERENCE_CHECKOUT, enable);
- }
-
- public boolean isCheckoutFilesEnabled()
- {
- return getValueAsBoolean(PREFERENCE_CHECKOUT);
- }
-
- public ResourceContext copy()
- {
- ResourceContext cc = new TransientResourceContext();
- cc.setOverwriteFilesEnabled(isOverwriteFilesEnabled());
- cc.setCreateFoldersEnabled(isCreateFoldersEnabled());
- cc.setCheckoutFilesEnabled(isCheckoutFilesEnabled());
- return cc;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/BaseEclipseEnvironment.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/BaseEclipseEnvironment.java
deleted file mode 100644
index 4f59f6ca6..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/BaseEclipseEnvironment.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.eclipse;
-
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-/**
- * This interface adds resources to the base IEnvironment.
- */
-public interface BaseEclipseEnvironment extends IEnvironment
-{
- /**
- *
- * @return returns a ResourceContext object for this environment.
- */
- public ResourceContext getResourceContext();
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EclipseEnvironment.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EclipseEnvironment.java
deleted file mode 100644
index 20766b93c..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EclipseEnvironment.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.eclipse;
-
-import org.eclipse.wst.command.internal.env.core.CommandManager;
-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.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.environment.uri.SimpleURIFactory;
-import org.eclipse.wst.common.environment.uri.IURIFactory;
-import org.eclipse.wst.common.environment.uri.IURIScheme;
-
-
-/**
- * This class implements an IEnvironment class for the Eclipse IEnvironment.
- * This IEnvironment currently supports the "platform" protocol and the "file"
- * protocol.
- *
- */
-public class EclipseEnvironment implements BaseEclipseEnvironment
-{
- private CommandManager commandManager_ = null;
- private SimpleURIFactory uriFactory_ = null;
- private ResourceContext resourceContext_ = null;
- private IStatusHandler statusHandler_ = null;
- private ILog logger_ = null;
-
- public EclipseEnvironment( CommandManager commandManager,
- ResourceContext resourceContext,
- IStatusHandler statusHandler )
- {
- IURIScheme eclipseScheme = EnvironmentService.getEclipseScheme();
- IURIScheme fileScheme = EnvironmentService.getFileScheme();
-
- commandManager_ = commandManager;
- resourceContext_ = resourceContext;
- uriFactory_ = new SimpleURIFactory();
- statusHandler_ = statusHandler;
-
- uriFactory_.registerScheme( "platform", eclipseScheme );
- uriFactory_.registerScheme( "file", fileScheme );
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.common.IEnvironment#getCommandManager()
- */
- public CommandManager getCommandManager()
- {
- return commandManager_;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.common.IEnvironment#getLog()
- */
- public ILog getLog()
- {
- if( logger_ == null )
- {
- logger_ = EnvironmentService.getEclipseLog();
- };
-
- return logger_;
- }
-
- /**
- *
- * @param logger the new logger for this environment.
- */
- public void setLog( ILog logger )
- {
- logger_ = logger;
- }
-
- /**
- * @see org.eclipse.wst.command.internal.env.core.common.IEnvironment#getStatusHandler()
- */
- public IStatusHandler getStatusHandler()
- {
- return statusHandler_;
- }
-
- /** (non-Javadoc)
- * @see org.eclipse.wst.command.internal.env.core.common.IEnvironment#getURIFactory()
- */
- public IURIFactory getURIFactory()
- {
- return uriFactory_;
- }
-
- /**
- * @return returns a ResourceContext for this IEnvironment.
- */
- public ResourceContext getResourceContext()
- {
- return resourceContext_;
- }
-
- public void setCommandManager( CommandManager manager )
- {
- commandManager_ = manager;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EnvironmentManager.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EnvironmentManager.java
deleted file mode 100644
index ed691d68a..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/eclipse/EnvironmentManager.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/***************************************************************************************************
- * Copyright (c) 2005 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
- **************************************************************************************************/
-package org.eclipse.wst.command.internal.env.eclipse;
-
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.environment.NullStatusHandler;
-
-public class EnvironmentManager
-{
- /**
- * Returns a new instance of an IEnvironment for the Eclipse non-GUI.
- */
- public static BaseEclipseEnvironment getNewEnvironment()
- {
- PersistentResourceContext context = PersistentResourceContext.getInstance();
- IStatusHandler handler = new NullStatusHandler();
- EclipseEnvironment environment = new EclipseEnvironment( null, context, handler );
-
- return environment;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/plugin/EnvPlugin.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/plugin/EnvPlugin.java
deleted file mode 100644
index 6eb1c424b..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/plugin/EnvPlugin.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- ******************************************************************************/
-
-package org.eclipse.wst.command.internal.env.plugin;
-
-import org.eclipse.core.runtime.Plugin;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class EnvPlugin extends Plugin {
-
- //The shared instance.
- private static EnvPlugin instance;
-
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.wst.command.env";
-
- /**
- * The constructor.
- */
- public EnvPlugin() {
- super();
- instance = this;
- }
-
- /**
- * Returns the shared instance.
- */
- public static EnvPlugin getInstance() {
- return instance;
- }
-}
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/preferences/ActionDialogPreferenceType.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/preferences/ActionDialogPreferenceType.java
deleted file mode 100644
index d1a551e53..000000000
--- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/preferences/ActionDialogPreferenceType.java
+++ /dev/null
@@ -1,205 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.command.internal.env.preferences;
-
-/**
- * This class is used to define preference ids. It corresponds to information
- * specified by a actionDialogPreferenceType extension point.
- * Each actionDialogPreferenceType entry will result in an entry in the
- * action dialogs preference page if the showcheckbox field is true.
- *
- * Here is an example of this extension point.
- *
- * <pre>
- * &lt;extension
- * point="org.eclipse.wst.command.env.actionDialogPreferenceType"&gt;
- * &lt;actionDialogPreferenceType
- * showcheckbox="true"
- * name="%CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG"
- * category="org.eclipse.jst.wss.popup.category"
- * tooltip="%TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY"
- * infopop="org.eclipse.jst.ws.consumption.ui.PPAD0004"
- * alwayshide="false"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard"&gt;
- * &lt;/actionDialogPreferenceType&gt;
- * </pre>
- *
- * This actionDialogPreferenceType extension point is associated with an ObjectContribution
- * extension point. For example:
- *
- * <objectContribution
- * objectClass="org.eclipse.core.resources.IFile"
- * nameFilter="*.wsdl"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard">
- * <!-- WSDL To Java Bean Proxy -->
- * <action
- * label="%ACTION_GENERATE_JAVA_PROXY"
- * class="org.eclipse.wst.command.env.ui.widgets.popup.DynamicPopupWizard"
- * menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- * id="org.eclipse.jst.ws.consumption.ui.wizard.client.clientwizard">
- * </action>
- * </objectContribution>
- *
- * The ObjectContribution entry is linked with the actionDialogPreferenceType entry
- * via the id attribute of the ObjectContirbution and the id attribute of actionDialogPreferenceType.
- * Note: the id in the action entry is always associated with the dynamic wizard that
- * should be popuped up. In the example above the ObjectionContribution id and the
- * action ids are the same, but this need not be the case.
- */
-public class ActionDialogPreferenceType
-{
- private String id_;
- private String name_;
- private String infopop_;
- private String tooltip_;
- private boolean showCheckbox_;
- private boolean alwaysHide_;
- private String category_;
-
- /**
- * Sets the id for this popup action. This id link the actionDialogPreference
- * with an ObjectContribution.
- * @param id the id.
- */
- public void setId(String id)
- {
- id_ = id;
- }
-
- /**
- * Gets the id for this popup action.
- * @return the id.
- */
- public String getId()
- {
- return id_;
- }
-
- /**
- * Sets the name for this popup action. This name is displayed on the
- * dialog preferences page and must be translated.
- * @param name the name of the popup check box.
- */
- public void setName(String name)
- {
- name_ = name;
- }
-
- /**
- * Gets the display value for this popup check box.
- * Note: this value may be null if the getShowCheckBox method returns false.
- * @return the name.
- */
- public String getName()
- {
- return name_;
- }
-
- /**
- * Sets the info pop value for this popup check box.
- * @param infopop
- */
- public void setInfopop(String infopop)
- {
- infopop_ = infopop;
- }
-
- /**
- * Gets the info pop value for this popup check box.
- * Note: this value may be null if the getShowCheckBox method returns false.
- *
- * @return the infopop value.
- */
- public String getInfopop()
- {
- return infopop_;
- }
-
- /**
- * Sets the tooltip value for this popup check box.
- * @param tooltip
- */
- public void setTooltip(String tooltip)
- {
- tooltip_ = tooltip;
- }
-
- /**
- * Gets the tooltip value for this popup check box.
- * Note: this value may be null if the getShowCheckBox method returns false.
- *
- * @return the tooltip value.
- */
- public String getTooltip()
- {
- return tooltip_;
- }
-
- /**
- * Sets the show check box value for this popup. If the value is true then
- * this popup will appear on an action dialogs preference page. Also if this
- * value is true and the always hide value is false then a check box will be displayed
- * on the first page of this popup which asks the user if they want the popup
- * to be displayed the next time are to just execute the popup action.
- * @param value the show check box value.
- */
- public void setShowCheckbox( boolean value )
- {
- showCheckbox_ = value;
- }
-
- /**
- * Gets the show check box value.
- * @return the show check box value.
- */
- public boolean getShowCheckbox()
- {
- return showCheckbox_;
- }
-
- /**
- * Sets the always hide value. This value specifies that the popup should always
- * be executed without bringing up the popup wizard.
- * @param value the always hide value.
- */
- public void setAlwaysHide( boolean value )
- {
- alwaysHide_ = value;
- }
-
- /**
- *
- * @return returns the always hide value.
- */
- public boolean getAlwaysHide()
- {
- return alwaysHide_;
- }
-
- /**
- * Sets the category id for popup action. All popup actions with the same
- * category id will be grouped together on the same popup action preference page.
- * @param value the category.
- */
- public void setCategory( String value )
- {
- category_ = value;
- }
-
- /**
- *
- * @return the category id.
- */
- public String getCategory()
- {
- return category_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/.classpath b/bundles/org.eclipse.wst.ws.explorer/.classpath
deleted file mode 100644
index 8175d3941..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/.classpath
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="wsexplorer-src"/>
- <classpathentry kind="src" path="wsexplorer-properties"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.ws.explorer/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/.cvsignore
deleted file mode 100644
index a8fd9944d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/.cvsignore
+++ /dev/null
@@ -1,9 +0,0 @@
-bin
-build
-webapps
-temp.folder
-build.xml
-*.jar
-*.war
-explorersrc.zip
-javaCompiler.*.args
diff --git a/bundles/org.eclipse.wst.ws.explorer/.project b/bundles/org.eclipse.wst.ws.explorer/.project
deleted file mode 100644
index 9621998fa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws.explorer</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 707faaa73..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,67 +0,0 @@
-#Mon Jan 30 10:38:01 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.builder.cleanOutputFolder=clean
-org.eclipse.jdt.core.builder.duplicateResourceTask=warning
-org.eclipse.jdt.core.builder.invalidClasspath=abort
-org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
-org.eclipse.jdt.core.circularClasspath=error
-org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
-org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
-org.eclipse.jdt.core.incompatibleJDKLevel=ignore
-org.eclipse.jdt.core.incompleteClasspath=error
diff --git a/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 1300f7816..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Fri Jun 03 00:32:02 EDT 2005
-eclipse.preferences.version=1
-internal.default.compliance=default
diff --git a/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 5c1e93a91..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:04 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.ws.explorer/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.ws.explorer/META-INF/MANIFEST.MF
deleted file mode 100644
index 21a81c209..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,37 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.ws.explorer; singleton:=true
-Bundle-Version: 1.0.103.qualifier
-Bundle-ClassPath: explorer.jar,
- wsexplorer-properties.jar
-Bundle-Activator: org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.ws.internal.explorer;x-internal:=true,
- org.eclipse.wst.ws.internal.explorer.favorites;x-internal:=true,
- org.eclipse.wst.ws.internal.explorer.plugin;x-internal:=true,
- org.eclipse.wst.ws.internal.explorer.popup;x-internal:=true
-Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.help.appserver;bundle-version="[3.1.100,3.2.0)",
- org.eclipse.ui;bundle-version="[3.2.0,3.4.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.emf.ecore;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.xsd;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.apache.wsil4j;bundle-version="[1.0.0,1.1.0)",
- org.uddi4j;bundle-version="[2.0.4,2.1.0)",
- org.apache.axis;bundle-version="[1.3.0,1.4.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.frameworks.ui;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.common.uriresolver;bundle-version="[1.1.0,1.2.0)",
- com.ibm.icu;bundle-version="[3.4.4,3.5.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.ws.explorer/about.html b/bundles/org.eclipse.wst.ws.explorer/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.ws.explorer/build-war-pde.xml b/bundles/org.eclipse.wst.ws.explorer/build-war-pde.xml
deleted file mode 100644
index 3e0847752..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/build-war-pde.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="org.eclipse.wst.ws.explorer" default="build.wars" basedir=".">
-
- <!--
- This script cleans and builds wsexplorer.war within the PDE.
- Use "build.xml" to build explorer.jar and wsexplorer.jar.
-
- Initial configuration:
-
- 1. Choose build-war-pde.xml -> Run As -> Ant Build...
- to open the "Modify attributes and launch" dialog.
- 2. Click on the "Refresh" tab.
- a. Enable "Refresh resources upon completion".
- b. Select "The project containing the selected resource".
- 3. Click on the "Properties" tab.
- a. Deselect "Use global properties...".
- b. Add the following two properties:
- baseLocation = the absolute path to your target platform's "eclipse" directory.
- buildDirectory = the absolute path to your workspace directory.
- 4. Click on "Apply".
-
- To clean a previous build of the WAR:
-
- 1. Choose build-war-pde.xml -> Run As -> Ant Build...
- 2. Select and run the "clean.wars" target.
- 3. Optionally, replace wsexplorer/WEB-INF/web.xml from HEAD.
-
- To build the WAR:
-
- 1. If necessary, generate and run build.xml
- to create explorer.jar and wsexplorer.jar:
- a. Choose plugin.xml -> PDE Tools -> Create Ant Build File
- b. Choose build.xml -> Run As -> Ant Build
- c. Refresh the project.
- 1. Choose build-war-pde.xml -> Run As -> Ant Build...
- 2. Select and run the "build.wars" target.
-
- Short cut:
-
- 1. Choose build-war-pde.xml -> Run As -> Ant Build...
- 2. Click on the "Targets" tab.
- 3. Enable the "clean.wars" and "build.wars" targets.
- 4. Verify that the Target execution order reads
- "clean.wars, build.wars"
- If it doesn't, use the "Order..." button to change it.
- 5. Click "Apply" or "Run".
- 6. Henceforth you can choose
- build-war-pde.xml -> Run As -> Ant Build
- to skip the dialog and always clean and rebuild the WAR.
- -->
-
- <property name="wsexplorerDir" value="${buildDirectory}/org.eclipse.wst.ws.explorer/wsexplorer"/>
-
- <target name="jspcompile" unless="wsexplorer.war" description="Pre-compile the JSPs in the org.eclipse.wst.ws.explorer plugin">
- <java classname="org.apache.jasper.JspC" fork="true">
- <arg line="-webxml ${wsexplorerDir}/WEB-INF/web.xml -d ${wsexplorerDir} -webapp ${wsexplorerDir}"/>
- <classpath>
- <fileset dir="${baseLocation}/plugins">
- <include name="org.eclipse.tomcat*/*.jar" />
- </fileset>
- <fileset dir="${baseLocation}/plugins">
- <include name="org.apache.ant*/lib/*.jar" />
- </fileset>
- </classpath>
- </java>
- <javac debug="true" destdir="${wsexplorerDir}/WEB-INF/classes" includeAntRuntime="false">
- <src path="${wsexplorerDir}"/>
- <classpath>
- <dirset dir="${buildDirectory}">
- <include name="*/@dot" />
- </dirset>
- <fileset dir="${buildDirectory}">
- <include name="**/*.jar" />
- </fileset>
- <fileset dir="${baseLocation}/plugins">
- <include name="**/*.jar" />
- </fileset>
- </classpath>
- </javac>
- </target>
-
- <target name="wsexplorer.war" unless="wsexplorer.war" description="Create war: wsexplorer.war.">
- <zip
- basedir="${wsexplorerDir}"
- destfile="${wsexplorerDir}/../wsexplorer.war"
- whenempty="skip" update="false"
- excludes="**/*.java **/*.jsp **/*.inc"
- />
- </target>
-
- <target name="build.wars" description="Build all the wars for the plug-in: org.eclipse.wst.ws.explorer.">
- <available property="wsexplorer.war" file="${wsexplorerDir}/../wsexplorer.war"/>
- <antcall target="jspcompile"/>
- <antcall target="wsexplorer.war"/>
- </target>
-
- <target name="clean.wars" description="Clean all the wars for the plug-in: org.eclipse.wst.ws.explorer.">
- <delete file="wsexplorer.war"/>
- <delete>
- <fileset dir="wsexplorer" includes="**/*.java"/>
- </delete>
- <delete>
- <fileset dir="wsexplorer" includes="**/*.class"/>
- </delete>
- </target>
-
-</project>
diff --git a/bundles/org.eclipse.wst.ws.explorer/build-war.xml b/bundles/org.eclipse.wst.ws.explorer/build-war.xml
deleted file mode 100644
index 37aba57e3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/build-war.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="org.eclipse.wst.ws.explorer" default="build.wars" basedir=".">
-
- <property name="wsexplorerDir" value="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer/wsexplorer"/>
-
- <target name="jspcompile" unless="wsexplorer.war" description="Pre-compile the JSPs in the org.eclipse.wst.ws.explorer plugin">
- <java classname="org.apache.jasper.JspC" fork="true">
- <arg line="-webxml ${wsexplorerDir}/WEB-INF/web.xml -d ${wsexplorerDir} -webapp ${wsexplorerDir}"/>
- <classpath>
- <fileset dir="${baseLocation}/plugins">
- <include name="org.eclipse.tomcat*/*.jar" />
- </fileset>
- <fileset dir="${baseLocation}/plugins">
- <include name="org.apache.ant*/lib/*.jar" />
- </fileset>
- </classpath>
- </java>
- <javac destdir="${wsexplorerDir}/WEB-INF/classes" includeAntRuntime="false" failonerror="false">
- <src path="${wsexplorerDir}"/>
- <classpath>
- <fileset dir="${buildDirectory}/plugins">
- <include name="**/*.jar" />
- </fileset>
- <fileset dir="${buildDirectory}/plugins">
- <include name="*.jar" />
- </fileset>
- <dirset dir="${buildDirectory}/plugins">
- <include name="**/@dot"/>
- </dirset>
- <fileset dir="${baseLocation}/plugins">
- <include name="**/*.jar" />
- </fileset>
- <fileset dir="${baseLocation}/plugins">
- <include name="*.jar" />
- </fileset>
- </classpath>
- </javac>
- </target>
-
- <target name="wsexplorer.war" unless="wsexplorer.war" description="Create war: wsexplorer.war.">
- <zip
- basedir="${wsexplorerDir}"
- destfile="${wsexplorerDir}/../wsexplorer.war"
- whenempty="skip" update="false"
- excludes="**/*.java **/*.jsp **/*.inc"
- />
- </target>
-
- <target name="build.wars" description="Build all the wars for the plug-in: org.eclipse.wst.ws.explorer.">
- <available property="wsexplorer.war" file="${wsexplorerDir}/../wsexplorer.war"/>
- <antcall target="jspcompile"/>
- <antcall target="wsexplorer.war"/>
- </target>
-
- <target name="clean.wars" description="Clean all the wars for the plug-in: org.eclipse.wst.ws.explorer.">
- <delete file="wsexplorer.war"/>
- </target>
-
-</project>
diff --git a/bundles/org.eclipse.wst.ws.explorer/build.properties b/bundles/org.eclipse.wst.ws.explorer/build.properties
deleted file mode 100644
index 982a5f05c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-source.explorer.jar = src/
-source.wsexplorer/WEB-INF/lib/wsexplorer.jar = wsexplorer-src/
-jars.compile.order = explorer.jar,\
- wsexplorer/WEB-INF/lib/wsexplorer.jar,\
- wsexplorer-properties.jar
-output.wsexplorer/WEB-INF/lib/wsexplorer.jar = bin/
-bin.includes = plugin.xml,\
- *.jar,\
- explorer.jar,\
- plugin.properties,\
- properties/,\
- wsexplorer.war,\
- META-INF/,\
- about.html,\
- wsexplorer-properties.jar
-
-
-custom = false
-source.wsexplorer-properties.jar = wsexplorer-properties/
-jars.extra.classpath = servletapi/org.eclipse.equinox.servlet.api_1.0.0.v20060206.jar
diff --git a/bundles/org.eclipse.wst.ws.explorer/plugin.properties b/bundles/org.eclipse.wst.ws.explorer/plugin.properties
deleted file mode 100644
index 5ec01b2e5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/plugin.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Explorer
-PLUGIN_PROVIDER=Eclipse.org
-
-#
-# Messages for the client type extension
-#
-WEBSERVICECLIENTTYPE_NAME_WSEXPLORER=Stubless (Web Services Explorer)
-TASK_LABEL_EXPLORE_WSDL_USING_WSE=Explorer WSDL using Web Services Explorer.
-
-#
-# Messages for the WSExplorer type extension
-#
-MSG_ERROR_LAUNCH_WSEXPLORER=IWAB0366E Unable to launch Web Services Explorer.
-MSG_ERROR_LOAD_LAUNCH_OPTIONS=IWAB0367E Unable to load launch options.
-MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8=Broken VM does not support UTF-8.
-
-#
-# Messages for popup action (Test with Web Services Explorer)
-#
-POPUP_TEST_WSDL=Test with Web Services Explorer
-
diff --git a/bundles/org.eclipse.wst.ws.explorer/plugin.xml b/bundles/org.eclipse.wst.ws.explorer/plugin.xml
deleted file mode 100644
index 50dc1e806..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/plugin.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
-
-<!-- ================================================================= -->
-<!-- Extension point: Eclipse Popup Action (org.eclipse.ui.popupMenus) -->
-<!-- ================================================================= -->
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsdl"
- id="org.eclipse.jst.ws.internal.consumption.ui.action.WSDLFileMenu">
- <action
- label="%POPUP_TEST_WSDL"
- class="org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL"
- menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
- id="org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL">
- </action>
- </objectContribution>
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.action.WSDLFileMenu">
- <action
- label="%POPUP_TEST_WSDL"
- class="org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL"
- menubarPath="additions"
- id="org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL">
- </action>
- </objectContribution>
- <objectContribution
- objectClass="org.eclipse.wst.wsdl.Service"
- nameFilter="*"
- id="org.eclipse.jst.ws.internal.consumption.ui.action.WSDLFileMenu">
- <action
- label="%POPUP_TEST_WSDL"
- class="org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL"
- menubarPath="additions"
- id="org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL">
- </action>
- </objectContribution>
- </extension>
-
-</plugin>
diff --git a/bundles/org.eclipse.wst.ws.explorer/properties/favorites_default.wsil b/bundles/org.eclipse.wst.ws.explorer/properties/favorites_default.wsil
deleted file mode 100644
index 015cac33e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/properties/favorites_default.wsil
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<inspection xmlns="http://schemas.xmlsoap.org/ws/2001/10/inspection/"
- xmlns:wsilwsdl="http://schemas.xmlsoap.org/ws/2001/10/inspection/wsdl/"
- xmlns:wsiluddi="http://schemas.xmlsoap.org/ws/2001/10/inspection/uddi/"
- xmlns:uddi="urn:uddi-org:api">
- <abstract xml:lang="en-US">v5_0_1_0</abstract>
-
- <link referencedNamespace="urn:uddi-org:api">
- <abstract xml:lang="en-US">%PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST</abstract>
- <abstract xml:lang="en-US">http://udditest.sap.com/UDDI/api/inquiry/</abstract>
- <abstract xml:lang="en-US">https://udditest.sap.com/UDDI/api/publish/</abstract>
- <abstract xml:lang="en-US">http://udditest.sap.com/</abstract>
- </link>
-
- <link referencedNamespace="urn:uddi-org:api">
- <abstract xml:lang="en-US">%PUBLICUDDIREGISTRYTYPE_NAME_SAP</abstract>
- <abstract xml:lang="en-US">http://uddi.sap.com/UDDI/api/inquiry/</abstract>
- <abstract xml:lang="en-US">https://uddi.sap.com/UDDI/api/publish/</abstract>
- <abstract xml:lang="en-US">http://uddi.sap.com/</abstract>
- </link>
-
- <link referencedNamespace="urn:uddi-org:api">
- <abstract xml:lang="en-US">%PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS</abstract>
- <abstract xml:lang="en-US">http://uddi.xmethods.net/inquire</abstract>
- <abstract xml:lang="en-US">https://uddi.xmethods.net/publish</abstract>
- <abstract xml:lang="en-US">http://www.xmethods.net/ve2/Register.po?event=registerOrg</abstract>
- </link>
-
- <link referencedNamespace="urn:uddi-org:api">
- <abstract xml:lang="en-US">%PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM</abstract>
- <abstract xml:lang="en-US">http://www.uddi.ne.jp/registry/inquiryapi</abstract>
- <abstract xml:lang="en-US">https://www.uddi.ne.jp/registry/publishapi</abstract>
- <abstract xml:lang="en-US">http://www.uddi.ne.jp/registry/registry.html</abstract>
- </link>
-
- <link referencedNamespace="http://schemas.xmlsoap.org/ws/2001/10/inspection/" location="http://www.xmethods.com/inspection.wsil"/>
-</inspection>
diff --git a/bundles/org.eclipse.wst.ws.explorer/servletapi/org.eclipse.equinox.servlet.api_1.0.0.v20060206.jar b/bundles/org.eclipse.wst.ws.explorer/servletapi/org.eclipse.equinox.servlet.api_1.0.0.v20060206.jar
deleted file mode 100644
index 2dad57752..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/servletapi/org.eclipse.equinox.servlet.api_1.0.0.v20060206.jar
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/CatalinaRunnable.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/CatalinaRunnable.java
deleted file mode 100644
index 19ba1f16f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/CatalinaRunnable.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer;
-
-import org.eclipse.core.runtime.Path;
-import org.eclipse.help.internal.appserver.AppserverPlugin;
-import org.eclipse.help.internal.appserver.WebappManager;
-
-public class CatalinaRunnable {
-
- private static CatalinaRunnable catalinaRunnable_;
-
- private CatalinaRunnable() {
- }
-
- public static CatalinaRunnable getCatalinaRunnable() {
- if (catalinaRunnable_ == null) {
- catalinaRunnable_ = new CatalinaRunnable();
- catalinaRunnable_.init();
- }
- return catalinaRunnable_;
- }
-
- public boolean isTomcatStarted() {
- try {
- return AppserverPlugin.getDefault().getAppServer().isRunning();
- } catch (Throwable t) {
- return false;
- }
- }
-
- public int getTomcatPort() {
- return WebappManager.getPort();
- }
-
- private void init() {
- WSExplorer wsExplorer = WSExplorer.getInstance();
- String ctxt = wsExplorer.getContextName();
- String pluginID = wsExplorer.getParentPluginID();
- String warLocation = wsExplorer.getWARLocation();
- String webappLocation = wsExplorer.getWebAppLocation();
- try {
- if (warLocation != null)
- WebappManager.start(ctxt, pluginID, new Path(warLocation));
- else
- WebappManager.start(ctxt, pluginID, new Path(webappLocation));
- } catch (Throwable t) {
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOption.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOption.java
deleted file mode 100644
index 3666ede76..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOption.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer;
-
-/**
- * @author cbrealey@ca.ibm.com
- *
- * This simple class is used to hold a single Web Services
- * Explorer launch option property and its value. Allowed
- * launch option properties are defined by
- * <code>{@link LaunchOptions}</code>.
- */
-public class LaunchOption {
- private String key_;
-
- private String option_;
-
- /*
- * Constructs a new launch option with the given
- * property name and value.
- */
- public LaunchOption(String key, String option) {
- key_ = key;
- option_ = option;
- }
-
- /**
- * Returns the property name of this launch option.
- * @return The property name.
- */
- public String getKey() {
- return key_;
- }
-
- /**
- * Returns the property value of this launch option.
- * @return The property value.
- */
- public String getOption() {
- return option_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOptions.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOptions.java
deleted file mode 100644
index 392f03b11..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchOptions.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer;
-
-/**
- * @author cbrealey@ca.ibm.com
- *
- * This class defines the property names understood by the Web Services Explorer
- * and used to configure it's initial appearance and behaviour at the time it is
- * launched.
- * @see LaunchOption
- */
-public class LaunchOptions {
- // General purpose preload constants
-
- public static final String STATE_LOCATION = "stateLocation";
-
- public static final String DEFAULT_FAVORITES_LOCATION = "defaultFavoritesLocation";
-
- // WSDL Page preload constants
-
- public static final String WSDL_URL = "wsdl";
-
- public static final String WEB_SERVICE_ENDPOINT = "webServiceEndpoint";
-
- public static final String SERVICE_QNAME_STRING = "serviceQNameString";
-
- public static final String BINDING_NAME_STRING = "bindingNameString";
-
- // UDDI Page preload constants
-
- public static final String INQUIRY_URL = "inquiry";
-
- public static final String PUBLISH_URL = "publish";
-
- public static final String SERVICE_NAME = "serviceName";
-
- public static final String SERVICE_KEY = "serviceKey";
-
- public static final String CATEGORIES_DIRECTORY = "categoriesDirectory";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardRunnable.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardRunnable.java
deleted file mode 100644
index 6375d5312..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardRunnable.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard;
-
-public class LaunchWizardRunnable extends Thread implements Runnable {
- private String id;
-
- private String wsdlURL;
-
- private boolean finish;
-
- public LaunchWizardRunnable(String id, String wsdlURL) {
- this.id = id;
- this.wsdlURL = (wsdlURL != null) ? wsdlURL : "";
- finish = false;
- }
-
- public boolean isFinish() {
- return finish;
- }
-
- public void run() {
- try {
- DynamicWizard wizard = new DynamicWizard();
- wizard.setInitialData(id);
- IStructuredSelection sel = new StructuredSelection(wsdlURL);
- wizard.init(null, sel);
- WizardDialog wd = new WizardDialog(new Shell(Display.getDefault(),
- SWT.APPLICATION_MODAL), wizard);
- wd.open();
- } catch (Exception e) {
- } finally {
- finish = true;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardTask.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardTask.java
deleted file mode 100644
index f5329e2f4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/LaunchWizardTask.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer;
-
-import org.eclipse.swt.SWTException;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.PlatformUI;
-
-public class LaunchWizardTask {
- // singleton
- private static LaunchWizardTask task_;
-
- // the shell for the wizard to be launched
- private Shell shell_;
-
- // the LaunchWizardRunnable that is currently running
- private LaunchWizardRunnable runnable_;
-
- private LaunchWizardTask(Shell shell) {
- shell_ = shell;
- runnable_ = null;
- }
-
- public static LaunchWizardTask getInstance() {
- if (task_ == null)
- task_ = new LaunchWizardTask(PlatformUI.getWorkbench()
- .getActiveWorkbenchWindow().getShell());
- return task_;
- }
-
- public void asyncExec(Runnable runnable) throws SWTException {
- shell_.getDisplay().asyncExec(runnable);
- }
-
- public boolean checkAndAsyncExec(LaunchWizardRunnable runnable) {
- try {
- if (!getIsExecuting()) {
- asyncExec(runnable);
- runnable_ = runnable;
- return true;
- } else
- return false;
- } catch (Exception e) {
- return false;
- }
- }
-
- public boolean getIsExecuting() {
- if (runnable_ != null) {
- boolean isFinish = runnable_.isFinish();
- if (isFinish)
- runnable_ = null;
- return !isFinish;
- } else
- return false;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorer.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorer.java
deleted file mode 100644
index d8d43446e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorer.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060721 151409 makandre@ca.ibm.com - Andrew Mak, WSE does not open in external browser on RH
- * 20060802 150428 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer;
-
-import java.io.InputStream;
-import java.io.PrintWriter;
-import java.io.UnsupportedEncodingException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.net.URLEncoder;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.browser.IWebBrowser;
-import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-
-public class WSExplorer {
- private static WSExplorer instance;
-
- private static int launchOptionsKey_ = 0;
-
- private IWebBrowser internalBrowser_ = null;
-
- public WSExplorer() {
- }
-
- public static WSExplorer getInstance() {
- if (instance == null) {
- instance = new WSExplorer();
- }
- return instance;
- }
-
- public String getContextName() {
- return "wsexplorer";
- }
-
- public String getParentPluginID() {
- return ExplorerPlugin.ID;
- }
-
- public String getWARLocation() {
- return "wsexplorer.war";
- }
-
- public String getWebAppLocation() {
- return "wsexplorer";
- }
-
- public String getWelcomeURL() {
- return "wsexplorer.jsp";
- }
-
- public String getLaunchOptionRegistryURL() {
- return "launch_options_registry.jsp";
- }
-
- public String getBaseURL() {
- StringBuffer sb = new StringBuffer();
- sb.append("http://localhost:");
- sb.append(CatalinaRunnable.getCatalinaRunnable().getTomcatPort());
- sb.append("/");
- sb.append(getContextName());
- sb.append("/");
- return sb.toString();
- }
-
- public String getMetadataDirectory() {
- // <workspace>/.metadata/.plugins/org.eclipse.wst.ws.explorer/ (note
- // the trailing separator).
- return ExplorerPlugin.getInstance().getPluginStateLocation();
- }
-
- public IStatus launch(IWorkbench wb, IStructuredSelection sel,
- LaunchOption[] options, boolean forceLaunchOutsideIDE) {
- // launchOptionKey
- int launchOptionKey = getLaunchOptionsKey();
- // Web Services Explorer URL
- StringBuffer sb = new StringBuffer();
- sb.append(getBaseURL());
- sb.append(getWelcomeURL());
- sb.append("?");
- if (options != null && options.length > 0) {
- String encodedID = null;
- try {
- encodedID = URLEncoder.encode(ExplorerPlugin.ID,
- ExplorerPlugin.CHARSET);
- } catch (UnsupportedEncodingException e) {
- return new Status(
- IStatus.ERROR,
- ExplorerPlugin.ID,
- 0,
- ExplorerPlugin
- .getMessage("%MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8"),
- e);
- }
- sb.append(encodedID);
- sb.append("=");
- sb.append(launchOptionKey);
- }
- // launch Web Services Explorer
- try {
- IWorkbenchBrowserSupport browserSupport = ExplorerPlugin.getInstance().getWorkbench().getBrowserSupport();
- IWebBrowser browser = null;
-
- if (forceLaunchOutsideIDE) {
- browser = browserSupport.getExternalBrowser();
- }
- else {
- // browserId
- StringBuffer browserId = new StringBuffer();
- browserId.append(ExplorerPlugin.ID);
- browserId.append(getContextName());
-
- if (internalBrowser_==null)
- internalBrowser_ = browserSupport.createBrowser(browserId.toString());
- browser = internalBrowser_;
- }
-
- browser.openURL(new URL(sb.toString()));
-
- } catch (Exception e) {
- return new Status(IStatus.ERROR, ExplorerPlugin.ID, 0,
- ExplorerPlugin.getMessage("%MSG_ERROR_LAUNCH_WSEXPLORER"),
- e);
- }
- // register launch options
- if (options != null && options.length > 0) {
- try {
- StringBuffer launchOptionsRegURL = new StringBuffer();
- launchOptionsRegURL.append(getBaseURL());
- launchOptionsRegURL.append(getLaunchOptionRegistryURL());
- URL url = new URL(launchOptionsRegURL.toString());
- URLConnection connection = url.openConnection();
- connection.setDoOutput(true);
- PrintWriter out = new PrintWriter(connection.getOutputStream());
- StringBuffer params = new StringBuffer();
- String encodedID = null;
- try {
- encodedID = URLEncoder.encode(ExplorerPlugin.ID,
- ExplorerPlugin.CHARSET);
- } catch (UnsupportedEncodingException e) {
- return new Status(
- IStatus.ERROR,
- ExplorerPlugin.ID,
- 0,
- ExplorerPlugin
- .getMessage("%MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8"),
- e);
- }
- params.append(encodedID);
- params.append("=");
- params.append(launchOptionKey);
- params.append("&");
- for (int i = 0; i < options.length; i++) {
- if (options[i] != null) {
- params.append(options[i].getKey());
- params.append("=");
- String option = null;
- try {
- option = URLEncoder.encode(options[i].getOption(),
- ExplorerPlugin.CHARSET);
- } catch (UnsupportedEncodingException e) {
- return new Status(
- IStatus.ERROR,
- ExplorerPlugin.ID,
- 0,
- ExplorerPlugin
- .getMessage("%MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8"),
- e);
- }
- params.append(option);
- params.append("&");
- }
- }
- out.print(params.toString());
- out.close();
- out = null;
- InputStream is = connection.getInputStream();
- is.close();
- is = null;
- } catch (Exception e) {
- return new Status(IStatus.WARNING, ExplorerPlugin.ID, 0,
- ExplorerPlugin
- .getMessage("%MSG_ERROR_LOAD_LAUNCH_OPTIONS"),
- e);
- }
- }
- return new Status(IStatus.OK, ExplorerPlugin.ID, 0, "", null);
- }
-
- private static int getLaunchOptionsKey() {
- return launchOptionsKey_++;
- }
-
- public IStatus launch(IWorkbench wb, IStructuredSelection sel,
- String[] inquiryURL, String[] publishURL,
- boolean forceLaunchOutsideIDE) {
- int inquiryURLOptionLength = (inquiryURL != null) ? inquiryURL.length
- : 0;
- int publishURLOptionLength = (publishURL != null) ? publishURL.length
- : 0;
- LaunchOption[] options = new LaunchOption[inquiryURLOptionLength
- + publishURLOptionLength];
- int index = 0;
- if (inquiryURL != null) {
- for (int i = 0; i < inquiryURL.length; i++) {
- options[index] = new LaunchOption(LaunchOptions.INQUIRY_URL,
- inquiryURL[i]);
- index++;
- }
- }
- if (publishURL != null) {
- for (int i = 0; i < publishURL.length; i++) {
- options[index] = new LaunchOption(LaunchOptions.PUBLISH_URL,
- publishURL[i]);
- index++;
- }
- }
- return launch(wb, sel, options, forceLaunchOutsideIDE);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerContext.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerContext.java
deleted file mode 100644
index 9d8ee2c16..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerContext.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer;
-
-public final class WSExplorerContext {
- public static final String ID = "org.eclipse.wst.ws.explorer";
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerLauncherCommand.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerLauncherCommand.java
deleted file mode 100644
index bbc765abb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/WSExplorerLauncherCommand.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.net.URLEncoder;
-import java.util.Properties;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
- * @author cbrealey@ca.ibm.com
- *
- * This <code>Command</code>, when executed, launches the
- * Web Services Explorer.
- */
-public class WSExplorerLauncherCommand extends AbstractDataModelOperation {
- private boolean forceLaunchOutsideIDE;
-
- private LaunchOption[] launchOptions;
-
- public WSExplorerLauncherCommand() {
- }
-
- public void writeCategoryInfo(String inquiryURL, String categoriesDirectory) {
- try {
- Properties p = new Properties();
- p.setProperty(LaunchOptions.CATEGORIES_DIRECTORY,
- categoriesDirectory);
- StringBuffer propertiesFileName = new StringBuffer();
- propertiesFileName.append(WSExplorer.getInstance()
- .getMetadataDirectory());
- File metadataDirectoryFile = new File(propertiesFileName.toString());
- if (!metadataDirectoryFile.exists()) {
- metadataDirectoryFile.mkdirs();
- }
- propertiesFileName.append(URLEncoder.encode(inquiryURL,"UTF-8")).append(
- ".properties");
- FileOutputStream fout = new FileOutputStream(propertiesFileName
- .toString());
- p.store(fout, null);
- fout.close();
- } catch (IOException e) {
- }
- }
-
- public IStatus execute() {
- return WSExplorer.getInstance().launch(null, null, launchOptions,
- forceLaunchOutsideIDE);
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- return execute();
- }
-
- /**
- * @param forceLaunchOutsideIDE
- * The forceLaunchOutsideIDE to set.
- */
- public void setForceLaunchOutsideIDE(boolean forceLaunchOutsideIDE) {
- this.forceLaunchOutsideIDE = forceLaunchOutsideIDE;
- }
-
- /**
- * @param launchOptions
- * The launchOptions to set.
- */
- public void setLaunchOptions(LaunchOption[] launchOptions) {
- this.launchOptions = launchOptions;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeDefault.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeDefault.java
deleted file mode 100644
index 6d8809f03..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeDefault.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.favorites;
-
-import java.io.IOException;
-import org.apache.wsil.WSILDocument;
-import org.apache.wsil.WSILException;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesRegistryTypeAbstract;
-
-public class FavoritesRegistryTypeDefault extends FavoritesRegistryTypeAbstract {
- private static WSILDocument wsilDoc_;
-
- public static final String FAVORITES_DEFAULT = "properties/favorites_default.wsil";
-
- private String defaultFavorites_ = null;
-
- public FavoritesRegistryTypeDefault() {
- super();
- wsilDoc_ = null;
- }
-
- public FavoritesRegistryTypeDefault(String defaultFavorites) {
- super();
- wsilDoc_ = null;
- defaultFavorites_ = defaultFavorites;
- }
-
- public String getReadLocation() {
- StringBuffer readLocation = new StringBuffer();
- if (defaultFavorites_ == null)
- {
- readLocation.append(ExplorerPlugin.getInstance().getPluginInstallLocation());
- readLocation.append(FAVORITES_DEFAULT);
- }
- else
- {
- readLocation.append(defaultFavorites_);
- }
- return readLocation.toString();
- }
-
- public String getWriteLocation() {
- return null;
- }
-
- protected WSILDocument getWSILDocument() {
- if (wsilDoc_ == null) {
- wsilDoc_ = loadWSILDocument(getReadLocation(), true);
- getFavoritesUDDIRegistries();
- /* TODO: Public registry strings shouldn't be in properties - Ain't extensible.
- for (int i = 0; i < registries.length; i++) {
- registries[i].setName(WSPlugin.getResourceString(registries[i].getName()));
- }
- */
- }
- return wsilDoc_;
- }
-
- public WSILDocument getFavoritesDefault() {
- return getWSILDocument();
- }
-
- public void save() throws WSILException, IOException {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeWSE.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeWSE.java
deleted file mode 100644
index 253fc8c16..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/favorites/FavoritesRegistryTypeWSE.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.favorites;
-
-import org.apache.wsil.WSILDocument;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesRegistryTypeAbstract;
-
-
-public class FavoritesRegistryTypeWSE extends FavoritesRegistryTypeAbstract
-{
- private static WSILDocument wsilDoc_;
- public static final String FAVORITES_WSEXPLORER = "favorites.wsil";
- private String defaultFavorites_ = null;
- private String stateLocation_ = null;
-
- public FavoritesRegistryTypeWSE()
- {
- super();
- wsilDoc_ = null;
- }
-
- public FavoritesRegistryTypeWSE(String defaultFavorites, String stateLocation) {
- super();
- wsilDoc_ = null;
- defaultFavorites_ = defaultFavorites;
- stateLocation_ = stateLocation;
- }
-
- public String getReadLocation()
- {
- StringBuffer readLocation = new StringBuffer();
- readLocation.append(stateLocation_ == null ? ExplorerPlugin.getInstance().getPluginStateLocation() : stateLocation_);
- readLocation.append(FAVORITES_WSEXPLORER);
- return readLocation.toString();
- }
-
- public String getWriteLocation()
- {
- return getReadLocation();
- }
-
- protected WSILDocument getWSILDocument()
- {
- if (wsilDoc_ == null)
- {
- wsilDoc_ = loadWSILDocument(getReadLocation(), false);
- if (wsilDoc_ == null)
- {
- restoreFavoritesDefault();
- try
- {
- save();
- }
- catch (Throwable t)
- {
- }
- }
- }
- return wsilDoc_;
- }
-
- public void restoreFavoritesDefault()
- {
- wsilDoc_ = (new FavoritesRegistryTypeDefault(defaultFavorites_)).getWSILDocument();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/plugin/ExplorerPlugin.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/plugin/ExplorerPlugin.java
deleted file mode 100644
index 43e10584d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/plugin/ExplorerPlugin.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.plugin;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.text.MessageFormat;
-import java.util.Hashtable;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.eclipse.wst.ws.internal.explorer.LaunchWizardTask;
-import org.eclipse.wst.ws.internal.explorer.favorites.FavoritesRegistryTypeDefault;
-import org.osgi.framework.BundleContext;
-
-
-/**
- * This is the plugin class for the Web Services Explorer.
- */
-public class ExplorerPlugin extends AbstractUIPlugin
-{
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.wst.ws.explorer";
- public static final String CHARSET = "UTF-8";
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static ExplorerPlugin instance_;
-
- /**
- * Constructs a runtime plugin object for this plugin. The "plugin" element
- * in plugin.xml should include the attribute class =
- * "org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin".
- *
- * @param descriptor
- * The descriptor of this plugin.
- */
- public ExplorerPlugin()
- {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (ExplorerPlugin)Platform.getPlugin("org.eclipse.wst.ws.explorer");
- *
- * @return The ExplorerPlugin singleton.
- */
- static public ExplorerPlugin getInstance()
- {
- return instance_;
- }
-
- /**
- * Called once by the platform when this plugin is first loaded.
- */
- public void start(BundleContext bundle) throws Exception
- {
- super.start(bundle);
- // init the shell of LaunchWizardTask
- LaunchWizardTask.getInstance();
- }
-
- /**
- * Called once by the platform when this plugin is unloaded.
- */
- public void stop(BundleContext bundle) throws Exception
- {
- super.stop(bundle);
- }
-
- /**
- * Returns the message string identified by the given key from the
- * plugin.properties file for the appropriate locale.
- *
- * @param key
- * The message key string prefixed by a "%" symbol. That is, the
- * string passed in must be of the form "%KEY" where the
- * plugin.properties file contains a line of the form: "KEY =
- * value".
- * @return The locale-specific message.
- */
- public static String getMessage(String key)
- {
- return Platform.getResourceString(instance_.getBundle(), key);
- }
-
- /**
- * Returns the message string identified by the given key from the
- * plugin.properties file for the appropriate locale. Substitution sequences
- * in the message string are replaced by the given array of substitution
- * objects (which are most frequently strings). See java.text.MessageFormat
- * for further details on substitution.
- *
- * @param key
- * The message key string prefixed by a "%" symbol. That is, the
- * string passed in must be of the form "%KEY" where the
- * plugin.properties file contains a line of the form: "KEY =
- * value".
- * @param args
- * The substitution values for the message as required by the
- * message in plugin.properties and by the rules of class
- * java.text.MessageFormat.
- * @return The locale-specific message.
- */
- public static String getMessage(String key, Object[] args)
- {
- return MessageFormat.format(getMessage(key), args);
- }
-
- /**
- * Returns an image descriptor for the named resource as relative to the
- * plugin install location.
- *
- * @return An image descriptor, possibly null.
- */
- public static ImageDescriptor getImageDescriptor(String name)
- {
- try
- {
- URL installURL = instance_.getBundle().getEntry("/");
- URL imageURL = new URL(installURL, name);
- return ImageDescriptor.createFromURL(imageURL);
- }
- catch (MalformedURLException e)
- {
- return null;
- }
- }
-
- /**
- * See IPluginHelper.
- */
- public void setMsgLoggerConfig(Hashtable msgLoggerConfig)
- {
- }
-
- /**
- * See IPluginHelper.
- */
- public Hashtable getMsgLoggerConfig(Plugin plugin)
- {
- return new Hashtable();
- }
-
- /**
- * See IPluginHelper.
- */
- public Hashtable getMsgLoggerConfig()
- {
- return getMsgLoggerConfig(this);
- }
-
- public String getPluginStateLocation()
- {
- return Platform.getPluginStateLocation(this).addTrailingSeparator().toOSString();
- }
-
- public String getDefaultFavoritesLocation()
- {
- // TODO: getPluginInstallLocation can return null and cause trouble for the WSE's favourites mechanism. 89101 should correct this.
- return getPluginInstallLocation()+FavoritesRegistryTypeDefault.FAVORITES_DEFAULT;
- }
-
- public String getPluginInstallLocation()
- {
- try
- {
- return Platform.resolve(instance_.getBundle().getEntry("/")).getFile();
- }
- catch (Exception e)
- {
- return null;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/popup/PopupTestWSDL.java b/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/popup/PopupTestWSDL.java
deleted file mode 100644
index 9c770017e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/src/org/eclipse/wst/ws/internal/explorer/popup/PopupTestWSDL.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 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
- * -------- -------- -----------------------------------------------------------
- * 20060606 105069 mahutch@ca.ibm.com - Mark Hutchinson
- * 20060803 152790 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.popup;
-
-import java.io.File;
-import java.net.MalformedURLException;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.ui.IActionDelegate;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.ws.internal.explorer.LaunchOption;
-import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
-import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
-import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
-import org.eclipse.wst.ws.internal.monitor.GetMonitorCommand;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-
-public class PopupTestWSDL extends Action implements IActionDelegate
-{
- public PopupTestWSDL()
- {
- super(ExplorerPlugin.getMessage("%POPUP_TEST_WSDL"));
- }
-
- protected IStructuredSelection getWorkbenchSelection()
- {
- IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- if (window != null)
- {
- ISelection selection = window.getSelectionService().getSelection();
- if (selection instanceof IStructuredSelection)
- return (IStructuredSelection)selection;
- }
- return null;
- }
-
- public void run()
- {
- String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
- String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
- WSExplorerLauncherCommand command = new WSExplorerLauncherCommand();
- command.setForceLaunchOutsideIDE(false);
- IStructuredSelection selection = getWorkbenchSelection();
- Vector launchOptions = new Vector();
- if (selection != null)
- {
- for (Iterator it = selection.iterator(); it.hasNext();)
- {
- String wsdlURL = null;
- Object object = it.next();
- if (object instanceof IResource)
- {
- File wsdlFile = ((IResource)object).getLocation().toFile();
- try
- {
- wsdlURL = wsdlFile.toURL().toString();
- }
- catch (MalformedURLException murle)
- {
- wsdlURL = wsdlFile.toString();
- }
- }
-
- if (object instanceof ServiceImpl)
- {
- ServiceImpl serviceImpl = (ServiceImpl)object;
- Definition definition = serviceImpl.getEnclosingDefinition();
- wsdlURL = definition.getLocation();
- }
-
- if (object instanceof WSDLResourceImpl)
- {
- WSDLResourceImpl WSDLRImpl = (WSDLResourceImpl)object;
- Definition definition = WSDLRImpl.getDefinition();
- wsdlURL = definition.getLocation();
- }
-
- addLaunchOptions(launchOptions, wsdlURL, stateLocation, defaultFavoritesLocation);
- }
- }
- command.setLaunchOptions((LaunchOption[])launchOptions.toArray(new LaunchOption[0]));
- command.execute();
- }
-
- /**
- * Set and add the WEB_SERVICE_ENDPOINT, WSDL_URL, STATE_LOCATIION and
- * DEFAULT_FAVORITES_LOCATION LaunchOptions to the launchOptions vector
- *
- * @param launchOptions - vector of launchOptions to add to
- * @param wsdlURL
- * @param stateLocation
- * @param defaultFavoritesLocation
- */
- protected void addLaunchOptions(Vector launchOptions, String wsdlURL, String stateLocation, String defaultFavoritesLocation)
- {
- GetMonitorCommand getMonitorCmd = new GetMonitorCommand();
- getMonitorCmd.setMonitorService(true);
- getMonitorCmd.setCreate(false);
- getMonitorCmd.setWebServicesParser(new WebServicesParser());
- getMonitorCmd.setWsdlURI(wsdlURL);
- getMonitorCmd.execute(null, null);
- List endpoints = getMonitorCmd.getEndpoints();
- for (Iterator endpointsIt = endpoints.iterator(); endpointsIt.hasNext();)
- {
- launchOptions.add(new LaunchOption(LaunchOptions.WEB_SERVICE_ENDPOINT, (String)endpointsIt.next()));
- }
- launchOptions.add(new LaunchOption(LaunchOptions.WSDL_URL, wsdlURL));
- launchOptions.add(new LaunchOption(LaunchOptions.STATE_LOCATION,stateLocation));
- launchOptions.add(new LaunchOption(LaunchOptions.DEFAULT_FAVORITES_LOCATION,defaultFavoritesLocation));
- }
-
- public void run(IAction action)
- {
- run();
- }
-
- public void selectionChanged(IAction action, ISelection selection)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/explorer.properties b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/explorer.properties
deleted file mode 100644
index b4e5e9180..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/explorer.properties
+++ /dev/null
@@ -1,183 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-TITLE_WSEXPLORER=Web Services Explorer
-
-# Tree Nodes
-ALT_OPEN=Open
-ALT_CLOSE=Close
-
-# Perspective Toolbar
-ALT_BACK=Back
-ALT_FORWARD=Forward
-ALT_ACTION_ENGINE=Action Recorder
-ALT_UDDI_PERSPECTIVE=UDDI Page
-ALT_WSIL_PERSPECTIVE=WSIL Page
-ALT_WSDL_PERSPECTIVE=WSDL Page
-ALT_FAVORITES_PERSPECTIVE=Favorites
-
-# Toolbars
-ALT_DOUBLE_CLICK_TO_MAXIMIZE=Double Click to Maximize
-ALT_DOUBLE_CLICK_TO_RESTORE=Double Click to Restore
-
-# SetDefaultViewTool
-ALT_BACK_TO_TOP=Back to top
-
-# Common Actions
-ALT_REFRESH=Refresh
-ALT_CLEAR=Clear
-ALT_RESULTS=Results
-
-# Common Labels
-ALT_NAVIGATOR=Navigator
-ALT_ACTIONS=Actions
-ALT_STATUS=Status
-ALT_OTHER_ACTIONS=Other Actions
-FORM_BUTTON_GO=&nbsp;&nbsp;Go&nbsp;&nbsp;
-FORM_BUTTON_RESET=Reset
-FORM_BUTTON_CANCEL=Cancel
-FORM_LABEL_ACTIONS=Actions
-FORM_LABEL_ACTIONS_NONE=None
-
-# Placeholder for blank table entries
-TABLE_BLANK_PLACEHOLDER=--
-
-# Common Form Control Titles
-FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX=Select all
-FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX=Select row
-
-# Common Messages
-MSG_ERROR_UNEXPECTED=IWAB0135E An unexpected error has occurred.
-MSG_ERROR_NO_ACTION_SELECTED=IWAB0124E Select an action.
-MSG_ERROR_NO_NODE_SELECTED=IWAB0125E Select a node.
-MSG_SUBMIT_IN_PROGRESS=Please wait. The operation is still in progress.
-MSG_LOAD_IN_PROGRESS=Please wait while the form loads...
-
-#LaunchWebServiceWizardAction
-ALT_LAUNCH_WEB_SERVICE_WIZARD=Launch Web Service Wizard
-FORM_LABEL_CHOOSE_WIZARD=Select a wizard to launch:
-FORM_RADIO_WEB_SERVICE_CLIENT_WIZARD=Web Service Client
-FORM_RADIO_WEB_SERVICE_SKELETON_WIZARD=Web Service Skeleton
-MSG_ERROR_WIZARD_ALREADY_RUNNING=IWAB0126E A Web service wizard is already in progress. Finish with the existing wizard before launching a new one.
-MSG_ERROR_WSDL_URL_IS_UNREACHABLE=IWAB0127E The WSDL document is unreachable.
-
-# ImportToFileSystemAction
-ALT_WSIL_IMPORT_TO_FS=Import WSIL To File System
-ALT_WSDL_IMPORT_TO_FS=Import WSDL To File System
-MSG_ERROR_RETRIEVING_WSDL_DOC=IWAB0128E Unable to retrieve WSDL document.
-MSG_ERROR_RETRIEVING_WSIL_DOC=IWAB0129E Unable to retrieve WSIL document.
-MSG_IMPORT_WSDL_SUCCESSFUL=WSDL document successfully imported.
-MSG_IMPORT_WSIL_SUCCESSFUL=WSIL document successfully imported.
-
-# ImportToWorkbenchAction
-ALT_IMPORT_WSDL_TO_WORKBENCH=Import WSDL To workbench
-FORM_LABEL_IMPORT_TO_WORKBENCH_DESC=Select a workbench project to save the WSDL file into. You may also change the name of the WSDL file.
-WEB_PROJECT_NAME=Web project:
-WORKBENCH_PROJECT_NAME=Workbench project:
-LABEL_IMPORT_WSDL=Import WSDL document
-LABEL_IMPORT_TO_WSIL=Import as a service reference to a WSIL document
-IMPORTED_WSDL_FILE_NAME=WSDL file name:
-WSIL_FILE_NAME=WSIL file name:
-MSG_ERROR_FILE_OVERWRITE_DISABLED=Cannot create the file "%2" relative to the path "%1" because automatic file overwriting has not been enabled. Do you want to enable it for this file?
-MSG_ERROR_INVALID_WORKBENCH_PROJECT=IWAB0130E Select a workbench project.
-MSG_ERROR_INVALID_WSDL_FILE_NAME=IWAB0131E Invalid file name.
-MSG_ERROR_INVALID_WSIL_FILE_NAME=IWAB0470E Invalid WSIL file name.
-MSG_ERROR_NO_IMPORT_OPTION_SELECTED=IWAB0471E No import option is selected. Please choose at least one import option.
-MSG_ERROR_WRITING_TEMP_FILE_TO_FS=IWAB0132E Unable to write temporary file.
-MSG_INFO_IMPORT_TO_WORKBENCH_SUCCESSFUL=IWAB0314I %1 was successfully imported to the workbench.
-MSG_INFO_IMPORT_SERVICE_REF_TO_WSIL_SUCCESSFUL=IWAB0472I Service reference was successfully imported to %1.
-
-# CheckWorkbenchFileReadOnlyAction
-MSG_ERROR_FILE_CHECKOUT_DISABLED=Cannot create the file "%2" relative to the path "%1" because automatic file check out has not been enabled. Do you want to enable it for this file?
-
-# ClearNodeAction
-MSG_INFO_NODE_CLEARED=IWAB0133I %1 cleared.
-
-# Table twistees
-ALT_TWIST_OPENED=Hide
-ALT_TWIST_CLOSED=Expand
-
-# WSDL Browser
-FORM_LINK_BROWSE=Browse...
-TITLE_WSDL_BROWSER=WSDL Browser - %1
-FORM_LABEL_WSDL_SOURCE=Select a WSDL source:
-FORM_LABEL_WSDL_CATEGORY=Category
-FORM_LABEL_WSDL_All=All
-FORM_LABEL_WSDL_SOURCE_WEBPROJECTS=Workspace Projects
-FORM_LABEL_WSDL_SOURCE_FAVORITES=Favorites
-FORM_LABEL_WEB_PROJECT=Workspace Project
-FORM_LABEL_WSDL_URL=WSDL URL
-FORM_BUTTON_REFRESH=Refresh
-ALT_WSDL_BROWSER=WSDL Browser
-WSDL_TYPE_SERVICE_INTERFACES=Service Interfaces
-WSDL_TYPE_SERVICES=Services
-
-# Calendar Browser
-TITLE_CALENDAR_BROWSER=Calendar Browser
-# 2 character abbreviations for days of the week.
-FORM_LABEL_SH_SUNDAY=Su
-FORM_LABEL_SH_MONDAY=Mo
-FORM_LABEL_SH_TUESDAY=Tu
-FORM_LABEL_SH_WEDNESDAY=We
-FORM_LABEL_SH_THURSDAY=Th
-FORM_LABEL_SH_FRIDAY=Fr
-FORM_LABEL_SH_SATURDAY=Sa
-# Months of the year
-FORM_LABEL_MONTH=Month:
-FORM_LABEL_JANUARY=January
-FORM_LABEL_FEBRUARY=February
-FORM_LABEL_MARCH=March
-FORM_LABEL_APRIL=April
-FORM_LABEL_MAY=May
-FORM_LABEL_JUNE=June
-FORM_LABEL_JULY=July
-FORM_LABEL_AUGUST=August
-FORM_LABEL_SEPTEMBER=September
-FORM_LABEL_OCTOBER=October
-FORM_LABEL_NOVEMBER=November
-FORM_LABEL_DECEMBER=December
-FORM_LABEL_YEAR=Year:
-FORM_LABEL_TIME=Time:
-FORM_LINK_TODAY=Today
-FORM_LINK_PREVIOUS_YEAR=<<
-FORM_LINK_PREVIOUS_MONTH=<
-FORM_LINK_NEXT_MONTH=>
-FORM_LINK_NEXT_YEAR=>>
-ALT_PREVIOUS_YEAR=Previous Year
-ALT_PREVIOUS_MONTH=Previous Month
-ALT_NEXT_MONTH=Next Month
-ALT_NEXT_YEAR=Next Year
-ALT_TODAY=Today
-ALT_CALENDAR_BROWSER=Calendar Browser
-MSG_ERROR_INVALID_TIME_FORMAT=IWAB0368E Time was not formatted as HH:MM:SS[.SSS]. Do you wish to use the current time instead?
-
-# Action engine
-TITLE_ACTION_RECORDER=Action Recorder
-FORM_LABEL_MODE=Mode:
-FORM_LABEL_MODE_PLAY=Play
-FORM_LABEL_MODE_STOP=Stop
-FORM_LABEL_MODE_RECORD=Record
-FORM_LABEL_SAVE=Save
-FORM_LABEL_PLAY_FILE=Play file:
-MSG_ERROR_INVALID_PLAY_FILE=IWAB0362E Enter a play file.
-
-# Frame titles
-FRAME_TITLE_PERSPECTIVE_WORKAREA=Web Services Explorer Internal Work Area
-FRAME_TITLE_PERSPECTIVE_TOOLBAR=Web Services Explorer Toolbar
-FRAME_TITLE_PERSPECTIVE_CONTENT=Web Services Explorer Page Content
-FRAME_TITLE_WSDL_TOOLBAR=WSDL Browser Toolbar
-FRAME_TITLE_WSDL_CONTENT=WSDL Browser Content
-
-# Form titles
-FORM_TITLE_PAGE_LOADER=Page Loader
-FORM_TITLE_PAGE_CONTENT=Loaded Page Content
-FORM_TITLE_LAUNCH_WEBSERVICE_WIZARD=Launch Web Service Wizard Form
-FORM_TITLE_IMPORT_TO_WORKBENCH=Import to Workbench Form
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/favorites.properties b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/favorites.properties
deleted file mode 100644
index 20f6b38d6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/favorites.properties
+++ /dev/null
@@ -1,164 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-title=Favorites
-
-# Navigator
-FAVORITES_MAIN_NODE=Favorites Main
-FAVORITES_WSIL_FOLDER_NODE=Favorite WSILs
-FAVORITES_WSDL_SERVICE_FOLDER_NODE=Favorite WSDL Services
-FAVORITES_UDDI_SERVICE_FOLDER_NODE=Favorite UDDI Services
-FAVORITES_UDDI_BUSINESSES_FOLDER_NODE=Favorite UDDI Businesses
-FAVORITES_UDDI_SERVICE_INTERFACES_FOLDER_NODE=Favorite UDDI Service Interfaces
-FAVORITES_UDDI_REGISTRIES_FOLDER_NODE=Favorite UDDI Registries
-FAVORITES_USER_DEF_UDDI_REGISTRIES_FOLDER_NODE=Favorite User Defined UDDI Registries
-
-# Form
-FORM_LABEL_FAVORITE_WSIL=Favorite WSILs
-FORM_LABEL_FAVORITE_WSDL=Favorite WSDLs
-FORM_LABEL_FAVORITE_UDDI_REGISTRY=Favorite UDDI Registries
-FORM_LABEL_FAVORITE_USER_DEF_UDDI_REGISTRY=Favorite User Defined UDDI Registries
-FORM_LABEL_FAVORITE_UDDI_SERVICE=Favorite UDDI Services
-FORM_LABEL_FAVORITE_UDDI_BUSINESS=Favorite UDDI Business Entities
-FORM_LABEL_FAVORITE_UDDI_SERVICE_INTERFACE=Favorite UDDI Service Interfaces
-FORM_LABEL_REMOVE=Remove
-FORM_LABEL_IMPORT_TO_WSIL_PERSPECTIVE=Add To WSIL Page
-FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE=Add To UDDI Page
-FORM_LABEL_IMPORT_TO_WSDL_PERSPECTIVE=Add To WSDL Page
-FORM_LABEL_URL=URL
-FORM_LABEL_ITEM_NUMBER=Item #
-FORM_LABEL_UDDI_VERSION=UDDI Version
-FORM_LABEL_NAME=Name
-FORM_LABEL_DESC=Description
-FORM_LABEL_DEFAULT_LOGIN=Default Login
-FORM_LABEL_DEFAULT_PASSWORD=Default Password
-FORM_LABEL_INQUIRY_URL=Inquiry URL
-FORM_LABEL_PUBLISH_URL=Publish URL
-FORM_LABEL_SECURE_INQUIRY_URL=Secure Inquiry URL
-FORM_LABEL_SECURE_PUBLISH_URL=Secure Publish URL
-FORM_LABEL_TAXONOMY=Taxonomy
-FORM_LABEL_LANGUAGE=Language
-FORM_LABEL_REGISTRY_NAME=Registry Name
-FORM_LABEL_BUSINESS_NAME=Business Name
-FORM_LABEL_BUSINESS_KEY=Business Key
-FORM_LABEL_SERVICE_NAME=Service Name
-FORM_LABEL_SERVICE_KEY=Service Key
-FORM_LABEL_SERVICE_INTERFACE_NAME=Service Interface Name
-FORM_LABEL_SERVICE_INTERFACE_KEY=Service Interface Key
-FORM_LABEL_REGISTRY_URL=<a href="%1" target="_blank">Click here</a> to obtain a user ID and password for this registry.
-FORM_LABEL_USER_DEFINED_CATEGORY_DATA_FILES=Data files for User Defined Categories
-MSG_ERROR_NOTHING_SELECTED=IWAB0315E Select at least one item.
-
-# ListFavoriteWSILAction
-ALT_LIST_FAVORITE_WSIL=List Favorite WSILs
-FORM_LABEL_LIST_FAVORITE_WSIL_DESC=Select a set of favorite WSIL links and press <strong>Add to WSIL Page</strong> to open them in the WSIL navigator. Press <strong>Remove</strong> to remove the selections.
-
-# ListFavoriteWSDLServiceAction
-ALT_LIST_FAVORITE_WSDL_SERVICE=List Favorite WSDL Services
-FORM_LABEL_LIST_FAVORITE_WSDL_SERVICE_DESC=Select a set of favorite WSDL services and press <strong>Remove</strong> to remove them.
-
-# ListFavoriteUDDIServiceAction
-ALT_LIST_FAVORITE_UDDI_SERVICE=List Favorite UDDI Services
-FORM_LABEL_LIST_FAVORITE_UDDI_SERVICE_DESC=Select a set of favorite UDDI services and press <strong>Add to UDDI Page</strong> to open them in the UDDI navigator. Press <strong>Remove</strong> to remove the selections.
-
-# ListFavoriteUDDIBusinessAction
-ALT_LIST_FAVORITE_UDDI_BUSINESS=List Favorite UDDI Businesses
-FORM_LABEL_LIST_FAVORITE_UDDI_BUSINESS_DESC=Select a set of favorite UDDI businesses and press <strong>Add to UDDI Page</strong> to open them in the UDDI navigator. Press <strong>Remove</strong> to remove the selections.
-
-# ListFavoriteUDDIRegistryAction
-ALT_LIST_FAVORITE_UDDI_REGISTRY=List Favorite UDDI Registries
-FORM_LABEL_LIST_FAVORITE_UDDI_REGISTRY_DESC=Select a set of favorite UDDI registries and press <strong>Add to UDDI Page</strong> to open them in the UDDI navigator. Press <strong>Remove</strong> to remove the selections.
-
-# ListFavoriteUserDefUDDIRegistryAction
-ALT_LIST_FAVORITE_USER_DEF_UDDI_REGISTRY=List Favorite User Defined UDDI Registries
-FORM_LABEL_LIST_FAVORITE_USER_DEF_UDDI_REGISTRY_DESC=Select a set of favorite UDDI registries and press <strong>Add to UDDI Page</strong> to open them in the UDDI navigator.
-
-# ListFavoriteUDDIServiceInterfaceAction
-ALT_LIST_FAVORITE_UDDI_SERVICE_INTERFACE=List Favorite UDDI Service Interfaces
-FORM_LABEL_LIST_FAVORITE_UDDI_SERVICE_INTERFACE_DESC=Select a set of favorite UDDI service interfaces and press <strong>Add to UDDI Page</strong> to open them in the UDDI navigator. Press <strong>Remove</strong> to remove the selections.
-
-# FavoritesWSILDetailsAction
-ALT_FAVORITES_WSIL_DETAILS=Favorite WSIL Details
-
-# FavoritesWSDLDetailsAction
-ALT_FAVORITES_WSDL_DETAILS=Favorite WSDL Details
-
-# FavoritesUDDIRegistryDetailsAction
-ALT_FAVORITES_UDDI_REGISTRY_DETAILS=Favorite UDDI Registry Details
-
-# FavoritesUserDefUDDIRegistryDetailsAction
-ALT_FAVORITES_USER_DEF_UDDI_REGISTRY_DETAILS=Favorite User Defined UDDI Registry Details
-
-# FavoritesUDDIBusinessDetailsAction
-ALT_FAVORITES_UDDI_BUSINESS_DETAILS=Favorite UDDI Business Details
-
-# FavoritesUDDIServiceDetailsAction
-ALT_FAVORITES_UDDI_SERVICE_DETAILS=Favorite UDDI Service Details
-
-# FavoritesUDDIServiceInterfaceDetailsAction
-ALT_FAVORITES_UDDI_SERVICE_INTERFACE_DETAILS=Favorite UDDI Service Interface Details
-
-# AddWSILToWSILPerspectiveAction
-ALT_ADD_WSIL_TO_WSIL_PERSPECTIVE=Add to WSIL Page
-MSG_ERROR_WSIL_ALREADY_OPENED=IWAB0316E %1 is already opened in WSIL Page.
-MSG_INFO_ADD_WSIL_TO_WSIL_PERSPECTIVE_SUCCESSFUL=IWAB0317I %1 is added to WSIL Page.
-MSG_ERROR_ADD_WSIL_TO_WSIL_PERSPECTIVE=IWAB0318E WSIL %1 could not be loaded.
-
-# AddToUDDIPerspectiveAction
-ALT_ADD_TO_UDDI_PERSPECTIVE=Add to UDDI Page
-MSG_ERROR_ADD_TO_UDDI_PERSPECTIVE=IWAB0320E %1 could not be found in the registry.
-MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL=IWAB0321I %1 is added to UDDI Page.
-
-# FavoritesAddToWSDLPerspectiveAction
-ALT_ADD_WSDL_TO_WSDL_PERSPECTIVE=Add to WSDL Page
-MSG_INFO_ADD_WSDL_TO_WSDL_PERSPECTIVE_SUCCESSFUL=IWAB0369I %1 is added to WSDL Page.
-MSG_ERROR_ADD_WSDL_TO_WSDL_PERSPECTIVE=IWAB0370E WSDL %1 could not be loaded.
-
-# RemoveFavoriteAction
-ALT_REMOVE_FAVORITE=Remove Favorite
-MSG_CONFIRM_REMOVE_NODE=%1 is no longer resolvable. Do you wish to clear it?
-
-# FavoritesRestoreDefaultFavoritesAction
-ALT_RESTORE_DEFAULT_FAVORITES=Restore Default Favorites
-MSG_CONFIRM_RESTORE_DEFAULT_FAVORITES=This operation will overwrite the current favorites. Do you wish to continue?
-MSG_ERROR_OPEN_FAVORITES_BACKUP=IWAB0134E Unable to load the default favorites.
-MSG_INFO_FAVORITES_RESTORED_TO_DEFAULT=IWAB0322I Default Favorites are restored.
-MSG_ERROR_SAVE_FAVORITES_WSIL=IWAB0186E Unable to save favorites to %1.
-
-# Frame titles
-FRAME_TITLE_NAVIGATOR_CONTAINER=Navigator Container
-FRAME_TITLE_NAVIGATOR_TOOLBAR=Navigator Toolbar
-FRAME_TITLE_NAVIGATOR_CONTENT=Navigator Content
-FRAME_TITLE_ACTIONS_CONTAINER=Actions Container
-FRAME_TITLE_PROPERTIES_CONTAINER=Properties Container
-FRAME_TITLE_PROPERTIES_CONTENT=Properties Content
-FRAME_TITLE_PROPERTIES_TOOLBAR=Properties Toolbar
-FRAME_TITLE_STATUS_CONTAINER=Status Container
-FRAME_TITLE_STATUS_CONTENT=Status Content
-FRAME_TITLE_STATUS_TOOLBAR=Status Toolbar
-
-# Form titles
-FORM_TITLE_UDDI_BUSINESS_DETAILS=UDDI Business Details Form
-FORM_TITLE_UDDI_REGISTRY_DETAILS=UDDI Registry Details Form
-FORM_TITLE_USER_DEF_UDDI_REGISTRY_DETAILS=User Defined UDDI Registry Details Form
-FORM_TITLE_UDDI_SERVICE_DETAILS=UDDI Service Details Form
-FORM_TITLE_UDDI_SERVICE_INTERFACE_DETAILS=UDDI Service Interface Details Form
-FORM_TITLE_WSDL_DETAILS=WSDL Details Form
-FORM_TITLE_WSIL_DETAILS=WSIL Details Form
-
-# View titles
-VIEW_TITLE_UDDI_BUSINESS_LIST=UDDI Businesses List View
-VIEW_TITLE_UDDI_REGISTRY_LIST=UDDI Registries List View
-VIEW_TITLE_USER_DEF_UDDI_REGISTRY_LIST=User Defined UDDI Registries List View
-VIEW_TITLE_UDDI_SERVICE_INTERFACE_LIST=UDDI Service Interfaces List View
-VIEW_TITLE_UDDI_SERVICE_LIST=UDDI Services List View
-VIEW_TITLE_WSDL_SERVICE_LIST=WSDL Services List View
-VIEW_TITLE_WSIL_LIST=WSIL Links List View
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/uddi.properties b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/uddi.properties
deleted file mode 100644
index e47bf85c4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/uddi.properties
+++ /dev/null
@@ -1,496 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-title=UDDI
-
-# Nodes
-NODE_NAME_UDDI_MAIN=UDDI Main
-NODE_NAME_QUERIES_FOLDER=Executed Queries
-NODE_NAME_PUBLISHED_BUSINESSES_FOLDER=Published Businesses
-NODE_NAME_PUBLISHED_SERVICES_FOLDER=Published Services
-NODE_NAME_PUBLISHED_SERVICE_INTERFACES_FOLDER=Published Service Interfaces
-
-# OpenRegistryAction
-ALT_OPEN_REGISTRY=Open Registry
-FORM_LABEL_OPEN_REGISTRY_DESC=Specify the name and inquiry URL of the registry to be opened. Selecting a favorite registry will automatically fill in the required information. Press <strong>Go</strong> to open the registry.
-FORM_LABEL_FAVORITE_REGISTRY=Favorite Registry
-FORM_LABEL_REGISTRY_NAME=Registry Name
-FORM_LABEL_INQUIRY_URL=Inquiry URL
-MSG_ERROR_INVALID_REGISTRY_NAME=IWAB0136E Enter a valid registry name.
-MSG_ERROR_INVALID_INQUIRY_URL=IWAB0138E Enter a valid inquiry URL.
-MSG_INFO_REGISTRY_OPENED=IWAB0139I The registry named %1 located at %2 was opened successfully.
-
-# User-defined Categories
-FORM_LABEL_ADD_CATEGORY_DATA=<a href="%1">Click here</a> to load this category's data.
-FORM_CONTROL_TITLE_CATEGORY_FILE=Category data file name
-MSG_INFO_NO_USER_DEFINED_CATEGORIES_FOUND=IWAB0371I No user defined categories detected.
-MSG_INFO_NO_CATEGORY_DATA=IWAB0372I Category data for %1 is not available or is invalid.
-MSG_INFO_USER_DEFINED_CATEGORY_DATA_LOADED=IWAB0373I Data for user defined category %1 was successfully loaded.
-MSG_ERROR_INVALID_USER_DEFINED_CATEGORY_DATA_FILE_KEY=IWAB0374E Invalid data file for user defined category %1. A category key '%2' was found but '%3' was expected.
-MSG_ERROR_INVALID_USER_DEFINED_CATEGORY_DATA_FILE_FORMAT=IWAB0473E Unknown format in line: %1 of the data file for user defined category %2. The line is: "%3"
-MSG_ERROR_INVALID_USER_DEFINED_CATEGORY_DATA_FILE=IWAB0375E Invalid data file for user defined category %1.
-MSG_ERROR_SAVING_CATEGORY_DATA=IWAB0474E An error occured while saving data for category %1. Exception text: %2
-
-# UDDI Category Browser
-TITLE_CATEGORY_BROWSER=Category Browser
-ALT_CATEGORIES=Categories
-
-# Details
-ALT_REGISTRY_DETAILS=Registry Details
-ALT_BUSINESS_DETAILS=Business Details
-ALT_SERVICE_DETAILS=Service Details
-ALT_SERVICE_INTERFACE_DETAILS=Service Interface Details
-FORM_LABEL_DETAILS_EDITABLE=Details for <strong>%1</strong> are shown below. Some items may be added, removed, or changed. Authentication may be required for changes. Other actions are listed at the bottom of this page.
-
-# Get
-ALT_GET=Get
-
-# Common Form Control Title
-FORM_CONTROL_TITLE_NAME_TEXT_VALUE=Name value
-FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE=Description value
-FORM_CONTROL_TITLE_CATEGORY_KEY_NAME=Category key name
-FORM_CONTROL_TITLE_CATEGORY_KEY_VALUE=Category key value
-FORM_CONTROL_TITLE_IDENTIFIER_KEY_NAME=Identifier key name
-FORM_CONTROL_TITLE_IDENTIFIER_KEY_VALUE=Identifier key value
-FORM_CONTROL_TITLE_DISCOVERY_URL=Discovery URL
-FORM_CONTROL_TITLE_INPUT_TEXT_VALUE=UDDI registry name
-
-# Find actions
-ALT_FIND=Find
-ALT_SUBQUERY=Find %1 Subquery
-FORM_LABEL_QUERY_NAME=Name of this query
-DEFAULT_QUERY_NAME=query results
-DEFAULT_SUBQUERY_NAME=%1 - %2 subquery
-FORM_LABEL_SEARCH_FOR=Search for
-FORM_OPTION_BUSINESSES=Businesses
-FORM_OPTION_SERVICES=Services
-FORM_OPTION_SERVICE_INTERFACES=Service Interfaces
-FORM_LABEL_SEARCH_TYPE=Type of search
-FORM_RADIO_SIMPLE=Simple
-FORM_RADIO_ADVANCED=Advanced
-FORM_RADIO_UUID=UUID
-FORM_LABEL_FIND_BUSINESSES_SIMPLE_DESC=Enter the partial or complete name of a business to search for. The '%' symbol can be used as a wildcard that matches any character. Press <strong>Go</strong> to execute the search.
-FORM_LABEL_FIND_ADVANCED_DESC=Enter values for one or more of the parameters listed below. The '%' symbol can be used as a wildcard that matches any character in the Name field of the Names table. Authentication may be required. Press <strong>Go</strong> to execute the search.
-FORM_LABEL_FIND_BUSINESS_UUID_DESC=Enter the UUID of the business to search for. Press <strong>Go</strong> to execute the search.
-FORM_LABEL_NAMES=Names
-FORM_LINK_ADD=Add
-FORM_LINK_GET=Get
-FORM_LINK_FIND=Find
-FORM_LINK_REMOVE=Remove
-FORM_LABEL_OWNED=Owned
-FORM_LABEL_PUBLISH_URL=Publish URL
-FORM_LABEL_USERID=User ID
-FORM_LABEL_PASSWORD=Password
-FORM_LABEL_LANGUAGE=Language
-FORM_LABEL_NAME=Name
-FORM_LABEL_DESCRIPTION=Description
-FORM_OPTION_LANGUAGE_EN=English
-FORM_OPTION_LANGUAGE_AA=Afar
-FORM_OPTION_LANGUAGE_AB=Abkhazian
-FORM_OPTION_LANGUAGE_AF=Afrikaans
-FORM_OPTION_LANGUAGE_AM=Amharic
-FORM_OPTION_LANGUAGE_AR=Arabic
-FORM_OPTION_LANGUAGE_AS=Assamese
-FORM_OPTION_LANGUAGE_AY=Aymara
-FORM_OPTION_LANGUAGE_AZ=Azerbaijani
-FORM_OPTION_LANGUAGE_BA=Bashkir
-FORM_OPTION_LANGUAGE_BE=Byelorussian
-FORM_OPTION_LANGUAGE_BG=Bulgarian
-FORM_OPTION_LANGUAGE_BH=Bihari
-FORM_OPTION_LANGUAGE_BI=Bislama
-FORM_OPTION_LANGUAGE_BN=Bengali; Bangla
-FORM_OPTION_LANGUAGE_BO=Tibetan
-FORM_OPTION_LANGUAGE_BR=Breton
-FORM_OPTION_LANGUAGE_CA=Catalan
-FORM_OPTION_LANGUAGE_CO=Corsican
-FORM_OPTION_LANGUAGE_CZ=Czech
-FORM_OPTION_LANGUAGE_CY=Welsh
-FORM_OPTION_LANGUAGE_DA=Danish
-FORM_OPTION_LANGUAGE_DE=German
-FORM_OPTION_LANGUAGE_DZ=Bhutani
-FORM_OPTION_LANGUAGE_EL=Greek
-FORM_OPTION_LANGUAGE_EO=Esperanto
-FORM_OPTION_LANGUAGE_ES=Spanish
-FORM_OPTION_LANGUAGE_ET=Estonian
-FORM_OPTION_LANGUAGE_EU=Basque
-FORM_OPTION_LANGUAGE_FA=Persian
-FORM_OPTION_LANGUAGE_FI=Finnish
-FORM_OPTION_LANGUAGE_FJ=Fiji
-FORM_OPTION_LANGUAGE_FO=Faeroese
-FORM_OPTION_LANGUAGE_FR=French
-FORM_OPTION_LANGUAGE_FY=Frisian
-FORM_OPTION_LANGUAGE_GA=Irish
-FORM_OPTION_LANGUAGE_GD=Scots Gaelic
-FORM_OPTION_LANGUAGE_GL=Galician
-FORM_OPTION_LANGUAGE_GN=Guarani
-FORM_OPTION_LANGUAGE_GU=Gujarati
-FORM_OPTION_LANGUAGE_HA=Hausa
-FORM_OPTION_LANGUAGE_HI=Hindi
-FORM_OPTION_LANGUAGE_HR=Croatian
-FORM_OPTION_LANGUAGE_HU=Hungarian
-FORM_OPTION_LANGUAGE_HY=Armenian
-FORM_OPTION_LANGUAGE_IA=Interlingua
-FORM_OPTION_LANGUAGE_IE=Interlingue
-FORM_OPTION_LANGUAGE_IK=Inupiak
-FORM_OPTION_LANGUAGE_IN=Indonesian
-FORM_OPTION_LANGUAGE_IS=Icelandic
-FORM_OPTION_LANGUAGE_IT=Italian
-FORM_OPTION_LANGUAGE_IW=Hebrew
-FORM_OPTION_LANGUAGE_JA=Japanese
-FORM_OPTION_LANGUAGE_JI=Yiddish
-FORM_OPTION_LANGUAGE_JW=Javanese
-FORM_OPTION_LANGUAGE_KA=Georgian
-FORM_OPTION_LANGUAGE_KK=Kazakh
-FORM_OPTION_LANGUAGE_KL=Greenlandic
-FORM_OPTION_LANGUAGE_KM=Cambodian
-FORM_OPTION_LANGUAGE_KN=Kannada
-FORM_OPTION_LANGUAGE_KO=Korean
-FORM_OPTION_LANGUAGE_KS=Kashmiri
-FORM_OPTION_LANGUAGE_KU=Kurdish
-FORM_OPTION_LANGUAGE_KY=Kirghiz
-FORM_OPTION_LANGUAGE_LA=Latin
-FORM_OPTION_LANGUAGE_LN=Lingala
-FORM_OPTION_LANGUAGE_LO=Laothian
-FORM_OPTION_LANGUAGE_LT=Lithuanian
-FORM_OPTION_LANGUAGE_LV=Latvian, Lettish
-FORM_OPTION_LANGUAGE_MG=Malagasy
-FORM_OPTION_LANGUAGE_MI=Maori
-FORM_OPTION_LANGUAGE_MK=Macedonian
-FORM_OPTION_LANGUAGE_ML=Malayalam
-FORM_OPTION_LANGUAGE_MN=Mongolian
-FORM_OPTION_LANGUAGE_MO=Moldavian
-FORM_OPTION_LANGUAGE_MR=Marathi
-FORM_OPTION_LANGUAGE_MS=Malay
-FORM_OPTION_LANGUAGE_MT=Maltese
-FORM_OPTION_LANGUAGE_MY=Burmese
-FORM_OPTION_LANGUAGE_NA=Nauru
-FORM_OPTION_LANGUAGE_NE=Nepali
-FORM_OPTION_LANGUAGE_NL=Dutch
-FORM_OPTION_LANGUAGE_NO=Norwegian
-FORM_OPTION_LANGUAGE_OC=Occitan
-FORM_OPTION_LANGUAGE_OM=(Afan) Oromo
-FORM_OPTION_LANGUAGE_OR=Oriya
-FORM_OPTION_LANGUAGE_PA=Punjabi
-FORM_OPTION_LANGUAGE_PL=Polish
-FORM_OPTION_LANGUAGE_PS=Pashto, Pushto
-FORM_OPTION_LANGUAGE_PT=Portuguese
-FORM_OPTION_LANGUAGE_QU=Quechua
-FORM_OPTION_LANGUAGE_RM=Rhaeto-Romance
-FORM_OPTION_LANGUAGE_RN=Kirundi
-FORM_OPTION_LANGUAGE_RO=Romanian
-FORM_OPTION_LANGUAGE_RU=Russian
-FORM_OPTION_LANGUAGE_RW=Kinyarwanda
-FORM_OPTION_LANGUAGE_SA=Sanskrit
-FORM_OPTION_LANGUAGE_SD=Sindhi
-FORM_OPTION_LANGUAGE_SG=Sangro
-FORM_OPTION_LANGUAGE_SH=Serbo-Croatian
-FORM_OPTION_LANGUAGE_SI=Singhalese
-FORM_OPTION_LANGUAGE_SK=Slovak
-FORM_OPTION_LANGUAGE_SL=Slovenian
-FORM_OPTION_LANGUAGE_SM=Samoan
-FORM_OPTION_LANGUAGE_SN=Shona
-FORM_OPTION_LANGUAGE_SO=Somali
-FORM_OPTION_LANGUAGE_SQ=Albanian
-FORM_OPTION_LANGUAGE_SR=Serbian
-FORM_OPTION_LANGUAGE_SS=Siswati
-FORM_OPTION_LANGUAGE_ST=Sesotho
-FORM_OPTION_LANGUAGE_SU=Sundanese
-FORM_OPTION_LANGUAGE_SV=Swedish
-FORM_OPTION_LANGUAGE_SW=Swahili
-FORM_OPTION_LANGUAGE_TA=Tamil
-FORM_OPTION_LANGUAGE_TE=Tegulu
-FORM_OPTION_LANGUAGE_TG=Tajik
-FORM_OPTION_LANGUAGE_TH=Thai
-FORM_OPTION_LANGUAGE_TI=Tigrinya
-FORM_OPTION_LANGUAGE_TK=Turkmen
-FORM_OPTION_LANGUAGE_TL=Tagalog
-FORM_OPTION_LANGUAGE_TN=Setswana
-FORM_OPTION_LANGUAGE_TO=Tonga
-FORM_OPTION_LANGUAGE_TR=Turkish
-FORM_OPTION_LANGUAGE_TS=Tsonga
-FORM_OPTION_LANGUAGE_TT=Tatar
-FORM_OPTION_LANGUAGE_TW=Twi
-FORM_OPTION_LANGUAGE_UK=Ukrainian
-FORM_OPTION_LANGUAGE_UR=Urdu
-FORM_OPTION_LANGUAGE_UZ=Uzbek
-FORM_OPTION_LANGUAGE_VI=Vietnamese
-FORM_OPTION_LANGUAGE_VO=Volapuk
-FORM_OPTION_LANGUAGE_WO=Wolof
-FORM_OPTION_LANGUAGE_XH=Xhosa
-FORM_OPTION_LANGUAGE_YO=Yoruba
-FORM_OPTION_LANGUAGE_ZH=Chinese
-FORM_OPTION_LANGUAGE_ZU=Zulu
-FORM_LABEL_EXACT_NAME_MATCH=Exact match
-FORM_LABEL_CASE_SENSITIVE_MATCH=Case sensitive
-FORM_LABEL_SOUNDEX=Sound alike
-FORM_LABEL_IDENTIFIERS=Identifiers
-FORM_LABEL_IDENTIFIER_TYPE=Type
-
-# Do not translate the two items below.
-FORM_OPTION_IDENTIFIER_DUNS=D-U-N-S
-FORM_OPTION_IDENTIFIER_THOMAS_REGISTRY=Thomas Registry
-
-FORM_LABEL_KEY_NAME=Key name
-FORM_LABEL_KEY_VALUE=Key value
-FORM_LABEL_CATEGORIES=Categories
-FORM_LABEL_CATEGORY_TYPE=Type
-FORM_OPTION_CATEGORY_NAICS=NAICS
-FORM_OPTION_CATEGORY_UNSPSC_73=UNSPSC 7.3
-FORM_OPTION_CATEGORY_GEO=GEO
-FORM_LABEL_BUSINESS_CATEGORIES=Compare with:
-FORM_OPTION_BUSINESSES_ONLY=Businesses only
-FORM_OPTION_SERVICES_ONLY=Services only
-FORM_OPTION_BOTH=Businesses and Services
-FORM_LABEL_DISCOVERYURLS=Discovery URLs
-FORM_LABEL_DISCOVERYURL=Discovery URL
-FORM_LABEL_FINDQUALIFIERS=Find Qualifiers
-FORM_LABEL_COMBINE_KEYS=Combine keys:
-FORM_OPTION_ANDALLKEYS=And
-FORM_OPTION_ORALLKEYS=Or
-FORM_OPTION_ORLIKEKEYS=Or Like
-FORM_LABEL_SORT_BY_NAME=Sort by name:
-FORM_RADIO_SORT_ASC=Ascending
-FORM_RADIO_SORT_DESC=Descending
-FORM_LABEL_SORT_BY_DATE=Sort by date:
-FORM_LABEL_MAX_SEARCH_SET=Maximum size of search set:
-FORM_LABEL_MAX_RESULTS=Maximum number of results:
-FORM_LABEL_FIND_SERVICES_SIMPLE_DESC=Enter the partial or complete name of a service to search for. The '%' symbol can be used as a wildcard that matches any character. Press <strong>Go</strong> to execute the search.
-FORM_LABEL_FIND_SERVICE_UUID_DESC=Enter the UUID of the service to search for. Press <strong>Go</strong> to execute the search.
-FORM_LABEL_FIND_SERVICE_INTERFACES_SIMPLE_DESC=Enter the partial or complete name of a service interface to search for. The '%' symbol can be used as a wildcard that matches any character. Press <strong>Go</strong> to execute the search.
-FORM_LABEL_FIND_SERVICE_INTERFACE_UUID_DESC=Enter the UUID of the service interface to search for. Press <strong>Go</strong> to execute the search.
-FORM_LABEL_SERVICE_INTERFACES=Service Interfaces
-FORM_LABEL_UUID_KEY=UUID Key:
-FORM_LABEL_USE_SERVICE=Use service
-FORM_LABEL_SERVICE=Service
-FORM_LABEL_BUSINESS=Business
-FORM_LABEL_PUBLISH_ASSERTIONS=Publisher Assertions
-FORM_LABEL_DIRECTION=Direction
-FORM_LABEL_FROM_KEY=From Key
-FORM_LABEL_TO_KEY=To Key
-FORM_LABEL_STATUS=Status
-FORM_LABEL_ASSERTION_TYPE=Assertion Type
-FORM_OPTION_ASSERTION_TYPE_PARENT_CHILD=Parent-Child
-FORM_OPTION_ASSERTION_TYPE_PEER_TO_PEER=Peer-Peer
-FORM_OPTION_ASSERTION_TYPE_IDENTITY=Identity
-FORM_LABEL_ASSERTION_DIRETION_DESC=Direction <strong>From</strong> will create a publisher assertion from this business to the businesses above. Direction <strong>To</strong> will create a publisher assertion from the above businesses to this business.
-FORM_OPTION_ASSERTION_DIRECTION_FROM=--->
-FORM_OPTION_ASSERTION_DIRECTION_TO=<---
-FORM_LABEL_THIS_BUSINESS=This
-MSG_ERROR_INVALID_QUERY_NAME=IWAB0140E Enter a valid name for the query.
-MSG_ERROR_INVALID_NAMES=IWAB0141E Enter a series of valid names.
-MSG_ERROR_INVALID_PUBLISH_URL=IWAB0142E Enter a valid publish URL.
-MSG_ERROR_INVALID_USERID=IWAB0143E Enter a valid user ID.
-MSG_ERROR_INVALID_MAX_SEARCH_SET=IWAB0145E Enter a valid size for the maximum search set.
-MSG_ERROR_INVALID_MAX_RESULTS=IWAB0146E Enter a valid size for the maximum number of results.
-MSG_INFO_BUSINESSES_FOUND=IWAB0147I Number of businesses found: %1
-MSG_ERROR_NO_BUSINESSES_FOUND=IWAB0148E No businesses found.
-MSG_INFO_SERVICES_FOUND=IWAB0149I Number of services found: %1
-MSG_ERROR_NO_SERVICES_FOUND=IWAB0150E No services found.
-MSG_ERROR_SINGLE_ITEM=IWAB0151E Select just one item.
-MSG_QUESTION_ITEM_REPLACEMENT=The selection will replace an item already in the target. Do you wish to proceed?
-MSG_INFO_SERVICE_INTERFACES_FOUND=IWAB0152I Number of service interfaces found: %1
-MSG_ERROR_NO_SERVICE_INTERFACES_FOUND=IWAB0153E No service interfaces found.
-MSG_ERROR_NOTHING_SELECTED=IWAB0154E Select at least one item.
-MSG_ERROR_INVALID_UUID_KEY=IWAB0155E Enter a valid UUID key.
-MSG_ERROR_QUERY_NAME_CONFLICT=IWAB0156E The subquery's query name cannot be the same as the originator.
-MSG_ERROR_NO_ITEMS_TO_GET=IWAB0157E No items of the specified type have been published or discovered yet.
-MSG_INFO_NO_BUSINESSES_OR_SERVICE_INTERFACES_FOUND=IWAB0162I No Businesses, Services or Service Interfaces found.
-
-# Results
-ALT_QUERY_RESULTS=Query Results
-FORM_LABEL_SUBQUERY=The results may be used as inputs of another operation. Click the <strong>target</strong> link at the top to see the operation. Selected results can be used in the operation by clicking the <strong>Transfer</strong> button.
-FORM_LABEL_QUERY=Select a result to see more details or select a set of results and click a button to perform an operation.
-FORM_LINK_TARGET=target
-FORM_BUTTON_TRANSFER=Transfer
-FORM_BUTTON_REFRESH=Refresh
-FORM_BUTTON_ADD_TO_FAVORITES=Add to favorites
-FORM_BUTTON_UNPUBLISH=Unpublish
-FORM_BUTTON_CLEAR=Clear
-
-# Publish actions
-ALT_PUBLISH=Publish
-FORM_LABEL_PUBLISH=Publish:
-FORM_OPTION_BUSINESS=Business
-FORM_OPTION_SERVICE=Service
-FORM_OPTION_SERVICE_INTERFACE=Service Interface
-FORM_LABEL_PUBLISH_BUSINESS_SIMPLE_DESC=Enter a name and an optional description for the business to be published. Authentication may be required.
-FORM_LABEL_PUBLISH_BUSINESS_ADVANCED_DESC=Provide a name for the business to be published. Other parameters may also be specified. Authentication may be required.
-FORM_LABEL_PUBLISH_SERVICE_SIMPLE_DESC=Get or find a business and then provide the WSDL URL, name and an optional description for the service to be published. Authentication may be required.
-FORM_LABEL_PUBLISH_SERVICE_ADVANCED_DESC=Get or find a business and then provide the WSDL URL and a name for the service to be published. Other parameters may also be specified. Authentication may be required.
-FORM_LABEL_BUSINESS_PUBLISH_SERVICE_SIMPLE_DESC=Provide the WSDL URL, name and an optional description for the service to be published. Authentication may be required.
-FORM_LABEL_BUSINESS_PUBLISH_SERVICE_ADVANCED_DESC=Provide the WSDL URL and a name for the service to be published. Other parameters may also be specified. Authentication may be required.
-FORM_LABEL_PUBLISH_SERVICE_INTERFACE_SIMPLE_DESC=Enter a WSDL URL, name and an optional description for the service interface to be published. Authentication may be required.
-FORM_LABEL_PUBLISH_SERVICE_INTERFACE_ADVANCED_DESC=Provide the WSDL URL and name for the service interface to be published. Other parameters may also be specified. Authentication may be required.
-FORM_LABEL_PUBLISH_FORM=Publication format
-FORM_LABEL_DESCRIPTION=Description
-FORM_LABEL_DESCRIPTIONS=Descriptions
-MSG_INFO_BUSINESS_PUBLISHED=IWAB0158I Business %1 was successfully published.
-MSG_INFO_SERVICE_PUBLISHED=IWAB0159I Service %1 was successfully published.
-MSG_INFO_SERVICE_INTERFACE_PUBLISHED=IWAB0160I Service interface %1 was successfully published.
-MSG_ERROR_INVALID_NAME=IWAB0161E Enter a valid name.
-MSG_ERROR_ROW_BLANK_LANGUAGE=IWAB0250E Select a non-blank language for the %1 in row %2. Only the first row can have a blank language.
-MSG_ERROR_ROW_DUPLICATE_LANGUAGE=IWAB0251E Change the language for the %1 in row %2. The current one is already in use.
-MSG_ERROR_ROW_INVALID_TEXT=IWAB0252E Enter a valid %1 in row %2
-MSG_ERROR_INVALID_WSDL_URL=IWAB0253E Enter a valid WSDL URL.
-MSG_ERROR_NO_NAMES=IWAB0254E Add at least one name.
-MSG_ERROR_INVALID_SERVICE=IWAB0255E Provide a valid service.
-MSG_ERROR_INVALID_BUSINESS=IWAB0256E Provide a valid business.
-
-# Business Publish Service action
-ALT_PUBLISH_SERVICE=Publish Service
-
-# Login actions
-ALT_LOGIN=Login
-ALT_LOGOUT=Logout
-MSG_INFO_NO_MULTIPLE_LOGIN=Multiple logins with same ID not allowed
-MSG_INFO_LOGGED_IN_NODE=%1 - logged in as %2
-
-# WSDL Browser
-TITLE_WSDL_BROWSER=WSDL Browser - %1
-FORM_LABEL_WSDL_SOURCE=Select a WSDL source:
-FORM_LABEL_WSDL_SOURCE_WEBPROJECTS=Web Projects
-FORM_LABEL_WSDL_SOURCE_FAVORITES=Favorites
-FORM_LABEL_WEB_PROJECT=Web Project
-FORM_LABEL_WSDL_URL=WSDL URL
-ALT_WSDL_BROWSER=WSDL Browser
-
-# Details
-FORM_LINK_EDIT=Edit
-FORM_LINK_CANCEL=Cancel
-FORM_LABEL_BUSINESS_KEY=Business Key
-FORM_LABEL_SERVICE_KEY=Service Key
-FORM_LABEL_SERVICE_INTERFACE_KEY=TModel Key
-FORM_LABEL_USER_DEFINED_CATEGORIES=User Defined Categories
-FORM_LABEL_CHECKED=Checked
-FORM_LABEL_FILE=File
-MSG_QUESTION_PUBLISH_ITEM=The item could not be found in the registry. Do you wish to publish it?
-MSG_QUESTION_SERVICE_PUBLISH_BUSINESS=The service and its business could not be found in the registry. Proceed to publish?
-MSG_INFO_BUSINESS_UPDATED=IWAB0257I Business %1 was successfully updated.
-MSG_INFO_SERVICE_UPDATED=IWAB0258I Service %1 was successfully updated.
-MSG_INFO_SERVICE_INTERFACE_UPDATED=IWAB0259I Service Interface %1 was successfully updated.
-MSG_INFO_REGISTRY_UPDATED=IWAB0323I Registry %1 was successfully updated.
-
-# UnpublishAction
-ALT_UNPUBLISH_BUSINESS=Unpublish Business
-ALT_UNPUBLISH_SERVICE=Unpublish Service
-ALT_UNPUBLISH_SERVICE_INTERFACE=Unpublish Service Interface
-FORM_LABEL_UNPUBLISH_DESC=Press <strong>Go</strong> to unpublish this object. Authentication may be required.
-MSG_INFO_BUSINESS_UNPUBLISHED=IWAB0260I Business %1 was successfully unpublished.
-MSG_INFO_SERVICE_UNPUBLISHED=IWAB0261I Service %1 was successfully unpublished.
-MSG_INFO_SERVICE_INTERFACE_UNPUBLISHED=IWAB0262I Service Interface %1 was successfully unpublished.
-
-# Add to WSDL Perspective
-ALT_ADD_TO_WSDL_PERSPECTIVE=Add To WSDL Page
-MSG_INFO_WSDL_ADDED_TO_WSDL_PERSPECTIVE=IWAB0376I %1 was successfully added to WSDL page.
-MSG_ERROR_WSDL_NOT_ADDED_TO_WSDL_PERSPECTIVE=IWAB0377E %1 could not be added to WSDL page.
-
-# Add to Favorites
-ALT_ADD_TO_FAVORITES=Add To Favorites
-MSG_INFO_FAVORITE_ADDED=IWAB0263I %1 was successfully added to favorites.
-MSG_ERROR_FAVORITE_NOT_ADDED=IWAB0264E %1 could not be added to favorites.
-MSG_ERROR_FAVORITE_ALREADY_EXISTS=IWAB0324E %1 already exists in favorties.
-MSG_QUESTION_OVERWRITE_FAVORITES=Favorite already exists. Do you wish to overwrite?
-
-# Refresh
-MSG_INFO_NODE_REFRESHED=IWAB0265I %1 refreshed.
-MSG_QUESTION_REMOVE_NODE=%1 could not be found in the registry. Do you wish to clear it?
-
-# ManageReferencedServices
-ALT_MANAGE_REFERENCED_SERVICES=Manage Referenced Services
-FORM_LABEL_MANAGE_REFERENCED_SERVICES_DESC=Add discovered or published services to the list of referenced services by clicking the <strong>Add Services</strong> button. Remove selected references by clicking the <strong>Remove References</strong> button. Authentication may be required for changes.
-FORM_LABEL_REFERENCED_SERVICES=Referenced Services
-FORM_BUTTON_ADD_SERVICES=Add Services
-FORM_BUTTON_REMOVE_REFERENCES=Remove References
-MSG_ERROR_NO_REFERENCE_SELECTED=IWAB0266E Select at least one referenced service before proceeding.
-MSG_ERROR_NO_SERVICES=IWAB0267E Get or find at least one service before proceeding.
-MSG_ERROR_SERVICE_NOT_REFERENCED=IWAB0268E Service %1 could not be referenced.
-MSG_ERROR_REFERENCE_NOT_REMOVED=IWAB0269E Service reference %1 could not be removed.
-MSG_INFO_SERVICE_REFERENCED=IWAB0270I Service %1 was successfully referenced.
-MSG_INFO_SERVICE_REFERENCE_REMOVED=IWAB0271I Service reference %1 was successfully removed.
-
-# ManagePublisherAssertions
-ALT_MANAGE_PUBLISHER_ASSERTIONS=Manage Publisher Assertions
-FORM_LABEL_MANAGE_PUBLISHER_ASSERTIONS_DESC=Add discovered or published businesses to the list of publisher assertions by clicking <strong>Add Assertions</strong>. Remove selected assertions by clicking <strong>Remove Assertions</strong>. Complete selected assertions by clicking <strong>Complete Assertions</strong>. Click <strong>Refresh Assertions</strong> to refresh the list of assertions.
-FORM_LABEL_INCOMPLETE_ASSERTIONS_VISIBILITY_DESC=Please note that incomplete publisher assertions are visible only to the owner of the business.
-FORM_LABEL_BUSINESSES=Businesses
-FORM_BUTTON_SHOW_ALL_PUBLISHER_ASSERTIONS=Refresh Assertions
-FORM_BUTTON_COMPLETE_PUBLISHER_ASSERTIONS=Complete Assertions
-FORM_BUTTON_ADD_PUBLISHER_ASSERTIONS=Add Assertions
-FORM_BUTTON_REMOVE_PUBLISHER_ASSERTIONS=Remove Assertions
-MSG_INFO_PUBLISHER_ASSERTIONS_REFRESHED=IWAB0325I Publisher Assertions are refreshed.
-MSG_ERROR_NO_INCOMPLETE_ASSERTION_SELECTED=IWAB0326E Select at least one incomplete publisher assertion.
-MSG_ERROR_NOT_OWNED_BUSINESS=IWAB0327E This operation cannot be performed on a business owned by another party.
-
-# GetBusinesses
-ALT_GET_BUSINESS=Get Business
-ALT_GET_BUSINESSES=Get Businesses
-NODE_NAME_SERVICE_BUSINESS=Business for service %1
-NODE_NAME_SI_BUSINESSES=Businesses for service interface %1
-MSG_QUESTION_REMOVE_SERVICE_NODE=The service could not be found in the registry. Do you wish to remove this node?
-
-# GetServiceInterfaces
-ALT_GET_SERVICE_INTERFACES=Get Service Interfaces
-NODE_NAME_SERVICE_SERVICE_INTERFACES=Service interfaces for service %1
-MSG_QUESTION_GET_SI_REMOVE_SERVICE_NODE=The service could not be found in the registry. Do you wish to remove this node?
-
-# GetServices
-ALT_GET_SERVICES=Get Services
-NODE_NAME_SI_SERVICES=Services for service interface %1
-NODE_NAME_BUSINESS_SERVICES=Services for business %1
-MSG_QUESTION_REMOVE_SI_NODE=The service interface could not be found in the registry. Do you wish to remove this node?
-MSG_QUESTION_REMOVE_BUSINESS_NODE=The business could not be found in the registry. Do you wish to remove this node?
-
-# RefreshUDDINodesAction
-MSG_ERROR_NODE_DATA_VALIDATION_FAILED=IWAB0272E %1 could not be found in the registry.
-
-# Summaries
-ALT_SUMMARY_QUERIES=Summary of Queries
-ALT_SUMMARY_BUSINESSES=Summary of Businesses
-ALT_SUMMARY_SERVICES=Summary of Services
-ALT_SUMMARY_SERVICE_INTERFACES=Summary of Service Interfaces
-FORM_LABEL_QUERIES=Queries
-
-# SelectSubQueryItemAction
-MSG_QUESTION_ITEM_VALIDATION_FAILED=%1 could not be found in the registry. Do you wish to remove it?
-
-# Frame titles
-FRAME_TITLE_NAVIGATOR_CONTAINER=Navigator Container
-FRAME_TITLE_NAVIGATOR_TOOLBAR=Navigator Toolbar
-FRAME_TITLE_NAVIGATOR_CONTENT=Navigator Content
-FRAME_TITLE_ACTIONS_CONTAINER=Actions Container
-FRAME_TITLE_PROPERTIES_CONTAINER=Properties Container
-FRAME_TITLE_PROPERTIES_TOOLBAR=Properties Toolbar
-FRAME_TITLE_PROPERTIES_CONTENT=Properties Content
-FRAME_TITLE_STATUS_CONTAINER=Status Container
-FRAME_TITLE_STATUS_TOOLBAR=Status Toolbar
-FRAME_TITLE_STATUS_CONTENT=Status Content
-FRAME_TITLE_UDDI_PERSPECTIVE_CONTENT=UDDI Page Content
-FRAME_TITLE_CATEGORIES_WORKAREA=Categories Work Area
-FRAME_TITLE_CATEGORIES_TOOLBAR=Categories Toolbar
-FRAME_TITLE_CATEGORIES_CONTENT=Categories Content
-FRAME_TITLE_WSDL_TOOLBAR=WSDL Browser Toolbar
-FRAME_TITLE_WSDL_CONTENT=WSDL Browser Content
-
-# Form titles
-FORM_TITLE_BUSINESS_DETAILS=Business Details Form
-FORM_TITLE_BUSINESS_PUBLISH_SERVICE=Business Publish Service Form
-FORM_TITLE_GET_FORM=Select from Discovered and Published Objects Form
-FORM_TITLE_ITEMS_SUMMARY=Summary of Items Form
-FORM_TITLE_MANAGE_PUBLISHER_ASSERTIONS=Manage Publisher Assertions Form
-FORM_TITLE_MANAGE_REFERENCED_SERVICES=Manage Referenced Services Form
-FORM_TITLE_OPEN_REGISTRY=Open Registry Form
-FORM_TITLE_REGISTRY_DETAILS=Registry Details Form
-FORM_TITLE_REGISTRY_PUBLISH=Registry Publish Form
-FORM_TITLE_REGISTRY_FIND=Registry Find Form
-FORM_TITLE_RESULTS=Results Form
-FORM_TITLE_SERVICE_DETAILS=Service Details Form
-FORM_TITLE_SERVICE_INTERFACE_DETAILS=Service Interface Details Form
-FORM_TITLE_UNPUBLISH=Unpublish Form
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsdl.properties b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsdl.properties
deleted file mode 100644
index a6de7e87d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsdl.properties
+++ /dev/null
@@ -1,158 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-title=WSDL
-
-# Nodes
-NODE_NAME_WSDL_MAIN=WSDL Main
-
-# Frame titles
-FRAME_TITLE_NAVIGATOR_CONTAINER=Navigator Container
-FRAME_TITLE_NAVIGATOR_TOOLBAR=Navigator Toolbar
-FRAME_TITLE_NAVIGATOR_CONTENT=Navigator Content
-FRAME_TITLE_ACTIONS_CONTAINER=Actions Container
-FRAME_TITLE_PROPERTIES_CONTAINER=Properties Container
-FRAME_TITLE_PROPERTIES_TOOLBAR=Properties Toolbar
-FRAME_TITLE_PROPERTIES_CONTENT=Properties Content
-FRAME_TITLE_STATUS_CONTAINER=Status Container
-FRAME_TITLE_STATUS_TOOLBAR=Status Toolbar
-FRAME_TITLE_STATUS_CONTENT=Status Content
-FRAME_TITLE_WSDL_PERSPECTIVE_CONTENT=WSDL Page Content
-FRAME_TITLE_XSD_INFORMATION_TOOLBAR=XSD Information Dialog Toolbar
-FRAME_TITLE_XSD_INFORMATION_CONTENT=XSD Information Dialog Content
-
-# OpenWSDLAction
-ALT_OPEN_WSDL=Open WSDL
-MSG_ERROR_INVALID_WSDL_URL=IWAB0378E Enter a valid WSDL URL.
-MSG_ERROR_OPEN_WSDL=IWAB0379E Unable to open %1.
-MSG_ERROR_XSD_VALIDATION=IWAB0380E Errors were encountered while validating XML schemas.
-MSG_INFO_OPEN_WSDL_SUCCESSFUL=IWAB0381I %1 was successfully opened.
-
-# WSDL Element details
-ALT_WSDL_DETAILS=WSDL Details
-FORM_LABEL_WSDL_DETAILS_DESC=Shown below are the details for this WSDL document. Click on a service or binding to see its details.
-
-# WSDL Service Element details
-ALT_WSDL_SERVICE_DETAILS=WSDL Service Details
-FORM_LABEL_SERVICE_DETAILS_DESC=Shown below are the details for this &lt;service&gt; element. Click on a binding to see its operations.
-
-ALT_NIL=nil?
-
-# WSDL Binding Element details
-ALT_WSDL_BINDING_DETAILS=WSDL Binding Details
-FORM_LABEL_BINDING_DETAILS_DESC=Shown below are the details for this <strong>%1</strong> &lt;binding&gt; element. Click on an operation to fill in its parameters and invoke it or specify additional endpoints.
-
-# InvokeWSDLOperationAction
-ALT_INVOKE_WSDL_OPERATION=Invoke a WSDL Operation
-MSG_ERROR_UNABLE_TO_CONNECT=IWAB0382E Unable to connect to %1
-MSG_ERROR_VALIDATING_PARAMETER=IWAB0383E Error validating %1
-
-# WSDLAddToFavoritesAction
-ALT_ADD_WSDL_TO_FAVORITES=Add WSDL To Favorites
-MSG_ERROR_FAVORITES_ALREADY_EXISTS=IWAB0384E %1 already exists in favorites.
-MSG_ERROR_ADD_TO_FAVORITES=IWAB0385E Unable to add %1 to favorites.
-MSG_INFO_ADD_TO_FAVORITES_SUCCESSFUL=IWAB0386I %1 is added to favorites.
-MSG_QUESTION_OVERWRITE_FAVORITES=Favorite already exists. Do you wish to overwrite?
-
-# RefreshWSDLAction
-MSG_INFO_REFRESH_WSDL_SUCCESSFUL=IWAB0387I %1 is refreshed.
-MSG_QUESTION_REMOVE_WSDL_NODE=%1 is no longer resolvable. Do you wish to clear it?
-
-# UpdateWSDLBindingAction
-MSG_INFO_UPDATE_WSDL_BINDING_SUCCESSFUL=IWAB0388I Endpoints were successfully updated.
-
-# Form titles
-FORM_TITLE_OPEN_WSDL=Open WSDL Form
-FORM_TITLE_WSDL_DETAILS=WSDL Details Form
-FORM_TITLE_WSDL_SERVICE_DETAILS=WSDL Service Details Form
-FORM_TITLE_WSDL_BINDING_DETAILS=WSDL Binding Details Form
-FORM_TITLE_INVOKE_WSDL_OPERATION=WSDL Operation Form
-
-# Form Labels
-FORM_LABEL_OPEN_WSDL_DESC=Enter the URL of a WSDL document and click <strong>Go</strong> to explore.
-FORM_LABEL_SERVICES=Services
-FORM_LABEL_BINDINGS=Bindings
-FORM_LABEL_OPERATIONS=Operations
-FORM_LABEL_BINDING_TYPE=Type
-FORM_LABEL_BINDING_TYPE_UNSUPPORTED=Unsupported
-FORM_LABEL_BINDING_TYPE_SOAP=SOAP
-FORM_LABEL_BINDING_TYPE_HTTP_GET=HTTP GET
-FORM_LABEL_BINDING_TYPE_HTTP_POST=HTTP POST
-FORM_LABEL_NAME=Name
-FORM_LABEL_DOCUMENTATION=Documentation
-FORM_LABEL_ENDPOINT=Endpoint
-FORM_LABEL_INVOKE_WSDL_OPERATION_DESC=Enter the parameters of this WSDL operation and click <strong>Go</Strong> to invoke.
-FORM_LABEL_INVOKE_WSDL_OPERATION_DESC_NO_INPUT=There are no input parameters for the WSDL operation "%1". Click <strong>Go</Strong> to invoke.
-FORM_LINK_ADD=Add
-FORM_LINK_REMOVE=Remove
-FORM_LABEL_VALUES=Values
-FORM_LABEL_ENABLE_DISABLE_GROUP=Enable/Disable group
-FORM_LABEL_UNION_TYPE=Union types
-FORM_LABEL_LANGUAGE=Language
-FORM_LABEL_XSD_APPLICATION_INFORMATION=Application Information
-FORM_LABEL_XSD_DOCUMENTATION=Documentation
-FORM_LABEL_SOAP_REQUEST_ENVELOPE=SOAP Request Envelope:
-FORM_LABEL_SOAP_RESPONSE_ENVELOPE=SOAP Response Envelope:
-FORM_LABEL_GROUP_ALL_ORDERING_MOVE_UP=Move element up
-FORM_LABEL_GROUP_ALL_ORDERING_MOVE_DOWN=Move element down
-FORM_LABEL_BASE_TYPE=Base type
-FORM_LABEL_UNBOUNDED=Unbounded
-FORM_LABEL_LENGTH=Length
-FORM_LABEL_LENGTH_VALUE=[%1..%2]
-FORM_LABEL_PATTERN=Pattern
-FORM_LABEL_WHITESPACE=Whitespace
-FORM_LABEL_RANGE_OF_VALUES=Range of values
-FORM_LABEL_MIN_EXCLUSIVE=(%1..
-FORM_LABEL_MIN_INCLUSIVE=[%1..
-FORM_LABEL_MAX_EXCLUSIVE=%1)
-FORM_LABEL_MAX_INCLUSIVE=%1]
-FORM_LABEL_TOTAL_DIGITS=Total digits
-FORM_LABEL_FRACTION_DIGITS=Fraction digits
-FORM_LABEL_OCCURANCE=Occurance of
-FORM_LABEL_UNION_MEMBERS=Union Members
-FORM_LABEL_LIST_ITEMS=List items
-FORM_LABEL_ELEMENTS=Elements
-FORM_LABEL_SOAP_ENC_ARRAYS=SOAP Arrays
-FORM_LABEL_CONTENT=Content
-FORM_LABEL_ATOMIC_NAME_TYPE=%1 (%2):
-FORM_LABEL_NULL=null
-FORM_LABEL_GROUP_NUMBER=Group %1
-FORM_LABEL_CHOICES=Choices
-FORM_LABEL_NOTHING_TO_DISPLAY_IN_FORM_VIEW=There is nothing to be displayed in the form view. Please switch to the source view for the SOAP request and response.
-FORM_LABEL_SOAP_RESPONSE_FAILED_VALIDATION_IN_FORM_VIEW=The SOAP response failed schema validation. Please switch to the source view for the SOAP response in XML format.
-FORM_LABEL_END_POINTS=Endpoints
-
-# Source/Form views
-FORM_LINK_FORM=Form
-ALT_SWITCH_TO_FORM_VIEW=Switch to form view
-FORM_LINK_SOURCE=Source
-ALT_SWITCH_TO_SOURCE_VIEW=Switch to source view
-FORM_LABEL_FRAGMENT_SOAP_VIEW_CONTENT=Soap Body:
-BUTTON_LABEL_LOAD=Load
-BUTTON_LABEL_SAVE_AS=Save As...
-MSG_QUESTION_SYNC_VIEWS=Format of the source content may be altered as a result of switching to the form view. Do you wish to process?
-MSG_QUESTION_SYNC_VIEWS_DESPITE_INVALID_SOURCE_CONTENT=Content of the source view failed schema validation. Synchronize anyways? (Content of the source view may be modified)
-
-# Form control titles
-FORM_CONTROL_TITLE_ENABLE_DISABLE_GROUP=Enable/Disable group
-FORM_CONTROL_TITLE_SELECT_ELEMENT_IN_GROUP=Select element in group
-FORM_CONTROL_TITLE_SELECT_UNION_TYPE=Select union type
-FORM_CONTROL_TITLE_SOAP_FILE=SOAP data file
-
-# XSD Information Dialog
-TITLE_XSD_INFORMATION_DIALOG=XSD Information Dialog
-
-# Error messages
-MSG_ERROR_NOTHING_SELECTED=IWAB0389E Select at least one item.
-MSG_ERROR_MAX_OCCURS_VIOLATION=IWAB0390E Maximum occurance is reached.
-MSG_ERROR_MIN_OCCURS_VIOLATION=IWAB0391E Minimum occurance is reached.
-MSG_ERROR_CANNOT_MOVE_FIRST_ELEMENT_UP=IWAB0392E Selected element is already the first in the group.
-MSG_ERROR_CANNOT_MOVE_LAST_ELEMENT_DOWN=IWAB0393E Selected element is already the last in the group.
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsil.properties b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsil.properties
deleted file mode 100644
index b64c5b731..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-properties/wsil.properties
+++ /dev/null
@@ -1,163 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-title=WSIL
-
-# Navigator
-WSIL_MAIN_NODE=WSIL Main
-
-# Forms
-FORM_LABEL_URL=URL
-FORM_LABEL_ITEM_NUMBER=Item #
-FORM_LABEL_UDDI_BUSINESS_NAME=UDDI Business Name
-FORM_LABEL_UDDI_SERVICE_NAME=UDDI Service Name
-FORM_LABEL_LANGUAGE=Language
-FORM_LABEL_ABSTRACT=Abstract
-FORM_LABEL_NAME=Name
-FORM_LABEL_WSDL_BINDINGS=WSDL Bindings
-FORM_LABEL_NAMESPACE_URI=Namespace URI
-FORM_LABEL_LOCAL_NAME=Local Name
-FORM_LABEL_INQUIRY_API=Inquiry API
-FORM_LABEL_SERVICE_KEY=Service Key
-FORM_LABEL_BUSINESS_KEY=Business Key
-FORM_LABEL_DISCOVERY_URL=Discovery URL
-FORM_LABEL_WSIL=WSIL Details
-FORM_LABEL_WSIL_LINKS=WSIL Links
-FORM_LABEL_WSDL_SERVICE=WSDL Services
-FORM_LABEL_UDDI_SERVICE=UDDI Services
-FORM_LABEL_UDDI_BUSINESS=UDDI Businesses
-FORM_LABEL_ADD_TO_NAVIGATOR=Add To Navigator
-FORM_LABEL_ADD_TO_FAVORITES=Add To Favorites
-FORM_LABEL_ADD_TO_UDDI_PERSPECTIVE=Add To UDDI Page
-FORM_LABEL_ADD_TO_WSDL_PERSPECTIVE=Add To WSDL Page
-FORM_LABEL_REFRESH=Refresh
-FORM_LABEL_NA=N/A
-FORM_LABEL_UNAVAILABLE_UDDI_SERVICE=Service Unavailable:
-FORM_LABEL_UNAVAILABLE_UDDI_BUSINESS=Business Unavailable:
-FORM_LABEL_CHOOSE_WSIL_INSPECTION_TYPE=Choose the type of objects to inspect:
-MSG_ERROR_NOTHING_SELECTED=IWAB0328E Select at least one item.
-
-# OpenWSILAction
-ALT_OPEN_WSIL=Open WSIL
-FORM_LABEL_OPEN_WSIL_DESC=Enter the URL of a WSIL document or a HTML document and click <strong>Go</strong> to open inspect.
-WSIL_URL=URL to document:
-MSG_ERROR_INVALID_WSIL_URL=IWAB0394E %1 is not a valid WSIL URL or HTML URL.
-MSG_ERROR_WSIL_ALREADY_OPENED=IWAB0329E %1 is already opened in the navigator.
-MSG_INFO_OPEN_WSIL_SUCCESSFUL=IWAB0330I %1 was successfully opened.
-
-# OpenWSILLinkAction
-ALT_OPEN_WSIL_LINK=Open WSIL Link
-MSG_ERROR_WSIL_LINK_ALREADY_OPENED=IWAB0331E %1 is already opened in the navigator
-MSG_INFO_OPEN_WSIL_LINK_SUCCESSFUL=IWAB0332I %1 was successfully opened.
-
-# WsilDetailsAction
-ALT_WSIL_DETAILS=WSIL Details
-
-# WsilServiceDetailsAction
-ALT_WSIL_SERVICE_DETAILS=WSIL Service Details
-
-# UddiLinkDetailsAction
-ALT_UDDI_LINK_DETAILS=UDDI Business Details
-
-# WsilLinkDetailsAction
-ALT_WSIL_LINK_DETAILS=WSIL Link Details
-
-# ListWSDLServicesAction
-ALT_LIST_WSDL_SERVICES=List All WSDL Services
-FORM_LABEL_LIST_WSDL_SERVICES_DESC=Select a set of WSDL services and click <strong>Add to Favorites</strong> to add these to the list of favorites.
-
-# ListUDDIServicesAction
-ALT_LIST_UDDI_SERVICES=List All UDDI Services
-FORM_LABEL_LIST_UDDI_SERVICES_DESC=Select a set of UDDI services and click <strong>Add to Favorites</strong> to add these to the list of favorites. Click <strong>Add to UDDI Page</strong> to add the selections to the UDDI Page. Click <strong>Refresh</strong> to refresh the selections.
-
-# ListUDDIBusinessesAction
-ALT_LIST_UDDI_LINKS=List All UDDI Businesses
-FORM_LABEL_LIST_UDDI_BUSINESSES_DESC=Select a set of UDDI businesses and click <strong>Add to Favorites</strong> to add these to the list of favorites. Click <strong>Add to UDDI Page</strong> to add these to the UDDI Page. Click <strong>Refresh</strong> to refresh the selections.
-
-# ListWSILLinksAction
-ALT_LIST_WSIL_LINKS=List All WSIL Links
-FORM_LABEL_LIST_WSIL_LINKS=Select a set of WSIL links and press <strong>Add to Navigator</strong> to open them in the navigator.
-
-# ClearWSILAction
-ALT_CLEAR_WSIL=Clear WSIL
-
-# RefreshAction
-ALT_REFRESH_WSIL=Refresh WSIL
-ALT_REFRESH_UDDI_BUSINESS=Refresh UDDI Business
-ALT_REFRESH_UDDI_SERVICE=Refresh UDDI Service
-MSG_ERROR_WSIL_NOT_FOUND=IWAB0333E WSIL %1 could not be loaded.
-MSG_ERROR_BUSINESS_NOT_FOUND=IWAB0334E Business %1 could not be found in the registry.
-MSG_ERROR_SERVICE_NOT_FOUND=IWAB0335E Service %1 could not be found in the registry.
-MSG_INFO_REFRESH_SUCCESSFUL=IWAB0336I %1 is refreshed.
-MSG_CONFIRM_REMOVE_NODE=%1 is no longer resolvable. Do you wish to clear it?
-
-# AddToUDDIPerspectiveAction
-ALT_ADD_BUSINESS_TO_UDDI_PERSPECTIVE=Add Business To UDDI Page
-ALT_ADD_SERVICE_TO_UDDI_PERSPECTIVE=Add Service To UDDI Page
-MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL=IWAB0337I %1 is added to UDDI Page.
-MSG_ERROR_ADD_TO_UDDI_PERSPECTIVE=IWAB0338E Unable to add %1 to UDDI Page.
-MSG_ERROR_BUSINESS_NOT_FOUND=IWAB0339E Business %1 could not be found in the registry.
-MSG_ERROR_SERVICE_NOT_FOUND=IWAB0340E Service %1 could not be found in the registry.
-
-# WsilAddToWSDLPerspectiveAction
-ALT_ADD_WSDL_TO_WSDL_PERSPECTIVE=Add WSDL To WSDL Page
-MSG_INFO_ADD_WSDL_TO_WSDL_PERSPECTIVE_SUCCESSFUL=IWAB0395I %1 is added to WSDL Page.
-MSG_ERROR_ADD_WSDL_TO_WSDL_PERSPECTIVE=IWAB0396E %1 could not be loaded.
-
-# AddWSILToFavoritesAction
-ALT_ADD_WSIL_TO_FAVORITES=Add WSIL To Favorites
-MSG_ERROR_ADD_TO_FAVORITES=IWAB0341E Unable to add %1 to favorites.
-MSG_ERROR_FAVORITES_ALREADY_EXISTS=IWAB0342E %1 already exists in favorites.
-MSG_INFO_ADD_TO_FAVORITES_SUCCESSFUL=IWAB0343I %1 is added to favorites.
-MSG_QUESTION_OVERWRITE_FAVORITES=Favorite already exists. Do you wish to overwrite?
-
-# AddWSDLServiceToFavoritesAction
-ALT_ADD_WSDL_SERVICE_TO_FAVORITES=Add WSDL To Favorites
-
-# AddBusinessToFavoritesAction
-ALT_ADD_UDDI_BUSINESS_TO_FAVORITES=Add UDDI Business To Favorites
-
-# AddServiceToFavoritesAction
-ALT_ADD_SERVICE_TO_FAVORITES=Add UDDI Service To Favorites
-
-# WSILImportWSILToWorkbench
-ATL_IMPORT_WSIL_TO_WORKBENCH=Import WSIL To Workbench
-FORM_LABEL_IMPORT_WSIL_TO_WORKBENCH_DESC=Select a workbench project to save the WSIL file into. You may also change the name of the WSIL file.
-
-# ImportToFileSystemAction
-ALT_WSIL_IMPORT_TO_FS=Import WSIL To File System
-ALT_WSDL_IMPORT_TO_FS=Import WSDL To File System
-
-# Frame titles
-FRAME_TITLE_NAVIGATOR_CONTAINER=Navigator Container
-FRAME_TITLE_NAVIGATOR_TOOLBAR=Navigator Toolbar
-FRAME_TITLE_NAVIGATOR_CONTENT=Navigator Content
-FRAME_TITLE_ACTIONS_CONTAINER=Actions Container
-FRAME_TITLE_PROPERTIES_CONTAINER=Properties Container
-FRAME_TITLE_PROPERTIES_CONTENT=Properties Content
-FRAME_TITLE_PROPERTIES_TOOLBAR=Properties Toolbar
-FRAME_TITLE_STATUS_CONTAINER=Status Container
-FRAME_TITLE_STATUS_CONTENT=Status Content
-FRAME_TITLE_STATUS_TOOLBAR=Status Toolbar
-
-# Form titles
-FORM_TITLE_OPEN_WSIL=Open WSIL Form
-FORM_TITLE_UDDI_BUSINESS_DETAILS=UDDI Business Details Form
-FORM_TITLE_UDDI_SERVICE_DETAILS=UDDI Service Details Form
-FORM_TITLE_WSDL_SERVICE_DETAILS=WSDL Service Details Form
-FORM_TITLE_WSIL_DETAILS=WSIL Details Form
-FORM_TITLE_WSIL_LINK_DETAILS=WSIL Link Details Form
-
-# View titles
-VIEW_TITLE_UDDI_BUSINESSES=UDDI Businesses View
-VIEW_TITLE_UDDI_SERVICES=UDDI Services View
-VIEW_TITLE_WSDL_SERVICES=WSDL Services View
-VIEW_TITLE_WSIL_LINKS=WSIL Links View
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/Action.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/Action.java
deleted file mode 100644
index 5f27c2f9c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/Action.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-import javax.servlet.http.HttpServletRequest;
-
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.CurrentNodeSelectionTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Perspective;
-
-// Abstract action class used for both Link and Form actions.
-public abstract class Action
-{
- protected Controller controller_;
- protected Hashtable propertyTable_;
- protected Vector removedProperties_;
-
- public Action()
- {
- this(null);
- }
-
- public Action(Controller controller)
- {
- controller_ = controller;
- propertyTable_ = new Hashtable();
- removedProperties_ = new Vector();
- }
-
- public final Controller getController()
- {
- return controller_;
- }
-
- /**
- * Read properties from an HttpServletRequest and add them to the property table.
- * @param HttpServletRequest The HttpServletRequest containing the embedded parameters.
- * @return boolean Whether or not the operation was successful.
- */
- public abstract boolean populatePropertyTable(HttpServletRequest request);
-
- /**
- * Get the property table.
- * @return Hashtable A hashtable containing the properties for this action.
- */
- public final Hashtable getPropertyTable()
- {
- return propertyTable_;
- }
-
- /**
- * Set the property table.
- * @return void
- */
- public void setPropertyTable(Hashtable propertyTable)
- {
- propertyTable_ = propertyTable;
- }
-
- /**
- * Add a property to the property table.
- * @param void
- */
- public final void addProperty(Object key, Object value)
- {
- propertyTable_.put(key, value);
- }
-
- /**
- * Remove a property from the property table. Track the deletions.
- * @param Object The key of the property being removed.
- */
- public final void removeProperty(Object key)
- {
- propertyTable_.remove(key);
- removedProperties_.addElement(key);
- }
-
- public final String[] getPropertyAsStringArray(Object key)
- {
- Object object = propertyTable_.get(key);
- if (object instanceof String[])
- return (String[])object;
- else if (object != null)
- return new String[] {object.toString()};
- else
- return new String[0];
- }
-
- public final boolean execute()
- {
- return execute(true);
- }
-
- public final boolean execute(boolean useActionEngine)
- {
- if (useActionEngine)
- return controller_.getActionEngine().executeAction(this);
- else
- return run();
- }
-
- // Abstract method for running this action.
- public abstract boolean run();
-
- /**
- * Return the transformers used to normalize the input/output parameters for this action
- * @return ITransformer[]
- */
- public ITransformer[] getTransformers()
- {
- return new ITransformer[] {new CurrentNodeSelectionTransformer(controller_)};
- }
-
- protected void handleUnexpectedException(Perspective perspective,MessageQueue messageQueue,String exceptionName,Throwable t)
- {
- messageQueue.addMessage(perspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage(exceptionName);
- messageQueue.addMessage(t.getMessage());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/CheckWorkbenchFileReadOnlyAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/CheckWorkbenchFileReadOnlyAction.java
deleted file mode 100644
index fd0e81f48..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/CheckWorkbenchFileReadOnlyAction.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-
-public class CheckWorkbenchFileReadOnlyAction extends Action
-{
- public static final String getActionLink()
- {
- return "actions/CheckWorkbenchFileReadOnlyActionJSP.jsp";
- }
-
- public boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearNodeAction.java
deleted file mode 100644
index c53fdc694..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearNodeAction.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060906 156398 jeffliu@ca.ibm.com - Jeffrey Liu
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.wst.ws.internal.datamodel.Rel;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public abstract class ClearNodeAction extends NodeAction
-{
- public ClearNodeAction(Controller controller,NodeManager nodeManager)
- {
- super(controller,nodeManager);
- }
-
- public boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- if (!isStaleNode(nodeId))
- {
- Node node = nodeManager_.getNode(nodeId);
- TreeElement element = node.getTreeElement();
- //element.disconnectAll();
- List elements2remove = new ArrayList();
- collectElements2Remove(element, elements2remove);
- for (Iterator it = elements2remove.iterator(); it.hasNext();)
- {
- TreeElement e = (TreeElement)it.next();
- e.getModel().removeElement(e);
- }
- if (element.getModel().getRootElement() != element)
- nodeManager_.removeFromNodeTable(nodeId);
- // Do not add this to the history.
- MessageQueue messageQueue = controller_.getCurrentPerspective().getMessageQueue();
- messageQueue.addMessage(controller_.getMessage("MSG_INFO_NODE_CLEARED",node.getNodeName()));
- return true;
- }
- return false;
- }
-
- private void collectElements2Remove(TreeElement element, List elements2remove)
- {
- if (!elements2remove.contains(element))
- {
- if (element.getModel().getRootElement() != element)
- elements2remove.add(element);
- Enumeration rels = element.getRels();
- while (rels.hasMoreElements())
- {
- Rel rel = (Rel)rels.nextElement();
- String relName = rel.getName();
- if (!ModelConstants.REL_OWNER.equals(relName))
- {
- Enumeration children = element.getElements(rel.getName());
- while (children.hasMoreElements())
- {
- collectElements2Remove((TreeElement)children.nextElement(), elements2remove);
- }
- }
- }
- }
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- // Deleting a node from the tree results in changes to the treeview and status contents.
- public abstract String getTreeContentVar();
- public abstract String getTreeContentPage();
- public abstract String getPropertiesContainerVar();
- public abstract String getPropertiesContainerPage();
- public abstract String getStatusContentVar();
- public abstract String getStatusContentPage();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearViewElementAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearViewElementAction.java
deleted file mode 100644
index 38d97214d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ClearViewElementAction.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-
-// Abstract action class used for both Link and Form actions.
-public abstract class ClearViewElementAction extends LinkAction
-{
- private String listManagerRel_;
- private NodeManager nodeManager_;
- public ClearViewElementAction(Controller controller,NodeManager nodeManager,String listManagerRel)
- {
- super(controller);
- nodeManager_ = nodeManager;
- listManagerRel_ = listManagerRel;
- }
-
- // ...jsp?viewId=...
- protected final boolean processLinkParameters(HttpServletRequest request)
- {
- String viewIdString = request.getParameter(ActionInputs.VIEWID);
- // Perform data validation.
- try
- {
- Integer.parseInt(viewIdString);
- }
- catch (NumberFormatException e)
- {
- // Validation failed!
- return false;
- }
- propertyTable_.put(ActionInputs.VIEWID,viewIdString);
- return true;
- }
-
- public final boolean run()
- {
- int viewId = Integer.parseInt((String)propertyTable_.get(ActionInputs.VIEWID));
- Node selectedNode = nodeManager_.getSelectedNode();
- ViewTool viewTool = (ViewTool)selectedNode.getToolManager().getSelectedTool();
- if (viewTool.getToolManager(viewId) == null)
- {
- // Stale view.
- return false;
- }
- TreeElement element = selectedNode.getTreeElement();
- ListManager listManager = (ListManager)element.getPropertyAsObject(listManagerRel_);
- listManager.removeElementWithViewId(viewId);
- viewTool.clearViewToolManager(viewId);
- selectedNode.setViewId(ActionInputs.VIEWID_DEFAULT);
- // Do not add this to the history.
- return true;
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public abstract String getPropertiesContainerVar();
- public abstract String getPropertiesContainerPage();
- public abstract String getStatusContentVar();
- public abstract String getStatusContentPage();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormAction.java
deleted file mode 100644
index 8ade3c5a9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormAction.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public abstract class FormAction extends Action
-{
- public FormAction(Controller controller)
- {
- super(controller);
- }
-
- protected abstract boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException;
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- try
- {
- MultipartFormDataParser parser = new MultipartFormDataParser();
- parser.parseRequest(request,HTMLUtils.UTF8_ENCODING);
- getSelectedFormTool().clearErrors();
- boolean result = processParsedResults(parser);
- removedProperties_.removeAllElements();
- return result;
- }
- catch (MultipartFormDataException e)
- {
- }
- return false;
- }
-
- public void setPropertyTable(Hashtable propertyTable)
- {
- try
- {
- processParsedResults(new MultipartFormDataParser(propertyTable));
- }
- catch (MultipartFormDataException mfde)
- {
- }
- for (Iterator it = propertyTable.keySet().iterator(); it.hasNext();)
- {
- Object key = it.next();
- Hashtable thisPropertyTable = getPropertyTable();
- if (!thisPropertyTable.containsKey(key))
- addProperty(key, propertyTable.get(key));
- }
- }
-
- protected final void addToHistory(int perspectiveId,String url)
- {
- controller_.addToHistory(perspectiveId,url);
- }
-
- public abstract FormTool getSelectedFormTool();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormInputException.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormInputException.java
deleted file mode 100644
index 0f94a9920..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/FormInputException.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-// A class for reporting form input exceptions.
-public class FormInputException extends Exception
-{
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3257846601685938742L;
-
-public FormInputException(String msg)
- {
- super(msg);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToFileSystemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToFileSystemAction.java
deleted file mode 100644
index 3ad12b3a3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToFileSystemAction.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import javax.servlet.http.HttpServletRequest;
-import javax.wsdl.Definition;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLWriter;
-import org.apache.wsil.WSILDocument;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl;
-
-public abstract class ImportToFileSystemAction extends LinkAction
-{
- public ImportToFileSystemAction(Controller controller)
- {
- super(controller);
- }
-
- // os is the OutputStream of the file in the file system
- public abstract boolean write(OutputStream os);
-
- // the default name for the file
- public abstract String getDefaultFileName();
-
- public boolean writeWSDLDefinition(OutputStream os, Definition definition)
- {
- try
- {
- WSDLFactory wsdlFactory = new WSDLFactoryImpl();
- WSDLWriter wsdlWriter = wsdlFactory.newWSDLWriter();
- wsdlWriter.writeWSDL(definition, os);
- return true;
- }
- catch (Throwable t)
- {
- return false;
- }
- }
-
- public boolean writeWSILDocument(OutputStream os, WSILDocument wsilDoc)
- {
- OutputStreamWriter osw = null;
- try
- {
- osw = new OutputStreamWriter(os);
- wsilDoc.write(osw);
- return true;
- }
- catch (Exception e)
- {
- return false;
- }
- finally
- {
- try
- {
- if (osw != null)
- osw.close();
- }
- catch (Exception e)
- {
- }
- }
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID, String jspPage)
- {
- StringBuffer actionLink = new StringBuffer(jspPage);
- actionLink.append('?');
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- protected boolean processLinkParameters(HttpServletRequest request)
- {
- String nodeID = request.getParameter(ActionInputs.NODEID);
- String toolID = request.getParameter(ActionInputs.TOOLID);
- String viewID = request.getParameter(ActionInputs.VIEWID);
- String viewToolID = request.getParameter(ActionInputs.VIEWTOOLID);
- try
- {
- Integer.parseInt(nodeID);
- Integer.parseInt(toolID);
- Integer.parseInt(viewID);
- Integer.parseInt(viewToolID);
- propertyTable_.put(ActionInputs.NODEID, nodeID);
- propertyTable_.put(ActionInputs.TOOLID, toolID);
- propertyTable_.put(ActionInputs.VIEWID, viewID);
- propertyTable_.put(ActionInputs.VIEWTOOLID, viewToolID);
- }
- catch (Exception e)
- {
- return false;
- }
- return true;
- }
-
- public abstract String getStatusContentVar();
-
- public abstract String getStatusContentPage();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToWorkbenchAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToWorkbenchAction.java
deleted file mode 100644
index 8a0c3f998..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ImportToWorkbenchAction.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060721 149070 gilberta@ca.ibm.com - Gilbert Andrews, update to respect preferences
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import java.io.BufferedInputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.OutputStream;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.wsil.AddWSDLToWSILCommand;
-
-public abstract class ImportToWorkbenchAction extends FormAction {
- private IWorkspaceRoot iWorkspaceRoot_;
- private IProject iProject_;
- private IResource targetFileResource_;
-
- public ImportToWorkbenchAction(Controller controller) {
- super(controller);
- iWorkspaceRoot_ = ResourcesPlugin.getWorkspace().getRoot();
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException {
- getSelectedFormTool();
- MessageQueue msgQueue = controller_.getCurrentPerspective().getMessageQueue();
- boolean inputsValid = true;
- String workbenchProjectName = parser.getParameter(ActionInputs.WORKBENCH_PROJECT_NAME);
- if (workbenchProjectName == null || workbenchProjectName.length() <= 0) {
- msgQueue.addMessage(controller_.getMessage("MSG_ERROR_INVALID_WORKBENCH_PROJECT"));
- inputsValid = false;
- }
- else
- {
- iProject_ = iWorkspaceRoot_.getProject(workbenchProjectName);
- propertyTable_.put(ActionInputs.WORKBENCH_PROJECT_NAME, workbenchProjectName);
- }
- String importFile = parser.getParameter(ActionInputs.IMPORT_FILE);
- if (importFile != null)
- {
- propertyTable_.put(ActionInputs.IMPORT_FILE, ActionInputs.IMPORT_FILE);
- String importedFileName = parser.getParameter(ActionInputs.IMPORTED_FILE_NAME);
- if (importedFileName == null || importedFileName.length() <= 0)
- {
- msgQueue.addMessage(controller_.getMessage("MSG_ERROR_INVALID_FILE_NAME"));
- inputsValid = false;
- }
- else
- propertyTable_.put(ActionInputs.IMPORTED_FILE_NAME, importedFileName);
- }
- String importToWSIL = parser.getParameter(ActionInputs.IMPORT_TO_WSIL);
- if (importToWSIL != null)
- {
- propertyTable_.put(ActionInputs.IMPORT_TO_WSIL, ActionInputs.IMPORT_TO_WSIL);
- propertyTable_.put(ActionInputs.IMPORTED_WSDL_URL, parser.getParameter(ActionInputs.IMPORTED_WSDL_URL));
- String wsilFileName = parser.getParameter(ActionInputs.WSIL_FILE_NAME);
- if (wsilFileName == null || wsilFileName.length() <= 0)
- {
- msgQueue.addMessage(controller_.getMessage("MSG_ERROR_INVALID_WSIL_FILE_NAME"));
- inputsValid = false;
- }
- else
- propertyTable_.put(ActionInputs.WSIL_FILE_NAME, wsilFileName);
- }
- if (importFile == null && importToWSIL == null)
- {
- msgQueue.addMessage(controller_.getMessage("MSG_ERROR_NO_IMPORT_OPTION_SELECTED"));
- inputsValid = false;
- }
- return inputsValid;
- }
-
- private OutputStream getOutputStream(String defaultFileName) throws FileNotFoundException {
- File file = new File(controller_.getServletEngineStateLocation() + defaultFileName);
- FileOutputStream fos = new FileOutputStream(file);
- return fos;
- }
-
- private boolean importTempFileToWebProject(String defaultFileName) throws FileNotFoundException, CoreException
- {
- if (targetFileResource_ != null && targetFileResource_.getType() == IResource.FILE)
- targetFileResource_.delete(true,new NullProgressMonitor());
-
- String importedFileName = (String)propertyTable_.get(ActionInputs.IMPORTED_FILE_NAME);
- File file = new File(controller_.getServletEngineStateLocation()+defaultFileName);
- BufferedInputStream bis = new BufferedInputStream(new FileInputStream(file));
-
- IFile iFile = iProject_.getFile("/"+importedFileName);
- iFile.create(bis,true,new NullProgressMonitor());
-
- // Remove the temporary file
- file.delete();
- return true;
- }
-
- public boolean fileExists()
- {
- String importedFileName = (String)propertyTable_.get(ActionInputs.IMPORTED_FILE_NAME);
- if (importedFileName != null)
- {
- targetFileResource_ = iProject_.findMember(importedFileName);
- return (targetFileResource_ != null && targetFileResource_.getType() == IResource.FILE);
- }
- else
- return false;
- }
-
- public boolean isTargetFileResourceReadOnly()
- {
- return targetFileResource_.getResourceAttributes().isReadOnly();
- }
-
-
- public boolean isCheckoutFilesEnabled()
- {
- return PersistentResourceContext.getInstance().isCheckoutFilesEnabled();
- }
-
- public String getWebServicePluginFileMessage(String messageId)
- {
- String importedFileName = (String)propertyTable_.get(ActionInputs.IMPORTED_FILE_NAME);
- return controller_.getMessage(messageId,new String[]{iProject_.getFullPath().toString(),importedFileName});
- }
-
-
- public boolean isOverwriteFilesEnabled()
- {
- return PersistentResourceContext.getInstance().isOverwriteFilesEnabled();
- }
-
- public boolean validateEdit()
- {
- IFile[] files = new IFile[1];
- files[0] = (IFile)targetFileResource_;
- IStatus status = ResourcesPlugin.getWorkspace().validateEdit(files,null);
- MessageQueue messageQueue = controller_.getCurrentPerspective().getMessageQueue();
- messageQueue.addMessage(status.getMessage());
- return status.isOK();
- }
-
- public boolean run() {
- MessageQueue msgQueue = controller_.getCurrentPerspective().getMessageQueue();
- if (propertyTable_.get(ActionInputs.IMPORT_FILE) != null)
- {
- try {
- ImportToFileSystemAction action = newImportToFileSystemAction();
- action.run();
- String defaultFileName = action.getDefaultFileName();
- if (!action.write(getOutputStream(defaultFileName))) {
- msgQueue.addMessage(controller_.getMessage("MSG_ERROR_WRITING_TEMP_FILE_TO_FS"));
- return false;
- }
- importTempFileToWebProject(defaultFileName);
- String importedFileName = (String)propertyTable_.get(ActionInputs.IMPORTED_FILE_NAME);
- msgQueue.addMessage(controller_.getMessage("MSG_INFO_IMPORT_TO_WORKBENCH_SUCCESSFUL", importedFileName));
- }
- catch (FileNotFoundException fnfe) {
- msgQueue.addMessage(fnfe.getMessage());
- return false;
- }
- catch (CoreException ce) {
- msgQueue.addMessage(ce.getMessage());
- return false;
- }
- }
- if (propertyTable_.get(ActionInputs.IMPORT_TO_WSIL) != null)
- {
- String projectName = (String)propertyTable_.get(ActionInputs.WORKBENCH_PROJECT_NAME);
- String importedWSILFileName = (String)propertyTable_.get(ActionInputs.WSIL_FILE_NAME);
- String wsdlURL = (String)propertyTable_.get(ActionInputs.IMPORTED_WSDL_URL);
- StringBuffer wsilPlatformURL = new StringBuffer("platform:/resource/");
- wsilPlatformURL.append(projectName);
- wsilPlatformURL.append('/');
- wsilPlatformURL.append(importedWSILFileName);
- AddWSDLToWSILCommand command = new AddWSDLToWSILCommand();
- String[] args = new String[5];
- args[0] = AddWSDLToWSILCommand.ARG_WSIL;
- args[1] = wsilPlatformURL.toString();
- args[2] = AddWSDLToWSILCommand.ARG_WSDL;
- args[3] = wsdlURL;
- args[4] = AddWSDLToWSILCommand.ARG_RESOLVE_WSDL;
- command.setArguments(args);
- IEnvironment env = new EclipseEnvironment(null, null, null);
- command.setEnvironment( env );
- command.execute( null, null );
- msgQueue.addMessage(controller_.getMessage("MSG_INFO_IMPORT_SERVICE_REF_TO_WSIL_SUCCESSFUL", importedWSILFileName));
- }
- return true;
- }
-
- public abstract String getStatusContentVar();
- public abstract String getStatusContentPage();
- public abstract ImportToFileSystemAction newImportToFileSystemAction();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LaunchWebServiceWizardAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LaunchWebServiceWizardAction.java
deleted file mode 100644
index f9ddf5e87..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LaunchWebServiceWizardAction.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import org.eclipse.wst.ws.internal.explorer.LaunchWizardRunnable;
-import org.eclipse.wst.ws.internal.explorer.LaunchWizardTask;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public abstract class LaunchWebServiceWizardAction extends FormAction
-{
- public LaunchWebServiceWizardAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String wizardID = parser.getParameter(ActionInputs.WEB_SERVICE_WIZARD);
- propertyTable_.put(ActionInputs.WEB_SERVICE_WIZARD, wizardID);
- return true;
- }
-
- public boolean launchWizard(String wsdlURL)
- {
- LaunchWizardTask task = LaunchWizardTask.getInstance();
- if (task.getIsExecuting())
- {
- controller_.getCurrentPerspective().getMessageQueue().addMessage(controller_.getMessage("MSG_ERROR_WIZARD_ALREADY_RUNNING"));
- return false;
- }
- int wizardID = Integer.parseInt((String)propertyTable_.get(ActionInputs.WEB_SERVICE_WIZARD));
- LaunchWizardRunnable runnable;
- if (wizardID == ActionInputs.WEB_SERVICE_CLIENT_WIZARD)
- runnable = new LaunchWizardRunnable("org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard", wsdlURL);
- else if (wizardID == ActionInputs.WEB_SERVICE_SKELETON_WIZARD)
- runnable = new LaunchWizardRunnable("org.eclipse.jst.ws.creation.ui.wizard.serverwizard", wsdlURL);
- else
- return false;
- task.checkAndAsyncExec(runnable);
- return true;
- }
-
- public abstract String getStatusContentVar();
-
- public abstract String getStatusContentPage();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LinkAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LinkAction.java
deleted file mode 100644
index 06c508f25..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/LinkAction.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-// Abstract class representing the action of clicking a link. These actions
-// may change the history list.
-public abstract class LinkAction extends Action
-{
- private boolean isAddedToHistory_;
- private boolean isStaleBreadCrumb_;
-
- public LinkAction(Controller controller)
- {
- super(controller);
- isAddedToHistory_ = false;
- isStaleBreadCrumb_ = false;
- }
-
- // Determine if the action was successfully added to this history list.
- // This should be called after the run() method.
- public final boolean isAddedToHistory()
- {
- return isAddedToHistory_;
- }
-
- protected abstract boolean processLinkParameters(HttpServletRequest request);
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- String isHistoryString = request.getParameter(ActionInputs.ISHISTORY);
- if (isHistoryString != null)
- propertyTable_.put(ActionInputs.ISHISTORY,isHistoryString);
- return processLinkParameters(request);
- }
-
- // Add the action's URL to the controller's history list.
- protected final void addToHistory(int perspectiveId,String url)
- {
- if (!isHistoryAction())
- isAddedToHistory_ = controller_.addToHistory(perspectiveId,url);
- }
-
- public final boolean isHistoryAction()
- {
- return (propertyTable_.get(ActionInputs.ISHISTORY) != null);
- }
-
- public final void setStaleBreadCrumb()
- {
- if (isHistoryAction())
- {
- isStaleBreadCrumb_ = true;
- controller_.processStaleBreadCrumb();
- }
- }
-
- public final boolean isStaleBreadCrumb()
- {
- return isStaleBreadCrumb_;
- }
-
- // Call this when a stale breadcrumb is encountered while traversing history chain.
- public final String getNextHistoryActionLink()
- {
- return RetrieveHistoryAction.getActionLink(controller_.getHistoryDirection());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/NodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/NodeAction.java
deleted file mode 100644
index 3059bf749..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/NodeAction.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public abstract class NodeAction extends LinkAction
-{
- protected NodeManager nodeManager_;
- private boolean requiresTreeViewRefresh_;
- private boolean requiresNodeSelection_;
- private boolean requiresViewSelection_;
- private boolean requiresStatusUpdate_;
-
- public NodeAction(Controller controller,NodeManager nodeManager)
- {
- super(controller);
- nodeManager_ = nodeManager;
- requiresTreeViewRefresh_ = false;
- requiresNodeSelection_ = false;
- requiresViewSelection_ = false;
- requiresStatusUpdate_ = false;
- }
-
- // ...jsp?nodeId=...<&isHistory=1>
- protected boolean processLinkParameters(HttpServletRequest request)
- {
- String nodeIdString = request.getParameter(ActionInputs.NODEID);
- // Perform data validation.
- try
- {
- Integer.parseInt(nodeIdString);
- }
- catch (NumberFormatException e)
- {
- // Validation failed!
- return false;
- }
- propertyTable_.put(ActionInputs.NODEID,nodeIdString);
- return true;
- }
-
- protected final boolean isStaleNode(int nodeId)
- {
- return (nodeManager_.getNode(nodeId) == null);
- }
-
- /**
- * Make a node visible. A node is visible when all of its ancestors are expanded.
- * @param Node The node to be made visible.
- * @return boolean Indicator for whether or not the tree structure was changed (i.e. expanded to show the node in question).
- */
- protected final boolean makeNodeVisible(Node node)
- {
- requiresTreeViewRefresh_ = node.getNodeManager().makeNodeVisible(node);
- return requiresTreeViewRefresh_;
- }
-
- /**
- * Make a node visible. A node is visible when all of its ancestors are expanded.
- * @param Node The node to be made visible.
- * @return boolean Indicator for whether or not the tree structure was changed (i.e. expanded to show the node in question).
- */
- public final void setTreeRefreshNeeded()
- {
- requiresTreeViewRefresh_ = true;
-
- }
-
- /**
- * Select a node with id nodeId.
- * @param int The id of the node to be selected.
- */
- protected final void setSelectedNodeId(int nodeId)
- {
- if (nodeManager_.getSelectedNodeId() != nodeId)
- {
- requiresNodeSelection_ = true;
- nodeManager_.setSelectedNodeId(nodeId);
- }
- }
-
- protected final void setSelectedViewId(int viewId)
- {
- Node selectedNode = nodeManager_.getSelectedNode();
- if (selectedNode.getViewId() != viewId)
- {
- requiresViewSelection_ = true;
- selectedNode.setViewId(viewId);
- }
- }
-
- // Determine whether or not the treeview requires reloading as a result of this action.
- // Reloading is required when branches are added/removed.
- public boolean requiresTreeViewRefresh()
- {
- return requiresTreeViewRefresh_;
- }
-
- // Determine whether or not a new node has been selected as a result of the action.
- public boolean requiresNodeSelection()
- {
- return requiresNodeSelection_;
- }
-
- // Determine if a new view element is selected.
- public boolean requiresViewSelection()
- {
- return requiresViewSelection_;
- }
-
- // Determine if any status messages arose from this action.
- public boolean requiresStatusUpdate()
- {
- return requiresStatusUpdate_;
- }
-
- protected abstract String getActionLinkForHistory();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenCalendarBrowserAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenCalendarBrowserAction.java
deleted file mode 100644
index 48ec08b1d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenCalendarBrowserAction.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-
-public class OpenCalendarBrowserAction extends Action
-{
- public OpenCalendarBrowserAction()
- {
- }
-
- // calendar_browser.jsp?sessionId=...&calendarType=...
- public static final String getActionLink(String sessionId,int calendarType)
- {
- StringBuffer actionLink = new StringBuffer("calendar_browser.jsp?");
- actionLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- actionLink.append('&').append(ActionInputs.CALENDAR_TYPE).append('=').append(calendarType);
- return actionLink.toString();
- }
-
- public static final String getActionLinkForDate(String sessionId)
- {
- return getActionLink(sessionId,ActionInputs.CALENDAR_TYPE_DATE);
- }
-
- public static final String getActionLinkForDateTime(String sessionId)
- {
- return getActionLink(sessionId,ActionInputs.CALENDAR_TYPE_DATETIME);
- }
-
- public static final String getActionLinkForGYearMonth(String sessionId)
- {
- return getActionLink(sessionId,ActionInputs.CALENDAR_TYPE_GYEARMONTH);
- }
-
- public static final String getActionLinkForGDay(String sessionId)
- {
- return getActionLink(sessionId,ActionInputs.CALENDAR_TYPE_GDAY);
- }
-
- public static final String getActionLinkForGMonthDay(String sessionId)
- {
- return getActionLink(sessionId,ActionInputs.CALENDAR_TYPE_GMONTHDAY);
- }
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public final boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenWSDLBrowserAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenWSDLBrowserAction.java
deleted file mode 100644
index fc176914a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/OpenWSDLBrowserAction.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-
-public class OpenWSDLBrowserAction extends Action
-{
- public OpenWSDLBrowserAction()
- {
- }
-
- public static final String getActionLink(String sessionId,int wsdlType)
- {
- StringBuffer actionLink = new StringBuffer("wsdl_browser.jsp?");
- actionLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- actionLink.append('&').append(ActionInputs.WSDL_TYPE).append('=').append(wsdlType);
- return actionLink.toString();
- }
-
- public static final String getActionLinkForService(String sessionId)
- {
- return getActionLink(sessionId,ActionInputs.WSDL_TYPE_SERVICE);
- }
-
- public static final String getActionLinkForServiceInterface(String sessionId)
- {
- return getActionLink(sessionId,ActionInputs.WSDL_TYPE_SERVICE_INTERFACE);
- }
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public final boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ProxyLoadPageAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ProxyLoadPageAction.java
deleted file mode 100644
index 56ef2d662..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ProxyLoadPageAction.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-
-public class ProxyLoadPageAction extends Action
-{
- // Get the action given a relative targetPage URL. e.g. "forms/LongLoadingForm.jsp"
- public static final String getActionLink(String targetPage)
- {
- return getActionLink(null,targetPage);
- }
-
- // Get the action given a sessionId and a relative targetPage URL.
- public static final String getActionLink(String sessionId,String targetPage)
- {
- StringBuffer actionLink = new StringBuffer("forms/ProxyLoadPage.jsp?");
- if (sessionId != null)
- actionLink.append(ActionInputs.SESSIONID).append('=').append(sessionId).append('&');
- actionLink.append(ActionInputs.TARGET_PAGE).append('=').append(targetPage);
- return actionLink.toString();
- }
-
- public boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ResizeFramesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ResizeFramesAction.java
deleted file mode 100644
index 1cc9e44a3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ResizeFramesAction.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public abstract class ResizeFramesAction extends Action
-{
- protected Controller controller_;
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String frameName = parser.getParameter(ActionInputs.FRAME_NAME);
- if (frameName != null)
- propertyTable_.put(ActionInputs.FRAME_NAME,frameName);
- else
- return false;
- return processOthers(parser);
- }
-
- protected abstract boolean processOthers(MultipartFormDataParser parser) throws MultipartFormDataException;
-
- public ResizeFramesAction(Controller controller)
- {
- controller_ = controller;
- }
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- try
- {
- MultipartFormDataParser parser = new MultipartFormDataParser();
- parser.parseRequest(request,HTMLUtils.UTF8_ENCODING);
- boolean result = processParsedResults(parser);
- return result;
- }
- catch (MultipartFormDataException e)
- {
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/RetrieveHistoryAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/RetrieveHistoryAction.java
deleted file mode 100644
index d24ce285a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/RetrieveHistoryAction.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.BreadCrumb;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class RetrieveHistoryAction extends LinkAction
-{
- private BreadCrumb breadCrumb_;
-
- public RetrieveHistoryAction(Controller controller)
- {
- super(controller);
- breadCrumb_ = null;
- }
-
- // actions/RetrieveHistoryAction.jsp?jump=1 - forward (ActionInputs.JUMP_FORWARD)
- // actions/RetrieveHistoryAction.jsp?jump=-1 - backward (ActionInputs.JUMP_BACK)
- public final static String getActionLink(int jump)
- {
- StringBuffer actionLink = new StringBuffer("actions/RetrieveHistoryActionJSP.jsp?");
- actionLink.append(ActionInputs.JUMP).append('=').append(jump);
- return actionLink.toString();
- }
-
- protected final boolean processLinkParameters(HttpServletRequest request)
- {
- String jumpString = request.getParameter(ActionInputs.JUMP);
- // Perform data validation.
- try
- {
- Integer.parseInt(jumpString);
- }
- catch (NumberFormatException e)
- {
- // Validation failed!
- return false;
- }
- propertyTable_.put(ActionInputs.JUMP,jumpString);
- return true;
- }
-
- public final boolean run()
- {
- int jump = Integer.parseInt((String)propertyTable_.get(ActionInputs.JUMP));
- switch (jump)
- {
- case ActionInputs.JUMP_FORWARD:
- breadCrumb_ = controller_.forward();
- return true;
- case ActionInputs.JUMP_BACK:
- breadCrumb_ = controller_.back();
- return true;
- }
- return false;
- }
-
- public final BreadCrumb getBreadCrumb()
- {
- return breadCrumb_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeAction.java
deleted file mode 100644
index 00fae9cfb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeAction.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.NodeSelectionTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public abstract class SelectNodeAction extends NodeAction
-{
- protected Node selectedNode_;
-
- public SelectNodeAction(Controller controller,NodeManager nodeManager)
- {
- super(controller,nodeManager);
- selectedNode_ = null;
- }
-
- public final void performBaseAction(int nodeId)
- {
- setSelectedNodeId(nodeId);
- selectedNode_ = nodeManager_.getSelectedNode();
- }
-
- public void performExtendedAction()
- {
- //the extended classes can interject here
- }
-
- public boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- if (!isStaleNode(nodeId))
- {
- // Ensure that the node is visible.
- makeNodeVisible(nodeManager_.getNode(nodeId));
- performBaseAction(nodeId);
- performExtendedAction();
- addToHistory(getPerspectiveId(),getActionLinkForHistory());
- return true;
- }
- setStaleBreadCrumb();
- return false;
- }
-
- public final Node getSelectedNode()
- {
- return selectedNode_;
- }
-
- public ITransformer[] getTransformers()
- {
- return new ITransformer[] {new NodeSelectionTransformer(controller_)};
- }
-
- // Selecting a node changes the treeview content and the properties container.
- public abstract String getTreeContentVar();
- public abstract String getTreeContentPage();
- public abstract String getPropertiesContainerVar();
- public abstract String getPropertiesContainerPage();
- public abstract int getPerspectiveId();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeToolAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeToolAction.java
deleted file mode 100644
index 9bdf7b575..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/SelectNodeToolAction.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.CurrentNodeSelectionTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-
-public abstract class SelectNodeToolAction extends SelectNodeAction
-{
- protected NodeManager nodeManager_;
- protected Tool selectedTool_;
-
- public SelectNodeToolAction(Controller controller,NodeManager nodeManager)
- {
- super(controller,nodeManager);
- nodeManager_ = nodeManager;
- selectedTool_ = null;
- }
-
- public final NodeManager getNodeManager()
- {
- return nodeManager_;
- }
-
- // ...jsp?nodeId=...&toolId=...<&viewId=...&viewToolId=...><&isHistory=1>
- protected boolean processLinkParameters(HttpServletRequest request)
- {
- boolean result = super.processLinkParameters(request);
- String toolIdString = request.getParameter(ActionInputs.TOOLID);
- String viewIdString = request.getParameter(ActionInputs.VIEWID);
- String viewToolIdString = request.getParameter(ActionInputs.VIEWTOOLID);
-
- // Perform data validation.
- try
- {
- Integer.parseInt(toolIdString);
- }
- catch (NumberFormatException e)
- {
- // Validation failed.
- return false;
- }
- propertyTable_.put(ActionInputs.TOOLID,toolIdString);
-
- // Optional properties
- try
- {
- int viewId = Integer.parseInt(viewIdString);
- propertyTable_.put(ActionInputs.VIEWID,viewIdString);
- if (viewId != ActionInputs.VIEWID_DEFAULT)
- {
- Integer.parseInt(viewToolIdString);
- propertyTable_.put(ActionInputs.VIEWTOOLID,viewToolIdString);
- }
- }
- catch (NumberFormatException e)
- {
- }
- return result;
- }
-
- public boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- if (!isStaleNode(nodeId))
- {
- // Ensure that the node is visible.
- makeNodeVisible(nodeManager_.getNode(nodeId));
- setSelectedNodeId(nodeId);
- selectedNode_ = nodeManager_.getSelectedNode();
- int toolId = Integer.parseInt((String)propertyTable_.get(ActionInputs.TOOLID));
- ToolManager toolManager = selectedNode_.getToolManager();
- toolManager.setSelectedToolId(toolId);
- selectedTool_ = toolManager.getSelectedTool();
- String viewIdString = ((String)propertyTable_.get(ActionInputs.VIEWID));
- if (viewIdString != null)
- {
- int viewId = Integer.parseInt(viewIdString);
- setSelectedViewId(viewId);
- if (viewId != ActionInputs.VIEWID_DEFAULT)
- {
- String viewToolIdString = ((String)propertyTable_.get(ActionInputs.VIEWTOOLID));
- ViewTool viewTool = (ViewTool)selectedTool_;
- if (viewToolIdString != null)
- {
- int viewToolId = Integer.parseInt(viewToolIdString);
- ToolManager viewToolManager = selectedNode_.getViewToolManager();
- if (viewToolManager == null)
- {
- if (!isHistoryAction())
- {
- viewToolManager = viewTool.createToolManager(viewId);
- viewToolId = viewToolManager.getSelectedToolId();
- }
- else
- {
- setStaleBreadCrumb();
- return false;
- }
- }
- viewToolManager.setSelectedToolId(viewToolId);
- }
- }
- }
- else
- setSelectedViewId(ActionInputs.VIEWID_DEFAULT);
- addToHistory(getPerspectiveId(),getActionLinkForHistory());
- return true;
- }
- setStaleBreadCrumb();
- return false;
- }
-
- public ITransformer[] getTransformers()
- {
- return new ITransformer[] {new CurrentNodeSelectionTransformer(controller_)};
- }
-
- public final Tool getSelectedViewTool()
- {
- if (propertyTable_.get(ActionInputs.VIEWID) != null)
- return selectedNode_.getViewToolManager().getSelectedTool();
- return null;
- }
-
- public final Tool getSelectedTool()
- {
- return selectedTool_;
- }
-
- // Selecting a node tool updates the properties content. Also, in the event
- // of a history switch, nodes may need to be selected resulting in changes to
- // both the treeview content and the properties container. These requirements are
- // covered through the base class.
- public abstract String getPropertiesContentVar();
- public abstract String getPropertiesContentPage();
- public String getStatusContentVar()
- {
- return null;
- }
-
- public String getStatusContentPage()
- {
- return null;
- }
-
- public abstract int getPerspectiveId();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ShowPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ShowPerspectiveAction.java
deleted file mode 100644
index be72f50bb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ShowPerspectiveAction.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class ShowPerspectiveAction extends LinkAction
-{
- public ShowPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- // actions/show_perspective.jsp?perspective=0<&isHistory=1> - UDDI (ActionInputs.PERSPECTIVE_UDDI)
- // actions/show_perspective.jsp?perspective=1<&isHistory=1> - WSIL (ActionInputs.PERSPECTIVE_WSIL)
- // actions/show_perspective.jsp?perspective=2<&isHistory=1> - WSDL (ActionInputs.PERSPECTIVE_WSDL)
- // actions/show_perspective.jsp?perspective=3<&isHistory=1> - Favorites (ActionInputs.PERSPECTIVE_FAVORITES)
- public final static String getActionLink(int newPerspective,boolean forHistory)
- {
- StringBuffer actionLink = new StringBuffer("actions/ShowPerspectiveActionJSP.jsp?");
- actionLink.append(ActionInputs.PERSPECTIVE).append('=').append(newPerspective);
- if (forHistory)
- actionLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return actionLink.toString();
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- return true;
- }
-
- protected final boolean processLinkParameters(HttpServletRequest request)
- {
- boolean result = false;
- String perspectiveString = request.getParameter(ActionInputs.PERSPECTIVE);
- // Perform data validation.
- try
- {
- Integer.parseInt(perspectiveString);
- propertyTable_.put(ActionInputs.PERSPECTIVE,perspectiveString);
- MultipartFormDataParser parser = new MultipartFormDataParser();
- parser.parseRequest(request,HTMLUtils.UTF8_ENCODING);
- result = processParsedResults(parser);
- removedProperties_.removeAllElements();
- }
- catch (NumberFormatException e)
- {
- // Validation failed! - This should not happen.
- }
- catch (MultipartFormDataException e)
- {
- }
- return result;
- }
-
- public boolean run()
- {
- int perspective = Integer.parseInt((String)propertyTable_.get(ActionInputs.PERSPECTIVE));
- controller_.setCurrentPerspective(perspective);
- addToHistory(perspective,getActionLink(perspective,true));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ToggleNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ToggleNodeAction.java
deleted file mode 100644
index 474048ce3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ToggleNodeAction.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.NodeIdTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public abstract class ToggleNodeAction extends NodeAction
-{
- protected Node toggledNode_;
- public ToggleNodeAction(Controller controller,NodeManager nodeManager)
- {
- super(controller,nodeManager);
- toggledNode_ = null;
- }
-
- // Toggle the current node and update the selection iff the currently selected
- // is a related descendant of a collapsed node.
- /**
- * Toggle the current node and update the selection iff the currently selected
- * node is a related descendant of the current node and the current node is
- * now collapsed as a result of this action.
- *
- * @param int The node ID of the node for which this action applies to.
- * @return boolean Indicator of whether or not a selection change was necessary.
- */
- public final boolean performBaseAction(int nodeId)
- {
- toggledNode_ = nodeManager_.getNode(nodeId);
- nodeManager_.setFocusedNodeId(nodeId);
- toggledNode_.setVisibilityOfChildren(!toggledNode_.isOpen());
- Node selectedNode = nodeManager_.getSelectedNode();
- if (selectedNode != null)
- {
- if (!selectedNode.isVisible())
- {
- setSelectedNodeId(nodeId);
- return true;
- }
- }
- return false;
- }
-
- public boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- if (!isStaleNode(nodeId))
- {
- if (performBaseAction(nodeId))
- {
- // Save the selection of the toggle link in the history.
- addToHistory(getPerspectiveId(),getActionLinkForHistory());
- }
- // Do not save the toggle in history.
- return true;
- }
- setStaleBreadCrumb();
- return false;
- }
-
- public final Node getToggledNode()
- {
- return toggledNode_;
- }
-
- public ITransformer[] getTransformers()
- {
- return new ITransformer[] {new NodeIdTransformer(controller_)};
- }
-
- public abstract String getTreeContentVar();
- public abstract String getTreeContentPage();
- public abstract String getPropertiesContainerVar();
- public abstract String getPropertiesContainerPage();
- public abstract int getPerspectiveId();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ValidateEditAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ValidateEditAction.java
deleted file mode 100644
index 78c95671a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/ValidateEditAction.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-
-public class ValidateEditAction extends Action
-{
- public static final String getActionLink()
- {
- return "actions/ValidateEditActionJSP.jsp";
- }
-
- public boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WSDLFileNameHelper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WSDLFileNameHelper.java
deleted file mode 100644
index 2471ea164..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WSDLFileNameHelper.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-public class WSDLFileNameHelper
-{
- private static final String default_ = "temp.wsdl";
-
- /**
- * Given a wsdl path (file, URL etc.), guess at the file name by looking for the .wsdl extension at the end of the
- * path and the file that it belongs to. If this is not possible, return the default defined in this class.
- * @param String The path (file, URL etc.) of this WSDL file.
- * @return String The WSDL file name determined by this routine.
- */
- public static final String getWSDLFileName(String wsdlPathname)
- {
- if (wsdlPathname != null)
- {
- if (wsdlPathname.endsWith(".wsdl"))
- {
- int lastSeparatorPos = Math.max(wsdlPathname.lastIndexOf("/"),wsdlPathname.lastIndexOf("\\"));
- if (lastSeparatorPos > 0)
- return wsdlPathname.substring(lastSeparatorPos+1,wsdlPathname.length());
- }
- }
- return default_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WriteWSDLToWorkbenchAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WriteWSDLToWorkbenchAction.java
deleted file mode 100644
index 8b96d21b0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/actions/WriteWSDLToWorkbenchAction.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.actions;
-
-import javax.servlet.http.HttpServletRequest;
-
-public class WriteWSDLToWorkbenchAction extends Action
-{
- public static final String getActionLink()
- {
- return "actions/WriteWSDLToWorkbenchActionJSP.jsp";
- }
-
- public boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ActionInputs.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ActionInputs.java
deleted file mode 100644
index 97f978392..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ActionInputs.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.constants;
-
-public class ActionInputs
-{
- // URL parm for all actions which are in the history list.
- public static final String ISHISTORY = "isHistory";
-
- // Utility constant for tree node identification.
- public static final String NODEID = "nodeId";
-
- // Utility constant for tool identification.
- public static final String TOOLID = "toolId";
-
- // Utility constant for view identification.
- public static final String VIEWID = "viewId";
- public static final int VIEWID_DEFAULT = -1;
-
- // Utility constant for view tool identification.
- public static final String VIEWTOOLID = "viewToolId";
- public static final int VIEWTOOLID_DEFAULT = -1;
-
- // Utility constants for transport classes
- public static final String TRANSPORT_CLASS_NAME = "org.uddi4j.TransportClassName";
- public static final String TRASPORT_CLASS = "org.uddi4j.transport.ApacheAxisTransport";
- //public static final String AXIS_TRANSPORT_CLASS = "org.uddi4j.transport.ApacheAxisTransport";
- //public static final String SOAP_TRANSPORT_CLASS = "org.uddi4j.transport.ApacheSOAPTransport";
-
- // ToggleNodeAction and its derivatives.
- public static final String OPEN = "open";
- public static final int OPEN_NODE = 1;
- public static final int CLOSE_NODE = 0;
-
- // ShowPerspectiveAction
- public static final String PERSPECTIVE = "perspective";
- public static final int PERSPECTIVE_UDDI = 0;
- public static final int PERSPECTIVE_WSIL = 1;
- public static final int PERSPECTIVE_WSDL = 2;
- public static final int PERSPECTIVE_FAVORITES = 3;
-
- // RetrieveHistoryAction
- public static final String JUMP = "jump";
- public static final int JUMP_FORWARD = 1;
- public static final int JUMP_BACK = -1;
-
- // LaunchWebServiceWizardAction
- public final static String WEB_SERVICE_WIZARD = "webServiceWizard";
- public final static int WEB_SERVICE_CLIENT_WIZARD = 0;
- public final static int WEB_SERVICE_SKELETON_WIZARD = 1;
-
- // ImportToWorkbenchAction
- public final static String WORKBENCH_PROJECT_NAME = "workbenchProjectName";
- public final static String IMPORT_FILE = "importWSDL";
- public final static String IMPORTED_FILE_NAME = "importedFileName";
- public final static String IMPORT_TO_WSIL = "importToWSIL";
- public final static String WSIL_FILE_NAME = "WSILFileName";
- public final static String IMPORTED_WSDL_URL = "importedWsdlUrl";
- public final static String IMPORT_ACTION = "importAction";
-
- // ProxyLoadAction
- public final static String TARGET_PAGE = "targetPage";
-
- // Session ID for pop ups whose browsers choose to ignore the session.
- public final static String SESSIONID = "sId";
-
- // WSDL Browser
- public static final String PROJECT = "project";
- public static final String CATEGORY = "category";
- public static final String WSDL_TYPE = "wsdlType";
- public static final int WSDL_TYPE_SERVICE_INTERFACE = 0;
- public static final int WSDL_TYPE_SERVICE = 1;
- public static final String QUERY_INPUT_WEBPROJECT_WSDL_URL = "webProjectWSDLURL";
- public static final String QUERY_INPUT_FAVORITE_WSDL_URL = "favoriteWSDLURL";
- public static final String QUERY_INPUT_WSDL_URL = "wsdlURL";
-
- // Calendar Browser
- public static final String CALENDAR_TYPE = "calendarType";
- public static final int CALENDAR_TYPE_DATE = 0;
- public static final int CALENDAR_TYPE_DATETIME = 1;
- public static final int CALENDAR_TYPE_GYEARMONTH = 2;
- public static final int CALENDAR_TYPE_GDAY = 3;
- public static final int CALENDAR_TYPE_GMONTHDAY = 4;
-
- // ResizeFrameAction
- public static final String FRAME_NAME = "frameName";
-
- // Other Actions
- public static final String CURRENT_TOOL_MANAGER = "currentToolManager";
-
- // Action Engine
- public static final String ACTION_ENGINE_SCENARIO = "actionEngineScenario";
- public static final String ACTION_ENGINE_MODE = "actionEngineMode";
-
- // MultipartFormDataParser
- public static final String MULTIPART_FORM_DATA_PARSER = "multipartFormDataParser";
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/FrameNames.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/FrameNames.java
deleted file mode 100644
index eb71f5fd1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/FrameNames.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.constants;
-
-public class FrameNames
-{
- // wsexplorer.jsp
- public final static String WINDOW_NAME_WSEXPLORER_JSP = "wsexplorer.jsp";
- public final static String PERSPECTIVE_WORKAREA = "perspective_workarea";
- public final static String PERSPECTIVE_TOOLBAR = "perspective_toolbar";
- public final static String PERSPECTIVE_CONTENT = "perspective_content";
-
- // WSDL Browser
- public final static String WSDL_TOOLBAR = "wsdl_toolbar";
- public final static String WSDL_CONTENT = "wsdl_content";
-
- // Calendar Browser
- public final static String CALENDAR_TOOLBAR = "calendar_toolbar";
- public final static String CALENDAR_CONTENT = "calendar_content";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ModelConstants.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ModelConstants.java
deleted file mode 100644
index dd55527ba..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ModelConstants.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.constants;
-
-public class ModelConstants
-{
- public static final String REL_ID = "relationshipId";
- public static final String REL_LOCALNAME_SEPARATOR = "#";
- public static final String REL_OWNER = "owner";
- public static final String REL_CHILDREN = "children";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ToolTypes.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ToolTypes.java
deleted file mode 100644
index b27134cd1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/constants/ToolTypes.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.constants;
-
-public class ToolTypes
-{
- public static final byte FORM = 0;
- public static final byte ACTION = 1;
- public static final byte VIEW = 2;
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListElement.java
deleted file mode 100644
index 49f3f3fd2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListElement.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.datamodel;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-
-public class ListElement
-{
- private int viewId_;
- private Object object_;
- // For search parameters: info on the Node and ViewTool holding this element.
- private int targetNodeId_;
- private int targetToolId_;
- private int targetViewId_;
-
- public ListElement(Object object)
- {
- object_ = object;
- viewId_ = ActionInputs.VIEWID_DEFAULT;
- targetNodeId_ = -1;
- targetToolId_ = -1;
- targetViewId_ = ActionInputs.VIEWID_DEFAULT;
- }
-
- public final Object getObject()
- {
- return object_;
- }
-
- public final void setViewId(int viewId)
- {
- viewId_ = viewId;
- }
-
- public final int getViewId()
- {
- return viewId_;
- }
-
- public final void setTargetViewToolInfo(int nodeId,int toolId,int viewId)
- {
- targetNodeId_ = nodeId;
- targetToolId_ = toolId;
- targetViewId_ = viewId;
- }
-
- public final int getTargetNodeId()
- {
- return targetNodeId_;
- }
-
- public final int getTargetToolId()
- {
- return targetToolId_;
- }
-
- public final int getTargetViewId()
- {
- return targetViewId_;
- }
-
- public final String toString() {
- return getObject().toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListManager.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListManager.java
deleted file mode 100644
index abbd14650..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/ListManager.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-
-public class ListManager
-{
- private int nextViewId_;
- private Vector itemsList_;
- private Hashtable itemsTable_;
-
- public ListManager()
- {
- nextViewId_ = 0;
- itemsList_ = new Vector();
- itemsTable_ = new Hashtable();
- }
-
- private final void updateManager(ListElement element)
- {
- itemsTable_.put(String.valueOf(nextViewId_),element);
- element.setViewId(nextViewId_);
- nextViewId_++;
- }
-
- public final void add(ListElement element)
- {
- itemsList_.addElement(element);
- updateManager(element);
- }
-
- public final void addWithCurrentViewId(ListElement element)
- {
- itemsList_.addElement(element);
- itemsTable_.put(String.valueOf(element.getViewId()),element);
- }
-
- public final ListElement elementAt(int index)
- {
- return (ListElement)itemsList_.elementAt(index);
- }
-
- public final ListElement getElementWithViewId(int viewId)
- {
- return (ListElement)itemsTable_.get(String.valueOf(viewId));
- }
-
- public final void removeElementWithViewId(int viewId)
- {
- itemsTable_.remove(String.valueOf(viewId));
- for (int i=0;i<itemsList_.size();i++)
- {
- ListElement listElement = elementAt(i);
- if (listElement.getViewId() == viewId)
- {
- itemsList_.removeElementAt(i);
- break;
- }
- }
- }
-
- public final void removeElementAt(int index)
- {
- ListElement listElement = (ListElement)elementAt(index);
- itemsList_.removeElementAt(index);
- itemsTable_.remove(String.valueOf(listElement.getViewId()));
- }
-
- public final void insertElementAt(ListElement element,int index)
- {
- itemsList_.insertElementAt(element,index);
- updateManager(element);
- }
-
- public final Enumeration getListElements()
- {
- return itemsList_.elements();
- }
-
- public final void clear()
- {
- itemsList_.removeAllElements();
- itemsTable_.clear();
- }
-
- public final ListManager copy(ListManager newListManager)
- {
- newListManager.clear();
- for (int i=0;i<itemsList_.size();i++)
- {
- ListElement listElement = (ListElement)elementAt(i);
- ListElement newListElement = new ListElement(listElement.getObject());
- newListElement.setViewId(listElement.getViewId());
- newListElement.setTargetViewToolInfo(listElement.getTargetNodeId(),listElement.getTargetToolId(),listElement.getTargetViewId());
- newListManager.addWithCurrentViewId(newListElement);
- }
- newListManager.setNextViewId(nextViewId_);
- return newListManager;
- }
-
- public final void setNextViewId(int nextViewId)
- {
- nextViewId_ = nextViewId;
- }
-
- public final int getNextViewId()
- {
- return nextViewId_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/TreeElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/TreeElement.java
deleted file mode 100644
index 8228ad3a8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/datamodel/TreeElement.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.datamodel;
-
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-public class TreeElement extends BasicElement
-{
- private String key_;
-
- public TreeElement(String name,Model model)
- {
- super(name,model);
- key_ = name;
- }
-
- public void setKey(String key)
- {
- key_ = key;
- }
-
- public String getKey()
- {
- return key_;
- }
-
- public boolean equals(TreeElement element)
- {
- if (key_ == null)
- return false;
- return key_.equals(element.getKey());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionDataParser.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionDataParser.java
deleted file mode 100644
index c613f0dd7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionDataParser.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.FactoryConfigurationError;
-import javax.xml.parsers.ParserConfigurationException;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.constants.ActionDataConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.data.ActionDescriptor;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.data.ScenarioDescriptor;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.data.TransactionDescriptor;
-import org.w3c.dom.CDATASection;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class ActionDataParser
-{
- private Document doc;
-
- public ScenarioDescriptor parseScenario(Element e)
- {
- ScenarioDescriptor scenarioDescriptor = new ScenarioDescriptor();
- NodeList transactions = e.getElementsByTagName(ActionDataConstants.ELEMENT_TRANSACTION);
- TransactionDescriptor[] transactionDescriptors = new TransactionDescriptor[transactions.getLength()];
- for (int i = 0; i < transactionDescriptors.length; i++)
- transactionDescriptors[i] = parseTransaction((Element) transactions.item(i));
- scenarioDescriptor.setTransactionDescriptors(transactionDescriptors);
- return scenarioDescriptor;
- }
-
- public TransactionDescriptor parseTransaction(Element e)
- {
- TransactionDescriptor transactionDescriptor = new TransactionDescriptor();
- NodeList actions = e.getElementsByTagName(ActionDataConstants.ELEMENT_ACTION);
- ActionDescriptor[] actionDescriptors = new ActionDescriptor[actions.getLength()];
- for (int i = 0; i < actionDescriptors.length; i++)
- actionDescriptors[i] = parseAction((Element) actions.item(i));
- transactionDescriptor.setActionDescriptors(actionDescriptors);
- return transactionDescriptor;
- }
-
- public ActionDescriptor parseAction(Element e)
- {
- ActionDescriptor actionDescriptor = new ActionDescriptor();
- actionDescriptor.setId(e.getAttribute(ActionDataConstants.ATTR_ID));
- try
- {
- actionDescriptor.setAttempts(Integer.parseInt(e.getAttribute(ActionDataConstants.ATTR_ATTEMPTS)));
- }
- catch (Throwable t)
- {
- actionDescriptor.setAttempts(1);
- }
- actionDescriptor.setStatusId(e.getAttribute(ActionDataConstants.ATTR_STATUS_ID));
- Hashtable propertiesTable = new Hashtable();
- NodeList properties = e.getElementsByTagName(ActionDataConstants.ELEMENT_PROPERTY);
- for (int i = 0; i < properties.getLength(); i++)
- {
- Element property = (Element) properties.item(i);
- String name = property.getAttribute(ActionDataConstants.ATTR_NAME);
- NodeList valueList = property.getElementsByTagName(ActionDataConstants.ELEMENT_VALUE);
- if (valueList.getLength() > 1)
- {
- String[] values = new String[valueList.getLength()];
- for (int j = 0; j < values.length; j++)
- {
- Element value = (Element) valueList.item(j);
- Node textNode = value.getFirstChild();
- values[j] = (textNode != null) ? textNode.getNodeValue().trim() : "";
- }
- propertiesTable.put(name, values);
- }
- else
- {
- Node textNode = ((Element) valueList.item(0)).getFirstChild();
- propertiesTable.put(name, (textNode != null) ? textNode.getNodeValue().trim() : "");
- }
- }
- actionDescriptor.setProperties(propertiesTable);
- NodeList statusList = e.getElementsByTagName(ActionDataConstants.ELEMENT_STATUS);
- for (int i = 0; i < statusList.getLength(); i++)
- {
- Element status = (Element)statusList.item(i);
- CDATASection cData = (CDATASection)status.getFirstChild();
- actionDescriptor.addStatus(cData.getData());
- }
- return actionDescriptor;
- }
-
- public Element toElement(ScenarioDescriptor scenarioDescriptor)
- {
- try
- {
- Document document = getDocument();
- Element scenarioElement = document.createElement(ActionDataConstants.ELEMENT_SCENARIO);
- TransactionDescriptor[] transactionDescriptors = scenarioDescriptor.getTransactionDescriptors();
- for (int i = 0; i < transactionDescriptors.length; i++)
- {
- Element transactionElement = toElement(transactionDescriptors[i]);
- if (transactionElement != null)
- scenarioElement.appendChild(transactionElement);
- }
- return scenarioElement;
- }
- catch (DOMException dome)
- {
- return null;
- }
- }
-
- public Element toElement(TransactionDescriptor transactionDescriptor)
- {
- try
- {
- Document document = getDocument();
- Element transactionElement = document.createElement(ActionDataConstants.ELEMENT_TRANSACTION);
- ActionDescriptor[] actionDescriptors = transactionDescriptor.getActionDescriptors();
- for (int i = 0; i < actionDescriptors.length; i++)
- {
- Element actionElement = toElement(actionDescriptors[i]);
- if (actionElement != null)
- transactionElement.appendChild(actionElement);
- }
- return transactionElement;
- }
- catch (DOMException dome)
- {
- return null;
- }
- }
-
- public Element toElement(ActionDescriptor actionDescriptor)
- {
- try
- {
- Document document = getDocument();
- Element actionElement = document.createElement(ActionDataConstants.ELEMENT_ACTION);
- actionElement.setAttribute(ActionDataConstants.ATTR_ID, actionDescriptor.getId());
- actionElement.setAttribute(ActionDataConstants.ATTR_ATTEMPTS, String.valueOf(actionDescriptor.getAttempts()));
- String statusId = actionDescriptor.getStatusId();
- if (statusId != null)
- actionElement.setAttribute(ActionDataConstants.ATTR_STATUS_ID, statusId);
- Hashtable properties = actionDescriptor.getProperties();
- if (properties != null)
- {
- for (Iterator it = properties.keySet().iterator(); it.hasNext();)
- {
- Object key = it.next();
- Object value = properties.get(key);
- Object[] values;
- if (value.getClass().isArray())
- values = (Object[])value;
- else if (value instanceof List)
- values = ((List)value).toArray();
- else
- values = new Object[] {value};
- boolean isAdded = false;
- Element propertyElement = document.createElement(ActionDataConstants.ELEMENT_PROPERTY);
- propertyElement.setAttribute(ActionDataConstants.ATTR_NAME, key.toString());
- for (int i = 0; i < values.length; i++)
- {
- if (values[i] instanceof String)
- {
- Element valueElement = document.createElement(ActionDataConstants.ELEMENT_VALUE);
- valueElement.appendChild(document.createTextNode(values[i].toString()));
- propertyElement.appendChild(valueElement);
- isAdded = true;
- }
- }
- if (isAdded)
- actionElement.appendChild(propertyElement);
- }
- }
- List status = actionDescriptor.getStatus();
- if (status != null)
- {
- for (Iterator it = status.iterator(); it.hasNext();)
- {
- Element statusElement = document.createElement(ActionDataConstants.ELEMENT_STATUS);
- CDATASection cData = document.createCDATASection(it.next().toString());
- statusElement.appendChild(cData);
- actionElement.appendChild(statusElement);
- }
- }
- return actionElement;
- }
- catch (DOMException dome)
- {
- return null;
- }
- }
-
- private Document getDocument()
- {
- try
- {
- if (doc == null)
- {
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- DocumentBuilder builder = factory.newDocumentBuilder();
- doc = builder.newDocument();
- }
- return doc;
- }
- catch (FactoryConfigurationError fce)
- {
- return null;
- }
- catch (ParserConfigurationException pce)
- {
- return null;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionEngine.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionEngine.java
deleted file mode 100644
index f7ae8573f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/ActionEngine.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine;
-
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.constants.ActionDataConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.data.ActionDescriptor;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.data.ScenarioDescriptor;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.data.TransactionDescriptor;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class ActionEngine
-{
- public static final byte MODE_DISABLED = 0x0;
- public static final byte MODE_STOP = 0x1;
- public static final byte MODE_RECORD = 0x2;
- public static final byte MODE_PLAY = 0x3;
-
- private Controller controller;
- private byte mode;
- private Vector actionDescriptors;
-
- public ActionEngine(Controller controller)
- {
- this.controller = controller;
- mode = MODE_DISABLED;
- actionDescriptors = new Vector();
- }
-
- public void executeScenario(ScenarioDescriptor scenarioDescriptor)
- {
- TransactionDescriptor[] transactionDescriptors = scenarioDescriptor.getTransactionDescriptors();
- for (int i = 0; i < transactionDescriptors.length; i++)
- executeTransaction(transactionDescriptors[i]);
- }
-
- public boolean executeTransaction(TransactionDescriptor transactionDescriptor)
- {
- boolean result = true;
- ActionDescriptor[] actionDescriptors = transactionDescriptor.getActionDescriptors();
- for (int i = 0; i < actionDescriptors.length; i++)
- {
- if (result)
- {
- if (!executeAction(actionDescriptors[i]))
- result = false;
- }
- else
- actionDescriptors[i].setStatusId(ActionDataConstants.VALUE_STATUS_ID_UNATTEMPTED);
- }
- return result;
- }
-
- public boolean executeAction(ActionDescriptor actionDescriptor)
- {
- int attempts = actionDescriptor.getAttempts();
- for (int i = 0; i < attempts; i++)
- {
- try
- {
- Class classAction = Class.forName(actionDescriptor.getId());
- if (Action.class.isAssignableFrom(classAction))
- {
- Action action = (Action) newInstance(classAction);
- if (action != null)
- {
- Hashtable properties = actionDescriptor.getProperties();
- ITransformer[] transformers = action.getTransformers();
- for (int j = 0; j < transformers.length; j++)
- properties = transformers[j].deNormalize(properties);
- action.setPropertyTable(properties);
- boolean actionResult = action.run();
- // TODO actionDescriptor.addStatus(action.getStatus());
- if (actionResult)
- {
- actionDescriptor.setStatusId(ActionDataConstants.VALUE_STATUS_ID_PASSED);
- return true;
- }
- }
- else
- throw new ClassNotFoundException(actionDescriptor.getId());
- }
- }
- catch (ClassNotFoundException cnfe)
- {
- cnfe.printStackTrace();
- StringWriter sw = new StringWriter();
- cnfe.printStackTrace(new PrintWriter(sw));
- actionDescriptor.addStatus(sw.getBuffer().toString());
- }
- catch (Throwable t)
- {
- t.printStackTrace();
- StringWriter sw = new StringWriter();
- t.printStackTrace(new PrintWriter(sw));
- actionDescriptor.addStatus(sw.getBuffer().toString());
- }
- }
- actionDescriptor.setStatusId(ActionDataConstants.VALUE_STATUS_ID_FAILED);
- return false;
- }
-
- private ScenarioDescriptor newScenarioDescriptor()
- {
- return new ScenarioDescriptor();
- }
-
- private TransactionDescriptor newTransactionDescriptor()
- {
- return new TransactionDescriptor();
- }
-
- private ActionDescriptor newActionDescriptor(Action action)
- {
- ActionDescriptor actionDescriptor = new ActionDescriptor();
- actionDescriptor.setId(action.getClass().getName());
- Hashtable properties = new Hashtable(action.getPropertyTable());
- ITransformer[] transformers = action.getTransformers();
- for (int i = 0; i < transformers.length; i++)
- properties = transformers[i].normalize(properties);
- actionDescriptor.setProperties(properties);
- return actionDescriptor;
- }
-
- private Object newInstance(Class c)
- {
- try
- {
- // instantiates the action using the constructor that takes in a
- // controller object
- Constructor constructor = c.getConstructor(new Class[]{Controller.class});
- return constructor.newInstance(new Object[]{controller});
- }
- catch (NoSuchMethodException nsme)
- {
- }
- catch (InstantiationException ie)
- {
- }
- catch (IllegalAccessException iae)
- {
- }
- catch (InvocationTargetException ite)
- {
- }
- catch (Throwable t)
- {
- }
- Object instance = null;
- try
- {
- // instantiates the action using the default constructor
- Constructor constructor = c.getConstructor(new Class[0]);
- instance = constructor.newInstance(new Object[0]);
- Method method = c.getMethod("setController", new Class[]{Controller.class});
- method.invoke(instance, new Object[]{controller});
- }
- catch (NoSuchMethodException nsme)
- {
- }
- catch (InstantiationException ie)
- {
- }
- catch (IllegalAccessException iae)
- {
- }
- catch (IllegalArgumentException iae)
- {
- }
- catch (InvocationTargetException ite)
- {
- }
- catch (Throwable t)
- {
- }
- return instance;
- }
-
- public byte getMode()
- {
- return mode;
- }
-
- public void setMode(byte mode)
- {
- this.mode = mode;
- if (mode == MODE_RECORD)
- {
- actionDescriptors = new Vector();
- ShowPerspectiveAction showPerspectiveAction = new ShowPerspectiveAction(controller);
- showPerspectiveAction.addProperty(ActionInputs.PERSPECTIVE, String.valueOf(controller.getCurrentPerspective().getPerspectiveId()));
- actionDescriptors.add(newActionDescriptor(showPerspectiveAction));
- }
- }
-
- public boolean executeAction(Action action)
- {
- if (mode == MODE_RECORD)
- {
- ActionDescriptor actionDescriptor = newActionDescriptor(action);
- actionDescriptors.add(actionDescriptor);
- }
- return action.run();
- }
-
- public ScenarioDescriptor getScenario()
- {
- ScenarioDescriptor scenarioDescriptor = newScenarioDescriptor();
- TransactionDescriptor transactionDescriptor = newTransactionDescriptor();
- ActionDescriptor[] actionDescriptorArray = (ActionDescriptor[])actionDescriptors.toArray(new ActionDescriptor[0]);
- transactionDescriptor.setActionDescriptors(actionDescriptorArray);
- scenarioDescriptor.setTransactionDescriptors(new TransactionDescriptor[] {transactionDescriptor});
- return scenarioDescriptor;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/constants/ActionDataConstants.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/constants/ActionDataConstants.java
deleted file mode 100644
index 7d53ee26b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/constants/ActionDataConstants.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.constants;
-
-public class ActionDataConstants
-{
- public static final String ATTR_ID = "id";
- public static final String ATTR_NAME = "name";
- public static final String ATTR_ATTEMPTS = "attempts";
- public static final String ATTR_STATUS_ID = "statusId";
-
- public static final String ELEMENT_SCENARIO = "scenario";
- public static final String ELEMENT_TRANSACTION = "transaction";
- public static final String ELEMENT_ACTION = "action";
- public static final String ELEMENT_PROPERTY = "property";
- public static final String ELEMENT_VALUE = "value";
- public static final String ELEMENT_STATUS = "status";
-
- public static final String VALUE_STATUS_ID_UNATTEMPTED = "unattempted";
- public static final String VALUE_STATUS_ID_PASSED = "passed";
- public static final String VALUE_STATUS_ID_FAILED = "failed";
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ActionDescriptor.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ActionDescriptor.java
deleted file mode 100644
index 85bb5b7da..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ActionDescriptor.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.data;
-
-import java.util.Hashtable;
-import java.util.List;
-import java.util.Vector;
-
-public class ActionDescriptor
-{
- private String id;
- private Hashtable properties;
- private int attempts;
- private String statusId;
- private List statusList;
-
- public ActionDescriptor()
- {
- attempts = 1;
- }
-
- public String getId()
- {
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- public Hashtable getProperties()
- {
- return properties;
- }
-
- public void setProperties(Hashtable properties)
- {
- this.properties = properties;
- }
-
- public int getAttempts()
- {
- return attempts;
- }
-
- public void setAttempts(int attempts)
- {
- this.attempts = attempts;
- }
-
- public String getStatusId()
- {
- return statusId;
- }
-
- public void setStatusId(String statusId)
- {
- this.statusId = statusId;
- }
-
- public void addStatus(Object status)
- {
- if (status != null)
- {
- if (statusList == null)
- statusList = new Vector();
- statusList.add(status);
- }
- }
-
- public boolean removeStatus(Object status)
- {
- if (status != null && statusList != null)
- return statusList.remove(status);
- else
- return false;
- }
-
- public List getStatus()
- {
- return statusList;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ScenarioDescriptor.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ScenarioDescriptor.java
deleted file mode 100644
index 41a3f90fe..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/ScenarioDescriptor.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.data;
-
-public class ScenarioDescriptor
-{
- private TransactionDescriptor[] transactionDescriptors;
-
- public TransactionDescriptor[] getTransactionDescriptors()
- {
- return transactionDescriptors;
- }
-
- public void setTransactionDescriptors(TransactionDescriptor[] transactionDescriptors)
- {
- this.transactionDescriptors = transactionDescriptors;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/TransactionDescriptor.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/TransactionDescriptor.java
deleted file mode 100644
index 3ef67b972..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/data/TransactionDescriptor.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.data;
-
-public class TransactionDescriptor
-{
- private ActionDescriptor[] actionDescriptors;
-
- public ActionDescriptor[] getActionDescriptors()
- {
- return actionDescriptors;
- }
-
- public void setActionDescriptors(ActionDescriptor[] actionDescriptors)
- {
- this.actionDescriptors = actionDescriptors;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/CurrentNodeSelectionTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/CurrentNodeSelectionTransformer.java
deleted file mode 100644
index 48a0b2768..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/CurrentNodeSelectionTransformer.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.transformer;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-
-public class CurrentNodeSelectionTransformer implements ITransformer
-{
- protected Controller controller;
- protected String key;
-
- public CurrentNodeSelectionTransformer(Controller controller)
- {
- this(controller, ActionInputs.NODEID);
- }
-
- public CurrentNodeSelectionTransformer(Controller controller, String key)
- {
- this.controller = controller;
- this.key = key;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- return properties;
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- Node currNode = controller.getCurrentPerspective().getNodeManager().getSelectedNode();
- if (currNode != null)
- properties.put(key, String.valueOf(currNode.getNodeId()));
- return properties;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ITransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ITransformer.java
deleted file mode 100644
index 4755ffe85..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ITransformer.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.transformer;
-
-import java.util.Hashtable;
-
-public interface ITransformer
-{
- public Hashtable normalize(Hashtable properties);
- public Hashtable deNormalize(Hashtable properties);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MassNodeIdTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MassNodeIdTransformer.java
deleted file mode 100644
index 521869289..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MassNodeIdTransformer.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.transformer;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class MassNodeIdTransformer extends NodeIdTransformer
-{
- protected String massNodeIdKey;
-
- public MassNodeIdTransformer(Controller controller, String massNodeIdKey)
- {
- super(controller);
- this.massNodeIdKey = massNodeIdKey;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- if (!properties.containsKey(massNodeIdKey))
- return super.normalize(properties);
- Object origNodeId = properties.get(ActionInputs.NODEID);
- String[] massNodeIds = getValueAsStringArray(properties, massNodeIdKey);
- for (int i = 0; i < massNodeIds.length; i++)
- {
- properties.put(ActionInputs.NODEID, massNodeIds[i]);
- properties = super.normalize(properties);
- String[] rels = getValueAsStringArray(properties, ModelConstants.REL_ID);
- if (rels.length > 0)
- {
- StringBuffer sb = new StringBuffer(ModelConstants.REL_ID);
- sb.append(ModelConstants.REL_LOCALNAME_SEPARATOR);
- sb.append(massNodeIds[i]);
- properties.put(sb.toString(), rels);
- }
- properties.remove(ActionInputs.NODEID);
- properties.remove(ModelConstants.REL_ID);
- }
- if (origNodeId != null)
- properties.put(ActionInputs.NODEID, origNodeId);
- return properties;
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- if (!properties.containsKey(massNodeIdKey))
- return super.deNormalize(properties);
- Vector massNodeIdVector = new Vector();
- Object origNodeId = properties.get(ActionInputs.NODEID);
- properties.remove(ActionInputs.NODEID);
- String[] massNodeIds = getValueAsStringArray(properties, massNodeIdKey);
- for (int i = 0; i < massNodeIds.length; i++)
- {
- StringBuffer sb = new StringBuffer(ModelConstants.REL_ID);
- sb.append(ModelConstants.REL_LOCALNAME_SEPARATOR);
- sb.append(massNodeIds[i]);
- Object rels = properties.get(sb.toString());
- if (rels != null)
- {
- properties.put(ModelConstants.REL_ID, rels);
- properties = super.deNormalize(properties);
- Object nodeId = properties.get(ActionInputs.NODEID);
- if (nodeId != null)
- {
- massNodeIdVector.add(nodeId);
- properties.remove(ActionInputs.NODEID);
- }
- properties.remove(ModelConstants.REL_ID);
- }
- }
- if (origNodeId != null)
- properties.put(ActionInputs.NODEID, origNodeId);
- int size = massNodeIdVector.size();
- if (size == 1)
- properties.put(massNodeIdKey, massNodeIdVector.get(0));
- else if (size > 1)
- properties.put(massNodeIdKey, massNodeIdVector.toArray(new String[0]));
- else
- properties.remove(massNodeIdKey);
- return properties;
- }
-
- private String[] getValueAsStringArray(Hashtable properties, String key)
- {
- Object values = properties.get(key);
- if (values == null)
- return new String[0];
- else if (values instanceof String[])
- return (String[])values;
- else
- return new String[] {values.toString()};
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MultipartFormDataParserTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MultipartFormDataParserTransformer.java
deleted file mode 100644
index 182f3e88d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/MultipartFormDataParserTransformer.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.transformer;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class MultipartFormDataParserTransformer implements ITransformer
-{
- protected Controller controller;
-
- public MultipartFormDataParserTransformer(Controller controller)
- {
- this.controller = controller;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- MultipartFormDataParser parser = (MultipartFormDataParser)properties.get(ActionInputs.MULTIPART_FORM_DATA_PARSER);
- String[] keys;
- try
- {
- keys = parser.getParameterNames();
- }
- catch (Throwable t)
- {
- keys = new String[0];
- }
- for (int i = 0; i < keys.length; i++)
- {
- StringBuffer newKey = new StringBuffer(ActionInputs.MULTIPART_FORM_DATA_PARSER);
- newKey.append(keys[i]);
- try
- {
- properties.put(newKey.toString(), parser.getParameterValues(keys[i]));
- }
- catch (Throwable t)
- {
- }
- }
- return properties;
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- Enumeration e = properties.keys();
- while (e.hasMoreElements())
- {
- Object key = e.nextElement();
- if (key instanceof String)
- {
- if (((String)key).startsWith(ActionInputs.MULTIPART_FORM_DATA_PARSER))
- {
- String realKey = ((String)key).substring(ActionInputs.MULTIPART_FORM_DATA_PARSER.length());
- if (!properties.containsKey(realKey))
- {
- Object value = properties.remove(key);
- properties.put(realKey, value);
- }
- }
- }
- }
- return properties;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeIdTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeIdTransformer.java
deleted file mode 100644
index 75657d232..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeIdTransformer.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.transformer;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.datamodel.Rel;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class NodeIdTransformer implements ITransformer
-{
- protected Controller controller;
-
- public NodeIdTransformer(Controller controller)
- {
- this.controller = controller;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- Vector rels = new Vector();
- try
- {
- int nodeId = Integer.parseInt((String)properties.get(ActionInputs.NODEID));
- NodeManager nodeManager = controller.getCurrentPerspective().getNodeManager();
- Node rootNode = nodeManager.getRootNode();
- Node node = nodeManager.getNode(nodeId);
- int depth = 0;
- if (node != null)
- depth = node.getNodeDepth();
- while (rels.size() < depth && node != null && node != rootNode)
- {
- Node parentNode = node.getParent();
- Element element = node.getTreeElement();
- Rel rel = getRel(parentNode.getTreeElement(), element);
- StringBuffer relValue = new StringBuffer(rel.getName());
- relValue.append(ModelConstants.REL_LOCALNAME_SEPARATOR);
- relValue.append(element.getName());
- rels.insertElementAt(relValue.toString(), 0);
- node = parentNode;
- }
- }
- catch (NumberFormatException nfe)
- {
- }
- int numRelationships = rels.size();
- if (numRelationships == 1)
- properties.put(ModelConstants.REL_ID, rels.get(0).toString());
- else if (numRelationships > 1)
- properties.put(ModelConstants.REL_ID, (String[])rels.toArray(new String[0]));
- return properties;
- }
-
- private Rel getRel(Element sourceElement, Element targetElement)
- {
- Enumeration rels = sourceElement.getRels();
- while (rels.hasMoreElements())
- {
- Rel rel = (Rel)rels.nextElement();
- Enumeration targetElements = rel.getTargetElements();
- while (targetElements.hasMoreElements())
- {
- if (targetElements.nextElement() == targetElement)
- return rel;
- }
- }
- return null;
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- NodeManager nodeManager = controller.getCurrentPerspective().getNodeManager();
- Node node = nodeManager.getRootNode();
- Object value = properties.get(ModelConstants.REL_ID);
- String[] relationships = null;
- if (value instanceof String[])
- relationships = (String[])value;
- else if (value != null)
- relationships = new String[] {value.toString()};
- if (relationships != null)
- {
- for (int i = 0; i < relationships.length; i++)
- {
- int index = relationships[i].indexOf(ModelConstants.REL_LOCALNAME_SEPARATOR);
- if (index == -1)
- return deNormalizeAsSelectedNode(properties);
- String rel = (index != -1) ? relationships[i].substring(0, index) : relationships[i];
- String localname = (index != -1) ? relationships[i].substring(index + 1, relationships[i].length()) : null;
- if (localname == null)
- return deNormalizeAsSelectedNode(properties);
- node = getNode(node, rel, localname);
- if (node == null)
- return deNormalizeAsSelectedNode(properties);
- }
- properties.put(ActionInputs.NODEID, String.valueOf(node.getNodeId()));
- return properties;
- }
- else
- return deNormalizeAsSelectedNode(properties);
- }
-
- private Hashtable deNormalizeAsSelectedNode(Hashtable properties)
- {
- return (new CurrentNodeSelectionTransformer(controller)).deNormalize(properties);
- }
-
- private Node getNode(Node parent, String rel, String localname)
- {
- Element parentElement = parent.getTreeElement();
- Enumeration e = parentElement.getElements(rel);
- while (e.hasMoreElements())
- {
- Element element = (Element)e.nextElement();
- if (localname.equals(element.getName()))
- return parent.getChildNode((TreeElement)element);
- }
- return null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeSelectionTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeSelectionTransformer.java
deleted file mode 100644
index 175dc03d0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/NodeSelectionTransformer.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.transformer;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.datamodel.Rel;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class NodeSelectionTransformer implements ITransformer
-{
- protected Controller controller;
-
- public NodeSelectionTransformer(Controller controller)
- {
- this.controller = controller;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- try
- {
- NodeManager nodeManager = controller.getCurrentPerspective().getNodeManager();
- Node nextNode = nodeManager.getNode(Integer.parseInt((String) properties.get(ActionInputs.NODEID)));
- Node currNode = nodeManager.getSelectedNode();
- if (currNode == null)
- currNode = nodeManager.getRootNode();
- Vector nextRels = new Vector();
- Vector currRels = new Vector();
- while (nextNode != null && currNode != null && (!isRootElement(nextNode.getTreeElement()) || !isRootElement(currNode.getTreeElement())) && nextNode != currNode)
- {
- if (nextNode.getNodeDepth() >= currNode.getNodeDepth())
- {
- Node parentNode = nextNode.getParent();
- Element nextElement = nextNode.getTreeElement();
- Rel rel = getRel(parentNode.getTreeElement(), nextElement);
- StringBuffer relValue = new StringBuffer(rel.getName());
- relValue.append(ModelConstants.REL_LOCALNAME_SEPARATOR);
- relValue.append(nextElement.getName());
- nextRels.insertElementAt(relValue.toString(), 0);
- nextNode = parentNode;
- }
- else
- {
- Node parentNode = currNode.getParent();
- Element parentElement = parentNode.getTreeElement();
- Rel rel = getRel(currNode.getTreeElement(), parentElement);
- StringBuffer relValue = new StringBuffer(rel.getName());
- relValue.append(ModelConstants.REL_LOCALNAME_SEPARATOR);
- relValue.append(parentElement.getName());
- currRels.add(relValue.toString());
- currNode = parentNode;
- }
- }
- currRels.addAll(nextRels);
- int numRelationships = currRels.size();
- if (numRelationships == 1)
- properties.put(ModelConstants.REL_ID, currRels.get(0).toString());
- else if (numRelationships > 1)
- properties.put(ModelConstants.REL_ID, (String[]) currRels.toArray(new String[0]));
- }
- catch (NumberFormatException nfe)
- {
- }
- return properties;
- }
-
- private boolean isRootElement(Element e)
- {
- return e.getModel().getRootElement() == e;
- }
-
- private Rel getRel(Element sourceElement, Element targetElement)
- {
- Enumeration rels = sourceElement.getRels();
- while (rels.hasMoreElements())
- {
- Rel rel = (Rel) rels.nextElement();
- Enumeration targetElements = rel.getTargetElements();
- while (targetElements.hasMoreElements())
- {
- if (targetElements.nextElement() == targetElement)
- return rel;
- }
- }
- return null;
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- NodeManager nodeManager = controller.getCurrentPerspective().getNodeManager();
- Node rootNode = nodeManager.getRootNode();
- Node currNode = nodeManager.getSelectedNode();
- if (currNode == null)
- currNode = rootNode;
- Object value = properties.get(ModelConstants.REL_ID);
- String[] relationships = null;
- if (value instanceof String[])
- relationships = (String[]) value;
- else if (value != null)
- relationships = new String[]{value.toString()};
- if (relationships != null)
- {
- Element currElement = currNode.getTreeElement();
- for (int i = 0; i < relationships.length; i++)
- {
- int index = relationships[i].indexOf(ModelConstants.REL_LOCALNAME_SEPARATOR);
- String rel = (index != -1) ? relationships[i].substring(0, index) : relationships[i];
- String localname = (index != -1) ? relationships[i].substring(index + 1, relationships[i].length()) : null;
- Enumeration e = currElement.getElements(rel);
- Element targetElement = null;
- if (localname != null)
- {
- Element firstElement = null;
- while (e.hasMoreElements())
- {
- Element nextElement = (Element) e.nextElement();
- if (firstElement == null)
- firstElement = nextElement;
- if (localname.equals(nextElement.getName()))
- {
- targetElement = nextElement;
- break;
- }
- }
- if (targetElement == null)
- targetElement = firstElement;
- }
- else
- {
- if (e.hasMoreElements())
- targetElement = (Element) e.nextElement();
- }
- if (targetElement != null)
- {
- currElement = (Element) targetElement;
- Node parentNode = currNode.getParent();
- if (parentNode != null && parentNode.getTreeElement() == currElement)
- currNode = parentNode;
- else
- currNode = currNode.getChildNode((TreeElement) currElement);
- }
- }
- }
- properties.put(ActionInputs.NODEID, String.valueOf(currNode.getNodeId()));
- return properties;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ViewSelectionTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ViewSelectionTransformer.java
deleted file mode 100644
index d6bd1359a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/engine/transformer/ViewSelectionTransformer.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.engine.transformer;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class ViewSelectionTransformer implements ITransformer
-{
- protected Controller controller;
- protected String listManagerKey;
- protected String viewKey;
-
- public ViewSelectionTransformer(Controller controller, String listManagerKey, String viewKey)
- {
- this.controller = controller;
- this.listManagerKey = listManagerKey;
- this.viewKey = viewKey;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- Vector normalizedViewIds = new Vector();
- NodeManager nodeManager = controller.getCurrentPerspective().getNodeManager();
- Node currNode = nodeManager.getSelectedNode();
- TreeElement currElement = currNode.getTreeElement();
- Object listManagerObj = currElement.getPropertyAsObject(listManagerKey);
- if (listManagerObj instanceof ListManager)
- {
- ListManager listManager = (ListManager) listManagerObj;
- String[] viewIds = getViewValues(properties);
- for (int i = 0; i < viewIds.length; i++)
- {
- ListElement listElement = null;
- try
- {
- listElement = listManager.getElementWithViewId(Integer.parseInt(viewIds[i]));
- }
- catch (NumberFormatException nfe)
- {
- }
- if (listElement != null)
- {
- Object object = listElement.getObject();
- if (object != null && object instanceof Element)
- {
- Element element = (Element) object;
- normalizedViewIds.add(element.getName());
- }
- }
- }
- }
- properties.put(viewKey, normalizedViewIds.toArray(new String[0]));
- return properties;
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- Vector viewIds = new Vector();
- Node currNode = controller.getCurrentPerspective().getNodeManager().getSelectedNode();
- if (currNode != null)
- {
- TreeElement currElement = currNode.getTreeElement();
- Object listManagerObj = currElement.getPropertyAsObject(listManagerKey);
- if (listManagerObj instanceof ListManager)
- {
- ListManager listManager = (ListManager) listManagerObj;
- String[] normalizedViewIds = getViewValues(properties);
- for (int i = 0; i < normalizedViewIds.length; i++)
- {
- Enumeration e = listManager.getListElements();
- while (e.hasMoreElements())
- {
- ListElement listElement = (ListElement) e.nextElement();
- Element element = (Element) listElement.getObject();
- if (element != null && normalizedViewIds[i].equals(element.getName()))
- {
- viewIds.add(String.valueOf(listElement.getViewId()));
- break;
- }
- }
- }
- }
- }
- int size = viewIds.size();
- if (size == 1)
- properties.put(viewKey, viewIds.get(0));
- else if (size > 1)
- properties.put(viewKey, viewIds.toArray(new String[0]));
- return properties;
- }
-
- private String[] getViewValues(Hashtable properties)
- {
- Object viewValueObj = properties.get(viewKey);
- String[] viewValues;
- if (viewValueObj == null)
- viewValues = new String[0];
- else if (viewValueObj.getClass().isArray())
- viewValues = (String[]) viewValueObj;
- else
- viewValues = new String[]{(String) viewValueObj};
- return viewValues;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddBusinessToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddBusinessToUDDIPerspectiveAction.java
deleted file mode 100644
index 3e85712df..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddBusinessToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIBusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.RegFindBusinessUUIDAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-
-public class AddBusinessToUDDIPerspectiveAction extends AddToUDDIPerspectiveAction
-{
- public AddBusinessToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesUDDIBusinessElement busElement = (FavoritesUDDIBusinessElement) selectedElement;
- String businessName = busElement.getName();
- String inquiryAPI = busElement.getInquiryURL();
- String businessKey = busElement.getBusinessKey();
- // create the registry in the UDDI perspective
- if (!createRegistryInUDDIPerspective(inquiryAPI, null, inquiryAPI, null, true))
- return false;
- RegFindBusinessUUIDAction action = new RegFindBusinessUUIDAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY, businessKey);
- propertyTable.put(UDDIActionInputs.QUERY_NAME, businessName);
- if (!action.run())
- {
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_ERROR_ADD_TO_UDDI_PERSPECTIVE", businessName));
- return false;
- }
- uddiPerspective.getNavigatorManager().getSelectedNode().setVisibilityOfChildren(true);
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL", businessName));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddRegistryToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddRegistryToUDDIPerspectiveAction.java
deleted file mode 100644
index a5fdc5601..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddRegistryToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIRegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class AddRegistryToUDDIPerspectiveAction extends AddToUDDIPerspectiveAction
-{
- public AddRegistryToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesUDDIRegistryElement regElement = (FavoritesUDDIRegistryElement) selectedElement;
- String registryName = regElement.getName();
- String inquiryAPI = regElement.getInquiryURL();
- String publishAPI = regElement.getPublishURL();
- String registrationURL = regElement.getRegistrationURL();
- if (!createRegistryInUDDIPerspective(inquiryAPI, publishAPI, registryName, registrationURL, false))
- return false;
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL", registryName));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceInterfaceToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceInterfaceToUDDIPerspectiveAction.java
deleted file mode 100644
index 93337f4ca..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceInterfaceToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.RegFindServiceInterfaceUUIDAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-
-public class AddServiceInterfaceToUDDIPerspectiveAction extends AddToUDDIPerspectiveAction
-{
- public AddServiceInterfaceToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesUDDIServiceInterfaceElement serIntElement = (FavoritesUDDIServiceInterfaceElement) selectedElement;
- String serIntName = serIntElement.getName();
- String inquiryAPI = serIntElement.getInquiryURL();
- String serIntKey = serIntElement.getServiceInterfaceKey();
- // create the registry in the UDDI perspective
- if (!createRegistryInUDDIPerspective(inquiryAPI, null, inquiryAPI, null, true))
- return false;
- RegFindServiceInterfaceUUIDAction action = new RegFindServiceInterfaceUUIDAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY, serIntKey);
- propertyTable.put(UDDIActionInputs.QUERY_NAME, serIntName);
- if (!action.run())
- {
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_ERROR_ADD_TO_UDDI_PERSPECTIVE", serIntName));
- return false;
- }
- uddiPerspective.getNavigatorManager().getSelectedNode().setVisibilityOfChildren(true);
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL", serIntName));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceToUDDIPerspectiveAction.java
deleted file mode 100644
index 1db7f592e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddServiceToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.RegFindServiceUUIDAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-
-public class AddServiceToUDDIPerspectiveAction extends AddToUDDIPerspectiveAction
-{
- public AddServiceToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesUDDIServiceElement serElement = (FavoritesUDDIServiceElement) selectedElement;
- String serviceName = serElement.getName();
- String inquiryAPI = serElement.getInquiryURL();
- String serviceKey = serElement.getServiceKey();
- // create the registry in the UDDI perspective
- if (!createRegistryInUDDIPerspective(inquiryAPI, null, inquiryAPI, null, true))
- return false;
- RegFindServiceUUIDAction action = new RegFindServiceUUIDAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY, serviceKey);
- propertyTable.put(UDDIActionInputs.QUERY_NAME, serviceName);
- if (!action.run())
- {
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_ERROR_ADD_TO_UDDI_PERSPECTIVE", serviceName));
- return false;
- }
- uddiPerspective.getNavigatorManager().getSelectedNode().setVisibilityOfChildren(true);
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL", serviceName));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddToUDDIPerspectiveAction.java
deleted file mode 100644
index 22cca6149..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,250 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.io.File;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIBusinessFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIRegistryFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIServiceFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIServiceInterfaceFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUserDefUDDIRegistryFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.OpenRegistryAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryModel;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIMainNode;
-import org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-
-public abstract class AddToUDDIPerspectiveAction extends MultipleLinkAction {
- public AddToUDDIPerspectiveAction(Controller controller) {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID) {
- StringBuffer actionLink = new StringBuffer("favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink() {
- return "favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp";
- }
-
- protected boolean createRegistryInUDDIPerspective(String inquiryAPI, String publishAPI, String registryName, String registrationURL, boolean useExisting)
- {
- return createRegistryInUDDIPerspective(inquiryAPI, publishAPI, registryName, registrationURL, null, null, null, useExisting);
- }
-
- protected boolean createRegistryInUDDIPerspective(String inquiryAPI, String publishAPI, String registryName, String registrationURL, String defaultLogin, String defaultPassword, Taxonomy[] taxonomies, boolean useExisting) {
- Vector registryNodes = getRegistryNodesByInquiryURL(inquiryAPI);
- if (registryNodes != null)
- {
- if (useExisting)
- {
- Node registryNode = (Node)registryNodes.elementAt(0);
- NodeManager nodeManager = registryNode.getNodeManager();
- nodeManager.setSelectedNodeId(registryNode.getNodeId());
- return true;
- }
- }
-
- // open the registry if it is not already opened in the UDDI perspective
- OpenRegistryAction openRegAction = new OpenRegistryAction(controller_);
-
- // populate the property table
- Hashtable propertyTable = openRegAction.getPropertyTable();
- if (Validator.validateString(registryName))
- propertyTable.put(UDDIActionInputs.REGISTRY_NAME,registryName);
- else
- return false;
-
- if (Validator.validateURL(inquiryAPI))
- propertyTable.put(UDDIActionInputs.INQUIRY_URL,inquiryAPI);
- else
- return false;
-
- if (Validator.validateURL(publishAPI))
- propertyTable.put(UDDIActionInputs.PUBLISH_URL,publishAPI);
-
- if (Validator.validateURL(registrationURL))
- propertyTable.put(UDDIActionInputs.REGISTRATION_URL,registrationURL);
-
- if (defaultLogin != null)
- propertyTable.put(UDDIActionInputs.UDDI_USERNAME, defaultLogin);
-
- if (defaultPassword != null)
- propertyTable.put(UDDIActionInputs.UDDI_PASSWORD, defaultPassword);
-
- // If user-defined category metadata exists, search and make the associations.
- StringBuffer directoryBuffer = new StringBuffer();
- FavoritesUDDIRegistryFolderElement.formCategoriesDirectory(directoryBuffer,controller_.getServletEngineStateLocation(),registryName);
- File categoriesDirectory = new File(directoryBuffer.toString());
- File[] categoryFiles = null;
- if (categoriesDirectory.exists())
- {
- categoryFiles = categoriesDirectory.listFiles();
- if (categoryFiles.length > 0)
- propertyTable.put(UDDIActionInputs.CHECK_USER_DEFINED_CATEGORIES,Boolean.TRUE);
- }
-
- // run the action
- if (!openRegAction.run())
- return false;
-
- if (taxonomies != null)
- {
- Hashtable taxonomyTable = new Hashtable();
- for (int i=0; i<taxonomies.length; i++)
- {
- Taxonomy taxonomy = taxonomies[i];
- String name = taxonomy.getName();
- String tmodelKey = taxonomy.getTmodelKey();
- CategoryModel catModel = new CategoryModel();
- catModel.setDisplayName(name);
- catModel.setCategoryKey(name);
- catModel.setTModelKey(tmodelKey);
- catModel.loadFromTaxonomy(taxonomy);
- taxonomyTable.put(tmodelKey, catModel);
- }
- RegistryElement regElement = (RegistryElement)(controller_.getUDDIPerspective().getNavigatorManager().getSelectedNode().getTreeElement());
- regElement.setUserDefinedCategories(taxonomyTable);
- }
-
- if (categoryFiles != null && categoryFiles.length > 0)
- {
- RegistryElement regElement = (RegistryElement)(controller_.getUDDIPerspective().getNavigatorManager().getSelectedNode().getTreeElement());
- regElement.setCheckForUserDefinedCategories(true);
- regElement.getUserDefinedCategories();
- linkCategoryModelsWithSavedData(registryName,regElement.getUserDefinedCategories());
- }
- return true;
- }
-
- public final void linkCategoryModelsWithSavedData(String registryName,Enumeration userDefinedCategories)
- {
- StringBuffer directoryBuffer = new StringBuffer();
- FavoritesUDDIRegistryFolderElement.formCategoriesDirectory(directoryBuffer,controller_.getServletEngineStateLocation(),registryName);
- linkCategoryModelsWithSavedData(userDefinedCategories,directoryBuffer.toString());
- }
-
- public final void linkCategoryModelsWithSavedData(Enumeration userDefinedCategories,String categoriesDirectory)
- {
- File categoriesDirectoryFile = new File(categoriesDirectory);
- File[] categoryFiles = null;
- if (categoriesDirectoryFile.exists())
- {
- categoryFiles = categoriesDirectoryFile.listFiles();
- if (userDefinedCategories != null)
- {
- while (userDefinedCategories.hasMoreElements())
- {
- CategoryModel categoryModel = (CategoryModel)userDefinedCategories.nextElement();
- String categoryKey = categoryModel.getCategoryKey();
- for (int i=0;i<categoryFiles.length;i++)
- {
- String categoryPropertiesFileName = categoryFiles[i].getName();
- int lastDotPos = categoryPropertiesFileName.lastIndexOf(".");
- String decodedCategoryPropertiesFileNameBase = URLUtils.decode(categoryPropertiesFileName.substring(0,lastDotPos));
- if (lastDotPos > 0 && categoryPropertiesFileName.endsWith(".properties") && categoryKey.equals(decodedCategoryPropertiesFileNameBase))
- {
- categoryModel.setDefaultDataFile(categoryFiles[i].getAbsolutePath());
- categoryModel.loadFromDelimiterFile();
- break;
- }
- }
- }
- }
- }
- }
-
- protected Vector getRegistryNodesByInquiryURL(String inquiryURL)
- {
- Vector registryNodes = null;
- NodeManager navigatorManager = controller_.getUDDIPerspective().getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)(navigatorManager.getRootNode());
- Vector childNodes = uddiMainNode.getChildNodes();
- for (int i=0;i<childNodes.size();i++)
- {
- Node childNode = (Node)childNodes.elementAt(i);
- if (childNode instanceof RegistryNode)
- {
- RegistryElement regElement = (RegistryElement)childNode.getTreeElement();
- String currInquiryURL = regElement.getInquiryURL();
- if (currInquiryURL != null && currInquiryURL.equals(inquiryURL))
- {
- if (registryNodes == null)
- registryNodes = new Vector();
- registryNodes.addElement(childNode);
- }
- }
- }
- return registryNodes;
- }
-
- public static AddToUDDIPerspectiveAction newAction(Controller controller) {
- TreeElement selectedElement = controller.getFavoritesPerspective().getNodeManager().getSelectedNode().getTreeElement();
- FavoritesFolderElement favoritesFolderElement = null;
-
- if (selectedElement instanceof FavoritesFolderElement) {
- favoritesFolderElement = (FavoritesFolderElement)selectedElement;
- }
- else if (selectedElement instanceof FavoritesElement) {
- favoritesFolderElement = ((FavoritesElement)selectedElement).getParentFolderElement();
- }
- else {
- return null;
- }
-
- // return an instance of AddToUDDIPerspectiveAction depending on the type of
- // favorites folder element being selected.
- if (favoritesFolderElement instanceof FavoritesUDDIRegistryFolderElement)
- return new AddRegistryToUDDIPerspectiveAction(controller);
- else if (favoritesFolderElement instanceof FavoritesUserDefUDDIRegistryFolderElement)
- return new AddUserDefRegistryToUDDIPerspectiveAction(controller);
- else if (favoritesFolderElement instanceof FavoritesUDDIBusinessFolderElement)
- return new AddBusinessToUDDIPerspectiveAction(controller);
- else if (favoritesFolderElement instanceof FavoritesUDDIServiceFolderElement)
- return new AddServiceToUDDIPerspectiveAction(controller);
- else if (favoritesFolderElement instanceof FavoritesUDDIServiceInterfaceFolderElement)
- return new AddServiceInterfaceToUDDIPerspectiveAction(controller);
- else
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddUserDefRegistryToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddUserDefRegistryToUDDIPerspectiveAction.java
deleted file mode 100644
index 7809538e4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddUserDefRegistryToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUserDefUDDIRegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-
-public class AddUserDefRegistryToUDDIPerspectiveAction extends AddToUDDIPerspectiveAction
-{
- public AddUserDefRegistryToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesUserDefUDDIRegistryElement regElement = (FavoritesUserDefUDDIRegistryElement)selectedElement;
- String registryName = regElement.getName();
- String inquiryAPI = regElement.getInquiryURL();
- String publishAPI = regElement.getPublishURL();
- String defaultLogin = regElement.getDefaultLogin();
- String defaultPassword = regElement.getDefaultPassword();
- Taxonomy[] taxonomies = regElement.getTaxonomies();
- if (!createRegistryInUDDIPerspective(inquiryAPI, publishAPI, registryName, null, defaultLogin, defaultPassword, taxonomies, false))
- return false;
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL", registryName));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddWSILToWSILPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddWSILToWSILPerspectiveAction.java
deleted file mode 100644
index d249eef65..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/AddWSILToWSILPerspectiveAction.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesWSILElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.OpenWSILAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilActionInputs;
-
-public class AddWSILToWSILPerspectiveAction extends MultipleLinkAction
-{
- public AddWSILToWSILPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink()
- {
- return "favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp";
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesWSILElement wsilElement = (FavoritesWSILElement) selectedElement;
- String wsilURL = wsilElement.getWsilUrl();
- OpenWSILAction openWSILAction = new OpenWSILAction(controller_);
- Hashtable propertyTable = openWSILAction.getPropertyTable();
- propertyTable.put(WsilActionInputs.WSIL_URL, wsilURL);
- propertyTable.put(WsilActionInputs.WSIL_INSPECTION_TYPE, String.valueOf(WsilActionInputs.WSIL_DETAILS));
- boolean actionResult = openWSILAction.run();
- if (actionResult)
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_ADD_WSIL_TO_WSIL_PERSPECTIVE_SUCCESSFUL", wsilURL));
- else
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_ERROR_ADD_WSIL_TO_WSIL_PERSPECTIVE", wsilURL));
- return actionResult;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesAddToWSDLPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesAddToWSDLPerspectiveAction.java
deleted file mode 100644
index 568b21776..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesAddToWSDLPerspectiveAction.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesWSDLServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.OpenWSDLAction;
-
-public class FavoritesAddToWSDLPerspectiveAction extends MultipleLinkAction
-{
- public FavoritesAddToWSDLPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink()
- {
- return "favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp";
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- FavoritesWSDLServiceElement wsdlElement = (FavoritesWSDLServiceElement) selectedNode.getTreeElement();
- String wsdlUrl = wsdlElement.getWsdlUrl();
- OpenWSDLAction openWSDLAction = new OpenWSDLAction(controller_);
- Hashtable propertyTable = openWSDLAction.getPropertyTable();
- propertyTable.put(ActionInputs.QUERY_INPUT_WSDL_URL, wsdlUrl);
- boolean actionResult = openWSDLAction.run();
- if (actionResult)
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_ADD_WSDL_TO_WSDL_PERSPECTIVE_SUCCESSFUL", wsdlUrl));
- else
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_ERROR_ADD_WSDL_TO_WSDL_PERSPECTIVE", wsdlUrl));
- return actionResult;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToFileSystemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToFileSystemAction.java
deleted file mode 100644
index 632814c7b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToFileSystemAction.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.io.OutputStream;
-import javax.wsdl.Definition;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.WSDLFileNameHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesWSDLServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-
-public class FavoritesImportToFileSystemAction extends ImportToFileSystemAction {
-
- private Definition def_;
- private String wsdlFileName_;
-
- public FavoritesImportToFileSystemAction(Controller controller) {
- super(controller);
- }
-
- public static final String getActionLink(int nodeId,int toolId,int viewId,int viewToolId)
- {
- return ImportToFileSystemAction.getActionLink(nodeId,toolId,viewId,viewToolId,"favorites/actions/FavortiesImportToFileSystemActionJSP.jsp");
- }
-
- public boolean write(OutputStream os) {
- if (def_ != null) {
- return writeWSDLDefinition(os, def_);
- }
- else {
- return false;
- }
- }
-
- public String getDefaultFileName() {
- return wsdlFileName_;
- }
-
- public boolean run() {
- int nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
-
- // return false if nodeID == 0, that is the main node
- if (nodeID == 0)
- return false;
-
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
-
- String wsdlURL = ((FavoritesWSDLServiceElement)selectedElement).getWsdlUrl();
- wsdlFileName_ = WSDLFileNameHelper.getWSDLFileName(wsdlURL);
- try {
- def_ = (new Uddi4jHelper()).getWSDLDefinition(wsdlURL);
- }
- catch (Throwable t) {
- favPerspective.getMessageQueue().addMessage(t.getMessage());
- return false;
- }
- return true;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getFavoritesPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getFavoritesPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToWorkbenchAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToWorkbenchAction.java
deleted file mode 100644
index 58663dbb9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesImportToWorkbenchAction.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToWorkbenchAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesImportToWorkbenchAction extends ImportToWorkbenchAction {
- public FavoritesImportToWorkbenchAction(Controller controller) {
- super(controller);
- }
-
- public FormTool getSelectedFormTool() {
- FavoritesPerspective favoritesPerspective = controller_.getFavoritesPerspective();
- return (FormTool)favoritesPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
- }
-
- public ImportToFileSystemAction newImportToFileSystemAction() {
- FavoritesImportToFileSystemAction action = new FavoritesImportToFileSystemAction(controller_);
- Hashtable table = action.getPropertyTable();
-
- FavoritesPerspective favoritesPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
-
- table.put(ActionInputs.NODEID, String.valueOf(selectedNode.getNodeId()));
- table.put(ActionInputs.VIEWID, String.valueOf(selectedNode.getViewId()));
-
- return action;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getFavoritesPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getFavoritesPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesLaunchWebServiceWizardAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesLaunchWebServiceWizardAction.java
deleted file mode 100644
index 54917460c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesLaunchWebServiceWizardAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LaunchWebServiceWizardAction;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesWSDLServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesLaunchWebServiceWizardAction extends LaunchWebServiceWizardAction {
-
- public FavoritesLaunchWebServiceWizardAction(Controller controller) {
- super(controller);
- }
-
- public static LaunchWebServiceWizardAction newAction(Controller controller) {
- return new FavoritesLaunchWebServiceWizardAction(controller);
- }
-
- public FormTool getSelectedFormTool() {
- FavoritesPerspective favoritesPerspective = controller_.getFavoritesPerspective();
- return (FormTool)favoritesPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
- }
-
- public boolean run() {
- FavoritesPerspective favoritesPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
- if (selectedElement instanceof FavoritesWSDLServiceElement)
- return launchWizard(((FavoritesWSDLServiceElement)selectedElement).getWsdlUrl());
- else
- return false;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getFavoritesPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getFavoritesPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesRestoreDefaultFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesRestoreDefaultFavoritesAction.java
deleted file mode 100644
index 48076eb40..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesRestoreDefaultFavoritesAction.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Vector;
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LinkAction;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesMainElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesRestoreDefaultFavoritesAction extends LinkAction
-{
- public FavoritesRestoreDefaultFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp");
- return actionLink.toString();
- }
-
- protected boolean processLinkParameters(HttpServletRequest request)
- {
- return true;
- }
-
- public boolean run()
- {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node mainNode = nodeManager.getRootNode();
- FavoritesMainElement mainElement = (FavoritesMainElement)mainNode.getTreeElement();
- boolean actionResult = mainElement.restoreFavoritesDefault();
- if (actionResult)
- {
- Vector folderNodes = mainNode.getChildNodes();
- for (int i = 0; i < folderNodes.size(); i++)
- {
- Node folderNode = (Node)folderNodes.elementAt(i);
- TreeElement treeElement = folderNode.getTreeElement();
- if (treeElement instanceof FavoritesFolderElement)
- {
- FavoritesFolderElement folderElement = (FavoritesFolderElement)treeElement;
- folderElement.removeAllFavorites(controller_.getServletEngineStateLocation());
- folderElement.init(mainElement);
- }
- }
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_INFO_FAVORITES_RESTORED_TO_DEFAULT"));
- return true;
- }
- else
- {
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_ERROR_OPEN_FAVORITES_BACKUP"));
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesToggleNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesToggleNodeAction.java
deleted file mode 100644
index bafa64d9b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/FavoritesToggleNodeAction.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ToggleNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesToggleNodeAction extends ToggleNodeAction {
- public FavoritesToggleNodeAction(Controller controller) {
- super(controller, controller.getFavoritesPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeId, boolean open) {
- StringBuffer actionLink = new StringBuffer("favorites/actions/FavoritesToggleNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeId);
- actionLink.append('&');
- actionLink.append(ActionInputs.OPEN);
- actionLink.append('=');
- if (open)
- actionLink.append(ActionInputs.OPEN_NODE);
- else
- actionLink.append(ActionInputs.CLOSE_NODE);
- return actionLink.toString();
- }
-
- public final String getActionLinkForHistory() {
- ToolManager toolManager = toggledNode_.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- int nodeId = toggledNode_.getNodeId();
- int toolId = selectedTool.getToolId();
- int viewId = toggledNode_.getViewId();
- int viewToolId = toggledNode_.getViewToolId();
- if (selectedTool.getToolType() != ToolTypes.ACTION)
- return SelectFavoritesToolAction.getActionLink(nodeId, toolId, viewId, viewToolId, true);
- else
- return SelectFavoritesNodeAction.getActionLink(nodeId, true);
- }
-
- public final String getTreeContentVar()
- {
- return controller_.getFavoritesPerspective().getTreeContentVar();
- }
-
- public final String getTreeContentPage()
- {
- return controller_.getFavoritesPerspective().getTreeContentPage();
- }
-
- public final String getPropertiesContainerVar()
- {
- return controller_.getFavoritesPerspective().getPropertiesContainerVar();
- }
-
- public final String getPropertiesContainerPage()
- {
- return controller_.getFavoritesPerspective().getPropertiesContainerPage();
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_FAVORITES;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/MultipleLinkAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/MultipleLinkAction.java
deleted file mode 100644
index aa5aa09dc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/MultipleLinkAction.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LinkAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.MassNodeIdTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public abstract class MultipleLinkAction extends LinkAction
-{
- public MultipleLinkAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processLinkParameters(HttpServletRequest request)
- {
- String isMultipleLinkAction = request.getParameter(FavoritesActionInputs.MULTIPLE_LINK_ACTION);
- if (isMultipleLinkAction != null)
- {
- propertyTable_.put(FavoritesActionInputs.MULTIPLE_LINK_ACTION, isMultipleLinkAction);
- return processMultipleLinkActionParameters(request);
- }
- else
- {
- propertyTable_.remove(FavoritesActionInputs.MULTIPLE_LINK_ACTION);
- String nodeIDString = request.getParameter(ActionInputs.NODEID);
- String toolIDString = request.getParameter(ActionInputs.TOOLID);
- String viewIDString = request.getParameter(ActionInputs.VIEWID);
- String viewToolIDString = request.getParameter(ActionInputs.VIEWTOOLID);
- if (nodeIDString != null)
- propertyTable_.put(ActionInputs.NODEID, nodeIDString);
- if (toolIDString != null)
- propertyTable_.put(ActionInputs.TOOLID, toolIDString);
- if (viewIDString != null)
- propertyTable_.put(ActionInputs.VIEWID, viewIDString);
- if (viewToolIDString != null)
- propertyTable_.put(ActionInputs.VIEWTOOLID, viewToolIDString);
- return true;
- }
- }
-
- protected boolean processMultipleLinkActionParameters(HttpServletRequest request)
- {
- String[] massActionNodeIDs = request.getParameterValues(FavoritesActionInputs.MASS_ACTION_NODE_ID);
- propertyTable_.put(FavoritesActionInputs.MASS_ACTION_NODE_ID, massActionNodeIDs);
- if (massActionNodeIDs.length == 0)
- return false;
- else
- return true;
- }
-
- public ITransformer[] getTransformers()
- {
- return new ITransformer[] {new MassNodeIdTransformer(controller_, FavoritesActionInputs.MASS_ACTION_NODE_ID)};
- }
-
- protected boolean isMultipleLinkAction()
- {
- return propertyTable_.containsKey(FavoritesActionInputs.MULTIPLE_LINK_ACTION);
- }
-
- protected String[] getMassActionNodeIds()
- {
- Object object = propertyTable_.get(FavoritesActionInputs.MASS_ACTION_NODE_ID);
- if (object == null)
- return new String[0];
- else if (object.getClass().isArray())
- return (String[])object;
- else
- return new String[] {(String)object};
- }
-
- public boolean run()
- {
- return (isMultipleLinkAction()) ? executeMultipleLinkAction() : executeSingleLinkAction();
- }
-
- protected boolean executeMultipleLinkAction()
- {
- boolean result = false;
- String[] massActionNodeIDs = getMassActionNodeIds();
- if (massActionNodeIDs != null)
- {
- for (int i = 0; i < massActionNodeIDs.length; i++)
- {
- propertyTable_.put(ActionInputs.NODEID, massActionNodeIDs[i]);
- if (executeSingleLinkAction())
- result = true;
- }
- propertyTable_.remove(ActionInputs.NODEID);
- }
- return result;
- }
-
- protected abstract boolean executeSingleLinkAction();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/RemoveFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/RemoveFavoritesAction.java
deleted file mode 100644
index 877c72e06..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/RemoveFavoritesAction.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesMainElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class RemoveFavoritesAction extends MultipleLinkAction
-{
- public RemoveFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("favorites/actions/RemoveFavoritesActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink()
- {
- return "favorites/actions/RemoveFavoritesActionJSP.jsp";
- }
-
- protected boolean executeSingleLinkAction()
- {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- String nodeIDString = (String) propertyTable_.get(ActionInputs.NODEID);
- int nodeID;
- try
- {
- nodeID = Integer.parseInt(nodeIDString);
- }
- catch (NumberFormatException nfe)
- {
- nodeID = nodeManager.getSelectedNodeId();
- }
- Node selectedNode = nodeManager.getNode(nodeID);
- if (selectedNode == null)
- return false;
- TreeElement selectedElement = selectedNode.getTreeElement();
- String pluginMetadataDirectory = controller_.getServletEngineStateLocation();
- boolean actionResult;
- if (selectedElement instanceof FavoritesElement)
- actionResult = ((FavoritesElement) selectedElement).getParentFolderElement().removeFavoriteByNodeID(nodeID, pluginMetadataDirectory);
- else if (selectedElement instanceof FavoritesFolderElement)
- actionResult = ((FavoritesFolderElement) selectedElement).removeAllFavorites(pluginMetadataDirectory);
- else if (selectedElement instanceof FavoritesMainElement)
- {
- Enumeration e;
- FavoritesMainElement mainElement = (FavoritesMainElement) selectedElement;
- e = mainElement.getElements(FavoritesModelConstants.REL_WSIL_FOLDER_NODE);
- actionResult = ((FavoritesFolderElement) e.nextElement()).removeAllFavorites(pluginMetadataDirectory);
- e = mainElement.getElements(FavoritesModelConstants.REL_WSDL_SERVICE_FOLDER_NODE);
- actionResult = actionResult && ((FavoritesFolderElement) e.nextElement()).removeAllFavorites(pluginMetadataDirectory);
- e = mainElement.getElements(FavoritesModelConstants.REL_UDDI_SERVICE_FOLDER_NODE);
- actionResult = actionResult && ((FavoritesFolderElement) e.nextElement()).removeAllFavorites(pluginMetadataDirectory);
- e = mainElement.getElements(FavoritesModelConstants.REL_UDDI_BUSINESS_FOLDER_NODE);
- actionResult = actionResult && ((FavoritesFolderElement) e.nextElement()).removeAllFavorites(pluginMetadataDirectory);
- e = mainElement.getElements(FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_FOLDER_NODE);
- actionResult = actionResult && ((FavoritesFolderElement) e.nextElement()).removeAllFavorites(pluginMetadataDirectory);
- e = mainElement.getElements(FavoritesModelConstants.REL_UDDI_REGISTRY_FOLDER_NODE);
- actionResult = actionResult && ((FavoritesFolderElement) e.nextElement()).removeAllFavorites(pluginMetadataDirectory);
- }
- else
- actionResult = false;
- if (actionResult)
- favPerspective.getMessageQueue().addMessage(controller_.getMessage("MSG_INFO_NODE_CLEARED", selectedNode.getNodeName()));
- return actionResult;
- }
-
- public String getTreeContentVar()
- {
- return "favNavigatorContent";
- }
-
- public String getTreeContentPage()
- {
- return "favorites/fav_navigator_content.jsp";
- }
-
- public String getPropertiesContainerVar()
- {
- return "favPropertiesContainer";
- }
-
- public String getPropertiesContainerPage()
- {
- return "favorites/fav_properties_container.jsp";
- }
-
- public String getStatusContentVar()
- {
- return "favStatusContent";
- }
-
- public String getStatusContentPage()
- {
- return "favorites/fav_status_content.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/ResizeFavoritesFramesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/ResizeFavoritesFramesAction.java
deleted file mode 100644
index 00ffe421b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/ResizeFavoritesFramesAction.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ResizeFramesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesFrameNames;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class ResizeFavoritesFramesAction extends ResizeFramesAction
-{
- public ResizeFavoritesFramesAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processOthers(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- // Save the current frameset sizes.
- String frameName = (String)propertyTable_.get(ActionInputs.FRAME_NAME);
- String perspectiveContentFramesetCols = (String)propertyTable_.get(FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
-
- // Set the new frameset sizes.
- if (frameName.equals(FavoritesFrameNames.NAVIGATOR_CONTAINER))
- {
- favPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
- favPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- if (perspectiveContentFramesetCols.startsWith("100%"))
- {
- // Restore.
- favPerspective.setPerspectiveContentFramesetCols(favPerspective.getSavedPerspectiveContentFramesetCols());
- }
- else
- {
- // Maximize.
- favPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- favPerspective.setPerspectiveContentFramesetCols("100%,0%");
- }
- }
- else if (frameName.equals(FavoritesFrameNames.PROPERTIES_CONTAINER))
- {
- if (actionsContainerFramesetRows.startsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- favPerspective.setPerspectiveContentFramesetCols(favPerspective.getSavedPerspectiveContentFramesetCols());
- favPerspective.setActionsContainerFramesetRows(favPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- favPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- favPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- favPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- favPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- favPerspective.setActionsContainerFramesetRows("100%,0%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- favPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- favPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- else if (frameName.equals(FavoritesFrameNames.STATUS_CONTAINER))
- {
- if (actionsContainerFramesetRows.endsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- favPerspective.setPerspectiveContentFramesetCols(favPerspective.getSavedPerspectiveContentFramesetCols());
- favPerspective.setActionsContainerFramesetRows(favPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- favPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- favPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- favPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- favPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- favPerspective.setActionsContainerFramesetRows("0%,100%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- favPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- favPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesNodeAction.java
deleted file mode 100644
index f4dfe1693..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesNodeAction.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-
-public class SelectFavoritesNodeAction extends SelectNodeAction
-{
- public SelectFavoritesNodeAction(Controller controller)
- {
- super(controller, controller.getFavoritesPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeID, boolean keepHistory)
- {
- StringBuffer actionLink = new StringBuffer("favorites/actions/SelectFavoritesNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- if (keepHistory) {
- actionLink.append('&');
- actionLink.append(ActionInputs.ISHISTORY);
- actionLink.append("=1");
- }
- return actionLink.toString();
- }
-
- protected String getActionLinkForHistory()
- {
- Node selectedNode = getSelectedNode();
- Tool selectedTool = selectedNode.getToolManager().getSelectedTool();
- if (selectedTool == null)
- return null;
- else if (selectedTool.getToolType() != ToolTypes.ACTION)
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), selectedTool.getToolId(), selectedNode.getViewId(), selectedNode.getViewToolId(), true);
- else
- return getActionLink(selectedNode.getNodeId(), true);
- }
-
- public final String getTreeContentVar() {
- return controller_.getFavoritesPerspective().getTreeContentVar();
- }
-
- public final String getTreeContentPage() {
- return controller_.getFavoritesPerspective().getTreeContentPage();
- }
-
- public final String getPropertiesContainerVar() {
- return controller_.getFavoritesPerspective().getPropertiesContainerVar();
- }
-
- public final String getPropertiesContainerPage() {
- return controller_.getFavoritesPerspective().getPropertiesContainerPage();
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_FAVORITES;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesToolAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesToolAction.java
deleted file mode 100644
index 295b76eaa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesToolAction.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-
-public class SelectFavoritesToolAction extends SelectNodeToolAction
-{
- public SelectFavoritesToolAction(Controller controller)
- {
- super(controller, controller.getFavoritesPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID, boolean keepHistory)
- {
- StringBuffer actionLink = new StringBuffer("favorites/actions/SelectFavoritesToolActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- if (viewID != ActionInputs.VIEWID_DEFAULT) {
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- }
- if (keepHistory) {
- actionLink.append('&');
- actionLink.append(ActionInputs.ISHISTORY);
- actionLink.append("=1");
- }
- return actionLink.toString();
- }
-
- protected String getActionLinkForHistory()
- {
- if (getSelectedTool().getToolType() != ToolTypes.ACTION) {
- Node selectedNode = getSelectedNode();
- return getActionLink(selectedNode.getNodeId(), getSelectedTool().getToolId(), selectedNode.getViewId(), selectedNode.getViewToolId(), true);
- }
- else
- return null;
- }
-
- public final String getTreeContentVar() {
- return controller_.getFavoritesPerspective().getTreeContentVar();
- }
-
- public final String getTreeContentPage() {
- return controller_.getFavoritesPerspective().getTreeContentPage();
- }
-
- public final String getPropertiesContainerVar() {
- return controller_.getFavoritesPerspective().getPropertiesContainerVar();
- }
-
- public final String getPropertiesContainerPage() {
- return controller_.getFavoritesPerspective().getPropertiesContainerPage();
- }
-
- public final String getPropertiesContentVar() {
- return controller_.getFavoritesPerspective().getPropertiesContentVar();
- }
-
- public final String getPropertiesContentPage() {
- return controller_.getFavoritesPerspective().getPropertiesContentPage();
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_FAVORITES;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeAction.java
deleted file mode 100644
index f9d0dbc60..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeAction.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUserDefUDDIRegistryFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class SelectFavoritesUserDefUDDIRegistryNodeAction extends SelectFavoritesNodeAction
-{
- public SelectFavoritesUserDefUDDIRegistryNodeAction(Controller controller)
- {
- super(controller);
- }
-
- public void performExtendedAction()
- {
- TreeElement selectedElement = selectedNode_.getTreeElement();
- ((FavoritesUserDefUDDIRegistryFolderElement)selectedElement).refresh();
- }
-
-
- public static String getActionLink(int nodeID, boolean keepHistory)
- {
- StringBuffer actionLink = new StringBuffer("favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- if (keepHistory) {
- actionLink.append('&');
- actionLink.append(ActionInputs.ISHISTORY);
- actionLink.append("=1");
- }
- return actionLink.toString();
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SwitchPerspectiveFromFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SwitchPerspectiveFromFavoritesAction.java
deleted file mode 100644
index 46dc69997..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/actions/SwitchPerspectiveFromFavoritesAction.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public final class SwitchPerspectiveFromFavoritesAction extends ShowPerspectiveAction
-{
- public SwitchPerspectiveFromFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- String perspectiveContentFramesetCols = (String)propertyTable_.get(FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
-
- // Save the frameset sizes iff no frame is maximized.
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- if (!perspectiveContentFramesetCols.startsWith("100%") && !perspectiveContentFramesetCols.endsWith("100%"))
- favPerspective.setPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
-
- if (!actionsContainerFramesetRows.startsWith("100%") && !actionsContainerFramesetRows.endsWith("100%"))
- favPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
-
- return super.run();
- }
-
- public static final String getFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- StringBuffer formLink = new StringBuffer("wsdl/actions/SwitchPerspectiveFromWSDLActionJSP.jsp?");
- formLink.append(ActionInputs.PERSPECTIVE).append('=').append(targetPerspectiveId);
- if (forHistory)
- formLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return formLink.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesActionInputs.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesActionInputs.java
deleted file mode 100644
index c4ca64187..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesActionInputs.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.constants;
-
-public class FavoritesActionInputs
-{
- // mass actions
- public final static String MULTIPLE_LINK_ACTION = "multipleLinkAction";
- public final static String MASS_ACTION_NODE_ID = "massActionNodeID";
-
- // resize favorites frames action
- public final static String FRAMESET_COLS_PERSPECTIVE_CONTENT = "framesetColsPerspectiveContent";
- public final static String FRAMESET_ROWS_ACTIONS_CONTAINER = "framesetRowsActionsContainer";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesFrameNames.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesFrameNames.java
deleted file mode 100644
index 5a2622049..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesFrameNames.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.constants;
-
-public class FavoritesFrameNames
-{
- public final static String NAVIGATOR_CONTAINER = "fav_navigator_container";
- public final static String NAVIGATOR_TOOLBAR = "fav_navigator_toolbar";
- public final static String NAVIGATOR_CONTENT = "fav_navigator_content";
- public final static String ACTIONS_CONTAINER = "fav_actions_container";
- public final static String PROPERTIES_CONTAINER = "fav_properties_container";
- public final static String PROPERTIES_TOOLBAR = "fav_properties_toolbar";
- public final static String PROPERTIES_CONTENT = "fav_properties_content";
- public final static String STATUS_CONTAINER = "fav_status_container";
- public final static String STATUS_TOOLBAR = "fav_status_toolbar";
- public final static String STATUS_CONTENT = "fav_status_content";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesModelConstants.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesModelConstants.java
deleted file mode 100644
index f67252d95..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/constants/FavoritesModelConstants.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.constants;
-
-public class FavoritesModelConstants {
- // Relations
- public final static String REL_WSIL_FOLDER_NODE = "relWSILFolderNode";
- public final static String REL_WSDL_SERVICE_FOLDER_NODE = "relWSDLServiceFolderNode";
- public final static String REL_UDDI_SERVICE_FOLDER_NODE = "relUDDIServiceFolderNode";
- public final static String REL_UDDI_BUSINESS_FOLDER_NODE = "relUDDIBusinessFolderNode";
- public final static String REL_UDDI_SERVICE_INTERFACE_FOLDER_NODE = "relUDDIServiceInterfaceFolderNode";
- public final static String REL_UDDI_REGISTRY_FOLDER_NODE = "relUDDIRegistryFolerNode";
- public final static String REL_USER_DEF_UDDI_REGISTRY_FOLDER_NODE = "relUserDefUDDIRegistryFolderNode";
- public final static String REL_WSIL_NODE = "relWSILNode";
- public final static String REL_WSDL_SERVICE_NODE = "relWSDLServiceNode";
- public final static String REL_UDDI_SERVICE_NODE = "relUDDIServiceNode";
- public final static String REL_UDDI_BUSINESS_NODE = "relUDDIBusinessNode";
- public final static String REL_UDDI_SERVICE_INTERFACE_NODE = "relUDDIServiceInterfaceNode";
- public final static String REL_UDDI_REGISTRY_NODE = "relUDDIRegistryNode";
- public final static String REL_USER_DEF_UDDI_REGISTRY_NODE = "relUserDefUDDIRegistryNode";
-
- // Properties
- public final static String PROP_PLUGIN_METADATA_DIRECTORY = "pluginMetadataDirectory";
- public final static String PROP_WSIL_URL = "wsilURL";
- public final static String PROP_WSDL_URL = "wsdlURL";
- public final static String PROP_UDDI_SERVICE_NAME = "UDDIServiceName";
- public final static String PROP_UDDI_SERVICE_INQUIRY_API = "UDDIServiceInquiryAPI";
- public final static String PROP_UDDI_SERVICE_KEY = "UDDIServiceKey";
- public final static String PROP_UDDI_BUSINESS_NAME = "UDDIBusinessName";
- public final static String PROP_UDDI_BUSINESS_INQUIRY_API = "UDDIBusinessInquiryAPI";
- public final static String PROP_UDDI_BUSINESS_KEY = "UDDIBusinessKey";
- public final static String PROP_UDDI_SERVICE_INTERFACE_NAME = "UDDIServiceInterfaceName";
- public final static String PROP_UDDI_SERVICE_INTERFACE_INQUIRY_API = "UDDIServiceInterfaceInquiryAPI";
- public final static String PROP_UDDI_SERVICE_INTERFACE_KEY = "UDDIServiceInterfaceKey";
- public final static String PROP_UDDI_REGISTRY_NAME = "UDDIRegistryName";
- public final static String PROP_UDDI_REGISTRY_INQUIRY_API = "UDDIRegistryInquiryAPI";
- public final static String PROP_UDDI_REGISTRY_PUBLISH_API = "UDDIRegistryPublishAPI";
- public final static String PROP_UDDI_REGISTRY_REGISTRATION_URL = "UDDIRegistryRegistrationURL";
- public final static String PROP_UDDI_REGISTRY_CATEGORIES_ENUM = "UDDIRegistryCategoriesEnum";
-
- // List Managers for Favorites
- public final static String LIST_MANAGER_WSDL_SERVICES = "wsdlServices";
- public final static String LIST_MANAGER_UDDI_SERVICES = "uddiServices";
- public final static String LIST_MANAGER_UDDI_BUSINESS = "uddiBusiness";
- public final static String LIST_MANAGER_WSIL_LINKS = "wsilLinks";
- public final static String LIST_MANAGER_UDDI_REGISTRY = "uddiRegistry";
- public final static String LIST_MANAGER_UDDI_SERVICE_INTERFACE = "uddiServiceInterface";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesElement.java
deleted file mode 100644
index 07102a268..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesElement.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-
-/**
-* The data model element that represents
-* a WSIL document
-*/
-public class FavoritesElement extends TreeElement {
-
- public FavoritesElement(String name, Model model) {
- super(name, model);
- }
-
- public FavoritesFolderElement getParentFolderElement() {
- Enumeration e = getElements(ModelConstants.REL_OWNER);
- if (!e.hasMoreElements())
- return null;
- else
- return (FavoritesFolderElement)e.nextElement();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesFolderElement.java
deleted file mode 100644
index 2e637d3d8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesFolderElement.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-/**
-* The data model element that represents
-* a WSIL document
-*/
-public abstract class FavoritesFolderElement extends TreeElement
-{
- protected NodeManager nodeManager_;
-
- public FavoritesFolderElement(String name, Model model, NodeManager nodeManager) {
- super(name, model);
- nodeManager_ = nodeManager;
- }
-
- protected FavoritesMainElement getFavoritesMainElement() {
- return (FavoritesMainElement)nodeManager_.getRootNode().getTreeElement();
- }
-
- public abstract void init(FavoritesMainElement favMainElement);
-
- public abstract boolean removeFavoriteByNodeID(int nodeID,String pluginMetadataDirectory);
-
- public abstract boolean removeAllFavorites(String pluginMetadataDirectory);
-
- public abstract boolean addFavorite(Hashtable table);
-
- public abstract boolean favoriteExists(Hashtable table);
-
- public abstract Enumeration getAllFavorites();
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesMainElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesMainElement.java
deleted file mode 100644
index daeb65688..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesMainElement.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import org.apache.wsil.Link;
-import org.apache.wsil.Service;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.favorites.FavoritesRegistryTypeWSE;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-/**
-* The data model element that represents
-* a WSIL document
-*/
-public class FavoritesMainElement extends TreeElement
-{
- private Controller controller_;
- private FavoritesRegistryTypeWSE favRegistry_;
-
- public FavoritesMainElement(String name, Model model, Controller controller)
- {
- super(name, model);
- controller_ = controller;
- favRegistry_ = new FavoritesRegistryTypeWSE(
- controller.getDefaultFavoritesLocation(),
- controller.getServletEngineStateLocation()
- );
- }
-
- public boolean restoreFavoritesDefault()
- {
- favRegistry_.restoreFavoritesDefault();
- return saveFavorites();
- }
-
- public boolean saveFavorites()
- {
- try
- {
- favRegistry_.save();
- return true;
- }
- catch (Throwable t)
- {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- favPerspective.getMessageQueue().addMessage(favPerspective.getMessage("MSG_ERROR_SAVE_FAVORITES_WSIL", favRegistry_.getWriteLocation()));
- return false;
- }
- }
-
- public Link addUDDIRegistry(String registryName, String inquiryAPI, String publishAPI, String registrationURL)
- {
- return favRegistry_.addUDDIRegistry(registryName, inquiryAPI, publishAPI, registrationURL);
- }
-
- public Link addUDDIBusiness(String businessName, String inquiryAPI, String businessKey)
- {
- return favRegistry_.addUDDIBusiness(businessName, inquiryAPI, businessKey);
- }
-
- public Service addUDDIService(String serviceName, String inquiryAPI, String serviceKey)
- {
- return favRegistry_.addUDDIService(serviceName, inquiryAPI, serviceKey);
- }
-
- public Service addUDDIServiceInterface(String serIntName, String inquiryAPI, String serIntKey)
- {
- return favRegistry_.addUDDIServiceInterface(serIntName, inquiryAPI, serIntKey);
- }
-
- public Service addWSDLService(String url)
- {
- return favRegistry_.addWSDLService(url);
- }
-
- public Link addWSILLink(String url)
- {
- return favRegistry_.addWSILLink(url);
- }
-
- public boolean removeService(Service service) {
- favRegistry_.removeService(service);
- return true;
- }
-
- public boolean removeLink(Link link) {
- favRegistry_.removeLink(link);
- return true;
- }
-
- public Link[] loadUDDIRegistries()
- {
- return favRegistry_.loadUDDIRegistries();
- }
-
- public Link[] loadUDDIBusinesses()
- {
- return favRegistry_.loadUDDIBusinesses();
- }
-
- public Service[] loadUDDIServices()
- {
- return favRegistry_.loadUDDIServices();
- }
-
- public Service[] loadUDDIServiceInterfaces()
- {
- return favRegistry_.loadUDDIServiceInterfaces();
- }
-
- public Service[] loadWSDLServices()
- {
- return favRegistry_.loadWSDLServices();
- }
-
- public Link[] loadWSILs()
- {
- return favRegistry_.loadWSILs();
- }
-
- public final FavoritesUDDIRegistryFolderElement getFavoritesUDDIRegistryFolderElement()
- {
- return (FavoritesUDDIRegistryFolderElement)(getElements(FavoritesModelConstants.REL_UDDI_REGISTRY_FOLDER_NODE).nextElement());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessElement.java
deleted file mode 100644
index e9a148e08..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessElement.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesUDDIBusiness;
-
-public class FavoritesUDDIBusinessElement extends FavoritesElement {
-
- private FavoritesUDDIBusiness uddiBusiness_;
-
- public FavoritesUDDIBusinessElement(String name, Model model, Link link) {
- super(name, model);
- uddiBusiness_ = new FavoritesUDDIBusiness();
- uddiBusiness_.setLink(link);
- }
-
- public Link getLink() {
- return uddiBusiness_.getLink();
- }
-
- public String getName() {
- return uddiBusiness_.getName();
- }
-
- public String getInquiryURL() {
- return uddiBusiness_.getInquiryURL();
- }
-
- public String getBusinessKey() {
- return uddiBusiness_.getBusinessKey();
- }
-
- public String toString() {
- return getName();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessFolderElement.java
deleted file mode 100644
index 903ec86fb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIBusinessFolderElement.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-/**
-* The data model element that represents
-* a WSIL document
-*/
-public class FavoritesUDDIBusinessFolderElement extends FavoritesFolderElement
-{
- public FavoritesUDDIBusinessFolderElement(String name, Model model, NodeManager nodeManager) {
- super(name, model, nodeManager);
- }
-
- public void init(FavoritesMainElement favMainElement) {
- Link[] links = favMainElement.loadUDDIBusinesses();
- for (int i = 0; i < links.length; i++) {
- Link link = links[i];
- FavoritesUDDIBusinessElement favUDDIBusinessElement = new FavoritesUDDIBusinessElement((link.getAbstracts())[0].getText(), getModel(), link);
- connect(favUDDIBusinessElement, FavoritesModelConstants.REL_UDDI_BUSINESS_NODE, ModelConstants.REL_OWNER);
- }
- }
-
- public boolean addFavorite(Hashtable table) {
- String businessName = (String)table.get(FavoritesModelConstants.PROP_UDDI_BUSINESS_NAME);
- String inquiryAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_BUSINESS_INQUIRY_API);
- String businessKey = (String)table.get(FavoritesModelConstants.PROP_UDDI_BUSINESS_KEY);
- if (businessName == null || inquiryAPI == null || businessKey == null)
- return false;
- FavoritesUDDIBusinessElement e = getFavorite(inquiryAPI, businessKey);
- if (e != null)
- removeFavorite(e);
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Link link = favMainElement.addUDDIBusiness(businessName, inquiryAPI, businessKey);
- boolean saved = favMainElement.saveFavorites();
- if (saved) {
- FavoritesUDDIBusinessElement favUDDIBusinessElement = new FavoritesUDDIBusinessElement(businessName, getModel(), link);
- connect(favUDDIBusinessElement, FavoritesModelConstants.REL_UDDI_BUSINESS_NODE, ModelConstants.REL_OWNER);
- }
- return saved;
- }
-
- public boolean favoriteExists(Hashtable table) {
- String inquiryAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_BUSINESS_INQUIRY_API);
- String businessKey = (String)table.get(FavoritesModelConstants.PROP_UDDI_BUSINESS_KEY);
- if (inquiryAPI == null || businessKey == null)
- return false;
- return (getFavorite(inquiryAPI, businessKey) != null);
- }
-
- public boolean removeFavoriteByNodeID(int nodeID,String pluginMetadataDirectory) {
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (selectedElement instanceof FavoritesUDDIBusinessElement)
- return (removeFavorite((FavoritesUDDIBusinessElement)selectedElement) && favMainElement.saveFavorites());
- else
- return false;
- }
-
- private boolean removeFavorite(FavoritesUDDIBusinessElement element) {
- Link link = element.getLink();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (favMainElement.removeLink(link)) {
- element.disconnectAll();
- return true;
- }
- else
- return false;
- }
-
- public boolean removeAllFavorites(String pluginMetadataDirectory) {
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Enumeration e = getAllFavorites();
- while(e.hasMoreElements()) {
- FavoritesUDDIBusinessElement favUDDIBusinessElement = (FavoritesUDDIBusinessElement)e.nextElement();
- Link link = favUDDIBusinessElement.getLink();
- favMainElement.removeLink(link);
- }
- disconnectRel(FavoritesModelConstants.REL_UDDI_BUSINESS_NODE);
- return favMainElement.saveFavorites();
- }
-
- public Enumeration getAllFavorites() {
- return getElements(FavoritesModelConstants.REL_UDDI_BUSINESS_NODE);
- }
-
- private FavoritesUDDIBusinessElement getFavorite(String inquiryAPI, String businessKey) {
- Enumeration e = getAllFavorites();
- while (e.hasMoreElements()) {
- FavoritesUDDIBusinessElement busElement = (FavoritesUDDIBusinessElement)e.nextElement();
- if (inquiryAPI.equals(busElement.getInquiryURL()) &&
- businessKey.equals(busElement.getBusinessKey()))
- return busElement;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryElement.java
deleted file mode 100644
index 00a339723..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryElement.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesUDDIRegistry;
-import org.eclipse.wst.ws.internal.parser.favorites.IFavoritesUDDIRegistry;
-
-public class FavoritesUDDIRegistryElement extends FavoritesElement {
-
- private FavoritesUDDIRegistry uddiReg_;
-
- public FavoritesUDDIRegistryElement(String name, Model model, Link link) {
- super(name, model);
- uddiReg_ = new FavoritesUDDIRegistry();
- uddiReg_.setLink(link);
- }
-
- public Link getLink() {
- return uddiReg_.getLink();
- }
-
- public String getName() {
- return uddiReg_.getName();
- }
-
- public String getInquiryURL() {
- return uddiReg_.getInquiryURL();
- }
-
- public String getPublishURL() {
- return uddiReg_.getPublishURL();
- }
-
- public String getRegistrationURL() {
- return uddiReg_.getRegistrationURL();
- }
-
- public String toString() {
- return getName();
- }
-
- public IFavoritesUDDIRegistry getIFavoritesUDDIRegistryInterface()
- {
- return uddiReg_;
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryFolderElement.java
deleted file mode 100644
index c8c5b118d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIRegistryFolderElement.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.io.File;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryModel;
-import org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils;
-
-/**
-* The data model element that represents
-* a WSIL document
-*/
-public class FavoritesUDDIRegistryFolderElement extends FavoritesFolderElement
-{
- public FavoritesUDDIRegistryFolderElement(String name, Model model, NodeManager nodeManager) {
- super(name, model, nodeManager);
- }
-
- public void init(FavoritesMainElement favMainElement) {
- Link[] links = favMainElement.loadUDDIRegistries();
- for (int i = 0; i < links.length; i++) {
- Link link = links[i];
- FavoritesUDDIRegistryElement favUDDIRegsitryElement = new FavoritesUDDIRegistryElement((link.getAbstracts())[0].getText(), getModel(), link);
- connect(favUDDIRegsitryElement, FavoritesModelConstants.REL_UDDI_REGISTRY_NODE, ModelConstants.REL_OWNER);
- }
- }
-
- public boolean addFavorite(Hashtable table) {
- String registryName = (String)table.get(FavoritesModelConstants.PROP_UDDI_REGISTRY_NAME);
- String inquiryAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_REGISTRY_INQUIRY_API);
- String publishAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_REGISTRY_PUBLISH_API);
- String registrationURL = (String)table.get(FavoritesModelConstants.PROP_UDDI_REGISTRY_REGISTRATION_URL);
- Enumeration userDefinedCategories = (Enumeration)table.get(FavoritesModelConstants.PROP_UDDI_REGISTRY_CATEGORIES_ENUM);
- // Save the category data first and undo if necessary.
- if (userDefinedCategories != null)
- {
- String pluginMetadataDirectory = (String)table.get(FavoritesModelConstants.PROP_PLUGIN_METADATA_DIRECTORY);
- StringBuffer directoryBuffer = new StringBuffer();
- formCategoriesDirectory(directoryBuffer,pluginMetadataDirectory,registryName);
- File categoriesDirectoryFile = new File(directoryBuffer.toString());
- categoriesDirectoryFile.mkdirs();
- StringBuffer categoryFileName = new StringBuffer();
- while (userDefinedCategories.hasMoreElements())
- {
- CategoryModel categoryModel = (CategoryModel)userDefinedCategories.nextElement();
- categoryFileName.setLength(0);
- String encodedCategoryKey = URLUtils.encode(categoryModel.getCategoryKey());
- categoryFileName.append(categoriesDirectoryFile.getAbsolutePath()).append(File.separatorChar).append(encodedCategoryKey).append(".txt");
- byte rc = categoryModel.saveData(categoryFileName.toString());
- if (rc != CategoryModel.OPERATION_SUCCESSFUL)
- {
- // Delete the category file if it exists.
- File categoryFile = new File(categoryFileName.toString());
- if (categoryFile.exists())
- categoryFile.delete();
- }
- }
- cleanupCategoryDirectories(categoriesDirectoryFile);
- }
- if (registryName == null || inquiryAPI == null || publishAPI == null)
- return false;
- FavoritesUDDIRegistryElement e = getFavorite(registryName);
- if (e != null)
- removeFavorite(e);
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Link link = favMainElement.addUDDIRegistry(registryName, inquiryAPI, publishAPI, registrationURL);
- boolean saved = favMainElement.saveFavorites();
- if (saved) {
- FavoritesUDDIRegistryElement favUDDIRegsitryElement = new FavoritesUDDIRegistryElement(registryName, getModel(), link);
- connect(favUDDIRegsitryElement, FavoritesModelConstants.REL_UDDI_REGISTRY_NODE, ModelConstants.REL_OWNER);
- }
- return saved;
- }
-
- public static final void formCategoriesDirectory(StringBuffer categoriesDirectory,String pluginMetadataDirectory,String registryName)
- {
- // <metadata>/uddi/<registryId>/categories
- String encodedRegistryName = URLUtils.encode(registryName);
- categoriesDirectory.append(pluginMetadataDirectory).append("uddi").append(File.separatorChar).append(encodedRegistryName).append(File.separatorChar).append("categories");
- }
-
- private final void clearRegistryMetadata(String pluginMetadataDirectory,String registryName)
- {
- StringBuffer categoriesDirectory = new StringBuffer();
- formCategoriesDirectory(categoriesDirectory,pluginMetadataDirectory,registryName);
- File categoriesDirectoryFile = new File(categoriesDirectory.toString());
- File[] categoryFiles = categoriesDirectoryFile.listFiles();
- if (categoryFiles != null)
- {
- for (int i=0;i<categoryFiles.length;i++)
- categoryFiles[i].delete();
- }
- cleanupCategoryDirectories(categoriesDirectoryFile);
- }
-
- private final void cleanupCategoryDirectories(File categoriesDirectoryFile)
- {
- // Delete the categories subdirectory if it is empty.
- String[] fileList;
- fileList = categoriesDirectoryFile.list();
- if (fileList == null || fileList.length == 0)
- categoriesDirectoryFile.delete();
- // Delete the <registryId> subdirectory if it is empty.
- File registryIdDirectoryFile = categoriesDirectoryFile.getParentFile();
- fileList = registryIdDirectoryFile.list();
- if (fileList == null || fileList.length == 0)
- registryIdDirectoryFile.delete();
- // Delete the uddi subdirectory if it is empty.
- File uddiDirectoryFile = registryIdDirectoryFile.getParentFile();
- fileList = uddiDirectoryFile.list();
- if (fileList == null || fileList.length == 0)
- uddiDirectoryFile.delete();
- }
-
- public boolean favoriteExists(Hashtable table) {
- String registryName = (String)table.get(FavoritesModelConstants.PROP_UDDI_REGISTRY_NAME);
- if (registryName == null)
- return false;
- return (getFavorite(registryName) != null);
- }
-
- public boolean removeFavoriteByNodeID(int nodeID,String pluginMetadataDirectory) {
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (selectedElement instanceof FavoritesUDDIRegistryElement)
- {
- clearRegistryMetadata(pluginMetadataDirectory,selectedElement.getName());
- boolean rc = removeFavorite((FavoritesUDDIRegistryElement)selectedElement);
- rc = rc && favMainElement.saveFavorites();
- return rc;
- }
- else
- return false;
- }
-
- private boolean removeFavorite(FavoritesUDDIRegistryElement element) {
- Link link = ((FavoritesUDDIRegistryElement)element).getLink();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (favMainElement.removeLink(link)) {
- element.disconnectAll();
- return true;
- }
- else
- return false;
- }
-
- public boolean removeAllFavorites(String pluginMetadataDirectory) {
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Enumeration e = getAllFavorites();
- while(e.hasMoreElements()) {
- FavoritesUDDIRegistryElement favUDDIRegistryElement = (FavoritesUDDIRegistryElement)e.nextElement();
- clearRegistryMetadata(pluginMetadataDirectory,favUDDIRegistryElement.getName());
- Link link = favUDDIRegistryElement.getLink();
- favMainElement.removeLink(link);
- }
- disconnectRel(FavoritesModelConstants.REL_UDDI_REGISTRY_NODE);
- return favMainElement.saveFavorites();
- }
-
- public Enumeration getAllFavorites() {
- return getElements(FavoritesModelConstants.REL_UDDI_REGISTRY_NODE);
- }
-
- private FavoritesUDDIRegistryElement getFavorite(String registryName) {
- Enumeration e = getAllFavorites();
- while (e.hasMoreElements()) {
- FavoritesUDDIRegistryElement regElement = (FavoritesUDDIRegistryElement)e.nextElement();
- if (registryName.equals(regElement.getName()))
- return regElement;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceElement.java
deleted file mode 100644
index 2a86ed19b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceElement.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import org.apache.wsil.Service;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesUDDIService;
-
-public class FavoritesUDDIServiceElement extends FavoritesElement {
-
- private FavoritesUDDIService uddiService_;
-
- public FavoritesUDDIServiceElement(String name, Model model, Service service) {
- super(name, model);
- uddiService_ = new FavoritesUDDIService();
- uddiService_.setService(service);
- }
-
- public Service getService() {
- return uddiService_.getService();
- }
-
- public String getName() {
- return uddiService_.getName();
- }
-
- public String getInquiryURL() {
- return uddiService_.getInquiryURL();
- }
-
- public String getServiceKey() {
- return uddiService_.getServiceKey();
- }
-
- public String toString() {
- return getName();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceFolderElement.java
deleted file mode 100644
index 0b8597651..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceFolderElement.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.apache.wsil.Service;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-/**
-* The data model element that represents
-* a WSIL document
-*/
-public class FavoritesUDDIServiceFolderElement extends FavoritesFolderElement
-{
-
- public FavoritesUDDIServiceFolderElement(String name, Model model, NodeManager nodeManager) {
- super(name, model, nodeManager);
- }
-
- public void init(FavoritesMainElement favMainElement) {
- Service[] services = favMainElement.loadUDDIServices();
- for (int i = 0; i < services.length; i++) {
- Service service = services[i];
- FavoritesUDDIServiceElement favUDDIServiceElement = new FavoritesUDDIServiceElement((service.getServiceNames())[0].getText(), getModel(), service);
- connect(favUDDIServiceElement, FavoritesModelConstants.REL_UDDI_SERVICE_NODE, ModelConstants.REL_OWNER);
- }
- }
-
- public boolean addFavorite(Hashtable table) {
- String serviceName = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_NAME);
- String inquiryAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_INQUIRY_API);
- String serviceKey = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_KEY);
- if (serviceName == null || inquiryAPI == null || serviceKey == null)
- return false;
- FavoritesUDDIServiceElement e = getFavorite(inquiryAPI, serviceKey);
- if (e != null)
- removeFavorite(e);
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Service service = favMainElement.addUDDIService(serviceName, inquiryAPI, serviceKey);
- boolean saved = favMainElement.saveFavorites();
- if (saved) {
- FavoritesUDDIServiceElement favUDDIServiceElement = new FavoritesUDDIServiceElement(serviceName, getModel(), service);
- connect(favUDDIServiceElement, FavoritesModelConstants.REL_UDDI_SERVICE_NODE, ModelConstants.REL_OWNER);
- }
- return saved;
- }
-
- public boolean favoriteExists(Hashtable table) {
- String inquiryAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_INQUIRY_API);
- String serviceKey = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_KEY);
- if (inquiryAPI == null || serviceKey == null)
- return false;
- return (getFavorite(inquiryAPI, serviceKey) != null);
- }
-
- public boolean removeFavoriteByNodeID(int nodeID,String pluginMetadataDirectory) {
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (selectedElement instanceof FavoritesUDDIServiceElement)
- return (removeFavorite((FavoritesUDDIServiceElement)selectedElement) && favMainElement.saveFavorites());
- else
- return false;
- }
-
- private boolean removeFavorite(FavoritesUDDIServiceElement element) {
- Service service = ((FavoritesUDDIServiceElement)element).getService();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (favMainElement.removeService(service)) {
- element.disconnectAll();
- return true;
- }
- else
- return false;
- }
-
- public boolean removeAllFavorites(String pluginMetadataDirectory) {
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Enumeration e = getAllFavorites();
- while(e.hasMoreElements()) {
- FavoritesUDDIServiceElement favUDDIServiceElement = (FavoritesUDDIServiceElement)e.nextElement();
- Service service = favUDDIServiceElement.getService();
- favMainElement.removeService(service);
- }
- disconnectRel(FavoritesModelConstants.REL_UDDI_SERVICE_NODE);
- return favMainElement.saveFavorites();
- }
-
- public Enumeration getAllFavorites() {
- return getElements(FavoritesModelConstants.REL_UDDI_SERVICE_NODE);
- }
-
- private FavoritesUDDIServiceElement getFavorite(String inquiryAPI, String serviceKey) {
- Enumeration e = getAllFavorites();
- while (e.hasMoreElements()) {
- FavoritesUDDIServiceElement serElement = (FavoritesUDDIServiceElement)e.nextElement();
- if (inquiryAPI.equals(serElement.getInquiryURL()) &&
- serviceKey.equals(serElement.getServiceKey()))
- return serElement;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceElement.java
deleted file mode 100644
index 81e8beb8d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceElement.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import org.apache.wsil.Service;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesUDDIServiceInterface;
-
-public class FavoritesUDDIServiceInterfaceElement extends FavoritesElement {
-
- private FavoritesUDDIServiceInterface uddiSerInt_;
-
- public FavoritesUDDIServiceInterfaceElement(String name, Model model, Service service) {
- super(name, model);
- uddiSerInt_ = new FavoritesUDDIServiceInterface();
- uddiSerInt_.setService(service);
- }
-
- public Service getService() {
- return uddiSerInt_.getService();
- }
-
- public String getName() {
- return uddiSerInt_.getName();
- }
-
- public String getInquiryURL() {
- return uddiSerInt_.getInquiryURL();
- }
-
- public String getServiceInterfaceKey() {
- return uddiSerInt_.getServiceInterfaceKey();
- }
-
- public String toString() {
- return getName();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceFolderElement.java
deleted file mode 100644
index dee62cb36..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUDDIServiceInterfaceFolderElement.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.apache.wsil.Service;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-/**
-* The data model element that represents
-* a WSIL document
-*/
-public class FavoritesUDDIServiceInterfaceFolderElement extends FavoritesFolderElement
-{
-
- public FavoritesUDDIServiceInterfaceFolderElement(String name, Model model, NodeManager nodeManager) {
- super(name, model, nodeManager);
- }
-
- public void init(FavoritesMainElement favMainElement) {
- Service[] services = favMainElement.loadUDDIServiceInterfaces();
- for (int i = 0; i < services.length; i++) {
- Service service = services[i];
- FavoritesUDDIServiceInterfaceElement favUDDISerIntElement = new FavoritesUDDIServiceInterfaceElement((service.getServiceNames())[0].getText(), getModel(), service);
- connect(favUDDISerIntElement, FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_NODE, ModelConstants.REL_OWNER);
- }
- }
-
- public boolean addFavorite(Hashtable table) {
- String serIntName = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_NAME);
- String inquiryAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_INQUIRY_API);
- String serIntKey = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_KEY);
- if (serIntName == null || inquiryAPI == null || serIntKey == null)
- return false;
- FavoritesUDDIServiceInterfaceElement e = getFavorite(inquiryAPI, serIntKey);
- if (e != null)
- removeFavorite(e);
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Service service = favMainElement.addUDDIServiceInterface(serIntName, inquiryAPI, serIntKey);
- boolean saved = favMainElement.saveFavorites();
- if (saved) {
- FavoritesUDDIServiceInterfaceElement favUDDISerIntElement = new FavoritesUDDIServiceInterfaceElement(serIntName, getModel(), service);
- connect(favUDDISerIntElement, FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_NODE, ModelConstants.REL_OWNER);
- }
- return saved;
- }
-
- public boolean favoriteExists(Hashtable table) {
- String inquiryAPI = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_INQUIRY_API);
- String serIntKey = (String)table.get(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_KEY);
- if (inquiryAPI == null || serIntKey == null)
- return false;
- return (getFavorite(inquiryAPI, serIntKey) != null);
- }
-
- public boolean removeFavoriteByNodeID(int nodeID,String pluginMetadataDirectory) {
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (selectedElement instanceof FavoritesUDDIServiceInterfaceElement)
- return (removeFavorite((FavoritesUDDIServiceInterfaceElement)selectedElement) && favMainElement.saveFavorites());
- else
- return false;
- }
-
- private boolean removeFavorite(FavoritesUDDIServiceInterfaceElement element) {
- Service service = ((FavoritesUDDIServiceInterfaceElement)element).getService();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (favMainElement.removeService(service)) {
- element.disconnectAll();
- return true;
- }
- else
- return false;
- }
-
- public boolean removeAllFavorites(String pluginMetadataDirectory) {
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Enumeration e = getAllFavorites();
- while(e.hasMoreElements()) {
- FavoritesUDDIServiceInterfaceElement favUDDISerIntElement = (FavoritesUDDIServiceInterfaceElement)e.nextElement();
- Service service = favUDDISerIntElement.getService();
- favMainElement.removeService(service);
- }
- disconnectRel(FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_NODE);
- return favMainElement.saveFavorites();
- }
-
- public Enumeration getAllFavorites() {
- return getElements(FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_NODE);
- }
-
- private FavoritesUDDIServiceInterfaceElement getFavorite(String inquiryAPI, String serIntKey) {
- Enumeration e = getAllFavorites();
- while (e.hasMoreElements()) {
- FavoritesUDDIServiceInterfaceElement serIntElement = (FavoritesUDDIServiceInterfaceElement)e.nextElement();
- if (inquiryAPI.equals(serIntElement.getInquiryURL()) &&
- serIntKey.equals(serIntElement.getServiceInterfaceKey()))
- return serIntElement;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryElement.java
deleted file mode 100644
index 37a4de15c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryElement.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060912 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.registry.IRegistryManager;
-import org.eclipse.wst.ws.internal.registry.RegistryService;
-import org.eclipse.wst.ws.internal.registry.UDDIRegistryService;
-
-public class FavoritesUserDefUDDIRegistryElement extends FavoritesElement
-{
- private List names;
- private List descs;
- private String version;
- private String defaultLogin;
- private String defaultPassword;
- private String inquiryURL;
- private String publishURL;
- private String secureInquiryURL;
- private String securePublishURL;
- private Taxonomy[] taxonomies;
-
- public String getDefaultLogin()
- {
- return defaultLogin;
- }
-
- public void setDefaultLogin(String defaultLogin)
- {
- this.defaultLogin = defaultLogin;
- }
-
- public String getDefaultPassword()
- {
- return defaultPassword;
- }
-
- public void setDefaultPassword(String defaultPassword)
- {
- this.defaultPassword = defaultPassword;
- }
-
- public Taxonomy[] getTaxonomies()
- {
- return taxonomies;
- }
-
- public void setTaxonomies(Taxonomy[] taxonomies)
- {
- this.taxonomies = taxonomies;
- }
-
- public FavoritesUserDefUDDIRegistryElement(String name, Model model)
- {
- super(name, model);
- }
-
- public List getDescs()
- {
- return descs;
- }
-
- public void setDescs(List descs)
- {
- this.descs = descs;
- }
-
- public String getInquiryURL()
- {
- return inquiryURL;
- }
-
- public void setInquiryURL(String inquiryURL)
- {
- this.inquiryURL = inquiryURL;
- }
-
- public List getNames()
- {
- return names;
- }
-
- public void setNames(List names)
- {
- this.names = names;
- }
-
- public String getPublishURL()
- {
- return publishURL;
- }
-
- public void setPublishURL(String publishURL)
- {
- this.publishURL = publishURL;
- }
-
- public String getSecureInquiryURL()
- {
- return secureInquiryURL;
- }
-
- public void setSecureInquiryURL(String secureInquiryURL)
- {
- this.secureInquiryURL = secureInquiryURL;
- }
-
- public String getSecurePublishURL()
- {
- return securePublishURL;
- }
-
- public void setSecurePublishURL(String securePublishURL)
- {
- this.securePublishURL = securePublishURL;
- }
-
- public String getVersion()
- {
- return version;
- }
-
- public void setVersion(String version)
- {
- this.version = version;
- }
-
- public String toString()
- {
- return getName();
- }
-
- public void refreshMeta(){
-
- RegistryService regService = RegistryService.instance();
- IRegistryManager regManager = regService.getDefaultRegistryManager();
- try
- {
-
-
- regManager.refreshManager();
- String[] regURIs = regManager.getRegistryURIs();
- for (int i = 0; i < regURIs.length; i++)
- {
- Registry reg = regManager.loadRegistry(regURIs[i]);
- if (reg instanceof UDDIRegistry)
- {
- UDDIRegistry uddiReg = (UDDIRegistry)reg;
- List names = uddiReg.getName();
-
- if(uddiReg.getDiscoveryURL().equals(getInquiryURL())){
-
- setNames(names);
- setDescs(uddiReg.getDescription());
- setVersion(uddiReg.getVersion());
- setDefaultLogin(uddiReg.getDefaultLogin());
- setDefaultPassword(uddiReg.getDefaultPassword());
- setInquiryURL(uddiReg.getDiscoveryURL());
- setPublishURL(uddiReg.getPublicationURL());
- setSecureInquiryURL(uddiReg.getSecuredDiscoveryURL());
- setSecurePublishURL(uddiReg.getSecuredPublicationURL());
- Taxonomy[] taxonomies = regManager.loadTaxonomies(UDDIRegistryService.instance().getTaxonomyURIs(uddiReg));
- setTaxonomies(taxonomies);
- }
- }
- }
- }
- catch (CoreException ce)
- {
- // TODO: Better error reporting
- ce.printStackTrace();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryFolderElement.java
deleted file mode 100644
index a91ad1172..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesUserDefUDDIRegistryFolderElement.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060906 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.model.v10.registry.Name;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.registry.IRegistryManager;
-import org.eclipse.wst.ws.internal.registry.RegistryService;
-import org.eclipse.wst.ws.internal.registry.UDDIRegistryService;
-
-/**
- * The data model element that represents a WSIL document
- */
-public class FavoritesUserDefUDDIRegistryFolderElement extends FavoritesFolderElement
-{
- public FavoritesUserDefUDDIRegistryFolderElement(String name, Model model, NodeManager nodeManager)
- {
- super(name, model, nodeManager);
- }
-
- public void init(FavoritesMainElement favMainElement)
- {
- refresh();
- }
-
- public void refresh(){
- disconnectRel(FavoritesModelConstants.REL_USER_DEF_UDDI_REGISTRY_NODE);
- RegistryService regService = RegistryService.instance();
- IRegistryManager regManager = regService.getDefaultRegistryManager();
- try
- {
- regManager.refreshManager();
- String[] regURIs = regManager.getRegistryURIs();
- for (int i = 0; i < regURIs.length; i++)
- {
- Registry reg = regManager.loadRegistry(regURIs[i]);
- if (reg instanceof UDDIRegistry)
- {
- UDDIRegistry uddiReg = (UDDIRegistry)reg;
- List names = uddiReg.getName();
- String displayName = names != null && !names.isEmpty() ? ((Name)names.get(0)).getValue() : "";
- FavoritesUserDefUDDIRegistryElement favUserDefUDDIRegElement = new FavoritesUserDefUDDIRegistryElement(displayName, getModel());
- favUserDefUDDIRegElement.setNames(names);
- favUserDefUDDIRegElement.setDescs(uddiReg.getDescription());
- favUserDefUDDIRegElement.setVersion(uddiReg.getVersion());
- favUserDefUDDIRegElement.setDefaultLogin(uddiReg.getDefaultLogin());
- favUserDefUDDIRegElement.setDefaultPassword(uddiReg.getDefaultPassword());
- favUserDefUDDIRegElement.setInquiryURL(uddiReg.getDiscoveryURL());
- favUserDefUDDIRegElement.setPublishURL(uddiReg.getPublicationURL());
- favUserDefUDDIRegElement.setSecureInquiryURL(uddiReg.getSecuredDiscoveryURL());
- favUserDefUDDIRegElement.setSecurePublishURL(uddiReg.getSecuredPublicationURL());
- Taxonomy[] taxonomies = regManager.loadTaxonomies(UDDIRegistryService.instance().getTaxonomyURIs(uddiReg));
- favUserDefUDDIRegElement.setTaxonomies(taxonomies);
- connect(favUserDefUDDIRegElement, FavoritesModelConstants.REL_USER_DEF_UDDI_REGISTRY_NODE, ModelConstants.REL_OWNER);
- }
- }
- }
- catch (CoreException ce)
- {
- // TODO: Better error reporting
- ce.printStackTrace();
- }
- }
-
-
- public boolean addFavorite(Hashtable table)
- {
- // do nothing
- return true;
- }
-
- public boolean favoriteExists(Hashtable table)
- {
- // do nothing
- return true;
- }
-
- public boolean removeFavoriteByNodeID(int nodeID, String pluginMetadataDirectory)
- {
- // do nothing
- return true;
- }
-
- public boolean removeAllFavorites(String pluginMetadataDirectory)
- {
- // do nothing
- return true;
- }
-
- public Enumeration getAllFavorites()
- {
- return getElements(FavoritesModelConstants.REL_USER_DEF_UDDI_REGISTRY_NODE);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceElement.java
deleted file mode 100644
index b842ff6f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceElement.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import org.apache.wsil.Service;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesWSDL;
-
-public class FavoritesWSDLServiceElement extends FavoritesElement {
-
- private FavoritesWSDL wsdl_;
-
- public FavoritesWSDLServiceElement(String name, Model model, Service service) {
- super(name, model);
- wsdl_ = new FavoritesWSDL();
- wsdl_.setService(service);
- }
-
- public Service getService() {
- return wsdl_.getService();
- }
-
- public String getWsdlUrl() {
- return wsdl_.getWsdlUrl();
- }
-
- public String toString() {
- return getWsdlUrl();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceFolderElement.java
deleted file mode 100644
index 0e95e3e67..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSDLServiceFolderElement.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.apache.wsil.Service;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesWSDLServiceFolderElement extends FavoritesFolderElement
-{
-
- public FavoritesWSDLServiceFolderElement(String name, Model model, NodeManager nodeManager) {
- super(name, model, nodeManager);
- }
-
- public void init(FavoritesMainElement favMainElement) {
- Service[] services = favMainElement.loadWSDLServices();
- for (int i = 0; i < services.length; i++) {
- Service service = services[i];
- FavoritesWSDLServiceElement favWSDLServiceElement = new FavoritesWSDLServiceElement((service.getDescriptions())[0].getLocation(), getModel(), service);
- connect(favWSDLServiceElement, FavoritesModelConstants.REL_WSDL_SERVICE_NODE, ModelConstants.REL_OWNER);
- }
- }
-
- public boolean addFavorite(Hashtable table) {
- String wsdlURL = (String)table.get(FavoritesModelConstants.PROP_WSDL_URL);
- if (wsdlURL == null)
- return false;
- FavoritesWSDLServiceElement e = getFavorite(wsdlURL);
- if (e != null)
- removeFavorite(e);
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Service service = favMainElement.addWSDLService(wsdlURL);
- boolean saved = favMainElement.saveFavorites();
- if (saved) {
- FavoritesWSDLServiceElement favWSDLServiceElement = new FavoritesWSDLServiceElement(wsdlURL, getModel(), service);
- connect(favWSDLServiceElement, FavoritesModelConstants.REL_WSDL_SERVICE_NODE, ModelConstants.REL_OWNER);
- }
- return saved;
- }
-
- public boolean favoriteExists(Hashtable table) {
- String wsdlURL = (String)table.get(FavoritesModelConstants.PROP_WSDL_URL);
- if (wsdlURL == null)
- return false;
- return (getFavorite(wsdlURL) != null);
- }
-
- public boolean removeFavoriteByNodeID(int nodeID,String pluginMetadataDirectory) {
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (selectedElement instanceof FavoritesWSDLServiceElement)
- return (removeFavorite((FavoritesWSDLServiceElement)selectedElement) && favMainElement.saveFavorites());
- else
- return false;
- }
-
- private boolean removeFavorite(FavoritesWSDLServiceElement element) {
- Service service = ((FavoritesWSDLServiceElement)element).getService();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (favMainElement.removeService(service)) {
- element.disconnectAll();
- return true;
- }
- else
- return false;
- }
-
- public boolean removeAllFavorites(String pluginMetadataDirectory) {
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Enumeration e = getAllFavorites();
- while(e.hasMoreElements()) {
- FavoritesWSDLServiceElement favWSDLServiceElement = (FavoritesWSDLServiceElement)e.nextElement();
- Service service = favWSDLServiceElement.getService();
- favMainElement.removeService(service);
- }
- disconnectRel(FavoritesModelConstants.REL_WSDL_SERVICE_NODE);
- return favMainElement.saveFavorites();
- }
-
- public Enumeration getAllFavorites() {
- return getElements(FavoritesModelConstants.REL_WSDL_SERVICE_NODE);
- }
-
- private FavoritesWSDLServiceElement getFavorite(String wsdlUrl) {
- Enumeration e = getAllFavorites();
- while (e.hasMoreElements()) {
- FavoritesWSDLServiceElement wsdlElement = (FavoritesWSDLServiceElement)e.nextElement();
- if (wsdlUrl.equals(wsdlElement.getWsdlUrl()))
- return wsdlElement;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILElement.java
deleted file mode 100644
index fb5d38dff..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILElement.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.parser.favorites.FavoritesWSIL;
-
-public class FavoritesWSILElement extends FavoritesElement {
-
- private FavoritesWSIL wsil_;
-
- public FavoritesWSILElement(String name, Model model, Link link) {
- super(name, model);
- wsil_ = new FavoritesWSIL();
- wsil_.setLink(link);
- }
-
- public Link getLink() {
- return wsil_.getLink();
- }
-
- public String getWsilUrl() {
- return wsil_.getWsilUrl();
- }
-
- public String toString() {
- return getWsilUrl();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILFolderElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILFolderElement.java
deleted file mode 100644
index f6fb2c12f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/datamodel/FavoritesWSILFolderElement.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesWSILFolderElement extends FavoritesFolderElement {
-
- public FavoritesWSILFolderElement(String name, Model model, NodeManager nodeManager) {
- super(name, model, nodeManager);
- }
-
- public void init(FavoritesMainElement favMainElement) {
- Link[] links = favMainElement.loadWSILs();
- for (int i = 0; i < links.length; i++) {
- Link link = links[i];
- FavoritesWSILElement favWSILElement = new FavoritesWSILElement(link.getLocation(), getModel(), link);
- connect(favWSILElement, FavoritesModelConstants.REL_WSIL_NODE, ModelConstants.REL_OWNER);
- }
- }
-
- public boolean addFavorite(Hashtable table) {
- String wsilURL = (String)table.get(FavoritesModelConstants.PROP_WSIL_URL);
- if (wsilURL == null)
- return false;
- FavoritesWSILElement e = getFavorite(wsilURL);
- if (e != null)
- removeFavorite(e);
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Link link = favMainElement.addWSILLink(wsilURL);
- boolean saved = favMainElement.saveFavorites();
- if (saved) {
- FavoritesWSILElement favWSILElement = new FavoritesWSILElement(wsilURL, getModel(), link);
- connect(favWSILElement, FavoritesModelConstants.REL_WSIL_NODE, ModelConstants.REL_OWNER);
- }
- return saved;
- }
-
- public boolean favoriteExists(Hashtable table) {
- String wsilURL = (String)table.get(FavoritesModelConstants.PROP_WSIL_URL);
- if (wsilURL == null)
- return false;
- return (getFavorite(wsilURL) != null);
- }
-
- public boolean removeFavoriteByNodeID(int nodeID,String pluginMetadataDirectory) {
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (selectedElement instanceof FavoritesWSILElement)
- return (removeFavorite((FavoritesWSILElement)selectedElement) && favMainElement.saveFavorites());
- else
- return false;
- }
-
- private boolean removeFavorite(FavoritesWSILElement element) {
- Link link = element.getLink();
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- if (favMainElement.removeLink(link)) {
- element.disconnectAll();
- return true;
- }
- else
- return false;
- }
-
- public boolean removeAllFavorites(String pluginMetadataDirectory) {
- FavoritesMainElement favMainElement = getFavoritesMainElement();
- Enumeration e = getAllFavorites();
- while(e.hasMoreElements()) {
- FavoritesWSILElement favWSILElement = (FavoritesWSILElement)e.nextElement();
- Link link = favWSILElement.getLink();
- favMainElement.removeLink(link);
- }
- disconnectRel(FavoritesModelConstants.REL_WSIL_NODE);
- return favMainElement.saveFavorites();
- }
-
- public Enumeration getAllFavorites() {
- return getElements(FavoritesModelConstants.REL_WSIL_NODE);
- }
-
- private FavoritesWSILElement getFavorite(String wsilUrl) {
- Enumeration e = getAllFavorites();
- while (e.hasMoreElements()) {
- FavoritesWSILElement wsilElement = (FavoritesWSILElement)e.nextElement();
- if (wsilUrl.equals(wsilElement.getWsilUrl()))
- return wsilElement;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddToUDDIPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddToUDDIPerspectiveTool.java
deleted file mode 100644
index a12366d7f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddToUDDIPerspectiveTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddToUDDIPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class AddToUDDIPerspectiveTool extends ActionTool {
-
- public AddToUDDIPerspectiveTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/add_to_uddi_perspective_enabled.gif", "favorites/images/add_to_uddi_perspective_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddToUDDIPerspectiveAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId());
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddWSILToWSILPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddWSILToWSILPerspectiveTool.java
deleted file mode 100644
index dbb35d5ff..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/AddWSILToWSILPerspectiveTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddWSILToWSILPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class AddWSILToWSILPerspectiveTool extends ActionTool {
-
- public AddWSILToWSILPerspectiveTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/add_to_wsil_perspective_enabled.gif", "favorites/images/add_to_wsil_perspective_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddWSILToWSILPerspectiveAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId());
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesAddToWSDLPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesAddToWSDLPerspectiveTool.java
deleted file mode 100644
index bdeba4a7d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesAddToWSDLPerspectiveTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesAddToWSDLPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.AddToWSDLPerspectiveTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesAddToWSDLPerspectiveTool extends AddToWSDLPerspectiveTool {
-
- public FavoritesAddToWSDLPerspectiveTool(ToolManager toolManager, String alt) {
- super(toolManager,alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return FavoritesAddToWSDLPerspectiveAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToFileSystemTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToFileSystemTool.java
deleted file mode 100644
index 311099907..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToFileSystemTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToFileSystemTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesImportToFileSystemTool extends ImportToFileSystemTool {
-
- public FavoritesImportToFileSystemTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return ImportToFileSystemAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(),"favorites/actions/FavoritesImportToFileSystemActionJSP.jsp");
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToWorkbenchTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToWorkbenchTool.java
deleted file mode 100644
index 035334da6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesImportToWorkbenchTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToWorkbenchTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesImportToWorkbenchTool extends ImportToWorkbenchTool {
-
- public FavoritesImportToWorkbenchTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesImportToWorkbenchForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesLaunchWebServiceWizardTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesLaunchWebServiceWizardTool.java
deleted file mode 100644
index 915467d88..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesLaunchWebServiceWizardTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.LaunchWebServiceWizardTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesLaunchWebServiceWizardTool extends LaunchWebServiceWizardTool {
-
- public FavoritesLaunchWebServiceWizardTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesLaunchWebServiceWizardForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesMainNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesMainNode.java
deleted file mode 100644
index b2bafd907..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesMainNode.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesMainElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIBusinessFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIRegistryFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIServiceFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIServiceInterfaceFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUserDefUDDIRegistryFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesWSDLServiceFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesWSILFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesMainNode extends FavoritesNavigatorNode {
- public FavoritesMainNode(TreeElement treeElement, NodeManager nodeManager) {
- super(treeElement, nodeManager, 1, "images/root_main.gif");
-
- // Create UDDI Registry Folder Node
- FavoritesUDDIRegistryFolderElement favUDDIRegistryFolderElement = new FavoritesUDDIRegistryFolderElement(getMessage("FAVORITES_UDDI_REGISTRIES_FOLDER_NODE"), treeElement.getModel(), nodeManager);
- treeElement.connect(favUDDIRegistryFolderElement, FavoritesModelConstants.REL_UDDI_REGISTRY_FOLDER_NODE, ModelConstants.REL_OWNER);
- FavoritesUDDIRegistryFolderNode favUDDIRegistryFolderNode = new FavoritesUDDIRegistryFolderNode(favUDDIRegistryFolderElement, nodeManager, nodeDepth_ + 1);
- addChild(favUDDIRegistryFolderNode);
- favUDDIRegistryFolderNode.setVisibilityOfChildren(false);
- favUDDIRegistryFolderElement.init((FavoritesMainElement)treeElement);
-
- // Create User defined UDDI Registry Folder Node
- FavoritesUserDefUDDIRegistryFolderElement favUserDefUDDIFolderElement = new FavoritesUserDefUDDIRegistryFolderElement(getMessage("FAVORITES_USER_DEF_UDDI_REGISTRIES_FOLDER_NODE"), treeElement.getModel(), nodeManager);
- treeElement.connect(favUserDefUDDIFolderElement, FavoritesModelConstants.REL_USER_DEF_UDDI_REGISTRY_FOLDER_NODE, ModelConstants.REL_OWNER);
- FavoritesUserDefUDDIRegistryFolderNode favUserDefUDDIFolderNode = new FavoritesUserDefUDDIRegistryFolderNode(favUserDefUDDIFolderElement, nodeManager, nodeDepth_ + 1);
- addChild(favUserDefUDDIFolderNode);
- favUserDefUDDIFolderNode.setVisibilityOfChildren(false);
- favUserDefUDDIFolderElement.init((FavoritesMainElement)treeElement);
-
- // Create UDDI Business Folder Node
- FavoritesUDDIBusinessFolderElement favUDDIBusinessFolderElement = new FavoritesUDDIBusinessFolderElement(getMessage("FAVORITES_UDDI_BUSINESSES_FOLDER_NODE"), treeElement.getModel(), nodeManager);
- treeElement.connect(favUDDIBusinessFolderElement, FavoritesModelConstants.REL_UDDI_BUSINESS_FOLDER_NODE, ModelConstants.REL_OWNER);
- FavoritesUDDIBusinessFolderNode favUDDIBusinessFolderNode = new FavoritesUDDIBusinessFolderNode(favUDDIBusinessFolderElement, nodeManager, nodeDepth_ + 1);
- addChild(favUDDIBusinessFolderNode);
- favUDDIBusinessFolderNode.setVisibilityOfChildren(false);
- favUDDIBusinessFolderElement.init((FavoritesMainElement)treeElement);
-
- // Create UDDI Service Folder Node
- FavoritesUDDIServiceFolderElement favUDDIServiceFolderElement = new FavoritesUDDIServiceFolderElement(getMessage("FAVORITES_UDDI_SERVICE_FOLDER_NODE"), treeElement.getModel(), nodeManager);
- treeElement.connect(favUDDIServiceFolderElement, FavoritesModelConstants.REL_UDDI_SERVICE_FOLDER_NODE, ModelConstants.REL_OWNER);
- FavoritesUDDIServiceFolderNode favUDDIServiceFolderNode = new FavoritesUDDIServiceFolderNode(favUDDIServiceFolderElement, nodeManager, nodeDepth_ + 1);
- addChild(favUDDIServiceFolderNode);
- favUDDIServiceFolderNode.setVisibilityOfChildren(false);
- favUDDIServiceFolderElement.init((FavoritesMainElement)treeElement);
-
- // Create UDDI Service Interface Folder Node
- FavoritesUDDIServiceInterfaceFolderElement favUDDIServiceInterfaceFolderElement = new FavoritesUDDIServiceInterfaceFolderElement(getMessage("FAVORITES_UDDI_SERVICE_INTERFACES_FOLDER_NODE"), treeElement.getModel(), nodeManager);
- treeElement.connect(favUDDIServiceInterfaceFolderElement, FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_FOLDER_NODE, ModelConstants.REL_OWNER);
- FavoritesUDDIServiceInterfaceFolderNode favUDDIServiceInterfaceFolderNode = new FavoritesUDDIServiceInterfaceFolderNode(favUDDIServiceInterfaceFolderElement, nodeManager, nodeDepth_ + 1);
- addChild(favUDDIServiceInterfaceFolderNode);
- favUDDIServiceInterfaceFolderNode.setVisibilityOfChildren(false);
- favUDDIServiceInterfaceFolderElement.init((FavoritesMainElement)treeElement);
-
- // Create WSIL Folder Node
- FavoritesWSILFolderElement favWSILFolderElement = new FavoritesWSILFolderElement(getMessage("FAVORITES_WSIL_FOLDER_NODE"), treeElement.getModel(), nodeManager);
- treeElement.connect(favWSILFolderElement, FavoritesModelConstants.REL_WSIL_FOLDER_NODE, ModelConstants.REL_OWNER);
- FavoritesWSILFolderNode favWSILFolderNode = new FavoritesWSILFolderNode(favWSILFolderElement, nodeManager, nodeDepth_ + 1);
- addChild(favWSILFolderNode);
- favWSILFolderNode.setVisibilityOfChildren(false);
- favWSILFolderElement.init((FavoritesMainElement)treeElement);
-
- // Create WSDL Service Folder Node
- FavoritesWSDLServiceFolderElement favWSDLServiceFolderElement = new FavoritesWSDLServiceFolderElement(getMessage("FAVORITES_WSDL_SERVICE_FOLDER_NODE"), treeElement.getModel(), nodeManager);
- treeElement.connect(favWSDLServiceFolderElement, FavoritesModelConstants.REL_WSDL_SERVICE_FOLDER_NODE, ModelConstants.REL_OWNER);
- FavoritesWSDLServiceFolderNode favWSDLServiceFolderNode = new FavoritesWSDLServiceFolderNode(favWSDLServiceFolderElement, nodeManager, nodeDepth_ + 1);
- addChild(favWSDLServiceFolderNode);
- favWSDLServiceFolderNode.setVisibilityOfChildren(false);
- favWSDLServiceFolderElement.init((FavoritesMainElement)treeElement);
-
- }
-
- protected void initTools() {
- }
-
- private String getMessage(String msg) {
- Controller controller = nodeManager_.getController();
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- return favPerspective.getMessage(msg);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorFolderNode.java
deleted file mode 100644
index 6af9d73aa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorFolderNode.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesToggleNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FolderNode;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public abstract class FavoritesNavigatorFolderNode extends FolderNode {
-
- public FavoritesNavigatorFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth);
- }
-
- protected String getToggleNodeActionHref() {
- return FavoritesToggleNodeAction.getActionLink(nodeId_,isOpen_);
- }
-
- protected String getLinkActionHref() {
- return SelectFavoritesNodeAction.getActionLink(nodeId_, false);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorNode.java
deleted file mode 100644
index 1a3368405..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesNavigatorNode.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesToggleNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public abstract class FavoritesNavigatorNode extends Node {
-
- public FavoritesNavigatorNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth, String imagePath) {
- super(treeElement, nodeManager, nodeDepth, imagePath);
- }
-
- protected String getToggleNodeActionHref() {
- return FavoritesToggleNodeAction.getActionLink(nodeId_,isOpen_);
- }
-
- protected String getLinkActionHref() {
- return SelectFavoritesNodeAction.getActionLink(nodeId_, false);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesPerspective.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesPerspective.java
deleted file mode 100644
index 53d6cdd63..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesPerspective.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import javax.servlet.ServletContext;
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SwitchPerspectiveFromFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesMainElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Perspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils;
-
-public class FavoritesPerspective extends Perspective
-{
- private BasicModel model_;
- private NodeManager nodeManager_;
- private String perspectiveContentFramesetCols_;
- private String savedPerspectiveContentFramesetCols_;
- private String actionsContainerFramesetRows_;
- private String savedActionsContainerFramesetRows_;
-
- public FavoritesPerspective(Controller controller)
- {
- super("favorites",controller);
- }
-
- public final void initPerspective(ServletContext application)
- {
- model_ = new BasicModel("FavoritesModel");
- FavoritesMainElement favoritesMainElement = new FavoritesMainElement(getMessage("FAVORITES_MAIN_NODE"), model_, controller_);
- model_.setRootElement(favoritesMainElement);
- nodeManager_ = new NodeManager(controller_);
- FavoritesMainNode favMainNode = new FavoritesMainNode(favoritesMainElement, nodeManager_);
- nodeManager_.setRootNode(favMainNode);
-
- // Starting frameset sizes.
- if (!DirUtils.isRTL())
- perspectiveContentFramesetCols_ = "30%,*";
- else
- perspectiveContentFramesetCols_ = "*,30%";
- savedPerspectiveContentFramesetCols_ = perspectiveContentFramesetCols_;
- actionsContainerFramesetRows_ = "75%,*";
- savedActionsContainerFramesetRows_ = actionsContainerFramesetRows_;
- }
-
- public NodeManager getNodeManager() {
- return nodeManager_;
- }
-
- public String getPerspectiveContentPage()
- {
- return "favorites/fav_perspective_content.jsp";
- }
-
- public int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_FAVORITES;
- }
-
- public String getPanesFile() {
- return "favorites/scripts/favoritesPanes.jsp";
- }
-
- public String getProcessFramesetsForm()
- {
- return "favorites/forms/ProcessFavoritesFramesetsForm.jsp";
- }
-
- public String getFramesetsFile()
- {
- return "favorites/scripts/favoritesframesets.jsp";
- }
-
- public String getTreeContentVar() {
- return "favNavigatorContent";
- }
-
- public String getTreeContentPage() {
- return "favorites/fav_navigator_content.jsp";
- }
-
- public String getPropertiesContainerVar() {
- return "favPropertiesContainer";
- }
-
- public String getPropertiesContainerPage() {
- return "favorites/fav_properties_container.jsp";
- }
-
- public String getStatusContentVar() {
- return "favStatusContent";
- }
-
- public String getStatusContentPage() {
- return "favorites/fav_status_content.jsp";
- }
-
- public String getPropertiesContentVar() {
- return "favPropertiesContent";
- }
-
- public String getPropertiesContentPage() {
- return "favorites/fav_properties_content.jsp";
- }
-
- public final String getPerspectiveContentFramesetCols()
- {
- return perspectiveContentFramesetCols_;
- }
-
- public final void setPerspectiveContentFramesetCols(String cols)
- {
- perspectiveContentFramesetCols_ = cols;
- }
-
- public final String getSavedPerspectiveContentFramesetCols()
- {
- return savedPerspectiveContentFramesetCols_;
- }
-
- public final void setSavedPerspectiveContentFramesetCols(String cols)
- {
- savedPerspectiveContentFramesetCols_ = cols;
- }
-
- public final String getActionsContainerFramesetRows()
- {
- return actionsContainerFramesetRows_;
- }
-
- public final void setActionsContainerFramesetRows(String rows)
- {
- actionsContainerFramesetRows_ = rows;
- }
-
- public final String getSavedActionsContainerFramesetRows()
- {
- return savedActionsContainerFramesetRows_;
- }
-
- public final void setSavedActionsContainerFramesetRows(String rows)
- {
- savedActionsContainerFramesetRows_ = rows;
- }
-
- public final String getSwitchPerspectiveFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- return SwitchPerspectiveFromFavoritesAction.getFormActionLink(targetPerspectiveId,forHistory);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesRestoreDefaultFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesRestoreDefaultFavoritesTool.java
deleted file mode 100644
index d5040863b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesRestoreDefaultFavoritesTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesRestoreDefaultFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesRestoreDefaultFavoritesTool extends ActionTool {
- public FavoritesRestoreDefaultFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/refresh_enabled.gif", "images/refresh_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return FavoritesRestoreDefaultFavoritesAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId());
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesSetDefaultViewTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesSetDefaultViewTool.java
deleted file mode 100644
index c5fd41b59..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesSetDefaultViewTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.SetDefaultViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesSetDefaultViewTool extends SetDefaultViewTool {
- public FavoritesSetDefaultViewTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT, false);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessDetailsTool.java
deleted file mode 100644
index ad9a2f043..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessDetailsTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesUDDIBusinessDetailsTool extends FormTool {
-
- public FavoritesUDDIBusinessDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessFolderNode.java
deleted file mode 100644
index ff57fe5a8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessFolderNode.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIBusinessFolderNode extends FavoritesNavigatorFolderNode {
- public FavoritesUDDIBusinessFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth);
- treeElement.addListener(new ElementAdapter() {
- public void relAdded(RelAddEvent event) {
- String rel = event.getOutBoundRelName();
- if (rel.equals(FavoritesModelConstants.REL_UDDI_BUSINESS_NODE)) {
- FavoritesUDDIBusinessNode favoritesUDDIBusinessNode = new FavoritesUDDIBusinessNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(favoritesUDDIBusinessNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event) {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(FavoritesModelConstants.REL_UDDI_BUSINESS_NODE)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(FavoritesModelConstants.REL_UDDI_BUSINESS_NODE)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new ListFavoriteUDDIBusinessTool(toolManager_, favPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_BUSINESS"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessNode.java
deleted file mode 100644
index 4f5dfcb36..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIBusinessNode.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIBusinessNode extends FavoritesNavigatorNode {
- public FavoritesUDDIBusinessNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth, "favorites/images/uddi_business_node.gif");
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new FavoritesUDDIBusinessDetailsTool(toolManager_, favPerspective.getMessage("ALT_FAVORITES_UDDI_BUSINESS_DETAILS"));
- new AddToUDDIPerspectiveTool(toolManager_, favPerspective.getMessage("ALT_ADD_TO_UDDI_PERSPECTIVE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryDetailsTool.java
deleted file mode 100644
index b979945fc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryDetailsTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesUDDIRegistryDetailsTool extends FormTool {
-
- public FavoritesUDDIRegistryDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryFolderNode.java
deleted file mode 100644
index 26aec8a58..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryFolderNode.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import java.io.File;
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIRegistryFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIRegistryFolderNode extends FavoritesNavigatorFolderNode {
- public FavoritesUDDIRegistryFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth);
- treeElement.addListener(new ElementAdapter() {
- public void relAdded(RelAddEvent event) {
- String rel = event.getOutBoundRelName();
- if (rel.equals(FavoritesModelConstants.REL_UDDI_REGISTRY_NODE)) {
- TreeElement regElement = (TreeElement)event.getParentElement();
- String imagePath;
- StringBuffer categoriesDirectory = new StringBuffer();
- FavoritesUDDIRegistryFolderElement.formCategoriesDirectory(categoriesDirectory,nodeManager_.getController().getServletEngineStateLocation(),regElement.getName());
- File categoryDirectoryFile = new File(categoriesDirectory.toString());
- String[] categoryFiles = categoryDirectoryFile.list();
- if (categoryFiles != null && categoryFiles.length > 0)
- imagePath = "favorites/images/uddi_registry_cat_node.gif";
- else
- imagePath = "favorites/images/uddi_registry_node.gif";
- FavoritesUDDIRegistryNode favoritesUDDIRegistryNode = new FavoritesUDDIRegistryNode(regElement, nodeManager_, nodeDepth_ + 1, imagePath);
- addChild(favoritesUDDIRegistryNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event) {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(FavoritesModelConstants.REL_UDDI_REGISTRY_NODE)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(FavoritesModelConstants.REL_UDDI_REGISTRY_NODE)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new ListFavoriteUDDIRegistryTool(toolManager_, favPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_REGISTRY"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryNode.java
deleted file mode 100644
index ec7fc94ef..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIRegistryNode.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIRegistryNode extends FavoritesNavigatorNode {
- public FavoritesUDDIRegistryNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth,String imagePath) {
- super(treeElement, nodeManager, nodeDepth, imagePath);
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new FavoritesUDDIRegistryDetailsTool(toolManager_, favPerspective.getMessage("ALT_FAVORITES_UDDI_REGISTRY_DETAILS"));
- new AddToUDDIPerspectiveTool(toolManager_, favPerspective.getMessage("ALT_ADD_TO_UDDI_PERSPECTIVE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceDetailsTool.java
deleted file mode 100644
index 8e8bf4367..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceDetailsTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesUDDIServiceDetailsTool extends FormTool {
-
- public FavoritesUDDIServiceDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesUDDIServiceDetailsPage.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceFolderNode.java
deleted file mode 100644
index 4a555ba47..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceFolderNode.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIServiceFolderNode extends FavoritesNavigatorFolderNode {
- public FavoritesUDDIServiceFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth);
- treeElement.addListener(new ElementAdapter() {
- public void relAdded(RelAddEvent event) {
- String rel = event.getOutBoundRelName();
- if (rel.equals(FavoritesModelConstants.REL_UDDI_SERVICE_NODE)) {
- FavoritesUDDIServiceNode favoritesUDDIServiceNode = new FavoritesUDDIServiceNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(favoritesUDDIServiceNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event) {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(FavoritesModelConstants.REL_UDDI_SERVICE_NODE)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(FavoritesModelConstants.REL_UDDI_SERVICE_NODE)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new ListFavoriteUDDIServiceTool(toolManager_, favPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_SERVICE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceDetailsTool.java
deleted file mode 100644
index 8e18df13a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceDetailsTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesUDDIServiceInterfaceDetailsTool extends FormTool {
-
- public FavoritesUDDIServiceInterfaceDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceFolderNode.java
deleted file mode 100644
index 9e8b19b7b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceFolderNode.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIServiceInterfaceFolderNode extends FavoritesNavigatorFolderNode {
- public FavoritesUDDIServiceInterfaceFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth);
- treeElement.addListener(new ElementAdapter() {
- public void relAdded(RelAddEvent event) {
- String rel = event.getOutBoundRelName();
- if (rel.equals(FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_NODE)) {
- FavoritesUDDIServiceInterfaceNode favoritesUDDIServiceInterfaceNode = new FavoritesUDDIServiceInterfaceNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(favoritesUDDIServiceInterfaceNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event) {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_NODE)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_NODE)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new ListFavoriteUDDIServiceInterfaceTool(toolManager_, favPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_SERVICE_INTERFACE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceNode.java
deleted file mode 100644
index fd4223f76..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceInterfaceNode.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIServiceInterfaceNode extends FavoritesNavigatorNode {
- public FavoritesUDDIServiceInterfaceNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth, "favorites/images/uddi_service_interface_node.gif");
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new FavoritesUDDIServiceInterfaceDetailsTool(toolManager_, favPerspective.getMessage("ALT_FAVORITES_UDDI_SERVICE_INTERFACE_DETAILS"));
- new AddToUDDIPerspectiveTool(toolManager_, favPerspective.getMessage("ALT_ADD_TO_UDDI_PERSPECTIVE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceNode.java
deleted file mode 100644
index 7eee38c22..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUDDIServiceNode.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUDDIServiceNode extends FavoritesNavigatorNode {
- public FavoritesUDDIServiceNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth, "favorites/images/uddi_service_node.gif");
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new FavoritesUDDIServiceDetailsTool(toolManager_, favPerspective.getMessage("ALT_FAVORITES_UDDI_SERVICE_DETAILS"));
- new AddToUDDIPerspectiveTool(toolManager_, favPerspective.getMessage("ALT_ADD_TO_UDDI_PERSPECTIVE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryDetailsTool.java
deleted file mode 100644
index d495724b3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryDetailsTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesUserDefUDDIRegistryDetailsTool extends FormTool
-{
- public FavoritesUserDefUDDIRegistryDetailsTool(ToolManager toolManager, String alt)
- {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryFolderNode.java
deleted file mode 100644
index 9dae25022..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryFolderNode.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesUserDefUDDIRegistryNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUserDefUDDIRegistryFolderNode extends FavoritesNavigatorFolderNode
-{
- public FavoritesUserDefUDDIRegistryFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth)
- {
- super(treeElement, nodeManager, nodeDepth);
- treeElement.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(FavoritesModelConstants.REL_USER_DEF_UDDI_REGISTRY_NODE))
- {
- TreeElement regElement = (TreeElement)event.getParentElement();
- String imagePath = "favorites/images/uddi_registry_node.gif";
- FavoritesUserDefUDDIRegistryNode favUserDefUDDIRegistryNode = new FavoritesUserDefUDDIRegistryNode(regElement, nodeManager_, nodeDepth_ + 1, imagePath);
- addChild(favUserDefUDDIRegistryNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(FavoritesModelConstants.REL_USER_DEF_UDDI_REGISTRY_NODE))
- {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(FavoritesModelConstants.REL_USER_DEF_UDDI_REGISTRY_NODE))
- {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools()
- {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new ListFavoriteUserDefUDDIRegistryTool(toolManager_, favPerspective.getMessage("ALT_LIST_FAVORITE_USER_DEF_UDDI_REGISTRY"));
- }
-
- protected String getLinkActionHref() {
- return SelectFavoritesUserDefUDDIRegistryNodeAction.getActionLink(nodeId_, false);
- }
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryNode.java
deleted file mode 100644
index 1261756a9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesUserDefUDDIRegistryNode.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesUserDefUDDIRegistryNode extends FavoritesNavigatorNode
-{
- public FavoritesUserDefUDDIRegistryNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth, String imagePath)
- {
- super(treeElement, nodeManager, nodeDepth, imagePath);
- }
-
- protected void initTools()
- {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new FavoritesUserDefUDDIRegistryDetailsTool(toolManager_, favPerspective.getMessage("ALT_FAVORITES_USER_DEF_UDDI_REGISTRY_DETAILS"));
- new AddToUDDIPerspectiveTool(toolManager_, favPerspective.getMessage("ALT_ADD_TO_UDDI_PERSPECTIVE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLDetailsTool.java
deleted file mode 100644
index d809f42de..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLDetailsTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesWSDLDetailsTool extends FormTool {
-
- public FavoritesWSDLDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesWSDLDetailsPage.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceFolderNode.java
deleted file mode 100644
index 39230ede4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceFolderNode.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesWSDLServiceFolderNode extends FavoritesNavigatorFolderNode {
- public FavoritesWSDLServiceFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth);
- treeElement.addListener(new ElementAdapter() {
- public void relAdded(RelAddEvent event) {
- String rel = event.getOutBoundRelName();
- if (rel.equals(FavoritesModelConstants.REL_WSDL_SERVICE_NODE)) {
- FavoritesWSDLServiceNode favoritesWSDLServiceNode = new FavoritesWSDLServiceNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(favoritesWSDLServiceNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event) {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(FavoritesModelConstants.REL_WSDL_SERVICE_NODE)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(FavoritesModelConstants.REL_WSDL_SERVICE_NODE)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new ListFavoriteWSDLServiceTool(toolManager_, favPerspective.getMessage("ALT_LIST_FAVORITE_WSDL_SERVICE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceNode.java
deleted file mode 100644
index 311957a3e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSDLServiceNode.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesWSDLServiceNode extends FavoritesNavigatorNode {
- public FavoritesWSDLServiceNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth, "favorites/images/wsdl_service_node.gif");
- }
-
- protected void initTools() {
- Controller controller = nodeManager_.getController();
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- new FavoritesWSDLDetailsTool(toolManager_, favPerspective.getMessage("ALT_FAVORITES_WSDL_DETAILS"));
- new FavoritesImportToWorkbenchTool(toolManager_, controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"));
- new FavoritesImportToFileSystemTool(toolManager_, controller.getMessage("ALT_WSDL_IMPORT_TO_FS"));
- new FavoritesLaunchWebServiceWizardTool(toolManager_, controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD"));
- new FavoritesAddToWSDLPerspectiveTool(toolManager_, favPerspective.getMessage("ALT_ADD_WSDL_TO_WSDL_PERSPECTIVE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILDetailsTool.java
deleted file mode 100644
index e995aa5c4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILDetailsTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class FavoritesWSILDetailsTool extends FormTool {
-
- public FavoritesWSILDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "favorites/forms/FavoritesWSILDetailsPage.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILFolderNode.java
deleted file mode 100644
index 14f3ea324..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILFolderNode.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesWSILFolderNode extends FavoritesNavigatorFolderNode {
- public FavoritesWSILFolderNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth);
- treeElement.addListener(new ElementAdapter() {
- public void relAdded(RelAddEvent event) {
- String rel = event.getOutBoundRelName();
- if (rel.equals(FavoritesModelConstants.REL_WSIL_NODE)) {
- FavoritesWSILNode favoritesWSILNode = new FavoritesWSILNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(favoritesWSILNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event) {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(FavoritesModelConstants.REL_WSIL_NODE)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(FavoritesModelConstants.REL_WSIL_NODE)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new ListFavoriteWSILTool(toolManager_, favPerspective.getMessage("ALT_LIST_FAVORITE_WSIL"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILNode.java
deleted file mode 100644
index 5969d9572..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/FavoritesWSILNode.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class FavoritesWSILNode extends FavoritesNavigatorNode {
- public FavoritesWSILNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth, "favorites/images/wsil_node.gif");
- }
-
- protected void initTools() {
- FavoritesPerspective favPerspective = nodeManager_.getController().getFavoritesPerspective();
- new FavoritesWSILDetailsTool(toolManager_, favPerspective.getMessage("ALT_FAVORITES_WSIL_DETAILS"));
- new AddWSILToWSILPerspectiveTool(toolManager_, favPerspective.getMessage("ALT_ADD_WSIL_TO_WSIL_PERSPECTIVE"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIBusinessTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIBusinessTool.java
deleted file mode 100644
index 281fce8c6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIBusinessTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ListFavoriteUDDIBusinessTool extends FormTool {
- public ListFavoriteUDDIBusinessTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/list_business_enabled.gif", "favorites/images/list_business_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "favorites/views/ListFavoriteUDDIBusinessView.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIRegistryTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIRegistryTool.java
deleted file mode 100644
index 1b016dd08..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIRegistryTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ListFavoriteUDDIRegistryTool extends FormTool {
- public ListFavoriteUDDIRegistryTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/list_registry_enabled.gif", "favorites/images/list_registry_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "favorites/views/ListFavoriteUDDIRegistryView.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceInterfaceTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceInterfaceTool.java
deleted file mode 100644
index d4233f560..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceInterfaceTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ListFavoriteUDDIServiceInterfaceTool extends FormTool {
- public ListFavoriteUDDIServiceInterfaceTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/list_service_interface_enabled.gif", "favorites/images/list_service_interface_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "favorites/views/ListFavoriteUDDIServiceInterfaceView.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceTool.java
deleted file mode 100644
index f432bf8f2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUDDIServiceTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ListFavoriteUDDIServiceTool extends FormTool {
- public ListFavoriteUDDIServiceTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/list_service_enabled.gif", "favorites/images/list_service_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "favorites/views/ListFavoriteUDDIServiceView.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUserDefUDDIRegistryTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUserDefUDDIRegistryTool.java
deleted file mode 100644
index dab8c9563..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteUserDefUDDIRegistryTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ListFavoriteUserDefUDDIRegistryTool extends FormTool
-{
- public ListFavoriteUserDefUDDIRegistryTool(ToolManager toolManager, String alt)
- {
- super(toolManager, "favorites/images/list_registry_enabled.gif", "favorites/images/list_registry_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink()
- {
- return "favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSDLServiceTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSDLServiceTool.java
deleted file mode 100644
index 4e5e2c171..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSDLServiceTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ListFavoriteWSDLServiceTool extends FormTool {
- public ListFavoriteWSDLServiceTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/list_wsdl_enabled.gif", "favorites/images/list_wsdl_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "favorites/views/ListFavoriteWSDLServiceView.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSILTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSILTool.java
deleted file mode 100644
index ede83f1d6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/ListFavoriteWSILTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ListFavoriteWSILTool extends FormTool {
- public ListFavoriteWSILTool(ToolManager toolManager, String alt) {
- super(toolManager, "favorites/images/list_WSIL_enabled.gif", "favorites/images/list_WSIL_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "favorites/views/ListFavoriteWSILView.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/RemoveFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/RemoveFavoritesTool.java
deleted file mode 100644
index 424a6e0a6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/favorites/perspective/RemoveFavoritesTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.RemoveFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class RemoveFavoritesTool extends ActionTool {
-
- public RemoveFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/clear_enabled.gif", "images/clear_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectFavoritesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return RemoveFavoritesAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId());
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ActionTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ActionTool.java
deleted file mode 100644
index 98e5622bb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ActionTool.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-
-public abstract class ActionTool extends Tool
-{
- public ActionTool(ToolManager toolManager,String enabledImageLink,String highlightedImageLink,String alt)
- {
- super(toolManager,enabledImageLink,highlightedImageLink,alt,ToolTypes.ACTION);
- }
-
- public String getFormLink()
- {
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/AddToWSDLPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/AddToWSDLPerspectiveTool.java
deleted file mode 100644
index 1282a97e1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/AddToWSDLPerspectiveTool.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-public abstract class AddToWSDLPerspectiveTool extends ActionTool
-{
- public AddToWSDLPerspectiveTool(ToolManager toolManager,String alt)
- {
- super(toolManager,"images/add_to_wsdl_perspective_enabled.gif","images/add_to_wsdl_perspective_highlighted.gif",alt);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/BreadCrumb.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/BreadCrumb.java
deleted file mode 100644
index 2d211dc0b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/BreadCrumb.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-// A class used to represent a brower breadcrumb. Each breadcrumb encapsulates
-// a navigated URL.
-public class BreadCrumb
-{
- private int perspectiveId_;
- private String url_;
-
- public BreadCrumb(int perspectiveId,String url)
- {
- perspectiveId_ = perspectiveId;
- url_ = url;
- }
-
- /**
- * Get the URL associated with this breadcrumb.
- * @return String The URL.
- */
- public String getURL()
- {
- return url_;
- }
-
- /**
- * Get the ID of the perspective where this breadcrumb belongs.
- * @return int The perspectiveID as defined in ActionInputs.
- */
- public int getPerspectiveId()
- {
- return perspectiveId_;
- }
-
- /**
- * Test equality between this breadcrumb and another. Both the URLs and perspective
- * IDs must be equal for two breadcrumbs to be equal.
- * @param BreadCrumb A breadcrumb.
- * @return boolean The result of the equality test.
- */
- public boolean equals(BreadCrumb b)
- {
- return ((url_.equals(b.getURL())) && (perspectiveId_ == b.getPerspectiveId()));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Controller.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Controller.java
deleted file mode 100644
index 783cfdcab..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Controller.java
+++ /dev/null
@@ -1,224 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import javax.servlet.ServletContext;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.ActionEngine;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public class Controller extends MessageProvider
-{
- private String sessionId_;
- private String stateLocation_;
- private String defaultFavoritesLocation_;
- private String contextPath_;
- private int historyDirection_;
- private History history_;
- private UDDIPerspective uddiPerspective_;
- private WSILPerspective wsilPerspective_;
- private WSDLPerspective wsdlPerspective_;
- private FavoritesPerspective favoritesPerspective_;
- private Perspective currentPerspective_;
- private boolean isPerspectiveContentBlank_;
- private ActionEngine actionEngine;
-
- // WSDL Browser
- private int wsdlType_;
-
- public Controller()
- {
- super("explorer");
- contextPath_ = null;
- stateLocation_ = null;
- history_ = new History();
- uddiPerspective_ = new UDDIPerspective(this);
- wsilPerspective_ = new WSILPerspective(this);
- wsdlPerspective_ = new WSDLPerspective(this);
- favoritesPerspective_ = new FavoritesPerspective(this);
- // Set the default perspective to UDDI.
- currentPerspective_ = uddiPerspective_;
- historyDirection_ = ActionInputs.JUMP_BACK;
- wsdlType_ = ActionInputs.WSDL_TYPE_SERVICE_INTERFACE;
- isPerspectiveContentBlank_ = true;
- actionEngine = new ActionEngine(this);
- }
-
- public final void setStateLocation(String stateLocation)
- {
- stateLocation_ = stateLocation;
- }
-
- public final void setDefaultFavoritesLocation(String defaultFavoritesLocation)
- {
- defaultFavoritesLocation_ = defaultFavoritesLocation;
- }
-
- // This method should be called immediately after the Controller bean is instantiated.
- private final void setContextPath(String contextPath)
- {
- if (contextPath_ == null)
- contextPath_ = contextPath;
- }
-
- public final String getPathWithContext(String relativePath)
- {
- if (relativePath == null)
- return relativePath;
- StringBuffer path = new StringBuffer(relativePath);
- if (contextPath_ != null)
- path.insert(0,'/').insert(0,contextPath_);
- return path.toString();
- }
-
- public final String getSessionId()
- {
- return sessionId_;
- }
-
- public final String getContextPath()
- {
- return contextPath_;
- }
-
- public final String getServletEngineStateLocation() {
- return stateLocation_;
- }
-
- public final String getDefaultFavoritesLocation () {
- return defaultFavoritesLocation_;
- }
-
- public final void init(String sessionId,ServletContext application,String contextPath)
- {
- sessionId_ = sessionId;
- setContextPath(contextPath);
- uddiPerspective_.initPerspective(application);
- wsilPerspective_.initPerspective(application);
- wsdlPerspective_.initPerspective(application);
- favoritesPerspective_.initPerspective(application);
- }
-
- // Setter for the current perspective.
- public final void setCurrentPerspective(int perspective)
- {
- switch (perspective)
- {
- case ActionInputs.PERSPECTIVE_UDDI:
- currentPerspective_ = uddiPerspective_;
- break;
- case ActionInputs.PERSPECTIVE_WSIL:
- currentPerspective_ = wsilPerspective_;
- break;
- case ActionInputs.PERSPECTIVE_WSDL:
- currentPerspective_ = wsdlPerspective_;
- break;
- case ActionInputs.PERSPECTIVE_FAVORITES:
- currentPerspective_ = favoritesPerspective_;
- break;
- }
- }
-
- // Getter for the current perspective.
- public final Perspective getCurrentPerspective()
- {
- return currentPerspective_;
- }
-
- // Getter for the UDDI perspective.
- public final UDDIPerspective getUDDIPerspective()
- {
- return uddiPerspective_;
- }
-
- // Getter for the WSIL perspective.
- public final WSILPerspective getWSILPerspective()
- {
- return wsilPerspective_;
- }
-
- // Getter for the WSDL perspective.
- public final WSDLPerspective getWSDLPerspective()
- {
- return wsdlPerspective_;
- }
-
- // Getter for the Favorites perspective.
- public final FavoritesPerspective getFavoritesPerspective() {
- return favoritesPerspective_;
- }
-
- // Getter for the action engine
- public final ActionEngine getActionEngine() {
- return actionEngine;
- }
-
- public final boolean addToHistory(int perspectiveId,String url)
- {
- if (url != null)
- return history_.addBreadCrumb(new BreadCrumb(perspectiveId,url));
- return false;
- }
-
- // Wrapper for moving forward in the history list and obtaining the breadcrumb.
- public final BreadCrumb forward()
- {
- historyDirection_ = ActionInputs.JUMP_FORWARD;
- return history_.forward();
- }
-
- // Wrapper for moving back in the history list and obtaining the breadcrumb.
- public final BreadCrumb back()
- {
- historyDirection_ = ActionInputs.JUMP_BACK;
- return history_.back();
- }
-
- public final int getHistoryDirection()
- {
- return historyDirection_;
- }
-
- public final void processStaleBreadCrumb()
- {
- history_.removeCurrentBreadCrumb();
- }
-
- // WSDL Browser
- public final void setWSDLType(int wsdlType)
- {
- wsdlType_ = wsdlType;
- }
-
- public final int getWSDLType()
- {
- return wsdlType_;
- }
-
- public final boolean isPerspectiveContentBlank()
- {
- return isPerspectiveContentBlank_;
- }
-
- public final void enablePerspectiveContentBlank(boolean isPerspectiveContentBlank)
- {
- isPerspectiveContentBlank_ = isPerspectiveContentBlank;
- }
-
- public final void dumpHistory()
- {
- history_.dump();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FolderNode.java
deleted file mode 100644
index 52fc4b8f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FolderNode.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-
-public abstract class FolderNode extends Node
-{
- public FolderNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"images/folder_closed.gif");
- }
-
- public String getOpenImagePath()
- {
- return "images/folder_open.gif";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormTool.java
deleted file mode 100644
index 51f95c5bb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormTool.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-
-public abstract class FormTool extends Tool implements FormToolPropertiesInterface
-{
- protected FormToolProperties formToolProperties_;
-
- public FormTool(ToolManager toolManager,String enabledImageLink,String highlightedImageLink,String alt)
- {
- super(toolManager,enabledImageLink,highlightedImageLink,alt,ToolTypes.FORM);
- formToolProperties_ = new FormToolProperties();
- initDefaultProperties();
- }
-
- protected void initDefaultProperties()
- {
- }
-
- public final Object getProperty(Object key)
- {
- return formToolProperties_.getProperty(key);
- }
-
- public final void setProperty(Object key,Object value)
- {
- formToolProperties_.setProperty(key,value);
- }
-
- public final void removeProperty(Object key)
- {
- formToolProperties_.removeProperty(key);
- }
-
- public final void clearPropertyTable()
- {
- formToolProperties_.clearPropertyTable();
- }
-
- public final void updatePropertyTable(Hashtable newPropertyTable)
- {
- formToolProperties_.updatePropertyTable(newPropertyTable);
- }
-
- public final void setPropertyTable(Hashtable newPropertyTable)
- {
- formToolProperties_.setPropertyTable(newPropertyTable);
- }
-
- public final void flagError(Object inputKey)
- {
- formToolProperties_.flagError(inputKey);
- }
-
- public final void flagRowError(Object inputKey,int rowNumber)
- {
- formToolProperties_.flagRowError(inputKey,rowNumber);
- }
-
- public final void flagRowError(Object inputKey,Object rowId)
- {
- formToolProperties_.flagRowError(inputKey,rowId);
- }
-
- public final void clearErrors()
- {
- formToolProperties_.clearErrors();
- }
-
- public final boolean isInputValid(Object inputKey)
- {
- return formToolProperties_.isInputValid(inputKey);
- }
-
- public final boolean isRowInputValid(Object inputKey,int rowNumber)
- {
- return formToolProperties_.isRowInputValid(inputKey,String.valueOf(rowNumber));
- }
-
- // The row number may also be represented by a unique object (e.g. UUID)
- public final boolean isRowInputValid(Object inputKey,Object rowId)
- {
- return formToolProperties_.isRowInputValid(inputKey,rowId);
- }
-
- public final String getActionLink()
- {
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolProperties.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolProperties.java
deleted file mode 100644
index f0e58383b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolProperties.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-
-public class FormToolProperties implements FormToolPropertiesInterface
-{
- private Hashtable propertyTable_;
- private Hashtable errantValues_;
-
- public FormToolProperties()
- {
- propertyTable_ = new Hashtable();
- errantValues_ = new Hashtable();
- }
-
- public final Object getProperty(Object key)
- {
- return propertyTable_.get(key);
- }
-
- public final void setProperty(Object key,Object value)
- {
- propertyTable_.put(key,value);
- }
-
- public final void removeProperty(Object key)
- {
- propertyTable_.remove(key);
- }
-
- public final void clearPropertyTable()
- {
- propertyTable_.clear();
- }
-
- public final void updatePropertyTable(Hashtable newPropertyTable)
- {
- Enumeration e = newPropertyTable.keys();
- while (e.hasMoreElements())
- {
- String key = (String)e.nextElement();
- propertyTable_.put(key,newPropertyTable.get(key));
- }
- }
-
- public final void setPropertyTable(Hashtable newPropertyTable)
- {
- clearPropertyTable();
- updatePropertyTable(newPropertyTable);
- }
-
- public final void flagError(Object inputKey)
- {
- if (isInputValid(inputKey))
- errantValues_.put(inputKey,Boolean.TRUE);
- }
-
- public final void flagRowError(Object inputKey,int rowNumber)
- {
- flagRowError(inputKey,String.valueOf(rowNumber));
- }
-
- public final void flagRowError(Object inputKey,Object rowId)
- {
- Object errorObject = errantValues_.get(inputKey);
- Hashtable rowHash;
- if (errorObject instanceof Hashtable)
- rowHash = (Hashtable)errorObject;
- else
- rowHash = new Hashtable();
- rowHash.put(rowId,Boolean.TRUE);
- errantValues_.put(inputKey,rowHash);
- }
-
- public final void clearErrors()
- {
- errantValues_.clear();
- }
-
- public final boolean isInputValid(Object inputKey)
- {
- return (errantValues_.get(inputKey) == null);
- }
-
- public final boolean isRowInputValid(Object inputKey,int rowNumber)
- {
- return isRowInputValid(inputKey,String.valueOf(rowNumber));
- }
-
- public final boolean isRowInputValid(Object inputKey,Object rowId)
- {
- Hashtable rowHash = (Hashtable)errantValues_.get(inputKey);
- if (rowHash == null)
- return true;
- return (rowHash.get(rowId) == null);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolPropertiesInterface.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolPropertiesInterface.java
deleted file mode 100644
index accd0d3d6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/FormToolPropertiesInterface.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Hashtable;
-
-public abstract interface FormToolPropertiesInterface
-{
- // Getter and Setter for a property.
- public abstract Object getProperty(Object key);
- public abstract void setProperty(Object key,Object value);
- public abstract void removeProperty(Object key);
-
- // Property table operators.
- public abstract void clearPropertyTable();
- public abstract void updatePropertyTable(Hashtable propertyTable);
- public abstract void setPropertyTable(Hashtable propertyTable);
-
- // Error handling.
- public abstract void flagError(Object inputKey);
- public abstract void flagRowError(Object inputKey,int rowNumber);
- public abstract void flagRowError(Object inputKey,Object rowId);
- public abstract void clearErrors();
- public abstract boolean isInputValid(Object inputKey);
- public abstract boolean isRowInputValid(Object inputKey,int rowNumber);
- public abstract boolean isRowInputValid(Object inputKey,Object rowId);
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/History.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/History.java
deleted file mode 100644
index 44491de41..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/History.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Vector;
-
-// A class representing a Vector of breadcrumbs. A position index is used
-// to navigate through the data structure.
-public class History
-{
- private Vector items_;
- private int position_;
-
- public History()
- {
- items_ = new Vector();
- position_ = -1;
- }
-
- // Add a new breadcrumb to the history list. When adding a new breadcrumb
- // within the current list, all breadcrumbs after the newly added one are
- // removed.
- public boolean addBreadCrumb(BreadCrumb b)
- {
- int numberOfItems = items_.size();
- if (numberOfItems == 0)
- {
- position_++;
- items_.addElement(b);
- return true;
- }
- else
- {
- BreadCrumb currentBreadCrumb = (BreadCrumb)items_.elementAt(position_);
- if (!currentBreadCrumb.equals(b))
- {
- position_++;
- items_.insertElementAt(b,position_);
- for (int i=items_.size()-1;i>position_;i--)
- items_.removeElementAt(i);
- return true;
- }
- }
- return false;
- }
-
- // Move forward within the history list and obtain the breadcrumb.
- public BreadCrumb forward()
- {
- if (position_ < items_.size()-1)
- {
- position_++;
- BreadCrumb b = (BreadCrumb)items_.elementAt(position_);
- return b;
- }
- return null;
- }
-
- // Move back within the history list and obtain the breadcrumb.
- public BreadCrumb back()
- {
- if (position_ > 0)
- {
- position_--;
- BreadCrumb b = (BreadCrumb)items_.elementAt(position_);
- return b;
- }
- return null;
- }
-
- public void removeCurrentBreadCrumb()
- {
- items_.removeElementAt(position_);
- if (position_ > items_.size()-1)
- position_--;
- }
-
- public void dump()
- {
- for (int i=0;i<items_.size();i++)
- {
- items_.elementAt(i);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToFileSystemTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToFileSystemTool.java
deleted file mode 100644
index 9b53c4eb9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToFileSystemTool.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-public abstract class ImportToFileSystemTool extends ActionTool {
- public ImportToFileSystemTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/import_fs_enabled.gif", "images/import_fs_highlighted.gif", alt);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToWorkbenchTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToWorkbenchTool.java
deleted file mode 100644
index af740540f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ImportToWorkbenchTool.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-public abstract class ImportToWorkbenchTool extends FormTool {
- public ImportToWorkbenchTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/import_to_workbench_enabled.gif", "images/import_to_workbench_highlighted.gif", alt);
- }
-
- public String getFormLink() {
- return "forms/ImportToWorkbenchForm.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchOptionsManager.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchOptionsManager.java
deleted file mode 100644
index f219e2634..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchOptionsManager.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Hashtable;
-import javax.servlet.ServletContext;
-import javax.servlet.http.HttpSession;
-import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class LaunchOptionsManager
-{
- private static LaunchOptionsManager instance_;
-
- private Hashtable optionsTable_;
-
- private LaunchOptionsManager()
- {
- optionsTable_ = new Hashtable();
- }
-
- public static LaunchOptionsManager getInstance()
- {
- if (instance_ == null)
- instance_ = new LaunchOptionsManager();
- return instance_;
- }
-
- public synchronized void manage(String key, Object value, ServletContext application)
- {
- if (value instanceof String)
- manageSession(key, (String)value, application);
- else if (value instanceof Hashtable)
- manageOptions(key, (Hashtable)value, application);
- }
-
- private void manageSession(String key, String sessionId, ServletContext application)
- {
- Object obj = optionsTable_.remove(key);
- if (obj != null && (obj instanceof Hashtable))
- loadOptions(sessionId, (Hashtable)obj, application);
- else
- optionsTable_.put(key, sessionId);
- }
-
- private void manageOptions(String key, Hashtable options, ServletContext application)
- {
- Object obj = optionsTable_.remove(key);
- if (obj != null && (obj instanceof String))
- loadOptions((String)obj, options, application);
- else
- optionsTable_.put(key, options);
- }
-
- private void loadOptions(String sessionId, Hashtable options, ServletContext application)
- {
- HttpSession httpSession = (HttpSession)application.getAttribute(sessionId);
- if (httpSession != null)
- {
- Controller controller = (Controller)httpSession.getAttribute("controller");
- String[] stateLocations = (String[])options.get(LaunchOptions.STATE_LOCATION);
- String[] defaultFavoritesLocations = (String[])options.get(LaunchOptions.DEFAULT_FAVORITES_LOCATION);
- String[] inquiryURLs = (String[])options.get(LaunchOptions.INQUIRY_URL);
- String[] publishURLs = (String[])options.get(LaunchOptions.PUBLISH_URL);
- String[] serviceNames = (String[])options.get(LaunchOptions.SERVICE_NAME);
- String[] serviceKeys = (String[])options.get(LaunchOptions.SERVICE_KEY);
- String[] wsdlURLs = (String[])options.get(LaunchOptions.WSDL_URL);
- String[] endpoints = (String[])options.get(LaunchOptions.WEB_SERVICE_ENDPOINT);
- String[] serviceQNameStrings = (String[])options.get(LaunchOptions.SERVICE_QNAME_STRING);
- String[] bindingNameStrings = (String[])options.get(LaunchOptions.BINDING_NAME_STRING);
- String stateLocation = (stateLocations == null || stateLocations.length == 0) ? null : stateLocations[0];
- controller.setStateLocation(stateLocation);
- String defaultFavoritesLocation = (defaultFavoritesLocations == null || defaultFavoritesLocations.length == 0) ? null : defaultFavoritesLocations[0];
- controller.setDefaultFavoritesLocation(defaultFavoritesLocation);
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- uddiPerspective.preloadUDDIRegistries(inquiryURLs, publishURLs);
- uddiPerspective.preloadServices(inquiryURLs,serviceNames,serviceKeys);
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- wsdlPerspective.preloadWSDL(wsdlURLs);
- wsdlPerspective.preloadEndpoints(wsdlURLs, endpoints);
- wsdlPerspective.preselectServiceOrBinding(wsdlURLs,serviceQNameStrings,bindingNameStrings);
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchWebServiceWizardTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchWebServiceWizardTool.java
deleted file mode 100644
index 1b3ea8d02..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/LaunchWebServiceWizardTool.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-public abstract class LaunchWebServiceWizardTool extends FormTool {
- public LaunchWebServiceWizardTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/launch_wswizard_enabled.gif", "images/launch_wswizard_highlighted.gif", alt);
- }
-
- public String getFormLink() {
- return "forms/LaunchWebServiceWizardForm.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageBundle.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageBundle.java
deleted file mode 100644
index 834bc71e3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageBundle.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-/**
-* An message bundle is a collection of messages drawn from some
-* set of properties.
-*/
-public class MessageBundle
-{
- private ResourceBundle fResourceBundle;
-
- /**
- * Constructs a new MessageBundle from the given ResourceBundle.
- */
- public MessageBundle ( ResourceBundle resourceBundle )
- {
- fResourceBundle = resourceBundle;
- }
-
- /**
- * Returns the message identified by messageId.
- * @param messageId The message ID.
- * @return String The message text.
- */
- public String getMessage ( String messageId )
- {
- try
- {
- return fResourceBundle.getString(messageId);
- }
- catch (MissingResourceException e)
- {
- return messageId;
- }
- }
-
- /**
- * Returns the message identified by messageId.
- * @param messageId The message ID.
- * @param sub A substitution value for "%1" in the message.
- * @return String The message text.
- */
- public String getMessage ( String messageId, String sub )
- {
- String[] s = {sub};
- return getMessage(messageId,s);
- }
-
- /**
- * Returns the message identified by messageId.
- * @param messageId The message ID.
- * @param sub Substitution values for "%1..%n" (sub[0]..sub[n-1]) in
- * the message.
- * @return String The message text.
- */
- public String getMessage ( String messageId, String[] sub )
- {
- String m = getMessage(messageId);
- int len = m.length();
- int max = sub.length;
- StringBuffer b = new StringBuffer();
- int pos = 0;
- while (pos >= 0)
- {
- int pct = m.indexOf('%',pos);
- if (pct >= 0)
- {
- b.append(m.substring(pos,pct));
- pos = pct + 1;
- if (pos < len)
- {
- char d = m.charAt(pos);
- if (Character.isDigit(d) && d != '0')
- {
- int v = Integer.parseInt(new Character(d).toString());
- if (v <= max)
- {
- b.append(sub[v-1]);
- }
- else
- {
- b.append('?');
- }
- pos++;
- }
- else
- {
- b.append('%');
- b.append(d);
- pos++;
- }
- }
- else
- {
- b.append('%');
- pos = -1;
- }
- }
- else
- {
- b.append(m.substring(pos));
- pos = -1;
- }
- }
- return b.toString();
- }
-
- public ResourceBundle getResourceBundle()
- {
- return fResourceBundle;
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageProvider.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageProvider.java
deleted file mode 100644
index 4e08507f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageProvider.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-// A Class which provides String messages.
-public class MessageProvider
-{
- protected MessageBundle messageBundle_;
- private String messageProviderName_;
-
- public MessageProvider(String messageBundleFileName)
- {
- try
- {
- // Load the message bundle from the WEB-INF\classes subdirectory.
- messageProviderName_ = messageBundleFileName;
- messageBundle_ = new MessageBundle(ResourceBundle.getBundle(messageBundleFileName));
- }
- catch (MissingResourceException e)
- {
- System.err.println("Could not load "+messageBundleFileName);
- e.printStackTrace();
- }
- }
-
- public String getMessage(String messageId)
- {
- return messageBundle_.getMessage(messageId);
- }
-
- public String getMessage(String messageId,String sub)
- {
- return messageBundle_.getMessage(messageId,sub);
- }
-
- public String getMessage(String messageId,String[] sub)
- {
- return messageBundle_.getMessage(messageId,sub);
- }
-
- public String getMessageProviderName()
- {
- return messageProviderName_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageQueue.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageQueue.java
deleted file mode 100644
index f28c81c5a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/MessageQueue.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Enumeration;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils;
-
-public class MessageQueue
-{
- protected Vector messageList_;
-
- public MessageQueue()
- {
- messageList_ = new Vector();
- }
-
- public void addMessage(String message)
- {
- messageList_.addElement(message);
- }
-
- public String getMessagesFromList()
- {
- StringBuffer messages = new StringBuffer();
-
- if (messageList_.size()==0)
- return "";
-
- Enumeration e = messageList_.elements();
- while (e.hasMoreElements())
- {
- String thisMessage = (String)e.nextElement();
- messages.append(thisMessage);
- messages.append(HTMLUtils.LINE_SEPARATOR);
- }
- messageList_.removeAllElements();
- return messages.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Node.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Node.java
deleted file mode 100644
index ec413795b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Node.java
+++ /dev/null
@@ -1,450 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.servlet.http.HttpServletResponse;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils;
-
-public abstract class Node
-{
- protected TreeElement element_;
- protected NodeManager nodeManager_;
- protected int nodeId_;
- protected int nodeDepth_;
- protected String imagePath_;
- protected boolean isOpen_;
- protected Vector childNodes_;
- protected ToolManager toolManager_;
- protected Node parent_;
- private String anchorName_;
- private int viewId_;
-
- public Node(TreeElement element,NodeManager nodeManager,int nodeDepth,String imagePath)
- {
- element_ = element;
- nodeManager_ = nodeManager;
- nodeId_ = nodeManager.addToNodeTable(this);
- nodeDepth_ = nodeDepth;
- Controller controller = nodeManager_.getController();
- if (imagePath == null)
- imagePath_ = controller.getPathWithContext(NodeManager.PATH_SPACE);
- else
- imagePath_ = imagePath;
- isOpen_ = true;
- childNodes_ = new Vector();
- toolManager_ = new ToolManager(this);
- initTools();
- anchorName_ = (new StringBuffer("action")).append(nodeId_).toString();
- parent_ = null;
- viewId_ = ActionInputs.VIEWID_DEFAULT;
- }
-
- /**
- * Returns the TreeElement associated with this node.
- * @return TreeElement The element associated with this node.
- */
- public TreeElement getTreeElement()
- {
- return element_;
- }
-
- /**
- * Returns the name of the node.
- * @return String
- */
- public String getNodeName()
- {
- return element_.getName();
- }
-
- /**
- * Returns the NodeManager managing this node.
- * @return NodeManager
- */
- public NodeManager getNodeManager()
- {
- return nodeManager_;
- }
-
- /**
- * Returns the id of this node.
- * @return int
- */
- public int getNodeId()
- {
- return nodeId_;
- }
-
- /**
- * Returns the depth in the tree of this node relative to the root node
- * @return int
- */
- public int getNodeDepth()
- {
- return nodeDepth_;
- }
-
- /**
- * Set the path of the image representing this class of Node.
- * @param String The path.
- */
- public void setImagePath(String path)
- {
- imagePath_ = path;
- }
-
- /**
- * Returns true if the children of this node are visible. Returns false
- * if they are not.
- * @return boolean
- */
- public boolean isOpen()
- {
- return isOpen_;
- }
-
- public boolean isVisible()
- {
- Node parentNode = parent_;
- while (parentNode != null)
- {
- if (!parentNode.isOpen())
- return false;
- parentNode = parentNode.getParent();
- }
- return true;
- }
-
- /**
- * Sets the visibility of this node's children to the specified value.
- * Updates the NodeManager's record of the maximum depth visible in the tree.
- * @param boolean
- */
- public final void setVisibilityOfChildren(boolean open)
- {
- isOpen_ = open;
- nodeManager_.updateMaxDepthVisible();
- }
-
- /**
- * Gets the maximum depth displayed in this node's branch of the tree
- * Used by NodeManager for html display purposes.
- * @return int
- */
- public int getMaxDepthVisible()
- {
- if (!isOpen_)
- return nodeDepth_;
- else
- {
- int currentDepth = nodeDepth_;
- Enumeration e = childNodes_.elements();
- while (e.hasMoreElements())
- {
- Node thisNode = (Node)e.nextElement();
- int depth = thisNode.getMaxDepthVisible();
- if (depth>currentDepth)
- currentDepth=depth;
- }
- return currentDepth;
- }
- }
-
- public final void setParent(Node node)
- {
- parent_ = node;
- }
-
- public final Node getParent()
- {
- return parent_;
- }
-
- public final void setViewId(int viewId)
- {
- viewId_ = viewId;
- }
-
- public final int getViewId()
- {
- return viewId_;
- }
-
- public final int getViewToolId()
- {
- ToolManager viewToolManager = getViewToolManager();
- if (viewToolManager != null)
- return viewToolManager.getSelectedToolId();
- return ActionInputs.VIEWTOOLID_DEFAULT;
- }
-
- /**
- * Adds the specified node as a child of this node.
- * @param Node The child being added.
- * @return boolean Always true.
- */
- public final boolean addChild(Node childNode)
- {
- childNode.setParent(this);
- childNodes_.addElement(childNode);
- nodeManager_.updateMaxDepthVisible();
- return true;
- }
-
- /**
- * Returns the child nodes of this node. If this node has no children, an
- * empty vector is returned.
- * @return Vector
- */
- public Vector getChildNodes()
- {
- return childNodes_;
- }
-
- public final Node getChildNode(TreeElement element)
- {
- Enumeration e = childNodes_.elements();
- while (e.hasMoreElements())
- {
- Node presentNode = (Node)e.nextElement();
- if (presentNode.getTreeElement() == element)
- return presentNode;
- }
- return null;
- }
-
- public final void removeChildNodes(boolean isEntry)
- {
- int numberOfChildNodes = childNodes_.size();
- for (int i=numberOfChildNodes-1;i>=0;i--)
- {
- Node childNode = (Node)childNodes_.elementAt(i);
- childNode.removeChildNodes(false);
- nodeManager_.removeFromNodeTable(childNode.getNodeId());
- }
- if (numberOfChildNodes > 0)
- {
- childNodes_.removeAllElements();
- if (isEntry)
- nodeManager_.updateMaxDepthVisible();
- }
- }
-
- public final boolean removeChildNode(TreeElement element)
- {
- Node childNode = getChildNode(element);
- if (childNode != null)
- {
- int childNodeId = childNode.getNodeId();
- if (nodeManager_.getSelectedNodeId() == childNodeId)
- nodeManager_.setSelectedNodeId(nodeId_);
- childNodes_.removeElement(childNode);
- nodeManager_.removeFromNodeTable(childNodeId);
- nodeManager_.updateMaxDepthVisible();
- return true;
- }
- return false;
- }
-
- /**
- * Get the name of the HTML anchor associated with this node.
- * @return String The name of the anchor.
- */
- public String getAnchorName()
- {
- return anchorName_;
- }
-
- public ToolManager getToolManager()
- {
- return toolManager_;
- }
-
- public ToolManager getViewToolManager()
- {
- if (viewId_ != ActionInputs.VIEWID_DEFAULT)
- {
- ViewTool viewTool = (ViewTool)toolManager_.getSelectedTool();
- return viewTool.getToolManager(viewId_);
- }
- return null;
- }
-
- public ToolManager getCurrentToolManager()
- {
- ToolManager toolManager = getViewToolManager();
- if (toolManager == null)
- toolManager = toolManager_;
- return toolManager;
- }
-
- protected abstract void initTools();
-
- protected abstract String getToggleNodeActionHref();
-
- protected String getToggleNodeActionTarget()
- {
- return FrameNames.PERSPECTIVE_WORKAREA;
- }
-
- protected void addToggle(HttpServletResponse response,StringBuffer treeView,boolean isLastChild)
- {
- if (nodeDepth_ != 1)
- {
- treeView.append(" <td align=\"left\" width=16 height=16 nowrap>");
- String toggleImageTag;
- if (childNodes_.size() > 0)
- {
- // <a href="..." target="...">toggleImageTag</a>
- String href = nodeManager_.getController().getPathWithContext(getToggleNodeActionHref());
- if (isOpen_)
- {
- String toggleAlt = nodeManager_.getController().getMessage("ALT_CLOSE");
- if (isLastChild)
- toggleImageTag = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_MINUS_LAST),toggleAlt,"16","16",null);
- else
- toggleImageTag = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_MINUS_NOTLAST),toggleAlt,"16","16",null);
- }
- else
- {
- String toggleAlt = nodeManager_.getController().getMessage("ALT_OPEN");
- if (isLastChild)
- toggleImageTag = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_PLUS_LAST),toggleAlt,"16","16",null);
- else
- toggleImageTag = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_PLUS_NOTLAST),toggleAlt,"16","16",null);
- }
- String linkTag = HTMLUtils.getHTMLLinkTag(response,href,getToggleNodeActionTarget(),String.valueOf(nodeId_),toggleImageTag,null);
- treeView.append(linkTag);
- }
- else
- {
- // <img...>
- if (isLastChild)
- toggleImageTag = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_LINE_LAST),"","16","16",null);
- else
- toggleImageTag = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_LINE_NOTLAST),"","16","16",null);
- treeView.append(toggleImageTag);
- }
- treeView.append("</td>").append(HTMLUtils.LINE_SEPARATOR);
- }
- }
-
- protected abstract String getLinkActionHref();
-
- protected String getLinkActionTarget()
- {
- return FrameNames.PERSPECTIVE_WORKAREA;
- }
-
- public String getOpenImagePath()
- {
- return imagePath_;
- }
-
- public String getClosedImagePath()
- {
- return imagePath_;
- }
-
- protected void addHTMLLabel(HttpServletResponse response,StringBuffer treeView,boolean isLastChild)
- {
- // <a href="..." target="..." onClick="selectNode('...')"><img...></a>
- Hashtable additionalAttributes = new Hashtable();
- additionalAttributes.put("name",anchorName_);
- String imagePath = (nodeManager_.getSelectedNodeId() == nodeId_)?getOpenImagePath():getClosedImagePath();
-
- String imageTag = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(imagePath),"","16","16",additionalAttributes);
- String baseHref = getLinkActionHref();
- String href = ((baseHref == null)?baseHref:nodeManager_.getController().getPathWithContext(baseHref));
- String target = getLinkActionTarget();
- additionalAttributes.clear();
-
- treeView.append(" <td align=\"left\" width=16 height=16 nowrap>");
- if (href != null)
- treeView.append(HTMLUtils.getHTMLLinkTag(response,href,target,null,imageTag,additionalAttributes));
- else
- treeView.append(imageTag);
- treeView.append("</td>").append(HTMLUtils.LINE_SEPARATOR);
- treeView.append(" <td align=\"left\" width=3 height=10 nowrap>").append(HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_SPACE),"","3","10",null)).append("</td>").append(HTMLUtils.LINE_SEPARATOR);
-
- // <a name="..." href="..." target="...">label</a>
- treeView.append(" <td align=\"left\" nowrap>").append(HTMLUtils.LINE_SEPARATOR);
- treeView.append(" ");
- if (href != null)
- {
- String textAnchorClass;
- if (nodeManager_.getSelectedNodeId() == nodeId_)
- textAnchorClass="selectedTextAnchor";
- else
- textAnchorClass="unselectedTextAnchor";
- additionalAttributes.put("class",textAnchorClass);
- treeView.append(HTMLUtils.getHTMLLinkTag(response,href,target,anchorName_,getNodeName(),additionalAttributes));
- }
- else
- treeView.append("<strong>").append(getNodeName()).append("</strong>");
- treeView.append(HTMLUtils.LINE_SEPARATOR).append(" </td>").append(HTMLUtils.LINE_SEPARATOR);
- }
-
- public void renderNode(HttpServletResponse response,StringBuffer treeView,String prefixColumns,boolean isLastChild)
- {
- String space_16x16 = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_SPACE),"","16","16",null);
- String line_16x16 = HTMLUtils.getHTMLImageTag(response,nodeManager_.getController().getPathWithContext(NodeManager.PATH_LINE),"","16","16",null);
-
- // Use border=1 to help with debugging.
- treeView.append("<table cellspacing=0 cellpadding=0 border=0>").append(HTMLUtils.LINE_SEPARATOR);
- treeView.append(" <tr>").append(HTMLUtils.LINE_SEPARATOR);
- treeView.append(" <td align=\"left\" width=16 height=16 nowrap>").append(space_16x16).append("</td>").append(HTMLUtils.LINE_SEPARATOR);
- StringBuffer newPrefixColumns = new StringBuffer(prefixColumns);
- if (nodeDepth_ >= 2)
- {
- if (prefixColumns.length() > 0)
- treeView.append(prefixColumns).append(HTMLUtils.LINE_SEPARATOR);
- // generate a new prefix columns.
- newPrefixColumns.append(" <td align=\"left\" width=16 height=16 nowrap>");
- if (isLastChild)
- newPrefixColumns.append(space_16x16);
- else
- newPrefixColumns.append(line_16x16);
- newPrefixColumns.append("</td>").append(HTMLUtils.LINE_SEPARATOR);
- }
- addToggle(response,treeView,isLastChild);
- addHTMLLabel(response,treeView,isLastChild);
- treeView.append(" </tr>").append(HTMLUtils.LINE_SEPARATOR);
- treeView.append("</table>").append(HTMLUtils.LINE_SEPARATOR);
- int numberOfChildNodes = childNodes_.size();
- if (numberOfChildNodes > 0)
- {
- if (isOpen_)
- {
- for (int i=0;i<numberOfChildNodes-1;i++)
- {
- Node childNode = (Node)childNodes_.elementAt(i);
- childNode.renderNode(response,treeView,newPrefixColumns.toString(),false);
- }
- Node lastChildNode = (Node)childNodes_.elementAt(numberOfChildNodes-1);
- lastChildNode.renderNode(response,treeView,newPrefixColumns.toString(),true);
- }
- }
- }
-
- // For sorting purposes.
- public final String toString()
- {
- return getNodeName();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/NodeManager.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/NodeManager.java
deleted file mode 100644
index 6b23801e3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/NodeManager.java
+++ /dev/null
@@ -1,253 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-import javax.servlet.http.HttpServletResponse;
-
-public class NodeManager
-{
- // paths to icon images
- public static final String PATH_PLUS_NOTLAST = "images/plus_notlast.gif";
- public static final String PATH_PLUS_LAST = "images/plus_last.gif";
- public static final String PATH_MINUS_NOTLAST = "images/minus_notlast.gif";
- public static final String PATH_MINUS_LAST = "images/minus_last.gif";
- public static final String PATH_LINE = "images/line.gif";
- public static final String PATH_LINE_NOTLAST = "images/line_notlast.gif";
- public static final String PATH_LINE_LAST = "images/line_last.gif";
- public static final String PATH_SPACE = "images/space.gif";
-
- private Controller controller_;
- private Node rootNode_;
- private Hashtable nodeTable_;
- private int focusedNodeId_;
- private int selectedNodeId_;
- private int previousSelectedNodeId_;
- private int maxDepthVisible_;
- private int nextId_;
-
- public NodeManager(Controller controller)
- {
- controller_ = controller;
- rootNode_ = null;
- nodeTable_ = new Hashtable();
- focusedNodeId_ = -1;
- selectedNodeId_ = -1;
- previousSelectedNodeId_ = -1;
- maxDepthVisible_ = 1;
- nextId_ = 0;
- }
-
- /**
- * Hook for the controller.
- * @return Controller The perspective controller.
- */
- public Controller getController()
- {
- return controller_;
- }
-
- /**
- * Sets the root node of the tree.
- * @param rootNode The node being designated as the root node.
- */
- public void setRootNode(Node rootNode)
- {
- rootNode_ = rootNode;
- }
-
- /**
- * Returns the root node of the tree managed by this NodeManager.
- * @return Node The root node.
- */
- public Node getRootNode()
- {
- return rootNode_;
- }
-
- /**
- * @param Integer The id of the node being added.
- * @param Node The node being added.
- * @return The nodeId assigned to this node.
- */
- public int addToNodeTable(Node node)
- {
- int assignedNodeId = nextId_;
- nodeTable_.put(String.valueOf(assignedNodeId),node);
- nextId_++;
- return assignedNodeId;
- }
-
- public void removeFromNodeTable(int nodeId)
- {
- Vector nodesToRemove = new Vector();
- Node node = getNode(nodeId);
- gatherNodesToRemove(nodesToRemove, node);
- for (Iterator it = nodesToRemove.iterator(); it.hasNext();) {
- nodeTable_.remove(String.valueOf(((Node)it.next()).getNodeId()));
- }
- }
-
- private void gatherNodesToRemove(Vector nodesToRemove, Node node) {
- if (node != null) {
- nodesToRemove.add(node);
- Vector childNodes = node.getChildNodes();
- for (Iterator it = childNodes.iterator(); it.hasNext();) {
- gatherNodesToRemove(nodesToRemove, (Node)it.next());
- }
- }
- }
-
- /**
- * Returns the depth of the deepest visible node in the tree.
- * @return int
- */
- public int getMaxDepthVisible()
- {
- return maxDepthVisible_;
- }
-
- /**
- * Updates the depth of the deepest visible node in the tree. Nodes
- * must call this when the visibility of their children changes.
- * (e.g. expand/collapse of a parent node).
- */
- public void updateMaxDepthVisible()
- {
- if (rootNode_ != null)
- maxDepthVisible_ = rootNode_.getMaxDepthVisible();
- }
-
- /**
- * Returns the next available id for a newly created node.
- * @return int
- */
- public int getNextNodeId()
- {
- return nextId_;
- }
-
- /**
- * Returns the id of the currently focused node in the tree. A node
- * becomes focused when any of the following events occur:
- * 1) The node's icon or image are selected by a user.
- * 2) The node's expand/collapse icon is clicked.
- * 3) Programmatically set by the programmer.
- * The treeview will always scroll to the current focused node when loaded.
- * @return int The id.
- */
- public int getFocusedNodeId()
- {
- return focusedNodeId_;
- }
-
- /**
- * Allows modification of the focused node.
- * @param int The id of the node that is in focus.
- */
- public void setFocusedNodeId(int nodeId)
- {
- focusedNodeId_ = nodeId;
- }
-
- public Node getFocusedNode()
- {
- return getNode(focusedNodeId_);
- }
-
- /**
- * Returns the id of the currently selected node in the tree.
- * @return int The id.
- */
- public int getSelectedNodeId()
- {
- return selectedNodeId_;
- }
-
- public Node getSelectedNode()
- {
- return getNode(selectedNodeId_);
- }
-
- /**
- * Retrieve a reference to a Node in this manager's node table.
- * @return Node The node.
- */
- public Node getNode(int nodeId)
- {
- return (Node)nodeTable_.get(String.valueOf(nodeId));
- }
-
- /**
- * Allows modification of the selected Node. Note that setting a node to become
- * selected automatically makes it the focused node. However, this is only a one
- * way relationship.
- * @param int The id of the node that is being selected.
- */
- public void setSelectedNodeId(int nodeId)
- {
- previousSelectedNodeId_ = selectedNodeId_;
- selectedNodeId_ = nodeId;
- setFocusedNodeId(selectedNodeId_);
- }
-
- public int getPreviousSelectedNodeId()
- {
- return previousSelectedNodeId_;
- }
-
- public Node getPreviousSelectedNode()
- {
- return (Node)nodeTable_.get(String.valueOf(previousSelectedNodeId_));
- }
-
- /**
- * Render the HTML tree view for this node.
- * @param HttpServletResponse For encoding URLs.
- * @return String The HTML representing the tree view.
- */
- public String renderTreeView(HttpServletResponse response)
- {
- StringBuffer treeView = new StringBuffer();
- rootNode_.renderNode(response,treeView,"",false);
- return treeView.toString();
- }
-
- /**
- * Make the provided node is visible by ensuring that its ancestors are visible.
- * @param Node The node to be made visible.
- * @return boolean Indicator for whether or not the treeview needs refreshing (i.e. an ancestor was not visible).
- */
- public final boolean makeNodeVisible(Node node)
- {
- boolean requiresTreeViewRefresh = false;
- while ((node = node.getParent()) != null)
- {
- if (!node.isOpen())
- {
- requiresTreeViewRefresh = true;
- node.setVisibilityOfChildren(true);
- }
- }
- return requiresTreeViewRefresh;
- }
-
- /**
- * Make the currently selected node visible by ensuring that its ancestors are visible.
- */
- public final boolean makeSelectedNodeVisible()
- {
- return makeNodeVisible(getSelectedNode());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Perspective.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Perspective.java
deleted file mode 100644
index e3f44222b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Perspective.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import javax.servlet.ServletContext;
-
-public abstract class Perspective extends MessageProvider
-{
- protected Controller controller_;
- protected MessageQueue messageQueue_;
-
- public Perspective(String messageBundleFileName,Controller controller)
- {
- super(messageBundleFileName);
- controller_ = controller;
- messageQueue_ = new MessageQueue();
- }
-
- public MessageQueue getMessageQueue()
- {
- return messageQueue_;
- }
-
- public Controller getController()
- {
- return controller_;
- }
-
- public abstract String getPanesFile();
- public abstract String getFramesetsFile();
- public abstract String getProcessFramesetsForm();
-
- public abstract String getTreeContentVar();
- public abstract String getTreeContentPage();
- public abstract String getPropertiesContainerVar();
- public abstract String getPropertiesContainerPage();
- public abstract String getStatusContentVar();
- public abstract String getStatusContentPage();
-
- public abstract String getSwitchPerspectiveFormActionLink(int targetPerspectiveId,boolean forHistory);
- public abstract String getPerspectiveContentPage();
- public abstract int getPerspectiveId();
-
- // This should only be called after the perspective has been successfully instantiated.
- public abstract void initPerspective(ServletContext application);
-
- // Node manager for the navigator/tree content page
- public abstract NodeManager getNodeManager();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SectionHeaderInfo.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SectionHeaderInfo.java
deleted file mode 100644
index 105f395c3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SectionHeaderInfo.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-public class SectionHeaderInfo
-{
- private String containerId_;
- private boolean dynamic_;
- private Object otherProperties_;
-
- public SectionHeaderInfo()
- {
- clear();
- }
-
- public final void clear()
- {
- containerId_ = "";
- dynamic_ = true;
- otherProperties_ = null;
- }
-
- public final void setContainerId(String containerId)
- {
- containerId_ = containerId;
- }
-
- public final String getContainerId()
- {
- return containerId_;
- }
-
- public final void enableDynamic(boolean isEnabled)
- {
- dynamic_ = isEnabled;
- }
-
- public final boolean isDynamic()
- {
- return dynamic_;
- }
-
- public final void setOtherProperties(Object object)
- {
- otherProperties_ = object;
- }
-
- public final Object getOtherProperties()
- {
- return otherProperties_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SetDefaultViewTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SetDefaultViewTool.java
deleted file mode 100644
index b3ef1e7a0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/SetDefaultViewTool.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-public abstract class SetDefaultViewTool extends ActionTool
-{
- public SetDefaultViewTool(ToolManager viewToolManager,String alt)
- {
- super(viewToolManager,"images/top_enabled.gif","images/top_highlighted.gif",alt);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Tool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Tool.java
deleted file mode 100644
index e8bfb9954..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/Tool.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Hashtable;
-import javax.servlet.http.HttpServletResponse;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames;
-import org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils;
-
-// A class for representing toolbar tools.
-public abstract class Tool
-{
- protected ToolManager toolManager_;
- private String enabledImageLink_;
- private String highlightedImageLink_;
- private String alt_;
- protected int toolId_;
- protected byte toolType_;
-
- public Tool(ToolManager toolManager,String enabledImageLink,String highlightedImageLink,String alt,byte toolType)
- {
- toolManager_ = toolManager;
- enabledImageLink_ = enabledImageLink;
- highlightedImageLink_ = highlightedImageLink;
- alt_ = alt;
- toolId_ = toolManager_.addTool(this);
- toolType_ = toolType;
- }
-
- public abstract String getSelectToolActionHref(boolean forHistory);
-
- public String getSelectToolActionTarget()
- {
- return FrameNames.PERSPECTIVE_WORKAREA;
- }
-
- private final void generateOnMouseValue(StringBuffer value,HttpServletResponse response,String fullImageLink)
- {
- value.append("src='").append(response.encodeURL(fullImageLink)).append('\'');
- }
-
- public String renderTool(HttpServletResponse response,Controller controller)
- {
- Hashtable jsImageProperties = new Hashtable();
- StringBuffer propertyValue = new StringBuffer();
- String fullEnabledImageLink = controller.getPathWithContext(enabledImageLink_);
- generateOnMouseValue(propertyValue,response,fullEnabledImageLink);
- int propertyValueLength = propertyValue.length();
- jsImageProperties.put("class","normal");
- jsImageProperties.put("onMouseOut",propertyValue.append(";mouseout(this)").toString());
- propertyValue.delete(propertyValueLength,propertyValue.length());
- jsImageProperties.put("onMouseUp",propertyValue.append(";mouseup(this)").toString());
- propertyValue.setLength(0);
- generateOnMouseValue(propertyValue,response,controller.getPathWithContext(highlightedImageLink_));
- propertyValueLength = propertyValue.length();
- jsImageProperties.put("onMouseOver",propertyValue.append(";mouseover(this)").toString());
- propertyValue.delete(propertyValueLength,propertyValue.length());
- jsImageProperties.put("onMouseDOwn",propertyValue.append(";mousedown(this)").toString());
-
- String imageTag = HTMLUtils.getHTMLImageTag(response,fullEnabledImageLink,alt_,"16","16",jsImageProperties);
- return HTMLUtils.getHTMLLinkTag(response,controller.getPathWithContext(getSelectToolActionHref(false)),getSelectToolActionTarget(),null,imageTag,null);
- }
-
- public final ToolManager getToolManager()
- {
- return toolManager_;
- }
-
- public final int getToolId()
- {
- return toolId_;
- }
-
- public final byte getToolType()
- {
- return toolType_;
- }
-
- public final String getEnabledImageLink()
- {
- return enabledImageLink_;
- }
-
- public final String getHighlightedImageLink()
- {
- return highlightedImageLink_;
- }
-
- public final String getAltText()
- {
- return alt_;
- }
-
- public final void setAltText(String alt)
- {
- alt_ = alt;
- }
-
- public abstract String getFormLink();
- public abstract String getActionLink();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ToolManager.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ToolManager.java
deleted file mode 100644
index b5e24eb7c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ToolManager.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.List;
-import java.util.Vector;
-
-public class ToolManager
-{
- private Vector tools_;
- private int selectedToolId_;
- private Node node_;
-
- public ToolManager(Node node)
- {
- tools_ = new Vector();
- selectedToolId_ = 0;
- node_ = node;
- }
-
- public final int getSelectedToolId()
- {
- return selectedToolId_;
- }
-
- public final int setSelectedToolId(int toolId)
- {
- if (toolId >= 0 && toolId < tools_.size())
- selectedToolId_ = toolId;
- return selectedToolId_;
- }
-
- public final int addTool(Tool tool)
- {
- tools_.addElement(tool);
- return tools_.size()-1;
- }
-
- public final Tool getTool(int toolId)
- {
- if (toolId >=0 && toolId < getNumberOfTools())
- return (Tool)tools_.elementAt(toolId);
- return null;
- }
-
- public final List getTools()
- {
- return tools_;
- }
-
- public final Tool getSelectedTool()
- {
- if (selectedToolId_ >=0 && selectedToolId_ < getNumberOfTools())
- return (Tool)tools_.elementAt(selectedToolId_);
- return null;
- }
-
- public final int getNumberOfTools()
- {
- return tools_.size();
- }
-
- public final Node getNode()
- {
- return node_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ViewTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ViewTool.java
deleted file mode 100644
index 829013e91..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/perspective/ViewTool.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.perspective;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-
-public abstract class ViewTool extends FormTool
-{
- private Hashtable viewToolManagers_;
-
- public ViewTool(ToolManager toolManager,String enabledImageLink,String highlightedImageLink,String alt)
- {
- super(toolManager,enabledImageLink,highlightedImageLink,alt);
- toolType_ = ToolTypes.VIEW;
- viewToolManagers_ = new Hashtable();
- }
-
- protected abstract void addSetDefaultViewTool(ToolManager viewToolManager,int index);
- protected abstract void addTools(ToolManager viewToolManager,int index);
-
- public final ToolManager createToolManager(int viewId)
- {
- ToolManager viewToolManager = new ToolManager(toolManager_.getNode());
- addTools(viewToolManager,viewId);
- addSetDefaultViewTool(viewToolManager,viewId);
- viewToolManagers_.put(String.valueOf(viewId),viewToolManager);
- return viewToolManager;
- }
-
- public final ToolManager getToolManager(int viewId)
- {
- return (ToolManager)(viewToolManagers_.get(String.valueOf(viewId)));
- }
-
- public final void clearViewToolManager(int viewId)
- {
- viewToolManagers_.remove(String.valueOf(viewId));
- }
-
- public final void clearViewToolManagers()
- {
- viewToolManagers_.clear();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddItemsToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddItemsToFavoritesAction.java
deleted file mode 100644
index 09f0fc254..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddItemsToFavoritesAction.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class AddItemsToFavoritesAction extends UDDIPropertiesFormAction
-{
- public AddItemsToFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String[] selectedNodeIds = parser.getParameterValues(ActionInputs.NODEID);
- // The client Javascript enforces the rule that at least one item was selected before the form can be submitted.
- propertyTable_.put(UDDIActionInputs.SELECTED_NODEIDS,selectedNodeIds);
- return true;
- }
-
- public final boolean run()
- {
- String[] selectedNodeIds = (String[])propertyTable_.get(UDDIActionInputs.SELECTED_NODEIDS);
- AddToFavoritesAction action = new AddToFavoritesAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- for (int i=0;i<selectedNodeIds.length;i++)
- {
- propertyTable.put(ActionInputs.NODEID,selectedNodeIds[i]);
- if (action.favoriteExists()) {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- Node node = uddiPerspective.getNavigatorManager().getNode(Integer.parseInt(selectedNodeIds[i]));
- String nodeName = node.getNodeName();
- uddiPerspective.getMessageQueue().addMessage(uddiPerspective.getMessage("MSG_ERROR_FAVORITE_ALREADY_EXISTS",nodeName));
- }
- else
- action.run();
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddPublisherAssertionsAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddPublisherAssertionsAction.java
deleted file mode 100644
index 081d6bfb2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddPublisherAssertionsAction.java
+++ /dev/null
@@ -1,242 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.assertion.PublisherAssertion;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.DispositionReport;
-import org.uddi4j.response.Result;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.KeyedReference;
-
-public class AddPublisherAssertionsAction extends CommonPublisherAssertionsAction
-{
- public AddPublisherAssertionsAction(Controller controller)
- {
- super(controller);
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- if (registryNode_ == null)
- return false;
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- FormTool formTool = getSelectedFormTool();
-
- // ids from uddiObjects_table.jsp
- String[] selectedBusIds = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- if (selectedBusIds == null || selectedBusIds.length == 0) {
- // Synchronize client view and server model (uddiObject_table.jsp)
- synchronizeUDDIObjectTable();
- inputsValid = false;
- }
- else {
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID, selectedBusIds);
- // Synchronize client view and server model (uddiObject_table.jsp)
- synchronizeUDDIObjectTable();
- }
-
- String[] assertionTypes = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_TYPE);
- if (assertionTypes != null && assertionTypes.length > 0)
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_TYPE, assertionTypes);
- else
- inputsValid = false;
-
- String[] directions = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_DIRECTION);
- if (directions != null && directions.length > 0)
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_DIRECTION, directions);
- else
- inputsValid = false;
-
- // if not yet logged in, validate the parameters needed to log in
- if (!isLoggedIn_) {
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (!Validator.validateString(publishURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userID != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- }
-
- if (!Validator.validateString(userID))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
- }
-
- return inputsValid;
- }
-
- public boolean run()
- {
- if (registryNode_ == null)
- return false;
-
- RegistryElement registryElement = (RegistryElement)registryNode_.getTreeElement();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-
- // if not yet logged in, log in first
- if (!isLoggedIn_) {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- try {
- registryElement.performLogin(publishURL, userID, password);
- }
- catch (TransportException te) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(te.getMessage());
- return false;
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(uddie.toString());
- return false;
- }
- catch (MalformedURLException me) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(me.getMessage());
- return false;
- }
- }
-
- UDDIProxy proxy = registryElement.getProxy();
- registryElement.getUserId();
- registryElement.getCred();
- BusinessElement busElement = (BusinessElement)selectedElement;
-
- // determine whether this is a owned business
- // if not, the AddPublisherAssertionsAction cannot be performed
- if (!isBusinessOwned(busElement)) {
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NOT_OWNED_BUSINESS"));
- return false;
- }
-
- try {
- String[] assertionTypes = (String[])propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_TYPE);
- String[] directions = (String[])propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_DIRECTION);
- String thisBusinessKey = busElement.getBusinessEntity().getBusinessKey();
-
- // get all selected businesses
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- String subQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey);
- Vector selectedBusinesses = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS);
- Enumeration e = selectedBusinesses.elements();
- if (!e.hasMoreElements())
- return true;
-
- // create a vector of publisher assertions based on all the selected businesses
- Vector pubAssertionVector = new Vector();
- int i = 0;
- while (e.hasMoreElements()) {
- ListElement le = (ListElement)e.nextElement();
- BusinessEntity sp = (BusinessEntity)le.getObject();
- KeyedReference keyedRef = new KeyedReference(assertionTypes[i], assertionTypes[i], TModel.RELATIONSHIPS_TMODEL_KEY);
- if (Integer.parseInt(directions[i]) == UDDIActionInputs.DIRECTION_TO)
- pubAssertionVector.add(new PublisherAssertion(sp.getBusinessKey(), thisBusinessKey, keyedRef));
- else
- pubAssertionVector.add(new PublisherAssertion(thisBusinessKey, sp.getBusinessKey(), keyedRef));
- i++;
- }
-
- // proxy.add_publisherAssertions(...)
- DispositionReport report = proxy.add_publisherAssertions(registryElement.getAuthInfoString(), pubAssertionVector);
-
- // refresh publisher assertions iff proxy reports success
- if (report.success()) {
- selectedBusinesses.removeAllElements();
- ShowPublisherAssertionsAction showPAAction = new ShowPublisherAssertionsAction(controller_);
- Hashtable propertyTable = showPAAction.getPropertyTable();
- Object ids = propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- if (ids != null)
- propertyTable.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID, ids);
- showPAAction.run();
- }
-
- return report.success();
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- DispositionReport report = uddie.getDispositionReport();
- Vector reportErrInfo = report.getResultVector();
- for (int i = 0; i < reportErrInfo.size(); i++) {
- messageQueue.addMessage(((Result) reportErrInfo.get(i)).getErrInfo().getText());
- }
- return false;
- }
- catch(Exception e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("Exception");
- messageQueue.addMessage(e.getMessage());
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddToFavoritesAction.java
deleted file mode 100644
index b3d8b0f6a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/AddToFavoritesAction.java
+++ /dev/null
@@ -1,242 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryModel;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.BusinessNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceInterfaceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-
-public class AddToFavoritesAction extends UDDINodeAction
-{
- public AddToFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/CheckFavoriteExistsActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean registryExists(String registryName,Node registryNode)
- {
- registryNode.getTreeElement();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_REGISTRY_NAME,registryName);
- return favoriteExists(table,FavoritesModelConstants.REL_UDDI_REGISTRY_FOLDER_NODE);
- }
-
- public final boolean businessExists(String businessName,Node businessNode)
- {
- BusinessElement busElement = (BusinessElement)businessNode.getTreeElement();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- String businessKey = busElement.getBusinessEntity().getBusinessKey();
- String inquiryURL = regElement.getInquiryURL();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_NAME,businessName);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_INQUIRY_API,inquiryURL);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_KEY, businessKey);
- return favoriteExists(table,FavoritesModelConstants.REL_UDDI_BUSINESS_FOLDER_NODE);
- }
-
- public final boolean serviceExists(String serviceName,Node serviceNode)
- {
- ServiceElement serviceElement = (ServiceElement)serviceNode.getTreeElement();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- String serviceKey = serviceElement.getBusinessService().getServiceKey();
- String inquiryURL = regElement.getInquiryURL();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_NAME,serviceName);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INQUIRY_API,inquiryURL);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_KEY,serviceKey);
- return favoriteExists(table,FavoritesModelConstants.REL_UDDI_SERVICE_FOLDER_NODE);
- }
-
- public final boolean serviceInterfaceExists(String siName,Node siNode)
- {
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)siNode.getTreeElement();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- String tModelKey = siElement.getTModel().getTModelKey();
- String inquiryURL = regElement.getInquiryURL();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_NAME,siName);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_INQUIRY_API,inquiryURL);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_KEY,tModelKey);
- return favoriteExists(table,FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_FOLDER_NODE);
- }
-
- public final boolean addRegistryToFavorites(String registryName,Node registryNode)
- {
- RegistryElement regElement = (RegistryElement)registryNode.getTreeElement();
- String inquiryURL = regElement.getInquiryURL();
- String publishURL = regElement.getPublishURL();
- if (publishURL == null)
- publishURL = "";
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_REGISTRY_PUBLISH_API,publishURL);
- table.put(FavoritesModelConstants.PROP_UDDI_REGISTRY_INQUIRY_API,inquiryURL);
- table.put(FavoritesModelConstants.PROP_UDDI_REGISTRY_NAME,registryName);
- Enumeration userDefinedCategoriesEnum = regElement.getUserDefinedCategories();
- if (userDefinedCategoriesEnum != null)
- {
- table.put(FavoritesModelConstants.PROP_UDDI_REGISTRY_CATEGORIES_ENUM,userDefinedCategoriesEnum);
- table.put(FavoritesModelConstants.PROP_PLUGIN_METADATA_DIRECTORY,controller_.getServletEngineStateLocation());
- }
- return addToFavorites(table,FavoritesModelConstants.REL_UDDI_REGISTRY_FOLDER_NODE);
- }
-
- public final boolean addBusinessToFavorites(String businessName,Node businessNode)
- {
- BusinessElement busElement = (BusinessElement)businessNode.getTreeElement();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- String businessKey = busElement.getBusinessEntity().getBusinessKey();
- String inquiryURL = regElement.getInquiryURL();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_NAME,businessName);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_INQUIRY_API,inquiryURL);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_KEY, businessKey);
- return addToFavorites(table,FavoritesModelConstants.REL_UDDI_BUSINESS_FOLDER_NODE);
- }
-
- public final boolean addServiceToFavorites(String serviceName,Node serviceNode)
- {
- ServiceElement serviceElement = (ServiceElement)serviceNode.getTreeElement();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- String serviceKey = serviceElement.getBusinessService().getServiceKey();
- String inquiryURL = regElement.getInquiryURL();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_NAME,serviceName);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INQUIRY_API,inquiryURL);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_KEY,serviceKey);
- return addToFavorites(table,FavoritesModelConstants.REL_UDDI_SERVICE_FOLDER_NODE);
- }
-
- public final boolean addServiceInterfaceToFavorites(String siName,Node siNode)
- {
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)siNode.getTreeElement();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- String tModelKey = siElement.getTModel().getTModelKey();
- String inquiryURL = regElement.getInquiryURL();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_NAME,siName);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_INQUIRY_API,inquiryURL);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INTERFACE_KEY,tModelKey);
- return addToFavorites(table,FavoritesModelConstants.REL_UDDI_SERVICE_INTERFACE_FOLDER_NODE);
- }
-
- public boolean favoriteExists()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- Node node = nodeManager_.getNode(nodeId);
- String nodeName = node.getNodeName();
- if (node instanceof RegistryNode)
- return registryExists(nodeName,node);
- else if (node instanceof BusinessNode)
- return businessExists(nodeName,node);
- else if (node instanceof ServiceNode)
- return serviceExists(nodeName,node);
- else if (node instanceof ServiceInterfaceNode)
- return serviceInterfaceExists(nodeName,node);
- else
- return false;
- }
-
- public boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- Node node = nodeManager_.getNode(nodeId);
- String nodeName = node.getNodeName();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- boolean addToFavoritesResult = false;
- if (node instanceof RegistryNode)
- {
- addToFavoritesResult = addRegistryToFavorites(nodeName,node);
- RegistryElement regElement = (RegistryElement)node.getTreeElement();
- Enumeration e = regElement.getUserDefinedCategories();
- if (e != null)
- {
- while (e.hasMoreElements())
- {
- CategoryModel categoryModel = (CategoryModel)e.nextElement();
- Throwable errorException = categoryModel.getErrorException();
- if (errorException != null)
- {
- String[] args = {categoryModel.getDisplayName(),errorException.getMessage()};
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_SAVING_CATEGORY_DATA",args));
- }
- }
- }
- }
- else if (node instanceof BusinessNode)
- addToFavoritesResult = addBusinessToFavorites(nodeName,node);
- else if (node instanceof ServiceNode)
- addToFavoritesResult = addServiceToFavorites(nodeName,node);
- else if (node instanceof ServiceInterfaceNode)
- addToFavoritesResult = addServiceInterfaceToFavorites(nodeName,node);
- if (addToFavoritesResult)
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_FAVORITE_ADDED",nodeName));
- else
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_FAVORITE_NOT_ADDED",nodeName));
- return addToFavoritesResult;
- }
-
- protected boolean addToFavorites(Hashtable table, String rel)
- {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager favNodeManager = favPerspective.getNodeManager();
- TreeElement favRootElement = favNodeManager.getRootNode().getTreeElement();
- Enumeration e = favRootElement.getElements(rel);
- if (!e.hasMoreElements())
- return false;
- FavoritesFolderElement favFolderElement = (FavoritesFolderElement)e.nextElement();
- return favFolderElement.addFavorite(table);
- }
-
- protected boolean favoriteExists(Hashtable table, String rel)
- {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager favNodeManager = favPerspective.getNodeManager();
- TreeElement favRootElement = favNodeManager.getRootNode().getTreeElement();
- Enumeration e = favRootElement.getElements(rel);
- if (!e.hasMoreElements())
- return false;
- FavoritesFolderElement favFolderElement = (FavoritesFolderElement)e.nextElement();
- return favFolderElement.favoriteExists(table);
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceAdvancedAction.java
deleted file mode 100644
index 4a8dc5072..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceAdvancedAction.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.uddi4j.datatype.business.BusinessEntity;
-
-public class BusPublishServiceAdvancedAction extends PublishAction
-{
- private RegPublishServiceAdvancedAction regPublishServiceAdvancedAction_;
- public BusPublishServiceAdvancedAction(Controller controller)
- {
- super(controller);
- regPublishServiceAdvancedAction_ = new RegPublishServiceAdvancedAction(controller);
- propertyTable_ = regPublishServiceAdvancedAction_.getPropertyTable();
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- Node businessNode = getSelectedNavigatorNode();
- BusinessElement businessElement = (BusinessElement)businessNode.getTreeElement();
- BusinessEntity businessEntity = businessElement.getBusinessEntity();
- ListElement busListElement = new ListElement(businessEntity);
- Vector serviceBusinessCopy = new Vector();
- serviceBusinessCopy.addElement(busListElement);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- boolean result = regPublishServiceAdvancedAction_.processOthers(parser,formToolPI);
- if (!propertyTable_.containsKey(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER))
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER,businessEntity);
- return result;
- }
-
- public final boolean run()
- {
- return regPublishServiceAdvancedAction_.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceSimpleAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceSimpleAction.java
deleted file mode 100644
index 31c369166..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusPublishServiceSimpleAction.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.uddi4j.datatype.business.BusinessEntity;
-
-public class BusPublishServiceSimpleAction extends PublishAction
-{
- private RegPublishServiceSimpleAction regPublishServiceSimpleAction_;
-
- public BusPublishServiceSimpleAction(Controller controller)
- {
- super(controller);
- regPublishServiceSimpleAction_ = new RegPublishServiceSimpleAction(controller);
- propertyTable_ = regPublishServiceSimpleAction_.getPropertyTable();
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- Node businessNode = getSelectedNavigatorNode();
- BusinessElement businessElement = (BusinessElement)businessNode.getTreeElement();
- BusinessEntity businessEntity = businessElement.getBusinessEntity();
- ListElement busListElement = new ListElement(businessEntity);
- Vector serviceBusinessCopy = new Vector();
- serviceBusinessCopy.addElement(busListElement);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- boolean result = regPublishServiceSimpleAction_.processOthers(parser,formToolPI);
- if (!propertyTable_.containsKey(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_SERVICE_PROVIDER))
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_SERVICE_PROVIDER,businessEntity);
- return result;
- }
-
- public final boolean run()
- {
- return regPublishServiceSimpleAction_.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusinessGetServicesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusinessGetServicesAction.java
deleted file mode 100644
index f15ee0d33..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/BusinessGetServicesAction.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.BusinessNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.uddi4j.datatype.business.BusinessEntity;
-
-public class BusinessGetServicesAction extends UDDINodeAction
-{
- private BusinessNode busNode_;
- public BusinessGetServicesAction(Controller controller)
- {
- super(controller);
- busNode_ = null;
- }
-
- // uddi/actions/BusinessGetServicesActionJSP.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/BusinessGetServicesActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean validateBusiness()
- {
- int busNodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- busNode_ = (BusinessNode)nodeManager_.getNode(busNodeId);
- BusinessElement busElement = (BusinessElement)busNode_.getTreeElement();
- RegFindBusinessUUIDAction verifyAction = new RegFindBusinessUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,busElement.getBusinessEntity().getBusinessKey());
- boolean result = verifyAction.run();
- if (result)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,propertyTable.get(UDDIActionInputs.LATEST_OBJECT));
- return result;
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- BusinessEntity sp = (BusinessEntity)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
-
- RegFindServicesAdvancedAction action = new RegFindServicesAdvancedAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_NAME,uddiPerspective.getMessage("NODE_NAME_BUSINESS_SERVICES",busNode_.getNodeName()));
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER,sp);
-
- ListElement businessListElement = new ListElement(sp);
- businessListElement.setTargetViewToolInfo(busNode_.getNodeId(),busNode_.getToolManager().getSelectedToolId(),busNode_.getViewId());
- Vector businessListVector = new Vector();
- businessListVector.addElement(businessListElement);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS,businessListVector);
-
-
- return action.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorFolderNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorFolderNodeAction.java
deleted file mode 100644
index d58061fb7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorFolderNodeAction.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-
-public class ClearNavigatorFolderNodeAction extends ClearNavigatorNodeAction
-{
- public ClearNavigatorFolderNodeAction(Controller controller)
- {
- super(controller);
- }
-
- // uddi/actions/ClearNavigatorFolderNodeAction.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ClearNavigatorFolderNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- if (!isStaleNode(nodeId))
- {
- Node node = nodeManager_.getNode(nodeId);
- TreeElement element = node.getTreeElement();
- element.disconnectRel(element.getPropertyAsString(ModelConstants.REL_CHILDREN));
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodeAction.java
deleted file mode 100644
index c9bdf423e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodeAction.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ClearNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class ClearNavigatorNodeAction extends ClearNodeAction
-{
- public ClearNavigatorNodeAction(Controller controller)
- {
- super(controller,controller.getUDDIPerspective().getNavigatorManager());
- propertyTable_.put(ActionInputs.NODEID,String.valueOf(controller.getUDDIPerspective().getNavigatorManager().getSelectedNodeId()));
- }
-
- // uddi/actions/ClearNavigatorNodeAction.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ClearNavigatorNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final String getTreeContentVar()
- {
- return "navigatorContent";
- }
-
- public final String getTreeContentPage()
- {
- return "uddi/navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar()
- {
- return "propertiesContainer";
- }
-
- public final String getPropertiesContainerPage()
- {
- return "uddi/properties_container.jsp";
- }
-
- public final String getStatusContentVar()
- {
- return "statusContent";
- }
-
- public final String getStatusContentPage()
- {
- return "uddi/status_content.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodesAction.java
deleted file mode 100644
index 5ba7b22f6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ClearNavigatorNodesAction.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class ClearNavigatorNodesAction extends UDDIPropertiesFormAction
-{
- public ClearNavigatorNodesAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String[] selectedNodeIds = parser.getParameterValues(ActionInputs.NODEID);
- if (selectedNodeIds != null)
- propertyTable_.put(UDDIActionInputs.SELECTED_NODEIDS,selectedNodeIds);
- else
- removeProperty(UDDIActionInputs.SELECTED_NODEIDS);
- return true;
- }
-
- public final boolean run()
- {
- String[] selectedNodeIds = (String[])propertyTable_.get(UDDIActionInputs.SELECTED_NODEIDS);
- if (selectedNodeIds != null)
- {
- ClearNavigatorNodeAction action = new ClearNavigatorNodeAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- for (int i=0;i<selectedNodeIds.length;i++)
- {
- propertyTable.put(ActionInputs.NODEID,selectedNodeIds[i]);
- action.run();
- }
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CommonPublisherAssertionsAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CommonPublisherAssertionsAction.java
deleted file mode 100644
index 1920119e2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CommonPublisherAssertionsAction.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Enumeration;
-import java.util.Iterator;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.response.BusinessInfo;
-import org.uddi4j.response.RegisteredInfo;
-
-public abstract class CommonPublisherAssertionsAction extends UDDIPropertiesFormAction
-{
-
- protected RegistryNode registryNode_;
- protected boolean isLoggedIn_;
-
- public CommonPublisherAssertionsAction(Controller controller)
- {
- super(controller);
-
- registryNode_ = getRegistryNode();
- if (registryNode_ != null)
- isLoggedIn_ = ((RegistryElement)registryNode_.getTreeElement()).isLoggedIn();
- }
-
- protected void synchronizeUDDIObjectTable() {
- String[] selectedBusIds = (String[])propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- Node selectedNode = controller_.getUDDIPerspective().getNavigatorManager().getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- String subQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey);
- Vector businessVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS);
- ListManager businessCopy = (ListManager)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS_COPY);
- if (selectedBusIds == null || selectedBusIds.length <= 0) {
- businessVector.removeAllElements();
- businessCopy.clear();
- }
- Enumeration e = businessCopy.getListElements();
- while (e.hasMoreElements()) {
- boolean isIdFound = false;
- ListElement le = (ListElement)e.nextElement();
- int listElementViewId = le.getViewId();
- for (int i = 0; i < selectedBusIds.length; i++) {
- if (listElementViewId == Integer.parseInt(selectedBusIds[i])) {
- isIdFound = true;
- break;
- }
- }
- if (!isIdFound)
- businessVector.remove(le);
- }
- }
-
- protected boolean isBusinessOwned(BusinessElement busElement) {
- boolean isBusinessOwned = false;
- String isBusinessOwnedString = busElement.getPropertyAsString(UDDIModelConstants.IS_BUSINESS_OWNED);
- if (isBusinessOwnedString != null) {
- isBusinessOwned = Boolean.valueOf(isBusinessOwnedString).booleanValue();
- }
- else if (isLoggedIn_) {
- try {
- RegistryElement regElement = (RegistryElement)registryNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- RegisteredInfo ri = proxy.get_registeredInfo(regElement.getAuthInfoString());
- Vector beVector = ri.getBusinessInfos().getBusinessInfoVector();
- for (Iterator it = beVector.iterator(); it.hasNext();)
- {
- BusinessInfo bi = (BusinessInfo)it.next();
- if (bi.getBusinessKey().equals(busElement.getBusinessEntity().getBusinessKey()))
- {
- isBusinessOwned = true;
- break;
- }
- }
- busElement.setPropertyAsString(UDDIModelConstants.IS_BUSINESS_OWNED, String.valueOf(isBusinessOwned));
- }
- catch (Exception e) {}
- }
- return isBusinessOwned;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CompletePublisherAssertionsAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CompletePublisherAssertionsAction.java
deleted file mode 100644
index 6a00853d7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/CompletePublisherAssertionsAction.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.PublisherAssertionElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.response.CompletionStatus;
-import org.uddi4j.response.DispositionReport;
-import org.uddi4j.response.Result;
-import org.uddi4j.transport.TransportException;
-
-public class CompletePublisherAssertionsAction extends CommonPublisherAssertionsAction
-{
- public CompletePublisherAssertionsAction(Controller controller)
- {
- super(controller);
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- if (registryNode_ == null)
- return false;
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- FormTool formTool = getSelectedFormTool();
-
- // ids from uddiObjects_table
- String[] selectedBusIds = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- if (selectedBusIds != null && selectedBusIds.length > 0)
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID, selectedBusIds);
- // Synchronize client view and server model (uddiObject_table.jsp)
- synchronizeUDDIObjectTable();
-
- // if not yet logged in, validate the parameters needed to log in
- if (!isLoggedIn_) {
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (!Validator.validateString(publishURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userID != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- }
-
- if (!Validator.validateString(userID))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
- }
-
- // ids from publisher assertion table
- String[] pubAssertionsViewIds = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_VIEWID);
- if (pubAssertionsViewIds == null || pubAssertionsViewIds.length == 0)
- inputsValid = false;
- else
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_VIEWID, pubAssertionsViewIds);
-
- return inputsValid;
- }
-
- public boolean run()
- {
- if (registryNode_ == null)
- return false;
-
- RegistryElement registryElement = (RegistryElement)registryNode_.getTreeElement();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-
- // if not yet logged in, log in first
- if (!isLoggedIn_) {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- try {
- registryElement.performLogin(publishURL, userID, password);
- }
- catch (TransportException te) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(te.getMessage());
- return false;
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(uddie.toString());
- return false;
- }
- catch (MalformedURLException me) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(me.getMessage());
- return false;
- }
- }
-
- UDDIProxy proxy = registryElement.getProxy();
- registryElement.getUserId();
- registryElement.getCred();
- BusinessElement busElement = (BusinessElement)selectedElement;
- ListManager pubAssertions = busElement.getPublisherAssertions();
-
- // determine whether this is a owned business
- // if not, the AddPublisherAssertionsAction cannot be performed
- if (!isBusinessOwned(busElement)) {
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NOT_OWNED_BUSINESS"));
- return false;
- }
-
- try {
- String[] pubAssertionViewIds = (String[])propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_VIEWID);
- Vector pubAssertionVector = new Vector();
-
- for (int i = 0; i < pubAssertionViewIds.length; i++) {
- int viewID = Integer.parseInt(pubAssertionViewIds[i]);
- ListElement listElement = pubAssertions.getElementWithViewId(viewID);
- PublisherAssertionElement pubAssertionElement = (PublisherAssertionElement)listElement.getObject();
- if (!(pubAssertionElement.getStatus().equals(CompletionStatus.COMPLETE)))
- pubAssertionVector.add(pubAssertionElement.getPublisherAssertion());
- }
-
- if (pubAssertionVector.size() <= 0) {
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NO_INCOMPLETE_ASSERTION_SELECTED"));
- return false;
- }
-
- DispositionReport report = proxy.add_publisherAssertions(registryElement.getAuthInfoString(), pubAssertionVector);
- //report status
- Vector reportErrInfo = report.getResultVector();
- for (int j = 0; j < reportErrInfo.size(); j++) {
- messageQueue.addMessage(((Result) reportErrInfo.get(j)).getErrInfo().getText());
- }
-
- ShowPublisherAssertionsAction showPAAction = new ShowPublisherAssertionsAction(controller_);
- Hashtable propertyTable = showPAAction.getPropertyTable();
- Object ids = propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- if (ids != null)
- propertyTable.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID, ids);
- showPAAction.run();
-
- return report.success();
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- DispositionReport report = uddie.getDispositionReport();
- Vector reportErrInfo = report.getResultVector();
- for (int j = 0; j < reportErrInfo.size(); j++) {
- messageQueue.addMessage(((Result) reportErrInfo.get(j)).getErrInfo().getText());
- }
- return false;
- }
- catch (Exception e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("Exception");
- messageQueue.addMessage(e.getMessage());
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/FindAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/FindAction.java
deleted file mode 100644
index 2cde5503b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/FindAction.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.MultipartFormDataParserTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryParentElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.QueryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryTransferTarget;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-
-public abstract class FindAction extends UDDIPropertiesFormAction
-{
- protected QueryElement queryElement_;
- protected String subQueryKey_;
- protected boolean isSubQueryGet_;
- protected String newSubQuery_;
- protected String newSubQueryItem_;
- protected boolean subQueryInitiated_;
- protected RegistryNode regNode_;
- private boolean isRefreshAction_;
-
- public FindAction(Controller controller)
- {
- super(controller);
- queryElement_ = null;
- subQueryKey_ = null;
- isSubQueryGet_ = false;
- subQueryInitiated_ = false;
- regNode_ = getRegistryNode();
- isRefreshAction_ = false;
- }
-
- protected abstract boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException;
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- // Setup for MultipartFormDataParserTransformer
- propertyTable_.put(ActionInputs.MULTIPART_FORM_DATA_PARSER, parser);
-
- newSubQuery_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_INITIATED);
- String isSubQueryGetString = parser.getParameter(UDDIActionInputs.SUBQUERY_GET);
- newSubQueryItem_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM);
- subQueryKey_ = parser.getParameter(UDDIActionInputs.SUBQUERY_KEY);
- String queryName = parser.getParameter(UDDIActionInputs.QUERY_NAME);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey_);
- formToolPI.clearErrors();
-
- if (newSubQuery_ != null && newSubQuery_.length() > 0)
- subQueryInitiated_ = true;
- else
- subQueryInitiated_ = false;
-
- if (isSubQueryGetString != null)
- isSubQueryGet_ = Boolean.valueOf(isSubQueryGetString).booleanValue();
-
- if (queryName != null)
- propertyTable_.put(UDDIActionInputs.QUERY_NAME,queryName);
-
- if (!Validator.validateString(queryName) && !subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_QUERY_NAME"));
- }
-
- if (!processOthers(parser,formToolPI) && !subQueryInitiated_)
- inputsValid = false;
-
- for (int i=0;i<removedProperties_.size();i++)
- formToolPI.removeProperty(removedProperties_.elementAt(i));
- formToolPI.updatePropertyTable(propertyTable_);
-
- // Process authentication information. If valid, these should be set in the formTool (not the formToolPI).
- String ownedChecked = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED);
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
-
- boolean validateAuthentication = (ownedChecked != null) && (!regElement.isLoggedIn()) && !overrideAuthenticationValidation();
-
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (!subQueryInitiated_ && validateAuthentication && !Validator.validateString(publishURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userId != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- }
-
- if (!subQueryInitiated_ && validateAuthentication && !Validator.validateString(userId))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-
- return inputsValid;
- }
-
- protected boolean overrideAuthenticationValidation()
- {
- return false;
- }
-
- public final boolean isSubQueryInitiated()
- {
- return subQueryInitiated_;
- }
-
- public final boolean isSubQueryGet()
- {
- return isSubQueryGet_;
- }
-
- public final String getSubQueryKey()
- {
- return subQueryKey_;
- }
-
- public final String getNewSubQuery()
- {
- return newSubQuery_;
- }
-
- public final String getNewSubQueryItem()
- {
- return newSubQueryItem_;
- }
-
- public final void setRefreshAction(boolean isRefreshAction)
- {
- isRefreshAction_ = isRefreshAction;
- }
-
- public final boolean isRefreshAction()
- {
- return isRefreshAction_;
- }
-
- protected final void addQueryNode()
- {
- // If the queryElement already exists, remove it first.
- String queryName = queryElement_.getName();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- QueryParentElement queryParentElement = regElement.getQueryParentElement();
- Enumeration e = queryParentElement.getQueries();
- while (e.hasMoreElements())
- {
- QueryElement qe = (QueryElement)e.nextElement();
- if (qe.getName().equals(queryName))
- {
- SubQueryTransferTarget subQueryTransferTarget = (SubQueryTransferTarget)qe.getPropertyAsObject(UDDIModelConstants.SUBQUERY_TRANSFER_TARGET);
- if (subQueryTransferTarget != null && (qe.getQueryType() == queryElement_.getQueryType()))
- queryElement_.setPropertyAsObject(UDDIModelConstants.SUBQUERY_TRANSFER_TARGET,subQueryTransferTarget);
- qe.disconnectAll();
- break;
- }
- }
- if (!isRefreshAction_)
- {
- // We can make safe assumptions about the node that is currently selected.
- if (subQueryKey_ != null && subQueryKey_.length() > 0)
- {
- String parentQueryKey;
- int lastSeparatorPos = subQueryKey_.lastIndexOf(':');
- if (lastSeparatorPos == -1)
- parentQueryKey = "";
- else
- parentQueryKey = subQueryKey_.substring(0,lastSeparatorPos);
- FormToolPropertiesInterface parentFormToolPI = ((MultipleFormToolPropertiesInterface)getSelectedFormTool()).getFormToolProperties(parentQueryKey);
- Object queryItem = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_ITEM);
- Object queryStyleBus = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES);
- Object queryStyleSer = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICES);
- Object queryStyleSerInt = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES);
- Hashtable parentQueryData = new Hashtable();
- if (queryItem != null)
- parentQueryData.put(UDDIActionInputs.QUERY_ITEM, queryItem);
- if (queryStyleBus != null)
- parentQueryData.put(UDDIActionInputs.QUERY_STYLE_BUSINESSES, queryStyleBus);
- if (queryStyleSer != null)
- parentQueryData.put(UDDIActionInputs.QUERY_STYLE_SERVICES, queryStyleSer);
- if (queryStyleSerInt != null)
- parentQueryData.put(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES, queryStyleSerInt);
- queryElement_.setPropertyAsObject(UDDIModelConstants.SUBQUERY_TRANSFER_TARGET,new SubQueryTransferTarget(getSelectedNavigatorNode(),subQueryKey_,parentQueryData));
- }
- }
- queryParentElement.connect(queryElement_,UDDIModelConstants.REL_QUERIES,ModelConstants.REL_OWNER);
- QueryNode queryNode = (QueryNode)(regNode_.getChildNode(queryParentElement).getChildNode(queryElement_));
- int newSelectedNodeId;
- // If there is only 1 result, select the result. Otherwise, select the query node to present a summary.
- if (queryNode.getChildNodes().size() == 1 && (subQueryKey_ == null || subQueryKey_.length() == 0))
- newSelectedNodeId = ((Node)(queryNode.getChildNodes().elementAt(0))).getNodeId();
- else
- newSelectedNodeId = queryNode.getNodeId();
- NodeManager nodeManager = regNode_.getNodeManager();
- nodeManager.setSelectedNodeId(newSelectedNodeId);
- queryNode.setFindToolProperties(this);
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager toolManager = selectedNode.getCurrentToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- addToHistory(ActionInputs.PERSPECTIVE_UDDI,selectedTool.getSelectToolActionHref(true));
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length + 1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length - 1] = new MultipartFormDataParserTransformer(controller_);
- return transformers;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LoginAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LoginAdvancedAction.java
deleted file mode 100644
index 0d7e0abd1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LoginAdvancedAction.java
+++ /dev/null
@@ -1,222 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- * 20060427 136449 clbush@us.ibm.com - Christopher Bush
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Vector;
-import java.rmi.AlreadyBoundException;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessServices;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.BusinessInfo;
-import org.uddi4j.response.BusinessInfos;
-import org.uddi4j.response.RegisteredInfo;
-import org.uddi4j.response.TModelInfo;
-import org.uddi4j.response.TModelInfos;
-import org.uddi4j.transport.TransportException;
-
-public class LoginAdvancedAction extends PublishAction {
- public LoginAdvancedAction(Controller controller) {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM, String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- propertyTable_
- .put(UDDIActionInputs.QUERY_STYLE_BUSINESSES, String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET, String
- .valueOf(UDDIActionInputs.QUERY_MAX_SEARCH_SET));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS, String
- .valueOf(UDDIActionInputs.QUERY_MAX_RESULTS));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser, FormToolPropertiesInterface formToolPI)
- throws MultipartFormDataException {
- String ownedChecked = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED);
-
- // Validate the data.
- boolean inputsValid = true;
- if (ownedChecked != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_OWNED, ownedChecked);
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_OWNED);
-
- return inputsValid;
- }
-
- private boolean attemptingDoubleLogin(){
- String userId = (String) propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String publishURL = (String) propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- Node rootNode = regNode_.getNodeManager().getRootNode();
- Vector allNodes = rootNode.getChildNodes();
-
- for(int k = 0; k < allNodes.size(); k++){
- Node n = (Node)allNodes.get(k);
- if (n instanceof RegistryNode){
- RegistryElement myElement = ((RegistryElement)n.getTreeElement());
- if (n.getNodeId() != regNode_.getNodeId() && publishURL.equals(myElement.getPublishURL()))
- if(userId.equals(myElement.getUserId()))
- return true;
- }
- }
- return false;
- }
-
- public final boolean run() {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- // System.out.println("+++++ Trying to login +++++");
- try {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- String publishURL = (String) propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String) propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String) propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- int maxResults = 300;
-
- // The action can be run under the context of either a registry or a
- // query node.
- RegistryElement regElement = (RegistryElement) regNode_.getTreeElement();
-
-
- if(attemptingDoubleLogin())
- throw new AlreadyBoundException(uddiPerspective.getMessage("MSG_INFO_NO_MULTIPLE_LOGIN"));
-
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL, userId, password);
-
- UDDIProxy proxy = regElement.getProxy();
-
- BusinessInfos busInfos = null;
- TModelInfos tmInfos = null;
-
- RegisteredInfo ri = proxy.get_registeredInfo(regElement.getAuthInfoString());
- busInfos = ri.getBusinessInfos();
- tmInfos = ri.getTModelInfos();
-
- int finalNumberOfBusinessEntities = Math.min(maxResults, busInfos.size());
- Vector businessKeys = new Vector();
- for (int i = 0; i < finalNumberOfBusinessEntities; i++) {
- BusinessInfo busInfo = (BusinessInfo) busInfos.get(i);
- businessKeys.addElement(busInfo.getBusinessKey());
- }
-
- if (finalNumberOfBusinessEntities > 0) {
- if (shouldAddQueryNode) {
- Vector beVector = proxy.get_businessDetail(businessKeys).getBusinessEntityVector();
- BusinessEntity be = null;
- BusinessServices bs = null;
- int size = beVector.size();
- if (size > 0) {
- for (int i = 0; i < size; i++) {
- be = (BusinessEntity) beVector.elementAt(i);
- addPublishedItemNode(be, regElement);
- bs = be.getBusinessServices();
- if (bs != null) {
- Vector vServices = bs.getBusinessServiceVector();
- int services = vServices.size();
- for (int j = 0; j < services; j++) {
- addPublishedItemNode(bs.get(j), regElement);
- }
- }
- }
- messageQueue
- .addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESSES_FOUND", String.valueOf(size)));
- }
- }
- }
-
- int finalNumberOfTModels = Math.min(maxResults, tmInfos.size());
- Vector tModelKeys = new Vector();
- for (int i = 0; i < finalNumberOfTModels; i++) {
- TModelInfo tmInfo = (TModelInfo) tmInfos.get(i);
- tModelKeys.addElement(tmInfo.getTModelKey());
- }
-
- if (finalNumberOfTModels > 0) {
- if (shouldAddQueryNode) {
- Vector finalTModelVector = proxy.get_tModelDetail(tModelKeys).getTModelVector();
-
- int size = finalTModelVector.size();
- if (size > 0) {
- TModel tm = null;
- for (int i = 0; i < size; i++) {
- tm = (TModel) finalTModelVector.elementAt(i);
- addPublishedItemNode(tm, regElement);
- }
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACES_FOUND", String
- .valueOf(size)));
- }
- }
- }
-
- int id = 1;
- RegistryNode regNode = getRegistryNode();
-
- // we are logged in so change the loginTool to act as a logoutTool;
- regNode.getLoginTool().setAltText(uddiPerspective.getMessage("ALT_LOGOUT"));
- regNode.getLoginTool().setToLogoutLink();
- String registryName = regElement.getName();
- String[] s = new String[2];
- s[0] = registryName;
- s[1] = userId;
- regElement.setName(uddiPerspective.getMessage("MSG_INFO_LOGGED_IN_NODE", s));
-
- if (finalNumberOfBusinessEntities > 0) {
- Node pbeNode = regNode.getChildNode(regElement.getPublishedBusinessesElement());
- id = pbeNode.getNodeId();
- } else if (finalNumberOfTModels > 0) {
- Node psiNode = regNode.getChildNode(regElement.getPublishedServiceInterfacesElement());
- id = psiNode.getNodeId();
- }
- // System.out.println("Node id = " + id);
- uddiPerspective.getNodeManager().setSelectedNodeId(id);
- uddiPerspective.getNodeManager().makeSelectedNodeVisible();
-
- if ((finalNumberOfBusinessEntities < 1) && (finalNumberOfTModels < 1))
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_NO_BUSINESSES_OR_SERVICE_INTERFACES_FOUND"));
-
- return true;
- } catch (TransportException e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- } catch (UDDIException e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- } catch (MalformedURLException e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- } catch (AlreadyBoundException e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("AlreadyBoundException");
- messageQueue.addMessage(e.getMessage());
- }
-
- return false;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LogoutAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LogoutAdvancedAction.java
deleted file mode 100644
index e76df39fd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/LogoutAdvancedAction.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.uddi4j.UDDIException;
-import org.uddi4j.transport.TransportException;
-
-public class LogoutAdvancedAction extends PublishAction
-{
- public LogoutAdvancedAction(Controller controller)
- {
- super(controller);
- regNode_.getLoginTool().setToRegistryLink();
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- // Validate the data.
- boolean inputsValid = true;
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (regElement.isLoggedIn()) {
- regElement.performLogout();
- regElement.remove();
- regNode_.getNodeManager().setSelectedNodeId(0);
- }
-
- return true;
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ManageReferencedServicesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ManageReferencedServicesAction.java
deleted file mode 100644
index 8a53f3679..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ManageReferencedServicesAction.java
+++ /dev/null
@@ -1,374 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Perspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.service.BusinessServices;
-import org.uddi4j.transport.TransportException;
-
-public class ManageReferencedServicesAction extends UDDIPropertiesFormAction
-{
- protected String subQueryKey_;
- protected boolean isSubQueryGet_;
- protected String newSubQuery_;
- protected String newSubQueryItem_;
- protected boolean subQueryInitiated_;
- protected RegistryNode regNode_;
-
- public ManageReferencedServicesAction(Controller controller)
- {
- super(controller);
- subQueryKey_ = null;
- isSubQueryGet_ = false;
- subQueryInitiated_ = false;
- regNode_ = getRegistryNode();
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- newSubQuery_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_INITIATED);
- String isSubQueryGetString = parser.getParameter(UDDIActionInputs.SUBQUERY_GET);
- newSubQueryItem_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM);
- subQueryKey_ = parser.getParameter(UDDIActionInputs.SUBQUERY_KEY);
- String[] referencedServicesCheckboxes = parser.getParameterValues(UDDIActionInputs.REFERENCED_SERVICE_SELECT_STATE);
- String[] serviceNodeIds = parser.getParameterValues(UDDIActionInputs.NODEID_SERVICE);
- String operation = parser.getParameter(UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION);
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey_);
- formToolPI.clearErrors();
-
- if (newSubQuery_ != null && newSubQuery_.length() > 0)
- subQueryInitiated_ = true;
- else
- subQueryInitiated_ = false;
-
- if (isSubQueryGetString != null)
- isSubQueryGet_ = Boolean.valueOf(isSubQueryGetString).booleanValue();
-
- if (operation != null)
- propertyTable_.put(UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION,operation);
- else
- removeProperty(UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION);
-
- if (referencedServicesCheckboxes != null)
- propertyTable_.put(UDDIActionInputs.REFERENCED_SERVICE_SELECT_STATE,referencedServicesCheckboxes);
- else
- removeProperty(UDDIActionInputs.REFERENCED_SERVICE_SELECT_STATE);
-
- if (serviceNodeIds != null)
- {
- Vector services = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SERVICES);
- if (services == null)
- services = new Vector();
- Hashtable resultHash = new Hashtable();
- for (int i=0;i<serviceNodeIds.length;i++)
- resultHash.put(serviceNodeIds[i],Boolean.TRUE);
- for (int i=0;i<services.size();i++)
- {
- ListElement listElement = (ListElement)services.elementAt(i);
- if (resultHash.get(String.valueOf(listElement.getTargetNodeId())) == null)
- {
- services.removeElementAt(i);
- i--;
- }
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SERVICES,services);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_SERVICES);
-
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (!regElement.isLoggedIn())
- {
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (!subQueryInitiated_ && !Validator.validateString(publishURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userId != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- }
-
- if (!subQueryInitiated_ && !Validator.validateString(userId))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
- }
-
- for (int i=0;i<removedProperties_.size();i++)
- formToolPI.removeProperty(removedProperties_.elementAt(i));
- formToolPI.updatePropertyTable(propertyTable_);
-
- return inputsValid;
- }
-
- public boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- String operationString = (String)propertyTable_.get(UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION);
- int operation = Integer.parseInt(operationString);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- BusinessElement busElement = (BusinessElement)(getSelectedNavigatorNode().getTreeElement());
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey_);
- Vector referencedServices = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_REFERENCED_SERVICES);
- boolean operationResult = true;
- try
- {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- UDDIProxy proxy = regElement.getProxy();
- BusinessEntity currentSP = busElement.getBusinessEntity();
- BusinessEntity sp = (BusinessEntity)proxy.get_businessDetail(currentSP.getBusinessKey()).getBusinessEntityVector().get(0);
-
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
-
- Hashtable servicesHash = new Hashtable();
- Vector backupBusServiceVector = new Vector();
- switch (operation)
- {
- case UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION_ADD:
- Vector services = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SERVICES);
- for (int i=0;i<services.size();i++)
- {
- ListElement serviceListElement = (ListElement)services.elementAt(i);
- BusinessService bs = (BusinessService)serviceListElement.getObject();
- servicesHash.put(bs.getServiceKey(),bs);
- }
-
- // Save the current list of BusinessServices for rollback operations.
- backupAndUpdateBusinessServices(backupBusServiceVector,sp,servicesHash,true);
-
- try
- {
- Vector beVector = new Vector();
- beVector.add(sp);
- sp = (BusinessEntity)proxy.save_business(regElement.getAuthInfoString(), beVector).getBusinessEntityVector().get(0);
- for (int i=0;i<services.size();i++)
- {
- ListElement serviceElement = (ListElement)services.elementAt(i);
- BusinessService bs = (BusinessService)serviceElement.getObject();
- String bsName = bs.getDefaultNameString();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_REFERENCED",bsName));
- services.removeElementAt(i);
- i--;
- }
- }
- catch (TransportException e)
- {
- // Roll back and restore the old list of services.
- rollbackBusinessServices(sp,backupBusServiceVector,services,uddiPerspective,messageQueue,"MSG_ERROR_SERVICE_NOT_REFERENCED");
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- operationResult = false;
- }
- catch (UDDIException e)
- {
- // Roll back and restore the old list of services.
- rollbackBusinessServices(sp,backupBusServiceVector,services,uddiPerspective,messageQueue,"MSG_ERROR_SERVICE_NOT_REFERENCED");
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- operationResult = false;
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SERVICES,services);
- break;
- case UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION_REMOVE:
- String[] referencedServicesCheckboxes = (String[])propertyTable_.get(UDDIActionInputs.REFERENCED_SERVICE_SELECT_STATE);
- Vector selectedReferencedServiceVector = new Vector();
- for (int i=0;i<referencedServicesCheckboxes.length;i++)
- {
- boolean isChecked = Boolean.valueOf(referencedServicesCheckboxes[i]).booleanValue();
- if (isChecked)
- {
- ListElement referencedServiceListElement = (ListElement)referencedServices.elementAt(i);
- BusinessService bs = (BusinessService)referencedServiceListElement.getObject();
- servicesHash.put(bs.getServiceKey(),bs);
- selectedReferencedServiceVector.addElement(bs);
- }
- }
-
- // Save the current list of business services for rollback operations.
- backupAndUpdateBusinessServices(backupBusServiceVector,sp,servicesHash,false);
-
- try
- {
- Vector beVector = new Vector();
- beVector.add(sp);
- sp = (BusinessEntity)proxy.save_business(regElement.getAuthInfoString(), beVector).getBusinessEntityVector().get(0);
- for (int i=0;i<selectedReferencedServiceVector.size();i++)
- {
- BusinessService bs = (BusinessService)selectedReferencedServiceVector.elementAt(i);
- String bsName = bs.getDefaultNameString();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_REFERENCE_REMOVED",bsName));
- }
- }
- catch (TransportException e)
- {
- // Roll back and restore the old list of services.
- rollbackBusinessServices(sp,backupBusServiceVector,selectedReferencedServiceVector,uddiPerspective,messageQueue,"MSG_ERROR_REFERENCE_NOT_REMOVED");
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- operationResult = false;
- }
- catch (UDDIException e)
- {
- // Roll back and restore the old list of services.
- rollbackBusinessServices(sp,backupBusServiceVector,selectedReferencedServiceVector,uddiPerspective,messageQueue,"MSG_ERROR_REFERENCE_NOT_REMOVED");
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- operationResult = false;
- }
- }
- // Ensure that the referenced services are refreshed when the form reloads.
- formToolPI.removeProperty(UDDIActionInputs.QUERY_INPUT_REFERENCED_SERVICES);
- busElement.setBusinessEntity(sp);
- return operationResult;
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- operationResult = false;
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- operationResult = false;
- }
- catch (MalformedURLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"MalformedURLException",e);
- operationResult = false;
- }
- return operationResult;
- }
-
- public final boolean isSubQueryInitiated()
- {
- return subQueryInitiated_;
- }
-
- public final boolean isSubQueryGet()
- {
- return isSubQueryGet_;
- }
-
- public final String getSubQueryKey()
- {
- return subQueryKey_;
- }
-
- public final String getNewSubQuery()
- {
- return newSubQuery_;
- }
-
- public final String getNewSubQueryItem()
- {
- return newSubQueryItem_;
- }
-
- // Backup the business services and remove those in serviceHash from the current list. Return the updated list of business services
- private final void backupAndUpdateBusinessServices(Vector backupBusServiceVector,BusinessEntity be,Hashtable servicesHash,boolean isAdd)
- {
- // Save the current list of business services for rollback operations.
- BusinessServices currentBusServices = be.getBusinessServices();
- if (currentBusServices == null)
- currentBusServices = new BusinessServices();
- Vector currentBusServiceVector = currentBusServices.getBusinessServiceVector();
- for (int i=0;i<currentBusServiceVector.size();i++)
- {
- BusinessService currentBusService = (BusinessService)currentBusServiceVector.elementAt(i);
- backupBusServiceVector.addElement(currentBusService);
- // If the current business service is a member of the list to be removed/added, remove it now.
- if (servicesHash.get(currentBusService.getServiceKey()) != null)
- {
- currentBusServiceVector.removeElementAt(i);
- i--;
- }
- }
-
- if (isAdd)
- {
- Enumeration e = servicesHash.elements();
- while (e.hasMoreElements())
- currentBusServiceVector.addElement((BusinessService)e.nextElement());
- }
- be.setBusinessServices(currentBusServices);
- }
-
- private final void rollbackBusinessServices(BusinessEntity be,Vector backupBusServiceVector,Vector operatedServices,Perspective perspective,MessageQueue messageQueue,String errorMessageKey)
- {
- // Roll back and restore the old list of services.
- be.getBusinessServices().setBusinessServiceVector(backupBusServiceVector);
- for (int i=0;i<operatedServices.size();i++)
- {
- ListElement serviceListElement = (ListElement)operatedServices.elementAt(i);
- BusinessService bs = (BusinessService)serviceListElement.getObject();
- String bsName = bs.getDefaultNameString();
- messageQueue.addMessage(perspective.getMessage(errorMessageKey,bsName));
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenCategoryBrowserAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenCategoryBrowserAction.java
deleted file mode 100644
index 3d1b1fd48..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenCategoryBrowserAction.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-
-public class OpenCategoryBrowserAction extends Action
-{
- public OpenCategoryBrowserAction()
- {
- }
-
- private static final void addSessionAndTModelKey(StringBuffer result,String sessionId,String categoryTModelKey)
- {
- result.append(ActionInputs.SESSIONID).append('=').append(sessionId).append('&').append(UDDIActionInputs.CATEGORY_TMODEL_KEY).append('=').append(categoryTModelKey);
- }
-
- // uddi/category_browser.jsp?sessionId=...&categoryTModelKey=...
- public static final String getActionLink(String sessionId,String categoryTModelKey)
- {
- StringBuffer actionLink = new StringBuffer("uddi/category_browser.jsp?");
- addSessionAndTModelKey(actionLink,sessionId,categoryTModelKey);
- return actionLink.toString();
- }
-
- public static final String getCategoryContentPage(String sessionId,String categoryTModelKey)
- {
- StringBuffer actionLink = new StringBuffer("uddi/category_content.jsp?");
- addSessionAndTModelKey(actionLink,sessionId,categoryTModelKey);
- return actionLink.toString();
- }
-
- public static final String getWildCardActionLink(String sessionId)
- {
- return getActionLink(sessionId,"%");
- }
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public final boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenRegistryAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenRegistryAction.java
deleted file mode 100644
index 9288c7d5e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/OpenRegistryAction.java
+++ /dev/null
@@ -1,250 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060912 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Hashtable;
-import java.util.Properties;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryModel;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.UDDIMainElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIMainNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.TModelDetail;
-import org.uddi4j.response.TModelInfo;
-import org.uddi4j.response.TModelInfos;
-import org.uddi4j.response.TModelList;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.KeyedReference;
-
-public class OpenRegistryAction extends UDDIPropertiesFormAction
-{
- public OpenRegistryAction(Controller controller)
- {
- super(controller);
- // Select UDDI Main.
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String registryName = parser.getParameter(UDDIActionInputs.REGISTRY_NAME);
- String inquiryURL = parser.getParameter(UDDIActionInputs.INQUIRY_URL);
- String publishURL = parser.getParameter(UDDIActionInputs.PUBLISH_URL);
- String username = parser.getParameter(UDDIActionInputs.UDDI_USERNAME);
- String password = parser.getParameter(UDDIActionInputs.UDDI_PASSWORD);
- String checkUserDefinedCategoriesChecked = parser.getParameter(UDDIActionInputs.CHECK_USER_DEFINED_CATEGORIES);
- String categoriesDirectory = parser.getParameter(UDDIActionInputs.CATEGORIES_DIRECTORY);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- FormTool formTool = getSelectedFormTool();
- if (registryName != null)
- propertyTable_.put(UDDIActionInputs.REGISTRY_NAME,registryName);
-
- if (!Validator.validateString(registryName))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.REGISTRY_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_REGISTRY_NAME"));
- }
-
- if (inquiryURL != null)
- propertyTable_.put(UDDIActionInputs.INQUIRY_URL,inquiryURL);
- if (!Validator.validateURL(inquiryURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.INQUIRY_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_INQUIRY_URL"));
- }
-
- if (publishURL != null)
- propertyTable_.put(UDDIActionInputs.PUBLISH_URL, publishURL);
-
- if (username != null)
- propertyTable_.put(UDDIActionInputs.UDDI_USERNAME, username);
-
- if (password != null)
- propertyTable_.put(UDDIActionInputs.UDDI_PASSWORD, password);
-
- if (checkUserDefinedCategoriesChecked != null)
- propertyTable_.put(UDDIActionInputs.CHECK_USER_DEFINED_CATEGORIES,checkUserDefinedCategoriesChecked);
- else
- removeProperty(UDDIActionInputs.CHECK_USER_DEFINED_CATEGORIES);
-
- if (categoriesDirectory != null)
- propertyTable_.put(UDDIActionInputs.CATEGORIES_DIRECTORY,categoriesDirectory);
- else
- removeProperty(UDDIActionInputs.CATEGORIES_DIRECTORY);
-
- formTool.updatePropertyTable(propertyTable_);
- return inputsValid;
- }
-
- public final void gatherWSUserDefinedCategories(UDDIProxy proxy,Hashtable categoryModels)
- {
- try
- {
- CategoryBag categoryBag = new CategoryBag();
- categoryBag.add(new KeyedReference("","categorization",TModel.TYPES_TMODEL_KEY));
- TModelList tModelList = proxy.find_tModel("%",categoryBag,null,null,100);
- TModelInfos tModelInfos = tModelList.getTModelInfos();
- Vector tModelKeyVector = new Vector();
- for (int i=0;i<tModelInfos.size();i++)
- {
- TModelInfo tModelInfo = tModelInfos.get(i);
- tModelKeyVector.addElement(tModelInfo.getTModelKey());
- }
- TModelDetail tModelDetail = proxy.get_tModelDetail(tModelKeyVector);
- Vector tModelVector = tModelDetail.getTModelVector();
- for (int i=0;i<tModelVector.size();i++)
- {
- TModel tModel = (TModel)tModelVector.elementAt(i);
- boolean checked = false;
- String displayName = null;
- String categoryKey = null;
- categoryBag = tModel.getCategoryBag();
- for (int j=0;j<categoryBag.size();j++)
- {
- KeyedReference kr = categoryBag.get(j);
- String krTModelKey = kr.getTModelKey();
- if (krTModelKey.equalsIgnoreCase(TModel.GENERAL_KEYWORDS_TMODEL_KEY))
- {
- String krKeyName = kr.getKeyName();
- if (krKeyName.equals("urn:x-ibm:uddi:customTaxonomy:key"))
- categoryKey = kr.getKeyValue();
- else if (krKeyName.equals("urn:x-ibm:uddi:customTaxonomy:displayName"))
- displayName = kr.getKeyValue();
- }
- else if (krTModelKey.equalsIgnoreCase(TModel.TYPES_TMODEL_KEY))
- checked = kr.getKeyValue().equals("checked");
- }
- if (categoryKey != null)
- {
- if (displayName == null)
- displayName = tModel.getNameString();
- CategoryModel categoryModel = new CategoryModel();
- categoryModel.setCategoryKey(categoryKey);
- categoryModel.enableChecked(checked);
- categoryModel.setDisplayName(displayName);
- String tModelKey = tModel.getTModelKey();
- categoryModel.setTModelKey(tModelKey);
- categoryModels.put(tModelKey,categoryModel);
- }
- }
- }
- catch (UDDIException e)
- {
- }
- catch (TransportException e)
- {
- }
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- String registryName = (String)propertyTable_.get(UDDIActionInputs.REGISTRY_NAME);
- String inquiryURL = (String)propertyTable_.get(UDDIActionInputs.INQUIRY_URL);
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.PUBLISH_URL);
- String registrationURL = (String)propertyTable_.get(UDDIActionInputs.REGISTRATION_URL);
- String username = (String)propertyTable_.get(UDDIActionInputs.UDDI_USERNAME);
- String password = (String)propertyTable_.get(UDDIActionInputs.UDDI_PASSWORD);
- boolean checkForUserDefinedCategoriesChecked = (propertyTable_.get(UDDIActionInputs.CHECK_USER_DEFINED_CATEGORIES) != null);
- String categoriesDirectory = (String)propertyTable_.get(UDDIActionInputs.CATEGORIES_DIRECTORY);
-
- String recognizedPublishURL = uddiPerspective.getKnownRegistryPublishURL(inquiryURL);
- String recognizedRegistrationURL = uddiPerspective.getKnownRegistryRegistrationURL(inquiryURL);
-
- if (publishURL == null)
- publishURL = recognizedPublishURL;
- if (registrationURL == null)
- registrationURL = recognizedRegistrationURL;
-
- UDDIMainNode uddiMainNode = (UDDIMainNode)(controller_.getUDDIPerspective().getNavigatorManager().getRootNode());
- UDDIMainElement uddiMainElement = (UDDIMainElement)uddiMainNode.getTreeElement();
- Properties props = new Properties();
- props.put(ActionInputs.TRANSPORT_CLASS_NAME, ActionInputs.TRASPORT_CLASS);
- UDDIProxy proxy = new UDDIProxy(props);
- proxy.setInquiryURL(new URL(inquiryURL));
- RegistryElement registryElement = new RegistryElement(proxy,inquiryURL,registryName,uddiMainElement.getModel());
- // Set registry element's publish URL and registration URL provided by external callers (e.g. favorites).
- if (publishURL != null)
- registryElement.setCachedPublishURL(publishURL);
- if (registrationURL != null)
- registryElement.setRegistrationURL(registrationURL);
- if (username != null)
- registryElement.setUserId(username);
- if (password != null)
- registryElement.setCred(password);
- registryElement.setCheckForUserDefinedCategories(checkForUserDefinedCategoriesChecked);
- if (checkForUserDefinedCategoriesChecked)
- {
- Hashtable categoryModels = new Hashtable();
- gatherWSUserDefinedCategories(proxy,categoryModels);
- if (categoryModels.size() > 0)
- registryElement.setUserDefinedCategories(categoryModels);
- }
- registryElement.setCategoriesDirectory(categoriesDirectory);
- uddiMainElement.connect(registryElement,UDDIModelConstants.REL_REGISTRIES,ModelConstants.REL_OWNER);
- NodeManager nodeManager = uddiMainNode.getNodeManager();
- int newRegistryNodeId = uddiMainNode.getChildNode(registryElement).getNodeId();
- // Select the new registry node and add the select action to the history.
- nodeManager.setSelectedNodeId(newRegistryNodeId);
- Node registryNode = nodeManager.getSelectedNode();
- ToolManager toolManager = registryNode.getCurrentToolManager();
- addToHistory(ActionInputs.PERSPECTIVE_UDDI,toolManager.getSelectedTool().getSelectToolActionHref(true));
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_REGISTRY_OPENED",new String[]{registryName,inquiryURL}));
- return true;
- }
- catch (MalformedURLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- FormTool formTool = getSelectedFormTool();
- formTool.flagError(UDDIActionInputs.INQUIRY_URL);
- }
- /*
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- */
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/PublishAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/PublishAction.java
deleted file mode 100644
index 22c9d8e9d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/PublishAction.java
+++ /dev/null
@@ -1,238 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.MultipartFormDataParserTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.PublishedItemsElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public abstract class PublishAction extends UDDIPropertiesFormAction
-{
- protected String subQueryKey_;
- protected boolean subQueryInitiated_;
- protected String newSubQuery_;
- protected boolean isSubQueryGet_;
- protected String newSubQueryItem_;
- protected RegistryNode regNode_;
-
- public PublishAction(Controller controller)
- {
- super(controller);
- subQueryKey_ = null;
- isSubQueryGet_ = false;
- subQueryInitiated_ = false;
- regNode_ = getRegistryNode();
- }
-
- protected abstract boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException;
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- // Setup for MultipartFormDataParserTransformer
- propertyTable_.put(ActionInputs.MULTIPART_FORM_DATA_PARSER, parser);
-
- newSubQuery_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_INITIATED);
- String isSubQueryGetString = parser.getParameter(UDDIActionInputs.SUBQUERY_GET);
- newSubQueryItem_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM);
- subQueryKey_ = parser.getParameter(UDDIActionInputs.SUBQUERY_KEY);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey_);
- formToolPI.clearErrors();
-
- if (newSubQuery_ != null && newSubQuery_.length() > 0)
- subQueryInitiated_ = true;
- else
- subQueryInitiated_ = false;
-
- if (isSubQueryGetString != null)
- isSubQueryGet_ = Boolean.valueOf(isSubQueryGetString).booleanValue();
-
- if (!processOthers(parser,formToolPI) && !subQueryInitiated_)
- inputsValid = false;
-
- for (int i=0;i<removedProperties_.size();i++)
- formToolPI.removeProperty(removedProperties_.elementAt(i));
- formToolPI.updatePropertyTable(propertyTable_);
-
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
-
- boolean validateAuthentication = !regElement.isLoggedIn();
-
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (!subQueryInitiated_ && validateAuthentication && !Validator.validateString(publishURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userId != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- }
-
- if (!subQueryInitiated_ && validateAuthentication && !Validator.validateString(userId))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-
- return inputsValid;
- }
-
- protected final void addPublishedItemNode(BusinessEntity be,RegistryElement regElement)
- {
- BusinessElement beElement = new BusinessElement(be,regElement.getModel());
- PublishedItemsElement publishedBusinessesElement = regElement.getPublishedBusinessesElement();
- Enumeration e = publishedBusinessesElement.getItems();
- while (e.hasMoreElements())
- {
- BusinessElement element = (BusinessElement)e.nextElement();
- BusinessEntity elementBE = element.getBusinessEntity();
- if (elementBE.getBusinessKey().equals(be.getBusinessKey()))
- {
- element.disconnectAll();
- break;
- }
- }
- connectElements(publishedBusinessesElement,beElement);
- }
-
- protected final void addPublishedItemNode(BusinessService bs,RegistryElement regElement)
- {
- ServiceElement sElement = new ServiceElement(bs,regElement.getModel());
- PublishedItemsElement publishedServicesElement = regElement.getPublishedServicesElement();
- Enumeration e = publishedServicesElement.getItems();
- while (e.hasMoreElements())
- {
- ServiceElement element = (ServiceElement)e.nextElement();
- BusinessService elementBS = element.getBusinessService();
- if (elementBS.getServiceKey().equals(bs.getServiceKey()))
- {
- element.disconnectAll();
- break;
- }
- }
- connectElements(publishedServicesElement,sElement);
- }
-
- protected final void addPublishedItemNode(TModel tModel,RegistryElement regElement)
- {
- ServiceInterfaceElement siElement = new ServiceInterfaceElement(tModel,regElement.getModel());
- PublishedItemsElement publishedServiceInterfacesElement = regElement.getPublishedServiceInterfacesElement();
- Enumeration e = publishedServiceInterfacesElement.getItems();
- while (e.hasMoreElements())
- {
- ServiceInterfaceElement element = (ServiceInterfaceElement)e.nextElement();
- TModel elementTModel = element.getTModel();
- if (tModel.getTModelKey().equals(elementTModel.getTModelKey()))
- {
- element.disconnectAll();
- break;
- }
- }
- connectElements(publishedServiceInterfacesElement,siElement);
- }
-
- private final void connectElements(PublishedItemsElement publishedItemsElement,TreeElement itemElement)
- {
- publishedItemsElement.connect(itemElement,UDDIModelConstants.REL_PUBLISHED_ITEMS,ModelConstants.REL_OWNER);
- int newNodeId = regNode_.getChildNode(publishedItemsElement).getChildNode(itemElement).getNodeId();
- NodeManager nodeManager = regNode_.getNodeManager();
- nodeManager.setSelectedNodeId(newNodeId);
- Node newNode = nodeManager.getSelectedNode();
- ToolManager toolManager = newNode.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- addToHistory(ActionInputs.PERSPECTIVE_UDDI,selectedTool.getSelectToolActionHref(true));
- }
-
- public final boolean isSubQueryInitiated()
- {
- return subQueryInitiated_;
- }
-
- public final boolean isSubQueryGet()
- {
- return isSubQueryGet_;
- }
-
- public final String getSubQueryKey()
- {
- return subQueryKey_;
- }
-
- public final String getNewSubQuery()
- {
- return newSubQuery_;
- }
-
- public final String getNewSubQueryItem()
- {
- return newSubQueryItem_;
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length + 1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length - 1] = new MultipartFormDataParserTransformer(controller_);
- return transformers;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodeAction.java
deleted file mode 100644
index 1ca92f5ce..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodeAction.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddRegistryToUDDIPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.BusinessNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.PublishedItemsNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.QueryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.QueryParentNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceInterfaceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class RefreshUDDINodeAction extends UDDINodeAction
-{
- private Vector staleNodes_;
- public RefreshUDDINodeAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(ActionInputs.NODEID,String.valueOf(controller.getUDDIPerspective().getNavigatorManager().getSelectedNodeId()));
- staleNodes_ = new Vector();
- }
-
- // uddi/actions/RefreshUDDINodeActionJSP.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/RefreshUDDINodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean verifyNodeData()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- Node node = nodeManager_.getNode(nodeId);
- if (node instanceof BusinessNode)
- return refreshBusinessElement((BusinessNode)node);
- else if (node instanceof ServiceNode)
- return refreshServiceElement((ServiceNode)node);
- else if (node instanceof ServiceInterfaceNode)
- return refreshServiceInterfaceElement((ServiceInterfaceNode)node);
- else if (node instanceof QueryNode)
- {
- // Nothing to verify
- return true;
- }
- else if (node != null)
- {
- // RegistryNode
- if (node instanceof RegistryNode)
- refreshRegistryElement((RegistryNode)node);
-
- // FolderNodes
- Vector childNodes = node.getChildNodes();
- Vector refreshActions = new Vector();
- for (int i=0;i<childNodes.size();i++)
- {
- Node childNode = (Node)childNodes.elementAt(i);
- RefreshUDDINodeAction action = new RefreshUDDINodeAction(controller_);
- action.setStaleNodes(staleNodes_);
- Hashtable propertyTable = action.getPropertyTable();
- String childNodeIdString = String.valueOf(childNode.getNodeId());
- propertyTable.put(ActionInputs.NODEID,childNodeIdString);
- if (!action.verifyNodeData())
- staleNodes_.addElement(childNode);
- else
- refreshActions.addElement(action);
- }
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,refreshActions);
- return true;
- }
- return true;
- }
-
- private final void refreshRegistryElement(RegistryNode regNode)
- {
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
- Hashtable userDefinedCategories = null;
- if (regElement.getCheckForUserDefinedCategories())
- {
- userDefinedCategories = new Hashtable();
- OpenRegistryAction openRegAction = new OpenRegistryAction(controller_);
- openRegAction.gatherWSUserDefinedCategories(regElement.getProxy(),userDefinedCategories);
- if (!userDefinedCategories.keys().hasMoreElements())
- {
- userDefinedCategories = null;
- regNode.setImagePath(RegistryNode.IMAGE_PATH_STANDARD);
- }
- else
- {
- String categoriesDirectory = regElement.getCategoriesDirectory();
- AddRegistryToUDDIPerspectiveAction addAction = new AddRegistryToUDDIPerspectiveAction(controller_);
- if (categoriesDirectory != null)
- addAction.linkCategoryModelsWithSavedData(userDefinedCategories.elements(),categoriesDirectory);
- else
- addAction.linkCategoryModelsWithSavedData(regElement.getName(),userDefinedCategories.elements());
- regNode.setImagePath(RegistryNode.IMAGE_PATH_WITH_USER_DEFINED_CATEGORIES);
- }
- }
- regElement.setUserDefinedCategories(userDefinedCategories);
- }
-
- private final boolean refreshBusinessElement(BusinessNode busNode)
- {
- BusinessElement busElement = (BusinessElement)busNode.getTreeElement();
- String uuidKey = busElement.getBusinessEntity().getBusinessKey();
- RegFindBusinessUUIDAction verifyAction = new RegFindBusinessUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,uuidKey);
- propertyTable.put(UDDIActionInputs.REFRESH_NODE,busNode);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- boolean verifyResult = verifyAction.run();
- if (verifyResult)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,new BusinessElement((BusinessEntity)propertyTable.get(UDDIActionInputs.LATEST_OBJECT),busElement.getModel()));
- return verifyResult;
- }
-
- private final boolean refreshServiceElement(ServiceNode serviceNode)
- {
- ServiceElement serviceElement = (ServiceElement)serviceNode.getTreeElement();
- String uuidKey = serviceElement.getBusinessService().getServiceKey();
- RegFindServiceUUIDAction verifyAction = new RegFindServiceUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,uuidKey);
- propertyTable.put(UDDIActionInputs.REFRESH_NODE,serviceNode);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- boolean verifyResult = verifyAction.run();
- if (verifyResult)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,new ServiceElement((BusinessService)propertyTable.get(UDDIActionInputs.LATEST_OBJECT),serviceElement.getModel()));
- return verifyResult;
- }
-
- private final boolean refreshServiceInterfaceElement(ServiceInterfaceNode siNode)
- {
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)siNode.getTreeElement();
- String uuidKey = siElement.getTModel().getTModelKey();
- RegFindServiceInterfaceUUIDAction verifyAction = new RegFindServiceInterfaceUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY,uuidKey);
- propertyTable.put(UDDIActionInputs.REFRESH_NODE,siNode);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- boolean verifyResult = verifyAction.run();
- if (verifyResult)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,new ServiceInterfaceElement((TModel)propertyTable.get(UDDIActionInputs.LATEST_OBJECT),siElement.getModel()));
- return verifyResult;
- }
-
- public final void connectElements(Node parentNode,TreeElement newElement)
- {
- TreeElement parentElement = parentNode.getTreeElement();
- String rel = null;
- if (parentNode instanceof PublishedItemsNode)
- rel = UDDIModelConstants.REL_PUBLISHED_ITEMS;
- else if (parentNode instanceof QueryNode)
- rel = UDDIModelConstants.REL_QUERY_RESULTS;
- else if (parentNode instanceof QueryParentNode)
- rel = UDDIModelConstants.REL_QUERIES;
- parentElement.connect(newElement,rel,ModelConstants.REL_OWNER);
- Node newNode = parentNode.getChildNode(newElement);
- int newNodeId = newNode.getNodeId();
- nodeManager_.setSelectedNodeId(newNodeId);
- ToolManager toolManager = newNode.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- addToHistory(ActionInputs.PERSPECTIVE_UDDI,selectedTool.getSelectToolActionHref(true));
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- if (!isStaleNode(nodeId))
- {
- Node node = nodeManager_.getNode(nodeId);
- Object latestObject = propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
- if (latestObject != null)
- {
- if (latestObject instanceof Vector)
- {
- Vector refreshActions = (Vector)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
- for (int i=0;i<refreshActions.size();i++)
- {
- RefreshUDDINodeAction refreshAction = (RefreshUDDINodeAction)refreshActions.elementAt(i);
- refreshAction.run();
- }
- nodeManager_.setSelectedNodeId(nodeId);
- }
- else
- {
- TreeElement oldElement = node.getTreeElement();
- oldElement.disconnectAll();
- connectElements(node.getParent(),(TreeElement)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT));
- }
- }
- else
- {
- // QueryNodes
- QueryNode queryNode = (QueryNode)node;
- FindAction findAction = queryNode.getFindAction();
- findAction.setRefreshAction(true);
- if (!findAction.run())
- queryNode.removeChildNodes(true);
- findAction.setRefreshAction(false);
- }
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_NODE_REFRESHED",node.getNodeName()));
- return true;
- }
- return false;
- }
-
- public final Vector getStaleNodes()
- {
- return staleNodes_;
- }
-
- public final void setStaleNodes(Vector staleNodes)
- {
- staleNodes_ = staleNodes;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodesAction.java
deleted file mode 100644
index 9feb1f184..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RefreshUDDINodesAction.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class RefreshUDDINodesAction extends UDDIPropertiesFormAction
-{
- private Vector staleNodes_;
-
- public RefreshUDDINodesAction(Controller controller)
- {
- super(controller);
- staleNodes_ = new Vector();
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String[] selectedNodeIds = parser.getParameterValues(ActionInputs.NODEID);
- // The client Javascript enforces the rule that at least one item was selected before the form can be submitted.
- propertyTable_.put(UDDIActionInputs.SELECTED_NODEIDS,selectedNodeIds);
- return true;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- int collectorNodeId = getSelectedNavigatorNode().getNodeId();
- String[] selectedNodeIds = (String[])propertyTable_.get(UDDIActionInputs.SELECTED_NODEIDS);
- RefreshUDDINodeAction action = new RefreshUDDINodeAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- for (int i=0;i<selectedNodeIds.length;i++)
- {
- propertyTable.put(ActionInputs.NODEID,selectedNodeIds[i]);
- if (action.verifyNodeData())
- action.run();
- else
- {
- int nodeId = Integer.parseInt(selectedNodeIds[i]);
- staleNodes_.addElement(navigatorManager.getNode(nodeId));
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NODE_DATA_VALIDATION_FAILED",navigatorManager.getNode(nodeId).getNodeName()));
- }
- }
- navigatorManager.setSelectedNodeId(collectorNodeId);
- return true;
- }
-
- public final Vector getStaleNodes()
- {
- return staleNodes_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessUUIDAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessUUIDAction.java
deleted file mode 100644
index 4e3d8a2e3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessUUIDAction.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.transport.TransportException;
-
-public class RegFindBusinessUUIDAction extends FindAction
-{
- public RegFindBusinessUUIDAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_BUSINESSES,String.valueOf(UDDIActionInputs.QUERY_STYLE_UUID));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String uuidKey = parser.getParameter(UDDIActionInputs.QUERY_INPUT_UUID_KEY);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (uuidKey != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,uuidKey);
-
- if (!subQueryInitiated_ && !Validator.validateString(uuidKey))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_UUID_KEY"));
- }
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- String uuidKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
-
- // The action can be run under the context of either a registry or a query node or even UDDIMainNode.
- if (regNode_ == null)
- regNode_ = getRegistryNode((Node)propertyTable_.get(UDDIActionInputs.REFRESH_NODE));
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- BusinessEntity[] beList = new BusinessEntity[1];
- Vector beVector = proxy.get_businessDetail(uuidKey).getBusinessEntityVector();
- if (beVector.size() > 0)
- {
- beVector.toArray(beList);
- if (shouldAddQueryNode)
- {
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(beList,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESSES_FOUND",String.valueOf(beList.length)));
- }
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,beList[0]);
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_BUSINESSES_FOUND"));
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesAdvancedAction.java
deleted file mode 100644
index 771abc9ea..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesAdvancedAction.java
+++ /dev/null
@@ -1,315 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.BusinessInfo;
-import org.uddi4j.response.BusinessInfos;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.DiscoveryURL;
-import org.uddi4j.util.DiscoveryURLs;
-import org.uddi4j.util.FindQualifier;
-import org.uddi4j.util.FindQualifiers;
-import org.uddi4j.util.IdentifierBag;
-import org.uddi4j.util.KeyedReference;
-import org.uddi4j.util.TModelBag;
-
-public class RegFindBusinessesAdvancedAction extends FindAction
-{
- public RegFindBusinessesAdvancedAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_BUSINESSES,String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET,String.valueOf(UDDIActionInputs.QUERY_MAX_SEARCH_SET));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS,String.valueOf(UDDIActionInputs.QUERY_MAX_RESULTS));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String ownedChecked = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED);
- String[] languages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE);
- String[] names = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME);
- String[] idTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE);
- String[] idKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME);
- String[] idKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
- String[] siNodeIds = parser.getParameterValues(UDDIActionInputs.NODEID_SERVICE_INTERFACE);
- String[] discoveryURLValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DISCOVERYURL);
- String[] findQualifierValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_FINDQUALIFIER);
- String maxSearchSet = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET);
- String maxResults = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- getSelectedNavigatorNode();
- getRegistryNode();
- regNode_.getTreeElement();
-
- if (ownedChecked != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_OWNED,ownedChecked);
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_OWNED);
-
- if (languages != null && names != null)
- {
- Vector nameVector = new Vector();
- for (int i=0;i<names.length;i++)
- {
- Name uddi4jName;
- if (languages[i].length() > 0)
- uddi4jName = new Name(names[i],languages[i]);
- else
- uddi4jName = new Name(names[i]);
- nameVector.addElement(uddi4jName);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,nameVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
-
- if (idTypes != null && idKeyNames != null && idKeyValues != null)
- {
- IdentifierBag idBag = new IdentifierBag();
- for (int i=0;i<idKeyNames.length;i++)
- {
- KeyedReference kr = new KeyedReference(idKeyNames[i],idKeyValues[i],idTypes[i]);
- idBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS,idBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
-
- if (catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- CategoryBag catBag = new CategoryBag();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- catBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES,catBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
-
- if (siNodeIds != null)
- {
- // Although we already have the "submitted" data, deletions occur on the client side and thus the need to track this using hidden form elements.
- Vector busServiceInterfaces = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES);
- if (busServiceInterfaces == null)
- busServiceInterfaces = new Vector();
- else
- busServiceInterfaces.removeAllElements();
- Vector busServiceInterfacesCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES_COPY);
- Vector tModelKeyStringVector = new Vector();
- Hashtable resultHash = new Hashtable();
- for (int i=0;i<siNodeIds.length;i++)
- resultHash.put(siNodeIds[i],Boolean.TRUE);
- for (int i=0;i<busServiceInterfacesCopy.size();i++)
- {
- ListElement listElement = (ListElement)busServiceInterfacesCopy.elementAt(i);
- if (resultHash.get(String.valueOf(listElement.getTargetNodeId())) != null)
- {
- busServiceInterfaces.addElement(listElement);
- TModel tModel = (TModel)listElement.getObject();
- tModelKeyStringVector.addElement(tModel.getTModelKey());
- }
- }
- TModelBag tModelBag = new TModelBag(tModelKeyStringVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES,busServiceInterfaces);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_TMODELBAG,tModelBag);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES);
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_TMODELBAG);
- }
-
- if (discoveryURLValues != null)
- {
- DiscoveryURLs discoveryURLs = new DiscoveryURLs();
- Vector discoveryURLVector = new Vector();
- for (int i=0;i<discoveryURLValues.length;i++)
- {
- DiscoveryURL discoveryURL = new DiscoveryURL(discoveryURLValues[i],"");
- discoveryURLVector.addElement(discoveryURL);
- }
- discoveryURLs.setDiscoveryURLVector(discoveryURLVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,discoveryURLs);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
-
- if (findQualifierValues != null)
- {
- FindQualifiers findQualifiers = new FindQualifiers();
- Vector findQualifierVector = new Vector();
- for (int i=0;i<findQualifierValues.length;i++)
- {
- FindQualifier findQualifier = new FindQualifier(findQualifierValues[i]);
- findQualifierVector.addElement(findQualifier);
- }
- findQualifiers.setFindQualifierVector(findQualifierVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_FINDQUALIFIERS,findQualifiers);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_FINDQUALIFIERS);
-
- if (maxSearchSet != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET,maxSearchSet);
- if (!subQueryInitiated_ && !Validator.validateInteger(maxSearchSet))
- {
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_MAX_SEARCH_SET"));
- inputsValid = false;
- }
-
- if (maxResults != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS,maxResults);
- if (!subQueryInitiated_ && !Validator.validateInteger(maxResults))
- {
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_MAX_RESULTS"));
- inputsValid = false;
- }
- return inputsValid;
- }
-
- private DiscoveryURLs dupDiscoveryURLs(DiscoveryURLs discoveryURLs, String useType, String dupUseType) {
- if (discoveryURLs == null)
- return discoveryURLs;
- Vector discoveryURLVector = discoveryURLs.getDiscoveryURLVector();
- if (discoveryURLVector == null)
- return discoveryURLs;
- Vector newDiscoveryURLVector = new Vector(discoveryURLVector);
- Enumeration e = discoveryURLVector.elements();
- while (e.hasMoreElements()) {
- DiscoveryURL discoveryURL = (DiscoveryURL)e.nextElement();
- if (discoveryURL.getUseType().equals(useType)) {
- newDiscoveryURLVector.add(new DiscoveryURL(discoveryURL.getText(), dupUseType));
- }
- }
- DiscoveryURLs newDiscoveryURLs = new DiscoveryURLs();
- newDiscoveryURLs.setDiscoveryURLVector(newDiscoveryURLVector);
- return newDiscoveryURLs;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- FindQualifiers findQualifiers = (FindQualifiers)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_FINDQUALIFIERS);
- Vector nameVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- DiscoveryURLs discoveryURLs = (DiscoveryURLs)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
- IdentifierBag identifierBag = (IdentifierBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
- CategoryBag categoryBag = (CategoryBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
- TModelBag tModelBag = (TModelBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_TMODELBAG);
- boolean owned = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_OWNED) != null);
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- int maxSearchSet = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET));
- int maxResults = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS));
-
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (owned && !regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
-
- UDDIProxy proxy = regElement.getProxy();
-
- BusinessInfos busInfos = null;
- if (owned)
- busInfos = proxy.get_registeredInfo(regElement.getAuthInfoString()).getBusinessInfos();
- else
- busInfos = proxy.find_business(nameVector, dupDiscoveryURLs(discoveryURLs,"",UDDIActionInputs.DISCOVERY_URL_TYPE), identifierBag, categoryBag, tModelBag, findQualifiers, maxSearchSet).getBusinessInfos();
-
- int finalNumberOfBusinessEntities = Math.min(maxResults, busInfos.size());
- Vector businessKeys = new Vector();
- for (int i = 0; i < finalNumberOfBusinessEntities; i++)
- {
- BusinessInfo busInfo = (BusinessInfo)busInfos.get(i);
- businessKeys.addElement(busInfo.getBusinessKey());
- }
-
- if (finalNumberOfBusinessEntities > 0)
- {
- if (shouldAddQueryNode)
- {
- Vector beVector = proxy.get_businessDetail(businessKeys).getBusinessEntityVector();
- BusinessEntity[] beList = new BusinessEntity[beVector.size()];
- beVector.toArray(beList);
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(beList,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESSES_FOUND",String.valueOf(beList.length)));
- }
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_BUSINESSES_FOUND"));
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- catch (MalformedURLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesSimpleAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesSimpleAction.java
deleted file mode 100644
index d2438b24e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindBusinessesSimpleAction.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.response.BusinessInfo;
-import org.uddi4j.response.BusinessInfos;
-import org.uddi4j.transport.TransportException;
-
-public class RegFindBusinessesSimpleAction extends FindAction
-{
- public RegFindBusinessesSimpleAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_BUSINESSES,String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME);
-
- // Validate the data.
- boolean inputsValid = true;
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME,name);
- else
- {
- // This shouldn't occur.
- inputsValid = false;
- }
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME);
- Vector nameVector = new Vector();
- nameVector.addElement(new Name(name));
-
- // The action can be run under the context of either a registry or a query node.
- getSelectedNavigatorNode();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
-
- BusinessInfos busInfos = proxy.find_business(nameVector, null, null, null, null, null, UDDIActionInputs.QUERY_MAX_SEARCH_SET).getBusinessInfos();
- int finalNumberOfBusinessEntities = Math.min(UDDIActionInputs.QUERY_MAX_RESULTS, busInfos.size());
- Vector businessKeys = new Vector();
- for (int i = 0; i < finalNumberOfBusinessEntities; i++)
- {
- BusinessInfo busInfo = busInfos.get(i);
- businessKeys.addElement(busInfo.getBusinessKey());
- }
-
- if (finalNumberOfBusinessEntities > 0)
- {
- if (shouldAddQueryNode)
- {
- Vector beVector = proxy.get_businessDetail(businessKeys).getBusinessEntityVector();
- BusinessEntity[] beList = new BusinessEntity[beVector.size()];
- beVector.toArray(beList);
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(beList,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESSES_FOUND",String.valueOf(beList.length)));
- }
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_BUSINESSES_FOUND"));
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfaceUUIDAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfaceUUIDAction.java
deleted file mode 100644
index 58f86e685..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfaceUUIDAction.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.TModelDetail;
-import org.uddi4j.transport.TransportException;
-
-public class RegFindServiceInterfaceUUIDAction extends FindAction
-{
- public RegFindServiceInterfaceUUIDAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,String.valueOf(UDDIActionInputs.QUERY_STYLE_UUID));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String uuidKey = parser.getParameter(UDDIActionInputs.QUERY_INPUT_UUID_KEY);
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (uuidKey != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY,uuidKey);
-
- if (!subQueryInitiated_ && !Validator.validateString(uuidKey))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_UUID_KEY"));
- }
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- String uuidKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY);
-
- // The action can be run under the context of either a registry or a query node or even UDDIMainNode.
- if (regNode_ == null)
- regNode_ = getRegistryNode((Node)propertyTable_.get(UDDIActionInputs.REFRESH_NODE));
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- TModelDetail tModelDetail = proxy.get_tModelDetail(uuidKey);
- Vector tModelVector = tModelDetail.getTModelVector();
- if (tModelVector.size() > 0)
- {
- TModel tModel = (TModel)tModelVector.elementAt(0);
- if (shouldAddQueryNode)
- {
- TModel[] tModelArray = new TModel[1];
- tModelArray[0] = tModel;
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(tModelArray,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACES_FOUND",String.valueOf(tModelArray.length)));
- }
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,tModel);
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICE_INTERFACES_FOUND"));
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesAdvancedAction.java
deleted file mode 100644
index 40d2781c4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesAdvancedAction.java
+++ /dev/null
@@ -1,378 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.binding.BindingTemplate;
-import org.uddi4j.datatype.binding.BindingTemplates;
-import org.uddi4j.datatype.binding.TModelInstanceDetails;
-import org.uddi4j.datatype.binding.TModelInstanceInfo;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.DispositionReport;
-import org.uddi4j.response.RegisteredInfo;
-import org.uddi4j.response.Result;
-import org.uddi4j.response.TModelDetail;
-import org.uddi4j.response.TModelInfo;
-import org.uddi4j.response.TModelInfos;
-import org.uddi4j.response.TModelList;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.FindQualifier;
-import org.uddi4j.util.FindQualifiers;
-import org.uddi4j.util.IdentifierBag;
-import org.uddi4j.util.KeyedReference;
-
-public class RegFindServiceInterfacesAdvancedAction extends FindAction
-{
- public RegFindServiceInterfacesAdvancedAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET,String.valueOf(UDDIActionInputs.QUERY_MAX_SEARCH_SET));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS,String.valueOf(UDDIActionInputs.QUERY_MAX_RESULTS));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String useServiceChecked = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE);
- String[] serviceNodeIds = parser.getParameterValues(UDDIActionInputs.NODEID_SERVICE);
- String ownedChecked = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED);
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- String[] idTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE);
- String[] idKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME);
- String[] idKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
- String[] findQualifierValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_FINDQUALIFIER);
- String maxSearchSet = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET);
- String maxResults = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- regNode_.getTreeElement();
-
- if (useServiceChecked != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE,useServiceChecked);
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE);
-
- if (serviceNodeIds != null)
- {
- // Although we already have the "submitted" data, deletions occur on the client side and thus the need to track this using hidden form elements.
- Vector siService = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE);
- if (siService == null)
- siService = new Vector();
- else
- siService.removeAllElements();
- Vector siServiceCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE_COPY);
- // The browser will enforce the rule of having only one service in this list.
- ListElement listElement = (ListElement)siServiceCopy.elementAt(0);
- siService.addElement(listElement);
- BusinessService bs = (BusinessService)listElement.getObject();
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE,siService);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_BUSINESS_SERVICE,bs);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE);
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_BUSINESS_SERVICE);
- if (!subQueryInitiated_ && useServiceChecked != null)
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_SERVICE"));
- }
- }
-
- if (ownedChecked != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_OWNED,ownedChecked);
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_OWNED);
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME,name);
-
- if (idTypes != null && idKeyNames != null && idKeyValues != null)
- {
- IdentifierBag idBag = new IdentifierBag();
- for (int i=0;i<idKeyNames.length;i++)
- {
- KeyedReference kr = new KeyedReference(idKeyNames[i],idKeyValues[i],idTypes[i]);
- idBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS,idBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
-
- if (catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- CategoryBag catBag = new CategoryBag();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- catBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES,catBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
-
- if (findQualifierValues != null)
- {
- FindQualifiers findQualifiers = new FindQualifiers();
- Vector findQualifierVector = new Vector();
- for (int i=0;i<findQualifierValues.length;i++)
- {
- FindQualifier findQualifier = new FindQualifier(findQualifierValues[i]);
- findQualifierVector.addElement(findQualifier);
- }
- findQualifiers.setFindQualifierVector(findQualifierVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_FINDQUALIFIERS,findQualifiers);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_FINDQUALIFIERS);
-
- if (maxSearchSet != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET,maxSearchSet);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET,maxSearchSet);
- }
- if (!subQueryInitiated_ && !Validator.validateInteger(maxSearchSet))
- {
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_MAX_SEARCH_SET"));
- inputsValid = false;
- }
-
- if (maxResults != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS,maxResults);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS,maxResults);
- }
- if (!subQueryInitiated_ && !Validator.validateInteger(maxResults))
- {
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_MAX_RESULTS"));
- inputsValid = false;
- }
- return inputsValid;
- }
-
- public final boolean overrideAuthenticationValidation()
- {
- return (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE) != null);
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- boolean useService = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE) != null);
- BusinessService bs = (BusinessService)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_BUSINESS_SERVICE);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- FindQualifiers findQualifiers = (FindQualifiers)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_FINDQUALIFIERS);
- IdentifierBag identifierBag = (IdentifierBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
- CategoryBag categoryBag = (CategoryBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
- boolean owned = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_OWNED) != null);
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- int maxSearchSet = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET));
- int maxResults = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS));
-
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- Vector tModelKeyVector = new Vector();
-
- if (owned)
- {
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
- tModelKeyVector = findAllOwnedTModels(proxy, regElement.getAuthInfoString(), maxResults);
- }
- if (useService)
- {
- BindingTemplates bindingTemplates = bs.getBindingTemplates();
- boolean endSearch = false;
- if (bindingTemplates != null)
- {
- for (int i=0;i<bindingTemplates.size();i++)
- {
- BindingTemplate bt = bindingTemplates.get(i);
- TModelInstanceDetails tModelInstanceDetails = bt.getTModelInstanceDetails();
- for (int j=0;j<tModelInstanceDetails.size();j++)
- {
- TModelInstanceInfo tModelInstanceInfo = tModelInstanceDetails.get(j);
- if (tModelKeyVector.size() < maxResults)
- tModelKeyVector.addElement(tModelInstanceInfo.getTModelKey());
- else
- {
- endSearch = true;
- break;
- }
- }
- if (endSearch)
- break;
- }
- }
- }
- else
- {
- TModelList tModelList = proxy.find_tModel(name,categoryBag,identifierBag,findQualifiers,maxSearchSet);
- TModelInfos tModelInfos = tModelList.getTModelInfos();
- for (int i=0;i<tModelInfos.size();i++)
- {
- TModelInfo tModelInfo = tModelInfos.get(i);
- if (tModelKeyVector.size() < maxResults)
- tModelKeyVector.addElement(tModelInfo.getTModelKey());
- else
- break;
- }
- }
-
- int finalNumberOfTModelKeys = tModelKeyVector.size();
- if (finalNumberOfTModelKeys > 0)
- {
- if (shouldAddQueryNode)
- {
- Vector finalTModelVector = new Vector();
- int currentIndex = 0;
- int windowSize = finalNumberOfTModelKeys;
- while (currentIndex < tModelKeyVector.size())
- {
- int subListToIndex = Math.min(currentIndex+windowSize,tModelKeyVector.size());
- try
- {
- TModelDetail tModelDetail = proxy.get_tModelDetail(new Vector(tModelKeyVector.subList(currentIndex,subListToIndex)));
- Vector tModelVector = tModelDetail.getTModelVector();
- for (int i=0;i<tModelVector.size();i++)
- finalTModelVector.addElement(tModelVector.elementAt(i));
- if (tModelDetail.getTruncatedBoolean())
- windowSize = tModelVector.size();
- currentIndex += windowSize;
- }
- catch (UDDIException e)
- {
- DispositionReport dr = e.getDispositionReport();
- if (((Result) dr.getResultVector().get(0)).getErrInfo().getErrCode() == DispositionReport.E_invalidKeyPassed)
- {
- String errInfoText = ((Result) dr.getResultVector().get(0)).getErrInfo().getText();
- for (int i=currentIndex;i<subListToIndex;i++)
- {
- String tModelKey = (String)tModelKeyVector.elementAt(i);
- if (errInfoText.indexOf(tModelKey) != -1 || errInfoText.indexOf(tModelKey.toUpperCase()) != -1 || errInfoText.indexOf(tModelKey.toLowerCase()) != -1)
- {
- tModelKeyVector.removeElementAt(i);
- break;
- }
- }
- }
- else
- throw e;
- }
- catch (TransportException e)
- {
- throw e;
- }
- }
-
- int finalNumberOfTModels = finalTModelVector.size();
- if (finalNumberOfTModels > 0)
- {
- TModel[] tModelArray = new TModel[finalNumberOfTModels];
- finalTModelVector.toArray(tModelArray);
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(tModelArray,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACES_FOUND",String.valueOf(tModelArray.length)));
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICE_INTERFACES_FOUND"));
- }
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICE_INTERFACES_FOUND"));
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (MalformedURLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"MalformedURLException",e);
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-
- // Copied directly from UDDIWSDLProxy's findAllServiceInterfaces() method with minor modifications. The hardcoded strings should NOT be translated.
- private final Vector findAllOwnedTModels(UDDIProxy proxy, String authInfoString, int maxResults) throws UDDIException, TransportException
- {
- RegisteredInfo registeredInfo = null;
-
- // Get the complete list of owned (registered) info.
- // (A RegisteredInfo consists of BusinessInfos and TModelInfos.
- // BusinessInfos also contain ServiceInfos.)
- registeredInfo = proxy.get_registeredInfo(authInfoString);
-
- //Create a Vector to add the TModelKeys from the registeredInfo.
- Vector tModelKeyList = new Vector();
-
- //Get the TModelInfos from the registeredInfo.
- TModelInfos tModelInfos = registeredInfo.getTModelInfos();
-
- //Get all the TModelKeys from within the TModelInfos
- for (int i = 0; i < tModelInfos.size(); i++)
- {
- TModelInfo tModelInfo = tModelInfos.get(i);
- if (tModelKeyList.size() < maxResults)
- tModelKeyList.addElement(tModelInfo.getTModelKey());
- else
- break;
- }
- return tModelKeyList;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesSimpleAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesSimpleAction.java
deleted file mode 100644
index 420359821..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceInterfacesSimpleAction.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.TModelDetail;
-import org.uddi4j.response.TModelInfo;
-import org.uddi4j.response.TModelInfos;
-import org.uddi4j.response.TModelList;
-import org.uddi4j.transport.TransportException;
-
-public class RegFindServiceInterfacesSimpleAction extends FindAction
-{
- public RegFindServiceInterfacesSimpleAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- uddiPerspective.getMessageQueue();
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME,name);
- else
- {
- // This should never occur.
- inputsValid = false;
- }
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME);
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- TModelList tModelList = proxy.find_tModel(name,null,null,null,UDDIActionInputs.QUERY_MAX_SEARCH_SET);
- TModelInfos tModelInfos = tModelList.getTModelInfos();
- Vector tModelKeyVector = new Vector();
-
- for (int i=0;i<tModelInfos.size();i++)
- {
- TModelInfo tModelInfo = tModelInfos.get(i);
- if (tModelKeyVector.size() < UDDIActionInputs.QUERY_MAX_RESULTS)
- tModelKeyVector.addElement(tModelInfo.getTModelKey());
- else
- break;
- }
-
- if (tModelKeyVector.size() > 0)
- {
- if (shouldAddQueryNode)
- {
- TModelDetail tModelDetail = proxy.get_tModelDetail(tModelKeyVector);
- Vector tModelVector = tModelDetail.getTModelVector();
- TModel[] tModelArray = new TModel[tModelVector.size()];
- tModelVector.toArray(tModelArray);
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(tModelArray,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACES_FOUND",String.valueOf(tModelArray.length)));
- }
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICE_INTERFACES_FOUND"));
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceUUIDAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceUUIDAction.java
deleted file mode 100644
index 9cbc0358c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServiceUUIDAction.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.response.ServiceDetail;
-import org.uddi4j.transport.TransportException;
-
-public class RegFindServiceUUIDAction extends FindAction
-{
- public RegFindServiceUUIDAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICES,String.valueOf(UDDIActionInputs.QUERY_STYLE_UUID));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String uuidKey = parser.getParameter(UDDIActionInputs.QUERY_INPUT_UUID_KEY);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (uuidKey != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,uuidKey);
-
- if (!subQueryInitiated_ && !Validator.validateString(uuidKey))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_UUID_KEY"));
- }
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- String uuidKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY);
-
- // The action can be run under the context of either a registry or a query node or even UDDIMainNode.
- if (regNode_ == null)
- regNode_ = getRegistryNode((Node)propertyTable_.get(UDDIActionInputs.REFRESH_NODE));
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- BusinessService[] bsArray = new BusinessService[1];
- ServiceDetail serviceDetail = proxy.get_serviceDetail(uuidKey);
- Vector bsVector = serviceDetail.getBusinessServiceVector();
- if (bsVector.size() > 0)
- {
- bsVector.toArray(bsArray);
- if (shouldAddQueryNode)
- {
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(bsArray,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICES_FOUND",String.valueOf(bsArray.length)));
- }
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,bsArray[0]);
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICES_FOUND"));
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesAdvancedAction.java
deleted file mode 100644
index 8556db5c8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesAdvancedAction.java
+++ /dev/null
@@ -1,392 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.BusinessInfo;
-import org.uddi4j.response.BusinessInfos;
-import org.uddi4j.response.DispositionReport;
-import org.uddi4j.response.RegisteredInfo;
-import org.uddi4j.response.Result;
-import org.uddi4j.response.ServiceDetail;
-import org.uddi4j.response.ServiceInfo;
-import org.uddi4j.response.ServiceInfos;
-import org.uddi4j.response.ServiceList;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.FindQualifier;
-import org.uddi4j.util.FindQualifiers;
-import org.uddi4j.util.KeyedReference;
-import org.uddi4j.util.TModelBag;
-
-public class RegFindServicesAdvancedAction extends FindAction
-{
- public RegFindServicesAdvancedAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICES,String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_SEARCH_SET,String.valueOf(UDDIActionInputs.QUERY_MAX_SEARCH_SET));
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_RESULTS,String.valueOf(UDDIActionInputs.QUERY_MAX_RESULTS));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String ownedChecked = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED);
- String[] busNodeIds = parser.getParameterValues(UDDIActionInputs.NODEID_BUSINESS);
- String[] languages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE);
- String[] names = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
- String[] siNodeIds = parser.getParameterValues(UDDIActionInputs.NODEID_SERVICE_INTERFACE);
- String[] findQualifierValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_FINDQUALIFIER);
- String maxSearchSet = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET);
- String maxResults = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- regNode_.getTreeElement();
-
- if (ownedChecked != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_OWNED,ownedChecked);
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_OWNED);
-
- if (busNodeIds != null)
- {
- // Although we already have the "submitted" data, deletions occur on the client side and thus the need to track this using hidden form elements.
- Vector serviceBusiness = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- if (serviceBusiness == null)
- serviceBusiness = new Vector();
- else
- serviceBusiness.removeAllElements();
- Vector serviceBusinessCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY);
- // The browser will enforce the rule of having only one business in this list.
- ListElement listElement = (ListElement)serviceBusinessCopy.elementAt(0);
- serviceBusiness.addElement(listElement);
- BusinessEntity sp = (BusinessEntity)listElement.getObject();
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS,serviceBusiness);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER,sp);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER);
- }
-
- if (languages != null && names != null)
- {
- Vector nameVector = new Vector();
- for (int i=0;i<names.length;i++)
- {
- Name uddi4jName;
- if (languages[i].length() > 0)
- uddi4jName = new Name(names[i],languages[i]);
- else
- uddi4jName = new Name(names[i]);
- nameVector.addElement(uddi4jName);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,nameVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
-
- if (catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- CategoryBag catBag = new CategoryBag();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- catBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES,catBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
-
- if (siNodeIds != null)
- {
- // Although we already have the "submitted" data, deletions occur on the client side and thus the need to track this using hidden form elements.
- Vector serviceServiceInterfaces = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- if (serviceServiceInterfaces == null)
- serviceServiceInterfaces = new Vector();
- else
- serviceServiceInterfaces.removeAllElements();
- Vector serviceServiceInterfacesCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY);
- Vector tModelKeyStringVector = new Vector();
- Hashtable resultHash = new Hashtable();
- for (int i=0;i<siNodeIds.length;i++)
- resultHash.put(siNodeIds[i],Boolean.TRUE);
- for (int i=0;i<serviceServiceInterfacesCopy.size();i++)
- {
- ListElement listElement = (ListElement)serviceServiceInterfacesCopy.elementAt(i);
- if (resultHash.get(String.valueOf(listElement.getTargetNodeId())) != null)
- {
- serviceServiceInterfaces.addElement(listElement);
- TModel tModel = (TModel)listElement.getObject();
- tModelKeyStringVector.addElement(tModel.getTModelKey());
- }
- }
- TModelBag tModelBag = new TModelBag(tModelKeyStringVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,serviceServiceInterfaces);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_TMODELBAG,tModelBag);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_TMODELBAG);
- }
-
- if (findQualifierValues != null)
- {
- FindQualifiers findQualifiers = new FindQualifiers();
- Vector findQualifierVector = new Vector();
- for (int i=0;i<findQualifierValues.length;i++)
- {
- FindQualifier findQualifier = new FindQualifier(findQualifierValues[i]);
- findQualifierVector.addElement(findQualifier);
- }
- findQualifiers.setFindQualifierVector(findQualifierVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_FINDQUALIFIERS,findQualifiers);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_FINDQUALIFIERS);
-
- if (maxSearchSet != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET,maxSearchSet);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_SEARCH_SET,maxSearchSet);
- }
- if (!subQueryInitiated_ && !Validator.validateInteger(maxSearchSet))
- {
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_SEARCH_SET);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_MAX_SEARCH_SET"));
- inputsValid = false;
- }
-
- if (maxResults != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS,maxResults);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_RESULTS,maxResults);
- }
- if (!subQueryInitiated_ && !Validator.validateInteger(maxResults))
- {
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_RESULTS);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_MAX_RESULTS"));
- inputsValid = false;
- }
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- FindQualifiers findQualifiers = (FindQualifiers)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_FINDQUALIFIERS);
- BusinessEntity sp = (BusinessEntity)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER);
- Vector nameVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- CategoryBag categoryBag = (CategoryBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
- TModelBag tModelBag = (TModelBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_TMODELBAG);
- boolean owned = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_OWNED) != null);
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- int maxSearchSet = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_SEARCH_SET));
- int maxResults = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_RESULTS));
-
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (owned && !regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
-
- UDDIProxy proxy = regElement.getProxy();
- String businessKey;
- if (sp != null)
- businessKey = sp.getBusinessKey();
- else
- businessKey = "";
-
- int finalNumberOfServiceKeys;
- Vector serviceKeyVector;
- if (owned)
- {
- serviceKeyVector = findAllOwnedServices(proxy,regElement.getAuthInfoString(),businessKey,maxResults);
- finalNumberOfServiceKeys = serviceKeyVector.size();
- }
- else
- {
- ServiceList serviceList = proxy.find_service(businessKey,nameVector,categoryBag,tModelBag,findQualifiers,maxSearchSet);
- ServiceInfos sInfos = serviceList.getServiceInfos();
- finalNumberOfServiceKeys = Math.min(maxResults,sInfos.size());
- serviceKeyVector = new Vector();
- for (int i=0;i<finalNumberOfServiceKeys;i++)
- {
- ServiceInfo sInfo = sInfos.get(i);
- serviceKeyVector.addElement(sInfo.getServiceKey());
- }
- }
-
- if (finalNumberOfServiceKeys > 0)
- {
- if (shouldAddQueryNode)
- {
- Vector finalBusServiceVector = new Vector();
- int currentIndex = 0;
- int windowSize = finalNumberOfServiceKeys;
- while (currentIndex < serviceKeyVector.size())
- {
- int subListToIndex = Math.min(currentIndex+windowSize,serviceKeyVector.size());
- try
- {
- ServiceDetail serviceDetail = proxy.get_serviceDetail(new Vector(serviceKeyVector.subList(currentIndex,subListToIndex)));
- Vector busServiceVector = serviceDetail.getBusinessServiceVector();
- for (int i=0;i<busServiceVector.size();i++)
- finalBusServiceVector.addElement(busServiceVector.elementAt(i));
- if (serviceDetail.getTruncatedBoolean())
- windowSize = busServiceVector.size();
- currentIndex += windowSize;
- }
- catch (UDDIException e)
- {
- DispositionReport dr = e.getDispositionReport();
- if (((Result) dr.getResultVector().get(0)).getErrInfo().getErrCode() == DispositionReport.E_invalidKeyPassed)
- {
- String errInfoText = ((Result) dr.getResultVector().get(0)).getErrInfo().getText();
- for (int i=currentIndex;i<subListToIndex;i++)
- {
- String serviceKey = (String)serviceKeyVector.elementAt(i);
- if (errInfoText.indexOf(serviceKey) != -1 || errInfoText.indexOf(serviceKey.toUpperCase()) != -1 || errInfoText.indexOf(serviceKey.toLowerCase()) != -1)
- {
- serviceKeyVector.removeElementAt(i);
- break;
- }
- }
- }
- else
- throw e;
- }
- catch (TransportException e)
- {
- throw e;
- }
- }
-
- int finalNumberOfBusinessServices = finalBusServiceVector.size();
- if (finalNumberOfBusinessServices > 0)
- {
- BusinessService[] bsArray = new BusinessService[finalNumberOfBusinessServices];
- finalBusServiceVector.toArray(bsArray);
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- queryElement_ = new QueryElement(bsArray,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICES_FOUND",String.valueOf(bsArray.length)));
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICES_FOUND"));
- }
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICES_FOUND"));
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- catch (MalformedURLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"MalformedURLException",e);
- }
- return false;
- }
-
- // Copied directly from UDDIWSDLProxy's findAllOwnedServices() method with minor modifications. The hardcoded strings should NOT be translated.
- private final Vector findAllOwnedServices(UDDIProxy proxy,String authInfoString,String businessKey,int maxResults) throws UDDIException, TransportException
- {
- RegisteredInfo registeredInfo = null;
-
- // Get the complete list of owned (registered) info.
- // (A RegisteredInfo consists of BusinessInfos and TModelInfos.
- // BusinessInfos also contain ServiceInfos.)
- registeredInfo = proxy.get_registeredInfo(authInfoString);
-
- //Create a vector to add the serviceKeys from the registeredInfo to.
- Vector serviceKeyList = new Vector();
-
- //Get the businessInfos from the registeredInfo.
- BusinessInfos businessInfos = registeredInfo.getBusinessInfos();
-
- //Get all the serviceKeys from the serviceInfos within the businessInfos,
- //and add them to the serviceKeyList.
- boolean endSearch = false;
- for (int i = 0; i < businessInfos.size(); i++)
- {
- BusinessInfo businessInfo = businessInfos.get(i);
- String currentBusinessKey = businessInfo.getBusinessKey();
- if (businessKey.length() > 0 && currentBusinessKey.equals(businessKey))
- endSearch = true;
- ServiceInfos serviceInfos = businessInfo.getServiceInfos();
- for (int j = 0; j < serviceInfos.size(); j++)
- {
- ServiceInfo serviceInfo = serviceInfos.get(j);
- if (serviceInfo.getBusinessKey().equals(currentBusinessKey))
- {
- if (serviceKeyList.size() < maxResults)
- serviceKeyList.add(serviceInfo.getServiceKey());
- else
- {
- endSearch = true;
- break;
- }
- }
- }
- if (endSearch)
- break;
- }
- return serviceKeyList;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesSimpleAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesSimpleAction.java
deleted file mode 100644
index 5eaef0de7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegFindServicesSimpleAction.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormInputException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.response.ServiceDetail;
-import org.uddi4j.response.ServiceInfo;
-import org.uddi4j.response.ServiceInfos;
-import org.uddi4j.response.ServiceList;
-import org.uddi4j.transport.TransportException;
-
-public class RegFindServicesSimpleAction extends FindAction
-{
- public RegFindServicesSimpleAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICES,String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME);
-
- // Validate the data.
- boolean inputsValid = true;
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME,name);
- else
- {
- // This shouldn't occur.
- inputsValid = false;
- }
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- boolean shouldAddQueryNode = (propertyTable_.get(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE) == null);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME);
- Vector nameVector = new Vector();
- nameVector.addElement(new Name(name));
-
- // The action can be run under the context of either a registry or a query node.
- getSelectedNavigatorNode();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- ServiceList serviceList = proxy.find_service("",nameVector,null,null,null,UDDIActionInputs.QUERY_MAX_SEARCH_SET);
-
- ServiceInfos sInfos = serviceList.getServiceInfos();
- int finalNumberOfBusinessServices = Math.min(UDDIActionInputs.QUERY_MAX_RESULTS,sInfos.size());
- Vector serviceKeyVector = new Vector();
- for (int i=0;i<finalNumberOfBusinessServices;i++)
- {
- ServiceInfo sInfo = sInfos.get(i);
- serviceKeyVector.addElement(sInfo.getServiceKey());
- }
-
- if (finalNumberOfBusinessServices > 0)
- {
- if (shouldAddQueryNode)
- {
- ServiceDetail serviceDetail = proxy.get_serviceDetail(serviceKeyVector);
- Vector businessServiceVector = serviceDetail.getBusinessServiceVector();
- String queryName = (String)propertyTable_.get(UDDIActionInputs.QUERY_NAME);
- BusinessService[] bsArray = new BusinessService[finalNumberOfBusinessServices];
- businessServiceVector.toArray(bsArray);
- queryElement_ = new QueryElement(bsArray,queryName,regElement.getModel());
- addQueryNode();
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICES_FOUND",String.valueOf(bsArray.length)));
- }
- return true;
- }
- else
- throw new FormInputException(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICES_FOUND"));
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (FormInputException e)
- {
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessAdvancedAction.java
deleted file mode 100644
index 5ae3a8a73..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessAdvancedAction.java
+++ /dev/null
@@ -1,269 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Description;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.DiscoveryURL;
-import org.uddi4j.util.DiscoveryURLs;
-import org.uddi4j.util.IdentifierBag;
-import org.uddi4j.util.KeyedReference;
-
-public class RegPublishBusinessAdvancedAction extends PublishAction
-{
- public RegPublishBusinessAdvancedAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_BUSINESSES,String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String[] nameLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE);
- String[] names = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME);
- String[] descriptionLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE);
- String[] descriptions = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION);
- String[] idTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE);
- String[] idKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME);
- String[] idKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
- String[] discoveryURLValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DISCOVERYURL);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- Hashtable languageHash = new Hashtable();
- if (nameLanguages != null && names != null)
- {
- Vector nameVector = new Vector();
- // UDDI's save API (Appendix C of the UDDI V2 Programmers API Specification) requires the following:
- // 1) Only the first row can have a blank language.
- // 2) Only 1 name per language.
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_NAME");
- for (int i=0;i<names.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Name uddi4jName;
- if (nameLanguages[i].length() > 0)
- uddi4jName = new Name(names[i],nameLanguages[i]);
- else
- {
- uddi4jName = new Name(names[i]);
- if (i != 0 && !subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(nameLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(nameLanguages[i],Boolean.TRUE);
- if (names[i].trim().length() < 1)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
- nameVector.addElement(uddi4jName);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,nameVector);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- if (!subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NO_NAMES"));
- }
- }
-
- if (descriptionLanguages != null && descriptions != null)
- {
- Vector descriptionVector = new Vector();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION");
- languageHash.clear();
- for (int i=0;i<descriptions.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Description uddi4jDescription;
- if (descriptionLanguages[i].length() > 0)
- uddi4jDescription = new Description(descriptions[i],descriptionLanguages[i]);
- else
- {
- uddi4jDescription = new Description(descriptions[i]);
- if (i != 0 && !subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(descriptionLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(descriptionLanguages[i],Boolean.TRUE);
- if (descriptions[i].trim().length() < 1)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
- descriptionVector.addElement(uddi4jDescription);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,descriptionVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS);
-
- if (idTypes != null && idKeyNames != null && idKeyValues != null)
- {
- IdentifierBag idBag = new IdentifierBag();
- for (int i=0;i<idKeyNames.length;i++)
- {
- KeyedReference kr = new KeyedReference(idKeyNames[i],idKeyValues[i],idTypes[i]);
- idBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS,idBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
-
- if (catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- CategoryBag catBag = new CategoryBag();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- catBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES,catBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
-
- if (discoveryURLValues != null)
- {
- DiscoveryURLs discoveryURLs = new DiscoveryURLs();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DISCOVERYURL");
- for (int i=0;i<discoveryURLValues.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- if (!subQueryInitiated_ && !Validator.validateURL(discoveryURLValues[i]))
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
- discoveryURLs.add(new DiscoveryURL(discoveryURLValues[i],""));
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,discoveryURLs);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
-
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- Vector nameVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- Vector descriptionVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS);
- IdentifierBag identifierBag = (IdentifierBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
- CategoryBag categoryBag = (CategoryBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
- DiscoveryURLs discoveryURLs = (DiscoveryURLs)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
-
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
- UDDIProxy proxy = regElement.getProxy();
-
- BusinessEntity be = new BusinessEntity();
- be.setBusinessKey("");
- be.setNameVector(nameVector);
- be.setDescriptionVector(descriptionVector);
- be.setIdentifierBag(identifierBag);
- be.setCategoryBag(categoryBag);
- be.setDiscoveryURLs(discoveryURLs);
- Vector beVector = new Vector();
- beVector.add(be);
-
- be = (BusinessEntity)proxy.save_business(regElement.getAuthInfoString(), beVector).getBusinessEntityVector().get(0);
- addPublishedItemNode(be,regElement);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESS_PUBLISHED",be.getDefaultNameString()));
- return true;
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessSimpleAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessSimpleAction.java
deleted file mode 100644
index 57dd64ded..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishBusinessSimpleAction.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.transport.TransportException;
-
-public class RegPublishBusinessSimpleAction extends PublishAction
-{
- public RegPublishBusinessSimpleAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_BUSINESSES,String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE));
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME);
- String description = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION);
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME,name);
-
- if (!subQueryInitiated_ && !Validator.validateString(name))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_NAME"));
- }
-
- if (description != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION,description);
-
- return inputsValid;
- }
-
- public final boolean run()
- {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME);
- String description = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION);
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- try
- {
- UDDIProxy proxy = regElement.getProxy();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
-
- BusinessEntity be = new BusinessEntity();
- be.setBusinessKey("");
- be.setDefaultName(new Name(name));
- be.setDefaultDescriptionString(description);
- Vector beVector = new Vector();
- beVector.add(be);
-
- be = (BusinessEntity)proxy.save_business(regElement.getAuthInfoString(), beVector).getBusinessEntityVector().get(0);
- addPublishedItemNode(be,regElement);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESS_PUBLISHED",be.getDefaultNameString()));
- return true;
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceAdvancedAction.java
deleted file mode 100644
index 8cb48a616..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceAdvancedAction.java
+++ /dev/null
@@ -1,370 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Description;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.KeyedReference;
-
-public class RegPublishServiceAdvancedAction extends PublishAction
-{
- public RegPublishServiceAdvancedAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICES,String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String busNodeIds = parser.getParameter(UDDIActionInputs.NODEID_BUSINESS);
- String[] serIntIds = parser.getParameterValues(UDDIActionInputs.NODEID_SERVICE_INTERFACE);
- String wsdlURL = parser.getParameter(ActionInputs.QUERY_INPUT_WSDL_URL);
- String[] nameLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE);
- String[] names = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME);
- String[] descriptionLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE);
- String[] descriptions = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (busNodeIds != null)
- {
- Vector serviceBusiness = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- if (serviceBusiness == null)
- serviceBusiness = new Vector();
- else
- serviceBusiness.removeAllElements();
- Vector serviceBusinessCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY);
- // The browser will enforce the rule of having only one business in this list.
- ListElement listElement = (ListElement)serviceBusinessCopy.elementAt(0);
- serviceBusiness.addElement(listElement);
- BusinessEntity sp = (BusinessEntity)listElement.getObject();
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS,serviceBusiness);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER,sp);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,sp.getBusinessKey());
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER);
- if (!subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_BUSINESS"));
- }
- }
-
- if (serIntIds != null && serIntIds.length > 0)
- {
- Vector serviceInterfaces = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- if (serviceInterfaces == null)
- serviceInterfaces = new Vector();
- else
- serviceInterfaces.removeAllElements();
- Vector serviceInterfacesCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY);
- Vector tmodels = new Vector();
- for (Iterator it = serviceInterfacesCopy.iterator(); it.hasNext();)
- {
- ListElement listElement = (ListElement)it.next();
- int targetNodeId = listElement.getTargetNodeId();
- for (int i = 0; i < serIntIds.length; i++)
- {
- try
- {
- if (targetNodeId == Integer.parseInt(serIntIds[i]))
- {
- serviceInterfaces.add(listElement);
- tmodels.add(listElement.getObject());
- break;
- }
- }
- catch (NumberFormatException nfe)
- {
- }
- }
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES, serviceInterfaces);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_TMODEL, tmodels);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_TMODEL);
- }
-
- if (wsdlURL != null)
- {
- propertyTable_.put(ActionInputs.QUERY_INPUT_WSDL_URL,wsdlURL);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL,wsdlURL);
- }
-
- if (!subQueryInitiated_ && !Validator.validateString(wsdlURL))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_WSDL_URL"));
- }
-
- Hashtable languageHash = new Hashtable();
- if (nameLanguages != null && names != null)
- {
- Vector nameVector = new Vector();
- // UDDI's save API (Appendix C of the UDDI V2 Programmers API Specification) requires the following:
- // 1) Only the first row can have a blank language.
- // 2) Only 1 name per language.
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_NAME");
- for (int i=0;i<names.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Name uddi4jName;
- if (nameLanguages[i].length() > 0)
- uddi4jName = new Name(names[i],nameLanguages[i]);
- else
- {
- uddi4jName = new Name(names[i]);
- if (i != 0 && !subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(nameLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(nameLanguages[i],Boolean.TRUE);
- if (names[i].trim().length() < 1)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
- nameVector.addElement(uddi4jName);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,nameVector);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- if (!subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NO_NAMES"));
- }
- }
-
- if (descriptionLanguages != null && descriptions != null)
- {
- Vector descriptionVector = new Vector();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION");
- languageHash.clear();
- for (int i=0;i<descriptions.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Description uddi4jDescription;
- if (descriptionLanguages[i].length() > 0)
- uddi4jDescription = new Description(descriptions[i],descriptionLanguages[i]);
- else
- {
- uddi4jDescription = new Description(descriptions[i]);
- if (i != 0 && !subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(descriptionLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(descriptionLanguages[i],Boolean.TRUE);
- if (descriptions[i].trim().length() < 1)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
- descriptionVector.addElement(uddi4jDescription);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,descriptionVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
-
- if (catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- CategoryBag catBag = new CategoryBag();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- catBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES,catBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
-
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- BusinessEntity be = (BusinessEntity)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER);
- String businessKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
- Vector tModelVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_TMODEL);
- String wsdlURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- Vector nameVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- Vector descriptionVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
- CategoryBag categoryBag = (CategoryBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
-
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
- UDDIProxy proxy = regElement.getProxy();
-
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- Definition def = uddi4jHelper.getWSDLDefinition(wsdlURL);
-
- BusinessService bs;
- if (tModelVector != null && tModelVector.size() > 0)
- bs = uddi4jHelper.newBusinessService(wsdlURL, def, (TModel[])tModelVector.toArray(new TModel[0]));
- else
- {
- RegPublishServiceInterfaceSimpleAction regPublishSIAction = new RegPublishServiceInterfaceSimpleAction(controller_);
- int currentNodeId = getSelectedNavigatorNode().getNodeId();
- NodeManager nodeManager = regNode_.getNodeManager();
- TModel[] tModels = null;
- if (uddi4jHelper.isMonolithicWSDL(def))
- {
- tModels = new TModel[1];
- tModels[0] = uddi4jHelper.newTModel(wsdlURL, def);
- }
- else
- {
- String[] imports = uddi4jHelper.getImports(def, wsdlURL);
- tModels = new TModel[imports.length];
- for (int i = 0; i < tModels.length; i++)
- tModels[i] = uddi4jHelper.newTModel(imports[i]);
- }
- Hashtable tModelsTable = new Hashtable();
- if (tModels != null)
- {
- for (int i=0;i<tModels.length;i++)
- {
- boolean inputsValid = regPublishSIAction.populatePropertyTable(uddi4jHelper.getWSDL(tModels[i]), tModels[i]);
- if (inputsValid)
- {
- regPublishSIAction.run();
- Object savedTModel = regPublishSIAction.getPropertyTable().get(UDDIActionInputs.QUERY_OUTPUT_SAVED_TMODEL);
- if (savedTModel != null)
- tModelsTable.put(((TModel)savedTModel).getNameString(), savedTModel);
- // Reselect the current node.
- nodeManager.setSelectedNodeId(currentNodeId);
- }
- }
- }
- bs = uddi4jHelper.newBusinessService(wsdlURL, def, tModelsTable);
- }
-
- if (be != null)
- bs.setBusinessKey(be.getBusinessKey());
- else if (businessKey != null)
- bs.setBusinessKey(businessKey);
- bs.setNameVector(nameVector);
- bs.setDescriptionVector(descriptionVector);
- bs.setCategoryBag(categoryBag);
- Vector bsVector = new Vector();
- bsVector.add(bs);
- regElement.handlePreInvocation(bs);
- bs = (BusinessService)proxy.save_service(regElement.getAuthInfoString(), bsVector).getBusinessServiceVector().get(0);
- addPublishedItemNode(bs,regElement);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_PUBLISHED",bs.getDefaultNameString()));
- return true;
- }
- catch (WSDLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("WSDLException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceAdvancedAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceAdvancedAction.java
deleted file mode 100644
index 9af4270b2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceAdvancedAction.java
+++ /dev/null
@@ -1,239 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Description;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.IdentifierBag;
-import org.uddi4j.util.KeyedReference;
-
-public class RegPublishServiceInterfaceAdvancedAction extends PublishAction
-{
- public RegPublishServiceInterfaceAdvancedAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
- }
-
- protected final boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String wsdlURL = parser.getParameter(ActionInputs.QUERY_INPUT_WSDL_URL);
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- String[] descriptionLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE);
- String[] descriptions = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION);
- String[] idTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE);
- String[] idKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME);
- String[] idKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
-
- // Validate the data.
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- Hashtable languageHash = new Hashtable();
-
- if (wsdlURL != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL,wsdlURL);
-
- if (!subQueryInitiated_ && !Validator.validateString(wsdlURL))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_WSDL_URL"));
- }
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME,name);
-
- if (!subQueryInitiated_ && !Validator.validateString(name))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_NAME"));
- }
-
- if (descriptionLanguages != null && descriptions != null)
- {
- Vector descriptionVector = new Vector();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION");
- languageHash.clear();
- for (int i=0;i<descriptions.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Description uddi4jDescription;
- if (descriptionLanguages[i].length() > 0)
- uddi4jDescription = new Description(descriptions[i],descriptionLanguages[i]);
- else
- {
- uddi4jDescription = new Description(descriptions[i]);
- if (i != 0 && !subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(descriptionLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(descriptionLanguages[i],Boolean.TRUE);
- if (descriptions[i].trim().length() < 1)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
- descriptionVector.addElement(uddi4jDescription);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,descriptionVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS);
-
- if (idTypes != null && idKeyNames != null && idKeyValues != null)
- {
- IdentifierBag idBag = new IdentifierBag();
- for (int i=0;i<idKeyNames.length;i++)
- {
- KeyedReference kr = new KeyedReference(idKeyNames[i],idKeyValues[i],idTypes[i]);
- idBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS,idBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
-
- if (catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- CategoryBag catBag = new CategoryBag();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- catBag.add(kr);
- }
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES,catBag);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
-
- return inputsValid;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- String wsdlURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- Vector descriptionVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS);
- IdentifierBag identifierBag = (IdentifierBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
- CategoryBag categoryBag = (CategoryBag)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
-
- // The action can be run under the context of either a registry or a query node.
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
- UDDIProxy proxy = regElement.getProxy();
-
- TModel tModel = (new Uddi4jHelper()).newTModel(wsdlURL);
- tModel.setName(name);
- tModel.setDescriptionVector(descriptionVector);
- tModel.setIdentifierBag(identifierBag);
-
- // The category bag may contain wsdlSpec.
- CategoryBag defaultCategoryBag = tModel.getCategoryBag();
- Vector defaultKeyedReferenceVector = null;
- if (defaultCategoryBag != null)
- {
- if (categoryBag == null)
- categoryBag = defaultCategoryBag;
- else
- {
- defaultKeyedReferenceVector = defaultCategoryBag.getKeyedReferenceVector();
- for (int i=0;i<defaultKeyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)defaultKeyedReferenceVector.elementAt(i);
- if (categoryBag != null)
- categoryBag.add(kr);
- }
- }
- }
- tModel.setCategoryBag(categoryBag);
-
- Vector tModelVector = new Vector();
- tModelVector.add(tModel);
- tModel = (TModel)proxy.save_tModel(regElement.getAuthInfoString(), tModelVector).getTModelVector().get(0);
- propertyTable_.put(UDDIActionInputs.QUERY_OUTPUT_SAVED_TMODEL, tModel);
- addPublishedItemNode(tModel,regElement);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACE_PUBLISHED",tModel.getNameString()));
- return true;
- }
- catch (WSDLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("WSDLException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceSimpleAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceSimpleAction.java
deleted file mode 100644
index 6e6657c58..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceInterfaceSimpleAction.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Vector;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.transport.TransportException;
-
-public class RegPublishServiceInterfaceSimpleAction extends PublishAction
-{
- public RegPublishServiceInterfaceSimpleAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE));
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String wsdlURL = parser.getParameter(ActionInputs.QUERY_INPUT_WSDL_URL);
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME);
- String description = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION);
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (wsdlURL != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL,wsdlURL);
-
- if (!subQueryInitiated_ && !Validator.validateString(wsdlURL))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_WSDL_URL"));
- }
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME,name);
-
- if (!subQueryInitiated_ && !Validator.validateString(name))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_NAME"));
- }
-
- if (description != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION,description);
-
- return inputsValid;
- }
-
- public final boolean populatePropertyTable(String wsdlURL, TModel tModel)
- {
- boolean inputsValid = true;
- String name = tModel.getNameString();
- String description = tModel.getDefaultDescriptionString();
- if (wsdlURL != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL,wsdlURL);
- else
- inputsValid = false;
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME,name);
- else
- inputsValid = false;
-
- if (description != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION,description);
- else
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION,"");
- return inputsValid;
- }
-
- public final boolean run()
- {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- String wsdlURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME);
- String description = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION);
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- try
- {
- UDDIProxy proxy = regElement.getProxy();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
-
- TModel tModel = (new Uddi4jHelper()).newTModel(wsdlURL);
- tModel.setName(name);
- tModel.setDefaultDescriptionString(description);
-
- Vector tModelVector = new Vector();
- tModelVector.add(tModel);
- tModel = (TModel)proxy.save_tModel(regElement.getAuthInfoString(), tModelVector).getTModelVector().get(0);
- propertyTable_.put(UDDIActionInputs.QUERY_OUTPUT_SAVED_TMODEL, tModel);
- addPublishedItemNode(tModel,regElement);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACE_PUBLISHED",tModel.getNameString()));
- return true;
- }
- catch (WSDLException e)
- {
- e.printStackTrace();
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("WSDLException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (TransportException e)
- {
- e.printStackTrace();
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- e.printStackTrace();
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceSimpleAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceSimpleAction.java
deleted file mode 100644
index cc5c222c9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RegPublishServiceSimpleAction.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.transport.TransportException;
-
-public class RegPublishServiceSimpleAction extends PublishAction
-{
- public RegPublishServiceSimpleAction(Controller controller)
- {
- super(controller);
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- propertyTable_.put(UDDIActionInputs.QUERY_STYLE_SERVICES,String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE));
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String busNodeIds = parser.getParameter(UDDIActionInputs.NODEID_BUSINESS);
- String wsdlURL = parser.getParameter(ActionInputs.QUERY_INPUT_WSDL_URL);
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME);
- String description = parser.getParameter(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION);
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (busNodeIds != null)
- {
- Vector serviceBusiness = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS);
- if (serviceBusiness == null)
- serviceBusiness = new Vector();
- else
- serviceBusiness.removeAllElements();
- Vector serviceBusinessCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS_COPY);
- // The browser will enforce the rule of having only one business in this list.
- ListElement listElement = (ListElement)serviceBusinessCopy.elementAt(0);
- serviceBusiness.addElement(listElement);
- BusinessEntity be = (BusinessEntity)listElement.getObject();
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS,serviceBusiness);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_SERVICE_PROVIDER,be);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,be.getBusinessKey());
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS);
- removeProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_SERVICE_PROVIDER);
- if (!subQueryInitiated_)
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_BUSINESS"));
- }
- }
-
- if (wsdlURL != null)
- {
- propertyTable_.put(ActionInputs.QUERY_INPUT_WSDL_URL,wsdlURL);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL,wsdlURL);
- }
-
- if (!subQueryInitiated_ && !Validator.validateString(wsdlURL))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_WSDL_URL"));
- }
-
- if (name != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME,name);
-
- if (!subQueryInitiated_ && !Validator.validateString(name))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_NAME"));
- }
-
- if (description != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION,description);
-
- return inputsValid;
- }
-
- public final boolean run()
- {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- BusinessEntity be = (BusinessEntity)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_SERVICE_PROVIDER);
- String businessKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
- String wsdlURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL);
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME);
- String description = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION);
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- try
- {
- UDDIProxy proxy = regElement.getProxy();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
-
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- Definition def = uddi4jHelper.getWSDLDefinition(wsdlURL);
- RegPublishServiceInterfaceSimpleAction regPublishSIAction = new RegPublishServiceInterfaceSimpleAction(controller_);
- int currentNodeId = getSelectedNavigatorNode().getNodeId();
- NodeManager nodeManager = regNode_.getNodeManager();
-
- Hashtable tModelsTable = new Hashtable();
- TModel[] tModels = null;
- if (uddi4jHelper.isMonolithicWSDL(def))
- {
- tModels = new TModel[1];
- tModels[0] = uddi4jHelper.newTModel(wsdlURL, def);
- }
- else
- {
- String[] imports = uddi4jHelper.getImports(def, wsdlURL);
- tModels = new TModel[imports.length];
- for (int i = 0; i < tModels.length; i++)
- tModels[i] = uddi4jHelper.newTModel(imports[i]);
- }
-
- if (tModels != null)
- {
- for (int i=0;i<tModels.length;i++)
- {
- boolean inputsValid = regPublishSIAction.populatePropertyTable(uddi4jHelper.getWSDL(tModels[i]), tModels[i]);
- if (inputsValid)
- {
- regPublishSIAction.run();
- Object savedTModel = regPublishSIAction.getPropertyTable().get(UDDIActionInputs.QUERY_OUTPUT_SAVED_TMODEL);
- if (savedTModel != null)
- {
- tModelsTable.put(((TModel)savedTModel).getNameString(), savedTModel);
- }
- // Reselect the current node.
- nodeManager.setSelectedNodeId(currentNodeId);
- }
- }
- }
-
- BusinessService bs = uddi4jHelper.newBusinessService(wsdlURL, def, tModelsTable);
- if (be != null)
- bs.setBusinessKey(be.getBusinessKey());
- else if (businessKey != null)
- bs.setBusinessKey(businessKey);
- bs.setDefaultName(new Name(name));
- bs.setDefaultDescriptionString(description);
- Vector bsVector = new Vector();
- bsVector.add(bs);
- regElement.handlePreInvocation(bs);
- bs = (BusinessService)proxy.save_service(regElement.getAuthInfoString(), bsVector).getBusinessServiceVector().get(0);
- addPublishedItemNode(bs,regElement);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_PUBLISHED",bs.getDefaultNameString()));
- return true;
- }
- catch (WSDLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("WSDLException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (TransportException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(e.getMessage());
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(e.getMessage());
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemovePublisherAssertionsAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemovePublisherAssertionsAction.java
deleted file mode 100644
index e6f615ca3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemovePublisherAssertionsAction.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.PublisherAssertionElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.assertion.PublisherAssertion;
-import org.uddi4j.response.CompletionStatus;
-import org.uddi4j.response.DispositionReport;
-import org.uddi4j.response.Result;
-import org.uddi4j.transport.TransportException;
-
-public class RemovePublisherAssertionsAction extends CommonPublisherAssertionsAction
-{
- public RemovePublisherAssertionsAction(Controller controller)
- {
- super(controller);
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- if (registryNode_ == null)
- return false;
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- FormTool formTool = getSelectedFormTool();
-
- // ids from uddiObjects_table
- String[] selectedBusIds = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- if (selectedBusIds != null && selectedBusIds.length > 0)
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID, selectedBusIds);
- // Synchronize client view and server model (uddiObject_table.jsp)
- synchronizeUDDIObjectTable();
-
- // if not yet logged in, validate the parameters needed to log in
- if (!isLoggedIn_) {
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (!Validator.validateURL(publishURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userID!= null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- }
-
- if (!Validator.validateString(userID))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
- }
-
- // ids from publisher assertion table
- String[] pubAssertionsViewIds = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_VIEWID);
- if (pubAssertionsViewIds == null || pubAssertionsViewIds.length == 0)
- inputsValid = false;
- else
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_VIEWID, pubAssertionsViewIds);
-
- return inputsValid;
- }
-
- public boolean run()
- {
- if (registryNode_ == null)
- return false;
-
- RegistryElement registryElement = (RegistryElement)registryNode_.getTreeElement();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-
- if (!(selectedElement instanceof BusinessElement))
- return false;
-
- // if not yet logged in, log in first
- if (!isLoggedIn_) {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- try {
- registryElement.performLogin(publishURL, userID, password);
- }
- catch (TransportException te) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(te.getMessage());
- return false;
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(uddie.toString());
- return false;
- }
- catch (MalformedURLException me) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(me.getMessage());
- return false;
- }
- }
-
- UDDIProxy proxy = registryElement.getProxy();
- registryElement.getUserId();
- registryElement.getCred();
- BusinessElement busElement = (BusinessElement)selectedElement;
- ListManager pubAssertions = busElement.getPublisherAssertions();
-
- // determine whether this is a owned business
- // if not, the AddPublisherAssertionsAction cannot be performed
- if (!isBusinessOwned(busElement)) {
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NOT_OWNED_BUSINESS"));
- return false;
- }
-
- try {
- String[] pubAssertionViewIds = (String[])propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_VIEWID);
- Vector pubAssertionVector = new Vector();
- boolean refreshRequired = false;
-
- for (int i = 0; i < pubAssertionViewIds.length; i++) {
- int viewID = Integer.parseInt(pubAssertionViewIds[i]);
- ListElement listElement = pubAssertions.getElementWithViewId(viewID);
- PublisherAssertionElement pubAssertionElement = (PublisherAssertionElement)listElement.getObject();
- PublisherAssertion pubAssertion = pubAssertionElement.getPublisherAssertion();
- pubAssertionVector.add(pubAssertion);
- if (pubAssertionElement.getStatus().equals(CompletionStatus.COMPLETE))
- refreshRequired = true;
- }
-
- DispositionReport report = proxy.delete_publisherAssertions(registryElement.getAuthInfoString(), pubAssertionVector);
- //report status
- Vector reportErrInfo = report.getResultVector();
- for (int i = 0; i < reportErrInfo.size(); i++) {
- messageQueue.addMessage(((Result) reportErrInfo.get(i)).getErrInfo().getText());
- }
-
- // refresh is required, refresh the whole publisher assertion table
- if (refreshRequired) {
- ShowPublisherAssertionsAction showPAAction = new ShowPublisherAssertionsAction(controller_);
- Hashtable propertyTable = showPAAction.getPropertyTable();
- Object ids = propertyTable_.get(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- if (ids != null)
- propertyTable.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID, ids);
- showPAAction.run();
- }
- // refresh is not required, delete the selected publisher assertion elements
- else {
- for (int k = 0; k < pubAssertionViewIds.length; k++) {
- pubAssertions.removeElementWithViewId(Integer.parseInt(pubAssertionViewIds[k]));
- }
- }
-
- return report.success();
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- DispositionReport report = uddie.getDispositionReport();
- Vector reportErrInfo = report.getResultVector();
- for (int i = 0; i < reportErrInfo.size(); i++) {
- messageQueue.addMessage(((Result) reportErrInfo.get(i)).getErrInfo().getText());
- }
- return false;
- }
- catch (Exception e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("Exception");
- messageQueue.addMessage(e.getMessage());
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemoveSubQueryItemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemoveSubQueryItemAction.java
deleted file mode 100644
index 01bb1f7f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/RemoveSubQueryItemAction.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-
-public class RemoveSubQueryItemAction extends Action
-{
- private Controller controller_;
-
- public RemoveSubQueryItemAction(Controller controller)
- {
- super();
- controller_ = controller;
- }
-
- // uddi/actions/RemoveSubQueryItemActionJSP.jsp?subQueryKey=...&subQueryListKey=...&subQueryListItemId=...
- public static final String getActionLink(String subQueryKey,String subQueryListKey,int subQueryListItemId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/RemoveSubQueryItemActionJSP.jsp?");
- actionLink.append(UDDIActionInputs.SUBQUERY_KEY).append('=').append(subQueryKey);
- actionLink.append('&').append(UDDIActionInputs.SUBQUERY_LIST_KEY).append('=').append(subQueryListKey);
- actionLink.append('&').append(UDDIActionInputs.SUBQUERY_LIST_ITEMID).append('=').append(subQueryListItemId);
- return actionLink.toString();
- }
-
- public boolean populatePropertyTable(HttpServletRequest request)
- {
- String subQueryKey = request.getParameter(UDDIActionInputs.SUBQUERY_KEY);
- String subQueryListKey = request.getParameter(UDDIActionInputs.SUBQUERY_LIST_KEY);
- String subQueryListItemId = request.getParameter(UDDIActionInputs.SUBQUERY_LIST_ITEMID);
-
- if (subQueryKey != null)
- propertyTable_.put(UDDIActionInputs.SUBQUERY_KEY,subQueryKey);
-
- if (subQueryListKey != null)
- propertyTable_.put(UDDIActionInputs.SUBQUERY_LIST_KEY,subQueryListKey);
-
- if (subQueryListItemId != null)
- propertyTable_.put(UDDIActionInputs.SUBQUERY_LIST_ITEMID,subQueryListItemId);
-
- return true;
- }
-
- public boolean run()
- {
- propertyTable_.get(UDDIActionInputs.SUBQUERY_KEY);
- propertyTable_.get(UDDIActionInputs.SUBQUERY_LIST_KEY);
- int subQueryListItemId = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.SUBQUERY_LIST_ITEMID));
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node currentNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(currentNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties((String)propertyTable_.get(UDDIActionInputs.SUBQUERY_KEY));
- Vector list = (Vector)formToolPI.getProperty((String)propertyTable_.get(UDDIActionInputs.SUBQUERY_LIST_KEY));
- list.removeElementAt(subQueryListItemId);
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ResizeUDDIFramesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ResizeUDDIFramesAction.java
deleted file mode 100644
index 8d37a9620..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ResizeUDDIFramesAction.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ResizeFramesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIFrameNames;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class ResizeUDDIFramesAction extends ResizeFramesAction
-{
- public ResizeUDDIFramesAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processOthers(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- // Save the current frameset sizes.
- String frameName = (String)propertyTable_.get(ActionInputs.FRAME_NAME);
- String perspectiveContentFramesetCols = (String)propertyTable_.get(UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
-
- // Set the new frameset sizes.
- if (frameName.equals(UDDIFrameNames.NAVIGATOR_CONTAINER))
- {
- uddiPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
- uddiPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- if (perspectiveContentFramesetCols.startsWith("100%"))
- {
- // Restore.
- uddiPerspective.setPerspectiveContentFramesetCols(uddiPerspective.getSavedPerspectiveContentFramesetCols());
- }
- else
- {
- // Maximize.
- uddiPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- uddiPerspective.setPerspectiveContentFramesetCols("100%,0%");
- }
- }
- else if (frameName.equals(UDDIFrameNames.PROPERTIES_CONTAINER))
- {
- if (actionsContainerFramesetRows.startsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- uddiPerspective.setPerspectiveContentFramesetCols(uddiPerspective.getSavedPerspectiveContentFramesetCols());
- uddiPerspective.setActionsContainerFramesetRows(uddiPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- uddiPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- uddiPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- uddiPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- uddiPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- uddiPerspective.setActionsContainerFramesetRows("100%,0%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- uddiPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- uddiPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- else if (frameName.equals(UDDIFrameNames.STATUS_CONTAINER))
- {
- if (actionsContainerFramesetRows.endsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- uddiPerspective.setPerspectiveContentFramesetCols(uddiPerspective.getSavedPerspectiveContentFramesetCols());
- uddiPerspective.setActionsContainerFramesetRows(uddiPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- uddiPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- uddiPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- uddiPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- uddiPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- uddiPerspective.setActionsContainerFramesetRows("0%,100%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- uddiPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- uddiPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectCategoryNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectCategoryNodeAction.java
deleted file mode 100644
index 2088d3d76..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectCategoryNodeAction.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class SelectCategoryNodeAction extends SelectNodeAction
-{
- public SelectCategoryNodeAction(Controller controller)
- {
- super(controller,controller.getUDDIPerspective().getCategoryManager());
- }
-
- // uddi/actions/SelectCategoryNodeAction.jsp?sessionId=...&nodeId=...
- public static String getActionLink(String sessionId,int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/SelectCategoryNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- actionLink.append('&').append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final String getActionLinkForHistory()
- {
- // Do not add this action to the history.
- return null;
- }
-
- public final boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- performBaseAction(nodeId);
- return true;
- }
-
- public final String getTreeContentVar()
- {
- return "categoryBrowserWindowContent";
- }
-
- public final String getTreeContentPage()
- {
- return null;
- }
-
- public final String getPropertiesContainerVar()
- {
- return null;
- }
-
- public final String getPropertiesContainerPage()
- {
- return null;
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_UDDI;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectFindToolAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectFindToolAction.java
deleted file mode 100644
index 896d0cacf..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectFindToolAction.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-
-public class SelectFindToolAction extends SelectPropertiesToolAction
-{
- protected String subQueryKey_;
- protected boolean toolLinkChanged_;
-
- public SelectFindToolAction(Controller controller)
- {
- super(controller);
- subQueryKey_ = null;
- toolLinkChanged_ = false;
- }
-
- public boolean processLinkParameters(HttpServletRequest request)
- {
- boolean result = super.processLinkParameters(request);
- subQueryKey_ = request.getParameter(UDDIActionInputs.SUBQUERY_KEY);
- return result;
- }
-
- // /uddi/actions/SelectFindToolAction.jsp?nodeId=...&toolId=...<&viewId=...&viewToolId=...>&subQueryKey=...<&isHistory=1>
- public static final String getActionLink(int nodeId,int toolId,int viewId,int viewToolId,String subQueryKey,boolean forHistory)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/SelectFindToolActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- actionLink.append('&').append(ActionInputs.TOOLID).append('=').append(toolId);
- if (viewId != ActionInputs.VIEWID_DEFAULT)
- {
- actionLink.append('&').append(ActionInputs.VIEWID).append('=').append(viewId);
- actionLink.append('&').append(ActionInputs.VIEWTOOLID).append('=').append(viewToolId);
- }
- actionLink.append('&').append(UDDIActionInputs.SUBQUERY_KEY).append('=').append(subQueryKey);
-
- if (forHistory)
- actionLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return actionLink.toString();
- }
-
- public boolean run()
- {
- if (!super.run())
- return false;
- FormTool formTool = (FormTool)(selectedNode_.getCurrentToolManager().getSelectedTool());
- String currentSubQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- if (subQueryKey_ != null && !subQueryKey_.equals(currentSubQueryKey))
- {
- toolLinkChanged_ = true;
- formTool.setProperty(UDDIActionInputs.SUBQUERY_KEY,subQueryKey_);
- }
- return true;
- }
-
- public boolean requiresViewSelection()
- {
- return toolLinkChanged_;
- }
-
- protected String getActionLinkForHistory()
- {
- int nodeId = selectedNode_.getNodeId();
- int toolId = selectedTool_.getToolId();
- int viewId = selectedNode_.getViewId();
- int viewToolId = selectedNode_.getViewToolId();
- return getActionLink(nodeId,toolId,viewId,viewToolId,subQueryKey_,true);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectNavigatorNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectNavigatorNodeAction.java
deleted file mode 100644
index 8b8ddbaa3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectNavigatorNodeAction.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class SelectNavigatorNodeAction extends SelectNodeAction
-{
- public SelectNavigatorNodeAction(Controller controller)
- {
- super(controller,controller.getUDDIPerspective().getNavigatorManager());
- }
-
- // uddi/actions/SelectNavigatorNodeAction.jsp?nodeId=...<&isHistory=1>
- public static String getActionLink(int nodeId,boolean forHistory)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/SelectNavigatorNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- if (forHistory)
- actionLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return actionLink.toString();
- }
-
- public String getActionLinkForHistory()
- {
- ToolManager toolManager = selectedNode_.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- int nodeId = selectedNode_.getNodeId();
- selectedTool.getToolId();
- selectedNode_.getViewId();
- selectedNode_.getViewToolId();
- if (selectedTool.getToolType() != ToolTypes.ACTION)
- return selectedTool.getSelectToolActionHref(true);
- else
- return getActionLink(nodeId,true);
- }
-
- public final String getTreeContentVar()
- {
- return "navigatorContent";
- }
-
- public final String getTreeContentPage()
- {
- return "uddi/navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar()
- {
- return "propertiesContainer";
- }
-
- public final String getPropertiesContainerPage()
- {
- return "uddi/properties_container.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_UDDI;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectPropertiesToolAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectPropertiesToolAction.java
deleted file mode 100644
index 821784add..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectPropertiesToolAction.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class SelectPropertiesToolAction extends SelectNodeToolAction
-{
- public SelectPropertiesToolAction(Controller controller)
- {
- super(controller, controller.getUDDIPerspective().getNavigatorManager());
- }
-
- // /uddi/actions/SelectPropertiesToolAction.jsp?nodeId=...&toolId=...<&viewId=...&viewToolId=...><&isHistory=1>
- public static final String getActionLink(int nodeId,int toolId,int viewId,int viewToolId,boolean forHistory)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/SelectPropertiesToolActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- actionLink.append('&').append(ActionInputs.TOOLID).append('=').append(toolId);
- if (viewId != ActionInputs.VIEWID_DEFAULT)
- {
- actionLink.append('&').append(ActionInputs.VIEWID).append('=').append(viewId);
- actionLink.append('&').append(ActionInputs.VIEWTOOLID).append('=').append(viewToolId);
- }
- if (forHistory)
- actionLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return actionLink.toString();
- }
-
- protected String getActionLinkForHistory()
- {
- int nodeId = selectedNode_.getNodeId();
- int toolId = selectedTool_.getToolId();
- int viewId = selectedNode_.getViewId();
- int viewToolId = selectedNode_.getViewToolId();
- return getActionLink(nodeId,toolId,viewId,viewToolId,true);
- }
-
- public final String getTreeContentVar()
- {
- return "navigatorContent";
- }
-
- public final String getTreeContentPage()
- {
- return "uddi/navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar()
- {
- return "propertiesContainer";
- }
-
- public final String getPropertiesContainerPage()
- {
- return "uddi/properties_container.jsp";
- }
-
- public final String getPropertiesContentVar()
- {
- return "propertiesContent";
- }
-
- public final String getPropertiesContentPage()
- {
- return "uddi/properties_content.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_UDDI;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectSubQueryItemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectSubQueryItemAction.java
deleted file mode 100644
index 490fb96bf..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SelectSubQueryItemAction.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class SelectSubQueryItemAction extends SelectPropertiesToolAction
-{
- private boolean requiresTreeViewRefresh_;
- private boolean requiresViewSelection_;
- private boolean newUUIDQueryCreated_;
- private String itemName_;
- public SelectSubQueryItemAction(Controller controller)
- {
- super(controller);
- requiresTreeViewRefresh_ = false;
- requiresViewSelection_ = false;
- newUUIDQueryCreated_ = false;
- itemName_ = null;
- }
-
- // /uddi/actions/SelectSubQueryItemAction.jsp?nodeId=...&toolId=...<&viewId=...>&subQueryKey=...&subQueryListKey=...&subQueryListItemId=...&queryItem=...<&isHistory=1>
- public static final String getActionLink(int nodeId,int toolId,int viewId,String subQueryKey,String subQueryListKey,int subQueryListItemId,int queryItem,boolean forHistory)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/SelectSubQueryItemActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- actionLink.append('&').append(ActionInputs.TOOLID).append('=').append(toolId);
- if (viewId != ActionInputs.VIEWID_DEFAULT)
- actionLink.append('&').append(ActionInputs.VIEWID).append('=').append(viewId);
- actionLink.append('&').append(UDDIActionInputs.SUBQUERY_KEY).append('=').append(subQueryKey);
- actionLink.append('&').append(UDDIActionInputs.SUBQUERY_LIST_KEY).append('=').append(subQueryListKey);
- actionLink.append('&').append(UDDIActionInputs.SUBQUERY_LIST_ITEMID).append('=').append(subQueryListItemId);
- actionLink.append('&').append(UDDIActionInputs.QUERY_ITEM).append('=').append(queryItem);
-
- if (forHistory)
- actionLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return actionLink.toString();
- }
-
- public boolean processLinkParameters(HttpServletRequest request)
- {
- boolean result = super.processLinkParameters(request);
- String subQueryKey = request.getParameter(UDDIActionInputs.SUBQUERY_KEY);
- String subQueryListKey = request.getParameter(UDDIActionInputs.SUBQUERY_LIST_KEY);
- String subQueryListItemId = request.getParameter(UDDIActionInputs.SUBQUERY_LIST_ITEMID);
- String queryItemString = request.getParameter(UDDIActionInputs.QUERY_ITEM);
-
- if (subQueryKey != null)
- propertyTable_.put(UDDIActionInputs.SUBQUERY_KEY,subQueryKey);
-
- if (subQueryListKey != null)
- propertyTable_.put(UDDIActionInputs.SUBQUERY_LIST_KEY,subQueryListKey);
-
- if (subQueryListItemId != null)
- propertyTable_.put(UDDIActionInputs.SUBQUERY_LIST_ITEMID,subQueryListItemId);
-
- if (queryItemString != null)
- propertyTable_.put(UDDIActionInputs.QUERY_ITEM,queryItemString);
- return result;
- }
-
- private final boolean findByUUID()
- {
- Node currentNode = nodeManager_.getSelectedNode();
- FormTool formTool = (FormTool)(currentNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties((String)propertyTable_.get(UDDIActionInputs.SUBQUERY_KEY));
- Vector list = (Vector)formToolPI.getProperty((String)propertyTable_.get(UDDIActionInputs.SUBQUERY_LIST_KEY));
- ListElement listElement = (ListElement)list.elementAt(Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.SUBQUERY_LIST_ITEMID)));
- int queryItem = Integer.parseInt((String)propertyTable_.get(UDDIActionInputs.QUERY_ITEM));
- FindAction findAction = null;
- String uuidKey = null;
- String uuidKeyValue = null;
- switch (queryItem)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- findAction = new RegFindBusinessUUIDAction(controller_);
- uuidKey = UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY;
- BusinessEntity sp = (BusinessEntity)listElement.getObject();
- uuidKeyValue = sp.getBusinessKey();
- itemName_ = sp.getDefaultNameString();
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- findAction = new RegFindServiceUUIDAction(controller_);
- uuidKey = UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY;
- BusinessService bs = (BusinessService)listElement.getObject();
- uuidKeyValue = bs.getServiceKey();
- itemName_ = bs.getDefaultNameString();
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- findAction = new RegFindServiceInterfaceUUIDAction(controller_);
- uuidKey = UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY;
- TModel tModel = (TModel)listElement.getObject();
- uuidKeyValue = tModel.getTModelKey();
- itemName_ = tModel.getNameString();
- }
- Hashtable propertyTable = findAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_NAME,uuidKeyValue);
- propertyTable.put(uuidKey,uuidKeyValue);
- boolean result = findAction.run();
- if (result)
- {
- Node itemNode = nodeManager_.getSelectedNode();
- int nodeId = itemNode.getNodeId();
- int toolId = itemNode.getToolManager().getSelectedToolId();
- int viewId = ActionInputs.VIEWID_DEFAULT;
- int viewToolId = ActionInputs.VIEWTOOLID_DEFAULT;
- propertyTable_.put(ActionInputs.NODEID,String.valueOf(nodeId));
- propertyTable_.put(ActionInputs.TOOLID,String.valueOf(toolId));
- propertyTable_.put(ActionInputs.VIEWID,String.valueOf(viewId));
- propertyTable_.put(ActionInputs.VIEWTOOLID,String.valueOf(viewToolId));
- super.run();
- requiresTreeViewRefresh_ = true;
- requiresViewSelection_ = true;
- newUUIDQueryCreated_ = true;
- listElement.setTargetViewToolInfo(nodeId,toolId,viewId);
- return true;
- }
- else
- {
- // The item is no longer in the registry.
- return false;
- }
- }
-
- public final String getItemName()
- {
- return itemName_;
- }
-
- public boolean run()
- {
- // Given the nodeId, toolId and viewId, check if the node or view is stale.
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- int toolId = Integer.parseInt((String)propertyTable_.get(ActionInputs.TOOLID));
- int viewId = ActionInputs.VIEWID_DEFAULT;
- try
- {
- viewId = Integer.parseInt((String)propertyTable_.get(ActionInputs.VIEWID));
- }
- catch (NumberFormatException e)
- {
- }
- int viewToolId = 0;
- if (!isStaleNode(nodeId))
- {
- // Enusre the node is visible.
- requiresTreeViewRefresh_ = makeNodeVisible(nodeManager_.getNode(nodeId));
-
- Node node = nodeManager_.getNode(nodeId);
- if (viewId != ActionInputs.VIEWID_DEFAULT)
- {
- ViewTool viewTool = (ViewTool)(node.getToolManager().getTool(toolId));
- ToolManager elementToolManager = viewTool.getToolManager(viewId);
- if (elementToolManager != null)
- viewToolId = elementToolManager.getSelectedToolId();
- else
- {
- // Stale view
- return findByUUID();
- }
- }
- propertyTable_.put(ActionInputs.VIEWTOOLID,String.valueOf(viewToolId));
- return super.run();
- }
- else
- {
- // Stale node
- return findByUUID();
- }
- }
-
- protected String getActionLinkForHistory()
- {
- int nodeId = selectedNode_.getNodeId();
- int toolId = selectedTool_.getToolId();
- int viewId = selectedNode_.getViewId();
- int viewToolId = selectedNode_.getViewToolId();
- return SelectPropertiesToolAction.getActionLink(nodeId,toolId,viewId,viewToolId,true);
- }
-
- public boolean requiresTreeViewRefresh()
- {
- return super.requiresTreeViewRefresh()|requiresTreeViewRefresh_;
- }
-
- public boolean requiresViewSelection()
- {
- return super.requiresViewSelection()|requiresViewSelection_;
- }
-
- public boolean requiresStatusUpdate()
- {
- return newUUIDQueryCreated_;
- }
-
- public final String getStatusContentVar()
- {
- return "statusContent";
- }
-
- public final String getStatusContentPage()
- {
- return "uddi/status_content.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetBusinessAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetBusinessAction.java
deleted file mode 100644
index cf5234668..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetBusinessAction.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.NodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.uddi4j.datatype.service.BusinessService;
-
-public class ServiceGetBusinessAction extends NodeAction
-{
- private ServiceNode serviceNode_;
- public ServiceGetBusinessAction(Controller controller)
- {
- super(controller,controller.getUDDIPerspective().getNavigatorManager());
- serviceNode_ = null;
- }
-
- // uddi/actions/ServiceGetBusinessActionJSP.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ServiceGetBusinessActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean validateService()
- {
- int serviceNodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- serviceNode_ = (ServiceNode)nodeManager_.getNode(serviceNodeId);
- ServiceElement serviceElement = (ServiceElement)serviceNode_.getTreeElement();
- RegFindServiceUUIDAction verifyAction = new RegFindServiceUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,serviceElement.getBusinessService().getServiceKey());
- boolean result = verifyAction.run();
- if (result)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,propertyTable.get(UDDIActionInputs.LATEST_OBJECT));
- return result;
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- BusinessService bs = (BusinessService)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
-
- RegFindBusinessUUIDAction action = new RegFindBusinessUUIDAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_NAME,uddiPerspective.getMessage("NODE_NAME_SERVICE_BUSINESS",serviceNode_.getNodeName()));
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,bs.getBusinessKey());
-
- return action.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetServiceInterfacesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetServiceInterfacesAction.java
deleted file mode 100644
index 61f8124ea..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceGetServiceInterfacesAction.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.uddi4j.datatype.service.BusinessService;
-
-public class ServiceGetServiceInterfacesAction extends UDDINodeAction
-{
- private ServiceNode serviceNode_;
- public ServiceGetServiceInterfacesAction(Controller controller)
- {
- super(controller);
- serviceNode_ = null;
- }
-
- // uddi/actions/ServiceGetServiceInterfacesActionJSP.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ServiceGetServiceInterfacesActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean validateService()
- {
- int serviceNodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- serviceNode_ = (ServiceNode)nodeManager_.getNode(serviceNodeId);
- ServiceElement serviceElement = (ServiceElement)serviceNode_.getTreeElement();
- RegFindServiceUUIDAction verifyAction = new RegFindServiceUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,serviceElement.getBusinessService().getServiceKey());
- boolean result = verifyAction.run();
- if (result)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,propertyTable.get(UDDIActionInputs.LATEST_OBJECT));
- return result;
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- BusinessService bs = (BusinessService)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
- RegFindServiceInterfacesAdvancedAction action = new RegFindServiceInterfacesAdvancedAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_NAME,uddiPerspective.getMessage("NODE_NAME_SERVICE_SERVICE_INTERFACES",serviceNode_.getNodeName()));
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE,Boolean.TRUE);
- ListElement serviceListElement = new ListElement(bs);
- serviceListElement.setTargetViewToolInfo(serviceNode_.getNodeId(),serviceNode_.getToolManager().getSelectedToolId(),serviceNode_.getViewId());
- Vector serviceListVector = new Vector();
- serviceListVector.addElement(serviceListElement);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE,serviceListVector);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_BUSINESS_SERVICE,bs);
- return action.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetBusinessesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetBusinessesAction.java
deleted file mode 100644
index d80035921..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetBusinessesAction.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceInterfaceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.util.TModelBag;
-
-public class ServiceInterfaceGetBusinessesAction extends UDDINodeAction
-{
- private ServiceInterfaceNode siNode_;
- public ServiceInterfaceGetBusinessesAction(Controller controller)
- {
- super(controller);
- siNode_ = null;
- }
-
- // uddi/actions/ServiceInterfacGetBusinessesActionJSP.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ServiceInterfaceGetBusinessesActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean validateServiceInterface()
- {
- int siNodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- siNode_ = (ServiceInterfaceNode)nodeManager_.getNode(siNodeId);
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)siNode_.getTreeElement();
- RegFindServiceInterfaceUUIDAction verifyAction = new RegFindServiceInterfaceUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY,siElement.getTModel().getTModelKey());
- boolean result = verifyAction.run();
- if (result)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,propertyTable.get(UDDIActionInputs.LATEST_OBJECT));
- return result;
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- TModel tModel = (TModel)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
-
- RegFindBusinessesAdvancedAction action = new RegFindBusinessesAdvancedAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_NAME,uddiPerspective.getMessage("NODE_NAME_SI_BUSINESSES",siNode_.getNodeName()));
-
- ListElement siListElement = new ListElement(tModel);
- siListElement.setTargetViewToolInfo(siNode_.getNodeId(),siNode_.getToolManager().getSelectedToolId(),siNode_.getViewId());
- Vector siListVector = new Vector();
- siListVector.addElement(siListElement);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES,siListVector);
-
- Vector tModelKeyStringVector = new Vector();
- tModelKeyStringVector.addElement(tModel.getTModelKey());
- TModelBag tModelBag = new TModelBag(tModelKeyStringVector);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_TMODELBAG,tModelBag);
-
- return action.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetServicesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetServicesAction.java
deleted file mode 100644
index bb23f274c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ServiceInterfaceGetServicesAction.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.ServiceInterfaceNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.util.TModelBag;
-
-public class ServiceInterfaceGetServicesAction extends UDDINodeAction
-{
- private ServiceInterfaceNode siNode_;
- public ServiceInterfaceGetServicesAction(Controller controller)
- {
- super(controller);
- siNode_ = null;
- }
-
- // uddi/actions/ServiceInterfacGetServicesActionJSP.jsp?nodeId=...
- public static String getActionLink(int nodeId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ServiceInterfaceGetServicesActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- return actionLink.toString();
- }
-
- public final boolean validateServiceInterface()
- {
- int siNodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- siNode_ = (ServiceInterfaceNode)nodeManager_.getNode(siNodeId);
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)siNode_.getTreeElement();
- RegFindServiceInterfaceUUIDAction verifyAction = new RegFindServiceInterfaceUUIDAction(controller_);
- Hashtable propertyTable = verifyAction.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE,Boolean.TRUE);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY,siElement.getTModel().getTModelKey());
- boolean result = verifyAction.run();
- if (result)
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,propertyTable.get(UDDIActionInputs.LATEST_OBJECT));
- return result;
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- TModel tModel = (TModel)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
-
- RegFindServicesAdvancedAction action = new RegFindServicesAdvancedAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_NAME,uddiPerspective.getMessage("NODE_NAME_SI_SERVICES",siNode_.getNodeName()));
-
- ListElement siListElement = new ListElement(tModel);
- siListElement.setTargetViewToolInfo(siNode_.getNodeId(),siNode_.getToolManager().getSelectedToolId(),siNode_.getViewId());
- Vector siListVector = new Vector();
- siListVector.addElement(siListElement);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,siListVector);
-
- Vector tModelKeyStringVector = new Vector();
- tModelKeyStringVector.addElement(tModel.getTModelKey());
- TModelBag tModelBag = new TModelBag(tModelKeyStringVector);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_TMODELBAG,tModelBag);
-
- return action.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ShowPublisherAssertionsAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ShowPublisherAssertionsAction.java
deleted file mode 100644
index 44a6a9805..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ShowPublisherAssertionsAction.java
+++ /dev/null
@@ -1,425 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.PublisherAssertionElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.response.AssertionStatusItem;
-import org.uddi4j.response.AssertionStatusReport;
-import org.uddi4j.response.CompletionStatus;
-import org.uddi4j.response.DispositionReport;
-import org.uddi4j.response.RelatedBusinessInfo;
-import org.uddi4j.response.RelatedBusinessesList;
-import org.uddi4j.response.Result;
-import org.uddi4j.response.SharedRelationships;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.FindQualifiers;
-import org.uddi4j.util.KeyedReference;
-
-public class ShowPublisherAssertionsAction extends CommonPublisherAssertionsAction
-{
-
- protected String subQueryKey_;
- protected boolean isSubQueryGet_;
- protected boolean subQueryInitiated_;
- protected String newSubQuery_;
- protected String newSubQueryItem_;
-
- public ShowPublisherAssertionsAction(Controller controller)
- {
- super(controller);
-
- subQueryKey_ = null;
- isSubQueryGet_ = false;
- subQueryInitiated_ = false;
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- if (registryNode_ == null)
- return false;
-
- // ids from uddiObjects_table
- String[] selectedBusIds = parser.getParameterValues(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID);
- if (selectedBusIds != null && selectedBusIds.length > 0)
- propertyTable_.put(UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID, selectedBusIds);
-
- newSubQuery_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_INITIATED);
- String isSubQueryGetString = parser.getParameter(UDDIActionInputs.SUBQUERY_GET);
- newSubQueryItem_ = parser.getParameter(UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM);
- subQueryKey_ = parser.getParameter(UDDIActionInputs.SUBQUERY_KEY);
-
- // Validate the data.
- controller_.getUDDIPerspective();
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey_);
- formToolPI.clearErrors();
-
- if (newSubQuery_ != null && newSubQuery_.length() > 0)
- subQueryInitiated_ = true;
- else
- subQueryInitiated_ = false;
-
- if (isSubQueryGetString != null)
- isSubQueryGet_ = Boolean.valueOf(isSubQueryGetString).booleanValue();
-
- // if not yet logged in, validate the parameters needed to log in
- // NOTE: This action does NOT require the user to be logged in.
- if (!isLoggedIn_) {
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (userID != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userID);
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
- }
-
- return true;
- }
-
- public final boolean isSubQueryInitiated()
- {
- return subQueryInitiated_;
- }
-
- public final boolean isSubQueryGet()
- {
- return isSubQueryGet_;
- }
-
- public final String getSubQueryKey()
- {
- return subQueryKey_;
- }
-
- public final String getNewSubQuery()
- {
- return newSubQuery_;
- }
-
- public final String getNewSubQueryItem()
- {
- return newSubQueryItem_;
- }
-
- public boolean run()
- {
- // Synchronize client view and server model (uddiObject_table.jsp)
- synchronizeUDDIObjectTable();
-
- if (registryNode_ == null)
- return false;
-
- RegistryElement registryElement = (RegistryElement)registryNode_.getTreeElement();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-
- if (!(selectedElement instanceof BusinessElement))
- return false;
-
- // if not yet logged in, log in first
- if (!isLoggedIn_) {
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userID = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- try {
- if (Validator.validateURL(publishURL) &&
- Validator.validateString(userID) &&
- password != null) {
- registryElement.performLogin(publishURL, userID, password);
- isLoggedIn_ = registryElement.isLoggedIn();
- }
- }
- catch (TransportException te) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("TransportException");
- messageQueue.addMessage(te.getMessage());
- return false;
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(uddie.toString());
- return false;
- }
- catch (MalformedURLException me) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("MalformedURLException");
- messageQueue.addMessage(me.getMessage());
- return false;
- }
- }
-
- // show all assertion iff is logged in and business is owned
- // else show only completed ones
- BusinessElement busElement = (BusinessElement)selectedElement;
- if (isLoggedIn_ && isBusinessOwned(busElement))
- return showPublisherAssertionsForOwnedBus(busElement);
- else
- return showPublisherAssertionsForNonOwnedBus(busElement);
- }
-
- private boolean showPublisherAssertionsForOwnedBus(BusinessElement busElement) {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- // try to get a list of all publisher assertion based on the current registry's authToken
- ListManager listManager = new ListManager();
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey_);
- formToolPI.removeProperty(UDDIActionInputs.QUERY_INPUT_EXISTING_PUBLISHER_ASSERTIONS);
- Vector queryInputVector = new Vector();
- RegistryElement registryElement = (RegistryElement)registryNode_.getTreeElement();
- registryElement.getUserId();
- registryElement.getCred();
-
- // show all publisher assertions
- UDDIProxy proxy = ((RegistryElement)registryNode_.getTreeElement()).getProxy();
- AssertionStatusReport assertionReport;
- try {
- assertionReport = proxy.get_assertionStatusReport(registryElement.getAuthInfoString(), (CompletionStatus)null);
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- DispositionReport report = uddie.getDispositionReport();
- Vector reportErrInfo = report.getResultVector();
- for (int i = 0; i < reportErrInfo.size(); i++) {
- messageQueue.addMessage(((Result) reportErrInfo.get(i)).getErrInfo().getText());
- }
- return false;
- }
- catch (Exception e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("Exception");
- messageQueue.addMessage(e.getMessage());
- return false;
- }
- Vector assertionVector = assertionReport.getAssertionStatusItemVector();
- Vector otherBusinessKeys = new Vector();
- Vector pubAssertionElements = new Vector();
-
- for (int i = 0; i < assertionVector.size(); i++) {
- AssertionStatusItem assertionItem = (AssertionStatusItem)assertionVector.elementAt(i);
- // determine the from/to business keys
- String fromKey = assertionItem.getFromKey().getText();
- String toKey = assertionItem.getToKey().getText();
- String owningBusinessKey = busElement.getBusinessEntity().getBusinessKey();
- // ignore this assertion if neither the from key nor the to key equals to this business's key
- if (!owningBusinessKey.equals(fromKey) && !owningBusinessKey.equals(toKey))
- continue;
- String otherBusinessKey = ((owningBusinessKey.equals(fromKey)) ? toKey : fromKey);
- // retrieve the information of the "other business"
- otherBusinessKeys.add(otherBusinessKey);
-
- // retrieve the status of the publisher assertion
- String status = assertionItem.getCompletionStatus().getText();
- KeyedReference keyedRef = assertionItem.getKeyedReference();
- PublisherAssertionElement pubAssertionElement = new PublisherAssertionElement(
- fromKey,
- toKey,
- owningBusinessKey,
- null,
- -1,
- status,
- keyedRef);
- pubAssertionElements.add(pubAssertionElement);
- }
- if (otherBusinessKeys.size() > 0) {
- Vector busEntities;
- try {
- busEntities = proxy.get_businessDetail(otherBusinessKeys).getBusinessEntityVector();
- }
- catch (Exception ex) {
- busEntities = new Vector();
- if (otherBusinessKeys.size() > 1) {
- for (int j = 0; j < otherBusinessKeys.size(); j++) {
- try {
- busEntities.add(proxy.get_businessDetail((String)otherBusinessKeys.get(j)).getBusinessEntityVector().get(0));
- }
- catch (Exception exception) {
- pubAssertionElements.remove(j);
- }
- }
- }
- else
- pubAssertionElements.remove(0);
- }
- for (int j = 0; j < busEntities.size(); j++) {
- BusinessEntity be = (BusinessEntity)busEntities.get(j);
- PublisherAssertionElement pubAssertionElement = (PublisherAssertionElement)pubAssertionElements.get(j);
- ListElement le = new ListElement(be);
- queryInputVector.add(le);
- int subQueryItemId = queryInputVector.indexOf(le);
- pubAssertionElement.setServiceProvider(le);
- pubAssertionElement.setSubQueryItemId(subQueryItemId);
- listManager.add(new ListElement(pubAssertionElement));
- }
- }
- busElement.setPublisherAssertions(listManager);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_EXISTING_PUBLISHER_ASSERTIONS, queryInputVector);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_PUBLISHER_ASSERTIONS_REFRESHED"));
- return true;
- }
-
- private boolean showPublisherAssertionsForNonOwnedBus(BusinessElement busElement) {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- // try to get a list of publisher assertions based on the business key
- ListManager listManager = new ListManager();
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey_);
- formToolPI.removeProperty(UDDIActionInputs.QUERY_INPUT_EXISTING_PUBLISHER_ASSERTIONS);
- Vector queryInputVector = new Vector();
- UDDIProxy proxy = ((RegistryElement)registryNode_.getTreeElement()).getProxy();
- RelatedBusinessesList relatedBusList;
- try {
- relatedBusList = proxy.find_relatedBusinesses(busElement.getBusinessEntity().getBusinessKey(),
- (KeyedReference)null,
- (FindQualifiers)null);
- }
- catch (UDDIException uddie) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- DispositionReport report = uddie.getDispositionReport();
- Vector reportErrInfo = report.getResultVector();
- for (int i = 0; i < reportErrInfo.size(); i++) {
- messageQueue.addMessage(((Result) reportErrInfo.get(i)).getErrInfo().getText());
- }
- return false;
- }
- catch (Exception e) {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("Exception");
- messageQueue.addMessage(e.getMessage());
- return false;
- }
- Vector relatedBusVector = relatedBusList.getRelatedBusinessInfos().getRelatedBusinessInfoVector();
- Vector otherBusinessKeys = new Vector();
- Vector pubAssertionElements = new Vector();
- for (int i = 0; i < relatedBusVector.size(); i++) {
- RelatedBusinessInfo relatedBusInfo = (RelatedBusinessInfo)relatedBusVector.elementAt(i);
- // determine the from/to business keys
- String fromKey;
- String toKey;
- String owningBusinessKey;
- if (relatedBusInfo.getDefaultSharedRelationships().getDirection().equals(SharedRelationships.DIRECTION_FROMKEY)) {
- fromKey = busElement.getBusinessEntity().getBusinessKey();
- toKey = relatedBusInfo.getBusinessKey();
- owningBusinessKey = fromKey;
- otherBusinessKeys.add(toKey);
- }
- else {
- fromKey = relatedBusInfo.getBusinessKey();
- toKey = busElement.getBusinessEntity().getBusinessKey();
- owningBusinessKey = toKey;
- otherBusinessKeys.add(fromKey);
- }
-
- Vector keyedRefVector = relatedBusInfo.getDefaultSharedRelationships().getKeyedReferenceVector();
- PublisherAssertionElement[] pubAssertionElementArray = new PublisherAssertionElement[keyedRefVector.size()];
- for (int k = 0; k < keyedRefVector.size(); k++) {
- // retrieve the status of the publisher assertion
- String status = CompletionStatus.COMPLETE;
- KeyedReference keyedRef = (KeyedReference)keyedRefVector.elementAt(k);
- PublisherAssertionElement pubAssertionElement = new PublisherAssertionElement(
- fromKey,
- toKey,
- owningBusinessKey,
- null,
- -1,
- status,
- keyedRef);
- pubAssertionElementArray[k] = pubAssertionElement;
- }
- pubAssertionElements.add(pubAssertionElementArray);
- }
- if (otherBusinessKeys.size() > 0) {
- Vector busEntities;
- try {
- busEntities = proxy.get_businessDetail(otherBusinessKeys).getBusinessEntityVector();
- }
- catch (Exception ex) {
- busEntities = new Vector();
- if (otherBusinessKeys.size() > 1) {
- for (int j = 0; j < otherBusinessKeys.size(); j++) {
- try {
- busEntities.add(proxy.get_businessDetail((String)otherBusinessKeys.get(j)).getBusinessEntityVector().get(0));
- }
- catch (Exception exception) {
- pubAssertionElements.remove(j);
- }
- }
- }
- else
- pubAssertionElements.remove(0);
- }
- for (int j = 0; j < busEntities.size(); j++) {
- BusinessEntity be = (BusinessEntity)busEntities.get(j);
- ListElement le = new ListElement(be);
- queryInputVector.add(le);
- int subQueryItemId = queryInputVector.indexOf(le);
- PublisherAssertionElement[] pubAssertionElementArray = (PublisherAssertionElement[])pubAssertionElements.get(j);
- for (int k = 0; k < pubAssertionElementArray.length; k++) {
- pubAssertionElementArray[k].setServiceProvider(le);
- pubAssertionElementArray[k].setSubQueryItemId(subQueryItemId);
- listManager.add(new ListElement(pubAssertionElementArray[k]));
- }
- }
- }
- busElement.setPublisherAssertions(listManager);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_EXISTING_PUBLISHER_ASSERTIONS, queryInputVector);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_PUBLISHER_ASSERTIONS_REFRESHED"));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SwitchPerspectiveFromUDDIAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SwitchPerspectiveFromUDDIAction.java
deleted file mode 100644
index 5cc79e6be..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/SwitchPerspectiveFromUDDIAction.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public final class SwitchPerspectiveFromUDDIAction extends ShowPerspectiveAction
-{
- public SwitchPerspectiveFromUDDIAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- String perspectiveContentFramesetCols = (String)propertyTable_.get(UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
-
- // Save the frameset sizes iff no frame is maximized.
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- if (!perspectiveContentFramesetCols.startsWith("100%") && !perspectiveContentFramesetCols.endsWith("100%"))
- uddiPerspective.setPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
-
- if (!actionsContainerFramesetRows.startsWith("100%") && !actionsContainerFramesetRows.endsWith("100%"))
- uddiPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
-
- return super.run();
- }
-
- public static final String getFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- StringBuffer formLink = new StringBuffer("uddi/actions/SwitchPerspectiveFromUDDIActionJSP.jsp?");
- formLink.append(ActionInputs.PERSPECTIVE).append('=').append(targetPerspectiveId);
- if (forHistory)
- formLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return formLink.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleCategoryNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleCategoryNodeAction.java
deleted file mode 100644
index 85a089d3d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleCategoryNodeAction.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ToggleNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-
-public class ToggleCategoryNodeAction extends ToggleNodeAction
-{
- public ToggleCategoryNodeAction(Controller controller)
- {
- super(controller,controller.getUDDIPerspective().getCategoryManager());
- }
-
- // uddi/actions/ToggleNavigatorNodeAction.jsp?sId=...&nodeId=...&open=...
- public static final String getActionLink(String sessionId,int nodeId,boolean open)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ToggleCategoryNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- actionLink.append('&').append(ActionInputs.NODEID).append('=').append(nodeId);
- actionLink.append('&').append(ActionInputs.OPEN).append('=').append(open?ActionInputs.OPEN_NODE:ActionInputs.CLOSE_NODE);
- return actionLink.toString();
- }
-
- public final boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- performBaseAction(nodeId);
- return true;
- }
-
- public final String getActionLinkForHistory()
- {
- return null;
- }
-
- public final String getTreeContentVar()
- {
- return "categoryBrowserWindowContent";
- }
-
- public final String getTreeContentPage()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- return OpenCategoryBrowserAction.getCategoryContentPage(controller_.getSessionId(),uddiPerspective.getCategoryTModelKey());
- }
-
- public final String getTreeContainerPage()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- return OpenCategoryBrowserAction.getActionLink(controller_.getSessionId(),uddiPerspective.getCategoryTModelKey());
- }
-
- public final String getPropertiesContainerVar()
- {
- return null;
- }
-
- public final String getPropertiesContainerPage()
- {
- return null;
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_UDDI;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleNavigatorNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleNavigatorNodeAction.java
deleted file mode 100644
index 0a8045bd5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/ToggleNavigatorNodeAction.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ToggleNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ToggleNavigatorNodeAction extends ToggleNodeAction
-{
- public ToggleNavigatorNodeAction(Controller controller)
- {
- super(controller,controller.getUDDIPerspective().getNavigatorManager());
- }
-
- // uddi/actions/ToggleNavigatorNodeAction.jsp?nodeId=...&open=...
- public static String getActionLink(int nodeId,boolean open)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/ToggleNavigatorNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- actionLink.append('&').append(ActionInputs.OPEN).append('=').append(open?ActionInputs.OPEN_NODE:ActionInputs.CLOSE_NODE);
- return actionLink.toString();
- }
-
- // This should be called only to select the toggled node when, at the time of
- // the collapse event, a descendant node was selected.
- public final String getActionLinkForHistory()
- {
- ToolManager toolManager = toggledNode_.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- int nodeId = toggledNode_.getNodeId();
- int toolId = selectedTool.getToolId();
- int viewId = toggledNode_.getViewId();
- int viewToolId = toggledNode_.getViewToolId();
- if (selectedTool.getToolType() != ToolTypes.ACTION)
- return SelectPropertiesToolAction.getActionLink(nodeId,toolId,viewId,viewToolId,true);
- else
- return SelectNavigatorNodeAction.getActionLink(nodeId,true);
- }
-
- public final String getTreeContentVar()
- {
- return "navigatorContent";
- }
-
- public final String getTreeContentPage()
- {
- return "uddi/navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar()
- {
- return "propertiesContainer";
- }
-
- public final String getPropertiesContainerPage()
- {
- return "uddi/properties_container.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_UDDI;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferSubQueryResultsAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferSubQueryResultsAction.java
deleted file mode 100644
index 0b20134de..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferSubQueryResultsAction.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.MultipleFormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryTransferTarget;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public class TransferSubQueryResultsAction extends UDDIPropertiesFormAction
-{
- private Node targetNode_;
- public TransferSubQueryResultsAction(Controller controller)
- {
- super(controller);
- targetNode_ = null;
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String[] selectedNodeIds = parser.getParameterValues(ActionInputs.NODEID);
- // The client Javascript enforces the rule that at least one item was selected before the form can be submitted.
- propertyTable_.put(UDDIActionInputs.SELECTED_NODEIDS,selectedNodeIds);
- return true;
- }
-
- public static final String getActionLinkForReturn()
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/TransferSubQueryResultsActionJSP.jsp?");
- actionLink.append(UDDIActionInputs.SHOW_RESULTS_TARGET).append("=1");
- return actionLink.toString();
- }
-
- public final void enableShowResultsTarget()
- {
- // This should only be called if the user clicks on the target link on the query results page. Insert a zero element
- // array so that no results are transferred but the jump back to the correct query and its info occurs.
- propertyTable_.put(UDDIActionInputs.SELECTED_NODEIDS,new String[0]);
- }
-
- public final boolean run()
- {
- // Transfer the results in this Query node into the property expected by the originating node.
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- uddiPerspective.getMessageQueue();
-
- String[] selectedNodeIds = (String[])propertyTable_.get(UDDIActionInputs.SELECTED_NODEIDS);
- Node currentNode = getSelectedNavigatorNode();
- TreeElement currentElement = currentNode.getTreeElement();
- SubQueryTransferTarget target = (SubQueryTransferTarget)(currentElement.getPropertyAsObject(UDDIModelConstants.SUBQUERY_TRANSFER_TARGET));
- String subQueryKey = target.getSubQueryKey();
- String targetQueryKey;
-
- int lastSeparatorPos = subQueryKey.lastIndexOf(':');
- if (lastSeparatorPos == -1)
- targetQueryKey = "";
- else
- targetQueryKey = subQueryKey.substring(0,lastSeparatorPos);
-
- String targetProperty = subQueryKey.substring(lastSeparatorPos+1,subQueryKey.length());
- FormTool targetFormTool = target.getTargetFormTool();
- ((MultipleFormToolPropertiesInterface)targetFormTool).getFormToolProperties(subQueryKey);
- FormToolPropertiesInterface targetQueryFormToolPI = ((MultipleFormToolPropertiesInterface)targetFormTool).getFormToolProperties(targetQueryKey);
- Vector targetList = (Vector)targetQueryFormToolPI.getProperty(targetProperty);
- if (targetList == null)
- targetList = new Vector();
-
- NodeManager nodeManager = currentNode.getNodeManager();
- for (int i=0;i<selectedNodeIds.length;i++)
- {
- int selectedNodeId = Integer.parseInt(selectedNodeIds[i]);
- Node selectedNode = nodeManager.getNode(selectedNodeId);
- TreeElement treeElement = selectedNode.getTreeElement();
- Object object;
- if (treeElement instanceof BusinessElement)
- object = ((BusinessElement)treeElement).getBusinessEntity();
- else if (treeElement instanceof ServiceElement)
- object = ((ServiceElement)treeElement).getBusinessService();
- else
- {
- // Service interface
- object = ((ServiceInterfaceElement)treeElement).getTModel();
- }
- ListElement targetListElement = new ListElement(object);
- targetListElement.setTargetViewToolInfo(selectedNodeId,selectedNode.getToolManager().getSelectedToolId(),selectedNode.getViewId());
- if (targetProperty.equals(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS) || targetProperty.equals(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS) || targetProperty.equals(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE))
- {
- // Clear the manager so a replacement occurs.
- targetList.removeAllElements();
- }
- targetList.addElement(targetListElement);
- }
- targetQueryFormToolPI.setProperty(targetProperty,targetList);
- Hashtable savedParentQueryProperties = target.getParentQueryData();
- Enumeration e = savedParentQueryProperties.keys();
- while (e.hasMoreElements())
- {
- String key = (String)e.nextElement();
- targetQueryFormToolPI.setProperty(key,savedParentQueryProperties.get(key));
- }
-
- // Select the node and the datastructure which is the target of the subquery.
- int targetNodeId = target.getNodeId();
- int targetToolId = target.getToolId();
- int targetViewId = target.getViewId();
- int targetViewToolId = target.getViewToolId();
- nodeManager.setSelectedNodeId(targetNodeId);
- targetNode_ = nodeManager.getSelectedNode();
- targetNode_.getToolManager().setSelectedToolId(targetToolId);
- targetNode_.setViewId(targetViewId);
- if (targetViewId != ActionInputs.VIEWID_DEFAULT)
- targetNode_.getViewToolManager().setSelectedToolId(targetViewToolId);
- targetFormTool.setProperty(UDDIActionInputs.SUBQUERY_KEY,targetQueryKey);
- addToHistory(ActionInputs.PERSPECTIVE_UDDI,SelectFindToolAction.getActionLink(targetNodeId,targetToolId,targetViewId,targetViewToolId,targetQueryKey,true));
- return true;
- }
-
- public final Node getTargetNode()
- {
- return targetNode_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferToAddCategoryDataAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferToAddCategoryDataAction.java
deleted file mode 100644
index 025265d55..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/TransferToAddCategoryDataAction.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-
-public class TransferToAddCategoryDataAction extends Action
-{
- public TransferToAddCategoryDataAction()
- {
- }
-
- // uddi/actions/TransferToAddCategoryDataActionJSP.jsp?sessionId=...&categoryTModelKey=...
- public static final String getActionLink(String sessionId,String categoryTModelKey)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/TransferToAddCategoryDataActionJSP.jsp?");
- actionLink.append(ActionInputs.SESSIONID).append('=').append(sessionId).append('&').append(UDDIActionInputs.CATEGORY_TMODEL_KEY).append('=').append(categoryTModelKey);
- return actionLink.toString();
- }
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public final boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIAddToWSDLPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIAddToWSDLPerspectiveAction.java
deleted file mode 100644
index 5f0659a28..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIAddToWSDLPerspectiveAction.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import javax.servlet.http.HttpServletRequest;
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LinkAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.OpenWSDLAction;
-import org.uddi4j.datatype.service.BusinessService;
-
-public class UDDIAddToWSDLPerspectiveAction extends LinkAction
-{
- public UDDIAddToWSDLPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- public static final String getActionLink(int nodeId,int toolId,int viewId,int viewToolId)
- {
- StringBuffer actionLink = new StringBuffer("uddi/actions/UDDIAddToWSDLPerspectiveActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeId);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolId);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewId);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolId);
- return actionLink.toString();
- }
-
- protected boolean processLinkParameters(HttpServletRequest request)
- {
- String nodeIdString = request.getParameter(ActionInputs.NODEID);
- // Perform data validation.
- try
- {
- Integer.parseInt(nodeIdString);
- }
- catch (NumberFormatException e)
- {
- // Validation failed!
- return false;
- }
- propertyTable_.put(ActionInputs.NODEID,nodeIdString);
- return true;
- }
-
- public boolean run()
- {
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- NodeManager nodeManager = uddiPerspective.getNavigatorManager();
- Node node = nodeManager.getNode(nodeId);
- TreeElement element = node.getTreeElement();
- if (element instanceof ServiceElement)
- {
- ServiceElement serviceElement = (ServiceElement)element;
- BusinessService bs = serviceElement.getBusinessService();
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- String wsdlURL = uddi4jHelper.getWSDL(bs, serviceElement.getRegistryElement().getProxy());
- if (wsdlURL == null)
- {
- try
- {
- Definition def = uddi4jHelper.getWSDLDefinition(wsdlURL);
- File tempFile = File.createTempFile("temp",".wsdl");
- UDDIImportWSDLToFileSystemAction action = new UDDIImportWSDLToFileSystemAction(controller_);
- action.writeWSDLDefinition(new FileOutputStream(tempFile),def);
- wsdlURL = tempFile.toURL().toString();
- }
- catch (WSDLException e)
- {
- wsdlURL = null;
- }
- catch (MalformedURLException e)
- {
- wsdlURL = null;
- }
- catch (IOException e)
- {
- wsdlURL = null;
- }
- }
-
- if (wsdlURL != null)
- {
- OpenWSDLAction openWSDLAction = new OpenWSDLAction(controller_);
- Hashtable propertyTable = openWSDLAction.getPropertyTable();
- propertyTable.put(ActionInputs.QUERY_INPUT_WSDL_URL,wsdlURL);
- boolean actionResult = openWSDLAction.run();
- if (actionResult) {
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_WSDL_ADDED_TO_WSDL_PERSPECTIVE",wsdlURL));
- return true;
- }
- }
- }
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_WSDL_NOT_ADDED_TO_WSDL_PERSPECTIVE"));
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToFileSystemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToFileSystemAction.java
deleted file mode 100644
index 3c49d5f7c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToFileSystemAction.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.io.OutputStream;
-import javax.wsdl.Definition;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.WSDLFileNameHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class UDDIImportWSDLToFileSystemAction extends ImportToFileSystemAction
-{
- private NodeManager nodeManager_;
- private Definition def_;
- private String defaultWSDLFileName_;
-
- public UDDIImportWSDLToFileSystemAction(Controller controller)
- {
- super(controller);
- nodeManager_ = controller.getUDDIPerspective().getNavigatorManager();
- def_ = null;
- defaultWSDLFileName_ = "temp.wsdl";
- }
-
- public static final String getActionLink(int nodeId,int toolId,int viewId,int viewToolId)
- {
- return ImportToFileSystemAction.getActionLink(nodeId,toolId,viewId,viewToolId,"uddi/actions/UDDIImportWSDLToFileSystemActionJSP.jsp");
- }
-
- public final boolean write(OutputStream os)
- {
- return writeWSDLDefinition(os,def_);
- }
-
- public final String getDefaultFileName()
- {
- return defaultWSDLFileName_;
- }
-
- public final boolean run()
- {
- MessageQueue messageQueue = controller_.getUDDIPerspective().getMessageQueue();
- int nodeId = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- Node node = nodeManager_.getNode(nodeId);
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- String wsdlUrl = null;
- if (node != null)
- {
- TreeElement element = node.getTreeElement();
- if (element instanceof ServiceElement)
- {
- ServiceElement serviceElement = (ServiceElement)element;
- BusinessService bs = serviceElement.getBusinessService();
- wsdlUrl = uddi4jHelper.getWSDL(bs, serviceElement.getRegistryElement().getProxy());
- }
- else if (element instanceof ServiceInterfaceElement)
- {
- TModel tModel = ((ServiceInterfaceElement)element).getTModel();
- wsdlUrl = uddi4jHelper.getWSDL(tModel);
- }
- }
- if (wsdlUrl != null)
- {
- try
- {
- def_ = uddi4jHelper.getWSDLDefinition(wsdlUrl);
- if (def_ != null)
- {
- String wsdlPathname;
- int index = wsdlUrl.indexOf('/');
- if (index != -1)
- wsdlPathname = wsdlUrl.substring(index+1, wsdlUrl.length());
- else
- wsdlPathname = wsdlUrl;
- defaultWSDLFileName_ = WSDLFileNameHelper.getWSDLFileName(wsdlPathname);
- }
- return true;
- }
- catch (Throwable t)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_RETRIEVING_WSDL_DOC"));
- }
- }
- return false;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getUDDIPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getUDDIPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToWorkbenchAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToWorkbenchAction.java
deleted file mode 100644
index 4ab1cac49..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIImportWSDLToWorkbenchAction.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToWorkbenchAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-
-public class UDDIImportWSDLToWorkbenchAction extends ImportToWorkbenchAction
-{
- public UDDIImportWSDLToWorkbenchAction(Controller controller)
- {
- super(controller);
- }
-
- public FormTool getSelectedFormTool()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- return (FormTool)uddiPerspective.getNavigatorManager().getSelectedNode().getCurrentToolManager().getSelectedTool();
- }
-
- public ImportToFileSystemAction newImportToFileSystemAction() {
- UDDIImportWSDLToFileSystemAction action = new UDDIImportWSDLToFileSystemAction(controller_);
- Hashtable table = action.getPropertyTable();
-
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- NodeManager nodeManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = nodeManager.getSelectedNode();
-
- table.put(ActionInputs.NODEID, String.valueOf(selectedNode.getNodeId()));
-
- return action;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getUDDIPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getUDDIPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDILaunchWebServiceWizardAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDILaunchWebServiceWizardAction.java
deleted file mode 100644
index 6a65f46fd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDILaunchWebServiceWizardAction.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import javax.wsdl.Definition;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LaunchWebServiceWizardAction;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class UDDILaunchWebServiceWizardAction extends LaunchWebServiceWizardAction
-{
- public UDDILaunchWebServiceWizardAction(Controller controller)
- {
- super(controller);
- }
-
- public FormTool getSelectedFormTool()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- return (FormTool)uddiPerspective.getNavigatorManager().getSelectedNode().getCurrentToolManager().getSelectedTool();
- }
-
- public boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- NodeManager nodeManager = uddiPerspective.getNavigatorManager();
- Node node = nodeManager.getSelectedNode();
- TreeElement element = node.getTreeElement();
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- String wsdlUrl = null;
- if (element instanceof ServiceElement)
- {
- ServiceElement serviceElement = (ServiceElement)element;
- BusinessService bs = serviceElement.getBusinessService();
- wsdlUrl = uddi4jHelper.getWSDL(bs, serviceElement.getRegistryElement().getProxy());
- }
- else if (element instanceof ServiceInterfaceElement)
- {
- TModel tModel = ((ServiceInterfaceElement)element).getTModel();
- wsdlUrl = uddi4jHelper.getWSDL(tModel);
- }
-
- try
- {
- if (wsdlUrl != null)
- {
- Definition def = uddi4jHelper.getWSDLDefinition(wsdlUrl);
- File tempFile = File.createTempFile("temp",".wsdl");
- UDDIImportWSDLToFileSystemAction action = new UDDIImportWSDLToFileSystemAction(controller_);
- action.writeWSDLDefinition(new FileOutputStream(tempFile),def);
- wsdlUrl = tempFile.toURL().toString();
- return launchWizard(wsdlUrl);
- }
- }
- catch (Throwable t)
- {
- messageQueue.addMessage(controller_.getMessage("MSG_ERROR_RETRIEVING_WSDL_DOC"));
- }
- return false;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getUDDIPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getUDDIPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDINodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDINodeAction.java
deleted file mode 100644
index 4387ffc95..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDINodeAction.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.NodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIMainNode;
-
-public abstract class UDDINodeAction extends NodeAction
-{
- protected RegistryNode regNode_;
- public UDDINodeAction(Controller controller)
- {
- super(controller,controller.getUDDIPerspective().getNavigatorManager());
- regNode_ = getRegistryNode();
- }
-
- public final Node getSelectedNavigatorNode()
- {
- Node selectedNavigatorNode = nodeManager_.getSelectedNode();
- return selectedNavigatorNode;
- }
-
- public final RegistryNode getRegistryNode()
- {
- UDDIMainNode uddiMainNode = (UDDIMainNode)nodeManager_.getRootNode();
- return uddiMainNode.getRegistryNode(getSelectedNavigatorNode());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIPropertiesFormAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIPropertiesFormAction.java
deleted file mode 100644
index 1078b291a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UDDIPropertiesFormAction.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIMainNode;
-
-public abstract class UDDIPropertiesFormAction extends FormAction
-{
- protected NodeManager navigatorManager_;
- public UDDIPropertiesFormAction(Controller controller)
- {
- super(controller);
- navigatorManager_ = controller.getUDDIPerspective().getNavigatorManager();
- }
-
- public final Node getSelectedNavigatorNode()
- {
- return navigatorManager_.getSelectedNode();
- }
-
- public final FormTool getSelectedFormTool()
- {
- return (FormTool)(getSelectedNavigatorNode().getCurrentToolManager().getSelectedTool());
- }
-
- public final RegistryNode getRegistryNode()
- {
- return getRegistryNode(getSelectedNavigatorNode());
- }
-
- public final RegistryNode getRegistryNode(Node registryChildNode)
- {
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager_.getRootNode();
- return uddiMainNode.getRegistryNode(registryChildNode);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UnpublishAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UnpublishAction.java
deleted file mode 100644
index 9a9af761f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UnpublishAction.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.response.DispositionReport;
-import org.uddi4j.transport.TransportException;
-
-public class UnpublishAction extends UDDIPropertiesFormAction
-{
- protected RegistryNode registryNode_;
- protected boolean isLoggedIn_;
-
- public UnpublishAction(Controller controller)
- {
- super(controller);
- registryNode_ = getRegistryNode();
- }
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- RegistryElement regElement = (RegistryElement)registryNode_.getTreeElement();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- FormTool formTool = getSelectedFormTool();
-
- // if not yet logged in, validate the parameters needed to log in
- if (!regElement.isLoggedIn())
- {
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- boolean inputsValid = true;
- if (publishURL != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL, publishURL);
-
- if (!Validator.validateURL(publishURL))
- {
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- inputsValid = false;
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userId != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
-
- if (!Validator.validateString(userId))
- {
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- inputsValid = false;
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD, password);
-
- formTool.updatePropertyTable(propertyTable_);
-
- return inputsValid;
- }
-
- return true;
- }
-
- public boolean run()
- {
- RegistryElement registryElement = (RegistryElement)registryNode_.getTreeElement();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-
- try
- {
- if (!registryElement.isLoggedIn())
- {
- // if not yet logged in, log in first
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-
- registryElement.performLogin(publishURL,userId,password);
- }
-
- String selectedElementKey = selectedElement.getKey();
- String unpublishTypeMessageKey = null;
- UDDIProxy proxy = registryElement.getProxy();
- String authInfo = registryElement.getAuthInfoString();
- DispositionReport dr = null;
- if (selectedElement instanceof BusinessElement)
- {
- unpublishTypeMessageKey = "MSG_INFO_BUSINESS_UNPUBLISHED";
- dr = proxy.delete_business(authInfo,selectedElementKey);
- }
- else if (selectedElement instanceof ServiceElement)
- {
- unpublishTypeMessageKey = "MSG_INFO_SERVICE_UNPUBLISHED";
- dr = proxy.delete_service(authInfo,selectedElementKey);
- }
- else if (selectedElement instanceof ServiceInterfaceElement)
- {
- unpublishTypeMessageKey = "MSG_INFO_SERVICE_INTERFACE_UNPUBLISHED";
- dr = proxy.delete_tModel(authInfo,selectedElementKey);
- }
- if (!dr.success())
- throw new Exception(dr.toString());
- else
- {
- selectedElement.disconnectAll();
- messageQueue.addMessage(uddiPerspective.getMessage(unpublishTypeMessageKey,selectedElement.getName()));
- return true;
- }
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- return false;
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- return false;
- }
- catch (MalformedURLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"MalformedURLException",e);
- return false;
- }
- catch (Exception e)
- {
- handleUnexpectedException(uddiPerspective, messageQueue, "Exception", e);
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateAction.java
deleted file mode 100644
index 6f6365007..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateAction.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.MultipartFormDataParserTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.PublishedItemsNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public abstract class UpdateAction extends UDDIPropertiesFormAction
-{
- protected RegistryNode regNode_;
- private boolean requiresAuthentication_;
- public UpdateAction(Controller controller,boolean requiresAuthentication)
- {
- super(controller);
- regNode_ = getRegistryNode();
- requiresAuthentication_ = requiresAuthentication;
- }
-
- protected abstract boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException;
-
- protected final boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- // Setup for MultipartFormDataParserTransformer
- propertyTable_.put(ActionInputs.MULTIPART_FORM_DATA_PARSER, parser);
-
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- FormTool formTool = getSelectedFormTool();
- FormToolPropertiesInterface formToolPI = formTool;
- formToolPI.clearErrors();
- boolean inputsValid = processOthers(parser,formToolPI);
- for (int i=0;i<removedProperties_.size();i++)
- formToolPI.removeProperty(removedProperties_.elementAt(i));
- formToolPI.updatePropertyTable(propertyTable_);
-
- String publishURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
-
- boolean validateAuthentication = !regElement.isLoggedIn() & requiresAuthentication_;
-
- if (publishURL != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- }
-
- if (validateAuthentication && !Validator.validateString(publishURL))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_PUBLISH_URL"));
- }
-
- if (userId != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- }
-
- if (validateAuthentication && !Validator.validateString(userId))
- {
- inputsValid = false;
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USERID"));
- }
-
- if (password != null)
- {
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-
- return inputsValid;
- }
-
- public abstract boolean refreshFromRegistry();
-
- protected final void refreshNode(BusinessEntity be)
- {
- Node node = getSelectedNavigatorNode();
- Node parentNode = node.getParent();
- TreeElement element = node.getTreeElement();
- element.disconnectAll();
- BusinessElement newBusinessElement = new BusinessElement(be,regNode_.getTreeElement().getModel());
- connectElements(parentNode,newBusinessElement);
- }
-
- protected final void refreshNode(BusinessService bs)
- {
- Node node = getSelectedNavigatorNode();
- Node parentNode = node.getParent();
- TreeElement element = node.getTreeElement();
- element.disconnectAll();
- ServiceElement newServiceElement = new ServiceElement(bs,regNode_.getTreeElement().getModel());
- connectElements(parentNode,newServiceElement);
- }
-
- protected final void refreshNode(TModel tModel)
- {
- Node node = getSelectedNavigatorNode();
- Node parentNode = node.getParent();
- TreeElement element = node.getTreeElement();
- element.disconnectAll();
- ServiceInterfaceElement newServiceInterfaceElement = new ServiceInterfaceElement(tModel,regNode_.getTreeElement().getModel());
- connectElements(parentNode,newServiceInterfaceElement);
- }
-
- private final void connectElements(Node parentNode,TreeElement newElement)
- {
- TreeElement parentElement = parentNode.getTreeElement();
- String rel = null;
- if (parentNode instanceof PublishedItemsNode)
- rel = UDDIModelConstants.REL_PUBLISHED_ITEMS;
- else
- {
- // QueryNode
- rel = UDDIModelConstants.REL_QUERY_RESULTS;
- }
- parentElement.connect(newElement,rel,ModelConstants.REL_OWNER);
- Node newNode = parentNode.getChildNode(newElement);
- int newNodeId = newNode.getNodeId();
- NodeManager nodeManager = parentNode.getNodeManager();
- nodeManager.setSelectedNodeId(newNodeId);
- ToolManager toolManager = newNode.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- addToHistory(ActionInputs.PERSPECTIVE_UDDI,selectedTool.getSelectToolActionHref(true));
- }
-
- protected final void reindexListElementVector(Vector v)
- {
- for (int i=0;i<v.size();i++)
- {
- ListElement listElement = (ListElement)v.elementAt(i);
- listElement.setViewId(i);
- // targetViewId determines whether or not a successfully validated list element remains in edit state.
- }
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length + 1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length - 1] = new MultipartFormDataParserTransformer(controller_);
- return transformers;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateBusinessAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateBusinessAction.java
deleted file mode 100644
index 0c30fcf54..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateBusinessAction.java
+++ /dev/null
@@ -1,409 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Description;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.DiscoveryURL;
-import org.uddi4j.util.DiscoveryURLs;
-import org.uddi4j.util.IdentifierBag;
-import org.uddi4j.util.KeyedReference;
-
-public class UpdateBusinessAction extends UpdateAction
-{
- private boolean isUpdate_;
- public UpdateBusinessAction(Controller controller)
- {
- super(controller,true);
- isUpdate_ = true;
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String uuidKey = parser.getParameter(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
- String[] discoveryURLModifiedStates = parser.getParameterValues(UDDIActionInputs.DISCOVERYURL_MODIFIED);
- String[] discoveryURLViewIds = parser.getParameterValues(UDDIActionInputs.DISCOVERYURL_VIEWID);
- String[] discoveryURLs = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DISCOVERYURL);
- String[] nameModifiedStates = parser.getParameterValues(UDDIActionInputs.NAME_MODIFIED);
- String[] nameViewIds = parser.getParameterValues(UDDIActionInputs.NAME_VIEWID);
- String[] nameLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE);
- String[] names = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME);
- String[] descriptionModifiedStates = parser.getParameterValues(UDDIActionInputs.DESCRIPTION_MODIFIED);
- String[] descriptionViewIds = parser.getParameterValues(UDDIActionInputs.DESCRIPTION_VIEWID);
- String[] descriptionLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE);
- String[] descriptions = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION);
- String[] idModifiedStates = parser.getParameterValues(UDDIActionInputs.IDENTIFIER_MODIFIED);
- String[] idViewIds = parser.getParameterValues(UDDIActionInputs.IDENTIFIER_VIEWID);
- String[] idTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE);
- String[] idKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME);
- String[] idKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE);
- String[] catModifiedStates = parser.getParameterValues(UDDIActionInputs.CATEGORY_MODIFIED);
- String[] catViewIds = parser.getParameterValues(UDDIActionInputs.CATEGORY_VIEWID);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (uuidKey != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,uuidKey);
-
-
- if (discoveryURLModifiedStates != null && discoveryURLViewIds != null && discoveryURLs != null)
- {
- Vector oldDiscoveryURLListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
- Vector newDiscoveryURLListElementVector = new Vector();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DISCOVERYURL");
- for (int i=0;i<discoveryURLs.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- DiscoveryURL discoveryURL = new DiscoveryURL(discoveryURLs[i],"");
- if (!Validator.validateURL(discoveryURLs[i]))
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
-
- int discoveryURLViewId = Integer.parseInt(discoveryURLViewIds[i]);
- boolean isModified = Boolean.valueOf(discoveryURLModifiedStates[i]).booleanValue();
-
- if (discoveryURLViewId == -1 || isModified)
- newDiscoveryURLListElementVector.addElement(new ListElement(discoveryURL));
- else
- newDiscoveryURLListElementVector.addElement(oldDiscoveryURLListElementVector.elementAt(discoveryURLViewId));
- }
- reindexListElementVector(newDiscoveryURLListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,newDiscoveryURLListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
-
- Hashtable languageHash = new Hashtable();
- if (nameModifiedStates != null && nameViewIds != null && nameLanguages != null && names != null)
- {
- Vector oldNameListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- Vector newNameListElementVector = new Vector();
- // UDDI's save API (Appendix C of the UDDI V2 Programmers API Specification) requires the following:
- // 1) Only the first row can have a blank language.
- // 2) Only 1 name per language.
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_NAME");
- for (int i=0;i<names.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Name uddi4jName;
- if (nameLanguages[i].length() > 0)
- uddi4jName = new Name(names[i],nameLanguages[i]);
- else
- {
- uddi4jName = new Name(names[i]);
- if (i != 0)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(nameLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(nameLanguages[i],Boolean.TRUE);
- if (!Validator.validateString(names[i]))
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
-
- int nameViewId = Integer.parseInt(nameViewIds[i]);
- boolean isModified = Boolean.valueOf(nameModifiedStates[i]).booleanValue();
-
- if (nameViewId == -1 || isModified)
- newNameListElementVector.addElement(new ListElement(uddi4jName));
- else
- newNameListElementVector.addElement(oldNameListElementVector.elementAt(nameViewId));
- }
- reindexListElementVector(newNameListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,newNameListElementVector);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NO_NAMES"));
- }
-
- if (descriptionModifiedStates != null && descriptionViewIds != null && descriptionLanguages != null && descriptions != null)
- {
- Vector oldDescriptionListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS);
- Vector newDescriptionListElementVector = new Vector();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION");
- languageHash.clear();
- for (int i=0;i<descriptions.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Description uddi4jDescription;
- if (descriptionLanguages[i].length() > 0)
- uddi4jDescription = new Description(descriptions[i],descriptionLanguages[i]);
- else
- {
- uddi4jDescription = new Description(descriptions[i]);
- if (i != 0)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(descriptionLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(descriptionLanguages[i],Boolean.TRUE);
- if (!Validator.validateString(descriptions[i]))
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
-
- int descriptionViewId = Integer.parseInt(descriptionViewIds[i]);
- boolean isModified = Boolean.valueOf(descriptionModifiedStates[i]).booleanValue();
-
- if (descriptionViewId == -1 || isModified)
- newDescriptionListElementVector.addElement(new ListElement(uddi4jDescription));
- else
- newDescriptionListElementVector.addElement(oldDescriptionListElementVector.elementAt(descriptionViewId));
- }
- reindexListElementVector(newDescriptionListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,newDescriptionListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS);
-
- if (idModifiedStates != null && idViewIds != null && idTypes != null && idKeyNames != null && idKeyValues != null)
- {
- Vector oldIdListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
- Vector newIdListElementVector = new Vector();
- for (int i=0;i<idKeyNames.length;i++)
- {
- KeyedReference kr = new KeyedReference(idKeyNames[i],idKeyValues[i],idTypes[i]);
- int idViewId = Integer.parseInt(idViewIds[i]);
- boolean isModified = Boolean.valueOf(idModifiedStates[i]).booleanValue();
- if (idViewId == -1 || isModified)
- newIdListElementVector.addElement(new ListElement(kr));
- else
- newIdListElementVector.addElement(oldIdListElementVector.elementAt(idViewId));
- }
- reindexListElementVector(newIdListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS,newIdListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
-
- if (catModifiedStates != null && catViewIds != null && catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- Vector oldCatListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
- Vector newCatListElementVector = new Vector();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- int catViewId = Integer.parseInt(catViewIds[i]);
- boolean isModified = Boolean.valueOf(catModifiedStates[i]).booleanValue();
- if (catViewId == -1 || isModified)
- newCatListElementVector.addElement(new ListElement(kr));
- else
- newCatListElementVector.addElement(oldCatListElementVector.elementAt(catViewId));
- }
- reindexListElementVector(newCatListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES,newCatListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
- return inputsValid;
- }
-
- public final boolean refreshFromRegistry()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- uddiPerspective.getMessageQueue();
- try
- {
- String uuidKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- Vector beVector = proxy.get_businessDetail(uuidKey).getBusinessEntityVector();
- BusinessEntity be;
- if (beVector.size() > 0)
- be = (BusinessEntity)beVector.get(0);
- else
- be = null;
- if (be != null)
- {
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,be);
- return true;
- }
- }
- catch (TransportException e)
- {
- // Feedback via Javascript popups.
- }
- catch (UDDIException e)
- {
- // Feedback via Javascript popups.
- }
- isUpdate_ = false;
- return false;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- BusinessEntity be = (BusinessEntity)propertyTable_.get(UDDIActionInputs.LATEST_OBJECT);
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- Vector discoveryURLListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
- Vector nameListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- Vector descriptionListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS);
- Vector idListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
- Vector catListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
-
- Vector discoveryURLVector = new Vector();
- if (discoveryURLListElementVector != null)
- {
- for (int i=0;i<discoveryURLListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)discoveryURLListElementVector.elementAt(i);
- DiscoveryURL discoveryURL = (DiscoveryURL)listElement.getObject();
- discoveryURLVector.addElement(discoveryURL);
- }
- }
-
- Vector nameVector = new Vector();
- for (int i=0;i<nameListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)nameListElementVector.elementAt(i);
- Name name = (Name)listElement.getObject();
- nameVector.addElement(name);
- }
-
- Vector descriptionVector = null;
- if (descriptionListElementVector != null)
- {
- descriptionVector = new Vector();
- for (int i=0;i<descriptionListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)descriptionListElementVector.elementAt(i);
- Description description = (Description)listElement.getObject();
- descriptionVector.addElement(description);
- }
- }
-
- IdentifierBag idBag = null;
- if (idListElementVector != null)
- {
- idBag = new IdentifierBag();
- for (int i=0;i<idListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)idListElementVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- idBag.add(kr);
- }
- }
-
- CategoryBag catBag = null;
- if (catListElementVector != null)
- {
- catBag = new CategoryBag();
- for (int i=0;i<catListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)catListElementVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- catBag.add(kr);
- }
- }
-
- if (discoveryURLVector.size() > 0)
- be.setDiscoveryURLs(new DiscoveryURLs(discoveryURLVector));
- else
- be.setDiscoveryURLs(null);
- be.setNameVector(nameVector);
- be.setDescriptionVector(descriptionVector);
- be.setIdentifierBag(idBag);
- be.setCategoryBag(catBag);
-
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
- UDDIProxy proxy = regElement.getProxy();
- Vector beVector = new Vector();
- beVector.add(be);
- be = (BusinessEntity)proxy.save_business(regElement.getAuthInfoString(), beVector).getBusinessEntityVector().get(0);
- refreshNode(be);
- if (isUpdate_)
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESS_UPDATED",be.getDefaultNameString()));
- else
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_BUSINESS_PUBLISHED",be.getDefaultNameString()));
- return true;
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"MalformedURLException",e);
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateRegistryAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateRegistryAction.java
deleted file mode 100644
index 4edc31d69..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateRegistryAction.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.io.BufferedReader;
-import java.io.StringReader;
-import java.text.ParseException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryModel;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-
-public class UpdateRegistryAction extends UpdateAction
-{
- public UpdateRegistryAction(Controller controller)
- {
- super(controller,false);
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String nameModifiedState = parser.getParameter(UDDIActionInputs.NAME_MODIFIED);
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME);
- String[] userDefinedCategoryTModelKeys = parser.getParameterValues(UDDIActionInputs.CATEGORY_TMODEL_KEY);
- String[] userDefinedCategoryData = parser.getParameterValues(UDDIActionInputs.CATEGORY_FILENAME);
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (nameModifiedState != null && name != null)
- {
- boolean isModified = Boolean.valueOf(nameModifiedState).booleanValue();
- String newName;
- if (isModified)
- newName = name;
- else
- newName = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME,newName);
- if (!Validator.validateString(name))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_NAME"));
- }
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME);
-
- if (userDefinedCategoryTModelKeys != null && userDefinedCategoryData != null)
- {
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- for (int i=0;i<userDefinedCategoryTModelKeys.length;i++)
- {
- CategoryModel userDefinedCategory = regElement.getUserDefinedCategory(userDefinedCategoryTModelKeys[i]);
-// TODO: Move UDDIPreferenceContext down to org.eclipse.wst.ws
-// UDDIPreferenceContext context = WebServicePlugin.getInstance().getUDDIPreferenceContext();
-// userDefinedCategory.setColumnDelimiter(context.getUddiCatDataColumnDelimiter());
-// userDefinedCategory.setStringDelimiter(context.getUddiCatDataStringDelimiter());
- userDefinedCategory.setColumnDelimiter("#");
- userDefinedCategory.setStringDelimiter("\"");
- String displayName = userDefinedCategory.getDisplayName();
- if (userDefinedCategoryData[i] == null || userDefinedCategoryData[i].length() < 1)
- {
- inputsValid = false;
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USER_DEFINED_CATEGORY_DATA_FILE",displayName));
- formToolPI.flagRowError(UDDIActionInputs.USER_DEFINED_CATEGORIES,userDefinedCategoryTModelKeys[i]);
- }
- else
- {
- byte rc = userDefinedCategory.loadData(new BufferedReader(new StringReader(userDefinedCategoryData[i])));
- switch (rc)
- {
- case CategoryModel.OPERATION_SUCCESSFUL:
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_USER_DEFINED_CATEGORY_DATA_LOADED",displayName));
- break;
- case CategoryModel.ERROR_FILE:
- inputsValid = false;
- ParseException pe = (ParseException)userDefinedCategory.getErrorException();
- String[] args1 = {String.valueOf(pe.getErrorOffset()),displayName,pe.getMessage(),userDefinedCategory.getCategoryKey()};
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USER_DEFINED_CATEGORY_DATA_FILE_FORMAT",args1));
- formToolPI.flagRowError(UDDIActionInputs.USER_DEFINED_CATEGORIES,userDefinedCategoryTModelKeys[i]);
- break;
- case CategoryModel.ERROR_CATEGORY_KEY:
- default:
- inputsValid = false;
- String[] args2 = {displayName,userDefinedCategory.getErrorException().getMessage(),userDefinedCategory.getCategoryKey()};
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_USER_DEFINED_CATEGORY_DATA_FILE_KEY",args2));
- formToolPI.flagRowError(UDDIActionInputs.USER_DEFINED_CATEGORIES,userDefinedCategoryTModelKeys[i]);
- }
- }
- }
- }
- return inputsValid;
- }
-
- public final boolean refreshFromRegistry()
- {
- return true;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- String name = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- regElement.setName(name);
- regNode_.getTreeElement().setName(name);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_REGISTRY_UPDATED",name));
- return true;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceAction.java
deleted file mode 100644
index 41bfc586d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceAction.java
+++ /dev/null
@@ -1,490 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegPublishTool;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Description;
-import org.uddi4j.datatype.Name;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.ServiceDetail;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.KeyedReference;
-
-public class UpdateServiceAction extends UpdateAction
-{
- private boolean isUpdate_;
- public UpdateServiceAction(Controller controller)
- {
- super(controller,true);
- isUpdate_ = true;
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String uuidBusinessKey = parser.getParameter(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
- String uuidServiceKey = parser.getParameter(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY);
- String wsdlURLModifiedState = parser.getParameter(UDDIActionInputs.WSDL_URL_MODIFIED);
- String wsdlURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- String[] nameModifiedStates = parser.getParameterValues(UDDIActionInputs.NAME_MODIFIED);
- String[] nameViewIds = parser.getParameterValues(UDDIActionInputs.NAME_VIEWID);
- String[] nameLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE);
- String[] names = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME);
- String[] descriptionModifiedStates = parser.getParameterValues(UDDIActionInputs.DESCRIPTION_MODIFIED);
- String[] descriptionViewIds = parser.getParameterValues(UDDIActionInputs.DESCRIPTION_VIEWID);
- String[] descriptionLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE);
- String[] descriptions = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION);
- String[] catModifiedStates = parser.getParameterValues(UDDIActionInputs.CATEGORY_MODIFIED);
- String[] catViewIds = parser.getParameterValues(UDDIActionInputs.CATEGORY_VIEWID);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (uuidBusinessKey != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,uuidBusinessKey);
-
- if (uuidServiceKey != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,uuidServiceKey);
-
- if (wsdlURLModifiedState != null && wsdlURL != null)
- {
- ListElement wsdlURLListElement = (ListElement)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- boolean isModified = Boolean.valueOf(wsdlURLModifiedState).booleanValue();
- if (isModified)
- wsdlURLListElement = new ListElement(wsdlURL);
- else
- wsdlURL = (String)wsdlURLListElement.getObject();
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL,wsdlURLListElement);
- if (!Validator.validateURL(wsdlURL))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_WSDL_URL"));
- }
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
-
- Hashtable languageHash = new Hashtable();
- if (nameModifiedStates != null && nameViewIds != null && nameLanguages != null && names != null)
- {
- Vector oldNameListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- Vector newNameListElementVector = new Vector();
- // UDDI's save API (Appendix C of the UDDI V2 Programmers API Specification) requires the following:
- // 1) Only the first row can have a blank language.
- // 2) Only 1 name per language.
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_NAME");
- for (int i=0;i<names.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Name uddi4jName;
- if (nameLanguages[i].length() > 0)
- uddi4jName = new Name(names[i],nameLanguages[i]);
- else
- {
- uddi4jName = new Name(names[i]);
- if (i != 0)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(nameLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(nameLanguages[i],Boolean.TRUE);
- if (!Validator.validateString(names[i]))
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
-
- int nameViewId = Integer.parseInt(nameViewIds[i]);
- boolean isModified = Boolean.valueOf(nameModifiedStates[i]).booleanValue();
-
- if (nameViewId == -1 || isModified)
- newNameListElementVector.addElement(new ListElement(uddi4jName));
- else
- newNameListElementVector.addElement(oldNameListElementVector.elementAt(nameViewId));
- }
- reindexListElementVector(newNameListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,newNameListElementVector);
- }
- else
- {
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_NO_NAMES"));
- }
-
- if (descriptionModifiedStates != null && descriptionViewIds != null && descriptionLanguages != null && descriptions != null)
- {
- Vector oldDescriptionListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
- Vector newDescriptionListElementVector = new Vector();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION");
- languageHash.clear();
- for (int i=0;i<descriptions.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Description uddi4jDescription;
- if (descriptionLanguages[i].length() > 0)
- uddi4jDescription = new Description(descriptions[i],descriptionLanguages[i]);
- else
- {
- uddi4jDescription = new Description(descriptions[i]);
- if (i != 0)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(descriptionLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(descriptionLanguages[i],Boolean.TRUE);
- if (!Validator.validateString(descriptions[i]))
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
-
- int descriptionViewId = Integer.parseInt(descriptionViewIds[i]);
- boolean isModified = Boolean.valueOf(descriptionModifiedStates[i]).booleanValue();
-
- if (descriptionViewId == -1 || isModified)
- newDescriptionListElementVector.addElement(new ListElement(uddi4jDescription));
- else
- newDescriptionListElementVector.addElement(oldDescriptionListElementVector.elementAt(descriptionViewId));
- }
- reindexListElementVector(newDescriptionListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,newDescriptionListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
-
- if (catModifiedStates != null && catViewIds != null && catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- Vector oldCatListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
- Vector newCatListElementVector = new Vector();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- int catViewId = Integer.parseInt(catViewIds[i]);
- boolean isModified = Boolean.valueOf(catModifiedStates[i]).booleanValue();
- if (catViewId == -1 || isModified)
- newCatListElementVector.addElement(new ListElement(kr));
- else
- newCatListElementVector.addElement(oldCatListElementVector.elementAt(catViewId));
- }
- reindexListElementVector(newCatListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES,newCatListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
- return inputsValid;
- }
-
- public final boolean refreshBusinessFromRegistry()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- uddiPerspective.getMessageQueue();
- try
- {
- String uuidBusinessKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- Vector beVector = proxy.get_businessDetail(uuidBusinessKey).getBusinessEntityVector();
- BusinessEntity be;
- if (beVector.size() > 0)
- be = (BusinessEntity)beVector.get(0);
- else
- be = null;
- if (be != null)
- {
- propertyTable_.put(UDDIActionInputs.LATEST_BUSINESS,be);
- return true;
- }
- }
- catch (TransportException e)
- {
- // Feedback via Javascript popups.
- }
- catch (UDDIException e)
- {
- // Feedback via Javascript popups.
- }
- return false;
- }
-
- public final boolean refreshFromRegistry()
- {
- controller_.getUDDIPerspective();
- try
- {
- String uuidServiceKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- ServiceDetail serviceDetail = proxy.get_serviceDetail(uuidServiceKey);
- Vector businessServiceVector = serviceDetail.getBusinessServiceVector();
- if (businessServiceVector.size() > 0)
- {
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,businessServiceVector.elementAt(0));
- return true;
- }
- }
- catch (UDDIException e)
- {
- // Feedback via Javascript popups.
- }
- catch (TransportException e)
- {
- // Feedback via Javascript popups.
- }
- isUpdate_ = false;
- return false;
- }
-
- public final RegPublishTool setupRegPublishTool()
- {
- // Prepare for re-publishing a now-stale service whose business has also been eliminated.
- RegPublishTool regPublishTool = regNode_.getRegPublishTool();
- regPublishTool.setProperty(UDDIActionInputs.SUBQUERY_KEY,"");
- regPublishTool.setProperty(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- regPublishTool.setProperty(UDDIActionInputs.QUERY_STYLE_SERVICES,String.valueOf(UDDIActionInputs.QUERY_STYLE_ADVANCED));
-
- regPublishTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL,propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL));
-
- Vector nameListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- Vector descriptionListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
- Vector catListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
-
- Vector nameVector = new Vector();
- for (int i=0;i<nameListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)nameListElementVector.elementAt(i);
- Name name = (Name)listElement.getObject();
- nameVector.addElement(name);
- }
-
- Vector descriptionVector = null;
- if (descriptionListElementVector != null)
- {
- descriptionVector = new Vector();
- for (int i=0;i<descriptionListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)descriptionListElementVector.elementAt(i);
- Description description = (Description)listElement.getObject();
- descriptionVector.addElement(description);
- }
- }
- else
- regPublishTool.removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
-
- CategoryBag catBag = null;
- if (catListElementVector != null)
- {
- catBag = new CategoryBag();
- for (int i=0;i<catListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)catListElementVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- catBag.add(kr);
- }
- }
- else
- regPublishTool.removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
-
- regPublishTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,nameVector);
- if (descriptionVector != null)
- regPublishTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,descriptionVector);
- if (catBag != null)
- regPublishTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES,catBag);
- return regPublishTool;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- try
- {
- BusinessEntity be = (BusinessEntity)propertyTable_.get(UDDIActionInputs.LATEST_BUSINESS);
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- String uuidServiceKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY);
- ListElement wsdlURLListElement = (ListElement)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- Vector nameListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- Vector descriptionListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
- Vector catListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
-
- String wsdlURL = (String)wsdlURLListElement.getObject();
-
- Vector nameVector = new Vector();
- for (int i=0;i<nameListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)nameListElementVector.elementAt(i);
- Name name = (Name)listElement.getObject();
- nameVector.addElement(name);
- }
-
- Vector descriptionVector = null;
- if (descriptionListElementVector != null)
- {
- descriptionVector = new Vector();
- for (int i=0;i<descriptionListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)descriptionListElementVector.elementAt(i);
- Description description = (Description)listElement.getObject();
- descriptionVector.addElement(description);
- }
- }
-
- CategoryBag catBag = null;
- if (catListElementVector != null)
- {
- catBag = new CategoryBag();
- for (int i=0;i<catListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)catListElementVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- catBag.add(kr);
- }
- }
-
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
- UDDIProxy proxy = regElement.getProxy();
-
- // Note: The JSP will prevent this routine from executing if be is null.
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- Definition def = uddi4jHelper.getWSDLDefinition(wsdlURL);
-
- // Publish/update the service interfaces first.
- RegPublishServiceInterfaceSimpleAction regPublishSIAction = new RegPublishServiceInterfaceSimpleAction(controller_);
- int currentNodeId = getSelectedNavigatorNode().getNodeId();
- NodeManager nodeManager = regNode_.getNodeManager();
-
- Hashtable tModelsTable = new Hashtable();
- TModel[] tModels = null;
- if (uddi4jHelper.isMonolithicWSDL(def))
- {
- tModels = new TModel[1];
- tModels[0] = uddi4jHelper.newTModel(wsdlURL, def);
- }
- else
- {
- String[] imports = uddi4jHelper.getImports(def, wsdlURL);
- tModels = new TModel[imports.length];
- for (int i = 0; i < tModels.length; i++)
- tModels[i] = uddi4jHelper.newTModel(imports[i]);
- }
-
- if (tModels != null)
- {
- for (int i=0;i<tModels.length;i++)
- {
- boolean inputsValid = regPublishSIAction.populatePropertyTable(uddi4jHelper.getWSDL(tModels[i]), tModels[i]);
- if (inputsValid)
- {
- regPublishSIAction.run();
- Object savedTModel = regPublishSIAction.getPropertyTable().get(UDDIActionInputs.QUERY_OUTPUT_SAVED_TMODEL);
- if (savedTModel != null)
- {
- tModelsTable.put(((TModel)savedTModel).getNameString(), savedTModel);
- }
- // Reselect the current node.
- nodeManager.setSelectedNodeId(currentNodeId);
- }
- }
- }
-
- BusinessService busService = uddi4jHelper.newBusinessService(wsdlURL, def, tModelsTable);
- if (isUpdate_)
- busService.setServiceKey(uuidServiceKey);
- busService.setBusinessKey(be.getBusinessKey());
- busService.setNameVector(nameVector);
- busService.setDescriptionVector(descriptionVector);
- busService.setCategoryBag(catBag);
- regElement.handlePreInvocation(busService);
- Vector bsVector = new Vector();
- bsVector.add(busService);
- busService = (BusinessService)proxy.save_service(regElement.getAuthInfoString(), bsVector).getBusinessServiceVector().get(0);
- refreshNode(busService);
- if (isUpdate_)
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_UPDATED",busService.getDefaultNameString()));
- else
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_PUBLISHED",busService.getDefaultNameString()));
- return true;
- }
- catch (WSDLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"WSDLException",e);
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"MalformedURLException",e);
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceInterfaceAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceInterfaceAction.java
deleted file mode 100644
index a042a2003..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/actions/UpdateServiceInterfaceAction.java
+++ /dev/null
@@ -1,336 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.actions;
-
-import java.net.MalformedURLException;
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Description;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.TModelDetail;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.IdentifierBag;
-import org.uddi4j.util.KeyedReference;
-
-public class UpdateServiceInterfaceAction extends UpdateAction
-{
- private boolean isUpdate_;
- public UpdateServiceInterfaceAction(Controller controller)
- {
- super(controller,true);
- isUpdate_ = true;
- }
-
- protected boolean processOthers(MultipartFormDataParser parser,FormToolPropertiesInterface formToolPI) throws MultipartFormDataException
- {
- String uuidKey = parser.getParameter(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY);
- String wsdlURLModifiedState = parser.getParameter(UDDIActionInputs.WSDL_URL_MODIFIED);
- String wsdlURL = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- String nameModifiedState = parser.getParameter(UDDIActionInputs.NAME_MODIFIED);
- String name = parser.getParameter(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- String[] descriptionModifiedStates = parser.getParameterValues(UDDIActionInputs.DESCRIPTION_MODIFIED);
- String[] descriptionViewIds = parser.getParameterValues(UDDIActionInputs.DESCRIPTION_VIEWID);
- String[] descriptionLanguages = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE);
- String[] descriptions = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION);
- String[] idModifiedStates = parser.getParameterValues(UDDIActionInputs.IDENTIFIER_MODIFIED);
- String[] idViewIds = parser.getParameterValues(UDDIActionInputs.IDENTIFIER_VIEWID);
- String[] idTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE);
- String[] idKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME);
- String[] idKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE);
- String[] catModifiedStates = parser.getParameterValues(UDDIActionInputs.CATEGORY_MODIFIED);
- String[] catViewIds = parser.getParameterValues(UDDIActionInputs.CATEGORY_VIEWID);
- String[] catTypes = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE);
- String[] catKeyNames = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME);
- String[] catKeyValues = parser.getParameterValues(UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE);
-
- boolean inputsValid = true;
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
-
- if (uuidKey != null)
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY,uuidKey);
-
- if (wsdlURLModifiedState != null && wsdlURL != null)
- {
- ListElement wsdlURLListElement = (ListElement)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- boolean isModified = Boolean.valueOf(wsdlURLModifiedState).booleanValue();
- if (isModified)
- wsdlURLListElement = new ListElement(wsdlURL);
- else
- wsdlURL = (String)wsdlURLListElement.getObject();
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL,wsdlURLListElement);
- if (!Validator.validateURL(wsdlURL))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_WSDL_URL"));
- }
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
-
- if (nameModifiedState != null && name != null)
- {
- ListElement nameListElement = (ListElement)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- boolean isModified = Boolean.valueOf(nameModifiedState).booleanValue();
- if (isModified)
- nameListElement = new ListElement(name);
- else
- name = (String)nameListElement.getObject();
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME,nameListElement);
- if (!Validator.validateString(name))
- {
- inputsValid = false;
- formToolPI.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_INVALID_NAME"));
- }
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
-
- Hashtable languageHash = new Hashtable();
- if (descriptionModifiedStates != null && descriptionViewIds != null && descriptionLanguages != null && descriptions != null)
- {
- Vector oldDescriptionListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS);
- Vector newDescriptionListElementVector = new Vector();
- String[] parameters = new String[2];
- parameters[0] = uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION");
- languageHash.clear();
- for (int i=0;i<descriptions.length;i++)
- {
- parameters[1] = String.valueOf(i+1);
- Description uddi4jDescription;
- if (descriptionLanguages[i].length() > 0)
- uddi4jDescription = new Description(descriptions[i],descriptionLanguages[i]);
- else
- {
- uddi4jDescription = new Description(descriptions[i]);
- if (i != 0)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_BLANK_LANGUAGE",parameters));
- }
- }
- if (languageHash.get(descriptionLanguages[i]) != null)
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_DUPLICATE_LANGUAGE",parameters));
- }
- else
- languageHash.put(descriptionLanguages[i],Boolean.TRUE);
- if (!Validator.validateString(descriptions[i]))
- {
- inputsValid = false;
- formToolPI.flagRowError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i);
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_ERROR_ROW_INVALID_TEXT",parameters));
- }
-
- int descriptionViewId = Integer.parseInt(descriptionViewIds[i]);
- boolean isModified = Boolean.valueOf(descriptionModifiedStates[i]).booleanValue();
-
- if (descriptionViewId == -1 || isModified)
- newDescriptionListElementVector.addElement(new ListElement(uddi4jDescription));
- else
- newDescriptionListElementVector.addElement(oldDescriptionListElementVector.elementAt(descriptionViewId));
- }
- reindexListElementVector(newDescriptionListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,newDescriptionListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS);
-
- if (idModifiedStates != null && idViewIds != null && idTypes != null && idKeyNames != null && idKeyValues != null)
- {
- Vector oldIdListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
- Vector newIdListElementVector = new Vector();
- for (int i=0;i<idKeyNames.length;i++)
- {
- KeyedReference kr = new KeyedReference(idKeyNames[i],idKeyValues[i],idTypes[i]);
- int idViewId = Integer.parseInt(idViewIds[i]);
- boolean isModified = Boolean.valueOf(idModifiedStates[i]).booleanValue();
- if (idViewId == -1 || isModified)
- newIdListElementVector.addElement(new ListElement(kr));
- else
- newIdListElementVector.addElement(oldIdListElementVector.elementAt(idViewId));
- }
- reindexListElementVector(newIdListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS,newIdListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
-
- if (catModifiedStates != null && catViewIds != null && catTypes != null && catKeyNames != null && catKeyValues != null)
- {
- Vector oldCatListElementVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
- Vector newCatListElementVector = new Vector();
- for (int i=0;i<catTypes.length;i++)
- {
- KeyedReference kr = new KeyedReference(catKeyNames[i],catKeyValues[i],catTypes[i]);
- int catViewId = Integer.parseInt(catViewIds[i]);
- boolean isModified = Boolean.valueOf(catModifiedStates[i]).booleanValue();
- if (catViewId == -1 || isModified)
- newCatListElementVector.addElement(new ListElement(kr));
- else
- newCatListElementVector.addElement(oldCatListElementVector.elementAt(catViewId));
- }
- reindexListElementVector(newCatListElementVector);
- propertyTable_.put(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES,newCatListElementVector);
- }
- else
- removeProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
- return inputsValid;
- }
-
- public final boolean refreshFromRegistry()
- {
- controller_.getUDDIPerspective();
- try
- {
- String uuidKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY);
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- UDDIProxy proxy = regElement.getProxy();
- TModelDetail tModelDetail = proxy.get_tModelDetail(uuidKey);
- Vector tModelVector = tModelDetail.getTModelVector();
- if (tModelVector.size() > 0)
- {
- propertyTable_.put(UDDIActionInputs.LATEST_OBJECT,tModelVector.elementAt(0));
- return true;
- }
- }
- catch (UDDIException e)
- {
- // Feedback via Javascript popups.
- }
- catch (TransportException e)
- {
- // Feedback via Javascript popups.
- }
- isUpdate_ = false;
- return false;
- }
-
- public final boolean run()
- {
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- MessageQueue messageQueue = uddiPerspective.getMessageQueue();
- try
- {
- String uuidKey = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY);
- String publishURL = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
- ListElement wsdlURLListElement = (ListElement)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- ListElement nameListElement = (ListElement)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- Vector descriptionListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS);
- Vector idListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
- Vector catListElementVector = (Vector)propertyTable_.get(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
-
- String wsdlURL = (String)wsdlURLListElement.getObject();
-
- String name = (String)nameListElement.getObject();
-
- Vector descriptionVector = null;
- if (descriptionListElementVector != null)
- {
- descriptionVector = new Vector();
- for (int i=0;i<descriptionListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)descriptionListElementVector.elementAt(i);
- Description description = (Description)listElement.getObject();
- descriptionVector.addElement(description);
- }
- }
-
- IdentifierBag idBag = null;
- if (idListElementVector != null)
- {
- idBag = new IdentifierBag();
- for (int i=0;i<idListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)idListElementVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- idBag.add(kr);
- }
- }
-
- CategoryBag catBag = null;
- if (catListElementVector != null)
- {
- catBag = new CategoryBag();
- for (int i=0;i<catListElementVector.size();i++)
- {
- ListElement listElement = (ListElement)catListElementVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- catBag.add(kr);
- }
- }
-
- TModel tModel = (new Uddi4jHelper()).newTModel(wsdlURL);
- if (isUpdate_)
- tModel.setTModelKey(uuidKey);
- tModel.setName(name);
- tModel.setDescriptionVector(descriptionVector);
- tModel.setIdentifierBag(idBag);
- tModel.setCategoryBag(catBag);
-
- RegistryElement regElement = (RegistryElement)regNode_.getTreeElement();
- if (!regElement.isLoggedIn())
- regElement.performLogin(publishURL,userId,password);
- UDDIProxy proxy = regElement.getProxy();
- Vector tModelVector = new Vector();
- tModelVector.add(tModel);
- tModel = (TModel)proxy.save_tModel(regElement.getAuthInfoString(), tModelVector).getTModelVector().get(0);
- refreshNode(tModel);
- if (isUpdate_)
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACE_UPDATED",tModel.getNameString()));
- else
- messageQueue.addMessage(uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACE_PUBLISHED",tModel.getNameString()));
- return true;
- }
- catch (WSDLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"WSDLException",e);
- }
- catch (TransportException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"TransportException",e);
- }
- catch (UDDIException e)
- {
- messageQueue.addMessage(uddiPerspective.getController().getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage("UDDIException");
- messageQueue.addMessage(e.toString());
- }
- catch (MalformedURLException e)
- {
- handleUnexpectedException(uddiPerspective,messageQueue,"MalformedURLException",e);
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIActionInputs.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIActionInputs.java
deleted file mode 100644
index 2ee6dde85..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIActionInputs.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.constants;
-
-public class UDDIActionInputs
-{
- // OpenRegistryAction
- public static final String REGISTRY_NAME = "registryName";
- public static final String INQUIRY_URL = "inquiryURL";
- public static final String PUBLISH_URL = "publishURL";
- public static final String REGISTRATION_URL = "registrationURL";
- public static final String CHECK_USER_DEFINED_CATEGORIES = "checkUserDefinedCategories";
- public static final String UDDI_USERNAME = "uddiUsername";
- public static final String UDDI_PASSWORD = "uddiPassword";
-
- // Fixed and user-defined categories
- public static final String CATEGORIES_DIRECTORY = "categoriesDirectory";
- public static final String CATEGORY_TMODEL_KEY = "categoryTModelKey";
- public static final String CATEGORY_FILENAME = "categoryFileName";
- public static final String USER_DEFINED_CATEGORIES = "userDefinedCategories";
-
- // Discovery URL use type
- public static final String DISCOVERY_URL_TYPE = "businessEntity";
-
- // Results (NODEID)
- public static final String NODEID_SERVICE_INTERFACE = "nodeId_ServiceInterface";
- public static final String NODEID_SERVICE = "nodeId_Service";
- public static final String NODEID_BUSINESS = "nodeId_Business";
-
- // RegFind..Actions/RegPublish..Actions
- public static final String QUERY_INPUT_OVERRIDE_ADD_QUERY_NODE = "overrideAddQueryNode";
- public static final String QUERY_NAME = "queryName";
- public static final String QUERY_ITEM = "queryItem";
- public static final int QUERY_ITEM_QUERIES = -1;
- public static final int QUERY_ITEM_BUSINESSES = 0;
- public static final int QUERY_ITEM_SERVICES = 1;
- public static final int QUERY_ITEM_SERVICE_INTERFACES = 2;
- public static final int QUERY_STYLE_SIMPLE = 0;
- public static final int QUERY_STYLE_ADVANCED = 1;
- public static final int QUERY_STYLE_UUID = 2;
- public static final String QUERY_INPUT_ADVANCED_OWNED = "advancedOwned";
- public static final String QUERY_INPUT_ADVANCED_PUBLISH_URL = "advancedPublishURL";
- public static final String QUERY_INPUT_ADVANCED_USERID = "advancedUserId";
- public static final String QUERY_INPUT_ADVANCED_PASSWORD = "advancedPassword";
- public static final String QUERY_INPUT_ADVANCED_NAME_LANGUAGE = "advancedNameLanguage";
- public static final String QUERY_INPUT_ADVANCED_NAME = "advancedName";
- public static final String QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE = "advancedIdentifierType";
- public static final String QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME = "advancedIdentifierKeyName";
- public static final String QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE = "advancedIdentifierKeyValue";
- public static final String QUERY_INPUT_ADVANCED_CATEGORY_TYPE = "advancedCategoryType";
- public static final String QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME = "advancedCategoryKeyName";
- public static final String QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE = "advancedCategoryKeyValue";
- public static final String QUERY_INPUT_ADVANCED_DISCOVERYURL = "advancedDiscoveryURL";
- public static final String QUERY_INPUT_ADVANCED_FINDQUALIFIER = "advancedFindQualifier";
- public static final String QUERY_INPUT_ADVANCED_SORT_BY_NAME = "advancedSortByName";
- public static final String QUERY_INPUT_ADVANCED_SORT_BY_DATE = "advancedSortByDate";
- public static final String QUERY_INPUT_ADVANCED_MAX_SEARCH_SET = "advancedMaxSearchSet";
- public static final int QUERY_MAX_SEARCH_SET = 100;
- public static final String QUERY_INPUT_ADVANCED_MAX_RESULTS = "advancedMaxResults";
- public static final int QUERY_MAX_RESULTS = 10;
-
- public static final String QUERY_STYLE_BUSINESSES = "queryStyleBusinesses";
- public static final String QUERY_INPUT_SIMPLE_BUSINESS_NAME = "simpleBusinessName";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_OWNED = "advancedBusinessOwned";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_NAMES = "advancedBusinessNames";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS = "advancedBusinessIdentifiers";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES = "advancedBusinessCategories";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS = "advancedBusinessDiscoveryURLs";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES = "advancedBusinessServiceInterfaces";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES_COPY = "advancedBusinessServiceInterfacesCopy";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_TMODELBAG = "advancedBusinessTModelBag";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_FINDQUALIFIERS = "advancedBusinessFindQualifiers";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET = "advancedBusinessMaxSearchSet";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS = "advancedBusinessMaxResults";
-
- public static final String QUERY_STYLE_SERVICES = "queryStyleServices";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_NAME = "simpleServiceName";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_OWNED = "advancedServiceOwned";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_BUSINESS = "advancedServiceBusiness";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY = "advancedServiceBusinessCopy";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_SERVICE_PROVIDER = "advancedServiceServiceProvider";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_NAMES = "advancedServiceNames";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES = "advancedServiceCategories";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES = "advancedServiceServiceInterfaces";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY = "advancedServiceServiceInterfacesCopy";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_TMODEL = "advancedServiceTModel";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_TMODELBAG = "advancedServiceTModelBag";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_FINDQUALIFIERS = "advancedServiceFindQualifiers";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_MAX_SEARCH_SET = "advancedServiceMaxSearchSet";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_MAX_RESULTS = "advancedServiceMaxResults";
-
- public static final String QUERY_STYLE_SERVICE_INTERFACES = "queryStyleServiceInterfaces";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME = "simpleServiceInterfaceName";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE = "advancedUseService";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE = "advancedServiceInterfaceService";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE_COPY = "advancedServiceInterfaceServiceCopy";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_BUSINESS_SERVICE = "advancedServiceInterfaceBusinessService";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_OWNED = "advancedServiceInterfaceOwned";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME = "advancedServiceInterfaceName";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS = "advancedServiceInterfaceIdentifiers";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES = "advancedServiceInterfaceCategories";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_FINDQUALIFIERS = "advancedServiceInterfaceFindQualifiers";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET = "advancedServiceInterfaceMaxSearchSet";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS = "advancedServiceInterfaceMaxResults";
-
- public static final String QUERY_INPUT_ADVANCED_REGISTRY_NAME = "advancedRegistryName";
-
- public static final String QUERY_INPUT_UUID_KEY = "uuidKey";
- public static final String QUERY_INPUT_UUID_BUSINESS_KEY = "uuidBusinessKey";
- public static final String QUERY_INPUT_UUID_SERVICE_KEY = "uuidServiceKey";
- public static final String QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY = "uuidServiceInterfaceKey";
-
- public static final String QUERY_OUTPUT_SAVED_TMODEL = "savedTModel";
-
- // Sub Queries:
- public static final String SUBQUERIES_PROPERTIES = "subQueriesProperties";
- public static final String SUBQUERY_KEY = "subQueryKey";
- public static final String NEW_SUBQUERY_INITIATED = "newSubQueryInitiated";
- public static final String NEW_SUBQUERY_QUERY_ITEM = "newSubQueryQueryItem";
- public static final String SELECTED_NODEIDS = "selectedNodeIds";
- public static final String SUBQUERY_LIST_KEY = "subQueryListKey";
- public static final String SUBQUERY_LIST_ITEMID = "subQueryListItemId";
- public static final String SHOW_RESULTS_TARGET = "showResultsTarget";
- public static final String SUBQUERY_GET = "subQueryGet";
-
- // RegPublish..Actions (some constants from the RegFind...Actions will be reused.
- public static final String QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION = "simpleBusinessDescription";
-
- public static final String QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE = "advancedDescriptionLanguage";
- public static final String QUERY_INPUT_ADVANCED_DESCRIPTION = "advancedDescription";
- public static final String QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS = "advancedBusinessDescriptions";
-
- public static final String QUERY_INPUT_WSDL_URL = "wsdlURL";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL = "simpleServiceInterfaceWSDLURL";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION = "simpleServiceInterfaceDescription";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL = "advancedServiceInterfaceWSDLURL";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS = "advancedServiceInterfaceDescriptions";
-
- public static final String QUERY_INPUT_SIMPLE_SERVICE_BUSINESS = "simpleServiceBusiness";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_BUSINESS_COPY = "simpleServiceBusinessCopy";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_SERVICE_PROVIDER = "simpleServiceServiceProvider";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL = "simpleServiceWSDLURL";
- public static final String QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION = "simpleServiceDescription";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL = "advancedServiceWSDLURL";
- public static final String QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS = "advancedServiceDescriptions";
-
- // WSDL Browser
- public static final String PROJECT = "project";
- public static final String WSDL_TYPE = "wsdlType";
- public static final int WSDL_TYPE_SERVICE_INTERFACE = 0;
- public static final int WSDL_TYPE_SERVICE = 1;
- public static final String QUERY_INPUT_WEBPROJECT_WSDL_URL = "webProjectWSDLURL";
- public static final String QUERY_INPUT_FAVORITE_WSDL_URL = "favoriteWSDLURL";
-
- // Details
- public static final String LATEST_OBJECT = "latestObject";
- public static final String DISCOVERYURL_MODIFIED = "discoveryURLModified";
- public static final String DISCOVERYURL_VIEWID = "discoveryURLViewId";
- public static final String NAME_MODIFIED = "nameModified";
- public static final String NAME_VIEWID = "businessViewId";
- public static final String DESCRIPTION_MODIFIED = "descriptionModified";
- public static final String DESCRIPTION_VIEWID = "descriptionViewId";
- public static final String IDENTIFIER_MODIFIED = "identifierModified";
- public static final String IDENTIFIER_VIEWID = "identifierViewId";
- public static final String CATEGORY_MODIFIED = "categoryModified";
- public static final String CATEGORY_VIEWID = "categoryViewId";
- public static final String WSDL_URL_MODIFIED = "wsdlURLModified";
- public static final String PUBLISH_ACTION = "publishAction";
- public static final String LATEST_BUSINESS = "latestBusiness";
-
- // Refresh action
- public static final String REFRESH_NODE = "refreshNode";
-
- // Manage PublisherAssertions
- // "To" means from another business to my owning business
- public static final int DIRECTION_TO = 0;
- // "From" means from my owning business to another business
- public static final int DIRECTION_FROM = 1;
- public static final String PUBLISHER_ASSERTIONS_VIEWID = "publisherAssertionsViewId";
- public static final String PUBLISHER_ASSERTIONS_SELECTED_BUS_ID = "publisherAssertionsSelectedBusID";
- public static final String PUBLISHER_ASSERTIONS_DIRECTION = "publisherAssertionsDirection";
- public static final String QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS = "queryInputAddPublisherAssertions";
- public static final String QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS_COPY = "queryInputAddPublisherAssertionsCopy";
- public static final String QUERY_INPUT_EXISTING_PUBLISHER_ASSERTIONS = "queryInputExistingPublisherAssertions";
- public static final String PUBLISHER_ASSERTIONS_TYPE = "publisherAssertionsType";
- public static final String PUBLISHER_ASSERTIONS_TYPE_PARENT_CHILD = "parent-child";
- public static final String PUBLISHER_ASSERTIONS_TYPE_PEER_TO_PEER = "peer-peer";
- public static final String PUBLISHER_ASSERTIONS_TYPE_IDENTITY = "identity";
-
- // Manage Referenced Services
- public static final String QUERY_INPUT_REFERENCED_SERVICES = "referencedServices";
- public static final String QUERY_INPUT_SERVICES = "services";
- public static final String MANAGE_REFERENCED_SERVICES_OPERATION = "managedReferencedServicesOperation";
- public static final int MANAGE_REFERENCED_SERVICES_OPERATION_ADD = 0;
- public static final int MANAGE_REFERENCED_SERVICES_OPERATION_REMOVE = 1;
- public static final String REFERENCED_SERVICE_SELECT_STATE = "referencedServiceSelectState";
-
- // ResizeUDDIFrameAction
- public static final String FRAMESET_COLS_PERSPECTIVE_CONTENT = "framesetColsPerspectiveContent";
- public static final String FRAMESET_ROWS_ACTIONS_CONTAINER = "framesetRowsActionsContainer";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIFrameNames.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIFrameNames.java
deleted file mode 100644
index 970fff747..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIFrameNames.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.constants;
-
-public class UDDIFrameNames
-{
- public final static String NAVIGATOR_CONTAINER = "uddi_navigator_container";
- public final static String NAVIGATOR_TOOLBAR = "uddi_navigator_toolbar";
- public final static String NAVIGATOR_CONTENT = "uddi_navigator_content";
- public final static String ACTIONS_CONTAINER = "uddi_actions_container";
- public final static String PROPERTIES_CONTAINER = "uddi_properties_container";
- public final static String PROPERTIES_TOOLBAR = "uddi_properties_toolbar";
- public final static String PROPERTIES_CONTENT = "uddi_properties_content";
- public final static String STATUS_CONTAINER = "uddi_status_container";
- public final static String STATUS_TOOLBAR = "uddi_status_toolbar";
- public final static String STATUS_CONTENT = "uddi_status_content";
-
- public final static String CATEGORIES_WORKAREA = "categories_workarea";
- public final static String CATEGORIES_TOOLBAR = "categories_toolbar";
- public final static String CATEGORIES_CONTENT = "categories_content";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIModelConstants.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIModelConstants.java
deleted file mode 100644
index b344fe9c2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/constants/UDDIModelConstants.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.constants;
-
-public class UDDIModelConstants
-{
- // Registries under UDDIMain.
- public static final String REL_REGISTRIES = "registries";
-
- // Executed Queries folder under a registry.
- public static final String REL_QUERIES_PARENT = "queriesParent";
-
- // Published Businesses folder under a registry.
- public static final String REL_PUBLISHED_BUSINESSES_PARENT = "publishedBusinessesParent";
-
- // Published Services folder under a registry.
- public static final String REL_PUBLISHED_SERVICES_PARENT = "publishedServicesParent";
-
- // Published Service interfaces folder under a registry.
- public static final String REL_PUBLISHED_SERVICE_INTERFACES_PARENT = "publishedServiceInterfacesParent";
-
- // Queries under the Queries folder.
- public static final String REL_QUERIES = "queries";
- public static final String INITIAL_RESULTS = "initialResults";
- public static final String QUERY_TYPE = "queryType";
- public static final String SUBQUERY_TRANSFER_TARGET = "subQueryTransferTarget";
-
- // Objects under a Query node.
- public static final String REL_QUERY_RESULTS = "queryResults";
-
- // Categories
- public static final String REL_SUBCATEGORIES = "subCategories";
-
- // Published items inside the Published items folder.
- public static final String REL_PUBLISHED_ITEMS = "publishedItems";
-
- // Businesses
- public static final String IS_BUSINESS_OWNED = "isBusinessOwned";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/AbstractUDDIElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/AbstractUDDIElement.java
deleted file mode 100644
index a40b239d9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/AbstractUDDIElement.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-
-public abstract class AbstractUDDIElement extends TreeElement
-{
- public AbstractUDDIElement(String name, Model model)
- {
- super(name, model);
- }
-
- public final TreeElement getParentElement()
- {
- return getParentElement(this);
- }
-
- public final TreeElement getParentElement(TreeElement child)
- {
- Enumeration e = child.getElements(ModelConstants.REL_OWNER);
- if (e.hasMoreElements())
- return (TreeElement)e.nextElement();
- else
- return null;
- }
-
- public final RegistryElement getRegistryElement()
- {
- if (this instanceof RegistryElement)
- return (RegistryElement)this;
- else
- {
- TreeElement childElement = this;
- TreeElement parentElement = getParentElement(childElement);
- while (parentElement != null && parentElement != childElement)
- {
- if (parentElement instanceof RegistryElement)
- return (RegistryElement)parentElement;
- childElement = parentElement;
- parentElement = getParentElement(childElement);
- }
- return null;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/BusinessElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/BusinessElement.java
deleted file mode 100644
index f6fcc6a4f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/BusinessElement.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.uddi4j.datatype.business.BusinessEntity;
-
-public class BusinessElement extends AbstractUDDIElement
-{
- private BusinessEntity be_;
- private ListManager publisherAssertions_;
-
- public BusinessElement(BusinessEntity be,Model model)
- {
- super(be.getDefaultNameString(),model);
- be_ = be;
- setKey(be_.getBusinessKey());
- publisherAssertions_ = null;
- }
-
- public final BusinessEntity getBusinessEntity()
- {
- return be_;
- }
-
- public final void setBusinessEntity(BusinessEntity be)
- {
- be_ = be;
- setKey(be_.getBusinessKey());
- }
-
- public ListManager getPublisherAssertions()
- {
- return publisherAssertions_;
- }
-
- public void setPublisherAssertions(ListManager listManager)
- {
- publisherAssertions_ = listManager;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryElement.java
deleted file mode 100644
index b111b246f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryElement.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.uddi4j.util.KeyedReference;
-
-public class CategoryElement extends AbstractUDDIElement
-{
- private KeyedReference category_;
-
- public CategoryElement(String name,KeyedReference category,Model model)
- {
- super(name,model);
- category_ = category;
- saveCategoryProperties();
- }
-
- private final void saveCategoryProperties()
- {
- if (category_ != null)
- {
- String keyName = category_.getKeyName();
- if (keyName != null)
- setName(keyName);
- }
- }
-
- public final KeyedReference getCategory()
- {
- return category_;
- }
-
- public final String getNameForTree()
- {
- StringBuffer nameForTree = new StringBuffer("[");
- nameForTree.append(category_.getKeyValue()).append("] ").append(category_.getKeyName());
- return nameForTree.toString();
- }
-
- public final void updateCategory(String keyName,String keyValue,String tModelKey)
- {
- category_.setKeyName(keyName);
- category_.setKeyValue(keyValue);
- category_.setTModelKey(tModelKey);
- saveCategoryProperties();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryModel.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryModel.java
deleted file mode 100644
index aa4d07cbd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/CategoryModel.java
+++ /dev/null
@@ -1,569 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import java.io.BufferedReader;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStreamWriter;
-import java.io.PrintWriter;
-import java.io.UnsupportedEncodingException;
-import java.text.ParseException;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Properties;
-import java.util.Vector;
-import javax.servlet.ServletContext;
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.datamodel.Element;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Category;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.uddi4j.util.KeyedReference;
-
-public class CategoryModel extends BasicModel
-{
- private ServletContext application_;
- private String defaultDataFile_;
- private Hashtable categoryElements_;
- private String columnDelimiter_;
- private String stringDelimiter_;
- private String categoryKey_;
- private boolean checked_;
- private String displayName_;
- private String tModelKey_;
- private Throwable errorException_;
-
- // Return codes for loading and saving category data.
- public static final byte OPERATION_SUCCESSFUL = 0x00;
- public static final byte ERROR_FILE = 0x01;
- public static final byte ERROR_SECURITY = 0x02;
- public static final byte ERROR_ENCODING = 0x03;
- public static final byte ERROR_IO = 0x04;
- public static final byte ERROR_CATEGORY_KEY = 0x05;
-
- private final String defaultColumnDelimiter_ = "#";
- private final String defaultStringDelimiter_ = "\"";
-
- public CategoryModel()
- {
- super("categories");
- application_ = null;
- defaultDataFile_ = null;
- columnDelimiter_ = defaultColumnDelimiter_;
- stringDelimiter_ = defaultStringDelimiter_;
- categoryElements_ = null;
- categoryKey_ = null;
- checked_ = true;
- displayName_ = null;
- tModelKey_ = null;
- errorException_ = null;
- }
-
- /**
- * CategoryModels load their data from the file named via the
- * {@link #setDefaultDataFile(String)} method. The data file
- * name is interpretted as either a physical pathname or a
- * context-root relative pathname depending on whether the
- * servlet context or "application" is null (default) or not.
- * @param application The application context, null by default.
- * Value can be the ServletContext of the WSExplorer or null.
- */
- public final void setServletContext(ServletContext application)
- {
- application_ = application;
- }
-
- public final void setDefaultDataFile(String defaultDataFile)
- {
- defaultDataFile_ = defaultDataFile;
- }
-
- public final void setCategoryKey(String categoryKey)
- {
- categoryKey_ = categoryKey;
- }
-
- public final String getCategoryKey()
- {
- return categoryKey_;
- }
-
- public final void setColumnDelimiter(String columnDelimiter)
- {
- columnDelimiter_ = columnDelimiter;
- }
-
- public final String getColumnDelimiter()
- {
- return columnDelimiter_;
- }
-
- public final void setStringDelimiter(String stringDelimiter)
- {
- stringDelimiter_ = stringDelimiter;
- }
-
- public final String getStringDelimiter()
- {
- return stringDelimiter_;
- }
-
- public final void enableChecked(boolean isChecked)
- {
- checked_ = isChecked;
- }
-
- public final boolean isChecked()
- {
- return checked_;
- }
-
- public final void setDisplayName(String displayName)
- {
- displayName_ = displayName;
- }
-
- public final String getDisplayName()
- {
- return displayName_;
- }
-
- public final void setTModelKey(String tModelKey)
- {
- tModelKey_ = tModelKey;
- }
-
- public final String getTModelKey()
- {
- return tModelKey_;
- }
-
- public final boolean isDataLoaded()
- {
- return (categoryElements_ != null);
- }
-
- public final Throwable getErrorException()
- {
- return errorException_;
- }
-
- private final boolean isEnclosedInQuotes(String string)
- {
- return string.startsWith("\"") && string.endsWith("\"");
- }
-
- public final void loadFromTaxonomy(Taxonomy taxonomy)
- {
- String name = taxonomy.getName();
- CategoryElement root = new CategoryElement(name,null,this);
- setRootElement(root);
- categoryElements_ = new Hashtable();
- for (Iterator it = taxonomy.getCategory().iterator(); it.hasNext();)
- {
- addCategory(root, (Category)it.next());
- }
- }
-
- private void addCategory(CategoryElement parent, Category category)
- {
- String keyName = category.getName();
- String keyValue = category.getCode();
- CategoryElement child = new CategoryElement(keyName,new KeyedReference(keyName,keyValue,tModelKey_),this);
- parent.connect(child,UDDIModelConstants.REL_SUBCATEGORIES,ModelConstants.REL_OWNER);
- categoryElements_.put(keyValue, child);
- for (Iterator it = category.getCategory().iterator(); it.hasNext();)
- {
- addCategory(child, (Category)it.next());
- }
- }
-
- public final byte loadFromDefaultDataFile()
- {
- try
- {
- if (defaultDataFile_ == null)
- throw new FileNotFoundException();
- BufferedReader br = null;
- if (application_ == null)
- br = new BufferedReader(new InputStreamReader(new FileInputStream(defaultDataFile_),HTMLUtils.UTF8_ENCODING));
- else
- br = new BufferedReader(new InputStreamReader(application_.getResourceAsStream(defaultDataFile_),HTMLUtils.UTF8_ENCODING));
- return loadData(br);
- }
- catch (FileNotFoundException e)
- {
- errorException_ = e;
- return ERROR_FILE;
- }
- catch (SecurityException e)
- {
- errorException_ = e;
- return ERROR_SECURITY;
- }
- catch (UnsupportedEncodingException e)
- {
- errorException_ = e;
- return ERROR_ENCODING;
- }
- }
-
- public final byte loadFromDelimiterFile()
- {
- // Get the associated .properties file and set the delimiters. The defaultDataFile_ is set to the delimiter file in this case.
- // The properties file contains the following keys:
- // wsad.dataFile - location of the category data file.
- // wsad.checked - whether or not the category is checked.
- // wsad.name - the display name of the category.
- // column.delimiter - the delimiter character used for separating columns.
- // string.delimiter - the delimiter character used to encapsulate data such that column delimiter characters are treated as data.
- try
- {
- Properties p = new Properties();
- InputStream fin = null;
- if (application_ == null)
- fin = new FileInputStream(defaultDataFile_);
- else
- fin = application_.getResourceAsStream(defaultDataFile_);
- p.load(fin);
- fin.close();
- columnDelimiter_ = p.getProperty("column.delimiter");
- stringDelimiter_ = p.getProperty("string.delimiter");
- defaultDataFile_ = p.getProperty("wsad.dataFile");
- return loadFromDefaultDataFile();
- }
- catch (FileNotFoundException e)
- {
- errorException_ = e;
- return ERROR_FILE;
- }
- catch (SecurityException e)
- {
- errorException_ = e;
- return ERROR_SECURITY;
- }
- catch (IOException e)
- {
- errorException_ = e;
- return ERROR_IO;
- }
- }
-
- public final byte loadData(BufferedReader br)
- {
- errorException_ = null;
- CategoryElement rootElement = null;
- categoryElements_ = new Hashtable();
- byte returnCode = OPERATION_SUCCESSFUL;
- String line = null;
- int lineNumber = 0;
- try
- {
- char columnDelimiterChar = columnDelimiter_.charAt(0);
- char stringDelimiterChar = stringDelimiter_.charAt(0);
- Vector values = new Vector();
- while((line = br.readLine()) != null)
- {
- lineNumber++;
- // Ignore blank lines.
- if (line.trim().length() == 0)
- continue;
- int index = 0;
- int length = line.length();
- boolean inStringDelimiters = false;
- values.removeAllElements();
- StringBuffer currentToken = new StringBuffer();
- while (index < length)
- {
- char currentChar = line.charAt(index);
- if (inStringDelimiters)
- {
- // In quote so ignoring delimiters
- if (currentChar == stringDelimiterChar)
- {
- if (index < length - 1)
- {
- // currentChar could be a closing string delimiter or escape
- // Need to look ahead to be sure...
- char followingChar = line.charAt(index + 1);
- if (followingChar == stringDelimiterChar)
- {
- // There is an escaped quote
- currentToken.append(stringDelimiterChar);
- // jump forward two characters.
- index += 2;
- }
- else
- {
- // There was a closing string delimiter...jump forward to the next delimiter
- inStringDelimiters = false;
- //look for the next column delimiter character
- int nextDelimiter = line.indexOf(columnDelimiterChar, index);
- if (nextDelimiter == -1)
- {
- // There were no more delimiters so break out of the loop
- break;
- }
- else
- {
- values.addElement(currentToken.toString());
- //values[tokenCount++] = currentToken.toString();
- currentToken.setLength(0);
- inStringDelimiters = false;
- index = nextDelimiter + 1;
- }
- }
- }
- else
- {
- // This is the last character and it's a closing string delimiter.
- index++;
- inStringDelimiters = false;
- }
- }
- else
- {
- currentToken.append(currentChar);
- index++;
- }
- }
- else if (currentChar == columnDelimiterChar)
- {
- // There was a delimiter outside of quotes
- values.addElement(currentToken.toString());
- //values[tokenCount++] = currentToken.toString();
- currentToken.setLength(0);
- index++;
- }
- else if (currentChar == stringDelimiterChar)
- {
- // A quote appearing outside of quotes must be a opening quote
- inStringDelimiters = true;
- index++;
- }
- else
- {
- // There is a normal char outside of quotes
- currentToken.append(currentChar);
- index++;
- }
- }
- // Expect token count to be values.length - 1 at this point if everything is ok
- if (inStringDelimiters)
- {
- br.close();
- throw new ParseException(line,lineNumber);
- }
-
- // Add the final token.
- values.addElement(currentToken.toString());
-
- // 3 columns format. From left to right, these are:
- // 1) category's key value
- // 2) category's key name
- // 3) category's parent key value
- // Convert to 4 columns format.
- if (values.size() == 3)
- {
- if (categoryKey_ != null)
- values.insertElementAt(categoryKey_, 0);
- else
- values.insertElementAt(tModelKey_, 0);
- }
-
- // 4 columns format. From left to right, these are:
- // 1) type of category (categoryKey)
- // 2) category's key value
- // 3) category's key name
- // 4) category's parent key value
- if (values.size() == 4)
- {
- String categoryKey = (String)values.elementAt(0);
- if (categoryKey_ == null)
- categoryKey_ = categoryKey;
- else if (!categoryKey_.equals(categoryKey))
- throw new Exception(categoryKey);
- String keyValue = (String)values.elementAt(1);
- String keyName = (String)values.elementAt(2);
- String parentKeyValue = (String)values.elementAt(3);
- if (rootElement == null)
- {
- rootElement = new CategoryElement(displayName_,null,this);
- setRootElement(rootElement);
- }
- if (isEnclosedInQuotes(keyName))
- keyName = keyName.substring(1,keyName.length()-1);
- // Check if the CategoryElement already exists. If it does, refresh the Category.
- CategoryElement categoryElement = (CategoryElement)categoryElements_.get(keyValue);
- if (categoryElement != null)
- categoryElement.updateCategory(keyName,keyValue,tModelKey_);
- else
- categoryElement = new CategoryElement(keyName,new KeyedReference(keyName,keyValue,tModelKey_),this);
- Element parentElement;
- if (parentKeyValue.equals(keyValue))
- parentElement = rootElement;
- else
- parentElement = (Element)categoryElements_.get(parentKeyValue);
- if (parentElement == null)
- {
- parentElement = new CategoryElement("temp",new KeyedReference("",parentKeyValue,tModelKey_),this);
- categoryElements_.put(parentKeyValue,parentElement);
- }
- else
- parentElement.connect(categoryElement,UDDIModelConstants.REL_SUBCATEGORIES,ModelConstants.REL_OWNER);
- categoryElements_.put(keyValue,categoryElement);
- }
- else
- {
- br.close();
- throw new ParseException(line,lineNumber);
- }
- }
- br.close();
- return returnCode;
- }
- catch (IOException e)
- {
- errorException_ = e;
- returnCode = ERROR_IO;
- }
- catch (ParseException e)
- {
- errorException_ = e;
- returnCode = ERROR_FILE;
- }
- catch (Exception e)
- {
- errorException_ = e;
- returnCode = ERROR_CATEGORY_KEY;
- }
- categoryElements_ = null;
- return returnCode;
- }
-
- private final void saveData(PrintWriter pw,CategoryElement categoryElement,CategoryElement parentElement,boolean isFirst)
- {
- // File format:
- // <categoryKey>#<keyValue>#<keyName>#<parentKeyValue>
- KeyedReference kr = categoryElement.getCategory();
- // Check if this is not the root element.
- if (kr != null)
- {
- String keyName = kr.getKeyName();
- String keyValue = kr.getKeyValue();
- String parentKeyValue;
- if (parentElement == null)
- parentKeyValue = keyValue;
- else
- {
- KeyedReference parentKr = parentElement.getCategory();
- // Check if the parent is the root element.
- if (parentKr == null)
- parentKeyValue = keyValue;
- else
- parentKeyValue = parentKr.getKeyValue();
- }
- if (!isFirst)
- pw.println();
- else
- isFirst = false;
- pw.print(mangle(categoryKey_));
- pw.print(columnDelimiter_);
- pw.print(mangle(keyValue));
- pw.print(columnDelimiter_);
- pw.print(mangle(keyName));
- pw.print(columnDelimiter_);
- pw.print(mangle(parentKeyValue));
- }
- Enumeration e = categoryElement.getElements(UDDIModelConstants.REL_SUBCATEGORIES);
- if (e != null)
- {
- while (e.hasMoreElements())
- saveData(pw,(CategoryElement)e.nextElement(),categoryElement,isFirst);
- }
- }
-
- // Mangle an input string if it contains default column delimiter characters by surrounding it with the string delimiters.
- private final String mangle(String input)
- {
- if (input != null && input.indexOf(columnDelimiter_) != -1)
- {
- StringBuffer s = new StringBuffer(input);
- s.insert(0,stringDelimiter_).append(stringDelimiter_);
- return s.toString();
- }
- return input;
- }
-
- public final byte saveData(String fileName)
- {
- // The fileName should already be URLEncoded.
- byte returnCode = OPERATION_SUCCESSFUL;
- errorException_ = null;
- if (isDataLoaded())
- {
- try
- {
- PrintWriter pw = new PrintWriter(new OutputStreamWriter(new FileOutputStream(fileName),HTMLUtils.UTF8_ENCODING),true);
- CategoryElement rootElement = (CategoryElement)getRootElement();
- saveData(pw,rootElement,null,true);
- pw.flush();
- pw.close();
- // Save the properties file.
- Properties p = new Properties();
- p.setProperty("wsad.dataFile",fileName);
- p.setProperty("wsad.checked",String.valueOf(checked_));
- p.setProperty("wsad.name",displayName_);
- p.setProperty("column.delimiter",columnDelimiter_);
- p.setProperty("string.delimiter",stringDelimiter_);
- StringBuffer propertiesFileName = new StringBuffer(fileName.substring(0,fileName.lastIndexOf('.')));
- propertiesFileName.append(".properties");
- FileOutputStream fout = new FileOutputStream(propertiesFileName.toString());
- p.store(fout,null);
- fout.close();
- }
- catch (FileNotFoundException e)
- {
- errorException_ = e;
- returnCode = ERROR_FILE;
- }
- catch (SecurityException e)
- {
- errorException_ = e;
- returnCode = ERROR_SECURITY;
- }
- catch (UnsupportedEncodingException e)
- {
- errorException_ = e;
- returnCode = ERROR_ENCODING;
- }
- catch (IOException e)
- {
- errorException_ = e;
- returnCode = ERROR_IO;
- }
- }
- return returnCode;
- }
-
- public String toString()
- {
- return displayName_;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublishedItemsElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublishedItemsElement.java
deleted file mode 100644
index f24b27c8b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublishedItemsElement.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-
-public class PublishedItemsElement extends AbstractUDDIElement
-{
- public PublishedItemsElement(int type,String name,Model model)
- {
- super(name,model);
- setPropertyAsString(ModelConstants.REL_CHILDREN,UDDIModelConstants.REL_PUBLISHED_ITEMS);
- setPropertyAsString(UDDIModelConstants.QUERY_TYPE,String.valueOf(type));
- }
-
- public final int getType()
- {
- return Integer.parseInt(getPropertyAsString(UDDIModelConstants.QUERY_TYPE));
- }
-
- public Enumeration getItems()
- {
- return getElements(UDDIModelConstants.REL_PUBLISHED_ITEMS);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublisherAssertionElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublisherAssertionElement.java
deleted file mode 100644
index eac7d6154..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/PublisherAssertionElement.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.uddi4j.datatype.assertion.PublisherAssertion;
-import org.uddi4j.util.KeyedReference;
-
-public class PublisherAssertionElement {
-
- // owningBusinessKey_ is the key of the business element that owns this
- // publisherAssertionElement
- private String fromKey_;
- private String toKey_;
- private String owningBusinessKey_;
-
- // the other business that the containing business is asserted from or to
- private ListElement sp_;
- private int subQueryItemId_;
-
- // status of this publisherAssertion
- private String status_;
- private KeyedReference keyedReference_;
-
- public PublisherAssertionElement(String fromKey, String toKey, String owningBusinessKey, ListElement sp, int subQueryItemId, String status, KeyedReference keyedRef) {
- fromKey_ = fromKey;
- toKey_ = toKey;
- owningBusinessKey_ = owningBusinessKey;
- sp_ = sp;
- subQueryItemId_ = subQueryItemId;
- status_ = status;
- keyedReference_ = keyedRef;
- }
-
- public void setFromKey(String fromKey) {
- fromKey_ = fromKey;
- }
-
- public String getFromKey() {
- return fromKey_;
- }
-
- public void setToKey(String toKey) {
- toKey_ = toKey;
- }
-
- public String getToKey() {
- return toKey_;
- }
-
- public void setOwningBusinessKey(String key) {
- owningBusinessKey_ = key;
- }
-
- public String getOwningBusinessKey() {
- return owningBusinessKey_;
- }
-
- public void setServiceProvider(ListElement sp) {
- sp_ = sp;
- }
-
- public ListElement getServiceProvider() {
- return sp_;
- }
-
- public void setSubQueryItemId(int id) {
- subQueryItemId_ = id;
- }
-
- public int getSubQueryItemId() {
- return subQueryItemId_;
- }
-
- public void setStatus(String status) {
- status_ = status;
- }
-
- public String getStatus() {
- return status_;
- }
-
- public void setKeyedRef(KeyedReference keyedRef) {
- keyedReference_ = keyedRef;
- }
-
- public KeyedReference getKeyedRef() {
- return keyedReference_;
- }
-
- public PublisherAssertion getPublisherAssertion() {
- if (fromKey_ == null ||
- toKey_ == null ||
- keyedReference_ == null) {
- return null;
- }
-
- PublisherAssertion pubAssertion = new PublisherAssertion(fromKey_, toKey_, keyedReference_);
- return pubAssertion;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryElement.java
deleted file mode 100644
index 59bed5068..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryElement.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class QueryElement extends AbstractUDDIElement
-{
- private final void initQueryProperties(int itemType,Object[] results)
- {
- Vector resultsVector = new Vector();
- for (int i=0;i<results.length;i++)
- resultsVector.addElement(results[i]);
- setPropertyAsString(ModelConstants.REL_CHILDREN,UDDIModelConstants.REL_QUERY_RESULTS);
- setPropertyAsObject(UDDIModelConstants.INITIAL_RESULTS,resultsVector);
- setPropertyAsString(UDDIModelConstants.QUERY_TYPE,String.valueOf(itemType));
- }
-
- public QueryElement(BusinessEntity[] spList,String name,Model model)
- {
- super(name,model);
- initQueryProperties(UDDIActionInputs.QUERY_ITEM_BUSINESSES,spList);
- }
-
- public QueryElement(BusinessService[] bsList,String name,Model model)
- {
- super(name,model);
- initQueryProperties(UDDIActionInputs.QUERY_ITEM_SERVICES,bsList);
- }
-
- public QueryElement(TModel[] tModelList,String name,Model model)
- {
- super(name,model);
- initQueryProperties(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES,tModelList);
- }
-
- public int getQueryType()
- {
- return Integer.parseInt(getPropertyAsString(UDDIModelConstants.QUERY_TYPE));
- }
-
- public QueryParentElement getQueryParentElement()
- {
- return (QueryParentElement)getParentElement();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryParentElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryParentElement.java
deleted file mode 100644
index c2d822c44..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/QueryParentElement.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-
-public class QueryParentElement extends AbstractUDDIElement
-{
- public QueryParentElement(String name,Model model)
- {
- super(name,model);
- setPropertyAsString(ModelConstants.REL_CHILDREN,UDDIModelConstants.REL_QUERIES);
- }
-
- public Enumeration getQueries()
- {
- return getElements(UDDIModelConstants.REL_QUERIES);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/RegistryElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/RegistryElement.java
deleted file mode 100644
index ee23fd5d1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/RegistryElement.java
+++ /dev/null
@@ -1,299 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- * 20060912 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import java.net.MalformedURLException;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
-import org.eclipse.wst.ws.internal.registry.IRegistryManager;
-import org.eclipse.wst.ws.internal.registry.RegistryService;
-import org.eclipse.wst.ws.internal.registry.UDDIRegistryService;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.Description;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.response.AuthToken;
-import org.uddi4j.transport.TransportException;
-
-public class RegistryElement extends AbstractUDDIElement
-{
- private final long AUTH_INFO_TIMEOUT = 3000000;
- private UDDIProxy proxy_;
- private long authTokenTimestamp_;
- private AuthToken authToken_;
- private String id_;
- private String password_;
- private String inquiryURL_;
- private String publishURL_;
- private String cachedPublishURL_;
- private String registrationURL_;
- private Hashtable userDefinedCategories_;
- private boolean checkForUserDefinedCategories_;
- private String categoriesDirectory_;
-
- public RegistryElement(UDDIProxy proxy, String inquiryURL, String name, Model model)
- {
- super(name, model);
- proxy_ = proxy;
- inquiryURL_ = inquiryURL;
- publishURL_ = null;
- authTokenTimestamp_ = -1;
- authToken_ = null;
- id_ = null;
- password_ = null;
- cachedPublishURL_ = null;
- registrationURL_ = null;
- userDefinedCategories_ = null;
- checkForUserDefinedCategories_ = false;
- categoriesDirectory_ = null;
- }
-
- public final UDDIProxy getProxy()
- {
- return proxy_;
- }
-
- public final String getInquiryURL()
- {
- return inquiryURL_;
- }
-
- public final QueryParentElement getQueryParentElement()
- {
- return (QueryParentElement) (getElements(UDDIModelConstants.REL_QUERIES_PARENT).nextElement());
- }
-
- public final PublishedItemsElement getPublishedBusinessesElement()
- {
- return (PublishedItemsElement) (getElements(UDDIModelConstants.REL_PUBLISHED_BUSINESSES_PARENT).nextElement());
- }
-
- public final PublishedItemsElement getPublishedServicesElement()
- {
- return (PublishedItemsElement) (getElements(UDDIModelConstants.REL_PUBLISHED_SERVICES_PARENT).nextElement());
- }
-
- public final PublishedItemsElement getPublishedServiceInterfacesElement()
- {
- return (PublishedItemsElement) (getElements(UDDIModelConstants.REL_PUBLISHED_SERVICE_INTERFACES_PARENT).nextElement());
- }
-
- public final void performLogin(String publishURL, String userId, String password) throws TransportException, UDDIException, MalformedURLException
- {
- publishURL_ = publishURL;
- proxy_.setPublishURL(NetUtils.createURL(publishURL));
- authToken_ = proxy_.get_authToken(userId, password);
- authTokenTimestamp_ = System.currentTimeMillis();
- id_ = userId;
- password_ = password;
- }
-
- public final void performLogout() throws TransportException, UDDIException
- {
- proxy_.discard_authToken(authToken_.getAuthInfoString());
- }
-
- public final String getAuthInfoString()
- {
- if (!isLoggedIn())
- return null;
- if ((System.currentTimeMillis() - authTokenTimestamp_) > AUTH_INFO_TIMEOUT)
- {
- try
- {
- authToken_ = proxy_.get_authToken(id_, password_);
- authTokenTimestamp_ = System.currentTimeMillis();
- }
- catch (Throwable t)
- {
- }
- }
- return authToken_.getAuthInfoString();
- }
-
- public final boolean isLoggedIn()
- {
- return authToken_ != null;
- }
-
- public final void setCachedPublishURL(String publishURL)
- {
- cachedPublishURL_ = publishURL;
- }
-
- public final String getPublishURL()
- {
- if (isLoggedIn() && publishURL_ != null)
- return publishURL_;
- return cachedPublishURL_;
- }
-
- public final void setRegistrationURL(String registrationURL)
- {
- registrationURL_ = registrationURL;
- }
-
- public final String getRegistrationURL()
- {
- return registrationURL_;
- }
-
- public final String getUserId()
- {
- return id_;
- }
-
- public final void setUserId(String userId)
- {
- id_ = userId;
- }
-
- public final String getCred()
- {
- return password_;
- }
-
- public final void setCred(String cred)
- {
- password_ = cred;
- }
-
- public final void setUserDefinedCategories(Hashtable userDefinedCategories)
- {
- userDefinedCategories_ = userDefinedCategories;
- }
-
- public final Enumeration getUserDefinedCategories()
- {
- if (userDefinedCategories_ != null)
- return userDefinedCategories_.elements();
- else
- return null;
- }
-
- public final CategoryModel getUserDefinedCategory(String tModelKey)
- {
- return (CategoryModel) userDefinedCategories_.get(tModelKey);
- }
-
- // Special handler to be invoked before sending a message to the registry.
- public final void handlePreInvocation(BusinessService busService)
- {
- // For XMethods, business services must contain a description of the form:
- // IMPLEMENTATION: ibmws
- if (getInquiryURL().equals("http://uddi.xmethods.net/inquire"))
- {
- Vector descriptionVector = busService.getDescriptionVector();
- if (descriptionVector == null)
- descriptionVector = new Vector();
- boolean containsImplementationDescription = false;
- for (int i = 0; i < descriptionVector.size(); i++)
- {
- Description description = (Description) descriptionVector.elementAt(i);
- if (description.getText().startsWith("IMPLEMENTATION: "))
- {
- containsImplementationDescription = true;
- break;
- }
- }
- if (!containsImplementationDescription)
- {
- descriptionVector.addElement(new Description("IMPLEMENTATION: ibmws"));
- busService.setDescriptionVector(descriptionVector);
- }
- }
- }
-
- public final void setCheckForUserDefinedCategories(boolean checkForUserDefinedCategories)
- {
- checkForUserDefinedCategories_ = checkForUserDefinedCategories;
- }
-
- public final boolean getCheckForUserDefinedCategories()
- {
- return checkForUserDefinedCategories_;
- }
-
- public final void setCategoriesDirectory(String directory)
- {
- categoriesDirectory_ = directory;
- }
-
- public final String getCategoriesDirectory()
- {
- return categoriesDirectory_;
- }
-
- public void refreshMeta(){
-
- RegistryService regService = RegistryService.instance();
- IRegistryManager regManager = regService.getDefaultRegistryManager();
-
-
- try
- {
- regManager.refreshManager();
- String[] regURIs = regManager.getRegistryURIs();
- for (int i = 0; i < regURIs.length; i++)
- {
- Registry reg = regManager.loadRegistry(regURIs[i]);
- if (reg instanceof UDDIRegistry)
- {
- UDDIRegistry uddiReg = (UDDIRegistry)reg;
- if(uddiReg.getDiscoveryURL().equals(getInquiryURL())){
-
-
-
- Taxonomy[] taxonomies = regManager.loadTaxonomies(UDDIRegistryService.instance().getTaxonomyURIs(uddiReg));
- if (taxonomies != null)
- {
- Hashtable taxonomyTable = new Hashtable();
- for (int j=0; j<taxonomies.length; j++)
- {
- Taxonomy taxonomy = taxonomies[j];
- String name = taxonomy.getName();
- String tmodelKey = taxonomy.getTmodelKey();
- CategoryModel catModel = new CategoryModel();
- catModel.setDisplayName(name);
- catModel.setCategoryKey(name);
- catModel.setTModelKey(tmodelKey);
- catModel.loadFromTaxonomy(taxonomy);
- taxonomyTable.put(tmodelKey, catModel);
- }
-
- setUserDefinedCategories(taxonomyTable);
- }
- }
-
- }
-
- }
- }catch (CoreException ce)
- {
- // TODO: Better error reporting
- ce.printStackTrace();
- }
- }
-
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceElement.java
deleted file mode 100644
index cc10e2c00..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceElement.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.uddi4j.datatype.service.BusinessService;
-
-public class ServiceElement extends AbstractUDDIElement
-{
- private BusinessService bs_;
-
- public ServiceElement(BusinessService bs,Model model)
- {
- super(bs.getDefaultNameString(),model);
- setKey(bs.getServiceKey());
- bs_ = bs;
- }
-
- public final BusinessService getBusinessService()
- {
- return bs_;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceInterfaceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceInterfaceElement.java
deleted file mode 100644
index 108142d3b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/ServiceInterfaceElement.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class ServiceInterfaceElement extends AbstractUDDIElement
-{
- private TModel tModel_;
-
- public ServiceInterfaceElement(TModel tModel,Model model)
- {
- super(tModel.getNameString(),model);
- tModel_ = tModel;
- setKey(tModel.getTModelKey());
- }
-
- public final TModel getTModel()
- {
- return tModel_;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/UDDIMainElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/UDDIMainElement.java
deleted file mode 100644
index ef72f68dd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/datamodel/UDDIMainElement.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-
-public class UDDIMainElement extends TreeElement
-{
- private Hashtable registryNames_;
-
- public UDDIMainElement(String name,Model model)
- {
- super(name,model);
- registryNames_ = new Hashtable();
- }
-
- public final boolean containsRegistryName(String name)
- {
- return (registryNames_.get(name) != null);
- }
-
- public final void addRegistryName(String name)
- {
- registryNames_.put(name,Boolean.TRUE);
- }
-
- public final void removeRegistryName(String name)
- {
- registryNames_.remove(name);
- }
-
- public final void clearRegistryNames()
- {
- registryNames_.clear();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/AddToFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/AddToFavoritesTool.java
deleted file mode 100644
index b94222ddd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/AddToFavoritesTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.AddToFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class AddToFavoritesTool extends ActionTool {
- public AddToFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/favorites_enabled.gif", "images/favorites_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddToFavoritesAction.getActionLink(selectedNode.getNodeId());
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusPublishServiceTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusPublishServiceTool.java
deleted file mode 100644
index aa2a61707..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusPublishServiceTool.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectFindToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class BusPublishServiceTool extends FormTool implements MultipleFormToolPropertiesInterface
-{
- private RegFindTool regFindTool_;
-
- public BusPublishServiceTool(ToolManager toolManager,String alt)
- {
- super(toolManager,"uddi/images/publish_service_enabled.gif","uddi/images/publish_service_highlighted.gif",alt);
- regFindTool_ = new RegFindTool(new ToolManager(toolManager.getNode()), "");
- }
-
- protected final void initDefaultProperties()
- {
- toolManager_.getNode().getNodeManager().getController().getUDDIPerspective();
-
- setProperty(UDDIActionInputs.SUBQUERY_KEY,"");
-
- setProperty(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- String simpleStyleString = String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE);
- setProperty(UDDIActionInputs.QUERY_STYLE_SERVICES,simpleStyleString);
-
- // RegPublishServiceSimpleAction inputs
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION,"");
-
- // RegPublishServiceAdvancedAction inputs
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL,"");
- }
-
- public final void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- regFindTool_.addAuthenticationProperties(regElement);
- }
-
- public final FormToolPropertiesInterface getFormToolProperties(Object subQueryKeyObject)
- {
- // Empty/Non-existent subquerykey implies publish form. All else implies query form.
- String subQueryKey = (String)subQueryKeyObject;
- if (subQueryKey == null || subQueryKey.length() < 1)
- return this;
- else
- return regFindTool_.getFormToolProperties(subQueryKeyObject);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- String subQueryKey = (String)getProperty(UDDIActionInputs.SUBQUERY_KEY);
- return SelectFindToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),subQueryKey,forHistory);
- }
-
- public String getFormLink()
- {
- Object subQueryKeyObject = getProperty(UDDIActionInputs.SUBQUERY_KEY);
- String subQueryKey = null;
- if (subQueryKeyObject != null)
- {
- getProperty(UDDIActionInputs.SUBQUERIES_PROPERTIES);
- FormToolPropertiesInterface subQueryProperties = getFormToolProperties(subQueryKeyObject);
- Object subQueryGetObject = subQueryProperties.getProperty(UDDIActionInputs.SUBQUERY_GET);
- if (subQueryGetObject != null)
- {
- boolean isSubQueryGet = ((Boolean)subQueryGetObject).booleanValue();
- if (isSubQueryGet)
- return "uddi/forms/GetForm.jsp";
- }
- subQueryKey = (String)subQueryKeyObject;
- }
-
- if (subQueryKey == null || subQueryKey.length() < 1)
- return "uddi/forms/BusPublishServiceForm.jsp";
- else
- return regFindTool_.getFormLink();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessDetailsTool.java
deleted file mode 100644
index b05a85380..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessDetailsTool.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.DiscoveryURLs;
-import org.uddi4j.util.IdentifierBag;
-
-public class BusinessDetailsTool extends DetailsTool
-{
- public BusinessDetailsTool(ToolManager toolManager,String alt)
- {
- super(toolManager,alt,ProxyLoadPageAction.getActionLink("uddi/forms/BusinessDetailsForm.jsp"));
- }
-
- public final void initDefaultProperties()
- {
- clearPropertyTable();
- BusinessElement busElement = (BusinessElement)(toolManager_.getNode().getTreeElement());
- BusinessEntity be = busElement.getBusinessEntity();
-
- setProperty(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,be.getBusinessKey());
-
- Vector nameVector = new Vector();
- copyIndexVector(be.getNameVector(),nameVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,nameVector);
-
- Vector descriptionVector = new Vector();
- copyIndexVector(be.getDescriptionVector(),descriptionVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,descriptionVector);
-
- IdentifierBag idBag = be.getIdentifierBag();
- if (idBag != null)
- {
- Vector idVector = new Vector();
- copyIndexVector(idBag.getKeyedReferenceVector(),idVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS,idVector);
- }
-
- CategoryBag catBag = be.getCategoryBag();
- if (catBag != null)
- {
- Vector catVector = new Vector();
- copyIndexVector(catBag.getKeyedReferenceVector(),catVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES,catVector);
- }
-
- DiscoveryURLs discoveryURLs = be.getDiscoveryURLs();
- if (discoveryURLs != null)
- {
- Vector discoveryURLVector = new Vector();
- copyIndexVector(discoveryURLs.getDiscoveryURLVector(),discoveryURLVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,discoveryURLVector);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessNode.java
deleted file mode 100644
index 41023b64a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/BusinessNode.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.BusinessGetServicesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class BusinessNode extends UDDINavigatorNode
-{
- private DetailsTool detailsTool_;
- private BusPublishServiceTool publishServiceTool_;
- private ManagePublisherAssertionsTool managePublisherAssertionsTool_;
- private ManageReferencedServicesTool manageReferencedServicesTool_;
- private UnpublishTool unpublishTool_;
-
- public BusinessNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"uddi/images/business_highlighted.gif");
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- detailsTool_ = new BusinessDetailsTool(toolManager_,uddiPerspective.getMessage("ALT_BUSINESS_DETAILS"));
- new GetServicesTool(toolManager_,uddiPerspective.getMessage("ALT_GET_SERVICES"),BusinessGetServicesAction.getActionLink(nodeId_));
- publishServiceTool_ = new BusPublishServiceTool(toolManager_,uddiPerspective.getMessage("ALT_PUBLISH_SERVICE"));
- manageReferencedServicesTool_ = new ManageReferencedServicesTool(toolManager_,uddiPerspective.getMessage("ALT_MANAGE_REFERENCED_SERVICES"));
- managePublisherAssertionsTool_ = new ManagePublisherAssertionsTool(toolManager_,uddiPerspective.getMessage("ALT_MANAGE_PUBLISHER_ASSERTIONS"));
- new AddToFavoritesTool(toolManager_, uddiPerspective.getMessage("ALT_ADD_TO_FAVORITES"));
- unpublishTool_ = new UnpublishTool(toolManager_,"uddi/images/unpublish_bus_enabled.gif","uddi/images/unpublish_bus_highlighted.gif",uddiPerspective.getMessage("ALT_UNPUBLISH_BUSINESS"));
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- detailsTool_.addAuthenticationProperties(regElement);
- publishServiceTool_.addAuthenticationProperties(regElement);
- manageReferencedServicesTool_.addAuthenticationProperties(regElement);
- managePublisherAssertionsTool_.addAuthenticationProperties(regElement);
- unpublishTool_.addAuthenticationProperties(regElement);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/CategoryNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/CategoryNode.java
deleted file mode 100644
index 9c4ac3e79..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/CategoryNode.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectCategoryNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.ToggleCategoryNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIFrameNames;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryElement;
-
-public class CategoryNode extends Node
-{
- public CategoryNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"uddi/images/category.gif");
- setVisibilityOfChildren(false);
- }
-
- public final void createChildren()
- {
- Enumeration children = element_.getElements(UDDIModelConstants.REL_SUBCATEGORIES);
- if (children != null)
- {
- while (children.hasMoreElements())
- {
- CategoryElement categoryElement = (CategoryElement)children.nextElement();
- CategoryNode categoryNode = new CategoryNode(categoryElement,nodeManager_,nodeDepth_+1);
- addChild(categoryNode);
- categoryNode.createChildren();
- }
- }
- }
-
- public final String getNodeName()
- {
- CategoryElement categoryElement = (CategoryElement)element_;
- return categoryElement.getNameForTree();
- }
-
- protected final String getToggleNodeActionHref()
- {
- return ToggleCategoryNodeAction.getActionLink(getNodeManager().getController().getSessionId(),nodeId_,isOpen_);
- }
-
- protected final String getLinkActionHref()
- {
- return SelectCategoryNodeAction.getActionLink(getNodeManager().getController().getSessionId(),nodeId_);
- }
-
- protected final String getToggleNodeActionTarget()
- {
- return UDDIFrameNames.CATEGORIES_WORKAREA;
- }
-
- protected final String getLinkActionTarget()
- {
- return UDDIFrameNames.CATEGORIES_WORKAREA;
- }
-
- protected final void initTools()
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/DetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/DetailsTool.java
deleted file mode 100644
index 4571f14d7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/DetailsTool.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class DetailsTool extends FormTool
-{
- private String formLink_;
-
- public DetailsTool(ToolManager toolManager,String alt,String formLink)
- {
- super(toolManager,"images/details_enabled.gif","images/details_highlighted.gif",alt);
- formLink_ = formLink;
- }
-
- public void initDefaultProperties()
- {
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getFormLink()
- {
- return formLink_;
- }
-
- protected final void copyIndexVector(Vector source,Vector destination)
- {
- destination.removeAllElements();
- for (int i=0;i<source.size();i++)
- {
- ListElement listElement = new ListElement(source.elementAt(i));
- listElement.setViewId(i);
- // The next item indicates that this element is to be in non-edit state.
- listElement.setTargetViewToolInfo(-1,-1,i);
- destination.addElement(listElement);
- }
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetBusinessesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetBusinessesTool.java
deleted file mode 100644
index ac040de73..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetBusinessesTool.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class GetBusinessesTool extends ActionTool
-{
- private String actionLink_;
- public GetBusinessesTool(ToolManager toolManager,String enabledImagePath,String highlightedImagePath,String alt,String actionLink)
- {
- super(toolManager,enabledImagePath,highlightedImagePath,alt);
- actionLink_ = actionLink;
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getActionLink()
- {
- return actionLink_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServiceInterfacesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServiceInterfacesTool.java
deleted file mode 100644
index 8ed766311..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServiceInterfacesTool.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class GetServiceInterfacesTool extends ActionTool
-{
- private String actionLink_;
- public GetServiceInterfacesTool(ToolManager toolManager,String alt,String actionLink)
- {
- super(toolManager,"uddi/images/service_interfaces_closed_enabled.gif","uddi/images/service_interfaces_closed_highlighted.gif",alt);
- actionLink_ = actionLink;
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getActionLink()
- {
- return actionLink_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServicesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServicesTool.java
deleted file mode 100644
index e14e65568..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/GetServicesTool.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class GetServicesTool extends ActionTool
-{
- private String actionLink_;
- public GetServicesTool(ToolManager toolManager,String alt,String actionLink)
- {
- super(toolManager,"uddi/images/services_closed_enabled.gif","uddi/images/services_closed_highlighted.gif",alt);
- actionLink_ = actionLink;
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getActionLink()
- {
- return actionLink_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ItemsSummaryTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ItemsSummaryTool.java
deleted file mode 100644
index e8ef3ee1a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ItemsSummaryTool.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils;
-
-public class ItemsSummaryTool extends FormTool
-{
- private String formLink_;
-
- public ItemsSummaryTool(ToolManager toolManager,String enabledImage,String highlightedImage,String alt,int queryItem)
- {
- super(toolManager,enabledImage,highlightedImage,alt);
- StringBuffer formLink = new StringBuffer("uddi/forms/ItemsSummaryForm.jsp?");
- formLink.append(UDDIActionInputs.QUERY_ITEM).append('=').append(queryItem);
- String encodedFormLink = URLUtils.encode(formLink.toString());
- formLink_ = ProxyLoadPageAction.getActionLink(encodedFormLink);
- }
-
- public final void initDefaultProperties()
- {
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getFormLink()
- {
- return formLink_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/LoginTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/LoginTool.java
deleted file mode 100644
index f36b256a1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/LoginTool.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Enumeration;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class LoginTool extends FormTool
-{
- private Controller controller_;
- private String formLink = "uddi/forms/LoginUddiForm.jsp";
-
- public LoginTool(ToolManager toolManager, String alt)
- {
- super(toolManager,"uddi/images/open_registry_enabled.gif","uddi/images/open_registry_highlighted.gif",alt);
- }
-
- protected final void initDefaultProperties()
- {
- controller_ = toolManager_.getNode().getNodeManager().getController();
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getFormLink()
- {
- return formLink;
- }
-
- public void setToLogoutLink()
- {
- formLink = "uddi/actions/LogoutAdvancedActionJSP.jsp";
- }
-
- public void setToRegistryLink()
- {
- formLink = "";
- }
-
- public final Enumeration getFavoriteRegistryElements()
- {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager favoritesNodeManager = favPerspective.getNodeManager();
- TreeElement favoritesMainElement = favoritesNodeManager.getRootNode().getTreeElement();
- TreeElement favoriteRegistriesElement = (TreeElement)(favoritesMainElement.getElements(FavoritesModelConstants.REL_UDDI_REGISTRY_FOLDER_NODE).nextElement());
- return favoriteRegistriesElement.getElements(FavoritesModelConstants.REL_UDDI_REGISTRY_NODE);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManagePublisherAssertionsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManagePublisherAssertionsTool.java
deleted file mode 100644
index ec551e6d2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManagePublisherAssertionsTool.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectFindToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class ManagePublisherAssertionsTool extends FormTool implements MultipleFormToolPropertiesInterface
-{
- ToolManager invisibleToolManager_;
- private RegFindTool regFindTool_;
-
- public ManagePublisherAssertionsTool(ToolManager toolManager, String alt)
- {
- super(toolManager, "uddi/images/publisher_assertions_enabled.gif", "uddi/images/publisher_assertions_highlighted.gif", alt);
- invisibleToolManager_ = new ToolManager(toolManager.getNode());
- regFindTool_ = new RegFindTool(invisibleToolManager_,"");
- }
-
- protected final void initDefaultProperties()
- {
- setProperty(UDDIActionInputs.SUBQUERY_KEY,"");
- setProperty(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- String simpleStyleString = String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE);
- setProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES,simpleStyleString);
- setProperty(UDDIActionInputs.QUERY_STYLE_SERVICES,simpleStyleString);
- setProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,simpleStyleString);
- }
-
- public final FormToolPropertiesInterface getFormToolProperties(Object subQueryKeyObject)
- {
- // Empty/Non-existent subquerykey implies publish form. All else implies query form.
- String subQueryKey = (String)subQueryKeyObject;
- if (subQueryKey == null || subQueryKey.length() < 1)
- return this;
- else
- return regFindTool_.getFormToolProperties(subQueryKeyObject);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- String subQueryKey = (String)getProperty(UDDIActionInputs.SUBQUERY_KEY);
- return SelectFindToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),subQueryKey,forHistory);
- }
-
- public final void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- regFindTool_.addAuthenticationProperties(regElement);
- }
-
- public String getFormLink()
- {
- Object subQueryKeyObject = getProperty(UDDIActionInputs.SUBQUERY_KEY);
- String subQueryKey = null;
- if (subQueryKeyObject != null)
- {
- getProperty(UDDIActionInputs.SUBQUERIES_PROPERTIES);
- FormToolPropertiesInterface subQueryProperties = getFormToolProperties(subQueryKeyObject);
- Object subQueryGetObject = subQueryProperties.getProperty(UDDIActionInputs.SUBQUERY_GET);
- if (subQueryGetObject != null)
- {
- boolean isSubQueryGet = ((Boolean)subQueryGetObject).booleanValue();
- if (isSubQueryGet)
- return "uddi/forms/GetForm.jsp";
- }
- subQueryKey = (String)subQueryKeyObject;
- }
-
- if (subQueryKey == null || subQueryKey.length() < 1)
- return ProxyLoadPageAction.getActionLink("uddi/forms/ManagePublisherAssertionsForm.jsp");
- else
- return regFindTool_.getFormLink();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManageReferencedServicesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManageReferencedServicesTool.java
deleted file mode 100644
index 17f2c650d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ManageReferencedServicesTool.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectFindToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class ManageReferencedServicesTool extends FormTool implements MultipleFormToolPropertiesInterface
-{
- ToolManager invisibleToolManager_;
- private RegFindTool regFindTool_;
-
- public ManageReferencedServicesTool(ToolManager toolManager, String alt)
- {
- super(toolManager, "uddi/images/referenced_services_enabled.gif", "uddi/images/referenced_services_highlighted.gif", alt);
- invisibleToolManager_ = new ToolManager(toolManager.getNode());
- regFindTool_ = new RegFindTool(invisibleToolManager_,"");
- }
-
- protected final void initDefaultProperties()
- {
- setProperty(UDDIActionInputs.SUBQUERY_KEY,"");
- setProperty(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES));
- String simpleStyleString = String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE);
- setProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES,simpleStyleString);
- setProperty(UDDIActionInputs.QUERY_STYLE_SERVICES,simpleStyleString);
- setProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,simpleStyleString);
- }
-
- public final FormToolPropertiesInterface getFormToolProperties(Object subQueryKeyObject)
- {
- // Empty/Non-existent subquerykey implies publish form. All else implies query form.
- String subQueryKey = (String)subQueryKeyObject;
- if (subQueryKey == null || subQueryKey.length() < 1)
- return this;
- else
- return regFindTool_.getFormToolProperties(subQueryKeyObject);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- String subQueryKey = (String)getProperty(UDDIActionInputs.SUBQUERY_KEY);
- return SelectFindToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),subQueryKey,forHistory);
- }
-
- public final void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- regFindTool_.addAuthenticationProperties(regElement);
- }
-
- public String getFormLink()
- {
- Object subQueryKeyObject = getProperty(UDDIActionInputs.SUBQUERY_KEY);
- String subQueryKey = null;
- if (subQueryKeyObject != null)
- {
- getProperty(UDDIActionInputs.SUBQUERIES_PROPERTIES);
- FormToolPropertiesInterface subQueryProperties = getFormToolProperties(subQueryKeyObject);
- Object subQueryGetObject = subQueryProperties.getProperty(UDDIActionInputs.SUBQUERY_GET);
- if (subQueryGetObject != null)
- {
- boolean isSubQueryGet = ((Boolean)subQueryGetObject).booleanValue();
- if (isSubQueryGet)
- return "uddi/forms/GetForm.jsp";
- }
- subQueryKey = (String)subQueryKeyObject;
- }
-
- if (subQueryKey == null || subQueryKey.length() < 1)
- return "uddi/forms/ManageReferencedServicesForm.jsp";
- else
- return regFindTool_.getFormLink();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/MultipleFormToolPropertiesInterface.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/MultipleFormToolPropertiesInterface.java
deleted file mode 100644
index d14fbe2aa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/MultipleFormToolPropertiesInterface.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-
-public abstract interface MultipleFormToolPropertiesInterface
-{
- public abstract FormToolPropertiesInterface getFormToolProperties(Object key);
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/OpenRegistryTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/OpenRegistryTool.java
deleted file mode 100644
index 0f37be3ff..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/OpenRegistryTool.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060224 122752 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-
-public class OpenRegistryTool extends FormTool
-{
- private Controller controller_;
-
- public OpenRegistryTool(ToolManager toolManager,String alt)
- {
- super(toolManager,"uddi/images/open_registry_enabled.gif","uddi/images/open_registry_highlighted.gif",alt);
- }
-
- protected final void initDefaultProperties()
- {
- controller_ = toolManager_.getNode().getNodeManager().getController();
- UDDIPerspective uddiPerspective = controller_.getUDDIPerspective();
- setProperty(UDDIActionInputs.REGISTRY_NAME,uddiPerspective.getDefaultUDDIRegistry().getName());
- setProperty(UDDIActionInputs.INQUIRY_URL,uddiPerspective.getDefaultUDDIRegistry().getInquiryURL());
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getFormLink()
- {
- return "uddi/forms/OpenRegistryForm.jsp";
- }
-
- public final Enumeration getFavoriteRegistryElements()
- {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager favoritesNodeManager = favPerspective.getNodeManager();
- TreeElement favoritesMainElement = favoritesNodeManager.getRootNode().getTreeElement();
- TreeElement favoriteRegistriesElement = (TreeElement)(favoritesMainElement.getElements(FavoritesModelConstants.REL_UDDI_REGISTRY_FOLDER_NODE).nextElement());
- return favoriteRegistriesElement.getElements(FavoritesModelConstants.REL_UDDI_REGISTRY_NODE);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/PublishedItemsNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/PublishedItemsNode.java
deleted file mode 100644
index 6539d9a60..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/PublishedItemsNode.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.PublishedItemsElement;
-
-public class PublishedItemsNode extends UDDINavigatorFolderNode
-{
- public PublishedItemsNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth);
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(UDDIModelConstants.REL_PUBLISHED_ITEMS))
- {
- TreeElement treeElement = (TreeElement)event.getParentElement();
- createChildNode(treeElement);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement treeElement = null;
- if (event.getInBoundRelName().equals(UDDIModelConstants.REL_PUBLISHED_ITEMS))
- treeElement = (TreeElement)event.getInboundElement();
- else if (event.getOutBoundRelName().equals(UDDIModelConstants.REL_PUBLISHED_ITEMS))
- treeElement = (TreeElement)event.getOutBoundElement();
-
- if (treeElement != null)
- removeChildNode(treeElement);
- }
- });
- }
-
- private final void createChildNode(TreeElement element)
- {
- PublishedItemsElement publishedItemsElement = (PublishedItemsElement)element_;
- Node childNode = null;
- switch (publishedItemsElement.getType())
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- childNode = new BusinessNode(element,nodeManager_,nodeDepth_+1);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- childNode = new ServiceNode(element,nodeManager_,nodeDepth_+1);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- childNode = new ServiceInterfaceNode(element,nodeManager_,nodeDepth_+1);
- }
- if (childNode != null)
- addChild(childNode);
- }
-
- protected final void initTools()
- {
- PublishedItemsElement publishedItemsElement = (PublishedItemsElement)element_;
- UDDIPerspective uddiPerspective = nodeManager_.getController().getUDDIPerspective();
- int publishedItemsType = publishedItemsElement.getType();
- switch (publishedItemsType)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- new ItemsSummaryTool(toolManager_,"uddi/images/businesses_closed_enabled.gif","uddi/images/businesses_closed_highlighted.gif",uddiPerspective.getMessage("ALT_SUMMARY_BUSINESSES"),publishedItemsType);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- new ItemsSummaryTool(toolManager_,"uddi/images/services_closed_enabled.gif","uddi/images/services_closed_highlighted.gif",uddiPerspective.getMessage("ALT_SUMMARY_SERVICES"),publishedItemsType);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- new ItemsSummaryTool(toolManager_,"uddi/images/service_interfaces_closed_enabled.gif","uddi/images/service_interfaces_closed_highlighted.gif",uddiPerspective.getMessage("ALT_SUMMARY_SERVICE_INTERFACES"),publishedItemsType);
- }
- }
-
- public String getOpenImagePath()
- {
- PublishedItemsElement publishedItemsElement = (PublishedItemsElement)element_;
- int publishedItemsType = publishedItemsElement.getType();
- switch (publishedItemsType)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- return "uddi/images/businesses_open_highlighted.gif";
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- return "uddi/images/services_open_highlighted.gif";
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- return "uddi/images/service_interfaces_open_highlighted.gif";
- }
- return super.getOpenImagePath();
- }
-
- public String getClosedImagePath()
- {
- PublishedItemsElement publishedItemsElement = (PublishedItemsElement)element_;
- int publishedItemsType = publishedItemsElement.getType();
- switch (publishedItemsType)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- return "uddi/images/businesses_closed_highlighted.gif";
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- return "uddi/images/services_closed_highlighted.gif";
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- return "uddi/images/service_interfaces_closed_highlighted.gif";
- }
- return super.getClosedImagePath();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryNode.java
deleted file mode 100644
index 3b014f7fb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryNode.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.FindAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class QueryNode extends UDDINavigatorNode
-{
- private FormTool regFindTool_;
- private FindAction findAction_;
- public QueryNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"uddi/images/query.gif");
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(UDDIModelConstants.REL_QUERY_RESULTS))
- {
- TreeElement treeElement = (TreeElement)event.getParentElement();
- createChildNode(treeElement);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement treeElement = null;
- if (event.getInBoundRelName().equals(UDDIModelConstants.REL_QUERY_RESULTS))
- treeElement = (TreeElement)event.getInboundElement();
- else if (event.getOutBoundRelName().equals(UDDIModelConstants.REL_QUERY_RESULTS))
- treeElement = (TreeElement)event.getOutBoundElement();
-
- if (treeElement != null)
- removeChildNode(treeElement);
- }
- });
- createChildren();
- setVisibilityOfChildren(false);
- findAction_ = null;
- }
-
- private final void createChildren()
- {
- Vector initialResults = (Vector)element_.getPropertyAsObject(UDDIModelConstants.INITIAL_RESULTS);
- for (int i=0;i<initialResults.size();i++)
- {
- Object object = initialResults.elementAt(i);
- TreeElement childElement = null;
- if (object instanceof BusinessEntity)
- childElement = new BusinessElement((BusinessEntity)object,element_.getModel());
- else if (object instanceof BusinessService)
- childElement = new ServiceElement((BusinessService)object,element_.getModel());
- else if (object instanceof TModel)
- childElement = new ServiceInterfaceElement((TModel)object,element_.getModel());
- if (childElement != null)
- element_.connect(childElement,UDDIModelConstants.REL_QUERY_RESULTS,ModelConstants.REL_OWNER);
- }
- }
-
- private final void createChildNode(TreeElement element)
- {
- Node childNode = null;
- if (element instanceof BusinessElement)
- childNode = new BusinessNode(element,nodeManager_,nodeDepth_+1);
- else if (element instanceof ServiceElement)
- childNode = new ServiceNode(element,nodeManager_,nodeDepth_+1);
- else if (element instanceof ServiceInterfaceElement)
- childNode = new ServiceInterfaceNode(element,nodeManager_,nodeDepth_+1);
- if (childNode != null)
- addChild(childNode);
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- new ResultsTool(toolManager_,controller.getMessage("ALT_RESULTS"));
- regFindTool_ = new RegFindTool(toolManager_,uddiPerspective.getMessage("ALT_FIND"));
- }
-
- public final void setFindToolProperties(FindAction findAction)
- {
- findAction_ = findAction;
- regFindTool_.updatePropertyTable(findAction.getPropertyTable());
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- ((RegFindTool)regFindTool_).addAuthenticationProperties(regElement);
- Vector childNodes = getChildNodes();
- for (int i=0;i<childNodes.size();i++)
- {
- UDDINavigatorNode navigatorNode = (UDDINavigatorNode)childNodes.elementAt(i);
- navigatorNode.addAuthenticationProperties(regElement);
- }
- }
-
- public final FindAction getFindAction()
- {
- return findAction_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryParentNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryParentNode.java
deleted file mode 100644
index d482fe1c8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/QueryParentNode.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class QueryParentNode extends UDDINavigatorFolderNode
-{
- public QueryParentNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth);
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(UDDIModelConstants.REL_QUERIES))
- {
- QueryElement queryElement = (QueryElement)event.getParentElement();
- createChildNode(queryElement);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- QueryElement queryElement = null;
- if (event.getInBoundRelName().equals(UDDIModelConstants.REL_QUERIES))
- queryElement = (QueryElement)event.getInboundElement();
- else if (event.getOutBoundRelName().equals(UDDIModelConstants.REL_QUERIES))
- queryElement = (QueryElement)event.getOutBoundElement();
-
- if (queryElement != null)
- removeChildNode(queryElement);
- }
- });
- }
-
- private final void createChildNode(QueryElement element)
- {
- QueryNode queryNode = new QueryNode(element,nodeManager_,nodeDepth_+1);
- // Add registry authentication properties.
- RegistryElement regElement = (RegistryElement)(getParent().getTreeElement());
- queryNode.addAuthenticationProperties(regElement);
- addChild(queryNode);
- }
-
- protected final void initTools()
- {
- UDDIPerspective uddiPerspective = nodeManager_.getController().getUDDIPerspective();
- new ItemsSummaryTool(toolManager_,"uddi/images/queries_closed_enabled.gif","uddi/images/queries_closed_highlighted.gif",uddiPerspective.getMessage("ALT_SUMMARY_QUERIES"),UDDIActionInputs.QUERY_ITEM_QUERIES);
- new ItemsSummaryTool(toolManager_,"uddi/images/businesses_closed_enabled.gif","uddi/images/businesses_closed_highlighted.gif",uddiPerspective.getMessage("ALT_SUMMARY_BUSINESSES"),UDDIActionInputs.QUERY_ITEM_BUSINESSES);
- new ItemsSummaryTool(toolManager_,"uddi/images/services_closed_enabled.gif","uddi/images/services_closed_highlighted.gif",uddiPerspective.getMessage("ALT_SUMMARY_SERVICES"),UDDIActionInputs.QUERY_ITEM_SERVICES);
- new ItemsSummaryTool(toolManager_,"uddi/images/service_interfaces_closed_enabled.gif","uddi/images/service_interfaces_closed_highlighted.gif",uddiPerspective.getMessage("ALT_SUMMARY_SERVICE_INTERFACES"),UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES);
- }
-
- public String getOpenImagePath()
- {
- return "uddi/images/queries_open_highlighted.gif";
- }
-
- public String getClosedImagePath()
- {
- return "uddi/images/queries_closed_highlighted.gif";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RefreshTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RefreshTool.java
deleted file mode 100644
index 233f8c920..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RefreshTool.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.RefreshUDDINodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class RefreshTool extends ActionTool
-{
- public RefreshTool(ToolManager toolManager,String alt)
- {
- super(toolManager,"images/refresh_enabled.gif","images/refresh_highlighted.gif",alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getActionLink()
- {
- return RefreshUDDINodeAction.getActionLink(toolManager_.getNode().getNodeId());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegFindTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegFindTool.java
deleted file mode 100644
index 7dc9ae806..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegFindTool.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolProperties;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectFindToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class RegFindTool extends FormTool implements MultipleFormToolPropertiesInterface
-{
- public RegFindTool(ToolManager toolManager,String alt)
- {
- super(toolManager,"uddi/images/find_enabled.gif","uddi/images/find_highlighted.gif",alt);
- }
-
- protected final void initDefaultProperties()
- {
- initDefaultProperties(this);
- setProperty(UDDIActionInputs.SUBQUERY_KEY,"");
- setProperty(UDDIActionInputs.SUBQUERIES_PROPERTIES,new Hashtable());
- UDDIPerspective uddiPerspective = toolManager_.getNode().getNodeManager().getController().getUDDIPerspective();
- setProperty(UDDIActionInputs.QUERY_NAME,uddiPerspective.getMessage("DEFAULT_QUERY_NAME"));
- }
-
- private final void initDefaultProperties(FormToolPropertiesInterface formToolPI)
- {
- toolManager_.getNode().getNodeManager().getController().getUDDIPerspective();
-
- formToolPI.setProperty(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- String simpleStyleString = String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE);
- formToolPI.setProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES,simpleStyleString);
- formToolPI.setProperty(UDDIActionInputs.QUERY_STYLE_SERVICES,simpleStyleString);
- formToolPI.setProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,simpleStyleString);
-
- String maxSearchSet = String.valueOf(UDDIActionInputs.QUERY_MAX_SEARCH_SET);
- String maxResults = String.valueOf(UDDIActionInputs.QUERY_MAX_RESULTS);
-
- // RegFindBusinessesSimpleAction inputs
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME,"");
-
- // RegFindBusinessesAdvancedAction inputs
- // The authentication inputs must be added later as this method is called before we can get a valid handle
- // to the RegistryElement in the case of a query node.
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET,maxSearchSet);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS,maxResults);
-
- // RegFindServicesSimpleAction inputs
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME,"");
-
- // RegFindServicesAdvancedAction inputs
- // The authentication inputs must be added later as this method is called before we can get a valid handle
- // to the RegistryElement in the case of a query node.
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_SEARCH_SET,maxSearchSet);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_RESULTS,maxResults);
-
- // RegFindServiceInterfacesSimpleAction inputs
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME,"");
-
- // RegFindServiceInterfacesAdvancedAction inputs
- // The authentication inputs must be added later as this method is called before we can get a valid handle
- // to the RegistryElement in the case of a query node.
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME,"");
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET,maxSearchSet);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS,maxResults);
- }
-
- public final void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-
- public final FormToolPropertiesInterface getFormToolProperties(Object subQueryKeyObject)
- {
- String subQueryKey = (String)subQueryKeyObject;
- if (subQueryKey == null || subQueryKey.length() < 1)
- return this;
- Hashtable subQueriesProperties = (Hashtable)getProperty(UDDIActionInputs.SUBQUERIES_PROPERTIES);
- FormToolPropertiesInterface subQueryProperties = (FormToolPropertiesInterface)subQueriesProperties.get(subQueryKey);
- if (subQueryProperties == null)
- {
- subQueryProperties = new FormToolProperties();
- initDefaultProperties(subQueryProperties);
- subQueriesProperties.put(subQueryKey,subQueryProperties);
- }
- return subQueryProperties;
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- String subQueryKey = (String)getProperty(UDDIActionInputs.SUBQUERY_KEY);
- return SelectFindToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),subQueryKey,forHistory);
- }
-
- public String getFormLink()
- {
- Object subQueryKeyObject = getProperty(UDDIActionInputs.SUBQUERY_KEY);
- if (subQueryKeyObject != null)
- {
- getProperty(UDDIActionInputs.SUBQUERIES_PROPERTIES);
- FormToolPropertiesInterface subQueryProperties = getFormToolProperties(subQueryKeyObject);
- Object subQueryGetObject = subQueryProperties.getProperty(UDDIActionInputs.SUBQUERY_GET);
- if (subQueryGetObject != null)
- {
- boolean isSubQueryGet = ((Boolean)subQueryGetObject).booleanValue();
- if (isSubQueryGet)
- return "uddi/forms/GetForm.jsp";
- }
- }
- return "uddi/forms/RegFindForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegPublishTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegPublishTool.java
deleted file mode 100644
index fc9ac2029..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegPublishTool.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormToolPropertiesInterface;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectFindToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class RegPublishTool extends FormTool implements MultipleFormToolPropertiesInterface
-{
- ToolManager invisibleToolManager_;
- private RegFindTool regFindTool_;
- public RegPublishTool(ToolManager toolManager,String alt)
- {
- super(toolManager,"uddi/images/publish_enabled.gif","uddi/images/publish_highlighted.gif",alt);
- invisibleToolManager_ = new ToolManager(toolManager.getNode());
- regFindTool_ = new RegFindTool(invisibleToolManager_,"");
- }
-
- protected final void initDefaultProperties()
- {
- toolManager_.getNode().getNodeManager().getController().getUDDIPerspective();
-
- setProperty(UDDIActionInputs.SUBQUERY_KEY,"");
-
- setProperty(UDDIActionInputs.QUERY_ITEM,String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES));
- String simpleStyleString = String.valueOf(UDDIActionInputs.QUERY_STYLE_SIMPLE);
- setProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES,simpleStyleString);
- setProperty(UDDIActionInputs.QUERY_STYLE_SERVICES,simpleStyleString);
- setProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES,simpleStyleString);
-
- // RegPublishBusinessSimpleAction inputs
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION,"");
-
- // RegPublishServiceSimpleAction inputs
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION,"");
-
- // RegPublishServiceAdvancedAction inputs
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL,"");
-
- // RegPublishServiceInterfaceSimpleAction inputs
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION,"");
-
- // RegPublishServiceInterfaceAdvancedAction inputs
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL,"");
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME,"");
- }
-
- public final void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- regFindTool_.addAuthenticationProperties(regElement);
- }
-
- public final FormToolPropertiesInterface getFormToolProperties(Object subQueryKeyObject)
- {
- // Empty/Non-existent subquerykey implies publish form. All else implies query form.
- String subQueryKey = (String)subQueryKeyObject;
- if (subQueryKey == null || subQueryKey.length() < 1)
- return this;
- else
- return regFindTool_.getFormToolProperties(subQueryKeyObject);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- String subQueryKey = (String)getProperty(UDDIActionInputs.SUBQUERY_KEY);
- return SelectFindToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),subQueryKey,forHistory);
- }
-
- public String getFormLink()
- {
- Object subQueryKeyObject = getProperty(UDDIActionInputs.SUBQUERY_KEY);
- String subQueryKey = null;
- if (subQueryKeyObject != null)
- {
- getProperty(UDDIActionInputs.SUBQUERIES_PROPERTIES);
- FormToolPropertiesInterface subQueryProperties = getFormToolProperties(subQueryKeyObject);
- Object subQueryGetObject = subQueryProperties.getProperty(UDDIActionInputs.SUBQUERY_GET);
- if (subQueryGetObject != null)
- {
- boolean isSubQueryGet = ((Boolean)subQueryGetObject).booleanValue();
- if (isSubQueryGet)
- return "uddi/forms/GetForm.jsp";
- }
- subQueryKey = (String)subQueryKeyObject;
- }
-
- if (subQueryKey == null || subQueryKey.length() < 1)
- return "uddi/forms/RegPublishForm.jsp";
- else
- return regFindTool_.getFormLink();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryDetailsTool.java
deleted file mode 100644
index ce960f00a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryDetailsTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class RegistryDetailsTool extends DetailsTool
-{
- public RegistryDetailsTool(ToolManager toolManager,String alt)
- {
- super(toolManager,alt,ProxyLoadPageAction.getActionLink("uddi/forms/RegDetailsForm.jsp"));
- }
-
- public final void initDefaultProperties()
- {
- clearPropertyTable();
- toolManager_.getNode().getNodeManager().getController();
- RegistryElement regElement = (RegistryElement)(toolManager_.getNode().getTreeElement());
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME,regElement.getName());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryNode.java
deleted file mode 100644
index 728784343..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RegistryNode.java
+++ /dev/null
@@ -1,249 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.PublishedItemsElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.QueryParentElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class RegistryNode extends UDDINavigatorNode
-{
- private RegistryDetailsTool regDetailsTool_;
- private RegPublishTool regPublishTool_;
- private LoginTool loginTool_;
-
- public static final String IMAGE_PATH_STANDARD = "uddi/images/registry.gif";
- public static final String IMAGE_PATH_WITH_USER_DEFINED_CATEGORIES = "uddi/images/regstrycat_obj.gif";
-
- public RegistryNode(TreeElement element,NodeManager nodeManager,int nodeDepth,String imagePath)
- {
- super(element,nodeManager,nodeDepth,imagePath);
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(UDDIModelConstants.REL_QUERIES_PARENT))
- {
- QueryParentElement queryParentElement = (QueryParentElement)event.getParentElement();
- createChildNode(queryParentElement);
- }
- else if (isPublishedItemsRel(rel))
- {
- PublishedItemsElement publishedItemsElement = (PublishedItemsElement)event.getParentElement();
- createChildNode(publishedItemsElement);
- }
- }
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement childElement = null;
- String inBoundRelName = event.getInBoundRelName();
- String outBoundRelName = event.getOutBoundRelName();
- if (inBoundRelName.equals(UDDIModelConstants.REL_QUERIES_PARENT) || isPublishedItemsRel(inBoundRelName))
- childElement = (TreeElement)event.getInboundElement();
- else if (outBoundRelName.equals(UDDIModelConstants.REL_QUERIES_PARENT) || isPublishedItemsRel(outBoundRelName))
- childElement = (TreeElement)event.getOutBoundElement();
-
- if (childElement != null)
- removeChildNode(childElement);
- }
- });
- UDDIPerspective uddiPerspective = nodeManager_.getController().getUDDIPerspective();
- element.connect(new QueryParentElement(uddiPerspective.getMessage("NODE_NAME_QUERIES_FOLDER"),element_.getModel()),UDDIModelConstants.REL_QUERIES_PARENT,ModelConstants.REL_OWNER);
- element.connect(new PublishedItemsElement(UDDIActionInputs.QUERY_ITEM_BUSINESSES,uddiPerspective.getMessage("NODE_NAME_PUBLISHED_BUSINESSES_FOLDER"),element_.getModel()),UDDIModelConstants.REL_PUBLISHED_BUSINESSES_PARENT,ModelConstants.REL_OWNER);
- element.connect(new PublishedItemsElement(UDDIActionInputs.QUERY_ITEM_SERVICES,uddiPerspective.getMessage("NODE_NAME_PUBLISHED_SERVICES_FOLDER"),element_.getModel()),UDDIModelConstants.REL_PUBLISHED_SERVICES_PARENT,ModelConstants.REL_OWNER);
- element.connect(new PublishedItemsElement(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES,uddiPerspective.getMessage("NODE_NAME_PUBLISHED_SERVICE_INTERFACES_FOLDER"),element_.getModel()),UDDIModelConstants.REL_PUBLISHED_SERVICE_INTERFACES_PARENT,ModelConstants.REL_OWNER);
- setVisibilityOfChildren(false);
- }
-
- private final boolean isPublishedItemsRel(String rel)
- {
- return rel.equals(UDDIModelConstants.REL_PUBLISHED_BUSINESSES_PARENT) || rel.equals(UDDIModelConstants.REL_PUBLISHED_SERVICES_PARENT) || rel.equals(UDDIModelConstants.REL_PUBLISHED_SERVICE_INTERFACES_PARENT);
- }
-
- private final void createChildNode(QueryParentElement queryParentElement)
- {
- QueryParentNode queryParentNode = new QueryParentNode(queryParentElement,nodeManager_,nodeDepth_+1);
- addChild(queryParentNode);
- }
-
- private final void createChildNode(PublishedItemsElement publishedItemsElement)
- {
- PublishedItemsNode publishedItemsNode = new PublishedItemsNode(publishedItemsElement,nodeManager_,nodeDepth_+1);
- addChild(publishedItemsNode);
- }
-
- protected final void initTools()
- {
- nodeManager_.getController();
- UDDIPerspective uddiPerspective = nodeManager_.getController().getUDDIPerspective();
- regDetailsTool_ = new RegistryDetailsTool(toolManager_ ,uddiPerspective.getMessage("ALT_REGISTRY_DETAILS"));
- RegFindTool regFindTool = new RegFindTool(toolManager_,uddiPerspective.getMessage("ALT_FIND"));
- regPublishTool_ = new RegPublishTool(toolManager_,uddiPerspective.getMessage("ALT_PUBLISH"));
- loginTool_ = new LoginTool(toolManager_, uddiPerspective.getMessage("ALT_LOGIN"));
- new AddToFavoritesTool(toolManager_,uddiPerspective.getMessage("ALT_ADD_TO_FAVORITES"));
- regFindTool.addAuthenticationProperties((RegistryElement)element_);
- regPublishTool_.addAuthenticationProperties((RegistryElement)element_);
- }
-
- public final RegistryDetailsTool getRegDetailsTool()
- {
- return regDetailsTool_;
- }
-
- public final RegPublishTool getRegPublishTool()
- {
- return regPublishTool_;
- }
-
- public final LoginTool getLoginTool()
- {
- return loginTool_;
- }
-
- private final void addDiscoveredNodes(Vector allNodes,Node queryParentNode,int queryType)
- {
- Vector queryNodes = queryParentNode.getChildNodes();
- for (int i=0;i<queryNodes.size();i++)
- {
- QueryNode queryNode = (QueryNode)queryNodes.elementAt(i);
- QueryElement queryElement = (QueryElement)queryNode.getTreeElement();
- if (queryType == UDDIActionInputs.QUERY_ITEM_QUERIES)
- allNodes.addElement(queryNode);
- else if (queryElement.getQueryType() == queryType)
- {
- Vector discoveredNodes = queryNode.getChildNodes();
- for (int j=0;j<discoveredNodes.size();j++)
- allNodes.addElement(discoveredNodes.elementAt(j));
- }
- }
- }
-
- private final void addPublishedNodes(Vector allNodes,Node publishedItemsNode)
- {
- Vector itemNodes = publishedItemsNode.getChildNodes();
- for (int i=0;i<itemNodes.size();i++)
- allNodes.addElement(itemNodes.elementAt(i));
- }
-
- public final void getAllBusinessNodes(Vector allBusinessNodes)
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node queryParentNode = getChildNode(regElement.getQueryParentElement());
- Node publishedBusinessesNode = getChildNode(regElement.getPublishedBusinessesElement());
- addDiscoveredNodes(allBusinessNodes,queryParentNode,UDDIActionInputs.QUERY_ITEM_BUSINESSES);
- addPublishedNodes(allBusinessNodes,publishedBusinessesNode);
- }
-
- public final void getAllServiceNodes(Vector allServicesNodes)
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node queryParentNode = getChildNode(regElement.getQueryParentElement());
- Node publishedServicesNode = getChildNode(regElement.getPublishedServicesElement());
- addDiscoveredNodes(allServicesNodes,queryParentNode,UDDIActionInputs.QUERY_ITEM_SERVICES);
- addPublishedNodes(allServicesNodes,publishedServicesNode);
- }
-
- public final void getAllServiceInterfaceNodes(Vector allServiceInterfaceNodes)
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node queryParentNode = getChildNode(regElement.getQueryParentElement());
- Node publishedServiceInterfacesNode = getChildNode(regElement.getPublishedServiceInterfacesElement());
- addDiscoveredNodes(allServiceInterfaceNodes,queryParentNode,UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES);
- addPublishedNodes(allServiceInterfaceNodes,publishedServiceInterfacesNode);
- }
-
- public final void getPublishedBusinessNodes(Vector publishedBusinessNodes)
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node publishedBusinessesNode = getChildNode(regElement.getPublishedBusinessesElement());
- addPublishedNodes(publishedBusinessNodes,publishedBusinessesNode);
- }
-
- public final void getPublishedServiceNodes(Vector publishedServiceNodes)
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node publishedServicesNode = getChildNode(regElement.getPublishedServicesElement());
- addPublishedNodes(publishedServiceNodes,publishedServicesNode);
- }
-
- public final void getPublishedServiceInterfaceNodes(Vector publishedServiceInterfaceNodes)
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node publishedServiceInterfacesNode = getChildNode(regElement.getPublishedServiceInterfacesElement());
- addPublishedNodes(publishedServiceInterfaceNodes,publishedServiceInterfacesNode);
- }
-
- public final void getDiscoveredNodes(Vector discoveredNodes,int queryItem)
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node queryParentNode = getChildNode(regElement.getQueryParentElement());
- addDiscoveredNodes(discoveredNodes,queryParentNode,queryItem);
- }
-
- private final boolean hasQueryResults(Node queryParentNode,int queryType)
- {
- Vector queries = queryParentNode.getChildNodes();
- for (int i=0;i<queries.size();i++)
- {
- QueryNode queryNode = (QueryNode)queries.elementAt(i);
- if (queryNode.getChildNodes().size() > 0)
- {
- QueryElement queryElement = (QueryElement)queryNode.getTreeElement();
- if (queryElement.getQueryType() == queryType)
- return true;
- }
- }
- return false;
- }
-
- public final boolean hasBusiness()
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node publishedBusinessesNode = getChildNode(regElement.getPublishedBusinessesElement());
- if (publishedBusinessesNode.getChildNodes().size() > 0)
- return true;
- return hasQueryResults(getChildNode(regElement.getQueryParentElement()),UDDIActionInputs.QUERY_ITEM_BUSINESSES);
- }
-
- public final boolean hasService()
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node publishedServicesNode = getChildNode(regElement.getPublishedServicesElement());
- if (publishedServicesNode.getChildNodes().size() > 0)
- return true;
- return hasQueryResults(getChildNode(regElement.getQueryParentElement()),UDDIActionInputs.QUERY_ITEM_SERVICES);
- }
-
- public final boolean hasServiceInterface()
- {
- RegistryElement regElement = (RegistryElement)element_;
- Node publishedServiceInterfacesNode = getChildNode(regElement.getPublishedServiceInterfacesElement());
- if (publishedServiceInterfacesNode.getChildNodes().size() > 0)
- return true;
- return hasQueryResults(getChildNode(regElement.getQueryParentElement()),UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ResultsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ResultsTool.java
deleted file mode 100644
index 99a765a7e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ResultsTool.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class ResultsTool extends FormTool
-{
- private String formLink_;
-
- public ResultsTool(ToolManager toolManager,String alt)
- {
- super(toolManager,"images/details_enabled.gif","images/details_highlighted.gif",alt);
- formLink_ = ProxyLoadPageAction.getActionLink("uddi/forms/ResultsForm.jsp");
- }
-
- public final void initDefaultProperties()
- {
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public String getFormLink()
- {
- return formLink_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RootCategoryNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RootCategoryNode.java
deleted file mode 100644
index c0c4233cd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/RootCategoryNode.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryElement;
-
-public class RootCategoryNode extends Node
-{
- public RootCategoryNode(TreeElement element,NodeManager nodeManager)
- {
- super(element,nodeManager,1,"images/root_main.gif");
- setVisibilityOfChildren(true);
- }
-
- public final void createChildren()
- {
- Enumeration children = element_.getElements(UDDIModelConstants.REL_SUBCATEGORIES);
- if (children != null)
- {
- while (children.hasMoreElements())
- {
- CategoryElement categoryElement = (CategoryElement)children.nextElement();
- CategoryNode categoryNode = new CategoryNode(categoryElement,nodeManager_,nodeDepth_+1);
- addChild(categoryNode);
- categoryNode.createChildren();
- }
- }
- }
-
- // Root node: no need for toggle action.
- protected final String getToggleNodeActionHref()
- {
- return null;
- }
-
- // Text only node.
- protected final String getLinkActionHref()
- {
- return null;
- }
-
- protected final void initTools()
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceDetailsTool.java
deleted file mode 100644
index 4f70b4099..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceDetailsTool.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceElement;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.util.CategoryBag;
-
-public class ServiceDetailsTool extends DetailsTool
-{
- public ServiceDetailsTool(ToolManager toolManager,String alt)
- {
- super(toolManager,alt,ProxyLoadPageAction.getActionLink("uddi/forms/ServiceDetailsForm.jsp"));
- }
-
- public final void initDefaultProperties()
- {
- clearPropertyTable();
- toolManager_.getNode().getNodeManager().getController();
- ServiceElement serviceElement = (ServiceElement)(toolManager_.getNode().getTreeElement());
- BusinessService busService = serviceElement.getBusinessService();
-
- setProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,busService.getServiceKey());
- setProperty(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,busService.getBusinessKey());
-
- Vector nameVector = new Vector();
- copyIndexVector(busService.getNameVector(),nameVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,nameVector);
-
- Vector descriptionVector = new Vector();
- copyIndexVector(busService.getDescriptionVector(),descriptionVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,descriptionVector);
-
- CategoryBag catBag = busService.getCategoryBag();
- if (catBag != null)
- {
- Vector catVector = new Vector();
- copyIndexVector(catBag.getKeyedReferenceVector(),catVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES,catVector);
- }
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceDetailsTool.java
deleted file mode 100644
index 4e70e98a7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceDetailsTool.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.ServiceInterfaceElement;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.IdentifierBag;
-
-public class ServiceInterfaceDetailsTool extends DetailsTool
-{
- public ServiceInterfaceDetailsTool(ToolManager toolManager,String alt)
- {
- super(toolManager,alt,ProxyLoadPageAction.getActionLink("uddi/forms/ServiceInterfaceDetailsForm.jsp"));
- }
-
- public final void initDefaultProperties()
- {
- clearPropertyTable();
- toolManager_.getNode().getNodeManager().getController();
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)(toolManager_.getNode().getTreeElement());
- TModel tModel = siElement.getTModel();
-
- setProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY,tModel.getTModelKey());
- ListElement nameListElement = new ListElement(tModel.getNameString());
- nameListElement.setTargetViewToolInfo(-1,-1,0);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME,nameListElement);
-
- Vector descriptionVector = new Vector();
- copyIndexVector(tModel.getDescriptionVector(),descriptionVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,descriptionVector);
-
- IdentifierBag idBag = tModel.getIdentifierBag();
- if (idBag != null)
- {
- Vector idVector = new Vector();
- copyIndexVector(idBag.getKeyedReferenceVector(),idVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS,idVector);
- }
-
- CategoryBag catBag = tModel.getCategoryBag();
- if (catBag != null)
- {
- Vector catVector = new Vector();
- copyIndexVector(catBag.getKeyedReferenceVector(),catVector);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES,catVector);
- }
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceNode.java
deleted file mode 100644
index b3fca7c49..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceInterfaceNode.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.ServiceInterfaceGetBusinessesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.ServiceInterfaceGetServicesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class ServiceInterfaceNode extends UDDINavigatorNode
-{
- private DetailsTool detailsTool_;
- private UnpublishTool unpublishTool_;
- public ServiceInterfaceNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"uddi/images/service_interface_highlighted.gif");
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- detailsTool_ = new ServiceInterfaceDetailsTool(toolManager_,uddiPerspective.getMessage("ALT_SERVICE_INTERFACE_DETAILS"));
- new GetServicesTool(toolManager_,uddiPerspective.getMessage("ALT_GET_SERVICES"),ServiceInterfaceGetServicesAction.getActionLink(nodeId_));
- new GetBusinessesTool(toolManager_,"uddi/images/businesses_closed_enabled.gif","uddi/images/businesses_closed_highlighted.gif",uddiPerspective.getMessage("ALT_GET_BUSINESSES"),ServiceInterfaceGetBusinessesAction.getActionLink(nodeId_));
- new UDDIImportWSDLToWorkbenchTool(toolManager_,controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"));
- new UDDIImportWSDLToFileSystemTool(toolManager_,controller.getMessage("ALT_WSDL_IMPORT_TO_FS"));
- new UDDILaunchWebServiceWizardTool(toolManager_,controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD"));
- new AddToFavoritesTool(toolManager_, uddiPerspective.getMessage("ALT_ADD_TO_FAVORITES"));
- unpublishTool_ = new UnpublishTool(toolManager_,"uddi/images/unpublish_service_interface_enabled.gif","uddi/images/unpublish_service_interface_highlighted.gif",uddiPerspective.getMessage("ALT_UNPUBLISH_SERVICE_INTERFACE"));
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- detailsTool_.addAuthenticationProperties(regElement);
- unpublishTool_.addAuthenticationProperties(regElement);
- }
-
- public String getWSDLURLFromDetailsTool()
- {
- ListElement wsdlURLListElement = (ListElement)detailsTool_.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- if (wsdlURLListElement != null)
- return (String)wsdlURLListElement.getObject();
- else
- return "temp.wsdl";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceNode.java
deleted file mode 100644
index f2c0a5717..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/ServiceNode.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.ServiceGetBusinessAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.ServiceGetServiceInterfacesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class ServiceNode extends UDDINavigatorNode
-{
- private DetailsTool detailsTool_;
- private UnpublishTool unpublishTool_;
- public ServiceNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"uddi/images/service_highlighted.gif");
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- detailsTool_ = new ServiceDetailsTool(toolManager_,uddiPerspective.getMessage("ALT_SERVICE_DETAILS"));
- new GetBusinessesTool(toolManager_,"uddi/images/business_enabled.gif","uddi/images/business_highlighted.gif",uddiPerspective.getMessage("ALT_GET_BUSINESS"),ServiceGetBusinessAction.getActionLink(nodeId_));
- new GetServiceInterfacesTool(toolManager_,uddiPerspective.getMessage("ALT_GET_SERVICE_INTERFACES"),ServiceGetServiceInterfacesAction.getActionLink(nodeId_));
- new UDDIImportWSDLToWorkbenchTool(toolManager_,controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"));
- new UDDIImportWSDLToFileSystemTool(toolManager_,controller.getMessage("ALT_WSDL_IMPORT_TO_FS"));
- new UDDILaunchWebServiceWizardTool(toolManager_,controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD"));
- new UDDIAddToWSDLPerspectiveTool(toolManager_,uddiPerspective.getMessage("ALT_ADD_TO_WSDL_PERSPECTIVE"));
- new AddToFavoritesTool(toolManager_,uddiPerspective.getMessage("ALT_ADD_TO_FAVORITES"));
- unpublishTool_ = new UnpublishTool(toolManager_,"uddi/images/unpublish_service_enabled.gif","uddi/images/unpublish_service_highlighted.gif",uddiPerspective.getMessage("ALT_UNPUBLISH_SERVICE"));
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- detailsTool_.addAuthenticationProperties(regElement);
- unpublishTool_.addAuthenticationProperties(regElement);
- }
-
- public String getWSDLURLFromDetailsTool()
- {
- ListElement wsdlURLListElement = (ListElement)detailsTool_.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- if (wsdlURLListElement != null)
- return (String)wsdlURLListElement.getObject();
- else
- return "temp.wsdl";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryKeyProperty.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryKeyProperty.java
deleted file mode 100644
index 1c1154f26..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryKeyProperty.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-public class SubQueryKeyProperty
-{
- private String subQueryKey_;
-
- public SubQueryKeyProperty()
- {
- subQueryKey_ = "";
- }
-
- public final void setSubQueryKey(String subQueryKey)
- {
- subQueryKey_ = subQueryKey;
- }
-
- public final String getSubQueryKey()
- {
- return subQueryKey_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryTransferTarget.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryTransferTarget.java
deleted file mode 100644
index acd82748d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/SubQueryTransferTarget.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-
-public class SubQueryTransferTarget
-{
- private int nodeId_;
- private int toolId_;
- private int viewId_;
- private int viewToolId_;
- private String subQueryKey_;
- private NodeManager nodeManager_;
- Hashtable parentQueryData_;
-
- public SubQueryTransferTarget(Node node,String subQueryKey,Hashtable parentQueryData)
- {
- nodeId_ = node.getNodeId();
- toolId_ = node.getToolManager().getSelectedToolId();
- viewId_ = node.getViewId();
- viewToolId_ = node.getViewToolId();
- subQueryKey_ = subQueryKey;
- nodeManager_ = node.getNodeManager();
- parentQueryData_ = parentQueryData;
- }
-
- public final int getNodeId()
- {
- return nodeId_;
- }
-
- public final int getToolId()
- {
- return toolId_;
- }
-
- public final int getViewId()
- {
- return viewId_;
- }
-
- public final int getViewToolId()
- {
- return viewToolId_;
- }
-
- public final String getSubQueryKey()
- {
- return subQueryKey_;
- }
-
- public final FormTool getTargetFormTool()
- {
- Node node = nodeManager_.getNode(nodeId_);
- if (node == null)
- return null;
-
- Tool tool = node.getToolManager().getTool(toolId_);
-
- if (viewId_ != ActionInputs.VIEWID_DEFAULT)
- {
- ViewTool viewTool = (ViewTool)tool;
- ToolManager viewToolManager = viewTool.getToolManager(viewId_);
- if (viewToolManager != null)
- tool = viewToolManager.getTool(viewToolId_);
- else
- tool = null;
- }
- return (FormTool)tool;
- }
-
- public final Hashtable getParentQueryData()
- {
- return parentQueryData_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIAddToWSDLPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIAddToWSDLPerspectiveTool.java
deleted file mode 100644
index 97a68a3c0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIAddToWSDLPerspectiveTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.AddToWSDLPerspectiveTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.UDDIAddToWSDLPerspectiveAction;
-
-public class UDDIAddToWSDLPerspectiveTool extends AddToWSDLPerspectiveTool {
- public UDDIAddToWSDLPerspectiveTool(ToolManager toolManager, String alt) {
- super(toolManager,alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return UDDIAddToWSDLPerspectiveAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToFileSystemTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToFileSystemTool.java
deleted file mode 100644
index cba7ba0e0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToFileSystemTool.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToFileSystemTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.UDDIImportWSDLToFileSystemAction;
-
-public class UDDIImportWSDLToFileSystemTool extends ImportToFileSystemTool
-{
- public UDDIImportWSDLToFileSystemTool(ToolManager toolManager,String alt)
- {
- super(toolManager,alt);
- }
-
- public final String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public final String getActionLink()
- {
- Node node = toolManager_.getNode();
- return UDDIImportWSDLToFileSystemAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToWorkbenchTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToWorkbenchTool.java
deleted file mode 100644
index 627683b9c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIImportWSDLToWorkbenchTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToWorkbenchTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class UDDIImportWSDLToWorkbenchTool extends ImportToWorkbenchTool
-{
- public UDDIImportWSDLToWorkbenchTool(ToolManager toolManager,String alt)
- {
- super(toolManager,alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public final String getFormLink()
- {
- return "uddi/forms/UDDIImportWSDLToWorkbenchForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDILaunchWebServiceWizardTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDILaunchWebServiceWizardTool.java
deleted file mode 100644
index 3f432c28f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDILaunchWebServiceWizardTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.LaunchWebServiceWizardTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-
-public class UDDILaunchWebServiceWizardTool extends LaunchWebServiceWizardTool
-{
- public UDDILaunchWebServiceWizardTool(ToolManager toolManager,String alt)
- {
- super(toolManager,alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public final String getFormLink()
- {
- return "uddi/forms/UDDILaunchWebServiceWizardForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIMainNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIMainNode.java
deleted file mode 100644
index f2ed89ee8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIMainNode.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.util.Enumeration;
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.UDDIMainElement;
-
-// Root node for the UDDI Navigator Tree View
-public class UDDIMainNode extends UDDINavigatorNode
-{
- public UDDIMainNode(TreeElement element,NodeManager nodeManager)
- {
- super(element,nodeManager,1,"images/root_main.gif");
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(UDDIModelConstants.REL_REGISTRIES))
- {
- RegistryElement registryElement = (RegistryElement)event.getParentElement();
- UDDIMainElement uddiMainElement = (UDDIMainElement)element_;
- uddiMainElement.addRegistryName(registryElement.getName());
- createChildNode(registryElement);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- RegistryElement childElement = null;
- if (event.getInBoundRelName().equals(UDDIModelConstants.REL_REGISTRIES))
- childElement = (RegistryElement)event.getInboundElement();
- else if (event.getOutBoundRelName().equals(UDDIModelConstants.REL_REGISTRIES))
- childElement = (RegistryElement)event.getOutBoundElement();
-
- if (childElement != null)
- {
- UDDIMainElement uddiMainElement = (UDDIMainElement)element_;
- uddiMainElement.removeRegistryName(childElement.getName());
- removeChildNode(childElement);
- }
- }
- });
- }
-
- private final void createChildNode(TreeElement element)
- {
- RegistryElement regElement = (RegistryElement)element;
- Enumeration userDefinedCategories = regElement.getUserDefinedCategories();
- String imagePath;
- if (userDefinedCategories != null && userDefinedCategories.hasMoreElements())
- imagePath = RegistryNode.IMAGE_PATH_WITH_USER_DEFINED_CATEGORIES;
- else
- imagePath = RegistryNode.IMAGE_PATH_STANDARD;
-
- RegistryNode regNode = new RegistryNode(element,nodeManager_,nodeDepth_+1,imagePath);
- addChild(regNode);
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- new OpenRegistryTool(toolManager_,uddiPerspective.getMessage("ALT_OPEN_REGISTRY"));
- }
-
- // Given a node under a particular registry node, obtain the registry node.
- public final RegistryNode getRegistryNode(Node currentNode)
- {
- RegistryNode regNode = null;
- if (currentNode instanceof RegistryNode)
- {
- regNode = (RegistryNode)currentNode;
- }
- else if (currentNode instanceof QueryNode)
- {
- // Query -> Query folder -> Registry
- regNode = (RegistryNode)(currentNode.getParent().getParent());
- }
- else if (currentNode instanceof QueryParentNode || currentNode instanceof PublishedItemsNode)
- {
- // Query folder -> Registry
- regNode = (RegistryNode)(currentNode.getParent());
- }
- else if (currentNode instanceof BusinessNode || currentNode instanceof ServiceNode || currentNode instanceof ServiceInterfaceNode)
- {
- // itemNode -> Published Items folder -> Registry
- // OR:
- // itemNode -> QueryNode -> Query folder -> Registry
- Node parentNode = currentNode.getParent();
- if (parentNode instanceof QueryNode)
- regNode = (RegistryNode)(parentNode.getParent().getParent());
- else
- regNode = (RegistryNode)parentNode.getParent();
- }
- return regNode;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorFolderNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorFolderNode.java
deleted file mode 100644
index 6bbf4cc5d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorFolderNode.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FolderNode;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectNavigatorNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.ToggleNavigatorNodeAction;
-
-public abstract class UDDINavigatorFolderNode extends FolderNode
-{
- public UDDINavigatorFolderNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth);
- }
-
- // uddi/actions/ToggleNavigatorNodeAction.jsp?nodeId=...
- public final String getToggleNodeActionHref()
- {
- return ToggleNavigatorNodeAction.getActionLink(nodeId_,isOpen_);
- }
-
- // uddi/actions/SelectNavigatorNodeAction.jsp?nodeId=...
- public final String getLinkActionHref()
- {
- return SelectNavigatorNodeAction.getActionLink(nodeId_,false);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorNode.java
deleted file mode 100644
index bf59abf1d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDINavigatorNode.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectNavigatorNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.ToggleNavigatorNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public abstract class UDDINavigatorNode extends Node
-{
- public UDDINavigatorNode(TreeElement element,NodeManager nodeManager,int nodeDepth,String imagePath)
- {
- super(element,nodeManager,nodeDepth,imagePath);
- }
-
- // uddi/actions/ToggleNavigatorNodeAction.jsp?nodeId=...
- public final String getToggleNodeActionHref()
- {
- return ToggleNavigatorNodeAction.getActionLink(nodeId_,isOpen_);
- }
-
- // uddi/actions/SelectNavigatorNodeAction.jsp?nodeId=...
- public final String getLinkActionHref()
- {
- return SelectNavigatorNodeAction.getActionLink(nodeId_,false);
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIPerspective.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIPerspective.java
deleted file mode 100644
index 1368db64c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UDDIPerspective.java
+++ /dev/null
@@ -1,499 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060224 122752 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Properties;
-import java.util.Vector;
-import javax.servlet.ServletContext;
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.favorites.FavoritesRegistryTypeDefault;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddRegistryToUDDIPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesMainElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIRegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesUDDIRegistryFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Perspective;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.OpenRegistryAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.RegFindServiceUUIDAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SwitchPerspectiveFromUDDIAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.CategoryModel;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.UDDIMainElement;
-import org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.eclipse.wst.ws.internal.parser.favorites.IFavoritesUDDIRegistry;
-import org.uddi4j.datatype.tmodel.TModel;
-
-public class UDDIPerspective extends Perspective
-{
- private Hashtable knownRegistries_;
- private IFavoritesUDDIRegistry defaultUDDIRegistry_;
- private Model navigatorModel_;
- private NodeManager navigatorManager_;
- private int wsdlType_;
- private Hashtable categoryManagers_;
- String categoryTModelKey_;
-
- // Window sizes
- private String perspectiveContentFramesetCols_;
- private String savedPerspectiveContentFramesetCols_;
- private String actionsContainerFramesetRows_;
- private String savedActionsContainerFramesetRows_;
-
- public UDDIPerspective(Controller controller)
- {
- super("uddi",controller);
- }
-
- public final void initPerspective(ServletContext application)
- {
- String defaultFavorites = controller_.getDefaultFavoritesLocation();
- FavoritesRegistryTypeDefault favRegTypeDefault = new FavoritesRegistryTypeDefault(defaultFavorites);
- IFavoritesUDDIRegistry[] favRegistriesDefault = favRegTypeDefault.getFavoritesUDDIRegistries();
- knownRegistries_ = new Hashtable();
- for (int i=0;i<favRegistriesDefault.length;i++)
- {
- knownRegistries_.put(favRegistriesDefault[i].getInquiryURL(),favRegistriesDefault[i]);
- }
- if (favRegistriesDefault.length > 0)
- defaultUDDIRegistry_ = favRegistriesDefault[0];
-
- navigatorModel_ = new BasicModel("uddiModel");
- UDDIMainElement uddiMainElement = new UDDIMainElement(getMessage("NODE_NAME_UDDI_MAIN"),navigatorModel_);
- navigatorModel_.setRootElement(uddiMainElement);
- navigatorManager_ = new NodeManager(controller_);
- UDDIMainNode uddiMainNode = new UDDIMainNode(uddiMainElement,navigatorManager_);
- navigatorManager_.setRootNode(uddiMainNode);
-
- wsdlType_ = UDDIActionInputs.WSDL_TYPE_SERVICE_INTERFACE;
- categoryManagers_ = new Hashtable();
-
- // Initialize the default category models.
- if (application.getAttribute("commonCategoryModels") == null)
- {
- synchronized (application)
- {
- if (application.getAttribute("commonCategoryModels") == null)
- {
- Hashtable commonCategoryModels = new Hashtable();
-
- CategoryModel naicsModel = new CategoryModel();
- naicsModel.setServletContext(application);
- naicsModel.setDefaultDataFile("/uddi/data/naics-data.txt");
- naicsModel.setDisplayName(getMessage("FORM_OPTION_CATEGORY_NAICS"));
- naicsModel.setTModelKey(TModel.NAICS_TMODEL_KEY);
- commonCategoryModels.put(TModel.NAICS_TMODEL_KEY,naicsModel);
-
- CategoryModel unspscModel = new CategoryModel();
- unspscModel.setServletContext(application);
- unspscModel.setDefaultDataFile("/uddi/data/unspsc-data.txt");
- unspscModel.setDisplayName(getMessage("FORM_OPTION_CATEGORY_UNSPSC_73"));
- unspscModel.setTModelKey(TModel.UNSPSC_73_TMODEL_KEY);
- commonCategoryModels.put(TModel.UNSPSC_73_TMODEL_KEY,unspscModel);
-
- CategoryModel geoModel = new CategoryModel();
- geoModel.setServletContext(application);
- geoModel.setDefaultDataFile("/uddi/data/geo-data.txt");
- geoModel.setDisplayName(getMessage("FORM_OPTION_CATEGORY_GEO"));
- geoModel.setTModelKey(TModel.ISO_CH_TMODEL_KEY);
- commonCategoryModels.put(TModel.ISO_CH_TMODEL_KEY,geoModel);
-
- application.setAttribute("commonCategoryModels",commonCategoryModels);
- }
- }
- }
- categoryTModelKey_ = null;
-
- // Starting frameset sizes.
- if (!DirUtils.isRTL())
- perspectiveContentFramesetCols_ = "30%,*";
- else
- perspectiveContentFramesetCols_ = "*,30%";
- savedPerspectiveContentFramesetCols_ = perspectiveContentFramesetCols_;
- actionsContainerFramesetRows_ = "75%,*";
- savedActionsContainerFramesetRows_ = actionsContainerFramesetRows_;
- }
-
- public final Hashtable getKnownRegistries()
- {
- // We must always query the favorites to see if additional registries were added over time. This property cannot be cached.
- FavoritesMainElement favMainElement = (FavoritesMainElement)(controller_.getFavoritesPerspective().getNodeManager().getRootNode().getTreeElement());
- FavoritesUDDIRegistryFolderElement favRegFolderElement = favMainElement.getFavoritesUDDIRegistryFolderElement();
- Enumeration e = favRegFolderElement.getAllFavorites();
- while (e.hasMoreElements())
- {
- FavoritesUDDIRegistryElement favRegElement = (FavoritesUDDIRegistryElement)e.nextElement();
- String inquiryURL = favRegElement.getInquiryURL();
- if (knownRegistries_.get(inquiryURL) == null)
- knownRegistries_.put(inquiryURL,favRegElement.getIFavoritesUDDIRegistryInterface());
- }
- return knownRegistries_;
- }
-
- public final String getKnownRegistryPublishURL(String inquiryURL)
- {
- IFavoritesUDDIRegistry knownRegistry = (IFavoritesUDDIRegistry)getKnownRegistries().get(inquiryURL);
- if (knownRegistry != null)
- {
- String publishURL = knownRegistry.getPublishURL();
- if (Validator.validateURL(publishURL))
- return publishURL;
- }
- return null;
- }
-
- public final String getKnownRegistryRegistrationURL(String inquiryURL)
- {
- IFavoritesUDDIRegistry knownRegistry = (IFavoritesUDDIRegistry)getKnownRegistries().get(inquiryURL);
- if (knownRegistry != null)
- {
- String registrationURL = knownRegistry.getRegistrationURL();
- if (Validator.validateURL(registrationURL))
- return registrationURL;
- }
- return null;
- }
-
- public final IFavoritesUDDIRegistry getDefaultUDDIRegistry()
- {
- return defaultUDDIRegistry_;
- }
-
- public final void preloadUDDIRegistries(String[] inquiryURLs, String[] publishURLs)
- {
- if (inquiryURLs != null)
- {
- Hashtable knownRegistries = getKnownRegistries();
- StringBuffer directoryBuffer = new StringBuffer();
- for (int i = 0; i < inquiryURLs.length; i++)
- {
- String inquiryURL = URLUtils.decode(inquiryURLs[i]);
- String publishURL = null;
- String regName = null;
- String registrationURL = null;
- // continue to the next registry if inquiryURL does not exist
- if (!Validator.validateURL(inquiryURL))
- continue;
- // populate and run an OpenRegistryAction
- OpenRegistryAction action = new OpenRegistryAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- IFavoritesUDDIRegistry knownRegistry = (IFavoritesUDDIRegistry)knownRegistries.get(inquiryURL);
- boolean checkForUserDefinedCategories = false;
- File directoryFile = null;
- if (knownRegistry != null)
- {
- publishURL = knownRegistry.getPublishURL();
- regName = knownRegistry.getName();
- registrationURL = knownRegistry.getRegistrationURL();
- directoryBuffer.setLength(0);
- FavoritesUDDIRegistryFolderElement.formCategoriesDirectory(directoryBuffer,controller_.getServletEngineStateLocation(),regName);
- directoryFile = new File(directoryBuffer.toString());
- if (directoryFile.exists() && directoryFile.listFiles().length > 0)
- checkForUserDefinedCategories = true;
- }
- if (regName == null)
- regName = inquiryURL;
- if (publishURL == null && publishURLs != null && i < publishURLs.length && publishURLs[i] != null) {
- publishURL = URLUtils.decode(publishURLs[i]);
- }
- // populate the action
- propertyTable.put(UDDIActionInputs.INQUIRY_URL, inquiryURL);
- propertyTable.put(UDDIActionInputs.REGISTRY_NAME, regName);
- if (Validator.validateURL(publishURL))
- propertyTable.put(UDDIActionInputs.PUBLISH_URL, publishURL);
- if (Validator.validateURL(registrationURL))
- propertyTable.put(UDDIActionInputs.REGISTRATION_URL, registrationURL);
-
- // Check if private registry category information is available for this registry.
- directoryBuffer.setLength(0);
- String encodedInquiryURL = URLUtils.encode(inquiryURL);
- directoryBuffer.append(controller_.getServletEngineStateLocation()).append(encodedInquiryURL).append(".properties");
- directoryFile = new File(directoryBuffer.toString());
- if (directoryFile.exists())
- {
- try
- {
- Properties p = new Properties();
- FileInputStream fin = new FileInputStream(directoryFile);
- p.load(fin);
- fin.close();
- directoryFile.delete();
- String dataDirectory = p.getProperty(UDDIActionInputs.CATEGORIES_DIRECTORY);
- if (dataDirectory != null)
- propertyTable.put(UDDIActionInputs.CATEGORIES_DIRECTORY,dataDirectory);
- checkForUserDefinedCategories = true;
- }
- catch (IOException e)
- {
- checkForUserDefinedCategories = false;
- }
- }
-
- if (checkForUserDefinedCategories)
- propertyTable.put(UDDIActionInputs.CHECK_USER_DEFINED_CATEGORIES,Boolean.TRUE);
- else
- propertyTable.remove(UDDIActionInputs.CHECK_USER_DEFINED_CATEGORIES);
-
- // run the action
- action.run();
-
- RegistryElement regElement = (RegistryElement)(navigatorManager_.getSelectedNode().getTreeElement());
- Enumeration userDefinedCategories = regElement.getUserDefinedCategories();
- if (userDefinedCategories != null && userDefinedCategories.hasMoreElements())
- {
- AddRegistryToUDDIPerspectiveAction action2 = new AddRegistryToUDDIPerspectiveAction(controller_);
- String categoriesDirectory = regElement.getCategoriesDirectory();
- if (categoriesDirectory != null)
- action2.linkCategoryModelsWithSavedData(userDefinedCategories,categoriesDirectory);
- else
- action2.linkCategoryModelsWithSavedData(regElement.getName(),userDefinedCategories);
- }
- }
- if (inquiryURLs.length > 0)
- controller_.setCurrentPerspective(ActionInputs.PERSPECTIVE_UDDI);
- }
- }
-
- // Preconditions:
- // serviceNames and serviceKeys have length >= 1.
- // regNode != null
- private final void preloadServicesForRegistry(RegistryNode regNode,String[] serviceNames,String[] serviceKeys)
- {
- int regNodeId = regNode.getNodeId();
- for (int i=0;i<serviceKeys.length;i++)
- {
- navigatorManager_.setSelectedNodeId(regNodeId);
- RegFindServiceUUIDAction action = new RegFindServiceUUIDAction(controller_);
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_NAME,serviceNames[i]);
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,serviceKeys[i]);
- action.run();
- navigatorManager_.makeSelectedNodeVisible();
- }
- }
-
- public final void preloadServices(String[] inquiryURLs,String[] serviceNames,String[] serviceKeys)
- {
- // The algorithm will search for each service key in each inquiry URL.
- if (serviceKeys != null && serviceNames != null && serviceNames.length == serviceKeys.length)
- {
- for (int i=0;i<serviceKeys.length;i++)
- {
- if (inquiryURLs != null)
- {
- // Eliminate duplicate inquiry URLs.
- Hashtable inquiryURLsHash = new Hashtable();
- for (int j=0;j<inquiryURLs.length;j++)
- inquiryURLsHash.put(inquiryURLs[j],Boolean.TRUE);
- // Loop through all the available registries and use them if possible.
- Node uddiMainNode = navigatorManager_.getRootNode();
- Vector registryNodes = uddiMainNode.getChildNodes();
- for (int k=0;k<registryNodes.size();k++)
- {
- RegistryNode regNode = (RegistryNode)registryNodes.elementAt(k);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
- String existingRegistryInquiryURL = regElement.getInquiryURL();
- if (inquiryURLsHash.get(existingRegistryInquiryURL) != null)
- {
- preloadServicesForRegistry(regNode,serviceNames,serviceKeys);
- inquiryURLsHash.remove(existingRegistryInquiryURL);
- }
- }
- Enumeration inquiryURLsEnum = inquiryURLsHash.keys();
- while (inquiryURLsEnum.hasMoreElements())
- {
- String inquiryURL = (String)inquiryURLsEnum.nextElement();
- preloadUDDIRegistries(new String[] {inquiryURL},null);
- RegistryNode regNode = (RegistryNode)navigatorManager_.getSelectedNode();
- preloadServicesForRegistry(regNode,serviceNames,serviceKeys);
- }
- }
- }
- }
- }
-
- public final void setCategoryTModelKey(String categoryTModelKey)
- {
- categoryTModelKey_ = categoryTModelKey;
- }
-
- public final String getCategoryTModelKey()
- {
- return categoryTModelKey_;
- }
-
- private final void initCategoryBrowser(CategoryModel categoryModel,NodeManager nodeManager)
- {
- TreeElement categoryRootElement = (TreeElement)categoryModel.getRootElement();
- RootCategoryNode rootCategoryNode = new RootCategoryNode(categoryRootElement,nodeManager);
- nodeManager.setRootNode(rootCategoryNode);
- rootCategoryNode.createChildren();
- }
-
- public final NodeManager getCategoryManager()
- {
- return (NodeManager)categoryManagers_.get(categoryTModelKey_);
- }
-
- public final NodeManager getCategoryManager(CategoryModel categoryModel)
- {
- String tModelKey = categoryModel.getTModelKey();
- NodeManager categoryManager = (NodeManager)categoryManagers_.get(tModelKey);
- if (categoryManager == null)
- {
- categoryManager = new NodeManager(controller_);
- initCategoryBrowser(categoryModel,categoryManager);
- categoryManagers_.put(tModelKey,categoryManager);
- }
- return categoryManager;
- }
-
- public final NodeManager getNavigatorManager()
- {
- return navigatorManager_;
- }
-
- public final NodeManager getNodeManager()
- {
- return getNavigatorManager();
- }
-
- public final void setWSDLType(int wsdlType)
- {
- wsdlType_ = wsdlType;
- }
-
- public final int getWSDLType()
- {
- return wsdlType_;
- }
-
- public final String getPerspectiveContentPage()
- {
- return "uddi/uddi_perspective_content.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_UDDI;
- }
-
- public final String getFramesetsFile()
- {
- return "uddi/scripts/uddiframesets.jsp";
- }
-
- public final String getProcessFramesetsForm()
- {
- return "uddi/forms/ProcessUDDIFramesetsForm.jsp";
- }
-
- public final String getPanesFile()
- {
- return "uddi/scripts/uddipanes.jsp";
- }
-
- public final String getTreeContentVar()
- {
- return "navigatorContent";
- }
-
- public final String getTreeContentPage()
- {
- return "uddi/navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar()
- {
- return "propertiesContainer";
- }
-
- public final String getPropertiesContainerPage()
- {
- return "uddi/properties_container.jsp";
- }
-
- public final String getStatusContentVar()
- {
- return "statusContent";
- }
-
- public final String getStatusContentPage()
- {
- return "uddi/status_content.jsp";
- }
-
- public final String getSavePerspectiveActionLink()
- {
- //return SaveUDDIPerspectiveAction.getActionLink();
- return "";
- }
-
- public final String getPerspectiveContentFramesetCols()
- {
- return perspectiveContentFramesetCols_;
- }
-
- public final void setPerspectiveContentFramesetCols(String cols)
- {
- perspectiveContentFramesetCols_ = cols;
- }
-
- public final void setSavedPerspectiveContentFramesetCols(String cols)
- {
- savedPerspectiveContentFramesetCols_ = cols;
- }
-
- public final String getSavedPerspectiveContentFramesetCols()
- {
- return savedPerspectiveContentFramesetCols_;
- }
-
- public final String getActionsContainerFramesetRows()
- {
- return actionsContainerFramesetRows_;
- }
-
- public final void setActionsContainerFramesetRows(String rows)
- {
- actionsContainerFramesetRows_ = rows;
- }
-
- public final void setSavedActionsContainerFramesetRows(String rows)
- {
- savedActionsContainerFramesetRows_ = rows;
- }
-
- public final String getSavedActionsContainerFramesetRows()
- {
- return savedActionsContainerFramesetRows_;
- }
-
- public final String getSwitchPerspectiveFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- return SwitchPerspectiveFromUDDIAction.getFormActionLink(targetPerspectiveId,forHistory);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UnpublishTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UnpublishTool.java
deleted file mode 100644
index 8cfcd0575..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/perspective/UnpublishTool.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-
-public class UnpublishTool extends FormTool
-{
- public UnpublishTool(ToolManager toolManager, String enableImage, String highlightImage, String alt)
- {
- super(toolManager, enableImage, highlightImage, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node node = toolManager_.getNode();
- return SelectPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public void addAuthenticationProperties(RegistryElement regElement)
- {
- String publishURL = regElement.getPublishURL();
- String userId = regElement.getUserId();
- String password = regElement.getCred();
-
- if (publishURL == null)
- publishURL = "";
- if (userId == null)
- userId = "";
- if (password == null)
- password = "";
-
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL,publishURL);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID,userId);
- setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD,password);
- }
-
- public String getFormLink()
- {
- return "uddi/forms/UnpublishForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/util/Uddi4jHelper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/util/Uddi4jHelper.java
deleted file mode 100644
index 8a7b2fe7f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/uddi/util/Uddi4jHelper.java
+++ /dev/null
@@ -1,423 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20061004 148052 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.uddi.util;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-import javax.wsdl.Binding;
-import javax.wsdl.Definition;
-import javax.wsdl.Import;
-import javax.wsdl.Message;
-import javax.wsdl.Port;
-import javax.wsdl.PortType;
-import javax.wsdl.Service;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.uddi4j.UDDIException;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.OverviewDoc;
-import org.uddi4j.datatype.OverviewURL;
-import org.uddi4j.datatype.binding.AccessPoint;
-import org.uddi4j.datatype.binding.BindingTemplate;
-import org.uddi4j.datatype.binding.BindingTemplates;
-import org.uddi4j.datatype.binding.InstanceDetails;
-import org.uddi4j.datatype.binding.TModelInstanceDetails;
-import org.uddi4j.datatype.binding.TModelInstanceInfo;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.datatype.tmodel.TModel;
-import org.uddi4j.response.TModelDetail;
-import org.uddi4j.transport.TransportException;
-import org.uddi4j.util.CategoryBag;
-import org.uddi4j.util.KeyedReference;
-import org.w3c.dom.CharacterData;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class Uddi4jHelper
-{
- public final KeyedReference getWSDLKeyedReference()
- {
- KeyedReference keyRef = new KeyedReference("types", "wsdlSpec");
- keyRef.setTModelKey("UUID:C1ACF26D-9672-4404-9D70-39B756E62AB4");
- return keyRef;
- }
-
- public final TModel newTModel(String wsdlUrl) throws WSDLException
- {
- return newTModel(wsdlUrl, getWSDLDefinition(wsdlUrl));
- }
-
- public final TModel newTModel(String wsdlUrl, Definition def) throws WSDLException
- {
- TModel tModel = new TModel();
- tModel.setTModelKey("");
- tModel.setName(def.getTargetNamespace());
- tModel.setDefaultDescriptionString("");
- OverviewDoc overviewDoc = new OverviewDoc();
- overviewDoc.setOverviewURL(wsdlUrl);
- tModel.setOverviewDoc(overviewDoc);
- CategoryBag catBag = new CategoryBag();
- Vector keyRefVector = new Vector();
- keyRefVector.add(getWSDLKeyedReference());
- catBag.setKeyedReferenceVector(keyRefVector);
- tModel.setCategoryBag(catBag);
- return tModel;
- }
-
- public final BusinessService newBusinessService(String wsdlUrl, Hashtable tModelsTable) throws WSDLException
- {
- return newBusinessService(wsdlUrl, getWSDLDefinition(wsdlUrl), tModelsTable);
- }
-
- public final BusinessService newBusinessService(String wsdlUrl, Definition def, Hashtable tModelsTable) throws WSDLException
- {
- BusinessService bs = new BusinessService();
- bs.setServiceKey("");
- BindingTemplates bindingTemplates = new BindingTemplates();
- Vector bindingTemplateVector = new Vector();
- Service[] services = (Service[])def.getServices().values().toArray(new Service[0]);
- if (services.length > 0)
- {
- Port[] ports = (Port[])services[0].getPorts().values().toArray(new Port[0]);
- for (int i = 0; i < ports.length; i++)
- {
- TModelInstanceDetails tModelDetails = new TModelInstanceDetails();
- Vector tModelInfoVector = new Vector();
- TModel tModel = (TModel)tModelsTable.get(ports[i].getBinding().getPortType().getQName().getNamespaceURI());
- tModelInfoVector.add(createTModelInstanceInfo(wsdlUrl, ports[i], tModel.getTModelKey()));
- tModelDetails.setTModelInstanceInfoVector(tModelInfoVector);
- BindingTemplate bindingTemplate = new BindingTemplate();
- bindingTemplate.setDefaultDescriptionString(createDescription(ports[i]));
- bindingTemplate.setAccessPoint(createAccessPoint(ports[i]));
- bindingTemplate.setTModelInstanceDetails(tModelDetails);
- bindingTemplate.setBindingKey("");
- bindingTemplateVector.add(bindingTemplate);
- }
- }
- bindingTemplates.setBindingTemplateVector(bindingTemplateVector);
- bs.setBindingTemplates(bindingTemplates);
- return bs;
- }
-
- public final BusinessService newBusinessService(String wsdlUrl, Definition def, TModel[] tModels) throws WSDLException
- {
- BusinessService bs = new BusinessService();
- bs.setServiceKey("");
- BindingTemplates bindingTemplates = new BindingTemplates();
- Vector bindingTemplateVector = new Vector();
- Service[] services = (Service[])def.getServices().values().toArray(new Service[0]);
- if (services.length > 0)
- {
- Port[] ports = (Port[])services[0].getPorts().values().toArray(new Port[0]);
- for (int i = 0; i < ports.length; i++)
- {
- for (int j = 0; j < tModels.length; j++)
- {
- TModelInstanceDetails tModelDetails = new TModelInstanceDetails();
- Vector tModelInfoVector = new Vector();
- tModelInfoVector.add(createTModelInstanceInfo(wsdlUrl, ports[i], tModels[j].getTModelKey()));
- tModelDetails.setTModelInstanceInfoVector(tModelInfoVector);
- BindingTemplate bindingTemplate = new BindingTemplate();
- bindingTemplate.setDefaultDescriptionString(createDescription(ports[i]));
- bindingTemplate.setAccessPoint(createAccessPoint(ports[i]));
- bindingTemplate.setTModelInstanceDetails(tModelDetails);
- bindingTemplate.setBindingKey("");
- bindingTemplateVector.add(bindingTemplate);
- }
- }
- }
- bindingTemplates.setBindingTemplateVector(bindingTemplateVector);
- bs.setBindingTemplates(bindingTemplates);
- return bs;
- }
-
- public Definition getWSDLDefinition(String wsdlUrl) throws WSDLException
- {
- try
- {
- WebServicesParserExt parser = new WebServicesParserExt();
- String proxySet = System.getProperty("http.proxySet");
- if (proxySet != null && proxySet.equals("true"))
- {
- parser.setHTTPBasicAuthUsername(System.getProperty("http.proxyUserName"));
- parser.setHTTPBasicAuthPassword(System.getProperty("http.proxyPassword"));
- }
- return parser.getWSDLDefinitionVerbose(wsdlUrl);
- }
- catch (Exception e)
- {
- throw new WSDLException(WSDLException.PARSER_ERROR, e.getMessage(), e);
- }
- }
-
- private final String createDescription(Port port)
- {
- String desc = null;
- Element e = port.getDocumentationElement();
- if (e != null)
- {
- Node node = e.getFirstChild();
- StringBuffer sb = new StringBuffer();
- while (node != null)
- {
- switch (node.getNodeType())
- {
- case Node.TEXT_NODE:
- case Node.CDATA_SECTION_NODE:
- sb.append(((CharacterData)node).getData());
- default:
- node = node.getNextSibling();
- break;
- }
- }
- desc = sb.toString();
- }
- return desc;
- }
-
- private final TModelInstanceInfo createTModelInstanceInfo(String wsdlUrl, Port port, String tModelKey)
- {
- InstanceDetails details = new InstanceDetails();
- OverviewDoc overviewDoc = new OverviewDoc();
- TModelInstanceInfo tModelInfo = new TModelInstanceInfo();
- StringBuffer overviewURLString = new StringBuffer(wsdlUrl);
- String portName = port.getName();
- if (portName != null)
- {
- overviewURLString.append("#");
- overviewURLString.append(portName);
- }
- overviewDoc.setOverviewURL(new OverviewURL(overviewURLString.toString()));
- details.setOverviewDoc(overviewDoc);
- tModelInfo.setInstanceDetails(details);
- if (tModelKey != null)
- tModelInfo.setTModelKey(tModelKey);
- return tModelInfo;
- }
-
- private final AccessPoint createAccessPoint(Port port)
- {
- AccessPoint accessPoint = null;
- List list = port.getExtensibilityElements();
- for (int j = 0; j < list.size(); j++)
- {
- ExtensibilityElement extElement = (ExtensibilityElement)list.get(j);
- if (extElement instanceof SOAPAddress)
- {
- String locationURI = ((SOAPAddress)extElement).getLocationURI();
- accessPoint = new AccessPoint(locationURI, getURLType(locationURI));
- break;
- }
- else if (extElement instanceof HTTPAddress)
- {
- String locationURI = ((HTTPAddress)extElement).getLocationURI();
- accessPoint = new AccessPoint(locationURI, getURLType(locationURI));
- break;
- }
- }
- return accessPoint;
- }
-
- private final String URL_TYPE_OTHER = "other";
- private final String URL_TYPES = "http https mail ftp fax phone other";
-
- private final String getURLType(String url)
- {
- int i = url.indexOf(":");
- String type;
- if (i == -1)
- type = URL_TYPE_OTHER;
- else
- {
- type = url.substring(0, i);
- if (type.equals("") || URL_TYPES.indexOf(type) == -1)
- type = URL_TYPE_OTHER;
- }
- return type;
- }
-
- public boolean isMonolithicWSDL(Definition def)
- {
- return hasMessage(def) && hasPortType(def) && hasBinding(def) && hasService(def);
- }
-
- public boolean isServiceImplement(Definition def)
- {
- return hasImport(def) && hasService(def);
- }
-
- public boolean isServiceInterface(Definition def)
- {
- return hasMessage(def) && hasPortType(def) && hasBinding(def);
- }
-
- public boolean isServiceInterfaceWithBindingsOnly(Definition def)
- {
- return !hasService(def) && hasBinding(def);
- }
-
- private boolean hasMessage(Definition def)
- {
- for(Iterator it = def.getMessages().values().iterator(); it.hasNext();)
- if (!((Message)it.next()).isUndefined())
- return true;
- return false;
- }
-
- private boolean hasPortType(Definition def)
- {
- for(Iterator it = def.getPortTypes().values().iterator(); it.hasNext();)
- if (!((PortType)it.next()).isUndefined())
- return true;
- return false;
- }
-
- private boolean hasBinding(Definition def)
- {
- for(Iterator it = def.getBindings().values().iterator(); it.hasNext();)
- if (!((Binding)it.next()).isUndefined())
- return true;
- return false;
- }
-
- private boolean hasService(Definition def)
- {
- return !def.getServices().isEmpty();
- }
-
- private boolean hasImport(Definition def)
- {
- return !def.getImports().isEmpty();
- }
-
- public String[] getImports(Definition def, String wsdlUrl)
- {
-
-
- Map importsMap = def.getImports();
- Collection values = importsMap.values();
- Iterator it = values.iterator();
-
- Vector importsVec = new Vector();
- for(int i =0;it.hasNext();i++){
- ArrayList aList = (ArrayList)it.next();
- Iterator itImports = aList.iterator();
- while(itImports.hasNext()){
- importsVec.add(itImports.next());
- }
- }
- Import imports[] = new Import[importsVec.size()] ;
- Iterator itVec = importsVec.iterator();
- for(int j = 0;itVec.hasNext();j++){
- imports[j] = (Import)itVec.next();
- }
-
-
-
- String[] importStrings = new String[imports.length];
- String s;
- if (wsdlUrl != null && wsdlUrl.indexOf('/') != -1)
- s = wsdlUrl.substring(0, wsdlUrl.lastIndexOf('/')+1);
- else
- s = "";
- for (int i = 0; i < importStrings.length; i++)
- {
- StringBuffer sb = new StringBuffer();
- String locationURI = imports[i].getLocationURI();
- if (locationURI.indexOf(':') != -1)
- sb.append(locationURI);
- else
- sb.append(s).append(locationURI);
- importStrings[i] = sb.toString();
- }
- return importStrings;
- }
-
- public String getWSDL(BusinessService bs, UDDIProxy proxy)
- {
- Vector bindingTemplateVector = bs.getBindingTemplates().getBindingTemplateVector();
- if (bindingTemplateVector.size() > 0)
- {
- BindingTemplate bt = (BindingTemplate)bindingTemplateVector.get(0);
- TModelInstanceDetails tModelDetails = bt.getTModelInstanceDetails();
- if (tModelDetails != null)
- {
- Vector tModelInfoVector = tModelDetails.getTModelInstanceInfoVector();
- if (tModelInfoVector.size() > 0)
- {
- TModelInstanceInfo tModelInfo = (TModelInstanceInfo)tModelInfoVector.get(0);
- InstanceDetails details = tModelInfo.getInstanceDetails();
- if (details != null)
- {
- OverviewDoc overviewDoc = details.getOverviewDoc();
- if (overviewDoc != null)
- return parse(overviewDoc.getOverviewURLString());
- }
- else if (proxy != null)
- {
- String tModelKey = tModelInfo.getTModelKey();
- if (tModelKey != null)
- {
- try
- {
- TModelDetail t = proxy.get_tModelDetail(tModelKey);
- if (t != null)
- {
- Vector tModelVector = t.getTModelVector();
- if (tModelVector != null && tModelVector.size() > 0)
- return getWSDL((TModel)tModelVector.get(0));
- }
- }
- catch (UDDIException uddie)
- {
- }
- catch (TransportException te)
- {
- }
- }
- }
- }
- }
- }
- return null;
- }
-
- public String getWSDL(TModel tModel)
- {
- OverviewDoc overviewDoc = tModel.getOverviewDoc();
- if (overviewDoc != null)
- return parse(overviewDoc.getOverviewURLString());
- else
- return null;
- }
-
- private String parse(String s)
- {
- if (s != null && s.length() > 0)
- {
- int index = s.indexOf('#');
- if (index != -1)
- return s.substring(0, index);
- }
- return s;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/CharArrayWrapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/CharArrayWrapper.java
deleted file mode 100644
index d54f81c26..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/CharArrayWrapper.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.io.CharArrayWriter;
-import java.io.PrintWriter;
-import javax.servlet.http.HttpServletResponse;
-import javax.servlet.http.HttpServletResponseWrapper;
-
-public class CharArrayWrapper extends HttpServletResponseWrapper
-{
- private CharArrayWriter charArrayWriter_;
-
- public CharArrayWrapper(HttpServletResponse response)
- {
- super(response);
- charArrayWriter_ = new CharArrayWriter();
- }
-
- public PrintWriter getWriter()
- {
- return new PrintWriter(charArrayWriter_);
- }
-
- public String toString()
- {
- return charArrayWriter_.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/DirUtils.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/DirUtils.java
deleted file mode 100644
index 2ba8bc5d6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/DirUtils.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.util.Locale;
-import org.eclipse.core.runtime.Platform;
-
-public final class DirUtils
-{
- public static boolean isRTL()
- {
- return "rtl".equals(getDir());
- }
-
- public static String getDir()
- {
- String rtl = "rtl";
- String ltr = "ltr";
-
- // from system property
- String orientation = System.getProperty("eclipse.orientation"); //$NON-NLS-1$
- if (rtl.equals(orientation)) //$NON-NLS-1$
- return rtl;
- else if (ltr.equals(orientation)) //$NON-NLS-1$
- return ltr;
-
- // from command line
- String[] args = Platform.getCommandLineArgs();
- for (int i = 0; i < args.length; i++)
- {
- if ("-dir".equalsIgnoreCase(args[i])) //$NON-NLS-1$
- {
- if ((i + 1) < args.length && "rtl".equalsIgnoreCase(args[i + 1])) //$NON-NLS-1$
- {
- return rtl;
- }
- return ltr;
- }
- }
-
- // Check if the user property is set. If not do not
- // rely on the vm.
- if (System.getProperty("osgi.nl.user") == null) //$NON-NLS-1$
- return ltr;
-
- // guess from default locale
- String locale = Platform.getNL();
- if (locale == null)
- {
- locale = Locale.getDefault().toString();
- }
- if (locale.startsWith("ar") || locale.startsWith("fa") //$NON-NLS-1$//$NON-NLS-2$
- || locale.startsWith("he") || locale.startsWith("iw") //$NON-NLS-1$//$NON-NLS-2$
- || locale.startsWith("ur")) //$NON-NLS-1$
- {
- return rtl;
- }
- return ltr;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/HTMLUtils.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/HTMLUtils.java
deleted file mode 100644
index 83cf955d1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/HTMLUtils.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import javax.servlet.http.HttpServletResponse;
-
-public final class HTMLUtils
-{
- public static final String UTF8_ENCODING = "UTF-8";
- public static final String LINE_BREAK = "<br>";
- public static final String LINE_SEPARATOR = System.getProperties().getProperty("line.separator");
-
- /**
- * Get the HTML tag for an image.
- * @return String The HTML tag for this image.
- * @param HttpServletResponse To encode the src attribute.
- * @param String src attribute defining the path to the image file. This must include the context path.
- * @param String Optional alt text to be displayed with the image. Set this to null to disable the attribute.
- * @param String Optional width of the rendered image. Set this to null to disable the attribute.
- * @param String Optional height of the rendered imag. Set this to null to disable the attribute.
- * @param Hashtable Optional key-value pairs of additional strings to be added as-is to the tag. Set this to null to disable.
- * @return String The image tag.
- */
- public static final String getHTMLImageTag(HttpServletResponse response,String src,String alt,String width,String height,Hashtable additionalAttributes)
- {
- StringBuffer tag = new StringBuffer("<img src=\"");
- tag.append(response.encodeURL(src)).append('\"');
- if (alt != null)
- {
- tag.append(" alt=\"").append(alt).append('\"');
- tag.append(" title=\"").append(alt).append('\"');
- }
- if (width != null)
- tag.append(" width=").append(width);
- if (height != null)
- tag.append(" height=").append(height);
- tag.append(" border=0");
- if (additionalAttributes != null)
- {
- Enumeration keys = additionalAttributes.keys();
- while (keys.hasMoreElements())
- {
- String key = (String)keys.nextElement();
- tag.append(' ').append(key).append("=\"").append((String)additionalAttributes.get(key)).append('\"');
- }
- }
- tag.append('>');
- return tag.toString();
- }
-
- /**
- * Get the HTML tag for this link. The complete tag consists of the open tag <a> followed by a subelement and, finally, by an end tag </a>.
- * @return String The HTML tag of the link.
- * @param HttpServletResponse To encode the href attribute.
- * @param String The href attribute of the link. This must include the context path.
- * @param String target Optional target attribute for the link. Set this to null to disable the attribute.
- * @param String Optional name for the link. Set this to null to disable the attribute.
- * @param String The label which acts as the subelement. i.e. <a>label</a>.
- * @param Hashtable Optional key-value pairs of additional string attributes to be added as-is to the open tag. Set this to null to disable.
- */
- public static final String getHTMLLinkTag(HttpServletResponse response,String href,String target,String name,String label,Hashtable additionalAttributes)
- {
- StringBuffer tag = new StringBuffer("<a href=\"");
- tag.append(response.encodeURL(href)).append('\"');
- if (target != null)
- tag.append(" target=\"").append(target).append('\"');
- if (name != null)
- tag.append(" name=\"").append(name).append('\"');
- if (additionalAttributes != null)
- {
- Enumeration keys = additionalAttributes.keys();
- while (keys.hasMoreElements())
- {
- String key = (String)keys.nextElement();
- tag.append(' ').append(key).append("=\"").append((String)additionalAttributes.get(key)).append('\"');
- }
- }
- tag.append('>');
- tag.append(label);
- tag.append("</a>");
- return tag.toString();
- }
-
- /**
- * Get the HTML tag for a red asterist.
- * @return String The HTML tag for the red asterisk.
- */
- public static final String redAsterisk()
- {
- return "<font color=\"#ff0000\">*</font>";
- }
-
- /**
- * Get the Javascript mangled version of a given input String.
- * @return String The Javascript mangled String.
- */
- public static final String JSMangle(String input)
- {
- if (input == null)
- return "";
-
- StringBuffer mangledOutput = new StringBuffer();
- for (int i=0;i<input.length();i++)
- {
- char c = input.charAt(i);
- switch (c)
- {
- case '\n':
- mangledOutput.append("\\n");
- break;
- case '\r':
- mangledOutput.append("\\r");
- break;
- case '\\':
- case '\"':
- case '\'':
- mangledOutput.append('\\');
- default:
- mangledOutput.append(c);
- }
- }
- return mangledOutput.toString();
- }
-
- private static final String LESS_THAN = "<";
- private static final String LESS_THAN_HTML_ENTITY = "&lt;";
- private static final String GREATER_THAN = ">";
- private static final String GREATER_THAN_HTML_ENTITY = "&gt;";
- private static final String SPACE = " ";
- private static final String SPACE_HTML_ENTITY = "&nbsp;";
- private static final String AMPERSAND = "&";
- private static final String AMPERSAND_HTML_ENTITY = "&amp;";
- private static final String QUOTATION = "\"";
- private static final String QUOTATION_HTML_ENTITY = "&quot;";
-
- /**
- * Replace special characters with HTML entities representing these characters.
- * Note that this will also convert normal spaces into non-breaking spaces, which may be good for
- * presentation but not for editing.
- *
- * @return String The converted String. Note: Order is important so that corrected entity references are not re-mangled.
- */
- public static final String charactersToHTMLEntities(String s) {
- s = stringReplace(s, AMPERSAND, AMPERSAND_HTML_ENTITY);
- s = stringReplace(s, LESS_THAN, LESS_THAN_HTML_ENTITY);
- s = stringReplace(s, GREATER_THAN, GREATER_THAN_HTML_ENTITY);
- s = stringReplace(s, SPACE, SPACE_HTML_ENTITY);
- s = stringReplace(s, QUOTATION, QUOTATION_HTML_ENTITY);
- return s;
- }
-
- /**
- * Replace special characters with HTML entities representing these characters
- * @return String The converted String. Note: Order is important so that corrected entity references are not re-mangled.
- */
- public static final String charactersToHTMLEntitiesStrict(String s) {
- s = stringReplace(s, AMPERSAND, AMPERSAND_HTML_ENTITY);
- s = stringReplace(s, LESS_THAN, LESS_THAN_HTML_ENTITY);
- s = stringReplace(s, GREATER_THAN, GREATER_THAN_HTML_ENTITY);
- s = stringReplace(s, QUOTATION, QUOTATION_HTML_ENTITY);
- return s;
- }
-
- /**
- * Replace HTML character entities with their associated characters.
- * @return String The converted String.
- */
- public static final String htmlEntitiesToCharacters(String s) {
- s = stringReplace(s, LESS_THAN_HTML_ENTITY, LESS_THAN);
- s = stringReplace(s, GREATER_THAN_HTML_ENTITY, GREATER_THAN);
- s = stringReplace(s, SPACE_HTML_ENTITY, SPACE);
- s = stringReplace(s, AMPERSAND_HTML_ENTITY, AMPERSAND);
- s = stringReplace(s, QUOTATION_HTML_ENTITY, QUOTATION);
- return s;
- }
-
- private static final String stringReplace(String s, String oldString, String newString) {
- String sCopy = s;
- int fromIndex = 0;
- int oldStringIndex = sCopy.indexOf(oldString, fromIndex);
- StringBuffer sb = new StringBuffer();
- while (oldStringIndex != -1) {
- sb.setLength(0);
- sb.append(sCopy.substring(0, oldStringIndex));
- sb.append(newString);
- sb.append(sCopy.substring(oldStringIndex + oldString.length(), sCopy.length()));
- sCopy = sb.toString();
- fromIndex = oldStringIndex + newString.length();
- oldStringIndex = sCopy.indexOf(oldString, fromIndex);
- }
- return sCopy;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataException.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataException.java
deleted file mode 100644
index 39008b18c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataException.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-public final class MultipartFormDataException extends Throwable
-{
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3257845472227110961L;
-
-public MultipartFormDataException(String message)
- {
- super(message);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataParser.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataParser.java
deleted file mode 100644
index 193036d21..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/MultipartFormDataParser.java
+++ /dev/null
@@ -1,247 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.io.BufferedReader;
-import java.io.InputStreamReader;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import javax.servlet.http.HttpServletRequest;
-
-public final class MultipartFormDataParser
-{
- private Hashtable paramTable_;
-
- private static final String HEADER_CONTENT_TYPE = "Content-Type";
- private static final String HEADER_MULTIPART = "multipart";
- private static final String HEADER_BOUNDARY = "boundary=";
- private static final String HEADER_CONTENT_DISPOSITION = "Content-Disposition: form-data";
- private static final String HEADER_NAME = "name=\"";
-
- private static final byte PARSER_STATE_INITIAL = 0;
- private static final byte PARSER_STATE_BOUNDARY = 1;
- private static final byte PARSER_STATE_PARAMETER = 2;
- private static final byte PARSER_STATE_BLANK = 3;
- private static final byte PARSER_STATE_DATA = 4;
-
- private static String parserStates[] = {"initial","boundary","parameter name","blank line","data"};
-
- public MultipartFormDataParser()
- {
- }
-
- public MultipartFormDataParser(Hashtable parameters)
- {
- paramTable_ = new Hashtable();
- for (Iterator it = parameters.keySet().iterator(); it.hasNext();)
- {
- Object key = it.next();
- Object value = parameters.get(key);
- if (value instanceof List)
- {
- List list = (List)value;
- for (Iterator it2 = list.iterator(); it2.hasNext();)
- saveData(key.toString(), it2.next().toString());
- }
- else if (value.getClass().isArray())
- {
- Object[] array = (Object[])value;
- for (int i = 0; i < array.length; i++)
- saveData(key.toString(), array[i].toString());
- }
- else
- {
- saveData(key.toString(), value.toString());
- }
- }
- }
-
- /**
- * Parse a multipart/form-data encoded post request with a given encoding.
- * If the encoding is null, use the system default encoding. utf-8 is not a
- * bad choice for the encoding.
- */
- public final void parseRequest(HttpServletRequest request,String encoding) throws MultipartFormDataException
- {
- // Content-Type header should have the form:
- // multipart/form-data; boundary=...
- //
- // RFC2046 5.1.1 page 19, paragraph 2:
- // The Content-Type field for multipart entities requires one parameter, "boundary" (no quotes)
- String contentType = request.getHeader(HEADER_CONTENT_TYPE);
- if (contentType == null || !contentType.startsWith(HEADER_MULTIPART) || contentType.indexOf(HEADER_BOUNDARY) == -1)
- throw new MultipartFormDataException("Content-Type is not multipart/form-data");
-
- // RFC2046 5.1.1 page 19, paragraph 4:
- // The boundary value may be enclosed in double quotes. Strip these if they are present.
- String boundary = contentType.substring(contentType.indexOf(HEADER_BOUNDARY)+HEADER_BOUNDARY.length(),contentType.length());
- if (boundary.charAt(0) == '\"' && boundary.charAt(boundary.length()-1) == '\"')
- boundary = boundary.substring(1,boundary.length()-1);
-
- // RFC2046 5.1.1 page 19, paragraph 2:
- // The boundary delimiter line is then defined as a line consisting entirely
- // of two hyphen characters.
- String delimiter = "--"+boundary;
-
- if (paramTable_ == null)
- paramTable_ = new Hashtable();
- else
- paramTable_.clear();
-
- try
- {
- BufferedReader br = new BufferedReader(new InputStreamReader(request.getInputStream(),encoding));
- String line = null;
- String parameterName = null;
- StringBuffer parameterValue = new StringBuffer();
- byte currentParserState = PARSER_STATE_INITIAL;
- while ((line = br.readLine()) != null)
- {
- // Lines appear in the following sequence.
- // 1) boundary indicating the start of a new parameter and end of a data segment.
- // 2) Content-Disposition: form-data; name="..." - the name of a new parameter.
- // 3) a blank line
- // 4) data
- //
- // For each parameter, the sequence is repeated.
- if (line.startsWith(delimiter))
- {
- byte[] expectedParserStates = {PARSER_STATE_INITIAL,PARSER_STATE_DATA};
- if (isValidParserState(currentParserState,expectedParserStates))
- {
- // Save any current data and prepare for a new parameter name.
- if (parameterName != null)
- {
- saveData(parameterName,parameterValue.toString());
- parameterName = null;
- parameterValue.setLength(0);
- }
- currentParserState = PARSER_STATE_BOUNDARY;
- }
- else
- throw new MultipartFormDataException(getParserExceptionMessage(currentParserState,expectedParserStates));
- }
- else if (line.startsWith(HEADER_CONTENT_DISPOSITION))
- {
- byte[] expectedParserStates = {PARSER_STATE_BOUNDARY};
- if (isValidParserState(currentParserState,expectedParserStates))
- {
- // Obtain the parameter name without the surrounding double quotes. Accounts for RFC 1867 too.
- int parameterNameStartingPosition = line.indexOf(HEADER_NAME)+HEADER_NAME.length();
- parameterName = line.substring(parameterNameStartingPosition,+parameterNameStartingPosition+line.substring(parameterNameStartingPosition).indexOf('\"'));
- currentParserState = PARSER_STATE_PARAMETER;
- }
- }
- else if (currentParserState == PARSER_STATE_PARAMETER)
- {
- // A blank line should follow the PARAMETER. Discard the line and move on.
- currentParserState = PARSER_STATE_BLANK;
- }
- else
- {
- // Expect the line to contain data.
- if (parameterValue.length() > 0)
- parameterValue.append('\n');
- parameterValue.append(line);
- currentParserState = PARSER_STATE_DATA;
- }
- }
- }
- catch (Throwable t)
- {
- throw new MultipartFormDataException(t.getMessage());
- }
- //dumpParamTable();
- }
-
- /**
- * Returns the value of a request parameter as a String, or null if the parameter does not exist.
- * If the parameter has multiple values, only the first value is returned. Use getParameterValues()
- * for parameters with multiple values.
- */
- public final String getParameter(String parameter) throws MultipartFormDataException
- {
- if (paramTable_ == null)
- throw new MultipartFormDataException("Parser contains no parsed data");
- Vector values = (Vector)paramTable_.get(parameter);
- return ((values != null)?((String)values.elementAt(0)):null);
- }
-
- public final String[] getParameterValues(String parameter) throws MultipartFormDataException
- {
- if (paramTable_ == null)
- throw new MultipartFormDataException("Parser contains no parsed data");
- Vector valuesVector = (Vector)paramTable_.get(parameter);
- if (valuesVector == null)
- return null;
- String[] valuesArray = new String[valuesVector.size()];
- for (int i=0;i<valuesArray.length;i++)
- valuesArray[i] = (String)valuesVector.elementAt(i);
- return valuesArray;
- }
-
- public final String[] getParameterNames() throws MultipartFormDataException
- {
- if (paramTable_ == null)
- throw new MultipartFormDataException("Parser contains no parsed data");
-
- int size = paramTable_.size();
- if (size == 0)
- return null;
- String[] names = new String[size];
- Enumeration keys = paramTable_.keys();
- for (int i=0;i<size;i++)
- names[i] = (String)keys.nextElement();
- return names;
- }
-
- private final void saveData(String parameterName,String parameterValue)
- {
- Vector values = (Vector)paramTable_.get(parameterName);
- if (values == null)
- values = new Vector();
- values.addElement(parameterValue);
- paramTable_.put(parameterName,values);
- }
-
- private final boolean isValidParserState(byte currentState,byte[] expectedStates)
- {
- boolean validity = false;
- for (int i=0;i<expectedStates.length;i++)
- {
- if (currentState == expectedStates[i])
- {
- validity = true;
- break;
- }
- }
- return validity;
- }
-
- private final String getParserExceptionMessage(byte currentState,byte[] expectedStates)
- {
- StringBuffer msg = new StringBuffer("Parser state inconsistency!");
- msg.append('\n');
- msg.append("Current state : ").append(parserStates[currentState]).append('\n');
- msg.append("Expected state(s): ");
- for (int i=0;i<expectedStates.length;i++)
- {
- msg.append(parserStates[expectedStates[i]]);
- if (i != expectedStates.length-1)
- msg.append(", ");
- }
- msg.append('\n');
- return msg.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/QuickSort.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/QuickSort.java
deleted file mode 100644
index d018ee42c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/QuickSort.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060217 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.util.Vector;
-import com.ibm.icu.text.Collator;
-
-public class QuickSort
-{
- public static final void sort(Object[] a,int lo,int hi)
- {
- Object tmp;
- int i = lo;
- int j = hi;
- Object x = a[(lo+hi)/2];
- Collator collator = Collator.getInstance();
-
- do
- {
- while (collator.compare(a[i].toString(),x.toString()) < 0) i++;
- while (collator.compare(a[j].toString(),x.toString()) > 0) j--;
- if (i <= j)
- {
- tmp = a[i];
- a[i] = a[j];
- a[j] = tmp;
- i++;
- j--;
- }
- } while (i <= j);
-
- if (lo < j)
- sort(a,lo,j);
- if (i < hi)
- sort(a,i,hi);
- }
-
- /*
- * This method will use the same algorithm as above
- * with the exception that any nulls will be attached
- * at the end
- */
- public static final void sort(Vector v)
- {
- // do not sort if vector contains less than 2 elements
- if (v.size() < 2)
- return;
-
- // pulls out the nulls
- Vector nulls = new Vector();
- for (int i = 0; i < v.size(); i++) {
- Object obj = v.elementAt(i);
- if (obj == null || obj.toString() == null) {
- nulls.add(obj);
- v.remove(i);
- i--;
- }
- }
-
- // sort the not null objects
- Object[] objs = v.toArray();
- // do not sort if array contains less than 2 objects
- if (objs.length >= 2)
- sort(objs, 0, objs.length-1);
-
- // re-construct the vector from the sorted objects, then the nulls
- v.clear();
- for (int j = 0; j < objs.length; j++) {
- v.add(objs[j]);
- }
- v.addAll(nulls);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/TrimFilter.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/TrimFilter.java
deleted file mode 100644
index 03160dd53..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/TrimFilter.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.io.IOException;
-import java.io.OutputStreamWriter;
-import javax.servlet.Filter;
-import javax.servlet.FilterChain;
-import javax.servlet.FilterConfig;
-import javax.servlet.ServletException;
-import javax.servlet.ServletRequest;
-import javax.servlet.ServletResponse;
-import javax.servlet.http.HttpServletResponse;
-
-public class TrimFilter implements Filter
-{
-
- /* (non-Javadoc)
- * @see javax.servlet.Filter#init(javax.servlet.FilterConfig)
- */
- public void init(FilterConfig arg0) throws ServletException
- {
- // TODO Auto-generated method stub
-
- }
-
- /* (non-Javadoc)
- * @see javax.servlet.Filter#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
- */
- public void doFilter(ServletRequest req, ServletResponse resp, FilterChain fc) throws IOException, ServletException
- {
- // TODO Auto-generated method stub
- CharArrayWrapper responseWrapper = new CharArrayWrapper((HttpServletResponse)resp);
- // Hack for Tomcat performance problem with filters.
- OutputStreamWriter osw = new OutputStreamWriter(resp.getOutputStream(),HTMLUtils.UTF8_ENCODING);
- fc.doFilter(req,responseWrapper);
- String responseString = responseWrapper.toString();
- osw.write(responseString.trim());
- osw.close();
- }
-
- /* (non-Javadoc)
- * @see javax.servlet.Filter#destroy()
- */
- public void destroy()
- {
- // TODO Auto-generated method stub
-
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/URLUtils.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/URLUtils.java
deleted file mode 100644
index b7070b348..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/URLUtils.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.io.UnsupportedEncodingException;
-import java.net.URLDecoder;
-import java.net.URLEncoder;
-
-/**
- * This class contains utility methods for managing URLs
- * as used by the Web Services Explorer Web application.
- * @author cbrealey@ca.ibm.com
- */
-public final class URLUtils
-{
- /**
- * Objects of this class should not be constructed.
- */
- private URLUtils ()
- {
- }
-
- /**
- * UTF-8
- */
- public static final String UTF8 = "UTF-8";
-
- /**
- * Equivalent to {@link #encode(String,String)}
- * with second parameter set to the "UTF-8" encoding.
- * @param s The string to encode.
- * @return The encoded string.
- */
- public static String encode(String s)
- {
- return encode(s,UTF8);
- }
-
- /**
- * Equivalent to {@link URLEncoder#encode(String,String)},
- * only throws an unchecked {@link RuntimeException} wrapped
- * around an {@link UnsupportedEncodingException} instead of
- * an {@link UnsupportedEncodingException}.
- * @param s The string to encode.
- * @param enc The encoding to use.
- * @return The encoded string.
- */
- public static String encode(String s, String enc)
- {
- try
- {
- return URLEncoder.encode(s,enc);
- }
- catch (UnsupportedEncodingException e)
- {
- // TODO: MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8
- throw new RuntimeException("%MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8",e);
- }
- }
-
- /**
- * Equivalent to {@link #decode(String,String)}
- * with second parameter set to the "UTF-8" encoding.
- * @param s The string to decode.
- * @return The decoded string.
- */
- public static String decode(String s)
- {
- return decode(s,UTF8);
- }
-
- /**
- * Equivalent to {@link URLEncoder#decode(String,String)},
- * only throws an unchecked {@link RuntimeException} wrapped
- * around an {@link UnsupportedEncodingException} instead of
- * an {@link UnsupportedEncodingException}.
- * @param s The string to decode.
- * @param enc The encoding to use.
- * @return The decoded string.
- */
- public static String decode(String s, String enc)
- {
- try
- {
- return URLDecoder.decode(s,enc);
- }
- catch (UnsupportedEncodingException e)
- {
- // TODO: MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8
- throw new RuntimeException("%MSG_BROKEN_VM_DOES_NOT_SUPPORT_UTF-8",e);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/Validator.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/Validator.java
deleted file mode 100644
index 4df7aa423..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/Validator.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060612 142290 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-public class Validator
-{
- public static final boolean validateString(String input)
- {
- return ((input != null) && (input.trim().length() > 0));
- }
-
- public static final boolean validateURL(String input)
- {
- return (input != null && input.matches("[a-zA-Z\\+\\-\\.]++:.*"));
- }
-
- public static final boolean validateInteger(String input)
- {
- try
- {
- Integer.parseInt(input);
- return true;
- }
- catch (NumberFormatException e)
- {
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/XMLUtils.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/XMLUtils.java
deleted file mode 100644
index df2e1207a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/util/XMLUtils.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.util;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.UnsupportedEncodingException;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-import org.w3c.dom.Element;
-import org.xml.sax.SAXException;
-
-public final class XMLUtils
-{
- /**
- * Serialize an XML Element into a String.
- * @param e Element to be serialized.
- * @param omitXMLDeclaration boolean representing whether or not to omit the XML declaration.
- * @return String representation of the XML document fragment.
- */
- public static final String serialize(Element e,boolean omitXMLDeclaration)
- {
- if (e != null)
- {
- try
- {
- DOMSource domSource = new DOMSource(e);
- Transformer serializer = TransformerFactory.newInstance().newTransformer();
- serializer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, ((omitXMLDeclaration) ? "yes" : "no"));
- serializer.setOutputProperty(OutputKeys.INDENT, "yes");
- serializer.setOutputProperty(OutputKeys.ENCODING, HTMLUtils.UTF8_ENCODING);
- serializer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- serializer.transform(domSource, new StreamResult(baos));
- baos.close();
- return new String(baos.toByteArray(), HTMLUtils.UTF8_ENCODING);
- }
- catch (Throwable t)
- {
- }
- }
- return null;
- }
-
- /**
- * Serialize an XML Element into a String.
- * @param df DocumentFragment to be serialized.
- * @param omitXMLDeclaration boolean representing whether or not to omit the XML declaration.
- * @return String representation of the XML document fragment.
- */
- public static final String serialize(DocumentFragment df,boolean omitXMLDeclaration)
- {
- if (df != null)
- {
- try
- {
- DOMSource domSource = new DOMSource(df);
- Transformer serializer = TransformerFactory.newInstance().newTransformer();
- serializer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, ((omitXMLDeclaration) ? "yes" : "no"));
- serializer.setOutputProperty(OutputKeys.INDENT, "yes");
- serializer.setOutputProperty(OutputKeys.ENCODING, HTMLUtils.UTF8_ENCODING);
- serializer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- serializer.transform(domSource, new StreamResult(baos));
- baos.close();
- return new String(baos.toByteArray(), HTMLUtils.UTF8_ENCODING);
- }
- catch (Throwable t)
- {
- }
- }
- return null;
- }
-
- /**
- * Create a new XML Document.
- * @param docBuilder DocumentBuilder. Setting this to null will create a new DocumentBuilder.
- * @return Document
- */
- public static final Document createNewDocument(DocumentBuilder docBuilder) throws ParserConfigurationException
- {
- if (docBuilder == null)
- {
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- factory.setNamespaceAware(false);
- factory.setValidating(false);
- docBuilder = factory.newDocumentBuilder();
- }
- Document doc = docBuilder.newDocument();
- return doc;
- }
-
- /**
- * Convert the String representation of an Element into an Element
- * @param String representation of an Element.
- * @return Element
- */
- public static Element stringToElement(String s) throws ParserConfigurationException, SAXException, UnsupportedEncodingException, IOException {
- return stringToElement(s, false);
- }
-
- /**
- * Convert the String representation of an Element into an Element
- * @param String representation of an Element.
- * @param boolean set whether the return Element should be namespace aware.
- * @return Element
- */
- public static Element stringToElement(String s, boolean namespaceAware) throws ParserConfigurationException, SAXException, UnsupportedEncodingException, IOException
- {
- return byteArrayToElement(s.getBytes(HTMLUtils.UTF8_ENCODING), namespaceAware);
- }
-
- /**
- * Convert the byte array representation of an Element into an Element
- * @param byte[] representation of an Element.
- * @param boolean set whether the return Element should be namespace aware.
- * @return Element
- */
- public static Element byteArrayToElement(byte[] b, boolean namespaceAware) throws ParserConfigurationException, SAXException, UnsupportedEncodingException, IOException
- {
- DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
- docBuilderFactory.setNamespaceAware(namespaceAware);
- docBuilderFactory.setValidating(false);
- DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
- Document doc = docBuilder.parse(new ByteArrayInputStream(b));
- return doc.getDocumentElement();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ClearWSDLAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ClearWSDLAction.java
deleted file mode 100644
index 51f2c29d6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ClearWSDLAction.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ClearNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLMainNode;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLNode;
-
-public class ClearWSDLAction extends ClearNodeAction {
-
- public ClearWSDLAction(Controller controller) {
- super(controller, controller.getWSDLPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeID) {
- StringBuffer actionLink = new StringBuffer("wsdl/actions/ClearWSDLActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- return actionLink.toString();
- }
-
- protected boolean processLinkParameters(HttpServletRequest request) {
- String nodeIDString = request.getParameter(ActionInputs.NODEID);
- int nodeID;
- try {
- nodeID = Integer.parseInt(nodeIDString);
- }
- catch (NumberFormatException nfe) {
- nodeID = nodeManager_.getSelectedNodeId();
- }
- boolean paramValid = false;
- Node node = nodeManager_.getNode(nodeID);
- if (node instanceof WSDLMainNode)
- paramValid = true;
- else if (node instanceof WSDLNode)
- paramValid = true;
- else {
- while (node != null && !(node instanceof WSDLMainNode)) {
- node = node.getParent();
- if (node instanceof WSDLNode) {
- nodeID = node.getNodeId();
- paramValid = true;
- break;
- }
- }
- }
- propertyTable_.put(ActionInputs.NODEID, String.valueOf(nodeID));
- return paramValid;
- }
-
- public boolean run() {
- if (super.run()) {
- nodeManager_.setSelectedNodeId(nodeManager_.getRootNode().getNodeId());
- return true;
- }
- else
- return false;
- }
-
- public String getTreeContentVar() {
- return "wsdlNavigatorContent";
- }
-
- public String getTreeContentPage() {
- return "wsdl/wsdl_navigator_content.jsp";
- }
-
- public String getPropertiesContainerVar() {
- return "wsdlPropertiesContainer";
- }
-
- public String getPropertiesContainerPage() {
- return "wsdl/wsdl_properties_container.jsp";
- }
-
- public String getStatusContentVar() {
- return "wsdlStatusContent";
- }
-
- public String getStatusContentPage() {
- return "wsdl/wsdl_status_content.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/CreateInstanceAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/CreateInstanceAction.java
deleted file mode 100644
index cf0d25bcd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/CreateInstanceAction.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Iterator;
-import javax.wsdl.Part;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDMapFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.InvokeWSDLOperationTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class CreateInstanceAction extends WSDLPropertiesFormAction
-{
- public CreateInstanceAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- super.processParsedResults(parser);
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- InvokeWSDLOperationTool invokeWSDLOperationTool = (InvokeWSDLOperationTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- Iterator it = operElement.getOrderedBodyParts().iterator();
- boolean resultsValid = true;
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = operElement.getFragment(part);
- if (!frag.processParameterValues(parser))
- resultsValid = false;
- }
- String fragmentID = parser.getParameter(FragmentConstants.FRAGMENT_ID);
- if (fragmentID != null && fragmentID.length() > 0)
- propertyTable_.put(FragmentConstants.FRAGMENT_ID, fragmentID);
- else
- {
- propertyTable_.remove(FragmentConstants.FRAGMENT_ID);
- resultsValid = false;
- }
- String nameAnchorID = parser.getParameter(FragmentConstants.NAME_ANCHOR_ID);
- invokeWSDLOperationTool.setFragmentNameAnchorID(nameAnchorID);
- return resultsValid;
- }
-
- public FormTool getSelectedFormTool()
- {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- return (FormTool)wsdlPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
- }
-
- public boolean run()
- {
- String fragmentID = (String)propertyTable_.get(FragmentConstants.FRAGMENT_ID);
- if (fragmentID != null && fragmentID.length() > 0)
- {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- IXSDFragment frag = operElement.getFragmentByID(fragmentID);
- if ((frag instanceof IXSDMapFragment) && ((IXSDMapFragment)frag).createInstance() != null)
- return true;
- else
- return false;
- }
- else
- return false;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpGetOperationFormAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpGetOperationFormAction.java
deleted file mode 100644
index 3b4f8b1a2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpGetOperationFormAction.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.io.IOException;
-import java.net.URLConnection;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
-
-public class InvokeWSDLHttpGetOperationFormAction extends InvokeWSDLHttpOperationFormAction
-{
- public InvokeWSDLHttpGetOperationFormAction(Controller controller)
- {
- super(controller);
- }
-
- public boolean run()
- {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- StringBuffer endPoint = new StringBuffer(getEndPoint());
- endPoint.append('?');
- addParameters(endPoint);
- String endPointString = endPoint.toString();
- boolean result = false;
- try
- {
- URLConnection conn = NetUtils.getURLConnection(endPointString);
- if (conn != null)
- {
- recordHttpResponse(conn,messageQueue);
- wsdlPerspective.setOperationNode(getSelectedNavigatorNode());
- result = true;
- }
- else
- throw new IOException(wsdlPerspective.getMessage("MSG_ERROR_UNABLE_TO_CONNECT",endPointString));
- }
- catch (IOException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"IOException",e);
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpOperationFormAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpOperationFormAction.java
deleted file mode 100644
index 6a6168ed8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpOperationFormAction.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.net.URLConnection;
-import java.util.Iterator;
-import javax.wsdl.Part;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.HTTPUtil;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.InvokeWSDLOperationTool;
-
-public abstract class InvokeWSDLHttpOperationFormAction extends WSDLPropertiesFormAction
-{
- private static final String CONTENT_TYPE_CHARSETEQ = "charset=";
-
- public InvokeWSDLHttpOperationFormAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- super.processParsedResults(parser);
- String endPoint = parser.getParameter(WSDLActionInputs.END_POINT);
- Node selectedNode = getSelectedNavigatorNode();
- InvokeWSDLOperationTool invokeWSDLOperationTool = (InvokeWSDLOperationTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- invokeWSDLOperationTool.setEndPoint(endPoint);
- WSDLOperationElement operElement = (WSDLOperationElement)(selectedNode.getTreeElement());
- propertyTable_.put(WSDLActionInputs.OPERATION_ELEMENT,operElement);
- Iterator it = operElement.getOrderedBodyParts().iterator();
- boolean resultsValid = true;
- while (it.hasNext()) {
- Part part = (Part)it.next();
- IFragment frag = operElement.getFragment(part);
- if (!frag.processParameterValues(parser))
- resultsValid = false;
- }
- return resultsValid;
- }
-
- protected String getEndPoint()
- {
- StringBuffer endPoint = new StringBuffer((String)propertyTable_.get(WSDLActionInputs.END_POINT));
- WSDLOperationElement operElement = (WSDLOperationElement)propertyTable_.get(WSDLActionInputs.OPERATION_ELEMENT);
- if (endPoint.charAt(endPoint.length()-1) != '/')
- endPoint.append('/');
- endPoint.append(operElement.getName());
- return endPoint.toString();
- }
-
- protected void addParameters(StringBuffer buffer)
- {
- WSDLOperationElement operElement = (WSDLOperationElement)propertyTable_.get(WSDLActionInputs.OPERATION_ELEMENT);
- Iterator it = operElement.getOrderedBodyParts().iterator();
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = operElement.getFragment(part);
- buffer.append(HTTPUtil.genURLEncodedParameters(frag));
- if (it.hasNext())
- buffer.append('&');
- }
- }
-
- protected void recordHttpResponse(URLConnection conn,MessageQueue messageQueue) throws IOException
- {
- BufferedReader br = null;
- try
- {
- InputStreamReader in = null;
- String contentType = conn.getContentType();
- if (contentType != null)
- {
- int charsetEqPos = contentType.indexOf(CONTENT_TYPE_CHARSETEQ);
- if (charsetEqPos != -1)
- in = new InputStreamReader(conn.getInputStream(),contentType.substring(charsetEqPos+CONTENT_TYPE_CHARSETEQ.length()));
- }
- if (in == null)
- in = new InputStreamReader(conn.getInputStream());
- br = new BufferedReader(in);
- String s;
- while ((s = br.readLine()) != null)
- messageQueue.addMessage(s);
- br.close();
- br = null;
- }
- catch (IOException e)
- {
- if (br != null)
- br.close();
- throw e;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpPostOperationFormAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpPostOperationFormAction.java
deleted file mode 100644
index 4d7562b5e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLHttpPostOperationFormAction.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.net.URLConnection;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
-
-public class InvokeWSDLHttpPostOperationFormAction extends InvokeWSDLHttpOperationFormAction
-{
-
- public InvokeWSDLHttpPostOperationFormAction(Controller controller)
- {
- super(controller);
- }
-
- public boolean run()
- {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- boolean result = false;
- String endPointString = getEndPoint();
- URLConnection conn = NetUtils.getURLConnection(endPointString);
- if (conn != null)
- {
- StringBuffer parameters = new StringBuffer();
- addParameters(parameters);
- conn.setDoOutput(true);
- PrintWriter out = null;
- try
- {
- out = new PrintWriter(conn.getOutputStream());
- out.print(parameters);
- out.close();
- out = null;
- recordHttpResponse(conn,messageQueue);
- wsdlPerspective.setOperationNode(getSelectedNavigatorNode());
- result = true;
- }
- catch (IOException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"IOException",e);
- }
- finally
- {
- if (out != null)
- out.close();
- }
- }
- else
- handleUnexpectedException(wsdlPerspective,messageQueue,"Exception",new IOException(wsdlPerspective.getMessage("MSG_ERROR_UNABLE_TO_CONNECT",endPointString)));
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationAction.java
deleted file mode 100644
index bdca4ed43..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationAction.java
+++ /dev/null
@@ -1,284 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import javax.servlet.http.HttpServletResponse;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.Definition;
-import javax.wsdl.Part;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.soap.SOAPBody;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import org.apache.axis.Constants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.Endpoint;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLBindingElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.InvokeWSDLOperationTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.SOAPMessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport.HTTPException;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport.HTTPTransport;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.util.SoapHelper;
-import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public abstract class InvokeWSDLSOAPOperationAction extends WSDLPropertiesFormAction
-{
- public InvokeWSDLSOAPOperationAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- super.processParsedResults(parser);
- String endPoint = parser.getParameter(WSDLActionInputs.END_POINT);
- InvokeWSDLOperationTool invokeWSDLOperationTool = (InvokeWSDLOperationTool)(getSelectedNavigatorNode().getCurrentToolManager().getSelectedTool());
- invokeWSDLOperationTool.setEndPoint(endPoint);
- return true;
- }
-
- protected final void addRPCWrapper(Vector bodyEntries,WSDLElement wsdlElement,WSDLOperationElement operElement,Hashtable soapEnvelopeNamespaceTable) throws ParserConfigurationException
- {
- // Must be RPC style.
- String encodingNamespaceURI = null;
- /*
- * WS-I: In a rpc-literal SOAP binding, the serialized child element of the
- * soap:Body element consists of a wrapper element, whose namespace is the value
- * of the namespace attribute of the soapbind:body element and whose local name is
- * either the name of the operation or the name of the operation suffixed
- * with "Response". The namespace attribute is required, as opposed to being
- * optional, to ensure that the children of the soap:Body element are namespace-
- * qualified.
- */
- BindingOperation bindingOperation = operElement.getBindingOperation();
- if (bindingOperation != null)
- {
- BindingInput bindingInput = bindingOperation.getBindingInput();
- if (bindingInput != null)
- {
- List extElements = bindingInput.getExtensibilityElements();
- for (Iterator it = extElements.iterator(); it.hasNext();)
- {
- ExtensibilityElement extElement = (ExtensibilityElement)it.next();
- if (extElement instanceof SOAPBody)
- {
- encodingNamespaceURI = ((SOAPBody)extElement).getNamespaceURI();
- break;
- }
- }
- }
- }
- // If the namespace of the soapbind:body element is not set, get it from the operation element
- if (encodingNamespaceURI == null)
- encodingNamespaceURI = operElement.getEncodingNamespace();
- // If the namespace of the operation element is not set, get it from the definition element
- if (encodingNamespaceURI == null)
- {
- Definition definition = wsdlElement.getDefinition();
- encodingNamespaceURI = definition.getTargetNamespace();
- }
- // Generate an RPC style wrapper element.
- Document doc = XMLUtils.createNewDocument(null);
- String encodingStyle = (operElement.isUseLiteral() ? null : operElement.getEncodingStyle());
- Element wrapperElement = SoapHelper.createRPCWrapperElement(doc,soapEnvelopeNamespaceTable,encodingNamespaceURI,operElement.getOperation().getName(),encodingStyle);
- for (int i=0;i<bodyEntries.size();i++)
- wrapperElement.appendChild(doc.importNode((Element)bodyEntries.elementAt(i),true));
- bodyEntries.removeAllElements();
- bodyEntries.addElement(wrapperElement);
- }
-
- /**
- * Generate a Vector of the elements inside the Soap Body.
- * @param soapEnvelopeNamespaceTable - Hashtable containing a map of the namespace URIs to prefixes.
- * @param operElement - WSDLOperationElement encapsulating the WSDL operation.
- */
- protected Vector getBodyEntries(Hashtable soapEnvelopeNamespaceTable,WSDLOperationElement operElement,WSDLBindingElement bindingElement,WSDLServiceElement serviceElement) throws ParserConfigurationException,Exception
- {
- Vector bodyEntries = new Vector();
- boolean isUseLiteral = operElement.isUseLiteral();
- String encodingStyle = operElement.getEncodingStyle();
- boolean addEncodingStyle = (!isUseLiteral && !Constants.URI_SOAP11_ENC.equals(encodingStyle));
- Iterator it = operElement.getOrderedBodyParts().iterator();
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = (IXSDFragment)operElement.getFragment(part);
- Element[] instanceDocuments = frag.genInstanceDocumentsFromParameterValues(!isUseLiteral,soapEnvelopeNamespaceTable, XMLUtils.createNewDocument(null));
- for (int j=0;j<instanceDocuments.length;j++)
- {
- if (instanceDocuments[j] == null)
- continue;
- if (addEncodingStyle)
- instanceDocuments[j].setAttribute("soapenv:encodingStyle",encodingStyle);
- bodyEntries.addElement(instanceDocuments[j]);
- }
- }
-
- if (!operElement.isDocumentStyle())
- {
- try
- {
- addRPCWrapper(bodyEntries,(WSDLElement)serviceElement.getParentElement(),operElement,soapEnvelopeNamespaceTable);
- }
- catch (ParserConfigurationException e)
- {
- throw e;
- }
- }
- return bodyEntries;
- }
-
- protected Element getSOAPEnvelope(Hashtable soapEnvelopeNamespaceTable, Vector bodyEntries) throws ParserConfigurationException
- {
- DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
- Document doc = XMLUtils.createNewDocument(docBuilder);
- Element soapEnvelopeElement = SoapHelper.createSoapEnvelopeElement(doc,soapEnvelopeNamespaceTable);
- Element soapBodyElement = SoapHelper.createSoapBodyElement(doc);
- for (int i=0;i<bodyEntries.size();i++)
- soapBodyElement.appendChild(doc.importNode((Element)bodyEntries.elementAt(i),true));
- soapEnvelopeElement.appendChild(soapBodyElement);
- return soapEnvelopeElement;
- }
-
- private final void recordSoapRequest(SOAPMessageQueue soapRequestQueue,Hashtable soapEnvelopeNamespaceTable,Element soapEnvelope) throws ParserConfigurationException,IOException
- {
- soapRequestQueue.clear();
- soapRequestQueue.addMessage(XMLUtils.serialize(soapEnvelope,false));
- }
-
- private final void recordSOAPResponse(SOAPMessageQueue soapResponseQueue,BufferedReader responseReader) throws IOException
- {
- soapResponseQueue.clear();
- if (responseReader != null)
- {
- String line = null;
- while ((line = responseReader.readLine()) != null)
- soapResponseQueue.addMessage(line);
- responseReader.close();
- }
- }
-
- public boolean run()
- {
- String soapAddressLocation = (String)propertyTable_.get(WSDLActionInputs.END_POINT);
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- WSDLOperationElement operElement = (WSDLOperationElement)getSelectedNavigatorNode().getTreeElement();
- WSDLBindingElement bindingElement = (WSDLBindingElement)operElement.getParentElement();
- WSDLServiceElement serviceElement = (WSDLServiceElement)bindingElement.getParentElement();
- operElement.setPropertyAsObject(WSDLActionInputs.SOAP_RESPONSE_CACHED, new Boolean(false));
- try
- {
- // Generate the SOAP envelope and its children. We need to create a DOM element version to display and the object version to execute.
- // <SOAP-ENV:Envelope
- // xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- // xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- // xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- // ...
- Hashtable soapEnvelopeNamespaceTable = new Hashtable();
- SoapHelper.addDefaultSoapEnvelopeNamespaces(soapEnvelopeNamespaceTable);
- Vector bodyEntries = getBodyEntries(soapEnvelopeNamespaceTable,operElement,bindingElement,serviceElement);
- Element soapEnvelope = getSOAPEnvelope(soapEnvelopeNamespaceTable, bodyEntries);
- recordSoapRequest(wsdlPerspective.getSOAPRequestQueue(),soapEnvelopeNamespaceTable,soapEnvelope);
-
- // Execute the SOAP operation.
- if (soapAddressLocation != null)
- {
- // Send the message and record the SOAP Response Envelope.
- HTTPTransport transport = createTransport(bindingElement, soapAddressLocation);
- transport.send(NetUtils.createURL(soapAddressLocation),operElement.getSoapAction(),XMLUtils.serialize(soapEnvelope, true));
- recordSOAPResponse(wsdlPerspective.getSOAPResponseQueue(),transport.receive());
- wsdlPerspective.setOperationNode(getSelectedNavigatorNode());
- return true;
- }
- throw new IOException(wsdlPerspective.getMessage("MSG_ERROR_UNABLE_TO_CONNECT",soapAddressLocation));
- }
- catch (ParserConfigurationException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"ParserConfigurationException",e);
- }
- catch (IOException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"IOException",e);
- }
- catch (HTTPException httpe)
- {
- throwHTTPException(bindingElement, soapAddressLocation, httpe);
- }
- catch (Exception e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"Exception",e);
- }
- return false;
- }
-
- private void throwHTTPException(WSDLBindingElement bindingElement, String endpointString, HTTPException httpException) throws HTTPException
- {
- if (httpException.getStatusCode() == HttpServletResponse.SC_UNAUTHORIZED)
- {
- Endpoint endpoint = bindingElement.getEndpoint(endpointString);
- if (endpoint != null)
- {
- endpoint.setRequireHTTPBasicAuth(true);
- endpoint.setHttpBasicAuthUsername(null);
- endpoint.setHttpBasicAuthPassword(null);
- }
- }
- throw httpException;
- }
-
- private HTTPTransport createTransport(WSDLBindingElement bindingElement, String endpointString)
- {
- HTTPTransport transport = new HTTPTransport();
- Endpoint endpoint = bindingElement.getEndpoint(endpointString);
- if (endpoint != null)
- {
- if (endpoint.isRequireHTTPBasicAuth())
- {
- String httpBasicAuthUsername = endpoint.getHttpBasicAuthUsername();
- String httpBasicAuthPassword = endpoint.getHttpBasicAuthPassword();
- if (httpBasicAuthUsername == null || httpBasicAuthPassword == null)
- {
- httpBasicAuthUsername = (String)propertyTable_.get(WSDLActionInputs.HTTP_BASIC_AUTH_USERNAME);
- httpBasicAuthPassword = (String)propertyTable_.get(WSDLActionInputs.HTTP_BASIC_AUTH_PASSWORD);
- endpoint.setHttpBasicAuthUsername(httpBasicAuthUsername);
- endpoint.setHttpBasicAuthPassword(httpBasicAuthPassword);
- }
- if (httpBasicAuthUsername != null && httpBasicAuthPassword != null)
- {
- transport.setHttpBasicAuthUsername(httpBasicAuthUsername);
- transport.setHttpBasicAuthPassword(httpBasicAuthPassword);
- }
- }
- }
- return transport;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationFormAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationFormAction.java
deleted file mode 100644
index 105363956..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationFormAction.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Iterator;
-import javax.wsdl.Part;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.transformer.FragmentTransformer;
-
-public class InvokeWSDLSOAPOperationFormAction extends InvokeWSDLSOAPOperationAction
-{
- public InvokeWSDLSOAPOperationFormAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- boolean resultsValid = true;
- super.processParsedResults(parser);
- String sourceContent = parser.getParameter(FragmentConstants.SOURCE_CONTENT);
- if (sourceContent == null)
- {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- WSDLOperationElement operElement = (WSDLOperationElement) getSelectedNavigatorNode().getTreeElement();
- Iterator it = operElement.getOrderedBodyParts().iterator();
- while (it.hasNext())
- {
- Part part = (Part) it.next();
- IFragment frag = operElement.getFragment(part);
- if (!frag.processParameterValues(parser))
- {
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_ERROR_VALIDATING_PARAMETER", part.getName()));
- resultsValid = false;
- }
- }
- }
- return resultsValid;
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length + 1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length - 1] = new FragmentTransformer(controller_);
- return transformers;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationSourceAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationSourceAction.java
deleted file mode 100644
index 1257f406b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/InvokeWSDLSOAPOperationSourceAction.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.io.OutputStream;
-import java.io.PrintWriter;
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.xml.parsers.ParserConfigurationException;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLBindingElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.util.SoapHelper;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-
-public class InvokeWSDLSOAPOperationSourceAction extends InvokeWSDLSOAPOperationAction
-{
- private boolean newFileSelected_;
- private boolean saveAsSelected_;
- private static final String DUMMY_WRAPPER_START_TAG = "<dummyWrapper>";
- private static final String DUMMY_WRAPPER_END_TAG = "</dummyWrapper>";
-
- public InvokeWSDLSOAPOperationSourceAction(Controller controller)
- {
- super(controller);
- newFileSelected_ = false;
- saveAsSelected_ = false;
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- super.processParsedResults(parser);
- WSDLOperationElement operElement = (WSDLOperationElement)getSelectedNavigatorNode().getTreeElement();
- newFileSelected_ = false;
- saveAsSelected_ = false;
- /* try and catch is needed if we are doing fragmentization.
- try
- {
- */
- String submissionAction = parser.getParameter(WSDLActionInputs.SUBMISSION_ACTION);
- String sourceContents = parser.getParameter(FragmentConstants.SOURCE_CONTENT);
- if (sourceContents != null)
- operElement.setPropertyAsString(WSDLModelConstants.PROP_SOURCE_CONTENT,sourceContents);
- if (WSDLActionInputs.SUBMISSION_ACTION_BROWSE_FILE.equals(submissionAction))
- {
- newFileSelected_ = true;
- String fileContents = parser.getParameter(WSDLActionInputs.SELECTED_FILE);
- if (fileContents != null)
- operElement.setPropertyAsString(WSDLModelConstants.PROP_SOURCE_CONTENT,fileContents);
- }
- else
- {
- if (WSDLActionInputs.SUBMISSION_ACTION_SAVE_AS.equals(submissionAction))
- {
- // Save As... action
- saveAsSelected_ = true;
- }
- else
- {
- // Fragmentize on Go action.
- // fragmentize(new StringBuffer(sourceContents));
- String[] nsDeclarations = parser.getParameterValues(FragmentConstants.SOURCE_CONTENT_NAMESPACE);
- if (nsDeclarations != null)
- operElement.setPropertyAsObject(WSDLModelConstants.PROP_SOURCE_CONTENT_NAMESPACE,nsDeclarations);
- }
- }
- return true;
- /*
- }
- catch (ParserConfigurationException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"ParserConfigurationException",e);
- }
- catch (SAXException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"SAXException",e);
- }
- catch (UnsupportedEncodingException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"UnsupportedEncodingException",e);
- }
- catch (IOException e)
- {
- handleUnexpectedException(wsdlPerspective,messageQueue,"IOException",e);
- }
- return false;
- */
- }
-
- /**
- * Generate a Vector of the elements inside the Soap Body.
- * @param soapEnvelopeNamespaceTable - Hashtable containing a map of the namespace URIs to prefixes.
- * @param operElement - WSDLOperationElement encapsulating the WSDL operation.
- */
- protected Vector getBodyEntries(Hashtable soapEnvelopeNamespaceTable,WSDLOperationElement operElement,WSDLBindingElement bindingElement,WSDLServiceElement serviceElement) throws ParserConfigurationException,Exception
- {
- Vector bodyEntries = new Vector();
- String[] nsDeclarations = (String[])operElement.getPropertyAsObject(WSDLModelConstants.PROP_SOURCE_CONTENT_NAMESPACE);
- for (int i = 0; i < nsDeclarations.length; i++)
- {
- String[] prefix_ns = SoapHelper.decodeNamespaceDeclaration(nsDeclarations[i]);
- if (!soapEnvelopeNamespaceTable.contains(prefix_ns[1]))
- soapEnvelopeNamespaceTable.put(prefix_ns[1], prefix_ns[0]);
- }
- StringBuffer sourceContent = new StringBuffer(operElement.getPropertyAsString(WSDLModelConstants.PROP_SOURCE_CONTENT));
- sourceContent.insert(0,DUMMY_WRAPPER_START_TAG).append(DUMMY_WRAPPER_END_TAG);
- Element dummyWrapperElement = XMLUtils.stringToElement(sourceContent.toString());
- NodeList nl = dummyWrapperElement.getChildNodes();
- for (int i = 0; i < nl.getLength(); i++)
- {
- if (nl.item(i) instanceof Element)
- bodyEntries.add(nl.item(i));
- }
- if (!operElement.isDocumentStyle())
- {
- try
- {
- addRPCWrapper(bodyEntries,(WSDLElement)serviceElement.getParentElement(),operElement,soapEnvelopeNamespaceTable);
- }
- catch (ParserConfigurationException e)
- {
- throw e;
- }
- }
- return bodyEntries;
- }
-
- public final boolean wasNewFileSelected()
- {
- return newFileSelected_;
- }
-
- public final boolean wasSaveAsSelected()
- {
- return saveAsSelected_;
- }
-
- public final String getDefaultSaveAsFileName()
- {
- WSDLOperationElement operElement = (WSDLOperationElement)(getSelectedNavigatorNode().getTreeElement());
- return (new StringBuffer(operElement.getOperation().getName())).append(".txt").toString();
- }
-
- public final void writeSourceContent(OutputStream os)
- {
- WSDLOperationElement operElement = (WSDLOperationElement)(getSelectedNavigatorNode().getTreeElement());
- PrintWriter pw = new PrintWriter(os);
- pw.println(operElement.getPropertyAsString(WSDLModelConstants.PROP_SOURCE_CONTENT));
- pw.close();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenWSDLAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenWSDLAction.java
deleted file mode 100644
index 764f15b5a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenWSDLAction.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Vector;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class OpenWSDLAction extends WSDLPropertiesFormAction {
-
- public OpenWSDLAction(Controller controller) {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException {
- String wsdlUrl = parser.getParameter(ActionInputs.QUERY_INPUT_WSDL_URL);
- FormTool formTool = getSelectedFormTool();
- propertyTable_.put(ActionInputs.QUERY_INPUT_WSDL_URL, wsdlUrl);
- formTool.updatePropertyTable(propertyTable_);
- return true;
- }
-
- public boolean run() {
- String wsdlUrl = (String)propertyTable_.get(ActionInputs.QUERY_INPUT_WSDL_URL);
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node rootNode = nodeManager.getRootNode();
- TreeElement rootElement = rootNode.getTreeElement();
-
- // create a WSDLElement representing the WSDL
- WSDLElement wsdlElement = new WSDLElement(wsdlUrl, rootElement.getModel(), wsdlUrl);
- try
- {
- // open WSDL
- Vector errorMessages = wsdlElement.loadWSDL();
- if (errorMessages.size() > 0)
- {
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_ERROR_XSD_VALIDATION"));
- for (int i=0;i<errorMessages.size();i++)
- messageQueue.addMessage((String)errorMessages.elementAt(i));
- }
- }
- catch (WSDLException e)
- {
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_ERROR_OPEN_WSDL",wsdlUrl));
- handleUnexpectedException(wsdlPerspective,messageQueue,"WSDLException",e);
- return false;
- }
- rootElement.connect(wsdlElement,WSDLModelConstants.REL_WSDL, ModelConstants.REL_OWNER);
-
- // build the datamodel for this WSDLElement
- wsdlElement.buildModel();
-
- // If there is more than 1 service node, select the WSDL node. If there is more than 1 binding node, select the service node.
- // If there is just the one service and binding node, select the binding node.
- // select the new WSDL node
- Node wsdlNode = rootNode.getChildNode(wsdlElement);
- Vector serviceNodes = wsdlNode.getChildNodes();
- int newSelectedNodeId = wsdlNode.getNodeId();
- if (serviceNodes.size() == 1)
- {
- Node serviceNode = (Node)serviceNodes.elementAt(0);
- Vector bindingNodes = serviceNode.getChildNodes();
- if (bindingNodes.size() == 1)
- {
- Node bindingNode = (Node)bindingNodes.elementAt(0);
- newSelectedNodeId = bindingNode.getNodeId();
- }
- else
- newSelectedNodeId = serviceNode.getNodeId();
- }
- nodeManager.setSelectedNodeId(newSelectedNodeId);
- nodeManager.makeNodeVisible(nodeManager.getNode(newSelectedNodeId));
- addToHistory(ActionInputs.PERSPECTIVE_WSDL,SelectWSDLPropertiesToolAction.getActionLink(newSelectedNodeId, 0, ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT, true));
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_INFO_OPEN_WSDL_SUCCESSFUL", wsdlUrl));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenXSDInfoDialogAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenXSDInfoDialogAction.java
deleted file mode 100644
index dd38afcd4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/OpenXSDInfoDialogAction.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-
-public class OpenXSDInfoDialogAction extends Action
-{
- public OpenXSDInfoDialogAction()
- {
- }
-
- public static final String getActionLink(String sessionId,int nodeId,String fragId)
- {
- StringBuffer actionLink = new StringBuffer("wsdl/fragment/XSDInfoDialog.jsp?");
- actionLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- actionLink.append('&').append(ActionInputs.NODEID).append('=').append(nodeId);
- actionLink.append('&').append(WSDLActionInputs.FRAGMENT_ID).append('=').append(fragId);
- return actionLink.toString();
- }
-
- public final boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public final boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/RefreshWSDLAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/RefreshWSDLAction.java
deleted file mode 100644
index a522eff88..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/RefreshWSDLAction.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Vector;
-import javax.servlet.http.HttpServletRequest;
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LinkAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLMainNode;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLNode;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class RefreshWSDLAction extends LinkAction {
-
- public RefreshWSDLAction(Controller controller) {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID) {
- StringBuffer actionLink = new StringBuffer("wsdl/actions/WSDLRefreshActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- protected boolean processLinkParameters(HttpServletRequest request) {
- NodeManager nodeManager = controller_.getWSDLPerspective().getNodeManager();
- String nodeIDString = request.getParameter(ActionInputs.NODEID);
- int nodeID;
- try {
- nodeID = Integer.parseInt(nodeIDString);
- }
- catch (NumberFormatException nfe) {
- nodeID = nodeManager.getSelectedNodeId();
- }
- Node node = nodeManager.getNode(nodeID);
- while (node != null && !(node instanceof WSDLMainNode)) {
- if (node instanceof WSDLNode) {
- propertyTable_.put(ActionInputs.NODEID, String.valueOf(node.getNodeId()));
- return true;
- }
- node = node.getParent();
- }
- return false;
- }
-
- public boolean run() {
- int nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node wsdlNode = nodeManager.getNode(nodeID);
- WSDLElement wsdlElement = (WSDLElement)wsdlNode.getTreeElement();
- Definition definitionCopy = wsdlElement.getDefinition();
- Vector schemaListCopy = wsdlElement.getSchemaList();
- wsdlElement.setDefinition(null);
- wsdlElement.setSchemaList(new Vector());
- int selectedNodeID = nodeManager.getSelectedNode().getNodeId();
-
- try {
- // open WSDL
- Vector errorMessages = wsdlElement.loadWSDL();
- if (errorMessages.size() > 0) {
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_ERROR_XSD_VALIDATION"));
- for (int i=0;i<errorMessages.size();i++)
- messageQueue.addMessage((String)errorMessages.elementAt(i));
- }
- }
- catch (WSDLException e)
- {
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_ERROR_OPEN_WSDL",wsdlElement.getWsdlUrl()));
- handleUnexpectedException(wsdlPerspective,messageQueue,"WSDLException",e);
- wsdlElement.setDefinition(definitionCopy);
- wsdlElement.setSchemaList(schemaListCopy);
- return false;
- }
-
- // build the datamodel for this WSDLElement
- wsdlElement.buildModel();
-
- // Select a new node if the previous selected node no longer exists
- // If there is more than 1 service node, select the WSDL node. If there is more than 1 binding node, select the service node.
- // If there is just the one service and binding node, select the binding node.
- Node node = nodeManager.getNode(selectedNodeID);
- if (node == null) {
- selectedNodeID = wsdlNode.getNodeId();
- Vector serviceNodes = wsdlNode.getChildNodes();
- if (serviceNodes.size() == 1)
- {
- Node serviceNode = (Node)serviceNodes.elementAt(0);
- Vector bindingNodes = serviceNode.getChildNodes();
- if (bindingNodes.size() == 1)
- {
- Node bindingNode = (Node)bindingNodes.elementAt(0);
- selectedNodeID = bindingNode.getNodeId();
- }
- else
- selectedNodeID = serviceNode.getNodeId();
- }
- nodeManager.setSelectedNodeId(selectedNodeID);
- nodeManager.makeNodeVisible(nodeManager.getNode(selectedNodeID));
- }
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_INFO_REFRESH_WSDL_SUCCESSFUL", wsdlElement.getWsdlUrl()));
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ResizeWSDLFramesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ResizeWSDLFramesAction.java
deleted file mode 100644
index db773fa3f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ResizeWSDLFramesAction.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ResizeFramesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class ResizeWSDLFramesAction extends ResizeFramesAction
-{
- public ResizeWSDLFramesAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processOthers(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- // Save the current frameset sizes.
- String frameName = (String)propertyTable_.get(ActionInputs.FRAME_NAME);
- String perspectiveContentFramesetCols = (String)propertyTable_.get(WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
-
- // Set the new frameset sizes.
- if (frameName.equals(WSDLFrameNames.WSDL_NAVIGATOR_CONTAINER))
- {
- wsdlPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsdlPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- if (perspectiveContentFramesetCols.startsWith("100%"))
- {
- // Restore.
- wsdlPerspective.setPerspectiveContentFramesetCols(wsdlPerspective.getSavedPerspectiveContentFramesetCols());
- }
- else
- {
- // Maximize.
- wsdlPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsdlPerspective.setPerspectiveContentFramesetCols("100%,0%");
- }
- }
- else if (frameName.equals(WSDLFrameNames.WSDL_PROPERTIES_CONTAINER))
- {
- if (actionsContainerFramesetRows.startsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- wsdlPerspective.setPerspectiveContentFramesetCols(wsdlPerspective.getSavedPerspectiveContentFramesetCols());
- wsdlPerspective.setActionsContainerFramesetRows(wsdlPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- wsdlPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsdlPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsdlPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- wsdlPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsdlPerspective.setActionsContainerFramesetRows("100%,0%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- wsdlPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsdlPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- else if (frameName.equals(WSDLFrameNames.WSDL_STATUS_CONTAINER))
- {
- if (actionsContainerFramesetRows.endsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- wsdlPerspective.setPerspectiveContentFramesetCols(wsdlPerspective.getSavedPerspectiveContentFramesetCols());
- wsdlPerspective.setActionsContainerFramesetRows(wsdlPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- wsdlPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsdlPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsdlPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- wsdlPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsdlPerspective.setActionsContainerFramesetRows("0%,100%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- wsdlPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsdlPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLNavigatorNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLNavigatorNodeAction.java
deleted file mode 100644
index 02b9fc74a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLNavigatorNodeAction.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class SelectWSDLNavigatorNodeAction extends SelectNodeAction
-{
-
- public SelectWSDLNavigatorNodeAction(Controller controller)
- {
- super(controller,controller.getWSDLPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeID, boolean forHistory)
- {
- StringBuffer actionLink = new StringBuffer("wsdl/actions/SelectWSDLNavigatorNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeID);
- if (forHistory)
- actionLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return actionLink.toString();
- }
-
- protected String getActionLinkForHistory()
- {
- ToolManager toolManager = selectedNode_.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- int nodeId = selectedNode_.getNodeId();
-
- if (selectedTool.getToolType() != ToolTypes.ACTION)
- return selectedTool.getSelectToolActionHref(true);
- else
- return getActionLink(nodeId,true);
- }
-
- public final String getTreeContentVar() {
- return "wsdlNavigatorContent";
- }
-
- public final String getTreeContentPage() {
- return "wsdl/wsdl_navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar() {
- return "wsdlPropertiesContainer";
- }
-
- public final String getPropertiesContainerPage() {
- return "wsdl/wsdl_properties_container.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSDL;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLPropertiesToolAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLPropertiesToolAction.java
deleted file mode 100644
index aedd18c7f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SelectWSDLPropertiesToolAction.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class SelectWSDLPropertiesToolAction extends SelectNodeToolAction
-{
-
- public SelectWSDLPropertiesToolAction(Controller controller)
- {
- super(controller, controller.getWSDLPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID, boolean keepHistory)
- {
- StringBuffer actionLink = new StringBuffer("wsdl/actions/SelectWSDLPropertiesToolActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- if (viewID != ActionInputs.VIEWID_DEFAULT) {
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- }
- if (keepHistory) {
- actionLink.append('&');
- actionLink.append(ActionInputs.ISHISTORY);
- actionLink.append("=1");
- }
- return actionLink.toString();
- }
-
- protected String getActionLinkForHistory()
- {
- int nodeId = selectedNode_.getNodeId();
- int toolId = selectedTool_.getToolId();
- int viewId = selectedNode_.getViewId();
- int viewToolId = selectedNode_.getViewToolId();
- return getActionLink(nodeId,toolId,viewId,viewToolId,true);
- }
-
- public final String getTreeContentVar() {
- return "wsdlNavigatorContent";
- }
-
- public final String getTreeContentPage() {
- return "wsdl/wsdl_navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar() {
- return "wsdlPropertiesContainer";
- }
-
- public final String getPropertiesContainerPage() {
- return "wsdl/wsdl_properties_container.jsp";
- }
-
- public final String getPropertiesContentVar() {
- return "wsdlPropertiesContent";
- }
-
- public final String getPropertiesContentPage() {
- return "wsdl/wsdl_properties_content.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSDL;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SwitchPerspectiveFromWSDLAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SwitchPerspectiveFromWSDLAction.java
deleted file mode 100644
index 7b5574885..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SwitchPerspectiveFromWSDLAction.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public final class SwitchPerspectiveFromWSDLAction extends ShowPerspectiveAction
-{
- public SwitchPerspectiveFromWSDLAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- String perspectiveContentFramesetCols = (String)propertyTable_.get(WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
-
- // Save the frameset sizes iff no frame is maximized.
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- if (!perspectiveContentFramesetCols.startsWith("100%") && !perspectiveContentFramesetCols.endsWith("100%"))
- wsdlPerspective.setPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
-
- if (!actionsContainerFramesetRows.startsWith("100%") && !actionsContainerFramesetRows.endsWith("100%"))
- wsdlPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
-
- return super.run();
- }
-
- public static final String getFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- StringBuffer formLink = new StringBuffer("wsdl/actions/SwitchPerspectiveFromWSDLActionJSP.jsp?");
- formLink.append(ActionInputs.PERSPECTIVE).append('=').append(targetPerspectiveId);
- if (forHistory)
- formLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return formLink.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SynchronizeFragmentViewsAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SynchronizeFragmentViewsAction.java
deleted file mode 100644
index 7c531e446..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/SynchronizeFragmentViewsAction.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Iterator;
-import java.util.Vector;
-import javax.wsdl.Part;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.InvokeWSDLOperationTool;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-
-public class SynchronizeFragmentViewsAction extends WSDLPropertiesFormAction
-{
- public SynchronizeFragmentViewsAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- super.processParsedResults(parser);
- Node selectedNode = getSelectedNavigatorNode();
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- Iterator it = operElement.getOrderedBodyParts().iterator();
- InvokeWSDLOperationTool invokeWSDLOperationTool = (InvokeWSDLOperationTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- String viewID = parser.getParameter(FragmentConstants.FRAGMENT_VIEW_ID);
- propertyTable_.put(FragmentConstants.FRAGMENT_VIEW_ID, viewID);
- if (viewID.equals(FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE))
- {
- invokeWSDLOperationTool.setFragmentViewID(FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE);
- return processFormViewParsedResults(parser, operElement, it);
- }
- else
- {
- invokeWSDLOperationTool.setFragmentViewID(FragmentConstants.FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM);
- return processSourceViewParsedResults(parser, operElement, it);
- }
- }
-
- private boolean processFormViewParsedResults(MultipartFormDataParser parser, WSDLOperationElement operElement, Iterator it) throws MultipartFormDataException
- {
- operElement.setPropertyAsObject(WSDLModelConstants.PROP_SOURCE_CONTENT, null);
- operElement.setPropertyAsObject(WSDLModelConstants.PROP_SOURCE_CONTENT_NAMESPACE, null);
- boolean resultsValid = true;
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = operElement.getFragment(part);
- if (!frag.processParameterValues(parser))
- resultsValid = false;
- }
- if (resultsValid)
- operElement.setPropertyAsString(WSDLModelConstants.PROP_SOURCE_CONTENT,null);
- return resultsValid;
- }
-
- private boolean processSourceViewParsedResults(MultipartFormDataParser parser, WSDLOperationElement operElement, Iterator it) throws MultipartFormDataException
- {
- String sourceContent = parser.getParameter(FragmentConstants.SOURCE_CONTENT);
- if (sourceContent != null)
- operElement.setPropertyAsString(WSDLModelConstants.PROP_SOURCE_CONTENT, sourceContent);
- String[] nsDeclarations = parser.getParameterValues(FragmentConstants.SOURCE_CONTENT_NAMESPACE);
- if (nsDeclarations != null)
- operElement.setPropertyAsObject(WSDLModelConstants.PROP_SOURCE_CONTENT_NAMESPACE,nsDeclarations);
- sourceContent = addRootElement(sourceContent);
- try
- {
- Element sourceElements = XMLUtils.stringToElement(sourceContent);
- NodeList nl = sourceElements.getChildNodes();
- Vector elementsVector = new Vector();
- for (int i = 0; i < nl.getLength(); i++)
- {
- org.w3c.dom.Node node = nl.item(i);
- if (node != null && node instanceof Element)
- elementsVector.add(node);
- }
- Element[] instanceDocuments = new Element[elementsVector.size()];
- elementsVector.copyInto(instanceDocuments);
- boolean sourceElementsValid = true;
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = operElement.getFragment(part);
- if (!frag.setParameterValuesFromInstanceDocuments(instanceDocuments))
- sourceElementsValid = false;
- }
- return sourceElementsValid;
- }
- catch (Throwable t)
- {
- return false;
- }
- }
-
- private String addRootElement(String element)
- {
- StringBuffer sb = new StringBuffer();
- sb.append(FragmentConstants.ROOT_ELEMENT_START_TAG);
- sb.append(element);
- sb.append(FragmentConstants.ROOT_ELEMENT_END_TAG);
- return sb.toString();
- }
-
- public boolean run() {
- return true;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ToggleWSDLNavigatorNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ToggleWSDLNavigatorNodeAction.java
deleted file mode 100644
index d4e680102..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/ToggleWSDLNavigatorNodeAction.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ToggleNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class ToggleWSDLNavigatorNodeAction extends ToggleNodeAction
-{
- public ToggleWSDLNavigatorNodeAction(Controller controller)
- {
- super(controller,controller.getWSDLPerspective().getNodeManager());
- }
-
- // uddi/actions/ToggleNavigatorNodeAction.jsp?nodeId=...&open=...
- public static String getActionLink(int nodeId,boolean open)
- {
- StringBuffer actionLink = new StringBuffer("wsdl/actions/ToggleWSDLNavigatorNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID).append('=').append(nodeId);
- actionLink.append('&').append(ActionInputs.OPEN).append('=').append(open?ActionInputs.OPEN_NODE:ActionInputs.CLOSE_NODE);
- return actionLink.toString();
- }
-
- // This should be called only to select the toggled node when, at the time of
- // the collapse event, a descendant node was selected.
- public final String getActionLinkForHistory()
- {
- ToolManager toolManager = toggledNode_.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- int nodeId = toggledNode_.getNodeId();
- int toolId = selectedTool.getToolId();
- int viewId = toggledNode_.getViewId();
- int viewToolId = toggledNode_.getViewToolId();
- if (selectedTool.getToolType() != ToolTypes.ACTION)
- return SelectWSDLPropertiesToolAction.getActionLink(nodeId,toolId,viewId,viewToolId,true);
- else
- return SelectWSDLNavigatorNodeAction.getActionLink(nodeId,true);
- }
-
- public final String getTreeContentVar()
- {
- return "wsdlNavigatorContent";
- }
-
- public final String getTreeContentPage()
- {
- return "wsdl/wsdl_navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar()
- {
- return "wsdlPropertiesContainer";
- }
-
- public final String getPropertiesContainerPage()
- {
- return "wsdl/wsdl_properties_container.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSDL;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/UpdateWSDLBindingAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/UpdateWSDLBindingAction.java
deleted file mode 100644
index c02dc5b32..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/UpdateWSDLBindingAction.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLBindingElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.InvokeWSDLOperationTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLBindingNode;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class UpdateWSDLBindingAction extends WSDLPropertiesFormAction
-{
- public UpdateWSDLBindingAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String[] nodeIds = parser.getParameterValues(ActionInputs.NODEID);
- if (nodeIds == null)
- nodeIds = new String[0];
- propertyTable_.put(ActionInputs.NODEID, nodeIds);
- String[] endpoints = parser.getParameterValues(WSDLActionInputs.END_POINT);
- if (endpoints == null)
- endpoints = new String[0];
- propertyTable_.put(WSDLActionInputs.END_POINT, endpoints);
- return true;
- }
-
- public boolean run()
- {
- String[] nodeIds = getPropertyAsStringArray(ActionInputs.NODEID);
- String[] endpoints = getPropertyAsStringArray(WSDLActionInputs.END_POINT);
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- for (int i = 0; i < nodeIds.length; i++)
- {
- try
- {
- Node bindingNode = nodeManager.getNode(Integer.parseInt(nodeIds[i]));
- if (bindingNode instanceof WSDLBindingNode)
- {
- WSDLBindingElement bindingElement = (WSDLBindingElement)bindingNode.getTreeElement();
- String[] endpointsCopy = endpoints;
- bindingElement.setEndPoints(endpointsCopy);
- if (endpointsCopy.length <= 0)
- endpointsCopy = bindingElement.getEndPoints();
- if (endpointsCopy.length > 0)
- {
- Vector operationNodes = bindingNode.getChildNodes();
- for (Iterator it = operationNodes.iterator(); it.hasNext();)
- {
- Node operationNode = (Node)it.next();
- List tools = operationNode.getCurrentToolManager().getTools();
- for (Iterator toolsIterator = tools.iterator(); toolsIterator.hasNext();)
- {
- Tool tool = (Tool)toolsIterator.next();
- if (tool instanceof InvokeWSDLOperationTool)
- ((InvokeWSDLOperationTool)tool).setEndPoint(endpointsCopy[0]);
- }
- }
- }
- }
- }
- catch (NumberFormatException nfe)
- {
- }
- }
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- messageQueue.addMessage(wsdlPerspective.getMessage("MSG_INFO_UPDATE_WSDL_BINDING_SUCCESSFUL"));
- return true;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLAddToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLAddToFavoritesAction.java
deleted file mode 100644
index 16bcb04c1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLAddToFavoritesAction.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LinkAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class WSDLAddToFavoritesAction extends LinkAction {
- public WSDLAddToFavoritesAction(Controller controller) {
- super(controller);
- }
-
- protected boolean processLinkParameters(HttpServletRequest request) {
- String nodeID = request.getParameter(ActionInputs.NODEID);
- try {
- Integer.parseInt(nodeID);
- propertyTable_.put(ActionInputs.NODEID, nodeID);
- return true;
- }
- catch (Throwable t) {
- return false;
- }
- }
-
- public static String getActionLink(int nodeID) {
- StringBuffer actionLink = new StringBuffer("wsdl/actions/WSDLCheckFavoriteExistsActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- return actionLink.toString();
- }
-
- public boolean favoriteExists() {
- String wsdlUrl = getWsdlUrl();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_WSDL_URL, wsdlUrl);
- FavoritesFolderElement favFolderElement = getFavWSDLFolderElement();
- return favFolderElement.favoriteExists(table);
- }
-
- public boolean run() {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- String wsdlUrl = getWsdlUrl();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_WSDL_URL, wsdlUrl);
- FavoritesFolderElement favFolderElement = getFavWSDLFolderElement();
- if (favFolderElement.addFavorite(table)) {
- wsdlPerspective.getMessageQueue().addMessage(wsdlPerspective.getMessage("MSG_INFO_ADD_TO_FAVORITES_SUCCESSFUL", wsdlUrl));
- return true;
- }
- else {
- wsdlPerspective.getMessageQueue().addMessage(wsdlPerspective.getMessage("MSG_ERROR_ADD_TO_FAVORITES", wsdlUrl));
- return false;
- }
- }
-
- private String getWsdlUrl() {
- String nodeID = (String)propertyTable_.get(ActionInputs.NODEID);
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- NodeManager wsdlNodeManager = wsdlPerspective.getNodeManager();
- WSDLElement selectedElement = (WSDLElement)wsdlNodeManager.getNode(Integer.parseInt(nodeID)).getTreeElement();
- return selectedElement.getWsdlUrl();
- }
-
- private FavoritesFolderElement getFavWSDLFolderElement() {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager favNodeManager = favPerspective.getNodeManager();
- TreeElement favRootElement = favNodeManager.getRootNode().getTreeElement();
- Enumeration e = favRootElement.getElements(FavoritesModelConstants.REL_WSDL_SERVICE_FOLDER_NODE);
- return (FavoritesFolderElement)e.nextElement();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToFileSystemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToFileSystemAction.java
deleted file mode 100644
index 403fcc3bb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToFileSystemAction.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.io.OutputStream;
-import javax.wsdl.Definition;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.WSDLFileNameHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class WSDLImportWSDLToFileSystemAction extends ImportToFileSystemAction {
- private Definition definition_;
- private String defaultWSDLFileName_;
-
- public WSDLImportWSDLToFileSystemAction(Controller controller) {
- super(controller);
- definition_ = null;
- defaultWSDLFileName_ = "temp.wsdl";
- }
-
- public static final String getActionLink(int nodeId,int toolId,int viewId,int viewToolId) {
- return ImportToFileSystemAction.getActionLink(nodeId,toolId,viewId,viewToolId,"wsdl/actions/WSDLImportWSDLToFileSystemActionJSP.jsp");
- }
-
- public final boolean write(OutputStream os) {
- return writeWSDLDefinition(os, definition_);
- }
-
- public final String getDefaultFileName() {
- return defaultWSDLFileName_;
- }
-
- public final boolean run() {
- int nodeID;
- try {
- nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- }
- catch (NumberFormatException nfe) {
- return false;
- }
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node node = nodeManager.getNode(nodeID);
- WSDLElement wsdlElement = (WSDLElement)node.getTreeElement();
- definition_ = wsdlElement.getDefinition();
- defaultWSDLFileName_ = WSDLFileNameHelper.getWSDLFileName(wsdlElement.getWsdlUrl());
- return (definition_ != null);
- }
-
- public final String getStatusContentVar() {
- return controller_.getWSDLPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage() {
- return controller_.getWSDLPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToWorkbenchAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToWorkbenchAction.java
deleted file mode 100644
index d7d8b0202..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLImportWSDLToWorkbenchAction.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToWorkbenchAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class WSDLImportWSDLToWorkbenchAction extends ImportToWorkbenchAction {
- public WSDLImportWSDLToWorkbenchAction(Controller controller) {
- super(controller);
- }
-
- public FormTool getSelectedFormTool() {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- return (FormTool)wsdlPerspective.getNodeManager().getSelectedNode().getCurrentToolManager().getSelectedTool();
- }
-
- public ImportToFileSystemAction newImportToFileSystemAction() {
- WSDLImportWSDLToFileSystemAction action = new WSDLImportWSDLToFileSystemAction(controller_);
- Hashtable table = action.getPropertyTable();
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- table.put(ActionInputs.NODEID, String.valueOf(selectedNode.getNodeId()));
- return action;
- }
-
- public final String getStatusContentVar() {
- return controller_.getWSDLPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage() {
- return controller_.getWSDLPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLLaunchWebServiceWizardAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLLaunchWebServiceWizardAction.java
deleted file mode 100644
index b4ade72a8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLLaunchWebServiceWizardAction.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LaunchWebServiceWizardAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective;
-
-public class WSDLLaunchWebServiceWizardAction extends LaunchWebServiceWizardAction {
-
- public WSDLLaunchWebServiceWizardAction(Controller controller) {
- super(controller);
- }
-
- public FormTool getSelectedFormTool() {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- return (FormTool)wsdlPerspective.getNodeManager().getSelectedNode().getCurrentToolManager().getSelectedTool();
- }
-
- public boolean run() {
- WSDLPerspective wsdlPerspective = controller_.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node node = nodeManager.getSelectedNode();
- WSDLElement element = (WSDLElement)node.getTreeElement();
- return launchWizard(element.getWsdlUrl());
- }
-
- public final String getStatusContentVar() {
- return controller_.getWSDLPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage() {
- return controller_.getWSDLPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLPropertiesFormAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLPropertiesFormAction.java
deleted file mode 100644
index f2c3cf4a0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/actions/WSDLPropertiesFormAction.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public abstract class WSDLPropertiesFormAction extends FormAction
-{
- protected NodeManager navigatorManager_;
- public WSDLPropertiesFormAction(Controller controller)
- {
- super(controller);
- navigatorManager_ = controller.getWSDLPerspective().getNodeManager();
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String[] keys = parser.getParameterNames();
- for (int i = 0; i < keys.length; i++)
- {
- String[] values = parser.getParameterValues(keys[i]);
- if (values != null)
- {
- if (values.length == 1)
- propertyTable_.put(keys[i], values[0]);
- else if (values.length > 1)
- propertyTable_.put(keys[i], values);
- }
- }
- return true;
- }
-
- public Node getSelectedNavigatorNode()
- {
- return navigatorManager_.getSelectedNode();
- }
-
- public FormTool getSelectedFormTool()
- {
- return (FormTool)(getSelectedNavigatorNode().getCurrentToolManager().getSelectedTool());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/BindingTypes.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/BindingTypes.java
deleted file mode 100644
index ed8af597f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/BindingTypes.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants;
-
-public class BindingTypes
-{
- public static final int UNSUPPORTED = -1;
- public static final int SOAP = 0;
- public static final int HTTP_GET = 1;
- public static final int HTTP_POST = 2;
-
- public static final String HTTP_VERB_GET = "GET";
- public static final String HTTP_VERB_POST = "POST";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/FragmentConstants.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/FragmentConstants.java
deleted file mode 100644
index 145d9dad1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/FragmentConstants.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants;
-
-public class FragmentConstants
-{
- // XSD minOccurs and maxOccurs
- public static final int DEFAULT_MIN_OCCURS = 1;
- public static final int DEFAULT_MAX_OCCURS = 1;
- public static final int UNBOUNDED = -1;
-
- // WSDL style
- public static final int STYLE_DOCUMENT = 0;
- public static final int STYLE_RPC = 1;
-
- // WSDL Encoding styles
- public static final int ENCODING_LITERAL = 0;
- public static final int ENCODING_SOAP = 1;
- public static final int ENCODING_URL = 2; // HTTP Get/Post
-
- // IDs used by the fragment model
- public static final String ID_SEPERATOR = "::";
- public static final String INPUT_ID = "::input";
- public static final String OUTPUT_ID = "::output";
- public static final String TABLE_ID = "::tableID";
- public static final String FRAGMENT_ID = "::fragmentID";
- public static final String NAME_ANCHOR_ID = "::nameAnchorID";
- public static final String FRAGMENT_VIEW_ID = "::fragmentViewID";
- public static final String XSD_ATOMIC_ENUM_ID = "::xsdAtomicEnumID";
- public static final String XSD_ALL_GROUP_ID = "::xsdAllGroupID";
-
- // Fragment view IDs
- public static final String FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE = "::fragmentViewSwitchFormToSource";
- public static final String FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM = "::fragmentViewSwitchSourceToForm";
- public static final String SOURCE_CONTENT = "::sourceContent";
- public static final String SOURCE_CONTENT_NAMESPACE = "::sourceContentNS";
-
- // Action input constants
- public static final String NAME_ANCHOR = "nameAnchor";
-
- // Namespaces contants
- public static final String URI_XSD = "http://www.w3.org/2001/XMLSchema";
- public static final String URI_SOAP = "http://schemas.xmlsoap.org/soap/encoding/";
- public static final String URI_SOAP_ENV = "http://schemas.xmlsoap.org/soap/envelope/";
- public static final String URI_WSDL = "http://schemas.xmlsoap.org/wsdl/";
- public static final String URI_XSI = "http://www.w3.org/2001/XMLSchema-instance";
- public static final String SOAP_ENC_ARRAY_TYPE = "arrayType";
- public static final String XSI_TYPE = "type";
- public static final String QNAME_PREFIX = "q";
- public static final String QNAME_LOCAL_NAME_ARRAY_TYPE = "arrayType";
- public static final String QNAME_LOCAL_NAME_ARRAY = "Array";
- public static final String COLON = ":";
- public static final String QNAME_LOCAL_NAME_BODY = "Body";
- public static final String QNAME_LOCAL_NAME_FAULT = "Fault";
-
- // List
- public static final String LIST_SEPERATOR = " ";
-
- // SOAP-ENC:Array
- public static final String LEFT_SQUARE_BRACKET = "[";
- public static final String RIGHT_SQUARE_BRACKET = "]";
-
- // XSDDefaultFragment
- public static final String ROOT_ELEMENT_START_TAG = "<root>";
- public static final String ROOT_ELEMENT_END_TAG = "</root>";
-
- // Namespace URIs.
- public static final String NS_URI_XMLNS = "http://www.w3.org/2000/xmlns/";
- public static final String NS_URI_SOAP_ENV = "http://schemas.xmlsoap.org/soap/envelope/";
- public static final String NS_URI_SOAP_ENC = "http://schemas.xmlsoap.org/soap/encoding/";
- public static final String NS_URI_1999_SCHEMA_XSI = "http://www.w3.org/1999/XMLSchema-instance";
- public static final String NS_URI_1999_SCHEMA_XSD = "http://www.w3.org/1999/XMLSchema";
- public static final String NS_URI_2000_SCHEMA_XSI = "http://www.w3.org/2000/10/XMLSchema-instance";
- public static final String NS_URI_2000_SCHEMA_XSD = "http://www.w3.org/2000/10/XMLSchema";
- public static final String NS_URI_2001_SCHEMA_XSI = "http://www.w3.org/2001/XMLSchema-instance";
- public static final String NS_URI_2001_SCHEMA_XSD = "http://www.w3.org/2001/XMLSchema";
- public static final String NS_URI_CURRENT_SCHEMA_XSI = NS_URI_2001_SCHEMA_XSI;
- public static final String NS_URI_CURRENT_SCHEMA_XSD = NS_URI_2001_SCHEMA_XSD;
- public static final String NS_URI_XML_SOAP = "http://xml.apache.org/xml-soap";
- public static final String NS_URI_XML_SOAP_DEPLOYMENT = "http://xml.apache.org/xml-soap/deployment";
- public static final String NS_URI_LITERAL_XML = "http://xml.apache.org/xml-soap/literalxml";
- public static final String NS_URI_XMI_ENC = "http://www.ibm.com/namespaces/xmi";
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLActionInputs.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLActionInputs.java
deleted file mode 100644
index 341de9105..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLActionInputs.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants;
-
-public class WSDLActionInputs
-{
- public static final String FRAMESET_COLS_PERSPECTIVE_CONTENT = "framesetColsPerspectiveContent";
- public static final String FRAMESET_ROWS_ACTIONS_CONTAINER = "framesetRowsActionsContainer";
-
- public static final String SESSION_ID = "sessionID";
- public static final String FRAGMENT_ID = "fragmentID";
-
- public static final String SOAP_ENVELOPE_TYPE = "soapEnvelopeType";
- public static final int SOAP_ENVELOPE_TYPE_REQUEST = 0;
- public static final int SOAP_ENVELOPE_TYPE_RESPONSE = 1;
- public static final String SOAP_RESPONSE_CACHED = "soapResponseCached";
-
- public static final String SUBMISSION_ACTION = "submissionAction";
- public static final String SUBMISSION_ACTION_FORM = "submissionActionForm";
- public static final String SUBMISSION_ACTION_BROWSE_FILE = "submissionActionBrowseFile";
- public static final String SUBMISSION_ACTION_SAVE_AS = "submissionActionSaveAs";
- public static final String SELECTED_FILE = "selectedFile";
- public static final String OPERATION_ELEMENT = "operationElement";
-
- public static final String END_POINT = "::endPoint";
- public static final String HTTP_BASIC_AUTH_USERNAME = "httpBasicAuthUsername";
- public static final String HTTP_BASIC_AUTH_PASSWORD = "httpBasicAuthPassword";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLFrameNames.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLFrameNames.java
deleted file mode 100644
index 29f7137e8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLFrameNames.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants;
-
-public class WSDLFrameNames
-{
- public final static String WSDL_NAVIGATOR_CONTAINER = "wsdl_navigator_container";
- public final static String WSDL_NAVIGATOR_TOOLBAR = "wsdl_navigator_toolbar";
- public final static String WSDL_NAVIGATOR_CONTENT = "wsdl_navigator_content";
- public final static String WSDL_ACTIONS_CONTAINER = "wsdl_actions_container";
- public final static String WSDL_PROPERTIES_CONTAINER = "wsdl_properties_container";
- public final static String WSDL_PROPERTIES_TOOLBAR = "wsdl_properties_toolbar";
- public final static String WSDL_PROPERTIES_CONTENT = "wsdl_properties_content";
- public final static String WSDL_STATUS_CONTAINER = "wsdl_status_container";
- public final static String WSDL_STATUS_TOOLBAR = "wsdl_status_toolbar";
- public final static String WSDL_STATUS_CONTENT = "wsdl_status_content";
-
- // XSD Info Dialog
- public final static String XSD_INFO_TOOLBAR = "xsd_info_toolbar";
- public final static String XSD_INFO_CONTENT = "xsd_info_content";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLModelConstants.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLModelConstants.java
deleted file mode 100644
index 13b19b674..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/constants/WSDLModelConstants.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants;
-
-public class WSDLModelConstants
-{
- // Relation
- public final static String REL_WSDL = "relWSDL";
- public final static String REL_WSDL_SERVICE = "relWSDLService";
- public final static String REL_WSDL_BINDING = "relWSDLBinding";
- public final static String REL_WSDL_OPERATION = "relWSDLOperation";
-
- // Documentation
- public final static String PROP_DOCUMENTATION = "propDocumentation";
-
- // Source Content
- public final static String PROP_SOURCE_CONTENT = "propSourceContent";
- public final static String PROP_SOURCE_CONTENT_NAMESPACE = "propSourceContentNS";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/Endpoint.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/Endpoint.java
deleted file mode 100644
index ea3c92fd9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/Endpoint.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel;
-
-public class Endpoint
-{
- private String endpoint;
- private boolean requireHTTPBasicAuth;
- private String httpBasicAuthUsername;
- private String httpBasicAuthPassword;
-
- public Endpoint()
- {
- endpoint = null;
- requireHTTPBasicAuth = false;
- httpBasicAuthUsername = null;
- httpBasicAuthPassword = null;
- }
-
- public String getEndpoint()
- {
- return endpoint;
- }
-
- public void setEndpoint(String endpoint)
- {
- this.endpoint = endpoint;
- }
-
- public boolean isRequireHTTPBasicAuth()
- {
- return requireHTTPBasicAuth;
- }
-
- public void setRequireHTTPBasicAuth(boolean requireHTTPBasicAuth)
- {
- this.requireHTTPBasicAuth = requireHTTPBasicAuth;
- }
-
- public String getHttpBasicAuthUsername()
- {
- return httpBasicAuthUsername;
- }
-
- public void setHttpBasicAuthUsername(String httpBasicAuthUsername)
- {
- this.httpBasicAuthUsername = httpBasicAuthUsername;
- }
-
- public String getHttpBasicAuthPassword()
- {
- return httpBasicAuthPassword;
- }
-
- public void setHttpBasicAuthPassword(String httpBasicAuthPassword)
- {
- this.httpBasicAuthPassword = httpBasicAuthPassword;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLBindingElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLBindingElement.java
deleted file mode 100644
index e10fe7e6f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLBindingElement.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel;
-
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import javax.wsdl.Binding;
-import javax.wsdl.Input;
-import javax.wsdl.Operation;
-import javax.wsdl.Output;
-import javax.wsdl.PortType;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPBinding;
-import javax.wsdl.extensions.soap.SOAPBinding;
-import javax.xml.namespace.QName;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.BindingTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-
-public class WSDLBindingElement extends WSDLCommonElement
-{
- private int bindingType_;
- private Binding binding_;
- private ExtensibilityElement bindingExtensibilityElement_;
- private Vector endPoints_;
-
- private final void setBindingExtensibilityElement()
- {
- bindingExtensibilityElement_ = null;
- bindingType_ = BindingTypes.UNSUPPORTED;
- List extensibilityElements = binding_.getExtensibilityElements();
- for (Iterator i = extensibilityElements.iterator();i.hasNext();)
- {
- ExtensibilityElement e = (ExtensibilityElement)i.next();
- if (e instanceof HTTPBinding)
- {
- HTTPBinding binding = (HTTPBinding)e;
- String verb = binding.getVerb();
- if (BindingTypes.HTTP_VERB_GET.equals(verb))
- bindingType_ = BindingTypes.HTTP_GET;
- else if (BindingTypes.HTTP_VERB_POST.equals(verb))
- bindingType_ = BindingTypes.HTTP_POST;
- }
- else if (e instanceof SOAPBinding)
- bindingType_ = BindingTypes.SOAP;
- if (bindingType_ != BindingTypes.UNSUPPORTED)
- {
- bindingExtensibilityElement_ = e;
- break;
- }
- }
- }
-
- public WSDLBindingElement(String name, Model model, Binding binding)
- {
- super(name, model);
- setBinding(binding);
- endPoints_ = new Vector();
- }
-
- public void setBinding(Binding binding) {
- binding_ = binding;
- setDocumentation(binding.getDocumentationElement());
- setBindingExtensibilityElement();
- }
-
- public Binding getBinding() {
- return binding_;
- }
-
- public ExtensibilityElement getBindingExtensibilityElement()
- {
- return bindingExtensibilityElement_;
- }
-
- public int getBindingType()
- {
- return bindingType_;
- }
-
- private void resetEndPoints()
- {
- WSDLServiceElement serviceElement = (WSDLServiceElement)getParentElement();
- String fixedEndpointString = serviceElement.getAddressLocation(binding_);
- Endpoint fixedEndpoint = getEndpoint(fixedEndpointString);
- if (fixedEndpoint == null)
- {
- fixedEndpoint = new Endpoint();
- fixedEndpoint.setEndpoint(fixedEndpointString);
- }
- endPoints_.clear();
- endPoints_.add(fixedEndpoint);
- }
-
- public String[] getEndPoints()
- {
- String[] endPoints = new String[endPoints_.size()];
- for (int i = 0; i < endPoints.length; i++)
- endPoints[i] = ((Endpoint)endPoints_.get(i)).getEndpoint();
- return endPoints;
- }
-
- public Endpoint getEndpoint(String endpointString)
- {
- if (endpointString != null && endpointString.length() > 0)
- {
- for (Iterator it = endPoints_.iterator(); it.hasNext();)
- {
- Endpoint endpoint = (Endpoint)it.next();
- if (endpointString.equals(endpoint.getEndpoint()))
- return endpoint;
- }
- }
- return null;
- }
-
- public void setEndPoints(String[] endpoints)
- {
- Vector endpointVector = new Vector();
- for (int i = 0; i < endpoints.length; i++)
- {
- Endpoint endpoint = getEndpoint(endpoints[i]);
- if (endpoint == null)
- {
- endpoint = new Endpoint();
- endpoint.setEndpoint(endpoints[i]);
- }
- endpointVector.add(endpoint);
- }
- resetEndPoints();
- endPoints_.addAll(endpointVector);
- }
-
- public void addEndPoint(String endpointString)
- {
- if (endpointString != null && endpointString.length() > 0)
- {
- Endpoint endpoint = new Endpoint();
- endpoint.setEndpoint(endpointString);
- endPoints_.add(endpoint);
- }
- }
-
- public void removeEndPoint(String endpointString)
- {
- if (endpointString != null && endpointString.length() > 0)
- {
- WSDLServiceElement serviceElement = (WSDLServiceElement)getParentElement();
- String fixedEndpointString = serviceElement.getAddressLocation(binding_);
- if (fixedEndpointString == null || !fixedEndpointString.equals(endpointString))
- {
- for (int i = 0; i < endPoints_.size(); i++)
- {
- if (endpointString.equals(((Endpoint)endPoints_.get(i)).getEndpoint()))
- {
- endPoints_.remove(i);
- break;
- }
- }
- }
- }
- }
-
- public void buildModel() {
- resetEndPoints();
- if (binding_ != null) {
- PortType pt = binding_.getPortType();
- if (pt != null) {
- List operations = pt.getOperations();
- HashMap operationsMap = new HashMap();
- for (Iterator it = operations.iterator();it.hasNext();) {
- Operation operation = (Operation)it.next();
- operationsMap.put(createOperationUniqueName(operation), operation);
- }
- WSDLOperationElement[] wsdlOperationElements = new WSDLOperationElement[getNumberOfElements(WSDLModelConstants.REL_WSDL_OPERATION)];
- Enumeration e = getElements(WSDLModelConstants.REL_WSDL_OPERATION);
- for (int i = 0; i < wsdlOperationElements.length; i++) {
- wsdlOperationElements[i] = (WSDLOperationElement)e.nextElement();
- }
- for (int j = 0; j < wsdlOperationElements.length; j++) {
- String operationName = createOperationUniqueName(wsdlOperationElements[j].getOperation());
- Operation operation = (Operation)operationsMap.get(operationName);
- if (operation != null) {
- operationsMap.remove(operationName);
- wsdlOperationElements[j].setOperation(this, operation);
- }
- else
- disconnect(wsdlOperationElements[j], WSDLModelConstants.REL_WSDL_OPERATION);
- }
- for (Iterator it = operationsMap.values().iterator();it.hasNext();) {
- Operation oper = (Operation)it.next();
- WSDLOperationElement wsdlOperationElement = new WSDLOperationElement(oper.getName(), this, oper);
- connect(wsdlOperationElement,WSDLModelConstants.REL_WSDL_OPERATION,ModelConstants.REL_OWNER);
- }
- }
- }
- }
-
- private String createOperationUniqueName(Operation operation)
- {
- StringBuffer name = new StringBuffer();
- name.append(operation.getName());
- Input inputMsg = operation.getInput();
- if (inputMsg != null)
- {
- QName qname = inputMsg.getMessage().getQName();
- name.append(qname.getNamespaceURI());
- name.append(":");
- name.append(qname.getLocalPart());
- }
- Output outputMsg = operation.getOutput();
- if (outputMsg != null)
- {
- QName qname = outputMsg.getMessage().getQName();
- name.append(qname.getNamespaceURI());
- name.append(":");
- name.append(qname.getLocalPart());
- }
- return name.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLCommonElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLCommonElement.java
deleted file mode 100644
index ef90e3b09..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLCommonElement.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel;
-
-import javax.xml.parsers.ParserConfigurationException;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class WSDLCommonElement extends TreeElement
-{
-
- public WSDLCommonElement(String name, Model model) {
- super(name, model);
- }
-
- public final TreeElement getParentElement() {
- return (TreeElement)getElements(ModelConstants.REL_OWNER).nextElement();
- }
-
- protected final void setDocumentation(Node documentationElement)
- {
- String documentation = "";
- try
- {
- if (documentationElement != null)
- {
- Document doc = XMLUtils.createNewDocument(null);
- DocumentFragment df = doc.createDocumentFragment();
- NodeList documentationNodes = documentationElement.getChildNodes();
- for (int i=0;i<documentationNodes.getLength();i++)
- df.appendChild(doc.importNode(documentationNodes.item(i),true));
- documentation = XMLUtils.serialize(df,true);
- }
- }
- catch (ParserConfigurationException e)
- {
- }
- setPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION,documentation);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLElement.java
deleted file mode 100644
index 320ec1800..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLElement.java
+++ /dev/null
@@ -1,419 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060717 146707 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel;
-
-import java.io.InputStream;
-import java.io.UnsupportedEncodingException;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Import;
-import javax.wsdl.Service;
-import javax.wsdl.Types;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.UnknownExtensibilityElement;
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.wst.common.uriresolver.internal.util.URIEncoder;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.eclipse.wst.wsdl.internal.impl.XSDSchemaExtensibilityElementImpl;
-import org.eclipse.xsd.XSDDiagnostic;
-import org.eclipse.xsd.XSDDiagnosticSeverity;
-import org.eclipse.xsd.XSDPackage;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDSchemaDirective;
-import org.eclipse.xsd.impl.XSDSchemaImpl;
-import org.eclipse.xsd.util.XSDParser;
-import org.eclipse.xsd.util.XSDResourceFactoryImpl;
-
-public class WSDLElement extends WSDLCommonElement
-{
-
- private String wsdlUrl_;
- private Definition definition_;
- private Vector schemaList_;
- private Vector schemaURI_;
-
- private static Vector w3SchemaQNameList_;
- private static Vector constantSchemaList_;
-
- //A ResourceSet for all schemas in this WSDL
- private ResourceSet resourceSet;
-
- static
- {
- // w3 schema URI list:
- // http://www.w3.org/2001/XMLSchema
- // http://www.w3.org/2000/10/XMLSchema
- // http://www.w3.org/1999/XMLSchema
- w3SchemaQNameList_ = new Vector();
- w3SchemaQNameList_.addElement(new QName(FragmentConstants.NS_URI_CURRENT_SCHEMA_XSD,"schema"));
- w3SchemaQNameList_.addElement(new QName(FragmentConstants.NS_URI_2000_SCHEMA_XSD,"schema"));
- w3SchemaQNameList_.addElement(new QName(FragmentConstants.NS_URI_1999_SCHEMA_XSD,"schema"));
-
- // Constant schema URI list:
- // http://www.w3.org/2001/XMLSchema
- // http://www.w3.org/2000/10/XMLSchema
- // http://www.w3.org/1999/XMLSchema
- // http://schemas.xmlsoap.org/soap/encoding/
- // http://schemas.xmlsoap.org/wsdl/
- constantSchemaList_ = new Vector();
- constantSchemaList_.addElement(XSDSchemaImpl.getSchemaForSchema(FragmentConstants.NS_URI_CURRENT_SCHEMA_XSD));
- constantSchemaList_.addElement(XSDSchemaImpl.getSchemaForSchema(FragmentConstants.NS_URI_2000_SCHEMA_XSD));
- constantSchemaList_.addElement(XSDSchemaImpl.getSchemaForSchema(FragmentConstants.NS_URI_1999_SCHEMA_XSD));
- constantSchemaList_.addElement(XSDSchemaImpl.getSchemaForSchema(FragmentConstants.NS_URI_SOAP_ENC));
- constantSchemaList_.addElement(XSDSchemaImpl.getSchemaForSchema(FragmentConstants.URI_WSDL));
- }
-
- public WSDLElement(String name, Model model, String wsdlUrl)
- {
- super(name, model);
- wsdlUrl_ = wsdlUrl;
- definition_ = null;
- schemaList_ = new Vector();
- schemaURI_ = new Vector();
- }
-
- public void setWsdlUrl(String wsdlUrl) {
- wsdlUrl_ = wsdlUrl;
- }
-
- public String getWsdlUrl() {
- return wsdlUrl_;
- }
-
- public void setSchemaList(Vector schemaList)
- {
- schemaList_ = schemaList;
- }
-
- public Vector getSchemaList()
- {
- return schemaList_;
- }
-
- private final Definition loadWSDL(String wsdlURL) throws WSDLException
- {
- WebServicesParser parser = new WebServicesParserExt();
- try
- {
- return parser.getWSDLDefinitionVerbose(wsdlURL);
- }
- catch (WSDLException wsdle)
- {
- throw wsdle;
- }
- catch (Throwable t)
- {
- throw new WSDLException(WSDLException.OTHER_ERROR , t.getMessage(), t);
- }
- }
-
- public Vector loadWSDL() throws WSDLException
- {
-
- // Register the appropriate resource factory to handle all file extentions.
- resourceSet = new ResourceSetImpl();
- resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(Resource.Factory.Registry.DEFAULT_EXTENSION,new XSDResourceFactoryImpl());
- //Register the package to ensure it is available during loading.
- resourceSet.getPackageRegistry().put(XSDPackage.eNS_URI,XSDPackage.eINSTANCE);
-
-
- Vector errorMessages = new Vector();
- definition_ = loadWSDL(wsdlUrl_);
- if (definition_ != null)
- {
- setDocumentation(definition_.getDocumentationElement());
- gatherSchemas(definition_, wsdlUrl_);
- // Validate the schemas.
- for (int i=0;i<schemaList_.size();i++)
- {
- XSDSchema xsdSchema = (XSDSchema)schemaList_.elementAt(i);
- xsdSchema.validate();
- EList errors = xsdSchema.getAllDiagnostics();
- if (!errors.isEmpty())
- {
- for (ListIterator li = errors.listIterator();li.hasNext();)
- {
- XSDDiagnostic xd = (XSDDiagnostic)li.next();
- String msg = xd.getMessage();
- // do not report low severity diagnostics or erroneous array reference errors.
- if (xd.getSeverity().getValue() == XSDDiagnosticSeverity.FATAL_LITERAL.getValue() || (msg != null && msg.length() > 0 && msg.toLowerCase().indexOf("#array") != -1))
- li.remove();
- else
- {
- if (msg != null && msg.length() > 0)
- errorMessages.addElement(xd.getMessage());
- }
- }
- }
- }
-
- for (int i=0;i<constantSchemaList_.size();i++)
- schemaList_.addElement(constantSchemaList_.elementAt(i));
-
- }
- return errorMessages;
- }
-
- private final void gatherSchemas(Definition definition, String definitionURL)
- {
- Types types = definition.getTypes();
- if (types != null)
- {
- List extTypes = types.getExtensibilityElements();
- if (extTypes != null)
- {
- for (int i=0;i<extTypes.size();i++)
- {
- XSDSchema xsdSchema = null;
- Object obj = extTypes.get(i);
- if (obj instanceof UnknownExtensibilityElement)
- {
- UnknownExtensibilityElement schemaElement = (UnknownExtensibilityElement)obj;
- if (isW3SchemaElementType(schemaElement.getElementType()))
- {
- xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
- if(!checkSchemaURI(definitionURL)){
- schemaList_.addElement(xsdSchema);
- gatherSchemaDirective(xsdSchema, definitionURL);
- }
- }
- }
- else if (obj instanceof XSDSchemaExtensibilityElementImpl)
- {
- XSDSchemaExtensibilityElementImpl schemaElement = (XSDSchemaExtensibilityElementImpl)obj;
- xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
- if(!checkSchemaURI(definitionURL)){
- schemaList_.addElement(xsdSchema);
- gatherSchemaDirective(xsdSchema, definitionURL);
- }
- }
-
- if (xsdSchema != null)
- {
- //We need to add the schema to a Resource in a Resource set for proper validation
- org.eclipse.emf.common.util.URI uri = org.eclipse.emf.common.util.URI.createURI(definitionURL);
- Resource resource = resourceSet.createResource(uri);
- //Add the Schema to the resource
- resource.getContents().add(xsdSchema);
- }
- }
- }
- }
- Map imports = definition.getImports();
- if (imports != null)
- gatherImportedSchemas(definition,imports);
- }
-
- private final void gatherSchemaDirective(XSDSchema xsdSchema, String xsdSchemaURL)
- {
- if (xsdSchema != null)
- {
- EList xsdSchemaContents = xsdSchema.getContents();
- for (Iterator it = xsdSchemaContents.iterator(); it.hasNext();)
- {
- Object content = it.next();
- if (content instanceof XSDSchemaDirective)
- {
- XSDSchemaDirective xsdSchemaDirective = (XSDSchemaDirective)content;
- StringBuffer xsdSchemaDirectiveURL = new StringBuffer();
- String xsdSchemaDirectiveLocation = xsdSchemaDirective.getSchemaLocation();
- if (xsdSchemaDirectiveLocation != null && xsdSchemaDirectiveLocation.indexOf(':') == -1 && xsdSchemaURL != null && xsdSchemaURL.indexOf(':') != -1)
- {
- // relative URL
- int index = xsdSchemaURL.lastIndexOf('/');
- if (index != -1)
- xsdSchemaDirectiveURL.append(xsdSchemaURL.substring(0, index+1));
- else
- {
- xsdSchemaDirectiveURL.append(xsdSchemaURL);
- xsdSchemaDirectiveURL.append('/');
- }
- }
- xsdSchemaDirectiveURL.append(xsdSchemaDirectiveLocation);
- // resolve schema directive
- XSDSchema resolvedSchema = xsdSchemaDirective.getResolvedSchema();
- if (resolvedSchema == null && xsdSchemaDirectiveURL.length() > 0)
- resolvedSchema = getSchema(xsdSchemaDirectiveURL.toString());
- if (resolvedSchema != null)
- {
- if(!checkSchemaURI(xsdSchemaDirectiveURL.toString())){
- schemaList_.addElement(resolvedSchema);
- gatherSchemaDirective(resolvedSchema, xsdSchemaDirectiveURL.toString());
- }
- }
- }
- }
- }
- }
-
- private boolean checkSchemaURI(String schemaURI){
- boolean found = false;
-
-
- schemaURI = normalize(schemaURI);
- if(schemaURI.equals(normalize(wsdlUrl_)))return false;
- Enumeration e = schemaURI_.elements();
- while(e.hasMoreElements()){
- String uri = (String)e.nextElement();
- if(schemaURI.equals(uri)){
- found = true;
- break;
- }
- }
-
- if (!found){
- schemaURI_.addElement(schemaURI);
- }
- return found;
-
- }
-
- private String normalize(String uri )
- {
- try {
- String encodedURI = URIEncoder.encode(uri,"UTF-8");
- URI normalizedURI = new URI(encodedURI);
- normalizedURI = normalizedURI.normalize();
- return normalizedURI.toString();
- } catch (URISyntaxException e) {
- return uri;
- } catch (UnsupportedEncodingException e) {
- return uri;
- }
- }
-
- private final boolean isW3SchemaElementType(QName qname)
- {
- for (int i=0;i<w3SchemaQNameList_.size();i++)
- {
- QName w3SchemaQName = (QName)w3SchemaQNameList_.elementAt(i);
- if (w3SchemaQName.equals(qname))
- return true;
- }
- return false;
- }
-
- private final void gatherImportedSchemas(Definition definition,Map imports)
- {
- for (Iterator iterator = imports.keySet().iterator();iterator.hasNext();)
- {
- List importList = (List)imports.get(iterator.next());
- for (int i=0;i<importList.size();i++)
- {
- Import imp = (Import)importList.get(i);
- StringBuffer locURI = new StringBuffer(imp.getLocationURI());
- if (!Validator.validateURL(locURI.toString()))
- {
- String base = definition.getDocumentBaseURI();
- locURI.insert(0,base.substring(0,base.lastIndexOf('/')+1));
- }
- try
- {
- Definition importDef = loadWSDL(locURI.toString());
- gatherSchemas(importDef, locURI.toString());
- }
- catch (WSDLException e)
- {
- // May be an XSD file.
- gatherSchema(locURI.toString());
- }
- }
- }
- }
-
- private final void gatherSchema(String locURI)
- {
- XSDSchema xsdSchema = getSchema(locURI);
- if (xsdSchema != null)
- {
- schemaList_.addElement(xsdSchema);
- gatherSchemaDirective(xsdSchema, locURI);
- }
- }
-
- private final XSDSchema getSchema(String locURI)
- {
- XSDSchema xsdSchema = XSDSchemaImpl.getSchemaForSchema(locURI);
- if (xsdSchema == null)
- {
- XSDParser p = new XSDParser();
- InputStream is = NetUtils.getURLInputStream(locURI);
- if (is != null)
- {
- p.parse(is);
- xsdSchema = p.getSchema();
- }
- }
- return xsdSchema;
- }
-
- public void setDefinition(Definition definition)
- {
- definition_ = definition;
- }
-
- public Definition getDefinition()
- {
- return definition_;
- }
-
- public void buildModel() {
- if (definition_ != null) {
- Map services = new HashMap(definition_.getServices());
- WSDLServiceElement[] wsdlServiceElements = new WSDLServiceElement[getNumberOfElements(WSDLModelConstants.REL_WSDL_SERVICE)];
- Enumeration e = getElements(WSDLModelConstants.REL_WSDL_SERVICE);
- for (int i = 0; i < wsdlServiceElements.length; i++) {
- wsdlServiceElements[i] = (WSDLServiceElement)e.nextElement();
- }
- for (int j = 0; j < wsdlServiceElements.length; j++) {
- QName qname = wsdlServiceElements[j].getService().getQName();
- Service service = (Service)services.get(qname);
- if (service != null) {
- services.remove(qname);
- wsdlServiceElements[j].setService(service);
- wsdlServiceElements[j].buildModel();
- }
- else
- disconnect(wsdlServiceElements[j], WSDLModelConstants.REL_WSDL_SERVICE);
- }
- for (Iterator it = services.values().iterator();it.hasNext();) {
- Service service = (Service)it.next();
- WSDLServiceElement wsdlServiceElement = new WSDLServiceElement(service.getQName().getLocalPart(), getModel(), service);
- connect(wsdlServiceElement,WSDLModelConstants.REL_WSDL_SERVICE,ModelConstants.REL_OWNER);
- wsdlServiceElement.buildModel();
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLOperationElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLOperationElement.java
deleted file mode 100644
index 36c434289..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLOperationElement.java
+++ /dev/null
@@ -1,271 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-import javax.wsdl.Binding;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.Input;
-import javax.wsdl.Operation;
-import javax.wsdl.Output;
-import javax.wsdl.Part;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.soap.SOAPBinding;
-import javax.wsdl.extensions.soap.SOAPBody;
-import javax.wsdl.extensions.soap.SOAPOperation;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.BindingTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDNamedComponent;
-
-public class WSDLOperationElement extends WSDLCommonElement
-{
- public static final int OPERATION_TYPE_SOAP = 0;
- public static final int OPERATION_TYPE_HTTP_GET = 1;
- public static final int OPERATION_TYPE_HTTP_POST = 2;
-
- private int operationType_;
- private Operation operation_;
- private WSDLPartsToXSDTypeMapper wsdlPartsToXsdTypeMapper_;
- private XSDToFragmentController fragController_;
- private boolean isDocumentStyle_;
- private boolean isUseLiteral_;
- private String soapAction_;
- private String encodingStyle_;
- private String encodingNamespace_;
-
- private final void gatherSoapInformation(WSDLBindingElement bindingElement,SOAPBinding soapBinding)
- {
- // Initialize defaults.
- isDocumentStyle_ = true;
- soapAction_ = "";
- isUseLiteral_ = true;
- encodingStyle_ = null;
- encodingNamespace_ = null;
-
- if (soapBinding != null)
- isDocumentStyle_ = "document".equals(soapBinding.getStyle());
- BindingOperation bindingOperation = getBindingOperation(bindingElement);
- SOAPOperation soapOperation = null;
-
- for (Iterator i = bindingOperation.getExtensibilityElements().iterator();i.hasNext();)
- {
- ExtensibilityElement e = (ExtensibilityElement)i.next();
- if (e instanceof SOAPOperation)
- {
- soapOperation = (SOAPOperation)e;
- soapAction_ = soapOperation.getSoapActionURI();
- String style = soapOperation.getStyle();
- if (style != null)
- isDocumentStyle_ = style.equals("document");
- break;
- }
- }
-
- BindingInput bindingInput = bindingOperation.getBindingInput();
- SOAPBody soapBody = null;
- for (Iterator i = bindingInput.getExtensibilityElements().iterator();i.hasNext();)
- {
- ExtensibilityElement e = (ExtensibilityElement)i.next();
- if (e instanceof SOAPBody)
- {
- soapBody = (SOAPBody)e;
- isUseLiteral_ = "literal".equals(soapBody.getUse());
- if (!isUseLiteral_)
- {
- // Encoded.
- for (Iterator j = soapBody.getEncodingStyles().iterator();j.hasNext();)
- {
- encodingStyle_ = (String)j.next();
- encodingNamespace_ = soapBody.getNamespaceURI();
- break;
- }
- }
- break;
- }
- }
- }
-
- public WSDLOperationElement(String name,WSDLBindingElement bindingElement,Operation operation)
- {
- super(name, bindingElement.getModel());
- // Set the default operation type to be SOAP.
- setOperation(bindingElement,operation);
- }
-
- public void setOperation(WSDLBindingElement bindingElement,Operation operation) {
- operation_ = operation;
- setDocumentation(operation.getDocumentationElement());
- fragController_ = null;
- wsdlPartsToXsdTypeMapper_ = null;
- operationType_ = bindingElement.getBindingType();
- ExtensibilityElement bindingExtensibilityElement = bindingElement.getBindingExtensibilityElement();
- switch (operationType_)
- {
- case BindingTypes.SOAP:
- gatherSoapInformation(bindingElement,(SOAPBinding)bindingExtensibilityElement);
- case BindingTypes.HTTP_GET:
- case BindingTypes.HTTP_POST:
- default:
- break;
- }
- }
-
- public Operation getOperation() {
- return operation_;
- }
-
- public BindingOperation getBindingOperation()
- {
- return getBindingOperation((WSDLBindingElement)getParentElement());
- }
-
- private BindingOperation getBindingOperation(WSDLBindingElement bindingElement)
- {
- Binding binding = bindingElement.getBinding();
- String operationInputName = null;
- String operationOutputName = null;
- Input operationInput = operation_.getInput();
- Output operationOutput = operation_.getOutput();
- if (operationInput != null)
- operationInputName = operationInput.getName();
- if (operationOutput != null)
- operationOutputName = operationOutput.getName();
- BindingOperation bindingOperation = binding.getBindingOperation(operation_.getName(),operationInputName,operationOutputName);
- if (bindingOperation == null)
- bindingOperation = binding.getBindingOperation(operation_.getName(),null,null);
- return bindingOperation;
- }
-
- public List getOrderedBodyParts()
- {
- List parts = new Vector(operation_.getInput().getMessage().getOrderedParts(operation_.getParameterOrdering()));
- BindingOperation bindingOperation = getBindingOperation();
- BindingInput bindingInput = bindingOperation.getBindingInput();
- for (Iterator it = bindingInput.getExtensibilityElements().iterator(); it.hasNext();)
- {
- ExtensibilityElement e = (ExtensibilityElement)it.next();
- if (e instanceof SOAPBody)
- {
- SOAPBody soapBody = (SOAPBody)e;
- List bodyParts = soapBody.getParts();
- if (bodyParts != null)
- {
- for (int i = 0; i < parts.size(); i++)
- {
- Part part = (Part)parts.get(i);
- if (!bodyParts.contains(part) && !bodyParts.contains(part.getName()))
- {
- parts.remove(i);
- i--;
- }
- }
- }
- break;
- }
- }
- return parts;
- }
-
- private XSDToFragmentController getXSDToFragmentController() {
- if (fragController_ == null) {
- fragController_ = new XSDToFragmentController();
- fragController_.setWSDLPartsToXSDTypeMapper(wsdlPartsToXsdTypeMapper_);
- }
- return fragController_;
- }
-
- private XSDNamedComponent getSchema(Part part, String id) {
- if (wsdlPartsToXsdTypeMapper_ == null) {
- wsdlPartsToXsdTypeMapper_ = new WSDLPartsToXSDTypeMapper();
- WSDLBindingElement bindingElement = (WSDLBindingElement)getParentElement();
- WSDLServiceElement serviceElement = (WSDLServiceElement)bindingElement.getParentElement();
- WSDLElement wsdlElement = (WSDLElement)serviceElement.getParentElement();
- wsdlPartsToXsdTypeMapper_.addSchemas(wsdlElement.getSchemaList());
- }
- return wsdlPartsToXsdTypeMapper_.getXSDType(part, id);
- }
-
- public IXSDFragment getFragment(Part part) {
- return getFragment(part, true);
- }
-
- public IXSDFragment getFragment(Part part, boolean isInput) {
- StringBuffer id = new StringBuffer();
- if (isInput)
- id.append(FragmentConstants.INPUT_ID);
- else
- id.append(FragmentConstants.OUTPUT_ID);
- String partName = part.getName();
- id.append(partName);
- XSDToFragmentConfiguration config = new XSDToFragmentConfiguration();
- config.setIsWSDLPart(true);
- config.setWSDLPartName(partName);
- config.setXSDComponent(getSchema(part, id.toString()));
- if (isDocumentStyle())
- config.setStyle(FragmentConstants.STYLE_DOCUMENT);
- else
- config.setStyle(FragmentConstants.STYLE_RPC);
- if (operationType_ == BindingTypes.SOAP)
- {
- if (!isUseLiteral_)
- config.setPartEncoding(FragmentConstants.ENCODING_SOAP);
- }
- else
- config.setPartEncoding(FragmentConstants.ENCODING_URL);
- IXSDFragment fragment = getXSDToFragmentController().getFragment(config, id.toString(), part.getName());
- return fragment;
- }
-
- public IXSDFragment getFragmentByID(String id) {
- return getXSDToFragmentController().getCachedFragment(id);
- }
-
- public void removeAllFragment() {
- getXSDToFragmentController().emptyCache();
- }
-
- public boolean isDocumentStyle()
- {
- return isDocumentStyle_;
- }
-
- public String getSoapAction()
- {
- return soapAction_;
- }
-
- public boolean isUseLiteral()
- {
- return isUseLiteral_;
- }
-
- public String getEncodingStyle()
- {
- return encodingStyle_;
- }
-
- public String getEncodingNamespace()
- {
- return encodingNamespace_;
- }
-
- public int getOperationType()
- {
- return operationType_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLServiceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLServiceElement.java
deleted file mode 100644
index e6d1a2fdb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/datamodel/WSDLServiceElement.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel;
-
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import javax.wsdl.Binding;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import javax.xml.namespace.QName;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-
-public class WSDLServiceElement extends WSDLCommonElement
-{
-
- private Service service_;
-
- public WSDLServiceElement(String name, Model model, Service service)
- {
- super(name, model);
- setService(service);
- }
-
- public void setService(Service service) {
- service_ = service;
- setDocumentation(service.getDocumentationElement());
- }
-
- public Service getService() {
- return service_;
- }
-
- public String getAddressLocation(Binding binding)
- {
- Map ports = service_.getPorts();
- for (Iterator i = ports.values().iterator();i.hasNext();)
- {
- Port port = (Port)i.next();
- if (port.getBinding().getQName().equals(binding.getQName()))
- {
- List extensibilityElements = port.getExtensibilityElements();
- for (Iterator j = extensibilityElements.iterator();j.hasNext();)
- {
- ExtensibilityElement element = (ExtensibilityElement)j.next();
- if (element instanceof SOAPAddress)
- {
- SOAPAddress soapAddress = (SOAPAddress)element;
- return soapAddress.getLocationURI();
- }
- else if (element instanceof HTTPAddress)
- {
- HTTPAddress httpAddress = (HTTPAddress)element;
- return httpAddress.getLocationURI();
- }
- }
- }
- }
- return null;
- }
-
- public void buildModel() {
- if (service_ != null) {
- Map ports = service_.getPorts();
- Map bindings = new HashMap();
- for (Iterator it = ports.values().iterator();it.hasNext();) {
- Port port = (Port)it.next();
- Binding binding = port.getBinding();
- if (binding.getPortType() == null)
- continue;
- else
- bindings.put(binding.getQName(), binding);
- }
- WSDLBindingElement[] wsdlBindingElements = new WSDLBindingElement[getNumberOfElements(WSDLModelConstants.REL_WSDL_BINDING)];
- Enumeration e = getElements(WSDLModelConstants.REL_WSDL_BINDING);
- for (int i = 0; i < wsdlBindingElements.length; i++) {
- wsdlBindingElements[i] = (WSDLBindingElement)e.nextElement();
- }
- for (int j = 0; j < wsdlBindingElements.length; j++) {
- QName qname = wsdlBindingElements[j].getBinding().getQName();
- Binding binding = (Binding)bindings.get(qname);
- if (binding != null) {
- bindings.remove(qname);
- wsdlBindingElements[j].setBinding(binding);
- wsdlBindingElements[j].buildModel();
- }
- else
- disconnect(wsdlBindingElements[j], WSDLModelConstants.REL_WSDL_BINDING);
- }
- for (Iterator it = bindings.values().iterator();it.hasNext();) {
- Binding binding = (Binding)it.next();
- WSDLBindingElement wsdlBindingElement = new WSDLBindingElement(binding.getQName().getLocalPart(), getModel(), binding);
- connect(wsdlBindingElement,WSDLModelConstants.REL_WSDL_BINDING,ModelConstants.REL_OWNER);
- wsdlBindingElement.buildModel();
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IFragment.java
deleted file mode 100644
index 6695a41fa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IFragment.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-
-public interface IFragment {
- public void setID(String id);
- public String getID();
-
- public void setName(String name);
- public String getName();
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException;
-
- public void setParameterValues(String paramKey, String[] params);
- public void setParameterValues(String paramKey, Vector params);
- public String[] getParameterValues(String paramKey);
- public String getParameterValue(String paramKey, int paramIndex);
-
- public boolean validateAllParameterValues();
- public boolean validateParameterValues(String paramKey);
- public boolean validateParameterValue(String paramKey, int paramIndex);
-
- public String getInformationFragment();
- public String getWriteFragment();
- public String getReadFragment();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncArrayFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncArrayFragment.java
deleted file mode 100644
index d30dbd5b4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncArrayFragment.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface ISOAPEncArrayFragment extends IXSDGroupSeqFragment {
- public String createSOAPEncArrayInstance();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncodingWrapperFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncodingWrapperFragment.java
deleted file mode 100644
index 65013d94b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/ISOAPEncodingWrapperFragment.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import java.util.Hashtable;
-
-public interface ISOAPEncodingWrapperFragment extends IXSDDelegationFragment
-{
- public void setURIReferences(Hashtable uriReferences);
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDAttributeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDAttributeFragment.java
deleted file mode 100644
index 88f23ce07..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDAttributeFragment.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/src/com/ibm/etools/webservice/explorer/wsdl/fragment/IXSDElementFragment.java, wsa.etools.ws.explorer, lunar-5.1.2, 20031231a 1
-* Version 1.1 03/02/28 15:26:05
-*/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDAttributeFragment extends IXSDDelegationFragment {
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDComplexFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDComplexFragment.java
deleted file mode 100644
index 3e6bc2c0e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDComplexFragment.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDComplexFragment extends IXSDMapFragment {
- public String createComplexInstance();
- public IXSDAttributeFragment[] getAllAttributeFragments();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDDelegationFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDDelegationFragment.java
deleted file mode 100644
index eb43be581..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDDelegationFragment.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDDelegationFragment extends IXSDFragment {
- public void setXSDDelegationFragment(IXSDFragment xsdFragment);
- public IXSDFragment getXSDDelegationFragment();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDElementFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDElementFragment.java
deleted file mode 100644
index 5727b92ff..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDElementFragment.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDElementFragment extends IXSDDelegationFragment {
- public static String NIL = "nilValue";
- public static String NIL_VALUE = "nil";
-
- public int getMinOccurs();
- public int getMaxOccurs();
- public boolean isNillable();
- public String getNilID();
- public boolean isNil();
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDFragment.java
deleted file mode 100644
index c6ba6f4be..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDFragment.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import java.util.Hashtable;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.Document;
-
-
-public interface IXSDFragment extends IFragment {
- public void setXSDToFragmentConfiguration(XSDToFragmentConfiguration config);
- public XSDToFragmentConfiguration getXSDToFragmentConfiguration();
-
- public void setXSDTypeDefinition(XSDTypeDefinition typeDef);
- public XSDTypeDefinition getXSDTypeDefinition();
- public Element setAttributesOnInstanceDocuments(Element instanceDocument,String name);
- public boolean setAttributeParamsFromInstanceDocuments (Node attribute);
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments);
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc);
-
- public String genID();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupAllFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupAllFragment.java
deleted file mode 100644
index 9bd54e66e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupAllFragment.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDGroupAllFragment extends IXSDGroupFragment {
- public String getGroupAllInstance();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupChoiceFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupChoiceFragment.java
deleted file mode 100644
index 864837cc2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupChoiceFragment.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.xsd.XSDParticle;
-
-public interface IXSDGroupChoiceFragment extends IXSDGroupFragment {
- public XSDParticle[] getChoices();
- public String createGroupChoiceInstance(int choiceIndex);
- public int getChoiceIndex(String groupID);
- public void setChoiceIndex(String groupID, int choiceIndex);
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupFragment.java
deleted file mode 100644
index 9da875972..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupFragment.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.xsd.XSDModelGroup;
-
-public interface IXSDGroupFragment extends IXSDMapFragment {
- public void setXSDModelGroup(XSDModelGroup xsdModelGroup);
- public XSDModelGroup getXSDModelGroup();
-
- public String[] getGroupIDs();
- public String[] getGroupMemberIDs(String groupID);
- public IXSDFragment[] getGroupMemberFragments(String groupID);
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupSeqFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupSeqFragment.java
deleted file mode 100644
index 614433eee..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDGroupSeqFragment.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDGroupSeqFragment extends IXSDGroupFragment {
- public String createGroupSeqInstance();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDMapFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDMapFragment.java
deleted file mode 100644
index 1a9fd3b9a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDMapFragment.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDMapFragment extends IXSDFragment {
- public void setXSDToFragmentController(XSDToFragmentController controller);
- public XSDToFragmentController getXSDToFragmentController();
-
- public String createInstance();
-
- public String[] getFragmentsOrder();
- public IXSDFragment getFragment(String id);
- public IXSDFragment[] getFragments(String[] ids);
- public IXSDFragment[] getAllFragments();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleAtomicFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleAtomicFragment.java
deleted file mode 100644
index 33f97da25..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleAtomicFragment.java
+++ /dev/null
@@ -1,14 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDSimpleAtomicFragment extends IXSDFragment {
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleListFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleListFragment.java
deleted file mode 100644
index 00925a379..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleListFragment.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-public interface IXSDSimpleListFragment extends IXSDMapFragment {
- public String createListInstance();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleUnionFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleUnionFragment.java
deleted file mode 100644
index ba86a1232..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/IXSDSimpleUnionFragment.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-
-public interface IXSDSimpleUnionFragment extends IXSDMapFragment {
- public XSDSimpleTypeDefinition[] getMemberTypeDefinitions();
- public String createUnionInstance(int memberTypeIndex);
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDAttributeUseToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDAttributeUseToFragmentMapper.java
deleted file mode 100644
index abe10ed1f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDAttributeUseToFragmentMapper.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/src/com/ibm/etools/webservice/explorer/wsdl/fragment/XSDElementDeclarationToFragmentMapper.java, wsa.etools.ws.explorer, lunar-5.1.2, 20031231a 2
-* Version 1.2 03/06/05 14:17:44
-*/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDAttributeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDAttributeDeclaration;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-public class XSDAttributeUseToFragmentMapper extends XSDToFragmentMapper {
- public XSDAttributeUseToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- super(controller, wsdlToXSDMapper);
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- XSDAttributeUse attribute = (XSDAttributeUse)config.getXSDComponent();
- if (attribute != null && attribute.getAttributeDeclaration() != null) {
- XSDAttributeDeclaration resolvedAttribute = resolveXSDAttributeDeclaration(attribute.getAttributeDeclaration());
- XSDTypeDefinition typeDef = getXSDTypeDefinition(resolvedAttribute);
- IXSDAttributeFragment attributeFrag = new XSDAttributeFragment(id, resolvedAttribute.getName(), config);
- attributeFrag.setXSDTypeDefinition(typeDef);
- XSDToFragmentConfiguration attributeTypeConfig = new XSDToFragmentConfiguration();
- attributeTypeConfig.setXSDComponent(typeDef);
- attributeTypeConfig.setStyle(config.getStyle());
- attributeTypeConfig.setPartEncoding(config.getPartEncoding());
- attributeTypeConfig.setWSDLPartName(config.getWSDLPartName());
- IXSDFragment xsdFragment = getController().getFragment(attributeTypeConfig, attributeFrag.genID(), resolvedAttribute.getName());
- attributeFrag.setXSDDelegationFragment(xsdFragment);
- return attributeFrag;
- }
- return getXSDDefaultFragment(config, id, name);
- }
-
- private XSDAttributeDeclaration resolveXSDAttributeDeclaration(XSDAttributeDeclaration attribute) {
- // port to org.eclipse.xsd
- if (attribute.getResolvedAttributeDeclaration() != null)
- {
- XSDAttributeDeclaration resolvedAttribute = attribute.getResolvedAttributeDeclaration();
- if (!isComponentResolvable(resolvedAttribute))
- {
- XSDComponent resolvedComponent = getWSDLPartsToXSDTypeMapper().resolveXSDNamedComponent(resolvedAttribute);
- if (resolvedComponent != null && (resolvedComponent instanceof XSDAttributeDeclaration))
- resolvedAttribute = (XSDAttributeDeclaration)resolvedComponent;
- }
- return resolvedAttribute;
- }
- else
- return attribute;
- }
-
- private XSDTypeDefinition getXSDTypeDefinition(XSDAttributeDeclaration attribute) {
- // port to org.eclipse.xsd
- if (attribute.getTypeDefinition() != null)
- return attribute.getTypeDefinition();
- // port to org.eclipse.xsd
- else if (attribute.getAnonymousTypeDefinition() != null)
- return attribute.getAnonymousTypeDefinition();
- else
- return null;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDComplexTypeToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDComplexTypeToFragmentMapper.java
deleted file mode 100644
index a500d349b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDComplexTypeToFragmentMapper.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDComplexFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDComplexRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDComplexSimpleContentFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDComplexSimpleContentRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.XSDTypeDefinitionUtil;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDComplexTypeContent;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDContentTypeCategory;
-
-public class XSDComplexTypeToFragmentMapper extends XSDToFragmentMapper {
- public XSDComplexTypeToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- super(controller, wsdlToXSDMapper);
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)config.getXSDComponent();
- int category = complexType.getContentTypeCategory().getValue();
- if (complexType != null && complexType.isMixed())
- return getXSDDefaultFragment(config, id, name);
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- if (complexTypeContent != null)
- return getXSDComplexFragment(category,config, id, name);
- else
- return getXSDEmptyFragment(config, id, name);
- }
-
- private IXSDFragment getXSDComplexFragment(int category,XSDToFragmentConfiguration config, String id, String name) {
- int minOccurs = config.getMinOccurs();
- int maxOccurs = config.getMaxOccurs();
- if (minOccurs == maxOccurs)
- if(category == XSDContentTypeCategory.SIMPLE){
- return new XSDComplexSimpleContentFixFragment(id, name, config, getController());
-
- }
- else
- return new XSDComplexFixFragment(id, name, config, getController());
- else
- if(category == XSDContentTypeCategory.SIMPLE)
- return new XSDComplexSimpleContentRangeFragment(id, name, config, getController());
- else
- return new XSDComplexRangeFragment(id, name, config, getController());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDElementDeclarationToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDElementDeclarationToFragmentMapper.java
deleted file mode 100644
index 939623b6e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDElementDeclarationToFragmentMapper.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDElementFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-
-public class XSDElementDeclarationToFragmentMapper extends XSDToFragmentMapper {
- public XSDElementDeclarationToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- super(controller, wsdlToXSDMapper);
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- XSDElementDeclaration element = (XSDElementDeclaration)config.getXSDComponent();
- if (element != null) {
- XSDElementDeclaration resolvedElement = resolveXSDElementDeclaration(element);
- XSDTypeDefinition typeDef = getXSDTypeDefinition(resolvedElement);
- if (typeDef != null) {
- int minOccurs = FragmentConstants.DEFAULT_MIN_OCCURS;
- int maxOccurs = FragmentConstants.DEFAULT_MAX_OCCURS;
- XSDConcreteComponent concreteComponent = element.getContainer();
- if (concreteComponent != null && concreteComponent instanceof XSDParticle) {
- XSDParticle particle = (XSDParticle)concreteComponent;
- if (particle.isSetMinOccurs())
- minOccurs = particle.getMinOccurs();
- if (particle.isSetMaxOccurs())
- maxOccurs = particle.getMaxOccurs();
- }
- config.setMinOccurs(minOccurs);
- config.setMaxOccurs(maxOccurs);
- IXSDElementFragment elementFrag = new XSDElementFragment(id, resolvedElement.getName(), config);
- elementFrag.setXSDTypeDefinition(typeDef);
- XSDToFragmentConfiguration elementTypeConfig = new XSDToFragmentConfiguration();
- elementTypeConfig.setXSDComponent(typeDef);
- elementTypeConfig.setMinOccurs(minOccurs);
- elementTypeConfig.setMaxOccurs(maxOccurs);
- elementTypeConfig.setStyle(config.getStyle());
- elementTypeConfig.setPartEncoding(config.getPartEncoding());
- elementTypeConfig.setWSDLPartName(config.getWSDLPartName());
- IXSDFragment xsdFragment = getController().getFragment(elementTypeConfig, elementFrag.genID(), resolvedElement.getName());
- elementFrag.setXSDDelegationFragment(xsdFragment);
- return elementFrag;
- }
- }
- return getXSDDefaultFragment(config, id, name);
- }
-
- private XSDElementDeclaration resolveXSDElementDeclaration(XSDElementDeclaration element) {
- // port to org.eclipse.xsd
- if (element.getResolvedElementDeclaration() != null)
- {
- XSDElementDeclaration resolvedElement = element.getResolvedElementDeclaration();
- if (!isComponentResolvable(resolvedElement))
- {
- XSDComponent resolvedComponent = getWSDLPartsToXSDTypeMapper().resolveXSDNamedComponent(resolvedElement);
- if (resolvedComponent != null && (resolvedComponent instanceof XSDElementDeclaration))
- resolvedElement = (XSDElementDeclaration)resolvedComponent;
- }
- return resolvedElement;
- }
- else
- return element;
- }
-
- private XSDTypeDefinition getXSDTypeDefinition(XSDElementDeclaration element) {
- // port to org.eclipse.xsd
- if (element.getTypeDefinition() != null)
- return element.getTypeDefinition();
- // port to org.eclipse.xsd
- else if (element.getAnonymousTypeDefinition() != null)
- return element.getAnonymousTypeDefinition();
- else
- return null;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDLiteralXMLEncodingToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDLiteralXMLEncodingToFragmentMapper.java
deleted file mode 100644
index 967ea9896..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDLiteralXMLEncodingToFragmentMapper.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDParticleContent;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-
-public class XSDLiteralXMLEncodingToFragmentMapper extends XSDToFragmentMapper {
- private XSDSimpleTypeToFragmentMapper xsdSimpleMapper_;
- private XSDComplexTypeToFragmentMapper xsdComplexMapper_;
- private XSDElementDeclarationToFragmentMapper xsdElementMapper_;
- private XSDAttributeUseToFragmentMapper xsdAttributeMapper_;
- private XSDParticleToFragmentMapper xsdParticleMapper_;
-
- public XSDLiteralXMLEncodingToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- super(controller, wsdlToXSDMapper);
- xsdSimpleMapper_ = null;
- xsdComplexMapper_ = null;
- xsdElementMapper_ = null;
- xsdAttributeMapper_ = null;
- xsdParticleMapper_= null;
- }
-
- private XSDSimpleTypeToFragmentMapper getXSDSimpleMapper() {
- if (xsdSimpleMapper_ == null)
- xsdSimpleMapper_ = new XSDSimpleTypeToFragmentMapper(getController(), getWSDLPartsToXSDTypeMapper());
- return xsdSimpleMapper_;
- }
-
- private XSDComplexTypeToFragmentMapper getXSDComplexMapper() {
- if (xsdComplexMapper_ == null)
- xsdComplexMapper_ = new XSDComplexTypeToFragmentMapper(getController(), getWSDLPartsToXSDTypeMapper());
- return xsdComplexMapper_;
- }
-
- private XSDElementDeclarationToFragmentMapper getXSDElementMapper() {
- if (xsdElementMapper_ == null)
- xsdElementMapper_ = new XSDElementDeclarationToFragmentMapper(getController(), getWSDLPartsToXSDTypeMapper());
- return xsdElementMapper_;
- }
-
- private XSDAttributeUseToFragmentMapper getXSDAttributeMapper() {
- if (xsdAttributeMapper_ == null)
- xsdAttributeMapper_ = new XSDAttributeUseToFragmentMapper(getController(), getWSDLPartsToXSDTypeMapper());
- return xsdAttributeMapper_;
- }
-
- private XSDParticleToFragmentMapper getXSDParticleMapper() {
- if (xsdParticleMapper_ == null)
- xsdParticleMapper_ = new XSDParticleToFragmentMapper(getController(), getWSDLPartsToXSDTypeMapper());
- return xsdParticleMapper_;
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- config = resolveXSDComponent(config);
- XSDComponent component = config.getXSDComponent();
- if (!isComponentResolvable(component))
- return getXSDDefaultFragment(config, id, name);
- else if (component instanceof XSDElementDeclaration)
- return getXSDElementMapper().getFragment(config, id, name);
- else if (component instanceof XSDSimpleTypeDefinition)
- return getXSDSimpleMapper().getFragment(config, id, name);
- else if (component instanceof XSDComplexTypeDefinition)
- return getXSDComplexMapper().getFragment(config, id, name);
- else if (component instanceof XSDParticle)
- return getXSDParticleMapper().getFragment(config, id, name);
- else if (component instanceof XSDParticleContent)
- return getXSDParticleMapper().getFragment(config, id, name);
- else if (component instanceof XSDAttributeUse)
- return getXSDAttributeMapper().getFragment(config, id, name);
- else
- return getXSDDefaultFragment(config, id, name);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDParticleToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDParticleToFragmentMapper.java
deleted file mode 100644
index bd4579730..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDParticleToFragmentMapper.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDGroupAllFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDGroupChoiceFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDGroupChoiceRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDGroupSeqFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDGroupSeqRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDCompositor;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDModelGroupDefinition;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDParticleContent;
-import org.eclipse.xsd.XSDWildcard;
-
-
-public class XSDParticleToFragmentMapper extends XSDToFragmentMapper {
- public XSDParticleToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- super(controller, wsdlToXSDMapper);
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- XSDComponent component = config.getXSDComponent();
- XSDParticleContent xsdParticleContent;
- if (component instanceof XSDParticle)
- xsdParticleContent = ((XSDParticle)component).getContent();
- else if (component instanceof XSDParticleContent)
- xsdParticleContent = (XSDParticleContent)component;
- else
- xsdParticleContent = null;
- if (xsdParticleContent != null) {
- if (xsdParticleContent instanceof XSDModelGroupDefinition)
- return getXSDModelGroupDefFragment(config, id, name, (XSDModelGroupDefinition)xsdParticleContent);
- else if (xsdParticleContent instanceof XSDModelGroup)
- return getXSDModelGroupFragment(config, id, name, (XSDModelGroup)xsdParticleContent);
- else if (xsdParticleContent instanceof XSDWildcard)
- return getXSDWildcardFragment(config, id, name, (XSDWildcard)xsdParticleContent);
- else
- return getXSDDefaultFragment(config, id, name);
- }
- else
- return getXSDDefaultFragment(config, id, name);
- }
-
- private IXSDFragment getXSDModelGroupDefFragment(XSDToFragmentConfiguration config, String id, String name, XSDModelGroupDefinition xsdModelGroupDef) {
- XSDModelGroupDefinition resolvedXSDModelGroupDef = xsdModelGroupDef;
- if (xsdModelGroupDef.isModelGroupDefinitionReference())
- resolvedXSDModelGroupDef = xsdModelGroupDef.getResolvedModelGroupDefinition();
- XSDModelGroup xsdModelGroup = resolvedXSDModelGroupDef.getModelGroup();
- if (xsdModelGroup == null)
- return getXSDDefaultFragment(config, id, name);
- else
- return getXSDModelGroupFragment(config, id, name, xsdModelGroup);
- }
-
- private IXSDFragment getXSDModelGroupFragment(XSDToFragmentConfiguration config, String id, String name, XSDModelGroup xsdModelGroup) {
- int minOccurs = FragmentConstants.DEFAULT_MIN_OCCURS;
- int maxOccurs = FragmentConstants.DEFAULT_MAX_OCCURS;
- XSDConcreteComponent concreteComponent = xsdModelGroup.getContainer();
- if (concreteComponent != null && concreteComponent instanceof XSDParticle) {
- XSDParticle particle = (XSDParticle)concreteComponent;
- if (particle.isSetMinOccurs())
- minOccurs = particle.getMinOccurs();
- if (particle.isSetMaxOccurs())
- maxOccurs = particle.getMaxOccurs();
- }
- config.setMinOccurs(minOccurs);
- config.setMaxOccurs(maxOccurs);
-
- switch (xsdModelGroup.getCompositor().getValue()) {
- case XSDCompositor.SEQUENCE:
- if (minOccurs == maxOccurs)
- return new XSDGroupSeqFixFragment(id, name, config, getController(), xsdModelGroup);
- else
- return new XSDGroupSeqRangeFragment(id, name, config, getController(), xsdModelGroup);
- case XSDCompositor.CHOICE:
- if (minOccurs == maxOccurs)
- return new XSDGroupChoiceFixFragment(id, name, config, getController(), xsdModelGroup);
- else
- return new XSDGroupChoiceRangeFragment(id, name, config, getController(), xsdModelGroup);
- case XSDCompositor.ALL:
- return new XSDGroupAllFragment(id, name, config, getController(), xsdModelGroup);
- default:
- return getXSDDefaultFragment(config, id, name);
- }
- }
-
- private IXSDFragment getXSDWildcardFragment(XSDToFragmentConfiguration config, String id, String name, XSDWildcard xsdParticleContent) {
- return getXSDDefaultFragment(config, id, name);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSOAPEncodingToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSOAPEncodingToFragmentMapper.java
deleted file mode 100644
index 5fafacc4c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSOAPEncodingToFragmentMapper.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.SOAPEncArrayFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.SOAPEncArrayRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.SOAPEncodingWrapperFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.XSDTypeDefinitionUtil;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDAttributeGroupContent;
-import org.eclipse.xsd.XSDComplexTypeContent;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDParticleContent;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Element;
-
-public class XSDSOAPEncodingToFragmentMapper extends XSDToFragmentMapper {
- private XSDLiteralXMLEncodingToFragmentMapper xsdLiteralMapper_;
- private XSDComplexTypeToFragmentMapper xsdComplexMapper_;
-
- public XSDSOAPEncodingToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- super(controller, wsdlToXSDMapper);
- xsdLiteralMapper_ = null;
- xsdComplexMapper_ = null;
- }
-
- private XSDLiteralXMLEncodingToFragmentMapper getXSDLiteralMapper() {
- if (xsdLiteralMapper_ == null)
- xsdLiteralMapper_ = new XSDLiteralXMLEncodingToFragmentMapper(getController(), getWSDLPartsToXSDTypeMapper());
- return xsdLiteralMapper_;
- }
-
- private XSDComplexTypeToFragmentMapper getXSDComplexMapper() {
- if (xsdComplexMapper_ == null)
- xsdComplexMapper_ = new XSDComplexTypeToFragmentMapper(getController(), getWSDLPartsToXSDTypeMapper());
- return xsdComplexMapper_;
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- if (config.getIsWSDLPart()) {
- ISOAPEncodingWrapperFragment wrapperFragment = new SOAPEncodingWrapperFragment(id, name, null);
- String delegationFragId = wrapperFragment.genID();
- IXSDFragment delegationFragment = getFragmentDelegate(config, delegationFragId, name);
- wrapperFragment.setXSDDelegationFragment(delegationFragment);
- getController().addToCache(delegationFragId, delegationFragment);
- return wrapperFragment;
- }
- else
- return getFragmentDelegate(config, id, name);
- }
-
- public IXSDFragment getFragmentDelegate(XSDToFragmentConfiguration config, String id, String name) {
- config = resolveXSDComponent(config);
- XSDComponent component = config.getXSDComponent();
- if (!isComponentResolvable(component))
- return getXSDDefaultFragment(config, id, name);
- else if (component instanceof XSDComplexTypeDefinition) {
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)component;
- if (XSDTypeDefinitionUtil.isSoapEncArray(complexType))
- return getSOAPEncArrayFragment(config, id, name, complexType);
- else
- return getXSDComplexMapper().getFragment(config, id, name);
- }
- else
- return getXSDLiteralMapper().getFragment(config, id, name);
- }
-
- private IXSDFragment getSOAPEncArrayFragment(XSDToFragmentConfiguration config, String id, String name, XSDComplexTypeDefinition complexType) {
- EList xsdAttrContents = complexType.getAttributeContents();
- for (int i = 0; i < xsdAttrContents.size(); i++) {
- String soapEncArrayTypeNamespaceURI = null;
- String soapEncArrayTypeLocalName = null;
- int soapEncArrayDimension = 0;
- XSDAttributeGroupContent xsdAttrContent = (XSDAttributeGroupContent)xsdAttrContents.get(i);
- Element element = xsdAttrContent.getElement();
- String arrayTypeAttr = element.getAttributeNS(FragmentConstants.URI_WSDL, FragmentConstants.QNAME_LOCAL_NAME_ARRAY_TYPE);
- if (arrayTypeAttr != null && arrayTypeAttr.length() > 0) {
- int colon = arrayTypeAttr.indexOf(FragmentConstants.COLON);
- String nsPrefix = (colon > 0) ? arrayTypeAttr.substring(0, colon) : null;
- soapEncArrayTypeNamespaceURI = (String)xsdAttrContent.getSchema().getQNamePrefixToNamespaceMap().get(nsPrefix);
- int dimensionIndex = arrayTypeAttr.indexOf(FragmentConstants.LEFT_SQUARE_BRACKET);
- soapEncArrayTypeLocalName = arrayTypeAttr.substring(colon + 1, dimensionIndex);
- String dimensionString = arrayTypeAttr.substring(dimensionIndex, arrayTypeAttr.length());
- for (int j = 0; j < dimensionString.length() - 1; j++) {
- if (dimensionString.charAt(j) == FragmentConstants.LEFT_SQUARE_BRACKET.charAt(0) && dimensionString.charAt(j + 1) == FragmentConstants.RIGHT_SQUARE_BRACKET.charAt(0)) {
- soapEncArrayDimension++;
- j++;
- }
- else {
- soapEncArrayDimension = 0;
- break;
- }
- }
- }
- if (soapEncArrayTypeNamespaceURI != null && soapEncArrayTypeLocalName != null && soapEncArrayDimension == 1) {
- XSDComponent soapEncArrayType = getWSDLPartsToXSDTypeMapper().getXSDTypeFromSchema(soapEncArrayTypeNamespaceURI, soapEncArrayTypeLocalName, false);
- if (soapEncArrayType != null && soapEncArrayType instanceof XSDTypeDefinition) {
- XSDModelGroup sequence = null;
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- if (complexTypeContent != null && (complexTypeContent instanceof XSDParticle)) {
- XSDParticleContent xsdParticleContent = ((XSDParticle)complexTypeContent).getContent();
- if (xsdParticleContent instanceof XSDModelGroup)
- sequence = (XSDModelGroup)xsdParticleContent;
- }
- ISOAPEncArrayFragment frag;
- if (config.getMinOccurs() == config.getMaxOccurs())
- frag = new SOAPEncArrayFixFragment(id, name, config, getController(), sequence);
- else
- frag = new SOAPEncArrayRangeFragment(id, name, config, getController(), sequence);
- frag.setXSDTypeDefinition((XSDTypeDefinition)soapEncArrayType);
- return frag;
- }
- }
- }
- return getXSDComplexMapper().getFragment(config, id, name);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSimpleTypeToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSimpleTypeToFragmentMapper.java
deleted file mode 100644
index e62489231..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDSimpleTypeToFragmentMapper.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleAtomicDateTimeFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleAtomicDateTimeRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleAtomicEnumFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleAtomicEnumRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleAtomicFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleAtomicFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleAtomicRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleListFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleListRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleUnionFixFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDSimpleUnionRangeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.OptionVector;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.XSDTypeDefinitionUtil;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-import org.eclipse.xsd.XSDVariety;
-
-public class XSDSimpleTypeToFragmentMapper extends XSDToFragmentMapper {
- public XSDSimpleTypeToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- super(controller, wsdlToXSDMapper);
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)config.getXSDComponent();
- if (simpleType != null && simpleType.getVariety() != null) {
- switch (simpleType.getVariety().getValue()) {
- case XSDVariety.ATOMIC:
- return getXSDSimpleAtomicFragment(config, id, name);
- case XSDVariety.LIST:
- return getXSDSimpleListFragment(config, id, name);
- case XSDVariety.UNION:
- return getXSDSimpleUnionFragment(config, id, name);
- default:
- return getXSDDefaultFragment(config, id, name);
- }
- }
- else
- return getXSDDefaultFragment(config, id, name);
- }
-
- private IXSDFragment getXSDSimpleAtomicFragment(XSDToFragmentConfiguration config, String id, String name) {
- boolean isFixed = ((config.getMinOccurs() == config.getMaxOccurs()) && config.getMaxOccurs() != FragmentConstants.UNBOUNDED);
- XSDSimpleTypeDefinition xsdSimpleTypeDef = (XSDSimpleTypeDefinition)config.getXSDComponent();
- XSDSimpleTypeDefinition xsdBaseSimpleTypeDef = (XSDSimpleTypeDefinition)XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(xsdSimpleTypeDef);
- String baseSimpleTypeDefNS = null;
- String baseSimpleTypeDefName = null;
- if (xsdBaseSimpleTypeDef != null)
- {
- baseSimpleTypeDefNS = xsdBaseSimpleTypeDef.getTargetNamespace();
- baseSimpleTypeDefName = xsdBaseSimpleTypeDef.getName();
- }
- boolean isEnum = isSimpleTypeEnumeration(xsdSimpleTypeDef);
- if (FragmentConstants.URI_XSD.equals(baseSimpleTypeDefNS))
- {
- if (baseSimpleTypeDefName.equals("date"))
- return getXSDSimpleDateTimeFragment(id, name, config, ActionInputs.CALENDAR_TYPE_DATE,xsdSimpleTypeDef,isEnum,isFixed);
- else if (baseSimpleTypeDefName.equals("dateTime"))
- return getXSDSimpleDateTimeFragment(id, name, config, ActionInputs.CALENDAR_TYPE_DATETIME,xsdSimpleTypeDef,isEnum,isFixed);
- else if (baseSimpleTypeDefName.equals("gYearMonth"))
- return getXSDSimpleDateTimeFragment(id, name, config, ActionInputs.CALENDAR_TYPE_GYEARMONTH,xsdSimpleTypeDef,isEnum,isFixed);
- else if (baseSimpleTypeDefName.equals("gMonthDay"))
- return getXSDSimpleDateTimeFragment(id, name, config, ActionInputs.CALENDAR_TYPE_GMONTHDAY,xsdSimpleTypeDef,isEnum,isFixed);
- else if (baseSimpleTypeDefName.equals("gDay"))
- return getXSDSimpleGDayFragment(id, name, config, xsdSimpleTypeDef,isEnum,isFixed);
- else if (baseSimpleTypeDefName.equals("boolean"))
- return getXSDSimpleBooleanFragment(id, name, config, xsdSimpleTypeDef,isEnum,isFixed);
- }
-
- if (isEnum)
- {
- if (isFixed)
- return new XSDSimpleAtomicEnumFixFragment(id, name, config, xsdSimpleTypeDef.getEnumerationFacets());
- else
- return new XSDSimpleAtomicEnumRangeFragment(id, name, config, xsdSimpleTypeDef.getEnumerationFacets());
- }
- else
- {
- if (isFixed)
- return new XSDSimpleAtomicFixFragment(id, name, config);
- else
- return new XSDSimpleAtomicRangeFragment(id, name, config);
- }
- }
-
- private XSDSimpleAtomicFragment getXSDSimpleDateTimeFragment(String id, String name, XSDToFragmentConfiguration config, int calendarType,XSDSimpleTypeDefinition xsdDateTimeType,boolean isEnum,boolean isFixed)
- {
- if (isEnum)
- {
- if (isFixed)
- return new XSDSimpleAtomicEnumFixFragment(id, name, config, xsdDateTimeType.getEnumerationFacets());
- else
- return new XSDSimpleAtomicEnumRangeFragment(id, name, config, xsdDateTimeType.getEnumerationFacets());
- }
- else
- {
- if (isFixed)
- return new XSDSimpleAtomicDateTimeFixFragment(id, name, config, calendarType);
- else
- return new XSDSimpleAtomicDateTimeRangeFragment(id, name, config, calendarType);
- }
- }
-
- private XSDSimpleAtomicFragment getXSDSimpleGDayFragment(String id, String name, XSDToFragmentConfiguration config, XSDSimpleTypeDefinition xsdDateTimeType,boolean isEnum,boolean isFixed)
- {
- if (isEnum)
- return null;
- OptionVector optionVector = new OptionVector();
- StringBuffer value = new StringBuffer();
- for (int i=1;i<=31;i++)
- {
- value.setLength(0);
- value.append("---");
- if (i<10)
- value.append(0);
- value.append(i);
- optionVector.addOption(String.valueOf(i),value.toString());
- }
- if (isFixed)
- return new XSDSimpleAtomicEnumFixFragment(id, name, config, optionVector);
- else
- return new XSDSimpleAtomicEnumRangeFragment(id, name, config, optionVector);
- }
-
- private XSDSimpleAtomicFragment getXSDSimpleBooleanFragment(String id, String name, XSDToFragmentConfiguration config, XSDSimpleTypeDefinition xsdBooleanType,boolean isEnum,boolean isFixed)
- {
- if (isEnum)
- return null;
- OptionVector optionVector = new OptionVector();
- optionVector.addOption("true","true");
- optionVector.addOption("false","false");
- if (isFixed)
- return new XSDSimpleAtomicEnumFixFragment(id, name, config, optionVector);
- else
- return new XSDSimpleAtomicEnumRangeFragment(id, name, config, optionVector);
- }
-
- private IXSDFragment getXSDSimpleListFragment(XSDToFragmentConfiguration config, String id, String name) {
-
- boolean isFixed = ((config.getMinOccurs() == config.getMaxOccurs()) && config.getMaxOccurs() != FragmentConstants.UNBOUNDED);
- if (isFixed)
- return new XSDSimpleListFixFragment(id, name, config, getController());
- else
- return new XSDSimpleListRangeFragment(id, name, config, getController());
- }
-
- private IXSDFragment getXSDSimpleUnionFragment(XSDToFragmentConfiguration config, String id, String name) {
-
- boolean isFixed = ((config.getMinOccurs() == config.getMaxOccurs()) && config.getMaxOccurs() != FragmentConstants.UNBOUNDED);
- if (isFixed)
- return new XSDSimpleUnionFixFragment(id, name, config, getController());
- else
- return new XSDSimpleUnionRangeFragment(id, name, config, getController());
- }
-
- private boolean isSimpleTypeEnumeration(XSDSimpleTypeDefinition simpleType) {
- EList e = simpleType.getEnumerationFacets();
- return (e != null && e.size() > 0);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentConfiguration.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentConfiguration.java
deleted file mode 100644
index 0537da155..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentConfiguration.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.xsd.XSDComponent;
-
-public class XSDToFragmentConfiguration {
- private XSDComponent component_;
- private int minOccurs_;
- private int maxOccurs_;
- private int style_;
- private int partEncoding_;
- private boolean isWSDLPart_;
- private String wsdlPartName_;
-
- public XSDToFragmentConfiguration() {
- component_ = null;
- minOccurs_ = FragmentConstants.DEFAULT_MIN_OCCURS;
- maxOccurs_ = FragmentConstants.DEFAULT_MAX_OCCURS;
- style_ = FragmentConstants.STYLE_DOCUMENT;
- partEncoding_ = FragmentConstants.ENCODING_LITERAL;
- isWSDLPart_ = false;
- wsdlPartName_ = null;
- }
-
- public void setXSDComponent(XSDComponent component) {
- component_ = component;
- }
-
- public XSDComponent getXSDComponent() {
- return component_;
- }
-
- public void setMinOccurs(int minOccurs) {
- minOccurs_ = minOccurs;
- }
-
- public int getMinOccurs() {
- return minOccurs_;
- }
-
- public void setMaxOccurs(int maxOccurs) {
- maxOccurs_ = maxOccurs;
- }
-
- public int getMaxOccurs() {
- return maxOccurs_;
- }
-
- public void setStyle(int style) {
- style_ = style;
- }
-
- public int getStyle() {
- return style_;
- }
-
- public void setPartEncoding(int partEncoding) {
- partEncoding_ = partEncoding;
- }
-
- public int getPartEncoding() {
- return partEncoding_;
- }
-
- public void setIsWSDLPart(boolean isWSDLPart) {
- isWSDLPart_ = isWSDLPart;
- }
-
- public boolean getIsWSDLPart() {
- return isWSDLPart_;
- }
-
- public void setWSDLPartName(String wsdlPartName) {
- wsdlPartName_ = wsdlPartName;
- }
-
- public String getWSDLPartName() {
- return wsdlPartName_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentController.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentController.java
deleted file mode 100644
index ce323c1ec..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentController.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-
-public class XSDToFragmentController {
- private WSDLPartsToXSDTypeMapper wsdlToXSDMapper_;
- private XSDLiteralXMLEncodingToFragmentMapper xsdLiteralMapper_;
- private XSDSOAPEncodingToFragmentMapper xsdSoapMapper_;
- private Hashtable xsdToFragmentCache_;
-
- public XSDToFragmentController() {
- wsdlToXSDMapper_ = null;
- xsdLiteralMapper_ = null;
- xsdSoapMapper_ = null;
- xsdToFragmentCache_ = new Hashtable();
- }
-
- public void setWSDLPartsToXSDTypeMapper(WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- wsdlToXSDMapper_ = wsdlToXSDMapper;
- }
-
- public WSDLPartsToXSDTypeMapper getWSDLPartsToXSDTypeMapper() {
- return wsdlToXSDMapper_;
- }
-
- private XSDLiteralXMLEncodingToFragmentMapper getXSDLiteralMapper() {
- if (xsdLiteralMapper_ == null)
- xsdLiteralMapper_ = new XSDLiteralXMLEncodingToFragmentMapper(this, wsdlToXSDMapper_);
- return xsdLiteralMapper_;
- }
-
- private XSDSOAPEncodingToFragmentMapper getXSDSOAPMapper() {
- if (xsdSoapMapper_ == null)
- xsdSoapMapper_ = new XSDSOAPEncodingToFragmentMapper(this, wsdlToXSDMapper_);
- return xsdSoapMapper_;
- }
-
- public IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name) {
- IXSDFragment frag = getCachedFragment(id);
- if (frag != null)
- return frag;
- frag = getNewFragment(config, id, name);
- if (frag != null)
- addToCache(id, frag);
- return frag;
- }
-
- public IXSDFragment getCachedFragment(String id) {
- return (IXSDFragment)xsdToFragmentCache_.get(id);
- }
-
- public IXSDFragment getNewFragment(XSDToFragmentConfiguration config, String id, String name) {
- switch (config.getPartEncoding())
- {
- case FragmentConstants.ENCODING_SOAP:
- return getXSDSOAPMapper().getFragment(config,id,name);
- case FragmentConstants.ENCODING_LITERAL:
- case FragmentConstants.ENCODING_URL:
- default:
- return getXSDLiteralMapper().getFragment(config,id,name);
- }
- }
-
- public void addToCache(String id, IXSDFragment frag) {
- xsdToFragmentCache_.put(id, frag);
- }
-
- public void removeFromCache(String id) {
- xsdToFragmentCache_.remove(id);
- }
-
- public void emptyCache() {
- xsdToFragmentCache_.clear();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentMapper.java
deleted file mode 100644
index 1cfc58fe3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/XSDToFragmentMapper.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDDefaultFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.XSDEmptyFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.WSDLPartsToXSDTypeMapper;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDNamedComponent;
-import org.eclipse.xsd.XSDSchema;
-
-public abstract class XSDToFragmentMapper {
- private XSDToFragmentController controller_;
- private WSDLPartsToXSDTypeMapper wsdlToXSDMapper_;
-
- public XSDToFragmentMapper(XSDToFragmentController controller, WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- controller_ = controller;
- wsdlToXSDMapper_ = wsdlToXSDMapper;
- }
-
- public void setController(XSDToFragmentController controller) {
- controller_ = controller;
- }
-
- public XSDToFragmentController getController() {
- return controller_;
- }
-
- public void setWSDLPartsToXSDTypeMapper(WSDLPartsToXSDTypeMapper wsdlToXSDMapper) {
- wsdlToXSDMapper_ = wsdlToXSDMapper;
- }
-
- public WSDLPartsToXSDTypeMapper getWSDLPartsToXSDTypeMapper() {
- return wsdlToXSDMapper_;
- }
-
- protected IXSDFragment getXSDDefaultFragment(XSDToFragmentConfiguration config, String id, String name) {
- return new XSDDefaultFragment(id, name, config);
- }
-
- protected IXSDFragment getXSDEmptyFragment(XSDToFragmentConfiguration config, String id, String name) {
- return new XSDEmptyFragment(id, name, config);
- }
-
- public abstract IXSDFragment getFragment(XSDToFragmentConfiguration config, String id, String name);
-
- protected XSDToFragmentConfiguration resolveXSDComponent(XSDToFragmentConfiguration config)
- {
- XSDComponent component = config.getXSDComponent();
- if (!isComponentResolvable(component) && (component instanceof XSDNamedComponent))
- {
- XSDComponent resolvedComponent = getWSDLPartsToXSDTypeMapper().resolveXSDNamedComponent((XSDNamedComponent)component);
- if (resolvedComponent != null)
- config.setXSDComponent(resolvedComponent);
- }
- return config;
- }
-
- protected boolean isComponentResolvable(XSDComponent component)
- {
- if (component == null)
- return false;
- XSDSchema schema = component.getSchema();
- if (schema == null)
- return false;
- if (schema.getTargetNamespace() == null)
- return false;
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/Fragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/Fragment.java
deleted file mode 100644
index 5371e2501..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/Fragment.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IFragment;
-
-public abstract class Fragment implements IFragment {
- private String id_;
- private String name_;
- private Hashtable params_;
-
- public Fragment(String id, String name) {
- id_ = id;
- name_ = name;
- params_ = new Hashtable();
- }
-
- public void setID(String id) {
- id_ = id;
- }
-
- public String getID() {
- return id_;
- }
-
- public void setName(String name) {
- name_ = name;
- }
-
- public String getName() {
- return name_;
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException {
- String[] params = parser.getParameterValues(getID());
- setParameterValues(getID(), params);
- return validateAllParameterValues();
- }
-
- public void setParameterValues(String paramKey, String[] params) {
- if (params == null)
- params_.remove(paramKey);
- else
- params_.put(paramKey, params);
- }
-
- public void setParameterValues(String paramKey, Vector params) {
- if (params == null)
- params_.remove(paramKey);
- else {
- String[] paramsArray = new String[params.size()];
- for (int i = 0; i < paramsArray.length; i++) {
- paramsArray[i] = params.get(i).toString();
- }
- setParameterValues(paramKey, paramsArray);
- }
- }
-
- public String[] getParameterValues(String paramKey) {
- return (String[])params_.get(paramKey);
- }
-
- public String getParameterValue(String paramKey, int paramIndex) {
- String[] params = getParameterValues(paramKey);
- if (params != null && paramIndex < params.length)
- return params[paramIndex];
- else
- return null;
- }
-
- public boolean validateAllParameterValues() {
- Enumeration paramKeys = params_.keys();
- while (paramKeys != null && paramKeys.hasMoreElements()) {
- if (!validateParameterValues((String)paramKeys.nextElement()))
- return false;
- }
- return true;
- }
-
- public boolean validateParameterValues(String paramKey) {
- String[] params = getParameterValues(paramKey);
- for (int i = 0; params != null && i < params.length; i++) {
- if (!validateParameterValue(paramKey, i))
- return false;
- }
- return true;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFixFragment.java
deleted file mode 100644
index c6459dec5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFixFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-
-public class SOAPEncArrayFixFragment extends SOAPEncArrayFragment {
- public SOAPEncArrayFixFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/SOAPEncArrayRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/SOAPEncArrayFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFragment.java
deleted file mode 100644
index d085dff16..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayFragment.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.ISOAPEncArrayFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDParticleContent;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public abstract class SOAPEncArrayFragment extends XSDGroupSeqFragment implements ISOAPEncArrayFragment
-{
- public SOAPEncArrayFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup)
- {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- removeGroupIDs();
- boolean paramsValid = internalEquals(instanceDocumentsCopy, instanceDocuments);
- for (int i = 0; i < instanceDocumentsCopy.length; i++)
- {
- IXSDFragment soapEncArrayTypeFrag = (getGroupMemberFragments(createSOAPEncArrayInstance()))[0];
- Vector instancesVector = new Vector();
- NodeList nl = instanceDocumentsCopy[i].getChildNodes();
- for (int j = 0; j < nl.getLength(); j++)
- {
- Node node = nl.item(j);
- if (node instanceof Element)
- instancesVector.add(node);
- else
- paramsValid = false;
- }
- Element[] childInstanceDocuments = new Element[instancesVector.size()];
- instancesVector.copyInto(childInstanceDocuments);
- if (!soapEncArrayTypeFrag.setParameterValuesFromInstanceDocuments(setElementsTagName(childInstanceDocuments, soapEncArrayTypeFrag.getName())))
- paramsValid = false;
- }
- return paramsValid;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc)
- {
- String[] groupIDs = getGroupIDs();
- Element[] instanceDocument = new Element[groupIDs.length];
- StringBuffer attrName = new StringBuffer();
- StringBuffer attrValue = new StringBuffer();
-// StringBuffer attrArrayTypeName = new StringBuffer();
-// StringBuffer attrArrayTypeValue = new StringBuffer();
- for (int i = 0; i < instanceDocument.length; i++)
- {
- int numInstances = 0;
- instanceDocument[i] = doc.createElement(getInstanceDocumentTagName(namespaceTable));
- IXSDFragment fragment = (getGroupMemberFragments(groupIDs[i]))[0];
- Element[] fragmentInstanceDocuments = fragment.genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- for (int j = 0; j < fragmentInstanceDocuments.length; j++)
- {
- if (fragmentInstanceDocuments[j] != null)
- instanceDocument[i].appendChild(fragmentInstanceDocuments[j]);
- numInstances++;
- }
- String soapURI = FragmentConstants.URI_SOAP;
- String soapPrefix = getPrefixFromNamespaceURI(soapURI, namespaceTable);
- String soapEncArrayTypeURI = getXSDTypeDefinition().getTargetNamespace();
- String soapEncArrayTypePrefix = getPrefixFromNamespaceURI(soapEncArrayTypeURI, namespaceTable);
- // Set the arrayType attribute
- attrName.setLength(0);
- attrName.setLength(0);
- attrName.append(soapPrefix);
- attrName.append(FragmentConstants.COLON);
- attrName.append(FragmentConstants.SOAP_ENC_ARRAY_TYPE);
- attrValue.setLength(0);
- attrValue.append(soapEncArrayTypePrefix);
- attrValue.append(FragmentConstants.COLON);
- attrValue.append(getXSDTypeDefinition().getName());
- attrValue.append(FragmentConstants.LEFT_SQUARE_BRACKET);
- attrValue.append(numInstances);
- attrValue.append(FragmentConstants.RIGHT_SQUARE_BRACKET);
- instanceDocument[i].setAttribute(attrName.toString(), attrValue.toString());
- }
- if (genXSIType)
- {
-// TODO: Used to call the plugin's ignoreSchemaForSOAPArrays()method.
- boolean ignoreSchemaForSOAPArrays = true;
- if (ignoreSchemaForSOAPArrays)
- {
- for (int i = 0; i < instanceDocument.length; i++)
- {
- String xsiURI = FragmentConstants.URI_XSI;
- String xsiPrefix = getPrefixFromNamespaceURI(xsiURI, namespaceTable);
- String xsiTypeURI = FragmentConstants.URI_SOAP;
- String xsiTypePrefix = getPrefixFromNamespaceURI(xsiTypeURI, namespaceTable);
- attrName.setLength(0);
- attrName.append(xsiPrefix).append(FragmentConstants.COLON).append(FragmentConstants.XSI_TYPE);
- attrValue.setLength(0);
- attrValue.append(xsiTypePrefix).append(FragmentConstants.COLON);
- attrValue.append(FragmentConstants.QNAME_LOCAL_NAME_ARRAY);
- instanceDocument[i].setAttribute(attrName.toString(), attrValue.toString());
- }
- }
- else
- return addXSIType(instanceDocument, namespaceTable);
- }
- return instanceDocument;
- }
-
- public String createSOAPEncArrayInstance()
- {
- if (getXSDTypeDefinition() != null)
- {
- String groupID = genID();
- String[] groupMemberID = {genID()};
- int minOccurs = 0;
- int maxOccurs = FragmentConstants.UNBOUNDED;
- XSDElementDeclaration elementDecl = null;
- if (getXSDModelGroup() != null)
- {
- XSDParticle groupOwner = (XSDParticle)getXSDModelGroup().getContainer();
- int groupMin = groupOwner.getMinOccurs();
- int groupMax = groupOwner.getMaxOccurs();
- int elementMin = 0;
- int elementMax = FragmentConstants.UNBOUNDED;
- EList xsdParticles = getXSDModelGroup().getParticles();
- if (xsdParticles.size() > 0)
- {
- XSDParticleContent xsdParticleContent = ((XSDParticle)xsdParticles.get(0)).getContent();
- if (xsdParticleContent instanceof XSDElementDeclaration)
- {
- elementDecl = (XSDElementDeclaration)xsdParticleContent;
- XSDParticle elementOwner = (XSDParticle)elementDecl.getContainer();
- elementMin = elementOwner.getMinOccurs();
- elementMax = elementOwner.getMaxOccurs();
- }
- }
- if (groupMin >= 0 && elementMin >= 0)
- minOccurs = groupMin * elementMin;
- if (groupMax >= 0 && groupMax != FragmentConstants.UNBOUNDED && elementMax >= 0 && elementMax != FragmentConstants.UNBOUNDED)
- maxOccurs = groupMax * elementMax;
- }
- XSDToFragmentConfiguration thisConfig = getXSDToFragmentConfiguration();
- XSDToFragmentConfiguration xsdConfig = new XSDToFragmentConfiguration();
- xsdConfig.setXSDComponent(getXSDTypeDefinition());
- xsdConfig.setMinOccurs(minOccurs);
- xsdConfig.setMaxOccurs(maxOccurs);
- xsdConfig.setStyle(thisConfig.getStyle());
- xsdConfig.setPartEncoding(thisConfig.getPartEncoding());
- xsdConfig.setWSDLPartName(thisConfig.getWSDLPartName());
- String name = (elementDecl != null) ? elementDecl.getName() : getXSDTypeDefinition().getName();
- IXSDFragment frag = getXSDToFragmentController().getFragment(xsdConfig, groupMemberID[0], name);
- addFragment(groupMemberID[0], frag);
- setGroupMemberIDs(groupID, groupMemberID);
- return groupID;
- }
- else
- return null;
- }
-
- public String createGroupSeqInstance()
- {
- return createSOAPEncArrayInstance();
- }
-
- public String createInstance()
- {
- return createSOAPEncArrayInstance();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayRangeFragment.java
deleted file mode 100644
index f177ee62b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncArrayRangeFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-
-public class SOAPEncArrayRangeFragment extends SOAPEncArrayFragment {
- public SOAPEncArrayRangeFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/SOAPEncArrayRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/SOAPEncArrayRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncodingWrapperFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncodingWrapperFragment.java
deleted file mode 100644
index fb8abf22d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/SOAPEncodingWrapperFragment.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.ISOAPEncodingWrapperFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class SOAPEncodingWrapperFragment extends XSDDelegationFragment implements ISOAPEncodingWrapperFragment
-{
- private static final String ID = "id";
- private static final String HREF = "href";
- private static final String POUND = "#";
-
- private Hashtable uriReferenceTable_;
-
- public SOAPEncodingWrapperFragment(String id, String name, XSDToFragmentConfiguration config)
- {
- super(id, name, null);
- uriReferenceTable_ = null;
- }
-
- public void setXSDToFragmentConfiguration(XSDToFragmentConfiguration config)
- {
- getXSDDelegationFragment().setXSDToFragmentConfiguration(config);
- }
-
- public XSDToFragmentConfiguration getXSDToFragmentConfiguration()
- {
- return getXSDDelegationFragment().getXSDToFragmentConfiguration();
- }
-
- public void setXSDTypeDefinition(XSDTypeDefinition typeDef)
- {
- getXSDDelegationFragment().setXSDTypeDefinition(typeDef);
- }
-
- public XSDTypeDefinition getXSDTypeDefinition()
- {
- return getXSDDelegationFragment().getXSDTypeDefinition();
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- for (int i = 0; i < instanceDocuments.length; i++)
- instanceDocuments[i] = resolveURIReferences(uriReferenceTable_, instanceDocuments[i]);
- return getXSDDelegationFragment().setParameterValuesFromInstanceDocuments(instanceDocuments);
- }
-
- public void setURIReferences(Hashtable uriReferences)
- {
- uriReferenceTable_ = uriReferences;
- }
-
- public static Hashtable parseURIReferences(Element element, boolean overwrites)
- {
- Hashtable uriReferences = new Hashtable();
- parseURIReferences(uriReferences, element, overwrites);
- return uriReferences;
- }
-
- private static boolean parseURIReferences(Hashtable uriReferences, Element element, boolean overwrites)
- {
- boolean resolved = true;
- if (element != null)
- {
- URIReference ref = null;
- String id = element.getAttribute(ID);
- resolved = !element.hasAttribute(HREF);
- if (id != null && id.length() > 0 && (overwrites || !uriReferences.contains(id)))
- {
- ref = new URIReference(element, true);
- uriReferences.put(id, ref);
- }
- NodeList nl = element.getChildNodes();
- for (int i = 0; i < nl.getLength(); i++)
- {
- Node node = nl.item(i);
- if (node instanceof Element)
- resolved = parseURIReferences(uriReferences, (Element)node, overwrites) && resolved;
- }
- if (ref != null)
- ref.setResolved(resolved);
- }
- return resolved;
- }
-
- public static Element resolveURIReferences(Hashtable uriReferences, Element element)
- {
- if (uriReferences != null && !uriReferences.isEmpty())
- return resolveURIReferences(uriReferences, element.getOwnerDocument(), element, new Vector());
- else
- return element;
- }
-
- private static Element resolveURIReferences(Hashtable uriReferences, Document doc, Element element, Vector usedIds)
- {
- String href = element.getAttribute(HREF);
- Element resolvedElement = element;
- boolean resolved = false;
- if (href != null && href.length() > 0)
- {
- URIReference ref = null;
- if (href.indexOf(POUND) != -1)
- href = href.substring(1, href.length());
- if (!usedIds.contains(href))
- {
- ref = (URIReference)uriReferences.get(href);
- if (ref != null)
- {
- usedIds.add(href);
- Element elementRef = ref.getRefElement();
- resolved = ref.getResolved();
- resolvedElement = doc.createElement(element.getTagName());
- NodeList nl = elementRef.getChildNodes();
- for (int i = 0; i < nl.getLength(); i++)
- {
- Node node = nl.item(i);
- if (node != null)
- resolvedElement.appendChild(doc.importNode(node, true));
- }
- }
- }
- }
- if (!resolved)
- {
- NodeList nl = resolvedElement.getChildNodes();
- for (int i = 0; i < nl.getLength(); i++)
- {
- Node node = nl.item(i);
- if (node instanceof Element)
- {
- Element child = resolveURIReferences(uriReferences, resolvedElement.getOwnerDocument(), (Element)node, usedIds);
- if (child != node)
- resolvedElement.replaceChild(child, node);
- }
- }
- }
- if (href != null)
- usedIds.remove(href);
- return resolvedElement;
- }
-
- private static class URIReference
- {
- private Element ref_;
- private boolean resolved_;
-
- public URIReference(Element ref, boolean resolved)
- {
- ref_ = ref;
- resolved_ = resolved;
- }
-
- public Element getRefElement()
- {
- return ref_;
- }
-
- public void setRefElement(Element ref)
- {
- ref_ = ref;
- }
-
- public boolean getResolved()
- {
- return resolved_;
- }
-
- public void setResolved(boolean resolved)
- {
- resolved_ = resolved;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDAttributeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDAttributeFragment.java
deleted file mode 100644
index 0e539a202..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDAttributeFragment.java
+++ /dev/null
@@ -1,183 +0,0 @@
-/**
- * <copyright>
- *
- * Licensed Material - Property of IBM (C) Copyright IBM Corp. 2002 - All Rights
- * Reserved. US Government Users Restricted Rights - Use, duplication or
- * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- *
- * </copyright>
- *
- * File
- * plugins/com.ibm.etools.webservice.explorer/wsexplorer/src/com/ibm/etools/webservice/explorer/wsdl/fragment/Impl/XSDElementFragment.java,
- * wsa.etools.ws.explorer, lunar-5.1.2, 20031231a 5 Version 1.5 03/09/24
- * 14:30:38
- */
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDAttributeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.xsd.XSDAttributeDeclaration;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDForm;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class XSDAttributeFragment extends XSDDelegationFragment implements IXSDAttributeFragment
-{
-
-
- public XSDAttributeFragment(String id, String name, XSDToFragmentConfiguration config)
- {
- super(id, name, config);
-
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- IXSDFragment attributeTypeFragment = getXSDDelegationFragment();
-
- if (!attributeTypeFragment.processParameterValues(parser))
- return false;
- return true;
- }
-
- public boolean validateAllParameterValues()
- {
- IXSDFragment attributeTypeFragment = getXSDDelegationFragment();
- if (!attributeTypeFragment.validateAllParameterValues())
- return false;
- return true;
- }
-
- public boolean validateParameterValues(String paramKey)
- {
- String[] params = getParameterValues(paramKey);
- if (params != null)
- return false;
- if (!getXSDDelegationFragment().validateParameterValues(paramKey))
- return false;
- return true;
- }
-
- public boolean validateParameterValue(String paramKey, int paramIndex)
- {
- if (!getXSDDelegationFragment().validateParameterValue(paramKey, paramIndex))
- return false;
- return true;
- }
-
- public void setXSDToFragmentConfiguration(XSDToFragmentConfiguration config)
- {
- super.setXSDToFragmentConfiguration(config);
-
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- Element[] instanceDocumentsCopy = instanceDocuments;
- XSDToFragmentConfiguration config = getXSDToFragmentConfiguration();
- String wsdlPartName = config.getWSDLPartName();
- NodeList nl = instanceDocumentsCopy[0].getChildNodes();
-
-
-
- if (config.getIsWSDLPart() && config.getStyle() == FragmentConstants.STYLE_RPC && wsdlPartName != null && wsdlPartName.length() > 0 && instanceDocumentsCopy.length == 1 && wsdlPartName.equals(instanceDocumentsCopy[0].getTagName()))
- {
- Vector childElements = new Vector();
- for (int i = 0; i < nl.getLength(); i++)
- {
- Node node = nl.item(i);
- if (node.getNodeType() == Node.ELEMENT_NODE){
- childElements.add(node);
- }
- }
- instanceDocumentsCopy = (Element[])childElements.toArray(new Element[0]);
- }
- IXSDFragment attributeTypeFragment = getXSDDelegationFragment();
- instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocumentsCopy, getName());
- return attributeTypeFragment.setParameterValuesFromInstanceDocuments(setElementsTagName(instanceDocumentsCopy, attributeTypeFragment.getName()));
- }
-
- protected boolean isInstanceNamespaceQualified()
- {
- XSDToFragmentConfiguration config = getXSDToFragmentConfiguration();
- if (config.getPartEncoding() == FragmentConstants.ENCODING_LITERAL)
- {
- XSDAttributeUse xsdAttributeUse = (XSDAttributeUse)config.getXSDComponent();
- XSDAttributeDeclaration xsdAttribute = (XSDAttributeDeclaration)xsdAttributeUse.getAttributeDeclaration();
- if (xsdAttribute.isGlobal())
- return true;
- else
- {
- if (xsdAttribute.isSetForm())
- return (xsdAttribute.getForm().getValue() == XSDForm.QUALIFIED);
- else
- return (xsdAttribute.getSchema().getAttributeFormDefault().getValue() == XSDForm.QUALIFIED);
- }
- }
- else
- return false;
- }
-
- protected String getInstanceDocumentTagName(Hashtable namespaceTable)
- {
- XSDToFragmentConfiguration config = getXSDToFragmentConfiguration();
- XSDAttributeUse xsdAttributeUse = (XSDAttributeUse)config.getXSDComponent();
- XSDAttributeDeclaration xsdAttribute = xsdAttributeUse.getAttributeDeclaration();
-
- StringBuffer tagName = new StringBuffer();
- if (isInstanceNamespaceQualified())
- {
- String nsURI = null;
- // port to org.eclipse.xsd
- if (xsdAttribute.getResolvedAttributeDeclaration() != null)
- nsURI = xsdAttribute.getResolvedAttributeDeclaration().getTargetNamespace();
- else
- nsURI = xsdAttribute.getTargetNamespace();
- if (nsURI != null && nsURI.length() > 0)
- {
- String prefix = getPrefixFromNamespaceURI(nsURI, namespaceTable);
- tagName.append(prefix);
- tagName.append(FragmentConstants.COLON);
- }
- }
- String xsdAttributeName = xsdAttribute.getName();
- if (xsdAttributeName == null || xsdAttributeName.length() <= 0)
- {
- // port to org.eclipse.xsd
- if (xsdAttribute.getResolvedAttributeDeclaration() != null)
- xsdAttributeName = xsdAttribute.getResolvedAttributeDeclaration().getName();
- else
- xsdAttributeName = getName();
- }
- tagName.append(xsdAttributeName);
- return tagName.toString();
- }
-
-
-
-
- public String getInformationFragment()
- {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment()
- {
- return "/wsdl/fragment/XSDDelegateFragmentJSP.jsp";
- }
-
- public String getWriteFragment()
- {
- return "/wsdl/fragment/XSDDelegateFragmentJSP.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFixFragment.java
deleted file mode 100644
index 9b3fd0941..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFixFragment.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-
-public class XSDComplexFixFragment extends XSDComplexFragment {
- public XSDComplexFixFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDComplexRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDComplexFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFragment.java
deleted file mode 100644
index a857c4af3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexFragment.java
+++ /dev/null
@@ -1,322 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDAttributeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDComplexFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.XSDTypeDefinitionUtil;
-import org.eclipse.xsd.XSDAttributeGroupDefinition;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDComplexFinal;
-import org.eclipse.xsd.XSDComplexTypeContent;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDModelGroupDefinition;
-import org.eclipse.xsd.XSDNamedComponent;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDParticleContent;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public abstract class XSDComplexFragment extends XSDMapFragment implements IXSDComplexFragment
-{
- public XSDComplexFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller)
- {
- super(id, name, config, controller);
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- boolean paramsValid = internalEquals(instanceDocumentsCopy, instanceDocuments);
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- if (complexTypeContent instanceof XSDTypeDefinition)
- setParamsForXSDTypeDef(instanceDocumentsCopy);
- else
- setParamsForXSDParticle(instanceDocumentsCopy);
- return setParamsForAttributes(instanceDocumentsCopy) && paramsValid;
- }
-
- private boolean setParamsForAttributes(Element[] instanceDocuments){
- boolean paramsValid = true;
-
- IXSDAttributeFragment[] attributeFragments = getAllAttributeFragments();
- for (int i = 0; i < instanceDocuments.length; i++){
-
- NamedNodeMap nodeMap = instanceDocuments[i].getAttributes();
- for (int k = 0; k < attributeFragments.length; k++){
-
- String name = ((XSDAttributeUse)attributeFragments[k].getXSDToFragmentConfiguration().getXSDComponent()).getAttributeDeclaration().getName();
- paramsValid = attributeFragments[k].getXSDDelegationFragment().setAttributeParamsFromInstanceDocuments(nodeMap.getNamedItem(name));
- }
- }
- return paramsValid;
- }
-
- private boolean setParamsForXSDTypeDef(Element[] instanceDocuments)
- {
- boolean paramsValid = true;
- removeAllFragments();
- removeAllAttributeFragments();
- for (int i = 0; i < instanceDocuments.length; i++) {
- IXSDFragment childFrag = getFragment(createInstance());
- Element[] childInstanceDocuments = new Element[1];
- childInstanceDocuments[0] = instanceDocuments[i];
- if (!childFrag.setParameterValuesFromInstanceDocuments(setElementsTagName(childInstanceDocuments, childFrag.getName())))
- paramsValid = false;
- }
- return paramsValid;
- }
-
- private boolean setParamsForXSDParticle(Element[] instanceDocuments)
- {
- boolean paramsValid = true;
- removeAllFragments();
- removeAllAttributeFragments();
- for (int i = 0; i < instanceDocuments.length; i++) {
- IXSDFragment childFrag = getFragment(createInstance());
- Vector instancesVector = new Vector();
- NodeList nl = instanceDocuments[i].getChildNodes();
- for (int j = 0; j < nl.getLength(); j++)
- {
- Node node = nl.item(j);
- if (node instanceof Element)
- instancesVector.add(node);
- else
- paramsValid = false;
- }
- Element[] childInstanceDocuments = new Element[instancesVector.size()];
- instancesVector.copyInto(childInstanceDocuments);
- if (!childFrag.setParameterValuesFromInstanceDocuments(childInstanceDocuments))
- paramsValid = false;
- }
- return paramsValid;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc)
- {
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- Element[] instanceDocuments;
- String tagName = getInstanceDocumentTagName(namespaceTable);
- if (complexTypeContent instanceof XSDTypeDefinition)
- instanceDocuments = genInstancesForXSDTypeDef(genXSIType, namespaceTable, tagName, doc);
- else
- instanceDocuments = genInstancesForXSDParticle(genXSIType, namespaceTable, tagName, doc);
- if(genXSIType) addXSIType(instanceDocuments, namespaceTable);
- instanceDocuments = addAttributes(instanceDocuments);
- return instanceDocuments;
- }
-
- private Element[] addAttributes(Element[] instanceDocuments){
-
- for (int i = 0;i< instanceDocuments.length;i++){
- IXSDAttributeFragment[] attributeFragments = getAllAttributeFragments();
- for (int k = 0; k < attributeFragments.length; k++){
- String name = ((XSDAttributeUse)attributeFragments[k].getXSDToFragmentConfiguration().getXSDComponent()).getAttributeDeclaration().getName();
- attributeFragments[k].getXSDDelegationFragment().setAttributesOnInstanceDocuments(instanceDocuments[i],name);
- }
- }
- return instanceDocuments;
- }
-
- private Element[] genInstancesForXSDTypeDef(boolean genXSIType, Hashtable namespaceTable, String tagName, Document doc)
- {
- IXSDFragment[] fragments = getAllFragments();
- Vector instanceDocumentsCopy = new Vector();
- for (int i = 0; i < fragments.length; i++)
- {
- Element[] fragmentInstances = fragments[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- if (fragmentInstances.length > 0)
- instanceDocumentsCopy.add(fragmentInstances[0]);
- }
- Element[] instanceDocuments = new Element[instanceDocumentsCopy.size()];
- for (int i = 0; i < instanceDocuments.length; i++)
- {
- instanceDocuments[i] = (Element)instanceDocumentsCopy.get(i);
- }
- return setElementsTagName(instanceDocuments, tagName);
- }
-
- private Element[] genInstancesForXSDParticle(boolean genXSIType, Hashtable namespaceTable, String tagName, Document doc)
- {
- IXSDFragment[] childFrags = getAllFragments();
- Element[] instanceDocuments = new Element[childFrags.length];
- for (int i = 0; i < instanceDocuments.length; i++)
- {
- Element[] childInstances = childFrags[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- Element instanceDocument = doc.createElement(tagName);
- for (int j = 0; j < childInstances.length; j++)
- {
- if (childInstances[j] != null)
- instanceDocument.appendChild(childInstances[j]);
- }
- instanceDocuments[i] = instanceDocument;
- }
- return instanceDocuments;
- }
-
- private XSDModelGroup getXSDModelGroup(XSDParticle xsdParticle)
- {
- if (xsdParticle != null)
- {
- XSDParticleContent xsdParticleContent = xsdParticle.getContent();
- if (xsdParticleContent != null)
- {
- if (xsdParticleContent instanceof XSDModelGroupDefinition)
- {
- XSDModelGroupDefinition xsdModelGroupDef = (XSDModelGroupDefinition)xsdParticleContent;
- if (xsdModelGroupDef.isModelGroupDefinitionReference())
- xsdModelGroupDef = xsdModelGroupDef.getResolvedModelGroupDefinition();
- return xsdModelGroupDef.getModelGroup();
- }
- else if (xsdParticleContent instanceof XSDModelGroup)
- return (XSDModelGroup)xsdParticleContent;
- }
- }
- return null;
- }
-
- private List getInheritedParticles(XSDComplexTypeDefinition complexType)
- {
- Vector v = new Vector();
- if (complexType.getDerivationMethod().getValue() == XSDComplexFinal.EXTENSION)
- {
- XSDTypeDefinition extType = complexType.getBaseType();
- if (extType != null && !(extType instanceof XSDComplexTypeDefinition))
- {
- String namespace = extType.getTargetNamespace();
- String localname = extType.getName();
- if (namespace != null && localname != null)
- {
- XSDNamedComponent xsdNamedComp = getXSDToFragmentController().getWSDLPartsToXSDTypeMapper().getXSDTypeFromSchema(namespace, localname, false);
- if (xsdNamedComp instanceof XSDComplexTypeDefinition)
- {
- extType = (XSDComplexTypeDefinition)xsdNamedComp;
- }
- }
- }
- if (extType != null && extType != complexType && extType instanceof XSDComplexTypeDefinition)
- {
- XSDComplexTypeContent extTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent((XSDComplexTypeDefinition)extType);
- if (extTypeContent instanceof XSDParticle)
- {
- XSDModelGroup xsdModelGroup = getXSDModelGroup((XSDParticle)extTypeContent);
- if (xsdModelGroup != null)
- {
- v.addAll(getInheritedParticles((XSDComplexTypeDefinition)extType));
- v.addAll(xsdModelGroup.getParticles());
- }
- }
- }
- }
- return v;
- }
-
- private void gatherInheritedParticles(XSDComplexTypeDefinition complexType)
- {
- if (complexType.getDerivationMethod().getValue() == XSDComplexFinal.EXTENSION)
- {
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- if (complexTypeContent instanceof XSDParticle)
- {
- XSDModelGroup xsdModelGroup = getXSDModelGroup((XSDParticle)complexTypeContent);
- if (xsdModelGroup != null)
- {
- List inheritedParticles = getInheritedParticles(complexType);
- List particles = xsdModelGroup.getParticles();
- particles.addAll(0, inheritedParticles);
- }
- }
- }
- }
-
-
-
- public IXSDAttributeFragment[] getAllAttributeFragments()
- {
- return super.getAllAttributeFragments();
-
- }
-
- public void createAttributeFragments(String complexChildID)
- {
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- EList atContentList = complexType.getAttributeContents();
- Iterator iterator = atContentList.iterator();
- while(iterator.hasNext()){
- Object object = (Object)iterator.next();
- if(object instanceof XSDAttributeGroupDefinition){
- XSDAttributeGroupDefinition xsdAGD = (XSDAttributeGroupDefinition)object;
- XSDAttributeGroupDefinition resolved = xsdAGD.getResolvedAttributeGroupDefinition();
- EList aList = resolved.getContents();
- Iterator iterator2 = aList.iterator();
- while(iterator2.hasNext()){
- createAttributeHelper((XSDAttributeUse)iterator2.next(),complexChildID);
- }
- }
- else{
- XSDAttributeUse attUse = (XSDAttributeUse)object;
- createAttributeHelper(attUse,complexChildID);
- }
-
- }
- }
-
- private void createAttributeHelper(XSDAttributeUse attUse,String complexChildID){
- XSDToFragmentConfiguration thisConfig = getXSDToFragmentConfiguration();
- XSDToFragmentConfiguration xsdConfig = new XSDToFragmentConfiguration();
- xsdConfig.setXSDComponent(attUse);
- xsdConfig.setStyle(thisConfig.getStyle());
- xsdConfig.setPartEncoding(thisConfig.getPartEncoding());
- xsdConfig.setWSDLPartName(thisConfig.getWSDLPartName());
- String newID = genID();
- addAttributeFragment(complexChildID + newID, getXSDToFragmentController().getFragment(xsdConfig,complexChildID + newID, complexChildID + newID));
-
- }
-
-
- public String createComplexInstance()
- {
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- gatherInheritedParticles(complexType);
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- XSDToFragmentConfiguration thisConfig = getXSDToFragmentConfiguration();
- XSDToFragmentConfiguration xsdConfig = new XSDToFragmentConfiguration();
- xsdConfig.setXSDComponent(complexTypeContent);
- xsdConfig.setStyle(thisConfig.getStyle());
- xsdConfig.setPartEncoding(thisConfig.getPartEncoding());
- xsdConfig.setWSDLPartName(thisConfig.getWSDLPartName());
- String newID = genID();
- addFragment(newID, getXSDToFragmentController().getFragment(xsdConfig, newID, newID));
- createAttributeFragments(newID);
- return newID;
- }
-
- public String createInstance()
- {
- return createComplexInstance();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexRangeFragment.java
deleted file mode 100644
index c3453ce18..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexRangeFragment.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-
-public class XSDComplexRangeFragment extends XSDComplexFragment {
- public XSDComplexRangeFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDComplexRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDComplexRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentFixFragment.java
deleted file mode 100644
index bc5a33297..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentFixFragment.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/src/com/ibm/etools/webservice/explorer/wsdl/fragment/Impl/XSDComplexFixFragment.java, wsa.etools.ws.explorer, lunar-5.1.2 1
-* Version 1.1 03/02/28 15:25:15
-*/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDAttributeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.XSDTypeDefinitionUtil;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDComplexTypeContent;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class XSDComplexSimpleContentFixFragment extends XSDComplexFragment {
- public XSDComplexSimpleContentFixFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
-
-
-
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- boolean paramsValid = internalEquals(instanceDocumentsCopy, instanceDocuments);
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- if (complexTypeContent instanceof XSDTypeDefinition)
- return setParamsForXSDTypeDef(instanceDocumentsCopy) && paramsValid;
- else
- return setParamsForXSDParticle(instanceDocumentsCopy) && paramsValid;
- }
-
- private boolean setParamsForAttributes(Element instanceDocument,IXSDFragment frag){
- boolean paramsValid = true;
-
- IXSDAttributeFragment[] attributeFragments = getAllAttributeFragments();
- for (int i = 0; i < attributeFragments.length; i++){
- if(attributeFragments[i].getID().startsWith(frag.getID())){
- NamedNodeMap nodeMap = instanceDocument.getAttributes();
- String name = ((XSDAttributeUse)attributeFragments[i].getXSDToFragmentConfiguration().getXSDComponent()).getAttributeDeclaration().getName();
- paramsValid = attributeFragments[i].getXSDDelegationFragment().setAttributeParamsFromInstanceDocuments(nodeMap.getNamedItem(name));
- }
- }
- return paramsValid;
- }
-
- private boolean setParamsForXSDTypeDef(Element[] instanceDocuments)
- {
- boolean paramsValid = true;
- removeAllFragments();
- removeAllAttributeFragments();
- for (int i = 0; i < instanceDocuments.length; i++) {
- IXSDFragment childFrag = getFragment(createInstance());
- Element[] childInstanceDocuments = new Element[1];
- childInstanceDocuments[0] = instanceDocuments[i];
- if (!childFrag.setParameterValuesFromInstanceDocuments(setElementsTagName(childInstanceDocuments, childFrag.getName())))
- paramsValid = false;
- setParamsForAttributes(childInstanceDocuments[0],childFrag);
- }
- return paramsValid;
- }
-
- private boolean setParamsForXSDParticle(Element[] instanceDocuments) {
- boolean paramsValid = true;
- removeAllFragments();
- removeAllAttributeFragments();
- for (int i = 0; i < instanceDocuments.length; i++) {
- IXSDFragment childFrag = getFragment(createInstance());
- Vector instancesVector = new Vector();
-
- NodeList nl = instanceDocuments[i].getChildNodes();
- for (int j = 0; j < nl.getLength(); j++) {
- Node node = nl.item(j);
- if (node instanceof Element)
- instancesVector.add(node);
- else
- paramsValid = false;
- }
- Element[] childInstanceDocuments = new Element[instancesVector.size()];
- instancesVector.copyInto(childInstanceDocuments);
- if (!childFrag.setParameterValuesFromInstanceDocuments(childInstanceDocuments))
- paramsValid = false;
- setParamsForAttributes(childInstanceDocuments[i],childFrag);
-
- }
- return paramsValid;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable,Document doc) {
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- Element[] instanceDocuments;
- String tagName = getInstanceDocumentTagName(namespaceTable);
- if (complexTypeContent instanceof XSDTypeDefinition)
- instanceDocuments = genInstancesForXSDTypeDef(genXSIType, namespaceTable, tagName,doc);
- else
- instanceDocuments = genInstancesForXSDParticle(genXSIType, namespaceTable, tagName,doc);
- if(genXSIType) addXSIType(instanceDocuments, namespaceTable);
- return instanceDocuments;
- }
-
- private Element addAttributes(Element instanceDocument, IXSDFragment fragment, Hashtable namespaceTable ){
-
- IXSDAttributeFragment[] attributeFragments = getAllAttributeFragments();
- for (int k = 0; k < attributeFragments.length; k++){
- if(attributeFragments[k].getID().startsWith(fragment.getID())){
- String name = ((XSDAttributeUse)attributeFragments[k].getXSDToFragmentConfiguration().getXSDComponent()).getAttributeDeclaration().getName();
- attributeFragments[k].getXSDDelegationFragment().setAttributesOnInstanceDocuments(instanceDocument,name);
- }
- }
-
- return instanceDocument;
- }
-
- private Element[] genInstancesForXSDTypeDef(boolean genXSIType, Hashtable namespaceTable, String tagName,Document doc)
- {
- IXSDFragment[] fragments = getAllFragments();
- Vector instanceDocumentsCopy = new Vector();
- for (int i = 0; i < fragments.length; i++) {
- Element[] fragmentInstances = fragments[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable,doc);
- if (fragmentInstances.length > 0){
- fragmentInstances[0] = addAttributes(fragmentInstances[0],fragments[i],namespaceTable);
- instanceDocumentsCopy.add(fragmentInstances[0]);
- }
- }
- Element[] instanceDocuments = new Element[instanceDocumentsCopy.size()];
- for (int i = 0; i < instanceDocuments.length; i++) {
- instanceDocuments[i] = (Element)instanceDocumentsCopy.get(i);
- }
- return setElementsTagName(instanceDocuments, tagName);
- }
-
- private Element[] genInstancesForXSDParticle(boolean genXSIType, Hashtable namespaceTable, String tagName,Document doc) {
- IXSDFragment[] childFrags = getAllFragments();
- Element[] instanceDocuments = new Element[childFrags.length];
- for (int i = 0; i < instanceDocuments.length; i++) {
- Element[] childInstances = childFrags[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable,doc);
-
- Element instanceDocument = doc.createElement(tagName);
- for (int j = 0; j < childInstances.length; j++) {
- if (childInstances[j] != null){
- addAttributes(childInstances[j],childFrags[i],namespaceTable);
- instanceDocument.appendChild(doc.importNode(childInstances[j], true));
- }
- }
- instanceDocuments[i] = instanceDocument;
- }
- return instanceDocuments;
- }
-
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDComplexSimpleContentRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDComplexSimpleContentFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentRangeFragment.java
deleted file mode 100644
index 109bb8951..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDComplexSimpleContentRangeFragment.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/src/com/ibm/etools/webservice/explorer/wsdl/fragment/Impl/XSDComplexRangeFragment.java, wsa.etools.ws.explorer, lunar-5.1.2 1
-* Version 1.1 03/02/28 15:25:18
-*/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDAttributeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.XSDTypeDefinitionUtil;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDComplexTypeContent;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class XSDComplexSimpleContentRangeFragment extends XSDComplexSimpleContentFixFragment {
- public XSDComplexSimpleContentRangeFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- boolean paramsValid = internalEquals(instanceDocumentsCopy, instanceDocuments);
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- if (complexTypeContent instanceof XSDTypeDefinition)
- return setParamsForXSDTypeDef(instanceDocumentsCopy) && paramsValid;
- else
- return setParamsForXSDParticle(instanceDocumentsCopy) && paramsValid;
- }
-
- private boolean setParamsForAttributes(Element instanceDocument,IXSDFragment frag){
- boolean paramsValid = true;
-
- IXSDAttributeFragment[] attributeFragments = getAllAttributeFragments();
- for (int i = 0; i < attributeFragments.length; i++){
- if(attributeFragments[i].getID().startsWith(frag.getID())){
- NamedNodeMap nodeMap = instanceDocument.getAttributes();
- String name = ((XSDAttributeUse)attributeFragments[i].getXSDToFragmentConfiguration().getXSDComponent()).getAttributeDeclaration().getName();
- paramsValid = attributeFragments[i].getXSDDelegationFragment().setAttributeParamsFromInstanceDocuments(nodeMap.getNamedItem(name));
- }
- }
- return paramsValid;
- }
-
- private boolean setParamsForXSDTypeDef(Element[] instanceDocuments)
- {
- boolean paramsValid = true;
- removeAllFragments();
- removeAllAttributeFragments();
- for (int i = 0; i < instanceDocuments.length; i++) {
- IXSDFragment childFrag = getFragment(createInstance());
- Element[] childInstanceDocuments = new Element[1];
- childInstanceDocuments[0] = instanceDocuments[i];
- if (!childFrag.setParameterValuesFromInstanceDocuments(setElementsTagName(childInstanceDocuments, childFrag.getName())))
- paramsValid = false;
- setParamsForAttributes(childInstanceDocuments[0],childFrag);
- }
- return paramsValid;
- }
-
- private boolean setParamsForXSDParticle(Element[] instanceDocuments) {
- boolean paramsValid = true;
- removeAllFragments();
- removeAllAttributeFragments();
- for (int i = 0; i < instanceDocuments.length; i++) {
- IXSDFragment childFrag = getFragment(createInstance());
- Vector instancesVector = new Vector();
-
- NodeList nl = instanceDocuments[i].getChildNodes();
- for (int j = 0; j < nl.getLength(); j++) {
- Node node = nl.item(j);
- if (node instanceof Element)
- instancesVector.add(node);
- else
- paramsValid = false;
- }
- Element[] childInstanceDocuments = new Element[instancesVector.size()];
- instancesVector.copyInto(childInstanceDocuments);
- if (!childFrag.setParameterValuesFromInstanceDocuments(childInstanceDocuments))
- paramsValid = false;
- setParamsForAttributes(childInstanceDocuments[i],childFrag);
-
- }
- return paramsValid;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable,Document doc) {
- XSDComplexTypeDefinition complexType = (XSDComplexTypeDefinition)getXSDTypeDefinition();
- XSDComplexTypeContent complexTypeContent = XSDTypeDefinitionUtil.getXSDComplexTypeContent(complexType);
- Element[] instanceDocuments;
- String tagName = getInstanceDocumentTagName(namespaceTable);
- if (complexTypeContent instanceof XSDTypeDefinition)
- instanceDocuments = genInstancesForXSDTypeDef(genXSIType, namespaceTable, tagName, doc);
- else
- instanceDocuments = genInstancesForXSDParticle(genXSIType, namespaceTable, tagName, doc);
- if(genXSIType) addXSIType(instanceDocuments, namespaceTable);
- return instanceDocuments;
- }
-
- private Element addAttributes(Element instanceDocument, IXSDFragment fragment, Hashtable namespaceTable ){
-
- IXSDAttributeFragment[] attributeFragments = getAllAttributeFragments();
- for (int k = 0; k < attributeFragments.length; k++){
- if(attributeFragments[k].getID().startsWith(fragment.getID())){
- String name = ((XSDAttributeUse)attributeFragments[k].getXSDToFragmentConfiguration().getXSDComponent()).getAttributeDeclaration().getName();
- attributeFragments[k].getXSDDelegationFragment().setAttributesOnInstanceDocuments(instanceDocument,name);
- }
- }
-
- return instanceDocument;
- }
-
- private Element[] genInstancesForXSDTypeDef(boolean genXSIType, Hashtable namespaceTable, String tagName,Document doc)
- {
- IXSDFragment[] fragments = getAllFragments();
- Vector instanceDocumentsCopy = new Vector();
- for (int i = 0; i < fragments.length; i++) {
- Element[] fragmentInstances = fragments[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable,doc);
- if (fragmentInstances.length > 0){
- fragmentInstances[0] = addAttributes(fragmentInstances[0],fragments[i],namespaceTable);
- instanceDocumentsCopy.add(fragmentInstances[0]);
- }
- }
- Element[] instanceDocuments = new Element[instanceDocumentsCopy.size()];
- for (int i = 0; i < instanceDocuments.length; i++) {
- instanceDocuments[i] = (Element)instanceDocumentsCopy.get(i);
- }
- return setElementsTagName(instanceDocuments, tagName);
- }
-
- private Element[] genInstancesForXSDParticle(boolean genXSIType, Hashtable namespaceTable, String tagName,Document doc) {
- IXSDFragment[] childFrags = getAllFragments();
- Element[] instanceDocuments = new Element[childFrags.length];
-
- for (int i = 0; i < instanceDocuments.length; i++) {
- Element[] childInstances = childFrags[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
-
- Element instanceDocument = doc.createElement(tagName);
- for (int j = 0; j < childInstances.length; j++) {
- if (childInstances[j] != null){
- addAttributes(childInstances[j],childFrags[i],namespaceTable);
- instanceDocument.appendChild(doc.importNode(childInstances[j], true));
- }
- }
- instanceDocuments[i] = instanceDocument;
- }
- return instanceDocuments;
- }
-
-
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDComplexSimpleContentRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDComplexSimpleContentRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDefaultFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDefaultFragment.java
deleted file mode 100644
index bdce00449..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDefaultFragment.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class XSDDefaultFragment extends XSDFragment {
- public XSDDefaultFragment(String id, String name, XSDToFragmentConfiguration config) {
- super(id, name, config);
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException {
- String[] param = new String[1];
- param[0] = parser.getParameter(getID());
- setParameterValues(getID(), param);
- return isElement(addRootElement(param[0]));
- }
-
- private String addRootElement(String element) {
- StringBuffer sb = new StringBuffer();
- sb.append(FragmentConstants.ROOT_ELEMENT_START_TAG);
- sb.append(element);
- sb.append(FragmentConstants.ROOT_ELEMENT_END_TAG);
- return sb.toString();
- }
-
- private boolean isElement(String elementString) {
- try {
- return (XMLUtils.stringToElement(elementString) != null);
- }
- catch (Throwable t) {
- return false;
- }
- }
-
- public boolean validateAllParameterValues() {
- String param = getParameterValue(getID(), 0);
- return (param == null || isElement(addRootElement(param)));
- }
-
- public boolean validateParameterValues(String paramKey) {
- String param = getParameterValue(getID(), 0);
- return (param == null || isElement(addRootElement(param)));
- }
-
- public boolean validateParameterValue(String paramKey, int paramIndex) {
- String param = getParameterValue(getID(), 0);
- return (param == null || isElement(addRootElement(param)));
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- StringBuffer sb = new StringBuffer();
- boolean paramValid = true;
- for (int i = 0; i < instanceDocuments.length; i++) {
- String instanceString = XMLUtils.serialize(instanceDocuments[i], true);
- if (instanceString != null && instanceString.length() > 0)
- sb.append(instanceString);
- else
- paramValid = false;
- }
- String[] param = {sb.toString()};
- setParameterValues(getID(), param);
- return paramValid;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc) {
- String param = getParameterValue(getID(), 0);
- if (param == null)
- return new Element[0];
- Element root;
- try {
- root = (Element)doc.importNode(XMLUtils.stringToElement(addRootElement(param)), true);
- }
- catch (Throwable t) {
- return new Element[0];
- }
- NodeList nl = root.getChildNodes();
- Vector instanceDocumentVector = new Vector();
- for (int i = 0; i < nl.getLength(); i++) {
- Node node = nl.item(i);
- if (node instanceof Element)
- instanceDocumentVector.add(node);
- }
- Element[] instanceDocuments = new Element[instanceDocumentVector.size()];
- for (int i = 0; i < instanceDocuments.length; i++) {
- instanceDocuments[i] = (Element)instanceDocumentVector.get(i);
- }
- return instanceDocuments;
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDDefaultRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDDefaultWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDelegationFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDelegationFragment.java
deleted file mode 100644
index 43b229e53..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDDelegationFragment.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDDelegationFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public class XSDDelegationFragment extends XSDFragment implements IXSDDelegationFragment
-{
- private IXSDFragment xsdFragment_;
-
- public XSDDelegationFragment(String id, String name, XSDToFragmentConfiguration config)
- {
- super(id, name, config);
- xsdFragment_ = null;
- }
-
- public void setName(String name) {
- super.setName(name);
- if (xsdFragment_ != null)
- xsdFragment_.setName(name);
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- return xsdFragment_.processParameterValues(parser);
- }
-
- public void setParameterValues(String paramKey, String[] params)
- {
- xsdFragment_.setParameterValues(paramKey, params);
- }
-
- public void setParameterValues(String paramKey, Vector params)
- {
- xsdFragment_.setParameterValues(paramKey, params);
- }
-
- public String[] getParameterValues(String paramKey)
- {
- return xsdFragment_.getParameterValues(paramKey);
- }
-
- public String getParameterValue(String paramKey, int paramIndex)
- {
- return xsdFragment_.getParameterValue(paramKey, paramIndex);
- }
-
- public boolean validateAllParameterValues()
- {
- return xsdFragment_.validateAllParameterValues();
- }
-
- public boolean validateParameterValues(String paramKey)
- {
- return xsdFragment_.validateParameterValues(paramKey);
- }
-
- public boolean validateParameterValue(String paramKey, int paramIndex)
- {
- return xsdFragment_.validateParameterValue(paramKey, paramIndex);
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- return xsdFragment_.setParameterValuesFromInstanceDocuments(instanceDocuments);
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc)
- {
- return xsdFragment_.genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- }
-
- public String getInformationFragment()
- {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment()
- {
- return "/wsdl/fragment/XSDDelegationRFragmentJSP.jsp";
- }
-
- public String getWriteFragment()
- {
- return "/wsdl/fragment/XSDDelegationWFragmentJSP.jsp";
- }
-
- public void setXSDDelegationFragment(IXSDFragment xsdFragment)
- {
- xsdFragment_ = xsdFragment;
- }
-
- public IXSDFragment getXSDDelegationFragment()
- {
- return xsdFragment_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDElementFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDElementFragment.java
deleted file mode 100644
index 4c1b3cba5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDElementFragment.java
+++ /dev/null
@@ -1,297 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060119 123539 jesper@selskabet.org - Jesper Møller
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDElementFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDForm;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class XSDElementFragment extends XSDDelegationFragment implements IXSDElementFragment
-{
- private int minOccurs_;
- private int maxOccurs_;
- private boolean isNil_;
-
-
- public XSDElementFragment(String id, String name, XSDToFragmentConfiguration config)
- {
- super(id, name, config);
- if (config != null)
- {
- minOccurs_ = config.getMinOccurs();
- maxOccurs_ = config.getMaxOccurs();
- }
- else
- {
- minOccurs_ = FragmentConstants.DEFAULT_MIN_OCCURS;
- maxOccurs_ = FragmentConstants.DEFAULT_MAX_OCCURS;
- }
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- IXSDFragment elementTypeFragment = getXSDDelegationFragment();
- setIsNil(parser);
- if(isNil_)return true;
-
- if (!elementTypeFragment.processParameterValues(parser))
- return false;
- String[] params = getParameterValues(elementTypeFragment.getID());
- if (params != null && !withinRange(params.length))
- return false;
- return true;
- }
-
- public boolean setIsNil(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String nil = parser.getParameter(getNilID());
- if(nil != null) isNil_ = true;
- else isNil_ = false;
- return isNil_;
- }
-
- public boolean validateAllParameterValues()
- {
- IXSDFragment elementTypeFragment = getXSDDelegationFragment();
- String[] params = getParameterValues(elementTypeFragment.getID());
- if (params != null && !withinRange(params.length))
- return false;
- if (!elementTypeFragment.validateAllParameterValues())
- return false;
- return true;
- }
-
- public boolean validateParameterValues(String paramKey)
- {
- String[] params = getParameterValues(paramKey);
- if (params != null && !withinRange(params.length))
- return false;
- if (!getXSDDelegationFragment().validateParameterValues(paramKey))
- return false;
- return true;
- }
-
- public boolean validateParameterValue(String paramKey, int paramIndex)
- {
- if (!withinRange(paramIndex + 1))
- return false;
- XSDElementDeclaration xsdElement = (XSDElementDeclaration)getXSDToFragmentConfiguration().getXSDComponent();
- String param = getParameterValue(paramKey, paramIndex);
- if (param != null && param.length() <= 0 && !xsdElement.isNillable())
- return false;
- if (!getXSDDelegationFragment().validateParameterValue(paramKey, paramIndex))
- return false;
- return true;
- }
-
- public void setXSDToFragmentConfiguration(XSDToFragmentConfiguration config)
- {
- super.setXSDToFragmentConfiguration(config);
- minOccurs_ = config.getMinOccurs();
- maxOccurs_ = config.getMaxOccurs();
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- Element[] instanceDocumentsCopy = instanceDocuments;
- XSDToFragmentConfiguration config = getXSDToFragmentConfiguration();
- String wsdlPartName = config.getWSDLPartName();
- NodeList nl = instanceDocumentsCopy[0].getChildNodes();
-
- if(instanceDocumentsCopy[0].hasAttribute(XSI_NIL_ATTRIBUTE)){
- String nil = instanceDocumentsCopy[0].getAttribute(XSI_NIL_ATTRIBUTE);
- if(nil.equals(TRUE)) isNil_ = true;
- }
-
-
- if (config.getIsWSDLPart() && config.getStyle() == FragmentConstants.STYLE_RPC && wsdlPartName != null && wsdlPartName.length() > 0 && instanceDocumentsCopy.length == 1 && wsdlPartName.equals(instanceDocumentsCopy[0].getTagName()))
- {
- Vector childElements = new Vector();
- for (int i = 0; i < nl.getLength(); i++)
- {
- Node node = nl.item(i);
- if (node.getNodeType() == Node.ELEMENT_NODE)
- childElements.add(node);
- }
- instanceDocumentsCopy = (Element[])childElements.toArray(new Element[0]);
- }
- IXSDFragment elementTypeFragment = getXSDDelegationFragment();
- instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocumentsCopy, getName());
- return elementTypeFragment.setParameterValuesFromInstanceDocuments(setElementsTagName(instanceDocumentsCopy, elementTypeFragment.getName()));
- }
-
- public static String XSI_NIL_ATTRIBUTE = "xsi:nil";
- public static String TRUE = "true";
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc)
- {
-
- Element[] instanceDocuments = getXSDDelegationFragment().genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- if(isNil_){
- for(int j=0;j < instanceDocuments.length;j++){
- instanceDocuments[j].setAttribute(XSI_NIL_ATTRIBUTE,TRUE);
- NodeList nodeList = instanceDocuments[j].getChildNodes();
- int length = nodeList.getLength();
- for(int i =0;i < length;i++){
- instanceDocuments[j].removeChild(nodeList.item(0));
- }
- }
- }
- instanceDocuments = setElementsTagName(instanceDocuments, getInstanceDocumentTagName(namespaceTable));
- XSDToFragmentConfiguration config = getXSDToFragmentConfiguration();
- String wsdlPartName = config.getWSDLPartName();
- if (config.getIsWSDLPart() && config.getStyle() == FragmentConstants.STYLE_RPC && wsdlPartName != null && wsdlPartName.length() > 0)
- {
- Element[] instanceDocumentsCopy = instanceDocuments;
- instanceDocuments = new Element[1];
- instanceDocuments[0] = doc.createElement(wsdlPartName);
- for (int i = 0; i < instanceDocumentsCopy.length; i++)
- {
- if (instanceDocumentsCopy[i] != null)
- instanceDocuments[0].appendChild(instanceDocumentsCopy[i]);
- }
- }
- return instanceDocuments;
- }
-
- protected boolean isInstanceNamespaceQualified()
- {
- XSDToFragmentConfiguration config = getXSDToFragmentConfiguration();
- if (config.getPartEncoding() == FragmentConstants.ENCODING_LITERAL)
- {
- XSDElementDeclaration xsdElement = (XSDElementDeclaration)config.getXSDComponent();
- // Try to resolve the element, since an element with a ref can never be global
- if (xsdElement.getResolvedElementDeclaration() != null)
- xsdElement = xsdElement.getResolvedElementDeclaration();
-
- if (xsdElement.isGlobal())
- return true;
- else
- {
- if (xsdElement.isSetForm())
- return (xsdElement.getForm().getValue() == XSDForm.QUALIFIED);
- else
- return (xsdElement.getSchema().getElementFormDefault().getValue() == XSDForm.QUALIFIED);
- }
- }
- else
- return false;
- }
-
- protected String getInstanceDocumentTagName(Hashtable namespaceTable)
- {
- XSDToFragmentConfiguration config = getXSDToFragmentConfiguration();
- XSDElementDeclaration xsdElement = (XSDElementDeclaration)config.getXSDComponent();
- StringBuffer tagName = new StringBuffer();
- if (isInstanceNamespaceQualified())
- {
- String nsURI = null;
- // port to org.eclipse.xsd
- if (xsdElement.getResolvedElementDeclaration() != null)
- nsURI = xsdElement.getResolvedElementDeclaration().getTargetNamespace();
- else
- nsURI = xsdElement.getTargetNamespace();
- if (nsURI != null && nsURI.length() > 0)
- {
- String prefix = getPrefixFromNamespaceURI(nsURI, namespaceTable);
- tagName.append(prefix);
- tagName.append(FragmentConstants.COLON);
- }
- }
- String xsdElementName = xsdElement.getName();
- if (xsdElementName == null || xsdElementName.length() <= 0)
- {
- // port to org.eclipse.xsd
- if (xsdElement.getResolvedElementDeclaration() != null)
- xsdElementName = xsdElement.getResolvedElementDeclaration().getName();
- else
- xsdElementName = getName();
- }
- tagName.append(xsdElementName);
- return tagName.toString();
- }
-
- private boolean withinRange(int size)
- {
- if (size < minOccurs_)
- return false;
- if (maxOccurs_ != FragmentConstants.UNBOUNDED && size > maxOccurs_)
- return false;
- return true;
- }
-
- public void setMinOccurs(int minOccurs)
- {
- minOccurs_ = minOccurs;
- }
-
- public int getMinOccurs()
- {
- return minOccurs_;
- }
-
- public void setMaxOccurs(int maxOccurs)
- {
- maxOccurs_ = maxOccurs;
- }
-
- public int getMaxOccurs()
- {
- return maxOccurs_;
- }
-
- public boolean isNillable()
- {
- if(getXSDToFragmentConfiguration().getXSDComponent().getElement().getAttribute("nillable").equals("true"))
- return true;
- return false;
- }
-
- public boolean isNil()
- {
- return isNil_;
- }
-
-
- public String getNilID()
- {
- return getID() + IXSDElementFragment.NIL;
- }
-
- public String getInformationFragment()
- {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment()
- {
- return "/wsdl/fragment/XSDElementRFragmentJSP.jsp";
- }
-
- public String getWriteFragment()
- {
- return "/wsdl/fragment/XSDElementWFragmentJSP.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDEmptyFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDEmptyFragment.java
deleted file mode 100644
index 67abf8bf3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDEmptyFragment.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class XSDEmptyFragment extends XSDFragment {
- private int occurance_;
-
- public XSDEmptyFragment(String id, String name, XSDToFragmentConfiguration config) {
- super(id, name, config);
- occurance_ = 0;
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException {
- String occurance = parser.getParameter(getID());
- try {
- occurance_ = Integer.parseInt(occurance);
- return validateAllParameterValues();
- }
- catch (Throwable t) {
- occurance_ = -1;
- return false;
- }
- }
-
- public void setParameterValues(String paramKey, String[] params) {
- }
-
- public void setParameterValues(String paramKey, Vector params) {
- }
-
- public String[] getParameterValues(String paramKey) {
- if (occurance_ < 0)
- return null;
- else {
- String[] params = new String[occurance_];
- for (int i = 0; i < params.length; i++) {
- params[i] = "";
- }
- return params;
- }
- }
-
- public String getParameterValue(String paramKey, int paramIndex) {
- if (paramIndex >= 0 && paramIndex < occurance_)
- return "";
- else
- return null;
- }
-
- public boolean validateAllParameterValues() {
- XSDToFragmentConfiguration xsdConfig = getXSDToFragmentConfiguration();
- int min = xsdConfig.getMinOccurs();
- int max = xsdConfig.getMaxOccurs();
- return (occurance_ >= 0 && occurance_ >= min && (max == FragmentConstants.UNBOUNDED || occurance_ <= max));
- }
-
- public boolean validateParameterValues(String paramKey) {
- return validateAllParameterValues();
- }
-
- public boolean validateParameterValue(String paramKey, int paramIndex) {
- return validateAllParameterValues();
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- boolean paramsValid = true;
- for (int i = 0; i < instanceDocumentsCopy.length; i++) {
- NodeList nodeList = instanceDocumentsCopy[i].getChildNodes();
- if (nodeList.getLength() > 1)
- paramsValid = false;
- else if (nodeList.getLength() != 0) {
- Node node = nodeList.item(0);
- if (node.getNodeType() != Node.TEXT_NODE || !isWhitespace(node.getNodeValue()))
- paramsValid = false;
- }
- }
- occurance_ = instanceDocumentsCopy.length;
- return paramsValid && validateAllParameterValues();
- }
-
- private boolean isWhitespace(String s) {
- char[] chars = s.toCharArray();
- for (int i = 0; i < chars.length; i++) {
- if (!Character.isWhitespace(chars[i]) || !Character.isSpaceChar(chars[i]))
- return false;
- }
- return true;
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDEmptyWFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDEmptyRFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDFragment.java
deleted file mode 100644
index e9be23fb2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDFragment.java
+++ /dev/null
@@ -1,338 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDForm;
-import org.eclipse.xsd.XSDNamedComponent;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public abstract class XSDFragment extends Fragment implements IXSDFragment
-{
- private XSDToFragmentConfiguration config_;
- private XSDTypeDefinition typeDef_;
- private int seed_;
-
- public XSDFragment(String id, String name, XSDToFragmentConfiguration config)
- {
- super(id, name);
- config_ = config;
- if (config_ != null)
- {
- XSDComponent component = config.getXSDComponent();
- if (component instanceof XSDTypeDefinition)
- typeDef_ = (XSDTypeDefinition)component;
- else
- typeDef_ = null;
- }
- seed_ = 0;
- }
-
- public void setXSDToFragmentConfiguration(XSDToFragmentConfiguration config)
- {
- config_ = config;
- if (config_ != null)
- {
- XSDComponent component = config.getXSDComponent();
- if (component instanceof XSDTypeDefinition)
- setXSDTypeDefinition((XSDTypeDefinition)component);
- }
- }
-
- public XSDToFragmentConfiguration getXSDToFragmentConfiguration()
- {
- return config_;
- }
-
- public void setXSDTypeDefinition(XSDTypeDefinition typeDef)
- {
- typeDef_ = typeDef;
- }
-
- public XSDTypeDefinition getXSDTypeDefinition()
- {
- return typeDef_;
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- String[] params = new String[instanceDocumentsCopy.length];
- boolean paramsValid = internalEquals(instanceDocumentsCopy, instanceDocuments);
- for (int i = 0; i < instanceDocumentsCopy.length; i++)
- {
- params[i] = "";
- NodeList nodeList = instanceDocumentsCopy[i].getChildNodes();
- if (nodeList.getLength() > 0)
- {
- Node node = nodeList.item(0);
- if (nodeList.getLength() > 1)
- paramsValid = false;
- if (node.getNodeType() != Node.TEXT_NODE)
- paramsValid = false;
- else
- params[i] = node.getNodeValue();
- }
- else
- paramsValid = false;
- }
- setParameterValues(getID(), params);
- return paramsValid && validateAllParameterValues();
- }
-
- protected Element[] getInstanceDocumentsByTagName(Element[] instanceDocuments, String tagName)
- {
- if (instanceDocuments == null)
- return new Element[0];
- Vector instancesCopy = new Vector();
- for (int i = 0; i < instanceDocuments.length; i++)
- {
- if (instanceDocuments[i] == null)
- continue;
- String instanceTagName = trimPrefix(instanceDocuments[i].getTagName());
- if (instanceTagName.equals(tagName))
- instancesCopy.add(instanceDocuments[i]);
- }
- Element[] instances = new Element[instancesCopy.size()];
- instancesCopy.copyInto(instances);
- return instances;
- }
-
- protected String trimPrefix(String s)
- {
- String sCopy = new String(s);
- int colonIndex = sCopy.indexOf(FragmentConstants.COLON);
- if (colonIndex != -1 && colonIndex + 1 < sCopy.length() && !((String.valueOf(sCopy.charAt(colonIndex + 1))).equals(FragmentConstants.COLON)))
- sCopy = sCopy.substring(colonIndex + 1, sCopy.length());
- return sCopy;
- }
-
- public Element[] genInstanceDocumentsForNil(boolean genXSIType, Hashtable namespaceTable,Document doc){
- Element[] instanceDocuments = new Element[1];
- String tagName = getInstanceDocumentTagName(namespaceTable);
- for (int i = 0; i < instanceDocuments.length; i++) {
- Element instanceDocument = doc.createElement(tagName);
- instanceDocuments[i] = instanceDocument;
- }
- return (genXSIType ? addXSIType(instanceDocuments, namespaceTable) : instanceDocuments);
-
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable,Document doc) {
- String[] params = getParameterValues(getID());
- if (params == null)
- return new Element[0];
- Element[] instanceDocuments = new Element[params.length];
- String tagName = getInstanceDocumentTagName(namespaceTable);
- for (int i = 0; i < instanceDocuments.length; i++)
- {
- Element instanceDocument = doc.createElement(tagName);
- Node textNode = doc.createTextNode(params[i]);
- instanceDocument.appendChild(textNode);
- instanceDocuments[i] = instanceDocument;
- }
- return (genXSIType ? addXSIType(instanceDocuments, namespaceTable) : instanceDocuments);
- }
-
- public Element setAttributesOnInstanceDocuments(Element instanceDocument,String attName){
- String[] params = getParameterValues(getID());
- if (params == null)
- return instanceDocument;
- if (isAttributeInstanceNamespaceQualified()){
- instanceDocument.setAttributeNS(config_.getXSDComponent().getSchema().getTargetNamespace(),attName,params[0]);
-
- }
- else instanceDocument.setAttribute(attName,params[0]);
-
- return instanceDocument;
- }
-
- public boolean setAttributeParamsFromInstanceDocuments(Node attribute){
- String[] params = new String[1];
- params[0] = attribute.getNodeValue();
- setParameterValues(getID(), params);
- return validateAllParameterValues();
- }
-
- public String genID()
- {
- StringBuffer newID = new StringBuffer();
- newID.append(getID());
- newID.append(FragmentConstants.ID_SEPERATOR);
- newID.append(seed_++);
- return newID.toString();
- }
-
- protected boolean isInstanceNamespaceQualified()
- {
- XSDSchema xsdSchema = config_.getXSDComponent().getSchema();
- return (!config_.getIsWSDLPart() && config_.getPartEncoding() == FragmentConstants.ENCODING_LITERAL && xsdSchema.getElementFormDefault().getValue() == XSDForm.QUALIFIED);
- }
-
- protected boolean isAttributeInstanceNamespaceQualified() {
- XSDSchema xsdSchema = config_.getXSDComponent().getSchema();
-
- return (!config_.getIsWSDLPart() &&
- config_.getPartEncoding() == FragmentConstants.ENCODING_LITERAL &&
- xsdSchema.getAttributeFormDefault().getValue() == XSDForm.QUALIFIED);
-
- }
-
-
-
- protected String getInstanceDocumentTagName(Hashtable namespaceTable) {
- StringBuffer tagName = new StringBuffer();
- if (isInstanceNamespaceQualified())
- {
- String nsURI = config_.getXSDComponent().getSchema().getTargetNamespace();
- String prefix = getPrefixFromNamespaceURI(nsURI, namespaceTable);
- tagName.append(prefix);
- tagName.append(FragmentConstants.COLON);
- }
- tagName.append(getName());
- return tagName.toString();
- }
-
- protected Element[] addXSIType(Element[] instanceDocuments, Hashtable namespaceTable)
- {
- XSDComponent xsdComponent = config_.getXSDComponent();
- if (instanceDocuments != null && (xsdComponent instanceof XSDNamedComponent))
- {
- String xsdComponentName = ((XSDNamedComponent)xsdComponent).getName();
- if (xsdComponentName != null && xsdComponentName.length() > 0)
- {
- for (int i = 0; i < instanceDocuments.length; i++)
- {
- if (instanceDocuments[i] == null)
- continue;
- String xsiURI = FragmentConstants.URI_XSI;
- String xsiPrefix = getPrefixFromNamespaceURI(xsiURI, namespaceTable);
- String xsiTypeURI = xsdComponent.getSchema().getTargetNamespace();
- String xsiTypePrefix = getPrefixFromNamespaceURI(xsiTypeURI, namespaceTable);
- ;
- StringBuffer attrName = new StringBuffer();
- attrName.append(xsiPrefix);
- attrName.append(FragmentConstants.COLON);
- attrName.append(FragmentConstants.XSI_TYPE);
- StringBuffer attrValue = new StringBuffer();
- attrValue.append(xsiTypePrefix);
- attrValue.append(FragmentConstants.COLON);
- attrValue.append(xsdComponentName);
- instanceDocuments[i].setAttribute(attrName.toString(), attrValue.toString());
- }
- }
- }
- return instanceDocuments;
- }
-
- public boolean validateAllParameterValues()
- {
- if (!super.validateAllParameterValues())
- return false;
- String[] params = getParameterValues(getID());
- int length = (params != null) ? params.length : 0;
- int min = config_.getMinOccurs();
- int max = config_.getMaxOccurs();
- return (length >= min && (max == FragmentConstants.UNBOUNDED || length <= max));
- }
-
- protected String getPrefixFromNamespaceURI(String nsURI, Hashtable namespaceTable)
- {
- String prefix = (String)namespaceTable.get(nsURI);
- int i = 0;
- while (prefix == null || prefix.length() <= 0)
- {
- StringBuffer prefixCopy = new StringBuffer();
- prefixCopy.append(FragmentConstants.QNAME_PREFIX);
- prefixCopy.append(String.valueOf(i));
- i++;
- if (!namespaceTable.contains(prefixCopy.toString()))
- {
- namespaceTable.put(nsURI, prefixCopy.toString());
- prefix = prefixCopy.toString();
- }
- }
- return prefix;
- }
-
- protected Element setElementTagName(Element e, String tagName)
- {
- if (!e.getTagName().equals(tagName))
- {
- try
- {
- Document doc = e.getOwnerDocument();
- NodeList children = e.getChildNodes();
- NamedNodeMap attributes = e.getAttributes();
- Element eCopy = doc.createElement(tagName);
- for (int i = 0; i < children.getLength(); i++)
- {
- Node child = children.item(i);
- if (child != null)
- {
- eCopy.appendChild(child);
- // When you append a node from one element to another,
- // the original element will lose its reference to this node,
- // therefore, the size of the node list will decrease by 1.
- i--;
- }
- }
- for (int j = 0; j < attributes.getLength(); j++)
- {
- Node attr = attributes.item(j);
- if (attr != null && (attr instanceof Attr))
- {
- Attr attribute = (Attr)attr;
- eCopy.setAttribute(attribute.getName(), attribute.getValue());
- }
- }
- return eCopy;
- }
- catch (Exception exception)
- {
- }
- }
- return e;
- }
-
- protected Element[] setElementsTagName(Element[] e, String tagName)
- {
- Element[] eCopy = new Element[e.length];
- for (int i = 0; i < eCopy.length; i++)
- {
- eCopy[i] = setElementTagName(e[i], tagName);
- }
- return eCopy;
- }
-
- protected boolean internalEquals(Element[] instanceDocumentsCopy, Element[] instanceDocuments)
- {
- if (!config_.getIsWSDLPart())
- {
- int length = (instanceDocuments != null) ? instanceDocuments.length : 0;
- int lengthCopy = (instanceDocumentsCopy != null) ? instanceDocumentsCopy.length : 0;
- return (length == lengthCopy);
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupAllFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupAllFragment.java
deleted file mode 100644
index 6ed6df191..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupAllFragment.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDGroupAllFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-import org.w3c.dom.Element;
-
-public class XSDGroupAllFragment extends XSDGroupFragment implements IXSDGroupAllFragment {
- private String groupID_;
-
- public XSDGroupAllFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- groupID_ = null;
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException {
- String groupID = parser.getParameter(getID());
- if (groupID_ != null && groupID != null && groupID_.equals(groupID)) {
- setGroupMemberIDsOrdering(parser.getParameterValues(groupID_));
- boolean valuesValid = true;
- IXSDFragment[] groupMemberFragments = getGroupMemberFragments(groupID_);
- for (int i = 0; i < groupMemberFragments.length; i++) {
- if (groupMemberFragments[i] != null && !groupMemberFragments[i].processParameterValues(parser))
- valuesValid = false;
- }
- return valuesValid;
- }
- else {
- groupID_ = null;
- removeGroupIDs();
- return true;
- }
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- removeGroupIDs();
- boolean paramsValid = true;
- if (instanceDocuments != null && instanceDocuments.length > 0) {
- groupID_ = createInstance();
- IXSDFragment[] groupMemberFrags = getGroupMemberFragments(groupID_);
- String[] groupMemberIDsOrder = new String[groupMemberFrags.length];
- int orderIndex = 0;
- for (int i = 0; i < instanceDocuments.length; i++) {
- boolean paramsAssigned = false;
- for (int j = 0; j < groupMemberFrags.length; j++) {
- if (groupMemberFrags[j] != null && groupMemberFrags[j].getName().equals(trimPrefix(instanceDocuments[i].getTagName()))) {
- Element[] childInstance = {instanceDocuments[i]};
- if (!groupMemberFrags[j].setParameterValuesFromInstanceDocuments(childInstance))
- paramsValid = false;
- groupMemberIDsOrder[orderIndex] = groupMemberFrags[j].getID();
- orderIndex++;
- paramsAssigned = true;
- groupMemberFrags[j] = null;
- break;
- }
- }
- if (!paramsAssigned)
- paramsValid = false;
- }
- for (int k = 0; k < groupMemberFrags.length; k++) {
- if (groupMemberFrags[k] != null) {
- groupMemberIDsOrder[orderIndex] = groupMemberFrags[k].getID();
- orderIndex++;
- }
- }
- setGroupMemberIDsOrdering(groupMemberIDsOrder);
- }
- return paramsValid;
- }
-
- public String getGroupAllInstance() {
- if (groupID_ == null)
- groupID_ = createGroupInstance();
- return groupID_;
- }
-
- public String createInstance() {
- return getGroupAllInstance();
- }
-
- public boolean setGroupMemberIDsOrdering(String[] groupMemberIDs) {
- if (groupMemberIDs == null)
- return false;
- String[] existingGroupMemberIDs = getGroupMemberIDs(groupID_);
- if (existingGroupMemberIDs.length != groupMemberIDs.length)
- return false;
- Vector existingGroupMemberIDsVector = new Vector();
- for (int i = 0; i < existingGroupMemberIDs.length; i++) {
- existingGroupMemberIDsVector.add(existingGroupMemberIDs[i]);
- }
- for (int j = 0; j < groupMemberIDs.length; j++) {
- if (!existingGroupMemberIDsVector.remove(groupMemberIDs[j]))
- return false;
- }
- if (setFragmentsOrder(groupMemberIDs)) {
- setGroupMemberIDs(groupID_, groupMemberIDs);
- return true;
- }
- else
- return false;
- }
-
- public boolean moveUpGroupMemberID(String groupMemberID) {
- String[] groupMemberIDs = getGroupMemberIDs(groupID_);
- if (groupMemberID.equals(groupMemberIDs[0]))
- return false;
- for (int i = 1; i < groupMemberIDs.length; i++) {
- if (groupMemberID.equals(groupMemberIDs[i])) {
- groupMemberIDs[i] = groupMemberIDs[i - 1];
- groupMemberIDs[i - 1] = groupMemberID;
- if (setFragmentsOrder(groupMemberIDs)) {
- setGroupMemberIDs(groupID_, groupMemberIDs);
- return true;
- }
- else
- return false;
- }
- }
- return false;
- }
-
- public boolean moveDownGroupMemberID(String groupMemberID) {
- String[] groupMemberIDs = getGroupMemberIDs(groupID_);
- if (groupMemberID.equals(groupMemberIDs[groupMemberIDs.length - 1]))
- return false;
- for (int i = 0; i < groupMemberIDs.length - 1; i++) {
- if (groupMemberID.equals(groupMemberIDs[i])) {
- groupMemberIDs[i] = groupMemberIDs[i + 1];
- groupMemberIDs[i + 1] = groupMemberID;
- if (setFragmentsOrder(groupMemberIDs)) {
- setGroupMemberIDs(groupID_, groupMemberIDs);
- return true;
- }
- else
- return false;
- }
- }
- return false;
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDGroupRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDGroupAllWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFixFragment.java
deleted file mode 100644
index 4f6d724cc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFixFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-
-public class XSDGroupChoiceFixFragment extends XSDGroupChoiceFragment {
- public XSDGroupChoiceFixFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDGroupChoiceRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDGroupChoiceFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFragment.java
deleted file mode 100644
index bd8edc753..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceFragment.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDGroupChoiceFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDParticle;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public abstract class XSDGroupChoiceFragment extends XSDGroupFragment implements IXSDGroupChoiceFragment {
- private XSDParticle[] choices_;
- private Hashtable choiceIndexes_;
-
- public XSDGroupChoiceFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- choices_ = null;
- choiceIndexes_ = new Hashtable();
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException {
- super.processParameterValues(parser);
- String[] groupIDs = getGroupIDs();
- choiceIndexes_.clear();
- boolean paramsValid = true;
- for (int i = 0; i < groupIDs.length; i++) {
- String selectedChoiceFragID = parser.getParameter(groupIDs[i]);
- int choiceIndex = 0;
- IXSDFragment[] choiceFrags = getGroupMemberFragments(groupIDs[i]);
- for (int j = 0; j < choiceFrags.length; j++) {
- if (choiceFrags[j].getID().equals(selectedChoiceFragID)) {
- choiceIndex = j;
- paramsValid = (paramsValid && choiceFrags[j].validateAllParameterValues());
- break;
- }
- }
- setChoiceIndex(groupIDs[i], choiceIndex);
- }
- return paramsValid;
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- removeGroupIDs();
- choiceIndexes_.clear();
- boolean paramsValid = true;
- if (instanceDocuments != null) {
- for (int i = 0; i < instanceDocuments.length; i++) {
- String groupID = createGroupChoiceInstance(0);
- IXSDFragment[] choiceFrags = getGroupMemberFragments(groupID);
- for (int j = 0; j < choiceFrags.length; j++) {
- if (choiceFrags[j].getName().equals(trimPrefix(instanceDocuments[i].getTagName()))) {
- XSDToFragmentConfiguration xsdConfig = choiceFrags[j].getXSDToFragmentConfiguration();
- Element[] childInstances = getInstanceDocumentPartition(instanceDocuments, i, xsdConfig.getMinOccurs(), xsdConfig.getMaxOccurs());
- if (!choiceFrags[j].setParameterValuesFromInstanceDocuments(childInstances))
- paramsValid = false;
- setChoiceIndex(groupID, j);
- if (childInstances.length > 0)
- i = i + childInstances.length - 1; // minus 1 because there's an i++ in the outer for loop
- break;
- }
- }
- }
- }
- return paramsValid;
- }
-
- private Element[] getInstanceDocumentPartition(Element[] instanceDocuments, int start, int minSize, int maxSize) {
- String tagName = instanceDocuments[start].getTagName();
- int size = 1;
- for (int i = start + 1; i < instanceDocuments.length; i++) {
- if (instanceDocuments[i].getTagName().equals(tagName))
- size++;
- else
- break;
- }
- if (maxSize != FragmentConstants.UNBOUNDED && size > maxSize) {
- size = size - minSize;
- if (size > maxSize)
- size = maxSize;
- }
- Element[] subset = new Element[size];
- for (int j = 0; j < subset.length; j++) {
- subset[j] = instanceDocuments[start + j];
- }
- return subset;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc) {
- Vector instanceDocumentsCopy = new Vector();
- String[] groupIDs = getGroupIDs();
- for (int i = 0; i < groupIDs.length; i++) {
- IXSDFragment[] choiceFrags = getGroupMemberFragments(groupIDs[i]);
- int choiceIndex = getChoiceIndex(groupIDs[i]);
- Element[] choiceFragInstances = choiceFrags[choiceIndex].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- for (int j = 0; j < choiceFragInstances.length; j++) {
- instanceDocumentsCopy.add(choiceFragInstances[j]);
- }
- }
- Element[] instanceDocuments = new Element[instanceDocumentsCopy.size()];
- instanceDocumentsCopy.copyInto(instanceDocuments);
- return instanceDocuments;
- }
-
- public XSDParticle[] getChoices() {
- if (choices_ == null) {
- EList particles = getXSDModelGroup().getParticles();
- choices_ = new XSDParticle[particles.size()];
- for (int i = 0; i < choices_.length; i++) {
- choices_[i] = (XSDParticle)particles.get(i);
- }
- }
- return choices_;
- }
-
- public String createGroupChoiceInstance(int choiceIndex) {
- getChoices();
- if (choiceIndex < 0 || choiceIndex > choices_.length - 1)
- return null;
- String groupID = createGroupInstance();
- setChoiceIndex(groupID, choiceIndex);
- return groupID;
- }
-
- public String createInstance() {
- return createGroupChoiceInstance(0);
- }
-
- public int getChoiceIndex(String groupID) {
- Integer index = (Integer)choiceIndexes_.get(groupID);
- if (index != null)
- return index.intValue();
- else
- return 0;
- }
-
- public void setChoiceIndex(String groupID, int choiceIndex) {
- choiceIndexes_.put(groupID, new Integer(choiceIndex));
- }
-
- public boolean validateAllParameterValues()
- {
- String[] groupIDs = getGroupIDs();
- for (int i = 0; i < groupIDs.length; i++)
- {
- int selectionIndex = getChoiceIndex(groupIDs[i]);
- if (!getGroupMemberFragments(groupIDs[i])[selectionIndex].validateAllParameterValues())
- return false;
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceRangeFragment.java
deleted file mode 100644
index ca3bffb4c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupChoiceRangeFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-
-public class XSDGroupChoiceRangeFragment extends XSDGroupChoiceFragment {
- public XSDGroupChoiceRangeFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDGroupChoiceRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDGroupChoiceRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupFragment.java
deleted file mode 100644
index 33e130ccd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupFragment.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDGroupFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDParticleContent;
-import org.eclipse.xsd.XSDWildcard;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public abstract class XSDGroupFragment extends XSDMapFragment implements IXSDGroupFragment {
- private XSDModelGroup xsdModelGroup_;
- private Vector groupIDsOrder_;
- private Hashtable groupIDs_;
-
- public XSDGroupFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller);
- xsdModelGroup_ = xsdModelGroup;
- groupIDsOrder_ = new Vector();
- groupIDs_ = new Hashtable();
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException {
- boolean valuesValid = true;
- String[] params = parser.getParameterValues(getID());
- Vector frags = new Vector();
- Vector groupIDsOrderCopy = new Vector();
- Hashtable groupIDsCopy = new Hashtable();
- for (int i = 0; params != null && i < params.length; i++) {
- if (params[i] != null) {
- groupIDsOrderCopy.add(params[i]);
- groupIDsCopy.put(params[i], getGroupMemberIDs(params[i]));
- IXSDFragment[] groupMemberFragments = getGroupMemberFragments(params[i]);
- for (int j = 0; j < groupMemberFragments.length; j++) {
- if (groupMemberFragments[j] != null) {
- frags.add(groupMemberFragments[j]);
- if (!groupMemberFragments[j].processParameterValues(parser))
- valuesValid = false;
- }
- }
- }
- }
- groupIDsOrder_ = groupIDsOrderCopy;
- groupIDs_ = groupIDsCopy;
- removeAllFragments();
- addFragments(frags);
- return valuesValid;
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- removeGroupIDs();
- boolean paramsValid = true;
- String prevGroupID = null;
- String currGroupID = null;
- int groupMemberIndex = 0;
- for (int i = 0; i < instanceDocuments.length; ) {
- if (currGroupID == null) {
- String newGroupID = createInstance();
- prevGroupID = currGroupID;
- currGroupID = newGroupID;
- }
- Element[] instancePartition = null;
- int j = groupMemberIndex;
- boolean paramsAssigned = false;
- int wildcardFragIndex = -1;
- do {
- IXSDFragment[] groupMemberFrags = getGroupMemberFragments(currGroupID);
- XSDComponent xsdComponent = groupMemberFrags[j].getXSDToFragmentConfiguration().getXSDComponent();
- if (xsdComponent instanceof XSDWildcard) {
- if (wildcardFragIndex < 0)
- wildcardFragIndex = j;
- }
- else if (groupMemberFrags[j].getName().equals(trimPrefix(instanceDocuments[i].getTagName()))) {
- instancePartition = getInstanceDocumentPartition(instanceDocuments, i, groupMemberFrags[j].getXSDToFragmentConfiguration().getMaxOccurs());
- if (!groupMemberFrags[j].setParameterValuesFromInstanceDocuments(instancePartition))
- paramsValid = false;
- paramsAssigned = true;
- }
- else if(groupMemberFrags[j] instanceof XSDGroupFragment) {
- Element[] childInstances = getInstanceDocumentPartition(instanceDocuments, i, groupMemberFrags[j].getXSDToFragmentConfiguration().getMaxOccurs());
- groupMemberFrags[j].setParameterValuesFromInstanceDocuments(childInstances);
- }
-
- if (j == groupMemberFrags.length - 1) {
- j = 0;
- String newGroupID;
- if (!paramsAssigned)
- newGroupID = createInstance();
- else
- newGroupID = null;
- prevGroupID = currGroupID;
- currGroupID = newGroupID;
- }
- else
- j++;
- } while (!paramsAssigned && j != groupMemberIndex);
- groupMemberIndex = j;
- if (!paramsAssigned) {
- instancePartition = getInstanceDocumentPartition(instanceDocuments, i, FragmentConstants.UNBOUNDED);
- if (wildcardFragIndex >= 0) {
- if (wildcardFragIndex >= groupMemberIndex) {
- removeGroupID(currGroupID);
- currGroupID = prevGroupID;
- }
- groupMemberIndex = wildcardFragIndex;
- IXSDFragment[] groupMemberFrags = getGroupMemberFragments(currGroupID);
- if (!groupMemberFrags[wildcardFragIndex].setParameterValuesFromInstanceDocuments(instancePartition))
- paramsValid = false;
- paramsAssigned = true;
- }
- else if (currGroupID != null && (prevGroupID == null || !currGroupID.equals(prevGroupID))) {
- paramsValid = false;
- removeGroupID(currGroupID);
- currGroupID = prevGroupID;
- }
- }
- i = i + instancePartition.length;
- }
- return paramsValid;
- }
-
- private Element[] getInstanceDocumentPartition(Element[] instanceDocuments, int start, int maxSize) {
- String tagName = instanceDocuments[start].getTagName();
- int size = 1;
- for (int i = start + 1; i < instanceDocuments.length; i++) {
- if (maxSize != FragmentConstants.UNBOUNDED && size >= maxSize)
- break;
- else if (instanceDocuments[i].getTagName().equals(tagName))
- size++;
- else
- break;
- }
- Element[] subset = new Element[size];
- for (int j = 0; j < subset.length; j++) {
- subset[j] = instanceDocuments[start + j];
- }
- return subset;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc) {
- IXSDFragment[] groupMemberFragments = getAllFragments();
- Vector instanceDocumentsCopy = new Vector();
- for (int i = 0; i < groupMemberFragments.length; i++) {
- Element[] fragmentInstances = groupMemberFragments[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- for (int j = 0; j < fragmentInstances.length; j++) {
- instanceDocumentsCopy.add(fragmentInstances[j]);
- }
- }
- Element[] instanceDocuments = new Element[instanceDocumentsCopy.size()];
- for (int k = 0; k < instanceDocuments.length; k++) {
- instanceDocuments[k] = (Element)instanceDocumentsCopy.get(k);
- }
- return instanceDocuments;
- }
-
- public void setXSDModelGroup(XSDModelGroup xsdModelGroup) {
- xsdModelGroup_ = xsdModelGroup;
- }
-
- public XSDModelGroup getXSDModelGroup() {
- return xsdModelGroup_;
- }
-
- public String[] getGroupIDs() {
- String[] groupIDs = new String[groupIDsOrder_.size()];
- for (int i = 0; i < groupIDs.length; i++) {
- groupIDs[i] = (String)groupIDsOrder_.get(i);
- }
- return groupIDs;
- }
-
- protected void removeGroupIDs() {
- removeAllFragments();
- groupIDsOrder_.clear();
- groupIDs_.clear();
- }
-
- protected void removeGroupID(String groupID) {
- String[] memberFragIDs = getGroupMemberIDs(groupID);
- removeFragments(memberFragIDs);
- groupIDsOrder_.remove(groupID);
- groupIDs_.remove(groupID);
- }
-
- protected void setGroupMemberIDs(String groupID, String[] groupMemberIDs) {
- if (groupID != null) {
- if (!groupIDsOrder_.contains(groupID))
- groupIDsOrder_.add(groupID);
- if (groupMemberIDs != null)
- groupIDs_.put(groupID, groupMemberIDs);
- else
- groupIDs_.put(groupID, new String[0]);
- }
- }
-
- protected void setGroupMemberFragments(String groupID, IXSDFragment[] groupMemberFragments) {
- addFragments(groupMemberFragments);
- String[] ids = new String[groupMemberFragments.length];
- for (int i = 0; i < ids.length; i++) {
- ids[i] = groupMemberFragments[i].getID();
- }
- setGroupMemberIDs(groupID, ids);
- }
-
- public String[] getGroupMemberIDs(String groupID) {
- if (groupID != null) {
- String[] groupMemberIDs = (String[])groupIDs_.get(groupID);
- if (groupMemberIDs != null)
- return groupMemberIDs;
- }
- return new String[0];
- }
-
- public IXSDFragment[] getGroupMemberFragments(String groupID) {
- String[] groupMemberIDs = getGroupMemberIDs(groupID);
- IXSDFragment[] groupMemberFragments = new IXSDFragment[groupMemberIDs.length];
- for (int i = 0; i < groupMemberFragments.length; i++) {
- groupMemberFragments[i] = getFragment(groupMemberIDs[i]);
- }
- return groupMemberFragments;
- }
-
- protected String createGroupInstance() {
- String groupID = genID();
- EList particles = getXSDModelGroup().getParticles();
- String[] groupMemberIDs = new String[particles.size()];
- for (int i = 0; i < particles.size(); i++) {
- XSDParticle xsdParticle = (XSDParticle)particles.get(i);
- XSDParticleContent xsdParticleContent = xsdParticle.getContent();
- XSDToFragmentConfiguration thisConfig = getXSDToFragmentConfiguration();
- XSDToFragmentConfiguration xsdConfig = new XSDToFragmentConfiguration();
- if (xsdParticleContent instanceof XSDComponent)
- xsdConfig.setXSDComponent((XSDComponent)xsdParticleContent);
- else
- xsdConfig.setXSDComponent(null);
- xsdConfig.setStyle(thisConfig.getStyle());
- xsdConfig.setPartEncoding(thisConfig.getPartEncoding());
- xsdConfig.setWSDLPartName(thisConfig.getWSDLPartName());
- groupMemberIDs[i] = genID();
- addFragment(groupMemberIDs[i], getXSDToFragmentController().getFragment(xsdConfig, groupMemberIDs[i], groupMemberIDs[i]));
- }
- setGroupMemberIDs(groupID, groupMemberIDs);
- return groupID;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFixFragment.java
deleted file mode 100644
index 31a1a372c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFixFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-
-public class XSDGroupSeqFixFragment extends XSDGroupSeqFragment {
- public XSDGroupSeqFixFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDGroupRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDGroupSeqFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFragment.java
deleted file mode 100644
index e30813040..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqFragment.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDGroupSeqFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-
-public abstract class XSDGroupSeqFragment extends XSDGroupFragment implements IXSDGroupSeqFragment {
- public XSDGroupSeqFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public String createGroupSeqInstance() {
- return createGroupInstance();
- }
-
- public String createInstance() {
- return createGroupSeqInstance();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqRangeFragment.java
deleted file mode 100644
index afb6a59fb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDGroupSeqRangeFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDModelGroup;
-
-public class XSDGroupSeqRangeFragment extends XSDGroupSeqFragment {
- public XSDGroupSeqRangeFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller, XSDModelGroup xsdModelGroup) {
- super(id, name, config, controller, xsdModelGroup);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDGroupRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDGroupSeqRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDMapFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDMapFragment.java
deleted file mode 100644
index a6c680838..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDMapFragment.java
+++ /dev/null
@@ -1,289 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDAttributeFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDMapFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-
-public abstract class XSDMapFragment extends XSDFragment implements IXSDMapFragment {
- private XSDToFragmentController controller_;
- private Vector fragmentsOrder_;
- private Hashtable fragments_;
- private Hashtable attributeFragments_;
-
- public XSDMapFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config);
- controller_ = controller;
- fragmentsOrder_ = new Vector();
- fragments_ = new Hashtable();
- attributeFragments_ = new Hashtable();
- }
-
- public boolean processParameterValues(MultipartFormDataParser parser) throws MultipartFormDataException {
- boolean valuesValid = true;
- String[] params = parser.getParameterValues(getID());
- Vector frags = new Vector();
- Vector attfrags = new Vector();
- if (params != null) {
- for (int i = 0; i < params.length; i++) {
- if (params[i] != null) {
- IXSDFragment frag = getFragment(params[i]);
- if (frag != null) {
- frags.add(frag);
- if (!frag.processParameterValues(parser))
- valuesValid = false;
- }
- else {
- IXSDAttributeFragment afrag = getAttributeFragment(params[i]);
- if (afrag != null) {
- attfrags.add(afrag);
- if (!afrag.processParameterValues(parser))
- valuesValid = false;
- }
-
- }
-
- }
- }
- }
- removeAllFragments();
- removeAllAttributeFragments();
- addAttributeFragments(attfrags);
- addFragments(frags);
- return valuesValid;
- }
-
- public void setParameterValues(String paramKey, String[] params) {
- IXSDFragment frag = getFragment(paramKey);
- if (frag != null)
- frag.setParameterValues(paramKey, params);
- }
-
- public String[] getParameterValues(String paramKey) {
- IXSDFragment frag = getFragment(paramKey);
- return (frag != null) ? frag.getParameterValues(paramKey) : null;
- }
-
- public boolean validateAllParameterValues() {
- IXSDFragment[] fragments = getAllFragments();
- for (int i = 0; i < fragments.length; i++) {
- if (!fragments[i].validateAllParameterValues())
- return false;
- }
- return true;
- }
-
- public boolean validateParameterValues(String paramKey) {
- IXSDFragment frag = getFragment(paramKey);
- return (frag != null) ? frag.validateParameterValues(paramKey) : true;
- }
-
- public boolean validateParameterValue(String paramKey, int paramIndex) {
- IXSDFragment frag = getFragment(paramKey);
- return (frag != null) ? frag.validateParameterValue(paramKey, paramIndex) : true;
- }
-
- public void setXSDToFragmentController(XSDToFragmentController controller) {
- controller_ = controller;
- }
-
- public XSDToFragmentController getXSDToFragmentController() {
- return controller_;
- }
-
- protected void addFragment(String id, IXSDFragment frag) {
- addFragment(id, frag, true);
- }
-
- protected void addFragments(String[] id, IXSDFragment[] frags) {
- addFragments(id, frags, true);
- }
-
- protected void addFragment(IXSDFragment frag) {
- addFragment(frag, true);
- }
-
- protected void addFragments(IXSDFragment[] frags) {
- addFragments(frags, true);
- }
-
- protected void addFragments(Vector frags) {
- addFragments(frags, true);
- }
-
- protected void addFragment(String id, IXSDFragment frag, boolean addToController) {
- fragmentsOrder_.add(id);
- fragments_.put(id, frag);
- controller_.addToCache(id, frag);
- }
-
- protected void addAttributeFragment(String id, IXSDFragment frag) {
- attributeFragments_.put(id, frag);
- controller_.addToCache(id, frag);
- }
-
- public IXSDAttributeFragment[] getAllAttributeFragments() {
- IXSDAttributeFragment[] fragments = new XSDAttributeFragment[attributeFragments_.size()];
- Iterator it = attributeFragments_.values().iterator();
- int i = 0;
- while(it.hasNext()){
- fragments[i] = (IXSDAttributeFragment)it.next();
- i++;
- }
- return fragments;
- }
-
- protected void addFragments(String[] id, IXSDFragment[] frags, boolean addToController) {
- for (int i = 0; i < id.length && i < frags.length; i++) {
- addFragment(id[i], frags[i], addToController);
- }
- }
-
- protected void addFragment(IXSDFragment frag, boolean addToController) {
- addFragment(frag.getID(), frag, addToController);
- }
-
- protected void addFragments(IXSDFragment[] frags, boolean addToController) {
- for (int i = 0; i < frags.length; i++) {
- addFragment(frags[i].getID(), frags[i], addToController);
- }
- }
-
- protected void addFragments(Vector frags, boolean addToController) {
- Iterator it = frags.iterator();
- while (it.hasNext()) {
- Object obj = it.next();
- if (obj instanceof IXSDFragment) {
- IXSDFragment frag = (IXSDFragment)obj;
- addFragment(frag.getID(), frag, addToController);
- }
- }
- }
-
- protected void addAttributeFragments(Vector frags) {
- Iterator it = frags.iterator();
- while (it.hasNext()) {
- Object obj = it.next();
- if (obj instanceof IXSDAttributeFragment) {
- IXSDAttributeFragment frag = (IXSDAttributeFragment)obj;
- addAttributeFragment(frag.getID(), frag);
- }
- }
- }
-
- public String[] getFragmentsOrder() {
- String[] fragmentsOrder = new String[fragmentsOrder_.size()];
- for (int i = 0; i < fragmentsOrder.length; i++) {
- fragmentsOrder[i] = (String)fragmentsOrder_.get(i);
- }
- return fragmentsOrder;
- }
-
- protected boolean setFragmentsOrder(String[] fragmentsOrder) {
- if (fragmentsOrder.length != fragmentsOrder_.size())
- return false;
- Vector fragmentsOrderCopy = new Vector(fragmentsOrder_);
- for (int i = 0; i < fragmentsOrder.length; i++) {
- if (!fragmentsOrderCopy.remove(fragmentsOrder[i]))
- return false;
- }
- fragmentsOrder_.clear();
- for (int j = 0; j < fragmentsOrder.length; j++) {
- fragmentsOrder_.add(fragmentsOrder[j]);
- }
- return true;
- }
-
- public IXSDAttributeFragment getAttributeFragment(String id) {
- return (IXSDAttributeFragment)attributeFragments_.get(id);
- }
-
- public IXSDFragment getFragment(String id) {
- return (IXSDFragment)fragments_.get(id);
- }
-
- public IXSDFragment[] getFragments(String[] ids) {
- IXSDFragment[] frags = new IXSDFragment[ids.length];
- for (int i = 0; i < frags.length; i++) {
- frags[i] = getFragment(ids[i]);
- }
- return frags;
- }
-
- public IXSDFragment[] getAllFragments() {
- IXSDFragment[] fragments = new IXSDFragment[fragmentsOrder_.size()];
- for (int i = 0; i < fragmentsOrder_.size(); i++) {
- fragments[i] = getFragment((String)fragmentsOrder_.get(i));
- }
- return fragments;
- }
-
- protected void removeFragment(String id) {
- removeFragment(id, true);
- }
-
- protected void removeFragments(String[] ids) {
- removeFragments(ids, true);
- }
-
- protected void removeAllFragments() {
- removeAllFragments(true);
- }
-
- protected void removeFragment(String id, boolean removeFromController) {
- fragmentsOrder_.remove(id);
- fragments_.remove(id);
- if (removeFromController)
- controller_.removeFromCache(id);
- }
-
- protected void removeFragments(String[] ids, boolean removeFromController) {
- for (int i = 0; i < ids.length; i++) {
- removeFragment(ids[i], removeFromController);
- }
- }
-
- protected void removeAllFragments(boolean removeFromController) {
- if (removeFromController)
- {
- Enumeration ids = fragments_.keys();
- while (ids.hasMoreElements())
- {
- String id = (String)ids.nextElement();
- controller_.removeFromCache(id);
- }
- }
- fragmentsOrder_.clear();
- fragments_.clear();
- }
-
- protected void removeAllAttributeFragments() {
- Enumeration ids = attributeFragments_.keys();
- while (ids.hasMoreElements())
- {
- String id = (String)ids.nextElement();
- controller_.removeFromCache(id);
- }
-
- attributeFragments_.clear();
- }
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeFixFragment.java
deleted file mode 100644
index 3be533708..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeFixFragment.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-
-public class XSDSimpleAtomicDateTimeFixFragment extends XSDSimpleAtomicFixFragment {
- private int calendarType_;
- public XSDSimpleAtomicDateTimeFixFragment(String id, String name, XSDToFragmentConfiguration config, int calendarType) {
- super(id, name, config);
- calendarType_ = calendarType;
- }
-
- public String getWriteFragment() {
- StringBuffer fragmentLink = new StringBuffer("/wsdl/fragment/XSDSimpleAtomicDateTimeFixWFragmentJSP.jsp?");
- fragmentLink.append(ActionInputs.CALENDAR_TYPE).append('=').append(calendarType_);
- return fragmentLink.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeRangeFragment.java
deleted file mode 100644
index 6fb2f2cc4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicDateTimeRangeFragment.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-
-public class XSDSimpleAtomicDateTimeRangeFragment extends XSDSimpleAtomicRangeFragment {
- private int calendarType_;
- public XSDSimpleAtomicDateTimeRangeFragment(String id, String name, XSDToFragmentConfiguration config, int calendarType) {
- super(id, name, config);
- calendarType_ = calendarType;
- }
-
- public String getWriteFragment() {
- StringBuffer fragmentLink = new StringBuffer("/wsdl/fragment/XSDSimpleAtomicDateTimeRangeWFragmentJSP.jsp?");
- fragmentLink.append(ActionInputs.CALENDAR_TYPE).append('=').append(calendarType_);
- return fragmentLink.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFixFragment.java
deleted file mode 100644
index 796bd862a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFixFragment.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.OptionVector;
-
-public class XSDSimpleAtomicEnumFixFragment extends XSDSimpleAtomicEnumFragment {
- public XSDSimpleAtomicEnumFixFragment(String id, String name, XSDToFragmentConfiguration config, EList elist) {
- super(id, name, config, elist);
- }
-
- public XSDSimpleAtomicEnumFixFragment(String id, String name, XSDToFragmentConfiguration config, OptionVector v)
- {
- super(id, name, config, v);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicEnumFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFragment.java
deleted file mode 100644
index 96387f551..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumFragment.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.OptionVector;
-import org.eclipse.xsd.XSDEnumerationFacet;
-
-public abstract class XSDSimpleAtomicEnumFragment extends XSDSimpleAtomicFragment {
- private OptionVector optionVector_;
- public XSDSimpleAtomicEnumFragment(String id, String name, XSDToFragmentConfiguration config, EList elist) {
- super(id, name, config);
- optionVector_ = new OptionVector();
- for (int i=0;i<elist.size();i++)
- {
- String enumValue = ((XSDEnumerationFacet)elist.get(i)).getLexicalValue();
- optionVector_.addOption(enumValue,enumValue);
- }
- }
-
- public XSDSimpleAtomicEnumFragment(String id, String name, XSDToFragmentConfiguration config, OptionVector v)
- {
- super(id, name, config);
- optionVector_ = new OptionVector();
- for (int i=0;i<v.size();i++)
- optionVector_.addOption(v.getDisplayValue(i),v.getValue(i));
- }
-
- public final OptionVector getOptionVector()
- {
- return optionVector_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumRangeFragment.java
deleted file mode 100644
index 4ed3c814b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicEnumRangeFragment.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.OptionVector;
-
-public class XSDSimpleAtomicEnumRangeFragment extends XSDSimpleAtomicEnumFragment {
- public XSDSimpleAtomicEnumRangeFragment(String id, String name, XSDToFragmentConfiguration config, EList elist) {
- super(id, name, config, elist);
- }
-
- public XSDSimpleAtomicEnumRangeFragment(String id, String name, XSDToFragmentConfiguration config, OptionVector v)
- {
- super(id, name, config, v);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicEnumRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFixFragment.java
deleted file mode 100644
index 5c8dddfcf..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFixFragment.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-
-public class XSDSimpleAtomicFixFragment extends XSDSimpleAtomicFragment {
- public XSDSimpleAtomicFixFragment(String id, String name, XSDToFragmentConfiguration config) {
- super(id, name, config);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFragment.java
deleted file mode 100644
index 132f6f6db..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicFragment.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDSimpleAtomicFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-
-public abstract class XSDSimpleAtomicFragment extends XSDFragment implements IXSDSimpleAtomicFragment {
- public XSDSimpleAtomicFragment(String id, String name, XSDToFragmentConfiguration config) {
- super(id, name, config);
- }
-
- public boolean validateParameterValue(String paramKey, int paramIndex) {
- String param = getParameterValue(paramKey, paramIndex);
- if (param != null && !((XSDSimpleTypeDefinition)getXSDTypeDefinition()).isValidLiteral(param))
- return false;
- else
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicRangeFragment.java
deleted file mode 100644
index e3bbd7600..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleAtomicRangeFragment.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-
-public class XSDSimpleAtomicRangeFragment extends XSDSimpleAtomicFragment {
- public XSDSimpleAtomicRangeFragment(String id, String name, XSDToFragmentConfiguration config) {
- super(id, name, config);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleAtomicRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFixFragment.java
deleted file mode 100644
index e265bac5b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFixFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-
-public class XSDSimpleListFixFragment extends XSDSimpleListFragment {
- public XSDSimpleListFixFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleListRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleListFixWFragmentJSP.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFragment.java
deleted file mode 100644
index a6c6661b1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListFragment.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 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
- * -------- -------- -----------------------------------------------------------
- * 20060217 127138 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDSimpleListFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDLengthFacet;
-import org.eclipse.xsd.XSDMaxLengthFacet;
-import org.eclipse.xsd.XSDMinLengthFacet;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import com.ibm.icu.util.StringTokenizer;
-
-public abstract class XSDSimpleListFragment extends XSDMapFragment implements IXSDSimpleListFragment
-{
- public XSDSimpleListFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller)
- {
- super(id, name, config, controller);
- }
-
- public void setName(String name)
- {
- super.setName(name);
- IXSDFragment[] fragments = getAllFragments();
- for (int i = 0; i < fragments.length; i++)
- {
- fragments[i].setName(name);
- }
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments)
- {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- String[] params = new String[instanceDocumentsCopy.length];
- boolean paramsValid = internalEquals(instanceDocumentsCopy, instanceDocuments);
- for (int i = 0; i < instanceDocumentsCopy.length; i++)
- {
- params[i] = "";
- NodeList nodeList = instanceDocumentsCopy[i].getChildNodes();
- if (nodeList.getLength() > 0)
- {
- Node node = nodeList.item(0);
- if (nodeList.getLength() > 1)
- paramsValid = false;
- if (node.getNodeType() != Node.TEXT_NODE)
- paramsValid = false;
- else
- params[i] = node.getNodeValue();
- }
- else
- paramsValid = false;
- }
- removeAllFragments();
- for (int i = 0; i < params.length; i++)
- {
- IXSDFragment childFrag = getFragment(createListInstance());
- StringTokenizer st = new StringTokenizer(params[i].trim());
- String[] childParams = new String[st.countTokens()];
- for (int j = 0; j < childParams.length; j++)
- {
- childParams[j] = st.nextToken();
- }
- childFrag.setParameterValues(childFrag.getID(), childParams);
- paramsValid = paramsValid && childFrag.validateAllParameterValues();
- }
- return paramsValid;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc)
- {
- IXSDFragment[] fragments = getAllFragments();
- Element[] instanceDocuments = new Element[fragments.length];
- String tagName = getInstanceDocumentTagName(namespaceTable);
- for (int i = 0; i < fragments.length; i++)
- {
- Element instanceDocument = doc.createElement(tagName);
- StringBuffer listValue = new StringBuffer();
- String[] params = fragments[i].getParameterValues(fragments[i].getID());
- for (int j = 0; params != null && j < params.length; j++)
- {
- if (j != 0)
- listValue.append(FragmentConstants.LIST_SEPERATOR);
- listValue.append(params[j]);
- }
- Node textNode = doc.createTextNode(listValue.toString());
- instanceDocument.appendChild(textNode);
- instanceDocuments[i] = instanceDocument;
- }
- return (genXSIType ? addXSIType(instanceDocuments, namespaceTable) : instanceDocuments);
- }
-
- public String createListInstance()
- {
- String newID = genID();
- XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)getXSDTypeDefinition();
- int min = 0;
- int max = FragmentConstants.UNBOUNDED;
- XSDLengthFacet xsdLengthFacet = simpleType.getLengthFacet();
- // port to org.eclipse.xsd
- if (xsdLengthFacet != null)
- {
- min = xsdLengthFacet.getValue();
- max = xsdLengthFacet.getValue();
- }
- else
- {
- XSDMinLengthFacet xsdMinLengthFacet = simpleType.getMinLengthFacet();
- XSDMaxLengthFacet xsdMaxLengthFacet = simpleType.getMaxLengthFacet();
- // port to org.eclipse.xsd
- if (xsdMinLengthFacet != null)
- min = xsdMinLengthFacet.getValue();
- if (xsdMaxLengthFacet != null)
- max = xsdMaxLengthFacet.getValue();
- }
- XSDToFragmentConfiguration thisConfig = getXSDToFragmentConfiguration();
- XSDToFragmentConfiguration xsdConfig = new XSDToFragmentConfiguration();
- xsdConfig.setXSDComponent(simpleType.getItemTypeDefinition());
- xsdConfig.setStyle(thisConfig.getStyle());
- xsdConfig.setPartEncoding(thisConfig.getPartEncoding());
- xsdConfig.setWSDLPartName(thisConfig.getWSDLPartName());
- xsdConfig.setMinOccurs(min);
- xsdConfig.setMaxOccurs(max);
- IXSDFragment frag = getXSDToFragmentController().getFragment(xsdConfig, newID, getName());
- frag.setID(newID);
- frag.setName(getName());
- addFragment(newID, frag);
- return newID;
- }
-
- public String createInstance()
- {
- return createListInstance();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListRangeFragment.java
deleted file mode 100644
index aeb95054f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleListRangeFragment.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-
-public class XSDSimpleListRangeFragment extends XSDSimpleListFragment {
- public XSDSimpleListRangeFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleListRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleListRangeWFragmentJSP.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFixFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFixFragment.java
deleted file mode 100644
index b6c2242f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFixFragment.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-
-public class XSDSimpleUnionFixFragment extends XSDSimpleUnionFragment {
- public XSDSimpleUnionFixFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleUnionRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleUnionFixWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFragment.java
deleted file mode 100644
index 1a20e373e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionFragment.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDSimpleUnionFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public abstract class XSDSimpleUnionFragment extends XSDMapFragment implements IXSDSimpleUnionFragment {
- private XSDSimpleTypeDefinition[] memberTypes_;
-
- public XSDSimpleUnionFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- memberTypes_ = null;
- }
-
- public void setName(String name) {
- super.setName(name);
- IXSDFragment[] fragments = getAllFragments();
- for (int i = 0; i < fragments.length; i++) {
- fragments[i].setName(name);
- }
- }
-
- public boolean setParameterValuesFromInstanceDocuments(Element[] instanceDocuments) {
- Element[] instanceDocumentsCopy = getInstanceDocumentsByTagName(instanceDocuments, getName());
- int numTypes = getMemberTypeDefinitions().length;
- boolean paramsValid = internalEquals(instanceDocumentsCopy, instanceDocuments);
- Vector memberFragments = new Vector();
- for (int i = 0; i < instanceDocumentsCopy.length; i++) {
- IXSDFragment compatibleFrag = null;
- for (int j = 0; j < numTypes; j++) {
- IXSDFragment memberFrag = getFragment(createUnionInstance(j));
- Element[] memberInstanceDocument = new Element[1];
- memberInstanceDocument[0] = setElementTagName(instanceDocumentsCopy[i], memberFrag.getName());
- if (memberFrag.setParameterValuesFromInstanceDocuments(memberInstanceDocument)) {
- if (memberFrag.validateAllParameterValues()) {
- compatibleFrag = memberFrag;
- break;
- }
- else if (compatibleFrag == null)
- compatibleFrag = memberFrag;
- }
- }
- if (compatibleFrag != null)
- memberFragments.add(compatibleFrag);
- else
- paramsValid = false;
- }
- removeAllFragments();
- addFragments(memberFragments);
- return paramsValid;
- }
-
- public Element[] genInstanceDocumentsFromParameterValues(boolean genXSIType, Hashtable namespaceTable, Document doc) {
- IXSDFragment[] fragments = getAllFragments();
- Vector instanceDocumentsCopy = new Vector();
- for (int i = 0; i < fragments.length; i++) {
- Element[] fragmentInstances = fragments[i].genInstanceDocumentsFromParameterValues(genXSIType, namespaceTable, doc);
- if (fragmentInstances.length > 0)
- instanceDocumentsCopy.add(fragmentInstances[0]);
- }
- Element[] instanceDocuments = new Element[instanceDocumentsCopy.size()];
- for (int i = 0; i < instanceDocuments.length; i++) {
- instanceDocuments[i] = (Element)instanceDocumentsCopy.get(i);
- }
- return setElementsTagName(instanceDocuments, getInstanceDocumentTagName(namespaceTable));
- }
-
- public XSDSimpleTypeDefinition[] getMemberTypeDefinitions() {
- if (memberTypes_ == null) {
- EList memberTypes = ((XSDSimpleTypeDefinition)getXSDTypeDefinition()).getMemberTypeDefinitions();
- memberTypes_ = new XSDSimpleTypeDefinition[memberTypes.size()];
- for (int i = 0; i < memberTypes_.length; i++) {
- memberTypes_[i] = (XSDSimpleTypeDefinition)memberTypes.get(i);
- }
- }
- return memberTypes_;
- }
-
- public String createUnionInstance(int memberTypeIndex) {
- getMemberTypeDefinitions();
- if (memberTypeIndex < 0 || memberTypeIndex > memberTypes_.length - 1)
- return null;
- String newID = genID();
- XSDToFragmentConfiguration thisConfig = getXSDToFragmentConfiguration();
- XSDToFragmentConfiguration xsdConfig = new XSDToFragmentConfiguration();
- xsdConfig.setXSDComponent(memberTypes_[memberTypeIndex]);
- xsdConfig.setStyle(thisConfig.getStyle());
- xsdConfig.setPartEncoding(thisConfig.getPartEncoding());
- xsdConfig.setWSDLPartName(thisConfig.getWSDLPartName());
- IXSDFragment frag = getXSDToFragmentController().getFragment(xsdConfig, newID, getName());
- frag.setID(newID);
- frag.setName(getName());
- addFragment(newID, frag);
- return newID;
- }
-
- public String createInstance() {
- return createUnionInstance(0);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionRangeFragment.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionRangeFragment.java
deleted file mode 100644
index ec2bb8d02..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/impl/XSDSimpleUnionRangeFragment.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentConfiguration;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.XSDToFragmentController;
-
-public class XSDSimpleUnionRangeFragment extends XSDSimpleUnionFragment {
- public XSDSimpleUnionRangeFragment(String id, String name, XSDToFragmentConfiguration config, XSDToFragmentController controller) {
- super(id, name, config, controller);
- }
-
- public String getInformationFragment() {
- return "/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp";
- }
-
- public String getReadFragment() {
- return "/wsdl/fragment/XSDSimpleUnionRFragmentJSP.jsp";
- }
-
- public String getWriteFragment() {
- return "/wsdl/fragment/XSDSimpleUnionRangeWFragmentJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/HTTPUtil.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/HTTPUtil.java
deleted file mode 100644
index 1d487e333..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/HTTPUtil.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util;
-
-import java.util.Hashtable;
-import javax.xml.parsers.ParserConfigurationException;
-import org.apache.axis.Constants;
-import org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDSimpleAtomicFragment;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDSimpleListFragment;
-import org.w3c.dom.Element;
-
-public class HTTPUtil
-{
- private HTTPUtil()
- {
- }
-
- public static String genURLEncodedParameters(IXSDFragment fragment)
- {
- if (fragment instanceof IXSDSimpleListFragment)
- return genURLEncodedParamsFromListFragment((IXSDSimpleListFragment)fragment);
- else if (fragment instanceof IXSDSimpleAtomicFragment)
- return genURLEncodedParamsFromAtomicFragment((IXSDSimpleAtomicFragment)fragment);
- else
- return genURLEncodedXMLParameters(fragment);
- }
-
- private static String genURLEncodedParamsFromAtomicFragment(IXSDSimpleAtomicFragment fragment)
- {
- StringBuffer urlEncodedParam = new StringBuffer();
- String[] params = fragment.getParameterValues(fragment.getID());
- for (int i = 0; i < params.length; i++)
- {
- urlEncodedParam.append(URLUtils.encode(fragment.getName()));
- urlEncodedParam.append("=");
- urlEncodedParam.append(URLUtils.encode(params[i]));
- if (i < params.length - 1)
- urlEncodedParam.append("&");
- }
- return urlEncodedParam.toString();
- }
-
- private static String genURLEncodedParamsFromListFragment(IXSDSimpleListFragment fragment)
- {
- StringBuffer urlEncodedParam = new StringBuffer();
- IXSDFragment[] childFrags = fragment.getAllFragments();
- for (int i = 0; i < childFrags.length; i++)
- {
- urlEncodedParam.append(URLUtils.encode(fragment.getName()));
- urlEncodedParam.append("=");
- String[] params = childFrags[i].getParameterValues(childFrags[i].getID());
- StringBuffer paramBuffer = new StringBuffer();
- for (int j = 0; j < params.length; j++)
- {
- paramBuffer.append(params[j]);
- if (j < params.length - 1)
- paramBuffer.append(FragmentConstants.LIST_SEPERATOR);
- }
- urlEncodedParam.append(URLUtils.encode(paramBuffer.toString()));
- if (i < childFrags.length - 1)
- urlEncodedParam.append("&");
- }
- return urlEncodedParam.toString();
- }
-
- private static String genURLEncodedXMLParameters(IXSDFragment fragment)
- {
- StringBuffer urlEncodedParam = new StringBuffer();
- Hashtable soapEnvelopeNamespaceTable = new Hashtable();
- soapEnvelopeNamespaceTable.put(Constants.URI_SOAP11_ENV, Constants.NS_PREFIX_SOAP_ENV);
- soapEnvelopeNamespaceTable.put(Constants.URI_2001_SCHEMA_XSI, Constants.NS_PREFIX_SCHEMA_XSI);
- soapEnvelopeNamespaceTable.put(Constants.URI_2001_SCHEMA_XSD, Constants.NS_PREFIX_SCHEMA_XSD);
- Element[] instanceDocuments = new Element[0];
- try
- {
- instanceDocuments = fragment.genInstanceDocumentsFromParameterValues(true, soapEnvelopeNamespaceTable, XMLUtils.createNewDocument(null));
- }
- catch (ParserConfigurationException pce)
- {
- }
- for (int i = 0; i < instanceDocuments.length; i++)
- {
- urlEncodedParam.append(URLUtils.encode(fragment.getName()));
- urlEncodedParam.append("=");
- urlEncodedParam.append(URLUtils.encode(XMLUtils.serialize(instanceDocuments[i], true)));
- if (i < instanceDocuments.length - 1)
- urlEncodedParam.append("&");
- }
- return urlEncodedParam.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/OptionVector.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/OptionVector.java
deleted file mode 100644
index 412881df3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/OptionVector.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util;
-
-import java.util.Vector;
-
-public class OptionVector
-{
- private Vector options_;
-
- public OptionVector()
- {
- options_ = new Vector();
- }
-
- public void addOption(String displayValue,String value)
- {
- options_.addElement(new Option(displayValue,value));
- }
-
- public String getDisplayValue(int position)
- {
- Option option = (Option)options_.elementAt(position);
- return option.getDisplayValue();
- }
-
- public String getValue(int position)
- {
- Option option = (Option)options_.elementAt(position);
- return option.getValue();
- }
-
- public int size()
- {
- return options_.size();
- }
-
- private final class Option
- {
- private String displayValue_;
- private String value_;
- public Option(String displayValue,String value)
- {
- displayValue_ = displayValue;
- value_ = value;
- }
-
- public final String getDisplayValue()
- {
- return displayValue_;
- }
-
- public final String getValue()
- {
- return value_;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/XSDTypeDefinitionUtil.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/XSDTypeDefinitionUtil.java
deleted file mode 100644
index a8e250f87..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/fragment/util/XSDTypeDefinitionUtil.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util;
-
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.xsd.XSDComplexTypeContent;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-public class XSDTypeDefinitionUtil {
- private XSDTypeDefinitionUtil() {
- }
-
- public static boolean isXSDBuiltInTypeDefinition(XSDTypeDefinition type) {
- if (type == null)
- return false;
- String ns = type.getTargetNamespace();
- return (ns != null && ns.equals(FragmentConstants.URI_XSD));
- }
-
- public static boolean isRootTypeDefinition(XSDTypeDefinition type) {
- if (type == null)
- return true;
- XSDTypeDefinition baseType = type.getBaseType();
- if (baseType == null)
- return true;
- String typeNS = type.getTargetNamespace();
- String baseTypeNS = baseType.getTargetNamespace();
- String typeName = type.getName();
- String baseTypeName = baseType.getName();
- boolean sameNS;
- boolean sameName;
- if (typeNS == null && baseTypeNS == null)
- sameNS = true;
- else if (typeNS != null && baseTypeNS != null && typeNS.equals(baseTypeNS))
- sameNS = true;
- else
- sameNS = false;
- if (typeName == null && baseTypeName == null)
- sameName = true;
- else if (typeName != null && baseTypeName != null && typeName.equals(baseTypeName))
- sameName = true;
- else
- sameName = false;
- return (sameNS && sameName);
- }
-
- public static XSDTypeDefinition resolveToXSDBuiltInTypeDefinition(XSDTypeDefinition type) {
- if (type == null)
- return null;
- XSDTypeDefinition currType = type;
- while (!isXSDBuiltInTypeDefinition(currType)) {
- if (isRootTypeDefinition(currType))
- return null;
- currType = currType.getBaseType();
- }
- return currType;
- }
-
- public static boolean isSoapEncArray(XSDTypeDefinition type) {
- XSDTypeDefinition currType = type;
- if (currType != null)
- while(currType != null) {
- String ns = currType.getTargetNamespace();
- String name = currType.getName();
- if (FragmentConstants.URI_SOAP.equals(ns) && FragmentConstants.QNAME_LOCAL_NAME_ARRAY.equals(name))
- return true;
- else if (isRootTypeDefinition(currType))
- return false;
- else
- currType = currType.getBaseType();
- }
- return false;
- }
-
- /**
- * Returns the complex type content given a complex type.
- * If complexType is a user defined type:
- * This method will return the user defined complex content of this type or the content of the extended
- * or derived type iff the extended or derived type is not a built-in XSD type (for example, xsd:anyType).
- * If complexType is a built-in XSD type:
- * It will return the complex content of this built-in XSD complex type. It will not return the
- * complex content of its extended or derived type.
- * @param complexType XSDComplexTypeDefinition complex type.
- * @return XSDComplexTypeContent XSDComplexTypeContent the resolved complex type content.
- **/
- public static XSDComplexTypeContent getXSDComplexTypeContent(XSDComplexTypeDefinition complexType)
- {
- if (!isXSDBuiltInTypeDefinition(complexType))
- {
- XSDTypeDefinition type = complexType;
- while (!isXSDBuiltInTypeDefinition(type) && (type instanceof XSDComplexTypeDefinition))
- {
- XSDComplexTypeContent complexTypeContent = ((XSDComplexTypeDefinition)type).getContent();
- if (complexTypeContent != null)
- return complexTypeContent;
- if (isRootTypeDefinition(type))
- return null;
- type = type.getBaseType();
- }
- return null;
- }
- else
- return complexType.getContent();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/DetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/DetailsTool.java
deleted file mode 100644
index e60ca2e9a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/DetailsTool.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction;
-
-public abstract class DetailsTool extends FormTool {
-
- public String formLink_;
-
- public DetailsTool(ToolManager toolManager, String alt, String formLink) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- formLink_ = formLink;
- }
-
- protected void initDefaultProperties() {
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSDLPropertiesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return formLink_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/InvokeWSDLOperationTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/InvokeWSDLOperationTool.java
deleted file mode 100644
index 17cc13ea4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/InvokeWSDLOperationTool.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-
-public class InvokeWSDLOperationTool extends FormTool {
-
- private String fragmentViewID_;
- private String fragmentNameAnchorID_;
- private String endPoint_;
-
- public InvokeWSDLOperationTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsdl/images/invoke_wsdl_operation_enabled.gif", "wsdl/images/invoke_wsdl_operation_highlighted.gif", alt);
- fragmentViewID_ = FragmentConstants.FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM;
- fragmentNameAnchorID_ = null;
- endPoint_ = null;
- }
-
- protected void initDefaultProperties() {
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSDLPropertiesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- StringBuffer formLink = new StringBuffer();
- formLink.append("wsdl/forms/InvokeWSDLOperationForm.jsp");
- String nameAnchorID = getFragmentNameAnchorID();
- if (nameAnchorID != null && nameAnchorID.length() > 0) {
- formLink.append("#");
- formLink.append(nameAnchorID);
- setFragmentNameAnchorID(null);
- }
- return formLink.toString();
- }
-
- public String getFormActionLink(int operationType,String fragmentViewID)
- {
- switch (operationType)
- {
- case WSDLOperationElement.OPERATION_TYPE_SOAP:
- if (fragmentViewID.equals(FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE))
- return "wsdl/actions/InvokeWSDLSOAPOperationSourceActionJSP.jsp";
- else
- return "wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp";
- case WSDLOperationElement.OPERATION_TYPE_HTTP_GET:
- return "wsdl/actions/InvokeWSDLHttpGetOperationFormActionJSP.jsp";
- case WSDLOperationElement.OPERATION_TYPE_HTTP_POST:
- default:
- return "wsdl/actions/InvokeWSDLHttpPostOperationFormActionJSP.jsp";
- }
- }
-
- public String getFragmentViewID() {
- return fragmentViewID_;
- }
-
- public void setFragmentViewID(String fragmentViewID) {
- fragmentViewID_ = fragmentViewID;
- }
-
- public String getFragmentNameAnchorID() {
- return fragmentNameAnchorID_;
- }
-
- public void setFragmentNameAnchorID(String fragmentNameAnchorID) {
- fragmentNameAnchorID_ = fragmentNameAnchorID;
- }
-
- public String getEndPoint()
- {
- return endPoint_;
- }
-
- public void setEndPoint(String endPoint)
- {
- endPoint_ = endPoint;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/OpenWSDLTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/OpenWSDLTool.java
deleted file mode 100644
index d352109b5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/OpenWSDLTool.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction;
-
-public class OpenWSDLTool extends FormTool {
-
- public OpenWSDLTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsdl/images/open_wsdl_enabled.gif", "wsdl/images/open_wsdl_highlighted.gif", alt);
- }
-
- protected void initDefaultProperties() {
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSDLPropertiesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "wsdl/forms/OpenWSDLForm.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/SOAPMessageQueue.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/SOAPMessageQueue.java
deleted file mode 100644
index c854ebeb2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/SOAPMessageQueue.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-
-public class SOAPMessageQueue extends MessageQueue
-{
- private Vector cachedMessageList_;
-
- public SOAPMessageQueue()
- {
- super();
- cachedMessageList_ = new Vector();
- }
-
- public void clear()
- {
- cachedMessageList_.removeAllElements();
- messageList_.removeAllElements();
- }
-
- public String getMessagesFromList()
- {
- if (messageList_.size() == 0)
- copyMessages(cachedMessageList_,messageList_);
- else
- copyMessages(messageList_,cachedMessageList_);
- return super.getMessagesFromList();
- }
-
- private final void copyMessages(Vector sourceList,Vector destList)
- {
- for (int i=0;i<sourceList.size();i++)
- destList.addElement(sourceList.elementAt(i));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLAddToFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLAddToFavoritesTool.java
deleted file mode 100644
index 271d671b7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLAddToFavoritesTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.WSDLAddToFavoritesAction;
-
-public class WSDLAddToFavoritesTool extends ActionTool {
- public WSDLAddToFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/favorites_enabled.gif", "images/favorites_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSDLPropertiesToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return WSDLAddToFavoritesAction.getActionLink(selectedNode.getNodeId());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingDetailsTool.java
deleted file mode 100644
index 4b90d81e6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingDetailsTool.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class WSDLBindingDetailsTool extends DetailsTool {
-
- public WSDLBindingDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, alt, "wsdl/forms/WSDLBindingDetailsForm.jsp");
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingNode.java
deleted file mode 100644
index 93c04b961..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLBindingNode.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-
-// WSDL binding node for the WSDL Navigator Tree View
-public class WSDLBindingNode extends WSDLNavigatorNode
-{
- public WSDLBindingNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"wsdl/images/wsdl_binding_node.gif");
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(WSDLModelConstants.REL_WSDL_OPERATION)) {
- WSDLOperationNode wsdlOperationNode = new WSDLOperationNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(wsdlOperationNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(WSDLModelConstants.REL_WSDL_OPERATION)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(WSDLModelConstants.REL_WSDL_OPERATION)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- setVisibilityOfChildren(false);
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- new WSDLBindingDetailsTool(toolManager_, wsdlPerspective.getMessage("ALT_WSDL_BINDING_DETAILS"));
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLDetailsTool.java
deleted file mode 100644
index 279eadff7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLDetailsTool.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class WSDLDetailsTool extends DetailsTool {
-
- public static final int FORM_VIEW_ID = 0;
- public static final int SOURCE_VIEW_ID = 1;
-
- private int viewId_;
-
- public WSDLDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, alt, "wsdl/forms/WSDLDetailsForm.jsp");
- viewId_ = FORM_VIEW_ID;
- }
-
- public int getViewId() {
- return viewId_;
- }
-
- public void setViewId(int viewId) {
- if (viewId == FORM_VIEW_ID || viewId == SOURCE_VIEW_ID)
- viewId_ = viewId;
- }
-
- public void toggleViewId() {
- if (viewId_ == FORM_VIEW_ID)
- viewId_ = SOURCE_VIEW_ID;
- else
- viewId_ = FORM_VIEW_ID;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToFileSystemTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToFileSystemTool.java
deleted file mode 100644
index 3b191a3b4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToFileSystemTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToFileSystemTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.WSDLImportWSDLToFileSystemAction;
-
-public class WSDLImportWSDLToFileSystemTool extends ImportToFileSystemTool {
- public WSDLImportWSDLToFileSystemTool(ToolManager toolManager,String alt) {
- super(toolManager,alt);
- }
-
- public final String getSelectToolActionHref(boolean forHistory) {
- Node node = toolManager_.getNode();
- return SelectWSDLPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public final String getActionLink() {
- Node node = toolManager_.getNode();
- return WSDLImportWSDLToFileSystemAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToWorkbenchTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToWorkbenchTool.java
deleted file mode 100644
index 5dccc9500..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLImportWSDLToWorkbenchTool.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToWorkbenchTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction;
-
-public class WSDLImportWSDLToWorkbenchTool extends ImportToWorkbenchTool {
- public WSDLImportWSDLToWorkbenchTool(ToolManager toolManager,String alt) {
- super(toolManager,alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node node = toolManager_.getNode();
- return SelectWSDLPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public final String getFormLink() {
- return "wsdl/forms/WSDLImportWSDLToWorkbenchForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLLaunchWebServiceWizardTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLLaunchWebServiceWizardTool.java
deleted file mode 100644
index 36f9780eb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLLaunchWebServiceWizardTool.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.LaunchWebServiceWizardTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction;
-
-public class WSDLLaunchWebServiceWizardTool extends LaunchWebServiceWizardTool {
- public WSDLLaunchWebServiceWizardTool(ToolManager toolManager,String alt) {
- super(toolManager,alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node node = toolManager_.getNode();
- return SelectWSDLPropertiesToolAction.getActionLink(node.getNodeId(),toolId_,node.getViewId(),node.getViewToolId(),forHistory);
- }
-
- public final String getFormLink() {
- return "wsdl/forms/WSDLLaunchWebServiceWizardForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLMainNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLMainNode.java
deleted file mode 100644
index 5d54922fb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLMainNode.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-
-// Root node for the WSDL Navigator Tree View
-public class WSDLMainNode extends WSDLNavigatorNode
-{
- public WSDLMainNode(TreeElement element,NodeManager nodeManager)
- {
- super(element,nodeManager,1,"images/root_main.gif");
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(WSDLModelConstants.REL_WSDL)) {
- WSDLNode wsdlNode = new WSDLNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(wsdlNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(WSDLModelConstants.REL_WSDL)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(WSDLModelConstants.REL_WSDL)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- new OpenWSDLTool(toolManager_, wsdlPerspective.getMessage("ALT_OPEN_WSDL"));
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNavigatorNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNavigatorNode.java
deleted file mode 100644
index 45ef58b8f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNavigatorNode.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLNavigatorNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.ToggleWSDLNavigatorNodeAction;
-
-public abstract class WSDLNavigatorNode extends Node
-{
- public WSDLNavigatorNode(TreeElement element,NodeManager nodeManager,int nodeDepth,String imagePath)
- {
- super(element,nodeManager,nodeDepth,imagePath);
- }
-
- // wsdl/actions/ToggleWSDLNavigatorNodeAction.jsp?nodeId=...
- public final String getToggleNodeActionHref()
- {
- return ToggleWSDLNavigatorNodeAction.getActionLink(nodeId_,isOpen_);
- }
-
- // wsdl/actions/SelectWSDLNavigatorNodeAction.jsp?nodeId=...
- public final String getLinkActionHref()
- {
- return SelectWSDLNavigatorNodeAction.getActionLink(nodeId_,false);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNode.java
deleted file mode 100644
index 4144a86c9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLNode.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-
-// WSDL node for the WSDL Navigator Tree View
-public class WSDLNode extends WSDLNavigatorNode
-{
- public WSDLNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"images/wsdl.gif");
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(WSDLModelConstants.REL_WSDL_SERVICE)) {
- WSDLServiceNode wsdlServiceNode = new WSDLServiceNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(wsdlServiceNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(WSDLModelConstants.REL_WSDL_SERVICE)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(WSDLModelConstants.REL_WSDL_SERVICE)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- setVisibilityOfChildren(false);
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- new WSDLDetailsTool(toolManager_, wsdlPerspective.getMessage("ALT_WSDL_DETAILS"));
- new WSDLImportWSDLToWorkbenchTool(toolManager_, controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"));
- new WSDLImportWSDLToFileSystemTool(toolManager_, controller.getMessage("ALT_WSDL_IMPORT_TO_FS"));
- new WSDLLaunchWebServiceWizardTool(toolManager_, controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD"));
- new WSDLAddToFavoritesTool(toolManager_, wsdlPerspective.getMessage("ALT_ADD_WSDL_TO_FAVORITES"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java
deleted file mode 100644
index c03a0263a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-// WSDL operation node for the WSDL Navigator Tree View
-public class WSDLOperationNode extends WSDLNavigatorNode
-{
- public WSDLOperationNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"wsdl/images/wsdl_operation_node.gif");
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- }
- });
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- new InvokeWSDLOperationTool(toolManager_, wsdlPerspective.getMessage("ALT_INVOKE_WSDL_OPERATION"));
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLPerspective.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLPerspective.java
deleted file mode 100644
index 9f69b2f3c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLPerspective.java
+++ /dev/null
@@ -1,370 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-import javax.servlet.ServletContext;
-import javax.wsdl.Service;
-import org.eclipse.emf.ecore.impl.EcorePackageImpl;
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl;
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Perspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.OpenWSDLAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SwitchPerspectiveFromWSDLAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.UpdateWSDLBindingAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.BindingTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLBindingElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLServiceElement;
-import org.eclipse.xsd.impl.XSDPackageImpl;
-import org.eclipse.xsd.util.XSDResourceFactoryImpl;
-
-public class WSDLPerspective extends Perspective
-{
- public static final int STATUS_CONTENT_DEFAULT = 0;
- public static final int STATUS_CONTENT_RESULT_FORM = 1;
- public static final int STATUS_CONTENT_RESULT_SOURCE = 2;
-
- private BasicModel model_;
- private NodeManager nodeManager_;
- private String perspectiveContentFramesetCols_;
- private String savedPerspectiveContentFramesetCols_;
- private String actionsContainerFramesetRows_;
- private String savedActionsContainerFramesetRows_;
- private int statusContentType_;
-
- private SOAPMessageQueue soapRequestQueue_;
- private SOAPMessageQueue soapResponseQueue_;
- private Node operationNode_;
-
- static
- {
- // Initialize the XSD subsystem.
- (new ResourceFactoryRegistryImpl()).getExtensionToFactoryMap().put("xsd",new XSDResourceFactoryImpl());
- // port to org.eclipse.xsd
- // Init.init();
- EcorePackageImpl.init();
- XSDPackageImpl.init();
- }
-
- public WSDLPerspective(Controller controller)
- {
- super("wsdl",controller);
- }
-
- public final void initPerspective(ServletContext application)
- {
- model_ = new BasicModel("wsdlModel");
- TreeElement treeElement = new TreeElement(getMessage("NODE_NAME_WSDL_MAIN"), model_);
- model_.setRootElement(treeElement);
- nodeManager_ = new NodeManager(controller_);
- WSDLMainNode wsdlMainNode = new WSDLMainNode(treeElement, nodeManager_);
- nodeManager_.setRootNode(wsdlMainNode);
-
- // Starting frameset sizes.
- if (!DirUtils.isRTL())
- perspectiveContentFramesetCols_ = "30%,*";
- else
- perspectiveContentFramesetCols_ = "*,30%";
- savedPerspectiveContentFramesetCols_ = perspectiveContentFramesetCols_;
- actionsContainerFramesetRows_ = "75%,*";
- savedActionsContainerFramesetRows_ = actionsContainerFramesetRows_;
-
- // Message status pane
- statusContentType_ = STATUS_CONTENT_DEFAULT;
- soapRequestQueue_ = new SOAPMessageQueue();
- soapResponseQueue_ = new SOAPMessageQueue();
- operationNode_ = null;
- }
-
- public final void preloadWSDL(String[] wsdlURLs) {
- if (wsdlURLs != null) {
- for (int i = 0; i < wsdlURLs.length; i++) {
- OpenWSDLAction openWSDLAction = new OpenWSDLAction(controller_);
- Hashtable propertyTable = openWSDLAction.getPropertyTable();
- String decodedWSDLURL = URLUtils.decode(wsdlURLs[i]);
- propertyTable.put(ActionInputs.QUERY_INPUT_WSDL_URL, decodedWSDLURL);
- openWSDLAction.run();
- }
- if (wsdlURLs.length > 0)
- controller_.setCurrentPerspective(ActionInputs.PERSPECTIVE_WSDL);
- }
- }
-
- public final void preloadEndpoints(String[] wsdlURLs, String[] endpoints)
- {
- if (wsdlURLs != null && wsdlURLs.length > 0 && endpoints != null && endpoints.length > 0)
- {
- String wsdlURL = wsdlURLs[0];
- Vector wsdlNodes = nodeManager_.getRootNode().getChildNodes();
- for (Iterator wsdlNodesIterator = wsdlNodes.iterator(); wsdlNodesIterator.hasNext();)
- {
- Node wsdlNode = (Node)wsdlNodesIterator.next();
- if (wsdlNode.getNodeName().equals(wsdlURL))
- {
- Vector serviceNodes = wsdlNode.getChildNodes();
- for (Iterator serviceNodesIterator = serviceNodes.iterator(); serviceNodesIterator.hasNext();)
- {
- Node serviceNode = (Node)serviceNodesIterator.next();
- Vector bindingNodes = serviceNode.getChildNodes();
- String[] nodeIds = new String[bindingNodes.size()];
- for (int i = 0; i < nodeIds.length; i++)
- nodeIds[i] = String.valueOf(((Node)bindingNodes.get(i)).getNodeId());
- UpdateWSDLBindingAction action = new UpdateWSDLBindingAction(controller_);
- Hashtable propertyTable = new Hashtable();
- propertyTable.put(ActionInputs.NODEID, nodeIds);
- propertyTable.put(WSDLActionInputs.END_POINT, endpoints);
- action.setPropertyTable(propertyTable);
- action.execute(false);
- }
- return;
- }
- }
- }
- }
-
- public final void preselectServiceOrBinding(String[] wsdlURLs,String[] serviceQNameStrings,String[] bindingNameStrings)
- {
- if (wsdlURLs != null && wsdlURLs.length > 0)
- {
- String wsdlURL = wsdlURLs[0];
- if (serviceQNameStrings != null && serviceQNameStrings.length > 0)
- preselectService(wsdlURL,serviceQNameStrings[0]);
- else
- {
- if (bindingNameStrings != null && bindingNameStrings.length > 0)
- preselectBinding(wsdlURL,bindingNameStrings[0]);
- }
- }
- }
-
- private final void preselectService(String wsdlURL,String serviceQNameString)
- {
- Vector wsdlNodes = nodeManager_.getRootNode().getChildNodes();
- for (int i=0;i<wsdlNodes.size();i++)
- {
- Node wsdlNode = (Node)wsdlNodes.elementAt(i);
- if (wsdlNode.getNodeName().equals(wsdlURL))
- {
- Vector serviceNodes = wsdlNode.getChildNodes();
- for (int j=0;j<serviceNodes.size();j++)
- {
- Node serviceNode = (Node)serviceNodes.elementAt(j);
- WSDLServiceElement serviceElement = (WSDLServiceElement)serviceNode.getTreeElement();
- Service service = serviceElement.getService();
- if (service.getQName().toString().equals(serviceQNameString))
- {
- nodeManager_.setSelectedNodeId(serviceNode.getNodeId());
- nodeManager_.makeSelectedNodeVisible();
- controller_.setCurrentPerspective(ActionInputs.PERSPECTIVE_WSDL);
- return;
- }
- }
- }
- }
- }
-
- private final void preselectBinding(String wsdlURL,String bindingNameString)
- {
- Vector wsdlNodes = nodeManager_.getRootNode().getChildNodes();
- for (int i=0;i<wsdlNodes.size();i++)
- {
- Node wsdlNode = (Node)wsdlNodes.elementAt(i);
- if (wsdlNode.getNodeName().equals(wsdlURL))
- {
- Vector serviceNodes = wsdlNode.getChildNodes();
- for (int j=0;j<serviceNodes.size();j++)
- {
- Node serviceNode = (Node)serviceNodes.elementAt(j);
- Vector bindingNodes = serviceNode.getChildNodes();
- for (int k=0;k<bindingNodes.size();k++)
- {
- Node bindingNode = (Node)bindingNodes.elementAt(k);
- WSDLBindingElement bindingElement = (WSDLBindingElement)bindingNode.getTreeElement();
- if (bindingElement.getBinding().getQName().toString().equals(bindingNameString))
- {
- nodeManager_.setSelectedNodeId(bindingNode.getNodeId());
- nodeManager_.makeSelectedNodeVisible();
- controller_.setCurrentPerspective(ActionInputs.PERSPECTIVE_WSDL);
- return;
- }
- }
- }
- }
- }
- }
-
- public NodeManager getNodeManager()
- {
- return nodeManager_;
- }
-
- public String getPerspectiveContentPage()
- {
- return "wsdl/wsdl_perspective_content.jsp";
- }
-
- public int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSDL;
- }
-
- public String getPanesFile()
- {
- return "wsdl/scripts/wsdlpanes.jsp";
- }
-
- public String getFramesetsFile()
- {
- return "wsdl/scripts/wsdlframesets.jsp";
- }
-
- public String getProcessFramesetsForm()
- {
- return "wsdl/forms/ProcessWSDLFramesetsForm.jsp";
- }
-
- public String getTreeContentVar()
- {
- return "wsdlNavigatorContent";
- }
-
- public String getTreeContentPage()
- {
- return "wsdl/wsdl_navigator_content.jsp";
- }
-
- public String getPropertiesContainerVar()
- {
- return "wsdlPropertiesContainer";
- }
-
- public String getPropertiesContainerPage()
- {
- return "wsdl/wsdl_properties_container.jsp";
- }
-
- public String getStatusContentVar()
- {
- return "wsdlStatusContent";
- }
-
- public String getStatusContentPage()
- {
- return "wsdl/wsdl_status_content.jsp";
- }
-
- public final String getPerspectiveContentFramesetCols()
- {
- return perspectiveContentFramesetCols_;
- }
-
- public final void setPerspectiveContentFramesetCols(String cols)
- {
- perspectiveContentFramesetCols_ = cols;
- }
-
- public final void setSavedPerspectiveContentFramesetCols(String cols)
- {
- savedPerspectiveContentFramesetCols_ = cols;
- }
-
- public final String getSavedPerspectiveContentFramesetCols()
- {
- return savedPerspectiveContentFramesetCols_;
- }
-
- public final String getActionsContainerFramesetRows()
- {
- return actionsContainerFramesetRows_;
- }
-
- public final void setActionsContainerFramesetRows(String rows)
- {
- actionsContainerFramesetRows_ = rows;
- }
-
- public final void setSavedActionsContainerFramesetRows(String rows)
- {
- savedActionsContainerFramesetRows_ = rows;
- }
-
- public final String getSavedActionsContainerFramesetRows()
- {
- return savedActionsContainerFramesetRows_;
- }
-
- public final String getSwitchPerspectiveFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- return SwitchPerspectiveFromWSDLAction.getFormActionLink(targetPerspectiveId,forHistory);
- }
-
- public final int getStatusContentType()
- {
- return statusContentType_;
- }
-
- public final void setStatusContentType(int statusContentType)
- {
- statusContentType_ = statusContentType;
- }
-
- public final SOAPMessageQueue getSOAPRequestQueue()
- {
- return soapRequestQueue_;
- }
-
- public final SOAPMessageQueue getSOAPResponseQueue()
- {
- return soapResponseQueue_;
- }
-
- public final Node getOperationNode()
- {
- return operationNode_;
- }
-
- public final void setOperationNode(Node operationNode)
- {
- operationNode_ = operationNode;
- }
-
- public final String getSOAPEnvelopeXMLLink(int soapEnvelopeType)
- {
- StringBuffer link = new StringBuffer("wsdl/soap_envelope_xml.jsp?");
- link.append(WSDLActionInputs.SOAP_ENVELOPE_TYPE).append('=').append(soapEnvelopeType);
- return link.toString();
- }
-
- public final String getBindingTypeString(int bindingType)
- {
- switch (bindingType)
- {
- case BindingTypes.SOAP:
- return getMessage("FORM_LABEL_BINDING_TYPE_SOAP");
- case BindingTypes.HTTP_GET:
- return getMessage("FORM_LABEL_BINDING_TYPE_HTTP_GET");
- case BindingTypes.HTTP_POST:
- return getMessage("FORM_LABEL_BINDING_TYPE_HTTP_POST");
- default:
- return getMessage("FORM_LABEL_BINDING_TYPE_UNSUPPORTED");
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceDetailsTool.java
deleted file mode 100644
index 457fe9b61..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceDetailsTool.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class WSDLServiceDetailsTool extends DetailsTool {
-
- public WSDLServiceDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, alt, "wsdl/forms/WSDLServiceDetailsForm.jsp");
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceNode.java
deleted file mode 100644
index ae9268678..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLServiceNode.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLModelConstants;
-
-// WSDL service node for the WSDL Navigator Tree View
-public class WSDLServiceNode extends WSDLNavigatorNode
-{
- public WSDLServiceNode(TreeElement element,NodeManager nodeManager,int nodeDepth)
- {
- super(element,nodeManager,nodeDepth,"wsdl/images/wsdl_service_node.gif");
- element.addListener(new ElementAdapter()
- {
- public void relAdded(RelAddEvent event)
- {
- String rel = event.getOutBoundRelName();
- if (rel.equals(WSDLModelConstants.REL_WSDL_BINDING)) {
- WSDLBindingNode wsdlBindingNode = new WSDLBindingNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(wsdlBindingNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event)
- {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(WSDLModelConstants.REL_WSDL_BINDING)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(WSDLModelConstants.REL_WSDL_BINDING)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- setVisibilityOfChildren(false);
- }
-
- protected final void initTools()
- {
- Controller controller = nodeManager_.getController();
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- new WSDLServiceDetailsTool(toolManager_, wsdlPerspective.getMessage("ALT_WSDL_SERVICE_DETAILS"));
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transformer/FragmentTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transformer/FragmentTransformer.java
deleted file mode 100644
index beb4bf25c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transformer/FragmentTransformer.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.transformer;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-import javax.wsdl.Part;
-import javax.xml.parsers.ParserConfigurationException;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.IXSDFragment;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class FragmentTransformer implements ITransformer
-{
- protected Controller controller;
-
- public FragmentTransformer(Controller controller)
- {
- this.controller = controller;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- StringBuffer sb = new StringBuffer();
- sb.append("<root>");
- WSDLOperationElement operElement = (WSDLOperationElement)controller.getWSDLPerspective().getNodeManager().getSelectedNode().getTreeElement();
- Iterator it = operElement.getOrderedBodyParts().iterator();
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = (IXSDFragment)operElement.getFragment(part);
- Element[] elements = new Element[0];
- try
- {
- elements = frag.genInstanceDocumentsFromParameterValues(!operElement.isUseLiteral(), new Hashtable(), XMLUtils.createNewDocument(null));
- }
- catch (ParserConfigurationException pce)
- {
- }
- for (int i = 0; i < elements.length; i++)
- sb.append(XMLUtils.serialize(elements[i], true));
- }
- sb.append("</root>");
- properties.put(FragmentConstants.SOURCE_CONTENT, sb.toString());
- return properties;
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- String source = (String) properties.get(FragmentConstants.SOURCE_CONTENT);
- if (source != null)
- {
- try
- {
- Element root = XMLUtils.stringToElement(source);
- if (root != null)
- {
- NodeList childNodes = root.getChildNodes();
- Vector childrenVector = new Vector();
- for (int i = 0; i < childNodes.getLength(); i++)
- {
- Node child = childNodes.item(i);
- if (child instanceof Element)
- childrenVector.add(child);
- }
- Element[] children = (Element[])childrenVector.toArray(new Element[0]);
- WSDLOperationElement operElement = (WSDLOperationElement) controller.getWSDLPerspective().getNodeManager().getSelectedNode().getTreeElement();
- Iterator it = operElement.getOrderedBodyParts().iterator();
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = (IXSDFragment)operElement.getFragment(part);
- frag.setParameterValuesFromInstanceDocuments(children);
- }
- }
- }
- catch (Throwable t)
- {
- }
- }
- return properties;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/ChunkedInputStream.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/ChunkedInputStream.java
deleted file mode 100644
index 8724cf363..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/ChunkedInputStream.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport;
-
-import java.io.FilterInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-
-public class ChunkedInputStream extends FilterInputStream
-{
- protected long chunkSize = 0l;
- protected volatile boolean closed = false;
- private static final int maxCharLong = (Long.toHexString(Long.MAX_VALUE)).toString().length();
-
- private ChunkedInputStream()
- {
- super(null);
- }
-
- public ChunkedInputStream(InputStream is)
- {
- super(is);
- }
-
- public int read() throws IOException
- {
- byte[] d = new byte[1];
- int rc = read(d, 0, 1);
- return rc > 0 ? (d[0] & 0xFF) : rc;
- }
-
- public int read(byte[] b) throws IOException
- {
- return read(b, 0, b.length);
- }
-
- public synchronized int read(byte[] b, int off, int len) throws IOException
- {
- if (closed)
- return -1;
-
- int totalread = 0;
- int bytesread = 0;
- try
- {
- do
- {
- if (chunkSize < 1L)
- {
- if (0l == getChunked())
- {
- if (totalread == 0)
- return -1;
- else
- return totalread;
- }
- }
- bytesread = in.read(b, off + totalread, Math.min(len - totalread, (int) Math.min(chunkSize, Integer.MAX_VALUE)));
- if (bytesread > 0)
- {
- totalread += bytesread;
- chunkSize -= bytesread;
- }
- }
- while (len - totalread > 0 && bytesread > -1);
- }
- catch (IOException e)
- {
- closed = true;
- throw e;
- }
- return totalread;
- }
-
- public long skip(final long n) throws IOException
- {
- if (closed)
- return 0;
- long skipped = 0l;
- byte[] b = new byte[1024];
- int bread = -1;
- do
- {
- bread = read(b, 0, b.length);
- if (bread > 0)
- skipped += bread;
- }
- while (bread != -1 && skipped < n);
- return skipped;
- }
-
- public int available() throws IOException
- {
- if (closed)
- return 0;
- int rc = (int) Math.min(chunkSize, Integer.MAX_VALUE);
- return Math.min(rc, in.available());
- }
-
- protected long getChunked() throws IOException
- {
- //StringBuffer buf= new StringBuffer(1024);
- byte[] buf = new byte[maxCharLong + 2];
- int bufsz = 0;
- chunkSize = -1L;
- int c = -1;
- do
- {
- c = in.read();
- if (c > -1)
- {
- if (c != '\r' && c != '\n' && c != ' ' && c != '\t')
- {
- buf[bufsz++] = ((byte) c);
- }
- }
- }
- while (c > -1 && (c != '\n' || bufsz == 0) && bufsz < buf.length);
- if (c < 0)
- {
- closed = true;
- }
- String sbuf = new String(buf, 0, bufsz);
- if (bufsz > maxCharLong)
- {
- closed = true;
- throw new IOException("Chunked input stream failed to receive valid chunk size:" + sbuf);
- }
- try
- {
- chunkSize = Long.parseLong(sbuf, 16);
- }
- catch (NumberFormatException ne)
- {
- closed = true;
- throw new IOException("'" + sbuf + "' " + ne.getMessage());
- }
- if (chunkSize < 1L)
- closed = true;
- if (chunkSize != 0L && c < 0)
- {
- //If chunk size is zero try and be tolerant that there maybe no cr or lf
- // at the end.
- throw new IOException("HTTP Chunked stream closed in middle of chunk.");
- }
- if (chunkSize < 0L)
- throw new IOException("HTTP Chunk size received " + chunkSize + " is less than zero.");
- return chunkSize;
- }
-
- public void close() throws IOException
- {
- synchronized (this)
- {
- if (closed)
- return;
- closed = true;
- }
- byte[] b = new byte[1024];
- int bread = -1;
- do
- {
- bread = read(b, 0, b.length);
- }
- while (bread != -1);
- }
-
- /*
- * public void mark(int readlimit)
- * {
- * }
- */
-
- public void reset() throws IOException
- {
- throw new IOException("Don't support marked streams");
- }
-
- public boolean markSupported()
- {
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPException.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPException.java
deleted file mode 100644
index 28588328d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPException.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport;
-
-import java.util.Map;
-
-public class HTTPException extends RuntimeException
-{
- /**
- * Comment for <code>serialVersionUID</code>
- */
- private static final long serialVersionUID = 3256438105900134961L;
-private int statusCode;
- private String statusMessage;
- private Map headers;
-
- public HTTPException(int statusCode, String statusMessage, Map headers)
- {
- super(statusMessage);
- this.statusCode = statusCode;
- this.statusMessage = statusMessage;
- this.headers = headers;
- }
-
- public int getStatusCode()
- {
- return statusCode;
- }
-
- public String getStatusMessage()
- {
- return statusMessage;
- }
-
- public Map getHeaders()
- {
- return headers;
- }
-
- public String getHeader(String key)
- {
- Object value = headers.get(key);
- if (value != null)
- return value.toString();
- else
- return null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPResponse.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPResponse.java
deleted file mode 100644
index 65b61afd4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPResponse.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport;
-
-import java.util.Hashtable;
-import java.util.Map;
-
-public class HTTPResponse
-{
- private boolean statusSet;
- private int statusCode;
- private String statusMessage;
- private Hashtable headers;
- private byte[] payload;
-
- public HTTPResponse()
- {
- reset();
- }
-
- public void reset()
- {
- statusSet = false;
- statusCode = -1;
- statusMessage = null;
- if (headers != null)
- headers.clear();
- else
- headers = new Hashtable();
- payload = new byte[0];
- }
-
- public boolean isStatusSet()
- {
- return statusSet;
- }
-
- public int getStatusCode()
- {
- return statusCode;
- }
-
- public void setStatusCode(int statusCode)
- {
- statusSet = true;
- this.statusCode = statusCode;
- }
-
- public String getStatusMessage()
- {
- return statusMessage;
- }
-
- public void setStatusMessage(String statusMessage)
- {
- this.statusMessage = statusMessage;
- }
-
- public void addHeader(String key, String value)
- {
- headers.put(key, value);
- }
-
- public String getHeader(String key)
- {
- return (String) headers.get(key);
- }
-
- public Map getHeaders()
- {
- return headers;
- }
-
- public byte[] getPayload()
- {
- return payload;
- }
-
- public void setPayload(byte[] payload)
- {
- this.payload = payload;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPTransport.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPTransport.java
deleted file mode 100644
index 76849dea3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPTransport.java
+++ /dev/null
@@ -1,616 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * -------- -------- -----------------------------------------------------------
- * 20060131 125777 jesper@selskabet.org - Jesper S Moller
- * 20060222 118019 andyzhai@ca.ibm.com - Andy Zhai
- * 20060222 128564 jesper@selskabet.org - Jesper S Moller
- * 20060823 99034 makandre@ca.ibm.com - Andrew Mak, WSE support for basic-authenticating firewalls
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport;
-
-import java.io.BufferedReader;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.net.Socket;
-import java.net.SocketTimeoutException;
-import java.net.URL;
-import java.net.UnknownHostException;
-import java.util.Hashtable;
-import javax.net.ssl.SSLSocketFactory;
-import org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils;
-import org.w3c.dom.Element;
-import sun.misc.BASE64Encoder;
-
-public class HTTPTransport
-{
- private final String SYS_PROP_HTTPS_PROXY_HOST = "https.proxyHost";
- private final String SYS_PROP_HTTPS_PROXY_PORT = "https.proxyPort";
- private final String SYS_PROP_HTTPS_NON_PROXY_HOSTS = "https.nonProxyHosts";
- private final String SYS_PROP_HTTP_PROXY_HOST = "http.proxyHost";
- private final String SYS_PROP_HTTP_PROXY_PORT = "http.proxyPort";
- private final String SYS_PROP_HTTP_PROXY_USER_NAME = "http.proxyUserName";
- private final String SYS_PROP_HTTP_PROXY_PASSWORD = "http.proxyPassword";
- private final String SYS_PROP_HTTP_NON_PROXY_HOSTS = "http.nonProxyHosts";
-
- private final String HTTP_METHOD = "POST";
- private final String HTTP_CONNECT = "CONNECT";
- private final String HTTP_VERSION_1_0 = "HTTP/1.0";
- private final String HTTP_VERSION = "HTTP/1.1";
- private final String HTTP_HEADER_SOAP_ACTION = "SOAPAction";
- public static final String HTTP_HEADER_AUTH = "Authorization";
- public static final String HTTP_HEADER_WWW_AUTH = "WWW-Authenticate";
- private final String HTTP_HEADER_PROXY_AUTH = "Proxy-authorization";
- private final String HTTP_HEADER_COOKIE = "Cookie";
- private final String HTTP_HEADER_COOKIE2 = "Cookie2";
- private final String HTTP_HEADER_HOST = "Host";
- private final String HTTP_HEADER_CONTENT_TYPE = "Content-Type";
- public static final String HTTP_HEADER_CONTENT_LENGTH = "Content-Length";
- private final String HTTP_HEADER_ACCEPT = "Accept";
- private final String HTTP_HEADER_USER_AGENT = "User-Agent";
- private final String HTTP_HEADER_CACHE_CONTROL = "Cache-Control";
- private final String HTTP_HEADER_PRAGMA = "Pragma";
- private final String HTTP_HEADER_TRANSFER_ENCODEING = "Transfer-Encoding";
- private final String HTTP_HEADER_CONNECTION = "Connection";
-
- private final int HTTP_CODE_CONTINUE = 100;
- private final int HTTP_CODE_OK = 200;
- private final int HTTP_CODE_EXCEPTION = 300;
-
- private final String IBM_WEB_SERVICES_EXPLORER = "IBM Web Services Explorer";
- private final String TEXT_XML = "text/xml";
- private final String CONTENT_TYPE_VALUE = "text/xml; charset=utf-8";
- private final String ACCEPT_VALUE = "application/soap+xml, application/dime, multipart/related, text/*";
- public static final String BASIC = "Basic";
- private final String NO_CACHE = "no-cache";
- private final String CHUNKED = "chunked";
- private final String CLOSE = "close";
- private final String HTTPS = "https";
- private final char QUOTE = '\"';
- public static final char COLON = ':';
- private final char SPACE = ' ';
- private final char TAB = '\t';
- private final char R = '\r';
- private final char N = '\n';
- private final char ROOT = '/';
- private final String NEW_LINE = "\r\n";
- private final String EMPTY_STRING = "";
-
- private final int DEFAULT_HTTP_PORT = 80;
- private final int DEFAULT_HTTPS_PORT = 443;
- private final String DEFAULT_SOAP_ENCODING = "UTF-8";
- private final String DEFAULT_HTTP_HEADER_ENCODING = "iso-8859-1";
- private final boolean DEFAULT_CASE_SENSITIVE_FOR_HOST_NAME = false;
-
- private String httpBasicAuthUsername;
- private String httpBasicAuthPassword;
- private boolean maintainSession = false;
- private String cookie;
- private String cookie2;
- private HTTPResponse httpResponse;
-
- public String getHttpBasicAuthUsername()
- {
- return httpBasicAuthUsername;
- }
-
- public void setHttpBasicAuthUsername(String httpBasicAuthUsername)
- {
- this.httpBasicAuthUsername = httpBasicAuthUsername;
- }
-
- public String getHttpBasicAuthPassword()
- {
- return httpBasicAuthPassword;
- }
-
- public void setHttpBasicAuthPassword(String httpBasicAuthPassword)
- {
- this.httpBasicAuthPassword = httpBasicAuthPassword;
- }
-
- private String getMethod(URL url)
- {
- StringBuffer sb = new StringBuffer(HTTP_METHOD);
- sb.append(SPACE);
- String protocol = url.getProtocol();
- String httpProxyHost = System.getProperty(SYS_PROP_HTTP_PROXY_HOST);
- String httpsProxyHost = System.getProperty(SYS_PROP_HTTPS_PROXY_HOST);
- if (protocol.equalsIgnoreCase("http") && httpProxyHost != null && httpProxyHost.length() > 0)
- {
- sb.append(url.toString());
- }
- else if (protocol.equalsIgnoreCase("https") && httpsProxyHost != null && httpsProxyHost.length() > 0)
- {
- sb.append(url.toString());
- }
- else
- {
- String file = url.getFile();
- if (file != null && file.length() > 0)
- sb.append(file);
- else
- sb.append(ROOT);
- }
- sb.append(SPACE);
- sb.append(HTTP_VERSION);
- sb.append(NEW_LINE);
- return sb.toString();
- }
-
- private String getHost(URL url)
- {
- StringBuffer sb = new StringBuffer(HTTP_HEADER_HOST);
- sb.append(COLON);
- sb.append(SPACE);
- sb.append(url.getHost());
- sb.append(COLON);
- int port = url.getPort();
- if (port > 0)
- sb.append(String.valueOf(port));
- else if (url.getProtocol().equalsIgnoreCase(HTTPS))
- sb.append(DEFAULT_HTTPS_PORT);
- else
- sb.append(DEFAULT_HTTP_PORT);
- sb.append(NEW_LINE);
- return sb.toString();
- }
-
- private String getContentType()
- {
- return getHTTPHeader(HTTP_HEADER_CONTENT_TYPE, CONTENT_TYPE_VALUE);
- }
-
- private String getContentLength(byte[] payloadAsBytes)
- {
- return getHTTPHeader(HTTP_HEADER_CONTENT_LENGTH, String.valueOf(payloadAsBytes.length));
- }
-
- private String getSOAPAction(String soapAction)
- {
- StringBuffer sb = new StringBuffer(HTTP_HEADER_SOAP_ACTION);
- sb.append(COLON);
- sb.append(SPACE);
- sb.append(QUOTE);
- if (soapAction != null)
- sb.append(soapAction);
- sb.append(QUOTE);
- sb.append(NEW_LINE);
- return sb.toString();
- }
-
- private String getCookie()
- {
- if (maintainSession)
- return getHTTPHeader(HTTP_HEADER_COOKIE, cookie);
- else
- return EMPTY_STRING;
- }
-
- private String getCookie2()
- {
- if (maintainSession)
- return getHTTPHeader(HTTP_HEADER_COOKIE2, cookie2);
- else
- return EMPTY_STRING;
- }
-
- private String getWWWAuthentication()
- {
- if (httpBasicAuthUsername != null && httpBasicAuthPassword != null)
- {
- StringBuffer sb = new StringBuffer(httpBasicAuthUsername);
- sb.append(COLON);
- sb.append(httpBasicAuthPassword);
- BASE64Encoder encoder = new BASE64Encoder();
- String encodedUserNamePassword = encoder.encode(sb.toString().getBytes());
- sb.setLength(0);
- sb.append(HTTP_HEADER_AUTH);
- sb.append(COLON);
- sb.append(SPACE);
- sb.append(BASIC);
- sb.append(SPACE);
- sb.append(encodedUserNamePassword);
- sb.append(NEW_LINE);
- return sb.toString();
- }
- else
- return EMPTY_STRING;
- }
-
- private String getProxyAuthentication()
- {
- String proxyUserName = System.getProperty(SYS_PROP_HTTP_PROXY_USER_NAME);
- String proxyPassword = System.getProperty(SYS_PROP_HTTP_PROXY_PASSWORD);
- if (proxyUserName != null && proxyPassword != null)
- {
- StringBuffer sb = new StringBuffer(proxyUserName);
- sb.append(COLON);
- sb.append(proxyPassword);
- BASE64Encoder encoder = new BASE64Encoder();
- String encodedUserNamePassword = encoder.encode(sb.toString().getBytes());
- sb.setLength(0);
- sb.append(HTTP_HEADER_PROXY_AUTH);
- sb.append(COLON);
- sb.append(SPACE);
- sb.append(BASIC);
- sb.append(SPACE);
- sb.append(encodedUserNamePassword);
- sb.append(NEW_LINE);
- return sb.toString();
- }
- else
- return EMPTY_STRING;
- }
-
- private String getAccept()
- {
- return getHTTPHeader(HTTP_HEADER_ACCEPT, ACCEPT_VALUE);
- }
-
- private String getUserAgent()
- {
- return getHTTPHeader(HTTP_HEADER_USER_AGENT, IBM_WEB_SERVICES_EXPLORER);
- }
-
- private String getCacheControl()
- {
- return getHTTPHeader(HTTP_HEADER_CACHE_CONTROL, NO_CACHE);
- }
-
- private String getPragma()
- {
- return getHTTPHeader(HTTP_HEADER_PRAGMA, NO_CACHE);
- }
-
- private String getConnection()
- {
- return getHTTPHeader(HTTP_HEADER_CONNECTION, CLOSE);
- }
-
- private String getHTTPHeader(String key, String value)
- {
- if (value != null)
- {
- StringBuffer sb = new StringBuffer(key);
- sb.append(COLON);
- sb.append(SPACE);
- sb.append(value);
- sb.append(NEW_LINE);
- return sb.toString();
- }
- else
- return EMPTY_STRING;
- }
-
- public void send(URL url, String soapAction, String payload) throws UnknownHostException, IOException
- {
- byte[] payloadAsUTF8 = payload.getBytes(DEFAULT_SOAP_ENCODING);
-
- StringBuffer httpHeader = new StringBuffer();
- httpHeader.append(getMethod(url));
- httpHeader.append(getHost(url));
- httpHeader.append(getContentType());
- httpHeader.append(getContentLength(payloadAsUTF8));
- httpHeader.append(getAccept());
- httpHeader.append(getUserAgent());
- httpHeader.append(getCacheControl());
- httpHeader.append(getPragma());
- httpHeader.append(getSOAPAction(soapAction));
- httpHeader.append(getWWWAuthentication());
- httpHeader.append(getProxyAuthentication());
- httpHeader.append(getCookie());
- httpHeader.append(getCookie2());
- httpHeader.append(getConnection());
- httpHeader.append(NEW_LINE); // new line between the HTTP header and the payload
- Socket socket = buildSocket(url);
- InputStream is = socket.getInputStream();
- OutputStream os = socket.getOutputStream();
- os.write(httpHeader.toString().getBytes(DEFAULT_HTTP_HEADER_ENCODING));
- os.write(payloadAsUTF8);
- os.flush();
- httpResponse = new HTTPResponse();
- readHTTPResponseHeader(is, httpResponse);
- int code = httpResponse.getStatusCode();
- if (code == HTTP_CODE_CONTINUE)
- {
- httpResponse.reset();
- readHTTPResponseHeader(is, httpResponse);
- }
- readHTTPResponsePayload(is, httpResponse);
- os.close();
- is.close();
- socket.close();
- code = httpResponse.getStatusCode();
- String contentType = httpResponse.getHeader(HTTP_HEADER_CONTENT_TYPE.toLowerCase());
- if (code >= HTTP_CODE_EXCEPTION && (contentType == null || contentType.toLowerCase().indexOf(TEXT_XML.toLowerCase()) == -1))
- throw new HTTPException(code, httpResponse.getStatusMessage(), httpResponse.getHeaders());
- }
-
- private void readHTTPResponseHeader(InputStream is, HTTPResponse resp) throws IOException
- {
- byte b = 0;
- int len = 0;
- int colonIndex = -1;
- String key;
- String value;
- boolean readTooMuch = false;
- ByteArrayOutputStream baos;
- for (baos = new ByteArrayOutputStream(4096);;)
- {
- if (!readTooMuch)
- b = (byte)is.read();
- if (b == -1)
- break;
- readTooMuch = false;
- if ((b != R) && (b != N))
- {
- if ((b == COLON) && (colonIndex == -1))
- colonIndex = len;
- len++;
- baos.write(b);
- }
- else if (b == R)
- continue;
- else // b == N
- {
- if (len == 0)
- break;
- b = (byte)is.read();
- readTooMuch = true;
- // A space or tab at the begining of a line means the header continues.
- if ((b == SPACE) || (b == TAB))
- continue;
- baos.close();
- byte[] bArray = baos.toByteArray();
- baos.reset();
- if (colonIndex != -1)
- {
- key = new String(bArray, 0, colonIndex, DEFAULT_HTTP_HEADER_ENCODING);
- value = new String(bArray, colonIndex + 1, len - 1 - colonIndex, DEFAULT_HTTP_HEADER_ENCODING);
- colonIndex = -1;
- }
- else
- {
- key = new String(bArray, 0, len, DEFAULT_HTTP_HEADER_ENCODING);
- value = EMPTY_STRING;
- }
- if (!resp.isStatusSet())
- {
- // Reader status code
- int start = key.indexOf(SPACE) + 1;
- String s = key.substring(start).trim();
- int end = s.indexOf(SPACE);
- if (end != -1)
- s = s.substring(0, end);
- try
- {
- resp.setStatusCode(Integer.parseInt(s));
- }
- catch (NumberFormatException nfe)
- {
- resp.setStatusCode(-1);
- }
- resp.setStatusMessage(key.substring(start + end + 1));
- }
- else
- resp.addHeader(key.toLowerCase().trim(), value.trim());
- len = 0;
- }
- }
- baos.close();
- }
-
- private void readHTTPResponsePayload(InputStream is, HTTPResponse resp) throws IOException
- {
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- try
- {
- byte b = (byte)is.read();
- while (b != -1)
- {
- baos.write(b);
- b = (byte)is.read();
- }
- }
- catch (SocketTimeoutException ste)
- {
- }
- baos.close();
- resp.setPayload(baos.toByteArray());
- }
-
- public BufferedReader receive()
- {
- if (httpResponse != null)
- {
- try
- {
- byte[] payload = httpResponse.getPayload();
- Element soapEnvelope = null;
- if (CHUNKED.equalsIgnoreCase(httpResponse.getHeader(HTTP_HEADER_TRANSFER_ENCODEING.toLowerCase())))
- {
- ByteArrayInputStream bais = new ByteArrayInputStream(payload);
- ChunkedInputStream cis = new ChunkedInputStream(bais);
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- byte b;
- while ((b = (byte)cis.read()) != -1)
- baos.write(b);
- baos.close();
- cis.close();
- bais.close();
- soapEnvelope = XMLUtils.byteArrayToElement(baos.toByteArray(), false);
- }
- else
- {
- soapEnvelope = XMLUtils.byteArrayToElement(payload, false);
- }
- // remove XML namespace declaration
- if (soapEnvelope != null)
- return new BufferedReader(new InputStreamReader(new ByteArrayInputStream(XMLUtils.serialize(soapEnvelope, true).getBytes(DEFAULT_SOAP_ENCODING)), DEFAULT_SOAP_ENCODING));
- }
- catch (Throwable t)
- {
- }
- }
- return null;
- }
-
- public Hashtable getHeaders()
- {
- Hashtable headers = new Hashtable();
- if (httpResponse != null)
- headers.putAll(httpResponse.getHeaders());
- return headers;
- }
-
- /**
- * Builds the first line of a connection request to the proxy server
- *
- * @param url The URL that we want to ultimately connect to.
- * @return A string of the form "CONNECT &lt;hostname&gt;:&lt;port&gt; HTTP/1.0".
- */
- private StringBuffer getConnectMethod(URL url) {
-
- StringBuffer sb = new StringBuffer(HTTP_CONNECT);
- sb.append(SPACE);
- sb.append(url.getHost());
- sb.append(COLON);
- sb.append(url.getPort());
- sb.append(SPACE);
- sb.append(HTTP_VERSION_1_0);
- sb.append(NEW_LINE);
- return sb;
- }
-
- /**
- * Construct a socket to the proxy server which be used to tunnel through.
- *
- * @param url The URL that we want to ultimately connect to.
- * @param proxyHost The proxy host.
- * @param proxyPort The proxy port.
- * @return A connected socket to the proxy server.
- * @throws IOException
- */
- private Socket buildTunnelSocket(URL url, String proxyHost, int proxyPort) throws IOException {
-
- StringBuffer httpHeader = new StringBuffer();
- httpHeader.append(getConnectMethod(url));
- httpHeader.append(getProxyAuthentication());
- httpHeader.append(NEW_LINE);
-
- Socket tunnel = new Socket(proxyHost, proxyPort);
-
- InputStream is = tunnel.getInputStream();
- OutputStream os = tunnel.getOutputStream();
-
- os.write(httpHeader.toString().getBytes(DEFAULT_HTTP_HEADER_ENCODING));
- os.flush();
-
- HTTPResponse httpResponse = new HTTPResponse();
- readHTTPResponseHeader(is, httpResponse);
-
- int code = httpResponse.getStatusCode();
-
- // ensure we are successfully connected to the proxy
- if (code != HTTP_CODE_OK)
- throw new HTTPException(code, httpResponse.getStatusMessage(), httpResponse.getHeaders());
-
- return tunnel;
- }
-
- private Socket buildSocket(URL url) throws UnknownHostException, IOException
- {
- Socket s = null;
- String host = url.getHost();
- int port = url.getPort();
- String proxyHost = System.getProperty(SYS_PROP_HTTP_PROXY_HOST);
- int proxyPort = Integer.getInteger(SYS_PROP_HTTP_PROXY_PORT, DEFAULT_HTTP_PORT).intValue();
-
- String nonProxyHosts = System.getProperty(SYS_PROP_HTTP_NON_PROXY_HOSTS);
-
- // String proxyUserName = System.getProperty(SYS_PROP_HTTP_PROXY_USER_NAME);
- // String proxyPassword = System.getProperty(SYS_PROP_HTTP_PROXY_PASSWORD);
- if (url.getProtocol().equalsIgnoreCase(HTTPS))
- {
- proxyHost = System.getProperty(SYS_PROP_HTTPS_PROXY_HOST);
- proxyPort = Integer.getInteger(SYS_PROP_HTTPS_PROXY_PORT, DEFAULT_HTTPS_PORT).intValue();
- nonProxyHosts = System.getProperty(SYS_PROP_HTTPS_NON_PROXY_HOSTS);
-
- if (proxyHost != null && proxyHost.length() > 0 && !isHostInNonProxyHosts(host, nonProxyHosts, DEFAULT_CASE_SENSITIVE_FOR_HOST_NAME))
- {
- // SSL with proxy server
- Socket tunnel = buildTunnelSocket(url, proxyHost, proxyPort);
- s = ((SSLSocketFactory) SSLSocketFactory.getDefault()).createSocket(tunnel, host, port, true);
- }
- else
- s = SSLSocketFactory.getDefault().createSocket(host, (port > 0 ? port : DEFAULT_HTTPS_PORT));
- // Removing dependency on soap.jar
- // s = SSLUtils.buildSSLSocket(host, (port > 0 ? port : DEFAULT_HTTPS_PORT), proxyHost, proxyPort);
- // TODO:
- // Build an SSL socket that supports proxyUser and proxyPassword,
- // as demonstrated in the following (original) line of code:
- // s = SSLUtils.buildSSLSocket(host, (port > 0 ? port : DEFAULT_HTTPS_PORT), proxyHost, proxyPort, proxyUserName, proxyPassword);
- }
- else if (proxyHost != null && proxyHost.length() > 0 && !isHostInNonProxyHosts(host, nonProxyHosts, DEFAULT_CASE_SENSITIVE_FOR_HOST_NAME))
- s = new Socket(proxyHost, proxyPort);
- else
- s = new Socket(host, (port > 0 ? port : DEFAULT_HTTP_PORT));
- return s;
- }
-
- private boolean isHostInNonProxyHosts(String host, String nonProxyHosts, boolean caseSensitive)
- {
- if (caseSensitive) return host.matches(createPatternFromString(nonProxyHosts));
- else return host.toLowerCase().matches(createPatternFromString(nonProxyHosts.toLowerCase()));
- }
-
- /*
- * This method is used to generate a valid regular expression for a
- * normal java String used in the proxy mechanism.
- * For example, the http.nonProxyHosts contains following String:
- * "192.168.2.*|localhost|*.ibm.com" . It would be
- * transformed into: "192\.168\.2\.\w*|localhost|\w*\.ibm\.com"
- * Thus, following host string would match above pattern:
- * 192.168.2.5 192.168.2. 192.168.2.666 192.168.2.w
- * localhost
- * torolab.ibm.com .ibm.com 123.ibm.com
- *
- * Two transformations are done:
- * 1. replace all "." into "\." As in regular expression, '.' represents
- * any charater. "\.' represents the real character '.'
- * 2. In order to get the real meaning of "*" used in property
- * http.nonProxyHosts, "\w*" is used to replace "*"
- * "\w" represent a word character: [a-zA-Z_0-9]
- *
- * Restriction:
- * The validity of address is not checked.
- * (192.168.2.555 and 192.168.2.com are OK)
- *
- * TODO check whether * occurs in address or hostname.
- * if it occuus in address representation, replace "*" with "\d*"
- * and check: value < 256 ?
- */
- private String createPatternFromString(String str)
- {
- /* This is the same as following more understandable way:
- * return str.replace(".", "\\.").replace("*", "\\w*");
- * But, replace(CharSequence target, CharSequence replacement) can only be
- * supported after j2se 1.5, on the other hand,
- * replaceAll(String regex, String replacement) can be supported before
- * j2se 1.5.
- */
- return str == null ? null : str.replaceAll("\\.", "\\.").replaceAll("\\*", "\\w*");
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/util/SoapHelper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/util/SoapHelper.java
deleted file mode 100644
index 9fe9f2d51..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/util/SoapHelper.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.util;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import org.apache.axis.Constants;
-import org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public class SoapHelper
-{
- private static Hashtable defaultSoapEnvelopeNamespaces_ = null;
-
- private static final void initDefaultSoapEnvelopeNamespaces()
- {
- defaultSoapEnvelopeNamespaces_ = new Hashtable();
- defaultSoapEnvelopeNamespaces_.put(Constants.URI_SOAP11_ENV,Constants.NS_PREFIX_SOAP_ENV);
- defaultSoapEnvelopeNamespaces_.put(Constants.URI_2001_SCHEMA_XSI,Constants.NS_PREFIX_SCHEMA_XSI);
- defaultSoapEnvelopeNamespaces_.put(Constants.URI_2001_SCHEMA_XSD,Constants.NS_PREFIX_SCHEMA_XSD);
- }
-
- public static final void addDefaultSoapEnvelopeNamespaces(Hashtable soapEnvelopeNamespaces)
- {
- if (defaultSoapEnvelopeNamespaces_ == null)
- initDefaultSoapEnvelopeNamespaces();
- Enumeration defaultSoapEnvelopeNamespaceURIs = defaultSoapEnvelopeNamespaces_.keys();
- while (defaultSoapEnvelopeNamespaceURIs.hasMoreElements())
- {
- String defaultSoapEnvelopeNamespaceURI = (String)defaultSoapEnvelopeNamespaceURIs.nextElement();
- soapEnvelopeNamespaces.put(defaultSoapEnvelopeNamespaceURI,(String)defaultSoapEnvelopeNamespaces_.get(defaultSoapEnvelopeNamespaceURI));
- }
- }
-
- public static final boolean isDefaultSoapEnvelopeNamespace(String namespaceURI,String namespacePrefix)
- {
- if (defaultSoapEnvelopeNamespaces_ == null)
- initDefaultSoapEnvelopeNamespaces();
- if (defaultSoapEnvelopeNamespaces_.get(namespaceURI) != null)
- return true;
- return false;
- }
-
- public static final Element createSoapEnvelopeElement(Document doc,Hashtable soapEnvelopeNamespaceTable)
- {
- Element soapEnvelopeElement = doc.createElement("soapenv:Envelope");
- Enumeration e = soapEnvelopeNamespaceTable.keys();
- while (e.hasMoreElements())
- {
- String soapEnvelopeNamespaceURI = (String)e.nextElement();
- StringBuffer soapEnvelopeNamespaceAttr = new StringBuffer("xmlns:");
- soapEnvelopeNamespaceAttr.append((String)soapEnvelopeNamespaceTable.get(soapEnvelopeNamespaceURI));
- soapEnvelopeElement.setAttribute(soapEnvelopeNamespaceAttr.toString(),soapEnvelopeNamespaceURI);
- }
- return soapEnvelopeElement;
- }
-
- public static final Element createSoapBodyElement(Document doc)
- {
- return doc.createElement("soapenv:Body");
- }
-
- public static final Element createRPCWrapperElement(Document doc,Hashtable soapEnvelopeNamespaceTable,String encodingNamespaceURI,String operationName, String encodingStyle)
- {
- int nsId = 0;
- StringBuffer wrapperElementName = new StringBuffer();
- String encodingNamespacePrefix = (String)soapEnvelopeNamespaceTable.get(encodingNamespaceURI);
- if (encodingNamespacePrefix != null)
- wrapperElementName.append(encodingNamespacePrefix);
- else
- {
- // Loop until we generate a unique prefix.
- do
- {
- wrapperElementName.setLength(0);
- wrapperElementName.append("ns").append(nsId);
- if (!soapEnvelopeNamespaceTable.containsValue(wrapperElementName.toString()))
- break;
- nsId++;
- } while (true);
- }
- String wrapperElementNamePrefix = wrapperElementName.toString();
- wrapperElementName.append(':').append(operationName);
- Element wrapperElement = doc.createElement(wrapperElementName.toString());
- StringBuffer namespaceAttrName = new StringBuffer("xmlns:");
- namespaceAttrName.append(wrapperElementNamePrefix);
- wrapperElement.setAttribute(namespaceAttrName.toString(),encodingNamespaceURI);
- if (encodingStyle != null)
- wrapperElement.setAttribute("soapenv:encodingStyle",encodingStyle);
- return wrapperElement;
- }
-
- public static final String encodeNamespaceDeclaration(String prefix, String uri)
- {
- StringBuffer sb = new StringBuffer();
- sb.append(prefix);
- sb.append(" ");
- sb.append(uri);
- String result = URLUtils.encode(sb.toString());
- return result;
- }
-
- public static final String[] decodeNamespaceDeclaration(String s)
- {
- String sCopy = URLUtils.decode(s);
- int index = sCopy.indexOf(" ");
- String[] nsDecl = new String[2];
- if (index != -1)
- {
- nsDecl[0] = sCopy.substring(0, index);
- nsDecl[1] = sCopy.substring(index+1, sCopy.length());
- }
- else
- {
- nsDecl[0] = null;
- nsDecl[1] = sCopy;
- }
- return nsDecl;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/xsd/WSDLPartsToXSDTypeMapper.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/xsd/WSDLPartsToXSDTypeMapper.java
deleted file mode 100644
index 13f3d7ec1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/xsd/WSDLPartsToXSDTypeMapper.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Vector;
-import javax.wsdl.Part;
-import javax.xml.namespace.QName;
-import org.eclipse.xsd.XSDComponent;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDModelGroupDefinition;
-import org.eclipse.xsd.XSDNamedComponent;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-public class WSDLPartsToXSDTypeMapper
-{
- private final char POUND = '#';
- private Vector xsdSchemaList_;
- private Hashtable partToXSDCache_;
-
- public WSDLPartsToXSDTypeMapper() {
- xsdSchemaList_ = new Vector();
- partToXSDCache_ = new Hashtable();
- }
-
- public void addSchemas(Vector schemaList) {
- for (int i=0;i<schemaList.size();i++) {
- Object schema = schemaList.elementAt(i);
- if (schema != null)
- xsdSchemaList_.addElement(schema);
- }
- }
-
- public XSDNamedComponent getXSDType(Part part, String id) {
- XSDNamedComponent component = getXSDTypeFromCache(id);
- if (component != null)
- return component;
- component = getXSDTypeFromSchema(part);
- if (component != null)
- addToCache(id, component);
- return component;
- }
-
- public XSDNamedComponent getXSDTypeFromCache(String id) {
- return (XSDNamedComponent)partToXSDCache_.get(id);
- }
-
- public XSDNamedComponent getXSDTypeFromSchema(Part part) {
- boolean isElementDeclaration = (part.getTypeName() == null);
- QName qName = isElementDeclaration ? part.getElementName() : part.getTypeName();
- return getXSDTypeFromSchema(qName.getNamespaceURI(), qName.getLocalPart(), isElementDeclaration);
- }
-
- public XSDNamedComponent getXSDTypeFromSchema(String namespaceURI, String localName, boolean isElementDeclaration) {
- for (int i = 0; i < xsdSchemaList_.size(); i++) {
- XSDSchema xsdSchema = (XSDSchema)xsdSchemaList_.elementAt(i);
- Vector components = new Vector();
- if (isElementDeclaration)
- components.addAll(xsdSchema.getElementDeclarations());
- else
- components.addAll(xsdSchema.getTypeDefinitions());
- for (Iterator it = components.iterator(); it.hasNext(); ) {
- XSDNamedComponent component = (XSDNamedComponent)it.next();
- String compNSURI = component.getTargetNamespace();
- String compLocalname = component.getName();
- if (compNSURI != null && compLocalname != null && compNSURI.equals(namespaceURI) && compLocalname.equals(localName))
- return component;
- }
- }
- return null;
- }
-
- public XSDNamedComponent resolveXSDNamedComponent(XSDNamedComponent component)
- {
- if (component != null)
- {
- String uri = component.getURI();
- String qname = component.getQName();
- for (int i = 0; i < xsdSchemaList_.size(); i++)
- {
- XSDSchema xsdSchema = (XSDSchema)xsdSchemaList_.elementAt(i);
- if (xsdSchema != null)
- {
- String targetNS = xsdSchema.getTargetNamespace();
- if (targetNS != null && targetNS.equals(trimQName(uri, qname)))
- {
- XSDNamedComponent resolvedComponent = null;
- if (component instanceof XSDTypeDefinition)
- resolvedComponent = xsdSchema.resolveTypeDefinition(qname);
- else if (component instanceof XSDElementDeclaration)
- resolvedComponent = xsdSchema.resolveElementDeclaration(qname);
- else if (component instanceof XSDModelGroupDefinition)
- resolvedComponent = xsdSchema.resolveModelGroupDefinition(qname);
- if (isComponentResolvable(resolvedComponent))
- return resolvedComponent;
- }
- }
- }
- }
- return null;
- }
-
- private String trimQName(String uri, String qname)
- {
- int index = uri.indexOf(qname);
- if (index != -1)
- {
- String ns = uri.substring(0, index);
- if (ns.charAt(index-1) == POUND)
- return ns.substring(0, index-1);
- else
- return ns;
- }
- else
- return uri;
- }
-
- private void addToCache(String id, XSDNamedComponent component) {
- partToXSDCache_.put(id,component);
- }
-
- protected boolean isComponentResolvable(XSDComponent component)
- {
- if (component == null)
- return false;
- XSDSchema schema = component.getSchema();
- if (schema == null)
- return false;
- if (schema.getTargetNamespace() == null)
- return false;
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToFavoritesAction.java
deleted file mode 100644
index 242458e32..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToFavoritesAction.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiBusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class AddBusinessToFavoritesAction extends AddToFavoritesAction
-{
- public AddBusinessToFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- public boolean favoriteExists()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement selectedElement = (WsilElement) selectedNode.getTreeElement();
- Object obj = selectedElement.getAllUDDILinks().getElementWithViewId(viewID).getObject();
- WsilUddiBusinessElement wsilUddiBusinessElement = (WsilUddiBusinessElement) obj;
- String businessName = wsilUddiBusinessElement.getName();
- String inquiryAPI = wsilUddiBusinessElement.getUDDILinkInquiryAPI();
- String businessKey = wsilUddiBusinessElement.getUDDILinkBusinessKey();
- if (businessName == null)
- businessName = businessKey;
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_NAME, businessName);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_INQUIRY_API, inquiryAPI);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_KEY, businessKey);
- return favoriteExists(table, FavoritesModelConstants.REL_UDDI_BUSINESS_FOLDER_NODE);
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_UDDI_LINKS, ActionInputs.VIEWID, WSILViewSelectionTransformer.UDDI_BUSINESS);
- return transformers;
- }
-
- public boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement selectedElement = (WsilElement) selectedNode.getTreeElement();
- Object obj = selectedElement.getAllUDDILinks().getElementWithViewId(viewID).getObject();
- WsilUddiBusinessElement wsilUddiBusinessElement = (WsilUddiBusinessElement) obj;
- String businessName = wsilUddiBusinessElement.getName();
- String inquiryAPI = wsilUddiBusinessElement.getUDDILinkInquiryAPI();
- String businessKey = wsilUddiBusinessElement.getUDDILinkBusinessKey();
- if (businessName == null)
- businessName = businessKey;
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_NAME, businessName);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_INQUIRY_API, inquiryAPI);
- table.put(FavoritesModelConstants.PROP_UDDI_BUSINESS_KEY, businessKey);
- if (isMultipleLinkAction() && favoriteExists(table, FavoritesModelConstants.REL_UDDI_BUSINESS_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_FAVORITES_ALREADY_EXISTS", businessName));
- return false;
- }
- if (addToFavorites(table, FavoritesModelConstants.REL_UDDI_BUSINESS_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_ADD_TO_FAVORITES_SUCCESSFUL", businessName));
- return true;
- }
- else
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_ADD_TO_FAVORITES", businessName));
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToUDDIPerspectiveAction.java
deleted file mode 100644
index f262b83fd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddBusinessToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.RegFindBusinessUUIDAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiBusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class AddBusinessToUDDIPerspectiveAction extends AddToUDDIPerspectiveAction
-{
- public AddBusinessToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_UDDI_LINKS, ActionInputs.VIEWID, WSILViewSelectionTransformer.UDDI_BUSINESS);
- return transformers;
- }
-
- public boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- Node selectedNode = wsilPerspective.getNodeManager().getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- String inquiryURL = null;
- String businessKey = null;
- String businessName = null;
- if (selectedElement instanceof WsilElement)
- {
- ListElement le = ((WsilElement) selectedElement).getAllUDDILinks().getElementWithViewId(viewID);
- WsilUddiBusinessElement wsilUddiBusinessElement = (WsilUddiBusinessElement) le.getObject();
- inquiryURL = wsilUddiBusinessElement.getUDDILinkInquiryAPI();
- businessKey = wsilUddiBusinessElement.getUDDILinkBusinessKey();
- businessName = wsilUddiBusinessElement.getName();
- if (businessName == null)
- businessName = businessKey;
- }
- else
- return false;
- // return false if unable to find or create a registry node/element in the
- // UDDI perspective
- if (!createRegistryInUDDIPerspective(inquiryURL, null, inquiryURL))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_ADD_TO_UDDI_PERSPECTIVE", businessName));
- return false;
- }
- // prepare the action
- RegFindBusinessUUIDAction action = new RegFindBusinessUUIDAction(controller_);
- // populate property table
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY, businessKey);
- propertyTable.put(UDDIActionInputs.QUERY_NAME, businessName);
- // run the action
- if (!action.run())
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_BUSINESS_NOT_FOUND", businessName));
- return false;
- }
- else
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL", businessName));
- return true;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToFavoritesAction.java
deleted file mode 100644
index 466d94574..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToFavoritesAction.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class AddServiceToFavoritesAction extends AddToFavoritesAction
-{
- public AddServiceToFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- public boolean favoriteExists()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement selectedElement = (WsilElement) selectedNode.getTreeElement();
- Object obj = selectedElement.getAllUDDIServices().getElementWithViewId(viewID).getObject();
- WsilUddiServiceElement wsilUddiServiceElement = (WsilUddiServiceElement) obj;
- String serviceName = wsilUddiServiceElement.getName();
- String inquiryAPI = wsilUddiServiceElement.getUDDIServiceInquiryAPI();
- String serviceKey = wsilUddiServiceElement.getUDDIServiceKey();
- if (serviceName == null)
- serviceName = serviceKey;
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_NAME, serviceName);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INQUIRY_API, inquiryAPI);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_KEY, serviceKey);
- return favoriteExists(table, FavoritesModelConstants.REL_UDDI_SERVICE_FOLDER_NODE);
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_UDDI_SERVICES, ActionInputs.VIEWID, WSILViewSelectionTransformer.UDDI_SERVICE);
- return transformers;
- }
-
- public boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement selectedElement = (WsilElement) selectedNode.getTreeElement();
- Object obj = selectedElement.getAllUDDIServices().getElementWithViewId(viewID).getObject();
- WsilUddiServiceElement wsilUddiServiceElement = (WsilUddiServiceElement) obj;
- String serviceName = wsilUddiServiceElement.getName();
- String inquiryAPI = wsilUddiServiceElement.getUDDIServiceInquiryAPI();
- String serviceKey = wsilUddiServiceElement.getUDDIServiceKey();
- if (serviceName == null)
- serviceName = serviceKey;
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_NAME, serviceName);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_INQUIRY_API, inquiryAPI);
- table.put(FavoritesModelConstants.PROP_UDDI_SERVICE_KEY, serviceKey);
- if (isMultipleLinkAction() && favoriteExists(table, FavoritesModelConstants.REL_UDDI_SERVICE_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_FAVORITES_ALREADY_EXISTS", serviceName));
- return false;
- }
- if (addToFavorites(table, FavoritesModelConstants.REL_UDDI_SERVICE_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_ADD_TO_FAVORITES_SUCCESSFUL", serviceName));
- return true;
- }
- else
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_ADD_TO_FAVORITES", serviceName));
- return false;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToUDDIPerspectiveAction.java
deleted file mode 100644
index e37eab15b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddServiceToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.RegFindServiceUUIDAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class AddServiceToUDDIPerspectiveAction extends AddToUDDIPerspectiveAction
-{
- public AddServiceToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_UDDI_SERVICES, ActionInputs.VIEWID, WSILViewSelectionTransformer.UDDI_SERVICE);
- return transformers;
- }
-
- public boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- Node selectedNode = wsilPerspective.getNodeManager().getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- String inquiryURL = null;
- String serviceKey = null;
- String serviceName = null;
- if (selectedElement instanceof WsilElement)
- {
- ListElement le = ((WsilElement) selectedElement).getAllUDDIServices().getElementWithViewId(viewID);
- WsilUddiServiceElement wsilUddiServiceElement = (WsilUddiServiceElement) le.getObject();
- inquiryURL = wsilUddiServiceElement.getUDDIServiceInquiryAPI();
- serviceKey = wsilUddiServiceElement.getUDDIServiceKey();
- serviceName = wsilUddiServiceElement.getName();
- if (serviceName == null)
- serviceName = serviceKey;
- }
- else
- return false;
- // return false if unable to find or create a registry node/element in the
- // UDDI perspective
- if (!createRegistryInUDDIPerspective(inquiryURL, null, inquiryURL))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_ADD_TO_UDDI_PERSPECTIVE", serviceName));
- return false;
- }
- // prepare the action
- RegFindServiceUUIDAction action = new RegFindServiceUUIDAction(controller_);
- // populate property table
- Hashtable propertyTable = action.getPropertyTable();
- propertyTable.put(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY, serviceKey);
- propertyTable.put(UDDIActionInputs.QUERY_NAME, serviceName);
- // run the action
- if (!action.run())
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_SERVICE_NOT_FOUND", serviceName));
- return false;
- }
- else
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_ADD_TO_UDDI_PERSPECTIVE_SUCCESSFUL", serviceName));
- return true;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToFavoritesAction.java
deleted file mode 100644
index 575882402..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToFavoritesAction.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.FavoritesFolderElement;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIBusinessTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListWSDLServicesTool;
-
-public abstract class AddToFavoritesAction extends MultipleLinkAction {
- protected NodeManager nodeManager_;
-
- public AddToFavoritesAction(Controller controller)
- {
- super(controller);
- nodeManager_ = controller.getWSILPerspective().getNodeManager();
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink() {
- return "wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp";
- }
-
- public static AddToFavoritesAction newAction(HttpServletRequest request, Controller controller) {
- String nodeID = request.getParameter(ActionInputs.NODEID);
- NodeManager nodeManager = controller.getWSILPerspective().getNodeManager();
- Tool selectedTool = nodeManager.getNode(Integer.parseInt(nodeID)).getToolManager().getSelectedTool();
- if (selectedTool instanceof ListWSDLServicesTool)
- return new AddWSDLServiceToFavoritesAction(controller);
- else if (selectedTool instanceof ListUDDIServicesTool)
- return new AddServiceToFavoritesAction(controller);
- else if (selectedTool instanceof ListUDDIBusinessTool)
- return new AddBusinessToFavoritesAction(controller);
- else
- return new AddWSILToFavoritesAction(controller);
- }
-
- protected boolean addToFavorites(Hashtable table, String rel) {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager favNodeManager = favPerspective.getNodeManager();
- TreeElement favRootElement = favNodeManager.getRootNode().getTreeElement();
- Enumeration e = favRootElement.getElements(rel);
- if (!e.hasMoreElements()) return false;
- FavoritesFolderElement favFolderElement = (FavoritesFolderElement)e.nextElement();
- return favFolderElement.addFavorite(table);
- }
-
- protected boolean favoriteExists(Hashtable table, String rel) {
- FavoritesPerspective favPerspective = controller_.getFavoritesPerspective();
- NodeManager favNodeManager = favPerspective.getNodeManager();
- TreeElement favRootElement = favNodeManager.getRootNode().getTreeElement();
- Enumeration e = favRootElement.getElements(rel);
- if (!e.hasMoreElements()) return false;
- FavoritesFolderElement favFolderElement = (FavoritesFolderElement)e.nextElement();
- return favFolderElement.favoriteExists(table);
- }
-
- public abstract boolean favoriteExists();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToUDDIPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToUDDIPerspectiveAction.java
deleted file mode 100644
index 246fea5af..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddToUDDIPerspectiveAction.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.OpenRegistryAction;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.UDDIActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.RegistryNode;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.UDDIMainNode;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIBusinessTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIServicesTool;
-
-public abstract class AddToUDDIPerspectiveAction extends MultipleLinkAction
-{
- public AddToUDDIPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink()
- {
- return "wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp";
- }
-
- public static Action newAction(HttpServletRequest request, Controller controller)
- {
- String nodeID = request.getParameter(ActionInputs.NODEID);
- NodeManager nodeManager = controller.getWSILPerspective().getNodeManager();
- Tool selectedTool = nodeManager.getNode(Integer.parseInt(nodeID)).getToolManager().getSelectedTool();
- if (selectedTool instanceof ListUDDIServicesTool)
- return new AddServiceToUDDIPerspectiveAction(controller);
- else if (selectedTool instanceof ListUDDIBusinessTool)
- return new AddBusinessToUDDIPerspectiveAction(controller);
- else
- return new NullAction();
- }
-
- protected boolean createRegistryInUDDIPerspective(String inquiryAPI, String publishAPI, String registryName)
- {
- Vector registryNodes = getRegistryNodesByInquiryURL(inquiryAPI);
- if (registryNodes != null)
- {
- // Always attempt to use an existing registry.
- Node registryNode = (Node) registryNodes.elementAt(0);
- NodeManager nodeManager = registryNode.getNodeManager();
- nodeManager.setSelectedNodeId(registryNode.getNodeId());
- return true;
- }
- // open the registry if it is not already opened in the UDDI perspective
- OpenRegistryAction openRegAction = new OpenRegistryAction(controller_);
- // populate the property table
- Hashtable propertyTable = openRegAction.getPropertyTable();
- if (Validator.validateString(registryName))
- propertyTable.put(UDDIActionInputs.REGISTRY_NAME, registryName);
- else
- return false;
- if (Validator.validateURL(inquiryAPI))
- propertyTable.put(UDDIActionInputs.INQUIRY_URL, inquiryAPI);
- else
- return false;
- // run the action
- if (!openRegAction.run())
- return false;
- return true;
- }
-
- protected Vector getRegistryNodesByInquiryURL(String inquiryURL)
- {
- Vector registryNodes = null;
- NodeManager navigatorManager = controller_.getUDDIPerspective().getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode) (navigatorManager.getRootNode());
- Vector childNodes = uddiMainNode.getChildNodes();
- for (int i = 0; i < childNodes.size(); i++)
- {
- Node childNode = (Node) childNodes.elementAt(i);
- if (childNode instanceof RegistryNode)
- {
- RegistryElement regElement = (RegistryElement) childNode.getTreeElement();
- if (regElement.getInquiryURL().equals(inquiryURL))
- {
- if (registryNodes == null)
- registryNodes = new Vector();
- registryNodes.addElement(childNode);
- }
- }
- }
- return registryNodes;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSDLServiceToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSDLServiceToFavoritesAction.java
deleted file mode 100644
index a39cfece8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSDLServiceToFavoritesAction.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilWsdlServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class AddWSDLServiceToFavoritesAction extends AddToFavoritesAction
-{
- public AddWSDLServiceToFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- public boolean favoriteExists()
- {
- String wsdlURL = getWsdlUrl();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_WSDL_URL, wsdlURL);
- return favoriteExists(table, FavoritesModelConstants.REL_WSDL_SERVICE_FOLDER_NODE);
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_WSDL_SERVICES, ActionInputs.VIEWID, WSILViewSelectionTransformer.WSDL_SERVICE);
- return transformers;
- }
-
- public boolean executeSingleLinkAction()
- {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- String wsdlURL = getWsdlUrl();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_WSDL_URL, wsdlURL);
- if (isMultipleLinkAction() && favoriteExists(table, FavoritesModelConstants.REL_WSDL_SERVICE_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_FAVORITES_ALREADY_EXISTS", wsdlURL));
- return false;
- }
- if (addToFavorites(table, FavoritesModelConstants.REL_WSDL_SERVICE_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_ADD_TO_FAVORITES_SUCCESSFUL", wsdlURL));
- return true;
- }
- else
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_ADD_TO_FAVORITES", wsdlURL));
- return false;
- }
- }
-
- private String getWsdlUrl()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement selectedElement = (WsilElement) selectedNode.getTreeElement();
- WsilWsdlServiceElement wsilWsdlServiceElement;
- Object obj = selectedElement.getAllWSDLServices().getElementWithViewId(viewID).getObject();
- wsilWsdlServiceElement = (WsilWsdlServiceElement) obj;
- return wsilWsdlServiceElement.getWSDLServiceURL();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSILToFavoritesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSILToFavoritesAction.java
deleted file mode 100644
index 81be94bfa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/AddWSILToFavoritesAction.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public class AddWSILToFavoritesAction extends AddToFavoritesAction
-{
- public AddWSILToFavoritesAction(Controller controller)
- {
- super(controller);
- }
-
- public boolean favoriteExists()
- {
- String wsilURL = getWsilUrl();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_WSIL_URL, wsilURL);
- return favoriteExists(table, FavoritesModelConstants.REL_WSIL_FOLDER_NODE);
- }
-
- public boolean executeSingleLinkAction()
- {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- String wsilURL = getWsilUrl();
- Hashtable table = new Hashtable();
- table.put(FavoritesModelConstants.PROP_WSIL_URL, wsilURL);
- if (isMultipleLinkAction() && favoriteExists(table, FavoritesModelConstants.REL_WSIL_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_FAVORITES_ALREADY_EXISTS", wsilURL));
- return false;
- }
- if (addToFavorites(table, FavoritesModelConstants.REL_WSIL_FOLDER_NODE))
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_ADD_TO_FAVORITES_SUCCESSFUL", wsilURL));
- return true;
- }
- else
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_ADD_TO_FAVORITES", wsilURL));
- return false;
- }
- }
-
- private String getWsilUrl()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement selectedElement = (WsilElement) selectedNode.getTreeElement();
- return selectedElement.getWsilUrl();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ClearWSILAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ClearWSILAction.java
deleted file mode 100644
index d789c0340..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ClearWSILAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ClearNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-
-public class ClearWSILAction extends ClearNodeAction {
-
- public ClearWSILAction(Controller controller)
- {
- super(controller, controller.getWSILPerspective().getNodeManager());
- propertyTable_.put(ActionInputs.NODEID, String.valueOf(controller.getWSILPerspective().getNodeManager().getSelectedNodeId()));
- }
-
- public static String getActionLink(int nodeID)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/ClearWSILActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- return actionLink.toString();
- }
-
- public String getTreeContentVar() {
- return "wsilNavigatorContent";
- }
-
- public String getTreeContentPage() {
- return "wsil/wsil_navigator_content.jsp";
- }
-
- public String getPropertiesContainerVar() {
- return "wsilPropertiesContainer";
- }
-
- public String getPropertiesContainerPage() {
- return "wsil/wsil_properties_container.jsp";
- }
-
- public String getStatusContentVar() {
- return "wsilStatusContent";
- }
-
- public String getStatusContentPage() {
- return "wsil/wsil_status_content.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSDLToFileSystemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSDLToFileSystemAction.java
deleted file mode 100644
index bd0ffb4b7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSDLToFileSystemAction.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.io.OutputStream;
-import javax.wsdl.Definition;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.WSDLFileNameHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilWsdlServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListWSDLServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.uddi4j.client.UDDIProxy;
-
-public class ImportWSDLToFileSystemAction extends ImportToFileSystemAction
-{
- private Definition def_;
- private String wsdlFileName_;
- private NodeManager nodeManager_;
-
- public ImportWSDLToFileSystemAction(Controller controller)
- {
- super(controller);
- nodeManager_ = controller.getWSILPerspective().getNodeManager();
- }
-
- public static final String getActionLink(int nodeId, int toolId, int viewId, int viewToolId)
- {
- return ImportToFileSystemAction.getActionLink(nodeId, toolId, viewId, viewToolId, "wsil/actions/ImportWSDLToFileSystemActionJSP.jsp");
- }
-
- public boolean write(OutputStream os)
- {
- if (def_ != null)
- {
- return writeWSDLDefinition(os, def_);
- }
- else
- {
- return false;
- }
- }
-
- public String getDefaultFileName()
- {
- return wsdlFileName_;
- }
-
- private boolean getWSDLFromURL()
- {
- int nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String)propertyTable_.get(ActionInputs.VIEWID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement wsilElement = (WsilElement)selectedNode.getTreeElement();
- ListManager wsilServices = wsilElement.getAllWSDLServices();
- ListElement le = wsilServices.getElementWithViewId(viewID);
- WsilWsdlServiceElement service = (WsilWsdlServiceElement)le.getObject();
- String wsdlURL = service.getWSDLServiceURL();
- wsdlFileName_ = WSDLFileNameHelper.getWSDLFileName(wsdlURL);
- try
- {
- def_ = (new Uddi4jHelper()).getWSDLDefinition(wsdlURL);
- }
- catch (Exception e)
- {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- wsilPerspective.getMessageQueue().addMessage(e.getMessage());
- return false;
- }
- return true;
- }
-
- private boolean getWSDLFromUDDIRegistry()
- {
- int nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String)propertyTable_.get(ActionInputs.VIEWID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- WsilElement wsilElement = (WsilElement)selectedNode.getTreeElement();
- ListManager wsilServices = wsilElement.getAllUDDIServices();
- ListElement le = wsilServices.getElementWithViewId(viewID);
- WsilUddiServiceElement service = (WsilUddiServiceElement)le.getObject();
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- wsdlFileName_ = service.getName() + ".wsdl";
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- try
- {
- UDDIProxy proxy = null;
- String inquiryURL = service.getUDDIServiceInquiryAPI();
- if (inquiryURL != null)
- {
- proxy = new UDDIProxy();
- proxy.setInquiryURL(inquiryURL);
- }
- def_ = uddi4jHelper.getWSDLDefinition(uddi4jHelper.getWSDL(service.getServiceDefinition(), proxy));
- }
- catch (Exception e)
- {
- // the wsdl representing this service is unreachable through the UDDI
- // registry. We will try using the discovery URL instead.
- try
- {
- def_ = uddi4jHelper.getWSDLDefinition(service.getUDDIServiceDiscoveryURL());
- return true;
- }
- catch (Exception e2)
- {
- }
- // if the discoveryURL also fails, return an error
- wsilPerspective.getMessageQueue().addMessage(e.getMessage());
- return false;
- }
- return true;
- }
-
- public boolean run()
- {
- int nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- Tool selectedTool = selectedNode.getToolManager().getSelectedTool();
- if (selectedTool instanceof ListWSDLServicesTool)
- return getWSDLFromURL();
- else if (selectedTool instanceof ListUDDIServicesTool)
- return getWSDLFromUDDIRegistry();
- else
- return false;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getWSILPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getWSILPerspective().getStatusContentPage();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSILToFileSystemAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSILToFileSystemAction.java
deleted file mode 100644
index 3335c1050..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ImportWSILToFileSystemAction.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.io.OutputStream;
-import org.apache.wsil.WSILDocument;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-
-public class ImportWSILToFileSystemAction extends ImportToFileSystemAction {
- private WSILDocument wsilDoc_;
- private WsilElement wsilElement_;
- private NodeManager nodeManager_;
-
- public ImportWSILToFileSystemAction(Controller controller) {
- super(controller);
- nodeManager_ = controller.getWSILPerspective().getNodeManager();
- }
-
- public static final String getActionLink(int nodeId,int toolId,int viewId,int viewToolId)
- {
- return ImportToFileSystemAction.getActionLink(nodeId,toolId,viewId,viewToolId,"wsil/actions/ImportWSILToFileSystemActionJSP.jsp");
- }
-
- public boolean write(OutputStream os) {
- if (wsilDoc_ != null) {
- return writeWSILDocument(os, wsilDoc_);
- }
- else {
- return false;
- }
- }
-
- public String getDefaultFileName() {
- String wsilFileName = wsilElement_.getWsilUrl();
- return wsilFileName.substring(wsilFileName.lastIndexOf('/') + 1, wsilFileName.length());
- }
-
- public boolean run() {
- int nodeID = Integer.parseInt((String)propertyTable_.get(ActionInputs.NODEID));
-
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- if (selectedElement instanceof WsilElement) {
- wsilElement_ = (WsilElement)selectedElement;
- wsilDoc_ = ((WsilElement)selectedElement).getWSILDocument();
- return true;
- }
- else {
- return false;
- }
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getWSILPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getWSILPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/MultipleLinkAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/MultipleLinkAction.java
deleted file mode 100644
index 3ee054349..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/MultipleLinkAction.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LinkAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilActionInputs;
-
-public abstract class MultipleLinkAction extends LinkAction
-{
- public MultipleLinkAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processLinkParameters(HttpServletRequest request)
- {
- String isMultipleLinkAction = request.getParameter(WsilActionInputs.MULTIPLE_LINK_ACTION);
- if (isMultipleLinkAction != null)
- {
- propertyTable_.put(WsilActionInputs.MULTIPLE_LINK_ACTION, isMultipleLinkAction);
- return processMultipleLinkActionParameters(request);
- }
- else
- {
- propertyTable_.remove(WsilActionInputs.MULTIPLE_LINK_ACTION);
- String nodeIDString = request.getParameter(ActionInputs.NODEID);
- String toolIDString = request.getParameter(ActionInputs.TOOLID);
- String viewIDString = request.getParameter(ActionInputs.VIEWID);
- String viewToolIDString = request.getParameter(ActionInputs.VIEWTOOLID);
- if (nodeIDString != null)
- propertyTable_.put(ActionInputs.NODEID, nodeIDString);
- if (toolIDString != null)
- propertyTable_.put(ActionInputs.TOOLID, toolIDString);
- if (viewIDString != null)
- propertyTable_.put(ActionInputs.VIEWID, viewIDString);
- if (viewToolIDString != null)
- propertyTable_.put(ActionInputs.VIEWTOOLID, viewToolIDString);
- return true;
- }
- }
-
- protected boolean processMultipleLinkActionParameters(HttpServletRequest request)
- {
- String nodeID = request.getParameter(ActionInputs.NODEID);
- String[] viewIDs = request.getParameterValues(ActionInputs.VIEWID);
- propertyTable_.put(ActionInputs.NODEID, nodeID);
- propertyTable_.put(ActionInputs.VIEWID, viewIDs);
- if (viewIDs.length == 0)
- return false;
- else
- return true;
- }
-
- protected boolean isMultipleLinkAction()
- {
- return propertyTable_.containsKey(WsilActionInputs.MULTIPLE_LINK_ACTION);
- }
-
- protected String[] getViewIds()
- {
- Object object = propertyTable_.get(ActionInputs.VIEWID);
- if (object == null)
- return new String[0];
- else if (object.getClass().isArray())
- return (String[])object;
- else
- return new String[] {(String)object};
- }
-
- public boolean run()
- {
- return (isMultipleLinkAction()) ? executeMultipleLinkAction() : executeSingleLinkAction();
- }
-
- protected boolean executeMultipleLinkAction()
- {
- boolean result = false;
- String[] viewIds = getViewIds();
- if (viewIds != null && viewIds.length > 0)
- {
- for (int i = 0; i < viewIds.length; i++)
- {
- propertyTable_.put(ActionInputs.VIEWID, viewIds[i]);
- if (executeSingleLinkAction())
- result = true;
- }
- }
- propertyTable_.put(ActionInputs.VIEWID, viewIds);
- return result;
- }
-
- protected abstract boolean executeSingleLinkAction();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/NullAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/NullAction.java
deleted file mode 100644
index 038296a39..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/NullAction.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-
-public class NullAction extends Action
-{
- public NullAction()
- {
- }
-
- public boolean populatePropertyTable(HttpServletRequest request)
- {
- return true;
- }
-
- public boolean run()
- {
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILAction.java
deleted file mode 100644
index 0ca36009d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILAction.java
+++ /dev/null
@@ -1,183 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Enumeration;
-import java.util.Iterator;
-import java.util.List;
-import org.apache.wsil.WSILDocument;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.FormAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-public class OpenWSILAction extends FormAction
-{
-
- public OpenWSILAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String wsilURL = parser.getParameter(WsilActionInputs.WSIL_URL);
- String inspectionType = parser.getParameter(WsilActionInputs.WSIL_INSPECTION_TYPE);
- FormTool formTool = getSelectedFormTool();
- propertyTable_.put(WsilActionInputs.WSIL_URL, wsilURL);
- if (inspectionType != null && inspectionType.length() > 0)
- propertyTable_.put(WsilActionInputs.WSIL_INSPECTION_TYPE, inspectionType);
- formTool.updatePropertyTable(propertyTable_);
- return true;
- }
-
- public FormTool getSelectedFormTool()
- {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- return (FormTool)wsilPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
- }
-
- public boolean run()
- {
- String wsilURL = (String)propertyTable_.get(WsilActionInputs.WSIL_URL);
- int inspectionType = Integer.parseInt((String)propertyTable_.get(WsilActionInputs.WSIL_INSPECTION_TYPE));
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- MessageQueue msgQueue = wsilPerspective.getMessageQueue();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node rootNode = nodeManager.getRootNode();
- TreeElement root = rootNode.getTreeElement();
- WsilElement wsilElement = getOpenedWSIL(root, wsilURL);
- if (wsilElement == null)
- {
- WebServicesParserExt parser = new WebServicesParserExt(wsilURL);
- try
- {
- parser.parse(WebServicesParser.PARSE_NONE);
- WebServiceEntity wsEntity = parser.getWebServiceEntityByURI(wsilURL);
- int type = wsEntity.getType();
- if (type == WebServiceEntity.TYPE_HTML)
- return openHTML(wsEntity.getChildren(), inspectionType);
- else if (type == WebServiceEntity.TYPE_WSIL)
- return openWSIL(wsilURL, parser.getWSILDocument(wsilURL), inspectionType);
- else
- msgQueue.addMessage(wsilPerspective.getMessage("MSG_ERROR_INVALID_WSIL_URL", wsilURL));
- }
- catch (Throwable t)
- {
- msgQueue.addMessage(t.getMessage());
- }
- return false;
- }
- else
- {
- preselectWSILNode(nodeManager, rootNode.getChildNode(wsilElement).getNodeId(), inspectionType);
- msgQueue.addMessage(wsilPerspective.getMessage("MSG_ERROR_WSIL_ALREADY_OPENED", wsilURL));
- return true;
- }
- }
-
- private boolean openHTML(List wsils, int inspectionType)
- {
- int nodeId = -1;
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- MessageQueue msgQueue = wsilPerspective.getMessageQueue();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node rootNode = nodeManager.getRootNode();
- TreeElement root = rootNode.getTreeElement();
- for (Iterator it = wsils.iterator(); it.hasNext();)
- {
- WebServiceEntity wsilEntity = (WebServiceEntity)it.next();
- String wsilURL = wsilEntity.getURI();
- WsilElement wsilElement = getOpenedWSIL(root, wsilURL);
- if (wsilElement == null)
- {
- try
- {
- WSILDocument wsilDoc = WSILDocument.newInstance();
- wsilDoc.read(wsilURL);
- wsilElement = new WsilElement(wsilURL, root.getModel(), wsilDoc, wsilURL);
- root.connect(wsilElement, WsilModelConstants.REL_WSIL, ModelConstants.REL_OWNER);
- nodeId = rootNode.getChildNode(wsilElement).getNodeId();
- msgQueue.addMessage(wsilPerspective.getMessage("MSG_INFO_OPEN_WSIL_SUCCESSFUL", wsilURL));
- }
- catch (Throwable t)
- {
- msgQueue.addMessage(t.getMessage());
- }
- }
- else
- {
- msgQueue.addMessage(wsilPerspective.getMessage("MSG_ERROR_WSIL_ALREADY_OPENED", wsilURL));
- nodeId = rootNode.getChildNode(wsilElement).getNodeId();
- }
- }
- if (nodeId != -1)
- {
- preselectWSILNode(nodeManager, nodeId, inspectionType);
- return true;
- }
- else
- return false;
- }
-
- private boolean openWSIL(String wsilURL, WSILDocument wsilDoc, int inspectionType)
- {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- MessageQueue msgQueue = wsilPerspective.getMessageQueue();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node rootNode = nodeManager.getRootNode();
- TreeElement root = rootNode.getTreeElement();
- WsilElement wsilElement = new WsilElement(wsilURL, root.getModel(), wsilDoc, wsilURL);
- root.connect(wsilElement, WsilModelConstants.REL_WSIL, ModelConstants.REL_OWNER);
- int nodeId = rootNode.getChildNode(wsilElement).getNodeId();
- msgQueue.addMessage(wsilPerspective.getMessage("MSG_INFO_OPEN_WSIL_SUCCESSFUL", wsilURL));
- preselectWSILNode(nodeManager, nodeId, inspectionType);
- return true;
- }
-
- private void preselectWSILNode(NodeManager nodeManager, int nodeId, int inspectionType)
- {
- nodeManager.setSelectedNodeId(nodeId);
- Node selectedNode = nodeManager.getNode(nodeId);
- selectedNode.setViewId(ActionInputs.VIEWTOOLID_DEFAULT);
- ToolManager toolManager = selectedNode.getToolManager();
- toolManager.setSelectedToolId(inspectionType);
- addToHistory(ActionInputs.PERSPECTIVE_WSIL, SelectWSILToolAction.getActionLink(nodeId, inspectionType, ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT, true));
- }
-
- private WsilElement getOpenedWSIL(TreeElement root, String wsilURL)
- {
- Enumeration e = root.getElements(WsilModelConstants.REL_WSIL);
- while (e.hasMoreElements())
- {
- WsilElement wsilElement = (WsilElement)e.nextElement();
- if (wsilElement.getWsilUrl().equals(wsilURL))
- return wsilElement;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILLinkAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILLinkAction.java
deleted file mode 100644
index b2a88124a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/OpenWSILLinkAction.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilWsilLinkElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class OpenWSILLinkAction extends MultipleLinkAction
-{
- public OpenWSILLinkAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/OpenWSILLinkActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink()
- {
- return "wsil/actions/OpenWSILLinkActionJSP.jsp";
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_WSIL_LINKS, ActionInputs.VIEWID, WSILViewSelectionTransformer.WSIL_LINK);
- return transformers;
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- if (!(selectedElement instanceof WsilElement))
- return false;
- ListElement le = ((WsilElement) selectedElement).getAllWSILLinks().getElementWithViewId(viewID);
- WsilWsilLinkElement link = (WsilWsilLinkElement) le.getObject();
- String wsilURL = link.getWSILLinkLocation();
- // populate and run the OpenWSILAction
- OpenWSILAction action = new OpenWSILAction(controller_);
- Hashtable table = action.getPropertyTable();
- table.put(WsilActionInputs.WSIL_URL, wsilURL);
- table.put(WsilActionInputs.WSIL_INSPECTION_TYPE, String.valueOf(WsilActionInputs.WSIL_DETAILS));
- return action.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshAction.java
deleted file mode 100644
index 9e5e18698..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshAction.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import javax.servlet.http.HttpServletRequest;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.Action;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIBusinessTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WsilNode;
-
-public abstract class RefreshAction extends MultipleLinkAction
-{
- protected NodeManager nodeManager_;
-
- public RefreshAction(Controller controller)
- {
- super(controller);
- nodeManager_ = controller.getWSILPerspective().getNodeManager();
- }
-
- public static Action newAction(HttpServletRequest request, Controller controller)
- {
- NodeManager nodeManager = controller.getWSILPerspective().getNodeManager();
- String nodeIDString = request.getParameter(ActionInputs.NODEID);
- String viewIDString = request.getParameter(ActionInputs.VIEWID);
- int nodeID;
- try
- {
- nodeID = Integer.parseInt(nodeIDString);
- }
- catch (NumberFormatException nfe)
- {
- nodeID = nodeManager.getSelectedNodeId();
- }
- Node selectedNode = controller.getWSILPerspective().getNodeManager().getNode(nodeID);
- if (selectedNode == null || !(selectedNode instanceof WsilNode))
- return new NullAction();
- else
- {
- Tool selectedTool = selectedNode.getToolManager().getSelectedTool();
- RefreshAction action;
- if (viewIDString == null)
- action = new RefreshWSILAction(controller);
- else if (selectedTool instanceof ListUDDIServicesTool)
- action = new RefreshUDDIServiceAction(controller);
- else if (selectedTool instanceof ListUDDIBusinessTool)
- action = new RefreshUDDIBusinessAction(controller);
- else
- return new NullAction();
- action.getPropertyTable().put(ActionInputs.NODEID, String.valueOf(nodeID));
- return action;
- }
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/RefreshActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink()
- {
- return "wsil/actions/RefreshActionJSP.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIBusinessAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIBusinessAction.java
deleted file mode 100644
index 02193d098..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIBusinessAction.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Iterator;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiBusinessElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class RefreshUDDIBusinessAction extends RefreshAction
-{
- public RefreshUDDIBusinessAction(Controller controller)
- {
- super(controller);
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_UDDI_LINKS, ActionInputs.VIEWID, WSILViewSelectionTransformer.UDDI_BUSINESS);
- return transformers;
- }
-
- public boolean run()
- {
- return executeSingleLinkAction();
- }
-
- protected boolean executeMultipleLinkAction()
- {
- return executeSingleLinkAction();
- }
-
- public boolean executeSingleLinkAction()
- {
- boolean result = true;
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- MessageQueue messageQueue = wsilPerspective.getMessageQueue();
- if (selectedElement instanceof WsilElement)
- {
- WsilElement wsilElement = (WsilElement) selectedElement;
- ListManager lm = wsilElement.getAllUDDILinks();
- Vector uddiBusinessElements = new Vector();
- String[] viewIDs = getViewIds();
- for (int i = 0; i < viewIDs.length; i++)
- {
- int viewID = Integer.parseInt(viewIDs[i]);
- WsilUddiBusinessElement uddiBusinessElement = (WsilUddiBusinessElement) lm.getElementWithViewId(viewID).getObject();
- uddiBusinessElements.add(uddiBusinessElement);
- }
- wsilElement.refreshServiceProvidersFromRegistry(uddiBusinessElements);
- for (Iterator it = uddiBusinessElements.iterator(); it.hasNext();)
- {
- WsilUddiBusinessElement uddiBusinessElement = (WsilUddiBusinessElement) it.next();
- String name = uddiBusinessElement.getName();
- if (name == null || name.length() <= 0)
- name = uddiBusinessElement.getUDDILinkBusinessKey();
- if (uddiBusinessElement.getServiceProvider() != null)
- messageQueue.addMessage(wsilPerspective.getMessage("MSG_INFO_REFRESH_SUCCESSFUL", name));
- else
- {
- messageQueue.addMessage(wsilPerspective.getMessage("MSG_ERROR_BUSINESS_NOT_FOUND", name));
- result = false;
- }
- }
- }
- else
- result = false;
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIServiceAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIServiceAction.java
deleted file mode 100644
index e918c3ad9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshUDDIServiceAction.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Iterator;
-import java.util.Vector;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class RefreshUDDIServiceAction extends RefreshAction
-{
- public RefreshUDDIServiceAction(Controller controller)
- {
- super(controller);
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_UDDI_SERVICES, ActionInputs.VIEWID, WSILViewSelectionTransformer.UDDI_SERVICE);
- return transformers;
- }
-
- public boolean run()
- {
- return executeSingleLinkAction();
- }
-
- protected boolean executeMultipleLinkAction()
- {
- return executeSingleLinkAction();
- }
-
- public boolean executeSingleLinkAction()
- {
- boolean result = true;
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- MessageQueue messageQueue = wsilPerspective.getMessageQueue();
- if (selectedElement instanceof WsilElement)
- {
- WsilElement wsilElement = (WsilElement) selectedElement;
- ListManager lm = wsilElement.getAllUDDIServices();
- Vector uddiServiceElements = new Vector();
- String[] viewIDs = getViewIds();
- for (int i = 0; i < viewIDs.length; i++)
- {
- int viewID = Integer.parseInt(viewIDs[i]);
- WsilUddiServiceElement uddiServiceElement = (WsilUddiServiceElement) lm.getElementWithViewId(viewID).getObject();
- uddiServiceElements.add(uddiServiceElement);
- }
- wsilElement.refreshServiceDefinitionsFromRegistry(uddiServiceElements);
- for (Iterator it = uddiServiceElements.iterator(); it.hasNext();)
- {
- WsilUddiServiceElement uddiServiceElement = (WsilUddiServiceElement) it.next();
- String name = uddiServiceElement.getName();
- if (name == null || name.length() <= 0)
- name = uddiServiceElement.getUDDIServiceKey();
- if (uddiServiceElement.getServiceDefinition() != null)
- messageQueue.addMessage(wsilPerspective.getMessage("MSG_INFO_REFRESH_SUCCESSFUL", name));
- else
- {
- messageQueue.addMessage(wsilPerspective.getMessage("MSG_ERROR_SERVICE_NOT_FOUND", name));
- result = false;
- }
- }
- }
- else
- result = false;
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshWSILAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshWSILAction.java
deleted file mode 100644
index 7f55d9534..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/RefreshWSILAction.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public class RefreshWSILAction extends RefreshAction
-{
- public RefreshWSILAction(Controller controller)
- {
- super(controller);
- }
-
- public boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- Node selectedNode = nodeManager_.getNode(nodeID);
- TreeElement selectedElement = selectedNode.getTreeElement();
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- if (selectedElement instanceof WsilElement)
- {
- String wsilURL = ((WsilElement) selectedElement).getWsilUrl();
- if (((WsilElement) selectedElement).refresh())
- {
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_REFRESH_SUCCESSFUL", wsilURL));
- return true;
- }
- else
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_WSIL_NOT_FOUND", wsilURL));
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ResizeWSILFramesAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ResizeWSILFramesAction.java
deleted file mode 100644
index 9a52a14f6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/ResizeWSILFramesAction.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ResizeFramesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public class ResizeWSILFramesAction extends ResizeFramesAction
-{
- public ResizeWSILFramesAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processOthers(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- // Save the current frameset sizes.
- String frameName = (String)propertyTable_.get(ActionInputs.FRAME_NAME);
- String perspectiveContentFramesetCols = (String)propertyTable_.get(WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
-
- // Set the new frameset sizes.
- if (frameName.equals(WsilFrameNames.WSIL_NAVIGATOR_CONTAINER))
- {
- wsilPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsilPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- if (perspectiveContentFramesetCols.startsWith("100%"))
- {
- // Restore.
- wsilPerspective.setPerspectiveContentFramesetCols(wsilPerspective.getSavedPerspectiveContentFramesetCols());
- }
- else
- {
- // Maximize.
- wsilPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsilPerspective.setPerspectiveContentFramesetCols("100%,0%");
- }
- }
- else if (frameName.equals(WsilFrameNames.WSIL_PROPERTIES_CONTAINER))
- {
- if (actionsContainerFramesetRows.startsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- wsilPerspective.setPerspectiveContentFramesetCols(wsilPerspective.getSavedPerspectiveContentFramesetCols());
- wsilPerspective.setActionsContainerFramesetRows(wsilPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- wsilPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsilPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsilPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- wsilPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsilPerspective.setActionsContainerFramesetRows("100%,0%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- wsilPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsilPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- else if (frameName.equals(WsilFrameNames.WSIL_STATUS_CONTAINER))
- {
- if (actionsContainerFramesetRows.endsWith("100%"))
- {
- if (perspectiveContentFramesetCols.endsWith("100%"))
- {
- // Restore.
- wsilPerspective.setPerspectiveContentFramesetCols(wsilPerspective.getSavedPerspectiveContentFramesetCols());
- wsilPerspective.setActionsContainerFramesetRows(wsilPerspective.getSavedActionsContainerFramesetRows());
- }
- else
- {
- // Maximize.
- wsilPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsilPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsilPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- else
- {
- // Maximize.
- wsilPerspective.setSavedActionsContainerFramesetRows(actionsContainerFramesetRows);
- wsilPerspective.setActionsContainerFramesetRows("0%,100%");
- if (!perspectiveContentFramesetCols.endsWith("100%"))
- {
- wsilPerspective.setSavedPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
- wsilPerspective.setPerspectiveContentFramesetCols("0%,100%");
- }
- }
- }
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILNodeAction.java
deleted file mode 100644
index 201abad2a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILNodeAction.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-
-public class SelectWSILNodeAction extends SelectNodeAction
-{
- public SelectWSILNodeAction(Controller controller)
- {
- super(controller, controller.getWSILPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeID, boolean keepHistory)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/SelectWSILNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- if (keepHistory) {
- actionLink.append('&');
- actionLink.append(ActionInputs.ISHISTORY);
- actionLink.append("=1");
- }
- return actionLink.toString();
- }
-
- protected String getActionLinkForHistory()
- {
- Node selectedNode = getSelectedNode();
- Tool selectedTool = selectedNode.getToolManager().getSelectedTool();
- if (selectedTool.getToolType() != ToolTypes.ACTION)
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedTool.getToolId(), selectedNode.getViewId(), selectedNode.getViewToolId(), true);
- else
- return getActionLink(selectedNode.getNodeId(), true);
- }
-
- public final String getTreeContentVar() {
- return "wsilNavigatorContent";
- }
-
- public final String getTreeContentPage() {
- return "wsil/wsil_navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar() {
- return "wsilPropertiesContainer";
- }
-
- public final String getPropertiesContainerPage() {
- return "wsil/wsil_properties_container.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSIL;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILToolAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILToolAction.java
deleted file mode 100644
index 3e19c959d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SelectWSILToolAction.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.SelectNodeToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class SelectWSILToolAction extends SelectNodeToolAction
-{
- public SelectWSILToolAction(Controller controller)
- {
- super(controller, controller.getWSILPerspective().getNodeManager());
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length + 1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length - 1] = new WSILViewSelectionTransformer(controller_);
- return transformers;
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID, boolean keepHistory)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/SelectWSILToolActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- if (viewID != ActionInputs.VIEWID_DEFAULT)
- {
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- }
- if (keepHistory)
- {
- actionLink.append('&');
- actionLink.append(ActionInputs.ISHISTORY);
- actionLink.append("=1");
- }
- return actionLink.toString();
- }
-
- protected String getActionLinkForHistory()
- {
- boolean keepHistory = false;
- Node selectedNode = getSelectedNode();
- Tool selectedTool = getSelectedTool();
- int toolType = getSelectedTool().getToolType();
- if (toolType == ToolTypes.FORM)
- keepHistory = true;
- else if (toolType == ToolTypes.VIEW)
- {
- int viewID = selectedNode.getViewId();
- if (viewID == ActionInputs.VIEWID_DEFAULT)
- keepHistory = true;
- else
- {
- if (((ViewTool) selectedTool).getToolManager(viewID).getTool(selectedNode.getViewToolId()).getToolType() != ToolTypes.ACTION)
- keepHistory = true;
- }
- }
- if (keepHistory)
- {
- return getActionLink(selectedNode.getNodeId(), selectedTool.getToolId(), selectedNode.getViewId(), selectedNode.getViewToolId(), true);
- }
- else
- return null;
- }
-
- public final String getTreeContentVar()
- {
- return "wsilNavigatorContent";
- }
-
- public final String getTreeContentPage()
- {
- return "wsil/wsil_navigator_content.jsp";
- }
-
- public final String getPropertiesContainerVar()
- {
- return "wsilPropertiesContainer";
- }
-
- public final String getPropertiesContainerPage()
- {
- return "wsil/wsil_properties_container.jsp";
- }
-
- public final String getPropertiesContentVar()
- {
- return "wsilPropertiesContent";
- }
-
- public final String getPropertiesContentPage()
- {
- return "wsil/wsil_properties_content.jsp";
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSIL;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SwitchPerspectiveFromWSILAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SwitchPerspectiveFromWSILAction.java
deleted file mode 100644
index 0ebdb51fa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/SwitchPerspectiveFromWSILAction.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataException;
-import org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public final class SwitchPerspectiveFromWSILAction extends ShowPerspectiveAction
-{
- public SwitchPerspectiveFromWSILAction(Controller controller)
- {
- super(controller);
- }
-
- protected boolean processParsedResults(MultipartFormDataParser parser) throws MultipartFormDataException
- {
- String perspectiveContentFramesetCols = parser.getParameter(WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = parser.getParameter(WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
- if (perspectiveContentFramesetCols != null && actionsContainerFramesetRows != null)
- {
- propertyTable_.put(WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT,perspectiveContentFramesetCols);
- propertyTable_.put(WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER,actionsContainerFramesetRows);
- return true;
- }
- return false;
- }
-
- public final boolean run()
- {
- String perspectiveContentFramesetCols = (String)propertyTable_.get(WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT);
- String actionsContainerFramesetRows = (String)propertyTable_.get(WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER);
-
- // Save the frameset sizes iff no frame is maximized.
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- if (!perspectiveContentFramesetCols.startsWith("100%") && !perspectiveContentFramesetCols.endsWith("100%"))
- wsilPerspective.setPerspectiveContentFramesetCols(perspectiveContentFramesetCols);
-
- if (!actionsContainerFramesetRows.startsWith("100%") && !actionsContainerFramesetRows.endsWith("100%"))
- wsilPerspective.setActionsContainerFramesetRows(actionsContainerFramesetRows);
-
- return super.run();
- }
-
- public static final String getFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- StringBuffer formLink = new StringBuffer("wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp?");
- formLink.append(ActionInputs.PERSPECTIVE).append('=').append(targetPerspectiveId);
- if (forHistory)
- formLink.append('&').append(ActionInputs.ISHISTORY).append("=1");
- return formLink.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WSILImportWSILToWorkbenchAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WSILImportWSILToWorkbenchAction.java
deleted file mode 100644
index aff146f7a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WSILImportWSILToWorkbenchAction.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToWorkbenchAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public class WSILImportWSILToWorkbenchAction extends ImportToWorkbenchAction
-{
- public WSILImportWSILToWorkbenchAction(Controller controller)
- {
- super(controller);
- }
-
- public FormTool getSelectedFormTool()
- {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- return (FormTool)wsilPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
- }
-
- public ImportToFileSystemAction newImportToFileSystemAction()
- {
- ImportWSILToFileSystemAction action = new ImportWSILToFileSystemAction(controller_);
- Hashtable table = action.getPropertyTable();
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- table.put(ActionInputs.NODEID, String.valueOf(selectedNode.getNodeId()));
- return action;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getWSILPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getWSILPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilAddToWSDLPerspectiveAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilAddToWSDLPerspectiveAction.java
deleted file mode 100644
index f534e5452..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilAddToWSDLPerspectiveAction.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ITransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.OpenWSDLAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilWsdlServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer.WSILViewSelectionTransformer;
-
-public class WsilAddToWSDLPerspectiveAction extends MultipleLinkAction
-{
- public WsilAddToWSDLPerspectiveAction(Controller controller)
- {
- super(controller);
- }
-
- public static String getActionLink(int nodeID, int toolID, int viewID, int viewToolID)
- {
- StringBuffer actionLink = new StringBuffer("wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeID);
- actionLink.append('&');
- actionLink.append(ActionInputs.TOOLID);
- actionLink.append('=');
- actionLink.append(toolID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWID);
- actionLink.append('=');
- actionLink.append(viewID);
- actionLink.append('&');
- actionLink.append(ActionInputs.VIEWTOOLID);
- actionLink.append('=');
- actionLink.append(viewToolID);
- return actionLink.toString();
- }
-
- public static String getBaseActionLink()
- {
- return "wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp";
- }
-
- public ITransformer[] getTransformers()
- {
- ITransformer[] parentTransformers = super.getTransformers();
- ITransformer[] transformers = new ITransformer[parentTransformers.length+1];
- System.arraycopy(parentTransformers, 0, transformers, 0, parentTransformers.length);
- transformers[transformers.length-1] = new WSILViewSelectionTransformer(controller_, WsilModelConstants.LIST_MANAGER_WSDL_SERVICES, ActionInputs.VIEWID, WSILViewSelectionTransformer.WSDL_SERVICE);
- return transformers;
- }
-
- protected boolean executeSingleLinkAction()
- {
- int nodeID = Integer.parseInt((String) propertyTable_.get(ActionInputs.NODEID));
- int viewID = Integer.parseInt((String) propertyTable_.get(ActionInputs.VIEWID));
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- Node selectedNode = wsilPerspective.getNodeManager().getNode(nodeID);
- WsilElement wsilElement = (WsilElement) selectedNode.getTreeElement();
- WsilWsdlServiceElement wsilWsdlServiceElement = (WsilWsdlServiceElement) wsilElement.getAllWSDLServices().getElementWithViewId(viewID).getObject();
- String wsdlUrl = wsilWsdlServiceElement.getWSDLServiceURL();
- OpenWSDLAction openWSDLAction = new OpenWSDLAction(controller_);
- Hashtable propertyTable = openWSDLAction.getPropertyTable();
- propertyTable.put(ActionInputs.QUERY_INPUT_WSDL_URL, wsdlUrl);
- boolean actionResult = openWSDLAction.run();
- if (actionResult)
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_INFO_ADD_WSDL_TO_WSDL_PERSPECTIVE_SUCCESSFUL", wsdlUrl));
- else
- wsilPerspective.getMessageQueue().addMessage(wsilPerspective.getMessage("MSG_ERROR_ADD_WSDL_TO_WSDL_PERSPECTIVE", wsdlUrl));
- return actionResult;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilImportWSDLToWorkbenchAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilImportWSDLToWorkbenchAction.java
deleted file mode 100644
index 95abee37c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilImportWSDLToWorkbenchAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ImportToWorkbenchAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public class WsilImportWSDLToWorkbenchAction extends ImportToWorkbenchAction {
- public WsilImportWSDLToWorkbenchAction(Controller controller) {
- super(controller);
- }
-
- public FormTool getSelectedFormTool() {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- return (FormTool)wsilPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
- }
-
- public ImportToFileSystemAction newImportToFileSystemAction() {
- ImportWSDLToFileSystemAction action = new ImportWSDLToFileSystemAction(controller_);
- Hashtable table = action.getPropertyTable();
-
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
-
- table.put(ActionInputs.NODEID, String.valueOf(selectedNode.getNodeId()));
- table.put(ActionInputs.TOOLID, String.valueOf(selectedNode.getToolManager().getSelectedToolId()));
- table.put(ActionInputs.VIEWID, String.valueOf(selectedNode.getViewId()));
-
- return action;
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getWSILPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getWSILPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilLaunchWebServiceWizardAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilLaunchWebServiceWizardAction.java
deleted file mode 100644
index a968afacf..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilLaunchWebServiceWizardAction.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.LaunchWebServiceWizardAction;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilUddiServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilWsdlServiceElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListWSDLServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective;
-
-public class WsilLaunchWebServiceWizardAction extends LaunchWebServiceWizardAction {
- public WsilLaunchWebServiceWizardAction(Controller controller) {
- super(controller);
- }
-
- public static LaunchWebServiceWizardAction newAction(Controller controller) {
- return new WsilLaunchWebServiceWizardAction(controller);
- }
-
- public FormTool getSelectedFormTool() {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- return (FormTool)wsilPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
- }
-
- public boolean run() {
- WSILPerspective wsilPerspective = controller_.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
- Tool selectedTool = selectedNode.getToolManager().getSelectedTool();
- int viewID = selectedNode.getViewId();
-
- ListElement le = null;
- String url = null;
- if (selectedTool instanceof ListWSDLServicesTool) {
- le = ((WsilElement)selectedElement).getAllWSDLServices().getElementWithViewId(viewID);
- url = ((WsilWsdlServiceElement)le.getObject()).getWSDLServiceURL();
- }
- else if (selectedTool instanceof ListUDDIServicesTool) {
- le = ((WsilElement)selectedElement).getAllUDDIServices().getElementWithViewId(viewID);
- url = ((WsilUddiServiceElement)le.getObject()).getWsdlUrl();
- }
- else
- return false;
- return launchWizard(url);
- }
-
- public final String getStatusContentVar()
- {
- return controller_.getWSILPerspective().getStatusContentVar();
- }
-
- public final String getStatusContentPage()
- {
- return controller_.getWSILPerspective().getStatusContentPage();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilToggleNodeAction.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilToggleNodeAction.java
deleted file mode 100644
index 9ab8a22a4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/actions/WsilToggleNodeAction.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.actions;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ToggleNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ToolTypes;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-
-public class WsilToggleNodeAction extends ToggleNodeAction {
- public WsilToggleNodeAction(Controller controller) {
- super(controller, controller.getFavoritesPerspective().getNodeManager());
- }
-
- public static String getActionLink(int nodeId, boolean open) {
- StringBuffer actionLink = new StringBuffer("wsil/actions/WsilToggleNodeActionJSP.jsp?");
- actionLink.append(ActionInputs.NODEID);
- actionLink.append('=');
- actionLink.append(nodeId);
- actionLink.append('&');
- actionLink.append(ActionInputs.OPEN);
- actionLink.append('=');
- if (open)
- actionLink.append(ActionInputs.OPEN_NODE);
- else
- actionLink.append(ActionInputs.CLOSE_NODE);
- return actionLink.toString();
- }
-
- public final String getActionLinkForHistory() {
- ToolManager toolManager = toggledNode_.getToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- int nodeId = toggledNode_.getNodeId();
- int toolId = selectedTool.getToolId();
- int viewId = toggledNode_.getViewId();
- int viewToolId = toggledNode_.getViewToolId();
- if (selectedTool.getToolType() != ToolTypes.ACTION)
- return SelectWSILToolAction.getActionLink(nodeId, toolId, viewId, viewToolId, true);
- else
- return SelectWSILNodeAction.getActionLink(nodeId, true);
- }
-
- public final String getTreeContentVar()
- {
- return controller_.getWSILPerspective().getTreeContentVar();
- }
-
- public final String getTreeContentPage()
- {
- return controller_.getWSILPerspective().getTreeContentPage();
- }
-
- public final String getPropertiesContainerVar()
- {
- return controller_.getWSILPerspective().getPropertiesContainerVar();
- }
-
- public final String getPropertiesContainerPage()
- {
- return controller_.getWSILPerspective().getPropertiesContainerPage();
- }
-
- public final int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSIL;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilActionInputs.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilActionInputs.java
deleted file mode 100644
index aeb3c55b6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilActionInputs.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.constants;
-
-public class WsilActionInputs
-{
- // open WSIL form
- public final static String WSIL_URL = "wsilURL";
- public final static String WSIL_INSPECTION_TYPE = "wsilInspectionType";
- public final static int WSIL_DETAILS = 0;
- public final static int WSDL_SERVICES = 1;
- public final static int UDDI_SERVICES = 2;
- public final static int UDDI_BUSINESSES = 3;
- public final static int WSIL_LINKS = 4;
-
- // mass action
- public final static String MULTIPLE_LINK_ACTION = "multipleLinkAction";
-
- // resize WSIL frames action
- public final static String FRAMESET_COLS_PERSPECTIVE_CONTENT = "framesetColsPerspectiveContent";
- public final static String FRAMESET_ROWS_ACTIONS_CONTAINER = "framesetRowsActionsContainer";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilFrameNames.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilFrameNames.java
deleted file mode 100644
index be2d25c31..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilFrameNames.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.constants;
-
-public class WsilFrameNames
-{
- public final static String WSIL_NAVIGATOR_CONTAINER = "wsil_navigator_container";
- public final static String WSIL_NAVIGATOR_TOOLBAR = "wsil_navigator_toolbar";
- public final static String WSIL_NAVIGATOR_CONTENT = "wsil_navigator_content";
- public final static String WSIL_ACTIONS_CONTAINER = "wsil_actions_container";
- public final static String WSIL_PROPERTIES_CONTAINER = "wsil_properties_container";
- public final static String WSIL_PROPERTIES_TOOLBAR = "wsil_properties_toolbar";
- public final static String WSIL_PROPERTIES_CONTENT = "wsil_properties_content";
- public final static String WSIL_STATUS_CONTAINER = "wsil_status_container";
- public final static String WSIL_STATUS_TOOLBAR = "wsil_status_toolbar";
- public final static String WSIL_STATUS_CONTENT = "wsil_status_content";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilModelConstants.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilModelConstants.java
deleted file mode 100644
index 5bb694b82..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/constants/WsilModelConstants.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.constants;
-
-public class WsilModelConstants
-{
- // Relation
- public final static String REL_WSIL = "relWSIL";
-
- // List Managers for WsilElement
- public final static String LIST_MANAGER_WSDL_SERVICES = "wsdlServices";
- public final static String LIST_MANAGER_UDDI_SERVICES = "uddiServices";
- public final static String LIST_MANAGER_UDDI_LINKS = "uddiLinks";
- public final static String LIST_MANAGER_WSIL_LINKS = "wsilLinks";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilCommonElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilCommonElement.java
deleted file mode 100644
index 52d28de68..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilCommonElement.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import org.eclipse.wst.ws.internal.datamodel.BasicElement;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-public class WsilCommonElement extends BasicElement
-{
- private String baseWsilURL;
- private String relativeURIBase;
-
- public WsilCommonElement(String name, Model model)
- {
- super(name, model);
- }
-
- public String getBaseWsilURL()
- {
- return baseWsilURL;
- }
-
- public void setBaseWsilURL(String baseWsilURL)
- {
- this.baseWsilURL = baseWsilURL;
- }
-
- private final char FWD_SLASH = '/';
- private final char BWD_SLASH = '\\';
- private final char PROTOCOL_INDICATOR = ':';
-
- public String makeAbsolute(String uri)
- {
- if (baseWsilURL != null && uri != null && uri.indexOf(PROTOCOL_INDICATOR) == -1)
- {
- if (relativeURIBase == null)
- {
- relativeURIBase = baseWsilURL.replace(BWD_SLASH, FWD_SLASH);
- int index = relativeURIBase.lastIndexOf(FWD_SLASH);
- relativeURIBase = baseWsilURL.substring(0, index + 1);
- }
- StringBuffer sb = new StringBuffer(relativeURIBase);
- sb.append(uri);
- return sb.toString();
- }
- return uri;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilElement.java
deleted file mode 100644
index 74828efbf..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilElement.java
+++ /dev/null
@@ -1,460 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import java.net.URL;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Properties;
-import java.util.Vector;
-import org.apache.wsil.Abstract;
-import org.apache.wsil.Description;
-import org.apache.wsil.Inspection;
-import org.apache.wsil.Link;
-import org.apache.wsil.Service;
-import org.apache.wsil.WSILDocument;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListManager;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.uddi4j.client.UDDIProxy;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.datatype.service.BusinessService;
-
-/**
- * The data model element that represents a WSIL document
- */
-public class WsilElement extends TreeElement
-{
- private WSILDocument wsilDoc_;
- private String thisWsilUrl_;
- /** ****************** Namespace ********** */
- private static final String NAMESPACE_WSDL = "http://schemas.xmlsoap.org/wsdl/";
- private static final String NAMESPACE_UDDI_V1 = "urn:uddi-org:api";
- private static final String NAMESPACE_UDDI_V2 = "urn:uddi-org:api_v2";
- //private static final String NAMESPACE_UDDI_BINDING = "http://schemas.xmlsoap.org/ws/2001/10/inspection/uddi/";
- private static final String NAMESPACE_WSIL_INSPECTION = "http://schemas.xmlsoap.org/ws/2001/10/inspection/";
- /** ****************** Rels **************** */
- // Relation for a WSIL doucment and its link nodes
- public static final String REL_WSIL_LINK = "wsil link nodes";
-
- public WsilElement(String name, Model model, WSILDocument wsilDocument, String wsilURL)
- {
- super(name, model);
- wsilDoc_ = wsilDocument;
- thisWsilUrl_ = wsilURL;
- ListManager wsdlServices_ = null;
- ListManager uddiServices_ = null;
- ListManager wsilLinks_ = null;
- ListManager uddiLinks_ = null;
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSDL_SERVICES, wsdlServices_);
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_SERVICES, uddiServices_);
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_LINKS, wsilLinks_);
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSIL_LINKS, uddiLinks_);
- }
-
- /*
- * Refresh the WSIL document
- */
- public boolean refresh()
- {
- try
- {
- WSILDocument newWSILDoc = WSILDocument.newInstance();
- newWSILDoc.read(getWsilUrl());
- wsilDoc_ = newWSILDoc;
- ListManager wsdlServices_ = null;
- ListManager uddiServices_ = null;
- ListManager wsilLinks_ = null;
- ListManager uddiLinks_ = null;
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSDL_SERVICES, wsdlServices_);
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_SERVICES, uddiServices_);
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_LINKS, wsilLinks_);
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSIL_LINKS, uddiLinks_);
- return true;
- }
- catch (Exception e)
- {
- return false;
- }
- }
-
- /*
- * Returns the WSIL's URL
- */
- public String getWsilUrl()
- {
- return thisWsilUrl_;
- }
-
- /*
- * Returns the WSIL document
- */
- public WSILDocument getWSILDocument()
- {
- return wsilDoc_;
- }
-
- /*
- * Returns all abstract languages
- */
- public Vector getWSILAbstractLangs()
- {
- Vector v = new Vector();
- Abstract[] abstracts = wsilDoc_.getInspection().getAbstracts();
- for (int i = 0; i < abstracts.length; i++)
- {
- v.add(abstracts[i].getLang());
- }
- return v;
- }
-
- /*
- * Returns all abstracts
- */
- public Vector getWSILAbstracts()
- {
- Vector v = new Vector();
- Abstract[] abstracts = wsilDoc_.getInspection().getAbstracts();
- for (int i = 0; i < abstracts.length; i++)
- {
- v.add(abstracts[i].getText());
- }
- return v;
- }
-
- public ListManager getAllWSDLServices()
- {
- ListManager wsdlServices_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSDL_SERVICES);
- if (wsdlServices_ == null)
- {
- initAllWSDLServices();
- wsdlServices_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSDL_SERVICES);
- }
- return wsdlServices_;
- }
-
- public ListManager getAllUDDIServices()
- {
- ListManager uddiServices_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_SERVICES);
- if (uddiServices_ == null)
- {
- initAllUDDIServices();
- uddiServices_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_SERVICES);
- }
- return uddiServices_;
- }
-
- private void initAllWSDLServices()
- {
- ListManager wsdlServices_ = new ListManager();
- Inspection inspection = wsilDoc_.getInspection();
- Service[] serviceList = inspection.getServices();
- for (int i = 0; i < serviceList.length; i++)
- {
- // skip any service without a wsdl namespace
- // and invalid descriptions
- Description[] descList = serviceList[i].getDescriptions();
- if (descList.length < 1)
- continue;
- String namespace = descList[0].getReferencedNamespace();
- if (namespace == null)
- continue;
- else if (namespace.equals(NAMESPACE_WSDL))
- {
- WsilWsdlServiceElement wsdlServiceElement = new WsilWsdlServiceElement(namespace, getModel(), serviceList[i]);
- wsdlServiceElement.setBaseWsilURL(getWsilUrl());
- if (wsdlServiceElement.validateWSDLService())
- {
- wsdlServiceElement.setName(wsdlServiceElement.getWSDLServiceURL());
- wsdlServices_.add(new ListElement(wsdlServiceElement));
- }
- }
- }
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSDL_SERVICES, wsdlServices_);
- }
-
- private void initAllUDDIServices()
- {
- ListManager uddiServices_ = new ListManager();
- Inspection inspection = wsilDoc_.getInspection();
- Service[] serviceList = inspection.getServices();
- Vector uddiServiceElements = new Vector();
- for (int i = 0; i < serviceList.length; i++)
- {
- // skip any service without a wsdl namespace
- // and invalid descriptions
- Description[] descList = serviceList[i].getDescriptions();
- if (descList.length < 1)
- continue;
- String namespace = descList[0].getReferencedNamespace();
- if (namespace == null)
- continue;
- else if ((namespace.equals(NAMESPACE_UDDI_V1) || namespace.equals(NAMESPACE_UDDI_V2)))
- {
- WsilUddiServiceElement uddiServiceElement = new WsilUddiServiceElement(namespace, getModel(), serviceList[i]);
- uddiServiceElement.setBaseWsilURL(getWsilUrl());
- if (uddiServiceElement.validateUDDIService())
- {
- uddiServiceElement.setName(uddiServiceElement.getName());
- uddiServiceElements.add(uddiServiceElement);
- }
- }
- }
- refreshServiceDefinitionsFromRegistry(uddiServiceElements);
- for (Iterator it = uddiServiceElements.iterator(); it.hasNext();)
- {
- uddiServices_.add(new ListElement(it.next()));
- }
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_SERVICES, uddiServices_);
- }
-
- public void refreshServiceDefinitionsFromRegistry(Vector uddiServiceElements)
- {
- HashMap inquiryAPIToServices = new HashMap();
- for (int i = 0; i < uddiServiceElements.size(); i++)
- {
- WsilUddiServiceElement uddiServiceElement = (WsilUddiServiceElement) uddiServiceElements.get(i);
- String inquiryAPI = uddiServiceElement.getUDDIServiceInquiryAPI();
- if (Validator.validateURL(inquiryAPI))
- {
- Vector services = (Vector) inquiryAPIToServices.get(inquiryAPI);
- if (services == null)
- {
- services = new Vector();
- inquiryAPIToServices.put(inquiryAPI, services);
- }
- services.add(uddiServiceElement);
- }
- else
- uddiServiceElement.setServiceDefinition(null);
- }
- for (Iterator it = inquiryAPIToServices.keySet().iterator(); it.hasNext();)
- {
- String inquiryAPI = (String) it.next();
- Vector services = (Vector) inquiryAPIToServices.get(inquiryAPI);
- UDDIProxy proxy;
- try
- {
- Properties props = new Properties();
- props.put(ActionInputs.TRANSPORT_CLASS_NAME, ActionInputs.TRASPORT_CLASS);
- proxy = new UDDIProxy(props);
- proxy.setInquiryURL(new URL(inquiryAPI));
- }
- catch (Throwable t)
- {
- for (int j = 0; j < services.size(); j++)
- {
- WsilUddiServiceElement uddiServiceElement = (WsilUddiServiceElement) services.get(j);
- uddiServiceElement.setServiceDefinition(null);
- }
- continue;
- }
- Vector serviceKeys = new Vector();
- for (int j = 0; j < services.size(); j++)
- {
- serviceKeys.add(((WsilUddiServiceElement) services.get(j)).getUDDIServiceKey());
- }
- Vector businessServices;
- try
- {
- businessServices = proxy.get_serviceDetail(serviceKeys).getBusinessServiceVector();
- }
- catch (Exception ex)
- {
- businessServices = new Vector();
- if (serviceKeys.size() > 1)
- {
- for (int k = 0; k < serviceKeys.size(); k++)
- {
- try
- {
- businessServices.add((BusinessService) proxy.get_serviceDetail((String) serviceKeys.get(k)).getBusinessServiceVector().get(0));
- }
- catch (Exception exception)
- {
- businessServices.add(null);
- }
- }
- }
- else
- businessServices.add(null);
- }
- for (int k = 0; k < services.size(); k++)
- {
- BusinessService bs = (BusinessService) businessServices.get(k);
- WsilUddiServiceElement uddiServiceElement = (WsilUddiServiceElement) services.get(k);
- uddiServiceElement.setServiceDefinition(bs);
- }
- }
- }
-
- public ListManager getAllWSILLinks()
- {
- ListManager wsilLinks_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSIL_LINKS);
- if (wsilLinks_ == null)
- {
- initAllWSILLinks();
- wsilLinks_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSIL_LINKS);
- }
- return wsilLinks_;
- }
-
- public ListManager getAllUDDILinks()
- {
- ListManager uddiLinks_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_LINKS);
- if (uddiLinks_ == null)
- {
- initAllUDDILinks();
- uddiLinks_ = (ListManager) getPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_LINKS);
- }
- return uddiLinks_;
- }
-
- private void initAllUDDILinks()
- {
- ListManager uddiLinks_ = new ListManager();
- Inspection inspection = wsilDoc_.getInspection();
- Link[] linkList = inspection.getLinks();
- Vector uddiBusinessElements = new Vector();
- for (int i = 0; i < linkList.length; i++)
- {
- // process any links with UDDI namespace
- String namespace = linkList[i].getReferencedNamespace();
- if (namespace == null)
- continue;
- else if ((namespace.equals(NAMESPACE_UDDI_V1) || namespace.equals(NAMESPACE_UDDI_V2)))
- {
- WsilUddiBusinessElement uddiBusinessElement = new WsilUddiBusinessElement(namespace, getModel(), linkList[i]);
- uddiBusinessElement.setBaseWsilURL(getWsilUrl());
- if (uddiBusinessElement.validateUDDILink())
- {
- uddiBusinessElement.setName(uddiBusinessElement.getName());
- uddiBusinessElements.add(uddiBusinessElement);
- }
- }
- }
- refreshServiceProvidersFromRegistry(uddiBusinessElements);
- for (Iterator it = uddiBusinessElements.iterator(); it.hasNext();)
- {
- uddiLinks_.add(new ListElement(it.next()));
- }
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_UDDI_LINKS, uddiLinks_);
- }
-
- public void refreshServiceProvidersFromRegistry(Vector uddiBusinessElements)
- {
- HashMap inquiryAPIToBusinesses = new HashMap();
- for (int i = 0; i < uddiBusinessElements.size(); i++)
- {
- WsilUddiBusinessElement uddiBusinessElement = (WsilUddiBusinessElement) uddiBusinessElements.get(i);
- String inquiryAPI = uddiBusinessElement.getUDDILinkInquiryAPI();
- if (Validator.validateURL(inquiryAPI))
- {
- Vector businesses = (Vector) inquiryAPIToBusinesses.get(inquiryAPI);
- if (businesses == null)
- {
- businesses = new Vector();
- inquiryAPIToBusinesses.put(inquiryAPI, businesses);
- }
- businesses.add(uddiBusinessElement);
- }
- else
- uddiBusinessElement.setServiceProvider(null);
- }
- for (Iterator it = inquiryAPIToBusinesses.keySet().iterator(); it.hasNext();)
- {
- String inquiryAPI = (String) it.next();
- Vector businesses = (Vector) inquiryAPIToBusinesses.get(inquiryAPI);
- UDDIProxy proxy;
- try
- {
- Properties props = new Properties();
- props.put(ActionInputs.TRANSPORT_CLASS_NAME, ActionInputs.TRASPORT_CLASS);
- proxy = new UDDIProxy(props);
- proxy.setInquiryURL(new URL(inquiryAPI));
- }
- catch (Exception e)
- {
- for (int j = 0; j < businesses.size(); j++)
- {
- WsilUddiBusinessElement uddiBusinessElement = (WsilUddiBusinessElement) businesses.get(j);
- uddiBusinessElement.setServiceProvider(null);
- }
- continue;
- }
- Vector businessKeys = new Vector();
- for (int j = 0; j < businesses.size(); j++)
- {
- businessKeys.add(((WsilUddiBusinessElement) businesses.get(j)).getUDDILinkBusinessKey());
- }
- Vector businessEntities;
- try
- {
- businessEntities = proxy.get_businessDetail(businessKeys).getBusinessEntityVector();
- }
- catch (Exception ex)
- {
- businessEntities = new Vector();
- if (businessKeys.size() > 1)
- {
- for (int k = 0; k < businessKeys.size(); k++)
- {
- try
- {
- businessEntities.add((BusinessEntity) proxy.get_businessDetail((String) businessKeys.get(k)).getBusinessEntityVector().get(0));
- }
- catch (Exception exception)
- {
- businessEntities.add(null);
- }
- }
- }
- else
- businessEntities.add(null);
- }
- for (int k = 0; k < businesses.size(); k++)
- {
- BusinessEntity be = (BusinessEntity) businessEntities.get(k);
- WsilUddiBusinessElement uddiBusinessElement = (WsilUddiBusinessElement) businesses.get(k);
- uddiBusinessElement.setServiceProvider(be);
- }
- }
- }
-
- private void initAllWSILLinks()
- {
- ListManager wsilLinks_ = new ListManager();
- Inspection inspection = wsilDoc_.getInspection();
- Link[] linkList = inspection.getLinks();
- for (int i = 0; i < linkList.length; i++)
- {
- // process any links with UDDI namespace
- String namespace = linkList[i].getReferencedNamespace();
- if (namespace == null)
- continue;
- else if (namespace.equals(NAMESPACE_WSIL_INSPECTION))
- {
- WsilWsilLinkElement wsilLinkElement = new WsilWsilLinkElement(namespace, getModel(), linkList[i]);
- wsilLinkElement.setBaseWsilURL(getWsilUrl());
- if (wsilLinkElement.validateWSILLink())
- {
- wsilLinkElement.setName(wsilLinkElement.getWSILLinkLocation());
- wsilLinks_.add(new ListElement(wsilLinkElement));
- }
- }
- }
- setPropertyAsObject(WsilModelConstants.LIST_MANAGER_WSIL_LINKS, wsilLinks_);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilLinkElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilLinkElement.java
deleted file mode 100644
index f3f72f1fd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilLinkElement.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import java.util.Vector;
-import org.apache.wsil.Abstract;
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* The data model element that represents
-* a WSIL Link
-*/
-public class WsilLinkElement extends WsilCommonElement
-{
- protected Link link_;
-
- public WsilLinkElement(String name, Model model, Link link)
- {
- super(name, model);
- link_ = link;
- }
-
- public Vector getLinkAbstractLangs()
- {
- Vector v = new Vector();
- Abstract[] abstracts = link_.getAbstracts();
- for (int i = 0; i < abstracts.length; i++)
- {
- v.add(abstracts[i].getLang());
- }
- return v;
- }
-
- public Vector getLinkAbstracts()
- {
- Vector v = new Vector();
- Abstract[] abstracts = link_.getAbstracts();
- for (int i = 0; i < abstracts.length; i++)
- {
- v.add(abstracts[i].getText());
- }
- return v;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilServiceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilServiceElement.java
deleted file mode 100644
index a63a279e4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilServiceElement.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import java.util.Vector;
-import org.apache.wsil.Abstract;
-import org.apache.wsil.Service;
-import org.apache.wsil.ServiceName;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* The data model element that represents
-* a WSIL Service
-*/
-public class WsilServiceElement extends WsilCommonElement
-{
- protected Service service_;
-
- public WsilServiceElement(String name, Model model, Service service) {
- super(name, model);
- service_ = service;
- }
-
- public Vector getServiceNameLangs() {
- Vector v = new Vector();
- ServiceName[] serviceNames = service_.getServiceNames();
- for (int i = 0; i < serviceNames.length; i++) {
- v.add(serviceNames[i].getLang());
- }
- return v;
- }
-
- public Vector getServiceNames() {
- Vector v = new Vector();
- ServiceName[] serviceNames = service_.getServiceNames();
- for (int i = 0; i < serviceNames.length; i++) {
- v.add(serviceNames[i].getText());
- }
- return v;
- }
-
- public Vector getServiceAbstractLangs() {
- Vector v = new Vector();
- Abstract[] abstracts = service_.getAbstracts();
- for (int i = 0; i < abstracts.length; i++) {
- v.add(abstracts[i].getLang());
- }
- return v;
- }
-
- public Vector getServiceAbstracts() {
- Vector v = new Vector();
- Abstract[] abstracts = service_.getAbstracts();
- for (int i = 0; i < abstracts.length; i++) {
- v.add(abstracts[i].getText());
- }
- return v;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiBusinessElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiBusinessElement.java
deleted file mode 100644
index 182d33ab1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiBusinessElement.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import org.apache.wsil.Link;
-import org.apache.wsil.extension.ExtensionElement;
-import org.apache.wsil.extension.uddi.BusinessDescription;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.datatype.business.BusinessEntity;
-import org.uddi4j.util.DiscoveryURL;
-
-/**
-* The data model element that represents
-* a UDDI service in a WSIL document
-*/
-public class WsilUddiBusinessElement extends WsilLinkElement
-{
- private BusinessEntity busEntity_;
-
- public WsilUddiBusinessElement(String name, Model model, Link link) {
- super(name, model, link);
- busEntity_ = null;
- }
-
- public void setServiceProvider(BusinessEntity be) {
- busEntity_ = be;
- }
-
- public BusinessEntity getServiceProvider() {
- return busEntity_;
- }
-
- public String getName() {
- return (busEntity_ == null) ? null : busEntity_.getDefaultNameString();
- }
-
- public String getDescription() {
- return (busEntity_ == null) ? null : busEntity_.getDefaultDescriptionString();
- }
-
- public String getUDDILinkInquiryAPI() {
- BusinessDescription bd = getValidUDDIBusinessDescription();
- return (bd == null) ? null : bd.getLocation();
- }
-
- public String getUDDILinkBusinessKey() {
- BusinessDescription bd = getValidUDDIBusinessDescription();
- return (bd == null) ? null : bd.getBusinessKey().getText();
- }
-
- public String getUDDILinkDiscoveryURL() {
- BusinessDescription bd = getValidUDDIBusinessDescription();
- if (bd == null)
- return null;
- else {
- DiscoveryURL discoveryURL = bd.getDiscoveryURL();
- return (discoveryURL == null) ? null : discoveryURL.getText();
- }
- }
-
- public boolean validateUDDILink() {
- BusinessDescription bd = getValidUDDIBusinessDescription();
- return (bd != null);
- }
-
- private BusinessDescription getValidUDDIBusinessDescription() {
- ExtensionElement extElement = link_.getExtensionElement();
- // The extension element of a UDDI link
- // must be a BusinessDescription element
- if (!(extElement instanceof BusinessDescription))
- return null;
- // A valid BusinessDescription must have an inquiry API
- String inquiryAPI = ((BusinessDescription)extElement).getLocation();
- if (!Validator.validateURL(inquiryAPI))
- return null;
- // A valid BusinessDescription must have a business key
- String businessKey = ((BusinessDescription)extElement).getBusinessKey().getText();
- if (businessKey == null || businessKey.length() <= 0)
- return null;
- return (BusinessDescription)extElement;
- }
-
- public String toString() {
- return getName();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiServiceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiServiceElement.java
deleted file mode 100644
index e7f9d643b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilUddiServiceElement.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import org.apache.wsil.Description;
-import org.apache.wsil.Service;
-import org.apache.wsil.extension.ExtensionElement;
-import org.apache.wsil.extension.uddi.ServiceDescription;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-import org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper;
-import org.eclipse.wst.ws.internal.explorer.platform.util.Validator;
-import org.uddi4j.datatype.service.BusinessService;
-import org.uddi4j.util.DiscoveryURL;
-
-/**
-* The data model element that represents
-* a UDDI service in a WSIL document
-*/
-public class WsilUddiServiceElement extends WsilServiceElement
-{
- private BusinessService busService_;
-
- public WsilUddiServiceElement(String name, Model model, Service service) {
- super(name, model, service);
- busService_ = null;
- }
-
- public void setServiceDefinition(BusinessService busService) {
- busService_ = busService;
- }
-
- public BusinessService getServiceDefinition() {
- return busService_;
- }
-
- public String getName() {
- return (busService_ == null) ? null : busService_.getDefaultNameString();
- }
-
- public String getDescription() {
- return (busService_ == null) ? null : busService_.getDefaultDescriptionString();
- }
-
- public String getUDDIServiceInquiryAPI() {
- ServiceDescription sd = getValidUDDIServiceDescription();
- return (sd == null) ? null : sd.getLocation();
- }
-
- public String getUDDIServiceKey() {
- ServiceDescription sd = getValidUDDIServiceDescription();
- return (sd == null) ? null : sd.getServiceKey().getText();
- }
-
- public String getUDDIServiceDiscoveryURL() {
- ServiceDescription sd = getValidUDDIServiceDescription();
- if (sd == null)
- return null;
- else {
- DiscoveryURL discoveryURL = sd.getDiscoveryURL();
- return (discoveryURL == null) ? null : discoveryURL.getText();
- }
- }
-
- private ServiceDescription getValidUDDIServiceDescription() {
- Description[] descList = service_.getDescriptions();
- for (int i = 0; i < descList.length; i++) {
- ExtensionElement extElement = descList[i].getExtensionElement();
- // The extension element of a UDDI service description
- // must be a ServiceDescription element
- if (!(extElement instanceof ServiceDescription))
- continue;
- // A valid ServiceDescription must have an inquiry API
- if (!Validator.validateURL(((ServiceDescription)extElement).getLocation()))
- continue;
- // A valid ServiceDescription must have a service key
- String serviceKey = ((ServiceDescription)extElement).getServiceKey().getText();
- if (serviceKey == null || serviceKey.length() <= 0)
- continue;
- return (ServiceDescription)extElement;
- }
- return null;
- }
-
- public boolean validateUDDIService() {
- ServiceDescription sd = getValidUDDIServiceDescription();
- return (sd != null);
- }
-
- public String getWsdlUrl() {
- return (new Uddi4jHelper()).getWSDL(getServiceDefinition(), null);
- }
-
- public String toString() {
- return getName();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsdlServiceElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsdlServiceElement.java
deleted file mode 100644
index 1966cd0c2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsdlServiceElement.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import java.util.Vector;
-import org.apache.wsil.Description;
-import org.apache.wsil.Service;
-import org.apache.wsil.extension.ExtensionElement;
-import org.apache.wsil.extension.wsdl.ImplementedBinding;
-import org.apache.wsil.extension.wsdl.Reference;
-import org.apache.wsil.extension.wsdl.ReferencedService;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* The data model element that represents
-* a WSDL service in a WSIL document
-*/
-public class WsilWsdlServiceElement extends WsilServiceElement
-{
- public WsilWsdlServiceElement(String name, Model model, Service service) {
- super(name, model, service);
- }
-
- public String getWSDLServiceURL() {
- Description desc = getValidWSDLDescription();
- return (desc == null) ? null : makeAbsolute(desc.getLocation());
- }
-
- public Vector getWSDLBinding() {
- Vector v = new Vector();
- Description[] descList = service_.getDescriptions();
- for (int i = 0; i < descList.length; i++) {
- ExtensionElement extElement = descList[i].getExtensionElement();
- if (extElement != null && extElement instanceof Reference) {
- ReferencedService refService = ((Reference)extElement).getReferencedService();
- if (refService != null) {
- v.add(refService.getReferencedServiceName());
- }
- ImplementedBinding[] implBindingList = ((Reference)extElement).getImplementedBindings();
- for (int j = 0; j < implBindingList.length; j++) {
- v.add(implBindingList[j].getBindingName());
- }
- }
- }
- return v;
- }
-
- private Description getValidWSDLDescription() {
- Description[] descList = service_.getDescriptions();
- for (int i = 0; i < descList.length; i++) {
- // skip this description if the locatioin attribute is a malformed URL
- String location = descList[i].getLocation();
- if (location == null || location.length() <= 0)
- continue;
- // skip this description if the extension element indicates
- // that the description's location contains only the wsdl binding
- ExtensionElement extElement = descList[i].getExtensionElement();
- if (extElement != null && extElement instanceof Reference) {
- Boolean endpointPresent = ((Reference)extElement).getEndpointPresent();
- if (endpointPresent != null && endpointPresent.booleanValue() == false)
- continue;
- }
- // a valid description is found
- return descList[i];
- }
- // no valid description is found for this service
- return null;
- }
-
- public boolean validateWSDLService() {
- Description desc = getValidWSDLDescription();
- return (desc != null);
- }
-
- public String toString() {
- return getWSDLServiceURL();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsilLinkElement.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsilLinkElement.java
deleted file mode 100644
index 4ee2d55bc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/datamodel/WsilWsilLinkElement.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel;
-
-import org.apache.wsil.Link;
-import org.eclipse.wst.ws.internal.datamodel.Model;
-
-/**
-* The data model element that represents
-* a WSIL link in a WSIL document
-*/
-public class WsilWsilLinkElement extends WsilLinkElement
-{
- public WsilWsilLinkElement(String name, Model model, Link link)
- {
- super(name, model, link);
- }
-
- public String getWSILLinkLocation()
- {
- return makeAbsolute(link_.getLocation());
- }
-
- public boolean validateWSILLink()
- {
- return (link_.getLocation() != null);
- }
-
- public String toString()
- {
- return getWSILLinkLocation();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToFavoritesTool.java
deleted file mode 100644
index f924206e6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToFavoritesTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class AddBusinessToFavoritesTool extends ActionTool {
- public AddBusinessToFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/favorites_enabled.gif", "images/favorites_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddToFavoritesAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToUDDIPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToUDDIPerspectiveTool.java
deleted file mode 100644
index d89451d1d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddBusinessToUDDIPerspectiveTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddBusinessToUDDIPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class AddBusinessToUDDIPerspectiveTool extends ActionTool {
- public AddBusinessToUDDIPerspectiveTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/add_to_UDDI_perspective_enabled.gif", "wsil/images/add_to_UDDI_perspective_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddBusinessToUDDIPerspectiveAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToFavoritesTool.java
deleted file mode 100644
index b98c2c6e3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToFavoritesTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class AddServiceToFavoritesTool extends ActionTool {
- public AddServiceToFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/favorites_enabled.gif", "images/favorites_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddToFavoritesAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToUDDIPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToUDDIPerspectiveTool.java
deleted file mode 100644
index c4a921ce8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddServiceToUDDIPerspectiveTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddServiceToUDDIPerspectiveAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class AddServiceToUDDIPerspectiveTool extends ActionTool {
- public AddServiceToUDDIPerspectiveTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/add_to_UDDI_perspective_enabled.gif", "wsil/images/add_to_UDDI_perspective_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddServiceToUDDIPerspectiveAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSDLServiceToFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSDLServiceToFavoritesTool.java
deleted file mode 100644
index 5f0316a91..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSDLServiceToFavoritesTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class AddWSDLServiceToFavoritesTool extends ActionTool {
- public AddWSDLServiceToFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/favorites_enabled.gif", "images/favorites_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddToFavoritesAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSILToFavoritesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSILToFavoritesTool.java
deleted file mode 100644
index da3cb45ce..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/AddWSILToFavoritesTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class AddWSILToFavoritesTool extends ActionTool {
- public AddWSILToFavoritesTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/favorites_enabled.gif", "images/favorites_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return AddToFavoritesAction.getActionLink(selectedNode.getNodeId(), toolId_, ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ClearWSILTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ClearWSILTool.java
deleted file mode 100644
index 4acc5fdbc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ClearWSILTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.ClearWSILAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class ClearWSILTool extends ActionTool {
- public ClearWSILTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/clear_enabled.gif", "images/clear_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- return ClearWSILAction.getActionLink(toolManager_.getNode().getNodeId());
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSDLToFileSystemTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSDLToFileSystemTool.java
deleted file mode 100644
index b871050e3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSDLToFileSystemTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToFileSystemTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.ImportWSDLToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class ImportWSDLToFileSystemTool extends ImportToFileSystemTool {
- public ImportWSDLToFileSystemTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return ImportWSDLToFileSystemAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSILToFileSystemTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSILToFileSystemTool.java
deleted file mode 100644
index dd00c2820..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ImportWSILToFileSystemTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToFileSystemTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.ImportWSILToFileSystemAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class ImportWSILToFileSystemTool extends ImportToFileSystemTool {
- public ImportWSILToFileSystemTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- return ImportWSILToFileSystemAction.getActionLink(toolManager_.getNode().getNodeId(), toolId_, ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIBusinessTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIBusinessTool.java
deleted file mode 100644
index 1c7c092c0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIBusinessTool.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class ListUDDIBusinessTool extends ViewTool {
- public ListUDDIBusinessTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/list_business_enabled.gif", "wsil/images/list_business_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- protected void addSetDefaultViewTool(ToolManager viewToolManager, int index) {
- new WsilSetDefaultViewTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getMessage("ALT_BACK_TO_TOP"));
- }
-
- protected void addTools(ToolManager viewToolManager, int index) {
- new UddiBusinessDetailsTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getWSILPerspective().getMessage("ALT_UDDI_LINK_DETAILS"));
- new AddBusinessToUDDIPerspectiveTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getWSILPerspective().getMessage("ALT_ADD_BUSINESS_TO_UDDI_PERSPECTIVE"));
- new AddBusinessToFavoritesTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getWSILPerspective().getMessage("ALT_ADD_UDDI_BUSINESS_TO_FAVORITES"));
- new RefreshUDDIBusinessTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getWSILPerspective().getMessage("ALT_REFRESH_UDDI_BUSINESS"));
- }
-
- public String getFormLink() {
- return ProxyLoadPageAction.getActionLink("wsil/views/UddiBusinessView.jsp");
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIServicesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIServicesTool.java
deleted file mode 100644
index 18884f6a7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListUDDIServicesTool.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.actions.ProxyLoadPageAction;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class ListUDDIServicesTool extends ViewTool {
- public ListUDDIServicesTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/list_UDDI_service_enabled.gif", "wsil/images/list_UDDI_service_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- protected void addSetDefaultViewTool(ToolManager viewToolManager, int index) {
- new WsilSetDefaultViewTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getMessage("ALT_BACK_TO_TOP"));
- }
-
- protected void addTools(ToolManager viewToolManager, int index) {
- Controller controller = toolManager_.getNode().getNodeManager().getController();
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- new UddiServiceDetailsTool(viewToolManager, wsilPerspective.getMessage("ALT_WSIL_SERVICE_DETAILS"));
- new WsilImportWSDLToWorkbenchTool(viewToolManager, controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"));
- new ImportWSDLToFileSystemTool(viewToolManager, controller.getMessage("ALT_WSDL_IMPORT_TO_FS"));
- new WsilLaunchWebServiceWizardTool(viewToolManager, controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD"));
- new AddServiceToUDDIPerspectiveTool(viewToolManager, wsilPerspective.getMessage("ALT_ADD_SERVICE_TO_UDDI_PERSPECTIVE"));
- new AddServiceToFavoritesTool(viewToolManager, wsilPerspective.getMessage("ALT_ADD_SERVICE_TO_FAVORITES"));
- new RefreshUDDIServiceTool(viewToolManager, wsilPerspective.getMessage("ALT_REFRESH_UDDI_SERVICE"));
- }
-
- public String getFormLink() {
- return ProxyLoadPageAction.getActionLink("wsil/views/UddiServicesView.jsp");
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSDLServicesTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSDLServicesTool.java
deleted file mode 100644
index 1f7760880..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSDLServicesTool.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class ListWSDLServicesTool extends ViewTool {
- public ListWSDLServicesTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/list_WSDL_service_enabled.gif", "wsil/images/list_WSDL_service_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- protected void addSetDefaultViewTool(ToolManager viewToolManager, int index) {
- new WsilSetDefaultViewTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getMessage("ALT_BACK_TO_TOP"));
- }
-
- protected void addTools(ToolManager viewToolManager, int index) {
- Controller controller = toolManager_.getNode().getNodeManager().getController();
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- new WsdlServiceDetailsTool(viewToolManager, wsilPerspective.getMessage("ALT_WSIL_SERVICE_DETAILS"));
- new WsilImportWSDLToWorkbenchTool(viewToolManager, controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"));
- new ImportWSDLToFileSystemTool(viewToolManager, controller.getMessage("ALT_WSDL_IMPORT_TO_FS"));
- new WsilLaunchWebServiceWizardTool(viewToolManager, controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD"));
- new WsilAddToWSDLPerspectiveTool(viewToolManager, wsilPerspective.getMessage("ALT_ADD_WSDL_TO_WSDL_PERSPECTIVE"));
- new AddWSDLServiceToFavoritesTool(viewToolManager, wsilPerspective.getMessage("ALT_ADD_WSDL_SERVICE_TO_FAVORITES"));
- }
-
- public String getFormLink() {
- return "wsil/views/WsdlServicesView.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSILLinksTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSILLinksTool.java
deleted file mode 100644
index 3ae52fb46..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/ListWSILLinksTool.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class ListWSILLinksTool extends ViewTool {
- public ListWSILLinksTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/list_WSIL_enabled.gif", "wsil/images/list_WSIL_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- protected void addSetDefaultViewTool(ToolManager viewToolManager, int index) {
- new WsilSetDefaultViewTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getMessage("ALT_BACK_TO_TOP"));
- }
-
- protected void addTools(ToolManager viewToolManager, int index) {
- new WsilLinkDetailsTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getWSILPerspective().getMessage("ALT_WSIL_LINK_DETAILS"));
- new OpenWSILLinkTool(viewToolManager, toolManager_.getNode().getNodeManager().getController().getWSILPerspective().getMessage("ALT_OPEN_WSIL_LINK"));
- }
-
- public String getFormLink() {
- return "wsil/views/WsilLinksView.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILLinkTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILLinkTool.java
deleted file mode 100644
index c0c61fba4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILLinkTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.OpenWSILLinkAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class OpenWSILLinkTool extends ActionTool {
- public OpenWSILLinkTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/open_wsil_enabled.gif", "wsil/images/open_wsil_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return OpenWSILLinkAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILTool.java
deleted file mode 100644
index d9d500934..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/OpenWSILTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class OpenWSILTool extends FormTool {
- public OpenWSILTool(ToolManager toolManager, String alt) {
- super(toolManager, "wsil/images/open_wsil_enabled.gif", "wsil/images/open_wsil_highlighted.gif", alt);
- }
-
- protected void initDefaultProperties() {
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "wsil/forms/OpenWSILForm.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIBusinessTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIBusinessTool.java
deleted file mode 100644
index 5b22a8612..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIBusinessTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class RefreshUDDIBusinessTool extends ActionTool {
- public RefreshUDDIBusinessTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/refresh_enabled.gif", "images/refresh_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return RefreshAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIServiceTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIServiceTool.java
deleted file mode 100644
index cc98791be..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshUDDIServiceTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class RefreshUDDIServiceTool extends ActionTool {
- public RefreshUDDIServiceTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/refresh_enabled.gif", "images/refresh_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return RefreshAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshWSILTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshWSILTool.java
deleted file mode 100644
index 00a3c5b3a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/RefreshWSILTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ActionTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class RefreshWSILTool extends ActionTool {
- public RefreshWSILTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/refresh_enabled.gif", "images/refresh_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getActionLink() {
- return RefreshAction.getActionLink(toolManager_.getNode().getNodeId(), toolId_, ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiBusinessDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiBusinessDetailsTool.java
deleted file mode 100644
index f9db177b6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiBusinessDetailsTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class UddiBusinessDetailsTool extends FormTool {
- public UddiBusinessDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getFormLink() {
- return "wsil/forms/UddiBusinessDetailsPage.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiServiceDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiServiceDetailsTool.java
deleted file mode 100644
index 5d3f5cdc1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/UddiServiceDetailsTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class UddiServiceDetailsTool extends FormTool {
- public UddiServiceDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getFormLink() {
- return "wsil/forms/UddiServiceDetailsPage.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILImportWSILToWorkbenchTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILImportWSILToWorkbenchTool.java
deleted file mode 100644
index be28ec8e2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILImportWSILToWorkbenchTool.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToWorkbenchTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class WSILImportWSILToWorkbenchTool extends ImportToWorkbenchTool
-{
- public WSILImportWSILToWorkbenchTool(ToolManager toolManager, String alt)
- {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory)
- {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public final String getFormLink()
- {
- return "wsil/forms/WSILImportWSILToWorkbenchForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILPerspective.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILPerspective.java
deleted file mode 100644
index 3940f62ee..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WSILPerspective.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import javax.servlet.ServletContext;
-import org.eclipse.wst.ws.internal.datamodel.BasicModel;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Perspective;
-import org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SwitchPerspectiveFromWSILAction;
-
-public class WSILPerspective extends Perspective
-{
- private BasicModel model_;
- private NodeManager nodeManager_;
- private String perspectiveContentFramesetCols_;
- private String savedPerspectiveContentFramesetCols_;
- private String actionsContainerFramesetRows_;
- private String savedActionsContainerFramesetRows_;
-
- public WSILPerspective(Controller controller)
- {
- super("wsil",controller);
- }
-
- public final void initPerspective(ServletContext application)
- {
- model_ = new BasicModel("WsilModel");
- TreeElement treeElement = new TreeElement(getMessage("WSIL_MAIN_NODE"), model_);
- model_.setRootElement(treeElement);
- nodeManager_ = new NodeManager(controller_);
- WsilMainNode wsilMainNode = new WsilMainNode(treeElement, nodeManager_);
- nodeManager_.setRootNode(wsilMainNode);
-
- // Starting frameset sizes.
- if (!DirUtils.isRTL())
- perspectiveContentFramesetCols_ = "30%,*";
- else
- perspectiveContentFramesetCols_ = "*,30%";
- savedPerspectiveContentFramesetCols_ = perspectiveContentFramesetCols_;
- actionsContainerFramesetRows_ = "75%,*";
- savedActionsContainerFramesetRows_ = actionsContainerFramesetRows_;
- }
-
- public NodeManager getNodeManager() {
- return nodeManager_;
- }
-
- public String getPerspectiveContentPage()
- {
- return "wsil/wsil_perspective_content.jsp";
- }
-
- public int getPerspectiveId()
- {
- return ActionInputs.PERSPECTIVE_WSIL;
- }
-
- public String getPanesFile() {
- return "wsil/scripts/wsilPanes.jsp";
- }
-
- public String getFramesetsFile()
- {
- return "wsil/scripts/wsilframesets.jsp";
- }
-
- public String getProcessFramesetsForm()
- {
- return "wsil/forms/ProcessWSILFramesetsForm.jsp";
- }
-
- public String getTreeContentVar() {
- return "wsilNavigatorContent";
- }
-
- public String getTreeContentPage() {
- return "wsil/wsil_navigator_content.jsp";
- }
-
- public String getPropertiesContainerVar() {
- return "wsilPropertiesContainer";
- }
-
- public String getPropertiesContainerPage() {
- return "wsil/wsil_properties_container.jsp";
- }
-
- public String getStatusContentVar() {
- return "wsilStatusContent";
- }
-
- public String getStatusContentPage() {
- return "wsil/wsil_status_content.jsp";
- }
-
- public final String getPerspectiveContentFramesetCols()
- {
- return perspectiveContentFramesetCols_;
- }
-
- public final void setPerspectiveContentFramesetCols(String cols)
- {
- perspectiveContentFramesetCols_ = cols;
- }
-
- public final String getSavedPerspectiveContentFramesetCols()
- {
- return savedPerspectiveContentFramesetCols_;
- }
-
- public final void setSavedPerspectiveContentFramesetCols(String cols)
- {
- savedPerspectiveContentFramesetCols_ = cols;
- }
-
- public final String getActionsContainerFramesetRows()
- {
- return actionsContainerFramesetRows_;
- }
-
- public final void setActionsContainerFramesetRows(String rows)
- {
- actionsContainerFramesetRows_ = rows;
- }
-
- public final String getSavedActionsContainerFramesetRows()
- {
- return savedActionsContainerFramesetRows_;
- }
-
- public final void setSavedActionsContainerFramesetRows(String rows)
- {
- savedActionsContainerFramesetRows_ = rows;
- }
-
- public final String getSwitchPerspectiveFormActionLink(int targetPerspectiveId,boolean forHistory)
- {
- return SwitchPerspectiveFromWSILAction.getFormActionLink(targetPerspectiveId,forHistory);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsdlServiceDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsdlServiceDetailsTool.java
deleted file mode 100644
index 7efdfe6de..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsdlServiceDetailsTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class WsdlServiceDetailsTool extends FormTool {
- public WsdlServiceDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getFormLink() {
- return "wsil/forms/WsdlServiceDetailsPage.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilAddToWSDLPerspectiveTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilAddToWSDLPerspectiveTool.java
deleted file mode 100644
index b8fba6bd9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilAddToWSDLPerspectiveTool.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.AddToWSDLPerspectiveTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.WsilAddToWSDLPerspectiveAction;
-
-public class WsilAddToWSDLPerspectiveTool extends AddToWSDLPerspectiveTool {
-
- public WsilAddToWSDLPerspectiveTool(ToolManager toolManager, String alt) {
- super(toolManager,alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return WsilAddToWSDLPerspectiveAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilDetailsTool.java
deleted file mode 100644
index caecb8d96..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilDetailsTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class WsilDetailsTool extends FormTool {
- public WsilDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), toolId_, selectedNode.getViewId(), selectedNode.getViewToolId(), forHistory);
- }
-
- public String getFormLink() {
- return "wsil/forms/WsilDetailsPage.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilImportWSDLToWorkbenchTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilImportWSDLToWorkbenchTool.java
deleted file mode 100644
index 0371249ec..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilImportWSDLToWorkbenchTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ImportToWorkbenchTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class WsilImportWSDLToWorkbenchTool extends ImportToWorkbenchTool {
- public WsilImportWSDLToWorkbenchTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public final String getFormLink()
- {
- return "wsil/forms/WsilImportWSDLToWorkbenchForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLaunchWebServiceWizardTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLaunchWebServiceWizardTool.java
deleted file mode 100644
index cd3110a6b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLaunchWebServiceWizardTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.LaunchWebServiceWizardTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class WsilLaunchWebServiceWizardTool extends LaunchWebServiceWizardTool {
- public WsilLaunchWebServiceWizardTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public final String getFormLink()
- {
- return "wsil/forms/WsilLaunchWebServiceWizardForm.jsp";
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLinkDetailsTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLinkDetailsTool.java
deleted file mode 100644
index 786540471..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilLinkDetailsTool.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class WsilLinkDetailsTool extends FormTool {
- public WsilLinkDetailsTool(ToolManager toolManager, String alt) {
- super(toolManager, "images/details_enabled.gif", "images/details_highlighted.gif", alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), selectedNode.getViewId(), toolId_, forHistory);
- }
-
- public String getFormLink() {
- return "wsil/forms/WsilLinkDetailsPage.jsp";
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilMainNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilMainNode.java
deleted file mode 100644
index 3e55b4a5c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilMainNode.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.datamodel.ElementAdapter;
-import org.eclipse.wst.ws.internal.datamodel.RelAddEvent;
-import org.eclipse.wst.ws.internal.datamodel.RelRemoveEvent;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-
-public class WsilMainNode extends WsilNavigatorNode {
-
- public WsilMainNode(TreeElement treeElement, NodeManager nodeManager) {
- super(treeElement, nodeManager, 1, "images/root_main.gif");
- treeElement.addListener(new ElementAdapter() {
- public void relAdded(RelAddEvent event) {
- String rel = event.getOutBoundRelName();
- if (rel.equals(WsilModelConstants.REL_WSIL)) {
- WsilNode wsilNode = new WsilNode((TreeElement)event.getParentElement(), nodeManager_, nodeDepth_ + 1);
- addChild(wsilNode);
- }
- }
-
- public void relRemoved(RelRemoveEvent event) {
- TreeElement childElement = null;
- if (event.getInBoundRelName().equals(WsilModelConstants.REL_WSIL)) {
- childElement = (TreeElement)event.getInboundElement();
- }
- if (event.getOutBoundRelName().equals(WsilModelConstants.REL_WSIL)) {
- childElement = (TreeElement)event.getOutBoundElement();
- }
- removeChildNode(childElement);
- }
- });
- }
-
- protected void initTools() {
- WSILPerspective wsilPerspective = nodeManager_.getController().getWSILPerspective();
- new OpenWSILTool(toolManager_, wsilPerspective.getMessage("ALT_OPEN_WSIL"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNavigatorNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNavigatorNode.java
deleted file mode 100644
index 6a22957ee..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNavigatorNode.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILNodeAction;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.WsilToggleNodeAction;
-
-public abstract class WsilNavigatorNode extends Node {
-
- public WsilNavigatorNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth, String imagePath) {
- super(treeElement, nodeManager, nodeDepth, imagePath);
- }
-
- protected String getToggleNodeActionHref() {
- return WsilToggleNodeAction.getActionLink(nodeId_,isOpen_);
- }
-
- protected String getLinkActionHref() {
- return SelectWSILNodeAction.getActionLink(nodeId_, false);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNode.java
deleted file mode 100644
index aa869edff..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilNode.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.NodeManager;
-
-public class WsilNode extends WsilNavigatorNode {
-
- public WsilNode(TreeElement treeElement, NodeManager nodeManager, int nodeDepth) {
- super(treeElement, nodeManager, nodeDepth, "wsil/images/wsil_node.gif");
- }
-
- protected void initTools() {
- Controller controller = nodeManager_.getController();
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- new WsilDetailsTool(toolManager_, wsilPerspective.getMessage("ALT_WSIL_DETAILS"));
- new ListWSDLServicesTool(toolManager_, wsilPerspective.getMessage("ALT_LIST_WSDL_SERVICES"));
- new ListUDDIServicesTool(toolManager_, wsilPerspective.getMessage("ALT_LIST_UDDI_SERVICES"));
- new ListUDDIBusinessTool(toolManager_, wsilPerspective.getMessage("ALT_LIST_UDDI_LINKS"));
- new ListWSILLinksTool(toolManager_, wsilPerspective.getMessage("ALT_LIST_WSIL_LINKS"));
- new WSILImportWSILToWorkbenchTool(toolManager_, wsilPerspective.getMessage("ATL_IMPORT_WSIL_TO_WORKBENCH"));
- new ImportWSILToFileSystemTool(toolManager_, controller.getMessage("ALT_WSIL_IMPORT_TO_FS"));
- new AddWSILToFavoritesTool(toolManager_, wsilPerspective.getMessage("ALT_ADD_WSIL_TO_FAVORITES"));
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilSetDefaultViewTool.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilSetDefaultViewTool.java
deleted file mode 100644
index 39f63382e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/perspective/WsilSetDefaultViewTool.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective;
-
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.SetDefaultViewTool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction;
-
-public class WsilSetDefaultViewTool extends SetDefaultViewTool {
- public WsilSetDefaultViewTool(ToolManager toolManager, String alt) {
- super(toolManager, alt);
- }
-
- public String getSelectToolActionHref(boolean forHistory) {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT, forHistory);
- }
-
- public String getActionLink() {
- Node selectedNode = toolManager_.getNode();
- return SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT, false);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/transformer/WSILViewSelectionTransformer.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/transformer/WSILViewSelectionTransformer.java
deleted file mode 100644
index eb349ec89..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsil/transformer/WSILViewSelectionTransformer.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.explorer.platform.wsil.transformer;
-
-import java.util.Hashtable;
-import org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs;
-import org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement;
-import org.eclipse.wst.ws.internal.explorer.platform.engine.transformer.ViewSelectionTransformer;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Node;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.Tool;
-import org.eclipse.wst.ws.internal.explorer.platform.perspective.ToolManager;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilModelConstants;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIBusinessTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListUDDIServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListWSDLServicesTool;
-import org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.ListWSILLinksTool;
-
-public class WSILViewSelectionTransformer extends ViewSelectionTransformer
-{
- public static final byte NONE = 0;
- public static final byte WSDL_SERVICE = 1;
- public static final byte UDDI_SERVICE = 2;
- public static final byte UDDI_BUSINESS = 3;
- public static final byte WSIL_LINK = 4;
- public static final byte FROM_TOOLID = 5;
- private byte type;
-
- public WSILViewSelectionTransformer(Controller controller)
- {
- this(controller, "", ActionInputs.VIEWID, FROM_TOOLID);
- }
-
- public WSILViewSelectionTransformer(Controller controller, String listManagerKey, String viewKey, byte type)
- {
- super(controller, listManagerKey, viewKey);
- this.type = type;
- }
-
- public Hashtable normalize(Hashtable properties)
- {
- if (type == FROM_TOOLID)
- {
- Node currNode = controller.getCurrentPerspective().getNodeManager().getSelectedNode();
- if (currNode != null)
- {
- try
- {
- int toolId = Integer.parseInt((String) properties.get(ActionInputs.TOOLID));
- ToolManager toolManager = currNode.getToolManager();
- Tool tool = toolManager.getTool(toolId);
- if (tool instanceof ListWSDLServicesTool)
- listManagerKey = WsilModelConstants.LIST_MANAGER_WSDL_SERVICES;
- else if (tool instanceof ListUDDIServicesTool)
- listManagerKey = WsilModelConstants.LIST_MANAGER_UDDI_SERVICES;
- else if (tool instanceof ListUDDIBusinessTool)
- listManagerKey = WsilModelConstants.LIST_MANAGER_UDDI_LINKS;
- else if (tool instanceof ListWSILLinksTool)
- listManagerKey = WsilModelConstants.LIST_MANAGER_WSIL_LINKS;
- }
- catch (NumberFormatException nfe)
- {
- }
- }
- }
- return super.normalize(properties);
- }
-
- public Hashtable deNormalize(Hashtable properties)
- {
- Node currNode = controller.getCurrentPerspective().getNodeManager().getSelectedNode();
- if (currNode != null)
- {
- TreeElement currElement = currNode.getTreeElement();
- if (currElement instanceof WsilElement)
- {
- WsilElement wsilElement = (WsilElement) currElement;
- switch (type)
- {
- case WSDL_SERVICE :
- wsilElement.getAllWSDLServices();
- break;
- case UDDI_SERVICE :
- wsilElement.getAllUDDIServices();
- break;
- case UDDI_BUSINESS :
- wsilElement.getAllUDDILinks();
- break;
- case WSIL_LINK :
- wsilElement.getAllWSILLinks();
- break;
- case FROM_TOOLID :
- try
- {
- int toolId = Integer.parseInt((String) properties.get(ActionInputs.TOOLID));
- ToolManager toolManager = currNode.getToolManager();
- Tool tool = toolManager.getTool(toolId);
- if (tool instanceof ListWSDLServicesTool)
- {
- listManagerKey = WsilModelConstants.LIST_MANAGER_WSDL_SERVICES;
- wsilElement.getAllWSDLServices();
- }
- else if (tool instanceof ListUDDIServicesTool)
- {
- listManagerKey = WsilModelConstants.LIST_MANAGER_UDDI_SERVICES;
- wsilElement.getAllUDDIServices();
- }
- else if (tool instanceof ListUDDIBusinessTool)
- {
- listManagerKey = WsilModelConstants.LIST_MANAGER_UDDI_LINKS;
- wsilElement.getAllUDDILinks();
- }
- else if (tool instanceof ListWSILLinksTool)
- {
- listManagerKey = WsilModelConstants.LIST_MANAGER_WSIL_LINKS;
- wsilElement.getAllWSILLinks();
- }
- }
- catch (NumberFormatException nfe)
- {
- }
- break;
- default :
- break;
- }
- }
- }
- return super.deNormalize(properties);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/views/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/views/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/favorites/views/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/uddi/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/fragment/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/fragment/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/fragment/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsdl/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/views/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/views/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/classes/wsil/views/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/lib/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/lib/.cvsignore
deleted file mode 100644
index 40b582992..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/lib/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.jar
-wsexplorersrc.zip
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/web.xml b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/web.xml
deleted file mode 100644
index 5802e33b5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/WEB-INF/web.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!DOCTYPE web-app
- PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- "http://java.sun.com/dtd/web-app_2_3.dtd">
-
-<web-app>
-</web-app>
-
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine.jsp
deleted file mode 100644
index a90b044fc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine.jsp
+++ /dev/null
@@ -1,91 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs,
- org.eclipse.wst.ws.internal.explorer.platform.engine.ActionEngine,
- org.eclipse.wst.ws.internal.explorer.platform.engine.ActionDataParser,
- org.eclipse.wst.ws.internal.explorer.platform.engine.data.ScenarioDescriptor,
- org.eclipse.wst.ws.internal.explorer.platform.engine.data.TransactionDescriptor,
- org.eclipse.wst.ws.internal.explorer.platform.engine.data.ActionDescriptor,
- org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils,
- org.eclipse.wst.ws.internal.explorer.platform.util.MultipartFormDataParser,
- java.util.List,
- java.util.Iterator" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-String mode = request.getParameter(ActionInputs.ACTION_ENGINE_MODE);
-String scenario = null;
-try
-{
- MultipartFormDataParser parser = new MultipartFormDataParser();
- parser.parseRequest(request, HTMLUtils.UTF8_ENCODING);
- scenario = parser.getParameter(ActionInputs.ACTION_ENGINE_SCENARIO);
-}
-catch (Throwable t)
-{
-}
-ActionEngine actionEngine = controller.getActionEngine();
-if (mode != null)
-{
- actionEngine.setMode(ActionEngine.MODE_DISABLED);
- try
- {
- actionEngine.setMode(Byte.parseByte(mode));
- }
- catch (NumberFormatException nfe)
- {
- }
-}
-if (scenario != null && scenario.length() > 0)
-{
- ScenarioDescriptor scenarioDescriptor = null;
- try
- {
- ActionDataParser parser = new ActionDataParser();
- scenarioDescriptor = parser.parseScenario(XMLUtils.stringToElement(scenario));
- actionEngine.executeScenario(scenarioDescriptor);
- }
- catch (Throwable t)
- {
- }
- if (scenarioDescriptor != null)
- {
- TransactionDescriptor[] transactionDescriptors = scenarioDescriptor.getTransactionDescriptors();
- for (int i = 0; i < transactionDescriptors.length; i++)
- {
- ActionDescriptor[] actionDescriptors = transactionDescriptors[i].getActionDescriptors();
- for (int j = 0; j < actionDescriptors.length; j++)
- {
- %>
- <!--
- <%=actionDescriptors[j].getId()%>
- <%=actionDescriptors[j].getStatusId()%>
- <%
- List status = actionDescriptors[j].getStatus();
- if (status != null)
- {
- for (Iterator it = status.iterator(); it.hasNext();)
- {
- %>
- <%=it.next().toString()%>
- <%
- }
- }
- %>
- -->
- <%
- }
- }
- }
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine_container.jsp
deleted file mode 100644
index f9fc6cf1e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actionengine_container.jsp
+++ /dev/null
@@ -1,137 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.engine.ActionEngine,
- java.net.*" %>
-<%
-String sessionId = request.getParameter(ActionInputs.SESSIONID);
-HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
-Controller controller = (Controller)currentSession.getAttribute("controller");
-ActionEngine actionEngine = controller.getActionEngine();
-String modeString = request.getParameter(ActionInputs.ACTION_ENGINE_MODE);
-if (modeString != null && modeString.length() > 0)
-{
- try
- {
- byte mode = Byte.parseByte(modeString);
- actionEngine.setMode(mode);
- }
- catch (Throwable t)
- {
- }
-}
-String playFileId = "playFileId";
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("TITLE_ACTION_RECORDER")%></title>
- <script language="javascript">
- function setMode(mode)
- {
- <%
- StringBuffer formAction = new StringBuffer(response.encodeURL(controller.getPathWithContext("actionengine_container.jsp?")));
- formAction.append(ActionInputs.SESSIONID);
- formAction.append("=");
- formAction.append(sessionId);
- formAction.append("&");
- formAction.append(ActionInputs.ACTION_ENGINE_MODE);
- formAction.append("=");
- %>
- var form = document.forms[0];
- form.action = '<%=formAction.toString()%>' + mode;
- form.target = "_self";
- form.submit();
- }
-
- function play()
- {
- var playFile = document.getElementById("<%=playFileId%>");
- if (playFile.value != null && playFile.value.length > 0)
- {
- var form = document.forms[0];
- form.action = '<%=response.encodeURL(controller.getPathWithContext("wsexplorer.jsp"))%>';
- form.target = "<%=FrameNames.WINDOW_NAME_WSEXPLORER_JSP%>";
- form.enctype = "multipart/form-data";
- // for backward compatibility
- form.encoding = "multipart/form-data";
- form.submit();
- setMode('<%=ActionEngine.MODE_PLAY%>');
- }
- else
- alert('<%=controller.getMessage("MSG_ERROR_INVALID_PLAY_FILE")%>');
- }
-
- function save()
- {
- var form = document.forms[0];
- form.action = '<%=response.encodeURL(controller.getPathWithContext("actions/SaveActionEngineScenario.jsp"))%>';
- form.target = "_self";
- form.submit();
- }
- </script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <form method="post">
- <%
- String labelModePlay = controller.getMessage("FORM_LABEL_MODE_PLAY");
- String labelModeStop = controller.getMessage("FORM_LABEL_MODE_STOP");
- String labelModeRecord = controller.getMessage("FORM_LABEL_MODE_RECORD");
- String labelSave = controller.getMessage("FORM_LABEL_SAVE");
- byte mode = actionEngine.getMode();
- String imgPlay = (mode == ActionEngine.MODE_PLAY) ? "images/elcl16/actionengine_play.gif" : "images/dlcl16/actionengine_play.gif";
- String imgStop = (mode == ActionEngine.MODE_STOP) ? "images/elcl16/actionengine_stop.gif" : "images/dlcl16/actionengine_stop.gif";
- String imgRecord = (mode == ActionEngine.MODE_RECORD) ? "images/elcl16/actionengine_record.gif" : "images/dlcl16/actionengine_record.gif";
- String imgSave = "images/dlcl16/actionengine_save.gif";
- %>
- <table border=0 cellpadding=3 cellspacing=3>
- <tr>
- <td valign="middle" align="left" class="labels" nowrap>
- <a href="javascript:play()">
- <img class="normal" border=0 alt="<%=labelModePlay%>" title="<%=labelModePlay%>" src="<%=response.encodeURL(controller.getPathWithContext(imgPlay))%>">
- <%=controller.getMessage("FORM_LABEL_MODE_PLAY")%>
- </a>
- </td>
- <td valign="middle" align="left" class="labels" nowrap>
- <a href="javascript:setMode('<%=String.valueOf(ActionEngine.MODE_STOP)%>')">
- <img class="normal" border=0 alt="<%=labelModeStop%>" title="<%=labelModeStop%>" src="<%=response.encodeURL(controller.getPathWithContext(imgStop))%>">
- <%=controller.getMessage("FORM_LABEL_MODE_STOP")%>
- </a>
- </td>
- <td valign="middle" align="left" class="labels" nowrap>
- <a href="javascript:setMode('<%=String.valueOf(ActionEngine.MODE_RECORD)%>')">
- <img class="normal" border=0 alt="<%=labelModeRecord%>" title="<%=labelModeRecord%>" src="<%=response.encodeURL(controller.getPathWithContext(imgRecord))%>">
- <%=controller.getMessage("FORM_LABEL_MODE_RECORD")%>
- </a>
- </td>
- <td valign="middle" align="left" class="labels" nowrap>
- <a href="javascript:save()">
- <img class="normal" border=0 alt="<%=labelSave%>" title="<%=labelSave%>" src="<%=response.encodeURL(controller.getPathWithContext(imgSave))%>">
- <%=controller.getMessage("FORM_LABEL_SAVE")%>
- </a>
- </td>
- </tr>
- </table>
- <table border=0 cellpadding=3 cellspacing=3>
- <tr>
- <td valign="center" align="left" class="labels" nowrap><%=controller.getMessage("FORM_LABEL_PLAY_FILE")%></td>
- <td valign="center" align="left" class="labels">
- <input type="file" id="<%=playFileId%>" name="<%=ActionInputs.ACTION_ENGINE_SCENARIO%>">
- </td>
- </tr>
- </table>
- </form>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/CheckWorkbenchFileReadOnlyActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/CheckWorkbenchFileReadOnlyActionJSP.jsp
deleted file mode 100644
index a8a9a783d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/CheckWorkbenchFileReadOnlyActionJSP.jsp
+++ /dev/null
@@ -1,55 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(controller.getCurrentPerspective().getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
-<%
- ImportToWorkbenchAction action = (ImportToWorkbenchAction)session.getAttribute(ActionInputs.IMPORT_ACTION);
- if (action.isTargetFileResourceReadOnly())
- {
-%>
- var proceed = true;
-<%
- if (!action.isCheckoutFilesEnabled())
- {
-%>
- proceed = confirm("<%=HTMLUtils.JSMangle(action.getWebServicePluginFileMessage("MSG_ERROR_FILE_CHECKOUT_DISABLED"))%>");
-<%
- }
-%>
- if (proceed)
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ValidateEditAction.getActionLink()))%>";
-<%
- }
- else
- {
-%>
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(WriteWSDLToWorkbenchAction.getActionLink()))%>";
-<%
- }
-%>
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearNodeAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearNodeAction.inc
deleted file mode 100644
index 18f981dc0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearNodeAction.inc
+++ /dev/null
@@ -1,59 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- Perspective currentPerspective = controller.getCurrentPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(currentPerspective.getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
-<%
- String treeContentVar = action.getTreeContentVar();
- if (treeContentVar != null)
- {
-%>
- <%=treeContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getTreeContentPage()))%>";
-<%
- }
- String propertiesContainerVar = action.getPropertiesContainerVar();
- if (propertiesContainerVar != null)
- {
-%>
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
-<%
- }
- String statusContentVar = action.getStatusContentVar();
- if (statusContentVar != null)
- {
-%>
- <%=statusContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-<%
- }
-%>
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext(currentPerspective.getPerspectiveContentPage()))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearViewElementAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearViewElementAction.inc
deleted file mode 100644
index 24ee121ef..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ClearViewElementAction.inc
+++ /dev/null
@@ -1,45 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- Perspective currentPerspective = controller.getCurrentPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(currentPerspective.getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-<head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
-<%
- String propertiesContainerVar = action.getPropertiesContainerVar();
- if (propertiesContainerVar != null)
- {
-%>
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
-<%
- }
- String statusContentVar = action.getStatusContentVar();
- if (statusContentVar != null)
- {
-%>
- <%=statusContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-<%
- }
-%>
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToFileSystemAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToFileSystemAction.inc
deleted file mode 100644
index 6086b903d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToFileSystemAction.inc
+++ /dev/null
@@ -1,57 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // run the action
- boolean actionResult = action.run();
- boolean written = false;
-
- if (actionResult)
- {
- // write to file system
- response.setContentType("application/octet-stream");
- response.setHeader("Content-Disposition","attachment;filename="+action.getDefaultFileName());
- action.write(response.getOutputStream());
- written = true;
- }
-
- if (!written)
- {
-%>
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(controller.getCurrentPerspective().getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (action.getStatusContentVar() != null)
- {
-%>
-<script language="javascript">
- <%=action.getStatusContentVar()%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-</script>
-<%
- }
-%>
-</body>
-</html>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToWorkbenchAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToWorkbenchAction.inc
deleted file mode 100644
index 812ad18c8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ImportToWorkbenchAction.inc
+++ /dev/null
@@ -1,66 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(controller.getCurrentPerspective().getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
-<%
- //Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
- if (!inputsValid)
- {
- String statusContentVar = action.getStatusContentVar();
- if (statusContentVar != null)
- {
-%>
- <%=statusContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-<%
- }
- }
- else
- {
- session.setAttribute(ActionInputs.IMPORT_ACTION,action);
- if (action.fileExists())
- {
-%>
- var proceed = true;
-<%
- if (!action.isOverwriteFilesEnabled())
- {
-%>
- proceed = confirm("<%=HTMLUtils.JSMangle(action.getWebServicePluginFileMessage("MSG_ERROR_FILE_OVERWRITE_DISABLED"))%>");
-<%
- }
-%>
- if (proceed)
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(CheckWorkbenchFileReadOnlyAction.getActionLink()))%>";
-<%
- }
- else
- {
-%>
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(WriteWSDLToWorkbenchAction.getActionLink()))%>";
-<%
- }
- }
-%>
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/LaunchWebServiceWizardAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/LaunchWebServiceWizardAction.inc
deleted file mode 100644
index 1dbdeb68e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/LaunchWebServiceWizardAction.inc
+++ /dev/null
@@ -1,45 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- //Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.run();
-%>
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(controller.getCurrentPerspective().getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (!actionResult)
- {
- String statusContentVar = action.getStatusContentVar();
- if (statusContentVar != null)
- {
-%>
-<script language="javascript">
- <%=statusContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-</script>
-<%
- }
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/RetrieveHistoryActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/RetrieveHistoryActionJSP.jsp
deleted file mode 100644
index 9ae19b3f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/RetrieveHistoryActionJSP.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- RetrieveHistoryAction action = new RetrieveHistoryAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.run();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; UTF-8">
- <jsp:include page="/scripts/panes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
-<%
- BreadCrumb b = action.getBreadCrumb();
- if (b != null)
- {
- int breadCrumbPerspectiveId = b.getPerspectiveId();
- if (breadCrumbPerspectiveId != controller.getCurrentPerspective().getPerspectiveId())
- {
- // Switch the perspective.
-%>
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(breadCrumbPerspectiveId,true)))%>";
-<%
- }
- else
- {
- // Jump to the page retrieved from history.
-%>
- perspectiveWorkArea.location="<%=response.encodeURL(controller.getPathWithContext(b.getURL()))%>";
-<%
- }
- }
-%>
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SaveActionEngineScenario.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SaveActionEngineScenario.jsp
deleted file mode 100644
index 700b9d73b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SaveActionEngineScenario.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.engine.data.ScenarioDescriptor,
- org.eclipse.wst.ws.internal.explorer.platform.engine.ActionDataParser,
- org.eclipse.wst.ws.internal.explorer.platform.util.XMLUtils,
- java.io.PrintWriter,
- org.w3c.dom.Element"%>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-response.setContentType("application/octet-stream");
-response.setHeader("Content-Disposition","attachment;filename=scenario.xml");
-ScenarioDescriptor scenarioDescriptor = controller.getActionEngine().getScenario();
-ActionDataParser parser = new ActionDataParser();
-Element scenario = parser.toElement(scenarioDescriptor);
-if (scenario != null)
-{
- try
- {
- String scenarioString = XMLUtils.serialize(scenario, false);
- if (scenarioString != null)
- {
- PrintWriter pw = new PrintWriter(response.getOutputStream());
- pw.println(scenarioString);
- pw.close();
- }
- }
- catch (Throwable t)
- {
- }
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeAction.inc
deleted file mode 100644
index b2f3efe63..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeAction.inc
+++ /dev/null
@@ -1,108 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- Perspective currentPerspective = controller.getCurrentPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(currentPerspective.getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (!actionResult)
- {
- if (action.isStaleBreadCrumb())
- {
-%>
-<script language="javascript">
- // Rerun the history action to get the next available item.
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(action.getNextHistoryActionLink()))%>";
-</script>
-<%
- }
- }
- else
- {
- String treeContentVar = action.getTreeContentVar();
- String propertiesContainerVar = action.getPropertiesContainerVar();
- if (action.requiresTreeViewRefresh())
- {
- if (treeContentVar != null)
- {
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- // Update the treeview.
- <%=treeContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getTreeContentPage()))%>";
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext(currentPerspective.getPerspectiveContentPage()))%>";
-</script>
-<%
- }
- if (propertiesContainerVar != null)
- {
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
-</script>
-<%
- }
- }
- else
- {
- Node selectedNode = action.getSelectedNode();
- NodeManager nodeManager = selectedNode.getNodeManager();
- Node previousSelectedNode = nodeManager.getPreviousSelectedNode();
- int selectedNodeId = selectedNode.getNodeId();
- if (treeContentVar != null)
- {
-%>
-<script language="javascript">
- // Update the perspective.
-<%
- if (previousSelectedNode != null && previousSelectedNode.isVisible())
- {
-%>
- <%=treeContentVar%>.alterImage('<%=previousSelectedNode.getAnchorName()%>','<%=response.encodeURL(controller.getPathWithContext(previousSelectedNode.getClosedImagePath()))%>');
-<%
- }
- String selectedNodeAnchorName = selectedNode.getAnchorName();
-%>
- <%=treeContentVar%>.selectNode('<%=selectedNodeAnchorName%>','<%=response.encodeURL(controller.getPathWithContext(selectedNode.getOpenImagePath()))%>');
- <%=treeContentVar%>.location.hash = '#<%=selectedNodeAnchorName%>';
-<%
- }
- if (propertiesContainerVar != null)
- {
-%>
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
-<%
- }
-%>
-</script>
-<%
- }
- }
-%>
-</body>
-<html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeToolAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeToolAction.inc
deleted file mode 100644
index b337f2b20..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/SelectNodeToolAction.inc
+++ /dev/null
@@ -1,182 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- Perspective currentPerspective = controller.getCurrentPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(currentPerspective.getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (!actionResult)
- {
- if (action.isStaleBreadCrumb())
- {
-%>
-<script language="javascript">
- // Rerun the history action to get the next available item.
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(action.getNextHistoryActionLink()))%>";
-</script>
-<%
- }
- }
- else
- {
- if (action.requiresStatusUpdate())
- {
- String statusContentVar = action.getStatusContentVar();
- if (statusContentVar != null)
- {
-%>
-<script language="javascript">
- // Update the status content with any messages arising from this action.
- <%=statusContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-</script>
-<%
- }
- }
-
- String treeContentVar = action.getTreeContentVar();
- String propertiesContainerVar = action.getPropertiesContainerVar();
- if (action.requiresTreeViewRefresh())
- {
-%>
-<script language="javascript">
-<%
- if (treeContentVar != null)
- {
-%>
- if (isMicrosoftInternetExplorer())
- {
- // Reload the navigator tree view to show the structural change.
- <%=treeContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getTreeContentPage()))%>";
- }
- else
- {
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext(currentPerspective.getPerspectiveContentPage()))%>";
- }
-<%
- }
- if (propertiesContainerVar != null)
- {
-%>
- if (isMicrosoftInternetExplorer())
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
-<%
- }
-%>
-</script>
-<%
- }
- else if (action.requiresNodeSelection())
- {
- Node selectedNode = action.getSelectedNode();
- NodeManager nodeManager = selectedNode.getNodeManager();
- Node previousSelectedNode = nodeManager.getPreviousSelectedNode();
- int selectedNodeId = selectedNode.getNodeId();
-%>
-<script language="javascript">
-<%
- if (treeContentVar != null)
- {
-%>
- // Update the navigator tree to show the selection.
-<%
- if (previousSelectedNode != null)
- {
-%>
- <%=treeContentVar%>.alterImage('<%=previousSelectedNode.getAnchorName()%>','<%=response.encodeURL(controller.getPathWithContext(previousSelectedNode.getClosedImagePath()))%>');
-<%
- }
- String selectedNodeAnchorName = selectedNode.getAnchorName();
-%>
- <%=treeContentVar%>.selectNode('<%=selectedNodeAnchorName%>','<%=response.encodeURL(controller.getPathWithContext(selectedNode.getOpenImagePath()))%>');
- <%=treeContentVar%>.location.hash = '#<%=selectedNodeAnchorName%>';
-<%
- }
- if (propertiesContainerVar != null)
- {
-%>
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
-<%
- }
-%>
-</script>
-<%
- }
- else if (action.requiresViewSelection())
- {
- if (propertiesContainerVar != null)
- {
-%>
-<script language="javascript">
- // Update the properties container to show the view.
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
-</script>
-<%
- }
- }
- else
- {
- String propertiesContentVar = action.getPropertiesContentVar();
- Tool tool = action.getSelectedViewTool();
- if (tool == null)
- tool = action.getSelectedTool();
- if (tool.getToolType() != ToolTypes.ACTION)
- {
- if (propertiesContentVar != null)
- {
-%>
-<script language="javascript">
- // Update the properties content with the tool's form.
- <%=propertiesContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(tool.getFormLink()))%>";
-</script>
-<%
- }
- }
- else
- {
- if (!action.isHistoryAction())
- {
-%>
-<script language="javascript">
- // Run the tool's action only if it is not from the history.
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(tool.getActionLink()))%>";
-</script>
-<%
- }
- else
- {
- if (propertiesContentVar != null)
- {
-%>
-<script language="javascript">
- <%=propertiesContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContentPage()))%>";
-</script>
-<%
- }
- }
- }
- }
- }
-%>
-</body>
-<html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ShowPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ShowPerspectiveActionJSP.jsp
deleted file mode 100644
index c01dde3ca..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ShowPerspectiveActionJSP.jsp
+++ /dev/null
@@ -1,70 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- Perspective currentPerspective = controller.getCurrentPerspective();
- StringBuffer framesetsFile = new StringBuffer("/");
- framesetsFile.append(currentPerspective.getFramesetsFile());
-
- StringBuffer framesetsForm = new StringBuffer("/");
- framesetsForm.append(currentPerspective.getProcessFramesetsForm());
-
- int targetPerspectiveId;
- boolean isHistory;
- try
- {
- targetPerspectiveId = Integer.parseInt(request.getParameter(ActionInputs.PERSPECTIVE));
- isHistory = ("1".equals(request.getParameter(ActionInputs.ISHISTORY)));
- }
- catch (NumberFormatException e)
- {
- targetPerspectiveId = ActionInputs.PERSPECTIVE_UDDI;
- isHistory = false;
- }
-
- if (controller.isPerspectiveContentBlank())
- {
- controller.enablePerspectiveContentBlank(false);
- controller.addToHistory(currentPerspective.getPerspectiveId(),ShowPerspectiveAction.getActionLink(targetPerspectiveId,true));
-%>
-<jsp:include page="/scripts/switchperspective.jsp" flush="true"/>
-<%
- }
- else
- {
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <jsp:include page="<%=framesetsFile.toString()%>" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append(currentPerspective.getSwitchPerspectiveFormActionLink(targetPerspectiveId,isHistory));
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"/>
-<jsp:include page="<%=framesetsForm.toString()%>" flush="true"/>
-<script language="javascript">
- processFramesetSizes(document.forms[0]);
-</script>
-</body>
-</html>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ToggleNodeAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ToggleNodeAction.inc
deleted file mode 100644
index 506fe918a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ToggleNodeAction.inc
+++ /dev/null
@@ -1,77 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- Perspective currentPerspective = controller.getCurrentPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(currentPerspective.getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (!actionResult)
- {
- if (action.isStaleBreadCrumb())
- {
-%>
-<script language="javascript">
- // Rerun the history action to get the next available item.
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(action.getNextHistoryActionLink()))%>";
-</script>
-<%
- }
- }
- else
- {
- String treeContentVar = action.getTreeContentVar();
- if (treeContentVar != null)
- {
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- // Update the perspective.
- <%=treeContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getTreeContentPage()))%>";
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext(currentPerspective.getPerspectiveContentPage()))%>";
-</script>
-<%
- }
- if (action.requiresNodeSelection())
- {
- String propertiesContainerVar = action.getPropertiesContainerVar();
- if (propertiesContainerVar != null)
- {
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- // Update the properties container.
- <%=propertiesContainerVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getPropertiesContainerPage()))%>";
- }
-</script>
-<%
- }
- }
- }
-%>
-</body>
-<html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ValidateEditActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ValidateEditActionJSP.jsp
deleted file mode 100644
index b05383099..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/ValidateEditActionJSP.jsp
+++ /dev/null
@@ -1,48 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(controller.getCurrentPerspective().getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- ImportToWorkbenchAction action = (ImportToWorkbenchAction)session.getAttribute(ActionInputs.IMPORT_ACTION);
- boolean result = action.validateEdit();
-%>
-<script language="javascript">
- if (<%=result%>)
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(WriteWSDLToWorkbenchAction.getActionLink()))%>";
- else
- {
-<%
- String statusContentVar = action.getStatusContentVar();
- if (statusContentVar != null)
- {
-%>
- <%=statusContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-<%
- }
-%>
- }
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/WriteWSDLToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/WriteWSDLToWorkbenchActionJSP.jsp
deleted file mode 100644
index 93cd580cd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/actions/WriteWSDLToWorkbenchActionJSP.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<%
- StringBuffer panesFile = new StringBuffer("/");
- panesFile.append(controller.getCurrentPerspective().getPanesFile());
-%>
-<jsp:include page="<%=panesFile.toString()%>" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- ImportToWorkbenchAction action = (ImportToWorkbenchAction)session.getAttribute(ActionInputs.IMPORT_ACTION);
- action.run();
- String statusContentVar = action.getStatusContentVar();
- if (statusContentVar != null)
- {
-%>
-<script language="javascript">
- <%=statusContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getStatusContentPage()))%>";
-</script>
-<%
- }
-%>
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_browser.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_browser.jsp
deleted file mode 100644
index a5c1e8881..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_browser.jsp
+++ /dev/null
@@ -1,44 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.net.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>
- <%=controller.getMessage("TITLE_CALENDAR_BROWSER")%>
- </title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
-<%
- StringBuffer link = new StringBuffer("calendar_toolbar.jsp?");
- link.append(ActionInputs.SESSIONID).append('=').append(sessionId);
-%>
- <frame name="<%=FrameNames.CALENDAR_TOOLBAR%>" title="<%=controller.getMessage("FRAME_TITLE_CALENDAR_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext(link.toString()))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-<%
- link.setLength(0);
- link.append("calendar_content.jsp?");
- link.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- link.append('&').append(ActionInputs.CALENDAR_TYPE).append('=').append(request.getParameter(ActionInputs.CALENDAR_TYPE));
-%>
- <frame name="<%=FrameNames.CALENDAR_CONTENT%>" title="<%=controller.getMessage("FRAME_TITLE_CALENDAR_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext(link.toString()))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_content.jsp
deleted file mode 100644
index 36c6cd488..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_content.jsp
+++ /dev/null
@@ -1,626 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- int calendarType = Integer.parseInt(request.getParameter(ActionInputs.CALENDAR_TYPE));
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title><%=controller.getMessage("FRAME_TITLE_CALENDAR_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/calendar.css"))%>">
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript">
- var days = new Array("<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SH_SUNDAY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SH_MONDAY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SH_TUESDAY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SH_WEDNESDAY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SH_THURSDAY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SH_FRIDAY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SH_SATURDAY"))%>");
- var months = new Array("<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_JANUARY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_FEBRUARY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_MARCH"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_APRIL"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_MAY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_JUNE"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_JULY"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_AUGUST"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_SEPTEMBER"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_OCTOBER"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_NOVEMBER"))%>","<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_DECEMBER"))%>");
- var engMonths = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
- var currentDate;
- var calendarBodySet = false;
- var calendarBody;
- var savedYearTextValue = "";
-
-<%
- // Regular expressions
- // time - HH:MM:SS[.SSS]
- // year - Y*
- // date - YYYY+-MM-DD
- // dateTime - YYYY+-MM-DDTHH:MM:SS[.SSS]Z
- // gYearMonth - YYYY+-MM
- // gDay - ---DD
- // gMonthDay - --MM-DD
-%>
- var timeRegExp = /^(\d{2}):(\d{2}):(\d{2})(\.\d{3})?$/;
- var yearRegExp = /^(\d*)$/;
- var dateRegExp = /^(\d{4,})-(\d{2})-(\d{2})$/;
- var dateTimeRegExp = /^(\d{4,})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d{3})?Z$/;
- var gYearMonthRegExp = /^(\d{4,})-(\d{2})$/;
- var gDayRegExp = /^-{3}(\d{2})$/;
- var gMonthDayRegExp = /^-{2}(\d{2})-(\d{2})$/;
-
- function validateYearString(yearString)
- {
- return yearRegExp.test(yearString);
- }
-
- function getTimeParameters(timeString)
- {
- return timeRegExp.exec(timeString);
- }
-
- function getDateParameters(dateString)
- {
- return dateRegExp.exec(dateString);
- }
-
- function getDateTimeParameters(dateTimeString)
- {
- return dateTimeRegExp.exec(dateTimeString);
- }
-
- function getGYearMonthParameters(gYearMonthString)
- {
- return gYearMonthRegExp.exec(gYearMonthString);
- }
-
- function getGDayParameters(gDayString)
- {
- return gDayRegExp.exec(gDayString);
- }
-
- function getGMonthDayParameters(gMonthDayString)
- {
- return gMonthDayRegExp.exec(gMonthDayString);
- }
-
-<%
- // HH:MM:SS[.SSS]
-%>
- function serializeTime(hours,minutes,seconds,milliseconds)
- {
- var timeString = "";
- if (hours < 10)
- timeString += "0";
- timeString += hours + ":";
- if (minutes < 10)
- timeString += "0";
- timeString += minutes + ":";
- if (seconds < 10)
- timeString += "0";
- timeString += seconds;
- if (milliseconds > 0)
- {
- timeString += ".";
- if (milliseconds < 100)
- {
- if (milliseconds < 10)
- timeString += "00";
- else
- timeString += "0";
- }
- timeString += milliseconds;
- }
- return timeString;
- }
-
-<%
- // YYYY+-MM
-%>
- function serializeGYearMonth(fullYear,month)
- {
- var gYearMonthString = "";
- if (fullYear < 1000)
- {
- if (fullYear < 100)
- {
- if (fullYear < 10)
- gYearMonthString += "000";
- else
- gYearMonthString += "00";
- }
- else
- gYearMonthString += "0";
- }
- gYearMonthString += fullYear+"-";
- if (month < 10)
- gYearMonthString += "0";
- gYearMonthString += month;
- return gYearMonthString;
- }
-
-<%
- // YYYY+-MM-DD
-%>
- function serializeDate(fullYear,month,date)
- {
- var dateString = serializeGYearMonth(fullYear,month) + "-";
- if (date < 10)
- dateString += "0";
- dateString += date;
- return dateString;
- }
-
- function serializeGDay(date)
- {
- var gDayString = "---";
- if (date < 10)
- gDayString += "0";
- gDayString += date;
- return gDayString;
- }
-
- function serializeGMonthDay(month,date)
- {
- var gMonthDayString = "--";
- if (month < 10)
- gMonthDayString += "0";
- gMonthDayString += month+"-";
- if (date < 10)
- gMonthDayString += "0";
- gMonthDayString += date;
- return gMonthDayString;
- }
-
- function setDateUsingGDayParameters(gDayParameters,dateObj)
- {
- if (gDayParameters != null)
- dateObj.setDate(gDayParameters[1]);
- }
-
- function setDateUsingGMonthDayParameters(gMonthDayParameters,dateObj)
- {
- if (gMonthDayParameters != null)
- {
- dateObj.setMonth(gMonthDayParameters[1]-1);
- dateObj.setDate(gMonthDayParameters[2]);
- }
- }
-
- function setDateUsingGYearMonthParameters(gYearMonthParameters,dateObj)
- {
- if (gYearMonthParameters != null)
- {
- dateObj.setFullYear(gYearMonthParameters[1]);
- dateObj.setMonth(gYearMonthParameters[2]-1);
- }
- }
-
- function setDateUsingDateParameters(dateParameters,dateObj)
- {
- if (dateParameters != null)
- {
- setDateUsingGYearMonthParameters(dateParameters,dateObj);
- dateObj.setDate(dateParameters[3]);
- }
- }
-
- function setDateUsingDateTimeParameters(dateTimeParameters,dateObj)
- {
- if (dateTimeParameters != null)
- {
- setDateUsingDateParameters(dateTimeParameters,dateObj);
- dateObj.setUTCHours(dateTimeParameters[4]);
- dateObj.setUTCMinutes(dateTimeParameters[5]);
- dateObj.setUTCSeconds(dateTimeParameters[6]);
- var milliseconds = dateTimeParameters[7];
- if (milliseconds.length > 0)
-<%
- // Eliminate the decimal point
-%>
- dateObj.setUTCMilliseconds(milliseconds.substr(1));
- else
- dateObj.setUTCMilliseconds(0);
- }
- }
-
- function setDateUsingTimeParameters(timeParameters,dateObj)
- {
- if (timeParameters != null)
- {
- dateObj.setHours(timeParameters[1]);
- dateObj.setMinutes(timeParameters[2]);
- dateObj.setSeconds(timeParameters[3]);
- var milliseconds = timeParameters[4];
- if (milliseconds.length > 0)
-<%
- // Eliminate the decimal point
-%>
- dateObj.setMilliseconds(milliseconds.substr(1));
- else
- dateObj.setMilliseconds(0);
- }
- }
-
- function init()
- {
- var d = new Date();
-<%
- switch (calendarType)
- {
- case ActionInputs.CALENDAR_TYPE_DATE:
-%>
- setDateUsingDateParameters(getDateParameters(top.opener.calendarTarget.value),d);
-<%
- break;
- case ActionInputs.CALENDAR_TYPE_DATETIME:
-%>
- setDateUsingDateTimeParameters(getDateTimeParameters(top.opener.calendarTarget.value),d);
-<%
- break;
- case ActionInputs.CALENDAR_TYPE_GYEARMONTH:
-%>
- setDateUsingGYearMonthParameters(getGYearMonthParameters(top.opener.calendarTarget.value),d);
-<%
- case ActionInputs.CALENDAR_TYPE_GDAY:
-%>
- setDateUsingGDayParameters(getGDayParameters(top.opener.calendarTarget.value),d);
-<%
- case ActionInputs.CALENDAR_TYPE_GMONTHDAY:
-%>
- setDateUsingGMonthDayParameters(getGMonthDayParameters(top.opener.calendarTarget.value),d);
-<%
- default:
- break;
- }
-%>
- generateCalendar(d);
- var monthSelector = document.getElementById("monthSelector");
- for (var i=0;i<months.length;i++)
- monthSelector.options[i] = new Option(months[i],i);
- generateCalendar(d);
- }
-
- function initCalendarHeader(table)
- {
- calendarBody = document.createElement("TBODY");
- var headerRow = document.createElement("tr");
- for (var i=0;i<days.length;i++)
- {
- var header = document.createElement("th");
- header.appendChild(document.createTextNode(days[i]));
- header.className="headercolor";
- headerRow.appendChild(header);
- }
- calendarBody.appendChild(headerRow);
- table.appendChild(calendarBody);
- calendarBodySet = true;
- }
-
- function generateCalendar(date)
- {
- var table = document.getElementById("calendar");
- var dateDate = date.getDate();
- var dateMonth = date.getMonth();
- var dateFullYear = date.getFullYear();
- var dateIterator = new Date();
- dateIterator.setTime(Date.parse(engMonths[dateMonth]+" 1, "+dateFullYear));
- var startingDate = dateIterator.getDate(); // 1,2,3...
- var startingDay = dateIterator.getDay(); // Sun,Mon,Tues...
- clearCalendar();
- for (var rows=0;rows<6;rows++)
- {
- var row = document.createElement("tr");
- for (var columns=0;columns<days.length;columns++)
- {
- var column = document.createElement("td");
- var dateIteratorDate = dateIterator.getDate();
- var dateIteratorMonth = dateIterator.getMonth();
- var dateIteratorFullYear = dateIterator.getFullYear();
- column.width = 24;
- column.height = 24;
- column.align = "center";
- column.valign = "center";
- column.className = "calendartablecells";
- if ((dateIteratorDate == startingDate && columns < startingDay) || (dateIteratorMonth != dateMonth))
- column.innerHTML = "&nbsp;";
- else if (dateIteratorMonth == dateMonth)
- {
- var link = document.createElement("a");
- switch (<%=calendarType%>)
- {
- case <%=ActionInputs.CALENDAR_TYPE_DATE%>:
- link.href = "javascript:transferDate("+dateIteratorDate+")";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_DATETIME%>:
- link.href = "javascript:transferDateTime("+dateIteratorDate+")";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_GYEARMONTH%>:
- link.href = "javascript:transferGYearMonth()";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_GDAY%>:
- link.href = "javascript:transferGDay("+dateIteratorDate+")";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_GMONTHDAY%>:
- link.href = "javascript:transferGMonthDay("+dateIteratorDate+")";
- break;
- }
- link.appendChild(document.createTextNode(dateIteratorDate));
- column.appendChild(link);
- if (dateIteratorDate == dateDate && dateIteratorFullYear == dateFullYear)
- column.className = "todaytablecell";
- dateIteratorDate++;
- dateIterator.setTime(Date.parse(engMonths[dateIteratorMonth]+" "+dateIteratorDate+", "+dateIterator.getFullYear()));
- }
- row.appendChild(column);
- }
- calendarBody.appendChild(row);
- }
- var monthSelector = document.getElementById("monthSelector");
- for (var i=0;i<monthSelector.options.length;i++)
- {
- if (monthSelector.options[i].value == dateMonth)
- {
- monthSelector.selectedIndex = i;
- break;
- }
- }
- var yearText = document.getElementById("yearText");
- yearText.value = dateFullYear;
- savedYearTextValue = yearText.value;
-<%
- if (calendarType == ActionInputs.CALENDAR_TYPE_DATETIME)
- {
-%>
- var timeText = document.getElementById("timeText");
- timeText.value = serializeTime(date.getHours(),date.getMinutes(),date.getSeconds(),date.getMilliseconds());
-<%
- }
-%>
- currentDate = date;
- }
-
- function clearCalendar()
- {
- var table = document.getElementById("calendar");
- if (!calendarBodySet)
- initCalendarHeader(table);
- for (var i=1;i<table.rows.length;i++)
- {
- table.deleteRow(i);
- i--;
- }
- }
-
- function updateCalendar(newMonth,newFullYear)
- {
- var d = new Date();
- if (newMonth > months.length)
- {
- newFullYear++;
- newMonth = 0;
- }
- else if (newMonth < 0)
- {
- newFullYear--;
- newMonth = months.length-1;
- }
- d.setMonth(newMonth);
- d.setFullYear(newFullYear);
-<%
- if (calendarType == ActionInputs.CALENDAR_TYPE_DATETIME)
- {
-%>
- setDateUsingTimeParameters(getTimeParameters(document.getElementById("timeText").value),d);
-<%
- }
-%>
- generateCalendar(d);
- }
-
- function jumpToPreviousYear()
- {
- updateCalendar(currentDate.getMonth(),currentDate.getFullYear()-1)
- }
-
- function jumpToPreviousMonth()
- {
- updateCalendar(currentDate.getMonth()-1,currentDate.getFullYear());
- }
-
- function jumpToNextMonth()
- {
- updateCalendar(currentDate.getMonth()+1,currentDate.getFullYear());
- }
-
- function jumpToNextYear()
- {
- updateCalendar(currentDate.getMonth(),currentDate.getFullYear()+1);
- }
-
- function jumpToToday()
- {
- generateCalendar(new Date());
- }
-
- function setNewDate()
- {
- var monthSelector = document.getElementById("monthSelector");
- var newMonth = monthSelector.options[monthSelector.selectedIndex].value;
- var newFullYear = document.getElementById("yearText").value;
-<%
- // YYYY+
-%>
- var d = new Date();
- if (validateYearString(newFullYear))
- {
- // The year string contains only digits and is hence a valid year.
- d.setFullYear(newFullYear);
- d.setMonth(newMonth);
- }
- generateCalendar(d);
- }
-
- function handleYearTextKeyUpEvent()
- {
- var currentYearTextValue = document.getElementById("yearText").value;
- if (currentYearTextValue == savedYearTextValue)
- return false;
- setNewDate();
- }
-
-<%
- // YYYY+-MM-DD
-%>
- function transferDate(date)
- {
- var fullYear = document.getElementById("yearText").value;
- var month = document.getElementById("monthSelector").selectedIndex+1;
- top.opener.calendarTarget.value = serializeDate(fullYear,month,date);
- top.opener.closeCalendarBrowser();
- }
-
-<%
- // YYYY+-MM-DDTHH:MM:SS[.SSS]Z
-%>
- function transferDateTime(date)
- {
- var fullYear = document.getElementById("yearText").value;
- var month = document.getElementById("monthSelector").selectedIndex+1;
- var serializedDate = serializeDate(fullYear,month,date);
- var d = new Date();
- setDateUsingDateParameters(getDateParameters(serializedDate),d);
- var timeValue = document.getElementById("timeText").value;
- var timeParameters = getTimeParameters(timeValue);
- if (timeParameters == null)
- {
- if (!confirm("<%=HTMLUtils.JSMangle(controller.getMessage("MSG_ERROR_INVALID_TIME_FORMAT"))%>"))
- return;
- }
- else
- setDateUsingTimeParameters(timeParameters,d);
- top.opener.calendarTarget.value = serializedDate + "T" + serializeTime(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()) + "Z";
- top.opener.closeCalendarBrowser();
- }
-
-<%
- // YYYY+-MM
-%>
- function transferGYearMonth()
- {
- var fullYear = document.getElementById("yearText").value;
- var month = document.getElementById("monthSelector").selectedIndex+1;
- var serializedGYearMonth = serializeGYearMonth(fullYear,month);
- var d = new Date();
- setDateUsingGYearMonthParameters(getGYearMonthParameters(serializedGYearMonth),d);
- top.opener.calendarTarget.value = serializedGYearMonth;
- top.opener.closeCalendarBrowser();
- }
-
-<%
- // ---DD
-%>
- function transferGDay(date)
- {
- top.opener.calendarTarget.value = serializeGDay(date);
- top.opener.closeCalendarBrowser();
- }
-<%
- // --MM-DD
-%>
- function transferGMonthDay(date)
- {
- var month = document.getElementById("monthSelector").selectedIndex+1;
- top.opener.calendarTarget.value = serializeGMonthDay(month,date);
- top.opener.closeCalendarBrowser();
- }
-</script>
-</head>
-<body class="contentbodymargin">
- <div id="contentborder">
- <table border=0>
- <tr>
- <td align="center" valign="top">
- <table>
- <tr>
- <td align="left" valign="top" class="labels">
- <label for="monthSelector"><%=controller.getMessage("FORM_LABEL_MONTH")%></label>
- </td>
- <td width="20%">&nbsp;</td>
- <td align="left" valign="top" class="labels">
- <label for="yearText"><%=controller.getMessage("FORM_LABEL_YEAR")%></label>
- </td>
- </tr>
- <tr>
- <td align="left" valign="center">
- <select id="monthSelector" onChange="setNewDate()" class="selectlist">
- </select>
- </td>
- <td width="20%">&nbsp;</td>
- <td width="30%" align="left" valign="center">
- <input id="yearText" size=6 onkeyup="handleYearTextKeyUpEvent()" class="tabletextenter">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td align="center" valign="top">
- <table id="calendar" border=0 cellspacing=0 cellpadding=3 class="tableborder">
- </table>
- </td>
- </tr>
-<%
- if (calendarType == ActionInputs.CALENDAR_TYPE_DATETIME)
- {
-%>
- <tr>
- <td align="center" valign="top">
- <table border=0>
- <td align="center" valign="center" class="labels">
- <label for="timeText"><%=controller.getMessage("FORM_LABEL_TIME")%></label>
- </td>
- <td align="center" valign="center" width="80%">
- <input id="timeText" type="text" class="tabletextenter" size=12 maxlength=12>
- </td>
- <td width="10%">&nbsp;</td>
- </table>
- </td>
- </tr>
-<%
- }
-%>
- <tr>
- <td align="center" valign="top">
- <table border=0>
- <tr>
- <td>
- <a href="javascript:jumpToPreviousYear()" title="<%=controller.getMessage("ALT_PREVIOUS_YEAR")%>"><%=controller.getMessage("FORM_LINK_PREVIOUS_YEAR")%></a>
- </td>
- <td>
- <a href="javascript:jumpToPreviousMonth()" title="<%=controller.getMessage("ALT_PREVIOUS_MONTH")%>"><%=controller.getMessage("FORM_LINK_PREVIOUS_MONTH")%></a>
- </td>
- <td>
- <a href="javascript:jumpToToday()" title="<%=controller.getMessage("ALT_TODAY")%>"><%=controller.getMessage("FORM_LINK_TODAY")%></a>
- </td>
- <td>
- <a href="javascript:jumpToNextMonth()" title="<%=controller.getMessage("ALT_NEXT_MONTH")%>"><%=controller.getMessage("FORM_LINK_NEXT_MONTH")%></a>
- </td>
- <td>
- <a href="javascript:jumpToNextYear()" title="<%=controller.getMessage("ALT_NEXT_YEAR")%>"><%=controller.getMessage("FORM_LINK_NEXT_YEAR")%></a>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </div>
-<script language="javascript">
- init();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_toolbar.jsp
deleted file mode 100644
index ea55fb639..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/calendar_toolbar.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FRAME_TITLE_CALENDAR_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onUnload="top.opener.calendarBrowserClosed=true" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar">
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/calendar.gif"))%>" width=16 height=16></td>
- <td valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_CALENDAR_BROWSER")%></td>
- </tr>
- </table>
- </div>
-</div>
-<script language="javascript">
- top.opener.calendarBrowserClosed = false;
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/calendar.css b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/calendar.css
deleted file mode 100644
index 383880605..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/calendar.css
+++ /dev/null
@@ -1,2 +0,0 @@
-.calendartablecells { border-left:1px solid #B8B4A3; border-right:0px solid #B8B4A3; border-top:0px solid #B8B4A3; border-bottom:1px solid #B8B4A3; font: icon; font-size: 11px; text-align:center}
-.todaytablecell { background-color:yellow; border-left:1px solid #B8B4A3; border-right:0px solid #B8B4A3; border-top:0px solid #B8B4A3; border-bottom:1px solid #B8B4A3; font: icon; font-size: 11px; text-align:center}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/toolbar.css b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/toolbar.css
deleted file mode 100644
index 485ea123c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/toolbar.css
+++ /dev/null
@@ -1,20 +0,0 @@
-#toolbar { width:100%; height:25px; background:#ECE9D8; border-color:white; border-style:solid; border-width:1 1 1 1px; border-bottom-color:#848284; border-right-color:#848284; margin:0 0 0 0px;}
-#toolbarborder { height:26px; width:100%; border-style:solid; border-width:1 0 0 1px; border-color:#848284; }
-
-/* iframe Spacing Contol */
-.toolbarbodymargin { margin: 5 5 0 5; background: #ECE9D8; }
-
-/* Toolbar Styles */
-.text {font-size:12px; font: icon;}
-a:link {color: black;}
-
-/* JS Rollover Style */
-IMG { border-width:2px; border-style:solid;}
-.normal { border-color : #ECE9D8; border-style: solid; border-width:1px; border-left-width: 1px; border-bottom-color :#ECE9D8; border-right-color :#ECE9D8;}
-.hover { border-color : white; border-style: solid; border-width:1px; border-left-width: 1px; border-bottom-color :#8C8E8C; border-right-color :#8C8E8C; }
-.down { border-color : #8C8E8C; border-style: solid; border-width:1px; border-left-width: 1px; border-bottom-color:white; border-right-color:white;}
-
-/* GlobalToolbar */
-.gtoolbarbodymargin {margin : 0 1 3 0; background: #ECE9D8}
-#globaltoolbar{height:100%; background: #ECE9D8; border-color : white; border-style: solid; border-width:1px; border-left-width: 1px; border-bottom-color :black; border-right-width: 1px; border-right-color :#848284;}
-
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/treeview.css b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/treeview.css
deleted file mode 100644
index da1e6a5b1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/treeview.css
+++ /dev/null
@@ -1,5 +0,0 @@
-a {text-decoration: none;}
-a:hover {text-decoration: underline;}
-td {font: icon; font-size: 12px; color: Black;}
-.unselectedTextAnchor {color:blue; background-color:document.backgroundColor}
-.selectedTextAnchor {color:white; background-color:navy}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/windows.css b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/windows.css
deleted file mode 100644
index 9c0d2b944..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/css/windows.css
+++ /dev/null
@@ -1,47 +0,0 @@
-#contentborder { border-left:1px solid #848284; border-right:1px solid #848284; border-top:0px solid #848284; border-bottom:1px solid #848284; height:100%; width:100%; background:white; overflow:auto; padding-left:10px; padding-right:0; padding-top:10; padding-bottom:10}
-#treecontentborder { border-left:1px solid #848284; border-right:1px solid #848284; border-top:0px solid #848284; border-bottom:1px solid #848284; height:100%; width:100%; background:white; overflow:auto; padding-top:5px}
-
-/* iframe Spacing Contol */
-.contentbodymargin { margin: 0 5 12 5; background:#ECE9D8; }
-
-/* Document Styles */
-.labels { font: icon; font-size: 12px; color:black; font-weight: normal;}
-
-/* fieldset+legend Styles */
-.keylinefieldset { border-color:#8080FF; border-width:1px; border-style:solid; }
-
-/* table Styles */
-.tableborder {border-left:0px solid #B8B4A3; border-right:1px solid #B8B4A3; border-top:1px solid #B8B4A3; border-bottom:0px solid #B8B4A3; }
-.tablecells { border-left:1px solid #B8B4A3; border-right:0px solid #B8B4A3; border-top:0px solid #B8B4A3; border-bottom:1px solid #B8B4A3; font: icon; font-size: 11px; text-align:left}
-.checkboxcells { border-left:1px solid #B8B4A3; border-right:0px solid #B8B4A3; border-top:0px solid #B8B4A3; border-bottom:1px solid #B8B4A3; font: icon; font-size: 11px; background-color: #ECE9D8}
-th.headercolor { border-left:1px solid #B8B4A3; border-right:0px solid #B8B4A3; border-top:0px solid #B8B4A3; border-bottom:1px solid #B8B4A3; font-style: normal; font: icon; font-size: 11px; background-color:#4977B4; color:#FFFFFF; text-align:center}
-th.singleheadercolor { border-left:1px solid #B8B4A3; border-right:0px solid #B8B4A3; border-top:0px solid #B8B4A3; border-bottom:1px solid #B8B4A3; font-style: normal; font: icon; font-size: 11px; background-color:#4977B4; color:#FFFFFF; text-align:left}
-.firstcolumnerrantrowcolor { border-left:1px solid red; border-right:0px solid #B7B4A3; border-top:1px solid red; border-bottom:1px solid red; font: icon; font-size: 11px; background-color:#E6EAD8; text-align:left}
-.middleerrantrowcolor { border-left:1px solid #B7B4A3; border-right:0px solid #B7B4A3; border-top:1px solid red; border-bottom:1px solid red; font: icon; font-size: 11px; background-color:#E6EAD8; text-align:left}
-.lastcolumnerrantrowcolor { border-left:1px solid #B7B4A3; border-right:1px solid red; border-top:1px solid red; border-bottom:1px solid red; font: icon; font-size: 11px; background-color:#E6EAD8; text-align:left}
-.rowcolor { border-left:1px solid #B8B4A3; border-right:0px solid #B8B4A3; border-top:0px solid #B8B4A3; border-bottom:1px solid #B8B4A3; font: icon; font-size: 11px; background-color:#E6EAD8; text-align:left}
-
-/* Form elements and status contents */
-td { font: icon; font-size: 12px; }
-th { font: icon; font-size: 12px; }
-input { font: icon; font-size: 12px; }
-.selectlist {font: icon; font-size: 12px; color: Black; border-style:solid; border-width : 1px; border-color:#C7C5B2;}
-select { font: icon; font-size: 12px; }
-pre { font: icon; font-size: 12px; }
-.smtextenter {font: icon; font-size: 14px; color: Black; border-style:solid; border-width : 1px; border-color: #C7C5B2; width:10%; }
-.textenter {font: icon; font-size: 14px; color: Black; border-style:solid; border-width : 1px; border-color: #C7C5B2; width:90%; }
-.tabletextenter {font: icon; font-size: 14px; color: Black; border-style:solid; border-width : 1px; border-color: #C7C5B2; width:100%; }
-.tablefilebrowse {width:100%; border-style:solid; border-width:1px; font-size: 14px; border-color: #C7C5B2; font: icon; }
-input.button {font: icon; font-size: 11px; border-width : 1px; border-style:outset; height:22px;}
-input.radio {font: icon; font-size: 11px;}
-img.twist {border-width:0 0 0 0px; height:10px; width:11px;}
-
-/* Fragment Styles */
-.fixfragtable {width:95%; border:0px none; }
-.innerfixfragtable {width:100%; border:0px none; }
-.rangefragtable {width:95%; border-left:0px solid #B8B4A3; border-right:1px solid #B8B4A3; border-top:1px solid #B8B4A3; border-bottom:0px solid #B8B4A3;}
-.innerrangefragtable {width:100%; border-left:0px solid #B8B4A3; border-right:1px solid #B8B4A3; border-top:1px solid #B8B4A3; border-bottom:0px solid #B8B4A3;}
-.textareaenter {font: icon; font-size: 14px; color: Black; border-style:solid; border-width : 1px; border-color: #C7C5B2; width:100%; height:150px; }
-.bigtextareaenter {font: icon; font-size: 14px; color: Black; border-style:solid; border-width : 1px; border-color: #C7C5B2; width:100%; height:300px; }
-
-iframe {border-width: 2px; border-style: inset; }
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp
deleted file mode 100644
index 24dfde4ce..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp
+++ /dev/null
@@ -1,60 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddWSILToWSILPerspectiveAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<jsp:include page="/favorites/scripts/favoritesPanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- AddWSILToWSILPerspectiveAction action = new AddWSILToWSILPerspectiveAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- if (actionResult) {
-%>
- <script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_WSIL,false)))%>";
- </script>
-<%
- }
- else {
- if (request.getParameter(FavoritesActionInputs.MULTIPLE_LINK_ACTION) == null) {
-%>
- <jsp:include page="/favorites/actions/RemoveFavoritesConfirmJSP.jsp" flush="true"/>
-<%
- }
- else {
-%>
- <script language="javascript">
- favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>";
- favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>";
- </script>
-<%
- }
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp
deleted file mode 100644
index 0fb010f93..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp
+++ /dev/null
@@ -1,61 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddToUDDIPerspectiveAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<jsp:include page="/favorites/scripts/favoritesPanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- AddToUDDIPerspectiveAction action = AddToUDDIPerspectiveAction.newAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- if (actionResult) {
- controller.getUDDIPerspective().getNavigatorManager().makeSelectedNodeVisible();
-%>
- <script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_UDDI,false)))%>";
- </script>
-<%
- }
- else {
- if (request.getParameter(FavoritesActionInputs.MULTIPLE_LINK_ACTION) == null) {
-%>
- <jsp:include page="/favorites/actions/RemoveFavoritesConfirmJSP.jsp" flush="true"/>
-<%
- }
- else {
-%>
- <script language="javascript">
- favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>";
- favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>";
- </script>
-<%
- }
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp
deleted file mode 100644
index 9fb21cbda..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp
+++ /dev/null
@@ -1,62 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.FavoritesActionInputs,
- org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs,
- org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesAddToWSDLPerspectiveAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<jsp:include page="/favorites/scripts/favoritesPanes.jsp" flush="true"/>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
-// Prepare the action.
-FavoritesAddToWSDLPerspectiveAction action = new FavoritesAddToWSDLPerspectiveAction(controller);
-
-// Load the parameters for the action from the servlet request.
-boolean inputsValid = action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-if (actionResult) {
-%>
-<script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_WSDL,false)))%>";
-</script>
-<%
-}
-else {
- if (request.getParameter(FavoritesActionInputs.MULTIPLE_LINK_ACTION) == null) {
-%>
- <jsp:include page="/favorites/actions/RemoveFavoritesConfirmJSP.jsp" flush="true"/>
-<%
- }
- else {
-%>
- <script language="javascript">
- favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>";
- favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>";
- </script>
-<%
- }
-}
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToFileSystemActionJSP.jsp
deleted file mode 100644
index 9e99421fd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToFileSystemActionJSP.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.io.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- FavoritesImportToFileSystemAction action = new FavoritesImportToFileSystemAction(controller);
-%>
-<%@ include file="/actions/ImportToFileSystemAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp
deleted file mode 100644
index 51935b4b5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesImportToWorkbenchAction action = new FavoritesImportToWorkbenchAction(controller);
-%>
-<%@ include file="/actions/ImportToWorkbenchAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp
deleted file mode 100644
index ea033b110..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesLaunchWebServiceWizardAction action = new FavoritesLaunchWebServiceWizardAction(controller);
-%>
-<%@ include file="/actions/LaunchWebServiceWizardAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesToggleNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesToggleNodeActionJSP.jsp
deleted file mode 100644
index 3e8d15645..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesToggleNodeActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- FavoritesToggleNodeAction action = new FavoritesToggleNodeAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- // Determine if the action was added to the history list.
- boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/ToggleNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesActionJSP.jsp
deleted file mode 100644
index 0fa1b2bdd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesActionJSP.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.RemoveFavoritesAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/favorites/scripts/favoritesPanes.jsp" flush="true"/>
-<%
- // Prepare the action.
- RemoveFavoritesAction action = new RemoveFavoritesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
-<%@ include file="/actions/ClearNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesConfirmJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesConfirmJSP.jsp
deleted file mode 100644
index d2d89c92c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesConfirmJSP.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.RemoveFavoritesAction"%>
-
-<jsp:include page="/favorites/scripts/favoritesPanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- if (confirm("<%=controller.getFavoritesPerspective().getMessage("MSG_CONFIRM_REMOVE_NODE", controller.getFavoritesPerspective().getNodeManager().getSelectedNode().getNodeName())%>")) {
- <%
- Node selectedNode = controller.getFavoritesPerspective().getNodeManager().getSelectedNode();
- %>
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT)))%>";
- }
- else {
- favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>";
- favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>";
- }
- </script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/ResizeFavoritesFramesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/ResizeFavoritesFramesActionJSP.jsp
deleted file mode 100644
index dd7591db7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/ResizeFavoritesFramesActionJSP.jsp
+++ /dev/null
@@ -1,53 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Create the action.
- ResizeFavoritesFramesAction action = new ResizeFavoritesFramesAction(controller);
-
- // Populate the action with the request properties.
- boolean result = action.populatePropertyTable(request);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/favorites/scripts/favoritesframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (result)
- {
- action.execute(false);
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- perspectiveContentFrameset.setAttribute("cols","<%=favPerspective.getPerspectiveContentFramesetCols()%>");
- actionsContainerFrameset.setAttribute("rows","<%=favPerspective.getActionsContainerFramesetRows()%>");
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_perspective_content.jsp"))%>";
-</script>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesActionJSP.jsp
deleted file mode 100644
index afe4b1766..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesActionJSP.jsp
+++ /dev/null
@@ -1,51 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesRestoreDefaultFavoritesAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<jsp:include page="/favorites/scripts/favoritesPanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- FavoritesRestoreDefaultFavoritesAction action = new FavoritesRestoreDefaultFavoritesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- if (actionResult) {
-%>
- <script language="javascript">
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_perspective_content.jsp"))%>";
- </script>
-<%
- }
- else {
-%>
- <script language="javascript">
- favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>";
- </script>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp
deleted file mode 100644
index a5c539d40..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp
+++ /dev/null
@@ -1,27 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- if (confirm("<%=controller.getFavoritesPerspective().getMessage("MSG_CONFIRM_RESTORE_DEFAULT_FAVORITES")%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/actions/RestoreDefaultFavoritesActionJSP.jsp"))%>";
- </script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesNodeActionJSP.jsp
deleted file mode 100644
index 9556e0612..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesNodeActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesNodeAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-SelectFavoritesNodeAction action = new SelectFavoritesNodeAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesToolActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesToolActionJSP.jsp
deleted file mode 100644
index f1b7d200d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesToolActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-SelectFavoritesToolAction action = new SelectFavoritesToolAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeToolAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp
deleted file mode 100644
index aef11983d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesUserDefUDDIRegistryNodeAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-SelectFavoritesUserDefUDDIRegistryNodeAction action = new SelectFavoritesUserDefUDDIRegistryNodeAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-//make sure to refresh node view
-action.setTreeRefreshNeeded();
-
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SwitchPerspectiveFromFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SwitchPerspectiveFromFavoritesActionJSP.jsp
deleted file mode 100644
index 0ba0cde9c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SwitchPerspectiveFromFavoritesActionJSP.jsp
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action
-SwitchPerspectiveFromFavoritesAction action = new SwitchPerspectiveFromFavoritesAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<jsp:include page="/scripts/switchperspective.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_actions_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_actions_container.jsp
deleted file mode 100644
index 64a4ee558..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_actions_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%></title>
-</head>
-<frameset rows="<%=favPerspective.getActionsContainerFramesetRows()%>" bgcolor="#ECE9D8">
- <frame name="<%=FavoritesFrameNames.PROPERTIES_CONTAINER%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
- <frame name="<%=FavoritesFrameNames.STATUS_CONTAINER%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_container.jsp"))%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_container.jsp
deleted file mode 100644
index 26e401a76..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=FavoritesFrameNames.NAVIGATOR_TOOLBAR%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=FavoritesFrameNames.NAVIGATOR_CONTENT%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_content.jsp
deleted file mode 100644
index 2406ce836..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_content.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/treeview.css"))%>">
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/treeview.js"))%>">
- </script>
-</head>
-<%
- String selectedAnchorName = "";
- NodeManager nodeManager = favPerspective.getNodeManager();
- int focusedNodeId = nodeManager.getFocusedNodeId();
- String focusedAnchorName = String.valueOf(focusedNodeId);
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null) {
- selectedAnchorName = selectedNode.getAnchorName();
- if (focusedNodeId == selectedNode.getNodeId())
- focusedAnchorName = selectedAnchorName;
- }
-%>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onLoad="self.location.hash='#<%=focusedAnchorName%>';setSelectedAnchorName('<%=selectedAnchorName%>')" class="contentbodymargin">
-<div id="treecontentborder">
- <%=nodeManager.renderTreeView(response)%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_toolbar.jsp
deleted file mode 100644
index 24a372305..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_toolbar.jsp
+++ /dev/null
@@ -1,66 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/favorites/scripts/favoritesframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("favorites/actions/ResizeFavoritesFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(FavoritesFrameNames.NAVIGATOR_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/favorites/forms/ProcessFavoritesFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/navigator.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (favPerspective.getPerspectiveContentFramesetCols().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- else
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_NAVIGATOR")%></td>
-<%
- String altRestore = favPerspective.getMessage("ALT_RESTORE_DEFAULT_FAVORITES");
- String altRemove = favPerspective.getMessage("ALT_REMOVE_FAVORITE");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseup(this)" alt="<%=altRestore%>" title="<%=altRestore%>"></a></td>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("favorites/actions/RemoveFavoritesActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altRemove%>" title="<%=altRemove%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_perspective_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_perspective_content.jsp
deleted file mode 100644
index ad319ab0a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_perspective_content.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_PERSPECTIVE_CONTENT")%></title>
-</head>
-<frameset cols="<%=favPerspective.getPerspectiveContentFramesetCols()%>" bgcolor=#ECE9D8>
- <%
- if (org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.isRTL())
- {
- %>
- <frame name="<%=FavoritesFrameNames.ACTIONS_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_actions_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=FavoritesFrameNames.NAVIGATOR_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- else
- {
- %>
- <frame name="<%=FavoritesFrameNames.NAVIGATOR_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=FavoritesFrameNames.ACTIONS_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_actions_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- %>
-</frameset>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_container.jsp
deleted file mode 100644
index 58a8be9a9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=FavoritesFrameNames.PROPERTIES_TOOLBAR%>" title="<%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=FavoritesFrameNames.PROPERTIES_CONTENT%>" title="<%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_content.jsp
deleted file mode 100644
index e572c122f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_content.jsp
+++ /dev/null
@@ -1,73 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<%
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null)
- {
- ToolManager toolManager;
- if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNode.getToolManager();
- else
- toolManager = selectedNode.getViewToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- if (selectedTool != null && selectedTool.getToolType() != ToolTypes.ACTION) {
- %>
- <script language="javascript">
- location="<%=response.encodeURL(controller.getPathWithContext(selectedTool.getFormLink()))%>";
- </script>
- <%
- }
- else {
- %>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_ACTION_SELECTED")%>
- </td>
- </tr>
-</table>
- <%
- }
- }
- else {
- %>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_NODE_SELECTED")%>
- </td>
- </tr>
-</table>
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_toolbar.jsp
deleted file mode 100644
index 3b9464e0e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_toolbar.jsp
+++ /dev/null
@@ -1,82 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/favorites/scripts/favoritesframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("favorites/actions/ResizeFavoritesFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(FavoritesFrameNames.PROPERTIES_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/favorites/forms/ProcessFavoritesFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/actions.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (favPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (favPerspective.getActionsContainerFramesetRows().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_ACTIONS")%></td>
-<%
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null) {
- ToolManager toolManager;
- if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNode.getToolManager();
- else
- toolManager = selectedNode.getViewToolManager();
- for(int i=0; i<toolManager.getNumberOfTools(); i++) {
- Tool tool = (Tool)toolManager.getTool(i);
- %>
- <td valign="middle" align="center" width=25 height=25><%=tool.renderTool(response,controller)%></td>
- <%
- }
- }
-%>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_container.jsp
deleted file mode 100644
index ec4d66082..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=FavoritesFrameNames.STATUS_TOOLBAR%>" title="<%=favPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=FavoritesFrameNames.STATUS_CONTENT%>" title="<%=favPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_content.jsp
deleted file mode 100644
index a37fcd671..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_content.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <table>
- <tr>
- <td>
- <pre>
-<%=HTMLUtils.charactersToHTMLEntitiesStrict(favPerspective.getMessageQueue().getMessagesFromList())%>
- </pre>
- </td>
- </tr>
- </table>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_toolbar.jsp
deleted file mode 100644
index 4f466a79d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_toolbar.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/favorites/scripts/favoritesframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("favorites/actions/ResizeFavoritesFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(FavoritesFrameNames.STATUS_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/favorites/forms/ProcessFavoritesFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/status.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (favPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (favPerspective.getActionsContainerFramesetRows().endsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_STATUS")%></td>
-<%
- String altClear = controller.getMessage("ALT_CLEAR");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>" target="<%=FavoritesFrameNames.STATUS_CONTENT%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesImportToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesImportToWorkbenchForm.jsp
deleted file mode 100644
index 48b418436..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesImportToWorkbenchForm.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request">
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- // The selected node must be a FavoritesWSDLServiceNode.
- Node selectedNode = nodeManager.getSelectedNode();
- FavoritesWSDLServiceElement wsdlElement = (FavoritesWSDLServiceElement)selectedNode.getTreeElement();
- formProperties.put("formActionLink","favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp");
- formProperties.put("wsdlURL",wsdlElement.getWsdlUrl());
-%>
-</jsp:useBean>
-<jsp:include page="/forms/ImportWSDLAndWSILToWorkbenchForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesLaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesLaunchWebServiceWizardForm.jsp
deleted file mode 100644
index e9323df91..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesLaunchWebServiceWizardForm.jsp
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="formActionLink" class="java.lang.StringBuffer" scope="request">
-<%
- formActionLink.append("favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:include page="/forms/LaunchWebServiceWizardForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp
deleted file mode 100644
index fa4aac5f6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp
+++ /dev/null
@@ -1,100 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.apache.wsil.extension.uddi.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FORM_TITLE_UDDI_BUSINESS_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = favPerspective.getMessage("ALT_FAVORITES_UDDI_BUSINESS_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof FavoritesUDDIBusinessElement) {
- FavoritesUDDIBusinessElement busElement = (FavoritesUDDIBusinessElement)selectedElement;
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_BUSINESS_NAME")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=busElement.getName()%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=busElement.getInquiryURL()%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_BUSINESS_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=busElement.getBusinessKey()%>
- </td>
- </tr>
- </table>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
- %>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp
deleted file mode 100644
index 432425f3a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp
+++ /dev/null
@@ -1,154 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.apache.wsil.extension.uddi.*,
- java.io.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FORM_TITLE_UDDI_REGISTRY_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = favPerspective.getMessage("ALT_FAVORITES_UDDI_REGISTRY_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof FavoritesUDDIRegistryElement) {
- FavoritesUDDIRegistryElement regElement = (FavoritesUDDIRegistryElement)selectedElement;
- String registryName = regElement.getName();
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_REGISTRY_NAME")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=registryName%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=regElement.getInquiryURL()%>
- </td>
- </tr>
- </table>
-<%
- String publishURL = regElement.getPublishURL();
- if (Validator.validateURL(publishURL))
- {
-%>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_PUBLISH_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=publishURL%>
- </td>
- </tr>
- </table>
-<%
- }
-
- String registryURL = regElement.getRegistrationURL();
- if (Validator.validateURL(registryURL))
- {
-%>
- <br>
- <table>
- <tr>
- <td align="left">
- <%=favPerspective.getMessage("FORM_LABEL_REGISTRY_URL",registryURL)%>
- </td>
- </tr>
- </table>
-<%
- }
-
- StringBuffer categoryDirectory = new StringBuffer();
- FavoritesUDDIRegistryFolderElement.formCategoriesDirectory(categoryDirectory,controller.getServletEngineStateLocation(),registryName);
- File categoryDirectoryFile = new File(categoryDirectory.toString());
- String[] categoryFiles = categoryDirectoryFile.list();
- if (categoryFiles != null)
- {
-%>
-<br>
-<table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_USER_DEFINED_CATEGORY_DATA_FILES")%>
- </th>
- </tr>
-<%
- for (int i=0;i<categoryFiles.length;i++)
- {
-%>
- <tr>
- <td class="tablecells">
- <%=categoryFiles[i]%>
- </td>
- </tr>
-<%
- }
-%>
-</table>
-<%
- }
-%>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-<%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceDetailsPage.jsp
deleted file mode 100644
index 3c56f58ca..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceDetailsPage.jsp
+++ /dev/null
@@ -1,100 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.apache.wsil.extension.uddi.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FORM_TITLE_UDDI_SERVICE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = favPerspective.getMessage("ALT_FAVORITES_UDDI_SERVICE_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof FavoritesUDDIServiceElement) {
- FavoritesUDDIServiceElement serElement = (FavoritesUDDIServiceElement)selectedElement;
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_SERVICE_NAME")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=serElement.getName()%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=serElement.getInquiryURL()%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_SERVICE_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=serElement.getServiceKey()%>
- </td>
- </tr>
- </table>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
- %>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp
deleted file mode 100644
index d31a0f415..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp
+++ /dev/null
@@ -1,100 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.apache.wsil.extension.uddi.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FORM_TITLE_UDDI_SERVICE_INTERFACE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = favPerspective.getMessage("ALT_FAVORITES_UDDI_SERVICE_INTERFACE_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof FavoritesUDDIServiceInterfaceElement) {
- FavoritesUDDIServiceInterfaceElement serIntElement = (FavoritesUDDIServiceInterfaceElement)selectedElement;
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_SERVICE_INTERFACE_NAME")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=serIntElement.getName()%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=serIntElement.getInquiryURL()%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_SERVICE_INTERFACE_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=serIntElement.getServiceInterfaceKey()%>
- </td>
- </tr>
- </table>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
- %>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp
deleted file mode 100644
index 82d003cd9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp
+++ /dev/null
@@ -1,311 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060912 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.apache.wsil.extension.uddi.*,
- java.io.*,
- java.util.*,
- org.eclipse.wst.ws.internal.model.v10.registry.Name,
- org.eclipse.wst.ws.internal.model.v10.registry.Description,
- org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies,
- org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FORM_TITLE_USER_DEF_UDDI_REGISTRY_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = favPerspective.getMessage("ALT_FAVORITES_USER_DEF_UDDI_REGISTRY_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof FavoritesUserDefUDDIRegistryElement) {
- FavoritesUserDefUDDIRegistryElement regElement = (FavoritesUserDefUDDIRegistryElement)selectedElement;
- regElement.refreshMeta();
-
- String version = regElement.getVersion();
- if (version != null)
- {
- %>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_UDDI_VERSION")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=version%>
- </td>
- </tr>
- </table>
- <%
- }
- %>
-
- <%
- List names = regElement.getNames();
- if (names != null && !names.isEmpty())
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left" width="1" nowrap>
- <%=favPerspective.getMessage("FORM_LABEL_LANGUAGE")%>
- </th>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_REGISTRY_NAME")%>
- </th>
- </tr>
- <%
- for (Iterator it = names.iterator(); it.hasNext();)
- {
- Name name = (Name)it.next();
- String lang = name.getLang();
- %>
- <tr>
- <td class="tablecells"><%=lang != null ? lang : "--"%></td>
- <td class="tablecells"><%=name.getValue()%></td>
- </tr>
- <%
- }
- %>
- </table>
- <%
- }
- %>
-
- <%
- List descs = regElement.getDescs();
- if (descs != null && !descs.isEmpty())
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left" width="1" nowrap>
- <%=favPerspective.getMessage("FORM_LABEL_LANGUAGE")%>
- </th>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_DESC")%>
- </th>
- </tr>
- <%
- for (Iterator it = descs.iterator(); it.hasNext();)
- {
- Description desc = (Description)it.next();
- String lang = desc.getLang();
- %>
- <tr>
- <td class="tablecells"><%=lang != null ? lang : "--"%></td>
- <td class="tablecells"><%=desc.getValue()%></td>
- </tr>
- <%
- }
- %>
- </table>
- <%
- }
- %>
-
- <%
- String defaultLogin = regElement.getDefaultLogin();
- if (defaultLogin != null)
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_DEFAULT_LOGIN")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=defaultLogin%>
- </td>
- </tr>
- </table>
- <%
- }
- %>
-
- <%
- String defaultPassword = regElement.getDefaultPassword();
- if (defaultPassword != null)
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_DEFAULT_PASSWORD")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=defaultPassword%>
- </td>
- </tr>
- </table>
- <%
- }
- %>
-
- <%
- String inquiryURL = regElement.getInquiryURL();
- if (inquiryURL != null)
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=inquiryURL%>
- </td>
- </tr>
- </table>
- <%
- }
- %>
-
- <%
- String publishURL = regElement.getPublishURL();
- if (Validator.validateURL(publishURL))
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_PUBLISH_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=publishURL%>
- </td>
- </tr>
- </table>
- <%
- }
-
- String secureInquiryURL = regElement.getSecureInquiryURL();
- if (Validator.validateURL(secureInquiryURL))
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_SECURE_INQUIRY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=secureInquiryURL%>
- </td>
- </tr>
- </table>
- <%
- }
-
- String securePublishURL = regElement.getSecurePublishURL();
- if (Validator.validateURL(securePublishURL))
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_SECURE_PUBLISH_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=securePublishURL%>
- </td>
- </tr>
- </table>
- <%
- }
- %>
-
- <%
- Taxonomy[] taxonomies = regElement.getTaxonomies();
- if (taxonomies != null && taxonomies.length > 0)
- {
- %>
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_TAXONOMY")%>
- </th>
- </tr>
- <%
- for (int i=0; i<taxonomies.length; i++)
- {
- Taxonomy taxonomy = taxonomies[i];
- %>
- <tr>
- <td class="tablecells"><%=taxonomy.getName()%></td>
- </tr>
- <%
- }
- %>
- </table>
- <%
- }
- %>
-
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-<%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSDLDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSDLDetailsPage.jsp
deleted file mode 100644
index 9906f4719..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSDLDetailsPage.jsp
+++ /dev/null
@@ -1,71 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FORM_TITLE_WSDL_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = favPerspective.getMessage("ALT_FAVORITES_WSDL_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof FavoritesWSDLServiceElement) {
- FavoritesWSDLServiceElement wsdlElement = (FavoritesWSDLServiceElement)selectedElement;
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=wsdlElement.getWsdlUrl()%>
- </td>
- </tr>
- </table>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
- %>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSILDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSILDetailsPage.jsp
deleted file mode 100644
index 6c0dcf471..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSILDetailsPage.jsp
+++ /dev/null
@@ -1,72 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.apache.wsil.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favPerspective.getMessage("FORM_TITLE_WSIL_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = favPerspective.getMessage("ALT_FAVORITES_WSIL_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof FavoritesWSILElement) {
- FavoritesWSILElement wsilElement = (FavoritesWSILElement)selectedElement;
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=favPerspective.getMessage("FORM_LABEL_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=wsilElement.getWsilUrl()%>
- </td>
- </tr>
- </table>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
- %>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/ProcessFavoritesFramesetsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/ProcessFavoritesFramesetsForm.jsp
deleted file mode 100644
index 2f9a71ca9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/ProcessFavoritesFramesetsForm.jsp
+++ /dev/null
@@ -1,27 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
-%>
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"/>
-<form action="<%=response.encodeURL(controller.getPathWithContext(formAction.toString()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" style="margin-top:0;margin-bottom:0">
- <input name="<%=ActionInputs.FRAME_NAME%>" type="hidden" value="<%=formFrameName%>">
- <input name="<%=FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>" type="hidden" value="<%=favPerspective.getPerspectiveContentFramesetCols()%>">
- <input name="<%=FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>" type="hidden" value="<%=favPerspective.getActionsContainerFramesetRows()%>">
-</form>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_enabled.gif
deleted file mode 100644
index e65d19a11..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_highlighted.gif
deleted file mode 100644
index 4aa3ddcb5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_enabled.gif
deleted file mode 100644
index 074184164..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_highlighted.gif
deleted file mode 100644
index 362b8cb5a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_enabled.gif
deleted file mode 100644
index 0fa09842f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_highlighted.gif
deleted file mode 100644
index 18a4ceb03..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_enabled.gif
deleted file mode 100644
index bd1e37adc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_highlighted.gif
deleted file mode 100644
index d51b97517..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_enabled.gif
deleted file mode 100644
index ef2aa155f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_highlighted.gif
deleted file mode 100644
index d91ecb55f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_enabled.gif
deleted file mode 100644
index c351daff7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_highlighted.gif
deleted file mode 100644
index 53e1335da..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_enabled.gif
deleted file mode 100644
index 446986a1a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_highlighted.gif
deleted file mode 100644
index 815312251..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_enabled.gif
deleted file mode 100644
index 6dc028508..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_highlighted.gif
deleted file mode 100644
index 428c8ea5e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_business_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_business_node.gif
deleted file mode 100644
index d3d6a778b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_business_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_cat_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_cat_node.gif
deleted file mode 100644
index feec281b1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_cat_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_node.gif
deleted file mode 100644
index 5b43cae7b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_interface_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_interface_node.gif
deleted file mode 100644
index 21325ca77..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_interface_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_node.gif
deleted file mode 100644
index 8c0252a2f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsdl_service_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsdl_service_node.gif
deleted file mode 100644
index 8fb844f5b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsdl_service_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsil_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsil_node.gif
deleted file mode 100644
index 7c5916fb6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsil_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesFormSubmit.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesFormSubmit.jsp
deleted file mode 100644
index 915fe97eb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesFormSubmit.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-<script language="javascript">
- function isSomethingSelected(tableContainerId) {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows; i<table.rows.length; i++) {
- var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0);
- var rowCheckbox = rowCheckboxCell.childNodes[0];
- if (rowCheckbox.checked)
- return true;
- }
- alert("<%=controller.getFavoritesPerspective().getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- return false;
- }
-
- function setFormLocationAndSubmit(tableContainerId, form, location) {
- if (isSomethingSelected(tableContainerId))
- setLocationAndSubmit(form, location);
- }
-
- function setLocationAndSubmit(form, location) {
- if (handleSubmit(form))
- {
- form.action = location;
- form.submit();
- }
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesPanes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesPanes.jsp
deleted file mode 100644
index 7ca588e60..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesPanes.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- var favNavigatorContainer = perspectiveContent.frames["<%=FavoritesFrameNames.NAVIGATOR_CONTAINER%>"];
- var favNavigatorToolbar = favNavigatorContainer.frames["<%=FavoritesFrameNames.NAVIGATOR_TOOLBAR%>"];
- var favNavigatorContent = favNavigatorContainer.frames["<%=FavoritesFrameNames.NAVIGATOR_CONTENT%>"];
- var favActionsContainer = perspectiveContent.frames["<%=FavoritesFrameNames.ACTIONS_CONTAINER%>"];
- var favPropertiesContainer = favActionsContainer.frames["<%=FavoritesFrameNames.PROPERTIES_CONTAINER%>"];
- var favPropertiesToolbar = favPropertiesContainer.frames["<%=FavoritesFrameNames.PROPERTIES_TOOLBAR%>"];
- var favPropertiesContent = favPropertiesContainer.frames["<%=FavoritesFrameNames.PROPERTIES_CONTENT%>"];
- var favStatusContainer = favActionsContainer.frames["<%=FavoritesFrameNames.STATUS_CONTAINER%>"];
- var favStatusToolbar = favStatusContainer.frames["<%=FavoritesFrameNames.STATUS_TOOLBAR%>"];
- var favStatusContent = favStatusContainer.frames["<%=FavoritesFrameNames.STATUS_CONTENT%>"];
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesTable.jsp
deleted file mode 100644
index e76ad2b22..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesTable.jsp
+++ /dev/null
@@ -1,62 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript">
-
- function favHandleCheckAllClick(tableContainerId, checkAllCheckbox) {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows; i<table.rows.length; i++) {
- var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0);
- var rowCheckbox = rowCheckboxCell.childNodes[0];
- rowCheckbox.checked = checkAllCheckbox.checked;
- if (rowCheckbox.checked) {
- highlightRow(table.rows[i],"rowcolor");
- rowCheckbox.name = "<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>";
- }
- else {
- highlightRow(table.rows[i],"tablecells");
- rowCheckbox.name = "";
- }
- }
- }
-
- function validateCheckBoxInput(checkbox, isChecked) {
- if (isChecked) {
- checkbox.name = "<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>";
- }
- else {
- checkbox.name = "";
- }
- handleRowCheckboxClick();
- }
-
- function twistInit(tableContainerId,twistImageName) {
- var tableContainer = document.getElementById(tableContainerId);
- var table = getTable(tableContainerId);
- if (table.rows.length > numberOfHeaderRows) {
- tableContainer.style.display = "none";
- twist(tableContainerId, twistImageName);
- }
- else {
- tableContainer.style.display = "";
- twist(tableContainerId, twistImageName);
- }
- }
-
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesframesets.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesframesets.jsp
deleted file mode 100644
index 4fbe09025..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesframesets.jsp
+++ /dev/null
@@ -1,32 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- function getActionsContainerFrameset()
- {
- return perspectiveContent.frames["<%=FavoritesFrameNames.ACTIONS_CONTAINER%>"].document.getElementsByTagName("frameset").item(0);
- }
-
- function processFramesetSizes(framesetSizesForm)
- {
- toggleDoubleClickColumnTitle();
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- framesetSizesForm.<%=FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>.value = perspectiveContentFrameset.cols;
- framesetSizesForm.<%=FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>.value = actionsContainerFrameset.rows;
- framesetSizesForm.submit();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIBusinessView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIBusinessView.jsp
deleted file mode 100644
index f2d170a75..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIBusinessView.jsp
+++ /dev/null
@@ -1,126 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Enumeration,
- java.util.Vector,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divFavoriteUDDIBusinessTable = "divFavoriteUDDIBusinessTable";
- String xdivFavoriteUDDIBusinessTable = "xdivFavoriteUDDIBusinessTable";
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_BUSINESS_LIST")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/>
- <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<%
- String titleImagePath = "wsil/images/list_business_highlighted.gif";
- String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_BUSINESS");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_BUSINESS_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof FavoritesUDDIBusinessFolderElement) {
- %>
- <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divFavoriteUDDIBusinessTable%>','<%=xdivFavoriteUDDIBusinessTable%>')"><img name="<%=xdivFavoriteUDDIBusinessTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_UDDI_BUSINESS")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divFavoriteUDDIBusinessTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIBusinessTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th>
- </tr>
- <%
- Enumeration e = ((FavoritesUDDIBusinessFolderElement)selectedElement).getAllFavorites();
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- e = sortedVector.elements();
- while (e.hasMoreElements()) {
- FavoritesUDDIBusinessElement favUDDIBusinessElement = (FavoritesUDDIBusinessElement)e.nextElement();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIBusinessElement).getNodeId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIBusinessElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIBusinessElement.getName()%></a></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divFavoriteUDDIBusinessTable%>','<%=xdivFavoriteUDDIBusinessTable%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIBusinessTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIBusinessTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIRegistryView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIRegistryView.jsp
deleted file mode 100644
index 9841b59af..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIRegistryView.jsp
+++ /dev/null
@@ -1,126 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Enumeration,
- java.util.Vector,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divFavoriteUDDIRegistryTable = "divFavoriteUDDIRegistryTable";
- String xdivFavoriteUDDIRegistryTable = "xdivFavoriteUDDIRegistryTable";
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_REGISTRY_LIST")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/>
- <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "favorites/images/list_registry_highlighted.gif";
- String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_REGISTRY");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_REGISTRY_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof FavoritesUDDIRegistryFolderElement) {
- %>
- <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>')"><img name="<%=xdivFavoriteUDDIRegistryTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_UDDI_REGISTRY")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divFavoriteUDDIRegistryTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIRegistryTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th>
- </tr>
- <%
- Enumeration e = ((FavoritesUDDIRegistryFolderElement)selectedElement).getAllFavorites();
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- e = sortedVector.elements();
- while (e.hasMoreElements()) {
- FavoritesUDDIRegistryElement favUDDIRegistryElement = (FavoritesUDDIRegistryElement)e.nextElement();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIRegistryElement).getNodeId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIRegistryElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIRegistryElement.getName()%></a></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIRegistryTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIRegistryTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceInterfaceView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceInterfaceView.jsp
deleted file mode 100644
index f73424b76..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceInterfaceView.jsp
+++ /dev/null
@@ -1,126 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Enumeration,
- java.util.Vector,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divFavoriteUDDIServiceIntTable = "divFavoriteUDDIServiceIntTable";
- String xdivFavoriteUDDIServiceIntTable = "xdivFavoriteUDDIServiceIntTable";
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_SERVICE_INTERFACE_LIST")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/>
- <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "favorites/images/list_service_interface_highlighted.gif";
- String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_SERVICE_INTERFACE");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_SERVICE_INTERFACE_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof FavoritesUDDIServiceInterfaceFolderElement) {
- %>
- <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divFavoriteUDDIServiceIntTable%>','<%=xdivFavoriteUDDIServiceIntTable%>')"><img name="<%=xdivFavoriteUDDIServiceIntTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_UDDI_SERVICE_INTERFACE")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divFavoriteUDDIServiceIntTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIServiceIntTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th>
- </tr>
- <%
- Enumeration e = ((FavoritesUDDIServiceInterfaceFolderElement)selectedElement).getAllFavorites();
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- e = sortedVector.elements();
- while (e.hasMoreElements()) {
- FavoritesUDDIServiceInterfaceElement favUDDISerIntElement = (FavoritesUDDIServiceInterfaceElement)e.nextElement();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDISerIntElement).getNodeId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDISerIntElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDISerIntElement.getName()%></a></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divFavoriteUDDIServiceIntTable%>','<%=xdivFavoriteUDDIServiceIntTable%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceIntTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceIntTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceView.jsp
deleted file mode 100644
index 54f53669b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceView.jsp
+++ /dev/null
@@ -1,126 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Enumeration,
- java.util.Vector,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divFavoriteUDDIServiceTable = "divFavoriteUDDIServiceTable";
- String xdivFavoriteUDDIServiceTable = "xdivFavoriteUDDIServiceTable";
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_SERVICE_LIST")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/>
- <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "wsil/images/list_UDDI_service_highlighted.gif";
- String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_SERVICE");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_SERVICE_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof FavoritesUDDIServiceFolderElement) {
- %>
- <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divFavoriteUDDIServiceTable%>','<%=xdivFavoriteUDDIServiceTable%>')"><img name="<%=xdivFavoriteUDDIServiceTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_UDDI_SERVICE")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divFavoriteUDDIServiceTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIServiceTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th>
- </tr>
- <%
- Enumeration e = ((FavoritesUDDIServiceFolderElement)selectedElement).getAllFavorites();
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- e = sortedVector.elements();
- while (e.hasMoreElements()) {
- FavoritesUDDIServiceElement favUDDIServiceElement = (FavoritesUDDIServiceElement)e.nextElement();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIServiceElement).getNodeId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIServiceElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIServiceElement.getName()%></a></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divFavoriteUDDIServiceTable%>','<%=xdivFavoriteUDDIServiceTable%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp
deleted file mode 100644
index 8da77a979..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp
+++ /dev/null
@@ -1,123 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Enumeration,
- java.util.Vector,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divFavoriteUDDIRegistryTable = "divFavoriteUDDIRegistryTable";
- String xdivFavoriteUDDIRegistryTable = "xdivFavoriteUDDIRegistryTable";
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favoritesPerspective.getMessage("VIEW_TITLE_USER_DEF_UDDI_REGISTRY_LIST")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/>
- <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "favorites/images/list_registry_highlighted.gif";
- String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_USER_DEF_UDDI_REGISTRY");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_USER_DEF_UDDI_REGISTRY_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof FavoritesUserDefUDDIRegistryFolderElement) {
- %>
- <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>')"><img name="<%=xdivFavoriteUDDIRegistryTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_USER_DEF_UDDI_REGISTRY")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divFavoriteUDDIRegistryTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIRegistryTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th>
- </tr>
- <%
- Enumeration e = ((FavoritesUserDefUDDIRegistryFolderElement)selectedElement).getAllFavorites();
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- e = sortedVector.elements();
- while (e.hasMoreElements()) {
- FavoritesUserDefUDDIRegistryElement favUDDIRegistryElement = (FavoritesUserDefUDDIRegistryElement)e.nextElement();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIRegistryElement).getNodeId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIRegistryElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIRegistryElement.getName()%></a></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIRegistryTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSDLServiceView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSDLServiceView.jsp
deleted file mode 100644
index fe51ac386..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSDLServiceView.jsp
+++ /dev/null
@@ -1,126 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Enumeration,
- java.util.Vector,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divFavoriteWSDLTable = "divFavoriteWSDLTable";
- String xdivFavoriteWSDLTable = "xdivFavoriteWSDLTable";
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favoritesPerspective.getMessage("VIEW_TITLE_WSDL_SERVICE_LIST")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/>
- <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "wsil/images/list_WSDL_service_highlighted.gif";
- String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_WSDL_SERVICE");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_WSDL_SERVICE_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof FavoritesWSDLServiceFolderElement) {
- %>
- <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divFavoriteWSDLTable%>','<%=xdivFavoriteWSDLTable%>')"><img name="<%=xdivFavoriteWSDLTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_WSDL")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divFavoriteWSDLTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteWSDLTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_URL")%></th>
- </tr>
- <%
- Enumeration e = ((FavoritesWSDLServiceFolderElement)selectedElement).getAllFavorites();
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- e = sortedVector.elements();
- while (e.hasMoreElements()) {
- FavoritesWSDLServiceElement favWSDLServiceElement = (FavoritesWSDLServiceElement)e.nextElement();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favWSDLServiceElement).getNodeId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favWSDLServiceElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favWSDLServiceElement.getWsdlUrl()%></a></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divFavoriteWSDLTable%>','<%=xdivFavoriteWSDLTable%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_WSDL_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSDLTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(FavoritesAddToWSDLPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSDLTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSILView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSILView.jsp
deleted file mode 100644
index 00451245a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSILView.jsp
+++ /dev/null
@@ -1,128 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Enumeration,
- java.util.Vector,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divFavoriteWSILTable = "divFavoriteWSILTable";
- String xdivFavoriteWSILTable = "xdivFavoriteWSILTable";
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager nodeManager = favoritesPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=favoritesPerspective.getMessage("VIEW_TITLE_WSIL_LIST")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/>
- <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "favorites/images/list_WSIL_highlighted.gif";
- String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_WSIL");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_WSIL_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof FavoritesWSILFolderElement) {
- %>
- <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divFavoriteWSILTable%>','<%=xdivFavoriteWSILTable%>')"><img name="<%=xdivFavoriteWSILTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_WSIL")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divFavoriteWSILTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteWSILTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_URL")%></th>
- </tr>
- <%
- FavoritesWSILFolderElement favWSILFolderElement = (FavoritesWSILFolderElement)selectedElement;
- Enumeration e = favWSILFolderElement.getAllFavorites();
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- e = sortedVector.elements();
- while (e.hasMoreElements()) {
- FavoritesWSILElement favWSILElement = (FavoritesWSILElement)e.nextElement();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favWSILElement).getNodeId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favWSILElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favWSILElement.getWsilUrl()%></a></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divFavoriteWSILTable%>','<%=xdivFavoriteWSILTable%>');
- </script>
-
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_WSIL_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSILTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddWSILToWSILPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom" nowrap>
- <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSILTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
- %>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportToWorkbenchForm.jsp
deleted file mode 100644
index af360b683..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportToWorkbenchForm.jsp
+++ /dev/null
@@ -1,103 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.core.resources.*,
- org.eclipse.core.runtime.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FORM_TITLE_IMPORT_TO_WORKBENCH")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <form action="<%=response.encodeURL(controller.getPathWithContext((String)formProperties.get("formActionLink")))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
- <input type="hidden" name="<%=ActionInputs.IMPORT_FILE%>" value="<%=ActionInputs.IMPORT_FILE%>">
-
- <%
- String titleImagePath = "images/import_to_workbench_highlighted.gif";
- String title = controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td>
- <%=controller.getMessage("FORM_LABEL_IMPORT_TO_WORKBENCH_DESC")%>
- </td>
- </tr>
- </table>
- <table>
- <tr>
- <td class="labels" height=40 valign="center">
- <label for="select_workbench_project_name"><%=controller.getMessage("WORKBENCH_PROJECT_NAME")%></label>
- </td>
- <td class="labels" height=40 valign="center" nowrap>
- <%
- IWorkspaceRoot iWorkspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
- IProject[] projects = iWorkspaceRoot.getProjects();
- %>
- <select id="select_workbench_project_name" name="<%=ActionInputs.WORKBENCH_PROJECT_NAME%>" class="selectlist">
- <%
- for (int i = 0; i < projects.length; i++) {
- try {
- if (!projects[i].isOpen()) continue;
- String projectName = projects[i].getName();
- %>
- <option value="<%=projectName%>"><%=projectName%>
- <%
- }
- catch (Exception e) {}
- }
- %>
- </select>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <label for="input_imported_file_name"><%=controller.getMessage("IMPORTED_WSDL_FILE_NAME")%></label>
- </td>
- </tr>
- <tr>
- <td height=10 valign="bottom" width="60%">
-<%
- String wsdlFileName="temp.wsdl";
- String wsdlURL = (String)formProperties.get("wsdlURL");
- if (wsdlURL != null && wsdlURL.endsWith(".wsdl"))
- {
- int lastSeparatorPos = Math.max(wsdlURL.lastIndexOf("/"),wsdlURL.lastIndexOf("\\"));
- if (lastSeparatorPos > 0)
- wsdlFileName = wsdlURL.substring(lastSeparatorPos+1,wsdlURL.length());
- }
-%>
- <input type="text" id="input_imported_file_name" name="<%=ActionInputs.IMPORTED_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsdlFileName)%>" size=50 class="textenter">
- </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportWSDLAndWSILToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportWSDLAndWSILToWorkbenchForm.jsp
deleted file mode 100644
index 8387e4286..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportWSDLAndWSILToWorkbenchForm.jsp
+++ /dev/null
@@ -1,160 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.core.resources.*,
- org.eclipse.core.runtime.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request"/>
-<script language="javascript">
- function toggleDivContainer(divId)
- {
- var divContainer = document.getElementById(divId);
- if (divContainer.style.display == "none")
- divContainer.style.display = "";
- else
- divContainer.style.display = "none";
- }
-</script>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FORM_TITLE_IMPORT_TO_WORKBENCH")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
- <jsp:include page="/scripts/formutils.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-
- <form action="<%=response.encodeURL(controller.getPathWithContext((String)formProperties.get("formActionLink")))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
-
- <%
- String titleImagePath = "images/import_to_workbench_highlighted.gif";
- String title = controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td>
- <%=controller.getMessage("FORM_LABEL_IMPORT_TO_WORKBENCH_DESC")%>
- </td>
- </tr>
- </table>
- <table>
- <tr>
- <td class="labels" height=40 valign="center">
- <label for="select_workbench_project_name"><%=controller.getMessage("WORKBENCH_PROJECT_NAME")%></label>
- </td>
- <td class="labels" height=40 valign="center" nowrap>
- <%
- IWorkspaceRoot iWorkspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
- IProject[] projects = iWorkspaceRoot.getProjects();
- %>
- <select id="select_workbench_project_name" name="<%=ActionInputs.WORKBENCH_PROJECT_NAME%>" class="selectlist">
- <%
- for (int i = 0; i < projects.length; i++) {
- try {
- if (!projects[i].isOpen())
- continue;
- String projectName = projects[i].getName();
- %>
- <option value="<%=projectName%>"><%=projectName%>
- <%
- }
- catch (Exception e) {}
- }
- %>
- </select>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <input type="checkbox" checked id="input_import_wsdl" name="<%=ActionInputs.IMPORT_FILE%>" value="<%=ActionInputs.IMPORT_FILE%>" onClick="toggleDivContainer('div_import_wsdl')">
- <label for="input_import_wsdl"><%=controller.getMessage("LABEL_IMPORT_WSDL")%></label>
- </td>
- </tr>
- </table>
- <div id="div_import_wsdl">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <label for="input_imported_wsdl_file_name"><%=controller.getMessage("IMPORTED_WSDL_FILE_NAME")%></label>
- </td>
- </tr>
- <tr>
- <td height=10 valign="bottom" width="60%">
-<%
- String wsdlFileName="temp.wsdl";
- String wsdlURL = (String)formProperties.get("wsdlURL");
- if (wsdlURL != null && wsdlURL.endsWith(".wsdl"))
- {
- int lastSeparatorPos = Math.max(wsdlURL.lastIndexOf("/"),wsdlURL.lastIndexOf("\\"));
- if (lastSeparatorPos > 0)
- wsdlFileName = wsdlURL.substring(lastSeparatorPos+1,wsdlURL.length());
- }
-%>
- <input type="text" id="input_imported_wsdl_file_name" name="<%=ActionInputs.IMPORTED_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsdlFileName)%>" size=50 class="textenter">
- </td>
- </tr>
- </table>
- </div>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">&nbsp;</td>
- </tr>
- </table>
-
- <input type="hidden" name="<%=ActionInputs.IMPORTED_WSDL_URL%>" value="<%=wsdlURL%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <input type="checkbox" id="input_import_wsil" name="<%=ActionInputs.IMPORT_TO_WSIL%>" value="<%=ActionInputs.IMPORT_TO_WSIL%>" onClick="toggleDivContainer('div_import_wsil')">
- <label for="input_import_wsil"><%=controller.getMessage("LABEL_IMPORT_TO_WSIL")%></label>
- </td>
- </tr>
- </table>
- <div id="div_import_wsil" style="display:none;">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <label for="input_imported_wsil_file_name"><%=controller.getMessage("WSIL_FILE_NAME")%></label>
- </td>
- </tr>
- <tr>
- <td height=10 valign="bottom" width="60%">
-<%
- String wsilFileName = (String)formProperties.get("wsilFileName");
- if (wsilFileName == null || wsilFileName.length() <= 0)
- wsilFileName = wsdlFileName.substring(0, wsdlFileName.length()-4) + "wsil";
-%>
- <input type="text" id="input_imported_wsil_file_name" name="<%=ActionInputs.WSIL_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilFileName)%>" size=50 class="textenter">
- </td>
- </tr>
- </table>
- </div>
-
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/LaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/LaunchWebServiceWizardForm.jsp
deleted file mode 100644
index 704131819..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/LaunchWebServiceWizardForm.jsp
+++ /dev/null
@@ -1,57 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="formActionLink" class="java.lang.StringBuffer" scope="request"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FORM_TITLE_LAUNCH_WEBSERVICE_WIZARD")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(formActionLink.toString()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
-
-<%
- String titleImagePath = "images/launch_wswizard_highlighted.gif";
- String title = controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD");
-%>
-<%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels" height=20 valign="bottom">
- <%=controller.getMessage("FORM_LABEL_CHOOSE_WIZARD")%>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_ws_client_wizard" class="radio" name="<%=ActionInputs.WEB_SERVICE_WIZARD%>" checked=true value="<%=String.valueOf(ActionInputs.WEB_SERVICE_CLIENT_WIZARD)%>"><label for="radio_ws_client_wizard"><%=controller.getMessage("FORM_RADIO_WEB_SERVICE_CLIENT_WIZARD")%></label>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_ws_skeleton_wizard" class="radio" name="<%=ActionInputs.WEB_SERVICE_WIZARD%>" value="<%=String.valueOf(ActionInputs.WEB_SERVICE_SKELETON_WIZARD)%>"><label for="radio_ws_skeleton_wizard"><%=controller.getMessage("FORM_RADIO_WEB_SERVICE_SKELETON_WIZARD")%></label>
- </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadContent.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadContent.jsp
deleted file mode 100644
index 918e5703f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadContent.jsp
+++ /dev/null
@@ -1,73 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- Controller controller;
- StringBuffer targetContentLink = new StringBuffer(request.getParameter(ActionInputs.TARGET_PAGE));
- if (sessionId != null)
- {
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- controller = (Controller)currentSession.getAttribute("controller");
- if (targetContentLink.toString().indexOf("?") != -1)
- targetContentLink.append('&');
- else
- targetContentLink.append('?');
- targetContentLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- }
- else
- controller = (Controller)session.getAttribute("controller");
-
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FORM_TITLE_PAGE_LOADER")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript">
- function loadContent()
- {
- var frameset = parent.document.getElementById("proxyPage");
- var contentFrame = frameset.getElementsByTagName("frame").item(1);
- contentFrame.src = "<%=response.encodeURL(controller.getPathWithContext(targetContentLink.toString()))%>";
- }
-
- function handleCompletion()
- {
- var table = document.getElementsByTagName("table").item(0);
- var tBody = table.getElementsByTagName("TBODY").item(0);
- var doneRow = document.createElement("tr");
- var doneColumn = document.createElement("td");
- doneColumn.appendChild(document.createTextNode("Page loaded."));
- doneRow.appendChild(doneColumn);
- tBody.appendChild(doneRow);
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
- <div id="contentborder">
- <table>
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- </div>
-<script language="javascript">
- loadContent();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadPage.jsp
deleted file mode 100644
index a62462e0d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadPage.jsp
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils,
- java.util.*,
- java.net.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- Controller controller;
- StringBuffer loadContentLink = new StringBuffer("forms/ProxyLoadContent.jsp?");
- if (sessionId != null)
- {
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- controller = (Controller)currentSession.getAttribute("controller");
- loadContentLink.append(ActionInputs.SESSIONID).append('=').append(sessionId).append('&');
- }
- else
- controller = (Controller)session.getAttribute("controller");
- loadContentLink.append(ActionInputs.TARGET_PAGE).append('=').append(URLUtils.encode(request.getParameter(ActionInputs.TARGET_PAGE)));
-%>
-<frameset id="proxyPage" rows="100%,*" border=0>
- <frame src="<%=controller.getPathWithContext(loadContentLink.toString())%>" title="<%=controller.getMessage("FORM_TITLE_PAGE_LOADER")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=0 noresize>
- <frame title="<%=controller.getMessage("FORM_TITLE_PAGE_CONTENT")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=0 noresize>
-</frameset>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/copyright.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/copyright.inc
deleted file mode 100644
index a7fdcef6e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/copyright.inc
+++ /dev/null
@@ -1,12 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%> \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/formheader.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/formheader.inc
deleted file mode 100644
index 0d1c98f04..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/formheader.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <img src="<%=response.encodeURL(controller.getPathWithContext(titleImagePath))%>" alt="">
- <strong><%=title%></strong>
- </td>
- </tr>
- <tr>
- <td height=20> <img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"> </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/otherActions.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/otherActions.jsp
deleted file mode 100644
index 944e3ffda..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/otherActions.jsp
+++ /dev/null
@@ -1,55 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"/>
-<%
- ToolManager currentToolManager = (ToolManager)currentToolManagerHash.get(ActionInputs.CURRENT_TOOL_MANAGER);
- int numberOfTools = currentToolManager.getNumberOfTools();
- if (numberOfTools > 1)
- {
-%>
-<table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
-</table>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <strong><%=controller.getMessage("ALT_OTHER_ACTIONS")%></strong>
- </td>
- </tr>
- <tr>
- <td height=20> <img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"> </td>
- </tr>
-</table>
-<table>
-<%
- for (int i=1;i<numberOfTools;i++)
- {
- Tool t = currentToolManager.getTool(i);
-%>
- <tr>
- <td><a href="<%=response.encodeURL(controller.getPathWithContext(t.getSelectToolActionHref(false)))%>" target="<%=t.getSelectToolActionTarget()%>"><%=t.getAltText()%></a></td>
- </tr>
-<%
- }
-%>
-</table>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/simpleCommon_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/simpleCommon_table.jsp
deleted file mode 100644
index 6dfe8a8d4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/simpleCommon_table.jsp
+++ /dev/null
@@ -1,26 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=30 valign="bottom" align="left" nowrap>
- <input type="submit" value="<%=controller.getMessage("FORM_BUTTON_GO")%>" class="button">
- </td>
- <td height=30 valign="bottom" align="left" nowrap>
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_RESET")%>" onClick="resetFormInputs()" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/actions.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/actions.gif
deleted file mode 100644
index d5aed7aa0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/actions.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_enabled.gif
deleted file mode 100644
index 55ce561af..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_highlighted.gif
deleted file mode 100644
index 8ead667de..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/add_to_wsdl_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_enabled.gif
deleted file mode 100644
index 1a46673a1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_highlighted.gif
deleted file mode 100644
index 4fb415010..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/back_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/calendar.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/calendar.gif
deleted file mode 100644
index be2817bf1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/calendar.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_enabled.gif
deleted file mode 100644
index 5798483df..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_highlighted.gif
deleted file mode 100644
index 6bc10f9d0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/clear_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_enabled.gif
deleted file mode 100644
index 333327302..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_highlighted.gif
deleted file mode 100644
index 98a2ba04e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/details_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_play.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_play.gif
deleted file mode 100644
index eb17c1103..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_play.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_record.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_record.gif
deleted file mode 100644
index 03004f54e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_record.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_save.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_save.gif
deleted file mode 100644
index fe0048bed..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_save.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_stop.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_stop.gif
deleted file mode 100644
index 3aee9aa1b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/dlcl16/actionengine_stop.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_play.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_play.gif
deleted file mode 100644
index b88fb72d5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_play.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_record.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_record.gif
deleted file mode 100644
index 26ccfe22c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_record.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_save.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_save.gif
deleted file mode 100644
index c6e7b9d6a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_save.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_stop.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_stop.gif
deleted file mode 100644
index 0dc366d0e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/elcl16/actionengine_stop.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/actionengine.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/actionengine.gif
deleted file mode 100644
index bf64bc22f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/eview16/actionengine.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_enabled.gif
deleted file mode 100644
index acb026872..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_highlighted.gif
deleted file mode 100644
index fa6221852..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_enabled.gif
deleted file mode 100644
index 39004bf62..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_highlighted.gif
deleted file mode 100644
index 1965b847b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/favorites_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_closed.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_closed.gif
deleted file mode 100644
index 42e027c93..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_closed.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_open.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_open.gif
deleted file mode 100644
index 21322e0aa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/folder_open.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_enabled.gif
deleted file mode 100644
index 4231431ef..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_highlighted.gif
deleted file mode 100644
index e2f8c3e1f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/forward_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_enabled.gif
deleted file mode 100644
index a70c7a7c4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_highlighted.gif
deleted file mode 100644
index 946d3e71b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_fs_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_enabled.gif
deleted file mode 100644
index b64a07d3a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_highlighted.gif
deleted file mode 100644
index d38085ad9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/import_to_workbench_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/keyline.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/keyline.gif
deleted file mode 100644
index de8069e64..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/keyline.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_enabled.gif
deleted file mode 100644
index d258dc5c2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_highlighted.gif
deleted file mode 100644
index 5f097d561..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/launch_wswizard_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line.gif
deleted file mode 100644
index 881e5b7f9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_last.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_last.gif
deleted file mode 100644
index 8f0ef83e0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_last.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_notlast.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_notlast.gif
deleted file mode 100644
index 8292ce2df..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/line_notlast.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_last.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_last.gif
deleted file mode 100644
index 19ebb73bd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_last.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_notlast.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_notlast.gif
deleted file mode 100644
index cd6431bf9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/minus_notlast.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/navigator.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/navigator.gif
deleted file mode 100644
index 88c056795..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/navigator.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_last.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_last.gif
deleted file mode 100644
index e00c89a0b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_last.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_notlast.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_notlast.gif
deleted file mode 100644
index 257bd1653..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/plus_notlast.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_enabled.gif
deleted file mode 100644
index 5bd5d19de..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_highlighted.gif
deleted file mode 100644
index 42904295e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/refresh_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/root_main.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/root_main.gif
deleted file mode 100644
index 27ade02c4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/root_main.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/space.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/space.gif
deleted file mode 100644
index 481191560..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/space.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/status.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/status.gif
deleted file mode 100644
index 2da001e3e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/status.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_enabled.gif
deleted file mode 100644
index 7b5bc9d04..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_highlighted.gif
deleted file mode 100644
index 07164754e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/top_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistclosed.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistclosed.gif
deleted file mode 100644
index 264331e46..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistclosed.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistopened.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistopened.gif
deleted file mode 100644
index 4c2c5f2fb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/twistopened.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_enabled.gif
deleted file mode 100644
index 9acab3dba..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_highlighted.gif
deleted file mode 100644
index 7cfc0af65..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/uddi_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl.gif
deleted file mode 100644
index 8fb844f5b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_enabled.gif
deleted file mode 100644
index 932acfed6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_highlighted.gif
deleted file mode 100644
index ae8efc903..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsdl_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_enabled.gif
deleted file mode 100644
index 7af88fcb0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_highlighted.gif
deleted file mode 100644
index 23b35a615..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/images/wsil_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/launch_options_registry.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/launch_options_registry.jsp
deleted file mode 100644
index 96456b024..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/launch_options_registry.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060515 128602 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.WSExplorerContext,
- java.util.Enumeration,
- java.util.Hashtable,
- org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils" %>
-
-<%
- request.setCharacterEncoding("UTF-8");
- String key = null;
- Hashtable options = new Hashtable();
- Enumeration paramNames = request.getParameterNames();
- while (paramNames.hasMoreElements())
- {
- String paramName = (String)paramNames.nextElement();
- String[] paramValues = request.getParameterValues(paramName);
- if (paramValues != null && paramValues.length > 0)
- {
- if (key == null && URLUtils.decode(paramName).equals(WSExplorerContext.ID))
- key = paramValues[0];
- else
- options.put(paramName, paramValues);
- }
- }
- if (key != null)
- {
- LaunchOptionsManager manager = LaunchOptionsManager.getInstance();
- manager.manage(key, options, application);
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_content.jsp
deleted file mode 100644
index 41f07ec28..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_content.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FRAME_TITLE_PERSPECTIVE_CONTENT")%></title>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- perspectiveWorkArea.location="<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(controller.getCurrentPerspective().getPerspectiveId(),false)))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_toolbar.jsp
deleted file mode 100644
index 95dc0d38a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/perspective_toolbar.jsp
+++ /dev/null
@@ -1,77 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.engine.ActionEngine" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-StringBuffer hrefActionEngine = new StringBuffer();
-hrefActionEngine.append(response.encodeURL(controller.getPathWithContext("actionengine_container.jsp")));
-hrefActionEngine.append("?");
-hrefActionEngine.append(ActionInputs.SESSIONID);
-hrefActionEngine.append("=");
-hrefActionEngine.append(session.getId());
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FRAME_TITLE_PERSPECTIVE_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
- </script>
- <script language="javascript">
- function openActionEngineContainer()
- {
- var link = "<%=hrefActionEngine.toString()%>";
- var actionEngineContainer = window.open(link,"actionEngineContainer","height=100,width=350,status=yes,scrollbars=yes,resizable=yes");
- if (actionEngineContainer.focus)
- actionEngineContainer.focus();
- }
- </script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="gtoolbarbodymargin">
-<div id="globaltoolbar">
-<table width="100%" cellpadding=3 cellspacing=0 border=0>
- <tr>
- <td class="text" nowrap valign="middle" align="left" width="100%" height=25><%=controller.getMessage("TITLE_WSEXPLORER")%></td>
- <%
- String altHistoryBack = controller.getMessage("ALT_BACK");
- String altHistoryForward = controller.getMessage("ALT_FORWARD");
- String altActionEngine = controller.getMessage("ALT_ACTION_ENGINE");
- String altUDDI = controller.getMessage("ALT_UDDI_PERSPECTIVE");
- String altWSIL = controller.getMessage("ALT_WSIL_PERSPECTIVE");
- String altWSDL = controller.getMessage("ALT_WSDL_PERSPECTIVE");
- String altFavorites = controller.getMessage("ALT_FAVORITES_PERSPECTIVE");
- %>
- <td class="text" nowrap valign="middle" align="center" width=16 height=26><a href="<%=response.encodeURL(controller.getPathWithContext(RetrieveHistoryAction.getActionLink(ActionInputs.JUMP_BACK)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" alt="<%=altHistoryBack%>" title="<%=altHistoryBack%>" src="<%=response.encodeURL(controller.getPathWithContext("images/back_enabled.gif"))%>" onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/back_highlighted.gif"))%>';mouseover(this);" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/back_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/back_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/back_enabled.gif"))%>';mouseup(this)"></a></td>
- <td class="text" nowrap valign="middle" align="left" height=25><a href="<%=response.encodeURL(controller.getPathWithContext(RetrieveHistoryAction.getActionLink(ActionInputs.JUMP_FORWARD)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" alt="<%=altHistoryForward%>" title="<%=altHistoryForward%>" src="<%=response.encodeURL(controller.getPathWithContext("images/forward_enabled.gif"))%>" onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/forward_highlighted.gif"))%>';mouseover(this);" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/forward_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/forward_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/forward_enabled.gif"))%>';mouseup(this)"></a></td>
- <%
- ActionEngine actionEngine = controller.getActionEngine();
- if (actionEngine != null && actionEngine.getMode() != ActionEngine.MODE_DISABLED)
- {
- %>
- <td class="text" nowrap valign="middle" align="left" height=25><a href="javascript:openActionEngineContainer()"><img class="normal" alt="<%=altActionEngine%>" title="<%=altActionEngine%>" src="<%=response.encodeURL(controller.getPathWithContext("images/eview16/actionengine.gif"))%>" onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/eview16/actionengine.gif"))%>';mouseover(this);" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/eview16/actionengine.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/eview16/actionengine.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/eview16/actionengine.gif"))%>';mouseup(this)"></a></td>
- <%
- }
- %>
- <td class="text" nowrap valign="middle" align="left" height=25><a href="<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_UDDI,false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" alt="<%=altUDDI%>" title="<%=altUDDI%>" src="<%=response.encodeURL(controller.getPathWithContext("images/uddi_perspective_enabled.gif"))%>" onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/uddi_perspective_highlighted.gif"))%>';mouseover(this);" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/uddi_perspective_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/uddi_perspective_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/uddi_perspective_enabled.gif"))%>';mouseup(this)"></a></td>
- <td class="text" nowrap valign="middle" align="left" height=25><a href="<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_WSIL,false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" alt="<%=altWSIL%>" title="<%=altWSIL%>" src="<%=response.encodeURL(controller.getPathWithContext("images/wsil_perspective_enabled.gif"))%>" onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/wsil_perspective_highlighted.gif"))%>';mouseover(this);" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/wsil_perspective_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/wsil_perspective_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/wsil_perspective_enabled.gif"))%>';mouseup(this)"></a></td>
- <td class="text" nowrap valign="middle" align="left" height=25><a href="<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_WSDL,false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" alt="<%=altWSDL%>" title="<%=altWSDL%>" src="<%=response.encodeURL(controller.getPathWithContext("images/wsdl_perspective_enabled.gif"))%>" onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/wsdl_perspective_highlighted.gif"))%>';mouseover(this);" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/wsdl_perspective_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/wsdl_perspective_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/wsdl_perspective_enabled.gif"))%>';mouseup(this)"></a></td>
- <td class="text" nowrap valign="middle" align="left" height=25><a href="<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_FAVORITES,false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" alt="<%=altFavorites%>" title="<%=altFavorites%>" src="<%=response.encodeURL(controller.getPathWithContext("images/favorites_perspective_enabled.gif"))%>" onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/favorites_perspective_highlighted.gif"))%>';mouseover(this);" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/favorites_perspective_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/favorites_perspective_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/favorites_perspective_enabled.gif"))%>';mouseup(this)"></a></td>
- </tr>
-</table>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/browserdetect.js b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/browserdetect.js
deleted file mode 100644
index 6b8135867..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/browserdetect.js
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Copyright (c) 2002, 2004 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
-//
-
-function isMicrosoftInternetExplorer()
-{
- return navigator.appName == "Microsoft Internet Explorer";
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/calendarbrowser.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/calendarbrowser.jsp
deleted file mode 100644
index 79b9ca265..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/calendarbrowser.jsp
+++ /dev/null
@@ -1,69 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String sessionId = session.getId();
-%>
-<script language="javascript">
- var calendarBrowser;
- var calendarBrowserClosed = true;
- var calendarTargetRow = -1;
- var calendarTarget;
-
- function openCalendarBrowser(type,formContainerId,elementName,index)
- {
- var form = document.getElementById(formContainerId).getElementsByTagName("form").item(0);
- var elements = form.elements[elementName];
- if (index == 0 && elements.length == undefined)
-<%
- // Only one element.
-%>
- calendarTarget = elements;
- else
- {
- calendarTargetRow = index;
- calendarTarget = elements.item(index);
- }
- var link;
- switch (type)
- {
- case <%=ActionInputs.CALENDAR_TYPE_DATE%>:
- link = "<%=response.encodeURL(controller.getPathWithContext(OpenCalendarBrowserAction.getActionLinkForDate(sessionId)))%>";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_DATETIME%>:
- link = "<%=response.encodeURL(controller.getPathWithContext(OpenCalendarBrowserAction.getActionLinkForDateTime(sessionId)))%>";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_GYEARMONTH%>:
- link = "<%=response.encodeURL(controller.getPathWithContext(OpenCalendarBrowserAction.getActionLinkForGYearMonth(sessionId)))%>";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_GDAY%>:
- link = "<%=response.encodeURL(controller.getPathWithContext(OpenCalendarBrowserAction.getActionLinkForGDay(sessionId)))%>";
- break;
- case <%=ActionInputs.CALENDAR_TYPE_GMONTHDAY%>:
- link = "<%=response.encodeURL(controller.getPathWithContext(OpenCalendarBrowserAction.getActionLinkForGMonthDay(sessionId)))%>";
- break;
- }
- calendarBrowser = window.open(link,"calendarBrowser","height=350,width=264,status=yes,scrollbars=yes,resizable=yes");
- if (calendarBrowser.focus)
- calendarBrowser.focus();
- }
-
- function closeCalendarBrowser()
- {
- if (!calendarBrowserClosed)
- calendarBrowser.close();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formsubmit.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formsubmit.jsp
deleted file mode 100644
index 3b3b4f36a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formsubmit.jsp
+++ /dev/null
@@ -1,34 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<script language="javascript">
- var requestSubmitted = false;
-
- function handleSubmit(form)
- {
- if (requestSubmitted)
- {
- alert("<%=HTMLUtils.JSMangle(controller.getMessage("MSG_SUBMIT_IN_PROGRESS"))%>");
- return false;
- }
- requestSubmitted = true;
- return true;
- }
-
- function resetSubmission()
- {
- requestSubmitted = false;
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formutils.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formutils.jsp
deleted file mode 100644
index 2dec80569..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/formutils.jsp
+++ /dev/null
@@ -1,41 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<script language="javascript">
- <%// Requires browserdetect.js%>
- function createHiddenElement(elementName,value)
- {
- var hiddenInput;
- if (elementName.length > 0)
- {
- if (isMicrosoftInternetExplorer())
- hiddenInput = document.createElement("<input name='"+elementName+"'>");
- else
- {
- hiddenInput = document.createElement("input");
- hiddenInput.setAttribute("name",elementName);
- }
- }
- else
- hiddenInput = document.createElement("input");
- hiddenInput.type = "hidden";
- hiddenInput.value = value;
- return hiddenInput;
- }
-
- function resetFormInputs()
- {
- document.location.reload();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/panes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/panes.jsp
deleted file mode 100644
index aa69c2ca7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/panes.jsp
+++ /dev/null
@@ -1,39 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<script language="javascript">
- var perspectiveWorkArea = top.frames["<%=FrameNames.PERSPECTIVE_WORKAREA%>"];
- var perspectiveToolbar = top.frames["<%=FrameNames.PERSPECTIVE_TOOLBAR%>"];
- var perspectiveContent = top.frames["<%=FrameNames.PERSPECTIVE_CONTENT%>"];
-
- function getPerspectiveContentFrameset()
- {
- return perspectiveContent.document.getElementsByTagName("frameset").item(0);
- }
-
- function toggleDoubleClickColumnTitle()
- {
- var doubleClickColumn = document.getElementById("doubleclickcolumn");
- if (doubleClickColumn == null)
- return;
-<%
- String jsAltRestore = HTMLUtils.JSMangle(controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE"));
-%>
- if (doubleClickColumn.title == "<%=jsAltRestore%>")
- doubleClickColumn.title = "<%=HTMLUtils.JSMangle(controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE"))%>";
- else
- doubleClickColumn.title = "<%=jsAltRestore%>";
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/resumeproxyloadpage.js b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/resumeproxyloadpage.js
deleted file mode 100644
index d5e1549fa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/resumeproxyloadpage.js
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright (c) 2002, 2004 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
-//
-
-function resumeProxyLoadPage()
-{
- var proxyPage = parent.document.getElementById("proxyPage");
- proxyPage.setAttribute("rows", "0,100%");
- parent.frames[0].handleCompletion();
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/switchperspective.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/switchperspective.jsp
deleted file mode 100644
index 2a0fc3814..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/switchperspective.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext(controller.getCurrentPerspective().getPerspectiveContentPage()))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/tables.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/tables.jsp
deleted file mode 100644
index 99a24eefe..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/tables.jsp
+++ /dev/null
@@ -1,159 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<script language="javascript">
- var numberOfHeaderRows = 1;
- function getTable(tableContainerId)
- {
- var container = document.getElementById(tableContainerId);
- return container.getElementsByTagName("table").item(0);
- }
-
- function setSelect(select,value)
- {
- for (var i=0;i<select.options.length;i++)
- {
- if (select.options[i].value == value)
- {
- select.selectedIndex = i;
- return select.options[i].text;
- }
- }
- }
-
- function removeSelectedRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- {
- table.deleteRow(i);
- i--;
- }
- }
- var checkAllCheckboxRow = table.rows[0];
- var checkAllCheckbox = checkAllCheckboxRow.getElementsByTagName("input").item(0);
- if (checkAllCheckbox.checked)
- checkAllCheckbox.checked = false;
- }
-
- function handleRowCheckboxClick(e)
- {
- var checkbox;
- if (isMicrosoftInternetExplorer())
- checkbox = event.srcElement;
- else
- checkbox = e.target;
- var cell = checkbox.parentNode;
- var row = cell.parentNode;
- if (checkbox.checked)
- highlightRow(row,"rowcolor");
- else
- highlightRow(row,"tablecells");
-
- var tbody = row.parentNode;
- var table = tbody.parentNode;
- var checkAllCheckbox = table.rows[0].getElementsByTagName("input").item(0);
- if (checkAllCheckbox.checked)
- checkAllCheckbox.checked = false;
- }
-
- function createRowCheckbox()
- {
- var rowCheckbox = document.createElement("input");
- rowCheckbox.setAttribute("name",rowCheckboxName);
- rowCheckbox.type = "checkbox";
- rowCheckbox.title = "<%=HTMLUtils.JSMangle(controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX"))%>";
- rowCheckbox.onclick = handleRowCheckboxClick;
- return rowCheckbox;
- }
-
- function handleCheckAllClick(tableContainerId,checkAllCheckbox)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0);
- var rowCheckbox = rowCheckboxCell.childNodes[0];
- rowCheckbox.checked = checkAllCheckbox.checked;
- if (rowCheckbox.checked)
- highlightRow(table.rows[i],"rowcolor");
- else
- highlightRow(table.rows[i],"tablecells");
- }
- }
-
- function highlightRow(row,className)
- {
- var rowColumns = row.getElementsByTagName("td");
- for (var i=1;i<rowColumns.length;i++)
- rowColumns.item(i).className = className;
- }
-
- function highlightErrantRow(row,className)
- {
- var rowColumns = row.getElementsByTagName("td");
- var column0 = rowColumns.item(0);
- var column0Control = column0.childNodes[0];
- var start;
- if (column0Control.type == "checkbox")
- {
- column0Control.checked = true;
- rowColumns.item(1).className = "firstcolumnerrantrowcolor";
- start = 2;
- }
- else
- {
- column0.className = "firstcolumnerrantrowcolor";
- start = 1;
- }
- rowColumns.item(rowColumns.length-1).className = "lastcolumnerrantrowcolor";
- for (var i=start;i<rowColumns.length-1;i++)
- rowColumns.item(i).className = "middleerrantrowcolor";
- }
-
- function twist(tableContainerId,twistImageName)
- {
- var tableContainer = document.getElementById(tableContainerId);
- var twistImage = document.images[twistImageName];
- if (tableContainer.style.display == "none")
- {
- tableContainer.style.display = "";
- twistImage.src = "<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>";
- twistImage.alt = "<%=HTMLUtils.JSMangle(controller.getMessage("ALT_TWIST_OPENED"))%>";
- }
- else
- {
- tableContainer.style.display = "none";
- twistImage.src = "<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>";
- twistImage.alt = "<%=HTMLUtils.JSMangle(controller.getMessage("ALT_TWIST_CLOSED"))%>";
- }
- }
-
- function twistOpen(tableContainerId)
- {
- if (document.getElementById(tableContainerId).style.display == "none")
- twist(tableContainerId,"x"+tableContainerId);
- }
-
- function getDefaultDisplayString(inputValue)
- {
- if (inputValue == null || inputValue.length < 1)
- return "<%=HTMLUtils.JSMangle(controller.getMessage("TABLE_BLANK_PLACEHOLDER"))%>";
- return inputValue;
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/toolbar.js b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/toolbar.js
deleted file mode 100644
index bab1b2dbb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/toolbar.js
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// Copyright (c) 2002, 2004 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
-//
-
-function mouseover(img)
-{
- img.className = "hover";
-}
-
-function mouseout(img)
-{
- img.className = "normal";
-}
-
-function mousedown(img)
-{
- img.className = "down";
-}
-
-function mouseup(img)
-{
- return mouseout(img);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/treeview.js b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/treeview.js
deleted file mode 100644
index 0e843fb42..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/treeview.js
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Copyright (c) 2002, 2004 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
-//
-
-// Requires browserdetect.js
-
-var selectedAnchorName = "";
-
-function setSelectedAnchorName(anchorName)
-{
- selectedAnchorName = anchorName;
-}
-
-function selectNode(anchorName,openImagePath)
-{
- var isIE = isMicrosoftInternetExplorer();
- if (selectedAnchorName.length > 0)
- {
- var selectedAnchor;
- if (isIE)
- selectedAnchor = document.anchors(selectedAnchorName);
- else
- selectedAnchor = document.anchors[selectedAnchorName];
- if (selectedAnchor)
- selectedAnchor.className = "unselectedTextAnchor";
- }
- if (anchorName.indexOf("-1") == -1)
- {
- if (isIE)
- document.anchors(anchorName).className = "selectedTextAnchor";
- else
- document.anchors[anchorName].className = "selectedTextAnchor";
- setSelectedAnchorName(anchorName);
- alterImage(anchorName,openImagePath);
- }
- else
- setSelectedAnchorName("");
-}
-
-function alterImage(imageName,imagePath)
-{
- document.images[imageName].src = imagePath;
-}
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/wsdlbrowser.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/wsdlbrowser.jsp
deleted file mode 100644
index 4e45a7fbd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/scripts/wsdlbrowser.jsp
+++ /dev/null
@@ -1,48 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String sessionId = session.getId();
-%>
-<script language="javascript">
- var wsdlWindow;
- var wsdlWindowClosed = true;
- var targetWSDLURLElement;
- function openWSDLBrowser(formContainerId,type)
- {
- var form = document.getElementById(formContainerId).getElementsByTagName("form").item(0);
- targetWSDLURLElement = form.<%=ActionInputs.QUERY_INPUT_WSDL_URL%>;
- var link;
- switch (type)
- {
- case <%=ActionInputs.WSDL_TYPE_SERVICE%>:
- link = "<%=response.encodeURL(controller.getPathWithContext(OpenWSDLBrowserAction.getActionLinkForService(sessionId)))%>";
- break;
- case <%=ActionInputs.WSDL_TYPE_SERVICE_INTERFACE%>:
- default:
- link = "<%=response.encodeURL(controller.getPathWithContext(OpenWSDLBrowserAction.getActionLinkForServiceInterface(sessionId)))%>";
- }
- wsdlWindow = window.open(link,"wsdlWindow","height=300,width=450,status=yes,scrollbars=yes,resizable=yes");
- if (wsdlWindow.focus)
- wsdlWindow.focus();
- }
-
- function closeWSDLBrowser()
- {
- if (!wsdlWindowClosed)
- wsdlWindow.close();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddItemsToFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddItemsToFavoritesActionJSP.jsp
deleted file mode 100644
index b6797918f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddItemsToFavoritesActionJSP.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- AddItemsToFavoritesAction action = new AddItemsToFavoritesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddPublisherAssertionsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddPublisherAssertionsActionJSP.jsp
deleted file mode 100644
index 3dac339fe..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddPublisherAssertionsActionJSP.jsp
+++ /dev/null
@@ -1,46 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- AddPublisherAssertionsAction action = new AddPublisherAssertionsAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (inputsValid)
- {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- }
-%>
-
- <script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
- </script>
-
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddToFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddToFavoritesActionJSP.jsp
deleted file mode 100644
index 0e0d1a534..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/AddToFavoritesActionJSP.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.AddToFavoritesAction"%>
-
-
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- AddToFavoritesAction action = new AddToFavoritesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceAdvancedActionJSP.jsp
deleted file mode 100644
index 55752203c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action
- BusPublishServiceAdvancedAction action = new BusPublishServiceAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceSimpleActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceSimpleActionJSP.jsp
deleted file mode 100644
index 1070025e5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusPublishServiceSimpleActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- BusPublishServiceSimpleAction action = new BusPublishServiceSimpleAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusinessGetServicesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusinessGetServicesActionJSP.jsp
deleted file mode 100644
index 3ee5d2463..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/BusinessGetServicesActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<%
- // Prepare the action.
- BusinessGetServicesAction action = new BusinessGetServicesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- boolean businessExists = action.validateBusiness();
-
- if (!businessExists)
- {
- int nodeId = Integer.parseInt((String)(action.getPropertyTable().get(ActionInputs.NODEID)));
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_BUSINESS_NODE"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearNavigatorNodeAction.getActionLink(nodeId)))%>";
-</script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CheckFavoriteExistsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CheckFavoriteExistsActionJSP.jsp
deleted file mode 100644
index 4f033e5ea..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CheckFavoriteExistsActionJSP.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*"%>
-
-
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/AddToFavoritesActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-<%
-Enumeration paramNames = request.getParameterNames();
-while (paramNames.hasMoreElements()) {
- String paramName = (String)paramNames.nextElement();
- String[] paramValues = request.getParameterValues(paramName);
- for (int i = 0; i < paramValues.length; i++) {
-%>
- <input type="hidden" name="<%=paramName%>" value="<%=paramValues[i]%>">
-<%
- }
-}
-%>
-</form>
-</body>
-</html>
-
-<%
-// Prepare the action.
-AddToFavoritesAction action = new AddToFavoritesAction(controller);
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-if (action.favoriteExists()) {
-%>
- <script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(controller.getUDDIPerspective().getMessage("MSG_QUESTION_OVERWRITE_FAVORITES"))%>"))
- document.forms[0].submit();
- </script>
-<%
-}
-else {
-%>
- <script language="javascript">
- document.forms[0].submit();
- </script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodeActionJSP.jsp
deleted file mode 100644
index c9dec4361..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodeActionJSP.jsp
+++ /dev/null
@@ -1,35 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- NodeManager navigatorManager = controller.getUDDIPerspective().getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- ClearNavigatorNodeAction action;
- if (selectedNode instanceof FolderNode)
- action = new ClearNavigatorFolderNodeAction(controller);
- else
- action = new ClearNavigatorNodeAction(controller);
-
- // The action may be executed programmed link.
- action.populatePropertyTable(request);
-
- boolean inputsValid = true;
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
-<%@ include file="/actions/ClearNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodesActionJSP.jsp
deleted file mode 100644
index 5dbf188e4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ClearNavigatorNodesActionJSP.jsp
+++ /dev/null
@@ -1,35 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- ClearNavigatorNodesAction action = new ClearNavigatorNodesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CompletePublisherAssertionsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CompletePublisherAssertionsActionJSP.jsp
deleted file mode 100644
index 8904ba9d8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/CompletePublisherAssertionsActionJSP.jsp
+++ /dev/null
@@ -1,46 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- CompletePublisherAssertionsAction action = new CompletePublisherAssertionsAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (inputsValid)
- {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- }
-%>
-
- <script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
- </script>
-
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LaunchSubQueryAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LaunchSubQueryAction.inc
deleted file mode 100644
index c3bfee0d4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LaunchSubQueryAction.inc
+++ /dev/null
@@ -1,56 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- String subQueryKey = action.getSubQueryKey();
- StringBuffer newSubQueryKey = new StringBuffer();
- if (subQueryKey != null && subQueryKey.length() > 0)
- newSubQueryKey.append(action.getSubQueryKey()).append(':');
- newSubQueryKey.append(action.getNewSubQuery());
- FormTool formTool = (FormTool)action.getSelectedFormTool();
- FormToolPropertiesInterface parentFormToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey);
- FormToolPropertiesInterface subQueryFormToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(newSubQueryKey.toString());
- String newSubQueryItemString = action.getNewSubQueryItem();
- subQueryFormToolPI.setProperty(UDDIActionInputs.QUERY_ITEM,newSubQueryItemString);
- subQueryFormToolPI.setProperty(UDDIActionInputs.SUBQUERY_GET,new Boolean(action.isSubQueryGet()));
-
- // Always initialize the query name so the subquery makes sense.
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String parentQueryName = (String)parentFormToolPI.getProperty(UDDIActionInputs.QUERY_NAME);
- if (parentQueryName == null)
- parentQueryName = uddiPerspective.getMessage("DEFAULT_QUERY_NAME");
- int newSubQueryItem = Integer.parseInt(newSubQueryItemString);
- String newSubQueryItemTypeString = null;
- switch (newSubQueryItem)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- newSubQueryItemTypeString = uddiPerspective.getMessage("FORM_OPTION_BUSINESSES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- newSubQueryItemTypeString = uddiPerspective.getMessage("FORM_OPTION_SERVICES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- newSubQueryItemTypeString = uddiPerspective.getMessage("FORM_OPTION_SERVICE_INTERFACES");
- }
- String[] messageParameters = {parentQueryName,newSubQueryItemTypeString};
- subQueryFormToolPI.setProperty(UDDIActionInputs.QUERY_NAME,uddiPerspective.getMessage("DEFAULT_SUBQUERY_NAME",messageParameters));
-
- Node node = action.getSelectedNavigatorNode();
- int nodeId = node.getNodeId();
- int toolId = node.getToolManager().getSelectedToolId();
- int viewId = node.getViewId();
- int viewToolId = node.getViewToolId();
-%>
-<script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(SelectFindToolAction.getActionLink(nodeId,toolId,viewId,viewToolId,newSubQueryKey.toString(),false)))%>";
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LoginAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LoginAdvancedActionJSP.jsp
deleted file mode 100644
index 7472cf252..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LoginAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,54 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- java.util.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body>
-<%
- // Prepare the action.
- LoginAdvancedAction action = new LoginAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LogoutAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LogoutAdvancedActionJSP.jsp
deleted file mode 100644
index dd93aece2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/LogoutAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- java.util.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body>
-<%
- // Prepare the action.
- LogoutAdvancedAction action = new LogoutAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = true; //action.populatePropertyTable(request);
-
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ManageReferencedServicesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ManageReferencedServicesActionJSP.jsp
deleted file mode 100644
index a5d55534d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ManageReferencedServicesActionJSP.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- java.util.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- ManageReferencedServicesAction action = new ManageReferencedServicesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!inputsValid)
- {
-%>
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-<%
- }
- else
- {
- if (!action.isSubQueryInitiated())
- {
- action.execute();
-%>
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/NewNodeAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/NewNodeAction.inc
deleted file mode 100644
index 2f9e480d1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/NewNodeAction.inc
+++ /dev/null
@@ -1,55 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%
- if (!inputsValid)
- {
-%>
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-<%
- }
- else
- {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- if (actionResult)
- {
- // Ensure that the selected node is visible.
- controller.getUDDIPerspective().getNavigatorManager().makeSelectedNodeVisible();
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- navigatorContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/navigator_content.jsp"))%>";
- propertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_container.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/uddi_perspective_content.jsp"))%>";
-</script>
-<%
- }
- else
- {
-%>
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-<%
- }
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/OpenRegistryActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/OpenRegistryActionJSP.jsp
deleted file mode 100644
index 2472eb3f3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/OpenRegistryActionJSP.jsp
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
-
- OpenRegistryAction action = new OpenRegistryAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodeActionJSP.jsp
deleted file mode 100644
index 303be5040..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodeActionJSP.jsp
+++ /dev/null
@@ -1,90 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-<%
- // Prepare the action.
- RefreshUDDINodeAction action = new RefreshUDDINodeAction(controller);
-
- // The action may be executed via program link.
- action.populatePropertyTable(request);
- boolean isNodeDataValid = action.verifyNodeData();
-
- boolean inputsValid = true;
- String onLoadAction;
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- function processClearNodesForm()
- {
- var clearNodesForm = document.forms[0];
- var submitClearNodesForm = false;
-<%
- Vector staleNodes = action.getStaleNodes();
- for (int i=0;i<staleNodes.size();i++)
- {
- Node staleNode = (Node)staleNodes.elementAt(i);
-%>
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_NODE",staleNode.getNodeName()))%>"))
- {
- clearNodesForm.appendChild(createHiddenElement("<%=ActionInputs.NODEID%>",<%=staleNode.getNodeId()%>));
- submitClearNodesForm = true;
- }
-<%
- }
-%>
- if (submitClearNodesForm)
- clearNodesForm.submit();
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/ClearNavigatorNodesActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" method="post" enctype="multipart/form-data">
-</form>
-<%
- if (!isNodeDataValid)
- {
- int nodeId = Integer.parseInt((String)(action.getPropertyTable().get(ActionInputs.NODEID)));
- String nodeName = uddiPerspective.getNavigatorManager().getNode(nodeId).getNodeName();
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_NODE",nodeName))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearNavigatorNodeAction.getActionLink(nodeId)))%>";
-</script>
-<%
- }
- else
- {
-%>
-<script language="javascript">
- processClearNodesForm();
-</script>
-<%@ include file = "/uddi/actions/NewNodeAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodesActionJSP.jsp
deleted file mode 100644
index e3762946f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RefreshUDDINodesActionJSP.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-<%
- // Prepare the action.
- RefreshUDDINodesAction action = new RefreshUDDINodesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- // Run the action
- boolean actionResult = action.execute();
-%>
-<script language="javascript">
- function processClearNodesForm()
- {
- var clearNodesForm = document.forms[0];
-<%
- Vector staleNodes = action.getStaleNodes();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- for (int i=0;i<staleNodes.size();i++)
- {
- Node staleNode = (Node)staleNodes.elementAt(i);
-%>
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_NODE",staleNode.getNodeName()))%>"))
- clearNodesForm.appendChild(createHiddenElement("<%=ActionInputs.NODEID%>",<%=staleNode.getNodeId()%>));
-<%
- }
-%>
- clearNodesForm.submit();
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/ClearNavigatorNodesActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" method="post" enctype="multipart/form-data">
-</form>
-<script language="javascript">
- processClearNodesForm();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessUUIDActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessUUIDActionJSP.jsp
deleted file mode 100644
index 435459c88..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessUUIDActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindBusinessUUIDAction action = new RegFindBusinessUUIDAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesAdvancedActionJSP.jsp
deleted file mode 100644
index e18b6b357..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,51 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- java.util.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindBusinessesAdvancedAction action = new RegFindBusinessesAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesSimpleActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesSimpleActionJSP.jsp
deleted file mode 100644
index d5716b0f5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindBusinessesSimpleActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindBusinessesSimpleAction action = new RegFindBusinessesSimpleAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfaceUUIDActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfaceUUIDActionJSP.jsp
deleted file mode 100644
index 2b44c9f44..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfaceUUIDActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindServiceInterfaceUUIDAction action = new RegFindServiceInterfaceUUIDAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesAdvancedActionJSP.jsp
deleted file mode 100644
index 16d324ed7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindServiceInterfacesAdvancedAction action = new RegFindServiceInterfacesAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesSimpleActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesSimpleActionJSP.jsp
deleted file mode 100644
index fcace6d14..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceInterfacesSimpleActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindServiceInterfacesSimpleAction action = new RegFindServiceInterfacesSimpleAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceUUIDActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceUUIDActionJSP.jsp
deleted file mode 100644
index 5ca5e67f4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServiceUUIDActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindServiceUUIDAction action = new RegFindServiceUUIDAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesAdvancedActionJSP.jsp
deleted file mode 100644
index 9838de258..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,51 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- java.util.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindServicesAdvancedAction action = new RegFindServicesAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesSimpleActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesSimpleActionJSP.jsp
deleted file mode 100644
index 62ad59053..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegFindServicesSimpleActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegFindServicesSimpleAction action = new RegFindServicesSimpleAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessAdvancedActionJSP.jsp
deleted file mode 100644
index af639c19f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegPublishBusinessAdvancedAction action = new RegPublishBusinessAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessSimpleActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessSimpleActionJSP.jsp
deleted file mode 100644
index 6f012c6a8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishBusinessSimpleActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegPublishBusinessSimpleAction action = new RegPublishBusinessSimpleAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceAdvancedActionJSP.jsp
deleted file mode 100644
index f066ba735..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegPublishServiceAdvancedAction action = new RegPublishServiceAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceAdvancedActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceAdvancedActionJSP.jsp
deleted file mode 100644
index 765275fe3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceAdvancedActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegPublishServiceInterfaceAdvancedAction action = new RegPublishServiceInterfaceAdvancedAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceSimpleActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceSimpleActionJSP.jsp
deleted file mode 100644
index 025dc57bf..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceInterfaceSimpleActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegPublishServiceInterfaceSimpleAction action = new RegPublishServiceInterfaceSimpleAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceSimpleActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceSimpleActionJSP.jsp
deleted file mode 100644
index 01b04f8a3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RegPublishServiceSimpleActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RegPublishServiceSimpleAction action = new RegPublishServiceSimpleAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemovePublisherAssertionsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemovePublisherAssertionsActionJSP.jsp
deleted file mode 100644
index b66cefd9f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemovePublisherAssertionsActionJSP.jsp
+++ /dev/null
@@ -1,46 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RemovePublisherAssertionsAction action = new RemovePublisherAssertionsAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (inputsValid)
- {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- }
-%>
-
- <script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
- </script>
-
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemoveSubQueryItemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemoveSubQueryItemActionJSP.jsp
deleted file mode 100644
index d65f63fa6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/RemoveSubQueryItemActionJSP.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- RemoveSubQueryItemAction action = new RemoveSubQueryItemAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ResizeUDDIFramesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ResizeUDDIFramesActionJSP.jsp
deleted file mode 100644
index d2722231c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ResizeUDDIFramesActionJSP.jsp
+++ /dev/null
@@ -1,54 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Create the action.
- ResizeUDDIFramesAction action = new ResizeUDDIFramesAction(controller);
-
- // Populate the action with the request properties.
- boolean result = action.populatePropertyTable(request);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddiframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (result)
- {
- action.execute(false);
-
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- perspectiveContentFrameset.setAttribute("cols","<%=uddiPerspective.getPerspectiveContentFramesetCols()%>");
- actionsContainerFrameset.setAttribute("rows","<%=uddiPerspective.getActionsContainerFramesetRows()%>");
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/uddi_perspective_content.jsp"))%>";
-</script>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectCategoryNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectCategoryNodeActionJSP.jsp
deleted file mode 100644
index 1b84f63e5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectCategoryNodeActionJSP.jsp
+++ /dev/null
@@ -1,77 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.uddi4j.util.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/cbpanes.jsp" flush="true"/>
-<%
- // Prepare the action.
- SelectCategoryNodeAction action = new SelectCategoryNodeAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute(false);
-
- CategoryNode selectedNode = (CategoryNode)action.getSelectedNode();
- NodeManager nodeManager = selectedNode.getNodeManager();
- Node previousSelectedNode = nodeManager.getPreviousSelectedNode();
- int selectedNodeId = selectedNode.getNodeId();
-%>
-<script language="javascript">
-<%
- String treeContentVar = action.getTreeContentVar();
- if (previousSelectedNode != null)
- {
- if (treeContentVar != null)
- {
-%>
- <%=treeContentVar%>.alterImage('<%=previousSelectedNode.getAnchorName()%>','<%=response.encodeURL(controller.getPathWithContext(previousSelectedNode.getClosedImagePath()))%>');
-<%
- }
- }
- String selectedNodeAnchorName = selectedNode.getAnchorName();
- if (treeContentVar != null)
- {
-%>
- <%=treeContentVar%>.selectNode('<%=selectedNodeAnchorName%>','<%=response.encodeURL(controller.getPathWithContext(selectedNode.getOpenImagePath()))%>');
- <%=treeContentVar%>.location.hash = '#<%=selectedNodeAnchorName%>';
-<%
- }
-
- CategoryElement categoryElement = (CategoryElement)selectedNode.getTreeElement();
- KeyedReference kr = categoryElement.getCategory();
-%>
- categoryBrowserWindow.opener.targetCategoryKeyNameElement.value = "<%=kr.getKeyName()%>";
- categoryBrowserWindow.opener.targetCategoryKeyValueElement.value = "<%=kr.getKeyValue()%>";
- categoryBrowserWindow.opener.closeCategoryBrowser();
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectFindToolActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectFindToolActionJSP.jsp
deleted file mode 100644
index 063cf1f65..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectFindToolActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- SelectFindToolAction action = new SelectFindToolAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- // Determine if the action was added to the history list.
- boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeToolAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectNavigatorNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectNavigatorNodeActionJSP.jsp
deleted file mode 100644
index 8cb7d0ddb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectNavigatorNodeActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- SelectNavigatorNodeAction action = new SelectNavigatorNodeAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- // Determine if the action was added to the history list.
- boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectPropertiesToolActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectPropertiesToolActionJSP.jsp
deleted file mode 100644
index 474a40fa9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectPropertiesToolActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-SelectPropertiesToolAction action = new SelectPropertiesToolAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeToolAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectSubQueryItemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectSubQueryItemActionJSP.jsp
deleted file mode 100644
index 3600eebfe..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SelectSubQueryItemActionJSP.jsp
+++ /dev/null
@@ -1,51 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- SelectSubQueryItemAction action = new SelectSubQueryItemAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute(false);
-
- if (!actionResult)
- {
- Hashtable propertyTable = action.getPropertyTable();
- String subQueryKey = (String)propertyTable.get(UDDIActionInputs.SUBQUERY_KEY);
- String subQueryListKey = (String)propertyTable.get(UDDIActionInputs.SUBQUERY_LIST_KEY);
- int subQueryListItemId = Integer.parseInt((String)propertyTable.get(UDDIActionInputs.SUBQUERY_LIST_ITEMID));
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; UTF-8">
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_ITEM_VALIDATION_FAILED",action.getItemName()))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(RemoveSubQueryItemAction.getActionLink(subQueryKey,subQueryListKey,subQueryListItemId)))%>";
-</script>
-</body>
-</html>
-<%
- }
- else
- {
- // Determine if the action was added to the history list.
- boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeToolAction.inc" %>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetBusinessActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetBusinessActionJSP.jsp
deleted file mode 100644
index 939e71b79..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetBusinessActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<%
- // Prepare the action.
- ServiceGetBusinessAction action = new ServiceGetBusinessAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- boolean serviceExists = action.validateService();
-
- if (!serviceExists)
- {
- int nodeId = Integer.parseInt((String)(action.getPropertyTable().get(ActionInputs.NODEID)));
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_SERVICE_NODE"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearNavigatorNodeAction.getActionLink(nodeId)))%>";
-</script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetServiceInterfacesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetServiceInterfacesActionJSP.jsp
deleted file mode 100644
index 9cb5f9968..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceGetServiceInterfacesActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<%
- // Prepare the action.
- ServiceGetServiceInterfacesAction action = new ServiceGetServiceInterfacesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- boolean serviceExists = action.validateService();
-
- if (!serviceExists)
- {
- int nodeId = Integer.parseInt((String)(action.getPropertyTable().get(ActionInputs.NODEID)));
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_SERVICE_NODE"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearNavigatorNodeAction.getActionLink(nodeId)))%>";
-</script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetBusinessesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetBusinessesActionJSP.jsp
deleted file mode 100644
index e5b287902..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetBusinessesActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<%
- // Prepare the action.
- ServiceInterfaceGetBusinessesAction action = new ServiceInterfaceGetBusinessesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- boolean siExists = action.validateServiceInterface();
-
- if (!siExists)
- {
- int nodeId = Integer.parseInt((String)(action.getPropertyTable().get(ActionInputs.NODEID)));
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_SI_NODE"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearNavigatorNodeAction.getActionLink(nodeId)))%>";
-</script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetServicesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetServicesActionJSP.jsp
deleted file mode 100644
index 12967b16c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ServiceInterfaceGetServicesActionJSP.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<%
- // Prepare the action.
- ServiceInterfaceGetServicesAction action = new ServiceInterfaceGetServicesAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- boolean siExists = action.validateServiceInterface();
-
- if (!siExists)
- {
- int nodeId = Integer.parseInt((String)(action.getPropertyTable().get(ActionInputs.NODEID)));
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_REMOVE_SI_NODE"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearNavigatorNodeAction.getActionLink(nodeId)))%>";
-</script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ShowPublisherAssertionsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ShowPublisherAssertionsActionJSP.jsp
deleted file mode 100644
index e46d18e24..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ShowPublisherAssertionsActionJSP.jsp
+++ /dev/null
@@ -1,57 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- ShowPublisherAssertionsAction action = new ShowPublisherAssertionsAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!action.isSubQueryInitiated())
- {
- if (inputsValid)
- {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- }
-%>
- <script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
- </script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/LaunchSubQueryAction.inc" %>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SwitchPerspectiveFromUDDIActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SwitchPerspectiveFromUDDIActionJSP.jsp
deleted file mode 100644
index 5ce374bba..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/SwitchPerspectiveFromUDDIActionJSP.jsp
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action
-SwitchPerspectiveFromUDDIAction action = new SwitchPerspectiveFromUDDIAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<jsp:include page="/scripts/switchperspective.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleCategoryNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleCategoryNodeActionJSP.jsp
deleted file mode 100644
index 15753aef6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleCategoryNodeActionJSP.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/cbpanes.jsp" flush="true"/>
-<%
- // Prepare the action.
- ToggleCategoryNodeAction action = new ToggleCategoryNodeAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute(false);
-
- String treeContentVar = action.getTreeContentVar();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
-<%
- if (treeContentVar != null)
- {
-%>
- if (isMicrosoftInternetExplorer())
- <%=treeContentVar%>.location = "<%=response.encodeURL(controller.getPathWithContext(action.getTreeContentPage()))%>";
- else
- categoryBrowserWindow.location = "<%=response.encodeURL(controller.getPathWithContext(action.getTreeContainerPage()))%>";
-<%
- }
-%>
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleNavigatorNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleNavigatorNodeActionJSP.jsp
deleted file mode 100644
index adee74004..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/ToggleNavigatorNodeActionJSP.jsp
+++ /dev/null
@@ -1,21 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-ToggleNavigatorNodeAction action = new ToggleNavigatorNodeAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/ToggleNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferSubQueryResultsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferSubQueryResultsActionJSP.jsp
deleted file mode 100644
index b6b28030c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferSubQueryResultsActionJSP.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- TransferSubQueryResultsAction action = new TransferSubQueryResultsAction(controller);
-
- if (request.getParameter(UDDIActionInputs.SHOW_RESULTS_TARGET) != null)
- action.enableShowResultsTarget();
- else
- action.populatePropertyTable(request);
-
- boolean actionResult = action.execute();
- Node targetNode = action.getTargetNode();
- String targetNodeAnchorName = targetNode.getAnchorName();
-%>
-<script language="javascript">
- navigatorContent.selectNode('<%=targetNodeAnchorName%>','<%=response.encodeURL(controller.getPathWithContext(targetNode.getOpenImagePath()))%>');
- navigatorContent.location.hash='#<%=targetNodeAnchorName%>';
- propertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_container.jsp"))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferToAddCategoryDataActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferToAddCategoryDataActionJSP.jsp
deleted file mode 100644
index 4bd6353aa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/TransferToAddCategoryDataActionJSP.jsp
+++ /dev/null
@@ -1,44 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- String categoryTModelKey = request.getParameter(UDDIActionInputs.CATEGORY_TMODEL_KEY);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(navigatorManager.getSelectedNode());
- RegistryDetailsTool regDetailsTool = regNode.getRegDetailsTool();
- regDetailsTool.flagRowError(UDDIActionInputs.USER_DEFINED_CATEGORIES,categoryTModelKey);
- regNode.getCurrentToolManager().setSelectedToolId(regDetailsTool.getToolId());
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(SelectNavigatorNodeAction.getActionLink(regNode.getNodeId(),false)))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIAddToWSDLPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIAddToWSDLPerspectiveActionJSP.jsp
deleted file mode 100644
index 6484df46a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIAddToWSDLPerspectiveActionJSP.jsp
+++ /dev/null
@@ -1,54 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.UDDIAddToWSDLPerspectiveAction"%>
-
-
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-UDDIAddToWSDLPerspectiveAction action = new UDDIAddToWSDLPerspectiveAction(controller);
-
-// Load the parameters for the action from the servlet request.
-boolean paramValid = action.populatePropertyTable(request);
-
-if (paramValid) {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- if (actionResult) {
-%>
- <script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_WSDL,false)))%>";
- </script>
-<%
- }
- else {
-%>
- <script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
- </script>
-<%
- }
-}
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToFileSystemActionJSP.jsp
deleted file mode 100644
index 9103ff736..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToFileSystemActionJSP.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.io.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- UDDIImportWSDLToFileSystemAction action = new UDDIImportWSDLToFileSystemAction(controller);
-%>
-<%@ include file="/actions/ImportToFileSystemAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToWorkbenchActionJSP.jsp
deleted file mode 100644
index 245820b3b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDIImportWSDLToWorkbenchActionJSP.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIImportWSDLToWorkbenchAction action = new UDDIImportWSDLToWorkbenchAction(controller);
-%>
-<%@ include file="/actions/ImportToWorkbenchAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDILaunchWebServiceWizardActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDILaunchWebServiceWizardActionJSP.jsp
deleted file mode 100644
index c331f6357..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UDDILaunchWebServiceWizardActionJSP.jsp
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDILaunchWebServiceWizardAction action = new UDDILaunchWebServiceWizardAction(controller);
-%>
-<%@ include file="/actions/LaunchWebServiceWizardAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UnpublishActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UnpublishActionJSP.jsp
deleted file mode 100644
index f0358e3cc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UnpublishActionJSP.jsp
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- UnpublishAction action = new UnpublishAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateAction.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateAction.inc
deleted file mode 100644
index 08f402a31..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateAction.inc
+++ /dev/null
@@ -1,47 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<%
- if (!inputsValid)
- {
-%>
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-<%
- }
- else
- {
- boolean refreshResult = action.refreshFromRegistry();
-
- if (!refreshResult)
- {
- session.setAttribute(UDDIActionInputs.PUBLISH_ACTION,action);
-%>
-<script language="javascript">
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_PUBLISH_ITEM"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UpdateNewPublishActionJSP.jsp"))%>";
- else
- propertiesContent.requestSubmitted = false;
-</script>
-<%
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateBusinessActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateBusinessActionJSP.jsp
deleted file mode 100644
index 0f47ab072..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateBusinessActionJSP.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- UpdateBusinessAction action = new UpdateBusinessAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/UpdateAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateNewPublishActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateNewPublishActionJSP.jsp
deleted file mode 100644
index 4fa57eff9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateNewPublishActionJSP.jsp
+++ /dev/null
@@ -1,32 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- UpdateAction action = (UpdateAction)session.getAttribute(UDDIActionInputs.PUBLISH_ACTION);
- session.removeAttribute(UDDIActionInputs.PUBLISH_ACTION);
- boolean inputsValid = true;
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateRegistryActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateRegistryActionJSP.jsp
deleted file mode 100644
index 4f7ebbdbe..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateRegistryActionJSP.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- UpdateRegistryAction action = new UpdateRegistryAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/UpdateAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceActionJSP.jsp
deleted file mode 100644
index 5514f4901..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceActionJSP.jsp
+++ /dev/null
@@ -1,86 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- UpdateServiceAction action = new UpdateServiceAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (!inputsValid)
- {
-%>
-<script language="javascript">
- propertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>";
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-</script>
-<%
- }
- else
- {
- boolean refreshServiceResult = action.refreshFromRegistry();
- boolean refreshBusinessResult = action.refreshBusinessFromRegistry();
- if (!refreshServiceResult)
- {
- session.setAttribute(UDDIActionInputs.PUBLISH_ACTION,action);
- if (!refreshBusinessResult)
- {
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_SERVICE_PUBLISH_BUSINESS"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UpdateServiceNewPublishBusinessActionJSP.jsp"))%>";
- else
- propertiesContent.requestSubmitted = false;
-</script>
-<%
- }
- else
- {
-%>
-<script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_PUBLISH_ITEM"))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UpdateNewPublishActionJSP.jsp"))%>";
- else
- propertiesContent.requestSubmitted = false;
-</script>
-<%
- }
- }
- else
- {
-%>
-<%@ include file="/uddi/actions/NewNodeAction.inc" %>
-<%
- }
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceInterfaceActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceInterfaceActionJSP.jsp
deleted file mode 100644
index 4618bc805..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceInterfaceActionJSP.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- UpdateServiceInterfaceAction action = new UpdateServiceInterfaceAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-%>
-<%@ include file="/uddi/actions/UpdateAction.inc" %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceNewPublishBusinessActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceNewPublishBusinessActionJSP.jsp
deleted file mode 100644
index cad4e1d95..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions/UpdateServiceNewPublishBusinessActionJSP.jsp
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- UpdateServiceAction action = (UpdateServiceAction)session.getAttribute(UDDIActionInputs.PUBLISH_ACTION);
- session.removeAttribute(UDDIActionInputs.PUBLISH_ACTION);
-
- RegPublishTool regPublishTool = action.setupRegPublishTool();
-%>
-<script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(regPublishTool.getSelectToolActionHref(false)))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions_container.jsp
deleted file mode 100644
index c11ac2730..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/actions_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%></title>
-</head>
-<frameset rows="<%=uddiPerspective.getActionsContainerFramesetRows()%>" bgcolor="#ECE9D8">
- <frame name="<%=UDDIFrameNames.PROPERTIES_CONTAINER%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/properties_container.jsp"))%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
- <frame name="<%=UDDIFrameNames.STATUS_CONTAINER%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/status_container.jsp"))%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_browser.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_browser.jsp
deleted file mode 100644
index 45637778e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_browser.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- String categoryTModelKey = request.getParameter(UDDIActionInputs.CATEGORY_TMODEL_KEY);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- uddiPerspective.setCategoryTModelKey(categoryTModelKey);
-
- StringBuffer toolbarLink = new StringBuffer("uddi/category_toolbar.jsp?");
- toolbarLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("TITLE_CATEGORY_BROWSER")%></title>
-</head>
-<frameset rows="0,33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=UDDIFrameNames.CATEGORIES_WORKAREA%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_CATEGORIES_WORKAREA")%>" frameborder=0 noresize>
- <frame name="<%=UDDIFrameNames.CATEGORIES_TOOLBAR%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_CATEGORIES_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext(toolbarLink.toString()))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=UDDIFrameNames.CATEGORIES_CONTENT%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_CATEGORIES_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext(OpenCategoryBrowserAction.getCategoryContentPage(sessionId,categoryTModelKey)))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_content.jsp
deleted file mode 100644
index 076b7cff1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_content.jsp
+++ /dev/null
@@ -1,113 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*" %>
-
-<jsp:useBean id="commonCategoryModels" class="java.util.Hashtable" scope="application"/>
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- String categoryTModelKey = request.getParameter(UDDIActionInputs.CATEGORY_TMODEL_KEY);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_CATEGORIES_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/treeview.css"))%>">
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/treeview.js"))%>">
- </script>
-<script language="javascript">
- function transferToAddCategoryData()
- {
- top.opener.top.frames["<%=FrameNames.PERSPECTIVE_WORKAREA%>"].location = "<%=response.encodeURL(controller.getPathWithContext(TransferToAddCategoryDataAction.getActionLink(sessionId,categoryTModelKey)))%>";
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<%
- // Check if the category is a common category.
- CategoryModel categoryModel = (CategoryModel)commonCategoryModels.get(categoryTModelKey);
- if (categoryModel == null)
- {
- // The category is user-defined.
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(navigatorManager.getSelectedNode());
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
- categoryModel = (CategoryModel)regElement.getUserDefinedCategory(categoryTModelKey);
- }
- byte rc = CategoryModel.OPERATION_SUCCESSFUL;
- if (!categoryModel.isDataLoaded())
- {
- synchronized(categoryModel)
- {
- if (!categoryModel.isDataLoaded())
- rc = categoryModel.loadFromDefaultDataFile();
- }
- }
- if (rc != CategoryModel.OPERATION_SUCCESSFUL)
- {
-%>
-<div id="contentborder">
- <table>
- <tr>
- <td>
- <%=uddiPerspective.getMessage("MSG_INFO_NO_CATEGORY_DATA",categoryModel.getDisplayName())%>
- </td>
- </tr>
- <td height=10 valign="bottom">&nbsp;</td>
- </tr>
- <tr>
- <td>
- <%=uddiPerspective.getMessage("FORM_LABEL_ADD_CATEGORY_DATA","javascript:transferToAddCategoryData()")%>
- </td>
- </tr>
- </table>
-</div>
-<%
- }
- else
- {
- NodeManager categoryManager = uddiPerspective.getCategoryManager(categoryModel);
- String selectedAnchorName = "";
- int focusedNodeId = categoryManager.getFocusedNodeId();
- String focusedAnchorName = String.valueOf(focusedNodeId);
- Node selectedNode = categoryManager.getSelectedNode();
- if (selectedNode != null)
- {
- selectedAnchorName = selectedNode.getAnchorName();
- if (focusedNodeId == selectedNode.getNodeId())
- focusedAnchorName = selectedAnchorName;
- }
-%>
-<div id="treecontentborder">
-<%=categoryManager.renderTreeView(response)%>
-</div>
-<script language="javascript">
- self.location.hash="#<%=focusedAnchorName%>"
- setSelectedAnchorName("<%=selectedAnchorName%>");
-</script>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_toolbar.jsp
deleted file mode 100644
index a5e6b49db..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/category_toolbar.jsp
+++ /dev/null
@@ -1,44 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_CATEGORIES_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin" onUnload="top.opener.categoryWindowClosed=true">
-<div id="toolbarborder">
- <div id="toolbar">
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("uddi/images/category.gif"))%>" width=16 height=16></td>
- <td valign="middle" align="left" width="*" height=25 nowrap class="text"><%=uddiPerspective.getMessage("ALT_CATEGORIES")%></td>
- </tr>
- </table>
- </div>
-</div>
-<script language="javascript">
- top.opener.categoryWindowClosed=false;
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/geo-data.txt b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/geo-data.txt
deleted file mode 100644
index f978abdaa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/geo-data.txt
+++ /dev/null
@@ -1,1383 +0,0 @@
-geo#--#World#--
-geo#AE#United Arab Emirates#--
-geo#AF#Afghanistan#--
-geo#AG#Antigua And Barbuda#--
-geo#AI#Anguilla#--
-geo#AL#Albania#--
-geo#AM#Armenia#--
-geo#AN#Netherlands Antilles#--
-geo#AO#Angola#--
-geo#AQ#Antarctica#--
-geo#AR#Argentina#--
-geo#AR-A#Salta#AR
-geo#AR-B#Buenos Aires#AR
-geo#AR-C#Distrito Federal#AR
-geo#AR-D#San Luis#AR
-geo#AR-E#Entre Rios#AR
-geo#AR-F#La Rioja#AR
-geo#AR-G#Santiago Del Estero#AR
-geo#AR-H#Chaco#AR
-geo#AR-J#San Juan#AR
-geo#AR-K#Catamarca#AR
-geo#AR-L#La Pampa#AR
-geo#AR-M#Mendoza#AR
-geo#AR-N#Misiones#AR
-geo#AR-P#Formosa#AR
-geo#AR-Q#Neuquen#AR
-geo#AR-R#Rio Negro#AR
-geo#AR-S#Santa Fe#AR
-geo#AR-T#Tucuman#AR
-geo#AR-U#Chubut#AR
-geo#AR-V#Tierra Del Fuego#AR
-geo#AR-W#Corrientes#AR
-geo#AR-X#Cordoba#AR
-geo#AR-Y#Jujuy#AR
-geo#AR-Z#Santa Cruz#AR
-geo#AS#American Samoa#--
-geo#AT#Austria#--
-geo#AU#Australia#--
-geo#AU-CT#Australian Capital Territory#AU
-geo#AU-NS#New South Wales#AU
-geo#AU-NT#Northern Territory#AU
-geo#AU-QL#Queensland#AU
-geo#AU-SA#South Australia#AU
-geo#AU-TS#Tasmania#AU
-geo#AU-VI#Victoria#AU
-geo#AU-WA#Western Australia#AU
-geo#AW#Aruba#--
-geo#AZ#Azerbaijan#--
-geo#BA#Bosnia-Hercegovina#--
-geo#BB#Barbados#--
-geo#BD#Bangladesh#--
-geo#BE#Belgium#--
-geo#BF#Burkina Faso#--
-geo#BG#Bulgaria#--
-geo#BH#Bahrain#--
-geo#BI#Burundi#--
-geo#BJ#Benin#--
-geo#BM#Bermuda#--
-geo#BN#Brunei Darussalam#--
-geo#BO#Bolivia#--
-geo#BR#Brazil#--
-geo#BR-AC#Acre#BR
-geo#BR-AL#Alagoas#BR
-geo#BR-AM#Amazonas#BR
-geo#BR-AP#Amapa#BR
-geo#BR-BA#Bahia#BR
-geo#BR-CE#Ceara#BR
-geo#BR-DF#Distrito Federal#BR
-geo#BR-ES#Espirito Santo#BR
-geo#BR-GO#Goias#BR
-geo#BR-MA#Maranhao#BR
-geo#BR-MG#Minas Gerais#BR
-geo#BR-MS#Mato Grosso Do Sul#BR
-geo#BR-MT#Mato Grosso#BR
-geo#BR-PA#Para#BR
-geo#BR-PB#Paraiba#BR
-geo#BR-PE#Pernambuco#BR
-geo#BR-PI#Piaui#BR
-geo#BR-PR#Parana#BR
-geo#BR-RJ#Rio De Janeiro#BR
-geo#BR-RN#Rio Grande Do Norte#BR
-geo#BR-RO#Rondonia#BR
-geo#BR-RR#Roraima#BR
-geo#BR-RS#Rio Grande Do Sul#BR
-geo#BR-SC#Santa Catarina#BR
-geo#BR-SE#Sergipe#BR
-geo#BR-SP#Sao Paulo#BR
-geo#BR-TO#Tocantina#BR
-geo#BS#Bahamas#--
-geo#BT#Bhutan#--
-geo#BU#Burma (See MM Myanmar)#--
-geo#BW#Botswana#--
-geo#BY#Belarus#--
-geo#BY-BR#Brestskaya voblasts'#BY
-geo#BY-HO#Homyel'skaya voblasts'#BY
-geo#BY-HR#Hrodzenskaya voblasts'#BY
-geo#BY-MA#Mahilyowskaya voblasts'#BY
-geo#BY-MI#Minskaya voblasts'#BY
-geo#BY-VI#Vitsyebskaya voblasts'#BY
-geo#BZ#Belize#--
-geo#CA#Canada#--
-geo#CA-AB#Alberta#CA
-geo#CA-BC#British Columbia#CA
-geo#CA-MB#Manitoba#CA
-geo#CA-NB#New Brunswick#CA
-geo#CA-NF#Newfoundland#CA
-geo#CA-NS#Nova Scotia#CA
-geo#CA-NT#Northwest Territories#CA
-geo#CA-NU#Nunavut#CA
-geo#CA-ON#Ontario#CA
-geo#CA-PE#Prince Edward Island#CA
-geo#CA-QC#Quebec#CA
-geo#CA-SK#Saskatchewan#CA
-geo#CA-YT#Yukon Territory#CA
-geo#CC#Cocos (Keeling) Islands#--
-geo#CD#"Congo, Democratic Republic of"#--
-geo#CF#Central African Republic#--
-geo#CG#Congo#--
-geo#CH#Switzerland#--
-geo#CH-AG#Aargau#CH
-geo#CH-AI#Appenzell Inner-Rhoden#CH
-geo#CH-AR#Appenzell Ausser-Rhoden#CH
-geo#CH-BE#Bern#CH
-geo#CH-BL#Basel-Landschaft#CH
-geo#CH-BS#Basel-Stadt#CH
-geo#CH-FR#Fribourg#CH
-geo#CH-GE#Genève#CH
-geo#CH-GL#Glarus#CH
-geo#CH-GR#Graubünden#CH
-geo#CH-JU#Jura#CH
-geo#CH-LU#Luzern#CH
-geo#CH-NE#Neuchatel#CH
-geo#CH-NW#Nidwalden#CH
-geo#CH-OW#Obwalden#CH
-geo#CH-SG#St Gallen#CH
-geo#CH-SH#Schaffhausen#CH
-geo#CH-SO#Solothurn#CH
-geo#CH-SZ#Schwyz#CH
-geo#CH-TG#Thurgau#CH
-geo#CH-TI#Ticino#CH
-geo#CH-UR#Uri#CH
-geo#CH-VD#Vaud#CH
-geo#CH-VS#Valais#CH
-geo#CH-ZG#Zug#CH
-geo#CH-ZH#Zürich#CH
-geo#CI#Cote D'Ivoire#--
-geo#CK#Cook Islands#--
-geo#CL#Chile#--
-geo#CM#Cameroon#--
-geo#CN#China#--
-geo#CN-11#Beijing#CN
-geo#CN-12#Tianjin#CN
-geo#CN-13#Hebei#CN
-geo#CN-14#Shanxi#CN
-geo#CN-15#Nei Mongol#CN
-geo#CN-21#Liaoning#CN
-geo#CN-22#Jilin#CN
-geo#CN-23#Heilongjiang#CN
-geo#CN-31#Shanghai#CN
-geo#CN-32#Jiangsu#CN
-geo#CN-33#Zhejiang#CN
-geo#CN-34#Anhui#CN
-geo#CN-35#Fujian#CN
-geo#CN-36#Jiangxi#CN
-geo#CN-37#Shandong#CN
-geo#CN-41#Henan#CN
-geo#CN-42#Hubei#CN
-geo#CN-43#Hunan#CN
-geo#CN-44#Guangdong#CN
-geo#CN-45#Guangxi#CN
-geo#CN-46#Hainan#CN
-geo#CN-51#Sichuan#CN
-geo#CN-52#Guizhou#CN
-geo#CN-53#Yunnan#CN
-geo#CN-54#Xizang#CN
-geo#CN-61#Shaanxi#CN
-geo#CN-62#Gansu#CN
-geo#CN-63#Qinghai#CN
-geo#CN-64#Ningxia#CN
-geo#CN-65#Xinjiang#CN
-geo#CN-71#Taiwan#CN
-geo#CN-91#Xianggang (Hong Kong)#CN
-geo#CN-92#Aomen (Macau)#CN
-geo#CO#Colombia#--
-geo#CR#Costa Rica#--
-geo#CS#Former Czechoslovakia#--
-geo#CU#Cuba#--
-geo#CV#Cape Verde#--
-geo#CX#Christmas Islands#--
-geo#CY#Cyprus#--
-geo#CZ#Czech Republic#--
-geo#DE#"Germany, Federal Republic of"#--
-geo#DE-BE#Berlin#DE
-geo#DE-BR#Brandenburg#DE
-geo#DE-BW#Baden-Württemberg#DE
-geo#DE-BY#Bayern#DE
-geo#DE-HB#Bremen (Hansestadt)#DE
-geo#DE-HE#Hessen#DE
-geo#DE-HH#Hamburg (Hansestadt)#DE
-geo#DE-MV#Mecklenburg-Vorpommern#DE
-geo#DE-NI#Niedersachsen#DE
-geo#DE-NW#Nordrhein-Westfalen#DE
-geo#DE-RP#Rheinland-Pfalz#DE
-geo#DE-SH#Schleswig-Holstein#DE
-geo#DE-SL#Saarland#DE
-geo#DE-SN#Sachsen#DE
-geo#DE-ST#Sachsen-Anhalt#DE
-geo#DE-TH#Thüringen#DE
-geo#DJ#Djibouti#--
-geo#DK#Denmark#--
-geo#DM#Dominica#--
-geo#DO#Dominican Republic#--
-geo#DO-02#Azua#DO
-geo#DO-03#Bahoruco#DO
-geo#DO-04#Barahona#DO
-geo#DO-05#Dajabón#DO
-geo#DO-06#Duarte#DO
-geo#DO-08#El Seybo#DO
-geo#DO-09#Espaillat#DO
-geo#DO-30#Hato Mayor#DO
-geo#DO-10#Independencia#DO
-geo#DO-11#La Altagracia#DO
-geo#DO-07#La Estrelleta#DO
-geo#DO-12#La Romana#DO
-geo#DO-13#La Vega#DO
-geo#DO-14#María Trinidad Sánchez#DO
-geo#DO-28#Monsenor Nouel#DO
-geo#DO-15#Monte Cristi#DO
-geo#DO-29#Monte Plata#DO
-geo#DO-16#Pedernales#DO
-geo#DO-17#Peravia#DO
-geo#DO-18#Puerto Plata#DO
-geo#DO-19#Solcedo#DO
-geo#DO-20#Samaná#DO
-geo#DO-21#San Cristóbal#DO
-geo#DO-22#San Juan#DO
-geo#DO-23#San Pedro de Macorís#DO
-geo#DO-24#Sánchez Ramírez#DO
-geo#DO-25#Santiago#DO
-geo#DO-26#Santiago Rodríguez#DO
-geo#DO-27#Valverde#DO
-geo#DZ#Algeria#--
-geo#EC#Ecuador#--
-geo#EE#Estonia#--
-geo#EG#Egypt#--
-geo#EH#Western Sahara#--
-geo#ER#Eritrea#--
-geo#ER-AN#Anseba#ER
-geo#ER-DU#Debub#ER
-geo#ER-DK#Debubawi Keyih Bahri [Debub-Keih-Bahri]#ER
-geo#ER-GB#Gash-Barka#ER
-geo#ER-MA#Maakel [Maekel]#ER
-geo#ER-SK#Semenawi Keyih Bahri [Semien-Keih-Bahri]#ER
-geo#ES#Spain#--
-geo#ES-AN#Andalucía#ES
-geo#ES-AL#Almería#ES-AN
-geo#ES-CA#Cádiz#ES-AN
-geo#ES-CO#Córdoba#ES-AN
-geo#ES-GR#Granada#ES-AN
-geo#ES-H#Huelva#ES-AN
-geo#ES-J#Jaén#ES-AN
-geo#ES-MA#Málaga#ES-AN
-geo#ES-SE#Sevilla#ES-AN
-geo#ES-AR#Aragón#ES
-geo#ES-HU#Huesca#ES-AR
-geo#ES-TE#Teruel#ES-AR
-geo#ES-Z#Zaragoza#ES-AR
-geo#ES-O#"Asturias, Principado de"#ES
-geo#ES-CN#Canarias#ES
-geo#ES-GC#Las Palmas#ES-CN
-geo#ES-TF#Santa Cruz de Tenerife#ES-CN
-geo#ES-S#Cantabria#ES
-geo#ES-CM#Castilla-La Mancha#ES
-geo#ES-AB#Albacete#ES-CM
-geo#ES-CR#Cuidad Real#ES-CM
-geo#ES-CU#Cuenca#ES-CM
-geo#ES-GU#Guadalajara#ES-CM
-geo#ES-TO#Toledo#ES-CM
-geo#ES-CL#Castilla y León#ES
-geo#ES-AV#Ãvila#ES-CL
-geo#ES-BU#Burgos#ES-CL
-geo#ES-LE#León#ES-CL
-geo#ES-P#Palencia#ES-CL
-geo#ES-SA#Salamanca#ES-CL
-geo#ES-SG#Segovia#ES-CL
-geo#ES-SO#Soria#ES-CL
-geo#ES-VA#Valladolid#ES-CL
-geo#ES-ZA#Zamora#ES-CL
-geo#ES-CT#Cataluna#ES
-geo#ES-B#Barcelona#ES-CT
-geo#ES-GE#Girona [Gerona]#ES-CT
-geo#ES-L#Lleida [Léruda]#ES-CT
-geo#ES-T#Tarragona#ES-CT
-geo#ES-EX#Extremadura#ES
-geo#ES-BA#Badajoz#ES-EX
-geo#ES-CC#Cáceres#ES-EX
-geo#ES-GA#Galicia#ES
-geo#ES-C#La Coruna#ES-GA
-geo#ES-LU#Lugo#ES-GA
-geo#ES-OR#Orense#ES-GA
-geo#ES-PO#Pontevedra#ES-GA
-geo#ES-PM#Islas Baleares#ES
-geo#ES-LO#La Rioja#ES
-geo#ES-M#"Madrid, Comunidad de"#ES
-geo#ES-MU#"Murcia, Región de"#ES
-geo#ES-NA#"Navarra, Comunidad Foral de"#ES
-geo#ES-PV#País Vasci#ES
-geo#ES-VI#Ãlava#ES-PV
-geo#ES-SS#Guipúzcoa#ES-PV
-geo#ES-BI#Vizcaya#ES-PV
-geo#ES-VC#"Valenciana, Comunidad"#ES
-geo#ES-A#Alicante#ES-VC
-geo#ES-CS#Castellón#ES-VC
-geo#ES-V#Valencia#ES-VC
-geo#ES-CE#Ceuta#ES
-geo#ES-ML#Melilla#ES
-geo#ET#Ethiopia#--
-geo#FI#Finland#--
-geo#FI-AL#Ahvenanmaan Maakunta (Fi) Ålands Län (Sv)#FI
-geo#FI-ES#Etelä-Suomen Lääni (Fi) Södra Finlands Län (Sv)#FI
-geo#FI-IS#Itä-Suomen Lääni (Fi) Östra Finlands Län (Sv)#FI
-geo#FI-LL#Lapin Lääni (Fi) Laplands Län (Sv)#FI
-geo#FI-LS#Länsi-Suomen Lääni (Fi) Västra Finlands Län (Sv)#FI
-geo#FI-OL#Oulun Lääni (Fi) Uleåborgs Län (Sv)#FI
-geo#FJ#Fiji#--
-geo#FK#Falkland Islands (Malvinas)#--
-geo#FM#Federated States Of Micronesia#--
-geo#FO#Faeroe Islands#--
-geo#FR#France#--
-geo#FR-01#Ain#FR-V
-geo#FR-02#Aisne#FR-S
-geo#FR-03#Allier#FR-C
-geo#FR-04#Alpes-De-Haute-Provence#FR-U
-geo#FR-05#Hautes-Alpes#FR-U
-geo#FR-06#Alpes-Maritimes#FR-U
-geo#FR-07#Ardèche#FR-V
-geo#FR-08#Ardennes#FR-G
-geo#FR-09#Ariège#FR-N
-geo#FR-10#Aube#FR-G
-geo#FR-11#Aude#FR-K
-geo#FR-12#Aveyron#FR-N
-geo#FR-13#Bouches-Du-Rhône#FR-U
-geo#FR-14#Calvados#FR-P
-geo#FR-15#Cantal#FR-C
-geo#FR-16#Charente#FR-T
-geo#FR-17#Charente-Maritime#FR-T
-geo#FR-18#Cher#FR-F
-geo#FR-19#Corrèze#FR-L
-geo#FR-21#Côte-D'Or#FR-D
-geo#FR-22#Côtes-D'Armor#FR-E
-geo#FR-23#Creuse#FR-L
-geo#FR-24#Dordogne#FR-B
-geo#FR-25#Doubs#FR-I
-geo#FR-26#Drôme#FR-V
-geo#FR-27#Eure#FR-Q
-geo#FR-28#Eure-Et-Loir#FR-F
-geo#FR-29#Finistère#FR-E
-geo#FR-2A#Corse-Du-Sud#FR-H
-geo#FR-2B#Haute-Corse#FR-H
-geo#FR-30#Gard#FR-K
-geo#FR-31#Haute-Garonne#FR-N
-geo#FR-32#Gers#FR-N
-geo#FR-33#Gironde#FR-B
-geo#FR-34#Hérault#FR-K
-geo#FR-35#Ille-Et-Vilaine#FR-E
-geo#FR-36#Indre#FR-F
-geo#FR-37#Indre-Et-Loire#FR-F
-geo#FR-38#Isère#FR-V
-geo#FR-39#Jura#FR-I
-geo#FR-40#Landes#FR-B
-geo#FR-41#Loir-Et-Cher#FR-F
-geo#FR-42#Loire#FR-V
-geo#FR-43#Haute-Loire#FR-C
-geo#FR-44#Loire-Atlantique#FR-R
-geo#FR-45#Loiret#FR-F
-geo#FR-46#Lot#FR-N
-geo#FR-47#Lot-Et-Garonne#FR-B
-geo#FR-48#Lozère#FR-K
-geo#FR-49#Maine-Et-Loire#FR-R
-geo#FR-50#Manche#FR-P
-geo#FR-51#Marne#FR-G
-geo#FR-52#Haute-Marne#FR-G
-geo#FR-53#Mayenne#FR-R
-geo#FR-54#Meurthe-Et-Moselle#FR-M
-geo#FR-55#Meuse#FR-M
-geo#FR-56#Morbihan#FR-E
-geo#FR-57#Moselle#FR-M
-geo#FR-58#Nièvre#FR-D
-geo#FR-59#Nord#FR-O
-geo#FR-60#Oise#FR-S
-geo#FR-61#Orne#FR-P
-geo#FR-62#Pas-De-Calais#FR-O
-geo#FR-63#Puy-De-Dôme#FR-C
-geo#FR-64#Pyrénées-Atlantiques#FR-B
-geo#FR-65#Hautes-Pyrénées#FR-N
-geo#FR-66#Pyrénées-Orientales#FR-K
-geo#FR-67#Bas-Rhin#FR-A
-geo#FR-68#Haut-Rhin#FR-A
-geo#FR-69#Rhône#FR-V
-geo#FR-70#Haute-Saône#FR-I
-geo#FR-71#Saône-Et-Loire#FR-D
-geo#FR-72#Sarthe#FR-R
-geo#FR-73#Savoie#FR-V
-geo#FR-74#Haute-Savoie#FR-V
-geo#FR-75#Paris#FR-J
-geo#FR-76#Seine-Maritime#FR-Q
-geo#FR-77#Seine-Et-Marne#FR-J
-geo#FR-78#Yvelines#FR-J
-geo#FR-79#Deux-Sèvres#FR-B
-geo#FR-80#Somme#FR-S
-geo#FR-81#Tarn#FR-N
-geo#FR-82#Tarn-Et-Garonne#FR-N
-geo#FR-83#Var#FR-U
-geo#FR-84#Vaucluse#FR-U
-geo#FR-85#Vendée#FR-R
-geo#FR-86#Vienne#FR-T
-geo#FR-87#Haute-Vienne#FR-L
-geo#FR-88#Vosges#FR-M
-geo#FR-89#Yonne#FR-D
-geo#FR-90#Territoire De Belfort#FR-I
-geo#FR-91#Essonne#FR-J
-geo#FR-92#Hauts-De-Seine#FR-J
-geo#FR-93#Seine-Saint-Denis#FR-J
-geo#FR-94#Val-De-Marne#FR-J
-geo#FR-95#Val-D'Oise#FR-J
-geo#FR-A#Alsace#FR
-geo#FR-B#Aquitaine#FR
-geo#FR-C#Auvergne#FR
-geo#FR-D#Bourgogne#FR
-geo#FR-E#Bretagne#FR
-geo#FR-F#Centre#FR
-geo#FR-G#Champagne-Ardenne#FR
-geo#FR-H#Corse#FR
-geo#FR-I#Franche-Comté#FR
-geo#FR-J#Ile-De-France#FR
-geo#FR-K#Languedoc-Roussillon#FR
-geo#FR-L#Limousin#FR
-geo#FR-M#Lorraine#FR
-geo#FR-N#Midi-Pyrénées#FR
-geo#FR-O#Nord-Pas-De-Calais#FR
-geo#FR-P#Basse-Normandie#FR
-geo#FR-Q#Haute-Normandie#FR
-geo#FR-R#Pays De La Loire#FR
-geo#FR-S#Picardie#FR
-geo#FR-T#Poitou-Charentes#FR
-geo#FR-U#Provence-Alpes-Côte D'Azur#FR
-geo#FR-V#Rhône-Alpes#FR
-geo#GA#Gabon#--
-geo#GB#United Kingdom#--
-geo#GB-ANT#Antrim#GB-NIR
-geo#GB-ARD#Ards#GB-NIR
-geo#GB-ARM#Armagh#GB-NIR
-geo#GB-AVN#Avon#GB-ENG
-geo#GB-BDF#Bedfordshire#GB-ENG
-geo#GB-BFS#Belfast#GB-NIR
-geo#GB-BKM#Buckinghamshire#GB-ENG
-geo#GB-BLA#Ballymena#GB-NIR
-geo#GB-BLY#Ballymoney#GB-NIR
-geo#GB-BNB#Banbridge#GB-NIR
-geo#GB-BOR#Borders Region#GB-SCT
-geo#GB-BRK#Berkshire#GB-ENG
-geo#GB-CAM#Cambridgeshire#GB-ENG
-geo#GB-CEN#Central Region#GB-SCT
-geo#GB-CGV#Craigavon#GB-NIR
-geo#GB-CHA#Channel Islands#GB
-geo#GB-CHS#Cheshire#GB-ENG
-geo#GB-CKF#Carrickfergus#GB-NIR
-geo#GB-CKT#Cookstown#GB-NIR
-geo#GB-CLR#Coleraine#GB-NIR
-geo#GB-CLV#Cleveland#GB-ENG
-geo#GB-CMA#Cumbria#GB-ENG
-geo#GB-CON#Cornwall#GB-ENG
-geo#GB-CSR#Castlereagh#GB-NIR
-geo#GB-CWD#Clwyd#GB-WLS
-geo#GB-DBY#Derbyshire#GB-ENG
-geo#GB-DFD#Dyfed#GB-WLS
-geo#GB-DGN#Dungannon#GB-NIR
-geo#GB-DGY#Dumfries & Galloway Region#GB-SCT
-geo#GB-DOR#Dorset#GB-ENG
-geo#GB-DOW#Down#GB-NIR
-geo#GB-DRY#Derry#GB-NIR
-geo#GB-DUR#Durham#GB-ENG
-geo#GB-DVV#Devon#GB-ENG
-geo#GB-ENG#England#GB
-geo#GB-ESS#Essex#GB-ENG
-geo#GB-ESX#East Sussex#GB-ENG
-geo#GB-FER#Fermanagh#GB-NIR
-geo#GB-FIF#Fife Region#GB-SCT
-geo#GB-GLS#Gloucestershire#GB-ENG
-geo#GB-GMP#Grampian Region#GB-SCT
-geo#GB-GNT#Gwent#GB-WLS
-geo#GB-GSY#Guernsey#GB-CHA
-geo#GB-GTL#Greater London#GB-ENG
-geo#GB-GTM#Greater Manchester#GB-ENG
-geo#GB-GWN#Gwynedd#GB-WLS
-geo#GB-HAM#Hampshire#GB-ENG
-geo#GB-HLD#Highland Region#GB-SCT
-geo#GB-HRT#Hertfordshire#GB-ENG
-geo#GB-HUM#Humberside#GB-ENG
-geo#GB-HWR#Hereford And Worcester#GB-ENG
-geo#GB-IOM#Isle Of Man#GB
-geo#GB-IOS#Isles Of Scilly#GB-ENG
-geo#GB-IOW#Isle Of Wight#GB-ENG
-geo#GB-JSY#Jersey#GB-CHA
-geo#GB-KEN#Kent#GB-ENG
-geo#GB-LAN#Lancashire#GB-ENG
-geo#GB-LEC#Leicestershire#GB-ENG
-geo#GB-LIN#Lincolnshire#GB-ENG
-geo#GB-LMV#Limavady#GB-NIR
-geo#GB-LRN#Larne#GB-NIR
-geo#GB-LSB#Lisburn#GB-NIR
-geo#GB-LTN#Lothian Region#GB-SCT
-geo#GB-MFT#Magherafelt#GB-NIR
-geo#GB-MGM#Mid Glamorgan#GB-WLS
-geo#GB-MSY#Merseyside#GB-ENG
-geo#GB-MYL#Moyle#GB-NIR
-geo#GB-NBL#Northumberland#GB-ENG
-geo#GB-NDN#North Down#GB-NIR
-geo#GB-NFK#Norfolk#GB-ENG
-geo#GB-NIR#Northern Ireland#GB
-geo#GB-NTA#Newtonabbey#GB-NIR
-geo#GB-NTH#Northamptonshire#GB-ENG
-geo#GB-NTT#Nottinghamshire#GB-ENG
-geo#GB-NYK#North Yorkshire#GB-ENG
-geo#GB-NYM#Newry And Mourne#GB-NIR
-geo#GB-OMH#Omagh#GB-NIR
-geo#GB-ORK#Orkney#GB-SCT
-geo#GB-OXF#Oxfordshire#GB-ENG
-geo#GB-POW#Powys#GB-WLS
-geo#GB-SCT#Scotland#GB
-geo#GB-SFK#Suffolk#GB-ENG
-geo#GB-SGM#South Glamorgan#GB-WLS
-geo#GB-SHR#Shropshire#GB-ENG
-geo#GB-SOM#Somerset#GB-ENG
-geo#GB-SRY#Surrey#GB-ENG
-geo#GB-STB#Strabane#GB-NIR
-geo#GB-STD#Strathclyde Region#GB-SCT
-geo#GB-STS#Staffordshire#GB-ENG
-geo#GB-SYK#South Yorkshire#GB-ENG
-geo#GB-TAY#Tayside Region#GB-SCT
-geo#GB-TWR#Tyne And Wear#GB-ENG
-geo#GB-WAR#Warwickshire#GB-ENG
-geo#GB-WGM#West Glamorgan#GB-WLS
-geo#GB-WIL#Wiltshire#GB-ENG
-geo#GB-WIS#Western Isles#GB-SCT
-geo#GB-WLS#Wales#GB
-geo#GB-WMD#West Midlands#GB-ENG
-geo#GB-WSX#West Sussex#GB-ENG
-geo#GB-WYK#West Yorkshire#GB-ENG
-geo#GB-ZET#Shetland (Zetland)#GB-SCT
-geo#GD#Grenada#--
-geo#GE#Georgia#--
-geo#GF#French Guiana#--
-geo#GH#Ghana#--
-geo#GI#Gibraltar#--
-geo#GL#Greenland#--
-geo#GM#Gambia#--
-geo#GN#Guinea#--
-geo#GP#Guadeloupe#--
-geo#GQ#Equatorial Guinea#--
-geo#GR#Greece#--
-geo#GS#Georgia & Sandwich Islands#--
-geo#GT#Guatemala#--
-geo#GU#Guam#--
-geo#GW#Guinea-Bissau#--
-geo#GY#Guyana#--
-geo#HK#Hong Kong#--
-geo#HN#Honduras#--
-geo#HR#Croatia#--
-geo#HT#Haiti#--
-geo#HU#Hungary#--
-geo#ID#Indonesia#--
-geo#IE#Ireland#--
-geo#IL#Israel#--
-geo#IN#India#--
-geo#IO#Indian Ocean Territory#--
-geo#IQ#Iraq#--
-geo#IR#"Iran, Islamic Republic of"#--
-geo#IS#Iceland#--
-geo#IT#Italy#--
-geo#IT-21#Piemonte#IT
-geo#IT-AL#Alessandria#IT-21
-geo#IT-AT#Asti#IT-22
-geo#IT-BI#Biella#IT-23
-geo#IT-AO#Aosta Aoste (fr)#IT-23
-geo#IT-CN#Cuneo#IT-24
-geo#IT-NO#Novara#IT-25
-geo#IT-BG#Bergamo#IT-25
-geo#IT-BS#Brescia#IT-25
-geo#IT-CO#Como#IT-25
-geo#IT-CR#Cremona#IT-25
-geo#IT-LC#Lecco#IT-25
-geo#IT-LO#Lodi#IT-25
-geo#IT-MN#Mantova#IT-25
-geo#IT-MI#Milano#IT-25
-geo#IT-PV#Pavia#IT-25
-geo#IT-SO#Sondrio#IT-25
-geo#IT-VA#Varese#IT-25
-geo#IT-TO#Torino#IT-26
-geo#IT-VB#Verbano-Cusio-Ossola#IT-27
-geo#IT-VC#Vercelli#IT-28
-geo#IT-23#Valle d'Aosta#IT
-geo#IT-25#Lombardia#IT
-geo#IT-32#Trentino-Alto Adige#IT
-geo#IT-BZ#Bolzano Bozen (de)#IT-32
-geo#IT-TN#Trento#IT-32
-geo#IT-34#Veneto#IT
-geo#IT-BL#Belluno#IT-34
-geo#IT-PD#Padova#IT-34
-geo#IT-RO#Rovigo#IT-34
-geo#IT-TV#Treviso#IT-34
-geo#IT-VE#Venezia#IT-34
-geo#IT-VR#Verona#IT-34
-geo#IT-VI#Vicenza#IT-34
-geo#IT-36#Friuli-Venezia Giulia#IT
-geo#IT-GO#Gorizia#IT-36
-geo#IT-PN#Pordenone#IT-36
-geo#IT-TS#Trieste#IT-36
-geo#IT-UD#Udine#IT-36
-geo#IT-42#Liguria#IT
-geo#IT-GE#Genova#IT-42
-geo#IT-IM#Imperia#IT-42
-geo#IT-SP#La Spezia#IT-42
-geo#IT-SV#Savona#IT-42
-geo#IT-45#Emilia-Romagna#IT
-geo#IT-BO#Bologna#IT-45
-geo#IT-FE#Ferrara#IT-45
-geo#IT-FO#Forlì#IT-45
-geo#IT-MO#Modena#IT-45
-geo#IT-PR#Parma#IT-45
-geo#IT-PC#Piacenza#IT-45
-geo#IT-RA#Ravenna#IT-45
-geo#IT-RE#Reggio Emilia#IT-45
-geo#IT-RN#Rimini#IT-45
-geo#IT-52#Toscana#IT
-geo#IT-AR#Arezzo#IT-52
-geo#IT-FI#Firenze#IT-52
-geo#IT-GR#Grosseto#IT-52
-geo#IT-LI#Livorno#IT-52
-geo#IT-LU#Lucca#IT-52
-geo#IT-MS#Massa-Carrara#IT-52
-geo#IT-PI#Pisa#IT-52
-geo#IT-PT#Pistoia#IT-52
-geo#IT-PO#Prato#IT-52
-geo#IT-SI#Siena#IT-52
-geo#IT-55#Umbria#IT
-geo#IT-PG#Perugia#IT-55
-geo#IT-TR#Terni#IT-55
-geo#IT-57#Marche#IT
-geo#IT-AN#Ancona#IT-57
-geo#IT-AP#Ascoli Piceno#IT-57
-geo#IT-MC#Macerata#IT-57
-geo#IT-PS#Pesaro e Urbino#IT-57
-geo#IT-62#Lazio#IT
-geo#IT-FR#Frosinone#IT-62
-geo#IT-LT#Latina#IT-62
-geo#IT-RI#Rieti#IT-62
-geo#IT-RM#Roma#IT-62
-geo#IT-VT#Viterbo#IT-62
-geo#IT-65#Abruzzo#IT
-geo#IT-CH#Chieti#IT-65
-geo#IT-AQ#L'Aquila#IT-65
-geo#IT-PE#Pescara#IT-65
-geo#IT-TE#Teramo#IT-65
-geo#IT-67#Molise#IT
-geo#IT-CB#Campobasso#IT-67
-geo#IT-IS#Isernia#IT-67
-geo#IT-72#Campania#IT
-geo#IT-BN#Benevento#IT-72
-geo#IT-CE#Caserta#IT-72
-geo#IT-NA#Napoli#IT-72
-geo#IT-SA#Salerno#IT-72
-geo#IT-AV#Avellino#IT-72
-geo#IT-75#Puglia#IT
-geo#IT-BA#Bari#IT-75
-geo#IT-BR#Brindisi#IT-75
-geo#IT-FG#Foggia#IT-75
-geo#IT-LE#Lecce#IT-75
-geo#IT-TA#Taranto#IT-75
-geo#IT-77#Basilicata#IT
-geo#IT-MT#Matera#IT-77
-geo#IT-PZ#Potenza#IT-77
-geo#IT-78#Calabria#IT
-geo#IT-CZ#Catanzaro#IT-78
-geo#IT-CS#Cosenza#IT-78
-geo#IT-KR#Crotone#IT-78
-geo#IT-RC#Reggio Calabria#IT-78
-geo#IT-VV#Vibo Valentia#IT-78
-geo#IT-82#Sicilia#IT
-geo#IT-AG#Agrigento#IT-82
-geo#IT-CL#Caltanissetta#IT-82
-geo#IT-CT#Catania#IT-82
-geo#IT-EN#Enna#IT-82
-geo#IT-ME#Messina#IT-82
-geo#IT-PA#Palermo#IT-82
-geo#IT-RG#Ragusa#IT-82
-geo#IT-SR#Siracusa#IT-82
-geo#IT-TP#Trapani#IT-82
-geo#IT-88#Sardegna#IT
-geo#IT-CA#Cagliari#IT-88
-geo#IT-NU#Nuoro#IT-88
-geo#IT-OR#Oristano#IT-88
-geo#IT-SS#Sassari#IT-88
-geo#JM#Jamaica#--
-geo#JO#Jordan#--
-geo#JP#Japan#--
-geo#JP-01#Hokkaido#JP
-geo#JP-02#Aomori#JP
-geo#JP-03#Iwate#JP
-geo#JP-04#Miyagi#JP
-geo#JP-05#Akita#JP
-geo#JP-06#Yamagata#JP
-geo#JP-07#Hukusima (Fukushima)#JP
-geo#JP-08#Ibaraki#JP
-geo#JP-09#Totigi (Tochigi)#JP
-geo#JP-10#Gunma#JP
-geo#JP-11#Saitama#JP
-geo#JP-12#Tiba (Chiba)#JP
-geo#JP-13#Tokyo#JP
-geo#JP-14#Kanagawa#JP
-geo#JP-15#Niigata#JP
-geo#JP-16#Toyama#JP
-geo#JP-17#Isikawa (Ishikawa)#JP
-geo#JP-18#Hukui (Fukui)#JP
-geo#JP-19#Yamanasi (Yamanashi)#JP
-geo#JP-20#Nagano#JP
-geo#JP-21#Gihu (Gifu)#JP
-geo#JP-22#Sizuoka (Shizuoka)#JP
-geo#JP-23#Aiti (Aichi)#JP
-geo#JP-24#Mie#JP
-geo#JP-25#Siga (Shiga)#JP
-geo#JP-26#Kyoto#JP
-geo#JP-27#Osaka#JP
-geo#JP-28#Hyogo#JP
-geo#JP-29#Nara#JP
-geo#JP-30#Wakayama#JP
-geo#JP-31#Tottori#JP
-geo#JP-32#Simane (Shimane)#JP
-geo#JP-33#Okayama#JP
-geo#JP-34#Hirosima (Hiroshima)#JP
-geo#JP-35#Yamaguti (Yamaguchi)#JP
-geo#JP-36#Tokusima (Tokushima)#JP
-geo#JP-37#Kagawa#JP
-geo#JP-38#Ehime#JP
-geo#JP-39#Koti (Kochi)#JP
-geo#JP-40#Hukuoka (Fukuoka)#JP
-geo#JP-41#Saga#JP
-geo#JP-42#Nagasaki#JP
-geo#JP-43#Kumamoto#JP
-geo#JP-44#Oita#JP
-geo#JP-45#Miyazaki#JP
-geo#JP-46#Kagosima (Kagoshima)#JP
-geo#JP-47#Okinawa#JP
-geo#KE#Kenya#--
-geo#KG#Kyrgyzstan#--
-geo#KH#Cambodia#--
-geo#KI#Kiribati#--
-geo#KM#Comoros#--
-geo#KN#St Kitts-Nevis#--
-geo#KP#"Korea, Dem People's Republic"#--
-geo#KR#"Korea, Republic of"#--
-geo#KR-11#Seoul Teugbyeolsi#KR
-geo#KR-26#Busan Gwang'yeogsi#KR
-geo#KR-27#Daegu Gwang'yeogsi#KR
-geo#KR-30#Daejeon Gwang'yeogsi#KR
-geo#KR-29#Gwangju Gwang'yeogsi#KR
-geo#KR-28#Incheon Gwang'yeogsi#KR
-geo#KR-31#Ulsan Gwang'yeogsi#KR
-geo#KR-43#Chungcheongbugdo#KR
-geo#KR-44#Chungcheongnamdo#KR
-geo#KR-42#Gang'weondo#KR
-geo#KR-41#Gyeonggido#KR
-geo#KR-47#Gyeongsangbugdo#KR
-geo#KR-48#Gyeongsangnamdo#KR
-geo#KR-49#Jejudo#KR
-geo#KR-45#Jeonrabugdo#KR
-geo#KR-46#Jeonranamdo#KR
-geo#KW#Kuwait#--
-geo#KY#Cayman Islands#--
-geo#KZ#Kazakhstan#--
-geo#LA#Lao People's Democratic Republic#--
-geo#LB#Lebanon#--
-geo#LC#Saint Lucia#--
-geo#LI#Liechtenstein#--
-geo#LK#Sri Lanka#--
-geo#LR#Liberia#--
-geo#LS#Lesotho#--
-geo#LT#Lithuania#--
-geo#LU#Luxembourg#--
-geo#LV#Latvia#--
-geo#LY#Lybian Arab Jamahiriya#--
-geo#MA#Morocco#--
-geo#MC#Monaco#--
-geo#MD#Moldova#--
-geo#MG#Madagascar#--
-geo#MH#Marshall Islands#--
-geo#MK#Former Yugoslav Republic Of Macedonia#--
-geo#ML#Mali#--
-geo#MM#Myanmar (Former Burma)#--
-geo#MN#Mongolia#--
-geo#MO#Macau#--
-geo#MP#Northern Marianas#--
-geo#MQ#Martinique#--
-geo#MR#Mauritania#--
-geo#MS#Montserrat#--
-geo#MT#Malta#--
-geo#MU#Mauritius#--
-geo#MV#Maldives#--
-geo#MW#Malawi#--
-geo#MX#Mexico#--
-geo#MX-AGU#Aguascalientes#MX
-geo#MX-BCN#Baja California#MX
-geo#MX-BCS#Baja California Sur#MX
-geo#MX-CAM#Campeche#MX
-geo#MX-CHH#Chihuahua#MX
-geo#MX-CHP#Chiapas#MX
-geo#MX-COA#Coahuila#MX
-geo#MX-COL#Colima#MX
-geo#MX-DF#Distrito Federal#MX
-geo#MX-DUR#Durango#MX
-geo#MX-GRO#Guerrero#MX
-geo#MX-GUA#Guanajuato#MX
-geo#MX-HID#Hidalgo#MX
-geo#MX-JAL#Jalisco#MX
-geo#MX-MEX#Mexico#MX
-geo#MX-MIC#Michoacan#MX
-geo#MX-MOR#Morelos#MX
-geo#MX-NAY#Nayarit#MX
-geo#MX-NLE#Nuevo Leon#MX
-geo#MX-OAX#Oaxaca#MX
-geo#MX-PUE#Puebla#MX
-geo#MX-QUE#Queretaro#MX
-geo#MX-ROO#Quintana Roo#MX
-geo#MX-SIN#Sinaloa#MX
-geo#MX-SLP#San Luis Potosi#MX
-geo#MX-SON#Sonora#MX
-geo#MX-TAB#Tabasco#MX
-geo#MX-TAM#Tamaulipas#MX
-geo#MX-TLA#Tlaxcala#MX
-geo#MX-VER#Veracruz#MX
-geo#MX-YUC#Yucatan#MX
-geo#MX-ZAC#Zacatecas#MX
-geo#MY#Malaysia#--
-geo#MZ#Mozambique#--
-geo#NA#Namibia#--
-geo#NC#New Caledonia#--
-geo#NE#Niger#--
-geo#NF#Norfolk Island#--
-geo#NG#Nigeria#--
-geo#NG-FC#Abuja Capital Territory#NG
-geo#NG-AB#Abia#NG
-geo#NG-AD#Adamawa#NG
-geo#NG-AK#Akwa Ibom#NG
-geo#NG-AN#Anambra#NG
-geo#NG-BA#Bauchi#NG
-geo#NG-BY#Bayelsa#NG
-geo#NG-BE#Benue#NG
-geo#NG-BO#Borno#NG
-geo#NG-CR#Cross River#NG
-geo#NG-DE#Delta#NG
-geo#NG-EB#Ebonyi#NG
-geo#NG-ED#Edo#NG
-geo#NG-EK#Ekiti#NG
-geo#NG-EN#Enugu#NG
-geo#NG-GO#Gombe#NG
-geo#NG-IM#Imo#NG
-geo#NG-JI#Jigawa#NG
-geo#NG-KD#Kaduna#NG
-geo#NG-KN#Kano#NG
-geo#NG-KT#Katsina#NG
-geo#NG-KE#Kebbi#NG
-geo#NG-KO#Kogi#NG
-geo#NG-KW#Kwara#NG
-geo#NG-LA#Lagos#NG
-geo#NG-NA#Nassarawa#NG
-geo#NG-NI#Niger#NG
-geo#NG-OG#Ogun#NG
-geo#NG-ON#Ondo#NG
-geo#NG-OS#Osun#NG
-geo#NG-OY#Oyo#NG
-geo#NG-PL#Plateau#NG
-geo#NG-RI#Rivers#NG
-geo#NG-SO#Sokoto#NG
-geo#NG-TA#Taraba#NG
-geo#NG-YO#Yobe#NG
-geo#NG-ZA#Zamfara#NG
-geo#NI#Nicaragua#--
-geo#NL#Netherlands#--
-geo#NO#Norway#--
-geo#NO-01#Østfold#NO
-geo#NO-02#Akershus#NO
-geo#NO-03#Oslo#NO
-geo#NO-04#Hedmark#NO
-geo#NO-05#Oppland#NO
-geo#NO-06#Buskerud#NO
-geo#NO-07#Vestfold#NO
-geo#NO-08#Telemark#NO
-geo#NO-09#Aust-Agder#NO
-geo#NO-10#Vest-Agder#NO
-geo#NO-11#Rogaland#NO
-geo#NO-12#Nordaland#NO
-geo#NO-14#Sogn Og Fjordane#NO
-geo#NO-15#Møre Og Romsdal#NO
-geo#NO-16#Sør-Trøndelag#NO
-geo#NO-17#Nord-Trøndelag#NO
-geo#NO-18#Nordland#NO
-geo#NO-19#Troms#NO
-geo#NO-20#Finnmark#NO
-geo#NP#Nepal#--
-geo#NR#Nauru#--
-geo#NU#Niue#--
-geo#NZ#New Zealand#--
-geo#NZ-AUK#Auckland#NZ-N
-geo#NZ-BOP#Bay Of Plenty#NZ-N
-geo#NZ-CAN#Canterbury#NZ-S
-geo#NZ-GIS#Gisborne#NZ-N
-geo#NZ-HKB#Hawkes'S Bay#NZ-N
-geo#NZ-MBH#Marlborough#NZ-S
-geo#NZ-MWT#Manawatu-Wanganui#NZ-N
-geo#NZ-N#North Island#NZ
-geo#NZ-NSN#Nelson#NZ-S
-geo#NZ-NTL#Northland#NZ-N
-geo#NZ-OTA#Otago#NZ-S
-geo#NZ-S#South Island#NZ
-geo#NZ-STL#Southland#NZ-S
-geo#NZ-TAS#Tasman#NZ-S
-geo#NZ-TKI#Taranaki#NZ-N
-geo#NZ-WGN#Wellington#NZ-N
-geo#NZ-WKO#Waikato#NZ-N
-geo#NZ-WTC#West Coast#NZ-S
-geo#OM#Oman#--
-geo#PA#Panama#--
-geo#PE#Peru#--
-geo#PF#French Polynesia#--
-geo#PG#Papua New Guinea#--
-geo#PH#Philippines#--
-geo#PK#Pakistan#--
-geo#PL#Poland#--
-geo#PL-DS#Dolnośląskie#PL
-geo#PL-KP#Kujawsko-pomorskie#PL
-geo#PL-LU#Lubelskie#PL
-geo#PL-LB#Lubuskie#PL
-geo#PL-LD#Åódzkie#PL
-geo#PL-MA#Małopolskie#PL
-geo#PL-MZ#Mazowieckie#PL
-geo#PL-OP#Opolskie#PL
-geo#PL-PK#Podkarpackie#PL
-geo#PL-PD#Podlaskie#PL
-geo#PL-PM#Pomorskie#PL
-geo#PL-SL#ÅšlÄ…skie#PL
-geo#PL-SK#Świętokrzyskie#PL
-geo#PL-WN#Warmińsko-mazurskie#PL
-geo#PL-WP#Wielkopolskie#PL
-geo#PL-ZP#Zachodniopomorskie#PL
-geo#PM#St Pierre And Miquelon#--
-geo#PN#Pitcairn#--
-geo#PR#Puerto Rico#--
-geo#PS#"Palestinian Territory, Occupied"#--
-geo#PT#Portugal#--
-geo#PW#Palau#--
-geo#PY#Paraguay#--
-geo#QA#Qatar#--
-geo#RE#Reunion#--
-geo#RO#Romania#--
-geo#RO-B#BucureÅŸti#RO
-geo#RO-AB#Alba#RO
-geo#RO-AR#Arad#RO
-geo#RO-AG#ArgeÅŸ#RO
-geo#RO-BC#Bacău#RO
-geo#RO-BH#Bihor#RO
-geo#RO-BN#Bistriţa-Năsăud#RO
-geo#RO-BT#BotoÅŸani#RO
-geo#RO-BV#BraÅŸov#RO
-geo#RO-BR#Brăila#RO
-geo#RO-BZ#Buzău#RO
-geo#RO-CS#CaraÅŸ-Severin#RO
-geo#RO-CL#Călăraşi#RO
-geo#RO-CJ#Cluj#RO
-geo#RO-CT#Constanţa#RO
-geo#RO-CV#Covasna#RO
-geo#RO-DB#Dâmboviţa#RO
-geo#RO-DJ#Dolj#RO
-geo#RO-GL#Galaţi#RO
-geo#RO-GR#Giurgiu#RO
-geo#RO-GJ#Gorj#RO
-geo#RO-HR#Harghita#RO
-geo#RO-HD#Hunedoara#RO
-geo#RO-IL#Ialomiţa#RO
-geo#RO-IS#IaÅŸi#RO
-geo#RO-MM#MaramureÅŸ#RO
-geo#RO-MH#Mehedinţi#RO
-geo#RO-MS#MureÅŸ#RO
-geo#RO-NT#Neamţ#RO
-geo#RO-OT#Olt#RO
-geo#RO-PH#Prahova#RO
-geo#RO-SM#Satu Mare#RO
-geo#RO-SJ#Sălaj#RO
-geo#RO-SB#Sibiu#RO
-geo#RO-SV#Suceava#RO
-geo#RO-TR#Teleorman#RO
-geo#RO-TM#TimiÅŸ#RO
-geo#RO-TL#Tulcea#RO
-geo#RO-VS#Vaslui#RO
-geo#RO-VL#Vâlcea#RO
-geo#RO-VN#Vrancea#RO
-geo#RU#Russian Federation#--
-geo#RU-AD#"Adygeja, Respublika"#RU
-geo#RU-AL#"Altaj, Respublika"#RU
-geo#RU-BA#"Baškortostan, Respublika"#RU
-geo#RU-BU#"Burjatija, Respublika"#RU
-geo#RU-CE#ÄŒeÄenskaja Respublika#RU
-geo#RU-CU#Čuvašskaja Respublika#RU
-geo#RU-DA#"Dagestan, Respublika"#RU
-geo#RU-IN#Ingušskaja Respublika [Respublika Ingušetija]#RU
-geo#RU-KB#Kabardino-Balkarskaja Respublika#RU
-geo#RU-KL#"Kalmykija, Respublika"#RU
-geo#RU-KC#KaraÄajevo-ÄŒerkesskaja Respublika#RU
-geo#RU-KR#"Karelija, Respublika"#RU
-geo#RU-KK#"Hakasija, Respublika"#RU
-geo#RU-KO#"Komi, Respublika"#RU
-geo#RU-ME#"Marij Èl, Respublika"#RU
-geo#RU-MO#"Mordovija, Respublika"#RU
-geo#RU-SA#"Saha, Respublika [Jakutija]"#RU
-geo#RU-SE#"Severnaja Osetija, Respublika [Alanija] [Respublika Severnaja Osetija-Alanija]"#RU
-geo#RU-TA#"Tatarstan, Respublika"#RU
-geo#RU-TY#"Tyva, Respublika [Tuva]"#RU
-geo#RU-UD#Udmurtskaja Respublika#RU
-geo#RU-ALT#Altajskij kraj#RU
-geo#RU-KHA#Habarovskij kraj#RU
-geo#RU-KDA#Krasnodarskij kraj#RU
-geo#RU-KYA#Krasnojarskij kraj#RU
-geo#RU-PRI#Primorskij kraj#RU
-geo#RU-STA#Stavropol'skij kraj#RU
-geo#RU-AMU#Amurskaja oblast'#RU
-geo#RU-ARK#Arhangel'skaja oblast'#RU
-geo#RU-AST#Astrahanskaja oblast'#RU
-geo#RU-BEL#Belgorodskaja oblast'#RU
-geo#RU-BRY#Brjanskaja oblast'#RU
-geo#RU-CHE#ÄŒeljabinskaja oblast'#RU
-geo#RU-CHI#ÄŒitinskaja oblast'#RU
-geo#RU-IRK#Irkutskaja oblast'#RU
-geo#RU-IVA#Ivanovskaja oblast'#RU
-geo#RU-KGD#Kaliningradskaja oblast'#RU
-geo#RU-KLU#Kalužskaja oblast'#RU
-geo#RU-KAM#KamÄatskaja oblast'#RU
-geo#RU-KEM#Kemerovskaja oblast'#RU
-geo#RU-KIR#Kirovskaja oblast'#RU
-geo#RU-KOS#Kostromskaja oblast'#RU
-geo#RU-KGN#Kurganskaja oblast'#RU
-geo#RU-KRS#Kurskaja oblast'#RU
-geo#RU-LEN#Leningradskaja oblast'#RU
-geo#RU-LIP#Lipetskaja oblast'#RU
-geo#RU-MAG#Magadanskaja oblast'#RU
-geo#RU-MOS#Moskovskaja oblast'#RU
-geo#RU-MUR#Murmanskaja oblast'#RU
-geo#RU-NIZ#Nižegorodskaja oblast'#RU
-geo#RU-NGR#Novgorodskaja oblast'#RU
-geo#RU-NVS#Novosibirskaja oblast'#RU
-geo#RU-OMS#Omskaja oblast'#RU
-geo#RU-ORE#Orenburgskaja oblast'#RU
-geo#RU-ORL#Orlovskaja oblast'#RU
-geo#RU-PNZ#Penzenskaja oblast'#RU
-geo#RU-PER#Permskaja oblast'#RU
-geo#RU-PSK#Pskovskaja oblast'#RU
-geo#RU-ROS#Rostovskaja oblast'#RU
-geo#RU-RYA#Rjazanskaja oblast'#RU
-geo#RU-SAK#Sahalinskaja oblast'#RU
-geo#RU-SAM#Samarskaja oblast'#RU
-geo#RU-SAR#Saratovskaja oblast'#RU
-geo#RU-SMO#Smolenskaja oblast'#RU
-geo#RU-SVE#Sverdlovskaja oblast'#RU
-geo#RU-TAM#Tambovskaja oblast'#RU
-geo#RU-TOM#Tomskaja oblast'#RU
-geo#RU-TUL#Tul'skaja oblast'#RU
-geo#RU-TVE#Tverskaja oblast'#RU
-geo#RU-TYU#Tjumenskaja oblast'#RU
-geo#RU-ULY#Ul'janovskaja oblast'#RU
-geo#RU-VLA#Vladimirskaja oblast'#RU
-geo#RU-VGG#Volgogradskaja oblast'#RU
-geo#RU-VLG#Vologodskaja oblast'#RU
-geo#RU-VOR#Voronežskaja oblast'#RU
-geo#RU-YAR#Jaroslavskaja oblast'#RU
-geo#RU-MOW#Moskva#RU
-geo#RU-SPE#Sankt-Peterburg#RU
-geo#RU-YEV#Evrejskaja avtonomnaja oblast'#RU
-geo#RU-AGB#Aginskij Burjatskij avtonomnyj okrug#RU
-geo#RU-CHU#ÄŒukotskij avtonomnyj okrug#RU
-geo#RU-EVE#Èvenkijskij avtonomnyj okrug#RU
-geo#RU-KHM#Hanty-Mansijskij avtonomnyj okrug#RU
-geo#RU-KOP#Komi-Permjatskij avtonomnyj okrug#RU
-geo#RU-KOR#Korjakskij avtonomnyj okrug#RU
-geo#RU-NEN#Nenetskij avtonomnyj okrug#RU
-geo#RU-TAY#Tajmyrskij (Dolgano-Nenetskij) avtonomnyj okrug#RU
-geo#RU-UOB#Ust'-Ordynskij Burjatskij avtonomnyj okrug#RU
-geo#RU-YAN#Jamalo-Nenetskij avtonomnyj okrug#RU
-geo#RW#Rwanda#--
-geo#SA#Saudi Arabia#--
-geo#SB#Solomon Islands#--
-geo#SC#Seychelles#--
-geo#SD#Sudan#--
-geo#SE#Sweden#--
-geo#SE-AB#Stockholms Län#SE
-geo#SE-AC#Västerbottens Län#SE
-geo#SE-BD#Norrbottens Län#SE
-geo#SE-C#Uppsala Län#SE
-geo#SE-D#Södermanlands Län#SE
-geo#SE-E#Östergötlands Län#SE
-geo#SE-F#Jönköpings Län#SE
-geo#SE-G#Kronoborgs Län#SE
-geo#SE-H#Kalmar Län#SE
-geo#SE-I#Gotlands Län#SE
-geo#SE-K#Blekinge Län#SE
-geo#SE-M#Skåne Län#SE
-geo#SE-N#Hallands Län#SE
-geo#SE-O#Västra Götalands Län#SE
-geo#SE-S#Värmlands Län#SE
-geo#SE-T#Örebro Län#SE
-geo#SE-U#Västmanlands Län#SE
-geo#SE-W#Dalarnes Län#SE
-geo#SE-X#Gävleborgs Län#SE
-geo#SE-Y#Västernorrlands Län#SE
-geo#SE-Z#Jämtlands Län#SE
-geo#SG#Singapore#--
-geo#SH#St Helena#--
-geo#SI#Slovenia#--
-geo#SJ#Svalbard And Jan Mayen#--
-geo#SK#Slovakia#--
-geo#SL#Sierra Leone#--
-geo#SM#San Marino#--
-geo#SN#Senegal#--
-geo#SO#Somalia#--
-geo#SR#Suriname#--
-geo#ST#Sao Tome And Principe#--
-geo#SV#El Salvador#--
-geo#SY#Syrian Arab Republic#--
-geo#SZ#Swaziland#--
-geo#TC#Turks And Caicos Islands#--
-geo#TD#Chad#--
-geo#TF#French Southern Territories#--
-geo#TG#Togo#--
-geo#TH#Thailand#--
-geo#TJ#Tajikistan#--
-geo#TM#Turkmenistan#--
-geo#TN#Tunisia#--
-geo#TO#Tonga#--
-geo#TP#East Timor#--
-geo#TR#Turkey#--
-geo#TR-01#Adana#TR
-geo#TR-02#Adıyaman#TR
-geo#TR-03#Afyon#TR
-geo#TR-04#Ağrı#TR
-geo#TR-05#Amasya#TR
-geo#TR-06#Ankara#TR
-geo#TR-07#Antalya#TR
-geo#TR-08#Artvin#TR
-geo#TR-09#Aydın#TR
-geo#TR-10#Balıkesir#TR
-geo#TR-11#Bilecik#TR
-geo#TR-12#Bingöl#TR
-geo#TR-13#Bitlis#TR
-geo#TR-14#Bolu#TR
-geo#TR-15#Burdur#TR
-geo#TR-16#Bursa#TR
-geo#TR-17#Çanakkale#TR
-geo#TR-18#Çankırı#TR
-geo#TR-19#Çorum#TR
-geo#TR-20#Denizli#TR
-geo#TR-21#Diyarbakır#TR
-geo#TR-22#Edirne#TR
-geo#TR-23#Elazıg#TR
-geo#TR-24#Erzincan#TR
-geo#TR-25#Erzurum#TR
-geo#TR-26#EskiÅŸehir#TR
-geo#TR-27#Gaziantep#TR
-geo#TR-28#Giresun#TR
-geo#TR-29#Gümüşhane#TR
-geo#TR-30#Hakkâri#TR
-geo#TR-31#Hatay#TR
-geo#TR-32#Isparta#TR
-geo#TR-33#İçel#TR
-geo#TR-34#Ä°stanbul#TR
-geo#TR-35#Ä°zmir#TR
-geo#TR-36#Kars#TR
-geo#TR-37#Kastamonu#TR
-geo#TR-38#Kayseri#TR
-geo#TR-39#Kırklareli#TR
-geo#TR-40#Kırşehir#TR
-geo#TR-41#Kocaeli#TR
-geo#TR-42#Konya#TR
-geo#TR-43#Kütahya#TR
-geo#TR-44#Malatya#TR
-geo#TR-45#Manisa#TR
-geo#TR-46#KahramanmaraÅŸ#TR
-geo#TR-47#Mardin#TR
-geo#TR-48#MuÄŸla#TR
-geo#TR-49#MuÅŸ#TR
-geo#TR-50#NevÅŸehir#TR
-geo#TR-51#NiÄŸde#TR
-geo#TR-52#Ordu#TR
-geo#TR-53#Rize#TR
-geo#TR-54#Sakarya#TR
-geo#TR-55#Samsun#TR
-geo#TR-56#Siirt#TR
-geo#TR-57#Sinop#TR
-geo#TR-58#Sivas#TR
-geo#TR-59#TekirdaÄŸ#TR
-geo#TR-60#Tokat#TR
-geo#TR-61#Trabzon#TR
-geo#TR-62#Tunceli#TR
-geo#TR-63#Şanlıurfa#TR
-geo#TR-64#UÅŸak#TR
-geo#TR-65#Van#TR
-geo#TR-66#Yozgat#TR
-geo#TR-67#Zonguldak#TR
-geo#TR-68#Aksaray#TR
-geo#TR-69#Bayburt#TR
-geo#TR-70#Karaman#TR
-geo#TR-71#Kırıkkale#TR
-geo#TR-72#Batman#TR
-geo#TR-73#Şırnak#TR
-geo#TR-74#Bartın#TR
-geo#TR-75#Ardahan#TR
-geo#TR-76#Iğdır#TR
-geo#TR-77#Yalova#TR
-geo#TR-78#Karabük#TR
-geo#TR-79#Kilis#TR
-geo#TR-80#Osmaniye#TR
-geo#TT#Trinidad And Tobago#--
-geo#TV#Tuvalu#--
-geo#TW#"Taiwan, Province Of China"#--
-geo#TZ#"Tanzania, United Republic of"#--
-geo#UA#Ukraine#--
-geo#UG#Uganda#--
-geo#UM#US Minor Outlying Islands#--
-geo#UM-67#Johnston Atoll#UM
-geo#UM-71#Midway Islands#UM
-geo#UM-76#Navassa Island#UM
-geo#UM-79#Wake Island#UM
-geo#UM-81#Baker Island#UM
-geo#UM-84#Howland Island#UM
-geo#UM-86#Jarvis Island#UM
-geo#UM-89#Kingman Reef#UM
-geo#UM-95#Palmyra Atoll#UM
-geo#US#United States#--
-geo#US-AK#Alaska#US
-geo#US-AL#Alabama#US
-geo#US-AR#Arkansas#US
-geo#US-AS#American Samoa#US
-geo#US-AZ#Arizona#US
-geo#US-CA#California#US
-geo#US-CO#Colorado#US
-geo#US-CT#Connecticut#US
-geo#US-DC#District Of Columbia#US
-geo#US-DE#Delaware#US
-geo#US-FL#Florida#US
-geo#US-GA#Georgia#US
-geo#US-GU#Guam#US
-geo#US-HI#Hawaii#US
-geo#US-IA#Iowa#US
-geo#US-ID#Idaho#US
-geo#US-IL#Illinois#US
-geo#US-IN#Indiana#US
-geo#US-KS#Kansas#US
-geo#US-KY#Kentucky#US
-geo#US-LA#Louisiana#US
-geo#US-MA#Massachusetts#US
-geo#US-MD#Maryland#US
-geo#US-ME#Maine#US
-geo#US-MI#Michigan#US
-geo#US-MN#Minnesota#US
-geo#US-MO#Missouri#US
-geo#US-MP#Northern Mariana Islands#US
-geo#US-MS#Mississippi#US
-geo#US-MT#Montana#US
-geo#US-NC#North Carolina#US
-geo#US-ND#North Dakota#US
-geo#US-NE#Nebraska#US
-geo#US-NH#New Hampshire#US
-geo#US-NJ#New Jersey#US
-geo#US-NM#New Mexico#US
-geo#US-NV#Nevada#US
-geo#US-NY#New York#US
-geo#US-OH#Ohio#US
-geo#US-OK#Oklahoma#US
-geo#US-OR#Oregon#US
-geo#US-PA#Pennsylvania#US
-geo#US-PR#Puerto Rico#US
-geo#US-RI#Rhode Island#US
-geo#US-SC#South Carolina#US
-geo#US-SD#South Dakota#US
-geo#US-TN#Tennessee#US
-geo#US-TX#Texas#US
-geo#US-UM#U.S. Minor Outlying Islands#US
-geo#US-UT#Utah#US
-geo#US-VA#Virginia#US
-geo#US-VI#Virgin Islands Of The U.S.#US
-geo#US-VT#Vermont#US
-geo#US-WA#Washington#US
-geo#US-WI#Wisconsin#US
-geo#US-WV#West Virginia#US
-geo#US-WY#Wyoming#US
-geo#UY#Uruguay#--
-geo#UZ#Uzbekistan#--
-geo#VA#Vatican City State#--
-geo#VC#St Vincent And Grenadines#--
-geo#VE#Venezuela#--
-geo#VG#"Virgin Islands, British"#--
-geo#VI#United States Virgin Islands#--
-geo#VN#Viet Nam#--
-geo#VN-01#Lai Chau#VN
-geo#VN-02#Lao Cai#VN
-geo#VN-03#Ha Giang#VN
-geo#VN-04#Cao Bang#VN
-geo#VN-05#Son La#VN
-geo#VN-06#Yen Bai#VN
-geo#VN-07#Tuyen Quang#VN
-geo#VN-09#Lang Son#VN
-geo#VN-13#Quang Ninh#VN
-geo#VN-14#Hoa Binh#VN
-geo#VN-15#Ha Tay#VN
-geo#VN-18#Ninh Binh#VN
-geo#VN-20#Thai Binh#VN
-geo#VN-21#Thanh Hoa#VN
-geo#VN-22#Nghe An#VN
-geo#VN-23#Ha Tinh#VN
-geo#VN-24#Quang Binh#VN
-geo#VN-25#Quang Tri#VN
-geo#VN-26#Thua Thien-Hue#VN
-geo#VN-27#Quang Nam#VN
-geo#VN-28#Kon Tum#VN
-geo#VN-29#Quang Ngai#VN
-geo#VN-30#Gia Lai#VN
-geo#VN-31#Binh Dinh#VN
-geo#VN-32#Phu Yen#VN
-geo#VN-33#Dac Lac#VN
-geo#VN-34#Khanh Hoa#VN
-geo#VN-35#Lam Dong#VN
-geo#VN-36#Ninh Thuan#VN
-geo#VN-37#Tay Ninh#VN
-geo#VN-39#Dong Nai#VN
-geo#VN-40#Binh Thuan#VN
-geo#VN-41#Long An#VN
-geo#VN-43#Ba Ria - Vung Tau#VN
-geo#VN-44#An Giang#VN
-geo#VN-45#Dong Thap#VN
-geo#VN-46#Tien Giang#VN
-geo#VN-47#Kien Giang#VN
-geo#VN-48#Can Tho#VN
-geo#VN-49#Vinh Long#VN
-geo#VN-50#Ben Tre#VN
-geo#VN-51#Tra Vinh#VN
-geo#VN-52#Soc Trang#VN
-geo#VN-53#Bac Can#VN
-geo#VN-54#Bac Giang#VN
-geo#VN-55#Bac Lieu#VN
-geo#VN-56#Bac Ninh#VN
-geo#VN-57#Binh Duong#VN
-geo#VN-58#Binh Phuoc#VN
-geo#VN-59#Ca Mau#VN
-geo#VN-60#"Da Nang, thanh pho"#VN
-geo#VN-61#Hai Duong#VN
-geo#VN-62#"Hai Phong, thanh pho"#VN
-geo#VN-63#Ha Nam#VN
-geo#VN-64#"Ha Noi, thu do"#VN
-geo#VN-65#"Ho Chi Minh, thanh po [Sai Gon]"#VN
-geo#VN-66#Hung Yen#VN
-geo#VN-67#Nam Dinh#VN
-geo#VN-68#Phu Tho#VN
-geo#VN-69#Thai Nguyen#VN
-geo#VN-70#Vinh Phuc#VN
-geo#VU#Vanuatu#--
-geo#WF#Wallis And Futuna Islands#--
-geo#WS#Samoa#--
-geo#YE#Yemen#--
-geo#YT#Mayotte#--
-geo#YU#Yugoslavia (Fed Rep Of)#--
-geo#YU-CG#Crna Gora#YU
-geo#YU-SR#Srbija#YU
-geo#YU-KM#Kosovo-Metohija#YU-SR
-geo#YU-VO#Vojvodina#YU-SR
-geo#ZA#South Africa#--
-geo#ZM#Zambia#--
-geo#ZW#Zimbabwe#--
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/naics-data.txt b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/naics-data.txt
deleted file mode 100644
index b46f905a9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/naics-data.txt
+++ /dev/null
@@ -1,1814 +0,0 @@
-naics#11#Agriculture, Forestry, Fishing and Hunting#11
-naics#111#Crop Production#11
-naics#1111#Oilseed and Grain Farming#111
-naics#11111#Soybean Farming#1111
-naics#11112#Oilseed (except Soybean) Farming#1111
-naics#11113#Dry Pea and Bean Farming#1111
-naics#11114#Wheat Farming#1111
-naics#11115#Corn Farming#1111
-naics#11116#Rice Farming#1111
-naics#11119#Other Grain Farming#1111
-naics#111191#Oilseed and Grain Combination Farming#11119
-naics#111199#All Other Grain Farming#11119
-naics#1112#Vegetable and Melon Farming#111
-naics#11121#Vegetable and Melon Farming#1112
-naics#111211#Potato Farming#11121
-naics#111219#Other Vegetable (except Potato) and Melon Farming#11121
-naics#1113#Fruit and Tree Nut Farming#111
-naics#11131#Orange Groves#1113
-naics#11132#Citrus (except Orange) Groves#1113
-naics#11133#Noncitrus Fruit and Tree Nut Farming#1113
-naics#111331#Apple Orchards#11133
-naics#111332#Grape Vineyards#11133
-naics#111333#Strawberry Farming#11133
-naics#111334#Berry (except Strawberry) Farming#11133
-naics#111335#Tree Nut Farming#11133
-naics#111336#Fruit and Tree Nut Combination Farming#11133
-naics#111339#Other Noncitrus Fruit Farming#11133
-naics#1114#Greenhouse, Nursery, and Floriculture Production#111
-naics#11141#Food Crops Grown Under Cover#1114
-naics#111411#Mushroom Production#11141
-naics#111419#Other Food Crops Grown Under Cover#11141
-naics#11142#Nursery and Floriculture Production#1114
-naics#111421#Nursery and Tree Production#11142
-naics#111422#Floriculture Production#11142
-naics#1119#Other Crop Farming#111
-naics#11191#Tobacco Farming#1119
-naics#11192#Cotton Farming#1119
-naics#11193#Sugarcane Farming#1119
-naics#11194#Hay Farming#1119
-naics#11199#All Other Crop Farming#1119
-naics#111991#Sugar Beet Farming#11199
-naics#111992#Peanut Farming#11199
-naics#111998#All Other Miscellaneous Crop Farming#11199
-naics#112#Animal Production#11
-naics#1121#Cattle Ranching and Farming#112
-naics#11211#Beef Cattle Ranching and Farming, including Feedlots#1121
-naics#112111#Beef Cattle Ranching and Farming#11211
-naics#112112#Cattle Feedlots#11211
-naics#11212#Dairy Cattle and Milk Production#1121
-naics#11213#Dual Purpose Cattle Ranching and Farming#1121
-naics#1122#Hog and Pig Farming#112
-naics#11221#Hog and Pig Farming#1122
-naics#1123#Poultry and Egg Production#112
-naics#11231#Chicken Egg Production#1123
-naics#11232#Broilers and Other Meat Type Chicken Production#1123
-naics#11233#Turkey Production#1123
-naics#11234#Poultry Hatcheries#1123
-naics#11239#Other Poultry Production#1123
-naics#1124#Sheep and Goat Farming#112
-naics#11241#Sheep Farming#1124
-naics#11242#Goat Farming#1124
-naics#1125#Animal Aquaculture#112
-naics#11251#Animal Aquaculture#1125
-naics#112511#Finfish Farming and Fish Hatcheries#11251
-naics#112512#Shellfish Farming#11251
-naics#112519#Other Animal Aquaculture#11251
-naics#1129#Other Animal Production#112
-naics#11291#Apiculture#1129
-naics#11292#Horse and Other Equine Production#1129
-naics#11293#Fur-Bearing Animal and Rabbit Production#1129
-naics#11299#All Other Animal Production#1129
-naics#113#Forestry and Logging#11
-naics#1131#Timber Tract Operations#113
-naics#11311#Timber Tract Operations#1131
-naics#1132#Forest Nurseries and Gathering of Forest Products#113
-naics#11321#Forest Nurseries and Gathering of Forest Products#1132
-naics#1133#Logging#113
-naics#11331#Logging#1133
-naics#114#Fishing, Hunting and Trapping#11
-naics#1141#Fishing#114
-naics#11411#Fishing#1141
-naics#114111#Finfish Fishing#11411
-naics#114112#Shellfish Fishing#11411
-naics#114119#Other Marine Fishing#11411
-naics#1142#Hunting and Trapping#114
-naics#11421#Hunting and Trapping#1142
-naics#115#Support Activities for Agriculture and Forestry#11
-naics#1151#Support Activities for Crop Production#115
-naics#11511#Support Activities for Crop Production#1151
-naics#115111#Cotton Ginning#11511
-naics#115112#Soil Preparation, Planting, and Cultivating#11511
-naics#115113#Crop Harvesting, Primarily by Machine#11511
-naics#115114#Postharvest Crop Activities (except Cotton Ginning)#11511
-naics#115115#Farm Labor Contractors and Crew Leaders#11511
-naics#115116#Farm Management Services#11511
-naics#1152#Support Activities for Animal Production#115
-naics#11521#Support Activities for Animal Production#1152
-naics#1153#Support Activities for Forestry#115
-naics#11531#Support Activities for Forestry#1153
-naics#21#Mining#21
-naics#211#Oil and Gas Extraction#21
-naics#2111#Oil and Gas Extraction#211
-naics#21111#Oil and Gas Extraction#2111
-naics#211111#Crude Petroleum and Natural Gas Extraction#21111
-naics#211112#Natural Gas Liquid Extraction#21111
-naics#212#Mining (except Oil and Gas)#21
-naics#2121#Coal Mining#212
-naics#21211#Coal Mining#2121
-naics#212111#Bituminous Coal and Lignite Surface Mining#21211
-naics#212112#Bituminous Coal Underground Mining#21211
-naics#212113#Anthracite Mining#21211
-naics#2122#Metal Ore Mining#212
-naics#21221#Iron Ore Mining#2122
-naics#21222#Gold Ore and Silver Ore Mining#2122
-naics#212221#Gold Ore Mining#21222
-naics#212222#Silver Ore Mining#21222
-naics#21223#Copper, Nickel, Lead, and Zinc Mining#2122
-naics#212231#Lead Ore and Zinc Ore Mining#21223
-naics#212234#Copper Ore and Nickel Ore Mining#21223
-naics#21229#Other Metal Ore Mining#2122
-naics#212291#Uranium-Radium-Vanadium Ore Mining#21229
-naics#212299#All Other Metal Ore Mining#21229
-naics#2123#Nonmetallic Mineral Mining and Quarrying#212
-naics#21231#Stone Mining and Quarrying#2123
-naics#212311#Dimension Stone Mining and Quarrying#21231
-naics#212312#Crushed and Broken Limestone Mining and Quarrying#21231
-naics#212313#Crushed and Broken Granite Mining and Quarrying#21231
-naics#212319#Other Crushed and Broken Stone Mining and Quarrying#21231
-naics#21232#Sand, Gravel, Clay, and Ceramic and Refractory Minerals Mining and Quarrying#2123
-naics#212321#Construction Sand and Gravel Mining#21232
-naics#212322#Industrial Sand Mining#21232
-naics#212324#Kaolin and Ball Clay Mining#21232
-naics#212325#Clay and Ceramic and Refractory Minerals Mining#21232
-naics#21239#Other Nonmetallic Mineral Mining and Quarrying#2123
-naics#212391#Potash, Soda, and Borate Mineral Mining#21239
-naics#212392#Phosphate Rock Mining#21239
-naics#212393#Other Chemical and Fertilizer Mineral Mining#21239
-naics#212399#All Other Nonmetallic Mineral Mining#21239
-naics#213#Support Activities for Mining#21
-naics#2131#Support Activities for Mining#213
-naics#21311#Support Activities for Mining#2131
-naics#213111#Drilling Oil and Gas Wells#21311
-naics#213112#Support Activities for Oil and Gas Operations#21311
-naics#213113#Support Activities for Coal Mining#21311
-naics#213114#Support Activities for Metal Mining#21311
-naics#213115#Support Activities for Nonmetallic Minerals (except Fuels)#21311
-naics#22#Utilities#22
-naics#221#Utilities#22
-naics#2211#Electric Power Generation, Transmission and Distribution#221
-naics#22111#Electric Power Generation#2211
-naics#221111#Hydroelectric Power Generation#22111
-naics#221112#Fossil Fuel Electric Power Generation#22111
-naics#221113#Nuclear Electric Power Generation#22111
-naics#221119#Other Electric Power Generation#22111
-naics#22112#Electric Power Transmission, Control, and Distribution#2211
-naics#221121#Electric Bulk Power Transmission and Control#22112
-naics#221122#Electric Power Distribution#22112
-naics#2212#Natural Gas Distribution#221
-naics#22121#Natural Gas Distribution#2212
-naics#2213#Water, Sewage and Other Systems#221
-naics#22131#Water Supply and Irrigation Systems#2213
-naics#22132#Sewage Treatment Facilities#2213
-naics#22133#Steam and Air-Conditioning Supply#2213
-naics#23#Construction#23
-naics#233#Building, Developing, and General Contracting#23
-naics#2331#Land Subdivision and Land Development#233
-naics#23311#Land Subdivision and Land Development#2331
-naics#2332#Residential Building Construction#233
-naics#23321#Single Family Housing Construction#2332
-naics#23322#Multifamily Housing Construction#2332
-naics#2333#Nonresidential Building Construction#233
-naics#23331#Manufacturing and Industrial Building Construction#2333
-naics#23332#Commercial and Institutional Building Construction#2333
-naics#234#Heavy Construction#23
-naics#2341#Highway, Street, Bridge, and Tunnel Construction#234
-naics#23411#Highway and Street Construction#2341
-naics#23412#Bridge and Tunnel Construction#2341
-naics#2349#Other Heavy Construction#234
-naics#23491#Water, Sewer, and Pipeline Construction#2349
-naics#23492#Power and Communication Transmission Line Construction#2349
-naics#23493#Industrial Nonbuilding Structure Construction#2349
-naics#23499#All Other Heavy Construction#2349
-naics#235#Special Trade Contractors#23
-naics#2351#Plumbing, Heating, and Air-Conditioning Contractors#235
-naics#23511#Plumbing, Heating, and Air-Conditioning Contractors#2351
-naics#2352#Painting and Wall Covering Contractors#235
-naics#23521#Painting and Wall Covering Contractors#2352
-naics#2353#Electrical Contractors#235
-naics#23531#Electrical Contractors#2353
-naics#2354#Masonry, Drywall, Insulation, and Tile Contractors#235
-naics#23541#Masonry and Stone Contractors#2354
-naics#23542#Drywall, Plastering, Acoustical, and Insulation Contractors#2354
-naics#23543#Tile, Marble, Terrazzo, and Mosaic Contractors#2354
-naics#2355#Carpentry and Floor Contractors#235
-naics#23551#Carpentry Contractors#2355
-naics#23552#Floor Laying and Other Floor Contractors#2355
-naics#2356#Roofing, Siding, and Sheet Metal Contractors#235
-naics#23561#Roofing, Siding, and Sheet Metal Contractors#2356
-naics#2357#Concrete Contractors#235
-naics#23571#Concrete Contractors#2357
-naics#2358#Water Well Drilling Contractors#235
-naics#23581#Water Well Drilling Contractors#2358
-naics#2359#Other Special Trade Contractors#235
-naics#23591#Structural Steel Erection Contractors#2359
-naics#23592#Glass and Glazing Contractors#2359
-naics#23593#Excavation Contractors#2359
-naics#23594#Wrecking and Demolition Contractors#2359
-naics#23595#Building Equipment and Other Machinery Installation Contractors#2359
-naics#23599#All Other Special Trade Contractors#2359
-naics#31#Manufacturing#31
-naics#311#Food Manufacturing#31
-naics#3111#Animal Food Manufacturing#311
-naics#31111#Animal Food Manufacturing#3111
-naics#311111#Dog and Cat Food Manufacturing#31111
-naics#311119#Other Animal Food Manufacturing#31111
-naics#3112#Grain and Oilseed Milling#311
-naics#31121#Flour Milling and Malt Manufacturing#3112
-naics#311211#Flour Milling#31121
-naics#311212#Rice Milling#31121
-naics#311213#Malt Manufacturing#31121
-naics#31122#Starch and Vegetable Fats and Oils Manufacturing#3112
-naics#311221#Wet Corn Milling#31122
-naics#311222#Soybean Processing#31122
-naics#311223#Other Oilseed Processing#31122
-naics#311225#Fats and Oils Refining and Blending#31122
-naics#31123#Breakfast Cereal Manufacturing#3112
-naics#3113#Sugar and Confectionery Product Manufacturing#311
-naics#31131#Sugar Manufacturing#3113
-naics#311311#Sugarcane Mills#31131
-naics#311312#Cane Sugar Refining#31131
-naics#311313#Beet Sugar Manufacturing#31131
-naics#31132#Chocolate and Confectionery Manufacturing from Cacao Beans#3113
-naics#31133#Confectionery Manufacturing from Purchased Chocolate#3113
-naics#31134#Nonchocolate Confectionery Manufacturing#3113
-naics#3114#Fruit and Vegetable Preserving and Specialty Food Manufacturing#311
-naics#31141#Frozen Food Manufacturing#3114
-naics#311411#Frozen Fruit, Juice, and Vegetable Manufacturing#31141
-naics#311412#Frozen Specialty Food Manufacturing#31141
-naics#31142#Fruit and Vegetable Canning, Pickling, and Drying#3114
-naics#311421#Fruit and Vegetable Canning#31142
-naics#311422#Specialty Canning#31142
-naics#311423#Dried and Dehydrated Food Manufacturing#31142
-naics#3115#Dairy Product Manufacturing#311
-naics#31151#Dairy Product (except Frozen) Manufacturing#3115
-naics#311511#Fluid Milk Manufacturing#31151
-naics#311512#Creamery Butter Manufacturing#31151
-naics#311513#Cheese Manufacturing#31151
-naics#311514#Dry, Condensed, and Evaporated Dairy Product Manufacturing#31151
-naics#31152#Ice Cream and Frozen Dessert Manufacturing#3115
-naics#3116#Animal Slaughtering and Processing#311
-naics#31161#Animal Slaughtering and Processing#3116
-naics#311611#Animal (except Poultry) Slaughtering#31161
-naics#311612#Meat Processed from Carcasses#31161
-naics#311613#Rendering and Meat Byproduct Processing#31161
-naics#311615#Poultry Processing#31161
-naics#3117#Seafood Product Preparation and Packaging#311
-naics#31171#Seafood Product Preparation and Packaging#3117
-naics#311711#Seafood Canning#31171
-naics#311712#Fresh and Frozen Seafood Processing#31171
-naics#3118#Bakeries and Tortilla Manufacturing#311
-naics#31181#Bread and Bakery Product Manufacturing#3118
-naics#311811#Retail Bakeries#31181
-naics#311812#Commercial Bakeries#31181
-naics#311813#Frozen Cakes, Pies, and Other Pastries Manufacturing#31181
-naics#31182#Cookie, Cracker, and Pasta Manufacturing#3118
-naics#311821#Cookie and Cracker Manufacturing#31182
-naics#311822#Flour Mixes and Dough Manufacturing from Purchased Flour#31182
-naics#311823#Dry Pasta Manufacturing#31182
-naics#31183#Tortilla Manufacturing#3118
-naics#3119#Other Food Manufacturing#311
-naics#31191#Snack Food Manufacturing#3119
-naics#311911#Roasted Nuts and Peanut Butter Manufacturing#31191
-naics#311919#Other Snack Food Manufacturing#31191
-naics#31192#Coffee and Tea Manufacturing#3119
-naics#31193#Flavoring Syrup and Concentrate Manufacturing#3119
-naics#31194#Seasoning and Dressing Manufacturing#3119
-naics#311941#Mayonnaise, Dressing, and Other Prepared Sauce Manufacturing#31194
-naics#311942#Spice and Extract Manufacturing#31194
-naics#31199#All Other Food Manufacturing#3119
-naics#311991#Perishable Prepared Food Manufacturing#31199
-naics#311999#All Other Miscellaneous Food Manufacturing#31199
-naics#312#Beverage and Tobacco Product Manufacturing#31
-naics#3121#Beverage Manufacturing#312
-naics#31211#Soft Drink and Ice Manufacturing#3121
-naics#312111#Soft Drink Manufacturing#31211
-naics#312112#Bottled Water Manufacturing#31211
-naics#312113#Ice Manufacturing#31211
-naics#31212#Breweries#3121
-naics#31213#Wineries#3121
-naics#31214#Distilleries#3121
-naics#3122#Tobacco Manufacturing#312
-naics#31221#Tobacco Stemming and Redrying#3122
-naics#31222#Tobacco Product Manufacturing#3122
-naics#312221#Cigarette Manufacturing#31222
-naics#312229#Other Tobacco Product Manufacturing#31222
-naics#313#Textile Mills#31
-naics#3131#Fiber, Yarn, and Thread Mills#313
-naics#31311#Fiber, Yarn, and Thread Mills#3131
-naics#313111#Yarn Spinning Mills#31311
-naics#313112#Yarn Texturizing, Throwing, and Twisting Mills#31311
-naics#313113#Thread Mills#31311
-naics#3132#Fabric Mills#313
-naics#31321#Broadwoven Fabric Mills#3132
-naics#31322#Narrow Fabric Mills and Schiffli Machine Embroidery#3132
-naics#313221#Narrow Fabric Mills#31322
-naics#313222#Schiffli Machine Embroidery#31322
-naics#31323#Nonwoven Fabric Mills#3132
-naics#31324#Knit Fabric Mills#3132
-naics#313241#Weft Knit Fabric Mills#31324
-naics#313249#Other Knit Fabric and Lace Mills#31324
-naics#3133#Textile and Fabric Finishing and Fabric Coating Mills#313
-naics#31331#Textile and Fabric Finishing Mills#3133
-naics#313311#Broadwoven Fabric Finishing Mills#31331
-naics#313312#Textile and Fabric Finishing (except Broadwoven Fabric) Mills#31331
-naics#31332#Fabric Coating Mills#3133
-naics#314#Textile Product Mills#31
-naics#3141#Textile Furnishings Mills#314
-naics#31411#Carpet and Rug Mills#3141
-naics#31412#Curtain and Linen Mills#3141
-naics#314121#Curtain and Drapery Mills#31412
-naics#314129#Other Household Textile Product Mills#31412
-naics#3149#Other Textile Product Mills#314
-naics#31491#Textile Bag and Canvas Mills#3149
-naics#314911#Textile Bag Mills#31491
-naics#314912#Canvas and Related Product Mills#31491
-naics#31499#All Other Textile Product Mills#3149
-naics#314991#Rope, Cordage, and Twine Mills#31499
-naics#314992#Tire Cord and Tire Fabric Mills#31499
-naics#314999#All Other Miscellaneous Textile Product Mills#31499
-naics#315#Apparel Manufacturing#31
-naics#3151#Apparel Knitting Mills#315
-naics#31511#Hosiery and Sock Mills#3151
-naics#315111#Sheer Hosiery Mills#31511
-naics#315119#Other Hosiery and Sock Mills#31511
-naics#31519#Other Apparel Knitting Mills#3151
-naics#315191#Outerwear Knitting Mills#31519
-naics#315192#Underwear and Nightwear Knitting Mills#31519
-naics#3152#Cut and Sew Apparel Manufacturing#315
-naics#31521#Cut and Sew Apparel Contractors#3152
-naics#315211#Men's and Boys' Cut and Sew Apparel Contractors#31521
-naics#315212#Women's, Girls', and Infants' Cut and Sew Apparel Contractors#31521
-naics#31522#Men's and Boys' Cut and Sew Apparel Manufacturing#3152
-naics#315221#Men's and Boys' Cut and Sew Underwear and Nightwear Manufacturing#31522
-naics#315222#Men's and Boys' Cut and Sew Suit, Coat, and Overcoat Manufacturing#31522
-naics#315223#Men's and Boys' Cut and Sew Shirt (except Work Shirt) Manufacturing#31522
-naics#315224#Men's and Boys' Cut and Sew Trouser, Slack, and Jean Manufacturing#31522
-naics#315225#Men's and Boys' Cut and Sew Work Clothing Manufacturing#31522
-naics#315228#Men's and Boys' Cut and Sew Other Outerwear Manufacturing#31522
-naics#31523#Women's and Girls' Cut and Sew Apparel Manufacturing#3152
-naics#315231#Women's and Girls' Cut and Sew Lingerie, Loungewear, and Nightwear Manufacturing#31523
-naics#315232#Women's and Girls' Cut and Sew Blouse and Shirt Manufacturing#31523
-naics#315233#Women's and Girls' Cut and Sew Dress Manufacturing#31523
-naics#315234#Women's and Girls' Cut and Sew Suit, Coat, Tailored Jacket, and Skirt Manufacturing#31523
-naics#315239#Women's and Girls' Cut and Sew Other Outerwear Manufacturing#31523
-naics#31529#Other Cut and Sew Apparel Manufacturing#3152
-naics#315291#Infants' Cut and Sew Apparel Manufacturing#31529
-naics#315292#Fur and Leather Apparel Manufacturing#31529
-naics#315299#All Other Cut and Sew Apparel Manufacturing#31529
-naics#3159#Apparel Accessories and Other Apparel Manufacturing#315
-naics#31599#Apparel Accessories and Other Apparel Manufacturing#3159
-naics#315991#Hat, Cap, and Millinery Manufacturing#31599
-naics#315992#Glove and Mitten Manufacturing#31599
-naics#315993#Men's and Boys' Neckwear Manufacturing#31599
-naics#315999#Other Apparel Accessories and Other Apparel Manufacturing#31599
-naics#316#Leather and Allied Product Manufacturing#31
-naics#3161#Leather and Hide Tanning and Finishing#316
-naics#31611#Leather and Hide Tanning and Finishing#3161
-naics#3162#Footwear Manufacturing#316
-naics#31621#Footwear Manufacturing#3162
-naics#316211#Rubber and Plastics Footwear Manufacturing#31621
-naics#316212#House Slipper Manufacturing#31621
-naics#316213#Men's Footwear (except Athletic) Manufacturing#31621
-naics#316214#Women's Footwear (except Athletic) Manufacturing#31621
-naics#316219#Other Footwear Manufacturing#31621
-naics#3169#Other Leather and Allied Product Manufacturing#316
-naics#31699#Other Leather and Allied Product Manufacturing#3169
-naics#316991#Luggage Manufacturing#31699
-naics#316992#Women's Handbag and Purse Manufacturing#31699
-naics#316993#Personal Leather Good (except Women's Handbag and Purse) Manufacturing#31699
-naics#316999#All Other Leather Good Manufacturing#31699
-naics#32#Manufacturing#32
-naics#321#Wood Product Manufacturing#32
-naics#3211#Sawmills and Wood Preservation#321
-naics#32111#Sawmills and Wood Preservation#3211
-naics#321113#Sawmills#32111
-naics#321114#Wood Preservation#32111
-naics#3212#Veneer, Plywood, and Engineered Wood Product Manufacturing#321
-naics#32121#Veneer, Plywood, and Engineered Wood Product Manufacturing#3212
-naics#321211#Hardwood Veneer and Plywood Manufacturing#32121
-naics#321212#Softwood Veneer and Plywood Manufacturing#32121
-naics#321213#Engineered Wood Member (except Truss) Manufacturing#32121
-naics#321214#Truss Manufacturing#32121
-naics#321219#Reconstituted Wood Product Manufacturing#32121
-naics#3219#Other Wood Product Manufacturing#321
-naics#32191#Millwork#3219
-naics#321911#Wood Window and Door Manufacturing#32191
-naics#321912#Cut Stock, Resawing Lumber, and Planing#32191
-naics#321918#Other Millwork (including Flooring)#32191
-naics#32192#Wood Container and Pallet Manufacturing#3219
-naics#32199#All Other Wood Product Manufacturing#3219
-naics#321991#Manufactured Home (Mobile Home) Manufacturing#32199
-naics#321992#Prefabricated Wood Building Manufacturing#32199
-naics#321999#All Other Miscellaneous Wood Product Manufacturing#32199
-naics#322#Paper Manufacturing#32
-naics#3221#Pulp, Paper, and Paperboard Mills#322
-naics#32211#Pulp Mills#3221
-naics#32212#Paper Mills#3221
-naics#322121#Paper (except Newsprint) Mills#32212
-naics#322122#Newsprint Mills#32212
-naics#32213#Paperboard Mills#3221
-naics#3222#Converted Paper Product Manufacturing#322
-naics#32221#Paperboard Container Manufacturing#3222
-naics#322211#Corrugated and Solid Fiber Box Manufacturing#32221
-naics#322212#Folding Paperboard Box Manufacturing#32221
-naics#322213#Setup Paperboard Box Manufacturing#32221
-naics#322214#Fiber Can, Tube, Drum, and Similar Products Manufacturing#32221
-naics#322215#Nonfolding Sanitary Food Container Manufacturing#32221
-naics#32222#Paper Bag and Coated and Treated Paper Manufacturing#3222
-naics#322221#Coated and Laminated Packaging Paper and Plastics Film Manufacturing#32222
-naics#322222#Coated and Laminated Paper Manufacturing#32222
-naics#322223#Plastics, Foil, and Coated Paper Bag Manufacturing#32222
-naics#322224#Uncoated Paper and Multiwall Bag Manufacturing#32222
-naics#322225#Laminated Aluminum Foil Manufacturing for Flexible Packaging Uses#32222
-naics#322226#Surface-Coated Paperboard Manufacturing#32222
-naics#32223#Stationery Product Manufacturing#3222
-naics#322231#Die-Cut Paper and Paperboard Office Supplies Manufacturing#32223
-naics#322232#Envelope Manufacturing#32223
-naics#322233#Stationery, Tablet, and Related Product Manufacturing#32223
-naics#32229#Other Converted Paper Product Manufacturing#3222
-naics#322291#Sanitary Paper Product Manufacturing#32229
-naics#322299#All Other Converted Paper Product Manufacturing#32229
-naics#323#Printing and Related Support Activities#32
-naics#3231#Printing and Related Support Activities#323
-naics#32311#Printing#3231
-naics#323110#Commercial Lithographic Printing#32311
-naics#323111#Commercial Gravure Printing#32311
-naics#323112#Commercial Flexographic Printing#32311
-naics#323113#Commercial Screen Printing#32311
-naics#323114#Quick Printing#32311
-naics#323115#Digital Printing#32311
-naics#323116#Manifold Business Forms Printing#32311
-naics#323117#Books Printing#32311
-naics#323118#Blankbook, Looseleaf Binders, and Devices Manufacturing#32311
-naics#323119#Other Commercial Printing#32311
-naics#32312#Support Activities for Printing#3231
-naics#323121#Tradebinding and Related Work#32312
-naics#323122#Prepress Services#32312
-naics#324#Petroleum and Coal Products Manufacturing#32
-naics#3241#Petroleum and Coal Products Manufacturing#324
-naics#32411#Petroleum Refineries#3241
-naics#32412#Asphalt Paving, Roofing, and Saturated Materials Manufacturing#3241
-naics#324121#Asphalt Paving Mixture and Block Manufacturing#32412
-naics#324122#Asphalt Shingle and Coating Materials Manufacturing#32412
-naics#32419#Other Petroleum and Coal Products Manufacturing#3241
-naics#324191#Petroleum Lubricating Oil and Grease Manufacturing#32419
-naics#324199#All Other Petroleum and Coal Products Manufacturing#32419
-naics#325#Chemical Manufacturing#32
-naics#3251#Basic Chemical Manufacturing#325
-naics#32511#Petrochemical Manufacturing#3251
-naics#32512#Industrial Gas Manufacturing#3251
-naics#32513#Synthetic Dye and Pigment Manufacturing#3251
-naics#325131#Inorganic Dye and Pigment Manufacturing#32513
-naics#325132#Synthetic Organic Dye and Pigment Manufacturing#32513
-naics#32518#Other Basic Inorganic Chemical Manufacturing#3251
-naics#325181#Alkalies and Chlorine Manufacturing#32518
-naics#325182#Carbon Black Manufacturing#32518
-naics#325188#All Other Basic Inorganic Chemical Manufacturing#32518
-naics#32519#Other Basic Organic Chemical Manufacturing#3251
-naics#325191#Gum and Wood Chemical Manufacturing#32519
-naics#325192#Cyclic Crude and Intermediate Manufacturing#32519
-naics#325193#Ethyl Alcohol Manufacturing#32519
-naics#325199#All Other Basic Organic Chemical Manufacturing#32519
-naics#3252#Resin, Synthetic Rubber, and Artificial and Synthetic Fibers and Filaments Manufacturing#325
-naics#32521#Resin and Synthetic Rubber Manufacturing#3252
-naics#325211#Plastics Material and Resin Manufacturing#32521
-naics#325212#Synthetic Rubber Manufacturing#32521
-naics#32522#Artificial and Synthetic Fibers and Filaments Manufacturing#3252
-naics#325221#Cellulosic Organic Fiber Manufacturing#32522
-naics#325222#Noncellulosic Organic Fiber Manufacturing#32522
-naics#3253#Pesticide, Fertilizer, and Other Agricultural Chemical Manufacturing#325
-naics#32531#Fertilizer Manufacturing#3253
-naics#325311#Nitrogenous Fertilizer Manufacturing#32531
-naics#325312#Phosphatic Fertilizer Manufacturing#32531
-naics#325314#Fertilizer (Mixing Only) Manufacturing#32531
-naics#32532#Pesticide and Other Agricultural Chemical Manufacturing#3253
-naics#3254#Pharmaceutical and Medicine Manufacturing#325
-naics#32541#Pharmaceutical and Medicine Manufacturing#3254
-naics#325411#Medicinal and Botanical Manufacturing#32541
-naics#325412#Pharmaceutical Preparation Manufacturing#32541
-naics#325413#In-Vitro Diagnostic Substance Manufacturing#32541
-naics#325414#Biological Product (except Diagnostic) Manufacturing#32541
-naics#3255#Paint, Coating, and Adhesive Manufacturing#325
-naics#32551#Paint and Coating Manufacturing#3255
-naics#32552#Adhesive Manufacturing#3255
-naics#3256#Soap, Cleaning Compound, and Toilet Preparation Manufacturing#325
-naics#32561#Soap and Cleaning Compound Manufacturing#3256
-naics#325611#Soap and Other Detergent Manufacturing#32561
-naics#325612#Polish and Other Sanitation Good Manufacturing#32561
-naics#325613#Surface Active Agent Manufacturing#32561
-naics#32562#Toilet Preparation Manufacturing#3256
-naics#3259#Other Chemical Product and Preparation Manufacturing#325
-naics#32591#Printing Ink Manufacturing#3259
-naics#32592#Explosives Manufacturing#3259
-naics#32599#All Other Chemical Product and Preparation Manufacturing#3259
-naics#325991#Custom Compounding of Purchased Resins#32599
-naics#325992#Photographic Film, Paper, Plate, and Chemical Manufacturing#32599
-naics#325998#All Other Miscellaneous Chemical Product and Preparation Manufacturing#32599
-naics#326#Plastics and Rubber Products Manufacturing#32
-naics#3261#Plastics Product Manufacturing#326
-naics#32611#Unsupported Plastics Film, Sheet, and Bag Manufacturing#3261
-naics#326111#Unsupported Plastics Bag Manufacturing#32611
-naics#326112#Unsupported Plastics Packaging Film and Sheet Manufacturing#32611
-naics#326113#Unsupported Plastics Film and Sheet (except Packaging) Manufacturing#32611
-naics#32612#Plastics Pipe, Pipe Fitting, and Unsupported Profile Shape Manufacturing#3261
-naics#326121#Unsupported Plastics Profile Shape Manufacturing#32612
-naics#326122#Plastics Pipe and Pipe Fitting Manufacturing#32612
-naics#32613#Laminated Plastics Plate, Sheet, and Shape Manufacturing#3261
-naics#32614#Polystyrene Foam Product Manufacturing#3261
-naics#32615#Urethane and Other Foam Product (except Polystyrene) Manufacturing#3261
-naics#32616#Plastics Bottle Manufacturing#3261
-naics#32619#Other Plastics Product Manufacturing#3261
-naics#326191#Plastics Plumbing Fixture Manufacturing#32619
-naics#326192#Resilient Floor Covering Manufacturing#32619
-naics#326199#All Other Plastics Product Manufacturing#32619
-naics#3262#Rubber Product Manufacturing#326
-naics#32621#Tire Manufacturing#3262
-naics#326211#Tire Manufacturing (except Retreading)#32621
-naics#326212#Tire Retreading#32621
-naics#32622#Rubber and Plastics Hoses and Belting Manufacturing#3262
-naics#32629#Other Rubber Product Manufacturing#3262
-naics#326291#Rubber Product Manufacturing for Mechanical Use#32629
-naics#326299#All Other Rubber Product Manufacturing#32629
-naics#327#Nonmetallic Mineral Product Manufacturing#32
-naics#3271#Clay Product and Refractory Manufacturing#327
-naics#32711#Pottery, Ceramics, and Plumbing Fixture Manufacturing#3271
-naics#327111#Vitreous China Plumbing Fixture and China and Earthenware Bathroom Accessories Manufacturing#32711
-naics#327112#Vitreous China, Fine Earthenware, and Other Pottery Product Manufacturing#32711
-naics#327113#Porcelain Electrical Supply Manufacturing#32711
-naics#32712#Clay Building Material and Refractories Manufacturing#3271
-naics#327121#Brick and Structural Clay Tile Manufacturing#32712
-naics#327122#Ceramic Wall and Floor Tile Manufacturing#32712
-naics#327123#Other Structural Clay Product Manufacturing#32712
-naics#327124#Clay Refractory Manufacturing#32712
-naics#327125#Nonclay Refractory Manufacturing#32712
-naics#3272#Glass and Glass Product Manufacturing#327
-naics#32721#Glass and Glass Product Manufacturing#3272
-naics#327211#Flat Glass Manufacturing#32721
-naics#327212#Other Pressed and Blown Glass and Glassware Manufacturing#32721
-naics#327213#Glass Container Manufacturing#32721
-naics#327215#Glass Product Manufacturing Made of Purchased Glass#32721
-naics#3273#Cement and Concrete Product Manufacturing#327
-naics#32731#Cement Manufacturing#3273
-naics#32732#Ready-Mix Concrete Manufacturing#3273
-naics#32733#Concrete Pipe, Brick, and Block Manufacturing#3273
-naics#327331#Concrete Block and Brick Manufacturing#32733
-naics#327332#Concrete Pipe Manufacturing#32733
-naics#32739#Other Concrete Product Manufacturing#3273
-naics#3274#Lime and Gypsum Product Manufacturing#327
-naics#32741#Lime Manufacturing#3274
-naics#32742#Gypsum Product Manufacturing#3274
-naics#3279#Other Nonmetallic Mineral Product Manufacturing#327
-naics#32791#Abrasive Product Manufacturing#3279
-naics#32799#All Other Nonmetallic Mineral Product Manufacturing#3279
-naics#327991#Cut Stone and Stone Product Manufacturing#32799
-naics#327992#Ground or Treated Mineral and Earth Manufacturing#32799
-naics#327993#Mineral Wool Manufacturing#32799
-naics#327999#All Other Miscellaneous Nonmetallic Mineral Product Manufacturing#32799
-naics#33#Manufacturing#33
-naics#331#Primary Metal Manufacturing#33
-naics#3311#Iron and Steel Mills and Ferroalloy Manufacturing#331
-naics#33111#Iron and Steel Mills and Ferroalloy Manufacturing#3311
-naics#331111#Iron and Steel Mills#33111
-naics#331112#Electrometallurgical Ferroalloy Product Manufacturing#33111
-naics#3312#Steel Product Manufacturing from Purchased Steel#331
-naics#33121#Iron and Steel Pipe and Tube Manufacturing from Purchased Steel#3312
-naics#33122#Rolling and Drawing of Purchased Steel#3312
-naics#331221#Rolled Steel Shape Manufacturing#33122
-naics#331222#Steel Wire Drawing#33122
-naics#3313#Alumina and Aluminum Production and Processing#331
-naics#33131#Alumina and Aluminum Production and Processing#3313
-naics#331311#Alumina Refining#33131
-naics#331312#Primary Aluminum Production#33131
-naics#331314#Secondary Smelting and Alloying of Aluminum#33131
-naics#331315#Aluminum Sheet, Plate, and Foil Manufacturing#33131
-naics#331316#Aluminum Extruded Product Manufacturing#33131
-naics#331319#Other Aluminum Rolling and Drawing#33131
-naics#3314#Nonferrous Metal (except Aluminum) Production and Processing#331
-naics#33141#Nonferrous Metal (except Aluminum) Smelting and Refining#3314
-naics#331411#Primary Smelting and Refining of Copper#33141
-naics#331419#Primary Smelting and Refining of Nonferrous Metal (except Copper and Aluminum)#33141
-naics#33142#Copper Rolling, Drawing, Extruding, and Alloying#3314
-naics#331421#Copper Rolling, Drawing, and Extruding#33142
-naics#331422#Copper Wire (except Mechanical) Drawing#33142
-naics#331423#Secondary Smelting, Refining, and Alloying of Copper#33142
-naics#33149#Nonferrous Metal (except Copper and Aluminum) Rolling, Drawing, Extruding, and Alloying#3314
-naics#331491#Nonferrous Metal (except Copper and Aluminum) Rolling, Drawing, and Extruding#33149
-naics#331492#Secondary Smelting, Refining, and Alloying of Nonferrous Metal (except Copper and Aluminum)#33149
-naics#3315#Foundries#331
-naics#33151#Ferrous Metal Foundries#3315
-naics#331511#Iron Foundries#33151
-naics#331512#Steel Investment Foundries#33151
-naics#331513#Steel Foundries (except Investment)#33151
-naics#33152#Nonferrous Metal Foundries#3315
-naics#331521#Aluminum Die-Casting Foundries#33152
-naics#331522#Nonferrous (except Aluminum) Die-Casting Foundries#33152
-naics#331524#Aluminum Foundries (except Die-Casting)#33152
-naics#331525#Copper Foundries (except Die-Casting)#33152
-naics#331528#Other Nonferrous Foundries (except Die-Casting)#33152
-naics#332#Fabricated Metal Product Manufacturing#33
-naics#3321#Forging and Stamping#332
-naics#33211#Forging and Stamping#3321
-naics#332111#Iron and Steel Forging#33211
-naics#332112#Nonferrous Forging#33211
-naics#332114#Custom Roll Forming#33211
-naics#332115#Crown and Closure Manufacturing#33211
-naics#332116#Metal Stamping#33211
-naics#332117#Powder Metallurgy Part Manufacturing#33211
-naics#3322#Cutlery and Handtool Manufacturing#332
-naics#33221#Cutlery and Handtool Manufacturing#3322
-naics#332211#Cutlery and Flatware (except Precious) Manufacturing#33221
-naics#332212#Hand and Edge Tool Manufacturing#33221
-naics#332213#Saw Blade and Handsaw Manufacturing#33221
-naics#332214#Kitchen Utensil, Pot, and Pan Manufacturing#33221
-naics#3323#Architectural and Structural Metals Manufacturing#332
-naics#33231#Plate Work and Fabricated Structural Product Manufacturing#3323
-naics#332311#Prefabricated Metal Building and Component Manufacturing#33231
-naics#332312#Fabricated Structural Metal Manufacturing#33231
-naics#332313#Plate Work Manufacturing#33231
-naics#33232#Ornamental and Architectural Metal Products Manufacturing#3323
-naics#332321#Metal Window and Door Manufacturing#33232
-naics#332322#Sheet Metal Work Manufacturing#33232
-naics#332323#Ornamental and Architectural Metal Work Manufacturing#33232
-naics#3324#Boiler, Tank, and Shipping Container Manufacturing#332
-naics#33241#Power Boiler and Heat Exchanger Manufacturing#3324
-naics#33242#Metal Tank (Heavy Gauge) Manufacturing#3324
-naics#33243#Metal Can, Box, and Other Metal Container (Light Gauge) Manufacturing#3324
-naics#332431#Metal Can Manufacturing#33243
-naics#332439#Other Metal Container Manufacturing#33243
-naics#3325#Hardware Manufacturing#332
-naics#33251#Hardware Manufacturing#3325
-naics#3326#Spring and Wire Product Manufacturing#332
-naics#33261#Spring and Wire Product Manufacturing#3326
-naics#332611#Spring (Heavy Gauge) Manufacturing#33261
-naics#332612#Spring (Light Gauge) Manufacturing#33261
-naics#332618#Other Fabricated Wire Product Manufacturing#33261
-naics#3327#Machine Shops; Turned Product; and Screw, Nut, and Bolt Manufacturing#332
-naics#33271#Machine Shops#3327
-naics#33272#Turned Product and Screw, Nut, and Bolt Manufacturing#3327
-naics#332721#Precision Turned Product Manufacturing#33272
-naics#332722#Bolt, Nut, Screw, Rivet, and Washer Manufacturing#33272
-naics#3328#Coating, Engraving, Heat Treating, and Allied Activities#332
-naics#33281#Coating, Engraving, Heat Treating, and Allied Activities#3328
-naics#332811#Metal Heat Treating#33281
-naics#332812#Metal Coating, Engraving (except Jewelry and Silverware), and Allied Services to Manufacturers#33281
-naics#332813#Electroplating, Plating, Polishing, Anodizing, and Coloring#33281
-naics#3329#Other Fabricated Metal Product Manufacturing#332
-naics#33291#Metal Valve Manufacturing#3329
-naics#332911#Industrial Valve Manufacturing#33291
-naics#332912#Fluid Power Valve and Hose Fitting Manufacturing#33291
-naics#332913#Plumbing Fixture Fitting and Trim Manufacturing#33291
-naics#332919#Other Metal Valve and Pipe Fitting Manufacturing#33291
-naics#33299#All Other Fabricated Metal Product Manufacturing#3329
-naics#332991#Ball and Roller Bearing Manufacturing#33299
-naics#332992#Small Arms Ammunition Manufacturing#33299
-naics#332993#Ammunition (except Small Arms) Manufacturing#33299
-naics#332994#Small Arms Manufacturing#33299
-naics#332995#Other Ordnance and Accessories Manufacturing#33299
-naics#332996#Fabricated Pipe and Pipe Fitting Manufacturing#33299
-naics#332997#Industrial Pattern Manufacturing#33299
-naics#332998#Enameled Iron and Metal Sanitary Ware Manufacturing#33299
-naics#332999#All Other Miscellaneous Fabricated Metal Product Manufacturing#33299
-naics#333#Machinery Manufacturing#33
-naics#3331#Agriculture, Construction, and Mining Machinery Manufacturing#333
-naics#33311#Agricultural Implement Manufacturing#3331
-naics#333111#Farm Machinery and Equipment Manufacturing#33311
-naics#333112#Lawn and Garden Tractor and Home Lawn and Garden Equipment Manufacturing#33311
-naics#33312#Construction Machinery Manufacturing#3331
-naics#33313#Mining and Oil and Gas Field Machinery Manufacturing#3331
-naics#333131#Mining Machinery and Equipment Manufacturing#33313
-naics#333132#Oil and Gas Field Machinery and Equipment Manufacturing#33313
-naics#3332#Industrial Machinery Manufacturing#333
-naics#33321#Sawmill and Woodworking Machinery Manufacturing#3332
-naics#33322#Plastics and Rubber Industry Machinery Manufacturing#3332
-naics#33329#Other Industrial Machinery Manufacturing#3332
-naics#333291#Paper Industry Machinery Manufacturing#33329
-naics#333292#Textile Machinery Manufacturing#33329
-naics#333293#Printing Machinery and Equipment Manufacturing#33329
-naics#333294#Food Product Machinery Manufacturing#33329
-naics#333295#Semiconductor Machinery Manufacturing#33329
-naics#333298#All Other Industrial Machinery Manufacturing#33329
-naics#3333#Commercial and Service Industry Machinery Manufacturing#333
-naics#33331#Commercial and Service Industry Machinery Manufacturing#3333
-naics#333311#Automatic Vending Machine Manufacturing#33331
-naics#333312#Commercial Laundry, Drycleaning, and Pressing Machine Manufacturing#33331
-naics#333313#Office Machinery Manufacturing#33331
-naics#333314#Optical Instrument and Lens Manufacturing#33331
-naics#333315#Photographic and Photocopying Equipment Manufacturing#33331
-naics#333319#Other Commercial and Service Industry Machinery Manufacturing#33331
-naics#3334#Ventilation, Heating, Air-Conditioning, and Commercial Refrigeration Equipment Manufacturing#333
-naics#33341#Ventilation, Heating, Air-Conditioning, and Commercial Refrigeration Equipment Manufacturing#3334
-naics#333411#Air Purification Equipment Manufacturing#33341
-naics#333412#Industrial and Commercial Fan and Blower Manufacturing#33341
-naics#333414#Heating Equipment (except Warm Air Furnaces) Manufacturing#33341
-naics#333415#Air-Conditioning and Warm Air Heating Equipment and Commercial and Industrial Refrigeration Equipment Manufacturing#33341
-naics#3335#Metalworking Machinery Manufacturing#333
-naics#33351#Metalworking Machinery Manufacturing#3335
-naics#333511#Industrial Mold Manufacturing#33351
-naics#333512#Machine Tool (Metal Cutting Types) Manufacturing#33351
-naics#333513#Machine Tool (Metal Forming Types) Manufacturing#33351
-naics#333514#Special Die and Tool, Die Set, Jig, and Fixture Manufacturing#33351
-naics#333515#Cutting Tool and Machine Tool Accessory Manufacturing#33351
-naics#333516#Rolling Mill Machinery and Equipment Manufacturing#33351
-naics#333518#Other Metalworking Machinery Manufacturing#33351
-naics#3336#Engine, Turbine, and Power Transmission Equipment Manufacturing#333
-naics#33361#Engine, Turbine, and Power Transmission Equipment Manufacturing#3336
-naics#333611#Turbine and Turbine Generator Set Units Manufacturing#33361
-naics#333612#Speed Changer, Industrial High-Speed Drive, and Gear Manufacturing#33361
-naics#333613#Mechanical Power Transmission Equipment Manufacturing#33361
-naics#333618#Other Engine Equipment Manufacturing#33361
-naics#3339#Other General Purpose Machinery Manufacturing#333
-naics#33391#Pump and Compressor Manufacturing#3339
-naics#333911#Pump and Pumping Equipment Manufacturing#33391
-naics#333912#Air and Gas Compressor Manufacturing#33391
-naics#333913#Measuring and Dispensing Pump Manufacturing#33391
-naics#33392#Material Handling Equipment Manufacturing#3339
-naics#333921#Elevator and Moving Stairway Manufacturing#33392
-naics#333922#Conveyor and Conveying Equipment Manufacturing#33392
-naics#333923#Overhead Traveling Crane, Hoist, and Monorail System Manufacturing#33392
-naics#333924#Industrial Truck, Tractor, Trailer, and Stacker Machinery Manufacturing#33392
-naics#33399#All Other General Purpose Machinery Manufacturing#3339
-naics#333991#Power-Driven Handtool Manufacturing#33399
-naics#333992#Welding and Soldering Equipment Manufacturing#33399
-naics#333993#Packaging Machinery Manufacturing#33399
-naics#333994#Industrial Process Furnace and Oven Manufacturing#33399
-naics#333995#Fluid Power Cylinder and Actuator Manufacturing#33399
-naics#333996#Fluid Power Pump and Motor Manufacturing#33399
-naics#333997#Scale and Balance (except Laboratory) Manufacturing#33399
-naics#333999#All Other Miscellaneous General Purpose Machinery Manufacturing#33399
-naics#334#Computer and Electronic Product Manufacturing#33
-naics#3341#Computer and Peripheral Equipment Manufacturing#334
-naics#33411#Computer and Peripheral Equipment Manufacturing#3341
-naics#334111#Electronic Computer Manufacturing#33411
-naics#334112#Computer Storage Device Manufacturing#33411
-naics#334113#Computer Terminal Manufacturing#33411
-naics#334119#Other Computer Peripheral Equipment Manufacturing#33411
-naics#3342#Communications Equipment Manufacturing#334
-naics#33421#Telephone Apparatus Manufacturing#3342
-naics#33422#Radio and Television Broadcasting and Wireless Communications Equipment Manufacturing#3342
-naics#33429#Other Communications Equipment Manufacturing#3342
-naics#3343#Audio and Video Equipment Manufacturing#334
-naics#33431#Audio and Video Equipment Manufacturing#3343
-naics#3344#Semiconductor and Other Electronic Component Manufacturing#334
-naics#33441#Semiconductor and Other Electronic Component Manufacturing#3344
-naics#334411#Electron Tube Manufacturing#33441
-naics#334412#Bare Printed Circuit Board Manufacturing#33441
-naics#334413#Semiconductor and Related Device Manufacturing#33441
-naics#334414#Electronic Capacitor Manufacturing#33441
-naics#334415#Electronic Resistor Manufacturing#33441
-naics#334416#Electronic Coil, Transformer, and Other Inductor Manufacturing#33441
-naics#334417#Electronic Connector Manufacturing#33441
-naics#334418#Printed Circuit Assembly (Electronic Assembly) Manufacturing#33441
-naics#334419#Other Electronic Component Manufacturing#33441
-naics#3345#Navigational, Measuring, Electromedical, and Control Instruments Manufacturing#334
-naics#33451#Navigational, Measuring, Electromedical, and Control Instruments Manufacturing#3345
-naics#334510#Electromedical and Electrotherapeutic Apparatus Manufacturing#33451
-naics#334511#Search, Detection, Navigation, Guidance, Aeronautical, and Nautical System and Instrument Manufacturing#33451
-naics#334512#Automatic Environmental Control Manufacturing for Residential, Commercial, and Appliance Use#33451
-naics#334513#Instruments and Related Products Manufacturing for Measuring, Displaying, and Controlling Industrial Process Variables#33451
-naics#334514#Totalizing Fluid Meter and Counting Device Manufacturing#33451
-naics#334515#Instrument Manufacturing for Measuring and Testing Electricity and Electrical Signals#33451
-naics#334516#Analytical Laboratory Instrument Manufacturing#33451
-naics#334517#Irradiation Apparatus Manufacturing#33451
-naics#334518#Watch, Clock, and Part Manufacturing#33451
-naics#334519#Other Measuring and Controlling Device Manufacturing#33451
-naics#3346#Manufacturing and Reproducing Magnetic and Optical Media#334
-naics#33461#Manufacturing and Reproducing Magnetic and Optical Media#3346
-naics#334611#Software Reproducing#33461
-naics#334612#Prerecorded Compact Disc (except Software), Tape, and Record Reproducing#33461
-naics#334613#Magnetic and Optical Recording Media Manufacturing#33461
-naics#335#Electrical Equipment, Appliance, and Component Manufacturing#33
-naics#3351#Electric Lighting Equipment Manufacturing#335
-naics#33511#Electric Lamp Bulb and Part Manufacturing#3351
-naics#33512#Lighting Fixture Manufacturing#3351
-naics#335121#Residential Electric Lighting Fixture Manufacturing#33512
-naics#335122#Commercial, Industrial, and Institutional Electric Lighting Fixture Manufacturing#33512
-naics#335129#Other Lighting Equipment Manufacturing#33512
-naics#3352#Household Appliance Manufacturing#335
-naics#33521#Small Electrical Appliance Manufacturing#3352
-naics#335211#Electric Housewares and Household Fan Manufacturing#33521
-naics#335212#Household Vacuum Cleaner Manufacturing#33521
-naics#33522#Major Appliance Manufacturing#3352
-naics#335221#Household Cooking Appliance Manufacturing#33522
-naics#335222#Household Refrigerator and Home Freezer Manufacturing#33522
-naics#335224#Household Laundry Equipment Manufacturing#33522
-naics#335228#Other Major Household Appliance Manufacturing#33522
-naics#3353#Electrical Equipment Manufacturing#335
-naics#33531#Electrical Equipment Manufacturing#3353
-naics#335311#Power, Distribution, and Specialty Transformer Manufacturing#33531
-naics#335312#Motor and Generator Manufacturing#33531
-naics#335313#Switchgear and Switchboard Apparatus Manufacturing#33531
-naics#335314#Relay and Industrial Control Manufacturing#33531
-naics#3359#Other Electrical Equipment and Component Manufacturing#335
-naics#33591#Battery Manufacturing#3359
-naics#335911#Storage Battery Manufacturing#33591
-naics#335912#Primary Battery Manufacturing#33591
-naics#33592#Communication and Energy Wire and Cable Manufacturing#3359
-naics#335921#Fiber Optic Cable Manufacturing#33592
-naics#335929#Other Communication and Energy Wire Manufacturing#33592
-naics#33593#Wiring Device Manufacturing#3359
-naics#335931#Current-Carrying Wiring Device Manufacturing#33593
-naics#335932#Noncurrent-Carrying Wiring Device Manufacturing#33593
-naics#33599#All Other Electrical Equipment and Component Manufacturing#3359
-naics#335991#Carbon and Graphite Product Manufacturing#33599
-naics#335999#All Other Miscellaneous Electrical Equipment and Component Manufacturing#33599
-naics#336#Transportation Equipment Manufacturing#33
-naics#3361#Motor Vehicle Manufacturing#336
-naics#33611#Automobile and Light Duty Motor Vehicle Manufacturing#3361
-naics#336111#Automobile Manufacturing#33611
-naics#336112#Light Truck and Utility Vehicle Manufacturing#33611
-naics#33612#Heavy Duty Truck Manufacturing#3361
-naics#3362#Motor Vehicle Body and Trailer Manufacturing#336
-naics#33621#Motor Vehicle Body and Trailer Manufacturing#3362
-naics#336211#Motor Vehicle Body Manufacturing#33621
-naics#336212#Truck Trailer Manufacturing#33621
-naics#336213#Motor Home Manufacturing#33621
-naics#336214#Travel Trailer and Camper Manufacturing#33621
-naics#3363#Motor Vehicle Parts Manufacturing#336
-naics#33631#Motor Vehicle Gasoline Engine and Engine Parts Manufacturing#3363
-naics#336311#Carburetor, Piston, Piston Ring, and Valve Manufacturing#33631
-naics#336312#Gasoline Engine and Engine Parts Manufacturing#33631
-naics#33632#Motor Vehicle Electrical and Electronic Equipment Manufacturing#3363
-naics#336321#Vehicular Lighting Equipment Manufacturing#33632
-naics#336322#Other Motor Vehicle Electrical and Electronic Equipment Manufacturing#33632
-naics#33633#Motor Vehicle Steering and Suspension Components (except Spring) Manufacturing#3363
-naics#33634#Motor Vehicle Brake System Manufacturing#3363
-naics#33635#Motor Vehicle Transmission and Power Train Parts Manufacturing#3363
-naics#33636#Motor Vehicle Seating and Interior Trim Manufacturing#3363
-naics#33637#Motor Vehicle Metal Stamping#3363
-naics#33639#Other Motor Vehicle Parts Manufacturing#3363
-naics#336391#Motor Vehicle Air-Conditioning Manufacturing#33639
-naics#336399#All Other Motor Vehicle Parts Manufacturing#33639
-naics#3364#Aerospace Product and Parts Manufacturing#336
-naics#33641#Aerospace Product and Parts Manufacturing#3364
-naics#336411#Aircraft Manufacturing#33641
-naics#336412#Aircraft Engine and Engine Parts Manufacturing#33641
-naics#336413#Other Aircraft Parts and Auxiliary Equipment Manufacturing#33641
-naics#336414#Guided Missile and Space Vehicle Manufacturing#33641
-naics#336415#Guided Missile and Space Vehicle Propulsion Unit and Propulsion Unit Parts Manufacturing#33641
-naics#336419#Other Guided Missile and Space Vehicle Parts and Auxiliary Equipment Manufacturing#33641
-naics#3365#Railroad Rolling Stock Manufacturing#336
-naics#33651#Railroad Rolling Stock Manufacturing#3365
-naics#3366#Ship and Boat Building#336
-naics#33661#Ship and Boat Building#3366
-naics#336611#Ship Building and Repairing#33661
-naics#336612#Boat Building#33661
-naics#3369#Other Transportation Equipment Manufacturing#336
-naics#33699#Other Transportation Equipment Manufacturing#3369
-naics#336991#Motorcycle, Bicycle, and Parts Manufacturing#33699
-naics#336992#Military Armored Vehicle, Tank, and Tank Component Manufacturing#33699
-naics#336999#All Other Transportation Equipment Manufacturing#33699
-naics#337#Furniture and Related Product Manufacturing#33
-naics#3371#Household and Institutional Furniture and Kitchen Cabinet Manufacturing#337
-naics#33711#Wood Kitchen Cabinet and Countertop Manufacturing#3371
-naics#33712#Household and Institutional Furniture Manufacturing#3371
-naics#337121#Upholstered Household Furniture Manufacturing#33712
-naics#337122#Nonupholstered Wood Household Furniture Manufacturing#33712
-naics#337124#Metal Household Furniture Manufacturing#33712
-naics#337125#Household Furniture (except Wood and Metal) Manufacturing#33712
-naics#337127#Institutional Furniture Manufacturing#33712
-naics#337129#Wood Television, Radio, and Sewing Machine Cabinet Manufacturing#33712
-naics#3372#Office Furniture (including Fixtures) Manufacturing#337
-naics#33721#Office Furniture (including Fixtures) Manufacturing#3372
-naics#337211#Wood Office Furniture Manufacturing#33721
-naics#337212#Custom Architectural Woodwork and Millwork Manufacturing#33721
-naics#337214#Office Furniture (except Wood) Manufacturing#33721
-naics#337215#Showcase, Partition, Shelving, and Locker Manufacturing#33721
-naics#3379#Other Furniture Related Product Manufacturing#337
-naics#33791#Mattress Manufacturing#3379
-naics#33792#Blind and Shade Manufacturing#3379
-naics#339#Miscellaneous Manufacturing#33
-naics#3391#Medical Equipment and Supplies Manufacturing#339
-naics#33911#Medical Equipment and Supplies Manufacturing#3391
-naics#339111#Laboratory Apparatus and Furniture Manufacturing#33911
-naics#339112#Surgical and Medical Instrument Manufacturing#33911
-naics#339113#Surgical Appliance and Supplies Manufacturing#33911
-naics#339114#Dental Equipment and Supplies Manufacturing#33911
-naics#339115#Ophthalmic Goods Manufacturing#33911
-naics#339116#Dental Laboratories#33911
-naics#3399#Other Miscellaneous Manufacturing#339
-naics#33991#Jewelry and Silverware Manufacturing#3399
-naics#339911#Jewelry (except Costume) Manufacturing#33991
-naics#339912#Silverware and Hollowware Manufacturing#33991
-naics#339913#Jewelers' Material and Lapidary Work Manufacturing#33991
-naics#339914#Costume Jewelry and Novelty Manufacturing#33991
-naics#33992#Sporting and Athletic Goods Manufacturing#3399
-naics#33993#Doll, Toy, and Game Manufacturing#3399
-naics#339931#Doll and Stuffed Toy Manufacturing#33993
-naics#339932#Game, Toy, and Children's Vehicle Manufacturing#33993
-naics#33994#Office Supplies (except Paper) Manufacturing#3399
-naics#339941#Pen and Mechanical Pencil Manufacturing#33994
-naics#339942#Lead Pencil and Art Good Manufacturing#33994
-naics#339943#Marking Device Manufacturing#33994
-naics#339944#Carbon Paper and Inked Ribbon Manufacturing#33994
-naics#33995#Sign Manufacturing#3399
-naics#33999#All Other Miscellaneous Manufacturing#3399
-naics#339991#Gasket, Packing, and Sealing Device Manufacturing#33999
-naics#339992#Musical Instrument Manufacturing#33999
-naics#339993#Fastener, Button, Needle, and Pin Manufacturing#33999
-naics#339994#Broom, Brush, and Mop Manufacturing#33999
-naics#339995#Burial Casket Manufacturing#33999
-naics#339999#All Other Miscellaneous Manufacturing#33999
-naics#42#Wholesale Trade#42
-naics#421#Wholesale Trade, Durable Goods#42
-naics#4211#Motor Vehicle and Motor Vehicle Parts and Supplies Wholesalers#421
-naics#42111#Automobile and Other Motor Vehicle Wholesalers#4211
-naics#42112#Motor Vehicle Supplies and New Parts Wholesalers#4211
-naics#42113#Tire and Tube Wholesalers#4211
-naics#42114#Motor Vehicle Parts (Used) Wholesalers#4211
-naics#4212#Furniture and Home Furnishing Wholesalers#421
-naics#42121#Furniture Wholesalers#4212
-naics#42122#Home Furnishing Wholesalers#4212
-naics#4213#Lumber and Other Construction Materials Wholesalers#421
-naics#42131#Lumber, Plywood, Millwork, and Wood Panel Wholesalers#4213
-naics#42132#Brick, Stone, and Related Construction Material Wholesalers#4213
-naics#42133#Roofing, Siding, and Insulation Material Wholesalers#4213
-naics#42139#Other Construction Material Wholesalers#4213
-naics#4214#Professional and Commercial Equipment and Supplies Wholesalers#421
-naics#42141#Photographic Equipment and Supplies Wholesalers#4214
-naics#42142#Office Equipment Wholesalers#4214
-naics#42143#Computer and Computer Peripheral Equipment and Software Wholesalers#4214
-naics#42144#Other Commercial Equipment Wholesalers#4214
-naics#42145#Medical, Dental, and Hospital Equipment and Supplies Wholesalers#4214
-naics#42146#Ophthalmic Goods Wholesalers#4214
-naics#42149#Other Professional Equipment and Supplies Wholesalers#4214
-naics#4215#Metal and Mineral (except Petroleum) Wholesalers#421
-naics#42151#Metal Service Centers and Offices#4215
-naics#42152#Coal and Other Mineral and Ore Wholesalers#4215
-naics#4216#Electrical Goods Wholesalers#421
-naics#42161#Electrical Apparatus and Equipment, Wiring Supplies, and Construction Material Wholesalers#4216
-naics#42162#Electrical Appliance, Television, and Radio Set Wholesalers#4216
-naics#42169#Other Electronic Parts and Equipment Wholesalers#4216
-naics#4217#Hardware, and Plumbing and Heating Equipment and Supplies Wholesalers#421
-naics#42171#Hardware Wholesalers#4217
-naics#42172#Plumbing and Heating Equipment and Supplies (Hydronics) Wholesalers#4217
-naics#42173#Warm Air Heating and Air-Conditioning Equipment and Supplies Wholesalers#4217
-naics#42174#Refrigeration Equipment and Supplies Wholesalers#4217
-naics#4218#Machinery, Equipment, and Supplies Wholesalers#421
-naics#42181#Construction and Mining (except Oil Well) Machinery and Equipment Wholesalers#4218
-naics#42182#Farm and Garden Machinery and Equipment Wholesalers#4218
-naics#42183#Industrial Machinery and Equipment Wholesalers#4218
-naics#42184#Industrial Supplies Wholesalers#4218
-naics#42185#Service Establishment Equipment and Supplies Wholesalers#4218
-naics#42186#Transportation Equipment and Supplies (except Motor Vehicle) Wholesalers#4218
-naics#4219#Miscellaneous Durable Goods Wholesalers#421
-naics#42191#Sporting and Recreational Goods and Supplies Wholesalers#4219
-naics#42192#Toy and Hobby Goods and Supplies Wholesalers#4219
-naics#42193#Recyclable Material Wholesalers#4219
-naics#42194#Jewelry, Watch, Precious Stone, and Precious Metal Wholesalers#4219
-naics#42199#Other Miscellaneous Durable Goods Wholesalers#4219
-naics#422#Wholesale Trade, Nondurable Goods#42
-naics#4221#Paper and Paper Product Wholesalers#422
-naics#42211#Printing and Writing Paper Wholesalers#4221
-naics#42212#Stationery and Office Supplies Wholesalers#4221
-naics#42213#Industrial and Personal Service Paper Wholesalers#4221
-naics#4222#Drugs and Druggists' Sundries Wholesalers#422
-naics#42221#Drugs and Druggists' Sundries Wholesalers#4222
-naics#4223#Apparel, Piece Goods, and Notions Wholesalers#422
-naics#42231#Piece Goods, Notions, and Other Dry Goods Wholesalers#4223
-naics#42232#Men's and Boys' Clothing and Furnishings Wholesalers#4223
-naics#42233#Women's, Children's, and Infants' Clothing and Accessories Wholesalers#4223
-naics#42234#Footwear Wholesalers#4223
-naics#4224#Grocery and Related Product Wholesalers#422
-naics#42241#General Line Grocery Wholesalers#4224
-naics#42242#Packaged Frozen Food Wholesalers#4224
-naics#42243#Dairy Product (except Dried or Canned) Wholesalers#4224
-naics#42244#Poultry and Poultry Product Wholesalers#4224
-naics#42245#Confectionery Wholesalers#4224
-naics#42246#Fish and Seafood Wholesalers#4224
-naics#42247#Meat and Meat Product Wholesalers#4224
-naics#42248#Fresh Fruit and Vegetable Wholesalers#4224
-naics#42249#Other Grocery and Related Products Wholesalers#4224
-naics#4225#Farm Product Raw Material Wholesalers#422
-naics#42251#Grain and Field Bean Wholesalers#4225
-naics#42252#Livestock Wholesalers#4225
-naics#42259#Other Farm Product Raw Material Wholesalers#4225
-naics#4226#Chemical and Allied Products Wholesalers#422
-naics#42261#Plastics Materials and Basic Forms and Shapes Wholesalers#4226
-naics#42269#Other Chemical and Allied Products Wholesalers#4226
-naics#4227#Petroleum and Petroleum Products Wholesalers#422
-naics#42271#Petroleum Bulk Stations and Terminals#4227
-naics#42272#Petroleum and Petroleum Products Wholesalers (except Bulk Stations and Terminals)#4227
-naics#4228#Beer, Wine, and Distilled Alcoholic Beverage Wholesalers#422
-naics#42281#Beer and Ale Wholesalers#4228
-naics#42282#Wine and Distilled Alcoholic Beverage Wholesalers#4228
-naics#4229#Miscellaneous Nondurable Goods Wholesalers#422
-naics#42291#Farm Supplies Wholesalers#4229
-naics#42292#Book, Periodical, and Newspaper Wholesalers#4229
-naics#42293#Flower, Nursery Stock, and Florists' Supplies Wholesalers#4229
-naics#42294#Tobacco and Tobacco Product Wholesalers#4229
-naics#42295#Paint, Varnish, and Supplies Wholesalers#4229
-naics#42299#Other Miscellaneous Nondurable Goods Wholesalers#4229
-naics#44#Retail Trade#44
-naics#441#Motor Vehicle and Parts Dealers#44
-naics#4411#Automobile Dealers#441
-naics#44111#New Car Dealers#4411
-naics#44112#Used Car Dealers#4411
-naics#4412#Other Motor Vehicle Dealers#441
-naics#44121#Recreational Vehicle Dealers#4412
-naics#44122#Motorcycle, Boat, and Other Motor Vehicle Dealers#4412
-naics#441221#Motorcycle Dealers#44122
-naics#441222#Boat Dealers#44122
-naics#441229#All Other Motor Vehicle Dealers#44122
-naics#4413#Automotive Parts, Accessories, and Tire Stores#441
-naics#44131#Automotive Parts and Accessories Stores#4413
-naics#44132#Tire Dealers#4413
-naics#442#Furniture and Home Furnishings Stores#44
-naics#4421#Furniture Stores#442
-naics#44211#Furniture Stores#4421
-naics#4422#Home Furnishings Stores#442
-naics#44221#Floor Covering Stores#4422
-naics#44229#Other Home Furnishings Stores#4422
-naics#442291#Window Treatment Stores#44229
-naics#442299#All Other Home Furnishings Stores#44229
-naics#443#Electronics and Appliance Stores#44
-naics#4431#Electronics and Appliance Stores#443
-naics#44311#Appliance, Television, and Other Electronics Stores#4431
-naics#443111#Household Appliance Stores#44311
-naics#443112#Radio, Television, and Other Electronics Stores#44311
-naics#44312#Computer and Software Stores#4431
-naics#44313#Camera and Photographic Supplies Stores#4431
-naics#444#Building Material and Garden Equipment and Supplies Dealers#44
-naics#4441#Building Material and Supplies Dealers#444
-naics#44411#Home Centers#4441
-naics#44412#Paint and Wallpaper Stores#4441
-naics#44413#Hardware Stores#4441
-naics#44419#Other Building Material Dealers#4441
-naics#4442#Lawn and Garden Equipment and Supplies Stores#444
-naics#44421#Outdoor Power Equipment Stores#4442
-naics#44422#Nursery and Garden Centers#4442
-naics#445#Food and Beverage Stores#44
-naics#4451#Grocery Stores#445
-naics#44511#Supermarkets and Other Grocery (except Convenience) Stores#4451
-naics#44512#Convenience Stores#4451
-naics#4452#Specialty Food Stores#445
-naics#44521#Meat Markets#4452
-naics#44522#Fish and Seafood Markets#4452
-naics#44523#Fruit and Vegetable Markets#4452
-naics#44529#Other Specialty Food Stores#4452
-naics#445291#Baked Goods Stores#44529
-naics#445292#Confectionery and Nut Stores#44529
-naics#445299#All Other Specialty Food Stores#44529
-naics#4453#Beer, Wine, and Liquor Stores#445
-naics#44531#Beer, Wine, and Liquor Stores#4453
-naics#446#Health and Personal Care Stores#44
-naics#4461#Health and Personal Care Stores#446
-naics#44611#Pharmacies and Drug Stores#4461
-naics#44612#Cosmetics, Beauty Supplies, and Perfume Stores#4461
-naics#44613#Optical Goods Stores#4461
-naics#44619#Other Health and Personal Care Stores#4461
-naics#446191#Food (Health) Supplement Stores#44619
-naics#446199#All Other Health and Personal Care Stores#44619
-naics#447#Gasoline Stations#44
-naics#4471#Gasoline Stations#447
-naics#44711#Gasoline Stations with Convenience Stores#4471
-naics#44719#Other Gasoline Stations#4471
-naics#448#Clothing and Clothing Accessories Stores#44
-naics#4481#Clothing Stores#448
-naics#44811#Men's Clothing Stores#4481
-naics#44812#Women's Clothing Stores#4481
-naics#44813#Children's and Infants' Clothing Stores#4481
-naics#44814#Family Clothing Stores#4481
-naics#44815#Clothing Accessories Stores#4481
-naics#44819#Other Clothing Stores#4481
-naics#4482#Shoe Stores#448
-naics#44821#Shoe Stores#4482
-naics#4483#Jewelry, Luggage, and Leather Goods Stores#448
-naics#44831#Jewelry Stores#4483
-naics#44832#Luggage and Leather Goods Stores#4483
-naics#45#Retail Trade#45
-naics#451#Sporting Goods, Hobby, Book, and Music Stores#45
-naics#4511#Sporting Goods, Hobby, and Musical Instrument Stores#451
-naics#45111#Sporting Goods Stores#4511
-naics#45112#Hobby, Toy, and Game Stores#4511
-naics#45113#Sewing, Needlework, and Piece Goods Stores#4511
-naics#45114#Musical Instrument and Supplies Stores#4511
-naics#4512#Book, Periodical, and Music Stores#451
-naics#45121#Book Stores and News Dealers#4512
-naics#451211#Book Stores#45121
-naics#451212#News Dealers and Newsstands#45121
-naics#45122#Prerecorded Tape, Compact Disc, and Record Stores#4512
-naics#452#General Merchandise Stores#45
-naics#4521#Department Stores#452
-naics#45211#Department Stores#4521
-naics#4529#Other General Merchandise Stores#452
-naics#45291#Warehouse Clubs and Superstores#4529
-naics#45299#All Other General Merchandise Stores#4529
-naics#453#Miscellaneous Store Retailers#45
-naics#4531#Florists#453
-naics#45311#Florists#4531
-naics#4532#Office Supplies, Stationery, and Gift Stores#453
-naics#45321#Office Supplies and Stationery Stores#4532
-naics#45322#Gift, Novelty, and Souvenir Stores#4532
-naics#4533#Used Merchandise Stores#453
-naics#45331#Used Merchandise Stores#4533
-naics#4539#Other Miscellaneous Store Retailers#453
-naics#45391#Pet and Pet Supplies Stores#4539
-naics#45392#Art Dealers#4539
-naics#45393#Manufactured (Mobile) Home Dealers#4539
-naics#45399#All Other Miscellaneous Store Retailers#4539
-naics#453991#Tobacco Stores#45399
-naics#453998#All Other Miscellaneous Store Retailers (except Tobacco Stores)#45399
-naics#454#Nonstore Retailers#45
-naics#4541#Electronic Shopping and Mail-Order Houses#454
-naics#45411#Electronic Shopping and Mail-Order Houses#4541
-naics#4542#Vending Machine Operators#454
-naics#45421#Vending Machine Operators#4542
-naics#4543#Direct Selling Establishments#454
-naics#45431#Fuel Dealers#4543
-naics#454311#Heating Oil Dealers#45431
-naics#454312#Liquefied Petroleum Gas (Bottled Gas) Dealers#45431
-naics#454319#Other Fuel Dealers#45431
-naics#45439#Other Direct Selling Establishments#4543
-naics#48#Transportation and Warehousing#48
-naics#481#Air Transportation#48
-naics#4811#Scheduled Air Transportation#481
-naics#48111#Scheduled Air Transportation#4811
-naics#481111#Scheduled Passenger Air Transportation#48111
-naics#481112#Scheduled Freight Air Transportation#48111
-naics#4812#Nonscheduled Air Transportation#481
-naics#48121#Nonscheduled Air Transportation#4812
-naics#481211#Nonscheduled Chartered Passenger Air Transportation#48121
-naics#481212#Nonscheduled Chartered Freight Air Transportation#48121
-naics#481219#Other Nonscheduled Air Transportation#48121
-naics#482#Rail Transportation#48
-naics#4821#Rail Transportation#482
-naics#48211#Rail Transportation#4821
-naics#482111#Line-Haul Railroads#48211
-naics#482112#Short Line Railroads#48211
-naics#483#Water Transportation#48
-naics#4831#Deep Sea, Coastal, and Great Lakes Water Transportation#483
-naics#48311#Deep Sea, Coastal, and Great Lakes Water Transportation#4831
-naics#483111#Deep Sea Freight Transportation#48311
-naics#483112#Deep Sea Passenger Transportation#48311
-naics#483113#Coastal and Great Lakes Freight Transportation#48311
-naics#483114#Coastal and Great Lakes Passenger Transportation#48311
-naics#4832#Inland Water Transportation#483
-naics#48321#Inland Water Transportation#4832
-naics#483211#Inland Water Freight Transportation#48321
-naics#483212#Inland Water Passenger Transportation#48321
-naics#484#Truck Transportation#48
-naics#4841#General Freight Trucking#484
-naics#48411#General Freight Trucking, Local#4841
-naics#48412#General Freight Trucking, Long-Distance#4841
-naics#484121#General Freight Trucking, Long-Distance, Truckload#48412
-naics#484122#General Freight Trucking, Long-Distance, Less Than Truckload#48412
-naics#4842#Specialized Freight Trucking#484
-naics#48421#Used Household and Office Goods Moving#4842
-naics#48422#Specialized Freight (except Used Goods) Trucking, Local#4842
-naics#48423#Specialized Freight (except Used Goods) Trucking, Long-Distance#4842
-naics#485#Transit and Ground Passenger Transportation#48
-naics#4851#Urban Transit Systems#485
-naics#48511#Urban Transit Systems#4851
-naics#485111#Mixed Mode Transit Systems#48511
-naics#485112#Commuter Rail Systems#48511
-naics#485113#Bus and Other Motor Vehicle Transit Systems#48511
-naics#485119#Other Urban Transit Systems#48511
-naics#4852#Interurban and Rural Bus Transportation#485
-naics#48521#Interurban and Rural Bus Transportation#4852
-naics#4853#Taxi and Limousine Service#485
-naics#48531#Taxi Service#4853
-naics#48532#Limousine Service#4853
-naics#4854#School and Employee Bus Transportation#485
-naics#48541#School and Employee Bus Transportation#4854
-naics#4855#Charter Bus Industry#485
-naics#48551#Charter Bus Industry#4855
-naics#4859#Other Transit and Ground Passenger Transportation#485
-naics#48599#Other Transit and Ground Passenger Transportation#4859
-naics#485991#Special Needs Transportation#48599
-naics#485999#All Other Transit and Ground Passenger Transportation#48599
-naics#486#Pipeline Transportation#48
-naics#4861#Pipeline Transportation of Crude Oil#486
-naics#48611#Pipeline Transportation of Crude Oil#4861
-naics#4862#Pipeline Transportation of Natural Gas#486
-naics#48621#Pipeline Transportation of Natural Gas#4862
-naics#4869#Other Pipeline Transportation#486
-naics#48691#Pipeline Transportation of Refined Petroleum Products#4869
-naics#48699#All Other Pipeline Transportation#4869
-naics#487#Scenic and Sightseeing Transportation#48
-naics#4871#Scenic and Sightseeing Transportation, Land#487
-naics#48711#Scenic and Sightseeing Transportation, Land#4871
-naics#4872#Scenic and Sightseeing Transportation, Water#487
-naics#48721#Scenic and Sightseeing Transportation, Water#4872
-naics#4879#Scenic and Sightseeing Transportation, Other#487
-naics#48799#Scenic and Sightseeing Transportation, Other#4879
-naics#488#Support Activities for Transportation#48
-naics#4881#Support Activities for Air Transportation#488
-naics#48811#Airport Operations#4881
-naics#488111#Air Traffic Control#48811
-naics#488119#Other Airport Operations#48811
-naics#48819#Other Support Activities for Air Transportation#4881
-naics#4882#Support Activities for Rail Transportation#488
-naics#48821#Support Activities for Rail Transportation#4882
-naics#4883#Support Activities for Water Transportation#488
-naics#48831#Port and Harbor Operations#4883
-naics#48832#Marine Cargo Handling#4883
-naics#48833#Navigational Services to Shipping#4883
-naics#48839#Other Support Activities for Water Transportation#4883
-naics#4884#Support Activities for Road Transportation#488
-naics#48841#Motor Vehicle Towing#4884
-naics#48849#Other Support Activities for Road Transportation#4884
-naics#4885#Freight Transportation Arrangement#488
-naics#48851#Freight Transportation Arrangement#4885
-naics#4889#Other Support Activities for Transportation#488
-naics#48899#Other Support Activities for Transportation#4889
-naics#488991#Packing and Crating#48899
-naics#488999#All Other Support Activities for Transportation#48899
-naics#49#Transportation and Warehousing#49
-naics#491#Postal Service#49
-naics#4911#Postal Service#491
-naics#49111#Postal Service#4911
-naics#492#Couriers and Messengers#49
-naics#4921#Couriers#492
-naics#49211#Couriers#4921
-naics#4922#Local Messengers and Local Delivery#492
-naics#49221#Local Messengers and Local Delivery#4922
-naics#493#Warehousing and Storage#49
-naics#4931#Warehousing and Storage#493
-naics#49311#General Warehousing and Storage#4931
-naics#49312#Refrigerated Warehousing and Storage#4931
-naics#49313#Farm Product Warehousing and Storage#4931
-naics#49319#Other Warehousing and Storage#4931
-naics#51#Information#51
-naics#511#Publishing Industries#51
-naics#5111#Newspaper, Periodical, Book, and Database Publishers#511
-naics#51111#Newspaper Publishers#5111
-naics#51112#Periodical Publishers#5111
-naics#51113#Book Publishers#5111
-naics#51114#Database and Directory Publishers#5111
-naics#51119#Other Publishers#5111
-naics#511191#Greeting Card Publishers#51119
-naics#511199#All Other Publishers#51119
-naics#5112#Software Publishers#511
-naics#51121#Software Publishers#5112
-naics#512#Motion Picture and Sound Recording Industries#51
-naics#5121#Motion Picture and Video Industries#512
-naics#51211#Motion Picture and Video Production#5121
-naics#51212#Motion Picture and Video Distribution#5121
-naics#51213#Motion Picture and Video Exhibition#5121
-naics#512131#Motion Picture Theaters (except Drive-Ins)#51213
-naics#512132#Drive-In Motion Picture Theaters#51213
-naics#51219#Postproduction Services and Other Motion Picture and Video Industries#5121
-naics#512191#Teleproduction and Other Postproduction Services#51219
-naics#512199#Other Motion Picture and Video Industries#51219
-naics#5122#Sound Recording Industries#512
-naics#51221#Record Production#5122
-naics#51222#Integrated Record Production/Distribution#5122
-naics#51223#Music Publishers#5122
-naics#51224#Sound Recording Studios#5122
-naics#51229#Other Sound Recording Industries#5122
-naics#513#Broadcasting and Telecommunications#51
-naics#5131#Radio and Television Broadcasting#513
-naics#51311#Radio Broadcasting#5131
-naics#513111#Radio Networks#51311
-naics#513112#Radio Stations#51311
-naics#51312#Television Broadcasting#5131
-naics#5132#Cable Networks and Program Distribution#513
-naics#51321#Cable Networks#5132
-naics#51322#Cable and Other Program Distribution#5132
-naics#5133#Telecommunications#513
-naics#51331#Wired Telecommunications Carriers#5133
-naics#51332#Wireless Telecommunications Carriers (except Satellite)#5133
-naics#513321#Paging#51332
-naics#513322#Cellular and Other Wireless Telecommunications#51332
-naics#51333#Telecommunications Resellers#5133
-naics#51334#Satellite Telecommunications#5133
-naics#51339#Other Telecommunications#5133
-naics#514#Information Services and Data Processing Services#51
-naics#5141#Information Services#514
-naics#51411#News Syndicates#5141
-naics#51412#Libraries and Archives#5141
-naics#51419#Other Information Services#5141
-naics#514191#On-Line Information Services#51419
-naics#514199#All Other Information Services#51419
-naics#5142#Data Processing Services#514
-naics#51421#Data Processing Services#5142
-naics#52#Finance and Insurance#52
-naics#521#Monetary Authorities - Central Bank#52
-naics#5211#Monetary Authorities - Central Bank#521
-naics#52111#Monetary Authorities - Central Bank#5211
-naics#522#Credit Intermediation and Related Activities#52
-naics#5221#Depository Credit Intermediation#522
-naics#52211#Commercial Banking#5221
-naics#52212#Savings Institutions#5221
-naics#52213#Credit Unions#5221
-naics#52219#Other Depository Credit Intermediation#5221
-naics#5222#Nondepository Credit Intermediation#522
-naics#52221#Credit Card Issuing#5222
-naics#52222#Sales Financing#5222
-naics#52229#Other Nondepository Credit Intermediation#5222
-naics#522291#Consumer Lending#52229
-naics#522292#Real Estate Credit#52229
-naics#522293#International Trade Financing#52229
-naics#522294#Secondary Market Financing#52229
-naics#522298#All Other Nondepository Credit Intermediation#52229
-naics#5223#Activities Related to Credit Intermediation#522
-naics#52231#Mortgage and Nonmortgage Loan Brokers#5223
-naics#52232#Financial Transactions Processing, Reserve, and Clearinghouse Activities#5223
-naics#52239#Other Activities Related to Credit Intermediation#5223
-naics#523#Securities, Commodity Contracts, and Other Financial Investments and Related Activities#52
-naics#5231#Securities and Commodity Contracts Intermediation and Brokerage#523
-naics#52311#Investment Banking and Securities Dealing#5231
-naics#52312#Securities Brokerage#5231
-naics#52313#Commodity Contracts Dealing#5231
-naics#52314#Commodity Contracts Brokerage#5231
-naics#5232#Securities and Commodity Exchanges#523
-naics#52321#Securities and Commodity Exchanges#5232
-naics#5239#Other Financial Investment Activities#523
-naics#52391#Miscellaneous Intermediation#5239
-naics#52392#Portfolio Management#5239
-naics#52393#Investment Advice#5239
-naics#52399#All Other Financial Investment Activities#5239
-naics#523991#Trust, Fiduciary, and Custody Activities#52399
-naics#523999#Miscellaneous Financial Investment Activities#52399
-naics#524#Insurance Carriers and Related Activities#52
-naics#5241#Insurance Carriers#524
-naics#52411#Direct Life, Health, and Medical Insurance Carriers#5241
-naics#524113#Direct Life Insurance Carriers#52411
-naics#524114#Direct Health and Medical Insurance Carriers#52411
-naics#52412#Direct Insurance (except Life, Health, and Medical) Carriers#5241
-naics#524126#Direct Property and Casualty Insurance Carriers#52412
-naics#524127#Direct Title Insurance Carriers#52412
-naics#524128#Other Direct Insurance (except Life, Health, and Medical) Carriers#52412
-naics#52413#Reinsurance Carriers#5241
-naics#5242#Agencies, Brokerages, and Other Insurance Related Activities#524
-naics#52421#Insurance Agencies and Brokerages#5242
-naics#52429#Other Insurance Related Activities#5242
-naics#524291#Claims Adjusting#52429
-naics#524292#Third Party Administration of Insurance and Pension Funds#52429
-naics#524298#All Other Insurance Related Activities#52429
-naics#525#Funds, Trusts, and Other Financial Vehicles#52
-naics#5251#Insurance and Employee Benefit Funds#525
-naics#52511#Pension Funds#5251
-naics#52512#Health and Welfare Funds#5251
-naics#52519#Other Insurance Funds#5251
-naics#5259#Other Investment Pools and Funds#525
-naics#52591#Open-End Investment Funds#5259
-naics#52592#Trusts, Estates, and Agency Accounts#5259
-naics#52593#Real Estate Investment Trusts#5259
-naics#52599#Other Financial Vehicles#5259
-naics#53#Real Estate and Rental and Leasing#53
-naics#531#Real Estate#53
-naics#5311#Lessors of Real Estate#531
-naics#53111#Lessors of Residential Buildings and Dwellings#5311
-naics#53112#Lessors of Nonresidential Buildings (except Miniwarehouses)#5311
-naics#53113#Lessors of Miniwarehouses and Self-Storage Units#5311
-naics#53119#Lessors of Other Real Estate Property#5311
-naics#5312#Offices of Real Estate Agents and Brokers#531
-naics#53121#Offices of Real Estate Agents and Brokers#5312
-naics#5313#Activities Related to Real Estate#531
-naics#53131#Real Estate Property Managers#5313
-naics#531311#Residential Property Managers#53131
-naics#531312#Nonresidential Property Managers#53131
-naics#53132#Offices of Real Estate Appraisers#5313
-naics#53139#Other Activities Related to Real Estate#5313
-naics#532#Rental and Leasing Services#53
-naics#5321#Automotive Equipment Rental and Leasing#532
-naics#53211#Passenger Car Rental and Leasing#5321
-naics#532111#Passenger Car Rental#53211
-naics#532112#Passenger Car Leasing#53211
-naics#53212#Truck, Utility Trailer, and RV (Recreational Vehicle) Rental and Leasing#5321
-naics#5322#Consumer Goods Rental#532
-naics#53221#Consumer Electronics and Appliances Rental#5322
-naics#53222#Formal Wear and Costume Rental#5322
-naics#53223#Video Tape and Disc Rental#5322
-naics#53229#Other Consumer Goods Rental#5322
-naics#532291#Home Health Equipment Rental#53229
-naics#532292#Recreational Goods Rental#53229
-naics#532299#All Other Consumer Goods Rental#53229
-naics#5323#General Rental Centers#532
-naics#53231#General Rental Centers#5323
-naics#5324#Commercial and Industrial Machinery and Equipment Rental and Leasing#532
-naics#53241#Construction, Transportation, Mining, and Forestry Machinery and Equipment Rental and Leasing#5324
-naics#532411#Commercial Air, Rail, and Water Transportation Equipment Rental and Leasing#53241
-naics#532412#Construction, Mining, and Forestry Machinery and Equipment Rental and Leasing#53241
-naics#53242#Office Machinery and Equipment Rental and Leasing#5324
-naics#53249#Other Commercial and Industrial Machinery and Equipment Rental and Leasing#5324
-naics#533#Lessors of Nonfinancial Intangible Assets (except Copyrighted Works)#53
-naics#5331#Lessors of Nonfinancial Intangible Assets (except Copyrighted Works)#533
-naics#53311#Lessors of Nonfinancial Intangible Assets (except Copyrighted Works)#5331
-naics#54#Professional, Scientific, and Technical Services#54
-naics#541#Professional, Scientific, and Technical Services#54
-naics#5411#Legal Services#541
-naics#54111#Offices of Lawyers#5411
-naics#54112#Offices of Notaries#5411
-naics#54119#Other Legal Services#5411
-naics#541191#Title Abstract and Settlement Offices#54119
-naics#541199#All Other Legal Services#54119
-naics#5412#Accounting, Tax Preparation, Bookkeeping, and Payroll Services#541
-naics#54121#Accounting, Tax Preparation, Bookkeeping, and Payroll Services#5412
-naics#541211#Offices of Certified Public Accountants#54121
-naics#541213#Tax Preparation Services#54121
-naics#541214#Payroll Services#54121
-naics#541219#Other Accounting Services#54121
-naics#5413#Architectural, Engineering, and Related Services#541
-naics#54131#Architectural Services#5413
-naics#54132#Landscape Architectural Services#5413
-naics#54133#Engineering Services#5413
-naics#54134#Drafting Services#5413
-naics#54135#Building Inspection Services#5413
-naics#54136#Geophysical Surveying and Mapping Services#5413
-naics#54137#Surveying and Mapping (except Geophysical) Services#5413
-naics#54138#Testing Laboratories#5413
-naics#5414#Specialized Design Services#541
-naics#54141#Interior Design Services#5414
-naics#54142#Industrial Design Services#5414
-naics#54143#Graphic Design Services#5414
-naics#54149#Other Specialized Design Services#5414
-naics#5415#Computer Systems Design and Related Services#541
-naics#54151#Computer Systems Design and Related Services#5415
-naics#541511#Custom Computer Programming Services#54151
-naics#541512#Computer Systems Design Services#54151
-naics#541513#Computer Facilities Management Services#54151
-naics#541519#Other Computer Related Services#54151
-naics#5416#Management, Scientific, and Technical Consulting Services#541
-naics#54161#Management Consulting Services#5416
-naics#541611#Administrative Management and General Management Consulting Services#54161
-naics#541612#Human Resources and Executive Search Consulting Services#54161
-naics#541613#Marketing Consulting Services#54161
-naics#541614#Process, Physical Distribution, and Logistics Consulting Services#54161
-naics#541618#Other Management Consulting Services#54161
-naics#54162#Environmental Consulting Services#5416
-naics#54169#Other Scientific and Technical Consulting Services#5416
-naics#5417#Scientific Research and Development Services#541
-naics#54171#Research and Development in the Physical, Engineering, and Life Sciences#5417
-naics#54172#Research and Development in the Social Sciences and Humanities#5417
-naics#5418#Advertising and Related Services#541
-naics#54181#Advertising Agencies#5418
-naics#54182#Public Relations Agencies#5418
-naics#54183#Media Buying Agencies#5418
-naics#54184#Media Representatives#5418
-naics#54185#Display Advertising#5418
-naics#54186#Direct Mail Advertising#5418
-naics#54187#Advertising Material Distribution Services#5418
-naics#54189#Other Services Related to Advertising#5418
-naics#5419#Other Professional, Scientific, and Technical Services#541
-naics#54191#Marketing Research and Public Opinion Polling#5419
-naics#54192#Photographic Services#5419
-naics#541921#Photography Studios, Portrait#54192
-naics#541922#Commercial Photography#54192
-naics#54193#Translation and Interpretation Services#5419
-naics#54194#Veterinary Services#5419
-naics#54199#All Other Professional, Scientific, and Technical Services#5419
-naics#55#Management of Companies and Enterprises#55
-naics#551#Management of Companies and Enterprises#55
-naics#5511#Management of Companies and Enterprises#551
-naics#55111#Management of Companies and Enterprises#5511
-naics#551111#Offices of Bank Holding Companies#55111
-naics#551112#Offices of Other Holding Companies#55111
-naics#551114#Corporate, Subsidiary, and Regional Managing Offices#55111
-naics#56#Administrative and Support and Waste Management and Remediation Services#56
-naics#561#Administrative and Support Services#56
-naics#5611#Office Administrative Services#561
-naics#56111#Office Administrative Services#5611
-naics#5612#Facilities Support Services#561
-naics#56121#Facilities Support Services#5612
-naics#5613#Employment Services#561
-naics#56131#Employment Placement Agencies#5613
-naics#56132#Temporary Help Services#5613
-naics#56133#Employee Leasing Services#5613
-naics#5614#Business Support Services#561
-naics#56141#Document Preparation Services#5614
-naics#56142#Telephone Call Centers#5614
-naics#561421#Telephone Answering Services#56142
-naics#561422#Telemarketing Bureaus#56142
-naics#56143#Business Service Centers#5614
-naics#561431#Private Mail Centers#56143
-naics#561439#Other Business Service Centers (including Copy Shops)#56143
-naics#56144#Collection Agencies#5614
-naics#56145#Credit Bureaus#5614
-naics#56149#Other Business Support Services#5614
-naics#561491#Repossession Services#56149
-naics#561492#Court Reporting and Stenotype Services#56149
-naics#561499#All Other Business Support Services#56149
-naics#5615#Travel Arrangement and Reservation Services#561
-naics#56151#Travel Agencies#5615
-naics#56152#Tour Operators#5615
-naics#56159#Other Travel Arrangement and Reservation Services#5615
-naics#561591#Convention and Visitors Bureaus#56159
-naics#561599#All Other Travel Arrangement and Reservation Services#56159
-naics#5616#Investigation and Security Services#561
-naics#56161#Investigation, Guard, and Armored Car Services#5616
-naics#561611#Investigation Services#56161
-naics#561612#Security Guards and Patrol Services#56161
-naics#561613#Armored Car Services#56161
-naics#56162#Security Systems Services#5616
-naics#561621#Security Systems Services (except Locksmiths)#56162
-naics#561622#Locksmiths#56162
-naics#5617#Services to Buildings and Dwellings#561
-naics#56171#Exterminating and Pest Control Services#5617
-naics#56172#Janitorial Services#5617
-naics#56173#Landscaping Services#5617
-naics#56174#Carpet and Upholstery Cleaning Services#5617
-naics#56179#Other Services to Buildings and Dwellings#5617
-naics#5619#Other Support Services#561
-naics#56191#Packaging and Labeling Services#5619
-naics#56192#Convention and Trade Show Organizers#5619
-naics#56199#All Other Support Services#5619
-naics#562#Waste Management and Remediation Services#56
-naics#5621#Waste Collection#562
-naics#56211#Waste Collection#5621
-naics#562111#Solid Waste Collection#56211
-naics#562112#Hazardous Waste Collection#56211
-naics#562119#Other Waste Collection#56211
-naics#5622#Waste Treatment and Disposal#562
-naics#56221#Waste Treatment and Disposal#5622
-naics#562211#Hazardous Waste Treatment and Disposal#56221
-naics#562212#Solid Waste Landfill#56221
-naics#562213#Solid Waste Combustors and Incinerators#56221
-naics#562219#Other Nonhazardous Waste Treatment and Disposal#56221
-naics#5629#Remediation and Other Waste Management Services#562
-naics#56291#Remediation Services#5629
-naics#56292#Materials Recovery Facilities#5629
-naics#56299#All Other Waste Management Services#5629
-naics#562991#Septic Tank and Related Services#56299
-naics#562998#All Other Miscellaneous Waste Management Services#56299
-naics#61#Educational Services#61
-naics#611#Educational Services#61
-naics#6111#Elementary and Secondary Schools#611
-naics#61111#Elementary and Secondary Schools#6111
-naics#6112#Junior Colleges#611
-naics#61121#Junior Colleges#6112
-naics#6113#Colleges, Universities, and Professional Schools#611
-naics#61131#Colleges, Universities, and Professional Schools#6113
-naics#6114#Business Schools and Computer and Management Training#611
-naics#61141#Business and Secretarial Schools#6114
-naics#61142#Computer Training#6114
-naics#61143#Professional and Management Development Training#6114
-naics#6115#Technical and Trade Schools#611
-naics#61151#Technical and Trade Schools#6115
-naics#611511#Cosmetology and Barber Schools#61151
-naics#611512#Flight Training#61151
-naics#611513#Apprenticeship Training#61151
-naics#611519#Other Technical and Trade Schools#61151
-naics#6116#Other Schools and Instruction#611
-naics#61161#Fine Arts Schools#6116
-naics#61162#Sports and Recreation Instruction#6116
-naics#61163#Language Schools#6116
-naics#61169#All Other Schools and Instruction#6116
-naics#611691#Exam Preparation and Tutoring#61169
-naics#611692#Automobile Driving Schools#61169
-naics#611699#All Other Miscellaneous Schools and Instruction#61169
-naics#6117#Educational Support Services#611
-naics#61171#Educational Support Services#6117
-naics#62#Health Care and Social Assistance#62
-naics#621#Ambulatory Health Care Services#62
-naics#6211#Offices of Physicians#621
-naics#62111#Offices of Physicians#6211
-naics#621111#Offices of Physicians (except Mental Health Specialists)#62111
-naics#621112#Offices of Physicians, Mental Health Specialists#62111
-naics#6212#Offices of Dentists#621
-naics#62121#Offices of Dentists#6212
-naics#6213#Offices of Other Health Practitioners#621
-naics#62131#Offices of Chiropractors#6213
-naics#62132#Offices of Optometrists#6213
-naics#62133#Offices of Mental Health Practitioners (except Physicians)#6213
-naics#62134#Offices of Physical, Occupational and Speech Therapists, and Audiologists#6213
-naics#62139#Offices of All Other Health Practitioners#6213
-naics#621391#Offices of Podiatrists#62139
-naics#621399#Offices of All Other Miscellaneous Health Practitioners#62139
-naics#6214#Outpatient Care Centers#621
-naics#62141#Family Planning Centers#6214
-naics#62142#Outpatient Mental Health and Substance Abuse Centers#6214
-naics#62149#Other Outpatient Care Centers#6214
-naics#621491#HMO Medical Centers#62149
-naics#621492#Kidney Dialysis Centers#62149
-naics#621493#Freestanding Ambulatory Surgical and Emergency Centers#62149
-naics#621498#All Other Outpatient Care Centers#62149
-naics#6215#Medical and Diagnostic Laboratories#621
-naics#62151#Medical and Diagnostic Laboratories#6215
-naics#621511#Medical Laboratories#62151
-naics#621512#Diagnostic Imaging Centers#62151
-naics#6216#Home Health Care Services#621
-naics#62161#Home Health Care Services#6216
-naics#6219#Other Ambulatory Health Care Services#621
-naics#62191#Ambulance Services#6219
-naics#62199#All Other Ambulatory Health Care Services#6219
-naics#621991#Blood and Organ Banks#62199
-naics#621999#All Other Miscellaneous Ambulatory Health Care Services#62199
-naics#622#Hospitals#62
-naics#6221#General Medical and Surgical Hospitals#622
-naics#62211#General Medical and Surgical Hospitals#6221
-naics#6222#Psychiatric and Substance Abuse Hospitals#622
-naics#62221#Psychiatric and Substance Abuse Hospitals#6222
-naics#6223#Specialty (except Psychiatric and Substance Abuse) Hospitals#622
-naics#62231#Specialty (except Psychiatric and Substance Abuse) Hospitals#6223
-naics#623#Nursing and Residential Care Facilities#62
-naics#6231#Nursing Care Facilities#623
-naics#62311#Nursing Care Facilities#6231
-naics#6232#Residential Mental Retardation, Mental Health and Substance Abuse Facilities#623
-naics#62321#Residential Mental Retardation Facilities#6232
-naics#62322#Residential Mental Health and Substance Abuse Facilities#6232
-naics#6233#Community Care Facilities for the Elderly#623
-naics#62331#Community Care Facilities for the Elderly#6233
-naics#623311#Continuing Care Retirement Communities#62331
-naics#623312#Homes for the Elderly#62331
-naics#6239#Other Residential Care Facilities#623
-naics#62399#Other Residential Care Facilities#6239
-naics#624#Social Assistance#62
-naics#6241#Individual and Family Services#624
-naics#62411#Child and Youth Services#6241
-naics#62412#Services for the Elderly and Persons with Disabilities#6241
-naics#62419#Other Individual and Family Services#6241
-naics#6242#Community Food and Housing, and Emergency and Other Relief Services#624
-naics#62421#Community Food Services#6242
-naics#62422#Community Housing Services#6242
-naics#624221#Temporary Shelters#62422
-naics#624229#Other Community Housing Services#62422
-naics#62423#Emergency and Other Relief Services#6242
-naics#6243#Vocational Rehabilitation Services#624
-naics#62431#Vocational Rehabilitation Services#6243
-naics#6244#Child Day Care Services#624
-naics#62441#Child Day Care Services#6244
-naics#71#Arts, Entertainment, and Recreation#71
-naics#711#Performing Arts, Spectator Sports, and Related Industries#71
-naics#7111#Performing Arts Companies#711
-naics#71111#Theater Companies and Dinner Theaters#7111
-naics#71112#Dance Companies#7111
-naics#71113#Musical Groups and Artists#7111
-naics#71119#Other Performing Arts Companies#7111
-naics#7112#Spectator Sports#711
-naics#71121#Spectator Sports#7112
-naics#711211#Sports Teams and Clubs#71121
-naics#711212#Racetracks#71121
-naics#711219#Other Spectator Sports#71121
-naics#7113#Promoters of Performing Arts, Sports, and Similar Events#711
-naics#71131#Promoters of Performing Arts, Sports, and Similar Events with Facilities#7113
-naics#71132#Promoters of Performing Arts, Sports, and Similar Events without Facilities#7113
-naics#7114#Agents and Managers for Artists, Athletes, Entertainers, and Other Public Figures#711
-naics#71141#Agents and Managers for Artists, Athletes, Entertainers, and Other Public Figures#7114
-naics#7115#Independent Artists, Writers, and Performers#711
-naics#71151#Independent Artists, Writers, and Performers#7115
-naics#712#Museums, Historical Sites, and Similar Institutions#71
-naics#7121#Museums, Historical Sites, and Similar Institutions#712
-naics#71211#Museums#7121
-naics#71212#Historical Sites#7121
-naics#71213#Zoos and Botanical Gardens#7121
-naics#71219#Nature Parks and Other Similar Institutions#7121
-naics#713#Amusement, Gambling, and Recreation Industries#71
-naics#7131#Amusement Parks and Arcades#713
-naics#71311#Amusement and Theme Parks#7131
-naics#71312#Amusement Arcades#7131
-naics#7132#Gambling Industries#713
-naics#71321#Casinos (except Casino Hotels)#7132
-naics#71329#Other Gambling Industries#7132
-naics#7139#Other Amusement and Recreation Industries#713
-naics#71391#Golf Courses and Country Clubs#7139
-naics#71392#Skiing Facilities#7139
-naics#71393#Marinas#7139
-naics#71394#Fitness and Recreational Sports Centers#7139
-naics#71395#Bowling Centers#7139
-naics#71399#All Other Amusement and Recreation Industries#7139
-naics#72#Accommodation and Food Services#72
-naics#721#Accommodation#72
-naics#7211#Traveler Accommodation#721
-naics#72111#Hotels (except Casino Hotels) and Motels#7211
-naics#72112#Casino Hotels#7211
-naics#72119#Other Traveler Accommodation#7211
-naics#721191#Bed-and-Breakfast Inns#72119
-naics#721199#All Other Traveler Accommodation#72119
-naics#7212#RV (Recreational Vehicle) Parks and Recreational Camps#721
-naics#72121#RV (Recreational Vehicle) Parks and Recreational Camps#7212
-naics#721211#RV (Recreational Vehicle) Parks and Campgrounds#72121
-naics#721214#Recreational and Vacation Camps (except Campgrounds)#72121
-naics#7213#Rooming and Boarding Houses#721
-naics#72131#Rooming and Boarding Houses#7213
-naics#722#Food Services and Drinking Places#72
-naics#7221#Full-Service Restaurants#722
-naics#72211#Full-Service Restaurants#7221
-naics#7222#Limited-Service Eating Places#722
-naics#72221#Limited-Service Eating Places#7222
-naics#722211#Limited-Service Restaurants#72221
-naics#722212#Cafeterias#72221
-naics#722213#Snack and Nonalcoholic Beverage Bars#72221
-naics#7223#Special Food Services#722
-naics#72231#Food Service Contractors#7223
-naics#72232#Caterers#7223
-naics#72233#Mobile Food Services#7223
-naics#7224#Drinking Places (Alcoholic Beverages)#722
-naics#72241#Drinking Places (Alcoholic Beverages)#7224
-naics#81#Other Services (except Public Administration)#81
-naics#811#Repair and Maintenance#81
-naics#8111#Automotive Repair and Maintenance#811
-naics#81111#Automotive Mechanical and Electrical Repair and Maintenance#8111
-naics#811111#General Automotive Repair#81111
-naics#811112#Automotive Exhaust System Repair#81111
-naics#811113#Automotive Transmission Repair#81111
-naics#811118#Other Automotive Mechanical and Electrical Repair and Maintenance#81111
-naics#81112#Automotive Body, Paint, Interior, and Glass Repair#8111
-naics#811121#Automotive Body, Paint, and Interior Repair and Maintenance#81112
-naics#811122#Automotive Glass Replacement Shops#81112
-naics#81119#Other Automotive Repair and Maintenance#8111
-naics#811191#Automotive Oil Change and Lubrication Shops#81119
-naics#811192#Car Washes#81119
-naics#811198#All Other Automotive Repair and Maintenance#81119
-naics#8112#Electronic and Precision Equipment Repair and Maintenance#811
-naics#81121#Electronic and Precision Equipment Repair and Maintenance#8112
-naics#811211#Consumer Electronics Repair and Maintenance#81121
-naics#811212#Computer and Office Machine Repair and Maintenance#81121
-naics#811213#Communication Equipment Repair and Maintenance#81121
-naics#811219#Other Electronic and Precision Equipment Repair and Maintenance#81121
-naics#8113#Commercial and Industrial Machinery and Equipment (except Automotive and Electronic) Repair and Maintenance#811
-naics#81131#Commercial and Industrial Machinery and Equipment (except Automotive and Electronic) Repair and Maintenance#8113
-naics#8114#Personal and Household Goods Repair and Maintenance#811
-naics#81141#Home and Garden Equipment and Appliance Repair and Maintenance#8114
-naics#811411#Home and Garden Equipment Repair and Maintenance#81141
-naics#811412#Appliance Repair and Maintenance#81141
-naics#81142#Reupholstery and Furniture Repair#8114
-naics#81143#Footwear and Leather Goods Repair#8114
-naics#81149#Other Personal and Household Goods Repair and Maintenance#8114
-naics#812#Personal and Laundry Services#81
-naics#8121#Personal Care Services#812
-naics#81211#Hair, Nail, and Skin Care Services#8121
-naics#812111#Barber Shops#81211
-naics#812112#Beauty Salons#81211
-naics#812113#Nail Salons#81211
-naics#81219#Other Personal Care Services#8121
-naics#812191#Diet and Weight Reducing Centers#81219
-naics#812199#Other Personal Care Services#81219
-naics#8122#Death Care Services#812
-naics#81221#Funeral Homes and Funeral Services#8122
-naics#81222#Cemeteries and Crematories#8122
-naics#8123#Drycleaning and Laundry Services#812
-naics#81231#Coin-Operated Laundries and Drycleaners#8123
-naics#81232#Drycleaning and Laundry Services (except Coin-Operated)#8123
-naics#81233#Linen and Uniform Supply#8123
-naics#812331#Linen Supply#81233
-naics#812332#Industrial Launderers#81233
-naics#8129#Other Personal Services#812
-naics#81291#Pet Care (except Veterinary) Services#8129
-naics#81292#Photofinishing#8129
-naics#812921#Photofinishing Laboratories (except One-Hour)#81292
-naics#812922#One-Hour Photofinishing#81292
-naics#81293#Parking Lots and Garages#8129
-naics#81299#All Other Personal Services#8129
-naics#813#Religious, Grantmaking, Civic, Professional, and Similar Organizations#81
-naics#8131#Religious Organizations#813
-naics#81311#Religious Organizations#8131
-naics#8132#Grantmaking and Giving Services#813
-naics#81321#Grantmaking and Giving Services#8132
-naics#813211#Grantmaking Foundations#81321
-naics#813212#Voluntary Health Organizations#81321
-naics#813219#Other Grantmaking and Giving Services#81321
-naics#8133#Social Advocacy Organizations#813
-naics#81331#Social Advocacy Organizations#8133
-naics#813311#Human Rights Organizations#81331
-naics#813312#Environment, Conservation and Wildlife Organizations#81331
-naics#813319#Other Social Advocacy Organizations#81331
-naics#8134#Civic and Social Organizations#813
-naics#81341#Civic and Social Organizations#8134
-naics#8139#Business, Professional, Labor, Political, and Similar Organizations#813
-naics#81391#Business Associations#8139
-naics#81392#Professional Organizations#8139
-naics#81393#Labor Unions and Similar Labor Organizations#8139
-naics#81394#Political Organizations#8139
-naics#81399#Other Similar Organizations (except Business, Professional, Labor, and Political Organizations)#8139
-naics#814#Private Households#81
-naics#8141#Private Households#814
-naics#81411#Private Households#8141
-naics#92#Public Administration#92
-naics#921#Executive, Legislative, and Other General Government Support#92
-naics#9211#Executive, Legislative, and Other General Government Support#921
-naics#92111#Executive Offices#9211
-naics#92112#Legislative Bodies#9211
-naics#92113#Public Finance Activities#9211
-naics#92114#Executive and Legislative Offices, Combined#9211
-naics#92115#American Indian and Alaska Native Tribal Governments#9211
-naics#92119#Other General Government Support#9211
-naics#922#Justice, Public Order, and Safety Activities#92
-naics#9221#Justice, Public Order, and Safety Activities#922
-naics#92211#Courts#9221
-naics#92212#Police Protection#9221
-naics#92213#Legal Counsel and Prosecution#9221
-naics#92214#Correctional Institutions#9221
-naics#92215#Parole Offices and Probation Offices#9221
-naics#92216#Fire Protection#9221
-naics#92219#Other Justice, Public Order, and Safety Activities#9221
-naics#923#Administration of Human Resource Programs#92
-naics#9231#Administration of Human Resource Programs#923
-naics#92311#Administration of Education Programs#9231
-naics#92312#Administration of Public Health Programs#9231
-naics#92313#Administration of Human Resource Programs (except Education, Public Health, and Veterans' Affairs Programs)#9231
-naics#92314#Administration of Veterans' Affairs#9231
-naics#924#Administration of Environmental Quality Programs#92
-naics#9241#Administration of Environmental Quality Programs#924
-naics#92411#Administration of Air and Water Resource and Solid Waste Management Programs#9241
-naics#92412#Administration of Conservation Programs#9241
-naics#925#Administration of Housing Programs, Urban Planning, and Community Development#92
-naics#9251#Administration of Housing Programs, Urban Planning, and Community Development#925
-naics#92511#Administration of Housing Programs#9251
-naics#92512#Administration of Urban Planning and Community and Rural Development#9251
-naics#926#Administration of Economic Programs#92
-naics#9261#Administration of Economic Programs#926
-naics#92611#Administration of General Economic Programs#9261
-naics#92612#Regulation and Administration of Transportation Programs#9261
-naics#92613#Regulation and Administration of Communications, Electric, Gas, and Other Utilities#9261
-naics#92614#Regulation of Agricultural Marketing and Commodities#9261
-naics#92615#Regulation, Licensing, and Inspection of Miscellaneous Commercial Sectors#9261
-naics#927#Space Research and Technology#92
-naics#9271#Space Research and Technology#927
-naics#92711#Space Research and Technology#9271
-naics#928#National Security and International Affairs#92
-naics#9281#National Security and International Affairs#928
-naics#92811#National Security#9281
-naics#92812#International Affairs#9281
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/unspsc-data.txt b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/unspsc-data.txt
deleted file mode 100644
index 17835141a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/data/unspsc-data.txt
+++ /dev/null
@@ -1,17054 +0,0 @@
-unspsc7#10.00.00.00.00#Live Plant and Animal Material and Accessories and Supplies#10.00.00.00.00
-unspsc7#10.10.00.00.00#Live animals#10.00.00.00.00
-unspsc7#10.10.15.00.00#Livestock#10.10.00.00.00
-unspsc7#10.10.15.01.00#Cats#10.10.15.00.00
-unspsc7#10.10.15.02.00#Dogs#10.10.15.00.00
-unspsc7#10.10.15.04.00#Mink#10.10.15.00.00
-unspsc7#10.10.15.05.00#Rats#10.10.15.00.00
-unspsc7#10.10.15.06.00#Horses#10.10.15.00.00
-unspsc7#10.10.15.07.00#Sheep#10.10.15.00.00
-unspsc7#10.10.15.08.00#Goats#10.10.15.00.00
-unspsc7#10.10.15.09.00#Asses#10.10.15.00.00
-unspsc7#10.10.15.10.00#Mice#10.10.15.00.00
-unspsc7#10.10.15.11.00#Swine#10.10.15.00.00
-unspsc7#10.10.15.12.00#Rabbits#10.10.15.00.00
-unspsc7#10.10.15.13.00#Guinea pigs#10.10.15.00.00
-unspsc7#10.10.15.14.00#Primates#10.10.15.00.00
-unspsc7#10.10.15.15.00#Armadillos#10.10.15.00.00
-unspsc7#10.10.15.16.00#Cattle#10.10.15.00.00
-unspsc7#10.10.15.17.00#Camels#10.10.15.00.00
-unspsc7#10.10.16.00.00#Birds and fowl#10.10.00.00.00
-unspsc7#10.10.16.01.00#Live chickens#10.10.16.00.00
-unspsc7#10.10.16.02.00#Live ducks#10.10.16.00.00
-unspsc7#10.10.16.03.00#Live turkeys#10.10.16.00.00
-unspsc7#10.10.16.04.00#Live geese#10.10.16.00.00
-unspsc7#10.10.16.05.00#Live pheasants#10.10.16.00.00
-unspsc7#10.10.17.00.00#Live fish#10.10.00.00.00
-unspsc7#10.10.17.01.00#Live salmon#10.10.17.00.00
-unspsc7#10.10.17.02.00#Live trout#10.10.17.00.00
-unspsc7#10.10.17.03.00#Live talapia#10.10.17.00.00
-unspsc7#10.10.17.04.00#Live carp#10.10.17.00.00
-unspsc7#10.10.17.05.00#Live eels#10.10.17.00.00
-unspsc7#10.10.18.00.00#Shellfish and aquatic invertebrates#10.10.00.00.00
-unspsc7#10.10.18.01.00#Live shrimp#10.10.18.00.00
-unspsc7#10.10.18.02.00#Live clams#10.10.18.00.00
-unspsc7#10.10.18.03.00#Live mussels#10.10.18.00.00
-unspsc7#10.10.18.04.00#Live oysters#10.10.18.00.00
-unspsc7#10.10.18.05.00#Live crabs#10.10.18.00.00
-unspsc7#10.10.18.06.00#Live abalone#10.10.18.00.00
-unspsc7#10.10.18.07.00#Live octopi#10.10.18.00.00
-unspsc7#10.10.18.08.00#Live squid#10.10.18.00.00
-unspsc7#10.10.19.00.00#Insects#10.10.00.00.00
-unspsc7#10.10.19.01.00#Butterflies#10.10.19.00.00
-unspsc7#10.10.19.02.00#Beetles#10.10.19.00.00
-unspsc7#10.10.19.03.00#Bees#10.10.19.00.00
-unspsc7#10.10.19.04.00#Silkworms#10.10.19.00.00
-unspsc7#10.10.20.00.00#Wild animals#10.10.00.00.00
-unspsc7#10.10.20.01.00#Elephants#10.10.20.00.00
-unspsc7#10.10.20.02.00#Live foxes#10.10.20.00.00
-unspsc7#10.11.00.00.00#Domestic pet products#10.00.00.00.00
-unspsc7#10.11.11.00.00#Pet food bowls or equipment#10.11.00.00.00
-unspsc7#10.11.12.00.00#Medicated pet treatments#10.11.00.00.00
-unspsc7#10.11.13.00.00#Domestic pet treatments and accessories and equipment#10.11.00.00.00
-unspsc7#10.11.13.01.00#Pet toys#10.11.13.00.00
-unspsc7#10.11.13.02.00#Pet grooming products#10.11.13.00.00
-unspsc7#10.11.13.03.00#Pet litter or equipment for pet waste management#10.11.13.00.00
-unspsc7#10.11.13.04.00#Pet food bowls or equipment#10.11.13.00.00
-unspsc7#10.11.13.05.00#Medicated pet treatments#10.11.13.00.00
-unspsc7#10.12.00.00.00#Animal feed#10.00.00.00.00
-unspsc7#10.12.15.00.00#Livestock feed#10.12.00.00.00
-unspsc7#10.12.15.01.00#Pure wheat bran#10.12.15.00.00
-unspsc7#10.12.15.02.00#Feed oats#10.12.15.00.00
-unspsc7#10.12.15.03.00#Feed corn#10.12.15.00.00
-unspsc7#10.12.15.04.00#Feed sorghum#10.12.15.00.00
-unspsc7#10.12.15.05.00#Hay#10.12.15.00.00
-unspsc7#10.12.15.06.00#Oil cake#10.12.15.00.00
-unspsc7#10.12.16.00.00#Bird and fowl food#10.12.00.00.00
-unspsc7#10.12.16.01.00#Live food for birds#10.12.16.00.00
-unspsc7#10.12.16.02.00#Bird seed#10.12.16.00.00
-unspsc7#10.12.16.03.00#Bird treats or snacks#10.12.16.00.00
-unspsc7#10.12.16.04.00#Poultry food#10.12.16.00.00
-unspsc7#10.12.17.00.00#Fish food#10.12.00.00.00
-unspsc7#10.12.17.01.00#Fresh or frozen brine#10.12.17.00.00
-unspsc7#10.12.17.02.00#Fish food pellets#10.12.17.00.00
-unspsc7#10.12.17.03.00#Fish food flakes#10.12.17.00.00
-unspsc7#10.12.18.00.00#Dog and cat food#10.12.00.00.00
-unspsc7#10.12.18.01.00#Dry food for dogs#10.12.18.00.00
-unspsc7#10.12.18.02.00#Moist food for dogs#10.12.18.00.00
-unspsc7#10.12.18.03.00#Milk for dogs or cats#10.12.18.00.00
-unspsc7#10.12.18.04.00#Dry food for cats#10.12.18.00.00
-unspsc7#10.12.18.05.00#Moist food for cats#10.12.18.00.00
-unspsc7#10.12.18.06.00#Treats or snacks for cats or dogs#10.12.18.00.00
-unspsc7#10.12.19.00.00#Rodent food#10.12.00.00.00
-unspsc7#10.12.19.01.00#Pelletized food for rodents#10.12.19.00.00
-unspsc7#10.12.20.00.00#Reptile food#10.12.00.00.00
-unspsc7#10.12.20.01.00#Pelletized food for reptiles#10.12.20.00.00
-unspsc7#10.12.20.02.00#Moist food for reptiles#10.12.20.00.00
-unspsc7#10.12.20.03.00#Live food for reptiles#10.12.20.00.00
-unspsc7#10.13.00.00.00#Animal containment and habitats#10.00.00.00.00
-unspsc7#10.13.15.00.00#Animal shelters#10.13.00.00.00
-unspsc7#10.13.15.06.00#Livestock stables#10.13.15.00.00
-unspsc7#10.13.15.07.00#Domesticized pet houses#10.13.15.00.00
-unspsc7#10.13.15.08.00#Pet beds#10.13.15.00.00
-unspsc7#10.13.16.00.00#Animal containment#10.13.00.00.00
-unspsc7#10.13.16.01.00#Cages#10.13.16.00.00
-unspsc7#10.13.16.02.00#Kennels#10.13.16.00.00
-unspsc7#10.13.16.03.00#Animal carrying cases#10.13.16.00.00
-unspsc7#10.13.16.04.00#Dog runs#10.13.16.00.00
-unspsc7#10.13.17.00.00#Animal habitats#10.13.00.00.00
-unspsc7#10.13.17.01.00#Terrariums#10.13.17.00.00
-unspsc7#10.13.17.02.00#Aquariums#10.13.17.00.00
-unspsc7#10.14.00.00.00#Saddlery and harness goods#10.00.00.00.00
-unspsc7#10.14.15.00.00#Saddlery#10.14.00.00.00
-unspsc7#10.14.15.01.00#Saddles#10.14.15.00.00
-unspsc7#10.14.15.02.00#Whips#10.14.15.00.00
-unspsc7#10.14.16.00.00#Harness goods#10.14.00.00.00
-unspsc7#10.14.16.01.00#Bridles#10.14.16.00.00
-unspsc7#10.14.16.02.00#Yokes#10.14.16.00.00
-unspsc7#10.14.16.03.00#Horse bits#10.14.16.00.00
-unspsc7#10.14.16.04.00#Reins#10.14.16.00.00
-unspsc7#10.14.16.05.00#Stirrups#10.14.16.00.00
-unspsc7#10.14.16.06.00#Leashes or leads#10.14.16.00.00
-unspsc7#10.14.16.07.00#Collars#10.14.16.00.00
-unspsc7#10.14.16.08.00#Harnesses#10.14.16.00.00
-unspsc7#10.14.16.09.00#Restraints#10.14.16.00.00
-unspsc7#10.15.00.00.00#Seeds and bulbs and seedlings and cuttings#10.00.00.00.00
-unspsc7#10.15.15.00.00#Vegetable seeds and seedlings#10.15.00.00.00
-unspsc7#10.15.15.01.00#Bean seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.02.00#Carrot seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.03.00#Celery seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.04.00#Chili seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.05.00#Courgette seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.06.00#Cow pea seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.07.00#Cucumber seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.08.00#Eggplant seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.09.00#Endive seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.10.00#Garlic seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.11.00#Leek seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.12.00#Lettuce seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.13.00#Corn seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.14.00#Melon seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.15.00#Onion seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.16.00#Soya seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.17.00#Spinach seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.18.00#Tomato seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.19.00#Turnip seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.20.00#Chard seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.21.00#Sweet pepper seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.22.00#Beet seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.23.00#Cauliflower seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.15.24.00#Parsely seeds or seedlings#10.15.15.00.00
-unspsc7#10.15.16.00.00#Cereal seeds#10.15.00.00.00
-unspsc7#10.15.16.01.00#Wheat seeds#10.15.16.00.00
-unspsc7#10.15.16.02.00#Colza seeds#10.15.16.00.00
-unspsc7#10.15.16.03.00#Barley seeds#10.15.16.00.00
-unspsc7#10.15.16.04.00#Millet seeds#10.15.16.00.00
-unspsc7#10.15.16.05.00#Oat seeds#10.15.16.00.00
-unspsc7#10.15.16.06.00#Sesame seeds#10.15.16.00.00
-unspsc7#10.15.16.07.00#Linseed seeds#10.15.16.00.00
-unspsc7#10.15.16.08.00#Castor oil seeds#10.15.16.00.00
-unspsc7#10.15.16.09.00#Maize seeds#10.15.16.00.00
-unspsc7#10.15.16.10.00#Rye seeds#10.15.16.00.00
-unspsc7#10.15.16.11.00#Sorghum seeds#10.15.16.00.00
-unspsc7#10.15.17.00.00#Grass and forage seeds and seedlings#10.15.00.00.00
-unspsc7#10.15.17.01.00#Rice seeds or seedlings#10.15.17.00.00
-unspsc7#10.15.17.02.00#Clover seeds or seedling#10.15.17.00.00
-unspsc7#10.15.17.03.00#Alfalfa seeds or seedlings#10.15.17.00.00
-unspsc7#10.15.17.04.00#Grass seeds or seedlings#10.15.17.00.00
-unspsc7#10.15.18.00.00#Spice crop seeds and seedlings#10.15.00.00.00
-unspsc7#10.15.18.01.00#Pepper seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.02.00#Vanilla seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.03.00#Cinnamon seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.04.00#Clove seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.05.00#Coriander seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.06.00#Ginger seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.07.00#Saffron seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.08.00#Thyme seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.09.00#Curry seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.10.00#Mustard seeds or seedlings#10.15.18.00.00
-unspsc7#10.15.18.11.00#Ginseng roots or seedlings#10.15.18.00.00
-unspsc7#10.15.19.00.00#Flower seeds and bulbs and seedlings and cuttings#10.15.00.00.00
-unspsc7#10.15.19.01.00#Tulip seeds or bulbs or seedlings or cuttings#10.15.19.00.00
-unspsc7#10.15.19.02.00#Rose seeds or seedlings or cuttings#10.15.19.00.00
-unspsc7#10.15.19.03.00#Daffodil seeds or bulbs or seedlings or cuttings#10.15.19.00.00
-unspsc7#10.15.19.04.00#Sunflower seeds#10.15.19.00.00
-unspsc7#10.15.19.05.00#Hyacinth bulbs or shoots#10.15.19.00.00
-unspsc7#10.15.19.06.00#Lily Bulbs#10.15.19.00.00
-unspsc7#10.15.20.00.00#Tree and shrub seeds and cuttings#10.15.00.00.00
-unspsc7#10.15.20.01.00#Fruit tree seeds or cuttings#10.15.20.00.00
-unspsc7#10.15.20.02.00#Conifer tree seeds or cuttings#10.15.20.00.00
-unspsc7#10.15.20.03.00#Nut tree seeds or cuttings#10.15.20.00.00
-unspsc7#10.15.21.00.00#Residues other than animal feed#10.15.00.00.00
-unspsc7#10.15.21.01.00#Residues babool seed extraction#10.15.21.00.00
-unspsc7#10.15.21.02.00#Residues of rape seeds#10.15.21.00.00
-unspsc7#10.15.21.03.00#Residue of linseed#10.15.21.00.00
-unspsc7#10.15.21.04.00#Oil cake of neem#10.15.21.00.00
-unspsc7#10.15.22.00.00#Fibrous crop seeds and seedlings#10.15.00.00.00
-unspsc7#10.15.22.01.00#Cotton seeds or seedlings#10.15.22.00.00
-unspsc7#10.16.00.00.00#Floriculture and silviculture products#10.00.00.00.00
-unspsc7#10.16.15.00.00#Trees and shrubs#10.16.00.00.00
-unspsc7#10.16.15.01.00#Olive trees#10.16.15.00.00
-unspsc7#10.16.15.02.00#Coffee shrubs#10.16.15.00.00
-unspsc7#10.16.15.03.00#Cocoa trees#10.16.15.00.00
-unspsc7#10.16.15.04.00#Apple trees#10.16.15.00.00
-unspsc7#10.16.15.05.00#Peach trees#10.16.15.00.00
-unspsc7#10.16.15.06.00#Orange trees#10.16.15.00.00
-unspsc7#10.16.15.07.00#Rhodendron shrubs#10.16.15.00.00
-unspsc7#10.16.15.08.00#Tea shrubs#10.16.15.00.00
-unspsc7#10.16.15.09.00#Conifer trees#10.16.15.00.00
-unspsc7#10.16.15.10.00#Spruce trees#10.16.15.00.00
-unspsc7#10.16.15.11.00#Pine trees#10.16.15.00.00
-unspsc7#10.16.15.12.00#Fir trees#10.16.15.00.00
-unspsc7#10.16.16.00.00#Floral plants#10.16.00.00.00
-unspsc7#10.16.16.01.00#Rose plants#10.16.16.00.00
-unspsc7#10.16.16.02.00#Poinsettias plants#10.16.16.00.00
-unspsc7#10.16.16.03.00#Orchids plants#10.16.16.00.00
-unspsc7#10.16.16.04.00#Azaleas plants#10.16.16.00.00
-unspsc7#10.16.16.05.00#Cactus plants#10.16.16.00.00
-unspsc7#10.16.17.00.00#Cut flowers#10.16.00.00.00
-unspsc7#10.16.17.01.00#Cut gladiolus#10.16.17.00.00
-unspsc7#10.16.17.02.00#Cut lilies#10.16.17.00.00
-unspsc7#10.16.17.03.00#Cut carnations#10.16.17.00.00
-unspsc7#10.16.17.04.00#Cut tulips#10.16.17.00.00
-unspsc7#10.16.17.05.00#Cut roses#10.16.17.00.00
-unspsc7#10.16.18.00.00#Non flowering plants#10.16.00.00.00
-unspsc7#10.16.18.01.00#Ferns#10.16.18.00.00
-unspsc7#10.16.18.02.00#Ivies#10.16.18.00.00
-unspsc7#10.16.18.03.00#Philodendrons#10.16.18.00.00
-unspsc7#10.16.19.00.00#Dried floral products#10.16.00.00.00
-unspsc7#10.16.19.01.00#Dried pods#10.16.19.00.00
-unspsc7#10.16.19.02.00#Dried leafy greenery#10.16.19.00.00
-unspsc7#10.16.19.03.00#Dried fern greenery#10.16.19.00.00
-unspsc7#10.16.19.04.00#Dried full flowers#10.16.19.00.00
-unspsc7#10.16.19.05.00#Dried twigs or sticks#10.16.19.00.00
-unspsc7#10.16.19.06.00#Dried grass plumes#10.16.19.00.00
-unspsc7#10.16.19.07.00#Dried pressed flowers#10.16.19.00.00
-unspsc7#10.16.19.08.00#Dried flower petals#10.16.19.00.00
-unspsc7#10.17.00.00.00#Fertilizers and plant nutrients and herbicides#10.00.00.00.00
-unspsc7#10.17.15.00.00#Organic fertilizers and plant nutrients#10.17.00.00.00
-unspsc7#10.17.15.01.00#Manure or guano#10.17.15.00.00
-unspsc7#10.17.15.02.00#Plant hormones#10.17.15.00.00
-unspsc7#10.17.15.03.00#Fish meal#10.17.15.00.00
-unspsc7#10.17.16.00.00#Chemical fertilizers and plant nutrients#10.17.00.00.00
-unspsc7#10.17.16.01.00#Nitrogenous fertilizer#10.17.16.00.00
-unspsc7#10.17.16.02.00#Potassic fertilizer#10.17.16.00.00
-unspsc7#10.17.16.03.00#Phosphatic fertilizer#10.17.16.00.00
-unspsc7#10.17.16.04.00#Sulphuric fertilizer#10.17.16.00.00
-unspsc7#10.17.16.05.00#Nitrogen Phosphorous Potassium Mixtures (NPK)#10.17.16.00.00
-unspsc7#10.17.17.00.00#Herbicides#10.17.00.00.00
-unspsc7#10.17.17.01.00#Weed killer#10.17.17.00.00
-unspsc7#10.17.17.02.00#Fungicides#10.17.17.00.00
-unspsc7#10.19.00.00.00#Pest control products#10.00.00.00.00
-unspsc7#10.19.15.00.00#Insecticides and insect control traps#10.19.00.00.00
-unspsc7#10.19.15.01.00#Spray insecticides#10.19.15.00.00
-unspsc7#10.19.15.02.00#Bait insecticides#10.19.15.00.00
-unspsc7#10.19.15.03.00#Silicic acid#10.19.15.00.00
-unspsc7#10.19.15.04.00#Flying insect control traps#10.19.15.00.00
-unspsc7#10.19.16.00.00#Rodenticides#10.19.00.00.00
-unspsc7#10.19.16.01.00#Extruded baits#10.19.16.00.00
-unspsc7#10.19.16.02.00#Meal or pellet or seed baits#10.19.16.00.00
-unspsc7#10.19.16.03.00#Liquid baits#10.19.16.00.00
-unspsc7#10.19.16.04.00#Tracking powders#10.19.16.00.00
-unspsc7#10.19.17.00.00#Animal control traps#10.19.00.00.00
-unspsc7#10.19.17.01.00#Mouse or rat traps#10.19.17.00.00
-unspsc7#10.19.17.02.00#Wire cage traps#10.19.17.00.00
-unspsc7#11.00.00.00.00#Mineral and Textile and Inedible Plant and Animal Materials#11.00.00.00.00
-unspsc7#11.10.00.00.00#Minerals and ores and metals#11.00.00.00.00
-unspsc7#11.10.15.00.00#Minerals#11.10.00.00.00
-unspsc7#11.10.15.01.00#Mica#11.10.15.00.00
-unspsc7#11.10.15.02.00#Emery#11.10.15.00.00
-unspsc7#11.10.15.03.00#Quartz#11.10.15.00.00
-unspsc7#11.10.15.04.00#Pyrite#11.10.15.00.00
-unspsc7#11.10.15.05.00#Sulphur#11.10.15.00.00
-unspsc7#11.10.15.06.00#Chalk#11.10.15.00.00
-unspsc7#11.10.15.07.00#Graphite#11.10.15.00.00
-unspsc7#11.10.15.08.00#Dolomite#11.10.15.00.00
-unspsc7#11.10.15.09.00#Magnesite#11.10.15.00.00
-unspsc7#11.10.15.10.00#Asbestos#11.10.15.00.00
-unspsc7#11.10.15.11.00#Calcium#11.10.15.00.00
-unspsc7#11.10.15.12.00#Borate#11.10.15.00.00
-unspsc7#11.10.15.13.00#Cryolite#11.10.15.00.00
-unspsc7#11.10.15.14.00#Feldspar#11.10.15.00.00
-unspsc7#11.10.15.15.00#Leucite#11.10.15.00.00
-unspsc7#11.10.15.16.00#Nephelite#11.10.15.00.00
-unspsc7#11.10.15.17.00#Steatite#11.10.15.00.00
-unspsc7#11.10.15.18.00#Talc#11.10.15.00.00
-unspsc7#11.10.15.19.00#Diamonds#11.10.15.00.00
-unspsc7#11.10.15.20.00#Garnets#11.10.15.00.00
-unspsc7#11.10.15.21.00#Silicon carbide#11.10.15.00.00
-unspsc7#11.10.15.22.00#Activated carbon#11.10.15.00.00
-unspsc7#11.10.15.23.00#Mulite#11.10.15.00.00
-unspsc7#11.10.15.24.00#Flourospar#11.10.15.00.00
-unspsc7#11.10.15.25.00#Keiserite#11.10.15.00.00
-unspsc7#11.10.15.26.00#Carnallite#11.10.15.00.00
-unspsc7#11.10.16.00.00#Ores#11.10.00.00.00
-unspsc7#11.10.16.01.00#Iron ore#11.10.16.00.00
-unspsc7#11.10.16.02.00#Titanium ore#11.10.16.00.00
-unspsc7#11.10.16.03.00#Uranium ore#11.10.16.00.00
-unspsc7#11.10.16.04.00#Copper ore#11.10.16.00.00
-unspsc7#11.10.16.05.00#Aluminum ore#11.10.16.00.00
-unspsc7#11.10.16.06.00#Nickel ore#11.10.16.00.00
-unspsc7#11.10.16.07.00#Silver ore#11.10.16.00.00
-unspsc7#11.10.16.08.00#Lead ore#11.10.16.00.00
-unspsc7#11.10.16.09.00#Zinc ore#11.10.16.00.00
-unspsc7#11.10.16.10.00#Tin ore#11.10.16.00.00
-unspsc7#11.10.16.11.00#Manganese ore#11.10.16.00.00
-unspsc7#11.10.16.12.00#Chromium ore#11.10.16.00.00
-unspsc7#11.10.16.13.00#Tungsten or wolfram ore#11.10.16.00.00
-unspsc7#11.10.16.14.00#Molybdenum ore#11.10.16.00.00
-unspsc7#11.10.16.15.00#Cobalt ore#11.10.16.00.00
-unspsc7#11.10.16.16.00#Gold ore#11.10.16.00.00
-unspsc7#11.10.16.17.00#Tantalum ore#11.10.16.00.00
-unspsc7#11.10.16.18.00#Platinum ore#11.10.16.00.00
-unspsc7#11.10.16.19.00#Vermiculite ore#11.10.16.00.00
-unspsc7#11.10.16.20.00#Thorium ore#11.10.16.00.00
-unspsc7#11.10.16.21.00#Kyanite ore#11.10.16.00.00
-unspsc7#11.10.16.22.00#Antimony ores#11.10.16.00.00
-unspsc7#11.10.16.23.00#Zirconium ores#11.10.16.00.00
-unspsc7#11.10.17.00.00#Base metals#11.10.00.00.00
-unspsc7#11.10.17.01.00#Slag or ash#11.10.17.00.00
-unspsc7#11.10.17.02.00#Natural graphite#11.10.17.00.00
-unspsc7#11.10.17.03.00#Titanium#11.10.17.00.00
-unspsc7#11.10.17.04.00#Steel#11.10.17.00.00
-unspsc7#11.10.17.05.00#Aluminum#11.10.17.00.00
-unspsc7#11.10.17.06.00#Nickel#11.10.17.00.00
-unspsc7#11.10.17.07.00#Magnesium#11.10.17.00.00
-unspsc7#11.10.17.08.00#Bismuth#11.10.17.00.00
-unspsc7#11.10.17.09.00#Antimony#11.10.17.00.00
-unspsc7#11.10.17.10.00#Cadmium#11.10.17.00.00
-unspsc7#11.10.17.11.00#Non ferrous alloy#11.10.17.00.00
-unspsc7#11.10.17.12.00#Ferrous alloy#11.10.17.00.00
-unspsc7#11.10.17.13.00#Iron#11.10.17.00.00
-unspsc7#11.10.17.14.00#Lead#11.10.17.00.00
-unspsc7#11.10.17.15.00#Copper#11.10.17.00.00
-unspsc7#11.10.18.00.00#Precious metals#11.10.00.00.00
-unspsc7#11.10.18.01.00#Gold#11.10.18.00.00
-unspsc7#11.10.18.02.00#Silver#11.10.18.00.00
-unspsc7#11.10.18.03.00#Platinum#11.10.18.00.00
-unspsc7#11.11.00.00.00#Earth and stone#11.00.00.00.00
-unspsc7#11.11.15.00.00#Dirt and soil#11.11.00.00.00
-unspsc7#11.11.15.01.00#Soil#11.11.15.00.00
-unspsc7#11.11.15.02.00#Fill dirt#11.11.15.00.00
-unspsc7#11.11.15.03.00#Topsoil#11.11.15.00.00
-unspsc7#11.11.16.00.00#Stone#11.11.00.00.00
-unspsc7#11.11.16.01.00#Gypsum#11.11.16.00.00
-unspsc7#11.11.16.02.00#Travertine#11.11.16.00.00
-unspsc7#11.11.16.03.00#Ecaussine or alabaster#11.11.16.00.00
-unspsc7#11.11.16.04.00#Granite#11.11.16.00.00
-unspsc7#11.11.16.05.00#Marble#11.11.16.00.00
-unspsc7#11.11.16.06.00#Slate#11.11.16.00.00
-unspsc7#11.11.16.07.00#Sandstone#11.11.16.00.00
-unspsc7#11.11.16.08.00#Limestone#11.11.16.00.00
-unspsc7#11.11.16.09.00#Basalt#11.11.16.00.00
-unspsc7#11.11.16.10.00#Pumice stone#11.11.16.00.00
-unspsc7#11.11.17.00.00#Sand#11.11.00.00.00
-unspsc7#11.11.17.01.00#Silica sand#11.11.17.00.00
-unspsc7#11.11.18.00.00#Clays#11.11.00.00.00
-unspsc7#11.11.18.01.00#Terra cotta#11.11.18.00.00
-unspsc7#11.11.18.02.00#Fireclay#11.11.18.00.00
-unspsc7#11.11.18.03.00#Kaolin or other kaolinic clays#11.11.18.00.00
-unspsc7#11.11.18.04.00#Bentonite#11.11.18.00.00
-unspsc7#11.11.18.05.00#Andalusite#11.11.18.00.00
-unspsc7#11.11.18.06.00#Mullite#11.11.18.00.00
-unspsc7#11.11.18.07.00#Chamotte#11.11.18.00.00
-unspsc7#11.11.18.08.00#Common clay#11.11.18.00.00
-unspsc7#11.11.18.09.00#Ball clay#11.11.18.00.00
-unspsc7#11.11.18.10.00#Fullers earth#11.11.18.00.00
-unspsc7#11.12.00.00.00#Non edible plant and forestry products#11.00.00.00.00
-unspsc7#11.12.15.00.00#Sap#11.12.00.00.00
-unspsc7#11.12.15.02.00#Rosin#11.12.15.00.00
-unspsc7#11.12.15.03.00#Lac#11.12.15.00.00
-unspsc7#11.12.16.00.00#Wood#11.12.00.00.00
-unspsc7#11.12.16.03.00#Logs#11.12.16.00.00
-unspsc7#11.12.16.04.00#Soft timber#11.12.16.00.00
-unspsc7#11.12.16.05.00#Rattan#11.12.16.00.00
-unspsc7#11.12.16.06.00#Cork#11.12.16.00.00
-unspsc7#11.12.16.07.00#Wood pulp#11.12.16.00.00
-unspsc7#11.12.16.08.00#Bamboo#11.12.16.00.00
-unspsc7#11.12.16.09.00#Plywood#11.12.16.00.00
-unspsc7#11.12.16.10.00#Hardwoods#11.12.16.00.00
-unspsc7#11.12.17.00.00#Forestry by products#11.12.00.00.00
-unspsc7#11.12.17.01.00#Saw dust#11.12.17.00.00
-unspsc7#11.12.17.02.00#Wood chips#11.12.17.00.00
-unspsc7#11.12.17.03.00#Peat moss#11.12.17.00.00
-unspsc7#11.12.17.04.00#Wood shavings#11.12.17.00.00
-unspsc7#11.12.17.05.00#Bark#11.12.17.00.00
-unspsc7#11.12.17.06.00#Mulch#11.12.17.00.00
-unspsc7#11.12.17.07.00#Wood wool#11.12.17.00.00
-unspsc7#11.12.17.08.00#Wood flour#11.12.17.00.00
-unspsc7#11.12.17.09.00#Balsams#11.12.17.00.00
-unspsc7#11.12.18.00.00#Plant fibers#11.12.00.00.00
-unspsc7#11.12.18.01.00#Hemp#11.12.18.00.00
-unspsc7#11.12.18.02.00#Cotton#11.12.18.00.00
-unspsc7#11.12.18.03.00#Flax#11.12.18.00.00
-unspsc7#11.12.18.04.00#Jute#11.12.18.00.00
-unspsc7#11.12.18.05.00#Sisal#11.12.18.00.00
-unspsc7#11.12.18.06.00#Coconut fibres or coir#11.12.18.00.00
-unspsc7#11.12.18.07.00#Abaca fibers#11.12.18.00.00
-unspsc7#11.12.18.08.00#Ramie#11.12.18.00.00
-unspsc7#11.12.18.09.00#Straw#11.12.18.00.00
-unspsc7#11.12.18.10.00#Broom corn or istle or piassava#11.12.18.00.00
-unspsc7#11.12.19.00.00#Perfumery products#11.12.00.00.00
-unspsc7#11.12.19.01.00#Licorice roots#11.12.19.00.00
-unspsc7#11.13.00.00.00#Non edible animal products#11.00.00.00.00
-unspsc7#11.13.15.00.00#Animal hides and skins and animal textile materials#11.13.00.00.00
-unspsc7#11.13.15.01.00#Feathers#11.13.15.00.00
-unspsc7#11.13.15.02.00#Furs#11.13.15.00.00
-unspsc7#11.13.15.03.00#Animal hair#11.13.15.00.00
-unspsc7#11.13.15.04.00#Hides#11.13.15.00.00
-unspsc7#11.13.15.05.00#Unprocessed mohair#11.13.15.00.00
-unspsc7#11.13.15.06.00#Unprocessed wool#11.13.15.00.00
-unspsc7#11.13.15.07.00#Suede#11.13.15.00.00
-unspsc7#11.13.15.08.00#Full grain leather#11.13.15.00.00
-unspsc7#11.13.16.00.00#Other animal products#11.13.00.00.00
-unspsc7#11.13.16.01.00#Ivory#11.13.16.00.00
-unspsc7#11.13.16.02.00#Semen#11.13.16.00.00
-unspsc7#11.13.16.03.00#Excretions#11.13.16.00.00
-unspsc7#11.13.16.04.00#Fish eggs#11.13.16.00.00
-unspsc7#11.13.16.05.00#Bones#11.13.16.00.00
-unspsc7#11.13.16.06.00#Animal horns#11.13.16.00.00
-unspsc7#11.13.16.07.00#Embryos#11.13.16.00.00
-unspsc7#11.13.16.08.00#Shell articles#11.13.16.00.00
-unspsc7#11.14.00.00.00#Scrap and waste materials#11.00.00.00.00
-unspsc7#11.14.15.00.00#Metal waste and scrap#11.14.00.00.00
-unspsc7#11.14.15.01.00#Ferrous metal waste or scrap#11.14.15.00.00
-unspsc7#11.14.15.02.00#Non ferrous metal waste or scrap#11.14.15.00.00
-unspsc7#11.14.15.03.00#Automotive wrecking for waste or scrap#11.14.15.00.00
-unspsc7#11.14.16.00.00#Non metallic waste and scrap#11.14.00.00.00
-unspsc7#11.14.16.01.00#Textile waste or scrap#11.14.16.00.00
-unspsc7#11.14.16.02.00#Plastic waste or scrap#11.14.16.00.00
-unspsc7#11.14.16.03.00#Oil wastes#11.14.16.00.00
-unspsc7#11.14.16.04.00#Paper wastes#11.14.16.00.00
-unspsc7#11.14.16.05.00#Glass waste or scrap#11.14.16.00.00
-unspsc7#11.14.16.06.00#Wood waste or scrap#11.14.16.00.00
-unspsc7#11.14.16.07.00#Rubber waste or scrap#11.14.16.00.00
-unspsc7#11.14.16.08.00#Hazardous waste or scrap#11.14.16.00.00
-unspsc7#11.14.16.09.00#Composition leather#11.14.16.00.00
-unspsc7#11.14.16.10.00#Leather waste and scrap#11.14.16.00.00
-unspsc7#11.14.17.00.00#Food and tobacco waste and scrap#11.14.00.00.00
-unspsc7#11.14.17.01.00#Food waste or scrap#11.14.17.00.00
-unspsc7#11.14.17.02.00#Tobacco waste or scrap#11.14.17.00.00
-unspsc7#11.15.00.00.00#Fibers and threads and yarns#11.00.00.00.00
-unspsc7#11.15.15.00.00#Fibers#11.15.00.00.00
-unspsc7#11.15.15.01.00#Acetate fibers#11.15.15.00.00
-unspsc7#11.15.15.02.00#Nylon fibers#11.15.15.00.00
-unspsc7#11.15.15.03.00#Polyester fibers#11.15.15.00.00
-unspsc7#11.15.15.04.00#Acrylic fibers#11.15.15.00.00
-unspsc7#11.15.15.05.00#Viscose fibers#11.15.15.00.00
-unspsc7#11.15.15.06.00#Rayon fibers#11.15.15.00.00
-unspsc7#11.15.15.07.00#Cotton fibers#11.15.15.00.00
-unspsc7#11.15.15.08.00#Wool fibers#11.15.15.00.00
-unspsc7#11.15.15.09.00#Silk fibers#11.15.15.00.00
-unspsc7#11.15.15.10.00#Vegetable fibers#11.15.15.00.00
-unspsc7#11.15.15.11.00#Polypropylene fibers#11.15.15.00.00
-unspsc7#11.15.15.12.00#Glass fibers#11.15.15.00.00
-unspsc7#11.15.15.13.00#Ceramic fibers#11.15.15.00.00
-unspsc7#11.15.15.14.00#Polymer aramid fibers#11.15.15.00.00
-unspsc7#11.15.15.15.00#Asbestos fibers#11.15.15.00.00
-unspsc7#11.15.16.00.00#Threads#11.15.00.00.00
-unspsc7#11.15.16.01.00#Cotton thread#11.15.16.00.00
-unspsc7#11.15.16.02.00#Silk thread#11.15.16.00.00
-unspsc7#11.15.16.03.00#Polyester thread#11.15.16.00.00
-unspsc7#11.15.16.04.00#Polyamide thread#11.15.16.00.00
-unspsc7#11.15.16.05.00#Bismalemide thread#11.15.16.00.00
-unspsc7#11.15.16.06.00#Fiberglass thread#11.15.16.00.00
-unspsc7#11.15.16.07.00#Graphite thread#11.15.16.00.00
-unspsc7#11.15.16.08.00#Nylon thread#11.15.16.00.00
-unspsc7#11.15.16.09.00#Resin impregnated thread#11.15.16.00.00
-unspsc7#11.15.16.10.00#Rubber or latex thread#11.15.16.00.00
-unspsc7#11.15.16.11.00#Spandex thread#11.15.16.00.00
-unspsc7#11.15.17.00.00#Yarns#11.15.00.00.00
-unspsc7#11.15.17.01.00#Wool yarn#11.15.17.00.00
-unspsc7#11.15.17.02.00#Cotton yarn#11.15.17.00.00
-unspsc7#11.15.17.03.00#Polyester yarn#11.15.17.00.00
-unspsc7#11.15.17.04.00#Acrylic yarn#11.15.17.00.00
-unspsc7#11.15.17.05.00#Silk yarn#11.15.17.00.00
-unspsc7#11.15.17.06.00#Ramie yarn#11.15.17.00.00
-unspsc7#11.15.17.07.00#Flax yarn#11.15.17.00.00
-unspsc7#11.15.17.08.00#Animal hair yarn#11.15.17.00.00
-unspsc7#11.15.17.09.00#Synthetic yarn#11.15.17.00.00
-unspsc7#11.15.17.10.00#Jute yarn#11.15.17.00.00
-unspsc7#11.15.17.11.00#Coir yarn#11.15.17.00.00
-unspsc7#11.15.17.12.00#Paper yarn#11.15.17.00.00
-unspsc7#11.15.17.13.00#Hemp yarn#11.15.17.00.00
-unspsc7#11.16.00.00.00#Fabrics and leather materials#11.00.00.00.00
-unspsc7#11.16.15.00.00#Silk fabrics#11.16.00.00.00
-unspsc7#11.16.15.01.00#Plain weave silk fabrics#11.16.15.00.00
-unspsc7#11.16.15.02.00#Jacquard weave silk fabrics#11.16.15.00.00
-unspsc7#11.16.15.03.00#Knit silk fabrics#11.16.15.00.00
-unspsc7#11.16.15.04.00#Silk velvets fabrics#11.16.15.00.00
-unspsc7#11.16.16.00.00#Wool fabrics#11.16.00.00.00
-unspsc7#11.16.16.01.00#Plain weave wool fabrics#11.16.16.00.00
-unspsc7#11.16.16.02.00#Jacquard weave wool fabrics#11.16.16.00.00
-unspsc7#11.16.16.03.00#Knit wool fabrics#11.16.16.00.00
-unspsc7#11.16.17.00.00#Cotton fabrics#11.16.00.00.00
-unspsc7#11.16.17.01.00#Plain weave cotton fabrics#11.16.17.00.00
-unspsc7#11.16.17.02.00#Twill weave cotton fabrics#11.16.17.00.00
-unspsc7#11.16.17.03.00#Cotton oxford cloths#11.16.17.00.00
-unspsc7#11.16.17.04.00#Knit cotton fabrics#11.16.17.00.00
-unspsc7#11.16.17.05.00#Cotton velvet fabrics#11.16.17.00.00
-unspsc7#11.16.18.00.00#Synthetic fabrics#11.16.00.00.00
-unspsc7#11.16.18.01.00#Plain weave synthetic fabrics#11.16.18.00.00
-unspsc7#11.16.18.02.00#Jacquard weave synthetic fabrics#11.16.18.00.00
-unspsc7#11.16.18.03.00#Dobby weave synthetic fabrics#11.16.18.00.00
-unspsc7#11.16.18.04.00#Knit synthetic fabrics#11.16.18.00.00
-unspsc7#11.16.18.05.00#Synthetic velvet fabrics#11.16.18.00.00
-unspsc7#11.16.19.00.00#Artificial fabrics#11.16.00.00.00
-unspsc7#11.16.19.01.00#Plain weave artificial fabrics#11.16.19.00.00
-unspsc7#11.16.19.02.00#Jacquard weave artificial fabrics#11.16.19.00.00
-unspsc7#11.16.19.03.00#Dobby weave artificial fabrics#11.16.19.00.00
-unspsc7#11.16.19.04.00#Knit artificial fabrics#11.16.19.00.00
-unspsc7#11.16.19.05.00#Artifical velvet fabrics#11.16.19.00.00
-unspsc7#11.16.20.00.00#Fabrics of vegetable material other than cotton#11.16.00.00.00
-unspsc7#11.16.20.01.00#Plain weave non cotton vegetable fiber fabrics#11.16.20.00.00
-unspsc7#11.16.20.02.00#Knit non cotton vegetable fiber fabrics#11.16.20.00.00
-unspsc7#11.16.20.03.00#Hessian or hemp or jute cloth#11.16.20.00.00
-unspsc7#11.16.21.00.00#Specialty fabrics or cloth#11.16.00.00.00
-unspsc7#11.16.21.01.00#Cheese cloth or fabric#11.16.21.00.00
-unspsc7#11.16.21.02.00#Bismalemide fabric or cloth#11.16.21.00.00
-unspsc7#11.16.21.03.00#Fiberglass fabric or cloth#11.16.21.00.00
-unspsc7#11.16.21.04.00#Graphite fabric or cloth#11.16.21.00.00
-unspsc7#11.16.21.05.00#Glass fabric or cloth#11.16.21.00.00
-unspsc7#11.16.21.07.00#Resin impregnated fabric or cloth#11.16.21.00.00
-unspsc7#11.16.21.08.00#Wire mesh fabric or cloth#11.16.21.00.00
-unspsc7#11.16.21.09.00#Lace#11.16.21.00.00
-unspsc7#11.16.21.10.00#Netting#11.16.21.00.00
-unspsc7#11.16.21.11.00#Mesh#11.16.21.00.00
-unspsc7#11.16.21.12.00#Coated fabrics#11.16.21.00.00
-unspsc7#11.16.21.13.00#Upholstery fabrics#11.16.21.00.00
-unspsc7#11.16.21.14.00#Hook and loop fabrics or tapes#11.16.21.00.00
-unspsc7#11.16.21.15.00#Elastic braid#11.16.21.00.00
-unspsc7#11.16.21.16.00#Burlap cloth#11.16.21.00.00
-unspsc7#11.16.21.17.00#Rubber fabrics#11.16.21.00.00
-unspsc7#11.16.21.18.00#Paper yarn fabric#11.16.21.00.00
-unspsc7#11.16.21.19.00#Tracing cloth#11.16.21.00.00
-unspsc7#11.16.21.20.00#Bolting cloth#11.16.21.00.00
-unspsc7#11.16.21.21.00#Ornamental trimmings#11.16.21.00.00
-unspsc7#11.16.22.00.00#Nonwoven fabrics#11.16.00.00.00
-unspsc7#11.16.22.01.00#Spunbonded nonwovens#11.16.22.00.00
-unspsc7#11.16.22.02.00#Spunlaced nonwovens#11.16.22.00.00
-unspsc7#11.16.23.00.00#Leathers#11.16.00.00.00
-unspsc7#11.16.23.01.00#Chamois leather#11.16.23.00.00
-unspsc7#11.16.23.02.00#Goat leather#11.16.23.00.00
-unspsc7#11.16.23.03.00#Sheep leather#11.16.23.00.00
-unspsc7#11.16.23.04.00#Patent leather#11.16.23.00.00
-unspsc7#11.16.23.05.00#Cow leather#11.16.23.00.00
-unspsc7#11.16.23.06.00#Pig leather#11.16.23.00.00
-unspsc7#11.16.23.07.00#Synthetic or imitation leather#11.16.23.00.00
-unspsc7#11.16.23.08.00#Buffalo leather#11.16.23.00.00
-unspsc7#11.16.23.09.00#Reptile leather#11.16.23.00.00
-unspsc7#12.00.00.00.00#Chemicals including Bio Chemicals and Gas Materials#12.00.00.00.00
-unspsc7#12.10.00.00.00#Organic chemicals#12.00.00.00.00
-unspsc7#12.10.15.00.00#Alcohol#12.10.00.00.00
-unspsc7#12.10.15.01.00#Saturated monohydric alcohol#12.10.15.00.00
-unspsc7#12.10.15.02.00#Isopropyl alcohol#12.10.15.00.00
-unspsc7#12.10.15.03.00#Unsaturated monohydric alcohol#12.10.15.00.00
-unspsc7#12.10.15.04.00#Cyclic alcohol or their halogenated or sulphonated or nitrated derivatives#12.10.15.00.00
-unspsc7#12.10.15.05.00#Phenol alcohol#12.10.15.00.00
-unspsc7#12.10.15.06.00#Halogenated or sulphonated or nitrated or nitrosated derivatives of phenols#12.10.15.00.00
-unspsc7#12.10.15.07.00#Methylated spirit#12.10.15.00.00
-unspsc7#12.10.16.00.00#Ethers and alcohol peroxides and ether peroxides and other organic compounds#12.10.00.00.00
-unspsc7#12.10.16.01.00#Acyclic ethers#12.10.16.00.00
-unspsc7#12.10.16.02.00#Cyclonic or cyclenic or cycloterpenic ethers#12.10.16.00.00
-unspsc7#12.10.16.03.00#Ether or aromatic ether#12.10.16.00.00
-unspsc7#12.10.16.04.00#Ether alcohol#12.10.16.00.00
-unspsc7#12.10.16.05.00#Ether phenols or ether alcohol phenols#12.10.16.00.00
-unspsc7#12.10.16.06.00#Alcohol peroxides#12.10.16.00.00
-unspsc7#12.10.16.07.00#Oxirane or ethylene oxide#12.10.16.00.00
-unspsc7#12.10.16.08.00#Epichlorohydrin or 1 chloro 2 or 3 epoxypropane#12.10.16.00.00
-unspsc7#12.10.16.09.00#Epoxides or epoxyalcohols or epoxyphenols or epoxyethers#12.10.16.00.00
-unspsc7#12.10.16.10.00#Acetals or kemiacetals#12.10.16.00.00
-unspsc7#12.10.16.11.00#Acyclic aldehydes without other oxygen function#12.10.16.00.00
-unspsc7#12.10.16.12.00#Cyclic aldehydes without other oxygen function#12.10.16.00.00
-unspsc7#12.10.16.13.00#Alcohol aldehyde#12.10.16.00.00
-unspsc7#12.10.16.14.00#Paraformaldehyde#12.10.16.00.00
-unspsc7#12.10.16.15.00#Aldehydes#12.10.16.00.00
-unspsc7#12.10.16.16.00#Acyclic ketones without other oxygen function#12.10.16.00.00
-unspsc7#12.10.16.17.00#Cyclonic or cyclenic or cycloterpenic ketones without other oxygen function#12.10.16.00.00
-unspsc7#12.10.16.18.00#Ketones or aromatic without other oxygen function#12.10.16.00.00
-unspsc7#12.10.16.19.00#Ketone alcohol or ketone aldehydes#12.10.16.00.00
-unspsc7#12.10.16.20.00#Ketone phenols or ketones with other oxygen function#12.10.16.00.00
-unspsc7#12.10.16.21.00#Quinones#12.10.16.00.00
-unspsc7#12.10.16.22.00#Rennet tablets#12.10.16.00.00
-unspsc7#12.10.16.23.00#Enzymes#12.10.16.00.00
-unspsc7#12.10.17.00.00#Monocarboxylic fatty acids or industrial acid oils from refining#12.10.00.00.00
-unspsc7#12.10.17.01.00#Oleic acid#12.10.17.00.00
-unspsc7#12.10.17.02.00#Industrial fatty alcohols#12.10.17.00.00
-unspsc7#12.10.17.03.00#Stearic acid#12.10.17.00.00
-unspsc7#12.10.17.04.00#Tall oil fatty acids#12.10.17.00.00
-unspsc7#12.10.17.05.00#Acid oils from refining#12.10.17.00.00
-unspsc7#12.10.18.00.00#Carboxylic acids and their anhydrides and halides and peroxides and peroxyacids#12.10.00.00.00
-unspsc7#12.10.18.01.00#Formic acid or its salts or esters#12.10.18.00.00
-unspsc7#12.10.18.02.00#Acetic acid or its salts or acetic anhydride#12.10.18.00.00
-unspsc7#12.10.18.03.00#Esters of acetic acid#12.10.18.00.00
-unspsc7#12.10.18.04.00#Mono or di trichloracetic acid or their salts or esters#12.10.18.00.00
-unspsc7#12.10.18.05.00#Propionic acid or its salts or esters#12.10.18.00.00
-unspsc7#12.10.18.06.00#Butyric acids or valeric acids or their salts or esters#12.10.18.00.00
-unspsc7#12.10.18.07.00#Palmitic acids or stearic acids or their salts or esters#12.10.18.00.00
-unspsc7#12.10.18.08.00#Saturated acrylic monocarboxylic acids#12.10.18.00.00
-unspsc7#12.10.18.09.00#Unsaturated acyclic monocarboxylic acids#12.10.18.00.00
-unspsc7#12.10.18.10.00#Cyclonic or cyclenic or cycloterpenic monocarboxylic acids#12.10.18.00.00
-unspsc7#12.10.18.11.00#Aromatic monocarboxylic acids#12.10.18.00.00
-unspsc7#12.10.18.12.00#Acyclic polycarboxylic acids#12.10.18.00.00
-unspsc7#12.10.18.13.00#Cyclonic or cyclenic or cycloterpenic polycarboxylic acids#12.10.18.00.00
-unspsc7#12.10.18.14.00#Aromatic polycarboxylic acids#12.10.18.00.00
-unspsc7#12.10.18.15.00#Lactic acid or its salts or esters#12.10.18.00.00
-unspsc7#12.10.18.16.00#Tartaric acid or its salts or esters#12.10.18.00.00
-unspsc7#12.10.18.17.00#Atric acid or ts salts or esters#12.10.18.00.00
-unspsc7#12.10.18.18.00#Glucaric acid or its salts or esters#12.10.18.00.00
-unspsc7#12.10.18.19.00#Phenylglyocolic acid or mandelic acid or its salts or esters#12.10.18.00.00
-unspsc7#12.10.18.20.00#Carboxylic acids with alcohol function but without other oxygen function#12.10.18.00.00
-unspsc7#12.10.18.21.00#Carboxylic acids with phenol function but without other oxygen function#12.10.18.00.00
-unspsc7#12.10.18.22.00#Carboxylic acids with aldehyde or ketone function#12.10.18.00.00
-unspsc7#12.10.19.00.00#Amine and oxygen function amino compounds and ureines#12.10.00.00.00
-unspsc7#12.10.19.01.00#Glutamic acid or its salts#12.10.19.00.00
-unspsc7#12.10.20.00.00#Organo sulfur compounds and other organo inorganic compounds#12.10.00.00.00
-unspsc7#12.10.20.01.00#Organo sulfur compounds#12.10.20.00.00
-unspsc7#12.10.20.02.00#Other organo inorganic compounds#12.10.20.00.00
-unspsc7#12.10.20.03.00#Compounds containing an unfused furan ring in the structure#12.10.20.00.00
-unspsc7#12.10.20.04.00#Lactines#12.10.20.00.00
-unspsc7#12.10.20.05.00#Compounds containing an unfused imidazole ring in the structure#12.10.20.00.00
-unspsc7#12.10.20.06.00#Compounds containing an unfused pyridine ring in the structure#12.10.20.00.00
-unspsc7#12.10.20.07.00#Compounds containing a quinoline or isoquinoline ring system#12.10.20.00.00
-unspsc7#12.10.20.08.00#Lactams#12.10.20.00.00
-unspsc7#12.10.20.09.00#Heterocyclic compounds with nitrogen hetero atom only#12.10.20.00.00
-unspsc7#12.10.20.10.00#Compounds containing an unfused thiazole ring in the structure#12.10.20.00.00
-unspsc7#12.10.21.00.00#Hydrocarbons and their halogenated and sulphonated and nitrosated derivatives#12.10.00.00.00
-unspsc7#12.10.21.01.00#Saturated acyclic hydrocarbons#12.10.21.00.00
-unspsc7#12.10.21.02.00#Unsaturated acyclic hydrocarbons#12.10.21.00.00
-unspsc7#12.10.21.03.00#Cyclic hydrocarbons#12.10.21.00.00
-unspsc7#12.10.21.04.00#Halogentated derivatives of hydrocarbons#12.10.21.00.00
-unspsc7#12.10.21.05.00#Refrigerants#12.10.21.00.00
-unspsc7#12.10.21.06.00#Sulphonated or nitrated or nitrosated derivatives of hydrocarbons#12.10.21.00.00
-unspsc7#12.10.21.07.00#Paraffin#12.10.21.00.00
-unspsc7#12.10.22.00.00#Phosphoric esters and their salts and esters of other organic acids#12.10.00.00.00
-unspsc7#12.10.22.01.00#Phosphoric esters or their salts#12.10.22.00.00
-unspsc7#12.11.00.00.00#Inorganic chemicals#12.00.00.00.00
-unspsc7#12.11.16.00.00#Chemical elements#12.11.00.00.00
-unspsc7#12.11.16.01.00#Chlorine#12.11.16.00.00
-unspsc7#12.11.16.02.00#Fluorine or bromine#12.11.16.00.00
-unspsc7#12.11.16.03.00#Chlorine liquid gas#12.11.16.00.00
-unspsc7#12.11.16.04.00#Sublimes or precipitated sulphur or colloidal sulphur#12.11.16.00.00
-unspsc7#12.11.16.05.00#Boron or tellurium#12.11.16.00.00
-unspsc7#12.11.16.06.00#Silicon#12.11.16.00.00
-unspsc7#12.11.16.07.00#Alkali metals#12.11.16.00.00
-unspsc7#12.11.16.08.00#Alkaline earth metals#12.11.16.00.00
-unspsc7#12.11.16.09.00#Mercury#12.11.16.00.00
-unspsc7#12.11.16.10.00#Hydrogen chloride or hydrochloric acid#12.11.16.00.00
-unspsc7#12.11.16.11.00#Chlorosulfuric acid#12.11.16.00.00
-unspsc7#12.11.16.12.00#Sulphuric acid#12.11.16.00.00
-unspsc7#12.11.16.13.00#Phosphorus pentaoxide or phosphoric acid or polyphosphoric acids#12.11.16.00.00
-unspsc7#12.11.16.14.00#Oxides of boron or boric acids#12.11.16.00.00
-unspsc7#12.11.16.15.00#Hydrogen fluoride or hydrofluoric acid#12.11.16.00.00
-unspsc7#12.11.16.16.00#Silicon dioxide#12.11.16.00.00
-unspsc7#12.11.16.17.00#Sulphur dioxide#12.11.16.00.00
-unspsc7#12.11.16.18.00#Hydrocyanic acid#12.11.16.00.00
-unspsc7#12.11.16.19.00#Halides or halide oxides of non metals#12.11.16.00.00
-unspsc7#12.11.16.20.00#Sulphides of non metals#12.11.16.00.00
-unspsc7#12.11.16.21.00#Sodium or potassium hydroxide#12.11.16.00.00
-unspsc7#12.11.16.22.00#Hydroxide or peroxide of magnesium or oxides#12.11.16.00.00
-unspsc7#12.11.16.23.00#Aluminum hydroxide#12.11.16.00.00
-unspsc7#12.11.16.24.00#Hydroxide or hydroxylamine or their inorganic salts#12.11.16.00.00
-unspsc7#12.11.17.00.00#Metal oxides and hydroxides and peroxides#12.11.00.00.00
-unspsc7#12.11.17.01.00#Zinc oxide or zinc peroxide#12.11.17.00.00
-unspsc7#12.11.17.02.00#Chromium oxides or hydroxides#12.11.17.00.00
-unspsc7#12.11.17.03.00#Manganese oxides#12.11.17.00.00
-unspsc7#12.11.17.04.00#Iron oxides or hydroxides or earth colours#12.11.17.00.00
-unspsc7#12.11.17.05.00#Cobalt oxides or hydroxides or commercial cobalt oxides#12.11.17.00.00
-unspsc7#12.11.17.06.00#Titanium oxides#12.11.17.00.00
-unspsc7#12.11.17.07.00#Lead oxides or red lead or orange lead#12.11.17.00.00
-unspsc7#12.11.17.08.00#Lithium oxide or hydroxide#12.11.17.00.00
-unspsc7#12.11.17.09.00#Vanadium oxides or hydroxides#12.11.17.00.00
-unspsc7#12.11.17.10.00#Nickel oxides or hydroxides#12.11.17.00.00
-unspsc7#12.11.17.11.00#Copper oxides or hydroxides#12.11.17.00.00
-unspsc7#12.11.17.12.00#Germanium oxides or zirconium dioxide#12.11.17.00.00
-unspsc7#12.11.17.13.00#Molybdenum oxides or hydroxides#12.11.17.00.00
-unspsc7#12.11.17.14.00#Antimony oxides#12.11.17.00.00
-unspsc7#12.11.18.00.00#Salts of oxometallic and peroxometallic acids and other inorganic acids#12.11.00.00.00
-unspsc7#12.11.18.01.00#Aluminates#12.11.18.00.00
-unspsc7#12.11.18.02.00#Zinc or lead chromate#12.11.18.00.00
-unspsc7#12.11.18.03.00#Sodium dichromate#12.11.18.00.00
-unspsc7#12.11.18.04.00#Potassium dichromate#12.11.18.00.00
-unspsc7#12.11.18.05.00#Other chromate or dichromate or peroxochromates#12.11.18.00.00
-unspsc7#12.11.18.06.00#Manganites or manganates or permanganates#12.11.18.00.00
-unspsc7#12.11.18.07.00#Molybdates#12.11.18.00.00
-unspsc7#12.11.18.08.00#Tungstates or wolframates#12.11.18.00.00
-unspsc7#12.11.18.09.00#Silver compounds#12.11.18.00.00
-unspsc7#12.11.18.10.00#Gold compounds#12.11.18.00.00
-unspsc7#12.11.18.11.00#Other compounds or amalgams#12.11.18.00.00
-unspsc7#12.11.18.12.00#Amalgams other than amalgams of precious metals#12.11.18.00.00
-unspsc7#12.11.19.00.00#Salts and peroxysalts of inorganic acids and metal#12.11.00.00.00
-unspsc7#12.11.19.01.00#Fluorides or fluorosilicates or fluoroaluminates#12.11.19.00.00
-unspsc7#12.11.19.02.00#Chlorides#12.11.19.00.00
-unspsc7#12.11.19.03.00#Sodium chloride#12.11.19.00.00
-unspsc7#12.11.19.04.00#Sal ammoniac blocks#12.11.19.00.00
-unspsc7#12.11.19.05.00#Potassium iodinate#12.11.19.00.00
-unspsc7#12.11.19.06.00#Sulphides or polysulfides or dithionites or sulfoxylates#12.11.19.00.00
-unspsc7#12.11.19.07.00#Sulphites or thiosulfates#12.11.19.00.00
-unspsc7#12.11.19.08.00#Aluminum sulphate#12.11.19.00.00
-unspsc7#12.11.19.09.00#Colloidal precious metals#12.11.19.00.00
-unspsc7#12.11.19.10.00#Ferrous sulphate#12.11.19.00.00
-unspsc7#12.11.19.11.00#Silver nitrate#12.11.19.00.00
-unspsc7#12.11.19.12.00#Sodium dihydrogernorthophosphate#12.11.19.00.00
-unspsc7#12.11.19.13.00#Sodium phosphate dibasic#12.11.19.00.00
-unspsc7#12.11.19.14.00#Sodium bicarbonate#12.11.19.00.00
-unspsc7#12.11.19.15.00#Tri sodium citrate di hydrate#12.11.19.00.00
-unspsc7#12.11.19.16.00#Sodium carbonate#12.11.19.00.00
-unspsc7#12.11.19.17.00#Metallic sodium#12.11.19.00.00
-unspsc7#12.11.19.18.00#Sodium silicate liquids#12.11.19.00.00
-unspsc7#12.11.19.19.00#Sodium silicate binders#12.11.19.00.00
-unspsc7#12.11.20.00.00#Hydrogen peroxide and hydrides and nitrides and asides and silicides and borides#12.11.00.00.00
-unspsc7#12.11.20.01.00#Hydrogen peroxide#12.11.20.00.00
-unspsc7#12.11.20.02.00#Phosphides#12.11.20.00.00
-unspsc7#12.11.20.03.00#Carbides#12.11.20.00.00
-unspsc7#12.11.20.04.00#Calcium carbide#12.11.20.00.00
-unspsc7#12.11.20.05.00#Bromides#12.11.20.00.00
-unspsc7#12.11.21.00.00#Isotopes and their compounds inorganic and organic#12.11.00.00.00
-unspsc7#12.11.21.01.00#Deuterium#12.11.21.00.00
-unspsc7#12.11.21.02.00#Deuterated solvents#12.11.21.00.00
-unspsc7#12.11.21.03.00#Heavy water#12.11.21.00.00
-unspsc7#12.11.21.04.00#Alpha sources#12.11.21.00.00
-unspsc7#12.11.21.05.00#Beta sources#12.11.21.00.00
-unspsc7#12.11.21.06.00#Cobalt sources#12.11.21.00.00
-unspsc7#12.11.21.07.00#Gamma sources#12.11.21.00.00
-unspsc7#12.11.21.08.00#Neutron sources#12.11.21.00.00
-unspsc7#12.11.21.09.00#Radioisotope sources#12.11.21.00.00
-unspsc7#12.11.21.10.00#Calibration sources#12.11.21.00.00
-unspsc7#12.11.21.11.00#In vivo products#12.11.21.00.00
-unspsc7#12.11.21.12.00#Radiochemical isotopes#12.11.21.00.00
-unspsc7#12.11.21.13.00#Radiographic source#12.11.21.00.00
-unspsc7#12.11.21.14.00#Radioimmunoassay isotopes#12.11.21.00.00
-unspsc7#12.11.21.15.00#Tritium targets#12.11.21.00.00
-unspsc7#12.11.21.16.00#Excitation source or annular#12.11.21.00.00
-unspsc7#12.11.21.17.00#Radiopharmaceutical compounds for labelling#12.11.21.00.00
-unspsc7#12.11.21.18.00#Chemicals labelled C14#12.11.21.00.00
-unspsc7#12.11.21.19.00#Fissionable isotopes#12.11.21.00.00
-unspsc7#12.11.21.20.00#In vivo radioactive isotope products#12.11.21.00.00
-unspsc7#12.11.22.00.00#Cyanides#12.11.00.00.00
-unspsc7#12.11.22.01.00#Cyanides or cyanide oxides of sodium#12.11.22.00.00
-unspsc7#12.11.22.02.00#Complex cyanides or thiocyanates#12.11.22.00.00
-unspsc7#12.11.22.03.00#Cyanides or cyanide oxides#12.11.22.00.00
-unspsc7#12.12.00.00.00#Gases#12.00.00.00.00
-unspsc7#12.12.15.00.00#Industrial gases#12.12.00.00.00
-unspsc7#12.12.15.01.00#Nitrous oxide gas#12.12.15.00.00
-unspsc7#12.12.15.02.00#Helium gas#12.12.15.00.00
-unspsc7#12.12.15.04.00#Carbon monoxide#12.12.15.00.00
-unspsc7#12.12.15.05.00#Hydrogen gas#12.12.15.00.00
-unspsc7#12.12.15.06.00#Carbon dioxide#12.12.15.00.00
-unspsc7#12.12.15.07.00#Nitrogen gas#12.12.15.00.00
-unspsc7#12.12.15.08.00#Neon gas#12.12.15.00.00
-unspsc7#12.12.15.10.00#Oxygen#12.12.15.00.00
-unspsc7#12.12.16.00.00#Rare gases#12.12.00.00.00
-unspsc7#12.12.16.01.00#Xenon gas#12.12.16.00.00
-unspsc7#12.12.16.02.00#Radon gas#12.12.16.00.00
-unspsc7#12.12.16.03.00#Krypton gas#12.12.16.00.00
-unspsc7#12.12.16.04.00#Argon gas#12.12.16.00.00
-unspsc7#12.12.16.09.00#Xenon gas#12.12.16.00.00
-unspsc7#12.12.16.10.00#Radon gas#12.12.16.00.00
-unspsc7#12.12.16.11.00#Krypton gas#12.12.16.00.00
-unspsc7#12.12.16.12.00#Argon gas#12.12.16.00.00
-unspsc7#12.13.00.00.00#Explosive materials#12.00.00.00.00
-unspsc7#12.13.15.00.00#Explosives#12.13.00.00.00
-unspsc7#12.13.15.01.00#Dynamite#12.13.15.00.00
-unspsc7#12.13.15.02.00#Explosive cartridges#12.13.15.00.00
-unspsc7#12.13.15.03.00#Propellant explosives#12.13.15.00.00
-unspsc7#12.13.15.04.00#Explosive charges#12.13.15.00.00
-unspsc7#12.13.15.05.00#Plastic explosives#12.13.15.00.00
-unspsc7#12.13.15.06.00#Aluminized explosives#12.13.15.00.00
-unspsc7#12.13.15.07.00#Ammonium nitrate explosives#12.13.15.00.00
-unspsc7#12.13.15.08.00#Nitroglycerin powder explosives#12.13.15.00.00
-unspsc7#12.13.16.00.00#Pyrotechnics#12.13.00.00.00
-unspsc7#12.13.16.01.00#Fireworks#12.13.16.00.00
-unspsc7#12.13.16.02.00#Fog signals#12.13.16.00.00
-unspsc7#12.13.16.03.00#Rain rockets#12.13.16.00.00
-unspsc7#12.13.16.04.00#Flares#12.13.16.00.00
-unspsc7#12.13.16.05.00#Pyrotechnic materials for theater or television#12.13.16.00.00
-unspsc7#12.13.17.00.00#Igniters#12.13.00.00.00
-unspsc7#12.13.17.01.00#Blasting caps#12.13.17.00.00
-unspsc7#12.13.17.02.00#Detonators#12.13.17.00.00
-unspsc7#12.13.17.03.00#Explosives fuses#12.13.17.00.00
-unspsc7#12.13.17.04.00#Explosive initiators#12.13.17.00.00
-unspsc7#12.13.17.05.00#Explosive primers#12.13.17.00.00
-unspsc7#12.13.17.06.00#Matches#12.13.17.00.00
-unspsc7#12.13.17.07.00#Lighters#12.13.17.00.00
-unspsc7#12.13.18.00.00#Propellants#12.13.00.00.00
-unspsc7#12.13.18.01.00#Powder propellants#12.13.18.00.00
-unspsc7#12.13.18.02.00#Solid propellants#12.13.18.00.00
-unspsc7#12.13.18.03.00#Gun propellants#12.13.18.00.00
-unspsc7#12.13.18.04.00#High energy propellants#12.13.18.00.00
-unspsc7#12.13.18.05.00#Gelled propellants#12.13.18.00.00
-unspsc7#12.13.18.06.00#Hybrid propellants#12.13.18.00.00
-unspsc7#12.14.00.00.00#Elements and gases#12.00.00.00.00
-unspsc7#12.14.15.00.00#Earth metals#12.14.00.00.00
-unspsc7#12.14.15.01.00#Beryllium (Be)#12.14.15.00.00
-unspsc7#12.14.15.02.00#Magnesium (Mg)#12.14.15.00.00
-unspsc7#12.14.15.03.00#Calcium (Ca)#12.14.15.00.00
-unspsc7#12.14.15.04.00#Strontium (Sr)#12.14.15.00.00
-unspsc7#12.14.15.05.00#Barium (Ba)#12.14.15.00.00
-unspsc7#12.14.15.06.00#Radium (Ra)#12.14.15.00.00
-unspsc7#12.14.16.00.00#Rare earth metals#12.14.00.00.00
-unspsc7#12.14.16.01.00#Cerium (Ce)#12.14.16.00.00
-unspsc7#12.14.16.02.00#Dysprosium (Dy)#12.14.16.00.00
-unspsc7#12.14.16.03.00#Erbium (Er)#12.14.16.00.00
-unspsc7#12.14.16.04.00#Europium (Eu)#12.14.16.00.00
-unspsc7#12.14.16.05.00#Gadolinium (Gd)#12.14.16.00.00
-unspsc7#12.14.16.06.00#Holmium (Ho)#12.14.16.00.00
-unspsc7#12.14.16.07.00#Lanthanum (La)#12.14.16.00.00
-unspsc7#12.14.16.08.00#Lutetium (Lu)#12.14.16.00.00
-unspsc7#12.14.16.09.00#Neodymium (Nd)#12.14.16.00.00
-unspsc7#12.14.16.10.00#Praseodymium (Pr)#12.14.16.00.00
-unspsc7#12.14.16.11.00#Promethium (Pr)#12.14.16.00.00
-unspsc7#12.14.16.12.00#Samarium (Sm)#12.14.16.00.00
-unspsc7#12.14.16.13.00#Scandium (Sc)#12.14.16.00.00
-unspsc7#12.14.16.14.00#Terbium (Tb)#12.14.16.00.00
-unspsc7#12.14.16.15.00#Thulium (Tm)#12.14.16.00.00
-unspsc7#12.14.16.16.00#Ytterbium (Yb)#12.14.16.00.00
-unspsc7#12.14.16.17.00#Yttrium (Y)#12.14.16.00.00
-unspsc7#12.14.17.00.00#Transition metals#12.14.00.00.00
-unspsc7#12.14.17.01.00#Actinium (Ac)#12.14.17.00.00
-unspsc7#12.14.17.02.00#Aluminum (Al)#12.14.17.00.00
-unspsc7#12.14.17.03.00#Americium (Am)#12.14.17.00.00
-unspsc7#12.14.17.04.00#Antimony (Sb)#12.14.17.00.00
-unspsc7#12.14.17.05.00#Berkelium (Bk)#12.14.17.00.00
-unspsc7#12.14.17.06.00#Bismuth (Bi)#12.14.17.00.00
-unspsc7#12.14.17.07.00#Cadmium (Ca)#12.14.17.00.00
-unspsc7#12.14.17.08.00#Californium (Cf)#12.14.17.00.00
-unspsc7#12.14.17.09.00#Chromium (Cr)#12.14.17.00.00
-unspsc7#12.14.17.10.00#Cobalt (Co)#12.14.17.00.00
-unspsc7#12.14.17.11.00#Copper (Cu)#12.14.17.00.00
-unspsc7#12.14.17.12.00#Curium (Cm)#12.14.17.00.00
-unspsc7#12.14.17.13.00#Einsteinium (Es)#12.14.17.00.00
-unspsc7#12.14.17.14.00#Fermium (Fm)#12.14.17.00.00
-unspsc7#12.14.17.15.00#Gallium (Ga)#12.14.17.00.00
-unspsc7#12.14.17.16.00#Germanium (Ge)#12.14.17.00.00
-unspsc7#12.14.17.17.00#Gold (Au)#12.14.17.00.00
-unspsc7#12.14.17.18.00#Hafnium (Hf)#12.14.17.00.00
-unspsc7#12.14.17.19.00#Indium (In)#12.14.17.00.00
-unspsc7#12.14.17.20.00#Iridium (Ir)#12.14.17.00.00
-unspsc7#12.14.17.21.00#Iron (Fe)#12.14.17.00.00
-unspsc7#12.14.17.22.00#Lawrencium (Lr)#12.14.17.00.00
-unspsc7#12.14.17.23.00#Lead (Pb)#12.14.17.00.00
-unspsc7#12.14.17.24.00#Manganese (Mn)#12.14.17.00.00
-unspsc7#12.14.17.25.00#Mendelevium (Md)#12.14.17.00.00
-unspsc7#12.14.17.26.00#Mercury (Hg)#12.14.17.00.00
-unspsc7#12.14.17.27.00#Molybdenum (Mo)#12.14.17.00.00
-unspsc7#12.14.17.28.00#Neptunium (Np)#12.14.17.00.00
-unspsc7#12.14.17.29.00#Nickel (Ni)#12.14.17.00.00
-unspsc7#12.14.17.30.00#Niobium (Nb)#12.14.17.00.00
-unspsc7#12.14.17.31.00#Nobelium (No)#12.14.17.00.00
-unspsc7#12.14.17.32.00#Osmium (Os)#12.14.17.00.00
-unspsc7#12.14.17.33.00#Palladium (Pd)#12.14.17.00.00
-unspsc7#12.14.17.34.00#Platinum (Pt)#12.14.17.00.00
-unspsc7#12.14.17.35.00#Plutonium (Pu)#12.14.17.00.00
-unspsc7#12.14.17.36.00#Protactinium (Pa)#12.14.17.00.00
-unspsc7#12.14.17.37.00#Rhenium (Re)#12.14.17.00.00
-unspsc7#12.14.17.38.00#Rhodium (Rh)#12.14.17.00.00
-unspsc7#12.14.17.39.00#Ruthenium (Ru)#12.14.17.00.00
-unspsc7#12.14.17.40.00#Silver (Ag)#12.14.17.00.00
-unspsc7#12.14.17.41.00#Tantalum (Ta)#12.14.17.00.00
-unspsc7#12.14.17.42.00#Technetium (Te)#12.14.17.00.00
-unspsc7#12.14.17.43.00#Thallium (Tl)#12.14.17.00.00
-unspsc7#12.14.17.44.00#Thorium (Th)#12.14.17.00.00
-unspsc7#12.14.17.45.00#Tin (Sn)#12.14.17.00.00
-unspsc7#12.14.17.46.00#Titanium (Ti)#12.14.17.00.00
-unspsc7#12.14.17.47.00#Tungsten (W)#12.14.17.00.00
-unspsc7#12.14.17.48.00#Uranium (U)#12.14.17.00.00
-unspsc7#12.14.17.49.00#Vanadium (V)#12.14.17.00.00
-unspsc7#12.14.17.50.00#Zinc (Zn)#12.14.17.00.00
-unspsc7#12.14.17.51.00#Zirconium (Zr)#12.14.17.00.00
-unspsc7#12.14.17.52.00#Bohrium (Bh)#12.14.17.00.00
-unspsc7#12.14.17.53.00#Dubnium (Db)#12.14.17.00.00
-unspsc7#12.14.17.54.00#Hassium (Hs)#12.14.17.00.00
-unspsc7#12.14.17.55.00#Rutherfordium (Rf)#12.14.17.00.00
-unspsc7#12.14.17.56.00#Seaborgium (Sg)#12.14.17.00.00
-unspsc7#12.14.17.57.00#Ununnilium (Uum)#12.14.17.00.00
-unspsc7#12.14.17.58.00#Unununium (Uuu)#12.14.17.00.00
-unspsc7#12.14.17.59.00#Ununbium (Uub)#12.14.17.00.00
-unspsc7#12.14.17.60.00#Polonium ((Po)#12.14.17.00.00
-unspsc7#12.14.18.00.00#Alkali metals#12.14.00.00.00
-unspsc7#12.14.18.01.00#Cesium (Cs)#12.14.18.00.00
-unspsc7#12.14.18.02.00#Francium (Fm)#12.14.18.00.00
-unspsc7#12.14.18.03.00#Lithium (Li)#12.14.18.00.00
-unspsc7#12.14.18.04.00#Potassium (K)#12.14.18.00.00
-unspsc7#12.14.18.05.00#Rubidium (Rb)#12.14.18.00.00
-unspsc7#12.14.18.06.00#Sodium (Na)#12.14.18.00.00
-unspsc7#12.14.19.00.00#Non metals and pure and elemental gases#12.14.00.00.00
-unspsc7#12.14.19.01.00#Chlorine (Cl)#12.14.19.00.00
-unspsc7#12.14.19.02.00#Hydrogen (H)#12.14.19.00.00
-unspsc7#12.14.19.03.00#Nitrogen (N)#12.14.19.00.00
-unspsc7#12.14.19.04.00#Oxygen (O)#12.14.19.00.00
-unspsc7#12.14.19.05.00#Fluorine (F)#12.14.19.00.00
-unspsc7#12.14.19.06.00#Arsenic (As)#12.14.19.00.00
-unspsc7#12.14.19.07.00#Boron (Bh)#12.14.19.00.00
-unspsc7#12.14.19.08.00#Carbon (C)#12.14.19.00.00
-unspsc7#12.14.19.09.00#Phosphorus (P)#12.14.19.00.00
-unspsc7#12.14.19.10.00#Selenium (Se)#12.14.19.00.00
-unspsc7#12.14.19.11.00#Silicon (Si)#12.14.19.00.00
-unspsc7#12.14.19.12.00#Sulfur (S)#12.14.19.00.00
-unspsc7#12.14.19.13.00#Tellurium (Te)#12.14.19.00.00
-unspsc7#12.14.19.14.00#Astatine (At)#12.14.19.00.00
-unspsc7#12.14.19.15.00#Bromine Br#12.14.19.00.00
-unspsc7#12.14.19.16.00#Iodine (I)#12.14.19.00.00
-unspsc7#12.14.20.00.00#Noble gases#12.14.00.00.00
-unspsc7#12.14.20.01.00#Xenon gas (Xe)#12.14.20.00.00
-unspsc7#12.14.20.02.00#Radon gas (Rn)#12.14.20.00.00
-unspsc7#12.14.20.03.00#Krypton gas (Kr)#12.14.20.00.00
-unspsc7#12.14.20.04.00#Argon gas (Ar)#12.14.20.00.00
-unspsc7#12.14.20.05.00#Helium gas (He)#12.14.20.00.00
-unspsc7#12.14.20.06.00#Neon gas (Ne)#12.14.20.00.00
-unspsc7#12.14.21.00.00#Industrial use gases#12.14.00.00.00
-unspsc7#12.14.21.01.00#Hydrogen compound gases#12.14.21.00.00
-unspsc7#12.14.21.02.00#Chlorinated mixed gases#12.14.21.00.00
-unspsc7#12.14.21.03.00#Ammonia#12.14.21.00.00
-unspsc7#12.14.21.04.00#Carbon dioxide gas (CO2)#12.14.21.00.00
-unspsc7#12.14.21.05.00#Industrial air#12.14.21.00.00
-unspsc7#12.14.21.06.00#Inert gas mixtures#12.14.21.00.00
-unspsc7#12.15.00.00.00#Acids and their salts and esters#12.00.00.00.00
-unspsc7#12.15.15.00.00#Carboxylic acids and their salts and esters#12.15.00.00.00
-unspsc7#12.15.15.01.00#Acetic acid or its salts#12.15.15.00.00
-unspsc7#12.15.15.02.00#Acyclic acids#12.15.15.00.00
-unspsc7#12.15.15.03.00#Aldehydic acids#12.15.15.00.00
-unspsc7#12.15.15.04.00#Butyric acids#12.15.15.00.00
-unspsc7#12.15.15.05.00#Carbocylic acids#12.15.15.00.00
-unspsc7#12.15.15.06.00#Hydroxy acids#12.15.15.00.00
-unspsc7#12.15.15.07.00#Keto acids#12.15.15.00.00
-unspsc7#12.15.15.08.00#Propionic acids#12.15.15.00.00
-unspsc7#12.15.15.09.00#Acrylic acid esters#12.15.15.00.00
-unspsc7#12.15.15.10.00#Esters of methacrylic acid#12.15.15.00.00
-unspsc7#12.15.16.00.00#Heterocyclic acids and their salts and esters#12.15.00.00.00
-unspsc7#12.15.16.01.00#Indoleacetic acids#12.15.16.00.00
-unspsc7#12.15.16.02.00#Isonicotinic acids#12.15.16.00.00
-unspsc7#12.15.16.03.00#Isonipecotic acids#12.15.16.00.00
-unspsc7#12.15.16.04.00#Nicotinic acids#12.15.16.00.00
-unspsc7#12.15.16.05.00#Nipecotic acids#12.15.16.00.00
-unspsc7#12.15.16.06.00#Orotic acids#12.15.16.00.00
-unspsc7#12.15.16.07.00#Picolinic acids#12.15.16.00.00
-unspsc7#12.15.16.08.00#Pipecolic acids#12.15.16.00.00
-unspsc7#12.15.17.00.00#Fatty acids and their salts and esters#12.15.00.00.00
-unspsc7#12.15.17.01.00#Decanoic acids#12.15.17.00.00
-unspsc7#12.15.17.02.00#Unsaturated fatty acids#12.15.17.00.00
-unspsc7#12.15.17.03.00#Volatile fatty acids#12.15.17.00.00
-unspsc7#12.15.17.04.00#Heptanoic acids#12.15.17.00.00
-unspsc7#12.15.17.05.00#Lauric acids#12.15.17.00.00
-unspsc7#12.15.17.06.00#Mycolic acids#12.15.17.00.00
-unspsc7#12.15.17.07.00#Myristic acids#12.15.17.00.00
-unspsc7#12.15.17.08.00#Palmitic acids#12.15.17.00.00
-unspsc7#12.15.17.09.00#Stearic acids#12.15.17.00.00
-unspsc7#12.15.18.00.00#Non carboxylic acids and their salts#12.15.00.00.00
-unspsc7#12.15.18.01.00#Carbonic acids#12.15.18.00.00
-unspsc7#12.15.18.02.00#Nitric acids#12.15.18.00.00
-unspsc7#12.15.18.03.00#Phosphorous acids#12.15.18.00.00
-unspsc7#12.15.18.04.00#Sulfur acids#12.15.18.00.00
-unspsc7#12.15.18.05.00#Chlorides#12.15.18.00.00
-unspsc7#12.15.18.06.00#Hydrochlorides#12.15.18.00.00
-unspsc7#12.15.18.07.00#Nitrates or nitrites#12.15.18.00.00
-unspsc7#12.15.18.08.00#Silicates#12.15.18.00.00
-unspsc7#12.15.18.09.00#Phosphates or phosphides#12.15.18.00.00
-unspsc7#12.15.18.10.00#Bicarbonates or carbides or carbonates#12.15.18.00.00
-unspsc7#12.15.18.11.00#Fluorides#12.15.18.00.00
-unspsc7#12.15.18.12.00#Bromides or bromates#12.15.18.00.00
-unspsc7#12.15.18.13.00#Iodides or iodates#12.15.18.00.00
-unspsc7#12.15.19.00.00#Inorganic sulfur compounds#12.15.00.00.00
-unspsc7#12.15.19.01.00#Hydrogen sulfide#12.15.19.00.00
-unspsc7#12.15.19.02.00#Sulfuric Acid#12.15.19.00.00
-unspsc7#12.15.19.03.00#Sodium sulfate#12.15.19.00.00
-unspsc7#12.16.00.00.00#Additives#12.00.00.00.00
-unspsc7#12.16.15.00.00#Indicators and Reagents#12.16.00.00.00
-unspsc7#12.16.15.01.00#Affinity labels#12.16.15.00.00
-unspsc7#12.16.15.02.00#Cross linking agents#12.16.15.00.00
-unspsc7#12.16.15.03.00#Reagent kits#12.16.15.00.00
-unspsc7#12.16.15.04.00#Sulfhydryl reagents#12.16.15.00.00
-unspsc7#12.16.15.05.00#Intercalating agents#12.16.15.00.00
-unspsc7#12.16.15.06.00#Diverting agents#12.16.15.00.00
-unspsc7#12.16.16.00.00#Catalysts#12.16.00.00.00
-unspsc7#12.16.16.01.00#Acid catalysts#12.16.16.00.00
-unspsc7#12.16.16.02.00#Combustion catalysts#12.16.16.00.00
-unspsc7#12.16.16.03.00#Custom catalysts#12.16.16.00.00
-unspsc7#12.16.16.04.00#Cracking catalysts#12.16.16.00.00
-unspsc7#12.16.17.00.00#Buffers#12.16.00.00.00
-unspsc7#12.16.17.01.00#Ampholyte mixtures#12.16.17.00.00
-unspsc7#12.16.17.02.00#Bicarbonate buffers#12.16.17.00.00
-unspsc7#12.16.17.03.00#Other buffers#12.16.17.00.00
-unspsc7#12.16.17.04.00#Acid buffers#12.16.17.00.00
-unspsc7#12.16.17.05.00#Basic buffers#12.16.17.00.00
-unspsc7#12.16.17.06.00#Neutral buffers#12.16.17.00.00
-unspsc7#12.16.18.00.00#Colloids#12.16.00.00.00
-unspsc7#12.16.18.01.00#Gels#12.16.18.00.00
-unspsc7#12.16.18.02.00#Suspensions#12.16.18.00.00
-unspsc7#12.16.18.03.00#Aerosols#12.16.18.00.00
-unspsc7#12.16.18.04.00#Emulsions#12.16.18.00.00
-unspsc7#12.16.18.05.00#Natural gelling agents#12.16.18.00.00
-unspsc7#12.16.18.06.00#Synthetic gelling agents#12.16.18.00.00
-unspsc7#12.16.18.07.00#Gel stabilizers#12.16.18.00.00
-unspsc7#12.16.18.08.00#Suspending agents#12.16.18.00.00
-unspsc7#12.16.19.00.00#Surfactants#12.16.00.00.00
-unspsc7#12.16.19.01.00#Anti foaming agents#12.16.19.00.00
-unspsc7#12.16.19.02.00#Detergent surfactants#12.16.19.00.00
-unspsc7#12.16.19.03.00#Foaming agents#12.16.19.00.00
-unspsc7#12.16.19.04.00#Dispersing agents#12.16.19.00.00
-unspsc7#12.16.19.05.00#Flushes#12.16.19.00.00
-unspsc7#12.16.19.06.00#Wetting agents#12.16.19.00.00
-unspsc7#12.16.19.07.00#Water flood additives#12.16.19.00.00
-unspsc7#12.16.20.00.00#Plasticizers#12.16.00.00.00
-unspsc7#12.16.20.01.00#Phthalates#12.16.20.00.00
-unspsc7#12.16.20.02.00#Polymerics#12.16.20.00.00
-unspsc7#12.16.20.03.00#Agricultural oils#12.16.20.00.00
-unspsc7#12.16.20.04.00#Sulfonamides#12.16.20.00.00
-unspsc7#12.16.20.05.00#Glutarates#12.16.20.00.00
-unspsc7#12.16.21.00.00#Flame retardants#12.16.00.00.00
-unspsc7#12.16.21.01.00#Brominated#12.16.21.00.00
-unspsc7#12.16.22.00.00#Anti oxidants#12.16.00.00.00
-unspsc7#12.16.22.01.00#Ascorbic acid#12.16.22.00.00
-unspsc7#12.16.22.02.00#Beta carotene#12.16.22.00.00
-unspsc7#12.16.22.03.00#Butylated hydroxyanisole#12.16.22.00.00
-unspsc7#12.16.22.04.00#Butylated hydroxytoluene#12.16.22.00.00
-unspsc7#12.16.22.05.00#Calcium citrate#12.16.22.00.00
-unspsc7#12.16.22.06.00#Canthaxanthin#12.16.22.00.00
-unspsc7#12.16.22.07.00#Melatonin#12.16.22.00.00
-unspsc7#12.16.22.08.00#Nordihydroguaiaretic acid#12.16.22.00.00
-unspsc7#12.16.22.09.00#Propyl gallate#12.16.22.00.00
-unspsc7#12.16.22.10.00#Silymarin#12.16.22.00.00
-unspsc7#12.16.22.11.00#Sulfur dioxide#12.16.22.00.00
-unspsc7#12.16.23.00.00#Curing agents#12.16.00.00.00
-unspsc7#12.16.23.01.00#Waterborne curing agents#12.16.23.00.00
-unspsc7#12.16.23.02.00#Cement accelerators#12.16.23.00.00
-unspsc7#12.16.23.03.00#Cement retarders#12.16.23.00.00
-unspsc7#12.16.24.00.00#Polymer breakers#12.16.00.00.00
-unspsc7#12.16.24.01.00#Acidic polymer breakers#12.16.24.00.00
-unspsc7#12.16.24.02.00#Organic polymer breakers#12.16.24.00.00
-unspsc7#12.16.25.00.00#Emulsion breakers#12.16.00.00.00
-unspsc7#12.16.25.01.00#Water in oil emulsion breakers#12.16.25.00.00
-unspsc7#12.16.25.02.00#Oil in water emulsion breakers#12.16.25.00.00
-unspsc7#12.16.25.03.00#Flotation aids#12.16.25.00.00
-unspsc7#12.16.26.00.00#Clay stabilizers#12.16.00.00.00
-unspsc7#12.16.26.01.00#Inorganic clay stabilizers#12.16.26.00.00
-unspsc7#12.16.26.02.00#Organic clay stabilizers#12.16.26.00.00
-unspsc7#12.16.27.00.00#Fluid loss additives#12.16.00.00.00
-unspsc7#12.16.27.01.00#Natural polymer fluid loss additives#12.16.27.00.00
-unspsc7#12.16.27.02.00#Modified polymer fluid loss additives#12.16.27.00.00
-unspsc7#12.16.28.00.00#Friction reducers#12.16.00.00.00
-unspsc7#12.16.28.01.00#Anionic friction reducers#12.16.28.00.00
-unspsc7#12.16.28.02.00#Cationic friction reducers#12.16.28.00.00
-unspsc7#12.16.29.00.00#Paraffin asphaltene control agents#12.16.00.00.00
-unspsc7#12.16.29.01.00#Solvent type paraffin asphaltene control agents#12.16.29.00.00
-unspsc7#12.16.29.02.00#Crystal modified paraffin asphaltene control agents#12.16.29.00.00
-unspsc7#12.16.29.03.00#Dispersant type paraffin asphaltene control agents#12.16.29.00.00
-unspsc7#12.16.30.00.00#Mud removal mixtures#12.16.00.00.00
-unspsc7#12.16.30.01.00#Mud cleanout agents#12.16.30.00.00
-unspsc7#12.16.31.00.00#Anti sludgers#12.16.00.00.00
-unspsc7#12.16.31.01.00#Anti sludge additives#12.16.31.00.00
-unspsc7#12.16.32.00.00#Anti gas migration agents#12.16.00.00.00
-unspsc7#12.16.32.01.00#Anti gas migration additives#12.16.32.00.00
-unspsc7#12.16.33.00.00#Expanding agents#12.16.00.00.00
-unspsc7#12.16.33.01.00#Cement expanding agents#12.16.33.00.00
-unspsc7#12.16.34.00.00#Extenders#12.16.00.00.00
-unspsc7#12.16.34.01.00#Cement extenders#12.16.34.00.00
-unspsc7#12.16.35.00.00#Oil well sealants#12.16.00.00.00
-unspsc7#12.16.35.01.00#Cementing sealants#12.16.35.00.00
-unspsc7#12.16.36.00.00#Corrosion inhibitors#12.16.00.00.00
-unspsc7#12.16.36.01.00#Oil production corrosion inhibitors#12.16.36.00.00
-unspsc7#12.16.36.02.00#Gas production corrosion inhibitors#12.16.36.00.00
-unspsc7#12.16.37.00.00#Gas hydrate controllers#12.16.00.00.00
-unspsc7#12.16.37.01.00#Kinetic hydrate controllers#12.16.37.00.00
-unspsc7#12.16.38.00.00#Scavengers#12.16.00.00.00
-unspsc7#12.16.38.01.00#Hydrogen sulfide scavengers#12.16.38.00.00
-unspsc7#12.16.38.02.00#Oxygen scavengers#12.16.38.00.00
-unspsc7#12.16.39.00.00#Scale controllers#12.16.00.00.00
-unspsc7#12.16.39.01.00#Scale inhibitor#12.16.39.00.00
-unspsc7#12.16.39.02.00#Scale removers and converters#12.16.39.00.00
-unspsc7#12.16.40.00.00#Bactericides#12.16.00.00.00
-unspsc7#12.16.40.01.00#Registered microbiocides#12.16.40.00.00
-unspsc7#12.16.41.00.00#In situ#12.16.00.00.00
-unspsc7#12.16.41.01.00#In situ additives#12.16.41.00.00
-unspsc7#12.16.41.02.00#Acid additives#12.16.41.00.00
-unspsc7#12.16.42.00.00#Retarders#12.16.00.00.00
-unspsc7#12.16.42.01.00#Acid corrosion inhibitors#12.16.42.00.00
-unspsc7#12.16.43.00.00#Iron controllers#12.16.00.00.00
-unspsc7#12.16.43.01.00#Iron control additives#12.16.43.00.00
-unspsc7#12.16.44.00.00#Non emulsifiers#12.16.00.00.00
-unspsc7#12.16.44.01.00#Non emulsifying additives#12.16.44.00.00
-unspsc7#12.17.00.00.00#Colorants#12.00.00.00.00
-unspsc7#12.17.15.00.00#Dyes#12.17.00.00.00
-unspsc7#12.17.15.01.00#Fluorescent dyes#12.17.15.00.00
-unspsc7#12.17.15.02.00#Phthalein dyes#12.17.15.00.00
-unspsc7#12.17.15.03.00#Rosaniline dyes#12.17.15.00.00
-unspsc7#12.17.15.04.00#Food or drug or cosmetic safe (FDC) dyes#12.17.15.00.00
-unspsc7#12.17.15.05.00#Laked#12.17.15.00.00
-unspsc7#12.17.15.06.00#Natural dyes#12.17.15.00.00
-unspsc7#12.17.16.00.00#Pigments#12.17.00.00.00
-unspsc7#12.17.16.01.00#Natural pigments#12.17.16.00.00
-unspsc7#12.17.16.02.00#Inorganic metal oxides#12.17.16.00.00
-unspsc7#12.17.16.03.00#Carbon black#12.17.16.00.00
-unspsc7#12.17.16.04.00#Titanium dioxide#12.17.16.00.00
-unspsc7#12.17.16.05.00#Organic pigments#12.17.16.00.00
-unspsc7#12.17.17.00.00#Color compounds and dispersions#12.17.00.00.00
-unspsc7#12.17.17.01.00#Polymer masterbatches#12.17.17.00.00
-unspsc7#12.17.17.02.00#Pigment dispersions#12.17.17.00.00
-unspsc7#12.17.17.03.00#Inks#12.17.17.00.00
-unspsc7#12.18.00.00.00#Waxes and oils#12.00.00.00.00
-unspsc7#12.18.15.00.00#Waxes#12.18.00.00.00
-unspsc7#12.18.15.01.00#Synthetic waxes#12.18.15.00.00
-unspsc7#12.18.15.02.00#Natural waxes#12.18.15.00.00
-unspsc7#12.18.15.03.00#Paraffins#12.18.15.00.00
-unspsc7#12.18.15.04.00#Petrolatums#12.18.15.00.00
-unspsc7#12.18.16.00.00#Oils#12.18.00.00.00
-unspsc7#12.18.16.01.00#Synthetic oils#12.18.16.00.00
-unspsc7#12.18.16.02.00#Natural oils#12.18.16.00.00
-unspsc7#12.19.00.00.00#Solvents#12.00.00.00.00
-unspsc7#12.19.15.00.00#Hydrocarbonated solvents#12.19.00.00.00
-unspsc7#12.19.15.01.00#Aromatic solvents#12.19.15.00.00
-unspsc7#12.19.15.02.00#Aliphatic solvents#12.19.15.00.00
-unspsc7#12.19.16.00.00#Oxygenated solvents#12.19.00.00.00
-unspsc7#12.19.16.01.00#Alcohol solvents#12.19.16.00.00
-unspsc7#12.19.16.02.00#Active solvents#12.19.16.00.00
-unspsc7#12.20.00.00.00#Chemical intermediates and fixatives#12.00.00.00.00
-unspsc7#12.20.15.00.00#Intermediates#12.20.00.00.00
-unspsc7#12.20.15.01.00#Ether intermediates#12.20.15.00.00
-unspsc7#12.20.15.02.00#Ketone intermediates#12.20.15.00.00
-unspsc7#12.20.15.03.00#Aldehyde intermediates#12.20.15.00.00
-unspsc7#12.20.15.04.00#Peroxide intermediates#12.20.15.00.00
-unspsc7#12.20.15.05.00#Acrylate or methacrylate intermediates#12.20.15.00.00
-unspsc7#12.20.16.00.00#Fixatives#12.20.00.00.00
-unspsc7#12.20.16.01.00#Formaldehydes#12.20.16.00.00
-unspsc7#12.20.16.02.00#Glutrals#12.20.16.00.00
-unspsc7#12.20.16.03.00#Tannins#12.20.16.00.00
-unspsc7#12.20.17.00.00#Amines and amides and imines and imides#12.20.00.00.00
-unspsc7#12.20.17.01.00#Primary#12.20.17.00.00
-unspsc7#12.20.17.02.00#Secondary#12.20.17.00.00
-unspsc7#12.20.17.03.00#Tertiary#12.20.17.00.00
-unspsc7#12.20.17.04.00#Specialty#12.20.17.00.00
-unspsc7#12.20.17.05.00#Sulphonated#12.20.17.00.00
-unspsc7#12.21.00.00.00#Carbon based chemicals and compounded chemicals#12.00.00.00.00
-unspsc7#12.21.15.00.00#Alcohols#12.21.00.00.00
-unspsc7#12.21.15.01.00#Amino alcohols#12.21.15.00.00
-unspsc7#12.21.15.02.00#Benzyl alcohols#12.21.15.00.00
-unspsc7#12.21.15.03.00#Chlorohydrins#12.21.15.00.00
-unspsc7#12.21.15.04.00#Ethanol#12.21.15.00.00
-unspsc7#12.21.15.05.00#Fatty alcohols#12.21.15.00.00
-unspsc7#12.21.15.06.00#Glycols#12.21.15.00.00
-unspsc7#12.21.15.07.00#Hexanols#12.21.15.00.00
-unspsc7#12.21.15.08.00#Methanol#12.21.15.00.00
-unspsc7#12.21.15.09.00#Poly vinyl or PV alcohol#12.21.15.00.00
-unspsc7#12.21.15.10.00#Propanols#12.21.15.00.00
-unspsc7#12.21.15.11.00#Sugar alcohols#12.21.15.00.00
-unspsc7#12.21.15.12.00#Butyl alcohols#12.21.15.00.00
-unspsc7#12.21.15.13.00#Isopropyl alcohol#12.21.15.00.00
-unspsc7#12.21.16.00.00#Hydrocarbons#12.21.00.00.00
-unspsc7#12.21.16.01.00#Acyclic or cyclic or polycyclic hydrocarbons#12.21.16.00.00
-unspsc7#12.21.16.02.00#Halogenated hydrocarbons#12.21.16.00.00
-unspsc7#12.21.16.03.00#Sulphonated hydrocarbons#12.21.16.00.00
-unspsc7#12.21.16.04.00#Nitrosated hydrocarbons#12.21.16.00.00
-unspsc7#12.21.17.00.00#Aldehydes#12.21.00.00.00
-unspsc7#12.21.17.01.00#Acetalaldehyes#12.21.17.00.00
-unspsc7#12.21.17.02.00#Glyoxals#12.21.17.00.00
-unspsc7#12.21.18.00.00#Ethers#12.21.00.00.00
-unspsc7#12.21.18.01.00#Acetal ethers#12.21.18.00.00
-unspsc7#12.21.18.02.00#Ethyl ethers#12.21.18.00.00
-unspsc7#12.21.18.03.00#Methyl ethers#12.21.18.00.00
-unspsc7#12.21.18.04.00#Phenyl ethers#12.21.18.00.00
-unspsc7#12.21.18.05.00#Methyl tetra butyl ether#12.21.18.00.00
-unspsc7#12.21.19.00.00#Ketones#12.21.00.00.00
-unspsc7#12.21.19.01.00#Acetones#12.21.19.00.00
-unspsc7#12.21.19.02.00#Camphors#12.21.19.00.00
-unspsc7#12.21.19.03.00#Ketone bodies#12.21.19.00.00
-unspsc7#12.21.19.04.00#Mannich bases#12.21.19.00.00
-unspsc7#12.21.20.00.00#Phenols#12.21.00.00.00
-unspsc7#12.21.20.01.00#Bromphenol blue#12.21.20.00.00
-unspsc7#12.21.20.02.00#Cresols#12.21.20.00.00
-unspsc7#12.21.21.00.00#Carbohydrates#12.21.00.00.00
-unspsc7#12.21.21.01.00#Simple sugars or its derivatives#12.21.21.00.00
-unspsc7#12.21.21.02.00#Gum resins#12.21.21.00.00
-unspsc7#12.21.21.03.00#Starches#12.21.21.00.00
-unspsc7#12.21.22.00.00#Compounds#12.21.00.00.00
-unspsc7#12.21.22.01.00#Chemical alloys#12.21.22.00.00
-unspsc7#12.21.22.02.00#Cyanides or cyanates#12.21.22.00.00
-unspsc7#12.21.22.03.00#Aluminum compounds#12.21.22.00.00
-unspsc7#12.21.22.04.00#Barium compounds#12.21.22.00.00
-unspsc7#12.21.22.05.00#Boron compounds#12.21.22.00.00
-unspsc7#12.21.22.06.00#Bromine compounds#12.21.22.00.00
-unspsc7#12.21.22.07.00#Calcium compounds#12.21.22.00.00
-unspsc7#12.21.22.08.00#Carbon compounds#12.21.22.00.00
-unspsc7#12.21.22.09.00#Chlorine compounds#12.21.22.00.00
-unspsc7#12.21.22.10.00#Fluorine compounds#12.21.22.00.00
-unspsc7#12.21.22.11.00#Gold compounds#12.21.22.00.00
-unspsc7#12.21.22.12.00#Iodine compounds#12.21.22.00.00
-unspsc7#12.21.22.13.00#Iron compounds#12.21.22.00.00
-unspsc7#12.21.22.14.00#Magnesium compounds#12.21.22.00.00
-unspsc7#12.21.22.15.00#Nitrogen compounds#12.21.22.00.00
-unspsc7#12.21.22.16.00#Nitrile compounds#12.21.22.00.00
-unspsc7#12.21.22.17.00#Oxygen compounds#12.21.22.00.00
-unspsc7#12.21.22.18.00#Phosphorous compounds#12.21.22.00.00
-unspsc7#12.21.22.19.00#Potassium compounds#12.21.22.00.00
-unspsc7#12.21.22.20.00#Selenium compounds#12.21.22.00.00
-unspsc7#12.21.22.21.00#Silicon or silicone or silicane compounds#12.21.22.00.00
-unspsc7#12.21.22.22.00#Sodium compounds#12.21.22.00.00
-unspsc7#12.21.22.23.00#Sulfur compounds#12.21.22.00.00
-unspsc7#12.21.22.24.00#Tin compounds#12.21.22.00.00
-unspsc7#12.21.22.25.00#Zinc compounds#12.21.22.00.00
-unspsc7#12.21.22.26.00#Heterocyclic compounds#12.21.22.00.00
-unspsc7#12.21.22.27.00#Cobalt compounds#12.21.22.00.00
-unspsc7#12.21.22.28.00#Antimony compounds#12.21.22.00.00
-unspsc7#12.21.22.29.00#Titanium compounds#12.21.22.00.00
-unspsc7#12.21.23.00.00#Oxides includes all oxided substances#12.21.00.00.00
-unspsc7#12.21.23.01.00#Aluminum oxides#12.21.23.00.00
-unspsc7#12.21.23.02.00#Carbon oxides#12.21.23.00.00
-unspsc7#12.21.23.03.00#Hypochlorous acid#12.21.23.00.00
-unspsc7#12.21.23.04.00#Magnesium oxides#12.21.23.00.00
-unspsc7#12.21.23.05.00#Nitrogen oxides#12.21.23.00.00
-unspsc7#12.21.23.06.00#Osmium oxides#12.21.23.00.00
-unspsc7#12.21.23.07.00#Peroxides#12.21.23.00.00
-unspsc7#12.21.23.08.00#Silicon oxides#12.21.23.00.00
-unspsc7#12.21.23.09.00#Sulfur oxides#12.21.23.00.00
-unspsc7#12.21.23.10.00#Thorium oxides#12.21.23.00.00
-unspsc7#12.21.23.11.00#Water oxides#12.21.23.00.00
-unspsc7#12.21.23.12.00#Zinc oxides#12.21.23.00.00
-unspsc7#12.21.23.13.00#Hydroxides#12.21.23.00.00
-unspsc7#12.21.23.14.00#Metal oxides#12.21.23.00.00
-unspsc7#12.21.23.15.00#Non metal oxides#12.21.23.00.00
-unspsc7#12.21.23.16.00#Ethylene oxide#12.21.23.00.00
-unspsc7#12.21.24.00.00#Isotopes#12.21.00.00.00
-unspsc7#12.21.24.01.00#Deuterated solvents#12.21.24.00.00
-unspsc7#12.21.24.02.00#Heavy water#12.21.24.00.00
-unspsc7#12.21.24.03.00#Alpha sources#12.21.24.00.00
-unspsc7#12.21.24.04.00#Beta sources#12.21.24.00.00
-unspsc7#12.21.24.05.00#Cobalt sources#12.21.24.00.00
-unspsc7#12.21.24.06.00#Gamma sources#12.21.24.00.00
-unspsc7#12.21.24.07.00#Radioisotope sources#12.21.24.00.00
-unspsc7#12.21.24.08.00#Calibration sources#12.21.24.00.00
-unspsc7#12.22.00.00.00#Bio chemicals#12.00.00.00.00
-unspsc7#12.22.15.00.00#Proteins#12.22.00.00.00
-unspsc7#12.22.15.01.00#Albumins#12.22.15.00.00
-unspsc7#12.22.15.02.00#Bacterial proteins#12.22.15.00.00
-unspsc7#12.22.15.03.00#Blood proteins#12.22.15.00.00
-unspsc7#12.22.15.04.00#Bone morphogenetic proteins#12.22.15.00.00
-unspsc7#12.22.15.05.00#Carrier proteins#12.22.15.00.00
-unspsc7#12.22.15.06.00#Contractile proteins#12.22.15.00.00
-unspsc7#12.22.15.07.00#Dietary proteins#12.22.15.00.00
-unspsc7#12.22.15.08.00#Deoxyribonucleic acid (DNA) binding proteins#12.22.15.00.00
-unspsc7#12.22.15.09.00#Egg proteins#12.22.15.00.00
-unspsc7#12.22.15.10.00#Globulins#12.22.15.00.00
-unspsc7#12.22.15.11.00#Glycoproteins#12.22.15.00.00
-unspsc7#12.22.15.12.00#Hemeproteins#12.22.15.00.00
-unspsc7#12.22.15.13.00#Interferons#12.22.15.00.00
-unspsc7#12.22.15.14.00#Lectins#12.22.15.00.00
-unspsc7#12.22.15.15.00#Lipoproteins#12.22.15.00.00
-unspsc7#12.22.15.16.00#Membrane proteins#12.22.15.00.00
-unspsc7#12.22.15.17.00#Metalloproteins#12.22.15.00.00
-unspsc7#12.22.15.18.00#Nerve tissue proteins#12.22.15.00.00
-unspsc7#12.22.15.19.00#Neculeoproteins#12.22.15.00.00
-unspsc7#12.22.15.20.00#Peptones#12.22.15.00.00
-unspsc7#12.22.15.21.00#Plant proteins#12.22.15.00.00
-unspsc7#12.22.15.22.00#Prions#12.22.15.00.00
-unspsc7#12.22.15.23.00#Cytoplasmic or nuclear receptors#12.22.15.00.00
-unspsc7#12.22.15.24.00#Recombinant proteins#12.22.15.00.00
-unspsc7#12.22.15.25.00#Serpins#12.22.15.00.00
-unspsc7#12.22.15.26.00#Transcription factors#12.22.15.00.00
-unspsc7#12.22.15.27.00#Viral proteins#12.22.15.00.00
-unspsc7#12.22.15.28.00#Scleroprotein#12.22.15.00.00
-unspsc7#12.22.16.00.00#Antibodies#12.22.00.00.00
-unspsc7#12.22.16.01.00#Viral antibodies#12.22.16.00.00
-unspsc7#12.22.16.02.00#Antitoxins#12.22.16.00.00
-unspsc7#12.22.16.03.00#Bacterial antibodies#12.22.16.00.00
-unspsc7#12.22.16.04.00#Autoantibodies#12.22.16.00.00
-unspsc7#12.22.16.05.00#Immune sera#12.22.16.00.00
-unspsc7#12.22.16.06.00#Immunoglobulins#12.22.16.00.00
-unspsc7#12.22.17.00.00#Nutrients#12.22.00.00.00
-unspsc7#12.22.17.01.00#Vitamins#12.22.17.00.00
-unspsc7#12.22.18.00.00#Enzymes#12.22.00.00.00
-unspsc7#12.22.18.01.00#Hydrolases#12.22.18.00.00
-unspsc7#12.22.18.02.00#Isoenzymes#12.22.18.00.00
-unspsc7#12.22.18.03.00#Isomerases#12.22.18.00.00
-unspsc7#12.22.18.04.00#Ligases#12.22.18.00.00
-unspsc7#12.22.18.05.00#Lyases#12.22.18.00.00
-unspsc7#12.22.18.06.00#Multienzyme complexes#12.22.18.00.00
-unspsc7#12.22.18.07.00#Oxidoreductases#12.22.18.00.00
-unspsc7#12.22.18.08.00#Permeases#12.22.18.00.00
-unspsc7#12.22.18.09.00#Transfereases#12.22.18.00.00
-unspsc7#12.22.18.10.00#Catalase#12.22.18.00.00
-unspsc7#12.22.19.00.00#Tissues#12.22.00.00.00
-unspsc7#12.22.19.01.00#Connective tissues#12.22.19.00.00
-unspsc7#12.22.19.02.00#Epitheliums#12.22.19.00.00
-unspsc7#12.22.19.03.00#Exocrine glands#12.22.19.00.00
-unspsc7#12.22.19.04.00#Lymphoid tissues#12.22.19.00.00
-unspsc7#12.22.19.05.00#Membranes#12.22.19.00.00
-unspsc7#12.22.19.06.00#Muscles#12.22.19.00.00
-unspsc7#12.22.19.07.00#Nerve tissues#12.22.19.00.00
-unspsc7#12.22.20.00.00#Cultures and fluids#12.22.00.00.00
-unspsc7#12.22.20.01.00#Agar#12.22.20.00.00
-unspsc7#12.22.20.02.00#Broth#12.22.20.00.00
-unspsc7#12.22.20.03.00#Serum free culture media#12.22.20.00.00
-unspsc7#12.22.20.04.00#Conditioned culture media#12.22.20.00.00
-unspsc7#12.22.20.05.00#Bacteria cultures#12.22.20.00.00
-unspsc7#12.22.20.06.00#Blood#12.22.20.00.00
-unspsc7#12.22.20.07.00#Urea#12.22.20.00.00
-unspsc7#12.22.20.08.00#Bile#12.22.20.00.00
-unspsc7#12.22.20.09.00#Plasma#12.22.20.00.00
-unspsc7#12.22.20.10.00#Semen cultures#12.22.20.00.00
-unspsc7#12.22.21.00.00#Nucleic acids#12.22.00.00.00
-unspsc7#12.22.21.01.00#Ribonucleic acid (RNA)#12.22.21.00.00
-unspsc7#12.22.21.02.00#Deoxyribonucleic acid (DNA)#12.22.21.00.00
-unspsc7#12.22.22.00.00#Amino acids#12.22.00.00.00
-unspsc7#12.22.22.01.00#Branched chain amino acids#12.22.22.00.00
-unspsc7#12.22.22.02.00#Cyclic amino acids#12.22.22.00.00
-unspsc7#12.22.22.03.00#Diamino amino acids#12.22.22.00.00
-unspsc7#12.22.22.04.00#Dicarboxylic amino acids#12.22.22.00.00
-unspsc7#12.22.22.05.00#Essential amino acids#12.22.22.00.00
-unspsc7#12.22.22.06.00#Sulfur amino acids#12.22.22.00.00
-unspsc7#12.22.22.07.00#Aminobutyric acids#12.22.22.00.00
-unspsc7#12.22.22.08.00#Aminocaproic acids#12.22.22.00.00
-unspsc7#12.22.22.09.00#Oxamic acids#12.22.22.00.00
-unspsc7#12.22.22.10.00#Phosphoamino acids#12.22.22.00.00
-unspsc7#12.22.22.11.00#Quisqualic acids#12.22.22.00.00
-unspsc7#12.22.23.00.00#Amines and amides and imines and imides#12.22.00.00.00
-unspsc7#12.22.23.01.00#Primary#12.22.23.00.00
-unspsc7#12.22.23.02.00#Secondary#12.22.23.00.00
-unspsc7#12.22.23.03.00#Tertiary#12.22.23.00.00
-unspsc7#12.22.23.04.00#Specialty#12.22.23.00.00
-unspsc7#12.22.23.05.00#Sulphonated#12.22.23.00.00
-unspsc7#12.23.00.00.00#Inorganic compounds#12.00.00.00.00
-unspsc7#12.23.10.00.00#Mineral acids#12.23.00.00.00
-unspsc7#12.23.10.01.00#Hydrofloric acid#12.23.10.00.00
-unspsc7#12.23.10.02.00#Hydrofluorosilicic acid#12.23.10.00.00
-unspsc7#12.23.10.03.00#Hydroflouric acid#12.23.10.00.00
-unspsc7#12.23.11.00.00#Bases#12.23.00.00.00
-unspsc7#12.23.11.01.00#Sodium hydroxide#12.23.11.00.00
-unspsc7#12.23.11.02.00#Potassium hydroxide#12.23.11.00.00
-unspsc7#12.23.12.00.00#Salts#12.23.00.00.00
-unspsc7#12.23.12.01.00#Ammonium nitrate#12.23.12.00.00
-unspsc7#12.23.13.00.00#Sulphates#12.23.00.00.00
-unspsc7#12.23.13.01.00#Ferric sulphate#12.23.13.00.00
-unspsc7#12.23.13.02.00#Copper sulphate#12.23.13.00.00
-unspsc7#12.23.13.03.00#Aluminium sulphate#12.23.13.00.00
-unspsc7#12.23.13.04.00#Sodium sulphate#12.23.13.00.00
-unspsc7#12.23.13.05.00#Sodium thiosulphate#12.23.13.00.00
-unspsc7#12.23.14.00.00#Chlorides chlorates and perchlorates#12.23.00.00.00
-unspsc7#12.23.14.01.00#Sodium chlorite#12.23.14.00.00
-unspsc7#12.23.14.02.00#Ferric Chloride#12.23.14.00.00
-unspsc7#12.23.14.03.00#Aluminium chloride#12.23.14.00.00
-unspsc7#12.23.14.04.00#Poly aluminium chloride#12.23.14.00.00
-unspsc7#12.23.14.05.00#Aluminium chlorohydrate#12.23.14.00.00
-unspsc7#12.23.14.06.00#Sodium hypochlorite#12.23.14.00.00
-unspsc7#12.23.15.00.00#Borides and borates#12.23.00.00.00
-unspsc7#12.23.15.01.00#Sodium borate#12.23.15.00.00
-unspsc7#12.23.16.00.00#Hydrides#12.23.00.00.00
-unspsc7#12.23.16.01.00#Aluminium hydrite#12.23.16.00.00
-unspsc7#12.23.16.02.00#Magnesium hydrite#12.23.16.00.00
-unspsc7#12.23.17.00.00#Sulphides#12.23.00.00.00
-unspsc7#12.23.17.01.00#Hydrogen sulphide#12.23.17.00.00
-unspsc7#12.23.17.02.00#Poly sulphide#12.23.17.00.00
-unspsc7#12.23.17.03.00#Sodium sulphide#12.23.17.00.00
-unspsc7#12.23.17.04.00#Iron sulphide#12.23.17.00.00
-unspsc7#12.23.18.00.00#Inorganic oxidising agents#12.23.00.00.00
-unspsc7#12.23.18.01.00#Potassium permanganate#12.23.18.00.00
-unspsc7#12.23.18.02.00#Potassium dichromate#12.23.18.00.00
-unspsc7#12.23.18.03.00#Manganese dioxide#12.23.18.00.00
-unspsc7#12.24.00.00.00#Alcohols#12.00.00.00.00
-unspsc7#12.24.10.00.00#Monohydric alcohols#12.24.00.00.00
-unspsc7#12.24.10.01.00#Ethanol#12.24.10.00.00
-unspsc7#12.24.10.02.00#Isopropanol#12.24.10.00.00
-unspsc7#12.24.10.03.00#Methanol#12.24.10.00.00
-unspsc7#12.24.10.04.00#Pentanols#12.24.10.00.00
-unspsc7#12.24.10.05.00#Octanols#12.24.10.00.00
-unspsc7#12.24.10.06.00#Inositols#12.24.10.00.00
-unspsc7#12.24.10.07.00#Fatty alcohols#12.24.10.00.00
-unspsc7#12.24.10.08.00#Allyl alcohol#12.24.10.00.00
-unspsc7#12.24.11.00.00#Polyhydric alcohols#12.24.00.00.00
-unspsc7#12.24.11.01.00#Glycol#12.24.11.00.00
-unspsc7#12.24.11.02.00#Glycerol#12.24.11.00.00
-unspsc7#12.24.12.00.00#Thio alcohols#12.24.00.00.00
-unspsc7#12.24.12.01.00#Ethane thiol#12.24.12.00.00
-unspsc7#12.24.12.02.00#Methane thiol#12.24.12.00.00
-unspsc7#12.25.00.00.00#Alkanes Alkenes Alkynes and Aromatics#12.00.00.00.00
-unspsc7#12.25.10.00.00#Alkanes#12.25.00.00.00
-unspsc7#12.25.10.01.00#Pentane#12.25.10.00.00
-unspsc7#12.25.10.02.00#Hexane#12.25.10.00.00
-unspsc7#12.25.11.00.00#Cyclic hydrocarbons#12.25.00.00.00
-unspsc7#12.25.11.01.00#Toluene#12.25.11.00.00
-unspsc7#12.25.11.02.00#Xylenes#12.25.11.00.00
-unspsc7#12.25.11.03.00#Benzene#12.25.11.00.00
-unspsc7#12.25.12.00.00#Alkenes#12.25.00.00.00
-unspsc7#12.25.12.01.00#Propene#12.25.12.00.00
-unspsc7#12.25.12.02.00#Butene#12.25.12.00.00
-unspsc7#12.25.12.03.00#Styrene#12.25.12.00.00
-unspsc7#12.25.13.00.00#Alkynes#12.25.00.00.00
-unspsc7#12.25.13.01.00#Acytelene#12.25.13.00.00
-unspsc7#12.26.00.00.00#Aromatic derivatives#12.00.00.00.00
-unspsc7#12.26.10.00.00#Aromatic sulphonic acids#12.26.00.00.00
-unspsc7#12.26.10.01.00#Benzene sulphonic acids#12.26.10.00.00
-unspsc7#12.26.10.02.00#Halogenated sulphonic acids#12.26.10.00.00
-unspsc7#12.26.10.03.00#Nitrosulphonic acids#12.26.10.00.00
-unspsc7#12.26.10.04.00#Amino sulphonic acids#12.26.10.00.00
-unspsc7#12.26.10.05.00#Sulphonyl chlorides#12.26.10.00.00
-unspsc7#12.26.11.00.00#Aromatic nitro compounds#12.26.00.00.00
-unspsc7#12.26.11.01.00#Nitro benzenes#12.26.11.00.00
-unspsc7#12.26.11.02.00#Nitro toluenes#12.26.11.00.00
-unspsc7#12.26.11.03.00#Caprolactam#12.26.11.00.00
-unspsc7#12.26.12.00.00#Cyclic alcohols#12.26.00.00.00
-unspsc7#12.26.12.01.00#Hexanols#12.26.12.00.00
-unspsc7#12.26.12.02.00#Napthols#12.26.12.00.00
-unspsc7#12.26.12.03.00#Xylenols#12.26.12.00.00
-unspsc7#12.26.12.04.00#Benzyl alcohols#12.26.12.00.00
-unspsc7#12.26.13.00.00#Phthalates#12.26.00.00.00
-unspsc7#12.26.13.01.00#Di octyl Phthalate#12.26.13.00.00
-unspsc7#12.26.13.02.00#Di ethyl phthalates#12.26.13.00.00
-unspsc7#13.00.00.00.00#Resin and Rosin and Rubber and Foam and Film and Elastomeric Materials#13.00.00.00.00
-unspsc7#13.10.00.00.00#Rubber and elastomers#13.00.00.00.00
-unspsc7#13.10.15.00.00#Natural rubber#13.10.00.00.00
-unspsc7#13.10.15.01.00#Latex rubber#13.10.15.00.00
-unspsc7#13.10.15.02.00#Crepe rubber#13.10.15.00.00
-unspsc7#13.10.15.03.00#Smoked sheet rubber#13.10.15.00.00
-unspsc7#13.10.15.04.00#Natural foam rubber#13.10.15.00.00
-unspsc7#13.10.15.05.00#Block or crumb rubber#13.10.15.00.00
-unspsc7#13.10.16.00.00#Processed and synthetic rubber#13.10.00.00.00
-unspsc7#13.10.16.01.00#Vulcanized rubber#13.10.16.00.00
-unspsc7#13.10.16.02.00#Chlorinated rubber#13.10.16.00.00
-unspsc7#13.10.16.03.00#Hydrochloride rubber#13.10.16.00.00
-unspsc7#13.10.16.04.00#Cyclized rubber#13.10.16.00.00
-unspsc7#13.10.16.05.00#Isomerized rubber#13.10.16.00.00
-unspsc7#13.10.16.06.00#Thermplastic rubber#13.10.16.00.00
-unspsc7#13.10.16.07.00#Rubber compound#13.10.16.00.00
-unspsc7#13.10.17.00.00#Elastomers#13.10.00.00.00
-unspsc7#13.10.17.01.00#Acrylonitrile butadiene (NBR)#13.10.17.00.00
-unspsc7#13.10.17.02.00#Highly saturated nitrile (HNBR)#13.10.17.00.00
-unspsc7#13.10.17.03.00#Fluorocarbon (FKM)#13.10.17.00.00
-unspsc7#13.10.17.04.00#Ethylene propylene (EP)#13.10.17.00.00
-unspsc7#13.10.17.05.00#Styrene butadiene (SBR)#13.10.17.00.00
-unspsc7#13.10.17.06.00#Chloroprene (CR)#13.10.17.00.00
-unspsc7#13.10.17.07.00#Isobutylene isoprene (IIR/XIIR)#13.10.17.00.00
-unspsc7#13.10.17.08.00#Silicone (VMQ and PMQ and PVMQ)#13.10.17.00.00
-unspsc7#13.10.17.09.00#Fluorosilicone (FVMQ)#13.10.17.00.00
-unspsc7#13.10.17.10.00#Polyacrylate (ACM)#13.10.17.00.00
-unspsc7#13.10.17.11.00#Ethylene acrylic (AEM)#13.10.17.00.00
-unspsc7#13.10.17.12.00#Chlorosulfonated polyethylene (CSM)#13.10.17.00.00
-unspsc7#13.10.17.13.00#Chloropolyethylene (CM)#13.10.17.00.00
-unspsc7#13.10.17.14.00#Epichlorohydrin (ECO)#13.10.17.00.00
-unspsc7#13.10.17.15.00#Natural polyisoprene (NR)#13.10.17.00.00
-unspsc7#13.10.17.16.00#Synthetic polyisoprene (IR)#13.10.17.00.00
-unspsc7#13.10.17.17.00#Polyester urethane (AU)#13.10.17.00.00
-unspsc7#13.10.17.18.00#Polyether urethane (EU)#13.10.17.00.00
-unspsc7#13.10.17.19.00#Polybutadiene (BR)#13.10.17.00.00
-unspsc7#13.10.17.20.00#Polyether block amide (PEBA)#13.10.17.00.00
-unspsc7#13.10.17.21.00#Styrene block coploymer (TES)#13.10.17.00.00
-unspsc7#13.10.17.22.00#Copolyester#13.10.17.00.00
-unspsc7#13.10.17.23.00#Thermoplastic#13.10.17.00.00
-unspsc7#13.10.17.24.00#Polyolenfinic#13.10.17.00.00
-unspsc7#13.10.18.00.00#Thermoplastic elastomers#13.10.00.00.00
-unspsc7#13.10.18.01.00#Polyether block amide (PEBA)#13.10.18.00.00
-unspsc7#13.10.18.02.00#Polyolenfinic (TPO)#13.10.18.00.00
-unspsc7#13.10.18.03.00#Ether ester block coploymer (TEEE)#13.10.18.00.00
-unspsc7#13.10.18.04.00#Thermoplastic elastomer polyurethane (TPUR)#13.10.18.00.00
-unspsc7#13.10.18.05.00#Styrene block coploymer (TES)#13.10.18.00.00
-unspsc7#13.10.19.00.00#Thermoset plastics#13.10.00.00.00
-unspsc7#13.10.19.01.00#Epoxy (EP)#13.10.19.00.00
-unspsc7#13.10.19.02.00#Phenolic (PF)#13.10.19.00.00
-unspsc7#13.10.19.03.00#Unsaturate polyester (UP)#13.10.19.00.00
-unspsc7#13.10.19.04.00#Urea (UF)#13.10.19.00.00
-unspsc7#13.10.19.05.00#Melamine (MF)#13.10.19.00.00
-unspsc7#13.10.19.06.00#Thermoset polyurethane (PUR)#13.10.19.00.00
-unspsc7#13.10.20.00.00#Thermoplastic plastics#13.10.00.00.00
-unspsc7#13.10.20.01.00#Acrylonitrile butadiene styrene (ABS)#13.10.20.00.00
-unspsc7#13.10.20.02.00#Acrylonitrile butadiene styrene (ABS) alloys#13.10.20.00.00
-unspsc7#13.10.20.03.00#Acetal polymer#13.10.20.00.00
-unspsc7#13.10.20.04.00#Acrylic#13.10.20.00.00
-unspsc7#13.10.20.05.00#Acrylonitrile styrene acrylic (ASA)#13.10.20.00.00
-unspsc7#13.10.20.06.00#Acrylonitrile styrene acrylic (ASA) alloys#13.10.20.00.00
-unspsc7#13.10.20.07.00#Cellulosics#13.10.20.00.00
-unspsc7#13.10.20.08.00#Fluoropolymers (PTFE)#13.10.20.00.00
-unspsc7#13.10.20.09.00#Ethylene vinyl acetate (EVA)#13.10.20.00.00
-unspsc7#13.10.20.10.00#Liquid crystal polymer (LCP)#13.10.20.00.00
-unspsc7#13.10.20.11.00#Polyamide nylons (PA)#13.10.20.00.00
-unspsc7#13.10.20.12.00#Polybutylene terepthalate (PBT)#13.10.20.00.00
-unspsc7#13.10.20.13.00#Polycarbonate (PC)#13.10.20.00.00
-unspsc7#13.10.20.14.00#Polyetheretherketone (PEEK)#13.10.20.00.00
-unspsc7#13.10.20.15.00#Polyetherimid (PEI)#13.10.20.00.00
-unspsc7#13.10.20.16.00#Polyethersulfone (PES)#13.10.20.00.00
-unspsc7#13.10.20.17.00#High density polyethylene (HDPE)#13.10.20.00.00
-unspsc7#13.10.20.18.00#Low density polyethylene (LDPE)#13.10.20.00.00
-unspsc7#13.10.20.19.00#Medium density polyethylene (MDPE)#13.10.20.00.00
-unspsc7#13.10.20.20.00#Polyethylene terepthalate (PET)#13.10.20.00.00
-unspsc7#13.10.20.21.00#Polyimide (PI)#13.10.20.00.00
-unspsc7#13.10.20.22.00#Polypropylene (PP)#13.10.20.00.00
-unspsc7#13.10.20.23.00#Polyphthalamide (PPA)#13.10.20.00.00
-unspsc7#13.10.20.24.00#Polythenylene oxide (PPO)#13.10.20.00.00
-unspsc7#13.10.20.25.00#Polyphenylene sulfide (PPS)#13.10.20.00.00
-unspsc7#13.10.20.26.00#Polystyrene (PS)#13.10.20.00.00
-unspsc7#13.10.20.27.00#High impact polystyrene (HIPS)#13.10.20.00.00
-unspsc7#13.10.20.28.00#Polysulfone (PSU)#13.10.20.00.00
-unspsc7#13.10.20.29.00#Rigid thermoplastic polyurethane (RPTU)#13.10.20.00.00
-unspsc7#13.10.20.30.00#Polyvinyl chloride (PVC)#13.10.20.00.00
-unspsc7#13.10.20.31.00#Styrene acrylonitrile (SAN)#13.10.20.00.00
-unspsc7#13.10.21.00.00#Resins#13.10.00.00.00
-unspsc7#13.10.21.01.00#Plastic resins#13.10.21.00.00
-unspsc7#13.10.21.02.00#Indene resins#13.10.21.00.00
-unspsc7#13.10.21.03.00#Urea resins#13.10.21.00.00
-unspsc7#13.10.21.04.00#Phenolic resins#13.10.21.00.00
-unspsc7#13.10.21.05.00#Thermoplastic resins#13.10.21.00.00
-unspsc7#13.10.21.06.00#Alkyd resins#13.10.21.00.00
-unspsc7#13.10.21.07.00#Melamine resins#13.10.21.00.00
-unspsc7#13.10.21.08.00#Polyacetal resins#13.10.21.00.00
-unspsc7#13.10.21.09.00#Polyamide resins#13.10.21.00.00
-unspsc7#13.10.21.10.00#Polycarbonate resins#13.10.21.00.00
-unspsc7#13.10.21.11.00#Polyethylene terephthalate resins#13.10.21.00.00
-unspsc7#13.10.21.12.00#Polyether resins#13.10.21.00.00
-unspsc7#13.10.21.13.00#Allyl resins#13.10.21.00.00
-unspsc7#13.10.21.14.00#Polyurethane resins#13.10.21.00.00
-unspsc7#13.10.21.15.00#Epoxy resins#13.10.21.00.00
-unspsc7#13.10.21.16.00#Petroleum resins#13.10.21.00.00
-unspsc7#13.10.22.00.00#Plastic films#13.10.00.00.00
-unspsc7#13.10.22.01.00#Polyurethane films#13.10.22.00.00
-unspsc7#13.10.22.02.00#Silicone coated films#13.10.22.00.00
-unspsc7#13.11.00.00.00#Resins and rosins and other resin derived materials#13.00.00.00.00
-unspsc7#13.11.10.00.00#Resins#13.11.00.00.00
-unspsc7#13.11.10.01.00#Epoxy#13.11.10.00.00
-unspsc7#13.11.10.02.00#Phenolic#13.11.10.00.00
-unspsc7#13.11.10.03.00#Unsaturated polyester#13.11.10.00.00
-unspsc7#13.11.10.04.00#Acrylonitrile butadiene styrene#13.11.10.00.00
-unspsc7#13.11.10.05.00#Acrylonitrile styrene acrylic#13.11.10.00.00
-unspsc7#13.11.10.06.00#Acrylonitrile styrene acrylic alloys#13.11.10.00.00
-unspsc7#13.11.10.07.00#Fluoropolymers#13.11.10.00.00
-unspsc7#13.11.10.08.00#Ethylene vinyl acetate#13.11.10.00.00
-unspsc7#13.11.10.09.00#Liquid crystal polymer#13.11.10.00.00
-unspsc7#13.11.10.10.00#Nylon#13.11.10.00.00
-unspsc7#13.11.10.11.00#Polybutylene terepthatlate#13.11.10.00.00
-unspsc7#13.11.10.12.00#Polycarbonate#13.11.10.00.00
-unspsc7#13.11.10.13.00#Polyetheretherketone#13.11.10.00.00
-unspsc7#13.11.10.14.00#Polyetherimide#13.11.10.00.00
-unspsc7#13.11.10.15.00#Polyethersulfone#13.11.10.00.00
-unspsc7#13.11.10.16.00#Polyethylene#13.11.10.00.00
-unspsc7#13.11.10.17.00#Polyethylene terpthalate#13.11.10.00.00
-unspsc7#13.11.10.18.00#Polyimide#13.11.10.00.00
-unspsc7#13.11.10.19.00#Polypropylene#13.11.10.00.00
-unspsc7#13.11.10.20.00#Polyphthalamide#13.11.10.00.00
-unspsc7#13.11.10.21.00#Polyethylene oxide#13.11.10.00.00
-unspsc7#13.11.10.22.00#Polyphenylene sulfide#13.11.10.00.00
-unspsc7#13.11.10.23.00#Polystyrene#13.11.10.00.00
-unspsc7#13.11.10.24.00#Polysulfone#13.11.10.00.00
-unspsc7#13.11.10.25.00#Polyvinyl chloride#13.11.10.00.00
-unspsc7#13.11.10.26.00#Styrene acrylonitrile#13.11.10.00.00
-unspsc7#13.11.10.27.00#Urea formaldehyde#13.11.10.00.00
-unspsc7#13.11.10.28.00#Alkyd#13.11.10.00.00
-unspsc7#13.11.10.29.00#Melamine formaldehyde#13.11.10.00.00
-unspsc7#13.11.10.30.00#Polyacetal#13.11.10.00.00
-unspsc7#13.11.10.31.00#Polyamide#13.11.10.00.00
-unspsc7#13.11.10.32.00#Allyl#13.11.10.00.00
-unspsc7#13.11.10.33.00#Ethylene acrylic acid#13.11.10.00.00
-unspsc7#13.11.10.34.00#Polyvinyl chloride compound#13.11.10.00.00
-unspsc7#13.11.10.35.00#Solution vinyl#13.11.10.00.00
-unspsc7#13.11.10.36.00#Phenoxy#13.11.10.00.00
-unspsc7#13.11.10.37.00#Compounded resins#13.11.10.00.00
-unspsc7#13.11.10.38.00#Polyvinly pyrolidine#13.11.10.00.00
-unspsc7#13.11.10.39.00#Polyethylene terephthalate or glycol modified#13.11.10.00.00
-unspsc7#13.11.10.40.00#Hydrocarbon tackifier#13.11.10.00.00
-unspsc7#13.11.10.41.00#Polycarbonate blends#13.11.10.00.00
-unspsc7#13.11.10.42.00#Polyvinyl alcohol#13.11.10.00.00
-unspsc7#13.11.10.43.00#Polyvinyl butyral#13.11.10.00.00
-unspsc7#13.11.10.44.00#Polyester molding compounds#13.11.10.00.00
-unspsc7#13.11.10.45.00#Polyvinyl acetate#13.11.10.00.00
-unspsc7#13.11.10.46.00#Polyvinyl ether#13.11.10.00.00
-unspsc7#13.11.10.47.00#Polyvinyl formal#13.11.10.00.00
-unspsc7#13.11.10.48.00#Styrene acrylic#13.11.10.00.00
-unspsc7#13.11.10.49.00#Ethylene propylene polymers#13.11.10.00.00
-unspsc7#13.11.10.50.00#Polypropylene oxide#13.11.10.00.00
-unspsc7#13.11.10.51.00#Polypropylene ether#13.11.10.00.00
-unspsc7#13.11.10.52.00#Polypropylene sulfone#13.11.10.00.00
-unspsc7#13.11.10.53.00#Polymethylacrylate#13.11.10.00.00
-unspsc7#13.11.10.54.00#Styrene maleic anhydride#13.11.10.00.00
-unspsc7#13.11.10.55.00#Syndiotatic polystyrene#13.11.10.00.00
-unspsc7#13.11.10.56.00#Chlorinated polyvinyl chloride#13.11.10.00.00
-unspsc7#13.11.10.57.00#Thermoplastic polyester#13.11.10.00.00
-unspsc7#13.11.10.58.00#Indene resins#13.11.10.00.00
-unspsc7#13.11.10.59.00#Plastic resins#13.11.10.00.00
-unspsc7#13.11.10.60.00#Petroleum resins#13.11.10.00.00
-unspsc7#13.11.10.61.00#Polyurethane resins#13.11.10.00.00
-unspsc7#13.11.10.62.00#Polyether resins#13.11.10.00.00
-unspsc7#13.11.11.00.00#Rosins#13.11.00.00.00
-unspsc7#13.11.11.01.00#Wood rosin#13.11.11.00.00
-unspsc7#13.11.11.02.00#Gum rosin#13.11.11.00.00
-unspsc7#13.11.11.03.00#Tall oil rosin#13.11.11.00.00
-unspsc7#13.11.12.00.00#Films#13.11.00.00.00
-unspsc7#13.11.12.01.00#Polyethylene films#13.11.12.00.00
-unspsc7#13.11.12.02.00#Polyurethane films#13.11.12.00.00
-unspsc7#13.11.12.03.00#Acetate films#13.11.12.00.00
-unspsc7#13.11.12.04.00#Acrylic films#13.11.12.00.00
-unspsc7#13.11.12.05.00#Coextruded films#13.11.12.00.00
-unspsc7#13.11.12.06.00#Flouropolymer films#13.11.12.00.00
-unspsc7#13.11.12.07.00#Metalized films#13.11.12.00.00
-unspsc7#13.11.12.08.00#Nylon films#13.11.12.00.00
-unspsc7#13.11.12.09.00#Polycarbonate films#13.11.12.00.00
-unspsc7#13.11.12.10.00#Polyester films#13.11.12.00.00
-unspsc7#13.11.12.11.00#Polypropylene films#13.11.12.00.00
-unspsc7#13.11.12.12.00#Biaxially orientated polypropylene#13.11.12.00.00
-unspsc7#13.11.12.13.00#Polymide films#13.11.12.00.00
-unspsc7#13.11.12.14.00#Polystyrene films#13.11.12.00.00
-unspsc7#13.11.12.15.00#Flexible polyvinyl chloride film#13.11.12.00.00
-unspsc7#13.11.12.16.00#Rigid polyvinyl chloride film#13.11.12.00.00
-unspsc7#13.11.12.17.00#Ethylene vinyl alcohol film#13.11.12.00.00
-unspsc7#13.11.12.18.00#Polyvinylidene chloride#13.11.12.00.00
-unspsc7#13.11.12.19.00#Polyvinyl alcohol films#13.11.12.00.00
-unspsc7#13.11.13.00.00#Foams#13.11.00.00.00
-unspsc7#13.11.13.01.00#Polyolefin foam#13.11.13.00.00
-unspsc7#13.11.13.02.00#Polyether foam#13.11.13.00.00
-unspsc7#13.11.13.03.00#Silicone foam#13.11.13.00.00
-unspsc7#13.11.13.04.00#Ethylene propylene terpolymer foam#13.11.13.00.00
-unspsc7#13.11.13.05.00#Neoprene foam#13.11.13.00.00
-unspsc7#13.11.13.06.00#Polyvinyl chloride foam#13.11.13.00.00
-unspsc7#13.11.13.07.00#Rubber foam#13.11.13.00.00
-unspsc7#13.11.13.08.00#Polystyrene foam#13.11.13.00.00
-unspsc7#14.00.00.00.00#Paper Materials and Products#14.00.00.00.00
-unspsc7#14.10.00.00.00#Paper materials#14.00.00.00.00
-unspsc7#14.10.15.00.00#Raw materials#14.10.00.00.00
-unspsc7#14.10.15.01.00#Paper pulp#14.10.15.00.00
-unspsc7#14.11.00.00.00#Paper products#14.00.00.00.00
-unspsc7#14.11.15.00.00#Printing and writing paper#14.11.00.00.00
-unspsc7#14.11.15.01.00#Onion skin paper#14.11.15.00.00
-unspsc7#14.11.15.02.00#Vellum paper#14.11.15.00.00
-unspsc7#14.11.15.03.00#Parchment paper#14.11.15.00.00
-unspsc7#14.11.15.04.00#Tractor feed paper#14.11.15.00.00
-unspsc7#14.11.15.05.00#Mimeograph paper#14.11.15.00.00
-unspsc7#14.11.15.06.00#Computer printout paper#14.11.15.00.00
-unspsc7#14.11.15.07.00#Printer or copier paper#14.11.15.00.00
-unspsc7#14.11.15.08.00#Facsimile paper#14.11.15.00.00
-unspsc7#14.11.15.09.00#Stationery#14.11.15.00.00
-unspsc7#14.11.15.10.00#Plotter paper#14.11.15.00.00
-unspsc7#14.11.15.11.00#Writing paper#14.11.15.00.00
-unspsc7#14.11.15.12.00#Graph paper#14.11.15.00.00
-unspsc7#14.11.15.13.00#Ledger paper#14.11.15.00.00
-unspsc7#14.11.15.14.00#Paper pads or notebooks#14.11.15.00.00
-unspsc7#14.11.15.15.00#Calculator or cash register paper#14.11.15.00.00
-unspsc7#14.11.15.16.00#Notebook filler paper#14.11.15.00.00
-unspsc7#14.11.15.17.00#Business forms#14.11.15.00.00
-unspsc7#14.11.15.18.00#Index cards#14.11.15.00.00
-unspsc7#14.11.15.19.00#Cardstock papers#14.11.15.00.00
-unspsc7#14.11.15.20.00#Blotter paper#14.11.15.00.00
-unspsc7#14.11.15.21.00#Laser paper#14.11.15.00.00
-unspsc7#14.11.15.22.00#Inkjet paper#14.11.15.00.00
-unspsc7#14.11.15.23.00#Tracing paper#14.11.15.00.00
-unspsc7#14.11.15.24.00#Foolscap sheets#14.11.15.00.00
-unspsc7#14.11.15.25.00#Multipurpose paper#14.11.15.00.00
-unspsc7#14.11.15.26.00#Telephone message pads or books#14.11.15.00.00
-unspsc7#14.11.15.28.00#Magnet paper#14.11.15.00.00
-unspsc7#14.11.15.29.00#Telex rolls#14.11.15.00.00
-unspsc7#14.11.15.30.00#Self adhesive note paper#14.11.15.00.00
-unspsc7#14.11.16.00.00#Novelty paper#14.11.00.00.00
-unspsc7#14.11.16.01.00#Gift wrapping paper or bags or boxes#14.11.16.00.00
-unspsc7#14.11.16.04.00#Business cards#14.11.16.00.00
-unspsc7#14.11.16.05.00#Greeting or note or post cards#14.11.16.00.00
-unspsc7#14.11.16.06.00#Art or craft paper#14.11.16.00.00
-unspsc7#14.11.16.07.00#Poster boards#14.11.16.00.00
-unspsc7#14.11.16.08.00#Gift certificate#14.11.16.00.00
-unspsc7#14.11.16.09.00#Cover paper#14.11.16.00.00
-unspsc7#14.11.17.00.00#Personal paper products#14.11.00.00.00
-unspsc7#14.11.17.01.00#Facial tissues#14.11.17.00.00
-unspsc7#14.11.17.02.00#Toilet seat covers#14.11.17.00.00
-unspsc7#14.11.17.03.00#Paper towels#14.11.17.00.00
-unspsc7#14.11.17.04.00#Toilet tissue#14.11.17.00.00
-unspsc7#14.11.17.05.00#Paper napkins or serviettes#14.11.17.00.00
-unspsc7#14.11.17.06.00#Paper table cloth#14.11.17.00.00
-unspsc7#14.11.18.00.00#Business use papers#14.11.00.00.00
-unspsc7#14.11.18.01.00#Tickets or ticket rolls#14.11.18.00.00
-unspsc7#14.11.18.02.00#Receipts or receipt books#14.11.18.00.00
-unspsc7#14.11.18.03.00#Vouchers#14.11.18.00.00
-unspsc7#14.11.18.04.00#Bills or bill books#14.11.18.00.00
-unspsc7#14.11.18.05.00#Checks or check books#14.11.18.00.00
-unspsc7#14.12.00.00.00#Industrial use papers#14.00.00.00.00
-unspsc7#14.12.15.00.00#Paperboard and packaging papers#14.12.00.00.00
-unspsc7#14.12.15.01.00#Bleached paperboard#14.12.15.00.00
-unspsc7#14.12.15.02.00#Unbleached paperboard#14.12.15.00.00
-unspsc7#14.12.15.03.00#Cardboard#14.12.15.00.00
-unspsc7#14.12.15.04.00#Packaging paper#14.12.15.00.00
-unspsc7#14.12.16.00.00#Tissue papers#14.12.00.00.00
-unspsc7#14.12.16.01.00#Unbleached crepe papers#14.12.16.00.00
-unspsc7#14.12.16.02.00#Semi bleached crepe papers#14.12.16.00.00
-unspsc7#14.12.16.03.00#Wet strength tissue papers#14.12.16.00.00
-unspsc7#14.12.16.04.00#Acid free tissue papers#14.12.16.00.00
-unspsc7#14.12.16.05.00#Kraft tissue paper#14.12.16.00.00
-unspsc7#14.12.17.00.00#Laminated papers#14.12.00.00.00
-unspsc7#14.12.17.01.00#Papers bonded with film#14.12.17.00.00
-unspsc7#14.12.17.02.00#Cylinder papers or multi layer heavyweight paper#14.12.17.00.00
-unspsc7#14.12.18.00.00#Coated papers#14.12.00.00.00
-unspsc7#14.12.18.01.00#Clay coated papers#14.12.18.00.00
-unspsc7#14.12.18.02.00#Polyethylene coated papers#14.12.18.00.00
-unspsc7#14.12.18.03.00#Polyester coated papers#14.12.18.00.00
-unspsc7#14.12.18.04.00#Silicone coated papers#14.12.18.00.00
-unspsc7#14.12.18.05.00#Latex treated coated paper#14.12.18.00.00
-unspsc7#14.12.18.06.00#Waxed paper#14.12.18.00.00
-unspsc7#14.12.18.07.00#Butcher papers#14.12.18.00.00
-unspsc7#14.12.18.08.00#Freezer paper#14.12.18.00.00
-unspsc7#14.12.18.09.00#Masking paper#14.12.18.00.00
-unspsc7#14.12.18.10.00#Carbon papers#14.12.18.00.00
-unspsc7#14.12.19.00.00#Newsprint and offset papers#14.12.00.00.00
-unspsc7#14.12.19.01.00#Standard newsprint#14.12.19.00.00
-unspsc7#14.12.19.02.00#Colored newsprint#14.12.19.00.00
-unspsc7#14.12.19.03.00#High brightness newsprint#14.12.19.00.00
-unspsc7#14.12.19.04.00#Offset paper#14.12.19.00.00
-unspsc7#14.12.20.00.00#Specialty coated papers#14.12.00.00.00
-unspsc7#14.12.20.01.00#Butcher papers#14.12.20.00.00
-unspsc7#14.12.20.02.00#Freezer paper#14.12.20.00.00
-unspsc7#14.12.21.00.00#Uncoated base papers#14.12.00.00.00
-unspsc7#14.12.21.01.00#Super calendared kraft paper#14.12.21.00.00
-unspsc7#14.12.21.02.00#Machine finished or glazed kraft paper#14.12.21.00.00
-unspsc7#14.12.21.03.00#Non treated uncoated paper#14.12.21.00.00
-unspsc7#14.12.21.04.00#Non treated crepe paper#14.12.21.00.00
-unspsc7#14.12.21.05.00#Latex treated crepe paper#14.12.21.00.00
-unspsc7#14.12.21.06.00#Latex treated uncoated paper#14.12.21.00.00
-unspsc7#15.00.00.00.00#Fuels and Fuel Additives and Lubricants and Anti corrosive Materials#15.00.00.00.00
-unspsc7#15.10.00.00.00#Fuels#15.00.00.00.00
-unspsc7#15.10.15.00.00#Petroleum and distillates#15.10.00.00.00
-unspsc7#15.10.15.01.00#Fuel oil#15.10.15.00.00
-unspsc7#15.10.15.02.00#Kerosene#15.10.15.00.00
-unspsc7#15.10.15.03.00#Naphtha#15.10.15.00.00
-unspsc7#15.10.15.04.00#Aviation fuel#15.10.15.00.00
-unspsc7#15.10.15.05.00#Diesel fuel#15.10.15.00.00
-unspsc7#15.10.15.06.00#Gasoline#15.10.15.00.00
-unspsc7#15.10.15.07.00#Petrol#15.10.15.00.00
-unspsc7#15.10.15.08.00#Crude oil#15.10.15.00.00
-unspsc7#15.10.15.09.00#Marine fuel#15.10.15.00.00
-unspsc7#15.10.15.10.00#Condensate#15.10.15.00.00
-unspsc7#15.10.16.00.00#Coal and lignite and peat#15.10.00.00.00
-unspsc7#15.10.16.01.00#Coal#15.10.16.00.00
-unspsc7#15.10.16.02.00#Lignite#15.10.16.00.00
-unspsc7#15.10.16.03.00#Peat#15.10.16.00.00
-unspsc7#15.10.16.04.00#Coke#15.10.16.00.00
-unspsc7#15.10.16.05.00#Charcoal#15.10.16.00.00
-unspsc7#15.11.00.00.00#Gaseous fuels and additives#15.00.00.00.00
-unspsc7#15.11.15.00.00#Gaseous fuels#15.11.00.00.00
-unspsc7#15.11.15.01.00#Propane#15.11.15.00.00
-unspsc7#15.11.15.02.00#Methane#15.11.15.00.00
-unspsc7#15.11.15.03.00#Propylene#15.11.15.00.00
-unspsc7#15.11.15.04.00#Ethylene#15.11.15.00.00
-unspsc7#15.11.15.05.00#Butane#15.11.15.00.00
-unspsc7#15.11.15.06.00#Acetylene#15.11.15.00.00
-unspsc7#15.11.15.07.00#Water gas or producer gas#15.11.15.00.00
-unspsc7#15.11.15.08.00#Coal gas#15.11.15.00.00
-unspsc7#15.11.15.09.00#Liquified petroleum gas#15.11.15.00.00
-unspsc7#15.11.15.10.00#Fuel additives#15.11.15.00.00
-unspsc7#15.11.16.00.00#Fuel additives#15.11.00.00.00
-unspsc7#15.11.16.01.00#Ethanol#15.11.16.00.00
-unspsc7#15.11.16.02.00#Methanol#15.11.16.00.00
-unspsc7#15.12.00.00.00#Lubricants and oils and greases and anti corrosives#15.00.00.00.00
-unspsc7#15.12.15.00.00#Lubricating preparations#15.12.00.00.00
-unspsc7#15.12.15.01.00#Engine oil#15.12.15.00.00
-unspsc7#15.12.15.02.00#Cutting oil#15.12.15.00.00
-unspsc7#15.12.15.03.00#Gear oil#15.12.15.00.00
-unspsc7#15.12.15.04.00#Hydraulic oil#15.12.15.00.00
-unspsc7#15.12.15.05.00#Transformer oil#15.12.15.00.00
-unspsc7#15.12.15.07.00#Lithium grease#15.12.15.00.00
-unspsc7#15.12.15.08.00#Transmission oil#15.12.15.00.00
-unspsc7#15.12.15.09.00#Brake oil#15.12.15.00.00
-unspsc7#15.12.15.10.00#Antigalling#15.12.15.00.00
-unspsc7#15.12.15.11.00#Assembly pastes#15.12.15.00.00
-unspsc7#15.12.15.12.00#Anti adhesives#15.12.15.00.00
-unspsc7#15.12.15.13.00#Graphite lubricants#15.12.15.00.00
-unspsc7#15.12.15.14.00#Spray lubricants#15.12.15.00.00
-unspsc7#15.12.15.15.00#Anti seize or anti stain compounds#15.12.15.00.00
-unspsc7#15.12.15.16.00#Leak stop#15.12.15.00.00
-unspsc7#15.12.16.00.00#Waxes#15.12.00.00.00
-unspsc7#15.12.16.01.00#Paraffin wax#15.12.16.00.00
-unspsc7#15.12.16.02.00#Sealing wax#15.12.16.00.00
-unspsc7#15.12.16.03.00#Olefin wax#15.12.16.00.00
-unspsc7#15.12.17.00.00#Specialty lubricants#15.12.00.00.00
-unspsc7#15.12.17.01.00#Petrolatum#15.12.17.00.00
-unspsc7#15.12.18.00.00#Anti corrosives#15.12.00.00.00
-unspsc7#15.12.18.01.00#Moisture repellent#15.12.18.00.00
-unspsc7#15.12.18.02.00#Anti corrosion lubricant#15.12.18.00.00
-unspsc7#15.12.18.03.00#Rust remover#15.12.18.00.00
-unspsc7#15.12.18.04.00#Rust proofing preparation#15.12.18.00.00
-unspsc7#15.12.18.05.00#Anti weld pastes#15.12.18.00.00
-unspsc7#15.12.19.00.00#Greases#15.12.00.00.00
-unspsc7#15.12.19.01.00#Silicone grease#15.12.19.00.00
-unspsc7#15.12.19.02.00#Grease#15.12.19.00.00
-unspsc7#15.12.19.03.00#Teflon grease#15.12.19.00.00
-unspsc7#15.12.19.04.00#Wool grease#15.12.19.00.00
-unspsc7#15.13.00.00.00#Fuel for nuclear reactors#15.00.00.00.00
-unspsc7#15.13.15.00.00#Nuclear fuel#15.13.00.00.00
-unspsc7#15.13.15.02.00#Depleted uranium#15.13.15.00.00
-unspsc7#15.13.15.03.00#Enriched uranium#15.13.15.00.00
-unspsc7#15.13.15.04.00#Iridium#15.13.15.00.00
-unspsc7#15.13.15.05.00#Enriched plutonium#15.13.15.00.00
-unspsc7#15.13.15.06.00#Depleted plutonium#15.13.15.00.00
-unspsc7#15.13.16.00.00#Fission fuel assemblies#15.13.00.00.00
-unspsc7#15.13.16.01.00#Nuclear fuel rod#15.13.16.00.00
-unspsc7#20.00.00.00.00#Mining Machinery and Accessories#20.00.00.00.00
-unspsc7#20.10.00.00.00#Mining and quarrying machinery and equipment#20.00.00.00.00
-unspsc7#20.10.15.00.00#Cutting equipment#20.10.00.00.00
-unspsc7#20.10.15.01.00#Continuous mining equipment#20.10.15.00.00
-unspsc7#20.10.15.02.00#Longwall shears#20.10.15.00.00
-unspsc7#20.10.15.03.00#Coal cutters#20.10.15.00.00
-unspsc7#20.10.15.04.00#Rock cutters#20.10.15.00.00
-unspsc7#20.10.16.00.00#Screens and feeding equipment#20.10.00.00.00
-unspsc7#20.10.16.01.00#Screens#20.10.16.00.00
-unspsc7#20.10.16.02.00#Feeders#20.10.16.00.00
-unspsc7#20.10.17.00.00#Crushers and breakers and grinders#20.10.00.00.00
-unspsc7#20.10.17.01.00#Rock crushers#20.10.17.00.00
-unspsc7#20.10.17.02.00#Roll crushers#20.10.17.00.00
-unspsc7#20.10.17.03.00#Cone crushers#20.10.17.00.00
-unspsc7#20.10.17.04.00#Gyratory crushers#20.10.17.00.00
-unspsc7#20.10.17.05.00#Impact crushers#20.10.17.00.00
-unspsc7#20.10.17.06.00#Jaw crushers#20.10.17.00.00
-unspsc7#20.10.17.07.00#Crushing plants#20.10.17.00.00
-unspsc7#20.10.17.08.00#Rod mills#20.10.17.00.00
-unspsc7#20.10.17.09.00#Ball mills#20.10.17.00.00
-unspsc7#20.10.17.10.00#Pulverizing machinery#20.10.17.00.00
-unspsc7#20.10.17.11.00#Rock breakers#20.10.17.00.00
-unspsc7#20.10.17.12.00#Earth grinders#20.10.17.00.00
-unspsc7#20.10.17.13.00#Cyclone or vortex grinders#20.10.17.00.00
-unspsc7#20.11.00.00.00#Well drilling and operation equipment#20.00.00.00.00
-unspsc7#20.11.15.00.00#Drilling and exploration equipment#20.11.00.00.00
-unspsc7#20.11.15.01.00#Gas well drilling equipment#20.11.15.00.00
-unspsc7#20.11.15.02.00#Oil well drilling equipment#20.11.15.00.00
-unspsc7#20.11.15.03.00#Subsea system equipment#20.11.15.00.00
-unspsc7#20.11.15.04.00#Water well drilling equipment#20.11.15.00.00
-unspsc7#20.11.15.05.00#Uranium exploration equipment#20.11.15.00.00
-unspsc7#20.11.15.06.00#Wellhead equipment#20.11.15.00.00
-unspsc7#20.11.15.07.00#Mud or workover fluid equipment#20.11.15.00.00
-unspsc7#20.11.15.08.00#Seismic equipment#20.11.15.00.00
-unspsc7#20.11.16.00.00#Drilling and operation machinery#20.11.00.00.00
-unspsc7#20.11.16.01.00#Boring or sinking machinery#20.11.16.00.00
-unspsc7#20.11.16.02.00#Downhole assembly machinery#20.11.16.00.00
-unspsc7#20.11.16.03.00#Hammer drills#20.11.16.00.00
-unspsc7#20.11.16.04.00#Crawler drills#20.11.16.00.00
-unspsc7#20.11.16.05.00#Rock drills#20.11.16.00.00
-unspsc7#20.11.16.06.00#Pneumatic vibrators#20.11.16.00.00
-unspsc7#20.11.16.07.00#Tunneling machinery#20.11.16.00.00
-unspsc7#20.11.16.08.00#Striking hammers#20.11.16.00.00
-unspsc7#20.11.16.09.00#Sinker drills#20.11.16.00.00
-unspsc7#20.11.16.10.00#Sewer inspection machinery#20.11.16.00.00
-unspsc7#20.11.16.11.00#Rotary drills#20.11.16.00.00
-unspsc7#20.11.16.12.00#Drilling rigs#20.11.16.00.00
-unspsc7#20.11.16.13.00#Long hole drills#20.11.16.00.00
-unspsc7#20.11.16.14.00#Industrial drill bits#20.11.16.00.00
-unspsc7#20.11.16.15.00#Drifters#20.11.16.00.00
-unspsc7#20.11.16.16.00#Derricks#20.11.16.00.00
-unspsc7#20.11.16.17.00#Drilling carriages#20.11.16.00.00
-unspsc7#20.11.16.18.00#Downhole fishing poles#20.11.16.00.00
-unspsc7#20.11.16.19.00#Well drilling bit cones#20.11.16.00.00
-unspsc7#20.11.17.00.00#Drilling and operation accessories#20.11.00.00.00
-unspsc7#20.11.17.01.00#Audio visual instruments for well inspection#20.11.17.00.00
-unspsc7#20.11.17.02.00#Packers or tubing anchors#20.11.17.00.00
-unspsc7#20.11.17.03.00#Drilling casings#20.11.17.00.00
-unspsc7#20.11.17.04.00#Drilling screens#20.11.17.00.00
-unspsc7#20.12.00.00.00#Oil and gas drilling and exploration equipment#20.00.00.00.00
-unspsc7#20.12.10.00.00#Acidizing equipment#20.12.00.00.00
-unspsc7#20.12.10.01.00#Acidizing blending units#20.12.10.00.00
-unspsc7#20.12.10.02.00#Acidizing density sensors#20.12.10.00.00
-unspsc7#20.12.10.03.00#Acidizing pumping units#20.12.10.00.00
-unspsc7#20.12.10.04.00#Acidizing units#20.12.10.00.00
-unspsc7#20.12.10.05.00#Acidizing air piping#20.12.10.00.00
-unspsc7#20.12.10.06.00#Acidizing ball injectors#20.12.10.00.00
-unspsc7#20.12.10.07.00#Bulk liquid acid equipment#20.12.10.00.00
-unspsc7#20.12.10.08.00#Acidizing drop boxes#20.12.10.00.00
-unspsc7#20.12.10.09.00#Acidizing flow meters#20.12.10.00.00
-unspsc7#20.12.10.10.00#Acidizing junction boxes#20.12.10.00.00
-unspsc7#20.12.10.11.00#Acidizing pressure sensors#20.12.10.00.00
-unspsc7#20.12.10.12.00#Acidizing process piping#20.12.10.00.00
-unspsc7#20.12.10.13.00#Acidizing straight joints#20.12.10.00.00
-unspsc7#20.12.10.14.00#Acidizing swivels#20.12.10.00.00
-unspsc7#20.12.10.15.00#Acidizing treating irons#20.12.10.00.00
-unspsc7#20.12.10.16.00#Acidizing tree savers#20.12.10.00.00
-unspsc7#20.12.11.00.00#Cementing equipment#20.12.00.00.00
-unspsc7#20.12.11.01.00#Blending units#20.12.11.00.00
-unspsc7#20.12.11.02.00#Bridge plugs#20.12.11.00.00
-unspsc7#20.12.11.03.00#Bulk liquid cement equipment#20.12.11.00.00
-unspsc7#20.12.11.04.00#Cement bulk material equipment#20.12.11.00.00
-unspsc7#20.12.11.05.00#Cement density sensors#20.12.11.00.00
-unspsc7#20.12.11.06.00#Cement floating bulk units#20.12.11.00.00
-unspsc7#20.12.11.07.00#Cement floating equipment stage tools#20.12.11.00.00
-unspsc7#20.12.11.08.00#Cement floating equipment wiper plugs#20.12.11.00.00
-unspsc7#20.12.11.09.00#Cement pumping units#20.12.11.00.00
-unspsc7#20.12.11.10.00#Cement retainers#20.12.11.00.00
-unspsc7#20.12.11.11.00#Centralizers#20.12.11.00.00
-unspsc7#20.12.11.12.00#Express latch couplers#20.12.11.00.00
-unspsc7#20.12.11.13.00#Float collars#20.12.11.00.00
-unspsc7#20.12.11.14.00#Float shoes#20.12.11.00.00
-unspsc7#20.12.11.15.00#Oilfield cementing tools#20.12.11.00.00
-unspsc7#20.12.11.16.00#Retrievable cementing packers#20.12.11.00.00
-unspsc7#20.12.11.17.00#Safety slings#20.12.11.00.00
-unspsc7#20.12.11.18.00#Subsea cement heads#20.12.11.00.00
-unspsc7#20.12.11.19.00#Surface cement heads#20.12.11.00.00
-unspsc7#20.12.12.00.00#Fracturing equipment#20.12.00.00.00
-unspsc7#20.12.12.01.00#Bulk liquid fracturing equipment#20.12.12.00.00
-unspsc7#20.12.12.02.00#Fracturing bulk proppant equipment#20.12.12.00.00
-unspsc7#20.12.12.03.00#Fracturing control units#20.12.12.00.00
-unspsc7#20.12.12.04.00#Fracturing density sensors#20.12.12.00.00
-unspsc7#20.12.12.05.00#Fracturing manifold units#20.12.12.00.00
-unspsc7#20.12.12.06.00#Fracturing proppant conveying equipment#20.12.12.00.00
-unspsc7#20.12.12.07.00#Fracturing pumping units#20.12.12.00.00
-unspsc7#20.12.12.08.00#Fracturing slurry blending units#20.12.12.00.00
-unspsc7#20.12.12.09.00#Gel blending units#20.12.12.00.00
-unspsc7#20.12.12.10.00#Fracturing missiles#20.12.12.00.00
-unspsc7#20.12.12.11.00#Pump integrity monitors#20.12.12.00.00
-unspsc7#20.12.12.12.00#Fracturing service packers#20.12.12.00.00
-unspsc7#20.12.12.13.00#Stimulation pumping units#20.12.12.00.00
-unspsc7#20.12.13.00.00#Sand control equipment#20.12.00.00.00
-unspsc7#20.12.13.01.00#Blanking plugs#20.12.13.00.00
-unspsc7#20.12.13.02.00#Floaters#20.12.13.00.00
-unspsc7#20.12.13.03.00#Frac pack systems#20.12.13.00.00
-unspsc7#20.12.13.04.00#Gravel pack systems#20.12.13.00.00
-unspsc7#20.12.13.05.00#Guide shoes#20.12.13.00.00
-unspsc7#20.12.13.06.00#Hook up nipples#20.12.13.00.00
-unspsc7#20.12.13.07.00#Make up subs#20.12.13.00.00
-unspsc7#20.12.13.08.00#Production tubing overshots#20.12.13.00.00
-unspsc7#20.12.13.09.00#Sand control blanks#20.12.13.00.00
-unspsc7#20.12.13.10.00#Sand control bulk liquid equipment#20.12.13.00.00
-unspsc7#20.12.13.11.00#Sand control bulk proppant equipment#20.12.13.00.00
-unspsc7#20.12.13.12.00#Sand control density sensors#20.12.13.00.00
-unspsc7#20.12.13.13.00#Sand control manifold units#20.12.13.00.00
-unspsc7#20.12.13.14.00#Sand control proppant conveying equipment#20.12.13.00.00
-unspsc7#20.12.13.15.00#Sand control pumping units#20.12.13.00.00
-unspsc7#20.12.13.16.00#Sand control screens#20.12.13.00.00
-unspsc7#20.12.13.17.00#Sand control slurry blending units#20.12.13.00.00
-unspsc7#20.12.13.18.00#Sand detectors#20.12.13.00.00
-unspsc7#20.12.13.19.00#Seal assembly locators#20.12.13.00.00
-unspsc7#20.12.13.20.00#Shear joints#20.12.13.00.00
-unspsc7#20.12.13.21.00#Sleeve shifting tools#20.12.13.00.00
-unspsc7#20.12.13.22.00#Sliding sleeves#20.12.13.00.00
-unspsc7#20.12.13.23.00#Velocity strings#20.12.13.00.00
-unspsc7#20.12.14.00.00#Completion tools and equipment#20.12.00.00.00
-unspsc7#20.12.14.01.00#Ball catcher subs#20.12.14.00.00
-unspsc7#20.12.14.02.00#Blast joints#20.12.14.00.00
-unspsc7#20.12.14.03.00#Blast nipples#20.12.14.00.00
-unspsc7#20.12.14.04.00#Completion bull plugs#20.12.14.00.00
-unspsc7#20.12.14.05.00#Circulation production devices#20.12.14.00.00
-unspsc7#20.12.14.06.00#Completion test equipment#20.12.14.00.00
-unspsc7#20.12.14.07.00#Control line protectors#20.12.14.00.00
-unspsc7#20.12.14.08.00#Deflection tools#20.12.14.00.00
-unspsc7#20.12.14.09.00#Completion expansion joints#20.12.14.00.00
-unspsc7#20.12.14.10.00#Flow couplings#20.12.14.00.00
-unspsc7#20.12.14.11.00#Gas lift equipment#20.12.14.00.00
-unspsc7#20.12.14.12.00#Hanger landing tools#20.12.14.00.00
-unspsc7#20.12.14.13.00#Completion hydraulic pumps#20.12.14.00.00
-unspsc7#20.12.14.14.00#Hydraulic setting tools#20.12.14.00.00
-unspsc7#20.12.14.15.00#Injection systems#20.12.14.00.00
-unspsc7#20.12.14.16.00#Landing nipples#20.12.14.00.00
-unspsc7#20.12.14.17.00#Liner hangers#20.12.14.00.00
-unspsc7#20.12.14.18.00#Packer pulling tools#20.12.14.00.00
-unspsc7#20.12.14.19.00#Packer running tools#20.12.14.00.00
-unspsc7#20.12.14.20.00#Production packers#20.12.14.00.00
-unspsc7#20.12.14.21.00#Pump down through flow line equipment#20.12.14.00.00
-unspsc7#20.12.14.22.00#Completion safety joints#20.12.14.00.00
-unspsc7#20.12.14.23.00#Completion seal assemblies#20.12.14.00.00
-unspsc7#20.12.14.24.00#Seal bores or polished bores#20.12.14.00.00
-unspsc7#20.12.14.25.00#Side pocket mandrels#20.12.14.00.00
-unspsc7#20.12.14.26.00#Sliding sleeves#20.12.14.00.00
-unspsc7#20.12.14.27.00#Subsurface safety valves#20.12.14.00.00
-unspsc7#20.12.14.28.00#Travel joints#20.12.14.00.00
-unspsc7#20.12.14.29.00#Tubing anchors#20.12.14.00.00
-unspsc7#20.12.14.30.00#Twin flow assemblies#20.12.14.00.00
-unspsc7#20.12.15.00.00#Conventional drilling tools#20.12.00.00.00
-unspsc7#20.12.15.01.00#Blowout preventers#20.12.15.00.00
-unspsc7#20.12.15.02.00#Blowout preventer controls#20.12.15.00.00
-unspsc7#20.12.15.03.00#Casing scrapers#20.12.15.00.00
-unspsc7#20.12.15.04.00#Drill collars#20.12.15.00.00
-unspsc7#20.12.15.05.00#Coring equipment#20.12.15.00.00
-unspsc7#20.12.15.06.00#Drill pipe thread protectors#20.12.15.00.00
-unspsc7#20.12.15.07.00#Drill pipe tool joints#20.12.15.00.00
-unspsc7#20.12.15.08.00#Drill pipe#20.12.15.00.00
-unspsc7#20.12.15.09.00#Gauge rings#20.12.15.00.00
-unspsc7#20.12.15.10.00#Hole openers#20.12.15.00.00
-unspsc7#20.12.15.11.00#Hole reamers#20.12.15.00.00
-unspsc7#20.12.15.12.00#Fishing jars#20.12.15.00.00
-unspsc7#20.12.15.13.00#Downhole shock absorbers#20.12.15.00.00
-unspsc7#20.12.15.14.00#Downhole stabilizers#20.12.15.00.00
-unspsc7#20.12.15.15.00#Drilling subs#20.12.15.00.00
-unspsc7#20.12.15.16.00#Thrusters#20.12.15.00.00
-unspsc7#20.12.16.00.00#Drilling bits#20.12.00.00.00
-unspsc7#20.12.16.01.00#Fixed cutter drill bits#20.12.16.00.00
-unspsc7#20.12.16.02.00#Natural diamond drill bits#20.12.16.00.00
-unspsc7#20.12.16.03.00#Nozzle drill bits#20.12.16.00.00
-unspsc7#20.12.16.04.00#PDC bits#20.12.16.00.00
-unspsc7#20.12.16.05.00#Roller cone button insert drill bits#20.12.16.00.00
-unspsc7#20.12.16.06.00#Roller steel tooth drill bits#20.12.16.00.00
-unspsc7#20.12.17.00.00#Fishing tools#20.12.00.00.00
-unspsc7#20.12.17.01.00#Bumper subs#20.12.17.00.00
-unspsc7#20.12.17.02.00#Casing patches#20.12.17.00.00
-unspsc7#20.12.17.03.00#Jar boosters#20.12.17.00.00
-unspsc7#20.12.17.04.00#Junk subs#20.12.17.00.00
-unspsc7#20.12.17.05.00#Mills or burning shoes#20.12.17.00.00
-unspsc7#20.12.17.06.00#Overshots#20.12.17.00.00
-unspsc7#20.12.17.07.00#Oilfield fishing spears#20.12.17.00.00
-unspsc7#20.12.17.08.00#Unspecified fishing tools#20.12.17.00.00
-unspsc7#20.12.18.00.00#Directional drilling equipment#20.12.00.00.00
-unspsc7#20.12.18.01.00#Geosteering tools#20.12.18.00.00
-unspsc7#20.12.18.02.00#Mud motors#20.12.18.00.00
-unspsc7#20.12.18.03.00#Rotary steerable tools#20.12.18.00.00
-unspsc7#20.12.18.04.00#Directional drilling surface control systems#20.12.18.00.00
-unspsc7#20.12.18.05.00#Straight hole directional drilling tools#20.12.18.00.00
-unspsc7#20.12.19.00.00#Well measurement and logging equipment#20.12.00.00.00
-unspsc7#20.12.19.01.00#Acoustic tools#20.12.19.00.00
-unspsc7#20.12.19.02.00#Drilling or mud control instruments#20.12.19.00.00
-unspsc7#20.12.19.03.00#Drilling performance measurement tools#20.12.19.00.00
-unspsc7#20.12.19.04.00#Flow measurement equipment#20.12.19.00.00
-unspsc7#20.12.19.05.00#Nuclear magnetic resonance tools#20.12.19.00.00
-unspsc7#20.12.19.06.00#Nuclear tools#20.12.19.00.00
-unspsc7#20.12.19.07.00#Production logging equipment#20.12.19.00.00
-unspsc7#20.12.19.08.00#Resistivity tools#20.12.19.00.00
-unspsc7#20.12.19.09.00#Surveying systems#20.12.19.00.00
-unspsc7#20.12.19.10.00#Telemetry systems#20.12.19.00.00
-unspsc7#20.12.19.11.00#Ultrasonic tools#20.12.19.00.00
-unspsc7#20.12.19.12.00#Well logging bottom hole pressure equipment#20.12.19.00.00
-unspsc7#20.12.19.13.00#Well logging downhole test equipment#20.12.19.00.00
-unspsc7#20.12.19.14.00#Well logging units#20.12.19.00.00
-unspsc7#20.12.20.00.00#Fixturing and test equipment#20.12.00.00.00
-unspsc7#20.12.20.01.00#Drift bars#20.12.20.00.00
-unspsc7#20.12.20.02.00#Drift sleeves#20.12.20.00.00
-unspsc7#20.12.20.03.00#Drift rabbits#20.12.20.00.00
-unspsc7#20.12.20.04.00#Test fixtures#20.12.20.00.00
-unspsc7#20.12.20.05.00#Test nipples#20.12.20.00.00
-unspsc7#20.12.20.06.00#Test plugs#20.12.20.00.00
-unspsc7#20.12.21.00.00#Perforating equipment#20.12.00.00.00
-unspsc7#20.12.21.01.00#Capsule guns#20.12.21.00.00
-unspsc7#20.12.21.02.00#Casing guns#20.12.21.00.00
-unspsc7#20.12.21.03.00#Deployment heads#20.12.21.00.00
-unspsc7#20.12.21.04.00#Perforating explosives#20.12.21.00.00
-unspsc7#20.12.21.05.00#Firing heads#20.12.21.00.00
-unspsc7#20.12.21.06.00#Gun adapters#20.12.21.00.00
-unspsc7#20.12.21.07.00#High shot density guns#20.12.21.00.00
-unspsc7#20.12.21.08.00#Perforating bull plugs#20.12.21.00.00
-unspsc7#20.12.21.09.00#Plug setting tools#20.12.21.00.00
-unspsc7#20.12.21.10.00#Perforating positioning equipment#20.12.21.00.00
-unspsc7#20.12.21.11.00#Scalloped guns#20.12.21.00.00
-unspsc7#20.12.21.12.00#Tandem subs#20.12.21.00.00
-unspsc7#20.12.21.13.00#Through tubing perforation gun accessories#20.12.21.00.00
-unspsc7#20.12.21.14.00#Through tubing perforation guns#20.12.21.00.00
-unspsc7#20.12.21.15.00#Under balance vent subs#20.12.21.00.00
-unspsc7#20.12.22.00.00#Well testing equipment#20.12.00.00.00
-unspsc7#20.12.22.01.00#Flare booms#20.12.22.00.00
-unspsc7#20.12.22.02.00#Flare burners#20.12.22.00.00
-unspsc7#20.12.22.03.00#Cased hole test tools#20.12.22.00.00
-unspsc7#20.12.22.04.00#Choke manifolds#20.12.22.00.00
-unspsc7#20.12.22.05.00#Diverting manifolds#20.12.22.00.00
-unspsc7#20.12.22.06.00#Flowhead baskets#20.12.22.00.00
-unspsc7#20.12.22.07.00#Flowhead swivels#20.12.22.00.00
-unspsc7#20.12.22.08.00#Flowheads#20.12.22.00.00
-unspsc7#20.12.22.09.00#Formation shut in tools#20.12.22.00.00
-unspsc7#20.12.22.10.00#Gas flares#20.12.22.00.00
-unspsc7#20.12.22.11.00#Mud gas analyzers#20.12.22.00.00
-unspsc7#20.12.22.12.00#Oil samplers#20.12.22.00.00
-unspsc7#20.12.22.13.00#Well testing separators#20.12.22.00.00
-unspsc7#20.12.22.14.00#Well testing surface piping#20.12.22.00.00
-unspsc7#20.12.22.15.00#Surge tanks#20.12.22.00.00
-unspsc7#20.12.22.16.00#Well testing downhole tools#20.12.22.00.00
-unspsc7#20.12.23.00.00#Slickline equipment#20.12.00.00.00
-unspsc7#20.12.23.01.00#Slickline adapter heads#20.12.23.00.00
-unspsc7#20.12.23.02.00#Slickline backoffs#20.12.23.00.00
-unspsc7#20.12.23.03.00#Slickline bell guides#20.12.23.00.00
-unspsc7#20.12.23.04.00#Slickline blind boxes#20.12.23.00.00
-unspsc7#20.12.23.05.00#Slickline bottom hole pressure equipment#20.12.23.00.00
-unspsc7#20.12.23.06.00#Slickline caliper tools#20.12.23.00.00
-unspsc7#20.12.23.07.00#Slickline cement dump bailing equipment#20.12.23.00.00
-unspsc7#20.12.23.08.00#Slickline chemical cutters#20.12.23.00.00
-unspsc7#20.12.23.09.00#Slickline clamp on tool string centralizers#20.12.23.00.00
-unspsc7#20.12.23.10.00#Slickline clamp on wireline centralizers#20.12.23.00.00
-unspsc7#20.12.23.11.00#Slickline collar locators#20.12.23.00.00
-unspsc7#20.12.23.12.00#Slickline collectors#20.12.23.00.00
-unspsc7#20.12.23.13.00#Slickline colliding tools#20.12.23.00.00
-unspsc7#20.12.23.14.00#Slickline crossovers#20.12.23.00.00
-unspsc7#20.12.23.15.00#Slickline depth measurement equipment#20.12.23.00.00
-unspsc7#20.12.23.16.00#Slickline dewar flasks#20.12.23.00.00
-unspsc7#20.12.23.17.00#Slickline dipmeter tools#20.12.23.00.00
-unspsc7#20.12.23.18.00#Slickline directional tools#20.12.23.00.00
-unspsc7#20.12.23.19.00#Slickline go devil tools#20.12.23.00.00
-unspsc7#20.12.23.20.00#Slickline hole punchers#20.12.23.00.00
-unspsc7#20.12.23.21.00#Slickline jet cutters#20.12.23.00.00
-unspsc7#20.12.23.22.00#Slickline junk shots#20.12.23.00.00
-unspsc7#20.12.23.23.00#Slickline kickover tools#20.12.23.00.00
-unspsc7#20.12.23.24.00#Slickline knuckle joints#20.12.23.00.00
-unspsc7#20.12.23.25.00#Slickline lead impression blocks#20.12.23.00.00
-unspsc7#20.12.23.26.00#Slickline locator mandrels#20.12.23.00.00
-unspsc7#20.12.23.27.00#Slickline lock mandrels#20.12.23.00.00
-unspsc7#20.12.23.28.00#Slickline lubricators#20.12.23.00.00
-unspsc7#20.12.23.29.00#Slickline mechanical bailers#20.12.23.00.00
-unspsc7#20.12.23.30.00#Slickline mechanical plugbacks#20.12.23.00.00
-unspsc7#20.12.23.31.00#Other Slickline Tools#20.12.23.00.00
-unspsc7#20.12.23.32.00#Slickline paraffin scrappers#20.12.23.00.00
-unspsc7#20.12.23.33.00#Slickline rope sockets#20.12.23.00.00
-unspsc7#20.12.23.34.00#Slickline running or pulling prongs#20.12.23.00.00
-unspsc7#20.12.23.35.00#Slickline severing tools#20.12.23.00.00
-unspsc7#20.12.23.36.00#Slickline sheaves or floor blocks#20.12.23.00.00
-unspsc7#20.12.23.37.00#Slickline bottom hole pressure equipment#20.12.23.00.00
-unspsc7#20.12.23.38.00#Slickline pulling tool accessories#20.12.23.00.00
-unspsc7#20.12.23.39.00#Slickline pulling tools#20.12.23.00.00
-unspsc7#20.12.23.40.00#Slickline running tools#20.12.23.00.00
-unspsc7#20.12.23.41.00#Slickline units#20.12.23.00.00
-unspsc7#20.12.23.42.00#Slickline wire#20.12.23.00.00
-unspsc7#20.12.23.43.00#Slickline sonic tools#20.12.23.00.00
-unspsc7#20.12.23.44.00#Slickline spacer bars#20.12.23.00.00
-unspsc7#20.12.23.45.00#Slickline swages#20.12.23.00.00
-unspsc7#20.12.23.46.00#Slickline tension devices#20.12.23.00.00
-unspsc7#20.12.23.47.00#Slickline tubing plugs#20.12.23.00.00
-unspsc7#20.12.23.48.00#Slickline ultrasonic tools#20.12.23.00.00
-unspsc7#20.12.23.49.00#Wireline Grabs#20.12.23.00.00
-unspsc7#20.12.23.50.00#Wireline Jars#20.12.23.00.00
-unspsc7#20.12.23.51.00#Wireline Scrapers#20.12.23.00.00
-unspsc7#20.12.23.52.00#Wireline Spear#20.12.23.00.00
-unspsc7#20.12.23.53.00#Wireline Stems#20.12.23.00.00
-unspsc7#20.12.23.54.00#Wireline Valves#20.12.23.00.00
-unspsc7#20.12.24.00.00#Production systems equipment#20.12.00.00.00
-unspsc7#20.12.24.01.00#Cable thumpers#20.12.24.00.00
-unspsc7#20.12.24.02.00#Oilfield production evaporators#20.12.24.00.00
-unspsc7#20.12.24.03.00#Hipot testers#20.12.24.00.00
-unspsc7#20.12.24.04.00#Oilfield lapping machines#20.12.24.00.00
-unspsc7#20.12.24.05.00#Motor end lifts#20.12.24.00.00
-unspsc7#20.12.24.06.00#Oil dielectric testers#20.12.24.00.00
-unspsc7#20.12.24.07.00#Oil vacuum filling units#20.12.24.00.00
-unspsc7#20.12.24.08.00#Oilfield production shaft straighteners#20.12.24.00.00
-unspsc7#20.12.24.09.00#Oilfield production spoolers#20.12.24.00.00
-unspsc7#20.12.24.10.00#Vibration analyzers#20.12.24.00.00
-unspsc7#20.12.25.00.00#Coiled tubing equipment#20.12.00.00.00
-unspsc7#20.12.25.01.00#Blaster tools#20.12.25.00.00
-unspsc7#20.12.25.02.00#Coiled tubing truck crane units#20.12.25.00.00
-unspsc7#20.12.25.03.00#Coiled tubing units#20.12.25.00.00
-unspsc7#20.12.25.04.00#Coiled tubing hose packages#20.12.25.00.00
-unspsc7#20.12.25.05.00#Coiled tubing inflatable systems#20.12.25.00.00
-unspsc7#20.12.25.06.00#Coiled tubing injector heads#20.12.25.00.00
-unspsc7#20.12.25.07.00#Coiled tubing lifting equipment#20.12.25.00.00
-unspsc7#20.12.25.08.00#Operator houses#20.12.25.00.00
-unspsc7#20.12.25.09.00#Coiled tubing power packs#20.12.25.00.00
-unspsc7#20.12.25.10.00#Coiled tubing reels#20.12.25.00.00
-unspsc7#20.12.25.11.00#Coiled tubing spooling reels#20.12.25.00.00
-unspsc7#20.12.25.12.00#Tubing guides#20.12.25.00.00
-unspsc7#20.12.25.13.00#Wellhead hookups#20.12.25.00.00
-unspsc7#20.12.25.14.00#Wellhead support structures#20.12.25.00.00
-unspsc7#20.12.25.15.00#Oilfield coiled tubing#20.12.25.00.00
-unspsc7#20.12.26.00.00#Seismic equipment#20.12.00.00.00
-unspsc7#20.12.26.01.00#Seismic analog sensors#20.12.26.00.00
-unspsc7#20.12.26.02.00#Seismic arrays#20.12.26.00.00
-unspsc7#20.12.26.03.00#Seismic streamer cable birds#20.12.26.00.00
-unspsc7#20.12.26.04.00#Seismic drill tankers#20.12.26.00.00
-unspsc7#20.12.26.05.00#Seismic geophones#20.12.26.00.00
-unspsc7#20.12.26.06.00#Seismic gravity systems#20.12.26.00.00
-unspsc7#20.12.26.07.00#Seismic gun winch systems#20.12.26.00.00
-unspsc7#20.12.26.08.00#Seismic hydrophones#20.12.26.00.00
-unspsc7#20.12.26.09.00#Seismic impulse sources#20.12.26.00.00
-unspsc7#20.12.26.10.00#Seismic marine streamer cables#20.12.26.00.00
-unspsc7#20.12.26.11.00#Seismic ocean bottom cables#20.12.26.00.00
-unspsc7#20.12.26.12.00#Seismic magnetic systems#20.12.26.00.00
-unspsc7#20.12.26.13.00#Seismic positioning equipment#20.12.26.00.00
-unspsc7#20.12.26.14.00#Seismic rams#20.12.26.00.00
-unspsc7#20.12.26.15.00#Seismic receivers#20.12.26.00.00
-unspsc7#20.12.26.16.00#Seismic refraction systems#20.12.26.00.00
-unspsc7#20.12.26.17.00#Seismic source controllers#20.12.26.00.00
-unspsc7#20.12.26.18.00#Seismic spooling devices#20.12.26.00.00
-unspsc7#20.12.26.19.00#Seismic tow blocks#20.12.26.00.00
-unspsc7#20.12.26.20.00#Seismic tow points#20.12.26.00.00
-unspsc7#20.12.26.21.00#Seismic vibrators#20.12.26.00.00
-unspsc7#20.12.26.22.00#Seismic recording systems#20.12.26.00.00
-unspsc7#20.12.26.23.00#Seismic data processing systems#20.12.26.00.00
-unspsc7#20.12.27.00.00#Oil country tubular goods#20.12.00.00.00
-unspsc7#20.12.27.01.00#Oil country casing#20.12.27.00.00
-unspsc7#20.12.27.02.00#Oil country couplings#20.12.27.00.00
-unspsc7#20.12.27.03.00#Oil country pup joints#20.12.27.00.00
-unspsc7#20.12.27.04.00#Oil country tubing#20.12.27.00.00
-unspsc7#20.12.27.05.00#Oil country pipe coatings#20.12.27.00.00
-unspsc7#20.12.27.06.00#Conductor casing#20.12.27.00.00
-unspsc7#20.12.27.07.00#Conductor casing running equipment#20.12.27.00.00
-unspsc7#20.12.27.08.00#Drill pipe crossovers#20.12.27.00.00
-unspsc7#20.12.27.09.00#Oil country thread protectors#20.12.27.00.00
-unspsc7#20.12.28.00.00#Drilling and workover rigs and equipment#20.12.00.00.00
-unspsc7#20.12.28.01.00#Mud agitators#20.12.28.00.00
-unspsc7#20.12.28.02.00#Mud tanks#20.12.28.00.00
-unspsc7#20.12.28.03.00#Air drilling equipment#20.12.28.00.00
-unspsc7#20.12.28.04.00#Barge rigs#20.12.28.00.00
-unspsc7#20.12.28.05.00#Blow out preventers#20.12.28.00.00
-unspsc7#20.12.28.06.00#Fluid diverters#20.12.28.00.00
-unspsc7#20.12.28.07.00#Drawworks#20.12.28.00.00
-unspsc7#20.12.28.08.00#Drill floor equipment#20.12.28.00.00
-unspsc7#20.12.28.09.00#Drill swivels#20.12.28.00.00
-unspsc7#20.12.28.10.00#Drilling rig ships#20.12.28.00.00
-unspsc7#20.12.28.11.00#Drill rig elevators#20.12.28.00.00
-unspsc7#20.12.28.12.00#Drill rig bails#20.12.28.00.00
-unspsc7#20.12.28.13.00#Hydraulic workover units#20.12.28.00.00
-unspsc7#20.12.28.14.00#Drill rig jacking systems#20.12.28.00.00
-unspsc7#20.12.28.15.00#Jackup marine drilling rigs#20.12.28.00.00
-unspsc7#20.12.28.16.00#Kelly bushings#20.12.28.00.00
-unspsc7#20.12.28.17.00#Kelly valves#20.12.28.00.00
-unspsc7#20.12.28.18.00#Kelly wipers#20.12.28.00.00
-unspsc7#20.12.28.19.00#Kellys#20.12.28.00.00
-unspsc7#20.12.28.20.00#Land drilling rigs#20.12.28.00.00
-unspsc7#20.12.28.21.00#Mud cleaning equipment#20.12.28.00.00
-unspsc7#20.12.28.22.00#Mud manifolds#20.12.28.00.00
-unspsc7#20.12.28.23.00#Mud mixers#20.12.28.00.00
-unspsc7#20.12.28.24.00#Pipe handling equipment#20.12.28.00.00
-unspsc7#20.12.28.25.00#Platform drilling rigs#20.12.28.00.00
-unspsc7#20.12.28.26.00#Power swivel or top drives#20.12.28.00.00
-unspsc7#20.12.28.27.00#Rig skids#20.12.28.00.00
-unspsc7#20.12.28.28.00#Drill rig risers#20.12.28.00.00
-unspsc7#20.12.28.29.00#Drill rig rotary tables#20.12.28.00.00
-unspsc7#20.12.28.30.00#Self elevating workover platforms#20.12.28.00.00
-unspsc7#20.12.28.31.00#Semi submersible drilling rigs#20.12.28.00.00
-unspsc7#20.12.28.32.00#Drill floor slips#20.12.28.00.00
-unspsc7#20.12.28.33.00#Makeup tongs#20.12.28.00.00
-unspsc7#20.12.28.34.00#Iron roughnecks#20.12.28.00.00
-unspsc7#20.12.28.35.00#Traveling equipment#20.12.28.00.00
-unspsc7#20.12.28.36.00#Workover boats#20.12.28.00.00
-unspsc7#20.12.28.37.00#Workover rigs#20.12.28.00.00
-unspsc7#20.12.29.00.00#Surface data logging equipment#20.12.00.00.00
-unspsc7#20.12.29.01.00#Surface data logging conduits#20.12.29.00.00
-unspsc7#20.12.29.02.00#Surface data logging sensors#20.12.29.00.00
-unspsc7#20.12.29.03.00#Surface data logging units#20.12.29.00.00
-unspsc7#20.12.30.00.00#Multilateral equipment#20.12.00.00.00
-unspsc7#20.12.30.01.00#Multilateral casing#20.12.30.00.00
-unspsc7#20.12.30.02.00#Multilateral junctions#20.12.30.00.00
-unspsc7#20.12.30.03.00#Multilateral packers#20.12.30.00.00
-unspsc7#20.13.00.00.00#Oil and gas drilling and operation materials#20.00.00.00.00
-unspsc7#20.13.10.00.00#Drilling mud and materials#20.13.00.00.00
-unspsc7#20.13.10.01.00#Filtration control agents#20.13.10.00.00
-unspsc7#20.13.10.02.00#Fluid spacers#20.13.10.00.00
-unspsc7#20.13.10.03.00#Lost circulation agents#20.13.10.00.00
-unspsc7#20.13.10.04.00#Oil based muds#20.13.10.00.00
-unspsc7#20.13.10.05.00#Rate of penetration enhancers#20.13.10.00.00
-unspsc7#20.13.10.06.00#Spotting fluids#20.13.10.00.00
-unspsc7#20.13.10.07.00#Synthetic based muds#20.13.10.00.00
-unspsc7#20.13.10.08.00#Mud thinning agents#20.13.10.00.00
-unspsc7#20.13.10.09.00#Water based muds#20.13.10.00.00
-unspsc7#20.13.10.10.00#Mud weighting agents#20.13.10.00.00
-unspsc7#20.13.11.00.00#Well fracturing proppants#20.13.00.00.00
-unspsc7#20.13.11.01.00#Ceramic proppants#20.13.11.00.00
-unspsc7#20.13.11.02.00#Fracturing sands#20.13.11.00.00
-unspsc7#20.13.11.03.00#Resin coated ceramic proppants#20.13.11.00.00
-unspsc7#20.13.11.04.00#Resin coated fracturing sands#20.13.11.00.00
-unspsc7#20.13.11.05.00#Resin coated sintered bauxites#20.13.11.00.00
-unspsc7#20.13.11.06.00#Sintered bauxites#20.13.11.00.00
-unspsc7#20.13.12.00.00#Completion fluids#20.13.00.00.00
-unspsc7#20.13.12.01.00#Divalent brines#20.13.12.00.00
-unspsc7#20.13.12.02.00#Monovalent brines#20.13.12.00.00
-unspsc7#20.13.13.00.00#Oil well cement#20.13.00.00.00
-unspsc7#20.13.13.01.00#Oil well bulk cement#20.13.13.00.00
-unspsc7#20.13.13.02.00#Oil well class a type I cement#20.13.13.00.00
-unspsc7#20.13.13.03.00#Oil well class b type II cement#20.13.13.00.00
-unspsc7#20.13.13.04.00#Oil well class c cement#20.13.13.00.00
-unspsc7#20.13.13.05.00#Oil well class g cement#20.13.13.00.00
-unspsc7#20.13.13.06.00#Oil well class h cement#20.13.13.00.00
-unspsc7#20.13.13.07.00#Oil well lightweight cement#20.13.13.00.00
-unspsc7#20.13.13.08.00#Oil well standard fine type III cement#20.13.13.00.00
-unspsc7#20.14.00.00.00#Oil and gas operating and production equipment#20.00.00.00.00
-unspsc7#20.14.10.00.00#Wellhead equipment#20.14.00.00.00
-unspsc7#20.14.10.01.00#Wellhead actuators#20.14.10.00.00
-unspsc7#20.14.10.02.00#Wellhead beam pumps#20.14.10.00.00
-unspsc7#20.14.10.03.00#Wellhead flow lines#20.14.10.00.00
-unspsc7#20.14.10.04.00#Wellhead gate valves#20.14.10.00.00
-unspsc7#20.14.10.05.00#Wellhead production chokes#20.14.10.00.00
-unspsc7#20.14.10.06.00#Wellhead sub surface flow or christmas trees#20.14.10.00.00
-unspsc7#20.14.10.07.00#Wellhead surface flow or christmas trees#20.14.10.00.00
-unspsc7#20.14.10.08.00#Wellhead surface safety valves#20.14.10.00.00
-unspsc7#20.14.11.00.00#Chemical injection systems#20.14.00.00.00
-unspsc7#20.14.11.01.00#Paraffin injection systems#20.14.11.00.00
-unspsc7#20.14.12.00.00#Desanding equipment#20.14.00.00.00
-unspsc7#20.14.12.01.00#Production desanding equipment#20.14.12.00.00
-unspsc7#20.14.13.00.00#Downhole jet pumps and anchors#20.14.00.00.00
-unspsc7#20.14.13.01.00#Downhole jet pumps#20.14.13.00.00
-unspsc7#20.14.14.00.00#Downhole production accessories#20.14.00.00.00
-unspsc7#20.14.14.01.00#Tubing stops#20.14.14.00.00
-unspsc7#20.14.15.00.00#Downhole pumps#20.14.00.00.00
-unspsc7#20.14.15.01.00#Electric downhole pumps#20.14.15.00.00
-unspsc7#20.14.16.00.00#Export pumps#20.14.00.00.00
-unspsc7#20.14.16.01.00#Pneumatic export pumps#20.14.16.00.00
-unspsc7#20.14.17.00.00#Offshore production and storage platforms#20.14.00.00.00
-unspsc7#20.14.17.01.00#Fixed offshore production platforms#20.14.17.00.00
-unspsc7#20.14.17.02.00#Floating offshore production platforms#20.14.17.00.00
-unspsc7#20.14.17.03.00#Floating offshore storage platforms#20.14.17.00.00
-unspsc7#20.14.17.04.00#Floating offshore tension leg production platforms#20.14.17.00.00
-unspsc7#20.14.17.05.00#Floating offshore tension leg storage platforms#20.14.17.00.00
-unspsc7#20.14.18.00.00#Well production flow measurement meters#20.14.00.00.00
-unspsc7#20.14.18.01.00#Well production gas turbine meters#20.14.18.00.00
-unspsc7#20.14.19.00.00#Gas treating equipment#20.14.00.00.00
-unspsc7#20.14.19.01.00#Oil well production gas treating equipment#20.14.19.00.00
-unspsc7#20.14.20.00.00#Glycol regenerators#20.14.00.00.00
-unspsc7#20.14.20.01.00#Oil well glycol regenerators#20.14.20.00.00
-unspsc7#20.14.21.00.00#Heater treaters#20.14.00.00.00
-unspsc7#20.14.21.01.00#Oil well heater treaters#20.14.21.00.00
-unspsc7#20.14.22.00.00#Line heaters#20.14.00.00.00
-unspsc7#20.14.22.01.00#Electrical line heaters#20.14.22.00.00
-unspsc7#20.14.23.00.00#Production injection skids#20.14.00.00.00
-unspsc7#20.14.23.01.00#Pneumatic methanol injections skids#20.14.23.00.00
-unspsc7#20.14.24.00.00#Ocean floor equipment#20.14.00.00.00
-unspsc7#20.14.24.01.00#Subsea production wellhead equipment#20.14.24.00.00
-unspsc7#20.14.25.00.00#Produced water treating equipment#20.14.00.00.00
-unspsc7#20.14.25.01.00#Oil field water oil centrifuges#20.14.25.00.00
-unspsc7#20.14.26.00.00#Production control system instrumentation#20.14.00.00.00
-unspsc7#20.14.26.01.00#Wireless production control systems#20.14.26.00.00
-unspsc7#20.14.27.00.00#Pumping units#20.14.00.00.00
-unspsc7#20.14.27.01.00#Sucker rod pump jacks#20.14.27.00.00
-unspsc7#20.14.27.02.00#Rod pumps#20.14.27.00.00
-unspsc7#20.14.27.03.00#Mechanical rod pumps#20.14.27.00.00
-unspsc7#20.14.28.00.00#Production separators#20.14.00.00.00
-unspsc7#20.14.28.01.00#Oil water separators#20.14.28.00.00
-unspsc7#20.14.29.00.00#Storage vessels and tanks#20.14.00.00.00
-unspsc7#20.14.29.01.00#Oil storage tanks#20.14.29.00.00
-unspsc7#20.14.30.00.00#Sucker rods#20.14.00.00.00
-unspsc7#20.14.30.01.00#Alloy steel sucker rods#20.14.30.00.00
-unspsc7#20.14.30.02.00#Pony rods#20.14.30.00.00
-unspsc7#21.00.00.00.00#Farming and Fishing and Forestry and Wildlife Machinery and Accessories#21.00.00.00.00
-unspsc7#21.10.00.00.00#Agricultural and forestry and landscape machinery and equipment#21.00.00.00.00
-unspsc7#21.10.15.00.00#Agricultural machinery for soil preparation#21.10.00.00.00
-unspsc7#21.10.15.01.00#Ploughs#21.10.15.00.00
-unspsc7#21.10.15.02.00#Harrows#21.10.15.00.00
-unspsc7#21.10.15.03.00#Cultivators#21.10.15.00.00
-unspsc7#21.10.15.04.00#Weeders#21.10.15.00.00
-unspsc7#21.10.15.05.00#Hoeing machines#21.10.15.00.00
-unspsc7#21.10.15.06.00#Graders or land levelers#21.10.15.00.00
-unspsc7#21.10.15.07.00#Agricultural rollers#21.10.15.00.00
-unspsc7#21.10.15.08.00#Rollers for lawn or sports grounds#21.10.15.00.00
-unspsc7#21.10.15.09.00#Trencher drainage machine#21.10.15.00.00
-unspsc7#21.10.15.10.00#Irrigation pipes or tubes#21.10.15.00.00
-unspsc7#21.10.15.11.00#Irrigation trickles#21.10.15.00.00
-unspsc7#21.10.15.12.00#Irrigation overheads#21.10.15.00.00
-unspsc7#21.10.15.13.00#Disks#21.10.15.00.00
-unspsc7#21.10.15.14.00#Subsoilers#21.10.15.00.00
-unspsc7#21.10.15.15.00#Hedge clippers#21.10.15.00.00
-unspsc7#21.10.15.16.00#Dibblers#21.10.15.00.00
-unspsc7#21.10.16.00.00#Agricultural machinery for planting and seeding#21.10.00.00.00
-unspsc7#21.10.16.01.00#Planters#21.10.16.00.00
-unspsc7#21.10.16.02.00#Transplanters#21.10.16.00.00
-unspsc7#21.10.16.03.00#Grain drills#21.10.16.00.00
-unspsc7#21.10.16.04.00#Seed drills#21.10.16.00.00
-unspsc7#21.10.16.05.00#Seed treating equipment#21.10.16.00.00
-unspsc7#21.10.16.06.00#Hole diggers#21.10.16.00.00
-unspsc7#21.10.17.00.00#Agricultural machinery for harvesting#21.10.00.00.00
-unspsc7#21.10.17.01.00#Mowers#21.10.17.00.00
-unspsc7#21.10.17.02.00#Haymaking machinery#21.10.17.00.00
-unspsc7#21.10.17.03.00#Harvesters#21.10.17.00.00
-unspsc7#21.10.17.04.00#Combine harvesters#21.10.17.00.00
-unspsc7#21.10.17.05.00#Threshing machines#21.10.17.00.00
-unspsc7#21.10.18.00.00#Dispersing and spraying appliances for agriculture#21.10.00.00.00
-unspsc7#21.10.18.01.00#Sprayers#21.10.18.00.00
-unspsc7#21.10.18.02.00#Dusters#21.10.18.00.00
-unspsc7#21.10.18.03.00#Water sprinklers#21.10.18.00.00
-unspsc7#21.10.18.04.00#Fertilizer spreaders or distributors#21.10.18.00.00
-unspsc7#21.10.18.05.00#Fog or mist generators#21.10.18.00.00
-unspsc7#21.10.18.06.00#Composter#21.10.18.00.00
-unspsc7#21.10.18.07.00#Pollination equipment or supplies#21.10.18.00.00
-unspsc7#21.10.18.08.00#Frost protection equipment#21.10.18.00.00
-unspsc7#21.10.19.00.00#Poultry and livestock equipment#21.10.00.00.00
-unspsc7#21.10.19.01.00#Milking machines#21.10.19.00.00
-unspsc7#21.10.19.02.00#Animal husbandry equipment#21.10.19.00.00
-unspsc7#21.10.19.03.00#Incubators or brooders for poultry#21.10.19.00.00
-unspsc7#21.10.19.04.00#Feed mixers#21.10.19.00.00
-unspsc7#21.10.19.05.00#Livestock identification equipment#21.10.19.00.00
-unspsc7#21.10.19.06.00#Egg inspection or collecting equipment#21.10.19.00.00
-unspsc7#21.10.19.07.00#Animal watering machines#21.10.19.00.00
-unspsc7#21.10.19.08.00#Milk cooling tanks#21.10.19.00.00
-unspsc7#21.10.19.09.00#Animal shearing or clipping equipment#21.10.19.00.00
-unspsc7#21.10.20.00.00#Agricultural machinery for cleaning and sorting and grading#21.10.00.00.00
-unspsc7#21.10.20.01.00#Cleaning machines for seed or grain or dried leguminous vegetables#21.10.20.00.00
-unspsc7#21.10.20.02.00#Sorting machines for seed or grain or dried leguminous vegetables#21.10.20.00.00
-unspsc7#21.10.20.03.00#Grading machines for seed or grain or dried leguminous vegetables#21.10.20.00.00
-unspsc7#21.10.20.04.00#Rice cleaning or hulling equipment#21.10.20.00.00
-unspsc7#21.10.20.05.00#Grinding mills#21.10.20.00.00
-unspsc7#21.10.20.06.00#Hammer mills#21.10.20.00.00
-unspsc7#21.10.21.00.00#Agricultural processing machinery and equipment#21.10.00.00.00
-unspsc7#21.10.21.01.00#Agricultural briquetting or pelting machines#21.10.21.00.00
-unspsc7#21.10.22.00.00#Forestry machinery and equipment#21.10.00.00.00
-unspsc7#21.10.22.01.00#Decorticators#21.10.22.00.00
-unspsc7#21.10.22.02.00#Lumbering equipment#21.10.22.00.00
-unspsc7#21.10.22.03.00#Reforestation equipment#21.10.22.00.00
-unspsc7#21.10.22.04.00#Forestry saws#21.10.22.00.00
-unspsc7#21.10.22.05.00#Forestry skidders#21.10.22.00.00
-unspsc7#21.10.22.06.00#Forestry increment borers#21.10.22.00.00
-unspsc7#21.10.22.07.00#Forestry ipsometer#21.10.22.00.00
-unspsc7#21.10.23.00.00#Greenhouse equipment#21.10.00.00.00
-unspsc7#21.10.23.01.00#Greenhouse irrigation equipment#21.10.23.00.00
-unspsc7#21.10.23.02.00#Greenhouse pots#21.10.23.00.00
-unspsc7#21.10.23.03.00#Greenhouse ventilation equipment#21.10.23.00.00
-unspsc7#21.10.23.04.00#Greenhouse isolation equipment#21.10.23.00.00
-unspsc7#21.10.24.00.00#Insect equipment#21.10.00.00.00
-unspsc7#21.10.24.01.00#Beekeeping equipment#21.10.24.00.00
-unspsc7#21.10.24.02.00#Silkworm equipment#21.10.24.00.00
-unspsc7#21.10.24.03.00#Butterfly breeding equipment#21.10.24.00.00
-unspsc7#21.10.24.04.00#Beetle breeding equipment#21.10.24.00.00
-unspsc7#21.11.00.00.00#Fishing and aquaculture equipment#21.00.00.00.00
-unspsc7#21.11.15.00.00#Commercial fishing equipment#21.11.00.00.00
-unspsc7#21.11.15.01.00#Commercial fish hooks#21.11.15.00.00
-unspsc7#21.11.15.02.00#Commercial fishing reels#21.11.15.00.00
-unspsc7#21.11.15.03.00#Commercial fishing line tackle#21.11.15.00.00
-unspsc7#21.11.15.04.00#Commercial fishing nets#21.11.15.00.00
-unspsc7#21.11.15.06.00#Commercial fishing floats#21.11.15.00.00
-unspsc7#21.11.15.07.00#Commercial sinkers or weights#21.11.15.00.00
-unspsc7#21.11.15.08.00#Fishing net haulers#21.11.15.00.00
-unspsc7#21.11.16.00.00#Aquaculture equipment#21.11.00.00.00
-unspsc7#21.11.16.01.00#Marine hatchery equipment#21.11.16.00.00
-unspsc7#21.11.16.02.00#Pisciculture supplies#21.11.16.00.00
-unspsc7#22.00.00.00.00#Building and Construction Machinery and Accessories#22.00.00.00.00
-unspsc7#22.10.00.00.00#Heavy construction machinery and equipment#22.00.00.00.00
-unspsc7#22.10.15.00.00#Earth moving machinery#22.10.00.00.00
-unspsc7#22.10.15.01.00#Front end loaders#22.10.15.00.00
-unspsc7#22.10.15.02.00#Graders#22.10.15.00.00
-unspsc7#22.10.15.03.00#Loaders#22.10.15.00.00
-unspsc7#22.10.15.04.00#Pile drivers#22.10.15.00.00
-unspsc7#22.10.15.05.00#Rollers#22.10.15.00.00
-unspsc7#22.10.15.06.00#Earthmoving scrapers#22.10.15.00.00
-unspsc7#22.10.15.07.00#Tampers#22.10.15.00.00
-unspsc7#22.10.15.08.00#Trenching machines#22.10.15.00.00
-unspsc7#22.10.15.09.00#Backhoes#22.10.15.00.00
-unspsc7#22.10.15.10.00#Bulldozers#22.10.15.00.00
-unspsc7#22.10.15.11.00#Compactors#22.10.15.00.00
-unspsc7#22.10.15.13.00#Draglines#22.10.15.00.00
-unspsc7#22.10.15.14.00#Dredgers#22.10.15.00.00
-unspsc7#22.10.15.15.00#Excavators#22.10.15.00.00
-unspsc7#22.10.15.16.00#Ditchers#22.10.15.00.00
-unspsc7#22.10.15.17.00#Cherry pickers#22.10.15.00.00
-unspsc7#22.10.15.18.00#Elevating scrapers#22.10.15.00.00
-unspsc7#22.10.15.19.00#Twin engine open bowl scrapers#22.10.15.00.00
-unspsc7#22.10.15.20.00#Twin engine elevating scrapers#22.10.15.00.00
-unspsc7#22.10.15.21.00#Pulled scrapers#22.10.15.00.00
-unspsc7#22.10.15.22.00#Track bulldozers#22.10.15.00.00
-unspsc7#22.10.15.23.00#Wheel bulldozers#22.10.15.00.00
-unspsc7#22.10.15.24.00#Mobile excavators#22.10.15.00.00
-unspsc7#22.10.15.25.00#Wheel excavators#22.10.15.00.00
-unspsc7#22.10.15.26.00#Track excavators#22.10.15.00.00
-unspsc7#22.10.15.27.00#Integrated tool carriers#22.10.15.00.00
-unspsc7#22.10.15.28.00#Wheel loaders#22.10.15.00.00
-unspsc7#22.10.15.29.00#Skid steer loaders#22.10.15.00.00
-unspsc7#22.10.15.30.00#Open bowl scrapers#22.10.15.00.00
-unspsc7#22.10.15.31.00#Snow blowers#22.10.15.00.00
-unspsc7#22.10.15.32.00#Track loaders#22.10.15.00.00
-unspsc7#22.10.16.00.00#Paving equipment#22.10.00.00.00
-unspsc7#22.10.16.02.00#Ramming equipment#22.10.16.00.00
-unspsc7#22.10.16.03.00#Road wideners#22.10.16.00.00
-unspsc7#22.10.16.04.00#Vibratory plates#22.10.16.00.00
-unspsc7#22.10.16.05.00#Asphalt finishers#22.10.16.00.00
-unspsc7#22.10.16.06.00#Chip Spreaders#22.10.16.00.00
-unspsc7#22.10.17.00.00#Heavy equipment components#22.10.00.00.00
-unspsc7#22.10.17.01.00#Earthmoving shovels#22.10.17.00.00
-unspsc7#22.10.17.02.00#Earthmoving buckets#22.10.17.00.00
-unspsc7#22.10.17.03.00#Earthmoving blades#22.10.17.00.00
-unspsc7#22.10.17.04.00#Scarifiers#22.10.17.00.00
-unspsc7#22.10.18.00.00#Aerial lifts#22.10.00.00.00
-unspsc7#22.10.18.01.00#Manlift or personnel lift#22.10.18.00.00
-unspsc7#22.10.18.02.00#Platform lift#22.10.18.00.00
-unspsc7#22.10.18.03.00#Articulating boom lift#22.10.18.00.00
-unspsc7#22.10.18.04.00#Telescoping boom lift#22.10.18.00.00
-unspsc7#23.00.00.00.00#Industrial Manufacturing and Processing Machinery and Accessories#23.00.00.00.00
-unspsc7#23.10.00.00.00#Raw materials processing machinery#23.00.00.00.00
-unspsc7#23.10.15.00.00#Machinery for working wood and stone and ceramic and the like#23.10.00.00.00
-unspsc7#23.10.15.01.00#Coping machines#23.10.15.00.00
-unspsc7#23.10.15.02.00#Drilling machines#23.10.15.00.00
-unspsc7#23.10.15.03.00#Broaching machines#23.10.15.00.00
-unspsc7#23.10.15.04.00#Bending machines#23.10.15.00.00
-unspsc7#23.10.15.05.00#Boring machines#23.10.15.00.00
-unspsc7#23.10.15.06.00#Grinding machines#23.10.15.00.00
-unspsc7#23.10.15.07.00#Molding machines#23.10.15.00.00
-unspsc7#23.10.15.08.00#Cutting machines#23.10.15.00.00
-unspsc7#23.10.15.09.00#Sanding machines#23.10.15.00.00
-unspsc7#23.10.15.10.00#Polishing machines#23.10.15.00.00
-unspsc7#23.10.15.11.00#Turning machines#23.10.15.00.00
-unspsc7#23.10.15.12.00#Sawing machines#23.10.15.00.00
-unspsc7#23.10.15.13.00#Milling machines#23.10.15.00.00
-unspsc7#23.10.15.14.00#Planing machines#23.10.15.00.00
-unspsc7#23.10.15.15.00#Engraving machines#23.10.15.00.00
-unspsc7#23.10.15.16.00#Glass bead peener machines#23.10.15.00.00
-unspsc7#23.10.15.17.00#Grit blast machines#23.10.15.00.00
-unspsc7#23.10.15.18.00#Shot peen machine#23.10.15.00.00
-unspsc7#23.10.15.19.00#Robot machines#23.10.15.00.00
-unspsc7#23.10.15.20.00#Ram electro discharge machines#23.10.15.00.00
-unspsc7#23.10.15.21.00#Wire cathode electrode discharge machine#23.10.15.00.00
-unspsc7#23.10.15.22.00#Chip breaker#23.10.15.00.00
-unspsc7#23.11.00.00.00#Petroleum processing machinery#23.00.00.00.00
-unspsc7#23.11.15.00.00#Petroleum distilling and processing machinery and equipment#23.11.00.00.00
-unspsc7#23.11.15.01.00#Distillate hydroprocessing equipment#23.11.15.00.00
-unspsc7#23.11.15.02.00#Crude distilling machinery#23.11.15.00.00
-unspsc7#23.11.15.03.00#Catalytic cracking equipment#23.11.15.00.00
-unspsc7#23.11.15.04.00#Hydrocracking equipment#23.11.15.00.00
-unspsc7#23.11.15.05.00#Isomerization machinery#23.11.15.00.00
-unspsc7#23.11.15.06.00#Coking machinery#23.11.15.00.00
-unspsc7#23.11.15.07.00#Gas recovery machinery#23.11.15.00.00
-unspsc7#23.11.16.00.00#Hydrotreating machinery#23.11.00.00.00
-unspsc7#23.11.16.01.00#Naptha hydrotreater#23.11.16.00.00
-unspsc7#23.11.16.02.00#Distillate hydrotreater#23.11.16.00.00
-unspsc7#23.11.16.03.00#Catalytic feed hydrotreater#23.11.16.00.00
-unspsc7#23.11.16.04.00#Lube hydrotreater#23.11.16.00.00
-unspsc7#23.11.16.05.00#Gasoline hydrotreater#23.11.16.00.00
-unspsc7#23.11.16.06.00#Resid hydrotreater#23.11.16.00.00
-unspsc7#23.12.00.00.00#Textile and fabric machinery and accessories#23.00.00.00.00
-unspsc7#23.12.15.00.00#Textile processing machinery and accessories#23.12.00.00.00
-unspsc7#23.12.15.01.00#Embroidery making machines#23.12.15.00.00
-unspsc7#23.12.15.02.00#Felting machines#23.12.15.00.00
-unspsc7#23.12.15.03.00#Winding or reeling or spooling machines#23.12.15.00.00
-unspsc7#23.12.15.04.00#Twisting machines#23.12.15.00.00
-unspsc7#23.12.15.05.00#Stitch bonding machines#23.12.15.00.00
-unspsc7#23.12.15.06.00#Knitting machines#23.12.15.00.00
-unspsc7#23.12.15.07.00#Weaving machines#23.12.15.00.00
-unspsc7#23.12.15.08.00#Finishing machines#23.12.15.00.00
-unspsc7#23.12.15.09.00#Spinning machines#23.12.15.00.00
-unspsc7#23.12.15.10.00#Lace making machines#23.12.15.00.00
-unspsc7#23.12.16.00.00#Textile working machinery and equipment and accessories#23.12.00.00.00
-unspsc7#23.12.16.01.00#Button covering machines#23.12.16.00.00
-unspsc7#23.12.16.02.00#Button sewing machines#23.12.16.00.00
-unspsc7#23.12.16.03.00#Buttonhole machines#23.12.16.00.00
-unspsc7#23.12.16.04.00#Cloth cutting machines#23.12.16.00.00
-unspsc7#23.12.16.05.00#Cushion filling machines#23.12.16.00.00
-unspsc7#23.12.16.06.00#Folding or rewinding machines#23.12.16.00.00
-unspsc7#23.12.16.07.00#Bleaching machines#23.12.16.00.00
-unspsc7#23.12.16.08.00#Fabric or cloth folding machines#23.12.16.00.00
-unspsc7#23.12.16.09.00#Reeling or unreeling machines#23.12.16.00.00
-unspsc7#23.12.16.10.00#Dyeing machines#23.12.16.00.00
-unspsc7#23.12.16.11.00#Cutting or pinking machines#23.12.16.00.00
-unspsc7#23.12.16.12.00#Sewing machine needles#23.12.16.00.00
-unspsc7#23.12.16.13.00#Silk processing machines#23.12.16.00.00
-unspsc7#23.12.16.14.00#Sewing machines#23.12.16.00.00
-unspsc7#23.12.16.15.00#Fabric cutting tables#23.12.16.00.00
-unspsc7#23.13.00.00.00#Lapidary machinery and equipment#23.00.00.00.00
-unspsc7#23.13.15.00.00#Grinding and sanding and polishing equipment and supplies#23.13.00.00.00
-unspsc7#23.13.15.01.00#Abrasive compounds#23.13.15.00.00
-unspsc7#23.13.15.02.00#Felt wheels#23.13.15.00.00
-unspsc7#23.13.15.03.00#Grinding wheels#23.13.15.00.00
-unspsc7#23.13.15.04.00#Polishing compounds#23.13.15.00.00
-unspsc7#23.13.15.05.00#Polishing heads#23.13.15.00.00
-unspsc7#23.13.15.06.00#Polishing wheels#23.13.15.00.00
-unspsc7#23.13.15.07.00#Sanding cloths#23.13.15.00.00
-unspsc7#23.13.15.08.00#Sanding drums#23.13.15.00.00
-unspsc7#23.13.15.09.00#Tumblers or polishers#23.13.15.00.00
-unspsc7#23.13.15.10.00#Tumbling supplies or media#23.13.15.00.00
-unspsc7#23.13.15.11.00#Water swivels#23.13.15.00.00
-unspsc7#23.13.15.12.00#Water trays#23.13.15.00.00
-unspsc7#23.13.15.13.00#Sanding blocks#23.13.15.00.00
-unspsc7#23.13.15.14.00#Mounted stones#23.13.15.00.00
-unspsc7#23.13.15.15.00#Grinding wheel dressers#23.13.15.00.00
-unspsc7#23.13.16.00.00#Faceting equipment and accessories#23.13.00.00.00
-unspsc7#23.13.16.01.00#Faceting accessories#23.13.16.00.00
-unspsc7#23.13.16.02.00#Faceting machines#23.13.16.00.00
-unspsc7#23.13.16.03.00#Faceting laps#23.13.16.00.00
-unspsc7#23.13.16.04.00#Faceting saws#23.13.16.00.00
-unspsc7#23.13.17.00.00#Cabbing equipment#23.13.00.00.00
-unspsc7#23.13.17.01.00#Cabbing accessories#23.13.17.00.00
-unspsc7#23.13.17.02.00#Cabbing belts#23.13.17.00.00
-unspsc7#23.13.17.03.00#Cabbing discs#23.13.17.00.00
-unspsc7#23.13.17.04.00#Cabochon machines#23.13.17.00.00
-unspsc7#23.14.00.00.00#Leatherworking repairing machinery and equipment#23.00.00.00.00
-unspsc7#23.14.16.00.00#Leather preparing machinery and accessories#23.14.00.00.00
-unspsc7#23.14.16.01.00#Leather fleshing machines#23.14.16.00.00
-unspsc7#23.14.16.02.00#Leather tanning machines#23.14.16.00.00
-unspsc7#23.14.16.03.00#Leather dyeing machines#23.14.16.00.00
-unspsc7#23.14.16.04.00#Leather degreasing machines#23.14.16.00.00
-unspsc7#23.14.16.05.00#Leather presses#23.14.16.00.00
-unspsc7#23.14.17.00.00#Leather working and repairing machinery and accessories#23.14.00.00.00
-unspsc7#23.14.17.01.00#Leather cutting machines#23.14.17.00.00
-unspsc7#23.14.17.02.00#Leather riveting machines#23.14.17.00.00
-unspsc7#23.14.17.03.00#Leather nailing machines#23.14.17.00.00
-unspsc7#23.14.17.04.00#Leatherworking workshop equipment#23.14.17.00.00
-unspsc7#23.15.00.00.00#Industrial process machinery and equipment and supplies#23.00.00.00.00
-unspsc7#23.15.15.00.00#Rubber and plastic processing machinery and equipment and supplies#23.15.00.00.00
-unspsc7#23.15.15.01.00#Blow molding machines#23.15.15.00.00
-unspsc7#23.15.15.02.00#Coating machines#23.15.15.00.00
-unspsc7#23.15.15.03.00#Extruders#23.15.15.00.00
-unspsc7#23.15.15.04.00#Injection molding machines#23.15.15.00.00
-unspsc7#23.15.15.05.00#Rubber or plastic mixers#23.15.15.00.00
-unspsc7#23.15.15.06.00#Rubber or plastic presses#23.15.15.00.00
-unspsc7#23.15.15.07.00#Thermo forming machines#23.15.15.00.00
-unspsc7#23.15.15.08.00#Vacuum molding machines#23.15.15.00.00
-unspsc7#23.15.15.09.00#Vulcanizing machines#23.15.15.00.00
-unspsc7#23.15.15.10.00#Plastic cutting machinery#23.15.15.00.00
-unspsc7#23.15.15.11.00#Plastic grinding machinery#23.15.15.00.00
-unspsc7#23.15.15.12.00#Rubber or plastic mills#23.15.15.00.00
-unspsc7#23.15.15.13.00#Rubber or plastic extrusion dies#23.15.15.00.00
-unspsc7#23.15.15.14.00#Plastic injection molds#23.15.15.00.00
-unspsc7#23.15.15.15.00#Thermoforming molds#23.15.15.00.00
-unspsc7#23.15.15.16.00#Ejector pins#23.15.15.00.00
-unspsc7#23.15.16.00.00#Cement and ceramics and glass industry machinery and equipment and supplies#23.15.00.00.00
-unspsc7#23.15.16.01.00#Blowers or dryers#23.15.16.00.00
-unspsc7#23.15.16.02.00#Crushers#23.15.16.00.00
-unspsc7#23.15.16.03.00#Fusion welding or glass drawing machines#23.15.16.00.00
-unspsc7#23.15.16.04.00#Grinding or polishing machines#23.15.16.00.00
-unspsc7#23.15.16.05.00#Mixing or kneading machines#23.15.16.00.00
-unspsc7#23.15.16.06.00#Cement or ceramic or glass or similar material molding machines#23.15.16.00.00
-unspsc7#23.15.16.07.00#Presses#23.15.16.00.00
-unspsc7#23.15.16.08.00#Sifters#23.15.16.00.00
-unspsc7#23.15.17.00.00#Optical industry machinery and equipment and supplies#23.15.00.00.00
-unspsc7#23.15.17.01.00#Lens grinding machines#23.15.17.00.00
-unspsc7#23.15.17.02.00#Lens measuring equipment#23.15.17.00.00
-unspsc7#23.15.17.03.00#Lens polishing equipment#23.15.17.00.00
-unspsc7#23.15.17.04.00#Lens testing equipment#23.15.17.00.00
-unspsc7#23.15.17.05.00#Optical vacuum coating equipment#23.15.17.00.00
-unspsc7#23.15.18.00.00#Pharmaceutical industry machinery and equipment and supplies#23.15.00.00.00
-unspsc7#23.15.18.01.00#Ampoule filling equipment#23.15.18.00.00
-unspsc7#23.15.18.02.00#Bottle cappers or cotton inserters or safety seal applicators#23.15.18.00.00
-unspsc7#23.15.18.03.00#Capsulating machines#23.15.18.00.00
-unspsc7#23.15.18.04.00#Reactors or fermenters or digesters#23.15.18.00.00
-unspsc7#23.15.18.05.00#Filling or sealing auger dose machines#23.15.18.00.00
-unspsc7#23.15.18.06.00#Pharmaceutical filters or ultra filters#23.15.18.00.00
-unspsc7#23.15.18.07.00#Freezedryers or lyophilzers#23.15.18.00.00
-unspsc7#23.15.18.08.00#Pharmaceutical granulators#23.15.18.00.00
-unspsc7#23.15.18.09.00#Phamaceutical sieve or screening machines#23.15.18.00.00
-unspsc7#23.15.18.10.00#Sterile or aseptic processing or filling machines#23.15.18.00.00
-unspsc7#23.15.18.11.00#Tablet or capsule testing machines#23.15.18.00.00
-unspsc7#23.15.18.12.00#Tablet counters#23.15.18.00.00
-unspsc7#23.15.18.13.00#Tabletting machines#23.15.18.00.00
-unspsc7#23.15.18.14.00#Vaccine production equipment#23.15.18.00.00
-unspsc7#23.15.18.15.00#Vessel mixers#23.15.18.00.00
-unspsc7#23.15.19.00.00#Paper making and paper processing machinery and equipment and supplies#23.15.00.00.00
-unspsc7#23.15.19.01.00#Cutters#23.15.19.00.00
-unspsc7#23.15.19.02.00#Slitters#23.15.19.00.00
-unspsc7#23.15.19.03.00#Washing or dewatering machines#23.15.19.00.00
-unspsc7#23.15.19.04.00#Winders#23.15.19.00.00
-unspsc7#23.15.19.05.00#Wood pulp or dissolver machines#23.15.19.00.00
-unspsc7#23.15.19.06.00#Calenders for paper or cardboard making#23.15.19.00.00
-unspsc7#23.15.20.00.00#Web handling and control machinery and equipment and supplies#23.15.00.00.00
-unspsc7#23.15.20.01.00#Corona treaters#23.15.20.00.00
-unspsc7#23.15.20.02.00#Flame treaters#23.15.20.00.00
-unspsc7#23.15.21.00.00#Separation machinery and equipment#23.15.00.00.00
-unspsc7#23.15.21.01.00#Vibratory separation equipment and parts and screens#23.15.21.00.00
-unspsc7#23.15.21.02.00#Stationary separation equipment and parts and screens#23.15.21.00.00
-unspsc7#23.15.21.03.00#Air classification equipment and parts and screens#23.15.21.00.00
-unspsc7#23.15.21.04.00#Centifugal separation equipment or parts or screens#23.15.21.00.00
-unspsc7#23.15.22.00.00#Manufacturing tables and stands#23.15.00.00.00
-unspsc7#23.15.22.01.00#Rotary tables#23.15.22.00.00
-unspsc7#23.15.22.02.00#Stack stands#23.15.22.00.00
-unspsc7#23.15.22.03.00#Engine and component test stands#23.15.22.00.00
-unspsc7#23.15.22.04.00#Machine guarding#23.15.22.00.00
-unspsc7#23.15.23.00.00#Rotary tables#23.15.00.00.00
-unspsc7#23.15.24.00.00#Stack stands#23.15.00.00.00
-unspsc7#23.15.25.00.00#Engine and component test stands#23.15.00.00.00
-unspsc7#23.15.26.00.00#Machine guarding#23.15.00.00.00
-unspsc7#23.15.27.00.00#Air classification equipment and parts and screens#23.15.00.00.00
-unspsc7#23.15.28.00.00#Centifugal separation equipment or parts or screens#23.15.00.00.00
-unspsc7#23.15.29.00.00#Packaging machinery#23.15.00.00.00
-unspsc7#23.15.29.01.00#Wrapping machinery#23.15.29.00.00
-unspsc7#23.15.29.02.00#Form or fill or seal machinery#23.15.29.00.00
-unspsc7#23.15.29.03.00#Packaging vacuum#23.15.29.00.00
-unspsc7#23.15.30.00.00#Holding and positioning and guiding systems and devices#23.15.00.00.00
-unspsc7#23.15.30.01.00#Calibration jig#23.15.30.00.00
-unspsc7#23.15.30.02.00#Guide jig#23.15.30.00.00
-unspsc7#23.15.30.03.00#Master jig#23.15.30.00.00
-unspsc7#23.15.30.04.00#Needle jig#23.15.30.00.00
-unspsc7#23.15.30.05.00#Shaft jig#23.15.30.00.00
-unspsc7#23.15.30.06.00#Checking jig#23.15.30.00.00
-unspsc7#23.15.30.07.00#Setting jig#23.15.30.00.00
-unspsc7#23.15.30.08.00#Camera jig#23.15.30.00.00
-unspsc7#23.15.30.09.00#Pickup jig#23.15.30.00.00
-unspsc7#23.15.30.10.00#Removal jig#23.15.30.00.00
-unspsc7#23.15.30.11.00#Nozzle jig#23.15.30.00.00
-unspsc7#23.15.30.12.00#Sliding jig#23.15.30.00.00
-unspsc7#23.15.30.13.00#Centering jig#23.15.30.00.00
-unspsc7#23.15.30.14.00#Inspecting jig#23.15.30.00.00
-unspsc7#23.15.30.15.00#Feeder jig#23.15.30.00.00
-unspsc7#23.15.30.16.00#Clutch jig#23.15.30.00.00
-unspsc7#23.15.30.17.00#Alignment jig#23.15.30.00.00
-unspsc7#23.15.30.18.00#Positioning jig#23.15.30.00.00
-unspsc7#23.15.30.19.00#Lifter plate#23.15.30.00.00
-unspsc7#23.15.30.20.00#Tape guide#23.15.30.00.00
-unspsc7#23.15.30.21.00#Tape feed jaw#23.15.30.00.00
-unspsc7#23.15.30.22.00#Power feeder#23.15.30.00.00
-unspsc7#23.15.30.23.00#Feeder harness#23.15.30.00.00
-unspsc7#23.15.30.24.00#Feed jaw#23.15.30.00.00
-unspsc7#23.15.30.25.00#Mechanical gripper#23.15.30.00.00
-unspsc7#23.15.30.26.00#Holder jaw#23.15.30.00.00
-unspsc7#23.15.30.27.00#Jaw assembly#23.15.30.00.00
-unspsc7#23.15.30.28.00#Stationary jaw#23.15.30.00.00
-unspsc7#23.15.30.29.00#Jig block#23.15.30.00.00
-unspsc7#23.15.30.30.00#Linear motion guides#23.15.30.00.00
-unspsc7#23.15.30.31.00#Measuring jigs#23.15.30.00.00
-unspsc7#23.15.30.32.00#Ring jigs#23.15.30.00.00
-unspsc7#23.15.31.00.00#Industrial machinery components#23.15.00.00.00
-unspsc7#23.15.31.01.00#Pitch stopper#23.15.31.00.00
-unspsc7#23.15.31.02.00#Paper stopper#23.15.31.00.00
-unspsc7#23.15.31.03.00#Stopper pad#23.15.31.00.00
-unspsc7#23.16.00.00.00#Foundry machines and equipment and supplies#23.00.00.00.00
-unspsc7#23.16.15.00.00#Foundry machines and equipment#23.16.00.00.00
-unspsc7#23.16.15.01.00#Foundry blowers#23.16.15.00.00
-unspsc7#23.16.15.02.00#Foundry burners#23.16.15.00.00
-unspsc7#23.16.15.03.00#Core drying ovens#23.16.15.00.00
-unspsc7#23.16.15.04.00#Forging presses#23.16.15.00.00
-unspsc7#23.16.15.05.00#Hot metal mixers#23.16.15.00.00
-unspsc7#23.16.15.06.00#Foundry crucibles#23.16.15.00.00
-unspsc7#23.16.15.07.00#Foundry converters#23.16.15.00.00
-unspsc7#23.16.15.08.00#Open die forging press#23.16.15.00.00
-unspsc7#23.16.15.09.00#Forging stamping machines#23.16.15.00.00
-unspsc7#23.16.15.10.00#Casting machines#23.16.15.00.00
-unspsc7#23.16.15.11.00#Forging rolls#23.16.15.00.00
-unspsc7#23.16.15.12.00#Radial forging machines#23.16.15.00.00
-unspsc7#23.16.15.13.00#Cold forming presses#23.16.15.00.00
-unspsc7#23.16.15.14.00#Sizing or embossing presses#23.16.15.00.00
-unspsc7#23.16.15.15.00#End forging machines#23.16.15.00.00
-unspsc7#23.16.16.00.00#Foundry supplies#23.16.00.00.00
-unspsc7#23.16.16.01.00#Foundry bellows#23.16.16.00.00
-unspsc7#23.16.16.02.00#Foundry clays#23.16.16.00.00
-unspsc7#23.16.16.03.00#Foundry flasks#23.16.16.00.00
-unspsc7#23.16.16.04.00#Foundry fluxes#23.16.16.00.00
-unspsc7#23.16.16.05.00#Foundry ladles#23.16.16.00.00
-unspsc7#23.16.16.06.00#Foundry molds#23.16.16.00.00
-unspsc7#23.16.16.07.00#Foundry sand#23.16.16.00.00
-unspsc7#23.16.16.08.00#Foundry shovels#23.16.16.00.00
-unspsc7#23.17.00.00.00#Workshop machinery and equipment and supplies#23.00.00.00.00
-unspsc7#23.17.15.00.00#Soldering and brazing and welding machinery and supplies#23.17.00.00.00
-unspsc7#23.17.15.01.00#Anti spatter sprays#23.17.15.00.00
-unspsc7#23.17.15.02.00#Gas welding or brazing rods#23.17.15.00.00
-unspsc7#23.17.15.03.00#Filler metal#23.17.15.00.00
-unspsc7#23.17.15.04.00#Blow pipes#23.17.15.00.00
-unspsc7#23.17.15.05.00#Iron powder#23.17.15.00.00
-unspsc7#23.17.15.06.00#Soldering fluid#23.17.15.00.00
-unspsc7#23.17.15.07.00#Soldering irons or guns#23.17.15.00.00
-unspsc7#23.17.15.08.00#Welders#23.17.15.00.00
-unspsc7#23.17.15.09.00#Solder#23.17.15.00.00
-unspsc7#23.17.15.10.00#Welding wire#23.17.15.00.00
-unspsc7#23.17.15.11.00#Welding tools#23.17.15.00.00
-unspsc7#23.17.15.12.00#Welding rods#23.17.15.00.00
-unspsc7#23.17.15.13.00#Welding rectifiers#23.17.15.00.00
-unspsc7#23.17.15.14.00#Welding generators#23.17.15.00.00
-unspsc7#23.17.15.15.00#Welding electrodes#23.17.15.00.00
-unspsc7#23.17.15.17.00#Blow torches#23.17.15.00.00
-unspsc7#23.17.15.18.00#Plasma welding machinery#23.17.15.00.00
-unspsc7#23.17.15.19.00#Tungsten inert gas (TIG) welding machinery#23.17.15.00.00
-unspsc7#23.17.15.20.00#Ultrasound welding machinery#23.17.15.00.00
-unspsc7#23.17.15.21.00#Laser welding machinery#23.17.15.00.00
-unspsc7#23.17.15.22.00#Soldering fluxes#23.17.15.00.00
-unspsc7#23.17.15.23.00#Temperature indicating sticks#23.17.15.00.00
-unspsc7#23.17.15.24.00#Braze rings#23.17.15.00.00
-unspsc7#23.17.15.25.00#Soldering tips#23.17.15.00.00
-unspsc7#23.17.15.26.00#Desoldering tips#23.17.15.00.00
-unspsc7#23.17.15.27.00#Desoldering braid#23.17.15.00.00
-unspsc7#23.17.15.28.00#Welding screens or curtains#23.17.15.00.00
-unspsc7#23.17.15.29.00#Welding or soldering kit#23.17.15.00.00
-unspsc7#23.17.15.30.00#Soldering or desoldering or combined stations#23.17.15.00.00
-unspsc7#23.17.15.31.00#Desoldering Gun#23.17.15.00.00
-unspsc7#23.17.16.00.00#Machine tools#23.17.00.00.00
-unspsc7#23.17.16.01.00#Boring tools#23.17.16.00.00
-unspsc7#23.17.16.02.00#Bar or rod cutters#23.17.16.00.00
-unspsc7#23.17.16.03.00#Pipe or tube cutters#23.17.16.00.00
-unspsc7#23.17.16.04.00#Wire or cable cutters#23.17.16.00.00
-unspsc7#23.17.16.05.00#Deburring equipment#23.17.16.00.00
-unspsc7#23.17.16.06.00#Lathes#23.17.16.00.00
-unspsc7#23.17.16.07.00#Lathe tools or dies#23.17.16.00.00
-unspsc7#23.17.16.08.00#Laser cutting tools#23.17.16.00.00
-unspsc7#23.17.16.09.00#Twist drills#23.17.16.00.00
-unspsc7#23.17.16.10.00#Reamers#23.17.16.00.00
-unspsc7#23.17.16.11.00#Counterbores#23.17.16.00.00
-unspsc7#23.17.16.12.00#Milling cutters#23.17.16.00.00
-unspsc7#23.17.16.13.00#Hobs#23.17.16.00.00
-unspsc7#23.17.16.14.00#Gear shapers#23.17.16.00.00
-unspsc7#23.17.16.15.00#Shaving cutters#23.17.16.00.00
-unspsc7#23.17.16.16.00#Water jet cutting machines#23.17.16.00.00
-unspsc7#23.17.16.17.00#Broaching tools#23.17.16.00.00
-unspsc7#23.17.16.18.00#Indexable inserts#23.17.16.00.00
-unspsc7#23.17.16.19.00#Boring tools#23.17.16.00.00
-unspsc7#23.17.16.20.00#Broaches#23.17.16.00.00
-unspsc7#23.17.16.21.00#Insertion tools#23.17.16.00.00
-unspsc7#23.17.16.22.00#Workshop presses#23.17.16.00.00
-unspsc7#23.17.17.00.00#Metal bending and forming machinery#23.17.00.00.00
-unspsc7#23.17.17.01.00#Tangent benders#23.17.17.00.00
-unspsc7#23.17.17.02.00#Wing benders#23.17.17.00.00
-unspsc7#23.17.17.03.00#Tube bending machinery#23.17.17.00.00
-unspsc7#23.17.17.04.00#Pipe bending mandrels#23.17.17.00.00
-unspsc7#23.17.17.05.00#Die bends#23.17.17.00.00
-unspsc7#23.17.17.06.00#Sequential forming machines#23.17.17.00.00
-unspsc7#23.17.17.07.00#Tube end finishers#23.17.17.00.00
-unspsc7#23.17.17.08.00#Machine mounting#23.17.17.00.00
-unspsc7#23.17.18.00.00#Metal fabricating dies#23.17.00.00.00
-unspsc7#23.17.18.01.00#Stamping or forming dies#23.17.18.00.00
-unspsc7#23.17.18.02.00#Die casting dies#23.17.18.00.00
-unspsc7#23.17.18.03.00#Metal extrusion dies#23.17.18.00.00
-unspsc7#23.17.18.04.00#Cutting dies or tooling#23.17.18.00.00
-unspsc7#23.17.18.05.00#Rotary dies#23.17.18.00.00
-unspsc7#23.17.18.06.00#Steel rule dies#23.17.18.00.00
-unspsc7#23.17.19.00.00#Special tooling fixtures#23.17.00.00.00
-unspsc7#23.17.19.01.00#Holding fixtures#23.17.19.00.00
-unspsc7#23.17.19.02.00#Gauges and inspection fixtures#23.17.19.00.00
-unspsc7#23.17.19.03.00#Fabricated tooling fixtures#23.17.19.00.00
-unspsc7#23.17.19.04.00#Casting tooling#23.17.19.00.00
-unspsc7#23.17.19.05.00#Forging tooling#23.17.19.00.00
-unspsc7#23.17.19.06.00#Assembly or disassembly tooling#23.17.19.00.00
-unspsc7#23.17.20.00.00#Metal working machinery attachments#23.17.00.00.00
-unspsc7#23.17.20.01.00#Burrs#23.17.20.00.00
-unspsc7#23.17.20.02.00#Form Relief#23.17.20.00.00
-unspsc7#23.17.20.03.00#Machine threading taps#23.17.20.00.00
-unspsc7#23.17.20.04.00#Machine threading dies#23.17.20.00.00
-unspsc7#23.17.20.05.00#Machine end mills#23.17.20.00.00
-unspsc7#23.17.20.06.00#Metal stamps or punches#23.17.20.00.00
-unspsc7#23.17.20.07.00#Metal cutting band saw blades#23.17.20.00.00
-unspsc7#23.17.20.08.00#Metal cutting circular saw blades#23.17.20.00.00
-unspsc7#23.17.20.09.00#Carbide inserts#23.17.20.00.00
-unspsc7#23.17.20.10.00#Ceramic inserts#23.17.20.00.00
-unspsc7#23.17.20.11.00#Steel inserts#23.17.20.00.00
-unspsc7#23.17.20.12.00#Diamond inserts#23.17.20.00.00
-unspsc7#23.17.20.13.00#Threading mills#23.17.20.00.00
-unspsc7#23.17.21.00.00#Holding fixtures#23.17.00.00.00
-unspsc7#23.17.22.00.00#Gauges and inspection fixtures#23.17.00.00.00
-unspsc7#23.17.23.00.00#Fabricated tooling fixtures#23.17.00.00.00
-unspsc7#23.17.24.00.00#Casting tooling#23.17.00.00.00
-unspsc7#23.17.25.00.00#Forging tooling#23.17.00.00.00
-unspsc7#23.17.26.00.00#Assembly or disassembly tooling#23.17.00.00.00
-unspsc7#23.18.00.00.00#Industrial food and beverage equipment#23.00.00.00.00
-unspsc7#23.18.15.00.00#Food preparation machinery#23.18.00.00.00
-unspsc7#23.18.15.01.00#Filling machinery#23.18.15.00.00
-unspsc7#23.18.15.02.00#Milling machinery#23.18.15.00.00
-unspsc7#23.18.15.03.00#Mixing machinery#23.18.15.00.00
-unspsc7#23.18.15.04.00#Sifting machinery#23.18.15.00.00
-unspsc7#23.18.15.05.00#Dehydrating machinery#23.18.15.00.00
-unspsc7#23.18.15.06.00#Washing machinery#23.18.15.00.00
-unspsc7#23.18.15.07.00#Crushing machinery#23.18.15.00.00
-unspsc7#23.18.15.08.00#Blanching machinery#23.18.15.00.00
-unspsc7#23.18.15.09.00#Sorting machinery#23.18.15.00.00
-unspsc7#23.18.15.10.00#Meat tyers#23.18.15.00.00
-unspsc7#23.18.16.00.00#Food cutting machinery#23.18.00.00.00
-unspsc7#23.18.16.01.00#Dicing machinery#23.18.16.00.00
-unspsc7#23.18.16.02.00#Slicing machinery#23.18.16.00.00
-unspsc7#23.18.16.03.00#Chopping machinery#23.18.16.00.00
-unspsc7#23.18.16.04.00#Cutting machinery#23.18.16.00.00
-unspsc7#23.18.16.05.00#Grating machinery#23.18.16.00.00
-unspsc7#23.18.16.06.00#Peeling machinery#23.18.16.00.00
-unspsc7#23.18.17.00.00#Food cooking and smoking machinery#23.18.00.00.00
-unspsc7#23.18.17.01.00#Smoking machinery#23.18.17.00.00
-unspsc7#23.18.17.02.00#Roasting machinery#23.18.17.00.00
-unspsc7#23.18.17.03.00#Cooking machinery#23.18.17.00.00
-unspsc7#23.18.17.04.00#Steaming machinery#23.18.17.00.00
-unspsc7#23.18.18.00.00#Industrial beverage processing machinery#23.18.00.00.00
-unspsc7#23.18.18.01.00#Coffee brewing equipment or supplies#23.18.18.00.00
-unspsc7#23.18.18.02.00#Juicing machinery#23.18.18.00.00
-unspsc7#23.18.18.03.00#Ice making machines#23.18.18.00.00
-unspsc7#23.18.18.04.00#Ice cream machines#23.18.18.00.00
-unspsc7#23.19.00.00.00#Mixers and their parts and accessories#23.00.00.00.00
-unspsc7#23.19.10.00.00#Batch mixers#23.19.00.00.00
-unspsc7#23.19.10.01.00#Change can mixers#23.19.10.00.00
-unspsc7#23.19.10.02.00#Helical blade mixer#23.19.10.00.00
-unspsc7#23.19.10.03.00#Double arm kneading mixers#23.19.10.00.00
-unspsc7#23.19.10.04.00#Intensive mixers#23.19.10.00.00
-unspsc7#23.19.10.05.00#Roll mixers#23.19.10.00.00
-unspsc7#23.19.11.00.00#Continuous mixers#23.19.00.00.00
-unspsc7#23.19.11.01.00#Single screw mixers#23.19.11.00.00
-unspsc7#23.19.11.02.00#Twin screw extruder#23.19.11.00.00
-unspsc7#23.20.00.00.00#Mass transfer equipment#23.00.00.00.00
-unspsc7#23.20.10.00.00#Gas liquid contacting systems#23.20.00.00.00
-unspsc7#23.20.10.01.00#Plate columns#23.20.10.00.00
-unspsc7#23.20.10.02.00#Packed columns#23.20.10.00.00
-unspsc7#23.20.10.03.00#Liquid dispersed contactor#23.20.10.00.00
-unspsc7#23.20.10.04.00#Wetted wall column#23.20.10.00.00
-unspsc7#23.20.10.05.00#Bubble columns#23.20.10.00.00
-unspsc7#23.20.11.00.00#Adsorption and ion exchange#23.20.00.00.00
-unspsc7#23.20.11.01.00#Adsorber vessel#23.20.11.00.00
-unspsc7#23.20.11.02.00#Ambient pressure adsorber vessel#23.20.11.00.00
-unspsc7#23.21.00.00.00#Electronic manufacturing machinery and equipment and accessories#23.00.00.00.00
-unspsc7#23.21.10.00.00#Electronic assembly machinery and support equipment#23.21.00.00.00
-unspsc7#23.21.10.01.00#Chip placers#23.21.10.00.00
-unspsc7#23.21.10.02.00#Glue dispensing machinery#23.21.10.00.00
-unspsc7#24.00.00.00.00#Material Handling and Conditioning and Storage Machinery and their Accessories and Supplies#24.00.00.00.00
-unspsc7#24.10.00.00.00#Material handling machinery and equipment#24.00.00.00.00
-unspsc7#24.10.15.00.00#Industrial trucks#24.10.00.00.00
-unspsc7#24.10.15.01.00#Carts#24.10.15.00.00
-unspsc7#24.10.15.02.00#Bulk transporters#24.10.15.00.00
-unspsc7#24.10.15.03.00#Dollies#24.10.15.00.00
-unspsc7#24.10.15.04.00#Hand trucks or accessories#24.10.15.00.00
-unspsc7#24.10.15.05.00#Pallet trucks#24.10.15.00.00
-unspsc7#24.10.15.06.00#Pushcarts#24.10.15.00.00
-unspsc7#24.10.15.07.00#Wheelbarrows#24.10.15.00.00
-unspsc7#24.10.15.08.00#Creepers#24.10.15.00.00
-unspsc7#24.10.15.09.00#Wagons#24.10.15.00.00
-unspsc7#24.10.15.10.00#Tilt trucks#24.10.15.00.00
-unspsc7#24.10.15.11.00#Shelf trolleys#24.10.15.00.00
-unspsc7#24.10.16.00.00#Lifting equipment and accessories#24.10.00.00.00
-unspsc7#24.10.16.01.00#Elevators#24.10.16.00.00
-unspsc7#24.10.16.02.00#Hoists#24.10.16.00.00
-unspsc7#24.10.16.03.00#Forklifts#24.10.16.00.00
-unspsc7#24.10.16.04.00#Lifts#24.10.16.00.00
-unspsc7#24.10.16.05.00#Loading equipment#24.10.16.00.00
-unspsc7#24.10.16.06.00#Stackers#24.10.16.00.00
-unspsc7#24.10.16.07.00#Cranes#24.10.16.00.00
-unspsc7#24.10.16.08.00#Winches#24.10.16.00.00
-unspsc7#24.10.16.09.00#Tilts#24.10.16.00.00
-unspsc7#24.10.16.10.00#Manipulators#24.10.16.00.00
-unspsc7#24.10.16.11.00#Slings#24.10.16.00.00
-unspsc7#24.10.16.12.00#Jacks#24.10.16.00.00
-unspsc7#24.10.16.13.00#Blocks or pulleys#24.10.16.00.00
-unspsc7#24.10.16.14.00#Air bags for loading#24.10.16.00.00
-unspsc7#24.10.16.15.00#Loading ramps#24.10.16.00.00
-unspsc7#24.10.16.16.00#Below the hook device#24.10.16.00.00
-unspsc7#24.10.16.17.00#Scissor lift#24.10.16.00.00
-unspsc7#24.10.16.18.00#Pipe layer#24.10.16.00.00
-unspsc7#24.10.16.19.00#Bridge cranes#24.10.16.00.00
-unspsc7#24.10.16.20.00#Track cranes#24.10.16.00.00
-unspsc7#24.10.16.21.00#All terrain cranes#24.10.16.00.00
-unspsc7#24.10.16.22.00#Rough terrain cranes#24.10.16.00.00
-unspsc7#24.10.16.23.00#Tower cranes#24.10.16.00.00
-unspsc7#24.10.16.24.00#Hydraulic truck cranes#24.10.16.00.00
-unspsc7#24.10.16.25.00#Conventional truck cranes#24.10.16.00.00
-unspsc7#24.10.16.26.00#Escalator or walkways#24.10.16.00.00
-unspsc7#24.10.16.27.00#Girder trolleys#24.10.16.00.00
-unspsc7#24.10.16.28.00#Adjustable forks#24.10.16.00.00
-unspsc7#24.10.16.29.00#Forklift accessories or supplies#24.10.16.00.00
-unspsc7#24.10.16.30.00#Workshop cranes#24.10.16.00.00
-unspsc7#24.10.16.31.00#Suction cups#24.10.16.00.00
-unspsc7#24.10.16.32.00#Side shifts#24.10.16.00.00
-unspsc7#24.10.17.00.00#Conveyors and accessories#24.10.00.00.00
-unspsc7#24.10.17.01.00#Conveyor roller#24.10.17.00.00
-unspsc7#24.10.17.02.00#Ball transfer tables#24.10.17.00.00
-unspsc7#24.10.17.03.00#Rock bins#24.10.17.00.00
-unspsc7#24.10.17.04.00#Conveyor feeders#24.10.17.00.00
-unspsc7#24.10.17.05.00#Conveyor screw#24.10.17.00.00
-unspsc7#24.10.17.06.00#Trolleys or accessories#24.10.17.00.00
-unspsc7#24.10.17.07.00#Conveyor rails#24.10.17.00.00
-unspsc7#24.10.17.08.00#Extendable conveyors#24.10.17.00.00
-unspsc7#24.10.17.09.00#Roller conveyors#24.10.17.00.00
-unspsc7#24.10.17.10.00#Package stops#24.10.17.00.00
-unspsc7#24.10.17.11.00#Turntables#24.10.17.00.00
-unspsc7#24.10.17.12.00#Belt conveyors#24.10.17.00.00
-unspsc7#24.10.17.13.00#Bucket conveyors#24.10.17.00.00
-unspsc7#24.10.17.14.00#Air conveyors#24.10.17.00.00
-unspsc7#24.10.17.15.00#Conveyor belting#24.10.17.00.00
-unspsc7#24.10.17.16.00#Conveyor pulleys#24.10.17.00.00
-unspsc7#24.10.17.17.00#Conveyor idlers#24.10.17.00.00
-unspsc7#24.10.17.18.00#Conveyor belt lacing or fasteners#24.10.17.00.00
-unspsc7#24.10.17.19.00#Conveyor belt brushes#24.10.17.00.00
-unspsc7#24.10.17.20.00#Wear strips#24.10.17.00.00
-unspsc7#24.10.17.21.00#Trolley lid#24.10.17.00.00
-unspsc7#24.10.17.22.00#Chain conveyors#24.10.17.00.00
-unspsc7#24.10.18.00.00#Dock equipment#24.10.00.00.00
-unspsc7#24.10.18.01.00#Dock levelers#24.10.18.00.00
-unspsc7#24.10.18.02.00#Dock seals#24.10.18.00.00
-unspsc7#24.10.18.03.00#Dock ramps#24.10.18.00.00
-unspsc7#24.10.18.04.00#Strip doors#24.10.18.00.00
-unspsc7#24.10.18.05.00#Dock bumpers#24.10.18.00.00
-unspsc7#24.10.18.06.00#Dock ladders#24.10.18.00.00
-unspsc7#24.10.18.07.00#Dock plates#24.10.18.00.00
-unspsc7#24.10.18.08.00#Wheel chocks#24.10.18.00.00
-unspsc7#24.10.18.09.00#Dock rails and accessories#24.10.18.00.00
-unspsc7#24.10.19.00.00#Drum handling equipment#24.10.00.00.00
-unspsc7#24.10.19.01.00#Drum openers#24.10.19.00.00
-unspsc7#24.10.19.02.00#Drum grabs#24.10.19.00.00
-unspsc7#24.10.19.03.00#Drum lifters#24.10.19.00.00
-unspsc7#24.10.19.04.00#Drum cradles#24.10.19.00.00
-unspsc7#24.10.19.05.00#Spill deck#24.10.19.00.00
-unspsc7#24.10.19.06.00#Drum recuperators#24.10.19.00.00
-unspsc7#24.10.19.07.00#Spill containment supports#24.10.19.00.00
-unspsc7#24.10.20.00.00#Shelving and storage#24.10.00.00.00
-unspsc7#24.10.20.01.00#Rack systems for rack mount electronic equipment#24.10.20.00.00
-unspsc7#24.10.20.02.00#Bin handlers#24.10.20.00.00
-unspsc7#24.10.20.03.00#Pallets#24.10.20.00.00
-unspsc7#24.10.20.04.00#Storage racks or shelves#24.10.20.00.00
-unspsc7#24.10.20.05.00#Automated storage or retrieval systems#24.10.20.00.00
-unspsc7#24.10.20.06.00#Work benches#24.10.20.00.00
-unspsc7#24.10.20.07.00#Reel storage shelves#24.10.20.00.00
-unspsc7#24.10.20.08.00#Portable reel holders#24.10.20.00.00
-unspsc7#24.10.21.00.00#Warehousing equipment and supplies#24.10.00.00.00
-unspsc7#24.10.21.01.00#Cargo handling equipment#24.10.21.00.00
-unspsc7#24.10.21.02.00#Warehouse carousels#24.10.21.00.00
-unspsc7#24.10.21.03.00#Warehouse casers#24.10.21.00.00
-unspsc7#24.10.21.04.00#Depalletizers#24.10.21.00.00
-unspsc7#24.10.21.05.00#Palletizers#24.10.21.00.00
-unspsc7#24.10.21.06.00#Industrial shrink wrap equipment#24.10.21.00.00
-unspsc7#24.10.21.07.00#Cartoning machinery#24.10.21.00.00
-unspsc7#24.10.21.08.00#Packaging compactors#24.10.21.00.00
-unspsc7#24.10.22.00.00#Packing tools#24.10.00.00.00
-unspsc7#24.10.22.01.00#Stretch film dispensers#24.10.22.00.00
-unspsc7#24.10.22.02.00#Box sealing tape dispensers#24.10.22.00.00
-unspsc7#24.10.22.03.00#Bag sealing tools and equipment#24.10.22.00.00
-unspsc7#24.10.22.04.00#Strapping dispenser#24.10.22.00.00
-unspsc7#24.10.22.05.00#Strapping tensioners or sealers#24.10.22.00.00
-unspsc7#24.10.22.06.00#Carton forming machines#24.10.22.00.00
-unspsc7#24.10.22.07.00#Taping machines#24.10.22.00.00
-unspsc7#24.11.00.00.00#Containers and storage#24.00.00.00.00
-unspsc7#24.11.15.00.00#Bags#24.11.00.00.00
-unspsc7#24.11.15.01.00#Canvas bags#24.11.15.00.00
-unspsc7#24.11.15.02.00#Paper bags#24.11.15.00.00
-unspsc7#24.11.15.03.00#Plastic bags#24.11.15.00.00
-unspsc7#24.11.15.04.00#Pouches#24.11.15.00.00
-unspsc7#24.11.15.05.00#Flexible intermediate bulk containers#24.11.15.00.00
-unspsc7#24.11.15.06.00#Laundry nets or bags#24.11.15.00.00
-unspsc7#24.11.15.07.00#Tool bags#24.11.15.00.00
-unspsc7#24.11.15.08.00#Tent bag#24.11.15.00.00
-unspsc7#24.11.16.00.00#Covers and caps#24.11.00.00.00
-unspsc7#24.11.18.00.00#Tanks and cylinders and their accessories#24.11.00.00.00
-unspsc7#24.11.18.01.00#Reservoirs#24.11.18.00.00
-unspsc7#24.11.18.02.00#Air or gas tanks or cylinders#24.11.18.00.00
-unspsc7#24.11.18.03.00#Storage tanks#24.11.18.00.00
-unspsc7#24.11.18.04.00#Calibrating tanks#24.11.18.00.00
-unspsc7#24.11.18.05.00#Chemical tanks#24.11.18.00.00
-unspsc7#24.11.18.06.00#Dip tanks#24.11.18.00.00
-unspsc7#24.11.18.07.00#Expansion tanks#24.11.18.00.00
-unspsc7#24.11.18.08.00#Fuel storage tanks#24.11.18.00.00
-unspsc7#24.11.18.09.00#Processing tanks#24.11.18.00.00
-unspsc7#24.11.18.10.00#Water storage tanks#24.11.18.00.00
-unspsc7#24.11.18.11.00#Carboys#24.11.18.00.00
-unspsc7#24.11.18.12.00#Containment basin#24.11.18.00.00
-unspsc7#24.11.18.13.00#Rinse tanks#24.11.18.00.00
-unspsc7#24.11.20.00.00#Bins and baskets#24.11.00.00.00
-unspsc7#24.11.20.01.00#Bins#24.11.20.00.00
-unspsc7#24.11.20.02.00#Baskets#24.11.20.00.00
-unspsc7#24.11.20.03.00#Non metallic bins#24.11.20.00.00
-unspsc7#24.11.20.04.00#Metallic bins#24.11.20.00.00
-unspsc7#24.11.20.05.00#Metallic baskets#24.11.20.00.00
-unspsc7#24.11.20.06.00#Non metallic baskets#24.11.20.00.00
-unspsc7#24.11.21.00.00#Casks and barrels and drums#24.11.00.00.00
-unspsc7#24.11.21.01.00#Casks#24.11.21.00.00
-unspsc7#24.11.21.02.00#Barrels#24.11.21.00.00
-unspsc7#24.11.21.03.00#Stainless steel drums#24.11.21.00.00
-unspsc7#24.11.21.04.00#Steel drums#24.11.21.00.00
-unspsc7#24.11.21.05.00#Polyethylene drums#24.11.21.00.00
-unspsc7#24.11.21.06.00#Composite drums#24.11.21.00.00
-unspsc7#24.11.21.07.00#Fiber drums#24.11.21.00.00
-unspsc7#24.11.21.08.00#Metallic drums#24.11.21.00.00
-unspsc7#24.11.21.09.00#Non metallic drums#24.11.21.00.00
-unspsc7#24.11.21.10.00#Intermediate bulk containers#24.11.21.00.00
-unspsc7#24.11.21.11.00#Stabilizer#24.11.21.00.00
-unspsc7#24.11.21.12.00#Drum lid#24.11.21.00.00
-unspsc7#24.11.22.00.00#Cans and pails#24.11.00.00.00
-unspsc7#24.11.22.01.00#Steel pails#24.11.22.00.00
-unspsc7#24.11.22.02.00#Gasoline cans#24.11.22.00.00
-unspsc7#24.11.22.03.00#Plastic pails#24.11.22.00.00
-unspsc7#24.11.22.04.00#Metallic pails#24.11.22.00.00
-unspsc7#24.11.22.05.00#Non metallic pails#24.11.22.00.00
-unspsc7#24.11.22.06.00#Metallic flammable liquid cans#24.11.22.00.00
-unspsc7#24.11.22.07.00#Non metallic flammable liquid cans#24.11.22.00.00
-unspsc7#24.11.22.08.00#Spray kit#24.11.22.00.00
-unspsc7#24.11.22.09.00#Jerrycans#24.11.22.00.00
-unspsc7#24.11.24.00.00#Storage chests and cabinets and trunks#24.11.00.00.00
-unspsc7#24.11.24.01.00#Tool chests or boxes or cabinets#24.11.24.00.00
-unspsc7#24.11.24.02.00#Hazardous materials cabinets#24.11.24.00.00
-unspsc7#24.11.24.03.00#Tool belts#24.11.24.00.00
-unspsc7#24.11.24.04.00#Box#24.11.24.00.00
-unspsc7#24.11.24.05.00#Drawers#24.11.24.00.00
-unspsc7#24.11.24.06.00#Box or shelf partitions#24.11.24.00.00
-unspsc7#24.11.24.07.00#Mail boxes#24.11.24.00.00
-unspsc7#24.11.24.08.00#Antistatic boxes#24.11.24.00.00
-unspsc7#24.11.24.09.00#Box lids#24.11.24.00.00
-unspsc7#24.11.25.00.00#Corrugated and other boxes for distribution#24.11.00.00.00
-unspsc7#24.11.25.01.00#Slotted corrugated cartons#24.11.25.00.00
-unspsc7#24.11.25.02.00#One piece die cut shipping cartons#24.11.25.00.00
-unspsc7#24.11.25.03.00#Die cut corrugated shipping cartons with separate lids#24.11.25.00.00
-unspsc7#24.11.25.04.00#Molded boxes#24.11.25.00.00
-unspsc7#24.11.25.05.00#Rigid boxes#24.11.25.00.00
-unspsc7#24.11.25.06.00#Flexible intermediate bulk containers#24.11.25.00.00
-unspsc7#24.11.25.07.00#Intermediate bulk containers#24.11.25.00.00
-unspsc7#24.11.26.00.00#Liquid containers#24.11.00.00.00
-unspsc7#24.11.26.01.00#Jugs#24.11.26.00.00
-unspsc7#24.11.26.02.00#Jars#24.11.26.00.00
-unspsc7#24.12.00.00.00#Packaging materials#24.00.00.00.00
-unspsc7#24.12.15.00.00#Packaging boxes and bags and pouches#24.12.00.00.00
-unspsc7#24.12.15.01.00#Poly bags#24.12.15.00.00
-unspsc7#24.12.15.02.00#Packaging pouches or bags#24.12.15.00.00
-unspsc7#24.12.15.03.00#Packaging boxes#24.12.15.00.00
-unspsc7#24.12.15.04.00#Carded packaging#24.12.15.00.00
-unspsc7#24.12.15.05.00#Tarpaulins#24.12.15.00.00
-unspsc7#24.12.15.06.00#Conductive boxes#24.12.15.00.00
-unspsc7#24.12.15.07.00#Rigid set up boxes#24.12.15.00.00
-unspsc7#24.12.15.08.00#Egg trays#24.12.15.00.00
-unspsc7#24.12.18.00.00#Packaging cans#24.12.00.00.00
-unspsc7#24.12.18.01.00#Aerosol cans#24.12.18.00.00
-unspsc7#24.12.18.02.00#Paint or varnish cans#24.12.18.00.00
-unspsc7#24.12.18.03.00#Beverage cans#24.12.18.00.00
-unspsc7#24.12.18.04.00#Food cans#24.12.18.00.00
-unspsc7#24.12.18.05.00#Steel cans#24.12.18.00.00
-unspsc7#24.12.18.06.00#Aluminum cans#24.12.18.00.00
-unspsc7#24.12.20.00.00#Bottles#24.12.00.00.00
-unspsc7#24.12.20.01.00#Squeeze bottles#24.12.20.00.00
-unspsc7#24.12.20.02.00#Plastic bottles#24.12.20.00.00
-unspsc7#24.12.20.03.00#Glass bottles#24.12.20.00.00
-unspsc7#24.12.20.04.00#Caps or tops#24.12.20.00.00
-unspsc7#24.12.20.05.00#Applicator bottles#24.12.20.00.00
-unspsc7#24.12.20.06.00#Applicators#24.12.20.00.00
-unspsc7#24.13.00.00.00#Industrial refrigeration#24.00.00.00.00
-unspsc7#24.13.15.00.00#Industrial refrigerators#24.13.00.00.00
-unspsc7#24.13.15.01.00#Combined refrigerator freezers#24.13.15.00.00
-unspsc7#24.13.15.02.00#Liquid nitrogen refrigerators#24.13.15.00.00
-unspsc7#24.13.15.03.00#Walk in refrigerators#24.13.15.00.00
-unspsc7#24.13.15.04.00#Refrigerated containers#24.13.15.00.00
-unspsc7#24.13.15.05.00#Refrigerated vessels#24.13.15.00.00
-unspsc7#24.13.15.06.00#Refrigerated tanks#24.13.15.00.00
-unspsc7#24.13.16.00.00#Industrial freezers#24.13.00.00.00
-unspsc7#24.13.16.01.00#Chest freezers#24.13.16.00.00
-unspsc7#24.13.16.02.00#Upright freezers#24.13.16.00.00
-unspsc7#24.13.16.03.00#Low temperature freezers#24.13.16.00.00
-unspsc7#24.13.16.04.00#Freeze drying equipment#24.13.16.00.00
-unspsc7#24.13.16.05.00#Walk in freezers#24.13.16.00.00
-unspsc7#24.13.16.06.00#Plate freezers#24.13.16.00.00
-unspsc7#24.13.16.07.00#Blast freezers#24.13.16.00.00
-unspsc7#24.13.19.00.00#Ice makers#24.13.00.00.00
-unspsc7#24.13.19.01.00#Ice cube makers#24.13.19.00.00
-unspsc7#24.13.19.02.00#Ice block makers#24.13.19.00.00
-unspsc7#24.14.00.00.00#Packing supplies#24.00.00.00.00
-unspsc7#24.14.15.00.00#Securing and protecting supplies#24.14.00.00.00
-unspsc7#24.14.15.01.00#Stretch wrap films#24.14.15.00.00
-unspsc7#24.14.15.02.00#Shrink wrap films#24.14.15.00.00
-unspsc7#24.14.15.03.00#Polyethylene films#24.14.15.00.00
-unspsc7#24.14.15.04.00#Tamper proof or security seals#24.14.15.00.00
-unspsc7#24.14.15.05.00#Polyethylene films#24.14.15.00.00
-unspsc7#24.14.15.06.00#Tarpaulins#24.14.15.00.00
-unspsc7#24.14.15.07.00#Anti static packaging films#24.14.15.00.00
-unspsc7#24.14.15.08.00#Carton corner support#24.14.15.00.00
-unspsc7#24.14.15.09.00#Rubber cord#24.14.15.00.00
-unspsc7#24.14.15.10.00#Cable protectors#24.14.15.00.00
-unspsc7#24.14.15.11.00#Load binders#24.14.15.00.00
-unspsc7#24.14.16.00.00#Cushioning supplies#24.14.00.00.00
-unspsc7#24.14.16.01.00#Bubble wrap#24.14.16.00.00
-unspsc7#24.14.16.02.00#Thermoforming materials#24.14.16.00.00
-unspsc7#24.14.16.03.00#Cushioning#24.14.16.00.00
-unspsc7#24.14.16.04.00#Wadding materials#24.14.16.00.00
-unspsc7#24.14.16.05.00#Air filled packing materials#24.14.16.00.00
-unspsc7#24.14.16.06.00#Packing peanuts#24.14.16.00.00
-unspsc7#24.14.16.07.00#Cardboard inserts#24.14.16.00.00
-unspsc7#24.14.16.08.00#Protective ends#24.14.16.00.00
-unspsc7#24.14.17.00.00#Packaging tubes and cores and labels and accessories#24.14.00.00.00
-unspsc7#24.14.17.01.00#Paper tubes or cores#24.14.17.00.00
-unspsc7#24.14.17.02.00#Tube or core end plugs#24.14.17.00.00
-unspsc7#24.14.17.03.00#Paper pieces#24.14.17.00.00
-unspsc7#24.14.17.04.00#Printed inserts or instructions#24.14.17.00.00
-unspsc7#24.14.17.05.00#Collapsible tubes#24.14.17.00.00
-unspsc7#24.14.17.06.00#Spool#24.14.17.00.00
-unspsc7#24.14.17.07.00#Reel#24.14.17.00.00
-unspsc7#25.00.00.00.00#Commercial and Military and Private Vehicles and their Accessories and Components#25.00.00.00.00
-unspsc7#25.10.00.00.00#Motor vehicles#25.00.00.00.00
-unspsc7#25.10.15.00.00#Passenger motor vehicles#25.10.00.00.00
-unspsc7#25.10.15.01.00#Minibuses#25.10.15.00.00
-unspsc7#25.10.15.02.00#Busses#25.10.15.00.00
-unspsc7#25.10.15.03.00#Automobiles or cars#25.10.15.00.00
-unspsc7#25.10.15.04.00#Station wagons#25.10.15.00.00
-unspsc7#25.10.15.05.00#Minivans or vans#25.10.15.00.00
-unspsc7#25.10.15.06.00#Limousines#25.10.15.00.00
-unspsc7#25.10.15.07.00#Light trucks or sport utility vehicles#25.10.15.00.00
-unspsc7#25.10.16.00.00#Product and material transport vehicles#25.10.00.00.00
-unspsc7#25.10.16.01.00#Dump trucks#25.10.16.00.00
-unspsc7#25.10.16.02.00#Tow trucks#25.10.16.00.00
-unspsc7#25.10.16.04.00#Delivery trucks#25.10.16.00.00
-unspsc7#25.10.16.09.00#Sludge or sewage handling trucks#25.10.16.00.00
-unspsc7#25.10.17.00.00#Safety and rescue vehicles#25.10.00.00.00
-unspsc7#25.10.17.01.00#Fire or rescue trucks#25.10.17.00.00
-unspsc7#25.10.17.02.00#Police vehicles#25.10.17.00.00
-unspsc7#25.10.17.03.00#Ambulances#25.10.17.00.00
-unspsc7#25.10.18.00.00#Motorized cycles#25.10.00.00.00
-unspsc7#25.10.18.01.00#Motorcycles#25.10.18.00.00
-unspsc7#25.10.18.02.00#Scooters#25.10.18.00.00
-unspsc7#25.10.18.03.00#Mopeds#25.10.18.00.00
-unspsc7#25.10.19.00.00#Specialized and recreational vehicles#25.10.00.00.00
-unspsc7#25.10.19.01.00#Agricultural tractors#25.10.19.00.00
-unspsc7#25.10.19.02.00#Motor homes#25.10.19.00.00
-unspsc7#25.10.19.03.00#Snowmobiles or snow scooter#25.10.19.00.00
-unspsc7#25.10.19.04.00#Golf carts#25.10.19.00.00
-unspsc7#25.10.19.05.00#All terrain vehicles tracked or wheeled#25.10.19.00.00
-unspsc7#25.10.19.06.00#Go cart#25.10.19.00.00
-unspsc7#25.10.20.00.00#War vehicles#25.10.00.00.00
-unspsc7#25.10.20.01.00#Tanks#25.10.20.00.00
-unspsc7#25.10.20.02.00#Armored fighting vehicles#25.10.20.00.00
-unspsc7#25.10.20.03.00#Self propelled artillery#25.10.20.00.00
-unspsc7#25.10.21.00.00#Truck tractors#25.10.00.00.00
-unspsc7#25.10.21.01.00#Low cab forward tractors#25.10.21.00.00
-unspsc7#25.10.21.02.00#Long nose tractors with sleeper#25.10.21.00.00
-unspsc7#25.10.21.03.00#Long nose tractors without sleeper#25.10.21.00.00
-unspsc7#25.10.21.04.00#Cab over engine tractors with sleeper#25.10.21.00.00
-unspsc7#25.10.21.05.00#Cab over engine tractors without sleeper#25.10.21.00.00
-unspsc7#25.11.00.00.00#Marine transport#25.00.00.00.00
-unspsc7#25.11.15.00.00#Commercial marine craft#25.11.00.00.00
-unspsc7#25.11.15.01.00#Trawlers#25.11.15.00.00
-unspsc7#25.11.15.02.00#Fishing boats#25.11.15.00.00
-unspsc7#25.11.15.03.00#Cargo or container ships#25.11.15.00.00
-unspsc7#25.11.15.04.00#Dredging craft#25.11.15.00.00
-unspsc7#25.11.15.05.00#Tankers#25.11.15.00.00
-unspsc7#25.11.15.06.00#Tug boats#25.11.15.00.00
-unspsc7#25.11.15.07.00#Barges#25.11.15.00.00
-unspsc7#25.11.15.08.00#Passenger or automobile ferries#25.11.15.00.00
-unspsc7#25.11.15.09.00#Cruise ships#25.11.15.00.00
-unspsc7#25.11.15.10.00#Salvage ships#25.11.15.00.00
-unspsc7#25.11.15.11.00#Oil or gas crew boat#25.11.15.00.00
-unspsc7#25.11.15.12.00#Oil or gas workboat#25.11.15.00.00
-unspsc7#25.11.15.13.00#Seismic vessel#25.11.15.00.00
-unspsc7#25.11.16.00.00#Safety and rescue water craft#25.11.00.00.00
-unspsc7#25.11.16.01.00#Lifeboats or liferafts#25.11.16.00.00
-unspsc7#25.11.16.02.00#Fire fighting watercraft#25.11.16.00.00
-unspsc7#25.11.16.03.00#Rescue ships or boats#25.11.16.00.00
-unspsc7#25.11.17.00.00#Military watercraft#25.11.00.00.00
-unspsc7#25.11.17.01.00#Submarines#25.11.17.00.00
-unspsc7#25.11.17.02.00#Aircraft carriers#25.11.17.00.00
-unspsc7#25.11.17.03.00#Ammunition ships#25.11.17.00.00
-unspsc7#25.11.17.04.00#Amphibious assault ships#25.11.17.00.00
-unspsc7#25.11.17.05.00#Amphibious transport docks#25.11.17.00.00
-unspsc7#25.11.17.06.00#Amphibious command ships#25.11.17.00.00
-unspsc7#25.11.17.07.00#Command ships#25.11.17.00.00
-unspsc7#25.11.17.08.00#Cruisers#25.11.17.00.00
-unspsc7#25.11.17.09.00#Destroyers#25.11.17.00.00
-unspsc7#25.11.17.10.00#Dock landing ships#25.11.17.00.00
-unspsc7#25.11.17.11.00#Fast combat support ships#25.11.17.00.00
-unspsc7#25.11.17.12.00#Frigates#25.11.17.00.00
-unspsc7#25.11.17.13.00#Fleet oilers#25.11.17.00.00
-unspsc7#25.11.17.14.00#Utility landing watercraft#25.11.17.00.00
-unspsc7#25.11.17.15.00#Mechanized or utility watercraft#25.11.17.00.00
-unspsc7#25.11.17.16.00#Mine hunting ships#25.11.17.00.00
-unspsc7#25.11.17.17.00#Mine countermeasures ships#25.11.17.00.00
-unspsc7#25.11.17.18.00#Coastal patrol watercraft#25.11.17.00.00
-unspsc7#25.11.17.19.00#Submarine tenders#25.11.17.00.00
-unspsc7#25.11.17.20.00#Tank landing ships#25.11.17.00.00
-unspsc7#25.11.17.21.00#Air cushioned landing watercraft#25.11.17.00.00
-unspsc7#25.11.18.00.00#Recreational watercraft#25.11.00.00.00
-unspsc7#25.11.18.01.00#Recreational sailboats#25.11.18.00.00
-unspsc7#25.11.18.02.00#Recreational motorboats#25.11.18.00.00
-unspsc7#25.11.18.03.00#Recreational rowboats#25.11.18.00.00
-unspsc7#25.11.18.04.00#Canoes or kayaks#25.11.18.00.00
-unspsc7#25.11.18.05.00#Personal motorized watercraft#25.11.18.00.00
-unspsc7#25.11.18.06.00#Rafts#25.11.18.00.00
-unspsc7#25.11.19.00.00#Marine craft systems and subassemblies#25.11.00.00.00
-unspsc7#25.11.19.01.00#Marine craft communications systems#25.11.19.00.00
-unspsc7#25.11.19.02.00#Marine propellers#25.11.19.00.00
-unspsc7#25.11.19.03.00#Sails#25.11.19.00.00
-unspsc7#25.11.19.04.00#Paddles#25.11.19.00.00
-unspsc7#25.11.19.05.00#Marine ballast systems#25.11.19.00.00
-unspsc7#25.12.00.00.00#Railway and tramway machinery and equipment#25.00.00.00.00
-unspsc7#25.12.15.00.00#Locomotives and electric trolleys#25.12.00.00.00
-unspsc7#25.12.15.01.00#Diesel freight locomotives#25.12.15.00.00
-unspsc7#25.12.15.02.00#Electric freight locomotives#25.12.15.00.00
-unspsc7#25.12.15.03.00#Diesel passenger locomotives#25.12.15.00.00
-unspsc7#25.12.15.04.00#Electric passenger locomotives#25.12.15.00.00
-unspsc7#25.12.16.00.00#Railway and tramway cars#25.12.00.00.00
-unspsc7#25.12.16.01.00#Freight rail cars#25.12.16.00.00
-unspsc7#25.12.16.02.00#Tanker rail cars#25.12.16.00.00
-unspsc7#25.12.16.03.00#Passenger rail cars#25.12.16.00.00
-unspsc7#25.12.16.04.00#Hopper rail cars#25.12.16.00.00
-unspsc7#25.12.16.05.00#Streetcars or tramway cars#25.12.16.00.00
-unspsc7#25.12.17.00.00#Railroad support equipment and systems#25.12.00.00.00
-unspsc7#25.12.17.01.00#Rail switching systems#25.12.17.00.00
-unspsc7#25.12.17.02.00#Railway sleepers#25.12.17.00.00
-unspsc7#25.12.17.03.00#Railway tracks#25.12.17.00.00
-unspsc7#25.12.17.04.00#Railway frogs or fish plates#25.12.17.00.00
-unspsc7#25.13.00.00.00#Aircraft#25.00.00.00.00
-unspsc7#25.13.15.00.00#Powered fixed wing aircraft#25.13.00.00.00
-unspsc7#25.13.15.01.00#Fixed wing agricultural aircraft#25.13.15.00.00
-unspsc7#25.13.15.02.00#Cargo propeller aircraft#25.13.15.00.00
-unspsc7#25.13.15.03.00#Seaplanes#25.13.15.00.00
-unspsc7#25.13.15.04.00#Commercial passenger propeller aircraft#25.13.15.00.00
-unspsc7#25.13.15.05.00#Cargo jet aircraft#25.13.15.00.00
-unspsc7#25.13.15.06.00#Commercial passenger jet aircraft#25.13.15.00.00
-unspsc7#25.13.15.07.00#Private or business propeller aircraft#25.13.15.00.00
-unspsc7#25.13.15.08.00#Private or business jet aircraft#25.13.15.00.00
-unspsc7#25.13.16.00.00#Civilian and commercial rotary wing aircraft#25.13.00.00.00
-unspsc7#25.13.16.01.00#Passenger transport helicopters#25.13.16.00.00
-unspsc7#25.13.16.02.00#Cargo transport helicopters#25.13.16.00.00
-unspsc7#25.13.16.03.00#Agricultural helicopters#25.13.16.00.00
-unspsc7#25.13.16.04.00#Medical or rescue helicopters#25.13.16.00.00
-unspsc7#25.13.17.00.00#Military fixed wing aircraft#25.13.00.00.00
-unspsc7#25.13.17.01.00#Bomber aircraft#25.13.17.00.00
-unspsc7#25.13.17.02.00#Fighter bomber aircraft#25.13.17.00.00
-unspsc7#25.13.17.03.00#Fighter aircraft#25.13.17.00.00
-unspsc7#25.13.17.04.00#Attack aircraft#25.13.17.00.00
-unspsc7#25.13.17.05.00#Target or reconnaissance drones#25.13.17.00.00
-unspsc7#25.13.17.06.00#Military seaplanes#25.13.17.00.00
-unspsc7#25.13.17.07.00#Reconnaissance or surveillance aircraft#25.13.17.00.00
-unspsc7#25.13.17.08.00#Anti submarine aircraft#25.13.17.00.00
-unspsc7#25.13.17.09.00#Military transport aircraft#25.13.17.00.00
-unspsc7#25.13.18.00.00#Specialty aircraft#25.13.00.00.00
-unspsc7#25.13.18.01.00#Airships#25.13.18.00.00
-unspsc7#25.13.19.00.00#Military rotary wing aircraft#25.13.00.00.00
-unspsc7#25.13.19.02.00#Military transport helicopters#25.13.19.00.00
-unspsc7#25.13.19.03.00#Attack helicopters#25.13.19.00.00
-unspsc7#25.13.19.04.00#Reconnaissance helicopters#25.13.19.00.00
-unspsc7#25.13.19.05.00#Anti submarine helicopters#25.13.19.00.00
-unspsc7#25.13.19.06.00#Tilt rotor wing aircraft#25.13.19.00.00
-unspsc7#25.13.20.00.00#Recreational aircraft#25.13.00.00.00
-unspsc7#25.13.20.01.00#Hang gliders#25.13.20.00.00
-unspsc7#25.13.20.02.00#Hot air balloons#25.13.20.00.00
-unspsc7#25.13.20.03.00#Gliders#25.13.20.00.00
-unspsc7#25.13.20.04.00#Paragliders#25.13.20.00.00
-unspsc7#25.13.20.05.00#Ultra light aircraft#25.13.20.00.00
-unspsc7#25.13.21.00.00#Aircraft management services#25.13.00.00.00
-unspsc7#25.13.21.01.00#Aircraft pilots#25.13.21.00.00
-unspsc7#25.13.21.02.00#Aircraft maintenance or services#25.13.21.00.00
-unspsc7#25.15.00.00.00#Spacecraft#25.00.00.00.00
-unspsc7#25.15.15.00.00#Spaceships#25.15.00.00.00
-unspsc7#25.15.15.01.00#Manned spacecraft#25.15.15.00.00
-unspsc7#25.15.15.02.00#Spacecraft structures#25.15.15.00.00
-unspsc7#25.15.17.00.00#Satellites#25.15.00.00.00
-unspsc7#25.15.17.01.00#Communication satellites#25.15.17.00.00
-unspsc7#25.15.17.02.00#Weather satellites#25.15.17.00.00
-unspsc7#25.15.17.03.00#Military satellites#25.15.17.00.00
-unspsc7#25.15.17.04.00#Scientific or research satellites#25.15.17.00.00
-unspsc7#25.15.17.05.00#Navigation satellites#25.15.17.00.00
-unspsc7#25.15.17.06.00#Geostationary satellites#25.15.17.00.00
-unspsc7#25.15.17.07.00#Low earth orbit satellites#25.15.17.00.00
-unspsc7#25.15.17.08.00#Sun synchronous orbit satellites#25.15.17.00.00
-unspsc7#25.15.17.09.00#Geosynchronous satellites#25.15.17.00.00
-unspsc7#25.16.00.00.00#Non motorized cycles#25.00.00.00.00
-unspsc7#25.16.15.00.00#Pedal powered vehicles#25.16.00.00.00
-unspsc7#25.16.15.01.00#Touring bicycles#25.16.15.00.00
-unspsc7#25.16.15.02.00#Unicycles#25.16.15.00.00
-unspsc7#25.16.15.03.00#Tricycles#25.16.15.00.00
-unspsc7#25.16.15.04.00#Tandem bicycles#25.16.15.00.00
-unspsc7#25.16.15.05.00#Mountain bicycles#25.16.15.00.00
-unspsc7#25.16.15.06.00#Racing bicycles#25.16.15.00.00
-unspsc7#25.16.15.07.00#Bicycles#25.16.15.00.00
-unspsc7#25.16.15.08.00#Recumbent bicycles#25.16.15.00.00
-unspsc7#25.16.15.09.00#Childrens bicycles#25.16.15.00.00
-unspsc7#25.17.00.00.00#Transportation components and systems#25.00.00.00.00
-unspsc7#25.17.15.00.00#Windshield wipers#25.17.00.00.00
-unspsc7#25.17.15.01.00#Aircraft windshield wipers#25.17.15.00.00
-unspsc7#25.17.15.02.00#Automotive windshield wipers#25.17.15.00.00
-unspsc7#25.17.15.03.00#Locomotive windshield wipers#25.17.15.00.00
-unspsc7#25.17.15.04.00#Marine windshield wipers#25.17.15.00.00
-unspsc7#25.17.15.05.00#Truck windshield wipers#25.17.15.00.00
-unspsc7#25.17.15.06.00#Windshield wiper pump#25.17.15.00.00
-unspsc7#25.17.16.00.00#Defrosting and defogging systems#25.17.00.00.00
-unspsc7#25.17.16.01.00#Aircraft onboard defrosting or defogging systems#25.17.16.00.00
-unspsc7#25.17.16.02.00#Automotive defrosting or defogging systems#25.17.16.00.00
-unspsc7#25.17.16.03.00#Train defrosting or defogging systems#25.17.16.00.00
-unspsc7#25.17.17.00.00#Braking systems and components#25.17.00.00.00
-unspsc7#25.17.17.01.00#Aircraft braking systems#25.17.17.00.00
-unspsc7#25.17.17.02.00#Automotive braking systems#25.17.17.00.00
-unspsc7#25.17.17.03.00#Train braking systems#25.17.17.00.00
-unspsc7#25.17.17.04.00#Drag chutes#25.17.17.00.00
-unspsc7#25.17.17.05.00#Rotors#25.17.17.00.00
-unspsc7#25.17.17.06.00#Brake calipers#25.17.17.00.00
-unspsc7#25.17.17.07.00#Drum brake#25.17.17.00.00
-unspsc7#25.17.17.08.00#Disc brake#25.17.17.00.00
-unspsc7#25.17.17.09.00#Liquid cooled brake#25.17.17.00.00
-unspsc7#25.17.17.10.00#Master cylindars#25.17.17.00.00
-unspsc7#25.17.17.11.00#Slave cylinders#25.17.17.00.00
-unspsc7#25.17.17.12.00#Drum brake shoes#25.17.17.00.00
-unspsc7#25.17.17.13.00#Disc brake pads#25.17.17.00.00
-unspsc7#25.17.17.14.00#Brake drum#25.17.17.00.00
-unspsc7#25.17.17.15.00#Disc brake rotors#25.17.17.00.00
-unspsc7#25.17.17.16.00#Brake lines#25.17.17.00.00
-unspsc7#25.17.19.00.00#Wheels and wheel trims#25.17.00.00.00
-unspsc7#25.17.19.01.00#Automobile rims or wheels#25.17.19.00.00
-unspsc7#25.17.19.02.00#Train wheels#25.17.19.00.00
-unspsc7#25.17.19.03.00#Truck rims or wheels#25.17.19.00.00
-unspsc7#25.17.19.04.00#Aircraft wheels#25.17.19.00.00
-unspsc7#25.17.19.05.00#Tire valves#25.17.19.00.00
-unspsc7#25.17.20.00.00#Suspension system components#25.17.00.00.00
-unspsc7#25.17.20.01.00#Automobile suspension systems#25.17.20.00.00
-unspsc7#25.17.20.02.00#Truck suspension systems#25.17.20.00.00
-unspsc7#25.17.20.03.00#Truck shock absorbers#25.17.20.00.00
-unspsc7#25.17.20.04.00#Automobile shock absorbers#25.17.20.00.00
-unspsc7#25.17.20.05.00#Train suspension systems#25.17.20.00.00
-unspsc7#25.17.20.06.00#Steering systems#25.17.20.00.00
-unspsc7#25.17.20.07.00#Struts#25.17.20.00.00
-unspsc7#25.17.20.08.00#Ball joints#25.17.20.00.00
-unspsc7#25.17.20.09.00#Automotive bushings#25.17.20.00.00
-unspsc7#25.17.20.10.00#Sway bars#25.17.20.00.00
-unspsc7#25.17.20.11.00#Shock absorber#25.17.20.00.00
-unspsc7#25.17.21.00.00#Vehicle safety systems and components#25.17.00.00.00
-unspsc7#25.17.21.01.00#Airbags#25.17.21.00.00
-unspsc7#25.17.21.02.00#Aircraft lapbelts#25.17.21.00.00
-unspsc7#25.17.21.03.00#Aircraft harness restraints#25.17.21.00.00
-unspsc7#25.17.21.04.00#Seatbelts#25.17.21.00.00
-unspsc7#25.17.21.05.00#Collision avoidance systems#25.17.21.00.00
-unspsc7#25.17.21.06.00#Impact sensing systems#25.17.21.00.00
-unspsc7#25.17.21.07.00#Automotive seatbelts#25.17.21.00.00
-unspsc7#25.17.21.08.00#Head restraints#25.17.21.00.00
-unspsc7#25.17.22.00.00#Vehicle doors#25.17.00.00.00
-unspsc7#25.17.22.01.00#Removable automotive doors#25.17.22.00.00
-unspsc7#25.17.22.02.00#Aircraft doors#25.17.22.00.00
-unspsc7#25.17.22.03.00#Automotive doors#25.17.22.00.00
-unspsc7#25.17.22.04.00#Roll up truck doors#25.17.22.00.00
-unspsc7#25.17.22.05.00#Tailgates or liftgates#25.17.22.00.00
-unspsc7#25.17.23.00.00#Vehicle windows and windshields#25.17.00.00.00
-unspsc7#25.17.23.01.00#Automotive windshields#25.17.23.00.00
-unspsc7#25.17.23.02.00#Aircraft windows#25.17.23.00.00
-unspsc7#25.17.23.03.00#Automotive windows#25.17.23.00.00
-unspsc7#25.17.23.04.00#Aircraft windshields#25.17.23.00.00
-unspsc7#25.17.24.00.00#Fuel tanks and systems#25.17.00.00.00
-unspsc7#25.17.24.01.00#Aircraft internal fuel tanks#25.17.24.00.00
-unspsc7#25.17.24.02.00#Aircraft fuel drop tanks#25.17.24.00.00
-unspsc7#25.17.24.03.00#Aircraft propellent tanks#25.17.24.00.00
-unspsc7#25.17.24.04.00#Hybrid fuel storage systems#25.17.24.00.00
-unspsc7#25.17.24.05.00#Fuel injection systems#25.17.24.00.00
-unspsc7#25.17.24.06.00#Fuel tanks#25.17.24.00.00
-unspsc7#25.17.24.07.00#Breather elements#25.17.24.00.00
-unspsc7#25.17.24.08.00#Fuel or oil caps#25.17.24.00.00
-unspsc7#25.17.25.00.00#Tires and tire tubes#25.17.00.00.00
-unspsc7#25.17.25.01.00#Aircraft tires#25.17.25.00.00
-unspsc7#25.17.25.02.00#Automobile tire tubes#25.17.25.00.00
-unspsc7#25.17.25.03.00#Heavy truck tires#25.17.25.00.00
-unspsc7#25.17.25.04.00#Automobile or light truck tires#25.17.25.00.00
-unspsc7#25.17.25.05.00#Bicycle tubes#25.17.25.00.00
-unspsc7#25.17.25.06.00#Bicycle tires#25.17.25.00.00
-unspsc7#25.17.25.07.00#Tire cord#25.17.25.00.00
-unspsc7#25.17.25.08.00#Tire treads#25.17.25.00.00
-unspsc7#25.17.26.00.00#Vehicle trim and exterior covering#25.17.00.00.00
-unspsc7#25.17.26.01.00#Automotive trim#25.17.26.00.00
-unspsc7#25.17.26.02.00#Automotive fenders#25.17.26.00.00
-unspsc7#25.17.26.03.00#Vehicle bumpers#25.17.26.00.00
-unspsc7#25.17.26.04.00#Vehicle mirrors#25.17.26.00.00
-unspsc7#25.17.26.05.00#Vehicle grilles#25.17.26.00.00
-unspsc7#25.17.26.06.00#Vehicle hoods#25.17.26.00.00
-unspsc7#25.17.26.07.00#Vehicle side panels#25.17.26.00.00
-unspsc7#25.17.26.08.00#Fascias#25.17.26.00.00
-unspsc7#25.17.27.00.00#Environmental control systems#25.17.00.00.00
-unspsc7#25.17.27.01.00#Aircraft environmental control systems#25.17.27.00.00
-unspsc7#25.17.27.02.00#Space environmental control systems#25.17.27.00.00
-unspsc7#25.17.27.03.00#Marine environmental control systems#25.17.27.00.00
-unspsc7#25.17.27.04.00#Vehicle climate control systems#25.17.27.00.00
-unspsc7#25.17.28.00.00#Hydraulic systems and components#25.17.00.00.00
-unspsc7#25.17.28.01.00#Aircraft hydraulic systems#25.17.28.00.00
-unspsc7#25.17.28.02.00#Automotive hydraulic systems#25.17.28.00.00
-unspsc7#25.17.28.03.00#Marine hydraulic systems#25.17.28.00.00
-unspsc7#25.17.29.00.00#Exterior vehicle lighting#25.17.00.00.00
-unspsc7#25.17.29.01.00#Exterior automobile lighting#25.17.29.00.00
-unspsc7#25.17.29.02.00#Exterior aircraft lighting#25.17.29.00.00
-unspsc7#25.17.29.03.00#Exterior railcar lighting#25.17.29.00.00
-unspsc7#25.17.29.04.00#Exterior ship or boat lighting#25.17.29.00.00
-unspsc7#25.17.29.05.00#Headlamp wiper or washer systems#25.17.29.00.00
-unspsc7#25.17.29.06.00#Reflectors#25.17.29.00.00
-unspsc7#25.17.30.00.00#Interior vehicle lighting#25.17.00.00.00
-unspsc7#25.17.30.01.00#Interior automobile lighting#25.17.30.00.00
-unspsc7#25.17.30.02.00#Interior aircraft lighting#25.17.30.00.00
-unspsc7#25.17.30.03.00#Interior railcar lighting#25.17.30.00.00
-unspsc7#25.17.30.04.00#Interior ship or boat lighting#25.17.30.00.00
-unspsc7#25.17.30.05.00#Light plate assemblies#25.17.30.00.00
-unspsc7#25.17.31.00.00#Location and navigation systems and components#25.17.00.00.00
-unspsc7#25.17.31.01.00#Aircraft digital altitude control systems#25.17.31.00.00
-unspsc7#25.17.31.02.00#Aircraft navigation beacons#25.17.31.00.00
-unspsc7#25.17.31.03.00#Terrain following systems#25.17.31.00.00
-unspsc7#25.17.31.04.00#Aircraft guidance systems#25.17.31.00.00
-unspsc7#25.17.31.05.00#Aircraft steering controls#25.17.31.00.00
-unspsc7#25.17.31.06.00#Spacecraft attitude control systems#25.17.31.00.00
-unspsc7#25.17.31.07.00#Vehicular global positioning systems#25.17.31.00.00
-unspsc7#25.17.32.00.00#Communications related systems#25.17.00.00.00
-unspsc7#25.17.32.01.00#Aircraft communication systems#25.17.32.00.00
-unspsc7#25.17.32.02.00#Flight recorders#25.17.32.00.00
-unspsc7#25.17.32.03.00#Aircraft countermeasures#25.17.32.00.00
-unspsc7#25.17.32.04.00#Aircraft encryption or decryption systems#25.17.32.00.00
-unspsc7#25.17.32.05.00#Aircraft telemetry systems#25.17.32.00.00
-unspsc7#25.17.32.06.00#Aircraft interface electronics#25.17.32.00.00
-unspsc7#25.17.33.00.00#Master control systems#25.17.00.00.00
-unspsc7#25.17.33.01.00#Flight computer systems#25.17.33.00.00
-unspsc7#25.17.33.02.00#Spacecraft command modules#25.17.33.00.00
-unspsc7#25.17.33.03.00#Automotive computer systems#25.17.33.00.00
-unspsc7#25.17.33.04.00#Electronic ignition systems#25.17.33.00.00
-unspsc7#25.17.34.00.00#Vehicle emergency systems#25.17.00.00.00
-unspsc7#25.17.34.01.00#Aircraft fire control or extinguishing systems#25.17.34.00.00
-unspsc7#25.17.34.02.00#Aircraft escape or ejection systems#25.17.34.00.00
-unspsc7#25.17.34.03.00#Aircraft warning systems#25.17.34.00.00
-unspsc7#25.17.35.00.00#Vehicle power systems#25.17.00.00.00
-unspsc7#25.17.35.01.00#Spacecraft solar cells#25.17.35.00.00
-unspsc7#25.17.35.02.00#Spacecraft solar arrays#25.17.35.00.00
-unspsc7#25.17.36.00.00#Vehicle instrumentation#25.17.00.00.00
-unspsc7#25.17.36.01.00#Aircraft cockpit displays#25.17.36.00.00
-unspsc7#25.17.37.00.00#Exhaust and emission controls#25.17.00.00.00
-unspsc7#25.17.37.01.00#Catalytic converters#25.17.37.00.00
-unspsc7#25.17.37.02.00#Mufflers#25.17.37.00.00
-unspsc7#25.17.37.03.00#Exhaust manifolds#25.17.37.00.00
-unspsc7#25.17.38.00.00#Drivetrain systems#25.17.00.00.00
-unspsc7#25.17.38.01.00#Driving axles#25.17.38.00.00
-unspsc7#25.17.38.02.00#Non driving axles#25.17.38.00.00
-unspsc7#25.17.38.03.00#Axle housings#25.17.38.00.00
-unspsc7#25.17.38.04.00#Axle spindles#25.17.38.00.00
-unspsc7#25.17.38.05.00#Differentials#25.17.38.00.00
-unspsc7#25.17.38.06.00#Constant velocity joints#25.17.38.00.00
-unspsc7#25.17.38.07.00#Axle shafts#25.17.38.00.00
-unspsc7#25.17.38.08.00#Axle repair kits#25.17.38.00.00
-unspsc7#25.17.38.09.00#Axle hubs#25.17.38.00.00
-unspsc7#25.17.38.10.00#Universal joints#25.17.38.00.00
-unspsc7#25.17.38.11.00#Drive shafts#25.17.38.00.00
-unspsc7#25.17.38.12.00#Manual transmissions#25.17.38.00.00
-unspsc7#25.17.38.13.00#Automatic transmissions#25.17.38.00.00
-unspsc7#25.17.38.14.00#Power take offs#25.17.38.00.00
-unspsc7#25.17.38.15.00#Clutch cables#25.17.38.00.00
-unspsc7#25.17.38.16.00#Hydraulic clutch parts#25.17.38.00.00
-unspsc7#25.17.38.17.00#Drivetrain chains#25.17.38.00.00
-unspsc7#25.17.39.00.00#Electrical components#25.17.00.00.00
-unspsc7#25.17.39.01.00#Ignition#25.17.39.00.00
-unspsc7#25.17.40.00.00#Engine coolant system#25.17.00.00.00
-unspsc7#25.17.40.01.00#Fan#25.17.40.00.00
-unspsc7#25.17.40.02.00#Vehicle radiators#25.17.40.00.00
-unspsc7#25.17.40.03.00#Radiator caps#25.17.40.00.00
-unspsc7#25.17.40.04.00#Engine coolant#25.17.40.00.00
-unspsc7#25.17.41.00.00#Roof systems#25.17.00.00.00
-unspsc7#25.17.41.01.00#Emergency vehicle exits#25.17.41.00.00
-unspsc7#25.17.41.02.00#Permanent convertible roof tops#25.17.41.00.00
-unspsc7#25.17.41.03.00#Removable hard roof tops#25.17.41.00.00
-unspsc7#25.17.41.04.00#Removable soft roof tops#25.17.41.00.00
-unspsc7#25.17.41.05.00#Roof rack systems#25.17.41.00.00
-unspsc7#25.17.41.06.00#Sunroofs or moonroofs#25.17.41.00.00
-unspsc7#25.17.41.07.00#Wind deflectors#25.17.41.00.00
-unspsc7#25.17.42.00.00#Steering system#25.17.00.00.00
-unspsc7#25.17.42.01.00#Steering sacks#25.17.42.00.00
-unspsc7#25.17.42.02.00#Steering suspension#25.17.42.00.00
-unspsc7#25.17.42.03.00#Ball joint#25.17.42.00.00
-unspsc7#25.17.42.04.00#Power steering system#25.17.42.00.00
-unspsc7#25.17.42.05.00#Tie Rods#25.17.42.00.00
-unspsc7#25.17.42.06.00#Drag link#25.17.42.00.00
-unspsc7#25.17.42.07.00#Steering linkage#25.17.42.00.00
-unspsc7#25.17.42.08.00#Hublock#25.17.42.00.00
-unspsc7#25.17.42.09.00#Pinions#25.17.42.00.00
-unspsc7#25.17.42.10.00#Power steering tuning cable#25.17.42.00.00
-unspsc7#25.17.43.00.00#Vehicle exhaust systems#25.17.00.00.00
-unspsc7#25.17.43.01.00#Catalytic converters#25.17.43.00.00
-unspsc7#25.17.43.02.00#Mufflers or resonators#25.17.43.00.00
-unspsc7#25.17.44.00.00#Vehicle interior systems#25.17.00.00.00
-unspsc7#25.17.44.01.00#Bezels#25.17.44.00.00
-unspsc7#25.17.44.02.00#Consoles#25.17.44.00.00
-unspsc7#25.17.44.03.00#Door panels#25.17.44.00.00
-unspsc7#25.17.44.04.00#Headliners#25.17.44.00.00
-unspsc7#25.17.44.05.00#Instrument clusters#25.17.44.00.00
-unspsc7#25.17.44.06.00#Instrument panels#25.17.44.00.00
-unspsc7#25.17.44.07.00#Pedals#25.17.44.00.00
-unspsc7#25.17.44.08.00#Power ports or lighters#25.17.44.00.00
-unspsc7#25.17.44.09.00#Sun visors#25.17.44.00.00
-unspsc7#25.17.45.00.00#Vehicle safety and security systems#25.17.00.00.00
-unspsc7#25.17.45.01.00#Air bag propellant canisters#25.17.45.00.00
-unspsc7#25.17.45.02.00#Air bags#25.17.45.00.00
-unspsc7#25.17.45.03.00#Vehicle horns#25.17.45.00.00
-unspsc7#25.17.45.04.00#Remote locking system#25.17.45.00.00
-unspsc7#25.17.45.05.00#Vehicle stability control systems#25.17.45.00.00
-unspsc7#25.17.45.06.00#Vehicle traction control systems#25.17.45.00.00
-unspsc7#25.17.45.07.00#Vehicle navigation systems#25.17.45.00.00
-unspsc7#25.17.45.08.00#Wheel clamps#25.17.45.00.00
-unspsc7#25.17.46.00.00#Vehicle seating systems#25.17.00.00.00
-unspsc7#25.17.46.01.00#Seat covers#25.17.46.00.00
-unspsc7#25.17.46.02.00#Seat cushions or bolsters#25.17.46.00.00
-unspsc7#25.17.46.03.00#Seat frames#25.17.46.00.00
-unspsc7#25.18.00.00.00#Vehicle bodies and trailers#25.00.00.00.00
-unspsc7#25.18.15.00.00#Aircraft fuselage and components#25.18.00.00.00
-unspsc7#25.18.15.01.00#Aircraft spoilers#25.18.15.00.00
-unspsc7#25.18.15.02.00#Aircraft fins#25.18.15.00.00
-unspsc7#25.18.15.03.00#Aircraft horizontal stabilizers#25.18.15.00.00
-unspsc7#25.18.15.04.00#Aircraft canards#25.18.15.00.00
-unspsc7#25.18.15.05.00#Aircraft slats#25.18.15.00.00
-unspsc7#25.18.15.06.00#Aircraft flaps#25.18.15.00.00
-unspsc7#25.18.15.07.00#Aircraft rudders#25.18.15.00.00
-unspsc7#25.18.15.08.00#Aircraft elevators#25.18.15.00.00
-unspsc7#25.18.15.09.00#Aircraft ailerons#25.18.15.00.00
-unspsc7#25.18.15.10.00#Aircraft propeller#25.18.15.00.00
-unspsc7#25.18.15.11.00#Aircraft wings#25.18.15.00.00
-unspsc7#25.18.15.12.00#Aircraft fuselage#25.18.15.00.00
-unspsc7#25.18.15.13.00#Aircraft radomes#25.18.15.00.00
-unspsc7#25.18.15.14.00#Aircraft rotors#25.18.15.00.00
-unspsc7#25.18.15.15.00#Aircraft lift fans#25.18.15.00.00
-unspsc7#25.18.15.16.00#Aircraft canopies#25.18.15.00.00
-unspsc7#25.18.15.17.00#Aircraft furnishings#25.18.15.00.00
-unspsc7#25.18.16.00.00#Automotive chassis#25.18.00.00.00
-unspsc7#25.18.16.01.00#Automobile chassis#25.18.16.00.00
-unspsc7#25.18.16.02.00#Truck chassis#25.18.16.00.00
-unspsc7#25.18.16.03.00#Motorcycle frames#25.18.16.00.00
-unspsc7#25.18.16.04.00#Truck chassis#25.18.16.00.00
-unspsc7#25.18.17.00.00#Product and material trailers#25.18.00.00.00
-unspsc7#25.18.17.01.00#Container trailers#25.18.17.00.00
-unspsc7#25.18.17.02.00#Flatbed trailers#25.18.17.00.00
-unspsc7#25.18.17.03.00#Livestock trailers#25.18.17.00.00
-unspsc7#25.18.17.04.00#Non temperature controlled tanker trailers#25.18.17.00.00
-unspsc7#25.18.17.05.00#Temperature controlled tanker trailers#25.18.17.00.00
-unspsc7#25.18.17.06.00#Temperature controlled container trailers#25.18.17.00.00
-unspsc7#25.18.17.07.00#Automobile carrier trailers#25.18.17.00.00
-unspsc7#25.18.17.08.00#Trailer hitches#25.18.17.00.00
-unspsc7#25.18.17.09.00#Skip loader#25.18.17.00.00
-unspsc7#25.18.17.10.00#Trailer end plates#25.18.17.00.00
-unspsc7#25.18.17.11.00#Snowmobile trailer#25.18.17.00.00
-unspsc7#25.18.17.12.00#Motorcycle trailer#25.18.17.00.00
-unspsc7#25.18.17.13.00#Boat Trailer#25.18.17.00.00
-unspsc7#25.19.00.00.00#Transportation services equipment#25.00.00.00.00
-unspsc7#25.19.15.00.00#Air transportation support systems and equipment#25.19.00.00.00
-unspsc7#25.19.15.01.00#Ground support training systems#25.19.15.00.00
-unspsc7#25.19.15.02.00#Ground support test or maintenance systems#25.19.15.00.00
-unspsc7#25.19.15.03.00#Integrated maintenance information systems#25.19.15.00.00
-unspsc7#25.19.15.04.00#Aircraft flight simulators or trainers#25.19.15.00.00
-unspsc7#25.19.15.05.00#Aircraft cargo handling equipment#25.19.15.00.00
-unspsc7#25.19.15.06.00#Aircraft refueling equipment#25.19.15.00.00
-unspsc7#25.19.15.07.00#Aircraft deicing equipment#25.19.15.00.00
-unspsc7#25.19.15.08.00#Jetways#25.19.15.00.00
-unspsc7#25.19.15.09.00#Aircraft pushback or tow tractors#25.19.15.00.00
-unspsc7#25.19.15.10.00#Ground power units for aircraft#25.19.15.00.00
-unspsc7#25.19.15.11.00#Lavatory service equipment for aircraft#25.19.15.00.00
-unspsc7#25.19.15.12.00#Airstairs or stair trucks#25.19.15.00.00
-unspsc7#25.19.16.00.00#Space transportation support systems and equipment#25.19.00.00.00
-unspsc7#25.19.16.01.00#Spacecraft flight simulators#25.19.16.00.00
-unspsc7#25.19.16.02.00#Payload delivery systems for spacecraft#25.19.16.00.00
-unspsc7#25.19.16.03.00#Liquid launch vehicles#25.19.16.00.00
-unspsc7#25.19.16.04.00#Solid launch vehicles#25.19.16.00.00
-unspsc7#25.19.16.05.00#Spacecraft service modules#25.19.16.00.00
-unspsc7#25.19.17.00.00#Vehicle servicing equipment#25.19.00.00.00
-unspsc7#25.19.17.01.00#Wheel balancing equipment#25.19.17.00.00
-unspsc7#25.19.17.02.00#Wheel alignment equipment#25.19.17.00.00
-unspsc7#25.19.17.03.00#Tire changing machines#25.19.17.00.00
-unspsc7#25.19.17.04.00#Engine or vehicle stands#25.19.17.00.00
-unspsc7#25.20.00.00.00#Aerospace systems and components and equipment#25.00.00.00.00
-unspsc7#25.20.15.00.00#Aircraft fuselage and components#25.20.00.00.00
-unspsc7#25.20.15.01.00#Aircraft spoilers#25.20.15.00.00
-unspsc7#25.20.15.02.00#Aircraft fins#25.20.15.00.00
-unspsc7#25.20.15.03.00#Aircraft horizontal stabilizers#25.20.15.00.00
-unspsc7#25.20.15.04.00#Aircraft canards#25.20.15.00.00
-unspsc7#25.20.15.05.00#Aircraft slats#25.20.15.00.00
-unspsc7#25.20.15.06.00#Aircraft flaps or flap drives#25.20.15.00.00
-unspsc7#25.20.15.07.00#Aircraft rudders#25.20.15.00.00
-unspsc7#25.20.15.08.00#Aircraft elevators#25.20.15.00.00
-unspsc7#25.20.15.09.00#Aircraft ailerons#25.20.15.00.00
-unspsc7#25.20.15.10.00#Aircraft propellers#25.20.15.00.00
-unspsc7#25.20.15.11.00#Aircraft wings#25.20.15.00.00
-unspsc7#25.20.15.12.00#Aircraft fuselages#25.20.15.00.00
-unspsc7#25.20.15.13.00#Aircraft radomes#25.20.15.00.00
-unspsc7#25.20.15.14.00#Aircraft rotors#25.20.15.00.00
-unspsc7#25.20.15.15.00#Aircraft lift fans#25.20.15.00.00
-unspsc7#25.20.15.16.00#Aircraft canopies#25.20.15.00.00
-unspsc7#25.20.15.17.00#Aircraft furnishings#25.20.15.00.00
-unspsc7#25.20.16.00.00#Aerospace location and navigation systems and components#25.20.00.00.00
-unspsc7#25.20.16.01.00#Aircraft digital altitude control systems#25.20.16.00.00
-unspsc7#25.20.16.02.00#Aircraft navigation beacons#25.20.16.00.00
-unspsc7#25.20.16.03.00#Air to ground terrain following systems#25.20.16.00.00
-unspsc7#25.20.16.04.00#Aircraft guidance systems#25.20.16.00.00
-unspsc7#25.20.16.05.00#Aircraft steering controls#25.20.16.00.00
-unspsc7#25.20.16.06.00#Spacecraft altitude control systems#25.20.16.00.00
-unspsc7#25.20.17.00.00#Flight communications related systems#25.20.00.00.00
-unspsc7#25.20.17.01.00#Aircraft communication systems#25.20.17.00.00
-unspsc7#25.20.17.02.00#Flight data recorders#25.20.17.00.00
-unspsc7#25.20.17.03.00#Aircraft countermeasures#25.20.17.00.00
-unspsc7#25.20.17.04.00#Encryption or decryption systems#25.20.17.00.00
-unspsc7#25.20.17.05.00#Aircraft telemetry systems#25.20.17.00.00
-unspsc7#25.20.17.06.00#Aircraft interface electronics#25.20.17.00.00
-unspsc7#25.20.17.07.00#Aircraft gyros#25.20.17.00.00
-unspsc7#25.20.17.08.00#Aircraft cameras#25.20.17.00.00
-unspsc7#25.20.17.09.00#Aircraft probes or sensors#25.20.17.00.00
-unspsc7#25.20.17.10.00#Aircraft waveguides#25.20.17.00.00
-unspsc7#25.20.18.00.00#Aircraft master control systems#25.20.00.00.00
-unspsc7#25.20.18.01.00#Flight computer systems#25.20.18.00.00
-unspsc7#25.20.18.02.00#Spacecraft command modules#25.20.18.00.00
-unspsc7#25.20.19.00.00#Aircraft emergency systems#25.20.00.00.00
-unspsc7#25.20.19.01.00#Aircraft fire control or extinguishing systems#25.20.19.00.00
-unspsc7#25.20.19.02.00#Aircraft escape or ejection systems#25.20.19.00.00
-unspsc7#25.20.19.03.00#Aircraft warning systems#25.20.19.00.00
-unspsc7#25.20.19.04.00#Parachutes#25.20.19.00.00
-unspsc7#25.20.20.00.00#Aircraft power systems#25.20.00.00.00
-unspsc7#25.20.20.01.00#Spacecraft solar cells#25.20.20.00.00
-unspsc7#25.20.20.02.00#Spacecraft solar arrays#25.20.20.00.00
-unspsc7#25.20.20.03.00#Aircraft power supply units#25.20.20.00.00
-unspsc7#25.20.20.04.00#Auxilliary power unit systems (APUs)#25.20.20.00.00
-unspsc7#25.20.21.00.00#Flight instrumentation#25.20.00.00.00
-unspsc7#25.20.21.01.00#Aerospace cockpit indicators#25.20.21.00.00
-unspsc7#25.20.21.02.00#Aerospace cockpit gauges#25.20.21.00.00
-unspsc7#25.20.21.03.00#Aerospace cockpit display panels#25.20.21.00.00
-unspsc7#25.20.21.04.00#Aerospace cockpit switch panels#25.20.21.00.00
-unspsc7#25.20.21.05.00#Aerospace head up display (HUDs)#25.20.21.00.00
-unspsc7#25.20.22.00.00#Aircraft landing and braking systems#25.20.00.00.00
-unspsc7#25.20.22.01.00#Aircraft braking systems#25.20.22.00.00
-unspsc7#25.20.22.02.00#Aircraft drag chutes#25.20.22.00.00
-unspsc7#25.20.22.03.00#Aircraft wheels#25.20.22.00.00
-unspsc7#25.20.22.04.00#Landing gear assemblies#25.20.22.00.00
-unspsc7#25.20.22.05.00#Aircraft tires#25.20.22.00.00
-unspsc7#25.20.22.06.00#Aicraft anti skid controls#25.20.22.00.00
-unspsc7#25.20.23.00.00#Aircraft passenger restraints#25.20.00.00.00
-unspsc7#25.20.23.01.00#Aircraft lapbelts#25.20.23.00.00
-unspsc7#25.20.23.02.00#Aircraft harness restraints#25.20.23.00.00
-unspsc7#25.20.24.00.00#Aircraft fuel tanks and systems#25.20.00.00.00
-unspsc7#25.20.24.01.00#Aircraft internal fuel tanks#25.20.24.00.00
-unspsc7#25.20.24.02.00#Aircraft fuel drop tanks#25.20.24.00.00
-unspsc7#25.20.24.03.00#Aircraft propellant tanks#25.20.24.00.00
-unspsc7#25.20.24.04.00#Aircraft hybrid fuel storage systems#25.20.24.00.00
-unspsc7#25.20.24.05.00#Aircraft fuel management systems#25.20.24.00.00
-unspsc7#25.20.24.06.00#Postboosters#25.20.24.00.00
-unspsc7#25.20.25.00.00#Aircraft equipment#25.20.00.00.00
-unspsc7#25.20.25.01.00#Aircraft hydraulic systems#25.20.25.00.00
-unspsc7#25.20.25.02.00#Exterior aircraft lighting#25.20.25.00.00
-unspsc7#25.20.25.03.00#Interior aircraft lighting#25.20.25.00.00
-unspsc7#25.20.25.04.00#Aircraft windshield wipers#25.20.25.00.00
-unspsc7#25.20.25.05.00#Aircraft onboard defrosting or defogging systems#25.20.25.00.00
-unspsc7#25.20.25.06.00#Aircraft doors#25.20.25.00.00
-unspsc7#25.20.25.07.00#Aircraft windows#25.20.25.00.00
-unspsc7#25.20.25.08.00#Aircraft windshields#25.20.25.00.00
-unspsc7#25.20.25.09.00#Aircraft shock mounts#25.20.25.00.00
-unspsc7#25.20.25.10.00#Aircraft slip ring assemblies#25.20.25.00.00
-unspsc7#25.20.26.00.00#Aircraft environmental control systems and components#25.20.00.00.00
-unspsc7#25.20.26.01.00#Aircraft environment controllers#25.20.26.00.00
-unspsc7#25.20.26.02.00#Aircraft environment regulators#25.20.26.00.00
-unspsc7#25.20.26.03.00#Aircraft cooling turbines#25.20.26.00.00
-unspsc7#25.20.26.04.00#Aircraft cooling fans#25.20.26.00.00
-unspsc7#25.20.26.05.00#Aircraft heat exchangers#25.20.26.00.00
-unspsc7#25.20.26.06.00#Aircraft water separators#25.20.26.00.00
-unspsc7#25.20.26.07.00#Aircraft oxygen equipment#25.20.26.00.00
-unspsc7#25.20.27.00.00#Aircraft accumulators#25.20.00.00.00
-unspsc7#25.20.27.01.00#Hydraulic aircraft accumulators#25.20.27.00.00
-unspsc7#25.20.27.02.00#Pneumatic aircraft accumulators#25.20.27.00.00
-unspsc7#26.00.00.00.00#Power Generation and Distribution Machinery and Accessories#26.00.00.00.00
-unspsc7#26.10.00.00.00#Power sources#26.00.00.00.00
-unspsc7#26.10.15.00.00#Engines#26.10.00.00.00
-unspsc7#26.10.15.01.00#Hydraulic engines#26.10.15.00.00
-unspsc7#26.10.15.02.00#Pneumatic engines#26.10.15.00.00
-unspsc7#26.10.15.03.00#Gas engines#26.10.15.00.00
-unspsc7#26.10.15.04.00#Diesel engines#26.10.15.00.00
-unspsc7#26.10.15.05.00#Steam engines#26.10.15.00.00
-unspsc7#26.10.15.06.00#Turbine engines#26.10.15.00.00
-unspsc7#26.10.15.07.00#Turbofan engines#26.10.15.00.00
-unspsc7#26.10.15.08.00#Thermal engines#26.10.15.00.00
-unspsc7#26.10.15.09.00#Hydroelectric engines#26.10.15.00.00
-unspsc7#26.10.15.10.00#Rotary engines#26.10.15.00.00
-unspsc7#26.10.15.11.00#Hydraulic turbine engines#26.10.15.00.00
-unspsc7#26.10.15.12.00#Turboprop engines#26.10.15.00.00
-unspsc7#26.10.15.13.00#Engine Repair Kit#26.10.15.00.00
-unspsc7#26.10.16.00.00#Motors#26.10.00.00.00
-unspsc7#26.10.16.01.00#Induction motors#26.10.16.00.00
-unspsc7#26.10.16.02.00#Alternating current (AC) motors#26.10.16.00.00
-unspsc7#26.10.16.03.00#Direct current (DC) motors#26.10.16.00.00
-unspsc7#26.10.16.04.00#Alternating current or direct current (AC/DC) motors#26.10.16.00.00
-unspsc7#26.10.16.05.00#Dynamotors#26.10.16.00.00
-unspsc7#26.10.16.06.00#Servomotors#26.10.16.00.00
-unspsc7#26.10.16.07.00#Torque motors#26.10.16.00.00
-unspsc7#26.10.16.08.00#Liquid rocket motors#26.10.16.00.00
-unspsc7#26.10.16.09.00#Synchronous motors#26.10.16.00.00
-unspsc7#26.10.16.10.00#Solid rocket motors#26.10.16.00.00
-unspsc7#26.10.16.11.00#Single phase motors#26.10.16.00.00
-unspsc7#26.10.16.12.00#Multi phase motors#26.10.16.00.00
-unspsc7#26.10.16.13.00#Hydraulic motors#26.10.16.00.00
-unspsc7#26.10.16.14.00#Step motors#26.10.16.00.00
-unspsc7#26.10.16.15.00#Alternators#26.10.16.00.00
-unspsc7#26.10.16.16.00#Carbon Brushes#26.10.16.00.00
-unspsc7#26.10.17.00.00#Engine components#26.10.00.00.00
-unspsc7#26.10.17.01.00#Aircraft burners#26.10.17.00.00
-unspsc7#26.10.17.02.00#Aircraft engine compressors#26.10.17.00.00
-unspsc7#26.10.17.03.00#Aircraft engine diffusers#26.10.17.00.00
-unspsc7#26.10.17.04.00#Engine mounts#26.10.17.00.00
-unspsc7#26.10.17.05.00#Aircraft drive shafts power take offs or screw jacks#26.10.17.00.00
-unspsc7#26.10.17.06.00#Aircraft transmission units#26.10.17.00.00
-unspsc7#26.10.17.07.00#Balance shafts#26.10.17.00.00
-unspsc7#26.10.17.08.00#Cam followers#26.10.17.00.00
-unspsc7#26.10.17.09.00#Camshaft lifters#26.10.17.00.00
-unspsc7#26.10.17.10.00#Carburetors#26.10.17.00.00
-unspsc7#26.10.17.11.00#Connecting rods#26.10.17.00.00
-unspsc7#26.10.17.12.00#Crankcase ventillation valves#26.10.17.00.00
-unspsc7#26.10.17.13.00#Cylinder heads#26.10.17.00.00
-unspsc7#26.10.17.14.00#Engine coolant radiators#26.10.17.00.00
-unspsc7#26.10.17.15.00#Engine covers or pans#26.10.17.00.00
-unspsc7#26.10.17.16.00#Engine forgings#26.10.17.00.00
-unspsc7#26.10.17.17.00#Engine heaters#26.10.17.00.00
-unspsc7#26.10.17.18.00#Engine ignition systems#26.10.17.00.00
-unspsc7#26.10.17.19.00#Supercharger#26.10.17.00.00
-unspsc7#26.10.17.20.00#Turbocharger#26.10.17.00.00
-unspsc7#26.10.17.21.00#Engine pulleys#26.10.17.00.00
-unspsc7#26.10.17.22.00#Fuel injection systems#26.10.17.00.00
-unspsc7#26.10.17.23.00#Fuel vapor canister#26.10.17.00.00
-unspsc7#26.10.17.24.00#Glow plugs#26.10.17.00.00
-unspsc7#26.10.17.25.00#Oil dip sticks and tubes#26.10.17.00.00
-unspsc7#26.10.17.26.00#Oil strainers#26.10.17.00.00
-unspsc7#26.10.17.27.00#Piston rings#26.10.17.00.00
-unspsc7#26.10.17.28.00#Push rod tubes#26.10.17.00.00
-unspsc7#26.10.17.29.00#Rocker arm balls#26.10.17.00.00
-unspsc7#26.10.17.30.00#Rocker arm shafts#26.10.17.00.00
-unspsc7#26.10.17.31.00#Rocker arms#26.10.17.00.00
-unspsc7#26.10.17.32.00#Spark plugs#26.10.17.00.00
-unspsc7#26.10.17.33.00#Carburetor jet#26.10.17.00.00
-unspsc7#26.10.17.34.00#Carburetor diaphragms#26.10.17.00.00
-unspsc7#26.10.17.35.00#Oil pan#26.10.17.00.00
-unspsc7#26.10.17.36.00#Pistons#26.10.17.00.00
-unspsc7#26.10.17.37.00#Timing chain#26.10.17.00.00
-unspsc7#26.10.17.38.00#Intake manifolds#26.10.17.00.00
-unspsc7#26.10.17.39.00#Exhaust manifolds#26.10.17.00.00
-unspsc7#26.10.17.40.00#Fuel injectors#26.10.17.00.00
-unspsc7#26.10.17.41.00#Engine sleeves#26.10.17.00.00
-unspsc7#26.10.17.42.00#Fuel injection manifolds#26.10.17.00.00
-unspsc7#26.10.17.43.00#Engine valves#26.10.17.00.00
-unspsc7#26.10.17.44.00#Turbocharger#26.10.17.00.00
-unspsc7#26.10.17.45.00#camshaft#26.10.17.00.00
-unspsc7#26.10.17.46.00#Cylinder head#26.10.17.00.00
-unspsc7#26.10.17.47.00#Push rods#26.10.17.00.00
-unspsc7#26.10.17.48.00#Engine flywheel#26.10.17.00.00
-unspsc7#26.10.17.49.00#Crankshaft#26.10.17.00.00
-unspsc7#26.10.17.50.00#Throttle#26.10.17.00.00
-unspsc7#26.10.17.51.00#Electronic engine controls#26.10.17.00.00
-unspsc7#26.10.17.52.00#Vibration dampers#26.10.17.00.00
-unspsc7#26.10.18.00.00#Motor or generator components#26.10.00.00.00
-unspsc7#26.10.18.01.00#Motor brushes#26.10.18.00.00
-unspsc7#26.10.18.02.00#Armatures#26.10.18.00.00
-unspsc7#26.10.18.03.00#Rotors or stators#26.10.18.00.00
-unspsc7#26.10.18.04.00#Motor mounts or bases#26.10.18.00.00
-unspsc7#26.10.19.00.00#Internal combustion engine components#26.10.00.00.00
-unspsc7#26.10.19.01.00#Crank shafts#26.10.19.00.00
-unspsc7#26.10.19.02.00#Spark plugs#26.10.19.00.00
-unspsc7#26.10.19.03.00#Camshaft#26.10.19.00.00
-unspsc7#26.10.19.04.00#Fuel injection nozzle#26.10.19.00.00
-unspsc7#26.10.19.05.00#Cylinder block#26.10.19.00.00
-unspsc7#26.11.00.00.00#Batteries and generators and kinetic power transmission#26.00.00.00.00
-unspsc7#26.11.15.00.00#Kinetic power transmission#26.11.00.00.00
-unspsc7#26.11.15.01.00#Commutators#26.11.15.00.00
-unspsc7#26.11.15.03.00#Adjustable speed drives#26.11.15.00.00
-unspsc7#26.11.15.04.00#Belt drives#26.11.15.00.00
-unspsc7#26.11.15.05.00#Chain drives#26.11.15.00.00
-unspsc7#26.11.15.06.00#Linear motion devices#26.11.15.00.00
-unspsc7#26.11.15.07.00#Clutches#26.11.15.00.00
-unspsc7#26.11.15.08.00#Power take offs#26.11.15.00.00
-unspsc7#26.11.15.09.00#Transmission yokes#26.11.15.00.00
-unspsc7#26.11.15.10.00#Transmission shafts#26.11.15.00.00
-unspsc7#26.11.15.11.00#Universal joints#26.11.15.00.00
-unspsc7#26.11.15.12.00#Axles#26.11.15.00.00
-unspsc7#26.11.15.13.00#Power transmission chains#26.11.15.00.00
-unspsc7#26.11.15.14.00#Knuckle joints#26.11.15.00.00
-unspsc7#26.11.15.15.00#Servo controller#26.11.15.00.00
-unspsc7#26.11.15.16.00#Step drive or stepper drive or step indexer#26.11.15.00.00
-unspsc7#26.11.15.17.00#Planet carrier#26.11.15.00.00
-unspsc7#26.11.15.18.00#Tension strut#26.11.15.00.00
-unspsc7#26.11.15.19.00#Torque converters#26.11.15.00.00
-unspsc7#26.11.15.20.00#Trunnions#26.11.15.00.00
-unspsc7#26.11.15.21.00#Pusher head#26.11.15.00.00
-unspsc7#26.11.15.22.00#Pusher assembly#26.11.15.00.00
-unspsc7#26.11.15.23.00#Backstops#26.11.15.00.00
-unspsc7#26.11.16.00.00#Power generators#26.11.00.00.00
-unspsc7#26.11.16.01.00#Diesel generators#26.11.16.00.00
-unspsc7#26.11.16.02.00#Hydro electric generators#26.11.16.00.00
-unspsc7#26.11.16.03.00#Wind generators#26.11.16.00.00
-unspsc7#26.11.16.04.00#Gas generators#26.11.16.00.00
-unspsc7#26.11.16.05.00#Thermal generators#26.11.16.00.00
-unspsc7#26.11.16.06.00#Hydraulic generators#26.11.16.00.00
-unspsc7#26.11.16.07.00#Solar generators#26.11.16.00.00
-unspsc7#26.11.17.00.00#Batteries and accessories#26.11.00.00.00
-unspsc7#26.11.17.01.00#Rechargeable batteries#26.11.17.00.00
-unspsc7#26.11.17.02.00#Alkaline batteries#26.11.17.00.00
-unspsc7#26.11.17.03.00#Vehicle batteries#26.11.17.00.00
-unspsc7#26.11.17.04.00#Battery chargers#26.11.17.00.00
-unspsc7#26.11.17.05.00#Dry cell batteries#26.11.17.00.00
-unspsc7#26.11.17.06.00#Electronic batteries#26.11.17.00.00
-unspsc7#26.11.17.07.00#Lead acid batteries#26.11.17.00.00
-unspsc7#26.11.17.08.00#Nickel iron batteries#26.11.17.00.00
-unspsc7#26.11.17.09.00#Nickel cadmium batteries#26.11.17.00.00
-unspsc7#26.11.17.10.00#Product specific battery packs#26.11.17.00.00
-unspsc7#26.11.17.11.00#Lithium batteries#26.11.17.00.00
-unspsc7#26.11.17.12.00#Nickel hydrogen batteries#26.11.17.00.00
-unspsc7#26.11.17.13.00#Thermal batteries#26.11.17.00.00
-unspsc7#26.11.17.14.00#Zync air#26.11.17.00.00
-unspsc7#26.11.17.15.00#Zinc coal battery#26.11.17.00.00
-unspsc7#26.11.17.16.00#Mercury oxide battery#26.11.17.00.00
-unspsc7#26.11.17.17.00#Manganese batteries#26.11.17.00.00
-unspsc7#26.11.17.18.00#Silver oxide batteries#26.11.17.00.00
-unspsc7#26.11.17.19.00#Battery testers#26.11.17.00.00
-unspsc7#26.11.18.00.00#Drive components#26.11.00.00.00
-unspsc7#26.11.18.01.00#V belts#26.11.18.00.00
-unspsc7#26.11.18.02.00#Geared timing belts#26.11.18.00.00
-unspsc7#26.11.18.03.00#Round belts#26.11.18.00.00
-unspsc7#26.11.18.04.00#Flat belts#26.11.18.00.00
-unspsc7#26.11.18.05.00#Belt tensioners#26.11.18.00.00
-unspsc7#26.11.18.06.00#Transmission pulleys#26.11.18.00.00
-unspsc7#26.11.18.07.00#Timing pulley#26.11.18.00.00
-unspsc7#26.11.18.08.00#Trantorque#26.11.18.00.00
-unspsc7#26.11.18.09.00#Belt guards#26.11.18.00.00
-unspsc7#26.11.19.00.00#Clutches#26.11.00.00.00
-unspsc7#26.11.19.01.00#Plate clutches#26.11.19.00.00
-unspsc7#26.11.19.02.00#Diaphragm clutch#26.11.19.00.00
-unspsc7#26.11.19.03.00#Centrifugal clutch#26.11.19.00.00
-unspsc7#26.11.19.04.00#Semi centrifugal clutch#26.11.19.00.00
-unspsc7#26.11.19.05.00#Free wheel clutch#26.11.19.00.00
-unspsc7#26.11.19.06.00#Torque converter#26.11.19.00.00
-unspsc7#26.11.19.07.00#Fluid coupling#26.11.19.00.00
-unspsc7#26.11.19.08.00#Cam clutches#26.11.19.00.00
-unspsc7#26.11.20.00.00#Clutch parts and accessories#26.11.00.00.00
-unspsc7#26.11.20.01.00#Pressure plate#26.11.20.00.00
-unspsc7#26.11.20.02.00#Driven plate#26.11.20.00.00
-unspsc7#26.11.20.03.00#Clutch plates#26.11.20.00.00
-unspsc7#26.11.21.00.00#Industrial braking systems#26.11.00.00.00
-unspsc7#26.11.21.01.00#Air or pneumatic braking systems#26.11.21.00.00
-unspsc7#26.11.21.02.00#Hydraulic braking systems#26.11.21.00.00
-unspsc7#26.11.21.03.00#Mechanical braking systems#26.11.21.00.00
-unspsc7#26.11.21.04.00#Braking clutch assemblies#26.11.21.00.00
-unspsc7#26.12.00.00.00#Electrical wire and cable and harness#26.00.00.00.00
-unspsc7#26.12.15.00.00#Electrical wire#26.12.00.00.00
-unspsc7#26.12.15.01.00#Heating wire#26.12.15.00.00
-unspsc7#26.12.15.05.00#Fixture wire#26.12.15.00.00
-unspsc7#26.12.15.07.00#Radio or television wire#26.12.15.00.00
-unspsc7#26.12.15.08.00#Automotive or aircraft wire#26.12.15.00.00
-unspsc7#26.12.15.09.00#Magnet wire#26.12.15.00.00
-unspsc7#26.12.15.10.00#Trolley wire#26.12.15.00.00
-unspsc7#26.12.15.14.00#Underground wire#26.12.15.00.00
-unspsc7#26.12.15.15.00#Silicon asbestos (SA) wire#26.12.15.00.00
-unspsc7#26.12.15.17.00#Copper wire#26.12.15.00.00
-unspsc7#26.12.15.19.00#Copper clad aluminum wire#26.12.15.00.00
-unspsc7#26.12.15.20.00#Copper steel wire#26.12.15.00.00
-unspsc7#26.12.15.21.00#Bronze wire#26.12.15.00.00
-unspsc7#26.12.15.22.00#Bare wire#26.12.15.00.00
-unspsc7#26.12.15.23.00#Covered but not insulated wire#26.12.15.00.00
-unspsc7#26.12.15.24.00#Insulated or covered wire#26.12.15.00.00
-unspsc7#26.12.15.32.00#Inter connect wire#26.12.15.00.00
-unspsc7#26.12.15.33.00#Kaptan wire#26.12.15.00.00
-unspsc7#26.12.15.34.00#Polymide wire#26.12.15.00.00
-unspsc7#26.12.15.35.00#Extension cord#26.12.15.00.00
-unspsc7#26.12.15.36.00#Extension cord#26.12.15.00.00
-unspsc7#26.12.15.37.00#Wire assembly#26.12.15.00.00
-unspsc7#26.12.15.38.00#Wire assembly#26.12.15.00.00
-unspsc7#26.12.16.00.00#Electrical cable#26.12.00.00.00
-unspsc7#26.12.16.01.00#Heating cable#26.12.16.00.00
-unspsc7#26.12.16.02.00#Submarine cable#26.12.16.00.00
-unspsc7#26.12.16.03.00#Control cable#26.12.16.00.00
-unspsc7#26.12.16.04.00#Signal cable#26.12.16.00.00
-unspsc7#26.12.16.05.00#Automotive or aircraft cable#26.12.16.00.00
-unspsc7#26.12.16.06.00#Coaxial cable#26.12.16.00.00
-unspsc7#26.12.16.07.00#Fiber optic cable#26.12.16.00.00
-unspsc7#26.12.16.08.00#Aerial cable#26.12.16.00.00
-unspsc7#26.12.16.09.00#Network cable#26.12.16.00.00
-unspsc7#26.12.16.10.00#Bronze cable#26.12.16.00.00
-unspsc7#26.12.16.11.00#Bare cable#26.12.16.00.00
-unspsc7#26.12.16.12.00#Covered but not insulated cable#26.12.16.00.00
-unspsc7#26.12.16.13.00#Insulated or covered cable#26.12.16.00.00
-unspsc7#26.12.16.14.00#Building cable#26.12.16.00.00
-unspsc7#26.12.16.15.00#Power cable for direct burial#26.12.16.00.00
-unspsc7#26.12.16.16.00#Telecommunications cable#26.12.16.00.00
-unspsc7#26.12.16.17.00#Triaxial cable#26.12.16.00.00
-unspsc7#26.12.16.18.00#Crosslinked polykaene cable#26.12.16.00.00
-unspsc7#26.12.16.19.00#Floropolymer cable#26.12.16.00.00
-unspsc7#26.12.16.20.00#Inter connect cable#26.12.16.00.00
-unspsc7#26.12.16.21.00#Kaptan cable#26.12.16.00.00
-unspsc7#26.12.16.22.00#Polymide cable#26.12.16.00.00
-unspsc7#26.12.16.23.00#Radio frequency (RF) cable#26.12.16.00.00
-unspsc7#26.12.16.24.00#Ribbon or flat cable#26.12.16.00.00
-unspsc7#26.12.16.25.00#Copper cable#26.12.16.00.00
-unspsc7#26.12.17.00.00#Wiring harness#26.12.00.00.00
-unspsc7#26.12.17.01.00#Panel wiring harness#26.12.17.00.00
-unspsc7#26.12.17.02.00#Trunk wiring harness#26.12.17.00.00
-unspsc7#26.12.17.03.00#Communication wiring harness#26.12.17.00.00
-unspsc7#26.12.17.04.00#Specialty wiring harness#26.12.17.00.00
-unspsc7#26.13.00.00.00#Power generation#26.00.00.00.00
-unspsc7#26.13.15.00.00#Power plants#26.13.00.00.00
-unspsc7#26.13.15.01.00#Diesel power plants#26.13.15.00.00
-unspsc7#26.13.15.02.00#Geothermal power plants#26.13.15.00.00
-unspsc7#26.13.15.03.00#Hydro power plants#26.13.15.00.00
-unspsc7#26.13.15.04.00#Gas power plants#26.13.15.00.00
-unspsc7#26.13.15.05.00#Marine power plants#26.13.15.00.00
-unspsc7#26.13.15.06.00#Petrol power plants#26.13.15.00.00
-unspsc7#26.13.15.07.00#Solar power plants#26.13.15.00.00
-unspsc7#26.13.15.08.00#Steam power plants#26.13.15.00.00
-unspsc7#26.13.15.09.00#Wind power plants#26.13.15.00.00
-unspsc7#26.13.15.10.00#Thermal power plants#26.13.15.00.00
-unspsc7#26.14.00.00.00#Atomic and nuclear energy machinery and equipment#26.00.00.00.00
-unspsc7#26.14.16.00.00#Subcritical assembly equipment#26.14.00.00.00
-unspsc7#26.14.16.01.00#Subcritical assembly fuel#26.14.16.00.00
-unspsc7#26.14.16.02.00#Subcritical assembly components#26.14.16.00.00
-unspsc7#26.14.16.03.00#Subcritical assembly moderator#26.14.16.00.00
-unspsc7#26.14.17.00.00#Dosimetry equipment#26.14.00.00.00
-unspsc7#26.14.17.01.00#Ionization chamber dosimeters#26.14.17.00.00
-unspsc7#26.14.17.02.00#Dosimeters#26.14.17.00.00
-unspsc7#26.14.17.03.00#Secondary standard dosimetry systems#26.14.17.00.00
-unspsc7#26.14.17.04.00#Phantom dosimeters#26.14.17.00.00
-unspsc7#26.14.18.00.00#Hot cell devices#26.14.00.00.00
-unspsc7#26.14.18.01.00#Hot cell remote handling equipment#26.14.18.00.00
-unspsc7#26.14.18.02.00#Hot cell remote viewing device#26.14.18.00.00
-unspsc7#26.14.18.03.00#Hot cell shielding doors#26.14.18.00.00
-unspsc7#26.14.18.04.00#Hot cell samplers#26.14.18.00.00
-unspsc7#26.14.18.05.00#Hot cell sample processing equipment#26.14.18.00.00
-unspsc7#26.14.18.06.00#Hot cell special tools#26.14.18.00.00
-unspsc7#26.14.18.07.00#Hot cell lead glass windows#26.14.18.00.00
-unspsc7#26.14.18.08.00#Hot cell decontamination systems#26.14.18.00.00
-unspsc7#26.14.18.09.00#Hot cell penetration devices#26.14.18.00.00
-unspsc7#26.14.19.00.00#Industrial nucleonic instruments#26.14.00.00.00
-unspsc7#26.14.19.01.00#Industrial nucleonic airborne dust measuring systems#26.14.19.00.00
-unspsc7#26.14.19.02.00#Beta gauge measuring systems#26.14.19.00.00
-unspsc7#26.14.19.04.00#Industrial nucleonic liquid level gauges#26.14.19.00.00
-unspsc7#26.14.19.05.00#Industrial nucleonic mass per unit ore measuring systems#26.14.19.00.00
-unspsc7#26.14.19.06.00#Industrial nucleonic moisture measuring systems#26.14.19.00.00
-unspsc7#26.14.19.07.00#Industrial nucleonic thickness measuring systems#26.14.19.00.00
-unspsc7#26.14.19.08.00#Industrial nucleonic flow measuring systems#26.14.19.00.00
-unspsc7#26.14.19.09.00#Isotope separators#26.14.19.00.00
-unspsc7#26.14.19.10.00#Isotope production facilities#26.14.19.00.00
-unspsc7#26.14.19.11.00#Isotope calibrator activity meters#26.14.19.00.00
-unspsc7#26.14.20.00.00#Irradiation equipment#26.14.00.00.00
-unspsc7#26.14.20.01.00#Irradiation gamma sources#26.14.20.00.00
-unspsc7#26.14.20.02.00#Magnet systems#26.14.20.00.00
-unspsc7#26.14.20.03.00#NIM nuclear electronic units#26.14.20.00.00
-unspsc7#26.14.20.04.00#Neutron irradiators#26.14.20.00.00
-unspsc7#26.14.20.05.00#Irradiation testing capsules#26.14.20.00.00
-unspsc7#26.14.20.06.00#Irradiation sample transfer system#26.14.20.00.00
-unspsc7#26.14.20.07.00#Neutron generators#26.14.20.00.00
-unspsc7#26.14.21.00.00#Nuclear reactor equipment#26.14.00.00.00
-unspsc7#26.14.21.01.00#Nuclear reactor specimen irradiation containers#26.14.21.00.00
-unspsc7#26.14.21.06.00#Nuclear reactor control rod systems#26.14.21.00.00
-unspsc7#26.14.21.08.00#Nuclear reactor in core neutron flux instrumentation#26.14.21.00.00
-unspsc7#26.14.21.17.00#Nuclear reactor earthquake instrumentation#26.14.21.00.00
-unspsc7#26.14.22.00.00#Nuclear fuel equipment#26.14.00.00.00
-unspsc7#26.14.22.01.00#Nuclear fuel cladding tubes#26.14.22.00.00
-unspsc7#26.14.22.02.00#Nuclear fuel element failure detection systems#26.14.22.00.00
-unspsc7#26.14.23.00.00#Radiation shielding equipment#26.14.00.00.00
-unspsc7#26.14.23.02.00#Lead screens#26.14.23.00.00
-unspsc7#26.14.23.03.00#Film badges#26.14.23.00.00
-unspsc7#26.14.23.04.00#Radiographic equipment#26.14.23.00.00
-unspsc7#26.14.23.06.00#Shielded containers for radiation protection#26.14.23.00.00
-unspsc7#26.14.23.07.00#Lead chambers or safes for radiation protection#26.14.23.00.00
-unspsc7#26.14.23.08.00#Lead bricks for radiation protection#26.14.23.00.00
-unspsc7#26.14.23.10.00#Glove boxes for radiation protection#26.14.23.00.00
-unspsc7#26.14.23.11.00#Radiation shielding windows#26.14.23.00.00
-unspsc7#26.14.23.12.00#Lead for radiation shielding#26.14.23.00.00
-unspsc7#26.14.24.00.00#Radioactive waste equipment#26.14.00.00.00
-unspsc7#26.14.24.01.00#Radioactive waste treatment compactors or incinerators#26.14.24.00.00
-unspsc7#26.14.24.02.00#Nuclear radiation absorbers#26.14.24.00.00
-unspsc7#26.14.24.03.00#Atomic energy evaporators or concentrators or dryers#26.14.24.00.00
-unspsc7#26.14.24.04.00#Door interlocking systems#26.14.24.00.00
-unspsc7#26.14.24.05.00#Radioactive waste dosage systems#26.14.24.00.00
-unspsc7#26.14.24.06.00#Radioactive waste solidification systems#26.14.24.00.00
-unspsc7#26.14.24.07.00#Radioactive waste disposal systems#26.14.24.00.00
-unspsc7#26.14.24.08.00#Radioactive waste treatment facilities#26.14.24.00.00
-unspsc7#27.00.00.00.00#Tools and General Machinery#27.00.00.00.00
-unspsc7#27.11.00.00.00#Hand tools#27.00.00.00.00
-unspsc7#27.11.15.00.00#Cutting and crimping and punching tools#27.11.00.00.00
-unspsc7#27.11.15.01.00#Knife blades#27.11.15.00.00
-unspsc7#27.11.15.02.00#Razor knives#27.11.15.00.00
-unspsc7#27.11.15.03.00#Utility knives#27.11.15.00.00
-unspsc7#27.11.15.04.00#Pocket knives#27.11.15.00.00
-unspsc7#27.11.15.05.00#Punches or nail sets or drifts#27.11.15.00.00
-unspsc7#27.11.15.06.00#Shears#27.11.15.00.00
-unspsc7#27.11.15.07.00#Metal cutters#27.11.15.00.00
-unspsc7#27.11.15.08.00#Saws#27.11.15.00.00
-unspsc7#27.11.15.09.00#Augers#27.11.15.00.00
-unspsc7#27.11.15.10.00#Stripping tools#27.11.15.00.00
-unspsc7#27.11.15.11.00#Wire cutters#27.11.15.00.00
-unspsc7#27.11.15.12.00#Bolt cutters#27.11.15.00.00
-unspsc7#27.11.15.13.00#Hose cutter#27.11.15.00.00
-unspsc7#27.11.15.14.00#Glass cutters#27.11.15.00.00
-unspsc7#27.11.15.15.00#Hand or push drill#27.11.15.00.00
-unspsc7#27.11.15.16.00#Punching pliers#27.11.15.00.00
-unspsc7#27.11.15.17.00#Knife blade sets or dispensers#27.11.15.00.00
-unspsc7#27.11.15.20.00#Nut splitters#27.11.15.00.00
-unspsc7#27.11.15.21.00#Nibblers#27.11.15.00.00
-unspsc7#27.11.16.00.00#Forming tools#27.11.00.00.00
-unspsc7#27.11.16.01.00#Mallets#27.11.16.00.00
-unspsc7#27.11.16.02.00#Hammers#27.11.16.00.00
-unspsc7#27.11.16.03.00#Anvils#27.11.16.00.00
-unspsc7#27.11.16.04.00#Hatchets#27.11.16.00.00
-unspsc7#27.11.16.05.00#Picks#27.11.16.00.00
-unspsc7#27.11.16.06.00#Bolt cutters#27.11.16.00.00
-unspsc7#27.11.16.07.00#Swaging tools#27.11.16.00.00
-unspsc7#27.11.17.00.00#Wrenches and drivers#27.11.00.00.00
-unspsc7#27.11.17.01.00#Screwdrivers#27.11.17.00.00
-unspsc7#27.11.17.02.00#Nut drivers#27.11.17.00.00
-unspsc7#27.11.17.03.00#Socket sets#27.11.17.00.00
-unspsc7#27.11.17.04.00#Sockets#27.11.17.00.00
-unspsc7#27.11.17.05.00#Box end wrenches#27.11.17.00.00
-unspsc7#27.11.17.06.00#Open end wrenches#27.11.17.00.00
-unspsc7#27.11.17.07.00#Adjustable wrenches#27.11.17.00.00
-unspsc7#27.11.17.08.00#Pipe wrenches#27.11.17.00.00
-unspsc7#27.11.17.09.00#Screw extractors#27.11.17.00.00
-unspsc7#27.11.17.10.00#Hex keys#27.11.17.00.00
-unspsc7#27.11.17.11.00#Ratchets#27.11.17.00.00
-unspsc7#27.11.17.12.00#Pullers#27.11.17.00.00
-unspsc7#27.11.17.13.00#Combination wrenches#27.11.17.00.00
-unspsc7#27.11.17.14.00#Specialty wrenches#27.11.17.00.00
-unspsc7#27.11.17.15.00#Torque wrenches#27.11.17.00.00
-unspsc7#27.11.17.16.00#Torx keys#27.11.17.00.00
-unspsc7#27.11.17.17.00#Pipe extractors#27.11.17.00.00
-unspsc7#27.11.17.18.00#Tap extractors#27.11.17.00.00
-unspsc7#27.11.17.19.00#Torque wrench#27.11.17.00.00
-unspsc7#27.11.17.20.00#T handle tap wrenches#27.11.17.00.00
-unspsc7#27.11.17.21.00#Cranks#27.11.17.00.00
-unspsc7#27.11.17.22.00#Die stocks#27.11.17.00.00
-unspsc7#27.11.17.23.00#Tube wrenches#27.11.17.00.00
-unspsc7#27.11.17.24.00#Hook wrenches#27.11.17.00.00
-unspsc7#27.11.17.25.00#Offset socket wrenches#27.11.17.00.00
-unspsc7#27.11.17.26.00#Spanner wrenches#27.11.17.00.00
-unspsc7#27.11.18.00.00#Measuring and layout tools#27.11.00.00.00
-unspsc7#27.11.18.01.00#Tape measures#27.11.18.00.00
-unspsc7#27.11.18.02.00#Levels#27.11.18.00.00
-unspsc7#27.11.18.03.00#Squares#27.11.18.00.00
-unspsc7#27.11.18.04.00#Plumb bobs#27.11.18.00.00
-unspsc7#27.11.18.05.00#Protractors#27.11.18.00.00
-unspsc7#27.11.18.06.00#Nail or router gauges#27.11.18.00.00
-unspsc7#27.11.18.07.00#Straight edges#27.11.18.00.00
-unspsc7#27.11.18.08.00#Rules#27.11.18.00.00
-unspsc7#27.11.18.09.00#Bevels#27.11.18.00.00
-unspsc7#27.11.18.10.00#Stud finders#27.11.18.00.00
-unspsc7#27.11.18.11.00#Calipers#27.11.18.00.00
-unspsc7#27.11.19.00.00#Rough and finishing tools#27.11.00.00.00
-unspsc7#27.11.19.01.00#Cold chisels#27.11.19.00.00
-unspsc7#27.11.19.02.00#Files#27.11.19.00.00
-unspsc7#27.11.19.03.00#Planes#27.11.19.00.00
-unspsc7#27.11.19.04.00#Rasps#27.11.19.00.00
-unspsc7#27.11.19.05.00#Grinders#27.11.19.00.00
-unspsc7#27.11.19.06.00#Wood chisels#27.11.19.00.00
-unspsc7#27.11.19.07.00#Wire brushes#27.11.19.00.00
-unspsc7#27.11.19.08.00#Sharpening tools or kits#27.11.19.00.00
-unspsc7#27.11.19.09.00#Spatulas#27.11.19.00.00
-unspsc7#27.11.19.11.00#Cross cut chisels#27.11.19.00.00
-unspsc7#27.11.20.00.00#Garden tools#27.11.00.00.00
-unspsc7#27.11.20.01.00#Machetes#27.11.20.00.00
-unspsc7#27.11.20.02.00#Spades#27.11.20.00.00
-unspsc7#27.11.20.03.00#Rakes#27.11.20.00.00
-unspsc7#27.11.20.04.00#Shovels#27.11.20.00.00
-unspsc7#27.11.20.05.00#Axes#27.11.20.00.00
-unspsc7#27.11.20.06.00#Scythes#27.11.20.00.00
-unspsc7#27.11.20.07.00#Secateurs or pruning shears#27.11.20.00.00
-unspsc7#27.11.20.08.00#Hoes#27.11.20.00.00
-unspsc7#27.11.20.09.00#Scrapers#27.11.20.00.00
-unspsc7#27.11.20.10.00#Garden forks#27.11.20.00.00
-unspsc7#27.11.20.11.00#Tool handles#27.11.20.00.00
-unspsc7#27.11.20.12.00#Garden riddles#27.11.20.00.00
-unspsc7#27.11.20.13.00#Post hole digger#27.11.20.00.00
-unspsc7#27.11.20.14.00#Lawnmowers#27.11.20.00.00
-unspsc7#27.11.20.15.00#Lawn scarifiers#27.11.20.00.00
-unspsc7#27.11.20.16.00#Hedge clippers#27.11.20.00.00
-unspsc7#27.11.20.17.00#Digging bars#27.11.20.00.00
-unspsc7#27.11.21.00.00#Holding and clamping tools#27.11.00.00.00
-unspsc7#27.11.21.01.00#Pipe vises#27.11.21.00.00
-unspsc7#27.11.21.02.00#Bench vises#27.11.21.00.00
-unspsc7#27.11.21.03.00#Hand clamps#27.11.21.00.00
-unspsc7#27.11.21.04.00#Tongs#27.11.21.00.00
-unspsc7#27.11.21.05.00#Tweezers#27.11.21.00.00
-unspsc7#27.11.21.06.00#Linemans pliers#27.11.21.00.00
-unspsc7#27.11.21.07.00#Adjustable widemouth pliers#27.11.21.00.00
-unspsc7#27.11.21.08.00#Needlenose pliers#27.11.21.00.00
-unspsc7#27.11.21.09.00#Magnetic tools#27.11.21.00.00
-unspsc7#27.11.21.10.00#Retaining ring pliers#27.11.21.00.00
-unspsc7#27.11.21.11.00#Alligator pliers#27.11.21.00.00
-unspsc7#27.11.21.12.00#Tongue and groove pliers#27.11.21.00.00
-unspsc7#27.11.21.13.00#Slip or groove joint pliers#27.11.21.00.00
-unspsc7#27.11.21.14.00#Diagonal cut pliers#27.11.21.00.00
-unspsc7#27.11.21.15.00#Locking pliers#27.11.21.00.00
-unspsc7#27.11.21.16.00#Fence pliers#27.11.21.00.00
-unspsc7#27.11.21.17.00#End cut pliers#27.11.21.00.00
-unspsc7#27.11.21.18.00#Wire lug crimping tool#27.11.21.00.00
-unspsc7#27.11.21.19.00#Light bulb changer#27.11.21.00.00
-unspsc7#27.11.21.20.00#C clamps#27.11.21.00.00
-unspsc7#27.11.21.21.00#Corner clamps#27.11.21.00.00
-unspsc7#27.11.21.22.00#Sheet metal pliers#27.11.21.00.00
-unspsc7#27.11.21.23.00#Bench dog#27.11.21.00.00
-unspsc7#27.11.21.24.00#Tensioners#27.11.21.00.00
-unspsc7#27.11.21.25.00#Round nose pliers#27.11.21.00.00
-unspsc7#27.11.21.26.00#Flat nose pliers#27.11.21.00.00
-unspsc7#27.11.21.27.00#Strap wrenches#27.11.21.00.00
-unspsc7#27.11.22.00.00#Masonry and concrete tools#27.11.00.00.00
-unspsc7#27.11.22.01.00#Trowels#27.11.22.00.00
-unspsc7#27.11.22.02.00#Floats#27.11.22.00.00
-unspsc7#27.11.22.03.00#Edgers#27.11.22.00.00
-unspsc7#27.11.22.04.00#Cement mixers#27.11.22.00.00
-unspsc7#27.11.23.00.00#Marking tools#27.11.00.00.00
-unspsc7#27.11.23.01.00#Branders#27.11.23.00.00
-unspsc7#27.11.23.02.00#Awls#27.11.23.00.00
-unspsc7#27.11.23.03.00#Scribers#27.11.23.00.00
-unspsc7#27.11.23.04.00#Chalk lines#27.11.23.00.00
-unspsc7#27.11.23.05.00#Metal markers or holders#27.11.23.00.00
-unspsc7#27.11.23.06.00#Metal stamps#27.11.23.00.00
-unspsc7#27.11.24.00.00#Fastener setting tools#27.11.00.00.00
-unspsc7#27.11.24.01.00#Staple guns#27.11.24.00.00
-unspsc7#27.11.24.02.00#Rivet tools#27.11.24.00.00
-unspsc7#27.11.24.03.00#Banders#27.11.24.00.00
-unspsc7#27.11.24.04.00#Anchor setting tools#27.11.24.00.00
-unspsc7#27.11.24.05.00#Bolt heaters#27.11.24.00.00
-unspsc7#27.11.25.00.00#Prying and bending tools#27.11.00.00.00
-unspsc7#27.11.25.01.00#Pipe bending tools#27.11.25.00.00
-unspsc7#27.11.25.02.00#Pry bars#27.11.25.00.00
-unspsc7#27.11.25.03.00#Conduit benders#27.11.25.00.00
-unspsc7#27.11.25.04.00#Wedges#27.11.25.00.00
-unspsc7#27.11.25.05.00#Packing hooks#27.11.25.00.00
-unspsc7#27.11.25.06.00#Hickeys#27.11.25.00.00
-unspsc7#27.11.26.00.00#Sealing tools#27.11.00.00.00
-unspsc7#27.11.26.01.00#Putty knives#27.11.26.00.00
-unspsc7#27.11.26.02.00#Caulking tools#27.11.26.00.00
-unspsc7#27.11.27.00.00#Power tools#27.11.00.00.00
-unspsc7#27.11.27.01.00#Power blowers#27.11.27.00.00
-unspsc7#27.11.27.02.00#Power buffers#27.11.27.00.00
-unspsc7#27.11.27.03.00#Power drills#27.11.27.00.00
-unspsc7#27.11.27.04.00#Power grinders#27.11.27.00.00
-unspsc7#27.11.27.05.00#Demolition hammers#27.11.27.00.00
-unspsc7#27.11.27.06.00#Power planes#27.11.27.00.00
-unspsc7#27.11.27.07.00#Power routers#27.11.27.00.00
-unspsc7#27.11.27.08.00#Power sanders#27.11.27.00.00
-unspsc7#27.11.27.09.00#Power saws#27.11.27.00.00
-unspsc7#27.11.27.10.00#Power screwguns#27.11.27.00.00
-unspsc7#27.11.27.11.00#Power staple guns#27.11.27.00.00
-unspsc7#27.11.27.12.00#Power trimmers#27.11.27.00.00
-unspsc7#27.11.27.13.00#Impact wrenches#27.11.27.00.00
-unspsc7#27.11.27.14.00#Power caulking guns#27.11.27.00.00
-unspsc7#27.11.27.15.00#Power chippers#27.11.27.00.00
-unspsc7#27.11.27.16.00#Power nail guns#27.11.27.00.00
-unspsc7#27.11.27.17.00#Heat guns#27.11.27.00.00
-unspsc7#27.11.27.18.00#Engravers#27.11.27.00.00
-unspsc7#27.11.27.19.00#Glue guns#27.11.27.00.00
-unspsc7#27.11.27.20.00#Torque tools#27.11.27.00.00
-unspsc7#27.11.27.21.00#Biscuit jointers#27.11.27.00.00
-unspsc7#27.11.28.00.00#Tool attachments#27.11.00.00.00
-unspsc7#27.11.28.01.00#Drill bits#27.11.28.00.00
-unspsc7#27.11.28.02.00#Saw blades#27.11.28.00.00
-unspsc7#27.11.28.03.00#End mills#27.11.28.00.00
-unspsc7#27.11.28.04.00#Stamping dies or punches#27.11.28.00.00
-unspsc7#27.11.28.05.00#Threading dies#27.11.28.00.00
-unspsc7#27.11.28.06.00#Threading taps#27.11.28.00.00
-unspsc7#27.11.28.07.00#Chucks#27.11.28.00.00
-unspsc7#27.11.28.08.00#Collets#27.11.28.00.00
-unspsc7#27.11.28.09.00#Tool holders#27.11.28.00.00
-unspsc7#27.11.28.10.00#Thread repair kits#27.11.28.00.00
-unspsc7#27.11.28.11.00#Arbors#27.11.28.00.00
-unspsc7#27.11.28.12.00#Countersinks#27.11.28.00.00
-unspsc7#27.11.28.13.00#Extension pole#27.11.28.00.00
-unspsc7#27.11.28.14.00#Screwdriver bits#27.11.28.00.00
-unspsc7#27.11.28.15.00#Nut driver bits#27.11.28.00.00
-unspsc7#27.11.28.16.00#Abrasive disk#27.11.28.00.00
-unspsc7#27.11.28.17.00#Hole saws#27.11.28.00.00
-unspsc7#27.11.28.18.00#Vise jaw liners or caps#27.11.28.00.00
-unspsc7#27.11.28.19.00#Skiving tool cutter blades#27.11.28.00.00
-unspsc7#27.11.28.21.00#Router bits#27.11.28.00.00
-unspsc7#27.11.29.00.00#Dispensing tools#27.11.00.00.00
-unspsc7#27.11.29.01.00#Grease guns#27.11.29.00.00
-unspsc7#27.11.29.02.00#Industrial funnels#27.11.29.00.00
-unspsc7#27.11.29.03.00#Hand sprayers#27.11.29.00.00
-unspsc7#27.11.29.04.00#Resin guns#27.11.29.00.00
-unspsc7#27.11.29.05.00#Oil can#27.11.29.00.00
-unspsc7#27.11.29.06.00#Caulking guns#27.11.29.00.00
-unspsc7#27.11.29.07.00#Broadcast spreaders#27.11.29.00.00
-unspsc7#27.11.30.00.00#Brushes#27.11.00.00.00
-unspsc7#27.11.30.01.00#Scratch brushes#27.11.30.00.00
-unspsc7#27.11.30.02.00#Tube brushes#27.11.30.00.00
-unspsc7#27.11.30.03.00#Applicator brushes#27.11.30.00.00
-unspsc7#27.11.31.00.00#Pulling tools#27.11.00.00.00
-unspsc7#27.11.31.01.00#Fish tape#27.11.31.00.00
-unspsc7#27.11.31.02.00#Fuse pullers#27.11.31.00.00
-unspsc7#27.11.32.00.00#Tool kits#27.11.00.00.00
-unspsc7#27.11.32.01.00#General tool kits#27.11.32.00.00
-unspsc7#27.11.32.02.00#Bearing fitting tool kits#27.11.32.00.00
-unspsc7#27.11.32.03.00#Computer tool kits#27.11.32.00.00
-unspsc7#27.11.32.04.00#Electrician kits#27.11.32.00.00
-unspsc7#27.12.00.00.00#Hydraulic machinery and equipment#27.00.00.00.00
-unspsc7#27.12.15.00.00#Hydraulic presses#27.12.00.00.00
-unspsc7#27.12.15.01.00#Press return springs#27.12.15.00.00
-unspsc7#27.12.16.00.00#Hydraulic cylinders and pistons#27.12.00.00.00
-unspsc7#27.12.16.01.00#Cylinder pistons#27.12.16.00.00
-unspsc7#27.12.16.02.00#Hydraulic cylinders#27.12.16.00.00
-unspsc7#27.12.17.00.00#Hydraulic hose and tube fittings#27.12.00.00.00
-unspsc7#27.12.17.01.00#Hydraulic quick connectors#27.12.17.00.00
-unspsc7#27.12.17.02.00#Hydraulic tees or crosses#27.12.17.00.00
-unspsc7#27.12.17.03.00#Ferrules#27.12.17.00.00
-unspsc7#27.12.17.04.00#Hydraulic unions#27.12.17.00.00
-unspsc7#27.12.17.05.00#Hydraulic or compression elbows#27.12.17.00.00
-unspsc7#27.12.17.06.00#Ferrule nuts#27.12.17.00.00
-unspsc7#27.12.17.07.00#Crimp connectors#27.12.17.00.00
-unspsc7#27.12.18.00.00#Hydraulic quick connectors#27.12.00.00.00
-unspsc7#27.12.19.00.00#Hydraulic tees or crosses#27.12.00.00.00
-unspsc7#27.12.20.00.00#Ferrules#27.12.00.00.00
-unspsc7#27.12.30.00.00#Hydraulic unions#27.12.00.00.00
-unspsc7#27.12.40.00.00#Hydraulic or compression elbows#27.12.00.00.00
-unspsc7#27.12.50.00.00#Ferrule nuts#27.12.00.00.00
-unspsc7#27.12.60.00.00#Crimp connectors#27.12.00.00.00
-unspsc7#27.12.61.00.00#Hydraulic tools#27.12.00.00.00
-unspsc7#27.12.61.01.00#Manhole cover lifters#27.12.61.00.00
-unspsc7#27.13.00.00.00#Pneumatic machinery and equipment#27.00.00.00.00
-unspsc7#27.13.15.00.00#Pneumatic tools#27.13.00.00.00
-unspsc7#27.13.15.01.00#Pneumatic impact wrenches#27.13.15.00.00
-unspsc7#27.13.15.02.00#Compressed air gun#27.13.15.00.00
-unspsc7#27.13.15.03.00#Pneumatic screwdriver#27.13.15.00.00
-unspsc7#27.13.15.04.00#Pneumatic hammer#27.13.15.00.00
-unspsc7#27.13.15.05.00#Pneumatic drill#27.13.15.00.00
-unspsc7#27.13.15.06.00#Pneumatic nail drivers#27.13.15.00.00
-unspsc7#27.13.15.07.00#Pneumatic sanding machines#27.13.15.00.00
-unspsc7#27.13.16.00.00#Air fittings and connectors#27.13.00.00.00
-unspsc7#27.13.16.01.00#Air manifolds#27.13.16.00.00
-unspsc7#27.13.16.02.00#Filters#27.13.16.00.00
-unspsc7#27.13.16.03.00#Regulator#27.13.16.00.00
-unspsc7#27.13.16.04.00#Lubricator#27.13.16.00.00
-unspsc7#27.13.16.05.00#Air curtain#27.13.16.00.00
-unspsc7#27.13.16.06.00#Air coupling#27.13.16.00.00
-unspsc7#30.00.00.00.00#Structures and Building and Construction and Manufacturing Components and Supplies#30.00.00.00.00
-unspsc7#30.10.00.00.00#Structural materials and basic shapes#30.00.00.00.00
-unspsc7#30.10.15.00.00#Angles#30.10.00.00.00
-unspsc7#30.10.15.01.00#Ferrous alloy angles#30.10.15.00.00
-unspsc7#30.10.15.02.00#Non ferrous alloy angles#30.10.15.00.00
-unspsc7#30.10.15.03.00#Iron angles#30.10.15.00.00
-unspsc7#30.10.15.04.00#Steel angles#30.10.15.00.00
-unspsc7#30.10.15.05.00#Stainless steel angles#30.10.15.00.00
-unspsc7#30.10.15.06.00#Aluminum angles#30.10.15.00.00
-unspsc7#30.10.15.07.00#Magnesium angles#30.10.15.00.00
-unspsc7#30.10.15.08.00#Titanium angles#30.10.15.00.00
-unspsc7#30.10.15.09.00#Copper angles#30.10.15.00.00
-unspsc7#30.10.15.10.00#Brass angles#30.10.15.00.00
-unspsc7#30.10.15.11.00#Bronze angles#30.10.15.00.00
-unspsc7#30.10.15.12.00#Zinc angles#30.10.15.00.00
-unspsc7#30.10.15.13.00#Tin angles#30.10.15.00.00
-unspsc7#30.10.15.14.00#Lead angles#30.10.15.00.00
-unspsc7#30.10.15.15.00#Plastic angles#30.10.15.00.00
-unspsc7#30.10.15.16.00#Rubber angles#30.10.15.00.00
-unspsc7#30.10.15.17.00#Precious metal angles#30.10.15.00.00
-unspsc7#30.10.16.00.00#Bar#30.10.00.00.00
-unspsc7#30.10.16.01.00#Ferrous alloy bars#30.10.16.00.00
-unspsc7#30.10.16.02.00#Non ferrous alloy bars#30.10.16.00.00
-unspsc7#30.10.16.03.00#Iron bars#30.10.16.00.00
-unspsc7#30.10.16.04.00#Steel bars#30.10.16.00.00
-unspsc7#30.10.16.05.00#Stainless steel bars#30.10.16.00.00
-unspsc7#30.10.16.06.00#Aluminum bars#30.10.16.00.00
-unspsc7#30.10.16.07.00#Magnesium bars#30.10.16.00.00
-unspsc7#30.10.16.08.00#Titanium bars#30.10.16.00.00
-unspsc7#30.10.16.09.00#Copper bars#30.10.16.00.00
-unspsc7#30.10.16.10.00#Brass bars#30.10.16.00.00
-unspsc7#30.10.16.11.00#Bronze bars#30.10.16.00.00
-unspsc7#30.10.16.12.00#Zinc bars#30.10.16.00.00
-unspsc7#30.10.16.13.00#Tin bars#30.10.16.00.00
-unspsc7#30.10.16.14.00#Lead bars#30.10.16.00.00
-unspsc7#30.10.16.15.00#Plastic bars#30.10.16.00.00
-unspsc7#30.10.16.16.00#Precious metal bars#30.10.16.00.00
-unspsc7#30.10.16.17.00#Wooden bars#30.10.16.00.00
-unspsc7#30.10.17.00.00#Beams#30.10.00.00.00
-unspsc7#30.10.17.01.00#Ferrous alloy beams#30.10.17.00.00
-unspsc7#30.10.17.02.00#Non ferrous alloy beams#30.10.17.00.00
-unspsc7#30.10.17.03.00#Iron beams#30.10.17.00.00
-unspsc7#30.10.17.04.00#Steel beams#30.10.17.00.00
-unspsc7#30.10.17.05.00#Stainless steel beams#30.10.17.00.00
-unspsc7#30.10.17.06.00#Aluminum beams#30.10.17.00.00
-unspsc7#30.10.17.07.00#Magnesium beams#30.10.17.00.00
-unspsc7#30.10.17.08.00#Titanium beams#30.10.17.00.00
-unspsc7#30.10.17.09.00#Copper beams#30.10.17.00.00
-unspsc7#30.10.17.10.00#Brass beams#30.10.17.00.00
-unspsc7#30.10.17.11.00#Bronze beams#30.10.17.00.00
-unspsc7#30.10.17.12.00#Zinc beams#30.10.17.00.00
-unspsc7#30.10.17.13.00#Tin beams#30.10.17.00.00
-unspsc7#30.10.17.14.00#Lead beams#30.10.17.00.00
-unspsc7#30.10.17.15.00#Plastic beams#30.10.17.00.00
-unspsc7#30.10.17.16.00#Rubber beams#30.10.17.00.00
-unspsc7#30.10.17.17.00#Concrete beams#30.10.17.00.00
-unspsc7#30.10.17.18.00#Precious metal beams#30.10.17.00.00
-unspsc7#30.10.18.00.00#Channels#30.10.00.00.00
-unspsc7#30.10.18.01.00#Ferrous alloy channels#30.10.18.00.00
-unspsc7#30.10.18.02.00#Non ferrous alloy channels#30.10.18.00.00
-unspsc7#30.10.18.03.00#Iron channels#30.10.18.00.00
-unspsc7#30.10.18.04.00#Steel channels#30.10.18.00.00
-unspsc7#30.10.18.05.00#Stainless steel channels#30.10.18.00.00
-unspsc7#30.10.18.06.00#Aluminum channels#30.10.18.00.00
-unspsc7#30.10.18.07.00#Magnesium channels#30.10.18.00.00
-unspsc7#30.10.18.08.00#Titanium channnels#30.10.18.00.00
-unspsc7#30.10.18.09.00#Copper channels#30.10.18.00.00
-unspsc7#30.10.18.10.00#Brass channels#30.10.18.00.00
-unspsc7#30.10.18.11.00#Bronze channels#30.10.18.00.00
-unspsc7#30.10.18.12.00#Zinc channels#30.10.18.00.00
-unspsc7#30.10.18.13.00#Tin channels#30.10.18.00.00
-unspsc7#30.10.18.14.00#Lead channels#30.10.18.00.00
-unspsc7#30.10.18.15.00#Plastic channels#30.10.18.00.00
-unspsc7#30.10.18.16.00#Rubber channels#30.10.18.00.00
-unspsc7#30.10.18.17.00#Precious metal channels#30.10.18.00.00
-unspsc7#30.10.19.00.00#Coil#30.10.00.00.00
-unspsc7#30.10.19.01.00#Ferrous alloy coil#30.10.19.00.00
-unspsc7#30.10.19.02.00#Non ferrous alloy coil#30.10.19.00.00
-unspsc7#30.10.19.03.00#Iron coil#30.10.19.00.00
-unspsc7#30.10.19.04.00#Steel coil#30.10.19.00.00
-unspsc7#30.10.19.05.00#Stainless steel coil#30.10.19.00.00
-unspsc7#30.10.19.06.00#Aluminum coil#30.10.19.00.00
-unspsc7#30.10.19.07.00#Magnesium coil#30.10.19.00.00
-unspsc7#30.10.19.08.00#Titanium coil#30.10.19.00.00
-unspsc7#30.10.19.09.00#Copper coil#30.10.19.00.00
-unspsc7#30.10.19.10.00#Brass coil#30.10.19.00.00
-unspsc7#30.10.19.11.00#Bronze coil#30.10.19.00.00
-unspsc7#30.10.19.12.00#Zinc coil#30.10.19.00.00
-unspsc7#30.10.19.13.00#Tin coil#30.10.19.00.00
-unspsc7#30.10.19.14.00#Lead coil#30.10.19.00.00
-unspsc7#30.10.19.15.00#Plastic coil#30.10.19.00.00
-unspsc7#30.10.19.16.00#Precious metal coils#30.10.19.00.00
-unspsc7#30.10.19.17.00#Non metallic coils#30.10.19.00.00
-unspsc7#30.10.19.18.00#Perforated steel#30.10.19.00.00
-unspsc7#30.10.19.19.00#Embossed steel#30.10.19.00.00
-unspsc7#30.10.19.20.00#Compressed fiber coil#30.10.19.00.00
-unspsc7#30.10.19.21.00#Fiber and rubber coil#30.10.19.00.00
-unspsc7#30.10.19.22.00#Graphite coil#30.10.19.00.00
-unspsc7#30.10.20.00.00#Foil#30.10.00.00.00
-unspsc7#30.10.20.01.00#Ferrous alloy foil#30.10.20.00.00
-unspsc7#30.10.20.02.00#Non ferrous alloy foil#30.10.20.00.00
-unspsc7#30.10.20.03.00#Iron foil#30.10.20.00.00
-unspsc7#30.10.20.04.00#Steel foil#30.10.20.00.00
-unspsc7#30.10.20.05.00#Stainless steel foil#30.10.20.00.00
-unspsc7#30.10.20.06.00#Aluminum foil#30.10.20.00.00
-unspsc7#30.10.20.07.00#Magnesium foil#30.10.20.00.00
-unspsc7#30.10.20.08.00#Titanium foil#30.10.20.00.00
-unspsc7#30.10.20.09.00#Copper foil#30.10.20.00.00
-unspsc7#30.10.20.10.00#Brass foil#30.10.20.00.00
-unspsc7#30.10.20.11.00#Bronze foil#30.10.20.00.00
-unspsc7#30.10.20.12.00#Zinc foil#30.10.20.00.00
-unspsc7#30.10.20.13.00#Tin foil#30.10.20.00.00
-unspsc7#30.10.20.14.00#Lead foil#30.10.20.00.00
-unspsc7#30.10.20.15.00#Plastic foil#30.10.20.00.00
-unspsc7#30.10.21.00.00#Pipe#30.10.00.00.00
-unspsc7#30.10.21.01.00#Ferrous alloy pipe#30.10.21.00.00
-unspsc7#30.10.21.02.00#Non ferrous alloy pipe#30.10.21.00.00
-unspsc7#30.10.21.03.00#Iron pipe#30.10.21.00.00
-unspsc7#30.10.21.04.00#Steel pipe#30.10.21.00.00
-unspsc7#30.10.21.05.00#Stainless steel pipe#30.10.21.00.00
-unspsc7#30.10.21.06.00#Aluminum pipe#30.10.21.00.00
-unspsc7#30.10.21.07.00#Magnesium pipe#30.10.21.00.00
-unspsc7#30.10.21.08.00#Titanium pipe#30.10.21.00.00
-unspsc7#30.10.21.09.00#Copper pipe#30.10.21.00.00
-unspsc7#30.10.21.10.00#Brass pipe#30.10.21.00.00
-unspsc7#30.10.21.11.00#Bronze pipe#30.10.21.00.00
-unspsc7#30.10.21.12.00#Zinc pipe#30.10.21.00.00
-unspsc7#30.10.21.13.00#Tin pipe#30.10.21.00.00
-unspsc7#30.10.21.14.00#Lead pipe#30.10.21.00.00
-unspsc7#30.10.21.15.00#Plastic pipe#30.10.21.00.00
-unspsc7#30.10.21.16.00#Rubber pipe#30.10.21.00.00
-unspsc7#30.10.21.17.00#Concrete pipe#30.10.21.00.00
-unspsc7#30.10.22.00.00#Plate#30.10.00.00.00
-unspsc7#30.10.22.01.00#Ferrous alloy plate#30.10.22.00.00
-unspsc7#30.10.22.02.00#Non ferrous plate#30.10.22.00.00
-unspsc7#30.10.22.03.00#Iron plate#30.10.22.00.00
-unspsc7#30.10.22.04.00#Steel plate#30.10.22.00.00
-unspsc7#30.10.22.05.00#Stainless steel plate#30.10.22.00.00
-unspsc7#30.10.22.06.00#Aluminum plate#30.10.22.00.00
-unspsc7#30.10.22.07.00#Magnesium plate#30.10.22.00.00
-unspsc7#30.10.22.08.00#Titanium plate#30.10.22.00.00
-unspsc7#30.10.22.09.00#Copper plate#30.10.22.00.00
-unspsc7#30.10.22.10.00#Brass plate#30.10.22.00.00
-unspsc7#30.10.22.11.00#Bronze plate#30.10.22.00.00
-unspsc7#30.10.22.12.00#Zinc plate#30.10.22.00.00
-unspsc7#30.10.22.13.00#Tin plate#30.10.22.00.00
-unspsc7#30.10.22.14.00#Lead plate#30.10.22.00.00
-unspsc7#30.10.22.15.00#Plastic plate#30.10.22.00.00
-unspsc7#30.10.22.16.00#Rubber plate#30.10.22.00.00
-unspsc7#30.10.22.17.00#Concrete plate#30.10.22.00.00
-unspsc7#30.10.22.18.00#Precious metal plate#30.10.22.00.00
-unspsc7#30.10.22.19.00#Non metallic plates#30.10.22.00.00
-unspsc7#30.10.23.00.00#Profiles#30.10.00.00.00
-unspsc7#30.10.23.01.00#Ferrous alloy profiles#30.10.23.00.00
-unspsc7#30.10.23.02.00#Non ferrous alloy profiles#30.10.23.00.00
-unspsc7#30.10.23.03.00#Iron profiles#30.10.23.00.00
-unspsc7#30.10.23.04.00#Steel profiles#30.10.23.00.00
-unspsc7#30.10.23.05.00#Stainless steel profiles#30.10.23.00.00
-unspsc7#30.10.23.06.00#Aluminum profiles#30.10.23.00.00
-unspsc7#30.10.23.07.00#Magnesium profiles#30.10.23.00.00
-unspsc7#30.10.23.08.00#Titanium profiles#30.10.23.00.00
-unspsc7#30.10.23.09.00#Copper profiles#30.10.23.00.00
-unspsc7#30.10.23.10.00#Brass profiles#30.10.23.00.00
-unspsc7#30.10.23.11.00#Bronze profiles#30.10.23.00.00
-unspsc7#30.10.23.12.00#Zinc profiles#30.10.23.00.00
-unspsc7#30.10.23.13.00#Tin profiles#30.10.23.00.00
-unspsc7#30.10.23.14.00#Lead profiles#30.10.23.00.00
-unspsc7#30.10.23.15.00#Plastic profiles#30.10.23.00.00
-unspsc7#30.10.23.16.00#Rubber profiles#30.10.23.00.00
-unspsc7#30.10.24.00.00#Rod#30.10.00.00.00
-unspsc7#30.10.24.01.00#Ferrous alloy rods#30.10.24.00.00
-unspsc7#30.10.24.02.00#Non ferrous alloy rods#30.10.24.00.00
-unspsc7#30.10.24.03.00#Iron rods#30.10.24.00.00
-unspsc7#30.10.24.04.00#Steel rods#30.10.24.00.00
-unspsc7#30.10.24.05.00#Stainless steel rods#30.10.24.00.00
-unspsc7#30.10.24.06.00#Aluminum rods#30.10.24.00.00
-unspsc7#30.10.24.07.00#Magnesium rods#30.10.24.00.00
-unspsc7#30.10.24.08.00#Titanium rods#30.10.24.00.00
-unspsc7#30.10.24.09.00#Copper rods#30.10.24.00.00
-unspsc7#30.10.24.10.00#Brass rods#30.10.24.00.00
-unspsc7#30.10.24.11.00#Bronze rods#30.10.24.00.00
-unspsc7#30.10.24.12.00#Zinc rods#30.10.24.00.00
-unspsc7#30.10.24.13.00#Tin rods#30.10.24.00.00
-unspsc7#30.10.24.14.00#Lead rods#30.10.24.00.00
-unspsc7#30.10.24.15.00#Plastic rods#30.10.24.00.00
-unspsc7#30.10.24.16.00#Rubber rods#30.10.24.00.00
-unspsc7#30.10.25.00.00#Sheet#30.10.00.00.00
-unspsc7#30.10.25.01.00#Ferrous alloy sheet#30.10.25.00.00
-unspsc7#30.10.25.02.00#Non ferrous alloy sheet#30.10.25.00.00
-unspsc7#30.10.25.03.00#Iron sheet#30.10.25.00.00
-unspsc7#30.10.25.04.00#Steel sheet#30.10.25.00.00
-unspsc7#30.10.25.05.00#Stainless steel sheet#30.10.25.00.00
-unspsc7#30.10.25.06.00#Aluminum sheet#30.10.25.00.00
-unspsc7#30.10.25.07.00#Magnesium sheet#30.10.25.00.00
-unspsc7#30.10.25.08.00#Titanium sheet#30.10.25.00.00
-unspsc7#30.10.25.09.00#Copper sheet#30.10.25.00.00
-unspsc7#30.10.25.10.00#Brass sheet#30.10.25.00.00
-unspsc7#30.10.25.11.00#Bronze sheet#30.10.25.00.00
-unspsc7#30.10.25.12.00#Zinc sheet#30.10.25.00.00
-unspsc7#30.10.25.13.00#Tin sheet#30.10.25.00.00
-unspsc7#30.10.25.14.00#Lead sheet#30.10.25.00.00
-unspsc7#30.10.25.15.00#Plastic sheet#30.10.25.00.00
-unspsc7#30.10.25.16.00#Rubber sheet#30.10.25.00.00
-unspsc7#30.10.25.17.00#Armor sheet#30.10.25.00.00
-unspsc7#30.10.25.18.00#Beryllium alloy sheet#30.10.25.00.00
-unspsc7#30.10.25.19.00#Composite metal sheet#30.10.25.00.00
-unspsc7#30.10.25.20.00#Nickel sheet#30.10.25.00.00
-unspsc7#30.10.25.21.00#Foam Rubber Sheet#30.10.25.00.00
-unspsc7#30.10.25.22.00#Cork and rubber sheet#30.10.25.00.00
-unspsc7#30.10.25.23.00#Compressed fiber sheet#30.10.25.00.00
-unspsc7#30.10.25.24.00#Metal inserted compressed fiber sheet#30.10.25.00.00
-unspsc7#30.10.25.25.00#Fiber and rubber sheet#30.10.25.00.00
-unspsc7#30.10.25.26.00#Asbestos sheets#30.10.25.00.00
-unspsc7#30.10.26.00.00#Strip#30.10.00.00.00
-unspsc7#30.10.26.01.00#Ferrous alloy strip#30.10.26.00.00
-unspsc7#30.10.26.02.00#Non ferrous alloy strip#30.10.26.00.00
-unspsc7#30.10.26.03.00#Iron strip#30.10.26.00.00
-unspsc7#30.10.26.04.00#Steel strip#30.10.26.00.00
-unspsc7#30.10.26.05.00#Stainless steel strip#30.10.26.00.00
-unspsc7#30.10.26.06.00#Aluminum strip#30.10.26.00.00
-unspsc7#30.10.26.07.00#Magnesium strip#30.10.26.00.00
-unspsc7#30.10.26.08.00#Titanium strip#30.10.26.00.00
-unspsc7#30.10.26.09.00#Copper strip#30.10.26.00.00
-unspsc7#30.10.26.10.00#Brass strip#30.10.26.00.00
-unspsc7#30.10.26.11.00#Bronze strip#30.10.26.00.00
-unspsc7#30.10.26.12.00#Zinc strip#30.10.26.00.00
-unspsc7#30.10.26.13.00#Tin strip#30.10.26.00.00
-unspsc7#30.10.26.14.00#Lead strip#30.10.26.00.00
-unspsc7#30.10.26.15.00#Plastic strip#30.10.26.00.00
-unspsc7#30.10.26.16.00#Rubber strip#30.10.26.00.00
-unspsc7#30.10.27.00.00#Tube and tubing#30.10.00.00.00
-unspsc7#30.10.27.01.00#Ferrous alloy tubing#30.10.27.00.00
-unspsc7#30.10.27.02.00#Copper tubing#30.10.27.00.00
-unspsc7#30.10.27.03.00#Titanium tubing#30.10.27.00.00
-unspsc7#30.10.27.04.00#Magnesium tubing#30.10.27.00.00
-unspsc7#30.10.27.05.00#Tin tubing#30.10.27.00.00
-unspsc7#30.10.27.06.00#Brass tubing#30.10.27.00.00
-unspsc7#30.10.27.07.00#Lead tubing#30.10.27.00.00
-unspsc7#30.10.27.08.00#Bronze tubing#30.10.27.00.00
-unspsc7#30.10.27.09.00#Zinc tubing#30.10.27.00.00
-unspsc7#30.10.27.10.00#Steel tubing#30.10.27.00.00
-unspsc7#30.10.27.11.00#Iron tubing#30.10.27.00.00
-unspsc7#30.10.27.12.00#Cement tubing#30.10.27.00.00
-unspsc7#30.10.27.13.00#Plastic tubing#30.10.27.00.00
-unspsc7#30.10.27.14.00#Rubber tubing#30.10.27.00.00
-unspsc7#30.10.27.15.00#Glass tubing#30.10.27.00.00
-unspsc7#30.10.27.16.00#Stone tubing#30.10.27.00.00
-unspsc7#30.10.27.17.00#Non ferrous alloy tubing#30.10.27.00.00
-unspsc7#30.10.27.18.00#Aluminum tubing#30.10.27.00.00
-unspsc7#30.10.27.19.00#Stainless steel tubing#30.10.27.00.00
-unspsc7#30.10.27.20.00#Precious metal tubing#30.10.27.00.00
-unspsc7#30.10.28.00.00#Piling#30.10.00.00.00
-unspsc7#30.10.28.01.00#Aluminum pilings#30.10.28.00.00
-unspsc7#30.10.28.02.00#Concrete pilings#30.10.28.00.00
-unspsc7#30.10.28.03.00#Steel pilings#30.10.28.00.00
-unspsc7#30.10.29.00.00#Post#30.10.00.00.00
-unspsc7#30.10.29.01.00#Cement or concrete posts#30.10.29.00.00
-unspsc7#30.10.29.02.00#Steel posts#30.10.29.00.00
-unspsc7#30.10.29.03.00#Metal posts#30.10.29.00.00
-unspsc7#30.10.29.04.00#Wooden posts#30.10.29.00.00
-unspsc7#30.10.29.05.00#Plastic posts#30.10.29.00.00
-unspsc7#30.10.29.06.00#Fiberglass posts#30.10.29.00.00
-unspsc7#30.10.30.00.00#Shafting#30.10.00.00.00
-unspsc7#30.10.30.01.00#Steel shafting#30.10.30.00.00
-unspsc7#30.10.30.02.00#Stainless steel shafting#30.10.30.00.00
-unspsc7#30.10.31.00.00#Rails#30.10.00.00.00
-unspsc7#30.10.31.01.00#Steel rail#30.10.31.00.00
-unspsc7#30.10.31.02.00#Aluminum rail#30.10.31.00.00
-unspsc7#30.10.31.03.00#Metal rail#30.10.31.00.00
-unspsc7#30.10.32.00.00#Grating#30.10.00.00.00
-unspsc7#30.10.32.01.00#Steel grating#30.10.32.00.00
-unspsc7#30.10.32.02.00#Stainless steel grating#30.10.32.00.00
-unspsc7#30.10.32.03.00#Aluminum grating#30.10.32.00.00
-unspsc7#30.10.32.04.00#Fiberglass grating#30.10.32.00.00
-unspsc7#30.10.32.05.00#Iron grating#30.10.32.00.00
-unspsc7#30.10.33.00.00#Billets#30.10.00.00.00
-unspsc7#30.10.33.01.00#Aluminum billet#30.10.33.00.00
-unspsc7#30.10.33.02.00#Brass billet#30.10.33.00.00
-unspsc7#30.10.33.03.00#Bronze billets#30.10.33.00.00
-unspsc7#30.10.33.04.00#Copper billets#30.10.33.00.00
-unspsc7#30.10.33.05.00#Lead billets#30.10.33.00.00
-unspsc7#30.10.33.06.00#Zinc billets#30.10.33.00.00
-unspsc7#30.10.33.07.00#Steel billets#30.10.33.00.00
-unspsc7#30.10.33.08.00#Titanium billets#30.10.33.00.00
-unspsc7#30.10.33.09.00#Magnesium billets#30.10.33.00.00
-unspsc7#30.10.33.10.00#Precious metal billets#30.10.33.00.00
-unspsc7#30.10.33.11.00#Non ferrous metal billets#30.10.33.00.00
-unspsc7#30.10.33.12.00#Ferrous metal billets#30.10.33.00.00
-unspsc7#30.10.33.13.00#Non metallic billets#30.10.33.00.00
-unspsc7#30.10.34.00.00#Ingots#30.10.00.00.00
-unspsc7#30.10.34.01.00#Aluminum ingots#30.10.34.00.00
-unspsc7#30.10.34.02.00#Brass ingots#30.10.34.00.00
-unspsc7#30.10.34.03.00#Lead ingots#30.10.34.00.00
-unspsc7#30.10.34.04.00#Zinc ingots#30.10.34.00.00
-unspsc7#30.10.34.05.00#Steel ingots#30.10.34.00.00
-unspsc7#30.10.34.06.00#Magnesium ingots#30.10.34.00.00
-unspsc7#30.10.34.07.00#Bronze ingots#30.10.34.00.00
-unspsc7#30.10.34.08.00#Copper ingots#30.10.34.00.00
-unspsc7#30.10.34.09.00#Titanium ingots#30.10.34.00.00
-unspsc7#30.10.34.10.00#Precious metal ingots#30.10.34.00.00
-unspsc7#30.10.34.11.00#Ferrous alloy extrusion ingots#30.10.34.00.00
-unspsc7#30.10.34.12.00#Non ferrous alloy extrusion ingots#30.10.34.00.00
-unspsc7#30.10.34.13.00#Non metallic ingots#30.10.34.00.00
-unspsc7#30.10.35.00.00#Honeycomb core#30.10.00.00.00
-unspsc7#30.10.35.01.00#Aluminum honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.02.00#Magnesium honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.03.00#Foam honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.04.00#Plastic honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.05.00#Wooden honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.06.00#Ferrous metal honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.07.00#Bronze honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.08.00#Copper honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.09.00#Steel honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.10.00#Lead honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.11.00#Zinc honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.12.00#Titanium honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.13.00#Brass honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.14.00#Non ferrous metal honeycomb core#30.10.35.00.00
-unspsc7#30.10.35.15.00#Precious metal honeycomb core#30.10.35.00.00
-unspsc7#30.10.36.00.00#Structural products#30.10.00.00.00
-unspsc7#30.10.36.01.00#Wood beams#30.10.36.00.00
-unspsc7#30.10.36.02.00#Wood composite beams#30.10.36.00.00
-unspsc7#30.10.36.03.00#Framing lumber#30.10.36.00.00
-unspsc7#30.10.36.04.00#Wood sheathing or sheets#30.10.36.00.00
-unspsc7#30.10.36.05.00#Wood planks#30.10.36.00.00
-unspsc7#30.10.36.06.00#Wood trusses#30.10.36.00.00
-unspsc7#30.10.36.07.00#Wood joists#30.10.36.00.00
-unspsc7#30.10.37.00.00#Braid#30.10.00.00.00
-unspsc7#30.10.37.01.00#Stainless steel braid#30.10.37.00.00
-unspsc7#30.11.00.00.00#Concrete and cement and plaster#30.00.00.00.00
-unspsc7#30.11.15.00.00#Concrete and mortars#30.11.00.00.00
-unspsc7#30.11.15.01.00#Foamed concrete#30.11.15.00.00
-unspsc7#30.11.15.02.00#Conductive concrete#30.11.15.00.00
-unspsc7#30.11.15.03.00#Insulating concrete#30.11.15.00.00
-unspsc7#30.11.15.04.00#Mortars#30.11.15.00.00
-unspsc7#30.11.16.00.00#Cement and lime#30.11.00.00.00
-unspsc7#30.11.16.01.00#Cement#30.11.16.00.00
-unspsc7#30.11.16.02.00#Chlorinated lime#30.11.16.00.00
-unspsc7#30.11.16.03.00#Hydraulic lime#30.11.16.00.00
-unspsc7#30.11.16.04.00#Hydrated lime#30.11.16.00.00
-unspsc7#30.11.16.05.00#Lean lime#30.11.16.00.00
-unspsc7#30.11.16.06.00#Grout#30.11.16.00.00
-unspsc7#30.11.16.07.00#Unslaked lime#30.11.16.00.00
-unspsc7#30.11.17.00.00#Plasters#30.11.00.00.00
-unspsc7#30.11.17.01.00#Gypsum plaster#30.11.17.00.00
-unspsc7#30.12.00.00.00#Roads and landscape#30.00.00.00.00
-unspsc7#30.12.15.00.00#Bituminous derivatives#30.12.00.00.00
-unspsc7#30.12.15.01.00#Coal tar#30.12.15.00.00
-unspsc7#30.12.15.02.00#Tars#30.12.15.00.00
-unspsc7#30.12.15.03.00#Cresote#30.12.15.00.00
-unspsc7#30.12.16.00.00#Asphalts#30.12.00.00.00
-unspsc7#30.12.16.01.00#Asphalt#30.12.16.00.00
-unspsc7#30.12.16.02.00#Pitch#30.12.16.00.00
-unspsc7#30.12.16.03.00#Gilsonite#30.12.16.00.00
-unspsc7#30.12.16.04.00#Cutback products#30.12.16.00.00
-unspsc7#30.12.16.05.00#Manhole frames with covers#30.12.16.00.00
-unspsc7#30.13.00.00.00#Structural building products#30.00.00.00.00
-unspsc7#30.13.15.00.00#Blocks#30.13.00.00.00
-unspsc7#30.13.15.01.00#Cement blocks#30.13.15.00.00
-unspsc7#30.13.15.02.00#Concrete blocks#30.13.15.00.00
-unspsc7#30.13.15.03.00#Stone blocks#30.13.15.00.00
-unspsc7#30.13.15.04.00#Ceramic blocks#30.13.15.00.00
-unspsc7#30.13.16.00.00#Bricks#30.13.00.00.00
-unspsc7#30.13.16.01.00#Cement bricks#30.13.16.00.00
-unspsc7#30.13.16.02.00#Ceramic bricks#30.13.16.00.00
-unspsc7#30.13.16.03.00#Concrete bricks#30.13.16.00.00
-unspsc7#30.13.16.04.00#Stone bricks#30.13.16.00.00
-unspsc7#30.13.17.00.00#Tiles and flagstones#30.13.00.00.00
-unspsc7#30.13.17.01.00#Cement tiles or flagstones#30.13.17.00.00
-unspsc7#30.13.17.02.00#Stone tiles or flagstones#30.13.17.00.00
-unspsc7#30.13.17.03.00#Concrete tiles or flagstones#30.13.17.00.00
-unspsc7#30.13.17.04.00#Ceramic tiles or flagstones#30.13.17.00.00
-unspsc7#30.13.17.05.00#Head stones#30.13.17.00.00
-unspsc7#30.14.00.00.00#Insulation#30.00.00.00.00
-unspsc7#30.14.15.00.00#Thermal insulation#30.14.00.00.00
-unspsc7#30.14.15.01.00#Weather stripping#30.14.15.00.00
-unspsc7#30.14.15.02.00#Insulation blankets#30.14.15.00.00
-unspsc7#30.14.15.03.00#Foam insulation#30.14.15.00.00
-unspsc7#30.14.15.04.00#Insulation batts#30.14.15.00.00
-unspsc7#30.14.15.05.00#Thermal insulation sleeving#30.14.15.00.00
-unspsc7#30.14.15.06.00#Loose fill insulation#30.14.15.00.00
-unspsc7#30.14.15.07.00#Rigid board insulation#30.14.15.00.00
-unspsc7#30.14.15.08.00#Fiber insulation#30.14.15.00.00
-unspsc7#30.14.15.09.00#Refractories#30.14.15.00.00
-unspsc7#30.14.15.10.00#Door sweep#30.14.15.00.00
-unspsc7#30.14.15.11.00#Window film#30.14.15.00.00
-unspsc7#30.14.16.00.00#Specialty insulation#30.14.00.00.00
-unspsc7#30.14.16.01.00#Acoustical insulation#30.14.16.00.00
-unspsc7#30.14.16.02.00#Non thermal insulation sleeving#30.14.16.00.00
-unspsc7#30.14.16.03.00#Heat Shields#30.14.16.00.00
-unspsc7#30.15.00.00.00#Exterior finishing materials#30.00.00.00.00
-unspsc7#30.15.15.00.00#Roofing materials#30.15.00.00.00
-unspsc7#30.15.15.01.00#Roll roofing#30.15.15.00.00
-unspsc7#30.15.15.02.00#Roof valleys#30.15.15.00.00
-unspsc7#30.15.15.03.00#Roofing fabrics#30.15.15.00.00
-unspsc7#30.15.15.04.00#Roofing felts#30.15.15.00.00
-unspsc7#30.15.15.05.00#Roofing membranes#30.15.15.00.00
-unspsc7#30.15.15.06.00#Roofing tiles#30.15.15.00.00
-unspsc7#30.15.15.07.00#Shakes#30.15.15.00.00
-unspsc7#30.15.15.08.00#Shingles#30.15.15.00.00
-unspsc7#30.15.15.09.00#Trusses#30.15.15.00.00
-unspsc7#30.15.15.10.00#Slate roofing#30.15.15.00.00
-unspsc7#30.15.16.00.00#Roofing accessories#30.15.00.00.00
-unspsc7#30.15.16.01.00#Roof fascias#30.15.16.00.00
-unspsc7#30.15.16.02.00#Flashings#30.15.16.00.00
-unspsc7#30.15.16.03.00#Gravel stops#30.15.16.00.00
-unspsc7#30.15.16.04.00#Roofing brushes#30.15.16.00.00
-unspsc7#30.15.16.05.00#Roofing drains#30.15.16.00.00
-unspsc7#30.15.16.06.00#Roofing mops#30.15.16.00.00
-unspsc7#30.15.16.07.00#Roofing vents#30.15.16.00.00
-unspsc7#30.15.16.08.00#Soffits#30.15.16.00.00
-unspsc7#30.15.16.09.00#Roof curbs#30.15.16.00.00
-unspsc7#30.15.16.10.00#Roof rippers#30.15.16.00.00
-unspsc7#30.15.17.00.00#Rain gutters and accessories#30.15.00.00.00
-unspsc7#30.15.17.01.00#Downspouts#30.15.17.00.00
-unspsc7#30.15.17.02.00#Drip caps#30.15.17.00.00
-unspsc7#30.15.17.03.00#Gutters#30.15.17.00.00
-unspsc7#30.15.17.04.00#Splashblocks#30.15.17.00.00
-unspsc7#30.15.18.00.00#Siding and exterior wall materials#30.15.00.00.00
-unspsc7#30.15.18.01.00#Shutters#30.15.18.00.00
-unspsc7#30.15.18.02.00#Siding#30.15.18.00.00
-unspsc7#30.15.18.03.00#Siding butt joints#30.15.18.00.00
-unspsc7#30.15.18.04.00#Siding corners#30.15.18.00.00
-unspsc7#30.15.18.05.00#Stucco#30.15.18.00.00
-unspsc7#30.15.18.06.00#Glass curtainwalling#30.15.18.00.00
-unspsc7#30.15.19.00.00#Finishing materials and products#30.15.00.00.00
-unspsc7#30.15.19.01.00#Awnings#30.15.19.00.00
-unspsc7#30.15.19.02.00#Exterior trim materials#30.15.19.00.00
-unspsc7#30.15.20.00.00#Fencing#30.15.00.00.00
-unspsc7#30.15.20.01.00#Metal fencing#30.15.20.00.00
-unspsc7#30.15.20.02.00#Wood fencing#30.15.20.00.00
-unspsc7#30.15.21.00.00#Surface#30.15.00.00.00
-unspsc7#30.15.21.01.00#Shot steel#30.15.21.00.00
-unspsc7#30.16.00.00.00#Interior finishing materials#30.00.00.00.00
-unspsc7#30.16.15.00.00#Wall finishing materials#30.16.00.00.00
-unspsc7#30.16.15.01.00#Wallboard#30.16.15.00.00
-unspsc7#30.16.15.02.00#Wallpapers#30.16.15.00.00
-unspsc7#30.16.15.03.00#Drywall#30.16.15.00.00
-unspsc7#30.16.15.04.00#Corner guards#30.16.15.00.00
-unspsc7#30.16.15.05.00#Panels or panelling#30.16.15.00.00
-unspsc7#30.16.15.06.00#Plaster#30.16.15.00.00
-unspsc7#30.16.15.07.00#Drywall joint compounds#30.16.15.00.00
-unspsc7#30.16.15.08.00#Wallpaper roller#30.16.15.00.00
-unspsc7#30.16.16.00.00#Ceiling materials#30.16.00.00.00
-unspsc7#30.16.16.01.00#Acoustic ceiling tiles#30.16.16.00.00
-unspsc7#30.16.16.02.00#Ceiling panels#30.16.16.00.00
-unspsc7#30.16.16.03.00#Coffers#30.16.16.00.00
-unspsc7#30.16.16.04.00#Suspended ceiling systems#30.16.16.00.00
-unspsc7#30.16.17.00.00#Flooring#30.16.00.00.00
-unspsc7#30.16.17.01.00#Carpeting#30.16.17.00.00
-unspsc7#30.16.17.02.00#Wood flooring#30.16.17.00.00
-unspsc7#30.16.17.03.00#Linoleum#30.16.17.00.00
-unspsc7#30.16.17.05.00#Rubber flooring#30.16.17.00.00
-unspsc7#30.16.17.06.00#Stone or tile flooring#30.16.17.00.00
-unspsc7#30.16.17.07.00#Vinyl flooring#30.16.17.00.00
-unspsc7#30.16.17.08.00#Knotted carpeting#30.16.17.00.00
-unspsc7#30.16.17.09.00#Tufted carpeting#30.16.17.00.00
-unspsc7#30.16.17.10.00#Laminate flooring#30.16.17.00.00
-unspsc7#30.16.17.11.00#Outdoor carpeting#30.16.17.00.00
-unspsc7#30.16.17.12.00#Flooring joists#30.16.17.00.00
-unspsc7#30.16.17.13.00#Carpet pads#30.16.17.00.00
-unspsc7#30.16.17.14.00#Cork flooring#30.16.17.00.00
-unspsc7#30.16.17.15.00#Duckboards#30.16.17.00.00
-unspsc7#30.16.17.16.00#Tile spacers#30.16.17.00.00
-unspsc7#30.16.18.00.00#Cabinetry#30.16.00.00.00
-unspsc7#30.16.18.01.00#Cabinets#30.16.18.00.00
-unspsc7#30.16.18.02.00#Countertops#30.16.18.00.00
-unspsc7#30.16.19.00.00#Molding and millwork#30.16.00.00.00
-unspsc7#30.16.19.01.00#Louvers#30.16.19.00.00
-unspsc7#30.16.19.02.00#Columns#30.16.19.00.00
-unspsc7#30.16.19.03.00#Wainscoting#30.16.19.00.00
-unspsc7#30.16.19.04.00#Cornices#30.16.19.00.00
-unspsc7#30.16.19.05.00#Door surrounds#30.16.19.00.00
-unspsc7#30.16.19.06.00#Molding#30.16.19.00.00
-unspsc7#30.16.19.07.00#Stairs#30.16.19.00.00
-unspsc7#30.16.19.08.00#Stair parts#30.16.19.00.00
-unspsc7#30.17.00.00.00#Doors and windows and glass#30.00.00.00.00
-unspsc7#30.17.15.00.00#Doors#30.17.00.00.00
-unspsc7#30.17.15.01.00#Glass doors#30.17.15.00.00
-unspsc7#30.17.15.02.00#Screen doors#30.17.15.00.00
-unspsc7#30.17.15.03.00#Rolling doors#30.17.15.00.00
-unspsc7#30.17.15.04.00#Wooden doors#30.17.15.00.00
-unspsc7#30.17.15.05.00#Metal doors#30.17.15.00.00
-unspsc7#30.17.15.06.00#Storm doors#30.17.15.00.00
-unspsc7#30.17.15.07.00#Door frames#30.17.15.00.00
-unspsc7#30.17.15.08.00#Pocket doors#30.17.15.00.00
-unspsc7#30.17.15.09.00#Revolving doors#30.17.15.00.00
-unspsc7#30.17.15.10.00#Automatic doors#30.17.15.00.00
-unspsc7#30.17.15.11.00#Swing door#30.17.15.00.00
-unspsc7#30.17.15.12.00#Door openers#30.17.15.00.00
-unspsc7#30.17.16.00.00#Windows#30.17.00.00.00
-unspsc7#30.17.16.04.00#Double hung windows#30.17.16.00.00
-unspsc7#30.17.16.05.00#Single hung windows#30.17.16.00.00
-unspsc7#30.17.16.06.00#Casement windows#30.17.16.00.00
-unspsc7#30.17.16.07.00#Horizontal slider windows#30.17.16.00.00
-unspsc7#30.17.16.08.00#Tilt or transom windows#30.17.16.00.00
-unspsc7#30.17.16.09.00#Fixed windows#30.17.16.00.00
-unspsc7#30.17.16.10.00#Bay windows#30.17.16.00.00
-unspsc7#30.17.16.11.00#Bow windows#30.17.16.00.00
-unspsc7#30.17.16.12.00#Projected windows#30.17.16.00.00
-unspsc7#30.17.16.13.00#Window walls#30.17.16.00.00
-unspsc7#30.17.16.14.00#Window screens#30.17.16.00.00
-unspsc7#30.17.16.15.00#French windows#30.17.16.00.00
-unspsc7#30.17.17.00.00#Glass products#30.17.00.00.00
-unspsc7#30.17.17.01.00#Paving blocks#30.17.17.00.00
-unspsc7#30.17.17.03.00#Beveled glass#30.17.17.00.00
-unspsc7#30.17.17.04.00#Leaded glass#30.17.17.00.00
-unspsc7#30.17.17.05.00#Laminated glass#30.17.17.00.00
-unspsc7#30.17.17.06.00#Tempered glass#30.17.17.00.00
-unspsc7#30.17.17.07.00#Safety glass#30.17.17.00.00
-unspsc7#30.17.17.08.00#Float glass#30.17.17.00.00
-unspsc7#30.17.17.09.00#Wired glass#30.17.17.00.00
-unspsc7#30.17.18.00.00#Skylights#30.17.00.00.00
-unspsc7#30.17.18.01.00#Fixed skylights#30.17.18.00.00
-unspsc7#30.17.18.02.00#Vented skylights#30.17.18.00.00
-unspsc7#30.17.18.03.00#Tube skylights#30.17.18.00.00
-unspsc7#30.17.19.00.00#Window frames#30.17.00.00.00
-unspsc7#30.17.19.01.00#Double hung window frames#30.17.19.00.00
-unspsc7#30.17.19.02.00#Single hung window frames#30.17.19.00.00
-unspsc7#30.17.19.03.00#Casement window frames#30.17.19.00.00
-unspsc7#30.17.19.04.00#Horizontal slider window frames#30.17.19.00.00
-unspsc7#30.17.19.05.00#Tilt or transom window frames#30.17.19.00.00
-unspsc7#30.17.19.06.00#Fixed window frames#30.17.19.00.00
-unspsc7#30.17.20.00.00#Gates#30.17.00.00.00
-unspsc7#30.17.20.01.00#Single bar gate#30.17.20.00.00
-unspsc7#30.17.20.02.00#Double bar gate#30.17.20.00.00
-unspsc7#30.18.00.00.00#Plumbing fixtures#30.00.00.00.00
-unspsc7#30.18.15.00.00#Sanitary ware#30.18.00.00.00
-unspsc7#30.18.15.01.00#Bathtubs#30.18.15.00.00
-unspsc7#30.18.15.02.00#Bidets#30.18.15.00.00
-unspsc7#30.18.15.03.00#Showers#30.18.15.00.00
-unspsc7#30.18.15.04.00#Sinks#30.18.15.00.00
-unspsc7#30.18.15.05.00#Toilets#30.18.15.00.00
-unspsc7#30.18.15.06.00#Urinals#30.18.15.00.00
-unspsc7#30.18.15.07.00#Bathtub or shower enclosures#30.18.15.00.00
-unspsc7#30.18.15.08.00#Restroom partitions#30.18.15.00.00
-unspsc7#30.18.15.09.00#Soap dishes#30.18.15.00.00
-unspsc7#30.18.15.10.00#Napkin rings#30.18.15.00.00
-unspsc7#30.19.00.00.00#Construction and maintenance support equipment#30.00.00.00.00
-unspsc7#30.19.15.00.00#Ladders and scaffolding#30.19.00.00.00
-unspsc7#30.19.15.01.00#Ladders#30.19.15.00.00
-unspsc7#30.19.15.02.00#Scaffolding#30.19.15.00.00
-unspsc7#30.19.15.03.00#Step stool#30.19.15.00.00
-unspsc7#30.19.15.04.00#Step stool#30.19.15.00.00
-unspsc7#30.19.15.05.00#Step stool#30.19.15.00.00
-unspsc7#30.19.16.00.00#Ladders and scaffolding accessories#30.19.00.00.00
-unspsc7#30.19.16.01.00#Handrails#30.19.16.00.00
-unspsc7#30.19.16.02.00#Scaffolding stabilizers#30.19.16.00.00
-unspsc7#30.19.16.03.00#Scaffolding flooring#30.19.16.00.00
-unspsc7#30.20.00.00.00#Prefabricated structures#30.00.00.00.00
-unspsc7#30.20.15.00.00#Prefabricated farm structures#30.20.00.00.00
-unspsc7#30.20.15.01.00#Silos#30.20.15.00.00
-unspsc7#30.20.15.02.00#Greenhouses#30.20.15.00.00
-unspsc7#30.20.16.00.00#Prefabricated residential structures#30.20.00.00.00
-unspsc7#30.20.16.01.00#Houses#30.20.16.00.00
-unspsc7#30.20.16.02.00#Mobile homes#30.20.16.00.00
-unspsc7#30.20.16.03.00#Cabins#30.20.16.00.00
-unspsc7#30.20.16.04.00#Garages#30.20.16.00.00
-unspsc7#30.20.16.05.00#Gazebo#30.20.16.00.00
-unspsc7#30.20.17.00.00#Prefabricated commercial and industrial structures#30.20.00.00.00
-unspsc7#30.20.17.01.00#In plant offices#30.20.17.00.00
-unspsc7#30.20.17.02.00#Spray booths#30.20.17.00.00
-unspsc7#30.20.17.03.00#Storage sheds#30.20.17.00.00
-unspsc7#30.20.17.04.00#Clean rooms#30.20.17.00.00
-unspsc7#30.20.17.05.00#Guardhouses#30.20.17.00.00
-unspsc7#30.20.17.06.00#Portable toilettes#30.20.17.00.00
-unspsc7#30.20.17.07.00#Warehouses#30.20.17.00.00
-unspsc7#30.20.17.08.00#Auditorium#30.20.17.00.00
-unspsc7#30.20.17.09.00#Conservatory#30.20.17.00.00
-unspsc7#30.20.17.10.00#Office kitchens#30.20.17.00.00
-unspsc7#30.20.18.00.00#Prefabricated emergency relief structures#30.20.00.00.00
-unspsc7#30.20.18.01.00#Shelters#30.20.18.00.00
-unspsc7#30.20.18.02.00#Emergency tent halls#30.20.18.00.00
-unspsc7#30.20.18.03.00#Container units#30.20.18.00.00
-unspsc7#30.20.19.00.00#Prefabricated medical structures#30.20.00.00.00
-unspsc7#30.20.19.01.00#Medical units#30.20.19.00.00
-unspsc7#30.20.19.02.00#Laboratory units#30.20.19.00.00
-unspsc7#30.20.19.03.00#Dental units#30.20.19.00.00
-unspsc7#30.20.19.04.00#Surgical units#30.20.19.00.00
-unspsc7#30.21.00.00.00#Electrical equipment and components and supplies#30.00.00.00.00
-unspsc7#30.21.15.00.00#Power conversion#30.21.00.00.00
-unspsc7#30.21.15.01.00#Transformers#30.21.15.00.00
-unspsc7#30.21.15.02.00#Power supply units#30.21.15.00.00
-unspsc7#30.21.15.03.00#Power distribution units (PDUs)#30.21.15.00.00
-unspsc7#30.21.15.04.00#Power adapters or inverters#30.21.15.00.00
-unspsc7#30.21.15.05.00#Frequency converters#30.21.15.00.00
-unspsc7#30.21.15.06.00#Signal converters#30.21.15.00.00
-unspsc7#30.21.15.07.00#Transducers#30.21.15.00.00
-unspsc7#30.21.15.08.00#Regulators#30.21.15.00.00
-unspsc7#30.21.15.09.00#Magnetic coils#30.21.15.00.00
-unspsc7#30.21.15.10.00#Uninterruptible power supplies#30.21.15.00.00
-unspsc7#30.21.15.11.00#Solenoids#30.21.15.00.00
-unspsc7#30.21.15.12.00#Chokes#30.21.15.00.00
-unspsc7#30.21.15.13.00#Electric rotary converters#30.21.15.00.00
-unspsc7#30.21.15.14.00#Capacitor banks#30.21.15.00.00
-unspsc7#30.21.15.15.00#Reactors#30.21.15.00.00
-unspsc7#30.21.16.00.00#Conduits and raceways#30.21.00.00.00
-unspsc7#30.21.16.01.00#Cable trays#30.21.16.00.00
-unspsc7#30.21.16.02.00#Electrical conduit#30.21.16.00.00
-unspsc7#30.21.16.03.00#Electrical raceways#30.21.16.00.00
-unspsc7#30.21.16.04.00#Wiring ducts#30.21.16.00.00
-unspsc7#30.21.16.05.00#Wireways#30.21.16.00.00
-unspsc7#30.21.16.06.00#Wiring troughs#30.21.16.00.00
-unspsc7#30.21.17.00.00#Electrical boxes and enclosures and fittings#30.21.00.00.00
-unspsc7#30.21.17.01.00#Electrical boxes#30.21.17.00.00
-unspsc7#30.21.17.02.00#Electrical box covers#30.21.17.00.00
-unspsc7#30.21.17.03.00#Weatherproof boxes#30.21.17.00.00
-unspsc7#30.21.17.04.00#Switch boxes#30.21.17.00.00
-unspsc7#30.21.17.05.00#Floor boxes#30.21.17.00.00
-unspsc7#30.21.17.06.00#Outlet boxes#30.21.17.00.00
-unspsc7#30.21.17.07.00#Specialty electrical boxes#30.21.17.00.00
-unspsc7#30.21.17.08.00#Utility boxes#30.21.17.00.00
-unspsc7#30.21.17.09.00#Electrical fittings#30.21.17.00.00
-unspsc7#30.21.17.10.00#Electrical bushings#30.21.17.00.00
-unspsc7#30.21.17.11.00#Ceiling flanges#30.21.17.00.00
-unspsc7#30.21.18.00.00#Lugs connectors and terminals#30.21.00.00.00
-unspsc7#30.21.18.01.00#Electrical terminals#30.21.18.00.00
-unspsc7#30.21.18.02.00#Electrical plugs#30.21.18.00.00
-unspsc7#30.21.18.03.00#Twist lock plugs#30.21.18.00.00
-unspsc7#30.21.18.04.00#Electrical sleeves#30.21.18.00.00
-unspsc7#30.21.18.05.00#Cable or wire lugs#30.21.18.00.00
-unspsc7#30.21.18.06.00#Electrical receptacles#30.21.18.00.00
-unspsc7#30.21.18.07.00#Terminal strips#30.21.18.00.00
-unspsc7#30.21.18.08.00#Mechanical connectors#30.21.18.00.00
-unspsc7#30.21.18.09.00#Ring or flag terminals#30.21.18.00.00
-unspsc7#30.21.18.10.00#Wire connectors#30.21.18.00.00
-unspsc7#30.21.18.11.00#Terminal blocks#30.21.18.00.00
-unspsc7#30.21.18.12.00#Fuse blocks#30.21.18.00.00
-unspsc7#30.21.18.13.00#Backshell connectors#30.21.18.00.00
-unspsc7#30.21.18.14.00#Circular connectors#30.21.18.00.00
-unspsc7#30.21.18.15.00#Coaxial connectors#30.21.18.00.00
-unspsc7#30.21.18.16.00#Flat connectors#30.21.18.00.00
-unspsc7#30.21.18.17.00#Electronic connector caps#30.21.18.00.00
-unspsc7#30.21.18.18.00#Radio frequency (RF) connectors#30.21.18.00.00
-unspsc7#30.21.18.19.00#Electrical metallic tubing (EMT) connectors#30.21.18.00.00
-unspsc7#30.21.18.20.00#Compression connectors#30.21.18.00.00
-unspsc7#30.21.18.21.00#Set screw couplings#30.21.18.00.00
-unspsc7#30.21.18.22.00#Flex connectors#30.21.18.00.00
-unspsc7#30.21.18.23.00#Liquid tight connectors#30.21.18.00.00
-unspsc7#30.21.18.24.00#Connector assemblies#30.21.18.00.00
-unspsc7#30.21.18.25.00#Mechanical couplings#30.21.18.00.00
-unspsc7#30.21.18.26.00#Spring jaw connectors#30.21.18.00.00
-unspsc7#30.21.18.27.00#Terminal block covers#30.21.18.00.00
-unspsc7#30.21.18.28.00#Terminal block separator#30.21.18.00.00
-unspsc7#30.21.18.29.00#Jumper bar#30.21.18.00.00
-unspsc7#30.21.18.30.00#Wiring taps#30.21.18.00.00
-unspsc7#30.21.18.31.00#Electrical taps#30.21.18.00.00
-unspsc7#30.21.18.32.00#Fiber optic connector#30.21.18.00.00
-unspsc7#30.21.19.00.00#Switches and controls and relays#30.21.00.00.00
-unspsc7#30.21.19.01.00#Safety switches#30.21.19.00.00
-unspsc7#30.21.19.02.00#Dimmer switches#30.21.19.00.00
-unspsc7#30.21.19.03.00#Drum switches#30.21.19.00.00
-unspsc7#30.21.19.04.00#Time switches#30.21.19.00.00
-unspsc7#30.21.19.05.00#Snap switches#30.21.19.00.00
-unspsc7#30.21.19.06.00#Mechanical switches#30.21.19.00.00
-unspsc7#30.21.19.07.00#Pressure switches#30.21.19.00.00
-unspsc7#30.21.19.08.00#Toggle switches#30.21.19.00.00
-unspsc7#30.21.19.09.00#Slide switches#30.21.19.00.00
-unspsc7#30.21.19.10.00#Limit switches#30.21.19.00.00
-unspsc7#30.21.19.11.00#Controller switches#30.21.19.00.00
-unspsc7#30.21.19.12.00#Variable switches#30.21.19.00.00
-unspsc7#30.21.19.13.00#Push button switches#30.21.19.00.00
-unspsc7#30.21.19.14.00#Rotary switches#30.21.19.00.00
-unspsc7#30.21.19.15.00#Power relays#30.21.19.00.00
-unspsc7#30.21.19.16.00#General purpose relays#30.21.19.00.00
-unspsc7#30.21.19.17.00#Socket relays#30.21.19.00.00
-unspsc7#30.21.19.18.00#Alternating voltage relays#30.21.19.00.00
-unspsc7#30.21.19.19.00#Mercury relays#30.21.19.00.00
-unspsc7#30.21.19.20.00#Time relays#30.21.19.00.00
-unspsc7#30.21.19.21.00#Overload relays#30.21.19.00.00
-unspsc7#30.21.19.22.00#Motor starter controls#30.21.19.00.00
-unspsc7#30.21.19.23.00#Electrical contacts#30.21.19.00.00
-unspsc7#30.21.19.24.00#Timer controls#30.21.19.00.00
-unspsc7#30.21.19.25.00#Photocontrols#30.21.19.00.00
-unspsc7#30.21.19.26.00#Non fusible switches#30.21.19.00.00
-unspsc7#30.21.19.27.00#Radio frequency (RF) switches#30.21.19.00.00
-unspsc7#30.21.19.28.00#Proximity switches#30.21.19.00.00
-unspsc7#30.21.19.29.00#Encoders#30.21.19.00.00
-unspsc7#30.21.19.30.00#Photoelectric sensors#30.21.19.00.00
-unspsc7#30.21.19.31.00#Contactors#30.21.19.00.00
-unspsc7#30.21.20.00.00#Circuit protection devices and accessories#30.21.00.00.00
-unspsc7#30.21.20.01.00#Circuit breakers#30.21.20.00.00
-unspsc7#30.21.20.02.00#Magnetic circuit breakers#30.21.20.00.00
-unspsc7#30.21.20.03.00#Miniature circuit breakers#30.21.20.00.00
-unspsc7#30.21.20.04.00#Time delay fuses#30.21.20.00.00
-unspsc7#30.21.20.05.00#Plug fuses#30.21.20.00.00
-unspsc7#30.21.20.06.00#Cartridge fuses#30.21.20.00.00
-unspsc7#30.21.20.07.00#Glass body fuses#30.21.20.00.00
-unspsc7#30.21.20.08.00#Class type fuses#30.21.20.00.00
-unspsc7#30.21.20.09.00#Midget fuses#30.21.20.00.00
-unspsc7#30.21.20.10.00#Surge suppressers#30.21.20.00.00
-unspsc7#30.21.20.11.00#Ceramic fuses#30.21.20.00.00
-unspsc7#30.21.20.12.00#Blade fuses#30.21.20.00.00
-unspsc7#30.21.21.00.00#Electrical hardware and supplies#30.21.00.00.00
-unspsc7#30.21.21.01.00#Electrical hangers#30.21.21.00.00
-unspsc7#30.21.21.02.00#Cable clips#30.21.21.00.00
-unspsc7#30.21.21.03.00#Cable ties#30.21.21.00.00
-unspsc7#30.21.21.04.00#Wallplates#30.21.21.00.00
-unspsc7#30.21.21.05.00#Switchplates#30.21.21.00.00
-unspsc7#30.21.21.06.00#Cable clamps#30.21.21.00.00
-unspsc7#30.21.21.07.00#Transformer bushings#30.21.21.00.00
-unspsc7#30.21.21.08.00#Harness board nails#30.21.21.00.00
-unspsc7#30.21.21.09.00#Din Rail#30.21.21.00.00
-unspsc7#30.21.21.10.00#Handle tie#30.21.21.00.00
-unspsc7#30.21.21.11.00#Electrical receptacle multipliers#30.21.21.00.00
-unspsc7#30.21.21.12.00#Tubings#30.21.21.00.00
-unspsc7#30.21.21.13.00#End caps#30.21.21.00.00
-unspsc7#30.21.21.14.00#Spiral wrapping#30.21.21.00.00
-unspsc7#30.21.21.15.00#Grommet edging#30.21.21.00.00
-unspsc7#30.21.21.16.00#Corrugated loom tubes#30.21.21.00.00
-unspsc7#30.21.21.17.00#Expandable braided sleeve#30.21.21.00.00
-unspsc7#30.21.21.18.00#Cable tie mounts#30.21.21.00.00
-unspsc7#30.22.00.00.00#Permanent structures#30.00.00.00.00
-unspsc7#30.22.10.00.00#Commercial and entertainment structures#30.22.00.00.00
-unspsc7#30.22.10.01.00#Shopping malls#30.22.10.00.00
-unspsc7#30.22.10.02.00#Parking structures#30.22.10.00.00
-unspsc7#30.22.10.03.00#Cafeteria#30.22.10.00.00
-unspsc7#30.22.10.04.00#Shop buildings#30.22.10.00.00
-unspsc7#30.22.10.05.00#Shopping center#30.22.10.00.00
-unspsc7#30.22.10.06.00#Canteen#30.22.10.00.00
-unspsc7#30.22.10.07.00#Theater#30.22.10.00.00
-unspsc7#30.22.10.08.00#Auditorium#30.22.10.00.00
-unspsc7#30.22.10.09.00#Market#30.22.10.00.00
-unspsc7#30.22.10.10.00#Childrens play area#30.22.10.00.00
-unspsc7#30.22.10.11.00#Zoo#30.22.10.00.00
-unspsc7#30.22.10.12.00#Gardens#30.22.10.00.00
-unspsc7#30.22.10.13.00#Parks#30.22.10.00.00
-unspsc7#30.22.10.14.00#Waterside leisure facilities#30.22.10.00.00
-unspsc7#30.22.20.00.00#Transport structures#30.22.00.00.00
-unspsc7#30.22.20.01.00#Steel bridges#30.22.20.00.00
-unspsc7#30.22.20.02.00#Dry dock#30.22.20.00.00
-unspsc7#30.22.20.03.00#Bus station#30.22.20.00.00
-unspsc7#30.22.20.04.00#Bus garage#30.22.20.00.00
-unspsc7#30.22.20.05.00#Service area building#30.22.20.00.00
-unspsc7#30.22.20.06.00#Railway station#30.22.20.00.00
-unspsc7#30.22.20.07.00#Railway depot#30.22.20.00.00
-unspsc7#30.22.20.08.00#Underground railway station#30.22.20.00.00
-unspsc7#30.22.20.09.00#Rail terminal building#30.22.20.00.00
-unspsc7#30.22.20.10.00#Tramway depot#30.22.20.00.00
-unspsc7#30.22.20.11.00#Tramway platforms#30.22.20.00.00
-unspsc7#30.22.20.12.00#Airport buildings#30.22.20.00.00
-unspsc7#30.22.20.13.00#Airport control tower#30.22.20.00.00
-unspsc7#30.22.20.14.00#Airfield#30.22.20.00.00
-unspsc7#30.22.20.15.00#Runway#30.22.20.00.00
-unspsc7#30.22.20.16.00#Quay#30.22.20.00.00
-unspsc7#30.22.20.17.00#Pier#30.22.20.00.00
-unspsc7#30.22.20.18.00#Dock#30.22.20.00.00
-unspsc7#30.22.20.19.00#Wharf#30.22.20.00.00
-unspsc7#30.22.20.20.00#Marina#30.22.20.00.00
-unspsc7#30.22.20.21.00#Yacht harbor#30.22.20.00.00
-unspsc7#30.22.20.22.00#Breakwater#30.22.20.00.00
-unspsc7#30.22.20.23.00#Seawall#30.22.20.00.00
-unspsc7#30.22.20.24.00#Ferry terminal building#30.22.20.00.00
-unspsc7#30.22.20.25.00#Ro ro terminal#30.22.20.00.00
-unspsc7#30.22.20.26.00#Lighthouse#30.22.20.00.00
-unspsc7#30.22.20.27.00#Road bridge#30.22.20.00.00
-unspsc7#30.22.20.28.00#Railway bridge#30.22.20.00.00
-unspsc7#30.22.20.29.00#Footbridge#30.22.20.00.00
-unspsc7#30.22.20.30.00#Road viaduct#30.22.20.00.00
-unspsc7#30.22.20.31.00#Railway viaduct#30.22.20.00.00
-unspsc7#30.22.20.32.00#Underpass#30.22.20.00.00
-unspsc7#30.22.20.33.00#Overpass#30.22.20.00.00
-unspsc7#30.22.20.34.00#Subway#30.22.20.00.00
-unspsc7#30.22.20.35.00#Culverts#30.22.20.00.00
-unspsc7#30.22.20.36.00#Road tunnel#30.22.20.00.00
-unspsc7#30.22.20.37.00#Railway tunnel#30.22.20.00.00
-unspsc7#30.22.20.38.00#Pedestrian tunnel#30.22.20.00.00
-unspsc7#30.22.20.39.00#Canal tunnel#30.22.20.00.00
-unspsc7#30.22.20.40.00#Under river tunnel#30.22.20.00.00
-unspsc7#30.22.20.41.00#Undersea tunnel#30.22.20.00.00
-unspsc7#30.22.20.42.00#Highways#30.22.20.00.00
-unspsc7#30.22.20.43.00#Crossroad#30.22.20.00.00
-unspsc7#30.22.20.44.00#Ring road#30.22.20.00.00
-unspsc7#30.22.20.45.00#Trunk road#30.22.20.00.00
-unspsc7#30.22.20.46.00#Secondary road#30.22.20.00.00
-unspsc7#30.22.20.47.00#Access road#30.22.20.00.00
-unspsc7#30.22.20.48.00#Slip road#30.22.20.00.00
-unspsc7#30.22.20.49.00#Dual carriageway#30.22.20.00.00
-unspsc7#30.22.20.50.00#Single carriageway#30.22.20.00.00
-unspsc7#30.22.20.51.00#Road junction#30.22.20.00.00
-unspsc7#30.22.20.52.00#Pedestrian ways#30.22.20.00.00
-unspsc7#30.22.20.53.00#Pedestrian overpass#30.22.20.00.00
-unspsc7#30.22.20.54.00#Footpath#30.22.20.00.00
-unspsc7#30.22.20.55.00#Cycle path#30.22.20.00.00
-unspsc7#30.22.20.56.00#Pipeline carrying bridge#30.22.20.00.00
-unspsc7#30.22.20.57.00#Pipelines#30.22.20.00.00
-unspsc7#30.22.20.58.00#Pumping station#30.22.20.00.00
-unspsc7#30.22.20.59.00#Sewage pumping stations#30.22.20.00.00
-unspsc7#30.22.20.60.00#Sewage outfall#30.22.20.00.00
-unspsc7#30.22.20.61.00#Parking lot#30.22.20.00.00
-unspsc7#30.22.20.62.00#Parking structures#30.22.20.00.00
-unspsc7#30.22.20.63.00#Motorway service area#30.22.20.00.00
-unspsc7#30.22.21.00.00#Public structures#30.22.00.00.00
-unspsc7#30.22.21.01.00#Post office#30.22.21.00.00
-unspsc7#30.22.21.02.00#Bank#30.22.21.00.00
-unspsc7#30.22.21.03.00#Police station#30.22.21.00.00
-unspsc7#30.22.21.04.00#Court building#30.22.21.00.00
-unspsc7#30.22.21.05.00#Prison building#30.22.21.00.00
-unspsc7#30.22.21.06.00#Fire station#30.22.21.00.00
-unspsc7#30.22.21.07.00#Ambulance station#30.22.21.00.00
-unspsc7#30.22.21.08.00#Mountain rescue building#30.22.21.00.00
-unspsc7#30.22.21.09.00#Lifeboat station#30.22.21.00.00
-unspsc7#30.22.21.10.00#Coastguard building#30.22.21.00.00
-unspsc7#30.22.21.11.00#Rescue service station#30.22.21.00.00
-unspsc7#30.22.21.12.00#Civic center#30.22.21.00.00
-unspsc7#30.22.21.13.00#Crematorium#30.22.21.00.00
-unspsc7#30.22.21.14.00#Art gallery#30.22.21.00.00
-unspsc7#30.22.21.15.00#Prehistoric monument#30.22.21.00.00
-unspsc7#30.22.21.16.00#Ticket offices#30.22.21.00.00
-unspsc7#30.22.22.00.00#Utilities structures#30.22.00.00.00
-unspsc7#30.22.22.01.00#Radar station#30.22.22.00.00
-unspsc7#30.22.22.02.00#Substation#30.22.22.00.00
-unspsc7#30.22.22.03.00#Nuclear power station#30.22.22.00.00
-unspsc7#30.22.22.04.00#Water tower#30.22.22.00.00
-unspsc7#30.22.22.05.00#Wells#30.22.22.00.00
-unspsc7#30.22.22.06.00#Mobile telephone base stations#30.22.22.00.00
-unspsc7#30.22.22.07.00#Dam#30.22.22.00.00
-unspsc7#30.22.22.08.00#Oil or gas platforms#30.22.22.00.00
-unspsc7#30.22.23.00.00#Educational and research structures#30.22.00.00.00
-unspsc7#30.22.23.01.00#Schools#30.22.23.00.00
-unspsc7#30.22.23.02.00#Polytechnic#30.22.23.00.00
-unspsc7#30.22.23.03.00#Vocational college#30.22.23.00.00
-unspsc7#30.22.23.04.00#Lecture theater#30.22.23.00.00
-unspsc7#30.22.23.05.00#Library#30.22.23.00.00
-unspsc7#30.22.23.06.00#Language laboratory#30.22.23.00.00
-unspsc7#30.22.23.07.00#Laboratory building#30.22.23.00.00
-unspsc7#30.22.23.08.00#Meteorological stations#30.22.23.00.00
-unspsc7#30.22.23.09.00#Research or testing facilities#30.22.23.00.00
-unspsc7#30.22.24.00.00#Hospital structures#30.22.00.00.00
-unspsc7#30.22.24.01.00#Clinic#30.22.24.00.00
-unspsc7#30.22.24.02.00#Nursing home#30.22.24.00.00
-unspsc7#30.22.24.03.00#Operating theater#30.22.24.00.00
-unspsc7#30.22.24.04.00#Intensive care unit#30.22.24.00.00
-unspsc7#30.22.24.05.00#Diagnostic screening room#30.22.24.00.00
-unspsc7#30.22.24.06.00#Screening rooms#30.22.24.00.00
-unspsc7#30.22.24.07.00#Fluoroscopy room#30.22.24.00.00
-unspsc7#30.22.24.08.00#Pathology room#30.22.24.00.00
-unspsc7#30.22.24.09.00#Catheter room#30.22.24.00.00
-unspsc7#30.22.25.00.00#Accommodation structures#30.22.00.00.00
-unspsc7#30.22.25.01.00#Residential homes#30.22.25.00.00
-unspsc7#30.22.25.02.00#Flats#30.22.25.00.00
-unspsc7#30.22.25.03.00#Childrens home#30.22.25.00.00
-unspsc7#30.22.25.04.00#Daycare center#30.22.25.00.00
-unspsc7#30.22.25.05.00#Retirement home#30.22.25.00.00
-unspsc7#30.22.25.06.00#Old peoples home#30.22.25.00.00
-unspsc7#30.22.25.07.00#Hostel#30.22.25.00.00
-unspsc7#30.22.26.00.00#Sports and health structures#30.22.00.00.00
-unspsc7#30.22.26.01.00#Stadium#30.22.26.00.00
-unspsc7#30.22.26.02.00#Sports ground#30.22.26.00.00
-unspsc7#30.22.26.03.00#Running track#30.22.26.00.00
-unspsc7#30.22.26.04.00#Sports hall#30.22.26.00.00
-unspsc7#30.22.26.05.00#Spa#30.22.26.00.00
-unspsc7#30.22.26.06.00#Gymnasium#30.22.26.00.00
-unspsc7#30.22.26.07.00#Swimming pool#30.22.26.00.00
-unspsc7#30.22.26.08.00#Water sports facilities#30.22.26.00.00
-unspsc7#30.22.27.00.00#Industrial structures#30.22.00.00.00
-unspsc7#30.22.27.01.00#Workshops#30.22.27.00.00
-unspsc7#30.22.27.02.00#Cold storage installations#30.22.27.00.00
-unspsc7#30.22.27.03.00#Warehouse stores#30.22.27.00.00
-unspsc7#30.22.28.00.00#Agricultural and farming and fishing structures#30.22.00.00.00
-unspsc7#30.22.28.01.00#Barn#30.22.28.00.00
-unspsc7#30.22.28.02.00#Cowsheds#30.22.28.00.00
-unspsc7#30.22.28.03.00#Irrigation channel#30.22.28.00.00
-unspsc7#30.22.29.00.00#Defense structures#30.22.00.00.00
-unspsc7#30.22.29.01.00#Military bunker#30.22.29.00.00
-unspsc7#30.22.29.02.00#Military shelter#30.22.29.00.00
-unspsc7#30.22.29.03.00#Barracks#30.22.29.00.00
-unspsc7#30.22.29.04.00#Military mess#30.22.29.00.00
-unspsc7#30.22.30.00.00#Religious structures#30.22.00.00.00
-unspsc7#30.22.30.01.00#Churches#30.22.30.00.00
-unspsc7#30.22.30.02.00#Temples#30.22.30.00.00
-unspsc7#30.22.30.03.00#Mosques#30.22.30.00.00
-unspsc7#31.00.00.00.00#Manufacturing Components and Supplies#31.00.00.00.00
-unspsc7#31.10.00.00.00#Castings#31.00.00.00.00
-unspsc7#31.10.15.00.00#Die castings#31.10.00.00.00
-unspsc7#31.10.15.01.00#Aluminum die castings#31.10.15.00.00
-unspsc7#31.10.15.02.00#Ferrous alloy die castings#31.10.15.00.00
-unspsc7#31.10.15.03.00#Iron die castings#31.10.15.00.00
-unspsc7#31.10.15.04.00#Non ferrous alloy die castings#31.10.15.00.00
-unspsc7#31.10.15.05.00#Stainless steel die castings#31.10.15.00.00
-unspsc7#31.10.15.06.00#Steel die castings#31.10.15.00.00
-unspsc7#31.10.15.07.00#Magnesium die castings#31.10.15.00.00
-unspsc7#31.10.15.08.00#Zinc die castings#31.10.15.00.00
-unspsc7#31.10.15.09.00#Tin die castings#31.10.15.00.00
-unspsc7#31.10.15.10.00#Titanium die castings#31.10.15.00.00
-unspsc7#31.10.15.11.00#Beryllium die castings#31.10.15.00.00
-unspsc7#31.10.15.12.00#Precious metal die castings#31.10.15.00.00
-unspsc7#31.10.15.13.00#Copper die castings#31.10.15.00.00
-unspsc7#31.10.15.14.00#Lead die castings#31.10.15.00.00
-unspsc7#31.10.15.15.00#Brass die castings#31.10.15.00.00
-unspsc7#31.10.15.16.00#Bronze die castings#31.10.15.00.00
-unspsc7#31.10.16.00.00#Sand castings#31.10.00.00.00
-unspsc7#31.10.16.01.00#Non ferrous alloy sand castings#31.10.16.00.00
-unspsc7#31.10.16.02.00#Ferrous alloy sand castings#31.10.16.00.00
-unspsc7#31.10.16.03.00#Steel sand castings#31.10.16.00.00
-unspsc7#31.10.16.04.00#Stainless steel sand castings#31.10.16.00.00
-unspsc7#31.10.16.05.00#Iron sand castings#31.10.16.00.00
-unspsc7#31.10.16.06.00#Aluminum sand castings#31.10.16.00.00
-unspsc7#31.10.16.07.00#Magnesium sand castings#31.10.16.00.00
-unspsc7#31.10.16.08.00#Titanium sand castings#31.10.16.00.00
-unspsc7#31.10.16.09.00#Beryllium sand castings#31.10.16.00.00
-unspsc7#31.10.16.10.00#Copper sand castings#31.10.16.00.00
-unspsc7#31.10.16.11.00#Brass sand castings#31.10.16.00.00
-unspsc7#31.10.16.12.00#Bronze sand castings#31.10.16.00.00
-unspsc7#31.10.16.13.00#Zinc sand castings#31.10.16.00.00
-unspsc7#31.10.16.14.00#Tin sand castings#31.10.16.00.00
-unspsc7#31.10.16.15.00#Lead sand castings#31.10.16.00.00
-unspsc7#31.10.16.16.00#Precious metal sand castings#31.10.16.00.00
-unspsc7#31.10.17.00.00#Permanent mold castings#31.10.00.00.00
-unspsc7#31.10.17.01.00#Non ferrous alloy permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.02.00#Ferrous alloy permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.03.00#Steel permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.04.00#Stainless steel permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.05.00#Iron permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.06.00#Aluminum permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.07.00#Magnesium permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.08.00#Titanium permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.09.00#Beryllium permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.10.00#Copper permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.11.00#Brass permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.12.00#Bronze permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.13.00#Zinc permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.14.00#Tin permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.15.00#Lead permanent mold castings#31.10.17.00.00
-unspsc7#31.10.17.16.00#Precious metal permanent mold castings#31.10.17.00.00
-unspsc7#31.10.18.00.00#Shell mold castings#31.10.00.00.00
-unspsc7#31.10.18.01.00#Non ferrous alloy shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.02.00#Ferrous alloy shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.03.00#Steel shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.04.00#Stainless steel shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.05.00#Iron shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.06.00#Aluminum shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.07.00#Magnesium shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.08.00#Titanium shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.09.00#Beryllium shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.10.00#Copper shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.11.00#Brass shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.12.00#Bronze shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.13.00#Zinc shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.14.00#Tin shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.15.00#Lead shell mold castings#31.10.18.00.00
-unspsc7#31.10.18.16.00#Precious shell mold castings#31.10.18.00.00
-unspsc7#31.10.19.00.00#Investment castings#31.10.00.00.00
-unspsc7#31.10.19.01.00#Non ferrous alloy investment castings#31.10.19.00.00
-unspsc7#31.10.19.02.00#Ferrous alloy investment castings#31.10.19.00.00
-unspsc7#31.10.19.03.00#Steel investment castings#31.10.19.00.00
-unspsc7#31.10.19.04.00#Stainless steel investment castings#31.10.19.00.00
-unspsc7#31.10.19.05.00#Iron investment castings#31.10.19.00.00
-unspsc7#31.10.19.06.00#Aluminum investment castings#31.10.19.00.00
-unspsc7#31.10.19.07.00#Magnesium investment castings#31.10.19.00.00
-unspsc7#31.10.19.08.00#Zinc investment castings#31.10.19.00.00
-unspsc7#31.10.19.09.00#Tin investment castings#31.10.19.00.00
-unspsc7#31.10.19.10.00#Lead investment castings#31.10.19.00.00
-unspsc7#31.10.19.11.00#Precious metal investment castings#31.10.19.00.00
-unspsc7#31.10.19.12.00#Titanium investment castings#31.10.19.00.00
-unspsc7#31.10.20.00.00#Centrifugal castings#31.10.00.00.00
-unspsc7#31.10.20.01.00#Non ferrous alloy centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.02.00#Ferrous alloy centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.03.00#Steel centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.04.00#Stainless steel centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.05.00#Iron centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.06.00#Aluminum centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.07.00#Magnesium centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.08.00#Titanium centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.09.00#Beryllium centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.10.00#Copper centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.11.00#Brass centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.12.00#Bronze centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.13.00#Zinc centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.14.00#Tin centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.15.00#Lead centrifugal castings#31.10.20.00.00
-unspsc7#31.10.20.16.00#Precious metal centrifugal castings#31.10.20.00.00
-unspsc7#31.10.21.00.00#Ceramic mold castings#31.10.00.00.00
-unspsc7#31.10.21.01.00#Non ferrous alloy ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.02.00#Ferrous alloy ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.03.00#Steel ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.04.00#Stainless steel ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.05.00#Iron ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.06.00#Aluminum ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.07.00#Magnesium ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.08.00#Titanium ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.09.00#Beryllium ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.10.00#Copper ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.11.00#Brass ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.12.00#Bronze ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.13.00#Zinc ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.14.00#Tin ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.15.00#Lead ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.21.16.00#Precious metal ceramic mold castings#31.10.21.00.00
-unspsc7#31.10.22.00.00#Graphite mold castings#31.10.00.00.00
-unspsc7#31.10.22.01.00#Non ferrous alloy graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.02.00#Ferrrous alloy graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.03.00#Steel graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.04.00#Stainless steel graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.05.00#Iron graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.06.00#Aluminum graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.07.00#Magnesium graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.08.00#Titanium graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.09.00#Beryllium graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.10.00#Copper graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.11.00#Brass graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.12.00#Bronze graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.13.00#Zinc graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.14.00#Tin graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.15.00#Lead graphite mold castings#31.10.22.00.00
-unspsc7#31.10.22.16.00#Precious metal graphite mold castings#31.10.22.00.00
-unspsc7#31.10.23.00.00#Plaster mold castings#31.10.00.00.00
-unspsc7#31.10.23.01.00#Non ferrous alloy plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.02.00#Ferrous alloy plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.03.00#Steel plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.04.00#Stainless steel plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.05.00#Iron plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.06.00#Aluminum plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.07.00#Magnesium plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.08.00#Titanium plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.09.00#Beryllium plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.10.00#Copper plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.11.00#Brass plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.12.00#Bronze plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.13.00#Zinc plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.14.00#Tin plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.15.00#Lead plaster mold castings#31.10.23.00.00
-unspsc7#31.10.23.16.00#Precious metal plaster mold castings#31.10.23.00.00
-unspsc7#31.10.24.00.00#V process castings#31.10.00.00.00
-unspsc7#31.10.24.01.00#Non ferrous alloy v process castings#31.10.24.00.00
-unspsc7#31.10.24.02.00#Ferrous alloy v process castings#31.10.24.00.00
-unspsc7#31.10.24.03.00#Steel v process castings#31.10.24.00.00
-unspsc7#31.10.24.04.00#Stainless steel v process castings#31.10.24.00.00
-unspsc7#31.10.24.05.00#Iron v process castings#31.10.24.00.00
-unspsc7#31.10.24.06.00#Aluminum v process castings#31.10.24.00.00
-unspsc7#31.10.24.07.00#Magnesium v process castings#31.10.24.00.00
-unspsc7#31.10.24.08.00#Titanium v process castings#31.10.24.00.00
-unspsc7#31.10.24.09.00#Beryllium v process castings#31.10.24.00.00
-unspsc7#31.10.24.10.00#Copper v process castings#31.10.24.00.00
-unspsc7#31.10.24.11.00#Brass v process castings#31.10.24.00.00
-unspsc7#31.10.24.12.00#Bronze v process castings#31.10.24.00.00
-unspsc7#31.10.24.13.00#Zinc v process castings#31.10.24.00.00
-unspsc7#31.10.24.14.00#Tin v process castings#31.10.24.00.00
-unspsc7#31.10.24.15.00#Lead v process castings#31.10.24.00.00
-unspsc7#31.10.24.16.00#Precious metal v process castings#31.10.24.00.00
-unspsc7#31.11.00.00.00#Extrusions#31.00.00.00.00
-unspsc7#31.11.15.00.00#Profile extrusions#31.11.00.00.00
-unspsc7#31.11.15.01.00#Aluminum profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.02.00#Beryllium profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.03.00#Brass profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.04.00#Bronze profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.05.00#Copper profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.06.00#Ferrous alloy profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.07.00#Lead profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.08.00#Magnesium profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.09.00#Non ferrous alloy profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.10.00#Plastic profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.11.00#Precious metal profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.12.00#Rubber profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.13.00#Stainless steel profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.14.00#Steel profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.15.00#Tin profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.16.00#Titanium profile extrusions#31.11.15.00.00
-unspsc7#31.11.15.17.00#Zinc profile extrusions#31.11.15.00.00
-unspsc7#31.11.16.00.00#Impact extrusions#31.11.00.00.00
-unspsc7#31.11.16.01.00#Aluminum impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.02.00#Beryllium impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.03.00#Brass impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.04.00#Bronze impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.05.00#Copper impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.06.00#Ferrous alloy impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.07.00#Lead impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.08.00#Magnesium impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.09.00#Non ferrous alloy impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.10.00#Plastic impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.11.00#Precious metal impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.12.00#Rubber impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.13.00#Stainless steel impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.14.00#Steel impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.15.00#Tin impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.16.00#Titanium impact extrusions#31.11.16.00.00
-unspsc7#31.11.16.17.00#Zinc impact extrusions#31.11.16.00.00
-unspsc7#31.11.17.00.00#Cold extrusions#31.11.00.00.00
-unspsc7#31.11.17.01.00#Aluminum cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.02.00#Beryllium cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.03.00#Brass cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.04.00#Bronze cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.05.00#Copper cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.06.00#Ferrous alloy cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.07.00#Lead cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.08.00#Magnesium cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.09.00#Non ferrous alloy cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.10.00#Plastic cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.11.00#Precious metal cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.12.00#Rubber cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.13.00#Stainless steel cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.14.00#Steel cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.15.00#Tin cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.16.00#Titanium cold extrusions#31.11.17.00.00
-unspsc7#31.11.17.17.00#Zinc cold extrusions#31.11.17.00.00
-unspsc7#31.12.00.00.00#Machined castings#31.00.00.00.00
-unspsc7#31.12.10.00.00#Machined v process castings#31.12.00.00.00
-unspsc7#31.12.10.01.00#Non ferrous alloy v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.02.00#Ferrous alloy v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.03.00#Steel v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.04.00#Stainless steel v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.05.00#Iron v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.06.00#Aluminum v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.07.00#Magnesium v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.08.00#Titanium v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.09.00#Beryllium v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.10.00#Copper v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.11.00#Brass v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.12.00#Bronze v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.13.00#Zinc v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.14.00#Tin v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.15.00#Lead v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.16.00#Precious metal v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.17.00#Composite v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.18.00#Nickel alloy v process machined castings#31.12.10.00.00
-unspsc7#31.12.10.19.00#Non metallic v process machined castings#31.12.10.00.00
-unspsc7#31.12.11.00.00#Machined die castings#31.12.00.00.00
-unspsc7#31.12.11.01.00#Aluminum die machined castings#31.12.11.00.00
-unspsc7#31.12.11.02.00#Ferrous alloy die machined castings#31.12.11.00.00
-unspsc7#31.12.11.03.00#Iron die machined castings#31.12.11.00.00
-unspsc7#31.12.11.04.00#Non ferrous alloy die machined castings#31.12.11.00.00
-unspsc7#31.12.11.05.00#Stainless steel die machined castings#31.12.11.00.00
-unspsc7#31.12.11.06.00#Steel die machined castings#31.12.11.00.00
-unspsc7#31.12.11.07.00#Magnesium die machined castings#31.12.11.00.00
-unspsc7#31.12.11.08.00#Zinc die machined castings#31.12.11.00.00
-unspsc7#31.12.11.09.00#Tin die machined castings#31.12.11.00.00
-unspsc7#31.12.11.10.00#Titanium die machined castings#31.12.11.00.00
-unspsc7#31.12.11.11.00#Beryllium die machined castings#31.12.11.00.00
-unspsc7#31.12.11.12.00#Precious metal die machined castings#31.12.11.00.00
-unspsc7#31.12.11.13.00#Copper die machined castings#31.12.11.00.00
-unspsc7#31.12.11.14.00#Lead die machined castings#31.12.11.00.00
-unspsc7#31.12.11.15.00#Brass die machined castings#31.12.11.00.00
-unspsc7#31.12.11.16.00#Bronze die machined castings#31.12.11.00.00
-unspsc7#31.12.11.17.00#Composite die machined castings#31.12.11.00.00
-unspsc7#31.12.11.18.00#Nickel Alloy die machined castings#31.12.11.00.00
-unspsc7#31.12.11.19.00#Non metallic die machined castings#31.12.11.00.00
-unspsc7#31.12.12.00.00#Machined sand castings#31.12.00.00.00
-unspsc7#31.12.12.01.00#Non ferrous alloy sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.02.00#Ferrous alloy sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.03.00#Steel sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.04.00#Stainless steel sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.05.00#Iron sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.06.00#Aluminum sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.07.00#Magnesium sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.08.00#Titanium sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.09.00#Beryllium sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.10.00#Copper sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.11.00#Brass sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.12.00#Bronze sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.13.00#Zinc sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.14.00#Tin sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.15.00#Lead sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.16.00#Precious metal sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.17.00#Composite sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.18.00#Nickel Alloy sand machined castings#31.12.12.00.00
-unspsc7#31.12.12.19.00#Non metallic sand machined castings#31.12.12.00.00
-unspsc7#31.12.13.00.00#Machined permanent mold castings#31.12.00.00.00
-unspsc7#31.12.13.01.00#Non ferrous alloy permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.02.00#Ferrous alloy permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.03.00#Steel permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.04.00#Stainless steel permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.05.00#Iron permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.06.00#Aluminum permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.07.00#Magnesium permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.08.00#Titanium permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.09.00#Beryllium permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.10.00#Copper permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.11.00#Brass permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.12.00#Bronze permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.13.00#Zinc permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.14.00#Tin permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.15.00#Lead permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.16.00#Precious metal permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.17.00#Composite permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.18.00#Nickel alloy permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.13.19.00#Non metallic permanent mold machined castings#31.12.13.00.00
-unspsc7#31.12.14.00.00#Machined plaster mold castings#31.12.00.00.00
-unspsc7#31.12.14.01.00#Non ferrous alloy plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.02.00#Ferrous alloy plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.03.00#Steel plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.04.00#Stainless steel plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.05.00#Iron plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.06.00#Aluminum plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.07.00#Magnesium plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.08.00#Titanium plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.09.00#Beryllium plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.10.00#Copper plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.11.00#Brass plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.12.00#Bronze plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.13.00#Zinc plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.14.00#Tin plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.15.00#Lead plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.16.00#Precious metal plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.17.00#Composite plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.18.00#Nickel alloy plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.14.19.00#Non metallic plaster mold machined castings#31.12.14.00.00
-unspsc7#31.12.15.00.00#Machined shell mold castings#31.12.00.00.00
-unspsc7#31.12.15.01.00#Non ferrous alloy shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.02.00#Ferrous alloy shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.03.00#Steel shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.04.00#Stainless steel shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.05.00#Iron shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.06.00#Aluminum shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.07.00#Magnesium shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.08.00#Titanium shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.09.00#Beryllium shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.10.00#Copper shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.11.00#Brass shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.12.00#Bronze shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.13.00#Zinc shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.14.00#Tin shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.15.00#Lead shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.16.00#Precious shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.17.00#Composite shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.18.00#Nickel alloy shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.15.19.00#Non metallic shell mold machined castings#31.12.15.00.00
-unspsc7#31.12.16.00.00#Machined investment castings#31.12.00.00.00
-unspsc7#31.12.16.01.00#Non ferrous alloy investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.02.00#Ferrous alloy investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.03.00#Steel investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.04.00#Stainless steel investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.05.00#Iron investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.06.00#Aluminum investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.07.00#Magnesium investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.08.00#Zinc investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.09.00#Tin investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.10.00#Lead investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.11.00#Precious metal investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.12.00#Titanium investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.13.00#Composite investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.14.00#Nickel alloy investment machined castings#31.12.16.00.00
-unspsc7#31.12.16.15.00#Non metallic investment machined castings#31.12.16.00.00
-unspsc7#31.12.17.00.00#Machined centrifugal castings#31.12.00.00.00
-unspsc7#31.12.17.01.00#Non ferrous alloy centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.02.00#Ferrous alloy centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.03.00#Steel centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.04.00#Stainless steel centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.05.00#Iron centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.06.00#Aluminum centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.07.00#Magnesium centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.08.00#Titanium centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.09.00#Beryllium centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.10.00#Copper centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.11.00#Brass centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.12.00#Bronze centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.13.00#Zinc centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.14.00#Tin centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.15.00#Lead centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.16.00#Precious metal centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.17.00#Composite centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.18.00#Nickel alloy centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.17.19.00#Non metallic centrifugal machined castings#31.12.17.00.00
-unspsc7#31.12.18.00.00#Machined ceramic mold castings#31.12.00.00.00
-unspsc7#31.12.18.01.00#Non ferrous alloy ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.02.00#Ferrous alloy ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.03.00#Steel ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.04.00#Stainless steel ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.05.00#Iron ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.06.00#Aluminum ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.07.00#Magnesium ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.08.00#Titanium ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.09.00#Beryllium ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.10.00#Copper ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.11.00#Brass ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.12.00#Bronze ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.13.00#Zinc ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.14.00#Tin ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.15.00#Lead ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.16.00#Precious metal ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.17.00#Composite ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.18.00#Nickel alloy ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.18.19.00#Non metallic ceramic mold machined castings#31.12.18.00.00
-unspsc7#31.12.19.00.00#Machined graphite mold castings#31.12.00.00.00
-unspsc7#31.12.19.01.00#Non ferrous alloy graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.02.00#Ferrrous alloy graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.03.00#Steel graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.04.00#Stainless steel graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.05.00#Iron graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.06.00#Aluminum graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.07.00#Magnesium graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.08.00#Titanium graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.09.00#Beryllium graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.10.00#Copper graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.11.00#Brass graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.12.00#Bronze graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.13.00#Zinc graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.14.00#Tin graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.15.00#Lead graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.16.00#Precious metal graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.17.00#Composite graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.18.00#Nickel alloy metal graphite mold machined castings#31.12.19.00.00
-unspsc7#31.12.19.19.00#Non metallic graphite mold machined castings#31.12.19.00.00
-unspsc7#31.13.00.00.00#Forgings#31.00.00.00.00
-unspsc7#31.13.15.00.00#Open die forgings#31.13.00.00.00
-unspsc7#31.13.15.01.00#Non ferrous alloy open die forgings#31.13.15.00.00
-unspsc7#31.13.15.02.00#Ferrous alloy open die forgings#31.13.15.00.00
-unspsc7#31.13.15.03.00#Steel open die forgings#31.13.15.00.00
-unspsc7#31.13.15.04.00#Stainless steel open die forgings#31.13.15.00.00
-unspsc7#31.13.15.05.00#Iron open die forgings#31.13.15.00.00
-unspsc7#31.13.15.06.00#Aluminum open die forgings#31.13.15.00.00
-unspsc7#31.13.15.07.00#Magnesium open die forgings#31.13.15.00.00
-unspsc7#31.13.15.08.00#Titanium open die forgings#31.13.15.00.00
-unspsc7#31.13.15.09.00#Beryllium open die forgings#31.13.15.00.00
-unspsc7#31.13.15.10.00#Copper open die forgings#31.13.15.00.00
-unspsc7#31.13.15.11.00#Brass open die forgings#31.13.15.00.00
-unspsc7#31.13.15.12.00#Bronze open die forgings#31.13.15.00.00
-unspsc7#31.13.15.13.00#Zinc open die forgings#31.13.15.00.00
-unspsc7#31.13.15.14.00#Tin open die forgings#31.13.15.00.00
-unspsc7#31.13.15.15.00#Lead open die forgings#31.13.15.00.00
-unspsc7#31.13.15.16.00#Precious metal open die forgings#31.13.15.00.00
-unspsc7#31.13.16.00.00#Closed die forgings#31.13.00.00.00
-unspsc7#31.13.16.01.00#Non ferrous alloy closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.02.00#Ferrous alloy closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.03.00#Steel closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.04.00#Stainless steel closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.05.00#Iron closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.06.00#Aluminum closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.07.00#Magnesium closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.08.00#Titanium closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.09.00#Beryllium closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.10.00#Copper closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.11.00#Brass closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.12.00#Bronze closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.13.00#Zinc closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.14.00#Tin closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.15.00#Lead closed die forgings#31.13.16.00.00
-unspsc7#31.13.16.16.00#Precious metal closed die forgings#31.13.16.00.00
-unspsc7#31.13.17.00.00#Impression die forgings#31.13.00.00.00
-unspsc7#31.13.17.01.00#Non ferrous alloy impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.02.00#Ferrous alloy impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.03.00#Steel impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.04.00#Stainless steel impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.05.00#Iron impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.06.00#Aluminum impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.07.00#Magnesium impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.08.00#Titanium impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.09.00#Beryllium impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.10.00#Copper impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.11.00#Brass impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.12.00#Bronze impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.13.00#Zinc impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.14.00#Tin impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.15.00#Lead impression die forgings#31.13.17.00.00
-unspsc7#31.13.17.16.00#Precious metal impression die forgings#31.13.17.00.00
-unspsc7#31.13.18.00.00#Drop forgings#31.13.00.00.00
-unspsc7#31.13.18.01.00#Non ferrous alloy drop forgings#31.13.18.00.00
-unspsc7#31.13.18.02.00#Zinc drop forgings#31.13.18.00.00
-unspsc7#31.13.18.03.00#Ferrous alloy drop forgings#31.13.18.00.00
-unspsc7#31.13.18.04.00#Tin drop forgings#31.13.18.00.00
-unspsc7#31.13.18.05.00#Lead drop forgings#31.13.18.00.00
-unspsc7#31.13.18.06.00#Steel drop forgings#31.13.18.00.00
-unspsc7#31.13.18.07.00#Precious metal drop forgings#31.13.18.00.00
-unspsc7#31.13.18.08.00#Stainless steel drop forgings#31.13.18.00.00
-unspsc7#31.13.18.09.00#Iron drop forgings#31.13.18.00.00
-unspsc7#31.13.18.10.00#Aluminum drop forgings#31.13.18.00.00
-unspsc7#31.13.18.11.00#Magnesium drop forgings#31.13.18.00.00
-unspsc7#31.13.18.12.00#Titanium drop forgings#31.13.18.00.00
-unspsc7#31.13.18.13.00#Beryllium drop forgings#31.13.18.00.00
-unspsc7#31.13.18.14.00#Copper drop forgings#31.13.18.00.00
-unspsc7#31.13.18.15.00#Brass drop forgings#31.13.18.00.00
-unspsc7#31.13.18.16.00#Bronze drop forgings#31.13.18.00.00
-unspsc7#31.13.18.17.00#Cold steel drop forgings#31.13.18.00.00
-unspsc7#31.13.18.18.00#Semi finished drop forgings#31.13.18.00.00
-unspsc7#31.13.19.00.00#Rolled ring forgings#31.13.00.00.00
-unspsc7#31.13.19.01.00#Aluminum rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.02.00#Beryllium rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.03.00#Brass rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.04.00#Bronze rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.05.00#Copper rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.06.00#Iron rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.07.00#Lead rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.08.00#Magnesium rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.09.00#Precious metal rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.10.00#Stainless steel rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.11.00#Tin rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.12.00#Titanium rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.13.00#Zinc rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.14.00#Non ferrous alloy rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.15.00#Ferrous alloy rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.19.16.00#Steel rolled ring forgings#31.13.19.00.00
-unspsc7#31.13.20.00.00#Powdered metal components#31.13.00.00.00
-unspsc7#31.13.20.01.00#Ferrous powdered metal components#31.13.20.00.00
-unspsc7#31.13.20.02.00#Non ferrous powdered metal parts#31.13.20.00.00
-unspsc7#31.14.00.00.00#Moldings#31.00.00.00.00
-unspsc7#31.14.15.00.00#Injection moldings#31.14.00.00.00
-unspsc7#31.14.15.01.00#Plastic injection moldings#31.14.15.00.00
-unspsc7#31.14.15.02.00#Rubber injection moldings#31.14.15.00.00
-unspsc7#31.14.15.03.00#Glass injection moldings#31.14.15.00.00
-unspsc7#31.14.16.00.00#Vacuum moldings#31.14.00.00.00
-unspsc7#31.14.16.01.00#Plastic vacuum moldings#31.14.16.00.00
-unspsc7#31.14.16.02.00#Rubber vacuum moldings#31.14.16.00.00
-unspsc7#31.14.16.03.00#Glass vacuum moldings#31.14.16.00.00
-unspsc7#31.14.17.00.00#Blow moldings#31.14.00.00.00
-unspsc7#31.14.17.01.00#Plastic blow moldings#31.14.17.00.00
-unspsc7#31.14.17.02.00#Rubber blow moldings#31.14.17.00.00
-unspsc7#31.14.18.00.00#Reaction injection moldings (RIM)#31.14.00.00.00
-unspsc7#31.14.18.01.00#Plastic reaction injection moldings#31.14.18.00.00
-unspsc7#31.14.18.02.00#Rubber reaction injection moldings#31.14.18.00.00
-unspsc7#31.15.00.00.00#Rope and chain and cable and wire and strap#31.00.00.00.00
-unspsc7#31.15.15.00.00#Ropes#31.15.00.00.00
-unspsc7#31.15.15.01.00#Cotton rope#31.15.15.00.00
-unspsc7#31.15.15.02.00#Polyester rope#31.15.15.00.00
-unspsc7#31.15.15.03.00#Polypropylene rope#31.15.15.00.00
-unspsc7#31.15.15.04.00#Nylon rope#31.15.15.00.00
-unspsc7#31.15.15.05.00#Wire rope#31.15.15.00.00
-unspsc7#31.15.15.06.00#Hemp rope#31.15.15.00.00
-unspsc7#31.15.15.07.00#String or twine#31.15.15.00.00
-unspsc7#31.15.15.08.00#Sisal rope#31.15.15.00.00
-unspsc7#31.15.16.00.00#Chains#31.15.00.00.00
-unspsc7#31.15.16.01.00#Safety chains#31.15.16.00.00
-unspsc7#31.15.16.02.00#Skid chains#31.15.16.00.00
-unspsc7#31.15.16.03.00#Roller chains#31.15.16.00.00
-unspsc7#31.15.16.04.00#Proof coil chains#31.15.16.00.00
-unspsc7#31.15.16.05.00#Sash chain#31.15.16.00.00
-unspsc7#31.15.16.06.00#Jack chains#31.15.16.00.00
-unspsc7#31.15.16.07.00#Coil chains#31.15.16.00.00
-unspsc7#31.15.16.08.00#Ball chains#31.15.16.00.00
-unspsc7#31.15.16.09.00#Chain links#31.15.16.00.00
-unspsc7#31.15.17.00.00#Mechanical cable#31.15.00.00.00
-unspsc7#31.15.17.01.00#Mechanical cables#31.15.17.00.00
-unspsc7#31.15.17.02.00#Non electric control cables#31.15.17.00.00
-unspsc7#31.15.17.03.00#Lifting cables#31.15.17.00.00
-unspsc7#31.15.17.04.00#Track cables#31.15.17.00.00
-unspsc7#31.15.17.05.00#Non electrical steel cables#31.15.17.00.00
-unspsc7#31.15.17.06.00#Non electrical copper cables#31.15.17.00.00
-unspsc7#31.15.17.07.00#Non electrical aluminum cables#31.15.17.00.00
-unspsc7#31.15.18.00.00#Mechanical wire#31.15.00.00.00
-unspsc7#31.15.18.01.00#Mechanical wire#31.15.18.00.00
-unspsc7#31.15.18.02.00#Barbed wire#31.15.18.00.00
-unspsc7#31.15.18.03.00#Piano steel wire#31.15.18.00.00
-unspsc7#31.15.19.00.00#Straps#31.15.00.00.00
-unspsc7#31.15.19.01.00#Metal straps#31.15.19.00.00
-unspsc7#31.15.19.02.00#Leather straps#31.15.19.00.00
-unspsc7#31.15.19.03.00#Fiber straps#31.15.19.00.00
-unspsc7#31.15.19.04.00#Plastic straps#31.15.19.00.00
-unspsc7#31.15.20.00.00#Security wire#31.15.00.00.00
-unspsc7#31.15.20.01.00#Razor wire#31.15.20.00.00
-unspsc7#31.15.20.02.00#Barbed wire#31.15.20.00.00
-unspsc7#31.15.21.00.00#Electrical wire#31.15.00.00.00
-unspsc7#31.15.21.01.00#Wire assembly#31.15.21.00.00
-unspsc7#31.16.00.00.00#Hardware#31.00.00.00.00
-unspsc7#31.16.15.00.00#Screws#31.16.00.00.00
-unspsc7#31.16.15.01.00#Cap screws#31.16.15.00.00
-unspsc7#31.16.15.02.00#Anchor screws#31.16.15.00.00
-unspsc7#31.16.15.03.00#Drive screws#31.16.15.00.00
-unspsc7#31.16.15.04.00#Machine screws#31.16.15.00.00
-unspsc7#31.16.15.05.00#Set screws#31.16.15.00.00
-unspsc7#31.16.15.06.00#Sheet metal screws#31.16.15.00.00
-unspsc7#31.16.15.07.00#Tapping screws#31.16.15.00.00
-unspsc7#31.16.15.08.00#Wood screws#31.16.15.00.00
-unspsc7#31.16.15.09.00#Drywall screws#31.16.15.00.00
-unspsc7#31.16.15.10.00#Captive screw#31.16.15.00.00
-unspsc7#31.16.15.11.00#Locking screws#31.16.15.00.00
-unspsc7#31.16.15.12.00#Thread rolling screws#31.16.15.00.00
-unspsc7#31.16.15.13.00#Flathead screws#31.16.15.00.00
-unspsc7#31.16.15.14.00#Weld screws#31.16.15.00.00
-unspsc7#31.16.15.15.00#Flat head screws#31.16.15.00.00
-unspsc7#31.16.15.16.00#Thumb screws#31.16.15.00.00
-unspsc7#31.16.15.17.00#Shoulder screws#31.16.15.00.00
-unspsc7#31.16.16.00.00#Bolts#31.16.00.00.00
-unspsc7#31.16.16.01.00#Anchor bolts#31.16.16.00.00
-unspsc7#31.16.16.02.00#Blind bolts#31.16.16.00.00
-unspsc7#31.16.16.03.00#Carriage bolts#31.16.16.00.00
-unspsc7#31.16.16.04.00#Clevis bolts#31.16.16.00.00
-unspsc7#31.16.16.05.00#Cylinder bolts#31.16.16.00.00
-unspsc7#31.16.16.06.00#Door bolts#31.16.16.00.00
-unspsc7#31.16.16.07.00#Expansion bolts#31.16.16.00.00
-unspsc7#31.16.16.08.00#Lag bolts#31.16.16.00.00
-unspsc7#31.16.16.09.00#Toggle bolts#31.16.16.00.00
-unspsc7#31.16.16.10.00#Eye bolts#31.16.16.00.00
-unspsc7#31.16.16.11.00#Locking bolts#31.16.16.00.00
-unspsc7#31.16.16.12.00#Pin or collar bolts#31.16.16.00.00
-unspsc7#31.16.16.13.00#Tension bolts#31.16.16.00.00
-unspsc7#31.16.16.14.00#Structural bolts#31.16.16.00.00
-unspsc7#31.16.16.15.00#Torque bolts#31.16.16.00.00
-unspsc7#31.16.16.16.00#U bolts#31.16.16.00.00
-unspsc7#31.16.16.17.00#Wing bolts#31.16.16.00.00
-unspsc7#31.16.16.18.00#Threaded rod#31.16.16.00.00
-unspsc7#31.16.16.19.00#Stud bolts#31.16.16.00.00
-unspsc7#31.16.16.20.00#Hexagonal bolts#31.16.16.00.00
-unspsc7#31.16.17.00.00#Nuts#31.16.00.00.00
-unspsc7#31.16.17.01.00#Anchor nuts#31.16.17.00.00
-unspsc7#31.16.17.02.00#Bearing nuts#31.16.17.00.00
-unspsc7#31.16.17.03.00#Blind nuts#31.16.17.00.00
-unspsc7#31.16.17.04.00#Barrel nuts#31.16.17.00.00
-unspsc7#31.16.17.05.00#Cap nuts#31.16.17.00.00
-unspsc7#31.16.17.06.00#Captive nuts#31.16.17.00.00
-unspsc7#31.16.17.07.00#Castle nuts#31.16.17.00.00
-unspsc7#31.16.17.08.00#Channel nuts#31.16.17.00.00
-unspsc7#31.16.17.09.00#Clamping nuts#31.16.17.00.00
-unspsc7#31.16.17.10.00#Expansion nuts#31.16.17.00.00
-unspsc7#31.16.17.11.00#Eye nuts#31.16.17.00.00
-unspsc7#31.16.17.12.00#Flange nuts#31.16.17.00.00
-unspsc7#31.16.17.13.00#Hose nuts#31.16.17.00.00
-unspsc7#31.16.17.14.00#Insert nuts#31.16.17.00.00
-unspsc7#31.16.17.15.00#Self locking nuts#31.16.17.00.00
-unspsc7#31.16.17.16.00#Locknuts#31.16.17.00.00
-unspsc7#31.16.17.17.00#Wing nuts#31.16.17.00.00
-unspsc7#31.16.17.18.00#Toggle nuts#31.16.17.00.00
-unspsc7#31.16.17.19.00#Swivel nuts#31.16.17.00.00
-unspsc7#31.16.17.20.00#Stop nuts#31.16.17.00.00
-unspsc7#31.16.17.21.00#Spring nuts#31.16.17.00.00
-unspsc7#31.16.17.22.00#Union nuts#31.16.17.00.00
-unspsc7#31.16.17.23.00#Nutplate nuts#31.16.17.00.00
-unspsc7#31.16.17.24.00#Press nuts#31.16.17.00.00
-unspsc7#31.16.17.25.00#Clip nuts#31.16.17.00.00
-unspsc7#31.16.17.26.00#Dome nuts#31.16.17.00.00
-unspsc7#31.16.17.27.00#Hexagonal nuts#31.16.17.00.00
-unspsc7#31.16.17.28.00#Coupling nuts#31.16.17.00.00
-unspsc7#31.16.17.29.00#Knurled nuts#31.16.17.00.00
-unspsc7#31.16.18.00.00#Washers#31.16.00.00.00
-unspsc7#31.16.18.01.00#Locking washers#31.16.18.00.00
-unspsc7#31.16.18.02.00#Bevel washers#31.16.18.00.00
-unspsc7#31.16.18.03.00#Binding washers#31.16.18.00.00
-unspsc7#31.16.18.04.00#Curved washers#31.16.18.00.00
-unspsc7#31.16.18.05.00#Electrical insulating washers#31.16.18.00.00
-unspsc7#31.16.18.06.00#Finishing washers#31.16.18.00.00
-unspsc7#31.16.18.07.00#Flat washers#31.16.18.00.00
-unspsc7#31.16.18.08.00#Open washers#31.16.18.00.00
-unspsc7#31.16.18.09.00#Reducing washers#31.16.18.00.00
-unspsc7#31.16.18.10.00#Shim washers#31.16.18.00.00
-unspsc7#31.16.18.11.00#Spring washers#31.16.18.00.00
-unspsc7#31.16.18.12.00#Square washers#31.16.18.00.00
-unspsc7#31.16.18.13.00#Swivel washers#31.16.18.00.00
-unspsc7#31.16.18.14.00#Thrust washers#31.16.18.00.00
-unspsc7#31.16.18.15.00#Shoulder washers#31.16.18.00.00
-unspsc7#31.16.18.16.00#Spacers or standoffs#31.16.18.00.00
-unspsc7#31.16.18.17.00#Conical washers#31.16.18.00.00
-unspsc7#31.16.19.00.00#Springs#31.16.00.00.00
-unspsc7#31.16.19.01.00#Helical springs#31.16.19.00.00
-unspsc7#31.16.19.02.00#Leaf springs#31.16.19.00.00
-unspsc7#31.16.19.03.00#Spiral springs#31.16.19.00.00
-unspsc7#31.16.19.04.00#Compression springs#31.16.19.00.00
-unspsc7#31.16.19.05.00#Die springs#31.16.19.00.00
-unspsc7#31.16.19.06.00#Disk springs#31.16.19.00.00
-unspsc7#31.16.19.07.00#Extension springs#31.16.19.00.00
-unspsc7#31.16.19.08.00#Torsion springs#31.16.19.00.00
-unspsc7#31.16.20.00.00#Nails#31.16.00.00.00
-unspsc7#31.16.20.01.00#Brads#31.16.20.00.00
-unspsc7#31.16.20.02.00#Cap nails#31.16.20.00.00
-unspsc7#31.16.20.03.00#Finishing nails#31.16.20.00.00
-unspsc7#31.16.20.04.00#Masonry nails#31.16.20.00.00
-unspsc7#31.16.20.05.00#Roofing nails#31.16.20.00.00
-unspsc7#31.16.20.06.00#Wire nails#31.16.20.00.00
-unspsc7#31.16.20.07.00#Upholstery nails#31.16.20.00.00
-unspsc7#31.16.20.08.00#Drive pins#31.16.20.00.00
-unspsc7#31.16.21.00.00#Anchors#31.16.00.00.00
-unspsc7#31.16.21.01.00#Concrete anchors#31.16.21.00.00
-unspsc7#31.16.21.02.00#Wedge anchors#31.16.21.00.00
-unspsc7#31.16.21.03.00#Wall anchors#31.16.21.00.00
-unspsc7#31.16.21.04.00#Screw anchors#31.16.21.00.00
-unspsc7#31.16.21.05.00#Resin anchors#31.16.21.00.00
-unspsc7#31.16.21.06.00#Pipe anchors#31.16.21.00.00
-unspsc7#31.16.21.07.00#Nail expansion anchors#31.16.21.00.00
-unspsc7#31.16.21.08.00#Tie down anchors#31.16.21.00.00
-unspsc7#31.16.22.00.00#Rivets#31.16.00.00.00
-unspsc7#31.16.22.01.00#Blind rivets#31.16.22.00.00
-unspsc7#31.16.22.02.00#Crownhead rivets#31.16.22.00.00
-unspsc7#31.16.22.03.00#Flat head rivets#31.16.22.00.00
-unspsc7#31.16.22.04.00#Full rivets#31.16.22.00.00
-unspsc7#31.16.22.05.00#Ratchet rivets#31.16.22.00.00
-unspsc7#31.16.22.06.00#Tinners rivets#31.16.22.00.00
-unspsc7#31.16.22.07.00#Compression rivets#31.16.22.00.00
-unspsc7#31.16.22.08.00#Coopers rivets#31.16.22.00.00
-unspsc7#31.16.22.09.00#Button head rivets#31.16.22.00.00
-unspsc7#31.16.23.00.00#Mounting hardware#31.16.00.00.00
-unspsc7#31.16.23.01.00#Mounting profiles#31.16.23.00.00
-unspsc7#31.16.23.03.00#Mounting bars#31.16.23.00.00
-unspsc7#31.16.23.04.00#Mounting strips#31.16.23.00.00
-unspsc7#31.16.23.05.00#Mounting clips#31.16.23.00.00
-unspsc7#31.16.23.06.00#Mounting hangers#31.16.23.00.00
-unspsc7#31.16.23.07.00#Mounting plates#31.16.23.00.00
-unspsc7#31.16.23.08.00#Mounting panels#31.16.23.00.00
-unspsc7#31.16.23.09.00#Mounting racks#31.16.23.00.00
-unspsc7#31.16.23.10.00#Mounting straps#31.16.23.00.00
-unspsc7#31.16.23.11.00#Wall bushings#31.16.23.00.00
-unspsc7#31.16.24.00.00#Miscellaneous fasteners#31.16.00.00.00
-unspsc7#31.16.24.01.00#Grommets#31.16.24.00.00
-unspsc7#31.16.24.02.00#Hasps#31.16.24.00.00
-unspsc7#31.16.24.03.00#Hinges#31.16.24.00.00
-unspsc7#31.16.24.04.00#Hardware staples#31.16.24.00.00
-unspsc7#31.16.24.05.00#Turnbuckles#31.16.24.00.00
-unspsc7#31.16.24.06.00#Strapping or banding buckles#31.16.24.00.00
-unspsc7#31.16.24.07.00#Latch#31.16.24.00.00
-unspsc7#31.16.24.08.00#Cotter pins#31.16.24.00.00
-unspsc7#31.16.25.00.00#Brackets and braces#31.16.00.00.00
-unspsc7#31.16.25.01.00#Shelf brackets#31.16.25.00.00
-unspsc7#31.16.25.02.00#Angle brackets#31.16.25.00.00
-unspsc7#31.16.25.03.00#Braces#31.16.25.00.00
-unspsc7#31.16.25.04.00#Electrical fixture brackets#31.16.25.00.00
-unspsc7#31.16.25.05.00#Magnetic mounting brackets#31.16.25.00.00
-unspsc7#31.16.26.00.00#Hooks#31.16.00.00.00
-unspsc7#31.16.26.01.00#Swivel hooks#31.16.26.00.00
-unspsc7#31.16.26.02.00#Spring hooks#31.16.26.00.00
-unspsc7#31.16.26.03.00#S hooks#31.16.26.00.00
-unspsc7#31.16.26.04.00#Safety hooks#31.16.26.00.00
-unspsc7#31.16.26.05.00#Lifting hooks#31.16.26.00.00
-unspsc7#31.16.26.06.00#J hooks#31.16.26.00.00
-unspsc7#31.16.26.07.00#Guy wire hooks#31.16.26.00.00
-unspsc7#31.16.26.08.00#Grab hooks#31.16.26.00.00
-unspsc7#31.16.26.09.00#Screw hooks#31.16.26.00.00
-unspsc7#31.16.26.10.00#Peg board hooks#31.16.26.00.00
-unspsc7#31.16.26.11.00#Slip hooks#31.16.26.00.00
-unspsc7#31.16.27.00.00#Rolling hardware#31.16.00.00.00
-unspsc7#31.16.27.01.00#Casters#31.16.27.00.00
-unspsc7#31.16.27.02.00#Wheels#31.16.27.00.00
-unspsc7#31.16.27.03.00#Sliders#31.16.27.00.00
-unspsc7#31.16.28.00.00#Miscellaneous hardware#31.16.00.00.00
-unspsc7#31.16.28.01.00#Handles or knobs#31.16.28.00.00
-unspsc7#31.16.28.02.00#Inserts#31.16.28.00.00
-unspsc7#31.16.28.03.00#Shackles#31.16.28.00.00
-unspsc7#31.16.28.04.00#Door stops#31.16.28.00.00
-unspsc7#31.16.28.05.00#Cable thimble#31.16.28.00.00
-unspsc7#31.16.28.06.00#Screw covers#31.16.28.00.00
-unspsc7#31.16.28.07.00#Levers#31.16.28.00.00
-unspsc7#31.16.28.08.00#Panic bars#31.16.28.00.00
-unspsc7#31.16.29.00.00#Clamps#31.16.00.00.00
-unspsc7#31.16.29.01.00#Ear clamps#31.16.29.00.00
-unspsc7#31.16.29.02.00#Spring clamps#31.16.29.00.00
-unspsc7#31.16.29.03.00#Screw clamps#31.16.29.00.00
-unspsc7#31.16.29.04.00#Wire rope clamps#31.16.29.00.00
-unspsc7#31.16.29.05.00#Beam clamps#31.16.29.00.00
-unspsc7#31.16.30.00.00#Couplings#31.16.00.00.00
-unspsc7#31.16.30.01.00#Elastomeric couplings#31.16.30.00.00
-unspsc7#31.16.30.02.00#Gear couplings#31.16.30.00.00
-unspsc7#31.16.30.03.00#Metallic couplings#31.16.30.00.00
-unspsc7#31.16.30.04.00#Miniature couplings#31.16.30.00.00
-unspsc7#31.16.31.00.00#Connectors#31.16.00.00.00
-unspsc7#31.16.31.01.00#Quick disconnects#31.16.31.00.00
-unspsc7#31.16.31.02.00#Ferrule#31.16.31.00.00
-unspsc7#31.16.31.03.00#Trailer Connector#31.16.31.00.00
-unspsc7#31.16.32.00.00#Retaining hardware#31.16.00.00.00
-unspsc7#31.16.32.01.00#Spring pins#31.16.32.00.00
-unspsc7#31.16.32.02.00#Retaining rings#31.16.32.00.00
-unspsc7#31.16.32.03.00#Dowel pin#31.16.32.00.00
-unspsc7#31.16.32.04.00#Cotter pin#31.16.32.00.00
-unspsc7#31.16.32.05.00#Taper pins#31.16.32.00.00
-unspsc7#31.16.32.06.00#Grooved pins#31.16.32.00.00
-unspsc7#31.16.32.07.00#Shaft or woodruff keys#31.16.32.00.00
-unspsc7#31.16.32.08.00#Keystock#31.16.32.00.00
-unspsc7#31.16.32.09.00#Bearing holders or retainers#31.16.32.00.00
-unspsc7#31.16.32.10.00#Retaining collars#31.16.32.00.00
-unspsc7#31.16.33.00.00#Spacer#31.16.00.00.00
-unspsc7#31.16.33.01.00#Shim#31.16.33.00.00
-unspsc7#31.17.00.00.00#Bearings and bushings and wheels and gears#31.00.00.00.00
-unspsc7#31.17.15.00.00#Bearings#31.17.00.00.00
-unspsc7#31.17.15.01.00#Flanged bearings#31.17.15.00.00
-unspsc7#31.17.15.02.00#Radial bearings#31.17.15.00.00
-unspsc7#31.17.15.03.00#Wheel bearings#31.17.15.00.00
-unspsc7#31.17.15.04.00#Ball bearings#31.17.15.00.00
-unspsc7#31.17.15.05.00#Roller bearings#31.17.15.00.00
-unspsc7#31.17.15.06.00#Linear bearings#31.17.15.00.00
-unspsc7#31.17.15.07.00#Thrust bearings#31.17.15.00.00
-unspsc7#31.17.15.08.00#Rod end bearings#31.17.15.00.00
-unspsc7#31.17.15.09.00#Sleeve bearings#31.17.15.00.00
-unspsc7#31.17.15.10.00#Spherical bearings#31.17.15.00.00
-unspsc7#31.17.15.11.00#Pillow block bearings#31.17.15.00.00
-unspsc7#31.17.15.12.00#Needle bearings#31.17.15.00.00
-unspsc7#31.17.15.13.00#Hanger bearings#31.17.15.00.00
-unspsc7#31.17.15.14.00#Door closers#31.17.15.00.00
-unspsc7#31.17.15.15.00#Plain bearings#31.17.15.00.00
-unspsc7#31.17.15.16.00#Tapered bearings#31.17.15.00.00
-unspsc7#31.17.15.17.00#Needle bearings#31.17.15.00.00
-unspsc7#31.17.15.18.00#Bearing Cage#31.17.15.00.00
-unspsc7#31.17.15.19.00#Bearing blocks or housings#31.17.15.00.00
-unspsc7#31.17.15.20.00#Bearing journals#31.17.15.00.00
-unspsc7#31.17.15.21.00#Bearing rollers or balls#31.17.15.00.00
-unspsc7#31.17.16.00.00#Bushings#31.17.00.00.00
-unspsc7#31.17.16.01.00#Transformer bushings#31.17.16.00.00
-unspsc7#31.17.16.02.00#Wall bushings#31.17.16.00.00
-unspsc7#31.17.16.03.00#Drill bushings#31.17.16.00.00
-unspsc7#31.17.16.04.00#Pilot bushings#31.17.16.00.00
-unspsc7#31.17.16.05.00#Shaft bushings#31.17.16.00.00
-unspsc7#31.17.17.00.00#Gears#31.17.00.00.00
-unspsc7#31.17.17.01.00#Gear boxes#31.17.17.00.00
-unspsc7#31.17.17.02.00#Rack or pinion gears#31.17.17.00.00
-unspsc7#31.17.17.03.00#Differential gears#31.17.17.00.00
-unspsc7#31.17.17.04.00#Friction gears#31.17.17.00.00
-unspsc7#31.17.17.05.00#Helical gears#31.17.17.00.00
-unspsc7#31.17.17.06.00#Conical gears#31.17.17.00.00
-unspsc7#31.17.17.07.00#Spur gears#31.17.17.00.00
-unspsc7#31.17.17.08.00#Bevel gears#31.17.17.00.00
-unspsc7#31.17.17.09.00#Rack gears#31.17.17.00.00
-unspsc7#31.17.17.10.00#Pinion gears#31.17.17.00.00
-unspsc7#31.17.17.11.00#Ring gears#31.17.17.00.00
-unspsc7#31.17.17.12.00#Worm gears#31.17.17.00.00
-unspsc7#31.17.17.13.00#Side Gears#31.17.17.00.00
-unspsc7#31.17.17.14.00#Helical gears#31.17.17.00.00
-unspsc7#31.17.18.00.00#Industrial wheels#31.17.00.00.00
-unspsc7#31.17.18.01.00#Cog wheels#31.17.18.00.00
-unspsc7#31.17.18.02.00#Impeller wheels#31.17.18.00.00
-unspsc7#31.17.18.03.00#Flywheels#31.17.18.00.00
-unspsc7#31.17.18.04.00#Sheaves#31.17.18.00.00
-unspsc7#31.17.18.05.00#Wheel brushes#31.17.18.00.00
-unspsc7#31.17.19.00.00#Sprockets#31.17.00.00.00
-unspsc7#31.17.19.01.00#Roller chain sprockets#31.17.19.00.00
-unspsc7#31.17.19.02.00#Split sprockets#31.17.19.00.00
-unspsc7#31.18.00.00.00#Gaskets and seals#31.00.00.00.00
-unspsc7#31.18.15.00.00#Gaskets#31.18.00.00.00
-unspsc7#31.18.15.01.00#Plastic gaskets#31.18.15.00.00
-unspsc7#31.18.15.02.00#Rubber gaskets#31.18.15.00.00
-unspsc7#31.18.15.03.00#Metal gaskets#31.18.15.00.00
-unspsc7#31.18.15.04.00#Textile gaskets#31.18.15.00.00
-unspsc7#31.18.15.05.00#Cork gaskets#31.18.15.00.00
-unspsc7#31.18.15.06.00#O ring gaskets#31.18.15.00.00
-unspsc7#31.18.15.07.00#Electromagnetic interference (EMI) gaskets#31.18.15.00.00
-unspsc7#31.18.15.08.00#Bolted gaskets#31.18.15.00.00
-unspsc7#31.18.15.09.00#Gasket kits#31.18.15.00.00
-unspsc7#31.18.15.10.00#Silicone gaskets#31.18.15.00.00
-unspsc7#31.18.15.11.00#Liquid gaskets#31.18.15.00.00
-unspsc7#31.18.16.00.00#Seals#31.18.00.00.00
-unspsc7#31.18.16.01.00#Plastic seals#31.18.16.00.00
-unspsc7#31.18.16.02.00#Rubber seals#31.18.16.00.00
-unspsc7#31.18.16.03.00#Metallic seals#31.18.16.00.00
-unspsc7#31.18.16.04.00#Seal mechanical#31.18.16.00.00
-unspsc7#31.18.17.00.00#Packings and glands#31.18.00.00.00
-unspsc7#31.18.17.01.00#Packings#31.18.17.00.00
-unspsc7#31.18.17.02.00#Glands#31.18.17.00.00
-unspsc7#31.19.00.00.00#Grinding and polishing and smoothing materials#31.00.00.00.00
-unspsc7#31.19.15.00.00#Abrasives and abrasive media#31.19.00.00.00
-unspsc7#31.19.15.01.00#Abrasive papers#31.19.15.00.00
-unspsc7#31.19.15.02.00#Buffs#31.19.15.00.00
-unspsc7#31.19.15.03.00#Abrasive wheels#31.19.15.00.00
-unspsc7#31.19.15.04.00#Abrasive cloth#31.19.15.00.00
-unspsc7#31.19.15.05.00#Abrasive pads#31.19.15.00.00
-unspsc7#31.19.15.06.00#Abrasive discs#31.19.15.00.00
-unspsc7#31.19.15.07.00#Abrasive belts#31.19.15.00.00
-unspsc7#31.19.15.08.00#Bort#31.19.15.00.00
-unspsc7#31.19.15.09.00#Abrasive polishers#31.19.15.00.00
-unspsc7#31.19.15.10.00#Abrasive stones#31.19.15.00.00
-unspsc7#31.19.15.11.00#Steel wool#31.19.15.00.00
-unspsc7#31.19.15.12.00#Shot blast#31.19.15.00.00
-unspsc7#31.19.15.13.00#Glass bead#31.19.15.00.00
-unspsc7#31.19.15.14.00#Tumble media#31.19.15.00.00
-unspsc7#31.19.15.15.00#Abrasive mesh#31.19.15.00.00
-unspsc7#31.19.15.16.00#Abrasive cartridge rolls#31.19.15.00.00
-unspsc7#31.19.15.17.00#Emery boards#31.19.15.00.00
-unspsc7#31.19.16.00.00#Abrasive wheels#31.19.00.00.00
-unspsc7#31.19.16.01.00#Abrasive cubic borozon nitrate wheels#31.19.16.00.00
-unspsc7#31.19.16.02.00#Abrasive diamond wheels#31.19.16.00.00
-unspsc7#31.19.16.03.00#Tungsten carbide abrasive wheels#31.19.16.00.00
-unspsc7#31.20.00.00.00#Adhesives and sealants#31.00.00.00.00
-unspsc7#31.20.15.00.00#Tape#31.20.00.00.00
-unspsc7#31.20.15.01.00#Duct tape#31.20.15.00.00
-unspsc7#31.20.15.02.00#Electrical insulating tape#31.20.15.00.00
-unspsc7#31.20.15.03.00#Masking tape#31.20.15.00.00
-unspsc7#31.20.15.04.00#Carpet tape#31.20.15.00.00
-unspsc7#31.20.15.05.00#Double sided tape#31.20.15.00.00
-unspsc7#31.20.15.06.00#Bismalemide tape#31.20.15.00.00
-unspsc7#31.20.15.07.00#Fiberglass tape#31.20.15.00.00
-unspsc7#31.20.15.08.00#Graphite tape#31.20.15.00.00
-unspsc7#31.20.15.09.00#Nylon tape#31.20.15.00.00
-unspsc7#31.20.15.10.00#Resin impregnated tape#31.20.15.00.00
-unspsc7#31.20.15.11.00#Wire mesh tape#31.20.15.00.00
-unspsc7#31.20.15.12.00#Transparent tape#31.20.15.00.00
-unspsc7#31.20.15.13.00#Non skid safety tapes#31.20.15.00.00
-unspsc7#31.20.15.14.00#Polytetrafluoroethylene (PTFE) thread sealing tape#31.20.15.00.00
-unspsc7#31.20.15.15.00#Paper tapes#31.20.15.00.00
-unspsc7#31.20.15.16.00#Reflective tape#31.20.15.00.00
-unspsc7#31.20.15.17.00#Packaging tape#31.20.15.00.00
-unspsc7#31.20.15.18.00#Electrically conductive tape#31.20.15.00.00
-unspsc7#31.20.15.19.00#Pipe or hose repair tape#31.20.15.00.00
-unspsc7#31.20.15.20.00#Aisle marking tape#31.20.15.00.00
-unspsc7#31.20.15.21.00#Foil tape#31.20.15.00.00
-unspsc7#31.20.15.22.00#Adhesive transfer tape#31.20.15.00.00
-unspsc7#31.20.15.23.00#Cloth tape#31.20.15.00.00
-unspsc7#31.20.15.24.00#Color coding tape#31.20.15.00.00
-unspsc7#31.20.15.25.00#Vinyl tape#31.20.15.00.00
-unspsc7#31.20.15.26.00#Magnetic tape#31.20.15.00.00
-unspsc7#31.20.16.00.00#Other adhesives and sealants#31.20.00.00.00
-unspsc7#31.20.16.01.00#Chemical adhesives#31.20.16.00.00
-unspsc7#31.20.16.02.00#Pastes#31.20.16.00.00
-unspsc7#31.20.16.03.00#Gums#31.20.16.00.00
-unspsc7#31.20.16.04.00#Rubber cements#31.20.16.00.00
-unspsc7#31.20.16.05.00#Putties#31.20.16.00.00
-unspsc7#31.20.16.06.00#Caulks#31.20.16.00.00
-unspsc7#31.20.16.07.00#Epoxy bond#31.20.16.00.00
-unspsc7#31.20.16.08.00#Foam adhesives#31.20.16.00.00
-unspsc7#31.20.16.09.00#Hot melt adhesives#31.20.16.00.00
-unspsc7#31.20.16.10.00#Glues#31.20.16.00.00
-unspsc7#31.20.16.11.00#Film adhesives#31.20.16.00.00
-unspsc7#31.20.16.12.00#Thread sealants#31.20.16.00.00
-unspsc7#31.20.16.13.00#Re usable adhesive#31.20.16.00.00
-unspsc7#31.20.16.14.00#Sealing waxes#31.20.16.00.00
-unspsc7#31.21.00.00.00#Paints and primers and finishes#31.00.00.00.00
-unspsc7#31.21.15.00.00#Paints and primers#31.21.00.00.00
-unspsc7#31.21.15.01.00#Enamel paints#31.21.15.00.00
-unspsc7#31.21.15.02.00#Water based paints#31.21.15.00.00
-unspsc7#31.21.15.03.00#Pigment paints#31.21.15.00.00
-unspsc7#31.21.15.04.00#Coating paints#31.21.15.00.00
-unspsc7#31.21.15.05.00#Oil based paints#31.21.15.00.00
-unspsc7#31.21.15.06.00#Latex paints#31.21.15.00.00
-unspsc7#31.21.15.07.00#Spray paints#31.21.15.00.00
-unspsc7#31.21.15.08.00#Acrylic paints#31.21.15.00.00
-unspsc7#31.21.15.09.00#Enamel primers#31.21.15.00.00
-unspsc7#31.21.15.10.00#Polyurethane primers#31.21.15.00.00
-unspsc7#31.21.15.11.00#Urethane primers#31.21.15.00.00
-unspsc7#31.21.15.12.00#Latex primers#31.21.15.00.00
-unspsc7#31.21.16.00.00#Paint additives#31.21.00.00.00
-unspsc7#31.21.16.01.00#Calcimines#31.21.16.00.00
-unspsc7#31.21.16.02.00#Texturing materials#31.21.16.00.00
-unspsc7#31.21.16.03.00#Paint driers#31.21.16.00.00
-unspsc7#31.21.16.04.00#Paint extenders#31.21.16.00.00
-unspsc7#31.21.16.05.00#Anti slip agents#31.21.16.00.00
-unspsc7#31.21.16.06.00#Leveling agents#31.21.16.00.00
-unspsc7#31.21.16.07.00#Anti foaming agents#31.21.16.00.00
-unspsc7#31.21.17.00.00#Miscellaneous finishes#31.21.00.00.00
-unspsc7#31.21.17.01.00#Glazes#31.21.17.00.00
-unspsc7#31.21.17.02.00#Lusters#31.21.17.00.00
-unspsc7#31.21.17.03.00#Lacquers#31.21.17.00.00
-unspsc7#31.21.17.04.00#Sealers#31.21.17.00.00
-unspsc7#31.21.17.05.00#Shellacs#31.21.17.00.00
-unspsc7#31.21.17.06.00#Stains#31.21.17.00.00
-unspsc7#31.21.17.07.00#Varnishes#31.21.17.00.00
-unspsc7#31.21.17.08.00#Powder coat#31.21.17.00.00
-unspsc7#31.21.18.00.00#Paint solvents and thinners#31.21.00.00.00
-unspsc7#31.21.18.01.00#Paint or varnish removers#31.21.18.00.00
-unspsc7#31.21.18.02.00#Paint or varnish strippers#31.21.18.00.00
-unspsc7#31.21.18.03.00#Paint or varnish thinners#31.21.18.00.00
-unspsc7#31.21.19.00.00#Paint applicators and painting accessories#31.21.00.00.00
-unspsc7#31.21.19.01.00#Drop cloths#31.21.19.00.00
-unspsc7#31.21.19.02.00#Edging tools#31.21.19.00.00
-unspsc7#31.21.19.03.00#Masking equipment#31.21.19.00.00
-unspsc7#31.21.19.04.00#Paint brushes#31.21.19.00.00
-unspsc7#31.21.19.05.00#Paint mixers#31.21.19.00.00
-unspsc7#31.21.19.06.00#Paint rollers#31.21.19.00.00
-unspsc7#31.21.19.08.00#Paint sprayers#31.21.19.00.00
-unspsc7#31.21.19.09.00#Paint trays#31.21.19.00.00
-unspsc7#31.21.19.10.00#Paint mitts#31.21.19.00.00
-unspsc7#31.21.19.12.00#Telescoping poles#31.21.19.00.00
-unspsc7#31.21.19.13.00#Paint nozzles#31.21.19.00.00
-unspsc7#31.21.19.14.00#Air brushes#31.21.19.00.00
-unspsc7#31.21.19.15.00#Paint strainers#31.21.19.00.00
-unspsc7#31.22.00.00.00#Dyeing and tanning extracts#31.00.00.00.00
-unspsc7#31.22.15.00.00#Dyeing products#31.22.00.00.00
-unspsc7#31.22.15.01.00#Inorganic dyes#31.22.15.00.00
-unspsc7#31.22.15.02.00#Organic dyes of animal origin#31.22.15.00.00
-unspsc7#31.22.15.03.00#Organic dyes of vegetable origin#31.22.15.00.00
-unspsc7#31.22.16.00.00#Tanning products#31.22.00.00.00
-unspsc7#31.22.16.01.00#Inorganic tanning extracts#31.22.16.00.00
-unspsc7#31.22.16.02.00#Organic tanning extracts of animal origin#31.22.16.00.00
-unspsc7#31.22.16.03.00#Organic tanning extracts of vegetable origin#31.22.16.00.00
-unspsc7#31.23.00.00.00#Machined raw stock#31.00.00.00.00
-unspsc7#31.23.11.00.00#Machined bar stock#31.23.00.00.00
-unspsc7#31.23.11.01.00#Aluminum machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.02.00#Beryllium machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.03.00#Brass machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.04.00#Bronze machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.05.00#Copper machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.06.00#Iron machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.07.00#Lead machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.08.00#Magnesium machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.09.00#Precious metal machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.10.00#Stainless steel machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.11.00#Tin machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.12.00#Titanium machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.13.00#Zinc machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.14.00#Non ferrous alloy machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.15.00#Ferrous alloy machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.16.00#Steel machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.17.00#Composite machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.18.00#Nickel alloy machined bar stock#31.23.11.00.00
-unspsc7#31.23.11.19.00#Non metallic machined bar stock#31.23.11.00.00
-unspsc7#31.23.12.00.00#Machined plate stock#31.23.00.00.00
-unspsc7#31.23.12.01.00#Aluminum machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.02.00#Beryllium machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.03.00#Brass machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.04.00#Bronze machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.05.00#Copper machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.06.00#Iron machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.07.00#Lead machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.08.00#Magnesium machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.09.00#Precious metal machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.10.00#Stainless steel machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.11.00#Tin machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.12.00#Titanium machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.13.00#Zinc machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.14.00#Non ferrous alloy machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.15.00#Ferrous alloy machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.16.00#Steel machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.17.00#Composite machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.18.00#Nickel alloy machined plate stock#31.23.12.00.00
-unspsc7#31.23.12.19.00#Non metallic machined plate stock#31.23.12.00.00
-unspsc7#31.23.13.00.00#Shim stock#31.23.00.00.00
-unspsc7#31.23.13.01.00#Brass shim stock#31.23.13.00.00
-unspsc7#31.23.13.02.00#Steel shim stock#31.23.13.00.00
-unspsc7#31.23.13.03.00#Stainless steel shim stock#31.23.13.00.00
-unspsc7#31.23.13.04.00#Aluminum shim stock#31.23.13.00.00
-unspsc7#31.23.13.05.00#Copper shim stock#31.23.13.00.00
-unspsc7#31.24.00.00.00#Industrial optics#31.00.00.00.00
-unspsc7#31.24.15.00.00#Lenses and prisms#31.24.00.00.00
-unspsc7#31.24.15.01.00#Lenses#31.24.15.00.00
-unspsc7#31.24.15.02.00#Prisms#31.24.15.00.00
-unspsc7#31.24.16.00.00#Optical blanks#31.24.00.00.00
-unspsc7#31.24.16.01.00#Filter blanks#31.24.16.00.00
-unspsc7#31.24.16.02.00#Glass disks#31.24.16.00.00
-unspsc7#31.24.16.03.00#Molded glass#31.24.16.00.00
-unspsc7#31.24.16.04.00#Prism blanks#31.24.16.00.00
-unspsc7#31.24.16.05.00#Silicon blanks#31.24.16.00.00
-unspsc7#31.24.16.06.00#Germanium blanks#31.24.16.00.00
-unspsc7#31.24.16.07.00#Round bar stock#31.24.16.00.00
-unspsc7#31.24.16.08.00#Square bar stock#31.24.16.00.00
-unspsc7#31.24.16.09.00#Witness sample blanks#31.24.16.00.00
-unspsc7#31.24.16.10.00#Infrared optical material blanks#31.24.16.00.00
-unspsc7#31.24.17.00.00#Mirrors#31.24.00.00.00
-unspsc7#31.24.17.01.00#Diamond turned mirrors#31.24.17.00.00
-unspsc7#31.24.17.02.00#Metallic mirrors#31.24.17.00.00
-unspsc7#31.24.17.03.00#Parabolic mirrors#31.24.17.00.00
-unspsc7#31.24.17.04.00#Uncoated mirrors#31.24.17.00.00
-unspsc7#31.24.18.00.00#Optical filters#31.24.00.00.00
-unspsc7#31.24.18.01.00#Broad band filters#31.24.18.00.00
-unspsc7#31.24.18.02.00#Gradient filters#31.24.18.00.00
-unspsc7#31.24.18.03.00#Infrared filters#31.24.18.00.00
-unspsc7#31.24.18.04.00#Laser filters#31.24.18.00.00
-unspsc7#31.24.18.05.00#Narrow band filters#31.24.18.00.00
-unspsc7#31.24.18.06.00#Pelicle filters#31.24.18.00.00
-unspsc7#31.24.18.07.00#Visual filters#31.24.18.00.00
-unspsc7#31.24.19.00.00#Optical domes#31.24.00.00.00
-unspsc7#31.24.19.01.00#Specialty domes#31.24.19.00.00
-unspsc7#31.24.19.02.00#Diamond turned domes#31.24.19.00.00
-unspsc7#31.24.19.03.00#Metallic domes#31.24.19.00.00
-unspsc7#31.24.19.04.00#Molded glass domes#31.24.19.00.00
-unspsc7#31.24.19.05.00#Molded polycarbonate domes#31.24.19.00.00
-unspsc7#31.24.19.06.00#Replicated domes#31.24.19.00.00
-unspsc7#31.24.19.07.00#Shaped domes#31.24.19.00.00
-unspsc7#31.24.19.08.00#Frangible domes#31.24.19.00.00
-unspsc7#31.24.20.00.00#Lens and laser windows#31.24.00.00.00
-unspsc7#31.24.20.01.00#External lens or laser windows#31.24.20.00.00
-unspsc7#31.24.20.02.00#Infrared lens or laser windows#31.24.20.00.00
-unspsc7#31.24.20.03.00#Visual lens or laser windows#31.24.20.00.00
-unspsc7#31.24.21.00.00#Optical device accessories#31.24.00.00.00
-unspsc7#31.24.21.01.00#Prism holders#31.24.21.00.00
-unspsc7#31.24.21.02.00#Lens holders#31.24.21.00.00
-unspsc7#31.24.21.03.00#Optical slits#31.24.21.00.00
-unspsc7#31.25.00.00.00#Pneumatic and hydraulic and electric control systems#31.00.00.00.00
-unspsc7#31.25.15.00.00#Actuators#31.25.00.00.00
-unspsc7#31.25.15.01.00#Electric actuators#31.25.15.00.00
-unspsc7#31.25.15.02.00#Electronic actuators#31.25.15.00.00
-unspsc7#31.25.15.03.00#Hydraulic actuators#31.25.15.00.00
-unspsc7#31.25.15.04.00#Pneumatic actuators#31.25.15.00.00
-unspsc7#31.25.15.05.00#Valve actuators#31.25.15.00.00
-unspsc7#31.25.15.06.00#Gear actuators#31.25.15.00.00
-unspsc7#31.25.15.07.00#Rotary actuators#31.25.15.00.00
-unspsc7#31.25.15.08.00#Photoelectric actuators#31.25.15.00.00
-unspsc7#31.25.15.09.00#Electromagnetic actuators#31.25.15.00.00
-unspsc7#31.25.15.10.00#Solenoids#31.25.15.00.00
-unspsc7#31.25.15.11.00#Linear actuators#31.25.15.00.00
-unspsc7#31.26.00.00.00#Housings and cabinets and casings#31.00.00.00.00
-unspsc7#31.26.15.00.00#Housings and cabinets#31.26.00.00.00
-unspsc7#31.26.15.01.00#Plastic housings or cabinets#31.26.15.00.00
-unspsc7#31.26.15.02.00#Metal housings or cabinets#31.26.15.00.00
-unspsc7#31.26.15.03.00#Steel housings or cabinets#31.26.15.00.00
-unspsc7#31.26.15.04.00#Gear boxes or housings#31.26.15.00.00
-unspsc7#31.26.16.00.00#Shells and casings#31.26.00.00.00
-unspsc7#31.26.16.01.00#Plastic shells or casings#31.26.16.00.00
-unspsc7#31.26.16.02.00#Metal shells or casings#31.26.16.00.00
-unspsc7#31.26.16.03.00#Steel shells or casings#31.26.16.00.00
-unspsc7#31.27.00.00.00#Machine made parts#31.00.00.00.00
-unspsc7#31.27.15.00.00#General machine made parts#31.27.00.00.00
-unspsc7#31.27.15.01.00#Metal general machine made parts#31.27.15.00.00
-unspsc7#31.27.15.02.00#Non metal general machine made parts#31.27.15.00.00
-unspsc7#31.27.16.00.00#Screw machine made parts#31.27.00.00.00
-unspsc7#31.27.16.01.00#Metal screw machine made parts#31.27.16.00.00
-unspsc7#31.27.16.02.00#Non metal screw machine made parts#31.27.16.00.00
-unspsc7#31.28.00.00.00#Stampings and sheet components#31.00.00.00.00
-unspsc7#31.28.15.00.00#Stamped components#31.28.00.00.00
-unspsc7#31.28.15.01.00#Stamped metal components#31.28.15.00.00
-unspsc7#31.28.15.02.00#Aluminum stamped components#31.28.15.00.00
-unspsc7#31.28.15.03.00#Ferrous alloy stamped components#31.28.15.00.00
-unspsc7#31.28.15.04.00#Iron stamped components#31.28.15.00.00
-unspsc7#31.28.15.05.00#Non ferrous alloy stamped components#31.28.15.00.00
-unspsc7#31.28.15.06.00#Stainless steel stamped components#31.28.15.00.00
-unspsc7#31.28.15.07.00#Carbon Steel stamped components#31.28.15.00.00
-unspsc7#31.28.15.08.00#Magnesium stamped components#31.28.15.00.00
-unspsc7#31.28.15.09.00#Zinc stamped components#31.28.15.00.00
-unspsc7#31.28.15.10.00#Tin stamped components#31.28.15.00.00
-unspsc7#31.28.15.11.00#Titanium stamped components#31.28.15.00.00
-unspsc7#31.28.15.12.00#Beryllium stamped components#31.28.15.00.00
-unspsc7#31.28.15.13.00#Precious metal stamped components#31.28.15.00.00
-unspsc7#31.28.15.14.00#Copper stamped components#31.28.15.00.00
-unspsc7#31.28.15.15.00#Lead stamped components#31.28.15.00.00
-unspsc7#31.28.15.16.00#Brass stamped components#31.28.15.00.00
-unspsc7#31.28.15.17.00#Bronze stamped components#31.28.15.00.00
-unspsc7#31.28.15.18.00#Composite stamped components#31.28.15.00.00
-unspsc7#31.28.15.19.00#Nickel alloy stamped components#31.28.15.00.00
-unspsc7#31.28.15.20.00#Non metallic stamped components#31.28.15.00.00
-unspsc7#31.28.15.21.00#Coated Stampings#31.28.15.00.00
-unspsc7#31.28.16.00.00#Formed components#31.28.00.00.00
-unspsc7#31.28.16.01.00#Formed metal components#31.28.16.00.00
-unspsc7#31.28.17.00.00#Welded components#31.28.00.00.00
-unspsc7#31.28.17.01.00#Welded metal components#31.28.17.00.00
-unspsc7#31.28.18.00.00#Punched components#31.28.00.00.00
-unspsc7#31.28.18.01.00#Aluminum punched components#31.28.18.00.00
-unspsc7#31.28.18.02.00#Ferrous alloy punched components#31.28.18.00.00
-unspsc7#31.28.18.03.00#Iron punched components#31.28.18.00.00
-unspsc7#31.28.18.04.00#Non ferrous alloy punched components#31.28.18.00.00
-unspsc7#31.28.18.05.00#Stainless steel punched components#31.28.18.00.00
-unspsc7#31.28.18.06.00#Carbon Steel punched components#31.28.18.00.00
-unspsc7#31.28.18.07.00#Composite punched components#31.28.18.00.00
-unspsc7#31.28.18.08.00#Nickel alloy punched components#31.28.18.00.00
-unspsc7#31.28.18.09.00#Non metallic punched components#31.28.18.00.00
-unspsc7#31.28.18.10.00#Titanium punched components#31.28.18.00.00
-unspsc7#31.28.18.11.00#Beryllium punched components#31.28.18.00.00
-unspsc7#31.28.18.12.00#Precious metal punched components#31.28.18.00.00
-unspsc7#31.28.18.13.00#Copper punched components#31.28.18.00.00
-unspsc7#31.28.18.14.00#Lead punched components#31.28.18.00.00
-unspsc7#31.28.18.15.00#Brass punched components#31.28.18.00.00
-unspsc7#31.28.18.16.00#Bronze punched components#31.28.18.00.00
-unspsc7#31.28.18.17.00#Magnesium punched components#31.28.18.00.00
-unspsc7#31.28.18.18.00#Zinc punched components#31.28.18.00.00
-unspsc7#31.28.18.19.00#Tin punched components#31.28.18.00.00
-unspsc7#31.28.19.00.00#Draw formed components#31.28.00.00.00
-unspsc7#31.28.19.01.00#Aluminum draw formed components#31.28.19.00.00
-unspsc7#31.28.19.02.00#Beryllium draw formed components#31.28.19.00.00
-unspsc7#31.28.19.03.00#Brass draw formed components#31.28.19.00.00
-unspsc7#31.28.19.04.00#Bronze draw formed components#31.28.19.00.00
-unspsc7#31.28.19.05.00#Composite draw formed components#31.28.19.00.00
-unspsc7#31.28.19.06.00#Copper draw formed components#31.28.19.00.00
-unspsc7#31.28.19.07.00#Ferrous alloy draw formed components#31.28.19.00.00
-unspsc7#31.28.19.08.00#Iron draw formed components#31.28.19.00.00
-unspsc7#31.28.19.09.00#Lead draw formed components#31.28.19.00.00
-unspsc7#31.28.19.10.00#Magnesium draw formed components#31.28.19.00.00
-unspsc7#31.28.19.11.00#Nickel alloy draw formed components#31.28.19.00.00
-unspsc7#31.28.19.12.00#Non ferrous alloy draw formed components#31.28.19.00.00
-unspsc7#31.28.19.13.00#Non metallic draw formed components#31.28.19.00.00
-unspsc7#31.28.19.14.00#Precious metal draw formed components#31.28.19.00.00
-unspsc7#31.28.19.15.00#Stainless steel draw formed components#31.28.19.00.00
-unspsc7#31.28.19.16.00#Steel draw formed components#31.28.19.00.00
-unspsc7#31.28.19.17.00#Tin draw formed components#31.28.19.00.00
-unspsc7#31.28.19.18.00#Titanium draw formed components#31.28.19.00.00
-unspsc7#31.28.19.19.00#Zinc draw formed components#31.28.19.00.00
-unspsc7#31.28.20.00.00#Hydro formed components#31.28.00.00.00
-unspsc7#31.28.20.01.00#Aluminum hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.02.00#Beryllium hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.03.00#Brass hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.04.00#Bronze hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.05.00#Composite hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.06.00#Copper hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.07.00#Ferrous alloy hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.08.00#Iron hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.09.00#Lead hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.10.00#Magnesium hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.11.00#Nickel alloy hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.12.00#Non ferrous alloy hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.13.00#Non metallic hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.14.00#Precious metal hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.15.00#Stainless steel hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.16.00#Steel hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.17.00#Tin hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.18.00#Titanium hydro formed components#31.28.20.00.00
-unspsc7#31.28.20.19.00#Zinc hydro formed components#31.28.20.00.00
-unspsc7#31.28.21.00.00#Spin formed components#31.28.00.00.00
-unspsc7#31.28.21.01.00#Aluminum spin formed components#31.28.21.00.00
-unspsc7#31.28.21.02.00#Beryllium spin formed components#31.28.21.00.00
-unspsc7#31.28.21.03.00#Brass spin formed components#31.28.21.00.00
-unspsc7#31.28.21.04.00#Bronze spin formed components#31.28.21.00.00
-unspsc7#31.28.21.05.00#Composite spin formed components#31.28.21.00.00
-unspsc7#31.28.21.06.00#Copper spin formed components#31.28.21.00.00
-unspsc7#31.28.21.07.00#Ferrous alloy spin formed components#31.28.21.00.00
-unspsc7#31.28.21.08.00#Iron spin formed components#31.28.21.00.00
-unspsc7#31.28.21.09.00#Lead spin formed components#31.28.21.00.00
-unspsc7#31.28.21.10.00#Magnesium spin formed components#31.28.21.00.00
-unspsc7#31.28.21.11.00#Nickel alloy spin formed components#31.28.21.00.00
-unspsc7#31.28.21.12.00#Non ferrous alloy spin formed components#31.28.21.00.00
-unspsc7#31.28.21.13.00#Non metallic spin formed components#31.28.21.00.00
-unspsc7#31.28.21.14.00#Precious metal spin formed components#31.28.21.00.00
-unspsc7#31.28.21.15.00#Stainless steel spin formed components#31.28.21.00.00
-unspsc7#31.28.21.16.00#Steel spin formed components#31.28.21.00.00
-unspsc7#31.28.21.17.00#Tin spin formed components#31.28.21.00.00
-unspsc7#31.28.21.18.00#Titanium spin formed components#31.28.21.00.00
-unspsc7#31.28.21.19.00#Zinc spin formed components#31.28.21.00.00
-unspsc7#31.28.22.00.00#Roll formed components#31.28.00.00.00
-unspsc7#31.28.22.01.00#Aluminum roll formed components#31.28.22.00.00
-unspsc7#31.28.22.02.00#Beryllium roll formed components#31.28.22.00.00
-unspsc7#31.28.22.03.00#Brass roll formed components#31.28.22.00.00
-unspsc7#31.28.22.04.00#Bronze roll formed components#31.28.22.00.00
-unspsc7#31.28.22.05.00#Composite roll formed components#31.28.22.00.00
-unspsc7#31.28.22.06.00#Copper roll formed components#31.28.22.00.00
-unspsc7#31.28.22.07.00#Ferrous alloy roll formed components#31.28.22.00.00
-unspsc7#31.28.22.08.00#Iron roll formed components#31.28.22.00.00
-unspsc7#31.28.22.09.00#Lead roll formed components#31.28.22.00.00
-unspsc7#31.28.22.10.00#Magnesium roll formed components#31.28.22.00.00
-unspsc7#31.28.22.11.00#Nickel alloy roll formed components#31.28.22.00.00
-unspsc7#31.28.22.12.00#Non ferrous alloy roll formed components#31.28.22.00.00
-unspsc7#31.28.22.13.00#Non metallic roll formed components#31.28.22.00.00
-unspsc7#31.28.22.14.00#Precious metal roll formed components#31.28.22.00.00
-unspsc7#31.28.22.15.00#Stainless steel roll formed components#31.28.22.00.00
-unspsc7#31.28.22.16.00#Steel roll formed components#31.28.22.00.00
-unspsc7#31.28.22.17.00#Tin roll formed components#31.28.22.00.00
-unspsc7#31.28.22.18.00#Titanium roll formed components#31.28.22.00.00
-unspsc7#31.28.22.19.00#Zinc roll formed components#31.28.22.00.00
-unspsc7#31.28.23.00.00#Stretch formed components#31.28.00.00.00
-unspsc7#31.28.23.01.00#Aluminum stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.02.00#Beryllium stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.03.00#Brass stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.04.00#Bronze stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.05.00#Composite stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.06.00#Copper stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.07.00#Ferrous alloy stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.08.00#Iron stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.09.00#Lead stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.10.00#Magnesium stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.11.00#Nickel alloy stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.12.00#Non ferrous alloy stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.13.00#Non metallic stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.14.00#Precious metal stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.15.00#Stainless steel stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.16.00#Steel stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.17.00#Tin stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.18.00#Titanium stretch formed components#31.28.23.00.00
-unspsc7#31.28.23.19.00#Zinc stretch formed components#31.28.23.00.00
-unspsc7#31.28.24.00.00#Explosive formed components#31.28.00.00.00
-unspsc7#31.28.24.01.00#Aluminum explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.02.00#Beryllium explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.03.00#Brass explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.04.00#Bronze explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.05.00#Composite explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.06.00#Copper explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.07.00#Ferrous alloy explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.08.00#Iron explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.09.00#Lead explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.10.00#Magnesium explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.11.00#Nickel alloy explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.12.00#Non ferrous alloy explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.13.00#Non metallic explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.14.00#Precious metal explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.15.00#Stainless steel explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.16.00#Steel explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.17.00#Tin explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.18.00#Titanium explosive formed components#31.28.24.00.00
-unspsc7#31.28.24.19.00#Zinc explosive formed components#31.28.24.00.00
-unspsc7#31.29.00.00.00#Machined extrusions#31.00.00.00.00
-unspsc7#31.29.11.00.00#Machined hydro static extrusions#31.29.00.00.00
-unspsc7#31.29.11.01.00#Aluminum machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.02.00#Beryllium machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.03.00#Brass machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.04.00#Bronze machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.05.00#Copper machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.06.00#Ferrous alloy machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.07.00#Lead machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.08.00#Magnesium machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.09.00#Non ferrous alloy machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.10.00#Plastic machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.11.00#Precious metal machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.12.00#Rubber machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.13.00#Stainless steel machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.14.00#Steel machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.15.00#Tin machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.16.00#Titanium machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.17.00#Zinc machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.18.00#Composite machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.19.00#Nickel alloy machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.11.20.00#Non metallic machined hydro static extrusions#31.29.11.00.00
-unspsc7#31.29.12.00.00#Machined impact extrusions#31.29.00.00.00
-unspsc7#31.29.12.01.00#Aluminum machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.02.00#Beryllium machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.03.00#Brass machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.04.00#Bronze machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.05.00#Copper machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.06.00#Ferrous alloy machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.07.00#Lead machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.08.00#Magnesium machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.09.00#Non ferrous alloy machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.10.00#Plastic machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.11.00#Precious metal machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.12.00#Rubber machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.13.00#Stainless steel machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.14.00#Steel machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.15.00#Tin machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.16.00#Titanium machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.17.00#Zinc machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.18.00#Composite machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.19.00#Nickel alloy machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.12.20.00#Non metallic machined impact extrusions#31.29.12.00.00
-unspsc7#31.29.13.00.00#Machined cold extrusions#31.29.00.00.00
-unspsc7#31.29.13.01.00#Aluminum machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.02.00#Beryllium machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.03.00#Brass machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.04.00#Bronze machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.05.00#Copper machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.06.00#Ferrous alloy machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.07.00#Lead machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.08.00#Magnesium machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.09.00#Non ferrous alloy machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.10.00#Plastic machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.11.00#Precious metal machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.12.00#Rubber machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.13.00#Stainless steel machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.14.00#Steel machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.15.00#Tin machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.16.00#Titanium machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.17.00#Zinc machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.18.00#Composite machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.19.00#Nickel alloy machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.13.20.00#Non metallic machined cold extrusions#31.29.13.00.00
-unspsc7#31.29.14.00.00#Machined hot extrusions#31.29.00.00.00
-unspsc7#31.29.14.01.00#Aluminum machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.02.00#Beryllium machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.03.00#Brass machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.04.00#Bronze machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.05.00#Copper machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.06.00#Ferrous alloy machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.07.00#Lead machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.08.00#Magnesium machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.09.00#Non ferrous alloy machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.10.00#Plastic machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.11.00#Precious metal machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.12.00#Rubber machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.13.00#Stainless steel machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.14.00#Steel machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.15.00#Tin machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.16.00#Titanium machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.17.00#Zinc machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.18.00#Composite machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.19.00#Nickel alloy machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.14.20.00#Non metallic machined hot extrusions#31.29.14.00.00
-unspsc7#31.29.15.00.00#Machined impact extrusions#31.29.00.00.00
-unspsc7#31.29.16.00.00#Machined cold extrusions#31.29.00.00.00
-unspsc7#31.29.17.00.00#Machined hot extrusions#31.29.00.00.00
-unspsc7#31.29.18.00.00#Machined hydro static extrusions#31.29.00.00.00
-unspsc7#31.30.00.00.00#Machined forgings#31.00.00.00.00
-unspsc7#31.30.10.00.00#Machined rolled ring forgings#31.30.00.00.00
-unspsc7#31.30.11.00.00#Machined open die forgings#31.30.00.00.00
-unspsc7#31.30.11.01.00#Non ferrous alloy open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.02.00#Ferrous alloy open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.03.00#Steel open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.04.00#Stainless steel open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.05.00#Iron open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.06.00#Aluminum open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.07.00#Magnesium open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.08.00#Titanium open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.09.00#Beryllium open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.10.00#Copper open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.11.00#Brass open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.12.00#Bronze open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.13.00#Zinc open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.14.00#Tin open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.15.00#Lead open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.16.00#Precious metal open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.17.00#Composite open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.18.00#Nickel alloy open die machined forgings#31.30.11.00.00
-unspsc7#31.30.11.19.00#Non metallic open die machined forgings#31.30.11.00.00
-unspsc7#31.30.12.00.00#Machined closed die forgings#31.30.00.00.00
-unspsc7#31.30.12.01.00#Non ferrous alloy closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.02.00#Ferrous alloy closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.03.00#Steel closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.04.00#Stainless steel closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.05.00#Iron closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.06.00#Aluminum closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.07.00#Magnesium closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.08.00#Titanium closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.09.00#Beryllium closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.10.00#Copper closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.11.00#Brass closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.12.00#Bronze closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.13.00#Zinc closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.14.00#Tin closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.15.00#Lead closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.16.00#Precious metal closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.17.00#Composite closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.18.00#Nickel alloy closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.12.19.00#Non metallic closed die machined forgings#31.30.12.00.00
-unspsc7#31.30.13.00.00#Machined impression die forgings#31.30.00.00.00
-unspsc7#31.30.13.01.00#Non ferrous alloy impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.02.00#Ferrous alloy impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.03.00#Steel impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.04.00#Stainless steel impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.05.00#Iron impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.06.00#Aluminum impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.07.00#Magnesium impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.08.00#Titanium impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.09.00#Beryllium impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.10.00#Copper impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.11.00#Brass impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.12.00#Bronze impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.13.00#Zinc impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.14.00#Tin impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.15.00#Lead impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.16.00#Precious metal impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.17.00#Composite impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.18.00#Nickel alloy impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.13.19.00#Non metallic impression die machined forgings#31.30.13.00.00
-unspsc7#31.30.14.00.00#Machined drop forgings#31.30.00.00.00
-unspsc7#31.30.14.01.00#Non ferrous alloy drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.02.00#Zinc drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.03.00#Ferrous alloy drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.04.00#Tin drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.05.00#Lead drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.06.00#Steel drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.07.00#Precious metal drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.08.00#Stainless steel drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.09.00#Iron drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.10.00#Aluminum drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.11.00#Magnesium drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.12.00#Titanium drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.13.00#Beryllium drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.14.00#Copper drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.15.00#Brass drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.16.00#Bronze drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.17.00#Composite drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.18.00#Nickel alloy drop machined forgings#31.30.14.00.00
-unspsc7#31.30.14.19.00#Non metallic drop machined forgings#31.30.14.00.00
-unspsc7#31.30.15.00.00#Machined rolled ring forgings#31.30.00.00.00
-unspsc7#31.30.15.01.00#Aluminum rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.02.00#Beryllium rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.03.00#Brass rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.04.00#Bronze rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.05.00#Copper rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.06.00#Iron rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.07.00#Lead rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.08.00#Magnesium rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.09.00#Precious metal rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.10.00#Stainless steel rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.11.00#Tin rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.12.00#Titanium rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.13.00#Zinc rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.14.00#Non ferrous alloy rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.15.00#Ferrous alloy rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.16.00#Steel rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.17.00#Composite rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.18.00#Nickel alloy rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.15.19.00#Non metallic rolled ring machined forgings#31.30.15.00.00
-unspsc7#31.30.16.00.00#Machined open die forgings#31.30.00.00.00
-unspsc7#31.30.17.00.00#Machined closed die forgings#31.30.00.00.00
-unspsc7#31.30.18.00.00#Machined impression die forgings#31.30.00.00.00
-unspsc7#31.30.19.00.00#Machined drop forgings#31.30.00.00.00
-unspsc7#31.31.00.00.00#Fabricated pipe assemblies#31.00.00.00.00
-unspsc7#31.31.11.00.00#Solvent welded pipe assemblies#31.31.00.00.00
-unspsc7#31.31.11.01.00#Aluminum solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.02.00#Carbon steel solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.03.00#Hastalloy X solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.04.00#Inconel solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.05.00#Low alloy steel solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.06.00#Non metallic solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.07.00#Other ferrous solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.08.00#Other non ferrous solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.09.00#Stainless steel solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.10.00#Titanium solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.11.00#Waspalloy solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.12.00#Copper solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.11.13.00#Brass solvent welded pipe assemblies#31.31.11.00.00
-unspsc7#31.31.12.00.00#Riveted pipe assemblies#31.31.00.00.00
-unspsc7#31.31.12.01.00#Aluminum riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.02.00#Carbon steel riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.03.00#Hastalloy X riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.04.00#Inconel riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.05.00#Low alloy steel riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.06.00#Non metallic riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.07.00#Other ferrous riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.08.00#Other non ferrous riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.09.00#Stainless steel riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.10.00#Titanium riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.11.00#Waspalloy riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.12.00#Copper riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.12.13.00#Brass riveted pipe assemblies#31.31.12.00.00
-unspsc7#31.31.13.00.00#Bolted pipe assemblies#31.31.00.00.00
-unspsc7#31.31.13.01.00#Aluminum bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.02.00#Carbon steel bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.03.00#Hastalloy X bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.04.00#Inconel bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.05.00#Low alloy steel bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.06.00#Non metallic bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.07.00#Other ferrous bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.08.00#Other non ferrous bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.09.00#Stainless steel bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.10.00#Titanium bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.11.00#Waspalloy bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.12.00#Copper bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.13.13.00#Brass bolted pipe assemblies#31.31.13.00.00
-unspsc7#31.31.14.00.00#Ultra violet welded (UV) pipe assemblies#31.31.00.00.00
-unspsc7#31.31.14.01.00#Aluminum ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.02.00#Carbon steel ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.03.00#Hastalloy X ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.04.00#Inconel ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.05.00#Low alloy steel ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.06.00#Non metallic ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.07.00#Other ferrous ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.08.00#Other non ferrous ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.09.00#Stainless steel ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.10.00#Titanium ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.11.00#Waspalloy ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.12.00#Copper ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.14.13.00#Brass ultra violet welded pipe assemblies#31.31.14.00.00
-unspsc7#31.31.15.00.00#Welded or brazed pipe assemblies#31.31.00.00.00
-unspsc7#31.31.15.01.00#Aluminum welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.02.00#Carbon steel welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.03.00#Hastalloy X welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.04.00#Inconel welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.05.00#Low alloy steel welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.06.00#Non metallic welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.07.00#Other ferrous welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.08.00#Other non ferrous welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.09.00#Stainless steel welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.10.00#Titanium welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.11.00#Waspalloy welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.12.00#Copper welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.15.13.00#Brass welded or brazed pipe assemblies#31.31.15.00.00
-unspsc7#31.31.16.00.00#Sonic welded pipe assemblies#31.31.00.00.00
-unspsc7#31.31.16.01.00#Aluminum sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.02.00#Carbon steel sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.03.00#Hastalloy X sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.04.00#Inconel sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.05.00#Low alloy steel sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.06.00#Non metallic sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.07.00#Other ferrous sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.08.00#Other non ferrous sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.09.00#Stainless steel sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.10.00#Titanium sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.11.00#Waspalloy sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.12.00#Copper sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.16.13.00#Brass sonic welded pipe assemblies#31.31.16.00.00
-unspsc7#31.31.17.00.00#Bonded pipe assemblies#31.31.00.00.00
-unspsc7#31.31.17.01.00#Aluminum bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.02.00#Carbon steel bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.03.00#Hastalloy X bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.04.00#Inconel bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.05.00#Low alloy steel bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.06.00#Non metallic bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.07.00#Other ferrous bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.08.00#Other non ferrous bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.09.00#Stainless steel bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.10.00#Titanium bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.11.00#Waspalloy bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.12.00#Copper bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.31.17.13.00#Brass bonded pipe assemblies#31.31.17.00.00
-unspsc7#31.32.00.00.00#Fabricated bar stock assemblies#31.00.00.00.00
-unspsc7#31.32.11.00.00#Bonded bar stock assemblies#31.32.00.00.00
-unspsc7#31.32.11.01.00#Aluminum bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.02.00#Carbon steel bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.03.00#Hastalloy X bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.04.00#Inconel bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.05.00#Low alloy steel bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.06.00#Non metallic bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.07.00#Other ferrous bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.08.00#Other non ferrous bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.09.00#Stainless steel bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.10.00#Titanium bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.11.00#Waspalloy bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.12.00#Copper bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.11.13.00#Brass bonded bar stock assemblies#31.32.11.00.00
-unspsc7#31.32.12.00.00#Solvent welded bar stock assemblies#31.32.00.00.00
-unspsc7#31.32.12.01.00#Aluminum solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.02.00#Carbon steel solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.03.00#Hastalloy X solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.04.00#Inconel solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.05.00#Low alloy steel solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.06.00#Non metallic solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.07.00#Other ferrous solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.08.00#Other non ferrous solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.09.00#Stainless steel solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.10.00#Titanium solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.11.00#Waspalloy solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.12.00#Copper solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.12.13.00#Brass solvent welded bar stock assemblies#31.32.12.00.00
-unspsc7#31.32.13.00.00#Riveted bar stock assemblies#31.32.00.00.00
-unspsc7#31.32.13.01.00#Aluminum riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.02.00#Carbon steel riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.03.00#Hastalloy X riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.04.00#Inconel riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.05.00#Low alloy steel riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.06.00#Non metallic riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.07.00#Other ferrous riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.08.00#Other non ferrous riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.09.00#Stainless steel riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.10.00#Titanium riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.11.00#Waspalloy riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.12.00#Copper riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.13.13.00#Brass riveted bar stock assemblies#31.32.13.00.00
-unspsc7#31.32.14.00.00#Welded or brazed bar stock assemblies#31.32.00.00.00
-unspsc7#31.32.14.01.00#Aluminum welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.02.00#Carbon steel welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.03.00#Hastalloy X welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.04.00#Inconel welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.05.00#Low alloy steel welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.06.00#Non metallic welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.07.00#Other ferrous welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.08.00#Other non ferrous welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.09.00#Stainless steel welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.10.00#Titanium welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.11.00#Waspalloy welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.12.00#Copper welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.14.13.00#Brass welded or brazed bar stock assemblies#31.32.14.00.00
-unspsc7#31.32.15.00.00#Ultra violet welded (UV) bar stock assemblies#31.32.00.00.00
-unspsc7#31.32.15.01.00#Aluminum ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.02.00#Carbon steel ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.03.00#Hastalloy X ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.04.00#Inconel ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.05.00#Low alloy steel ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.06.00#Non metallic ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.07.00#Other ferrous ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.08.00#Other non ferrous ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.09.00#Stainless steel ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.10.00#Titanium ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.11.00#Waspalloy ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.12.00#Copper ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.15.13.00#Brass ultra violet welded bar stock assemblies#31.32.15.00.00
-unspsc7#31.32.16.00.00#Sonic welded bar stock assemblies#31.32.00.00.00
-unspsc7#31.32.16.01.00#Aluminum sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.02.00#Carbon steel sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.03.00#Hastalloy X sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.04.00#Inconel sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.05.00#Low alloy steel sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.06.00#Non metallic sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.07.00#Other ferrous sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.08.00#Other non ferrous sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.09.00#Stainless steel sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.10.00#Titanium sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.11.00#Waspalloy sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.12.00#Copper sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.16.13.00#Brass sonic welded bar stock assemblies#31.32.16.00.00
-unspsc7#31.32.17.00.00#Bolted bar stock assemblies#31.32.00.00.00
-unspsc7#31.32.17.01.00#Aluminum bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.02.00#Carbon steel bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.03.00#Hastalloy X bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.04.00#Inconel bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.05.00#Low alloy steel bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.06.00#Non metallic bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.07.00#Other ferrous bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.08.00#Other non ferrous bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.09.00#Stainless steel bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.10.00#Titanium bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.11.00#Waspalloy bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.12.00#Copper bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.32.17.13.00#Brass bolted bar stock assemblies#31.32.17.00.00
-unspsc7#31.33.00.00.00#Fabricated structural assemblies#31.00.00.00.00
-unspsc7#31.33.11.00.00#Bonded structural assemblies#31.33.00.00.00
-unspsc7#31.33.11.01.00#Aluminum bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.02.00#Carbon steel bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.03.00#Hastalloy X bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.04.00#Inconel bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.05.00#Low alloy steel bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.06.00#Non metallic bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.07.00#Other ferrous bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.08.00#Other non ferrous bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.09.00#Stainless steel bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.10.00#Titanium bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.11.00#Waspalloy bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.12.00#Copper bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.11.13.00#Brass bonded structural assemblies#31.33.11.00.00
-unspsc7#31.33.12.00.00#Bolted structural assemblies#31.33.00.00.00
-unspsc7#31.33.12.01.00#Aluminum bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.02.00#Carbon steel bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.03.00#Hastalloy X bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.04.00#Inconel bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.05.00#Low alloy steel bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.06.00#Non metallic bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.07.00#Other ferrous bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.08.00#Other non ferrous bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.09.00#Stainless steel bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.10.00#Titanium bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.11.00#Waspalloy bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.12.00#Copper bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.12.13.00#Brass bolted structural assemblies#31.33.12.00.00
-unspsc7#31.33.13.00.00#Sonic welded structural assemblies#31.33.00.00.00
-unspsc7#31.33.13.01.00#Aluminum sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.02.00#Carbon steel sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.03.00#Hastalloy X sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.04.00#Inconel sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.05.00#Low alloy steel sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.06.00#Non metallic sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.07.00#Other ferrous sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.08.00#Other non ferrous sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.09.00#Stainless steel sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.10.00#Titanium sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.11.00#Waspalloy sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.12.00#Copper sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.13.13.00#Brass sonic welded structural assemblies#31.33.13.00.00
-unspsc7#31.33.14.00.00#Ultra violet welded (UV) structural assemblies#31.33.00.00.00
-unspsc7#31.33.14.01.00#Aluminum ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.02.00#Carbon steel ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.03.00#Hastalloy X ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.04.00#Inconel ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.05.00#Low alloy steel ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.06.00#Non metallic ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.07.00#Other ferrous ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.08.00#Other non ferrous ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.09.00#Stainless steel ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.10.00#Titanium ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.11.00#Waspalloy ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.12.00#Copper ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.14.13.00#Brass ultra violet welded structural assemblies#31.33.14.00.00
-unspsc7#31.33.15.00.00#Solvent welded structural assemblies#31.33.00.00.00
-unspsc7#31.33.15.01.00#Aluminum solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.02.00#Carbon steel solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.03.00#Hastalloy X solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.04.00#Inconel solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.05.00#Low alloy steel solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.06.00#Non metallic solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.07.00#Other ferrous solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.08.00#Other non ferrous solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.09.00#Stainless steel solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.10.00#Titanium solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.11.00#Waspalloy solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.12.00#Copper solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.15.13.00#Brass solvent welded structural assemblies#31.33.15.00.00
-unspsc7#31.33.16.00.00#Welded or brazed structural assemblies#31.33.00.00.00
-unspsc7#31.33.16.01.00#Aluminum welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.02.00#Carbon steel welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.03.00#Hastalloy X welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.04.00#Inconel welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.05.00#Low alloy steel welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.06.00#Non metallic welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.07.00#Other ferrous welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.08.00#Other non ferrous welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.09.00#Stainless steel welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.10.00#Titanium welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.11.00#Waspalloy welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.12.00#Copper welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.16.13.00#Brass welded or brazed structural assemblies#31.33.16.00.00
-unspsc7#31.33.17.00.00#Riveted structural assemblies#31.33.00.00.00
-unspsc7#31.33.17.01.00#Aluminum riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.02.00#Carbon steel riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.03.00#Hastalloy X riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.04.00#Inconel riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.05.00#Low alloy steel riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.06.00#Non metallic riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.07.00#Other ferrous riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.08.00#Other non ferrous riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.09.00#Stainless steel riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.10.00#Titanium riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.11.00#Waspalloy riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.12.00#Copper riveted structural assemblies#31.33.17.00.00
-unspsc7#31.33.17.13.00#Brass riveted structural assemblies#31.33.17.00.00
-unspsc7#31.34.00.00.00#Fabricated sheet assemblies#31.00.00.00.00
-unspsc7#31.34.11.00.00#Welded or brazed sheet assemblies#31.34.00.00.00
-unspsc7#31.34.11.01.00#Aluminum welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.02.00#Carbon steel welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.03.00#Hastalloy X welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.04.00#Inconel welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.05.00#Low alloy steel welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.06.00#Non metallic welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.07.00#Other ferrous welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.08.00#Other non ferrous welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.09.00#Stainless steel welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.10.00#Titanium welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.11.00#Waspalloy welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.12.00#Copper welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.11.13.00#Brass welded or brazed sheet assemblies#31.34.11.00.00
-unspsc7#31.34.12.00.00#Riveted sheet assemblies#31.34.00.00.00
-unspsc7#31.34.12.01.00#Aluminum riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.02.00#Carbon steel riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.03.00#Hastalloy X riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.04.00#Inconel riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.05.00#Low alloy steel riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.06.00#Non metallic riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.07.00#Other ferrous riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.08.00#Other non ferrous riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.09.00#Stainless steel riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.10.00#Titanium riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.11.00#Waspalloy riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.12.00#Copper riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.12.13.00#Brass riveted sheet assemblies#31.34.12.00.00
-unspsc7#31.34.13.00.00#Ultra violet welded (UV) sheet assemblies#31.34.00.00.00
-unspsc7#31.34.13.01.00#Aluminum ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.02.00#Carbon steel ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.03.00#Hastalloy X ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.04.00#Inconel ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.05.00#Low alloy steel ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.06.00#Non metallic ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.07.00#Other ferrous ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.08.00#Other non ferrous ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.09.00#Stainless steel ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.10.00#Titanium ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.11.00#Waspalloy ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.12.00#Copper ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.13.13.00#Brass ultra violet welded sheet assemblies#31.34.13.00.00
-unspsc7#31.34.14.00.00#Sonic welded sheet assemblies#31.34.00.00.00
-unspsc7#31.34.14.01.00#Aluminum sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.02.00#Carbon steel sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.03.00#Hastalloy X sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.04.00#Inconel sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.05.00#Low alloy steel sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.06.00#Non metallic sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.07.00#Other ferrous sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.08.00#Other non ferrous sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.09.00#Stainless steel sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.10.00#Titanium sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.11.00#Waspalloy sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.12.00#Copper sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.14.13.00#Brass sonic welded sheet assemblies#31.34.14.00.00
-unspsc7#31.34.15.00.00#Solvent welded sheet assemblies#31.34.00.00.00
-unspsc7#31.34.15.01.00#Aluminum solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.02.00#Carbon steel solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.03.00#Hastalloy X solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.04.00#Inconel solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.05.00#Low alloy steel solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.06.00#Non metallic solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.07.00#Other ferrous solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.08.00#Other non ferrous solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.09.00#Stainless steel solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.10.00#Titanium solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.11.00#Waspalloy solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.12.00#Copper solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.15.13.00#Brass solvent welded sheet assemblies#31.34.15.00.00
-unspsc7#31.34.16.00.00#Bonded sheet assemblies#31.34.00.00.00
-unspsc7#31.34.16.01.00#Aluminum bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.02.00#Carbon steel bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.03.00#Hastalloy X bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.04.00#Inconel bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.05.00#Low alloy steel bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.06.00#Non metallic bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.07.00#Other ferrous bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.08.00#Other non ferrous bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.09.00#Stainless steel bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.10.00#Titanium bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.11.00#Waspalloy bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.12.00#Copper bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.16.13.00#Brass bonded sheet assemblies#31.34.16.00.00
-unspsc7#31.34.17.00.00#Bolted sheet assemblies#31.34.00.00.00
-unspsc7#31.34.17.01.00#Aluminum bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.02.00#Carbon steel bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.03.00#Hastalloy X bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.04.00#Inconel bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.05.00#Low alloy steel bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.06.00#Non metallic bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.07.00#Other ferrous bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.08.00#Other non ferrous bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.09.00#Stainless steel bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.10.00#Titanium bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.11.00#Waspalloy bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.12.00#Copper bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.34.17.13.00#Brass bolted sheet assemblies#31.34.17.00.00
-unspsc7#31.35.00.00.00#Fabricated tube assemblies#31.00.00.00.00
-unspsc7#31.35.11.00.00#Ultra violet welded (UV) tube assemblies#31.35.00.00.00
-unspsc7#31.35.11.01.00#Aluminum ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.02.00#Carbon steel ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.03.00#Hastalloy X ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.04.00#Inconel ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.05.00#Low alloy steel ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.06.00#Non metallic ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.07.00#Other ferrous ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.08.00#Other non ferrous ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.09.00#Stainless steel ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.10.00#Titanium ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.11.00#Waspalloy ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.12.00#Copper ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.11.13.00#Brass ultra violet welded tube assemblies#31.35.11.00.00
-unspsc7#31.35.12.00.00#Welded or brazed tube assemblies#31.35.00.00.00
-unspsc7#31.35.12.01.00#Aluminum welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.02.00#Carbon steel welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.03.00#Hastalloy X welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.04.00#Inconel welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.05.00#Low alloy steel welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.06.00#Non metallic welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.07.00#Other ferrous welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.08.00#Other non ferrous welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.09.00#Stainless steel welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.10.00#Titanium welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.11.00#Waspalloy welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.12.00#Copper welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.12.13.00#Brass welded or brazed tube assemblies#31.35.12.00.00
-unspsc7#31.35.13.00.00#Riveted tube assemblies#31.35.00.00.00
-unspsc7#31.35.13.01.00#Aluminum riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.02.00#Carbon steel riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.03.00#Hastalloy X riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.04.00#Inconel riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.05.00#Low alloy steel riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.06.00#Non metallic riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.07.00#Other ferrous riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.08.00#Other non ferrous riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.09.00#Stainless steel riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.10.00#Titanium riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.11.00#Waspalloy riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.12.00#Copper riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.13.13.00#Brass riveted tube assemblies#31.35.13.00.00
-unspsc7#31.35.14.00.00#Bonded tube assemblies#31.35.00.00.00
-unspsc7#31.35.14.01.00#Aluminum bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.02.00#Carbon steel bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.03.00#Hastalloy X bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.04.00#Inconel bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.05.00#Low alloy steel bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.06.00#Non metallic bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.07.00#Other ferrous bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.08.00#Other non ferrous bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.09.00#Stainless steel bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.10.00#Titanium bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.11.00#Waspalloy bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.12.00#Copper bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.14.13.00#Brass bonded tube assemblies#31.35.14.00.00
-unspsc7#31.35.15.00.00#Bolted tube assemblies#31.35.00.00.00
-unspsc7#31.35.15.01.00#Aluminum bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.02.00#Carbon steel bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.03.00#Hastalloy X bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.04.00#Inconel bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.05.00#Low alloy steel bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.06.00#Non metallic bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.07.00#Other ferrous bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.08.00#Other non ferrous bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.09.00#Stainless steel bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.10.00#Titanium bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.11.00#Waspalloy bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.12.00#Copper bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.15.13.00#Brass bolted tube assemblies#31.35.15.00.00
-unspsc7#31.35.16.00.00#Solvent welded tube assemblies#31.35.00.00.00
-unspsc7#31.35.16.01.00#Aluminum solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.02.00#Carbon steel solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.03.00#Hastalloy X solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.04.00#Inconel solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.05.00#Low alloy steel solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.06.00#Non metallic solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.07.00#Other ferrous solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.08.00#Other non ferrous solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.09.00#Stainless steel solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.10.00#Titanium solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.11.00#Waspalloy solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.12.00#Copper solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.16.13.00#Brass solvent welded tube assemblies#31.35.16.00.00
-unspsc7#31.35.17.00.00#Sonic welded tube assemblies#31.35.00.00.00
-unspsc7#31.35.17.01.00#Aluminum sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.02.00#Carbon steel sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.03.00#Hastalloy X sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.04.00#Inconel sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.05.00#Low alloy steel sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.06.00#Non metallic sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.07.00#Other ferrous sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.08.00#Other non ferrous sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.09.00#Stainless steel sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.10.00#Titanium sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.11.00#Waspalloy sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.12.00#Copper sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.35.17.13.00#Brass sonic welded tube assemblies#31.35.17.00.00
-unspsc7#31.36.00.00.00#Fabricated plate assemblies#31.00.00.00.00
-unspsc7#31.36.11.00.00#Bonded plate assemblies#31.36.00.00.00
-unspsc7#31.36.11.01.00#Aluminum bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.02.00#Carbon steel bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.03.00#Hastalloy X bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.04.00#Inconel bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.05.00#Low alloy steel bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.06.00#Non metallic bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.07.00#Other ferrous bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.08.00#Other non ferrous bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.09.00#Stainless steel bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.10.00#Titanium bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.11.00#Waspalloy bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.12.00#Copper bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.11.13.00#Brass bonded plate assemblies#31.36.11.00.00
-unspsc7#31.36.12.00.00#Bolted plate assemblies#31.36.00.00.00
-unspsc7#31.36.12.01.00#Aluminum bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.02.00#Carbon steel bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.03.00#Hastalloy X bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.04.00#Inconel bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.05.00#Low alloy steel bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.06.00#Non metallic bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.07.00#Other ferrous bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.08.00#Other non ferrous bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.09.00#Stainless steel bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.10.00#Titanium bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.11.00#Waspalloy bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.12.00#Copper bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.12.13.00#Brass bolted plate assemblies#31.36.12.00.00
-unspsc7#31.36.13.00.00#Solvent welded plate assemblies#31.36.00.00.00
-unspsc7#31.36.13.01.00#Aluminum solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.02.00#Carbon steel solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.03.00#Hastalloy X solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.04.00#Inconel solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.05.00#Low alloy steel solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.06.00#Non metallic solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.07.00#Other ferrous solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.08.00#Other non ferrous solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.09.00#Stainless steel solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.10.00#Titanium solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.11.00#Waspalloy solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.12.00#Copper solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.13.13.00#Brass solvent welded plate assemblies#31.36.13.00.00
-unspsc7#31.36.14.00.00#Welded or brazed plate assemblies#31.36.00.00.00
-unspsc7#31.36.14.01.00#Aluminum welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.02.00#Carbon steel welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.03.00#Hastalloy X welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.04.00#Inconel welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.05.00#Low alloy steel welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.06.00#Non metallic welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.07.00#Other ferrous welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.08.00#Other non ferrous welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.09.00#Stainless steel welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.10.00#Titanium welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.11.00#Waspalloy welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.12.00#Copper welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.14.13.00#Brass welded or brazed plate assemblies#31.36.14.00.00
-unspsc7#31.36.15.00.00#Ultra violet welded (UV) plate assemblies#31.36.00.00.00
-unspsc7#31.36.15.01.00#Aluminum ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.02.00#Carbon steel ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.03.00#Hastalloy X ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.04.00#Inconel ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.05.00#Low alloy steel ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.06.00#Non metallic ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.07.00#Other ferrous ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.08.00#Other non ferrous ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.09.00#Stainless steel ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.10.00#Titanium ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.11.00#Waspalloy ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.12.00#Copper ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.15.13.00#Brass ultra violet welded plate assemblies#31.36.15.00.00
-unspsc7#31.36.16.00.00#Sonic welded plate assemblies#31.36.00.00.00
-unspsc7#31.36.16.01.00#Aluminum sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.02.00#Carbon steel sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.03.00#Hastalloy X sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.04.00#Inconel sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.05.00#Low alloy steel sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.06.00#Non metallic sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.07.00#Other ferrous sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.08.00#Other non ferrous sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.09.00#Stainless steel sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.10.00#Titanium sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.11.00#Waspalloy sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.12.00#Copper sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.16.13.00#Brass sonic welded plate assemblies#31.36.16.00.00
-unspsc7#31.36.17.00.00#Riveted plate assemblies#31.36.00.00.00
-unspsc7#31.36.17.01.00#Aluminum riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.02.00#Carbon steel riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.03.00#Hastalloy X riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.04.00#Inconel riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.05.00#Low alloy steel riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.06.00#Non metallic riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.07.00#Other ferrous riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.08.00#Other non ferrous riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.09.00#Stainless steel riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.10.00#Titanium riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.11.00#Waspalloy riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.12.00#Copper riveted plate assemblies#31.36.17.00.00
-unspsc7#31.36.17.13.00#Brass riveted plate assemblies#31.36.17.00.00
-unspsc7#31.37.00.00.00#Refractories#31.00.00.00.00
-unspsc7#31.37.10.00.00#Ceramic fibre products#31.37.00.00.00
-unspsc7#31.37.10.01.00#Insulation boards#31.37.10.00.00
-unspsc7#31.37.10.02.00#Insulating wool#31.37.10.00.00
-unspsc7#31.37.11.00.00#Refractory bricks#31.37.00.00.00
-unspsc7#31.37.11.01.00#Mullite bricks#31.37.11.00.00
-unspsc7#31.37.11.02.00#Sillimanite bricks#31.37.11.00.00
-unspsc7#31.37.11.03.00#Acid resistant bricks#31.37.11.00.00
-unspsc7#31.37.11.04.00#Silica bricks#31.37.11.00.00
-unspsc7#31.37.11.05.00#High alumina bricks#31.37.11.00.00
-unspsc7#31.37.11.06.00#Calcium silicate blocks#31.37.11.00.00
-unspsc7#31.37.11.07.00#Shaped bricks#31.37.11.00.00
-unspsc7#31.37.12.00.00#Castables#31.37.00.00.00
-unspsc7#31.37.12.01.00#Dense castables#31.37.12.00.00
-unspsc7#31.37.12.02.00#Insulating castables#31.37.12.00.00
-unspsc7#31.37.12.03.00#Low cement castables#31.37.12.00.00
-unspsc7#31.37.12.04.00#Acid or alkali resistant castable#31.37.12.00.00
-unspsc7#31.37.12.05.00#Abrasion resistant castable#31.37.12.00.00
-unspsc7#31.37.12.06.00#Sic castable#31.37.12.00.00
-unspsc7#31.37.12.07.00#Self flow castable#31.37.12.00.00
-unspsc7#31.37.12.08.00#Tabular alumina castable#31.37.12.00.00
-unspsc7#31.37.12.09.00#Erosion resistant castable#31.37.12.00.00
-unspsc7#31.37.13.00.00#Shaped refractories#31.37.00.00.00
-unspsc7#31.37.13.01.00#Porous blocks#31.37.13.00.00
-unspsc7#31.37.13.02.00#Zircon nozzles#31.37.13.00.00
-unspsc7#31.38.00.00.00#Magnets and magnetic materials#31.00.00.00.00
-unspsc7#31.38.10.00.00#Permanent magnets#31.38.00.00.00
-unspsc7#31.38.10.01.00#Lode stone#31.38.10.00.00
-unspsc7#31.38.10.02.00#Alnico magnets#31.38.10.00.00
-unspsc7#32.00.00.00.00#Electronic Components and Supplies#32.00.00.00.00
-unspsc7#32.10.00.00.00#Printed circuits and integrated circuits and microassemblies#32.00.00.00.00
-unspsc7#32.10.15.00.00#Printed circuits and circuit card assemblies#32.10.00.00.00
-unspsc7#32.10.15.01.00#Bare printed circuit boards#32.10.15.00.00
-unspsc7#32.10.15.02.00#Printed circuit assemblies (PCAs)#32.10.15.00.00
-unspsc7#32.10.15.03.00#Mixed circuit assemblies#32.10.15.00.00
-unspsc7#32.10.15.04.00#Surface mount circuit assemblies#32.10.15.00.00
-unspsc7#32.10.15.05.00#Plated through circuit assemblies#32.10.15.00.00
-unspsc7#32.10.15.06.00#Double sided circuit cards#32.10.15.00.00
-unspsc7#32.10.15.07.00#Backplane circuit cards#32.10.15.00.00
-unspsc7#32.10.15.08.00#Multilayer circuit cards#32.10.15.00.00
-unspsc7#32.10.15.09.00#Single sided circuit cards#32.10.15.00.00
-unspsc7#32.10.15.10.00#Printed wire boards#32.10.15.00.00
-unspsc7#32.10.16.00.00#Electronic components for memory or smart cards#32.10.00.00.00
-unspsc7#32.10.16.01.00#Random access memory (RAM)#32.10.16.00.00
-unspsc7#32.10.16.02.00#Dynamic random access memory (DRAM)#32.10.16.00.00
-unspsc7#32.10.16.03.00#Static random access memory (SRAM)#32.10.16.00.00
-unspsc7#32.10.16.04.00#Programmable read only memory (PROM)#32.10.16.00.00
-unspsc7#32.10.16.05.00#Eraseable programmable read only memory (EPROM)#32.10.16.00.00
-unspsc7#32.10.16.06.00#Electronically eraseable programmable read only memory (EEPROM)#32.10.16.00.00
-unspsc7#32.10.16.07.00#Monolitihc memory integrated circuits (MMIC)#32.10.16.00.00
-unspsc7#32.10.16.08.00#Read only memory (ROM)#32.10.16.00.00
-unspsc7#32.10.16.09.00#Application specific integrated circuits (ASIC)#32.10.16.00.00
-unspsc7#32.10.16.10.00#Thin quad flat pack (TQFP)#32.10.16.00.00
-unspsc7#32.10.16.11.00#Programmable array logic (PAL)#32.10.16.00.00
-unspsc7#32.10.16.12.00#Gate array logic (GAL)#32.10.16.00.00
-unspsc7#32.10.16.13.00#Transistor transistor logic (TTL)#32.10.16.00.00
-unspsc7#32.10.16.14.00#Emitter coupled logic (ECL)#32.10.16.00.00
-unspsc7#32.10.16.15.00#Bipolar or metal oxide semiconductor technology (BIMOS)#32.10.16.00.00
-unspsc7#32.10.16.16.00#Bipolar complementary metal oxide semiconductor technology (BICMOS)#32.10.16.00.00
-unspsc7#32.10.16.17.00#Smart cards#32.10.16.00.00
-unspsc7#32.10.16.18.00#Upscreened integrated circuits#32.10.16.00.00
-unspsc7#32.10.16.19.00#Linear integrated circuits#32.10.16.00.00
-unspsc7#32.10.16.20.00#Digital integrated circuits#32.10.16.00.00
-unspsc7#32.10.16.21.00#Synchronous dynamic random access memory (SDRAM)#32.10.16.00.00
-unspsc7#32.10.16.22.00#Flash memory#32.10.16.00.00
-unspsc7#32.10.16.23.00#Rambus dynamic random access memoryRDRAM#32.10.16.00.00
-unspsc7#32.10.16.24.00#Synchronous graphic random access memory SGRAM#32.10.16.00.00
-unspsc7#32.10.17.00.00#Hybrid integrated circuits#32.10.00.00.00
-unspsc7#32.10.17.01.00#Microprocessors#32.10.17.00.00
-unspsc7#32.10.17.02.00#Clock oscillators#32.10.17.00.00
-unspsc7#32.10.17.03.00#Microcontrollers#32.10.17.00.00
-unspsc7#32.10.18.00.00#Unmounted integrated circuits#32.10.00.00.00
-unspsc7#32.10.18.01.00#Unmounted dies#32.10.18.00.00
-unspsc7#32.10.18.02.00#Unmounted wafers#32.10.18.00.00
-unspsc7#32.10.18.03.00#Unmounted chips#32.10.18.00.00
-unspsc7#32.11.00.00.00#Diodes and transistors and semiconductor devices#32.00.00.00.00
-unspsc7#32.11.15.00.00#Diodes#32.11.00.00.00
-unspsc7#32.11.15.01.00#Microwave diodes#32.11.15.00.00
-unspsc7#32.11.15.02.00#Zener diodes#32.11.15.00.00
-unspsc7#32.11.15.03.00#Light emitting diodes (LEDs)#32.11.15.00.00
-unspsc7#32.11.15.04.00#Schottky diodes#32.11.15.00.00
-unspsc7#32.11.15.05.00#Tunnel diodes#32.11.15.00.00
-unspsc7#32.11.15.06.00#Photosensitive diodes#32.11.15.00.00
-unspsc7#32.11.15.07.00#Variable capacitance diodes#32.11.15.00.00
-unspsc7#32.11.15.08.00#Solar diodes#32.11.15.00.00
-unspsc7#32.11.15.09.00#Power diodes#32.11.15.00.00
-unspsc7#32.11.15.10.00#Radio frequency (RF) diodes#32.11.15.00.00
-unspsc7#32.11.15.11.00#Small signal diodes#32.11.15.00.00
-unspsc7#32.11.16.00.00#Transistors#32.11.00.00.00
-unspsc7#32.11.16.01.00#Photo sensitive transistors#32.11.16.00.00
-unspsc7#32.11.16.02.00#Field effect transistors (FET)#32.11.16.00.00
-unspsc7#32.11.16.03.00#Metal oxide silicone field effect transistors (MOSFET)#32.11.16.00.00
-unspsc7#32.11.16.04.00#Transistor chips#32.11.16.00.00
-unspsc7#32.11.16.05.00#Transistor dies#32.11.16.00.00
-unspsc7#32.11.16.06.00#Transistor wafers#32.11.16.00.00
-unspsc7#32.11.16.07.00#Bipolar darlington or radio frequency (RF) transistors#32.11.16.00.00
-unspsc7#32.11.16.08.00#Unijunction transistors#32.11.16.00.00
-unspsc7#32.11.16.09.00#Insulated gate bipolar transistors (IGBT)#32.11.16.00.00
-unspsc7#32.11.16.10.00#Junction field effect transistors (JFET)#32.11.16.00.00
-unspsc7#32.11.17.00.00#Semiconductor devices#32.11.00.00.00
-unspsc7#32.11.17.01.00#Photovoltaic cells#32.11.17.00.00
-unspsc7#32.11.17.02.00#Thyristors#32.11.17.00.00
-unspsc7#32.11.17.03.00#Diacs#32.11.17.00.00
-unspsc7#32.11.17.04.00#Triacs#32.11.17.00.00
-unspsc7#32.11.17.05.00#Optical coupled isolators#32.11.17.00.00
-unspsc7#32.11.17.06.00#Crystal oscillators#32.11.17.00.00
-unspsc7#32.11.18.00.00#Integrated circuit components#32.11.00.00.00
-unspsc7#32.11.18.01.00#Intergrated circuit lids#32.11.18.00.00
-unspsc7#32.11.18.02.00#Integrated circuit packages#32.11.18.00.00
-unspsc7#32.11.18.03.00#Substrates#32.11.18.00.00
-unspsc7#32.11.19.00.00#Radio frequency (RF) components#32.11.00.00.00
-unspsc7#32.11.19.01.00#Amplifiers#32.11.19.00.00
-unspsc7#32.11.19.02.00#Attenuators#32.11.19.00.00
-unspsc7#32.11.19.03.00#Circulators#32.11.19.00.00
-unspsc7#32.11.19.04.00#Couplers#32.11.19.00.00
-unspsc7#32.11.19.05.00#Delay lines#32.11.19.00.00
-unspsc7#32.11.19.06.00#Detectors#32.11.19.00.00
-unspsc7#32.11.19.07.00#Dummy loads#32.11.19.00.00
-unspsc7#32.11.19.08.00#Radio frequency (RF) filters#32.11.19.00.00
-unspsc7#32.11.19.09.00#Isolators#32.11.19.00.00
-unspsc7#32.11.19.10.00#Mixers#32.11.19.00.00
-unspsc7#32.11.19.11.00#Phase shifters#32.11.19.00.00
-unspsc7#32.11.19.12.00#Power dividers#32.11.19.00.00
-unspsc7#32.11.19.13.00#Wave tube amplifiers#32.11.19.00.00
-unspsc7#32.11.19.14.00#Terminations#32.11.19.00.00
-unspsc7#32.11.19.15.00#Modulators#32.11.19.00.00
-unspsc7#32.12.00.00.00#Printed components#32.00.00.00.00
-unspsc7#32.12.15.00.00#Capacitors#32.12.00.00.00
-unspsc7#32.12.15.01.00#Fixed capacitors#32.12.15.00.00
-unspsc7#32.12.15.02.00#Variable capacitors or varactors#32.12.15.00.00
-unspsc7#32.12.15.03.00#Adjustable pre set capacitors#32.12.15.00.00
-unspsc7#32.12.15.04.00#Capacitor networks#32.12.15.00.00
-unspsc7#32.12.16.00.00#Resistors#32.12.00.00.00
-unspsc7#32.12.16.01.00#Thermistors#32.12.16.00.00
-unspsc7#32.12.16.02.00#Fusistors#32.12.16.00.00
-unspsc7#32.12.16.03.00#Variable resistors or varistors#32.12.16.00.00
-unspsc7#32.12.16.04.00#Fixed carbon resistors#32.12.16.00.00
-unspsc7#32.12.16.05.00#Fixed thick film resistors#32.12.16.00.00
-unspsc7#32.12.16.06.00#Fixed thin film resistors#32.12.16.00.00
-unspsc7#32.12.16.07.00#Resistor networks#32.12.16.00.00
-unspsc7#32.12.16.08.00#Wire wound resistors#32.12.16.00.00
-unspsc7#32.12.17.00.00#Discrete components#32.12.00.00.00
-unspsc7#32.12.17.01.00#Rectifiers#32.12.17.00.00
-unspsc7#32.12.17.02.00#Inductors#32.12.17.00.00
-unspsc7#32.12.17.03.00#Ferrites#32.12.17.00.00
-unspsc7#32.12.17.04.00#Static converters#32.12.17.00.00
-unspsc7#32.12.17.05.00#Inverters#32.12.17.00.00
-unspsc7#32.12.17.06.00#Resistor or capacitor (R/C) networks#32.12.17.00.00
-unspsc7#32.13.00.00.00#Passive components#32.00.00.00.00
-unspsc7#32.13.10.00.00#Temperature controls#32.13.00.00.00
-unspsc7#32.13.10.01.00#Heat sinks#32.13.10.00.00
-unspsc7#39.00.00.00.00#Lighting and Electrical Accessories and Supplies#39.00.00.00.00
-unspsc7#39.10.00.00.00#Lamps and lightbulbs and lamp components#39.00.00.00.00
-unspsc7#39.10.16.00.00#Lamps#39.10.00.00.00
-unspsc7#39.10.16.01.00#Halogen lamps#39.10.16.00.00
-unspsc7#39.10.16.02.00#Medical lamps#39.10.16.00.00
-unspsc7#39.10.16.03.00#Solar lamps#39.10.16.00.00
-unspsc7#39.10.16.04.00#Alcohol lamps#39.10.16.00.00
-unspsc7#39.10.16.05.00#Fluorescent lamps#39.10.16.00.00
-unspsc7#39.10.16.06.00#Arc lamps#39.10.16.00.00
-unspsc7#39.10.16.08.00#Shadowless or scialytic operation light#39.10.16.00.00
-unspsc7#39.10.16.09.00#Stage or studio lamps#39.10.16.00.00
-unspsc7#39.10.16.10.00#Filament lamps#39.10.16.00.00
-unspsc7#39.10.16.11.00#High intensity discharge (HID) lamps#39.10.16.00.00
-unspsc7#39.10.16.12.00#Incandescent lamps#39.10.16.00.00
-unspsc7#39.10.16.13.00#Infrared lamps#39.10.16.00.00
-unspsc7#39.10.16.14.00#Metal halide lamps#39.10.16.00.00
-unspsc7#39.10.16.15.00#Vapor lamps#39.10.16.00.00
-unspsc7#39.10.16.16.00#Ultraviolet (UV) lamps#39.10.16.00.00
-unspsc7#39.10.16.17.00#High pressure sodium lamps#39.10.16.00.00
-unspsc7#39.10.17.00.00#Bulb glass#39.10.00.00.00
-unspsc7#39.10.17.01.00#Fluorescent tubes#39.10.17.00.00
-unspsc7#39.10.18.00.00#Lamp components#39.10.00.00.00
-unspsc7#39.10.18.01.00#Lamp filament#39.10.18.00.00
-unspsc7#39.10.19.00.00#Mobile and fixed floodlighting#39.10.00.00.00
-unspsc7#39.10.19.01.00#Light tower#39.10.19.00.00
-unspsc7#39.10.19.02.00#Light cart#39.10.19.00.00
-unspsc7#39.10.19.03.00#Light stand#39.10.19.00.00
-unspsc7#39.11.00.00.00#Lighting and fixtures and accessories#39.00.00.00.00
-unspsc7#39.11.15.00.00#Interior lighting and fixtures#39.11.00.00.00
-unspsc7#39.11.15.01.00#Fluorescent fixtures#39.11.15.00.00
-unspsc7#39.11.15.02.00#Vanity lighting#39.11.15.00.00
-unspsc7#39.11.15.03.00#Wall fixtures#39.11.15.00.00
-unspsc7#39.11.15.04.00#Stage or studio lighting systems#39.11.15.00.00
-unspsc7#39.11.15.05.00#Recessed lighting#39.11.15.00.00
-unspsc7#39.11.15.06.00#Chandeliers#39.11.15.00.00
-unspsc7#39.11.15.07.00#Desk fixtures#39.11.15.00.00
-unspsc7#39.11.15.08.00#Track lighting#39.11.15.00.00
-unspsc7#39.11.15.09.00#Floor torchiere#39.11.15.00.00
-unspsc7#39.11.15.10.00#Table lamps#39.11.15.00.00
-unspsc7#39.11.15.11.00#Decorative lighting#39.11.15.00.00
-unspsc7#39.11.15.12.00#Laboratory bench lights#39.11.15.00.00
-unspsc7#39.11.15.13.00#Interior solar lighting#39.11.15.00.00
-unspsc7#39.11.15.14.00#Tree lights#39.11.15.00.00
-unspsc7#39.11.15.15.00#Downlighting fixtures#39.11.15.00.00
-unspsc7#39.11.15.16.00#Task lighting fixtures#39.11.15.00.00
-unspsc7#39.11.15.17.00#Wax candles#39.11.15.00.00
-unspsc7#39.11.15.18.00#Hand or extension light#39.11.15.00.00
-unspsc7#39.11.15.19.00#Candle holders#39.11.15.00.00
-unspsc7#39.11.15.20.00#Halogen lighting fixtures#39.11.15.00.00
-unspsc7#39.11.16.00.00#Exterior lighting and fixtures#39.11.00.00.00
-unspsc7#39.11.16.03.00#Roadway or highway lighting#39.11.16.00.00
-unspsc7#39.11.16.05.00#Landscape or area lighting#39.11.16.00.00
-unspsc7#39.11.16.06.00#Underwater lighting#39.11.16.00.00
-unspsc7#39.11.16.08.00#Residential street lights#39.11.16.00.00
-unspsc7#39.11.16.09.00#Kerosene or propane or butane lanterns#39.11.16.00.00
-unspsc7#39.11.17.00.00#Emergency lighting#39.11.00.00.00
-unspsc7#39.11.17.02.00#Flashlights#39.11.17.00.00
-unspsc7#39.11.17.03.00#Storm lights#39.11.17.00.00
-unspsc7#39.11.17.04.00#Flood lights#39.11.17.00.00
-unspsc7#39.11.17.05.00#Light sticks#39.11.17.00.00
-unspsc7#39.11.18.00.00#Lighting accessories#39.11.00.00.00
-unspsc7#39.11.18.01.00#Lamp ballasts#39.11.18.00.00
-unspsc7#39.11.18.02.00#Lamp housings#39.11.18.00.00
-unspsc7#39.11.18.03.00#Lamp sockets#39.11.18.00.00
-unspsc7#39.11.18.04.00#Lamp bases#39.11.18.00.00
-unspsc7#39.11.18.05.00#Lamp brackets#39.11.18.00.00
-unspsc7#39.11.18.06.00#Light boxes#39.11.18.00.00
-unspsc7#39.11.18.08.00#Grilles#39.11.18.00.00
-unspsc7#39.11.18.09.00#Light conditioner filters#39.11.18.00.00
-unspsc7#39.11.18.10.00#Lamp starter#39.11.18.00.00
-unspsc7#39.11.18.11.00#Electrified tracks#39.11.18.00.00
-unspsc7#39.11.18.12.00#Lamp covers#39.11.18.00.00
-unspsc7#39.11.19.00.00#Hazardous location lighting and fixtures#39.11.00.00.00
-unspsc7#39.11.19.01.00#Hazardous location flourescent fixtures#39.11.19.00.00
-unspsc7#39.11.19.02.00#Hazardous location incandescent fixtures#39.11.19.00.00
-unspsc7#40.00.00.00.00#Distribution and Conditioning Systems and Equipment and Components#40.00.00.00.00
-unspsc7#40.10.00.00.00#Heating and ventilation and air circulation#40.00.00.00.00
-unspsc7#40.10.15.00.00#Ventilation#40.10.00.00.00
-unspsc7#40.10.15.01.00#Air collectors#40.10.15.00.00
-unspsc7#40.10.15.02.00#Air exhausters#40.10.15.00.00
-unspsc7#40.10.15.03.00#Vents#40.10.15.00.00
-unspsc7#40.10.15.04.00#Ventilation dampers#40.10.15.00.00
-unspsc7#40.10.15.05.00#Air diffusers#40.10.15.00.00
-unspsc7#40.10.15.06.00#Ventilation pipes#40.10.15.00.00
-unspsc7#40.10.16.00.00#Air circulation#40.10.00.00.00
-unspsc7#40.10.16.01.00#Blowers#40.10.16.00.00
-unspsc7#40.10.16.02.00#Air circulators#40.10.16.00.00
-unspsc7#40.10.16.03.00#Impellers#40.10.16.00.00
-unspsc7#40.10.16.04.00#Fans#40.10.16.00.00
-unspsc7#40.10.17.00.00#Cooling#40.10.00.00.00
-unspsc7#40.10.17.01.00#Air conditioners#40.10.17.00.00
-unspsc7#40.10.17.02.00#Cooling exchangers#40.10.17.00.00
-unspsc7#40.10.17.03.00#Evaporative coolers#40.10.17.00.00
-unspsc7#40.10.17.04.00#Condensing units#40.10.17.00.00
-unspsc7#40.10.18.00.00#Heating equipment#40.10.00.00.00
-unspsc7#40.10.18.01.00#Radiators#40.10.18.00.00
-unspsc7#40.10.18.02.00#Heat exchangers#40.10.18.00.00
-unspsc7#40.10.18.03.00#Fireplaces#40.10.18.00.00
-unspsc7#40.10.18.04.00#Heaters#40.10.18.00.00
-unspsc7#40.10.18.05.00#Furnaces#40.10.18.00.00
-unspsc7#40.10.18.06.00#Heat pumps#40.10.18.00.00
-unspsc7#40.10.18.07.00#Solar heating units#40.10.18.00.00
-unspsc7#40.10.18.08.00#Heating stoves#40.10.18.00.00
-unspsc7#40.10.18.09.00#Circulation heaters#40.10.18.00.00
-unspsc7#40.10.18.10.00#Coil duct heaters#40.10.18.00.00
-unspsc7#40.10.18.11.00#Convection heaters#40.10.18.00.00
-unspsc7#40.10.18.12.00#Divided exchangers#40.10.18.00.00
-unspsc7#40.10.18.13.00#Double split exchangers#40.10.18.00.00
-unspsc7#40.10.18.14.00#Finned tubular heaters#40.10.18.00.00
-unspsc7#40.10.18.15.00#Immersion heaters#40.10.18.00.00
-unspsc7#40.10.18.16.00#Kettle exchangers#40.10.18.00.00
-unspsc7#40.10.18.17.00#One pass exchangers#40.10.18.00.00
-unspsc7#40.10.18.18.00#Process air heaters#40.10.18.00.00
-unspsc7#40.10.18.19.00#Space heaters#40.10.18.00.00
-unspsc7#40.10.18.20.00#Split exchangers#40.10.18.00.00
-unspsc7#40.10.18.21.00#Strip heaters#40.10.18.00.00
-unspsc7#40.10.18.22.00#Tubular heaters#40.10.18.00.00
-unspsc7#40.10.18.23.00#Two pass exchangers#40.10.18.00.00
-unspsc7#40.10.18.24.00#Quartz heater#40.10.18.00.00
-unspsc7#40.10.18.25.00#Domestic water heaters#40.10.18.00.00
-unspsc7#40.10.18.26.00#Commercial water heaters#40.10.18.00.00
-unspsc7#40.10.19.00.00#Humidity control#40.10.00.00.00
-unspsc7#40.10.19.01.00#Vaporizers#40.10.19.00.00
-unspsc7#40.10.19.02.00#Dehumidifiers#40.10.19.00.00
-unspsc7#40.10.19.03.00#Humidifiers#40.10.19.00.00
-unspsc7#40.10.20.00.00#Boilers#40.10.00.00.00
-unspsc7#40.10.20.01.00#Fire tube boilers#40.10.20.00.00
-unspsc7#40.10.20.02.00#Water tube boiler#40.10.20.00.00
-unspsc7#40.10.20.03.00#Electric boilers#40.10.20.00.00
-unspsc7#40.14.00.00.00#Fluid and gas distribution#40.00.00.00.00
-unspsc7#40.14.15.00.00#Fluid and gas conduits#40.14.00.00.00
-unspsc7#40.14.15.02.00#Ducts#40.14.15.00.00
-unspsc7#40.14.15.04.00#Hoses#40.14.15.00.00
-unspsc7#40.14.16.00.00#Valves#40.14.00.00.00
-unspsc7#40.14.16.01.00#Check valves#40.14.16.00.00
-unspsc7#40.14.16.02.00#Needle valves#40.14.16.00.00
-unspsc7#40.14.16.03.00#Pneumatic valves#40.14.16.00.00
-unspsc7#40.14.16.04.00#Safety valves#40.14.16.00.00
-unspsc7#40.14.16.05.00#Solenoid valves#40.14.16.00.00
-unspsc7#40.14.16.06.00#Relief valves#40.14.16.00.00
-unspsc7#40.14.16.07.00#Ball valves#40.14.16.00.00
-unspsc7#40.14.16.08.00#Hydraulic valves#40.14.16.00.00
-unspsc7#40.14.16.09.00#Control valves#40.14.16.00.00
-unspsc7#40.14.16.10.00#Float valves#40.14.16.00.00
-unspsc7#40.14.16.11.00#Globe valves#40.14.16.00.00
-unspsc7#40.14.16.12.00#Expansion valves#40.14.16.00.00
-unspsc7#40.14.16.13.00#Gate valves#40.14.16.00.00
-unspsc7#40.14.16.14.00#Butterfly valves#40.14.16.00.00
-unspsc7#40.14.16.15.00#Flap valves#40.14.16.00.00
-unspsc7#40.14.16.16.00#Valve parts and accessories#40.14.16.00.00
-unspsc7#40.14.16.17.00#Angle globe valves#40.14.16.00.00
-unspsc7#40.14.16.18.00#Ball check valves#40.14.16.00.00
-unspsc7#40.14.16.19.00#Butterfly lug pattern valves#40.14.16.00.00
-unspsc7#40.14.16.20.00#Butterfly wafer pattern valves#40.14.16.00.00
-unspsc7#40.14.16.21.00#Diaphragm valves#40.14.16.00.00
-unspsc7#40.14.16.22.00#Inline check valves#40.14.16.00.00
-unspsc7#40.14.16.23.00#Knife gate valves#40.14.16.00.00
-unspsc7#40.14.16.24.00#Lubricated plug valves#40.14.16.00.00
-unspsc7#40.14.16.25.00#Mud or slush valves#40.14.16.00.00
-unspsc7#40.14.16.26.00#Nonlubricated plug valves#40.14.16.00.00
-unspsc7#40.14.16.27.00#Orifice valves#40.14.16.00.00
-unspsc7#40.14.16.28.00#Pilot valves#40.14.16.00.00
-unspsc7#40.14.16.29.00#Pinch valves#40.14.16.00.00
-unspsc7#40.14.16.30.00#Piston check valves#40.14.16.00.00
-unspsc7#40.14.16.31.00#Pump valves#40.14.16.00.00
-unspsc7#40.14.16.32.00#Sentinel valves#40.14.16.00.00
-unspsc7#40.14.16.33.00#Slider valves#40.14.16.00.00
-unspsc7#40.14.16.34.00#Swing check valves#40.14.16.00.00
-unspsc7#40.14.16.35.00#Turbine valves#40.14.16.00.00
-unspsc7#40.14.16.36.00#Valve kits#40.14.16.00.00
-unspsc7#40.14.16.37.00#Wafer check valves#40.14.16.00.00
-unspsc7#40.14.17.00.00#Hardware and fittings#40.14.00.00.00
-unspsc7#40.14.17.01.00#Drains#40.14.17.00.00
-unspsc7#40.14.17.02.00#Faucets#40.14.17.00.00
-unspsc7#40.14.17.03.00#Shower heads#40.14.17.00.00
-unspsc7#40.14.17.04.00#Spigots#40.14.17.00.00
-unspsc7#40.14.17.05.00#Spouts#40.14.17.00.00
-unspsc7#40.14.17.06.00#Pipe plugs#40.14.17.00.00
-unspsc7#40.14.17.07.00#Pipe clamps#40.14.17.00.00
-unspsc7#40.14.17.08.00#Liquid traps#40.14.17.00.00
-unspsc7#40.14.17.09.00#Steam traps#40.14.17.00.00
-unspsc7#40.14.17.10.00#Plumbing flanges#40.14.17.00.00
-unspsc7#40.14.17.11.00#Metal or rubber expansion joints#40.14.17.00.00
-unspsc7#40.14.17.12.00#Pipe caps#40.14.17.00.00
-unspsc7#40.14.17.13.00#Plumbing unions#40.14.17.00.00
-unspsc7#40.14.17.14.00#Plumbing crosses#40.14.17.00.00
-unspsc7#40.14.17.15.00#Plumbing nipples#40.14.17.00.00
-unspsc7#40.14.17.16.00#P traps#40.14.17.00.00
-unspsc7#40.14.17.17.00#Pipe bends#40.14.17.00.00
-unspsc7#40.14.17.18.00#Plumbing elbows#40.14.17.00.00
-unspsc7#40.14.17.19.00#Plumbing adapters#40.14.17.00.00
-unspsc7#40.14.17.20.00#Plumbing connectors#40.14.17.00.00
-unspsc7#40.14.17.21.00#Plumbing couplings#40.14.17.00.00
-unspsc7#40.14.17.22.00#Half couplings#40.14.17.00.00
-unspsc7#40.14.17.23.00#Reducing couplings#40.14.17.00.00
-unspsc7#40.14.17.24.00#Plumbing bushings#40.14.17.00.00
-unspsc7#40.14.17.25.00#Plumbing hangers#40.14.17.00.00
-unspsc7#40.14.17.26.00#Hydrants#40.14.17.00.00
-unspsc7#40.14.17.27.00#Plumbing vents#40.14.17.00.00
-unspsc7#40.14.17.28.00#Fluid regulators#40.14.17.00.00
-unspsc7#40.14.17.29.00#Plumbing tees#40.14.17.00.00
-unspsc7#40.14.17.30.00#Strainers#40.14.17.00.00
-unspsc7#40.14.17.31.00#Nozzles#40.14.17.00.00
-unspsc7#40.14.17.32.00#Plumbing spiders#40.14.17.00.00
-unspsc7#40.14.17.33.00#Pipe fitting#40.14.17.00.00
-unspsc7#40.14.17.34.00#Hose fitting#40.14.17.00.00
-unspsc7#40.14.17.35.00#Funnels#40.14.17.00.00
-unspsc7#40.14.17.36.00#Grease fitting#40.14.17.00.00
-unspsc7#40.14.17.37.00#Diaphragms#40.14.17.00.00
-unspsc7#40.14.18.00.00#Tube and tubing#40.14.00.00.00
-unspsc7#40.14.18.01.00#Ferrous alloy tubing#40.14.18.00.00
-unspsc7#40.14.18.02.00#Copper tubing#40.14.18.00.00
-unspsc7#40.14.18.03.00#Titanium tubing#40.14.18.00.00
-unspsc7#40.14.18.04.00#Magnesium tubing#40.14.18.00.00
-unspsc7#40.14.18.05.00#Tin tubing#40.14.18.00.00
-unspsc7#40.14.18.06.00#Brass tubing#40.14.18.00.00
-unspsc7#40.14.18.07.00#Lead tubing#40.14.18.00.00
-unspsc7#40.14.18.08.00#Bronze tubing#40.14.18.00.00
-unspsc7#40.14.18.09.00#Zinc tubing#40.14.18.00.00
-unspsc7#40.14.18.10.00#Steel tubing#40.14.18.00.00
-unspsc7#40.14.18.11.00#Iron tubing#40.14.18.00.00
-unspsc7#40.14.18.12.00#Cement tubing#40.14.18.00.00
-unspsc7#40.14.18.13.00#Plastic tubing#40.14.18.00.00
-unspsc7#40.14.18.14.00#Rubber tubing#40.14.18.00.00
-unspsc7#40.14.18.15.00#Glass tubing#40.14.18.00.00
-unspsc7#40.14.18.16.00#Stone tubing#40.14.18.00.00
-unspsc7#40.14.18.17.00#Non ferrous alloy tubing#40.14.18.00.00
-unspsc7#40.14.18.18.00#Aluminum tubing#40.14.18.00.00
-unspsc7#40.14.18.19.00#Stainless steel tubing#40.14.18.00.00
-unspsc7#40.14.18.20.00#Precious metal tubing#40.14.18.00.00
-unspsc7#40.14.18.21.00#Nylon tubing#40.14.18.00.00
-unspsc7#40.14.19.00.00#Ducts#40.14.00.00.00
-unspsc7#40.14.19.01.00#Flexible ducts#40.14.19.00.00
-unspsc7#40.14.19.02.00#Rigid ducts#40.14.19.00.00
-unspsc7#40.14.20.00.00#Hoses#40.14.00.00.00
-unspsc7#40.14.20.01.00#Acid hoses#40.14.20.00.00
-unspsc7#40.14.20.02.00#Air hoses#40.14.20.00.00
-unspsc7#40.14.20.03.00#Drill hoses#40.14.20.00.00
-unspsc7#40.14.20.04.00#Marine hoses#40.14.20.00.00
-unspsc7#40.14.20.05.00#Material handling hoses#40.14.20.00.00
-unspsc7#40.14.20.06.00#Oil hoses#40.14.20.00.00
-unspsc7#40.14.20.07.00#Special hoses#40.14.20.00.00
-unspsc7#40.14.20.08.00#Water hoses#40.14.20.00.00
-unspsc7#40.14.20.09.00#Air water gas multipurpose hoses#40.14.20.00.00
-unspsc7#40.14.20.10.00#Teflon lined hoses#40.14.20.00.00
-unspsc7#40.14.21.00.00#Pipe#40.14.00.00.00
-unspsc7#40.14.21.01.00#Carbon steel pipe#40.14.21.00.00
-unspsc7#40.14.21.02.00#Ductile iron pipe#40.14.21.00.00
-unspsc7#40.14.21.03.00#High nickel alloy pipe#40.14.21.00.00
-unspsc7#40.14.21.04.00#High yield steel pipe#40.14.21.00.00
-unspsc7#40.14.21.05.00#Ferritic alloy pipe#40.14.21.00.00
-unspsc7#40.14.21.06.00#Aluminum pipe#40.14.21.00.00
-unspsc7#40.14.21.07.00#Brass pipe#40.14.21.00.00
-unspsc7#40.14.21.08.00#Bronze pipe#40.14.21.00.00
-unspsc7#40.14.21.09.00#Concrete pipe#40.14.21.00.00
-unspsc7#40.14.21.10.00#Copper pipe#40.14.21.00.00
-unspsc7#40.14.21.11.00#Cast iron pipe#40.14.21.00.00
-unspsc7#40.14.21.12.00#Lead pipe#40.14.21.00.00
-unspsc7#40.14.21.13.00#Magnesium pipe#40.14.21.00.00
-unspsc7#40.14.21.14.00#Non ferrous pipe#40.14.21.00.00
-unspsc7#40.14.21.15.00#Plastic pipe#40.14.21.00.00
-unspsc7#40.14.21.16.00#Rubber pipe#40.14.21.00.00
-unspsc7#40.14.21.17.00#Stainless steel pipe#40.14.21.00.00
-unspsc7#40.14.21.18.00#Tin pipe#40.14.21.00.00
-unspsc7#40.14.21.19.00#Titanium pipe#40.14.21.00.00
-unspsc7#40.14.21.20.00#Zinc pipe#40.14.21.00.00
-unspsc7#40.14.21.21.00#Hose reels#40.14.21.00.00
-unspsc7#40.14.22.00.00#Fluid and gas regulators#40.14.00.00.00
-unspsc7#40.14.22.01.00#Gas regulators#40.14.22.00.00
-unspsc7#40.14.22.02.00#Fluid regulators#40.14.22.00.00
-unspsc7#40.14.23.00.00#Pipe fittings#40.14.00.00.00
-unspsc7#40.14.23.01.00#Pipe angle face rings#40.14.23.00.00
-unspsc7#40.14.23.02.00#Pipe branch outlets#40.14.23.00.00
-unspsc7#40.14.23.03.00#Pipe laterals#40.14.23.00.00
-unspsc7#40.14.23.04.00#Pipe inserts#40.14.23.00.00
-unspsc7#40.14.23.05.00#Pipe reducers#40.14.23.00.00
-unspsc7#40.14.23.06.00#Pipe saddles#40.14.23.00.00
-unspsc7#40.14.23.07.00#Pipe stubends#40.14.23.00.00
-unspsc7#40.14.23.08.00#Pipe wyes#40.14.23.00.00
-unspsc7#40.14.23.09.00#Pipe bends#40.14.23.00.00
-unspsc7#40.14.23.10.00#Pipe caps#40.14.23.00.00
-unspsc7#40.14.23.11.00#Pipe half couplings#40.14.23.00.00
-unspsc7#40.14.23.12.00#Pipe expansion joints#40.14.23.00.00
-unspsc7#40.14.23.13.00#Pipe plugs#40.14.23.00.00
-unspsc7#40.14.23.14.00#Pipe bushings#40.14.23.00.00
-unspsc7#40.14.23.15.00#Pipe couplings#40.14.23.00.00
-unspsc7#40.14.23.16.00#Pipe crosses#40.14.23.00.00
-unspsc7#40.14.23.17.00#Pipe elbows#40.14.23.00.00
-unspsc7#40.14.23.18.00#Pipe nipples#40.14.23.00.00
-unspsc7#40.14.23.19.00#Pipe tees#40.14.23.00.00
-unspsc7#40.14.23.20.00#Pipe unions#40.14.23.00.00
-unspsc7#40.14.23.21.00#Pipe reducing couplings#40.14.23.00.00
-unspsc7#40.14.23.22.00#Pipe repair clamps#40.14.23.00.00
-unspsc7#40.14.23.23.00#Rupture disk#40.14.23.00.00
-unspsc7#40.14.24.00.00#Pipe flanges#40.14.00.00.00
-unspsc7#40.14.24.01.00#Ammonia flanges#40.14.24.00.00
-unspsc7#40.14.24.02.00#Backup flanges#40.14.24.00.00
-unspsc7#40.14.24.03.00#Blind flanges#40.14.24.00.00
-unspsc7#40.14.24.04.00#Lapjoint flanges#40.14.24.00.00
-unspsc7#40.14.24.05.00#Long weldneck flanges#40.14.24.00.00
-unspsc7#40.14.24.06.00#Orifice flanges#40.14.24.00.00
-unspsc7#40.14.24.07.00#Plate flanges#40.14.24.00.00
-unspsc7#40.14.24.08.00#Slipon flanges#40.14.24.00.00
-unspsc7#40.14.24.09.00#Socketweld flanges#40.14.24.00.00
-unspsc7#40.14.24.10.00#Spectacle blind flanges#40.14.24.00.00
-unspsc7#40.14.24.11.00#Threaded flanges#40.14.24.00.00
-unspsc7#40.14.24.12.00#Weldneck flanges#40.14.24.00.00
-unspsc7#40.14.25.00.00#Traps and strainers#40.14.00.00.00
-unspsc7#40.14.25.01.00#Liquid strainers#40.14.25.00.00
-unspsc7#40.14.25.02.00#Liquid traps#40.14.25.00.00
-unspsc7#40.14.25.03.00#Steam traps#40.14.25.00.00
-unspsc7#40.14.25.04.00#Steam strainers#40.14.25.00.00
-unspsc7#40.14.26.00.00#Tube fittings#40.14.00.00.00
-unspsc7#40.14.26.01.00#Brass tube fittings#40.14.26.00.00
-unspsc7#40.14.26.02.00#Carbon steel tube fittings#40.14.26.00.00
-unspsc7#40.14.26.03.00#Stainless steel tube fittings#40.14.26.00.00
-unspsc7#40.15.00.00.00#Industrial pumps and compressors#40.00.00.00.00
-unspsc7#40.15.15.00.00#Pumps#40.15.00.00.00
-unspsc7#40.15.15.01.00#Air pumps#40.15.15.00.00
-unspsc7#40.15.15.02.00#Vacuum pumps#40.15.15.00.00
-unspsc7#40.15.15.03.00#Centrifugal pumps#40.15.15.00.00
-unspsc7#40.15.15.04.00#Circulating pumps#40.15.15.00.00
-unspsc7#40.15.15.05.00#Dosing pumps#40.15.15.00.00
-unspsc7#40.15.15.06.00#Hand pumps#40.15.15.00.00
-unspsc7#40.15.15.07.00#Irrigation pumps#40.15.15.00.00
-unspsc7#40.15.15.08.00#Mud pumps#40.15.15.00.00
-unspsc7#40.15.15.09.00#Reciprocating pumps#40.15.15.00.00
-unspsc7#40.15.15.10.00#Water pumps#40.15.15.00.00
-unspsc7#40.15.15.11.00#Well pumps#40.15.15.00.00
-unspsc7#40.15.15.12.00#Sump pumps#40.15.15.00.00
-unspsc7#40.15.15.13.00#Submersible pumps#40.15.15.00.00
-unspsc7#40.15.15.14.00#Steam pumps#40.15.15.00.00
-unspsc7#40.15.15.15.00#Solenoid pumps#40.15.15.00.00
-unspsc7#40.15.15.16.00#Shear pumps#40.15.15.00.00
-unspsc7#40.15.15.17.00#Sewage pumps#40.15.15.00.00
-unspsc7#40.15.15.18.00#Sealless pumps#40.15.15.00.00
-unspsc7#40.15.15.19.00#Sanitary pumps#40.15.15.00.00
-unspsc7#40.15.15.20.00#Sampling pumps#40.15.15.00.00
-unspsc7#40.15.15.21.00#Rotary pumps#40.15.15.00.00
-unspsc7#40.15.15.22.00#Reverse osmosis pumps#40.15.15.00.00
-unspsc7#40.15.15.23.00#Positive displacement pumps#40.15.15.00.00
-unspsc7#40.15.15.24.00#Oil pumps#40.15.15.00.00
-unspsc7#40.15.15.25.00#Sludge pumps#40.15.15.00.00
-unspsc7#40.15.15.26.00#Turbine pumps#40.15.15.00.00
-unspsc7#40.15.15.27.00#Plunger pumps#40.15.15.00.00
-unspsc7#40.15.15.28.00#Oscillating pumps#40.15.15.00.00
-unspsc7#40.15.15.29.00#Drum pumps#40.15.15.00.00
-unspsc7#40.15.15.30.00#Dredge pumps#40.15.15.00.00
-unspsc7#40.15.15.31.00#Dewatering pumps#40.15.15.00.00
-unspsc7#40.15.15.32.00#Fuel pumps#40.15.15.00.00
-unspsc7#40.15.15.33.00#Hydraulic pumps#40.15.15.00.00
-unspsc7#40.15.15.34.00#Cryogenic pumps#40.15.15.00.00
-unspsc7#40.15.15.35.00#Sludge pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.36.00#Sewage pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.37.00#Submersible pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.38.00#Water pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.39.00#Well pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.40.00#Sump pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.41.00#Dosing pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.42.00#Centrifugal pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.43.00#Circulation pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.44.00#Rotary pump spare parts#40.15.15.00.00
-unspsc7#40.15.15.45.00#Pump parts and accessories#40.15.15.00.00
-unspsc7#40.15.15.46.00#Axial split pumps#40.15.15.00.00
-unspsc7#40.15.15.47.00#Deepwell pumps#40.15.15.00.00
-unspsc7#40.15.15.48.00#Diaphragm pumps#40.15.15.00.00
-unspsc7#40.15.15.49.00#Double diaphragm pumps#40.15.15.00.00
-unspsc7#40.15.15.50.00#Duplex pumps#40.15.15.00.00
-unspsc7#40.15.15.51.00#Gear pumps#40.15.15.00.00
-unspsc7#40.15.15.52.00#Metering or injection or proportioning pumps#40.15.15.00.00
-unspsc7#40.15.15.53.00#Progressive cavity pumps#40.15.15.00.00
-unspsc7#40.15.15.54.00#Ram pumps#40.15.15.00.00
-unspsc7#40.15.15.55.00#Rotary cam pumps#40.15.15.00.00
-unspsc7#40.15.15.56.00#Rotary lobe pumps#40.15.15.00.00
-unspsc7#40.15.15.57.00#Rotating piston pumps#40.15.15.00.00
-unspsc7#40.15.15.58.00#Screw Pumps#40.15.15.00.00
-unspsc7#40.15.15.59.00#Simplex pumps#40.15.15.00.00
-unspsc7#40.15.15.60.00#Sliding vane pumps#40.15.15.00.00
-unspsc7#40.15.15.61.00#Triplex pumps#40.15.15.00.00
-unspsc7#40.15.15.62.00#Worm pumps#40.15.15.00.00
-unspsc7#40.15.16.00.00#Compressors#40.15.00.00.00
-unspsc7#40.15.16.01.00#Air compressors#40.15.16.00.00
-unspsc7#40.15.16.02.00#Axial flow compressors#40.15.16.00.00
-unspsc7#40.15.16.03.00#Diaphragm compressors#40.15.16.00.00
-unspsc7#40.15.16.04.00#Gas compressors#40.15.16.00.00
-unspsc7#40.15.16.05.00#Motor compressors#40.15.16.00.00
-unspsc7#40.15.16.06.00#Reciprocating compressors#40.15.16.00.00
-unspsc7#40.15.16.07.00#Refrigerant compressors#40.15.16.00.00
-unspsc7#40.15.16.08.00#Rotary compressors#40.15.16.00.00
-unspsc7#40.15.16.09.00#Screw compressors#40.15.16.00.00
-unspsc7#40.15.16.10.00#Compressor parts and accessories#40.15.16.00.00
-unspsc7#40.15.16.11.00#Barrel compressors#40.15.16.00.00
-unspsc7#40.15.16.12.00#Centrifugal compressors#40.15.16.00.00
-unspsc7#40.15.16.13.00#Combination compressors#40.15.16.00.00
-unspsc7#40.15.16.14.00#Semi radial compressors#40.15.16.00.00
-unspsc7#40.15.16.15.00#Turbo compressors#40.15.16.00.00
-unspsc7#40.15.16.16.00#Compressor kits#40.15.16.00.00
-unspsc7#40.15.17.00.00#Pump parts and accessories#40.15.00.00.00
-unspsc7#40.15.17.01.00#Pump casings#40.15.17.00.00
-unspsc7#40.15.17.02.00#Pump packings#40.15.17.00.00
-unspsc7#40.16.00.00.00#Industrial filtering and purification#40.00.00.00.00
-unspsc7#40.16.15.00.00#Filters#40.16.00.00.00
-unspsc7#40.16.15.01.00#Vacuum filters#40.16.15.00.00
-unspsc7#40.16.15.02.00#Water filters#40.16.15.00.00
-unspsc7#40.16.15.03.00#Dust collectors#40.16.15.00.00
-unspsc7#40.16.15.04.00#Oil filters#40.16.15.00.00
-unspsc7#40.16.15.05.00#Air filters#40.16.15.00.00
-unspsc7#40.16.15.06.00#Filtering machinery#40.16.15.00.00
-unspsc7#40.16.15.07.00#Filter membranes#40.16.15.00.00
-unspsc7#40.16.15.08.00#Bag filters#40.16.15.00.00
-unspsc7#40.16.15.09.00#Absorption filters#40.16.15.00.00
-unspsc7#40.16.15.10.00#Bag filters#40.16.15.00.00
-unspsc7#40.16.15.11.00#Coalescing filters#40.16.15.00.00
-unspsc7#40.16.15.12.00#Electronic filters#40.16.15.00.00
-unspsc7#40.16.15.13.00#Fuel filters#40.16.15.00.00
-unspsc7#40.16.15.14.00#Gas pipeline filters#40.16.15.00.00
-unspsc7#40.16.15.15.00#Hydraulic filters#40.16.15.00.00
-unspsc7#40.16.15.16.00#In line filters#40.16.15.00.00
-unspsc7#40.16.15.17.00#Light filters#40.16.15.00.00
-unspsc7#40.16.15.18.00#Microfiber filters#40.16.15.00.00
-unspsc7#40.16.15.19.00#Panel filters#40.16.15.00.00
-unspsc7#40.16.15.20.00#Radial fin filters#40.16.15.00.00
-unspsc7#40.16.15.21.00#Filter Base#40.16.15.00.00
-unspsc7#40.16.15.22.00#Filter Fins#40.16.15.00.00
-unspsc7#40.16.15.23.00#Fuel#40.16.15.00.00
-unspsc7#40.16.15.24.00#Paint#40.16.15.00.00
-unspsc7#40.16.16.00.00#Purification#40.16.00.00.00
-unspsc7#40.16.16.01.00#Air scrubbers#40.16.16.00.00
-unspsc7#40.16.16.02.00#Air cleaners#40.16.16.00.00
-unspsc7#40.16.17.00.00#Separators#40.16.00.00.00
-unspsc7#40.16.17.01.00#Centrifuges#40.16.17.00.00
-unspsc7#40.16.17.02.00#Wet scrubbers#40.16.17.00.00
-unspsc7#40.16.17.03.00#Mist eliminators#40.16.17.00.00
-unspsc7#40.16.18.00.00#Filter media#40.16.00.00.00
-unspsc7#40.16.18.01.00#Metal fabric media#40.16.18.00.00
-unspsc7#40.16.18.02.00#Pressed felts#40.16.18.00.00
-unspsc7#40.16.18.03.00#Filter papers#40.16.18.00.00
-unspsc7#40.16.18.05.00#Filter cloth#40.16.18.00.00
-unspsc7#41.00.00.00.00#Laboratory and Measuring and Observing and Testing Equipment#41.00.00.00.00
-unspsc7#41.10.00.00.00#Laboratory and scientific equipment#41.00.00.00.00
-unspsc7#41.10.15.00.00#Laboratory blending and dispersing and homogenizing and mixing and stirring equipment#41.10.00.00.00
-unspsc7#41.10.15.01.00#Mixers or blenders or emulsifiers#41.10.15.00.00
-unspsc7#41.10.15.02.00#Stomachers#41.10.15.00.00
-unspsc7#41.10.15.03.00#Laboratory sprayers#41.10.15.00.00
-unspsc7#41.10.15.04.00#Homogenisers#41.10.15.00.00
-unspsc7#41.10.15.05.00#French pressure cells#41.10.15.00.00
-unspsc7#41.10.15.06.00#Roller mixers#41.10.15.00.00
-unspsc7#41.10.15.07.00#Rotators#41.10.15.00.00
-unspsc7#41.10.15.08.00#Vibrators#41.10.15.00.00
-unspsc7#41.10.15.10.00#Magnetic spin bars or retrievers#41.10.15.00.00
-unspsc7#41.10.15.11.00#Stirring tables#41.10.15.00.00
-unspsc7#41.10.15.12.00#Multi bank or flocculation equipment#41.10.15.00.00
-unspsc7#41.10.15.13.00#Shakers#41.10.15.00.00
-unspsc7#41.10.15.14.00#Laboratory centrifuges#41.10.15.00.00
-unspsc7#41.10.15.15.00#Liquid measuring cans#41.10.15.00.00
-unspsc7#41.10.15.16.00#Liquid dispensers#41.10.15.00.00
-unspsc7#41.10.16.00.00#Laboratory fixtures and accessories#41.10.00.00.00
-unspsc7#41.10.16.03.00#Laboratory stands or clamps or tongs#41.10.16.00.00
-unspsc7#41.10.16.04.00#Slide containers#41.10.16.00.00
-unspsc7#41.10.16.05.00#Slide drying plates#41.10.16.00.00
-unspsc7#41.10.16.07.00#Microslide making equipment#41.10.16.00.00
-unspsc7#41.10.16.08.00#Microslide storage equipment#41.10.16.00.00
-unspsc7#41.10.16.09.00#Static eliminators#41.10.16.00.00
-unspsc7#41.10.16.11.00#Slide warmers#41.10.16.00.00
-unspsc7#41.10.17.00.00#Laboratory boring and grinding and cutting and crushing and pressing equipment#41.10.00.00.00
-unspsc7#41.10.17.01.00#Mills#41.10.17.00.00
-unspsc7#41.10.17.02.00#Pestle or mortars#41.10.17.00.00
-unspsc7#41.10.17.03.00#Tissue grinders#41.10.17.00.00
-unspsc7#41.10.17.04.00#Microtomes#41.10.17.00.00
-unspsc7#41.10.17.05.00#Crushers or pulverisers#41.10.17.00.00
-unspsc7#41.10.17.06.00#Disintegrators#41.10.17.00.00
-unspsc7#41.10.17.07.00#Laboratory presses#41.10.17.00.00
-unspsc7#41.10.18.00.00#Laboratory electron and solid state physics equipment#41.10.00.00.00
-unspsc7#41.10.18.01.00#Electron guns#41.10.18.00.00
-unspsc7#41.10.18.02.00#X ray generators#41.10.18.00.00
-unspsc7#41.10.18.03.00#Coulometers#41.10.18.00.00
-unspsc7#41.10.18.04.00#Electroscopes#41.10.18.00.00
-unspsc7#41.10.18.05.00#Fluxmeters#41.10.18.00.00
-unspsc7#41.10.18.06.00#Magnetometers#41.10.18.00.00
-unspsc7#41.10.18.07.00#Electron diffraction apparatus#41.10.18.00.00
-unspsc7#41.10.18.08.00#Neutron diffraction apparatus#41.10.18.00.00
-unspsc7#41.10.18.09.00#Optical diffraction apparatus#41.10.18.00.00
-unspsc7#41.10.18.10.00#Diffractometers#41.10.18.00.00
-unspsc7#41.10.19.00.00#Laboratory ionic equipment#41.10.00.00.00
-unspsc7#41.10.19.01.00#Ion sources#41.10.19.00.00
-unspsc7#41.10.19.02.00#Ion exchange apparatus#41.10.19.00.00
-unspsc7#41.10.19.03.00#Ion implantation equipment#41.10.19.00.00
-unspsc7#41.10.20.00.00#Sampling and purification equipment#41.10.00.00.00
-unspsc7#41.10.20.01.00#Sample changers#41.10.20.00.00
-unspsc7#41.10.20.02.00#Sample oxidiser#41.10.20.00.00
-unspsc7#41.10.20.03.00#Sample preparation line#41.10.20.00.00
-unspsc7#41.10.20.04.00#Sample preparation bombs#41.10.20.00.00
-unspsc7#41.10.20.05.00#Water samplers#41.10.20.00.00
-unspsc7#41.10.20.06.00#Air samplers or collectors#41.10.20.00.00
-unspsc7#41.10.20.07.00#Reagent kits for use with air samplers#41.10.20.00.00
-unspsc7#41.10.20.08.00#Filters or other spare parts for samplers#41.10.20.00.00
-unspsc7#41.10.20.09.00#Dust fall holders or jars#41.10.20.00.00
-unspsc7#41.10.20.11.00#Sulphur dioxide or smoke samplers#41.10.20.00.00
-unspsc7#41.10.20.12.00#Sample applicators#41.10.20.00.00
-unspsc7#41.10.20.13.00#Plant samples analysis equipment#41.10.20.00.00
-unspsc7#41.10.20.14.00#Air pollutant samplers#41.10.20.00.00
-unspsc7#41.10.20.15.00#Water purification reagents#41.10.20.00.00
-unspsc7#41.10.20.16.00#Deionisation or demineralisation equipment#41.10.20.00.00
-unspsc7#41.10.20.17.00#Base exchange equipment#41.10.20.00.00
-unspsc7#41.10.20.18.00#Reverse osmosis equipment#41.10.20.00.00
-unspsc7#41.10.20.19.00#Ultra violet water purification units#41.10.20.00.00
-unspsc7#41.10.20.20.00#Ultra pure water systems#41.10.20.00.00
-unspsc7#41.10.20.21.00#Water analysis systems#41.10.20.00.00
-unspsc7#41.10.20.22.00#Dehydrators#41.10.20.00.00
-unspsc7#41.10.20.23.00#Deoxiders#41.10.20.00.00
-unspsc7#41.10.20.24.00#Dissolvers#41.10.20.00.00
-unspsc7#41.10.20.25.00#Specimen holders#41.10.20.00.00
-unspsc7#41.10.20.26.00#Specimen collectors#41.10.20.00.00
-unspsc7#41.10.20.27.00#Sample holders#41.10.20.00.00
-unspsc7#41.10.20.28.00#Lubricant samplers#41.10.20.00.00
-unspsc7#41.10.23.00.00#Laboratory fermentation and incubating equipment#41.10.00.00.00
-unspsc7#41.10.23.01.00#Standard fermentation units#41.10.23.00.00
-unspsc7#41.10.23.02.00#Continuous culture apparatus#41.10.23.00.00
-unspsc7#41.10.23.03.00#Anaerobic jars#41.10.23.00.00
-unspsc7#41.10.23.04.00#Digestion systems#41.10.23.00.00
-unspsc7#41.10.23.05.00#Water jacketed incubators#41.10.23.00.00
-unspsc7#41.10.23.06.00#CO2 incubators#41.10.23.00.00
-unspsc7#41.10.23.07.00#Tissue culture incubators#41.10.23.00.00
-unspsc7#41.10.23.08.00#Incubator ovens#41.10.23.00.00
-unspsc7#41.10.23.09.00#Cooled incubators (BOD)#41.10.23.00.00
-unspsc7#41.10.23.10.00#Shaking incubators#41.10.23.00.00
-unspsc7#41.10.23.11.00#Inspissators#41.10.23.00.00
-unspsc7#41.10.23.12.00#Plate incubators#41.10.23.00.00
-unspsc7#41.10.23.13.00#In vitro culture equipment#41.10.23.00.00
-unspsc7#41.10.23.14.00#Bacteria equipment#41.10.23.00.00
-unspsc7#41.10.24.00.00#Laboratory heating and drying equipment#41.10.00.00.00
-unspsc7#41.10.24.01.00#Gas burners#41.10.24.00.00
-unspsc7#41.10.24.02.00#Spirit burners#41.10.24.00.00
-unspsc7#41.10.24.03.00#Laboratory incinerators#41.10.24.00.00
-unspsc7#41.10.24.04.00#Laboratory heaters#41.10.24.00.00
-unspsc7#41.10.24.05.00#Mantles or tapes#41.10.24.00.00
-unspsc7#41.10.24.06.00#Hot plates#41.10.24.00.00
-unspsc7#41.10.24.07.00#Warming cabinets#41.10.24.00.00
-unspsc7#41.10.24.08.00#Drying ovens#41.10.24.00.00
-unspsc7#41.10.24.09.00#Induction dryers#41.10.24.00.00
-unspsc7#41.10.24.10.00#Infrared dryers#41.10.24.00.00
-unspsc7#41.10.24.11.00#Spray dryers#41.10.24.00.00
-unspsc7#41.10.24.12.00#Hot air blowers#41.10.24.00.00
-unspsc7#41.10.24.13.00#Drying cabinets#41.10.24.00.00
-unspsc7#41.10.24.14.00#Freeze dryers#41.10.24.00.00
-unspsc7#41.10.24.15.00#Laboratory furnaces#41.10.24.00.00
-unspsc7#41.10.24.16.00#Ageing ovens#41.10.24.00.00
-unspsc7#41.10.24.18.00#Quartz oven pots#41.10.24.00.00
-unspsc7#41.10.24.19.00#Microwave or radiant heat ovens#41.10.24.00.00
-unspsc7#41.10.24.20.00#Desiccators#41.10.24.00.00
-unspsc7#41.10.24.21.00#Temperature cycling chambers#41.10.24.00.00
-unspsc7#41.10.25.00.00#Laboratory entomological equipment and accessories#41.10.00.00.00
-unspsc7#41.10.25.01.00#Insect containers#41.10.25.00.00
-unspsc7#41.10.25.02.00#Rearing facilities for entomology#41.10.25.00.00
-unspsc7#41.10.25.03.00#Fabric or netting for entomology#41.10.25.00.00
-unspsc7#41.10.25.04.00#Entomological pinning equipment#41.10.25.00.00
-unspsc7#41.10.25.05.00#Entomological mounting materials#41.10.25.00.00
-unspsc7#41.10.25.06.00#Entomological trays#41.10.25.00.00
-unspsc7#41.10.25.07.00#Entomological catching equipment#41.10.25.00.00
-unspsc7#41.10.25.08.00#Entomological aspirators#41.10.25.00.00
-unspsc7#41.10.25.09.00#Entomological dippers#41.10.25.00.00
-unspsc7#41.10.25.10.00#Entomological monocups#41.10.25.00.00
-unspsc7#41.10.25.11.00#Entomological sticky traps#41.10.25.00.00
-unspsc7#41.10.25.12.00#Insect test kits#41.10.25.00.00
-unspsc7#41.10.25.13.00#Entomological display units#41.10.25.00.00
-unspsc7#41.10.26.00.00#Animal laboratory equipment and accessories#41.10.00.00.00
-unspsc7#41.10.26.01.00#Cages for small animals#41.10.26.00.00
-unspsc7#41.10.26.02.00#Aquaria equipment#41.10.26.00.00
-unspsc7#41.10.26.03.00#Animal identification supplies#41.10.26.00.00
-unspsc7#41.10.26.04.00#Animal catching devices#41.10.26.00.00
-unspsc7#41.10.26.05.00#Fish aeration systems#41.10.26.00.00
-unspsc7#41.10.26.06.00#Animal feeding needles#41.10.26.00.00
-unspsc7#41.10.27.00.00#Crystallography equipment#41.10.00.00.00
-unspsc7#41.10.27.01.00#Crystal lattice models#41.10.27.00.00
-unspsc7#41.10.27.02.00#Scintillation crystal assemblies#41.10.27.00.00
-unspsc7#41.10.27.03.00#Light scattering equipment#41.10.27.00.00
-unspsc7#41.10.27.04.00#X ray diffraction equipment#41.10.27.00.00
-unspsc7#41.10.27.05.00#Crystallisers#41.10.27.00.00
-unspsc7#41.10.27.06.00#Crystal growing equipment#41.10.27.00.00
-unspsc7#41.10.29.00.00#Histology equipment#41.10.00.00.00
-unspsc7#41.10.29.01.00#Tissue embedding stations#41.10.29.00.00
-unspsc7#41.10.29.02.00#Embedding molds#41.10.29.00.00
-unspsc7#41.10.29.03.00#Embedding capsules#41.10.29.00.00
-unspsc7#41.10.29.04.00#Embedding compounds#41.10.29.00.00
-unspsc7#41.10.29.05.00#Histological staining apparatus#41.10.29.00.00
-unspsc7#41.10.29.09.00#Tissue processors#41.10.29.00.00
-unspsc7#41.10.29.10.00#Tissue culture apparatus#41.10.29.00.00
-unspsc7#41.10.29.11.00#Histological knives or knife holders#41.10.29.00.00
-unspsc7#41.10.29.12.00#Histological glass knife makers#41.10.29.00.00
-unspsc7#41.10.29.13.00#Histological hones or straps or compounds#41.10.29.00.00
-unspsc7#41.10.29.14.00#Ultrasonic disintegrators#41.10.29.00.00
-unspsc7#41.10.30.00.00#Laboratory cooling equipment#41.10.00.00.00
-unspsc7#41.10.30.01.00#Refrigerated cooling plate probes#41.10.30.00.00
-unspsc7#41.10.30.02.00#Freezing spray aerosols#41.10.30.00.00
-unspsc7#41.10.30.03.00#Cryostats#41.10.30.00.00
-unspsc7#41.10.30.04.00#Fan circulated ovens#41.10.30.00.00
-unspsc7#41.10.30.05.00#Ultra cold cabinets#41.10.30.00.00
-unspsc7#41.10.30.06.00#Cryogenic freezers#41.10.30.00.00
-unspsc7#41.10.30.07.00#Chilling units or cold water circulation#41.10.30.00.00
-unspsc7#41.10.30.08.00#Refrigerated cooling modules#41.10.30.00.00
-unspsc7#41.10.30.09.00#Cadaver storage refrigerators#41.10.30.00.00
-unspsc7#41.10.31.00.00#Laboratory supplies#41.10.00.00.00
-unspsc7#41.10.31.01.00#Test tubes#41.10.31.00.00
-unspsc7#41.10.31.03.00#Pipettes or accessories#41.10.31.00.00
-unspsc7#41.10.31.04.00#Flasks#41.10.31.00.00
-unspsc7#41.10.31.05.00#Beakers#41.10.31.00.00
-unspsc7#41.10.31.06.00#Stirring rods#41.10.31.00.00
-unspsc7#41.10.31.07.00#Laboratory or sampling syringes#41.10.31.00.00
-unspsc7#41.10.31.08.00#Desiccants#41.10.31.00.00
-unspsc7#41.10.31.09.00#Watch glasses#41.10.31.00.00
-unspsc7#41.10.31.10.00#Burets#41.10.31.00.00
-unspsc7#41.10.31.11.00#Measuring cylinder#41.10.31.00.00
-unspsc7#41.10.31.12.00#Laboratory dishes#41.10.31.00.00
-unspsc7#41.10.31.13.00#Slides#41.10.31.00.00
-unspsc7#41.10.31.14.00#Stoppers#41.10.31.00.00
-unspsc7#41.10.31.15.00#Tubing connectors#41.10.31.00.00
-unspsc7#41.10.31.16.00#Laboratory cases#41.10.31.00.00
-unspsc7#41.10.31.17.00#Laboratory scoops or spatulas#41.10.31.00.00
-unspsc7#41.10.32.00.00#Laboratory cleaning equipment#41.10.00.00.00
-unspsc7#41.10.32.01.00#Chemical engineering washers#41.10.32.00.00
-unspsc7#41.10.32.02.00#Laboratory washing machines#41.10.32.00.00
-unspsc7#41.10.32.03.00#Pipette washers#41.10.32.00.00
-unspsc7#41.10.32.04.00#Ultrasonic cleaners#41.10.32.00.00
-unspsc7#41.10.33.00.00#Fluid mechanics equipment#41.10.00.00.00
-unspsc7#41.10.33.01.00#Liquid scintillation counters#41.10.33.00.00
-unspsc7#41.10.33.02.00#Battery acid hydrometers#41.10.33.00.00
-unspsc7#41.10.33.03.00#Densitometers#41.10.33.00.00
-unspsc7#41.10.33.04.00#Vacuum ovens#41.10.33.00.00
-unspsc7#41.10.33.05.00#High vacuum equipment#41.10.33.00.00
-unspsc7#41.10.33.06.00#Pneumatic vacuum equipment#41.10.33.00.00
-unspsc7#41.10.33.07.00#Vacuum or mercury vapour equipment#41.10.33.00.00
-unspsc7#41.10.33.08.00#High vacuum combustion apparatus#41.10.33.00.00
-unspsc7#41.10.33.09.00#Flow injection analysis equipment#41.10.33.00.00
-unspsc7#41.10.33.10.00#Gas or vapour concentration measuring instruments#41.10.33.00.00
-unspsc7#41.10.33.11.00#Manometers#41.10.33.00.00
-unspsc7#41.10.33.12.00#Viscosimeters#41.10.33.00.00
-unspsc7#41.10.33.13.00#Depth indicators#41.10.33.00.00
-unspsc7#41.10.33.14.00#Microscopic structure estimation apparatus#41.10.33.00.00
-unspsc7#41.10.33.15.00#Solution strength estimation apparatus#41.10.33.00.00
-unspsc7#41.10.34.00.00#Laboratory environmental conditioning equipment#41.10.00.00.00
-unspsc7#41.10.34.01.00#Contamination control screens#41.10.34.00.00
-unspsc7#41.10.34.02.00#Environmental chambers#41.10.34.00.00
-unspsc7#41.10.34.03.00#Microbiological aircontrol#41.10.34.00.00
-unspsc7#41.10.34.04.00#Growth chambers#41.10.34.00.00
-unspsc7#41.10.34.05.00#Walk in chambers#41.10.34.00.00
-unspsc7#41.10.34.06.00#Glove boxes#41.10.34.00.00
-unspsc7#41.10.35.00.00#Laboratory ventilating equipment#41.10.00.00.00
-unspsc7#41.10.35.01.00#Ebuliometer#41.10.35.00.00
-unspsc7#41.10.35.02.00#Fume hoods#41.10.35.00.00
-unspsc7#41.10.35.03.00#Fume cupboards#41.10.35.00.00
-unspsc7#41.10.35.04.00#Laminar flow cabinets or stations#41.10.35.00.00
-unspsc7#41.10.36.00.00#Laboratory decanting and distilling and evaporating and filtering equipment and supplies#41.10.00.00.00
-unspsc7#41.10.36.01.00#Flask or retort units#41.10.36.00.00
-unspsc7#41.10.36.02.00#Bi distillation units#41.10.36.00.00
-unspsc7#41.10.36.03.00#Evaporators#41.10.36.00.00
-unspsc7#41.10.36.04.00#Vacuum evaporators#41.10.36.00.00
-unspsc7#41.10.36.05.00#Extracting equipment#41.10.36.00.00
-unspsc7#41.10.36.06.00#Line filters#41.10.36.00.00
-unspsc7#41.10.36.07.00#Gel filtration equipment#41.10.36.00.00
-unspsc7#41.10.36.08.00#Ultra filtration equipment#41.10.36.00.00
-unspsc7#41.10.36.09.00#Sintered cell filters#41.10.36.00.00
-unspsc7#41.10.36.10.00#Thin channel filtration equipment#41.10.36.00.00
-unspsc7#41.10.36.11.00#Reverse osmosis filtration equipment#41.10.36.00.00
-unspsc7#41.10.36.12.00#Molecular filtration equipment#41.10.36.00.00
-unspsc7#41.10.36.13.00#Cartridge element filters#41.10.36.00.00
-unspsc7#41.10.36.14.00#Filter holders or cyclones#41.10.36.00.00
-unspsc7#41.10.36.15.00#Multi sheet or press or filter#41.10.36.00.00
-unspsc7#41.10.36.16.00#Air filtration systems#41.10.36.00.00
-unspsc7#41.10.36.17.00#Hepa filters#41.10.36.00.00
-unspsc7#41.10.36.18.00#Fluid presses filter#41.10.36.00.00
-unspsc7#41.10.36.19.00#Sedimentological analyzing unit#41.10.36.00.00
-unspsc7#41.10.36.20.00#Laboratory separators#41.10.36.00.00
-unspsc7#41.10.36.21.00#Laboratory sifting equipment#41.10.36.00.00
-unspsc7#41.10.36.22.00#Test sieves#41.10.36.00.00
-unspsc7#41.10.36.23.00#Laboratory scrubbers#41.10.36.00.00
-unspsc7#41.10.36.24.00#Titration equipment#41.10.36.00.00
-unspsc7#41.10.36.25.00#Laboratory diluters#41.10.36.00.00
-unspsc7#41.10.36.26.00#Fractionation apparatus#41.10.36.00.00
-unspsc7#41.10.36.27.00#Distillation pipings or columns or fittings#41.10.36.00.00
-unspsc7#41.10.36.28.00#Reflux components#41.10.36.00.00
-unspsc7#41.10.36.29.00#Heat exchange condensers#41.10.36.00.00
-unspsc7#41.10.37.00.00#Laboratory baths#41.10.00.00.00
-unspsc7#41.10.37.01.00#Circulating baths#41.10.37.00.00
-unspsc7#41.10.37.02.00#Thermostatic baths#41.10.37.00.00
-unspsc7#41.10.37.03.00#Multiple baths#41.10.37.00.00
-unspsc7#41.10.37.04.00#Biological baths#41.10.37.00.00
-unspsc7#41.10.37.05.00#Organ baths#41.10.37.00.00
-unspsc7#41.10.37.06.00#Water baths#41.10.37.00.00
-unspsc7#41.10.37.07.00#Oil baths#41.10.37.00.00
-unspsc7#41.10.37.08.00#Sand baths#41.10.37.00.00
-unspsc7#41.10.37.09.00#Refrigerated baths#41.10.37.00.00
-unspsc7#41.11.00.00.00#Measuring and observing and testing instruments#41.00.00.00.00
-unspsc7#41.11.15.00.00#Weight measuring instruments#41.11.00.00.00
-unspsc7#41.11.15.01.00#Electronic toploading balances#41.11.15.00.00
-unspsc7#41.11.15.02.00#Laboratory balances#41.11.15.00.00
-unspsc7#41.11.15.03.00#Mechanical balances#41.11.15.00.00
-unspsc7#41.11.15.04.00#Pull spring balances#41.11.15.00.00
-unspsc7#41.11.15.05.00#Calibration weights or weight sets#41.11.15.00.00
-unspsc7#41.11.15.06.00#Animal weighing scales#41.11.15.00.00
-unspsc7#41.11.15.07.00#Bench scales#41.11.15.00.00
-unspsc7#41.11.15.08.00#Bodyweight measuring scales#41.11.15.00.00
-unspsc7#41.11.15.09.00#Floor or platform scales#41.11.15.00.00
-unspsc7#41.11.15.10.00#Postal scales#41.11.15.00.00
-unspsc7#41.11.15.11.00#Truck or rail scales#41.11.15.00.00
-unspsc7#41.11.16.00.00#Length and thickness and distance measuring instruments#41.11.00.00.00
-unspsc7#41.11.16.01.00#Micrometers#41.11.16.00.00
-unspsc7#41.11.16.02.00#Pedometers#41.11.16.00.00
-unspsc7#41.11.16.03.00#Rangefinders#41.11.16.00.00
-unspsc7#41.11.16.04.00#Rulers#41.11.16.00.00
-unspsc7#41.11.16.05.00#Strain gauges#41.11.16.00.00
-unspsc7#41.11.16.06.00#Tellurometers#41.11.16.00.00
-unspsc7#41.11.16.07.00#Thread counters or gauges#41.11.16.00.00
-unspsc7#41.11.16.08.00#Calipers#41.11.16.00.00
-unspsc7#41.11.16.13.00#Distance meters#41.11.16.00.00
-unspsc7#41.11.16.14.00#Height gauges#41.11.16.00.00
-unspsc7#41.11.16.15.00#Laser measuring systems#41.11.16.00.00
-unspsc7#41.11.16.16.00#Measuring wheels for distance#41.11.16.00.00
-unspsc7#41.11.16.17.00#Feeler gauges#41.11.16.00.00
-unspsc7#41.11.16.18.00#Gage block set#41.11.16.00.00
-unspsc7#41.11.16.19.00#Go or no go gauge#41.11.16.00.00
-unspsc7#41.11.16.20.00#Etalon wedge#41.11.16.00.00
-unspsc7#41.11.17.00.00#Viewing and observing instruments and accessories#41.11.00.00.00
-unspsc7#41.11.17.01.00#Ion microscopes#41.11.17.00.00
-unspsc7#41.11.17.02.00#Monocular microscopes#41.11.17.00.00
-unspsc7#41.11.17.03.00#Stereo microscopes#41.11.17.00.00
-unspsc7#41.11.17.04.00#Illuminators for microscopes#41.11.17.00.00
-unspsc7#41.11.17.05.00#Objectives for microscopes#41.11.17.00.00
-unspsc7#41.11.17.06.00#Photo attachments for microscopes#41.11.17.00.00
-unspsc7#41.11.17.07.00#Profile projectors#41.11.17.00.00
-unspsc7#41.11.17.08.00#Video attachments for microscopes#41.11.17.00.00
-unspsc7#41.11.17.09.00#Binocular microscope#41.11.17.00.00
-unspsc7#41.11.17.10.00#Combination electron and light microscopes#41.11.17.00.00
-unspsc7#41.11.17.11.00#Electron microscopes#41.11.17.00.00
-unspsc7#41.11.17.12.00#Inverted microscopes#41.11.17.00.00
-unspsc7#41.11.17.13.00#Magnifiers#41.11.17.00.00
-unspsc7#41.11.17.14.00#Loupes#41.11.17.00.00
-unspsc7#41.11.17.15.00#Telescopes#41.11.17.00.00
-unspsc7#41.11.17.16.00#Borescope inspection equipment#41.11.17.00.00
-unspsc7#41.11.17.17.00#Binoculars#41.11.17.00.00
-unspsc7#41.11.18.00.00#Non destructive examination equipment#41.11.00.00.00
-unspsc7#41.11.18.01.00#Eddy current examination equipment#41.11.18.00.00
-unspsc7#41.11.18.02.00#Liquid penetrant examination equipment#41.11.18.00.00
-unspsc7#41.11.18.03.00#Magnetic particle examination equipment#41.11.18.00.00
-unspsc7#41.11.18.04.00#Ultrasonic examination equipment#41.11.18.00.00
-unspsc7#41.11.18.05.00#CO 60 radiography examination equipment#41.11.18.00.00
-unspsc7#41.11.18.06.00#CS 137 radiography examination equipment#41.11.18.00.00
-unspsc7#41.11.18.07.00#IR 192 radiography examination equipment#41.11.18.00.00
-unspsc7#41.11.18.08.00#X ray radiography examination equipment#41.11.18.00.00
-unspsc7#41.11.19.00.00#Indicating and recording instruments#41.11.00.00.00
-unspsc7#41.11.19.01.00#Counters#41.11.19.00.00
-unspsc7#41.11.19.02.00#Electronic counters#41.11.19.00.00
-unspsc7#41.11.19.03.00#Metal detectors#41.11.19.00.00
-unspsc7#41.11.19.04.00#Electronic columns#41.11.19.00.00
-unspsc7#41.11.19.05.00#Electronic measuring probes#41.11.19.00.00
-unspsc7#41.11.19.06.00#Chart recorders#41.11.19.00.00
-unspsc7#41.11.19.07.00#Digital readout recorders#41.11.19.00.00
-unspsc7#41.11.19.08.00#Graphic recorders#41.11.19.00.00
-unspsc7#41.11.19.09.00#Magnetic tape recorders#41.11.19.00.00
-unspsc7#41.11.19.10.00#Multipen recorders#41.11.19.00.00
-unspsc7#41.11.19.11.00#Oscillographic recorders#41.11.19.00.00
-unspsc7#41.11.19.12.00#Physiological recorders#41.11.19.00.00
-unspsc7#41.11.19.13.00#Point plotting recorders#41.11.19.00.00
-unspsc7#41.11.19.14.00#Servo recorders#41.11.19.00.00
-unspsc7#41.11.19.15.00#Bi metallic sensors#41.11.19.00.00
-unspsc7#41.11.19.16.00#Non contact sensors#41.11.19.00.00
-unspsc7#41.11.19.17.00#Digital testers#41.11.19.00.00
-unspsc7#41.11.19.18.00#Gyroscopic instruments#41.11.19.00.00
-unspsc7#41.11.19.19.00#Detection apparatus for non metalic objects#41.11.19.00.00
-unspsc7#41.11.19.20.00#Coordinate measuring machines (CMM)#41.11.19.00.00
-unspsc7#41.11.19.21.00#Speed sensors#41.11.19.00.00
-unspsc7#41.11.19.22.00#Lamp failure sensor#41.11.19.00.00
-unspsc7#41.11.19.23.00#Pre ignition knock sensor#41.11.19.00.00
-unspsc7#41.11.19.24.00#Oxygen sensors#41.11.19.00.00
-unspsc7#41.11.19.25.00#Speed sensors#41.11.19.00.00
-unspsc7#41.11.19.26.00#Proximity sensors#41.11.19.00.00
-unspsc7#41.11.19.27.00#Pressure sensors#41.11.19.00.00
-unspsc7#41.11.19.28.00#Current sensors#41.11.19.00.00
-unspsc7#41.11.20.00.00#Light and wave and sound generating and measuring equipment#41.11.00.00.00
-unspsc7#41.11.20.01.00#Light absorptionmeters#41.11.20.00.00
-unspsc7#41.11.20.02.00#Acoustic testing rooms#41.11.20.00.00
-unspsc7#41.11.20.03.00#Anechoic chambers#41.11.20.00.00
-unspsc7#41.11.20.04.00#Frequency analyzers#41.11.20.00.00
-unspsc7#41.11.20.05.00#Frequency counters or timer or dividers#41.11.20.00.00
-unspsc7#41.11.20.06.00#Electrical frequency meters#41.11.20.00.00
-unspsc7#41.11.20.07.00#Interferometers#41.11.20.00.00
-unspsc7#41.11.20.08.00#Lasers#41.11.20.00.00
-unspsc7#41.11.20.09.00#Lightmeters#41.11.20.00.00
-unspsc7#41.11.20.10.00#Luxmeters#41.11.20.00.00
-unspsc7#41.11.20.11.00#Optical callibration sets#41.11.20.00.00
-unspsc7#41.11.20.12.00#Photometers#41.11.20.00.00
-unspsc7#41.11.20.13.00#Polarimeters#41.11.20.00.00
-unspsc7#41.11.20.14.00#Polariscopes#41.11.20.00.00
-unspsc7#41.11.20.15.00#Reflectometers#41.11.20.00.00
-unspsc7#41.11.20.16.00#Sonars#41.11.20.00.00
-unspsc7#41.11.20.17.00#Sonometers#41.11.20.00.00
-unspsc7#41.11.20.18.00#Sound measuring apparatus or decibel meter#41.11.20.00.00
-unspsc7#41.11.20.19.00#Spectrofluorimeters#41.11.20.00.00
-unspsc7#41.11.20.20.00#Spectrographs#41.11.20.00.00
-unspsc7#41.11.20.21.00#Spectrometers#41.11.20.00.00
-unspsc7#41.11.20.22.00#Mass spectrometers#41.11.20.00.00
-unspsc7#41.11.20.23.00#Proton spectrometers#41.11.20.00.00
-unspsc7#41.11.20.24.00#Spectrophotometers#41.11.20.00.00
-unspsc7#41.11.20.25.00#Stroboscopes#41.11.20.00.00
-unspsc7#41.11.20.26.00#Sound velocity analyzers#41.11.20.00.00
-unspsc7#41.11.20.27.00#Thickness measuring devices#41.11.20.00.00
-unspsc7#41.11.21.00.00#Transducers#41.11.00.00.00
-unspsc7#41.11.21.01.00#Piezo electric crystals#41.11.21.00.00
-unspsc7#41.11.21.02.00#Strain gauges#41.11.21.00.00
-unspsc7#41.11.21.03.00#Fiber sensors#41.11.21.00.00
-unspsc7#41.11.22.00.00#Temperature and heat measuring instruments#41.11.00.00.00
-unspsc7#41.11.22.01.00#Calorimeters#41.11.22.00.00
-unspsc7#41.11.22.02.00#Heat tracing equipment#41.11.22.00.00
-unspsc7#41.11.22.03.00#Melting point recorders#41.11.22.00.00
-unspsc7#41.11.22.04.00#Pyrometers#41.11.22.00.00
-unspsc7#41.11.22.05.00#Temperature regulators#41.11.22.00.00
-unspsc7#41.11.22.06.00#Thermocouples#41.11.22.00.00
-unspsc7#41.11.22.07.00#Thermographs#41.11.22.00.00
-unspsc7#41.11.22.09.00#Thermostats#41.11.22.00.00
-unspsc7#41.11.22.10.00#Remote reading thermometers#41.11.22.00.00
-unspsc7#41.11.22.11.00#Resistance thermometers#41.11.22.00.00
-unspsc7#41.11.22.12.00#Surface thermometers#41.11.22.00.00
-unspsc7#41.11.22.13.00#Handheld thermometer#41.11.22.00.00
-unspsc7#41.11.23.00.00#Humidity measuring instruments#41.11.00.00.00
-unspsc7#41.11.23.01.00#Hygrometers#41.11.23.00.00
-unspsc7#41.11.23.02.00#Psychrometers#41.11.23.00.00
-unspsc7#41.11.23.03.00#Temperature humidity testers#41.11.23.00.00
-unspsc7#41.11.24.00.00#Pressure measuring and control instruments#41.11.00.00.00
-unspsc7#41.11.24.01.00#Depth gauges#41.11.24.00.00
-unspsc7#41.11.24.02.00#Manostats#41.11.24.00.00
-unspsc7#41.11.24.03.00#Pressure reading indicators#41.11.24.00.00
-unspsc7#41.11.24.04.00#Pressure regulator#41.11.24.00.00
-unspsc7#41.11.24.05.00#Pressure or vacuum recorders#41.11.24.00.00
-unspsc7#41.11.24.06.00#Vacuum gauges#41.11.24.00.00
-unspsc7#41.11.24.07.00#Liquid level controls or instruments#41.11.24.00.00
-unspsc7#41.11.25.00.00#Flow measuring instruments#41.11.00.00.00
-unspsc7#41.11.25.01.00#Flowmeters#41.11.25.00.00
-unspsc7#41.11.25.02.00#Rheometers#41.11.25.00.00
-unspsc7#41.11.25.03.00#Rotameters#41.11.25.00.00
-unspsc7#41.11.25.04.00#Water meters#41.11.25.00.00
-unspsc7#41.11.25.05.00#Water meter spares#41.11.25.00.00
-unspsc7#41.11.25.06.00#Venturis#41.11.25.00.00
-unspsc7#41.11.27.00.00#Seed and feed equipment#41.11.00.00.00
-unspsc7#41.11.27.01.00#Grain analyzers#41.11.27.00.00
-unspsc7#41.11.27.02.00#Seed counters#41.11.27.00.00
-unspsc7#41.11.27.03.00#Fiber apparatus for feed sample analysis#41.11.27.00.00
-unspsc7#41.11.28.00.00#Transportation related equipment and instruments#41.11.00.00.00
-unspsc7#41.11.28.01.00#Speedometers#41.11.28.00.00
-unspsc7#41.11.28.02.00#Tachometers#41.11.28.00.00
-unspsc7#41.11.29.00.00#Navigational equipment and instruments#41.11.00.00.00
-unspsc7#41.11.29.01.00#Direction finding compasses#41.11.29.00.00
-unspsc7#41.11.29.02.00#Radio navigation instruments#41.11.29.00.00
-unspsc7#41.11.29.03.00#Sextants#41.11.29.00.00
-unspsc7#41.11.29.04.00#Complex controlling devices#41.11.29.00.00
-unspsc7#41.11.30.00.00#Chemical evaluation instruments and supplies#41.11.00.00.00
-unspsc7#41.11.30.01.00#Digital analyzer controllers#41.11.30.00.00
-unspsc7#41.11.30.02.00#Chemiluminescence or bioluminescence analyzers#41.11.30.00.00
-unspsc7#41.11.30.03.00#Electrogravimetry analyzers#41.11.30.00.00
-unspsc7#41.11.30.04.00#Flame ionization analyzers#41.11.30.00.00
-unspsc7#41.11.30.05.00#Ion analyzers#41.11.30.00.00
-unspsc7#41.11.30.06.00#Radiometry analyzers#41.11.30.00.00
-unspsc7#41.11.30.07.00#Random access analyzers#41.11.30.00.00
-unspsc7#41.11.30.08.00#Cintigraphic analyzers#41.11.30.00.00
-unspsc7#41.11.30.09.00#Thermal differential analyzers#41.11.30.00.00
-unspsc7#41.11.30.10.00#Thermo gravimetry analyzers#41.11.30.00.00
-unspsc7#41.11.30.11.00#Chromatographic detectors#41.11.30.00.00
-unspsc7#41.11.30.12.00#Chromatographic scanners#41.11.30.00.00
-unspsc7#41.11.30.13.00#Gas chromatographs#41.11.30.00.00
-unspsc7#41.11.30.14.00#Ion chromatographs#41.11.30.00.00
-unspsc7#41.11.30.15.00#Liquid chromatographs#41.11.30.00.00
-unspsc7#41.11.30.16.00#Thinlayer chromatographs#41.11.30.00.00
-unspsc7#41.11.30.18.00#High pressure liquid chromatograph chromatography#41.11.30.00.00
-unspsc7#41.11.30.19.00#High pressure thin layer chromatograph (TLC)#41.11.30.00.00
-unspsc7#41.11.30.20.00#Colorimeters#41.11.30.00.00
-unspsc7#41.11.30.21.00#Conductimetric instruments#41.11.30.00.00
-unspsc7#41.11.30.22.00#Fluorimeters#41.11.30.00.00
-unspsc7#41.11.30.23.00#Gel partition equipment#41.11.30.00.00
-unspsc7#41.11.30.24.00#Hydrometers#41.11.30.00.00
-unspsc7#41.11.30.25.00#Monochromators#41.11.30.00.00
-unspsc7#41.11.30.26.00#Nephelometers#41.11.30.00.00
-unspsc7#41.11.30.27.00#Osmometers#41.11.30.00.00
-unspsc7#41.11.30.28.00#pH meters#41.11.30.00.00
-unspsc7#41.11.30.29.00#Polarographs#41.11.30.00.00
-unspsc7#41.11.30.30.00#Radiochromatographic scanner#41.11.30.00.00
-unspsc7#41.11.30.31.00#Saccharometers#41.11.30.00.00
-unspsc7#41.11.30.32.00#Salinity meter#41.11.30.00.00
-unspsc7#41.11.30.33.00#Volumeters#41.11.30.00.00
-unspsc7#41.11.31.00.00#Gas analyzers#41.11.00.00.00
-unspsc7#41.11.31.01.00#Automotive exhaust emission analyzers#41.11.31.00.00
-unspsc7#41.11.31.02.00#Catalytic combustion analyzers#41.11.31.00.00
-unspsc7#41.11.31.03.00#Chemical absorption gas analyzers#41.11.31.00.00
-unspsc7#41.11.31.04.00#Explosimeters#41.11.31.00.00
-unspsc7#41.11.31.05.00#Hydrocarbons analyzers or detectors#41.11.31.00.00
-unspsc7#41.11.31.06.00#Infra red or ultra violet absorption analyzers#41.11.31.00.00
-unspsc7#41.11.31.07.00#Nitrogen analyzers#41.11.31.00.00
-unspsc7#41.11.31.08.00#Nitrogen oxide analyzers#41.11.31.00.00
-unspsc7#41.11.31.09.00#ORSAT equipment#41.11.31.00.00
-unspsc7#41.11.31.10.00#Oxygen gas analyzers#41.11.31.00.00
-unspsc7#41.11.31.11.00#Ozone analyzers#41.11.31.00.00
-unspsc7#41.11.31.12.00#Paramagnetic susceptibility analyzers#41.11.31.00.00
-unspsc7#41.11.31.13.00#Sulfur dioxide analyzers or detectors#41.11.31.00.00
-unspsc7#41.11.31.14.00#Thermal conductivity analyzers#41.11.31.00.00
-unspsc7#41.11.31.15.00#Radon detectors#41.11.31.00.00
-unspsc7#41.11.31.16.00#Gas detector tubes#41.11.31.00.00
-unspsc7#41.11.33.00.00#Liquid and solid analyzers#41.11.00.00.00
-unspsc7#41.11.33.01.00#Acid or base analyzers#41.11.33.00.00
-unspsc7#41.11.33.02.00#Albuminometers#41.11.33.00.00
-unspsc7#41.11.33.03.00#Amino acid analyzers#41.11.33.00.00
-unspsc7#41.11.33.04.00#Bauxite analyzers#41.11.33.00.00
-unspsc7#41.11.33.05.00#Calcium analyzers#41.11.33.00.00
-unspsc7#41.11.33.06.00#Chloride analyzers#41.11.33.00.00
-unspsc7#41.11.33.07.00#Dissolved oxygen measurement meter#41.11.33.00.00
-unspsc7#41.11.33.08.00#Electrolyte analyzers#41.11.33.00.00
-unspsc7#41.11.33.09.00#Enzyme analyzers#41.11.33.00.00
-unspsc7#41.11.33.10.00#Fatty acid analyzers#41.11.33.00.00
-unspsc7#41.11.33.11.00#Halide detector lamp#41.11.33.00.00
-unspsc7#41.11.33.12.00#Lactate analyzers#41.11.33.00.00
-unspsc7#41.11.33.13.00#Mineral oil testing instruments#41.11.33.00.00
-unspsc7#41.11.33.14.00#Oil content monitors analyzers#41.11.33.00.00
-unspsc7#41.11.33.15.00#Organic carbon analyzers#41.11.33.00.00
-unspsc7#41.11.33.16.00#Petroleum testing equipment#41.11.33.00.00
-unspsc7#41.11.33.17.00#Protein analyzers#41.11.33.00.00
-unspsc7#41.11.33.18.00#Uranium analyzers#41.11.33.00.00
-unspsc7#41.11.33.19.00#Water analyzers#41.11.33.00.00
-unspsc7#41.11.33.20.00#Lubricating oil testing kit#41.11.33.00.00
-unspsc7#41.11.33.21.00#Paint tester#41.11.33.00.00
-unspsc7#41.11.34.00.00#Nuclear evaluation instruments#41.11.00.00.00
-unspsc7#41.11.34.01.00#Alpha counters#41.11.34.00.00
-unspsc7#41.11.34.02.00#Alpha beta counters#41.11.34.00.00
-unspsc7#41.11.34.03.00#Beta counters#41.11.34.00.00
-unspsc7#41.11.34.04.00#Beta gamma counters#41.11.34.00.00
-unspsc7#41.11.34.05.00#Gamma counters#41.11.34.00.00
-unspsc7#41.11.34.06.00#KVP meters#41.11.34.00.00
-unspsc7#41.11.34.07.00#X ray microanalysers#41.11.34.00.00
-unspsc7#41.11.36.00.00#Electrical measuring and testing equipment#41.11.00.00.00
-unspsc7#41.11.36.01.00#Ammeters#41.11.36.00.00
-unspsc7#41.11.36.02.00#Phasemeters#41.11.36.00.00
-unspsc7#41.11.36.03.00#Bridges#41.11.36.00.00
-unspsc7#41.11.36.04.00#Capacitance meters#41.11.36.00.00
-unspsc7#41.11.36.05.00#Thermoanalysis derivatographs#41.11.36.00.00
-unspsc7#41.11.36.06.00#Freeze watch indicators#41.11.36.00.00
-unspsc7#41.11.36.07.00#Heat stress monitors#41.11.36.00.00
-unspsc7#41.11.36.08.00#Coincidence or anticoincidence counters#41.11.36.00.00
-unspsc7#41.11.36.09.00#Conductivity cells#41.11.36.00.00
-unspsc7#41.11.36.10.00#Conductivity meters#41.11.36.00.00
-unspsc7#41.11.36.11.00#Cross talk meters#41.11.36.00.00
-unspsc7#41.11.36.12.00#Earth resistance testers#41.11.36.00.00
-unspsc7#41.11.36.13.00#Electrical value recorders#41.11.36.00.00
-unspsc7#41.11.36.14.00#Electromagnetic field meters#41.11.36.00.00
-unspsc7#41.11.36.15.00#Electrometers#41.11.36.00.00
-unspsc7#41.11.36.16.00#Electronic loads#41.11.36.00.00
-unspsc7#41.11.36.17.00#Field strength measuring equipment#41.11.36.00.00
-unspsc7#41.11.36.18.00#Gain measuring instruments#41.11.36.00.00
-unspsc7#41.11.36.19.00#Galvanometers#41.11.36.00.00
-unspsc7#41.11.36.20.00#High voltage cable detection#41.11.36.00.00
-unspsc7#41.11.36.21.00#Impedance meters#41.11.36.00.00
-unspsc7#41.11.36.22.00#Calibrated inductance coils or boxes#41.11.36.00.00
-unspsc7#41.11.36.23.00#Insulation resistance meters#41.11.36.00.00
-unspsc7#41.11.36.24.00#Insulation testers#41.11.36.00.00
-unspsc7#41.11.36.25.00#Ionization chambers#41.11.36.00.00
-unspsc7#41.11.36.26.00#Ionmeters#41.11.36.00.00
-unspsc7#41.11.36.27.00#Line earth loop testers#41.11.36.00.00
-unspsc7#41.11.36.28.00#Megohmmeters#41.11.36.00.00
-unspsc7#41.11.36.29.00#Microwave leakage meters#41.11.36.00.00
-unspsc7#41.11.36.30.00#Multimeters#41.11.36.00.00
-unspsc7#41.11.36.31.00#Ohmmeters#41.11.36.00.00
-unspsc7#41.11.36.32.00#Oscillographs#41.11.36.00.00
-unspsc7#41.11.36.33.00#Potentiometers#41.11.36.00.00
-unspsc7#41.11.36.34.00#Q meters#41.11.36.00.00
-unspsc7#41.11.36.35.00#Calibrated resistance measuring equipment#41.11.36.00.00
-unspsc7#41.11.36.36.00#Level generators#41.11.36.00.00
-unspsc7#41.11.36.37.00#Voltage or current meters#41.11.36.00.00
-unspsc7#41.11.36.38.00#Oscilloscopes#41.11.36.00.00
-unspsc7#41.11.36.39.00#Accelerometers#41.11.36.00.00
-unspsc7#41.11.36.40.00#Wattmeters#41.11.36.00.00
-unspsc7#41.11.36.41.00#GFI circuit testors#41.11.36.00.00
-unspsc7#41.11.36.42.00#Circuit tester#41.11.36.00.00
-unspsc7#41.11.36.43.00#Demand meters or registers#41.11.36.00.00
-unspsc7#41.11.36.44.00#Circuit tracers#41.11.36.00.00
-unspsc7#41.11.37.00.00#Electronic and communication measuring and testing instruments#41.11.00.00.00
-unspsc7#41.11.37.01.00#Cathode ray tube tester#41.11.37.00.00
-unspsc7#41.11.37.02.00#Comparators#41.11.37.00.00
-unspsc7#41.11.37.03.00#Directional coupler#41.11.37.00.00
-unspsc7#41.11.37.04.00#Integrated circuit testers#41.11.37.00.00
-unspsc7#41.11.37.05.00#Logic state testers#41.11.37.00.00
-unspsc7#41.11.37.06.00#Semiconductor testers#41.11.37.00.00
-unspsc7#41.11.37.07.00#Transistor circuit testers#41.11.37.00.00
-unspsc7#41.11.37.08.00#Power meters#41.11.37.00.00
-unspsc7#41.11.37.09.00#Modulation meters#41.11.37.00.00
-unspsc7#41.11.37.10.00#Level meter#41.11.37.00.00
-unspsc7#41.11.37.11.00#Network analyzers#41.11.37.00.00
-unspsc7#41.11.37.12.00#Tape testers#41.11.37.00.00
-unspsc7#41.11.37.13.00#Tapespeed testers#41.11.37.00.00
-unspsc7#41.11.37.14.00#Differentiator#41.11.37.00.00
-unspsc7#41.11.38.00.00#Geophysical and geotechnical instruments#41.11.00.00.00
-unspsc7#41.11.38.01.00#Geological compasses#41.11.38.00.00
-unspsc7#41.11.38.02.00#Geological prospecting apparatus#41.11.38.00.00
-unspsc7#41.11.38.03.00#Electromagnetic geophysical instruments#41.11.38.00.00
-unspsc7#41.11.38.04.00#Gravity geophysical instruments#41.11.38.00.00
-unspsc7#41.11.38.05.00#Induced polarization (IP) geophysical instruments#41.11.38.00.00
-unspsc7#41.11.38.06.00#Magnetometer geophysical instruments#41.11.38.00.00
-unspsc7#41.11.38.07.00#Resistivity geophysical instruments#41.11.38.00.00
-unspsc7#41.11.38.08.00#Gravimeters#41.11.38.00.00
-unspsc7#41.11.39.00.00#Soil measuring equipment#41.11.00.00.00
-unspsc7#41.11.39.01.00#Bore measuring instruments#41.11.39.00.00
-unspsc7#41.11.39.02.00#Dissolution or disintegration testers#41.11.39.00.00
-unspsc7#41.11.39.03.00#Particle size measuring apparatus#41.11.39.00.00
-unspsc7#41.11.39.04.00#Penetrometers#41.11.39.00.00
-unspsc7#41.11.39.05.00#Permeability testing apparatus#41.11.39.00.00
-unspsc7#41.11.39.06.00#Permeability or porosity estimation apparatus#41.11.39.00.00
-unspsc7#41.11.39.07.00#Porosimeters#41.11.39.00.00
-unspsc7#41.11.39.08.00#Sand testing apparatus#41.11.39.00.00
-unspsc7#41.11.39.09.00#Soil core sampling apparatus#41.11.39.00.00
-unspsc7#41.11.39.10.00#Soil testing kits#41.11.39.00.00
-unspsc7#41.11.40.00.00#Rock and strata measuring equipment#41.11.00.00.00
-unspsc7#41.11.40.01.00#Clinometers#41.11.40.00.00
-unspsc7#41.11.41.00.00#Seismological instruments#41.11.00.00.00
-unspsc7#41.11.41.02.00#Earthquake simulators#41.11.41.00.00
-unspsc7#41.11.41.03.00#Seismic alarm modules#41.11.41.00.00
-unspsc7#41.11.41.04.00#Seismic amplifiers#41.11.41.00.00
-unspsc7#41.11.41.05.00#Portable seismic apparatus#41.11.41.00.00
-unspsc7#41.11.41.06.00#Seismic recorders or seismographs#41.11.41.00.00
-unspsc7#41.11.41.07.00#Seismometers#41.11.41.00.00
-unspsc7#41.11.41.08.00#Vibrometers#41.11.41.00.00
-unspsc7#41.11.42.00.00#Land surveying instruments#41.11.00.00.00
-unspsc7#41.11.42.01.00#Measuring tapes#41.11.42.00.00
-unspsc7#41.11.42.02.00#Measuring rods#41.11.42.00.00
-unspsc7#41.11.42.03.00#Measuring tables#41.11.42.00.00
-unspsc7#41.11.42.04.00#Theodolites#41.11.42.00.00
-unspsc7#41.11.42.05.00#Location stake#41.11.42.00.00
-unspsc7#41.11.42.06.00#Location hub#41.11.42.00.00
-unspsc7#41.11.43.00.00#Hydrological instruments#41.11.00.00.00
-unspsc7#41.11.43.01.00#Open stream current meters#41.11.43.00.00
-unspsc7#41.11.43.02.00#Logging instruments for water wells#41.11.43.00.00
-unspsc7#41.11.43.03.00#Open stream water level recorders#41.11.43.00.00
-unspsc7#41.11.44.00.00#Meteorological instruments#41.11.00.00.00
-unspsc7#41.11.44.01.00#Anemometers#41.11.44.00.00
-unspsc7#41.11.44.02.00#Barometers#41.11.44.00.00
-unspsc7#41.11.44.03.00#Precipitation or evaporation recorders#41.11.44.00.00
-unspsc7#41.11.44.04.00#Radiosonde apparatus#41.11.44.00.00
-unspsc7#41.11.44.05.00#Rainfall recorders#41.11.44.00.00
-unspsc7#41.11.44.06.00#Precipitation or evaporation surface observing apparatus#41.11.44.00.00
-unspsc7#41.11.44.07.00#Solar radiation surface observing apparatus#41.11.44.00.00
-unspsc7#41.11.44.08.00#Temperature or humidity surface observing apparatus#41.11.44.00.00
-unspsc7#41.11.44.09.00#Wind surface observing apparatus#41.11.44.00.00
-unspsc7#41.11.44.10.00#Weather stations#41.11.44.00.00
-unspsc7#41.11.44.11.00#Meteorology instrument accessories#41.11.44.00.00
-unspsc7#41.11.45.00.00#Mechanical instruments#41.11.00.00.00
-unspsc7#41.11.45.01.00#Dynamometers#41.11.45.00.00
-unspsc7#41.11.45.02.00#Elastometers#41.11.45.00.00
-unspsc7#41.11.45.03.00#Extensometers#41.11.45.00.00
-unspsc7#41.11.45.04.00#Pitch measuring instruments#41.11.45.00.00
-unspsc7#41.11.45.05.00#Roundness testing instruments#41.11.45.00.00
-unspsc7#41.11.45.06.00#Spherometers#41.11.45.00.00
-unspsc7#41.11.45.07.00#Spring testing machines#41.11.45.00.00
-unspsc7#41.11.45.08.00#Surface testers#41.11.45.00.00
-unspsc7#41.11.45.09.00#Tensiometers#41.11.45.00.00
-unspsc7#41.11.45.10.00#Torque limiter#41.11.45.00.00
-unspsc7#41.11.46.00.00#Metals and metallurgy and structural materials testing instruments#41.11.00.00.00
-unspsc7#41.11.46.01.00#Abrasion testers#41.11.46.00.00
-unspsc7#41.11.46.02.00#Compression testers#41.11.46.00.00
-unspsc7#41.11.46.03.00#Concrete or cement testing instruments#41.11.46.00.00
-unspsc7#41.11.46.04.00#Corrosion testers#41.11.46.00.00
-unspsc7#41.11.46.05.00#Crack or corrosion detectors#41.11.46.00.00
-unspsc7#41.11.46.06.00#Creep testers#41.11.46.00.00
-unspsc7#41.11.46.07.00#Ductility testing machines#41.11.46.00.00
-unspsc7#41.11.46.08.00#Fatigue testers#41.11.46.00.00
-unspsc7#41.11.46.09.00#Forging testing apparatus#41.11.46.00.00
-unspsc7#41.11.46.10.00#Foundry testing apparatus#41.11.46.00.00
-unspsc7#41.11.46.11.00#Hardness testers#41.11.46.00.00
-unspsc7#41.11.46.12.00#Impact testers#41.11.46.00.00
-unspsc7#41.11.46.13.00#Load frame#41.11.46.00.00
-unspsc7#41.11.46.14.00#Metal testing instruments#41.11.46.00.00
-unspsc7#41.11.46.15.00#Photoelastic testing instruments#41.11.46.00.00
-unspsc7#41.11.46.16.00#Proofstress indicators#41.11.46.00.00
-unspsc7#41.11.46.17.00#Relaxation testers#41.11.46.00.00
-unspsc7#41.11.46.18.00#Roughness measuring instruments#41.11.46.00.00
-unspsc7#41.11.46.19.00#Shear strength testers#41.11.46.00.00
-unspsc7#41.11.46.20.00#Shock testing apparatus#41.11.46.00.00
-unspsc7#41.11.46.21.00#Tension testers#41.11.46.00.00
-unspsc7#41.11.46.22.00#Torsion testers#41.11.46.00.00
-unspsc7#41.11.46.23.00#Flexure or transverse testing machines#41.11.46.00.00
-unspsc7#41.11.46.24.00#Vibration testers#41.11.46.00.00
-unspsc7#41.11.46.25.00#Wear testers#41.11.46.00.00
-unspsc7#41.11.46.26.00#Welding testing apparatus#41.11.46.00.00
-unspsc7#41.11.47.00.00#Paper and wood and textile testing instruments#41.11.00.00.00
-unspsc7#41.11.47.01.00#Cardboard testing instruments#41.11.47.00.00
-unspsc7#41.11.47.02.00#Textiles fastness testers#41.11.47.00.00
-unspsc7#41.11.47.03.00#Leather testing instruments#41.11.47.00.00
-unspsc7#41.11.47.04.00#Paper testing instruments#41.11.47.00.00
-unspsc7#41.11.47.05.00#Textile testing instruments#41.11.47.00.00
-unspsc7#41.11.47.06.00#Wood testing instruments#41.11.47.00.00
-unspsc7#41.11.48.00.00#Ceramics and glass testing instruments#41.11.00.00.00
-unspsc7#41.11.48.01.00#Ceramics testing instruments#41.11.48.00.00
-unspsc7#41.11.48.02.00#Glass testing instruments#41.11.48.00.00
-unspsc7#41.11.48.03.00#Pottery testing instruments#41.11.48.00.00
-unspsc7#41.11.51.00.00#Coal and ore testing instruments#41.11.00.00.00
-unspsc7#41.11.51.01.00#Coal testing instruments#41.11.51.00.00
-unspsc7#41.11.52.00.00#Radar and sonar systems and components#41.11.00.00.00
-unspsc7#41.11.52.01.00#Radarbased surveillance systems#41.11.52.00.00
-unspsc7#41.11.52.02.00#Feed horns#41.11.52.00.00
-unspsc7#42.00.00.00.00#Medical Equipment and Accessories and Supplies#42.00.00.00.00
-unspsc7#42.10.00.00.00#Hospital and medical and dental equipment#42.00.00.00.00
-unspsc7#42.10.15.00.00#Anesthesia equipment and instruments and accessories#42.10.00.00.00
-unspsc7#42.10.15.02.00#Healthcare gas machines#42.10.15.00.00
-unspsc7#42.10.15.03.00#Anesthesia machines#42.10.15.00.00
-unspsc7#42.10.15.04.00#Regional anaesthesia kits or needles#42.10.15.00.00
-unspsc7#42.10.16.00.00#Medical equipment and instruments#42.10.00.00.00
-unspsc7#42.10.16.01.00#Medical thermometers#42.10.16.00.00
-unspsc7#42.10.16.02.00#Speculums#42.10.16.00.00
-unspsc7#42.10.16.03.00#Otoscopes#42.10.16.00.00
-unspsc7#42.10.16.04.00#Audiometers or tympanometers#42.10.16.00.00
-unspsc7#42.10.16.05.00#Stethoscopes#42.10.16.00.00
-unspsc7#42.10.16.06.00#Ergonometers#42.10.16.00.00
-unspsc7#42.10.16.07.00#Electro therapy apparatus#42.10.16.00.00
-unspsc7#42.10.16.08.00#Photo therapy apparatus#42.10.16.00.00
-unspsc7#42.10.16.09.00#Hydrotherapy supplies or accessories#42.10.16.00.00
-unspsc7#42.10.16.10.00#Acupuncture units#42.10.16.00.00
-unspsc7#42.10.16.11.00#Stethographs#42.10.16.00.00
-unspsc7#42.10.16.12.00#Medical pumps#42.10.16.00.00
-unspsc7#42.10.16.13.00#Medical valves#42.10.16.00.00
-unspsc7#42.10.16.14.00#Endoscopes#42.10.16.00.00
-unspsc7#42.10.17.00.00#Medical testing and analyzing and diagnostic equipment#42.10.00.00.00
-unspsc7#42.10.17.01.00#Skin test strips#42.10.17.00.00
-unspsc7#42.10.17.02.00#Blood analyzers#42.10.17.00.00
-unspsc7#42.10.17.03.00#Blood cell counters#42.10.17.00.00
-unspsc7#42.10.17.04.00#Haemoglobinometers#42.10.17.00.00
-unspsc7#42.10.17.05.00#Bilirubin meters#42.10.17.00.00
-unspsc7#42.10.17.06.00#Haemacytometers#42.10.17.00.00
-unspsc7#42.10.17.07.00#Colony counters#42.10.17.00.00
-unspsc7#42.10.17.08.00#Ferritin test kits#42.10.17.00.00
-unspsc7#42.10.17.09.00#Enzyme linked immunosorbent assay (ELISA) test kit#42.10.17.00.00
-unspsc7#42.10.17.10.00#Human immune deficiency (HIV) test kits#42.10.17.00.00
-unspsc7#42.10.17.11.00#Syfacard syphilis tests#42.10.17.00.00
-unspsc7#42.10.17.12.00#Pregnancy test kits#42.10.17.00.00
-unspsc7#42.10.17.13.00#Radio immunoassay (RIA) test kits#42.10.17.00.00
-unspsc7#42.10.17.14.00#Polio case investigation kit#42.10.17.00.00
-unspsc7#42.10.17.15.00#Urine blood test strips#42.10.17.00.00
-unspsc7#42.10.17.16.00#Cell size analyzers#42.10.17.00.00
-unspsc7#42.10.17.17.00#Whole body counters#42.10.17.00.00
-unspsc7#42.10.17.18.00#Biomedical counters#42.10.17.00.00
-unspsc7#42.10.17.19.00#Medical multiprobe system counters#42.10.17.00.00
-unspsc7#42.10.17.20.00#Allergy or diagnostic kits#42.10.17.00.00
-unspsc7#42.10.17.21.00#Urinary test set#42.10.17.00.00
-unspsc7#42.10.17.22.00#Differential cell counters#42.10.17.00.00
-unspsc7#42.10.17.23.00#Plasma viscosity measurement#42.10.17.00.00
-unspsc7#42.10.17.24.00#Platelet analysis#42.10.17.00.00
-unspsc7#42.10.17.25.00#Blood glucose meters#42.10.17.00.00
-unspsc7#42.10.17.26.00#Hemoculture tests#42.10.17.00.00
-unspsc7#42.10.17.27.00#Bodyfat analysers#42.10.17.00.00
-unspsc7#42.10.17.28.00#Sample collection systems#42.10.17.00.00
-unspsc7#42.10.18.00.00#X ray and alpha and beta and gamma radiation apparatus#42.10.00.00.00
-unspsc7#42.10.18.01.00#Diagnostic x ray equipment#42.10.18.00.00
-unspsc7#42.10.18.02.00#Radiotherapy simulator#42.10.18.00.00
-unspsc7#42.10.18.03.00#Calibration equipment#42.10.18.00.00
-unspsc7#42.10.18.04.00#Biomedical research support units#42.10.18.00.00
-unspsc7#42.10.18.05.00#Computed tomography (CT) scanners#42.10.18.00.00
-unspsc7#42.10.18.06.00#Water phantoms#42.10.18.00.00
-unspsc7#42.10.18.07.00#Radiobiological instruments#42.10.18.00.00
-unspsc7#42.10.18.08.00#Gamma scintillators#42.10.18.00.00
-unspsc7#42.10.18.09.00#Gamma cameras#42.10.18.00.00
-unspsc7#42.10.18.10.00#Linear accelerators#42.10.18.00.00
-unspsc7#42.10.18.11.00#Radiotherapy brachytherapy equipment#42.10.18.00.00
-unspsc7#42.10.18.12.00#Radiotherapy teletherapy cobalt 60 machine#42.10.18.00.00
-unspsc7#42.10.18.13.00#Radiotherapy teletherapy superficial x ray machine#42.10.18.00.00
-unspsc7#42.10.18.14.00#Radiotherapy teletherapy orthovoltage x ray machine#42.10.18.00.00
-unspsc7#42.10.18.15.00#Radiotherapy teletherapy linear accelerators#42.10.18.00.00
-unspsc7#42.10.18.16.00#Radioisotope scanners for medical purposes#42.10.18.00.00
-unspsc7#42.10.18.17.00#Dental x ray units#42.10.18.00.00
-unspsc7#42.10.18.18.00#Angiography supplies#42.10.18.00.00
-unspsc7#42.10.18.19.00#Angiography devices#42.10.18.00.00
-unspsc7#42.10.18.20.00#Angioplasty supplies#42.10.18.00.00
-unspsc7#42.10.18.21.00#Angioplasty devices#42.10.18.00.00
-unspsc7#42.10.19.00.00#Oxygen therapy equipment#42.10.00.00.00
-unspsc7#42.10.19.01.00#Inhalation equipment#42.10.19.00.00
-unspsc7#42.10.19.02.00#Medical humidifiers#42.10.19.00.00
-unspsc7#42.10.19.03.00#Resuscitators or respirators#42.10.19.00.00
-unspsc7#42.10.19.04.00#Aspirators#42.10.19.00.00
-unspsc7#42.10.19.05.00#Insufflators#42.10.19.00.00
-unspsc7#42.10.19.06.00#Resuscitation emergency outfits#42.10.19.00.00
-unspsc7#42.10.19.07.00#Nebulizers#42.10.19.00.00
-unspsc7#42.10.19.08.00#Aerosol therapy apparatus#42.10.19.00.00
-unspsc7#42.10.19.09.00#Medical ventilation systems#42.10.19.00.00
-unspsc7#42.10.19.10.00#Masks or breathing bags#42.10.19.00.00
-unspsc7#42.10.19.11.00#Heart lung apparatus#42.10.19.00.00
-unspsc7#42.10.19.12.00#Breathing device with hygienic barrier#42.10.19.00.00
-unspsc7#42.10.19.13.00#Oxygen masks#42.10.19.00.00
-unspsc7#42.10.19.14.00#Mobile suction unit#42.10.19.00.00
-unspsc7#42.10.19.15.00#Hyperbaric treatment chamber#42.10.19.00.00
-unspsc7#42.10.19.16.00#Oxygenators#42.10.19.00.00
-unspsc7#42.10.19.17.00#Air oxygen units#42.10.19.00.00
-unspsc7#42.10.20.00.00#Medical and surgical and laboratory sterilizers#42.10.00.00.00
-unspsc7#42.10.20.01.00#Autoclaves#42.10.20.00.00
-unspsc7#42.10.20.02.00#Steam sterilizers#42.10.20.00.00
-unspsc7#42.10.20.03.00#Boiling disinfectors#42.10.20.00.00
-unspsc7#42.10.20.04.00#Hot air sterilizers#42.10.20.00.00
-unspsc7#42.10.20.05.00#Chemical sterilizers#42.10.20.00.00
-unspsc7#42.10.20.06.00#Laboratory sterilizers#42.10.20.00.00
-unspsc7#42.10.20.07.00#Sterilization ovens#42.10.20.00.00
-unspsc7#42.10.20.08.00#Germicidal lamps#42.10.20.00.00
-unspsc7#42.10.20.09.00#Sterilizing lamps#42.10.20.00.00
-unspsc7#42.10.20.10.00#Decontamination washing equipment#42.10.20.00.00
-unspsc7#42.10.21.00.00#Surgical sets and instruments#42.10.00.00.00
-unspsc7#42.10.21.01.00#Cryo surgery equipment#42.10.21.00.00
-unspsc7#42.10.21.02.00#Autopsy instruments#42.10.21.00.00
-unspsc7#42.10.21.03.00#Suction units or parts#42.10.21.00.00
-unspsc7#42.10.21.04.00#Surgical lasers#42.10.21.00.00
-unspsc7#42.10.21.05.00#Electro cautery surgical equipment#42.10.21.00.00
-unspsc7#42.10.21.06.00#Ear or nose or throat (ENT) surgery instruments#42.10.21.00.00
-unspsc7#42.10.21.07.00#Gynecological surgery instruments#42.10.21.00.00
-unspsc7#42.10.21.08.00#Cardiology surgery instruments#42.10.21.00.00
-unspsc7#42.10.21.09.00#Micro surgery instruments#42.10.21.00.00
-unspsc7#42.10.21.10.00#Orthopedic surgery instruments#42.10.21.00.00
-unspsc7#42.10.21.11.00#Suture clips#42.10.21.00.00
-unspsc7#42.10.21.12.00#Dissecting instruments#42.10.21.00.00
-unspsc7#42.10.21.13.00#Dissecting pins#42.10.21.00.00
-unspsc7#42.10.21.14.00#Implant systems#42.10.21.00.00
-unspsc7#42.10.21.15.00#Blood lancets#42.10.21.00.00
-unspsc7#42.10.21.16.00#Scalpels#42.10.21.00.00
-unspsc7#42.10.21.17.00#Surgical blades#42.10.21.00.00
-unspsc7#42.10.21.18.00#Cranioclasts#42.10.21.00.00
-unspsc7#42.10.21.19.00#Surgical scissors#42.10.21.00.00
-unspsc7#42.10.21.20.00#Surgical shears#42.10.21.00.00
-unspsc7#42.10.21.21.00#Surgical drills#42.10.21.00.00
-unspsc7#42.10.21.22.00#Surgical wire saws#42.10.21.00.00
-unspsc7#42.10.21.23.00#Surgical perforators#42.10.21.00.00
-unspsc7#42.10.21.24.00#Curettes#42.10.21.00.00
-unspsc7#42.10.21.25.00#Surgical clamps#42.10.21.00.00
-unspsc7#42.10.21.26.00#Surgical instrument holders#42.10.21.00.00
-unspsc7#42.10.21.27.00#Surgical elevators#42.10.21.00.00
-unspsc7#42.10.21.28.00#Raspatory instruments#42.10.21.00.00
-unspsc7#42.10.21.29.00#Forceps#42.10.21.00.00
-unspsc7#42.10.21.30.00#Surgical retractors#42.10.21.00.00
-unspsc7#42.10.21.31.00#Surgical spreaders#42.10.21.00.00
-unspsc7#42.10.21.32.00#Uterine sound instruments#42.10.21.00.00
-unspsc7#42.10.21.33.00#Dilators#42.10.21.00.00
-unspsc7#42.10.21.34.00#Surgical dishes or pots#42.10.21.00.00
-unspsc7#42.10.21.35.00#Surgical probes#42.10.21.00.00
-unspsc7#42.10.21.36.00#Surgical mallets#42.10.21.00.00
-unspsc7#42.10.21.37.00#Decapitation hooks#42.10.21.00.00
-unspsc7#42.10.21.38.00#Sutures#42.10.21.00.00
-unspsc7#42.10.21.39.00#Catgut chromic sutures#42.10.21.00.00
-unspsc7#42.10.21.40.00#Laryngoscopes#42.10.21.00.00
-unspsc7#42.10.21.41.00#Surgical shaving kits#42.10.21.00.00
-unspsc7#42.10.22.00.00#Rehabilitation equipment and accessories#42.10.00.00.00
-unspsc7#42.10.22.01.00#Splints#42.10.22.00.00
-unspsc7#42.10.22.02.00#Psychological aptitude testing apparatus#42.10.22.00.00
-unspsc7#42.10.22.03.00#Massage apparatus#42.10.22.00.00
-unspsc7#42.10.22.04.00#Traction pulleys or belts or weights#42.10.22.00.00
-unspsc7#42.10.22.05.00#Physical therapy rehabilitation equipment or accessories#42.10.22.00.00
-unspsc7#42.10.22.06.00#Overbed frames#42.10.22.00.00
-unspsc7#42.10.22.07.00#Rehabilitation stimulators#42.10.22.00.00
-unspsc7#42.10.22.08.00#Patient lifters#42.10.22.00.00
-unspsc7#42.10.22.09.00#Short wave diathermy equipment#42.10.22.00.00
-unspsc7#42.10.22.10.00#Moist heat therapy equipment#42.10.22.00.00
-unspsc7#42.10.22.11.00#Heat or cold packs#42.10.22.00.00
-unspsc7#42.10.22.12.00#Physiological equipment#42.10.22.00.00
-unspsc7#42.10.22.13.00#Stimulators#42.10.22.00.00
-unspsc7#42.10.22.14.00#Rehabilitation supplies for the blind#42.10.22.00.00
-unspsc7#42.10.22.15.00#Electromyograph#42.10.22.00.00
-unspsc7#42.10.22.16.00#Rehabilitation supplies for speech handicapped#42.10.22.00.00
-unspsc7#42.10.22.17.00#Electro sleep apparatus#42.10.22.00.00
-unspsc7#42.10.22.18.00#Visual exercise training aids#42.10.22.00.00
-unspsc7#42.10.22.19.00#Orthopedic cushions#42.10.22.00.00
-unspsc7#42.10.23.00.00#Ophthalmology instruments and appliances#42.10.00.00.00
-unspsc7#42.10.23.01.00#Opthalmological punches#42.10.23.00.00
-unspsc7#42.10.23.02.00#Photocoagulators#42.10.23.00.00
-unspsc7#42.10.23.03.00#Slit lamps#42.10.23.00.00
-unspsc7#42.10.23.04.00#Perimeters#42.10.23.00.00
-unspsc7#42.10.23.05.00#Tonometers#42.10.23.00.00
-unspsc7#42.10.23.06.00#Retinometers#42.10.23.00.00
-unspsc7#42.10.23.07.00#Eyewashers#42.10.23.00.00
-unspsc7#42.10.23.08.00#Ophthalmometers#42.10.23.00.00
-unspsc7#42.10.23.09.00#Ophthalmoscopes#42.10.23.00.00
-unspsc7#42.10.23.10.00#Emergency eye care equipment#42.10.23.00.00
-unspsc7#42.10.23.11.00#Keratometers#42.10.23.00.00
-unspsc7#42.10.23.12.00#Vision testers#42.10.23.00.00
-unspsc7#42.10.23.13.00#Synotoscopes#42.10.23.00.00
-unspsc7#42.10.23.14.00#Ophthalmic operation instruments#42.10.23.00.00
-unspsc7#42.10.24.00.00#Gynecological and obstetrical instruments#42.10.00.00.00
-unspsc7#42.10.24.01.00#Intra uterine device (IUD) insertion kits#42.10.24.00.00
-unspsc7#42.10.24.02.00#Tubal ligation kits#42.10.24.00.00
-unspsc7#42.10.24.03.00#Vasectomy kits#42.10.24.00.00
-unspsc7#42.10.24.04.00#Laparoscopic equipment#42.10.24.00.00
-unspsc7#42.10.24.05.00#Silastic bands#42.10.24.00.00
-unspsc7#42.10.24.06.00#Menstruation regulation kits#42.10.24.00.00
-unspsc7#42.10.24.07.00#Spermokinesemeter#42.10.24.00.00
-unspsc7#42.10.24.08.00#Uterine or gynecological tests#42.10.24.00.00
-unspsc7#42.10.24.09.00#Obstetrical retractors#42.10.24.00.00
-unspsc7#42.10.24.10.00#Umbilical tapes#42.10.24.00.00
-unspsc7#42.10.24.11.00#Breast pumps or accessories#42.10.24.00.00
-unspsc7#42.10.24.12.00#Midwife equipment or kits#42.10.24.00.00
-unspsc7#42.10.24.13.00#Hysteroscopic equipment#42.10.24.00.00
-unspsc7#42.10.24.14.00#Vaginoscope#42.10.24.00.00
-unspsc7#42.10.24.15.00#Urethroscope cysterscope#42.10.24.00.00
-unspsc7#42.10.24.16.00#Umbilical cord clamps#42.10.24.00.00
-unspsc7#42.10.24.17.00#Vacuum extractors#42.10.24.00.00
-unspsc7#42.10.24.18.00#In vitro fertilization equipment or supplies#42.10.24.00.00
-unspsc7#42.10.24.19.00#Endometrial biopsy equipment#42.10.24.00.00
-unspsc7#42.10.24.20.00#Intrauterine insemination catheters#42.10.24.00.00
-unspsc7#42.10.24.21.00#Pelvimeters#42.10.24.00.00
-unspsc7#42.10.25.00.00#Fiber optic examination instruments#42.10.00.00.00
-unspsc7#42.10.25.01.00#Light sources#42.10.25.00.00
-unspsc7#42.10.25.02.00#Endoscopy equipment#42.10.25.00.00
-unspsc7#42.10.25.03.00#Protoscopes#42.10.25.00.00
-unspsc7#42.10.25.04.00#Culdoscopes#42.10.25.00.00
-unspsc7#42.10.25.05.00#Gastroscopes#42.10.25.00.00
-unspsc7#42.10.25.06.00#Esophagoscope#42.10.25.00.00
-unspsc7#42.10.25.07.00#Sigmoidoscope#42.10.25.00.00
-unspsc7#42.10.25.08.00#Bronchoscope#42.10.25.00.00
-unspsc7#42.10.25.09.00#Colonoscope#42.10.25.00.00
-unspsc7#42.10.25.10.00#Arthroscope#42.10.25.00.00
-unspsc7#42.10.26.00.00#Electro diagnostic apparatus#42.10.00.00.00
-unspsc7#42.10.26.01.00#Electrocardiographs (ECGs)#42.10.26.00.00
-unspsc7#42.10.26.02.00#Cardioscopes#42.10.26.00.00
-unspsc7#42.10.26.03.00#Stereotactic systems#42.10.26.00.00
-unspsc7#42.10.26.04.00#Achillean reflexometer#42.10.26.00.00
-unspsc7#42.10.26.05.00#Thesiometer#42.10.26.00.00
-unspsc7#42.10.26.06.00#Pneumotachographs#42.10.26.00.00
-unspsc7#42.10.26.07.00#Biovideographs#42.10.26.00.00
-unspsc7#42.10.26.08.00#Physiological levers#42.10.26.00.00
-unspsc7#42.10.26.09.00#Nerve chamber equipment#42.10.26.00.00
-unspsc7#42.10.26.10.00#Ultrasonic diagnostic equipment#42.10.26.00.00
-unspsc7#42.10.26.11.00#Ultrasound scanners#42.10.26.00.00
-unspsc7#42.10.26.12.00#Doppler ultrasound equipment#42.10.26.00.00
-unspsc7#42.10.26.13.00#Ultrasonic surgery equipment or ultrasonic aspiration#42.10.26.00.00
-unspsc7#42.10.26.14.00#Ultrasound physiotherapy equipment#42.10.26.00.00
-unspsc7#42.10.26.15.00#Cardio sonars#42.10.26.00.00
-unspsc7#42.10.26.16.00#Short wave medical apparatus#42.10.26.00.00
-unspsc7#42.10.26.17.00#Blood pressure measuring equipment#42.10.26.00.00
-unspsc7#42.10.26.18.00#Electroencephalographs (EEGs)#42.10.26.00.00
-unspsc7#42.10.26.19.00#Spirometers#42.10.26.00.00
-unspsc7#42.10.26.20.00#Gynecological diagnostic equipment#42.10.26.00.00
-unspsc7#42.10.26.21.00#Colposcopes#42.10.26.00.00
-unspsc7#42.10.26.22.00#Amnioscopes#42.10.26.00.00
-unspsc7#42.10.26.23.00#Fetal monitors#42.10.26.00.00
-unspsc7#42.10.26.24.00#Delivery monitors#42.10.26.00.00
-unspsc7#42.10.26.25.00#Neonatal monitors#42.10.26.00.00
-unspsc7#42.10.26.26.00#Heart monitor systems#42.10.26.00.00
-unspsc7#42.10.26.27.00#Intensive care monitors#42.10.26.00.00
-unspsc7#42.10.26.28.00#Electromedical testing equipment#42.10.26.00.00
-unspsc7#42.10.26.29.00#Defibrillator tester#42.10.26.00.00
-unspsc7#42.10.26.30.00#Audiometer calibration tester#42.10.26.00.00
-unspsc7#42.10.26.31.00#Electrode or electromedical tester#42.10.26.00.00
-unspsc7#42.10.26.32.00#Ventilator test meters#42.10.26.00.00
-unspsc7#42.10.26.33.00#ECG patient simulators#42.10.26.00.00
-unspsc7#42.10.26.34.00#Electrosurgical analyzers#42.10.26.00.00
-unspsc7#42.10.26.35.00#Electromedical safety analyzers#42.10.26.00.00
-unspsc7#42.10.26.36.00#Electromedical test systems#42.10.26.00.00
-unspsc7#42.10.26.37.00#Electronic pulse monitors#42.10.26.00.00
-unspsc7#42.10.26.38.00#Vaginal ultrasound probe#42.10.26.00.00
-unspsc7#42.10.26.39.00#Medical conductive gels#42.10.26.00.00
-unspsc7#42.10.27.00.00#Dialysis equipment and instruments#42.10.00.00.00
-unspsc7#42.10.27.01.00#Blood bag sampler#42.10.27.00.00
-unspsc7#42.10.27.02.00#Blood warmer#42.10.27.00.00
-unspsc7#42.10.27.03.00#Dialysis instrument sets#42.10.27.00.00
-unspsc7#42.10.27.04.00#Peritoneal dialysis units#42.10.27.00.00
-unspsc7#42.10.27.05.00#Haemodialysis units#42.10.27.00.00
-unspsc7#42.10.27.06.00#Blood filters#42.10.27.00.00
-unspsc7#42.10.27.07.00#Blood separator stand#42.10.27.00.00
-unspsc7#42.10.27.08.00#Plasmaphoresis equipment#42.10.27.00.00
-unspsc7#42.10.27.09.00#Angiographic injectors#42.10.27.00.00
-unspsc7#42.10.27.10.00#Hemafilters#42.10.27.00.00
-unspsc7#42.10.27.11.00#Dialysis tubing or membranes#42.10.27.00.00
-unspsc7#42.10.27.12.00#Blood oxygen demand apparatus#42.10.27.00.00
-unspsc7#42.10.27.13.00#Clot coagulation detection systems#42.10.27.00.00
-unspsc7#42.10.27.14.00#Medical drains or drainage kits#42.10.27.00.00
-unspsc7#42.10.27.15.00#Kymographs#42.10.27.00.00
-unspsc7#42.10.27.16.00#Blood sampling equipment#42.10.27.00.00
-unspsc7#42.10.28.00.00#Dental instruments and appliances#42.10.00.00.00
-unspsc7#42.10.28.01.00#Dental mixing slabs#42.10.28.00.00
-unspsc7#42.10.28.02.00#Bands for dental matrix#42.10.28.00.00
-unspsc7#42.10.28.03.00#Dental retainers#42.10.28.00.00
-unspsc7#42.10.28.04.00#Dental handpieces#42.10.28.00.00
-unspsc7#42.10.28.05.00#Dental cryosurgical instrumentation#42.10.28.00.00
-unspsc7#42.10.28.06.00#Dental formers#42.10.28.00.00
-unspsc7#42.10.28.07.00#Periodontium control instruments or periotest#42.10.28.00.00
-unspsc7#42.10.28.08.00#Dental trays#42.10.28.00.00
-unspsc7#42.10.28.09.00#Dental probes#42.10.28.00.00
-unspsc7#42.10.28.10.00#Dental scales#42.10.28.00.00
-unspsc7#42.10.28.11.00#Dental spatulas#42.10.28.00.00
-unspsc7#42.10.28.12.00#Dental elevators#42.10.28.00.00
-unspsc7#42.10.28.13.00#Dental excavators#42.10.28.00.00
-unspsc7#42.10.28.14.00#Dental finger protectors#42.10.28.00.00
-unspsc7#42.10.28.15.00#Dental tweezers#42.10.28.00.00
-unspsc7#42.10.28.16.00#Dental scissors#42.10.28.00.00
-unspsc7#42.10.28.17.00#Dental forceps#42.10.28.00.00
-unspsc7#42.10.28.18.00#Dental mirrors#42.10.28.00.00
-unspsc7#42.10.28.19.00#Orthodontic appliances#42.10.28.00.00
-unspsc7#42.10.28.20.00#Dental impression trays#42.10.28.00.00
-unspsc7#42.10.28.21.00#Dental syringes or needles#42.10.28.00.00
-unspsc7#42.10.28.22.00#Dental drills#42.10.28.00.00
-unspsc7#42.10.28.23.00#Endodontics accessories#42.10.28.00.00
-unspsc7#42.10.29.00.00#Cardiology equipment and supplies#42.10.00.00.00
-unspsc7#42.10.29.01.00#Heart valves#42.10.29.00.00
-unspsc7#42.10.29.02.00#Heart catheters#42.10.29.00.00
-unspsc7#42.10.29.03.00#Defribilators#42.10.29.00.00
-unspsc7#42.10.29.04.00#Aortic balloon equipment#42.10.29.00.00
-unspsc7#42.10.29.05.00#Pacemakers#42.10.29.00.00
-unspsc7#42.10.30.00.00#Medical consumables#42.10.00.00.00
-unspsc7#42.10.30.01.00#Blood or intravenous (IV) bottles or bags#42.10.30.00.00
-unspsc7#42.10.30.02.00#Tongue depressors#42.10.30.00.00
-unspsc7#42.10.30.03.00#Suture needles#42.10.30.00.00
-unspsc7#42.10.30.04.00#Biopsy needles#42.10.30.00.00
-unspsc7#42.10.30.05.00#Biopsy capsules or punches#42.10.30.00.00
-unspsc7#42.10.30.06.00#Dissecting needles#42.10.30.00.00
-unspsc7#42.10.30.07.00#Acupuncture needles#42.10.30.00.00
-unspsc7#42.10.30.08.00#Medical disposal containers#42.10.30.00.00
-unspsc7#42.10.30.09.00#Haematocrit tubes#42.10.30.00.00
-unspsc7#42.10.30.10.00#Swabs#42.10.30.00.00
-unspsc7#42.10.30.11.00#Blood transfusion needles or cannulae#42.10.30.00.00
-unspsc7#42.10.30.12.00#Transfer swabs or applicators#42.10.30.00.00
-unspsc7#42.10.30.13.00#Urine bags#42.10.30.00.00
-unspsc7#42.10.30.14.00#Specimen containers#42.10.30.00.00
-unspsc7#42.10.30.15.00#Plaster of paris#42.10.30.00.00
-unspsc7#42.10.30.16.00#Sterile strips#42.10.30.00.00
-unspsc7#42.10.30.17.00#Gauze cloth#42.10.30.00.00
-unspsc7#42.10.30.18.00#Cotton wool#42.10.30.00.00
-unspsc7#42.10.30.19.00#Sterile surgical compresses#42.10.30.00.00
-unspsc7#42.10.30.20.00#Bandages#42.10.30.00.00
-unspsc7#42.10.30.21.00#First aid kits or kit refills#42.10.30.00.00
-unspsc7#42.10.30.22.00#Hypodermic syringes#42.10.30.00.00
-unspsc7#42.10.30.23.00#Cotton swabs on sticks#42.10.30.00.00
-unspsc7#42.10.30.24.00#Infusion sets#42.10.30.00.00
-unspsc7#42.10.30.25.00#Nasogastric tubes#42.10.30.00.00
-unspsc7#42.10.30.26.00#Destruction clips#42.10.30.00.00
-unspsc7#42.10.30.27.00#Dressings#42.10.30.00.00
-unspsc7#42.10.30.28.00#Implantable drug delivery systems#42.10.30.00.00
-unspsc7#42.10.30.29.00#Automatic mass vaccinators#42.10.30.00.00
-unspsc7#42.10.30.30.00#Pipetting syringes#42.10.30.00.00
-unspsc7#42.10.30.31.00#Scalp vein needles or stopcocks#42.10.30.00.00
-unspsc7#42.10.30.32.00#Hypodermic needles#42.10.30.00.00
-unspsc7#42.10.30.33.00#Medical jet injectors#42.10.30.00.00
-unspsc7#42.10.30.34.00#Lancets#42.10.30.00.00
-unspsc7#42.10.30.35.00#Catheter for infusion#42.10.30.00.00
-unspsc7#42.10.30.36.00#Intavenous (IV) equipment tubes#42.10.30.00.00
-unspsc7#42.10.30.37.00#Eyewash solutions#42.10.30.00.00
-unspsc7#42.10.30.38.00#Examination gloves#42.10.30.00.00
-unspsc7#42.10.30.39.00#Pathogen cleanup kits#42.10.30.00.00
-unspsc7#42.10.30.40.00#Diabetic syringes#42.10.30.00.00
-unspsc7#42.10.30.41.00#Diabetic pen needles#42.10.30.00.00
-unspsc7#42.10.30.42.00#Lancet device#42.10.30.00.00
-unspsc7#42.11.00.00.00#Assistive and corrective devices for people with disabilities#42.00.00.00.00
-unspsc7#42.11.15.00.00#Prostheses and parts thereof#42.11.00.00.00
-unspsc7#42.11.15.01.00#Ankle or foot orthoses#42.11.15.00.00
-unspsc7#42.11.15.02.00#Cervical orthoses#42.11.15.00.00
-unspsc7#42.11.15.03.00#Cervico thoratic orthoses#42.11.15.00.00
-unspsc7#42.11.15.04.00#Cervico thoratic lumbo sacral orthoses#42.11.15.00.00
-unspsc7#42.11.15.05.00#Elbow orthoses#42.11.15.00.00
-unspsc7#42.11.15.06.00#Elbow wrist orthoses#42.11.15.00.00
-unspsc7#42.11.15.07.00#Finger orthoses#42.11.15.00.00
-unspsc7#42.11.15.08.00#Foot orthoses#42.11.15.00.00
-unspsc7#42.11.15.09.00#Hand orthoses#42.11.15.00.00
-unspsc7#42.11.15.10.00#Hip orthoses#42.11.15.00.00
-unspsc7#42.11.15.11.00#Hip knee ankle foot orthoses#42.11.15.00.00
-unspsc7#42.11.15.12.00#Hip or knee or ankle orthoses joints#42.11.15.00.00
-unspsc7#42.11.15.13.00#Shoulder or elbow or wrist orthoses joints#42.11.15.00.00
-unspsc7#42.11.15.14.00#Knee orthoses#42.11.15.00.00
-unspsc7#42.11.15.15.00#Knee ankle foot orthoses#42.11.15.00.00
-unspsc7#42.11.15.16.00#Lumbo or sacral orthoses#42.11.15.00.00
-unspsc7#42.11.15.17.00#Sacro iliac orthoses#42.11.15.00.00
-unspsc7#42.11.15.18.00#Shoulder or elbow or wrist or hand orthoses#42.11.15.00.00
-unspsc7#42.11.15.19.00#Thoraco or lumbo or sacral orthoses#42.11.15.00.00
-unspsc7#42.11.15.20.00#Wrist orthoses#42.11.15.00.00
-unspsc7#42.11.15.21.00#Wrist or hand orthoses#42.11.15.00.00
-unspsc7#42.11.15.22.00#Wrist or hand or finger orthoses#42.11.15.00.00
-unspsc7#42.11.15.23.00#Ankle disarticulation prostheses#42.11.15.00.00
-unspsc7#42.11.15.24.00#Aural prostheses#42.11.15.00.00
-unspsc7#42.11.15.25.00#Cosmetic or skin covering prostheses#42.11.15.00.00
-unspsc7#42.11.15.26.00#Elbow disarticulation prostheses#42.11.15.00.00
-unspsc7#42.11.15.27.00#Hip disarticulation prostheses#42.11.15.00.00
-unspsc7#42.11.15.28.00#Hook or functional tool prostheses#42.11.15.00.00
-unspsc7#42.11.15.29.00#Knee or hip joint prostheses or torque reducers#42.11.15.00.00
-unspsc7#42.11.15.30.00#Wrist or elbow joint prostheses#42.11.15.00.00
-unspsc7#42.11.15.31.00#Knee disarticulation prostheses#42.11.15.00.00
-unspsc7#42.11.15.32.00#Mammary prostheses#42.11.15.00.00
-unspsc7#42.11.15.33.00#Nasal prostheses#42.11.15.00.00
-unspsc7#42.11.15.34.00#Ocular prostheses#42.11.15.00.00
-unspsc7#42.11.15.35.00#Back filler prostheses#42.11.15.00.00
-unspsc7#42.11.15.36.00#Palate prostheses#42.11.15.00.00
-unspsc7#42.11.15.37.00#Partial foot including toe prostheses#42.11.15.00.00
-unspsc7#42.11.15.38.00#Partial hand including finger prostheses#42.11.15.00.00
-unspsc7#42.11.15.39.00#Shoulder disarticulation prostheses#42.11.15.00.00
-unspsc7#42.11.15.40.00#Socket or alignment unit prostheses#42.11.15.00.00
-unspsc7#42.11.15.41.00#Temporary prostheses for early mobilization of lower limb amputees#42.11.15.00.00
-unspsc7#42.11.15.42.00#Transfemoral prostheses#42.11.15.00.00
-unspsc7#42.11.15.43.00#Transhumeral prostheses#42.11.15.00.00
-unspsc7#42.11.15.44.00#Transradial prostheses#42.11.15.00.00
-unspsc7#42.11.15.45.00#Transtibial including ankle or foot device prostheses#42.11.15.00.00
-unspsc7#42.11.15.46.00#Wrist disarticulation prostheses#42.11.15.00.00
-unspsc7#42.11.15.47.00#Prosthetic hands#42.11.15.00.00
-unspsc7#42.11.15.48.00#Vascular prostheses#42.11.15.00.00
-unspsc7#42.11.16.00.00#Communication and educational material for people with disabilities#42.11.00.00.00
-unspsc7#42.11.16.01.00#Braille writing paper or plastic#42.11.16.00.00
-unspsc7#42.11.16.02.00#Switchboards for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.03.00#Character reading machines for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.04.00#Synthetic speech devices for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.05.00#Tactile displays for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.06.00#Letter or symbol boards for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.07.00#Dialogue units for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.08.00#Voice generators for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.09.00#Voice amplifiers for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.10.00#Hearing aids#42.11.16.00.00
-unspsc7#42.11.16.11.00#Writing frames for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.12.00#Rain indicators for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.13.00#Light indicators for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.14.00#Sound indicators for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.15.00#Speech training aids for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.16.00#Language training aids for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.17.00#Braille equipment#42.11.16.00.00
-unspsc7#42.11.16.18.00#Book or manuscript holders for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.19.00#Page turners for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.20.00#Signature guides or stamps for people with disabilities#42.11.16.00.00
-unspsc7#42.11.16.21.00#Ergonomically designed stationery aids for people with disabilities#42.11.16.00.00
-unspsc7#42.11.17.00.00#Furniture and accessories for people with disabilities#42.11.00.00.00
-unspsc7#42.11.17.01.00#Pressure sore prevention furniture#42.11.17.00.00
-unspsc7#42.11.17.02.00#Pressure sore prevention mattresses or coverings#42.11.17.00.00
-unspsc7#42.11.17.03.00#Backpads or backrests or similar adaptations for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.04.00#Arm rests for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.05.00#Bed extensions for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.06.00#Bed lifts for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.07.00#Bed shortening aids for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.08.00#Ergonomicall designed beds for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.09.00#Blanket supports for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.10.00#Mechanized chairs to assist with sitting or standing for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.11.00#Coxit or arthrodesis chairs for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.12.00#Leg extenders for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.13.00#Leg supports for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.14.00#Modular or special sitting furniture systems for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.15.00#Height adjustable plinths or brackets for people with disabilities#42.11.17.00.00
-unspsc7#42.11.17.16.00#Ergonomically designed tables for people with disabilities#42.11.17.00.00
-unspsc7#42.11.18.00.00#Personal care devices for people with disabilities#42.11.00.00.00
-unspsc7#42.11.18.01.00#Aids to assist in dressing ones self for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.02.00#Aids for washing ones self for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.03.00#Aids for drying ones self for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.04.00#Bathing stretchers or shower tables for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.05.00#Diaper changing tables for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.06.00#Bedpans or commode chairs for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.07.00#Buttoning or fastening devices for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.08.00#Extended handle combs or brushes for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.09.00#Toilet attached douches or air dryers for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.10.00#Toilet seats for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.11.00#Hand grip toothbrushes for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.12.00#Body worn urine absorbing aids for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.13.00#Urine collection systems for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.14.00#Incontinence alarms for people with disabilities#42.11.18.00.00
-unspsc7#42.11.18.15.00#Ostomy bags or accessories for people with disabilities#42.11.18.00.00
-unspsc7#42.11.19.00.00#Protection and mobility devices for people with disabilities#42.11.00.00.00
-unspsc7#42.11.19.01.00#Crutches#42.11.19.00.00
-unspsc7#42.11.19.02.00#Tripods or quadropods#42.11.19.00.00
-unspsc7#42.11.19.03.00#Walking sticks accessories or parts thereof#42.11.19.00.00
-unspsc7#42.11.19.04.00#Rollators#42.11.19.00.00
-unspsc7#42.11.19.05.00#Walkers#42.11.19.00.00
-unspsc7#42.11.19.06.00#Wheelchairs#42.11.19.00.00
-unspsc7#42.11.19.07.00#Wheelchair accessories#42.11.19.00.00
-unspsc7#42.11.19.08.00#Support rails for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.09.00#Rope ladders or lifting belts or harnesses for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.10.00#Lifting or turning cushions carpets or sheets for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.11.00#Hoists or trolleys for people with disabities#42.11.19.00.00
-unspsc7#42.11.19.12.00#Wheelchair ramps#42.11.19.00.00
-unspsc7#42.11.19.13.00#Wheelchair lifting platforms#42.11.19.00.00
-unspsc7#42.11.19.14.00#Navigation or orientation aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.15.00#Chair lifts or chair transporters for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.16.00#Warning or alarm devices for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.17.00#Airway protection aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.18.00#Ear or hearing protection aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.19.00#Face or eye protection aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.20.00#Hand or arm or elbow protection aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.21.00#Head protection aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.22.00#Lower extremity protection aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.23.00#Bathtub length or width reduction aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.24.00#Trunk or whole body protection aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.25.00#Body support units for hoists for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.26.00#Door warners for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.27.00#Floatation or swmming aids for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.28.00#Relief maps for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.29.00#Non cosmetic skin cleaning or protective products for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.30.00#Stationary hoists for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.31.00#Stoma shields or protectors#42.11.19.00.00
-unspsc7#42.11.19.32.00#Tactile sticks for people with disabilities#42.11.19.00.00
-unspsc7#42.11.19.33.00#Toilet arm or backrests for people with disabilities#42.11.19.00.00
-unspsc7#42.11.20.00.00#Recreational and training aids for people with disabilities#42.11.00.00.00
-unspsc7#42.11.20.01.00#Camping equipment for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.02.00#Tilting tables for balance training for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.03.00#Biofeedback devices for movement strength or balance for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.04.00#Sports exercise aids for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.05.00#Fishing or hunting aids for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.06.00#Playing or training balls for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.07.00#Chess for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.08.00#Playing cards or holders for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.09.00#Gardening tools or aids for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.10.00#Handicraft tools materials or equipment for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.11.00#Photographic equipment or aids for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.12.00#Caravanning equipment for people with disabilities#42.11.20.00.00
-unspsc7#42.11.20.13.00#Vibrating chairs for training deaf people#42.11.20.00.00
-unspsc7#42.11.21.00.00#Specialized aids for housekeeping and handling goods and measuring for people with disabilities#42.11.00.00.00
-unspsc7#42.11.21.01.00#Weighing or measuring aids or people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.02.00#Cutting or chopping or dividing aids or people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.03.00#Cleaning or peeling aids for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.04.00#Baking or cooking or frying aids for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.05.00#Food or drink service aids for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.06.00#Food stoppers or funnels for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.07.00#Tableware for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.08.00#Pusher edges or plate buffers for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.09.00#Feeding apparatus for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.10.00#Feeding probes for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.11.00#Shoe cleaning apparatus for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.12.00#Sewing or knitting or crocheting or darning aids for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.13.00#Bottle or can or container openers for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.14.00#Tube squeezing keys for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.15.00#Grasping aids to assist or replace hand or finger function for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.16.00#Grip adapters or attachments for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.17.00#Body worn holders to assist hand or finger function for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.18.00#Stands to assist hand or finger function for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.19.00#Operating sticks such as head or chin or mouth sticks for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.20.00#Extenders without grip function for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.21.00#Fixed positioning systems for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.22.00#Balances or equipment for hoisting or balancing objects for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.23.00#Manipulators for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.24.00#Robots to assist people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.25.00#Indicators such as signal lights or buzzers for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.26.00#Pointing lamps for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.27.00#Measuring aids or tools for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.28.00#Object positioning lifting or tilting systems for people with disabilities#42.11.21.00.00
-unspsc7#42.11.21.29.00#Manual extended reach gripping tongs for people with disabilities#42.11.21.00.00
-unspsc7#42.12.00.00.00#Veterinary equipment and supplies#42.00.00.00.00
-unspsc7#42.12.15.00.00#Veterinary equipment#42.12.00.00.00
-unspsc7#42.12.15.01.00#Veterinary blood pressure testers#42.12.15.00.00
-unspsc7#42.12.15.02.00#Veterinary kymograph tester#42.12.15.00.00
-unspsc7#42.12.15.03.00#Veterinary pyrogenic tester#42.12.15.00.00
-unspsc7#42.12.15.04.00#Veterinary stereotoxic equipment#42.12.15.00.00
-unspsc7#42.12.15.05.00#Veterinary electrocardiograph (ECG)#42.12.15.00.00
-unspsc7#42.12.16.00.00#Veterinary products#42.12.00.00.00
-unspsc7#42.12.16.01.00#Gastrointestinal veterinary products#42.12.16.00.00
-unspsc7#42.12.16.02.00#Blood or blood forming veterinary products#42.12.16.00.00
-unspsc7#42.12.16.03.00#Respiratory system veterinary products#42.12.16.00.00
-unspsc7#42.12.16.04.00#Musculo skeletal or nervous system veterinary products#42.12.16.00.00
-unspsc7#42.12.16.05.00#Cardiovascular system veterinary products#42.12.16.00.00
-unspsc7#42.12.16.06.00#Dermatologicals or antiprotozoa veterinary products#42.12.16.00.00
-unspsc7#42.12.16.07.00#Genito urinary system sex or hormone veterinary products#42.12.16.00.00
-unspsc7#43.00.00.00.00#Communications and Computer Equipment and Peripherals and Components and Supplies#43.00.00.00.00
-unspsc7#43.16.00.00.00#Software#43.00.00.00.00
-unspsc7#43.16.15.00.00#Database systems#43.16.00.00.00
-unspsc7#43.16.15.01.00#Database software#43.16.15.00.00
-unspsc7#43.16.16.00.00#Operating systems#43.16.00.00.00
-unspsc7#43.16.16.01.00#Mainframe operating system software#43.16.16.00.00
-unspsc7#43.16.16.02.00#Personal computer (PC) operating system software#43.16.16.00.00
-unspsc7#43.16.16.03.00#Open systems operating systems#43.16.16.00.00
-unspsc7#43.16.16.04.00#Clustering software#43.16.16.00.00
-unspsc7#43.16.17.00.00#Business transaction and personal business software#43.16.00.00.00
-unspsc7#43.16.17.01.00#Investment management software#43.16.17.00.00
-unspsc7#43.16.17.02.00#Tax preparation software#43.16.17.00.00
-unspsc7#43.16.17.03.00#Facilities management software#43.16.17.00.00
-unspsc7#43.16.17.04.00#Software suites#43.16.17.00.00
-unspsc7#43.16.17.05.00#Inventory management software#43.16.17.00.00
-unspsc7#43.16.17.06.00#Financial analysis software#43.16.17.00.00
-unspsc7#43.16.17.07.00#Accounting software#43.16.17.00.00
-unspsc7#43.16.17.08.00#Time accounting or human resources software#43.16.17.00.00
-unspsc7#43.16.17.09.00#Analytical or scientific software#43.16.17.00.00
-unspsc7#43.16.17.10.00#Mathematical or forecasting software#43.16.17.00.00
-unspsc7#43.16.17.11.00#Auction software#43.16.17.00.00
-unspsc7#43.16.17.12.00#Sales or marketing software#43.16.17.00.00
-unspsc7#43.16.18.00.00#Document creation software#43.16.00.00.00
-unspsc7#43.16.18.01.00#Document management software#43.16.18.00.00
-unspsc7#43.16.18.02.00#Electronic publishing software#43.16.18.00.00
-unspsc7#43.16.18.03.00#Optical character reader (OCR) software#43.16.18.00.00
-unspsc7#43.16.18.04.00#Voice recognition software#43.16.18.00.00
-unspsc7#43.16.18.05.00#Desktop publishing software#43.16.18.00.00
-unspsc7#43.16.18.06.00#Presentation software#43.16.18.00.00
-unspsc7#43.16.18.07.00#Word processing software#43.16.18.00.00
-unspsc7#43.16.18.08.00#Scanner software#43.16.18.00.00
-unspsc7#43.16.18.09.00#Spell checkers#43.16.18.00.00
-unspsc7#43.16.19.00.00#Drawing and imaging software#43.16.00.00.00
-unspsc7#43.16.19.01.00#Computer aided design (CAD) software#43.16.19.00.00
-unspsc7#43.16.19.02.00#Graphics software#43.16.19.00.00
-unspsc7#43.16.19.03.00#Educational software#43.16.19.00.00
-unspsc7#43.16.19.04.00#Computer aided manufacturing (CAM) software#43.16.19.00.00
-unspsc7#43.16.19.05.00#Charting software#43.16.19.00.00
-unspsc7#43.16.19.06.00#Form making software#43.16.19.00.00
-unspsc7#43.16.19.07.00#Mapping software#43.16.19.00.00
-unspsc7#43.16.20.00.00#Scheduling and productivity software#43.16.00.00.00
-unspsc7#43.16.20.01.00#Project management software#43.16.20.00.00
-unspsc7#43.16.20.02.00#Scheduling software#43.16.20.00.00
-unspsc7#43.16.20.03.00#Contact management software#43.16.20.00.00
-unspsc7#43.16.21.00.00#Spreadsheets and enhancement software#43.16.00.00.00
-unspsc7#43.16.21.01.00#Spreadsheet software#43.16.21.00.00
-unspsc7#43.16.22.00.00#Multimedia software#43.16.00.00.00
-unspsc7#43.16.22.01.00#Music or sound editing software#43.16.22.00.00
-unspsc7#43.16.23.00.00#Print shop software#43.16.00.00.00
-unspsc7#43.16.23.01.00#Address book making software#43.16.23.00.00
-unspsc7#43.16.23.02.00#Label making software#43.16.23.00.00
-unspsc7#43.16.24.00.00#Programming languages and tools#43.16.00.00.00
-unspsc7#43.16.24.01.00#Compiling softwares#43.16.24.00.00
-unspsc7#43.16.24.02.00#Configuration management software#43.16.24.00.00
-unspsc7#43.16.24.03.00#Development software#43.16.24.00.00
-unspsc7#43.16.24.04.00#Graphical user interface (GUI) tools#43.16.24.00.00
-unspsc7#43.16.24.05.00#Programming languages#43.16.24.00.00
-unspsc7#43.16.24.06.00#Program testing software#43.16.24.00.00
-unspsc7#43.16.25.00.00#Software utilities#43.16.00.00.00
-unspsc7#43.16.25.01.00#Backup or recovery software#43.16.25.00.00
-unspsc7#43.16.25.02.00#Bar coding software#43.16.25.00.00
-unspsc7#43.16.25.03.00#File security or data security software#43.16.25.00.00
-unspsc7#43.16.25.04.00#Foreign language translation software#43.16.25.00.00
-unspsc7#43.16.25.05.00#Print utility software#43.16.25.00.00
-unspsc7#43.16.25.06.00#Storage media loading software#43.16.25.00.00
-unspsc7#43.16.25.07.00#Virus protection software#43.16.25.00.00
-unspsc7#43.16.25.08.00#General utility software#43.16.25.00.00
-unspsc7#43.16.25.09.00#Compression utilities#43.16.25.00.00
-unspsc7#43.16.25.10.00#System management software#43.16.25.00.00
-unspsc7#43.16.25.11.00#Storage management software#43.16.25.00.00
-unspsc7#43.16.25.12.00#Version checker software#43.16.25.00.00
-unspsc7#43.16.26.00.00#Networking software#43.16.00.00.00
-unspsc7#43.16.26.01.00#Platform interconnectivity software#43.16.26.00.00
-unspsc7#43.16.26.02.00#Optical jukebox server software#43.16.26.00.00
-unspsc7#43.16.26.03.00#Operating system enhancement software#43.16.26.00.00
-unspsc7#43.16.26.04.00#Network operating system software#43.16.26.00.00
-unspsc7#43.16.26.05.00#Networking developers software#43.16.26.00.00
-unspsc7#43.16.26.06.00#Network connectivity terminal emulation software#43.16.26.00.00
-unspsc7#43.16.26.07.00#Mainframe transaction processing software#43.16.26.00.00
-unspsc7#43.16.26.08.00#License management software#43.16.26.00.00
-unspsc7#43.16.26.09.00#Gateway software#43.16.26.00.00
-unspsc7#43.16.26.10.00#Compact disc (CD) server software#43.16.26.00.00
-unspsc7#43.16.26.11.00#Administration software#43.16.26.00.00
-unspsc7#43.16.26.12.00#Transaction server software#43.16.26.00.00
-unspsc7#43.16.26.13.00#Switch or router software#43.16.26.00.00
-unspsc7#43.16.26.14.00#Multiplexer software#43.16.26.00.00
-unspsc7#43.16.26.15.00#Communications server software#43.16.26.00.00
-unspsc7#43.16.26.16.00#Bridge software#43.16.26.00.00
-unspsc7#43.16.27.00.00#Communication Software#43.16.00.00.00
-unspsc7#43.16.27.01.00#Desktop communications software#43.16.27.00.00
-unspsc7#43.16.27.02.00#Server communications software#43.16.27.00.00
-unspsc7#43.16.27.03.00#Interactive voice response software#43.16.27.00.00
-unspsc7#43.16.27.04.00#Modem software#43.16.27.00.00
-unspsc7#43.16.27.05.00#Remote access software#43.16.27.00.00
-unspsc7#43.16.27.06.00#Video conferencing software#43.16.27.00.00
-unspsc7#43.16.27.07.00#Exchange software#43.16.27.00.00
-unspsc7#43.16.28.00.00#Internet and intranet software#43.16.00.00.00
-unspsc7#43.16.28.01.00#Internet browsing software#43.16.28.00.00
-unspsc7#43.16.28.02.00#Web server software#43.16.28.00.00
-unspsc7#43.16.29.00.00#Miscellaneous software#43.16.00.00.00
-unspsc7#43.16.29.01.00#Computer game software#43.16.29.00.00
-unspsc7#43.16.29.02.00#Screen savers#43.16.29.00.00
-unspsc7#43.16.29.03.00#Training software#43.16.29.00.00
-unspsc7#43.16.29.04.00#Entertainment software#43.16.29.00.00
-unspsc7#43.16.29.05.00#Family titles#43.16.29.00.00
-unspsc7#43.16.29.06.00#Educational software#43.16.29.00.00
-unspsc7#43.16.30.00.00#Industry specific software#43.16.00.00.00
-unspsc7#43.16.30.01.00#Point of sale (POS) software#43.16.30.00.00
-unspsc7#43.16.30.02.00#Flight control software#43.16.30.00.00
-unspsc7#43.16.30.03.00#Aviation ground support software#43.16.30.00.00
-unspsc7#43.16.30.04.00#Aviation test software#43.16.30.00.00
-unspsc7#43.16.30.05.00#Industrial control software#43.16.30.00.00
-unspsc7#43.16.30.06.00#Library software#43.16.30.00.00
-unspsc7#43.16.30.07.00#Compliance software#43.16.30.00.00
-unspsc7#43.16.31.00.00#Drivers and system software#43.16.00.00.00
-unspsc7#43.16.31.01.00#Ethernet drivers#43.16.31.00.00
-unspsc7#43.16.31.02.00#Graphics card drivers#43.16.31.00.00
-unspsc7#43.17.00.00.00#Hardware and accessories#43.00.00.00.00
-unspsc7#43.17.15.00.00#Telephony equipment#43.17.00.00.00
-unspsc7#43.17.15.01.00#Exchange components (CODEC)#43.17.15.00.00
-unspsc7#43.17.15.02.00#Exchange data interface cards#43.17.15.00.00
-unspsc7#43.17.15.03.00#Exchange datacom modules#43.17.15.00.00
-unspsc7#43.17.15.04.00#Phone exchange interfaces or components#43.17.15.00.00
-unspsc7#43.17.15.05.00#Exchange trunk interface or card components#43.17.15.00.00
-unspsc7#43.17.15.06.00#Premise branch exchange (PBX) systems#43.17.15.00.00
-unspsc7#43.17.15.07.00#Telephone switching equipment#43.17.15.00.00
-unspsc7#43.17.15.08.00#Switchboard equipment#43.17.15.00.00
-unspsc7#43.17.15.09.00#Punch down blocks#43.17.15.00.00
-unspsc7#43.17.15.10.00#Analog or digital telephones#43.17.15.00.00
-unspsc7#43.17.15.11.00#Analog or digital cellular telephones#43.17.15.00.00
-unspsc7#43.17.15.12.00#Mobile telephones#43.17.15.00.00
-unspsc7#43.17.15.13.00#Cordless telephones#43.17.15.00.00
-unspsc7#43.17.15.14.00#Pay telephones#43.17.15.00.00
-unspsc7#43.17.15.15.00#Answering machines#43.17.15.00.00
-unspsc7#43.17.15.16.00#Telephone headsets#43.17.15.00.00
-unspsc7#43.17.15.17.00#Voice mail systems#43.17.15.00.00
-unspsc7#43.17.15.18.00#Call management system#43.17.15.00.00
-unspsc7#43.17.15.19.00#Cellular telephone accessories#43.17.15.00.00
-unspsc7#43.17.15.20.00#Telephone rests#43.17.15.00.00
-unspsc7#43.17.15.21.00#Telephone adapters#43.17.15.00.00
-unspsc7#43.17.15.22.00#Telephone line multipliers#43.17.15.00.00
-unspsc7#43.17.15.23.00#Telephone line modular couplers#43.17.15.00.00
-unspsc7#43.17.15.24.00#Videophones#43.17.15.00.00
-unspsc7#43.17.15.25.00#Dialers#43.17.15.00.00
-unspsc7#43.17.15.26.00#Telephone amplifiers#43.17.15.00.00
-unspsc7#43.17.15.27.00#Telephone stands or holders#43.17.15.00.00
-unspsc7#43.17.15.28.00#Integrated services digital network exchanges ISDN#43.17.15.00.00
-unspsc7#43.17.15.29.00#Telephone jacks#43.17.15.00.00
-unspsc7#43.17.16.00.00#Antennas#43.17.00.00.00
-unspsc7#43.17.16.01.00#Transmitters#43.17.16.00.00
-unspsc7#43.17.16.02.00#Receivers#43.17.16.00.00
-unspsc7#43.17.16.03.00#Tuners#43.17.16.00.00
-unspsc7#43.17.16.04.00#Short wave equipment#43.17.16.00.00
-unspsc7#43.17.16.05.00#Aircraft antennas#43.17.16.00.00
-unspsc7#43.17.16.06.00#Automotive antennas#43.17.16.00.00
-unspsc7#43.17.16.07.00#Broadcast antennas#43.17.16.00.00
-unspsc7#43.17.16.08.00#Microwave antennas#43.17.16.00.00
-unspsc7#43.17.16.09.00#Television antennas#43.17.16.00.00
-unspsc7#43.17.16.10.00#Satellite antennas#43.17.16.00.00
-unspsc7#43.17.16.11.00#Radio antennas#43.17.16.00.00
-unspsc7#43.17.16.12.00#Radar antennas#43.17.16.00.00
-unspsc7#43.17.16.13.00#Communications antennas#43.17.16.00.00
-unspsc7#43.17.16.14.00#Communication towers or support#43.17.16.00.00
-unspsc7#43.17.17.00.00#Telecommunications equipment#43.17.00.00.00
-unspsc7#43.17.17.01.00#Wireless base stations#43.17.17.00.00
-unspsc7#43.17.17.02.00#Telegraph equipment#43.17.17.00.00
-unspsc7#43.17.17.03.00#Teletype equipment#43.17.17.00.00
-unspsc7#43.17.17.04.00#Teleconferencing equipment#43.17.17.00.00
-unspsc7#43.17.17.05.00#Satellite communication equipment#43.17.17.00.00
-unspsc7#43.17.17.06.00#Pagers or beepers#43.17.17.00.00
-unspsc7#43.17.17.07.00#Intercommunications or paging systems#43.17.17.00.00
-unspsc7#43.17.17.08.00#Public address equipment#43.17.17.00.00
-unspsc7#43.17.17.09.00#Electronic sound equipment#43.17.17.00.00
-unspsc7#43.17.17.10.00#Dictating machines#43.17.17.00.00
-unspsc7#43.17.17.11.00#Line conditioners#43.17.17.00.00
-unspsc7#43.17.17.12.00#Channel service unit or data service unit (CSU or DSU)#43.17.17.00.00
-unspsc7#43.17.18.00.00#Computers#43.17.00.00.00
-unspsc7#43.17.18.01.00#Notebook computers#43.17.18.00.00
-unspsc7#43.17.18.02.00#Docking stations#43.17.18.00.00
-unspsc7#43.17.18.03.00#Workstations or desktop computers#43.17.18.00.00
-unspsc7#43.17.18.04.00#Personal digital assistants (PDAs) or pen based computers#43.17.18.00.00
-unspsc7#43.17.18.05.00#Mainframe computers#43.17.18.00.00
-unspsc7#43.17.18.06.00#Servers#43.17.18.00.00
-unspsc7#43.17.18.07.00#Port replicators#43.17.18.00.00
-unspsc7#43.17.18.08.00#Minicomputers#43.17.18.00.00
-unspsc7#43.17.18.09.00#Point of sale (POS) terminals#43.17.18.00.00
-unspsc7#43.17.18.10.00#Programmable logic controller (PLC)#43.17.18.00.00
-unspsc7#43.17.18.11.00#Console mainframe#43.17.18.00.00
-unspsc7#43.17.18.12.00#Console controller mainframe#43.17.18.00.00
-unspsc7#43.17.18.13.00#Channel converter#43.17.18.00.00
-unspsc7#43.17.18.14.00#Channel to channel interface mainframe#43.17.18.00.00
-unspsc7#43.17.18.15.00#Control unit#43.17.18.00.00
-unspsc7#43.17.18.16.00#Coupler facility mainframe#43.17.18.00.00
-unspsc7#43.17.18.17.00#Power cooler unit mainframe#43.17.18.00.00
-unspsc7#43.17.18.18.00#Thin client or diskless workstations#43.17.18.00.00
-unspsc7#43.17.18.19.00#Console extenders#43.17.18.00.00
-unspsc7#43.17.19.00.00#Memory and central processing units CPUs and accessories#43.17.00.00.00
-unspsc7#43.17.19.01.00#Cache memory modules#43.17.19.00.00
-unspsc7#43.17.19.02.00#Central processing unit (CPU) processors#43.17.19.00.00
-unspsc7#43.17.19.03.00#Cental processing unit (CPU) motherboards or daughterboards#43.17.19.00.00
-unspsc7#43.17.19.04.00#Memory modules#43.17.19.00.00
-unspsc7#43.17.19.05.00#Central processing unit coolers#43.17.19.00.00
-unspsc7#43.17.20.00.00#Computer control and interface boards and cards and cables#43.17.00.00.00
-unspsc7#43.17.20.01.00#Parallel to small computer system interface converters#43.17.20.00.00
-unspsc7#43.17.20.02.00#Parallel to serial converters#43.17.20.00.00
-unspsc7#43.17.20.03.00#Serial infrared ports#43.17.20.00.00
-unspsc7#43.17.20.04.00#Video accelerator cards#43.17.20.00.00
-unspsc7#43.17.20.05.00#Graphic accelerator cards#43.17.20.00.00
-unspsc7#43.17.20.06.00#Network interface cards#43.17.20.00.00
-unspsc7#43.17.20.07.00#Audio cards#43.17.20.00.00
-unspsc7#43.17.20.08.00#Emulation adapters#43.17.20.00.00
-unspsc7#43.17.20.09.00#Serial port cards#43.17.20.00.00
-unspsc7#43.17.20.10.00#Parallel port cards#43.17.20.00.00
-unspsc7#43.17.20.11.00#Small computer system interface (SCSI) controller cards#43.17.20.00.00
-unspsc7#43.17.20.12.00#Decoder#43.17.20.00.00
-unspsc7#43.17.20.13.00#Programmable logic controller input module#43.17.20.00.00
-unspsc7#43.17.20.14.00#Programmable logic controller counter module#43.17.20.00.00
-unspsc7#43.17.20.15.00#Programmable logic controller communication module#43.17.20.00.00
-unspsc7#43.17.20.16.00#Wireless network interface cards#43.17.20.00.00
-unspsc7#43.17.20.17.00#Timekeeping card machine and computer interface device#43.17.20.00.00
-unspsc7#43.17.20.18.00#Processor cards#43.17.20.00.00
-unspsc7#43.17.21.00.00#Audio and visual accessories#43.17.00.00.00
-unspsc7#43.17.21.01.00#Musical instrument digital interface (MIDI) interfaces or adapters#43.17.21.00.00
-unspsc7#43.17.21.02.00#Signal processor upgrades#43.17.21.00.00
-unspsc7#43.17.21.03.00#Video capture boards#43.17.21.00.00
-unspsc7#43.17.21.04.00#Television cards#43.17.21.00.00
-unspsc7#43.17.21.05.00#Radio cards#43.17.21.00.00
-unspsc7#43.17.21.06.00#Multimedia kits#43.17.21.00.00
-unspsc7#43.17.21.07.00#Computer speakers#43.17.21.00.00
-unspsc7#43.17.21.08.00#Computer headset#43.17.21.00.00
-unspsc7#43.17.21.09.00#Set top boxes#43.17.21.00.00
-unspsc7#43.17.21.10.00#Video cassette containers#43.17.21.00.00
-unspsc7#43.17.22.00.00#Input devices#43.17.00.00.00
-unspsc7#43.17.22.01.00#Bar code readers#43.17.22.00.00
-unspsc7#43.17.22.02.00#Graphics tablets or digitizers#43.17.22.00.00
-unspsc7#43.17.22.03.00#Joysticks or game pads#43.17.22.00.00
-unspsc7#43.17.22.04.00#Keyboards or keypads#43.17.22.00.00
-unspsc7#43.17.22.05.00#Computer mouse#43.17.22.00.00
-unspsc7#43.17.22.06.00#Remote user interfaces#43.17.22.00.00
-unspsc7#43.17.22.07.00#Scanners#43.17.22.00.00
-unspsc7#43.17.22.08.00#Touch pads#43.17.22.00.00
-unspsc7#43.17.22.09.00#Touch screens#43.17.22.00.00
-unspsc7#43.17.22.10.00#Trackballs#43.17.22.00.00
-unspsc7#43.17.22.11.00#Voice microphones for computers#43.17.22.00.00
-unspsc7#43.17.22.12.00#Punch card readers#43.17.22.00.00
-unspsc7#43.17.22.13.00#Light pen#43.17.22.00.00
-unspsc7#43.17.22.14.00#Stylus pen for mobile computers#43.17.22.00.00
-unspsc7#43.17.22.15.00#Mouse pad#43.17.22.00.00
-unspsc7#43.17.22.16.00#Programmable logic controller handheld programmer#43.17.22.00.00
-unspsc7#43.17.22.17.00#EGR Electronic gate reader#43.17.22.00.00
-unspsc7#43.17.22.18.00#Dumb terminal#43.17.22.00.00
-unspsc7#43.17.22.19.00#Punched cards#43.17.22.00.00
-unspsc7#43.17.23.00.00#Electronic data storage equipment#43.17.00.00.00
-unspsc7#43.17.23.01.00#Read only compact disc (CD) drives#43.17.23.00.00
-unspsc7#43.17.23.02.00#Compact disc (CD) jukeboxes or changers#43.17.23.00.00
-unspsc7#43.17.23.03.00#Combination floppy drives#43.17.23.00.00
-unspsc7#43.17.23.04.00#Disk arrays#43.17.23.00.00
-unspsc7#43.17.23.05.00#Floppy drives#43.17.23.00.00
-unspsc7#43.17.23.06.00#High capacity removable media drives#43.17.23.00.00
-unspsc7#43.17.23.07.00#Multi drive hard drive towers#43.17.23.00.00
-unspsc7#43.17.23.08.00#Recordable compact disc (CD) drives#43.17.23.00.00
-unspsc7#43.17.23.09.00#Reel to reel tape drives#43.17.23.00.00
-unspsc7#43.17.23.10.00#Single optical drives#43.17.23.00.00
-unspsc7#43.17.23.11.00#Tape arrays#43.17.23.00.00
-unspsc7#43.17.23.12.00#Tape drive auto loaders or libraries#43.17.23.00.00
-unspsc7#43.17.23.13.00#Hard drives#43.17.23.00.00
-unspsc7#43.17.23.14.00#Computer DVD drives#43.17.23.00.00
-unspsc7#43.17.23.15.00#Array controller#43.17.23.00.00
-unspsc7#43.17.23.16.00#MP3 player#43.17.23.00.00
-unspsc7#43.17.23.17.00#Memory card readers#43.17.23.00.00
-unspsc7#43.17.23.18.00#Peripheral component microchannel interconnect architecture reader and writer drives#43.17.23.00.00
-unspsc7#43.17.24.00.00#Monitors and displays#43.17.00.00.00
-unspsc7#43.17.24.01.00#Monitors#43.17.24.00.00
-unspsc7#43.17.24.02.00#Flat panel displays#43.17.24.00.00
-unspsc7#43.17.24.03.00#Touch screen monitors#43.17.24.00.00
-unspsc7#43.17.24.04.00#Monitor accessories#43.17.24.00.00
-unspsc7#43.17.25.00.00#Printers#43.17.00.00.00
-unspsc7#43.17.25.01.00#Plotters#43.17.25.00.00
-unspsc7#43.17.25.02.00#Band printers#43.17.25.00.00
-unspsc7#43.17.25.03.00#Dot matrix printers#43.17.25.00.00
-unspsc7#43.17.25.04.00#Label printers#43.17.25.00.00
-unspsc7#43.17.25.05.00#Large format printers#43.17.25.00.00
-unspsc7#43.17.25.06.00#Line matrix printers#43.17.25.00.00
-unspsc7#43.17.25.07.00#Page printers#43.17.25.00.00
-unspsc7#43.17.25.08.00#Thermal tape printers#43.17.25.00.00
-unspsc7#43.17.25.09.00#Inkjet printers#43.17.25.00.00
-unspsc7#43.17.25.10.00#Laser printers#43.17.25.00.00
-unspsc7#43.17.25.11.00#Bubble jet printers#43.17.25.00.00
-unspsc7#43.17.25.12.00#Bag tag printer#43.17.25.00.00
-unspsc7#43.17.25.13.00#Printer seperator#43.17.25.00.00
-unspsc7#43.17.25.14.00#Multi function printers#43.17.25.00.00
-unspsc7#43.17.25.15.00#ATB airline ticket or boarding pass printer#43.17.25.00.00
-unspsc7#43.17.26.00.00#Enclosures and frames and backplanes#43.17.00.00.00
-unspsc7#43.17.26.01.00#Chassis#43.17.26.00.00
-unspsc7#43.17.26.02.00#Network chassis#43.17.26.00.00
-unspsc7#43.17.26.03.00#Drive cabinets#43.17.26.00.00
-unspsc7#43.17.26.04.00#Expansion slot expander#43.17.26.00.00
-unspsc7#43.17.26.05.00#Racks#43.17.26.00.00
-unspsc7#43.17.26.06.00#Programmable logic controller rack or base#43.17.26.00.00
-unspsc7#43.17.26.07.00#Removable drive frames#43.17.26.00.00
-unspsc7#43.17.27.00.00#Network hardware and components and accessories#43.17.00.00.00
-unspsc7#43.17.27.01.00#Hubs or concentrators#43.17.27.00.00
-unspsc7#43.17.27.02.00#Routers#43.17.27.00.00
-unspsc7#43.17.27.03.00#Repeaters#43.17.27.00.00
-unspsc7#43.17.27.04.00#Network bridges#43.17.27.00.00
-unspsc7#43.17.27.05.00#Switches#43.17.27.00.00
-unspsc7#43.17.27.06.00#Media filters#43.17.27.00.00
-unspsc7#43.17.27.07.00#Wide area network (WAN) cards#43.17.27.00.00
-unspsc7#43.17.27.08.00#Multistation access units (MAUs)#43.17.27.00.00
-unspsc7#43.17.27.09.00#Data service units (DSUs)#43.17.27.00.00
-unspsc7#43.17.27.10.00#Network adapters#43.17.27.00.00
-unspsc7#43.17.27.11.00#Load balancer#43.17.27.00.00
-unspsc7#43.17.27.12.00#Printer accumulator#43.17.27.00.00
-unspsc7#43.17.27.13.00#Enterprise System Connectivity ESCON Director#43.17.27.00.00
-unspsc7#43.17.27.14.00#Network management system#43.17.27.00.00
-unspsc7#43.17.27.15.00#Firewall firewall appliance#43.17.27.00.00
-unspsc7#43.17.27.16.00#Cable network testers#43.17.27.00.00
-unspsc7#43.17.27.17.00#Data synchronization device#43.17.27.00.00
-unspsc7#43.17.27.18.00#Digital cross connects equipment#43.17.27.00.00
-unspsc7#43.17.27.19.00#Optical cross connects equipment#43.17.27.00.00
-unspsc7#43.17.27.20.00#Screen amplifier#43.17.27.00.00
-unspsc7#43.17.27.21.00#Time divisional multiplex#43.17.27.00.00
-unspsc7#43.17.27.22.00#Connection panels#43.17.27.00.00
-unspsc7#43.17.27.23.00#Voice echo cancellers#43.17.27.00.00
-unspsc7#43.17.27.24.00#Patch panel#43.17.27.00.00
-unspsc7#43.17.28.00.00#Modems and related hardware#43.17.00.00.00
-unspsc7#43.17.28.01.00#Modems or network combo cards#43.17.28.00.00
-unspsc7#43.17.28.02.00#Modems#43.17.28.00.00
-unspsc7#43.17.28.03.00#Integrated services digital network (ISDN) adapters#43.17.28.00.00
-unspsc7#43.17.28.04.00#Modem banks#43.17.28.00.00
-unspsc7#43.17.28.05.00#Modem teleadaptors#43.17.28.00.00
-unspsc7#43.17.28.06.00#Multiplexor MUXs#43.17.28.00.00
-unspsc7#43.17.28.07.00#Add drop multiplexer#43.17.28.00.00
-unspsc7#43.17.29.00.00#Network switches#43.17.00.00.00
-unspsc7#43.17.29.01.00#Local area network (LAN) switches#43.17.29.00.00
-unspsc7#43.17.29.02.00#Asynchronous transfer mode (ATM) switches#43.17.29.00.00
-unspsc7#43.17.29.03.00#Fiber distributed data interface (FDDI) switches#43.17.29.00.00
-unspsc7#43.17.29.04.00#Wide area network (WAN) switches#43.17.29.00.00
-unspsc7#43.17.29.05.00#Intelligent network switching system#43.17.29.00.00
-unspsc7#43.17.30.00.00#Network repeaters#43.17.00.00.00
-unspsc7#43.17.30.01.00#Attached resource computer network (ARCnet) repeaters#43.17.30.00.00
-unspsc7#43.17.30.02.00#Ethernet repeaters#43.17.30.00.00
-unspsc7#43.17.30.03.00#Fiber distributed data interface (FDDI) repeaters#43.17.30.00.00
-unspsc7#43.17.30.04.00#Token ring repeaters#43.17.30.00.00
-unspsc7#43.17.31.00.00#Radio systems#43.17.00.00.00
-unspsc7#43.17.31.01.00#Transmitters#43.17.31.00.00
-unspsc7#43.17.31.02.00#Receivers#43.17.31.00.00
-unspsc7#43.17.31.03.00#Transceivers#43.17.31.00.00
-unspsc7#43.17.31.04.00#Tuners#43.17.31.00.00
-unspsc7#43.17.31.05.00#Short wave equipment#43.17.31.00.00
-unspsc7#43.17.32.00.00#Automated data collection equipment#43.17.00.00.00
-unspsc7#43.17.32.01.00#Bar code equipment#43.17.32.00.00
-unspsc7#43.17.32.02.00#Radio frequency identification (ID) equipment#43.17.32.00.00
-unspsc7#43.17.32.03.00#Radio frequency data communication equipment#43.17.32.00.00
-unspsc7#43.17.32.04.00#Camera based vision systems for automated data collection#43.17.32.00.00
-unspsc7#43.17.32.05.00#Currency recognition equipment#43.17.32.00.00
-unspsc7#43.17.32.06.00#Magnetic card readers#43.17.32.00.00
-unspsc7#43.17.33.00.00#Computer data switches#43.17.00.00.00
-unspsc7#43.17.33.01.00#Serial data switches#43.17.33.00.00
-unspsc7#43.17.33.02.00#Keyboard video mouse (KVM) switch boxes#43.17.33.00.00
-unspsc7#43.17.33.03.00#Manual printer switches#43.17.33.00.00
-unspsc7#43.17.33.04.00#Automatic printer switches#43.17.33.00.00
-unspsc7#43.17.33.05.00#Console switch#43.17.33.00.00
-unspsc7#43.17.33.06.00#Parallel data switches#43.17.33.00.00
-unspsc7#43.17.34.00.00#Computer accessory covers#43.17.00.00.00
-unspsc7#43.17.34.01.00#Key board skins#43.17.34.00.00
-unspsc7#43.17.34.02.00#Notebook or palmtop skins#43.17.34.00.00
-unspsc7#43.17.35.00.00#Key board skins#43.17.00.00.00
-unspsc7#43.17.36.00.00#Computer cables and accessories#43.17.00.00.00
-unspsc7#43.17.36.01.00#Mouse adapter#43.17.36.00.00
-unspsc7#43.17.36.02.00#Keyboard extension cables#43.17.36.00.00
-unspsc7#43.17.36.03.00#Modem cables#43.17.36.00.00
-unspsc7#43.17.36.04.00#Cord covers#43.17.36.00.00
-unspsc7#43.17.36.05.00#Parallel cables#43.17.36.00.00
-unspsc7#43.17.36.06.00#Serial cables#43.17.36.00.00
-unspsc7#43.17.36.07.00#Universal serial bus USB cables#43.17.36.00.00
-unspsc7#43.17.36.08.00#Network patch cables#43.17.36.00.00
-unspsc7#43.17.36.09.00#Computer audio cables#43.17.36.00.00
-unspsc7#43.17.36.10.00#Computer video cables#43.17.36.00.00
-unspsc7#43.17.36.11.00#Inter device link cables#43.17.36.00.00
-unspsc7#43.17.36.12.00#Computer cable kits#43.17.36.00.00
-unspsc7#43.17.36.13.00#Cable jacks or connectors#43.17.36.00.00
-unspsc7#43.17.37.00.00#Storage drive components#43.17.00.00.00
-unspsc7#43.17.37.01.00#Head assemblies or parts#43.17.37.00.00
-unspsc7#43.17.37.02.00#Lead assemblies#43.17.37.00.00
-unspsc7#43.17.37.03.00#Head stack assemblies#43.17.37.00.00
-unspsc7#43.17.37.04.00#Comb assemblies#43.17.37.00.00
-unspsc7#43.17.37.05.00#Crash stops#43.17.37.00.00
-unspsc7#43.17.37.06.00#Platters or disks#43.17.37.00.00
-unspsc7#43.17.37.07.00#Head mounting arms#43.17.37.00.00
-unspsc7#43.17.37.08.00#Read write heads#43.17.37.00.00
-unspsc7#43.17.37.09.00#Motor drives#43.17.37.00.00
-unspsc7#43.18.00.00.00#Communications and computer supplies#43.00.00.00.00
-unspsc7#43.18.15.00.00#Audio recording media#43.18.00.00.00
-unspsc7#43.18.15.01.00#Blank audio tapes#43.18.15.00.00
-unspsc7#43.18.16.00.00#Data storage media#43.18.00.00.00
-unspsc7#43.18.16.01.00#Floppy diskettes#43.18.16.00.00
-unspsc7#43.18.16.02.00#Recordable compact discs (CDs)#43.18.16.00.00
-unspsc7#43.18.16.03.00#Blank data tapes#43.18.16.00.00
-unspsc7#43.18.16.04.00#High density removable media blank disks#43.18.16.00.00
-unspsc7#43.18.16.05.00#Blank digital video discs DVD#43.18.16.00.00
-unspsc7#43.18.16.06.00#Data storage cards#43.18.16.00.00
-unspsc7#43.18.16.07.00#Magneto optical disks#43.18.16.00.00
-unspsc7#43.18.17.00.00#Multimedia storage#43.18.00.00.00
-unspsc7#43.18.17.01.00#Multimedia towers#43.18.17.00.00
-unspsc7#43.18.17.02.00#Multimedia drawers#43.18.17.00.00
-unspsc7#43.18.17.03.00#Compact disc (CD) cases#43.18.17.00.00
-unspsc7#43.18.17.04.00#Diskette holders#43.18.17.00.00
-unspsc7#43.18.17.05.00#Diskette storage#43.18.17.00.00
-unspsc7#43.18.17.06.00#Multimedia trays or organizers#43.18.17.00.00
-unspsc7#43.18.17.07.00#Zip mailers#43.18.17.00.00
-unspsc7#43.18.18.00.00#Monitor stands or risers#43.18.00.00.00
-unspsc7#43.18.19.00.00#Monitor arms#43.18.00.00.00
-unspsc7#44.00.00.00.00#Office Equipment and Accessories and Supplies#44.00.00.00.00
-unspsc7#44.10.00.00.00#Office machines and their supplies and accessories#44.00.00.00.00
-unspsc7#44.10.15.00.00#Duplicating machines#44.10.00.00.00
-unspsc7#44.10.15.01.00#Photocopiers#44.10.15.00.00
-unspsc7#44.10.15.02.00#Facsimile machines#44.10.15.00.00
-unspsc7#44.10.15.03.00#Multifunction machines#44.10.15.00.00
-unspsc7#44.10.16.00.00#Paper processing machines#44.10.00.00.00
-unspsc7#44.10.16.01.00#Paper cutting machines#44.10.16.00.00
-unspsc7#44.10.16.02.00#Paper punching or binding machines#44.10.16.00.00
-unspsc7#44.10.16.03.00#Paper shredding machines or accessories#44.10.16.00.00
-unspsc7#44.10.17.00.00#Printer and photocopier and facsimile accessories#44.10.00.00.00
-unspsc7#44.10.17.01.00#Color options or upgrades#44.10.17.00.00
-unspsc7#44.10.17.02.00#Duplexer trays#44.10.17.00.00
-unspsc7#44.10.17.03.00#Duplexer units#44.10.17.00.00
-unspsc7#44.10.17.04.00#Facsimile handsets#44.10.17.00.00
-unspsc7#44.10.17.05.00#Printer trays or feeders#44.10.17.00.00
-unspsc7#44.10.17.06.00#Photoconductor or imaging units#44.10.17.00.00
-unspsc7#44.10.17.07.00#Stapler units#44.10.17.00.00
-unspsc7#44.10.18.00.00#Calculating machines#44.10.00.00.00
-unspsc7#44.10.18.01.00#Calculators#44.10.18.00.00
-unspsc7#44.10.18.02.00#Adding machines#44.10.18.00.00
-unspsc7#44.10.18.03.00#Accounting machines#44.10.18.00.00
-unspsc7#44.10.18.04.00#Cash registers#44.10.18.00.00
-unspsc7#44.10.19.00.00#Check endorsing and writing machines#44.10.00.00.00
-unspsc7#44.10.19.01.00#Check endorsing machines#44.10.19.00.00
-unspsc7#44.10.19.02.00#Check writing machines#44.10.19.00.00
-unspsc7#44.10.20.00.00#Laminating supplies#44.10.00.00.00
-unspsc7#44.10.20.01.00#Lamination film#44.10.20.00.00
-unspsc7#44.10.20.02.00#Laminator pouches#44.10.20.00.00
-unspsc7#44.10.21.00.00#Mail machines#44.10.00.00.00
-unspsc7#44.10.21.01.00#Franking or postage machines#44.10.21.00.00
-unspsc7#44.10.21.02.00#Mail opening machines#44.10.21.00.00
-unspsc7#44.10.21.03.00#Mail sealing machines#44.10.21.00.00
-unspsc7#44.10.21.04.00#Stamp canceling machines#44.10.21.00.00
-unspsc7#44.10.21.05.00#Addressing machines#44.10.21.00.00
-unspsc7#44.10.21.06.00#Letter folders#44.10.21.00.00
-unspsc7#44.10.22.00.00#Scanner accessories#44.10.00.00.00
-unspsc7#44.10.22.01.00#Endorsers#44.10.22.00.00
-unspsc7#44.10.23.00.00#Packing machines#44.10.00.00.00
-unspsc7#44.10.23.01.00#Bundling machines#44.10.23.00.00
-unspsc7#44.10.23.02.00#Parcel wrapping machines#44.10.23.00.00
-unspsc7#44.10.23.03.00#Seal presses#44.10.23.00.00
-unspsc7#44.10.23.04.00#Sealing machines#44.10.23.00.00
-unspsc7#44.10.23.05.00#Strapping tensioners or sealers#44.10.23.00.00
-unspsc7#44.10.23.06.00#Tying machines#44.10.23.00.00
-unspsc7#44.10.24.00.00#Labeling machines#44.10.00.00.00
-unspsc7#44.10.24.01.00#Tape label makers#44.10.24.00.00
-unspsc7#44.10.24.02.00#Dating or numbering machines#44.10.24.00.00
-unspsc7#44.10.24.03.00#Identification (ID) press machines#44.10.24.00.00
-unspsc7#44.10.24.04.00#Label applying machines#44.10.24.00.00
-unspsc7#44.10.24.05.00#Label making machines#44.10.24.00.00
-unspsc7#44.10.24.06.00#Lettering equipment#44.10.24.00.00
-unspsc7#44.10.24.07.00#Tape embosser#44.10.24.00.00
-unspsc7#44.10.24.08.00#Automatic labeling systems#44.10.24.00.00
-unspsc7#44.10.24.09.00#Semi automatic labeling systems#44.10.24.00.00
-unspsc7#44.10.24.11.00#Label dispensers#44.10.24.00.00
-unspsc7#44.10.25.00.00#Sorting machines#44.10.00.00.00
-unspsc7#44.10.25.01.00#Money counting machines#44.10.25.00.00
-unspsc7#44.10.25.02.00#Sorters#44.10.25.00.00
-unspsc7#44.10.26.00.00#Typing machines and accessories#44.10.00.00.00
-unspsc7#44.10.26.02.00#Typewriters#44.10.26.00.00
-unspsc7#44.10.26.03.00#Printwheels#44.10.26.00.00
-unspsc7#44.10.26.04.00#Stenotype machines#44.10.26.00.00
-unspsc7#44.10.26.05.00#Dictation machines#44.10.26.00.00
-unspsc7#44.10.26.06.00#Typerwriter ribbons#44.10.26.00.00
-unspsc7#44.10.26.07.00#Word processors#44.10.26.00.00
-unspsc7#44.10.26.08.00#Typewriter printing elements#44.10.26.00.00
-unspsc7#44.10.28.00.00#Binding and lamination machines#44.10.00.00.00
-unspsc7#44.10.28.01.00#Laminators#44.10.28.00.00
-unspsc7#44.10.29.00.00#Office machine accessories#44.10.00.00.00
-unspsc7#44.10.29.01.00#Travel kits for office machines#44.10.29.00.00
-unspsc7#44.10.29.02.00#Storage accessories for office machines#44.10.29.00.00
-unspsc7#44.10.29.03.00#Tape cleaners#44.10.29.00.00
-unspsc7#44.10.29.04.00#Air compressed spray#44.10.29.00.00
-unspsc7#44.10.29.05.00#Small paper bags of wet absorbing salts#44.10.29.00.00
-unspsc7#44.10.29.06.00#Computer or office equipment cleaning kit#44.10.29.00.00
-unspsc7#44.10.29.07.00#Equipment dust covers#44.10.29.00.00
-unspsc7#44.10.29.08.00#Compact disc cleaners or scratch removers#44.10.29.00.00
-unspsc7#44.10.29.09.00#Compact disc drive cleaner#44.10.29.00.00
-unspsc7#44.10.29.10.00#Laminator trays#44.10.29.00.00
-unspsc7#44.10.29.11.00#Cleaning wipes for office machines#44.10.29.00.00
-unspsc7#44.10.29.12.00#Cleaning solutions for office equipment#44.10.29.00.00
-unspsc7#44.10.29.13.00#Compact disc destroyer#44.10.29.00.00
-unspsc7#44.10.30.00.00#Fusers and accessories#44.10.00.00.00
-unspsc7#44.10.30.01.00#Fuser cleaning pads#44.10.30.00.00
-unspsc7#44.10.30.02.00#Fuser oil#44.10.30.00.00
-unspsc7#44.10.30.03.00#Fuser wiper#44.10.30.00.00
-unspsc7#44.10.30.04.00#Fusers#44.10.30.00.00
-unspsc7#44.10.31.00.00#Printer and facsimile and photocopier supplies#44.10.00.00.00
-unspsc7#44.10.31.01.00#Printer or facsimile or photocopier belts#44.10.31.00.00
-unspsc7#44.10.31.02.00#Printer or facsimile or photocopier ribbons#44.10.31.00.00
-unspsc7#44.10.31.03.00#Toner#44.10.31.00.00
-unspsc7#44.10.31.04.00#Transfer rolls#44.10.31.00.00
-unspsc7#44.10.31.05.00#Ink cartridges#44.10.31.00.00
-unspsc7#44.10.31.06.00#Ink sticks#44.10.31.00.00
-unspsc7#44.10.31.07.00#Printer or facsimile or photocopier cleaning supplies#44.10.31.00.00
-unspsc7#44.10.31.08.00#Developer for printers or photocopiers#44.10.31.00.00
-unspsc7#44.10.31.09.00#Printer or facsimile or photocopier drums#44.10.31.00.00
-unspsc7#44.10.31.10.00#Print heads#44.10.31.00.00
-unspsc7#44.10.31.11.00#Ink rolls#44.10.31.00.00
-unspsc7#44.10.31.12.00#Printer ribbon#44.10.31.00.00
-unspsc7#44.10.31.13.00#Phasers or inkjet kits#44.10.31.00.00
-unspsc7#44.10.31.14.00#Laserjet coating kits#44.10.31.00.00
-unspsc7#44.10.31.15.00#Imaging films#44.10.31.00.00
-unspsc7#44.10.31.16.00#Kit for printer#44.10.31.00.00
-unspsc7#44.10.31.17.00#Facsimile ribbons#44.10.31.00.00
-unspsc7#44.10.32.00.00#Office time recording machines and accessories#44.10.00.00.00
-unspsc7#44.10.32.01.00#Time card machines#44.10.32.00.00
-unspsc7#44.10.32.02.00#Time stamping machines#44.10.32.00.00
-unspsc7#44.10.32.03.00#Time card machine replacement ribbon#44.10.32.00.00
-unspsc7#44.10.32.04.00#Time card racks#44.10.32.00.00
-unspsc7#44.10.32.05.00#Time cards or sheets#44.10.32.00.00
-unspsc7#44.10.33.00.00#Time card machines#44.10.00.00.00
-unspsc7#44.10.34.00.00#Time stamping machines#44.10.00.00.00
-unspsc7#44.10.35.00.00#Binding machine suplies#44.10.00.00.00
-unspsc7#44.10.35.01.00#Wire binding elements or combs#44.10.35.00.00
-unspsc7#44.10.35.02.00#Binding covers#44.10.35.00.00
-unspsc7#44.11.00.00.00#Office and desk accessories#44.00.00.00.00
-unspsc7#44.11.15.00.00#Organizers and accessories#44.11.00.00.00
-unspsc7#44.11.15.01.00#Message holders or dispensers#44.11.15.00.00
-unspsc7#44.11.15.02.00#Desk drawer organizers#44.11.15.00.00
-unspsc7#44.11.15.03.00#Desktop trays or organizers#44.11.15.00.00
-unspsc7#44.11.15.04.00#Diskette holders#44.11.15.00.00
-unspsc7#44.11.15.05.00#Copy holders#44.11.15.00.00
-unspsc7#44.11.15.06.00#Paper or pad holder#44.11.15.00.00
-unspsc7#44.11.15.07.00#Book ends#44.11.15.00.00
-unspsc7#44.11.15.08.00#Stay put pen or holder#44.11.15.00.00
-unspsc7#44.11.15.09.00#Pen or pencil holders#44.11.15.00.00
-unspsc7#44.11.15.10.00#Hanging organizers or accessories#44.11.15.00.00
-unspsc7#44.11.15.11.00#Display racks or accessories#44.11.15.00.00
-unspsc7#44.11.15.12.00#Literature rack#44.11.15.00.00
-unspsc7#44.11.15.13.00#Supports for diaries or calendars#44.11.15.00.00
-unspsc7#44.11.15.14.00#Stamp racks or organizers#44.11.15.00.00
-unspsc7#44.11.15.15.00#File storage boxes or organizers#44.11.15.00.00
-unspsc7#44.11.16.00.00#Cash handling supplies#44.11.00.00.00
-unspsc7#44.11.16.01.00#Currency bags or wallets#44.11.16.00.00
-unspsc7#44.11.16.02.00#Counterfeit bill detector pens#44.11.16.00.00
-unspsc7#44.11.16.03.00#Coin sorters#44.11.16.00.00
-unspsc7#44.11.16.04.00#Coin wrappers or bill straps#44.11.16.00.00
-unspsc7#44.11.16.05.00#Cash or ticket boxes#44.11.16.00.00
-unspsc7#44.11.16.06.00#Cash box trays#44.11.16.00.00
-unspsc7#44.11.16.07.00#Check files#44.11.16.00.00
-unspsc7#44.11.16.08.00#Coin banks#44.11.16.00.00
-unspsc7#44.11.16.09.00#Counterfeit bill detectors or supplies#44.11.16.00.00
-unspsc7#44.11.18.00.00#Drafting supplies#44.11.00.00.00
-unspsc7#44.11.18.01.00#Stencils or lettering aids#44.11.18.00.00
-unspsc7#44.11.18.02.00#Drafting films#44.11.18.00.00
-unspsc7#44.11.18.03.00#Compasses#44.11.18.00.00
-unspsc7#44.11.18.04.00#Drafting papers#44.11.18.00.00
-unspsc7#44.11.18.05.00#Curves#44.11.18.00.00
-unspsc7#44.11.18.06.00#Protractors#44.11.18.00.00
-unspsc7#44.11.18.07.00#Scales#44.11.18.00.00
-unspsc7#44.11.18.08.00#T squares#44.11.18.00.00
-unspsc7#44.11.18.09.00#Templates#44.11.18.00.00
-unspsc7#44.11.18.10.00#Triangles#44.11.18.00.00
-unspsc7#44.11.18.11.00#Color charts#44.11.18.00.00
-unspsc7#44.11.18.12.00#Drafting kits or sets#44.11.18.00.00
-unspsc7#44.11.18.13.00#Drafting dots or tapes#44.11.18.00.00
-unspsc7#44.11.19.00.00#Boards#44.11.00.00.00
-unspsc7#44.11.19.01.00#Planning boards or accessories#44.11.19.00.00
-unspsc7#44.11.19.02.00#Electronic copyboards or accessories#44.11.19.00.00
-unspsc7#44.11.19.03.00#Easels or accessories#44.11.19.00.00
-unspsc7#44.11.19.04.00#Letter boards or accessories#44.11.19.00.00
-unspsc7#44.11.19.05.00#Dry erase boards or accessories#44.11.19.00.00
-unspsc7#44.11.19.06.00#Chalk boards or accessories#44.11.19.00.00
-unspsc7#44.11.19.07.00#Bulletin boards or accessories#44.11.19.00.00
-unspsc7#44.11.19.08.00#Magnetic boards or accessories#44.11.19.00.00
-unspsc7#44.11.19.09.00#Board cleaning kits or accessories#44.11.19.00.00
-unspsc7#44.11.20.00.00#Planning systems#44.11.00.00.00
-unspsc7#44.11.20.01.00#Address books or refills#44.11.20.00.00
-unspsc7#44.11.20.02.00#Calendars#44.11.20.00.00
-unspsc7#44.11.20.04.00#Meeting planners#44.11.20.00.00
-unspsc7#44.11.20.05.00#Appointment books or refills#44.11.20.00.00
-unspsc7#44.11.20.06.00#Diaries or refills#44.11.20.00.00
-unspsc7#44.11.20.07.00#Suggestion box#44.11.20.00.00
-unspsc7#44.11.20.08.00#Wall planners or refills#44.11.20.00.00
-unspsc7#44.12.00.00.00#Office supplies#44.00.00.00.00
-unspsc7#44.12.15.00.00#Mailing supplies#44.12.00.00.00
-unspsc7#44.12.15.01.00#Mailer tubes#44.12.15.00.00
-unspsc7#44.12.15.03.00#Mailers#44.12.15.00.00
-unspsc7#44.12.15.04.00#Window envelopes#44.12.15.00.00
-unspsc7#44.12.15.05.00#Specialty envelopes#44.12.15.00.00
-unspsc7#44.12.15.06.00#Standard envelopes#44.12.15.00.00
-unspsc7#44.12.15.07.00#Catalog or clasp envelopes#44.12.15.00.00
-unspsc7#44.12.15.08.00#Message droppers#44.12.15.00.00
-unspsc7#44.12.15.09.00#Mailing bags#44.12.15.00.00
-unspsc7#44.12.15.10.00#Mailing seals#44.12.15.00.00
-unspsc7#44.12.15.11.00#Mailing boxes#44.12.15.00.00
-unspsc7#44.12.16.00.00#Desk supplies#44.12.00.00.00
-unspsc7#44.12.16.04.00#Stamps#44.12.16.00.00
-unspsc7#44.12.16.05.00#Tape dispensers#44.12.16.00.00
-unspsc7#44.12.16.06.00#Finger stalls#44.12.16.00.00
-unspsc7#44.12.16.11.00#Paper or eyelet punches#44.12.16.00.00
-unspsc7#44.12.16.12.00#Paper cutters or refills#44.12.16.00.00
-unspsc7#44.12.16.13.00#Staple removers#44.12.16.00.00
-unspsc7#44.12.16.14.00#Call bells#44.12.16.00.00
-unspsc7#44.12.16.15.00#Staplers#44.12.16.00.00
-unspsc7#44.12.16.17.00#Manual letter openers#44.12.16.00.00
-unspsc7#44.12.16.18.00#Scissors#44.12.16.00.00
-unspsc7#44.12.16.19.00#Pencil sharpeners#44.12.16.00.00
-unspsc7#44.12.16.20.00#Finger stalls#44.12.16.00.00
-unspsc7#44.12.16.21.00#Desk pads#44.12.16.00.00
-unspsc7#44.12.16.22.00#Moisteners#44.12.16.00.00
-unspsc7#44.12.16.23.00#Mechanical letter opener#44.12.16.00.00
-unspsc7#44.12.16.24.00#Embossing tools#44.12.16.00.00
-unspsc7#44.12.16.25.00#Paper weights#44.12.16.00.00
-unspsc7#44.12.16.26.00#Adhesive remover#44.12.16.00.00
-unspsc7#44.12.16.27.00#Bookmarks#44.12.16.00.00
-unspsc7#44.12.16.28.00#Clip holders or dispensers#44.12.16.00.00
-unspsc7#44.12.16.29.00#Paper clip dispenser or holder#44.12.16.00.00
-unspsc7#44.12.16.30.00#Stapler kit#44.12.16.00.00
-unspsc7#44.12.16.31.00#Glue dispensers or refills#44.12.16.00.00
-unspsc7#44.12.17.00.00#Writing instruments#44.12.00.00.00
-unspsc7#44.12.17.01.00#Rollerball pens#44.12.17.00.00
-unspsc7#44.12.17.02.00#Pen or pencil sets#44.12.17.00.00
-unspsc7#44.12.17.03.00#Fountain pens#44.12.17.00.00
-unspsc7#44.12.17.04.00#Ball point pens#44.12.17.00.00
-unspsc7#44.12.17.05.00#Mechanical pencils#44.12.17.00.00
-unspsc7#44.12.17.06.00#Wooden pencils#44.12.17.00.00
-unspsc7#44.12.17.07.00#Colored pencils#44.12.17.00.00
-unspsc7#44.12.17.08.00#Markers#44.12.17.00.00
-unspsc7#44.12.17.09.00#Crayons#44.12.17.00.00
-unspsc7#44.12.17.10.00#Writing chalk or accessories#44.12.17.00.00
-unspsc7#44.12.17.11.00#Felt pen#44.12.17.00.00
-unspsc7#44.12.17.12.00#Marker refills#44.12.17.00.00
-unspsc7#44.12.17.13.00#Pen nibs#44.12.17.00.00
-unspsc7#44.12.17.14.00#Pencil or pen grips#44.12.17.00.00
-unspsc7#44.12.17.15.00#Combination pen or pencil#44.12.17.00.00
-unspsc7#44.12.18.00.00#Correction media#44.12.00.00.00
-unspsc7#44.12.18.01.00#Correction film or tape#44.12.18.00.00
-unspsc7#44.12.18.02.00#Correction fluid#44.12.18.00.00
-unspsc7#44.12.18.04.00#Erasers#44.12.18.00.00
-unspsc7#44.12.18.05.00#Correction pens#44.12.18.00.00
-unspsc7#44.12.18.06.00#Correction pen refills#44.12.18.00.00
-unspsc7#44.12.18.07.00#Eraser refills#44.12.18.00.00
-unspsc7#44.12.19.00.00#Ink and lead refills#44.12.00.00.00
-unspsc7#44.12.19.01.00#India ink#44.12.19.00.00
-unspsc7#44.12.19.02.00#Lead refills#44.12.19.00.00
-unspsc7#44.12.19.03.00#Pen refills#44.12.19.00.00
-unspsc7#44.12.19.04.00#Ink refills#44.12.19.00.00
-unspsc7#44.12.19.05.00#Ink or stamp pads#44.12.19.00.00
-unspsc7#44.12.20.00.00#Folders and binders and indexes#44.12.00.00.00
-unspsc7#44.12.20.01.00#Index card files#44.12.20.00.00
-unspsc7#44.12.20.02.00#Sheet protectors#44.12.20.00.00
-unspsc7#44.12.20.03.00#Binders#44.12.20.00.00
-unspsc7#44.12.20.04.00#Data binders#44.12.20.00.00
-unspsc7#44.12.20.05.00#Magazine or book covers#44.12.20.00.00
-unspsc7#44.12.20.06.00#Hanging file folders#44.12.20.00.00
-unspsc7#44.12.20.07.00#Presentation binders#44.12.20.00.00
-unspsc7#44.12.20.08.00#Tab indexes#44.12.20.00.00
-unspsc7#44.12.20.09.00#Rotary or business card files#44.12.20.00.00
-unspsc7#44.12.20.10.00#Dividers#44.12.20.00.00
-unspsc7#44.12.20.11.00#Folders#44.12.20.00.00
-unspsc7#44.12.20.12.00#Clipboards#44.12.20.00.00
-unspsc7#44.12.20.13.00#Report covers#44.12.20.00.00
-unspsc7#44.12.20.14.00#Sheet lifters#44.12.20.00.00
-unspsc7#44.12.20.15.00#File backers#44.12.20.00.00
-unspsc7#44.12.20.16.00#Document holder#44.12.20.00.00
-unspsc7#44.12.20.17.00#Hanging folders or accessories#44.12.20.00.00
-unspsc7#44.12.20.18.00#File inserts or tabs#44.12.20.00.00
-unspsc7#44.12.20.19.00#File pockets or accessories#44.12.20.00.00
-unspsc7#44.12.20.20.00#Card pockets#44.12.20.00.00
-unspsc7#44.12.20.21.00#Postage stamp albums#44.12.20.00.00
-unspsc7#44.12.20.22.00#Binding bars#44.12.20.00.00
-unspsc7#44.12.21.00.00#Fastening supplies#44.12.00.00.00
-unspsc7#44.12.21.01.00#Rubber bands#44.12.21.00.00
-unspsc7#44.12.21.02.00#Prongs#44.12.21.00.00
-unspsc7#44.12.21.03.00#Clasp fasteners#44.12.21.00.00
-unspsc7#44.12.21.04.00#Paper clips#44.12.21.00.00
-unspsc7#44.12.21.05.00#Binder or bulldog clips#44.12.21.00.00
-unspsc7#44.12.21.06.00#Pins or tacks#44.12.21.00.00
-unspsc7#44.12.21.07.00#Staples#44.12.21.00.00
-unspsc7#44.12.21.08.00#Filing pockets#44.12.21.00.00
-unspsc7#44.12.21.09.00#Velcro fasteners#44.12.21.00.00
-unspsc7#44.12.21.10.00#Adhesive mounts#44.12.21.00.00
-unspsc7#44.12.21.11.00#Hole reinforcements#44.12.21.00.00
-unspsc7#44.12.21.12.00#Round head fasteners#44.12.21.00.00
-unspsc7#44.12.21.13.00#Tag fasteners#44.12.21.00.00
-unspsc7#44.12.21.14.00#Screw posts#44.12.21.00.00
-unspsc7#44.12.21.15.00#Adhesive corners#44.12.21.00.00
-unspsc7#44.12.21.16.00#Bag clips#44.12.21.00.00
-unspsc7#44.12.21.17.00#Book rings#44.12.21.00.00
-unspsc7#45.00.00.00.00#Printing and Photographic and Audio and Visual Equipment and Supplies#45.00.00.00.00
-unspsc7#45.10.00.00.00#Printing and publishing equipment#45.00.00.00.00
-unspsc7#45.10.15.00.00#Printing machinery and equipment#45.10.00.00.00
-unspsc7#45.10.15.01.00#Heliographic printers#45.10.15.00.00
-unspsc7#45.10.15.02.00#Offset printing presses#45.10.15.00.00
-unspsc7#45.10.15.03.00#Letterpress equipment#45.10.15.00.00
-unspsc7#45.10.15.04.00#Lithographic equipment#45.10.15.00.00
-unspsc7#45.10.15.05.00#Photogravure printing machines#45.10.15.00.00
-unspsc7#45.10.15.06.00#Silk screen printing machines#45.10.15.00.00
-unspsc7#45.10.15.07.00#Printing presses#45.10.15.00.00
-unspsc7#45.10.15.08.00#Perforating machines#45.10.15.00.00
-unspsc7#45.10.15.09.00#Ultraviolet (UV) rotary printer#45.10.15.00.00
-unspsc7#45.10.15.10.00#Flexographic printer#45.10.15.00.00
-unspsc7#45.10.15.11.00#Inkjet printer for commercial printing applications#45.10.15.00.00
-unspsc7#45.10.15.12.00#Thermal transfer printer for commercial printing applications#45.10.15.00.00
-unspsc7#45.10.15.13.00#Hot stamp printer#45.10.15.00.00
-unspsc7#45.10.15.14.00#Pad printer#45.10.15.00.00
-unspsc7#45.10.15.15.00#Core printer#45.10.15.00.00
-unspsc7#45.10.16.00.00#Printing machinery accessories#45.10.00.00.00
-unspsc7#45.10.16.02.00#Offset darkroom equipment#45.10.16.00.00
-unspsc7#45.10.16.03.00#Offset printing consumables#45.10.16.00.00
-unspsc7#45.10.16.04.00#Offset printing plate processors#45.10.16.00.00
-unspsc7#45.10.16.05.00#Offset plates#45.10.16.00.00
-unspsc7#45.10.16.06.00#Offset film processors#45.10.16.00.00
-unspsc7#45.10.16.07.00#Silk screen arc lamps#45.10.16.00.00
-unspsc7#45.10.16.08.00#Silk screen screens#45.10.16.00.00
-unspsc7#45.10.16.09.00#Silk screen printing racks#45.10.16.00.00
-unspsc7#45.10.16.10.00#Silk screen vacuum printing frames#45.10.16.00.00
-unspsc7#45.10.16.11.00#Silk screen squeegees#45.10.16.00.00
-unspsc7#45.10.17.00.00#Printing accessories#45.10.00.00.00
-unspsc7#45.10.17.01.00#Printing assemblers#45.10.17.00.00
-unspsc7#45.10.17.02.00#Printing guillotines#45.10.17.00.00
-unspsc7#45.10.17.03.00#Printing collators or decollators#45.10.17.00.00
-unspsc7#45.10.17.04.00#Printing cutters#45.10.17.00.00
-unspsc7#45.10.17.05.00#Printing trimmers#45.10.17.00.00
-unspsc7#45.10.17.06.00#Printing punches#45.10.17.00.00
-unspsc7#45.10.17.07.00#Printing plates#45.10.17.00.00
-unspsc7#45.10.17.08.00#Printing awls#45.10.17.00.00
-unspsc7#45.10.18.00.00#Book binding and sewing machinery#45.10.00.00.00
-unspsc7#45.10.18.01.00#Book creasing machines#45.10.18.00.00
-unspsc7#45.10.18.02.00#Book cutting machines#45.10.18.00.00
-unspsc7#45.10.18.03.00#Book punching machines#45.10.18.00.00
-unspsc7#45.10.18.04.00#Book stitching machines#45.10.18.00.00
-unspsc7#45.10.18.05.00#Book jogging machines#45.10.18.00.00
-unspsc7#45.10.18.06.00#Book gathering machines#45.10.18.00.00
-unspsc7#45.10.18.07.00#Book folding machines#45.10.18.00.00
-unspsc7#45.10.19.00.00#Printing laboratory equipment and accessories#45.10.00.00.00
-unspsc7#45.10.19.01.00#Banding machines#45.10.19.00.00
-unspsc7#45.10.19.02.00#Platemakers#45.10.19.00.00
-unspsc7#45.10.19.03.00#Paper drilling machines#45.10.19.00.00
-unspsc7#45.10.19.04.00#Enlargers#45.10.19.00.00
-unspsc7#45.10.19.05.00#Drawing or retouching boards#45.10.19.00.00
-unspsc7#45.10.20.00.00#Composing machines and accessories#45.10.00.00.00
-unspsc7#45.10.20.01.00#Intertype composing machines#45.10.20.00.00
-unspsc7#45.10.20.02.00#Linotype composing machines#45.10.20.00.00
-unspsc7#45.10.20.03.00#Photocomposition materials#45.10.20.00.00
-unspsc7#45.10.20.04.00#Monotype composing machines#45.10.20.00.00
-unspsc7#45.10.20.05.00#Phototypesetting machines#45.10.20.00.00
-unspsc7#45.11.00.00.00#Audio and visual presentation equipment#45.00.00.00.00
-unspsc7#45.11.15.00.00#Lecterns and sound systems and accessories#45.11.00.00.00
-unspsc7#45.11.15.01.00#Free standing lecterns#45.11.15.00.00
-unspsc7#45.11.15.02.00#Table top lecterns#45.11.15.00.00
-unspsc7#45.11.16.00.00#Projectors and supplies#45.11.00.00.00
-unspsc7#45.11.16.01.00#Pointers#45.11.16.00.00
-unspsc7#45.11.16.02.00#Projection bulbs#45.11.16.00.00
-unspsc7#45.11.16.03.00#Projection screens#45.11.16.00.00
-unspsc7#45.11.16.04.00#Slide projectors#45.11.16.00.00
-unspsc7#45.11.16.05.00#Transparency equipment or supplies#45.11.16.00.00
-unspsc7#45.11.16.06.00#Liquid crystal display projection panels#45.11.16.00.00
-unspsc7#45.11.16.07.00#Overhead projectors#45.11.16.00.00
-unspsc7#45.11.16.08.00#Film projectors#45.11.16.00.00
-unspsc7#45.11.16.09.00#Computer screen projector#45.11.16.00.00
-unspsc7#45.11.16.10.00#Epidiascopes#45.11.16.00.00
-unspsc7#45.11.16.11.00#Microfiche or microfilm viewers#45.11.16.00.00
-unspsc7#45.11.16.12.00#Dissolve controls#45.11.16.00.00
-unspsc7#45.11.16.13.00#Cathode ray tube data#45.11.16.00.00
-unspsc7#45.11.16.14.00#Liquid crystal display data or video projector#45.11.16.00.00
-unspsc7#45.11.16.15.00#Projection lenses#45.11.16.00.00
-unspsc7#45.11.16.16.00#Video projectors#45.11.16.00.00
-unspsc7#45.11.16.18.00#Presentation light boxes#45.11.16.00.00
-unspsc7#45.11.17.00.00#Audio presentation equipment and hardware and controllers#45.11.00.00.00
-unspsc7#45.11.17.01.00#Assistive listening devices#45.11.17.00.00
-unspsc7#45.11.17.02.00#Audio jack boxes#45.11.17.00.00
-unspsc7#45.11.17.03.00#Listening centers#45.11.17.00.00
-unspsc7#45.11.18.00.00#Video and combination video and audio presentation equipment and hardware and controllers#45.11.00.00.00
-unspsc7#45.11.18.01.00#Media control systems#45.11.18.00.00
-unspsc7#45.11.18.02.00#Television mounts#45.11.18.00.00
-unspsc7#45.11.18.03.00#Scan converters#45.11.18.00.00
-unspsc7#45.11.18.04.00#Line doublers#45.11.18.00.00
-unspsc7#45.11.18.05.00#Video editors#45.11.18.00.00
-unspsc7#45.11.18.06.00#Distance learning systems#45.11.18.00.00
-unspsc7#45.11.18.07.00#Interfaces#45.11.18.00.00
-unspsc7#45.11.18.08.00#Lighting controls#45.11.18.00.00
-unspsc7#45.11.19.00.00#Phone and video conference equipment and hardware and controllers#45.11.00.00.00
-unspsc7#45.11.19.01.00#Audioconferencing systems#45.11.19.00.00
-unspsc7#45.11.19.02.00#Videoconferencing systems#45.11.19.00.00
-unspsc7#45.12.00.00.00#Photographic equipment#45.00.00.00.00
-unspsc7#45.12.15.00.00#Cameras#45.12.00.00.00
-unspsc7#45.12.15.01.00#Still cameras#45.12.15.00.00
-unspsc7#45.12.15.02.00#Instant print cameras#45.12.15.00.00
-unspsc7#45.12.15.03.00#Disposable cameras#45.12.15.00.00
-unspsc7#45.12.15.04.00#Digital cameras#45.12.15.00.00
-unspsc7#45.12.15.05.00#Cinematographic cameras#45.12.15.00.00
-unspsc7#45.12.15.06.00#Video conference cameras#45.12.15.00.00
-unspsc7#45.12.15.08.00#Microfilm cameras#45.12.15.00.00
-unspsc7#45.12.15.10.00#Aerial cameras#45.12.15.00.00
-unspsc7#45.12.15.11.00#High speed cameras#45.12.15.00.00
-unspsc7#45.12.15.12.00#Underwater cameras#45.12.15.00.00
-unspsc7#45.12.15.13.00#Offset cameras#45.12.15.00.00
-unspsc7#45.12.15.14.00#Photocopier cameras#45.12.15.00.00
-unspsc7#45.12.15.15.00#Hand held camcorders#45.12.15.00.00
-unspsc7#45.12.15.16.00#Digital camcorder#45.12.15.00.00
-unspsc7#45.12.15.17.00#Document camera#45.12.15.00.00
-unspsc7#45.12.15.18.00#Camera kits#45.12.15.00.00
-unspsc7#45.12.16.00.00#Camera accessories#45.12.00.00.00
-unspsc7#45.12.16.01.00#Camera flashes or lighting#45.12.16.00.00
-unspsc7#45.12.16.02.00#Camera tripods#45.12.16.00.00
-unspsc7#45.12.16.03.00#Camera lenses or filters#45.12.16.00.00
-unspsc7#45.12.16.04.00#Camera shutters#45.12.16.00.00
-unspsc7#45.12.16.05.00#Screen frames#45.12.16.00.00
-unspsc7#45.12.16.06.00#Camera harnesses#45.12.16.00.00
-unspsc7#45.12.16.07.00#Camera blocks or holders#45.12.16.00.00
-unspsc7#45.12.16.08.00#Camera assemblies#45.12.16.00.00
-unspsc7#45.12.16.09.00#Camera brackets#45.12.16.00.00
-unspsc7#45.12.16.10.00#Camera cables#45.12.16.00.00
-unspsc7#45.12.16.11.00#Lens cover#45.12.16.00.00
-unspsc7#45.12.16.12.00#Camera tables#45.12.16.00.00
-unspsc7#45.12.16.13.00#Camera enclosures or covers#45.12.16.00.00
-unspsc7#45.12.16.14.00#Retrofit kits#45.12.16.00.00
-unspsc7#45.12.16.15.00#Camera rings#45.12.16.00.00
-unspsc7#45.12.16.16.00#Pan heads#45.12.16.00.00
-unspsc7#45.12.17.00.00#Photographic processing equipment#45.12.00.00.00
-unspsc7#45.12.17.01.00#Film driers#45.12.17.00.00
-unspsc7#45.12.17.02.00#Film washers#45.12.17.00.00
-unspsc7#45.12.17.03.00#Film splicers#45.12.17.00.00
-unspsc7#45.12.17.04.00#Film editors#45.12.17.00.00
-unspsc7#45.12.17.05.00#Photographic enlargers#45.12.17.00.00
-unspsc7#45.13.00.00.00#Photographic and recording media#45.00.00.00.00
-unspsc7#45.13.15.00.00#Still picture film#45.13.00.00.00
-unspsc7#45.13.15.01.00#Color film#45.13.15.00.00
-unspsc7#45.13.15.02.00#Black and white film#45.13.15.00.00
-unspsc7#45.13.15.03.00#Instant picture film#45.13.15.00.00
-unspsc7#45.13.15.04.00#Microfilm#45.13.15.00.00
-unspsc7#45.13.15.05.00#X ray film#45.13.15.00.00
-unspsc7#45.13.15.06.00#Photography paper#45.13.15.00.00
-unspsc7#45.13.16.00.00#Moving picture media#45.13.00.00.00
-unspsc7#45.13.16.01.00#Motion picture camera film#45.13.16.00.00
-unspsc7#45.13.16.04.00#Blank video tapes#45.13.16.00.00
-unspsc7#45.13.17.00.00#Media storage#45.13.00.00.00
-unspsc7#45.13.17.01.00#Slide trays#45.13.17.00.00
-unspsc7#45.14.00.00.00#Photographic filmmaking supplies#45.00.00.00.00
-unspsc7#45.14.15.00.00#Photographic processing chemicals#45.14.00.00.00
-unspsc7#45.14.15.01.00#Developer solution#45.14.15.00.00
-unspsc7#45.14.15.02.00#Fixative#45.14.15.00.00
-unspsc7#45.14.16.00.00#Darkroom supplies#45.14.00.00.00
-unspsc7#45.14.16.01.00#Developing trays#45.14.16.00.00
-unspsc7#45.14.16.02.00#Developing tanks#45.14.16.00.00
-unspsc7#45.14.16.03.00#Developing tongs#45.14.16.00.00
-unspsc7#46.00.00.00.00#Defense and Law Enforcement and Security and Safety Equipment and Supplies#46.00.00.00.00
-unspsc7#46.10.00.00.00#Light weapons and ammunition#46.00.00.00.00
-unspsc7#46.10.15.00.00#Firearms#46.10.00.00.00
-unspsc7#46.10.15.01.00#Machine guns#46.10.15.00.00
-unspsc7#46.10.15.02.00#Police or security shotguns#46.10.15.00.00
-unspsc7#46.10.15.03.00#Military rifles#46.10.15.00.00
-unspsc7#46.10.15.04.00#Handguns#46.10.15.00.00
-unspsc7#46.10.15.05.00#Air rifles or air handguns#46.10.15.00.00
-unspsc7#46.10.15.06.00#Parts of guns or pistols#46.10.15.00.00
-unspsc7#46.10.16.00.00#Ammunition#46.10.00.00.00
-unspsc7#46.10.16.01.00#Defense or law enforcement ammunition#46.10.16.00.00
-unspsc7#46.10.17.00.00#Ammunition handling systems#46.10.00.00.00
-unspsc7#46.10.17.01.00#Tank ammunition handling systems#46.10.17.00.00
-unspsc7#46.10.17.02.00#Aircraft ammunition handling systems#46.10.17.00.00
-unspsc7#46.10.18.00.00#Arms and ammunition accessories#46.10.00.00.00
-unspsc7#46.10.18.01.00#Gun cases#46.10.18.00.00
-unspsc7#46.11.00.00.00#Conventional war weapons#46.00.00.00.00
-unspsc7#46.11.15.00.00#Bombs and grenades#46.11.00.00.00
-unspsc7#46.11.15.01.00#Grenades#46.11.15.00.00
-unspsc7#46.11.15.02.00#Mines#46.11.15.00.00
-unspsc7#46.11.15.03.00#Mortar bombs#46.11.15.00.00
-unspsc7#46.11.16.00.00#Gun systems#46.11.00.00.00
-unspsc7#46.11.16.01.00#Chain gun systems#46.11.16.00.00
-unspsc7#46.11.16.02.00#Gatling gun systems#46.11.16.00.00
-unspsc7#46.11.17.00.00#Infrared (IR) sensors#46.11.00.00.00
-unspsc7#46.11.17.01.00#Infrared (IR) coolers#46.11.17.00.00
-unspsc7#46.11.17.02.00#Infrared (IR) detectors#46.11.17.00.00
-unspsc7#46.11.18.00.00#Naval weapons#46.11.00.00.00
-unspsc7#46.11.18.01.00#Torpedoes#46.11.18.00.00
-unspsc7#46.12.00.00.00#Missiles#46.00.00.00.00
-unspsc7#46.12.15.00.00#Guided missiles#46.12.00.00.00
-unspsc7#46.12.15.01.00#Air to air missiles#46.12.15.00.00
-unspsc7#46.12.15.02.00#Antiaircraft missiles#46.12.15.00.00
-unspsc7#46.12.15.03.00#Antimissile missiles#46.12.15.00.00
-unspsc7#46.12.15.04.00#Antiship missiles#46.12.15.00.00
-unspsc7#46.12.15.05.00#Antitank missiles#46.12.15.00.00
-unspsc7#46.12.15.06.00#Ballistic missiles#46.12.15.00.00
-unspsc7#46.12.15.07.00#Cruise missiles#46.12.15.00.00
-unspsc7#46.12.15.08.00#Surface to air missiles#46.12.15.00.00
-unspsc7#46.12.15.09.00#Antiballistic missiles#46.12.15.00.00
-unspsc7#46.12.15.10.00#Surface to surface missiles#46.12.15.00.00
-unspsc7#46.12.15.11.00#Air to surface missiles#46.12.15.00.00
-unspsc7#46.12.15.12.00#Training missiles#46.12.15.00.00
-unspsc7#46.12.16.00.00#Missile subsystems#46.12.00.00.00
-unspsc7#46.12.16.01.00#Electronic safe or arm devices#46.12.16.00.00
-unspsc7#46.12.16.02.00#Solid missile boosters#46.12.16.00.00
-unspsc7#46.12.16.03.00#Missile warheads#46.12.16.00.00
-unspsc7#46.12.16.04.00#Safety pin pullers#46.12.16.00.00
-unspsc7#46.12.16.05.00#Jet reaction control assemblies#46.12.16.00.00
-unspsc7#46.13.00.00.00#Rockets and subsystems#46.00.00.00.00
-unspsc7#46.13.15.00.00#Launch vehicles and rockets#46.13.00.00.00
-unspsc7#46.13.15.01.00#Multi stage rockets#46.13.15.00.00
-unspsc7#46.13.15.02.00#Reusable rockets#46.13.15.00.00
-unspsc7#46.13.15.03.00#Single stage rockets#46.13.15.00.00
-unspsc7#46.13.15.04.00#Liquid rockets#46.13.15.00.00
-unspsc7#46.13.15.05.00#Solid rockets#46.13.15.00.00
-unspsc7#46.13.16.00.00#Boosters#46.13.00.00.00
-unspsc7#46.13.16.01.00#Reusable boosters#46.13.16.00.00
-unspsc7#46.13.16.02.00#Solid boosters#46.13.16.00.00
-unspsc7#46.13.16.03.00#Multi stage boosters#46.13.16.00.00
-unspsc7#46.13.16.04.00#Liquid boosters#46.13.16.00.00
-unspsc7#46.14.00.00.00#Launchers#46.00.00.00.00
-unspsc7#46.14.15.00.00#Missile and rocket launchers#46.14.00.00.00
-unspsc7#46.14.15.01.00#Missile launchers#46.14.15.00.00
-unspsc7#46.14.15.02.00#Rocket launchers#46.14.15.00.00
-unspsc7#46.15.00.00.00#Law enforcement#46.00.00.00.00
-unspsc7#46.15.15.00.00#Crowd control equipment#46.15.00.00.00
-unspsc7#46.15.15.01.00#Barricades#46.15.15.00.00
-unspsc7#46.15.15.02.00#Riot helmets#46.15.15.00.00
-unspsc7#46.15.15.03.00#Riot shields#46.15.15.00.00
-unspsc7#46.15.15.04.00#Body armour#46.15.15.00.00
-unspsc7#46.15.15.05.00#Barriers#46.15.15.00.00
-unspsc7#46.15.16.00.00#Security and control equipment#46.15.00.00.00
-unspsc7#46.15.16.01.00#Handcuffs#46.15.16.00.00
-unspsc7#46.15.16.02.00#Night sticks#46.15.16.00.00
-unspsc7#46.15.16.03.00#Fingerprint equipment#46.15.16.00.00
-unspsc7#46.15.16.04.00#Alcohol analysers#46.15.16.00.00
-unspsc7#46.15.16.05.00#Weapons or explosives detectors#46.15.16.00.00
-unspsc7#46.15.16.06.00#Narcotic test kits#46.15.16.00.00
-unspsc7#46.16.00.00.00#Public safety and control#46.00.00.00.00
-unspsc7#46.16.15.00.00#Traffic control#46.16.00.00.00
-unspsc7#46.16.15.01.00#Airport signaling systems#46.16.15.00.00
-unspsc7#46.16.15.02.00#Railway signaling systems#46.16.15.00.00
-unspsc7#46.16.15.03.00#Marine signaling systems#46.16.15.00.00
-unspsc7#46.16.15.04.00#Traffic signals#46.16.15.00.00
-unspsc7#46.16.15.05.00#Parking meters#46.16.15.00.00
-unspsc7#46.16.15.06.00#Snow or ice melter#46.16.15.00.00
-unspsc7#46.16.15.07.00#Barrier tape#46.16.15.00.00
-unspsc7#46.16.15.08.00#Traffic or floor cones#46.16.15.00.00
-unspsc7#46.16.15.09.00#Speed stoppers#46.16.15.00.00
-unspsc7#46.16.16.00.00#Water safety#46.16.00.00.00
-unspsc7#46.16.16.01.00#Rope float lines#46.16.16.00.00
-unspsc7#46.16.16.02.00#Life rings#46.16.16.00.00
-unspsc7#46.16.16.03.00#Pool alarms#46.16.16.00.00
-unspsc7#46.16.16.04.00#Life vests or preservers#46.16.16.00.00
-unspsc7#46.17.00.00.00#Security surveillance and detection#46.00.00.00.00
-unspsc7#46.17.15.00.00#Locks and security hardware#46.17.00.00.00
-unspsc7#46.17.15.01.00#Padlocks#46.17.15.00.00
-unspsc7#46.17.15.02.00#Cable locks#46.17.15.00.00
-unspsc7#46.17.15.03.00#Lock sets#46.17.15.00.00
-unspsc7#46.17.15.04.00#Pushbutton locks#46.17.15.00.00
-unspsc7#46.17.15.05.00#Keys or accessories#46.17.15.00.00
-unspsc7#46.17.15.06.00#Safes#46.17.15.00.00
-unspsc7#46.17.15.07.00#Security bars#46.17.15.00.00
-unspsc7#46.17.15.08.00#Number locks#46.17.15.00.00
-unspsc7#46.17.15.09.00#Key cabinets#46.17.15.00.00
-unspsc7#46.17.15.10.00#Time locks#46.17.15.00.00
-unspsc7#46.17.15.11.00#Lockout devices#46.17.15.00.00
-unspsc7#46.17.15.12.00#Instrument locks#46.17.15.00.00
-unspsc7#46.17.15.13.00#Locking cam#46.17.15.00.00
-unspsc7#46.17.15.14.00#Security chains or accessories#46.17.15.00.00
-unspsc7#46.17.16.00.00#Surveillance and detection equipment#46.17.00.00.00
-unspsc7#46.17.16.02.00#Safety horns#46.17.16.00.00
-unspsc7#46.17.16.03.00#Clock timers#46.17.16.00.00
-unspsc7#46.17.16.04.00#Alarm systems#46.17.16.00.00
-unspsc7#46.17.16.05.00#Door chimes#46.17.16.00.00
-unspsc7#46.17.16.06.00#Sirens#46.17.16.00.00
-unspsc7#46.17.16.07.00#Buzzers#46.17.16.00.00
-unspsc7#46.17.16.08.00#Motion detectors#46.17.16.00.00
-unspsc7#46.17.16.09.00#Convex security mirrors#46.17.16.00.00
-unspsc7#46.17.16.10.00#Security cameras#46.17.16.00.00
-unspsc7#46.17.16.11.00#Video identification systems#46.17.16.00.00
-unspsc7#46.17.16.12.00#Video monitors#46.17.16.00.00
-unspsc7#46.17.16.13.00#Gas detectors#46.17.16.00.00
-unspsc7#46.17.16.14.00#Surveillance cameras#46.17.16.00.00
-unspsc7#46.17.16.15.00#Light enhancing cameras or vision devices#46.17.16.00.00
-unspsc7#46.17.16.16.00#Radar detectors#46.17.16.00.00
-unspsc7#46.17.16.17.00#Door eyes#46.17.16.00.00
-unspsc7#46.17.16.18.00#Door bells#46.17.16.00.00
-unspsc7#46.18.00.00.00#Personal safety and protection#46.00.00.00.00
-unspsc7#46.18.15.00.00#Safety apparel#46.18.00.00.00
-unspsc7#46.18.15.01.00#Protective aprons#46.18.15.00.00
-unspsc7#46.18.15.02.00#Bullet proof vests#46.18.15.00.00
-unspsc7#46.18.15.03.00#Protective coveralls#46.18.15.00.00
-unspsc7#46.18.15.04.00#Protective gloves#46.18.15.00.00
-unspsc7#46.18.15.05.00#Protective knee pads#46.18.15.00.00
-unspsc7#46.18.15.06.00#Protective ponchos#46.18.15.00.00
-unspsc7#46.18.15.07.00#Safety vests#46.18.15.00.00
-unspsc7#46.18.15.08.00#Fire retardant apparel#46.18.15.00.00
-unspsc7#46.18.15.09.00#Hazardous material protective apparel#46.18.15.00.00
-unspsc7#46.18.15.10.00#Fire retardant gloves#46.18.15.00.00
-unspsc7#46.18.15.11.00#Hazardous material protective goods#46.18.15.00.00
-unspsc7#46.18.15.12.00#Cleanroom apparel#46.18.15.00.00
-unspsc7#46.18.15.13.00#Cleanroom gloves#46.18.15.00.00
-unspsc7#46.18.15.14.00#Elbow protectors#46.18.15.00.00
-unspsc7#46.18.15.15.00#Insecticide protective clothing#46.18.15.00.00
-unspsc7#46.18.15.16.00#Safety sleeves#46.18.15.00.00
-unspsc7#46.18.15.17.00#Insulated or flotation suits#46.18.15.00.00
-unspsc7#46.18.15.18.00#Heat resistant clothing#46.18.15.00.00
-unspsc7#46.18.15.19.00#Safety harnesses or belts#46.18.15.00.00
-unspsc7#46.18.15.20.00#Leg protectors#46.18.15.00.00
-unspsc7#46.18.15.21.00#Radiation protection clothing or coats#46.18.15.00.00
-unspsc7#46.18.15.22.00#Safety hoods#46.18.15.00.00
-unspsc7#46.18.15.23.00#Insulated clothing for cold environments#46.18.15.00.00
-unspsc7#46.18.15.24.00#Personal flotation devices#46.18.15.00.00
-unspsc7#46.18.15.25.00#Protective rainwear or wet environment apparel#46.18.15.00.00
-unspsc7#46.18.15.26.00#Protective shirts#46.18.15.00.00
-unspsc7#46.18.15.27.00#Protective pants#46.18.15.00.00
-unspsc7#46.18.15.28.00#Protective frock#46.18.15.00.00
-unspsc7#46.18.15.29.00#Insulated clothing for cold environments#46.18.15.00.00
-unspsc7#46.18.15.30.00#Protective finger cots#46.18.15.00.00
-unspsc7#46.18.15.31.00#Reflective suspenders#46.18.15.00.00
-unspsc7#46.18.15.32.00#Lab coats#46.18.15.00.00
-unspsc7#46.18.16.00.00#Safety footwear#46.18.00.00.00
-unspsc7#46.18.16.01.00#Fire retardant footwear#46.18.16.00.00
-unspsc7#46.18.16.02.00#Hazardous material protective footwear#46.18.16.00.00
-unspsc7#46.18.16.03.00#Cleanroom footwear#46.18.16.00.00
-unspsc7#46.18.16.04.00#Safety boots#46.18.16.00.00
-unspsc7#46.18.16.05.00#Safety shoes#46.18.16.00.00
-unspsc7#46.18.16.06.00#Footwear covers#46.18.16.00.00
-unspsc7#46.18.17.00.00#Face and head protection#46.18.00.00.00
-unspsc7#46.18.17.01.00#Hard hats#46.18.17.00.00
-unspsc7#46.18.17.02.00#Facial shields#46.18.17.00.00
-unspsc7#46.18.17.03.00#Welding masks#46.18.17.00.00
-unspsc7#46.18.17.04.00#Safety helmets#46.18.17.00.00
-unspsc7#46.18.17.05.00#Motorcycle helmets#46.18.17.00.00
-unspsc7#46.18.17.06.00#Helmet parts or accessories#46.18.17.00.00
-unspsc7#46.18.18.00.00#Vision protection and accessories#46.18.00.00.00
-unspsc7#46.18.18.01.00#Eyewear holders#46.18.18.00.00
-unspsc7#46.18.18.02.00#Safety glasses#46.18.18.00.00
-unspsc7#46.18.18.03.00#Eye shields#46.18.18.00.00
-unspsc7#46.18.18.04.00#Goggles#46.18.18.00.00
-unspsc7#46.18.18.05.00#Video display filters#46.18.18.00.00
-unspsc7#46.18.18.06.00#Lens cleaner#46.18.18.00.00
-unspsc7#46.18.19.00.00#Hearing protectors#46.18.00.00.00
-unspsc7#46.18.19.01.00#Ear plugs#46.18.19.00.00
-unspsc7#46.18.19.02.00#Ear muffs#46.18.19.00.00
-unspsc7#46.18.20.00.00#Respiratory protection#46.18.00.00.00
-unspsc7#46.18.20.01.00#Masks#46.18.20.00.00
-unspsc7#46.18.20.02.00#Respirators#46.18.20.00.00
-unspsc7#46.18.20.03.00#Gas masks#46.18.20.00.00
-unspsc7#46.18.20.04.00#Respiration air supplying self contained breathing apparatus (SCBA)#46.18.20.00.00
-unspsc7#46.18.20.05.00#Mask filters#46.18.20.00.00
-unspsc7#46.18.21.00.00#Anti static equipment and supplies#46.18.00.00.00
-unspsc7#46.18.21.01.00#Antistatic wrist straps#46.18.21.00.00
-unspsc7#46.18.21.02.00#Heel grounding straps#46.18.21.00.00
-unspsc7#46.18.21.03.00#Grounding hardware#46.18.21.00.00
-unspsc7#46.18.21.04.00#Anti static floor mats#46.18.21.00.00
-unspsc7#46.18.21.05.00#Anti static worktable mats#46.18.21.00.00
-unspsc7#46.18.21.06.00#Antistatic belts#46.18.21.00.00
-unspsc7#46.18.21.07.00#Antistatic maintenance kits#46.18.21.00.00
-unspsc7#46.18.21.08.00#Antistatic toe straps#46.18.21.00.00
-unspsc7#46.18.22.00.00#Ergonomic support aids#46.18.00.00.00
-unspsc7#46.18.22.01.00#Back support belts#46.18.22.00.00
-unspsc7#46.18.22.02.00#Elbow supports#46.18.22.00.00
-unspsc7#46.18.22.03.00#Back support rests#46.18.22.00.00
-unspsc7#46.18.22.04.00#Wrist braces#46.18.22.00.00
-unspsc7#46.18.22.05.00#Foot rests#46.18.22.00.00
-unspsc7#46.18.22.06.00#Wrist rests#46.18.22.00.00
-unspsc7#46.18.22.07.00#Ankle supports#46.18.22.00.00
-unspsc7#46.18.22.08.00#Shoe insoles#46.18.22.00.00
-unspsc7#46.18.23.00.00#Fall protection#46.18.00.00.00
-unspsc7#46.18.23.01.00#Lifelines or lifeline equipment#46.18.23.00.00
-unspsc7#46.18.23.02.00#Fall protection lanyard#46.18.23.00.00
-unspsc7#46.18.23.03.00#Safety harness winders#46.18.23.00.00
-unspsc7#46.18.23.04.00#Anchorage connector#46.18.23.00.00
-unspsc7#46.18.23.05.00#Self retracting lanyard#46.18.23.00.00
-unspsc7#46.18.24.00.00#Decontamination aids#46.18.00.00.00
-unspsc7#46.18.24.01.00#Decontamination shower#46.18.24.00.00
-unspsc7#46.18.25.00.00#Personal safety devices or weapons#46.18.00.00.00
-unspsc7#46.18.25.01.00#Repellents for canine attacks#46.18.25.00.00
-unspsc7#46.19.00.00.00#Fire protection#46.00.00.00.00
-unspsc7#46.19.15.00.00#Fire prevention#46.19.00.00.00
-unspsc7#46.19.15.01.00#Smoke detectors#46.19.15.00.00
-unspsc7#46.19.15.02.00#Heat detectors#46.19.15.00.00
-unspsc7#46.19.15.03.00#Fire resistant coatings or putties or sealants#46.19.15.00.00
-unspsc7#46.19.16.00.00#Fire fighting equipment#46.19.00.00.00
-unspsc7#46.19.16.01.00#Fire extinguishers#46.19.16.00.00
-unspsc7#46.19.16.02.00#Fire sprinkler systems#46.19.16.00.00
-unspsc7#46.19.16.03.00#Fire hoses or nozzles#46.19.16.00.00
-unspsc7#46.19.16.04.00#Fire blankets#46.19.16.00.00
-unspsc7#46.19.16.05.00#Fire suppression hand tools#46.19.16.00.00
-unspsc7#46.19.16.06.00#Fire suppression foam or similar compounds#46.19.16.00.00
-unspsc7#46.19.16.07.00#Fire breathing apparatus#46.19.16.00.00
-unspsc7#47.00.00.00.00#Cleaning Equipment and Supplies#47.00.00.00.00
-unspsc7#47.10.00.00.00#Water and wastewater treatment supply and disposal#47.00.00.00.00
-unspsc7#47.10.15.00.00#Water treatment and supply equipment#47.10.00.00.00
-unspsc7#47.10.15.01.00#Activated carbon equipment#47.10.15.00.00
-unspsc7#47.10.15.02.00#Ammonia removal equipment#47.10.15.00.00
-unspsc7#47.10.15.03.00#Carbon filtration equipment#47.10.15.00.00
-unspsc7#47.10.15.04.00#Bacterial removal equipment#47.10.15.00.00
-unspsc7#47.10.15.05.00#Chlorine handling equipment#47.10.15.00.00
-unspsc7#47.10.15.06.00#Corrosion control equipment#47.10.15.00.00
-unspsc7#47.10.15.07.00#Grit chambers#47.10.15.00.00
-unspsc7#47.10.15.08.00#Desalination equipment#47.10.15.00.00
-unspsc7#47.10.15.09.00#Fluoridation equipment#47.10.15.00.00
-unspsc7#47.10.15.10.00#Iron removal equipment#47.10.15.00.00
-unspsc7#47.10.15.11.00#Ion exchange equipment#47.10.15.00.00
-unspsc7#47.10.15.12.00#Mixers or agitators#47.10.15.00.00
-unspsc7#47.10.15.13.00#Oxygen generators#47.10.15.00.00
-unspsc7#47.10.15.14.00#Water purification equipment#47.10.15.00.00
-unspsc7#47.10.15.16.00#Turbidimeters#47.10.15.00.00
-unspsc7#47.10.15.17.00#Ultraviolet disinfection equipment#47.10.15.00.00
-unspsc7#47.10.15.18.00#Water conditioners#47.10.15.00.00
-unspsc7#47.10.15.19.00#Water softening accessories#47.10.15.00.00
-unspsc7#47.10.15.21.00#Ultrafiltration equipment#47.10.15.00.00
-unspsc7#47.10.15.22.00#Packaged water treatment systems#47.10.15.00.00
-unspsc7#47.10.15.23.00#Collection tanks#47.10.15.00.00
-unspsc7#47.10.15.24.00#Sludge or sewage composting equipment#47.10.15.00.00
-unspsc7#47.10.15.25.00#Dewatering equipment#47.10.15.00.00
-unspsc7#47.10.15.26.00#Sludge pelletizers#47.10.15.00.00
-unspsc7#47.10.15.27.00#Sludge shredders#47.10.15.00.00
-unspsc7#47.10.15.28.00#Water treatment dryers#47.10.15.00.00
-unspsc7#47.10.15.29.00#Incinerators#47.10.15.00.00
-unspsc7#47.10.15.30.00#Odor control equipment#47.10.15.00.00
-unspsc7#47.10.15.31.00#Septic tanks#47.10.15.00.00
-unspsc7#47.10.15.32.00#Settling tanks#47.10.15.00.00
-unspsc7#47.10.15.33.00#Lift stations#47.10.15.00.00
-unspsc7#47.10.15.34.00#Sewage distributors#47.10.15.00.00
-unspsc7#47.10.15.35.00#Sludge disposal equipment#47.10.15.00.00
-unspsc7#47.10.15.36.00#Sludge collectors#47.10.15.00.00
-unspsc7#47.10.15.37.00#Sludge conditioning equipment#47.10.15.00.00
-unspsc7#47.10.15.38.00#Sludge or sewage digesters#47.10.15.00.00
-unspsc7#47.10.15.39.00#Sludge or sewage removal equipment#47.10.15.00.00
-unspsc7#47.10.16.00.00#Water treatment consumables#47.10.00.00.00
-unspsc7#47.10.16.01.00#Algaecides#47.10.16.00.00
-unspsc7#47.10.16.02.00#Antiscalants#47.10.16.00.00
-unspsc7#47.10.16.03.00#Descalers#47.10.16.00.00
-unspsc7#47.10.16.04.00#Boiler feed chemicals#47.10.16.00.00
-unspsc7#47.10.16.05.00#Bacterial removal chemicals#47.10.16.00.00
-unspsc7#47.10.16.06.00#Corrosion control chemicals#47.10.16.00.00
-unspsc7#47.10.16.07.00#Odor control chemicals#47.10.16.00.00
-unspsc7#47.10.16.08.00#Flocculents#47.10.16.00.00
-unspsc7#47.10.16.09.00#Microbiocides#47.10.16.00.00
-unspsc7#47.10.16.10.00#Water softening compounds#47.10.16.00.00
-unspsc7#47.10.16.11.00#Demulsifiers#47.10.16.00.00
-unspsc7#47.10.16.12.00#Polyelectrolytes#47.10.16.00.00
-unspsc7#47.11.00.00.00#Industrial laundry and dry cleaning equipment#47.00.00.00.00
-unspsc7#47.11.15.00.00#Washing and drying equipment#47.11.00.00.00
-unspsc7#47.11.15.01.00#Laundry type combined washing or drying machines#47.11.15.00.00
-unspsc7#47.11.15.02.00#Laundry type washing machines#47.11.15.00.00
-unspsc7#47.11.15.03.00#Clothes dryers#47.11.15.00.00
-unspsc7#47.11.15.04.00#Laundry type drying machines#47.11.15.00.00
-unspsc7#47.11.15.05.00#Laundry equipment stands#47.11.15.00.00
-unspsc7#47.11.16.00.00#Ironing equipment#47.11.00.00.00
-unspsc7#47.11.16.01.00#Ironing machines or presses#47.11.16.00.00
-unspsc7#47.11.16.02.00#Folding machines#47.11.16.00.00
-unspsc7#47.11.16.03.00#Steam pressing machines#47.11.16.00.00
-unspsc7#47.11.17.00.00#Dry cleaning equipment#47.11.00.00.00
-unspsc7#47.11.17.01.00#Dry cleaning machines#47.11.17.00.00
-unspsc7#47.12.00.00.00#Janitorial equipment#47.00.00.00.00
-unspsc7#47.12.15.00.00#Janitor carts and accessories#47.12.00.00.00
-unspsc7#47.12.15.01.00#Janitor carts#47.12.15.00.00
-unspsc7#47.12.15.02.00#Janitor cart accessories#47.12.15.00.00
-unspsc7#47.12.16.00.00#Floor machines and accessories#47.12.00.00.00
-unspsc7#47.12.16.02.00#Vacuum cleaners#47.12.16.00.00
-unspsc7#47.12.16.03.00#Floor polishers#47.12.16.00.00
-unspsc7#47.12.16.04.00#Wet or dry combination vacuum cleaners#47.12.16.00.00
-unspsc7#47.12.16.05.00#Floor scrubbers#47.12.16.00.00
-unspsc7#47.12.16.06.00#Carpet sweepers#47.12.16.00.00
-unspsc7#47.12.16.07.00#Vacuum cleaner supplies or accessories#47.12.16.00.00
-unspsc7#47.12.16.08.00#Floor machine pads#47.12.16.00.00
-unspsc7#47.12.16.09.00#Carpet cleaning equipment#47.12.16.00.00
-unspsc7#47.12.16.10.00#Floor washing machine#47.12.16.00.00
-unspsc7#47.12.17.00.00#Waste containers and accessories#47.12.00.00.00
-unspsc7#47.12.17.01.00#Trash bags#47.12.17.00.00
-unspsc7#47.12.17.02.00#Waste containers or rigid liners#47.12.17.00.00
-unspsc7#47.12.17.03.00#Smoking urns or accessories#47.12.17.00.00
-unspsc7#47.12.17.04.00#Waste container lids#47.12.17.00.00
-unspsc7#47.12.17.05.00#Urn sand bags#47.12.17.00.00
-unspsc7#47.12.17.06.00#Ash trays#47.12.17.00.00
-unspsc7#47.12.17.07.00#Motion sickness bags#47.12.17.00.00
-unspsc7#47.12.18.00.00#Cleaning equipment#47.12.00.00.00
-unspsc7#47.12.18.01.00#Cleaning dusters#47.12.18.00.00
-unspsc7#47.12.18.02.00#Lint removers#47.12.18.00.00
-unspsc7#47.12.18.03.00#Squeeges or washers#47.12.18.00.00
-unspsc7#47.12.18.04.00#Cleaning pails or buckets#47.12.18.00.00
-unspsc7#47.12.18.05.00#Pressure or steam cleaners#47.12.18.00.00
-unspsc7#47.12.18.06.00#Mop wringer#47.12.18.00.00
-unspsc7#47.12.18.07.00#Drain or toilet plunger#47.12.18.00.00
-unspsc7#47.12.18.08.00#Drain or pipe cleaning equipment#47.12.18.00.00
-unspsc7#47.12.18.09.00#Degreasing pans#47.12.18.00.00
-unspsc7#47.12.18.10.00#Cleaning rag dispenser#47.12.18.00.00
-unspsc7#47.12.18.11.00#Duct cleaning machines#47.12.18.00.00
-unspsc7#47.13.00.00.00#Cleaning and janitorial supplies#47.00.00.00.00
-unspsc7#47.13.15.00.00#Cleaning rags and cloths and wipes#47.13.00.00.00
-unspsc7#47.13.15.01.00#Rags#47.13.15.00.00
-unspsc7#47.13.15.02.00#Wipes#47.13.15.00.00
-unspsc7#47.13.16.00.00#Brooms and mops and brushes and accessories#47.13.00.00.00
-unspsc7#47.13.16.01.00#Dust brushes or pans#47.13.16.00.00
-unspsc7#47.13.16.02.00#Scouring pads#47.13.16.00.00
-unspsc7#47.13.16.03.00#Sponges#47.13.16.00.00
-unspsc7#47.13.16.04.00#Brooms#47.13.16.00.00
-unspsc7#47.13.16.05.00#Cleaning brushes#47.13.16.00.00
-unspsc7#47.13.16.06.00#Dust mops#47.13.16.00.00
-unspsc7#47.13.16.07.00#Wet mops#47.13.16.00.00
-unspsc7#47.13.16.08.00#Toilet brushes#47.13.16.00.00
-unspsc7#47.13.16.09.00#Broom or mop handles#47.13.16.00.00
-unspsc7#47.13.16.10.00#Floor finish applicator#47.13.16.00.00
-unspsc7#47.13.16.11.00#Trash picker#47.13.16.00.00
-unspsc7#47.13.16.12.00#Replacement rubbers#47.13.16.00.00
-unspsc7#47.13.16.13.00#Mop or broom holder#47.13.16.00.00
-unspsc7#47.13.16.14.00#Cleaning equipment clamps#47.13.16.00.00
-unspsc7#47.13.17.00.00#Restroom supplies#47.13.00.00.00
-unspsc7#47.13.17.01.00#Paper towel dispensers#47.13.17.00.00
-unspsc7#47.13.17.02.00#Sanitary goods dispensers#47.13.17.00.00
-unspsc7#47.13.17.03.00#Sanitary waste receptacles#47.13.17.00.00
-unspsc7#47.13.17.04.00#Institutional soap or lotion dispensers#47.13.17.00.00
-unspsc7#47.13.17.05.00#Urinal or toilet accessories#47.13.17.00.00
-unspsc7#47.13.17.06.00#Air freshener dispensers#47.13.17.00.00
-unspsc7#47.13.17.07.00#Institutional hand dryers#47.13.17.00.00
-unspsc7#47.13.17.08.00#Bathroom tissue dispenser#47.13.17.00.00
-unspsc7#47.13.17.09.00#Facial tissue dispensers#47.13.17.00.00
-unspsc7#47.13.17.10.00#Toilet tissue dispensers#47.13.17.00.00
-unspsc7#47.13.17.11.00#Cleaner dispenser#47.13.17.00.00
-unspsc7#47.13.18.00.00#Cleaning and disinfecting solutions#47.13.00.00.00
-unspsc7#47.13.18.01.00#Floor cleaners#47.13.18.00.00
-unspsc7#47.13.18.02.00#Floor waxes#47.13.18.00.00
-unspsc7#47.13.18.03.00#Household disinfectants#47.13.18.00.00
-unspsc7#47.13.18.04.00#Ammonias#47.13.18.00.00
-unspsc7#47.13.18.05.00#General purpose cleaners#47.13.18.00.00
-unspsc7#47.13.18.06.00#Furniture polish or waxes#47.13.18.00.00
-unspsc7#47.13.18.07.00#Bleaches#47.13.18.00.00
-unspsc7#47.13.18.08.00#Dry germicidal#47.13.18.00.00
-unspsc7#47.13.18.09.00#Shoe cleaning or polishing products#47.13.18.00.00
-unspsc7#47.13.18.10.00#Dishwashing products#47.13.18.00.00
-unspsc7#47.13.18.11.00#Laundry products#47.13.18.00.00
-unspsc7#47.13.18.12.00#Air freshener#47.13.18.00.00
-unspsc7#47.13.18.13.00#Screen cleaner#47.13.18.00.00
-unspsc7#47.13.18.14.00#Metal cleaners or polishes#47.13.18.00.00
-unspsc7#47.13.18.15.00#Drain cleaner#47.13.18.00.00
-unspsc7#47.13.18.16.00#Deodorizers#47.13.18.00.00
-unspsc7#47.13.18.17.00#Household or automotive protectants#47.13.18.00.00
-unspsc7#47.13.18.18.00#Air sanitizer#47.13.18.00.00
-unspsc7#47.13.18.19.00#Caustic cleaners#47.13.18.00.00
-unspsc7#47.13.18.20.00#Petroleum derivative cleaners#47.13.18.00.00
-unspsc7#47.13.18.21.00#Degreasing compounds#47.13.18.00.00
-unspsc7#47.13.18.22.00#Carbon removing compounds#47.13.18.00.00
-unspsc7#47.13.18.23.00#Deicers and defrosters#47.13.18.00.00
-unspsc7#47.13.18.24.00#Glass or window cleaners#47.13.18.00.00
-unspsc7#47.13.18.25.00#Contact surface cleaners#47.13.18.00.00
-unspsc7#47.13.19.00.00#Absorbents#47.13.00.00.00
-unspsc7#47.13.19.01.00#Mats#47.13.19.00.00
-unspsc7#47.13.19.02.00#Granular absorbent#47.13.19.00.00
-unspsc7#47.13.19.03.00#Plugging compound#47.13.19.00.00
-unspsc7#47.13.19.04.00#Absorbent socks#47.13.19.00.00
-unspsc7#47.13.19.05.00#Spill kits#47.13.19.00.00
-unspsc7#47.13.19.06.00#Pans#47.13.19.00.00
-unspsc7#47.13.19.07.00#Absorbent booms#47.13.19.00.00
-unspsc7#47.13.19.08.00#Absorbent pillows#47.13.19.00.00
-unspsc7#47.13.20.00.00#Mats#47.13.00.00.00
-unspsc7#47.13.21.00.00#Cleaning kits#47.13.00.00.00
-unspsc7#47.13.21.01.00#Industrial cleaning kits#47.13.21.00.00
-unspsc7#47.13.21.02.00#General purpose cleaning kits#47.13.21.00.00
-unspsc7#48.00.00.00.00#Service Industry Machinery and Equipment and Supplies#48.00.00.00.00
-unspsc7#48.10.00.00.00#Institutional food services equipment#48.00.00.00.00
-unspsc7#48.10.15.00.00#Cooking and warming equipment#48.10.00.00.00
-unspsc7#48.10.15.01.00#Commercial use bain maries#48.10.15.00.00
-unspsc7#48.10.15.02.00#Commercial use barbeque ovens#48.10.15.00.00
-unspsc7#48.10.15.03.00#Commercial use broilers#48.10.15.00.00
-unspsc7#48.10.15.04.00#Commercial use charcoal grills#48.10.15.00.00
-unspsc7#48.10.15.05.00#Commercial use coffee or iced tea makers#48.10.15.00.00
-unspsc7#48.10.15.06.00#Commercial use coffee warmers#48.10.15.00.00
-unspsc7#48.10.15.07.00#Commercial use convection ovens#48.10.15.00.00
-unspsc7#48.10.15.08.00#Commercial use conveyer toasters#48.10.15.00.00
-unspsc7#48.10.15.09.00#Commercial use deep fryers#48.10.15.00.00
-unspsc7#48.10.15.10.00#Commercial use food warmers#48.10.15.00.00
-unspsc7#48.10.15.11.00#Commercial use griddles#48.10.15.00.00
-unspsc7#48.10.15.12.00#Commercial use grills#48.10.15.00.00
-unspsc7#48.10.15.13.00#Commercial use heat lamps#48.10.15.00.00
-unspsc7#48.10.15.14.00#Commercial use high pressure steamers#48.10.15.00.00
-unspsc7#48.10.15.15.00#Commercial use hot dog grills#48.10.15.00.00
-unspsc7#48.10.15.16.00#Commercial use microwave ovens#48.10.15.00.00
-unspsc7#48.10.15.17.00#Commercial use ovens#48.10.15.00.00
-unspsc7#48.10.15.18.00#Commercial use pasta cookers#48.10.15.00.00
-unspsc7#48.10.15.19.00#Commercial use pizza ovens#48.10.15.00.00
-unspsc7#48.10.15.20.00#Commercial use popcorn machines#48.10.15.00.00
-unspsc7#48.10.15.21.00#Commercial use ranges#48.10.15.00.00
-unspsc7#48.10.15.22.00#Commercial use rotisseries#48.10.15.00.00
-unspsc7#48.10.15.23.00#Commercial use smokers or smoke ovens#48.10.15.00.00
-unspsc7#48.10.15.24.00#Commercial use steamers#48.10.15.00.00
-unspsc7#48.10.15.25.00#Commercial use toasters#48.10.15.00.00
-unspsc7#48.10.15.26.00#Commercial use waffle irons#48.10.15.00.00
-unspsc7#48.10.15.27.00#Barbecues#48.10.15.00.00
-unspsc7#48.10.15.28.00#Commercial use crepe machines#48.10.15.00.00
-unspsc7#48.10.15.29.00#Pressure cookers or pressure fryers#48.10.15.00.00
-unspsc7#48.10.15.30.00#Commercial use rice cookers#48.10.15.00.00
-unspsc7#48.10.15.31.00#Commercial salmon poachers or kettles#48.10.15.00.00
-unspsc7#48.10.16.00.00#Food preparation equipment#48.10.00.00.00
-unspsc7#48.10.16.01.00#Commercial use blenders#48.10.16.00.00
-unspsc7#48.10.16.02.00#Commercial use electric can openers#48.10.16.00.00
-unspsc7#48.10.16.03.00#Commercial use food choppers or cubers or dicers#48.10.16.00.00
-unspsc7#48.10.16.04.00#Commercial use coffee grinders#48.10.16.00.00
-unspsc7#48.10.16.05.00#Commercial use food grinders#48.10.16.00.00
-unspsc7#48.10.16.06.00#Commercial use graters#48.10.16.00.00
-unspsc7#48.10.16.07.00#Commercial use juicers#48.10.16.00.00
-unspsc7#48.10.16.08.00#Commercial use mixers#48.10.16.00.00
-unspsc7#48.10.16.09.00#Commercial use pasta machines#48.10.16.00.00
-unspsc7#48.10.16.10.00#Commercial use peelers#48.10.16.00.00
-unspsc7#48.10.16.11.00#Commercial use scales#48.10.16.00.00
-unspsc7#48.10.16.12.00#Commercial use food processors#48.10.16.00.00
-unspsc7#48.10.16.13.00#Commercial use dough machines#48.10.16.00.00
-unspsc7#48.10.16.14.00#Commercial use icing sets or bags#48.10.16.00.00
-unspsc7#48.10.16.15.00#Commercial use dishwashers#48.10.16.00.00
-unspsc7#48.10.16.16.00#Commercial use bread slicers#48.10.16.00.00
-unspsc7#48.10.16.17.00#Commercial use plastic shovels#48.10.16.00.00
-unspsc7#48.10.17.00.00#Food and beverage dispensing equipment#48.10.00.00.00
-unspsc7#48.10.17.01.00#Carbonated beverage dispenser#48.10.17.00.00
-unspsc7#48.10.17.02.00#Non carbonated beverage dispenser#48.10.17.00.00
-unspsc7#48.10.17.03.00#Milk dispensers#48.10.17.00.00
-unspsc7#48.10.17.04.00#Syrup pumps#48.10.17.00.00
-unspsc7#48.10.17.05.00#Cappuccino or espresso machines#48.10.17.00.00
-unspsc7#48.10.17.06.00#Milkshake machines#48.10.17.00.00
-unspsc7#48.10.17.07.00#Soft serve machines#48.10.17.00.00
-unspsc7#48.10.17.08.00#Slush machines#48.10.17.00.00
-unspsc7#48.10.17.09.00#Ice dispensers#48.10.17.00.00
-unspsc7#48.10.17.10.00#Drinking fountains or bubblers#48.10.17.00.00
-unspsc7#48.10.17.11.00#Bottled water dispensers or accessories#48.10.17.00.00
-unspsc7#48.10.17.12.00#Cup dispenser#48.10.17.00.00
-unspsc7#48.10.17.13.00#Cocktail shakers or accessories#48.10.17.00.00
-unspsc7#48.10.17.14.00#Hot water dispenser#48.10.17.00.00
-unspsc7#48.10.18.00.00#Cookware and kitchen tools#48.10.00.00.00
-unspsc7#48.10.18.01.00#Commercial use cutlery#48.10.18.00.00
-unspsc7#48.10.18.02.00#Commercial use molds#48.10.18.00.00
-unspsc7#48.10.18.03.00#Commercial use scoops#48.10.18.00.00
-unspsc7#48.10.18.04.00#Commercial use measuring cups#48.10.18.00.00
-unspsc7#48.10.18.05.00#Commercial use mixing bowls#48.10.18.00.00
-unspsc7#48.10.18.06.00#Commercial use cake or pie pans#48.10.18.00.00
-unspsc7#48.10.18.07.00#Commercial use pizza pans#48.10.18.00.00
-unspsc7#48.10.18.08.00#Commercial use sauce or saute pans#48.10.18.00.00
-unspsc7#48.10.18.09.00#Commercial use stock or sauce pots#48.10.18.00.00
-unspsc7#48.10.18.10.00#Commercial use pot or pan covers#48.10.18.00.00
-unspsc7#48.10.18.11.00#Commercial use rolling pins#48.10.18.00.00
-unspsc7#48.10.18.12.00#Commercial use strainers#48.10.18.00.00
-unspsc7#48.10.18.13.00#Commercial use whisks#48.10.18.00.00
-unspsc7#48.10.18.14.00#Commercial use woks#48.10.18.00.00
-unspsc7#48.10.18.15.00#Commercial use ladles#48.10.18.00.00
-unspsc7#48.10.18.16.00#Commercial use cutlery pouch#48.10.18.00.00
-unspsc7#48.10.18.17.00#Cake decorating equipment or moulds#48.10.18.00.00
-unspsc7#48.10.19.00.00#Tabletop and serving equipment#48.10.00.00.00
-unspsc7#48.10.19.01.00#Food service dinnerware#48.10.19.00.00
-unspsc7#48.10.19.02.00#Food service flatware#48.10.19.00.00
-unspsc7#48.10.19.03.00#Food service glasses#48.10.19.00.00
-unspsc7#48.10.19.04.00#Food service stemware#48.10.19.00.00
-unspsc7#48.10.19.05.00#Food service cups or mugs#48.10.19.00.00
-unspsc7#48.10.19.06.00#Food service serving baskets#48.10.19.00.00
-unspsc7#48.10.19.07.00#Food service pitchers#48.10.19.00.00
-unspsc7#48.10.19.08.00#Food service chafers#48.10.19.00.00
-unspsc7#48.10.19.09.00#Food service coffee or tea pots#48.10.19.00.00
-unspsc7#48.10.19.10.00#Food service soup crocks#48.10.19.00.00
-unspsc7#48.10.19.11.00#Food service ice buckets or wine coolers#48.10.19.00.00
-unspsc7#48.10.19.12.00#Food service condiment dispensers#48.10.19.00.00
-unspsc7#48.10.19.13.00#Food service punch bowls#48.10.19.00.00
-unspsc7#48.10.19.14.00#Food service wine carafes#48.10.19.00.00
-unspsc7#48.10.19.15.00#Food service trays#48.10.19.00.00
-unspsc7#48.10.19.16.00#Food service napkin dispensers#48.10.19.00.00
-unspsc7#48.10.19.17.00#Food service fondue pots#48.10.19.00.00
-unspsc7#48.10.20.00.00#Restaurant furniture#48.10.00.00.00
-unspsc7#48.10.20.01.00#Restaurant chairs#48.10.20.00.00
-unspsc7#48.10.20.02.00#Booths#48.10.20.00.00
-unspsc7#48.10.20.03.00#Salad bars#48.10.20.00.00
-unspsc7#48.10.20.04.00#Tabletops#48.10.20.00.00
-unspsc7#48.10.20.05.00#Restaurant or bar stools#48.10.20.00.00
-unspsc7#48.10.20.06.00#Permanent bars#48.10.20.00.00
-unspsc7#48.10.20.07.00#Portable bars#48.10.20.00.00
-unspsc7#48.10.21.00.00#Storage and handling equipment#48.10.00.00.00
-unspsc7#48.10.21.01.00#Display cases#48.10.21.00.00
-unspsc7#48.10.21.02.00#Heated display cases#48.10.21.00.00
-unspsc7#48.10.21.03.00#Refrigerated display cases#48.10.21.00.00
-unspsc7#48.10.21.04.00#Ice cream display cases#48.10.21.00.00
-unspsc7#48.10.21.05.00#Glass chilling equipment#48.10.21.00.00
-unspsc7#48.10.21.06.00#Cool containers#48.10.21.00.00
-unspsc7#48.11.00.00.00#Vending machines#48.00.00.00.00
-unspsc7#48.11.10.00.00#Liquid vending machines#48.11.00.00.00
-unspsc7#48.11.10.01.00#Machines dispensing single servings with cups#48.11.10.00.00
-unspsc7#48.11.10.02.00#Machines dispensing bulk quantities#48.11.10.00.00
-unspsc7#48.11.11.00.00#Piece and part vending machines#48.11.00.00.00
-unspsc7#48.11.11.01.00#Bottle or can vending machines#48.11.11.00.00
-unspsc7#48.11.11.02.00#Gumball candy or childrens novelties machines#48.11.11.00.00
-unspsc7#48.11.11.03.00#Snack or small package goods display machines#48.11.11.00.00
-unspsc7#48.11.11.04.00#A la carte foods vending machines#48.11.11.00.00
-unspsc7#48.11.11.05.00#Frozen confections machines#48.11.11.00.00
-unspsc7#48.11.11.06.00#Personal accommodation item dispensers#48.11.11.00.00
-unspsc7#48.11.11.07.00#Cigarette machines#48.11.11.00.00
-unspsc7#48.11.12.00.00#Prepared to order food vending machines#48.11.00.00.00
-unspsc7#48.11.12.01.00#French fry vending machines#48.11.12.00.00
-unspsc7#48.11.12.02.00#Popcorn vending machines#48.11.12.00.00
-unspsc7#48.11.13.00.00#Service and ticket vending machines#48.11.00.00.00
-unspsc7#48.11.13.01.00#Ticket dispensing machines#48.11.13.00.00
-unspsc7#48.11.13.02.00#Insurance policy vending machines#48.11.13.00.00
-unspsc7#48.11.13.03.00#Stamp machines#48.11.13.00.00
-unspsc7#48.11.14.00.00#Currency vending machines#48.11.00.00.00
-unspsc7#48.11.14.01.00#Automatic teller machines (ATMs)#48.11.14.00.00
-unspsc7#48.11.14.02.00#Bill to coin changers#48.11.14.00.00
-unspsc7#48.11.14.03.00#Foreign currency exchange machines#48.11.14.00.00
-unspsc7#48.11.14.04.00#Electronic funds transfer point of sale equipment#48.11.14.00.00
-unspsc7#48.12.00.00.00#Gambling or wagering equipment#48.00.00.00.00
-unspsc7#48.12.11.00.00#Coin operated gambling machines#48.12.00.00.00
-unspsc7#48.12.11.01.00#Poker or slot machines#48.12.11.00.00
-unspsc7#48.12.12.00.00#Gambling tables and games#48.12.00.00.00
-unspsc7#48.12.12.01.00#Roulette wheels#48.12.12.00.00
-unspsc7#48.12.12.02.00#Card tables#48.12.12.00.00
-unspsc7#48.12.13.00.00#Gambling management and networked wagering systems#48.12.00.00.00
-unspsc7#48.12.13.01.00#Table gambling management systems#48.12.13.00.00
-unspsc7#48.12.13.02.00#Networked wagering games#48.12.13.00.00
-unspsc7#49.00.00.00.00#Sports and Recreational Equipment and Supplies and Accessories#49.00.00.00.00
-unspsc7#49.10.00.00.00#Collectibles and awards#49.00.00.00.00
-unspsc7#49.10.15.00.00#Art#49.10.00.00.00
-unspsc7#49.10.15.01.00#Paintings#49.10.15.00.00
-unspsc7#49.10.15.02.00#Sculptures#49.10.15.00.00
-unspsc7#49.10.15.03.00#Statuary#49.10.15.00.00
-unspsc7#49.10.15.04.00#Portraits#49.10.15.00.00
-unspsc7#49.10.15.05.00#Drawings#49.10.15.00.00
-unspsc7#49.10.15.06.00#Pictures#49.10.15.00.00
-unspsc7#49.10.15.07.00#Lithographs#49.10.15.00.00
-unspsc7#49.10.15.08.00#Posters#49.10.15.00.00
-unspsc7#49.10.15.09.00#Decorative pot#49.10.15.00.00
-unspsc7#49.10.15.10.00#Scrolls#49.10.15.00.00
-unspsc7#49.10.15.11.00#Photographs#49.10.15.00.00
-unspsc7#49.10.15.12.00#Flower vases#49.10.15.00.00
-unspsc7#49.10.16.00.00#Collectibles#49.10.00.00.00
-unspsc7#49.10.16.01.00#Antiques#49.10.16.00.00
-unspsc7#49.10.16.02.00#Souvenirs#49.10.16.00.00
-unspsc7#49.10.16.03.00#Mint coin collections#49.10.16.00.00
-unspsc7#49.10.16.04.00#Stamp collections#49.10.16.00.00
-unspsc7#49.10.16.05.00#Antique rugs#49.10.16.00.00
-unspsc7#49.10.16.06.00#Diggings#49.10.16.00.00
-unspsc7#49.10.16.07.00#Comic book collections#49.10.16.00.00
-unspsc7#49.10.16.08.00#Antique musical instruments#49.10.16.00.00
-unspsc7#49.10.16.09.00#Ornaments or decorations#49.10.16.00.00
-unspsc7#49.10.16.10.00#Key chains#49.10.16.00.00
-unspsc7#49.10.16.11.00#Charms#49.10.16.00.00
-unspsc7#49.10.16.12.00#Holograms#49.10.16.00.00
-unspsc7#49.10.16.13.00#Glass crystals#49.10.16.00.00
-unspsc7#49.10.17.00.00#Awards#49.10.00.00.00
-unspsc7#49.10.17.01.00#Medals#49.10.17.00.00
-unspsc7#49.10.17.02.00#Trophies#49.10.17.00.00
-unspsc7#49.10.17.03.00#Medallions#49.10.17.00.00
-unspsc7#49.10.17.04.00#Plaques#49.10.17.00.00
-unspsc7#49.10.17.05.00#Certificates#49.10.17.00.00
-unspsc7#49.10.17.06.00#Photo award#49.10.17.00.00
-unspsc7#49.10.17.07.00#Achievement certificate#49.10.17.00.00
-unspsc7#49.10.17.08.00#Crowns#49.10.17.00.00
-unspsc7#49.11.00.00.00#Musical instruments#49.00.00.00.00
-unspsc7#49.11.15.00.00#Keyboard instruments#49.11.00.00.00
-unspsc7#49.11.15.01.00#Musical organs#49.11.15.00.00
-unspsc7#49.11.15.02.00#Accordions#49.11.15.00.00
-unspsc7#49.11.15.03.00#Pianos#49.11.15.00.00
-unspsc7#49.11.16.00.00#Brass instruments#49.11.00.00.00
-unspsc7#49.11.16.01.00#Trumpets#49.11.16.00.00
-unspsc7#49.11.16.02.00#Trombones#49.11.16.00.00
-unspsc7#49.11.16.03.00#Sousaphones#49.11.16.00.00
-unspsc7#49.11.16.04.00#Saxophones#49.11.16.00.00
-unspsc7#49.11.16.05.00#Whistle#49.11.16.00.00
-unspsc7#49.11.17.00.00#Woodwind instruments#49.11.00.00.00
-unspsc7#49.11.17.01.00#Clarinets#49.11.17.00.00
-unspsc7#49.11.17.02.00#Oboes#49.11.17.00.00
-unspsc7#49.11.17.03.00#Musical flutes#49.11.17.00.00
-unspsc7#49.11.17.04.00#Piccoloes#49.11.17.00.00
-unspsc7#49.11.17.05.00#Musical cornets#49.11.17.00.00
-unspsc7#49.11.17.06.00#Bagpipes#49.11.17.00.00
-unspsc7#49.11.17.07.00#Harmonicas#49.11.17.00.00
-unspsc7#49.11.17.08.00#Kazoos#49.11.17.00.00
-unspsc7#49.11.18.00.00#String instruments#49.11.00.00.00
-unspsc7#49.11.18.01.00#Harpsichords#49.11.18.00.00
-unspsc7#49.11.18.02.00#Clavichords#49.11.18.00.00
-unspsc7#49.11.18.03.00#Guitars#49.11.18.00.00
-unspsc7#49.11.18.04.00#Violins#49.11.18.00.00
-unspsc7#49.11.18.05.00#Harps#49.11.18.00.00
-unspsc7#49.11.18.06.00#Banjoes#49.11.18.00.00
-unspsc7#49.11.19.00.00#Percussion instruments#49.11.00.00.00
-unspsc7#49.11.19.01.00#Cymbals#49.11.19.00.00
-unspsc7#49.11.19.02.00#Bells#49.11.19.00.00
-unspsc7#49.11.19.03.00#Tambourines#49.11.19.00.00
-unspsc7#49.11.19.04.00#Castanets#49.11.19.00.00
-unspsc7#49.11.19.05.00#Drums#49.11.19.00.00
-unspsc7#49.11.19.06.00#Xylophones#49.11.19.00.00
-unspsc7#49.11.19.07.00#Bodhran#49.11.19.00.00
-unspsc7#49.11.20.00.00#Musical instrument parts and accessories#49.11.00.00.00
-unspsc7#49.11.20.01.00#Metronomes#49.11.20.00.00
-unspsc7#49.11.20.02.00#Reeds#49.11.20.00.00
-unspsc7#49.11.20.03.00#Instrument strings or picks#49.11.20.00.00
-unspsc7#49.11.20.04.00#Tuning pins#49.11.20.00.00
-unspsc7#49.11.20.05.00#Musical instrument stands or sheet holders#49.11.20.00.00
-unspsc7#49.11.20.06.00#Accessories for stringed instruments#49.11.20.00.00
-unspsc7#49.11.20.07.00#Percussion instrument accessory#49.11.20.00.00
-unspsc7#49.11.20.08.00#Music boxes or mechanisms#49.11.20.00.00
-unspsc7#49.12.00.00.00#Camping and outdoor equipment and accessories#49.00.00.00.00
-unspsc7#49.12.15.00.00#Camping and outdoor equipment#49.12.00.00.00
-unspsc7#49.12.15.01.00#Tarpaulins#49.12.15.00.00
-unspsc7#49.12.15.02.00#Sleeping pads#49.12.15.00.00
-unspsc7#49.12.15.03.00#Tents#49.12.15.00.00
-unspsc7#49.12.15.04.00#Sleeping bags#49.12.15.00.00
-unspsc7#49.12.15.05.00#Ice chests#49.12.15.00.00
-unspsc7#49.12.15.06.00#Tent repair kits#49.12.15.00.00
-unspsc7#49.12.15.07.00#Pneumatic mattresses#49.12.15.00.00
-unspsc7#49.12.15.08.00#Mosquito nets#49.12.15.00.00
-unspsc7#49.12.15.09.00#Camping or outdoor stoves#49.12.15.00.00
-unspsc7#49.12.15.10.00#Drink coolers#49.12.15.00.00
-unspsc7#49.12.16.00.00#Camping furniture#49.12.00.00.00
-unspsc7#49.12.16.01.00#Camping chairs or stools#49.12.16.00.00
-unspsc7#49.12.16.02.00#Camping tables#49.12.16.00.00
-unspsc7#49.12.16.03.00#Camping cots#49.12.16.00.00
-unspsc7#49.13.00.00.00#Fishing and hunting equipment#49.00.00.00.00
-unspsc7#49.13.15.00.00#Fishing tackle#49.13.00.00.00
-unspsc7#49.13.15.01.00#Fishing rods#49.13.15.00.00
-unspsc7#49.13.15.02.00#Fishing line#49.13.15.00.00
-unspsc7#49.13.15.03.00#Fishing reels#49.13.15.00.00
-unspsc7#49.13.15.04.00#Fishing lures#49.13.15.00.00
-unspsc7#49.13.15.05.00#Fishing bait#49.13.15.00.00
-unspsc7#49.13.15.06.00#Fishing weights or sinkers#49.13.15.00.00
-unspsc7#49.13.16.00.00#Hunting products#49.13.00.00.00
-unspsc7#49.13.16.01.00#Animal calls#49.13.16.00.00
-unspsc7#49.13.16.02.00#Sporting decoys#49.13.16.00.00
-unspsc7#49.13.16.03.00#Sporting traps#49.13.16.00.00
-unspsc7#49.13.16.04.00#Sporting shotguns#49.13.16.00.00
-unspsc7#49.13.16.05.00#Sporting rifles#49.13.16.00.00
-unspsc7#49.13.16.06.00#Sporting ammunition#49.13.16.00.00
-unspsc7#49.13.16.07.00#Gun barrel#49.13.16.00.00
-unspsc7#49.14.00.00.00#Watersports equipment#49.00.00.00.00
-unspsc7#49.14.15.00.00#Scuba and snorkeling gear#49.14.00.00.00
-unspsc7#49.14.15.01.00#Bouyancy compensators#49.14.15.00.00
-unspsc7#49.14.15.02.00#Scuba tanks#49.14.15.00.00
-unspsc7#49.14.15.03.00#Scuba regulators#49.14.15.00.00
-unspsc7#49.14.15.04.00#Diving instruments or accessories#49.14.15.00.00
-unspsc7#49.14.15.05.00#Masks or fins or snorkels#49.14.15.00.00
-unspsc7#49.14.15.06.00#Wetsuits#49.14.15.00.00
-unspsc7#49.14.15.07.00#Drysuits#49.14.15.00.00
-unspsc7#49.14.16.00.00#Surf and swim equipment and accessories#49.14.00.00.00
-unspsc7#49.14.16.02.00#Wakeboards or kneeboards or boogieboards#49.14.16.00.00
-unspsc7#49.14.16.03.00#Water skis or accessories#49.14.16.00.00
-unspsc7#49.14.16.04.00#Windsurfing equipment#49.14.16.00.00
-unspsc7#49.14.16.05.00#Surfboards#49.14.16.00.00
-unspsc7#49.14.16.06.00#Swim goggles or swim fins#49.14.16.00.00
-unspsc7#49.14.16.07.00#Parasailing equipment#49.14.16.00.00
-unspsc7#49.15.00.00.00#Winter sports equipment#49.00.00.00.00
-unspsc7#49.15.15.00.00#Skiing and snowboarding equipment#49.15.00.00.00
-unspsc7#49.15.15.01.00#Ski boots#49.15.15.00.00
-unspsc7#49.15.15.02.00#Skis#49.15.15.00.00
-unspsc7#49.15.15.03.00#Ski poles#49.15.15.00.00
-unspsc7#49.15.15.04.00#Bindings#49.15.15.00.00
-unspsc7#49.15.15.05.00#Snowboards#49.15.15.00.00
-unspsc7#49.15.16.00.00#Skating and ice hockey equipment#49.15.00.00.00
-unspsc7#49.15.16.01.00#Hockey pucks#49.15.16.00.00
-unspsc7#49.15.16.02.00#Ice skates#49.15.16.00.00
-unspsc7#49.15.16.03.00#Hockey sticks#49.15.16.00.00
-unspsc7#49.16.00.00.00#Field and court sports equipment#49.00.00.00.00
-unspsc7#49.16.15.00.00#Field sports equipment#49.16.00.00.00
-unspsc7#49.16.15.01.00#Football blocking sleds#49.16.15.00.00
-unspsc7#49.16.15.02.00#Baseball gloves#49.16.15.00.00
-unspsc7#49.16.15.03.00#Baseballs#49.16.15.00.00
-unspsc7#49.16.15.04.00#Footballs#49.16.15.00.00
-unspsc7#49.16.15.05.00#Soccer balls#49.16.15.00.00
-unspsc7#49.16.15.06.00#Baseball bats#49.16.15.00.00
-unspsc7#49.16.15.07.00#Baseball bases#49.16.15.00.00
-unspsc7#49.16.15.08.00#Pitching machines#49.16.15.00.00
-unspsc7#49.16.15.09.00#Softballs#49.16.15.00.00
-unspsc7#49.16.15.10.00#Football tackling dummies#49.16.15.00.00
-unspsc7#49.16.15.11.00#Lacrosse sticks#49.16.15.00.00
-unspsc7#49.16.15.12.00#Lacrosse balls#49.16.15.00.00
-unspsc7#49.16.15.13.00#Field hockey sticks#49.16.15.00.00
-unspsc7#49.16.15.14.00#Field hockey balls#49.16.15.00.00
-unspsc7#49.16.15.15.00#Team handball balls#49.16.15.00.00
-unspsc7#49.16.15.16.00#Team handball school sets#49.16.15.00.00
-unspsc7#49.16.15.17.00#Baseball or softball protective gear#49.16.15.00.00
-unspsc7#49.16.15.18.00#Baseball batting aids#49.16.15.00.00
-unspsc7#49.16.15.19.00#Baseball backstops or fences#49.16.15.00.00
-unspsc7#49.16.15.20.00#Softball bats#49.16.15.00.00
-unspsc7#49.16.15.21.00#Softball gloves#49.16.15.00.00
-unspsc7#49.16.15.22.00#Football kicking tees#49.16.15.00.00
-unspsc7#49.16.15.23.00#Flag football gear#49.16.15.00.00
-unspsc7#49.16.15.24.00#Soccer field marking equipment#49.16.15.00.00
-unspsc7#49.16.15.25.00#Soccer protective equipment#49.16.15.00.00
-unspsc7#49.16.15.26.00#Soccer training aids#49.16.15.00.00
-unspsc7#49.16.16.00.00#Racquet and court sports equipment#49.16.00.00.00
-unspsc7#49.16.16.01.00#Racquetball rackets#49.16.16.00.00
-unspsc7#49.16.16.02.00#Badminton rackets#49.16.16.00.00
-unspsc7#49.16.16.03.00#Basketballs#49.16.16.00.00
-unspsc7#49.16.16.04.00#Tennis balls#49.16.16.00.00
-unspsc7#49.16.16.05.00#Racquet balls#49.16.16.00.00
-unspsc7#49.16.16.06.00#Squash balls#49.16.16.00.00
-unspsc7#49.16.16.07.00#Tennis racquets#49.16.16.00.00
-unspsc7#49.16.16.08.00#Volleyballs#49.16.16.00.00
-unspsc7#49.16.16.09.00#Badminton birdies or shuttlecocks#49.16.16.00.00
-unspsc7#49.16.16.10.00#Squash racquets#49.16.16.00.00
-unspsc7#49.16.16.11.00#Tennis training aids#49.16.16.00.00
-unspsc7#49.16.16.12.00#Tennis court equipment#49.16.16.00.00
-unspsc7#49.16.16.13.00#Volleyball storage for balls or nets#49.16.16.00.00
-unspsc7#49.16.16.14.00#Volleyball gymnasium standards#49.16.16.00.00
-unspsc7#49.16.16.15.00#Basketball complete game systems#49.16.16.00.00
-unspsc7#49.16.16.16.00#Floor hockey protective equipment#49.16.16.00.00
-unspsc7#49.16.16.17.00#Tether poles#49.16.16.00.00
-unspsc7#49.16.16.18.00#Tether balls#49.16.16.00.00
-unspsc7#49.16.17.00.00#Track sports equipment#49.16.00.00.00
-unspsc7#49.16.17.01.00#Javelins#49.16.17.00.00
-unspsc7#49.16.17.02.00#Jumping bars#49.16.17.00.00
-unspsc7#49.16.17.03.00#Discus#49.16.17.00.00
-unspsc7#49.16.17.04.00#Shotputs#49.16.17.00.00
-unspsc7#49.16.17.05.00#Vaulting poles#49.16.17.00.00
-unspsc7#49.16.17.06.00#Hurdles#49.16.17.00.00
-unspsc7#49.16.17.07.00#Batons#49.16.17.00.00
-unspsc7#49.17.00.00.00#Gymnastics and boxing equipment#49.00.00.00.00
-unspsc7#49.17.15.00.00#Gymnastics equipment#49.17.00.00.00
-unspsc7#49.17.15.01.00#Gymnastic bars or beams#49.17.15.00.00
-unspsc7#49.17.15.02.00#Gymnastic ropes or rings or climbing accessories#49.17.15.00.00
-unspsc7#49.17.15.03.00#Gymnastic vaulting equipment#49.17.15.00.00
-unspsc7#49.17.15.04.00#Gymnastic trampolines#49.17.15.00.00
-unspsc7#49.17.15.05.00#Balance equipment#49.17.15.00.00
-unspsc7#49.17.16.00.00#Boxing equipment#49.17.00.00.00
-unspsc7#49.17.16.01.00#Boxing rings#49.17.16.00.00
-unspsc7#49.17.16.02.00#Punching bags#49.17.16.00.00
-unspsc7#49.17.16.03.00#Boxing gloves#49.17.16.00.00
-unspsc7#49.18.00.00.00#Target and table games and equipment#49.00.00.00.00
-unspsc7#49.18.15.00.00#Table games and equipment#49.18.00.00.00
-unspsc7#49.18.15.01.00#Billiard tables#49.18.15.00.00
-unspsc7#49.18.15.02.00#Pool cues#49.18.15.00.00
-unspsc7#49.18.15.03.00#Shuffleboard#49.18.15.00.00
-unspsc7#49.18.15.04.00#Pinball games#49.18.15.00.00
-unspsc7#49.18.15.05.00#Billiard balls#49.18.15.00.00
-unspsc7#49.18.15.06.00#Air hockey tables or accessories#49.18.15.00.00
-unspsc7#49.18.15.07.00#Tennis tables#49.18.15.00.00
-unspsc7#49.18.15.08.00#Table tennis paddles#49.18.15.00.00
-unspsc7#49.18.15.09.00#Table tennis balls#49.18.15.00.00
-unspsc7#49.18.15.10.00#Foosball tables#49.18.15.00.00
-unspsc7#49.18.15.11.00#Foosballs#49.18.15.00.00
-unspsc7#49.18.15.12.00#Foosball replacement players#49.18.15.00.00
-unspsc7#49.18.15.13.00#Billiard cue tips#49.18.15.00.00
-unspsc7#49.18.15.14.00#Billiard chalk#49.18.15.00.00
-unspsc7#49.18.15.15.00#Billiard racks#49.18.15.00.00
-unspsc7#49.18.16.00.00#Target games and equipment#49.18.00.00.00
-unspsc7#49.18.16.01.00#Archery targets#49.18.16.00.00
-unspsc7#49.18.16.02.00#Archery bows#49.18.16.00.00
-unspsc7#49.18.16.03.00#Archery arrows#49.18.16.00.00
-unspsc7#49.18.16.04.00#Darts#49.18.16.00.00
-unspsc7#49.18.16.05.00#Dart boards#49.18.16.00.00
-unspsc7#49.18.16.06.00#Trapshooting equipment#49.18.16.00.00
-unspsc7#49.18.16.07.00#Throwing targets#49.18.16.00.00
-unspsc7#49.18.16.08.00#Archery bow strings#49.18.16.00.00
-unspsc7#49.18.16.09.00#Archery gloves#49.18.16.00.00
-unspsc7#49.18.16.10.00#Archery arm guards#49.18.16.00.00
-unspsc7#49.18.16.11.00#Archery target stands#49.18.16.00.00
-unspsc7#49.18.16.12.00#Archery backstops#49.18.16.00.00
-unspsc7#49.20.00.00.00#Fitness equipment#49.00.00.00.00
-unspsc7#49.20.15.00.00#Aerobic training equipment#49.20.00.00.00
-unspsc7#49.20.15.01.00#Treadmills#49.20.15.00.00
-unspsc7#49.20.15.02.00#Stair climbers#49.20.15.00.00
-unspsc7#49.20.15.03.00#Stationary bicycles#49.20.15.00.00
-unspsc7#49.20.15.04.00#Rowing machines#49.20.15.00.00
-unspsc7#49.20.15.12.00#Jump ropes#49.20.15.00.00
-unspsc7#49.20.15.13.00#Exercise trampolines#49.20.15.00.00
-unspsc7#49.20.15.14.00#Exercise balls#49.20.15.00.00
-unspsc7#49.20.15.15.00#Step aerobic equipment#49.20.15.00.00
-unspsc7#49.20.16.00.00#Weight and resistance training equipment#49.20.00.00.00
-unspsc7#49.20.16.01.00#Dumbbells#49.20.16.00.00
-unspsc7#49.20.16.02.00#Barbells#49.20.16.00.00
-unspsc7#49.20.16.03.00#Lower body resistance machines#49.20.16.00.00
-unspsc7#49.20.16.04.00#Weight benches or racks#49.20.16.00.00
-unspsc7#49.20.16.05.00#Upper body resistance machines#49.20.16.00.00
-unspsc7#49.20.16.06.00#Fitness weights#49.20.16.00.00
-unspsc7#49.20.16.07.00#Pilates machines#49.20.16.00.00
-unspsc7#49.20.16.08.00#Grip strengthener#49.20.16.00.00
-unspsc7#49.20.16.09.00#Resistance bands#49.20.16.00.00
-unspsc7#49.20.16.10.00#Resistance tubes#49.20.16.00.00
-unspsc7#49.21.00.00.00#Other sports#49.00.00.00.00
-unspsc7#49.21.16.00.00#Golf equipment#49.21.00.00.00
-unspsc7#49.21.16.01.00#Golf bags#49.21.16.00.00
-unspsc7#49.21.16.02.00#Golf balls#49.21.16.00.00
-unspsc7#49.21.16.03.00#Golf clubs#49.21.16.00.00
-unspsc7#49.21.16.04.00#Golf tees#49.21.16.00.00
-unspsc7#49.21.16.05.00#Golf club head covers#49.21.16.00.00
-unspsc7#49.21.16.06.00#Golf gloves#49.21.16.00.00
-unspsc7#49.21.16.07.00#Divot fixers#49.21.16.00.00
-unspsc7#49.21.17.00.00#Bowling equipment and supplies and accessories#49.21.00.00.00
-unspsc7#49.21.17.01.00#Bowling equipment#49.21.17.00.00
-unspsc7#49.21.17.02.00#Bowling supplies#49.21.17.00.00
-unspsc7#49.21.17.03.00#Bowling accessories#49.21.17.00.00
-unspsc7#49.21.18.00.00#Physical education classroom equipment#49.21.00.00.00
-unspsc7#49.21.18.01.00#Parachute equipment#49.21.18.00.00
-unspsc7#49.21.18.02.00#Hula hoops or hoop equipment#49.21.18.00.00
-unspsc7#49.21.18.03.00#Orienteering equipment#49.21.18.00.00
-unspsc7#49.21.18.04.00#Team identification materials or markers#49.21.18.00.00
-unspsc7#49.21.18.05.00#Lanyards#49.21.18.00.00
-unspsc7#49.21.18.06.00#Physical education equipment storage#49.21.18.00.00
-unspsc7#49.21.18.07.00#Physical education assessment tools#49.21.18.00.00
-unspsc7#49.22.00.00.00#Sports accessories#49.00.00.00.00
-unspsc7#49.22.15.00.00#Sport accessories#49.22.00.00.00
-unspsc7#49.22.15.01.00#Sport scoreboards#49.22.15.00.00
-unspsc7#49.22.15.02.00#Sport goals#49.22.15.00.00
-unspsc7#49.22.15.03.00#Sport safety equipment other than headgear#49.22.15.00.00
-unspsc7#49.22.15.04.00#Sport safety headgear#49.22.15.00.00
-unspsc7#49.22.15.05.00#Sport nets or netting#49.22.15.00.00
-unspsc7#49.22.15.06.00#Sport mats or padding#49.22.15.00.00
-unspsc7#49.22.15.07.00#Basketball backboards#49.22.15.00.00
-unspsc7#49.22.15.08.00#Basketball hoop#49.22.15.00.00
-unspsc7#49.22.15.09.00#Roller skates or roller blades#49.22.15.00.00
-unspsc7#49.23.00.00.00#Toys and games#49.00.00.00.00
-unspsc7#49.23.15.00.00#Toys#49.23.00.00.00
-unspsc7#49.23.15.01.00#Musical toys#49.23.15.00.00
-unspsc7#49.23.15.02.00#Educational toys#49.23.15.00.00
-unspsc7#49.23.15.03.00#Toy balloons or balls#49.23.15.00.00
-unspsc7#49.23.15.04.00#Dolls#49.23.15.00.00
-unspsc7#49.23.15.05.00#Doll houses#49.23.15.00.00
-unspsc7#49.23.15.06.00#Stuffed animals or puppets#49.23.15.00.00
-unspsc7#49.23.15.07.00#Playhouses#49.23.15.00.00
-unspsc7#49.23.15.08.00#Building blocks#49.23.15.00.00
-unspsc7#49.23.15.09.00#Riding toys#49.23.15.00.00
-unspsc7#49.23.15.10.00#Pull toys#49.23.15.00.00
-unspsc7#49.23.15.11.00#Childrens science kits#49.23.15.00.00
-unspsc7#49.23.15.12.00#Toy vehicles#49.23.15.00.00
-unspsc7#49.23.15.13.00#Toy trains#49.23.15.00.00
-unspsc7#49.23.15.14.00#Inflatable toys#49.23.15.00.00
-unspsc7#49.23.15.15.00#Doll parts or accessories#49.23.15.00.00
-unspsc7#49.23.15.16.00#Yo yos#49.23.15.00.00
-unspsc7#49.23.15.17.00#Kites#49.23.15.00.00
-unspsc7#49.23.15.18.00#Pogs#49.23.15.00.00
-unspsc7#49.23.15.19.00#Kaleidoscopes#49.23.15.00.00
-unspsc7#49.23.15.20.00#Pom poms#49.23.15.00.00
-unspsc7#49.23.15.21.00#Pinatas#49.23.15.00.00
-unspsc7#49.23.15.22.00#Boomerangs#49.23.15.00.00
-unspsc7#49.23.15.23.00#Flying discs#49.23.15.00.00
-unspsc7#49.23.15.24.00#Toy pails#49.23.15.00.00
-unspsc7#49.23.16.00.00#Games#49.23.00.00.00
-unspsc7#49.23.16.01.00#Educational games#49.23.16.00.00
-unspsc7#49.23.16.02.00#Board games#49.23.16.00.00
-unspsc7#49.23.16.03.00#Playing cards#49.23.16.00.00
-unspsc7#49.23.16.04.00#Video games#49.23.16.00.00
-unspsc7#49.23.16.05.00#Puzzles#49.23.16.00.00
-unspsc7#49.23.16.06.00#Dice#49.23.16.00.00
-unspsc7#49.24.00.00.00#Recreation and playground and swimming and spa equipment and supplies#49.00.00.00.00
-unspsc7#49.24.15.00.00#Playground equipment#49.24.00.00.00
-unspsc7#49.24.15.01.00#Playground swings#49.24.15.00.00
-unspsc7#49.24.15.02.00#Playground climbing apparatus#49.24.15.00.00
-unspsc7#49.24.15.03.00#Playground merry go rounds#49.24.15.00.00
-unspsc7#49.24.15.04.00#Playground slides#49.24.15.00.00
-unspsc7#49.24.15.05.00#Playground see saws#49.24.15.00.00
-unspsc7#49.24.15.06.00#Playground tunnels#49.24.15.00.00
-unspsc7#49.24.15.07.00#Playground sandboxes#49.24.15.00.00
-unspsc7#49.24.15.08.00#Playground bleachers#49.24.15.00.00
-unspsc7#49.24.15.09.00#Wall climbing equipment#49.24.15.00.00
-unspsc7#49.24.15.10.00#Rope climbing equipment#49.24.15.00.00
-unspsc7#49.24.16.00.00#Recreational equipment#49.24.00.00.00
-unspsc7#49.24.16.01.00#Croquet sets#49.24.16.00.00
-unspsc7#49.24.16.02.00#Lawn bowling equipment#49.24.16.00.00
-unspsc7#49.24.16.03.00#Horseshoe equipment#49.24.16.00.00
-unspsc7#49.24.16.04.00#Lawn darts#49.24.16.00.00
-unspsc7#49.24.17.00.00#Swimming pool and spa equipment and supplies#49.24.00.00.00
-unspsc7#49.24.17.01.00#Diving boards#49.24.17.00.00
-unspsc7#49.24.17.02.00#Pool slides#49.24.17.00.00
-unspsc7#49.24.17.03.00#Spa blower#49.24.17.00.00
-unspsc7#49.24.17.04.00#Water test kit or solutions#49.24.17.00.00
-unspsc7#49.24.17.05.00#Automatic pool cleaner#49.24.17.00.00
-unspsc7#49.24.17.06.00#Solar blanket#49.24.17.00.00
-unspsc7#49.24.17.07.00#Pool or spa heater#49.24.17.00.00
-unspsc7#49.24.17.08.00#Ozone generator#49.24.17.00.00
-unspsc7#49.24.17.09.00#Solar blanket reels#49.24.17.00.00
-unspsc7#49.25.00.00.00#Arts and crafts supplies#49.00.00.00.00
-unspsc7#49.25.15.00.00#Art supplies#49.25.00.00.00
-unspsc7#49.25.15.01.00#Art paints#49.25.15.00.00
-unspsc7#49.25.15.02.00#Modeling clay#49.25.15.00.00
-unspsc7#49.25.15.03.00#Art paintbrushes#49.25.15.00.00
-unspsc7#49.25.15.04.00#Picture or poster frames#49.25.15.00.00
-unspsc7#49.25.15.05.00#Picture albums or organizers#49.25.15.00.00
-unspsc7#49.25.15.06.00#Cutting mats#49.25.15.00.00
-unspsc7#49.25.15.07.00#Carving board#49.25.15.00.00
-unspsc7#49.25.15.08.00#Palettes#49.25.15.00.00
-unspsc7#49.25.15.09.00#Glitter#49.25.15.00.00
-unspsc7#49.25.15.10.00#Beads#49.25.15.00.00
-unspsc7#49.25.15.11.00#Decorative tapes or twists#49.25.15.00.00
-unspsc7#49.25.16.00.00#Craft supplies#49.25.00.00.00
-unspsc7#49.25.16.01.00#Model kits#49.25.16.00.00
-unspsc7#49.25.16.02.00#Potters wheels#49.25.16.00.00
-unspsc7#49.25.16.03.00#Decorative buttons#49.25.16.00.00
-unspsc7#49.25.16.04.00#Decorative shapes or strings#49.25.16.00.00
-unspsc7#49.25.16.05.00#Craft kits#49.25.16.00.00
-unspsc7#50.00.00.00.00#Food Beverage and Tobacco Products#50.00.00.00.00
-unspsc7#50.10.00.00.00#Fruits and vegetables and nuts and seeds#50.00.00.00.00
-unspsc7#50.10.15.00.00#Vegetables#50.10.00.00.00
-unspsc7#50.10.15.01.00#Beans#50.10.15.00.00
-unspsc7#50.10.15.02.00#Spinach#50.10.15.00.00
-unspsc7#50.10.15.03.00#Potatoes#50.10.15.00.00
-unspsc7#50.10.15.04.00#Peas#50.10.15.00.00
-unspsc7#50.10.15.05.00#Onions or other alliaceous vegetables#50.10.15.00.00
-unspsc7#50.10.15.06.00#Lettuce#50.10.15.00.00
-unspsc7#50.10.15.07.00#Cabbage#50.10.15.00.00
-unspsc7#50.10.15.08.00#Squashes#50.10.15.00.00
-unspsc7#50.10.15.09.00#Yams#50.10.15.00.00
-unspsc7#50.10.15.10.00#Carrots#50.10.15.00.00
-unspsc7#50.10.15.11.00#Rutabagas#50.10.15.00.00
-unspsc7#50.10.15.12.00#Eggplants#50.10.15.00.00
-unspsc7#50.10.15.13.00#Peppers#50.10.15.00.00
-unspsc7#50.10.15.14.00#Rhubarb#50.10.15.00.00
-unspsc7#50.10.15.15.00#Endive#50.10.15.00.00
-unspsc7#50.10.15.16.00#Asparagus#50.10.15.00.00
-unspsc7#50.10.15.17.00#Artichokes#50.10.15.00.00
-unspsc7#50.10.15.18.00#Parsnips#50.10.15.00.00
-unspsc7#50.10.15.19.00#Celery#50.10.15.00.00
-unspsc7#50.10.15.20.00#Radishes#50.10.15.00.00
-unspsc7#50.10.15.21.00#Mushrooms or other edible fungi#50.10.15.00.00
-unspsc7#50.10.15.22.00#Horseradish#50.10.15.00.00
-unspsc7#50.10.15.23.00#Turnips#50.10.15.00.00
-unspsc7#50.10.15.24.00#Mustard greens#50.10.15.00.00
-unspsc7#50.10.15.25.00#Kale#50.10.15.00.00
-unspsc7#50.10.15.26.00#Collards#50.10.15.00.00
-unspsc7#50.10.15.27.00#Brussel sprouts#50.10.15.00.00
-unspsc7#50.10.15.28.00#Broccoli#50.10.15.00.00
-unspsc7#50.10.15.29.00#Cauliflowers#50.10.15.00.00
-unspsc7#50.10.15.30.00#Okra#50.10.15.00.00
-unspsc7#50.10.15.31.00#Cucumbers#50.10.15.00.00
-unspsc7#50.10.15.32.00#Tomatoes#50.10.15.00.00
-unspsc7#50.10.15.33.00#Beets#50.10.15.00.00
-unspsc7#50.10.15.34.00#Manioc roots#50.10.15.00.00
-unspsc7#50.10.15.35.00#Lentils#50.10.15.00.00
-unspsc7#50.10.15.36.00#Corn#50.10.15.00.00
-unspsc7#50.10.15.37.00#Pumpkins#50.10.15.00.00
-unspsc7#50.10.15.38.00#Fresh vegetables#50.10.15.00.00
-unspsc7#50.10.15.39.00#Frozen vegetables#50.10.15.00.00
-unspsc7#50.10.15.40.00#Shelf stable vegetables#50.10.15.00.00
-unspsc7#50.10.16.00.00#Fruits#50.10.00.00.00
-unspsc7#50.10.16.01.00#Limes#50.10.16.00.00
-unspsc7#50.10.16.02.00#Mangoes#50.10.16.00.00
-unspsc7#50.10.16.03.00#Guavas#50.10.16.00.00
-unspsc7#50.10.16.04.00#Grapes#50.10.16.00.00
-unspsc7#50.10.16.05.00#Dates#50.10.16.00.00
-unspsc7#50.10.16.06.00#Apricots#50.10.16.00.00
-unspsc7#50.10.16.07.00#Berries#50.10.16.00.00
-unspsc7#50.10.16.08.00#Peaches#50.10.16.00.00
-unspsc7#50.10.16.09.00#Cherries#50.10.16.00.00
-unspsc7#50.10.16.10.00#Bananas#50.10.16.00.00
-unspsc7#50.10.16.11.00#Melons#50.10.16.00.00
-unspsc7#50.10.16.12.00#Pomegranates#50.10.16.00.00
-unspsc7#50.10.16.13.00#Papayas#50.10.16.00.00
-unspsc7#50.10.16.14.00#Kiwis#50.10.16.00.00
-unspsc7#50.10.16.15.00#Lichees#50.10.16.00.00
-unspsc7#50.10.16.16.00#Pears#50.10.16.00.00
-unspsc7#50.10.16.17.00#Plums#50.10.16.00.00
-unspsc7#50.10.16.18.00#Apples#50.10.16.00.00
-unspsc7#50.10.16.19.00#Passion fruit#50.10.16.00.00
-unspsc7#50.10.16.20.00#Nectarines#50.10.16.00.00
-unspsc7#50.10.16.21.00#Pineapples#50.10.16.00.00
-unspsc7#50.10.16.22.00#Figs#50.10.16.00.00
-unspsc7#50.10.16.23.00#Tangelos#50.10.16.00.00
-unspsc7#50.10.16.24.00#Mandarins#50.10.16.00.00
-unspsc7#50.10.16.25.00#Oranges#50.10.16.00.00
-unspsc7#50.10.16.26.00#Tangerines#50.10.16.00.00
-unspsc7#50.10.16.27.00#Grapefruit#50.10.16.00.00
-unspsc7#50.10.16.28.00#Lemons#50.10.16.00.00
-unspsc7#50.10.16.29.00#Durians#50.10.16.00.00
-unspsc7#50.10.16.30.00#Coconuts#50.10.16.00.00
-unspsc7#50.10.16.31.00#Avocados#50.10.16.00.00
-unspsc7#50.10.16.32.00#Quinces#50.10.16.00.00
-unspsc7#50.10.16.33.00#Olives#50.10.16.00.00
-unspsc7#50.10.16.34.00#Fresh fruit#50.10.16.00.00
-unspsc7#50.10.16.35.00#Frozen fruit#50.10.16.00.00
-unspsc7#50.10.16.36.00#Shelf stable fruit#50.10.16.00.00
-unspsc7#50.10.17.00.00#Nuts and seeds#50.10.00.00.00
-unspsc7#50.10.17.01.00#Chestnuts#50.10.17.00.00
-unspsc7#50.10.17.03.00#Pecans#50.10.17.00.00
-unspsc7#50.10.17.04.00#Brazil nuts#50.10.17.00.00
-unspsc7#50.10.17.05.00#Cashews#50.10.17.00.00
-unspsc7#50.10.17.06.00#Almonds#50.10.17.00.00
-unspsc7#50.10.17.07.00#Macadamia nuts#50.10.17.00.00
-unspsc7#50.10.17.08.00#Hazelnuts#50.10.17.00.00
-unspsc7#50.10.17.09.00#Pine nuts#50.10.17.00.00
-unspsc7#50.10.17.10.00#Pistachios#50.10.17.00.00
-unspsc7#50.10.17.11.00#Walnuts#50.10.17.00.00
-unspsc7#50.10.17.12.00#Betel nuts#50.10.17.00.00
-unspsc7#50.10.17.13.00#Peanuts or groundnuts#50.10.17.00.00
-unspsc7#50.10.17.14.00#Mixed nuts#50.10.17.00.00
-unspsc7#50.10.17.15.00#Nut meat#50.10.17.00.00
-unspsc7#50.10.17.16.00#Whole nuts or seeds#50.10.17.00.00
-unspsc7#50.10.17.17.00#Shelled#50.10.17.00.00
-unspsc7#50.11.00.00.00#Meat and poultry products#50.00.00.00.00
-unspsc7#50.11.15.00.00#Meat and poultry#50.11.00.00.00
-unspsc7#50.11.15.01.00#Chicken#50.11.15.00.00
-unspsc7#50.11.15.02.00#Turkey#50.11.15.00.00
-unspsc7#50.11.15.03.00#Duck#50.11.15.00.00
-unspsc7#50.11.15.04.00#Ostrich#50.11.15.00.00
-unspsc7#50.11.15.05.00#Partridge#50.11.15.00.00
-unspsc7#50.11.15.06.00#Dove#50.11.15.00.00
-unspsc7#50.11.15.07.00#Pheasant#50.11.15.00.00
-unspsc7#50.11.15.08.00#Quail#50.11.15.00.00
-unspsc7#50.11.15.09.00#Goose#50.11.15.00.00
-unspsc7#50.11.15.10.00#Fresh meat and poultry#50.11.15.00.00
-unspsc7#50.11.15.11.00#Frozen meat and poultry#50.11.15.00.00
-unspsc7#50.11.15.12.00#Shelf stable meat and poultry#50.11.15.00.00
-unspsc7#50.11.16.00.00#Fresh and frozen red meat and byproducts#50.11.00.00.00
-unspsc7#50.11.16.01.00#Beef#50.11.16.00.00
-unspsc7#50.11.16.02.00#Veal#50.11.16.00.00
-unspsc7#50.11.16.03.00#Mutton#50.11.16.00.00
-unspsc7#50.11.16.04.00#Lamb#50.11.16.00.00
-unspsc7#50.11.16.05.00#Buffalo#50.11.16.00.00
-unspsc7#50.11.16.06.00#Horsemeat#50.11.16.00.00
-unspsc7#50.11.16.07.00#Ass or mule or hinny meat#50.11.16.00.00
-unspsc7#50.11.17.00.00#Fresh and frozen pork and byproducts#50.11.00.00.00
-unspsc7#50.11.17.01.00#Pork#50.11.17.00.00
-unspsc7#50.11.18.00.00#Fresh and frozen organ meat and byproducts#50.11.00.00.00
-unspsc7#50.11.18.01.00#Organ meat#50.11.18.00.00
-unspsc7#50.11.18.02.00#Liver#50.11.18.00.00
-unspsc7#50.11.18.03.00#Gizzard#50.11.18.00.00
-unspsc7#50.11.18.04.00#Tripe#50.11.18.00.00
-unspsc7#50.11.18.05.00#Stomach#50.11.18.00.00
-unspsc7#50.11.18.06.00#Kidney#50.11.18.00.00
-unspsc7#50.11.18.07.00#Brains#50.11.18.00.00
-unspsc7#50.11.19.00.00#Delicatessen meat products#50.11.00.00.00
-unspsc7#50.11.19.01.00#Salami#50.11.19.00.00
-unspsc7#50.11.19.02.00#Kabana#50.11.19.00.00
-unspsc7#50.11.19.03.00#Pastrami#50.11.19.00.00
-unspsc7#50.11.19.04.00#Roast beef#50.11.19.00.00
-unspsc7#50.11.19.05.00#Corned beef or silverside#50.11.19.00.00
-unspsc7#50.11.19.06.00#Frankfurt or hot dog#50.11.19.00.00
-unspsc7#50.11.20.00.00#Processed and prepared meats#50.11.00.00.00
-unspsc7#50.11.20.01.00#Fresh processed or prepared meats#50.11.20.00.00
-unspsc7#50.11.20.02.00#Frozen processed or prepared meats#50.11.20.00.00
-unspsc7#50.11.20.03.00#Shelf stable processed or prepared meats#50.11.20.00.00
-unspsc7#50.12.00.00.00#Seafood#50.00.00.00.00
-unspsc7#50.12.15.00.00#Fish#50.12.00.00.00
-unspsc7#50.12.15.01.00#Lemonfish#50.12.15.00.00
-unspsc7#50.12.15.02.00#Dogfish#50.12.15.00.00
-unspsc7#50.12.15.03.00#Grouper#50.12.15.00.00
-unspsc7#50.12.15.04.00#Mahi mahi#50.12.15.00.00
-unspsc7#50.12.15.05.00#Monkfish#50.12.15.00.00
-unspsc7#50.12.15.06.00#Pompano#50.12.15.00.00
-unspsc7#50.12.15.07.00#Bass#50.12.15.00.00
-unspsc7#50.12.15.08.00#Shark#50.12.15.00.00
-unspsc7#50.12.15.09.00#Tilapia#50.12.15.00.00
-unspsc7#50.12.15.10.00#Swordfish#50.12.15.00.00
-unspsc7#50.12.15.11.00#Anchovies#50.12.15.00.00
-unspsc7#50.12.15.12.00#Carp#50.12.15.00.00
-unspsc7#50.12.15.13.00#Catfish#50.12.15.00.00
-unspsc7#50.12.15.14.00#Eel#50.12.15.00.00
-unspsc7#50.12.15.15.00#Sturgeon#50.12.15.00.00
-unspsc7#50.12.15.16.00#Tuna#50.12.15.00.00
-unspsc7#50.12.15.17.00#Cod#50.12.15.00.00
-unspsc7#50.12.15.18.00#Halibut#50.12.15.00.00
-unspsc7#50.12.15.19.00#Haddock#50.12.15.00.00
-unspsc7#50.12.15.20.00#Ocean perch#50.12.15.00.00
-unspsc7#50.12.15.21.00#Orange roughy#50.12.15.00.00
-unspsc7#50.12.15.22.00#Parrot fish#50.12.15.00.00
-unspsc7#50.12.15.23.00#Pike#50.12.15.00.00
-unspsc7#50.12.15.24.00#Red snapper#50.12.15.00.00
-unspsc7#50.12.15.25.00#Rockfish#50.12.15.00.00
-unspsc7#50.12.15.26.00#Smelt#50.12.15.00.00
-unspsc7#50.12.15.27.00#Sole#50.12.15.00.00
-unspsc7#50.12.15.28.00#Whiting#50.12.15.00.00
-unspsc7#50.12.15.29.00#Salmon#50.12.15.00.00
-unspsc7#50.12.15.30.00#Mackerel#50.12.15.00.00
-unspsc7#50.12.15.31.00#Sardines#50.12.15.00.00
-unspsc7#50.12.15.32.00#Trout#50.12.15.00.00
-unspsc7#50.12.15.33.00#Surimi#50.12.15.00.00
-unspsc7#50.12.15.34.00#Blackfish#50.12.15.00.00
-unspsc7#50.12.15.35.00#Herring#50.12.15.00.00
-unspsc7#50.12.15.36.00#Fresh fish#50.12.15.00.00
-unspsc7#50.12.15.37.00#Frozen fish#50.12.15.00.00
-unspsc7#50.12.15.38.00#Shelf stable fish#50.12.15.00.00
-unspsc7#50.12.15.39.00#Fresh fish#50.12.15.00.00
-unspsc7#50.12.16.00.00#Shellfish#50.12.00.00.00
-unspsc7#50.12.16.01.00#Abalone#50.12.16.00.00
-unspsc7#50.12.16.02.00#Scallops#50.12.16.00.00
-unspsc7#50.12.16.03.00#Clams#50.12.16.00.00
-unspsc7#50.12.16.04.00#Crabs#50.12.16.00.00
-unspsc7#50.12.16.05.00#Conch#50.12.16.00.00
-unspsc7#50.12.16.06.00#Crayfish#50.12.16.00.00
-unspsc7#50.12.16.07.00#Lobster#50.12.16.00.00
-unspsc7#50.12.16.08.00#Mussels#50.12.16.00.00
-unspsc7#50.12.16.09.00#Oysters#50.12.16.00.00
-unspsc7#50.12.16.10.00#Shrimp#50.12.16.00.00
-unspsc7#50.12.16.11.00#Fresh shellfish#50.12.16.00.00
-unspsc7#50.12.16.12.00#Frozen shellfish#50.12.16.00.00
-unspsc7#50.12.16.13.00#Shelf stable shellfish#50.12.16.00.00
-unspsc7#50.12.17.00.00#Aquatic invertebrates#50.12.00.00.00
-unspsc7#50.12.17.01.00#Squid#50.12.17.00.00
-unspsc7#50.12.17.02.00#Octopus#50.12.17.00.00
-unspsc7#50.12.17.03.00#Anemones#50.12.17.00.00
-unspsc7#50.12.17.04.00#Sea cucumbers#50.12.17.00.00
-unspsc7#50.12.17.05.00#Fresh aquatic invertebrates#50.12.17.00.00
-unspsc7#50.12.17.06.00#Frozen aquatic invertebrates#50.12.17.00.00
-unspsc7#50.12.17.07.00#Shelf stable aquatic invertebrates#50.12.17.00.00
-unspsc7#50.12.18.00.00#Aquatic plants#50.12.00.00.00
-unspsc7#50.12.18.01.00#Seaweeds#50.12.18.00.00
-unspsc7#50.12.18.02.00#Fresh aquatic plants#50.12.18.00.00
-unspsc7#50.12.18.03.00#Frozen aquatic plants#50.12.18.00.00
-unspsc7#50.12.18.04.00#Shelf stable aquatic plants#50.12.18.00.00
-unspsc7#50.13.00.00.00#Dairy products and eggs#50.00.00.00.00
-unspsc7#50.13.15.00.00#Dairy products and dairy substitutes#50.13.00.00.00
-unspsc7#50.13.15.01.00#Coffee creamer#50.13.15.00.00
-unspsc7#50.13.15.02.00#Butter#50.13.15.00.00
-unspsc7#50.13.15.03.00#Milk#50.13.15.00.00
-unspsc7#50.13.15.04.00#Soft cheeses#50.13.15.00.00
-unspsc7#50.13.15.05.00#Yogurts#50.13.15.00.00
-unspsc7#50.13.15.06.00#Ice creams#50.13.15.00.00
-unspsc7#50.13.15.07.00#Sour creams#50.13.15.00.00
-unspsc7#50.13.15.08.00#Hard cheeses#50.13.15.00.00
-unspsc7#50.13.15.09.00#Buttermilk#50.13.15.00.00
-unspsc7#50.13.15.10.00#Infant formula#50.13.15.00.00
-unspsc7#50.13.15.11.00#Custard#50.13.15.00.00
-unspsc7#50.13.15.12.00#Evaporated milk#50.13.15.00.00
-unspsc7#50.13.15.13.00#Sweetened condensed milk#50.13.15.00.00
-unspsc7#50.13.15.14.00#Powdered milk#50.13.15.00.00
-unspsc7#50.13.15.15.00#Cream#50.13.15.00.00
-unspsc7#50.13.15.16.00#Long life milk#50.13.15.00.00
-unspsc7#50.13.16.00.00#Eggs and egg substitutes#50.13.00.00.00
-unspsc7#50.13.16.01.00#Eggs#50.13.16.00.00
-unspsc7#50.13.16.02.00#Egg substitutes#50.13.16.00.00
-unspsc7#50.13.16.03.00#Meringue powders#50.13.16.00.00
-unspsc7#50.13.16.04.00#Egg whites#50.13.16.00.00
-unspsc7#50.13.16.05.00#Egg yolks#50.13.16.00.00
-unspsc7#50.13.16.06.00#Fresh eggs#50.13.16.00.00
-unspsc7#50.13.16.07.00#Egg substitutes#50.13.16.00.00
-unspsc7#50.13.16.08.00#Egg whites or yolks#50.13.16.00.00
-unspsc7#50.13.16.09.00#Prepared eggs#50.13.16.00.00
-unspsc7#50.13.17.00.00#Milk and butter products#50.13.00.00.00
-unspsc7#50.13.17.01.00#Fresh milk and butter products#50.13.17.00.00
-unspsc7#50.13.17.02.00#Shelf stable milk and butter products#50.13.17.00.00
-unspsc7#50.13.18.00.00#Cheese#50.13.00.00.00
-unspsc7#50.13.18.01.00#Natural cheese#50.13.18.00.00
-unspsc7#50.13.18.02.00#Processed cheese#50.13.18.00.00
-unspsc7#50.13.18.03.00#Imitation cheese#50.13.18.00.00
-unspsc7#50.14.00.00.00#Grains and cereals and their flours#50.00.00.00.00
-unspsc7#50.14.15.00.00#Grains and cereals#50.14.00.00.00
-unspsc7#50.14.15.01.00#Millet#50.14.15.00.00
-unspsc7#50.14.15.02.00#Hops#50.14.15.00.00
-unspsc7#50.14.15.03.00#Buckwheat#50.14.15.00.00
-unspsc7#50.14.15.04.00#Rye#50.14.15.00.00
-unspsc7#50.14.15.05.00#Corn cereals#50.14.15.00.00
-unspsc7#50.14.15.06.00#Sorghum#50.14.15.00.00
-unspsc7#50.14.15.07.00#Oats#50.14.15.00.00
-unspsc7#50.14.15.08.00#Rice#50.14.15.00.00
-unspsc7#50.14.15.09.00#Barley#50.14.15.00.00
-unspsc7#50.14.15.10.00#Wheat#50.14.15.00.00
-unspsc7#50.14.15.11.00#Pasta or noodle#50.14.15.00.00
-unspsc7#50.14.15.12.00#Bran#50.14.15.00.00
-unspsc7#50.14.15.13.00#short grain rice#50.14.15.00.00
-unspsc7#50.14.16.00.00#Flours#50.14.00.00.00
-unspsc7#50.14.16.01.00#Millet flour#50.14.16.00.00
-unspsc7#50.14.16.02.00#Oat flour#50.14.16.00.00
-unspsc7#50.14.16.03.00#Barley flour#50.14.16.00.00
-unspsc7#50.14.16.04.00#Rice flour#50.14.16.00.00
-unspsc7#50.14.16.05.00#Buckwheat flour#50.14.16.00.00
-unspsc7#50.14.16.06.00#Rye flour#50.14.16.00.00
-unspsc7#50.14.16.07.00#Corn flour#50.14.16.00.00
-unspsc7#50.14.16.08.00#Wheat flour#50.14.16.00.00
-unspsc7#50.14.16.09.00#Self rising flour#50.14.16.00.00
-unspsc7#50.14.16.10.00#Long Grain Rice#50.14.16.00.00
-unspsc7#50.15.00.00.00#Edible oils and fats#50.00.00.00.00
-unspsc7#50.15.15.00.00#Edible vegetable and plant oils and fats#50.15.00.00.00
-unspsc7#50.15.15.01.00#Soybean oil#50.15.15.00.00
-unspsc7#50.15.15.02.00#Corn oil#50.15.15.00.00
-unspsc7#50.15.15.03.00#Canola oil#50.15.15.00.00
-unspsc7#50.15.15.04.00#Sesame oil#50.15.15.00.00
-unspsc7#50.15.15.05.00#Peanut oil#50.15.15.00.00
-unspsc7#50.15.15.06.00#Olive oil#50.15.15.00.00
-unspsc7#50.15.15.07.00#Palm oil#50.15.15.00.00
-unspsc7#50.15.15.08.00#Safflower oil#50.15.15.00.00
-unspsc7#50.15.15.09.00#Castor oil#50.15.15.00.00
-unspsc7#50.15.15.10.00#Sunflower oil#50.15.15.00.00
-unspsc7#50.15.15.11.00#Cottonseed oil#50.15.15.00.00
-unspsc7#50.15.15.12.00#Colza oil#50.15.15.00.00
-unspsc7#50.15.15.13.00#Edible vegetable or plant oils#50.15.15.00.00
-unspsc7#50.15.15.14.00#Edible vegetable or plant fats#50.15.15.00.00
-unspsc7#50.15.16.00.00#Edible animal oils and fats#50.15.00.00.00
-unspsc7#50.15.16.01.00#Lard#50.15.16.00.00
-unspsc7#50.15.16.02.00#Tallow#50.15.16.00.00
-unspsc7#50.15.16.03.00#Cod liver oil#50.15.16.00.00
-unspsc7#50.15.16.04.00#Edible animal oils#50.15.16.00.00
-unspsc7#50.15.16.05.00#Edible animal fats#50.15.16.00.00
-unspsc7#50.15.17.00.00#Oils and fats and other#50.15.00.00.00
-unspsc7#50.15.17.01.00#Shortenings#50.15.17.00.00
-unspsc7#50.15.17.02.00#Margarine#50.15.17.00.00
-unspsc7#50.15.17.03.00#Linseed oil#50.15.17.00.00
-unspsc7#50.15.17.04.00#Cocoa butter#50.15.17.00.00
-unspsc7#50.15.17.05.00#Hop Oil#50.15.17.00.00
-unspsc7#50.15.17.06.00#Macadamia oil#50.15.17.00.00
-unspsc7#50.16.00.00.00#Chocolate and sugars and sweeteners and confectionary products#50.00.00.00.00
-unspsc7#50.16.15.00.00#Chocolate and sugars and sweetening products#50.16.00.00.00
-unspsc7#50.16.15.01.00#Brown sugar#50.16.15.00.00
-unspsc7#50.16.15.02.00#White sugars#50.16.15.00.00
-unspsc7#50.16.15.03.00#Sugar cane#50.16.15.00.00
-unspsc7#50.16.15.04.00#Fructose#50.16.15.00.00
-unspsc7#50.16.15.05.00#Palm sugar#50.16.15.00.00
-unspsc7#50.16.15.06.00#Glucose#50.16.15.00.00
-unspsc7#50.16.15.07.00#Beet sugar#50.16.15.00.00
-unspsc7#50.16.15.08.00#Raw sugar#50.16.15.00.00
-unspsc7#50.16.15.09.00#Natural sugars and sweetening products#50.16.15.00.00
-unspsc7#50.16.15.10.00#Artificial sweetening agents#50.16.15.00.00
-unspsc7#50.16.15.11.00#Chocolate and chocolate substitute#50.16.15.00.00
-unspsc7#50.16.15.12.00#Syrups#50.16.15.00.00
-unspsc7#50.16.16.00.00#Syrups and other sweeteners#50.16.00.00.00
-unspsc7#50.16.16.01.00#Molasses#50.16.16.00.00
-unspsc7#50.16.16.02.00#Honey#50.16.16.00.00
-unspsc7#50.16.16.03.00#Black treacle#50.16.16.00.00
-unspsc7#50.16.16.04.00#Corn syrup#50.16.16.00.00
-unspsc7#50.16.16.05.00#Aspertame#50.16.16.00.00
-unspsc7#50.16.16.06.00#Saccharrin#50.16.16.00.00
-unspsc7#50.16.16.07.00#Maple syrup#50.16.16.00.00
-unspsc7#50.16.17.00.00#Chocolate and carob and chocolate substitutes#50.16.00.00.00
-unspsc7#50.16.17.01.00#Chocolate#50.16.17.00.00
-unspsc7#50.16.17.02.00#Carob#50.16.17.00.00
-unspsc7#50.16.17.03.00#Cocoa#50.16.17.00.00
-unspsc7#50.16.18.00.00#Confectionary products#50.16.00.00.00
-unspsc7#50.16.18.04.00#Chewing gums#50.16.18.00.00
-unspsc7#50.16.18.05.00#Candy#50.16.18.00.00
-unspsc7#50.16.18.06.00#Licorice#50.16.18.00.00
-unspsc7#50.16.18.07.00#jellied confectionary#50.16.18.00.00
-unspsc7#50.16.18.08.00#Fudge#50.16.18.00.00
-unspsc7#50.16.18.09.00#Medicated confectionery or lozenges#50.16.18.00.00
-unspsc7#50.16.18.10.00#Sugar free confectionary#50.16.18.00.00
-unspsc7#50.16.18.11.00#Marshmallow#50.16.18.00.00
-unspsc7#50.16.18.12.00#Nougat#50.16.18.00.00
-unspsc7#50.16.18.13.00#Chocolate or chocolate substitute candy#50.16.18.00.00
-unspsc7#50.16.18.14.00#Sugar or sugar substitute candy#50.16.18.00.00
-unspsc7#50.16.18.15.00#Chewing gum#50.16.18.00.00
-unspsc7#50.17.00.00.00#Seasonings and preservatives#50.00.00.00.00
-unspsc7#50.17.15.00.00#Herbs and spices and extracts#50.17.00.00.00
-unspsc7#50.17.15.01.00#Salt#50.17.15.00.00
-unspsc7#50.17.15.03.00#Nutmeg#50.17.15.00.00
-unspsc7#50.17.15.04.00#Bay#50.17.15.00.00
-unspsc7#50.17.15.05.00#Anise#50.17.15.00.00
-unspsc7#50.17.15.06.00#Saffron#50.17.15.00.00
-unspsc7#50.17.15.07.00#Basil#50.17.15.00.00
-unspsc7#50.17.15.08.00#Ginger#50.17.15.00.00
-unspsc7#50.17.15.09.00#Lavender#50.17.15.00.00
-unspsc7#50.17.15.10.00#Mace#50.17.15.00.00
-unspsc7#50.17.15.11.00#Paprika#50.17.15.00.00
-unspsc7#50.17.15.12.00#Chicory#50.17.15.00.00
-unspsc7#50.17.15.13.00#Garlic#50.17.15.00.00
-unspsc7#50.17.15.14.00#Cumin#50.17.15.00.00
-unspsc7#50.17.15.15.00#Cloves#50.17.15.00.00
-unspsc7#50.17.15.16.00#Cinnamon#50.17.15.00.00
-unspsc7#50.17.15.17.00#Cilantro#50.17.15.00.00
-unspsc7#50.17.15.18.00#Allspice#50.17.15.00.00
-unspsc7#50.17.15.19.00#Marjoram#50.17.15.00.00
-unspsc7#50.17.15.20.00#Yarrow#50.17.15.00.00
-unspsc7#50.17.15.21.00#Thyme#50.17.15.00.00
-unspsc7#50.17.15.22.00#Tarragon#50.17.15.00.00
-unspsc7#50.17.15.23.00#Sesame#50.17.15.00.00
-unspsc7#50.17.15.24.00#Sage#50.17.15.00.00
-unspsc7#50.17.15.25.00#Rosemary#50.17.15.00.00
-unspsc7#50.17.15.26.00#Parsley#50.17.15.00.00
-unspsc7#50.17.15.27.00#Chamomile#50.17.15.00.00
-unspsc7#50.17.15.28.00#Mints#50.17.15.00.00
-unspsc7#50.17.15.29.00#Caraway#50.17.15.00.00
-unspsc7#50.17.15.30.00#Lemongrass#50.17.15.00.00
-unspsc7#50.17.15.31.00#Lemon balm#50.17.15.00.00
-unspsc7#50.17.15.32.00#Dill#50.17.15.00.00
-unspsc7#50.17.15.33.00#Fennel#50.17.15.00.00
-unspsc7#50.17.15.34.00#Curry#50.17.15.00.00
-unspsc7#50.17.15.35.00#Comfrey#50.17.15.00.00
-unspsc7#50.17.15.36.00#Chives#50.17.15.00.00
-unspsc7#50.17.15.37.00#Chervil#50.17.15.00.00
-unspsc7#50.17.15.38.00#Oregano#50.17.15.00.00
-unspsc7#50.17.15.39.00#Peppercorns#50.17.15.00.00
-unspsc7#50.17.15.40.00#Cardamom#50.17.15.00.00
-unspsc7#50.17.15.41.00#Coriander#50.17.15.00.00
-unspsc7#50.17.15.42.00#Flavoring extracts#50.17.15.00.00
-unspsc7#50.17.15.43.00#Chili powder#50.17.15.00.00
-unspsc7#50.17.15.44.00#Poppy seeds#50.17.15.00.00
-unspsc7#50.17.15.45.00#Mixed herbs#50.17.15.00.00
-unspsc7#50.17.15.46.00#Vanilla#50.17.15.00.00
-unspsc7#50.17.15.47.00#Seasoning mix#50.17.15.00.00
-unspsc7#50.17.15.48.00#Fresh herbs#50.17.15.00.00
-unspsc7#50.17.15.49.00#Dried herbs#50.17.15.00.00
-unspsc7#50.17.15.50.00#Spices or extracts#50.17.15.00.00
-unspsc7#50.17.16.00.00#Preservatives and additives#50.17.00.00.00
-unspsc7#50.17.16.01.00#Pectin#50.17.16.00.00
-unspsc7#50.17.16.02.00#Food colorings#50.17.16.00.00
-unspsc7#50.17.16.03.00#Monosodium glutamate (MSG)#50.17.16.00.00
-unspsc7#50.17.17.00.00#Vinegars and cooking wines#50.17.00.00.00
-unspsc7#50.17.17.01.00#Cider vineagar#50.17.17.00.00
-unspsc7#50.17.17.02.00#Balsamic vinegar#50.17.17.00.00
-unspsc7#50.17.17.03.00#Distilled vinegar#50.17.17.00.00
-unspsc7#50.17.17.04.00#Rice vinegar#50.17.17.00.00
-unspsc7#50.17.17.05.00#Wine vinegar#50.17.17.00.00
-unspsc7#50.17.17.06.00#Infused vinegar#50.17.17.00.00
-unspsc7#50.17.17.07.00#Vinegars#50.17.17.00.00
-unspsc7#50.17.17.08.00#Cooking wines#50.17.17.00.00
-unspsc7#50.17.18.00.00#Sauces and spreads and condiments#50.17.00.00.00
-unspsc7#50.17.18.01.00#Mustards#50.17.18.00.00
-unspsc7#50.17.18.02.00#Catsup or ketchup or tomato sauce#50.17.18.00.00
-unspsc7#50.17.18.03.00#Barbecue sauces#50.17.18.00.00
-unspsc7#50.17.18.04.00#Marinades#50.17.18.00.00
-unspsc7#50.17.18.05.00#Hot sauces#50.17.18.00.00
-unspsc7#50.17.18.06.00#Mayonnaise#50.17.18.00.00
-unspsc7#50.17.18.07.00#Soy sauce#50.17.18.00.00
-unspsc7#50.17.18.08.00#Salad dressings#50.17.18.00.00
-unspsc7#50.17.18.09.00#Worchestershire sauce#50.17.18.00.00
-unspsc7#50.17.18.10.00#Salsa#50.17.18.00.00
-unspsc7#50.17.18.11.00#Relishes or chutneys#50.17.18.00.00
-unspsc7#50.17.18.12.00#Conserve or jam#50.17.18.00.00
-unspsc7#50.17.18.13.00#Dip or chilled dipping sauce#50.17.18.00.00
-unspsc7#50.17.18.14.00#Sweet and sour sauce#50.17.18.00.00
-unspsc7#50.17.18.15.00#Tartare sauce#50.17.18.00.00
-unspsc7#50.17.18.16.00#Mint sauce#50.17.18.00.00
-unspsc7#50.17.18.17.00#Gravy sauce or powder#50.17.18.00.00
-unspsc7#50.17.18.18.00#Noodle or pasta sauce#50.17.18.00.00
-unspsc7#50.17.18.19.00#Food spreads or pastes#50.17.18.00.00
-unspsc7#50.17.18.20.00#Tomato paste#50.17.18.00.00
-unspsc7#50.17.18.21.00#Black bean sauce#50.17.18.00.00
-unspsc7#50.17.18.22.00#Satay sauce#50.17.18.00.00
-unspsc7#50.17.18.23.00#Teriyaki sauce#50.17.18.00.00
-unspsc7#50.17.18.24.00#Seafood sauce#50.17.18.00.00
-unspsc7#50.17.18.25.00#Pesto#50.17.18.00.00
-unspsc7#50.17.18.26.00#Steak sauce#50.17.18.00.00
-unspsc7#50.17.18.27.00#Oyster sauce#50.17.18.00.00
-unspsc7#50.17.18.28.00#Plum sauce#50.17.18.00.00
-unspsc7#50.17.18.29.00#White sauce#50.17.18.00.00
-unspsc7#50.17.18.30.00#Dipping sauces or condiments or spreads or marinades#50.17.18.00.00
-unspsc7#50.17.18.31.00#Cooking sauce#50.17.18.00.00
-unspsc7#50.17.18.32.00#Salad dressing or dips#50.17.18.00.00
-unspsc7#50.17.18.33.00#Savory spread or pate#50.17.18.00.00
-unspsc7#50.17.19.00.00#Pickles and relish and olives#50.17.00.00.00
-unspsc7#50.17.19.01.00#Pickles#50.17.19.00.00
-unspsc7#50.17.19.02.00#Relish#50.17.19.00.00
-unspsc7#50.17.19.03.00#Olives#50.17.19.00.00
-unspsc7#50.17.19.04.00#Chutneys#50.17.19.00.00
-unspsc7#50.18.00.00.00#Bread and bakery products#50.00.00.00.00
-unspsc7#50.18.15.00.00#Leavening agents#50.18.00.00.00
-unspsc7#50.18.15.01.00#Yeast#50.18.15.00.00
-unspsc7#50.18.15.02.00#Baking powder#50.18.15.00.00
-unspsc7#50.18.15.03.00#Baking soda#50.18.15.00.00
-unspsc7#50.18.15.04.00#Bakers ammonia#50.18.15.00.00
-unspsc7#50.18.16.00.00#Thickeners#50.18.00.00.00
-unspsc7#50.18.16.01.00#Gelatins#50.18.16.00.00
-unspsc7#50.18.16.02.00#Food grade starches#50.18.16.00.00
-unspsc7#50.18.16.03.00#Tapioca#50.18.16.00.00
-unspsc7#50.18.16.04.00#Arrowroot#50.18.16.00.00
-unspsc7#50.18.16.05.00#Food grade agar#50.18.16.00.00
-unspsc7#50.18.17.00.00#Baking mixes and supplies#50.18.00.00.00
-unspsc7#50.18.17.01.00#Food glazes#50.18.17.00.00
-unspsc7#50.18.17.02.00#Icings#50.18.17.00.00
-unspsc7#50.18.17.03.00#Cake decorations#50.18.17.00.00
-unspsc7#50.18.17.04.00#Cake or pudding mixtures#50.18.17.00.00
-unspsc7#50.18.17.05.00#Pie fillings#50.18.17.00.00
-unspsc7#50.18.17.06.00#Baking mixes#50.18.17.00.00
-unspsc7#50.18.17.07.00#Coating mix or breadcrumbs#50.18.17.00.00
-unspsc7#50.18.17.08.00#Baking mixes#50.18.17.00.00
-unspsc7#50.18.17.09.00#Baking supplies#50.18.17.00.00
-unspsc7#50.18.18.00.00#Baked goods#50.18.00.00.00
-unspsc7#50.18.18.01.00#Pastry shells#50.18.18.00.00
-unspsc7#50.18.18.02.00#Crackers or dry or savoury biscuits#50.18.18.00.00
-unspsc7#50.18.18.03.00#Bread#50.18.18.00.00
-unspsc7#50.18.18.04.00#Pastries#50.18.18.00.00
-unspsc7#50.18.18.05.00#Cakes#50.18.18.00.00
-unspsc7#50.18.18.06.00#Cookie or sweet biscuit#50.18.18.00.00
-unspsc7#50.18.18.07.00#Biscuits#50.18.18.00.00
-unspsc7#50.18.18.08.00#Unleavened bread#50.18.18.00.00
-unspsc7#50.18.18.09.00#Muffins#50.18.18.00.00
-unspsc7#50.18.18.10.00#Donuts#50.18.18.00.00
-unspsc7#50.18.18.11.00#Pizza or pizza bases#50.18.18.00.00
-unspsc7#50.18.18.12.00#Cornets or cones or waffles#50.18.18.00.00
-unspsc7#50.18.19.00.00#Bread and biscuits and cookies#50.18.00.00.00
-unspsc7#50.18.19.01.00#Fresh bread#50.18.19.00.00
-unspsc7#50.18.19.02.00#Frozen bread#50.18.19.00.00
-unspsc7#50.18.19.03.00#Plain savory biscuits#50.18.19.00.00
-unspsc7#50.18.19.04.00#Dried breads or bread shells or croutons#50.18.19.00.00
-unspsc7#50.18.19.05.00#Sweet biscuits or cookies#50.18.19.00.00
-unspsc7#50.18.20.00.00#Cakes and pies and pastries#50.18.00.00.00
-unspsc7#50.18.20.01.00#Fresh cakes or pies or pastries#50.18.20.00.00
-unspsc7#50.18.20.02.00#Frozen cakes or pies or pastries#50.18.20.00.00
-unspsc7#50.19.00.00.00#Prepared and preserved foods#50.00.00.00.00
-unspsc7#50.19.15.00.00#Prepared soups and stews#50.19.00.00.00
-unspsc7#50.19.15.01.00#Stews#50.19.15.00.00
-unspsc7#50.19.15.02.00#Soups#50.19.15.00.00
-unspsc7#50.19.15.03.00#Stock or stock cubes#50.19.15.00.00
-unspsc7#50.19.15.04.00#Stew or casserole base#50.19.15.00.00
-unspsc7#50.19.15.05.00#Fresh prepared soups or stews#50.19.15.00.00
-unspsc7#50.19.15.06.00#Frozen prepared soups or stews#50.19.15.00.00
-unspsc7#50.19.15.07.00#Shelf stable prepared soups or stews#50.19.15.00.00
-unspsc7#50.19.16.00.00#Frozen foods#50.19.00.00.00
-unspsc7#50.19.16.01.00#Frozen desserts#50.19.16.00.00
-unspsc7#50.19.16.02.00#Frozen meats#50.19.16.00.00
-unspsc7#50.19.16.03.00#Frozen fruits#50.19.16.00.00
-unspsc7#50.19.16.04.00#Frozen vegetables#50.19.16.00.00
-unspsc7#50.19.16.05.00#Frozen prepared meals#50.19.16.00.00
-unspsc7#50.19.16.06.00#Frozen fish#50.19.16.00.00
-unspsc7#50.19.16.07.00#Frozen crustaceans#50.19.16.00.00
-unspsc7#50.19.16.08.00#Frozen mollusks#50.19.16.00.00
-unspsc7#50.19.16.09.00#Frozen prepared pastry unbaked#50.19.16.00.00
-unspsc7#50.19.16.10.00#Frozen savouries#50.19.16.00.00
-unspsc7#50.19.17.00.00#Canned foods and bottled etc#50.19.00.00.00
-unspsc7#50.19.17.01.00#Canned fruits#50.19.17.00.00
-unspsc7#50.19.17.02.00#Canned vegetables#50.19.17.00.00
-unspsc7#50.19.17.03.00#Canned fish#50.19.17.00.00
-unspsc7#50.19.17.04.00#Canned meat#50.19.17.00.00
-unspsc7#50.19.17.05.00#Canned Infant foods#50.19.17.00.00
-unspsc7#50.19.17.06.00#Fruit jams#50.19.17.00.00
-unspsc7#50.19.17.07.00#Marmalade#50.19.17.00.00
-unspsc7#50.19.17.08.00#Canned prepared meals#50.19.17.00.00
-unspsc7#50.19.17.09.00#Canned desserts#50.19.17.00.00
-unspsc7#50.19.18.00.00#Dried foods#50.19.00.00.00
-unspsc7#50.19.18.01.00#Dried fish#50.19.18.00.00
-unspsc7#50.19.18.02.00#Dried meat#50.19.18.00.00
-unspsc7#50.19.18.03.00#Dried vegetables#50.19.18.00.00
-unspsc7#50.19.18.04.00#Dried fruits#50.19.18.00.00
-unspsc7#50.19.19.00.00#Salted and smoked foods#50.19.00.00.00
-unspsc7#50.19.19.01.00#Salted or smoked fish#50.19.19.00.00
-unspsc7#50.19.19.02.00#Salted or smoked meats#50.19.19.00.00
-unspsc7#50.19.19.03.00#Salted or smoked shellfish or crustaceans or roe#50.19.19.00.00
-unspsc7#50.19.19.04.00#Salted or smoked fruits#50.19.19.00.00
-unspsc7#50.19.19.05.00#Salted or smoked nuts#50.19.19.00.00
-unspsc7#50.19.20.00.00#Pickled foods#50.19.00.00.00
-unspsc7#50.19.20.01.00#Pickled fish#50.19.20.00.00
-unspsc7#50.19.20.02.00#Pickled crustaceans#50.19.20.00.00
-unspsc7#50.19.20.03.00#Pickled meats#50.19.20.00.00
-unspsc7#50.19.20.04.00#Pickled vegetables#50.19.20.00.00
-unspsc7#50.19.20.05.00#Pickled eggs#50.19.20.00.00
-unspsc7#50.19.21.00.00#Snack foods#50.19.00.00.00
-unspsc7#50.19.21.01.00#Pretzels#50.19.21.00.00
-unspsc7#50.19.21.02.00#Corn chips#50.19.21.00.00
-unspsc7#50.19.21.03.00#Potato chips#50.19.21.00.00
-unspsc7#50.19.21.04.00#Popcorn#50.19.21.00.00
-unspsc7#50.19.21.05.00#Fish fingers#50.19.21.00.00
-unspsc7#50.19.21.06.00#Fruit snacks#50.19.21.00.00
-unspsc7#50.19.21.07.00#Other flavoured snack foods#50.19.21.00.00
-unspsc7#50.19.21.08.00#Fruit or nut mix#50.19.21.00.00
-unspsc7#50.19.21.09.00#Crisps or chips or pretzels or mixes#50.19.21.00.00
-unspsc7#50.19.21.10.00#Nuts or dried fruits#50.19.21.00.00
-unspsc7#50.19.21.11.00#Dried or processed meats#50.19.21.00.00
-unspsc7#50.19.21.12.00#Popped corn#50.19.21.00.00
-unspsc7#50.19.22.00.00#Spreads and conserves#50.19.00.00.00
-unspsc7#50.19.22.01.00#Peanut butter#50.19.22.00.00
-unspsc7#50.19.22.02.00#Yeast or vegetable extract spreads#50.19.22.00.00
-unspsc7#50.19.22.03.00#Jams or jellies or quinces#50.19.22.00.00
-unspsc7#50.19.23.00.00#Deserts and desert toppings#50.19.00.00.00
-unspsc7#50.19.23.01.00#Prepared deserts#50.19.23.00.00
-unspsc7#50.19.23.02.00#Desert toppings#50.19.23.00.00
-unspsc7#50.19.23.03.00#Flavored ices or ice cream or ice cream deserts or frozen yogurts#50.19.23.00.00
-unspsc7#50.19.24.00.00#Jams and jellies and nut and sweet spreads and fruit conserves#50.19.00.00.00
-unspsc7#50.19.24.01.00#Jams or jellies or fruit preserves#50.19.24.00.00
-unspsc7#50.19.24.02.00#Nut or mixed spreads#50.19.24.00.00
-unspsc7#50.19.24.03.00#Honey#50.19.24.00.00
-unspsc7#50.19.25.00.00#Sandwiches and filled rolls#50.19.00.00.00
-unspsc7#50.19.25.01.00#Fresh sandwiches or filled rolls#50.19.25.00.00
-unspsc7#50.19.25.02.00#Frozen sandwiches or filled rolls#50.19.25.00.00
-unspsc7#50.19.26.00.00#Prepared potatoes and rice and pasta and stuffing#50.19.00.00.00
-unspsc7#50.19.26.01.00#Fresh prepared potatoes or rice or pasta or stuffing#50.19.26.00.00
-unspsc7#50.19.26.02.00#Frozen prepared potatoes or rice or pasta or stuffing#50.19.26.00.00
-unspsc7#50.19.26.03.00#Shelf stable prepared potatoes or rice or pasta or stuffing#50.19.26.00.00
-unspsc7#50.19.27.00.00#Packaged combination meals#50.19.00.00.00
-unspsc7#50.19.27.01.00#Fresh combination meals#50.19.27.00.00
-unspsc7#50.19.27.02.00#Frozen combination meals#50.19.27.00.00
-unspsc7#50.19.27.03.00#Shelf stable combination meals#50.19.27.00.00
-unspsc7#50.19.28.00.00#Savory pies and quiches and pasties#50.19.00.00.00
-unspsc7#50.19.28.01.00#Fresh savory pies or quiches or pasties#50.19.28.00.00
-unspsc7#50.19.28.02.00#Frozen savory pies or quiches or pasties#50.19.28.00.00
-unspsc7#50.19.28.03.00#Shelf stable savory pies or quiches or pasties#50.19.28.00.00
-unspsc7#50.19.29.00.00#Plain pasta and noodles#50.19.00.00.00
-unspsc7#50.19.29.01.00#Fresh plain pasta or noodles#50.19.29.00.00
-unspsc7#50.19.29.02.00#Shelf stable plain pasta or noodles#50.19.29.00.00
-unspsc7#50.19.30.00.00#Infant foods and beverages#50.19.00.00.00
-unspsc7#50.19.30.01.00#Infant foods#50.19.30.00.00
-unspsc7#50.19.30.02.00#Infant beverages#50.19.30.00.00
-unspsc7#50.20.00.00.00#Beverages#50.00.00.00.00
-unspsc7#50.20.15.00.00#Water#50.20.00.00.00
-unspsc7#50.20.15.01.00#Sparkling water#50.20.15.00.00
-unspsc7#50.20.15.02.00#Spring water#50.20.15.00.00
-unspsc7#50.20.15.03.00#Mineral water#50.20.15.00.00
-unspsc7#50.20.15.04.00#Distilled or purified water#50.20.15.00.00
-unspsc7#50.20.16.00.00#Juices#50.20.00.00.00
-unspsc7#50.20.16.01.00#Blended juices#50.20.16.00.00
-unspsc7#50.20.16.02.00#Guava juice#50.20.16.00.00
-unspsc7#50.20.16.03.00#Prune juice#50.20.16.00.00
-unspsc7#50.20.16.04.00#Tomato juice#50.20.16.00.00
-unspsc7#50.20.16.05.00#Cranberry juice#50.20.16.00.00
-unspsc7#50.20.16.06.00#Grapefruit juice#50.20.16.00.00
-unspsc7#50.20.16.07.00#Grape juice#50.20.16.00.00
-unspsc7#50.20.16.08.00#Pineapple juice#50.20.16.00.00
-unspsc7#50.20.16.09.00#Orange juice#50.20.16.00.00
-unspsc7#50.20.16.10.00#Apple juice#50.20.16.00.00
-unspsc7#50.20.16.11.00#Lemon juices or lemonade#50.20.16.00.00
-unspsc7#50.20.16.12.00#Infant juice#50.20.16.00.00
-unspsc7#50.20.17.00.00#Coffee and tea#50.20.00.00.00
-unspsc7#50.20.17.01.00#Instant coffee#50.20.17.00.00
-unspsc7#50.20.17.02.00#Ground coffee#50.20.17.00.00
-unspsc7#50.20.17.03.00#Whole bean coffee#50.20.17.00.00
-unspsc7#50.20.17.04.00#Green coffee#50.20.17.00.00
-unspsc7#50.20.17.05.00#Coffee substitutes#50.20.17.00.00
-unspsc7#50.20.17.06.00#Coffee#50.20.17.00.00
-unspsc7#50.20.17.07.00#Coffee substitutes#50.20.17.00.00
-unspsc7#50.20.17.08.00#Coffee drinks#50.20.17.00.00
-unspsc7#50.20.17.09.00#Instant coffee#50.20.17.00.00
-unspsc7#50.20.17.10.00#Leaf tea#50.20.17.00.00
-unspsc7#50.20.17.11.00#Instant tea#50.20.17.00.00
-unspsc7#50.20.17.12.00#Tea drinks#50.20.17.00.00
-unspsc7#50.20.17.13.00#Tea bags#50.20.17.00.00
-unspsc7#50.20.18.00.00#Tea#50.20.00.00.00
-unspsc7#50.20.18.01.00#Green tea#50.20.18.00.00
-unspsc7#50.20.18.02.00#Black tea#50.20.18.00.00
-unspsc7#50.20.18.03.00#Herbal tea#50.20.18.00.00
-unspsc7#50.20.18.04.00#Powdered tea#50.20.18.00.00
-unspsc7#50.20.18.05.00#Tea bags#50.20.18.00.00
-unspsc7#50.20.19.00.00#Soft drinks#50.20.00.00.00
-unspsc7#50.20.19.01.00#Non carbonated soft drinks#50.20.19.00.00
-unspsc7#50.20.19.02.00#Carbonated soft drinks#50.20.19.00.00
-unspsc7#50.20.19.03.00#Cordials or colourings#50.20.19.00.00
-unspsc7#50.20.19.04.00#Sports or high energy drinks#50.20.19.00.00
-unspsc7#50.20.19.05.00#Soy beverage#50.20.19.00.00
-unspsc7#50.20.20.00.00#Beer and wine#50.20.00.00.00
-unspsc7#50.20.20.01.00#Champagne#50.20.20.00.00
-unspsc7#50.20.20.02.00#Beer#50.20.20.00.00
-unspsc7#50.20.20.03.00#Wine#50.20.20.00.00
-unspsc7#50.20.20.04.00#Sparkling wines#50.20.20.00.00
-unspsc7#50.20.20.05.00#Fortified wine#50.20.20.00.00
-unspsc7#50.20.20.06.00#Port#50.20.20.00.00
-unspsc7#50.20.20.07.00#Sherry#50.20.20.00.00
-unspsc7#50.20.20.08.00#Wine cooler beverage#50.20.20.00.00
-unspsc7#50.20.21.00.00#Spirits and liquors#50.20.00.00.00
-unspsc7#50.20.21.01.00#Brandy#50.20.21.00.00
-unspsc7#50.20.21.02.00#Cognac or armagnac#50.20.21.00.00
-unspsc7#50.20.21.03.00#Whiskey#50.20.21.00.00
-unspsc7#50.20.21.04.00#Vodka#50.20.21.00.00
-unspsc7#50.20.21.05.00#Tequila#50.20.21.00.00
-unspsc7#50.20.21.06.00#Gin#50.20.21.00.00
-unspsc7#50.20.21.07.00#Liqueurs#50.20.21.00.00
-unspsc7#50.20.21.08.00#Rum#50.20.21.00.00
-unspsc7#50.20.21.09.00#Bourbon#50.20.21.00.00
-unspsc7#50.20.21.10.00#Scotch#50.20.21.00.00
-unspsc7#50.20.21.11.00#Cider#50.20.21.00.00
-unspsc7#50.20.21.12.00#Schnapps#50.20.21.00.00
-unspsc7#50.20.21.13.00#Ouzo#50.20.21.00.00
-unspsc7#50.20.21.14.00#Aperitifs or bitters#50.20.21.00.00
-unspsc7#50.20.21.15.00#Vermouth#50.20.21.00.00
-unspsc7#50.20.21.16.00#Sambuca#50.20.21.00.00
-unspsc7#50.20.21.17.00#Sake#50.20.21.00.00
-unspsc7#50.20.21.18.00#Muscat or madeira#50.20.21.00.00
-unspsc7#50.20.22.00.00#Alcoholic beverages#50.20.00.00.00
-unspsc7#50.20.22.01.00#Beer#50.20.22.00.00
-unspsc7#50.20.22.02.00#Cider or perry#50.20.22.00.00
-unspsc7#50.20.22.03.00#Wine#50.20.22.00.00
-unspsc7#50.20.22.04.00#Fortified wine#50.20.22.00.00
-unspsc7#50.20.22.05.00#Sparkling wine#50.20.22.00.00
-unspsc7#50.20.22.06.00#Spirits or liquors#50.20.22.00.00
-unspsc7#50.20.22.07.00#Alcohol cocktails or drink mixes#50.20.22.00.00
-unspsc7#50.20.23.00.00#Non alcoholic beverages#50.20.00.00.00
-unspsc7#50.20.23.01.00#Water#50.20.23.00.00
-unspsc7#50.20.23.02.00#Ice#50.20.23.00.00
-unspsc7#50.20.23.03.00#Frozen juices#50.20.23.00.00
-unspsc7#50.20.23.04.00#Shelf stable juice#50.20.23.00.00
-unspsc7#50.20.23.05.00#Fresh juice#50.20.23.00.00
-unspsc7#50.20.23.06.00#Soft drinks#50.20.23.00.00
-unspsc7#50.20.23.07.00#Chocolate or malt or other hot beverages#50.20.23.00.00
-unspsc7#50.20.23.08.00#Alcohol free cocktails or drink mixes#50.20.23.00.00
-unspsc7#50.20.23.09.00#Sport drink mixes#50.20.23.00.00
-unspsc7#50.20.23.10.00#Spring water#50.20.23.00.00
-unspsc7#50.21.00.00.00#Tobacco and smoking products and substitutes#50.00.00.00.00
-unspsc7#50.21.15.00.00#Tobacco and substitutes#50.21.00.00.00
-unspsc7#50.21.15.01.00#Tobacco leaf#50.21.15.00.00
-unspsc7#50.21.15.02.00#Cigarettes or cigars#50.21.15.00.00
-unspsc7#50.21.15.03.00#Pipe tobacco or leaf tobacco#50.21.15.00.00
-unspsc7#50.21.15.04.00#Chewing tobacco#50.21.15.00.00
-unspsc7#50.21.15.05.00#Herbal cigarettes#50.21.15.00.00
-unspsc7#50.21.16.00.00#Tobacco product accessories and supplies#50.21.00.00.00
-unspsc7#50.21.16.01.00#Pipe tobacco#50.21.16.00.00
-unspsc7#50.21.16.02.00#Cigars#50.21.16.00.00
-unspsc7#50.21.16.03.00#Cigarettes#50.21.16.00.00
-unspsc7#50.21.16.04.00#Smokeless tobacco#50.21.16.00.00
-unspsc7#50.21.16.05.00#Ready rubbed tobacco#50.21.16.00.00
-unspsc7#50.21.16.06.00#Cigarette papers#50.21.16.00.00
-unspsc7#50.21.16.07.00#Cigarette papers or filters#50.21.16.00.00
-unspsc7#50.21.16.08.00#Cigarette lighters or flints#50.21.16.00.00
-unspsc7#50.21.16.09.00#Smoking pipes#50.21.16.00.00
-unspsc7#50.22.00.00.00#Cereal and pulse products#50.00.00.00.00
-unspsc7#50.22.10.00.00#Pulses#50.22.00.00.00
-unspsc7#50.22.10.01.00#Pulse grains#50.22.10.00.00
-unspsc7#50.22.10.02.00#Pulse flour#50.22.10.00.00
-unspsc7#50.22.11.00.00#Cereals#50.22.00.00.00
-unspsc7#50.22.11.01.00#Cereal grains#50.22.11.00.00
-unspsc7#50.22.11.02.00#Cereal flour#50.22.11.00.00
-unspsc7#50.22.12.00.00#Processed cereals#50.22.00.00.00
-unspsc7#50.22.12.01.00#Ready to eat or hot cereals#50.22.12.00.00
-unspsc7#50.22.12.02.00#Health or breakfast bars#50.22.12.00.00
-unspsc7#51.00.00.00.00#Drugs and Pharmaceutical Products#51.00.00.00.00
-unspsc7#51.10.00.00.00#Anti infective drugs#51.00.00.00.00
-unspsc7#51.10.15.00.00#Antibiotics#51.10.00.00.00
-unspsc7#51.10.15.01.00#Aminoglycosides#51.10.15.00.00
-unspsc7#51.10.15.02.00#Cephalosporins#51.10.15.00.00
-unspsc7#51.10.15.03.00#Chloramphenicol#51.10.15.00.00
-unspsc7#51.10.15.04.00#Clindamycin or lincomycin#51.10.15.00.00
-unspsc7#51.10.15.05.00#Fluoroquinolones#51.10.15.00.00
-unspsc7#51.10.15.06.00#Macrolide#51.10.15.00.00
-unspsc7#51.10.15.07.00#Penicillins#51.10.15.00.00
-unspsc7#51.10.15.08.00#Antibiotic sulfonamides#51.10.15.00.00
-unspsc7#51.10.15.09.00#Tetracyclines#51.10.15.00.00
-unspsc7#51.10.16.00.00#Amebicides and Trichomonacides and Antiprotozoals#51.10.00.00.00
-unspsc7#51.10.16.01.00#Atovaquone#51.10.16.00.00
-unspsc7#51.10.16.02.00#Eflornithine hydrochloride#51.10.16.00.00
-unspsc7#51.10.16.03.00#Metronidazole#51.10.16.00.00
-unspsc7#51.10.17.00.00#Anthelmintics#51.10.00.00.00
-unspsc7#51.10.17.01.00#Albendadole#51.10.17.00.00
-unspsc7#51.10.17.02.00#Mebendazole#51.10.17.00.00
-unspsc7#51.10.17.03.00#Oxamniquine#51.10.17.00.00
-unspsc7#51.10.17.04.00#Piperazine citrate#51.10.17.00.00
-unspsc7#51.10.17.05.00#Praziquantel#51.10.17.00.00
-unspsc7#51.10.17.06.00#Pyrantel pamoate#51.10.17.00.00
-unspsc7#51.10.17.07.00#Thiabendazole#51.10.17.00.00
-unspsc7#51.10.18.00.00#Antifungal drugs#51.10.00.00.00
-unspsc7#51.10.18.01.00#Amphotericin b#51.10.18.00.00
-unspsc7#51.10.18.02.00#Butenafine hydrochloride#51.10.18.00.00
-unspsc7#51.10.18.03.00#Butoconazole nitrate#51.10.18.00.00
-unspsc7#51.10.18.04.00#Ciclopirox olamine#51.10.18.00.00
-unspsc7#51.10.18.05.00#Clotrimazole#51.10.18.00.00
-unspsc7#51.10.18.06.00#Econazole nitrate#51.10.18.00.00
-unspsc7#51.10.18.07.00#Fluconazole#51.10.18.00.00
-unspsc7#51.10.18.08.00#Flucytosine#51.10.18.00.00
-unspsc7#51.10.18.09.00#Griseofulvin#51.10.18.00.00
-unspsc7#51.10.18.10.00#Itraconazole#51.10.18.00.00
-unspsc7#51.10.18.11.00#Ketoconazole#51.10.18.00.00
-unspsc7#51.10.18.12.00#Miconazole#51.10.18.00.00
-unspsc7#51.10.18.13.00#Naftifine hydrochloride#51.10.18.00.00
-unspsc7#51.10.18.14.00#Natamycin#51.10.18.00.00
-unspsc7#51.10.18.15.00#Nystatin#51.10.18.00.00
-unspsc7#51.10.18.16.00#Oxiconazole nitrate#51.10.18.00.00
-unspsc7#51.10.18.17.00#Sulconazole nitrate#51.10.18.00.00
-unspsc7#51.10.18.18.00#Terbinafine hydrochloride#51.10.18.00.00
-unspsc7#51.10.18.19.00#Terconazole nitrate#51.10.18.00.00
-unspsc7#51.10.18.20.00#Tioconazole#51.10.18.00.00
-unspsc7#51.10.18.21.00#Tolnaftate#51.10.18.00.00
-unspsc7#51.10.19.00.00#Antimalarial drugs#51.10.00.00.00
-unspsc7#51.10.19.01.00#Aminoquinolines#51.10.19.00.00
-unspsc7#51.10.19.02.00#Mefloquine hydrochloride#51.10.19.00.00
-unspsc7#51.10.19.03.00#Primaquine phosphate#51.10.19.00.00
-unspsc7#51.10.19.04.00#Quinine sulfate#51.10.19.00.00
-unspsc7#51.10.19.05.00#Chloroquine#51.10.19.00.00
-unspsc7#51.10.19.06.00#Proguanil#51.10.19.00.00
-unspsc7#51.10.19.07.00#Pyrimethamine#51.10.19.00.00
-unspsc7#51.10.20.00.00#Antitubercular drugs#51.10.00.00.00
-unspsc7#51.10.20.01.00#Cycloserine#51.10.20.00.00
-unspsc7#51.10.20.02.00#Ethambutol hydrochloride#51.10.20.00.00
-unspsc7#51.10.20.03.00#Isoniazid#51.10.20.00.00
-unspsc7#51.10.20.04.00#Rifubutin#51.10.20.00.00
-unspsc7#51.10.20.05.00#Rifampin#51.10.20.00.00
-unspsc7#51.10.21.00.00#Leprostatics#51.10.00.00.00
-unspsc7#51.10.21.01.00#Clofazimine#51.10.21.00.00
-unspsc7#51.10.21.02.00#Dapsone#51.10.21.00.00
-unspsc7#51.10.22.00.00#Urinary anti infectives and analgesics#51.10.00.00.00
-unspsc7#51.10.22.01.00#Cinoxacin#51.10.22.00.00
-unspsc7#51.10.22.02.00#Flavoxate hydrochloride#51.10.22.00.00
-unspsc7#51.10.22.03.00#Methenamine hippurate#51.10.22.00.00
-unspsc7#51.10.22.04.00#Methenamine mandelate#51.10.22.00.00
-unspsc7#51.10.22.05.00#Nalidixic acid#51.10.22.00.00
-unspsc7#51.10.22.06.00#Nitrofurantoin#51.10.22.00.00
-unspsc7#51.10.22.07.00#Oxybutynin chloride#51.10.22.00.00
-unspsc7#51.10.22.08.00#Pentosan polysulfate sodium#51.10.22.00.00
-unspsc7#51.10.22.09.00#Phenazopyridine hydrochloride#51.10.22.00.00
-unspsc7#51.10.22.10.00#Antiseptic solutions#51.10.22.00.00
-unspsc7#51.10.23.00.00#Antiviral drugs#51.10.00.00.00
-unspsc7#51.10.23.01.00#Acyclovir#51.10.23.00.00
-unspsc7#51.10.23.02.00#Amantadine hydrochloride#51.10.23.00.00
-unspsc7#51.10.23.03.00#Cydofovir#51.10.23.00.00
-unspsc7#51.10.23.04.00#Didanosine#51.10.23.00.00
-unspsc7#51.10.23.05.00#Famciclovir#51.10.23.00.00
-unspsc7#51.10.23.06.00#Foscarnet sodium#51.10.23.00.00
-unspsc7#51.10.23.07.00#Ganciclovir sodium#51.10.23.00.00
-unspsc7#51.10.23.08.00#Idoxuridine#51.10.23.00.00
-unspsc7#51.10.23.09.00#Indinavir sulfate#51.10.23.00.00
-unspsc7#51.10.23.10.00#Lamivudine#51.10.23.00.00
-unspsc7#51.10.23.11.00#Nevirapine#51.10.23.00.00
-unspsc7#51.10.23.12.00#Ribavirin#51.10.23.00.00
-unspsc7#51.10.23.13.00#Rimantadine hydrochloride#51.10.23.00.00
-unspsc7#51.10.23.14.00#Ritonavir#51.10.23.00.00
-unspsc7#51.10.23.15.00#Saquinavir mesylate#51.10.23.00.00
-unspsc7#51.10.23.16.00#Stavidine#51.10.23.00.00
-unspsc7#51.10.23.17.00#Trifluradine#51.10.23.00.00
-unspsc7#51.10.23.18.00#Valacyclovir hydrochloride#51.10.23.00.00
-unspsc7#51.10.23.19.00#Vidarabine#51.10.23.00.00
-unspsc7#51.10.23.20.00#Zalcitabine#51.10.23.00.00
-unspsc7#51.10.23.21.00#Zidovudine#51.10.23.00.00
-unspsc7#51.11.00.00.00#Antineoplastic agents#51.00.00.00.00
-unspsc7#51.11.15.00.00#Alkylating agents#51.11.00.00.00
-unspsc7#51.11.15.01.00#Amifostine#51.11.15.00.00
-unspsc7#51.11.15.02.00#Busulfan#51.11.15.00.00
-unspsc7#51.11.15.03.00#Carboplatin#51.11.15.00.00
-unspsc7#51.11.15.04.00#Carmustine#51.11.15.00.00
-unspsc7#51.11.15.05.00#Chlorambucil#51.11.15.00.00
-unspsc7#51.11.15.06.00#Cisplatin#51.11.15.00.00
-unspsc7#51.11.15.07.00#Cyclophosphamide#51.11.15.00.00
-unspsc7#51.11.15.08.00#Dacarbazine#51.11.15.00.00
-unspsc7#51.11.15.09.00#Ifosfamide#51.11.15.00.00
-unspsc7#51.11.15.10.00#Lomustine#51.11.15.00.00
-unspsc7#51.11.15.11.00#Mechlorethamine hydrochloride#51.11.15.00.00
-unspsc7#51.11.15.12.00#Melphalan#51.11.15.00.00
-unspsc7#51.11.15.13.00#Mesna#51.11.15.00.00
-unspsc7#51.11.15.14.00#Pipobroman#51.11.15.00.00
-unspsc7#51.11.15.15.00#Streptozocin#51.11.15.00.00
-unspsc7#51.11.15.16.00#Thiotepa#51.11.15.00.00
-unspsc7#51.11.15.17.00#Uracil mustard#51.11.15.00.00
-unspsc7#51.11.16.00.00#Antimetabolites#51.11.00.00.00
-unspsc7#51.11.16.01.00#Cladribine#51.11.16.00.00
-unspsc7#51.11.16.02.00#Cytarabine#51.11.16.00.00
-unspsc7#51.11.16.03.00#Floxuridine#51.11.16.00.00
-unspsc7#51.11.16.04.00#Fludarabine phosphate#51.11.16.00.00
-unspsc7#51.11.16.05.00#Fluorouracil#51.11.16.00.00
-unspsc7#51.11.16.06.00#Hydroxyurea#51.11.16.00.00
-unspsc7#51.11.16.07.00#Idarubicin hydrochloride#51.11.16.00.00
-unspsc7#51.11.16.08.00#Levamisole hydrochloride#51.11.16.00.00
-unspsc7#51.11.16.09.00#Mercaptopurine#51.11.16.00.00
-unspsc7#51.11.16.10.00#Methotrexate#51.11.16.00.00
-unspsc7#51.11.16.11.00#Teniposide#51.11.16.00.00
-unspsc7#51.11.16.12.00#Thioguanine#51.11.16.00.00
-unspsc7#51.11.17.00.00#Antineoplastic antibiotics#51.11.00.00.00
-unspsc7#51.11.17.01.00#Bleomycin sulfate#51.11.17.00.00
-unspsc7#51.11.17.02.00#Dactinomycin#51.11.17.00.00
-unspsc7#51.11.17.03.00#Daunorubicins#51.11.17.00.00
-unspsc7#51.11.17.04.00#Mitomycin#51.11.17.00.00
-unspsc7#51.11.17.05.00#Mitotane#51.11.17.00.00
-unspsc7#51.11.17.06.00#Mitoxantrone hydrochloride#51.11.17.00.00
-unspsc7#51.11.17.07.00#Pentostatin#51.11.17.00.00
-unspsc7#51.11.17.08.00#Plicamycin#51.11.17.00.00
-unspsc7#51.11.18.00.00#Hormones and antihormones#51.11.00.00.00
-unspsc7#51.11.18.01.00#Anastrozole#51.11.18.00.00
-unspsc7#51.11.18.02.00#Bicalutamide#51.11.18.00.00
-unspsc7#51.11.18.03.00#Estramustine phosphate sodium#51.11.18.00.00
-unspsc7#51.11.18.04.00#Flutamide#51.11.18.00.00
-unspsc7#51.11.18.05.00#Goserelin acetate#51.11.18.00.00
-unspsc7#51.11.18.06.00#Irinotecan hydrochloride#51.11.18.00.00
-unspsc7#51.11.18.07.00#Leuprolide acetate#51.11.18.00.00
-unspsc7#51.11.18.08.00#Nilutamide#51.11.18.00.00
-unspsc7#51.11.18.09.00#Tamoxifen#51.11.18.00.00
-unspsc7#51.11.18.10.00#Testolactone#51.11.18.00.00
-unspsc7#51.11.18.11.00#Topotecan hydrochloride#51.11.18.00.00
-unspsc7#51.11.18.12.00#Vinblastine sulfate#51.11.18.00.00
-unspsc7#51.11.18.13.00#Vincristine sulfate#51.11.18.00.00
-unspsc7#51.11.18.14.00#Vinorelbine tartrate#51.11.18.00.00
-unspsc7#51.11.19.00.00#Natural antineoplastic products#51.11.00.00.00
-unspsc7#51.11.19.01.00#Asparaginase#51.11.19.00.00
-unspsc7#51.11.19.02.00#Docetaxel#51.11.19.00.00
-unspsc7#51.11.19.03.00#Interferon#51.11.19.00.00
-unspsc7#51.11.19.04.00#Paclitaxel#51.11.19.00.00
-unspsc7#51.11.19.05.00#Porfimer sodium#51.11.19.00.00
-unspsc7#51.12.00.00.00#Cardiovascular drugs#51.00.00.00.00
-unspsc7#51.12.15.00.00#Antiarrythmic agents#51.12.00.00.00
-unspsc7#51.12.15.01.00#Adenosine#51.12.15.00.00
-unspsc7#51.12.15.02.00#Digoxin#51.12.15.00.00
-unspsc7#51.12.15.03.00#Quinidine gluconate#51.12.15.00.00
-unspsc7#51.12.16.00.00#Antianginal drugs#51.12.00.00.00
-unspsc7#51.12.16.01.00#Amyl nitrate#51.12.16.00.00
-unspsc7#51.12.16.02.00#Isosorbide dinitrate#51.12.16.00.00
-unspsc7#51.12.16.03.00#Nitroglycerin#51.12.16.00.00
-unspsc7#51.12.16.04.00#Pentaerythritol tetranitrate#51.12.16.00.00
-unspsc7#51.12.17.00.00#Antihypertensive drugs#51.12.00.00.00
-unspsc7#51.12.17.01.00#Diazoxide#51.12.17.00.00
-unspsc7#51.12.17.02.00#Terazosin#51.12.17.00.00
-unspsc7#51.12.17.03.00#Captopril#51.12.17.00.00
-unspsc7#51.12.17.04.00#Lisinopril#51.12.17.00.00
-unspsc7#51.12.17.05.00#Felodipine#51.12.17.00.00
-unspsc7#51.12.17.06.00#Isradipine#51.12.17.00.00
-unspsc7#51.12.17.07.00#Verapamil#51.12.17.00.00
-unspsc7#51.12.17.08.00#Methyldopa#51.12.17.00.00
-unspsc7#51.12.17.09.00#Carvedilol#51.12.17.00.00
-unspsc7#51.12.17.10.00#Losartan potassium#51.12.17.00.00
-unspsc7#51.12.17.11.00#Minoxidil#51.12.17.00.00
-unspsc7#51.12.18.00.00#Antihyperlipidemic and hypocholesterolemic agents#51.12.00.00.00
-unspsc7#51.12.18.01.00#Fluvastatin sodium#51.12.18.00.00
-unspsc7#51.12.18.02.00#Lovastatin#51.12.18.00.00
-unspsc7#51.12.18.03.00#Simvastatin#51.12.18.00.00
-unspsc7#51.12.18.04.00#Clofibrate#51.12.18.00.00
-unspsc7#51.12.18.05.00#Gemfibrozil#51.12.18.00.00
-unspsc7#51.12.19.00.00#Drugs used for congestive heart failure#51.12.00.00.00
-unspsc7#51.12.19.01.00#Amrinone lactate#51.12.19.00.00
-unspsc7#51.12.19.02.00#Milrinone lactate#51.12.19.00.00
-unspsc7#51.12.19.03.00#Digitoxin#51.12.19.00.00
-unspsc7#51.13.00.00.00#Hematolic drugs#51.00.00.00.00
-unspsc7#51.13.15.00.00#Antianemic drugs#51.13.00.00.00
-unspsc7#51.13.15.01.00#Ferrous fumarate#51.13.15.00.00
-unspsc7#51.13.15.02.00#Ferrous gluconate#51.13.15.00.00
-unspsc7#51.13.15.03.00#Ferrous sulfate#51.13.15.00.00
-unspsc7#51.13.16.00.00#Anticoagulants#51.13.00.00.00
-unspsc7#51.13.16.01.00#Aprotinin#51.13.16.00.00
-unspsc7#51.13.16.02.00#Heparin calcium#51.13.16.00.00
-unspsc7#51.13.16.03.00#Heparin sodium#51.13.16.00.00
-unspsc7#51.13.16.04.00#Warfarin sodium#51.13.16.00.00
-unspsc7#51.13.17.00.00#Thrombolytic drugs and platelet aggregation inhibitors#51.13.00.00.00
-unspsc7#51.13.17.01.00#Abciximab#51.13.17.00.00
-unspsc7#51.13.17.02.00#Alteplase#51.13.17.00.00
-unspsc7#51.13.17.03.00#Streptokinase#51.13.17.00.00
-unspsc7#51.13.17.04.00#Urokinase#51.13.17.00.00
-unspsc7#51.14.00.00.00#Central nervous system drugs#51.00.00.00.00
-unspsc7#51.14.15.00.00#Anticonvulsants#51.14.00.00.00
-unspsc7#51.14.15.01.00#Acetazolamide#51.14.15.00.00
-unspsc7#51.14.15.02.00#Clonazepam#51.14.15.00.00
-unspsc7#51.14.15.03.00#Felbamate#51.14.15.00.00
-unspsc7#51.14.15.04.00#Lamotrigine#51.14.15.00.00
-unspsc7#51.14.15.05.00#Phenobarbital#51.14.15.00.00
-unspsc7#51.14.15.06.00#Phenobarbital sodium#51.14.15.00.00
-unspsc7#51.14.15.07.00#Phenytoin#51.14.15.00.00
-unspsc7#51.14.15.08.00#Ethosuximide#51.14.15.00.00
-unspsc7#51.14.16.00.00#Antidepressants#51.14.00.00.00
-unspsc7#51.14.16.01.00#Amitriptyline hydrochloride#51.14.16.00.00
-unspsc7#51.14.16.02.00#Doxepin hydrochloride#51.14.16.00.00
-unspsc7#51.14.16.03.00#Imipramine pamoate#51.14.16.00.00
-unspsc7#51.14.16.04.00#Mirtazapine#51.14.16.00.00
-unspsc7#51.14.16.05.00#Paroxetine hydrochloride#51.14.16.00.00
-unspsc7#51.14.16.06.00#Trazodone hydrochloride#51.14.16.00.00
-unspsc7#51.14.17.00.00#Antipsychotic agents#51.14.00.00.00
-unspsc7#51.14.17.01.00#Phenothiazines#51.14.17.00.00
-unspsc7#51.14.17.02.00#Haloperidol#51.14.17.00.00
-unspsc7#51.14.17.03.00#Olanzapine#51.14.17.00.00
-unspsc7#51.14.17.04.00#Risperidone#51.14.17.00.00
-unspsc7#51.14.18.00.00#Hypnotics#51.14.00.00.00
-unspsc7#51.14.18.01.00#Pentobarbital#51.14.18.00.00
-unspsc7#51.14.18.02.00#Secobarbital sodium#51.14.18.00.00
-unspsc7#51.14.18.03.00#Chloral hydrate#51.14.18.00.00
-unspsc7#51.14.18.04.00#Estazolam#51.14.18.00.00
-unspsc7#51.14.18.05.00#Triazolam#51.14.18.00.00
-unspsc7#51.14.19.00.00#Tranquilizers and antimanic drugs#51.14.00.00.00
-unspsc7#51.14.19.01.00#Alprazolam#51.14.19.00.00
-unspsc7#51.14.19.02.00#Diazepam#51.14.19.00.00
-unspsc7#51.14.19.03.00#Lithium carbonate#51.14.19.00.00
-unspsc7#51.14.19.04.00#Lithium citrate#51.14.19.00.00
-unspsc7#51.14.19.05.00#Midazolam hydrochloride#51.14.19.00.00
-unspsc7#51.14.19.06.00#Temazepam#51.14.19.00.00
-unspsc7#51.14.20.00.00#Non narcotic analgesics and antipyretics#51.14.00.00.00
-unspsc7#51.14.20.01.00#Acetaminophen#51.14.20.00.00
-unspsc7#51.14.20.02.00#Acetylsalicylic acid#51.14.20.00.00
-unspsc7#51.14.20.03.00#Mesalamine#51.14.20.00.00
-unspsc7#51.14.20.04.00#Meprobromate#51.14.20.00.00
-unspsc7#51.14.21.00.00#Nonsteroidal anti inflammatory drugs (NSAIDs)#51.14.00.00.00
-unspsc7#51.14.21.01.00#Auranofin#51.14.21.00.00
-unspsc7#51.14.21.02.00#Carpofen#51.14.21.00.00
-unspsc7#51.14.21.03.00#Diclofenac potassium#51.14.21.00.00
-unspsc7#51.14.21.04.00#Diclofenac sodium#51.14.21.00.00
-unspsc7#51.14.21.05.00#Flurbiprofen#51.14.21.00.00
-unspsc7#51.14.21.06.00#Ibuprofen#51.14.21.00.00
-unspsc7#51.14.21.07.00#Indomethacin#51.14.21.00.00
-unspsc7#51.14.21.08.00#Ketoprofen#51.14.21.00.00
-unspsc7#51.14.21.09.00#Naproxen#51.14.21.00.00
-unspsc7#51.14.21.10.00#Naproxen sodium#51.14.21.00.00
-unspsc7#51.14.21.11.00#Oxaprozin#51.14.21.00.00
-unspsc7#51.14.21.12.00#Sulindac#51.14.21.00.00
-unspsc7#51.14.21.13.00#Suprofen#51.14.21.00.00
-unspsc7#51.14.22.00.00#Narcotic analgesics#51.14.00.00.00
-unspsc7#51.14.22.01.00#Butorphanol tartrate#51.14.22.00.00
-unspsc7#51.14.22.02.00#Codeine phosphate#51.14.22.00.00
-unspsc7#51.14.22.03.00#Codeine sulfate#51.14.22.00.00
-unspsc7#51.14.22.05.00#Meperidine hydrochloride#51.14.22.00.00
-unspsc7#51.14.22.06.00#Morphine sulfate#51.14.22.00.00
-unspsc7#51.14.22.07.00#Oxycodone#51.14.22.00.00
-unspsc7#51.14.22.08.00#Sufentanil#51.14.22.00.00
-unspsc7#51.14.23.00.00#Narcotic antagonists#51.14.00.00.00
-unspsc7#51.14.23.01.00#Nalmefene hydrochloride#51.14.23.00.00
-unspsc7#51.14.23.02.00#Naloxone hydrochloride#51.14.23.00.00
-unspsc7#51.14.23.03.00#Naltrexone#51.14.23.00.00
-unspsc7#51.14.24.00.00#Drugs used for vascular and migraine headaches#51.14.00.00.00
-unspsc7#51.14.24.01.00#Methysergide maleate#51.14.24.00.00
-unspsc7#51.14.24.02.00#Sumatriptan succinate#51.14.24.00.00
-unspsc7#51.14.25.00.00#Antiparkinson drugs#51.14.00.00.00
-unspsc7#51.14.25.01.00#Bromocriptine mesylate#51.14.25.00.00
-unspsc7#51.14.25.02.00#Carbidopa#51.14.25.00.00
-unspsc7#51.14.25.03.00#Levodopa#51.14.25.00.00
-unspsc7#51.14.25.04.00#Selegiline hydrochloride#51.14.25.00.00
-unspsc7#51.14.26.00.00#Stimulants and anorexiants#51.14.00.00.00
-unspsc7#51.14.26.01.00#Amphetamine sulfate#51.14.26.00.00
-unspsc7#51.14.26.02.00#Fenfluramine#51.14.26.00.00
-unspsc7#51.14.26.03.00#Mazindol#51.14.26.00.00
-unspsc7#51.14.26.04.00#Pemoline#51.14.26.00.00
-unspsc7#51.14.26.05.00#Phendimetrazine tartrate#51.14.26.00.00
-unspsc7#51.15.00.00.00#Autonomic nervous system drugs#51.00.00.00.00
-unspsc7#51.15.15.00.00#Cholinergic drugs and cholinesterase inhibitors#51.15.00.00.00
-unspsc7#51.15.15.01.00#Bethanechol chloride#51.15.15.00.00
-unspsc7#51.15.15.02.00#Edrophonium chloride#51.15.15.00.00
-unspsc7#51.15.15.03.00#Physostigmine salicylate#51.15.15.00.00
-unspsc7#51.15.15.04.00#Pilocarpine nitrate#51.15.15.00.00
-unspsc7#51.15.16.00.00#Cholinergic blocking agents#51.15.00.00.00
-unspsc7#51.15.16.01.00#Atropine sulfate#51.15.16.00.00
-unspsc7#51.15.16.02.00#Benztropine mesylate#51.15.16.00.00
-unspsc7#51.15.16.03.00#Procyclidine hydrochloride#51.15.16.00.00
-unspsc7#51.15.16.04.00#Trihexyphenidyl hydrochloride#51.15.16.00.00
-unspsc7#51.15.17.00.00#Sympathomimetic or adrenergic drugs#51.15.00.00.00
-unspsc7#51.15.17.01.00#Albuterol#51.15.17.00.00
-unspsc7#51.15.17.02.00#Brimonidine tartrate#51.15.17.00.00
-unspsc7#51.15.17.03.00#Epinephrine#51.15.17.00.00
-unspsc7#51.15.17.04.00#Epinephrine borate#51.15.17.00.00
-unspsc7#51.15.17.05.00#Epinephrine hydrochloride#51.15.17.00.00
-unspsc7#51.15.17.06.00#Isoproterenol#51.15.17.00.00
-unspsc7#51.15.17.07.00#Isoproterenol sulfate#51.15.17.00.00
-unspsc7#51.15.17.08.00#Levarterenol bitartrate#51.15.17.00.00
-unspsc7#51.15.17.09.00#Phenylpropanolamine hydrochloride#51.15.17.00.00
-unspsc7#51.15.18.00.00#Adrenergic blocking agents#51.15.00.00.00
-unspsc7#51.15.18.01.00#Atenolol#51.15.18.00.00
-unspsc7#51.15.18.02.00#Esmolol hydrochloride#51.15.18.00.00
-unspsc7#51.15.18.03.00#Nadolol#51.15.18.00.00
-unspsc7#51.15.18.04.00#Pindolol#51.15.18.00.00
-unspsc7#51.15.18.05.00#Timolol maleate#51.15.18.00.00
-unspsc7#51.15.18.10.00#Phentolamine mesylate#51.15.18.00.00
-unspsc7#51.15.19.00.00#Skeletal muscle relaxants and centrally acting#51.15.00.00.00
-unspsc7#51.15.19.01.00#Baclofen#51.15.19.00.00
-unspsc7#51.15.19.02.00#Chlorzoxazone#51.15.19.00.00
-unspsc7#51.15.19.03.00#Dantrolene sodium#51.15.19.00.00
-unspsc7#51.15.19.04.00#Methocarbamol#51.15.19.00.00
-unspsc7#51.15.19.05.00#Carisoprodol#51.15.19.00.00
-unspsc7#51.15.20.00.00#Neuromuscular blocking agents#51.15.00.00.00
-unspsc7#51.15.20.01.00#Atracurium besylate#51.15.20.00.00
-unspsc7#51.15.20.02.00#Mivacurium chyloride#51.15.20.00.00
-unspsc7#51.15.20.03.00#Rocuronium bromide#51.15.20.00.00
-unspsc7#51.15.20.04.00#Vecuronium bromide#51.15.20.00.00
-unspsc7#51.16.00.00.00#Drugs affecting the respiratory tract#51.00.00.00.00
-unspsc7#51.16.15.00.00#Antiasthmatic drugs#51.16.00.00.00
-unspsc7#51.16.15.01.00#Bitolterol mesylate#51.16.15.00.00
-unspsc7#51.16.15.02.00#Nedocromil sodium#51.16.15.00.00
-unspsc7#51.16.15.03.00#Pirbuterol acetate#51.16.15.00.00
-unspsc7#51.16.15.04.00#Aminophylline#51.16.15.00.00
-unspsc7#51.16.15.05.00#Theophylline#51.16.15.00.00
-unspsc7#51.16.16.00.00#Antihistamines or H1 blockers#51.16.00.00.00
-unspsc7#51.16.16.01.00#Astemizole#51.16.16.00.00
-unspsc7#51.16.16.02.00#Clemastine fumarate#51.16.16.00.00
-unspsc7#51.16.16.03.00#Dexchlorpheniramine maleate#51.16.16.00.00
-unspsc7#51.16.16.04.00#Dimenhydrinate#51.16.16.00.00
-unspsc7#51.16.16.05.00#Levocabastine hydrochloride#51.16.16.00.00
-unspsc7#51.16.16.06.00#Loratidine#51.16.16.00.00
-unspsc7#51.16.16.07.00#Terfenadine#51.16.16.00.00
-unspsc7#51.16.17.00.00#Drugs used for respiratory tract disorders#51.16.00.00.00
-unspsc7#51.16.17.01.00#Acetylcysteine#51.16.17.00.00
-unspsc7#51.16.17.02.00#Beractant#51.16.17.00.00
-unspsc7#51.16.17.03.00#Budesonide#51.16.17.00.00
-unspsc7#51.16.17.04.00#Colfosceril palmitate#51.16.17.00.00
-unspsc7#51.16.17.05.00#Ipratropium bromide#51.16.17.00.00
-unspsc7#51.16.18.00.00#Cough and cold and antiallergy products#51.16.00.00.00
-unspsc7#51.16.18.01.00#Benzonatate#51.16.18.00.00
-unspsc7#51.16.18.02.00#Guaifenesin#51.16.18.00.00
-unspsc7#51.16.19.00.00#Nasal decongestants#51.16.00.00.00
-unspsc7#51.16.19.01.00#Oxymetazoline hydrochloride#51.16.19.00.00
-unspsc7#51.16.19.02.00#Pseudoephedrine hydrochloride#51.16.19.00.00
-unspsc7#51.16.19.03.00#Xylometazoline hydrochloride#51.16.19.00.00
-unspsc7#51.17.00.00.00#Drugs affecting the gastrointestinal system#51.00.00.00.00
-unspsc7#51.17.15.00.00#Antacids#51.17.00.00.00
-unspsc7#51.17.15.01.00#Calcium carbonate#51.17.15.00.00
-unspsc7#51.17.15.02.00#Magaldrate#51.17.15.00.00
-unspsc7#51.17.15.03.00#Magnesium hydroxide#51.17.15.00.00
-unspsc7#51.17.15.04.00#Sodium bicarbonate antacids#51.17.15.00.00
-unspsc7#51.17.16.00.00#Laxatives#51.17.00.00.00
-unspsc7#51.17.16.01.00#Cascara sagrada#51.17.16.00.00
-unspsc7#51.17.16.02.00#Docusate calcium#51.17.16.00.00
-unspsc7#51.17.16.03.00#Docusate potassium#51.17.16.00.00
-unspsc7#51.17.16.04.00#Docusate sodium#51.17.16.00.00
-unspsc7#51.17.16.05.00#Lactulose#51.17.16.00.00
-unspsc7#51.17.16.06.00#Magnesium sulfate#51.17.16.00.00
-unspsc7#51.17.16.07.00#Psyllium hydrophilic muciloid#51.17.16.00.00
-unspsc7#51.17.17.00.00#Antidiarrheals#51.17.00.00.00
-unspsc7#51.17.17.01.00#Difenoxin hydrochloride#51.17.17.00.00
-unspsc7#51.17.17.02.00#Loperamide hydrochloride#51.17.17.00.00
-unspsc7#51.17.17.03.00#Paregoric#51.17.17.00.00
-unspsc7#51.17.18.00.00#Antiemetics and antinauseants#51.17.00.00.00
-unspsc7#51.17.18.01.00#Dronabinol#51.17.18.00.00
-unspsc7#51.17.18.02.00#Granisetron hydrochloride#51.17.18.00.00
-unspsc7#51.17.18.03.00#Meclizine hydrochloride#51.17.18.00.00
-unspsc7#51.17.18.04.00#Ondansetron hydrochloride#51.17.18.00.00
-unspsc7#51.17.18.05.00#Trimethobenzamide hydrochloride#51.17.18.00.00
-unspsc7#51.17.19.00.00#Antiulcer and related gastrointestinal (GI) drugs#51.17.00.00.00
-unspsc7#51.17.19.01.00#Cimetidine#51.17.19.00.00
-unspsc7#51.17.19.02.00#Famotidine#51.17.19.00.00
-unspsc7#51.17.19.03.00#Nizatidine#51.17.19.00.00
-unspsc7#51.17.19.04.00#Ranitidine hydrochloride#51.17.19.00.00
-unspsc7#51.17.19.05.00#Cisapride#51.17.19.00.00
-unspsc7#51.17.19.06.00#Lansoprazole#51.17.19.00.00
-unspsc7#51.17.19.07.00#Librax#51.17.19.00.00
-unspsc7#51.17.19.08.00#Misoprostol#51.17.19.00.00
-unspsc7#51.17.20.00.00#Drugs used for gallbladder disease#51.17.00.00.00
-unspsc7#51.17.20.01.00#Chenodiol#51.17.20.00.00
-unspsc7#51.17.20.02.00#Monoctanoin#51.17.20.00.00
-unspsc7#51.17.20.03.00#Ursodiol#51.17.20.00.00
-unspsc7#51.18.00.00.00#Hormones and hormone antagonists#51.00.00.00.00
-unspsc7#51.18.15.00.00#Antidiabetic agents and hyperglycemic agents#51.18.00.00.00
-unspsc7#51.18.15.01.00#Acarbose#51.18.15.00.00
-unspsc7#51.18.15.02.00#Acetohexamide#51.18.15.00.00
-unspsc7#51.18.15.03.00#Chlorpropamide#51.18.15.00.00
-unspsc7#51.18.15.04.00#Glimepiride#51.18.15.00.00
-unspsc7#51.18.15.05.00#Glipizide#51.18.15.00.00
-unspsc7#51.18.15.06.00#Insulin#51.18.15.00.00
-unspsc7#51.18.15.08.00#Glucagon#51.18.15.00.00
-unspsc7#51.18.16.00.00#Thyroid and antithyroid drugs#51.18.00.00.00
-unspsc7#51.18.16.01.00#Levothyroxine sodium#51.18.16.00.00
-unspsc7#51.18.16.02.00#Liothyronine sodium#51.18.16.00.00
-unspsc7#51.18.16.03.00#Liotrix#51.18.16.00.00
-unspsc7#51.18.16.04.00#Thyrotropin#51.18.16.00.00
-unspsc7#51.18.16.05.00#Methimazole#51.18.16.00.00
-unspsc7#51.18.16.06.00#Propylthiouracil#51.18.16.00.00
-unspsc7#51.18.17.00.00#Corticosteroids#51.18.00.00.00
-unspsc7#51.18.17.01.00#Betamethasone#51.18.17.00.00
-unspsc7#51.18.17.02.00#Corticotropin#51.18.17.00.00
-unspsc7#51.18.17.03.00#Cosyntropin#51.18.17.00.00
-unspsc7#51.18.17.04.00#Dexamethasone#51.18.17.00.00
-unspsc7#51.18.17.05.00#Flunisolide#51.18.17.00.00
-unspsc7#51.18.17.06.00#Hydrocortisone#51.18.17.00.00
-unspsc7#51.18.17.07.00#Methylprednisolone#51.18.17.00.00
-unspsc7#51.18.17.08.00#Prednisolone#51.18.17.00.00
-unspsc7#51.18.17.09.00#Triamcinolone#51.18.17.00.00
-unspsc7#51.18.18.00.00#Estrogens and progestins and internal contraceptives#51.18.00.00.00
-unspsc7#51.18.18.01.00#Chlorotrianisene#51.18.18.00.00
-unspsc7#51.18.18.02.00#Estrone#51.18.18.00.00
-unspsc7#51.18.18.03.00#Estrogens conjugated#51.18.18.00.00
-unspsc7#51.18.18.04.00#Estropipate#51.18.18.00.00
-unspsc7#51.18.18.05.00#Levonorgestrel#51.18.18.00.00
-unspsc7#51.18.18.06.00#Megestrol acetate#51.18.18.00.00
-unspsc7#51.18.18.07.00#Ethinyl estradiol#51.18.18.00.00
-unspsc7#51.18.18.08.00#Mestranol#51.18.18.00.00
-unspsc7#51.18.19.00.00#Gonadotropic hormones and ovarian stimulants and inhibitors#51.18.00.00.00
-unspsc7#51.18.19.01.00#Chorionic gonadotropin#51.18.19.00.00
-unspsc7#51.18.19.02.00#Danazol#51.18.19.00.00
-unspsc7#51.18.19.03.00#Gonadorelin acetate#51.18.19.00.00
-unspsc7#51.18.19.04.00#Histrelin acetate#51.18.19.00.00
-unspsc7#51.18.19.05.00#Menotropins#51.18.19.00.00
-unspsc7#51.18.19.06.00#Urofollitropin#51.18.19.00.00
-unspsc7#51.18.20.00.00#Androgens and androgen inhibitors#51.18.00.00.00
-unspsc7#51.18.20.01.00#Finasteride#51.18.20.00.00
-unspsc7#51.18.20.02.00#Testosterone#51.18.20.00.00
-unspsc7#51.18.20.03.00#Testosterone cypionate#51.18.20.00.00
-unspsc7#51.18.20.04.00#Testosterone enanthate#51.18.20.00.00
-unspsc7#51.18.20.05.00#Testosterone propionate#51.18.20.00.00
-unspsc7#51.18.21.00.00#Posterior pituitary hormones#51.18.00.00.00
-unspsc7#51.18.21.01.00#Desmopressin acetate#51.18.21.00.00
-unspsc7#51.18.21.02.00#Vasopressin#51.18.21.00.00
-unspsc7#51.18.22.00.00#Drugs for inducing labor#51.18.00.00.00
-unspsc7#51.18.22.01.00#Dinoprostone#51.18.22.00.00
-unspsc7#51.18.22.02.00#Methylergonovine maleate#51.18.22.00.00
-unspsc7#51.18.22.03.00#Oxytocin#51.18.22.00.00
-unspsc7#51.18.23.00.00#Growth hormones#51.18.00.00.00
-unspsc7#51.18.23.01.00#Somatrem#51.18.23.00.00
-unspsc7#51.18.23.02.00#Somatropin#51.18.23.00.00
-unspsc7#51.18.24.00.00#Calcium salts and calcium regulators#51.18.00.00.00
-unspsc7#51.18.24.01.00#Calcium chloride#51.18.24.00.00
-unspsc7#51.18.24.02.00#Calcium citrate#51.18.24.00.00
-unspsc7#51.18.24.03.00#Calcium gluconate#51.18.24.00.00
-unspsc7#51.18.24.04.00#Calcium lactate#51.18.24.00.00
-unspsc7#51.18.24.05.00#Dibase calcium phosphate#51.18.24.00.00
-unspsc7#51.18.24.06.00#Alendronate sodium#51.18.24.00.00
-unspsc7#51.18.24.07.00#Calcitonin#51.18.24.00.00
-unspsc7#51.18.24.08.00#Cellulose sodium phosphate#51.18.24.00.00
-unspsc7#51.18.24.09.00#Gallium nitrate#51.18.24.00.00
-unspsc7#51.19.00.00.00#Agents affecting water and electrolytes#51.00.00.00.00
-unspsc7#51.19.15.00.00#Diuretics#51.19.00.00.00
-unspsc7#51.19.15.01.00#Chlorothiazide#51.19.15.00.00
-unspsc7#51.19.15.02.00#Chlorthalidone#51.19.15.00.00
-unspsc7#51.19.15.03.00#Mentolazone#51.19.15.00.00
-unspsc7#51.19.15.04.00#Bumetanide#51.19.15.00.00
-unspsc7#51.19.15.05.00#Ethacrynate sodium#51.19.15.00.00
-unspsc7#51.19.15.06.00#Amiloride hydrochloride#51.19.15.00.00
-unspsc7#51.19.15.07.00#Spironolactone#51.19.15.00.00
-unspsc7#51.19.15.08.00#Triamterene#51.19.15.00.00
-unspsc7#51.19.15.09.00#Mannitol#51.19.15.00.00
-unspsc7#51.19.16.00.00#Electrolytes#51.19.00.00.00
-unspsc7#51.19.16.01.00#Dextrose#51.19.16.00.00
-unspsc7#51.19.16.02.00#Sodium chloride electrolytes#51.19.16.00.00
-unspsc7#51.19.17.00.00#Alkalinizing agents#51.19.00.00.00
-unspsc7#51.19.17.01.00#Tromethamine#51.19.17.00.00
-unspsc7#51.19.18.00.00#Potassium salts#51.19.00.00.00
-unspsc7#51.19.18.01.00#Potassium bicarbonate#51.19.18.00.00
-unspsc7#51.19.18.02.00#Potassium chloride#51.19.18.00.00
-unspsc7#51.19.18.03.00#Potassium gluconate#51.19.18.00.00
-unspsc7#51.20.00.00.00#Immunomodulating drugs#51.00.00.00.00
-unspsc7#51.20.15.00.00#Immunosuppressants#51.20.00.00.00
-unspsc7#51.20.15.01.00#Azathioprine#51.20.15.00.00
-unspsc7#51.20.15.02.00#Cyclosporine#51.20.15.00.00
-unspsc7#51.20.15.03.00#Mycophenolate mofetil#51.20.15.00.00
-unspsc7#51.20.15.04.00#Tacrolimus#51.20.15.00.00
-unspsc7#51.20.16.00.00#Vaccines#51.20.00.00.00
-unspsc7#51.20.16.01.00#Anthrax antigen#51.20.16.00.00
-unspsc7#51.20.16.02.00#Brucella antigen#51.20.16.00.00
-unspsc7#51.20.16.03.00#Cholera#51.20.16.00.00
-unspsc7#51.20.16.04.00#Diphteria#51.20.16.00.00
-unspsc7#51.20.16.05.00#Encephalitis#51.20.16.00.00
-unspsc7#51.20.16.06.00#Hemophilus influenzae#51.20.16.00.00
-unspsc7#51.20.16.07.00#Hepatitis b#51.20.16.00.00
-unspsc7#51.20.16.08.00#Influenza#51.20.16.00.00
-unspsc7#51.20.16.09.00#Measles#51.20.16.00.00
-unspsc7#51.20.16.10.00#Meningococcus#51.20.16.00.00
-unspsc7#51.20.16.11.00#Morbilli#51.20.16.00.00
-unspsc7#51.20.16.12.00#Mumps#51.20.16.00.00
-unspsc7#51.20.16.13.00#Parotitis#51.20.16.00.00
-unspsc7#51.20.16.14.00#Pertussis#51.20.16.00.00
-unspsc7#51.20.16.15.00#Pneumococcus#51.20.16.00.00
-unspsc7#51.20.16.16.00#Poliomyelitis#51.20.16.00.00
-unspsc7#51.20.16.17.00#Rabies#51.20.16.00.00
-unspsc7#51.20.16.18.00#Rota virus#51.20.16.00.00
-unspsc7#51.20.16.19.00#Rubella#51.20.16.00.00
-unspsc7#51.20.16.20.00#Smallpox#51.20.16.00.00
-unspsc7#51.20.16.21.00#Tetanus toxoid#51.20.16.00.00
-unspsc7#51.20.16.22.00#Tuberculosis#51.20.16.00.00
-unspsc7#51.20.16.23.00#Typhoid#51.20.16.00.00
-unspsc7#51.20.16.24.00#Varicella#51.20.16.00.00
-unspsc7#51.20.16.25.00#Yellow fever#51.20.16.00.00
-unspsc7#51.20.16.26.00#Hepatitis a#51.20.16.00.00
-unspsc7#51.21.00.00.00#Miscellaneous drug categories#51.00.00.00.00
-unspsc7#51.21.15.00.00#Antigout drugs#51.21.00.00.00
-unspsc7#51.21.15.01.00#Allopurinol#51.21.15.00.00
-unspsc7#51.21.15.02.00#Colchicine#51.21.15.00.00
-unspsc7#51.21.15.03.00#Probenecid#51.21.15.00.00
-unspsc7#51.21.15.04.00#Sulfinpyrazone#51.21.15.00.00
-unspsc7#51.21.16.00.00#Antidotes#51.21.00.00.00
-unspsc7#51.21.16.01.00#Deferoxamine mesylate#51.21.16.00.00
-unspsc7#51.21.16.02.00#Dexrazoxane#51.21.16.00.00
-unspsc7#51.21.16.03.00#Digoxin immune fab#51.21.16.00.00
-unspsc7#51.21.16.04.00#Dimercaprol#51.21.16.00.00
-unspsc7#51.21.16.05.00#Edetate disodium#51.21.16.00.00
-unspsc7#51.21.16.06.00#Flumazenil#51.21.16.00.00
-unspsc7#51.21.16.07.00#Ipecac#51.21.16.00.00
-unspsc7#51.21.16.08.00#Penicillamine#51.21.16.00.00
-unspsc7#51.21.16.09.00#Protamine sulfate#51.21.16.00.00
-unspsc7#51.21.16.10.00#Sodium polystyrene sulfonate#51.21.16.00.00
-unspsc7#51.21.16.11.00#Trientine#51.21.16.00.00
-unspsc7#51.21.17.00.00#Nutritious food#51.21.00.00.00
-unspsc7#51.21.17.01.00#Residue of maize germ#51.21.17.00.00
-unspsc7#51.21.18.00.00#Anaesthetic drugs#51.21.00.00.00
-unspsc7#51.21.18.01.00#Chloroform#51.21.18.00.00
-unspsc7#52.00.00.00.00#Domestic Appliances and Supplies and Consumer Electronic Products#52.00.00.00.00
-unspsc7#52.10.00.00.00#Floor coverings#52.00.00.00.00
-unspsc7#52.10.15.00.00#Rugs and mats#52.10.00.00.00
-unspsc7#52.10.15.01.00#Oriental rugs#52.10.15.00.00
-unspsc7#52.10.15.02.00#Area rugs#52.10.15.00.00
-unspsc7#52.10.15.03.00#Wool rugs#52.10.15.00.00
-unspsc7#52.10.15.04.00#Cotton rugs#52.10.15.00.00
-unspsc7#52.10.15.05.00#Synthetic rugs#52.10.15.00.00
-unspsc7#52.10.15.06.00#Braided rugs#52.10.15.00.00
-unspsc7#52.10.15.07.00#Bath mats#52.10.15.00.00
-unspsc7#52.10.15.08.00#Door mats#52.10.15.00.00
-unspsc7#52.10.15.09.00#Decorative mats#52.10.15.00.00
-unspsc7#52.10.15.10.00#Anti fatigue mats#52.10.15.00.00
-unspsc7#52.10.15.11.00#Rubber or vinyl mats#52.10.15.00.00
-unspsc7#52.10.15.12.00#Chair mat#52.10.15.00.00
-unspsc7#52.10.15.13.00#Carpet protector#52.10.15.00.00
-unspsc7#52.11.00.00.00#Accommodation furniture#52.00.00.00.00
-unspsc7#52.11.15.00.00#Furniture#52.11.00.00.00
-unspsc7#52.11.15.01.00#Sofas#52.11.15.00.00
-unspsc7#52.11.15.02.00#Stands#52.11.15.00.00
-unspsc7#52.11.15.03.00#Bookcases#52.11.15.00.00
-unspsc7#52.11.15.04.00#Entertainment centers#52.11.15.00.00
-unspsc7#52.11.15.05.00#Futons#52.11.15.00.00
-unspsc7#52.11.15.06.00#Chairs#52.11.15.00.00
-unspsc7#52.11.15.07.00#Coat racks#52.11.15.00.00
-unspsc7#52.11.15.08.00#Wall racks#52.11.15.00.00
-unspsc7#52.11.15.09.00#Mattresses#52.11.15.00.00
-unspsc7#52.11.15.10.00#Cots#52.11.15.00.00
-unspsc7#52.11.15.11.00#Beds#52.11.15.00.00
-unspsc7#52.11.15.12.00#Foot stools#52.11.15.00.00
-unspsc7#52.11.15.13.00#Tables#52.11.15.00.00
-unspsc7#52.11.15.14.00#Chests#52.11.15.00.00
-unspsc7#52.11.15.15.00#Stools#52.11.15.00.00
-unspsc7#52.11.15.16.00#Dressers#52.11.15.00.00
-unspsc7#52.11.15.17.00#Partitions#52.11.15.00.00
-unspsc7#52.11.16.00.00#Outdoor furniture#52.11.00.00.00
-unspsc7#52.11.16.01.00#Outdoor chairs#52.11.16.00.00
-unspsc7#52.11.16.02.00#Outdoor tables or picnic tables#52.11.16.00.00
-unspsc7#52.11.16.03.00#Outdoor swings#52.11.16.00.00
-unspsc7#52.11.16.04.00#Outdoor benches#52.11.16.00.00
-unspsc7#52.11.16.05.00#Outdoor umbrellas#52.11.16.00.00
-unspsc7#52.11.17.00.00#Office furniture#52.11.00.00.00
-unspsc7#52.11.17.01.00#Credenzas#52.11.17.00.00
-unspsc7#52.11.17.03.00#Desks#52.11.17.00.00
-unspsc7#52.12.00.00.00#Bedclothes and table and kitchen linen and towels#52.00.00.00.00
-unspsc7#52.12.15.00.00#Bedclothes#52.12.00.00.00
-unspsc7#52.12.15.01.00#Quilts#52.12.15.00.00
-unspsc7#52.12.15.02.00#Comforters#52.12.15.00.00
-unspsc7#52.12.15.03.00#Comforter covers#52.12.15.00.00
-unspsc7#52.12.15.04.00#Mattress covers#52.12.15.00.00
-unspsc7#52.12.15.05.00#Pillows#52.12.15.00.00
-unspsc7#52.12.15.06.00#Mattress pads#52.12.15.00.00
-unspsc7#52.12.15.07.00#Featherbeds#52.12.15.00.00
-unspsc7#52.12.15.08.00#Blankets#52.12.15.00.00
-unspsc7#52.12.15.09.00#Sheets#52.12.15.00.00
-unspsc7#52.12.15.10.00#Dust ruffles#52.12.15.00.00
-unspsc7#52.12.15.11.00#Duvets#52.12.15.00.00
-unspsc7#52.12.15.12.00#Pillow cases#52.12.15.00.00
-unspsc7#52.12.15.13.00#Bed spreads#52.12.15.00.00
-unspsc7#52.12.16.00.00#Table and kitchen linen#52.12.00.00.00
-unspsc7#52.12.16.01.00#Dish towels#52.12.16.00.00
-unspsc7#52.12.16.02.00#Napkins#52.12.16.00.00
-unspsc7#52.12.16.03.00#Table runners#52.12.16.00.00
-unspsc7#52.12.16.04.00#Table cloths#52.12.16.00.00
-unspsc7#52.12.16.05.00#Domestic oven mits or pot holders#52.12.16.00.00
-unspsc7#52.12.16.06.00#Place mats#52.12.16.00.00
-unspsc7#52.12.16.07.00#Table skirts#52.12.16.00.00
-unspsc7#52.12.17.00.00#Towels#52.12.00.00.00
-unspsc7#52.12.17.01.00#Bath towels#52.12.17.00.00
-unspsc7#52.12.17.02.00#Beach towels#52.12.17.00.00
-unspsc7#52.12.17.03.00#Wash cloths#52.12.17.00.00
-unspsc7#52.12.17.04.00#Hand towels#52.12.17.00.00
-unspsc7#52.13.00.00.00#Window treatments#52.00.00.00.00
-unspsc7#52.13.15.00.00#Curtains and draperies#52.13.00.00.00
-unspsc7#52.13.15.01.00#Curtains#52.13.15.00.00
-unspsc7#52.13.15.03.00#Draperies#52.13.15.00.00
-unspsc7#52.13.16.00.00#Blinds and shades#52.13.00.00.00
-unspsc7#52.13.16.01.00#Venetian blinds#52.13.16.00.00
-unspsc7#52.13.16.02.00#Roll up shades#52.13.16.00.00
-unspsc7#52.13.16.03.00#Interior shutters#52.13.16.00.00
-unspsc7#52.13.16.04.00#Vertical blinds#52.13.16.00.00
-unspsc7#52.13.17.00.00#Window treatment accessories and hardware#52.13.00.00.00
-unspsc7#52.13.17.01.00#Valances#52.13.17.00.00
-unspsc7#52.13.17.02.00#Curtain rods#52.13.17.00.00
-unspsc7#52.13.17.03.00#Rod finials#52.13.17.00.00
-unspsc7#52.13.17.04.00#Curtain rings or clips#52.13.17.00.00
-unspsc7#52.14.00.00.00#Domestic appliances#52.00.00.00.00
-unspsc7#52.14.15.00.00#Domestic kitchen appliances#52.14.00.00.00
-unspsc7#52.14.15.01.00#Domestic refrigerators#52.14.15.00.00
-unspsc7#52.14.15.02.00#Domestic microwave ovens#52.14.15.00.00
-unspsc7#52.14.15.03.00#Domestic garbage disposals#52.14.15.00.00
-unspsc7#52.14.15.04.00#Domestic ranges#52.14.15.00.00
-unspsc7#52.14.15.05.00#Domestic dish washers#52.14.15.00.00
-unspsc7#52.14.15.06.00#Domestic freezers#52.14.15.00.00
-unspsc7#52.14.15.07.00#Domestic upright freezers#52.14.15.00.00
-unspsc7#52.14.15.08.00#Domestic chest freezers#52.14.15.00.00
-unspsc7#52.14.15.09.00#Domestic combination refrigerator freezers#52.14.15.00.00
-unspsc7#52.14.15.10.00#Domestic portable air conditioners#52.14.15.00.00
-unspsc7#52.14.15.11.00#Domestic juicers#52.14.15.00.00
-unspsc7#52.14.15.12.00#Domestic waffle irons#52.14.15.00.00
-unspsc7#52.14.15.13.00#Domestic electric can openers#52.14.15.00.00
-unspsc7#52.14.15.14.00#Domestic food processors#52.14.15.00.00
-unspsc7#52.14.15.15.00#Domestic trash compactors#52.14.15.00.00
-unspsc7#52.14.15.16.00#Domestic deep fryers#52.14.15.00.00
-unspsc7#52.14.15.17.00#Domestic popcorn poppers#52.14.15.00.00
-unspsc7#52.14.15.18.00#Domestic bread making machines#52.14.15.00.00
-unspsc7#52.14.15.19.00#Domestic convectional ovens#52.14.15.00.00
-unspsc7#52.14.15.20.00#Domestic mixers#52.14.15.00.00
-unspsc7#52.14.15.21.00#Domestic toaster ovens#52.14.15.00.00
-unspsc7#52.14.15.22.00#Domestic toasters#52.14.15.00.00
-unspsc7#52.14.15.23.00#Domestic electrical kettles#52.14.15.00.00
-unspsc7#52.14.15.24.00#Domestic blenders#52.14.15.00.00
-unspsc7#52.14.15.25.00#Domestic hot plates#52.14.15.00.00
-unspsc7#52.14.15.26.00#Domestic coffee makers#52.14.15.00.00
-unspsc7#52.14.15.27.00#Domestic electric knives#52.14.15.00.00
-unspsc7#52.14.15.28.00#Domestic electric woks#52.14.15.00.00
-unspsc7#52.14.15.29.00#Domestic coffee grinders#52.14.15.00.00
-unspsc7#52.14.15.30.00#Parts of dishwashing machines#52.14.15.00.00
-unspsc7#52.14.15.31.00#Domestic food choppers#52.14.15.00.00
-unspsc7#52.14.15.32.00#Domestic electric skillets#52.14.15.00.00
-unspsc7#52.14.15.33.00#Domestic electric griddles#52.14.15.00.00
-unspsc7#52.14.15.34.00#Domestic electric sandwich maker#52.14.15.00.00
-unspsc7#52.14.15.35.00#Domestic indoor electric grills#52.14.15.00.00
-unspsc7#52.14.15.36.00#Domestic pizelle or cookie maker#52.14.15.00.00
-unspsc7#52.14.15.37.00#Domestic crock pot#52.14.15.00.00
-unspsc7#52.14.16.00.00#Domestic laundry appliances and supplies#52.14.00.00.00
-unspsc7#52.14.16.01.00#Domestic clothes washers#52.14.16.00.00
-unspsc7#52.14.16.02.00#Domestic tumble dryers#52.14.16.00.00
-unspsc7#52.14.16.03.00#Domestic clothing irons#52.14.16.00.00
-unspsc7#52.14.16.04.00#Footwear dryers#52.14.16.00.00
-unspsc7#52.14.16.05.00#Laundry hampers#52.14.16.00.00
-unspsc7#52.14.16.06.00#Laundry baskets#52.14.16.00.00
-unspsc7#52.14.17.00.00#Domestic bath appliances#52.14.00.00.00
-unspsc7#52.14.17.01.00#Domestic electric toothbrushes#52.14.17.00.00
-unspsc7#52.14.17.03.00#Domestic hair dryers#52.14.17.00.00
-unspsc7#52.14.17.04.00#Domestic electric razors#52.14.17.00.00
-unspsc7#52.14.17.05.00#Parts of shavers or hair removers#52.14.17.00.00
-unspsc7#52.14.17.06.00#Nail dryers#52.14.17.00.00
-unspsc7#52.14.18.00.00#Other domestic household appliances#52.14.00.00.00
-unspsc7#52.14.18.01.00#Domestic sewing machines#52.14.18.00.00
-unspsc7#52.14.18.02.00#Domestic space heaters#52.14.18.00.00
-unspsc7#52.14.18.03.00#Domestic electric blankets#52.14.18.00.00
-unspsc7#52.15.00.00.00#Domestic kitchenware#52.00.00.00.00
-unspsc7#52.15.15.00.00#Domestic disposable kitchenware#52.15.00.00.00
-unspsc7#52.15.15.01.00#Domestic disposable cookware#52.15.15.00.00
-unspsc7#52.15.15.02.00#Domestic disposable dishes#52.15.15.00.00
-unspsc7#52.15.15.03.00#Domestic disposable flatware#52.15.15.00.00
-unspsc7#52.15.15.04.00#Domestic disposable cups or glasses or lids#52.15.15.00.00
-unspsc7#52.15.15.05.00#Domestic disposable stirrers#52.15.15.00.00
-unspsc7#52.15.15.06.00#Domestic disposable food containers#52.15.15.00.00
-unspsc7#52.15.15.07.00#Domestic disposable drinking straws#52.15.15.00.00
-unspsc7#52.15.16.00.00#Domestic kitchen tools and utensils#52.15.00.00.00
-unspsc7#52.15.16.01.00#Domestic rolling pins#52.15.16.00.00
-unspsc7#52.15.16.02.00#Domestic mixing bowls#52.15.16.00.00
-unspsc7#52.15.16.03.00#Domestic graters#52.15.16.00.00
-unspsc7#52.15.16.04.00#Domestic strainers or colanders#52.15.16.00.00
-unspsc7#52.15.16.05.00#Domestic can or bottle openers#52.15.16.00.00
-unspsc7#52.15.16.06.00#Domestic cutting boards#52.15.16.00.00
-unspsc7#52.15.16.07.00#Domestic measuring cups#52.15.16.00.00
-unspsc7#52.15.16.08.00#Basters or basting brushes#52.15.16.00.00
-unspsc7#52.15.16.09.00#Vegetable peeler#52.15.16.00.00
-unspsc7#52.15.16.10.00#Cookie cutters#52.15.16.00.00
-unspsc7#52.15.16.11.00#Domestic kitchen tongs#52.15.16.00.00
-unspsc7#52.15.16.12.00#Domestic kitchen wire whips#52.15.16.00.00
-unspsc7#52.15.16.13.00#Domestic food scrapers#52.15.16.00.00
-unspsc7#52.15.16.14.00#Domestic cooling racks#52.15.16.00.00
-unspsc7#52.15.16.15.00#Domestic pizza cutters#52.15.16.00.00
-unspsc7#52.15.16.16.00#Domestic kitchen spatulas#52.15.16.00.00
-unspsc7#52.15.16.17.00#Domestic wooden spoons#52.15.16.00.00
-unspsc7#52.15.16.18.00#Domestic wooden oven paddle#52.15.16.00.00
-unspsc7#52.15.16.19.00#Domestic pastry blender#52.15.16.00.00
-unspsc7#52.15.16.20.00#Domestic sifter#52.15.16.00.00
-unspsc7#52.15.16.21.00#Domestic cookie stampers#52.15.16.00.00
-unspsc7#52.15.16.22.00#Domestic pastry decorating gun#52.15.16.00.00
-unspsc7#52.15.16.23.00#Domestic cookie press#52.15.16.00.00
-unspsc7#52.15.16.24.00#Domestic knife sharpeners#52.15.16.00.00
-unspsc7#52.15.16.25.00#Domestic biscuit cutters#52.15.16.00.00
-unspsc7#52.15.16.26.00#Domestic mandolin#52.15.16.00.00
-unspsc7#52.15.16.27.00#Domestic garlic press#52.15.16.00.00
-unspsc7#52.15.16.28.00#Domestic egg slicer#52.15.16.00.00
-unspsc7#52.15.16.29.00#Domestic egg separator#52.15.16.00.00
-unspsc7#52.15.16.30.00#Domestic cheese slicer#52.15.16.00.00
-unspsc7#52.15.16.31.00#Domestic food mill#52.15.16.00.00
-unspsc7#52.15.16.32.00#Domestic kitchen funnels#52.15.16.00.00
-unspsc7#52.15.16.33.00#Domestic garnishing tools#52.15.16.00.00
-unspsc7#52.15.16.34.00#Domestic apple corer#52.15.16.00.00
-unspsc7#52.15.16.35.00#Domestic melon or butter baller#52.15.16.00.00
-unspsc7#52.15.16.36.00#Domestic food scoops#52.15.16.00.00
-unspsc7#52.15.16.37.00#Domestic pumpkin carver#52.15.16.00.00
-unspsc7#52.15.16.38.00#Domestic vegetable brush#52.15.16.00.00
-unspsc7#52.15.16.39.00#Domestic egg beater#52.15.16.00.00
-unspsc7#52.15.16.40.00#Domestic pasta drying rack#52.15.16.00.00
-unspsc7#52.15.16.41.00#Domestic whipped cream maker#52.15.16.00.00
-unspsc7#52.15.16.42.00#Domestic dough press#52.15.16.00.00
-unspsc7#52.15.16.43.00#Domestic ravioli maker#52.15.16.00.00
-unspsc7#52.15.16.44.00#Domestic mist sprayer#52.15.16.00.00
-unspsc7#52.15.16.45.00#Domestic pastry brush#52.15.16.00.00
-unspsc7#52.15.16.46.00#Domestic kitchen or diet scales#52.15.16.00.00
-unspsc7#52.15.16.47.00#Domestic kitchen timers#52.15.16.00.00
-unspsc7#52.15.16.48.00#Domestic kitchen or food thermometers#52.15.16.00.00
-unspsc7#52.15.16.49.00#Domestic bread slicing guide#52.15.16.00.00
-unspsc7#52.15.16.50.00#Domestic drain boards#52.15.16.00.00
-unspsc7#52.15.17.00.00#Domestic flatware and cutlery#52.15.00.00.00
-unspsc7#52.15.17.01.00#Domestic serving utensils#52.15.17.00.00
-unspsc7#52.15.17.02.00#Domestic knives#52.15.17.00.00
-unspsc7#52.15.17.03.00#Domestic forks#52.15.17.00.00
-unspsc7#52.15.17.04.00#Domestic spoons#52.15.17.00.00
-unspsc7#52.15.17.05.00#Spoon rests#52.15.17.00.00
-unspsc7#52.15.17.06.00#Chopsticks#52.15.17.00.00
-unspsc7#52.15.18.00.00#Domestic cookware#52.15.00.00.00
-unspsc7#52.15.18.01.00#Domestic dutch ovens#52.15.18.00.00
-unspsc7#52.15.18.02.00#Domestic frying pans#52.15.18.00.00
-unspsc7#52.15.18.03.00#Domestic saucepans#52.15.18.00.00
-unspsc7#52.15.18.04.00#Domestic kettles#52.15.18.00.00
-unspsc7#52.15.18.05.00#Domestic woks#52.15.18.00.00
-unspsc7#52.15.18.06.00#Domestic steamers#52.15.18.00.00
-unspsc7#52.15.18.07.00#Domestic stock pots#52.15.18.00.00
-unspsc7#52.15.18.08.00#Domestic pressure cookers#52.15.18.00.00
-unspsc7#52.15.18.09.00#Domestic saute pans#52.15.18.00.00
-unspsc7#52.15.18.10.00#Domestic chafing dishes#52.15.18.00.00
-unspsc7#52.15.18.11.00#Domestic griddles#52.15.18.00.00
-unspsc7#52.15.18.12.00#Domestic double boilers#52.15.18.00.00
-unspsc7#52.15.18.13.00#Domestic splatter shield#52.15.18.00.00
-unspsc7#52.15.19.00.00#Domestic bakeware#52.15.00.00.00
-unspsc7#52.15.19.01.00#Domestic muffin pans#52.15.19.00.00
-unspsc7#52.15.19.02.00#Domestic baking pans#52.15.19.00.00
-unspsc7#52.15.19.03.00#Domestic cake or pie pans#52.15.19.00.00
-unspsc7#52.15.19.04.00#Domestic roasting pans#52.15.19.00.00
-unspsc7#52.15.19.05.00#Domestic baking sheets#52.15.19.00.00
-unspsc7#52.15.19.06.00#Domestic broiling pans#52.15.19.00.00
-unspsc7#52.15.19.07.00#Domestic baking molds#52.15.19.00.00
-unspsc7#52.15.19.08.00#Domestic pizza pans#52.15.19.00.00
-unspsc7#52.15.19.09.00#Domestic tortilla bakers#52.15.19.00.00
-unspsc7#52.15.20.00.00#Domestic dishes and servingware and storage containers#52.15.00.00.00
-unspsc7#52.15.20.01.00#Domestic pitchers#52.15.20.00.00
-unspsc7#52.15.20.02.00#Domestic food storage containers#52.15.20.00.00
-unspsc7#52.15.20.03.00#Domestic punch bowls#52.15.20.00.00
-unspsc7#52.15.20.04.00#Domestic plates#52.15.20.00.00
-unspsc7#52.15.20.05.00#Domestic saucers#52.15.20.00.00
-unspsc7#52.15.20.06.00#Domestic trays or platters#52.15.20.00.00
-unspsc7#52.15.20.07.00#Domestic serving bowls#52.15.20.00.00
-unspsc7#52.15.20.08.00#Domestic tea or coffee pots#52.15.20.00.00
-unspsc7#52.15.20.09.00#Domestic soup or salad bowls#52.15.20.00.00
-unspsc7#52.15.20.10.00#Domestic vacuum flasks#52.15.20.00.00
-unspsc7#52.15.20.11.00#Inners for vaccum flasks#52.15.20.00.00
-unspsc7#52.15.20.12.00#Ice trays#52.15.20.00.00
-unspsc7#52.15.20.13.00#Spice or salt or pepper shakers#52.15.20.00.00
-unspsc7#52.15.20.14.00#Carafe sets#52.15.20.00.00
-unspsc7#52.15.20.15.00#Domestic cake plate with dome#52.15.20.00.00
-unspsc7#52.15.21.00.00#Domestic drinking utensils#52.15.00.00.00
-unspsc7#52.15.21.01.00#Domestic coffee or tea cups#52.15.21.00.00
-unspsc7#52.15.21.02.00#Domestic drinking glasses#52.15.21.00.00
-unspsc7#52.15.21.03.00#Domestic mugs#52.15.21.00.00
-unspsc7#52.15.21.04.00#Domestic stemware#52.15.21.00.00
-unspsc7#52.15.22.00.00#Dishwashing and dish storage accessories#52.15.00.00.00
-unspsc7#52.15.22.01.00#Shelf liner#52.15.22.00.00
-unspsc7#52.15.22.02.00#Dish drainer#52.15.22.00.00
-unspsc7#52.15.22.03.00#Soap dispensing brush#52.15.22.00.00
-unspsc7#52.16.00.00.00#Consumer electronics#52.00.00.00.00
-unspsc7#52.16.15.00.00#Audio and visual equipment#52.16.00.00.00
-unspsc7#52.16.15.01.00#Compact disc players#52.16.15.00.00
-unspsc7#52.16.15.02.00#Cassette players or recorders#52.16.15.00.00
-unspsc7#52.16.15.03.00#Digital video disc players#52.16.15.00.00
-unspsc7#52.16.15.04.00#Video cassette recorders#52.16.15.00.00
-unspsc7#52.16.15.05.00#Televisions#52.16.15.00.00
-unspsc7#52.16.15.06.00#Headphones#52.16.15.00.00
-unspsc7#52.16.15.07.00#Clock radios#52.16.15.00.00
-unspsc7#52.16.15.08.00#Laser disc players#52.16.15.00.00
-unspsc7#52.16.15.09.00#Portable stereo systems#52.16.15.00.00
-unspsc7#52.16.15.10.00#Home stereo systems#52.16.15.00.00
-unspsc7#52.16.15.11.00#Radios#52.16.15.00.00
-unspsc7#52.16.15.12.00#Speakers#52.16.15.00.00
-unspsc7#52.16.15.13.00#Combination television video cassette recorders#52.16.15.00.00
-unspsc7#52.16.15.14.00#Headphones#52.16.15.00.00
-unspsc7#52.16.15.15.00#Compact disk players or recorders#52.16.15.00.00
-unspsc7#52.16.15.16.00#Digital video disk players or recorders#52.16.15.00.00
-unspsc7#52.16.15.17.00#Equalizers#52.16.15.00.00
-unspsc7#52.16.15.18.00#Global positioning system receivers#52.16.15.00.00
-unspsc7#52.16.15.19.00#Headphones#52.16.15.00.00
-unspsc7#52.16.15.20.00#Microphones#52.16.15.00.00
-unspsc7#52.16.15.21.00#Multimedia receivers#52.16.15.00.00
-unspsc7#52.16.15.22.00#Radio frequency scanners#52.16.15.00.00
-unspsc7#52.16.15.23.00#Radio frequency transmittersreceivers#52.16.15.00.00
-unspsc7#52.16.15.24.00#Radio receivers#52.16.15.00.00
-unspsc7#52.16.15.25.00#Remote control#52.16.15.00.00
-unspsc7#52.16.15.26.00#Satellite receivers#52.16.15.00.00
-unspsc7#52.16.15.27.00#Subwoofers#52.16.15.00.00
-unspsc7#52.16.15.28.00#Televisions#52.16.15.00.00
-unspsc7#52.16.15.29.00#Video cassette players or recorders#52.16.15.00.00
-unspsc7#52.16.15.30.00#Video monitors#52.16.15.00.00
-unspsc7#52.16.15.31.00#Radio phonographs#52.16.15.00.00
-unspsc7#52.16.15.32.00#Karaoke systems#52.16.15.00.00
-unspsc7#52.16.15.33.00#Megaphones#52.16.15.00.00
-unspsc7#52.16.15.34.00#Integrated circut IC chip recorder#52.16.15.00.00
-unspsc7#52.16.15.35.00#Digital voice recorders#52.16.15.00.00
-unspsc7#52.16.15.36.00#Minidisc players or recorders#52.16.15.00.00
-unspsc7#52.16.16.00.00#Audio visual equipment accessories#52.16.00.00.00
-unspsc7#52.16.16.01.00#Cassette storage#52.16.16.00.00
-unspsc7#52.16.16.02.00#Audio or video head cleaners#52.16.16.00.00
-unspsc7#52.17.00.00.00#Domestic wall treatments#52.00.00.00.00
-unspsc7#52.17.10.00.00#Bathroom wall treatments#52.17.00.00.00
-unspsc7#52.17.10.01.00#Hanging toiletry organizer or shelf#52.17.10.00.00
-unspsc7#53.00.00.00.00#Apparel and Luggage and Personal Care Products#53.00.00.00.00
-unspsc7#53.10.00.00.00#Clothing#53.00.00.00.00
-unspsc7#53.10.15.00.00#Slacks and trousers and shorts#53.10.00.00.00
-unspsc7#53.10.15.01.00#Boys slacks or trousers or shorts#53.10.15.00.00
-unspsc7#53.10.15.02.00#Mens slacks or trousers or shorts#53.10.15.00.00
-unspsc7#53.10.15.03.00#Girls slacks or trousers or shorts#53.10.15.00.00
-unspsc7#53.10.15.04.00#Womens slacks or trousers or shorts#53.10.15.00.00
-unspsc7#53.10.15.05.00#Infants slacks or trousers or shorts#53.10.15.00.00
-unspsc7#53.10.16.00.00#Shirts and blouses#53.10.00.00.00
-unspsc7#53.10.16.01.00#Boys shirts#53.10.16.00.00
-unspsc7#53.10.16.02.00#Mens shirts#53.10.16.00.00
-unspsc7#53.10.16.03.00#Girls shirts or blouses#53.10.16.00.00
-unspsc7#53.10.16.04.00#Womens shirts or blouses#53.10.16.00.00
-unspsc7#53.10.16.05.00#Infants shirts or blouses#53.10.16.00.00
-unspsc7#53.10.17.00.00#Sweaters#53.10.00.00.00
-unspsc7#53.10.17.01.00#Boys sweaters#53.10.17.00.00
-unspsc7#53.10.17.02.00#Mens sweaters#53.10.17.00.00
-unspsc7#53.10.17.03.00#Girls sweaters#53.10.17.00.00
-unspsc7#53.10.17.04.00#Womens sweaters#53.10.17.00.00
-unspsc7#53.10.17.05.00#Infants sweaters#53.10.17.00.00
-unspsc7#53.10.18.00.00#Coats and jackets#53.10.00.00.00
-unspsc7#53.10.18.01.00#Boys coats or jackets#53.10.18.00.00
-unspsc7#53.10.18.02.00#Mens coats or jackets#53.10.18.00.00
-unspsc7#53.10.18.03.00#Girls coats or jackets#53.10.18.00.00
-unspsc7#53.10.18.04.00#Womens coats or jackets#53.10.18.00.00
-unspsc7#53.10.18.05.00#Infants coats or jackets#53.10.18.00.00
-unspsc7#53.10.19.00.00#Suits#53.10.00.00.00
-unspsc7#53.10.19.01.00#Boys suits#53.10.19.00.00
-unspsc7#53.10.19.02.00#Mens suits#53.10.19.00.00
-unspsc7#53.10.19.03.00#Girls suits#53.10.19.00.00
-unspsc7#53.10.19.04.00#Womens suits#53.10.19.00.00
-unspsc7#53.10.19.05.00#Infants suits#53.10.19.00.00
-unspsc7#53.10.20.00.00#Dresses and skirts and saris and kimonos#53.10.00.00.00
-unspsc7#53.10.20.01.00#Girls dresses or skirts or saris or kimonos#53.10.20.00.00
-unspsc7#53.10.20.02.00#Womens dresses or skirts or saris or kimonos#53.10.20.00.00
-unspsc7#53.10.20.03.00#Infants dresses or skirts or saris or kimonos#53.10.20.00.00
-unspsc7#53.10.21.00.00#Overalls and coveralls#53.10.00.00.00
-unspsc7#53.10.21.01.00#Boys overalls or coveralls#53.10.21.00.00
-unspsc7#53.10.21.02.00#Mens overalls or coveralls#53.10.21.00.00
-unspsc7#53.10.21.03.00#Girls overalls or coveralls#53.10.21.00.00
-unspsc7#53.10.21.04.00#Womens overalls or coveralls#53.10.21.00.00
-unspsc7#53.10.21.05.00#Infants overalls or coveralls#53.10.21.00.00
-unspsc7#53.10.22.00.00#Folkloric clothing#53.10.00.00.00
-unspsc7#53.10.22.01.00#Boys folkloric clothing#53.10.22.00.00
-unspsc7#53.10.22.02.00#Mens folkloric clothing#53.10.22.00.00
-unspsc7#53.10.22.03.00#Girls folkloric clothing#53.10.22.00.00
-unspsc7#53.10.22.04.00#Womens folkloric clothing#53.10.22.00.00
-unspsc7#53.10.22.05.00#Infants folkloric clothing#53.10.22.00.00
-unspsc7#53.10.23.00.00#Undergarments#53.10.00.00.00
-unspsc7#53.10.23.01.00#Undershirts#53.10.23.00.00
-unspsc7#53.10.23.02.00#Slips#53.10.23.00.00
-unspsc7#53.10.23.03.00#Underpants#53.10.23.00.00
-unspsc7#53.10.23.04.00#Brassieres#53.10.23.00.00
-unspsc7#53.10.23.05.00#Infant diapers#53.10.23.00.00
-unspsc7#53.10.23.06.00#Adult diapers#53.10.23.00.00
-unspsc7#53.10.23.07.00#Body shaping garments#53.10.23.00.00
-unspsc7#53.10.24.00.00#Hosiery#53.10.00.00.00
-unspsc7#53.10.24.01.00#Stockings#53.10.24.00.00
-unspsc7#53.10.24.02.00#Socks#53.10.24.00.00
-unspsc7#53.10.24.03.00#Panty hose#53.10.24.00.00
-unspsc7#53.10.24.04.00#Tights#53.10.24.00.00
-unspsc7#53.10.25.00.00#Clothing accessories#53.10.00.00.00
-unspsc7#53.10.25.01.00#Belts or suspenders#53.10.25.00.00
-unspsc7#53.10.25.02.00#Ties or scarves or mufflers#53.10.25.00.00
-unspsc7#53.10.25.03.00#Hats#53.10.25.00.00
-unspsc7#53.10.25.04.00#Gloves or mittens#53.10.25.00.00
-unspsc7#53.10.25.05.00#Umbrellas#53.10.25.00.00
-unspsc7#53.10.25.06.00#Sweat bands#53.10.25.00.00
-unspsc7#53.10.25.07.00#Clothing hangers#53.10.25.00.00
-unspsc7#53.10.25.08.00#Armbands#53.10.25.00.00
-unspsc7#53.10.25.09.00#Garters#53.10.25.00.00
-unspsc7#53.10.25.10.00#Tassles#53.10.25.00.00
-unspsc7#53.10.25.11.00#Bandannas#53.10.25.00.00
-unspsc7#53.10.25.12.00#Handkerchiefs#53.10.25.00.00
-unspsc7#53.10.25.13.00#Headbands#53.10.25.00.00
-unspsc7#53.10.25.14.00#Pocket protectors#53.10.25.00.00
-unspsc7#53.10.25.15.00#Button covers#53.10.25.00.00
-unspsc7#53.10.26.00.00#Nightwear#53.10.00.00.00
-unspsc7#53.10.26.01.00#Boys pajamas or nightshirts#53.10.26.00.00
-unspsc7#53.10.26.02.00#Mens pajamas or nightshirts#53.10.26.00.00
-unspsc7#53.10.26.03.00#Girls pajamas or nightshirts#53.10.26.00.00
-unspsc7#53.10.26.04.00#Womens pajamas or nightshirts#53.10.26.00.00
-unspsc7#53.10.26.05.00#Infants pajamas or nightshirts#53.10.26.00.00
-unspsc7#53.10.26.06.00#Bath robes#53.10.26.00.00
-unspsc7#53.10.27.00.00#Uniforms#53.10.00.00.00
-unspsc7#53.10.27.01.00#Military uniforms#53.10.27.00.00
-unspsc7#53.10.27.02.00#Customs uniforms#53.10.27.00.00
-unspsc7#53.10.27.03.00#Police uniforms#53.10.27.00.00
-unspsc7#53.10.28.00.00#Swimwear#53.10.00.00.00
-unspsc7#53.10.28.01.00#Mens swimwear#53.10.28.00.00
-unspsc7#53.10.28.02.00#Womens swimwear#53.10.28.00.00
-unspsc7#53.10.28.03.00#Boys swimwear#53.10.28.00.00
-unspsc7#53.10.28.04.00#Girls swimwear#53.10.28.00.00
-unspsc7#53.10.28.05.00#Infants swimwear#53.10.28.00.00
-unspsc7#53.10.29.00.00#Athletic wear#53.10.00.00.00
-unspsc7#53.10.29.01.00#Womens athletic wear#53.10.29.00.00
-unspsc7#53.10.29.02.00#Mens athletic wear#53.10.29.00.00
-unspsc7#53.10.29.03.00#Boys athletic wear#53.10.29.00.00
-unspsc7#53.10.29.04.00#Girls athletic wear#53.10.29.00.00
-unspsc7#53.11.00.00.00#Footwear#53.00.00.00.00
-unspsc7#53.11.15.00.00#Boots#53.11.00.00.00
-unspsc7#53.11.15.01.00#Mens boots#53.11.15.00.00
-unspsc7#53.11.15.02.00#Womens boots#53.11.15.00.00
-unspsc7#53.11.15.03.00#Boys boots#53.11.15.00.00
-unspsc7#53.11.15.04.00#Girls boots#53.11.15.00.00
-unspsc7#53.11.15.05.00#Infants boots#53.11.15.00.00
-unspsc7#53.11.16.00.00#Shoes#53.11.00.00.00
-unspsc7#53.11.16.01.00#Mens shoes#53.11.16.00.00
-unspsc7#53.11.16.02.00#Womens shoes#53.11.16.00.00
-unspsc7#53.11.16.03.00#Boys shoes#53.11.16.00.00
-unspsc7#53.11.16.04.00#Girls shoes#53.11.16.00.00
-unspsc7#53.11.16.05.00#Infants shoes#53.11.16.00.00
-unspsc7#53.11.17.00.00#Slippers#53.11.00.00.00
-unspsc7#53.11.17.01.00#Mens slippers#53.11.17.00.00
-unspsc7#53.11.17.02.00#Womens slippers#53.11.17.00.00
-unspsc7#53.11.17.03.00#Boys slippers#53.11.17.00.00
-unspsc7#53.11.17.04.00#Girls slippers#53.11.17.00.00
-unspsc7#53.11.17.05.00#Infants slippers#53.11.17.00.00
-unspsc7#53.11.18.00.00#Sandals#53.11.00.00.00
-unspsc7#53.11.18.01.00#Mens sandals#53.11.18.00.00
-unspsc7#53.11.18.02.00#Womens sandals#53.11.18.00.00
-unspsc7#53.11.18.03.00#Boys sandals#53.11.18.00.00
-unspsc7#53.11.18.04.00#Girls sandals#53.11.18.00.00
-unspsc7#53.11.18.05.00#Infants sandals#53.11.18.00.00
-unspsc7#53.11.19.00.00#Athletic footwear#53.11.00.00.00
-unspsc7#53.11.19.01.00#Mens athletic footwear#53.11.19.00.00
-unspsc7#53.11.19.02.00#Womens athletic footwear#53.11.19.00.00
-unspsc7#53.11.19.03.00#Boys athletic footwear#53.11.19.00.00
-unspsc7#53.11.19.04.00#Girls athletic footwear#53.11.19.00.00
-unspsc7#53.11.19.05.00#Infants athletic footwear#53.11.19.00.00
-unspsc7#53.11.20.00.00#Shoe accessories#53.11.00.00.00
-unspsc7#53.11.20.01.00#Shoehorns#53.11.20.00.00
-unspsc7#53.11.20.02.00#Shoelaces#53.11.20.00.00
-unspsc7#53.12.00.00.00#Luggage and handbags and packs and cases#53.00.00.00.00
-unspsc7#53.12.15.00.00#Luggage#53.12.00.00.00
-unspsc7#53.12.15.01.00#Garment bags#53.12.15.00.00
-unspsc7#53.12.15.02.00#Luggage sets#53.12.15.00.00
-unspsc7#53.12.15.03.00#Individual luggage pieces#53.12.15.00.00
-unspsc7#53.12.16.00.00#Purses and handbags and bags#53.12.00.00.00
-unspsc7#53.12.16.01.00#Handbags or purses#53.12.16.00.00
-unspsc7#53.12.16.02.00#Duffle bags#53.12.16.00.00
-unspsc7#53.12.16.03.00#Backpacks#53.12.16.00.00
-unspsc7#53.12.16.04.00#Eyeglass cases#53.12.16.00.00
-unspsc7#53.12.16.05.00#Coin purses#53.12.16.00.00
-unspsc7#53.12.16.06.00#Lipstick cases#53.12.16.00.00
-unspsc7#53.12.16.07.00#Cigar case#53.12.16.00.00
-unspsc7#53.12.17.00.00#Business cases#53.12.00.00.00
-unspsc7#53.12.17.01.00#Briefcases#53.12.17.00.00
-unspsc7#53.12.17.02.00#Attaches#53.12.17.00.00
-unspsc7#53.12.17.04.00#Portfolios#53.12.17.00.00
-unspsc7#53.12.17.05.00#Equipment cases#53.12.17.00.00
-unspsc7#53.12.17.06.00#Computer bags#53.12.17.00.00
-unspsc7#53.12.18.00.00#Travel kits and accessories#53.12.00.00.00
-unspsc7#53.12.18.01.00#Travel kits#53.12.18.00.00
-unspsc7#53.12.18.02.00#Travel carts#53.12.18.00.00
-unspsc7#53.12.18.03.00#Garment brushes#53.12.18.00.00
-unspsc7#53.12.18.04.00#Makeup or manicure cases#53.12.18.00.00
-unspsc7#53.13.00.00.00#Personal care products#53.00.00.00.00
-unspsc7#53.13.15.00.00#Dental#53.13.00.00.00
-unspsc7#53.13.15.01.00#Mouthwash#53.13.15.00.00
-unspsc7#53.13.15.02.00#Toothpaste#53.13.15.00.00
-unspsc7#53.13.15.03.00#Toothbrushes#53.13.15.00.00
-unspsc7#53.13.15.04.00#Dental floss#53.13.15.00.00
-unspsc7#53.13.15.05.00#Infant soother or pacifier or dummy#53.13.15.00.00
-unspsc7#53.13.15.06.00#Dental kits#53.13.15.00.00
-unspsc7#53.13.15.07.00#Toothpicks#53.13.15.00.00
-unspsc7#53.13.15.08.00#Denture cleaning tablets#53.13.15.00.00
-unspsc7#53.13.16.00.00#Bath and body#53.13.00.00.00
-unspsc7#53.13.16.01.00#Shower caps#53.13.16.00.00
-unspsc7#53.13.16.02.00#Hair care supplies#53.13.16.00.00
-unspsc7#53.13.16.03.00#Razors#53.13.16.00.00
-unspsc7#53.13.16.04.00#Hair combs or brushes#53.13.16.00.00
-unspsc7#53.13.16.05.00#Vanity kits#53.13.16.00.00
-unspsc7#53.13.16.06.00#Deodorants#53.13.16.00.00
-unspsc7#53.13.16.07.00#Hand or body lotions#53.13.16.00.00
-unspsc7#53.13.16.08.00#Soaps#53.13.16.00.00
-unspsc7#53.13.16.09.00#Sun protection products#53.13.16.00.00
-unspsc7#53.13.16.10.00#Eye care supplies#53.13.16.00.00
-unspsc7#53.13.16.11.00#Shaving creams#53.13.16.00.00
-unspsc7#53.13.16.12.00#Bath gels#53.13.16.00.00
-unspsc7#53.13.16.13.00#Skin care products#53.13.16.00.00
-unspsc7#53.13.16.14.00#Foot care products#53.13.16.00.00
-unspsc7#53.13.16.15.00#Feminine hygiene products#53.13.16.00.00
-unspsc7#53.13.16.16.00#Para pharmaceutical creams or lotions#53.13.16.00.00
-unspsc7#53.13.16.17.00#Manicure implements#53.13.16.00.00
-unspsc7#53.13.16.18.00#Pedicure implements#53.13.16.00.00
-unspsc7#53.13.16.19.00#Cosmetics#53.13.16.00.00
-unspsc7#53.13.16.20.00#Perfumes or colognes or fragrances#53.13.16.00.00
-unspsc7#53.13.16.21.00#Nail clippers#53.13.16.00.00
-unspsc7#53.13.16.22.00#Condoms#53.13.16.00.00
-unspsc7#53.13.16.23.00#Hair removal or depilatory products#53.13.16.00.00
-unspsc7#53.13.16.24.00#Disposable personal wipes#53.13.16.00.00
-unspsc7#53.13.16.25.00#Hair or beard nets#53.13.16.00.00
-unspsc7#53.13.16.26.00#Hand sanitizer#53.13.16.00.00
-unspsc7#53.13.16.27.00#Hand cleaner#53.13.16.00.00
-unspsc7#53.13.16.28.00#Shampoos#53.13.16.00.00
-unspsc7#53.13.16.29.00#Makeup kits#53.13.16.00.00
-unspsc7#53.13.16.30.00#Lip balm#53.13.16.00.00
-unspsc7#53.13.16.31.00#Tattoos#53.13.16.00.00
-unspsc7#53.13.16.32.00#Hot rollers#53.13.16.00.00
-unspsc7#53.13.16.33.00#Barrettes#53.13.16.00.00
-unspsc7#53.13.16.34.00#Chemical protection products#53.13.16.00.00
-unspsc7#53.13.16.35.00#Shaving brushes#53.13.16.00.00
-unspsc7#53.13.17.00.00#Eyewear#53.13.00.00.00
-unspsc7#53.13.17.01.00#Optical glasses or spectacles#53.13.17.00.00
-unspsc7#53.13.17.02.00#Contact lenses#53.13.17.00.00
-unspsc7#53.13.17.03.00#Sunglasses#53.13.17.00.00
-unspsc7#53.14.00.00.00#Sewing supplies and accessories#53.00.00.00.00
-unspsc7#53.14.15.00.00#Sewing fasteners#53.14.00.00.00
-unspsc7#53.14.15.01.00#Straight pins#53.14.15.00.00
-unspsc7#53.14.15.02.00#Safety pins#53.14.15.00.00
-unspsc7#53.14.15.03.00#Zippers#53.14.15.00.00
-unspsc7#53.14.15.04.00#Buckles#53.14.15.00.00
-unspsc7#53.14.15.05.00#Buttons#53.14.15.00.00
-unspsc7#53.14.15.06.00#Snaps#53.14.15.00.00
-unspsc7#53.14.15.07.00#Clasps#53.14.15.00.00
-unspsc7#53.14.15.08.00#Garment rivet#53.14.15.00.00
-unspsc7#53.14.16.00.00#Miscellaneous sewing supplies#53.14.00.00.00
-unspsc7#53.14.16.01.00#Pin cushions#53.14.16.00.00
-unspsc7#53.14.16.02.00#Sewing kits#53.14.16.00.00
-unspsc7#53.14.16.03.00#Thimbles#53.14.16.00.00
-unspsc7#53.14.16.04.00#Sewing patterns#53.14.16.00.00
-unspsc7#53.14.16.05.00#Sewing needles#53.14.16.00.00
-unspsc7#53.14.16.06.00#Bobbins or bobbin holders#53.14.16.00.00
-unspsc7#53.14.16.07.00#Seam gauge#53.14.16.00.00
-unspsc7#53.14.16.08.00#Bodkin#53.14.16.00.00
-unspsc7#53.14.16.09.00#Loop turner#53.14.16.00.00
-unspsc7#53.14.16.10.00#Fabric or tailors chalk holders#53.14.16.00.00
-unspsc7#53.14.16.11.00#Fabric markers or fabric pencils or fabric chalk#53.14.16.00.00
-unspsc7#53.14.16.12.00#Serrated pattern tracing wheel#53.14.16.00.00
-unspsc7#53.14.16.13.00#Transfer paper#53.14.16.00.00
-unspsc7#53.14.16.14.00#Tapestry needles#53.14.16.00.00
-unspsc7#53.14.16.15.00#Weaving needles#53.14.16.00.00
-unspsc7#53.14.16.16.00#Looper looms#53.14.16.00.00
-unspsc7#53.14.16.17.00#Cotton jersey loops#53.14.16.00.00
-unspsc7#53.14.16.18.00#Needlepoint canvas#53.14.16.00.00
-unspsc7#53.14.16.19.00#Magnet wands#53.14.16.00.00
-unspsc7#53.14.16.20.00#Seam ripper#53.14.16.00.00
-unspsc7#53.14.16.21.00#Needle threader#53.14.16.00.00
-unspsc7#53.14.16.22.00#Dressmakers ruler#53.14.16.00.00
-unspsc7#53.14.16.23.00#Liquid thread lock or reinforcer#53.14.16.00.00
-unspsc7#53.14.16.24.00#Cross stitch fabric or needles#53.14.16.00.00
-unspsc7#53.14.16.25.00#Cross stitch designs#53.14.16.00.00
-unspsc7#53.14.16.26.00#Embroidery hoops#53.14.16.00.00
-unspsc7#53.14.16.27.00#Crochet hooks#53.14.16.00.00
-unspsc7#53.14.16.28.00#Quilters basting tools#53.14.16.00.00
-unspsc7#53.14.16.29.00#Quilters pins#53.14.16.00.00
-unspsc7#53.14.16.30.00#Pattern cutting mats or boards#53.14.16.00.00
-unspsc7#54.00.00.00.00#Timepieces and Jewelry and Gemstone Products#54.00.00.00.00
-unspsc7#54.10.00.00.00#Jewelry#54.00.00.00.00
-unspsc7#54.10.15.00.00#Fine jewelry#54.10.00.00.00
-unspsc7#54.10.15.01.00#Gold or silver or platinum chains#54.10.15.00.00
-unspsc7#54.10.15.02.00#Fine jewelry necklaces#54.10.15.00.00
-unspsc7#54.10.15.03.00#Fine jewelry rings#54.10.15.00.00
-unspsc7#54.10.15.04.00#Fine jewelry earrings#54.10.15.00.00
-unspsc7#54.10.15.05.00#Fine body jewelry#54.10.15.00.00
-unspsc7#54.10.15.06.00#Fine jewelry bracelets#54.10.15.00.00
-unspsc7#54.10.15.07.00#Tiaras#54.10.15.00.00
-unspsc7#54.10.16.00.00#Imitation jewelry#54.10.00.00.00
-unspsc7#54.10.16.01.00#Bracelets#54.10.16.00.00
-unspsc7#54.10.16.02.00#Necklaces#54.10.16.00.00
-unspsc7#54.10.16.03.00#Rings#54.10.16.00.00
-unspsc7#54.10.16.04.00#Earrings#54.10.16.00.00
-unspsc7#54.10.16.05.00#Body jewelry#54.10.16.00.00
-unspsc7#54.11.00.00.00#Timepieces#54.00.00.00.00
-unspsc7#54.11.15.00.00#Watches#54.11.00.00.00
-unspsc7#54.11.15.01.00#Wrist watches#54.11.15.00.00
-unspsc7#54.11.15.02.00#Pocket watches#54.11.15.00.00
-unspsc7#54.11.16.00.00#Clocks#54.11.00.00.00
-unspsc7#54.11.16.01.00#Wall clocks#54.11.16.00.00
-unspsc7#54.11.16.02.00#Mantel or table clocks#54.11.16.00.00
-unspsc7#54.11.16.03.00#Free standing clocks#54.11.16.00.00
-unspsc7#54.11.16.04.00#Hourglasses#54.11.16.00.00
-unspsc7#54.11.17.00.00#Watch or clock parts#54.11.00.00.00
-unspsc7#54.11.17.01.00#Watch or clock dials#54.11.17.00.00
-unspsc7#54.11.17.02.00#Watch or clock crystals#54.11.17.00.00
-unspsc7#54.11.17.03.00#Watch or clock plates or bridges#54.11.17.00.00
-unspsc7#54.11.17.04.00#Watch straps or bands or bracelets or fobs#54.11.17.00.00
-unspsc7#54.12.00.00.00#Gemstones#54.00.00.00.00
-unspsc7#54.12.15.00.00#Precious stones#54.12.00.00.00
-unspsc7#54.12.15.01.00#Diamond gemstones#54.12.15.00.00
-unspsc7#54.12.15.02.00#Emerald gemstones#54.12.15.00.00
-unspsc7#54.12.15.03.00#Ruby gemstones#54.12.15.00.00
-unspsc7#54.12.15.04.00#Sapphire gemstones#54.12.15.00.00
-unspsc7#54.12.16.00.00#Semi precious stones#54.12.00.00.00
-unspsc7#54.12.16.01.00#Garnet gemstones#54.12.16.00.00
-unspsc7#54.12.16.02.00#Jade gemstones#54.12.16.00.00
-unspsc7#54.12.16.03.00#Opal gemstones#54.12.16.00.00
-unspsc7#54.12.17.00.00#Pearls#54.12.00.00.00
-unspsc7#54.12.17.01.00#Cultured pearls#54.12.17.00.00
-unspsc7#54.12.17.02.00#Natural pearls#54.12.17.00.00
-unspsc7#54.12.18.00.00#Industrial precious and semi precious stones#54.12.00.00.00
-unspsc7#54.12.18.01.00#Industrial diamonds#54.12.18.00.00
-unspsc7#54.12.18.02.00#Industrial garnets#54.12.18.00.00
-unspsc7#55.00.00.00.00#Published Products#55.00.00.00.00
-unspsc7#55.10.00.00.00#Printed media#55.00.00.00.00
-unspsc7#55.10.15.00.00#Printed publications#55.10.00.00.00
-unspsc7#55.10.15.01.00#Charts or maps or atlases#55.10.15.00.00
-unspsc7#55.10.15.02.00#Directories#55.10.15.00.00
-unspsc7#55.10.15.03.00#Catalogs#55.10.15.00.00
-unspsc7#55.10.15.04.00#Newspapers#55.10.15.00.00
-unspsc7#55.10.15.05.00#Comic books#55.10.15.00.00
-unspsc7#55.10.15.06.00#Magazines#55.10.15.00.00
-unspsc7#55.10.15.07.00#Picture or drawing or coloring books for children#55.10.15.00.00
-unspsc7#55.10.15.08.00#Encyclopedias#55.10.15.00.00
-unspsc7#55.10.15.09.00#Educational or vocational textbooks#55.10.15.00.00
-unspsc7#55.10.15.10.00#Leisure reading books#55.10.15.00.00
-unspsc7#55.10.15.11.00#Reference books#55.10.15.00.00
-unspsc7#55.10.15.12.00#Dictionaries#55.10.15.00.00
-unspsc7#55.10.15.13.00#Trading cards#55.10.15.00.00
-unspsc7#55.10.15.14.00#Sheet music#55.10.15.00.00
-unspsc7#55.10.15.15.00#Promotional material or annual reports#55.10.15.00.00
-unspsc7#55.10.15.16.00#Operation and instruction manuals#55.10.15.00.00
-unspsc7#55.10.15.17.00#Clearance and dimensional drawings#55.10.15.00.00
-unspsc7#55.10.15.18.00#Technical diagrams or drawings#55.10.15.00.00
-unspsc7#55.10.15.19.00#Periodicals#55.10.15.00.00
-unspsc7#55.10.15.20.00#Instruction sheets or booklets#55.10.15.00.00
-unspsc7#55.10.15.21.00#Owner or user manuals#55.10.15.00.00
-unspsc7#55.10.15.22.00#Terrestrial or celestial globes#55.10.15.00.00
-unspsc7#55.10.15.23.00#Exercise books#55.10.15.00.00
-unspsc7#55.10.15.24.00#Reference books#55.10.15.00.00
-unspsc7#55.10.15.25.00#Encyclopedias#55.10.15.00.00
-unspsc7#55.10.15.26.00#Dictionaries#55.10.15.00.00
-unspsc7#55.11.00.00.00#Electronic reference material#55.00.00.00.00
-unspsc7#55.11.15.00.00#Electronic publications and music#55.11.00.00.00
-unspsc7#55.11.15.01.00#Electronic directories#55.11.15.00.00
-unspsc7#55.11.15.02.00#Electronic dictionaries#55.11.15.00.00
-unspsc7#55.11.15.03.00#Electronic encyclopedias#55.11.15.00.00
-unspsc7#55.11.15.04.00#Electronic catalogs#55.11.15.00.00
-unspsc7#55.11.15.05.00#Books on tape or compact disc#55.11.15.00.00
-unspsc7#55.11.15.06.00#Electronic magazines#55.11.15.00.00
-unspsc7#55.11.15.07.00#Electronic newspapers#55.11.15.00.00
-unspsc7#55.11.15.08.00#Electronic charts or maps or atlases#55.11.15.00.00
-unspsc7#55.11.15.09.00#Background music#55.11.15.00.00
-unspsc7#55.11.15.10.00#Motion pictures on celluloid#55.11.15.00.00
-unspsc7#55.11.15.11.00#Motion pictures on video tape#55.11.15.00.00
-unspsc7#55.11.15.12.00#Music on tape or compact disc#55.11.15.00.00
-unspsc7#55.11.16.00.00#Electronic Software reference material#55.11.00.00.00
-unspsc7#55.11.16.01.00#Electronic Software Documentation and User Manuals#55.11.16.00.00
-unspsc7#55.12.00.00.00#Signage and accessories#55.00.00.00.00
-unspsc7#55.12.15.00.00#Tags#55.12.00.00.00
-unspsc7#55.12.15.01.00#Luggage tags#55.12.15.00.00
-unspsc7#55.12.15.02.00#Security tags#55.12.15.00.00
-unspsc7#55.12.15.03.00#Identification tags#55.12.15.00.00
-unspsc7#55.12.16.00.00#Labels#55.12.00.00.00
-unspsc7#55.12.16.01.00#Label removing kits#55.12.16.00.00
-unspsc7#55.12.16.02.00#Clothing labels#55.12.16.00.00
-unspsc7#55.12.16.03.00#Pressure sensitive labels#55.12.16.00.00
-unspsc7#55.12.16.04.00#Canning or bottling labels#55.12.16.00.00
-unspsc7#55.12.16.05.00#Addressing or mailing labels#55.12.16.00.00
-unspsc7#55.12.16.06.00#Self adhesive labels#55.12.16.00.00
-unspsc7#55.12.16.07.00#Decals#55.12.16.00.00
-unspsc7#55.12.16.08.00#Bar code labels#55.12.16.00.00
-unspsc7#55.12.16.09.00#Packaging labels#55.12.16.00.00
-unspsc7#55.12.16.10.00#Consecutively numbered labels#55.12.16.00.00
-unspsc7#55.12.16.11.00#Label making tapes#55.12.16.00.00
-unspsc7#55.12.16.12.00#Printer labels#55.12.16.00.00
-unspsc7#55.12.16.13.00#Color coding labels#55.12.16.00.00
-unspsc7#55.12.16.14.00#Removable labels#55.12.16.00.00
-unspsc7#55.12.16.15.00#Adhesive dots or arrows#55.12.16.00.00
-unspsc7#55.12.16.16.00#Self adhesive flags#55.12.16.00.00
-unspsc7#55.12.17.00.00#Signage#55.12.00.00.00
-unspsc7#55.12.17.01.00#Metallic nameplates#55.12.17.00.00
-unspsc7#55.12.17.02.00#Non metallic nameplates#55.12.17.00.00
-unspsc7#55.12.17.03.00#Illuminated signs#55.12.17.00.00
-unspsc7#55.12.17.04.00#Safety signs#55.12.17.00.00
-unspsc7#55.12.17.05.00#Self adhesive signs#55.12.17.00.00
-unspsc7#55.12.17.06.00#Banners#55.12.17.00.00
-unspsc7#55.12.17.07.00#Magnetic signs#55.12.17.00.00
-unspsc7#55.12.17.08.00#Neon signs#55.12.17.00.00
-unspsc7#55.12.17.09.00#Moving message signs#55.12.17.00.00
-unspsc7#55.12.17.10.00#Traffic signs#55.12.17.00.00
-unspsc7#55.12.17.11.00#Billboards#55.12.17.00.00
-unspsc7#55.12.17.12.00#Directional signs#55.12.17.00.00
-unspsc7#55.12.17.13.00#Point of purchase signs#55.12.17.00.00
-unspsc7#55.12.17.14.00#Pennants#55.12.17.00.00
-unspsc7#55.12.17.15.00#Flags#55.12.17.00.00
-unspsc7#55.12.17.16.00#Wooden signs#55.12.17.00.00
-unspsc7#55.12.17.17.00#Marker plates#55.12.17.00.00
-unspsc7#55.12.17.18.00#Informational signs#55.12.17.00.00
-unspsc7#55.12.17.19.00#Signalling components#55.12.17.00.00
-unspsc7#55.12.17.20.00#Emblems#55.12.17.00.00
-unspsc7#55.12.17.21.00#Vinyl letters or numbers#55.12.17.00.00
-unspsc7#55.12.17.22.00#Flagpoles#55.12.17.00.00
-unspsc7#55.12.17.23.00#Sign holders#55.12.17.00.00
-unspsc7#55.12.18.00.00#Identification documents#55.12.00.00.00
-unspsc7#55.12.18.01.00#Car tax discs#55.12.18.00.00
-unspsc7#55.12.18.02.00#Identification cards#55.12.18.00.00
-unspsc7#55.12.18.03.00#Passports#55.12.18.00.00
-unspsc7#55.12.18.04.00#Badges or badge holders#55.12.18.00.00
-unspsc7#56.00.00.00.00#Furniture and Furnishings#56.00.00.00.00
-unspsc7#56.10.00.00.00#Accommodation furniture#56.00.00.00.00
-unspsc7#56.10.15.00.00#Furniture#56.10.00.00.00
-unspsc7#56.10.15.01.00#Stands#56.10.15.00.00
-unspsc7#56.10.15.02.00#Sofas#56.10.15.00.00
-unspsc7#56.10.15.03.00#Coat racks#56.10.15.00.00
-unspsc7#56.10.15.04.00#Chairs#56.10.15.00.00
-unspsc7#56.10.15.05.00#Entertainment centers#56.10.15.00.00
-unspsc7#56.10.15.06.00#Futons#56.10.15.00.00
-unspsc7#56.10.15.07.00#Bookcases#56.10.15.00.00
-unspsc7#56.10.15.08.00#Mattresses#56.10.15.00.00
-unspsc7#56.10.15.09.00#Dressers or armoires#56.10.15.00.00
-unspsc7#56.10.15.10.00#Partitions#56.10.15.00.00
-unspsc7#56.10.15.12.00#Stools#56.10.15.00.00
-unspsc7#56.10.15.13.00#Cots#56.10.15.00.00
-unspsc7#56.10.15.14.00#Foot stools#56.10.15.00.00
-unspsc7#56.10.15.15.00#Beds#56.10.15.00.00
-unspsc7#56.10.15.16.00#Chests#56.10.15.00.00
-unspsc7#56.10.15.18.00#Wall racks#56.10.15.00.00
-unspsc7#56.10.15.19.00#Tables#56.10.15.00.00
-unspsc7#56.10.15.20.00#Lockers#56.10.15.00.00
-unspsc7#56.10.15.21.00#Bed headboard or footboard#56.10.15.00.00
-unspsc7#56.10.15.22.00#Arm chair#56.10.15.00.00
-unspsc7#56.10.15.23.00#Umbrella stands#56.10.15.00.00
-unspsc7#56.10.15.24.00#Ironing boards#56.10.15.00.00
-unspsc7#56.10.15.25.00#Ironing board covers#56.10.15.00.00
-unspsc7#56.10.15.26.00#Fridge bar#56.10.15.00.00
-unspsc7#56.10.15.27.00#Household type linen driers#56.10.15.00.00
-unspsc7#56.10.15.28.00#Artificial plants#56.10.15.00.00
-unspsc7#56.10.15.29.00#Magazine racks#56.10.15.00.00
-unspsc7#56.10.16.00.00#Outdoor furniture#56.10.00.00.00
-unspsc7#56.10.16.01.00#Outdoor umbrellas#56.10.16.00.00
-unspsc7#56.10.16.02.00#Outdoor chairs#56.10.16.00.00
-unspsc7#56.10.16.03.00#Outdoor tables or picnic tables#56.10.16.00.00
-unspsc7#56.10.16.04.00#Outdoor swings#56.10.16.00.00
-unspsc7#56.10.16.05.00#Outdoor benches#56.10.16.00.00
-unspsc7#56.10.16.06.00#Flower stands#56.10.16.00.00
-unspsc7#56.10.16.07.00#Outside clothes dryer#56.10.16.00.00
-unspsc7#56.10.17.00.00#Office furniture#56.10.00.00.00
-unspsc7#56.10.17.01.00#Credenzas#56.10.17.00.00
-unspsc7#56.10.17.02.00#Filing cabinets or accesories#56.10.17.00.00
-unspsc7#56.10.17.03.00#Desks#56.10.17.00.00
-unspsc7#56.10.17.04.00#Table base#56.10.17.00.00
-unspsc7#56.10.17.05.00#Showcases#56.10.17.00.00
-unspsc7#56.10.17.06.00#Conferencing tables#56.10.17.00.00
-unspsc7#56.10.17.07.00#Drafting tables#56.10.17.00.00
-unspsc7#56.10.17.08.00#Mobile files or equipment carts#56.10.17.00.00
-unspsc7#56.10.17.09.00#Table tops#56.10.17.00.00
-unspsc7#56.10.18.00.00#Baby and toddler furniture and accessories#56.10.00.00.00
-unspsc7#56.10.18.03.00#Carriages or perambulators or strollers#56.10.18.00.00
-unspsc7#56.10.18.04.00#Cribs or playpens#56.10.18.00.00
-unspsc7#56.10.18.05.00#Car seats#56.10.18.00.00
-unspsc7#56.10.18.06.00#High chairs or accessories#56.10.18.00.00
-unspsc7#56.10.18.07.00#Bouncer seats or jumpers#56.10.18.00.00
-unspsc7#56.10.18.08.00#Swings or jumpers or accessories#56.10.18.00.00
-unspsc7#56.10.18.09.00#Potty seats#56.10.18.00.00
-unspsc7#56.10.18.10.00#Baby baths or tubs#56.10.18.00.00
-unspsc7#56.10.18.11.00#Bassinets or cradles#56.10.18.00.00
-unspsc7#56.10.18.12.00#Changing tables or accessories#56.10.18.00.00
-unspsc7#56.11.00.00.00#Commercial and industrial furniture#56.00.00.00.00
-unspsc7#56.11.15.00.00#Workstations and office packages#56.11.00.00.00
-unspsc7#56.11.15.01.00#Modular reception office packages#56.11.15.00.00
-unspsc7#56.11.15.02.00#Casegood or non modular executive office packages#56.11.15.00.00
-unspsc7#56.11.15.03.00#Modular executive office packages#56.11.15.00.00
-unspsc7#56.11.15.04.00#Casegood or non modular managerial office packages#56.11.15.00.00
-unspsc7#56.11.15.05.00#Modular managerial office packages#56.11.15.00.00
-unspsc7#56.11.15.06.00#Casegood or non modular staff office packages#56.11.15.00.00
-unspsc7#56.11.15.07.00#Modular staff office packages#56.11.15.00.00
-unspsc7#56.11.15.08.00#Casegood or non modular technical office packages#56.11.15.00.00
-unspsc7#56.11.15.09.00#Modular technical office packages#56.11.15.00.00
-unspsc7#56.11.15.10.00#Casegood or non modular clerical office packages#56.11.15.00.00
-unspsc7#56.11.15.11.00#Modular clerical office packages#56.11.15.00.00
-unspsc7#56.11.15.12.00#Casegood or non modular reception office packages#56.11.15.00.00
-unspsc7#56.11.15.13.00#Conference or non modular room packages#56.11.15.00.00
-unspsc7#56.11.16.00.00#Panel systems#56.11.00.00.00
-unspsc7#56.11.16.01.00#Screens for panel systems#56.11.16.00.00
-unspsc7#56.11.16.02.00#Storage for panel systems#56.11.16.00.00
-unspsc7#56.11.16.03.00#Organization for panel systems#56.11.16.00.00
-unspsc7#56.11.16.04.00#Work surfaces for panel systems#56.11.16.00.00
-unspsc7#56.11.16.05.00#Lighting or power or data componets for panel systems#56.11.16.00.00
-unspsc7#56.11.16.06.00#Parts or accessories panel systems#56.11.16.00.00
-unspsc7#56.11.17.00.00#Casegood and non modular systems#56.11.00.00.00
-unspsc7#56.11.17.01.00#Casegood or non modular desk#56.11.17.00.00
-unspsc7#56.11.17.02.00#Casegood or non modular credenza#56.11.17.00.00
-unspsc7#56.11.17.03.00#Casegood or non modular storage#56.11.17.00.00
-unspsc7#56.11.17.04.00#Casegood or non modular organization#56.11.17.00.00
-unspsc7#56.11.17.05.00#Casegood or non modular lighting or power or data components#56.11.17.00.00
-unspsc7#56.11.17.06.00#Casegood or non modular parts or accessories#56.11.17.00.00
-unspsc7#56.11.18.00.00#Freestanding furniture#56.11.00.00.00
-unspsc7#56.11.18.01.00#Freestanding lighting or power or data components#56.11.18.00.00
-unspsc7#56.11.18.02.00#Freestanding tables#56.11.18.00.00
-unspsc7#56.11.18.03.00#Freestanding storage#56.11.18.00.00
-unspsc7#56.11.18.04.00#Freestanding organization#56.11.18.00.00
-unspsc7#56.11.18.05.00#Freestanding parts or accessories#56.11.18.00.00
-unspsc7#56.11.19.00.00#Industrial furniture#56.11.00.00.00
-unspsc7#56.11.19.01.00#Industrial lighting or power or data components#56.11.19.00.00
-unspsc7#56.11.19.02.00#Industrial work surfaces#56.11.19.00.00
-unspsc7#56.11.19.03.00#Industrial storage units#56.11.19.00.00
-unspsc7#56.11.19.04.00#Industrial organization#56.11.19.00.00
-unspsc7#56.11.19.05.00#Industrial parts or accessories#56.11.19.00.00
-unspsc7#56.11.20.00.00#Computer support furniture#56.11.00.00.00
-unspsc7#56.11.20.01.00#Computer support lighting or power or data components#56.11.20.00.00
-unspsc7#56.11.20.02.00#Computer support work surfaces#56.11.20.00.00
-unspsc7#56.11.20.03.00#Computer support storage accessories#56.11.20.00.00
-unspsc7#56.11.20.04.00#Computer support organization#56.11.20.00.00
-unspsc7#56.11.20.05.00#Computer support parts or accessories#56.11.20.00.00
-unspsc7#56.11.21.00.00#Seating#56.11.00.00.00
-unspsc7#56.11.21.01.00#Auditorium or stadium or special use seating#56.11.21.00.00
-unspsc7#56.11.21.02.00#Task seating#56.11.21.00.00
-unspsc7#56.11.21.03.00#Guest seating#56.11.21.00.00
-unspsc7#56.11.21.04.00#Executive seating#56.11.21.00.00
-unspsc7#56.11.21.05.00#Lounge seating#56.11.21.00.00
-unspsc7#56.11.21.06.00#Stool seating#56.11.21.00.00
-unspsc7#56.11.21.07.00#Seating parts or accessories#56.11.21.00.00
-unspsc7#56.11.21.08.00#Combination chair with desk#56.11.21.00.00
-unspsc7#56.11.21.09.00#Benches#56.11.21.00.00
-unspsc7#56.12.00.00.00#Classroom and instructional and institutional furniture and fixtures#56.00.00.00.00
-unspsc7#56.12.10.00.00#Library furnishings#56.12.00.00.00
-unspsc7#56.12.10.01.00#Book carts or book trucks#56.12.10.00.00
-unspsc7#56.12.10.02.00#Circulation or librarian desks or components#56.12.10.00.00
-unspsc7#56.12.10.03.00#Book returns#56.12.10.00.00
-unspsc7#56.12.10.04.00#Card catalog units#56.12.10.00.00
-unspsc7#56.12.10.05.00#Dictionary stands#56.12.10.00.00
-unspsc7#56.12.10.06.00#Upholstered benches#56.12.10.00.00
-unspsc7#56.12.10.07.00#Public access tables#56.12.10.00.00
-unspsc7#56.12.10.08.00#Book browser units#56.12.10.00.00
-unspsc7#56.12.10.09.00#Sloped reading tables#56.12.10.00.00
-unspsc7#56.12.10.10.00#Book kiosks#56.12.10.00.00
-unspsc7#56.12.10.11.00#Library compact disc or audio cassette displayers#56.12.10.00.00
-unspsc7#56.12.10.12.00#Rotary island stands#56.12.10.00.00
-unspsc7#56.12.10.14.00#Hang up bag racks or bags#56.12.10.00.00
-unspsc7#56.12.11.00.00#Art classroom furnishings#56.12.00.00.00
-unspsc7#56.12.11.01.00#Art horse#56.12.11.00.00
-unspsc7#56.12.11.02.00#Art student bench#56.12.11.00.00
-unspsc7#56.12.12.00.00#First aid room furnishings#56.12.00.00.00
-unspsc7#56.12.12.01.00#First aid couches#56.12.12.00.00
-unspsc7#56.12.13.00.00#General educational facility fixtures#56.12.00.00.00
-unspsc7#56.12.13.01.00#Standing risers#56.12.13.00.00
-unspsc7#56.12.13.02.00#Table or chair movers or caddys#56.12.13.00.00
-unspsc7#56.12.13.03.00#Rubber brush floor matting#56.12.13.00.00
-unspsc7#56.12.13.04.00#Planning tables#56.12.13.00.00
-unspsc7#56.12.14.00.00#Cafeteria and lunchroom furnishings#56.12.00.00.00
-unspsc7#56.12.14.01.00#Mobile bench tables#56.12.14.00.00
-unspsc7#56.12.14.02.00#Mobile stool tables#56.12.14.00.00
-unspsc7#56.12.14.03.00#Mobile tables#56.12.14.00.00
-unspsc7#56.12.15.00.00#General classroom furnishings#56.12.00.00.00
-unspsc7#56.12.15.01.00#Activity tables#56.12.15.00.00
-unspsc7#56.12.15.02.00#Classroom chairs#56.12.15.00.00
-unspsc7#56.12.15.03.00#Classroom benches#56.12.15.00.00
-unspsc7#56.12.15.04.00#Clasroom stools#56.12.15.00.00
-unspsc7#56.12.15.05.00#Classroom tables#56.12.15.00.00
-unspsc7#56.12.15.06.00#Student desks#56.12.15.00.00
-unspsc7#56.12.15.07.00#Study carrels#56.12.15.00.00
-unspsc7#56.12.15.08.00#Student computer desks#56.12.15.00.00
-unspsc7#56.12.15.09.00#Student computer tables#56.12.15.00.00
-unspsc7#56.12.16.00.00#Creative play and rest time furnishings for daycare and early childhood facilities#56.12.00.00.00
-unspsc7#56.12.16.01.00#Toddler or child size living room sets#56.12.16.00.00
-unspsc7#56.12.16.02.00#Toddler or child size sofas#56.12.16.00.00
-unspsc7#56.12.16.03.00#Toddler or child size easy chairs#56.12.16.00.00
-unspsc7#56.12.16.04.00#Toddler or child size bean bag chairs#56.12.16.00.00
-unspsc7#56.12.16.05.00#Low rise room dividers or play panels#56.12.16.00.00
-unspsc7#56.12.16.06.00#Childs rest mats#56.12.16.00.00
-unspsc7#56.12.16.07.00#Childs rest mat racks or holders#56.12.16.00.00
-unspsc7#56.12.16.08.00#Childrens cots#56.12.16.00.00
-unspsc7#56.12.16.09.00#Childrens cot carriers#56.12.16.00.00
-unspsc7#56.12.16.10.00#Childrens cot activity systems#56.12.16.00.00
-unspsc7#56.12.17.00.00#Book and general storage units for classrooms#56.12.00.00.00
-unspsc7#56.12.17.01.00#General storage units#56.12.17.00.00
-unspsc7#56.12.17.02.00#Book storage units#56.12.17.00.00
-unspsc7#56.12.17.03.00#Cubbie units#56.12.17.00.00
-unspsc7#56.12.17.04.00#Institutional Storage Cabinets#56.12.17.00.00
-unspsc7#56.12.18.00.00#Vocational classroom furnishings and fixtures#56.12.00.00.00
-unspsc7#56.12.18.01.00#Technical education tool storage cabinets or cabinets with tools#56.12.18.00.00
-unspsc7#56.12.18.02.00#General shop tool storage cabinets or cabinets with tools#56.12.18.00.00
-unspsc7#56.12.18.03.00#Wordworking tool storage cabinets or cabinets with tools#56.12.18.00.00
-unspsc7#56.12.18.04.00#Instructors technical desk#56.12.18.00.00
-unspsc7#56.12.18.05.00#Flat files#56.12.18.00.00
-unspsc7#56.12.19.00.00#Demonstration furnishings#56.12.00.00.00
-unspsc7#56.12.19.01.00#Sewing machine demonstrator tables#56.12.19.00.00
-unspsc7#56.12.20.00.00#Laboratory furniture#56.12.00.00.00
-unspsc7#56.12.20.01.00#Laboratory benches#56.12.20.00.00
-unspsc7#56.12.20.02.00#Laboratory storage units or accessories#56.12.20.00.00
-unspsc7#56.12.20.03.00#Laboratory workstations#56.12.20.00.00
-unspsc7#60.00.00.00.00#Musical Instruments and Games and Toys and Arts and Crafts and Educational Equipment and Materials and Accessories and Supplies#60.00.00.00.00
-unspsc7#60.10.00.00.00#Developmental and professional teaching aids and materials and accessories and supplies#60.00.00.00.00
-unspsc7#60.10.10.00.00#Math kits#60.10.00.00.00
-unspsc7#60.10.10.01.00#Addition math kits#60.10.10.00.00
-unspsc7#60.10.10.02.00#Division math kits#60.10.10.00.00
-unspsc7#60.10.10.03.00#Fraction math kits#60.10.10.00.00
-unspsc7#60.10.10.04.00#Middle School math kits#60.10.10.00.00
-unspsc7#60.10.10.05.00#Early childhood math kits#60.10.10.00.00
-unspsc7#60.10.10.06.00#Measurement math kits#60.10.10.00.00
-unspsc7#60.10.10.07.00#Multiplication math kits#60.10.10.00.00
-unspsc7#60.10.10.08.00#Elementary math kits#60.10.10.00.00
-unspsc7#60.10.10.09.00#Subtraction math kits#60.10.10.00.00
-unspsc7#60.10.10.10.00#High school math kits#60.10.10.00.00
-unspsc7#60.10.11.00.00#Electronic learning aids#60.10.00.00.00
-unspsc7#60.10.11.01.00#Electronic card readers#60.10.11.00.00
-unspsc7#60.10.11.02.00#Curriculum based electronic learning aids#60.10.11.00.00
-unspsc7#60.10.11.03.00#Electronic globes#60.10.11.00.00
-unspsc7#60.10.11.04.00#Electronic quiz machines#60.10.11.00.00
-unspsc7#60.10.12.00.00#Educational incentives#60.10.00.00.00
-unspsc7#60.10.12.01.00#Bible based chart stickers#60.10.12.00.00
-unspsc7#60.10.12.02.00#Bible based incentive charts#60.10.12.00.00
-unspsc7#60.10.12.03.00#Incentive chart stickers#60.10.12.00.00
-unspsc7#60.10.12.04.00#Incentive charts#60.10.12.00.00
-unspsc7#60.10.12.05.00#Incentive punchcards#60.10.12.00.00
-unspsc7#60.10.13.00.00#Educational stickers and supplies#60.10.00.00.00
-unspsc7#60.10.13.01.00#Bible based stickers#60.10.13.00.00
-unspsc7#60.10.13.02.00#Giant stickers#60.10.13.00.00
-unspsc7#60.10.13.03.00#Notary seal stickers#60.10.13.00.00
-unspsc7#60.10.13.04.00#Photo stickers#60.10.13.00.00
-unspsc7#60.10.13.05.00#Reward stickers#60.10.13.00.00
-unspsc7#60.10.13.06.00#Scented stickers#60.10.13.00.00
-unspsc7#60.10.13.07.00#Shape stickers#60.10.13.00.00
-unspsc7#60.10.13.08.00#Sparkle stickers#60.10.13.00.00
-unspsc7#60.10.13.09.00#Reward star stickers#60.10.13.00.00
-unspsc7#60.10.13.10.00#Sticker assortments#60.10.13.00.00
-unspsc7#60.10.13.11.00#Sticker books#60.10.13.00.00
-unspsc7#60.10.13.12.00#Sticker boxes#60.10.13.00.00
-unspsc7#60.10.13.13.00#Tattoo stickers#60.10.13.00.00
-unspsc7#60.10.13.14.00#Addition flash cards#60.10.13.00.00
-unspsc7#60.10.13.15.00#All facts flash cards#60.10.13.00.00
-unspsc7#60.10.13.16.00#Blank flash cards#60.10.13.00.00
-unspsc7#60.10.13.17.00#Division flash cards#60.10.13.00.00
-unspsc7#60.10.13.18.00#Electronic flash cards#60.10.13.00.00
-unspsc7#60.10.13.19.00#Equivalent flash cards#60.10.13.00.00
-unspsc7#60.10.13.20.00#Fraction flash cards#60.10.13.00.00
-unspsc7#60.10.13.21.00#Greater than or less than flash cards#60.10.13.00.00
-unspsc7#60.10.13.22.00#Multiplication flash cards#60.10.13.00.00
-unspsc7#60.10.13.23.00#Subtraction flash cards#60.10.13.00.00
-unspsc7#60.10.13.24.00#Alphabet flash cards#60.10.13.00.00
-unspsc7#60.10.13.25.00#Word building flash cards#60.10.13.00.00
-unspsc7#60.10.13.26.00#Phonics flash cards#60.10.13.00.00
-unspsc7#60.10.13.27.00#Handwriting or writing flash cards#60.10.13.00.00
-unspsc7#60.10.13.28.00#Number clash cards#60.10.13.00.00
-unspsc7#60.10.13.29.00#Money flash cards#60.10.13.00.00
-unspsc7#60.10.13.30.00#Time flash cards#60.10.13.00.00
-unspsc7#60.10.13.31.00#State flash cards#60.10.13.00.00
-unspsc7#60.10.14.00.00#Classroom awards#60.10.00.00.00
-unspsc7#60.10.14.01.00#Badges#60.10.14.00.00
-unspsc7#60.10.14.02.00#Award buttons#60.10.14.00.00
-unspsc7#60.10.14.03.00#Celebration crowns#60.10.14.00.00
-unspsc7#60.10.14.04.00#Reward jewlery#60.10.14.00.00
-unspsc7#60.10.14.05.00#Classroom ribbons or rosettes#60.10.14.00.00
-unspsc7#60.10.16.00.00#Educational certificates or diplomas#60.10.00.00.00
-unspsc7#60.10.16.01.00#Bible based certificates#60.10.16.00.00
-unspsc7#60.10.16.02.00#Blank certificates#60.10.16.00.00
-unspsc7#60.10.16.03.00#Certificate frames#60.10.16.00.00
-unspsc7#60.10.16.04.00#Certificate holders#60.10.16.00.00
-unspsc7#60.10.16.05.00#Certificate ribbons#60.10.16.00.00
-unspsc7#60.10.16.06.00#Diplomas#60.10.16.00.00
-unspsc7#60.10.16.07.00#Foreign language certificates#60.10.16.00.00
-unspsc7#60.10.16.08.00#General praise certificates#60.10.16.00.00
-unspsc7#60.10.16.09.00#Grade specific certificates#60.10.16.00.00
-unspsc7#60.10.16.10.00#Subject specific certificates#60.10.16.00.00
-unspsc7#60.10.17.00.00#Teacher resource materials#60.10.00.00.00
-unspsc7#60.10.17.01.00#Assessment resource books#60.10.17.00.00
-unspsc7#60.10.17.02.00#Calendars or cut outs#60.10.17.00.00
-unspsc7#60.10.17.03.00#Character education resource materials#60.10.17.00.00
-unspsc7#60.10.17.04.00#Classroom activity books#60.10.17.00.00
-unspsc7#60.10.17.05.00#Critical thinking resource materials#60.10.17.00.00
-unspsc7#60.10.17.06.00#Cross curriculum guides#60.10.17.00.00
-unspsc7#60.10.17.07.00#Curriculum guides#60.10.17.00.00
-unspsc7#60.10.17.08.00#Fabric charts#60.10.17.00.00
-unspsc7#60.10.17.09.00#Flannel board aids#60.10.17.00.00
-unspsc7#60.10.17.10.00#Educator gifts#60.10.17.00.00
-unspsc7#60.10.17.11.00#Grading stamps#60.10.17.00.00
-unspsc7#60.10.17.12.00#Hall passes#60.10.17.00.00
-unspsc7#60.10.17.13.00#Home education resource materials#60.10.17.00.00
-unspsc7#60.10.17.14.00#Homework assignment resources#60.10.17.00.00
-unspsc7#60.10.17.15.00#Idea books#60.10.17.00.00
-unspsc7#60.10.17.16.00#Magnetic board aids#60.10.17.00.00
-unspsc7#60.10.17.17.00#Name plates or tags#60.10.17.00.00
-unspsc7#60.10.17.18.00#Teacher plan books#60.10.17.00.00
-unspsc7#60.10.17.19.00#Pocket charts#60.10.17.00.00
-unspsc7#60.10.17.20.00#Teacher communication postcards#60.10.17.00.00
-unspsc7#60.10.17.21.00#Professional teacher resource books#60.10.17.00.00
-unspsc7#60.10.17.22.00#Teacher classroom grading books#60.10.17.00.00
-unspsc7#60.10.17.23.00#Classroom student seating charts#60.10.17.00.00
-unspsc7#60.10.17.24.00#Substitute teacher folders or forms#60.10.17.00.00
-unspsc7#60.10.17.25.00#Technology activity or resource books#60.10.17.00.00
-unspsc7#60.10.17.26.00#Technology reference guides#60.10.17.00.00
-unspsc7#60.10.17.27.00#Test taking resource materials#60.10.17.00.00
-unspsc7#60.10.17.28.00#Theme unit resource materials#60.10.17.00.00
-unspsc7#60.10.17.29.00#Middle or junior school teaching kits#60.10.17.00.00
-unspsc7#60.10.17.30.00#Laboratory manuals#60.10.17.00.00
-unspsc7#60.10.18.00.00#Church school educational resources#60.10.00.00.00
-unspsc7#60.10.18.01.00#Bible reference guides#60.10.18.00.00
-unspsc7#60.10.18.02.00#Bible based dramas#60.10.18.00.00
-unspsc7#60.10.18.03.00#Bible based resource or activity books#60.10.18.00.00
-unspsc7#60.10.18.04.00#Sunday school activity resource books#60.10.18.00.00
-unspsc7#60.10.18.05.00#Vacation bible school resources#60.10.18.00.00
-unspsc7#60.10.19.00.00#Alphabet skills materials and resources#60.10.00.00.00
-unspsc7#60.10.19.01.00#Alphabet activity books#60.10.19.00.00
-unspsc7#60.10.19.02.00#Alphabet cubes#60.10.19.00.00
-unspsc7#60.10.19.03.00#Alphabet desk tapes#60.10.19.00.00
-unspsc7#60.10.19.04.00#Alphabet kits#60.10.19.00.00
-unspsc7#60.10.19.05.00#Alphabet letter tiles#60.10.19.00.00
-unspsc7#60.10.19.06.00#Alphabet poster cards#60.10.19.00.00
-unspsc7#60.10.19.07.00#Alphabet reference guides#60.10.19.00.00
-unspsc7#60.10.19.08.00#Alphabet resource books#60.10.19.00.00
-unspsc7#60.10.19.09.00#Alphabet stamps#60.10.19.00.00
-unspsc7#60.10.19.10.00#Alphabet wall cards#60.10.19.00.00
-unspsc7#60.10.19.11.00#Tactile alphabets#60.10.19.00.00
-unspsc7#60.10.20.00.00#Word building resource materials and accessories#60.10.00.00.00
-unspsc7#60.10.20.01.00#Speech mirror#60.10.20.00.00
-unspsc7#60.10.20.02.00#Spelling resource materials#60.10.20.00.00
-unspsc7#60.10.20.03.00#Word building activity books#60.10.20.00.00
-unspsc7#60.10.20.04.00#Word building kits#60.10.20.00.00
-unspsc7#60.10.20.05.00#Word building resource books#60.10.20.00.00
-unspsc7#60.10.20.06.00#Word building tiles#60.10.20.00.00
-unspsc7#60.10.20.07.00#Word walls#60.10.20.00.00
-unspsc7#60.10.21.00.00#Language arts resource materials#60.10.00.00.00
-unspsc7#60.10.21.01.00#Adjective resource books#60.10.21.00.00
-unspsc7#60.10.21.02.00#Adverb resource books#60.10.21.00.00
-unspsc7#60.10.21.03.00#Grammar resource books#60.10.21.00.00
-unspsc7#60.10.21.04.00#Noun resource books#60.10.21.00.00
-unspsc7#60.10.21.05.00#Punctutation resource books#60.10.21.00.00
-unspsc7#60.10.21.06.00#Verb resource books#60.10.21.00.00
-unspsc7#60.10.22.00.00#Phonics resource materials and accessories#60.10.00.00.00
-unspsc7#60.10.22.01.00#Phonics activity books#60.10.22.00.00
-unspsc7#60.10.22.02.00#Phonics drill cards#60.10.22.00.00
-unspsc7#60.10.22.03.00#Phonics kit#60.10.22.00.00
-unspsc7#60.10.22.04.00#Phonics picture cards#60.10.22.00.00
-unspsc7#60.10.22.05.00#Phonics resource books#60.10.22.00.00
-unspsc7#60.10.22.06.00#Phonics tiles#60.10.22.00.00
-unspsc7#60.10.23.00.00#Reading books and resources#60.10.00.00.00
-unspsc7#60.10.23.01.00#Reading activity books#60.10.23.00.00
-unspsc7#60.10.23.02.00#Beginning reading books#60.10.23.00.00
-unspsc7#60.10.23.03.00#Bible based childrens literature books#60.10.23.00.00
-unspsc7#60.10.23.04.00#Childrens literature books#60.10.23.00.00
-unspsc7#60.10.23.05.00#Critical reading skills#60.10.23.00.00
-unspsc7#60.10.23.06.00#Flannel boards#60.10.23.00.00
-unspsc7#60.10.23.07.00#Poetry resource books#60.10.23.00.00
-unspsc7#60.10.23.08.00#Reading comprehension materials#60.10.23.00.00
-unspsc7#60.10.23.09.00#Reading development materials or kits#60.10.23.00.00
-unspsc7#60.10.23.10.00#Reading resource books#60.10.23.00.00
-unspsc7#60.10.23.11.00#Reading thematic units#60.10.23.00.00
-unspsc7#60.10.23.12.00#Vocabulary activity or resource books#60.10.23.00.00
-unspsc7#60.10.24.00.00#Early learning math and counting resources and accessories#60.10.00.00.00
-unspsc7#60.10.24.01.00#Abacus or counting frames#60.10.24.00.00
-unspsc7#60.10.24.02.00#Activity or resource books for working with early math manipulatives#60.10.24.00.00
-unspsc7#60.10.24.03.00#Activity cards for working with early math manipulatives#60.10.24.00.00
-unspsc7#60.10.24.04.00#Beads or bead activity sets for early math#60.10.24.00.00
-unspsc7#60.10.24.05.00#Counters or counter activity sets for early math#60.10.24.00.00
-unspsc7#60.10.24.06.00#Counting or sorting trays or bowls for early math#60.10.24.00.00
-unspsc7#60.10.24.07.00#Laces or lacing sets for early math#60.10.24.00.00
-unspsc7#60.10.24.08.00#Linking manipulatives or linking activity sets for early math#60.10.24.00.00
-unspsc7#60.10.24.09.00#Math game chips or tokens#60.10.24.00.00
-unspsc7#60.10.24.10.00#Number cards#60.10.24.00.00
-unspsc7#60.10.24.11.00#Number forms models or accessories#60.10.24.00.00
-unspsc7#60.10.24.12.00#Pegboards for early math#60.10.24.00.00
-unspsc7#60.10.24.13.00#Pegs for early math#60.10.24.00.00
-unspsc7#60.10.24.14.00#Sorting manipulatives or sorting activity sets for early math#60.10.24.00.00
-unspsc7#60.10.25.00.00#Basic math operations and numeration resources and materials#60.10.00.00.00
-unspsc7#60.10.25.01.00#Addition activity or resource books#60.10.25.00.00
-unspsc7#60.10.25.02.00#Basic operations models#60.10.25.00.00
-unspsc7#60.10.25.03.00#Basic operations reference guides#60.10.25.00.00
-unspsc7#60.10.25.04.00#Division activity or resource books#60.10.25.00.00
-unspsc7#60.10.25.05.00#Multiplication activity or resource books#60.10.25.00.00
-unspsc7#60.10.25.06.00#Subtraction activity or resource books#60.10.25.00.00
-unspsc7#60.10.25.07.00#Number desk tapes#60.10.25.00.00
-unspsc7#60.10.25.08.00#Hundreds charts or boards#60.10.25.00.00
-unspsc7#60.10.25.09.00#Hundreds number tiles#60.10.25.00.00
-unspsc7#60.10.25.10.00#Number kits#60.10.25.00.00
-unspsc7#60.10.25.11.00#Number lines#60.10.25.00.00
-unspsc7#60.10.25.12.00#Numberation activity or resource books#60.10.25.00.00
-unspsc7#60.10.25.13.00#Dominoes#60.10.25.00.00
-unspsc7#60.10.26.00.00#Probability or chance or data or problem solving teacher resource materials#60.10.00.00.00
-unspsc7#60.10.26.01.00#Two sided counters or tokens#60.10.26.00.00
-unspsc7#60.10.26.02.00#Spinners#60.10.26.00.00
-unspsc7#60.10.26.03.00#Dice sets#60.10.26.00.00
-unspsc7#60.10.26.04.00#Probability activity or resource books#60.10.26.00.00
-unspsc7#60.10.26.05.00#Logic activity or resource books#60.10.26.00.00
-unspsc7#60.10.26.06.00#Attribute blocks#60.10.26.00.00
-unspsc7#60.10.26.07.00#Attribute blocks activity cards#60.10.26.00.00
-unspsc7#60.10.26.08.00#Attribute activity or resource books#60.10.26.00.00
-unspsc7#60.10.26.09.00#Graphing mat#60.10.26.00.00
-unspsc7#60.10.26.10.00#Graphing activity or resource books#60.10.26.00.00
-unspsc7#60.10.26.11.00#Logic games#60.10.26.00.00
-unspsc7#60.10.26.12.00#Attribute sets or kits#60.10.26.00.00
-unspsc7#60.10.26.13.00#Problem solving activity or resource books#60.10.26.00.00
-unspsc7#60.10.26.14.00#Problem solving activity cards#60.10.26.00.00
-unspsc7#60.10.27.00.00#Patterning or matching or spatial perception or logical thinking teacher resource materials#60.10.00.00.00
-unspsc7#60.10.27.01.00#Pattern blocks or parquetry blocks activity or resource books#60.10.27.00.00
-unspsc7#60.10.27.02.00#Pattern blocks#60.10.27.00.00
-unspsc7#60.10.27.03.00#Pattern block activity or pattern cards#60.10.27.00.00
-unspsc7#60.10.27.04.00#Pattern block games or activity sets#60.10.27.00.00
-unspsc7#60.10.27.05.00#Pattern block stickers#60.10.27.00.00
-unspsc7#60.10.27.06.00#Pattern blocks mirror#60.10.27.00.00
-unspsc7#60.10.27.07.00#Pattern blocks charts or posters#60.10.27.00.00
-unspsc7#60.10.27.08.00#Parquetry blocks#60.10.27.00.00
-unspsc7#60.10.27.09.00#Parquetry blocks activity or pattern cards#60.10.27.00.00
-unspsc7#60.10.27.10.00#Parquetry blocks activity sets#60.10.27.00.00
-unspsc7#60.10.27.11.00#Tangrams activity or resource books#60.10.27.00.00
-unspsc7#60.10.27.12.00#Tangram activity or pattern cards#60.10.27.00.00
-unspsc7#60.10.27.13.00#Tangram puzzle activity sets#60.10.27.00.00
-unspsc7#60.10.27.14.00#Tangrams puzzles#60.10.27.00.00
-unspsc7#60.10.27.15.00#Pentominoes activity and resource books#60.10.27.00.00
-unspsc7#60.10.27.16.00#Pentominoes activity or pattern cards#60.10.27.00.00
-unspsc7#60.10.27.17.00#Pentominoes#60.10.27.00.00
-unspsc7#60.10.27.18.00#Pentominoes activity sets#60.10.27.00.00
-unspsc7#60.10.28.00.00#Base ten and place value teacher resource materials#60.10.00.00.00
-unspsc7#60.10.28.01.00#Base ten blocks#60.10.28.00.00
-unspsc7#60.10.28.02.00#Base ten or place value activity or resource books#60.10.28.00.00
-unspsc7#60.10.28.03.00#Base ten or place value activity cards#60.10.28.00.00
-unspsc7#60.10.28.04.00#Base ten rubber stamps#60.10.28.00.00
-unspsc7#60.10.28.05.00#Place value grids#60.10.28.00.00
-unspsc7#60.10.28.06.00#Place value games or activity sets#60.10.28.00.00
-unspsc7#60.10.28.07.00#Place value models or accessories#60.10.28.00.00
-unspsc7#60.10.29.00.00#Money and time teacher resource materials#60.10.00.00.00
-unspsc7#60.10.29.01.00#Money activity or resource books#60.10.29.00.00
-unspsc7#60.10.29.02.00#Bulk bills for the classroom#60.10.29.00.00
-unspsc7#60.10.29.03.00#Bulk coins for the classroom#60.10.29.00.00
-unspsc7#60.10.29.04.00#Coin cubes or dice#60.10.29.00.00
-unspsc7#60.10.29.05.00#Magnetic money#60.10.29.00.00
-unspsc7#60.10.29.06.00#Overhead bills#60.10.29.00.00
-unspsc7#60.10.29.07.00#Overhead coins#60.10.29.00.00
-unspsc7#60.10.29.08.00#Money puzzles#60.10.29.00.00
-unspsc7#60.10.29.09.00#Money rubber stamps#60.10.29.00.00
-unspsc7#60.10.29.10.00#Coin bank#60.10.29.00.00
-unspsc7#60.10.29.11.00#Money games or kits#60.10.29.00.00
-unspsc7#60.10.29.12.00#Play cash registers#60.10.29.00.00
-unspsc7#60.10.29.13.00#Money reference guides#60.10.29.00.00
-unspsc7#60.10.29.14.00#Time activity or resource books#60.10.29.00.00
-unspsc7#60.10.29.15.00#Time rubber stamps#60.10.29.00.00
-unspsc7#60.10.29.16.00#Time kits#60.10.29.00.00
-unspsc7#60.10.29.17.00#Time reference guides#60.10.29.00.00
-unspsc7#60.10.30.00.00#Fractions and pentominoes and decimals teaching aids#60.10.00.00.00
-unspsc7#60.10.30.01.00#Fraction circles or squares#60.10.30.00.00
-unspsc7#60.10.30.02.00#Decimal squares#60.10.30.00.00
-unspsc7#60.10.30.03.00#Fraction activity books#60.10.30.00.00
-unspsc7#60.10.30.04.00#Fraction bars#60.10.30.00.00
-unspsc7#60.10.30.05.00#Fraction charts#60.10.30.00.00
-unspsc7#60.10.30.06.00#Fraction dice#60.10.30.00.00
-unspsc7#60.10.30.07.00#Fraction games#60.10.30.00.00
-unspsc7#60.10.30.08.00#Fraction kits#60.10.30.00.00
-unspsc7#60.10.30.09.00#Fraction tiles#60.10.30.00.00
-unspsc7#60.10.30.10.00#Fractions discs#60.10.30.00.00
-unspsc7#60.10.30.12.00#Pentominoes activity book#60.10.30.00.00
-unspsc7#60.10.30.13.00#Pentominoes pattern cards#60.10.30.00.00
-unspsc7#60.10.31.00.00#Geometry teacher resource materials#60.10.00.00.00
-unspsc7#60.10.31.01.00#Geometry activity or resource books#60.10.31.00.00
-unspsc7#60.10.31.02.00#Geometry charts or posters#60.10.31.00.00
-unspsc7#60.10.31.03.00#Geoboards#60.10.31.00.00
-unspsc7#60.10.31.04.00#Geometric construction sets#60.10.31.00.00
-unspsc7#60.10.31.05.00#Double sided geoboards#60.10.31.00.00
-unspsc7#60.10.31.06.00#Geoboard games or activity kits#60.10.31.00.00
-unspsc7#60.10.31.07.00#Geoboard rubber bands#60.10.31.00.00
-unspsc7#60.10.31.08.00#Geoboards activity cards#60.10.31.00.00
-unspsc7#60.10.31.09.00#Geometric chalkboard drawing instruments#60.10.31.00.00
-unspsc7#60.10.31.10.00#Geometry reference guides#60.10.31.00.00
-unspsc7#60.10.31.11.00#GeoMirror#60.10.31.00.00
-unspsc7#60.10.31.12.00#Geometric solids models#60.10.31.00.00
-unspsc7#60.10.32.00.00#Algebra teacher resource materials#60.10.00.00.00
-unspsc7#60.10.32.01.00#Algebra activity or resource books#60.10.32.00.00
-unspsc7#60.10.32.02.00#Centimeter cubes#60.10.32.00.00
-unspsc7#60.10.32.03.00#Algebra or pre algebra reference guides#60.10.32.00.00
-unspsc7#60.10.32.04.00#Algebra models or accessories#60.10.32.00.00
-unspsc7#60.10.33.00.00#Precalculus and calculus teacher resource materials#60.10.00.00.00
-unspsc7#60.10.33.01.00#Calculus activity or resources books#60.10.33.00.00
-unspsc7#60.10.33.02.00#Precalculus or calculus reference guides#60.10.33.00.00
-unspsc7#60.10.33.03.00#Precalculus activity or resource books#60.10.33.00.00
-unspsc7#60.10.34.00.00#Geography and map skills resources and accessories#60.10.00.00.00
-unspsc7#60.10.34.01.00#Goegraphy charts or posters#60.10.34.00.00
-unspsc7#60.10.34.02.00#Continents activity or resource books#60.10.34.00.00
-unspsc7#60.10.34.03.00#Electronic social studies learning aids#60.10.34.00.00
-unspsc7#60.10.34.04.00#Geography reference guides#60.10.34.00.00
-unspsc7#60.10.34.05.00#Map racks#60.10.34.00.00
-unspsc7#60.10.34.06.00#Map stencil kits#60.10.34.00.00
-unspsc7#60.10.34.07.00#Portable wall maps#60.10.34.00.00
-unspsc7#60.10.34.08.00#Geography resource or activity books#60.10.34.00.00
-unspsc7#60.10.35.00.00#Political science#60.10.00.00.00
-unspsc7#60.10.35.01.00#Economics activity or resource books#60.10.35.00.00
-unspsc7#60.10.35.02.00#Government activity or resource books#60.10.35.00.00
-unspsc7#60.10.35.03.00#Government reference guides#60.10.35.00.00
-unspsc7#60.10.35.04.00#State theme units#60.10.35.00.00
-unspsc7#60.10.36.00.00#Multicultural activities and resources#60.10.00.00.00
-unspsc7#60.10.36.01.00#Ancient civilizations resources#60.10.36.00.00
-unspsc7#60.10.36.02.00#Customs or rituals or traditions resources#60.10.36.00.00
-unspsc7#60.10.36.03.00#Ethnic diversity resources#60.10.36.00.00
-unspsc7#60.10.36.04.00#Genealogy resources#60.10.36.00.00
-unspsc7#60.10.36.05.00#Multicultural holidays resources#60.10.36.00.00
-unspsc7#60.10.36.06.00#Multicultural theme units#60.10.36.00.00
-unspsc7#60.10.37.00.00#Foreign languages resources#60.10.00.00.00
-unspsc7#60.10.37.01.00#Resources for Learning to speak spanish#60.10.37.00.00
-unspsc7#60.10.37.02.00#Resources for Learning to speak french#60.10.37.00.00
-unspsc7#60.10.37.03.00#Resources for Learning to speak german#60.10.37.00.00
-unspsc7#60.10.37.04.00#Resources for Learning to speak english#60.10.37.00.00
-unspsc7#60.10.37.05.00#Resources for Learning to speak latin#60.10.37.00.00
-unspsc7#60.10.37.06.00#Resources for Learning to speak italian#60.10.37.00.00
-unspsc7#60.10.38.00.00#History teaching resources#60.10.00.00.00
-unspsc7#60.10.38.01.00#African history resource books#60.10.38.00.00
-unspsc7#60.10.38.02.00#History charts or posters#60.10.38.00.00
-unspsc7#60.10.38.03.00#European history resource books#60.10.38.00.00
-unspsc7#60.10.38.04.00#Historical maps#60.10.38.00.00
-unspsc7#60.10.38.05.00#History theme units#60.10.38.00.00
-unspsc7#60.10.38.06.00#History photo cards#60.10.38.00.00
-unspsc7#60.10.38.07.00#History resource books#60.10.38.00.00
-unspsc7#60.10.38.08.00#Womans history resources#60.10.38.00.00
-unspsc7#60.10.38.09.00#World history resources#60.10.38.00.00
-unspsc7#60.10.39.00.00#Living organisms and preserved specimens and related materials#60.10.00.00.00
-unspsc7#60.10.39.01.00#Live amphibia#60.10.39.00.00
-unspsc7#60.10.39.02.00#Preserved amphibia#60.10.39.00.00
-unspsc7#60.10.39.03.00#Amphibia models#60.10.39.00.00
-unspsc7#60.10.39.04.00#Fungi cultures#60.10.39.00.00
-unspsc7#60.10.39.05.00#Culture kits or supplies#60.10.39.00.00
-unspsc7#60.10.39.06.00#Protozoan cultures#60.10.39.00.00
-unspsc7#60.10.39.07.00#Aquaria plants#60.10.39.00.00
-unspsc7#60.10.39.08.00#Terrarium plants#60.10.39.00.00
-unspsc7#60.10.39.09.00#Live invertebrates#60.10.39.00.00
-unspsc7#60.10.39.10.00#Preserved invertebrates#60.10.39.00.00
-unspsc7#60.10.39.11.00#Live vertebrates#60.10.39.00.00
-unspsc7#60.10.39.12.00#Preserved vertebrates#60.10.39.00.00
-unspsc7#60.10.39.13.00#Live reptilia#60.10.39.00.00
-unspsc7#60.10.39.14.00#Preserved reptilla#60.10.39.00.00
-unspsc7#60.10.39.15.00#Dissection kits or supplies#60.10.39.00.00
-unspsc7#60.10.39.18.00#Biospheres#60.10.39.00.00
-unspsc7#60.10.39.19.00#Biology experiment kits or supplies#60.10.39.00.00
-unspsc7#60.10.39.20.00#Staining kits or supplies#60.10.39.00.00
-unspsc7#60.10.39.21.00#Preserved life cycle specimens#60.10.39.00.00
-unspsc7#60.10.39.22.00#Biology reference guides#60.10.39.00.00
-unspsc7#60.10.39.23.00#Skeleton or bone or shell specimen#60.10.39.00.00
-unspsc7#60.10.39.24.00#Biology resource or activity books#60.10.39.00.00
-unspsc7#60.10.39.25.00#Biology study or activity kits#60.10.39.00.00
-unspsc7#60.10.39.26.00#Biology charts or posters#60.10.39.00.00
-unspsc7#60.10.39.27.00#Preserved plant body or organ specimens#60.10.39.00.00
-unspsc7#60.10.39.28.00#Biology activity or photo cards#60.10.39.00.00
-unspsc7#60.10.39.29.00#Plant life cycle specimens#60.10.39.00.00
-unspsc7#60.10.39.30.00#Combination organism specimens#60.10.39.00.00
-unspsc7#60.10.39.31.00#Animal body or body part or organ specimens#60.10.39.00.00
-unspsc7#60.10.39.32.00#Ecosystem displays#60.10.39.00.00
-unspsc7#60.10.39.33.00#Human body or body part or organ specimens#60.10.39.00.00
-unspsc7#60.10.39.34.00#Tissue cultures#60.10.39.00.00
-unspsc7#60.10.40.00.00#Biotechnology and bio chemistry and genetics and microbiology and related materials#60.10.00.00.00
-unspsc7#60.10.40.01.00#Deoxyribonucleic acid DNA models#60.10.40.00.00
-unspsc7#60.10.40.02.00#Deoxyribonucleic acid DNA experiment kits#60.10.40.00.00
-unspsc7#60.10.40.03.00#Genetic books#60.10.40.00.00
-unspsc7#60.10.40.04.00#Genetic kits#60.10.40.00.00
-unspsc7#60.10.40.05.00#Bacteria teaching kits#60.10.40.00.00
-unspsc7#60.10.40.06.00#Bacteria testing supplies#60.10.40.00.00
-unspsc7#60.10.40.07.00#Enzymology kits or supplies#60.10.40.00.00
-unspsc7#60.10.40.08.00#Protein testing kits or supplies#60.10.40.00.00
-unspsc7#60.10.41.00.00#Body systems and related materials#60.10.00.00.00
-unspsc7#60.10.41.01.00#Body models#60.10.41.00.00
-unspsc7#60.10.41.02.00#Cell models#60.10.41.00.00
-unspsc7#60.10.41.03.00#Cell teaching kits#60.10.41.00.00
-unspsc7#60.10.41.04.00#Body systems teaching kits#60.10.41.00.00
-unspsc7#60.10.41.05.00#Body systems teaching aids#60.10.41.00.00
-unspsc7#60.10.42.00.00#Water testing and conservation and ecology#60.10.00.00.00
-unspsc7#60.10.42.01.00#Water testing chemicals#60.10.42.00.00
-unspsc7#60.10.42.02.00#Water testing and sampling kits#60.10.42.00.00
-unspsc7#60.10.42.03.00#Water models#60.10.42.00.00
-unspsc7#60.10.42.04.00#Water ecology supplies#60.10.42.00.00
-unspsc7#60.10.43.00.00#Astronomy#60.10.00.00.00
-unspsc7#60.10.43.01.00#Astronomy models#60.10.43.00.00
-unspsc7#60.10.43.02.00#Astronomy charts#60.10.43.00.00
-unspsc7#60.10.43.03.00#Astronomy study kits#60.10.43.00.00
-unspsc7#60.10.44.00.00#Geology and earth science#60.10.00.00.00
-unspsc7#60.10.44.01.00#Rock specimen sets#60.10.44.00.00
-unspsc7#60.10.44.02.00#Rock specimens#60.10.44.00.00
-unspsc7#60.10.44.03.00#Fossils#60.10.44.00.00
-unspsc7#60.10.44.04.00#Landform models#60.10.44.00.00
-unspsc7#60.10.44.05.00#Fossil models#60.10.44.00.00
-unspsc7#60.10.44.06.00#Geology tools or field#60.10.44.00.00
-unspsc7#60.10.44.07.00#Stream tables#60.10.44.00.00
-unspsc7#60.10.44.08.00#Geology study kits#60.10.44.00.00
-unspsc7#60.10.45.00.00#Chemistry and electrochemistry and microchemistry#60.10.00.00.00
-unspsc7#60.10.45.01.00#Periodic table posters or boards#60.10.45.00.00
-unspsc7#60.10.45.02.00#Consumer analysis kits#60.10.45.00.00
-unspsc7#60.10.45.03.00#Chemistry class kits#60.10.45.00.00
-unspsc7#60.10.45.04.00#Chemistry demonstration kits#60.10.45.00.00
-unspsc7#60.10.45.05.00#Atomic models#60.10.45.00.00
-unspsc7#60.10.45.06.00#Molecular models#60.10.45.00.00
-unspsc7#60.10.45.07.00#Electrochemical demonstration tools#60.10.45.00.00
-unspsc7#60.10.45.08.00#Electrochemical kits#60.10.45.00.00
-unspsc7#60.10.45.09.00#Fuel cells#60.10.45.00.00
-unspsc7#60.10.45.10.00#Microchemistry kits#60.10.45.00.00
-unspsc7#60.10.45.11.00#Microchemistry tools#60.10.45.00.00
-unspsc7#60.10.46.00.00#Mechanical physics materials#60.10.00.00.00
-unspsc7#60.10.46.01.00#Force tables#60.10.46.00.00
-unspsc7#60.10.46.02.00#Gravity models or model sets#60.10.46.00.00
-unspsc7#60.10.46.04.00#Inclined planes#60.10.46.00.00
-unspsc7#60.10.46.05.00#Friction apparatus#60.10.46.00.00
-unspsc7#60.10.46.06.00#Physic cars#60.10.46.00.00
-unspsc7#60.10.46.07.00#Pendulum apparatus#60.10.46.00.00
-unspsc7#60.10.46.08.00#Torque apparatus#60.10.46.00.00
-unspsc7#60.10.46.09.00#Projectile apparatus#60.10.46.00.00
-unspsc7#60.10.46.10.00#Air tables#60.10.46.00.00
-unspsc7#60.10.46.11.00#Air apparatus#60.10.46.00.00
-unspsc7#60.10.46.12.00#Light or photo apparatus#60.10.46.00.00
-unspsc7#60.10.47.00.00#Energy and power physics materials#60.10.00.00.00
-unspsc7#60.10.47.01.00#Solar collecting devices#60.10.47.00.00
-unspsc7#60.10.47.02.00#Solar kits#60.10.47.00.00
-unspsc7#60.10.47.03.00#Energy demonstration kits#60.10.47.00.00
-unspsc7#60.10.47.04.00#Energy class kits#60.10.47.00.00
-unspsc7#60.10.47.05.00#Matter demonstration kits#60.10.47.00.00
-unspsc7#60.10.47.06.00#Matter class kits#60.10.47.00.00
-unspsc7#60.10.47.07.00#Monometers#60.10.47.00.00
-unspsc7#60.10.47.08.00#Gas diffusion apparatus#60.10.47.00.00
-unspsc7#60.10.48.00.00#Wave and sound physics materials#60.10.00.00.00
-unspsc7#60.10.48.01.00#Wave generators#60.10.48.00.00
-unspsc7#60.10.48.02.00#Wave tanks#60.10.48.00.00
-unspsc7#60.10.48.03.00#Wave springs#60.10.48.00.00
-unspsc7#60.10.48.04.00#Wave demonstration sets#60.10.48.00.00
-unspsc7#60.10.48.05.00#Tuning forks#60.10.48.00.00
-unspsc7#60.10.48.06.00#Doppler demonstrators#60.10.48.00.00
-unspsc7#60.10.48.07.00#Resonance apparatus#60.10.48.00.00
-unspsc7#60.10.48.08.00#Sound meters#60.10.48.00.00
-unspsc7#60.10.48.09.00#Wave apparatus#60.10.48.00.00
-unspsc7#60.10.48.10.00#Spectroscopes#60.10.48.00.00
-unspsc7#60.10.48.11.00#Spectrum charts#60.10.48.00.00
-unspsc7#60.10.48.12.00#Light demonstration kits#60.10.48.00.00
-unspsc7#60.10.48.13.00#Color charts or samples#60.10.48.00.00
-unspsc7#60.10.48.14.00#Radiometer#60.10.48.00.00
-unspsc7#60.10.48.15.00#Reflection or refraction apparatus#60.10.48.00.00
-unspsc7#60.10.48.16.00#Optics sets or kits#60.10.48.00.00
-unspsc7#60.10.49.00.00#Electrical physics materials#60.10.00.00.00
-unspsc7#60.10.49.01.00#Van degraff generators#60.10.49.00.00
-unspsc7#60.10.49.02.00#Electrostatic apparatus#60.10.49.00.00
-unspsc7#60.10.49.03.00#Electrostatic kits#60.10.49.00.00
-unspsc7#60.10.49.04.00#Electricity kits#60.10.49.00.00
-unspsc7#60.10.49.05.00#Electricity demonstration boards#60.10.49.00.00
-unspsc7#60.10.49.06.00#Battery kits#60.10.49.00.00
-unspsc7#60.10.49.07.00#Hand held generators#60.10.49.00.00
-unspsc7#60.10.49.08.00#Electromagnetic apparatus#60.10.49.00.00
-unspsc7#60.10.49.09.00#Magnetism apparatus#60.10.49.00.00
-unspsc7#60.10.49.10.00#Electromagnets#60.10.49.00.00
-unspsc7#60.10.49.11.00#Electric bells#60.10.49.00.00
-unspsc7#60.10.49.12.00#Electric lead wires or cables#60.10.49.00.00
-unspsc7#60.10.50.00.00#Nuclear physics materials#60.10.00.00.00
-unspsc7#60.10.50.01.00#Radioactivity sets#60.10.50.00.00
-unspsc7#60.10.50.02.00#Geiger counters#60.10.50.00.00
-unspsc7#60.10.50.03.00#Electron apparatus#60.10.50.00.00
-unspsc7#60.10.50.04.00#Radiation warning signs#60.10.50.00.00
-unspsc7#60.10.50.05.00#Nuclear physics transparencies#60.10.50.00.00
-unspsc7#60.10.50.06.00#Nuclear physics charts#60.10.50.00.00
-unspsc7#60.10.51.00.00#Rocketry and flight materials and supplies#60.10.00.00.00
-unspsc7#60.10.51.01.00#Rocket sets#60.10.51.00.00
-unspsc7#60.10.51.02.00#Launching apparatus#60.10.51.00.00
-unspsc7#60.10.51.03.00#Altitude measuring devices#60.10.51.00.00
-unspsc7#60.10.51.04.00#Airplane kits#60.10.51.00.00
-unspsc7#60.10.52.00.00#Life skills resources instructional materials#60.10.00.00.00
-unspsc7#60.10.52.01.00#Building listening skills instructional materials#60.10.52.00.00
-unspsc7#60.10.52.02.00#Study skills instructional materials#60.10.52.00.00
-unspsc7#60.10.52.03.00#Test preparation instructional materials#60.10.52.00.00
-unspsc7#60.10.53.00.00#Career education instructional materials#60.10.00.00.00
-unspsc7#60.10.53.01.00#Career education or planning or decision making skills instructional materials#60.10.53.00.00
-unspsc7#60.10.53.02.00#Basic job skills instructional materials#60.10.53.00.00
-unspsc7#60.10.53.03.00#Job search skills instructional materials#60.10.53.00.00
-unspsc7#60.10.53.04.00#Time management skills instructional materials#60.10.53.00.00
-unspsc7#60.10.53.05.00#Interview skills instructional materials#60.10.53.00.00
-unspsc7#60.10.53.06.00#Resume skills instructional materials#60.10.53.00.00
-unspsc7#60.10.53.07.00#Work ethics or attitude training instructional materials#60.10.53.00.00
-unspsc7#60.10.53.08.00#Team building skills instructional materials#60.10.53.00.00
-unspsc7#60.10.53.09.00#Business etiquette instructional materials#60.10.53.00.00
-unspsc7#60.10.54.00.00#Consumer economics and money management and independent living instructional materials#60.10.00.00.00
-unspsc7#60.10.54.01.00#Personal finance or money management education instructional materials#60.10.54.00.00
-unspsc7#60.10.54.02.00#Shopping or consumer skills instructional materials#60.10.54.00.00
-unspsc7#60.10.54.03.00#Independent living instructional materials#60.10.54.00.00
-unspsc7#60.10.54.04.00#Understanding consumer credit or loans instructional materials#60.10.54.00.00
-unspsc7#60.10.54.05.00#Insurance coverage or insurance comparison instructional materials#60.10.54.00.00
-unspsc7#60.10.54.06.00#Home buying instructional materials#60.10.54.00.00
-unspsc7#60.10.54.07.00#Apartment rental instructional materials#60.10.54.00.00
-unspsc7#60.10.54.08.00#Car buying educational aids#60.10.54.00.00
-unspsc7#60.10.54.09.00#Brand marketing or advertising instructional materials#60.10.54.00.00
-unspsc7#60.10.54.10.00#Relationship building or family life skills instructional materials#60.10.54.00.00
-unspsc7#60.10.54.11.00#Developing self concept and self esteem instuctional materials#60.10.54.00.00
-unspsc7#60.10.54.12.00#Violence avoidance education or violence prevention instructional materials#60.10.54.00.00
-unspsc7#60.10.54.13.00#Anger resolution training instructional materials#60.10.54.00.00
-unspsc7#60.10.54.14.00#Teaching patience skills instructional materials#60.10.54.00.00
-unspsc7#60.10.54.15.00#Tolerance training instructional materials#60.10.54.00.00
-unspsc7#60.10.54.16.00#Personal safety instructional materials#60.10.54.00.00
-unspsc7#60.10.54.17.00#Personal conflict resolution instructional materials#60.10.54.00.00
-unspsc7#60.10.54.18.00#Practical teen advice guides#60.10.54.00.00
-unspsc7#60.10.54.19.00#Developing social skills instructional materials#60.10.54.00.00
-unspsc7#60.10.54.20.00#Manners or etiquette or courtesy instructional aids#60.10.54.00.00
-unspsc7#60.10.54.21.00#Understanding or dealing with cultural diversity instructional materials#60.10.54.00.00
-unspsc7#60.10.54.22.00#How to read body language instructional materials#60.10.54.00.00
-unspsc7#60.10.54.23.00#Developing resiliency instructional materials#60.10.54.00.00
-unspsc7#60.10.54.24.00#Understanding community service instructional materials#60.10.54.00.00
-unspsc7#60.10.54.25.00#Developing refusal skills instructional materials#60.10.54.00.00
-unspsc7#60.10.54.26.00#Responsibility or Ddecision making skills instructional materials#60.10.54.00.00
-unspsc7#60.10.54.27.00#Understanding teens legal rights instructional materials#60.10.54.00.00
-unspsc7#60.10.54.28.00#Repercussions of dropping out of school instructional materials#60.10.54.00.00
-unspsc7#60.10.54.29.00#Race relations videos#60.10.54.00.00
-unspsc7#60.10.55.00.00#Home and interior design instructional materials#60.10.00.00.00
-unspsc7#60.10.55.01.00#Feng shui instructional materials#60.10.55.00.00
-unspsc7#60.10.55.02.00#Instructional materials for using color or paint for home decoration#60.10.55.00.00
-unspsc7#60.10.55.03.00#Instructional materials for home planning or design#60.10.55.00.00
-unspsc7#60.10.55.04.00#Landscaping design instructional materials#60.10.55.00.00
-unspsc7#60.10.55.05.00#Instructional materials for home decorating or furnishing#60.10.55.00.00
-unspsc7#60.10.56.00.00#Health education and nutrition and food preparation instructional materials#60.10.00.00.00
-unspsc7#60.10.56.01.00#Dietary guidelines or balanced diets educational resources#60.10.56.00.00
-unspsc7#60.10.56.02.00#Nutritional curriculum menu planning skills instructional materials#60.10.56.00.00
-unspsc7#60.10.56.03.00#Understanding nutrition labeling instructional materials#60.10.56.00.00
-unspsc7#60.10.56.04.00#Food shopping instructional materials#60.10.56.00.00
-unspsc7#60.10.56.05.00#Healthy food choices demonstration units#60.10.56.00.00
-unspsc7#60.10.56.06.00#Understanding the effects of dietary fat instructional materials#60.10.56.00.00
-unspsc7#60.10.56.07.00#Understanding vegetarianism instructional materials#60.10.56.00.00
-unspsc7#60.10.56.08.00#Recipe books or cook books#60.10.56.00.00
-unspsc7#60.10.56.09.00#Eating disorders education instructional materials#60.10.56.00.00
-unspsc7#60.10.56.10.00#Weight control or exercise instructional materials#60.10.56.00.00
-unspsc7#60.10.56.11.00#Kitchen measurements of solids or liquids instructional aids#60.10.56.00.00
-unspsc7#60.10.56.12.00#Kitchen equivalants or kitchen math instructional aids#60.10.56.00.00
-unspsc7#60.10.56.13.00#Kitchen utensils instructional aids#60.10.56.00.00
-unspsc7#60.10.56.14.00#Kitchen safety or sanitation instructional materials#60.10.56.00.00
-unspsc7#60.10.56.15.00#Food safety instructional materials#60.10.56.00.00
-unspsc7#60.10.56.16.00#Food science activities instructional materials#60.10.56.00.00
-unspsc7#60.10.56.17.00#Cooking skills instruction instructional materials#60.10.56.00.00
-unspsc7#60.10.56.18.00#Table manners or eating etiquette instructional materials#60.10.56.00.00
-unspsc7#60.10.56.19.00#Table setting instructional materials#60.10.56.00.00
-unspsc7#60.10.56.20.00#Food service training instructional materials#60.10.56.00.00
-unspsc7#60.10.56.21.00#Drug or tobacco or alcohol abuse education instructional materials#60.10.56.00.00
-unspsc7#60.10.56.22.00#Smoking Simulators#60.10.56.00.00
-unspsc7#60.10.56.23.00#Understanding addiction or addiction avoidance instructional materials#60.10.56.00.00
-unspsc7#60.10.56.24.00#Teen depression symptoms instructional materials#60.10.56.00.00
-unspsc7#60.10.56.25.00#Teen suicide avoidance training instructional materials#60.10.56.00.00
-unspsc7#60.10.56.26.00#Coping with stress instructional materials#60.10.56.00.00
-unspsc7#60.10.57.00.00#Memory books and supplies#60.10.00.00.00
-unspsc7#60.10.57.01.00#Memory books#60.10.57.00.00
-unspsc7#60.10.57.02.00#Memory book posts or extenders#60.10.57.00.00
-unspsc7#60.10.57.03.00#Memory book paper#60.10.57.00.00
-unspsc7#60.10.57.04.00#Acid free memory book glue sticks#60.10.57.00.00
-unspsc7#60.10.57.05.00#Acid free memory book tape#60.10.57.00.00
-unspsc7#60.10.58.00.00#Clothing and textile design instructional materials#60.10.00.00.00
-unspsc7#60.10.58.01.00#Sewing skills instructional materials#60.10.58.00.00
-unspsc7#60.10.58.02.00#Sewing project materials#60.10.58.00.00
-unspsc7#60.10.58.03.00#Understanding clothing construction or workmanship instructional materials#60.10.58.00.00
-unspsc7#60.10.58.04.00#Clothing design or fashion instructional materials#60.10.58.00.00
-unspsc7#60.10.58.05.00#Personal color analysis instructional materials#60.10.58.00.00
-unspsc7#60.10.58.06.00#Fashion merchandising or retail fundamentals instructional materials#60.10.58.00.00
-unspsc7#60.10.58.07.00#Science of fabrics or fibers instructional materials#60.10.58.00.00
-unspsc7#60.10.58.08.00#Clothing care or maintenance or laundering instructional materials#60.10.58.00.00
-unspsc7#60.10.58.09.00#Materials for teaching the art of design color on fabric#60.10.58.00.00
-unspsc7#60.10.58.10.00#Fabric dyes or paints instructional materials#60.10.58.00.00
-unspsc7#60.10.58.11.00#Quilting projects instructional materials#60.10.58.00.00
-unspsc7#60.10.59.00.00#Dating and sex and teen pregnancy and parenting skills and child development instructional materials#60.10.00.00.00
-unspsc7#60.10.59.01.00#Sex education or sexually transmitted disease instructional materials#60.10.59.00.00
-unspsc7#60.10.59.02.00#Prenatal nutrition resources or fetal abuse instructional materials#60.10.59.00.00
-unspsc7#60.10.59.03.00#Parenting skills instructional materials#60.10.59.00.00
-unspsc7#60.10.59.04.00#Child development instructional materials#60.10.59.00.00
-unspsc7#60.10.59.05.00#Understanding date rape or dating skills or harassment instructional materials#60.10.59.00.00
-unspsc7#60.10.59.06.00#Childbirth education instructional materials#60.10.59.00.00
-unspsc7#60.10.59.07.00#Pregnancy from conception through birth instructional materials#60.10.59.00.00
-unspsc7#60.10.59.08.00#Understanding the risks of birth defects instructional materials#60.10.59.00.00
-unspsc7#60.10.59.09.00#Pregnancy simulators#60.10.59.00.00
-unspsc7#60.10.59.10.00#Infant simulators and accessories#60.10.59.00.00
-unspsc7#60.10.59.11.00#Infant care training instructional materials#60.10.59.00.00
-unspsc7#60.10.59.12.00#Understanding physical or emotional child abuse instructional materials#60.10.59.00.00
-unspsc7#60.10.59.13.00#Discipline skill education instructional materials for parents#60.10.59.00.00
-unspsc7#60.10.59.14.00#Home safety or childproofing instructional materials#60.10.59.00.00
-unspsc7#60.10.59.15.00#Cardio pulmonary resusitation or basic life support instructional materials#60.10.59.00.00
-unspsc7#60.10.59.16.00#Understanding childhood illnesses instructional materials#60.10.59.00.00
-unspsc7#60.10.59.17.00#Understanding attention deficit hyperactivity disorder instructional materials#60.10.59.00.00
-unspsc7#60.10.59.18.00#Child caregiver instructional materials#60.10.59.00.00
-unspsc7#60.10.59.19.00#Babysitting instructional materials#60.10.59.00.00
-unspsc7#60.10.60.00.00#Curriculum guides and projects and activities and lessons#60.10.00.00.00
-unspsc7#60.10.60.01.00#Middle school curriculum resource or idea books#60.10.60.00.00
-unspsc7#60.10.60.02.00#High School curriculum resource or idea books#60.10.60.00.00
-unspsc7#60.10.60.03.00#Home economics independent study projects#60.10.60.00.00
-unspsc7#60.10.60.04.00#Home economics projects or activities resources or guides#60.10.60.00.00
-unspsc7#60.10.61.00.00#Vocational teaching aids and materials#60.10.00.00.00
-unspsc7#60.10.61.01.00#Automotive teaching aids or materials#60.10.61.00.00
-unspsc7#60.10.61.02.00#Construction teaching aids or materials#60.10.61.00.00
-unspsc7#60.10.61.03.00#Drafting or design teaching aids or materials#60.10.61.00.00
-unspsc7#60.10.61.04.00#Electronics or electricity teaching aids or materials#60.10.61.00.00
-unspsc7#60.10.61.05.00#Graphic arts or photography teaching aids or materials#60.10.61.00.00
-unspsc7#60.10.61.06.00#Horticulture teaching aids or materials#60.10.61.00.00
-unspsc7#60.10.61.07.00#Manufacturing teaching aids or materials#60.10.61.00.00
-unspsc7#60.10.62.00.00#Technology teaching aids and materials#60.10.00.00.00
-unspsc7#60.10.62.01.00#Agriculture teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.02.00#Biotechnology teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.03.00#Communications teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.04.00#Computer science teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.05.00#Energy or power teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.06.00#Environmental teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.07.00#Materials teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.08.00#Medical teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.62.09.00#Transportation teaching aids or materials#60.10.62.00.00
-unspsc7#60.10.63.00.00#Forensic science teaching equipment and supplies#60.10.00.00.00
-unspsc7#60.10.63.01.00#Forensic science kits#60.10.63.00.00
-unspsc7#60.10.64.00.00#Electronics teaching supplies and equipment#60.10.00.00.00
-unspsc7#60.10.64.01.00#Electronics kits#60.10.64.00.00
-unspsc7#60.10.64.02.00#Electronics teaching supplies#60.10.64.00.00
-unspsc7#60.10.64.03.00#Forensic science teaching supplies#60.10.64.00.00
-unspsc7#60.11.00.00.00#Classroom decoratives and supplies#60.00.00.00.00
-unspsc7#60.11.10.00.00#Classroom Charts or classroom posters#60.11.00.00.00
-unspsc7#60.11.10.01.00#Chart packs#60.11.10.00.00
-unspsc7#60.11.10.02.00#Classroom charts#60.11.10.00.00
-unspsc7#60.11.10.03.00#Classroom posters or sets#60.11.10.00.00
-unspsc7#60.11.10.04.00#Do it yourself posters#60.11.10.00.00
-unspsc7#60.11.11.00.00#Bulletin board sets#60.11.00.00.00
-unspsc7#60.11.11.01.00#Big bulletin board sets#60.11.11.00.00
-unspsc7#60.11.11.02.00#Calendar bulleting board sets#60.11.11.00.00
-unspsc7#60.11.11.03.00#Early childhood bulletin board sets#60.11.11.00.00
-unspsc7#60.11.11.04.00#Language bulletin board sets#60.11.11.00.00
-unspsc7#60.11.11.05.00#Math bulletin board sets#60.11.11.00.00
-unspsc7#60.11.11.06.00#Multipurpose bulletin board sets#60.11.11.00.00
-unspsc7#60.11.11.07.00#Science bulletin board sets#60.11.11.00.00
-unspsc7#60.11.11.08.00#Seasonal bulletin board sets#60.11.11.00.00
-unspsc7#60.11.11.09.00#Social studies bulletin board sets#60.11.11.00.00
-unspsc7#60.11.12.00.00#Bulletin board borders and trimmers#60.11.00.00.00
-unspsc7#60.11.12.01.00#Classroom banners#60.11.12.00.00
-unspsc7#60.11.12.02.00#Border packs#60.11.12.00.00
-unspsc7#60.11.12.03.00#Classroom headers#60.11.12.00.00
-unspsc7#60.11.12.04.00#Corriguated borders or trimmers#60.11.12.00.00
-unspsc7#60.11.12.05.00#Die cut shaped scalloped borders or trimmers#60.11.12.00.00
-unspsc7#60.11.12.06.00#Sparkle borders or trimmers#60.11.12.00.00
-unspsc7#60.11.12.07.00#Straight borders or trimmers#60.11.12.00.00
-unspsc7#60.11.12.08.00#Border or Trimmer storage#60.11.12.00.00
-unspsc7#60.11.13.00.00#Decorative letters and numbers#60.11.00.00.00
-unspsc7#60.11.13.01.00#Lettered or numbered blocks#60.11.13.00.00
-unspsc7#60.11.13.02.00#Casual letters or numbers#60.11.13.00.00
-unspsc7#60.11.13.03.00#Italic letters or numbers#60.11.13.00.00
-unspsc7#60.11.13.04.00#Self adhesive letters or numbers#60.11.13.00.00
-unspsc7#60.11.13.05.00#Sparkle letters or numbers#60.11.13.00.00
-unspsc7#60.11.13.06.00#Tracing letters or numbers#60.11.13.00.00
-unspsc7#60.11.14.00.00#Specialty decoratives for the classroom and decorative accessories#60.11.00.00.00
-unspsc7#60.11.14.01.00#Classroom decorative kits#60.11.14.00.00
-unspsc7#60.11.14.02.00#Door decorations#60.11.14.00.00
-unspsc7#60.11.14.03.00#Mobiles#60.11.14.00.00
-unspsc7#60.11.14.04.00#Two sided decorations#60.11.14.00.00
-unspsc7#60.11.14.05.00#Window cling decorations#60.11.14.00.00
-unspsc7#60.11.14.07.00#Decorative Storage Systems#60.11.14.00.00
-unspsc7#60.11.14.08.00#Decorative tapes or twists#60.11.14.00.00
-unspsc7#60.11.14.09.00#Decorative buttons#60.11.14.00.00
-unspsc7#60.11.14.10.00#Decorative shapes or strings#60.11.14.00.00
-unspsc7#60.12.00.00.00#Arts and crafts equipment and accessories and supplies#60.00.00.00.00
-unspsc7#60.12.10.00.00#Art#60.12.00.00.00
-unspsc7#60.12.10.01.00#Paintings#60.12.10.00.00
-unspsc7#60.12.10.02.00#Sculptures#60.12.10.00.00
-unspsc7#60.12.10.03.00#Statuary#60.12.10.00.00
-unspsc7#60.12.10.04.00#Portraits#60.12.10.00.00
-unspsc7#60.12.10.05.00#Drawings#60.12.10.00.00
-unspsc7#60.12.10.06.00#Pictures#60.12.10.00.00
-unspsc7#60.12.10.07.00#Lithographs#60.12.10.00.00
-unspsc7#60.12.10.08.00#Posters#60.12.10.00.00
-unspsc7#60.12.10.09.00#Decorative pot#60.12.10.00.00
-unspsc7#60.12.10.10.00#Scrolls#60.12.10.00.00
-unspsc7#60.12.10.11.00#Photographs#60.12.10.00.00
-unspsc7#60.12.11.00.00#Canvases and films and boards and artists papers#60.12.00.00.00
-unspsc7#60.12.11.01.00#Sulphite drawing paper#60.12.11.00.00
-unspsc7#60.12.11.02.00#Groundwood drawing paper#60.12.11.00.00
-unspsc7#60.12.11.03.00#Tracing or vellum drawing paper#60.12.11.00.00
-unspsc7#60.12.11.04.00#Bond drawing paper#60.12.11.00.00
-unspsc7#60.12.11.05.00#Charcoal or pastel drawing paper#60.12.11.00.00
-unspsc7#60.12.11.06.00#Bristol drawing paper#60.12.11.00.00
-unspsc7#60.12.11.07.00#Watercolor paper sheets#60.12.11.00.00
-unspsc7#60.12.11.08.00#Watercolor paper pads#60.12.11.00.00
-unspsc7#60.12.11.09.00#Watercolor paper blocks#60.12.11.00.00
-unspsc7#60.12.11.10.00#Finger paint paper#60.12.11.00.00
-unspsc7#60.12.11.11.00#Sulphite construction paper#60.12.11.00.00
-unspsc7#60.12.11.12.00#Groundwood construction paper#60.12.11.00.00
-unspsc7#60.12.11.13.00#Foil construction paper#60.12.11.00.00
-unspsc7#60.12.11.14.00#Origami craft papers#60.12.11.00.00
-unspsc7#60.12.11.15.00#Paper or plastic Confetti#60.12.11.00.00
-unspsc7#60.12.11.16.00#Crepe paper for crafts#60.12.11.00.00
-unspsc7#60.12.11.17.00#Craft tissue paper#60.12.11.00.00
-unspsc7#60.12.11.18.00#Corrugated craft paper#60.12.11.00.00
-unspsc7#60.12.11.19.00#Pattern printed craft paper#60.12.11.00.00
-unspsc7#60.12.11.20.00#Self adhesive craft paper#60.12.11.00.00
-unspsc7#60.12.11.21.00#Glow in the dark paper#60.12.11.00.00
-unspsc7#60.12.11.23.00#Hand made paper#60.12.11.00.00
-unspsc7#60.12.11.24.00#Kraft paper#60.12.11.00.00
-unspsc7#60.12.11.25.00#Canvas panels#60.12.11.00.00
-unspsc7#60.12.11.26.00#Prestretched canvas#60.12.11.00.00
-unspsc7#60.12.11.27.00#Primed canvas#60.12.11.00.00
-unspsc7#60.12.11.28.00#Unprimed canvas#60.12.11.00.00
-unspsc7#60.12.11.29.00#Masonite panels#60.12.11.00.00
-unspsc7#60.12.11.30.00#Canvas like paper pads#60.12.11.00.00
-unspsc7#60.12.11.31.00#Japanese printmaking paper#60.12.11.00.00
-unspsc7#60.12.11.32.00#Lithography or intaglio printmaking paper#60.12.11.00.00
-unspsc7#60.12.11.33.00#Blockprinting printmaking paper#60.12.11.00.00
-unspsc7#60.12.11.34.00#Foil paper#60.12.11.00.00
-unspsc7#60.12.11.35.00#Acetate or vinyl or polyester films#60.12.11.00.00
-unspsc7#60.12.11.36.00#Cellophane films#60.12.11.00.00
-unspsc7#60.12.11.37.00#Acrylic sheets#60.12.11.00.00
-unspsc7#60.12.11.38.00#Illustration boards#60.12.11.00.00
-unspsc7#60.12.11.39.00#Mat boards#60.12.11.00.00
-unspsc7#60.12.11.40.00#Mounting board#60.12.11.00.00
-unspsc7#60.12.11.41.00#Foam core mounting board#60.12.11.00.00
-unspsc7#60.12.11.42.00#Tagboard or railroad board#60.12.11.00.00
-unspsc7#60.12.11.43.00#Display board#60.12.11.00.00
-unspsc7#60.12.11.44.00#Scratch art papers#60.12.11.00.00
-unspsc7#60.12.11.45.00#Scratch art boards#60.12.11.00.00
-unspsc7#60.12.11.46.00#Scratch art accessories#60.12.11.00.00
-unspsc7#60.12.12.00.00#Classroom and fine art paint and mediums and applicators and accessories#60.12.00.00.00
-unspsc7#60.12.12.01.00#Traditional liquid tempera paint#60.12.12.00.00
-unspsc7#60.12.12.02.00#Contemporary liquid tempera paint#60.12.12.00.00
-unspsc7#60.12.12.03.00#Powdered tempera paint#60.12.12.00.00
-unspsc7#60.12.12.04.00#Washable tempera paint#60.12.12.00.00
-unspsc7#60.12.12.05.00#Tempera cakes#60.12.12.00.00
-unspsc7#60.12.12.06.00#Liquid face or body paint#60.12.12.00.00
-unspsc7#60.12.12.07.00#Cake face or body paint#60.12.12.00.00
-unspsc7#60.12.12.08.00#Marker face or body paint#60.12.12.00.00
-unspsc7#60.12.12.09.00#Temporary tattoo paint#60.12.12.00.00
-unspsc7#60.12.12.10.00#Washable finger paint#60.12.12.00.00
-unspsc7#60.12.12.11.00#School style acrylic paint#60.12.12.00.00
-unspsc7#60.12.12.12.00#Acrylic airbrush paint#60.12.12.00.00
-unspsc7#60.12.12.13.00#Synthetic heat treated oil paint or mediums#60.12.12.00.00
-unspsc7#60.12.12.14.00#Water soluble oil paint or mediums#60.12.12.00.00
-unspsc7#60.12.12.15.00#Low viscosity removable glass or ceramic paint#60.12.12.00.00
-unspsc7#60.12.12.16.00#Low viscosity permanent glass or ceramic paint#60.12.12.00.00
-unspsc7#60.12.12.17.00#High viscosity Gel removable glass or ceramic paint#60.12.12.00.00
-unspsc7#60.12.12.18.00#High viscosity Gel permanent glass or ceramic paint#60.12.12.00.00
-unspsc7#60.12.12.19.00#Oven baked glass or ceramic paint#60.12.12.00.00
-unspsc7#60.12.12.20.00#Marker delivery system glass or ceramic paint#60.12.12.00.00
-unspsc7#60.12.12.21.00#Pan watercolor paint#60.12.12.00.00
-unspsc7#60.12.12.22.00#Tube watercolor paint#60.12.12.00.00
-unspsc7#60.12.12.23.00#Liquid watercolor paint#60.12.12.00.00
-unspsc7#60.12.12.24.00#Liquid watercolor frisket paint#60.12.12.00.00
-unspsc7#60.12.12.25.00#Watercolor painting mediums#60.12.12.00.00
-unspsc7#60.12.12.26.00#Watercolor brushes#60.12.12.00.00
-unspsc7#60.12.12.27.00#Oriental brushes#60.12.12.00.00
-unspsc7#60.12.12.28.00#Utility brushes#60.12.12.00.00
-unspsc7#60.12.12.29.00#Specialty brushes#60.12.12.00.00
-unspsc7#60.12.12.30.00#Easel brushes#60.12.12.00.00
-unspsc7#60.12.12.31.00#Palette knives#60.12.12.00.00
-unspsc7#60.12.12.32.00#Brayers for hand printing#60.12.12.00.00
-unspsc7#60.12.12.33.00#Sponge stamps#60.12.12.00.00
-unspsc7#60.12.12.34.00#Scrapers for paint application#60.12.12.00.00
-unspsc7#60.12.12.35.00#Pipettes for paint or dye mixing#60.12.12.00.00
-unspsc7#60.12.12.36.00#Combs or tools for paint or ink application#60.12.12.00.00
-unspsc7#60.12.12.37.00#Palettes for paint or ink mixing#60.12.12.00.00
-unspsc7#60.12.12.38.00#Paint pots for paint storage or mixing#60.12.12.00.00
-unspsc7#60.12.12.39.00#Paint cups or bottles#60.12.12.00.00
-unspsc7#60.12.12.41.00#Brush or tool cleaners#60.12.12.00.00
-unspsc7#60.12.12.42.00#Paint aprons#60.12.12.00.00
-unspsc7#60.12.12.43.00#Artists Smocks#60.12.12.00.00
-unspsc7#60.12.12.44.00#Stretcher strips#60.12.12.00.00
-unspsc7#60.12.12.45.00#Canvas stretchers#60.12.12.00.00
-unspsc7#60.12.12.46.00#Metal easels#60.12.12.00.00
-unspsc7#60.12.12.47.00#Wood easels#60.12.12.00.00
-unspsc7#60.12.12.48.00#Table top easels#60.12.12.00.00
-unspsc7#60.12.12.49.00#Presentation easels#60.12.12.00.00
-unspsc7#60.12.13.00.00#Art and craft cutting products#60.12.00.00.00
-unspsc7#60.12.13.01.00#Guillotine paper trimmers#60.12.13.00.00
-unspsc7#60.12.13.02.00#Mat cutter#60.12.13.00.00
-unspsc7#60.12.13.03.00#Mat knives#60.12.13.00.00
-unspsc7#60.12.13.04.00#Artist knives#60.12.13.00.00
-unspsc7#60.12.13.05.00#Rotary paper or fabric cutter#60.12.13.00.00
-unspsc7#60.12.13.06.00#Circle or oval paper cutters#60.12.13.00.00
-unspsc7#60.12.14.00.00#Picture Framing#60.12.00.00.00
-unspsc7#60.12.14.01.00#Pre assembled wood picture frames#60.12.14.00.00
-unspsc7#60.12.14.02.00#Wood section picture frames#60.12.14.00.00
-unspsc7#60.12.14.03.00#Pre assembled metal picture frames#60.12.14.00.00
-unspsc7#60.12.14.04.00#Metal section picture frames#60.12.14.00.00
-unspsc7#60.12.14.05.00#Adjustable picture frames#60.12.14.00.00
-unspsc7#60.12.14.06.00#Plastic picture frames#60.12.14.00.00
-unspsc7#60.12.14.07.00#Clear box picture frame#60.12.14.00.00
-unspsc7#60.12.14.08.00#Point drivers or accessories for picture frames#60.12.14.00.00
-unspsc7#60.12.14.09.00#Mitre box#60.12.14.00.00
-unspsc7#60.12.14.10.00#Picture Hanging devices#60.12.14.00.00
-unspsc7#60.12.14.11.00#Acrylic panels for picture frames#60.12.14.00.00
-unspsc7#60.12.14.12.00#Glass panels for picture frames#60.12.14.00.00
-unspsc7#60.12.15.00.00#Drawing tools and supplies and accessories#60.12.00.00.00
-unspsc7#60.12.15.01.00#Water based markers#60.12.15.00.00
-unspsc7#60.12.15.02.00#Solvent based markers#60.12.15.00.00
-unspsc7#60.12.15.03.00#Washable markers#60.12.15.00.00
-unspsc7#60.12.15.04.00#Calligraphy markers#60.12.15.00.00
-unspsc7#60.12.15.05.00#Fabric markers#60.12.15.00.00
-unspsc7#60.12.15.06.00#Metallic markers#60.12.15.00.00
-unspsc7#60.12.15.07.00#Tempera or chalk window markers#60.12.15.00.00
-unspsc7#60.12.15.08.00#Paint markers#60.12.15.00.00
-unspsc7#60.12.15.09.00#Wax based crayons#60.12.15.00.00
-unspsc7#60.12.15.10.00#Soy based crayons#60.12.15.00.00
-unspsc7#60.12.15.11.00#Specialty crayons#60.12.15.00.00
-unspsc7#60.12.15.12.00#Watercolor crayons#60.12.15.00.00
-unspsc7#60.12.15.13.00#Dry pastel#60.12.15.00.00
-unspsc7#60.12.15.14.00#Chalk pastel#60.12.15.00.00
-unspsc7#60.12.15.15.00#Oil based pastel#60.12.15.00.00
-unspsc7#60.12.15.16.00#Compressed charcoal#60.12.15.00.00
-unspsc7#60.12.15.17.00#Vine charcoal#60.12.15.00.00
-unspsc7#60.12.15.18.00#Graphite pencils#60.12.15.00.00
-unspsc7#60.12.15.19.00#Wax based colored drawing pencils#60.12.15.00.00
-unspsc7#60.12.15.20.00#Charcoal pencils#60.12.15.00.00
-unspsc7#60.12.15.21.00#Watercolor pencils#60.12.15.00.00
-unspsc7#60.12.15.22.00#Waterbased pens#60.12.15.00.00
-unspsc7#60.12.15.23.00#Permanent pens#60.12.15.00.00
-unspsc7#60.12.15.24.00#Gel pens#60.12.15.00.00
-unspsc7#60.12.15.25.00#Technical pens#60.12.15.00.00
-unspsc7#60.12.15.26.00#Calligraphy pens#60.12.15.00.00
-unspsc7#60.12.15.28.00#Water based drawing ink#60.12.15.00.00
-unspsc7#60.12.15.29.00#Solvent based drawing ink#60.12.15.00.00
-unspsc7#60.12.15.30.00#Calligraphy drawing ink#60.12.15.00.00
-unspsc7#60.12.15.31.00#Pink pencil erasers#60.12.15.00.00
-unspsc7#60.12.15.32.00#Kneaded erasers#60.12.15.00.00
-unspsc7#60.12.15.33.00#Vinyl erasers#60.12.15.00.00
-unspsc7#60.12.15.34.00#Plastic erasers#60.12.15.00.00
-unspsc7#60.12.15.35.00#Gum erasers#60.12.15.00.00
-unspsc7#60.12.16.00.00#Studio aids#60.12.00.00.00
-unspsc7#60.12.16.01.00#Wood Mannequins#60.12.16.00.00
-unspsc7#60.12.16.02.00#Clear acrylic mirrors or panels#60.12.16.00.00
-unspsc7#60.12.16.03.00#Plastic Rubbing plates#60.12.16.00.00
-unspsc7#60.12.16.04.00#Studio aid accessories#60.12.16.00.00
-unspsc7#60.12.16.05.00#Anatomical models#60.12.16.00.00
-unspsc7#60.12.17.00.00#Printmaking supplies and accessories#60.12.00.00.00
-unspsc7#60.12.17.01.00#Rubber stamping stamps#60.12.17.00.00
-unspsc7#60.12.17.02.00#Rubber stamping stamp pads#60.12.17.00.00
-unspsc7#60.12.17.03.00#Rubber stamping accessories#60.12.17.00.00
-unspsc7#60.12.17.04.00#Linoleum for block printing#60.12.17.00.00
-unspsc7#60.12.17.05.00#Wood blocks for printing#60.12.17.00.00
-unspsc7#60.12.17.06.00#Synthetic blocks for printing#60.12.17.00.00
-unspsc7#60.12.17.07.00#Block printing accessories#60.12.17.00.00
-unspsc7#60.12.17.08.00#Intaglio or lithography plates#60.12.17.00.00
-unspsc7#60.12.17.09.00#Intaglio or lithography blankets#60.12.17.00.00
-unspsc7#60.12.17.10.00#Intaglio or lithography wipes#60.12.17.00.00
-unspsc7#60.12.17.11.00#Intaglio or lithography hot plates#60.12.17.00.00
-unspsc7#60.12.17.12.00#Intaglio or lithography printing presses#60.12.17.00.00
-unspsc7#60.12.17.13.00#Printing Barens and Brayers#60.12.17.00.00
-unspsc7#60.12.17.14.00#Intaglio Etching or engraving tools#60.12.17.00.00
-unspsc7#60.12.17.15.00#Silkscreen screens or printing stations#60.12.17.00.00
-unspsc7#60.12.17.16.00#Silkscreen accessories#60.12.17.00.00
-unspsc7#60.12.18.00.00#Printing and drawing inks#60.12.00.00.00
-unspsc7#60.12.18.01.00#Water based poster inks#60.12.18.00.00
-unspsc7#60.12.18.02.00#Water based acrylic inks#60.12.18.00.00
-unspsc7#60.12.18.03.00#Oil based silkscreen inks#60.12.18.00.00
-unspsc7#60.12.18.04.00#Water based Textile inks#60.12.18.00.00
-unspsc7#60.12.18.05.00#Oil based textile inks#60.12.18.00.00
-unspsc7#60.12.18.06.00#Printmaking sublimation inks#60.12.18.00.00
-unspsc7#60.12.18.07.00#Oil based intaglio or lithography inks#60.12.18.00.00
-unspsc7#60.12.18.08.00#Oil based monoprint inks#60.12.18.00.00
-unspsc7#60.12.18.09.00#Water based monoprint inks#60.12.18.00.00
-unspsc7#60.12.18.10.00#Water based drawing inks#60.12.18.00.00
-unspsc7#60.12.18.11.00#Solvent based drawing inks#60.12.18.00.00
-unspsc7#60.12.18.12.00#Calligraphy drawing inks#60.12.18.00.00
-unspsc7#60.12.18.13.00#Silkscreen inks#60.12.18.00.00
-unspsc7#60.12.19.00.00#Art fabric and fabric decoration materials and supplies#60.12.00.00.00
-unspsc7#60.12.19.01.00#Muslin#60.12.19.00.00
-unspsc7#60.12.19.02.00#Felt#60.12.19.00.00
-unspsc7#60.12.19.03.00#Craft fur#60.12.19.00.00
-unspsc7#60.12.19.04.00#Cotton blends#60.12.19.00.00
-unspsc7#60.12.19.05.00#Canvas imprintables#60.12.19.00.00
-unspsc7#60.12.19.06.00#Pre sensitized imprintables#60.12.19.00.00
-unspsc7#60.12.19.07.00#Cotton imprintables#60.12.19.00.00
-unspsc7#60.12.19.08.00#Blended imprintables#60.12.19.00.00
-unspsc7#60.12.19.09.00#Batik waxes#60.12.19.00.00
-unspsc7#60.12.19.10.00#Batik accessories#60.12.19.00.00
-unspsc7#60.12.19.11.00#Batik fabric#60.12.19.00.00
-unspsc7#60.12.20.00.00#Sewing and stitchery and weaving equipment and accessories#60.12.00.00.00
-unspsc7#60.12.20.01.00#Weaving or tapestry needles#60.12.20.00.00
-unspsc7#60.12.20.02.00#Weaving accessories#60.12.20.00.00
-unspsc7#60.12.20.03.00#Hand sewing needles#60.12.20.00.00
-unspsc7#60.12.20.04.00#String art kits#60.12.20.00.00
-unspsc7#60.12.20.05.00#Hand looms#60.12.20.00.00
-unspsc7#60.12.20.06.00#Table looms#60.12.20.00.00
-unspsc7#60.12.20.07.00#Floor looms#60.12.20.00.00
-unspsc7#60.12.20.08.00#Rexlace#60.12.20.00.00
-unspsc7#60.12.20.09.00#Lacing or stringing accessories#60.12.20.00.00
-unspsc7#60.12.21.00.00#Candlemaking#60.12.00.00.00
-unspsc7#60.12.21.01.00#Candlemaking wicks#60.12.21.00.00
-unspsc7#60.12.21.02.00#Candlemaking forms#60.12.21.00.00
-unspsc7#60.12.21.03.00#Candlemaking accessories#60.12.21.00.00
-unspsc7#60.12.22.00.00#Wood crafts#60.12.00.00.00
-unspsc7#60.12.22.01.00#Wood craft materials#60.12.22.00.00
-unspsc7#60.12.22.02.00#Finishing materials#60.12.22.00.00
-unspsc7#60.12.22.03.00#Wood burning tools#60.12.22.00.00
-unspsc7#60.12.22.04.00#Carving tools#60.12.22.00.00
-unspsc7#60.12.23.00.00#Basketry making supplies#60.12.00.00.00
-unspsc7#60.12.23.01.00#Basketry reed#60.12.23.00.00
-unspsc7#60.12.23.02.00#Basketry project kits#60.12.23.00.00
-unspsc7#60.12.24.00.00#Stained glass making supplies#60.12.00.00.00
-unspsc7#60.12.24.01.00#Stained Glass fragments#60.12.24.00.00
-unspsc7#60.12.24.02.00#Stained glass tools or accessories#60.12.24.00.00
-unspsc7#60.12.25.00.00#Paper crafts and hand made papermaking#60.12.00.00.00
-unspsc7#60.12.25.01.00#Paper shaping tools#60.12.25.00.00
-unspsc7#60.12.25.02.00#Paper picture frames#60.12.25.00.00
-unspsc7#60.12.25.03.00#Paper plates or trays#60.12.25.00.00
-unspsc7#60.12.25.04.00#Paper filters#60.12.25.00.00
-unspsc7#60.12.25.05.00#Corrugated cardboard shapes#60.12.25.00.00
-unspsc7#60.12.25.06.00#Paper Doilies#60.12.25.00.00
-unspsc7#60.12.25.07.00#Deckles or molds for hand made paper#60.12.25.00.00
-unspsc7#60.12.25.08.00#Couch sheets or felts for hand made paper#60.12.25.00.00
-unspsc7#60.12.25.09.00#Pulp or raw materials for hand made paper#60.12.25.00.00
-unspsc7#60.12.26.00.00#Mosaics#60.12.00.00.00
-unspsc7#60.12.26.01.00#Mosaic tiles#60.12.26.00.00
-unspsc7#60.12.26.02.00#Mosaic molds#60.12.26.00.00
-unspsc7#60.12.26.03.00#Mosaic tools#60.12.26.00.00
-unspsc7#60.12.26.04.00#Mosaic accessories#60.12.26.00.00
-unspsc7#60.12.27.00.00#Enameling paints and accessories#60.12.00.00.00
-unspsc7#60.12.27.01.00#Enameling paints or mediums#60.12.27.00.00
-unspsc7#60.12.27.02.00#Copper shapes#60.12.27.00.00
-unspsc7#60.12.27.03.00#Enameling accessories#60.12.27.00.00
-unspsc7#60.12.27.04.00#Enameling Kilns#60.12.27.00.00
-unspsc7#60.12.28.00.00#Maskmaking#60.12.00.00.00
-unspsc7#60.12.28.01.00#Maskmaking forms#60.12.28.00.00
-unspsc7#60.12.29.00.00#Beads or beading accessories#60.12.00.00.00
-unspsc7#60.12.29.01.00#Seed beads#60.12.29.00.00
-unspsc7#60.12.29.02.00#Pony beads#60.12.29.00.00
-unspsc7#60.12.29.03.00#Wood beads#60.12.29.00.00
-unspsc7#60.12.29.04.00#Straw beads#60.12.29.00.00
-unspsc7#60.12.29.05.00#Ceramic beads#60.12.29.00.00
-unspsc7#60.12.29.06.00#Glass beads#60.12.29.00.00
-unspsc7#60.12.29.07.00#Assorted or decorative beads#60.12.29.00.00
-unspsc7#60.12.29.08.00#Bead accessories#60.12.29.00.00
-unspsc7#60.12.30.00.00#Foam crafts#60.12.00.00.00
-unspsc7#60.12.30.01.00#Styrofoam shapes#60.12.30.00.00
-unspsc7#60.12.30.02.00#Tools for foam crafts#60.12.30.00.00
-unspsc7#60.12.31.00.00#Chenille stem crafts#60.12.00.00.00
-unspsc7#60.12.31.01.00#Jumbo chenille stems#60.12.31.00.00
-unspsc7#60.12.31.02.00#Cotton chenille stems#60.12.31.00.00
-unspsc7#60.12.31.03.00#Bumps chenille stems#60.12.31.00.00
-unspsc7#60.12.32.00.00#Ribbon making materials#60.12.00.00.00
-unspsc7#60.12.32.01.00#Paper ribbons#60.12.32.00.00
-unspsc7#60.12.32.02.00#Silk ribbons#60.12.32.00.00
-unspsc7#60.12.32.03.00#Synthetic ribbons#60.12.32.00.00
-unspsc7#60.12.32.04.00#Decorative ribbons#60.12.32.00.00
-unspsc7#60.12.33.00.00#Craft Poms#60.12.00.00.00
-unspsc7#60.12.33.01.00#Acrylic craft poms#60.12.33.00.00
-unspsc7#60.12.33.02.00#Glitter craft poms#60.12.33.00.00
-unspsc7#60.12.33.03.00#Craft pom beadz#60.12.33.00.00
-unspsc7#60.12.34.00.00#Wiggle eyes materials#60.12.00.00.00
-unspsc7#60.12.34.01.00#Non self adhesive wiggle eyes#60.12.34.00.00
-unspsc7#60.12.34.02.00#Self adhesive wiggle eyes#60.12.34.00.00
-unspsc7#60.12.34.03.00#Decorative wiggle eyes#60.12.34.00.00
-unspsc7#60.12.35.00.00#Leather craft materials#60.12.00.00.00
-unspsc7#60.12.35.01.00#Leather or leather lacing materials#60.12.35.00.00
-unspsc7#60.12.35.02.00#Leather accessories#60.12.35.00.00
-unspsc7#60.12.36.00.00#Glitter#60.12.00.00.00
-unspsc7#60.12.36.01.00#Glitter glue#60.12.36.00.00
-unspsc7#60.12.36.02.00#Glitter dots#60.12.36.00.00
-unspsc7#60.12.36.03.00#Glitter jewels#60.12.36.00.00
-unspsc7#60.12.36.04.00#Plastic glitter#60.12.36.00.00
-unspsc7#60.12.36.05.00#Irridescent glitter#60.12.36.00.00
-unspsc7#60.12.36.06.00#Metallic glitter#60.12.36.00.00
-unspsc7#60.12.37.00.00#Macrame craft materials and accessories#60.12.00.00.00
-unspsc7#60.12.37.01.00#Macrame cord#60.12.37.00.00
-unspsc7#60.12.37.02.00#Macrame beads#60.12.37.00.00
-unspsc7#60.12.37.03.00#Macrame accessories#60.12.37.00.00
-unspsc7#60.12.38.00.00#Marbling supplies and accessories#60.12.00.00.00
-unspsc7#60.12.38.01.00#Marbling inks#60.12.38.00.00
-unspsc7#60.12.38.02.00#Marbling accessories#60.12.38.00.00
-unspsc7#60.12.39.00.00#Sequins and trims#60.12.00.00.00
-unspsc7#60.12.39.01.00#Decorative sequins or trims#60.12.39.00.00
-unspsc7#60.12.40.00.00#Cork craft supplies and accessories#60.12.00.00.00
-unspsc7#60.12.40.01.00#Cork sheets#60.12.40.00.00
-unspsc7#60.12.40.02.00#Cork stoppers#60.12.40.00.00
-unspsc7#60.12.41.00.00#Multicultural project materials and accessories#60.12.00.00.00
-unspsc7#60.12.41.01.00#Multicultural painting products#60.12.41.00.00
-unspsc7#60.12.41.02.00#Multicultural crafts products#60.12.41.00.00
-unspsc7#60.12.42.00.00#Cross curricular projects#60.12.00.00.00
-unspsc7#60.12.42.01.00#Mylar sculptures#60.12.42.00.00
-unspsc7#60.12.43.00.00#Clay and modeling compounds and ceramics equipment and accessories#60.12.00.00.00
-unspsc7#60.12.43.01.00#Moist kiln fired clay#60.12.43.00.00
-unspsc7#60.12.43.02.00#Dry kiln fired clay#60.12.43.00.00
-unspsc7#60.12.43.03.00#Kiln furniture#60.12.43.00.00
-unspsc7#60.12.43.04.00#Kilns for firing ceramics#60.12.43.00.00
-unspsc7#60.12.43.05.00#Kiln accessories for firing ceramics#60.12.43.00.00
-unspsc7#60.12.43.06.00#Potters wheels for hand made ceramics#60.12.43.00.00
-unspsc7#60.12.43.07.00#Extruders for modeling materials#60.12.43.00.00
-unspsc7#60.12.43.08.00#Cones for firing kilns#60.12.43.00.00
-unspsc7#60.12.43.09.00#Pottery Batts#60.12.43.00.00
-unspsc7#60.12.43.10.00#Decorating wheels for pottery#60.12.43.00.00
-unspsc7#60.12.43.11.00#Clay or modeling tools#60.12.43.00.00
-unspsc7#60.12.43.12.00#Fired ceramic tiles#60.12.43.00.00
-unspsc7#60.12.43.13.00#Clay storage containers#60.12.43.00.00
-unspsc7#60.12.43.14.00#Plasicized non hardening modeling compounds#60.12.43.00.00
-unspsc7#60.12.43.15.00#Oilbased nonhardening modeling compounds#60.12.43.00.00
-unspsc7#60.12.43.16.00#Air dry clay or modeling compounds#60.12.43.00.00
-unspsc7#60.12.43.17.00#Modeling dough#60.12.43.00.00
-unspsc7#60.12.43.18.00#Papier Mache#60.12.43.00.00
-unspsc7#60.12.43.19.00#Specialty modeling compounds#60.12.43.00.00
-unspsc7#60.12.43.20.00#Plaster compounds#60.12.43.00.00
-unspsc7#60.12.43.21.00#Oven hardening clay or modeling compounds#60.12.43.00.00
-unspsc7#60.12.43.22.00#Plastic modeling compounds#60.12.43.00.00
-unspsc7#60.12.43.23.00#Casts or molds for shaping modeling compounds#60.12.43.00.00
-unspsc7#60.12.44.00.00#Art metals#60.12.00.00.00
-unspsc7#60.12.44.01.00#Copper tooling foil#60.12.44.00.00
-unspsc7#60.12.44.02.00#Aluminum tooling foil#60.12.44.00.00
-unspsc7#60.12.44.03.00#Aluminum wire#60.12.44.00.00
-unspsc7#60.12.44.04.00#Brass tooling foil#60.12.44.00.00
-unspsc7#60.12.44.05.00#Brass wire#60.12.44.00.00
-unspsc7#60.12.44.06.00#Silver sheets or plates#60.12.44.00.00
-unspsc7#60.12.44.07.00#Silver wire#60.12.44.00.00
-unspsc7#60.12.44.08.00#Pewter pellets or shots#60.12.44.00.00
-unspsc7#60.12.44.09.00#Pewter ingots#60.12.44.00.00
-unspsc7#60.12.44.10.00#Nu gold sheets plates#60.12.44.00.00
-unspsc7#60.12.44.11.00#Nu gold wire#60.12.44.00.00
-unspsc7#60.12.44.12.00#Galvanized stovepipe wire#60.12.44.00.00
-unspsc7#60.12.45.00.00#Sculpture supplies and accessories#60.12.00.00.00
-unspsc7#60.12.45.01.00#Plaster wrap#60.12.45.00.00
-unspsc7#60.12.45.02.00#Casting resins#60.12.45.00.00
-unspsc7#60.12.45.03.00#Sculpture accessories#60.12.45.00.00
-unspsc7#60.12.45.04.00#Puzzle racks#60.12.45.00.00
-unspsc7#60.12.45.05.00#Bubbles or accessories#60.12.45.00.00
-unspsc7#60.12.45.06.00#Plastic sand or water tools or molds or toys#60.12.45.00.00
-unspsc7#60.12.45.07.00#Play sand#60.12.45.00.00
-unspsc7#60.12.45.08.00#Sand or water tables or activity centers#60.12.45.00.00
-unspsc7#60.12.45.09.00#Vehicle sets#60.12.45.00.00
-unspsc7#60.12.45.10.00#Waterway sets#60.12.45.00.00
-unspsc7#60.12.45.11.00#Play tools or play tool kits#60.12.45.00.00
-unspsc7#60.12.45.12.00#Scooter boards#60.12.45.00.00
-unspsc7#60.12.45.13.00#Beanbags#60.12.45.00.00
-unspsc7#60.12.45.14.00#Tactile toys#60.12.45.00.00
-unspsc7#60.12.45.15.00#Cognitive toys#60.12.45.00.00
-unspsc7#60.13.00.00.00#Musical Instruments and parts and accessories#60.00.00.00.00
-unspsc7#60.13.10.00.00#Keyboard instruments#60.13.00.00.00
-unspsc7#60.13.10.01.00#Pianos#60.13.10.00.00
-unspsc7#60.13.10.02.00#Accordions#60.13.10.00.00
-unspsc7#60.13.10.03.00#Musical organs#60.13.10.00.00
-unspsc7#60.13.11.00.00#Brass instruments#60.13.00.00.00
-unspsc7#60.13.11.01.00#Trumpets#60.13.11.00.00
-unspsc7#60.13.11.02.00#Trombones#60.13.11.00.00
-unspsc7#60.13.11.03.00#Sousaphones#60.13.11.00.00
-unspsc7#60.13.11.04.00#Saxophones#60.13.11.00.00
-unspsc7#60.13.11.05.00#Whistle#60.13.11.00.00
-unspsc7#60.13.12.00.00#Woodwind instruments#60.13.00.00.00
-unspsc7#60.13.12.01.00#Clarinets#60.13.12.00.00
-unspsc7#60.13.12.02.00#Oboes#60.13.12.00.00
-unspsc7#60.13.12.03.00#Musical flutes#60.13.12.00.00
-unspsc7#60.13.12.04.00#Piccoloes#60.13.12.00.00
-unspsc7#60.13.12.05.00#Musical cornets#60.13.12.00.00
-unspsc7#60.13.12.06.00#Bagpipes#60.13.12.00.00
-unspsc7#60.13.12.07.00#Harmonicas#60.13.12.00.00
-unspsc7#60.13.12.08.00#Kazoos#60.13.12.00.00
-unspsc7#60.13.13.00.00#String instruments#60.13.00.00.00
-unspsc7#60.13.13.01.00#Harpsichords#60.13.13.00.00
-unspsc7#60.13.13.02.00#Clavichords#60.13.13.00.00
-unspsc7#60.13.13.03.00#Guitars#60.13.13.00.00
-unspsc7#60.13.13.04.00#Violins#60.13.13.00.00
-unspsc7#60.13.13.05.00#Harps#60.13.13.00.00
-unspsc7#60.13.13.06.00#Banjoes#60.13.13.00.00
-unspsc7#60.13.14.00.00#Percussion instruments#60.13.00.00.00
-unspsc7#60.13.14.01.00#Cymbals#60.13.14.00.00
-unspsc7#60.13.14.02.00#Bells#60.13.14.00.00
-unspsc7#60.13.14.03.00#Tambourines#60.13.14.00.00
-unspsc7#60.13.14.04.00#Castanets#60.13.14.00.00
-unspsc7#60.13.14.05.00#Drums#60.13.14.00.00
-unspsc7#60.13.14.06.00#Xylophones#60.13.14.00.00
-unspsc7#60.13.15.00.00#Musical instrument parts and accessories#60.13.00.00.00
-unspsc7#60.13.15.01.00#Metronomes#60.13.15.00.00
-unspsc7#60.13.15.02.00#Reeds#60.13.15.00.00
-unspsc7#60.13.15.03.00#Instrument strings or picks#60.13.15.00.00
-unspsc7#60.13.15.04.00#Tuning pins#60.13.15.00.00
-unspsc7#60.13.15.05.00#Musical instrument stands or sheet holders#60.13.15.00.00
-unspsc7#60.13.15.06.00#Accessories for stringed instruments#60.13.15.00.00
-unspsc7#60.13.15.07.00#Percussion instrument accessory#60.13.15.00.00
-unspsc7#60.13.15.08.00#Music boxes or mechanisms#60.13.15.00.00
-unspsc7#60.13.16.00.00#Musical instrument sets#60.13.00.00.00
-unspsc7#60.13.16.01.00#Rhythm band sets#60.13.16.00.00
-unspsc7#60.13.17.00.00#Alternative sounds musical instruments#60.13.00.00.00
-unspsc7#60.13.17.01.00#Boomwhackers#60.13.17.00.00
-unspsc7#60.13.17.02.00#Disco taps#60.13.17.00.00
-unspsc7#60.13.18.00.00#Music and dance accessories#60.13.00.00.00
-unspsc7#60.13.18.01.00#Dancing scarves#60.13.18.00.00
-unspsc7#60.13.18.02.00#Rhythm sticks or lummi sticks#60.13.18.00.00
-unspsc7#60.13.18.03.00#Rhythm wands or hoops#60.13.18.00.00
-unspsc7#60.14.00.00.00#Toys and games#60.00.00.00.00
-unspsc7#60.14.10.00.00#Toys#60.14.00.00.00
-unspsc7#60.14.10.01.00#Toy balloons or balls#60.14.10.00.00
-unspsc7#60.14.10.02.00#Dolls#60.14.10.00.00
-unspsc7#60.14.10.03.00#Doll houses#60.14.10.00.00
-unspsc7#60.14.10.04.00#Stuffed animals or puppets#60.14.10.00.00
-unspsc7#60.14.10.05.00#Playhouses#60.14.10.00.00
-unspsc7#60.14.10.06.00#Building blocks#60.14.10.00.00
-unspsc7#60.14.10.07.00#Riding toys#60.14.10.00.00
-unspsc7#60.14.10.08.00#Pull toys#60.14.10.00.00
-unspsc7#60.14.10.09.00#Childrens science kits#60.14.10.00.00
-unspsc7#60.14.10.10.00#Toy vehicles#60.14.10.00.00
-unspsc7#60.14.10.11.00#Toy trains#60.14.10.00.00
-unspsc7#60.14.10.12.00#Inflatable toys#60.14.10.00.00
-unspsc7#60.14.10.13.00#Doll parts or accessories#60.14.10.00.00
-unspsc7#60.14.10.14.00#Yo yos#60.14.10.00.00
-unspsc7#60.14.10.15.00#Kites#60.14.10.00.00
-unspsc7#60.14.10.16.00#Pogs#60.14.10.00.00
-unspsc7#60.14.10.17.00#Kaleidoscopes#60.14.10.00.00
-unspsc7#60.14.10.18.00#Pom poms#60.14.10.00.00
-unspsc7#60.14.10.19.00#Pinatas#60.14.10.00.00
-unspsc7#60.14.10.20.00#Boomerangs#60.14.10.00.00
-unspsc7#60.14.10.21.00#Flying discs#60.14.10.00.00
-unspsc7#60.14.10.22.00#Toy pails#60.14.10.00.00
-unspsc7#60.14.11.00.00#Games#60.14.00.00.00
-unspsc7#60.14.11.01.00#Educational games#60.14.11.00.00
-unspsc7#60.14.11.02.00#Board games#60.14.11.00.00
-unspsc7#60.14.11.03.00#Playing cards#60.14.11.00.00
-unspsc7#60.14.11.04.00#Video games#60.14.11.00.00
-unspsc7#60.14.11.05.00#Puzzles#60.14.11.00.00
-unspsc7#60.14.11.06.00#Dice#60.14.11.00.00
-unspsc7#60.14.11.07.00#Bingo#60.14.11.00.00
-unspsc7#60.14.11.08.00#Classic games#60.14.11.00.00
-unspsc7#60.14.11.09.00#Collaborative games#60.14.11.00.00
-unspsc7#60.14.11.10.00#Strategy games#60.14.11.00.00
-unspsc7#60.14.11.11.00#Game accessories#60.14.11.00.00
-unspsc7#60.14.11.12.00#Game books#60.14.11.00.00
-unspsc7#60.14.11.13.00#Lotto games#60.14.11.00.00
-unspsc7#60.14.11.14.00#Memory games#60.14.11.00.00
-unspsc7#60.14.12.00.00#Active Play equipment and accessories#60.14.00.00.00
-unspsc7#60.14.12.01.00#Balance or gross motor equipment#60.14.12.00.00
-unspsc7#60.14.12.02.00#Ball pools or accessories#60.14.12.00.00
-unspsc7#60.14.12.03.00#Play houses or huts#60.14.12.00.00
-unspsc7#60.14.12.04.00#Trikes or wagons#60.14.12.00.00
-unspsc7#60.14.12.05.00#Soft play centers#60.14.12.00.00
-unspsc7#60.14.13.00.00#Childrens blocks and building systems#60.14.00.00.00
-unspsc7#60.14.13.02.00#Construction sets#60.14.13.00.00
-unspsc7#60.14.13.03.00#Playmats#60.14.13.00.00
-unspsc7#60.14.13.04.00#Railplay systems or accessories#60.14.13.00.00
-unspsc7#60.14.13.05.00#Unit blocks#60.14.13.00.00
-unspsc7#60.14.13.06.00#Play vehicles#60.14.13.00.00
-unspsc7#60.14.13.07.00#Play animals#60.14.13.00.00
-unspsc7#60.14.14.00.00#Dramatic play equipment and accessories#60.14.00.00.00
-unspsc7#60.14.14.01.00#Costumes or accessories#60.14.14.00.00
-unspsc7#60.14.14.02.00#Dress up Centers#60.14.14.00.00
-unspsc7#60.14.14.03.00#Housekeeping units or accessories#60.14.14.00.00
-unspsc7#60.14.14.04.00#Play food dishes or accessories#60.14.14.00.00
-unspsc7#60.14.14.05.00#Pretend play kits or supplies#60.14.14.00.00
-unspsc7#70.00.00.00.00#Farming and Fishing and Forestry and Wildlife Contracting Services#70.00.00.00.00
-unspsc7#70.10.00.00.00#Fisheries and aquaculture#70.00.00.00.00
-unspsc7#70.10.15.00.00#Fisheries operations#70.10.00.00.00
-unspsc7#70.10.15.01.00#Commercial fishing operations#70.10.15.00.00
-unspsc7#70.10.15.02.00#Fishing port services#70.10.15.00.00
-unspsc7#70.10.15.03.00#Fishing onshore facilities#70.10.15.00.00
-unspsc7#70.10.15.04.00#Deep sea fishing operations#70.10.15.00.00
-unspsc7#70.10.15.05.00#Sonar fishing#70.10.15.00.00
-unspsc7#70.10.15.06.00#Whaling#70.10.15.00.00
-unspsc7#70.10.15.07.00#Trawling#70.10.15.00.00
-unspsc7#70.10.15.08.00#Line fishing#70.10.15.00.00
-unspsc7#70.10.15.09.00#Seine operations#70.10.15.00.00
-unspsc7#70.10.15.10.00#Fishing nets#70.10.15.00.00
-unspsc7#70.10.16.00.00#Fisheries oversight#70.10.00.00.00
-unspsc7#70.10.16.01.00#Fishery information or documentation services#70.10.16.00.00
-unspsc7#70.10.16.02.00#Fishery research or experimentation services#70.10.16.00.00
-unspsc7#70.10.16.03.00#Fishery data collection or distribution#70.10.16.00.00
-unspsc7#70.10.16.04.00#Fishery commercial management#70.10.16.00.00
-unspsc7#70.10.16.05.00#Fishing fleet management#70.10.16.00.00
-unspsc7#70.10.16.06.00#Fishing cooperatives#70.10.16.00.00
-unspsc7#70.10.16.07.00#Fishery resources protection or conservation#70.10.16.00.00
-unspsc7#70.10.17.00.00#Fishery industry and technology#70.10.00.00.00
-unspsc7#70.10.17.01.00#Fishing technology services#70.10.17.00.00
-unspsc7#70.10.17.02.00#Fishery by products production services#70.10.17.00.00
-unspsc7#70.10.17.03.00#Fish production#70.10.17.00.00
-unspsc7#70.10.17.04.00#Fish storage#70.10.17.00.00
-unspsc7#70.10.18.00.00#Fisheries resources#70.10.00.00.00
-unspsc7#70.10.18.01.00#Inland water fishery resources#70.10.18.00.00
-unspsc7#70.10.18.02.00#Fish pond resources#70.10.18.00.00
-unspsc7#70.10.18.03.00#Fish hatcheries#70.10.18.00.00
-unspsc7#70.10.18.04.00#Fish ranches#70.10.18.00.00
-unspsc7#70.10.18.05.00#Fishery by product resources#70.10.18.00.00
-unspsc7#70.10.18.06.00#Fisheries resource evaluation#70.10.18.00.00
-unspsc7#70.10.19.00.00#Aquaculture#70.10.00.00.00
-unspsc7#70.10.19.01.00#Mariculture#70.10.19.00.00
-unspsc7#70.10.19.02.00#Ostreiculture#70.10.19.00.00
-unspsc7#70.10.19.03.00#Shellfish culture#70.10.19.00.00
-unspsc7#70.10.19.04.00#Shrimp farming#70.10.19.00.00
-unspsc7#70.10.19.05.00#Fish farming#70.10.19.00.00
-unspsc7#70.11.00.00.00#Horticulture#70.00.00.00.00
-unspsc7#70.11.15.00.00#Plants and ornamental trees#70.11.00.00.00
-unspsc7#70.11.15.01.00#Planting services or ornamental plant or bush or tree#70.11.15.00.00
-unspsc7#70.11.15.02.00#Pruning services or ornamental plant or bush#70.11.15.00.00
-unspsc7#70.11.15.03.00#Tree trimming services#70.11.15.00.00
-unspsc7#70.11.15.04.00#Bracing services#70.11.15.00.00
-unspsc7#70.11.15.05.00#Tree surgery services#70.11.15.00.00
-unspsc7#70.11.15.06.00#Arborist services#70.11.15.00.00
-unspsc7#70.11.15.07.00#Removal services or ornamental plant or bush or tree#70.11.15.00.00
-unspsc7#70.11.15.08.00#Plants or ornamental tree spraying services#70.11.15.00.00
-unspsc7#70.11.16.00.00#Flowering plants#70.11.00.00.00
-unspsc7#70.11.16.01.00#Planting services#70.11.16.00.00
-unspsc7#70.11.16.02.00#Nursery services#70.11.16.00.00
-unspsc7#70.11.16.03.00#Floriculture services#70.11.16.00.00
-unspsc7#70.11.17.00.00#Parks and gardens and orchards#70.11.00.00.00
-unspsc7#70.11.17.01.00#Orchard management or maintenance services#70.11.17.00.00
-unspsc7#70.11.17.02.00#Vineyard management or maintenance services#70.11.17.00.00
-unspsc7#70.11.17.03.00#Garden planting or maintenance services#70.11.17.00.00
-unspsc7#70.11.17.04.00#Horticultural counseling services#70.11.17.00.00
-unspsc7#70.11.17.05.00#Cemetery upkeep services#70.11.17.00.00
-unspsc7#70.11.17.06.00#Lawn care services#70.11.17.00.00
-unspsc7#70.11.17.07.00#Highway lawn maintenance services#70.11.17.00.00
-unspsc7#70.11.17.08.00#Mulching services#70.11.17.00.00
-unspsc7#70.11.17.09.00#Seeding services#70.11.17.00.00
-unspsc7#70.11.17.10.00#Mowing services#70.11.17.00.00
-unspsc7#70.11.17.11.00#Sprigging services#70.11.17.00.00
-unspsc7#70.11.17.12.00#Parks or gardens spraying services#70.11.17.00.00
-unspsc7#70.11.17.13.00#Parks management or maintenance services#70.11.17.00.00
-unspsc7#70.12.00.00.00#Livestock services#70.00.00.00.00
-unspsc7#70.12.15.00.00#Dairying#70.12.00.00.00
-unspsc7#70.12.15.01.00#Dairy herd management#70.12.15.00.00
-unspsc7#70.12.15.02.00#Dairy industry development#70.12.15.00.00
-unspsc7#70.12.15.03.00#Dairy technology#70.12.15.00.00
-unspsc7#70.12.15.04.00#Dairy laboratories services#70.12.15.00.00
-unspsc7#70.12.15.05.00#Dairy farm in house processing#70.12.15.00.00
-unspsc7#70.12.16.00.00#Livestock industry#70.12.00.00.00
-unspsc7#70.12.16.01.00#Livestock breeding#70.12.16.00.00
-unspsc7#70.12.16.02.00#Livestock genetics services#70.12.16.00.00
-unspsc7#70.12.16.03.00#Sericulture#70.12.16.00.00
-unspsc7#70.12.16.04.00#Animal husbandry#70.12.16.00.00
-unspsc7#70.12.16.05.00#Farm rearing systems#70.12.16.00.00
-unspsc7#70.12.16.06.00#Poultry production services#70.12.16.00.00
-unspsc7#70.12.16.07.00#Small animal breeding services#70.12.16.00.00
-unspsc7#70.12.16.08.00#Bovine production services#70.12.16.00.00
-unspsc7#70.12.16.10.00#Apiculture#70.12.16.00.00
-unspsc7#70.12.17.00.00#Livestock management#70.12.00.00.00
-unspsc7#70.12.17.01.00#Livestock selection#70.12.17.00.00
-unspsc7#70.12.17.02.00#Livestock showing services#70.12.17.00.00
-unspsc7#70.12.17.03.00#Livestock slaughtering services#70.12.17.00.00
-unspsc7#70.12.17.04.00#Herd management#70.12.17.00.00
-unspsc7#70.12.17.05.00#Livestock breeding or grooming services#70.12.17.00.00
-unspsc7#70.12.18.00.00#Pets industry#70.12.00.00.00
-unspsc7#70.12.18.01.00#Pet breeding services#70.12.18.00.00
-unspsc7#70.12.18.02.00#Pet grooming services#70.12.18.00.00
-unspsc7#70.12.18.03.00#Kennels services#70.12.18.00.00
-unspsc7#70.12.19.00.00#Pasture and range services#70.12.00.00.00
-unspsc7#70.12.19.01.00#Pasture improvement#70.12.19.00.00
-unspsc7#70.12.19.02.00#Range management#70.12.19.00.00
-unspsc7#70.12.19.03.00#Range research#70.12.19.00.00
-unspsc7#70.12.20.00.00#Animal health#70.12.00.00.00
-unspsc7#70.12.20.01.00#Animal nutrition#70.12.20.00.00
-unspsc7#70.12.20.02.00#Animal disease control#70.12.20.00.00
-unspsc7#70.12.20.03.00#Animal trypanosomiasis#70.12.20.00.00
-unspsc7#70.12.20.04.00#Foot or mouth control services#70.12.20.00.00
-unspsc7#70.12.20.05.00#Animal health preventive medication services#70.12.20.00.00
-unspsc7#70.12.20.06.00#Animal vaccination services#70.12.20.00.00
-unspsc7#70.12.20.07.00#Veterinary administration#70.12.20.00.00
-unspsc7#70.12.20.08.00#Veterinary laboratory technology#70.12.20.00.00
-unspsc7#70.12.20.09.00#Animal hospital services#70.12.20.00.00
-unspsc7#70.12.20.10.00#Animal health information services#70.12.20.00.00
-unspsc7#70.13.00.00.00#Land and soil preparation and management and protection#70.00.00.00.00
-unspsc7#70.13.15.00.00#Land and soil protection#70.13.00.00.00
-unspsc7#70.13.15.01.00#Desertification assessment or control services#70.13.15.00.00
-unspsc7#70.13.15.02.00#Soil conservation or protection services#70.13.15.00.00
-unspsc7#70.13.15.03.00#Erosion control services#70.13.15.00.00
-unspsc7#70.13.15.04.00#Sand dune fixation#70.13.15.00.00
-unspsc7#70.13.15.05.00#Soil conditioning#70.13.15.00.00
-unspsc7#70.13.15.06.00#Soil improvement#70.13.15.00.00
-unspsc7#70.13.16.00.00#Land and soil preparation#70.13.00.00.00
-unspsc7#70.13.16.01.00#Fertilizer application services#70.13.16.00.00
-unspsc7#70.13.16.02.00#Lime spreading services#70.13.16.00.00
-unspsc7#70.13.16.03.00#Plowing services#70.13.16.00.00
-unspsc7#70.13.16.04.00#Seed bed preparation services#70.13.16.00.00
-unspsc7#70.13.16.05.00#Soil chemical treatment services#70.13.16.00.00
-unspsc7#70.13.17.00.00#Land and soil management#70.13.00.00.00
-unspsc7#70.13.17.01.00#Land use planning#70.13.17.00.00
-unspsc7#70.13.17.02.00#Land evaluation#70.13.17.00.00
-unspsc7#70.13.17.03.00#Land reclamation#70.13.17.00.00
-unspsc7#70.13.17.04.00#Agro ecological zones assessment or planning#70.13.17.00.00
-unspsc7#70.13.17.05.00#Soil classification#70.13.17.00.00
-unspsc7#70.13.17.06.00#Watershed management#70.13.17.00.00
-unspsc7#70.13.17.07.00#Soil fertility analysis#70.13.17.00.00
-unspsc7#70.13.17.08.00#Pedology#70.13.17.00.00
-unspsc7#70.14.00.00.00#Crop production and management and protection#70.00.00.00.00
-unspsc7#70.14.15.00.00#Crop production#70.14.00.00.00
-unspsc7#70.14.15.01.00#Seed production services#70.14.15.00.00
-unspsc7#70.14.15.02.00#Hydroponics#70.14.15.00.00
-unspsc7#70.14.15.03.00#Grass or fodder production#70.14.15.00.00
-unspsc7#70.14.15.04.00#Aromatic plants production#70.14.15.00.00
-unspsc7#70.14.15.05.00#Beverage crops production#70.14.15.00.00
-unspsc7#70.14.15.06.00#Cocoa production#70.14.15.00.00
-unspsc7#70.14.15.07.00#Sugarbeet or sugarcane production#70.14.15.00.00
-unspsc7#70.14.15.08.00#Nut production#70.14.15.00.00
-unspsc7#70.14.15.09.00#Essential oil crops production#70.14.15.00.00
-unspsc7#70.14.15.10.00#Fiber crops production#70.14.15.00.00
-unspsc7#70.14.15.11.00#Fruit production#70.14.15.00.00
-unspsc7#70.14.15.12.00#Grain or legume production#70.14.15.00.00
-unspsc7#70.14.15.13.00#Insecticidal plants production#70.14.15.00.00
-unspsc7#70.14.15.14.00#Medicinal plants production#70.14.15.00.00
-unspsc7#70.14.15.15.00#Roots or tubers production#70.14.15.00.00
-unspsc7#70.14.15.16.00#Cereals production#70.14.15.00.00
-unspsc7#70.14.15.17.00#Rubber plant production#70.14.15.00.00
-unspsc7#70.14.15.18.00#Spice crops production#70.14.15.00.00
-unspsc7#70.14.15.19.00#Tobacco crop production#70.14.15.00.00
-unspsc7#70.14.15.20.00#Vegetable production#70.14.15.00.00
-unspsc7#70.14.16.00.00#Crop protection#70.14.00.00.00
-unspsc7#70.14.16.01.00#Crop spraying services#70.14.16.00.00
-unspsc7#70.14.16.02.00#Biological control services#70.14.16.00.00
-unspsc7#70.14.16.03.00#Weed control services#70.14.16.00.00
-unspsc7#70.14.16.04.00#Herbicide services#70.14.16.00.00
-unspsc7#70.14.16.05.00#Integrated pest management services#70.14.16.00.00
-unspsc7#70.14.16.06.00#Plant pathology#70.14.16.00.00
-unspsc7#70.14.16.07.00#Locust control#70.14.16.00.00
-unspsc7#70.14.17.00.00#Crop management#70.14.00.00.00
-unspsc7#70.14.17.01.00#Greenhouse services#70.14.17.00.00
-unspsc7#70.14.17.02.00#Fertilizer services#70.14.17.00.00
-unspsc7#70.14.17.03.00#Crop administration#70.14.17.00.00
-unspsc7#70.14.17.04.00#Crop substitution#70.14.17.00.00
-unspsc7#70.14.17.05.00#Extension services#70.14.17.00.00
-unspsc7#70.14.17.06.00#Crop specialization#70.14.17.00.00
-unspsc7#70.14.17.07.00#Cultivation farming system management#70.14.17.00.00
-unspsc7#70.14.17.08.00#Crop rotation or diversification counseling services#70.14.17.00.00
-unspsc7#70.14.17.09.00#Plant taxonomy services#70.14.17.00.00
-unspsc7#70.14.17.10.00#Field crop entomology#70.14.17.00.00
-unspsc7#70.14.18.00.00#Crop planting and cultivation#70.14.00.00.00
-unspsc7#70.14.18.01.00#Orchard tree or vine planting services#70.14.18.00.00
-unspsc7#70.14.18.02.00#Sprout or twig services#70.14.18.00.00
-unspsc7#70.14.18.03.00#Crop cultivating services#70.14.18.00.00
-unspsc7#70.14.18.04.00#Crop planting services#70.14.18.00.00
-unspsc7#70.14.19.00.00#Crop harvesting#70.14.00.00.00
-unspsc7#70.14.19.01.00#Cash grains harvesting services#70.14.19.00.00
-unspsc7#70.14.19.02.00#Fruit or tree nuts harvesting services#70.14.19.00.00
-unspsc7#70.14.19.03.00#Field crop harvesting services#70.14.19.00.00
-unspsc7#70.14.19.04.00#Seed harvesting services#70.14.19.00.00
-unspsc7#70.14.20.00.00#Post harvesting crop processing#70.14.00.00.00
-unspsc7#70.14.20.01.00#Silos related services#70.14.20.00.00
-unspsc7#70.14.20.02.00#Grain dryers services#70.14.20.00.00
-unspsc7#70.14.20.03.00#Crop processing services#70.14.20.00.00
-unspsc7#70.14.20.04.00#Field crops market preparation services#70.14.20.00.00
-unspsc7#70.14.20.05.00#Cash grain crops market preparation services#70.14.20.00.00
-unspsc7#70.14.20.06.00#Vegetable crops market preparation services#70.14.20.00.00
-unspsc7#70.14.20.07.00#Fruit crops market preparation services#70.14.20.00.00
-unspsc7#70.14.20.08.00#Tree nut crops market preparation services#70.14.20.00.00
-unspsc7#70.14.20.09.00#Ginning services#70.14.20.00.00
-unspsc7#70.14.20.10.00#Crop cleaning services#70.14.20.00.00
-unspsc7#70.14.20.11.00#Cooling or refrigeration services#70.14.20.00.00
-unspsc7#70.14.20.12.00#Spraying services#70.14.20.00.00
-unspsc7#70.15.00.00.00#Forestry#70.00.00.00.00
-unspsc7#70.15.15.00.00#Forestry management#70.15.00.00.00
-unspsc7#70.15.15.01.00#Forest resources management services#70.15.15.00.00
-unspsc7#70.15.15.02.00#Forest pest control#70.15.15.00.00
-unspsc7#70.15.15.03.00#Forest organizations or associations or cooperatives#70.15.15.00.00
-unspsc7#70.15.15.04.00#Forest administration services#70.15.15.00.00
-unspsc7#70.15.15.05.00#Forest inventory#70.15.15.00.00
-unspsc7#70.15.15.06.00#Forest monitoring or evaluation#70.15.15.00.00
-unspsc7#70.15.15.07.00#Afforestation services#70.15.15.00.00
-unspsc7#70.15.15.08.00#Forestry extension services#70.15.15.00.00
-unspsc7#70.15.15.09.00#Forest nursery management#70.15.15.00.00
-unspsc7#70.15.15.10.00#Forest sectoral planning#70.15.15.00.00
-unspsc7#70.15.16.00.00#Forestry industry#70.15.00.00.00
-unspsc7#70.15.16.01.00#Nonwood production services#70.15.16.00.00
-unspsc7#70.15.16.02.00#Essential oils production#70.15.16.00.00
-unspsc7#70.15.16.03.00#Timber production services#70.15.16.00.00
-unspsc7#70.15.16.04.00#Dyes production#70.15.16.00.00
-unspsc7#70.15.16.05.00#Edible forestry production#70.15.16.00.00
-unspsc7#70.15.16.06.00#Wood testing services#70.15.16.00.00
-unspsc7#70.15.16.07.00#Timber production#70.15.16.00.00
-unspsc7#70.15.17.00.00#Forestry harvesting#70.15.00.00.00
-unspsc7#70.15.17.01.00#Logging or felling#70.15.17.00.00
-unspsc7#70.15.17.02.00#Forest harvesting mountainous areas#70.15.17.00.00
-unspsc7#70.15.17.03.00#Forest harvesting specialized operations#70.15.17.00.00
-unspsc7#70.15.17.04.00#Plantation harvesting#70.15.17.00.00
-unspsc7#70.15.17.05.00#Swamp or mangrove forest harvesting#70.15.17.00.00
-unspsc7#70.15.17.06.00#Temperate forest harvesting#70.15.17.00.00
-unspsc7#70.15.17.07.00#Tropical high forests harvesting#70.15.17.00.00
-unspsc7#70.15.18.00.00#Forestry conservation services#70.15.00.00.00
-unspsc7#70.15.18.01.00#Conservation of forest genetic resources#70.15.18.00.00
-unspsc7#70.15.18.02.00#Forest protection services#70.15.18.00.00
-unspsc7#70.15.18.03.00#Forest arid land rehabilitation#70.15.18.00.00
-unspsc7#70.15.18.04.00#Forest wind breaks or shelter belts#70.15.18.00.00
-unspsc7#70.15.18.05.00#Forest reserves or parks conservation services#70.15.18.00.00
-unspsc7#70.15.18.06.00#Forestry watershed management#70.15.18.00.00
-unspsc7#70.15.18.07.00#Forestry torrent control#70.15.18.00.00
-unspsc7#70.15.19.00.00#Forestry resources#70.15.00.00.00
-unspsc7#70.15.19.01.00#Forest resources development#70.15.19.00.00
-unspsc7#70.15.19.02.00#Agroforestry resources#70.15.19.00.00
-unspsc7#70.15.19.03.00#Fuel wood resources#70.15.19.00.00
-unspsc7#70.15.19.04.00#Silviculture#70.15.19.00.00
-unspsc7#70.15.19.05.00#Arid rainfed plantation resources#70.15.19.00.00
-unspsc7#70.15.19.06.00#Broad leafed plantation resources#70.15.19.00.00
-unspsc7#70.15.19.07.00#Conifers plantations#70.15.19.00.00
-unspsc7#70.15.19.09.00#Tropical rain forest plantations#70.15.19.00.00
-unspsc7#70.15.19.10.00#Mangrove swamps resources#70.15.19.00.00
-unspsc7#70.16.00.00.00#Wildlife and flora#70.00.00.00.00
-unspsc7#70.16.15.00.00#Fauna#70.16.00.00.00
-unspsc7#70.16.15.01.00#Fauna protection#70.16.15.00.00
-unspsc7#70.16.16.00.00#Flora#70.16.00.00.00
-unspsc7#70.16.16.01.00#Flora protection#70.16.16.00.00
-unspsc7#70.16.17.00.00#Ecosystems#70.16.00.00.00
-unspsc7#70.16.17.01.00#Ecodevelopment services#70.16.17.00.00
-unspsc7#70.16.17.02.00#Marine ecosystem management services#70.16.17.00.00
-unspsc7#70.16.17.03.00#Terrestrial ecosystem management services#70.16.17.00.00
-unspsc7#70.16.17.04.00#Ecosystems protection services#70.16.17.00.00
-unspsc7#70.17.00.00.00#Water resources development and oversight#70.00.00.00.00
-unspsc7#70.17.15.00.00#Development#70.17.00.00.00
-unspsc7#70.17.15.01.00#Water quality assessment services#70.17.15.00.00
-unspsc7#70.17.15.02.00#Water resources planning services#70.17.15.00.00
-unspsc7#70.17.15.03.00#Ground or surface water surveying#70.17.15.00.00
-unspsc7#70.17.15.04.00#Water resources mapping services#70.17.15.00.00
-unspsc7#70.17.15.05.00#River basin development#70.17.15.00.00
-unspsc7#70.17.15.06.00#Ground or surface water modeling services#70.17.15.00.00
-unspsc7#70.17.16.00.00#Oversight#70.17.00.00.00
-unspsc7#70.17.16.01.00#Water quality management#70.17.16.00.00
-unspsc7#70.17.16.02.00#Water testing services#70.17.16.00.00
-unspsc7#70.17.16.03.00#Floodplain management#70.17.16.00.00
-unspsc7#70.17.16.04.00#Water conservation advisory services#70.17.16.00.00
-unspsc7#70.17.16.05.00#Water rights advisory services#70.17.16.00.00
-unspsc7#70.17.16.06.00#Water resource recovery services#70.17.16.00.00
-unspsc7#70.17.16.07.00#Water pricing services#70.17.16.00.00
-unspsc7#70.17.17.00.00#Irrigation#70.17.00.00.00
-unspsc7#70.17.17.01.00#Canal maintenance or management services#70.17.17.00.00
-unspsc7#70.17.17.02.00#Dam maintenance or management services#70.17.17.00.00
-unspsc7#70.17.17.03.00#Reservoirs maintenance or management services#70.17.17.00.00
-unspsc7#70.17.17.04.00#Pumping station maintenance or management services#70.17.17.00.00
-unspsc7#70.17.17.05.00#Pipelines maintenance or management services#70.17.17.00.00
-unspsc7#70.17.17.06.00#Dike or embankment maintenance or management services#70.17.17.00.00
-unspsc7#70.17.17.07.00#Water well maintenance or management services#70.17.17.00.00
-unspsc7#70.17.17.08.00#Irrigation advisory services#70.17.17.00.00
-unspsc7#70.17.17.09.00#Irrigation systems management services#70.17.17.00.00
-unspsc7#70.17.18.00.00#Drainage services#70.17.00.00.00
-unspsc7#70.17.18.01.00#Land drainage services#70.17.18.00.00
-unspsc7#70.17.18.02.00#Storm water drainage#70.17.18.00.00
-unspsc7#70.17.18.03.00#Flood protection or control services#70.17.18.00.00
-unspsc7#71.00.00.00.00#Mining and Oil and Gas Services#71.00.00.00.00
-unspsc7#71.10.00.00.00#Mining services#71.00.00.00.00
-unspsc7#71.10.15.00.00#Mine exploration#71.10.00.00.00
-unspsc7#71.10.15.01.00#Mine development#71.10.15.00.00
-unspsc7#71.10.15.02.00#Test boring or core drilling#71.10.15.00.00
-unspsc7#71.10.16.00.00#Mine drilling and blasting services#71.10.00.00.00
-unspsc7#71.10.16.01.00#Shaft sinking#71.10.16.00.00
-unspsc7#71.10.16.02.00#Mine blasting services#71.10.16.00.00
-unspsc7#71.10.17.00.00#Extraction#71.10.00.00.00
-unspsc7#71.10.17.01.00#Shaft mining services#71.10.17.00.00
-unspsc7#71.10.17.02.00#Open pit mining services#71.10.17.00.00
-unspsc7#71.10.17.03.00#Strip mining services#71.10.17.00.00
-unspsc7#71.10.17.04.00#In situ leaching (ISL) services#71.10.17.00.00
-unspsc7#71.10.17.05.00#Pumping or draining#71.10.17.00.00
-unspsc7#71.10.17.06.00#Overburden removal#71.10.17.00.00
-unspsc7#71.10.17.07.00#Impoundment or storage of water services#71.10.17.00.00
-unspsc7#71.10.17.08.00#Soil flushing services#71.10.17.00.00
-unspsc7#71.10.17.09.00#Mine filling services#71.10.17.00.00
-unspsc7#71.11.00.00.00#Oil and gas exploration services#71.00.00.00.00
-unspsc7#71.11.15.00.00#Oil and gas exploration#71.11.00.00.00
-unspsc7#71.11.15.01.00#Seismographic surveys#71.11.15.00.00
-unspsc7#71.11.15.02.00#Offshore exploration#71.11.15.00.00
-unspsc7#71.11.15.03.00#Well surveying#71.11.15.00.00
-unspsc7#71.11.16.00.00#Well drilling and maintenance#71.11.00.00.00
-unspsc7#71.11.16.01.00#Directional drilling#71.11.16.00.00
-unspsc7#71.11.16.02.00#Oil well drilling#71.11.16.00.00
-unspsc7#71.11.16.03.00#Drilling of water intake wells#71.11.16.00.00
-unspsc7#71.11.16.04.00#Redrilling or reworking of wells#71.11.16.00.00
-unspsc7#71.11.16.05.00#Acidizing or chemical treating of wells#71.11.16.00.00
-unspsc7#71.11.16.06.00#Tool fishing services#71.11.16.00.00
-unspsc7#71.11.16.07.00#Oil well platform maintenance services#71.11.16.00.00
-unspsc7#71.11.17.00.00#Extraction services#71.11.00.00.00
-unspsc7#71.11.17.01.00#Flow rate measurement services#71.11.17.00.00
-unspsc7#71.11.17.02.00#Oil sampling services#71.11.17.00.00
-unspsc7#71.11.17.03.00#Oil field drilling or mud services#71.11.17.00.00
-unspsc7#71.11.17.04.00#Impound or storage of water#71.11.17.00.00
-unspsc7#71.11.18.00.00#Well restoration and reclamation#71.11.00.00.00
-unspsc7#71.11.18.01.00#Cleaning or swabbing of wells#71.11.18.00.00
-unspsc7#71.11.18.02.00#Soil flushing services#71.11.18.00.00
-unspsc7#71.11.18.03.00#Mine filling services#71.11.18.00.00
-unspsc7#71.11.18.04.00#Well plugging or abandonment services#71.11.18.00.00
-unspsc7#71.11.18.05.00#Cementing services for well casings#71.11.18.00.00
-unspsc7#71.11.19.00.00#Well emergency services#71.11.00.00.00
-unspsc7#71.11.19.01.00#Well fire fighting services#71.11.19.00.00
-unspsc7#71.11.19.02.00#Well capping services#71.11.19.00.00
-unspsc7#71.11.20.00.00#Cased hole well logging services#71.11.00.00.00
-unspsc7#71.11.20.01.00#Cased hole formation sampling testing services#71.11.20.00.00
-unspsc7#71.11.20.02.00#Casing thickness measurement services#71.11.20.00.00
-unspsc7#71.11.20.03.00#Chemical cutters services#71.11.20.00.00
-unspsc7#71.11.20.04.00#Electromagnetic pipe recovery services#71.11.20.00.00
-unspsc7#71.11.20.05.00#Well flow measurement services#71.11.20.00.00
-unspsc7#71.11.20.06.00#Well fluid density measurement services#71.11.20.00.00
-unspsc7#71.11.20.07.00#Well fluid temperature measurement services#71.11.20.00.00
-unspsc7#71.11.20.08.00#Free point tool services#71.11.20.00.00
-unspsc7#71.11.20.09.00#Gamma ray services#71.11.20.00.00
-unspsc7#71.11.20.10.00#Jet cutter services#71.11.20.00.00
-unspsc7#71.11.20.11.00#Measurement while perforating services#71.11.20.00.00
-unspsc7#71.11.20.12.00#Neutron porosity services#71.11.20.00.00
-unspsc7#71.11.20.13.00#Nuclear spectroscopy services#71.11.20.00.00
-unspsc7#71.11.20.14.00#Well packer services#71.11.20.00.00
-unspsc7#71.11.20.15.00#Permanent magnets pipe recovery services#71.11.20.00.00
-unspsc7#71.11.20.16.00#Well plugging services#71.11.20.00.00
-unspsc7#71.11.20.17.00#Well pressure measurement control services#71.11.20.00.00
-unspsc7#71.11.20.18.00#Production logging borehole fluid measurement services#71.11.20.00.00
-unspsc7#71.11.20.19.00#Production logging density measurement services#71.11.20.00.00
-unspsc7#71.11.20.20.00#Production logging downhole video services#71.11.20.00.00
-unspsc7#71.11.20.21.00#Production logging flow measurement services#71.11.20.00.00
-unspsc7#71.11.20.22.00#Production logging pressure measurement services#71.11.20.00.00
-unspsc7#71.11.20.23.00#Other production logging services#71.11.20.00.00
-unspsc7#71.11.20.24.00#Production logging temperature measurement services#71.11.20.00.00
-unspsc7#71.11.20.25.00#Severing colliding services#71.11.20.00.00
-unspsc7#71.11.20.26.00#Well logging sonic services#71.11.20.00.00
-unspsc7#71.11.20.27.00#Stuck point tool services#71.11.20.00.00
-unspsc7#71.11.20.28.00#Thermal decay well logging services#71.11.20.00.00
-unspsc7#71.11.20.29.00#Well tubular corrosion evaluation services#71.11.20.00.00
-unspsc7#71.11.20.30.00#Well performance services#71.11.20.00.00
-unspsc7#71.11.20.31.00#Well tubular services#71.11.20.00.00
-unspsc7#71.11.21.00.00#Open hole well logging services#71.11.00.00.00
-unspsc7#71.11.21.01.00#Digital sonic logging services#71.11.21.00.00
-unspsc7#71.11.21.02.00#Borehole geometry logging services#71.11.21.00.00
-unspsc7#71.11.21.03.00#Density lithology nuclear logging services#71.11.21.00.00
-unspsc7#71.11.21.04.00#Dipmeter logging services#71.11.21.00.00
-unspsc7#71.11.21.05.00#Dipole sonic logging services#71.11.21.00.00
-unspsc7#71.11.21.06.00#Directional logging services#71.11.21.00.00
-unspsc7#71.11.21.07.00#Directional survey services#71.11.21.00.00
-unspsc7#71.11.21.08.00#Electromagnetic propagation logging services#71.11.21.00.00
-unspsc7#71.11.21.09.00#Formation testing sampling services#71.11.21.00.00
-unspsc7#71.11.21.10.00#Fracture identification logging services#71.11.21.00.00
-unspsc7#71.11.21.11.00#Gamma ray logging services#71.11.21.00.00
-unspsc7#71.11.21.12.00#Gamma ray spectroscopy logging services#71.11.21.00.00
-unspsc7#71.11.21.13.00#Geochemical nuclear logging services#71.11.21.00.00
-unspsc7#71.11.21.14.00#Well imaging services#71.11.21.00.00
-unspsc7#71.11.21.15.00#Magnetic resonance logging services#71.11.21.00.00
-unspsc7#71.11.21.16.00#Microresistivity logging services#71.11.21.00.00
-unspsc7#71.11.21.17.00#Neutron porosity logging services#71.11.21.00.00
-unspsc7#71.11.21.18.00#Petrophysics services#71.11.21.00.00
-unspsc7#71.11.21.19.00#Resistivity logging services#71.11.21.00.00
-unspsc7#71.11.21.20.00#Slim access sonic logging services#71.11.21.00.00
-unspsc7#71.11.21.21.00#Sonic cement bond ratio logging services#71.11.21.00.00
-unspsc7#71.11.21.22.00#Well sonic imaging services#71.11.21.00.00
-unspsc7#71.11.22.00.00#Other logging services#71.11.00.00.00
-unspsc7#71.11.22.01.00#Logging with coiled tubing services#71.11.22.00.00
-unspsc7#71.11.22.02.00#Logging while drilling services#71.11.22.00.00
-unspsc7#71.11.22.03.00#Logging during fishing services#71.11.22.00.00
-unspsc7#71.11.22.04.00#Logging while perforating services#71.11.22.00.00
-unspsc7#71.11.22.05.00#Drill pipe conveyed well services#71.11.22.00.00
-unspsc7#71.11.22.06.00#General well logging services#71.11.22.00.00
-unspsc7#71.11.23.00.00#Seismic services#71.11.00.00.00
-unspsc7#71.11.23.01.00#Two dimensional land seismic acquisition services#71.11.23.00.00
-unspsc7#71.11.23.02.00#Two dimensional marine seismic acquisition services#71.11.23.00.00
-unspsc7#71.11.23.03.00#Two dimensional seismic data processing services#71.11.23.00.00
-unspsc7#71.11.23.04.00#Three dimensional land seismic acquisition services#71.11.23.00.00
-unspsc7#71.11.23.05.00#Three dimensional marine seismic acquisition services#71.11.23.00.00
-unspsc7#71.11.23.06.00#Three dimensional seismic data processing services#71.11.23.00.00
-unspsc7#71.11.23.07.00#Four dimensional land seismic acquisition services#71.11.23.00.00
-unspsc7#71.11.23.08.00#Four dimensional marine seismic acquisition services#71.11.23.00.00
-unspsc7#71.11.23.09.00#Four dimensional seismic data processing services#71.11.23.00.00
-unspsc7#71.11.23.10.00#Checkshot seismic services#71.11.23.00.00
-unspsc7#71.11.23.11.00#Cross well seismic services#71.11.23.00.00
-unspsc7#71.11.23.12.00#Deviated well seismic services#71.11.23.00.00
-unspsc7#71.11.23.13.00#Geophysics seismic services#71.11.23.00.00
-unspsc7#71.11.23.14.00#Offset seismic services#71.11.23.00.00
-unspsc7#71.11.23.15.00#Quickshot seismic services#71.11.23.00.00
-unspsc7#71.11.23.16.00#Seismic data acquisition while drilling services#71.11.23.00.00
-unspsc7#71.11.23.17.00#Slim hole seismic services#71.11.23.00.00
-unspsc7#71.11.23.18.00#Seismic survey evaluation or design services#71.11.23.00.00
-unspsc7#71.11.23.19.00#Vertical seismic services#71.11.23.00.00
-unspsc7#71.11.23.20.00#Walkaway seismic services#71.11.23.00.00
-unspsc7#71.11.23.21.00#Geological services#71.11.23.00.00
-unspsc7#71.12.00.00.00#Well drilling construction and maintenance services#71.00.00.00.00
-unspsc7#71.12.10.00.00#Cement pumping services#71.12.00.00.00
-unspsc7#71.12.10.01.00#Oilfield casing hardware services#71.12.10.00.00
-unspsc7#71.12.10.02.00#Oilfield cement lab testing services#71.12.10.00.00
-unspsc7#71.12.10.03.00#Downhole oilfield tools services#71.12.10.00.00
-unspsc7#71.12.10.04.00#Oilfield filtering services#71.12.10.00.00
-unspsc7#71.12.10.05.00#Foam cementing services#71.12.10.00.00
-unspsc7#71.12.10.06.00#Geothermal well cementing services#71.12.10.00.00
-unspsc7#71.12.10.07.00#Liner cementing services#71.12.10.00.00
-unspsc7#71.12.10.08.00#Oilwell lost circulation services#71.12.10.00.00
-unspsc7#71.12.10.09.00#Oilfield mud removal services#71.12.10.00.00
-unspsc7#71.12.10.10.00#Plug cementing services#71.12.10.00.00
-unspsc7#71.12.10.11.00#Well site pressure pumping services#71.12.10.00.00
-unspsc7#71.12.10.12.00#Oilfield pressure testing services#71.12.10.00.00
-unspsc7#71.12.10.13.00#Surface casing cementing services#71.12.10.00.00
-unspsc7#71.12.10.14.00#Intermediate casing cementing services#71.12.10.00.00
-unspsc7#71.12.10.15.00#Production string cementing services#71.12.10.00.00
-unspsc7#71.12.10.16.00#Squeeze well cementing services#71.12.10.00.00
-unspsc7#71.12.10.17.00#Well water control services#71.12.10.00.00
-unspsc7#71.12.10.18.00#Well cement evaluation services#71.12.10.00.00
-unspsc7#71.12.10.19.00#Well cement grouting services#71.12.10.00.00
-unspsc7#71.12.10.20.00#Well cementing additives services#71.12.10.00.00
-unspsc7#71.12.10.21.00#Well cementing design services#71.12.10.00.00
-unspsc7#71.12.10.22.00#Well cleaning services#71.12.10.00.00
-unspsc7#71.12.10.23.00#Well repair services#71.12.10.00.00
-unspsc7#71.12.11.00.00#Coiled tubing services#71.12.00.00.00
-unspsc7#71.12.11.01.00#Acidizing through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.02.00#Cable installation through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.03.00#Cementing through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.04.00#Chemical cutting through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.05.00#Clean out through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.06.00#Completion through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.07.00#Conveying inflatables through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.08.00#Coring through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.09.00#Extended reach well services#71.12.11.00.00
-unspsc7#71.12.11.10.00#Fishing through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.11.00#Fracturing through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.12.00#High pressure coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.13.00#Horizontal isolation oilfield services#71.12.11.00.00
-unspsc7#71.12.11.14.00#Logging with coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.15.00#Milling through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.16.00#Nitrogen related applications through coiled tubing#71.12.11.00.00
-unspsc7#71.12.11.17.00#Perforating through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.18.00#Pipeline or flowline laying services#71.12.11.00.00
-unspsc7#71.12.11.19.00#Pipeline intervention services#71.12.11.00.00
-unspsc7#71.12.11.20.00#Sand control through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.21.00#Abrasive tubular cleaning services#71.12.11.00.00
-unspsc7#71.12.11.22.00#Well kill through coiled tubing services#71.12.11.00.00
-unspsc7#71.12.11.23.00#Casing exit with coiled tubing services#71.12.11.00.00
-unspsc7#71.12.12.00.00#Coring services#71.12.00.00.00
-unspsc7#71.12.12.01.00#Conventional coring services#71.12.12.00.00
-unspsc7#71.12.12.02.00#Core isolation services#71.12.12.00.00
-unspsc7#71.12.12.03.00#Core preservation services#71.12.12.00.00
-unspsc7#71.12.12.04.00#Horizontal coring services#71.12.12.00.00
-unspsc7#71.12.12.05.00#Oriented coring services#71.12.12.00.00
-unspsc7#71.12.12.06.00#Rig site core analysis services#71.12.12.00.00
-unspsc7#71.12.12.07.00#Sponge coring services#71.12.12.00.00
-unspsc7#71.12.12.08.00#Wireline retrievable coring services#71.12.12.00.00
-unspsc7#71.12.13.00.00#Downhole tool services#71.12.00.00.00
-unspsc7#71.12.13.01.00#Downhole vibration control services#71.12.13.00.00
-unspsc7#71.12.13.02.00#Downhole hole opening services#71.12.13.00.00
-unspsc7#71.12.13.03.00#Reaming while drilling services#71.12.13.00.00
-unspsc7#71.12.13.04.00#Downhole torque or drag reduction services#71.12.13.00.00
-unspsc7#71.12.13.05.00#Downhole underreaming services#71.12.13.00.00
-unspsc7#71.12.14.00.00#Oilfield drilling bit services#71.12.00.00.00
-unspsc7#71.12.14.01.00#Oilfield drilling bit design services#71.12.14.00.00
-unspsc7#71.12.14.02.00#Oilfield drilling bit hydraulic optimization services#71.12.14.00.00
-unspsc7#71.12.14.03.00#Oilfield drilling bit planning services#71.12.14.00.00
-unspsc7#71.12.14.04.00#Oilfield drilling bit recording services#71.12.14.00.00
-unspsc7#71.12.14.05.00#Oilfield drilling bit repair services#71.12.14.00.00
-unspsc7#71.12.14.06.00#Oilfield drilling bit footage contracts#71.12.14.00.00
-unspsc7#71.12.14.07.00#Well site drilling optimization assistance service#71.12.14.00.00
-unspsc7#71.12.15.00.00#Drilling measurement services#71.12.00.00.00
-unspsc7#71.12.15.01.00#Acoustic measurement when drilling services#71.12.15.00.00
-unspsc7#71.12.15.02.00#Acoustic telemetry when drilling services#71.12.15.00.00
-unspsc7#71.12.15.03.00#Caliper measurement when drilling services#71.12.15.00.00
-unspsc7#71.12.15.04.00#Density measurement when drilling services#71.12.15.00.00
-unspsc7#71.12.15.05.00#Oilfield drilling performance services#71.12.15.00.00
-unspsc7#71.12.15.06.00#Electromagnetic telemetry when drilling services#71.12.15.00.00
-unspsc7#71.12.15.07.00#Formation dip measurement when drilling services#71.12.15.00.00
-unspsc7#71.12.15.08.00#Formation pressure measurement when drilling services#71.12.15.00.00
-unspsc7#71.12.15.09.00#Geologically steered wells#71.12.15.00.00
-unspsc7#71.12.15.10.00#Geostopping services#71.12.15.00.00
-unspsc7#71.12.15.11.00#Mud logging services#71.12.15.00.00
-unspsc7#71.12.15.12.00#Nuclear magnetic resonance services#71.12.15.00.00
-unspsc7#71.12.15.13.00#Porosity measurement when drilling services#71.12.15.00.00
-unspsc7#71.12.15.14.00#Resistivity measurement when drilling services#71.12.15.00.00
-unspsc7#71.12.15.15.00#Well surveying management services#71.12.15.00.00
-unspsc7#71.12.15.16.00#Surveying wireline services#71.12.15.00.00
-unspsc7#71.12.16.00.00#Oil well drilling services#71.12.00.00.00
-unspsc7#71.12.16.01.00#Well casing crew service#71.12.16.00.00
-unspsc7#71.12.16.02.00#Well casing planning services#71.12.16.00.00
-unspsc7#71.12.16.03.00#Well casing milling services#71.12.16.00.00
-unspsc7#71.12.16.04.00#Coiled tubing drilling services#71.12.16.00.00
-unspsc7#71.12.16.05.00#Well completion planning services#71.12.16.00.00
-unspsc7#71.12.16.06.00#Conventional well directional drilling services#71.12.16.00.00
-unspsc7#71.12.16.07.00#Well directional drilling services#71.12.16.00.00
-unspsc7#71.12.16.08.00#Well drilling contract development services#71.12.16.00.00
-unspsc7#71.12.16.09.00#Well drilling services#71.12.16.00.00
-unspsc7#71.12.16.10.00#Well drilling engineering services#71.12.16.00.00
-unspsc7#71.12.16.11.00#Well drilling mud or fluid services#71.12.16.00.00
-unspsc7#71.12.16.12.00#Well drilling of water intake well services#71.12.16.00.00
-unspsc7#71.12.16.13.00#Well drilling rig monitor services#71.12.16.00.00
-unspsc7#71.12.16.14.00#Well drilling solids control#71.12.16.00.00
-unspsc7#71.12.16.15.00#Well drilling stabilizing or hole opening services#71.12.16.00.00
-unspsc7#71.12.16.16.00#Well drilling supervision#71.12.16.00.00
-unspsc7#71.12.16.17.00#Well drilling control services#71.12.16.00.00
-unspsc7#71.12.16.18.00#Well drilling other general services#71.12.16.00.00
-unspsc7#71.12.16.19.00#Extended reach directional well drilling services#71.12.16.00.00
-unspsc7#71.12.16.20.00#Multilateral directional well drilling services#71.12.16.00.00
-unspsc7#71.12.16.21.00#Oil country tubular modification or testing services#71.12.16.00.00
-unspsc7#71.12.16.22.00#Well drilling pickup or laydown service#71.12.16.00.00
-unspsc7#71.12.16.23.00#Well drilling pipe storage#71.12.16.00.00
-unspsc7#71.12.16.24.00#Well drilling pipe threading#71.12.16.00.00
-unspsc7#71.12.16.25.00#Rathole well drilling service#71.12.16.00.00
-unspsc7#71.12.16.26.00#Short radius directional well drilling services#71.12.16.00.00
-unspsc7#71.12.16.27.00#Steerable underreaming while well drilling services#71.12.16.00.00
-unspsc7#71.12.16.28.00#Ultra short radius directional well drilling services#71.12.16.00.00
-unspsc7#71.12.16.29.00#Underbalanced well drilling services#71.12.16.00.00
-unspsc7#71.12.16.30.00#Well planning services#71.12.16.00.00
-unspsc7#71.12.16.31.00#Well redrilling or reworking services#71.12.16.00.00
-unspsc7#71.12.16.32.00#Well drilling deviation control#71.12.16.00.00
-unspsc7#71.12.16.33.00#Oilfield gravel packing services#71.12.16.00.00
-unspsc7#71.12.16.34.00#Oilfield hull systems services#71.12.16.00.00
-unspsc7#71.12.16.35.00#Rig well pulling crew services#71.12.16.00.00
-unspsc7#71.12.16.36.00#Wellhead equipment services#71.12.16.00.00
-unspsc7#71.12.16.37.00#Sidetracking with whipstock services#71.12.16.00.00
-unspsc7#71.12.17.00.00#Oilfield fishing services#71.12.00.00.00
-unspsc7#71.12.17.01.00#Oilfield fishing service design services#71.12.17.00.00
-unspsc7#71.12.17.02.00#Oilfield fishing service economic evaluation services#71.12.17.00.00
-unspsc7#71.12.17.03.00#Oilfield fishing service operation services#71.12.17.00.00
-unspsc7#71.12.17.04.00#Oilfield junk recovery services#71.12.17.00.00
-unspsc7#71.12.17.05.00#Oilfield pipe recovery service#71.12.17.00.00
-unspsc7#71.12.17.06.00#Oilfield fishing or drilling services#71.12.17.00.00
-unspsc7#71.12.18.00.00#Gas lift services#71.12.00.00.00
-unspsc7#71.12.18.01.00#Coiled tubing gas lift services#71.12.18.00.00
-unspsc7#71.12.18.02.00#Gas lift fixing or testing services#71.12.18.00.00
-unspsc7#71.12.18.03.00#Gas lift kickover services#71.12.18.00.00
-unspsc7#71.12.18.04.00#Gas lift sand containment services#71.12.18.00.00
-unspsc7#71.12.19.00.00#Down hole fluid services#71.12.00.00.00
-unspsc7#71.12.19.01.00#Down hole fluid evaluation services#71.12.19.00.00
-unspsc7#71.12.19.02.00#Down hole fluid laboratory services#71.12.19.00.00
-unspsc7#71.12.19.03.00#Down hole fluid sampling services#71.12.19.00.00
-unspsc7#71.12.20.00.00#Well perforating services#71.12.00.00.00
-unspsc7#71.12.20.01.00#Coiled tubing well perforating services#71.12.20.00.00
-unspsc7#71.12.20.02.00#Slickline well perforating services#71.12.20.00.00
-unspsc7#71.12.20.03.00#Through tubing well perforation services#71.12.20.00.00
-unspsc7#71.12.20.04.00#Tubing conveyed well perforating services#71.12.20.00.00
-unspsc7#71.12.20.05.00#Wireline well perforating services#71.12.20.00.00
-unspsc7#71.12.20.06.00#Well tubing puncher services#71.12.20.00.00
-unspsc7#71.12.21.00.00#Oilfield sand control services#71.12.00.00.00
-unspsc7#71.12.21.01.00#Acid sand control pumping services#71.12.21.00.00
-unspsc7#71.12.21.02.00#Sand control blending services#71.12.21.00.00
-unspsc7#71.12.21.03.00#Cleaning fluid sand control services#71.12.21.00.00
-unspsc7#71.12.21.04.00#Completion fluid sand control services#71.12.21.00.00
-unspsc7#71.12.21.05.00#Well consolidation services#71.12.21.00.00
-unspsc7#71.12.21.06.00#Oilfield filtering services#71.12.21.00.00
-unspsc7#71.12.21.07.00#Fracturing fluid sand control services#71.12.21.00.00
-unspsc7#71.12.21.08.00#Fracturing pre frac design testing services#71.12.21.00.00
-unspsc7#71.12.21.09.00#General sand control services#71.12.21.00.00
-unspsc7#71.12.21.10.00#Gravel carrier fluid sand control services#71.12.21.00.00
-unspsc7#71.12.21.11.00#Sand control lab testing services#71.12.21.00.00
-unspsc7#71.12.21.12.00#Multizone sand control services#71.12.21.00.00
-unspsc7#71.12.21.13.00#Sand control monitoring services#71.12.21.00.00
-unspsc7#71.12.21.14.00#Sand control temporary isolation services#71.12.21.00.00
-unspsc7#71.12.21.15.00#Well tool redressing services#71.12.21.00.00
-unspsc7#71.12.21.16.00#Non fracturing sand control pumping services#71.12.21.00.00
-unspsc7#71.12.22.00.00#Slickline services#71.12.00.00.00
-unspsc7#71.12.22.01.00#Slickline fishing services#71.12.22.00.00
-unspsc7#71.12.22.02.00#Slickline lifting services#71.12.22.00.00
-unspsc7#71.12.22.03.00#Slickline manipulation services#71.12.22.00.00
-unspsc7#71.12.23.00.00#Subsea well services#71.12.00.00.00
-unspsc7#71.12.23.01.00#Subsea well diving services#71.12.23.00.00
-unspsc7#71.12.23.02.00#Subsea well remote operation vehicle rov services#71.12.23.00.00
-unspsc7#71.12.23.03.00#Subsea well fixturing or test equipment services#71.12.23.00.00
-unspsc7#71.12.23.04.00#Subsea well intervention or completion services#71.12.23.00.00
-unspsc7#71.12.23.05.00#Subsea well safety test tree services#71.12.23.00.00
-unspsc7#71.12.23.06.00#Subsea well equipment maintenance services#71.12.23.00.00
-unspsc7#71.12.24.00.00#Well testing services#71.12.00.00.00
-unspsc7#71.12.24.01.00#Drill stem flow metering services#71.12.24.00.00
-unspsc7#71.12.24.02.00#Drill stem surface testing services#71.12.24.00.00
-unspsc7#71.12.24.03.00#Drill stem testing packer services#71.12.24.00.00
-unspsc7#71.12.24.04.00#Drill stem testing pressure control test services#71.12.24.00.00
-unspsc7#71.12.24.05.00#Drill stem testing pulse operated test services#71.12.24.00.00
-unspsc7#71.12.24.06.00#Drill stem testing for ultra high press high temp environment services#71.12.24.00.00
-unspsc7#71.12.24.07.00#Drill stem testing services#71.12.24.00.00
-unspsc7#71.12.24.08.00#Periodic well testing services#71.12.24.00.00
-unspsc7#71.12.24.09.00#Surface well testing services#71.12.24.00.00
-unspsc7#71.12.24.10.00#Underbalanced testing while drilling services#71.12.24.00.00
-unspsc7#71.12.25.00.00#Water or gas control services#71.12.00.00.00
-unspsc7#71.12.25.01.00#Water or gas control design services#71.12.25.00.00
-unspsc7#71.12.25.02.00#Water or gas control evaluation services#71.12.25.00.00
-unspsc7#71.12.25.03.00#Water or gas control isolation services#71.12.25.00.00
-unspsc7#71.12.25.04.00#Water or gas control testing services#71.12.25.00.00
-unspsc7#71.12.25.05.00#Water or gas testing services#71.12.25.00.00
-unspsc7#71.12.26.00.00#Well completion services#71.12.00.00.00
-unspsc7#71.12.26.01.00#Well casing completion services#71.12.26.00.00
-unspsc7#71.12.26.02.00#Well completion fluids services#71.12.26.00.00
-unspsc7#71.12.26.03.00#Gas lift well completion services#71.12.26.00.00
-unspsc7#71.12.26.04.00#Horizontal cased hole services#71.12.26.00.00
-unspsc7#71.12.26.05.00#Horizontal open hole services#71.12.26.00.00
-unspsc7#71.12.26.06.00#Intelligent well completion services#71.12.26.00.00
-unspsc7#71.12.26.07.00#Liner well completion services#71.12.26.00.00
-unspsc7#71.12.26.08.00#Multilateral well completion services#71.12.26.00.00
-unspsc7#71.12.26.09.00#Permanent well completion services#71.12.26.00.00
-unspsc7#71.12.26.10.00#Sand control well completion services#71.12.26.00.00
-unspsc7#71.12.26.11.00#Temporary drill stem testing well completion services#71.12.26.00.00
-unspsc7#71.12.26.12.00#Tubing well completion services#71.12.26.00.00
-unspsc7#71.12.26.13.00#Underbalanced well completion services#71.12.26.00.00
-unspsc7#71.12.27.00.00#Well maintenance services#71.12.00.00.00
-unspsc7#71.12.27.01.00#Oil well platform maintenance services#71.12.27.00.00
-unspsc7#71.12.27.02.00#Oilfield pumping unit maintenance services#71.12.27.00.00
-unspsc7#71.12.27.03.00#Oilfield rod pump repair services#71.12.27.00.00
-unspsc7#71.12.27.04.00#Oilfield snubbing service#71.12.27.00.00
-unspsc7#71.12.27.05.00#Oilfield sucker rod maintenance services#71.12.27.00.00
-unspsc7#71.12.27.06.00#Well swabbing services#71.12.27.00.00
-unspsc7#71.12.27.07.00#Oilfield tubing anchor services#71.12.27.00.00
-unspsc7#71.12.27.08.00#Oilfield pump mechanic services#71.12.27.00.00
-unspsc7#71.12.28.00.00#Well monitoring services#71.12.00.00.00
-unspsc7#71.12.28.01.00#Downhole recording services#71.12.28.00.00
-unspsc7#71.12.28.02.00#Well flow monitoring services#71.12.28.00.00
-unspsc7#71.12.28.03.00#Oil or gas well monitoring services#71.12.28.00.00
-unspsc7#71.12.28.04.00#Well site phase monitoring services#71.12.28.00.00
-unspsc7#71.12.28.05.00#Well site pump monitoring services#71.12.28.00.00
-unspsc7#71.12.28.06.00#Well site surface data acquisition services#71.12.28.00.00
-unspsc7#71.12.28.07.00#Well site surface readout services#71.12.28.00.00
-unspsc7#71.12.28.08.00#Well site surface recording services#71.12.28.00.00
-unspsc7#71.12.28.09.00#Surface well testing services#71.12.28.00.00
-unspsc7#71.12.28.10.00#Subsurface well testing services#71.12.28.00.00
-unspsc7#71.12.29.00.00#Oilfield rigs#71.12.00.00.00
-unspsc7#71.12.29.01.00#Deepwater oilfield rig services#71.12.29.00.00
-unspsc7#71.12.29.02.00#Jackup oilfield rig services#71.12.29.00.00
-unspsc7#71.12.29.03.00#Barge oilfield rig services#71.12.29.00.00
-unspsc7#71.12.29.04.00#Land oilfield rig services#71.12.29.00.00
-unspsc7#71.12.29.05.00#Platform oilfield rig services#71.12.29.00.00
-unspsc7#71.13.00.00.00#Oil and gas extraction and production enhancement services#71.00.00.00.00
-unspsc7#71.13.10.00.00#Well fracturing services#71.13.00.00.00
-unspsc7#71.13.10.01.00#Acid based fluid well fracturing services#71.13.10.00.00
-unspsc7#71.13.10.02.00#Emulsion based fluid well fracturing services#71.13.10.00.00
-unspsc7#71.13.10.03.00#Foam based fluid well fracturing services#71.13.10.00.00
-unspsc7#71.13.10.04.00#Oil well fracturing services#71.13.10.00.00
-unspsc7#71.13.10.05.00#Oil well scale control services#71.13.10.00.00
-unspsc7#71.13.10.06.00#Well fracture testing services#71.13.10.00.00
-unspsc7#71.13.10.07.00#Well fracturing downhole evaluation services#71.13.10.00.00
-unspsc7#71.13.10.08.00#Well fracturing height control services#71.13.10.00.00
-unspsc7#71.13.10.09.00#Well fracturing monitoring services#71.13.10.00.00
-unspsc7#71.13.10.10.00#Well fracturing service design services#71.13.10.00.00
-unspsc7#71.13.10.11.00#Well fracturing service evaluation services#71.13.10.00.00
-unspsc7#71.13.10.12.00#Well fracturing surface evaluation services#71.13.10.00.00
-unspsc7#71.13.10.13.00#Well fracturing treatment quality control services#71.13.10.00.00
-unspsc7#71.13.10.14.00#Oil based fluid well fracturing services#71.13.10.00.00
-unspsc7#71.13.10.15.00#Other well fracturing services#71.13.10.00.00
-unspsc7#71.13.10.16.00#Well fracturing stress management services#71.13.10.00.00
-unspsc7#71.13.10.17.00#Water based fluid well fracturing services#71.13.10.00.00
-unspsc7#71.13.11.00.00#Matrix stimulation services#71.13.00.00.00
-unspsc7#71.13.11.01.00#Acid based matrix stimulation services#71.13.11.00.00
-unspsc7#71.13.11.02.00#Formation sealer matrix stimulation services#71.13.11.00.00
-unspsc7#71.13.11.03.00#Matrix organic cleanup services#71.13.11.00.00
-unspsc7#71.13.11.04.00#Matrix organic inhibition services#71.13.11.00.00
-unspsc7#71.13.11.05.00#Matrix scale cleanup services#71.13.11.00.00
-unspsc7#71.13.11.06.00#Matrix scale inhibition services#71.13.11.00.00
-unspsc7#71.13.11.07.00#Matrix treatment design services#71.13.11.00.00
-unspsc7#71.13.11.08.00#Matrix treatment diversion services#71.13.11.00.00
-unspsc7#71.13.11.09.00#Matrix treatment evaluation services#71.13.11.00.00
-unspsc7#71.13.11.10.00#Matrix treatment quality control services#71.13.11.00.00
-unspsc7#71.13.11.11.00#Non acid based matrix stimulation services#71.13.11.00.00
-unspsc7#71.13.12.00.00#Oilfield nitrogen services#71.13.00.00.00
-unspsc7#71.13.12.01.00#Nitrogen well services#71.13.12.00.00
-unspsc7#71.13.13.00.00#Other oilfield pumping services#71.13.00.00.00
-unspsc7#71.13.13.01.00#Bottom intake oilfield pumping services#71.13.13.00.00
-unspsc7#71.13.13.02.00#Cable deployed oilfield pumping services#71.13.13.00.00
-unspsc7#71.13.13.03.00#Co2 oilfield pumping services#71.13.13.00.00
-unspsc7#71.13.13.04.00#Coiled tubing deployed oilfield pumping services#71.13.13.00.00
-unspsc7#71.13.13.05.00#Downhole pumping services#71.13.13.00.00
-unspsc7#71.13.13.06.00#Dual completion well services#71.13.13.00.00
-unspsc7#71.13.13.07.00#Horizontal pumping well services#71.13.13.00.00
-unspsc7#71.13.13.08.00#Oilfield pumping installation pull or operation services#71.13.13.00.00
-unspsc7#71.13.13.09.00#Well profile modification services#71.13.13.00.00
-unspsc7#71.13.13.10.00#Oilfield spooling services#71.13.13.00.00
-unspsc7#71.13.14.00.00#Well production services#71.13.00.00.00
-unspsc7#71.13.14.01.00#Oilfield flare system services#71.13.14.00.00
-unspsc7#71.13.14.02.00#Oilfield hot oil or water service#71.13.14.00.00
-unspsc7#71.13.14.03.00#Oilfield steaming services#71.13.14.00.00
-unspsc7#71.14.00.00.00#Oil and gas restoration and reclamation services#71.00.00.00.00
-unspsc7#71.14.10.00.00#Emergency well control services#71.14.00.00.00
-unspsc7#71.14.10.01.00#Well pressure control services#71.14.10.00.00
-unspsc7#71.14.10.02.00#Well capping services#71.14.10.00.00
-unspsc7#71.14.10.03.00#Well fire fighting services#71.14.10.00.00
-unspsc7#71.14.10.04.00#Wild well control services#71.14.10.00.00
-unspsc7#71.14.11.00.00#Well plugging and abandonment services#71.14.00.00.00
-unspsc7#71.14.11.01.00#Well abandonment services#71.14.11.00.00
-unspsc7#71.14.11.02.00#Well plugging services#71.14.11.00.00
-unspsc7#71.14.12.00.00#Well site restoration#71.14.00.00.00
-unspsc7#71.14.12.01.00#Well cleaning or swabbing services#71.14.12.00.00
-unspsc7#71.14.12.02.00#Well site restoration services#71.14.12.00.00
-unspsc7#71.15.00.00.00#Oil and gas data management and processing services#71.00.00.00.00
-unspsc7#71.15.10.00.00#Oilfield data communication services#71.15.00.00.00
-unspsc7#71.15.10.01.00#Log data transmission services#71.15.10.00.00
-unspsc7#71.15.10.02.00#Log graphics transmission services#71.15.10.00.00
-unspsc7#71.15.10.03.00#Real time well data monitoring services#71.15.10.00.00
-unspsc7#71.15.10.04.00#Satellite well data transmission services#71.15.10.00.00
-unspsc7#71.15.10.05.00#Well data transmission services#71.15.10.00.00
-unspsc7#71.15.11.00.00#Oilfield data management services#71.15.00.00.00
-unspsc7#71.15.11.01.00#Oilfield asset data management services#71.15.11.00.00
-unspsc7#71.15.11.02.00#Oilfield data mining services#71.15.11.00.00
-unspsc7#71.15.11.03.00#Log data management services#71.15.11.00.00
-unspsc7#71.15.11.04.00#Oilfield mapping data management services#71.15.11.00.00
-unspsc7#71.15.11.05.00#Seismic data management services#71.15.11.00.00
-unspsc7#71.15.12.00.00#Oilfield economic and risk model services#71.15.00.00.00
-unspsc7#71.15.12.01.00#Oilfield budgeting services#71.15.12.00.00
-unspsc7#71.15.12.02.00#Oilfield capital planning services#71.15.12.00.00
-unspsc7#71.15.12.03.00#Oilfield decision tree services#71.15.12.00.00
-unspsc7#71.15.13.00.00#Oilfield interpretation services#71.15.00.00.00
-unspsc7#71.15.13.01.00#Oilfield bubble map services#71.15.13.00.00
-unspsc7#71.15.13.02.00#Oilfield case studies#71.15.13.00.00
-unspsc7#71.15.13.03.00#Oilfield decline analysis#71.15.13.00.00
-unspsc7#71.15.13.04.00#Oilfield field studies#71.15.13.00.00
-unspsc7#71.15.13.05.00#Oilfield fracturing interpretation services#71.15.13.00.00
-unspsc7#71.15.13.06.00#Geology services#71.15.13.00.00
-unspsc7#71.15.13.07.00#Geophysics services#71.15.13.00.00
-unspsc7#71.15.13.08.00#Gravel pack interpretation services#71.15.13.00.00
-unspsc7#71.15.13.09.00#Oilfield grid mapping services#71.15.13.00.00
-unspsc7#71.15.13.10.00#Oilfield mapping or visualization services#71.15.13.00.00
-unspsc7#71.15.13.11.00#Petrophysics services#71.15.13.00.00
-unspsc7#71.15.13.12.00#Reservoir engineering services#71.15.13.00.00
-unspsc7#71.15.13.13.00#Reservoir modeling services#71.15.13.00.00
-unspsc7#71.15.13.14.00#Reservoir simulation services#71.15.13.00.00
-unspsc7#71.15.13.15.00#Rock mechanics services#71.15.13.00.00
-unspsc7#71.15.14.00.00#Well service engineering#71.15.00.00.00
-unspsc7#71.15.14.01.00#Well cementing job design services#71.15.14.00.00
-unspsc7#71.15.14.02.00#Coiled tubing job design services#71.15.14.00.00
-unspsc7#71.15.14.03.00#Well drilling job design services#71.15.14.00.00
-unspsc7#71.15.14.04.00#Well fracturing job design services#71.15.14.00.00
-unspsc7#71.15.14.05.00#Matrix stimulation job design services#71.15.14.00.00
-unspsc7#71.15.14.06.00#Well sand control job design services#71.15.14.00.00
-unspsc7#71.16.00.00.00#Oil and gas well project management services#71.00.00.00.00
-unspsc7#71.16.10.00.00#Oilfield Modeling Services#71.16.00.00.00
-unspsc7#71.16.10.01.00#Oilfield completion models#71.16.10.00.00
-unspsc7#71.16.10.02.00#Oilfield drilling models#71.16.10.00.00
-unspsc7#71.16.10.03.00#Oilfield economic models#71.16.10.00.00
-unspsc7#71.16.10.04.00#Oilfield field development models#71.16.10.00.00
-unspsc7#71.16.10.05.00#Oilfield production models#71.16.10.00.00
-unspsc7#71.16.10.06.00#Oilfield risk management services#71.16.10.00.00
-unspsc7#71.16.11.00.00#Oilfield production engineering management#71.16.00.00.00
-unspsc7#71.16.11.01.00#Oilfield artificial lift services#71.16.11.00.00
-unspsc7#71.16.11.02.00#Enhanced oil recovery services#71.16.11.00.00
-unspsc7#71.16.11.03.00#Well injection services#71.16.11.00.00
-unspsc7#71.16.11.04.00#Oilfield nodal analysis services#71.16.11.00.00
-unspsc7#71.16.11.05.00#Well perforation services#71.16.11.00.00
-unspsc7#71.16.11.06.00#Oilfield production chemistry services#71.16.11.00.00
-unspsc7#71.16.11.07.00#Oilfield production monitoring services#71.16.11.00.00
-unspsc7#71.16.11.08.00#Oilfield sand control services#71.16.11.00.00
-unspsc7#71.16.11.09.00#Well stimulation services#71.16.11.00.00
-unspsc7#71.16.11.10.00#Underground gas storage services#71.16.11.00.00
-unspsc7#71.16.11.11.00#Oilfield water management services#71.16.11.00.00
-unspsc7#71.16.12.00.00#Oilfield production operations management#71.16.00.00.00
-unspsc7#71.16.12.01.00#Oilfield hot oiling service#71.16.12.00.00
-unspsc7#71.16.12.02.00#Oilfield lease operations#71.16.12.00.00
-unspsc7#71.16.12.03.00#Oilfield logging services#71.16.12.00.00
-unspsc7#71.16.12.04.00#Oilfield paraffin cutting service#71.16.12.00.00
-unspsc7#71.16.12.05.00#Oilfield planning services#71.16.12.00.00
-unspsc7#71.16.12.06.00#Oilfield processing services#71.16.12.00.00
-unspsc7#71.16.12.07.00#Well testing services#71.16.12.00.00
-unspsc7#71.16.13.00.00#Oilfield project management services#71.16.00.00.00
-unspsc7#71.16.13.01.00#Oilfield audits or inspection services#71.16.13.00.00
-unspsc7#71.16.13.02.00#Oilfield emergency response planning services#71.16.13.00.00
-unspsc7#71.16.13.03.00#Oilfield field development services#71.16.13.00.00
-unspsc7#71.16.13.04.00#Oilfield performance monitoring services#71.16.13.00.00
-unspsc7#71.16.13.05.00#Oilfield reporting services#71.16.13.00.00
-unspsc7#71.16.13.06.00#Oilfield succession plan or handover services#71.16.13.00.00
-unspsc7#71.16.13.07.00#Oilfield training matrix services#71.16.13.00.00
-unspsc7#71.16.13.08.00#Well site logistics or procurement services#71.16.13.00.00
-unspsc7#71.16.14.00.00#Well construction management services#71.16.00.00.00
-unspsc7#71.16.14.01.00#Coiled tubing drilling services#71.16.14.00.00
-unspsc7#71.16.14.02.00#Well completion engineering services#71.16.14.00.00
-unspsc7#71.16.14.03.00#Deadman anchor services#71.16.14.00.00
-unspsc7#71.16.14.04.00#Well drilling engineering services#71.16.14.00.00
-unspsc7#71.16.14.05.00#Well site pit lining services#71.16.14.00.00
-unspsc7#71.16.14.06.00#Well plug or abandonment service#71.16.14.00.00
-unspsc7#71.16.14.07.00#Well pulling unit services#71.16.14.00.00
-unspsc7#71.16.14.08.00#Shorebase services#71.16.14.00.00
-unspsc7#71.16.14.09.00#Test pit lining services#71.16.14.00.00
-unspsc7#71.16.14.10.00#Well site vacuum truck services#71.16.14.00.00
-unspsc7#71.16.14.11.00#Underbalanced applications engineering services#71.16.14.00.00
-unspsc7#71.16.14.12.00#Well workover services#71.16.14.00.00
-unspsc7#71.16.14.13.00#Well fabrication or construction services#71.16.14.00.00
-unspsc7#71.16.15.00.00#Well site operations services#71.16.00.00.00
-unspsc7#71.16.15.01.00#Well site electrical or instrumentation services#71.16.15.00.00
-unspsc7#71.16.15.02.00#Well site heavy equipment or crane services#71.16.15.00.00
-unspsc7#71.16.15.03.00#Well site inspection or equipment testing services#71.16.15.00.00
-unspsc7#71.16.15.04.00#Well site instrument and meter services#71.16.15.00.00
-unspsc7#71.16.15.05.00#Well site valve or valve part services#71.16.15.00.00
-unspsc7#72.00.00.00.00#Building and Construction and Maintenance Services#72.00.00.00.00
-unspsc7#72.10.00.00.00#Building construction and support and maintenance and repair services#72.00.00.00.00
-unspsc7#72.10.15.00.00#Building support services#72.10.00.00.00
-unspsc7#72.10.15.01.00#Handyman services#72.10.15.00.00
-unspsc7#72.10.15.02.00#Scaffolding services#72.10.15.00.00
-unspsc7#72.10.15.03.00#Rigging services#72.10.15.00.00
-unspsc7#72.10.15.04.00#Disaster proofing or contingency services#72.10.15.00.00
-unspsc7#72.10.15.05.00#Locksmith services#72.10.15.00.00
-unspsc7#72.10.16.00.00#Roofing and siding and sheet metal work#72.10.00.00.00
-unspsc7#72.10.16.01.00#Roofing installation or repair#72.10.16.00.00
-unspsc7#72.10.16.02.00#Skylight installation#72.10.16.00.00
-unspsc7#72.10.16.03.00#Gutter or downspout services#72.10.16.00.00
-unspsc7#72.10.16.04.00#Architectural sheet metal work#72.10.16.00.00
-unspsc7#72.10.16.05.00#Ceiling erection or repair#72.10.16.00.00
-unspsc7#72.10.16.06.00#Chute installation#72.10.16.00.00
-unspsc7#72.10.16.07.00#Siding installation or repair#72.10.16.00.00
-unspsc7#72.10.17.00.00#Concrete work#72.10.00.00.00
-unspsc7#72.10.17.01.00#Exterior concrete or stucco services#72.10.17.00.00
-unspsc7#72.10.17.02.00#Grouting services#72.10.17.00.00
-unspsc7#72.10.17.03.00#Sidewalk or curb construction#72.10.17.00.00
-unspsc7#72.10.17.04.00#Foundation or slab work#72.10.17.00.00
-unspsc7#72.10.18.00.00#Exterior cleaning#72.10.00.00.00
-unspsc7#72.10.18.01.00#Sandblasting#72.10.18.00.00
-unspsc7#72.10.18.02.00#High pressure water blasting#72.10.18.00.00
-unspsc7#72.10.18.03.00#Steam cleaning#72.10.18.00.00
-unspsc7#72.10.19.00.00#Interior finishing#72.10.00.00.00
-unspsc7#72.10.19.01.00#Interior design or decorating#72.10.19.00.00
-unspsc7#72.10.19.02.00#Plastering or drywall#72.10.19.00.00
-unspsc7#72.10.19.03.00#Finish carpentry or cabinetry#72.10.19.00.00
-unspsc7#72.10.20.00.00#Coating and caulking and weather and water and fireproofing#72.10.00.00.00
-unspsc7#72.10.20.01.00#Caulking#72.10.20.00.00
-unspsc7#72.10.20.02.00#Plastic encasement or coating of structural materials#72.10.20.00.00
-unspsc7#72.10.20.03.00#Coating or glazing of metal or wood or concrete structural materials#72.10.20.00.00
-unspsc7#72.10.20.04.00#Dampproofing#72.10.20.00.00
-unspsc7#72.10.20.05.00#Fireproofing of buildings#72.10.20.00.00
-unspsc7#72.10.20.06.00#Wrapping of pipes#72.10.20.00.00
-unspsc7#72.10.21.00.00#Pest control#72.10.00.00.00
-unspsc7#72.10.21.01.00#Bird proofing services#72.10.21.00.00
-unspsc7#72.10.21.02.00#Termite control services#72.10.21.00.00
-unspsc7#72.10.21.03.00#Extermination or fumigation services#72.10.21.00.00
-unspsc7#72.10.21.04.00#Structural pest control#72.10.21.00.00
-unspsc7#72.10.21.05.00#Animal trapping#72.10.21.00.00
-unspsc7#72.10.21.06.00#Rodent control#72.10.21.00.00
-unspsc7#72.10.22.00.00#Electrical services#72.10.00.00.00
-unspsc7#72.10.22.01.00#Electric power systems installation or service#72.10.22.00.00
-unspsc7#72.10.22.02.00#Electronic controls installation#72.10.22.00.00
-unspsc7#72.10.22.03.00#Communication equipment installation#72.10.22.00.00
-unspsc7#72.10.22.04.00#Safety or security systems installation#72.10.22.00.00
-unspsc7#72.10.22.05.00#Cabling service#72.10.22.00.00
-unspsc7#72.10.23.00.00#Plumbing and heating and air conditioning#72.10.00.00.00
-unspsc7#72.10.23.01.00#Boiler installation or adjustment or maintenance or repair services#72.10.23.00.00
-unspsc7#72.10.23.02.00#Heating systems installation repair or maintenance#72.10.23.00.00
-unspsc7#72.10.23.03.00#Plumbing system construction#72.10.23.00.00
-unspsc7#72.10.23.04.00#Plumbing system maintenance or repair#72.10.23.00.00
-unspsc7#72.10.23.05.00#Air conditioning installation or maintenance or repair services#72.10.23.00.00
-unspsc7#72.10.24.00.00#Painting and paper hanging#72.10.00.00.00
-unspsc7#72.10.24.01.00#Exterior painting services#72.10.24.00.00
-unspsc7#72.10.24.02.00#Interior painting services#72.10.24.00.00
-unspsc7#72.10.24.03.00#Wallcovering services#72.10.24.00.00
-unspsc7#72.10.24.04.00#Industrial or specialized paint application for aircraft or ship or bridge#72.10.24.00.00
-unspsc7#72.10.24.05.00#Pavement marking services#72.10.24.00.00
-unspsc7#72.10.25.00.00#Masonry and stonework and tile setting#72.10.00.00.00
-unspsc7#72.10.25.01.00#Bricklaying#72.10.25.00.00
-unspsc7#72.10.25.02.00#Chimney construction or maintenance#72.10.25.00.00
-unspsc7#72.10.25.03.00#Marble or stone or tile installation#72.10.25.00.00
-unspsc7#72.10.25.04.00#Retaining wall construction#72.10.25.00.00
-unspsc7#72.10.25.05.00#Fresco work#72.10.25.00.00
-unspsc7#72.10.25.06.00#Acoustical#72.10.25.00.00
-unspsc7#72.10.25.07.00#Insulating material installation#72.10.25.00.00
-unspsc7#72.10.25.08.00#Restoration of masonry or stonework or tile#72.10.25.00.00
-unspsc7#72.10.26.00.00#Carpentry#72.10.00.00.00
-unspsc7#72.10.26.01.00#Rough carpentry#72.10.26.00.00
-unspsc7#72.10.26.02.00#Windows or door or fixture installation#72.10.26.00.00
-unspsc7#72.10.26.03.00#Furniture installation#72.10.26.00.00
-unspsc7#72.10.27.00.00#Flooring service#72.10.00.00.00
-unspsc7#72.10.27.01.00#Floor sheathing or laying or installation or finishing#72.10.27.00.00
-unspsc7#72.10.27.02.00#Floor covering installation or maintenance#72.10.27.00.00
-unspsc7#72.10.27.03.00#Floor cleaning services#72.10.27.00.00
-unspsc7#72.10.28.00.00#Refurbishing services#72.10.00.00.00
-unspsc7#72.10.28.01.00#Renovation of buildings or landmarks or monuments#72.10.28.00.00
-unspsc7#72.10.28.02.00#Restoration of buildings or landmarks or monuments#72.10.28.00.00
-unspsc7#72.10.29.00.00#Grounds maintenance services#72.10.00.00.00
-unspsc7#72.10.29.01.00#Snow Removal Services#72.10.29.00.00
-unspsc7#72.10.29.02.00#Landscaping services#72.10.29.00.00
-unspsc7#72.10.30.00.00#Site preparation services#72.10.00.00.00
-unspsc7#72.10.30.01.00#Land clearing services#72.10.30.00.00
-unspsc7#72.10.30.02.00#Land levelling services#72.10.30.00.00
-unspsc7#72.10.30.03.00#Demolition services#72.10.30.00.00
-unspsc7#72.10.30.04.00#Digging services#72.10.30.00.00
-unspsc7#72.11.00.00.00#General building construction#72.00.00.00.00
-unspsc7#72.11.15.00.00#Private housing#72.11.00.00.00
-unspsc7#72.11.15.01.00#Single family housing construction or remodeling or repair#72.11.15.00.00
-unspsc7#72.11.15.02.00#Residential multi tenant construction or remodeling or repair#72.11.15.00.00
-unspsc7#72.11.16.00.00#Industrial plants#72.11.00.00.00
-unspsc7#72.11.16.01.00#Commercial office building construction or remodeling or renovation or repair#72.11.16.00.00
-unspsc7#72.11.16.02.00#Industrial buildings or warehouse construction or remodeling or renovation or repair#72.11.16.00.00
-unspsc7#72.11.17.00.00#Public use buildings#72.11.00.00.00
-unspsc7#72.11.17.01.00#Specialized public use building construction#72.11.17.00.00
-unspsc7#72.11.17.02.00#Non residential agricultural building construction#72.11.17.00.00
-unspsc7#72.11.17.03.00#Service station or service garage construction#72.11.17.00.00
-unspsc7#72.11.17.04.00#Commercial building construction or erection or renovation or repair#72.11.17.00.00
-unspsc7#72.11.18.00.00#Commercial buildings#72.11.00.00.00
-unspsc7#72.11.18.01.00#Restaurant construction or renovation or repair or maintenance#72.11.18.00.00
-unspsc7#72.11.18.02.00#Shopping center or store construction or renovation or repair or maintenance#72.11.18.00.00
-unspsc7#72.11.18.03.00#Office building construction or renovation or repair or maintenance#72.11.18.00.00
-unspsc7#72.11.18.04.00#Bathroom renovation#72.11.18.00.00
-unspsc7#72.11.19.00.00#Land and building site preparation#72.11.00.00.00
-unspsc7#72.11.19.01.00#Land clearing#72.11.19.00.00
-unspsc7#72.11.19.02.00#Land leveling#72.11.19.00.00
-unspsc7#72.11.19.03.00#Building demolition#72.11.19.00.00
-unspsc7#72.12.00.00.00#Infrastructure construction and maintenance#72.00.00.00.00
-unspsc7#72.12.15.00.00#Highways and streets#72.12.00.00.00
-unspsc7#72.12.15.01.00#Highway or street or road construction#72.12.15.00.00
-unspsc7#72.12.15.02.00#Highway or street or road surfacing or paving or maintenance#72.12.15.00.00
-unspsc7#72.12.15.03.00#Highway or street guardrail construction or maintenance#72.12.15.00.00
-unspsc7#72.12.15.04.00#Highway or street sign or traffic signal installation#72.12.15.00.00
-unspsc7#72.12.16.00.00#Water and sewer and utility lines#72.12.00.00.00
-unspsc7#72.12.16.01.00#Electric power line construction or installation#72.12.16.00.00
-unspsc7#72.12.16.02.00#Cable laying#72.12.16.00.00
-unspsc7#72.12.16.03.00#Aqueduct construction or maintenance#72.12.16.00.00
-unspsc7#72.12.16.04.00#Sewer line construction or maintenance#72.12.16.00.00
-unspsc7#72.12.16.05.00#Water main construction or maintenance#72.12.16.00.00
-unspsc7#72.12.16.06.00#Voice or data line construction or maintenance#72.12.16.00.00
-unspsc7#72.12.16.07.00#Water industrial plant construction#72.12.16.00.00
-unspsc7#72.12.17.00.00#Dams and marine construction#72.12.00.00.00
-unspsc7#72.12.17.01.00#Dam construction or maintenance#72.12.17.00.00
-unspsc7#72.12.17.02.00#Pier or dock construction or maintenance#72.12.17.00.00
-unspsc7#72.12.17.03.00#Harbor or breakwater construction or maintenance#72.12.17.00.00
-unspsc7#72.12.17.04.00#Dyke or levee construction or maintenance#72.12.17.00.00
-unspsc7#72.12.17.05.00#Dredging or caisson drilling#72.12.17.00.00
-unspsc7#72.12.17.06.00#Canal or drainage or irrigation system construction or maintenance#72.12.17.00.00
-unspsc7#72.12.17.07.00#Pond construction or maintenance#72.12.17.00.00
-unspsc7#72.12.18.00.00#Railroads and subways and tramways#72.12.00.00.00
-unspsc7#72.12.18.01.00#Cutting of right of way#72.12.18.00.00
-unspsc7#72.12.18.02.00#Railroad construction or maintenance#72.12.18.00.00
-unspsc7#72.12.18.03.00#Subway construction or maintenance#72.12.18.00.00
-unspsc7#72.12.18.04.00#Tram construction or maintenance#72.12.18.00.00
-unspsc7#72.12.19.00.00#Airports and aviation#72.12.00.00.00
-unspsc7#72.12.19.01.00#Airport runway construction#72.12.19.00.00
-unspsc7#72.12.19.02.00#Airport terminal construction#72.12.19.00.00
-unspsc7#72.12.19.03.00#Helipad construction#72.12.19.00.00
-unspsc7#72.12.20.00.00#Bridges and tunnels and viaducts#72.12.00.00.00
-unspsc7#72.12.20.01.00#Bridge construction or maintenance#72.12.20.00.00
-unspsc7#72.12.20.02.00#Tunnel construction or maintenance#72.12.20.00.00
-unspsc7#72.12.20.03.00#Viaduct construction or maintenance#72.12.20.00.00
-unspsc7#72.12.21.00.00#Construction quantity surveyors#72.12.00.00.00
-unspsc7#72.12.21.01.00#Water or wastewater quantity surveyors#72.12.21.00.00
-unspsc7#72.12.22.00.00#Construction consultancy services#72.12.00.00.00
-unspsc7#72.12.22.01.00#Site supervision#72.12.22.00.00
-unspsc7#72.12.22.02.00#Industrial plant design#72.12.22.00.00
-unspsc7#73.00.00.00.00#Industrial Production and Manufacturing Services#73.00.00.00.00
-unspsc7#73.10.00.00.00#Plastic and chemical industries#73.00.00.00.00
-unspsc7#73.10.15.00.00#Petrochemical and plastic production#73.10.00.00.00
-unspsc7#73.10.15.01.00#Petroleum refining services#73.10.15.00.00
-unspsc7#73.10.15.02.00#Natural gas production services#73.10.15.00.00
-unspsc7#73.10.15.03.00#Oils or greases production services#73.10.15.00.00
-unspsc7#73.10.15.04.00#Coal production services#73.10.15.00.00
-unspsc7#73.10.15.05.00#Plastics or resins or fibers manufacturing services#73.10.15.00.00
-unspsc7#73.10.15.06.00#Credit card production or embossing services#73.10.15.00.00
-unspsc7#73.10.16.00.00#Chemicals and fertilizers production#73.10.00.00.00
-unspsc7#73.10.16.01.00#Inorganic chemicals production services#73.10.16.00.00
-unspsc7#73.10.16.02.00#Soda ash or chlorine or caustic soda production services#73.10.16.00.00
-unspsc7#73.10.16.03.00#Inorganic acids production services#73.10.16.00.00
-unspsc7#73.10.16.04.00#Organic chemical production services#73.10.16.00.00
-unspsc7#73.10.16.05.00#Acetylene or derivatives production services#73.10.16.00.00
-unspsc7#73.10.16.06.00#Ethylene or derivatives production services#73.10.16.00.00
-unspsc7#73.10.16.07.00#Ethanol or methanol or derivatives production services#73.10.16.00.00
-unspsc7#73.10.16.08.00#Fertilizers production services#73.10.16.00.00
-unspsc7#73.10.16.09.00#Potash mining or processing services#73.10.16.00.00
-unspsc7#73.10.16.10.00#Pesticide production services#73.10.16.00.00
-unspsc7#73.10.16.11.00#Paints or varnishes or lacquers production services#73.10.16.00.00
-unspsc7#73.10.16.12.00#Soap or cleaning preparations or perfumes or cosmetics production services#73.10.16.00.00
-unspsc7#73.10.16.13.00#Solvents or glycols or detergents production services#73.10.16.00.00
-unspsc7#73.10.16.14.00#Ferments or enzymes services#73.10.16.00.00
-unspsc7#73.10.17.00.00#Pharmaceutical production#73.10.00.00.00
-unspsc7#73.10.17.01.00#Drugs or medicine production services#73.10.17.00.00
-unspsc7#73.10.17.02.00#Vaccines or sera or antibiotics production services#73.10.17.00.00
-unspsc7#73.10.17.03.00#Parapharmaceutical production services#73.10.17.00.00
-unspsc7#73.10.18.00.00#Biochemical and biotechnology production#73.10.00.00.00
-unspsc7#73.10.18.01.00#Biomass production services#73.10.18.00.00
-unspsc7#73.10.18.02.00#Bioprotein production services#73.10.18.00.00
-unspsc7#73.10.19.00.00#Rubber production#73.10.00.00.00
-unspsc7#73.10.19.01.00#Rubber milling services#73.10.19.00.00
-unspsc7#73.10.19.02.00#Rubber tires or tubes production services#73.10.19.00.00
-unspsc7#73.10.19.03.00#Rubber or plastic footwear production services#73.10.19.00.00
-unspsc7#73.11.00.00.00#Wood and paper industries#73.00.00.00.00
-unspsc7#73.11.15.00.00#Wood processing#73.11.00.00.00
-unspsc7#73.11.15.01.00#Sawmilling services#73.11.15.00.00
-unspsc7#73.11.15.02.00#Veneer production services#73.11.15.00.00
-unspsc7#73.11.15.03.00#Wood base panels manufacturing services#73.11.15.00.00
-unspsc7#73.11.15.04.00#Wooden containers manufacturing services#73.11.15.00.00
-unspsc7#73.11.15.05.00#Furniture manufacturing services#73.11.15.00.00
-unspsc7#73.11.15.06.00#Cork products manufacturing services#73.11.15.00.00
-unspsc7#73.11.15.07.00#Cane or wickerware processing services#73.11.15.00.00
-unspsc7#73.11.16.00.00#Pulp and paper processing#73.11.00.00.00
-unspsc7#73.11.16.01.00#Pulp production services#73.11.16.00.00
-unspsc7#73.11.16.02.00#Paper or paper board production services#73.11.16.00.00
-unspsc7#73.11.16.03.00#Hardboard or fiberboard production services#73.11.16.00.00
-unspsc7#73.11.16.04.00#Paper production or recycling services#73.11.16.00.00
-unspsc7#73.12.00.00.00#Metal and mineral industries#73.00.00.00.00
-unspsc7#73.12.15.00.00#Metal smelting and refining and forming processes#73.12.00.00.00
-unspsc7#73.12.15.01.00#Ferrous alloy production services#73.12.15.00.00
-unspsc7#73.12.15.02.00#Basic metal combination processes services#73.12.15.00.00
-unspsc7#73.12.15.03.00#Refractors services for iron or steel production#73.12.15.00.00
-unspsc7#73.12.15.04.00#Iron or steel making services#73.12.15.00.00
-unspsc7#73.12.15.05.00#Iron or steel forging services#73.12.15.00.00
-unspsc7#73.12.15.06.00#Pre finishing iron or steel processes services#73.12.15.00.00
-unspsc7#73.12.15.07.00#Finishing metal processing services#73.12.15.00.00
-unspsc7#73.12.15.08.00#Smelting metal services#73.12.15.00.00
-unspsc7#73.12.15.09.00#Refining metal services#73.12.15.00.00
-unspsc7#73.12.16.00.00#Metal finishing#73.12.00.00.00
-unspsc7#73.12.16.01.00#Metal cutting services#73.12.16.00.00
-unspsc7#73.12.16.02.00#Blacksmith services#73.12.16.00.00
-unspsc7#73.12.16.03.00#Metal heating services#73.12.16.00.00
-unspsc7#73.12.16.04.00#Metal plating or replating services#73.12.16.00.00
-unspsc7#73.12.16.05.00#Metal rolling operations#73.12.16.00.00
-unspsc7#73.12.16.06.00#Metal forging services#73.12.16.00.00
-unspsc7#73.12.16.07.00#Metal drawing services#73.12.16.00.00
-unspsc7#73.12.16.08.00#Metal extruding services#73.12.16.00.00
-unspsc7#73.12.16.09.00#Surface metal finishing or treatment services#73.12.16.00.00
-unspsc7#73.12.16.10.00#Horseshoeing services#73.12.16.00.00
-unspsc7#73.12.16.11.00#Tinsmithing services#73.12.16.00.00
-unspsc7#73.12.16.12.00#Rebabbiting services#73.12.16.00.00
-unspsc7#73.12.16.13.00#Metal casting services#73.12.16.00.00
-unspsc7#73.12.17.00.00#Welding and brazing and soldering#73.12.00.00.00
-unspsc7#73.12.17.01.00#Welding services#73.12.17.00.00
-unspsc7#73.12.17.02.00#Brazing services#73.12.17.00.00
-unspsc7#73.12.17.03.00#Soldering services#73.12.17.00.00
-unspsc7#73.12.17.04.00#Casting services#73.12.17.00.00
-unspsc7#73.12.18.00.00#Non metallic mineral products industry services#73.12.00.00.00
-unspsc7#73.12.18.01.00#Pottery or china or earthenware manufacturing services#73.12.18.00.00
-unspsc7#73.12.18.02.00#Glass or glass products manufacturing services#73.12.18.00.00
-unspsc7#73.12.18.03.00#Structural clay products manufacturing services#73.12.18.00.00
-unspsc7#73.12.18.04.00#Cement or lime or plaster manufacturing services#73.12.18.00.00
-unspsc7#73.12.18.05.00#Concrete or aggregates or stone products manufacturing services#73.12.18.00.00
-unspsc7#73.12.18.06.00#Abrasives manufacturing services#73.12.18.00.00
-unspsc7#73.12.18.07.00#Asbestos products manufacturing services#73.12.18.00.00
-unspsc7#73.13.00.00.00#Food and beverage industries#73.00.00.00.00
-unspsc7#73.13.15.00.00#Beverage processing#73.13.00.00.00
-unspsc7#73.13.15.01.00#Spirits distilling or blending services#73.13.15.00.00
-unspsc7#73.13.15.02.00#Wine processing services#73.13.15.00.00
-unspsc7#73.13.15.03.00#Brewery processing services#73.13.15.00.00
-unspsc7#73.13.15.04.00#Non alcoholic fruit based beverage processing services#73.13.15.00.00
-unspsc7#73.13.15.05.00#Water beverages processing services#73.13.15.00.00
-unspsc7#73.13.15.06.00#Infused beverages processing services#73.13.15.00.00
-unspsc7#73.13.15.07.00#Coffee processing services#73.13.15.00.00
-unspsc7#73.13.15.08.00#Tea processing services#73.13.15.00.00
-unspsc7#73.13.16.00.00#Meat and poultry and seafood processing#73.13.00.00.00
-unspsc7#73.13.16.01.00#Meat products or by products processing services#73.13.16.00.00
-unspsc7#73.13.16.02.00#Fish or fish products processing services#73.13.16.00.00
-unspsc7#73.13.16.03.00#Poultry processing services#73.13.16.00.00
-unspsc7#73.13.16.04.00#Meat hygiene or inspection services#73.13.16.00.00
-unspsc7#73.13.16.05.00#Meat plant operation or management services#73.13.16.00.00
-unspsc7#73.13.16.06.00#Slaughter houses services#73.13.16.00.00
-unspsc7#73.13.16.07.00#Butcher services#73.13.16.00.00
-unspsc7#73.13.16.08.00#Cold storage services#73.13.16.00.00
-unspsc7#73.13.17.00.00#Fruits and vegetables processing#73.13.00.00.00
-unspsc7#73.13.17.01.00#Fruit or vegetable cleaning services#73.13.17.00.00
-unspsc7#73.13.17.02.00#Fruit or vegetable spraying services#73.13.17.00.00
-unspsc7#73.13.17.03.00#Fruit or vegetable packing services#73.13.17.00.00
-unspsc7#73.13.18.00.00#Dairy and eggs processing#73.13.00.00.00
-unspsc7#73.13.18.01.00#Milk processing services#73.13.18.00.00
-unspsc7#73.13.18.02.00#Egg processing services#73.13.18.00.00
-unspsc7#73.13.18.03.00#Cheese processing services#73.13.18.00.00
-unspsc7#73.13.18.04.00#Butter or cream processing services#73.13.18.00.00
-unspsc7#73.13.19.00.00#Grains and sugar and oils and fat processing#73.13.00.00.00
-unspsc7#73.13.19.01.00#Milling services#73.13.19.00.00
-unspsc7#73.13.19.02.00#Cereal products processing services#73.13.19.00.00
-unspsc7#73.13.19.03.00#Sugar or sugar products processing services#73.13.19.00.00
-unspsc7#73.13.19.04.00#Vegetable oils or fats processing services#73.13.19.00.00
-unspsc7#73.13.19.05.00#Spice processing services#73.13.19.00.00
-unspsc7#73.13.19.06.00#Bakery products processing services#73.13.19.00.00
-unspsc7#73.14.00.00.00#Fibers and textiles and fabric industries#73.00.00.00.00
-unspsc7#73.14.15.00.00#Fiber production#73.14.00.00.00
-unspsc7#73.14.15.01.00#Rayon or acetate fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.15.02.00#Glass fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.15.03.00#Silk fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.15.04.00#Cotton fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.15.05.00#Wool fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.15.06.00#Polyester fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.15.07.00#Polyamide fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.15.08.00#Acrylic fiber manufacturing services#73.14.15.00.00
-unspsc7#73.14.16.00.00#Thread and yarn processing#73.14.00.00.00
-unspsc7#73.14.16.01.00#Thread processing services#73.14.16.00.00
-unspsc7#73.14.16.02.00#Yarn processing services#73.14.16.00.00
-unspsc7#73.14.17.00.00#Fabrics and leather production#73.14.00.00.00
-unspsc7#73.14.17.01.00#Broad woven fabrics manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.02.00#Narrow woven fabrics manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.03.00#Knitwear manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.04.00#Carpet or rug manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.05.00#Cordage or rope or twine manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.06.00#Dyeing or printing or finishing services#73.14.17.00.00
-unspsc7#73.14.17.07.00#Woven suits or coats or overcoats manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.08.00#Woven outerwear clothing manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.09.00#Fur dressing or dyeing services#73.14.17.00.00
-unspsc7#73.14.17.10.00#Leather footwear manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.11.00#Leather luggage or handbags manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.12.00#Leather tanning or finishing manufacturing services#73.14.17.00.00
-unspsc7#73.14.17.13.00#Nonwoven fabric services#73.14.17.00.00
-unspsc7#73.14.17.14.00#Braided yarn or fabric services#73.14.17.00.00
-unspsc7#73.14.17.15.00#Industrial sewing services#73.14.17.00.00
-unspsc7#73.15.00.00.00#Manufacturing support services#73.00.00.00.00
-unspsc7#73.15.15.00.00#Assembly services#73.15.00.00.00
-unspsc7#73.15.15.01.00#Assembly line work#73.15.15.00.00
-unspsc7#73.15.15.02.00#Joint sealing services#73.15.15.00.00
-unspsc7#73.15.16.00.00#Packaging services#73.15.00.00.00
-unspsc7#73.15.16.01.00#Canning plants services#73.15.16.00.00
-unspsc7#73.15.16.02.00#Packaging of agricultural by products services#73.15.16.00.00
-unspsc7#73.15.16.03.00#Packaging of non food products services#73.15.16.00.00
-unspsc7#73.15.16.04.00#Packaging of pharmaceuticals services#73.15.16.00.00
-unspsc7#73.15.16.05.00#Point of purchase display packaging services#73.15.16.00.00
-unspsc7#73.15.16.06.00#Manual hand packaging services#73.15.16.00.00
-unspsc7#73.15.16.07.00#Machine assisted packaging services#73.15.16.00.00
-unspsc7#73.15.17.00.00#Material treatment#73.15.00.00.00
-unspsc7#73.15.17.01.00#Water proofing material treatment services#73.15.17.00.00
-unspsc7#73.15.17.02.00#Fire protection material treatment services#73.15.17.00.00
-unspsc7#73.15.17.03.00#Anticorrosion material treatment services#73.15.17.00.00
-unspsc7#73.15.18.00.00#Converting services#73.15.00.00.00
-unspsc7#73.15.18.01.00#Sheeting services#73.15.18.00.00
-unspsc7#73.15.18.02.00#Slitting services#73.15.18.00.00
-unspsc7#73.15.18.03.00#Die cutting services#73.15.18.00.00
-unspsc7#73.15.18.04.00#Folding services#73.15.18.00.00
-unspsc7#73.15.18.05.00#Laminating services#73.15.18.00.00
-unspsc7#73.15.19.00.00#Industrial printing services#73.15.00.00.00
-unspsc7#73.15.19.01.00#Flexographic industrial printing services#73.15.19.00.00
-unspsc7#73.15.19.02.00#Rotogravure industrial printing services#73.15.19.00.00
-unspsc7#73.15.19.03.00#Screen industrial printing services#73.15.19.00.00
-unspsc7#73.15.19.04.00#Offset industrial printing services#73.15.19.00.00
-unspsc7#73.15.19.05.00#Digital industrial printing services#73.15.19.00.00
-unspsc7#73.15.19.06.00#Thermal transfer industrial printing services#73.15.19.00.00
-unspsc7#73.15.20.00.00#Filling Services#73.15.00.00.00
-unspsc7#73.15.20.01.00#Liquid filling services#73.15.20.00.00
-unspsc7#73.15.20.02.00#Aerosol filling services#73.15.20.00.00
-unspsc7#73.15.20.03.00#Paste filling services#73.15.20.00.00
-unspsc7#73.15.20.04.00#Powder filling services#73.15.20.00.00
-unspsc7#73.15.21.00.00#Manufacturing equipment maintenance and repair services#73.15.00.00.00
-unspsc7#73.15.21.01.00#Manufacturing equipment maintenance services#73.15.21.00.00
-unspsc7#73.15.21.02.00#Manufacturing equipment repair services#73.15.21.00.00
-unspsc7#73.16.00.00.00#Machinery and transport equipment manufacture#73.00.00.00.00
-unspsc7#73.16.15.00.00#Manufacture of machinery#73.16.00.00.00
-unspsc7#73.16.15.01.00#Engine or turbine manufacturing services#73.16.15.00.00
-unspsc7#73.16.15.02.00#Agricultural machinery or equipment manufacturing services#73.16.15.00.00
-unspsc7#73.16.15.03.00#Machine tools or metal or wood working manufacturing services#73.16.15.00.00
-unspsc7#73.16.15.04.00#Special industrial plants or machinery manufacturing services#73.16.15.00.00
-unspsc7#73.16.15.05.00#Construction machinery or equipment manufacturing services#73.16.15.00.00
-unspsc7#73.16.15.06.00#Mining machinery or equipment manufacturing services#73.16.15.00.00
-unspsc7#73.16.15.07.00#Food products machinery or equipment manufacturing services#73.16.15.00.00
-unspsc7#73.16.15.08.00#Paper printing machinery or equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.09.00#Metallurgical machinery or equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.10.00#Chemical or pharmaceutical machinery or equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.11.00#Cement plant machinery or equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.12.00#Textile machinery or equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.13.00#Power plant boilers manufacture services#73.16.15.00.00
-unspsc7#73.16.15.14.00#Furnaces or ovens manufacture services#73.16.15.00.00
-unspsc7#73.16.15.15.00#Office machinery or equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.16.00#Lifting or hoisting or conveying equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.17.00#Air conditioning or ventilating or refrigeration equipment manufacture services#73.16.15.00.00
-unspsc7#73.16.15.18.00#Domestic appliances or machines except electrical manufacture services#73.16.15.00.00
-unspsc7#73.16.15.19.00#Pumps or compressors manufacture services#73.16.15.00.00
-unspsc7#73.16.16.00.00#Manufacture of transport equipment#73.16.00.00.00
-unspsc7#73.16.16.01.00#Fishing ship or boat building services#73.16.16.00.00
-unspsc7#73.16.16.02.00#Railroad rolling stock manufacture services#73.16.16.00.00
-unspsc7#73.16.16.03.00#Locomotive manufacture services#73.16.16.00.00
-unspsc7#73.16.16.04.00#Motor vehicles manufacture services#73.16.16.00.00
-unspsc7#73.16.16.05.00#Motor vehicles parts or accessories manufacture services#73.16.16.00.00
-unspsc7#73.16.16.06.00#Motorcycle or bicycle manufacture services#73.16.16.00.00
-unspsc7#73.16.16.07.00#Air or spacecraft manufacture services#73.16.16.00.00
-unspsc7#73.17.00.00.00#Manufacture of electrical goods and precision instruments#73.00.00.00.00
-unspsc7#73.17.15.00.00#Manufacture of electrical goods#73.17.00.00.00
-unspsc7#73.17.15.01.00#Power generation or transmission or distribution equipment manufacture services#73.17.15.00.00
-unspsc7#73.17.15.02.00#Dry or storage battery manufacture services#73.17.15.00.00
-unspsc7#73.17.15.03.00#Electrical tools manufacture services#73.17.15.00.00
-unspsc7#73.17.15.04.00#Measuring or testing instruments manufacture services#73.17.15.00.00
-unspsc7#73.17.15.05.00#Radio or television manufacture services#73.17.15.00.00
-unspsc7#73.17.15.06.00#Communication equipment manufacture services#73.17.15.00.00
-unspsc7#73.17.15.07.00#Electrical household appliances manufacture services#73.17.15.00.00
-unspsc7#73.17.15.08.00#Insulated wire or cable manufacture services#73.17.15.00.00
-unspsc7#73.17.15.09.00#Electrical accessories manufacture services#73.17.15.00.00
-unspsc7#73.17.15.10.00#Electrical accessories or supplies manufacture services#73.17.15.00.00
-unspsc7#73.17.15.11.00#Electronic equipment manufacture services#73.17.15.00.00
-unspsc7#73.17.15.12.00#Electronic computers or data processing equipment manufacture services#73.17.15.00.00
-unspsc7#73.17.16.00.00#Manufacture of precision instruments#73.17.00.00.00
-unspsc7#73.17.16.01.00#Scientific instruments or measuring equipment manufacture services#73.17.16.00.00
-unspsc7#73.17.16.02.00#Medical or dental equipment manufacture services#73.17.16.00.00
-unspsc7#73.17.16.03.00#Photographic or optical equipment manufacture services#73.17.16.00.00
-unspsc7#73.17.16.04.00#Watches or clocks manufacture services#73.17.16.00.00
-unspsc7#73.17.16.05.00#Laboratory equipment manufacture services#73.17.16.00.00
-unspsc7#73.18.00.00.00#Machining and processing services#73.00.00.00.00
-unspsc7#73.18.10.00.00#Machining services#73.18.00.00.00
-unspsc7#73.18.10.01.00#Turning services#73.18.10.00.00
-unspsc7#73.18.10.02.00#Electro discharge machining (EDM) services#73.18.10.00.00
-unspsc7#73.18.10.03.00#Electro chemical machining (ECM) services#73.18.10.00.00
-unspsc7#73.18.10.04.00#Chem milling services#73.18.10.00.00
-unspsc7#73.18.10.05.00#Punching services#73.18.10.00.00
-unspsc7#73.18.10.06.00#Stamping services#73.18.10.00.00
-unspsc7#73.18.10.07.00#Boring services#73.18.10.00.00
-unspsc7#73.18.10.08.00#Drilling services#73.18.10.00.00
-unspsc7#73.18.10.09.00#Tapping services#73.18.10.00.00
-unspsc7#73.18.10.10.00#Laser services#73.18.10.00.00
-unspsc7#73.18.10.11.00#Bending services#73.18.10.00.00
-unspsc7#73.18.10.12.00#Grinding services#73.18.10.00.00
-unspsc7#73.18.10.13.00#Shot blasting services#73.18.10.00.00
-unspsc7#73.18.10.14.00#Polishing services#73.18.10.00.00
-unspsc7#73.18.10.15.00#Flame cutting services#73.18.10.00.00
-unspsc7#73.18.10.16.00#Laser cutting services#73.18.10.00.00
-unspsc7#73.18.10.17.00#Plasma cutting services#73.18.10.00.00
-unspsc7#73.18.10.18.00#Water jet cutting services#73.18.10.00.00
-unspsc7#73.18.10.19.00#Rolling Services#73.18.10.00.00
-unspsc7#73.18.10.20.00#Surface treatment services#73.18.10.00.00
-unspsc7#73.18.10.21.00#Milling services#73.18.10.00.00
-unspsc7#73.18.10.22.00#Spraying services#73.18.10.00.00
-unspsc7#73.18.10.23.00#Sharpening service#73.18.10.00.00
-unspsc7#73.18.11.00.00#Coating services#73.18.00.00.00
-unspsc7#73.18.11.01.00#Electro coating services#73.18.11.00.00
-unspsc7#73.18.11.02.00#Dipping services#73.18.11.00.00
-unspsc7#73.18.11.03.00#Wrapping services#73.18.11.00.00
-unspsc7#73.18.11.04.00#Painting services#73.18.11.00.00
-unspsc7#73.18.11.05.00#Web coating services#73.18.11.00.00
-unspsc7#73.18.11.06.00#Plating services#73.18.11.00.00
-unspsc7#73.18.12.00.00#Forming services#73.18.00.00.00
-unspsc7#73.18.12.01.00#Draw forming services#73.18.12.00.00
-unspsc7#73.18.12.02.00#Hydro forming services#73.18.12.00.00
-unspsc7#73.18.12.03.00#Roll forming services#73.18.12.00.00
-unspsc7#73.18.12.04.00#Stretch forming services#73.18.12.00.00
-unspsc7#73.18.12.05.00#Spin forming services#73.18.12.00.00
-unspsc7#73.18.12.06.00#Explosive forming services#73.18.12.00.00
-unspsc7#73.18.13.00.00#Heat treatment services#73.18.00.00.00
-unspsc7#73.18.13.01.00#Quench and temper services#73.18.13.00.00
-unspsc7#73.18.13.02.00#Annealing services#73.18.13.00.00
-unspsc7#73.18.13.03.00#Normalizing services#73.18.13.00.00
-unspsc7#73.18.13.04.00#Aging or stabilizing services#73.18.13.00.00
-unspsc7#73.18.19.00.00#Welding and brazing and soldering services#73.18.00.00.00
-unspsc7#73.18.19.01.00#Arc welding services#73.18.19.00.00
-unspsc7#73.18.19.02.00#Metal inert gas (MIG) welding services#73.18.19.00.00
-unspsc7#73.18.19.03.00#Tungsten inert gas (TIG) welding services#73.18.19.00.00
-unspsc7#73.18.19.04.00#Laser welding services#73.18.19.00.00
-unspsc7#73.18.19.05.00#Spot welding services#73.18.19.00.00
-unspsc7#73.18.19.06.00#Projection welding services#73.18.19.00.00
-unspsc7#73.18.19.07.00#Brazing services#73.18.19.00.00
-unspsc7#73.18.19.08.00#Soldering services#73.18.19.00.00
-unspsc7#76.00.00.00.00#Industrial Cleaning Services#76.00.00.00.00
-unspsc7#76.10.00.00.00#Decontamination services#76.00.00.00.00
-unspsc7#76.10.15.00.00#Disinfection#76.10.00.00.00
-unspsc7#76.10.15.01.00#Washroom sanitation services#76.10.15.00.00
-unspsc7#76.10.15.02.00#Rest room cleaning services#76.10.15.00.00
-unspsc7#76.10.15.03.00#Disinfection or deodorizing services#76.10.15.00.00
-unspsc7#76.10.16.00.00#Hazardous material decontamination#76.10.00.00.00
-unspsc7#76.10.16.01.00#Radioactive decontamination services#76.10.16.00.00
-unspsc7#76.10.16.02.00#Asbestos decontamination or removal#76.10.16.00.00
-unspsc7#76.11.00.00.00#Cleaning and janitorial services#76.00.00.00.00
-unspsc7#76.11.15.00.00#General building and office cleaning services#76.11.00.00.00
-unspsc7#76.11.15.01.00#Building cleaning services#76.11.15.00.00
-unspsc7#76.11.15.02.00#Building maintenance or repair services#76.11.15.00.00
-unspsc7#76.11.15.03.00#Lighting maintenance services#76.11.15.00.00
-unspsc7#76.11.15.04.00#Window or window blind cleaning services#76.11.15.00.00
-unspsc7#76.11.16.00.00#Building component cleaning services#76.11.00.00.00
-unspsc7#76.11.16.01.00#Acoustical tile or ceiling cleaning services#76.11.16.00.00
-unspsc7#76.11.16.02.00#Air duct cleaning#76.11.16.00.00
-unspsc7#76.11.16.03.00#Chimney cleaning#76.11.16.00.00
-unspsc7#76.11.16.04.00#Floor waxing or carpet cleaning#76.11.16.00.00
-unspsc7#76.11.16.05.00#Exhaust hood or fan clearing#76.11.16.00.00
-unspsc7#76.11.17.00.00#Building site clean up#76.11.00.00.00
-unspsc7#76.11.17.01.00#Construction site clean up services#76.11.17.00.00
-unspsc7#76.11.17.02.00#Construction site haul away services#76.11.17.00.00
-unspsc7#76.12.00.00.00#Refuse disposal and treatment#76.00.00.00.00
-unspsc7#76.12.15.00.00#Refuse collection and disposal#76.12.00.00.00
-unspsc7#76.12.15.01.00#Garbage collection or destruction or processing or disposal#76.12.15.00.00
-unspsc7#76.12.15.02.00#Liquid waste collection or processing or disposal#76.12.15.00.00
-unspsc7#76.12.15.03.00#Street cleaning services#76.12.15.00.00
-unspsc7#76.12.16.00.00#Nonhazardous waste disposal#76.12.00.00.00
-unspsc7#76.12.16.01.00#Garbage dump#76.12.16.00.00
-unspsc7#76.12.16.02.00#Sanitary landfill operations#76.12.16.00.00
-unspsc7#76.12.16.03.00#Sludge disposal#76.12.16.00.00
-unspsc7#76.12.16.04.00#Dead animal disposal services#76.12.16.00.00
-unspsc7#76.12.17.00.00#Liquid waste treatment#76.12.00.00.00
-unspsc7#76.12.17.01.00#Sewage treatment services#76.12.17.00.00
-unspsc7#76.12.17.02.00#Chemical treatment services#76.12.17.00.00
-unspsc7#76.12.18.00.00#Refuse treatment#76.12.00.00.00
-unspsc7#76.12.18.01.00#Recycling services#76.12.18.00.00
-unspsc7#76.12.19.00.00#Hazardous waste disposal#76.12.00.00.00
-unspsc7#76.12.19.01.00#Medical waste disposal#76.12.19.00.00
-unspsc7#76.12.19.02.00#Acid waste collection or disposal#76.12.19.00.00
-unspsc7#76.12.19.03.00#Chemical detoxification#76.12.19.00.00
-unspsc7#76.13.00.00.00#Toxic and hazardous waste cleanup#76.00.00.00.00
-unspsc7#76.13.15.00.00#Nuclear waste treatment#76.13.00.00.00
-unspsc7#76.13.15.01.00#Radioactive waste material treatment#76.13.15.00.00
-unspsc7#76.13.15.02.00#Radioactive containment services#76.13.15.00.00
-unspsc7#76.13.16.00.00#Toxic spill cleanup#76.13.00.00.00
-unspsc7#76.13.16.01.00#Toxic spill containment#76.13.16.00.00
-unspsc7#76.13.16.02.00#Toxic substances spill cleanup#76.13.16.00.00
-unspsc7#76.13.17.00.00#Oil spill cleanup#76.13.00.00.00
-unspsc7#76.13.17.01.00#Oil residue disposal or control services#76.13.17.00.00
-unspsc7#76.13.17.02.00#Oil spill treatment services#76.13.17.00.00
-unspsc7#77.00.00.00.00#Environmental Services#77.00.00.00.00
-unspsc7#77.10.00.00.00#Environmental management#77.00.00.00.00
-unspsc7#77.10.15.00.00#Environmental impact assessment#77.10.00.00.00
-unspsc7#77.10.15.01.00#Risk or hazard assessment#77.10.15.00.00
-unspsc7#77.10.15.02.00#Environmental standards#77.10.15.00.00
-unspsc7#77.10.15.03.00#Environmental indicators analysis#77.10.15.00.00
-unspsc7#77.10.15.04.00#Environmental impact assessment (EIA) services#77.10.15.00.00
-unspsc7#77.10.15.05.00#Environmental monitoring#77.10.15.00.00
-unspsc7#77.10.16.00.00#Environmental planning#77.10.00.00.00
-unspsc7#77.10.16.01.00#Urban environmental development planning#77.10.16.00.00
-unspsc7#77.10.16.02.00#Forest conservation strategy planning#77.10.16.00.00
-unspsc7#77.10.16.03.00#Marine conservation strategy planning#77.10.16.00.00
-unspsc7#77.10.16.04.00#Natural resources management or conservation strategy planning services#77.10.16.00.00
-unspsc7#77.10.16.05.00#Environmental institution building or planning#77.10.16.00.00
-unspsc7#77.10.17.00.00#Environmental advisory services#77.10.00.00.00
-unspsc7#77.10.17.01.00#Environmental sciences advisory services#77.10.17.00.00
-unspsc7#77.10.17.02.00#Environmental chemistry advisory services#77.10.17.00.00
-unspsc7#77.10.17.03.00#Environmental ethics advisory services#77.10.17.00.00
-unspsc7#77.10.17.04.00#Environmental technology advisory services#77.10.17.00.00
-unspsc7#77.10.17.05.00#Environmental economics advisory services#77.10.17.00.00
-unspsc7#77.10.17.06.00#Environmental law advisory services#77.10.17.00.00
-unspsc7#77.10.17.07.00#Ecology advisory services#77.10.17.00.00
-unspsc7#77.10.18.00.00#Environmental auditing#77.10.00.00.00
-unspsc7#77.10.18.01.00#Environmental information systems#77.10.18.00.00
-unspsc7#77.10.18.02.00#Corporate environmental auditing services#77.10.18.00.00
-unspsc7#77.10.18.03.00#Sectoral environmental auditing services#77.10.18.00.00
-unspsc7#77.10.18.04.00#Activity specific environmental auditing services#77.10.18.00.00
-unspsc7#77.10.18.05.00#Environmental quality control services#77.10.18.00.00
-unspsc7#77.10.18.06.00#Environmental security control services#77.10.18.00.00
-unspsc7#77.10.19.00.00#Pollution investigation services#77.10.00.00.00
-unspsc7#77.10.19.01.00#Industrial site investigation#77.10.19.00.00
-unspsc7#77.10.19.02.00#Industrial waste site investigation#77.10.19.00.00
-unspsc7#77.10.19.03.00#Gasworks site investigation#77.10.19.00.00
-unspsc7#77.10.19.04.00#Chemical works or oil refinery waste site investigation#77.10.19.00.00
-unspsc7#77.10.19.05.00#Wood treatment plant site investigation#77.10.19.00.00
-unspsc7#77.10.19.06.00#Oil depot or terminal site investigation#77.10.19.00.00
-unspsc7#77.10.19.07.00#Dry cleaning plants site investigation#77.10.19.00.00
-unspsc7#77.10.19.08.00#Foundry site investigation#77.10.19.00.00
-unspsc7#77.10.19.09.00#Recycling plant site investigation#77.10.19.00.00
-unspsc7#77.10.19.10.00#Food processing plant site investigation#77.10.19.00.00
-unspsc7#77.11.00.00.00#Environmental protection#77.00.00.00.00
-unspsc7#77.11.15.00.00#Environmental safety services#77.11.00.00.00
-unspsc7#77.11.15.01.00#Landscape protection services#77.11.15.00.00
-unspsc7#77.11.15.02.00#Ozone protection services#77.11.15.00.00
-unspsc7#77.11.15.03.00#Food or feed contamination protection services#77.11.15.00.00
-unspsc7#77.11.15.04.00#Genetic resources protection services#77.11.15.00.00
-unspsc7#77.11.15.05.00#Toxic substances protection services#77.11.15.00.00
-unspsc7#77.11.15.06.00#Radiation protection services#77.11.15.00.00
-unspsc7#77.11.15.07.00#Endangered species protection services#77.11.15.00.00
-unspsc7#77.11.15.08.00#Natural risks or hazards protection services#77.11.15.00.00
-unspsc7#77.11.16.00.00#Environmental rehabilitation#77.11.00.00.00
-unspsc7#77.11.16.01.00#Industrial site rehabilitation#77.11.16.00.00
-unspsc7#77.11.16.02.00#Environmental decontamination services#77.11.16.00.00
-unspsc7#77.11.16.03.00#Land reclamation services#77.11.16.00.00
-unspsc7#77.12.00.00.00#Pollution tracking and monitoring and rehabilitation#77.00.00.00.00
-unspsc7#77.12.15.00.00#Air pollution#77.12.00.00.00
-unspsc7#77.12.15.01.00#Air quality management#77.12.15.00.00
-unspsc7#77.12.15.02.00#Transboundary air pollution management or control services#77.12.15.00.00
-unspsc7#77.12.15.03.00#Air pollution protection services#77.12.15.00.00
-unspsc7#77.12.15.04.00#Air pollution monitoring or measurement services#77.12.15.00.00
-unspsc7#77.12.15.05.00#Toxic gas detection services#77.12.15.00.00
-unspsc7#77.12.15.06.00#Methane monitoring#77.12.15.00.00
-unspsc7#77.12.15.07.00#Carbon dioxide monitoring services#77.12.15.00.00
-unspsc7#77.12.15.08.00#Airborne particle monitoring#77.12.15.00.00
-unspsc7#77.12.15.09.00#Ozone depletion monitoring services#77.12.15.00.00
-unspsc7#77.12.16.00.00#Soil pollution#77.12.00.00.00
-unspsc7#77.12.16.01.00#Soil pollution protection services#77.12.16.00.00
-unspsc7#77.12.16.02.00#Polluted soil removal services#77.12.16.00.00
-unspsc7#77.12.16.03.00#Polluted soil treatment or rehabilitation#77.12.16.00.00
-unspsc7#77.12.16.04.00#Soil pollution advisory services#77.12.16.00.00
-unspsc7#77.12.16.05.00#Soil pollution mapping#77.12.16.00.00
-unspsc7#77.12.16.06.00#Soil pollution measurement or monitoring#77.12.16.00.00
-unspsc7#77.12.16.07.00#Organic fertilizer pollution assessment#77.12.16.00.00
-unspsc7#77.12.16.08.00#Pesticides pollution assessment#77.12.16.00.00
-unspsc7#77.12.16.09.00#Nitrates pollution assessment#77.12.16.00.00
-unspsc7#77.12.16.10.00#Phosphates pollution assessment#77.12.16.00.00
-unspsc7#77.12.17.00.00#Water pollution#77.12.00.00.00
-unspsc7#77.12.17.01.00#Surface water pollution monitoring or control services#77.12.17.00.00
-unspsc7#77.12.17.02.00#Surface water pollution rehabilitation services#77.12.17.00.00
-unspsc7#77.12.17.03.00#Surface water pollution protection services#77.12.17.00.00
-unspsc7#77.12.17.04.00#Surface water treatment services#77.12.17.00.00
-unspsc7#77.12.17.05.00#Surface water pollution drainage services#77.12.17.00.00
-unspsc7#77.12.17.06.00#Transboundary water pollution management or control services#77.12.17.00.00
-unspsc7#77.12.17.07.00#Groundwater pollution monitoring or control services#77.12.17.00.00
-unspsc7#77.12.17.08.00#Groundwater pollution drainage services#77.12.17.00.00
-unspsc7#77.12.17.09.00#Groundwater pollution treatment or rehabilitation#77.12.17.00.00
-unspsc7#77.13.00.00.00#Pollutants tracking and monitoring and rehabilitation services#77.00.00.00.00
-unspsc7#77.13.15.00.00#Oil pollution#77.13.00.00.00
-unspsc7#77.13.15.01.00#Oil spillage monitoring services#77.13.15.00.00
-unspsc7#77.13.15.02.00#Oil spillage control services#77.13.15.00.00
-unspsc7#77.13.15.03.00#Oil spillage rehabilitation services#77.13.15.00.00
-unspsc7#77.13.16.00.00#Noise pollution#77.13.00.00.00
-unspsc7#77.13.16.01.00#Noise control services#77.13.16.00.00
-unspsc7#77.13.16.02.00#Noise pollution protection services#77.13.16.00.00
-unspsc7#77.13.16.03.00#Noise pollution monitoring services#77.13.16.00.00
-unspsc7#77.13.16.04.00#Noise pollution advisory services#77.13.16.00.00
-unspsc7#77.13.17.00.00#Toxic substances pollution#77.13.00.00.00
-unspsc7#77.13.17.01.00#Toxic substances monitoring services#77.13.17.00.00
-unspsc7#77.13.17.02.00#Toxic substances rehabilitation services#77.13.17.00.00
-unspsc7#78.00.00.00.00#Transportation and Storage and Mail Services#78.00.00.00.00
-unspsc7#78.10.00.00.00#Mail and cargo transport#78.00.00.00.00
-unspsc7#78.10.15.00.00#Air cargo transport#78.10.00.00.00
-unspsc7#78.10.15.01.00#Domestic air cargo tranposrt#78.10.15.00.00
-unspsc7#78.10.15.02.00#International air cargo transport#78.10.15.00.00
-unspsc7#78.10.15.03.00#Armored air transport#78.10.15.00.00
-unspsc7#78.10.16.00.00#Rail cargo transport#78.10.00.00.00
-unspsc7#78.10.16.01.00#Boxcar transport services#78.10.16.00.00
-unspsc7#78.10.16.02.00#Bulk cargo rail trasnport services#78.10.16.00.00
-unspsc7#78.10.16.03.00#Livestock rail transport#78.10.16.00.00
-unspsc7#78.10.16.04.00#Vehicle transport services#78.10.16.00.00
-unspsc7#78.10.17.00.00#Marine cargo transport#78.10.00.00.00
-unspsc7#78.10.17.01.00#Domestic vessel transport services#78.10.17.00.00
-unspsc7#78.10.17.02.00#International vessel transport services#78.10.17.00.00
-unspsc7#78.10.17.03.00#Domestic barge transport services#78.10.17.00.00
-unspsc7#78.10.17.04.00#International barge transport services#78.10.17.00.00
-unspsc7#78.10.17.05.00#Armored marine transport#78.10.17.00.00
-unspsc7#78.10.18.00.00#Road cargo transport#78.10.00.00.00
-unspsc7#78.10.18.01.00#Local area trucking services#78.10.18.00.00
-unspsc7#78.10.18.02.00#Regional or national trucking services#78.10.18.00.00
-unspsc7#78.10.18.03.00#Vehicle carrier services#78.10.18.00.00
-unspsc7#78.10.18.04.00#Relocation services#78.10.18.00.00
-unspsc7#78.10.19.00.00#Intermodal cargo transport#78.10.00.00.00
-unspsc7#78.10.19.01.00#Air to ocean transportation#78.10.19.00.00
-unspsc7#78.10.19.02.00#Ocean to rail transportation#78.10.19.00.00
-unspsc7#78.10.19.03.00#Ocean to truck transportation#78.10.19.00.00
-unspsc7#78.10.19.04.00#Air to truck transport#78.10.19.00.00
-unspsc7#78.10.19.05.00#Rail truck transportation#78.10.19.00.00
-unspsc7#78.10.20.00.00#Spacecraft cargo transport#78.10.00.00.00
-unspsc7#78.10.20.01.00#Satellite launch services#78.10.20.00.00
-unspsc7#78.10.20.02.00#Experimental payload services#78.10.20.00.00
-unspsc7#78.10.21.00.00#Pipeline services#78.10.00.00.00
-unspsc7#78.10.21.01.00#Petroleum products transport#78.10.21.00.00
-unspsc7#78.10.21.02.00#Water transport#78.10.21.00.00
-unspsc7#78.10.22.00.00#Postal and small parcel and courier services#78.10.00.00.00
-unspsc7#78.10.22.01.00#National postal delivery services#78.10.22.00.00
-unspsc7#78.10.22.02.00#Post office box services#78.10.22.00.00
-unspsc7#78.10.22.03.00#Mailing or mail pick up or delivery services#78.10.22.00.00
-unspsc7#78.10.22.04.00#Letter or small parcel worldwide delivery services#78.10.22.00.00
-unspsc7#78.10.22.05.00#Letter or small parcel local delivery services#78.10.22.00.00
-unspsc7#78.10.22.06.00#Bicycle or scooter messenger servcies#78.10.22.00.00
-unspsc7#78.11.00.00.00#Passenger transport#78.00.00.00.00
-unspsc7#78.11.15.00.00#Air transportation#78.11.00.00.00
-unspsc7#78.11.15.01.00#Helicopter services#78.11.15.00.00
-unspsc7#78.11.15.02.00#Commercial airplane travel#78.11.15.00.00
-unspsc7#78.11.15.03.00#Chartered airplane travel#78.11.15.00.00
-unspsc7#78.11.16.00.00#Railway transportation#78.11.00.00.00
-unspsc7#78.11.16.01.00#Light rail vehicle transport (LRV) services#78.11.16.00.00
-unspsc7#78.11.16.02.00#Subway transport#78.11.16.00.00
-unspsc7#78.11.16.03.00#Continental or inter continental rail services#78.11.16.00.00
-unspsc7#78.11.17.00.00#Marine transportation#78.11.00.00.00
-unspsc7#78.11.17.01.00#Water taxis#78.11.17.00.00
-unspsc7#78.11.17.02.00#Overnight ship cruises#78.11.17.00.00
-unspsc7#78.11.17.03.00#Sightseeing boat excursions#78.11.17.00.00
-unspsc7#78.11.18.00.00#Road transportation#78.11.00.00.00
-unspsc7#78.11.18.01.00#Car rental services#78.11.18.00.00
-unspsc7#78.11.18.02.00#Scheduled bus services#78.11.18.00.00
-unspsc7#78.11.18.03.00#Chartered bus services#78.11.18.00.00
-unspsc7#78.11.18.04.00#Taxicab services#78.11.18.00.00
-unspsc7#78.11.18.05.00#Transportation maintenance#78.11.18.00.00
-unspsc7#78.11.18.06.00#Vehicle rental or leasing#78.11.18.00.00
-unspsc7#78.11.19.00.00#Space transportation#78.11.00.00.00
-unspsc7#78.11.19.01.00#Experimental or educational missions#78.11.19.00.00
-unspsc7#78.12.00.00.00#Material packing and handling#78.00.00.00.00
-unspsc7#78.12.15.00.00#Packing#78.12.00.00.00
-unspsc7#78.12.15.01.00#Containerization of goods#78.12.15.00.00
-unspsc7#78.12.15.02.00#Crating services#78.12.15.00.00
-unspsc7#78.12.16.00.00#Material handling services#78.12.00.00.00
-unspsc7#78.12.16.01.00#Freight loading or unloading#78.12.16.00.00
-unspsc7#78.12.16.02.00#Weighing services#78.12.16.00.00
-unspsc7#78.13.00.00.00#Storage#78.00.00.00.00
-unspsc7#78.13.15.00.00#Farm products warehousing#78.13.00.00.00
-unspsc7#78.13.15.01.00#Silo services#78.13.15.00.00
-unspsc7#78.13.15.02.00#Grain elevator services#78.13.15.00.00
-unspsc7#78.13.16.00.00#General goods storage#78.13.00.00.00
-unspsc7#78.13.16.01.00#Palletized cargo storage#78.13.16.00.00
-unspsc7#78.13.16.02.00#File archive storage#78.13.16.00.00
-unspsc7#78.13.17.00.00#Bulk storage#78.13.00.00.00
-unspsc7#78.13.17.01.00#In ground storage services#78.13.17.00.00
-unspsc7#78.13.18.00.00#Specialized warehousing and storage#78.13.00.00.00
-unspsc7#78.13.18.01.00#Refrigerated storage#78.13.18.00.00
-unspsc7#78.13.18.02.00#Customs bonded storage services#78.13.18.00.00
-unspsc7#78.13.18.03.00#Hazardous materials storage#78.13.18.00.00
-unspsc7#78.13.18.04.00#Document storage services#78.13.18.00.00
-unspsc7#78.14.00.00.00#Transport operations#78.00.00.00.00
-unspsc7#78.14.15.00.00#Transport arrangements#78.14.00.00.00
-unspsc7#78.14.15.01.00#Freight forwarders services#78.14.15.00.00
-unspsc7#78.14.15.02.00#Customs brokerage services#78.14.15.00.00
-unspsc7#78.14.15.03.00#Transportation industry tariff comparison or freight audit services#78.14.15.00.00
-unspsc7#78.14.16.00.00#Inspection#78.14.00.00.00
-unspsc7#78.14.16.01.00#Packing inspection services#78.14.16.00.00
-unspsc7#78.14.16.02.00#Cargo survey services#78.14.16.00.00
-unspsc7#78.14.16.03.00#Pest control inspections#78.14.16.00.00
-unspsc7#78.14.17.00.00#Navigational services#78.14.00.00.00
-unspsc7#78.14.17.01.00#Tugboat services#78.14.17.00.00
-unspsc7#78.14.17.02.00#Drawbridge operations#78.14.17.00.00
-unspsc7#78.14.18.00.00#Terminal services#78.14.00.00.00
-unspsc7#78.14.18.01.00#Stevedoring services#78.14.18.00.00
-unspsc7#78.14.18.02.00#Vessel docking services#78.14.18.00.00
-unspsc7#78.14.18.03.00#Vessel stores services#78.14.18.00.00
-unspsc7#78.14.18.04.00#Parking structures#78.14.18.00.00
-unspsc7#78.15.00.00.00#Transport industry support and maintenance and repair services#78.00.00.00.00
-unspsc7#78.15.01.00.00#Panel and paint services#78.15.00.00.00
-unspsc7#78.15.01.01.00#Panelbeating services#78.15.01.00.00
-unspsc7#78.15.02.00.00#Transport fuelling and vehicle storage and support services#78.15.00.00.00
-unspsc7#78.15.02.01.00#Fuelling of vehicles#78.15.02.00.00
-unspsc7#78.15.02.02.00#Transportation storage#78.15.02.00.00
-unspsc7#78.16.00.00.00#Panel and paint services#78.00.00.00.00
-unspsc7#78.17.00.00.00#Panelbeating services#78.00.00.00.00
-unspsc7#78.18.00.00.00#Transportation or vehicle repair services#78.00.00.00.00
-unspsc7#78.18.01.00.00#Vehicle repair services#78.18.00.00.00
-unspsc7#78.18.01.01.00#Vehicle body repair or painting services#78.18.01.00.00
-unspsc7#78.18.01.02.00#Transmission repair#78.18.01.00.00
-unspsc7#78.19.00.00.00#Vehicle repair services#78.00.00.00.00
-unspsc7#78.19.11.00.00#Vehicle body repair or painting services#78.19.00.00.00
-unspsc7#78.19.12.00.00#Transmission repair#78.19.00.00.00
-unspsc7#80.00.00.00.00#Management and Business Professionals and Administrative Services#80.00.00.00.00
-unspsc7#80.10.00.00.00#Management advisory services#80.00.00.00.00
-unspsc7#80.10.15.00.00#Business and corporate management#80.10.00.00.00
-unspsc7#80.10.15.01.00#New business start up consultation services#80.10.15.00.00
-unspsc7#80.10.15.02.00#Corporate mergers consultation services#80.10.15.00.00
-unspsc7#80.10.15.03.00#Corporate divestiture consultation services#80.10.15.00.00
-unspsc7#80.10.15.04.00#Strategic planning consultation services#80.10.15.00.00
-unspsc7#80.10.15.05.00#Corporate objectives or policy development#80.10.15.00.00
-unspsc7#80.10.15.06.00#Organizational structure consultation#80.10.15.00.00
-unspsc7#80.10.15.07.00#Information technology consultation services#80.10.15.00.00
-unspsc7#80.10.16.00.00#Project management#80.10.00.00.00
-unspsc7#80.10.16.01.00#Feasibility studies or screening of project ideas#80.10.16.00.00
-unspsc7#80.10.16.02.00#Regional or location studies for projects#80.10.16.00.00
-unspsc7#80.10.16.03.00#Economic or financial evaluation of projects#80.10.16.00.00
-unspsc7#80.10.16.04.00#Project administration or planning#80.10.16.00.00
-unspsc7#80.10.17.00.00#Industrial management#80.10.00.00.00
-unspsc7#80.10.17.01.00#Factory management services#80.10.17.00.00
-unspsc7#80.10.17.02.00#Productivity or efficiency studies or implementation#80.10.17.00.00
-unspsc7#80.10.17.03.00#Specification standardization services#80.10.17.00.00
-unspsc7#80.10.17.04.00#Supply chain analysis or re engineering services#80.10.17.00.00
-unspsc7#80.10.17.05.00#Co operative or consortium services#80.10.17.00.00
-unspsc7#80.10.17.06.00#Professional procurement services#80.10.17.00.00
-unspsc7#80.11.00.00.00#Human resources services#80.00.00.00.00
-unspsc7#80.11.15.00.00#Human resource development#80.11.00.00.00
-unspsc7#80.11.15.01.00#Management development#80.11.15.00.00
-unspsc7#80.11.15.02.00#Compensation or benefits planning#80.11.15.00.00
-unspsc7#80.11.15.03.00#Labor or union relations#80.11.15.00.00
-unspsc7#80.11.15.04.00#Labor training or development#80.11.15.00.00
-unspsc7#80.11.15.05.00#Human resources productivity audits#80.11.15.00.00
-unspsc7#80.11.15.06.00#Personnel relocation#80.11.15.00.00
-unspsc7#80.11.16.00.00#Temporary personnel services#80.11.00.00.00
-unspsc7#80.11.16.01.00#Temporary clerical or adminstrative assistance#80.11.16.00.00
-unspsc7#80.11.16.02.00#Temporary marketing staff needs#80.11.16.00.00
-unspsc7#80.11.16.03.00#Temporary production staffing needs#80.11.16.00.00
-unspsc7#80.11.16.04.00#Temporary technician staffing needs#80.11.16.00.00
-unspsc7#80.11.16.05.00#Temporary financial staffing needs#80.11.16.00.00
-unspsc7#80.11.16.06.00#Temporary medical staffing needs#80.11.16.00.00
-unspsc7#80.11.16.07.00#Temporary legal staffing needs#80.11.16.00.00
-unspsc7#80.11.16.08.00#Temporary information technology software developers#80.11.16.00.00
-unspsc7#80.11.16.09.00#Temporary information technology systems or database administrators#80.11.16.00.00
-unspsc7#80.11.16.10.00#Temporary information technology networking specialists#80.11.16.00.00
-unspsc7#80.11.16.11.00#Temporary warehouse staff#80.11.16.00.00
-unspsc7#80.11.16.12.00#Temporary drivers#80.11.16.00.00
-unspsc7#80.11.16.13.00#Temporary manual labor#80.11.16.00.00
-unspsc7#80.11.16.14.00#Temporary professional staff#80.11.16.00.00
-unspsc7#80.11.16.15.00#Temporary machinist personnel#80.11.16.00.00
-unspsc7#80.11.17.00.00#Personnel recruitment#80.11.00.00.00
-unspsc7#80.11.17.01.00#Staff recruiting services#80.11.17.00.00
-unspsc7#80.11.17.02.00#Reference or background check services#80.11.17.00.00
-unspsc7#80.11.17.03.00#Resume or curriculum vitae screening services#80.11.17.00.00
-unspsc7#80.11.18.00.00#Information technology contractors#80.11.00.00.00
-unspsc7#80.11.18.01.00#Temporary information technology contractors#80.11.18.00.00
-unspsc7#80.12.00.00.00#Legal services#80.00.00.00.00
-unspsc7#80.12.15.00.00#Criminal law services#80.12.00.00.00
-unspsc7#80.12.15.01.00#Juvenile justice law services#80.12.15.00.00
-unspsc7#80.12.15.02.00#Appellate procedure services#80.12.15.00.00
-unspsc7#80.12.15.03.00#Defense or criminal law services#80.12.15.00.00
-unspsc7#80.12.16.00.00#Business law services#80.12.00.00.00
-unspsc7#80.12.16.01.00#Government antitrust or regulations law services#80.12.16.00.00
-unspsc7#80.12.16.02.00#Bankruptcy law services#80.12.16.00.00
-unspsc7#80.12.16.03.00#Partnership law#80.12.16.00.00
-unspsc7#80.12.16.04.00#Patent or trademark or copyright law#80.12.16.00.00
-unspsc7#80.12.16.05.00#Liquidation law services#80.12.16.00.00
-unspsc7#80.12.16.06.00#Real estate law#80.12.16.00.00
-unspsc7#80.12.16.07.00#Taxation law#80.12.16.00.00
-unspsc7#80.12.16.08.00#Mergers or acquisitions law#80.12.16.00.00
-unspsc7#80.12.16.09.00#Legal research services#80.12.16.00.00
-unspsc7#80.12.16.10.00#Debt collection law services#80.12.16.00.00
-unspsc7#80.12.17.00.00#Civil liability services#80.12.00.00.00
-unspsc7#80.12.17.01.00#Malpractice or negligence law services#80.12.17.00.00
-unspsc7#80.12.17.02.00#Personal injury law services#80.12.17.00.00
-unspsc7#80.12.17.03.00#Property law services#80.12.17.00.00
-unspsc7#80.12.17.04.00#Contract law services#80.12.17.00.00
-unspsc7#80.12.18.00.00#Family law services#80.12.00.00.00
-unspsc7#80.12.18.01.00#Divorce law services#80.12.18.00.00
-unspsc7#80.12.18.02.00#Adoption law services#80.12.18.00.00
-unspsc7#80.12.18.03.00#Immigration or naturalization law#80.12.18.00.00
-unspsc7#80.12.18.04.00#Guardianship or custody law services#80.12.18.00.00
-unspsc7#80.13.00.00.00#Real estate services#80.00.00.00.00
-unspsc7#80.13.15.00.00#Lease and rental of property or building#80.13.00.00.00
-unspsc7#80.13.15.01.00#Residential rental#80.13.15.00.00
-unspsc7#80.13.15.02.00#Commercial or industrial facility rental#80.13.15.00.00
-unspsc7#80.13.15.03.00#Land leases#80.13.15.00.00
-unspsc7#80.13.16.00.00#Sale of property and building#80.13.00.00.00
-unspsc7#80.13.16.01.00#Real estate brokers or agents#80.13.16.00.00
-unspsc7#80.13.16.02.00#Real estate auction#80.13.16.00.00
-unspsc7#80.13.16.03.00#Sale of residential land#80.13.16.00.00
-unspsc7#80.13.16.04.00#Sale of commercial or industrial land#80.13.16.00.00
-unspsc7#80.13.16.05.00#Sale of commercial building#80.13.16.00.00
-unspsc7#80.13.17.00.00#Escrow and title services#80.13.00.00.00
-unspsc7#80.13.17.01.00#Title reconveyance services#80.13.17.00.00
-unspsc7#80.13.17.02.00#Title search services#80.13.17.00.00
-unspsc7#80.13.17.03.00#Escrow account services#80.13.17.00.00
-unspsc7#80.13.18.00.00#Real estate management services#80.13.00.00.00
-unspsc7#80.13.18.01.00#Property management#80.13.18.00.00
-unspsc7#80.13.18.02.00#Real estate appraisal services#80.13.18.00.00
-unspsc7#80.13.18.03.00#Real estate listing services#80.13.18.00.00
-unspsc7#80.14.00.00.00#Marketing and distribution#80.00.00.00.00
-unspsc7#80.14.15.00.00#Market research#80.14.00.00.00
-unspsc7#80.14.15.01.00#Marketing analysis#80.14.15.00.00
-unspsc7#80.14.15.02.00#Distributive or service trade statistics#80.14.15.00.00
-unspsc7#80.14.15.03.00#Commodity price forecasting#80.14.15.00.00
-unspsc7#80.14.15.04.00#Preparation of commodity market surveys#80.14.15.00.00
-unspsc7#80.14.15.05.00#Marketing plans#80.14.15.00.00
-unspsc7#80.14.15.06.00#Internet based market research#80.14.15.00.00
-unspsc7#80.14.16.00.00#Sales and business promotion activities#80.14.00.00.00
-unspsc7#80.14.16.01.00#Sales promotion services#80.14.16.00.00
-unspsc7#80.14.16.02.00#Public relation services#80.14.16.00.00
-unspsc7#80.14.16.03.00#Telemarketing#80.14.16.00.00
-unspsc7#80.14.16.04.00#Branding of product naming services#80.14.16.00.00
-unspsc7#80.14.16.05.00#Promotional merchandise#80.14.16.00.00
-unspsc7#80.14.16.06.00#Direct marketing fulfillment#80.14.16.00.00
-unspsc7#80.14.16.07.00#Events management#80.14.16.00.00
-unspsc7#80.14.16.08.00#Letter shop services#80.14.16.00.00
-unspsc7#80.14.16.09.00#Sponsorship of event or celebrity#80.14.16.00.00
-unspsc7#80.14.16.10.00#Close outs#80.14.16.00.00
-unspsc7#80.14.17.00.00#Distribution#80.14.00.00.00
-unspsc7#80.14.17.01.00#Direct sales services#80.14.17.00.00
-unspsc7#80.14.17.02.00#Wholesale distribution services#80.14.17.00.00
-unspsc7#80.14.17.03.00#Retail distribution services#80.14.17.00.00
-unspsc7#80.14.17.04.00#Franchise operations#80.14.17.00.00
-unspsc7#80.14.17.05.00#Auction services#80.14.17.00.00
-unspsc7#80.14.18.00.00#Mailing services#80.14.00.00.00
-unspsc7#80.14.18.01.00#Mailing list compilation services#80.14.18.00.00
-unspsc7#80.14.18.02.00#Mailing list management service#80.14.18.00.00
-unspsc7#80.14.18.03.00#Addressing service#80.14.18.00.00
-unspsc7#80.15.00.00.00#Trade policy and services#80.00.00.00.00
-unspsc7#80.15.15.00.00#Trade facilitation#80.15.00.00.00
-unspsc7#80.15.15.01.00#Commodity policy or projections services#80.15.15.00.00
-unspsc7#80.15.15.02.00#Trade expansion#80.15.15.00.00
-unspsc7#80.15.15.03.00#Trade information services#80.15.15.00.00
-unspsc7#80.15.15.04.00#Trade promotion services#80.15.15.00.00
-unspsc7#80.15.15.05.00#Multinational marketing enterprises#80.15.15.00.00
-unspsc7#80.15.16.00.00#International trade services#80.15.00.00.00
-unspsc7#80.15.16.01.00#Export development#80.15.16.00.00
-unspsc7#80.15.16.02.00#Import planning#80.15.16.00.00
-unspsc7#80.15.16.03.00#Export projections#80.15.16.00.00
-unspsc7#80.15.16.04.00#Import procurement services#80.15.16.00.00
-unspsc7#80.16.00.00.00#Business administration services#80.00.00.00.00
-unspsc7#80.16.15.00.00#Management support services#80.16.00.00.00
-unspsc7#80.16.15.01.00#Office administration or secretarial services#80.16.15.00.00
-unspsc7#80.16.15.02.00#Meeting planning services#80.16.15.00.00
-unspsc7#80.16.15.03.00#Keyboard entry services#80.16.15.00.00
-unspsc7#80.16.15.04.00#Clerical services#80.16.15.00.00
-unspsc7#80.16.15.05.00#Fleet management services#80.16.15.00.00
-unspsc7#80.16.15.06.00#Data archiving services#80.16.15.00.00
-unspsc7#80.16.15.07.00#Audio visual services#80.16.15.00.00
-unspsc7#80.16.16.00.00#Business facilities oversight#80.16.00.00.00
-unspsc7#80.16.16.01.00#Property managment services#80.16.16.00.00
-unspsc7#81.00.00.00.00#Engineering and Research and Technology Based Services#81.00.00.00.00
-unspsc7#81.10.00.00.00#Professional engineering services#81.00.00.00.00
-unspsc7#81.10.15.00.00#Civil engineering#81.10.00.00.00
-unspsc7#81.10.15.01.00#Well engineering#81.10.15.00.00
-unspsc7#81.10.15.02.00#Technical drawing#81.10.15.00.00
-unspsc7#81.10.15.03.00#Harbor or water ports engineering#81.10.15.00.00
-unspsc7#81.10.15.05.00#Structural engineering#81.10.15.00.00
-unspsc7#81.10.15.06.00#Naval architecture#81.10.15.00.00
-unspsc7#81.10.15.07.00#Dam engineering#81.10.15.00.00
-unspsc7#81.10.15.08.00#Architectural engineering#81.10.15.00.00
-unspsc7#81.10.15.09.00#Airport engineering#81.10.15.00.00
-unspsc7#81.10.15.10.00#Highway engineering#81.10.15.00.00
-unspsc7#81.10.15.11.00#Railway engineering#81.10.15.00.00
-unspsc7#81.10.16.00.00#Mechanical engineering#81.10.00.00.00
-unspsc7#81.10.16.01.00#Mechanical drawing#81.10.16.00.00
-unspsc7#81.10.16.02.00#Mechanical product enclosures design#81.10.16.00.00
-unspsc7#81.10.16.03.00#Machine tool design#81.10.16.00.00
-unspsc7#81.10.16.04.00#Power transmission design#81.10.16.00.00
-unspsc7#81.10.17.00.00#Electrical and electronic engineering#81.10.00.00.00
-unspsc7#81.10.17.01.00#Electrical engineering services#81.10.17.00.00
-unspsc7#81.10.17.02.00#Electronic circuit design#81.10.17.00.00
-unspsc7#81.10.18.00.00#Chemical engineering#81.10.00.00.00
-unspsc7#81.10.18.01.00#Plastics engineering#81.10.18.00.00
-unspsc7#81.10.19.00.00#Oil and gas engineering#81.10.00.00.00
-unspsc7#81.10.19.01.00#Drilling engineering for oil or gas#81.10.19.00.00
-unspsc7#81.10.19.02.00#Production engineering for oil or gas#81.10.19.00.00
-unspsc7#81.10.19.03.00#Reservoir engineering for oil or gas#81.10.19.00.00
-unspsc7#81.10.20.00.00#Mining engineering#81.10.00.00.00
-unspsc7#81.10.20.01.00#Hydraulic mining#81.10.20.00.00
-unspsc7#81.10.21.00.00#Ocean engineering#81.10.00.00.00
-unspsc7#81.10.21.01.00#Coastal engineering#81.10.21.00.00
-unspsc7#81.10.22.00.00#Transportation engineering#81.10.00.00.00
-unspsc7#81.10.22.01.00#Traffic engineering#81.10.22.00.00
-unspsc7#81.10.22.02.00#Urban transport network#81.10.22.00.00
-unspsc7#81.10.22.03.00#Inland waterways#81.10.22.00.00
-unspsc7#81.10.23.00.00#Aeronautical engineering#81.10.00.00.00
-unspsc7#81.10.23.01.00#Avionics design#81.10.23.00.00
-unspsc7#81.10.24.00.00#Avionics design#81.10.00.00.00
-unspsc7#81.11.00.00.00#Computer services#81.00.00.00.00
-unspsc7#81.11.15.00.00#Software or hardware engineering#81.11.00.00.00
-unspsc7#81.11.15.01.00#Mainframe software applications design#81.11.15.00.00
-unspsc7#81.11.15.02.00#Personal computer (PC) application design#81.11.15.00.00
-unspsc7#81.11.15.03.00#Systems integration design#81.11.15.00.00
-unspsc7#81.11.15.04.00#Application programming services#81.11.15.00.00
-unspsc7#81.11.15.05.00#Operating system programming services#81.11.15.00.00
-unspsc7#81.11.15.06.00#Client or server programming services#81.11.15.00.00
-unspsc7#81.11.15.07.00#ERP or database applications programming services#81.11.15.00.00
-unspsc7#81.11.15.08.00#Application implementation services#81.11.15.00.00
-unspsc7#81.11.15.09.00#Internet or intranet client application development services#81.11.15.00.00
-unspsc7#81.11.15.10.00#Internet or intranet server application development services#81.11.15.00.00
-unspsc7#81.11.15.11.00#Human resources productivity audits#81.11.15.00.00
-unspsc7#81.11.16.00.00#Computer programmers#81.11.00.00.00
-unspsc7#81.11.16.01.00#Programming for Visual Basic#81.11.16.00.00
-unspsc7#81.11.16.02.00#Programming for Java#81.11.16.00.00
-unspsc7#81.11.16.03.00#Programming for HTML#81.11.16.00.00
-unspsc7#81.11.16.04.00#Programming for ALGOL#81.11.16.00.00
-unspsc7#81.11.16.05.00#Programming for Assembler#81.11.16.00.00
-unspsc7#81.11.16.06.00#Programming for Basic#81.11.16.00.00
-unspsc7#81.11.16.07.00#Programming for C or C++#81.11.16.00.00
-unspsc7#81.11.16.08.00#Programming for COBOL#81.11.16.00.00
-unspsc7#81.11.16.09.00#Programming for FORTRAN#81.11.16.00.00
-unspsc7#81.11.16.10.00#Programming for Pascal#81.11.16.00.00
-unspsc7#81.11.16.11.00#Programming for PL/1#81.11.16.00.00
-unspsc7#81.11.16.12.00#Programming or Proprietary Languages#81.11.16.00.00
-unspsc7#81.11.17.00.00#Management information systems (MIS)#81.11.00.00.00
-unspsc7#81.11.17.01.00#Wide area network communications design#81.11.17.00.00
-unspsc7#81.11.17.02.00#Local area network communications design#81.11.17.00.00
-unspsc7#81.11.17.03.00#Electronic data interchange (EDI) design#81.11.17.00.00
-unspsc7#81.11.17.04.00#Database design#81.11.17.00.00
-unspsc7#81.11.17.05.00#Systems architecture#81.11.17.00.00
-unspsc7#81.11.18.00.00#System administrators#81.11.00.00.00
-unspsc7#81.11.18.01.00#Computer or network or internet security#81.11.18.00.00
-unspsc7#81.11.18.02.00#Mainframe administration services#81.11.18.00.00
-unspsc7#81.11.18.03.00#Local area network (LAN) maintenance or support#81.11.18.00.00
-unspsc7#81.11.18.04.00#Wide area network (WAN) maintenance or support#81.11.18.00.00
-unspsc7#81.11.18.05.00#Proprietary or licensed systems maintenance or support#81.11.18.00.00
-unspsc7#81.11.18.06.00#Database analysis#81.11.18.00.00
-unspsc7#81.11.18.07.00#Data storage#81.11.18.00.00
-unspsc7#81.11.18.08.00#Systems analysis#81.11.18.00.00
-unspsc7#81.11.18.09.00#System installation#81.11.18.00.00
-unspsc7#81.11.18.10.00#Software coding#81.11.18.00.00
-unspsc7#81.11.18.11.00#Technical support or help desk services#81.11.18.00.00
-unspsc7#81.11.18.12.00#Computer hardware maintenance or support#81.11.18.00.00
-unspsc7#81.11.18.13.00#Computer software maintenance or support#81.11.18.00.00
-unspsc7#81.11.18.14.00#Co location service#81.11.18.00.00
-unspsc7#81.11.18.15.00#Printer maintenance and support services#81.11.18.00.00
-unspsc7#81.11.18.16.00#Mainframe computer maintenance or support#81.11.18.00.00
-unspsc7#81.11.18.17.00#Telecom equipment maintenance or support#81.11.18.00.00
-unspsc7#81.11.19.00.00#Information retrieval systems#81.11.00.00.00
-unspsc7#81.11.19.01.00#Database information retrieval#81.11.19.00.00
-unspsc7#81.11.19.02.00#On line database information retrieval#81.11.19.00.00
-unspsc7#81.11.19.03.00#Remote database information retrieval#81.11.19.00.00
-unspsc7#81.11.20.00.00#Data services#81.11.00.00.00
-unspsc7#81.11.20.01.00#On line data processing#81.11.20.00.00
-unspsc7#81.11.20.02.00#Data processing or preparation services#81.11.20.00.00
-unspsc7#81.11.20.03.00#Data center services#81.11.20.00.00
-unspsc7#81.11.20.04.00#Disaster recovery services#81.11.20.00.00
-unspsc7#81.11.20.05.00#Document scanning service#81.11.20.00.00
-unspsc7#81.11.20.06.00#Data storage service#81.11.20.00.00
-unspsc7#81.11.20.07.00#Content or data standardization services#81.11.20.00.00
-unspsc7#81.11.21.00.00#Internet services#81.11.00.00.00
-unspsc7#81.11.21.01.00#Internet service providers (ISP)#81.11.21.00.00
-unspsc7#81.11.21.02.00#Electronic mail service provider#81.11.21.00.00
-unspsc7#81.11.21.03.00#World wide web (WWW) site design services#81.11.21.00.00
-unspsc7#81.11.21.04.00#Web search engine providers#81.11.21.00.00
-unspsc7#81.11.21.05.00#World wide web (WWW) site operation (host) services#81.11.21.00.00
-unspsc7#81.11.21.06.00#Application service providers#81.11.21.00.00
-unspsc7#81.11.21.07.00#Internet domain names#81.11.21.00.00
-unspsc7#81.11.22.00.00#Software maintenance and support#81.11.00.00.00
-unspsc7#81.11.22.01.00#Maintenance and support fees#81.11.22.00.00
-unspsc7#81.11.22.02.00#Software patches or upgrades#81.11.22.00.00
-unspsc7#81.12.00.00.00#Economics#81.00.00.00.00
-unspsc7#81.12.15.00.00#Economic analysis#81.12.00.00.00
-unspsc7#81.12.15.01.00#Macro economic analysis#81.12.15.00.00
-unspsc7#81.12.15.02.00#Micro economic analysis#81.12.15.00.00
-unspsc7#81.12.15.03.00#Econometrics#81.12.15.00.00
-unspsc7#81.12.15.04.00#Economic forecasts#81.12.15.00.00
-unspsc7#81.12.16.00.00#Monetary systems and issues#81.12.00.00.00
-unspsc7#81.12.16.01.00#Monetary policy#81.12.16.00.00
-unspsc7#81.12.16.02.00#Monetary systems#81.12.16.00.00
-unspsc7#81.12.16.03.00#Monetary analysis#81.12.16.00.00
-unspsc7#81.12.16.04.00#Monetary liquidity#81.12.16.00.00
-unspsc7#81.12.16.05.00#Precious metals reserves#81.12.16.00.00
-unspsc7#81.12.16.06.00#Foreign exchange control#81.12.16.00.00
-unspsc7#81.12.16.07.00#Currency exchange markets#81.12.16.00.00
-unspsc7#81.13.00.00.00#Statistics#81.00.00.00.00
-unspsc7#81.13.15.00.00#Methodology and analysis#81.13.00.00.00
-unspsc7#81.13.15.01.00#Factor analysis#81.13.15.00.00
-unspsc7#81.13.15.02.00#Multivariate analysis#81.13.15.00.00
-unspsc7#81.13.15.03.00#Regression analysis#81.13.15.00.00
-unspsc7#81.13.15.04.00#Sampling surveys#81.13.15.00.00
-unspsc7#81.13.15.05.00#Time series analysis#81.13.15.00.00
-unspsc7#81.14.00.00.00#Manufacturing technologies#81.00.00.00.00
-unspsc7#81.14.15.00.00#Quality control#81.14.00.00.00
-unspsc7#81.14.15.01.00#Materials testing#81.14.15.00.00
-unspsc7#81.14.15.02.00#Materials synthesis#81.14.15.00.00
-unspsc7#81.14.15.03.00#Materials inspection#81.14.15.00.00
-unspsc7#81.14.15.04.00#Equipment test or calibration#81.14.15.00.00
-unspsc7#81.14.15.05.00#Production standards development#81.14.15.00.00
-unspsc7#81.14.15.06.00#Product testing#81.14.15.00.00
-unspsc7#81.14.16.00.00#Supply chain management#81.14.00.00.00
-unspsc7#81.14.16.01.00#Logistics#81.14.16.00.00
-unspsc7#81.14.16.02.00#Transit analysis#81.14.16.00.00
-unspsc7#81.14.16.03.00#Transport finance or economics#81.14.16.00.00
-unspsc7#81.14.16.04.00#Transport facilitation#81.14.16.00.00
-unspsc7#81.14.16.05.00#Transport infrastructure#81.14.16.00.00
-unspsc7#81.14.16.06.00#Transport planning#81.14.16.00.00
-unspsc7#81.14.17.00.00#Production planning and control#81.14.00.00.00
-unspsc7#81.14.17.01.00#Production planning#81.14.17.00.00
-unspsc7#81.14.17.02.00#Production control#81.14.17.00.00
-unspsc7#81.14.17.03.00#Production scheduling#81.14.17.00.00
-unspsc7#81.14.17.04.00#Production statistics collection or analysis services#81.14.17.00.00
-unspsc7#81.14.18.00.00#Facilities management#81.14.00.00.00
-unspsc7#81.14.18.01.00#Safety or risk analysis#81.14.18.00.00
-unspsc7#81.14.18.02.00#Industrial hygiene or ventilation#81.14.18.00.00
-unspsc7#81.14.18.03.00#Acoustics or noise control#81.14.18.00.00
-unspsc7#81.14.18.04.00#Equipment inspection service#81.14.18.00.00
-unspsc7#81.14.18.05.00#Building inspection service#81.14.18.00.00
-unspsc7#81.14.18.06.00#Power line inspection service#81.14.18.00.00
-unspsc7#81.14.18.07.00#Plumbing or sewer inspection service#81.14.18.00.00
-unspsc7#81.15.00.00.00#Earth science services#81.00.00.00.00
-unspsc7#81.15.15.00.00#Meteorology#81.15.00.00.00
-unspsc7#81.15.15.01.00#Climatology#81.15.15.00.00
-unspsc7#81.15.15.02.00#Meteorological services#81.15.15.00.00
-unspsc7#81.15.15.03.00#Hydrometeorology#81.15.15.00.00
-unspsc7#81.15.16.00.00#Cartography#81.15.00.00.00
-unspsc7#81.15.16.01.00#Mapping#81.15.16.00.00
-unspsc7#81.15.16.02.00#Map production#81.15.16.00.00
-unspsc7#81.15.16.03.00#Photogrammetry#81.15.16.00.00
-unspsc7#81.15.16.04.00#Land surveying#81.15.16.00.00
-unspsc7#81.15.17.00.00#Geology#81.15.00.00.00
-unspsc7#81.15.17.01.00#Photogeology#81.15.17.00.00
-unspsc7#81.15.17.02.00#Stratigraphic geology#81.15.17.00.00
-unspsc7#81.15.17.03.00#Geological surveys#81.15.17.00.00
-unspsc7#81.15.17.04.00#Geological exploration#81.15.17.00.00
-unspsc7#81.15.17.05.00#Archaeological services#81.15.17.00.00
-unspsc7#81.15.18.00.00#Oceanography and hydrology#81.15.00.00.00
-unspsc7#81.15.18.01.00#Oceanographic survey#81.15.18.00.00
-unspsc7#81.15.18.02.00#Estuarine oceanography#81.15.18.00.00
-unspsc7#81.15.18.03.00#Physical oceanography#81.15.18.00.00
-unspsc7#81.15.18.04.00#Hydrological surveys#81.15.18.00.00
-unspsc7#81.15.18.05.00#Bathymetric surveys#81.15.18.00.00
-unspsc7#81.15.18.06.00#Underwater exploration#81.15.18.00.00
-unspsc7#81.15.19.00.00#Geophysics#81.15.00.00.00
-unspsc7#81.15.19.01.00#Geophysical surveys#81.15.19.00.00
-unspsc7#81.15.19.02.00#Geophysical exploration#81.15.19.00.00
-unspsc7#81.15.19.03.00#Geophysical photo interpretation#81.15.19.00.00
-unspsc7#81.15.19.04.00#Aero magnetic geophysics#81.15.19.00.00
-unspsc7#82.00.00.00.00#Editorial and Design and Graphic and Fine Art Services#82.00.00.00.00
-unspsc7#82.10.00.00.00#Advertising#82.00.00.00.00
-unspsc7#82.10.15.00.00#Print advertising#82.10.00.00.00
-unspsc7#82.10.15.01.00#Billboard advertising#82.10.15.00.00
-unspsc7#82.10.15.02.00#Poster advertising#82.10.15.00.00
-unspsc7#82.10.15.03.00#Magazine advertising#82.10.15.00.00
-unspsc7#82.10.15.04.00#Newspaper advertising#82.10.15.00.00
-unspsc7#82.10.15.05.00#Handbill or coupon advertising#82.10.15.00.00
-unspsc7#82.10.15.06.00#Transit advertising services#82.10.15.00.00
-unspsc7#82.10.15.07.00#Shopping news or advertising or distribution service#82.10.15.00.00
-unspsc7#82.10.15.08.00#Yellow pages advertising#82.10.15.00.00
-unspsc7#82.10.16.00.00#Broadcast advertising#82.10.00.00.00
-unspsc7#82.10.16.01.00#Radio advertising#82.10.16.00.00
-unspsc7#82.10.16.02.00#Television advertising#82.10.16.00.00
-unspsc7#82.10.16.03.00#Internet advertising#82.10.16.00.00
-unspsc7#82.10.17.00.00#Aerial advertising#82.10.00.00.00
-unspsc7#82.10.17.01.00#Banner advertising services#82.10.17.00.00
-unspsc7#82.10.17.02.00#Skywriting advertising services#82.10.17.00.00
-unspsc7#82.10.18.00.00#Advertising agency services#82.10.00.00.00
-unspsc7#82.10.18.01.00#Advertising campaign services#82.10.18.00.00
-unspsc7#82.11.00.00.00#Writing and translations#82.00.00.00.00
-unspsc7#82.11.15.00.00#Technical writing#82.11.00.00.00
-unspsc7#82.11.15.01.00#Instruction writing services#82.11.15.00.00
-unspsc7#82.11.15.02.00#Manual writing services#82.11.15.00.00
-unspsc7#82.11.15.03.00#Academic or scientific article writing#82.11.15.00.00
-unspsc7#82.11.16.00.00#Non technical writing#82.11.00.00.00
-unspsc7#82.11.16.01.00#Letter writing services#82.11.16.00.00
-unspsc7#82.11.16.02.00#Resume writing services#82.11.16.00.00
-unspsc7#82.11.16.03.00#Court reporting services#82.11.16.00.00
-unspsc7#82.11.16.04.00#Transcribing services#82.11.16.00.00
-unspsc7#82.11.17.00.00#Creative writing#82.11.00.00.00
-unspsc7#82.11.17.01.00#Article writers services#82.11.17.00.00
-unspsc7#82.11.17.02.00#Book authors services#82.11.17.00.00
-unspsc7#82.11.17.03.00#Poetry authors services#82.11.17.00.00
-unspsc7#82.11.17.04.00#Copywriting#82.11.17.00.00
-unspsc7#82.11.17.05.00#Speech writing#82.11.17.00.00
-unspsc7#82.11.18.00.00#Editorial and support services#82.11.00.00.00
-unspsc7#82.11.18.01.00#Editing services#82.11.18.00.00
-unspsc7#82.11.18.02.00#Fact checking services#82.11.18.00.00
-unspsc7#82.11.18.03.00#Proofreading services#82.11.18.00.00
-unspsc7#82.11.18.04.00#Written translation services#82.11.18.00.00
-unspsc7#82.11.19.00.00#News and publicity services#82.11.00.00.00
-unspsc7#82.11.19.01.00#Press release services#82.11.19.00.00
-unspsc7#82.11.19.02.00#Special interest newsletter services#82.11.19.00.00
-unspsc7#82.11.19.03.00#News agency wire services#82.11.19.00.00
-unspsc7#82.11.19.04.00#Newspaper or advertising material delivery services#82.11.19.00.00
-unspsc7#82.12.00.00.00#Reproduction services#82.00.00.00.00
-unspsc7#82.12.15.00.00#Printing#82.12.00.00.00
-unspsc7#82.12.15.01.00#Planning or layout of graphic production#82.12.15.00.00
-unspsc7#82.12.15.02.00#Typesetting#82.12.15.00.00
-unspsc7#82.12.15.03.00#Digital printing#82.12.15.00.00
-unspsc7#82.12.15.04.00#Letterpress or screen printing#82.12.15.00.00
-unspsc7#82.12.15.05.00#Promotional or advertising printing#82.12.15.00.00
-unspsc7#82.12.15.06.00#Publication printing#82.12.15.00.00
-unspsc7#82.12.15.07.00#Stationery or business form printing#82.12.15.00.00
-unspsc7#82.12.15.08.00#Wrap or tag or label or seal or bag printing#82.12.15.00.00
-unspsc7#82.12.15.09.00#Security or financial instruments printing#82.12.15.00.00
-unspsc7#82.12.15.10.00#Textile printing#82.12.15.00.00
-unspsc7#82.12.15.11.00#Technical manual and instruction sheet printing#82.12.15.00.00
-unspsc7#82.12.15.12.00#Embossing#82.12.15.00.00
-unspsc7#82.12.16.00.00#Engraving#82.12.00.00.00
-unspsc7#82.12.16.01.00#Currency engraving#82.12.16.00.00
-unspsc7#82.12.16.02.00#Engraved roll printing#82.12.16.00.00
-unspsc7#82.12.16.03.00#Metal plate engraving#82.12.16.00.00
-unspsc7#82.12.17.00.00#Photocopying#82.12.00.00.00
-unspsc7#82.12.17.01.00#Black and white copy or collating services#82.12.17.00.00
-unspsc7#82.12.17.02.00#Color copy or collating services#82.12.17.00.00
-unspsc7#82.12.18.00.00#Publishing#82.12.00.00.00
-unspsc7#82.12.18.01.00#Textbook or research publishing#82.12.18.00.00
-unspsc7#82.12.18.02.00#Author funded publishing services#82.12.18.00.00
-unspsc7#82.12.19.00.00#Bookbinding#82.12.00.00.00
-unspsc7#82.12.19.01.00#Thread stitch bookbinding#82.12.19.00.00
-unspsc7#82.12.19.02.00#Spiral binding#82.12.19.00.00
-unspsc7#82.12.19.03.00#Glued binding#82.12.19.00.00
-unspsc7#82.12.19.04.00#Comb or clamp type binding#82.12.19.00.00
-unspsc7#82.12.19.05.00#Binding restoration or repair#82.12.19.00.00
-unspsc7#82.12.19.06.00#Bronzing or gilding or edging or deckling#82.12.19.00.00
-unspsc7#82.13.00.00.00#Photographic services#82.00.00.00.00
-unspsc7#82.13.15.00.00#Film processing services#82.13.00.00.00
-unspsc7#82.13.15.01.00#Still film processing or reproduction#82.13.15.00.00
-unspsc7#82.13.15.02.00#Motion picture film processing or reproduction#82.13.15.00.00
-unspsc7#82.13.15.03.00#Microfiche services#82.13.15.00.00
-unspsc7#82.13.15.04.00#Color separation#82.13.15.00.00
-unspsc7#82.13.16.00.00#Photographers and cinematographers#82.13.00.00.00
-unspsc7#82.13.16.01.00#Aerial photography services#82.13.16.00.00
-unspsc7#82.13.16.02.00#Motion picture cinematography#82.13.16.00.00
-unspsc7#82.13.16.03.00#Video production services#82.13.16.00.00
-unspsc7#82.13.16.04.00#Studio photography services or still photographs#82.13.16.00.00
-unspsc7#82.14.00.00.00#Graphic design#82.00.00.00.00
-unspsc7#82.14.15.00.00#Art design services#82.14.00.00.00
-unspsc7#82.14.15.01.00#Layout or graphics editing services#82.14.15.00.00
-unspsc7#82.14.15.02.00#Art design or graphics#82.14.15.00.00
-unspsc7#82.14.15.03.00#Photocomposition#82.14.15.00.00
-unspsc7#82.14.15.04.00#Chart or graph design services#82.14.15.00.00
-unspsc7#82.14.15.05.00#Computer generated design services#82.14.15.00.00
-unspsc7#82.14.15.06.00#Package design services#82.14.15.00.00
-unspsc7#82.14.15.07.00#Silkscreen design services#82.14.15.00.00
-unspsc7#82.14.16.00.00#Graphic display services#82.14.00.00.00
-unspsc7#82.14.16.01.00#Photographic or picture mounting or framing services#82.14.16.00.00
-unspsc7#82.14.16.02.00#Article display arrangement#82.14.16.00.00
-unspsc7#82.15.00.00.00#Professional artists and performers#82.00.00.00.00
-unspsc7#82.15.15.00.00#Visual art services#82.15.00.00.00
-unspsc7#82.15.15.01.00#Painters services#82.15.15.00.00
-unspsc7#82.15.15.02.00#Lithographers services#82.15.15.00.00
-unspsc7#82.15.15.03.00#Cartoonists services#82.15.15.00.00
-unspsc7#82.15.15.04.00#Sculptors services#82.15.15.00.00
-unspsc7#82.15.15.05.00#Ceramics makers services#82.15.15.00.00
-unspsc7#82.15.15.06.00#Glass blowers services#82.15.15.00.00
-unspsc7#82.15.15.07.00#Textile spinners or loomers or weavers services#82.15.15.00.00
-unspsc7#82.15.15.08.00#Taxidermy services#82.15.15.00.00
-unspsc7#82.15.16.00.00#Circus performers#82.15.00.00.00
-unspsc7#82.15.16.01.00#Animal trainers services#82.15.16.00.00
-unspsc7#82.15.16.02.00#Acrobats services#82.15.16.00.00
-unspsc7#82.15.16.03.00#Magicians services#82.15.16.00.00
-unspsc7#82.15.16.04.00#Clowns services#82.15.16.00.00
-unspsc7#82.15.17.00.00#Performing arts professionals#82.15.00.00.00
-unspsc7#82.15.17.01.00#Acting services#82.15.17.00.00
-unspsc7#82.15.17.02.00#Comedians services#82.15.17.00.00
-unspsc7#82.15.17.03.00#Dancers services#82.15.17.00.00
-unspsc7#82.15.17.04.00#Musicians services#82.15.17.00.00
-unspsc7#82.15.17.05.00#Vocalists services#82.15.17.00.00
-unspsc7#82.15.17.06.00#Choreographic services#82.15.17.00.00
-unspsc7#83.00.00.00.00#Public Utilities and Public Sector Related Services#83.00.00.00.00
-unspsc7#83.10.00.00.00#Utilities#83.00.00.00.00
-unspsc7#83.10.15.00.00#Water and sewer utilities#83.10.00.00.00
-unspsc7#83.10.15.01.00#Supply of water#83.10.15.00.00
-unspsc7#83.10.15.02.00#Water resource management#83.10.15.00.00
-unspsc7#83.10.15.03.00#Water quality control management#83.10.15.00.00
-unspsc7#83.10.15.04.00#Water distribution management#83.10.15.00.00
-unspsc7#83.10.15.05.00#Water policy advisory services#83.10.15.00.00
-unspsc7#83.10.15.06.00#Water treatment services#83.10.15.00.00
-unspsc7#83.10.15.07.00#Desalination services#83.10.15.00.00
-unspsc7#83.10.15.08.00#Town water#83.10.15.00.00
-unspsc7#83.10.15.09.00#Service water#83.10.15.00.00
-unspsc7#83.10.15.10.00#Chilled water#83.10.15.00.00
-unspsc7#83.10.16.00.00#Oil and gas utilities#83.10.00.00.00
-unspsc7#83.10.16.01.00#Supply of natural gas#83.10.16.00.00
-unspsc7#83.10.16.02.00#Supply of fuel oil#83.10.16.00.00
-unspsc7#83.10.16.03.00#Oil pipeline services#83.10.16.00.00
-unspsc7#83.10.16.04.00#Gas pipeline services#83.10.16.00.00
-unspsc7#83.10.16.05.00#Gas facility charge#83.10.16.00.00
-unspsc7#83.10.18.00.00#Electric utilities#83.10.00.00.00
-unspsc7#83.10.18.01.00#Supply of single phase electricity#83.10.18.00.00
-unspsc7#83.10.18.02.00#Supply of two phase electricity#83.10.18.00.00
-unspsc7#83.10.18.03.00#Supply of three phase electricity#83.10.18.00.00
-unspsc7#83.10.18.04.00#Electric power transmission services#83.10.18.00.00
-unspsc7#83.10.18.05.00#Industrial electric power distribution#83.10.18.00.00
-unspsc7#83.10.18.06.00#Rural electrical power distribution#83.10.18.00.00
-unspsc7#83.10.18.07.00#Municipal electric power distribution#83.10.18.00.00
-unspsc7#83.10.19.00.00#Energy conservation#83.10.00.00.00
-unspsc7#83.10.19.01.00#Energy conservation programs#83.10.19.00.00
-unspsc7#83.10.19.02.00#Energy use reduction measures#83.10.19.00.00
-unspsc7#83.10.20.00.00#Funeral services#83.10.00.00.00
-unspsc7#83.10.20.01.00#Grave digging#83.10.20.00.00
-unspsc7#83.11.00.00.00#Telecommunications media services#83.00.00.00.00
-unspsc7#83.11.15.00.00#Local and long distance telephone communications#83.11.00.00.00
-unspsc7#83.11.15.01.00#Local telephone service#83.11.15.00.00
-unspsc7#83.11.15.02.00#Long distance telephone services#83.11.15.00.00
-unspsc7#83.11.15.03.00#Pay phone provider services#83.11.15.00.00
-unspsc7#83.11.15.04.00#Pre paid phone card services#83.11.15.00.00
-unspsc7#83.11.15.05.00#Directory assistance services#83.11.15.00.00
-unspsc7#83.11.15.06.00#Conference calling services#83.11.15.00.00
-unspsc7#83.11.15.07.00#Call centre bureau services#83.11.15.00.00
-unspsc7#83.11.15.08.00#Toll free inbound telephone service#83.11.15.00.00
-unspsc7#83.11.15.09.00#Telephone equipment repair services#83.11.15.00.00
-unspsc7#83.11.16.00.00#Mobile communications services#83.11.00.00.00
-unspsc7#83.11.16.01.00#Telecommunication signal enhancement network services#83.11.16.00.00
-unspsc7#83.11.16.02.00#Satellite or earth communication systems services#83.11.16.00.00
-unspsc7#83.11.16.03.00#Cellular telephone services#83.11.16.00.00
-unspsc7#83.11.16.04.00#Paging services#83.11.16.00.00
-unspsc7#83.11.17.00.00#Facsimile and telegraph services#83.11.00.00.00
-unspsc7#83.11.17.01.00#Facsimile transmission services#83.11.17.00.00
-unspsc7#83.11.17.02.00#Telegraph transmission services#83.11.17.00.00
-unspsc7#83.11.17.03.00#Telex transmission services#83.11.17.00.00
-unspsc7#83.11.18.00.00#Television services#83.11.00.00.00
-unspsc7#83.11.18.01.00#Cable television services#83.11.18.00.00
-unspsc7#83.11.18.02.00#Closed circuit television services#83.11.18.00.00
-unspsc7#83.11.18.03.00#Television antenna construction or rental services#83.11.18.00.00
-unspsc7#83.11.18.04.00#Television broadcasting station management#83.11.18.00.00
-unspsc7#83.11.19.00.00#Radio services#83.11.00.00.00
-unspsc7#83.11.19.01.00#Radio broadcasting station management#83.11.19.00.00
-unspsc7#83.11.19.02.00#Amateur radio networks or services#83.11.19.00.00
-unspsc7#83.11.19.03.00#Small scale radio systems#83.11.19.00.00
-unspsc7#83.11.19.04.00#Radio studio or equipment services#83.11.19.00.00
-unspsc7#83.11.20.00.00#Fiber telecommunications services#83.11.00.00.00
-unspsc7#83.11.20.01.00#Dark fiber#83.11.20.00.00
-unspsc7#83.11.20.02.00#Dense wavelength division multiplexing DWDM#83.11.20.00.00
-unspsc7#83.11.20.03.00#Wave division multiplexing WDM#83.11.20.00.00
-unspsc7#83.11.20.04.00#Ocx optical carrier service#83.11.20.00.00
-unspsc7#83.11.21.00.00#Switched dial up and leased dedicated line circuit telecommunications services#83.11.00.00.00
-unspsc7#83.11.21.01.00#High speed circuit switched dial up services#83.11.21.00.00
-unspsc7#83.11.21.02.00#ISDN integrated services digital network services#83.11.21.00.00
-unspsc7#83.11.21.03.00#Point to point digital telecommunications circuit#83.11.21.00.00
-unspsc7#83.11.21.04.00#Multi point analog telecommunications circuit#83.11.21.00.00
-unspsc7#83.11.21.05.00#Point to point analog telecommunications circuit#83.11.21.00.00
-unspsc7#83.11.21.06.00#xDSL digital subscriber line#83.11.21.00.00
-unspsc7#83.11.22.00.00#Enhanced telecommunications services#83.11.00.00.00
-unspsc7#83.11.22.01.00#ATM asyncronous transfer mode managed network services#83.11.22.00.00
-unspsc7#83.11.22.02.00#Frame relay public managed network services#83.11.22.00.00
-unspsc7#83.11.22.03.00#VPN virtual private network managed network services#83.11.22.00.00
-unspsc7#83.11.22.04.00#X75 managed network services#83.11.22.00.00
-unspsc7#83.11.22.05.00#X25 managed network services#83.11.22.00.00
-unspsc7#83.12.00.00.00#Information services#83.00.00.00.00
-unspsc7#83.12.15.00.00#Libraries#83.12.00.00.00
-unspsc7#83.12.15.01.00#General municipal public use libraries#83.12.15.00.00
-unspsc7#83.12.15.02.00#College or university libraries#83.12.15.00.00
-unspsc7#83.12.15.03.00#Privately owned libraries#83.12.15.00.00
-unspsc7#83.12.15.04.00#National government or military post libraries#83.12.15.00.00
-unspsc7#83.12.16.00.00#Information centers#83.12.00.00.00
-unspsc7#83.12.16.01.00#Chambers of commerce#83.12.16.00.00
-unspsc7#83.12.16.02.00#Tourism board services#83.12.16.00.00
-unspsc7#83.12.16.03.00#Computerized information retrieval systems#83.12.16.00.00
-unspsc7#83.12.16.04.00#Online database information retrieval systems#83.12.16.00.00
-unspsc7#83.12.16.05.00#Remote database information retrieval services#83.12.16.00.00
-unspsc7#83.12.16.06.00#Skip tracing#83.12.16.00.00
-unspsc7#83.12.17.00.00#Mass communication services#83.12.00.00.00
-unspsc7#83.12.17.01.00#Television related services#83.12.17.00.00
-unspsc7#83.12.17.02.00#Radio related services#83.12.17.00.00
-unspsc7#83.12.17.03.00#Internet related services#83.12.17.00.00
-unspsc7#83.12.17.04.00#Citizen warning systems#83.12.17.00.00
-unspsc7#84.00.00.00.00#Financial and Insurance Services#84.00.00.00.00
-unspsc7#84.10.00.00.00#Development finance#84.00.00.00.00
-unspsc7#84.10.15.00.00#Development assistance#84.10.00.00.00
-unspsc7#84.10.15.01.00#Financial assistance#84.10.15.00.00
-unspsc7#84.10.15.02.00#Savings mobilization programs#84.10.15.00.00
-unspsc7#84.10.15.03.00#Guarantee agreements#84.10.15.00.00
-unspsc7#84.10.16.00.00#Aid financing#84.10.00.00.00
-unspsc7#84.10.16.01.00#Co financing#84.10.16.00.00
-unspsc7#84.10.16.02.00#Bi lateral or multi lateral aid#84.10.16.00.00
-unspsc7#84.10.16.03.00#Non governmental aid#84.10.16.00.00
-unspsc7#84.10.16.04.00#Government aid#84.10.16.00.00
-unspsc7#84.10.17.00.00#Debt management#84.10.00.00.00
-unspsc7#84.10.17.01.00#Debt negotiation#84.10.17.00.00
-unspsc7#84.10.17.02.00#Debt reorganization#84.10.17.00.00
-unspsc7#84.10.17.03.00#Debt servicing#84.10.17.00.00
-unspsc7#84.10.17.04.00#Debt collection services#84.10.17.00.00
-unspsc7#84.10.17.05.00#Repossession services#84.10.17.00.00
-unspsc7#84.11.00.00.00#Accounting and auditing#84.00.00.00.00
-unspsc7#84.11.15.00.00#Accounting services#84.11.00.00.00
-unspsc7#84.11.15.01.00#Cost accounting#84.11.15.00.00
-unspsc7#84.11.15.02.00#Financial accounting#84.11.15.00.00
-unspsc7#84.11.15.03.00#Tax accounting#84.11.15.00.00
-unspsc7#84.11.15.04.00#Bookkeeping services#84.11.15.00.00
-unspsc7#84.11.15.05.00#Payroll accounting services#84.11.15.00.00
-unspsc7#84.11.15.06.00#Billing services#84.11.15.00.00
-unspsc7#84.11.15.07.00#Inventory accounting#84.11.15.00.00
-unspsc7#84.11.16.00.00#Audit services#84.11.00.00.00
-unspsc7#84.11.16.01.00#Year end audits#84.11.16.00.00
-unspsc7#84.11.16.02.00#Quarterly reviews#84.11.16.00.00
-unspsc7#84.11.16.03.00#Internal audits#84.11.16.00.00
-unspsc7#84.11.17.00.00#Corporate finance#84.11.00.00.00
-unspsc7#84.11.17.01.00#Treasury services#84.11.17.00.00
-unspsc7#84.11.17.02.00#Investor relations services or programs#84.11.17.00.00
-unspsc7#84.11.17.03.00#Budget preparation or review services#84.11.17.00.00
-unspsc7#84.11.18.00.00#Taxation issues and preparation#84.11.00.00.00
-unspsc7#84.11.18.01.00#Tax preparers#84.11.18.00.00
-unspsc7#84.11.18.02.00#Tax advisory services#84.11.18.00.00
-unspsc7#84.12.00.00.00#Banking and investment#84.00.00.00.00
-unspsc7#84.12.15.00.00#Banking institutions#84.12.00.00.00
-unspsc7#84.12.15.01.00#Privately owned banks#84.12.15.00.00
-unspsc7#84.12.15.02.00#Publicly owned banks#84.12.15.00.00
-unspsc7#84.12.15.03.00#Credit unions#84.12.15.00.00
-unspsc7#84.12.15.04.00#Development finance institutions#84.12.15.00.00
-unspsc7#84.12.16.00.00#Funds transfer and clearance and exchange services#84.12.00.00.00
-unspsc7#84.12.16.01.00#Funds clearance services#84.12.16.00.00
-unspsc7#84.12.16.02.00#Letter of credit services#84.12.16.00.00
-unspsc7#84.12.16.03.00#Currency exchange services#84.12.16.00.00
-unspsc7#84.12.16.04.00#Spot exchange transaction services#84.12.16.00.00
-unspsc7#84.12.16.05.00#Currency conversion service#84.12.16.00.00
-unspsc7#84.12.16.06.00#Remittance processing services#84.12.16.00.00
-unspsc7#84.12.17.00.00#Investment advice#84.12.00.00.00
-unspsc7#84.12.17.01.00#Investment advisers#84.12.17.00.00
-unspsc7#84.12.17.02.00#Investment policy#84.12.17.00.00
-unspsc7#84.12.17.03.00#Investment analysis#84.12.17.00.00
-unspsc7#84.12.17.04.00#Investment agreements#84.12.17.00.00
-unspsc7#84.12.17.05.00#Market data#84.12.17.00.00
-unspsc7#84.12.18.00.00#Securities and commodities markets services#84.12.00.00.00
-unspsc7#84.12.18.01.00#Stock market trading services#84.12.18.00.00
-unspsc7#84.12.18.02.00#Commodities or futures market services#84.12.18.00.00
-unspsc7#84.12.18.03.00#Government bonds#84.12.18.00.00
-unspsc7#84.12.18.04.00#Privately issued bonds#84.12.18.00.00
-unspsc7#84.12.18.05.00#Precious metals market services#84.12.18.00.00
-unspsc7#84.12.19.00.00#Mortgage banking#84.12.00.00.00
-unspsc7#84.12.19.01.00#Housing finance#84.12.19.00.00
-unspsc7#84.12.19.02.00#Re financing services#84.12.19.00.00
-unspsc7#84.12.19.03.00#Commercial mortgage finance#84.12.19.00.00
-unspsc7#84.12.20.00.00#Cash vault services#84.12.00.00.00
-unspsc7#84.12.20.01.00#Deposit verification services#84.12.20.00.00
-unspsc7#84.13.00.00.00#Insurance and retirement services#84.00.00.00.00
-unspsc7#84.13.15.00.00#Insurance services for structures and property and possessions#84.13.00.00.00
-unspsc7#84.13.15.01.00#Building or building contents insurance#84.13.15.00.00
-unspsc7#84.13.15.02.00#Homeowners or renters insurance#84.13.15.00.00
-unspsc7#84.13.15.03.00#Car or truck insurance#84.13.15.00.00
-unspsc7#84.13.15.04.00#Cargo insurance#84.13.15.00.00
-unspsc7#84.13.15.05.00#Marine insurance#84.13.15.00.00
-unspsc7#84.13.15.06.00#Reinsurance services#84.13.15.00.00
-unspsc7#84.13.16.00.00#Life and health and accident insurance#84.13.00.00.00
-unspsc7#84.13.16.01.00#Life insurance#84.13.16.00.00
-unspsc7#84.13.16.02.00#Health or hospitalization insurance#84.13.16.00.00
-unspsc7#84.13.16.03.00#Accidental injury insurance#84.13.16.00.00
-unspsc7#84.13.16.04.00#Disability insurance#84.13.16.00.00
-unspsc7#84.13.16.05.00#Workmens insurance#84.13.16.00.00
-unspsc7#84.13.16.06.00#Unemployment insurance#84.13.16.00.00
-unspsc7#84.13.16.07.00#Liability insurance#84.13.16.00.00
-unspsc7#84.13.17.00.00#Pension funds#84.13.00.00.00
-unspsc7#84.13.17.01.00#Employer administered pension funds#84.13.17.00.00
-unspsc7#84.13.17.02.00#Union or guild administered pension funds#84.13.17.00.00
-unspsc7#84.13.18.00.00#Retirement funds#84.13.00.00.00
-unspsc7#84.13.18.01.00#Self directed or employer sponsored retirement funds#84.13.18.00.00
-unspsc7#84.13.18.02.00#Self directed or self initiated retirement plans#84.13.18.00.00
-unspsc7#84.14.00.00.00#Credit agencies#84.00.00.00.00
-unspsc7#84.14.15.00.00#Governmental credit agencies#84.14.00.00.00
-unspsc7#84.14.15.01.00#Farm credit services#84.14.15.00.00
-unspsc7#84.14.15.02.00#Small business loan agencies#84.14.15.00.00
-unspsc7#84.14.15.03.00#Minority owned business programs#84.14.15.00.00
-unspsc7#84.14.16.00.00#Personal credit agencies#84.14.00.00.00
-unspsc7#84.14.16.01.00#Consumer credit gathering or reporting services#84.14.16.00.00
-unspsc7#84.14.16.02.00#Credit card service providers#84.14.16.00.00
-unspsc7#84.14.17.00.00#Business credit agencies#84.14.00.00.00
-unspsc7#84.14.17.01.00#Business credit gathering or reporting services#84.14.17.00.00
-unspsc7#84.14.17.02.00#Value added network (VAN) services#84.14.17.00.00
-unspsc7#85.00.00.00.00#Healthcare Services#85.00.00.00.00
-unspsc7#85.10.00.00.00#Comprehensive health services#85.00.00.00.00
-unspsc7#85.10.15.00.00#Healthcare centers#85.10.00.00.00
-unspsc7#85.10.15.01.00#Emergency or surgical hospital services#85.10.15.00.00
-unspsc7#85.10.15.02.00#Private specialized clinic services#85.10.15.00.00
-unspsc7#85.10.15.03.00#Medical office services#85.10.15.00.00
-unspsc7#85.10.15.04.00#Psychiatric hospital services#85.10.15.00.00
-unspsc7#85.10.15.05.00#Respiratory hospital services#85.10.15.00.00
-unspsc7#85.10.15.06.00#Substance abuse hospital services#85.10.15.00.00
-unspsc7#85.10.15.07.00#Urgent care centers#85.10.15.00.00
-unspsc7#85.10.15.08.00#Mobile healthcare centers or services#85.10.15.00.00
-unspsc7#85.10.15.09.00#Gynecological or obstetrical hospital services#85.10.15.00.00
-unspsc7#85.10.16.00.00#Healthcare provider support persons#85.10.00.00.00
-unspsc7#85.10.16.01.00#Nursing services#85.10.16.00.00
-unspsc7#85.10.16.02.00#Midwifery or child birth preparation services#85.10.16.00.00
-unspsc7#85.10.16.03.00#Personal care services in specialized institutions#85.10.16.00.00
-unspsc7#85.10.16.04.00#Physicians personnel assistance services#85.10.16.00.00
-unspsc7#85.10.16.05.00#Home health assistants#85.10.16.00.00
-unspsc7#85.10.17.00.00#Health administration services#85.10.00.00.00
-unspsc7#85.10.17.01.00#Health policy#85.10.17.00.00
-unspsc7#85.10.17.02.00#Health legislation or regulations#85.10.17.00.00
-unspsc7#85.10.17.03.00#Health service planning#85.10.17.00.00
-unspsc7#85.10.17.04.00#Health economics#85.10.17.00.00
-unspsc7#85.10.17.05.00#Public health administration#85.10.17.00.00
-unspsc7#85.10.17.06.00#Traditional healthcare services#85.10.17.00.00
-unspsc7#85.10.17.07.00#Health systems evaluation services#85.10.17.00.00
-unspsc7#85.11.00.00.00#Disease prevention and control#85.00.00.00.00
-unspsc7#85.11.15.00.00#Contagious disease prevention and control#85.11.00.00.00
-unspsc7#85.11.15.01.00#Aids prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.02.00#Parasitic disease prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.03.00#Fungal diseases prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.04.00#Tuberculosis prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.05.00#Leprosy prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.06.00#Bacterial disease prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.07.00#Sexually transmitted diseases prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.08.00#Viral diseases prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.09.00#Zoonotic diseases prevention or control services#85.11.15.00.00
-unspsc7#85.11.15.10.00#Vaccination services#85.11.15.00.00
-unspsc7#85.11.15.11.00#Quarantine services#85.11.15.00.00
-unspsc7#85.11.15.12.00#Immunization services#85.11.15.00.00
-unspsc7#85.11.15.13.00#Disinsectization services#85.11.15.00.00
-unspsc7#85.11.15.14.00#Epidemics prevention or control services#85.11.15.00.00
-unspsc7#85.11.16.00.00#Non contagious disease prevention and control#85.11.00.00.00
-unspsc7#85.11.16.01.00#Bone diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.02.00#Cancer or leukemia prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.03.00#Endocrine diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.04.00#Heart diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.05.00#Immunologic prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.06.00#Allergies prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.07.00#Neurological disorders prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.08.00#Nutritional diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.09.00#Radiation sickness prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.10.00#Digestive system diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.11.00#Eye disease prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.12.00#Respiratory diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.13.00#Tropical diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.14.00#Childhood diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.15.00#Diarrheal diseases prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.16.00#Alcoholism prevention or control services#85.11.16.00.00
-unspsc7#85.11.16.17.00#Drug addiction prevention or control services#85.11.16.00.00
-unspsc7#85.11.17.00.00#Disease vectors management and control#85.11.00.00.00
-unspsc7#85.11.17.01.00#Ticks management or control services#85.11.17.00.00
-unspsc7#85.11.17.02.00#Tsetse flies management or control services#85.11.17.00.00
-unspsc7#85.11.17.03.00#Bacteria management or control services#85.11.17.00.00
-unspsc7#85.11.17.04.00#Mosquito management or control services#85.11.17.00.00
-unspsc7#85.12.00.00.00#Medical practice#85.00.00.00.00
-unspsc7#85.12.15.00.00#Primary care practitioners services#85.12.00.00.00
-unspsc7#85.12.15.01.00#Primary care physicians home visits services#85.12.15.00.00
-unspsc7#85.12.15.02.00#Primary care physicians consultation services#85.12.15.00.00
-unspsc7#85.12.15.03.00#Primary care physicians control services#85.12.15.00.00
-unspsc7#85.12.15.04.00#Primary care physicians emergency medical services#85.12.15.00.00
-unspsc7#85.12.16.00.00#Medical doctors specialist services#85.12.00.00.00
-unspsc7#85.12.16.01.00#Gynecologic or obstetric services#85.12.16.00.00
-unspsc7#85.12.16.02.00#Nephrology services#85.12.16.00.00
-unspsc7#85.12.16.03.00#Cardiology services#85.12.16.00.00
-unspsc7#85.12.16.04.00#Pulomonary specialists services#85.12.16.00.00
-unspsc7#85.12.16.05.00#Gastroenterologists services#85.12.16.00.00
-unspsc7#85.12.16.06.00#Geriatric services#85.12.16.00.00
-unspsc7#85.12.16.07.00#Psychiatrist services#85.12.16.00.00
-unspsc7#85.12.16.08.00#Psychologists services#85.12.16.00.00
-unspsc7#85.12.16.09.00#Surgery services#85.12.16.00.00
-unspsc7#85.12.16.10.00#Ophthalmologists services#85.12.16.00.00
-unspsc7#85.12.16.11.00#Dermatology services#85.12.16.00.00
-unspsc7#85.12.16.12.00#Orthopedics services#85.12.16.00.00
-unspsc7#85.12.16.13.00#Pediatric services#85.12.16.00.00
-unspsc7#85.12.16.14.00#Nervous system specialist services#85.12.16.00.00
-unspsc7#85.12.17.00.00#Healthcare providers specialists services#85.12.00.00.00
-unspsc7#85.12.17.01.00#Psychotherapists services#85.12.17.00.00
-unspsc7#85.12.17.02.00#Optometrists services#85.12.17.00.00
-unspsc7#85.12.17.03.00#Podiatrists services#85.12.17.00.00
-unspsc7#85.12.17.04.00#Speech specialists services#85.12.17.00.00
-unspsc7#85.12.17.05.00#Acupuncturists services#85.12.17.00.00
-unspsc7#85.12.17.06.00#Chiropractors services#85.12.17.00.00
-unspsc7#85.12.18.00.00#Medical laboratories#85.12.00.00.00
-unspsc7#85.12.18.01.00#Blood analysis laboratory services#85.12.18.00.00
-unspsc7#85.12.18.02.00#Bacteriological laboratory services#85.12.18.00.00
-unspsc7#85.12.18.03.00#Biological laboratory services#85.12.18.00.00
-unspsc7#85.12.18.04.00#Pathological laboratory services#85.12.18.00.00
-unspsc7#85.12.18.05.00#Urinalysis laboratory services#85.12.18.00.00
-unspsc7#85.12.18.06.00#Neurological laboratory services#85.12.18.00.00
-unspsc7#85.12.18.07.00#Ultrasound laboratory services#85.12.18.00.00
-unspsc7#85.12.18.08.00#X ray laboratory services#85.12.18.00.00
-unspsc7#85.12.18.09.00#Blood or sperm or transplant organ banks services#85.12.18.00.00
-unspsc7#85.12.18.10.00#Drug or alcohol screening#85.12.18.00.00
-unspsc7#85.12.19.00.00#Pharmacists#85.12.00.00.00
-unspsc7#85.12.19.01.00#Pharmaceutical preparation services#85.12.19.00.00
-unspsc7#85.12.19.02.00#Commercial pharmaceutical services#85.12.19.00.00
-unspsc7#85.12.20.00.00#Dental services#85.12.00.00.00
-unspsc7#85.12.20.01.00#Dentists services#85.12.20.00.00
-unspsc7#85.12.20.02.00#Dental hygienists services#85.12.20.00.00
-unspsc7#85.12.20.03.00#Dentist support staff services#85.12.20.00.00
-unspsc7#85.12.20.04.00#Oral surgeons services#85.12.20.00.00
-unspsc7#85.12.20.05.00#Orthodontic services#85.12.20.00.00
-unspsc7#85.12.21.00.00#Rehabilitation services#85.12.00.00.00
-unspsc7#85.12.21.01.00#Physical therapy services#85.12.21.00.00
-unspsc7#85.12.21.02.00#Occupational therapy services#85.12.21.00.00
-unspsc7#85.12.21.03.00#Rehabilitation services for substance abuse#85.12.21.00.00
-unspsc7#85.12.21.04.00#Athletic rehabilitation services#85.12.21.00.00
-unspsc7#85.12.21.05.00#Eating disorders services#85.12.21.00.00
-unspsc7#85.12.21.06.00#Brain or spinal cord injury services#85.12.21.00.00
-unspsc7#85.12.21.07.00#Blind or vision impaired rehabilitation services#85.12.21.00.00
-unspsc7#85.12.21.08.00#Speech or language therapy#85.12.21.00.00
-unspsc7#85.12.21.09.00#Rehabilitation services for people with chronic disabilities#85.12.21.00.00
-unspsc7#85.13.00.00.00#Medical science research and experimentation#85.00.00.00.00
-unspsc7#85.13.15.00.00#Experimental medicine services#85.13.00.00.00
-unspsc7#85.13.15.01.00#Organ transplant services#85.13.15.00.00
-unspsc7#85.13.15.02.00#Clinical human drug trials#85.13.15.00.00
-unspsc7#85.13.15.03.00#Animal experimentation#85.13.15.00.00
-unspsc7#85.13.15.04.00#Human experimentation#85.13.15.00.00
-unspsc7#85.13.15.05.00#Space experimentation#85.13.15.00.00
-unspsc7#85.13.16.00.00#Medical ethics#85.13.00.00.00
-unspsc7#85.13.16.01.00#Euthanasia issues#85.13.16.00.00
-unspsc7#85.13.16.02.00#Medical code of conduct#85.13.16.00.00
-unspsc7#85.13.16.03.00#Medical societies#85.13.16.00.00
-unspsc7#85.13.16.04.00#International drug monitoring services#85.13.16.00.00
-unspsc7#85.13.17.00.00#Medical science and research#85.13.00.00.00
-unspsc7#85.13.17.01.00#Pharmaceutical research services#85.13.17.00.00
-unspsc7#85.13.17.02.00#Bacteriology research services#85.13.17.00.00
-unspsc7#85.13.17.03.00#Biomedical research services#85.13.17.00.00
-unspsc7#85.13.17.04.00#Cardiology research services#85.13.17.00.00
-unspsc7#85.13.17.05.00#Anatomy research services#85.13.17.00.00
-unspsc7#85.13.17.06.00#Pathology research services#85.13.17.00.00
-unspsc7#85.13.17.07.00#Embryology research services#85.13.17.00.00
-unspsc7#85.13.17.08.00#Epidemiology research services#85.13.17.00.00
-unspsc7#85.13.17.09.00#Genetics research services#85.13.17.00.00
-unspsc7#85.13.17.10.00#Immunology research services#85.13.17.00.00
-unspsc7#85.13.17.11.00#Physiology research services#85.13.17.00.00
-unspsc7#85.13.17.12.00#Toxicology research services#85.13.17.00.00
-unspsc7#85.13.17.13.00#Neurology research services#85.13.17.00.00
-unspsc7#85.14.00.00.00#Alternative and holistic medicine#85.00.00.00.00
-unspsc7#85.14.15.00.00#Faith healers#85.14.00.00.00
-unspsc7#85.14.15.01.00#Witch doctors or voodoo services#85.14.15.00.00
-unspsc7#85.14.15.02.00#Faith healers services#85.14.15.00.00
-unspsc7#85.14.15.03.00#Shamans#85.14.15.00.00
-unspsc7#85.14.15.04.00#Energy work#85.14.15.00.00
-unspsc7#85.14.16.00.00#Herbal treatments#85.14.00.00.00
-unspsc7#85.14.16.01.00#Herbal medicine or herbalists services#85.14.16.00.00
-unspsc7#85.14.16.02.00#Algae or sea weed medical cures#85.14.16.00.00
-unspsc7#85.14.16.03.00#Hot springs cure services#85.14.16.00.00
-unspsc7#85.14.17.00.00#Homeopathic practice#85.14.00.00.00
-unspsc7#85.14.17.01.00#Initial diagnostic assessment#85.14.17.00.00
-unspsc7#85.14.17.02.00#Remedy consultations#85.14.17.00.00
-unspsc7#85.15.00.00.00#Food and nutrition services#85.00.00.00.00
-unspsc7#85.15.15.00.00#Food technology#85.15.00.00.00
-unspsc7#85.15.15.01.00#Food hygiene control services#85.15.15.00.00
-unspsc7#85.15.15.02.00#Food contamination control services#85.15.15.00.00
-unspsc7#85.15.15.03.00#Food preservation management or control services#85.15.15.00.00
-unspsc7#85.15.15.04.00#Food preparation counseling or control services#85.15.15.00.00
-unspsc7#85.15.15.05.00#Food research services#85.15.15.00.00
-unspsc7#85.15.15.06.00#Studies on foods or food habits#85.15.15.00.00
-unspsc7#85.15.15.07.00#Food additive or quality standards services#85.15.15.00.00
-unspsc7#85.15.15.08.00#Food analysis services#85.15.15.00.00
-unspsc7#85.15.15.09.00#Food legislation services#85.15.15.00.00
-unspsc7#85.15.16.00.00#Nutrition issues#85.15.00.00.00
-unspsc7#85.15.16.01.00#Nutrition programming services#85.15.16.00.00
-unspsc7#85.15.16.02.00#Breast or bottle feeding policy#85.15.16.00.00
-unspsc7#85.15.16.03.00#Nutritional rehabilitation services#85.15.16.00.00
-unspsc7#85.15.16.04.00#Nutrition project evaluation#85.15.16.00.00
-unspsc7#85.15.16.05.00#Food or nutrition development strategies#85.15.16.00.00
-unspsc7#85.15.16.06.00#Nutrient deficiency control programs#85.15.16.00.00
-unspsc7#85.15.16.07.00#Diet control or programs#85.15.16.00.00
-unspsc7#85.15.17.00.00#Food policy planning and aid#85.15.00.00.00
-unspsc7#85.15.17.01.00#Food standards#85.15.17.00.00
-unspsc7#85.15.17.02.00#Food aid global information or early warning systems services#85.15.17.00.00
-unspsc7#85.15.17.03.00#Assessment of emergency food requirements#85.15.17.00.00
-unspsc7#85.15.17.04.00#National food intervention policy or programs#85.15.17.00.00
-unspsc7#85.15.17.05.00#Evaluation of food aid nutritional impact#85.15.17.00.00
-unspsc7#86.00.00.00.00#Education and Training Services#86.00.00.00.00
-unspsc7#86.10.00.00.00#Vocational training#86.00.00.00.00
-unspsc7#86.10.15.00.00#Agriculture and forestry and other natural resources training services#86.10.00.00.00
-unspsc7#86.10.15.01.00#Agro industry vocational training#86.10.15.00.00
-unspsc7#86.10.15.02.00#Dairy industry vocational training#86.10.15.00.00
-unspsc7#86.10.15.03.00#Meat industry vocational training#86.10.15.00.00
-unspsc7#86.10.15.04.00#Agriculture vocational training services#86.10.15.00.00
-unspsc7#86.10.15.05.00#Rural youth or farmers vocational training services#86.10.15.00.00
-unspsc7#86.10.15.06.00#Forestry vocational training services#86.10.15.00.00
-unspsc7#86.10.15.07.00#Fishery vocational training services#86.10.15.00.00
-unspsc7#86.10.15.08.00#Environmental vocational training services#86.10.15.00.00
-unspsc7#86.10.15.09.00#Natural resources vocational training services#86.10.15.00.00
-unspsc7#86.10.16.00.00#Scientific vocational training services#86.10.00.00.00
-unspsc7#86.10.16.01.00#Computer vocational training services#86.10.16.00.00
-unspsc7#86.10.16.02.00#Energy related vocational training services#86.10.16.00.00
-unspsc7#86.10.16.03.00#Chemistry vocational training services#86.10.16.00.00
-unspsc7#86.10.16.04.00#Biology vocational training services#86.10.16.00.00
-unspsc7#86.10.16.05.00#Medical vocational training services#86.10.16.00.00
-unspsc7#86.10.16.06.00#Electronics vocational training services#86.10.16.00.00
-unspsc7#86.10.16.07.00#Telecommunications vocational training services#86.10.16.00.00
-unspsc7#86.10.16.08.00#Hydraulics vocational training services#86.10.16.00.00
-unspsc7#86.10.16.09.00#Industrial vocational training services#86.10.16.00.00
-unspsc7#86.10.16.10.00#Engineering vocational training services#86.10.16.00.00
-unspsc7#86.10.17.00.00#Non scientific vocational training services#86.10.00.00.00
-unspsc7#86.10.17.01.00#Communications vocational training services#86.10.17.00.00
-unspsc7#86.10.17.02.00#Tourism related training#86.10.17.00.00
-unspsc7#86.10.17.03.00#Library or documentation training#86.10.17.00.00
-unspsc7#86.10.17.04.00#Procurement or supply chain training#86.10.17.00.00
-unspsc7#86.10.17.05.00#Clerical training#86.10.17.00.00
-unspsc7#86.10.17.06.00#Health assistance vocational training services#86.10.17.00.00
-unspsc7#86.10.17.07.00#Personal care vocational training services#86.10.17.00.00
-unspsc7#86.10.17.08.00#Literacy services#86.10.17.00.00
-unspsc7#86.10.17.09.00#Safety training services#86.10.17.00.00
-unspsc7#86.10.17.10.00#Teacher training services#86.10.17.00.00
-unspsc7#86.10.17.11.00#Fire fighting training services#86.10.17.00.00
-unspsc7#86.10.17.12.00#Handcrafts vocational training services#86.10.17.00.00
-unspsc7#86.10.17.13.00#Law vocational training services#86.10.17.00.00
-unspsc7#86.10.17.14.00#Law enforcement vocational training services#86.10.17.00.00
-unspsc7#86.10.17.15.00#Road or rail transportation vocational training services#86.10.17.00.00
-unspsc7#86.10.17.16.00#Shipping vocational training services#86.10.17.00.00
-unspsc7#86.10.18.00.00#In service training and manpower development#86.10.00.00.00
-unspsc7#86.10.18.01.00#Bank or finance sector manpower development#86.10.18.00.00
-unspsc7#86.10.18.02.00#Re training or refreshing training services#86.10.18.00.00
-unspsc7#86.10.18.03.00#Vocational rehabilitation services#86.10.18.00.00
-unspsc7#86.10.18.04.00#Commercial sector manpower development#86.10.18.00.00
-unspsc7#86.10.18.05.00#Industrial sector manpower development#86.10.18.00.00
-unspsc7#86.10.18.06.00#Health sector manpower development#86.10.18.00.00
-unspsc7#86.10.18.07.00#Management sector manpower development#86.10.18.00.00
-unspsc7#86.10.18.08.00#Public sector manpower development services#86.10.18.00.00
-unspsc7#86.10.18.09.00#Merchant marine vocational training services#86.10.18.00.00
-unspsc7#86.11.00.00.00#Alternative educational systems#86.00.00.00.00
-unspsc7#86.11.15.00.00#Distance learning services#86.11.00.00.00
-unspsc7#86.11.15.01.00#Distance learning guidance services#86.11.15.00.00
-unspsc7#86.11.15.02.00#Distance teaching services#86.11.15.00.00
-unspsc7#86.11.15.03.00#Certificated distance learning services#86.11.15.00.00
-unspsc7#86.11.15.04.00#Non certificated distance learning services#86.11.15.00.00
-unspsc7#86.11.15.05.00#Distance learning assessment services#86.11.15.00.00
-unspsc7#86.11.16.00.00#Adult education#86.11.00.00.00
-unspsc7#86.11.16.01.00#Evening courses#86.11.16.00.00
-unspsc7#86.11.16.02.00#Part time adult education services#86.11.16.00.00
-unspsc7#86.11.16.03.00#Parent education#86.11.16.00.00
-unspsc7#86.11.16.04.00#Employee Education#86.11.16.00.00
-unspsc7#86.11.17.00.00#Language schooling#86.11.00.00.00
-unspsc7#86.11.17.01.00#Conversational foreign language instruction#86.11.17.00.00
-unspsc7#86.11.17.02.00#Foreign language immersion instruction#86.11.17.00.00
-unspsc7#86.11.18.00.00#Educational exchanges#86.11.00.00.00
-unspsc7#86.11.18.01.00#Educational exchanges between universities#86.11.18.00.00
-unspsc7#86.11.18.02.00#Educational exchanges between schools#86.11.18.00.00
-unspsc7#86.12.00.00.00#Educational institutions#86.00.00.00.00
-unspsc7#86.12.15.00.00#Elementary and secondary schools#86.12.00.00.00
-unspsc7#86.12.15.01.00#Pre school educational services#86.12.15.00.00
-unspsc7#86.12.15.02.00#Religious elementary or secondary schools#86.12.15.00.00
-unspsc7#86.12.15.03.00#Private elementary or secondary schools#86.12.15.00.00
-unspsc7#86.12.15.04.00#Public elementary or secondary schools#86.12.15.00.00
-unspsc7#86.12.16.00.00#Junior colleges#86.12.00.00.00
-unspsc7#86.12.16.01.00#Community colleges#86.12.16.00.00
-unspsc7#86.12.16.02.00#Technical institutes#86.12.16.00.00
-unspsc7#86.12.17.00.00#University and colleges#86.12.00.00.00
-unspsc7#86.12.17.01.00#Undergraduate programs#86.12.17.00.00
-unspsc7#86.12.17.02.00#Postgraduate programs#86.12.17.00.00
-unspsc7#86.12.18.00.00#Professional schools#86.12.00.00.00
-unspsc7#86.12.18.02.00#Theological seminaries#86.12.18.00.00
-unspsc7#86.12.18.03.00#Technical professional schools#86.12.18.00.00
-unspsc7#86.12.18.04.00#Non technical professional schools#86.12.18.00.00
-unspsc7#86.13.00.00.00#Specialized educational services#86.00.00.00.00
-unspsc7#86.13.15.00.00#Fine arts#86.13.00.00.00
-unspsc7#86.13.15.01.00#Theater studies#86.13.15.00.00
-unspsc7#86.13.15.02.00#Painting#86.13.15.00.00
-unspsc7#86.13.15.03.00#Sculpture#86.13.15.00.00
-unspsc7#86.13.15.04.00#Media studies#86.13.15.00.00
-unspsc7#86.13.16.00.00#Music and drama#86.13.00.00.00
-unspsc7#86.13.16.01.00#Music schools#86.13.16.00.00
-unspsc7#86.13.16.02.00#Dance education#86.13.16.00.00
-unspsc7#86.13.16.03.00#Drama studies#86.13.16.00.00
-unspsc7#86.13.17.00.00#Driving and flying and sailing#86.13.00.00.00
-unspsc7#86.13.17.01.00#Vehicle driving schools services#86.13.17.00.00
-unspsc7#86.13.17.02.00#Flight school services#86.13.17.00.00
-unspsc7#86.13.17.03.00#Yachting or boating school services#86.13.17.00.00
-unspsc7#86.13.18.00.00#Military education#86.13.00.00.00
-unspsc7#86.13.18.01.00#Service academies#86.13.18.00.00
-unspsc7#86.13.18.02.00#Pilot schools#86.13.18.00.00
-unspsc7#86.13.18.03.00#Military police training#86.13.18.00.00
-unspsc7#86.13.18.04.00#War college#86.13.18.00.00
-unspsc7#86.13.19.00.00#Schools for people with disabilities#86.13.00.00.00
-unspsc7#86.13.19.01.00#Primary schooling services for people with disabilities#86.13.19.00.00
-unspsc7#86.13.19.02.00#Secondary schooling services for people with disabilities#86.13.19.00.00
-unspsc7#86.13.19.03.00#Specialized schools for people with disabilities#86.13.19.00.00
-unspsc7#86.13.19.04.00#Specialized rehabilitation services for people with disabilities#86.13.19.00.00
-unspsc7#86.14.00.00.00#Educational facilities#86.00.00.00.00
-unspsc7#86.14.15.00.00#Educational guidance services#86.14.00.00.00
-unspsc7#86.14.15.01.00#Educational advisory services#86.14.15.00.00
-unspsc7#86.14.15.02.00#Universities cooperation guidance services#86.14.15.00.00
-unspsc7#86.14.15.03.00#Study abroad advisory services#86.14.15.00.00
-unspsc7#86.14.16.00.00#Students organizations#86.14.00.00.00
-unspsc7#86.14.16.01.00#Students hobby clubs#86.14.16.00.00
-unspsc7#86.14.16.02.00#Students unions#86.14.16.00.00
-unspsc7#86.14.16.03.00#Students travelling organizations#86.14.16.00.00
-unspsc7#86.14.17.00.00#Educational technology#86.14.00.00.00
-unspsc7#86.14.17.01.00#Language laboratories#86.14.17.00.00
-unspsc7#86.14.17.02.00#Audio visual technology#86.14.17.00.00
-unspsc7#86.14.17.03.00#Computer programmed instruction#86.14.17.00.00
-unspsc7#86.14.17.04.00#Library or documentation services#86.14.17.00.00
-unspsc7#90.00.00.00.00#Travel and Food and Lodging and Entertainment Services#90.00.00.00.00
-unspsc7#90.10.00.00.00#Restaurants and catering#90.00.00.00.00
-unspsc7#90.10.15.00.00#Eating and drinking establishments#90.10.00.00.00
-unspsc7#90.10.15.01.00#Restaurants#90.10.15.00.00
-unspsc7#90.10.15.02.00#Bars#90.10.15.00.00
-unspsc7#90.10.15.03.00#Fast food establishments#90.10.15.00.00
-unspsc7#90.10.15.04.00#On street food vendors#90.10.15.00.00
-unspsc7#90.10.16.00.00#Banquet and catering services#90.10.00.00.00
-unspsc7#90.10.16.01.00#Banquet facilities#90.10.16.00.00
-unspsc7#90.10.16.02.00#Party tent services#90.10.16.00.00
-unspsc7#90.10.16.03.00#Catering services#90.10.16.00.00
-unspsc7#90.10.16.04.00#Construction or work site catering services#90.10.16.00.00
-unspsc7#90.10.17.00.00#Cafeteria services#90.10.00.00.00
-unspsc7#90.10.17.01.00#On site cafeteria management#90.10.17.00.00
-unspsc7#90.10.18.00.00#Carryout and takeaway services#90.10.00.00.00
-unspsc7#90.10.18.01.00#Professionally prepared carryout meals#90.10.18.00.00
-unspsc7#90.10.18.02.00#Delivered meals services#90.10.18.00.00
-unspsc7#90.11.00.00.00#Hotels and lodging and meeting facilities#90.00.00.00.00
-unspsc7#90.11.15.00.00#Hotels and motels and inns#90.11.00.00.00
-unspsc7#90.11.15.01.00#Hotels#90.11.15.00.00
-unspsc7#90.11.15.02.00#Lodges or resorts#90.11.15.00.00
-unspsc7#90.11.15.03.00#Bed and breakfast inns#90.11.15.00.00
-unspsc7#90.11.15.04.00#Cottage rental services#90.11.15.00.00
-unspsc7#90.11.16.00.00#Meeting facilities#90.11.00.00.00
-unspsc7#90.11.16.01.00#Conference centers#90.11.16.00.00
-unspsc7#90.11.16.02.00#Videoconferencing facilities#90.11.16.00.00
-unspsc7#90.11.16.03.00#Meeting or banquet rooms#90.11.16.00.00
-unspsc7#90.11.17.00.00#Camping and wilderness facilities#90.11.00.00.00
-unspsc7#90.11.17.01.00#Campsites#90.11.17.00.00
-unspsc7#90.11.17.02.00#Government owned parks#90.11.17.00.00
-unspsc7#90.11.17.03.00#Recreational vehicle campsite facilities#90.11.17.00.00
-unspsc7#90.12.00.00.00#Travel facilitation#90.00.00.00.00
-unspsc7#90.12.15.00.00#Travel agents#90.12.00.00.00
-unspsc7#90.12.15.01.00#Tour arrangement services#90.12.15.00.00
-unspsc7#90.12.15.02.00#Travel agencies#90.12.15.00.00
-unspsc7#90.12.15.03.00#Chartering services#90.12.15.00.00
-unspsc7#90.12.16.00.00#Travel document assistance#90.12.00.00.00
-unspsc7#90.12.16.01.00#Passport services#90.12.16.00.00
-unspsc7#90.12.16.02.00#Visa or auxilliary document services#90.12.16.00.00
-unspsc7#90.12.17.00.00#Guides and interpreters#90.12.00.00.00
-unspsc7#90.12.17.01.00#Area or tour guides#90.12.17.00.00
-unspsc7#90.12.17.02.00#Interpreters#90.12.17.00.00
-unspsc7#90.13.00.00.00#Performing arts#90.00.00.00.00
-unspsc7#90.13.15.00.00#Live performances#90.13.00.00.00
-unspsc7#90.13.15.01.00#Theatrical performances or plays#90.13.15.00.00
-unspsc7#90.13.15.02.00#Dance performances#90.13.15.00.00
-unspsc7#90.13.15.03.00#Opera#90.13.15.00.00
-unspsc7#90.13.15.04.00#Concerts#90.13.15.00.00
-unspsc7#90.13.16.00.00#Taped or motion picture performances#90.13.00.00.00
-unspsc7#90.13.16.01.00#Motion pictures#90.13.16.00.00
-unspsc7#90.13.16.02.00#Videotaped entertainment#90.13.16.00.00
-unspsc7#90.14.00.00.00#Commercial sports#90.00.00.00.00
-unspsc7#90.14.15.00.00#Professional sporting events#90.14.00.00.00
-unspsc7#90.14.15.01.00#League play#90.14.15.00.00
-unspsc7#90.14.15.02.00#Competitive events#90.14.15.00.00
-unspsc7#90.14.15.03.00#Exhibitions#90.14.15.00.00
-unspsc7#90.14.16.00.00#Sports event promotion and sponsorship#90.14.00.00.00
-unspsc7#90.14.16.01.00#Company sponsored professional sports events#90.14.16.00.00
-unspsc7#90.14.16.02.00#Company sponsored amateur sports events#90.14.16.00.00
-unspsc7#90.14.16.03.00#Sporting event promotion services#90.14.16.00.00
-unspsc7#90.14.17.00.00#Amateur and recreational sports#90.14.00.00.00
-unspsc7#90.14.17.01.00#Youth competitive sports leagues#90.14.17.00.00
-unspsc7#90.14.17.02.00#Adult sports leagues#90.14.17.00.00
-unspsc7#90.14.17.03.00#Youth sports#90.14.17.00.00
-unspsc7#90.15.00.00.00#Entertainment services#90.00.00.00.00
-unspsc7#90.15.15.00.00#Tourist attractions#90.15.00.00.00
-unspsc7#90.15.15.01.00#Museums#90.15.15.00.00
-unspsc7#90.15.15.02.00#Historical or cultural sites#90.15.15.00.00
-unspsc7#90.15.15.03.00#Zoological gardens#90.15.15.00.00
-unspsc7#90.15.16.00.00#Travelling shows#90.15.00.00.00
-unspsc7#90.15.16.01.00#Circuses#90.15.16.00.00
-unspsc7#90.15.16.02.00#Touring companies#90.15.16.00.00
-unspsc7#90.15.16.03.00#Art exhibitions#90.15.16.00.00
-unspsc7#90.15.17.00.00#Amusement parks#90.15.00.00.00
-unspsc7#90.15.17.01.00#Theme parks#90.15.17.00.00
-unspsc7#90.15.17.02.00#Water parks#90.15.17.00.00
-unspsc7#90.15.17.03.00#Miniature golf courses#90.15.17.00.00
-unspsc7#90.15.18.00.00#Carnivals and fairs#90.15.00.00.00
-unspsc7#90.15.18.01.00#Travelling carnivals#90.15.18.00.00
-unspsc7#90.15.18.02.00#Fair organization or management services#90.15.18.00.00
-unspsc7#90.15.19.00.00#Gambling and betting establishments#90.15.00.00.00
-unspsc7#90.15.19.01.00#Casinos#90.15.19.00.00
-unspsc7#90.15.19.02.00#Card clubs#90.15.19.00.00
-unspsc7#90.15.19.03.00#Racetracks#90.15.19.00.00
-unspsc7#90.15.20.00.00#Nightclubs and dance halls#90.15.00.00.00
-unspsc7#90.15.20.01.00#Nightclubs#90.15.20.00.00
-unspsc7#90.15.20.02.00#Dance halls#90.15.20.00.00
-unspsc7#91.00.00.00.00#Personal and Domestic Services#91.00.00.00.00
-unspsc7#91.10.00.00.00#Personal appearance#91.00.00.00.00
-unspsc7#91.10.15.00.00#Spa and workout and rejuvenation facilities#91.10.00.00.00
-unspsc7#91.10.15.01.00#Health or fitness clubs#91.10.15.00.00
-unspsc7#91.10.15.02.00#Spas#91.10.15.00.00
-unspsc7#91.10.15.03.00#Massage services#91.10.15.00.00
-unspsc7#91.10.15.04.00#Aerobics or exercise classes#91.10.15.00.00
-unspsc7#91.10.15.05.00#Turkish or steam or ritual baths#91.10.15.00.00
-unspsc7#91.10.16.00.00#Face and body care and adornment#91.10.00.00.00
-unspsc7#91.10.16.01.00#Facial or body treatments#91.10.16.00.00
-unspsc7#91.10.16.02.00#Make up consultation#91.10.16.00.00
-unspsc7#91.10.16.03.00#Tattoo services#91.10.16.00.00
-unspsc7#91.10.16.04.00#Body piercing services#91.10.16.00.00
-unspsc7#91.10.16.05.00#Electrolysis#91.10.16.00.00
-unspsc7#91.10.17.00.00#Hair care#91.10.00.00.00
-unspsc7#91.10.17.01.00#Hair cutting or color services#91.10.17.00.00
-unspsc7#91.10.17.02.00#Hair weaving or replacement services#91.10.17.00.00
-unspsc7#91.10.18.00.00#Clothing rental#91.10.00.00.00
-unspsc7#91.10.18.01.00#Tuxedo or formalwear rental#91.10.18.00.00
-unspsc7#91.10.18.02.00#Evening or bridal gown or dress rental#91.10.18.00.00
-unspsc7#91.10.18.03.00#Costume rental#91.10.18.00.00
-unspsc7#91.10.19.00.00#Fashion consultants#91.10.00.00.00
-unspsc7#91.10.19.01.00#Color consultant#91.10.19.00.00
-unspsc7#91.10.19.02.00#Fashion stylist#91.10.19.00.00
-unspsc7#91.10.19.03.00#Wardrobe consultant#91.10.19.00.00
-unspsc7#91.11.00.00.00#Domestic and personal assistance#91.00.00.00.00
-unspsc7#91.11.15.00.00#Laundering services#91.11.00.00.00
-unspsc7#91.11.15.01.00#Uniform rental#91.11.15.00.00
-unspsc7#91.11.15.02.00#Laundry services#91.11.15.00.00
-unspsc7#91.11.15.03.00#Dry cleaning#91.11.15.00.00
-unspsc7#91.11.15.04.00#Coin operated self service laundries#91.11.15.00.00
-unspsc7#91.11.16.00.00#Household assistance and care#91.11.00.00.00
-unspsc7#91.11.16.01.00#Housekeeping services#91.11.16.00.00
-unspsc7#91.11.16.02.00#Yard or pool care services#91.11.16.00.00
-unspsc7#91.11.16.03.00#Cooking or food preparation services#91.11.16.00.00
-unspsc7#91.11.17.00.00#Consumer buying and bartering services#91.11.00.00.00
-unspsc7#91.11.17.01.00#Used clothing consignment services#91.11.17.00.00
-unspsc7#91.11.17.02.00#Barter clubs or consortiums#91.11.17.00.00
-unspsc7#91.11.17.03.00#Wardrobe buying services#91.11.17.00.00
-unspsc7#91.11.18.00.00#Personal item care and storage#91.11.00.00.00
-unspsc7#91.11.18.01.00#Valet services#91.11.18.00.00
-unspsc7#91.11.18.02.00#Check room concessions#91.11.18.00.00
-unspsc7#91.11.18.03.00#Locker rental#91.11.18.00.00
-unspsc7#91.11.18.04.00#Fur storage#91.11.18.00.00
-unspsc7#91.11.19.00.00#Personal care services#91.11.00.00.00
-unspsc7#91.11.19.01.00#Infant or child daycare services#91.11.19.00.00
-unspsc7#91.11.19.02.00#Nanny or babysitting services#91.11.19.00.00
-unspsc7#91.11.19.03.00#Elderly daycare services#91.11.19.00.00
-unspsc7#91.11.19.04.00#Assisted living services#91.11.19.00.00
-unspsc7#92.00.00.00.00#National Defense and Public Order and Security and Safety Services#92.00.00.00.00
-unspsc7#92.10.00.00.00#Public order and safety#92.00.00.00.00
-unspsc7#92.10.15.00.00#Police services#92.10.00.00.00
-unspsc7#92.10.15.01.00#Policing services#92.10.15.00.00
-unspsc7#92.10.15.02.00#Special weapons and tactics (SWAT) or riot teams#92.10.15.00.00
-unspsc7#92.10.15.03.00#Community outreach programs#92.10.15.00.00
-unspsc7#92.10.15.04.00#Crime deterrence programs#92.10.15.00.00
-unspsc7#92.10.16.00.00#Fire services#92.10.00.00.00
-unspsc7#92.10.16.01.00#Municipal or national firefighting services#92.10.16.00.00
-unspsc7#92.10.16.02.00#Volunteer fire department services#92.10.16.00.00
-unspsc7#92.10.16.03.00#Fire prevention services#92.10.16.00.00
-unspsc7#92.10.16.04.00#Forest or wilderness firefighting services#92.10.16.00.00
-unspsc7#92.10.17.00.00#Jail and prison system#92.10.00.00.00
-unspsc7#92.10.17.01.00#Jail or prison or penitentiary services#92.10.17.00.00
-unspsc7#92.10.17.02.00#Youth camps or facilities services#92.10.17.00.00
-unspsc7#92.10.17.03.00#Half way house services#92.10.17.00.00
-unspsc7#92.10.17.04.00#Mentally impaired criminal facilities#92.10.17.00.00
-unspsc7#92.10.18.00.00#Court system#92.10.00.00.00
-unspsc7#92.10.18.01.00#Sheriffs services#92.10.18.00.00
-unspsc7#92.10.18.02.00#Plea bargain agreements#92.10.18.00.00
-unspsc7#92.10.18.03.00#Civil case court expenses#92.10.18.00.00
-unspsc7#92.10.18.04.00#Criminal case fees or fines#92.10.18.00.00
-unspsc7#92.10.18.05.00#Appeals process or judicial review#92.10.18.00.00
-unspsc7#92.10.19.00.00#Rescue services#92.10.00.00.00
-unspsc7#92.10.19.01.00#Search and rescue teams#92.10.19.00.00
-unspsc7#92.10.19.02.00#Ambulance services#92.10.19.00.00
-unspsc7#92.10.19.03.00#Life saving helicopter services#92.10.19.00.00
-unspsc7#92.10.19.04.00#Lifeguard services for pool or beach#92.10.19.00.00
-unspsc7#92.11.00.00.00#Military services and national defense#92.00.00.00.00
-unspsc7#92.11.15.00.00#Maintenance of international peace and security#92.11.00.00.00
-unspsc7#92.11.15.01.00#Dispute mediation or conciliation or negotiation or settlement#92.11.15.00.00
-unspsc7#92.11.15.02.00#Peace keeping operations#92.11.15.00.00
-unspsc7#92.11.15.03.00#Cease fire agreements or truce supervision#92.11.15.00.00
-unspsc7#92.11.15.04.00#Fact finding missions#92.11.15.00.00
-unspsc7#92.11.15.05.00#War prevention strategies#92.11.15.00.00
-unspsc7#92.11.15.06.00#Counterterrorism#92.11.15.00.00
-unspsc7#92.11.15.07.00#Embargoes#92.11.15.00.00
-unspsc7#92.11.16.00.00#Disarmament#92.11.00.00.00
-unspsc7#92.11.16.01.00#Arms limitations#92.11.16.00.00
-unspsc7#92.11.16.02.00#Conventional arms disarmament#92.11.16.00.00
-unspsc7#92.11.16.03.00#Nuclear freezes or disarmament#92.11.16.00.00
-unspsc7#92.11.16.04.00#Weapons destruction#92.11.16.00.00
-unspsc7#92.11.16.05.00#Disarmament negotiations or agreements#92.11.16.00.00
-unspsc7#92.11.16.06.00#Mutual or balanced force reductions#92.11.16.00.00
-unspsc7#92.11.17.00.00#Military science and research#92.11.00.00.00
-unspsc7#92.11.17.01.00#Military history#92.11.17.00.00
-unspsc7#92.11.17.02.00#Conventional weapons usage#92.11.17.00.00
-unspsc7#92.11.17.03.00#Chemical weapons usage#92.11.17.00.00
-unspsc7#92.11.17.04.00#Guerilla warfare#92.11.17.00.00
-unspsc7#92.11.17.05.00#Military strategy#92.11.17.00.00
-unspsc7#92.11.17.06.00#Aerial maneuvers#92.11.17.00.00
-unspsc7#92.11.17.07.00#Naval or submarine maneuvers#92.11.17.00.00
-unspsc7#92.11.17.08.00#Land maneuvers#92.11.17.00.00
-unspsc7#92.11.18.00.00#Military personnel and discipline#92.11.00.00.00
-unspsc7#92.11.18.01.00#Civil defense#92.11.18.00.00
-unspsc7#92.11.18.02.00#Compulsory military services#92.11.18.00.00
-unspsc7#92.11.18.03.00#Voluntary military services#92.11.18.00.00
-unspsc7#92.11.18.04.00#Military reservists#92.11.18.00.00
-unspsc7#92.11.18.05.00#Guerillas#92.11.18.00.00
-unspsc7#92.11.18.06.00#Mercenaries#92.11.18.00.00
-unspsc7#92.11.18.07.00#Veterans#92.11.18.00.00
-unspsc7#92.11.18.08.00#Military courts#92.11.18.00.00
-unspsc7#92.11.18.09.00#Military offenses#92.11.18.00.00
-unspsc7#92.11.18.10.00#Military personnel#92.11.18.00.00
-unspsc7#92.11.19.00.00#Military policy#92.11.00.00.00
-unspsc7#92.11.19.01.00#National security#92.11.19.00.00
-unspsc7#92.11.19.02.00#Defense contracts#92.11.19.00.00
-unspsc7#92.11.19.03.00#Non first use policy#92.11.19.00.00
-unspsc7#92.11.19.04.00#Arms race#92.11.19.00.00
-unspsc7#92.11.19.05.00#Military relations#92.11.19.00.00
-unspsc7#92.11.20.00.00#Military zones#92.11.00.00.00
-unspsc7#92.11.20.01.00#Demilitarized zones#92.11.20.00.00
-unspsc7#92.11.20.02.00#Nuclear or chemical weapon free zones#92.11.20.00.00
-unspsc7#92.11.20.03.00#Peace zones#92.11.20.00.00
-unspsc7#92.11.20.04.00#No fly zones#92.11.20.00.00
-unspsc7#92.11.21.00.00#Nuclear warfare#92.11.00.00.00
-unspsc7#92.11.21.01.00#Nuclear safeguards#92.11.21.00.00
-unspsc7#92.11.21.02.00#Nuclear weapon tests#92.11.21.00.00
-unspsc7#92.11.21.03.00#Nuclear non proliferation#92.11.21.00.00
-unspsc7#92.11.22.00.00#Military tactics#92.11.00.00.00
-unspsc7#92.11.22.01.00#Weapons deployment#92.11.22.00.00
-unspsc7#92.11.22.02.00#Military reconnaissance#92.11.22.00.00
-unspsc7#92.11.22.03.00#Arms transfers#92.11.22.00.00
-unspsc7#92.11.22.04.00#Military assistance#92.11.22.00.00
-unspsc7#92.11.22.05.00#Troop withdrawals#92.11.22.00.00
-unspsc7#92.11.22.06.00#Rapid deployment forces#92.11.22.00.00
-unspsc7#92.11.22.07.00#Environmental warfare#92.11.22.00.00
-unspsc7#92.11.23.00.00#Military bases#92.11.00.00.00
-unspsc7#92.11.23.01.00#Domestic military bases#92.11.23.00.00
-unspsc7#92.11.23.02.00#Foreign military bases#92.11.23.00.00
-unspsc7#92.11.23.03.00#Naval bases#92.11.23.00.00
-unspsc7#92.11.24.00.00#Armed conflicts and incidents#92.11.00.00.00
-unspsc7#92.11.24.01.00#Border incidents#92.11.24.00.00
-unspsc7#92.11.24.02.00#Limited war#92.11.24.00.00
-unspsc7#92.11.24.03.00#Nuclear war#92.11.24.00.00
-unspsc7#92.11.24.04.00#Space based war#92.11.24.00.00
-unspsc7#92.11.24.05.00#Response to terrorist attacks#92.11.24.00.00
-unspsc7#92.12.00.00.00#Security and personal safety#92.00.00.00.00
-unspsc7#92.12.15.00.00#Guard services#92.12.00.00.00
-unspsc7#92.12.15.01.00#Armored car services#92.12.15.00.00
-unspsc7#92.12.15.02.00#Burglary protection services#92.12.15.00.00
-unspsc7#92.12.15.03.00#Guard dog rental#92.12.15.00.00
-unspsc7#92.12.15.04.00#Security guard services#92.12.15.00.00
-unspsc7#92.12.16.00.00#Detective services#92.12.00.00.00
-unspsc7#92.12.16.01.00#Detective agencies#92.12.16.00.00
-unspsc7#92.12.16.02.00#Fingerprint services#92.12.16.00.00
-unspsc7#92.12.16.03.00#Lie detection services#92.12.16.00.00
-unspsc7#92.12.16.04.00#Private investigation services#92.12.16.00.00
-unspsc7#92.12.17.00.00#Security systems services#92.12.00.00.00
-unspsc7#92.12.17.01.00#Surveillance or alarm maintenance or monitoring#92.12.17.00.00
-unspsc7#92.12.17.02.00#Fire alarm maintenance or monitoring#92.12.17.00.00
-unspsc7#92.12.17.03.00#Store or business anti theft services#92.12.17.00.00
-unspsc7#92.12.17.04.00#Confinement surveillance systems maintenance or monitoring#92.12.17.00.00
-unspsc7#93.00.00.00.00#Politics and Civic Affairs Services#93.00.00.00.00
-unspsc7#93.10.00.00.00#Political systems and institutions#93.00.00.00.00
-unspsc7#93.10.15.00.00#Political bodies#93.10.00.00.00
-unspsc7#93.10.15.01.00#Political parties representation services#93.10.15.00.00
-unspsc7#93.10.15.02.00#Political parties fund raising services#93.10.15.00.00
-unspsc7#93.10.15.03.00#Political parties public appearance services#93.10.15.00.00
-unspsc7#93.10.15.04.00#Political legislature services#93.10.15.00.00
-unspsc7#93.10.15.05.00#Political judicial power or services#93.10.15.00.00
-unspsc7#93.10.15.06.00#Political executive power or services#93.10.15.00.00
-unspsc7#93.10.16.00.00#Political officials#93.10.00.00.00
-unspsc7#93.10.16.01.00#Cabinet officers services#93.10.16.00.00
-unspsc7#93.10.16.02.00#Governors services#93.10.16.00.00
-unspsc7#93.10.16.03.00#Heads of states services#93.10.16.00.00
-unspsc7#93.10.16.04.00#Presidential services#93.10.16.00.00
-unspsc7#93.10.16.05.00#Prime ministers services#93.10.16.00.00
-unspsc7#93.10.16.06.00#Monarch services#93.10.16.00.00
-unspsc7#93.10.16.07.00#Statesmen services#93.10.16.00.00
-unspsc7#93.10.16.08.00#Parliament members services#93.10.16.00.00
-unspsc7#93.10.17.00.00#Legislative bodies and practice#93.10.00.00.00
-unspsc7#93.10.17.01.00#National council services#93.10.17.00.00
-unspsc7#93.10.17.02.00#Corporate states#93.10.17.00.00
-unspsc7#93.10.17.03.00#Bill drafting services#93.10.17.00.00
-unspsc7#93.10.17.04.00#Legislative hearings services#93.10.17.00.00
-unspsc7#93.10.17.05.00#Intelligence services#93.10.17.00.00
-unspsc7#93.10.17.06.00#Legislators services#93.10.17.00.00
-unspsc7#93.10.17.07.00#Parliamentary practice services#93.10.17.00.00
-unspsc7#93.11.00.00.00#Socio political conditions#93.00.00.00.00
-unspsc7#93.11.15.00.00#Political movements#93.11.00.00.00
-unspsc7#93.11.15.01.00#Extremist movements#93.11.15.00.00
-unspsc7#93.11.15.02.00#Peace movements#93.11.15.00.00
-unspsc7#93.11.15.03.00#Protest movements#93.11.15.00.00
-unspsc7#93.11.15.04.00#Underground movements#93.11.15.00.00
-unspsc7#93.11.15.05.00#Student movements#93.11.15.00.00
-unspsc7#93.11.15.06.00#Peasant movements#93.11.15.00.00
-unspsc7#93.11.15.07.00#Opposition movements#93.11.15.00.00
-unspsc7#93.11.16.00.00#Political representation and participation#93.11.00.00.00
-unspsc7#93.11.16.01.00#Political representation#93.11.16.00.00
-unspsc7#93.11.16.02.00#Political participation#93.11.16.00.00
-unspsc7#93.11.16.03.00#Proportional representation#93.11.16.00.00
-unspsc7#93.11.16.04.00#Vote catcher services#93.11.16.00.00
-unspsc7#93.11.16.05.00#Voter registration or counting or analysis or scrutiny services#93.11.16.00.00
-unspsc7#93.11.16.06.00#Pressure groups representation or participation services#93.11.16.00.00
-unspsc7#93.11.16.07.00#Election analysis services#93.11.16.00.00
-unspsc7#93.11.16.08.00#Election organization services#93.11.16.00.00
-unspsc7#93.12.00.00.00#International relations#93.00.00.00.00
-unspsc7#93.12.15.00.00#Diplomacy#93.12.00.00.00
-unspsc7#93.12.15.01.00#Diplomatic services#93.12.15.00.00
-unspsc7#93.12.15.02.00#Consular services#93.12.15.00.00
-unspsc7#93.12.15.03.00#Diplomats security services#93.12.15.00.00
-unspsc7#93.12.15.04.00#Diplomatic privileges or immunities services#93.12.15.00.00
-unspsc7#93.12.15.05.00#State immunities services#93.12.15.00.00
-unspsc7#93.12.15.06.00#Embassies or ambassadors services#93.12.15.00.00
-unspsc7#93.12.15.07.00#State visits organization services#93.12.15.00.00
-unspsc7#93.12.15.08.00#International law prescription services#93.12.15.00.00
-unspsc7#93.12.15.09.00#International law promotion or recognition services#93.12.15.00.00
-unspsc7#93.12.16.00.00#International relations and cooperation#93.12.00.00.00
-unspsc7#93.12.16.01.00#Multilateral cooperation services#93.12.16.00.00
-unspsc7#93.12.16.02.00#Military cooperation services#93.12.16.00.00
-unspsc7#93.12.16.03.00#Political cooperation services#93.12.16.00.00
-unspsc7#93.12.16.04.00#International economic cooperation services#93.12.16.00.00
-unspsc7#93.12.16.05.00#North south cooperation services#93.12.16.00.00
-unspsc7#93.12.16.06.00#East west cooperation services#93.12.16.00.00
-unspsc7#93.12.16.07.00#International cooperation services#93.12.16.00.00
-unspsc7#93.12.16.08.00#Non governmental liaison services#93.12.16.00.00
-unspsc7#93.12.16.09.00#Non aligned countries cooperation#93.12.16.00.00
-unspsc7#93.12.16.10.00#Aligned countries cooperation#93.12.16.00.00
-unspsc7#93.12.16.11.00#Political crimes cooperation services#93.12.16.00.00
-unspsc7#93.12.16.12.00#Peace treaties cooperation#93.12.16.00.00
-unspsc7#93.12.16.13.00#Treaty signature or accessions or rectification services#93.12.16.00.00
-unspsc7#93.12.16.14.00#International watercourse cooperation services#93.12.16.00.00
-unspsc7#93.12.16.15.00#Territorial claims or negotiations third party services#93.12.16.00.00
-unspsc7#93.12.17.00.00#International organizations#93.12.00.00.00
-unspsc7#93.12.17.01.00#System of organizations services#93.12.17.00.00
-unspsc7#93.12.17.02.00#Security council services#93.12.17.00.00
-unspsc7#93.12.17.03.00#Economic or social council services#93.12.17.00.00
-unspsc7#93.12.17.04.00#Secretariat services#93.12.17.00.00
-unspsc7#93.12.17.05.00#Trustship council services#93.12.17.00.00
-unspsc7#93.12.17.06.00#General assembly services#93.12.17.00.00
-unspsc7#93.12.17.07.00#International court of justice services#93.12.17.00.00
-unspsc7#93.12.17.08.00#International political organizations services#93.12.17.00.00
-unspsc7#93.12.17.09.00#International charity organizations services#93.12.17.00.00
-unspsc7#93.12.17.10.00#International human relief organizations services#93.12.17.00.00
-unspsc7#93.12.17.11.00#International health organizations services#93.12.17.00.00
-unspsc7#93.13.00.00.00#Humanitarian aid and relief#93.00.00.00.00
-unspsc7#93.13.15.00.00#Refugee programs#93.13.00.00.00
-unspsc7#93.13.15.01.00#Protection of human rights services#93.13.15.00.00
-unspsc7#93.13.15.02.00#Promotion of human rights services#93.13.15.00.00
-unspsc7#93.13.15.03.00#Human rights education or information dissemination services#93.13.15.00.00
-unspsc7#93.13.15.04.00#Refugee emergency assistance services#93.13.15.00.00
-unspsc7#93.13.15.05.00#Refugee camps services#93.13.15.00.00
-unspsc7#93.13.15.06.00#Refugee resettlements or repatriation services#93.13.15.00.00
-unspsc7#93.13.15.07.00#Displaced persons assistance services#93.13.15.00.00
-unspsc7#93.13.16.00.00#Food and nutrition policy planning and programs#93.13.00.00.00
-unspsc7#93.13.16.01.00#Hunger eradication programs#93.13.16.00.00
-unspsc7#93.13.16.02.00#Emergency food supply services#93.13.16.00.00
-unspsc7#93.13.16.03.00#World food program services#93.13.16.00.00
-unspsc7#93.13.16.04.00#Food or agriculture organization services#93.13.16.00.00
-unspsc7#93.13.16.05.00#Common fund for commodities services#93.13.16.00.00
-unspsc7#93.13.16.06.00#International fund for agricultural development services#93.13.16.00.00
-unspsc7#93.13.16.07.00#Food distribution services#93.13.16.00.00
-unspsc7#93.13.16.08.00#Food supply services#93.13.16.00.00
-unspsc7#93.13.16.09.00#Food aid policies or programs#93.13.16.00.00
-unspsc7#93.13.16.10.00#Food planning services#93.13.16.00.00
-unspsc7#93.13.16.11.00#Food security services#93.13.16.00.00
-unspsc7#93.13.16.12.00#Food reserves management#93.13.16.00.00
-unspsc7#93.13.16.13.00#Food shortage or surplus management or control services#93.13.16.00.00
-unspsc7#93.13.17.00.00#Health programs#93.13.00.00.00
-unspsc7#93.13.17.01.00#Anti tobacco campaigns#93.13.17.00.00
-unspsc7#93.13.17.02.00#Sanitation programs#93.13.17.00.00
-unspsc7#93.13.17.03.00#Research programs#93.13.17.00.00
-unspsc7#93.13.17.04.00#Disease prevention or control services#93.13.17.00.00
-unspsc7#93.13.17.05.00#Drug abuse prevention or control programs#93.13.17.00.00
-unspsc7#93.13.18.00.00#Disaster preparedness and relief#93.13.00.00.00
-unspsc7#93.13.18.01.00#Disaster warning services#93.13.18.00.00
-unspsc7#93.13.18.02.00#Disaster preparedness response services#93.13.18.00.00
-unspsc7#93.13.18.03.00#Emergency housing services#93.13.18.00.00
-unspsc7#93.14.00.00.00#Community and social services#93.00.00.00.00
-unspsc7#93.14.15.00.00#Social development and services#93.14.00.00.00
-unspsc7#93.14.15.01.00#Social policy services#93.14.15.00.00
-unspsc7#93.14.15.02.00#Social security legislation services#93.14.15.00.00
-unspsc7#93.14.15.03.00#Social planning services#93.14.15.00.00
-unspsc7#93.14.15.04.00#Foster home care services or orphanage#93.14.15.00.00
-unspsc7#93.14.15.05.00#Adoption services#93.14.15.00.00
-unspsc7#93.14.15.06.00#Social welfare services#93.14.15.00.00
-unspsc7#93.14.15.07.00#Social work administration services#93.14.15.00.00
-unspsc7#93.14.15.08.00#Voluntary service management#93.14.15.00.00
-unspsc7#93.14.15.09.00#Social problems analysis or management services#93.14.15.00.00
-unspsc7#93.14.15.10.00#Social structure studies or related services#93.14.15.00.00
-unspsc7#93.14.15.11.00#Social groups studies or related services#93.14.15.00.00
-unspsc7#93.14.15.12.00#Youth movements or organizations services#93.14.15.00.00
-unspsc7#93.14.15.13.00#Social justice or legislation services#93.14.15.00.00
-unspsc7#93.14.15.14.00#Socio cultural services#93.14.15.00.00
-unspsc7#93.14.16.00.00#Population#93.14.00.00.00
-unspsc7#93.14.16.01.00#Population census services#93.14.16.00.00
-unspsc7#93.14.16.02.00#Population sample surveys services#93.14.16.00.00
-unspsc7#93.14.16.03.00#Birth reporting or control services#93.14.16.00.00
-unspsc7#93.14.16.04.00#Population control services#93.14.16.00.00
-unspsc7#93.14.16.05.00#Population trends or projections services#93.14.16.00.00
-unspsc7#93.14.16.06.00#Birth statistics services#93.14.16.00.00
-unspsc7#93.14.16.07.00#Marriage research or statistics services#93.14.16.00.00
-unspsc7#93.14.16.08.00#Population distribution or analysis services#93.14.16.00.00
-unspsc7#93.14.16.09.00#Population composition analysis services#93.14.16.00.00
-unspsc7#93.14.16.10.00#Demographic studies#93.14.16.00.00
-unspsc7#93.14.16.11.00#Immigration analysis or services#93.14.16.00.00
-unspsc7#93.14.16.12.00#Family planning programs or services#93.14.16.00.00
-unspsc7#93.14.16.13.00#Human reproduction analysis#93.14.16.00.00
-unspsc7#93.14.17.00.00#Culture#93.14.00.00.00
-unspsc7#93.14.17.01.00#Cultural events organizations#93.14.17.00.00
-unspsc7#93.14.17.02.00#Culture promotional services#93.14.17.00.00
-unspsc7#93.14.17.03.00#Art related services#93.14.17.00.00
-unspsc7#93.14.17.04.00#Song writing services#93.14.17.00.00
-unspsc7#93.14.17.05.00#Literary writing services#93.14.17.00.00
-unspsc7#93.14.17.06.00#Minorities protection services#93.14.17.00.00
-unspsc7#93.14.17.07.00#Cultural heritage preservation or promotion services#93.14.17.00.00
-unspsc7#93.14.17.08.00#Museum services#93.14.17.00.00
-unspsc7#93.14.17.09.00#Cultural policy services#93.14.17.00.00
-unspsc7#93.14.17.10.00#Archaic or indigenous language services#93.14.17.00.00
-unspsc7#93.14.17.11.00#Traditional handcrafts promotion services#93.14.17.00.00
-unspsc7#93.14.17.12.00#Protection of intellectual or cultural property services#93.14.17.00.00
-unspsc7#93.14.17.13.00#Historic sites or monuments protection services#93.14.17.00.00
-unspsc7#93.14.17.14.00#Mythology#93.14.17.00.00
-unspsc7#93.14.18.00.00#Employment#93.14.00.00.00
-unspsc7#93.14.18.01.00#Employment promotion or planning services#93.14.18.00.00
-unspsc7#93.14.18.02.00#Recruitment services#93.14.18.00.00
-unspsc7#93.14.18.03.00#International labor standards services#93.14.18.00.00
-unspsc7#93.14.18.04.00#International labor registration services#93.14.18.00.00
-unspsc7#93.14.18.05.00#Unemployment services#93.14.18.00.00
-unspsc7#93.14.18.06.00#Employment statistics or forecasting services#93.14.18.00.00
-unspsc7#93.14.18.07.00#Work time arrangements#93.14.18.00.00
-unspsc7#93.14.18.08.00#Occupational health or safety services#93.14.18.00.00
-unspsc7#93.14.18.10.00#Career development services#93.14.18.00.00
-unspsc7#93.14.18.11.00#Promotional services#93.14.18.00.00
-unspsc7#93.14.18.12.00#Labor inspection services#93.14.18.00.00
-unspsc7#93.14.18.13.00#Work council services#93.14.18.00.00
-unspsc7#93.14.18.14.00#International labor services#93.14.18.00.00
-unspsc7#93.14.19.00.00#Rural development#93.14.00.00.00
-unspsc7#93.14.19.01.00#Agricultural commercial banking services#93.14.19.00.00
-unspsc7#93.14.19.02.00#Rural investment services#93.14.19.00.00
-unspsc7#93.14.19.03.00#Agricultural institutions organization or management services#93.14.19.00.00
-unspsc7#93.14.19.04.00#Agricultural or rural cooperatives services#93.14.19.00.00
-unspsc7#93.14.19.05.00#Agricultural research services#93.14.19.00.00
-unspsc7#93.14.19.06.00#Farmers or peasants organizations services#93.14.19.00.00
-unspsc7#93.14.19.07.00#Womens services in agricultural production or rural development#93.14.19.00.00
-unspsc7#93.14.19.08.00#Agrarian reform or land settlement services#93.14.19.00.00
-unspsc7#93.14.19.09.00#Land administration services#93.14.19.00.00
-unspsc7#93.14.19.10.00#Island development services#93.14.19.00.00
-unspsc7#93.14.20.00.00#Urban development#93.14.00.00.00
-unspsc7#93.14.20.01.00#Urban development planning services#93.14.20.00.00
-unspsc7#93.14.20.02.00#Urban land administration services#93.14.20.00.00
-unspsc7#93.14.20.03.00#Urban investment programming services#93.14.20.00.00
-unspsc7#93.14.20.04.00#Slum redevlopment services#93.14.20.00.00
-unspsc7#93.14.20.05.00#Urban lighting services#93.14.20.00.00
-unspsc7#93.14.20.06.00#Urban development control or regulations services#93.14.20.00.00
-unspsc7#93.14.20.07.00#Urban building standards or regulations services#93.14.20.00.00
-unspsc7#93.14.20.08.00#Urban community services#93.14.20.00.00
-unspsc7#93.14.20.09.00#Urban project or program administration or management services#93.14.20.00.00
-unspsc7#93.14.21.00.00#Regional development#93.14.00.00.00
-unspsc7#93.14.21.01.00#Regional development planning services#93.14.21.00.00
-unspsc7#93.14.21.02.00#Economic cooperation services#93.14.21.00.00
-unspsc7#93.14.21.03.00#Technical cooperation services#93.14.21.00.00
-unspsc7#93.14.21.04.00#Sectoral planning services#93.14.21.00.00
-unspsc7#93.15.00.00.00#Public administration and finance services#93.00.00.00.00
-unspsc7#93.15.15.00.00#Public administration#93.15.00.00.00
-unspsc7#93.15.15.01.00#Public enterprises management or financial services#93.15.15.00.00
-unspsc7#93.15.15.02.00#Public enterprises information or control systems services#93.15.15.00.00
-unspsc7#93.15.15.03.00#Privatization programs#93.15.15.00.00
-unspsc7#93.15.15.04.00#Administrative reform services#93.15.15.00.00
-unspsc7#93.15.15.05.00#Administrative agencies services#93.15.15.00.00
-unspsc7#93.15.15.06.00#Administrative economic council services#93.15.15.00.00
-unspsc7#93.15.15.07.00#Administrative procedures or services#93.15.15.00.00
-unspsc7#93.15.15.08.00#Government departments services#93.15.15.00.00
-unspsc7#93.15.15.09.00#Government information services#93.15.15.00.00
-unspsc7#93.15.15.10.00#Administrative fees or tax collection services#93.15.15.00.00
-unspsc7#93.15.15.11.00#Administrative acts ratification or implementation services#93.15.15.00.00
-unspsc7#93.15.15.12.00#Public institutions services#93.15.15.00.00
-unspsc7#93.15.15.13.00#Multinational public corporations services#93.15.15.00.00
-unspsc7#93.15.15.14.00#Ombudsman services#93.15.15.00.00
-unspsc7#93.15.15.15.00#National planning services#93.15.15.00.00
-unspsc7#93.15.16.00.00#Public finance#93.15.00.00.00
-unspsc7#93.15.16.01.00#Program budgeting services#93.15.16.00.00
-unspsc7#93.15.16.02.00#Government budgeting services#93.15.16.00.00
-unspsc7#93.15.16.03.00#Budget or public investment management#93.15.16.00.00
-unspsc7#93.15.16.04.00#Military expenditures budgeting services#93.15.16.00.00
-unspsc7#93.15.16.05.00#Government finance services#93.15.16.00.00
-unspsc7#93.15.16.06.00#Government accounting services#93.15.16.00.00
-unspsc7#93.15.16.07.00#Government auditing services#93.15.16.00.00
-unspsc7#93.15.16.08.00#Government or central bank services#93.15.16.00.00
-unspsc7#93.15.16.09.00#Lotteries services#93.15.16.00.00
-unspsc7#93.15.16.10.00#Tax collection services#93.15.16.00.00
-unspsc7#93.15.16.11.00#Subsidies#93.15.16.00.00
-unspsc7#93.15.17.00.00#Currency#93.15.00.00.00
-unspsc7#93.15.17.01.00#Currencies or coinage#93.15.17.00.00
-unspsc7#93.15.17.02.00#National bank notes#93.15.17.00.00
-unspsc7#93.16.00.00.00#Taxation#93.00.00.00.00
-unspsc7#93.16.15.00.00#Income tax#93.16.00.00.00
-unspsc7#93.16.15.01.00#National income tax#93.16.15.00.00
-unspsc7#93.16.15.02.00#Municipal income tax#93.16.15.00.00
-unspsc7#93.16.15.03.00#Capital gains tax#93.16.15.00.00
-unspsc7#93.16.15.04.00#Excess profits tax#93.16.15.00.00
-unspsc7#93.16.16.00.00#Taxes other than income tax#93.16.00.00.00
-unspsc7#93.16.16.01.00#Property tax#93.16.16.00.00
-unspsc7#93.16.16.02.00#Land tax#93.16.16.00.00
-unspsc7#93.16.16.03.00#Value added tax (VAT)#93.16.16.00.00
-unspsc7#93.16.16.04.00#Payroll tax#93.16.16.00.00
-unspsc7#93.16.16.05.00#Sales tax#93.16.16.00.00
-unspsc7#93.16.16.06.00#Social security tax#93.16.16.00.00
-unspsc7#93.16.16.07.00#Inheritance or transfer tax#93.16.16.00.00
-unspsc7#93.16.17.00.00#Tax administration#93.16.00.00.00
-unspsc7#93.16.17.01.00#Tax collation#93.16.17.00.00
-unspsc7#93.16.17.02.00#Tax incentives#93.16.17.00.00
-unspsc7#93.16.17.03.00#Tax systems#93.16.17.00.00
-unspsc7#93.16.17.04.00#Tax revenue administration#93.16.17.00.00
-unspsc7#93.16.18.00.00#Taxation issues#93.16.00.00.00
-unspsc7#93.16.18.01.00#Tax reform#93.16.18.00.00
-unspsc7#93.16.18.02.00#Taxation policy#93.16.18.00.00
-unspsc7#93.16.18.03.00#Tax research#93.16.18.00.00
-unspsc7#93.16.18.04.00#Investment tax credit#93.16.18.00.00
-unspsc7#93.16.18.05.00#Tax deductions#93.16.18.00.00
-unspsc7#93.16.18.06.00#Tax evasion#93.16.18.00.00
-unspsc7#93.16.18.07.00#Tax shelters or havens#93.16.18.00.00
-unspsc7#93.16.18.08.00#Tax returns#93.16.18.00.00
-unspsc7#93.17.00.00.00#Trade policy and regulation#93.00.00.00.00
-unspsc7#93.17.15.00.00#Trade policy#93.17.00.00.00
-unspsc7#93.17.15.01.00#Trade agreements#93.17.15.00.00
-unspsc7#93.17.15.02.00#Trade negotiations#93.17.15.00.00
-unspsc7#93.17.15.03.00#Formulation of national commodity policies#93.17.15.00.00
-unspsc7#93.17.15.04.00#Development of small scale industries#93.17.15.00.00
-unspsc7#93.17.16.00.00#International trade#93.17.00.00.00
-unspsc7#93.17.16.01.00#International commodity agreements#93.17.16.00.00
-unspsc7#93.17.16.02.00#Export policy#93.17.16.00.00
-unspsc7#93.17.16.03.00#Global trade policies or procedures#93.17.16.00.00
-unspsc7#93.17.16.04.00#Bilateral trade agreements#93.17.16.00.00
-unspsc7#93.17.17.00.00#Customs administration and compliance#93.17.00.00.00
-unspsc7#93.17.17.01.00#Customs conventions#93.17.17.00.00
-unspsc7#93.17.17.02.00#Customs formalities#93.17.17.00.00
-unspsc7#93.17.17.03.00#Customs offences#93.17.17.00.00
-unspsc7#93.17.18.00.00#Trade analysis#93.17.00.00.00
-unspsc7#93.17.18.01.00#Trade projections#93.17.18.00.00
-unspsc7#93.17.18.02.00#Balance of trade projections#93.17.18.00.00
-unspsc7#93.17.18.03.00#Trade statistics#93.17.18.00.00
-unspsc7#94.00.00.00.00#Organizations and Clubs#94.00.00.00.00
-unspsc7#94.10.00.00.00#Work related organizations#94.00.00.00.00
-unspsc7#94.10.15.00.00#Business associations#94.10.00.00.00
-unspsc7#94.10.15.01.00#Agricultural industry associations#94.10.15.00.00
-unspsc7#94.10.15.02.00#Regulatory associations#94.10.15.00.00
-unspsc7#94.10.15.03.00#Sectoral business associations#94.10.15.00.00
-unspsc7#94.10.15.04.00#International business associations#94.10.15.00.00
-unspsc7#94.10.15.05.00#Employers associations#94.10.15.00.00
-unspsc7#94.10.16.00.00#Professional associations#94.10.00.00.00
-unspsc7#94.10.16.01.00#Dental associations#94.10.16.00.00
-unspsc7#94.10.16.02.00#Medical health associations#94.10.16.00.00
-unspsc7#94.10.16.03.00#Nursing associations#94.10.16.00.00
-unspsc7#94.10.16.04.00#Accounting associations#94.10.16.00.00
-unspsc7#94.10.16.05.00#Architect associations#94.10.16.00.00
-unspsc7#94.10.16.06.00#Bar associations#94.10.16.00.00
-unspsc7#94.10.16.07.00#Educational or teacher associations#94.10.16.00.00
-unspsc7#94.10.16.08.00#Engineering associations#94.10.16.00.00
-unspsc7#94.10.16.09.00#Scientific associations#94.10.16.00.00
-unspsc7#94.10.16.10.00#Professional standards review boards#94.10.16.00.00
-unspsc7#94.10.17.00.00#Staff associations#94.10.00.00.00
-unspsc7#94.10.17.01.00#Staff hobby clubs#94.10.17.00.00
-unspsc7#94.10.17.02.00#Staff sports associations#94.10.17.00.00
-unspsc7#94.10.17.03.00#Women staff associations#94.10.17.00.00
-unspsc7#94.10.17.04.00#Pensionnist staff associations#94.10.17.00.00
-unspsc7#94.10.17.05.00#Management staff associations#94.10.17.00.00
-unspsc7#94.10.18.00.00#Trade unions#94.10.00.00.00
-unspsc7#94.10.18.01.00#Labor or general workers trade unions#94.10.18.00.00
-unspsc7#94.10.18.02.00#Trade union activists services#94.10.18.00.00
-unspsc7#94.10.18.03.00#Trade union information services#94.10.18.00.00
-unspsc7#94.10.18.04.00#Transport unions#94.10.18.00.00
-unspsc7#94.10.18.05.00#Teachers unions#94.10.18.00.00
-unspsc7#94.10.18.06.00#Medical personnel unions#94.10.18.00.00
-unspsc7#94.10.18.07.00#Employers unions#94.10.18.00.00
-unspsc7#94.10.18.08.00#Civil servants unions#94.10.18.00.00
-unspsc7#94.10.18.09.00#Personal assistance services#94.10.18.00.00
-unspsc7#94.10.18.10.00#Aviation unions#94.10.18.00.00
-unspsc7#94.11.00.00.00#Religious organizations#94.00.00.00.00
-unspsc7#94.11.17.00.00#Religious residences#94.11.00.00.00
-unspsc7#94.11.17.01.00#Private religious home residences#94.11.17.00.00
-unspsc7#94.11.17.02.00#Community religious home residences#94.11.17.00.00
-unspsc7#94.11.17.03.00#Religious retreat residences#94.11.17.00.00
-unspsc7#94.11.17.04.00#Temporary religious home residences#94.11.17.00.00
-unspsc7#94.11.18.00.00#Pilgrimage organizations and services#94.11.00.00.00
-unspsc7#94.11.18.01.00#Mecca pilgrimage organizations or services#94.11.18.00.00
-unspsc7#94.11.18.02.00#Vatican pilgrimage organizations or services#94.11.18.00.00
-unspsc7#94.11.18.03.00#Pilgrimage travel assistance services#94.11.18.00.00
-unspsc7#94.11.18.04.00#Pilgrimage tour operators services#94.11.18.00.00
-unspsc7#94.11.19.00.00#Missionary services#94.11.00.00.00
-unspsc7#94.11.19.01.00#Religious orders services#94.11.19.00.00
-unspsc7#94.11.19.02.00#Evangelical missionary services#94.11.19.00.00
-unspsc7#94.11.19.03.00#Educational missionary services#94.11.19.00.00
-unspsc7#94.11.20.00.00#Denominational services#94.11.00.00.00
-unspsc7#94.11.20.01.00#Hinduism services#94.11.20.00.00
-unspsc7#94.11.20.02.00#Buddhism services#94.11.20.00.00
-unspsc7#94.11.20.03.00#Christian services#94.11.20.00.00
-unspsc7#94.11.20.04.00#Islam services#94.11.20.00.00
-unspsc7#94.11.20.05.00#Judaism services#94.11.20.00.00
-unspsc7#94.12.00.00.00#Clubs#94.00.00.00.00
-unspsc7#94.12.15.00.00#Sport clubs#94.12.00.00.00
-unspsc7#94.12.15.01.00#Ice sports clubs#94.12.15.00.00
-unspsc7#94.12.15.02.00#Boating or swimming sport clubs#94.12.15.00.00
-unspsc7#94.12.15.03.00#Gun or hunting sport clubs#94.12.15.00.00
-unspsc7#94.12.15.04.00#Outdoor field sport clubs#94.12.15.00.00
-unspsc7#94.12.15.05.00#Indoor or outdoor court sport clubs#94.12.15.00.00
-unspsc7#94.12.15.06.00#Winter sport clubs#94.12.15.00.00
-unspsc7#94.12.15.07.00#Beach or water sport clubs#94.12.15.00.00
-unspsc7#94.12.15.08.00#Cycling sport clubs#94.12.15.00.00
-unspsc7#94.12.15.09.00#Mountaineering sport clubs#94.12.15.00.00
-unspsc7#94.12.15.10.00#Racing sport clubs#94.12.15.00.00
-unspsc7#94.12.15.11.00#Flying sport clubs#94.12.15.00.00
-unspsc7#94.12.15.12.00#Professional or semiprofessional sports clubs#94.12.15.00.00
-unspsc7#94.12.15.13.00#Stadium event operator services#94.12.15.00.00
-unspsc7#94.12.15.14.00#Sport club managers or promoters services#94.12.15.00.00
-unspsc7#94.12.16.00.00#Hobby clubs#94.12.00.00.00
-unspsc7#94.12.16.01.00#Playing card hobby clubs#94.12.16.00.00
-unspsc7#94.12.16.02.00#Handcrafts clubs#94.12.16.00.00
-unspsc7#94.12.16.03.00#Poetry or literature hobby clubs#94.12.16.00.00
-unspsc7#94.12.16.04.00#Cooking hobby clubs#94.12.16.00.00
-unspsc7#94.12.16.05.00#Gardening hobby clubs#94.12.16.00.00
-unspsc7#94.12.16.06.00#Collector hobby club#94.12.16.00.00
-unspsc7#94.12.16.07.00#Scouting club#94.12.16.00.00
-unspsc7#94.12.17.00.00#Amateurs clubs#94.12.00.00.00
-unspsc7#94.12.17.01.00#Amateur drama clubs or services#94.12.17.00.00
-unspsc7#94.12.17.02.00#Amateur music clubs or services#94.12.17.00.00
-unspsc7#94.12.17.03.00#Amateur dance clubs or services#94.12.17.00.00
-unspsc7#94.12.17.04.00#Amateur fine arts clubs or services#94.12.17.00.00
-unspsc7#94.12.18.00.00#Social clubs#94.12.00.00.00
-unspsc7#94.12.18.01.00#Youth clubs#94.12.18.00.00
-unspsc7#94.12.18.02.00#Senior citizens clubs#94.12.18.00.00
-unspsc7#94.12.18.03.00#Social gathering clubs#94.12.18.00.00
-unspsc7#94.12.18.04.00#Social clubs for people with disabilities#94.12.18.00.00
-unspsc7#94.12.18.05.00#War veterans social clubs#94.12.18.00.00
-unspsc7#94.13.00.00.00#Civic organizations and associations and movements#94.00.00.00.00
-unspsc7#94.13.15.00.00#Non governmental organizations#94.13.00.00.00
-unspsc7#94.13.15.01.00#Environmental non governmental services#94.13.15.00.00
-unspsc7#94.13.15.02.00#Emergency relief non governmental services#94.13.15.00.00
-unspsc7#94.13.15.03.00#Technical assistance non governmental services#94.13.15.00.00
-unspsc7#94.13.15.04.00#Development aid non governemntal services#94.13.15.00.00
-unspsc7#94.13.16.00.00#Charity organizations#94.13.00.00.00
-unspsc7#94.13.16.01.00#Charity organizations shelter services#94.13.16.00.00
-unspsc7#94.13.16.02.00#Food relief services#94.13.16.00.00
-unspsc7#94.13.16.03.00#Legal assistance services#94.13.16.00.00
-unspsc7#94.13.16.04.00#Resource mobilization services#94.13.16.00.00
-unspsc7#94.13.16.05.00#International aid assistance services#94.13.16.00.00
-unspsc7#94.13.16.06.00#Orphanage or adoption services#94.13.16.00.00
-unspsc7#94.13.16.07.00#Ederly assistance organizations#94.13.16.00.00
-unspsc7#94.13.16.08.00#Prisoner assistance organizations#94.13.16.00.00
-unspsc7#94.13.17.00.00#Green associations#94.13.00.00.00
-unspsc7#94.13.17.01.00#Radical green associations#94.13.17.00.00
-unspsc7#94.13.17.02.00#Ecofeminists associations#94.13.17.00.00
-unspsc7#94.13.17.03.00#Ecological political organizations#94.13.17.00.00
-unspsc7#94.13.17.04.00#Green activists movements or services#94.13.17.00.00
-unspsc7#94.13.18.00.00#Movements#94.13.00.00.00
-unspsc7#94.13.18.01.00#Gay or lesbian or bisexual or transgender movements#94.13.18.00.00
-unspsc7#94.13.18.02.00#Anti racism movements#94.13.18.00.00
-unspsc7#94.13.18.03.00#Women liberation movements#94.13.18.00.00
-unspsc7#94.13.18.04.00#Fraternal associations#94.13.18.00.00
-unspsc7#94.13.18.05.00#Ethnic minorities cultural preservation services#94.13.18.00.00
-unspsc7#94.13.19.00.00#Animal protection associations#94.13.00.00.00
-unspsc7#94.13.19.01.00#Animal liberation movements#94.13.19.00.00
-unspsc7#94.13.19.02.00#Endangered species protection associations#94.13.19.00.00
-unspsc7#94.13.19.03.00#Threatened animals protection associations#94.13.19.00.00
-unspsc7#94.13.20.00.00#Human rights advocacy and defense associations#94.13.00.00.00
-unspsc7#94.13.20.01.00#Children rights defense services#94.13.20.00.00
-unspsc7#94.13.20.02.00#Prisoners defense services#94.13.20.00.00
-unspsc7#94.13.20.03.00#Physical or mental torture defense associations#94.13.20.00.00
-unspsc7#94.13.20.04.00#Freedom of speech defense associations#94.13.20.00.00
-unspsc7#94.13.20.05.00#Voting rights defense associations#94.13.20.00.00
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceAdvancedForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceAdvancedForm.jsp
deleted file mode 100644
index 80e9f9f2b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceAdvancedForm.jsp
+++ /dev/null
@@ -1,114 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<script language="javascript">
- function processPublishServiceAdvancedForm(form)
- {
- if (handleSubmit(form))
- {
- processResultTable("publishServiceAdvancedServiceInterface","<%=UDDIActionInputs.NODEID_SERVICE_INTERFACE%>",form,false);
- processLanguageInputTable("publishServiceAdvancedNames","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processLanguageInputTable("publishServiceAdvancedDescriptions","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processCategoryTable("publishServiceAdvancedCategories",form,false);
- return true;
- }
- return false;
- }
-</script>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishServiceAdvanced" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/BusPublishServiceAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processAdvancedForm(this)">
- <input type="hidden" name="subQueryGet">
- <input type="hidden" name="<%=UDDIActionInputs.NODEID_BUSINESS%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_BUSINESS_PUBLISH_SERVICE_ADVANCED_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td nowrap class="labels" height=30 valign="bottom">
- <label for="input_business_publish_service_advance_wsdl_url"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td nowrap height=30 valign="bottom">
- <a href="javascript:openWSDLBrowser('publishServiceAdvanced',<%=ActionInputs.WSDL_TYPE_SERVICE%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" id="input_business_publish_service_advance_wsdl_url" name="<%=ActionInputs.QUERY_INPUT_WSDL_URL%>" class="textenter">
- </td>
- </tr>
- </table>
-<%
- boolean tableHasErrors = !formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- String[] serviceInterfaceSpecificInfo = {"FORM_LABEL_SERVICE_INTERFACES",(new Boolean(tableHasErrors)).toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES),"publishServiceAdvanced",UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedServiceInterface");
- sectionHeaderInfo.setOtherProperties(serviceInterfaceSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedNames");
- String[] nameSpecificInfo = {"FORM_LABEL_NAMES","FORM_LABEL_NAME",String.valueOf(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES))};
- sectionHeaderInfo.setOtherProperties(nameSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedDescriptions");
- String[] descSpecificInfo = {"FORM_LABEL_DESCRIPTIONS","FORM_LABEL_DESCRIPTION",String.valueOf(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS))};
- sectionHeaderInfo.setOtherProperties(descSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedCategories");
-%>
-<jsp:include page="/uddi/forms/categories_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceForm.jsp
deleted file mode 100644
index 57121d322..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceForm.jsp
+++ /dev/null
@@ -1,259 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.SelectSubQueryItemAction,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.ListElement,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.*,
- org.uddi4j.datatype.tmodel.TModel,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode must be a business node.
- Node busNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(busNode.getCurrentToolManager().getSelectedTool());
-%>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request">
-<%
- String subQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- subQueryKeyProperty.setSubQueryKey(subQueryKey);
-%>
-</jsp:useBean>
-<%
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
- // business parent node may be either the published items folder or a query node.
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- Node regNode = uddiMainNode.getRegistryNode(busNode);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_BUSINESS_PUBLISH_SERVICE")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/udditables.jsp" flush="true"/>
-<script language="javascript">
- var sectionIds = ["publishServiceSimple","publishServiceAdvanced"];
- var styleForm = "publishServiceStyle";
-
- function processAdvancedForm(form)
- {
- if (handleSubmit(form))
- {
- processResultTable("publishServiceAdvancedServiceInterface","<%=UDDIActionInputs.NODEID_SERVICE_INTERFACE%>",form,false);
- processLanguageInputTable("publishServiceAdvancedNames","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processLanguageInputTable("publishServiceAdvancedDescriptions","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processCategoryTable("publishServiceAdvancedCategories",form,false);
- return true;
- }
- return false;
- }
-
- function setAuthenticationSectionDefaults(form)
- {
-<%
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- }
-
- function setDefaults()
- {
-<%
- String publishServiceStyleIndex = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICES);
-%>
- document.forms[styleForm].<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>[<%=publishServiceStyleIndex%>].checked = true;
-
- var publishServiceSimpleSection = document.getElementById(sectionIds[<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>]);
- var publishServiceSimpleForm = publishServiceSimpleSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishServiceSimpleForm);
- publishServiceSimpleForm.<%=ActionInputs.QUERY_INPUT_WSDL_URL%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL))%>";
- publishServiceSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME))%>";
- publishServiceSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION))%>";
-
- // Advanced form details.
- var publishServiceAdvancedSection = document.getElementById(sectionIds[<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>]);
- var publishServiceAdvancedForm = publishServiceAdvancedSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishServiceAdvancedForm);
- var publishServiceAdvancedNamesTable = getTable("publishServiceAdvancedNames");
- var publishServiceAdvancedDescriptionsTable = getTable("publishServiceAdvancedDescriptions");
- publishServiceAdvancedForm.<%=ActionInputs.QUERY_INPUT_WSDL_URL%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL))%>";
-<%
- Vector serviceInterfaces = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- Vector serviceInterfacesCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY);
- if (serviceInterfaces != null)
- {
- if (serviceInterfacesCopy == null)
- serviceInterfacesCopy = new Vector();
- else
- serviceInterfacesCopy.removeAllElements();
- for (int i=0;i<serviceInterfaces.size();i++)
- {
- ListElement listElement = (ListElement)serviceInterfaces.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,i,UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES,false);
- TModel tModel = (TModel)listElement.getObject();
- serviceInterfacesCopy.addElement(serviceInterfaces.elementAt(i));
-%>
- addResultRow("publishServiceAdvancedServiceInterface",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(tModel.getNameString())%>","<%=HTMLUtils.JSMangle(tModel.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY,serviceInterfacesCopy);
- }
- else
- {
- serviceInterfaces = new Vector();
- serviceInterfacesCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,serviceInterfaces);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY,serviceInterfacesCopy);
- }
-%>
-<%
- Vector serviceNameVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- if (serviceNameVector != null)
- {
- for (int i=0;i<serviceNameVector.size();i++)
- {
- Name name = (Name)serviceNameVector.elementAt(i);
-%>
- addLanguageInputRow("publishServiceAdvancedNames","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_NAME_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("publishServiceAdvancedNames",<%=i%>,"<%=HTMLUtils.JSMangle(name.getLang())%>","<%=HTMLUtils.JSMangle(name.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i))
- {
-%>
- highlightErrantRow(publishServiceAdvancedNamesTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-
- Vector serviceDescriptionVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
- if (serviceDescriptionVector != null)
- {
- for (int i=0;i<serviceDescriptionVector.size();i++)
- {
- Description description = (Description)serviceDescriptionVector.elementAt(i);
-%>
- addLanguageInputRow("publishServiceAdvancedDescriptions","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("publishServiceAdvancedDescriptions",<%=i%>,"<%=HTMLUtils.JSMangle(description.getLang())%>","<%=HTMLUtils.JSMangle(description.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i))
- {
-%>
- highlightErrantRow(publishServiceAdvancedDescriptionsTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-
- CategoryBag serviceCatBag = (CategoryBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
- if (serviceCatBag != null)
- {
- Vector keyedReferenceVector = serviceCatBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addCategoryRow("publishServiceAdvancedCategories");
- setCategoryRowSettings("publishServiceAdvancedCategories",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- if (!regElement.isLoggedIn())
- {
-%>
- document.getElementById("publishServiceSimpleAuthentication").style.display = "";
- document.getElementById("publishServiceAdvancedAuthentication").style.display = "";
-<%
- }
-%>
- showPublishForm(<%=publishServiceStyleIndex%>);
- }
-
- function showPublishForm(style)
- {
- closeAllUddiChildWindows();
- for (var i=0;i<sectionIds.length;i++)
- {
- if (i == style)
- document.getElementById(sectionIds[i]).style.display = "";
- else
- document.getElementById(sectionIds[i]).style.display = "none";
- }
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeAllUddiChildWindows()">
- <div id="contentborder">
- <table id="loadScreen">
- <tr>
- <td>
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String titleImagePath = "uddi/images/publish_service_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_PUBLISH_SERVICE");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <form name="publishServiceStyle" style="margin-top:0;">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_FORM")%>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_business_publish_service_simple" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>)"><label for="radio_business_publish_service_simple"><%=uddiPerspective.getMessage("FORM_RADIO_SIMPLE")%></label>
- <input type="radio" id="radio_business_publish_service_advance" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>)"><label for="radio_business_publish_service_advance"><%=uddiPerspective.getMessage("FORM_RADIO_ADVANCED")%></label>
- </td>
- </tr>
- </table>
- </form>
-<jsp:include page="/uddi/forms/BusPublishServiceSimpleForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/BusPublishServiceAdvancedForm.jsp" flush="true"/>
- </div>
- </div>
-<script language="javascript">
- setDefaults();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceSimpleForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceSimpleForm.jsp
deleted file mode 100644
index 35a4d91bd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusPublishServiceSimpleForm.jsp
+++ /dev/null
@@ -1,95 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishServiceSimple" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/BusPublishServiceSimpleActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
- <input type="hidden" name="<%=UDDIActionInputs.NODEID_BUSINESS%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_BUSINESS_PUBLISH_SERVICE_SIMPLE_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceSimpleAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td nowrap class="labels" height=30 valign="bottom">
- <label for="input_business_publish_service_simple_wsdl_url"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td nowrap height=30 valign="bottom">
- <a href="javascript:openWSDLBrowser('publishServiceSimple',<%=ActionInputs.WSDL_TYPE_SERVICE%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" id="input_business_publish_service_simple_wsdl_url" name="<%=ActionInputs.QUERY_INPUT_WSDL_URL%>" class="textenter">
- </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <label for="input_business_publish_service_simple_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <tr>
- <td colspan=3> <input type="text" id="input_business_publish_service_simple_name" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME%>" class="textenter"> </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <label for="input_business_publish_service_simple_desc"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></label>
- </td>
- </tr>
- <tr>
- <td colspan=3> <input type="text" id="input_business_publish_service_simple_desc" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusinessDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusinessDetailsForm.jsp
deleted file mode 100644
index 5327070b4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/BusinessDetailsForm.jsp
+++ /dev/null
@@ -1,293 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.*,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- FormTool formTool = (FormTool)(currentToolManager.getSelectedTool());
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(selectedNode);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_BUSINESS_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/detailstables.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
- var businessDetailsDiscoveryURLsTable = getTable("businessDetailsDiscoveryURLs");
- var businessDetailsNamesTable = getTable("businessDetailsNames");
- var businessDetailsDescriptionsTable = getTable("businessDetailsDescriptions");
- var businessDetailsIdentifiersTable = getTable("businessDetailsIdentifiers");
-<%
- Vector discoveryURLVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
- if (discoveryURLVector != null)
- {
- for (int i=0;i<discoveryURLVector.size();i++)
- {
- ListElement listElement = (ListElement)discoveryURLVector.elementAt(i);
- DiscoveryURL discoveryURL = (DiscoveryURL)listElement.getObject();
- boolean isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,i);
- boolean isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsDiscoveryURLRow("businessDetailsDiscoveryURLs",<%=isError||isNewItem%>);
- setDetailsDiscoveryURLRow("businessDetailsDiscoveryURLs",<%=i%>,<%=listElement.getViewId()%>,"<%=HTMLUtils.JSMangle(discoveryURL.getText())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(businessDetailsDiscoveryURLsTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- Vector nameIndexVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- if (nameIndexVector != null)
- {
- for (int i=0;i<nameIndexVector.size();i++)
- {
- ListElement listElement = (ListElement)nameIndexVector.elementAt(i);
- Name name = (Name)listElement.getObject();
- boolean isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i);
- boolean isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsLanguageInputRow("businessDetailsNames","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_NAME_TEXT_VALUE"))%>",<%=isError||isNewItem%>);
- setDetailsLanguageInputRow("businessDetailsNames",<%=i%>,<%=listElement.getViewId()%>,"<%=name.getLang()%>","<%=HTMLUtils.JSMangle(name.getText())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(businessDetailsNamesTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- Vector descriptionIndexVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS);
- if (descriptionIndexVector != null)
- {
- for (int i=0;i<descriptionIndexVector.size();i++)
- {
- ListElement listElement = (ListElement)descriptionIndexVector.elementAt(i);
- Description description = (Description)listElement.getObject();
- boolean isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i);
- boolean isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsLanguageInputRow("businessDetailsDescriptions","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE"))%>",<%=isError||isNewItem%>);
- setDetailsLanguageInputRow("businessDetailsDescriptions",<%=i%>,<%=listElement.getViewId()%>,"<%=description.getLang()%>","<%=HTMLUtils.JSMangle(description.getText())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(businessDetailsDescriptionsTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- Vector idVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
- if (idVector != null)
- {
- for (int i=0;i<idVector.size();i++)
- {
- ListElement listElement = (ListElement)idVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- boolean isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS,i);
- boolean isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsIdentifierRow("businessDetailsIdentifiers",<%=isError||isNewItem%>);
- setDetailsIdentifierRow("businessDetailsIdentifiers",<%=i%>,<%=listElement.getViewId()%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(businessDetailsIdentifiersTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- Vector catVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
- if (catVector != null)
- {
- for (int i=0;i<catVector.size();i++)
- {
- ListElement listElement = (ListElement)catVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- boolean isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES,i);
- boolean isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsCategoryRow("businessDetailsCategories",<%=isError||isNewItem%>);
- setDetailsCategoryRow("businessDetailsCategories",<%=i%>,<%=listElement.getViewId()%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(businessDetailsCategoriesTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- // Authentication.
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- if (<%=!regElement.isLoggedIn()%>)
- document.getElementById("businessDetailsAuthentication").style.display = "";
-
- showMainForm();
- }
-
- function showMainForm()
- {
- closeAllUddiChildWindows();
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
- function processForm(form)
- {
- if (handleSubmit(form))
- {
- processDetailsDiscoveryURLTable("businessDetailsDiscoveryURLs","<%=UDDIActionInputs.DISCOVERYURL_MODIFIED%>","<%=UDDIActionInputs.DISCOVERYURL_VIEWID%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DISCOVERYURL%>",form);
- processDetailsLanguageInputTable("businessDetailsNames","<%=UDDIActionInputs.NAME_MODIFIED%>","<%=UDDIActionInputs.NAME_VIEWID%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processDetailsLanguageInputTable("businessDetailsDescriptions","<%=UDDIActionInputs.DESCRIPTION_MODIFIED%>","<%=UDDIActionInputs.DESCRIPTION_VIEWID%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processDetailsIdentifierTable("businessDetailsIdentifiers",form);
- processDetailsCategoryTable("businessDetailsCategories",form);
- return true;
- }
- return false;
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
- <div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UpdateBusinessActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String titleImagePath = "images/details_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_BUSINESS_DETAILS");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY%>" value="<%=formTool.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY)%>">
- <table>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_DETAILS_EDITABLE",selectedNode.getNodeName())%>
- </td>
- </tr>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=uddiPerspective.getMessage("FORM_LABEL_BUSINESS_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=formTool.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY)%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("businessDetailsNames");
- String[] nameSpecificInfo = {"FORM_LABEL_NAMES","FORM_LABEL_NAME",String.valueOf(!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES))};
- sectionHeaderInfo.setOtherProperties(nameSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/detailsLanguageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("businessDetailsDescriptions");
- String[] descSpecificInfo = {"FORM_LABEL_DESCRIPTIONS","FORM_LABEL_DESCRIPTION",String.valueOf(!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS))};
- sectionHeaderInfo.setOtherProperties(descSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/detailsLanguageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("businessDetailsIdentifiers");
-%>
-<jsp:include page="/uddi/forms/detailsIdentifiers_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("businessDetailsCategories");
-%>
-<jsp:include page="/uddi/forms/detailsCategories_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("businessDetailsDiscoveryURLs");
- Boolean discoveryURLSpecificInfo = new Boolean(!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS));
- sectionHeaderInfo.setOtherProperties(discoveryURLSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/detailsDiscoveryURLs_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("businessDetailsAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </div>
- </form>
- </div>
-<script language="javascript">
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/GetForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/GetForm.jsp
deleted file mode 100644
index b372f602a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/GetForm.jsp
+++ /dev/null
@@ -1,217 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.business.*,
- org.uddi4j.datatype.service.*,
- org.uddi4j.datatype.tmodel.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<jsp:useBean id="subQueryTransferTargetHolder" class="java.util.Vector" scope="request">
-<%
- subQueryTransferTargetHolder.removeAllElements();
-%>
-</jsp:useBean>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager nodeManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = nodeManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- String subQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey);
- TreeElement treeElement = selectedNode.getTreeElement();
- String parentQueryKey;
- int lastSeparatorPos = subQueryKey.lastIndexOf(':');
- if (lastSeparatorPos == -1)
- parentQueryKey = "";
- else
- parentQueryKey = subQueryKey.substring(0,lastSeparatorPos);
- FormToolPropertiesInterface parentFormToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(parentQueryKey);
- Object queryItemProperty = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_ITEM);
- Object queryStyleBus = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES);
- Object queryStyleSer = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICES);
- Object queryStyleSerInt = parentFormToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES);
- Hashtable parentQueryData = new Hashtable();
- if (queryItemProperty != null)
- parentQueryData.put(UDDIActionInputs.QUERY_ITEM, queryItemProperty);
- if (queryStyleBus != null)
- parentQueryData.put(UDDIActionInputs.QUERY_STYLE_BUSINESSES, queryStyleBus);
- if (queryStyleSer != null)
- parentQueryData.put(UDDIActionInputs.QUERY_STYLE_SERVICES, queryStyleSer);
- if (queryStyleSerInt != null)
- parentQueryData.put(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES, queryStyleSerInt);
- SubQueryTransferTarget subQueryTransferTarget = new SubQueryTransferTarget(selectedNode,subQueryKey,parentQueryData);
- treeElement.setPropertyAsObject(UDDIModelConstants.SUBQUERY_TRANSFER_TARGET,subQueryTransferTarget);
- subQueryTransferTargetHolder.addElement(subQueryTransferTarget);
- boolean hasTarget = true;
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_GET_FORM")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/results.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
-<%
- int queryItem = Integer.parseInt((String)formToolPI.getProperty(UDDIActionInputs.QUERY_ITEM));
- Hashtable allUniqueNodes = new Hashtable();
- Vector allNodes = new Vector();
- UDDIMainNode uddiMainNode = (UDDIMainNode)nodeManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(selectedNode);
- switch (queryItem)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- regNode.getAllBusinessNodes(allNodes);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- regNode.getAllServiceNodes(allNodes);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- regNode.getAllServiceInterfaceNodes(allNodes);
- }
-
- for (int i=0;i<allNodes.size();i++)
- {
- Node node = (Node)allNodes.elementAt(i);
- allUniqueNodes.put(node.getTreeElement().getKey(),node);
- }
-
- if (!allUniqueNodes.isEmpty())
- {
- Object[] itemNodes = allUniqueNodes.values().toArray();
- QuickSort.sort(itemNodes,0,itemNodes.length-1);
- for (int i=0;i<itemNodes.length;i++)
- {
- Node itemNode = (Node)itemNodes[i];
- String url = SelectNavigatorNodeAction.getActionLink(itemNode.getNodeId(),false);
- String name = null;
- String description = null;
- if (itemNode instanceof BusinessNode)
- {
- BusinessElement busElement = (BusinessElement)itemNode.getTreeElement();
- BusinessEntity be = busElement.getBusinessEntity();
- name = be.getDefaultNameString();
- description = be.getDefaultDescriptionString();
- }
- else if (itemNode instanceof ServiceNode)
- {
- ServiceElement serviceElement = (ServiceElement)itemNode.getTreeElement();
- BusinessService bs = serviceElement.getBusinessService();
- name = bs.getDefaultNameString();
- description = bs.getDefaultDescriptionString();
- }
- else if (itemNode instanceof ServiceInterfaceNode)
- {
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)itemNode.getTreeElement();
- TModel tModel = siElement.getTModel();
- name = tModel.getNameString();
- description = tModel.getDefaultDescriptionString();
- }
-%>
- addResultRow("Get",<%=itemNode.getNodeId()%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(name)%>","<%=HTMLUtils.JSMangle(description)%>");
-<%
- }
-%>
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
-<%
- }
- else
- {
-%>
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(TransferSubQueryResultsAction.getActionLinkForReturn()))%>";
-<%
- }
-%>
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<div id="content">
- <table id="loadScreen">
- <tr>
- <td>
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String title = uddiPerspective.getMessage("ALT_GET");
- String titleImagePath = "uddi/images/find_highlighted.gif";
-%>
-<%@ include file="/uddi/forms/resultsformheader.inc" %>
- <form target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" method="post" enctype="multipart/form-data" style="margin-top:10px;">
-<%
- sectionHeaderInfo.clear();
- String tableTitle;
- switch (queryItem)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_BUSINESSES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_SERVICES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_SERVICE_INTERFACES");
- }
- String[] otherProperties = {tableTitle,""};
- sectionHeaderInfo.setContainerId("Get");
- sectionHeaderInfo.setOtherProperties(otherProperties);
-%>
-<jsp:include page="/uddi/forms/results_table.jsp" flush="true"/>
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_TRANSFER")%>" onClick="transferSelections('Get',this.form)" class="button">
- </td>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_REFRESH")%>" onClick="refreshSelections('Get',this.form)" class="button">
- </td>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_ADD_TO_FAVORITES")%>" onClick="addSelectionsToFavorites('Get',this.form)" class="button">
- </td>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_CLEAR")%>" onClick="clearSelections('Get',this.form)" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
- </form>
- </div>
-</div>
-</div>
-<script language="javascript">
- setDefaults();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ItemsSummaryForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ItemsSummaryForm.jsp
deleted file mode 100644
index 07b3b6237..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ItemsSummaryForm.jsp
+++ /dev/null
@@ -1,210 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.business.*,
- org.uddi4j.datatype.service.*,
- org.uddi4j.datatype.tmodel.*,
- java.util.*" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- int queryItem = Integer.parseInt(request.getParameter(UDDIActionInputs.QUERY_ITEM));
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager nodeManager = uddiPerspective.getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)nodeManager.getRootNode();
- Node selectedNode = nodeManager.getSelectedNode();
- Tool selectedTool = selectedNode.getCurrentToolManager().getSelectedTool();
- RegistryNode regNode = uddiMainNode.getRegistryNode(selectedNode);
- TreeElement treeElement = selectedNode.getTreeElement();
- Vector summaryNodes = new Vector();
- if (treeElement instanceof QueryParentElement)
- regNode.getDiscoveredNodes(summaryNodes,queryItem);
- else if (treeElement instanceof PublishedItemsElement)
- {
- switch (queryItem)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- regNode.getPublishedBusinessNodes(summaryNodes);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- regNode.getPublishedServiceNodes(summaryNodes);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- regNode.getPublishedServiceInterfaceNodes(summaryNodes);
- }
- }
- boolean hasTarget = false;
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_ITEMS_SUMMARY")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/results.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
-<%
- Hashtable allUniqueNodes = new Hashtable();
- for (int i=0;i<summaryNodes.size();i++)
- {
- Node summaryNode = (Node)summaryNodes.elementAt(i);
- allUniqueNodes.put(summaryNode.getTreeElement().getKey(),summaryNode);
- }
-
- if (!allUniqueNodes.isEmpty())
- {
- Object[] itemNodes = allUniqueNodes.values().toArray();
- QuickSort.sort(itemNodes,0,itemNodes.length-1);
- for (int i=0;i<itemNodes.length;i++)
- {
- Node itemNode = (Node)itemNodes[i];
- String url = SelectNavigatorNodeAction.getActionLink(itemNode.getNodeId(),false);
- String name = null;
- String description = null;
- if (itemNode instanceof QueryNode)
- {
- QueryElement queryElement = (QueryElement)itemNode.getTreeElement();
- name = queryElement.getName();
- String numberOfChildNodesString = String.valueOf(itemNode.getChildNodes().size());
- switch (queryElement.getQueryType())
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- description = uddiPerspective.getMessage("MSG_INFO_BUSINESSES_FOUND",numberOfChildNodesString);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- description = uddiPerspective.getMessage("MSG_INFO_SERVICES_FOUND",numberOfChildNodesString);
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- description = uddiPerspective.getMessage("MSG_INFO_SERVICE_INTERFACES_FOUND",numberOfChildNodesString);
- }
- }
- else if (itemNode instanceof BusinessNode)
- {
- BusinessElement busElement = (BusinessElement)itemNode.getTreeElement();
- BusinessEntity be = busElement.getBusinessEntity();
- name = be.getDefaultNameString();
- description = be.getDefaultDescriptionString();
- }
- else if (itemNode instanceof ServiceNode)
- {
- ServiceElement serviceElement = (ServiceElement)itemNode.getTreeElement();
- BusinessService bs = serviceElement.getBusinessService();
- name = bs.getDefaultNameString();
- description = bs.getDefaultDescriptionString();
- }
- else if (itemNode instanceof ServiceInterfaceNode)
- {
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)itemNode.getTreeElement();
- TModel tModel = siElement.getTModel();
- name = tModel.getNameString();
- description = tModel.getDefaultDescriptionString();
- }
-%>
- addResultRow("Summary",<%=itemNode.getNodeId()%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(name)%>","<%=HTMLUtils.JSMangle(description)%>");
-<%
- }
- }
-%>
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<div id="content">
- <table id="loadScreen">
- <tr>
- <td>
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String title = selectedTool.getAltText();
- String titleImagePath = selectedTool.getHighlightedImageLink();
-%>
-<%@ include file="/uddi/forms/resultsformheader.inc" %>
- <form target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" method="post" enctype="multipart/form-data" style="margin-top:10px;">
-<%
- sectionHeaderInfo.clear();
- String tableTitle;
- switch (queryItem)
- {
- case UDDIActionInputs.QUERY_ITEM_QUERIES:
- tableTitle = uddiPerspective.getMessage("FORM_LABEL_QUERIES");
- break;
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_BUSINESSES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_SERVICES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_SERVICE_INTERFACES");
- }
- String[] otherProperties = {tableTitle,""};
- sectionHeaderInfo.setContainerId("Summary");
- sectionHeaderInfo.setOtherProperties(otherProperties);
-%>
-<jsp:include page="/uddi/forms/results_table.jsp" flush="true"/>
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_REFRESH")%>" onClick="refreshSelections('Summary',this.form)" class="button">
- </td>
-<%
- if (queryItem != UDDIActionInputs.QUERY_ITEM_QUERIES)
- {
-%>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_ADD_TO_FAVORITES")%>" onClick="addSelectionsToFavorites('Summary',this.form)" class="button">
- </td>
-<%
- }
-%>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_CLEAR")%>" onClick="clearSelections('Summary',this.form)" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
- </form>
- </div>
-</div>
-</div>
-<script language="javascript">
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/LoginUddiForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/LoginUddiForm.jsp
deleted file mode 100644
index e1e9cdf6a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/LoginUddiForm.jsp
+++ /dev/null
@@ -1,87 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.business.*,
- org.uddi4j.datatype.tmodel.TModel,
- org.uddi4j.datatype.*,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode must be a registry node.
- Node regNode = navigatorManager.getSelectedNode();
- regNode.getToolManager().setSelectedToolId(1);
- List tools = regNode.getCurrentToolManager().getTools();
- Iterator iter = tools.iterator();
- Tool t = null;
- FormTool formTool = (FormTool)(regNode.getCurrentToolManager().getSelectedTool());
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>New Login Form</title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<script language="javascript">
- function showMainForm(publishValue)
- {
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
-</script>
-</head>
-<body class="contentbodymargin">
- <div id="contentborder">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" >
-<%
- String titleImagePath = "uddi/images/publish_highlighted.gif";
- String title = "Login";
-%>
-<%@ include file="/forms/formheader.inc" %>
- </div>
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/LoginAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
- <jsp:include page="/uddi/forms/login_authentication_table.jsp" flush="true"/>
- <jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
- </div>
-<script language="javascript">
- showMainForm(0);
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManagePublisherAssertionsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManagePublisherAssertionsForm.jsp
deleted file mode 100644
index f67f7820e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManagePublisherAssertionsForm.jsp
+++ /dev/null
@@ -1,408 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.response.CompletionStatus,
- org.uddi4j.datatype.business.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- String pubAssertionForm = "showPublisherAssertionsForm";
- String publisherAssertionsBusiness = "publisherAssertionsBusiness";
-
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- RegistryNode regNode = uddiMainNode.getRegistryNode(selectedNode);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
- TreeElement selectedElement = selectedNode.getTreeElement();
-
- String divPublisherAssertionTable = "divPublisherAssertionTable";
- String xdivPublisherAssertionTable = "xdivPublisherAssertionTable";
-%>
-
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request">
-<%
- String subQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- subQueryKeyProperty.setSubQueryKey(subQueryKey);
-%>
-</jsp:useBean>
-<%
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_MANAGE_PUBLISHER_ASSERTIONS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/udditables.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/uddipanes.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/results.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
- closeAllUddiChildWindows();
-<%
- if (!regElement.isLoggedIn())
- {
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- document.getElementById("<%=pubAssertionForm%>").style.display = "";
-<%
- }
-
- Vector business = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS);
- ListManager businessCopy = (ListManager)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS_COPY);
- if (business != null)
- {
- if (businessCopy == null)
- businessCopy = new ListManager();
- else
- businessCopy.clear();
- for (int i=0;i<business.size();i++)
- {
- ListElement listElement = (ListElement)business.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS,i,UDDIActionInputs.QUERY_ITEM_BUSINESSES,false);
- BusinessEntity be = (BusinessEntity)listElement.getObject();
- businessCopy.add(listElement);
-%>
- addPublisherAssertionResultRow("<%=publisherAssertionsBusiness%>",<%=listElement.getViewId()%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(be.getDefaultNameString())%>","<%=HTMLUtils.JSMangle(be.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS_COPY,businessCopy);
- }
- else
- {
- business = new Vector();
- businessCopy = new ListManager();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS,business);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS_COPY,businessCopy);
- }
-%>
- }
-
- function populateAssertionTable() {
-<%
- if (selectedElement instanceof BusinessElement)
- {
- ListManager pubAssertions = ((BusinessElement)selectedElement).getPublisherAssertions();
- if (pubAssertions == null)
- {
- ShowPublisherAssertionsAction action = new ShowPublisherAssertionsAction(controller);
- action.run();
-%>
- statusContent.location = "<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>";
-<%
- pubAssertions = ((BusinessElement)selectedElement).getPublisherAssertions();
- }
-
- pubAssertions = ((BusinessElement)selectedElement).getPublisherAssertions();
- Enumeration e = ((pubAssertions != null) ? pubAssertions.getListElements() : null);
- while (e != null && e.hasMoreElements())
- {
- ListElement le = (ListElement)e.nextElement();
- PublisherAssertionElement pubAssertionElement = (PublisherAssertionElement)le.getObject();
- int viewId = le.getViewId();
- String direction;
- if (((BusinessElement)selectedElement).getBusinessEntity().getBusinessKey().equals(pubAssertionElement.getFromKey()))
- direction = uddiPerspective.getMessage("FORM_OPTION_ASSERTION_DIRECTION_FROM");
- else
- direction = uddiPerspective.getMessage("FORM_OPTION_ASSERTION_DIRECTION_TO");
- ListElement sp = (ListElement)pubAssertionElement.getServiceProvider();
- int targetNodeId = sp.getTargetNodeId();
- int targetToolId = sp.getTargetToolId();
- int targetViewId = sp.getTargetViewId();
- int subQueryItemId = pubAssertionElement.getSubQueryItemId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_EXISTING_PUBLISHER_ASSERTIONS,subQueryItemId,UDDIActionInputs.QUERY_ITEM_BUSINESSES,false);
- String name = ((BusinessEntity)sp.getObject()).getDefaultNameString();
- String desc = ((BusinessEntity)sp.getObject()).getDefaultDescriptionString();
- String status = pubAssertionElement.getStatus();
- String type = pubAssertionElement.getKeyedRef().getKeyValue();
-%>
- addAssertion("<%=divPublisherAssertionTable%>",<%=viewId%>,"<%=direction%>","<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(name)%>","<%=HTMLUtils.JSMangle(desc)%>","<%=status%>","<%=HTMLUtils.JSMangle(type)%>");
-<%
- }
- }
-%>
- }
-
- function addAssertion(tableContainerId,viewId,direction,url,name,desc,status,type)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
- var column3 = document.createElement("td");
- var column4 = document.createElement("td");
- var column5 = document.createElement("td");
- var column6 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- rowCheckbox.name = "<%=UDDIActionInputs.PUBLISHER_ASSERTIONS_VIEWID%>";
- rowCheckbox.value = viewId;
- column0.appendChild(rowCheckbox);
-
- column1.appendChild(document.createTextNode("<%=uddiPerspective.getMessage("FORM_LABEL_THIS_BUSINESS")%>"));
-
- column2.appendChild(document.createTextNode(direction));
-
- var nameDetailsLink = document.createElement("a");
- nameDetailsLink.href = url;
- nameDetailsLink.target = "<%=FrameNames.PERSPECTIVE_WORKAREA%>";
- nameDetailsLink.appendChild(document.createTextNode(name));
- column3.appendChild(nameDetailsLink);
-
- column4.appendChild(document.createTextNode(getDefaultDisplayString(desc)));
-
- column5.appendChild(document.createTextNode(status));
-
- column6.appendChild(document.createTextNode(type));
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column2.className = "tablecells";
- column3.className = "tablecells";
- column4.className = "tablecells";
- column5.className = "tablecells";
- column6.className = "tablecells";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- newRow.appendChild(column3);
- newRow.appendChild(column4);
- newRow.appendChild(column5);
- newRow.appendChild(column6);
- tableBody.appendChild(newRow);
-
- }
-
- function addPublisherAssertionResultRow(tableContainerId,nodeId,url,name,description)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
- var column3 = document.createElement("td");
- var column4 = document.createElement("td");
- var column5 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
- column0.appendChild(createHiddenElement("",nodeId));
-
- column1.appendChild(document.createTextNode("<%=uddiPerspective.getMessage("FORM_LABEL_THIS_BUSINESS")%>"));
-
- var direction = document.createElement("select");
- direction.id = "label_publisher_assertion_direction";
- direction.name = "<%=UDDIActionInputs.PUBLISHER_ASSERTIONS_DIRECTION%>";
- direction.className = "selectlist";
- direction.options[0] = new Option("<%=uddiPerspective.getMessage("FORM_OPTION_ASSERTION_DIRECTION_FROM")%>", "<%=String.valueOf(UDDIActionInputs.DIRECTION_FROM)%>");
- direction.options[1] = new Option("<%=uddiPerspective.getMessage("FORM_OPTION_ASSERTION_DIRECTION_TO")%>", "<%=String.valueOf(UDDIActionInputs.DIRECTION_TO)%>");
- column2.appendChild(direction);
-
- var nameDetailsLink = document.createElement("a");
- nameDetailsLink.href = url;
- nameDetailsLink.target = "<%=FrameNames.PERSPECTIVE_WORKAREA%>";
- nameDetailsLink.appendChild(document.createTextNode(name));
- column3.appendChild(nameDetailsLink);
-
- column4.appendChild(document.createTextNode(getDefaultDisplayString(description)));
-
- var assertionType = document.createElement("select");
- assertionType.id = "label_publisher_assertion_type";
- assertionType.name = "<%=UDDIActionInputs.PUBLISHER_ASSERTIONS_TYPE%>";
- assertionType.className = "selectlist";
- assertionType.options[0] = new Option("<%=uddiPerspective.getMessage("FORM_OPTION_ASSERTION_TYPE_PARENT_CHILD")%>", "<%=String.valueOf(UDDIActionInputs.PUBLISHER_ASSERTIONS_TYPE_PARENT_CHILD)%>");
- assertionType.options[1] = new Option("<%=uddiPerspective.getMessage("FORM_OPTION_ASSERTION_TYPE_PEER_TO_PEER")%>", "<%=String.valueOf(UDDIActionInputs.PUBLISHER_ASSERTIONS_TYPE_PEER_TO_PEER)%>");
- assertionType.options[2] = new Option("<%=uddiPerspective.getMessage("FORM_OPTION_ASSERTION_TYPE_IDENTITY")%>", "<%=String.valueOf(UDDIActionInputs.PUBLISHER_ASSERTIONS_TYPE_IDENTITY)%>");
- column5.appendChild(assertionType);
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column2.className = "tablecells";
- column3.className = "tablecells";
- column4.className = "tablecells";
- column5.className = "tablecells";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- newRow.appendChild(column3);
- newRow.appendChild(column4);
- newRow.appendChild(column5);
- tableBody.appendChild(newRow);
- }
-
- function setFormLocationAndSubmit(form,location)
- {
- form.action = location;
- if (handleSubmit(form))
- {
- processResultTable("<%=publisherAssertionsBusiness%>", "<%=UDDIActionInputs.PUBLISHER_ASSERTIONS_SELECTED_BUS_ID%>", form, false);
- form.submit();
- }
- }
-
- function checkTableEntriesAndSubmit(tableContainerId,form,location)
- {
- if (getNumberOfSelections(tableContainerId) > 0) {
- setFormLocationAndSubmit(form,location);
- return;
- }
- alert("<%=controller.getUDDIPerspective().getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- }
-
- function checkTableSizeAndSubmit(tableContainerId,form,location)
- {
- var table = getTable(tableContainerId);
- if (table.rows.length > numberOfHeaderRows) {
- setFormLocationAndSubmit(form,location);
- return;
- }
- alert("<%=controller.getUDDIPerspective().getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- }
-
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeAllUddiChildWindows()">
- <div id="contentborder">
- <div id="publisherAssertions">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/ShowPublisherAssertionsActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_GET%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
-
-<%
- String titleImagePath = "uddi/images/publisher_assertions_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_MANAGE_PUBLISHER_ASSERTIONS");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <table width="90%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_MANAGE_PUBLISHER_ASSERTIONS_DESC")%>
- </td>
- </tr>
- </table>
- <table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divPublisherAssertionTable%>','<%=xdivPublisherAssertionTable%>')"><img name="<%=xdivPublisherAssertionTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_ASSERTIONS")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divPublisherAssertionTable%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=divPublisherAssertionTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=((BusinessElement)selectedElement).getBusinessEntity().getDefaultNameString()%></th>
- <th class="headercolor"><label for="label_publisher_assertion_direction"><%=uddiPerspective.getMessage("FORM_LABEL_DIRECTION")%></label></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_BUSINESS")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_STATUS")%></th>
- <th class="headercolor"><label for="label_publisher_assertion_type"><%=uddiPerspective.getMessage("FORM_LABEL_ASSERTION_TYPE")%></label></th>
- </tr>
- </table>
- <table width="90%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=30 valign="bottom" align="left" nowrap class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_INCOMPLETE_ASSERTIONS_VISIBILITY_DESC")%>
- </td>
- </tr>
- </table>
- </div>
-
-<%
- boolean tableHasErrors = !formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS);
- String[] busSpecificInfo = {"FORM_LABEL_BUSINESSES",(new Boolean(tableHasErrors)).toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES),"publisherAssertions",UDDIActionInputs.QUERY_INPUT_ADD_PUBLISHER_ASSERTIONS};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId(publisherAssertionsBusiness);
- sectionHeaderInfo.setOtherProperties(busSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjectsPublisherAssertions_table.jsp" flush="true"/>
-
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId(pubAssertionForm);
-%>
-<jsp:include page="authentication_table.jsp" flush="true"/>
- <br>
- <table>
- <tr>
- <td>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_SHOW_ALL_PUBLISHER_ASSERTIONS")%>" onClick="setFormLocationAndSubmit(this.form,'<%=response.encodeURL(controller.getPathWithContext("uddi/actions/ShowPublisherAssertionsActionJSP.jsp"))%>')" class="button">
- </td>
- <td>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_COMPLETE_PUBLISHER_ASSERTIONS")%>" onClick="checkTableEntriesAndSubmit('<%=divPublisherAssertionTable%>',this.form,'<%=response.encodeURL(controller.getPathWithContext("uddi/actions/CompletePublisherAssertionsActionJSP.jsp"))%>')" class="button">
- </td>
- <td>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_ADD_PUBLISHER_ASSERTIONS")%>" onClick="checkTableSizeAndSubmit('<%=publisherAssertionsBusiness%>',this.form,'<%=response.encodeURL(controller.getPathWithContext("uddi/actions/AddPublisherAssertionsActionJSP.jsp"))%>')" class="button">
- </td>
- <td>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_REMOVE_PUBLISHER_ASSERTIONS")%>" onClick="checkTableEntriesAndSubmit('<%=divPublisherAssertionTable%>',this.form,'<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RemovePublisherAssertionsActionJSP.jsp"))%>')" class="button">
- </td>
- </tr>
- </table>
- </form>
-
- </div>
- </div>
-<script language="javascript">
- populateAssertionTable();
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManageReferencedServicesForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManageReferencedServicesForm.jsp
deleted file mode 100644
index bafda37f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ManageReferencedServicesForm.jsp
+++ /dev/null
@@ -1,231 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.business.*,
- org.uddi4j.datatype.service.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- RegistryNode regNode = uddiMainNode.getRegistryNode(selectedNode);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
- BusinessElement busElement = (BusinessElement)selectedNode.getTreeElement();
-%>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request">
-<%
- String sk = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- subQueryKeyProperty.setSubQueryKey(sk);
-%>
-</jsp:useBean>
-<html>
-<head>
- <title><%=uddiPerspective.getMessage("FORM_TITLE_MANAGE_REFERENCED_SERVICES")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/results.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
-<%
- if (!regElement.isLoggedIn())
- {
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- document.getElementById("manageReferencedServicesAuthentication").style.display = "";
-<%
- }
- String subQueryKey = subQueryKeyProperty.getSubQueryKey();
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKey);
- Vector referencedServices = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_REFERENCED_SERVICES);
- if (referencedServices == null)
- {
- referencedServices = new Vector();
- BusinessEntity businessEntity = busElement.getBusinessEntity();
- String businessKey = businessEntity.getBusinessKey();
- BusinessServices businessSvcs = businessEntity.getBusinessServices();
- if (businessSvcs != null)
- {
- Vector businessSvcVector = businessSvcs.getBusinessServiceVector();
- for (int i=0;i<businessSvcVector.size();i++)
- {
- BusinessService busService = (BusinessService)businessSvcVector.elementAt(i);
- if (!busService.getBusinessKey().equals(businessKey))
- {
- ListElement listElement = new ListElement(busService);
- referencedServices.addElement(listElement);
- }
- }
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_REFERENCED_SERVICES,referencedServices);
- }
-
- for (int i=0;i<referencedServices.size();i++)
- {
- ListElement listElement = (ListElement)referencedServices.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKey,UDDIActionInputs.QUERY_INPUT_REFERENCED_SERVICES,i,UDDIActionInputs.QUERY_ITEM_SERVICES,false);
- BusinessService bs = (BusinessService)listElement.getObject();
- String name = bs.getDefaultNameString();
- String description = bs.getDefaultDescriptionString();
-%>
- addResultRow("manageReferencedServicesReferences",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(name)%>","<%=HTMLUtils.JSMangle(description)%>");
-<%
- }
-
- Vector services = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SERVICES);
- if (services != null)
- {
- for (int i=0;i<services.size();i++)
- {
- ListElement listElement = (ListElement)services.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKey,UDDIActionInputs.QUERY_INPUT_SERVICES,i,UDDIActionInputs.QUERY_ITEM_SERVICES,false);
- BusinessService bs = (BusinessService)listElement.getObject();
- String name = bs.getDefaultNameString();
- String description = bs.getDefaultDescriptionString();
-%>
- addResultRow("manageReferencedServicesServices",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(name)%>","<%=HTMLUtils.JSMangle(description)%>");
-<%
- }
- }
-%>
- }
-
- function processReferenceTable(tableContainerId,inputName,form)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var inputs = table.rows[i].getElementsByTagName("input");
- form.appendChild(createHiddenElement(inputName,inputs.item(0).checked));
- }
- }
-
- function processForm(form)
- {
- if (handleSubmit(form))
- {
- processReferenceTable("manageReferencedServicesReferences","<%=UDDIActionInputs.REFERENCED_SERVICE_SELECT_STATE%>",form);
- processResultTable("manageReferencedServicesServices","<%=UDDIActionInputs.NODEID_SERVICE%>",form,false);
- form.submit();
- }
- }
-
- function processAddServices(form)
- {
- var table = getTable("manageReferencedServicesServices");
- if (table.rows.length == numberOfHeaderRows)
- alert("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_ERROR_NO_SERVICES"))%>");
- else
- {
- form.<%=UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION%>.value = "<%=UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION_ADD%>";
- processForm(form);
- }
- }
-
- function processRemoveReferences(form)
- {
- var numberOfSelections = getNumberOfSelections("manageReferencedServicesReferences");
- if (getNumberOfSelections("manageReferencedServicesReferences") == 0)
- alert("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_ERROR_NO_REFERENCE_SELECTED"))%>");
- else
- {
- form.<%=UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION%>.value = "<%=UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION_REMOVE%>";
- processForm(form);
- }
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
- <div id="contentborder">
- <div id="manageReferencedServices">
-<%
- String titleImagePath = "uddi/images/referenced_services_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_MANAGE_REFERENCED_SERVICES");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/ManageReferencedServicesActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" style="margin-top:0;">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_GET%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <input type="hidden" name="<%=UDDIActionInputs.MANAGE_REFERENCED_SERVICES_OPERATION%>">
- <table width="90%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_MANAGE_REFERENCED_SERVICES_DESC")%>
- </td>
- </tr>
- </table>
-<%
- String[] projectionsSpecificInfo = {"FORM_LABEL_REFERENCED_SERVICES",Boolean.FALSE.toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES),"manageReferencedServices",UDDIActionInputs.QUERY_INPUT_REFERENCED_SERVICES};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("manageReferencedServicesReferences");
- sectionHeaderInfo.setOtherProperties(projectionsSpecificInfo);
- sectionHeaderInfo.enableDynamic(false);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-<%
- String[] servicesSpecificInfo = {"FORM_OPTION_SERVICES",Boolean.FALSE.toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES),"manageReferencedServices",UDDIActionInputs.QUERY_INPUT_SERVICES};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("manageReferencedServicesServices");
- sectionHeaderInfo.setOtherProperties(servicesSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("manageReferencedServicesAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=30 valign="bottom" align="left" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_ADD_SERVICES")%>" onClick="processAddServices(this.form)" class="button">
- </td>
- <td height=30 valign="bottom" align="left" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_REMOVE_REFERENCES")%>" onClick="processRemoveReferences(this.form)" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
- </form>
- </div>
- </div>
-<script language="javascript">
- setDefaults();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/OpenRegistryForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/OpenRegistryForm.jsp
deleted file mode 100644
index 880bc3e52..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/OpenRegistryForm.jsp
+++ /dev/null
@@ -1,178 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *
- * IBM Corporation - initial API and implementation
- * yyyymmdd bug Email and other contact information
- * -------- -------- -----------------------------------------------------------
- * 20060515 135307 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
-UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
-OpenRegistryTool openRegistryTool = (OpenRegistryTool)(uddiMainNode.getCurrentToolManager().getSelectedTool());
-Enumeration favoriteRegistryElements = openRegistryTool.getFavoriteRegistryElements();
-Vector favoriteRegistryList = new Vector();
-while (favoriteRegistryElements.hasMoreElements())
- favoriteRegistryList.addElement(favoriteRegistryElements.nextElement());
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_OPEN_REGISTRY")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
- <jsp:include page="/scripts/formutils.jsp" flush="true"/>
- <script language="javascript">
- function fillFavoriteInfo(favoriteRegistrySelect)
- {
- var selectedFavoriteRegistryIndex = favoriteRegistrySelect.selectedIndex-1;
- if (selectedFavoriteRegistryIndex >= 0)
- {
- var form = document.getElementById("openRegistryForm");
- switch (selectedFavoriteRegistryIndex)
- {
- <%
- for (int i=0;i<favoriteRegistryList.size();i++)
- {
- FavoritesUDDIRegistryElement favRegElement = (FavoritesUDDIRegistryElement)favoriteRegistryList.elementAt(i);
- %>
- case <%=i%>:
- form.<%=UDDIActionInputs.REGISTRY_NAME%>.value = "<%=HTMLUtils.JSMangle(favRegElement.getName())%>";
- form.<%=UDDIActionInputs.INQUIRY_URL%>.value = "<%=HTMLUtils.JSMangle(favRegElement.getInquiryURL())%>";
- break;
- <%
- }
- %>
- }
- }
- }
-
- function setDefaults()
- {
- var form = document.getElementById("openRegistryForm");
- form.<%=UDDIActionInputs.REGISTRY_NAME%>.value = "<%=HTMLUtils.JSMangle((String)openRegistryTool.getProperty(UDDIActionInputs.REGISTRY_NAME))%>";
- form.<%=UDDIActionInputs.INQUIRY_URL%>.value = "<%=HTMLUtils.JSMangle((String)openRegistryTool.getProperty(UDDIActionInputs.INQUIRY_URL))%>";
- showMainForm();
- }
-
- function showMainForm()
- {
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
-
- </script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
- <div id="contentborder">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
- <%
- String titleImagePath = "uddi/images/open_registry_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_OPEN_REGISTRY");
- %>
- <%@ include file="/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_OPEN_REGISTRY_DESC")%>
- </td>
- </tr>
- </table>
-
- <form id="openRegistryForm" action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/OpenRegistryActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" valign="bottom" nowrap height=25>
- <label for="favoriteRegistry"><%=uddiPerspective.getMessage("FORM_LABEL_FAVORITE_REGISTRY")%></label>
- </td>
- </tr>
- <tr>
- <td height=25 valign="bottom">
- <select id="favoriteRegistry" onChange="fillFavoriteInfo(this)" class="selectlist">
- <option value="" selected>
- <%
- for (int i=0;i<favoriteRegistryList.size();i++)
- {
- FavoritesUDDIRegistryElement favRegElement = (FavoritesUDDIRegistryElement)favoriteRegistryList.elementAt(i);
- %>
- <option value="<%=favRegElement.getName()%>"><%=favRegElement.getName()%>
- <%
- }
- %>
- </select>
- </td>
- </tr>
- <tr>
- <td class="labels" height=25 valign="bottom">
- <label for="input_registry_name"><%=uddiPerspective.getMessage("FORM_LABEL_REGISTRY_NAME")%></label>
- <%
- if (!openRegistryTool.isInputValid(UDDIActionInputs.REGISTRY_NAME))
- {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- </tr>
- <tr>
- <td>
- <input type="text" id="input_registry_name" name="<%=UDDIActionInputs.REGISTRY_NAME%>" class="textenter">
- </td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="input_inquiry_url"><%=uddiPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%></label>
- <%
- if (!openRegistryTool.isInputValid(UDDIActionInputs.INQUIRY_URL))
- {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- </tr>
- <tr>
- <td>
- <input type="text" id="input_inquiry_url" name="<%=UDDIActionInputs.INQUIRY_URL%>" class="textenter">
- </td>
- </tr>
- </table>
- <jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
- <script language="javascript">
- setDefaults();
- </script>
-
- </div>
- </div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ProcessUDDIFramesetsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ProcessUDDIFramesetsForm.jsp
deleted file mode 100644
index 2b3ede0eb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ProcessUDDIFramesetsForm.jsp
+++ /dev/null
@@ -1,27 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"/>
-<form action="<%=response.encodeURL(controller.getPathWithContext(formAction.toString()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" style="margin-top:0;margin-bottom:0">
- <input name="<%=ActionInputs.FRAME_NAME%>" type="hidden" value="<%=formFrameName%>">
- <input name="<%=UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>" type="hidden" value="<%=uddiPerspective.getPerspectiveContentFramesetCols()%>">
- <input name="<%=UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>" type="hidden" value="<%=uddiPerspective.getActionsContainerFramesetRows()%>">
-</form>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegDetailsForm.jsp
deleted file mode 100644
index 1dba225fb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegDetailsForm.jsp
+++ /dev/null
@@ -1,267 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060912 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- FavoritesPerspective favPerspective = controller.getFavoritesPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // The selected node must be a registry node.
- Node registryNode = navigatorManager.getSelectedNode();
- ToolManager currentToolManager = registryNode.getCurrentToolManager();
- FormTool formTool = (FormTool)(currentToolManager.getSelectedTool());
- RegistryElement regElement = (RegistryElement)registryNode.getTreeElement();
- regElement.refreshMeta();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_REGISTRY_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/detailstables.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-<script language="javascript">
- function setDefaults()
- {
- var registryDetailsNameTable = getTable("registryDetailsName");
-<%
- String name = regElement.getName();
- boolean isError = !formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME);
-%>
- addDetailsSingleItemRow("registryDetailsName",false);
- setDetailsNameSingleItemRow("registryDetailsName","<%=HTMLUtils.JSMangle(name)%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(registryDetailsNameTable.rows[numberOfHeaderRows],"errantRow");
-<%
- }
-
- Enumeration userDefinedCategories = regElement.getUserDefinedCategories();
- boolean containsUserDefinedCategories;
- if (userDefinedCategories != null && userDefinedCategories.hasMoreElements())
- {
-%>
- var registryCategoriesTable = getTable("registryUserDefinedCategories");
-<%
- containsUserDefinedCategories = true;
- ArrayList userDefinedCategoriesList = new ArrayList();
- do
- {
- userDefinedCategoriesList.add(userDefinedCategories.nextElement());
- } while (userDefinedCategories.hasMoreElements());
- CategoryModel[] userDefinedCategoriesArray = new CategoryModel[userDefinedCategoriesList.size()];
- userDefinedCategoriesList.toArray(userDefinedCategoriesArray);
- QuickSort.sort(userDefinedCategoriesArray,0,userDefinedCategoriesArray.length-1);
- StringBuffer fileName = new StringBuffer();
- for (int i=0;i<userDefinedCategoriesArray.length;i++)
- {
- name = userDefinedCategoriesArray[i].getDisplayName();
- String tModelKey = userDefinedCategoriesArray[i].getTModelKey();
- boolean checked = userDefinedCategoriesArray[i].isChecked();
- fileName.setLength(0);
- if (userDefinedCategoriesArray[i].isDataLoaded())
- fileName.append(userDefinedCategoriesArray[i].getCategoryKey()).append(".txt");
- else
- fileName.append(controller.getMessage("TABLE_BLANK_PLACEHOLDER"));
- boolean hasError = !formTool.isRowInputValid(UDDIActionInputs.USER_DEFINED_CATEGORIES,tModelKey);
-%>
- addDetailsUserDefinedCategoryRow("registryUserDefinedCategories","<%=tModelKey%>","<%=HTMLUtils.JSMangle(name)%>",<%=checked%>,"<%=HTMLUtils.JSMangle(fileName.toString())%>",<%=hasError%>);
-<%
- if (hasError)
- {
-%>
- highlightErrantRow(registryCategoriesTable.rows[numberOfHeaderRows+<%=i%>],"errantRow");
-<%
- }
- }
- }
- else
- containsUserDefinedCategories = false;
-%>
- showMainForm();
- }
-
- function showMainForm()
- {
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
- function processForm(form)
- {
- if (handleSubmit(form))
- {
- processDetailsSingleItemTable("registryDetailsName","<%=UDDIActionInputs.NAME_MODIFIED%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_REGISTRY_NAME%>",form);
- return true;
- }
- return false;
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
- <div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UpdateRegistryActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String titleImagePath = "images/details_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_REGISTRY_DETAILS");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_DETAILS_EDITABLE",registryNode.getNodeName())%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("registryDetailsName");
- sectionHeaderInfo.setOtherProperties(uddiPerspective.getMessage("FORM_LABEL_REGISTRY_NAME"));
-%>
-<jsp:include page="/uddi/forms/detailsSingleItem_table.jsp" flush="true"/>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=regElement.getInquiryURL()%>
- </td>
- </tr>
- </table>
-<%
- String publishURL = regElement.getPublishURL();
- if (Validator.validateURL(publishURL))
- {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=regElement.getPublishURL()%>
- </td>
- </tr>
- </table>
-<%
- }
-
- if (containsUserDefinedCategories)
- {
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("registryUserDefinedCategories");
-%>
-<jsp:include page="/uddi/forms/ud_categories_table.jsp" flush="true"/>
-<%
- }
- if (regElement.isLoggedIn())
- {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_USERID")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=regElement.getUserId()%>
- </td>
- </tr>
- </table>
-<%
- }
-
- String registrationURL = regElement.getRegistrationURL();
- if (Validator.validateURL(registrationURL))
- {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table>
- <tr>
- <td align="left">
- <%=favPerspective.getMessage("FORM_LABEL_REGISTRY_URL",registrationURL)%>
- </td>
- </tr>
- </table>
-<%
- }
-%>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </div>
- </form>
- </div>
-<script language="javascript">
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesAdvancedForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesAdvancedForm.jsp
deleted file mode 100644
index a907d0f14..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesAdvancedForm.jsp
+++ /dev/null
@@ -1,93 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="findBusinessesAdvanced">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegFindBusinessesAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processFindBusinessesAdvancedForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_GET%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>">
- <table width="90%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=20 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_FIND_ADVANCED_DESC")%>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=35 valign="bottom">
- <input type="checkbox" id="input_find_businesses_advance_owned" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED%>" onClick="toggleAdvancedAuthenticationSection(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,this.checked)">
- <label for="input_find_businesses_advance_owned"><%=uddiPerspective.getMessage("FORM_LABEL_OWNED")%></label>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedNames");
- String[] nameSpecificInfo = {"FORM_LABEL_NAMES","FORM_LABEL_NAME",Boolean.FALSE.toString()};
- sectionHeaderInfo.setOtherProperties(nameSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedIdentifiers");
-%>
-<jsp:include page="/uddi/forms/identifiers_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedCategories");
-%>
-<jsp:include page="/uddi/forms/categories_table.jsp" flush="true"/>
-<%
- String[] siSpecificInfo = {"FORM_LABEL_SERVICE_INTERFACES",Boolean.FALSE.toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES),"findBusinessesAdvanced",UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedServiceInterfaces");
- sectionHeaderInfo.setOtherProperties(siSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedDiscoveryURLs");
- sectionHeaderInfo.setOtherProperties(new Boolean(false));
-%>
-<jsp:include page="/uddi/forms/discoveryURLs_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedFindQualifiers");
-%>
-<jsp:include page="/uddi/forms/findQualifiers_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findBusinessesAdvancedCommon");
-%>
-<jsp:include page="/uddi/forms/advancedCommon_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesForm.jsp
deleted file mode 100644
index f9148349a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesForm.jsp
+++ /dev/null
@@ -1,47 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="findBusinesses" style="display:none;">
- <form name="findBusinessesStyle">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_SEARCH_TYPE")%>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_find_business_simple" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_BUSINESSES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>)"><label for="radio_find_business_simple"><%=uddiPerspective.getMessage("FORM_RADIO_SIMPLE")%></label>
- <input type="radio" id="radio_find_business_advance" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_BUSINESSES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>)"><label for="radio_find_business_advance"><%=uddiPerspective.getMessage("FORM_RADIO_ADVANCED")%></label>
- <input type="radio" id="radio_find_business_uuid" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_BUSINESSES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,<%=UDDIActionInputs.QUERY_STYLE_UUID%>)"><label for="radio_find_business_uuid"><%=uddiPerspective.getMessage("FORM_RADIO_UUID")%></label>
- </td>
- </tr>
- </table>
- </form>
-<jsp:include page="/uddi/forms/RegFindBusinessesSimpleForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegFindBusinessesAdvancedForm.jsp" flush="true"/>
-<%
- sectionHeaderInfo.setContainerId("findBusinessUUID");
- String[] otherProperties = {"uddi/actions/RegFindBusinessUUIDActionJSP.jsp",UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY,"FORM_LABEL_FIND_BUSINESS_UUID_DESC"};
- sectionHeaderInfo.setOtherProperties(otherProperties);
-%>
-<jsp:include page="/uddi/forms/RegFindUUIDForm.jsp" flush="true"/>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesSimpleForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesSimpleForm.jsp
deleted file mode 100644
index 2c7e34ad3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindBusinessesSimpleForm.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode could be the registry or query nodes.
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="findBusinessesSimple" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegFindBusinessesSimpleActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_FIND_BUSINESSES_SIMPLE_DESC")%>
- </td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="input_find_businesses_simple_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td> <input type="text" id="input_find_businesses_simple_name" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindForm.jsp
deleted file mode 100644
index f5b1f9384..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindForm.jsp
+++ /dev/null
@@ -1,708 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.*,
- org.uddi4j.datatype.business.*,
- org.uddi4j.datatype.service.*,
- org.uddi4j.datatype.tmodel.*,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode could be the registry or query nodes.
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
-%>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request">
-<%
- String subQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- subQueryKeyProperty.setSubQueryKey(subQueryKey);
-%>
-</jsp:useBean>
-<%
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- Node regNode = uddiMainNode.getRegistryNode(selectedNode);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_REGISTRY_FIND")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/udditables.jsp" flush="true"/>
-<script language="javascript">
- var sectionIds = ["findBusinesses","findServices","findServiceInterfaces"];
- var findBusinessesSectionIds = ["findBusinessesSimple","findBusinessesAdvanced","findBusinessUUID"];
- var findServicesSectionIds = ["findServicesSimple","findServicesAdvanced","findServiceUUID"];
- var findServiceInterfacesSectionIds = ["findServiceInterfacesSimple","findServiceInterfacesAdvanced","findServiceInterfaceUUID"];
- var styleForms = ["findBusinessesStyle","findServicesStyle","findServiceInterfacesStyle"];
- var authenticationSectionIds = ["findBusinessesAdvancedAuthentication","findServicesAdvancedAuthentication","findServiceInterfacesAdvancedAuthentication"];
-
- function validateQueryName()
- {
-<%
- String subQueryKeyValue = subQueryKeyProperty.getSubQueryKey();
- boolean isSubQuery = (subQueryKeyValue != null && subQueryKeyValue.length() > 0);
-%>
- if (<%=isSubQuery%>)
- {
- // Subqueries must have a name which is different from that of the current query or the closest query enclosing this object.
-<%
- String currentQueryName = "";
- if (selectedNode instanceof QueryNode)
- currentQueryName = selectedNode.getNodeName();
- else if (selectedNode instanceof BusinessNode)
- {
- Node parentNode = selectedNode.getParent();
- if (parentNode instanceof QueryNode)
- currentQueryName = parentNode.getNodeName();
- }
-%>
- var queryName = document.getElementById("queryName").value;
- if (queryName == "<%=HTMLUtils.JSMangle(currentQueryName)%>")
- {
- alert("<%=uddiPerspective.getMessage("MSG_ERROR_QUERY_NAME_CONFLICT")%>");
- return false;
- }
- }
- return true;
- }
-
- function processForm(form)
- {
- if (!handleSubmit(form))
- return false;
- if (!validateQueryName())
- return false;
- form.<%=UDDIActionInputs.SUBQUERY_KEY%>.value = "<%=subQueryKeyProperty.getSubQueryKey()%>";
- form.<%=UDDIActionInputs.QUERY_NAME%>.value = document.getElementById("queryName").value;
- return true;
- }
-
- function processFindBusinessesAdvancedForm(form)
- {
- if (processForm(form))
- {
- processLanguageInputTable("findBusinessesAdvancedNames","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processNameFindQualifiers("findBusinessesAdvancedNames",form);
- processIdentifierTable("findBusinessesAdvancedIdentifiers",form);
- processCategoryTable("findBusinessesAdvancedCategories",form,true);
- processResultTable("findBusinessesAdvancedServiceInterfaces","<%=UDDIActionInputs.NODEID_SERVICE_INTERFACE%>",form,false);
- processDiscoveryURLTable("findBusinessesAdvancedDiscoveryURLs",form);
- processFindQualifierTable("findBusinessesAdvancedFindQualifiers",form);
- return true;
- }
- return false;
- }
-
- function processFindServicesAdvancedForm(form)
- {
- if (processForm(form))
- {
- processResultTable("findServicesAdvancedBusiness","<%=UDDIActionInputs.NODEID_BUSINESS%>",form,false);
- processLanguageInputTable("findServicesAdvancedNames","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processNameFindQualifiers("findServicesAdvancedNames",form);
- processCategoryTable("findServicesAdvancedCategories",form,false);
- processResultTable("findServicesAdvancedServiceInterfaces","<%=UDDIActionInputs.NODEID_SERVICE_INTERFACE%>",form,false);
- processFindQualifierTable("findServicesAdvancedFindQualifiers",form);
- return true;
- }
- return false;
- }
-
- function processFindServiceInterfacesAdvancedForm(form)
- {
- if (processForm(form))
- {
- processResultTable("findServiceInterfacesAdvancedService","<%=UDDIActionInputs.NODEID_SERVICE%>",form,false);
- processNameFindQualifiers("findServiceInterfacesAdvancedName",form);
- processIdentifierTable("findServiceInterfacesAdvancedIdentifiers",form);
- processCategoryTable("findServiceInterfacesAdvancedCategories",form,false);
- processFindQualifierTable("findServiceInterfacesAdvancedFindQualifiers",form);
- return true;
- }
- return false;
- }
-
- function setDefaults()
- {
- // Set the query name
- document.getElementById("queryName").value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_NAME))%>";
- var searchFor = document.getElementById("searchFor");
- searchFor.selectedIndex = <%=formToolPI.getProperty(UDDIActionInputs.QUERY_ITEM)%>;
- setDefaultsForFindBusinessesForms();
- setDefaultsForFindServicesForms();
- setDefaultsForFindServiceInterfacesForms();
- showMainForm(searchFor.value);
- }
-
- function setAuthenticationSectionDefaults(advancedForm,queryItemIndex,isOwnedChecked)
- {
-<%
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- advancedForm.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED%>.checked = isOwnedChecked;
- advancedForm.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- advancedForm.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- advancedForm.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- toggleAdvancedAuthenticationSection(queryItemIndex,isOwnedChecked);
- }
-
- function setAdvancedCommonSectionDefaults(form,maxSearchSet,maxResults)
- {
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET%>.value = maxSearchSet;
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS%>.value = maxResults;
- }
-
- function setDefaultsForFindBusinessesForms()
- {
- // Initialize the findBusinesses form.
-<%
- String findBusinessesStyleIndex = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES);
-%>
- document.forms[styleForms[<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>]].<%=UDDIActionInputs.QUERY_STYLE_BUSINESSES%>[<%=findBusinessesStyleIndex%>].checked = true;
- var findBusinessesSimpleSection = document.getElementById(findBusinessesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>]);
- var findBusinessesSimpleForm = findBusinessesSimpleSection.getElementsByTagName("form").item(0);
- findBusinessesSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME))%>";
-
- // Advanced form details.
- var findBusinessesAdvancedSection = document.getElementById(findBusinessesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>]);
- var findBusinessesAdvancedForm = findBusinessesAdvancedSection.getElementsByTagName("form").item(0);
- var isOwnedChecked = <%=(formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_OWNED) != null)%>;
- setAuthenticationSectionDefaults(findBusinessesAdvancedForm,<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,isOwnedChecked);
-<%
- Vector busNameVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- if (busNameVector != null)
- {
- for (int i=0;i<busNameVector.size();i++)
- {
- Name name = (Name)busNameVector.elementAt(i);
-%>
- addLanguageInputRow("findBusinessesAdvancedNames","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_NAME_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("findBusinessesAdvancedNames",<%=i%>,"<%=HTMLUtils.JSMangle(name.getLang())%>","<%=HTMLUtils.JSMangle(name.getText())%>");
-<%
- }
- }
-
- IdentifierBag busIdBag = (IdentifierBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
- if (busIdBag != null)
- {
- Vector keyedReferenceVector = busIdBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addIdentifierRow("findBusinessesAdvancedIdentifiers");
- setIdentifierRowSettings("findBusinessesAdvancedIdentifiers",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- CategoryBag busCatBag = (CategoryBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
- if (busCatBag != null)
- {
- Vector keyedReferenceVector = busCatBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addCategoryRow("findBusinessesAdvancedCategories");
- setCategoryRowSettings("findBusinessesAdvancedCategories",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- Vector busServiceInterfaces = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES);
- Vector busServiceInterfacesCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES_COPY);
- if (busServiceInterfaces != null)
- {
- if (busServiceInterfacesCopy == null)
- busServiceInterfacesCopy = new Vector();
- else
- busServiceInterfacesCopy.removeAllElements();
- for (int i=0;i<busServiceInterfaces.size();i++)
- {
- ListElement listElement = (ListElement)busServiceInterfaces.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES,i,UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES,false);
- TModel tModel = (TModel)listElement.getObject();
- busServiceInterfacesCopy.addElement(busServiceInterfaces.elementAt(i));
-%>
- addResultRow("findBusinessesAdvancedServiceInterfaces",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(tModel.getNameString())%>","<%=HTMLUtils.JSMangle(tModel.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES_COPY,busServiceInterfacesCopy);
- }
- else
- {
- busServiceInterfaces = new Vector();
- busServiceInterfacesCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES,busServiceInterfaces);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_SERVICE_INTERFACES_COPY,busServiceInterfacesCopy);
- }
-
- DiscoveryURLs busDiscoveryURLs = (DiscoveryURLs)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
- if (busDiscoveryURLs != null)
- {
- Vector discoveryURLVector = busDiscoveryURLs.getDiscoveryURLVector();
- for (int i=0;i<discoveryURLVector.size();i++)
- {
- DiscoveryURL discoveryURL = (DiscoveryURL)discoveryURLVector.elementAt(i);
-%>
- addDiscoveryURLRow("findBusinessesAdvancedDiscoveryURLs");
- setDiscoveryURLRowSettings("findBusinessesAdvancedDiscoveryURLs",<%=i%>,"<%=HTMLUtils.JSMangle(discoveryURL.getText())%>");
-<%
- }
- }
-
- FindQualifiers busFindQualifiers = (FindQualifiers)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_FINDQUALIFIERS);
- if (busFindQualifiers != null)
- {
- Vector findQualifierVector = busFindQualifiers.getFindQualifierVector();
- for (int i=0;i<findQualifierVector.size();i++)
- {
- FindQualifier findQualifier = (FindQualifier)findQualifierVector.elementAt(i);
-%>
- setFindQualifier("<%=HTMLUtils.JSMangle(findQualifier.getText())%>","findBusinessesAdvancedNames","findBusinessesAdvancedCategories","findBusinessesAdvancedFindQualifiers");
-<%
- }
- }
-%>
- setAdvancedCommonSectionDefaults(findBusinessesAdvancedForm,"<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_SEARCH_SET))%>","<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_MAX_RESULTS))%>");
-
- // UUID form details.
- var findBusinessesUUIDSection = document.getElementById(findBusinessesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_UUID%>]);
- var findBusinessesUUIDForm = findBusinessesUUIDSection.getElementsByTagName("form").item(0);
- findBusinessesUUIDForm.<%=UDDIActionInputs.QUERY_INPUT_UUID_KEY%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY))%>";
-
- showFindForm(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,<%=findBusinessesStyleIndex%>);
- }
-
- function setDefaultsForFindServicesForms()
- {
- // Initialize the findServices form.
-<%
- String findServicesStyleIndex = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICES);
-%>
- document.forms[styleForms[<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>]].<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>[<%=findServicesStyleIndex%>].checked = true;
- var findServicesSimpleSection = document.getElementById(findServicesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>]);
- var findServicesSimpleForm = findServicesSimpleSection.getElementsByTagName("form").item(0);
- findServicesSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME))%>";
-
- // Advanced form details.
- var findServicesAdvancedSection = document.getElementById(findServicesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>]);
- var findServicesAdvancedForm = findServicesAdvancedSection.getElementsByTagName("form").item(0);
- var isOwnedChecked = <%=(formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_OWNED) != null)%>;
- setAuthenticationSectionDefaults(findServicesAdvancedForm,<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,isOwnedChecked);
-<%
- Vector serviceBusiness = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- Vector serviceBusinessCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY);
- if (serviceBusiness != null)
- {
- if (serviceBusinessCopy == null)
- serviceBusinessCopy = new Vector();
- else
- serviceBusinessCopy.removeAllElements();
- for (int i=0;i<serviceBusiness.size();i++)
- {
- ListElement listElement = (ListElement)serviceBusiness.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS,i,UDDIActionInputs.QUERY_ITEM_BUSINESSES,false);
- BusinessEntity be = (BusinessEntity)listElement.getObject();
- serviceBusinessCopy.addElement(serviceBusiness.elementAt(i));
-%>
- addResultRow("findServicesAdvancedBusiness",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(be.getDefaultNameString())%>","<%=HTMLUtils.JSMangle(be.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- }
- else
- {
- serviceBusiness = new Vector();
- serviceBusinessCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS,serviceBusiness);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- }
-
- Vector serviceNameVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- if (serviceNameVector != null)
- {
- for (int i=0;i<serviceNameVector.size();i++)
- {
- Name name = (Name)serviceNameVector.elementAt(i);
-%>
- addLanguageInputRow("findServicesAdvancedNames","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_NAME_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("findServicesAdvancedNames",<%=i%>,"<%=HTMLUtils.JSMangle(name.getLang())%>","<%=HTMLUtils.JSMangle(name.getText())%>");
-<%
- }
- }
-
- CategoryBag serviceCatBag = (CategoryBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
- if (serviceCatBag != null)
- {
- Vector keyedReferenceVector = serviceCatBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addCategoryRow("findServicesAdvancedCategories");
- setCategoryRowSettings("findServicesAdvancedCategories",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- Vector serviceServiceInterfaces = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- Vector serviceServiceInterfacesCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY);
- if (serviceServiceInterfaces != null)
- {
- if (serviceServiceInterfacesCopy == null)
- serviceServiceInterfacesCopy = new Vector();
- else
- serviceServiceInterfacesCopy.removeAllElements();
- for (int i=0;i<serviceServiceInterfaces.size();i++)
- {
- ListElement listElement = (ListElement)serviceServiceInterfaces.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,i,UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES,false);
- TModel tModel = (TModel)listElement.getObject();
- serviceServiceInterfacesCopy.addElement(serviceServiceInterfaces.elementAt(i));
-%>
- addResultRow("findServicesAdvancedServiceInterfaces",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(tModel.getNameString())%>","<%=HTMLUtils.JSMangle(tModel.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY,serviceServiceInterfacesCopy);
- }
- else
- {
- serviceServiceInterfaces = new Vector();
- serviceServiceInterfacesCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,serviceServiceInterfaces);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY,serviceServiceInterfacesCopy);
- }
-
- FindQualifiers serviceFindQualifiers = (FindQualifiers)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_FINDQUALIFIERS);
- if (serviceFindQualifiers != null)
- {
- Vector findQualifierVector = serviceFindQualifiers.getFindQualifierVector();
- for (int i=0;i<findQualifierVector.size();i++)
- {
- FindQualifier findQualifier = (FindQualifier)findQualifierVector.elementAt(i);
-%>
- setFindQualifier("<%=HTMLUtils.JSMangle(findQualifier.getText())%>","findServicesAdvancedNames","findServicesAdvancedCategories","findServicesAdvancedFindQualifiers");
-<%
- }
- }
-%>
- setAdvancedCommonSectionDefaults(findServicesAdvancedForm,"<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_SEARCH_SET))%>","<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_MAX_RESULTS))%>");
-
- // UUID form details.
- var findServicesUUIDSection = document.getElementById(findServicesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_UUID%>]);
- var findServicesUUIDForm = findServicesUUIDSection.getElementsByTagName("form").item(0);
- findServicesUUIDForm.<%=UDDIActionInputs.QUERY_INPUT_UUID_KEY%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY))%>";
-
- showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,<%=findServicesStyleIndex%>);
- }
-
- function setDefaultsForFindServiceInterfacesForms()
- {
- // Initialize the findServiceInterfaces form.
-<%
- String findServiceInterfacesStyleIndex = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES);
-%>
- document.forms[styleForms[<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>]].<%=UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES%>[<%=findServiceInterfacesStyleIndex%>].checked = true;
- var findServiceInterfacesSimpleSection = document.getElementById(findServiceInterfacesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>]);
- var findServiceInterfacesSimpleForm = findServiceInterfacesSimpleSection.getElementsByTagName("form").item(0);
- findServiceInterfacesSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME))%>";
-
- // Advanced form details.
- var findServiceInterfacesAdvancedSection = document.getElementById(findServiceInterfacesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>]);
- var findServiceInterfacesAdvancedForm = findServiceInterfacesAdvancedSection.getElementsByTagName("form").item(0);
-
- var isOwnedChecked = <%=(formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_OWNED) != null)%>;
- setAuthenticationSectionDefaults(findServiceInterfacesAdvancedForm,<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,isOwnedChecked);
- var isUseServiceChecked = <%=(formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE) != null)%>;
- findServiceInterfacesAdvancedForm.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE%>.checked = isUseServiceChecked;
- toggleFindServiceInterfacesAdvancedServiceParameters(findServiceInterfacesAdvancedForm);
- findServiceInterfacesAdvancedForm.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME))%>";
-
-<%
- Vector siService = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE);
- Vector siServiceCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE_COPY);
- if (siService != null)
- {
- if (siServiceCopy == null)
- siServiceCopy = new Vector();
- else
- siServiceCopy.removeAllElements();
- for (int i=0;i<siService.size();i++)
- {
- ListElement listElement = (ListElement)siService.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE,i,UDDIActionInputs.QUERY_ITEM_SERVICES,false);
- BusinessService bs = (BusinessService)listElement.getObject();
- siServiceCopy.addElement(siService.elementAt(i));
-%>
- addResultRow("findServiceInterfacesAdvancedService",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(bs.getDefaultNameString())%>","<%=HTMLUtils.JSMangle(bs.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE_COPY,siServiceCopy);
- }
- else
- {
- siService = new Vector();
- siServiceCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE,siService);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE_COPY,siServiceCopy);
- }
-
- IdentifierBag siIdBag = (IdentifierBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
- if (siIdBag != null)
- {
- Vector keyedReferenceVector = siIdBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addIdentifierRow("findServiceInterfacesAdvancedIdentifiers");
- setIdentifierRowSettings("findServiceInterfacesAdvancedIdentifiers",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- CategoryBag siCatBag = (CategoryBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
- if (siCatBag != null)
- {
- Vector keyedReferenceVector = siCatBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addCategoryRow("findServiceInterfacesAdvancedCategories");
- setCategoryRowSettings("findServiceInterfacesAdvancedCategories",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- FindQualifiers siFindQualifiers = (FindQualifiers)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_FINDQUALIFIERS);
- if (siFindQualifiers != null)
- {
- Vector findQualifierVector = siFindQualifiers.getFindQualifierVector();
- for (int i=0;i<findQualifierVector.size();i++)
- {
- FindQualifier findQualifier = (FindQualifier)findQualifierVector.elementAt(i);
-%>
- setFindQualifier("<%=HTMLUtils.JSMangle(findQualifier.getText())%>","findServiceInterfacesAdvancedName","findServiceInterfacesAdvancedCategories","findServiceInterfacesAdvancedFindQualifiers");
-<%
- }
- }
-%>
- setAdvancedCommonSectionDefaults(findServiceInterfacesAdvancedForm,"<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET))%>","<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS))%>");
-
- // UUID form details.
- var findServiceInterfacesUUIDSection = document.getElementById(findServiceInterfacesSectionIds[<%=UDDIActionInputs.QUERY_STYLE_UUID%>]);
- var findServiceInterfacesUUIDForm = findServiceInterfacesUUIDSection.getElementsByTagName("form").item(0);
- findServiceInterfacesUUIDForm.<%=UDDIActionInputs.QUERY_INPUT_UUID_KEY%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY))%>";
-
- showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,<%=findServiceInterfacesStyleIndex%>);
- }
-
- function showMainForm(searchForValueString)
- {
- closeAllUddiChildWindows();
- var queryInfoItemList = document.getElementById("queryInfoItemList");
- var searchForIndex = parseInt(searchForValueString);
- for (var i=0;i<sectionIds.length;i++)
- {
- if (i == searchForIndex)
- document.getElementById(sectionIds[i]).style.display = "";
- else
- document.getElementById(sectionIds[i]).style.display = "none";
- }
-<%
- if (subQueryKeyProperty.getSubQueryKey().length() < 1)
- {
-%>
- document.getElementById("queryInfoItemList").style.display = "";
-<%
- }
-%>
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
- function showFindForm(queryItemIndex,style)
- {
- closeAllUddiChildWindows();
- var findSectionIds;
- switch (queryItemIndex)
- {
- case <%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>:
- findSectionIds = findBusinessesSectionIds;
- break;
- case <%=UDDIActionInputs.QUERY_ITEM_SERVICES%>:
- findSectionIds = findServicesSectionIds;
- break;
- case <%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>:
- default:
- findSectionIds = findServiceInterfacesSectionIds;
- }
- for (var i=0;i<findSectionIds.length;i++)
- {
- if (i == style)
- document.getElementById(findSectionIds[i]).style.display = "";
- else
- document.getElementById(findSectionIds[i]).style.display = "none";
- }
- }
-
- function toggleAdvancedAuthenticationSection(queryItemIndex,isChecked)
- {
- if (isChecked && <%=!regElement.isLoggedIn()%>)
- document.getElementById(authenticationSectionIds[queryItemIndex]).style.display = "";
- else
- document.getElementById(authenticationSectionIds[queryItemIndex]).style.display = "none";
- }
-
- function toggleFindServiceInterfacesAdvancedServiceParameters(form)
- {
- var isUseServiceChecked = form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE%>.checked;
- var isOwnedChecked = form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED%>.checked;
- if (isUseServiceChecked)
- {
- document.getElementById("findServiceInterfacesAdvancedServiceSection").style.display = "";
- document.getElementById("findServiceInterfacesAdvancedOwned").style.display = "none";
- toggleAdvancedAuthenticationSection(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,false);
- document.getElementById("findServiceInterfacesAdvancedNameFindQualifiersSection").style.display = "none";
- document.getElementById("findServiceInterfacesAdvancedFindQualifiersSection").style.display = "none";
- }
- else
- {
- document.getElementById("findServiceInterfacesAdvancedServiceSection").style.display = "none";
- document.getElementById("findServiceInterfacesAdvancedOwned").style.display = "";
- toggleAdvancedAuthenticationSection(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,isOwnedChecked);
- document.getElementById("findServiceInterfacesAdvancedNameFindQualifiersSection").style.display = "";
- document.getElementById("findServiceInterfacesAdvancedFindQualifiersSection").style.display = "";
- }
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeAllUddiChildWindows()">
- <div id="contentborder">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String titleImagePath = "uddi/images/find_highlighted.gif";
- String title;
- String subQueryKey = subQueryKeyProperty.getSubQueryKey();
- if (subQueryKey != null && subQueryKey.length() > 0)
- {
- int queryItem = Integer.parseInt((String)formToolPI.getProperty(UDDIActionInputs.QUERY_ITEM));
- switch (queryItem)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- title = uddiPerspective.getMessage("ALT_SUBQUERY",uddiPerspective.getMessage("FORM_OPTION_BUSINESSES"));
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- title = uddiPerspective.getMessage("ALT_SUBQUERY",uddiPerspective.getMessage("FORM_OPTION_SERVICES"));
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- title = uddiPerspective.getMessage("ALT_SUBQUERY",uddiPerspective.getMessage("FORM_OPTION_SERVICE_INTERFACES"));
- }
- }
- else
- title = uddiPerspective.getMessage("ALT_FIND");
-%>
-<%@ include file="/uddi/forms/findformheader.inc" %>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=20 valign="bottom">
- <label for="queryName"><%=uddiPerspective.getMessage("FORM_LABEL_QUERY_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td> <input id="queryName" type="text" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(uddiPerspective.getMessage("DEFAULT_QUERY_NAME"))%>" class="textenter"> </td>
- </tr>
- </table>
- <div id="queryInfoItemList" style="display:none;">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" valign="middle" nowrap height=40>
- <label for="searchFor"><%=uddiPerspective.getMessage("FORM_LABEL_SEARCH_FOR")%></label>
- </td>
- <td valign="middle" nowrap height=40>
- <select id="searchFor" onChange="showMainForm(this.value)" class="selectlist">
- <option value="<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>"><%=uddiPerspective.getMessage("FORM_OPTION_BUSINESSES")%>
- <option value="<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>"><%=uddiPerspective.getMessage("FORM_OPTION_SERVICES")%>
- <option value="<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>"><%=uddiPerspective.getMessage("FORM_OPTION_SERVICE_INTERFACES")%>
- </select>
- </td>
- <td width="90%" height=40>&nbsp;</td>
- </tr>
- </table>
- </div>
- </div>
-<jsp:include page="/uddi/forms/RegFindBusinessesForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegFindServicesForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegFindServiceInterfacesForm.jsp" flush="true"/>
- </div>
-<script language="javascript">
- setDefaults();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesAdvancedForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesAdvancedForm.jsp
deleted file mode 100644
index 11bad2bd7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesAdvancedForm.jsp
+++ /dev/null
@@ -1,114 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode could be the registry or query nodes.
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="findServiceInterfacesAdvanced" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegFindServiceInterfacesAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processFindServiceInterfacesAdvancedForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_GET%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=20 valign="bottom"> <%=uddiPerspective.getMessage("FORM_LABEL_FIND_ADVANCED_DESC")%> </td>
- </tr>
- <tr>
- <td height=40 valign="bottom">
- <input type="checkbox" id="input_find_service_interface_advance_use_service" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_USE_SERVICE%>" onClick="toggleFindServiceInterfacesAdvancedServiceParameters(this.form)"><label for="input_find_service_interface_advance_use_service"><%=uddiPerspective.getMessage("FORM_LABEL_USE_SERVICE")%></label>
- </td>
- </tr>
- </table>
-<%
- String[] serviceSpecificInfo = {"FORM_LABEL_SERVICE",Boolean.FALSE.toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICES),"findServiceInterfacesAdvanced",UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServiceInterfacesAdvancedService");
- sectionHeaderInfo.setOtherProperties(serviceSpecificInfo);
-%>
-<div id="findServiceInterfacesAdvancedServiceSection" style="display:none;">
- <jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-</div>
- <div id="findServiceInterfacesAdvancedOwned">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=35 valign="bottom">
- <input type="checkbox" id="input_find_service_interface_advance_owned" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED%>" onClick="toggleAdvancedAuthenticationSection(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,this.checked)">
- <label for="input_find_service_interface_advance_owned"><%=uddiPerspective.getMessage("FORM_LABEL_OWNED")%></label>
- </td>
- </tr>
- </table>
- </div>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServiceInterfacesAdvancedAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
- <div id="findServiceInterfacesAdvancedName">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=40 valign="bottom">
- <label for="input_find_service_interface_advanced_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td><input type="text" id="input_find_service_interface_advanced_name" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME%>" class="textenter"></td>
- </tr>
- </table>
-<div id="findServiceInterfacesAdvancedNameFindQualifiersSection">
-<jsp:include page="/uddi/forms/names_findQualifiers_table.jsp" flush="true"/>
-</div>
- </div>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServiceInterfacesAdvancedIdentifiers");
-%>
-<jsp:include page="/uddi/forms/identifiers_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServiceInterfacesAdvancedCategories");
-%>
-<jsp:include page="/uddi/forms/categories_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServiceInterfacesAdvancedFindQualifiers");
-%>
-<div id="findServiceInterfacesAdvancedFindQualifiersSection">
-<jsp:include page="/uddi/forms/findQualifiers_table.jsp" flush="true"/>
-</div>
-<jsp:include page="/uddi/forms/advancedCommon_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesForm.jsp
deleted file mode 100644
index 59ed9c456..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesForm.jsp
+++ /dev/null
@@ -1,45 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="findServiceInterfaces" style="display:none;">
- <form name="findServiceInterfacesStyle">
- <table>
- <tr>
- <td> <%=uddiPerspective.getMessage("FORM_LABEL_SEARCH_TYPE")%> </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_find_service_interface_simple" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>)"><label for="radio_find_service_interface_simple"><%=uddiPerspective.getMessage("FORM_RADIO_SIMPLE")%></label>
- <input type="radio" id="radio_find_service_interface_advance" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>)"><label for="radio_find_service_interface_advance"><%=uddiPerspective.getMessage("FORM_RADIO_ADVANCED")%></label>
- <input type="radio" id="radio_find_service_interface_uuid" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,<%=UDDIActionInputs.QUERY_STYLE_UUID%>)"><label for="radio_find_service_interface_uuid"><%=uddiPerspective.getMessage("FORM_RADIO_UUID")%></label>
- </td>
- </tr>
- </table>
- </form>
-<jsp:include page="/uddi/forms/RegFindServiceInterfacesSimpleForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegFindServiceInterfacesAdvancedForm.jsp" flush="true"/>
-<%
- sectionHeaderInfo.setContainerId("findServiceInterfaceUUID");
- String[] otherProperties = {"uddi/actions/RegFindServiceInterfaceUUIDActionJSP.jsp",UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY,"FORM_LABEL_FIND_SERVICE_INTERFACE_UUID_DESC"};
- sectionHeaderInfo.setOtherProperties(otherProperties);
-%>
-<jsp:include page="/uddi/forms/RegFindUUIDForm.jsp" flush="true"/>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesSimpleForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesSimpleForm.jsp
deleted file mode 100644
index 635934bd3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServiceInterfacesSimpleForm.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode could be the registry or query nodes.
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="findServiceInterfacesSimple" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegFindServiceInterfacesSimpleActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_FIND_SERVICE_INTERFACES_SIMPLE_DESC")%>
- </td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="input_find_service_interfaces_simple_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td> <input type="text" id="input_find_service_interfaces_simple_name" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesAdvancedForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesAdvancedForm.jsp
deleted file mode 100644
index b6976a9d6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesAdvancedForm.jsp
+++ /dev/null
@@ -1,85 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="findServicesAdvanced">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegFindServicesAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processFindServicesAdvancedForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_GET%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>">
- <table width="90%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=20 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_FIND_ADVANCED_DESC")%>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=35 valign="bottom">
- <input type="checkbox" id="input_find_services_advance_owned" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED%>" onClick="toggleAdvancedAuthenticationSection(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,this.checked)">
- <label for="input_find_services_advance_owned"><%=uddiPerspective.getMessage("FORM_LABEL_OWNED")%></label>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServicesAdvancedAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<%
- String[] busSpecificInfo = {"FORM_LABEL_BUSINESS",Boolean.FALSE.toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES),"findServicesAdvanced",UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServicesAdvancedBusiness");
- sectionHeaderInfo.setOtherProperties(busSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServicesAdvancedNames");
- String[] nameSpecificInfo = {"FORM_LABEL_NAMES","FORM_LABEL_NAME",Boolean.FALSE.toString()};
- sectionHeaderInfo.setOtherProperties(nameSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServicesAdvancedCategories");
-%>
-<jsp:include page="/uddi/forms/categories_table.jsp" flush="true"/>
-<%
- String[] siSpecificInfo = {"FORM_LABEL_SERVICE_INTERFACES",Boolean.FALSE.toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES),"findServicesAdvanced",UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServicesAdvancedServiceInterfaces");
- sectionHeaderInfo.setOtherProperties(siSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("findServicesAdvancedFindQualifiers");
-%>
-<jsp:include page="/uddi/forms/findQualifiers_table.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/advancedCommon_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesForm.jsp
deleted file mode 100644
index f94f39345..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesForm.jsp
+++ /dev/null
@@ -1,47 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="findServices" style="display:none;">
- <form name="findServicesStyle">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_SEARCH_TYPE")%>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_find_service_simple" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>)"><label for="radio_find_service_simple"><%=uddiPerspective.getMessage("FORM_RADIO_SIMPLE")%></label>
- <input type="radio" id="radio_find_service_advance" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>)"><label for="radio_find_service_advance"><%=uddiPerspective.getMessage("FORM_RADIO_ADVANCED")%></label>
- <input type="radio" id="radio_find_service_uuid" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>" onClick="showFindForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,<%=UDDIActionInputs.QUERY_STYLE_UUID%>)"><label for="radio_find_service_uuid"><%=uddiPerspective.getMessage("FORM_RADIO_UUID")%></label>
- </td>
- </tr>
- </table>
- </form>
-<jsp:include page="/uddi/forms/RegFindServicesSimpleForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegFindServicesAdvancedForm.jsp" flush="true"/>
-<%
- sectionHeaderInfo.setContainerId("findServiceUUID");
- String[] otherProperties = {"uddi/actions/RegFindServiceUUIDActionJSP.jsp",UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY,"FORM_LABEL_FIND_SERVICE_UUID_DESC"};
- sectionHeaderInfo.setOtherProperties(otherProperties);
-%>
-<jsp:include page="/uddi/forms/RegFindUUIDForm.jsp" flush="true"/>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesSimpleForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesSimpleForm.jsp
deleted file mode 100644
index 40b72816b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindServicesSimpleForm.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode could be the registry or query nodes.
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="findServicesSimple" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegFindServicesSimpleActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_FIND_SERVICES_SIMPLE_DESC")%>
- </td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="input_find_services_simple_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td> <input type="text" id="input_find_services_simple_name" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindUUIDForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindUUIDForm.jsp
deleted file mode 100644
index ae39db2d9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegFindUUIDForm.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode could be the registry or query nodes.
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-
- String formContainerId = sectionHeaderInfo.getContainerId();
- String[] otherProperties = (String[])(sectionHeaderInfo.getOtherProperties());
- String actionLink = (String)otherProperties[0];
- String uuidEntryKey = (String)otherProperties[1];
- String descriptionKey = (String)otherProperties[2];
-%>
-<div id="<%=formContainerId%>" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext(actionLink))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_KEY%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage(descriptionKey)%>
- </td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="<%=(formContainerId+"_input_uuid_key")%>"><%=uddiPerspective.getMessage("FORM_LABEL_UUID_KEY")%></label>
-<%
- if (!formToolPI.isInputValid(uuidEntryKey))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td> <input type="text" id="<%=(formContainerId+"_input_uuid_key")%>" name="<%=UDDIActionInputs.QUERY_INPUT_UUID_KEY%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessAdvancedForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessAdvancedForm.jsp
deleted file mode 100644
index 0de1a93df..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessAdvancedForm.jsp
+++ /dev/null
@@ -1,74 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishBusinessAdvanced" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegPublishBusinessAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processPublishBusinessAdvancedForm(this)">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_BUSINESS_ADVANCED_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishBusinessAdvancedAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishBusinessAdvancedNames");
- String[] nameSpecificInfo = {"FORM_LABEL_NAMES","FORM_LABEL_NAME",String.valueOf(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES))};
- sectionHeaderInfo.setOtherProperties(nameSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishBusinessAdvancedDescriptions");
- String[] descSpecificInfo = {"FORM_LABEL_DESCRIPTIONS","FORM_LABEL_DESCRIPTION",String.valueOf(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS))};
- sectionHeaderInfo.setOtherProperties(descSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishBusinessAdvancedIdentifiers");
-%>
-<jsp:include page="/uddi/forms/identifiers_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishBusinessAdvancedCategories");
-%>
-<jsp:include page="/uddi/forms/categories_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishBusinessAdvancedDiscoveryURLs");
- sectionHeaderInfo.setOtherProperties(new Boolean(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS)));
-%>
-<jsp:include page="/uddi/forms/discoveryURLs_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessForm.jsp
deleted file mode 100644
index b7b30c127..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessForm.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="publishBusiness" style="display:none;">
- <form name="publishBusinessStyle">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_FORM")%>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_publish_business_simple" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_BUSINESSES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>)"><label for="radio_publish_business_simple"><%=uddiPerspective.getMessage("FORM_RADIO_SIMPLE")%></label>
- <input type="radio" id="radio_publish_business_advance" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_BUSINESSES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>)"><label for="radio_publish_business_advance"><%=uddiPerspective.getMessage("FORM_RADIO_ADVANCED")%></label>
- </td>
- </tr>
- </table>
- </form>
-<jsp:include page="/uddi/forms/RegPublishBusinessSimpleForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegPublishBusinessAdvancedForm.jsp" flush="true"/>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessSimpleForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessSimpleForm.jsp
deleted file mode 100644
index 9c193d599..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishBusinessSimpleForm.jsp
+++ /dev/null
@@ -1,71 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishBusinessSimple" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegPublishBusinessSimpleActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_BUSINESS_SIMPLE_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishBusinessSimpleAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=20 valign="bottom">
- <label for="input_publish_business_simple_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td> <input type="text" id="input_publish_business_simple_name" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME%>" class="textenter"> </td>
- </tr>
- <tr>
- <td class="labels">
- <label for="input_publish_business_simple_desc"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></label>
- </td>
- </tr>
- <tr>
- <td> <input type="text" id="input_publish_business_simple_desc" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishForm.jsp
deleted file mode 100644
index e9f1c03c8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishForm.jsp
+++ /dev/null
@@ -1,583 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.business.*,
- org.uddi4j.datatype.tmodel.TModel,
- org.uddi4j.datatype.*,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- // selectedNode must be a registry node.
- Node regNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(regNode.getCurrentToolManager().getSelectedTool());
-%>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request">
-<%
- String subQueryKey = (String)formTool.getProperty(UDDIActionInputs.SUBQUERY_KEY);
- subQueryKeyProperty.setSubQueryKey(subQueryKey);
-%>
-</jsp:useBean>
-<%
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_REGISTRY_PUBLISH")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/udditables.jsp" flush="true"/>
-<script language="javascript">
- var sectionIds = ["publishBusiness","publishService","publishServiceInterface"];
- var publishBusinessSectionIds = ["publishBusinessSimple","publishBusinessAdvanced"];
- var publishServiceSectionIds = ["publishServiceSimple","publishServiceAdvanced"];
- var publishServiceInterfaceSectionIds = ["publishServiceInterfaceSimple","publishServiceInterfaceAdvanced"];
- var styleForms = ["publishBusinessStyle","publishServiceStyle","publishServiceInterfaceStyle"];
-
- function processPublishBusinessAdvancedForm(form)
- {
- if (handleSubmit(form))
- {
- processLanguageInputTable("publishBusinessAdvancedNames","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processLanguageInputTable("publishBusinessAdvancedDescriptions","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processIdentifierTable("publishBusinessAdvancedIdentifiers",form);
- processCategoryTable("publishBusinessAdvancedCategories",form,false);
- processDiscoveryURLTable("publishBusinessAdvancedDiscoveryURLs",form);
- return true;
- }
- return false;
- }
-
- function processPublishServiceSimpleForm(form)
- {
- if (handleSubmit(form))
- {
- processResultTable("publishServiceSimpleBusiness","<%=UDDIActionInputs.NODEID_BUSINESS%>",form,false);
- return true;
- }
- return false;
- }
-
- function processPublishServiceAdvancedForm(form)
- {
- if (handleSubmit(form))
- {
- processResultTable("publishServiceAdvancedBusiness","<%=UDDIActionInputs.NODEID_BUSINESS%>",form,false);
- processResultTable("publishServiceAdvancedServiceInterface","<%=UDDIActionInputs.NODEID_SERVICE_INTERFACE%>",form,false);
- processLanguageInputTable("publishServiceAdvancedNames","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processLanguageInputTable("publishServiceAdvancedDescriptions","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processCategoryTable("publishServiceAdvancedCategories",form,false);
- return true;
- }
- return false;
- }
-
- function processPublishServiceInterfaceAdvancedForm(form)
- {
- if (handleSubmit(form))
- {
- processLanguageInputTable("publishServiceInterfaceAdvancedDescriptions","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processIdentifierTable("publishServiceInterfaceAdvancedIdentifiers",form);
- processCategoryTable("publishServiceInterfaceAdvancedCategories",form,false);
- return true;
- }
- return false;
- }
-
- function setDefaults()
- {
- var publish = document.getElementById("publish");
- publish.selectedIndex = <%=formToolPI.getProperty(UDDIActionInputs.QUERY_ITEM)%>;
- setDefaultsForPublishBusinessForms();
- setDefaultsForPublishServiceForms();
- setDefaultsForPublishServiceInterfaceForms();
-<%
- if (!regElement.isLoggedIn())
- {
-%>
- document.getElementById("publishBusinessSimpleAuthentication").style.display = "";
- document.getElementById("publishBusinessAdvancedAuthentication").style.display = "";
- document.getElementById("publishServiceSimpleAuthentication").style.display = "";
- document.getElementById("publishServiceAdvancedAuthentication").style.display = "";
- document.getElementById("publishServiceInterfaceSimpleAuthentication").style.display = "";
- document.getElementById("publishServiceInterfaceAdvancedAuthentication").style.display = "";
-<%
- }
-%>
- showMainForm(publish.value);
- }
-
- function setAuthenticationSectionDefaults(form)
- {
-<%
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- }
-
- function setDefaultsForPublishBusinessForms()
- {
- // Initialize the publishBusiness form.
-<%
- String publishBusinessStyleIndex = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_BUSINESSES);
-%>
- document.forms[styleForms[<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>]].<%=UDDIActionInputs.QUERY_STYLE_BUSINESSES%>[<%=publishBusinessStyleIndex%>].checked = true;
- var publishBusinessSimpleSection = document.getElementById(publishBusinessSectionIds[<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>]);
- var publishBusinessSimpleForm = publishBusinessSimpleSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishBusinessSimpleForm);
- publishBusinessSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_NAME))%>";
- publishBusinessSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_BUSINESS_DESCRIPTION))%>";
-
- // Advanced form details.
- var publishBusinessAdvancedSection = document.getElementById(publishBusinessSectionIds[<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>]);
- var publishBusinessAdvancedForm = publishBusinessAdvancedSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishBusinessAdvancedForm);
- var publishBusinessAdvancedNamesTable = getTable("publishBusinessAdvancedNames");
- var publishBusinessAdvancedDescriptionsTable = getTable("publishBusinessAdvancedDescriptions");
- var publishBusinessAdvancedDiscoveryURLsTable = getTable("publishBusinessAdvancedDiscoveryURLs");
-<%
- Vector busNameVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES);
- if (busNameVector != null)
- {
- for (int i=0;i<busNameVector.size();i++)
- {
- Name name = (Name)busNameVector.elementAt(i);
-%>
- addLanguageInputRow("publishBusinessAdvancedNames","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_NAME_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("publishBusinessAdvancedNames",<%=i%>,"<%=HTMLUtils.JSMangle(name.getLang())%>","<%=HTMLUtils.JSMangle(name.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_NAMES,i))
- {
-%>
- highlightErrantRow(publishBusinessAdvancedNamesTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-
- Vector busDescriptionVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS);
- if (busDescriptionVector != null)
- {
- for (int i=0;i<busDescriptionVector.size();i++)
- {
- Description description = (Description)busDescriptionVector.elementAt(i);
-%>
- addLanguageInputRow("publishBusinessAdvancedDescriptions","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("publishBusinessAdvancedDescriptions",<%=i%>,"<%=HTMLUtils.JSMangle(description.getLang())%>","<%=HTMLUtils.JSMangle(description.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DESCRIPTIONS,i))
- {
-%>
- highlightErrantRow(publishBusinessAdvancedDescriptionsTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-
- IdentifierBag busIdBag = (IdentifierBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_IDENTIFIERS);
- if (busIdBag != null)
- {
- Vector keyedReferenceVector = busIdBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addIdentifierRow("publishBusinessAdvancedIdentifiers");
- setIdentifierRowSettings("publishBusinessAdvancedIdentifiers",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- CategoryBag busCatBag = (CategoryBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_CATEGORIES);
- if (busCatBag != null)
- {
- Vector keyedReferenceVector = busCatBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addCategoryRow("publishBusinessAdvancedCategories");
- setCategoryRowSettings("publishBusinessAdvancedCategories",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- DiscoveryURLs discoveryURLs = (DiscoveryURLs)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS);
- if (discoveryURLs != null)
- {
- Vector discoveryURLVector = discoveryURLs.getDiscoveryURLVector();
- for (int i=0;i<discoveryURLVector.size();i++)
- {
- DiscoveryURL discoveryURL = (DiscoveryURL)discoveryURLVector.elementAt(i);
-%>
- addDiscoveryURLRow("publishBusinessAdvancedDiscoveryURLs");
- setDiscoveryURLRowSettings("publishBusinessAdvancedDiscoveryURLs",<%=i%>,"<%=HTMLUtils.JSMangle(discoveryURL.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_BUSINESS_DISCOVERYURLS,i))
- {
-%>
- highlightErrantRow(publishBusinessAdvancedDiscoveryURLsTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-%>
- showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>,<%=publishBusinessStyleIndex%>);
- }
-
- function setDefaultsForPublishServiceForms()
- {
-<%
- String publishServiceStyleIndex = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICES);
-%>
- document.forms[styleForms[<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>]].<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>[<%=publishServiceStyleIndex%>].checked = true;
- var publishServiceSimpleSection = document.getElementById(publishServiceSectionIds[<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>]);
- var publishServiceSimpleForm = publishServiceSimpleSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishServiceSimpleForm);
-<%
- Vector serviceBusiness = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS);
- Vector serviceBusinessCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS_COPY);
- if (serviceBusiness != null)
- {
- if (serviceBusinessCopy == null)
- serviceBusinessCopy = new Vector();
- else
- serviceBusinessCopy.removeAllElements();
- for (int i=0;i<serviceBusiness.size();i++)
- {
- ListElement listElement = (ListElement)serviceBusiness.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS,i,UDDIActionInputs.QUERY_ITEM_BUSINESSES,false);
- BusinessEntity be = (BusinessEntity)listElement.getObject();
- serviceBusinessCopy.addElement(serviceBusiness.elementAt(i));
-%>
- addResultRow("publishServiceSimpleBusiness",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(be.getDefaultNameString())%>","<%=HTMLUtils.JSMangle(be.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- }
- else
- {
- serviceBusiness = new Vector();
- serviceBusinessCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS,serviceBusiness);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- }
-%>
-<%
- Vector serviceInterfaces = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- Vector serviceInterfacesCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY);
- if (serviceInterfaces != null)
- {
- if (serviceInterfacesCopy == null)
- serviceInterfacesCopy = new Vector();
- else
- serviceInterfacesCopy.removeAllElements();
- for (int i=0;i<serviceInterfaces.size();i++)
- {
- ListElement listElement = (ListElement)serviceInterfaces.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,i,UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES,false);
- TModel tModel = (TModel)listElement.getObject();
- serviceInterfacesCopy.addElement(serviceInterfaces.elementAt(i));
-%>
- addResultRow("publishServiceAdvancedServiceInterface",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(tModel.getNameString())%>","<%=HTMLUtils.JSMangle(tModel.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY,serviceInterfacesCopy);
- }
- else
- {
- serviceInterfaces = new Vector();
- serviceInterfacesCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES,serviceInterfaces);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES_COPY,serviceInterfacesCopy);
- }
-%>
- publishServiceSimpleForm.<%=ActionInputs.QUERY_INPUT_WSDL_URL%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL))%>";
- publishServiceSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME))%>";
- publishServiceSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION))%>";
-
- // Advanced form details.
- var publishServiceAdvancedSection = document.getElementById(publishServiceSectionIds[<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>]);
- var publishServiceAdvancedForm = publishServiceAdvancedSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishServiceAdvancedForm);
- var publishServiceAdvancedNamesTable = getTable("publishServiceAdvancedNames");
- var publishServiceAdvancedDescriptionsTable = getTable("publishServiceAdvancedDescriptions");
-<%
- serviceBusiness = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- serviceBusinessCopy = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY);
- if (serviceBusiness != null)
- {
- if (serviceBusinessCopy == null)
- serviceBusinessCopy = new Vector();
- else
- serviceBusinessCopy.removeAllElements();
- for (int i=0;i<serviceBusiness.size();i++)
- {
- ListElement listElement = (ListElement)serviceBusiness.elementAt(i);
- int targetNodeId = listElement.getTargetNodeId();
- int targetToolId = listElement.getTargetToolId();
- int targetViewId = listElement.getTargetViewId();
- String url = SelectSubQueryItemAction.getActionLink(targetNodeId,targetToolId,targetViewId,subQueryKeyProperty.getSubQueryKey(),UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS,i,UDDIActionInputs.QUERY_ITEM_BUSINESSES,false);
- BusinessEntity be = (BusinessEntity)listElement.getObject();
- serviceBusinessCopy.addElement(serviceBusiness.elementAt(i));
-%>
- addResultRow("publishServiceAdvancedBusiness",<%=targetNodeId%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(be.getDefaultNameString())%>","<%=HTMLUtils.JSMangle(be.getDefaultDescriptionString())%>");
-<%
- }
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- }
- else
- {
- serviceBusiness = new Vector();
- serviceBusinessCopy = new Vector();
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS,serviceBusiness);
- formToolPI.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS_COPY,serviceBusinessCopy);
- }
-%>
- publishServiceAdvancedForm.<%=ActionInputs.QUERY_INPUT_WSDL_URL%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL))%>";
-<%
- Vector serviceNameVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- if (serviceNameVector != null)
- {
- for (int i=0;i<serviceNameVector.size();i++)
- {
- Name name = (Name)serviceNameVector.elementAt(i);
-%>
- addLanguageInputRow("publishServiceAdvancedNames","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_NAME_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("publishServiceAdvancedNames",<%=i%>,"<%=HTMLUtils.JSMangle(name.getLang())%>","<%=HTMLUtils.JSMangle(name.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i))
- {
-%>
- highlightErrantRow(publishServiceAdvancedNamesTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-
- Vector serviceDescriptionVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
- if (serviceDescriptionVector != null)
- {
- for (int i=0;i<serviceDescriptionVector.size();i++)
- {
- Description description = (Description)serviceDescriptionVector.elementAt(i);
-%>
- addLanguageInputRow("publishServiceAdvancedDescriptions","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("publishServiceAdvancedDescriptions",<%=i%>,"<%=HTMLUtils.JSMangle(description.getLang())%>","<%=HTMLUtils.JSMangle(description.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i))
- {
-%>
- highlightErrantRow(publishServiceAdvancedDescriptionsTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-
- CategoryBag serviceCatBag = (CategoryBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
- if (serviceCatBag != null)
- {
- Vector keyedReferenceVector = serviceCatBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addCategoryRow("publishServiceAdvancedCategories");
- setCategoryRowSettings("publishServiceAdvancedCategories",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-%>
- showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,<%=publishServiceStyleIndex%>);
- }
-
- function setDefaultsForPublishServiceInterfaceForms()
- {
-<%
- String publishServiceInterfaceStyleIndex = (String)formToolPI.getProperty(UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES);
-%>
- document.forms[styleForms[<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>]].<%=UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES%>[<%=publishServiceInterfaceStyleIndex%>].checked = true;
- var publishServiceInterfaceSimpleSection = document.getElementById(publishServiceInterfaceSectionIds[<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>]);
- var publishServiceInterfaceSimpleForm = publishServiceInterfaceSimpleSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishServiceInterfaceSimpleForm);
- publishServiceInterfaceSimpleForm.<%=ActionInputs.QUERY_INPUT_WSDL_URL%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL))%>";
- publishServiceInterfaceSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME))%>";
- publishServiceInterfaceSimpleForm.<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION))%>";
-
- // Advanced form details.
- var publishServiceInterfaceAdvancedSection = document.getElementById(publishServiceInterfaceSectionIds[<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>]);
- var publishServiceInterfaceAdvancedForm = publishServiceInterfaceAdvancedSection.getElementsByTagName("form").item(0);
- setAuthenticationSectionDefaults(publishServiceInterfaceAdvancedForm);
- publishServiceInterfaceAdvancedForm.<%=ActionInputs.QUERY_INPUT_WSDL_URL%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL))%>";
- publishServiceInterfaceAdvancedForm.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME%>.value = "<%=HTMLUtils.JSMangle((String)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME))%>";
- var publishServiceInterfaceAdvancedDescriptionsTable = getTable("publishServiceInterfaceAdvancedDescriptions");
-<%
- Vector siDescriptionVector = (Vector)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS);
- if (siDescriptionVector != null)
- {
- for (int i=0;i<siDescriptionVector.size();i++)
- {
- Description description = (Description)siDescriptionVector.elementAt(i);
-%>
- addLanguageInputRow("publishServiceInterfaceAdvancedDescriptions","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE"))%>");
- setLanguageInputRowSettings("publishServiceInterfaceAdvancedDescriptions",<%=i%>,"<%=HTMLUtils.JSMangle(description.getLang())%>","<%=HTMLUtils.JSMangle(description.getText())%>");
-<%
- if (!formToolPI.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i))
- {
-%>
- highlightErrantRow(publishServiceInterfaceAdvancedDescriptionsTable.rows[<%=i%>+numberOfHeaderRows],"errantrow");
-<%
- }
- }
- }
-
- IdentifierBag siIdBag = (IdentifierBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
- if (siIdBag != null)
- {
- Vector keyedReferenceVector = siIdBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addIdentifierRow("publishServiceInterfaceAdvancedIdentifiers");
- setIdentifierRowSettings("publishServiceInterfaceAdvancedIdentifiers",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- CategoryBag siCatBag = (CategoryBag)formToolPI.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
- if (siCatBag != null)
- {
- Vector keyedReferenceVector = siCatBag.getKeyedReferenceVector();
- for (int i=0;i<keyedReferenceVector.size();i++)
- {
- KeyedReference kr = (KeyedReference)keyedReferenceVector.elementAt(i);
-%>
- addCategoryRow("publishServiceInterfaceAdvancedCategories");
- setCategoryRowSettings("publishServiceInterfaceAdvancedCategories",<%=i%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-%>
- showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,<%=publishServiceInterfaceStyleIndex%>);
- }
-
- function showMainForm(publishValue)
- {
- closeAllUddiChildWindows();
- var publish = parseInt(publishValue);
- for (var i=0;i<sectionIds.length;i++)
- {
- if (i == publish)
- document.getElementById(sectionIds[i]).style.display = "";
- else
- document.getElementById(sectionIds[i]).style.display = "none";
- }
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
- function showPublishForm(queryItemIndex,style)
- {
- closeAllUddiChildWindows();
- var publishSectionIds;
- switch (queryItemIndex)
- {
- case <%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>:
- publishSectionIds = publishBusinessSectionIds;
- break;
- case <%=UDDIActionInputs.QUERY_ITEM_SERVICES%>:
- publishSectionIds = publishServiceSectionIds;
- break;
- case <%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>:
- default:
- publishSectionIds = publishServiceInterfaceSectionIds;
- break;
- }
- for (var i=0;i<publishSectionIds.length;i++)
- {
- if (i == style)
- document.getElementById(publishSectionIds[i]).style.display = "";
- else
- document.getElementById(publishSectionIds[i]).style.display = "none";
- }
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeAllUddiChildWindows()">
- <div id="contentborder">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String titleImagePath = "uddi/images/publish_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_PUBLISH");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" valign="middle" nowrap>
- <label for="publish"><%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH")%></label>
- </td>
- <td valign="middle" nowrap>
- <select id="publish" onChange="showMainForm(this.value)" class="selectlist">
- <option value="<%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>"><%=uddiPerspective.getMessage("FORM_OPTION_BUSINESS")%>
- <option value="<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>"><%=uddiPerspective.getMessage("FORM_OPTION_SERVICE")%>
- <option value="<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>"><%=uddiPerspective.getMessage("FORM_OPTION_SERVICE_INTERFACE")%>
- </select>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- </table>
- </div>
-<jsp:include page="/uddi/forms/RegPublishBusinessForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegPublishServiceForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegPublishServiceInterfaceForm.jsp" flush="true"/>
- </div>
-<script language="javascript">
- setDefaults();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceAdvancedForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceAdvancedForm.jsp
deleted file mode 100644
index bef6c0bce..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceAdvancedForm.jsp
+++ /dev/null
@@ -1,107 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishServiceAdvanced" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegPublishServiceAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processPublishServiceAdvancedForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_GET%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_SERVICE_ADVANCED_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<%
- boolean tableHasErrors = !formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS);
- String[] busSpecificInfo = {"FORM_LABEL_BUSINESS",(new Boolean(tableHasErrors)).toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES),"publishServiceAdvanced",UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedBusiness");
- sectionHeaderInfo.setOtherProperties(busSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td nowrap class="labels" height=30 valign="bottom">
- <label for="input_publish_service_advance_wsdl_url"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td nowrap height=30 valign="bottom">
- <a href="javascript:openWSDLBrowser('publishServiceAdvanced',<%=ActionInputs.WSDL_TYPE_SERVICE%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" id="input_publish_service_advance_wsdl_url" name="<%=ActionInputs.QUERY_INPUT_WSDL_URL%>" class="textenter">
- </td>
- </tr>
- </table>
-<%
- tableHasErrors = !formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES);
- String[] serviceInterfaceSpecificInfo = {"FORM_LABEL_SERVICE_INTERFACES",(new Boolean(tableHasErrors)).toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES),"publishServiceAdvanced",UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_SERVICE_INTERFACES};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedServiceInterface");
- sectionHeaderInfo.setOtherProperties(serviceInterfaceSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedNames");
- String[] nameSpecificInfo = {"FORM_LABEL_NAMES","FORM_LABEL_NAME",String.valueOf(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES))};
- sectionHeaderInfo.setOtherProperties(nameSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedDescriptions");
- String[] descSpecificInfo = {"FORM_LABEL_DESCRIPTIONS","FORM_LABEL_DESCRIPTION",String.valueOf(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS))};
- sectionHeaderInfo.setOtherProperties(descSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceAdvancedCategories");
-%>
-<jsp:include page="/uddi/forms/categories_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceForm.jsp
deleted file mode 100644
index 82a3ff540..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceForm.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="publishService" style="display:none;">
- <form name="publishServiceStyle">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_FORM")%>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_publish_service_simple" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>)"><label for="radio_publish_service_simple"><%=uddiPerspective.getMessage("FORM_RADIO_SIMPLE")%></label>
- <input type="radio" id="radio_publish_service_advance" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICES%>,<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>)"><label for="radio_publish_service_advance"><%=uddiPerspective.getMessage("FORM_RADIO_ADVANCED")%></label>
- </td>
- </tr>
- </table>
- </form>
-<jsp:include page="/uddi/forms/RegPublishServiceSimpleForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegPublishServiceAdvancedForm.jsp" flush="true"/>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceAdvancedForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceAdvancedForm.jsp
deleted file mode 100644
index 24eca7835..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceAdvancedForm.jsp
+++ /dev/null
@@ -1,101 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishServiceInterfaceAdvanced" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegPublishServiceInterfaceAdvancedActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processPublishServiceInterfaceAdvancedForm(this)">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_SERVICE_INTERFACE_ADVANCED_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceInterfaceAdvancedAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td nowrap class="labels" height=30 valign="bottom">
- <label for="input_publish_service_interface_advance_wsdl_url"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td nowrap height=30 valign="bottom">
- <a href="javascript:openWSDLBrowser('publishServiceInterfaceAdvanced',<%=ActionInputs.WSDL_TYPE_SERVICE_INTERFACE%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" id="input_publish_service_interface_advance_wsdl_url" name="<%=ActionInputs.QUERY_INPUT_WSDL_URL%>" class="textenter">
- </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <label for="input_publish_service_interface_advance_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <tr>
- <td colspan=3> <input type="text" id="input_publish_service_interface_advance_name" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME%>" class="textenter"> </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceInterfaceAdvancedDescriptions");
- String[] descSpecificInfo = {"FORM_LABEL_DESCRIPTIONS","FORM_LABEL_DESCRIPTION",String.valueOf(!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS))};
- sectionHeaderInfo.setOtherProperties(descSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/languageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceInterfaceAdvancedIdentifiers");
-%>
-<jsp:include page="/uddi/forms/identifiers_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceInterfaceAdvancedCategories");
-%>
-<jsp:include page="/uddi/forms/categories_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceForm.jsp
deleted file mode 100644
index 9fa82cdde..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceForm.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<div id="publishServiceInterface" style="display:none;">
- <form name="publishServiceInterfaceStyle">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_FORM")%>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" id="radio_publish_service_interface_simple" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,<%=UDDIActionInputs.QUERY_STYLE_SIMPLE%>)"><label for="radio_publish_service_interface_simple"><%=uddiPerspective.getMessage("FORM_RADIO_SIMPLE")%></label>
- <input type="radio" id="radio_publish_service_interface_advance" class="radio" name="<%=UDDIActionInputs.QUERY_STYLE_SERVICE_INTERFACES%>" onClick="showPublishForm(<%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>,<%=UDDIActionInputs.QUERY_STYLE_ADVANCED%>)"><label for="radio_publish_service_interface_advance"><%=uddiPerspective.getMessage("FORM_RADIO_ADVANCED")%></label>
- </td>
- </tr>
- </table>
- </form>
-<jsp:include page="/uddi/forms/RegPublishServiceInterfaceSimpleForm.jsp" flush="true"/>
-<jsp:include page="/uddi/forms/RegPublishServiceInterfaceAdvancedForm.jsp" flush="true"/>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceSimpleForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceSimpleForm.jsp
deleted file mode 100644
index 85b06eb1a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceInterfaceSimpleForm.jsp
+++ /dev/null
@@ -1,92 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishServiceInterfaceSimple" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegPublishServiceInterfaceSimpleActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_SERVICE_INTERFACE_SIMPLE_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceInterfaceSimpleAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td nowrap class="labels" height=30 valign="bottom">
- <label for="input_publish_service_interface_simple_wsdl_url"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_WSDL_URL))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td nowrap height=30 valign="bottom">
- <a href="javascript:openWSDLBrowser('publishServiceInterfaceSimple',<%=ActionInputs.WSDL_TYPE_SERVICE_INTERFACE%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" id="input_publish_service_interface_simple_wsdl_url" name="<%=ActionInputs.QUERY_INPUT_WSDL_URL%>" class="textenter">
- </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <label for="input_publish_service_interface_simple_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <tr>
- <td colspan=3> <input type="text" id="input_publish_service_interface_simple_name" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_NAME%>" class="textenter"> </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <label for="input_publish_service_interface_simple_desc"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></label>
- </td>
- </tr>
- <tr>
- <td colspan=3> <input type="text" id="input_publish_service_interface_simple_desc" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_INTERFACE_DESCRIPTION%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceSimpleForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceSimpleForm.jsp
deleted file mode 100644
index aacaf1e47..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/RegPublishServiceSimpleForm.jsp
+++ /dev/null
@@ -1,103 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- FormToolPropertiesInterface formToolPI = ((MultipleFormToolPropertiesInterface)formTool).getFormToolProperties(subQueryKeyProperty.getSubQueryKey());
-%>
-<div id="publishServiceSimple" style="display:none;">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RegPublishServiceSimpleActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processPublishServiceSimpleForm(this)">
- <input type="hidden" name="<%=UDDIActionInputs.SUBQUERY_GET%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>">
- <input type="hidden" name="<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=10 valign="bottom">
- <%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_SERVICE_SIMPLE_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceSimpleAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<%
- boolean tableHasErrors = !formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS);
- String[] busSpecificInfo = {"FORM_LABEL_BUSINESS",(new Boolean(tableHasErrors)).toString(),String.valueOf(UDDIActionInputs.QUERY_ITEM_BUSINESSES),"publishServiceSimple",UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS};
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("publishServiceSimpleBusiness");
- sectionHeaderInfo.setOtherProperties(busSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/uddiObjects_table.jsp" flush="true"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td nowrap class="labels" height=30 valign="bottom">
- <label for="input_publish_service_simple_wsdl_url"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_WSDL_URL))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td nowrap height=30 valign="bottom">
- <a href="javascript:openWSDLBrowser('publishServiceSimple',<%=ActionInputs.WSDL_TYPE_SERVICE%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" id="input_publish_service_simple_wsdl_url" name="<%=ActionInputs.QUERY_INPUT_WSDL_URL%>" class="textenter">
- </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <label for="input_publish_service_simple_name"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></label>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <tr>
- <td colspan=3> <input type="text" id="input_publish_service_simple_name" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_NAME%>" class="textenter"> </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <label for="input_publish_service_simple_desc"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></label>
- </td>
- </tr>
- <tr>
- <td colspan=3> <input type="text" id="input_publish_service_simple_desc" name="<%=UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_DESCRIPTION%>" class="textenter"> </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ResultsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ResultsForm.jsp
deleted file mode 100644
index 4df0217cf..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ResultsForm.jsp
+++ /dev/null
@@ -1,176 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.business.*,
- org.uddi4j.datatype.service.*,
- org.uddi4j.datatype.tmodel.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<jsp:useBean id="subQueryTransferTargetHolder" class="java.util.Vector" scope="request">
-<%
- subQueryTransferTargetHolder.removeAllElements();
-%>
-</jsp:useBean>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager nodeManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement treeElement = selectedNode.getTreeElement();
- SubQueryTransferTarget subQueryTransferTarget = null;
- boolean hasTarget = false;
- if (treeElement instanceof QueryElement)
- {
- subQueryTransferTarget = (SubQueryTransferTarget)treeElement.getPropertyAsObject(UDDIModelConstants.SUBQUERY_TRANSFER_TARGET);
- if (subQueryTransferTarget != null && subQueryTransferTarget.getTargetFormTool() != null)
- {
- subQueryTransferTargetHolder.removeAllElements();
- subQueryTransferTargetHolder.addElement(subQueryTransferTarget);
- hasTarget = true;
- }
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_RESULTS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-<jsp:include page="/uddi/scripts/results.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
-<%
- Vector childNodes = selectedNode.getChildNodes();
- for (int i=0;i<childNodes.size();i++)
- {
- Node childNode = (Node)childNodes.elementAt(i);
- String url = SelectNavigatorNodeAction.getActionLink(childNode.getNodeId(),false);
- String name = null;
- String description = null;
- if (childNode instanceof BusinessNode)
- {
- BusinessElement busElement = (BusinessElement)childNode.getTreeElement();
- BusinessEntity be = busElement.getBusinessEntity();
- name = be.getDefaultNameString();
- description = be.getDefaultDescriptionString();
- }
- else if (childNode instanceof ServiceNode)
- {
- ServiceElement serviceElement = (ServiceElement)childNode.getTreeElement();
- BusinessService bs = serviceElement.getBusinessService();
- name = bs.getDefaultNameString();
- description = bs.getDefaultDescriptionString();
- }
- else if (childNode instanceof ServiceInterfaceNode)
- {
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)childNode.getTreeElement();
- TModel tModel = siElement.getTModel();
- name = tModel.getNameString();
- description = tModel.getDefaultDescriptionString();
- }
-%>
- addResultRow("Results",<%=childNode.getNodeId()%>,"<%=response.encodeURL(controller.getPathWithContext(url))%>","<%=HTMLUtils.JSMangle(name)%>","<%=HTMLUtils.JSMangle(description)%>");
-<%
- }
-%>
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<div id="content">
- <table id="loadScreen">
- <tr>
- <td>
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String title = uddiPerspective.getMessage("ALT_QUERY_RESULTS");
- String titleImagePath = "images/details_highlighted.gif";
-%>
-<%@ include file="/uddi/forms/resultsformheader.inc" %>
- <form target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" method="post" enctype="multipart/form-data" style="margin-top:10px;">
-<%
- sectionHeaderInfo.clear();
- String tableTitle;
- int itemType = Integer.parseInt(treeElement.getPropertyAsString(UDDIModelConstants.QUERY_TYPE));
- switch (itemType)
- {
- case UDDIActionInputs.QUERY_ITEM_BUSINESSES:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_BUSINESSES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICES:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_SERVICES");
- break;
- case UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES:
- default:
- tableTitle = uddiPerspective.getMessage("FORM_OPTION_SERVICE_INTERFACES");
- }
- String[] otherProperties = {tableTitle,""};
- sectionHeaderInfo.setContainerId("Results");
- sectionHeaderInfo.setOtherProperties(otherProperties);
-%>
-<jsp:include page="/uddi/forms/results_table.jsp" flush="true"/>
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
-<%
- if (hasTarget)
- {
-%>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_TRANSFER")%>" onClick="transferSelections('Results',this.form)" class="button">
- </td>
-<%
- }
-%>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_REFRESH")%>" onClick="refreshSelections('Results',this.form)" class="button">
- </td>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_ADD_TO_FAVORITES")%>" onClick="addSelectionsToFavorites('Results',this.form)" class="button">
- </td>
- <td height=40 align="bottom" nowrap>
- <input type="button" value="<%=uddiPerspective.getMessage("FORM_BUTTON_CLEAR")%>" onClick="clearSelections('Results',this.form)" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
- </form>
- </div>
-</div>
-</div>
-<script language="javascript">
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceDetailsForm.jsp
deleted file mode 100644
index 8efc51bcc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceDetailsForm.jsp
+++ /dev/null
@@ -1,278 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.*,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- FormTool formTool = (FormTool)(currentToolManager.getSelectedTool());
- ServiceElement serviceElement = (ServiceElement)selectedNode.getTreeElement();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(selectedNode);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_SERVICE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/detailstables.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
- var serviceDetailsWSDLURLTable = getTable("serviceDetailsWSDLURL");
- var serviceDetailsNamesTable = getTable("serviceDetailsNames");
- var serviceDetailsDescriptionsTable = getTable("serviceDetailsDescriptions");
-<%
- ListElement wsdlURLListElement = (ListElement)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- String wsdlURL = null;
- if (wsdlURLListElement == null)
- {
- try
- {
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- wsdlURL = uddi4jHelper.getWSDL(serviceElement.getBusinessService(), serviceElement.getRegistryElement().getProxy());
- uddi4jHelper.getWSDLDefinition(wsdlURL);
- if (wsdlURL == null)
- wsdlURL = "temp.wsdl";
- }
- catch (Throwable t)
- {
- wsdlURL = "";
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- }
- wsdlURLListElement = new ListElement(wsdlURL);
- wsdlURLListElement.setTargetViewToolInfo(-1,-1,0);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL,wsdlURLListElement);
- }
- else
- wsdlURL = (String)wsdlURLListElement.getObject();
- boolean isError = !formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL);
- boolean isNewItem = (wsdlURLListElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsSingleItemRow("serviceDetailsWSDLURL",<%=isError||isNewItem%>);
- setDetailsWSDLURLSingleItemRow("serviceDetailsWSDLURL",<%=UDDIActionInputs.WSDL_TYPE_SERVICE%>,"<%=HTMLUtils.JSMangle(wsdlURL)%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(serviceDetailsWSDLURLTable.rows[numberOfHeaderRows],"errantRow");
-<%
- }
-
- Vector nameIndexVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES);
- if (nameIndexVector != null)
- {
- for (int i=0;i<nameIndexVector.size();i++)
- {
- ListElement listElement = (ListElement)nameIndexVector.elementAt(i);
- Name name = (Name)listElement.getObject();
- isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES,i);
- isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsLanguageInputRow("serviceDetailsNames","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_NAME_TEXT_VALUE"))%>",<%=isError||isNewItem%>);
- setDetailsLanguageInputRow("serviceDetailsNames",<%=i%>,<%=listElement.getViewId()%>,"<%=name.getLang()%>","<%=HTMLUtils.JSMangle(name.getText())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(serviceDetailsNamesTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- Vector descriptionIndexVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS);
- if (descriptionIndexVector != null)
- {
- for (int i=0;i<descriptionIndexVector.size();i++)
- {
- ListElement listElement = (ListElement)descriptionIndexVector.elementAt(i);
- Description description = (Description)listElement.getObject();
- isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS,i);
- isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsLanguageInputRow("serviceDetailsDescriptions","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE"))%>",<%=isError||isNewItem%>);
- setDetailsLanguageInputRow("serviceDetailsDescriptions",<%=i%>,<%=listElement.getViewId()%>,"<%=description.getLang()%>","<%=HTMLUtils.JSMangle(description.getText())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(serviceDetailsDescriptionsTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- Vector catVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES);
- if (catVector != null)
- {
- for (int i=0;i<catVector.size();i++)
- {
- ListElement listElement = (ListElement)catVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_CATEGORIES,i);
- isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsCategoryRow("serviceDetailsCategories",<%=isError||isNewItem%>);
- setDetailsCategoryRow("serviceDetailsCategories",<%=i%>,<%=listElement.getViewId()%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- // Authentication.
- if (!regElement.isLoggedIn())
- {
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- document.getElementById("serviceDetailsAuthentication").style.display = "";
-<%
- }
-%>
-
- showMainForm();
- }
-
- function showMainForm()
- {
- closeAllUddiChildWindows();
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
- function processForm(form)
- {
- if (handleSubmit(form))
- {
- processDetailsSingleItemTable("serviceDetailsWSDLURL","<%=UDDIActionInputs.WSDL_URL_MODIFIED%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_WSDL_URL%>",form);
- processDetailsLanguageInputTable("serviceDetailsNames","<%=UDDIActionInputs.NAME_MODIFIED%>","<%=UDDIActionInputs.NAME_VIEWID%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_NAME%>",form);
- processDetailsLanguageInputTable("serviceDetailsDescriptions","<%=UDDIActionInputs.DESCRIPTION_MODIFIED%>","<%=UDDIActionInputs.DESCRIPTION_VIEWID%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processDetailsCategoryTable("serviceDetailsCategories",form);
- return true;
- }
- return false;
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeAllUddiChildWindows()">
- <div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UpdateServiceActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String titleImagePath = "images/details_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_SERVICE_DETAILS");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY%>" value="<%=formTool.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_BUSINESS_KEY)%>">
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY%>" value="<%=formTool.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY)%>">
- <table>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_DETAILS_EDITABLE",selectedNode.getNodeName())%>
- </td>
- </tr>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=uddiPerspective.getMessage("FORM_LABEL_SERVICE_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=formTool.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_KEY)%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceDetailsWSDLURL");
- sectionHeaderInfo.setOtherProperties(controller.getMessage("FORM_LABEL_WSDL_URL"));
-%>
-<jsp:include page="/uddi/forms/detailsSingleItem_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceDetailsNames");
- String[] nameSpecificInfo = {"FORM_LABEL_NAMES","FORM_LABEL_NAME",String.valueOf(!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_NAMES))};
- sectionHeaderInfo.setOtherProperties(nameSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/detailsLanguageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceDetailsDescriptions");
- String[] descSpecificInfo = {"FORM_LABEL_DESCRIPTIONS","FORM_LABEL_DESCRIPTION",String.valueOf(!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_DESCRIPTIONS))};
- sectionHeaderInfo.setOtherProperties(descSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/detailsLanguageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceDetailsCategories");
-%>
-<jsp:include page="/uddi/forms/detailsCategories_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceDetailsAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </div>
- </form>
- </div>
-<script language="javascript">
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceInterfaceDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceInterfaceDetailsForm.jsp
deleted file mode 100644
index 31e38c08b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ServiceInterfaceDetailsForm.jsp
+++ /dev/null
@@ -1,292 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.*,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- FormTool formTool = (FormTool)(currentToolManager.getSelectedTool());
- ServiceInterfaceElement siElement = (ServiceInterfaceElement)selectedNode.getTreeElement();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(selectedNode);
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_SERVICE_INTERFACE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/detailstables.jsp" flush="true"/>
-<script language="javascript">
- function setDefaults()
- {
- var serviceInterfaceDetailsWSDLURLTable = getTable("serviceInterfaceDetailsWSDLURL");
- var serviceInterfaceDetailsNameTable = getTable("serviceInterfaceDetailsName");
- var serviceInterfaceDetailsDescriptionsTable = getTable("serviceInterfaceDetailsDescriptions");
- var serviceInterfaceDetailsIdentifiersTable = getTable("serviceInterfaceDetailsIdentifiers");
- var serviceInterfaceDetailsCategoriesTable = getTable("serviceInterfaceDetailsCategories");
-<%
- ListElement wsdlURLListElement = (ListElement)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- String wsdlURL = null;
- if (wsdlURLListElement == null)
- {
- try
- {
- Uddi4jHelper uddi4jHelper = new Uddi4jHelper();
- wsdlURL = uddi4jHelper.getWSDL(siElement.getTModel());
- uddi4jHelper.getWSDLDefinition(wsdlURL);
- if (wsdlURL == null)
- wsdlURL = "temp.wsdl";
- }
- catch (Throwable t)
- {
- wsdlURL = "";
- formTool.flagError(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- }
- wsdlURLListElement = new ListElement(wsdlURL);
- wsdlURLListElement.setTargetViewToolInfo(-1,-1,0);
- formTool.setProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL,wsdlURLListElement);
- }
- else
- wsdlURL = (String)wsdlURLListElement.getObject();
- boolean isError = !formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL);
- boolean isNewItem = (wsdlURLListElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsSingleItemRow("serviceInterfaceDetailsWSDLURL",<%=isError||isNewItem%>);
- setDetailsWSDLURLSingleItemRow("serviceInterfaceDetailsWSDLURL",<%=ActionInputs.WSDL_TYPE_SERVICE_INTERFACE%>,"<%=HTMLUtils.JSMangle(wsdlURL)%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(serviceInterfaceDetailsWSDLURLTable.rows[numberOfHeaderRows],"errantRow");
-<%
- }
-
- ListElement nameListElement = (ListElement)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- String name = (String)nameListElement.getObject();
- isError = !formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME);
- isNewItem = (nameListElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsSingleItemRow("serviceInterfaceDetailsName",<%=isError||isNewItem%>);
- setDetailsNameSingleItemRow("serviceInterfaceDetailsName","<%=HTMLUtils.JSMangle(name)%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(serviceInterfaceDetailsNameTable.rows[numberOfHeaderRows],"errantRow");
-<%
- }
-
- Vector descriptionIndexVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS);
- if (descriptionIndexVector != null)
- {
- for (int i=0;i<descriptionIndexVector.size();i++)
- {
- ListElement listElement = (ListElement)descriptionIndexVector.elementAt(i);
- Description description = (Description)listElement.getObject();
- isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS,i);
- isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsLanguageInputRow("serviceInterfaceDetailsDescriptions","<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE"))%>",<%=isError||isNewItem%>);
- setDetailsLanguageInputRow("serviceInterfaceDetailsDescriptions",<%=i%>,<%=listElement.getViewId()%>,"<%=description.getLang()%>","<%=HTMLUtils.JSMangle(description.getText())%>");
-<%
- if (isError)
- {
-%>
- highlightErrantRow(serviceInterfaceDetailsDescriptionsTable.rows[<%=i%>+numberOfHeaderRows],"errantRow");
-<%
- }
- }
- }
-
- Vector idVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS);
- if (idVector != null)
- {
- for (int i=0;i<idVector.size();i++)
- {
- ListElement listElement = (ListElement)idVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_IDENTIFIERS,i);
- isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsIdentifierRow("serviceInterfaceDetailsIdentifiers",<%=isError||isNewItem%>);
- setDetailsIdentifierRow("serviceInterfaceDetailsIdentifiers",<%=i%>,<%=listElement.getViewId()%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- Vector catVector = (Vector)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES);
- if (catVector != null)
- {
- for (int i=0;i<catVector.size();i++)
- {
- ListElement listElement = (ListElement)catVector.elementAt(i);
- KeyedReference kr = (KeyedReference)listElement.getObject();
- isError = !formTool.isRowInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_CATEGORIES,i);
- isNewItem = (listElement.getTargetViewId() == ActionInputs.VIEWID_DEFAULT);
-%>
- addDetailsCategoryRow("serviceInterfaceDetailsCategories",<%=isError||isNewItem%>);
- setDetailsCategoryRow("serviceInterfaceDetailsCategories",<%=i%>,<%=listElement.getViewId()%>,"<%=HTMLUtils.JSMangle(kr.getTModelKey())%>","<%=HTMLUtils.JSMangle(kr.getKeyName())%>","<%=HTMLUtils.JSMangle(kr.getKeyValue())%>");
-<%
- }
- }
-
- // Authentication.
- if (!regElement.isLoggedIn())
- {
- String publishURL = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL);
- String userId = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID);
- String password = (String)formTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD);
-%>
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle(publishURL)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle(userId)%>";
- document.forms[0].<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle(password)%>";
- document.getElementById("serviceInterfaceDetailsAuthentication").style.display = "";
-<%
- }
-%>
- showMainForm();
- }
-
- function showMainForm()
- {
- closeAllUddiChildWindows();
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-
- function processForm(form)
- {
- if (handleSubmit(form))
- {
- processDetailsSingleItemTable("serviceInterfaceDetailsWSDLURL","<%=UDDIActionInputs.WSDL_URL_MODIFIED%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_WSDL_URL%>",form);
- processDetailsSingleItemTable("serviceInterfaceDetailsName","<%=UDDIActionInputs.NAME_MODIFIED%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_NAME%>",form);
- processDetailsLanguageInputTable("serviceInterfaceDetailsDescriptions","<%=UDDIActionInputs.DESCRIPTION_MODIFIED%>","<%=UDDIActionInputs.DESCRIPTION_VIEWID%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION_LANGUAGE%>","<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DESCRIPTION%>",form);
- processDetailsIdentifierTable("serviceInterfaceDetailsIdentifiers",form);
- processDetailsCategoryTable("serviceInterfaceDetailsCategories",form);
- return true;
- }
- return false;
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeAllUddiChildWindows()">
- <div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UpdateServiceInterfaceActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return processForm(this)">
- <table id="loadScreen">
- <tr>
- <td class="labels">
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
-<%
- String titleImagePath = "images/details_highlighted.gif";
- String title = uddiPerspective.getMessage("ALT_SERVICE_INTERFACE_DETAILS");
-%>
-<%@ include file="/forms/formheader.inc" %>
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY%>" value="<%=formTool.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY)%>">
- <table>
- <tr>
- <td class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_DETAILS_EDITABLE",selectedNode.getNodeName())%>
- </td>
- </tr>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=uddiPerspective.getMessage("FORM_LABEL_SERVICE_INTERFACE_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=formTool.getProperty(UDDIActionInputs.QUERY_INPUT_UUID_SERVICE_INTERFACE_KEY)%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceInterfaceDetailsWSDLURL");
- sectionHeaderInfo.setOtherProperties(controller.getMessage("FORM_LABEL_WSDL_URL"));
-%>
-<jsp:include page="/uddi/forms/detailsSingleItem_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceInterfaceDetailsName");
- sectionHeaderInfo.setOtherProperties(uddiPerspective.getMessage("FORM_LABEL_NAME"));
-%>
-<jsp:include page="/uddi/forms/detailsSingleItem_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceInterfaceDetailsDescriptions");
- String[] descSpecificInfo = {"FORM_LABEL_DESCRIPTIONS","FORM_LABEL_DESCRIPTION",String.valueOf(!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_DESCRIPTIONS))};
- sectionHeaderInfo.setOtherProperties(descSpecificInfo);
-%>
-<jsp:include page="/uddi/forms/detailsLanguageInput_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceInterfaceDetailsIdentifiers");
-%>
-<jsp:include page="/uddi/forms/detailsIdentifiers_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceInterfaceDetailsCategories");
-%>
-<jsp:include page="/uddi/forms/detailsCategories_table.jsp" flush="true"/>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("serviceInterfaceDetailsAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </div>
- </form>
- </div>
-<script language="javascript">
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDIImportWSDLToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDIImportWSDLToWorkbenchForm.jsp
deleted file mode 100644
index 84228b292..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDIImportWSDLToWorkbenchForm.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request">
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- String wsdlURL;
- // selectedNode should be either a service or a service interface node.
- if (selectedNode instanceof ServiceNode)
- {
- ServiceNode serviceNode = (ServiceNode)selectedNode;
- wsdlURL = serviceNode.getWSDLURLFromDetailsTool();
- }
- else
- {
- ServiceInterfaceNode siNode = (ServiceInterfaceNode)selectedNode;
- wsdlURL = siNode.getWSDLURLFromDetailsTool();
- }
- formProperties.put("formActionLink","uddi/actions/UDDIImportWSDLToWorkbenchActionJSP.jsp");
- formProperties.put("wsdlURL",wsdlURL);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/ImportToWorkbenchForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDILaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDILaunchWebServiceWizardForm.jsp
deleted file mode 100644
index 5ffa252d4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UDDILaunchWebServiceWizardForm.jsp
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="formActionLink" class="java.lang.StringBuffer" scope="request">
-<%
- formActionLink.append("uddi/actions/UDDILaunchWebServiceWizardActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:include page="/forms/LaunchWebServiceWizardForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UnpublishForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UnpublishForm.jsp
deleted file mode 100644
index cd1db2c58..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/UnpublishForm.jsp
+++ /dev/null
@@ -1,90 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(navigatorManager.getSelectedNode());
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-
- FormTool unpublishTool = (FormTool)(navigatorManager.getSelectedNode().getCurrentToolManager().getSelectedTool());
-%>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FORM_TITLE_UNPUBLISH")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/udditables.jsp" flush="true"/>
-
-<script language="javascript">
- function setDefaults()
- {
-<%
- if (!regElement.isLoggedIn())
- {
-%>
- var authenticationSection = document.getElementById("unpublishAuthentication");
- authenticationSection.style.display = "";
- var form = document.forms[0];
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>.value = "<%=HTMLUtils.JSMangle((String)unpublishTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL))%>";
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>.value = "<%=HTMLUtils.JSMangle((String)unpublishTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID))%>";
- form.<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>.value = "<%=HTMLUtils.JSMangle((String)unpublishTool.getProperty(UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD))%>";
-<%
- }
-%>
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeAllUddiChildWindows()">
- <div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/UnpublishActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
-<%
- String titleImagePath = unpublishTool.getHighlightedImageLink();
- String title = unpublishTool.getAltText();
-%>
-<%@ include file="/forms/formheader.inc" %>
- <table>
- <tr>
- <td>
- <%=uddiPerspective.getMessage("FORM_LABEL_UNPUBLISH_DESC")%>
- </td>
- </tr>
- </table>
-<%
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("unpublishAuthentication");
-%>
-<jsp:include page="/uddi/forms/authentication_table.jsp" flush="true"/>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </div>
-<script language="javascript">
- setDefaults();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/advancedCommon_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/advancedCommon_table.jsp
deleted file mode 100644
index cbe853e40..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/advancedCommon_table.jsp
+++ /dev/null
@@ -1,63 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNode = navigatorManager.getSelectedNode();
- FormToolPropertiesInterface formToolPI = (FormToolPropertiesInterface)(selectedNode.getCurrentToolManager().getSelectedTool());
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td colspan=3 height=40 valign="bottom" align="left" class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_MAX_SEARCH_SET")%>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_SEARCH_SET))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET%>" class="smtextenter">
- </td>
- </tr>
- <tr>
- <td colspan=3 class="labels">
- <%=uddiPerspective.getMessage("FORM_LABEL_MAX_RESULTS")%>
-<%
- if (!formToolPI.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_MAX_RESULTS))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS%>" class="smtextenter">
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/authentication_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/authentication_table.jsp
deleted file mode 100644
index 6286f10da..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/authentication_table.jsp
+++ /dev/null
@@ -1,88 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.AbstractUDDIElement,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryKeyProperty" class="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.SubQueryKeyProperty" scope="request"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
-UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
-Node selectedNode = navigatorManager.getSelectedNode();
-TreeElement selectedElement = selectedNode.getTreeElement();
-FormTool formTool = (FormTool)(selectedNode.getCurrentToolManager().getSelectedTool());
-String tableContainerId = sectionHeaderInfo.getContainerId();
-String username = null;
-String password = null;
-if (selectedElement instanceof AbstractUDDIElement)
-{
- RegistryElement regElement = ((AbstractUDDIElement)selectedElement).getRegistryElement();
- username = regElement.getUserId();
- password = regElement.getCred();
-}
-if (username == null)
- username = "";
-if (password == null)
- password = "";
-%>
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="<%=tableContainerId+"_input_publish_url"%>"><%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_URL")%></label>
- <%
- if (!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL))
- {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- </tr>
- <tr>
- <td><input type="text" id="<%=tableContainerId+"_input_publish_url"%>" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>" class="textenter"></td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="<%=tableContainerId+"_input_user_id"%>"><%=uddiPerspective.getMessage("FORM_LABEL_USERID")%></label>
- <%
- if (!formTool.isInputValid(UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID))
- {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- </tr>
- <tr>
- <td><input type="text" id="<%=tableContainerId+"_input_user_id"%>" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(username)%>" class="textenter"></td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom"><label for="<%=tableContainerId+"_input_password"%>"><%=uddiPerspective.getMessage("FORM_LABEL_PASSWORD")%></td></label>
- </tr>
- <tr>
- <td><input type="password" id="<%=tableContainerId+"_input_password"%>" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(password)%>" class="textenter"></td>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/categories_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/categories_table.jsp
deleted file mode 100644
index 99fbee41d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/categories_table.jsp
+++ /dev/null
@@ -1,77 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.uddi4j.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_CATEGORIES")%></strong>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:addCategoryRow('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedCategoryRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_CATEGORY_TYPE")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_NAME")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_VALUE")%></th>
- <th class="headercolor"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- </tr>
- </table>
-<%
- if (tableContainerId.startsWith("findBusinesses"))
- {// condition to turn off for everything other than find by business searches.
-%>
- <table>
- <tr>
- <td height=30 valign="center">
- <label for="business_categories"><%=uddiPerspective.getMessage("FORM_LABEL_BUSINESS_CATEGORIES")%></label>
- </td>
- <td height=30 valign="center">
- <select id="business_categories" class="selectlist">
- <option><%=uddiPerspective.getMessage("FORM_OPTION_BUSINESSES_ONLY")%>
- <option value="<%=FindQualifier.serviceSubset%>"><%=uddiPerspective.getMessage("FORM_OPTION_SERVICES_ONLY")%>
- <option value="<%=FindQualifier.combineCategoryBags%>"><%=uddiPerspective.getMessage("FORM_OPTION_BOTH")%>
- </select>
- </td>
- </tr>
- </table>
-<%
- }
-%>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsCategories_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsCategories_table.jsp
deleted file mode 100644
index 0ca932776..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsCategories_table.jsp
+++ /dev/null
@@ -1,60 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_CATEGORIES")%></strong>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:addDetailsCategoryRow('<%=tableContainerId%>',true)"><%=uddiPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedDetailsCategoryRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:editSelectedDetailsCategoryRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_EDIT")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:cancelSelectedDetailsCategoryRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_CANCEL")%></a>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_CATEGORY_TYPE")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_NAME")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_VALUE")%></th>
- <th class="headercolor"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsDiscoveryURLs_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsDiscoveryURLs_table.jsp
deleted file mode 100644
index 1ff02eb2c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsDiscoveryURLs_table.jsp
+++ /dev/null
@@ -1,68 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- boolean hasErrors = ((Boolean)sectionHeaderInfo.getOtherProperties()).booleanValue();
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_DISCOVERYURLS")%></strong>
-<%
- if (hasErrors)
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:addDetailsDiscoveryURLRow('<%=tableContainerId%>',true)"><%=uddiPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedDetailsDiscoveryURLRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:editSelectedDetailsDiscoveryURLRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_EDIT")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:cancelSelectedDetailsDiscoveryURLRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_CANCEL")%></a>
- </td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_DISCOVERYURL")%></th>
- <th class="headercolor"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsIdentifiers_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsIdentifiers_table.jsp
deleted file mode 100644
index 08d8cde21..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsIdentifiers_table.jsp
+++ /dev/null
@@ -1,60 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_IDENTIFIERS")%></strong>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:addDetailsIdentifierRow('<%=tableContainerId%>',true)"><%=uddiPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedDetailsIdentifierRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:editSelectedDetailsIdentifierRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_EDIT")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:cancelSelectedDetailsIdentifierRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_CANCEL")%></a>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_IDENTIFIER_TYPE")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_NAME")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_VALUE")%></th>
- <th class="headercolor"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsLanguageInput_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsLanguageInput_table.jsp
deleted file mode 100644
index 594f2aa36..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsLanguageInput_table.jsp
+++ /dev/null
@@ -1,82 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- String[] otherProperties = (String[])sectionHeaderInfo.getOtherProperties();
- String[] titleKeys = {otherProperties[0],otherProperties[1]};
- boolean hasErrors = otherProperties[2].equals(Boolean.TRUE.toString());
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage(titleKeys[0])%></strong>
-<%
- if (hasErrors)
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
-<%
- String textControlTitleKey;
- if (titleKeys[0].equals("FORM_LABEL_NAMES"))
- textControlTitleKey = "FORM_CONTROL_TITLE_NAME_TEXT_VALUE";
- else
- textControlTitleKey = "FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE";
-%>
- <a href="javascript:addDetailsLanguageInputRow('<%=tableContainerId%>','<%=HTMLUtils.JSMangle(uddiPerspective.getMessage(textControlTitleKey))%>',true)"><%=uddiPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedDetailsLanguageInputRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:editSelectedDetailsLanguageInputRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_EDIT")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:cancelSelectedDetailsLanguageInputRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_CANCEL")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage(titleKeys[1])%></th>
- <th class="headercolor"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsSingleItem_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsSingleItem_table.jsp
deleted file mode 100644
index 41c7cff67..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/detailsSingleItem_table.jsp
+++ /dev/null
@@ -1,34 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- String itemHeader = (String)sectionHeaderInfo.getOtherProperties();
-%>
-<table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
-</table>
-<div id="<%=tableContainerId%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor"><%=itemHeader%></th>
- <th class="headercolor"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/discoveryURLs_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/discoveryURLs_table.jsp
deleted file mode 100644
index d0eebc6e4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/discoveryURLs_table.jsp
+++ /dev/null
@@ -1,62 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- boolean hasErrors = ((Boolean)sectionHeaderInfo.getOtherProperties()).booleanValue();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_DISCOVERYURLS")%></strong>
-<%
- if (hasErrors)
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:addDiscoveryURLRow('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_DISCOVERYURL")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findQualifiers_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findQualifiers_table.jsp
deleted file mode 100644
index d266ca4bc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findQualifiers_table.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.uddi4j.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels"><strong><%=uddiPerspective.getMessage("FORM_LABEL_FINDQUALIFIERS")%></strong></td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table>
- <tr>
- <td><label for="combine_keys"><%=uddiPerspective.getMessage("FORM_LABEL_COMBINE_KEYS")%></label></td>
- <td>
- <select id="combine_keys" class="selectlist">
- <option value="<%=FindQualifier.andAllKeys%>"><%=uddiPerspective.getMessage("FORM_OPTION_ANDALLKEYS")%>
- <option value="<%=FindQualifier.orAllKeys%>"><%=uddiPerspective.getMessage("FORM_OPTION_ORALLKEYS")%>
- <option value="<%=FindQualifier.orLikeKeys%>"><%=uddiPerspective.getMessage("FORM_OPTION_ORLIKEKEYS")%>
- </select>
- </td>
- </tr>
- <tr>
- <td><%=uddiPerspective.getMessage("FORM_LABEL_SORT_BY_NAME")%></td>
- <td>
- <input type="radio" id="advance_sort_by_name_asc" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SORT_BY_NAME%>" value="<%=FindQualifier.sortByNameAsc%>" checked><label for="advance_sort_by_name_asc"><%=uddiPerspective.getMessage("FORM_RADIO_SORT_ASC")%></label>
- <input type="radio" id="advance_sort_by_name_desc" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SORT_BY_NAME%>" value="<%=FindQualifier.sortByNameDesc%>"><label for="advance_sort_by_name_desc"><%=uddiPerspective.getMessage("FORM_RADIO_SORT_DESC")%></label>
- </td>
- </tr>
- <tr>
- <td><%=uddiPerspective.getMessage("FORM_LABEL_SORT_BY_DATE")%></td>
- <td>
- <input type="radio" id="advance_sort_by_date_asc" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SORT_BY_DATE%>" value="<%=FindQualifier.sortByDateAsc%>" checked><label for="advance_sort_by_date_asc"><%=uddiPerspective.getMessage("FORM_RADIO_SORT_ASC")%></label>
- <input type="radio" id="advance_sort_by_date_desc" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_SORT_BY_DATE%>" value="<%=FindQualifier.sortByDateDesc%>"><label for="advance_sort_by_date_desc"><%=uddiPerspective.getMessage("FORM_RADIO_SORT_DESC")%></label>
- </td>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findformheader.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findformheader.inc
deleted file mode 100644
index c3f901c02..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/findformheader.inc
+++ /dev/null
@@ -1,53 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <img src="<%=response.encodeURL(controller.getPathWithContext(titleImagePath))%>">
- <strong><%=title%></strong>
- </td>
- <td width="*">&nbsp;</td>
-<%
- int colspan = 2;
- if (subQueryKey != null && subQueryKey.length() > 0)
- {
- int nodeId = selectedNode.getNodeId();
- int toolId = formTool.getToolId();
- int viewId = selectedNode.getViewId();
- int viewToolId = selectedNode.getViewToolId();
- int count = 1;
-%>
- <td align="right">
- <a href="<%=response.encodeURL(controller.getPathWithContext(SelectFindToolAction.getActionLink(nodeId,toolId,viewId,viewToolId,"",false)))%>"><%=count%></a>
- </td>
-<%
- String currentSubQueryKey = subQueryKey;
- int separatorPos = -1;
- while ((separatorPos = currentSubQueryKey.indexOf(':')) != -1)
- {
- count++;
-%>
- <td align="right">
- <a href="<%=response.encodeURL(controller.getPathWithContext(SelectFindToolAction.getActionLink(nodeId,toolId,viewId,viewToolId,currentSubQueryKey.substring(0,separatorPos),false)))%>"><%=count%></a>
- </td>
-<%
- currentSubQueryKey = currentSubQueryKey.substring(separatorPos+1,currentSubQueryKey.length());
- }
- colspan += count;
- }
-%>
- </tr>
- <tr>
- <td height=20 colspan=<%=colspan%>> <img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"> </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/identifiers_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/identifiers_table.jsp
deleted file mode 100644
index 82995f4cd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/identifiers_table.jsp
+++ /dev/null
@@ -1,54 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_IDENTIFIERS")%></strong>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:addIdentifierRow('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_IDENTIFIER_TYPE")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_NAME")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_KEY_VALUE")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/languageInput_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/languageInput_table.jsp
deleted file mode 100644
index 0453210e2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/languageInput_table.jsp
+++ /dev/null
@@ -1,86 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- String[] otherProperties = (String[])sectionHeaderInfo.getOtherProperties();
- String[] titleKeys = {otherProperties[0],otherProperties[1]};
- boolean hasErrors = otherProperties[2].equals(Boolean.TRUE.toString());
- boolean isFind = tableContainerId.startsWith("find");
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage(titleKeys[0])%></strong>
-<%
- if (hasErrors)
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
-<%
- String textControlTitleKey;
- if (titleKeys[0].equals("FORM_LABEL_NAMES"))
- textControlTitleKey = "FORM_CONTROL_TITLE_NAME_TEXT_VALUE";
- else
- textControlTitleKey = "FORM_CONTROL_TITLE_DESCRIPTION_TEXT_VALUE";
-%>
- <a href="javascript:addLanguageInputRow('<%=tableContainerId%>','<%=HTMLUtils.JSMangle(uddiPerspective.getMessage(textControlTitleKey))%>')">
- <%=uddiPerspective.getMessage("FORM_LINK_ADD")%>
- </a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage(titleKeys[1])%></th>
- </tr>
- </table>
-<%
- if (isFind)
- {// condition to turn off when publishing to come.
-%>
-<jsp:include page="/uddi/forms/names_findQualifiers_table.jsp" flush="true"/>
-<%
- }
-%>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/login_authentication_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/login_authentication_table.jsp
deleted file mode 100644
index 12a8c5a85..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/login_authentication_table.jsp
+++ /dev/null
@@ -1,79 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 136449 brunssen@us.ibm.com - Vince Brunssen
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.AbstractUDDIElement,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.RegistryElement,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
-UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
-Node selectedNode = navigatorManager.getSelectedNode();
-TreeElement selectedElement = selectedNode.getTreeElement();
-
-RegistryElement regElement = ((AbstractUDDIElement)selectedElement).getRegistryElement();
-String username = regElement.getUserId();
-String password = regElement.getCred();
-String publishURL = regElement.getPublishURL();
-
-if (username == null) {
- username = "";
-}
-
-if (password == null) {
- password = "";
-}
-
-if (publishURL == null) {
- publishURL = "";
-}
-
-%>
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_OWNED%>" value="true"/>
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_NAME%>" value="Query Results"/>
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_SEARCH_SET%>" value="100"/>
- <input type="hidden" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_MAX_RESULTS%>" value="10"/>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label><%=uddiPerspective.getMessage("FORM_LABEL_PUBLISH_URL")%></label>
- </td>
- </tr>
- <tr>
- <td>
- <input type="text" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PUBLISH_URL%>" value="<%=publishURL%>" class="textenter"/>
- </td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label><%=uddiPerspective.getMessage("FORM_LABEL_USERID")%></label>
- </td>
- </tr>
- <tr>
- <td><input type="text" value="<%=username%>" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_USERID%>" class="textenter"/></td>
- </tr>
- <tr>
- <td class="labels" height=30 valign="bottom"><label><%=uddiPerspective.getMessage("FORM_LABEL_PASSWORD")%></label></td>
- </tr>
- <tr>
- <td><input type="password" value ="<%=password%>" name="<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_PASSWORD%>" class="textenter"/></td>
- </tr>
- </table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/names_findQualifiers_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/names_findQualifiers_table.jsp
deleted file mode 100644
index 43ee68b67..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/names_findQualifiers_table.jsp
+++ /dev/null
@@ -1,31 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.uddi4j.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<table>
- <tr>
- <td>
- <input type="checkbox" id="find_qualifier_exact_name_match" value="<%=FindQualifier.exactNameMatch%>"><label for="find_qualifier_exact_name_match"><%=uddiPerspective.getMessage("FORM_LABEL_EXACT_NAME_MATCH")%></label>
- </td>
- </tr>
- <tr>
- <td>
- <input type="checkbox" id="find_qualifier_case_sensitive_match" value="<%=FindQualifier.caseSensitiveMatch%>"><label for="find_qualifier_case_sensitive_match"><%=uddiPerspective.getMessage("FORM_LABEL_CASE_SENSITIVE_MATCH")%></label>
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/results_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/results_table.jsp
deleted file mode 100644
index 2db782e6c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/results_table.jsp
+++ /dev/null
@@ -1,52 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- String[] specificInfo = (String[])sectionHeaderInfo.getOtherProperties();
- String title = specificInfo[0];
- String parentContainerId = specificInfo[1];
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=title%></strong>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/resultsformheader.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/resultsformheader.inc
deleted file mode 100644
index b0370e28c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/resultsformheader.inc
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td align="left" nowrap>
- <img src="<%=response.encodeURL(controller.getPathWithContext(titleImagePath))%>">
- <strong><%=title%></strong>
- </td>
-<%
- int colspan = 1;
- if (hasTarget)
- {
- String returnLink = TransferSubQueryResultsAction.getActionLinkForReturn();
-%>
- <td nowrap width="*">&nbsp;</td>
- <td align="right" nowrap>
- <a href="<%=response.encodeURL(controller.getPathWithContext(returnLink))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=uddiPerspective.getMessage("FORM_LINK_TARGET")%></a>
- </td>
-<%
- colspan += 2;
- }
-%>
- </tr>
- <tr>
- <td height=20 colspan=<%=colspan%>> <img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"> </td>
- </tr>
- <tr>
- <td colspan=<%=colspan%>>
-<%
- if (hasTarget)
- {
-%>
-<%=uddiPerspective.getMessage("FORM_LABEL_SUBQUERY")%>
-<%
- }
-%>
-<%=uddiPerspective.getMessage("FORM_LABEL_QUERY")%>
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ud_categories_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ud_categories_table.jsp
deleted file mode 100644
index 0c31a7bcb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/ud_categories_table.jsp
+++ /dev/null
@@ -1,62 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.uddi4j.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage("FORM_LABEL_USER_DEFINED_CATEGORIES")%></strong>
- </td>
- <!--
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:editSelectedDetailsUserDefinedCategoryRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_EDIT")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:cancelSelectedDetailsUserDefinedCategoryRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_CANCEL")%></a>
- </td>
- -->
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:'';">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <!--
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- -->
- <th class="headercolor" width="15%"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></th>
- <!--
- <th class="headercolor" width="10%"><%=uddiPerspective.getMessage("FORM_LABEL_CHECKED")%></th>
- <th class="headercolor" width="70%"><%=uddiPerspective.getMessage("FORM_LABEL_FILE")%></th>
- <th class="headercolor" width="*"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- -->
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjectsPublisherAssertions_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjectsPublisherAssertions_table.jsp
deleted file mode 100644
index eeeffdfd7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjectsPublisherAssertions_table.jsp
+++ /dev/null
@@ -1,84 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.BusinessElement,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- String[] specificInfo = (String[])sectionHeaderInfo.getOtherProperties();
- String tableTitleKey = specificInfo[0];
- boolean hasErrors = specificInfo[1].equals(Boolean.TRUE.toString());
- String queryItemString = specificInfo[2];
- String parentContainerId = specificInfo[3];
- String transferTargetKey = specificInfo[4];
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage(tableTitleKey)%></strong>
-<%
- if (hasErrors)
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
-<%
- if (sectionHeaderInfo.isDynamic())
- {
-%>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:initiateSubQuery('<%=parentContainerId%>','<%=transferTargetKey%>',<%=queryItemString%>,true)"><%=uddiPerspective.getMessage("FORM_LINK_GET")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:initiateSubQuery('<%=parentContainerId%>','<%=transferTargetKey%>',<%=queryItemString%>,false)"><%=uddiPerspective.getMessage("FORM_LINK_FIND")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
-<%
- }
-%>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=((BusinessElement)uddiPerspective.getNavigatorManager().getSelectedNode().getTreeElement()).getBusinessEntity().getDefaultNameString()%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_DIRECTION")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_ASSERTION_TYPE")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjects_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjects_table.jsp
deleted file mode 100644
index f8a063658..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/forms/uddiObjects_table.jsp
+++ /dev/null
@@ -1,80 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- String[] specificInfo = (String[])sectionHeaderInfo.getOtherProperties();
- String tableTitleKey = specificInfo[0];
- boolean hasErrors = specificInfo[1].equals(Boolean.TRUE.toString());
- String queryItemString = specificInfo[2];
- String parentContainerId = specificInfo[3];
- String transferTargetKey = specificInfo[4];
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=uddiPerspective.getMessage(tableTitleKey)%></strong>
-<%
- if (hasErrors)
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
-<%
- if (sectionHeaderInfo.isDynamic())
- {
-%>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:initiateSubQuery('<%=parentContainerId%>','<%=transferTargetKey%>',<%=queryItemString%>,true)"><%=uddiPerspective.getMessage("FORM_LINK_GET")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:initiateSubQuery('<%=parentContainerId%>','<%=transferTargetKey%>',<%=queryItemString%>,false)"><%=uddiPerspective.getMessage("FORM_LINK_FIND")%></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <a href="javascript:removeSelectedRows('<%=tableContainerId%>')"><%=uddiPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
-<%
- }
-%>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerId%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_NAME")%></th>
- <th class="headercolor"><%=uddiPerspective.getMessage("FORM_LABEL_DESCRIPTION")%></th>
- </tr>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_enabled.gif
deleted file mode 100644
index 3afd94a2f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_highlighted.gif
deleted file mode 100644
index d3d6a778b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/business_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_enabled.gif
deleted file mode 100644
index a85c09742..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_highlighted.gif
deleted file mode 100644
index df3043ff2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_closed_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_open_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_open_highlighted.gif
deleted file mode 100644
index 6ad7cea3a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/businesses_open_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/category.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/category.gif
deleted file mode 100644
index 4514d7d21..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/category.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_enabled.gif
deleted file mode 100644
index 5c18d74c4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_highlighted.gif
deleted file mode 100644
index d540a01f4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/find_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_enabled.gif
deleted file mode 100644
index 875066b5f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_highlighted.gif
deleted file mode 100644
index 8d5699ce5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/open_registry_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_enabled.gif
deleted file mode 100644
index 3c4263cc5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_highlighted.gif
deleted file mode 100644
index 62cef1f31..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_enabled.gif
deleted file mode 100644
index 45894fde3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_highlighted.gif
deleted file mode 100644
index d45ea5cad..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publish_service_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_enabled.gif
deleted file mode 100644
index 1eff85563..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_highlighted.gif
deleted file mode 100644
index 54e992fd6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/publisher_assertions_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_enabled.gif
deleted file mode 100644
index 7737d7b85..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_highlighted.gif
deleted file mode 100644
index 9d5500cf0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_closed_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_open_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_open_highlighted.gif
deleted file mode 100644
index b6ca15439..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/queries_open_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/query.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/query.gif
deleted file mode 100644
index 0607660ac..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/query.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_enabled.gif
deleted file mode 100644
index 89d796f21..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_highlighted.gif
deleted file mode 100644
index 401506fe7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/referenced_services_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/registry.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/registry.gif
deleted file mode 100644
index 5b43cae7b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/registry.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/regstrycat_obj.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/regstrycat_obj.gif
deleted file mode 100644
index d37d59efc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/regstrycat_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_highlighted.gif
deleted file mode 100644
index 3a6714bf9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interface_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interface_highlighted.gif
deleted file mode 100644
index 21325ca77..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interface_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_enabled.gif
deleted file mode 100644
index fbe4a748d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_highlighted.gif
deleted file mode 100644
index 9bd9820d2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_closed_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_open_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_open_highlighted.gif
deleted file mode 100644
index 9afcc01e1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/service_interfaces_open_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_enabled.gif
deleted file mode 100644
index c398f6fc8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_highlighted.gif
deleted file mode 100644
index 5e6544f2d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_closed_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_enabled.gif
deleted file mode 100644
index 282b4c0c7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_highlighted.gif
deleted file mode 100644
index 8f860520f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/services_open_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish.gif
deleted file mode 100644
index b6922ac11..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_enabled.gif
deleted file mode 100644
index a25416492..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_highlighted.gif
deleted file mode 100644
index d730b0fee..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_bus_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_enabled.gif
deleted file mode 100644
index 4e4dd3c38..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_highlighted.gif
deleted file mode 100644
index 48bd83fb4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_enabled.gif
deleted file mode 100644
index 60eb1999e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_highlighted.gif
deleted file mode 100644
index 59713e2e5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/images/unpublish_service_interface_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_container.jsp
deleted file mode 100644
index ae8fbb029..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=UDDIFrameNames.NAVIGATOR_TOOLBAR%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/navigator_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=UDDIFrameNames.NAVIGATOR_CONTENT%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/navigator_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_content.jsp
deleted file mode 100644
index a472951f9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_content.jsp
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/treeview.css"))%>">
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/treeview.js"))%>">
- </script>
-</head>
-<%
- String selectedAnchorName = "";
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- int focusedNodeId = navigatorManager.getFocusedNodeId();
- String focusedAnchorName = String.valueOf(focusedNodeId);
- Node selectedNode = navigatorManager.getSelectedNode();
- if (selectedNode != null)
- {
- selectedAnchorName = selectedNode.getAnchorName();
- if (focusedNodeId == selectedNode.getNodeId())
- focusedAnchorName = selectedAnchorName;
- }
-%>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onLoad="self.location.hash='#<%=focusedAnchorName%>';setSelectedAnchorName('<%=selectedAnchorName%>')" class="contentbodymargin">
-<div id="treecontentborder">
-<%=navigatorManager.renderTreeView(response)%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_toolbar.jsp
deleted file mode 100644
index 41974bb0c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/navigator_toolbar.jsp
+++ /dev/null
@@ -1,66 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/uddi/scripts/uddiframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("uddi/actions/ResizeUDDIFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(UDDIFrameNames.NAVIGATOR_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/uddi/forms/ProcessUDDIFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/navigator.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (uddiPerspective.getPerspectiveContentFramesetCols().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- else
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_NAVIGATOR")%></td>
-<%
- String altRefresh = controller.getMessage("ALT_REFRESH");
- String altClear = controller.getMessage("ALT_CLEAR");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RefreshUDDINodeActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseup(this)" alt="<%=altRefresh%>" title="<%=altRefresh%>"></a></td>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("uddi/actions/ClearNavigatorNodeActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_container.jsp
deleted file mode 100644
index 12fbb5454..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=UDDIFrameNames.PROPERTIES_TOOLBAR%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/properties_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=UDDIFrameNames.PROPERTIES_CONTENT%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/properties_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_content.jsp
deleted file mode 100644
index 50237879a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_content.jsp
+++ /dev/null
@@ -1,76 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<%
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNavigatorNode = navigatorManager.getSelectedNode();
- if (selectedNavigatorNode != null)
- {
- ToolManager toolManager;
- if (selectedNavigatorNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNavigatorNode.getToolManager();
- else
- toolManager = selectedNavigatorNode.getViewToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- if (selectedTool != null && selectedTool.getToolType() != ToolTypes.ACTION)
- {
-%>
-<script language="javascript">
- location="<%=response.encodeURL(controller.getPathWithContext(selectedTool.getFormLink()))%>";
-</script>
-<%
- }
- else
- {
-%>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_ACTION_SELECTED")%>
- </td>
- </tr>
-</table>
-<%
- }
- }
- else
- {
-%>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_NODE_SELECTED")%>
- </td>
- </tr>
-</table>
-<%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_toolbar.jsp
deleted file mode 100644
index 7939ad13a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/properties_toolbar.jsp
+++ /dev/null
@@ -1,84 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/uddi/scripts/uddiframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("uddi/actions/ResizeUDDIFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(UDDIFrameNames.PROPERTIES_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/uddi/forms/ProcessUDDIFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/actions.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (uddiPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (uddiPerspective.getActionsContainerFramesetRows().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_ACTIONS")%></td>
-<%
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- Node selectedNavigatorNode = navigatorManager.getSelectedNode();
- if (selectedNavigatorNode != null)
- {
- ToolManager toolManager;
- if (selectedNavigatorNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNavigatorNode.getToolManager();
- else
- toolManager = selectedNavigatorNode.getViewToolManager();
- for (int i=0;i<toolManager.getNumberOfTools();i++)
- {
- Tool tool = (Tool)toolManager.getTool(i);
-%>
- <td valign="middle" align="center" width=25 height=25><%=tool.renderTool(response,controller)%></td>
-<%
- }
- }
-%>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/cbpanes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/cbpanes.jsp
deleted file mode 100644
index 8c2719827..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/cbpanes.jsp
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<script language="javascript">
- var categoryBrowserWindow = top;
- var categoryBrowserWindowWorkArea = top.frames["<%=UDDIFrameNames.CATEGORIES_WORKAREA%>"];
- var categoryBrowserWindowToolbar = categoryBrowserWindow.frames["<%=UDDIFrameNames.CATEGORIES_TOOLBAR%>"];
- var categoryBrowserWindowContent = categoryBrowserWindow.frames["<%=UDDIFrameNames.CATEGORIES_CONTENT%>"];
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/detailstables.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/detailstables.jsp
deleted file mode 100644
index 1fde370c9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/detailstables.jsp
+++ /dev/null
@@ -1,1550 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/uddi/scripts/udditables.jsp" flush="true"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- function addDetailsLanguageInputRow(tableContainerId,textControlTitle,hasError)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
- var column3 = document.createElement("td");
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column2.className = "tablecells";
- column2.width = "70%";
- column3.className = "tablecells";
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- column1.appendChild(createHiddenElement("","<%=ActionInputs.VIEWID_DEFAULT%>")); <%// viewId%>
- column1.appendChild(createHiddenElement("","")); <%// original language%>
- column1.appendChild(createHiddenElement("","")); <%// original text%>
- column1.appendChild(createHiddenElement("",textControlTitle)); <%// control title%>
- column1.appendChild(createHiddenElement("",hasError)); <%// mode%>
- if (hasError)
- {
- var languageSelect = document.createElement("select");
- languageSelect.className = "selectlist";
- populateLanguageSelect(languageSelect);
- column1.appendChild(languageSelect);
-
- var textInput = document.createElement("input");
- textInput.className = "tabletextenter";
- textInput.title = textControlTitle;
- column2.appendChild(textInput);
-
- addDetailsLanguageInputRowRemoveActionLink(tableContainerId,column3,table.rows.length);
- }
- else
- {
- column1.appendChild(document.createTextNode(""));
- column2.appendChild(document.createTextNode(""));
- addDetailsLanguageInputRowEditActionLink(tableContainerId,column3,table.rows.length);
- }
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- newRow.appendChild(column3);
-
- tableBody.appendChild(newRow);
- }
-
- function removeColumnChildren(column)
- {
- for (var i=0;i<column.childNodes.length;i++)
- {
- column.removeChild(column.childNodes[i]);
- i--;
- }
- }
-
- function addDetailsLanguageInputRowRemoveActionLink(tableContainerId,column,rowIndex)
- {
- var removeLink = document.createElement("a");
- setJSLinkRowTarget(removeLink,"removeDetailsLanguageInputRow",tableContainerId,rowIndex);
- removeLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_REMOVE"))%>"));
- column.appendChild(removeLink);
- }
-
- function addDetailsLanguageInputRowEditActionLink(tableContainerId,column,rowIndex)
- {
- var editLink = document.createElement("a");
- setJSLinkRowTarget(editLink,"editDetailsLanguageInputRow",tableContainerId,rowIndex);
- editLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_EDIT"))%>"));
- column.appendChild(editLink);
- }
-
- function addDetailsLanguageInputRowCancelActionLink(tableContainerId,column,rowIndex)
- {
- var cancelLink = document.createElement("a");
- setJSLinkRowTarget(cancelLink,"cancelDetailsLanguageInputRowEdit",tableContainerId,rowIndex);
- cancelLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_CANCEL"))%>"));
- column.appendChild(cancelLink);
- }
-
- function editDetailsLanguageInputRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
-
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
-
- var langId = column1.childNodes[1].value;
- var inputValue = column1.childNodes[2].value;
- var textControlTitle = column1.childNodes[3].value;
- var editable = (column1.childNodes[4].value == "true")
- if (editable)
- return;
- column1.childNodes[4].value = true;
- var column1Control = column1.childNodes[5];
-
- var languageSelect = document.createElement("select");
- populateLanguageSelect(languageSelect);
- column1.replaceChild(languageSelect,column1Control);
- languageSelect.className = "selectlist";
- setLanguageSelect(languageSelect,langId);
-
- var column2Control = column2.childNodes[0];
- var textInput = document.createElement("input");
- column2.replaceChild(textInput,column2Control);
- textInput.className = "tabletextenter";
- textInput.title = textControlTitle;
- textInput.value = inputValue;
-
- removeColumnChildren(column3);
- addDetailsLanguageInputRowCancelActionLink(tableContainerId,column3,rowIndex);
- }
-
- function setDetailsLanguageInputRow(tableContainerId,index,viewId,langId,inputValue)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+index];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- column1.childNodes[0].value = viewId;
- column1.childNodes[1].value = langId;
- column1.childNodes[2].value = inputValue;
- var editable = (column1.childNodes[4].value == "true");
- var column1Control = column1.childNodes[5];
- if (editable)
- setLanguageSelect(column1Control,langId);
- else
- {
- var tempSelect = document.createElement("select");
- populateLanguageSelect(tempSelect);
- var language = setLanguageSelect(tempSelect,langId);
- column1.replaceChild(document.createTextNode(getDefaultDisplayString(language)),column1Control);
- }
-
- var column2Control = column2.childNodes[0];
- if (editable)
- column2Control.value = inputValue;
- else
- column2.replaceChild(document.createTextNode(getDefaultDisplayString(inputValue)),column2Control)
- }
-
- function removeDetailsLanguageInputRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- table.deleteRow(rowIndex);
- fixDetailsLanguageInputRowLinks(tableContainerId);
- }
-
- function cancelDetailsLanguageInputRowEdit(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
-
- var viewId = column1.childNodes[0].value;
- var langId = column1.childNodes[1].value;
- var inputValue = column1.childNodes[2].value;
- var rowActionLinkHref = column3.childNodes[column3.childNodes.length-1].href;
- if (rowActionLinkHref.indexOf("javascript:cancel") != 0)
- return;
-
- column1.childNodes[4].value = false;
-
- var column1Control = column1.childNodes[5];
- var tempSelect = document.createElement("select");
- populateLanguageSelect(tempSelect);
- var language = setLanguageSelect(tempSelect,langId);
- column1.replaceChild(document.createTextNode(getDefaultDisplayString(language)),column1Control);
-
- var column2Control = column2.childNodes[0];
- column2.replaceChild(document.createTextNode(getDefaultDisplayString(inputValue)),column2Control);
-
- removeColumnChildren(column3);
- addDetailsLanguageInputRowEditActionLink(tableContainerId,column3,rowIndex);
- }
-
- function removeSelectedDetailsLanguageInputRows(tableContainerId)
- {
- removeSelectedRows(tableContainerId);
- fixDetailsLanguageInputRowLinks(tableContainerId);
- }
-
- function fixDetailsLanguageInputRowLinks(tableContainerId)
- {
- <%// Fix the links%>
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var row = table.rows[i];
- var columns = row.getElementsByTagName("td");
- var rowCheckbox = columns.item(0).getElementsByTagName("input").item(0);
-
- for (var j=1;j<columns.length;j++)
- {
- if (rowCheckbox.checked)
- columns.item(j).className = "rowcolor";
- else
- columns.item(j).className = "tablecells";
- }
-
- var column1 = columns.item(1);
- var column3 = columns.item(3);
- var link = column3.childNodes[column3.childNodes.length-1];
- var removeLink;
- if (link.href.indexOf("javascript:remove") == 0)
- removeLink = true;
- else
- removeLink = false;
-
- removeColumnChildren(column3);
- var editable = (column1.childNodes[4].value == "true");
- if (link.href.indexOf("javascript:remove") == 0)
- addDetailsLanguageInputRowRemoveActionLink(tableContainerId,column3,i);
- else if (link.href.indexOf("javascript:cancel") == 0)
- addDetailsLanguageInputRowCancelActionLink(tableContainerId,column3,i);
- else if (link.href.indexOf("javascript:edit") == 0)
- addDetailsLanguageInputRowEditActionLink(tableContainerId,column3,i);
- }
- }
-
- function editSelectedDetailsLanguageInputRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- editDetailsLanguageInputRow(tableContainerId,i);
- }
- }
-
- function cancelSelectedDetailsLanguageInputRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- cancelDetailsLanguageInputRowEdit(tableContainerId,i);
- }
- }
-
- function addDetailsIdentifierRow(tableContainerId,hasError)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
- var column3 = document.createElement("td");
- var column4 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column1.width = "10%";
- column2.className = "tablecells";
- column2.width = "40%";
- column3.className = "tablecells";
- column3.width = "40%";
- column4.className = "tablecells";
-
- column1.appendChild(createHiddenElement("","<%=ActionInputs.VIEWID_DEFAULT%>")); <%// viewId%>
- column1.appendChild(createHiddenElement("","")); <%// original key type%>
- column1.appendChild(createHiddenElement("","")); <%// original key name%>
- column1.appendChild(createHiddenElement("","")); <%// original key value%>
- column1.appendChild(createHiddenElement("",hasError)); <%// mode%>
-
- var identifierTypeSelect;
- var keyNameTextInput;
- if (hasError)
- {
- identifierTypeSelect = document.createElement("select");
- identifierTypeSelect.onchange = handleIdentifierChange;
- populateIdentifierTypeSelect(identifierTypeSelect);
- identifierTypeSelect.className = "selectlist";
- column1.appendChild(identifierTypeSelect);
-
- keyNameTextInput = document.createElement("input");
- keyNameTextInput.className = "tabletextenter";
- keyNameTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_IDENTIFIER_KEY_NAME")%>";
- column2.appendChild(keyNameTextInput);
-
- var keyValueTextInput = document.createElement("input");
- keyValueTextInput.className = "tabletextenter";
- keyValueTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_IDENTIFIER_KEY_VALUE")%>";
- column3.appendChild(keyValueTextInput);
- addDetailsIdentifierRowRemoveActionLink(tableContainerId,column4,table.rows.length);
- }
- else
- {
- column1.appendChild(document.createTextNode(""));
- column2.appendChild(document.createTextNode(""));
- column3.appendChild(document.createTextNode(""));
- addDetailsIdentifierRowEditActionLink(tableContainerId,column4,table.rows.length);
- }
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- newRow.appendChild(column3);
- newRow.appendChild(column4);
- tableBody.appendChild(newRow);
- if (hasError)
- keyNameTextInput.value = identifierTypeSelect.options[0].text;
- }
-
- function addDetailsIdentifierRowRemoveActionLink(tableContainerId,column,rowIndex)
- {
- var removeLink = document.createElement("a");
- setJSLinkRowTarget(removeLink,"removeDetailsIdentifierRow",tableContainerId,rowIndex);
- removeLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_REMOVE"))%>"));
- column.appendChild(removeLink);
- }
-
- function addDetailsIdentifierRowEditActionLink(tableContainerId,column,rowIndex)
- {
- var editLink = document.createElement("a");
- setJSLinkRowTarget(editLink,"editDetailsIdentifierRow",tableContainerId,rowIndex);
- editLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_EDIT"))%>"));
- column.appendChild(editLink);
- }
-
- function addDetailsIdentifierRowCancelActionLink(tableContainerId,column,rowIndex)
- {
- var cancelLink = document.createElement("a");
- setJSLinkRowTarget(cancelLink,"cancelDetailsIdentifierRowEdit",tableContainerId,rowIndex);
- cancelLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_CANCEL"))%>"));
- column.appendChild(cancelLink);
- }
-
- function editDetailsIdentifierRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
-
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
- var column4 = columns.item(4);
-
- var tModelKey = column1.childNodes[1].value
- var keyName = column1.childNodes[2].value;
- var keyValue = column1.childNodes[3].value;
- var editable = (column1.childNodes[4].value == "true")
- if (editable)
- return;
- column1.childNodes[4].value = true;
-
- var column1Control = column1.childNodes[5];
- var identifierTypeSelect = document.createElement("select");
- identifierTypeSelect.onchange = handleIdentifierChange;
- populateIdentifierTypeSelect(identifierTypeSelect);
- column1.replaceChild(identifierTypeSelect,column1Control);
- identifierTypeSelect.className = "selectlist";
- setTModelKeySelect(identifierTypeSelect,tModelKey);
-
- var column2Control = column2.childNodes[0];
- var keyNameTextInput = document.createElement("input");
- column2.replaceChild(keyNameTextInput,column2Control);
- keyNameTextInput.className = "tabletextenter";
- keyNameTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_IDENTIFIER_KEY_NAME")%>";
- keyNameTextInput.value = keyName;
-
- var column3Control = column3.childNodes[0];
- var keyValueTextInput = document.createElement("input");
- column3.replaceChild(keyValueTextInput,column3Control);
- keyValueTextInput.className = "tabletextenter";
- keyValueTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_IDENTIFIER_KEY_VALUE")%>";
- keyValueTextInput.value = keyValue;
-
- removeColumnChildren(column4);
-
- addDetailsIdentifierRowCancelActionLink(tableContainerId,column4,rowIndex);
- }
-
- function setDetailsIdentifierRow(tableContainerId,index,viewId,tModelKey,keyName,keyValue)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+index];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
- column1.childNodes[0].value = viewId;
- column1.childNodes[1].value = tModelKey;
- column1.childNodes[2].value = keyName;
- column1.childNodes[3].value = keyValue;
- var editable = (column1.childNodes[4].value == "true");
- var column1Control = column1.childNodes[5];
- if (editable)
- setTModelKeySelect(column1Control,tModelKey);
- else
- {
- var tempSelect = document.createElement("select");
- populateIdentifierTypeSelect(tempSelect);
- var tModelKeyValue = setTModelKeySelect(tempSelect,tModelKey);
- column1.replaceChild(document.createTextNode(tModelKeyValue),column1Control);
- }
-
- var column2Control = column2.childNodes[0];
- if (editable)
- column2Control.value = keyName;
- else
- column2.replaceChild(document.createTextNode(keyName),column2Control);
-
- var column3Control = column3.childNodes[0];
- if (editable)
- column3Control.value = keyValue;
- else
- column3.replaceChild(document.createTextNode(keyValue),column3Control);
- }
-
- function removeDetailsIdentifierRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- table.deleteRow(rowIndex);
- fixDetailsIdentifierRowLinks(tableContainerId);
- }
-
- function cancelDetailsIdentifierRowEdit(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
- var column4 = columns.item(4);
-
- var viewId = column1.childNodes[0].value;
- var tModelKey = column1.childNodes[1].value;
- var keyName = column1.childNodes[2].value;
- var keyValue = column1.childNodes[3].value;
- var rowActionLinkHref = column4.childNodes[column4.childNodes.length-1].href;
- if (rowActionLinkHref.indexOf("javascript:cancel") != 0)
- return;
- column1.childNodes[4].value = false;
-
- var column1Control = column1.childNodes[5];
- var tempSelect = document.createElement("select");
- populateIdentifierTypeSelect(tempSelect);
- var tModelKeyValue = setTModelKeySelect(tempSelect,tModelKey);
- column1.replaceChild(document.createTextNode(tModelKeyValue),column1Control);
-
- var column2Control = column2.childNodes[0];
- column2.replaceChild(document.createTextNode(keyName),column2Control);
-
- var column3Control = column3.childNodes[0];
- column3.replaceChild(document.createTextNode(keyValue),column3Control);
-
- removeColumnChildren(column4);
- addDetailsIdentifierRowEditActionLink(tableContainerId,column4,rowIndex);
- }
-
- function removeSelectedDetailsIdentifierRows(tableContainerId)
- {
- removeSelectedRows(tableContainerId);
- <%// Fix the links%>
- fixDetailsIdentifierRowLinks(tableContainerId);
- }
-
- function fixDetailsIdentifierRowLinks(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var row = table.rows[i];
- var columns = row.getElementsByTagName("td");
- var rowCheckbox = columns.item(0).getElementsByTagName("input").item(0);
- for (var j=1;j<columns.length;j++)
- {
- if (rowCheckbox.checked)
- columns.item(j).className = "rowcolor";
- else
- columns.item(j).className = "tablecells";
- }
- var column1 = columns.item(1);
- var viewId = column1.childNodes[0].value;
- var column4 = columns.item(4);
- var link = column4.childNodes[column4.childNodes.length-1];
- var removeLink;
- if (link.href.indexOf("javascript:remove") == 0)
- removeLink = true;
- else
- removeLink = false;
- removeColumnChildren(column4);
-
- if (link.href.indexOf("javascript:remove") == 0)
- addDetailsIdentifierRowRemoveActionLink(tableContainerId,column4,i);
- else if (link.href.indexOf("javascript:edit") == 0)
- addDetailsIdentifierRowEditActionLink(tableContainerId,column4,i);
- else if (link.href.indexOf("javascript:cancel") == 0)
- addDetailsIdentifierRowCancelActionLink(tableContainerId,column4,i);
- }
- }
-
- function editSelectedDetailsIdentifierRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- editDetailsIdentifierRow(tableContainerId,i);
- }
- }
-
- function cancelSelectedDetailsIdentifierRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- cancelDetailsIdentifierRowEdit(tableContainerId,i);
- }
- }
-
- function addDetailsCategoryRow(tableContainerId,hasError)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
- var column3 = document.createElement("td");
- var column4 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column1.width = "5%";
- column2.className = "tablecells";
- column2.width = "55%";
- column3.className = "tablecells";
- column3.width = "25%";
- column4.className = "tablecells";
-
- column1.appendChild(createHiddenElement("","<%=ActionInputs.VIEWID_DEFAULT%>")); <%// viewId%>
- column1.appendChild(createHiddenElement("","")); <%// original key type%>
- column1.appendChild(createHiddenElement("","")); <%// original key name%>
- column1.appendChild(createHiddenElement("","")); <%// original key value%>
- column1.appendChild(createHiddenElement("",hasError)); <%// mode%>
-
- if (hasError)
- {
- var categoryTypeSelect = document.createElement("select");
- populateCategoryTypeSelect(categoryTypeSelect);
- categoryTypeSelect.className = "selectlist";
- column1.appendChild(categoryTypeSelect);
-
- var keyNameTextInput = document.createElement("input");
- keyNameTextInput.className = "tabletextenter";
- keyNameTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_KEY_NAME")%>";
- column2.appendChild(keyNameTextInput);
-
- var keyValueTextInput = document.createElement("input");
- keyValueTextInput.className = "tabletextenter";
- keyValueTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_KEY_VALUE")%>";
- column3.appendChild(keyValueTextInput);
- addCategoryRowBrowseLink(tableContainerId,column4,table.rows.length);
- }
- else
- {
- column1.appendChild(document.createTextNode(""));
- column2.appendChild(document.createTextNode(""));
- column3.appendChild(document.createTextNode(""));
- addDetailsCategoryRowEditActionLink(tableContainerId,column4,table.rows.length);
- }
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- newRow.appendChild(column3);
- newRow.appendChild(column4);
- tableBody.appendChild(newRow);
- }
-
- function addDetailsCategoryRowCancelActionLink(tableContainerId,column,rowIndex)
- {
- var cancelLink = document.createElement("a");
- setJSLinkRowTarget(cancelLink,"cancelDetailsCategoryRowEdit",tableContainerId,rowIndex);
- cancelLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_CANCEL"))%>"));
- column.appendChild(cancelLink);
- }
-
- function addDetailsCategoryRowBrowseCancelActionLinks(tableContainerId,column,rowIndex)
- {
- addCategoryRowBrowseLink(tableContainerId,column,rowIndex);
- column.appendChild(document.createTextNode(" "));
- addDetailsCategoryRowCancelActionLink(tableContainerId,column,rowIndex);
- }
-
- function addDetailsCategoryRowEditActionLink(tableContainerId,column,rowIndex)
- {
- var editLink = document.createElement("a");
- setJSLinkRowTarget(editLink,"editDetailsCategoryRow",tableContainerId,rowIndex);
- editLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_EDIT"))%>"));
- column.appendChild(editLink);
- }
-
- function addDetailsCategoryRowRemoveActionLink(tableContainerId,column,rowIndex)
- {
- var removeLink = document.createElement("a");
- setJSLinkRowTarget(removeLink,"removeDetailsCategoryRow",tableContainerId,rowIndex);
- removeLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_REMOVE"))%>"));
- column.appendChild(removeLink);
- }
-
- function addDetailsCategoryRowBrowseRemoveActionLinks(tableContainerId,column,rowIndex)
- {
- addCategoryRowBrowseLink(tableContainerId,column,rowIndex);
- column.appendChild(document.createTextNode(" "));
- addDetailsCategoryRowRemoveActionLink(tableContainerId,column,rowIndex);
- }
-
- function editDetailsCategoryRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
-
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
- var column4 = columns.item(4);
-
- var tModelKey = column1.childNodes[1].value
- var keyName = column1.childNodes[2].value;
- var keyValue = column1.childNodes[3].value;
- var editable = (column1.childNodes[4].value == "true")
- if (editable)
- return;
- column1.childNodes[4].value = true;
-
- var column1Control = column1.childNodes[5];
- var categoryTypeSelect = document.createElement("select");
- populateCategoryTypeSelect(categoryTypeSelect);
- column1.replaceChild(categoryTypeSelect,column1Control);
- categoryTypeSelect.className = "selectlist";
- setTModelKeySelect(categoryTypeSelect,tModelKey);
-
- var column2Control = column2.childNodes[0];
- var keyNameTextInput = document.createElement("input");
- column2.replaceChild(keyNameTextInput,column2Control);
- keyNameTextInput.className = "tabletextenter";
- keyNameTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_KEY_NAME")%>";
- keyNameTextInput.value = keyName;
-
- var column3Control = column3.childNodes[0];
- var keyValueTextInput = document.createElement("input");
- column3.replaceChild(keyValueTextInput,column3Control);
- keyValueTextInput.className = "tabletextenter";
- keyValueTextInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_KEY_VALUE")%>";
- keyValueTextInput.value = keyValue;
-
- removeColumnChildren(column4);
-
- addDetailsCategoryRowBrowseCancelActionLinks(tableContainerId,column4,rowIndex);
- }
-
- function setDetailsCategoryRow(tableContainerId,index,viewId,tModelKey,keyName,keyValue)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+index];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
- column1.childNodes[0].value = viewId;
- column1.childNodes[1].value = tModelKey;
- column1.childNodes[2].value = keyName;
- column1.childNodes[3].value = keyValue;
- var editable = (column1.childNodes[4].value == "true");
-
- var column1Control = column1.childNodes[5];
- if (editable)
- setTModelKeySelect(column1Control,tModelKey);
- else
- {
- var tempSelect = document.createElement("select");
- populateCategoryTypeSelect(tempSelect);
- var tModelKeyValue = setTModelKeySelect(tempSelect,tModelKey);
- column1.replaceChild(document.createTextNode(tModelKeyValue),column1Control);
- }
-
- var column2Control = column2.childNodes[0];
- if (editable)
- column2Control.value = keyName;
- else
- column2.replaceChild(document.createTextNode(keyName),column2Control);
-
- var column3Control = column3.childNodes[0];
- if (editable)
- column3Control.value = keyValue;
- else
- column3.replaceChild(document.createTextNode(keyValue),column3Control);
- }
-
- function removeDetailsCategoryRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- table.deleteRow(rowIndex);
- fixDetailsCategoryRowLinks(tableContainerId);
- }
-
- function cancelDetailsCategoryRowEdit(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var column3 = columns.item(3);
- var column4 = columns.item(4);
-
- var viewId = column1.childNodes[0].value;
- var tModelKey = column1.childNodes[1].value;
- var keyName = column1.childNodes[2].value;
- var keyValue = column1.childNodes[3].value;
- var rowActionLinkHref = column4.childNodes[column4.childNodes.length-1].href;
- if (rowActionLinkHref.indexOf("javascript:cancel") != 0)
- return;
- column1.childNodes[4].value = false;
-
- var column1Control = column1.childNodes[5];
- var tempSelect = document.createElement("select");
- populateCategoryTypeSelect(tempSelect);
- var tModelKeyValue = setTModelKeySelect(tempSelect,tModelKey);
- column1.replaceChild(document.createTextNode(tModelKeyValue),column1Control);
-
- var column2Control = column2.childNodes[0];
- column2.replaceChild(document.createTextNode(keyName),column2Control);
-
- var column3Control = column3.childNodes[0];
- column3.replaceChild(document.createTextNode(keyValue),column3Control);
-
- removeColumnChildren(column4);
- addDetailsCategoryRowEditActionLink(tableContainerId,column4,rowIndex);
- if (rowIndex == targetCategoryRow)
- closeCategoryBrowser();
- }
-
- function removeSelectedDetailsCategoryRows(tableContainerId)
- {
- removeSelectedRows(tableContainerId);
- <%// Fix the links%>
- fixDetailsCategoryRowLinks(tableContainerId);
- }
-
- function fixDetailsCategoryRowLinks(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var row = table.rows[i];
- var columns = row.getElementsByTagName("td");
- var rowCheckbox = columns.item(0).getElementsByTagName("input").item(0);
- for (var j=1;j<columns.length;j++)
- {
- if (rowCheckbox.checked)
- columns.item(j).className = "rowcolor";
- else
- columns.item(j).className = "tablecells";
- }
- var column1 = columns.item(1);
- var viewId = column1.childNodes[0].value;
- var column4 = columns.item(4);
-<%
- // Browse, Remove
- // Browse, Cancel
- // Edit
- // Browse
-%>
- var lastLink = column4.childNodes[column4.childNodes.length-1];
- removeColumnChildren(column4);
- if (lastLink.href.indexOf("javascript:remove") == 0)
- addDetailsCategoryRowBrowseRemoveActionLinks(tableContainerId,column4,i);
- else if (lastLink.href.indexOf("javascript:cancel") == 0)
- addDetailsCategoryRowBrowseCancelActionLinks(tableContainerId,column4,i);
- else if (lastLink.href.indexOf("javascript:edit") == 0)
- addDetailsCategoryRowEditActionLink(tableContainerId,column4,i);
- else if (lastLink.href.indexOf("javascript:open") == 0)
- addCategoryRowBrowseLink(tableContainerId,column4,i);
- }
- }
-
- function editSelectedDetailsCategoryRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- editDetailsCategoryRow(tableContainerId,i);
- }
- }
-
- function cancelSelectedDetailsCategoryRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- cancelDetailsCategoryRowEdit(tableContainerId,i);
- }
- }
-
- function addDetailsUserDefinedCategoryRow(tableContainerId,tModelKey,categoryName,isChecked,fileName,hasError)
- {
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- //var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- //var column2 = document.createElement("td");
- //var column3 = document.createElement("td");
- //var column4 = document.createElement("td");
-
- //column0.className = "checkboxcells";
- column1.className = "tablecells";
- column1.width = "15%";
- //column2.className = "tablecells";
- //column2.width = "10%";
- //column3.className = "tablecells";
- //column3.width = "70%";
- //column4.className = "tablecells";
-
- //var rowCheckbox = createRowCheckbox();
- //column0.appendChild(rowCheckbox);
-
- //column1.appendChild(createHiddenElement("",fileName)); <%// original file name%>
- //column1.appendChild(createHiddenElement("",hasError)); <%// mode%>
- //column1.appendChild(createHiddenElement("",tModelKey)); <%// tModelKey%>
- column1.appendChild(document.createTextNode(categoryName));
-
- //column2.appendChild(document.createTextNode(isChecked));
-
- //if (hasError)
- //{
- // column3.appendChild(createHiddenElement("<%=UDDIActionInputs.CATEGORY_TMODEL_KEY%>",tModelKey));
- // var fileInput = document.createElement("input");
- // fileInput.setAttribute("name","<%=UDDIActionInputs.CATEGORY_FILENAME%>");
- // fileInput.setAttribute("type","file");
- // fileInput.title = "<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_FILE"))%>";
- // fileInput.className = "tablefilebrowse";
- // column3.appendChild(fileInput);
- // addDetailsUserDefinedCategoryRowCancelLink(tableContainerId,column4,table.rows.length);
- //}
- //else
- //{
- // column3.appendChild(document.createTextNode(fileName));
- // addDetailsUserDefinedCategoryRowEditLink(tableContainerId,column4,table.rows.length);
- //}
-
- //newRow.appendChild(column0);
- newRow.appendChild(column1);
- //newRow.appendChild(column2);
- //newRow.appendChild(column3);
- //newRow.appendChild(column4);
-
- tableBody.appendChild(newRow);
- }
-
- function addDetailsUserDefinedCategoryRowEditLink(tableContainerId,column,rowIndex)
- {
- var editLink = document.createElement("a");
- setJSLinkRowTarget(editLink,"editDetailsUserDefinedCategoryRow",tableContainerId,rowIndex);
- editLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_EDIT"))%>"));
- column.appendChild(editLink);
- }
-
- function editDetailsUserDefinedCategoryRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
-
- var column1 = columns.item(1);
- var column3 = columns.item(3);
- var column4 = columns.item(4);
-
- var editable = (column1.childNodes[1].value == "true");
- if (editable)
- return;
- var tModelKey = column1.childNodes[2].value;
- column1.childNodes[1].value = true;
-
- removeColumnChildren(column3);
- column3.appendChild(createHiddenElement("<%=UDDIActionInputs.CATEGORY_TMODEL_KEY%>",tModelKey));
- var fileInput = document.createElement("input");
- fileInput.setAttribute("name","<%=UDDIActionInputs.CATEGORY_FILENAME%>");
- fileInput.setAttribute("type","file");
- fileInput.title = "<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_FILE"))%>";
- fileInput.className = "tablefilebrowse";
- column3.appendChild(fileInput);
-
- removeColumnChildren(column4);
-
- addDetailsUserDefinedCategoryRowCancelLink(tableContainerId,column4,rowIndex);
- }
-
- function addDetailsUserDefinedCategoryRowCancelLink(tableContainerId,column,rowIndex)
- {
- var cancelLink = document.createElement("a");
- setJSLinkRowTarget(cancelLink,"cancelDetailsUserDefinedCategoryRowEdit",tableContainerId,rowIndex);
- cancelLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_CANCEL"))%>"));
- column.appendChild(cancelLink);
- }
-
- function cancelDetailsUserDefinedCategoryRowEdit(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
-
- var column1 = columns.item(1);
- var column3 = columns.item(3);
- var column4 = columns.item(4);
-
- var editable = (column1.childNodes[1].value == "true");
- if (!editable)
- return;
- column1.childNodes[1].value = false;
-
- removeColumnChildren(column3);
- column3.appendChild(document.createTextNode(column1.childNodes[0].value));
-
- removeColumnChildren(column4);
-
- addDetailsUserDefinedCategoryRowEditLink(tableContainerId,column4,rowIndex);
- }
-
- function editSelectedDetailsUserDefinedCategoryRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- editDetailsUserDefinedCategoryRow(tableContainerId,i);
- }
- }
-
- function cancelSelectedDetailsUserDefinedCategoryRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- cancelDetailsUserDefinedCategoryRowEdit(tableContainerId,i);
- }
- }
-
- function addDetailsDiscoveryURLRow(tableContainerId,hasError)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column1.width = "85%";
- column2.className = "tablecells";
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- column1.appendChild(createHiddenElement("","<%=ActionInputs.VIEWID_DEFAULT%>")); <%// viewId%>
- column1.appendChild(createHiddenElement("","")); <%// original Discovery URL%>
- column1.appendChild(createHiddenElement("",hasError)); <%// mode%>
- if (hasError)
- {
- var textInput = document.createElement("input");
- textInput.className = "tabletextenter";
- textInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_DISCOVERY_URL")%>";
- column1.appendChild(textInput);
- addDetailsDiscoveryURLRowRemoveActionLink(tableContainerId,column2,table.rows.length);
- }
- else
- {
- column1.appendChild(document.createTextNode(""));
- addDetailsDiscoveryURLRowEditActionLink(tableContainerId,column2,table.rows.length);
- }
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
-
- tableBody.appendChild(newRow);
- }
-
- function addDetailsDiscoveryURLRowRemoveActionLink(tableContainerId,column,rowIndex)
- {
- var removeLink = document.createElement("a");
- setJSLinkRowTarget(removeLink,"removeDetailsDiscoveryURLRow",tableContainerId,rowIndex);
- removeLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_REMOVE"))%>"));
- column.appendChild(removeLink);
- }
-
- function addDetailsDiscoveryURLRowEditActionLink(tableContainerId,column,rowIndex)
- {
- var editLink = document.createElement("a");
- setJSLinkRowTarget(editLink,"editDetailsDiscoveryURLRow",tableContainerId,rowIndex);
- editLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_EDIT"))%>"));
- column.appendChild(editLink);
- }
-
- function addDetailsDiscoveryURLRowCancelActionLink(tableContainerId,column,rowIndex)
- {
- var cancelLink = document.createElement("a");
- setJSLinkRowTarget(cancelLink,"cancelDetailsDiscoveryURLRowEdit",tableContainerId,rowIndex);
- cancelLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_CANCEL"))%>"));
- column.appendChild(cancelLink);
- }
-
- function editDetailsDiscoveryURLRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
-
- var column1 = columns.item(1);
- var column2 = columns.item(2);
-
- var discoveryURL = column1.childNodes[1].value;
- var editable = (column1.childNodes[2].value == "true")
- if (editable)
- return;
- column1.childNodes[2].value = true;
-
- var column1Control = column1.childNodes[3];
- var textInput = document.createElement("input");
- column1.replaceChild(textInput,column1Control);
- textInput.className = "tabletextenter";
- textInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_DISCOVERY_URL")%>";
- textInput.value = discoveryURL;
-
- removeColumnChildren(column2);
- addDetailsDiscoveryURLRowCancelActionLink(tableContainerId,column2,rowIndex);
- }
-
- function setDetailsDiscoveryURLRow(tableContainerId,index,viewId,discoveryURL)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+index];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- column1.childNodes[0].value = viewId;
- column1.childNodes[1].value = discoveryURL;
- var editable = (column1.childNodes[2].value == "true");
- var column1Control = column1.childNodes[3];
- if (editable)
- column1Control.value = discoveryURL;
- else
- column1.replaceChild(document.createTextNode(getDefaultDisplayString(discoveryURL)),column1Control);
- }
-
- function removeDetailsDiscoveryURLRow(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- table.deleteRow(rowIndex);
- fixDetailsDiscoveryURLRowLinks(tableContainerId);
- }
-
- function cancelDetailsDiscoveryURLRowEdit(tableContainerId,rowIndex)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[rowIndex];
- var columns = row.getElementsByTagName("td");
- var column1 = columns.item(1);
- var column2 = columns.item(2);
-
- var viewId = column1.childNodes[0].value;
- var discoveryURL = column1.childNodes[1].value;
- var rowActionLinkHref = column2.childNodes[column2.childNodes.length-1].href;
- if (rowActionLinkHref.indexOf("javascript:cancel") != 0)
- return;
-
- column1.childNodes[2].value = false;
-
- var column1Control = column1.childNodes[3];
- column1.replaceChild(document.createTextNode(getDefaultDisplayString(discoveryURL)),column1Control);
-
- removeColumnChildren(column2);
- addDetailsDiscoveryURLRowEditActionLink(tableContainerId,column2,rowIndex);
- }
-
- function removeSelectedDetailsDiscoveryURLRows(tableContainerId)
- {
- removeSelectedRows(tableContainerId);
- fixDetailsDiscoveryURLRowLinks(tableContainerId);
- }
-
- function fixDetailsDiscoveryURLRowLinks(tableContainerId)
- {
- <%// Fix the links%>
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var row = table.rows[i];
- var columns = row.getElementsByTagName("td");
- var rowCheckbox = columns.item(0).getElementsByTagName("input").item(0);
-
- for (var j=1;j<columns.length;j++)
- {
- if (rowCheckbox.checked)
- columns.item(j).className = "rowcolor";
- else
- columns.item(j).className = "tablecells";
- }
-
- var column1 = columns.item(1);
- var column2 = columns.item(2);
- var link = column2.childNodes[column2.childNodes.length-1];
- removeColumnChildren(column2);
- var editable = (column1.childNodes[2].value == "true");
- if (link.href.indexOf("javascript:remove") == 0)
- addDetailsDiscoveryURLRowRemoveActionLink(tableContainerId,column2,i);
- else if (link.href.indexOf("javascript:cancel") == 0)
- addDetailsDiscoveryURLRowCancelActionLink(tableContainerId,column2,i);
- else if (link.href.indexOf("javascript:edit") == 0)
- addDetailsDiscoveryURLRowEditActionLink(tableContainerId,column2,i);
- }
- }
-
- function editSelectedDetailsDiscoveryURLRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- editDetailsDiscoveryURLRow(tableContainerId,i);
- }
- }
-
- function cancelSelectedDetailsDiscoveryURLRows(tableContainerId)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- cancelDetailsDiscoveryURLRowEdit(tableContainerId,i);
- }
- }
-
- function addDetailsSingleItemRow(tableContainerId,hasError)
- {
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
-
- column0.className = "tablecells";
- column0.width = "90%";
- column1.className = "tablecells";
-
- column0.appendChild(createHiddenElement("","")); <%// item value%>
- column0.appendChild(createHiddenElement("",hasError)); <%// mode%>
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
-
- newRow.appendChild(column1);
- tableBody.appendChild(newRow);
- }
-
- function addDetailsWSDLURLSingleItemRowBrowseActionLink(tableContainerId,wsdlType,column)
- {
- var browseLink = document.createElement("a");
- browseLink.href = "javascript:openWSDLBrowser('contentborder',"+wsdlType+")";
- browseLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LINK_BROWSE"))%>"));
- column.appendChild(browseLink);
- }
-
- function addDetailsWSDLURLSingleItemRowBrowseCancelActionLinks(tableContainerId,wsdlType,column)
- {
- addDetailsWSDLURLSingleItemRowBrowseActionLink(tableContainerId,wsdlType,column);
- column.appendChild(document.createTextNode(" "));
- var cancelLink = document.createElement("a");
- cancelLink.href = "javascript:cancelDetailsWSDLURLSingleItemRowEdit('"+tableContainerId+"')";
- cancelLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_CANCEL"))%>"));
- column.appendChild(cancelLink);
- }
-
- function addDetailsWSDLURLSingleItemRowEditActionLink(tableContainerId,column)
- {
- var editLink = document.createElement("a");
- editLink.href = "javascript:editDetailsWSDLURLSingleItemRow('"+tableContainerId+"')";
- editLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_EDIT"))%>"));
- column.appendChild(editLink);
- }
-
- function cancelDetailsWSDLURLSingleItemRowEdit(tableContainerId)
- {
- var table = getTable(tableContainerId);
- var columns = table.rows[numberOfHeaderRows].getElementsByTagName("td");
- var column0 = columns.item(0);
- var column1 = columns.item(1);
-
- column0.childNodes[2].value = false;
-
- var column0Control = column0.childNodes[column0.childNodes.length-1];
- column0.replaceChild(document.createTextNode(getWSDLURLDisplay(column0.childNodes[0].value)),column0Control);
-
- removeColumnChildren(column1);
-
- addDetailsWSDLURLSingleItemRowEditActionLink(tableContainerId,column1);
- }
-
- function editDetailsWSDLURLSingleItemRow(tableContainerId)
- {
- var table = getTable(tableContainerId);
- var columns = table.rows[numberOfHeaderRows].getElementsByTagName("td");
- var column0 = columns.item(0);
- var column1 = columns.item(1);
-
- var wsdlType = column0.childNodes[1].value;
- column0.childNodes[2].value = true;
-
- var column0Control = column0.childNodes[column0.childNodes.length-1];
- var wsdlURLEditControl = createWSDLURLEditControl();
- column0.replaceChild(wsdlURLEditControl,column0Control);
- wsdlURLEditControl.className = "tabletextenter";
- wsdlURLEditControl.value = getWSDLURLDisplay(column0.childNodes[0].value);
-
- removeColumnChildren(column1);
-
- addDetailsWSDLURLSingleItemRowBrowseCancelActionLinks(tableContainerId,wsdlType,column1);
- }
-
- function createWSDLURLEditControl()
- {
- var control;
- if (isMicrosoftInternetExplorer())
- control = document.createElement("<input name='<%=ActionInputs.QUERY_INPUT_WSDL_URL%>'>");
- else
- {
- control = document.createElement("input");
- control.setAttribute("name","<%=ActionInputs.QUERY_INPUT_WSDL_URL%>");
- }
- return control;
- }
-
- function getWSDLURLDisplay(wsdlURL)
- {
- if (wsdlURL.length < 1)
- wsdlURLDisplay = "<%=HTMLUtils.JSMangle(controller.getMessage("MSG_ERROR_WSDL_URL_IS_UNREACHABLE"))%>";
- else
- wsdlURLDisplay = wsdlURL;
- return wsdlURLDisplay;
- }
-
- function setDetailsWSDLURLSingleItemRow(tableContainerId,wsdlType,wsdlURL)
- {
- var table = getTable(tableContainerId);
- var columns = table.rows[numberOfHeaderRows].getElementsByTagName("td");
- var column0 = columns.item(0);
- var column1 = columns.item(1);
-
- column0.insertBefore(createHiddenElement("",wsdlType),column0.childNodes[1]);
- var editable = (column0.childNodes[2].value == "true");
- var wsdlURLDisplay = getWSDLURLDisplay(wsdlURL);
- column0.childNodes[0].value = wsdlURL;
-
- var column0Control;
- if (editable)
- {
- column0Control = createWSDLURLEditControl();
- column0Control.className = "tabletextenter";
- addDetailsWSDLURLSingleItemRowBrowseActionLink(tableContainerId,wsdlType,column1);
- }
- else
- {
- column0Control = document.createTextNode(wsdlURLDisplay);
- addDetailsWSDLURLSingleItemRowEditActionLink(tableContainerId,column1);
- }
- column0.appendChild(column0Control);
- if (editable)
- column0Control.value = wsdlURLDisplay;
- }
-
- function addDetailsNameSingleItemRowCancelActionLink(tableContainerId,column)
- {
- var cancelLink = document.createElement("a");
- cancelLink.href = "javascript:cancelDetailsNameSingleItemRowEdit('"+tableContainerId+"')";
- cancelLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_CANCEL"))%>"));
- column.appendChild(cancelLink);
- }
-
- function addDetailsNameSingleItemRowEditActionLink(tableContainerId,column)
- {
- var editLink = document.createElement("a");
- editLink.href = "javascript:editDetailsNameSingleItemRow('"+tableContainerId+"')";
- editLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_LINK_EDIT"))%>"));
- column.appendChild(editLink);
- }
-
- function editDetailsNameSingleItemRow(tableContainerId)
- {
- var table = getTable(tableContainerId);
- var columns = table.rows[numberOfHeaderRows].getElementsByTagName("td");
- var column0 = columns.item(0);
- var column1 = columns.item(1);
-
- column0.childNodes[1].value = true;
-
- var column0Control = column0.childNodes[column0.childNodes.length-1];
- var textInput = document.createElement("input");
- column0.replaceChild(textInput,column0Control);
- textInput.className = "tabletextenter";
- textInput.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_INPUT_TEXT_VALUE")%>";
- textInput.value = column0.childNodes[0].value;
-
- removeColumnChildren(column1);
-
- addDetailsNameSingleItemRowCancelActionLink(tableContainerId,column1);
- }
-
- function cancelDetailsNameSingleItemRowEdit(tableContainerId)
- {
- var table = getTable(tableContainerId);
- var columns = table.rows[numberOfHeaderRows].getElementsByTagName("td");
- var column0 = columns.item(0);
- var column1 = columns.item(1);
-
- column0.childNodes[1].value = false;
-
- var column0Control = column0.childNodes[column0.childNodes.length-1];
- column0.replaceChild(document.createTextNode(column0.childNodes[0].value),column0Control);
-
- for (var i=0;i<column1.childNodes.length;i++)
- {
- column1.removeChild(column1.childNodes[i]);
- i--;
- }
- addDetailsNameSingleItemRowEditActionLink(tableContainerId,column1);
- }
-
- function setDetailsNameSingleItemRow(tableContainerId,name)
- {
- var table = getTable(tableContainerId);
- var columns = table.rows[numberOfHeaderRows].getElementsByTagName("td");
- var column0 = columns.item(0);
- var column1 = columns.item(1);
-
- var editable = (column0.childNodes[1].value == "true");
- column0.childNodes[0].value = name;
-
- var column0Control;
- if (editable)
- {
- column0Control = document.createElement("input");
- column0Control.className = "tabletextenter";
- column0Control.title = "<%=uddiPerspective.getMessage("FORM_CONTROL_TITLE_INPUT_TEXT_VALUE")%>";
- column0Control.value = name;
- column1.appendChild(document.createTextNode("<%=uddiPerspective.getMessage("FORM_LABEL_ACTIONS_NONE")%>"));
- }
- else
- {
- column0Control = document.createTextNode(name);
- addDetailsNameSingleItemRowEditActionLink(tableContainerId,column1);
- }
- column0.appendChild(column0Control);
- }
-
- function processDetailsDiscoveryURLTable(tableContainerId,modifiedName,viewIdName,discoveryURLName,form)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var columns = table.rows[i].getElementsByTagName("td");
- var column1 = columns.item(1);
- var viewId = column1.childNodes[0].value;
- var editable = (column1.childNodes[2].value == "true");
- var discoveryURL;
- if (editable)
- discoveryURL = column1.childNodes[3].value;
- else
- discoveryURL = column1.childNodes[1].value;
- form.appendChild(createHiddenElement(viewIdName,viewId));
- form.appendChild(createHiddenElement(discoveryURLName,discoveryURL));
- form.appendChild(createHiddenElement(modifiedName,editable));
- }
- }
-
- function processDetailsLanguageInputTable(tableContainerId,modifiedName,viewIdName,langIdName,inputName,form)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var columns = table.rows[i].getElementsByTagName("td");
- var column1 = columns.item(1);
- var viewId = column1.childNodes[0].value;
- var editable = (column1.childNodes[4].value == "true");
- var langId,inputText;
- if (editable)
- {
- langId = column1.childNodes[5].value;
- var column2 = columns.item(2);
- inputText = column2.childNodes[0].value;
- }
- else
- {
- langId = column1.childNodes[1].value;
- inputText = column1.childNodes[2].value;
- }
- form.appendChild(createHiddenElement(viewIdName,viewId));
- form.appendChild(createHiddenElement(langIdName,langId));
- form.appendChild(createHiddenElement(inputName,inputText));
- form.appendChild(createHiddenElement(modifiedName,editable));
- }
- }
-
- function processDetailsIdentifierTable(tableContainerId,form)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var columns = table.rows[i].getElementsByTagName("td");
- var column1 = columns.item(1);
- var viewId = column1.childNodes[0].value;
- var editable = (column1.childNodes[4].value == "true");
- var tModelKey,idKeyName,idKeyValue;
- if (editable)
- {
- tModelKey = column1.childNodes[5].value;
- var column2 = columns.item(2);
- idKeyName = column2.childNodes[0].value;
- var column3 = columns.item(3);
- idKeyValue = column3.childNodes[0].value;
- }
- else
- {
- tModelKey = column1.childNodes[1].value;
- idKeyName = column1.childNodes[2].value;
- idKeyValue = column1.childNodes[3].value;
- }
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.IDENTIFIER_VIEWID%>",viewId));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE%>",tModelKey));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME%>",idKeyName));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE%>",idKeyValue));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.IDENTIFIER_MODIFIED%>",editable));
- }
- }
-
- function processDetailsCategoryTable(tableContainerId,form)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var columns = table.rows[i].getElementsByTagName("td");
- var column1 = columns.item(1);
- var viewId = column1.childNodes[0].value;
- var editable = (column1.childNodes[4].value == "true");
- var tModelKey,catKeyName,catKeyValue;
- if (editable)
- {
- tModelKey = column1.childNodes[5].value;
- var column2 = columns.item(2);
- catKeyName = column2.childNodes[0].value;
- var column3 = columns.item(3);
- catKeyValue = column3.childNodes[0].value;
- }
- else
- {
- tModelKey = column1.childNodes[1].value;
- catKeyName = column1.childNodes[2].value;
- catKeyValue = column1.childNodes[3].value;
- }
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.CATEGORY_VIEWID%>",viewId));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE%>",tModelKey));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME%>",catKeyName));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE%>",catKeyValue));
- form.appendChild(createHiddenElement("<%=UDDIActionInputs.CATEGORY_MODIFIED%>",editable));
- }
- }
-
- function processDetailsSingleItemTable(tableContainerId,modifiedName,inputName,form)
- {
- var table = getTable(tableContainerId);
- var columns = table.rows[numberOfHeaderRows].getElementsByTagName("td");
- var column0 = columns.item(0);
- var column1 = columns.item(1);
- var editable = (column0.childNodes[column0.childNodes.length-2].value == "true");
- var inputValue;
- if (editable)
- inputValue = column0.childNodes[column0.childNodes.length-1].value;
- else
- inputValue = column0.childNodes[0].value;
- form.appendChild(createHiddenElement(inputName,inputValue));
- form.appendChild(createHiddenElement(modifiedName,editable));
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/results.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/results.jsp
deleted file mode 100644
index 31b66729f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/results.jsp
+++ /dev/null
@@ -1,135 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="subQueryTransferTargetHolder" class="java.util.Vector" scope="request"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/uddi/scripts/udditables.jsp" flush="true"/>
-<script language="javascript">
- function getNumberOfSelections(tableContainerId)
- {
- var numberSelected = 0;
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckbox = table.rows[i].getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- numberSelected++;
- }
- return numberSelected;
- }
-
- function processResultForm(tableContainerId,form)
- {
- if (handleSubmit(form))
- {
- processResultTable(tableContainerId,"<%=ActionInputs.NODEID%>",form,true);
- form.submit();
- }
- }
-
- function clearSelections(tableContainerId,form)
- {
- form.action = "<%=response.encodeURL(controller.getPathWithContext("uddi/actions/ClearNavigatorNodesActionJSP.jsp"))%>";
- // Ensure that at least one item is selected.
- var numberSelected = getNumberOfSelections(tableContainerId);
- if (numberSelected > 0)
- processResultForm(tableContainerId,form);
- else
- alert("<%=uddiPerspective.getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- }
-
- function refreshSelections(tableContainerId,form)
- {
- form.action = "<%=response.encodeURL(controller.getPathWithContext("uddi/actions/RefreshUDDINodesActionJSP.jsp"))%>";
- // Ensure that at least one item is selected.
- var numberSelected = getNumberOfSelections(tableContainerId);
- if (numberSelected > 0)
- processResultForm(tableContainerId,form);
- else
- alert("<%=uddiPerspective.getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- }
-
- function addSelectionsToFavorites(tableContainerId,form)
- {
- form.action = "<%=response.encodeURL(controller.getPathWithContext("uddi/actions/AddItemsToFavoritesActionJSP.jsp"))%>";
- // Ensure that at least one item is selected.
- var numberSelected = getNumberOfSelections(tableContainerId);
- if (numberSelected > 0)
- processResultForm(tableContainerId,form);
- else
- alert("<%=uddiPerspective.getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- }
-
-<%
- if (subQueryTransferTargetHolder.size() > 0)
- {
- SubQueryTransferTarget subQueryTransferTarget = (SubQueryTransferTarget)subQueryTransferTargetHolder.elementAt(0);
- String subQueryKey = subQueryTransferTarget.getSubQueryKey();
- int lastSeparatorPos = subQueryKey.lastIndexOf(':');
- String targetQueryKey;
- if (lastSeparatorPos == -1)
- targetQueryKey = "";
- else
- targetQueryKey = subQueryKey.substring(0,lastSeparatorPos);
- String targetProperty = subQueryKey.substring(lastSeparatorPos+1,subQueryKey.length());
-%>
- function transferSelections(tableContainerId,form)
- {
- form.action = "<%=response.encodeURL(controller.getPathWithContext("uddi/actions/TransferSubQueryResultsActionJSP.jsp"))%>";
- // Ensure that at least one item is selected.
- var numberSelected = getNumberOfSelections(tableContainerId);
- if (numberSelected > 0)
- {
-<%
- if (targetProperty.equals(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_BUSINESS) || targetProperty.equals(UDDIActionInputs.QUERY_INPUT_SIMPLE_SERVICE_BUSINESS) || targetProperty.equals(UDDIActionInputs.QUERY_INPUT_ADVANCED_SERVICE_INTERFACE_SERVICE))
- {
-%>
- if (numberSelected != 1)
- {
- alert("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_ERROR_SINGLE_ITEM"))%>");
- return;
- }
-
-<%
- FormTool targetFormTool = subQueryTransferTarget.getTargetFormTool();
- FormToolPropertiesInterface targetFormToolPI = ((MultipleFormToolPropertiesInterface)targetFormTool).getFormToolProperties(targetQueryKey);
- Vector serviceBusiness = (Vector)targetFormToolPI.getProperty(targetProperty);
- if (serviceBusiness != null && serviceBusiness.size() > 0)
- {
-%>
- if (!confirm("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_QUESTION_ITEM_REPLACEMENT"))%>"))
- return;
-<%
- }
- }
-%>
- processResultForm(tableContainerId,form);
- }
- else
- alert("<%=uddiPerspective.getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- }
-<%
- }
-%>
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddiframesets.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddiframesets.jsp
deleted file mode 100644
index da24ad5ac..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddiframesets.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<script language="javascript">
- function getActionsContainerFrameset()
- {
- return perspectiveContent.frames["<%=UDDIFrameNames.ACTIONS_CONTAINER%>"].document.getElementsByTagName("frameset").item(0);
- }
-
- function processFramesetSizes(framesetSizesForm)
- {
- toggleDoubleClickColumnTitle();
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- framesetSizesForm.<%=UDDIActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>.value = perspectiveContentFrameset.cols;
- framesetSizesForm.<%=UDDIActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>.value = actionsContainerFrameset.rows;
- framesetSizesForm.submit();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddipanes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddipanes.jsp
deleted file mode 100644
index 3d864cc0b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/uddipanes.jsp
+++ /dev/null
@@ -1,35 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<script language="javascript">
- var navigatorContainer = perspectiveContent.frames["<%=UDDIFrameNames.NAVIGATOR_CONTAINER%>"];
- var navigatorToolbar = navigatorContainer.frames["<%=UDDIFrameNames.NAVIGATOR_TOOLBAR%>"];
- var navigatorContent = navigatorContainer.frames["<%=UDDIFrameNames.NAVIGATOR_CONTENT%>"];
- var actionsContainer = perspectiveContent.frames["<%=UDDIFrameNames.ACTIONS_CONTAINER%>"];
- var propertiesContainer = actionsContainer.frames["<%=UDDIFrameNames.PROPERTIES_CONTAINER%>"];
- var propertiesToolbar = propertiesContainer.frames["<%=UDDIFrameNames.PROPERTIES_TOOLBAR%>"];
- var propertiesContent = propertiesContainer.frames["<%=UDDIFrameNames.PROPERTIES_CONTENT%>"];
- var statusContainer = actionsContainer.frames["<%=UDDIFrameNames.STATUS_CONTAINER%>"];
- var statusToolbar = statusContainer.frames["<%=UDDIFrameNames.STATUS_TOOLBAR%>"];
- var statusContent = statusContainer.frames["<%=UDDIFrameNames.STATUS_CONTENT%>"];
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/udditables.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/udditables.jsp
deleted file mode 100644
index 9fb27851c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/scripts/udditables.jsp
+++ /dev/null
@@ -1,894 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.uddi4j.datatype.tmodel.*,
- org.uddi4j.util.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/wsdlbrowser.jsp" flush="true"/>
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-<%
- String sessionId = session.getId();
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
- NodeManager navigatorManager = uddiPerspective.getNavigatorManager();
- UDDIMainNode uddiMainNode = (UDDIMainNode)navigatorManager.getRootNode();
- RegistryNode regNode = uddiMainNode.getRegistryNode(navigatorManager.getSelectedNode());
- RegistryElement regElement = (RegistryElement)regNode.getTreeElement();
-%>
-<jsp:useBean id="commonCategoryModels" class="java.util.Hashtable" scope="application"/>
-<script language="javascript">
- // Requires browserdetect.js, tables.jsp (explorer)
- var rowCheckboxName = "rowCheckboxName";
- var categoryWindow;
- var categoryWindowClosed = true;
- var targetCategoryRow = -1;
- var targetCategoryKeyNameElement;
- var targetCategoryKeyValueElement;
- var languageArray = new Array();
- var categoryArray = new Array();
- var wildcardCategoryBrowserURLRe = /(%)/;
-
- function closeAllUddiChildWindows()
- {
- closeCategoryBrowser();
- closeWSDLBrowser();
- }
-
- function Language(displayName,langId)
- {
- this.displayName = displayName;
- this.langId = langId;
- }
-
- function compareLanguageDisplayNames(a,b)
- {
- var result = a.displayName.localeCompare(b.displayName);
- if (result < 0)
- return -1;
- else if (result > 0)
- return 1;
- else
- return 0;
- }
-
- function setTModelKeySelect(itemSelect,tModelKey)
- {
- for (var i=0;i<itemSelect.options.length;i++)
- {
- if (itemSelect.options[i].value.toLowerCase() == tModelKey.toLowerCase())
- {
- itemSelect.options[i].selected = true;
- return itemSelect.options[i].text;
- }
- }
- }
-
- function setLanguageSelect(languageSelect,languageValue)
- {
- var start;
-<%
- // Compare with the empty string only if the languageValue is the empty string.
-%>
- if (languageValue.length < 1)
- start = 0;
- else
- start = 1;
- for (var i=start;i<languageSelect.options.length;i++)
- {
-<%
- // Use a regular expression to check if languageValue begins with a key whose item is in the pick list. This enables "English" to be selected
- // for en-xxx (dialects).
-%>
- var regExp = new RegExp("^"+languageSelect.options[i].value,"i");
- if (regExp.test(languageValue))
- {
- languageSelect.options[i].selected = true;
- return languageSelect.options[i].text;
- }
- }
- }
-
- function populateLanguageSelect(languageSelect)
- {
- if (languageArray.length == 0)
- {
- languageArray[languageArray.length] = new Language("","");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_EN"))%>","en");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AA"))%>","aa");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AB"))%>","ab");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AF"))%>","af");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AM"))%>","am");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AR"))%>","ar");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AS"))%>","as");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AY"))%>","ay");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_AZ"))%>","az");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BA"))%>","ba");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BE"))%>","be");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BG"))%>","bg");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BH"))%>","bh");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BI"))%>","bi");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BN"))%>","bn");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BO"))%>","bo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_BR"))%>","br");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_CA"))%>","ca");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_CO"))%>","co");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_CZ"))%>","cz");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_CY"))%>","cy");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_DA"))%>","da");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_DE"))%>","de");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_DZ"))%>","dz");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_EL"))%>","el");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_EO"))%>","eo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_ES"))%>","es");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_ET"))%>","et");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_EU"))%>","eu");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_FA"))%>","fa");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_FI"))%>","fi");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_FJ"))%>","fj");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_FO"))%>","fo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_FR"))%>","fr");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_FY"))%>","fy");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_GA"))%>","ga");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_GD"))%>","gd");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_GL"))%>","gl");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_GN"))%>","gn");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_GU"))%>","gu");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_HA"))%>","ha");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_HI"))%>","hi");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_HR"))%>","hr");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_HU"))%>","hu");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_HY"))%>","hy");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_IA"))%>","ia");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_IE"))%>","ie");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_IK"))%>","ik");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_IN"))%>","in");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_IS"))%>","is");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_IT"))%>","it");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_IW"))%>","iw");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_JA"))%>","ja");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_JI"))%>","ji");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_JW"))%>","jw");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KA"))%>","ka");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KK"))%>","kk");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KL"))%>","kl");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KM"))%>","km");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KN"))%>","kn");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KO"))%>","ko");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KS"))%>","ks");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KU"))%>","ku");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_KY"))%>","ky");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_LA"))%>","la");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_LN"))%>","ln");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_LO"))%>","lo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_LT"))%>","lt");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_LV"))%>","lv");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MG"))%>","mg");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MI"))%>","mi");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MK"))%>","mk");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_ML"))%>","ml");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MN"))%>","mn");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MO"))%>","mo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MR"))%>","mr");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MS"))%>","ms");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MT"))%>","mt");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_MY"))%>","my");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_NA"))%>","na");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_NE"))%>","ne");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_NL"))%>","nl");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_NO"))%>","no");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_OC"))%>","oc");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_OM"))%>","om");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_OR"))%>","or");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_PA"))%>","pa");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_PL"))%>","pl");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_PS"))%>","ps");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_PT"))%>","pt");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_QU"))%>","qu");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_RM"))%>","rm");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_RN"))%>","rn");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_RO"))%>","ro");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_RU"))%>","ru");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_RW"))%>","rw");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SA"))%>","sa");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SD"))%>","sd");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SG"))%>","sg");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SH"))%>","sh");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SI"))%>","si");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SK"))%>","sk");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SL"))%>","sl");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SM"))%>","sm");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SN"))%>","sn");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SO"))%>","so");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SQ"))%>","sq");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SR"))%>","sr");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SS"))%>","ss");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_ST"))%>","st")
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SU"))%>","su");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SV"))%>","sv");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_SW"))%>","sw");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TA"))%>","ta");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TE"))%>","te");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TG"))%>","tg");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TH"))%>","th");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TI"))%>","ti");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TK"))%>","tk");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TL"))%>","tl");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TN"))%>","tn");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TO"))%>","to");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TR"))%>","tr");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TS"))%>","ts");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TT"))%>","tt");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_TW"))%>","tw");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_UK"))%>","uk");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_UR"))%>","ur");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_UZ"))%>","uz");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_VI"))%>","vi");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_VO"))%>","vo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_WO"))%>","wo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_XH"))%>","xh");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_YO"))%>","yo");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_ZH"))%>","zh");
- languageArray[languageArray.length] = new Language("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_LANGUAGE_ZU"))%>","zu");
- languageArray.sort(compareLanguageDisplayNames);
- }
-
- for (var i=0;i<languageArray.length;i++)
- languageSelect.options[i] = new Option(languageArray[i].displayName,languageArray[i].langId);
- }
-
- function setLanguageInputRowSettings(tableContainerId,nameIndex,languageValue,nameTextValue)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+nameIndex];
- var languageSelect = row.getElementsByTagName("select").item(0);
- var nameText = row.getElementsByTagName("input").item(1);
- setLanguageSelect(languageSelect,languageValue);
- nameText.value = nameTextValue;
- }
-
- function removeSelectedCategoryRows(tableContainerId)
- {
- // Check if any rows above and including the targetCategoryRow are selected.
- var table = getTable(tableContainerId);
- var newTargetCategoryRow = targetCategoryRow;
- for (var i=numberOfHeaderRows;i<=targetCategoryRow;i++)
- {
- var tableRow = table.rows[i];
- var rowCheckbox = tableRow.getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- {
- if (i == targetCategoryRow)
- newTargetCategoryRow = -1;
- else
- newTargetCategoryRow--;
- }
- }
- if (newTargetCategoryRow == -1)
- closeCategoryBrowser();
- targetCategoryRow = newTargetCategoryRow;
- removeSelectedRows(tableContainerId);
- // Fix the browse... links.
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var tableRow = table.rows[i];
- var browseLink = tableRow.getElementsByTagName("a").item(0);
- setJSLinkRowTarget(browseLink,"openCategoryBrowser",tableContainerId,i);
- }
- }
-
- function addLanguageInputRow(tableContainerId,textControlTitle)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- var languageSelect = document.createElement("select");
- populateLanguageSelect(languageSelect);
- column1.appendChild(languageSelect);
-
- var textInput = document.createElement("input");
- column2.appendChild(textInput);
-
- column0.className = "checkboxcells";
- languageSelect.className = "selectlist";
- column1.className = "tablecells";
- textInput.className = "tabletextenter";
- textInput.title = textControlTitle;
- column2.className = "tablecells";
- column2.width = "90%";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- tableBody.appendChild(newRow);
- }
-
- function setIdentifierRowSettings(tableContainerId,identifierIndex,tModelKey,keyName,keyValue)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+identifierIndex];
- var identifierTypeSelect = row.getElementsByTagName("select").item(0);
- var rowElementCollection = row.getElementsByTagName("input");
- var keyNameText = rowElementCollection.item(1);
- var keyValueText = rowElementCollection.item(2);
- setTModelKeySelect(identifierTypeSelect,tModelKey);
- keyNameText.value = keyName;
- keyValueText.value = keyValue;
- }
-
- function populateIdentifierTypeSelect(identifierTypeSelect)
- {
- var counter = 0;
- identifierTypeSelect.options[counter++] = new Option("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_IDENTIFIER_DUNS"))%>","<%=TModel.D_U_N_S_TMODEL_KEY%>");
- identifierTypeSelect.options[counter++] = new Option("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_OPTION_IDENTIFIER_THOMAS_REGISTRY"))%>","<%=TModel.THOMAS_REGISTER_TMODEL_KEY%>");
- }
-
- function handleIdentifierChange(e)
- {
- var identifierSelect;
- if (isMicrosoftInternetExplorer())
- identifierSelect = event.srcElement;
- else
- identifierSelect = e.target;
- var cell = identifierSelect.parentNode;
- var row = cell.parentNode;
- var inputElements = row.getElementsByTagName("input");
- for (var i=0;i<inputElements.length;i++)
- {
- if (inputElements.item(i).type == "text")
- {
- inputElements.item(i).value = identifierSelect.options[identifierSelect.selectedIndex].text;
- break;
- }
- }
- }
-
- function addIdentifierRow(tableContainerId)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
- var column3 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- var keyTypeSelect = document.createElement("select");
- keyTypeSelect.onchange = handleIdentifierChange;
- populateIdentifierTypeSelect(keyTypeSelect);
- column1.appendChild(keyTypeSelect);
-
- var keyNameTextInput = document.createElement("input");
- column2.appendChild(keyNameTextInput);
-
- var keyValueTextInput = document.createElement("input");
- column3.appendChild(keyValueTextInput);
-
- column0.className = "checkboxcells";
- keyTypeSelect.className = "selectlist"
- column1.className = "tablecells";
- column1.width = "5%";
- keyNameTextInput.className = "tabletextenter";
- keyNameTextInput.title = "<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_IDENTIFIER_KEY_NAME"))%>";
- column2.className = "tablecells";
- column2.width = "40%";
- keyValueTextInput.className = "tabletextenter";
- keyValueTextInput.title = "<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_IDENTIFIER_KEY_VALUE"))%>";
- column3.className = "tablecells";
- column3.width = "55%";
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- newRow.appendChild(column3);
- tableBody.appendChild(newRow);
- keyNameTextInput.value = keyTypeSelect.options[0].text;
- }
-
- function Category(displayName,tModelKey)
- {
- this.displayName = displayName;
- this.tModelKey = tModelKey;
- }
-
- function compareCategoryDisplayNames(a,b)
- {
- var result = a.displayName.localeCompare(b.displayName);
- if (result < 0)
- return -1;
- else if (result > 0)
- return 1;
- else
- return 0;
- }
-
- function populateCategoryTypeSelect(categoryTypeSelect)
- {
- if (categoryArray.length == 0)
- {
-<%
- Enumeration commonCategories = commonCategoryModels.elements();
- while (commonCategories.hasMoreElements())
- {
- CategoryModel commonCategoryModel = (CategoryModel)commonCategories.nextElement();
-%>
- categoryArray[categoryArray.length] = new Category("<%=HTMLUtils.JSMangle(commonCategoryModel.getDisplayName())%>","<%=commonCategoryModel.getTModelKey()%>");
-<%
- }
- Enumeration userDefinedCategories = regElement.getUserDefinedCategories();
- if (userDefinedCategories != null)
- {
- while (userDefinedCategories.hasMoreElements())
- {
- CategoryModel userDefinedCategory = (CategoryModel)userDefinedCategories.nextElement();
-%>
- categoryArray[categoryArray.length] = new Category("<%=HTMLUtils.JSMangle(userDefinedCategory.getDisplayName())%>","<%=userDefinedCategory.getTModelKey()%>");
-<%
- }
- }
-%>
- categoryArray.sort(compareCategoryDisplayNames);
- }
-
- for (var i=0;i<categoryArray.length;i++)
- categoryTypeSelect.options[i] = new Option(categoryArray[i].displayName,categoryArray[i].tModelKey);
- }
-
- function setJSLinkRowTarget(link,jsFunction,tableContainerId,row)
- {
- link.href = "javascript:"+jsFunction+"('"+tableContainerId+"',"+row+")";
- }
-
- function openCategoryBrowser(tableContainerId,row)
- {
- var table = getTable(tableContainerId);
- var categorySelect = table.rows[row].getElementsByTagName("select").item(0);
- var selectedCategoryOption = categorySelect.options[categorySelect.options.selectedIndex];
- var categoryType = table.rows[row].getElementsByTagName("select").item(0).options.selectedIndex;
- var columns = table.rows[row].getElementsByTagName("td");
- targetCategoryRow = row;
- targetCategoryKeyNameElement = columns.item(2).childNodes[0];
- targetCategoryKeyValueElement = columns.item(3).childNodes[0];
- var link = "<%=response.encodeURL(controller.getPathWithContext(OpenCategoryBrowserAction.getWildCardActionLink(sessionId)))%>";
- categoryWindow = window.open(link.replace(wildcardCategoryBrowserURLRe,selectedCategoryOption.value),"categoryWindow","height=300,width=300,status=yes,scrollbars=yes,resizable=yes");
- if (categoryWindow.focus)
- categoryWindow.focus();
- }
-
- function closeCategoryBrowser()
- {
- if (!categoryWindowClosed)
- categoryWindow.close();
- }
-
- function setCategoryRowSettings(tableContainerId,categoryIndex,tModelKey,keyName,keyValue)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+categoryIndex];
- var categoryTypeSelect = row.getElementsByTagName("select").item(0);
- var rowElementCollection = row.getElementsByTagName("input");
- var keyNameText = rowElementCollection.item(1);
- var keyValueText = rowElementCollection.item(2);
- setTModelKeySelect(categoryTypeSelect,tModelKey);
- keyNameText.value = keyName;
- keyValueText.value = keyValue;
- }
-
- function addCategoryRowBrowseLink(tableContainerId,column,rowIndex)
- {
- var browseLink = document.createElement("a");
- setJSLinkRowTarget(browseLink,"openCategoryBrowser",tableContainerId,rowIndex);
- browseLink.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LINK_BROWSE"))%>"));
- column.appendChild(browseLink);
- }
-
- function addCategoryRow(tableContainerId)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
- var column3 = document.createElement("td");
- var column4 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- var categoryTypeSelect = document.createElement("select");
- populateCategoryTypeSelect(categoryTypeSelect);
- column1.appendChild(categoryTypeSelect);
-
- var keyNameTextInput = document.createElement("input");
- column2.appendChild(keyNameTextInput);
-
- var keyValueTextInput = document.createElement("input");
- column3.appendChild(keyValueTextInput);
-
- addCategoryRowBrowseLink(tableContainerId,column4,table.rows.length);
-
- column0.className = "checkboxcells";
- categoryTypeSelect.className = "selectlist";
- column1.className = "tablecells";
- column1.width = "5%";
- keyNameTextInput.className = "tabletextenter";
- keyNameTextInput.title = "<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_KEY_NAME"))%>";
- column2.className = "tablecells";
- column2.width = "55%";
- keyValueTextInput.className = "tabletextenter";
- keyValueTextInput.title = "<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_CATEGORY_KEY_VALUE"))%>";
- column3.className = "tablecells";
- column3.width = "25%";
- column4.className = "tablecells";
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- newRow.appendChild(column3);
- newRow.appendChild(column4);
- tableBody.appendChild(newRow);
- }
-
- function setDiscoveryURLRowSettings(tableContainerId,discoveryURLIndex,discoveryURL)
- {
- var table = getTable(tableContainerId);
- var row = table.rows[numberOfHeaderRows+discoveryURLIndex];
- var rowElementCollection = row.getElementsByTagName("input");
- var discoveryURLTextInput = rowElementCollection.item(1);
- discoveryURLTextInput.value = discoveryURL;
- }
-
- function addDiscoveryURLRow(tableContainerId)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- var discoveryURLTextInput = document.createElement("input");
- column1.appendChild(discoveryURLTextInput);
-
- column0.className = "checkboxcells";
- discoveryURLTextInput.className = "tabletextenter";
- discoveryURLTextInput.title = "<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("FORM_CONTROL_TITLE_DISCOVERY_URL"))%>";
- column1.className = "tablecells";
- column1.width = "95%";
-
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- tableBody.appendChild(newRow);
- }
-
- function addResultRow(tableContainerId,nodeId,url,name,description)
- {
- twistOpen(tableContainerId);
- var table = getTable(tableContainerId);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
- column0.appendChild(createHiddenElement("",nodeId));
-
- var nameDetailsLink = document.createElement("a");
- nameDetailsLink.href = url;
- nameDetailsLink.target = "<%=FrameNames.PERSPECTIVE_WORKAREA%>";
- nameDetailsLink.appendChild(document.createTextNode(name));
- column1.appendChild(nameDetailsLink);
-
- column2.appendChild(document.createTextNode(getDefaultDisplayString(description)));
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column2.className = "tablecells";
- column1.width = "48%";
- column2.width = "48%";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- tableBody.appendChild(newRow);
- }
-
- function getFindQualifierTable(containerId)
- {
- var container = document.getElementById(containerId);
- return container.getElementsByTagName("table").item(1);
- }
-
- function setFindQualifier(findQualifier,nameTableContainerId,categoryTableContainerId,findQualifiersTableContainerId)
- {
- var twistOpenNames = false;
- var twistOpenCategories = false;
- var twistOpenFindQualifiers = false;
-
- if (findQualifier == "<%=FindQualifier.exactNameMatch%>")
- {
- var fqTable = getFindQualifierTable(nameTableContainerId);
- var exactNameMatchCheckbox = fqTable.getElementsByTagName("input").item(0);
- exactNameMatchCheckbox.checked = true;
- twistOpenNames = true;
- }
- else if (findQualifier == "<%=FindQualifier.caseSensitiveMatch%>")
- {
- var fqTable = getFindQualifierTable(nameTableContainerId);
- var caseSensitiveMatchCheckbox = fqTable.getElementsByTagName("input").item(1);
- caseSensitiveMatchCheckbox.checked = true;
- twistOpenNames = true;
- }
- else if (findQualifier == "<%=FindQualifier.serviceSubset%>" || findQualifier == "<%=FindQualifier.combineCategoryBags%>")
- {
- var fqTable = getFindQualifierTable(categoryTableContainerId);
- var categorySelect = fqTable.getElementsByTagName("select").item(0);
- setSelect(categorySelect,findQualifier);
- twistOpenCategories = true;
- }
- else if (findQualifier == "<%=FindQualifier.andAllKeys%>" || findQualifier == "<%=FindQualifier.orAllKeys%>" || findQualifier == "<%=FindQualifier.orLikeKeys%>")
- {
- var fqTable = getTable(findQualifiersTableContainerId);
- var keySelect = fqTable.getElementsByTagName("select").item(0);
- setSelect(keySelect,findQualifier);
- if (findQualifier != "<%=FindQualifier.andAllKeys%>")
- twistOpenFindQualifiers = true;
- }
- else if (findQualifier == "<%=FindQualifier.sortByNameAsc%>" || findQualifier == "<%=FindQualifier.sortByNameDesc%>" || findQualifier == "<%=FindQualifier.sortByDateAsc%>" || findQualifier == "<%=FindQualifier.sortByDateDesc%>")
- {
- var fqTable = getTable(findQualifiersTableContainerId);
- var sortCollection = fqTable.getElementsByTagName("input");
- for (var i=0;i<sortCollection.length;i++)
- {
- if (sortCollection.item(i).value == findQualifier)
- sortCollection.item(i).checked = true;
- }
- if (findQualifier != "<%=FindQualifier.sortByNameAsc%>" && findQualifier != "<%=FindQualifier.sortByDateAsc%>")
- twistOpenFindQualifiers = true;
- }
-
- if (twistOpenNames)
- twistOpen(nameTableContainerId);
- if (twistOpenCategories)
- twistOpen(categoryTableContainerId);
- if (twistOpenFindQualifiers)
- twistOpen(findQualifiersTableContainerId);
- }
-
- function processLanguageInputTable(tableContainerId,langVar,textVar,form)
- {
- var table = getTable(tableContainerId);
- var languageSelects = table.getElementsByTagName("select");
- var textInputs = table.getElementsByTagName("input");
- for (var i=0;i<languageSelects.length;i++)
- {
- var hiddenLanguageSelect = createHiddenElement(langVar,languageSelects[i].value);
- form.appendChild(hiddenLanguageSelect);
- }
-
- for (var i=0;i<textInputs.length;i++)
- {
- if (textInputs[i].type == "text")
- {
- var hiddenTextInput = createHiddenElement(textVar,textInputs[i].value);
- form.appendChild(hiddenTextInput);
- }
- }
- }
-
- function processNameFindQualifiers(tableContainerId,form)
- {
- var table = getFindQualifierTable(tableContainerId);
- var nameFindQualifierCheckboxes = table.getElementsByTagName("input");
- for (var i=0;i<nameFindQualifierCheckboxes.length;i++)
- {
- var item = nameFindQualifierCheckboxes.item(i);
- if (item.checked)
- {
- var hiddenFindQualifier = createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_FINDQUALIFIER%>",item.value);
- form.appendChild(hiddenFindQualifier);
- }
- }
- }
-
- function processIdentifierTable(tableContainerId,form)
- {
- var table = getTable(tableContainerId);
- var identifierTypeSelects = table.getElementsByTagName("select");
- var textInputs = table.getElementsByTagName("input");
- for (var i=0;i<identifierTypeSelects.length;i++)
- {
- var hiddenIdentifierTypeSelect = createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_TYPE%>",identifierTypeSelects[i].value);
- form.appendChild(hiddenIdentifierTypeSelect);
- }
-
- var isKeyName = true;
- for (var i=0;i<textInputs.length;i++)
- {
- if (textInputs[i].type == "text")
- {
- var name;
- if (isKeyName)
- name = "<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_NAME%>";
- else
- name = "<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_IDENTIFIER_KEY_VALUE%>";
- var hiddenTextInput = createHiddenElement(name,textInputs[i].value);
- form.appendChild(hiddenTextInput);
- isKeyName = !isKeyName;
- }
- }
- }
-
- function processCategoryTable(tableContainerId,form,isFindBusiness)
- {
- var table = getTable(tableContainerId);
- var categoryTypeSelects = table.getElementsByTagName("select");
- var textInputs = table.getElementsByTagName("input");
- for (var i=0;i<categoryTypeSelects.length;i++)
- {
- var hiddenCategoryTypeSelect = createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_TYPE%>",categoryTypeSelects[i].value);
- form.appendChild(hiddenCategoryTypeSelect);
- }
-
- var isKeyName = true;
- for (var i=0;i<textInputs.length;i++)
- {
- if (textInputs[i].type == "text")
- {
- var name;
- if (isKeyName)
- name = "<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_NAME%>";
- else
- name = "<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_CATEGORY_KEY_VALUE%>";
- var hiddenTextInput = createHiddenElement(name,textInputs[i].value);
- form.appendChild(hiddenTextInput);
- isKeyName = !isKeyName;
- }
- }
-
- if (isFindBusiness)
- {
- table = getFindQualifierTable(tableContainerId);
- var categoryFindQualifier = table.getElementsByTagName("select").item(0);
- if (categoryFindQualifier.selectedIndex != 0)
- {
- var hiddenFindQualifier = createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_FINDQUALIFIER%>",categoryFindQualifier.value);
- form.appendChild(hiddenFindQualifier);
- }
- }
- }
-
- function processDiscoveryURLTable(tableContainerId,form)
- {
- var table = getTable(tableContainerId);
- var textInputs = table.getElementsByTagName("input");
- for (var i=0;i<textInputs.length;i++)
- {
- if (textInputs[i].type == "text")
- {
- var hiddenTextInput = createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_DISCOVERYURL%>",textInputs[i].value);
- form.appendChild(hiddenTextInput);
- }
- }
- }
-
- function processFindQualifierTable(tableContainerId,form)
- {
- var table = getTable(tableContainerId);
- var findQualifierSelects = table.getElementsByTagName("select");
- for (var i=0;i<findQualifierSelects.length;i++)
- {
- var findQualifierSelect = findQualifierSelects.item(i);
- var hiddenFindQualifier = createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_FINDQUALIFIER%>",findQualifierSelect.value);
- form.appendChild(hiddenFindQualifier);
- }
-
- var findQualifierSortRadios = table.getElementsByTagName("input");
- for (var i=0;i<findQualifierSortRadios.length;i++)
- {
- if (findQualifierSortRadios.item(i).checked)
- {
- var hiddenSortElement = createHiddenElement("<%=UDDIActionInputs.QUERY_INPUT_ADVANCED_FINDQUALIFIER%>",findQualifierSortRadios.item(i).value);
- form.appendChild(hiddenSortElement);
- }
- }
- }
-
- function processResultTable(tableContainerId,inputName,form,selectedOnly)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var inputs = table.rows[i].getElementsByTagName("input");
- if (selectedOnly)
- {
- if (inputs.item(0).checked)
- form.appendChild(createHiddenElement(inputName,inputs.item(1).value));
- }
- else
- form.appendChild(createHiddenElement(inputName,inputs.item(1).value));
- }
- }
-
- function initiateSubQuery(formContainerId,newSubQueryKey,queryItem,isGet)
- {
- if (isGet)
- {
- var hasGetItems = false;
- switch (queryItem)
- {
- case <%=UDDIActionInputs.QUERY_ITEM_BUSINESSES%>:
- hasGetItems = <%=regNode.hasBusiness()%>;
- break;
- case <%=UDDIActionInputs.QUERY_ITEM_SERVICES%>:
- hasGetItems = <%=regNode.hasService()%>;
- break;
- case <%=UDDIActionInputs.QUERY_ITEM_SERVICE_INTERFACES%>:
- default:
- hasGetItems = <%=regNode.hasServiceInterface()%>;
- }
- if (!hasGetItems)
- {
- alert("<%=HTMLUtils.JSMangle(uddiPerspective.getMessage("MSG_ERROR_NO_ITEMS_TO_GET"))%>");
- return;
- }
- }
- var formContainer = document.getElementById(formContainerId);
- var form = formContainer.getElementsByTagName("form").item(0);
- form.<%=UDDIActionInputs.SUBQUERY_GET%>.value = isGet;
- form.<%=UDDIActionInputs.NEW_SUBQUERY_INITIATED%>.value = newSubQueryKey;
- form.<%=UDDIActionInputs.NEW_SUBQUERY_QUERY_ITEM%>.value = queryItem;
- var okToSubmit = false;
- if (formContainerId == "findBusinessesAdvanced")
- okToSubmit = processFindBusinessesAdvancedForm(form);
- else if (formContainerId == "findServicesAdvanced")
- okToSubmit = processFindServicesAdvancedForm(form);
- else if (formContainerId == "findServiceInterfacesAdvanced")
- okToSubmit = processFindServiceInterfacesAdvancedForm(form);
- else if (formContainerId == "publishServiceSimple")
- okToSubmit = processPublishServiceSimpleForm(form);
- else if (formContainerId == "publishServiceAdvanced")
- okToSubmit = processPublishServiceAdvancedForm(form);
- else if (formContainerId == "publisherAssertions")
- okToSubmit = handleSubmit(form);
- else if (formContainerId == "manageReferencedServices")
- okToSubmit = processForm(form);
- if (okToSubmit)
- form.submit();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_container.jsp
deleted file mode 100644
index 12888809d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=UDDIFrameNames.STATUS_TOOLBAR%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/status_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=UDDIFrameNames.STATUS_CONTENT%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_content.jsp
deleted file mode 100644
index 1d626ee84..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_content.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <table>
- <tr>
- <td>
- <pre>
-<%=HTMLUtils.charactersToHTMLEntitiesStrict(uddiPerspective.getMessageQueue().getMessagesFromList())%>
- </pre>
- </td>
- </tr>
- </table>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_toolbar.jsp
deleted file mode 100644
index a383f8c8f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/status_toolbar.jsp
+++ /dev/null
@@ -1,66 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/uddi/scripts/uddiframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("uddi/actions/ResizeUDDIFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(UDDIFrameNames.STATUS_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/uddi/forms/ProcessUDDIFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/status.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (uddiPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (uddiPerspective.getActionsContainerFramesetRows().endsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_STATUS")%></td>
-<%
- String altClear = controller.getMessage("ALT_CLEAR");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("uddi/status_content.jsp"))%>" target="<%=UDDIFrameNames.STATUS_CONTENT%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/uddi_perspective_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/uddi_perspective_content.jsp
deleted file mode 100644
index 8661bdf58..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/uddi/uddi_perspective_content.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- UDDIPerspective uddiPerspective = controller.getUDDIPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=uddiPerspective.getMessage("FRAME_TITLE_UDDI_PERSPECTIVE_CONTENT")%></title>
-</head>
-<frameset cols="<%=uddiPerspective.getPerspectiveContentFramesetCols()%>" bgcolor=#ECE9D8>
- <%
- if (org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.isRTL())
- {
- %>
- <frame name="<%=UDDIFrameNames.ACTIONS_CONTAINER%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/actions_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=UDDIFrameNames.NAVIGATOR_CONTAINER%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/navigator_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- else
- {
- %>
- <frame name="<%=UDDIFrameNames.NAVIGATOR_CONTAINER%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/navigator_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=UDDIFrameNames.ACTIONS_CONTAINER%>" title="<%=uddiPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("uddi/actions_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- %>
-</frameset>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ClearWSDLActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ClearWSDLActionJSP.jsp
deleted file mode 100644
index 9b758e886..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ClearWSDLActionJSP.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.ClearWSDLAction"%>
-
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-ClearWSDLAction action = new ClearWSDLAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-%>
-<%@ include file="/actions/ClearNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/CreateInstanceActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/CreateInstanceActionJSP.jsp
deleted file mode 100644
index 678eeb2ac..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/CreateInstanceActionJSP.jsp
+++ /dev/null
@@ -1,34 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.CreateInstanceAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <%
- CreateInstanceAction action = new CreateInstanceAction(controller);
- action.populatePropertyTable(request);
- action.execute();
- %>
- <script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- </script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpGetOperationFormActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpGetOperationFormActionJSP.jsp
deleted file mode 100644
index 449c9ef89..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpGetOperationFormActionJSP.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <%
- // Prepare the action.
- InvokeWSDLHttpGetOperationFormAction action = new InvokeWSDLHttpGetOperationFormAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (inputsValid)
- {
- boolean actionResult = action.execute();
- }
- %>
-<script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpPostOperationFormActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpPostOperationFormActionJSP.jsp
deleted file mode 100644
index d3f4e5253..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLHttpPostOperationFormActionJSP.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <%
- // Prepare the action.
- InvokeWSDLHttpPostOperationFormAction action = new InvokeWSDLHttpPostOperationFormAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
-
- if (inputsValid)
- {
- boolean actionResult = action.execute();
- }
- %>
-<script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp
deleted file mode 100644
index b44fe049f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp
+++ /dev/null
@@ -1,138 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.MessageQueue,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport.HTTPException,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport.HTTPTransport,
- sun.misc.BASE64Decoder,
- javax.servlet.http.HttpServletResponse"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-InvokeWSDLSOAPOperationFormAction action = new InvokeWSDLSOAPOperationFormAction(controller);
-String httpBasicAuthData = request.getHeader(HTTPTransport.HTTP_HEADER_AUTH);
-if (httpBasicAuthData != null && httpBasicAuthData.length() > 0)
-{
- int basicIndex = httpBasicAuthData.indexOf(HTTPTransport.BASIC);
- if (basicIndex != -1)
- {
- BASE64Decoder decoder = new BASE64Decoder();
- httpBasicAuthData = new String(decoder.decodeBuffer(httpBasicAuthData.substring(basicIndex + HTTPTransport.BASIC.length() + 1)));
- int colonIndex = httpBasicAuthData.indexOf(HTTPTransport.COLON);
- if (colonIndex != -1)
- {
- action.addProperty(WSDLActionInputs.HTTP_BASIC_AUTH_USERNAME, httpBasicAuthData.substring(0, colonIndex));
- action.addProperty(WSDLActionInputs.HTTP_BASIC_AUTH_PASSWORD, httpBasicAuthData.substring(colonIndex + 1, httpBasicAuthData.length()));
- }
- }
-}
-
-// Load the parameters for the action from the servlet request.
-boolean inputsValid = action.populatePropertyTable(request);
-if (!inputsValid)
-{
-%>
- <jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"></script>
- </head>
- <body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- </script>
- </body>
- </html>
-<%
-}
-else
-{
- try
- {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
- <jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"></script>
- </head>
- <body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsdlPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_container.jsp"))%>";
- <%
- if (actionResult)
- {
- %>
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_result_content.jsp"))%>";
- <%
- }
- else
- {
- %>
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- <%
- }
- %>
- </script>
- </body>
- </html>
-<%
- }
- catch (HTTPException httpe)
- {
- int code = httpe.getStatusCode();
- if (code == HttpServletResponse.SC_UNAUTHORIZED)
- {
- response.setStatus(code);
- response.setHeader(HTTPTransport.HTTP_HEADER_CONTENT_LENGTH, String.valueOf(0));
- String wwwAuthData = httpe.getHeader(HTTPTransport.HTTP_HEADER_WWW_AUTH.toLowerCase());
- if (wwwAuthData == null)
- wwwAuthData = httpe.getHeader(HTTPTransport.HTTP_HEADER_WWW_AUTH);
- if (wwwAuthData == null)
- wwwAuthData = HTTPTransport.BASIC;
- response.setHeader(HTTPTransport.HTTP_HEADER_WWW_AUTH, wwwAuthData);
- }
- else
- {
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- messageQueue.addMessage(controller.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage(String.valueOf(code));
- messageQueue.addMessage(httpe.getStatusMessage());
- %>
- <jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"></script>
- </head>
- <body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- </script>
- </body>
- </html>
- <%
- }
- }
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationSourceActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationSourceActionJSP.jsp
deleted file mode 100644
index a907688f4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/InvokeWSDLSOAPOperationSourceActionJSP.jsp
+++ /dev/null
@@ -1,172 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLActionInputs,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport.HTTPException,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.transport.HTTPTransport,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- sun.misc.BASE64Decoder,
- javax.servlet.http.HttpServletResponse,
- javax.wsdl.*"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-InvokeWSDLSOAPOperationSourceAction action = new InvokeWSDLSOAPOperationSourceAction(controller);
-
-// Load the parameters for the action from the servlet request.
-boolean inputsValid = action.populatePropertyTable(request);
-
-if (action.wasSaveAsSelected())
-{
- // write to file system
- response.setContentType("application/octet-stream");
- response.setHeader("Content-Disposition","attachment;filename="+action.getDefaultSaveAsFileName());
- action.writeSourceContent(response.getOutputStream());
-}
-else
-{
- if (!inputsValid)
- {
- %>
- <jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"></script>
- </head>
- <body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- </script>
- </body>
- </html>
- <%
- }
- else
- {
- if (action.wasNewFileSelected())
- {
- %>
- <jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"></script>
- </head>
- <body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- </script>
- </body>
- </html>
- <%
- }
- else
- {
- String httpBasicAuthData = request.getHeader(HTTPTransport.HTTP_HEADER_AUTH);
- if (httpBasicAuthData != null && httpBasicAuthData.length() > 0)
- {
- int basicIndex = httpBasicAuthData.indexOf(HTTPTransport.BASIC);
- if (basicIndex != -1)
- {
- BASE64Decoder decoder = new BASE64Decoder();
- httpBasicAuthData = new String(decoder.decodeBuffer(httpBasicAuthData.substring(basicIndex + HTTPTransport.BASIC.length() + 1)));
- int colonIndex = httpBasicAuthData.indexOf(HTTPTransport.COLON);
- if (colonIndex != -1)
- {
- action.addProperty(WSDLActionInputs.HTTP_BASIC_AUTH_USERNAME, httpBasicAuthData.substring(0, colonIndex));
- action.addProperty(WSDLActionInputs.HTTP_BASIC_AUTH_PASSWORD, httpBasicAuthData.substring(colonIndex + 1, httpBasicAuthData.length()));
- }
- }
- }
- try
- {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- %>
- <jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"></script>
- </head>
- <body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsdlPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_container.jsp"))%>";
- <%
- if (actionResult)
- {
- %>
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_result_content.jsp"))%>";
- <%
- }
- else
- {
- %>
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- <%
- }
- %>
- </script>
- </body>
- </html>
-<%
- }
- catch (HTTPException httpe)
- {
- int code = httpe.getStatusCode();
- if (code == HttpServletResponse.SC_UNAUTHORIZED)
- {
- response.setStatus(code);
- response.setHeader(HTTPTransport.HTTP_HEADER_CONTENT_LENGTH, String.valueOf(0));
- String wwwAuthData = httpe.getHeader(HTTPTransport.HTTP_HEADER_WWW_AUTH.toLowerCase());
- if (wwwAuthData == null)
- wwwAuthData = httpe.getHeader(HTTPTransport.HTTP_HEADER_WWW_AUTH);
- if (wwwAuthData == null)
- wwwAuthData = HTTPTransport.BASIC;
- response.setHeader(HTTPTransport.HTTP_HEADER_WWW_AUTH, wwwAuthData);
- }
- else
- {
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- MessageQueue messageQueue = wsdlPerspective.getMessageQueue();
- messageQueue.addMessage(controller.getMessage("MSG_ERROR_UNEXPECTED"));
- messageQueue.addMessage(String.valueOf(code));
- messageQueue.addMessage(httpe.getStatusMessage());
- %>
- <jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"></script>
- </head>
- <body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsdlPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_container.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- </script>
- </body>
- </html>
- <%
- }
- }
- }
- }
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/OpenWSDLActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/OpenWSDLActionJSP.jsp
deleted file mode 100644
index b23ad7792..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/OpenWSDLActionJSP.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.OpenWSDLAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- // Prepare the action.
- OpenWSDLAction action = new OpenWSDLAction(controller);
-
- // Load the parameters for the action from the servlet request.
- boolean inputsValid = action.populatePropertyTable(request);
- if (!inputsValid) {
-%>
- <script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- </script>
-<%
- }
- else {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
- <script language="javascript">
- if (isMicrosoftInternetExplorer()) {
- wsdlNavigatorContent.location="<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_navigator_content.jsp"))%>";
- wsdlPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_container.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- }
- else {
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_perspective_content.jsp"))%>";
- }
- </script>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/RefreshWSDLActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/RefreshWSDLActionJSP.jsp
deleted file mode 100644
index 81fc7f7df..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/RefreshWSDLActionJSP.jsp
+++ /dev/null
@@ -1,73 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.RefreshWSDLAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.ClearWSDLAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<%
-// Prepare the action.
-RefreshWSDLAction action = new RefreshWSDLAction(controller);
-
-// The action may be executed via program link.
-boolean paramsValid = action.populatePropertyTable(request);
-if (paramsValid) {
- int nodeID = Integer.parseInt((String)action.getPropertyTable().get(ActionInputs.NODEID));
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node wsdlNode = nodeManager.getNode(nodeID);
-
- // Run the action.
- boolean actionResult = action.execute();
-
- if (actionResult) {
- %>
- <script language="javascript">
- if (isMicrosoftInternetExplorer()) {
- wsdlNavigatorContent.location="<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_navigator_content.jsp"))%>";
- wsdlPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_container.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- }
- else {
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_perspective_content.jsp"))%>";
- }
- </script>
- <%
- }
- else {
- %>
- <script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(wsdlPerspective.getMessage("MSG_QUESTION_REMOVE_WSDL_NODE", wsdlNode.getNodeName()))%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearWSDLAction.getActionLink(nodeID)))%>";
- else {
- wsdlPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_container.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- }
- </script>
- <%
- }
-}
-%>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ResizeWSDLFramesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ResizeWSDLFramesActionJSP.jsp
deleted file mode 100644
index 1fbaf5b32..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ResizeWSDLFramesActionJSP.jsp
+++ /dev/null
@@ -1,54 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Create the action.
- ResizeWSDLFramesAction action = new ResizeWSDLFramesAction(controller);
-
- // Populate the action with the request properties.
- boolean result = action.populatePropertyTable(request);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/wsdl/scripts/wsdlframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (result)
- {
- action.execute(false);
-
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- perspectiveContentFrameset.setAttribute("cols","<%=wsdlPerspective.getPerspectiveContentFramesetCols()%>");
- actionsContainerFrameset.setAttribute("rows","<%=wsdlPerspective.getActionsContainerFramesetRows()%>");
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_perspective_content.jsp"))%>";
-</script>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLNavigatorNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLNavigatorNodeActionJSP.jsp
deleted file mode 100644
index e61449d40..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLNavigatorNodeActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLNavigatorNodeAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-SelectWSDLNavigatorNodeAction action = new SelectWSDLNavigatorNodeAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLPropertiesToolActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLPropertiesToolActionJSP.jsp
deleted file mode 100644
index 147641419..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SelectWSDLPropertiesToolActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SelectWSDLPropertiesToolAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-SelectWSDLPropertiesToolAction action = new SelectWSDLPropertiesToolAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeToolAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchPerspectiveFromWSDLActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchPerspectiveFromWSDLActionJSP.jsp
deleted file mode 100644
index 901c76648..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchPerspectiveFromWSDLActionJSP.jsp
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action
-SwitchPerspectiveFromWSDLAction action = new SwitchPerspectiveFromWSDLAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<jsp:include page="/scripts/switchperspective.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchReadOnlyFragmentViewsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchReadOnlyFragmentViewsActionJSP.jsp
deleted file mode 100644
index 11d64a006..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchReadOnlyFragmentViewsActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-if (wsdlPerspective.getStatusContentType() == WSDLPerspective.STATUS_CONTENT_RESULT_FORM)
- wsdlPerspective.setStatusContentType(WSDLPerspective.STATUS_CONTENT_RESULT_SOURCE);
-else
- wsdlPerspective.setStatusContentType(WSDLPerspective.STATUS_CONTENT_RESULT_FORM);
-%>
-<script language="javascript">
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_result_content.jsp"))%>";
-</script>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchWSDLDetailsViewsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchWSDLDetailsViewsActionJSP.jsp
deleted file mode 100644
index 46138b269..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SwitchWSDLDetailsViewsActionJSP.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.Node,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLDetailsTool"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node wsdlNode = wsdlPerspective.getNodeManager().getSelectedNode();
-WSDLDetailsTool wsdlDetailsTool = (WSDLDetailsTool)wsdlNode.getToolManager().getSelectedTool();
-wsdlDetailsTool.toggleViewId();
-%>
-<script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
-</script>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionAbortJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionAbortJSP.jsp
deleted file mode 100644
index 6911ceb0f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionAbortJSP.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.InvokeWSDLOperationTool"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-
-<%
-InvokeWSDLOperationTool invokeWSDLOperationTool = (InvokeWSDLOperationTool)controller.getWSDLPerspective().getNodeManager().getSelectedNode().getCurrentToolManager().getSelectedTool();
-if (invokeWSDLOperationTool.getFragmentViewID().equals(FragmentConstants.FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM))
- invokeWSDLOperationTool.setFragmentViewID(FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE);
-else
- invokeWSDLOperationTool.setFragmentViewID(FragmentConstants.FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM);
-%>
-<script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
-</script>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionJSP.jsp
deleted file mode 100644
index dca68ff91..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/SynchronizeFragmentViewsActionJSP.jsp
+++ /dev/null
@@ -1,56 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.SynchronizeFragmentViewsAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-
-<%
-SynchronizeFragmentViewsAction action = new SynchronizeFragmentViewsAction(controller);
-boolean paramValid = action.populatePropertyTable(request);
-String viewID = (String)action.getPropertyTable().get(FragmentConstants.FRAGMENT_VIEW_ID);
-boolean sourceToForm = viewID.equals(FragmentConstants.FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM);
-if (sourceToForm) {
- if (paramValid) {
-%>
- <script language="javascript">
- if (!confirm("<%=controller.getWSDLPerspective().getMessage("MSG_QUESTION_SYNC_VIEWS")%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/SynchronizeFragmentViewsActionAbortJSP.jsp"))%>";
- </script>
-<%
- }
- else {
-%>
- <script language="javascript">
- if (!confirm("<%=controller.getWSDLPerspective().getMessage("MSG_QUESTION_SYNC_VIEWS_DESPITE_INVALID_SOURCE_CONTENT")%>"))
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/SynchronizeFragmentViewsActionAbortJSP.jsp"))%>";
- </script>
-<%
- }
-}
-action.execute();
-%>
-<script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
-</script>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ToggleWSDLNavigatorNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ToggleWSDLNavigatorNodeActionJSP.jsp
deleted file mode 100644
index 1e586d042..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/ToggleWSDLNavigatorNodeActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-ToggleWSDLNavigatorNodeAction action = new ToggleWSDLNavigatorNodeAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/ToggleNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/UpdateWSDLBindingActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/UpdateWSDLBindingActionJSP.jsp
deleted file mode 100644
index 11b1a24a5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/UpdateWSDLBindingActionJSP.jsp
+++ /dev/null
@@ -1,34 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.WSDLFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.UpdateWSDLBindingAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- UpdateWSDLBindingAction action = new UpdateWSDLBindingAction(controller);
- action.populatePropertyTable(request);
- action.execute();
-%>
- <script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
- </script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLAddToFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLAddToFavoritesActionJSP.jsp
deleted file mode 100644
index fb8c8d123..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLAddToFavoritesActionJSP.jsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.WSDLAddToFavoritesAction"%>
-
-
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-WSDLAddToFavoritesAction action = new WSDLAddToFavoritesAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<script language="javascript">
- wsdlPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_properties_content.jsp"))%>";
- wsdlStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>";
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLCheckFavoriteExistsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLCheckFavoriteExistsActionJSP.jsp
deleted file mode 100644
index b83258bc2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLCheckFavoriteExistsActionJSP.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- java.util.*" %>
-
-
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<form action="<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/WSDLAddToFavoritesActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-<%
-Enumeration paramNames = request.getParameterNames();
-while (paramNames.hasMoreElements()) {
- String paramName = (String)paramNames.nextElement();
- String[] paramValues = request.getParameterValues(paramName);
- for (int i = 0; i < paramValues.length; i++) {
-%>
- <input type="hidden" name="<%=paramName%>" value="<%=paramValues[i]%>">
-<%
- }
-}
-%>
-</form>
-</body>
-</html>
-
-<%
-// Prepare the action.
-WSDLAddToFavoritesAction action = new WSDLAddToFavoritesAction(controller);
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-if (action.favoriteExists()) {
-%>
- <script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(controller.getWSDLPerspective().getMessage("MSG_QUESTION_OVERWRITE_FAVORITES"))%>"))
- document.forms[0].submit();
- </script>
-<%
-}
-else {
-%>
- <script language="javascript">
- document.forms[0].submit();
- </script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToFileSystemActionJSP.jsp
deleted file mode 100644
index 0df02da62..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToFileSystemActionJSP.jsp
+++ /dev/null
@@ -1,23 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.WSDLImportWSDLToFileSystemAction,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.io.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-WSDLImportWSDLToFileSystemAction action = new WSDLImportWSDLToFileSystemAction(controller);
-%>
-<%@ include file="/actions/ImportToFileSystemAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToWorkbenchActionJSP.jsp
deleted file mode 100644
index d02382edc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLImportWSDLToWorkbenchActionJSP.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.WSDLImportWSDLToWorkbenchAction,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-WSDLImportWSDLToWorkbenchAction action = new WSDLImportWSDLToWorkbenchAction(controller);
-%>
-<%@ include file="/actions/ImportToWorkbenchAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLLaunchWebServiceWizardActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLLaunchWebServiceWizardActionJSP.jsp
deleted file mode 100644
index 8f8760f34..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/actions/WSDLLaunchWebServiceWizardActionJSP.jsp
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.WSDLLaunchWebServiceWizardAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-WSDLLaunchWebServiceWizardAction action = new WSDLLaunchWebServiceWizardAction(controller);
-%>
-<%@ include file="/actions/LaunchWebServiceWizardAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsFormView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsFormView.jsp
deleted file mode 100644
index 3f2d2e65d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsFormView.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- javax.wsdl.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getSelectedNode();
-nodeID.delete(0, nodeID.length());
-nodeID.append(selectedNode.getNodeId());
-InvokeWSDLOperationTool invokeWSDLOperationTool = (InvokeWSDLOperationTool)(selectedNode.getCurrentToolManager().getSelectedTool());
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-Iterator it = operElement.getOrderedBodyParts().iterator();
-while (it.hasNext()) {
- Part part = (Part)it.next();
- IXSDFragment frag = operElement.getFragment(part);
- fragID.delete(0, fragID.length());
- fragID.append(frag.getID());
- %>
- <jsp:include page="<%=frag.getWriteFragment()%>" flush="true"/>
- <%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsSoapView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsSoapView.jsp
deleted file mode 100644
index 01caa92a8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/FragmentsSoapView.jsp
+++ /dev/null
@@ -1,332 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 127443 jesper@selskabet.org - Jesper S Moller
- * 20060726 144824 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.w3c.dom.*,
- javax.wsdl.*,
- javax.wsdl.extensions.ExtensibilityElement,
- javax.wsdl.extensions.soap.SOAPBody,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- WSDLOperationElement operElement = (WSDLOperationElement)(wsdlPerspective.getNodeManager().getSelectedNode().getTreeElement());
- Operation oper = operElement.getOperation();
- Iterator it = operElement.getOrderedBodyParts().iterator();
- StringBuffer sourceContent = new StringBuffer();
- String cachedSourceContent = operElement.getPropertyAsString(WSDLModelConstants.PROP_SOURCE_CONTENT);
- Hashtable soapEnvelopeNamespaceTable = new Hashtable();
- SoapHelper.addDefaultSoapEnvelopeNamespaces(soapEnvelopeNamespaceTable);
- if (cachedSourceContent != null)
- {
- sourceContent.append(cachedSourceContent);
- String[] nsDeclarations = (String[])operElement.getPropertyAsObject(WSDLModelConstants.PROP_SOURCE_CONTENT_NAMESPACE);
- if (nsDeclarations != null)
- {
- for (int i = 0; i < nsDeclarations.length; i++)
- {
- String[] prefix_ns = SoapHelper.decodeNamespaceDeclaration(nsDeclarations[i]);
- if (!soapEnvelopeNamespaceTable.contains(prefix_ns[1]))
- soapEnvelopeNamespaceTable.put(prefix_ns[1], prefix_ns[0]);
- }
- }
- }
- else
- {
- while (it.hasNext())
- {
- Part part = (Part)it.next();
- IXSDFragment frag = operElement.getFragment(part);
- Element[] instanceDocuments = frag.genInstanceDocumentsFromParameterValues(!operElement.isUseLiteral(), soapEnvelopeNamespaceTable, XMLUtils.createNewDocument(null));
- for (int i = 0; i < instanceDocuments.length; i++)
- {
- String serializedFragment = XMLUtils.serialize(instanceDocuments[i], true);
- if (serializedFragment == null)
- {
- // On Some JRE's (Sun java 5) elements with an attribute with the xsi
- // prefix do not serialize properly because the namespace can not
- // be found so the string returned comes back as null. To workaround
- // this problem try adding in the namespace declaration attribute
- // and retry the serialization (bug 144824)
- instanceDocuments[i].setAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");
- serializedFragment = XMLUtils.serialize(instanceDocuments[i], true);
- }
-
- sourceContent.append(serializedFragment);
- sourceContent.append(HTMLUtils.LINE_SEPARATOR);
- }
- }
- }
-
- Enumeration enm = soapEnvelopeNamespaceTable.keys();
- while (enm.hasMoreElements())
- {
- String uri = (String)enm.nextElement();
- String prefix = (String)soapEnvelopeNamespaceTable.get(uri);
- String value = SoapHelper.encodeNamespaceDeclaration(prefix, uri);
- %>
- <input type="hidden" name="<%=FragmentConstants.SOURCE_CONTENT_NAMESPACE%>" value="<%=value%>">
- <%
- }
-%>
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td height=30 valign="bottom" class="labels">
-<%
- Document doc = XMLUtils.createNewDocument(null);
- Element soapEnvelopeElement = SoapHelper.createSoapEnvelopeElement(doc,soapEnvelopeNamespaceTable);
- StringBuffer header = new StringBuffer("<");
- header.append(soapEnvelopeElement.getTagName());
- NamedNodeMap attributes = soapEnvelopeElement.getAttributes();
- int numberOfAttributes = attributes.getLength();
- if (numberOfAttributes == 0)
- header.append('>');
-%>
- <%=HTMLUtils.charactersToHTMLEntitiesStrict(header.toString())%>
- </td>
- </tr>
-</table>
-<%
- for (int i=0;i<numberOfAttributes;i++)
- {
- header.setLength(0);
- Node attrNode = attributes.item(i);
- header.append(attrNode.getNodeName()).append("=\"").append(attrNode.getNodeValue()).append('\"');
- if (i == numberOfAttributes-1)
- header.append('>');
-%>
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td width=8>
- <img width=8 height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
-<%
- }
-
- Element soapBodyElement = SoapHelper.createSoapBodyElement(doc);
- header.setLength(0);
- header.append('<').append(soapBodyElement.getTagName());
- attributes = soapBodyElement.getAttributes();
- numberOfAttributes = attributes.getLength();
- if (numberOfAttributes == 0)
- header.append('>');
-%>
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td width=8>
- <img width=8 height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
-<%
- for (int i=0;i<numberOfAttributes;i++)
- {
- header.setLength(0);
- Node attrNode = attributes.item(i);
- header.append(attrNode.getNodeName()).append("=\"").append(attrNode.getNodeValue()).append('\"');
- if (i == numberOfAttributes-1)
- header.append('>');
-%>
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td width=16>
- <img width=16 height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
-<table>
-<%
- }
-
- Element wrapperElement = null;
- if (!operElement.isDocumentStyle())
- {
- // Must be RPC style.
- String encodingNamespaceURI = null;
- /*
- * WS-I: In a rpc-literal SOAP binding, the serialized child element of the
- * soap:Body element consists of a wrapper element, whose namespace is the value
- * of the namespace attribute of the soapbind:body element and whose local name is
- * either the name of the operation or the name of the operation suffixed
- * with "Response". The namespace attribute is required, as opposed to being
- * optional, to ensure that the children of the soap:Body element are namespace-
- * qualified.
- */
- BindingOperation bindingOperation = operElement.getBindingOperation();
- if (bindingOperation != null)
- {
- BindingInput bindingInput = bindingOperation.getBindingInput();
- if (bindingInput != null)
- {
- List extElements = bindingInput.getExtensibilityElements();
- for (Iterator extElementsIt = extElements.iterator(); extElementsIt.hasNext();)
- {
- ExtensibilityElement extElement = (ExtensibilityElement)extElementsIt.next();
- if (extElement instanceof SOAPBody)
- {
- encodingNamespaceURI = ((SOAPBody)extElement).getNamespaceURI();
- break;
- }
- }
- }
- }
- // If the namespace of the soapbind:body element is not set, get it from the operation element
- if (encodingNamespaceURI == null)
- encodingNamespaceURI = operElement.getEncodingNamespace();
- // If the namespace of the operation element is not set, get it from the definition element
- if (encodingNamespaceURI == null)
- {
- WSDLBindingElement bindingElement = (WSDLBindingElement)operElement.getParentElement();
- WSDLServiceElement serviceElement = (WSDLServiceElement)bindingElement.getParentElement();
- WSDLElement wsdlElement = (WSDLElement)serviceElement.getParentElement();
- Definition definition = wsdlElement.getDefinition();
- encodingNamespaceURI = definition.getTargetNamespace();
- }
- // Generate an RPC style wrapper element.
- String encodingStyle = (operElement.isUseLiteral() ? null : operElement.getEncodingStyle());
- wrapperElement = SoapHelper.createRPCWrapperElement(doc,soapEnvelopeNamespaceTable,encodingNamespaceURI,oper.getName(),encodingStyle);
- header.setLength(0);
- header.append('<').append(wrapperElement.getTagName());
- attributes = wrapperElement.getAttributes();
- numberOfAttributes = attributes.getLength();
- if (numberOfAttributes == 0)
- header.append('>');
-%>
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td width=16>
- <img width=16 height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
-<%
- for (int i=0;i<numberOfAttributes;i++)
- {
- header.setLength(0);
- Node attrNode = attributes.item(i);
- header.append(attrNode.getNodeName()).append("=\"").append(attrNode.getNodeValue()).append('\"');
- if (i == numberOfAttributes-1)
- header.append('>');
-%>
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td width=24>
- <img width=24 height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
-<%
- }
- }
-
- int sourceContentIndentationImageWidth = 16;
- if (wrapperElement != null)
- sourceContentIndentationImageWidth += 8;
-%>
-<table border=0 cellpadding=3 cellspacing=3>
- <tr>
- <td width=<%=sourceContentIndentationImageWidth%>>
- <img width=<%=sourceContentIndentationImageWidth%> height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="center" align="left" nowrap>
- <input type="file" name="<%=WSDLActionInputs.SELECTED_FILE%>" title="<%=wsdlPerspective.getMessage("FORM_CONTROL_TITLE_SOAP_FILE")%>">
- </td>
- <td valign="center" align="left" class="labels" nowrap>
- <a href="javascript:showNewFileContents()"><%=wsdlPerspective.getMessage("BUTTON_LABEL_LOAD")%></a>
- </td>
- <td valign="center" align="left" class="labels" nowrap>
- <a href="javascript:saveSourceContent()"><%=wsdlPerspective.getMessage("BUTTON_LABEL_SAVE_AS")%></a>
- </td>
- </tr>
-</table>
-<table width="95%" border=0 cellpadding=3 cellspacing=3>
- <tr>
- <td width=<%=sourceContentIndentationImageWidth%>>
- <img width=<%=sourceContentIndentationImageWidth%> height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td width="100%">
- <textarea id="soap_body_content" name="<%=FragmentConstants.SOURCE_CONTENT%>" class="bigtextareaenter"><%=HTMLUtils.charactersToHTMLEntitiesStrict(sourceContent.toString())%></textarea>
- </td>
- </tr>
-</table>
-<%
- if (wrapperElement != null)
- {
- header.setLength(0);
- header.append("</").append(wrapperElement.getTagName()).append('>');
-%>
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td width=16>
- <img width=16 height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
-<%
- }
-
- header.setLength(0);
- header.append("</").append(soapBodyElement.getTagName()).append('>');
-%>
-<table width="95%" cellpadding=1 cellspacing=0>
- <tr>
- <td width=8>
- <img width=8 height=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
-<%
- header.setLength(0);
- header.append("</").append(soapEnvelopeElement.getTagName()).append('>');
-%>
-<table width="95%" cellpadding=1 cellspacing=0>
- <tr>
- <td valign="bottom" class="labels">
- <%=HTMLUtils.charactersToHTMLEntities(header.toString())%>
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/InvokeWSDLOperationForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/InvokeWSDLOperationForm.jsp
deleted file mode 100644
index 9d9e7ea5f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/InvokeWSDLOperationForm.jsp
+++ /dev/null
@@ -1,217 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060512 121210 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- javax.wsdl.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- Node selectedNode = wsdlPerspective.getNodeManager().getSelectedNode();
- InvokeWSDLOperationTool invokeWSDLOperationTool = (InvokeWSDLOperationTool)(selectedNode.getCurrentToolManager().getSelectedTool());
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- String fragmentViewID = invokeWSDLOperationTool.getFragmentViewID();
- int operationType = operElement.getOperationType();
- String invokeWSDLOperationURL = response.encodeURL(controller.getPathWithContext(invokeWSDLOperationTool.getFormActionLink(operationType,fragmentViewID)));
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FORM_TITLE_INVOKE_WSDL_OPERATION")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/wsdl/scripts/fragmenttables.jsp" flush="true"/>
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<script language="javascript">
- function showNewFileContents()
- {
- var form = document.forms[0];
- if (handleSubmit(form))
- {
- form.<%=WSDLActionInputs.SUBMISSION_ACTION%>.value = "<%=WSDLActionInputs.SUBMISSION_ACTION_BROWSE_FILE%>";
- form.submit();
- form.<%=WSDLActionInputs.SUBMISSION_ACTION%>.value = "<%=invokeWSDLOperationURL%>";
- resetSubmission();
- }
- }
-
- function saveSourceContent()
- {
- var form = document.forms[0];
- if (handleSubmit(form))
- {
- form.<%=WSDLActionInputs.SUBMISSION_ACTION%>.value = "<%=WSDLActionInputs.SUBMISSION_ACTION_SAVE_AS%>";
- form.submit();
- form.<%=WSDLActionInputs.SUBMISSION_ACTION%>.value = "<%=invokeWSDLOperationURL%>";
- resetSubmission();
- }
- }
-
- function closeChildWindows()
- {
- closeXSDInfoDialog();
- closeCalendarBrowser();
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeChildWindows()">
-<div id="contentborder">
- <form action="<%=invokeWSDLOperationURL%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
- <input type="hidden" name="<%=WSDLActionInputs.SUBMISSION_ACTION%>" value="<%=WSDLActionInputs.SUBMISSION_ACTION_FORM%>">
- <%
- String titleImagePath = "wsdl/images/invoke_wsdl_operation_highlighted.gif";
- String title = wsdlPerspective.getMessage("ALT_INVOKE_WSDL_OPERATION");
- if (operationType == WSDLOperationElement.OPERATION_TYPE_SOAP)
- {
- %>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <img src="<%=response.encodeURL(controller.getPathWithContext(titleImagePath))%>" alt="">
- <strong><%=title%></strong>
- </td>
- <td width="*">&nbsp;</td>
- <td align="right" class="labels">
-<%
- if (fragmentViewID.equals(FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE))
- {
-%>
- <a href="javascript:synchronizeFragmentViews('<%=FragmentConstants.FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM%>')" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_FORM_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_FORM")%></a>
-<%
- }
- else
- {
-%>
- <a href="javascript:synchronizeFragmentViews('<%=FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE%>')" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_SOURCE_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_SOURCE")%></a>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td height=20 colspan=3><img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"></td>
- </tr>
-</table>
- <%
- }
- else
- {
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- }
- %>
- <table>
- <tr>
- <td class="labels">
-
- <%
- //here we determine if there are any input parameters for this operation
- boolean hasInput = true;
- selectedNode = wsdlPerspective.getNodeManager().getSelectedNode();
- Iterator iter = operElement.getOrderedBodyParts().iterator();
- String operationName = operElement.getName();
-
- while (iter.hasNext())
- {
- Part part = (Part)iter.next();
- IXSDFragment frag = operElement.getFragment(part);
- org.eclipse.xsd.XSDTypeDefinition def = frag.getXSDTypeDefinition();
- //we check the type of the operation's input message
- if (def == null)
- {
- //this is the pattern <element name="foo"></element>
- hasInput = false;
- }
- else
- {
- org.w3c.dom.Element element = def.getElement();
- if (element.getLocalName().equals("complexType") && !element.hasChildNodes())
- { //this is the pattern <element name="foo"><complexType/></element>
- //there could be other patterns with no input but they are uncommon
- hasInput = false;
- }
- }
- }
- if (hasInput)
- {
- out.print(wsdlPerspective.getMessage("FORM_LABEL_INVOKE_WSDL_OPERATION_DESC"));
- }
- else
- {
- out.print(wsdlPerspective.getMessage("FORM_LABEL_INVOKE_WSDL_OPERATION_DESC_NO_INPUT", operationName ));
- }
- %>
-
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <fieldset class="keylinefieldset">
- <legend class="labels">
- <label for="<%=WSDLActionInputs.END_POINT%>"><%=wsdlPerspective.getMessage("FORM_LABEL_END_POINTS")%></label>
- </legend>
- <table border=0 cellpadding=10 cellspacing=0>
- <tr>
- <td>
- <select id="<%=WSDLActionInputs.END_POINT%>" name="<%=WSDLActionInputs.END_POINT%>" class="selectlist">
- <%
- WSDLBindingElement bindingElement = (WSDLBindingElement)operElement.getParentElement();
- String[] endPoints = bindingElement.getEndPoints();
- String currEndPoint = invokeWSDLOperationTool.getEndPoint();
- for (int i = 0; i < endPoints.length; i++)
- {
- %>
- <option value="<%=endPoints[i]%>" <%if (endPoints[i].equals(currEndPoint)) {%>selected<%}%>><%=endPoints[i]%>
- <%
- }
- %>
- </select>
- </td>
- </tr>
- </table>
- </fieldset>
- </td>
- </tr>
- </table>
- <%
- if (fragmentViewID.equals(FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE))
- {
- %>
-<jsp:include page="/wsdl/forms/FragmentsSoapView.jsp" flush="true"/>
- <%
- }
- else
- {
- %>
-<jsp:include page="/wsdl/forms/FragmentsFormView.jsp" flush="true"/>
- <%
- }
- %>
- <jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/OpenWSDLForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/OpenWSDLForm.jsp
deleted file mode 100644
index 15ae52e4b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/OpenWSDLForm.jsp
+++ /dev/null
@@ -1,84 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- FormTool formTool = (FormTool)wsdlPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FORM_TITLE_OPEN_WSDL")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/wsdl/scripts/wsdlpanes.jsp" flush="true"/>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-<jsp:include page="/scripts/wsdlbrowser.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin" onUnload="closeWSDLBrowser()">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/OpenWSDLActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
- <%
- String titleImagePath = "wsdl/images/open_wsdl_highlighted.gif";
- String title = wsdlPerspective.getMessage("ALT_OPEN_WSDL");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=wsdlPerspective.getMessage("FORM_LABEL_OPEN_WSDL_DESC")%>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom" nowrap>
- <label for="input_wsdl_url"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></label>
- <%
- if (!formTool.isInputValid(ActionInputs.QUERY_INPUT_WSDL_URL)) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- String wsdlUrl = (String)formTool.getProperty(ActionInputs.QUERY_INPUT_WSDL_URL);
- if (wsdlUrl == null)
- wsdlUrl = "";
- %>
- </td>
- <td height=25 valign="bottom" nowrap>
- <a href="javascript:openWSDLBrowser('contentborder',<%=ActionInputs.WSDL_TYPE_SERVICE%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td width="90%">&nbsp;</td>
- </tr>
- <tr>
- <td colspan=3>
- <input type="text" id="input_wsdl_url" name="<%=ActionInputs.QUERY_INPUT_WSDL_URL%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsdlUrl)%>" size="50" class="textenter">
- </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-<script language="javascript">
- closeWSDLBrowser();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ProcessWSDLFramesetsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ProcessWSDLFramesetsForm.jsp
deleted file mode 100644
index 3e52f4d3d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ProcessWSDLFramesetsForm.jsp
+++ /dev/null
@@ -1,27 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"/>
-<form action="<%=response.encodeURL(controller.getPathWithContext(formAction.toString()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" style="margin-top:0;margin-bottom:0">
- <input name="<%=ActionInputs.FRAME_NAME%>" type="hidden" value="<%=formFrameName%>">
- <input name="<%=WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>" type="hidden" value="<%=wsdlPerspective.getPerspectiveContentFramesetCols()%>">
- <input name="<%=WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>" type="hidden" value="<%=wsdlPerspective.getActionsContainerFramesetRows()%>">
-</form>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsFormView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsFormView.jsp
deleted file mode 100644
index c8a8c4388..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsFormView.jsp
+++ /dev/null
@@ -1,222 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.xsd.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.Node,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.w3c.dom.*,
- javax.wsdl.*,
- javax.xml.parsers.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%!
-private Element soapResponse_ = null;
-
-private Element[] parseSOAPResponse(SOAPMessageQueue soapMessageQueue, WSDLOperationElement operElement)
-{
- String messages = soapMessageQueue.getMessagesFromList();
- try
- {
- soapResponse_ = XMLUtils.stringToElement(messages, true);
- NodeList nl = soapResponse_.getElementsByTagNameNS(FragmentConstants.URI_SOAP_ENV, FragmentConstants.QNAME_LOCAL_NAME_BODY);
- if (nl.getLength() > 0)
- {
- Element soapBody = (Element)nl.item(0);
- NodeList soapFault = soapBody.getElementsByTagNameNS(FragmentConstants.URI_SOAP_ENV, FragmentConstants.QNAME_LOCAL_NAME_FAULT);
- if (soapFault.getLength() > 0)
- return new Element[0];
- NodeList instanceList;
- if (operElement.isDocumentStyle())
- instanceList = soapBody.getChildNodes();
- else
- {
- NodeList rpcWrapper = soapBody.getElementsByTagNameNS("*", operElement.getOperation().getOutput().getMessage().getQName().getLocalPart());
-
- /*
- * HACK - Some of the web services out on the internet do not
- * set their RPC wrapper properly. It should be set to the output
- * message name of the selected operation. The hack is to
- * assume the first element inside the body element is the
- * RPC wrapper.
- */
- if (rpcWrapper.getLength() <= 0)
- rpcWrapper = soapBody.getElementsByTagNameNS("*", "*");
-
- if (rpcWrapper.getLength() > 0)
- instanceList = rpcWrapper.item(0).getChildNodes();
- else
- return null;
- }
- return fixSOAPResponse(instanceList, operElement);
- }
- }
- catch (Throwable t) {
- t.printStackTrace();
- }
- return null;
-}
-
-/*
-* HACK - The root element tag name of the instance document
-* is ambiguous. It lands on a very grey area between the SOAP
-* spec and the WSDL spec. The two specs do not explicitly define
-* that the root element tag name must match the name of the
-* WSDL part. The hack is to treat elements with different tag names
-* as instances of the WSDL part.
-*/
-private Element[] fixSOAPResponse(NodeList instanceList, WSDLOperationElement operElement)
-{
- Vector instanceVector = new Vector();
- for (int i = 0; i < instanceList.getLength(); i++)
- {
- Object object = instanceList.item(i);
- if (object != null && (object instanceof Element))
- instanceVector.add(object);
- }
- Element[] instanceDocuments = new Element[instanceVector.size()];
- Operation oper = operElement.getOperation();
- Map partsMap = oper.getOutput().getMessage().getParts();
- if (partsMap.size() == 1)
- {
- Iterator it = partsMap.values().iterator();
- IXSDFragment frag = operElement.getFragment((Part)it.next(), false);
- for (int i = 0; i < instanceVector.size(); i++)
- {
- Element element = (Element)instanceVector.get(i);
- if (!element.getTagName().equals(frag.getName()))
- {
- Document doc = element.getOwnerDocument();
- NodeList children = element.getChildNodes();
- NamedNodeMap attributes = element.getAttributes();
- element = doc.createElement(frag.getName());
- for (int j = 0; j < children.getLength(); j++)
- {
- if (children.item(j) != null)
- {
- element.appendChild(children.item(j));
- // When you append a node from one element to another,
- // the original element will lose its reference to this node,
- // therefore, the size of the node list will decrease by 1.
- j--;
- }
- }
- for (int j = 0; j < attributes.getLength(); j++)
- {
- Object attr = attributes.item(j);
- if (attr != null && (attr instanceof Attr))
- {
- Attr attribute = (Attr)attr;
- element.setAttribute(attribute.getName(), attribute.getValue());
- }
- }
- }
- instanceDocuments[i] = element;
- }
- }
- else
- instanceVector.copyInto(instanceDocuments);
- return instanceDocuments;
-}
-%>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-wsdlPerspective.setStatusContentType(WSDLPerspective.STATUS_CONTENT_RESULT_FORM);
-Node operNode = wsdlPerspective.getOperationNode();
-nodeID.delete(0, nodeID.length());
-nodeID.append(operNode.getNodeId());
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-Operation oper = operElement.getOperation();
-if (oper.getOutput() == null)
-{
-%>
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" class="labels">
- <%=wsdlPerspective.getMessage("FORM_LABEL_NOTHING_TO_DISPLAY_IN_FORM_VIEW")%>
- </td>
- </tr>
- </table>
-<%
-}
-else
-{
- boolean cached = ((Boolean)operElement.getPropertyAsObject(WSDLActionInputs.SOAP_RESPONSE_CACHED)).booleanValue();
- Element[] instanceDocuments = null;
- if (!cached)
- {
- SOAPMessageQueue soapMessageQueue = wsdlPerspective.getSOAPResponseQueue();
- instanceDocuments = parseSOAPResponse(soapMessageQueue, operElement);
- }
- if (!cached && instanceDocuments == null)
- {
- %>
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" class="labels">
- <%=wsdlPerspective.getMessage("FORM_LABEL_SOAP_RESPONSE_FAILED_VALIDATION_IN_FORM_VIEW")%>
- </td>
- </tr>
- </table>
- <%
- }
- else if (!cached && instanceDocuments.length <= 0)
- {
- %>
- <table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" class="labels">
- <%=wsdlPerspective.getMessage("FORM_LABEL_NOTHING_TO_DISPLAY_IN_FORM_VIEW")%>
- </td>
- </tr>
- </table>
- <%
- }
- else
- {
- Map partsMap = oper.getOutput().getMessage().getParts();
- Iterator it = partsMap.values().iterator();
- Hashtable uriReferences = null;
- while (it.hasNext())
- {
- IXSDFragment fragment = operElement.getFragment((Part)it.next(), false);
- if (!cached)
- {
- if (!operElement.isUseLiteral() && (fragment instanceof ISOAPEncodingWrapperFragment))
- {
- if (uriReferences == null)
- uriReferences = SOAPEncodingWrapperFragment.parseURIReferences(soapResponse_, true);
- ((ISOAPEncodingWrapperFragment)fragment).setURIReferences(uriReferences);
- }
- fragment.setParameterValuesFromInstanceDocuments(instanceDocuments);
- }
- fragID.delete(0, fragID.length());
- fragID.append(fragment.getID());
- %>
- <jsp:include page="<%=fragment.getReadFragment()%>" flush="true"/>
- <%
- }
- operElement.setPropertyAsObject(WSDLActionInputs.SOAP_RESPONSE_CACHED, new Boolean(true));
- }
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsSoapView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsSoapView.jsp
deleted file mode 100644
index 4931ebff9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/ReadOnlyFragmentsSoapView.jsp
+++ /dev/null
@@ -1,119 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060509 103072 mahutch@ca.ibm.com - Mark Hutchinson
- * 20060515 140607 mahutch@ca.ibm.com - Mark Hutchinson
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.Node,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLOperationElement" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-wsdlPerspective.setStatusContentType(WSDLPerspective.STATUS_CONTENT_RESULT_SOURCE);
-Node operNode = wsdlPerspective.getOperationNode();
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-String soapRequestTableContainerId = "SOAPRequest";
-StringBuffer soapRequestTwistImageName = new StringBuffer("x");
-soapRequestTwistImageName.append(soapRequestTableContainerId);
-String soapResponseTableContainerId = "SOAPResponse";
-StringBuffer soapResponseTwistImageName = new StringBuffer("x");
-soapResponseTwistImageName.append(soapResponseTableContainerId);
-%>
-
-<script language="javascript">
- var sectionIds = ["<%=soapRequestTableContainerId%>","<%=soapResponseTableContainerId%>"];
- function toggleSOAPEnvelope(soapEnvelopeType,twistImageName)
- {
-<%
- // If both envelopes are expanded, each should have 50% height. Otherwise, the remaining displayed envelope should be reset to 100% height.
-%>
- var soapSectionId = sectionIds[soapEnvelopeType];
- var soapSection = document.getElementById(soapSectionId);
- var soapSectionTable = getTable(soapSectionId);
- var otherSoapSectionId = sectionIds[1-soapEnvelopeType];
- var otherSoapSection = document.getElementById(otherSoapSectionId);
- var otherSoapSectionTable = getTable(otherSoapSectionId);
- if (soapSection.style.display == "none")
- {
- if (otherSoapSection.style.display == "")
- {
- soapSectionTable.height = "50%";
- otherSoapSectionTable.height = "50%";
- }
- else
- soapSectionTable.height = "100%";
- }
- else
- {
- if (otherSoapSection.style.display == "")
- otherSoapSectionTable.height = "100%";
- }
- twist(soapSectionId,twistImageName);
- }
-</script>
-
-<table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11><a href="javascript:toggleSOAPEnvelope(<%=WSDLActionInputs.SOAP_ENVELOPE_TYPE_REQUEST%>,'<%=soapRequestTwistImageName.toString()%>')"><img name="<%=soapRequestTwistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsdlPerspective.getMessage("FORM_LABEL_SOAP_REQUEST_ENVELOPE")%></strong>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<div id="<%=soapRequestTableContainerId%>" style="display:none">
- <table width="95%" height="50%" border=0 cellpadding=0 cellpadding=0>
- <tr>
- <td>
- <iframe name="requestEnvelopeFrame" frameborder=0 src="<%=response.encodeURL(controller.getPathWithContext(wsdlPerspective.getSOAPEnvelopeXMLLink(WSDLActionInputs.SOAP_ENVELOPE_TYPE_REQUEST)))%>" width="95%" height="100%"></iframe>
- </td>
- </tr>
- </table>
-</div>
-<script language="javascript">
- twist("<%=soapRequestTableContainerId%>","<%=soapRequestTwistImageName.toString()%>");
-</script>
-
-<%
-if (operElement.getOperation().getOutput() != null)
-{
-%>
-<table width="95%" border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11><a href="javascript:toggleSOAPEnvelope(<%=WSDLActionInputs.SOAP_ENVELOPE_TYPE_RESPONSE%>,'<%=soapResponseTwistImageName.toString()%>')"><img name="<%=soapResponseTwistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsdlPerspective.getMessage("FORM_LABEL_SOAP_RESPONSE_ENVELOPE")%></strong>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<div id="<%=soapResponseTableContainerId%>" style="display:none">
- <table width="95%" height="50%" border=0 cellpadding=0 cellpadding=0>
- <tr>
- <td>
- <!-- the onload call is to fix bug 140607 in bugzilla -->
- <iframe onload="javascript:requestEnvelopeFrame.document.location.reload()" frameborder=0 src="<%=response.encodeURL(controller.getPathWithContext(wsdlPerspective.getSOAPEnvelopeXMLLink(WSDLActionInputs.SOAP_ENVELOPE_TYPE_RESPONSE)))%>" width="95%" height="100%"></iframe>
- </td>
- </tr>
- </table>
-</div>
-<script language="javascript">
- twist("<%=soapResponseTableContainerId%>","<%=soapResponseTwistImageName.toString()%>");
-</script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLBindingDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLBindingDetailsForm.jsp
deleted file mode 100644
index 8647191ec..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLBindingDetailsForm.jsp
+++ /dev/null
@@ -1,111 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- Node bindingNode = wsdlPerspective.getNodeManager().getSelectedNode();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FORM_TITLE_WSDL_BINDING_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript">
- var rowCheckboxName = "rowCheckboxName";
-</script>
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<form action="<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/UpdateWSDLBindingActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
-<%
- String titleImagePath = "wsdl/images/open_wsdl_highlighted.gif";
- String title = wsdlPerspective.getMessage("ALT_WSDL_BINDING_DETAILS");
- WSDLBindingElement wsdlBindingElement = (WSDLBindingElement)bindingNode.getTreeElement();
- Vector operationNodes = bindingNode.getChildNodes();
-%>
-<%@ include file = "/forms/formheader.inc" %>
-<input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=bindingNode.getNodeId()%>">
-<table>
- <tr>
- <td class="labels"><%=wsdlPerspective.getMessage("FORM_LABEL_BINDING_DETAILS_DESC",wsdlPerspective.getBindingTypeString(wsdlBindingElement.getBindingType()))%></td>
- </tr>
-</table>
-<%
- String documentation = wsdlBindingElement.getPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION);
- if (documentation.length() > 0)
- {
-%>
-<table>
- <tr>
- <td height=20 valign="bottom" class="labels"><%=documentation%></td>
- </tr>
- <tr>
- <td height=10>&nbsp;</td>
- </tr>
-</table>
-<%
- }
-
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("Operations");
- sectionHeaderInfo.setOtherProperties(operationNodes);
-%>
-<jsp:include page="/wsdl/forms/operations_table.jsp" flush="true"/>
-<%
- if (operationNodes.size() > 0)
- {
-%>
-<script language="javascript">
- twist("Operations","xOperations");
-</script>
-<%
- }
-
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("Endpoints");
- sectionHeaderInfo.setOtherProperties(wsdlBindingElement);
-%>
-<table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
-</table>
-<jsp:include page="/wsdl/forms/endpoint_table.jsp" flush="true"/>
-<%
- if (wsdlBindingElement.getEndPoints().length > 0)
- {
-%>
-<script language="javascript">
- twistOpen("Endpoints");
-</script>
-<%
- }
-%>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
-</form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp
deleted file mode 100644
index eead075e0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp
+++ /dev/null
@@ -1,104 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.Node,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- Node wsdlNode = wsdlPerspective.getNodeManager().getSelectedNode();
- ToolManager currentToolManager = wsdlNode.getCurrentToolManager();
- WSDLDetailsTool wsdlDetailsTool = (WSDLDetailsTool)currentToolManager.getSelectedTool();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FORM_TITLE_WSDL_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- function switchWSDLDetailsView() {
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/SwitchWSDLDetailsViewsActionJSP.jsp"))%>";
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<%
- String titleImagePath = "wsdl/images/open_wsdl_highlighted.gif";
- String title = wsdlPerspective.getMessage("ALT_WSDL_DETAILS");
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <img src="<%=response.encodeURL(controller.getPathWithContext(titleImagePath))%>" alt="">
- <strong><%=title%></strong>
- </td>
- <td width="*">&nbsp;</td>
- <td align="right" class="labels">
-<%
- if (wsdlDetailsTool.getViewId() == WSDLDetailsTool.SOURCE_VIEW_ID)
- {
-%>
- <a href="javascript:switchWSDLDetailsView()" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_FORM_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_FORM")%></a>
-<%
- }
- else
- {
-%>
- <a href="javascript:switchWSDLDetailsView()" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_SOURCE_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_SOURCE")%></a>
-<%
- }
-%>
- </td>
- </tr>
- <tr>
- <td height=20 colspan=3><img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"></td>
- </tr>
-</table>
-<%
- if (wsdlDetailsTool.getViewId() == WSDLDetailsTool.FORM_VIEW_ID)
- {
-%>
- <jsp:include page="/wsdl/forms/WSDLDetailsFormView.jsp" flush="true"/>
-<%
- }
- else
- {
-%>
- <table width="95%" height="100%" border=0 cellpadding=0 cellpadding=0>
- <tr>
- <td>
- <iframe src="<%=response.encodeURL(controller.getPathWithContext("/wsdl/forms/WSDLDetailsSourceView.jsp"))%>" width="95%" height="100%"></iframe>
- </td>
- </tr>
- </table>
-<%
- }
-%>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsFormView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsFormView.jsp
deleted file mode 100644
index 5525c532c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsFormView.jsp
+++ /dev/null
@@ -1,106 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.Node,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<table>
- <tr>
- <td class="labels"><%=wsdlPerspective.getMessage("FORM_LABEL_WSDL_DETAILS_DESC")%></td>
- </tr>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
-</table>
-<%
-Node wsdlNode = wsdlPerspective.getNodeManager().getSelectedNode();
-WSDLElement wsdlElement = (WSDLElement)wsdlNode.getTreeElement();
-String documentation = wsdlElement.getPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION);
-if (documentation != null && documentation.length() > 0)
-{
-%>
-<table>
- <tr>
- <td height=20 valign="bottom" class="labels"><%=documentation%></td>
- </tr>
-</table>
-<%
-}
-%>
-<table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></th>
- </tr>
- <tr>
- <td class="tablecells"><%=wsdlElement.getWsdlUrl()%></td>
- </tr>
-</table>
-<table>
- <tr>
- <td height=10>&nbsp;</td>
- </tr>
-</table>
-<%
-sectionHeaderInfo.clear();
-sectionHeaderInfo.setContainerId("Services");
-Vector serviceNodes = wsdlNode.getChildNodes();
-sectionHeaderInfo.setOtherProperties(serviceNodes);
-%>
-<jsp:include page="/wsdl/forms/services_table.jsp" flush="true"/>
-<table>
- <tr>
- <td height=10>&nbsp;</td>
- </tr>
-</table>
-<%
-Vector bindingNodes = new Vector();
-for (int i=0;i<serviceNodes.size();i++)
-{
- Node serviceNode = (Node)serviceNodes.elementAt(i);
- Vector serviceBindingNodes = serviceNode.getChildNodes();
- for (int j=0;j<serviceBindingNodes.size();j++)
- {
- Node serviceBindingNode = (Node)serviceBindingNodes.elementAt(j);
- bindingNodes.addElement(serviceBindingNode);
- }
-}
-sectionHeaderInfo.clear();
-sectionHeaderInfo.setContainerId("Bindings");
-sectionHeaderInfo.setOtherProperties(bindingNodes);
-%>
-<jsp:include page="/wsdl/forms/bindings_table.jsp" flush="true"/>
-<script language="javascript">
-<%
-if (serviceNodes.size() > 0)
-{
-%>
- twist("Services","xServices");
-<%
-}
-if (bindingNodes.size() > 0)
-{
-%>
- twist("Bindings","xBindings");
-<%
-}
-%>
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsSourceView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsSourceView.jsp
deleted file mode 100644
index 470a4b5a6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsSourceView.jsp
+++ /dev/null
@@ -1,45 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/xml; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl,
- java.io.*,
- javax.wsdl.*,
- javax.wsdl.xml.*,
- javax.wsdl.factory.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-NodeManager nodeManager = wsdlPerspective.getNodeManager();
-Node selectedNode = nodeManager.getSelectedNode();
-WSDLElement wsdlElement = (WSDLElement)selectedNode.getTreeElement();
-Definition definition = wsdlElement.getDefinition();
-WSDLFactory wsdlFactory = new WSDLFactoryImpl();
-WSDLWriter wsdlWriter = wsdlFactory.newWSDLWriter();
-StringWriter stringWriter = new StringWriter();
-try
-{
- wsdlWriter.writeWSDL(definition, stringWriter);
- %>
- <%=stringWriter.toString()%>
- <%
-}
-catch (WSDLException wsdle)
-{
- %>
- <?xml version="1.0"?>
- <%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLImportWSDLToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLImportWSDLToWorkbenchForm.jsp
deleted file mode 100644
index 1ad9d5c01..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLImportWSDLToWorkbenchForm.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.WSDLPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request">
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- String wsdlUrl = ((WSDLElement)selectedNode.getTreeElement()).getWsdlUrl();
- formProperties.put("formActionLink","wsdl/actions/WSDLImportWSDLToWorkbenchActionJSP.jsp");
- formProperties.put("wsdlURL",wsdlUrl);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/ImportWSDLAndWSILToWorkbenchForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLLaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLLaunchWebServiceWizardForm.jsp
deleted file mode 100644
index 893d80cea..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLLaunchWebServiceWizardForm.jsp
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="formActionLink" class="java.lang.StringBuffer" scope="request">
-<%
-formActionLink.append("wsdl/actions/WSDLLaunchWebServiceWizardActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:include page="/forms/LaunchWebServiceWizardForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLServiceDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLServiceDetailsForm.jsp
deleted file mode 100644
index 4e24cc8e3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLServiceDetailsForm.jsp
+++ /dev/null
@@ -1,79 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- Node serviceNode = wsdlPerspective.getNodeManager().getSelectedNode();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FORM_TITLE_WSDL_SERVICE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<%
- String titleImagePath = "wsdl/images/open_wsdl_highlighted.gif";
- String title = wsdlPerspective.getMessage("ALT_WSDL_SERVICE_DETAILS");
-%>
-<%@ include file = "/forms/formheader.inc" %>
-<table>
- <tr>
- <td class="labels"><%=wsdlPerspective.getMessage("FORM_LABEL_SERVICE_DETAILS_DESC")%></td>
- </tr>
-</table>
-<%
- WSDLServiceElement wsdlServiceElement = (WSDLServiceElement)serviceNode.getTreeElement();
- String documentation = wsdlServiceElement.getPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION);
- if (documentation.length() > 0)
- {
-%>
-<table>
- <tr>
- <td height=20 valign="bottom" class="labels"><%=documentation%></td>
- </tr>
- <tr>
- <td height=10>&nbsp;</td>
- </tr>
-</table>
-<%
- }
- Vector bindingNodes = serviceNode.getChildNodes();
- sectionHeaderInfo.clear();
- sectionHeaderInfo.setContainerId("Bindings");
- sectionHeaderInfo.setOtherProperties(bindingNodes);
-%>
-<jsp:include page="/wsdl/forms/bindings_table.jsp" flush="true"/>
-</div>
-<%
- if (bindingNodes.size() > 0)
- {
-%>
-<script language="javascript">
- twist("Bindings","xBindings");
-</script>
-<%
- }
-%>
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/bindings_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/bindings_table.jsp
deleted file mode 100644
index a10ca074e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/bindings_table.jsp
+++ /dev/null
@@ -1,72 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- javax.wsdl.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=20 valign="bottom" align="left" nowrap class="labels"><strong><%=wsdlPerspective.getMessage("FORM_LABEL_BINDINGS")%></strong></td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor" width="20%"><%=wsdlPerspective.getMessage("FORM_LABEL_NAME")%></th>
- <th class="headercolor" width="20%"><%=wsdlPerspective.getMessage("FORM_LABEL_BINDING_TYPE")%></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_DOCUMENTATION")%></th>
- </tr>
-<%
- Vector bindingNodes = (Vector)sectionHeaderInfo.getOtherProperties();
- for (int i=0;i<bindingNodes.size();i++)
- {
- Node bindingNode = (Node)bindingNodes.elementAt(i);
- WSDLBindingElement wsdlBindingElement = (WSDLBindingElement)bindingNode.getTreeElement();
- Binding binding = wsdlBindingElement.getBinding();
-%>
- <tr>
- <td class="tablecells"><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSDLNavigatorNodeAction.getActionLink(bindingNode.getNodeId(),false)))%>"><%=binding.getQName().getLocalPart()%></td>
- <td class="tablecells"><%=wsdlPerspective.getBindingTypeString(wsdlBindingElement.getBindingType())%></td>
-<%
- WSDLServiceElement wsdlServiceElement = (WSDLServiceElement)wsdlBindingElement.getParentElement();
- String documentation = wsdlServiceElement.getPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION);
- if (documentation.length() < 1)
- documentation = controller.getMessage("TABLE_BLANK_PLACEHOLDER");
-%>
- <td class="tablecells"><%=documentation%></td>
- </tr>
-<%
- }
-%>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/endpoint_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/endpoint_table.jsp
deleted file mode 100644
index 37ec6d4ff..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/endpoint_table.jsp
+++ /dev/null
@@ -1,139 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<script language="javascript">
- function addEndpoint(tableContainerID, id, name, value, isRemovable)
- {
- twistOpen(tableContainerID);
- var table = getTable(tableContainerID);
- var tableBody = table.getElementsByTagName("tbody").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- if (!isRemovable)
- {
- rowCheckbox.disabled = true;
- }
- column0.appendChild(rowCheckbox);
-
- var endPoint;
- if (isRemovable)
- {
- endPoint = document.createElement("input");
- endPoint.type = "text";
- endPoint.id = id;
- endPoint.name = name;
- if (value != null)
- endPoint.value = value;
- endPoint.className = "tabletextenter";
- }
- else
- endPoint = document.createTextNode(value);
- column1.appendChild(endPoint);
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- tableBody.appendChild(newRow);
- }
-
- function handleEndpointCheckAllClick(tableContainerId,checkAllCheckbox)
- {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0);
- var rowCheckbox = rowCheckboxCell.childNodes[0];
- if (!rowCheckbox.disabled)
- {
- rowCheckbox.checked = checkAllCheckbox.checked;
- if (rowCheckbox.checked)
- highlightRow(table.rows[i],"rowcolor");
- else
- highlightRow(table.rows[i],"tablecells");
- }
- }
- }
-</script>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- String tableContainerID = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerID);
- WSDLBindingElement bindingElement = (WSDLBindingElement)sectionHeaderInfo.getOtherProperties();
- String[] endpoints = bindingElement.getEndPoints();
- String addressLocation = ((WSDLServiceElement)bindingElement.getParentElement()).getAddressLocation(bindingElement.getBinding());
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsdlPerspective.getMessage("FORM_LABEL_END_POINTS")%></strong>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:addEndpoint('<%=tableContainerID%>', '<%=WSDLActionInputs.END_POINT%>', '<%=WSDLActionInputs.END_POINT%>', '<%=addressLocation%>', true)"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:removeSelectedRows('<%=tableContainerID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerID%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleEndpointCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_END_POINTS")%></th>
- </tr>
- </table>
-</div>
-<script language="javascript">
-<%
- boolean isDefaultAdded = false;
- for (int i = 0; i < endpoints.length; i++)
- {
- if (endpoints[i].equals(addressLocation) && !isDefaultAdded)
- {
-%>
- addEndpoint('<%=tableContainerID%>', '<%=WSDLActionInputs.END_POINT%>', "", '<%=endpoints[i]%>', false);
-
-<%
- isDefaultAdded = true;
- }
- else
- {
-%>
- addEndpoint('<%=tableContainerID%>', '<%=WSDLActionInputs.END_POINT%>', '<%=WSDLActionInputs.END_POINT%>', '<%=endpoints[i]%>', true);
-<%
- }
- }
-%>
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/operations_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/operations_table.jsp
deleted file mode 100644
index bab19e2d3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/operations_table.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=20 valign="bottom" align="left" nowrap class="labels"><strong><%=wsdlPerspective.getMessage("FORM_LABEL_OPERATIONS")%></strong></td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor" width="20%"><%=wsdlPerspective.getMessage("FORM_LABEL_NAME")%></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_DOCUMENTATION")%></th>
- </tr>
-<%
- Vector operationNodes = (Vector)sectionHeaderInfo.getOtherProperties();
- for (int i=0;i<operationNodes.size();i++)
- {
- Node operationNode = (Node)operationNodes.elementAt(i);
- WSDLOperationElement wsdlOperationElement = (WSDLOperationElement)operationNode.getTreeElement();
-%>
- <tr>
- <td class="tablecells"><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSDLNavigatorNodeAction.getActionLink(operationNode.getNodeId(),false)))%>"><%=wsdlOperationElement.getOperation().getName()%></a></td>
-<%
- String documentation = wsdlOperationElement.getPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION);
- if (documentation.length() < 1)
- documentation = controller.getMessage("TABLE_BLANK_PLACEHOLDER");
-%>
- <td class="tablecells"><%=documentation%></td>
- </tr>
-<%
- }
-%>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/services_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/services_table.jsp
deleted file mode 100644
index 18c99033b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/services_table.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- java.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- String tableContainerId = sectionHeaderInfo.getContainerId();
- StringBuffer twistImageName = new StringBuffer("x");
- twistImageName.append(tableContainerId);
-%>
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11><a href="javascript:twist('<%=tableContainerId%>','<%=twistImageName.toString()%>')"><img name="<%=twistImageName.toString()%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a></td>
- <td height=20 valign="bottom" align="left" nowrap class="labels"><strong><%=wsdlPerspective.getMessage("FORM_LABEL_SERVICES")%></strong></td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=tableContainerId%>" style="display:none;">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor" width="20%"><%=wsdlPerspective.getMessage("FORM_LABEL_NAME")%></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_DOCUMENTATION")%></th>
- </tr>
-<%
- Vector serviceNodes = (Vector)sectionHeaderInfo.getOtherProperties();
- for (int i=0;i<serviceNodes.size();i++)
- {
- Node serviceNode = (Node)serviceNodes.elementAt(i);
- WSDLServiceElement wsdlServiceElement = (WSDLServiceElement)serviceNode.getTreeElement();
-%>
- <tr>
- <td class="tablecells"><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSDLNavigatorNodeAction.getActionLink(serviceNode.getNodeId(),false)))%>"><%=wsdlServiceElement.getService().getQName().getLocalPart()%></a></td>
-<%
- String documentation = wsdlServiceElement.getPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION);
- if (documentation.length() < 1)
- documentation = controller.getMessage("TABLE_BLANK_PLACEHOLDER");
-%>
- <td class="tablecells"><%=documentation%></td>
- </tr>
-<%
- }
-%>
- </table>
-</div>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayFixWFragmentJSP.jsp
deleted file mode 100644
index de802b9b1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,55 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-ISOAPEncArrayFragment frag = (ISOAPEncArrayFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <jsp:include page="/wsdl/fragment/XSDGroupSeqFixWFragmentJSP.jsp" flush="true"/>
- </td>
- </tr>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRFragmentJSP.jsp
deleted file mode 100644
index 608414e05..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRFragmentJSP.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-ISOAPEncArrayFragment frag = (ISOAPEncArrayFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerIDBase = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageNameBase = (new StringBuffer("x")).append(tableContainerIDBase).toString();
-String[] groupIDs = frag.getGroupIDs();
-for (int i = 0; i < groupIDs.length; i++) {
-%>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=i + tableContainerIDBase%>','<%=i + twistImageNameBase%>')"><img name="<%=i + twistImageNameBase%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=frag.getName()%>
- </td>
- </tr>
- </table>
- <span id="<%=i + tableContainerIDBase%>">
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
- IXSDFragment[] childFragments = frag.getGroupMemberFragments(groupIDs[i]);
- for (int j = 0; j < childFragments.length; j++) {
- fragID.delete(0, fragID.length());
- fragID.append(childFragments[j].getID());
-%>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <jsp:include page="<%=childFragments[j].getReadFragment()%>" flush="true"/>
- </td>
- </tr>
-<%
- }
-%>
- </table>
- </span>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRangeWFragmentJSP.jsp
deleted file mode 100644
index 502a699a0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/SOAPEncArrayRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,89 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDGroupSeqFragment frag = (IXSDGroupSeqFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String nameAnchorID = (new StringBuffer(FragmentConstants.NAME_ANCHOR_ID)).append(frag.getID()).toString();
-%>
-<a name="<%=nameAnchorID%>"/>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:createInstance('<%=tableContainerID%>', <%=xsdConfig.getMaxOccurs()%>, '<%=fragID%>', '<%=nameAnchorID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRows('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_SOAP_ENC_ARRAYS")%></th>
- </tr>
- <%
- String[] groupIDs = frag.getGroupIDs();
- for (int i = 0; i < groupIDs.length || i < xsdConfig.getMinOccurs(); i++) {
- String groupID;
- if (i < groupIDs.length)
- groupID = groupIDs[i];
- else
- groupID = frag.createGroupSeqInstance();
- IXSDFragment[] groupMemberFragments = frag.getGroupMemberFragments(groupID);
- %>
- <tr>
- <td class="checkboxcells" width=10>
- <input type="checkbox" onClick="handleRowCheckboxClick()" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>">
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=groupID%>">
- <%
- for (int j = 0; j < groupMemberFragments.length; j++) {
- fragID.delete(0, fragID.length());
- fragID.append(groupMemberFragments[j].getID());
- %>
- <jsp:include page="<%=groupMemberFragments[j].getWriteFragment()%>" flush="true"/>
- <%
- }
- %>
- </td>
- </tr>
- <%
- }
- %>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexFixWFragmentJSP.jsp
deleted file mode 100644
index dcf7310be..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,120 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="attribute" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDComplexFragment frag = (IXSDComplexFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
-
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <%
- IXSDFragment[] childFrags = frag.getAllFragments();
- for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- IXSDFragment childFrag;
- String childFragID;
- if (i < childFrags.length) {
- childFrag = childFrags[i];
- childFragID = childFrag.getID();
- }
- else {
- childFragID = frag.createComplexInstance();
- childFrag = frag.getFragment(childFragID);
- }
- fragID.delete(0, fragID.length());
- fragID.append(childFragID);
- attribute.delete(0, attribute.length());
- attribute.append("false");
- %>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=childFragID%>">
- <jsp:include page="<%=childFrag.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
- }
-
- IXSDAttributeFragment[] attributeFragments = frag.getAllAttributeFragments();
- IXSDAttributeFragment attributeFragment;
- for(int j = 0; j < attributeFragments.length; j++){
- attributeFragment = attributeFragments[j];
- IXSDFragment delegationFragment = attributeFragment.getXSDDelegationFragment();
- fragID.delete(0, fragID.length());
- fragID.append(delegationFragment.getID());
- attribute.delete(0, attribute.length());
- attribute.append("true");
- %>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=attributeFragment.getID()%>">
- <jsp:include page="<%=delegationFragment.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
-
- <%
-
-
- }
- %>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRFragmentJSP.jsp
deleted file mode 100644
index ae3e92c3c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRFragmentJSP.jsp
+++ /dev/null
@@ -1,86 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="attribute" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDComplexFragment frag = (IXSDComplexFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerIDBase = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageNameBase = (new StringBuffer("x")).append(tableContainerIDBase).toString();
-IXSDFragment[] childFrags = frag.getAllFragments();
-for (int i = 0; i < childFrags.length; i++) {
- fragID.delete(0, fragID.length());
- fragID.append(childFrags[i].getID());
-%>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=i + tableContainerIDBase%>','<%=i + twistImageNameBase%>')"><img name="<%=i + twistImageNameBase%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=frag.getName()%>
- </td>
- </tr>
- </table>
- <span id="<%=i + tableContainerIDBase%>">
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <jsp:include page="<%=childFrags[i].getReadFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-}
- IXSDAttributeFragment[] attributeFragments = frag.getAllAttributeFragments();
- IXSDAttributeFragment attributeFragment;
- for(int j = 0; j < attributeFragments.length; j++){
- attributeFragment = attributeFragments[j];
- IXSDFragment delegationFragment = attributeFragment.getXSDDelegationFragment();
- fragID.delete(0, fragID.length());
- fragID.append(delegationFragment.getID());
- attribute.delete(0, attribute.length());
- attribute.append("true");
- %>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=attributeFragment.getID()%>">
- <jsp:include page="<%=delegationFragment.getReadFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-
-
- }
- %>
-
- </table>
- </span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRangeWFragmentJSP.jsp
deleted file mode 100644
index 2c17d1574..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,132 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="attribute" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDComplexFragment frag = (IXSDComplexFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String nameAnchorID = (new StringBuffer(FragmentConstants.NAME_ANCHOR_ID)).append(frag.getID()).toString();
-%>
-<a name="<%=nameAnchorID%>"/>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:createInstance('<%=tableContainerID%>', <%=xsdConfig.getMaxOccurs()%>, '<%=fragID%>', '<%=nameAnchorID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRowsAttribute('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_CONTENT")%></th>
- </tr>
- <%
- IXSDFragment[] childFrags = frag.getAllFragments();
- for (int i = 0; i < childFrags.length || i < xsdConfig.getMinOccurs(); i++) {
- IXSDFragment childFrag;
- String childFragID;
- if (i < childFrags.length) {
- childFrag = childFrags[i];
- childFragID = childFrag.getID();
- }
- else {
- childFragID = frag.createComplexInstance();
- childFrag = frag.getFragment(childFragID);
- }
- fragID.delete(0, fragID.length());
- fragID.append(childFragID);
- %>
- <tr>
- <td class="checkboxcells" width=10>
- <input type="checkbox" onClick="handleRowCheckboxClick()" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>">
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=childFragID%>">
- <jsp:include page="<%=childFrag.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-
- IXSDAttributeFragment[] attributeFragments = frag.getAllAttributeFragments();
- IXSDAttributeFragment attributeFragment;
- for(int j = 0; j < attributeFragments.length; j++){
- attributeFragment = attributeFragments[j];
-
- if(attributeFragment.getID().startsWith(childFragID)){
- IXSDFragment delegationFragment = attributeFragment.getXSDDelegationFragment();
- fragID.delete(0, fragID.length());
- fragID.append(delegationFragment.getID());
- attribute.delete(0, attribute.length());
- attribute.append("true");
- %>
-
- <tr>
- <td class="tablecells" width=10>
-
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=attributeFragment.getID()%>">
- <jsp:include page="<%=delegationFragment.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-
-
- }
- }
-}
-%>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentFixWFragmentJSP.jsp
deleted file mode 100644
index 315638815..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,129 +0,0 @@
-<%
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/wsdl/fragment/XSDComplexFixWFragmentJSP.jsp, wsa.etools.ws.explorer, lunar-5.1.2 2
-* Version 1.2 05/05/26 16:18:23
-*/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="attribute" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDComplexFragment frag = (IXSDComplexFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
-
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <%
-
-
-
-
- IXSDFragment[] childFrags = frag.getAllFragments();
- for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- IXSDFragment childFrag;
- String childFragID;
- if (i < childFrags.length) {
- childFrag = childFrags[i];
- childFragID = childFrag.getID();
- }
- else {
- childFragID = frag.createComplexInstance();
- childFrag = frag.getFragment(childFragID);
- }
- fragID.delete(0, fragID.length());
- fragID.append(childFragID);
- attribute.delete(0, attribute.length());
- attribute.append("false");
- %>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=childFragID%>">
- <jsp:include page="<%=childFrag.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-
-
-
- IXSDAttributeFragment[] attributeFragments = frag.getAllAttributeFragments();
- IXSDAttributeFragment attributeFragment;
- for(int j = 0; j < attributeFragments.length; j++){
- attributeFragment = attributeFragments[j];
- if(attributeFragment.getID().startsWith(childFragID)){
- IXSDFragment delegationFragment = attributeFragment.getXSDDelegationFragment();
- fragID.delete(0, fragID.length());
- fragID.append(delegationFragment.getID());
- attribute.delete(0, attribute.length());
- attribute.append("true");
- %>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=attributeFragment.getID()%>">
- <jsp:include page="<%=delegationFragment.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
-
- <%
- }
- }
-}
- %>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRFragmentJSP.jsp
deleted file mode 100644
index 4ea49bd8e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRFragmentJSP.jsp
+++ /dev/null
@@ -1,95 +0,0 @@
-<%
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/wsdl/fragment/XSDComplexRFragmentJSP.jsp, wsa.etools.ws.explorer, lunar-5.1.2 1
-* Version 1.1 03/02/28 15:33:57
-*/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="attribute" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDComplexFragment frag = (IXSDComplexFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerIDBase = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageNameBase = (new StringBuffer("x")).append(tableContainerIDBase).toString();
-IXSDFragment[] childFrags = frag.getAllFragments();
-for (int i = 0; i < childFrags.length; i++) {
- fragID.delete(0, fragID.length());
- fragID.append(childFrags[i].getID());
-%>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=i + tableContainerIDBase%>','<%=i + twistImageNameBase%>')"><img name="<%=i + twistImageNameBase%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=frag.getName()%>
- </td>
- </tr>
- </table>
- <span id="<%=i + tableContainerIDBase%>">
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <jsp:include page="<%=childFrags[i].getReadFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-
- IXSDAttributeFragment[] attributeFragments = frag.getAllAttributeFragments();
- IXSDAttributeFragment attributeFragment;
- for(int j = 0; j < attributeFragments.length; j++){
- attributeFragment = attributeFragments[j];
-
- if(attributeFragment.getID().startsWith(childFrags[i].getID())){
- IXSDFragment delegationFragment = attributeFragment.getXSDDelegationFragment();
- fragID.delete(0, fragID.length());
- fragID.append(delegationFragment.getID());
- attribute.delete(0, attribute.length());
- attribute.append("true");
-
-
- %>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=attributeFragment.getID()%>">
- <jsp:include page="<%=delegationFragment.getReadFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-
-
- }
- }
-}
- %>
-
- </table>
- </span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRangeWFragmentJSP.jsp
deleted file mode 100644
index 1942f149b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDComplexSimpleContentRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,137 +0,0 @@
-<%
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/wsdl/fragment/XSDComplexRangeWFragmentJSP.jsp, wsa.etools.ws.explorer, lunar-5.1.2 2
-* Version 1.2 05/05/26 16:18:24
-*/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="attribute" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDComplexFragment frag = (IXSDComplexFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String nameAnchorID = (new StringBuffer(FragmentConstants.NAME_ANCHOR_ID)).append(frag.getID()).toString();
-%>
-<a name="<%=nameAnchorID%>"/>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:createInstance('<%=tableContainerID%>', <%=xsdConfig.getMaxOccurs()%>, '<%=fragID%>', '<%=nameAnchorID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRowsAttribute('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_CONTENT")%></th>
- </tr>
- <%
-
- IXSDFragment[] childFrags = frag.getAllFragments();
- for (int i = 0; i < childFrags.length || i < xsdConfig.getMinOccurs(); i++) {
- IXSDFragment childFrag;
- String childFragID;
- if (i < childFrags.length) {
- childFrag = childFrags[i];
- childFragID = childFrag.getID();
- }
- else {
- childFragID = frag.createComplexInstance();
- childFrag = frag.getFragment(childFragID);
- }
- fragID.delete(0, fragID.length());
- fragID.append(childFragID);
- %>
-
- <tr>
- <td class="checkboxcells" width=10>
- <input type="checkbox" onClick="handleRowCheckboxClick()" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>">
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=childFragID%>">
- <jsp:include page="<%=childFrag.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
-
- <%
- IXSDAttributeFragment[] attributeFragments = frag.getAllAttributeFragments();
- IXSDAttributeFragment attributeFragment;
- for(int j = 0; j < attributeFragments.length; j++){
- attributeFragment = attributeFragments[j];
-
- if(attributeFragment.getID().startsWith(childFragID)){
- IXSDFragment delegationFragment = attributeFragment.getXSDDelegationFragment();
- fragID.delete(0, fragID.length());
- fragID.append(delegationFragment.getID());
- attribute.delete(0, attribute.length());
- attribute.append("true");
- %>
-
- <tr>
- <td class="tablecells" width=10>
-
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=attributeFragment.getID()%>">
- <jsp:include page="<%=delegationFragment.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
-
-
- }
- }
-}
-%>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp
deleted file mode 100644
index 3a8ad8295..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp
+++ /dev/null
@@ -1,201 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.emf.common.util.EList,
- org.eclipse.xsd.*,
- org.w3c.dom.Element,
- org.w3c.dom.NodeList" %>
-
-<jsp:useBean id="sessionID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%!
-private static final String XMLNS_LANG = "xml:lang";
-private static final String DEFAULT_XMLNS_LANG = "en-US";
-%>
-
-<%
-HttpSession currentSession = (HttpSession)application.getAttribute(sessionID.toString());
-Controller controller = (Controller)currentSession.getAttribute("controller");
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-XSDComponent xsdComponent = frag.getXSDToFragmentConfiguration().getXSDComponent();
-XSDAnnotation annotation = null;
-EList appInfoList = null;
-EList docList = null;
-if (xsdComponent instanceof XSDTypeDefinition)
- annotation = ((XSDTypeDefinition)xsdComponent).getAnnotation();
-else if (xsdComponent instanceof XSDElementDeclaration)
- annotation = ((XSDElementDeclaration)xsdComponent).getAnnotation();
-if (annotation != null) {
- appInfoList = annotation.getApplicationInformation();
- docList = annotation.getUserInformation();
-}
-String appInfoContainerID = "::appInfo";
-String xappInfoContainerID = "x::appInfo";
-String documentationContainerID = "::documentation";
-String xdocumentationContainerID = "x::documentation";
-%>
-
-<script language="javascript">
- function twist(tableContainerId,twistImageName)
- {
- var tableContainer = document.getElementById(tableContainerId);
- var twistImage = document.images[twistImageName];
- if (tableContainer.style.display == "none")
- {
- tableContainer.style.display = "";
- twistImage.src = "<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>";
- twistImage.alt = "<%=HTMLUtils.JSMangle(controller.getMessage("ALT_TWIST_OPENED"))%>";
- }
- else
- {
- tableContainer.style.display = "none";
- twistImage.src = "<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>";
- twistImage.alt = "<%=HTMLUtils.JSMangle(controller.getMessage("ALT_TWIST_CLOSED"))%>";
- }
- }
-
- function twistClose(tableContainerId)
- {
- if (document.getElementById(tableContainerId).style.display == "")
- twist(tableContainerId,"x"+tableContainerId);
- }
-</script>
-
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=appInfoContainerID%>','<%=xappInfoContainerID%>')"><img name="<%=xappInfoContainerID%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <strong><%=wsdlPerspective.getMessage("FORM_LABEL_XSD_APPLICATION_INFORMATION")%></strong>
- </td>
- </tr>
-</table>
-<span id="<%=appInfoContainerID%>">
-<table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th>
- <th class="headercolor" width="100%"><%=wsdlPerspective.getMessage("FORM_LABEL_XSD_APPLICATION_INFORMATION")%></th>
- </tr>
- <%
- boolean openAppInfoTable = false;
- if (appInfoList != null) {
- for (int i = 0; i < appInfoList.size(); i++) {
- Element e = (Element)appInfoList.get(i);
- String appInfoLang = e.getAttribute(XMLNS_LANG);
- String appInfoText = null;
- NodeList nl = e.getChildNodes();
- for (int j = 0; j < nl.getLength(); j++) {
- if (nl.item(j).getNodeType() == org.w3c.dom.Node.TEXT_NODE) {
- appInfoText = nl.item(j).getNodeValue();
- break;
- }
- }
- if (appInfoText != null)
- {
- openAppInfoTable = true;
- if (appInfoText.trim().length() < 1)
- appInfoText = controller.getMessage("TABLE_BLANK_PLACEHOLDER");
- %>
- <tr>
- <td class="tablecells"><%=((appInfoLang != null && appInfoLang.length() > 0) ? appInfoLang : DEFAULT_XMLNS_LANG)%></td>
- <td class="tablecells"><%=appInfoText%></td>
- </tr>
- <%
- }
- }
- }
- %>
-</table>
-</span>
-<%
-if (!openAppInfoTable) {
-%>
-<script language="javascript">
- twistClose('<%=appInfoContainerID%>');
-</script>
-<%
-}
-%>
-
-<table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=documentationContainerID%>','<%=xdocumentationContainerID%>')"><img name="<%=xdocumentationContainerID%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <strong><%=wsdlPerspective.getMessage("FORM_LABEL_XSD_DOCUMENTATION")%></strong>
- </td>
- </tr>
-</table>
-<span id="<%=documentationContainerID%>">
-<table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th>
- <th class="headercolor" width="100%"><%=wsdlPerspective.getMessage("FORM_LABEL_XSD_DOCUMENTATION")%></th>
- </tr>
- <%
- boolean openDocTable = false;
- if (docList != null) {
- for (int i = 0; i < docList.size(); i++) {
- Element e = (Element)docList.get(i);
- String docLang = e.getAttribute(XMLNS_LANG);
- String docText = null;
- NodeList nl = e.getChildNodes();
- for (int j = 0; j < nl.getLength(); j++) {
- if (nl.item(j).getNodeType() == org.w3c.dom.Node.TEXT_NODE) {
- docText = nl.item(j).getNodeValue();
- break;
- }
- }
- if (docText != null)
- {
- openDocTable = true;
- if (docText.trim().length() < 1)
- docText = controller.getMessage("TABLE_BLANK_PLACEHOLDER");
- %>
- <tr>
- <td class="tablecells"><%=((docLang != null && docLang.length() > 0) ? docLang : DEFAULT_XMLNS_LANG)%></td>
- <td class="tablecells"><%=docText%></td>
- </tr>
- <%
- }
- }
- }
- %>
-</table>
-</span>
-<%
-if (!openDocTable) {
-%>
-<script language="javascript">
- twistClose('<%=documentationContainerID%>');
-</script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentJSP.jsp
deleted file mode 100644
index cc9c9f091..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentJSP.jsp
+++ /dev/null
@@ -1,76 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.Node,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.w3c.dom.Element,
- javax.xml.rpc.NamespaceConstants,
- java.util.Hashtable" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-Hashtable soapEnvelopeNamespaceTable = new Hashtable();
-// TODO: Replace "SOAP-ENV" by NamespaceConstants.NSPREFIX_SOAP_ENVELOPE (="soapenv")
-soapEnvelopeNamespaceTable.put(NamespaceConstants.NSURI_SOAP_ENVELOPE,"SOAP-ENV");
-soapEnvelopeNamespaceTable.put(NamespaceConstants.NSURI_SCHEMA_XSI,NamespaceConstants.NSPREFIX_SCHEMA_XSI);
-soapEnvelopeNamespaceTable.put(NamespaceConstants.NSURI_SCHEMA_XSD,NamespaceConstants.NSPREFIX_SCHEMA_XSD);
-Element[] instanceDocuments = frag.genInstanceDocumentsFromParameterValues(!operElement.isUseLiteral(), soapEnvelopeNamespaceTable, XMLUtils.createNewDocument(null));
-StringBuffer sb = new StringBuffer();
-for (int i = 0; i < instanceDocuments.length; i++) {
- if (instanceDocuments[i] == null)
- continue;
- sb.append(XMLUtils.serialize(instanceDocuments[i], true));
- sb.append(HTMLUtils.LINE_SEPARATOR);
-}
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=frag.getID()%>"><%=frag.getName()%></label>
- </td>
- </tr>
-</table>
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td>
- <textarea id="<%=frag.getID()%>" name="<%=frag.getID()%>" class="textareaenter" readonly><%=HTMLUtils.charactersToHTMLEntitiesStrict(sb.toString())%></textarea>
-<%
- /*
- StringBuffer url = new StringBuffer();
- url.append(response.encodeURL(controller.getPathWithContext("/wsdl/fragment/XSDDefaultRFragmentXML.jsp?")));
- url.append(WSDLActionInputs.FRAGMENT_ID).append("=").append(fragID).append("&");
- url.append(ActionInputs.NODEID).append("=").append(nodeID).append("&");
- url.append(ActionInputs.SESSIONID).append("=").append(session.getId());
- */
-%>
- <!--
- <iframe src="" width="100%" height="150px"></iframe>
- -->
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentXML.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentXML.jsp
deleted file mode 100644
index 5ee031365..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultRFragmentXML.jsp
+++ /dev/null
@@ -1,113 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/xml; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.xsd.*,
- org.w3c.dom.Element,
- org.xml.sax.*,
- org.xml.sax.helpers.*,
- javax.xml.rpc.NamespaceConstants,
- javax.xml.parsers.*,
- java.io.*,
- java.util.*" %>
-<%
-String fragID = request.getParameter(WSDLActionInputs.FRAGMENT_ID);
-String nodeID = request.getParameter(ActionInputs.NODEID);
-String sessionId = request.getParameter(ActionInputs.SESSIONID);
-HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
-Controller controller = (Controller)currentSession.getAttribute("controller");
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID);
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-Hashtable soapEnvelopeNamespaceTable = new Hashtable();
-// TODO: Replace "SOAP-ENV" by NamespaceConstants.NSPREFIX_SOAP_ENVELOPE (="soapenv")
-soapEnvelopeNamespaceTable.put(NamespaceConstants.NSURI_SOAP_ENVELOPE,"SOAP-ENV");
-soapEnvelopeNamespaceTable.put(NamespaceConstants.NSURI_SCHEMA_XSI,NamespaceConstants.NSPREFIX_SCHEMA_XSI);
-soapEnvelopeNamespaceTable.put(NamespaceConstants.NSURI_SCHEMA_XSD,NamespaceConstants.NSPREFIX_SCHEMA_XSD);
-Element[] instanceDocuments = new Element[0];
-StringBuffer sb = null;
-try
-{
- instanceDocuments = frag.genInstanceDocumentsFromParameterValues(!operElement.isUseLiteral(), soapEnvelopeNamespaceTable, XMLUtils.createNewDocument(null));
- if (instanceDocuments.length == 1)
- {
- byte[] b = XMLUtils.serialize(instanceDocuments[0], true).getBytes(HTMLUtils.UTF8_ENCODING);
- ByteArrayInputStream bais = new ByteArrayInputStream(b);
- SAXParserFactory saxFactory = SAXParserFactory.newInstance();
- saxFactory.setValidating(true);
- SAXParser saxParser = saxFactory.newSAXParser();
- saxParser.parse(bais,
- new DefaultHandler()
- {
- public void error(SAXParseException e) throws SAXException
- {
- throw e;
- }
-
- public void fatalError(SAXParseException e) throws SAXException
- {
- throw e;
- }
-
- public void warning(SAXParseException e) throws SAXException
- {
- throw e;
- }
- });
- bais.close();
- sb = new StringBuffer(new String(b));
- }
-}
-catch (Throwable t)
-{
-}
-if (sb == null)
-{
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=frag.getName()%></title>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- sb = new StringBuffer();
- response.setContentType("text/html; charset=UTF-8");
- for (int i = 0; i < instanceDocuments.length; i++) {
- if (instanceDocuments[i] == null)
- continue;
- sb.append(HTMLUtils.charactersToHTMLEntitiesStrict(XMLUtils.serialize(instanceDocuments[i], true)));
- }
-%>
-<%=sb.toString()%>
-</body>
-</html>
-<%
-}
-else
-{
-%>
-<%=sb.toString()%>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultWFragmentJSP.jsp
deleted file mode 100644
index 2e8520d5c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDefaultWFragmentJSP.jsp
+++ /dev/null
@@ -1,74 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String param = frag.getParameterValue(frag.getID(), 0);
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=frag.getID()%>"><a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td>
- <%
- if (!frag.validateAllParameterValues()) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td>
- <textarea id="<%=frag.getID()%>" name="<%=frag.getID()%>" class="textareaenter"><%=((param != null) ? HTMLUtils.charactersToHTMLEntitiesStrict(param) : "")%></textarea>
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationRFragmentJSP.jsp
deleted file mode 100644
index d0931f294..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationRFragmentJSP.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDDelegationFragment wrapperFragment = (IXSDDelegationFragment)operElement.getFragmentByID(fragID.toString());
-IXSDFragment delegationFragment = wrapperFragment.getXSDDelegationFragment();
-XSDToFragmentConfiguration xsdConfig = wrapperFragment.getXSDToFragmentConfiguration();
-fragID.delete(0, fragID.length());
-fragID.append(delegationFragment.getID());
-%>
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td>
- <jsp:include page="<%=delegationFragment.getReadFragment()%>" flush="true"/>
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationWFragmentJSP.jsp
deleted file mode 100644
index c34607a31..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDDelegationWFragmentJSP.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDDelegationFragment wrapperFragment = (IXSDDelegationFragment)operElement.getFragmentByID(fragID.toString());
-IXSDFragment delegationFragment = wrapperFragment.getXSDDelegationFragment();
-XSDToFragmentConfiguration xsdConfig = wrapperFragment.getXSDToFragmentConfiguration();
-fragID.delete(0, fragID.length());
-fragID.append(delegationFragment.getID());
-%>
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td>
- <jsp:include page="<%=delegationFragment.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementRFragmentJSP.jsp
deleted file mode 100644
index 12c2629dc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementRFragmentJSP.jsp
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/wsdl/fragment/XSDDelegationWFragmentJSP.jsp, wsa.etools.ws.explorer, lunar-5.1.2, 20031231a 1
-* Version 1.1 03/02/28 15:34:04
-*/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(fragID.toString());
-IXSDFragment delegationFragment = elementFragment.getXSDDelegationFragment();
-XSDToFragmentConfiguration xsdConfig = elementFragment.getXSDToFragmentConfiguration();
-fragID.delete(0, fragID.length());
-fragID.append(delegationFragment.getID());
-elementID.delete(0, elementID.length());
-elementID.append(elementFragment.getID());
-%>
-
-
-
-<table cellpadding=0 cellspacing=0 class="<%=("innerfixfragtable")%>">
- <tr>
- <td>
- <jsp:include page="<%=delegationFragment.getReadFragment()%>" flush="true"/>
- </td>
- </tr>
-</table>
-
-
-
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementWFragmentJSP.jsp
deleted file mode 100644
index 1764dd607..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDElementWFragmentJSP.jsp
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-/**
-* <copyright>
-*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2002 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*
-* </copyright>
-*
-* File plugins/com.ibm.etools.webservice.explorer/wsexplorer/wsdl/fragment/XSDDelegationWFragmentJSP.jsp, wsa.etools.ws.explorer, lunar-5.1.2, 20031231a 1
-* Version 1.1 03/02/28 15:34:04
-*/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(fragID.toString());
-IXSDFragment delegationFragment = elementFragment.getXSDDelegationFragment();
-XSDToFragmentConfiguration xsdConfig = elementFragment.getXSDToFragmentConfiguration();
-fragID.delete(0, fragID.length());
-fragID.append(delegationFragment.getID());
-elementID.delete(0, elementID.length());
-elementID.append(elementFragment.getID());
-%>
-
-
-
-<table cellpadding=0 cellspacing=0 class="<%=("innerfixfragtable")%>">
- <tr>
- <td>
- <jsp:include page="<%=delegationFragment.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
-</table>
-
-
-
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyRFragmentJSP.jsp
deleted file mode 100644
index ba3ceeed5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyRFragmentJSP.jsp
+++ /dev/null
@@ -1,17 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyWFragmentJSP.jsp
deleted file mode 100644
index 89a494313..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDEmptyWFragmentJSP.jsp
+++ /dev/null
@@ -1,77 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-int minOccurs = xsdConfig.getMinOccurs();
-int maxOccurs = xsdConfig.getMaxOccurs();
-if (minOccurs == maxOccurs) {
-%>
-<input type="hidden" name="<%=frag.getID()%>" value="<%=maxOccurs%>"/>
-<%
-} else {
- String[] params = frag.getParameterValues(frag.getID());
-%>
- <table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td>
- <label for="<%=frag.getID()%>"><%=wsdlPerspective.getMessage("FORM_LABEL_OCCURANCE")%>&nbsp;<a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- </tr>
- <tr>
- <td>
- <%
- if (maxOccurs != FragmentConstants.UNBOUNDED) {
- %>
- <select id="<%=frag.getID()%>" name="<%=frag.getID()%>" class="selectlist">
- <%
- for (int i = minOccurs; i <= maxOccurs; i++) {
- %>
- <option value="<%=i%>" <% if (params != null && i == params.length) { %>selected<% } %>><%=i%>
- <%
- }
- %>
- </select>
- <%
- } else {
- %>
- <input type="text" id="<%=frag.getID()%>" name="<%=frag.getID()%>" value="<%=((params != null) ? String.valueOf(params.length) : "")%>" class="tabletextenter">
- <%
- if (!frag.validateParameterValues(frag.getID())) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- }
- %>
- </td>
- </tr>
- </table>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupAllWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupAllWFragmentJSP.jsp
deleted file mode 100644
index 159029224..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupAllWFragmentJSP.jsp
+++ /dev/null
@@ -1,190 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDGroupAllFragment frag = (IXSDGroupAllFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-boolean enableGroup = (xsdConfig.getMinOccurs() > 0 || frag.getGroupIDs().length > 0);
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String groupID = frag.getGroupAllInstance();
-String groupCheckboxID = (new StringBuffer(FragmentConstants.XSD_ALL_GROUP_ID)).append(frag.getID()).toString();
-String groupMemberRadioID = (new StringBuffer(groupCheckboxID)).append(frag.getID()).toString();
-%>
-<script language="javascript">
- function initGroupAll(tableContainerID, twistImageName, fragID, groupID, groupCheckboxID, enable) {
- var checkbox = document.getElementById(groupCheckboxID);
- checkbox.checked = enable;
- enableGroupAll(tableContainerID, twistImageName, fragID, groupID, checkbox);
- }
-
- function enableGroupAll(tableContainerID, twistImageName, fragID, groupID, checkbox) {
- var tableContainer = document.getElementById(tableContainerID);
- var checkboxTable = checkbox.parentNode.parentNode.parentNode;
- if (checkbox.checked) {
- if (tableContainer.style.display == "none")
- twist(tableContainerID, twistImageName);
- checkbox.name = fragID;
- checkbox.value = groupID;
- }
- else {
- if (tableContainer.style.display == "")
- twist(tableContainerID, twistImageName);
- checkbox.name = "";
- checkbox.value = "";
- }
- var tds = checkboxTable.getElementsByTagName("td");
- var checkboxCellIndex = checkbox.parentNode.cellIndex;
- for (var i = 0; i < tds.length; i++) {
- if (i == checkboxCellIndex || checkbox.checked)
- tds.item(i).style.display = "";
- else
- tds.item(i).style.display = "none";
- }
- }
-
- function groupAllOrderingMoveUp(tableContainerID) {
- var table = getTable(tableContainerID);
- if (table.rows[numberOfHeaderRows].cells[0].getElementsByTagName("input").item(0).checked) {
- alert('<%=wsdlPerspective.getMessage("MSG_ERROR_CANNOT_MOVE_FIRST_ELEMENT_UP")%>');
- return;
- }
- for (var i = numberOfHeaderRows + 1; i < table.rows.length; i++) {
- if (table.rows[i].cells[0].getElementsByTagName("input").item(0).checked) {
- swapRows(table, i-1, i);
- table.rows[i-1].cells[0].getElementsByTagName("input").item(0).checked = true;
- return;
- }
- }
- alert('<%=controller.getWSDLPerspective().getMessage("MSG_ERROR_NOTHING_SELECTED")%>');
- }
-
- function groupAllOrderingMoveDown(tableContainerID) {
- var table = getTable(tableContainerID);
- if (table.rows[table.rows.length - 1].cells[0].getElementsByTagName("input").item(0).checked) {
- alert('<%=wsdlPerspective.getMessage("MSG_ERROR_CANNOT_MOVE_LAST_ELEMENT_DOWN")%>');
- return;
- }
- for (var i = numberOfHeaderRows; i < table.rows.length - 1; i++) {
- if (table.rows[i].cells[0].getElementsByTagName("input").item(0).checked) {
- swapRows(table, i, i+1);
- table.rows[i+1].cells[0].getElementsByTagName("input").item(0).checked = true;
- return;
- }
- }
- alert('<%=controller.getWSDLPerspective().getMessage("MSG_ERROR_NOTHING_SELECTED")%>');
- }
-
- <%
- // rowIndex1 must be smaller than rowIndex2 in order to work
- %>
- function swapRows(table, rowIndex1, rowIndex2) {
- var row1ChildNodes = cloneArray(table.rows[rowIndex1].childNodes);
- var row2ChildNodes = cloneArray(table.rows[rowIndex2].childNodes);
- table.deleteRow(rowIndex2);
- table.deleteRow(rowIndex1);
- var row1 = table.insertRow(rowIndex1);
- var row2 = table.insertRow(rowIndex2);
- appendToRow(row1, row2ChildNodes);
- appendToRow(row2, row1ChildNodes);
- }
-
- function cloneArray(oldArray) {
- var arrayClone = new Array();
- for (var i = 0; i < oldArray.length; i++) {
- arrayClone[i] = oldArray[i].cloneNode(true);
- }
- return arrayClone;
- }
-
- function appendToRow(row, nodesArray) {
- for (var i = 0; i < nodesArray.length; i++) {
- row.appendChild(nodesArray[i]);
- }
- }
-</script>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <%
- if (xsdConfig.getMinOccurs() > 0) {
- %>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=groupID%>">
- <%
- }
- else {
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <input type="checkbox" id="<%=groupCheckboxID%>" name="<%=frag.getID()%>" value="<%=groupID%>" title="<%=wsdlPerspective.getMessage("FORM_CONTROL_TITLE_ENABLE_DISABLE_GROUP")%>" onClick="javascript:enableGroupAll('<%=tableContainerID%>', '<%=twistImageName%>', '<%=frag.getID()%>', '<%=groupID%>', this)" checked><label for="<%=groupCheckboxID%>"><%=wsdlPerspective.getMessage("FORM_LABEL_ENABLE_DISABLE_GROUP")%></label>
- </td>
- <%
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:groupAllOrderingMoveUp('<%=tableContainerID%>')"><%=wsdlPerspective.getMessage("FORM_LABEL_GROUP_ALL_ORDERING_MOVE_UP")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:groupAllOrderingMoveDown('<%=tableContainerID%>')"><%=wsdlPerspective.getMessage("FORM_LABEL_GROUP_ALL_ORDERING_MOVE_DOWN")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="headercolor" width=10></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_ELEMENTS")%></th>
- </tr>
- <%
- IXSDFragment[] groupMemberFragments = frag.getGroupMemberFragments(groupID);
- for (int i = 0; i < groupMemberFragments.length; i++) {
- fragID.delete(0, fragID.length());
- fragID.append(groupMemberFragments[i].getID());
- %>
- <tr>
- <td class="tablecells">
- <input type="radio" class="radio" name="<%=groupMemberRadioID%>" value="<%=fragID.toString()%>" title="<%=wsdlPerspective.getMessage("FORM_CONTROL_TITLE_SELECT_ELEMENT_IN_GROUP")%>">
- </td>
- <td class="tablecells" width="100%">
- <input type="hidden" name="<%=groupID%>" value="<%=fragID.toString()%>">
- <jsp:include page="<%=groupMemberFragments[i].getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
- }
- %>
-</table>
-</span>
-<%
-if (!enableGroup) {
-%>
- <script language="javascript">
- initGroupAll('<%=tableContainerID%>', '<%=twistImageName%>', '<%=frag.getID()%>', '<%=groupID%>', '<%=groupCheckboxID%>', <%=enableGroup%>);
- </script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceFixWFragmentJSP.jsp
deleted file mode 100644
index ec23dc153..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,119 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<script language="javascript">
- function choose(select) {
- for (var i = 0; i < select.options.length; i++) {
- var tableContainerID = '<%=FragmentConstants.TABLE_ID%>';
- tableContainerID += select.options(i).value;
- showTable(tableContainerID, select.options(i).selected);
- }
- }
-
- function showTable(tableContainerID, show) {
- var tableContainer = document.getElementById(tableContainerID);
- if (show)
- tableContainer.style.display = "";
- else
- tableContainer.style.display = "none";
- }
-</script>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDGroupChoiceFragment frag = (IXSDGroupChoiceFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-%>
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="headercolor" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_CHOICES")%></th>
- <th class="headercolor" width="100%" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_ELEMENTS")%></th>
- </tr>
-<%
- XSDParticle[] choices = frag.getChoices();
- String[] groupIDs = frag.getGroupIDs();
- for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- String groupID;
- int choiceIndex;
- if (i < groupIDs.length) {
- groupID = groupIDs[i];
- choiceIndex = frag.getChoiceIndex(groupID);
- }
- else {
- groupID = frag.createGroupChoiceInstance(0);
- choiceIndex = 0;
- }
- IXSDFragment[] choiceFrags = frag.getGroupMemberFragments(groupID);
-%>
- <tr>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=groupID%>">
- <select id="<%=groupID%>" name="<%=groupID%>" onChange="javascript:choose(this)" title="<%=wsdlPerspective.getMessage("FORM_CONTROL_TITLE_SELECT_CHOICES")%>">
-<%
- for (int j = 0; j < choiceFrags.length; j++) {
- XSDComponent xsdComponent = choiceFrags[j].getXSDToFragmentConfiguration().getXSDComponent();
- String name = "";
- if(xsdComponent instanceof XSDElementDeclaration)
- name = ((XSDElementDeclaration)xsdComponent).getQName();
- else
- name = xsdComponent.getElement().getTagName();
-
- if (j == choiceIndex) {
-%>
- <option value="<%=choiceFrags[j].getID()%>" selected><%=name%>
-<%
- }
- else {
-%>
- <option value="<%=choiceFrags[j].getID()%>"><%=name%>
-<%
- }
- }
-%>
- </select>
- </td>
- <td class="tablecells">
-<%
- for (int j = 0; j < choiceFrags.length; j++) {
- fragID.delete(0, fragID.length());
- fragID.append(choiceFrags[j].getID());
- String choiceFragTableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(choiceFrags[j].getID()).toString();
-%>
- <span id="<%=choiceFragTableContainerID%>">
- <jsp:include page="<%=choiceFrags[j].getWriteFragment()%>" flush="true"/>
- </span>
- <script language="javascript">
- showTable('<%=choiceFragTableContainerID%>', <%=(j == choiceIndex)%>);
- </script>
-<%
- }
-%>
- </td>
- </tr>
-<%
- }
-%>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRFragmentJSP.jsp
deleted file mode 100644
index 494cc1c4d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRFragmentJSP.jsp
+++ /dev/null
@@ -1,79 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDGroupChoiceFragment frag = (IXSDGroupChoiceFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerIDBase = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageNameBase = (new StringBuffer("x")).append(tableContainerIDBase).toString();
-String[] groupIDs = frag.getGroupIDs();
-if (groupIDs.length == 1) {
- int choiceIndex = frag.getChoiceIndex(groupIDs[0]);
- IXSDFragment choiceFrag = frag.getGroupMemberFragments(groupIDs[0])[choiceIndex];
- fragID.delete(0, fragID.length());
- fragID.append(choiceFrag.getID());
-%>
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td>
- <jsp:include page="<%=choiceFrag.getReadFragment()%>" flush="true"/>
- </td>
- </tr>
- </table>
-<%
-}
-else {
- for (int i = 0; i < groupIDs.length; i++) {
- int choiceIndex = frag.getChoiceIndex(groupIDs[i]);
- IXSDFragment choiceFrag = frag.getGroupMemberFragments(groupIDs[i])[choiceIndex];
- fragID.delete(0, fragID.length());
- fragID.append(choiceFrag.getID());
-%>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=i + tableContainerIDBase%>','<%=i + twistImageNameBase%>')"><img name="<%=i + twistImageNameBase%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=wsdlPerspective.getMessage("FORM_LABEL_GROUP_NUMBER", String.valueOf(i + 1))%>
- </td>
- </tr>
- </table>
- <span id="<%=i + tableContainerIDBase%>">
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <jsp:include page="<%=choiceFrag.getReadFragment()%>" flush="true"/>
- </td>
- </tr>
- </table>
- </span>
-<%
- }
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRangeWFragmentJSP.jsp
deleted file mode 100644
index 0d91b7f74..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupChoiceRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,152 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<script language="javascript">
- function choose(select) {
- for (var i = 0; i < select.options.length; i++) {
- var tableContainerID = '<%=FragmentConstants.TABLE_ID%>';
- tableContainerID += select.options(i).value;
- showTable(tableContainerID, select.options(i).selected);
- }
- }
-
- function showTable(tableContainerID, show) {
- var tableContainer = document.getElementById(tableContainerID);
- if (show)
- tableContainer.style.display = "";
- else
- tableContainer.style.display = "none";
- }
-</script>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDGroupChoiceFragment frag = (IXSDGroupChoiceFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String nameAnchorID = (new StringBuffer(FragmentConstants.NAME_ANCHOR_ID)).append(frag.getID()).toString();
-%>
-<a name="<%=nameAnchorID%>"/>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:createInstance('<%=tableContainerID%>', <%=xsdConfig.getMaxOccurs()%>, '<%=fragID%>', '<%=nameAnchorID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRows('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_CHOICES")%></th>
- <th class="headercolor" width="100%" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_ELEMENTS")%></th>
- </tr>
-<%
- XSDParticle[] choices = frag.getChoices();
- String[] groupIDs = frag.getGroupIDs();
- for (int i = 0; i < groupIDs.length || i < xsdConfig.getMinOccurs(); i++) {
- String groupID;
- int choiceIndex;
- if (i < groupIDs.length) {
- groupID = groupIDs[i];
- choiceIndex = frag.getChoiceIndex(groupID);
- }
- else {
- groupID = frag.createGroupChoiceInstance(0);
- choiceIndex = 0;
- }
- IXSDFragment[] choiceFrags = frag.getGroupMemberFragments(groupID);
-%>
- <tr>
- <td class="checkboxcells" width=10>
- <input type="checkbox" onClick="handleRowCheckboxClick()" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>">
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=groupID%>">
- <select id="<%=groupID%>" name="<%=groupID%>" onChange="javascript:choose(this)" title="<%=wsdlPerspective.getMessage("FORM_CONTROL_TITLE_SELECT_CHOICES")%>">
-<%
- for (int j = 0; j < choiceFrags.length; j++) {
- XSDElementDeclaration xsdElement = (XSDElementDeclaration)choiceFrags[j].getXSDToFragmentConfiguration().getXSDComponent();
- if (j == choiceIndex) {
-%>
- <option value="<%=choiceFrags[j].getID()%>" selected><%=xsdElement.getQName()%>
-<%
- }
- else {
-%>
- <option value="<%=choiceFrags[j].getID()%>"><%=xsdElement.getQName()%>
-<%
- }
- }
-%>
- </select>
- </td>
- <td class="tablecells">
-<%
- for (int j = 0; j < choiceFrags.length; j++) {
- fragID.delete(0, fragID.length());
- fragID.append(choiceFrags[j].getID());
- String choiceFragTableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(choiceFrags[j].getID()).toString();
-%>
- <span id="<%=choiceFragTableContainerID%>">
- <jsp:include page="<%=choiceFrags[j].getWriteFragment()%>" flush="true"/>
- </span>
- <script language="javascript">
- showTable('<%=choiceFragTableContainerID%>', <%=(j == choiceIndex)%>);
- </script>
-<%
- }
-%>
- </td>
- </tr>
-<%
- }
-%>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupRFragmentJSP.jsp
deleted file mode 100644
index 40d7db597..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupRFragmentJSP.jsp
+++ /dev/null
@@ -1,89 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDGroupFragment frag = (IXSDGroupFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerIDBase = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageNameBase = (new StringBuffer("x")).append(tableContainerIDBase).toString();
-String[] groupIDs = frag.getGroupIDs();
-if (groupIDs.length == 1) {
- IXSDFragment[] groupMemberFragments = frag.getGroupMemberFragments(groupIDs[0]);
-%>
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
- for (int i = 0; i < groupMemberFragments.length; i++) {
- fragID.delete(0, fragID.length());
- fragID.append(groupMemberFragments[i].getID());
-%>
- <tr>
- <td>
- <jsp:include page="<%=groupMemberFragments[i].getReadFragment()%>" flush="true"/>
- </td>
- </tr>
-<%
- }
-%>
- </table>
-<%
-}
-else {
- for (int i = 0; i < groupIDs.length; i++) {
- IXSDFragment[] groupMemberFragments = frag.getGroupMemberFragments(groupIDs[i]);
-%>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=i + tableContainerIDBase%>','<%=i + twistImageNameBase%>')"><img name="<%=i + twistImageNameBase%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=wsdlPerspective.getMessage("FORM_LABEL_GROUP_NUMBER", String.valueOf(i + 1))%>
- </td>
- </tr>
- </table>
- <span id="<%=i + tableContainerIDBase%>">
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
- for (int j = 0; j < groupMemberFragments.length; j++) {
- fragID.delete(0, fragID.length());
- fragID.append(groupMemberFragments[j].getID());
-%>
- <tr>
- <td width=16>
- <img width=16 src="<%=response.encodeURL(controller.getPathWithContext("images/space.gif"))%>">
- </td>
- <td>
- <jsp:include page="<%=groupMemberFragments[j].getReadFragment()%>" flush="true"/>
- </td>
- </tr>
-<%
- }
-%>
- </table>
- </span>
-<%
- }
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqFixWFragmentJSP.jsp
deleted file mode 100644
index 55d81c059..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,55 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDGroupSeqFragment frag = (IXSDGroupSeqFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String[] groupIDs = frag.getGroupIDs();
-for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- String groupID;
- if (i < groupIDs.length)
- groupID = groupIDs[i];
- else
- groupID = frag.createGroupSeqInstance();
- IXSDFragment[] groupMemberFragments = frag.getGroupMemberFragments(groupID);
-%>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=groupID%>">
- <table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
- for (int j = 0; j < groupMemberFragments.length; j++) {
- fragID.delete(0, fragID.length());
- fragID.append(groupMemberFragments[j].getID());
-%>
- <tr>
- <td>
- <jsp:include page="<%=groupMemberFragments[j].getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
-<%
- }
-%>
- </table>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqRangeWFragmentJSP.jsp
deleted file mode 100644
index 7fc41ea69..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDGroupSeqRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,101 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDGroupSeqFragment frag = (IXSDGroupSeqFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String nameAnchorID = (new StringBuffer(FragmentConstants.NAME_ANCHOR_ID)).append(frag.getID()).toString();
-%>
-<a name="<%=nameAnchorID%>"/>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:createInstance('<%=tableContainerID%>', <%=xsdConfig.getMaxOccurs()%>, '<%=fragID%>', '<%=nameAnchorID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRows('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_ELEMENTS")%></th>
- </tr>
- <%
- String[] groupIDs = frag.getGroupIDs();
- for (int i = 0; i < groupIDs.length || i < xsdConfig.getMinOccurs(); i++) {
- String groupID;
- if (i < groupIDs.length)
- groupID = groupIDs[i];
- else
- groupID = frag.createGroupSeqInstance();
- IXSDFragment[] groupMemberFragments = frag.getGroupMemberFragments(groupID);
- %>
- <tr>
- <td class="checkboxcells" width=10>
- <input type="checkbox" onClick="handleRowCheckboxClick()" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>">
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=groupID%>">
- <%
- for (int j = 0; j < groupMemberFragments.length; j++) {
- fragID.delete(0, fragID.length());
- fragID.append(groupMemberFragments[j].getID());
- %>
- <jsp:include page="<%=groupMemberFragments[j].getWriteFragment()%>" flush="true"/>
- <%
- }
- %>
- </td>
- </tr>
- <%
- }
- %>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfoDialog.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfoDialog.jsp
deleted file mode 100644
index d6c86ea15..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfoDialog.jsp
+++ /dev/null
@@ -1,52 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.net.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- String nodeId = request.getParameter(ActionInputs.NODEID);
- String fragmentId = request.getParameter(WSDLActionInputs.FRAGMENT_ID);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>
- <%=wsdlPerspective.getMessage("TITLE_XSD_INFORMATION_DIALOG")%>
- </title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
-<%
- StringBuffer link = new StringBuffer("wsdl/fragment/XSDInfo_toolbar.jsp?");
- link.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- link.append('&').append(ActionInputs.NODEID).append('=').append(nodeId);
- link.append('&').append(WSDLActionInputs.FRAGMENT_ID).append('=').append(fragmentId);
-%>
- <frame name="<%=WSDLFrameNames.XSD_INFO_TOOLBAR%>" title="<%=controller.getMessage("FRAME_TITLE_XSD_INFORMATION_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext(link.toString()))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-<%
- link.setLength(0);
- link.append("wsdl/fragment/XSDInfo_content.jsp?");
- link.append(ActionInputs.SESSIONID).append('=').append(sessionId);
- link.append('&').append(ActionInputs.NODEID).append('=').append(nodeId);
- link.append('&').append(WSDLActionInputs.FRAGMENT_ID).append('=').append(fragmentId);
-%>
- <frame name="<%=WSDLFrameNames.XSD_INFO_CONTENT%>" title="<%=controller.getMessage("FRAME_TITLE_XSD_INFORMATION_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext(link.toString()))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_content.jsp
deleted file mode 100644
index 81ed2ac87..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_content.jsp
+++ /dev/null
@@ -1,47 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="sessionID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<%
- sessionID.append(request.getParameter(ActionInputs.SESSIONID));
- fragID.append(request.getParameter(WSDLActionInputs.FRAGMENT_ID));
-
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionID.toString());
- Controller controller = (Controller)currentSession.getAttribute("controller");
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- nodeID.append(request.getParameter(ActionInputs.NODEID));
- Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_XSD_INFORMATION_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<jsp:include page="<%=frag.getInformationFragment()%>" flush="true"/>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_toolbar.jsp
deleted file mode 100644
index 85a008f96..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDInfo_toolbar.jsp
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(request.getParameter(ActionInputs.SESSIONID));
- Controller controller = (Controller)currentSession.getAttribute("controller");
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(request.getParameter(ActionInputs.NODEID)));
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- IXSDFragment frag = operElement.getFragmentByID(request.getParameter(WSDLActionInputs.FRAGMENT_ID));
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_XSD_INFORMATION_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onUnload="top.opener.xsdInfoDialogClosed=true" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar">
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/wsdl.gif"))%>" width=16 height=16></td>
- <td valign="middle" align="left" width="*" height=25 nowrap class="text"><%=frag.getName()%></td>
- </tr>
- </table>
- </div>
-</div>
-<script language="javascript">
- top.opener.xsdInfoDialogClosed = false;
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeFixWFragmentJSP.jsp
deleted file mode 100644
index aec4d3aac..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,97 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-String fragIDString = fragID.toString();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDTypeDefinition();
-XSDTypeDefinition xsdBuiltInType = XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType);
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=fragIDString%>"><a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=(xsdBuiltInType != null ? xsdBuiltInType.getName() : simpleType.getName())%>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td>
- <%
- if (!frag.validateParameterValues(fragIDString)) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <%
- for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- %>
- <tr>
- <td width="60%">
- <%
- String value = frag.getParameterValue(frag.getID(), i);
- %>
- <input type="text" id="<%=frag.getID()%>" name="<%=fragIDString%>" value="<%=((value != null) ? HTMLUtils.charactersToHTMLEntitiesStrict(value) : "")%>" size="50" class="tabletextenter">
- </td>
- <td valign="center" align="left" nowrap>
- <a href="javascript:openCalendarBrowser(<%=request.getParameter(ActionInputs.CALENDAR_TYPE)%>,'contentborder','<%=fragIDString%>',<%=i%>)"><%=controller.getMessage("FORM_LINK_BROWSE")%></a>
- </td>
- <td nowrap width="30%">&nbsp;</td>
- </tr>
- <%
- }
- %>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeRangeWFragmentJSP.jsp
deleted file mode 100644
index 96523eaa2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicDateTimeRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,113 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDTypeDefinition();
-XSDTypeDefinition xsdBuiltInType = XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType);
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-int calendarType = Integer.parseInt(request.getParameter(ActionInputs.CALENDAR_TYPE));
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=frag.getID()%>"><a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=(xsdBuiltInType != null ? xsdBuiltInType.getName() : simpleType.getName())%>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
-
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:addSimpleAtomicDateTimeRows(<%=calendarType%>,'<%=tableContainerID%>', '<%=frag.getID()%>', '<%=frag.getID()%>', null, <%=xsdConfig.getMaxOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedDateTimeRows(<%=calendarType%>,'<%=tableContainerID%>',<%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td>
- <%
- if (!frag.validateParameterValues(frag.getID())) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th width="90%" class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_VALUES")%></th>
- <th class="headercolor"><%=controller.getMessage("FORM_LABEL_ACTIONS")%></th>
- </tr>
-</table>
-</span>
-<%
-String[] values = frag.getParameterValues(frag.getID());
-int i = 0;
-if (values != null) {
- for ( ; i < values.length; i++) {
-%>
- <script language="javascript">
- addSimpleAtomicDateTimeRows(<%=calendarType%>,"<%=tableContainerID%>","<%=frag.getID()%>","<%=frag.getID()%>","<%=values[i]%>",<%=xsdConfig.getMaxOccurs()%>);
- </script>
-<%
- }
-}
-for ( ; i < xsdConfig.getMinOccurs(); i++) {
-%>
- <script language="javascript">
- addSimpleAtomicDateTimeRows(<%=calendarType%>,"<%=tableContainerID%>","<%=frag.getID()%>","<%=frag.getID()%>",null,<%=xsdConfig.getMaxOccurs()%>);
- </script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumFixWFragmentJSP.jsp
deleted file mode 100644
index 0de9ec044..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,110 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- XSDSimpleAtomicEnumFragment frag = (XSDSimpleAtomicEnumFragment)operElement.getFragmentByID(fragID.toString());
- IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
- XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
- XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDTypeDefinition();
- XSDTypeDefinition xsdBuiltInType = XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType);
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=frag.getID()%>"><a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=(xsdBuiltInType != null ? xsdBuiltInType.getName() : simpleType.getName())%>
- </td>
- <td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
-
-<%
- if (!frag.validateParameterValues(frag.getID()))
- {
-%>
- <%=HTMLUtils.redAsterisk()%>
-<%
- }
-%>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
- OptionVector optionVector = frag.getOptionVector();
- for (int i = 0; i < xsdConfig.getMaxOccurs(); i++)
- {
-%>
- <tr>
- <td>
-<%
- String selectedValue = frag.getParameterValue(frag.getID(), i);
-%>
- <select id="<%=frag.getID()%>" name="<%=frag.getID()%>" class="selectlist">
-<%
- for (int j = 0; j < optionVector.size(); j++)
- {
- String displayValue = optionVector.getDisplayValue(j);
- String value = optionVector.getValue(j);
- if (value.equals(selectedValue))
- {
-%>
- <option value="<%=value%>" selected><%=displayValue%>
-<%
- }
- else
- {
-%>
- <option value="<%=value%>"><%=displayValue%>
-<%
- }
- }
-%>
- </select>
- </td>
- </tr>
-<%
- }
- %>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumRangeWFragmentJSP.jsp
deleted file mode 100644
index 017a9ee2d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicEnumRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,165 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.emf.common.util.EList,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
- WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
- XSDSimpleAtomicEnumFragment frag = (XSDSimpleAtomicEnumFragment)operElement.getFragmentByID(fragID.toString());
- IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
- OptionVector optionVector = frag.getOptionVector();
- XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
- XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDTypeDefinition();
- XSDTypeDefinition xsdBuiltInType = XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType);
- String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
- String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
- String optionsContainerID = (new StringBuffer(FragmentConstants.XSD_ATOMIC_ENUM_ID)).append(frag.getID()).toString();
-%>
-<span id="<%=optionsContainerID%>">
-<%
- for (int j = 0; j < optionVector.size(); j++) {
-%>
- <input type="hidden" name="<%=optionsContainerID%>" value="<%=optionVector.getDisplayValue(j)%>">
- <input type="hidden" name="<%=optionsContainerID%>" value="<%=optionVector.getValue(j)%>">
-<%
- }
-%>
-</span>
-<script language="javascript">
- function addSimpleAtomicEnumRows(tableContainerID, optionsContainerID, id, name, value, maxOccurs) {
- if (checkMaxOccursReached(tableContainerID, maxOccurs))
- return;
- twistOpen(tableContainerID);
- var table = getTable(tableContainerID);
- var tableBody = table.getElementsByTagName("tbody").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- var select = document.createElement("select");
- column1.appendChild(select);
- select.id = id;
- select.name = name;
- select.className = "selectlist";
- var options = getOptions(optionsContainerID);
- var index = 0;
- for (var k = 0; k < options.length; k += 2) {
- select.options[index] = new Option(options[k].value,options[k+1].value);
- if (value != null && value == options[k+1].value)
- select.options[index].selected = true;
- index++;
- }
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- tableBody.appendChild(newRow);
- }
-
- function getOptions(optionsContainerID) {
- var optionsContainer = document.getElementById(optionsContainerID);
- var options = optionsContainer.getElementsByTagName("input");
- return options;
- }
-</script>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=frag.getID()%>"><a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=(xsdBuiltInType != null ? xsdBuiltInType.getName() : simpleType.getName())%>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:addSimpleAtomicEnumRows('<%=tableContainerID%>', '<%=optionsContainerID%>', '<%=frag.getID()%>', '<%=frag.getID()%>', null, <%=xsdConfig.getMaxOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRows('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td>
- <%
- if (!frag.validateParameterValues(frag.getID())) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_VALUES")%></th>
- </tr>
-</table>
-</span>
-<%
-String[] values = frag.getParameterValues(frag.getID());
-int i = 0;
-if (values != null) {
- for ( ; i < values.length; i++) {
-%>
- <script language="javascript">
- addSimpleAtomicEnumRows('<%=tableContainerID%>', '<%=optionsContainerID%>', '<%=frag.getID()%>', '<%=frag.getID()%>', '<%=values[i]%>', '<%=xsdConfig.getMaxOccurs()%>');
- </script>
-<%
- }
-}
-for ( ; i < xsdConfig.getMinOccurs(); i++) {
-%>
- <script language="javascript">
- addSimpleAtomicEnumRows('<%=tableContainerID%>', '<%=optionsContainerID%>', '<%=frag.getID()%>', '<%=frag.getID()%>', null, '<%=xsdConfig.getMaxOccurs()%>');
- </script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicFixWFragmentJSP.jsp
deleted file mode 100644
index cb6ad81f2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,95 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060222 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.impl.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="attribute" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDTypeDefinition();
-XSDTypeDefinition xsdBuiltInType = XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType);
-boolean attributeBool = Boolean.valueOf(attribute.toString()).booleanValue() ;
-
-%>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=frag.getID()%>"><a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=(xsdBuiltInType != null ? xsdBuiltInType.getName() : simpleType.getName())%>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable() && !(attributeBool) ){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
-
- <td>
- <%
- if (!frag.validateParameterValues(frag.getID())) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <%
- for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- %>
- <tr>
- <td>
- <%
- String value = frag.getParameterValue(frag.getID(), i);
- %>
- <input type="text" id="<%=frag.getID()%>" name="<%=frag.getID()%>" value="<%=((value != null) ? HTMLUtils.charactersToHTMLEntitiesStrict(value) : "")%>" size="50" class="tabletextenter">
- </td>
- </tr>
- <%
- }
- %>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp
deleted file mode 100644
index e2ceffa78..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicInfoFragmentJSP.jsp
+++ /dev/null
@@ -1,323 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.emf.common.util.EList,
- org.eclipse.xsd.*,
- java.util.*" %>
-
-<jsp:useBean id="sessionID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<%
-HttpSession currentSession = (HttpSession)application.getAttribute(sessionID.toString());
-Controller controller = (Controller)currentSession.getAttribute("controller");
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDToFragmentConfiguration().getXSDComponent();
-
-int minLength = -1;
-int maxLength = -1;
-Vector patternVector = new Vector();
-String whiteSpace = null;
-boolean minExclusive = true;
-Object min = null;
-boolean maxExclusive = true;
-Object max = null;
-int totalDigits = -1;
-int fractionDigits = -1;
-
-XSDSimpleTypeDefinition currType = simpleType;
-while (!XSDTypeDefinitionUtil.isRootTypeDefinition(currType)) {
- // minLength
- if (minLength < 0) {
- XSDLengthFacet xsdLengthFacet = currType.getLengthFacet();
- XSDMinLengthFacet xsdMinLengthFacet = currType.getMinLengthFacet();
- // port to org.eclipse.xsd
- if (xsdLengthFacet != null)
- minLength = xsdLengthFacet.getValue();
- else if (xsdMinLengthFacet != null)
- minLength = xsdMinLengthFacet.getValue();
- }
- // maxLength
- if (maxLength < 0) {
- XSDLengthFacet xsdLengthFacet = currType.getLengthFacet();
- XSDMaxLengthFacet xsdMaxLengthFacet = currType.getMaxLengthFacet();
- // port to org.eclipse.xsd
- if (xsdLengthFacet != null)
- maxLength = xsdLengthFacet.getValue();
- else if (xsdMaxLengthFacet != null)
- maxLength = xsdMaxLengthFacet.getValue();
- }
- // patternVector
- EList xsdPatternFacets = currType.getPatternFacets();
- if (xsdPatternFacets != null) {
- for (int i = 0; i < xsdPatternFacets.size(); i++) {
- XSDPatternFacet xsdPatternFacet = (XSDPatternFacet)xsdPatternFacets.get(i);
- EList patterns = xsdPatternFacet.getValue();
- for (int j = 0; j < patterns.size(); j++) {
- patternVector.add(patterns.get(j));
- }
- }
- }
- // whiteSpace
- if (whiteSpace == null) {
- XSDWhiteSpaceFacet xsdWhiteSpaceFacet = currType.getWhiteSpaceFacet();
- // port to org.eclipse.xsd
- if (xsdWhiteSpaceFacet != null)
- whiteSpace = xsdWhiteSpaceFacet.getValue().getName();
- }
- // min in/exclusive
- if (min == null ) {
- XSDMinExclusiveFacet xsdMinExclusiveFacet = currType.getMinExclusiveFacet();
- XSDMinInclusiveFacet xsdMinInclusiveFacet = currType.getMinInclusiveFacet();
- if (xsdMinExclusiveFacet != null) {
- min = xsdMinExclusiveFacet.getValue();
- minExclusive = true;
- }
- else if (xsdMinInclusiveFacet != null) {
- min = xsdMinInclusiveFacet.getValue();
- minExclusive = false;
- }
- }
- // max in/exclusive
- if (max == null) {
- XSDMaxExclusiveFacet xsdMaxExclusiveFacet = currType.getMaxExclusiveFacet();
- XSDMaxInclusiveFacet xsdMaxInclusiveFacet = currType.getMaxInclusiveFacet();
- if (xsdMaxExclusiveFacet != null) {
- max = xsdMaxExclusiveFacet.getValue();
- maxExclusive = true;
- }
- else if (xsdMaxInclusiveFacet != null) {
- max = xsdMaxInclusiveFacet.getValue();
- maxExclusive = false;
- }
- }
- // totalDigits
- if (totalDigits < 0) {
- XSDTotalDigitsFacet xsdTotalDigitsFacet = currType.getTotalDigitsFacet();
- if (xsdTotalDigitsFacet != null)
- totalDigits = xsdTotalDigitsFacet.getValue();
- }
- // fractionDigits
- if (fractionDigits < 0) {
- XSDFractionDigitsFacet xsdFractionDigitsFacet = currType.getFractionDigitsFacet();
- if (xsdFractionDigitsFacet != null)
- fractionDigits = xsdFractionDigitsFacet.getValue();
- }
- // walk to base type
- currType = currType.getBaseTypeDefinition();
-}
-%>
-
-<jsp:include page="/wsdl/fragment/XSDDefaultInfoFragmentJSP.jsp" flush="true"/>
-
-<table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
-</table>
-<table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsdlPerspective.getMessage("FORM_LABEL_BASE_TYPE")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType).getName()%>
- </td>
- </tr>
-</table>
-
-<%
-String minLengthString = (minLength < 0) ? wsdlPerspective.getMessage("FORM_LABEL_UNBOUNDED") : String.valueOf(minLength);
-String maxLengthString = (maxLength < 0) ? wsdlPerspective.getMessage("FORM_LABEL_UNBOUNDED") : String.valueOf(maxLength);
-String[] lengthValues = {minLengthString, maxLengthString};
-if (minLength >= 0 || maxLength >= 0) {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsdlPerspective.getMessage("FORM_LABEL_LENGTH")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=wsdlPerspective.getMessage("FORM_LABEL_LENGTH_VALUE", lengthValues)%>
- </td>
- </tr>
- </table>
-<%
-}
-%>
-
-<%
-if (patternVector.size() > 0) {
- String patternContainerID = "::pattern";
- String xpatternContainerID = "x::pattern";
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=patternContainerID%>','<%=xpatternContainerID%>')"><img name="<%=xpatternContainerID%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <strong><%=wsdlPerspective.getMessage("FORM_LABEL_PATTERN")%></strong>
- </td>
- </tr>
- </table>
- <span id="<%=patternContainerID%>">
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsdlPerspective.getMessage("FORM_LABEL_PATTERN")%>
- </th>
- </tr>
- <%
- for (int k = 0; k < patternVector.size(); k++) {
- %>
- <tr>
- <td class="tablecells">
- <%=(String)patternVector.get(k)%>
- </td>
- </tr>
- <%
- }
- %>
- </table>
- </span>
-<%
-}
-%>
-
-<%
-if (whiteSpace != null) {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsdlPerspective.getMessage("FORM_LABEL_WHITESPACE")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=whiteSpace%>
- </td>
- </tr>
- </table>
-<%
-}
-%>
-
-<%
-String lowerBound;
-if (minExclusive)
- lowerBound = wsdlPerspective.getMessage("FORM_LABEL_MIN_EXCLUSIVE", (min == null) ? wsdlPerspective.getMessage("FORM_LABEL_UNBOUNDED") : min.toString());
-else
- lowerBound = wsdlPerspective.getMessage("FORM_LABEL_MIN_INCLUSIVE", (min == null) ? wsdlPerspective.getMessage("FORM_LABEL_UNBOUNDED") : min.toString());
-String upperBound;
-if (maxExclusive)
- upperBound = wsdlPerspective.getMessage("FORM_LABEL_MAX_EXCLUSIVE", (max == null) ? wsdlPerspective.getMessage("FORM_LABEL_UNBOUNDED") : max.toString());
-else
- upperBound = wsdlPerspective.getMessage("FORM_LABEL_MAX_INCLUSIVE", (max == null) ? wsdlPerspective.getMessage("FORM_LABEL_UNBOUNDED") : max.toString());
-if (min != null || max != null) {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsdlPerspective.getMessage("FORM_LABEL_RANGE_OF_VALUES")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=lowerBound + upperBound%>
- </td>
- </tr>
- </table>
-<%
-}
-%>
-
-<%
-if (totalDigits >= 0) {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsdlPerspective.getMessage("FORM_LABEL_TOTAL_DIGITS")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=totalDigits%>
- </td>
- </tr>
- </table>
-<%
-}
-%>
-
-<%
-if (fractionDigits >= 0) {
-%>
- <table>
- <tr>
- <td height=20>&nbsp;</td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsdlPerspective.getMessage("FORM_LABEL_FRACTION_DIGITS")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=fractionDigits%>
- </td>
- </tr>
- </table>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp
deleted file mode 100644
index 4fdd4b64d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRFragmentJSP.jsp
+++ /dev/null
@@ -1,60 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDTypeDefinition();
-XSDTypeDefinition xsdBuiltInType = XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType);
-String[] labelArgs = {frag.getName(), (xsdBuiltInType != null ? xsdBuiltInType.getName() : simpleType.getName())};
-String[] params = frag.getParameterValues(frag.getID());
-%>
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
- <tr>
- <th id="<%=frag.getID()%>" class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=wsdlPerspective.getMessage("FORM_LABEL_ATOMIC_NAME_TYPE", labelArgs)%>
- </th>
- <td headers="<%=frag.getID()%>" class="labels" height=25 width="100%" valign="bottom" align="left" nowrap>
- <%=((params != null && params.length > 0) ? HTMLUtils.charactersToHTMLEntities(params[0]) : wsdlPerspective.getMessage("FORM_LABEL_NULL"))%>
- </td>
- </tr>
- <%
- if (params != null) {
- for (int i = 1; i < params.length; i++) {
- %>
- <tr>
- <td class="labels" height=25 valign="bottom" align="left" nowrap></td>
- <td headers="<%=frag.getID()%>" class="labels" height=25 width="100%" valign="bottom" align="left" nowrap>
- <%=HTMLUtils.charactersToHTMLEntities(params[i])%>
- </td>
- </tr>
- <%
- }
- }
- %>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRangeWFragmentJSP.jsp
deleted file mode 100644
index 7b68d77a4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleAtomicRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,140 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.util.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDFragment frag = operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition)frag.getXSDTypeDefinition();
-XSDTypeDefinition xsdBuiltInType = XSDTypeDefinitionUtil.resolveToXSDBuiltInTypeDefinition(simpleType);
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-%>
-<script language="javascript">
- function addSimpleAtomicRows(tableContainerID, id, name, value, maxOccurs) {
- if (checkMaxOccursReached(tableContainerID, maxOccurs))
- return;
- twistOpen(tableContainerID);
- var table = getTable(tableContainerID);
- var tableBody = table.getElementsByTagName("tbody").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- var input = document.createElement("input");
- column1.appendChild(input);
- input.type = "text";
- input.id = id;
- input.name = name;
- if (value != null && value.length > 0)
- input.value = value;
- input.className = "tabletextenter";
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- tableBody.appendChild(newRow);
- }
-</script>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <label for="<%=frag.getID()%>"><a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a></label>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <%=(xsdBuiltInType != null ? xsdBuiltInType.getName() : simpleType.getName())%>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:addSimpleAtomicRows('<%=tableContainerID%>', '<%=frag.getID()%>', '<%=frag.getID()%>', null, <%=xsdConfig.getMaxOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRows('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td>
- <%
- if (!frag.validateParameterValues(frag.getID())) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- %>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_VALUES")%></th>
- </tr>
-</table>
-</span>
-<%
-String[] values = frag.getParameterValues(frag.getID());
-int i = 0;
-if (values != null) {
- for ( ; i < values.length; i++) {
-%>
- <script language="javascript">
- addSimpleAtomicRows('<%=tableContainerID%>', '<%=frag.getID()%>', '<%=frag.getID()%>', '<%=values[i]%>', '<%=xsdConfig.getMaxOccurs()%>');
- </script>
-<%
- }
-}
-for ( ; i < xsdConfig.getMinOccurs(); i++) {
-%>
- <script language="javascript">
- addSimpleAtomicRows('<%=tableContainerID%>', '<%=frag.getID()%>', '<%=frag.getID()%>', null, '<%=xsdConfig.getMaxOccurs()%>');
- </script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListFixWFragmentJSP.jsp
deleted file mode 100644
index 09c2300ac..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,57 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDSimpleListFragment frag = (IXSDSimpleListFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-IXSDFragment[] childFrags = frag.getAllFragments();
-%>
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
-for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- IXSDFragment childFrag;
- String childFragID;
- if (i < childFrags.length) {
- childFrag = childFrags[i];
- childFragID = childFrag.getID();
- }
- else {
- childFragID = frag.createListInstance();
- childFrag = frag.getFragment(childFragID);
- }
- fragID.delete(0, fragID.length());
- fragID.append(childFragID);
-%>
- <tr>
- <td>
- <input type="hidden" name="<%=frag.getID()%>" value="<%=childFragID%>">
- <jsp:include page="<%=childFrag.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
-<%
-}
-%>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRFragmentJSP.jsp
deleted file mode 100644
index 032861858..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRFragmentJSP.jsp
+++ /dev/null
@@ -1,45 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDSimpleListFragment frag = (IXSDSimpleListFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-IXSDFragment[] childFrags = frag.getAllFragments();
-%>
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
-for (int i = 0; i < childFrags.length; i++) {
- fragID.delete(0, fragID.length());
- fragID.append(childFrags[i].getID());
-%>
- <tr>
- <td>
- <jsp:include page="<%=childFrags[i].getReadFragment()%>" flush="true"/>
- </td>
- </tr>
-<%
-}
-%>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRangeWFragmentJSP.jsp
deleted file mode 100644
index 27ebba369..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleListRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,103 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDSimpleListFragment frag = (IXSDSimpleListFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String nameAnchorID = (new StringBuffer(FragmentConstants.NAME_ANCHOR_ID)).append(frag.getID()).toString();
-%>
-<a name="<%=nameAnchorID%>"/>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:createInstance('<%=tableContainerID%>', <%=xsdConfig.getMaxOccurs()%>, '<%=fragID%>', '<%=nameAnchorID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRows('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsdlPerspective.getMessage("FORM_LABEL_LIST_ITEMS")%></th>
- </tr>
- <%
- IXSDFragment[] childFrags = frag.getAllFragments();
- for (int i = 0; i < childFrags.length || i < xsdConfig.getMinOccurs(); i++) {
- IXSDFragment childFrag;
- String childFragID;
- if (i < childFrags.length) {
- childFrag = childFrags[i];
- childFragID = childFrag.getID();
- }
- else {
- childFragID = frag.createListInstance();
- childFrag = frag.getFragment(childFragID);
- }
- fragID.delete(0, fragID.length());
- fragID.append(childFragID);
- %>
- <tr>
- <td class="checkboxcells" width=10>
- <input type="checkbox" onClick="handleRowCheckboxClick()" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>">
- </td>
- <td class="tablecells">
- <input type="hidden" name="<%=frag.getID()%>" value="<%=childFragID%>">
- <jsp:include page="<%=childFrag.getWriteFragment()%>" flush="true"/>
- </td>
- </tr>
- <%
- }
- %>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionFixWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionFixWFragmentJSP.jsp
deleted file mode 100644
index aad834623..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionFixWFragmentJSP.jsp
+++ /dev/null
@@ -1,144 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDSimpleUnionFragment frag = (IXSDSimpleUnionFragment)operElement.getFragmentByID(fragID.toString());
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-%>
-<script language="javascript">
- function changeUnionMemberType(select) {
- for (var i = 0; i < select.options.length; i++) {
- var tableContainerID = '<%=FragmentConstants.TABLE_ID%>';
- tableContainerID += select.options(i).value;
- showTable(tableContainerID, select.options(i).selected);
- }
- }
-
- function showTable(tableContainerID, show) {
- var tableContainer = document.getElementById(tableContainerID);
- if (show)
- tableContainer.style.display = "";
- else
- tableContainer.style.display = "none";
- }
-</script>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="headercolor" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_UNION_TYPE")%></th>
- <th class="headercolor" width="100%" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_UNION_MEMBERS")%></th>
- </tr>
- <%
- XSDSimpleTypeDefinition[] memberTypes = frag.getMemberTypeDefinitions();
- IXSDFragment[] memberFrags = frag.getAllFragments();
- for (int i = 0; i < xsdConfig.getMaxOccurs(); i++) {
- int typeSelectionIndex = 0;
- String[] newMemberFragIDs = new String[memberTypes.length];
- IXSDFragment[] newMemberFrags = new IXSDFragment[memberTypes.length];
- for (int j = 0; j < memberTypes.length; j++) {
- if (i < memberFrags.length && memberFrags[i].getXSDTypeDefinition().getQName().equals(memberTypes[j].getQName())) {
- newMemberFragIDs[j] = memberFrags[i].getID();
- newMemberFrags[j] = memberFrags[i];
- typeSelectionIndex = j;
- }
- else {
- newMemberFragIDs[j] = frag.createUnionInstance(j);
- newMemberFrags[j] = frag.getFragment(newMemberFragIDs[j]);
- }
- }
- %>
- <tr>
- <td class="tablecells">
- <select id="<%=frag.getID()%>" name="<%=frag.getID()%>" onChange="javascript:changeUnionMemberType(this)" title="<%=wsdlPerspective.getMessage("FORM_CONTROL_TITLE_SELECT_UNION_TYPE")%>">
- <%
- for (int k = 0; k < memberTypes.length; k++) {
- if (k == typeSelectionIndex) {
- %>
- <option value="<%=newMemberFragIDs[k]%>" selected><%=memberTypes[k].getQName()%>
- <%
- }
- else {
- %>
- <option value="<%=newMemberFragIDs[k]%>"><%=memberTypes[k].getQName()%>
- <%
- }
- }
- %>
- </select>
- </td>
- <td class="tablecells">
- <%
- for (int l = 0; l < memberTypes.length; l++) {
- fragID.delete(0, fragID.length());
- fragID.append(newMemberFragIDs[l]);
- String memberTableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(newMemberFrags[l].getID()).toString();
- %>
- <span id="<%=memberTableContainerID%>">
- <jsp:include page="<%=newMemberFrags[l].getWriteFragment()%>" flush="true"/>
- </span>
- <script language="javascript">
- showTable('<%=memberTableContainerID%>', <%=(l == typeSelectionIndex)%>);
- </script>
- <%
- }
- %>
- </td>
- </tr>
- <%
- }
- %>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRFragmentJSP.jsp
deleted file mode 100644
index ae61fe552..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRFragmentJSP.jsp
+++ /dev/null
@@ -1,44 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node operNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)operNode.getTreeElement();
-IXSDSimpleUnionFragment frag = (IXSDSimpleUnionFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-IXSDFragment[] childFrags = frag.getAllFragments();
-%>
-<table cellpadding=0 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "fixfragtable" : "innerfixfragtable")%>">
-<%
-for (int i = 0; i < childFrags.length; i++) {
- fragID.delete(0, fragID.length());
- fragID.append(childFrags[i].getID());
-%>
- <tr>
- <td>
- <jsp:include page="<%=childFrags[i].getReadFragment()%>" flush="true"/>
- </td>
- </tr>
-<%
-}
-%>
-</table>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRangeWFragmentJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRangeWFragmentJSP.jsp
deleted file mode 100644
index 15611034d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/fragment/XSDSimpleUnionRangeWFragmentJSP.jsp
+++ /dev/null
@@ -1,157 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.xsd.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="fragID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="nodeID" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="elementID" class="java.lang.StringBuffer" scope="request"/>
-
-<%
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-Node selectedNode = wsdlPerspective.getNodeManager().getNode(Integer.parseInt(nodeID.toString()));
-WSDLOperationElement operElement = (WSDLOperationElement)selectedNode.getTreeElement();
-IXSDSimpleUnionFragment frag = (IXSDSimpleUnionFragment)operElement.getFragmentByID(fragID.toString());
-XSDToFragmentConfiguration xsdConfig = frag.getXSDToFragmentConfiguration();
-IXSDElementFragment elementFragment = (IXSDElementFragment)operElement.getFragmentByID(elementID.toString());
-String tableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(frag.getID()).toString();
-String twistImageName = (new StringBuffer("x")).append(tableContainerID).toString();
-String nameAnchorID = (new StringBuffer(FragmentConstants.NAME_ANCHOR_ID)).append(frag.getID()).toString();
-%>
-<script language="javascript">
- function changeUnionMemberType(select) {
- for (var i = 0; i < select.options.length; i++) {
- var tableContainerID = '<%=FragmentConstants.TABLE_ID%>';
- tableContainerID += select.options(i).value;
- showTable(tableContainerID, select.options(i).selected);
- }
- }
-
- function showTable(tableContainerID, show) {
- var tableContainer = document.getElementById(tableContainerID);
- if (show)
- tableContainer.style.display = "";
- else
- tableContainer.style.display = "none";
- }
-</script>
-<a name="<%=nameAnchorID%>"/>
-<table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=tableContainerID%>','<%=twistImageName%>')"><img name="<%=twistImageName%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistopened.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_OPENED")%>" class="twist"></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:openXSDInfoDialog('<%=response.encodeURL(controller.getPathWithContext(OpenXSDInfoDialogAction.getActionLink(session.getId(),selectedNode.getNodeId(),fragID.toString())))%>')"><%=frag.getName()%></a>
- </td>
- <%
- if(elementFragment != null && elementFragment.isNillable()){
- if(elementFragment.isNil()){
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" checked><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- else{
- %>
- <td width=10><input type="checkbox" name="<%=((IXSDElementFragment)elementFragment).getNilID()%>" value="<%=IXSDElementFragment.NIL_VALUE%>" ><%=wsdlPerspective.getMessage("ALT_NIL")%></td>
- <%
- }
- }
- %>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:createInstance('<%=tableContainerID%>', <%=xsdConfig.getMaxOccurs()%>, '<%=fragID%>', '<%=nameAnchorID%>')"><%=wsdlPerspective.getMessage("FORM_LINK_ADD")%></a>
- </td>
- <td class="labels" height=25 valign="bottom" align="left" nowrap>
- <a href="javascript:checkMinOccursAndRemoveSelectedRows('<%=tableContainerID%>', <%=xsdConfig.getMinOccurs()%>)"><%=wsdlPerspective.getMessage("FORM_LINK_REMOVE")%></a>
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
-</table>
-<span id="<%=tableContainerID%>">
-<table cellpadding=3 cellspacing=0 class="<%=(xsdConfig.getIsWSDLPart() ? "rangefragtable" : "innerrangefragtable")%>">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="handleCheckAllClick('<%=tableContainerID%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_UNION_TYPE")%></th>
- <th class="headercolor" width="100%" nowrap><%=wsdlPerspective.getMessage("FORM_LABEL_UNION_MEMBERS")%></th>
- </tr>
- <%
- XSDSimpleTypeDefinition[] memberTypes = frag.getMemberTypeDefinitions();
- IXSDFragment[] memberFrags = frag.getAllFragments();
- for (int i = 0; i < memberFrags.length || i < xsdConfig.getMinOccurs(); i++) {
- int typeSelectionIndex = 0;
- String[] newMemberFragIDs = new String[memberTypes.length];
- IXSDFragment[] newMemberFrags = new IXSDFragment[memberTypes.length];
- for (int j = 0; j < memberTypes.length; j++) {
- if (i < memberFrags.length && memberFrags[i].getXSDTypeDefinition().getQName().equals(memberTypes[j].getQName())) {
- newMemberFragIDs[j] = memberFrags[i].getID();
- newMemberFrags[j] = memberFrags[i];
- typeSelectionIndex = j;
- }
- else {
- newMemberFragIDs[j] = frag.createUnionInstance(j);
- newMemberFrags[j] = frag.getFragment(newMemberFragIDs[j]);
- }
- }
- %>
- <tr>
- <td class="checkboxcells" width=10>
- <input type="checkbox" onClick="handleRowCheckboxClick()" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>">
- </td>
- <td class="tablecells">
- <select id="<%=frag.getID()%>" name="<%=frag.getID()%>" onChange="javascript:changeUnionMemberType(this)" title="<%=wsdlPerspective.getMessage("FORM_CONTROL_TITLE_SELECT_UNION_TYPE")%>">
- <%
- for (int k = 0; k < memberTypes.length; k++) {
- if (k == typeSelectionIndex) {
- %>
- <option value="<%=newMemberFragIDs[k]%>" selected><%=memberTypes[k].getQName()%>
- <%
- }
- else {
- %>
- <option value="<%=newMemberFragIDs[k]%>"><%=memberTypes[k].getQName()%>
- <%
- }
- }
- %>
- </select>
- </td>
- <td class="tablecells">
- <%
- for (int l = 0; l < memberTypes.length; l++) {
- fragID.delete(0, fragID.length());
- fragID.append(newMemberFragIDs[l]);
- String memberTableContainerID = (new StringBuffer(FragmentConstants.TABLE_ID)).append(newMemberFrags[l].getID()).toString();
- %>
- <span id="<%=memberTableContainerID%>">
- <jsp:include page="<%=newMemberFrags[l].getWriteFragment()%>" flush="true"/>
- </span>
- <script language="javascript">
- showTable('<%=memberTableContainerID%>', <%=(l == typeSelectionIndex)%>);
- </script>
- <%
- }
- %>
- </td>
- </tr>
- <%
- }
- %>
-</table>
-</span>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_enabled.gif
deleted file mode 100644
index 0f055924f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_highlighted.gif
deleted file mode 100644
index bcfc403a0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/invoke_wsdl_operation_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_enabled.gif
deleted file mode 100644
index 9ffa818f4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_highlighted.gif
deleted file mode 100644
index 5455bae67..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/open_wsdl_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_binding_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_binding_node.gif
deleted file mode 100644
index ae386c636..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_binding_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_operation_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_operation_node.gif
deleted file mode 100644
index c211ba23c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_operation_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_service_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_service_node.gif
deleted file mode 100644
index 15d08be6c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/images/wsdl_service_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/fragmenttables.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/fragmenttables.jsp
deleted file mode 100644
index 2c0cdce88..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/fragmenttables.jsp
+++ /dev/null
@@ -1,202 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-<jsp:include page="/scripts/calendarbrowser.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-
-<script language="javascript">
- var xsdInfoDialog;
- var xsdInfoDialogClosed = true;
- var rowCheckboxName = "rowCheckboxName";
- var unbounded = <%=FragmentConstants.UNBOUNDED%>;
-
- function checkMaxOccursReached(tableContainerID, maxOccurs) {
- var table = getTable(tableContainerID);
- if (maxOccurs != unbounded && (table.rows.length - numberOfHeaderRows) >= maxOccurs) {
- alert("<%=HTMLUtils.JSMangle(wsdlPerspective.getMessage("MSG_ERROR_MAX_OCCURS_VIOLATION"))%>");
- return true;
- }
- else
- return false;
- }
-
- function checkMinOccursAndRemoveSelectedRows(tableContainerID, minOccurs) {
- var table = getTable(tableContainerID);
- var rowsLength = table.rows.length - numberOfHeaderRows;
- var checkedRows = 0;
- for (var i = numberOfHeaderRows; i < table.rows.length; i++) {
- var tableRow = table.rows[i];
- var rowCheckbox = tableRow.getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- checkedRows++;
- }
- if (checkedRows == 0)
- alert("<%=HTMLUtils.JSMangle(wsdlPerspective.getMessage("MSG_ERROR_NOTHING_SELECTED"))%>");
- else if ((rowsLength - checkedRows) < minOccurs)
- alert("<%=HTMLUtils.JSMangle(wsdlPerspective.getMessage("MSG_ERROR_MIN_OCCURS_VIOLATION"))%>");
- else
- removeSelectedRows(tableContainerID);
- }
-
- function checkMinOccursAndRemoveSelectedRowsAttribute(tableContainerID, minOccurs) {
- var table = getTable(tableContainerID);
- var rowsLength = table.rows.length - numberOfHeaderRows;
- var checkedRows = 0;
- for (var i = numberOfHeaderRows; i < table.rows.length; i++) {
- var tableRow = table.rows[i];
- var rowCheckbox = tableRow.getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- checkedRows++;
- }
- if (checkedRows == 0)
- alert("<%=HTMLUtils.JSMangle(wsdlPerspective.getMessage("MSG_ERROR_NOTHING_SELECTED"))%>");
- else if ((rowsLength - checkedRows) < minOccurs)
- alert("<%=HTMLUtils.JSMangle(wsdlPerspective.getMessage("MSG_ERROR_MIN_OCCURS_VIOLATION"))%>");
- else
- removeSelectedRowsAttribute(tableContainerID);
- }
-
-
- function checkMinOccursAndRemoveSelectedDateTimeRows(calendarType,tableContainerID,minOccurs)
- {
- var table = getTable(tableContainerID);
- var newCalendarTargetRow = calendarTargetRow;
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var columns = table.rows[i].getElementsByTagName("td");
- var rowCheckbox = columns.item(0).getElementsByTagName("input").item(0);
- if (rowCheckbox.checked)
- {
- if (i-numberOfHeaderRows == calendarTargetRow)
- newCalendarTargetRow = -1;
- else
- newCalendarTargetRow--;
- }
- }
- if (newCalendarTargetRow == -1)
- closeCalendarBrowser();
- calendarTargetRow = newCalendarTargetRow;
-
- checkMinOccursAndRemoveSelectedRows(tableContainerID,minOccurs);
-<%
- // Fix the browse... links.
-%>
- var table = getTable(tableContainerID);
- for (var i=numberOfHeaderRows;i<table.rows.length;i++)
- {
- var columns = table.rows[i].getElementsByTagName("td");
- var dateTimeTextField = columns.item(1).getElementsByTagName("input").item(0);
- setDateTimeBrowseLinkHref(columns.item(2).getElementsByTagName("a").item(0),calendarType,dateTimeTextField.name,i-numberOfHeaderRows);
- }
- }
-
- function createInstance(tableContainerID, maxOccurs, fragmentID, nameAnchorID) {
- if (checkMaxOccursReached(tableContainerID, maxOccurs))
- return;
- twistOpen(tableContainerID);
- var table = getTable(tableContainerID);
- var tableBody = table.getElementsByTagName("tbody").item(0);
- var newRow = document.createElement("tr");
- var newColumn = document.createElement("td");
- newColumn.appendChild(createHiddenElement("<%=FragmentConstants.FRAGMENT_ID%>", fragmentID));
- newColumn.appendChild(createHiddenElement("<%=FragmentConstants.NAME_ANCHOR_ID%>", nameAnchorID));
- newRow.appendChild(newColumn);
- tableBody.appendChild(newRow);
- var form = document.getElementsByTagName("form");
- form[0].action = "<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/CreateInstanceActionJSP.jsp"))%>";
- form[0].submit();
- }
-
- function openXSDInfoDialog(link) {
- xsdInfoDialog = window.open(link, "XSDInformationDialog", "height=500,width=500,scrollbars=no,resizable=yes");
- if (xsdInfoDialog.focus)
- xsdInfoDialog.focus();
- }
-
- function closeXSDInfoDialog()
- {
- if (!xsdInfoDialogClosed)
- xsdInfoDialog.close();
- }
-
- function synchronizeFragmentViews(viewID) {
- var form = document.getElementsByTagName("form");
- if (viewID == "<%=FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE%>")
- form[0].appendChild(createHiddenElement("<%=FragmentConstants.FRAGMENT_VIEW_ID%>","<%=FragmentConstants.FRAGMENT_VIEW_SWITCH_FORM_TO_SOURCE%>"));
- else
- form[0].appendChild(createHiddenElement("<%=FragmentConstants.FRAGMENT_VIEW_ID%>","<%=FragmentConstants.FRAGMENT_VIEW_SWITCH_SOURCE_TO_FORM%>"));
- form[0].action = "<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/SynchronizeFragmentViewsActionJSP.jsp"))%>";
- form[0].submit();
- }
-
- function addSimpleAtomicDateTimeRows(calendarType,tableContainerID,id,name,value,maxOccurs) {
- if (checkMaxOccursReached(tableContainerID, maxOccurs))
- return;
- twistOpen(tableContainerID);
- var table = getTable(tableContainerID);
- var tableBody = table.getElementsByTagName("tbody").item(0);
- var newRow = document.createElement("tr");
- var column0 = document.createElement("td");
- var column1 = document.createElement("td");
- var column2 = document.createElement("td");
-
- var rowCheckbox = createRowCheckbox();
- column0.appendChild(rowCheckbox);
-
- var input = document.createElement("input");
- input.type = "text";
- input.id = id;
- input.name = name;
- if (value != null && value.length > 0)
- input.value = value;
- input.className = "tabletextenter";
- column1.appendChild(input);
-
- column2.appendChild(createDateTimeBrowseLink(calendarType,name,table.rows.length-1));
- column2.width = "90%";
-
- column0.className = "checkboxcells";
- column1.className = "tablecells";
- column2.className = "tablecells";
- newRow.appendChild(column0);
- newRow.appendChild(column1);
- newRow.appendChild(column2);
- tableBody.appendChild(newRow);
- }
-
- function createDateTimeBrowseLink(calendarType,name,position)
- {
- var link = document.createElement("a");
- setDateTimeBrowseLinkHref(link,calendarType,name,position);
- link.appendChild(document.createTextNode("<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LINK_BROWSE"))%>"));
- return link;
- }
-
- function setDateTimeBrowseLinkHref(link,calendarType,name,position)
- {
- link.href = "javascript:openCalendarBrowser("+calendarType+",'contentborder','"+name+"',"+position+")";
- return link;
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlframesets.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlframesets.jsp
deleted file mode 100644
index d0c384952..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlframesets.jsp
+++ /dev/null
@@ -1,32 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- function getActionsContainerFrameset()
- {
- return perspectiveContent.frames["<%=WSDLFrameNames.WSDL_ACTIONS_CONTAINER%>"].document.getElementsByTagName("frameset").item(0);
- }
-
- function processFramesetSizes(framesetSizesForm)
- {
- toggleDoubleClickColumnTitle();
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- framesetSizesForm.<%=WSDLActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>.value = perspectiveContentFrameset.cols;
- framesetSizesForm.<%=WSDLActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>.value = actionsContainerFrameset.rows;
- framesetSizesForm.submit();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlpanes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlpanes.jsp
deleted file mode 100644
index 5b509c095..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/scripts/wsdlpanes.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- var wsdlNavigatorContainer = perspectiveContent.frames["<%=WSDLFrameNames.WSDL_NAVIGATOR_CONTAINER%>"];
- var wsdlNavigatorToolbar = wsdlNavigatorContainer.frames["<%=WSDLFrameNames.WSDL_NAVIGATOR_TOOLBAR%>"];
- var wsdlNavigatorContent = wsdlNavigatorContainer.frames["<%=WSDLFrameNames.WSDL_NAVIGATOR_CONTENT%>"];
- var wsdlActionsContainer = perspectiveContent.frames["<%=WSDLFrameNames.WSDL_ACTIONS_CONTAINER%>"];
- var wsdlPropertiesContainer = wsdlActionsContainer.frames["<%=WSDLFrameNames.WSDL_PROPERTIES_CONTAINER%>"];
- var wsdlPropertiesToolbar = wsdlPropertiesContainer.frames["<%=WSDLFrameNames.WSDL_PROPERTIES_TOOLBAR%>"];
- var wsdlPropertiesContent = wsdlPropertiesContainer.frames["<%=WSDLFrameNames.WSDL_PROPERTIES_CONTENT%>"];
- var wsdlStatusContainer = wsdlActionsContainer.frames["<%=WSDLFrameNames.WSDL_STATUS_CONTAINER%>"];
- var wsdlStatusToolbar = wsdlStatusContainer.frames["<%=WSDLFrameNames.WSDL_STATUS_TOOLBAR%>"];
- var wsdlStatusContent = wsdlStatusContainer.frames["<%=WSDLFrameNames.WSDL_STATUS_CONTENT%>"];
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/soap_envelope_xml.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/soap_envelope_xml.jsp
deleted file mode 100644
index f1a0b0111..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/soap_envelope_xml.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%><%@ page contentType="text/xml; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %><jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/><%
-int soapEnvelopeType = Integer.parseInt(request.getParameter(WSDLActionInputs.SOAP_ENVELOPE_TYPE));
-WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-SOAPMessageQueue soapMessageQueue;
-switch (soapEnvelopeType)
-{
- case WSDLActionInputs.SOAP_ENVELOPE_TYPE_REQUEST:
- soapMessageQueue = wsdlPerspective.getSOAPRequestQueue();
- break;
- case WSDLActionInputs.SOAP_ENVELOPE_TYPE_RESPONSE:
- default:
- soapMessageQueue = wsdlPerspective.getSOAPResponseQueue();
- break;
-}
-String messages = soapMessageQueue.getMessagesFromList();
-%><%=messages%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_actions_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_actions_container.jsp
deleted file mode 100644
index b0c3d0688..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_actions_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%></title>
-</head>
-<frameset rows="<%=wsdlPerspective.getActionsContainerFramesetRows()%>" bgcolor="#ECE9D8">
- <frame name="<%=WSDLFrameNames.WSDL_PROPERTIES_CONTAINER%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%>" src="<%=response.encodeURL("wsdl_properties_container.jsp")%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
- <frame name="<%=WSDLFrameNames.WSDL_STATUS_CONTAINER%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%>" src="<%=response.encodeURL("wsdl_status_container.jsp")%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_container.jsp
deleted file mode 100644
index 0820de627..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_container.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=WSDLFrameNames.WSDL_NAVIGATOR_TOOLBAR%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%>" src="<%=response.encodeURL("wsdl_navigator_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=WSDLFrameNames.WSDL_NAVIGATOR_CONTENT%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%>" src="<%=response.encodeURL("wsdl_navigator_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_content.jsp
deleted file mode 100644
index 7b47e4dd2..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_content.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/treeview.css"))%>">
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/treeview.js"))%>">
- </script>
-</head>
-<%
- String selectedAnchorName = "";
- NodeManager nodeManager = controller.getWSDLPerspective().getNodeManager();
- int focusedNodeId = nodeManager.getFocusedNodeId();
- String focusedAnchorName = String.valueOf(focusedNodeId);
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null) {
- selectedAnchorName = selectedNode.getAnchorName();
- if (focusedNodeId == selectedNode.getNodeId())
- focusedAnchorName = selectedAnchorName;
- }
-%>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onLoad="self.location.hash='#<%=focusedAnchorName%>';setSelectedAnchorName('<%=selectedAnchorName%>')" class="contentbodymargin">
- <div id="treecontentborder">
- <%=nodeManager.renderTreeView(response)%>
- </div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_toolbar.jsp
deleted file mode 100644
index afc523c87..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_navigator_toolbar.jsp
+++ /dev/null
@@ -1,66 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/wsdl/scripts/wsdlframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("wsdl/actions/ResizeWSDLFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(WSDLFrameNames.WSDL_NAVIGATOR_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/wsdl/forms/ProcessWSDLFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/navigator.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (wsdlPerspective.getPerspectiveContentFramesetCols().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- else
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_NAVIGATOR")%></td>
-<%
- String altRefresh = controller.getMessage("ALT_REFRESH");
- String altClear = controller.getMessage("ALT_CLEAR");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/RefreshWSDLActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseup(this)" alt="<%=altRefresh%>" title="<%=altRefresh%>"></a></td>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/ClearWSDLActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_perspective_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_perspective_content.jsp
deleted file mode 100644
index aab86c99c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_perspective_content.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<frameset cols="<%=wsdlPerspective.getPerspectiveContentFramesetCols()%>" bgcolor="#ECE9D8">
- <%
- if (org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.isRTL())
- {
- %>
- <frame name="<%=WSDLFrameNames.WSDL_ACTIONS_CONTAINER%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL("wsdl_actions_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=WSDLFrameNames.WSDL_NAVIGATOR_CONTAINER%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL("wsdl_navigator_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- else
- {
- %>
- <frame name="<%=WSDLFrameNames.WSDL_NAVIGATOR_CONTAINER%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL("wsdl_navigator_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=WSDLFrameNames.WSDL_ACTIONS_CONTAINER%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL("wsdl_actions_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- %>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_container.jsp
deleted file mode 100644
index 558e23300..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=WSDLFrameNames.WSDL_PROPERTIES_TOOLBAR%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%>" src="<%=response.encodeURL("wsdl_properties_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=WSDLFrameNames.WSDL_PROPERTIES_CONTENT%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%>" src="<%=response.encodeURL("wsdl_properties_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_content.jsp
deleted file mode 100644
index 876e36d55..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_content.jsp
+++ /dev/null
@@ -1,73 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<%
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null)
- {
- ToolManager toolManager;
- if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNode.getToolManager();
- else
- toolManager = selectedNode.getViewToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- if (selectedTool != null && selectedTool.getToolType() != ToolTypes.ACTION) {
- %>
- <script language="javascript">
- location="<%=response.encodeURL(controller.getPathWithContext(selectedTool.getFormLink()))%>";
- </script>
- <%
- }
- else {
- %>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_ACTION_SELECTED")%>
- </td>
- </tr>
-</table>
- <%
- }
- }
- else {
- %>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_NODE_SELECTED")%>
- </td>
- </tr>
-</table>
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_toolbar.jsp
deleted file mode 100644
index d882c3042..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_properties_toolbar.jsp
+++ /dev/null
@@ -1,81 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/wsdl/scripts/wsdlframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("wsdl/actions/ResizeWSDLFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(WSDLFrameNames.WSDL_PROPERTIES_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/wsdl/forms/ProcessWSDLFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/actions.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (wsdlPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (wsdlPerspective.getActionsContainerFramesetRows().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_ACTIONS")%></td>
-<%
- NodeManager nodeManager = wsdlPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null) {
- ToolManager toolManager;
- if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNode.getToolManager();
- else
- toolManager = selectedNode.getViewToolManager();
- for(int i=0; i<toolManager.getNumberOfTools(); i++) {
- Tool tool = (Tool)toolManager.getTool(i);
- %>
- <td valign="middle" align="center" width=25 height=25><%=tool.renderTool(response,controller)%></td>
- <%
- }
- }
-%>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_result_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_result_content.jsp
deleted file mode 100644
index 74e79f642..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_result_content.jsp
+++ /dev/null
@@ -1,72 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- int viewID = wsdlPerspective.getStatusContentType();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- function switchReadOnlyFragmentsView() {
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/SwitchReadOnlyFragmentViewsActionJSP.jsp"))%>";
- }
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td align="right" class="labels">
-<%
- if (viewID == wsdlPerspective.STATUS_CONTENT_RESULT_SOURCE)
- {
-%>
- <a href="javascript:switchReadOnlyFragmentsView()" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_FORM_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_FORM")%></a>
-<%
- }
- else
- {
-%>
- <a href="javascript:switchReadOnlyFragmentsView()" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_SOURCE_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_SOURCE")%></a>
-<%
- }
-%>
- </td>
- </tr>
- </table>
-<%
- if (viewID == wsdlPerspective.STATUS_CONTENT_RESULT_SOURCE)
- {
-%>
- <jsp:include page="/wsdl/forms/ReadOnlyFragmentsSoapView.jsp" flush="true"/>
-<%
- }
- else
- {
-%>
- <jsp:include page="/wsdl/forms/ReadOnlyFragmentsFormView.jsp" flush="true"/>
-<%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_container.jsp
deleted file mode 100644
index b03acef31..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_container.jsp
+++ /dev/null
@@ -1,39 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- String statusContentSrc = "wsdl_status_content.jsp";
- switch (wsdlPerspective.getStatusContentType())
- {
- case WSDLPerspective.STATUS_CONTENT_RESULT_FORM:
- statusContentSrc = "wsdl_result_content.jsp";
- break;
- case WSDLPerspective.STATUS_CONTENT_RESULT_SOURCE:
- statusContentSrc = "wsdl_result_content.jsp";
- break;
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=WSDLFrameNames.WSDL_STATUS_TOOLBAR%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%>" src="<%=response.encodeURL("wsdl_status_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=WSDLFrameNames.WSDL_STATUS_CONTENT%>" title="<%=wsdlPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%>" src="<%=response.encodeURL(statusContentSrc)%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_content.jsp
deleted file mode 100644
index 863eb2dd5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_content.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
- wsdlPerspective.setStatusContentType(WSDLPerspective.STATUS_CONTENT_DEFAULT);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <table>
- <tr>
- <td>
- <pre>
-<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsdlPerspective.getMessageQueue().getMessagesFromList())%>
- </pre>
- </td>
- </tr>
- </table>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_toolbar.jsp
deleted file mode 100644
index c5164e52e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/wsdl_status_toolbar.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsdlPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/wsdl/scripts/wsdlframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("wsdl/actions/ResizeWSDLFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(WSDLFrameNames.WSDL_STATUS_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/wsdl/forms/ProcessWSDLFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/status.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (wsdlPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (wsdlPerspective.getActionsContainerFramesetRows().endsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_STATUS")%></td>
-<%
- String altClear = controller.getMessage("ALT_CLEAR");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsdl/wsdl_status_content.jsp"))%>" target="<%=WSDLFrameNames.WSDL_STATUS_CONTENT%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_browser.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_browser.jsp
deleted file mode 100644
index 076bf96e8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_browser.jsp
+++ /dev/null
@@ -1,57 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.net.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- String wsdlTypeString = request.getParameter(ActionInputs.WSDL_TYPE);
- int wsdlType = ActionInputs.WSDL_TYPE_SERVICE_INTERFACE;
- try
- {
- wsdlType = Integer.parseInt(wsdlTypeString);
- }
- catch (NumberFormatException e)
- {
- }
- controller.setWSDLType(wsdlType);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>
-<%
- String wsdlSource;
- if (wsdlType == ActionInputs.WSDL_TYPE_SERVICE_INTERFACE)
- wsdlSource = controller.getMessage("WSDL_TYPE_SERVICE_INTERFACES");
- else
- wsdlSource = controller.getMessage("WSDL_TYPE_SERVICES");
-
- StringBuffer sessionIdParam = new StringBuffer(ActionInputs.SESSIONID);
- sessionIdParam.append('=').append(sessionId);
-
- StringBuffer toolbarLink = new StringBuffer("wsdl_toolbar.jsp?");
- toolbarLink.append(ActionInputs.SESSIONID).append('=').append(sessionId);
-%>
- <%=controller.getMessage("TITLE_WSDL_BROWSER",wsdlSource)%>
- </title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=FrameNames.WSDL_TOOLBAR%>" title="<%=controller.getMessage("FRAME_TITLE_WSDL_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext(toolbarLink.toString()))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=FrameNames.WSDL_CONTENT%>" title="<%=controller.getMessage("FRAME_TITLE_WSDL_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext(ProxyLoadPageAction.getActionLink(sessionId,"wsdl_content.jsp")))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_content.jsp
deleted file mode 100644
index 693e6a3bb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_content.jsp
+++ /dev/null
@@ -1,393 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060524 142499 jeffliu@ca.ibm.com - Jeffrey Liu
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.core.resources.*,
- org.eclipse.core.runtime.*,
- org.eclipse.wst.ws.internal.explorer.platform.uddi.util.Uddi4jHelper,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.wst.ws.internal.wsrt.WebServiceInfo,
- org.eclipse.wst.ws.internal.wsfinder.WebServiceFinder,
- org.eclipse.wst.ws.internal.wsfinder.WebServiceCategory,
- javax.wsdl.extensions.soap.*,
- javax.wsdl.extensions.http.*,
- javax.wsdl.extensions.*,
- javax.wsdl.*,
- java.util.*,
- java.net.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
- int wsdlType = controller.getWSDLType();
-
- WebServiceCategory mainCategory = null;
-
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title><%=controller.getMessage("FRAME_TITLE_WSDL_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
-</script>
-<script language="javascript">
-
-
- function fillCategories()
- {
- var y = 0;
- var x = 0;
- document.forms[0].<%=ActionInputs.CATEGORY%>.options[x++] = new Option("<%=controller.getMessage("FORM_LABEL_WSDL_All")%>","<%=controller.getMessage("FORM_LABEL_WSDL_All")%>");
- document.forms[0].<%=ActionInputs.CATEGORY%>.options[x++] = new Option("<%=controller.getMessage("FORM_LABEL_WSDL_SOURCE_FAVORITES")%>","<%=controller.getMessage("FORM_LABEL_WSDL_SOURCE_FAVORITES")%>");
-<%
- {
- WebServiceCategory[] categories = WebServiceFinder.instance().getWebServiceCategories();
- for (int i=0;i<categories.length;i++)
- {
- String label = HTMLUtils.JSMangle(categories[i].getLabel());
- if(categories[i].getId().equals("org.eclipse.wst.ws.internal.wsfinder.category.workspace")){
-%>
- var y = x;
-<%
- }
-%>
- document.forms[0].<%=ActionInputs.CATEGORY%>.options[x++] = new Option("<%=label%>","<%=label%>");
-<%
- }
- }
-%>
- if (document.forms[0].<%=ActionInputs.CATEGORY%>.options.length > 0)
- {
- document.forms[0].<%=ActionInputs.CATEGORY%>.options[y].selected = true;
- fillWSDLFilesByCategory(document.forms[0].<%=ActionInputs.CATEGORY%>.options[y].value);
- }
-
- }
-
- function fillWebProjects()
- {
- var x = 0;
-<%
- {
- IWorkspaceRoot iWorkspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
- IProject[] projects = iWorkspaceRoot.getProjects();
- for (int i=0;i<projects.length;i++)
- {
- if (!projects[i].isOpen())
- continue;
- String name = HTMLUtils.JSMangle(projects[i].getName());
-%>
- document.forms[0].<%=ActionInputs.PROJECT%>.options[x++] = new Option("<%=name%>","<%=name%>");
-<%
- }
- }
-%>
- if (document.forms[0].<%=ActionInputs.PROJECT%>.options.length > 0)
- {
- document.forms[0].<%=ActionInputs.PROJECT%>.options[0].selected = true;
- fillWSDLFiles(document.forms[0].<%=ActionInputs.PROJECT%>.options[0].value);
- }
- }
-
-<%! private Vector wsdlURLs_ = new Vector(); %>
-
- function fillWSDLFilesByCategory(webServiceFinderLabel)
- {
- var currentNumberOfOptions = document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options.length;
- for (var i=0;i<currentNumberOfOptions;i++)
- document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options[0] = null;
- if (webServiceFinderLabel == "<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_WSDL_All"))%>"){
- document.getElementById("projects").style.display = "none";
- fillAllWSDLFiles();
- }
- if (webServiceFinderLabel == "<%=HTMLUtils.JSMangle(controller.getMessage("FORM_LABEL_WSDL_SOURCE_FAVORITES"))%>"){
- document.getElementById("projects").style.display = "none";
- fillFavoriteWSDLFiles();
- }
-
-<%
- {
-
- WebServiceFinder finder = WebServiceFinder.instance();
- WebServiceCategory[] categories = finder.getWebServiceCategories();
- for (int i=0;i<categories.length;i++)
- {
- WebServiceCategory category = categories[i];
-%>
- if (webServiceFinderLabel == "<%=HTMLUtils.JSMangle(category.getLabel())%>")
- {
- var x = 0;
-
-<%
- Iterator it = finder.getWebServicesByCategory(category,null);
- if(category.getId().equals("org.eclipse.wst.ws.internal.wsfinder.category.workspace")){
- mainCategory = category;
-%>
- document.getElementById("projects").style.display = "";
- fillWebProjects();
-<%
- }
- else{
-%>
- document.getElementById("projects").style.display = "none";
-
-<%
- while(it.hasNext())
- {
- WebServiceInfo wsi = (WebServiceInfo)it.next();
- String wsdl = HTMLUtils.JSMangle(wsi.getWsdlURL());
-%>
- document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options[x++] = new Option("<%=wsdl%>", "<%=wsdl%>");
-<%
- }
- }
-%>
- }
-<%
- }
- }
-%>
- }
-
- function fillAllWSDLFiles()
- {
- var x = 0;
- var currentNumberOfOptions = document.forms[0].webProjectWSDLURL.options.length;
- for (var i=0;i<currentNumberOfOptions;i++)
- document.forms[0].webProjectWSDLURL.options[0] = null;
-<%
- TreeSet urls = new TreeSet();
- Iterator wsIterator = WebServiceFinder.instance().getWebServices(null);
- while (wsIterator.hasNext())
- {
- WebServiceInfo wsInfo = (WebServiceInfo)wsIterator.next();
- String wsdl = HTMLUtils.JSMangle(wsInfo.getWsdlURL());
- urls.add(wsdl);
- }
-
- FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective();
- NodeManager favoritesNodeManager = favoritesPerspective.getNodeManager();
- TreeElement favoritesMainElement = favoritesNodeManager.getRootNode().getTreeElement();
- TreeElement favoriteWSDLServicesElement = (TreeElement)(favoritesMainElement.getElements(FavoritesModelConstants.REL_WSDL_SERVICE_FOLDER_NODE).nextElement());
- Enumeration favoriteWSDLServiceElements = favoriteWSDLServicesElement.getElements(FavoritesModelConstants.REL_WSDL_SERVICE_NODE);
- while (favoriteWSDLServiceElements.hasMoreElements())
- {
- FavoritesWSDLServiceElement favoriteWSDLServiceElement = (FavoritesWSDLServiceElement)favoriteWSDLServiceElements.nextElement();
- String wsdl = HTMLUtils.JSMangle((favoriteWSDLServiceElement.getService().getDescriptions())[0].getLocation());
- urls.add(wsdl);
- }
- Iterator iterator = urls.iterator();
- while(iterator.hasNext()){
- String wsdl = HTMLUtils.JSMangle(iterator.next().toString());
-%>
- document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options[x++] = new Option("<%=wsdl%>", "<%=wsdl%>");
-<%
-
- }
-
-%>
- }
-
- function fillWSDLFiles(selectedWebProjectName)
- {
- var currentNumberOfOptions = document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options.length;
- for (var i=0;i<currentNumberOfOptions;i++)
- document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options[0] = null;
-<%
- {
-
- IWorkspaceRoot iWorkspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
- IProject[] projects = iWorkspaceRoot.getProjects();
-
- for (int i=0;i<projects.length;i++)
- {
- if (!projects[i].isOpen())
- continue;
- {
-%>
- if (selectedWebProjectName == "<%=HTMLUtils.JSMangle(projects[i].getName())%>")
- {
- var x=0;
-<%
- String platformProtocol = "platform:/resource";
- String httpProtocol = "http://";
- String httpsProtocol = "https://";
- wsdlURLs_.removeAllElements();
-
- Iterator ws = WebServiceFinder.instance().getWebServicesByCategory(mainCategory,null);
-
- while (ws.hasNext())
- {
- WebServiceInfo wsInfo = (WebServiceInfo)ws.next();
- String url = wsInfo.getWsdlURL();
-
- // filter wsdl URLs with same project name as selected project
- // only look at workspace URLs returned from the web service finder
- if (url.startsWith(platformProtocol))
- {
- //strip off platformProtocol to look at the workspace path
- Path wsdlPath = new Path(url.substring(platformProtocol.length()+1));
- String pathProjName = wsdlPath.segment(0);
-
- if (pathProjName.equals(projects[i].getName()))
- {
- wsdlURLs_.add(url);
- }
- }
- // also add any http or https URLs returned
- else if (url.startsWith(httpProtocol) || url.startsWith(httpsProtocol))
- {
- wsdlURLs_.add(url);
- }
- }
- if (wsdlType == ActionInputs.WSDL_TYPE_SERVICE_INTERFACE)
- {
-
- }
-
- for (Iterator it = wsdlURLs_.iterator(); it.hasNext();)
- {
- String wsdl = HTMLUtils.JSMangle(it.next().toString());
- %>
- document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options[x++] = new Option("<%=wsdl%>", "<%=wsdl%>");
- <%
- }
-%>
- }
-<%
- }
- }
- }
-%>
- }
-
- function fillFavoriteWSDLFiles()
- {
- var currentNumberOfOptions = document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options.length;
- for (var i=0;i<currentNumberOfOptions;i++)
- document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options[0] = null;
- var x = 0;
-<%
- Enumeration favoriteWSDLServiceElements2 = favoriteWSDLServicesElement.getElements(FavoritesModelConstants.REL_WSDL_SERVICE_NODE);
- while (favoriteWSDLServiceElements2.hasMoreElements())
- {
- FavoritesWSDLServiceElement favoriteWSDLServiceElement = (FavoritesWSDLServiceElement)favoriteWSDLServiceElements2.nextElement();
- String url = HTMLUtils.JSMangle((favoriteWSDLServiceElement.getService().getDescriptions())[0].getLocation());
-%>
- document.forms[0].<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.options[x++] = new Option("<%=url%>","<%=url%>");
-<%
- }
-%>
-
- }
-
-
-
- function setDefaults()
- {
- fillCategories();
- var loadScreenTable = document.getElementById("loadScreen");
- if (loadScreenTable.rows.length > 0)
- loadScreenTable.deleteRow(0);
- document.getElementById("mainScreen").style.display = "";
- }
-</script>
-</head>
-
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
- <div id="contentborder">
- <table id="loadScreen">
- <tr>
- <td>
- <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%>
- </td>
- </tr>
- </table>
- <div id="mainScreen" style="display:none;">
- <form style="margin-top:0">
-
- <table>
- <tr>
- <td> <%=controller.getMessage("FORM_LABEL_WSDL_SOURCE")%> </td>
- </tr>
- </table>
- <div id="workbench" >
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=30 valign="bottom" class="labels"><%=controller.getMessage("FORM_LABEL_WSDL_CATEGORY")%></td>
- </tr>
- <tr>
- <td nowrap>
- <select name="<%=ActionInputs.CATEGORY%>" onChange="fillWSDLFilesByCategory(this.value)" class="selectlist">
- </select>
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_REFRESH")%>" onClick="document.location.reload()" class="button">
- </td>
- </tr>
- </table>
- <div id="projects" style="display:none;">
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td height=30 valign="bottom" class="labels"><%=controller.getMessage("FORM_LABEL_WSDL_SOURCE_WEBPROJECTS")%></td>
- </tr>
- <tr>
- <td nowrap>
- <select name="project" onChange="fillWSDLFiles(this.value)" class="selectlist">
- </select>
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_REFRESH")%>" onClick="document.location.reload()" class="button">
- </td>
- </tr>
- </table>
- </div>
- <table>
- <tr>
- <td height=10 valign="bottom" class="labels"><%=controller.getMessage("FORM_LABEL_WSDL_URL")%></td>
- </tr>
- <tr>
- <td>
- <select name="<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>" class="selectlist">
- </select>
- </td>
- </tr>
- </table>
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=30 valign="bottom" nowrap align="left">
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_GO")%>" onClick="top.opener.targetWSDLURLElement.value=this.form.<%=ActionInputs.QUERY_INPUT_WEBPROJECT_WSDL_URL%>.value;top.close()" class="button">
- </td>
- <td height=30 valign="bottom" nowrap align="left">
- <input type="button" value="<%=controller.getMessage("FORM_BUTTON_CANCEL")%>" onClick="top.close()" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
- </div>
-
- </form>
- </div>
- </div>
-<script language="javascript">
- setDefaults();
- resumeProxyLoadPage();
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_toolbar.jsp
deleted file mode 100644
index d7c838d6c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl_toolbar.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<%
- String sessionId = request.getParameter(ActionInputs.SESSIONID);
- HttpSession currentSession = (HttpSession)application.getAttribute(sessionId);
- Controller controller = (Controller)currentSession.getAttribute("controller");
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FRAME_TITLE_WSDL_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onUnload="top.opener.wsdlWindowClosed=true" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar">
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/wsdl.gif"))%>" width=16 height=16></td>
- <td valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_WSDL_BROWSER")%></td>
- </tr>
- </table>
- </div>
-</div>
-<script language="javascript">
- top.opener.wsdlWindowClosed = false;
-</script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsexplorer.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsexplorer.jsp
deleted file mode 100644
index a90aa8be5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsexplorer.jsp
+++ /dev/null
@@ -1,88 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.URLUtils,
- java.util.Enumeration,
- java.net.*,
- java.io.*"%>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript">
- function initWindowName(name)
- {
- window.name = name;
- }
- </script>
- <%
- String sessionId = session.getId();
- %>
- <jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session">
- <%
- // Add the session to the application. This allows us to resurrect the session even if the browser chooses not to participate.
- application.setAttribute(sessionId,session);
-
- if (session.getMaxInactiveInterval() > 0)
- session.setMaxInactiveInterval(-1);
-
- // LaunchOptionManager (below) handles most options,
- // but need to get state and install locations earlier,
- // specifically before controller.init().
- Enumeration paramNames = request.getParameterNames();
- while (paramNames.hasMoreElements())
- {
- String paramName = (String)paramNames.nextElement();
- String[] paramValues = request.getParameterValues(paramName);
- if (paramValues != null && paramValues.length > 0)
- {
- String decodedParamName = URLUtils.decode(paramName);
- if (decodedParamName.equals(LaunchOptions.DEFAULT_FAVORITES_LOCATION))
- {
- controller.setDefaultFavoritesLocation(paramValues[0]);
- }
- else if (decodedParamName.equals(LaunchOptions.STATE_LOCATION))
- {
- controller.setStateLocation(paramValues[0]);
- }
- }
- }
-
- // controller.init()
- controller.init(sessionId,application,request.getContextPath());
- %>
- </jsp:useBean>
- <%
- // preload from LaunchOptionManager
- String key = request.getParameter(URLUtils.encode(WSExplorerContext.ID));
- if (key != null && key.length() > 0)
- {
- LaunchOptionsManager manager = LaunchOptionsManager.getInstance();
- manager.manage(key, sessionId, application);
- }
- %>
- <jsp:include page="/actionengine.jsp" flush="true"/>
- <title><%=controller.getMessage("TITLE_WSEXPLORER")%></title>
-</head>
-<%
-// reset perspective content to blank
-controller.enablePerspectiveContentBlank(true);
-%>
-<frameset rows="0,35,*" border=0 onload="javascript:initWindowName('<%=FrameNames.WINDOW_NAME_WSEXPLORER_JSP%>')">
- <frame name="<%=FrameNames.PERSPECTIVE_WORKAREA%>" title="<%=controller.getMessage("FRAME_TITLE_PERSPECTIVE_WORKAREA")%>" frameborder=0 noresize>
- <frame name="<%=FrameNames.PERSPECTIVE_TOOLBAR%>" title="<%=controller.getMessage("FRAME_TITLE_PERSPECTIVE_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("perspective_toolbar.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=0 noresize>
- <frame name="<%=FrameNames.PERSPECTIVE_CONTENT%>" title="<%=controller.getMessage("FRAME_TITLE_PERSPECTIVE_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("perspective_content.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp
deleted file mode 100644
index 9fe32ba77..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- * -------- -------- -----------------------------------------------------------
- * 20060906 155434 makandre@ca.ibm.com - Andrew Mak, Back Slash '\' not appearing in "WSIL no longer resolvable" error message
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.ClearWSILAction,
- org.eclipse.wst.ws.internal.explorer.platform.util.*"%>
-
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(controller.getWSILPerspective().getMessage("MSG_CONFIRM_REMOVE_NODE", controller.getWSILPerspective().getNodeManager().getSelectedNode().getNodeName()))%>")) {
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearWSILAction.getActionLink(controller.getWSILPerspective().getNodeManager().getSelectedNode().getNodeId())))%>";
- }
- else {
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- }
- </script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearWSILActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearWSILActionJSP.jsp
deleted file mode 100644
index 31bb13f68..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearWSILActionJSP.jsp
+++ /dev/null
@@ -1,18 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.ClearWSILAction"%>
-
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- ClearWSILAction action = new ClearWSILAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
-<%@ include file="/actions/ClearNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSDLToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSDLToFileSystemActionJSP.jsp
deleted file mode 100644
index b55b9461d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSDLToFileSystemActionJSP.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.io.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- ImportWSDLToFileSystemAction action = new ImportWSDLToFileSystemAction(controller);
-%>
-<%@ include file="/actions/ImportToFileSystemAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSILToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSILToFileSystemActionJSP.jsp
deleted file mode 100644
index 0edcd8e50..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSILToFileSystemActionJSP.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- java.io.*" %>
-
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- ImportWSILToFileSystemAction action = new ImportWSILToFileSystemAction(controller);
-%>
-<%@ include file="/actions/ImportToFileSystemAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.jsp
deleted file mode 100644
index 23a4c47fb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
-// Prepare the action.
-OpenWSILAction action = new OpenWSILAction(controller);
-
-// Load the parameters for the action from the servlet request.
-boolean inputsValid = action.populatePropertyTable(request);
-if (!inputsValid) {
-%>
- <script language="javascript">
- wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
-<%
-}
-else {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- if (actionResult) {
-%>
- <script language="javascript">
- if (isMicrosoftInternetExplorer()) {
- wsilNavigatorContent.location="<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_navigator_content.jsp"))%>";
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_perspective_content.jsp"))%>";
- </script>
-<%
- }
- else {
-%>
- <script language="javascript">
- wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
-<%
- }
-}
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.jsp
deleted file mode 100644
index 9ca75e67c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.OpenWSILLinkAction"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
-// Prepare the action.
-OpenWSILLinkAction action = new OpenWSILLinkAction(controller);
-
-// Load the parameters for the action from the servlet request.
-boolean inputsValid = action.populatePropertyTable(request);
-if (!inputsValid) {
-%>
- <script language="javascript">
- wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
-<%
-}
-else {
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
- if (actionResult) {
-%>
- <script language="javascript">
- if (isMicrosoftInternetExplorer()) {
- wsilNavigatorContent.location="<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_navigator_content.jsp"))%>";
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_perspective_content.jsp"))%>";
- </script>
-<%
- }
- else {
-%>
- <script language="javascript">
- wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
-<%
- }
-}
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp
deleted file mode 100644
index baf3e1a5a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp
+++ /dev/null
@@ -1,63 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.Action,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*"%>
-
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- Action action = RefreshAction.newAction(request, controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <%
- if (!actionResult) {
- if (action instanceof RefreshWSILAction) {
- %>
- <jsp:include page="/wsil/actions/ClearNodeConfirmJSP.jsp" flush="true"/>
- <%
- }
- else {
- %>
- <script language="javascript">
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
- <%
- }
- %>
- <%
- }
- else {
- %>
- <script language="javascript">
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
- <%
- }
- %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp
deleted file mode 100644
index b9e376b25..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Create the action.
- ResizeWSILFramesAction action = new ResizeWSILFramesAction(controller);
-
- // Populate the action with the request properties.
- boolean result = action.populatePropertyTable(request);
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
- if (result)
- {
- action.execute(false);
-
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<script language="javascript">
- if (isMicrosoftInternetExplorer())
- {
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- perspectiveContentFrameset.setAttribute("cols","<%=wsilPerspective.getPerspectiveContentFramesetCols()%>");
- actionsContainerFrameset.setAttribute("rows","<%=wsilPerspective.getActionsContainerFramesetRows()%>");
- }
- else
- perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_perspective_content.jsp"))%>";
-</script>
-<%
- }
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILNodeActionJSP.jsp
deleted file mode 100644
index 7f94c89f9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILNodeActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILNodeAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- SelectWSILNodeAction action = new SelectWSILNodeAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- // Determine if the action was added to the history list.
- boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILToolActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILToolActionJSP.jsp
deleted file mode 100644
index 338dfd6a0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILToolActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action.
- SelectWSILToolAction action = new SelectWSILToolAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- // Determine if the action was added to the history list.
- boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/SelectNodeToolAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp
deleted file mode 100644
index 57d07b2a4..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- // Prepare the action
- SwitchPerspectiveFromWSILAction action = new SwitchPerspectiveFromWSILAction(controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- // Determine if the action was added to the history list.
- boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<jsp:include page="/scripts/switchperspective.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp
deleted file mode 100644
index 8d53132ef..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILImportWSILToWorkbenchAction action = new WSILImportWSILToWorkbenchAction(controller);
-%>
-<%@ include file="/actions/ImportToWorkbenchAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.jsp
deleted file mode 100644
index d08368670..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.jsp
+++ /dev/null
@@ -1,39 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction"%>
-
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-AddToFavoritesAction action = AddToFavoritesAction.newAction(request, controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action
-action.execute();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <script language="javascript">
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp
deleted file mode 100644
index 08a37b936..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp
+++ /dev/null
@@ -1,56 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <jsp:include page="/scripts/panes.jsp" flush="true"/>
- <jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <%
- // Prepare the action.
- Action action = AddToUDDIPerspectiveAction.newAction(request, controller);
-
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
-
- // Run the action and obtain the return code (fail/success).
- boolean actionResult = action.execute();
-
- if (actionResult)
- {
- controller.getUDDIPerspective().getNavigatorManager().makeSelectedNodeVisible();
- %>
- <script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_UDDI,false)))%>";
- </script>
- <%
- }
- else
- {
- %>
- <script language="javascript">
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
- <%
- }
- %>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp
deleted file mode 100644
index a1f49dc4e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp
+++ /dev/null
@@ -1,53 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.WsilAddToWSDLPerspectiveAction"%>
-
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
-<%
-// Prepare the action.
-WsilAddToWSDLPerspectiveAction action = new WsilAddToWSDLPerspectiveAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-if (actionResult) {
-%>
- <script language="javascript">
- perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_WSDL,false)))%>";
- </script>
-<%
-}
-else {
-%>
- <script language="javascript">
- wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>";
- wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>";
- </script>
-<%
-}
-%>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp
deleted file mode 100644
index 9ba990339..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp
+++ /dev/null
@@ -1,72 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils,
- java.util.Enumeration"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>">
- <form action="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/WsilAddToFavoritesActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-<%
- Enumeration paramNames = request.getParameterNames();
- while (paramNames.hasMoreElements()) {
- String paramName = (String)paramNames.nextElement();
- String[] paramValues = request.getParameterValues(paramName);
- for (int i = 0; i < paramValues.length; i++) {
-%>
- <input type="hidden" name="<%=paramName%>" value="<%=paramValues[i]%>">
-<%
- }
- }
-%>
- </form>
-</body>
-</html>
-<%
-if (request.getParameter(WsilActionInputs.MULTIPLE_LINK_ACTION) == null) {
- // Prepare the action.
- AddToFavoritesAction action = AddToFavoritesAction.newAction(request, controller);
- // Load the parameters for the action from the servlet request.
- action.populatePropertyTable(request);
- if (action.favoriteExists()) {
-%>
- <script language="javascript">
- if (confirm("<%=HTMLUtils.JSMangle(controller.getWSILPerspective().getMessage("MSG_QUESTION_OVERWRITE_FAVORITES"))%>"))
- document.forms[0].submit();
- </script>
-<%
- }
- else {
-%>
- <script language="javascript">
- document.forms[0].submit();
- </script>
-<%
- }
-}
-else {
-%>
- <script language="javascript">
- document.forms[0].submit();
- </script>
-<%
-}
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp
deleted file mode 100644
index 3daac68cd..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WsilImportWSDLToWorkbenchAction action = new WsilImportWSDLToWorkbenchAction(controller);
-%>
-<%@ include file="/actions/ImportToWorkbenchAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp
deleted file mode 100644
index 284c8398a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WsilLaunchWebServiceWizardAction action = new WsilLaunchWebServiceWizardAction(controller);
-%>
-<%@ include file="/actions/LaunchWebServiceWizardAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilToggleNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilToggleNodeActionJSP.jsp
deleted file mode 100644
index b82cdb09b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilToggleNodeActionJSP.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.actions.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-// Prepare the action.
-WsilToggleNodeAction action = new WsilToggleNodeAction(controller);
-
-// Load the parameters for the action from the servlet request.
-action.populatePropertyTable(request);
-
-// Run the action and obtain the return code (fail/success).
-boolean actionResult = action.execute();
-
-// Determine if the action was added to the history list.
-boolean isAddedToHistory = action.isAddedToHistory();
-%>
-<%@ include file="/actions/ToggleNodeAction.inc" %>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp
deleted file mode 100644
index a99150eca..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp
+++ /dev/null
@@ -1,101 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-WSILPerspective wsilPerspective = controller.getWSILPerspective();
-FormTool formTool = (FormTool)wsilPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_OPEN_WSIL")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/OpenWSILActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
- <%
- String titleImagePath = "wsil/images/open_wsil_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_OPEN_WSIL");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=wsilPerspective.getMessage("FORM_LABEL_OPEN_WSIL_DESC")%>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom">
- <label for="input_wsil_url"><%=wsilPerspective.getMessage("WSIL_URL")%></label>
- <%
- if (!formTool.isInputValid(WsilActionInputs.WSIL_URL)) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- String wsilURL = (String)formTool.getProperty(WsilActionInputs.WSIL_URL);
- if (wsilURL == null)
- wsilURL = "";
- %>
- </td>
- </tr>
- <tr>
- <td>
- <input type="text" id="input_wsil_url" name="<%=WsilActionInputs.WSIL_URL%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilURL)%>" size="50" class="textenter">
- </td>
- </tr>
- </table>
- <%
- String inspectionTypeString = (String)formTool.getProperty(WsilActionInputs.WSIL_INSPECTION_TYPE);
- int inspectionType = WsilActionInputs.WSIL_DETAILS;
- if (inspectionTypeString != null)
- inspectionType = Integer.parseInt(inspectionTypeString);
- %>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="inspection_type"><%=wsilPerspective.getMessage("FORM_LABEL_CHOOSE_WSIL_INSPECTION_TYPE")%></label>
- </td>
- </tr>
- <tr>
- <td valign="bottom">
- <select id="inspection_type" name="<%=WsilActionInputs.WSIL_INSPECTION_TYPE%>" class="selectlist">
- <option value="<%=WsilActionInputs.WSIL_DETAILS%>" <% if (inspectionType == WsilActionInputs.WSIL_DETAILS) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_WSIL")%>
- <option value="<%=WsilActionInputs.WSDL_SERVICES%>" <% if (inspectionType == WsilActionInputs.WSDL_SERVICES) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_WSDL_SERVICE")%>
- <option value="<%=WsilActionInputs.UDDI_SERVICES%>" <% if (inspectionType == WsilActionInputs.UDDI_SERVICES) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_SERVICE")%>
- <option value="<%=WsilActionInputs.UDDI_BUSINESSES%>" <% if (inspectionType == WsilActionInputs.UDDI_BUSINESSES) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_BUSINESS")%>
- <option value="<%=WsilActionInputs.WSIL_LINKS%>" <% if (inspectionType == WsilActionInputs.WSIL_LINKS) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_WSIL_LINKS")%>
- </select>
- </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp
deleted file mode 100644
index 532e6da04..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp
+++ /dev/null
@@ -1,27 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"/>
-<form action="<%=response.encodeURL(controller.getPathWithContext(formAction.toString()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" style="margin-top:0;margin-bottom:0">
- <input name="<%=ActionInputs.FRAME_NAME%>" type="hidden" value="<%=formFrameName%>">
- <input name="<%=WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>" type="hidden" value="<%=wsilPerspective.getPerspectiveContentFramesetCols()%>">
- <input name="<%=WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>" type="hidden" value="<%=wsilPerspective.getActionsContainerFramesetRows()%>">
-</form>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp
deleted file mode 100644
index dab8bc757..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp
+++ /dev/null
@@ -1,126 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToUDDIPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- String inquiryAPI = null;
- String businessKey = null;
- String discoveryURL = null;
- WsilUddiBusinessElement link = null;
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllUDDILinks().getElementWithViewId(viewID);
- link = (WsilUddiBusinessElement)le.getObject();
- if (link != null) {
- abstracts.addAll(link.getLinkAbstracts());
- abstractLangs.addAll(link.getLinkAbstractLangs());
- inquiryAPI = link.getUDDILinkInquiryAPI();
- businessKey = link.getUDDILinkBusinessKey();
- discoveryURL = link.getUDDILinkDiscoveryURL();
- }
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_UDDI_BUSINESS_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_UDDI_LINK_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && link != null) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=viewID%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_INQUIRY_API")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((inquiryAPI != null) ? inquiryAPI : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_BUSINESS_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((businessKey != null) ? businessKey : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_DISCOVERY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((discoveryURL != null) ? discoveryURL : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp
deleted file mode 100644
index a01e396e1..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp
+++ /dev/null
@@ -1,132 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToUDDIPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="nameLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="names" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- String inquiryAPI = null;
- String serviceKey = null;
- String discoveryURL = null;
- WsilServiceElement service = null;
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllUDDIServices().getElementWithViewId(viewID);
- service = (WsilServiceElement)le.getObject();
- if (service != null) {
- names.addAll(service.getServiceNames());
- nameLangs.addAll(service.getServiceNameLangs());
- abstracts.addAll(service.getServiceAbstracts());
- abstractLangs.addAll(service.getServiceAbstractLangs());
- inquiryAPI = ((WsilUddiServiceElement)service).getUDDIServiceInquiryAPI();
- serviceKey = ((WsilUddiServiceElement)service).getUDDIServiceKey();
- discoveryURL = ((WsilUddiServiceElement)service).getUDDIServiceDiscoveryURL();
- }
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_UDDI_SERVICE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_SERVICE_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && service != null) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=viewID%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_INQUIRY_API")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((inquiryAPI != null) ? inquiryAPI : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_SERVICE_KEY")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((serviceKey != null) ? serviceKey : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_DISCOVERY_URL")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((discoveryURL != null) ? discoveryURL : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilNameTable.jsp" flush="true"/>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp
deleted file mode 100644
index d88b286fe..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp
+++ /dev/null
@@ -1,113 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.core.resources.*,
- org.eclipse.core.runtime.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-WSILPerspective wsilPerspective = controller.getWSILPerspective();
-NodeManager nodeManager = wsilPerspective.getNodeManager();
-Node selectedNode = nodeManager.getSelectedNode();
-WsilElement wsilElement = (WsilElement)selectedNode.getTreeElement();
-%>
-</jsp:useBean>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FORM_TITLE_IMPORT_TO_WORKBENCH")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
- <jsp:include page="/scripts/formutils.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
- <input type="hidden" name="<%=ActionInputs.IMPORT_FILE%>" value="<%=ActionInputs.IMPORT_FILE%>">
- <%
- String titleImagePath = "images/import_to_workbench_highlighted.gif";
- String title = wsilPerspective.getMessage("ATL_IMPORT_WSIL_TO_WORKBENCH");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td>
- <%=wsilPerspective.getMessage("FORM_LABEL_IMPORT_WSIL_TO_WORKBENCH_DESC")%>
- </td>
- </tr>
- </table>
- <table>
- <tr>
- <td class="labels" height=40 valign="center">
- <label for="select_workbench_project_name"><%=controller.getMessage("WORKBENCH_PROJECT_NAME")%></label>
- </td>
- <td class="labels" height=40 valign="center" nowrap>
- <%
- IWorkspaceRoot iWorkspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
- IProject[] projects = iWorkspaceRoot.getProjects();
- %>
- <select id="select_workbench_project_name" name="<%=ActionInputs.WORKBENCH_PROJECT_NAME%>" class="selectlist">
- <%
- for (int i = 0; i < projects.length; i++)
- {
- try
- {
- if (!projects[i].isOpen())
- continue;
- String projectName = projects[i].getName();
- %>
- <option value="<%=projectName%>"><%=projectName%>
- <%
- }
- catch (Exception e) {}
- }
- %>
- </select>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <label for="input_imported_wsil_file_name"><%=controller.getMessage("WSIL_FILE_NAME")%></label>
- </td>
- </tr>
- <tr>
- <td height=10 valign="bottom" width="60%">
-<%
- String wsilFileName = "temp.wsil";
- String wsilURL = wsilElement.getWsilUrl();
- if (wsilURL.endsWith(".wsil"))
- {
- int lastSeparatorPos = Math.max(wsilURL.lastIndexOf("/"), wsilURL.lastIndexOf("\\"));
- if (lastSeparatorPos > 0)
- wsilFileName = wsilURL.substring(lastSeparatorPos+1, wsilURL.length());
- }
-%>
- <input type="text" id="input_imported_wsil_file_name" name="<%=ActionInputs.IMPORTED_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilFileName)%>" size=50 class="textenter">
- </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp
deleted file mode 100644
index 497e6d4e9..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp
+++ /dev/null
@@ -1,148 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.apache.wsil.QName,
- java.util.Vector,
- java.util.Enumeration" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="nameLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="names" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- String bindingTable = "bindingTable";
- String xbindingTable = "xbindingTable";
-
- WSILPerspective wsilPerspective =controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- WsilServiceElement service = null;
- String wsdlURL = null;
- Vector wsdlBindings = new Vector();
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllWSDLServices().getElementWithViewId(viewID);
- service = (WsilServiceElement)le.getObject();
- if (service != null) {
- names.addAll(service.getServiceNames());
- nameLangs.addAll(service.getServiceNameLangs());
- abstracts.addAll(service.getServiceAbstracts());
- abstractLangs.addAll(service.getServiceAbstractLangs());
- wsdlURL = ((WsilWsdlServiceElement)service).getWSDLServiceURL();
- wsdlBindings = ((WsilWsdlServiceElement)service).getWSDLBinding();
- }
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_WSDL_SERVICE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_SERVICE_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && service != null) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=viewID%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=wsdlURL%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilNameTable.jsp" flush="true"/>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
- <table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=bindingTable%>','<%=xbindingTable%>')"><img name="<%=xbindingTable%>" src="/wsexplorer/images/twistclosed.gif" class="twist"></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_WSDL_BINDINGS")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="/wsexplorer/images/keyline.gif" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=bindingTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_NAMESPACE_URI")%></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_LOCAL_NAME")%></th>
- </tr>
- <%
- Enumeration e = wsdlBindings.elements();
- while (e.hasMoreElements()) {
- QName qname = (QName)e.nextElement();
- %>
- <tr>
- <td class="tablecells" nowrap><%=qname.getNamespaceURI()%></td>
- <td class="tablecells" nowrap><%=qname.getLocalName()%></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=bindingTable%>','<%=xbindingTable%>');
- </script>
-
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp
deleted file mode 100644
index cc7009662..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp
+++ /dev/null
@@ -1,88 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- java.util.Enumeration" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective =controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
- WsilElement wsilElement = null;
- if (selectedElement instanceof WsilElement) {
- wsilElement = (WsilElement)selectedElement;
- abstracts.addAll(wsilElement.getWSILAbstracts());
- abstractLangs.addAll(wsilElement.getWSILAbstractLangs());
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_WSIL_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=ActionInputs.VIEWID_DEFAULT%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=wsilElement.getWsilUrl()%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
- %>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp
deleted file mode 100644
index ceaff7f65..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- Tool selectedTool = selectedNode.getToolManager().getSelectedTool();
-%>
-<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request">
-<%
- if (selectedTool instanceof ListWSDLServicesTool)
- {
- int viewId = selectedNode.getViewId();
- WsilElement wsilElement = (WsilElement)selectedNode.getTreeElement();
- ListElement le = wsilElement.getAllWSDLServices().getElementWithViewId(viewId);
- WsilWsdlServiceElement wsilWsdlServiceElement = (WsilWsdlServiceElement)le.getObject();
- formProperties.put("wsdlURL",wsilWsdlServiceElement.getWSDLServiceURL());
- }
- formProperties.put("formActionLink","wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp");
-%>
-</jsp:useBean>
-<%
- if (selectedTool instanceof ListWSDLServicesTool)
- {
-%>
-<jsp:include page="/forms/ImportWSDLAndWSILToWorkbenchForm.jsp" flush="true"/>
-<%
- }
- else if (selectedTool instanceof ListUDDIServicesTool)
- {
-%>
-<jsp:include page="/forms/ImportToWorkbenchForm.jsp" flush="true"/>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp
deleted file mode 100644
index 799195ec7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="formActionLink" class="java.lang.StringBuffer" scope="request">
-<%
- formActionLink.append("wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:include page="/forms/LaunchWebServiceWizardForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp
deleted file mode 100644
index 10c1f3f3c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp
+++ /dev/null
@@ -1,84 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective =controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- WsilWsilLinkElement link = null;
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllWSILLinks().getElementWithViewId(viewID);
- link = (WsilWsilLinkElement)le.getObject();
- if (link != null) {
- abstractLangs.addAll(link.getLinkAbstractLangs());
- abstracts.addAll(link.getLinkAbstracts());
- }
- }
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_WSIL_LINK_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_LINK_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && link != null) {
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=link.getWSILLinkLocation()%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
-<%
- currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
-%>
-</jsp:useBean>
-<jsp:include page="/forms/otherActions.jsp" flush="true"/>
-
- <%
- }
- %>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_enabled.gif
deleted file mode 100644
index e65d19a11..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_highlighted.gif
deleted file mode 100644
index 4aa3ddcb5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_enabled.gif
deleted file mode 100644
index c351daff7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_highlighted.gif
deleted file mode 100644
index 53e1335da..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_enabled.gif
deleted file mode 100644
index 6dc028508..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_highlighted.gif
deleted file mode 100644
index 428c8ea5e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_enabled.gif
deleted file mode 100644
index 0fa09842f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_highlighted.gif
deleted file mode 100644
index c34bbe6a8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_enabled.gif
deleted file mode 100644
index bd1e37adc..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_highlighted.gif
deleted file mode 100644
index d51b97517..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_enabled.gif
deleted file mode 100644
index 459cc6e4f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_enabled.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_highlighted.gif
deleted file mode 100644
index 261775f64..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_highlighted.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/wsil_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/wsil_node.gif
deleted file mode 100644
index 7c5916fb6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/wsil_node.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilAbstractTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilAbstractTable.jsp
deleted file mode 100644
index 1083233d6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilAbstractTable.jsp
+++ /dev/null
@@ -1,82 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-
-<jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
-
-<%
-String abstractTable = "abstractTable";
-String xabstractTable = "xabstractTable";
-String showAllAbstractID = "showAllAbstractID";
-WSILPerspective wsilPerspective =controller.getWSILPerspective();
-%>
-
-<script language="javascript">
- function showAbstract(tableContainerID) {
- var table = getTable(tableContainerID);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var hiddenInput = document.getElementById('<%=showAllAbstractID%>');
- <%
- for (int i = 0; i < abstracts.size(); i++) {
- %>
- addRowToAbstractTable(tableBody,
- "<%=HTMLUtils.JSMangle((String)abstractLangs.elementAt(i))%>",
- "<%=HTMLUtils.JSMangle((String)abstracts.elementAt(i))%>");
- <%
- }
- %>
- }
-
- function addRowToAbstractTable(tableBody, lang, abst) {
- var newRow = document.createElement("tr");
- addKeyValueToRow(newRow, lang, abst);
- tableBody.appendChild(newRow);
- }
-</script>
-
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=abstractTable%>','<%=xabstractTable%>')"><img name="<%=xabstractTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_ABSTRACT")%></strong>
- </td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=abstractTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th>
- <th class="headercolor" width="100%"><%=wsilPerspective.getMessage("FORM_LABEL_ABSTRACT")%></th>
- </tr>
- </table>
-</div>
-
-<script language="javascript">
- showAbstract('<%=abstractTable%>');
- twistInit('<%=abstractTable%>','<%=xabstractTable%>');
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilFormSubmit.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilFormSubmit.jsp
deleted file mode 100644
index eb25f00aa..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilFormSubmit.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
-<script language="javascript">
- function isSomethingSelected(tableContainerId) {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows; i<table.rows.length; i++) {
- var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0);
- var rowCheckbox = rowCheckboxCell.childNodes[0];
- if (rowCheckbox.checked)
- return true;
- }
- alert("<%=controller.getWSILPerspective().getMessage("MSG_ERROR_NOTHING_SELECTED")%>");
- return false;
- }
-
- function setFormLocationAndSubmit(tableContainerId, form, location) {
- if (isSomethingSelected(tableContainerId))
- setLocationAndSubmit(form, location);
- }
-
- function setLocationAndSubmit(form, location) {
- if (handleSubmit(form))
- {
- form.action = location;
- form.submit();
- }
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilNameTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilNameTable.jsp
deleted file mode 100644
index 162887d9a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilNameTable.jsp
+++ /dev/null
@@ -1,82 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="nameLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="names" class="java.util.Vector" scope="request"/>
-
-<jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
-
-<%
-String nameTable = "nameTable";
-String xnameTable = "xnameTable";
-String showAllNameID = "showAllNameID";
-WSILPerspective wsilPerspective =controller.getWSILPerspective();
-%>
-
-<script language="javascript">
- function showName(tableContainerID) {
- var table = getTable(tableContainerID);
- var tableBody = table.getElementsByTagName("TBODY").item(0);
- var hiddenInput = document.getElementById('<%=showAllNameID%>');
- <%
- for (int i = 0; i < names.size(); i++) {
- %>
- addRowToNameTable(tableBody,
- "<%=HTMLUtils.JSMangle((String)nameLangs.elementAt(i))%>",
- "<%=HTMLUtils.JSMangle((String)names.elementAt(i))%>");
- <%
- }
- %>
- }
-
- function addRowToNameTable(tableBody, lang, name) {
- var newRow = document.createElement("tr");
- addKeyValueToRow(newRow, lang, name);
- tableBody.appendChild(newRow);
- }
-</script>
-
-<table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=nameTable%>','<%=xnameTable%>')"><img name="<%=xnameTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_NAME")%></strong>
- </td>
- </tr>
-</table>
-
-<table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
-</table>
-
-<div id="<%=nameTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th>
- <th class="headercolor" width="100%"><%=wsilPerspective.getMessage("FORM_LABEL_NAME")%></th>
- </tr>
- </table>
-</div>
-
-<script language="javascript">
- showName('<%=nameTable%>');
- twistInit('<%=nameTable%>','<%=xnameTable%>');
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilPanes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilPanes.jsp
deleted file mode 100644
index 07c5b3bea..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilPanes.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- var wsilNavigatorContainer = perspectiveContent.frames["<%=WsilFrameNames.WSIL_NAVIGATOR_CONTAINER%>"];
- var wsilNavigatorToolbar = wsilNavigatorContainer.frames["<%=WsilFrameNames.WSIL_NAVIGATOR_TOOLBAR%>"];
- var wsilNavigatorContent = wsilNavigatorContainer.frames["<%=WsilFrameNames.WSIL_NAVIGATOR_CONTENT%>"];
- var wsilActionsContainer = perspectiveContent.frames["<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>"];
- var wsilPropertiesContainer = wsilActionsContainer.frames["<%=WsilFrameNames.WSIL_PROPERTIES_CONTAINER%>"];
- var wsilPropertiesToolbar = wsilPropertiesContainer.frames["<%=WsilFrameNames.WSIL_PROPERTIES_TOOLBAR%>"];
- var wsilPropertiesContent = wsilPropertiesContainer.frames["<%=WsilFrameNames.WSIL_PROPERTIES_CONTENT%>"];
- var wsilStatusContainer = wsilActionsContainer.frames["<%=WsilFrameNames.WSIL_STATUS_CONTAINER%>"];
- var wsilStatusToolbar = wsilStatusContainer.frames["<%=WsilFrameNames.WSIL_STATUS_TOOLBAR%>"];
- var wsilStatusContent = wsilStatusContainer.frames["<%=WsilFrameNames.WSIL_STATUS_CONTENT%>"];
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilTable.jsp
deleted file mode 100644
index 625126bca..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilTable.jsp
+++ /dev/null
@@ -1,82 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*"%>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:include page="/scripts/tables.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
-</script>
-<script language="javascript">
-
- function wsilHandleCheckAllClick(tableContainerId, checkAllCheckbox) {
- var table = getTable(tableContainerId);
- for (var i=numberOfHeaderRows; i<table.rows.length; i++) {
- var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0);
- var rowCheckbox = rowCheckboxCell.childNodes[0];
- rowCheckbox.checked = checkAllCheckbox.checked;
- if (rowCheckbox.checked) {
- highlightRow(table.rows[i],"rowcolor");
- rowCheckbox.name = "<%=ActionInputs.VIEWID%>";
- }
- else {
- highlightRow(table.rows[i],"tablecells");
- rowCheckbox.name = "";
- }
- }
- }
-
- function validateCheckBoxInput(checkbox, isChecked) {
- if (isChecked) {
- checkbox.name = "<%=ActionInputs.VIEWID%>";
- }
- else {
- checkbox.name = "";
- }
- handleRowCheckboxClick();
- }
-
- function twistInit(tableContainerId,twistImageName) {
- var tableContainer = document.getElementById(tableContainerId);
- var table = getTable(tableContainerId);
- if (table.rows.length > numberOfHeaderRows) {
- tableContainer.style.display = "none";
- twist(tableContainerId, twistImageName);
- }
- else {
- tableContainer.style.display = "";
- twist(tableContainerId, twistImageName);
- }
- }
-
- function addKeyValueToRow(row, key, value) {
- var keyText = document.createTextNode(key);
- var valueText = document.createTextNode(value);
- var newCol = document.createElement("td");
- var newCol2 = document.createElement("td");
- newCol.appendChild(keyText);
- newCol.className = "tablecells";
- newCol2.appendChild(valueText);
- newCol2.className = "tablecells";
- row.appendChild(newCol);
- row.appendChild(newCol2);
- }
-
- function clearTable(tableBody, numHeader) {
- for(var i = numHeader; i < tableBody.rows.length; i++) {
- tableBody.deleteRow(i);
- i--;
- }
- }
-
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilframesets.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilframesets.jsp
deleted file mode 100644
index 382673f2b..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilframesets.jsp
+++ /dev/null
@@ -1,32 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:include page="/scripts/panes.jsp" flush="true"/>
-<script language="javascript">
- function getActionsContainerFrameset()
- {
- return perspectiveContent.frames["<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>"].document.getElementsByTagName("frameset").item(0);
- }
-
- function processFramesetSizes(framesetSizesForm)
- {
- toggleDoubleClickColumnTitle();
- var perspectiveContentFrameset = getPerspectiveContentFrameset();
- var actionsContainerFrameset = getActionsContainerFrameset();
- framesetSizesForm.<%=WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>.value = perspectiveContentFrameset.cols;
- framesetSizesForm.<%=WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>.value = actionsContainerFrameset.rows;
- framesetSizesForm.submit();
- }
-</script>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiBusinessView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiBusinessView.jsp
deleted file mode 100644
index 517fae044..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiBusinessView.jsp
+++ /dev/null
@@ -1,157 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Vector,
- java.util.Enumeration,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddBusinessToUDDIPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divUDDIBusinessList = "divUDDIBusinessList";
- String xdivUDDIBusinessList = "xdivUDDIBusinessList";
-
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("VIEW_TITLE_UDDI_BUSINESSES")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
- </script>
- <jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "wsil/images/list_business_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_LIST_UDDI_LINKS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=wsilPerspective.getMessage("FORM_LABEL_LIST_UDDI_BUSINESSES_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof WsilElement) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divUDDIBusinessList%>','<%=xdivUDDIBusinessList%>')"><img name="<%=xdivUDDIBusinessList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_BUSINESS")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divUDDIBusinessList%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divUDDIBusinessList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_BUSINESS_NAME")%></th>
- </tr>
- <%
- ListManager uddiLinks = ((WsilElement)selectedElement).getAllUDDILinks();
- Enumeration e = uddiLinks.getListElements();
- int itemNum = 1;
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- for (int i = 0; i < sortedVector.size(); i++) {
- ListElement le = (ListElement)sortedVector.elementAt(i);
- WsilUddiBusinessElement uddiLink = (WsilUddiBusinessElement)le.getObject();
- String name = uddiLink.getName();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <%
- if (name != null) {
- %>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td>
- <td class="tablecells"><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=name%></a></td>
- <%
- }
- else {
- %>
- <td class="tablecells" nowrap><%=String.valueOf(itemNum)%></td>
- <td class="tablecells"><%=wsilPerspective.getMessage("FORM_LABEL_UNAVAILABLE_UDDI_BUSINESS")%>&nbsp;<%=uddiLink.getUDDILinkBusinessKey()%></td>
- <%
- }
- %>
- </tr>
- <%
- itemNum++;
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divUDDIBusinessList%>','<%=xdivUDDIBusinessList%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divUDDIBusinessList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddBusinessToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_FAVORITES")%>" onClick="setFormLocationAndSubmit('<%=divUDDIBusinessList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_REFRESH")%>" onClick="setFormLocationAndSubmit('<%=divUDDIBusinessList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RefreshAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
-</div>
-
-<script language="javascript">
- resumeProxyLoadPage();
-</script>
-
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiServicesView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiServicesView.jsp
deleted file mode 100644
index f3b04448e..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiServicesView.jsp
+++ /dev/null
@@ -1,158 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Vector,
- java.util.Enumeration,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddServiceToUDDIPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divUDDIServiceList = "divUDDIServiceList";
- String xdivUDDIServiceList = "xdivUDDIServiceList";
-
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("VIEW_TITLE_UDDI_SERVICES")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>">
- </script>
- <jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "wsil/images/list_UDDI_service_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_LIST_UDDI_SERVICES");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=wsilPerspective.getMessage("FORM_LABEL_LIST_UDDI_SERVICES_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
-
- <%
- if (selectedElement instanceof WsilElement) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=20 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divUDDIServiceList%>','<%=xdivUDDIServiceList%>')"><img name="<%=xdivUDDIServiceList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=20 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_SERVICE")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divUDDIServiceList%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divUDDIServiceList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_SERVICE_NAME")%></th>
- </tr>
- <%
- ListManager uddiServices = ((WsilElement)selectedElement).getAllUDDIServices();
- Enumeration e = uddiServices.getListElements();
- int itemNum = 1;
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- for (int i = 0; i < sortedVector.size(); i++) {
- ListElement le = (ListElement)sortedVector.elementAt(i);
- WsilUddiServiceElement uddiService = (WsilUddiServiceElement)le.getObject();
- String name = uddiService.getName();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <%
- if (name != null) {
- %>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=name%></a></td>
- <%
- }
- else {
- %>
- <td class="tablecells" nowrap><%=String.valueOf(itemNum)%></td>
- <td class="tablecells" nowrap><%=wsilPerspective.getMessage("FORM_LABEL_UNAVAILABLE_UDDI_SERVICE")%>&nbsp;<%=uddiService.getUDDIServiceKey()%></td>
- <%
- }
- %>
- </tr>
- <%
- itemNum++;
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divUDDIServiceList%>','<%=xdivUDDIServiceList%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divUDDIServiceList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddServiceToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_FAVORITES")%>" onClick="setFormLocationAndSubmit('<%=divUDDIServiceList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_REFRESH")%>" onClick="setFormLocationAndSubmit('<%=divUDDIServiceList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RefreshAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
-</div>
-
-<script language="javascript">
- resumeProxyLoadPage();
-</script>
-
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsdlServicesView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsdlServicesView.jsp
deleted file mode 100644
index 96469b3d5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsdlServicesView.jsp
+++ /dev/null
@@ -1,134 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Vector,
- java.util.Enumeration,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.WsilAddToWSDLPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divWSDLList = "divWSDLList";
- String xdivWSDLList = "xdivWSDLList";
-
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("VIEW_TITLE_WSDL_SERVICES")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "wsil/images/list_WSDL_service_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_LIST_WSDL_SERVICES");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=wsilPerspective.getMessage("FORM_LABEL_LIST_WSDL_SERVICES_DESC")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof WsilElement) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divWSDLList%>','<%=xdivWSDLList%>')"><img name="<%=xdivWSDLList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=25 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_WSDL_SERVICE")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divWSDLList%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divWSDLList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></th>
- </tr>
- <%
- ListManager wsdlServices = ((WsilElement)selectedElement).getAllWSDLServices();
- Enumeration e = wsdlServices.getListElements();
- int itemNum = 1;
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- for (int i = 0; i < sortedVector.size(); i++) {
- ListElement le = (ListElement)sortedVector.elementAt(i);
- WsilWsdlServiceElement wsdlService = (WsilWsdlServiceElement)le.getObject();
- String wsdlURL = wsdlService.getWSDLServiceURL();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td>
- <td class="tablecells" nowrap><%=wsdlURL%></td>
- </tr>
- <%
- itemNum++;
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divWSDLList%>','<%=xdivWSDLList%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_WSDL_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divWSDLList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(WsilAddToWSDLPerspectiveAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_FAVORITES")%>" onClick="setFormLocationAndSubmit('<%=divWSDLList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsilLinksView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsilLinksView.jsp
deleted file mode 100644
index fd97da7f5..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsilLinksView.jsp
+++ /dev/null
@@ -1,130 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Vector,
- java.util.Enumeration,
- org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.OpenWSILLinkAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- String divWSILList = "divWSILList";
- String xdivWSILList = "xdivWSILList";
-
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- TreeElement selectedElement = selectedNode.getTreeElement();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("VIEW_TITLE_WSIL_LINKS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "wsil/images/list_WSIL_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_LIST_WSIL_LINKS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=wsilPerspective.getMessage("FORM_LABEL_LIST_WSIL_LINKS")%>
- </td>
- </tr>
- </table>
- <form action="<%=response.encodeURL(controller.getPathWithContext(OpenWSILLinkAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;">
- <%
- if (selectedElement instanceof WsilElement) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1">
- <table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=25 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=divWSILList%>','<%=xdivWSILList%>')"><img name="<%=xdivWSILList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=25 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_WSIL_LINKS")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=divWSILList%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divWSILList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></th>
- </tr>
- <%
- ListManager wsilLinks = ((WsilElement)selectedElement).getAllWSILLinks();
- Enumeration e = wsilLinks.getListElements();
- int itemNum = 1;
- Vector sortedVector = new Vector();
- while (e.hasMoreElements()) {
- sortedVector.add(e.nextElement());
- }
- QuickSort.sort(sortedVector);
- for (int i = 0; i < sortedVector.size(); i++) {
- ListElement le = (ListElement)sortedVector.elementAt(i);
- WsilWsilLinkElement wsilLink = (WsilWsilLinkElement)le.getObject();
- String url = wsilLink.getWSILLinkLocation();
- %>
- <tr>
- <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td>
- <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td>
- <td class="tablecells" nowrap><%=url%></td>
- </tr>
- <%
- itemNum++;
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=divWSILList%>','<%=xdivWSILList%>');
- </script>
-
- <table border=0 cellpadding=2 cellspacing=0>
- <tr>
- <td height=40 valign="bottom">
- <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_NAVIGATOR")%>" onClick="setFormLocationAndSubmit('<%=divWSILList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(OpenWSILLinkAction.getBaseActionLink()))%>')" class="button">
- </td>
- <td nowrap width="90%">&nbsp;</td>
- </tr>
- </table>
-
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_actions_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_actions_container.jsp
deleted file mode 100644
index 4acecc332..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_actions_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%></title>
-</head>
-<frameset rows="<%=wsilPerspective.getActionsContainerFramesetRows()%>" bgcolor="#ECE9D8">
- <frame name="<%=WsilFrameNames.WSIL_PROPERTIES_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%>" src="<%=response.encodeURL("wsil_properties_container.jsp")%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
- <frame name="<%=WsilFrameNames.WSIL_STATUS_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%>" src="<%=response.encodeURL("wsil_status_container.jsp")%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_container.jsp
deleted file mode 100644
index 02ba26bce..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_container.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_TOOLBAR%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%>" src="<%=response.encodeURL("wsil_navigator_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_CONTENT%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%>" src="<%=response.encodeURL("wsil_navigator_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_content.jsp
deleted file mode 100644
index bb3c4bca3..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_content.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/treeview.css"))%>">
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>">
- </script>
- <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/treeview.js"))%>">
- </script>
-</head>
-<%
- String selectedAnchorName = "";
- NodeManager nodeManager = controller.getWSILPerspective().getNodeManager();
- int focusedNodeId = nodeManager.getFocusedNodeId();
- String focusedAnchorName = String.valueOf(focusedNodeId);
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null) {
- selectedAnchorName = selectedNode.getAnchorName();
- if (focusedNodeId == selectedNode.getNodeId())
- focusedAnchorName = selectedAnchorName;
- }
-%>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onLoad="self.location.hash='#<%=focusedAnchorName%>';setSelectedAnchorName('<%=selectedAnchorName%>')" class="contentbodymargin">
- <div id="treecontentborder">
- <%=nodeManager.renderTreeView(response)%>
- </div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_toolbar.jsp
deleted file mode 100644
index ef42244b6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_toolbar.jsp
+++ /dev/null
@@ -1,66 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("wsil/actions/ResizeWSILFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(WsilFrameNames.WSIL_NAVIGATOR_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/wsil/forms/ProcessWSILFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/navigator.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (wsilPerspective.getPerspectiveContentFramesetCols().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- else
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_NAVIGATOR")%></td>
-<%
- String altRefresh = wsilPerspective.getMessage("ALT_REFRESH_WSIL");
- String altClear = wsilPerspective.getMessage("ALT_CLEAR_WSIL");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/RefreshActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseup(this)" alt="<%=altRefresh%>" title="<%=altRefresh%>"></a></td>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/ClearWSILActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_perspective_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_perspective_content.jsp
deleted file mode 100644
index 98ded4b9f..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_perspective_content.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<frameset cols="<%=wsilPerspective.getPerspectiveContentFramesetCols()%>" bgcolor="#ECE9D8">
- <%
- if (org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.isRTL())
- {
- %>
- <frame name="<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL("wsil_actions_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL("wsil_navigator_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- else
- {
- %>
- <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL("wsil_navigator_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <frame name="<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL("wsil_actions_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1>
- <%
- }
- %>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_container.jsp
deleted file mode 100644
index b336e546c..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=WsilFrameNames.WSIL_PROPERTIES_TOOLBAR%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%>" src="<%=response.encodeURL("wsil_properties_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=WsilFrameNames.WSIL_PROPERTIES_CONTENT%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%>" src="<%=response.encodeURL("wsil_properties_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_content.jsp
deleted file mode 100644
index a72cc746d..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_content.jsp
+++ /dev/null
@@ -1,73 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
-<%
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null)
- {
- ToolManager toolManager;
- if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNode.getToolManager();
- else
- toolManager = selectedNode.getViewToolManager();
- Tool selectedTool = toolManager.getSelectedTool();
- if (selectedTool != null && selectedTool.getToolType() != ToolTypes.ACTION) {
- %>
- <script language="javascript">
- location="<%=response.encodeURL(controller.getPathWithContext(selectedTool.getFormLink()))%>";
- </script>
- <%
- }
- else {
- %>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_ACTION_SELECTED")%>
- </td>
- </tr>
-</table>
- <%
- }
- }
- else {
- %>
-<table>
- <tr>
- <td>
- <%=controller.getMessage("MSG_ERROR_NO_NODE_SELECTED")%>
- </td>
- </tr>
-</table>
- <%
- }
-%>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_toolbar.jsp
deleted file mode 100644
index 49aa504f6..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_toolbar.jsp
+++ /dev/null
@@ -1,81 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("wsil/actions/ResizeWSILFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(WsilFrameNames.WSIL_PROPERTIES_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/wsil/forms/ProcessWSILFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/actions.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (wsilPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (wsilPerspective.getActionsContainerFramesetRows().startsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_ACTIONS")%></td>
-<%
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- if (selectedNode != null) {
- ToolManager toolManager;
- if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT)
- toolManager = selectedNode.getToolManager();
- else
- toolManager = selectedNode.getViewToolManager();
- for(int i=0; i<toolManager.getNumberOfTools(); i++) {
- Tool tool = (Tool)toolManager.getTool(i);
- %>
- <td valign="middle" align="center" width=25 height=25><%=tool.renderTool(response,controller)%></td>
- <%
- }
- }
-%>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_container.jsp
deleted file mode 100644
index e0834c5c7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_container.jsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%></title>
-</head>
-<frameset rows="33,*" border=0 bgcolor="#ECE9D8">
- <frame name="<%=WsilFrameNames.WSIL_STATUS_TOOLBAR%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%>" src="<%=response.encodeURL("wsil_status_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
- <frame name="<%=WsilFrameNames.WSIL_STATUS_CONTENT%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%>" src="<%=response.encodeURL("wsil_status_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0>
-</frameset>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_content.jsp
deleted file mode 100644
index e5144f955..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_content.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <table>
- <tr>
- <td>
- <pre>
-<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilPerspective.getMessageQueue().getMessagesFromList())%>
- </pre>
- </td>
- </tr>
- </table>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_toolbar.jsp
deleted file mode 100644
index 4d4f30e5a..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_toolbar.jsp
+++ /dev/null
@@ -1,66 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>">
-<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/>
-<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>">
-</script>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin">
-<div id="toolbarborder">
- <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])">
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request">
-<%
- formAction.append("wsil/actions/ResizeWSILFramesActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request">
-<%
- formFrameName.append(WsilFrameNames.WSIL_STATUS_CONTAINER);
-%>
-</jsp:useBean>
-<jsp:include page="/wsil/forms/ProcessWSILFramesetsForm.jsp" flush="true"/>
- <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/status.gif"))%>" width=16 height=16></td>
-<%
- String doubleClickColumnTitle = null;
- if (wsilPerspective.getPerspectiveContentFramesetCols().endsWith("100%"))
- {
- if (wsilPerspective.getActionsContainerFramesetRows().endsWith("100%"))
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE");
- }
- if (doubleClickColumnTitle == null)
- doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE");
-%>
- <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" align="left" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_STATUS")%></td>
-<%
- String altClear = controller.getMessage("ALT_CLEAR");
-%>
- <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>" target="<%=WsilFrameNames.WSIL_STATUS_CONTENT%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td>
- </tr>
- </table>
- </div>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.parser/.classpath b/bundles/org.eclipse.wst.ws.parser/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/bundles/org.eclipse.wst.ws.parser/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.ws.parser/.cvsignore b/bundles/org.eclipse.wst.ws.parser/.cvsignore
deleted file mode 100644
index 64b9b2e7d..000000000
--- a/bundles/org.eclipse.wst.ws.parser/.cvsignore
+++ /dev/null
@@ -1,8 +0,0 @@
-bin
-.cdtproject
-build.xml
-temp.folder
-parser.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.ws.parser/.project b/bundles/org.eclipse.wst.ws.parser/.project
deleted file mode 100644
index feb66400b..000000000
--- a/bundles/org.eclipse.wst.ws.parser/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws.parser</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index de2122bdc..000000000
--- a/bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:38:08 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 25b0b69eb..000000000
--- a/bundles/org.eclipse.wst.ws.parser/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:39:59 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.ws.parser/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.ws.parser/META-INF/MANIFEST.MF
deleted file mode 100644
index 9fe660ed7..000000000
--- a/bundles/org.eclipse.wst.ws.parser/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,22 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.ws.parser
-Bundle-Version: 1.0.101.qualifier
-Bundle-Activator: org.eclipse.wst.ws.internal.parser.plugin.ParserPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.ws.internal.parser.disco;x-internal:=true,
- org.eclipse.wst.ws.internal.parser.discovery;x-internal:=true,
- org.eclipse.wst.ws.internal.parser.favorites;x-internal:=true,
- org.eclipse.wst.ws.internal.parser.plugin;x-internal:=true,
- org.eclipse.wst.ws.internal.parser.wsil;x-internal:=true,
- org.eclipse.wst.ws.parser
-Require-Bundle: org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.apache.wsil4j;bundle-version="[1.0.0,1.1.0)",
- org.uddi4j;bundle-version="[2.0.4,2.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.ws.parser/about.html b/bundles/org.eclipse.wst.ws.parser/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.ws.parser/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.ws.parser/build.properties b/bundles/org.eclipse.wst.ws.parser/build.properties
deleted file mode 100644
index 94cf66ef7..000000000
--- a/bundles/org.eclipse.wst.ws.parser/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-bin.includes = .,\
- META-INF/,\
- plugin.properties,\
- about.html
-source.. = src/
-output.. = bin/
diff --git a/bundles/org.eclipse.wst.ws.parser/plugin.properties b/bundles/org.eclipse.wst.ws.parser/plugin.properties
deleted file mode 100644
index 395ac6e50..000000000
--- a/bundles/org.eclipse.wst.ws.parser/plugin.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2001,2004 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services Description Parser
-PLUGIN_PROVIDER=Eclipse.org
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOContractReference.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOContractReference.java
deleted file mode 100644
index a96dad292..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOContractReference.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.disco;
-
-public class DISCOContractReference extends DISCOReference
-{
- private String docRef_;
-
- public DISCOContractReference(String ref,String docRef)
- {
- super(ref);
- docRef_ = docRef;
- }
-
- public String getDocRef()
- {
- return docRef_;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOParser.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOParser.java
deleted file mode 100644
index 620944923..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOParser.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.disco;
-
-import java.util.Vector;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.InputSource;
-
-/**
- * See http://msdn.microsoft.com/msdnmag/issues/02/02/xml/default.aspx for more
- * details on DISCO.
- */
-public class DISCOParser
-{
- private DocumentBuilder parser_;
- private final String NS_DISCO = "http://schemas.xmlsoap.org/disco/";
- private final String DISCOVERY = "discovery";
- private final String DISCOVERY_REF = "discoveryRef";
- private final String NS_CONTRACT_REF = "http://schemas.xmlsoap.org/disco/scl/";
- private final String CONTRACT_REF = "contractRef";
- private final String REF = "ref";
- private final String DOC_REF = "docRef";
-
- public DISCOParser()
- {
- try
- {
- DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
- docBuilderFactory.setNamespaceAware(true);
- parser_ = docBuilderFactory.newDocumentBuilder();
- }
- catch (ParserConfigurationException pce)
- {
- parser_ = null;
- }
- }
-
- public DISCOReference[] parse(String discoURI, InputSource source) throws Exception
- {
- if (parser_ != null)
- {
- Document doc = parser_.parse(source);
- Element rootElement = doc.getDocumentElement();
- // Root element must by <disco:discovery
- // xmlns:disco="http://schemas.xmlsoap.org/disco/">
- if (rootElement != null && rootElement.getNamespaceURI().equals(NS_DISCO) && rootElement.getLocalName().equals(DISCOVERY))
- {
- NodeList childNodes = rootElement.getChildNodes();
- Vector discoReferences = new Vector();
- for (int i = 0; i < childNodes.getLength(); i++)
- {
- Node childNode = childNodes.item(i);
- if (childNode instanceof Element)
- {
- Element element = (Element)childNode;
- String localName = element.getLocalName();
- String nsURI = element.getNamespaceURI();
- if (nsURI.equals(NS_DISCO) && localName.equals(DISCOVERY_REF))
- {
- // DISCO link.
- String ref = convertToAbsoluteURI(discoURI, element.getAttribute(REF));
- discoReferences.addElement(new DISCOReference(ref));
- }
- else if (nsURI.equals(NS_CONTRACT_REF) && localName.equals(CONTRACT_REF))
- {
- // WSDL link.
- String ref = convertToAbsoluteURI(discoURI, element.getAttribute(REF));
- String docRef = convertToAbsoluteURI(discoURI, element.getAttribute(DOC_REF));
- discoReferences.addElement(new DISCOContractReference(ref, docRef));
- }
- }
- }
- int numberOfDISCOReferences = discoReferences.size();
- if (numberOfDISCOReferences > 0)
- {
- DISCOReference[] references = new DISCOReference[numberOfDISCOReferences];
- discoReferences.copyInto(references);
- return references;
- }
- }
- else
- {
- // The document is not a valid DISCO document.
- throw new Exception();
- }
- }
- return null;
- }
-
- private String convertToAbsoluteURI(String discoURI, String refURI)
- {
- if (refURI != null)
- {
- if (refURI.indexOf("://") > -1)
- {
- // refURI is already absolute.
- return refURI;
- }
- else
- {
- StringBuffer absoluteURI = new StringBuffer(discoURI.substring(0, Math.max(discoURI.lastIndexOf('\\'), discoURI.lastIndexOf('/') + 1)));
- absoluteURI.append(refURI);
- return absoluteURI.toString();
- }
- }
- return null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOReference.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOReference.java
deleted file mode 100644
index dd2175edb..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/disco/DISCOReference.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.disco;
-
-public class DISCOReference
-{
- private String ref_;
-
- public DISCOReference(String ref)
- {
- ref_ = ref;
- }
-
- public String getRef()
- {
- return ref_;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/NetUtils.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/NetUtils.java
deleted file mode 100644
index 527a489b1..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/NetUtils.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.discovery;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLConnection;
-
-import sun.misc.BASE64Encoder;
-
-public final class NetUtils
-{
-
- /**
- * Get the java.net.URLConnection given a string representing the URL. This class ensures
- * that proxy settings in WSAD are respected.
- * @param urlString String representing the URL.
- * @return java.net.URLCDonnection URLConnection to the URL.
- */
- public static final URLConnection getURLConnection(String urlString)
- {
- try
- {
- URL url = createURL(urlString);
- URLConnection uc = url.openConnection();
- String proxyUserName = System.getProperty("http.proxyUserName");
- String proxyPassword = System.getProperty("http.proxyPassword");
- if (proxyUserName != null && proxyPassword != null)
- {
- StringBuffer userNamePassword = new StringBuffer(proxyUserName);
- userNamePassword.append(':').append(proxyPassword);
- BASE64Encoder encoder = new BASE64Encoder();
- String encoding = encoder.encode(userNamePassword.toString().getBytes());
- userNamePassword.setLength(0);
- userNamePassword.append("Basic ").append(encoding);
- uc.setRequestProperty("Proxy-authorization",userNamePassword.toString());
- }
- return uc;
- }
- catch (MalformedURLException e)
- {
- }
- catch (IOException e)
- {
- }
- return null;
- }
-
- /**
- * Get the java.io.InputStream for a URL given a string representing the URL. This class
- * ensures that proxy settings in WSAD are respected.
- * @param urlString String representing the URL.
- * @return java.io.InputStream InputStream for reading the URL stream.
- */
- public static final InputStream getURLInputStream(String urlString)
- {
- try
- {
- URLConnection uc = getURLConnection(urlString);
- if (uc != null)
- {
- InputStream is = uc.getInputStream();
- return is;
- }
- }
- catch (IOException e)
- {
- }
- return null;
- }
-
- /**
- * Create a URL from a string.
- * @param urlString String representing the URL.
- * @return URL java.lang.URL representation of the URL.
- * @throws MalformedURLException
- */
- public static final URL createURL(String urlString) throws MalformedURLException
- {
- return new URL(urlString);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/WebServicesParserExt.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/WebServicesParserExt.java
deleted file mode 100644
index 4e907538f..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/discovery/WebServicesParserExt.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.discovery;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-public class WebServicesParserExt extends WebServicesParser {
-
- public WebServicesParserExt() {
- super();
- }
-
- public WebServicesParserExt(String uri) {
- super(uri);
- }
-
- protected URL createURL(String url) throws MalformedURLException {
- return NetUtils.createURL(url);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesConstants.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesConstants.java
deleted file mode 100644
index 5b2e956e7..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesConstants.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public class FavoritesConstants
-{
- // Namespace
- public static final String NAMESPACE_WSDL = "http://schemas.xmlsoap.org/wsdl/";
- public static final String NAMESPACE_UDDI_V1 = "urn:uddi-org:api";
- public static final String NAMESPACE_UDDI_V2 = "urn:uddi-org:api_v2";
- public static final String NAMESPACE_UDDI_BINDING = "http://schemas.xmlsoap.org/ws/2001/10/inspection/uddi/";
- public static final String NAMESPACE_WSIL_INSPECTION = "http://schemas.xmlsoap.org/ws/2001/10/inspection/";
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesLink.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesLink.java
deleted file mode 100644
index c8c912955..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesLink.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-import org.apache.wsil.Link;
-
-public class FavoritesLink
-{
- protected Link link_;
-
- public FavoritesLink()
- {
- link_ = null;
- }
-
- public Link getLink()
- {
- return link_;
- }
-
- public void setLink(Link link)
- {
- link_ = link;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesRegistryTypeAbstract.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesRegistryTypeAbstract.java
deleted file mode 100644
index d167fbea6..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesRegistryTypeAbstract.java
+++ /dev/null
@@ -1,429 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-import java.util.Vector;
-
-import org.apache.wsil.Abstract;
-import org.apache.wsil.Description;
-import org.apache.wsil.Inspection;
-import org.apache.wsil.Link;
-import org.apache.wsil.Service;
-import org.apache.wsil.ServiceName;
-import org.apache.wsil.WSILDocument;
-import org.apache.wsil.WSILException;
-import org.apache.wsil.extension.uddi.BusinessDescription;
-import org.apache.wsil.extension.uddi.ServiceDescription;
-import org.apache.wsil.impl.AbstractImpl;
-import org.apache.wsil.impl.DescriptionImpl;
-import org.apache.wsil.impl.LinkImpl;
-import org.apache.wsil.impl.ServiceImpl;
-import org.apache.wsil.impl.ServiceNameImpl;
-import org.apache.wsil.impl.extension.uddi.BusinessDescriptionImpl;
-import org.apache.wsil.impl.extension.uddi.ServiceDescriptionImpl;
-import org.uddi4j.util.BusinessKey;
-import org.uddi4j.util.ServiceKey;
-
-public abstract class FavoritesRegistryTypeAbstract implements IFavoritesRegistryType
-{
- public FavoritesRegistryTypeAbstract()
- {
- }
-
- public abstract String getReadLocation();
- public abstract String getWriteLocation();
- protected abstract WSILDocument getWSILDocument();
-
- public void init()
- {
- getWSILDocument();
- }
-
- protected WSILDocument loadWSILDocument(String path, boolean force)
- {
- try
- {
- WSILDocument wsilDoc = WSILDocument.newInstance();
- wsilDoc.read(new FileReader(new File(path)));
- return wsilDoc;
- }
- catch (Throwable t)
- {
- if (force)
- {
- try
- {
- return WSILDocument.newInstance();
- }
- catch (Throwable t2)
- {
- return null;
- }
- }
- else
- return null;
- }
- }
-
- public String getFavoritesVersion()
- {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Abstract[] abstracts = inspection.getAbstracts();
- if (abstracts.length > 0)
- return abstracts[0].getText();
- else
- return null;
- }
-
- public void setFavoritesVersion(String version)
- {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Abstract abst = new AbstractImpl();
- abst.setText(version);
- inspection.removeAbstracts();
- inspection.addAbstract(abst);
- }
-
- public synchronized void save() throws WSILException, IOException
- {
- WSILDocument wsilDoc = getWSILDocument();
- if (wsilDoc != null)
- wsilDoc.write(getWriteLocation());
- }
-
- public IFavoritesUDDIRegistry[] getFavoritesUDDIRegistries()
- {
- Link[] links = loadUDDIRegistries();
- FavoritesUDDIRegistry[] registries = new FavoritesUDDIRegistry[links.length];
- for (int i = 0; i < links.length; i++)
- {
- registries[i] = new FavoritesUDDIRegistry();
- registries[i].setLink(links[i]);
- }
- return registries;
- }
-
- public IFavoritesUDDIBusiness[] getFavoritesUDDIBusinesses()
- {
- Link[] links = loadUDDIBusinesses();
- FavoritesUDDIBusiness[] businesses = new FavoritesUDDIBusiness[links.length];
- for (int i = 0; i < links.length; i++)
- {
- businesses[i] = new FavoritesUDDIBusiness();
- businesses[i].setLink(links[i]);
- }
- return businesses;
- }
-
- public IFavoritesUDDIService[] getFavoritesUDDIServices()
- {
- Service[] services = loadUDDIServices();
- FavoritesUDDIService[] uddiServices = new FavoritesUDDIService[services.length];
- for (int i = 0; i < services.length; i++)
- {
- uddiServices[i] = new FavoritesUDDIService();
- uddiServices[i].setService(services[i]);
- }
- return uddiServices;
- }
-
- public IFavoritesUDDIServiceInterface[] getFavoritesUDDIServiceInterfaces()
- {
- Service[] services = loadUDDIServiceInterfaces();
- FavoritesUDDIServiceInterface[] serInts = new FavoritesUDDIServiceInterface[services.length];
- for (int i = 0; i < services.length; i++)
- {
- serInts[i] = new FavoritesUDDIServiceInterface();
- serInts[i].setService(services[i]);
- }
- return serInts;
- }
-
- public IFavoritesWSDL[] getFavoritesWSDLs()
- {
- Service[] services = loadWSDLServices();
- FavoritesWSDL[] wsdls = new FavoritesWSDL[services.length];
- for (int i = 0; i < services.length; i++)
- {
- wsdls[i] = new FavoritesWSDL();
- wsdls[i].setService(services[i]);
- }
- return wsdls;
- }
-
- public IFavoritesWSIL[] getFavoritesWSILs()
- {
- Link[] links = loadWSILs();
- FavoritesWSIL[] wsils = new FavoritesWSIL[links.length];
- for (int i = 0; i < links.length; i++)
- {
- wsils[i] = new FavoritesWSIL();
- wsils[i].setLink(links[i]);
- }
- return wsils;
- }
-
- public Link[] loadUDDIRegistries() {
- return loadLinksByNamespace(FavoritesConstants.NAMESPACE_UDDI_V1);
- }
-
- public Link[] loadUDDIBusinesses() {
- return loadLinksByNamespace(FavoritesConstants.NAMESPACE_UDDI_V2);
- }
-
- public Service[] loadUDDIServices() {
- return loadServicesByNamespace(FavoritesConstants.NAMESPACE_UDDI_V2);
- }
-
- public Service[] loadUDDIServiceInterfaces() {
- return loadServicesByNamespace(FavoritesConstants.NAMESPACE_UDDI_V1);
- }
-
- public Service[] loadWSDLServices() {
- return loadServicesByNamespace(FavoritesConstants.NAMESPACE_WSDL);
- }
-
- public Link[] loadWSILs() {
- return loadLinksByNamespace(FavoritesConstants.NAMESPACE_WSIL_INSPECTION);
- }
-
- private Service[] loadServicesByNamespace(String namespace) {
- Vector serviceVector = new Vector();
- WSILDocument wsilDoc = getWSILDocument();
- if (wsilDoc != null)
- {
- Inspection inspection = wsilDoc.getInspection();
- Service[] services = inspection.getServices();
- for (int i = 0; i < services.length; i++)
- {
- Description[] desc = services[i].getDescriptions();
- if (desc[0].getReferencedNamespace().equals(namespace))
- serviceVector.add(services[i]);
- }
- }
- Service[] services = new Service[serviceVector.size()];
- serviceVector.copyInto(services);
- return services;
- }
-
- private Link[] loadLinksByNamespace(String namespace) {
- Vector linkVector = new Vector();
- WSILDocument wsilDoc = getWSILDocument();
- if (wsilDoc != null)
- {
- Inspection inspection = wsilDoc.getInspection();
- Link[] links = inspection.getLinks();
- for (int i = 0; i < links.length; i++)
- {
- if (links[i].getReferencedNamespace().equals(namespace))
- linkVector.add(links[i]);
- }
- }
- Link[] links = new Link[linkVector.size()];
- linkVector.copyInto(links);
- return links;
- }
-
- public void addFavoritesUDDIRegistry(IFavoritesUDDIRegistry registry)
- {
- addUDDIRegistry(registry.getName(), registry.getInquiryURL(), registry.getPublishURL(), registry.getRegistrationURL());
- }
-
- public void addFavoritesUDDIBusiness(IFavoritesUDDIBusiness business)
- {
- addUDDIBusiness(business.getName(), business.getInquiryURL(), business.getBusinessKey());
- }
-
- public void addFavoritesUDDIService(IFavoritesUDDIService service)
- {
- addUDDIService(service.getName(), service.getInquiryURL(), service.getServiceKey());
- }
-
- public void addFavoritesUDDIServiceInterface(IFavoritesUDDIServiceInterface serviceInterface)
- {
- addUDDIServiceInterface(serviceInterface.getName(), serviceInterface.getInquiryURL(), serviceInterface.getServiceInterfaceKey());
- }
-
- public void addFavoritesWSDL(IFavoritesWSDL wsdl)
- {
- addWSDLService(wsdl.getWsdlUrl());
- }
-
- public void addFavoritesWSIL(IFavoritesWSIL wsil)
- {
- addWSILLink(wsil.getWsilUrl());
- }
-
- public Link addUDDIRegistry(String registryName, String inquiryAPI, String publishAPI, String registrationURL) {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Link link = new LinkImpl();
- // registry name
- Abstract abst = new AbstractImpl();
- abst.setText(registryName);
- link.addAbstract(abst);
- // inquiry URL
- Abstract abst2 = new AbstractImpl();
- abst2.setText(inquiryAPI);
- link.addAbstract(abst2);
- // publish URL
- Abstract abst3 = new AbstractImpl();
- if (publishAPI != null)
- abst3.setText(publishAPI);
- else
- abst3.setText("");
- link.addAbstract(abst3);
- // registration URL
- Abstract abst4 = new AbstractImpl();
- if (registrationURL != null)
- abst4.setText(registrationURL);
- else
- abst4.setText("");
- link.addAbstract(abst4);
- // add namespace
- link.setReferencedNamespace(FavoritesConstants.NAMESPACE_UDDI_V1);
- inspection.addLink(link);
- return link;
- }
-
- public Link addUDDIBusiness(String businessName, String inquiryAPI, String businessKey) {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Link link = new LinkImpl();
- Abstract abst = new AbstractImpl();
- abst.setText(businessName);
- link.addAbstract(abst);
- link.setReferencedNamespace(FavoritesConstants.NAMESPACE_UDDI_V2);
- BusinessDescription bd = new BusinessDescriptionImpl();
- bd.setLocation(inquiryAPI);
- BusinessKey key = new BusinessKey(businessKey);
- bd.setBusinessKey(key);
- link.setExtensionElement(bd);
- inspection.addLink(link);
- return link;
- }
-
- public Service addUDDIService(String serviceName, String inquiryAPI, String serviceKey) {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Service service = new ServiceImpl();
- ServiceName name = new ServiceNameImpl();
- name.setText(serviceName);
- service.addServiceName(name);
- Description desc = new DescriptionImpl();
- desc.setReferencedNamespace(FavoritesConstants.NAMESPACE_UDDI_V2);
- ServiceDescription sd = new ServiceDescriptionImpl();
- sd.setLocation(inquiryAPI);
- ServiceKey key = new ServiceKey(serviceKey);
- sd.setServiceKey(key);
- desc.setExtensionElement(sd);
- service.addDescription(desc);
- inspection.addService(service);
- return service;
- }
-
- public Service addUDDIServiceInterface(String serIntName, String inquiryAPI, String serIntKey) {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Service service = new ServiceImpl();
- ServiceName name = new ServiceNameImpl();
- name.setText(serIntName);
- service.addServiceName(name);
- Description desc = new DescriptionImpl();
- desc.setReferencedNamespace(FavoritesConstants.NAMESPACE_UDDI_V1);
- ServiceDescription sd = new ServiceDescriptionImpl();
- sd.setLocation(inquiryAPI);
- ServiceKey key = new ServiceKey(serIntKey);
- sd.setServiceKey(key);
- desc.setExtensionElement(sd);
- service.addDescription(desc);
- inspection.addService(service);
- return service;
- }
-
- public Service addWSDLService(String url) {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Service service = new ServiceImpl();
- Description desc = new DescriptionImpl();
- desc.setLocation(url);
- desc.setReferencedNamespace(FavoritesConstants.NAMESPACE_WSDL);
- service.addDescription(desc);
- inspection.addService(service);
- return service;
- }
-
- public Link addWSILLink(String url) {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- Link link = new LinkImpl();
- link.setLocation(url);
- link.setReferencedNamespace(FavoritesConstants.NAMESPACE_WSIL_INSPECTION);
- inspection.addLink(link);
- return link;
- }
-
- public void removeFavoritesUDDIRegistry(IFavoritesUDDIRegistry registry)
- {
- if (registry instanceof FavoritesUDDIRegistry)
- removeLink(((FavoritesUDDIRegistry)registry).getLink());
- }
-
- public void removeFavoritesUDDIBusiness(IFavoritesUDDIBusiness business)
- {
- if (business instanceof FavoritesUDDIBusiness)
- removeLink(((FavoritesUDDIBusiness)business).getLink());
- }
-
- public void removeFavoritesUDDIService(IFavoritesUDDIService service)
- {
- if (service instanceof FavoritesUDDIService)
- removeService(((FavoritesUDDIService)service).getService());
- }
-
- public void removeFavoritesUDDIServiceInterface(IFavoritesUDDIServiceInterface serviceInterface)
- {
- if (serviceInterface instanceof FavoritesUDDIServiceInterface)
- removeService(((FavoritesUDDIServiceInterface)serviceInterface).getService());
- }
-
- public void removeFavoritesWSDL(IFavoritesWSDL wsdl)
- {
- if (wsdl instanceof FavoritesWSDL)
- removeService(((FavoritesWSDL)wsdl).getService());
- }
-
- public void removeFavoritesWSIL(IFavoritesWSIL wsil)
- {
- if (wsil instanceof FavoritesWSIL)
- removeLink(((FavoritesWSIL)wsil).getLink());
- }
-
- public void removeService(Service service)
- {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- inspection.removeService(service);
- }
-
- public void removeLink(Link link)
- {
- WSILDocument wsilDoc = getWSILDocument();
- Inspection inspection = wsilDoc.getInspection();
- inspection.removeLink(link);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesService.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesService.java
deleted file mode 100644
index 4520f9aaf..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesService.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-import org.apache.wsil.Service;
-
-public class FavoritesService
-{
- protected Service service_;
-
- public FavoritesService()
- {
- service_ = null;
- }
-
- public Service getService()
- {
- return service_;
- }
-
- public void setService(Service service)
- {
- service_ = service;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIBusiness.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIBusiness.java
deleted file mode 100644
index f53883c86..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIBusiness.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-import org.apache.wsil.extension.uddi.BusinessDescription;
-
-public class FavoritesUDDIBusiness extends FavoritesLink implements IFavoritesUDDIBusiness
-{
- public FavoritesUDDIBusiness()
- {
- super();
- }
-
- public String getName()
- {
- return (link_.getAbstracts())[0].getText();
- }
-
- public String getInquiryURL()
- {
- return ((BusinessDescription)link_.getExtensionElement()).getLocation();
- }
-
- public String getBusinessKey()
- {
- return ((BusinessDescription)link_.getExtensionElement()).getBusinessKey().getText();
- }
-
- public void setName(String name)
- {
- }
-
- public void setInquiryURL(String inquiryURL)
- {
- }
-
- public void setBusinessKey(String key)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIRegistry.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIRegistry.java
deleted file mode 100644
index 7cc8076dd..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIRegistry.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-import org.apache.wsil.Abstract;
-import org.eclipse.wst.ws.internal.parser.plugin.ParserPlugin;
-
-public class FavoritesUDDIRegistry extends FavoritesLink implements IFavoritesUDDIRegistry
-{
- public FavoritesUDDIRegistry()
- {
- super();
- }
-
- public String getName()
- {
- String name = (link_.getAbstracts())[0].getText();
- if (name.startsWith("%"))
- {
- String translatedName = ParserPlugin.getMessage(name);
- if (translatedName != null)
- name = translatedName;
- }
- return name;
- }
-
- public String getInquiryURL()
- {
- return (link_.getAbstracts())[1].getText();
- }
-
- public String getPublishURL()
- {
- Abstract[] abstracts = link_.getAbstracts();
- if (abstracts.length > 2)
- {
- String publishURL = abstracts[2].getText();
- if (publishURL != null && publishURL.length() > 0)
- return publishURL;
- }
- return null;
- }
-
- public String getRegistrationURL()
- {
- Abstract[] abstracts = link_.getAbstracts();
- if (abstracts.length > 3)
- {
- String registrationURL = abstracts[3].getText();
- if (registrationURL != null && registrationURL.length() > 0)
- return registrationURL;
- }
- return null;
- }
-
- public void setName(String name)
- {
- (link_.getAbstracts())[0].setText(name);
- }
-
- public void setInquiryURL(String inquiryURL)
- {
- (link_.getAbstracts())[1].setText(inquiryURL);
- }
-
- public void setPublishURL(String publishURL)
- {
- Abstract[] abstracts = link_.getAbstracts();
- if (abstracts.length > 2)
- abstracts[2].setText(publishURL);
- }
-
- public void setRegistrationURL(String registrationURL)
- {
- Abstract[] abstracts = link_.getAbstracts();
- if (abstracts.length > 3)
- abstracts[3].setText(registrationURL);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIService.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIService.java
deleted file mode 100644
index 0954f5712..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIService.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-import org.apache.wsil.extension.uddi.ServiceDescription;
-
-public class FavoritesUDDIService extends FavoritesService implements IFavoritesUDDIService
-{
- public FavoritesUDDIService()
- {
- super();
- }
-
- public String getName()
- {
- return (service_.getServiceNames())[0].getText();
- }
-
- public String getInquiryURL()
- {
- ServiceDescription sd = (ServiceDescription)(service_.getDescriptions())[0].getExtensionElement();
- return sd.getLocation();
- }
-
- public String getServiceKey()
- {
- ServiceDescription sd = (ServiceDescription)(service_.getDescriptions())[0].getExtensionElement();
- return sd.getServiceKey().getText();
- }
-
- public void setName(String name)
- {
- }
-
- public void setInquiryURL(String inquiryURL)
- {
- }
-
- public void setServiceKey(String key)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIServiceInterface.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIServiceInterface.java
deleted file mode 100644
index 56ec674c1..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesUDDIServiceInterface.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-import org.apache.wsil.extension.uddi.ServiceDescription;
-
-public class FavoritesUDDIServiceInterface extends FavoritesService implements IFavoritesUDDIServiceInterface
-{
- public FavoritesUDDIServiceInterface()
- {
- super();
- }
-
- public String getName()
- {
- return (service_.getServiceNames())[0].getText();
- }
-
- public String getInquiryURL()
- {
- ServiceDescription sd = (ServiceDescription)(service_.getDescriptions())[0].getExtensionElement();
- return sd.getLocation();
- }
-
- public String getServiceInterfaceKey()
- {
- ServiceDescription sd = (ServiceDescription)(service_.getDescriptions())[0].getExtensionElement();
- return sd.getServiceKey().getText();
- }
-
- public void setName(String name)
- {
- }
-
- public void setInquiryURL(String inquiryURL)
- {
- }
-
- public void setServiceInterfaceKey(String key)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSDL.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSDL.java
deleted file mode 100644
index 0f340e053..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSDL.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public class FavoritesWSDL extends FavoritesService implements IFavoritesWSDL
-{
- public FavoritesWSDL()
- {
- super();
- }
-
- public String getName()
- {
- return getWsdlUrl();
- }
-
- public String getWsdlUrl()
- {
- return (service_.getDescriptions())[0].getLocation();
- }
-
- public void setName(String name)
- {
- }
-
- public void setWsdlUrl(String wsdlURL)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSIL.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSIL.java
deleted file mode 100644
index 6622c7dea..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/FavoritesWSIL.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public class FavoritesWSIL extends FavoritesLink implements IFavoritesWSIL
-{
- public FavoritesWSIL()
- {
- super();
- }
-
- public String getName()
- {
- return getWsilUrl();
- }
-
-
- public String getWsilUrl()
- {
- return link_.getLocation();
- }
-
- public void setName(String name)
- {
- }
-
- public void setWsilUrl(String wsilURL)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesRegistryType.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesRegistryType.java
deleted file mode 100644
index b2c96c1cb..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesRegistryType.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public interface IFavoritesRegistryType
-{
- public IFavoritesUDDIRegistry[] getFavoritesUDDIRegistries();
- public IFavoritesUDDIBusiness[] getFavoritesUDDIBusinesses();
- public IFavoritesUDDIService[] getFavoritesUDDIServices();
- public IFavoritesUDDIServiceInterface[] getFavoritesUDDIServiceInterfaces();
- public IFavoritesWSDL[] getFavoritesWSDLs();
- public IFavoritesWSIL[] getFavoritesWSILs();
-
- public void addFavoritesUDDIRegistry(IFavoritesUDDIRegistry registry);
- public void addFavoritesUDDIBusiness(IFavoritesUDDIBusiness business);
- public void addFavoritesUDDIService(IFavoritesUDDIService service);
- public void addFavoritesUDDIServiceInterface(IFavoritesUDDIServiceInterface serviceInterface);
- public void addFavoritesWSDL(IFavoritesWSDL wsdl);
- public void addFavoritesWSIL(IFavoritesWSIL wsil);
-
- public void removeFavoritesUDDIRegistry(IFavoritesUDDIRegistry registry);
- public void removeFavoritesUDDIBusiness(IFavoritesUDDIBusiness business);
- public void removeFavoritesUDDIService(IFavoritesUDDIService service);
- public void removeFavoritesUDDIServiceInterface(IFavoritesUDDIServiceInterface serviceInterface);
- public void removeFavoritesWSDL(IFavoritesWSDL wsdl);
- public void removeFavoritesWSIL(IFavoritesWSIL wsil);
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIBusiness.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIBusiness.java
deleted file mode 100644
index dd2d2c950..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIBusiness.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public interface IFavoritesUDDIBusiness
-{
- public String getName();
- public String getInquiryURL();
- public String getBusinessKey();
-
- public void setName(String name);
- public void setInquiryURL(String inquiryURL);
- public void setBusinessKey(String key);
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIRegistry.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIRegistry.java
deleted file mode 100644
index bb035f1c1..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIRegistry.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public interface IFavoritesUDDIRegistry
-{
- public String getName();
- public String getInquiryURL();
- public String getPublishURL();
- public String getRegistrationURL();
-
- public void setName(String name);
- public void setInquiryURL(String inquiryURL);
- public void setPublishURL(String publishURL);
- public void setRegistrationURL(String registrationURL);
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIService.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIService.java
deleted file mode 100644
index 286370df0..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIService.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public interface IFavoritesUDDIService
-{
- public String getName();
- public String getInquiryURL();
- public String getServiceKey();
-
- public void setName(String name);
- public void setInquiryURL(String inquiryURL);
- public void setServiceKey(String key);
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIServiceInterface.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIServiceInterface.java
deleted file mode 100644
index ad426cbb6..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesUDDIServiceInterface.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public interface IFavoritesUDDIServiceInterface
-{
- public String getName();
- public String getInquiryURL();
- public String getServiceInterfaceKey();
-
- public void setName(String name);
- public void setInquiryURL(String inquiryURL);
- public void setServiceInterfaceKey(String key);
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSDL.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSDL.java
deleted file mode 100644
index d69f824cf..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSDL.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public interface IFavoritesWSDL
-{
- public String getName();
- public String getWsdlUrl();
-
- public void setName(String name);
- public void setWsdlUrl(String wsdlURL);
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSIL.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSIL.java
deleted file mode 100644
index 4c129e13b..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/favorites/IFavoritesWSIL.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.favorites;
-
-public interface IFavoritesWSIL
-{
- public String getName();
- public String getWsilUrl();
-
- public void setName(String name);
- public void setWsilUrl(String wsilURL);
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/plugin/ParserPlugin.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/plugin/ParserPlugin.java
deleted file mode 100644
index d2dc6dc69..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/plugin/ParserPlugin.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.plugin;
-
-import java.text.MessageFormat;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.wst.command.internal.env.core.common.MessageUtils;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class ParserPlugin extends Plugin {
- //The shared instance.
- private static ParserPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public ParserPlugin() {
- super();
- plugin = this;
- try {
- resourceBundle = ResourceBundle.getBundle("org.eclipse.wst.ws.parser.ParserPluginResources");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- }
-
- /**
- * Returns the shared instance.
- */
- public static ParserPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = ParserPlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- return resourceBundle;
- }
-
- /**
- * Returns the message string identified by the given key from
- * the plugin.properties file for the appropriate locale.
- * @param key The message key string prefixed by a "%" symbol.
- * That is, the string passed in must be of the form "%KEY"
- * where the plugin.properties file contains a line of the
- * form: "KEY = value".
- * @return The locale-specific message.
- */
- public static String getMessage ( String key )
- {
- MessageUtils msgUtils = new MessageUtils( "org.eclipse.wst.ws.parser.plugin", plugin );
-
- if( key.startsWith("%"))
- {
- key = key.substring( 1, key.length() );
- }
-
- return msgUtils.getMessage(key);
- }
-
- /**
- * Returns the message string identified by the given key from
- * the plugin.properties file for the appropriate locale.
- * Substitution sequences in the message string
- * are replaced by the given array of substitution objects (which
- * are most frequently strings). See java.text.MessageFormat for
- * further details on substitution.
- * @param key The message key string prefixed by a "%" symbol.
- * That is, the string passed in must be of the form "%KEY"
- * where the plugin.properties file contains a line of the
- * form: "KEY = value".
- * @param args The substitution values for the message
- * as required by the message in plugin.properties and
- * by the rules of class java.text.MessageFormat.
- * @return The locale-specific message.
- */
- public static String getMessage ( String key, Object[] args )
- {
- return MessageFormat.format(getMessage(key),args);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/HTMLHeadHandler.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/HTMLHeadHandler.java
deleted file mode 100644
index e63c60df3..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/HTMLHeadHandler.java
+++ /dev/null
@@ -1,296 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060517 142324 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-import java.io.UnsupportedEncodingException;
-import java.util.Vector;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class HTMLHeadHandler extends DefaultHandler
-{
- private final char START_TAG = '<';
- private final char END_TAG = '>';
- private final String HEAD_START_TAG = "<head>";
- private final String HEAD_END_TAG = "</head>";
- private final String ROOT_START_TAG = "<root>";
- private final String ROOT_END_TAG = "</root>";
- private final String UTF8 = "UTF-8";
-
- //HTML META tag information used to detect the charset.
- private final String HTML_CONTENT = "content";
- private final String HTTP_EQUIV = "http-equiv";
- private final String HTTP_EQUIV_CONTENT_TYPE = "Content-Type";
- private final String CHARSET = "charset";
-
- // WSIL tag information.
- private final String META = "meta";
- private final String NAME = "name";
- private final String SERVICE_INSPECTION = "serviceInspection";
- private final String CONTENT = "content";
-
- // DISCO tag information.
- private final String LINK = "link";
- private final String TYPE = "type";
- private final String TEXT_XML = "text/xml";
- private final String REL = "rel";
- private final String ALTERNATE = "alternate";
- private final String HREF = "href";
-
- private String baseURI_;
- private Vector wsils_;
- private Vector discos_;
- private String byteEncoding = UTF8; //Default to UTF-8.
-
- public HTMLHeadHandler(String baseURI)
- {
- super();
- baseURI_ = baseURI;
- wsils_ = new Vector();
- discos_ = new Vector();
- }
-
- public String[] getWsils()
- {
- String[] wsils = new String[wsils_.size()];
- wsils_.copyInto(wsils);
- return wsils;
- }
-
- public String[] getDiscos()
- {
- String[] discos = new String[discos_.size()];
- discos_.copyInto(discos);
- return discos;
- }
-
- public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- {
- String qNameLC = qName.toLowerCase();
- if (qNameLC.equals(META))
- {
- String nameValue = attributes.getValue(NAME);
- if (SERVICE_INSPECTION.equals(nameValue))
- {
- String wsilURI = attributes.getValue(CONTENT);
- if (baseURI_ != null && wsilURI.indexOf(":/") == -1)
- {
- StringBuffer sb = new StringBuffer();
- sb.append(baseURI_.substring(0, baseURI_.lastIndexOf("/")+1));
- sb.append(wsilURI);
- wsilURI = sb.toString();
- }
- if (!wsils_.contains(wsilURI))
- wsils_.add(wsilURI);
- }
- }
- else if (qNameLC.equals(LINK))
- {
- // See http://msdn.microsoft.com/msdnmag/issues/02/02/xml/default.aspx for more details on DISCO.
- String type = attributes.getValue(TYPE);
- String rel = attributes.getValue(REL);
- String href = attributes.getValue(HREF);
- if (TEXT_XML.equals(type) && ALTERNATE.equals(rel) && href != null)
- {
- String discoURI = href;
- if (discoURI.indexOf(":/") == -1)
- {
- StringBuffer sb = new StringBuffer();
- sb.append(baseURI_.substring(0,baseURI_.lastIndexOf("/")+1));
- sb.append(discoURI);
- discoURI = sb.toString();
- }
- if (!discos_.contains(discoURI))
- discos_.add(discoURI);
- }
- }
- }
-
- public void error(SAXParseException e) throws SAXException
- {
- }
-
- public void fatalError(SAXParseException e) throws SAXException
- {
- }
-
- public void warning(SAXParseException e) throws SAXException
- {
- }
-
- /**
- * Appends the elements of the provided tag in the provided document to the provided StringBuffer.
- * @param target
- * @param document
- * @param tag
- * @param encoding
- * @return boolean false if the value of the encoding parameter matched the detected charset or if no charset was detected.
- * Returns true if a charset was detected and it did not equal the encoding parameter. If true is returned
- * the harvesting of the tags would have stopped at the point the charset was detected. The caller
- * should call this method again with the correct encoding.
- */
- private boolean harvestTags(StringBuffer target,String document,String tag, String encoding)
- {
- boolean changeEncoding = false;
- int index = document.indexOf(START_TAG);
- int documentLength = document.length();
- int tagLength = tag.length();
- while (index != -1 && (index+1+tagLength)<documentLength)
- {
- String str = document.substring(index+1,index+1+tagLength);
- if (str.toLowerCase().equals(tag))
- {
- str = document.substring(index,document.indexOf(END_TAG,index+1)+1);
- target.append(str);
- index += str.length();
-
- //If tag is META and declares the charset, find out what it is
- //and if it matches what was passed in. If it matches, continue
- //with the parsing and return false when complete.
- //If the detected charset is different from what was passed in,
- //- change byteEncoding to equal the detected charset.
- //- stop parsing.
- //- return true.
- if (tag.equals(META))
- {
- int idxOfContent = str.indexOf(HTML_CONTENT);
- int idxOfHTTPEQUIV = str.indexOf(HTTP_EQUIV);
- if (idxOfHTTPEQUIV!= -1 && idxOfContent != -1)
- {
- //Check if the http-equiv attribute is set to Content-Type.
- int idxOfHTTPEQUIVOpenQuote = str.indexOf("\"", idxOfHTTPEQUIV+1);
- int idxOfHTTPEQUIVClosingQuote = str.indexOf("\"", idxOfHTTPEQUIVOpenQuote+1);
- String hTTPEQUIVValueUntrimmed = str.substring(idxOfHTTPEQUIVOpenQuote+1, idxOfHTTPEQUIVClosingQuote);
- if (hTTPEQUIVValueUntrimmed.trim().equals(HTTP_EQUIV_CONTENT_TYPE))
- {
- //This META tag contains the charset. Get the value of the content attribute
- int idxOfOpenQuote = str.indexOf("\"", idxOfContent+1);
- int idxOfClosingQuote = str.indexOf("\"", idxOfOpenQuote+1);
- String contentValue = str.substring(idxOfOpenQuote+1, idxOfClosingQuote);
-
- //Get the charset
- int idxOfCharSet = contentValue.indexOf(CHARSET);
- int idxOfEquals = contentValue.indexOf("=", idxOfCharSet+CHARSET.length());
- String detectedEncodingValueUntrimmed = contentValue.substring(idxOfEquals+1);
- String detectedEncodingValue = detectedEncodingValueUntrimmed.trim();
- if (!detectedEncodingValue.equals(encoding))
- {
- byteEncoding = detectedEncodingValue;
- changeEncoding = true;
- break;
- }
- }
- }
- }
- }
- else
- index++;
- index = document.indexOf(START_TAG,index);
- }
-
- return changeEncoding;
- }
-
-
- /**
- * If the provided byte array reperesents the contents of an HTML
- * document, this method will return a byte array in which
- * <ul>
- * <li>the opening and closing HEAD tags are removed and replaced with
- * opening and closing <root> tags</li>
- * <li>only the META and LINK elements are in the HTML document
- * are included in the contents between the opening and closing
- * <root> tags.
- * </ul>
- * This method will modify the value of the byteEncoding String
- * attribute on this class if it is something other than
- * UTF-8. Callers of this method should call getByteEncoding()
- * after calling this method if they need to know the charset
- * value used by this method to decode/endcode the byte array.
- * @param b
- * @return byte[]
- */
- public byte[] harvestHeadTags(byte[] b)
- {
- String s;
-
- try
- {
- //Assume the default byte encoding of UTF-8 for now.
- s = new String(b, byteEncoding);
- }
- catch (UnsupportedEncodingException uee)
- {
- s = new String(b);
- }
- String head = s.toLowerCase();
- int headStartIndex = head.indexOf(HEAD_START_TAG);
- int headEndIndex = head.indexOf(HEAD_END_TAG);
- StringBuffer sb = new StringBuffer();
- sb.append(ROOT_START_TAG);
- if (headStartIndex != -1 && headEndIndex != -1)
- {
- head = s.substring(headStartIndex, headEndIndex+HEAD_END_TAG.length());
- boolean encodingChanged = harvestTags(sb,head,META, byteEncoding);
- if (encodingChanged)
- {
- //The harvestTags method detected a different charset
- //than the one that was passed in. Start from the beginning
- //with the correct charset.
- String s2;
- try
- {
- s2 = new String(b, byteEncoding);
- }
- catch (UnsupportedEncodingException uee)
- {
- s2 = new String(b);
- }
- String head2 = s2.toLowerCase();
- int head2StartIndex = head2.indexOf(HEAD_START_TAG);
- int head2EndIndex = head2.indexOf(HEAD_END_TAG);
- sb = new StringBuffer();
- sb.append(ROOT_START_TAG);
- if (head2StartIndex != -1 && head2EndIndex != -1)
- {
- head2 = s2.substring(head2StartIndex, head2EndIndex+HEAD_END_TAG.length());
- harvestTags(sb,head2,META, byteEncoding);
- harvestTags(sb,head2,LINK,byteEncoding);
- }
- }
- else
- {
- harvestTags(sb,head,LINK,byteEncoding);
- }
- }
- sb.append(ROOT_END_TAG);
- try
- {
- return sb.toString().getBytes(byteEncoding);
- } catch (UnsupportedEncodingException uee)
- {
- return sb.toString().getBytes();
- }
-
- }
-
- public String getByteEncoding()
- {
- return byteEncoding;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/IllegalArgumentsException.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/IllegalArgumentsException.java
deleted file mode 100644
index bf42dc6b9..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/IllegalArgumentsException.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-public class IllegalArgumentsException extends Exception
-{
- private static final long serialVersionUID = -2533981176285561234L;
-
- public IllegalArgumentsException(String arg)
- {
- super(arg);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/UDDIURIHelper.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/UDDIURIHelper.java
deleted file mode 100644
index 3d007ac66..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/UDDIURIHelper.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-import java.text.MessageFormat;
-import java.text.ParseException;
-
-public class UDDIURIHelper
-{
- private static final String QUERYSERVICE_URI_TEMPLATE = "uddiservice:query:{0}:query:{1}";
- private static final String SERVICEKEY_URI_TEMPLATE = "uddiservice:serviceKey:{0}:serviceKey:{1}";
-
- public static final String getQueryServiceURI(String query,String inquiryURL)
- {
- String[] uriParams = {query,inquiryURL};
- return MessageFormat.format(QUERYSERVICE_URI_TEMPLATE,uriParams);
- }
-
- public static final String getServiceKeyURI(String serviceKey,String inquiryURL)
- {
- String[] uriParams = {serviceKey,inquiryURL};
- return MessageFormat.format(SERVICEKEY_URI_TEMPLATE,uriParams);
- }
-
- private static final String[] parseURI(String pattern,String uri)
- {
- try
- {
- MessageFormat mf = new MessageFormat(pattern);
- Object[] parsedResults = mf.parse(uri);
- if (parsedResults != null && parsedResults.length > 0)
- {
- String[] results = new String[parsedResults.length];
- for (int i=0;i<parsedResults.length;i++)
- results[i] = (String)parsedResults[i];
- return results;
- }
- }
- catch (ParseException e)
- {
- }
- return null;
- }
-
- public static final String[] parseServiceKeyURI(String uri)
- {
- return parseURI(SERVICEKEY_URI_TEMPLATE,uri);
- }
-
- public static final String[] parseQueryServiceURI(String uri)
- {
- return parseURI(QUERYSERVICE_URI_TEMPLATE,uri);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WSILMessages.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WSILMessages.java
deleted file mode 100644
index 3286ba799..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WSILMessages.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-import org.eclipse.osgi.util.NLS;
-
-public class WSILMessages extends NLS
-{
- private static final String BUNDLE_NAME = "org.eclipse.wst.ws.internal.parser.wsil.wsil"; //$NON-NLS-1$
-
- static
- {
- NLS.initializeMessages(BUNDLE_NAME, WSILMessages.class);
- }
-
- public static String MSG_ERROR_INVALID_ARGUMENTS;
- public static String MSG_ERROR_ILLEGAL_ARGUMENTS;
- public static String MSG_ERROR_INVALID_WSDL_URI;
- public static String MSG_ERROR_INVALID_WSIL_URI;
- public static String MSG_ERROR_UNRESOLVABLE_WSDL;
- public static String MSG_ERROR_UNEXPECTED_EXCEPTION;
- public static String MSG_ERROR_MALFORMED_WSDL;
- public static String MSG_ERROR_WRITE_WSIL;
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationException.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationException.java
deleted file mode 100644
index 8ac66a620..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationException.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-import java.io.IOException;
-
-public class WWWAuthenticationException extends Exception
-{
- private static final long serialVersionUID = -4918211021620316049L;
-
- private IOException ioe_;
- private String wwwAuthMsg_;
- private String url_;
-
- public WWWAuthenticationException(IOException ioe, String wwwAuthMsg, String url)
- {
- super(ioe.getMessage());
- ioe_ = ioe;
- wwwAuthMsg_ = wwwAuthMsg;
- url_ = url;
- }
-
- public IOException getIOException()
- {
- return ioe_;
- }
-
- public String getWWWAuthenticationMsg()
- {
- return wwwAuthMsg_;
- }
-
- public String getURL()
- {
- return url_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationHandler.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationHandler.java
deleted file mode 100644
index c7a8cab19..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WWWAuthenticationHandler.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-public interface WWWAuthenticationHandler
-{
- public void handleWWWAuthentication(WWWAuthenticationException wwwae);
- public String getUsername();
- public String getPassword();
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServiceEntity.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServiceEntity.java
deleted file mode 100644
index 33e38a77f..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServiceEntity.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- ******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class WebServiceEntity
-{
- public static final int TYPE_UNKNOWN = -1;
- public static final int TYPE_HTML = 0;
- public static final int TYPE_WSIL = 1;
- public static final int TYPE_WSDL = 2;
- public static final int TYPE_UDDI_SERVICE = 3;
- public static final int TYPE_DISCO = 4;
-
- private Object parent_;
- private List children_;
- private int type_;
- private String uri_;
- private byte[] bytes_;
- private String httpUsername_;
- private String httpPassword_;
- private String documentation_;
- private Object model_;
-
- public WebServiceEntity()
- {
- parent_ = null;
- children_ = new ArrayList();
- type_ = TYPE_UNKNOWN;
- uri_ = null;
- bytes_ = null;
- httpUsername_ = null;
- httpPassword_ = null;
- documentation_ = null;
- model_ = null;
- }
-
- public Object getParent()
- {
- return parent_;
- }
-
- public void setParent(Object parent)
- {
- parent_ = parent;
- }
-
- public List getChildren()
- {
- return children_;
- }
-
- public void addChild(Object child)
- {
- children_.add(child);
- }
-
- public void removeChild(Object child)
- {
- children_.remove(child);
- }
-
- public int getType()
- {
- return type_;
- }
-
- public void setType(int type)
- {
- type_ = type;
- }
-
- public String getURI()
- {
- return uri_;
- }
-
- public void setURI(String uri)
- {
- uri_ = uri;
- }
-
- public byte[] getBytes()
- {
- return bytes_;
- }
-
- public void setBytes(byte[] bytes)
- {
- bytes_ = bytes;
- }
-
- public String getHTTPUsername()
- {
- return httpUsername_;
- }
-
- public void setHTTPUsername(String httpUsername)
- {
- httpUsername_ = httpUsername;
- }
-
- public String getHTTPPassword()
- {
- return httpPassword_;
- }
-
- public void setHTTPPassword(String httpPassword)
- {
- httpPassword_ = httpPassword;
- }
-
- public String getDocumentation()
- {
- return documentation_;
- }
-
- public void setDocumentation(String documentation)
- {
- documentation_ = documentation;
- }
-
- public Object getModel()
- {
- return model_;
- }
-
- public void setModel(Object model)
- {
- model_ = model;
- }
-
- public boolean isEntityResolved()
- {
- return (bytes_ != null);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServicesParser.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServicesParser.java
deleted file mode 100644
index 583ad9d22..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/WebServicesParser.java
+++ /dev/null
@@ -1,628 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- * -------- -------- -----------------------------------------------------------
- * 20060504 119296 pmoogk@ca.ibm.com - Peter Moogk
- * 20060517 142324 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060711 150301 pmoogk@ca.ibm.com - Peter Moogk
- * 20060818 154393 pmoogk@ca.ibm.com - Peter Moogk
- * 20060906 156420 pmoogk@ca.ibm.com - Peter Moogk
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.parser.wsil;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.Hashtable;
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLReader;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import org.apache.wsil.Abstract;
-import org.apache.wsil.Description;
-import org.apache.wsil.Inspection;
-import org.apache.wsil.Link;
-import org.apache.wsil.Service;
-import org.apache.wsil.WSILConstants;
-import org.apache.wsil.WSILDocument;
-import org.apache.wsil.WSILException;
-import org.apache.wsil.extension.ExtensionElement;
-import org.apache.wsil.extension.uddi.ServiceDescription;
-import org.apache.wsil.extension.uddi.UDDIConstants;
-import org.apache.wsil.extension.wsdl.WSDLConstants;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.wst.ws.internal.parser.disco.DISCOContractReference;
-import org.eclipse.wst.ws.internal.parser.disco.DISCOParser;
-import org.eclipse.wst.ws.internal.parser.disco.DISCOReference;
-import org.eclipse.wst.wsdl.WSDLPlugin;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import sun.misc.BASE64Encoder;
-
-public class WebServicesParser
-{
- public static final int PARSE_NONE = 0;
- public static final int PARSE_WSIL = 1<<0;
- public static final int PARSE_WSDL = 1<<1;
- public static final int PARSE_LINKS = 1<<2;
- public static final int PARSE_DISCO = 1<<3;
-
- private String uri_;
- private Hashtable uriToEntityTable_;
-
- private String httpBasicAuthUsername_;
- private String httpBasicAuthPassword_;
-
- public WebServicesParser()
- {
- this(null);
- }
-
- public WebServicesParser(String uri)
- {
- uri_ = uri;
- uriToEntityTable_ = new Hashtable();
- httpBasicAuthUsername_ = null;
- httpBasicAuthPassword_ = null;
- }
-
- public String getURI()
- {
- return uri_;
- }
-
- public void setURI(String uri)
- {
- uri_ = uri;
- }
-
- public WebServiceEntity getWebServiceEntityByURI(String uri)
- {
- if (uri != null)
- return (WebServiceEntity)uriToEntityTable_.get(uri);
- else
- return null;
- }
-
- /**
- *
- * @param wsilURI
- * @return
- * @deprecated replaced with getWSILDocumentVerbose(String, String)
- */
- public WSILDocument getWSILDocument(String wsilURI )
- {
- try
- {
- return getWSILDocumentVerbose(wsilURI, "UTF-8" );
- }
- catch (Throwable t)
- {
- }
- return null;
- }
-
- /**
- *
- * @param wsilURI
- * @return
- * @throws MalformedURLException
- * @throws IOException
- * @throws WWWAuthenticationException
- * @throws WSILException
- * @deprecated replaced with getWSILDocumentVerbose(String, String)
- */
- public WSILDocument getWSILDocumentVerbose(String wsilURI ) throws MalformedURLException, IOException, WWWAuthenticationException, WSILException
- {
- return getWSILDocumentVerbose( wsilURI, "UTF-8" );
- }
-
- public WSILDocument getWSILDocumentVerbose(String wsilURI, String byteEncoding ) throws MalformedURLException, IOException, WWWAuthenticationException, WSILException
- {
- WebServiceEntity wsEntity = getWebServiceEntityByURI(wsilURI);
-
- if (wsEntity == null)
- {
- wsEntity = new WebServiceEntity();
- wsEntity.setURI(wsilURI);
- uriToEntityTable_.put(wsilURI, wsEntity);
- }
-
- WSILDocument wsilDocument = (WSILDocument)wsEntity.getModel();
-
- if (wsilDocument == null)
- {
- // For some reason WSDL4J is not reading the content type properly for platform resources. Therefore, we will get
- // the stream directly from Eclipse if we find a platform protocol specified in the URL.
- if( wsilURI.startsWith( "platform:/resource" ) )
- {
- String path = wsilURI.substring(18);
- IResource resource = ResourcesPlugin.getWorkspace().getRoot().findMember( path );
-
- if( resource instanceof IFile )
- {
- try
- {
- IFile file = (IFile)resource;
- InputStream stream = file.getContents();
- InputStreamReader reader = new InputStreamReader( stream, file.getCharset() );
-
- wsilDocument = WSILDocument.newInstance();
- wsilDocument.read( reader );
- }
- catch( CoreException exc ){}
- }
- }
- else
- {
- // TODO the following 3 lines of code should probably be removed, since
- // the WSDL4J parser does not need a byte stream.
- byte[] b = getInputStreamAsByteArray(wsilURI);
- wsEntity.setBytes(b);
- setHTTPSettings(wsEntity);
-
- // This parser only checks the header of HTML for a particular encoding.
- // It doesn't check the encoding for general XML documents like WSDL and WSIL.
- // This causing this parser to alway use UTF-8 as the encoding. Therefore,
- // since we can not trust the encoding specified we will not use it. Instead,
- // we will just let the WSIL parser figure out what encoding to use.
-
- //InputStreamReader isr = new InputStreamReader(new ByteArrayInputStream(b), byteEncoding );
- wsilDocument = WSILDocument.newInstance();
- wsilDocument.read(wsilURI);
- }
-
- wsEntity.setType(WebServiceEntity.TYPE_WSIL);
- wsEntity.setModel(wsilDocument);
- }
- return wsilDocument;
- }
-
- public Definition getWSDLDefinition(String wsdlURI)
- {
- try
- {
- return getWSDLDefinitionVerbose(wsdlURI);
- }
- catch (Throwable t)
- {
- }
- return null;
- }
-
- public Definition getWSDLDefinitionVerbose(String wsdlURI) throws MalformedURLException, IOException, WWWAuthenticationException, WSDLException
- {
- WebServiceEntity wsEntity = getWebServiceEntityByURI(wsdlURI);
- if (wsEntity == null)
- {
- wsEntity = new WebServiceEntity();
- wsEntity.setURI(wsdlURI);
- uriToEntityTable_.put(wsdlURI, wsEntity);
- }
- Definition definition = (Definition)wsEntity.getModel();
- if (definition == null)
- {
- byte[] b = getInputStreamAsByteArray(wsdlURI);
- wsEntity.setBytes(b);
- setHTTPSettings(wsEntity);
- ByteArrayInputStream bais = new ByteArrayInputStream(b);
- WSDLFactory factory = WSDLPlugin.INSTANCE.createWSDL4JFactory();
- WSDLReader wsdlReader = factory.newWSDLReader();
- definition = wsdlReader.readWSDL(wsdlURI, new InputSource(bais));
- wsEntity.setType(WebServiceEntity.TYPE_WSDL);
- wsEntity.setModel(definition);
- }
- return definition;
- }
-
- public void parse() throws MalformedURLException, IOException, ParserConfigurationException, SAXException, WWWAuthenticationException
- {
- parseURL(PARSE_WSIL | PARSE_WSDL | PARSE_LINKS | PARSE_DISCO);
- }
-
- public void parse(int parseOption) throws MalformedURLException, IOException, ParserConfigurationException, SAXException, WWWAuthenticationException
- {
- parseURL(parseOption);
- }
-
- private void parseURL(int parseOption) throws MalformedURLException, IOException, ParserConfigurationException, SAXException, WWWAuthenticationException
- {
- WebServiceEntity wsEntity = new WebServiceEntity();
-
- // This variable makes this object a little more thread safe than it was
- // before, although this object is not completely thread safe. The scenario
- // that we are trying to avoid is where one call to this method gets blocked
- // at the getInputStreamAsByteArray call. Then a second call to the method
- // is made that changes the uri_ global variable. When the first call
- // completes it would use uri_ value from the second invocation instead
- // of the value from the first. Storing the uri_ into this variable helps
- // avoid this bad scenario.
- String theUri = uri_;
-
- wsEntity.setURI(theUri);
- byte[] b = getInputStreamAsByteArray(theUri);
- wsEntity.setBytes(b);
- setHTTPSettings(wsEntity);
- uriToEntityTable_.put(theUri, wsEntity);
- // parse uri_ as a HTML document
- HTMLHeadHandler headHandler = new HTMLHeadHandler(theUri);
- byte[] head = headHandler.harvestHeadTags(b);
- String byteEncoding = headHandler.getByteEncoding();
- SAXParserFactory factory = SAXParserFactory.newInstance();
- factory.setNamespaceAware(false);
- factory.setValidating(false);
- SAXParser parser = factory.newSAXParser();
- try
- {
- ByteArrayInputStream bais = new ByteArrayInputStream(head);
- InputStreamReader isr = new InputStreamReader(bais, byteEncoding);
- InputSource is = new InputSource(isr);
- parser.parse(is, headHandler);
- }
- catch (Throwable t)
- {
- }
- String[] wsilURIs = headHandler.getWsils();
- String[] discoURIs = headHandler.getDiscos();
- // true if uri_ is a HTML document
- if (wsilURIs.length > 0 || discoURIs.length > 0)
- {
- wsEntity.setType(WebServiceEntity.TYPE_HTML);
- for (int i = 0; i < wsilURIs.length; i++)
- {
- String absoluteURI = convertToAbsoluteURI(theUri, wsilURIs[i]);
- WebServiceEntity wsilEntity = new WebServiceEntity();
- wsilEntity.setType(WebServiceEntity.TYPE_WSIL);
- wsilEntity.setURI(absoluteURI);
- associate(wsEntity, wsilEntity);
- uriToEntityTable_.put(absoluteURI, wsilEntity);
- if ((parseOption | PARSE_WSIL) == parseOption)
- {
- try
- {
- parseWSIL(absoluteURI, parseOption, byteEncoding );
- }
- catch (Throwable t)
- {
- }
- }
- }
- for (int i=0;i<discoURIs.length;i++)
- {
- WebServiceEntity discoEntity = new WebServiceEntity();
- discoEntity.setType(WebServiceEntity.TYPE_DISCO);
- discoEntity.setURI(discoURIs[i]);
- associate(wsEntity,discoEntity);
- uriToEntityTable_.put(discoURIs[i],discoEntity);
- if ((parseOption | PARSE_DISCO) == parseOption)
- {
- try
- {
- parseDISCO(discoURIs[i],parseOption);
- }
- catch (Throwable t)
- {
- }
- }
- }
- }
- // false if uri_ is not a HTML document
- // then parse uri_ as a WSIL document
- else
- {
- try
- {
- parseWSIL(theUri, parseOption, byteEncoding );
- // no exception thrown if uri_ is a WSIL document
- wsEntity.setType(WebServiceEntity.TYPE_WSIL);
- }
- catch (Throwable t)
- {
- // exception thrown if uri_ is not a WSIL document
- // then parse uri_ as a DISCO document.
- try
- {
- parseDISCO(theUri, parseOption);
- // no exception thrown if uri_ is a DISCO document
- wsEntity.setType(WebServiceEntity.TYPE_DISCO);
- }
- catch (Throwable t2)
- {
- // exception thrown if uri_ is not a DISCO document
- // then parse uri_ as a WSDL document
- try
- {
- parseWSDL(theUri);
- // no exception thrown if uri_ is a WSDL document
- wsEntity.setType(WebServiceEntity.TYPE_WSDL);
- }
- catch (Throwable t3)
- {
- // exception thrown if uri_ is not a WSDL document
- // then do nothing
- }
- }
- }
- }
- }
-
- private void parseWSIL(String wsilURI, int parseOption, String byteEncoding ) throws WSILException, MalformedURLException, IOException, WSDLException, WWWAuthenticationException
- {
- WebServiceEntity wsilEntity = getWebServiceEntityByURI(wsilURI);
- WSILDocument wsilDoc = (WSILDocument)wsilEntity.getModel();
- if (wsilDoc != null)
- {
- // Prevent infinite loops from occurring when a WSIL cycles occur.
- return;
- }
- wsilDoc = getWSILDocumentVerbose(wsilURI, byteEncoding );
- Inspection inspection = wsilDoc.getInspection();
- Service[] services = inspection.getServices();
- for (int i = 0; i < services.length; i++)
- {
- Description[] descs = services[i].getDescriptions();
- // Set the documentation to the <service> element's first abstract.
- String documentation = null;
- Abstract[] abstracts = services[i].getAbstracts();
- if (abstracts != null && abstracts.length > 0)
- documentation = abstracts[0].getText();
- for (int j = 0; j < descs.length; j++)
- {
- String referencedNS = descs[j].getReferencedNamespace();
- // If a <description> element contains an abstract, use it to override the service documentation.
- abstracts = descs[j].getAbstracts();
- if (abstracts != null && abstracts.length > 0)
- documentation = abstracts[0].getText();
- if (WSDLConstants.NS_URI_WSDL.equals(referencedNS))
- {
- String location = descs[j].getLocation();
- if (location != null && location.length() > 0)
- {
- String absoluteURI = convertToAbsoluteURI(wsilURI, location);
- WebServiceEntity wsdlEntity = new WebServiceEntity();
- wsdlEntity.setType(WebServiceEntity.TYPE_WSDL);
- wsdlEntity.setURI(absoluteURI);
- wsdlEntity.setDocumentation(documentation);
- associate(wsilEntity, wsdlEntity);
- uriToEntityTable_.put(absoluteURI, wsdlEntity);
- if ((parseOption | PARSE_WSDL) == parseOption)
- parseWSDL(absoluteURI);
- }
- }
- else if (UDDIConstants.NS_URI_UDDI_V2.equals(referencedNS))
- {
- ExtensionElement ee = descs[j].getExtensionElement();
- if (ee instanceof ServiceDescription)
- {
- ServiceDescription sd = (ServiceDescription)ee;
- String inquiryURL = sd.getLocation();
- String serviceKey = sd.getServiceKey().getText();
- WebServiceEntity uddiServiceEntity = new WebServiceEntity();
- uddiServiceEntity.setType(WebServiceEntity.TYPE_UDDI_SERVICE);
- String uddiServiceKeyURI = UDDIURIHelper.getServiceKeyURI(serviceKey,inquiryURL);
- uddiServiceEntity.setURI(uddiServiceKeyURI);
- uddiServiceEntity.setDocumentation(documentation);
- associate(wsilEntity,uddiServiceEntity);
- uriToEntityTable_.put(uddiServiceKeyURI,uddiServiceEntity);
- // TODO: parse WSDL if necessary...
- }
- }
- }
- }
- Link[] links = inspection.getLinks();
- for (int i = 0; i < links.length; i++)
- {
- if (WSILConstants.NS_URI_WSIL.equals(links[i].getReferencedNamespace()))
- {
- String documentation = null;
- Abstract[] abstracts = links[i].getAbstracts();
- if (abstracts != null && abstracts.length > 0)
- documentation = abstracts[0].getText();
- String linkLocation = links[i].getLocation();
- String absoluteURI = convertToAbsoluteURI(wsilURI, linkLocation);
- // Prevent cycles.
- WebServiceEntity wsilLinkEntity = getWebServiceEntityByURI(absoluteURI);
- if (wsilLinkEntity == null)
- {
- wsilLinkEntity = new WebServiceEntity();
- wsilLinkEntity.setType(WebServiceEntity.TYPE_WSIL);
- wsilLinkEntity.setURI(absoluteURI);
- wsilLinkEntity.setDocumentation(documentation);
- uriToEntityTable_.put(absoluteURI, wsilLinkEntity);
- if ((parseOption | PARSE_LINKS) == parseOption)
- parseWSIL(absoluteURI, parseOption, byteEncoding );
- }
- associate(wsilEntity,wsilLinkEntity);
- }
- }
- }
-
- private void parseDISCO(String discoURI, int parseOption) throws MalformedURLException, WWWAuthenticationException, Exception
- {
- WebServiceEntity discoEntity = getWebServiceEntityByURI(discoURI);
- byte[] b = getInputStreamAsByteArray(discoURI);
- discoEntity.setBytes(b);
- setHTTPSettings(discoEntity);
- ByteArrayInputStream bais = new ByteArrayInputStream(b);
- DISCOParser parser = new DISCOParser();
- DISCOReference[] references = parser.parse(discoURI,new InputSource(bais));
- if (references != null && references.length > 0)
- {
- for (int i=0;i<references.length;i++)
- {
- if (references[i] instanceof DISCOContractReference)
- {
- // contractRef
- DISCOContractReference reference = (DISCOContractReference)references[i];
- String ref = reference.getRef();
- String docRef = reference.getDocRef();
- WebServiceEntity wsdlEntity = new WebServiceEntity();
- wsdlEntity.setType(WebServiceEntity.TYPE_WSDL);
- wsdlEntity.setURI(ref);
- wsdlEntity.setDocumentation(docRef);
- associate(discoEntity,wsdlEntity);
- uriToEntityTable_.put(ref,wsdlEntity);
- if ((parseOption | PARSE_WSDL) == parseOption)
- parseWSDL(ref);
- }
- else
- {
- // discoveryRef
- String ref = references[i].getRef();
- // Prevent cycles.
- WebServiceEntity discoLinkEntity = getWebServiceEntityByURI(ref);
- if (discoLinkEntity == null)
- {
- discoLinkEntity = new WebServiceEntity();
- discoLinkEntity.setType(WebServiceEntity.TYPE_DISCO);
- discoLinkEntity.setURI(ref);
- uriToEntityTable_.put(ref,discoLinkEntity);
- if ((parseOption | PARSE_LINKS) == parseOption)
- parseDISCO(ref,parseOption);
- }
- associate(discoEntity,discoLinkEntity);
- }
- }
- }
- }
-
- private Definition parseWSDL(String wsdlURI) throws WSDLException, MalformedURLException, IOException, WWWAuthenticationException
- {
- return getWSDLDefinitionVerbose(wsdlURI);
- }
-
- private byte[] getInputStreamAsByteArray(String uriString) throws MalformedURLException, IOException, WWWAuthenticationException
- {
- // Try to get a cached copy of the byte[]
- WebServiceEntity wsEntity = getWebServiceEntityByURI(uriString);
- if (wsEntity != null)
- {
- byte[] bytes = wsEntity.getBytes();
- if (bytes != null)
- return bytes;
- }
- // Get the byte[] by opening a stream to the URI
- URL url = createURL(uriString);
- URLConnection conn = url.openConnection();
- // proxy server setting
- String proxyUserName = System.getProperty("http.proxyUserName");
- String proxyPassword = System.getProperty("http.proxyPassword");
- if (proxyUserName != null && proxyPassword != null)
- {
- StringBuffer userNamePassword = new StringBuffer(proxyUserName);
- userNamePassword.append(':').append(proxyPassword);
- BASE64Encoder encoder = new BASE64Encoder();
- String encoding = encoder.encode(userNamePassword.toString().getBytes());
- userNamePassword.setLength(0);
- userNamePassword.append("Basic ").append(encoding);
- conn.setRequestProperty("Proxy-authorization", userNamePassword.toString());
- }
- // HTTP basic authentication setting
- if (httpBasicAuthUsername_ != null && httpBasicAuthPassword_ != null)
- {
- StringBuffer sb = new StringBuffer(httpBasicAuthUsername_);
- sb.append(':').append(httpBasicAuthPassword_);
- BASE64Encoder encoder = new BASE64Encoder();
- String encoding = encoder.encode(sb.toString().getBytes());
- sb.setLength(0);
- sb.append("Basic ").append(encoding);
- conn.setRequestProperty("Authorization", sb.toString());
- }
- InputStream is = null;
- try
- {
- is = conn.getInputStream();
- String wwwAuthMsg = conn.getHeaderField("WWW-Authenticate");
- if (wwwAuthMsg != null)
- throw new WWWAuthenticationException(new IOException(), wwwAuthMsg, uriString);
- }
- catch (IOException ioe)
- {
- String wwwAuthMsg = conn.getHeaderField("WWW-Authenticate");
- if (wwwAuthMsg != null)
- throw new WWWAuthenticationException(ioe, wwwAuthMsg, uriString);
- else
- throw ioe;
- }
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- byte[] b = new byte[1024];
- int byteRead = is.read(b);
- while (byteRead != -1)
- {
- baos.write(b, 0, byteRead);
- byteRead = is.read(b);
- }
- is.close();
- return baos.toByteArray();
- }
-
- protected URL createURL(String url) throws MalformedURLException
- {
- return new URL(url);
- }
-
- private void associate(WebServiceEntity parent, WebServiceEntity child)
- {
- parent.addChild(child);
- child.setParent(parent);
- }
-
- private String convertToAbsoluteURI(String baseURI,String refURI)
- {
- if (refURI != null && refURI.indexOf(":") < 0)
- {
- StringBuffer absoluteURI = new StringBuffer(baseURI.substring(0,Math.max(baseURI.lastIndexOf('\\'),baseURI.lastIndexOf('/')+1)));
- absoluteURI.append(refURI);
- return absoluteURI.toString();
- }
- return refURI;
- }
-
- private void setHTTPSettings(WebServiceEntity entity)
- {
- if (httpBasicAuthUsername_ != null && httpBasicAuthPassword_ != null)
- {
- entity.setHTTPUsername(httpBasicAuthUsername_);
- entity.setHTTPPassword(httpBasicAuthPassword_);
- }
- }
-
- public String getHTTPBasicAuthUsername()
- {
- return httpBasicAuthUsername_;
- }
-
- public void setHTTPBasicAuthUsername(String username)
- {
- httpBasicAuthUsername_ = username;
- }
-
- public String getHTTPBasicAuthPassword()
- {
- return httpBasicAuthPassword_;
- }
-
- public void setHTTPBasicAuthPassword(String password)
- {
- httpBasicAuthPassword_ = password;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/wsil.properties b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/wsil.properties
deleted file mode 100644
index 1e60c01ba..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/internal/parser/wsil/wsil.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# Copyright (c) 2001,2004 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
-###############################################################################
-
-#
-# Messages for AddWSDLToWSILCommand
-#
-MSG_ERROR_INVALID_ARGUMENTS=IWAB0055E Invalid command arguments.
-MSG_ERROR_ILLEGAL_ARGUMENTS=IWAB0105E Illegal argument.
-MSG_ERROR_INVALID_WSDL_URI=IWAB0185E Invalid WSDL URI.
-MSG_ERROR_INVALID_WSIL_URI=IWAB0206E Invalid WSIL URI.
-MSG_ERROR_UNRESOLVABLE_WSDL=IWAB0405E WSDL is unresolvable.
-MSG_ERROR_UNEXPECTED_EXCEPTION=IWAB0451E An unexpected exception has occured.
-MSG_ERROR_MALFORMED_WSDL=IWAB0452E WSDL is malformed, error parsing WSDL.
-MSG_ERROR_WRITE_WSIL=IWAB0453E Error writing WSIL.
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/PluginMessages.java b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/PluginMessages.java
deleted file mode 100644
index 939b0d5a6..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/PluginMessages.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package org.eclipse.wst.ws.parser;
-
-import org.eclipse.osgi.util.NLS;
-
-public class PluginMessages extends NLS
-{
- private static final String BUNDLE_NAME = "org.eclipse.wst.ws.parser.plugin"; //$NON-NLS-1$
-
- static
- {
- NLS.initializeMessages(BUNDLE_NAME, PluginMessages.class);
- }
-
- public static String PUBLICUDDIREGISTRYTYPE_NAME_SAP;
- public static String PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST;
- public static String PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS;
- public static String PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM;
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/plugin.properties b/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/plugin.properties
deleted file mode 100644
index 0080e4720..000000000
--- a/bundles/org.eclipse.wst.ws.parser/src/org/eclipse/wst/ws/parser/plugin.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# Copyright (c) 2004,2005 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
-###############################################################################
-
-#
-# PublicUDDIRegistryType
-#
-PUBLICUDDIREGISTRYTYPE_NAME_SAP=SAP UDDI Registry
-PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST=SAP UDDI Test Registry
-PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS=XMethods Registry
-PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM=NTT Communications Registry \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.ui/.classpath b/bundles/org.eclipse.wst.ws.ui/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/bundles/org.eclipse.wst.ws.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.ws.ui/.cvsignore b/bundles/org.eclipse.wst.ws.ui/.cvsignore
deleted file mode 100644
index 74867ba1f..000000000
--- a/bundles/org.eclipse.wst.ws.ui/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-temp.folder
-wsui.jar
-build.xml
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.ws.ui/.project b/bundles/org.eclipse.wst.ws.ui/.project
deleted file mode 100644
index a1487d2c4..000000000
--- a/bundles/org.eclipse.wst.ws.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index bf654bdd7..000000000
--- a/bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:38:15 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 379690c2a..000000000
--- a/bundles/org.eclipse.wst.ws.ui/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:39:46 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.ws.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.ws.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 49d83217e..000000000
--- a/bundles/org.eclipse.wst.ws.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,24 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.ws.ui; singleton:=true
-Bundle-Version: 1.0.101.qualifier
-Bundle-Activator: org.eclipse.wst.ws.internal.ui.plugin.WSUIPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.ws.internal.ui;x-internal:=true,
- org.eclipse.wst.ws.internal.ui.command;x-internal:=true,
- org.eclipse.wst.ws.internal.ui.plugin;x-internal:=true,
- org.eclipse.wst.ws.internal.ui.preferences;x-internal:=true,
- org.eclipse.wst.ws.internal.ui.wsi.preferences;x-internal:=true,
- org.eclipse.wst.ws.internal.ui.wsi.properties;x-internal:=true,
- org.eclipse.wst.ws.internal.ui.wsrt;x-internal:=true
-Require-Bundle: org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.ws.ui/about.html b/bundles/org.eclipse.wst.ws.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.ws.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.ws.ui/build.properties b/bundles/org.eclipse.wst.ws.ui/build.properties
deleted file mode 100644
index ee7ecd581..000000000
--- a/bundles/org.eclipse.wst.ws.ui/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- .,\
- plugin.properties,\
- META-INF/,\
- about.html
diff --git a/bundles/org.eclipse.wst.ws.ui/plugin.properties b/bundles/org.eclipse.wst.ws.ui/plugin.properties
deleted file mode 100644
index b9b831ee3..000000000
--- a/bundles/org.eclipse.wst.ws.ui/plugin.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2005 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services UI
-PLUGIN_PROVIDER=Eclipse.org
-
-PLUGIN_NEW_CATEGORY_NAME_WS=Web Services
-PREFERENCE_CATEGORY_WSI=Profile Compliance and Validation \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.ui/plugin.xml b/bundles/org.eclipse.wst.ws.ui/plugin.xml
deleted file mode 100644
index a5046040b..000000000
--- a/bundles/org.eclipse.wst.ws.ui/plugin.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension
- point="org.eclipse.ui.preferencePages">
-
- <page
- name="%PLUGIN_NEW_CATEGORY_NAME_WS"
- class="org.eclipse.wst.ws.internal.ui.preferences.WebServicesPreferencePage"
- id="org.eclipse.wst.ws.internal.ui.preferences.name">
- </page>
-
- <page
- name="%PREFERENCE_CATEGORY_WSI"
- category="org.eclipse.wst.ws.internal.ui.preferences.name"
- class="org.eclipse.wst.ws.internal.ui.wsi.preferences.WSICompliancePreferencePage"
- id="org.eclipse.wst.ws.internal.ui.wsi.preferences.WSICompliancePreferencePage">
- </page>
-
- </extension>
-
- <extension
- point="org.eclipse.ui.propertyPages">
-
- <page
- objectClass="org.eclipse.core.resources.IProject"
- adaptable="true"
- name="%PREFERENCE_CATEGORY_WSI"
- class="org.eclipse.wst.ws.internal.ui.wsi.properties.WSICompliancePropertyPage"
- id="org.eclipse.wst.ws.internal.ui.wsi.properties.WSICompliancePropertyPage">
- </page>
-
- </extension>
-</plugin>
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPlugin.properties b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPlugin.properties
deleted file mode 100644
index 03afaf30f..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPlugin.properties
+++ /dev/null
@@ -1,66 +0,0 @@
-###############################################################################
-# Copyright (c) 2005, 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
-# -------- -------- -----------------------------------------------------------
-# 20060816 151632 kathy@ca.ibm.com - Kathy Chan, Removed unused properties for "Wait for wizard WSDL validation"
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services UI
-PLUGIN_VENDOR=Eclipse.org
-PLUGIN_DESC=\
-The Web services GUI plugin delivers the graphical \
-user interface to the Web services function in the WST subproject.
-
-PLUGIN_NEW_CATEGORY_NAME_WS=Web Services
-
-
-#
-# WS-I Preference pages
-#
-# WS-I Compliance Page
-#
-PREFERENCE_CATEGORY_WSI=WS-I Compliance
-STOP_NON_WSI=Require compliance
-WARN_NON_WSI=Suggest compliance
-IGNORE_NON_WSI=Ignore compliance
-FOLLOW_WSI_PREFERENCE=Follow Preference
-
-TOOLTIP_PWSI_PAGE=Web Services Interoperability
-TOOLTIP_PWSI_RADIO_STOP_NON_WSI=Stop and produce an error message if you make a choice that does not comply with WS-I.
-TOOLTIP_PWSI_RADIO_WARNING_NON_WSI=Produce a warning message if you make a choice that does not comply with WS-I.
-TOOLTIP_PWSI_RADIO_IGNORE_NON_WSI=Silently allow choices that do not comply with WS-I.
-TOOLTIP_PWSI_RADIO_FOLLOW_WSI_PREFERENCE=Project would use WS-I compliance level set in Workspace Preference.
-
-LABEL_WSI_SSBP=WS-I S&SBP compliance level
-TOOLTIP_PWSI_SSBP_LABEL=WS-I Simple SOAP Binding Profile compliance level
-TOOLTIP_PWSI_SSBP_COMBO=Choose the WS-I Simple SOAP Binding Profile compliance level
-
-LABEL_WSI_AP=WS-I A&P compliance level
-TOOLTIP_PWSI_AP_LABEL=WS-I Attachment Profile compliance level
-TOOLTIP_PWSI_AP_COMBO=Choose the WS-I Attachment Profile compliance level
-
-#
-# WSDL Validation
-#
-LABEL_WSDLVAL=Select whether WSDL validation should be performed on wizards that consume WSDL files
-LABEL_WSDLVAL_NONE=&No wizard WSDL validation
-LABEL_WSDLVAL_REMOTE=Wizard WSDL validation for &remote files only
-LABEL_WSDLVAL_ALL=Wizard WSDL validation for &all WSDL files
-TOOLTIP_PWSI_RADIO_WSDLVAL_NONE=Do not perform WSDL validation on the WSDL file or URL input to the Web Services wizard
-TOOLTIP_PWSI_RADIO_WSDLVAL_REMOTE=Only perform WSDL validation on remote WSDL file or URL input to the Web Services wizard
-TOOLTIP_PWSI_RADIO_WSDLVAL_ALL=Perform WSDL validation on all WSDL file or URL input to the Web Services wizard
-TOOLTIP_PWSI_WSDLVAL_LABEL=Select whether WSDL validation should be performed on wizards that consume WSDL files, \nfor example, Web Service wizard in skeleton scenario and Web Service Client wizard.
-
-
-
-
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPluginMessages.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPluginMessages.java
deleted file mode 100644
index f131dc84d..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/WstWSUIPluginMessages.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060728 151632 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.ui;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class WstWSUIPluginMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.wst.ws.internal.ui.WstWSUIPlugin";//$NON-NLS-1$
-
- private WstWSUIPluginMessages() {
- // Do not instantiate
- }
-
- public static String PLUGIN_NAME;
- public static String PLUGIN_VENDOR;
- public static String PLUGIN_DESC;
- public static String PLUGIN_NEW_CATEGORY_NAME_WS;
- public static String PREFERENCE_CATEGORY_WSI;
- public static String STOP_NON_WSI;
- public static String WARN_NON_WSI;
- public static String IGNORE_NON_WSI;
- public static String FOLLOW_WSI_PREFERENCE;
- public static String TOOLTIP_PWSI_PAGE;
- public static String TOOLTIP_PWSI_RADIO_STOP_NON_WSI;
- public static String TOOLTIP_PWSI_RADIO_WARNING_NON_WSI;
- public static String TOOLTIP_PWSI_RADIO_IGNORE_NON_WSI;
- public static String TOOLTIP_PWSI_RADIO_FOLLOW_WSI_PREFERENCE;
- public static String LABEL_WSI_SSBP;
- public static String TOOLTIP_PWSI_SSBP_LABEL;
- public static String TOOLTIP_PWSI_SSBP_COMBO;
- public static String LABEL_WSI_AP;
- public static String TOOLTIP_PWSI_AP_LABEL;
- public static String TOOLTIP_PWSI_AP_COMBO;
- public static String LABEL_WSDLVAL;
- public static String LABEL_WSDLVAL_NONE;
- public static String LABEL_WSDLVAL_REMOTE;
- public static String LABEL_WSDLVAL_ALL;
- public static String TOOLTIP_PWSI_RADIO_WSDLVAL_NONE;
- public static String TOOLTIP_PWSI_RADIO_WSDLVAL_REMOTE;
- public static String TOOLTIP_PWSI_RADIO_WSDLVAL_ALL;
- public static String TOOLTIP_PWSI_WSDLVAL_LABEL;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, WstWSUIPluginMessages.class);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/command/OpenEditorCommand.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/command/OpenEditorCommand.java
deleted file mode 100644
index 8cfaaebb9..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/command/OpenEditorCommand.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060810 135395 makandre@ca.ibm.com - Andrew Mak, Enable WTP Web service framework opening Java editor
- * 20061025 162288 makandre@ca.ibm.com - Andrew Mak, workspace paths with spaces break Java Editor Launch
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.ui.command;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.ide.IDE;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.ui.plugin.WSUIPlugin;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-/**
- * A command which, when given an array of implementation URLs, will
- * open them within Eclipse using the editor registered with the
- * file extensions.
- */
-public class OpenEditorCommand extends AbstractDataModelOperation {
-
- private final static String FILE_PROTOCOL = "file:/";
- private final static String PLATFORM_RESOURCE = "platform:/resource/";
-
- private IWebService webService;
- private IContext context;
-
- /**
- * Setter for the IWebService
- *
- * @param webService The IWebService
- */
- public void setWebService(IWebService webService) {
- this.webService = webService;
- }
-
- /**
- * Setter for the IContext
- *
- * @param context The IContext
- */
- public void setContext (IContext context) {
- this.context = context;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
- */
- public IStatus execute(IProgressMonitor monitor, IAdaptable info)
- throws ExecutionException {
-
- if (context.getScenario().getValue() != WebServiceScenario.TOPDOWN)
- return Status.OK_STATUS;
-
- String[] implURLs = webService.getWebServiceInfo().getImplURLs();
-
- // nothing to open
- if (implURLs == null)
- return Status.OK_STATUS;
-
- IFile file;
-
- for (int i = 0; i < implURLs.length; i++) {
- try {
- String implURL = implURLs[i];
- file = null;
-
- // local filesystem path
- if (implURL.startsWith(FILE_PROTOCOL)) {
- implURL = implURL.substring(FILE_PROTOCOL.length());
- file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(new Path(implURL));
- }
- else {
- // platform path
- if (implURL.startsWith(PLATFORM_RESOURCE))
- implURL = implURL.substring(PLATFORM_RESOURCE.length());
-
- if (implURL.indexOf(':') != -1)
- continue;
-
- file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(implURL));
- }
-
- if (file == null || !file.exists())
- continue;
-
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
-
- if (page == null)
- continue;
-
- IDE.openEditor(page, file, true);
- }
- catch (Exception e) {
- //TODO: for WTP 2.0, return proper status (with NLS)
- WSUIPlugin.getInstance().getLog().log(
- new Status(IStatus.ERROR, WSUIPlugin.ID, 0, e.getMessage(), e));
- }
- }
-
- return Status.OK_STATUS;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/plugin/WSUIPlugin.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/plugin/WSUIPlugin.java
deleted file mode 100644
index ee09901a6..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/plugin/WSUIPlugin.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package org.eclipse.wst.ws.internal.ui.plugin;
-
-/*******************************************************************************
-* Copyright (c) 2005 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
-*******************************************************************************/
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-
-/**
-* This is the plugin class for the Web Services plugin.
-* <p>
-* This plugin contains the graphic user interface to the
-* Web Services runtime found in org.eclipse.jst.ws.
-*/
-public class WSUIPlugin extends AbstractUIPlugin
-{
-
- /**
- * The identifier of the descriptor of this plugin in plugin.xml.
- */
- public static final String ID = "org.eclipse.wst.ws.ui";
-
- /**
- * The reference to the singleton instance of this plugin.
- */
- private static WSUIPlugin instance_;
-
- /**
- * Constructs a runtime plugin object for this plugin.
- */
- public WSUIPlugin() {
- super();
- instance_ = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WSUIPlugin)Platform.getPlugin("org.eclipse.wst.ws.ui");
- * @return The WSUIPlugin singleton.
- */
- static public WSUIPlugin getInstance() {
- return instance_;
- }
-
- /**
- * Returns an image descriptor for the named resource
- * as relative to the plugin install location.
- * @return An image descriptor, possibly null.
- */
- public static ImageDescriptor getImageDescriptor(String name) {
- try {
- URL installURL = instance_.getBundle().getEntry("/");
- URL imageURL = new URL(installURL, name);
- return ImageDescriptor.createFromURL(imageURL);
- } catch (MalformedURLException e) {
- return null;
- }
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/preferences/WebServicesPreferencePage.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/preferences/WebServicesPreferencePage.java
deleted file mode 100644
index d8ee6b6fe..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/preferences/WebServicesPreferencePage.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.ui.preferences;
-
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-
-/**
- * The WebServicesPreferencePage
- */
-public class WebServicesPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
-
-/**
- * Creates and returns the SWT control for the customized body
- * of this preference page under the given parent composite.
- * <p>
- * This framework method must be implemented by concrete
- * subclasses.
- * </p>
- *
- * @param parent the parent composite
- * @return the new control
- */
-protected Control createContents(org.eclipse.swt.widgets.Composite parent) {
- return new Composite(parent, SWT.NULL);
-}
-/**
- * Do any initialization required by the desktop. By default do nothing.
- */
-public void init(IWorkbench desktop) {}
-}
-
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/WSICompliancePreferencePage.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/WSICompliancePreferencePage.java
deleted file mode 100644
index 6f182d9d1..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/WSICompliancePreferencePage.java
+++ /dev/null
@@ -1,362 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060310 131352 pmoogk@ca.ibm.com - Peter Moogk
- * 20060728 151632 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.ui.wsi.preferences;
-
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-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.Event;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSDLValidationContext;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext;
-import org.eclipse.wst.ws.internal.ui.WstWSUIPluginMessages;
-import org.eclipse.wst.ws.internal.ui.plugin.WSUIPlugin;
-
-
-
-public class WSICompliancePreferencePage extends PreferencePage implements IWorkbenchPreferencePage, SelectionListener, Listener
-
-{
-
- /*CONTEXT_ID PWSI0001 for the WS-I Preference Page*/
- private String INFOPOP_PWSI_PAGE = WSUIPlugin.ID + ".PWSI0000";
- //
-
- private Label wsi_ssbp_Label_;
- private Combo wsi_ssbp_Types_;
-
- /*CONTEXT_ID PWSI0004 for the WS-I SSBP type combo box on the Profile Compliance and Validation page*/
- private String INFOPOP_PWSI_SSBP_COMBO_TYPE = WSUIPlugin.ID + ".PWSI0004";
- /*CONTEXT_ID PWSI0008 for the WS-I AP type combo box on the Profile Compliance and Validation page*/
- private String INFOPOP_PWSI_AP_COMBO_TYPE = WSUIPlugin.ID + ".PWSI0008";
-
- private Label wsi_ap_Label_;
- private Combo wsi_ap_Types_;
-
- private int savedSSBPSetting_ = -1;
-
- private Group validationSelectionGroup_;
-
- private Text wsdlValidationLabel_;
- /*CONTEXT_ID PWSI0009 for the No Wizard WSDL validation button on the Profile Compliance and Validation page*/
- private Button validateNoWsdlButton_;
- /*CONTEXT_ID PWSI00010 for the Wizard WSDL validation for remote files only button on the Profile Compliance and Validation page*/
- private Button validateRemoteWsdlButton_;
- /*CONTEXT_ID PWSI00011 for the Wizard WSDL validation for all files button on the Profile Compliance and Validation page*/
- private Button validateAllWsdlButton_;
-
-
- /*
- * CONTEXT_ID PWRS0009 for the no wsdl validation radio button of the profile validation preference page
- */
- private String INFOPOP_PWSI_RADIO_WSDLVAL_NONE = WSUIPlugin.ID + ".PWSI0009";
- /*
- * CONTEXT_ID PWRS0010 for the wsdl validation on remote document radio button of the profile validation preference page
- */
- private String INFOPOP_PWSI_RADIO_WSDLVAL_REMOTE = WSUIPlugin.ID + ".PWSI00010";
- /*
- * CONTEXT_ID PWRS0011 for the wsdl validation on all document radio button of the profile validation preference page
- */
- private String INFOPOP_PWSI_RADIO_WSDLVAL_ALL = WSUIPlugin.ID + ".PWSI0011";
- /*
- * CONTEXT_ID PWRS0012 for the wsdl validation label of the profile validation preference page
- */
- private String INFOPOP_PWSI_WSDLVAL_LABEL = WSUIPlugin.ID + ".PWSI0012";
-
- /**
- * Creates preference page controls on demand.
- * @param parent the parent for the preference page
- */
- protected Control createContents(Composite superparent)
- {
-
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
-
- Composite parent = new Composite( superparent, SWT.NONE );
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- parent.setLayout( layout );
- parent.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- parent.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_PAGE);
- helpSystem.setHelp(parent,INFOPOP_PWSI_PAGE);
-
- GridLayout gl = new GridLayout();
- gl.numColumns = 1;
- gl.marginHeight = 0;
- gl.marginWidth = 0;
-
- Composite wsi_Composite = new Composite (parent, SWT.NONE);
- wsi_Composite.setLayout(gl);
- wsi_Composite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
-
- wsi_ap_Label_ = new Label(wsi_Composite, SWT.NONE);
- wsi_ap_Label_.setText(WstWSUIPluginMessages.LABEL_WSI_AP);
- wsi_ap_Label_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_AP_LABEL);
- wsi_ap_Types_ = new Combo(wsi_Composite, SWT.DROP_DOWN | SWT.READ_ONLY);
- wsi_ap_Types_.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- wsi_ap_Types_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_AP_COMBO);
- helpSystem.setHelp(wsi_ap_Types_,INFOPOP_PWSI_AP_COMBO_TYPE);
-
- wsi_ap_Types_.add(WstWSUIPluginMessages.STOP_NON_WSI);
- wsi_ap_Types_.add(WstWSUIPluginMessages.WARN_NON_WSI);
- wsi_ap_Types_.add(WstWSUIPluginMessages.IGNORE_NON_WSI);
-
- wsi_ap_Types_.addSelectionListener(this);
-
- wsi_ssbp_Label_ = new Label(wsi_Composite, SWT.NONE);
- wsi_ssbp_Label_.setText(WstWSUIPluginMessages.LABEL_WSI_SSBP);
- wsi_ssbp_Label_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_SSBP_LABEL);
- wsi_ssbp_Types_ = new Combo(wsi_Composite, SWT.DROP_DOWN | SWT.READ_ONLY);
- wsi_ssbp_Types_.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- wsi_ssbp_Types_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_SSBP_COMBO);
- helpSystem.setHelp(wsi_ssbp_Types_,INFOPOP_PWSI_SSBP_COMBO_TYPE);
-
- wsi_ssbp_Types_.add(WstWSUIPluginMessages.STOP_NON_WSI);
- wsi_ssbp_Types_.add(WstWSUIPluginMessages.WARN_NON_WSI);
- wsi_ssbp_Types_.add(WstWSUIPluginMessages.IGNORE_NON_WSI);
-
- // WSDL validation preferences
- validationSelectionGroup_ = new Group(wsi_Composite, SWT.NONE);
- gl = new GridLayout();
- gl.marginHeight = 0;
- gl.marginWidth = 0;
- validationSelectionGroup_.setLayout(gl);
- GridData gd = new GridData(GridData.FILL_HORIZONTAL);
- validationSelectionGroup_.setLayoutData(gd);
-
- wsdlValidationLabel_ = new Text(validationSelectionGroup_, SWT.READ_ONLY);
- wsdlValidationLabel_.setText(WstWSUIPluginMessages.LABEL_WSDLVAL);
- wsdlValidationLabel_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_WSDLVAL_LABEL);
- helpSystem.setHelp(wsdlValidationLabel_, INFOPOP_PWSI_WSDLVAL_LABEL);
-
- validateNoWsdlButton_ = new Button(validationSelectionGroup_, SWT.RADIO);
- validateNoWsdlButton_.setText(WstWSUIPluginMessages.LABEL_WSDLVAL_NONE);
- validateNoWsdlButton_.addListener(SWT.Selection, this);
- validateNoWsdlButton_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_RADIO_WSDLVAL_NONE);
- helpSystem.setHelp(validateNoWsdlButton_, INFOPOP_PWSI_RADIO_WSDLVAL_NONE);
-
- validateRemoteWsdlButton_ = new Button(validationSelectionGroup_, SWT.RADIO);
- validateRemoteWsdlButton_.setText(WstWSUIPluginMessages.LABEL_WSDLVAL_REMOTE);
- validateRemoteWsdlButton_.addListener(SWT.Selection, this);
- validateRemoteWsdlButton_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_RADIO_WSDLVAL_REMOTE);
- helpSystem.setHelp(validateRemoteWsdlButton_, INFOPOP_PWSI_RADIO_WSDLVAL_REMOTE);
-
- validateAllWsdlButton_ = new Button(validationSelectionGroup_, SWT.RADIO);
- validateAllWsdlButton_.setText(WstWSUIPluginMessages.LABEL_WSDLVAL_ALL);
- validateAllWsdlButton_.addListener(SWT.Selection, this);
- validateAllWsdlButton_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_RADIO_WSDLVAL_ALL);
- helpSystem.setHelp(validateAllWsdlButton_, INFOPOP_PWSI_RADIO_WSDLVAL_ALL);
-
- new Label(validationSelectionGroup_, SWT.NONE);;
-
- initializeValues();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
- return parent;
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- initializeDefaults();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- storeValues();
- return true;
- }
-
- protected void performApply()
- {
- performOk();
- }
-
- /**
- * @see IWorkbenchPreferencePage
- */
- public void init(IWorkbench workbench) { }
-
- /**
- * Initializes states of the controls using default values
- * in the preference store.
- */
- private void initializeDefaults()
- {
- // force WSI compliance by default
-
- wsi_ssbp_Types_.select(wsi_ssbp_Types_.indexOf(WstWSUIPluginMessages.WARN_NON_WSI));
- int apSelection = wsi_ap_Types_.indexOf(WstWSUIPluginMessages.WARN_NON_WSI);
- wsi_ap_Types_.select(apSelection);
- savedSSBPSetting_ = -1; // do not restore saved SSBP setting
- processAPSelection(apSelection);
-
- PersistentWSDLValidationContext wsdlValidationContext = WSPlugin.getInstance().getWSDLValidationContext();
- String validationSelection = wsdlValidationContext.getDefault();
- wsdlValidationContext.updateWSDLValidation(validationSelection);
- validateNoWsdlButton_.setSelection(false);
- validateRemoteWsdlButton_.setSelection(false);
- validateAllWsdlButton_.setSelection(false);
- processWSDLValidationSelection(validationSelection);
-
- WSPlugin.getInstance().getWaitForWSDLValidationContext().setWaitForWSDLValidation(WSPlugin.getInstance().getWaitForWSDLValidationContext().getDefault());
-
- }
-
- /**
- * Initializes states of the controls from the preference store.
- */
- private void initializeValues()
- {
-
- String WSIText = getWSISelection(WSPlugin.getInstance().getWSISSBPContext());
- wsi_ssbp_Types_.select(wsi_ssbp_Types_.indexOf(WSIText));
-
- int apSelection = wsi_ap_Types_.indexOf(getWSISelection(WSPlugin.getInstance().getWSIAPContext()));
- wsi_ap_Types_.select(apSelection);
- savedSSBPSetting_ = -1; // do not restore saved SSBP setting
- processAPSelection(apSelection);
-
- String validationSelection = WSPlugin.getInstance().getWSDLValidationContext().getPersistentWSDLValidation();
- processWSDLValidationSelection(validationSelection);
-
- }
-
- private void processWSDLValidationSelection(String validationSelection) {
-
- if (PersistentWSDLValidationContext.VALIDATE_NO_WSDL.equals(validationSelection)) {
- validateNoWsdlButton_.setSelection(true);
- } else if (PersistentWSDLValidationContext.VALIDATE_REMOTE_WSDL.equals(validationSelection)) {
- validateRemoteWsdlButton_.setSelection(true);
- } else if (PersistentWSDLValidationContext.VALIDATE_ALL_WSDL.equals(validationSelection)) {
- validateAllWsdlButton_.setSelection(true);
- }
-
- }
-
-private String getWSISelection(PersistentWSIContext context)
- {
-
- String WSIvalue = context.getPersistentWSICompliance();
- String WSIText = WstWSUIPluginMessages.WARN_NON_WSI;
- if (PersistentWSIContext.STOP_NON_WSI.equals(WSIvalue)) {
- WSIText = WstWSUIPluginMessages.STOP_NON_WSI;
- } else if (PersistentWSIContext.IGNORE_NON_WSI.equals(WSIvalue)) {
- WSIText = WstWSUIPluginMessages.IGNORE_NON_WSI;
- }
- return WSIText;
- }
- /**
- * Stores the values of the controls back to the preference store.
- */
- private void storeValues()
- {
- updateWSIContext(wsi_ssbp_Types_.getSelectionIndex(), WSPlugin.getInstance().getWSISSBPContext());
- updateWSIContext(wsi_ap_Types_.getSelectionIndex(), WSPlugin.getInstance().getWSIAPContext());
- }
-
- private void updateWSIContext(int selectionIndex, PersistentWSIContext context)
- {
- // get the persistent context from the plugin
-
- String value=null;
- switch (selectionIndex) {
- case 0:
- value = PersistentWSIContext.STOP_NON_WSI;
- break;
- case 1:
- value = PersistentWSIContext.WARN_NON_WSI;
- break;
- case 2:
- value = PersistentWSIContext.IGNORE_NON_WSI;
- break;
- }
- context.updateWSICompliances(value);
- }
-
- public void widgetSelected(SelectionEvent e)
- {
-
- processAPSelection( wsi_ap_Types_.getSelectionIndex() );
-
- }
-
- public void processAPSelection(int selection) {
- if (selection == 2) { // reset SSBP to default if AP is ignore
- wsi_ssbp_Types_.setEnabled(true);
- if (savedSSBPSetting_ != -1) {
- // restore saved SSBP setting, if any
- wsi_ssbp_Types_.select(savedSSBPSetting_);
- savedSSBPSetting_ = -1;
- }
- } else { // set SSBP to follow AP setting if STOP or WARN chosen
- if (savedSSBPSetting_ == -1) { // SSBP setting not saved
- savedSSBPSetting_ = wsi_ssbp_Types_.getSelectionIndex();
- }
- wsi_ssbp_Types_.select(selection);
- wsi_ssbp_Types_.setEnabled(false);
-
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
-
- }
-
- /**
- * Called when an event occurs on the page. Handles the event and revalidates the page.
- *
- * @param event
- * The event that occured.
- */
- public void handleEvent(Event event) {
-
- String wsdlValdationSelection = null;
- if (validateNoWsdlButton_ == event.widget) {
- wsdlValdationSelection = PersistentWSDLValidationContext.VALIDATE_NO_WSDL;
- }
- else if (validateRemoteWsdlButton_ == event.widget) {
- wsdlValdationSelection = PersistentWSDLValidationContext.VALIDATE_REMOTE_WSDL;
- }
- else if (validateAllWsdlButton_ == event.widget) {
- wsdlValdationSelection = PersistentWSDLValidationContext.VALIDATE_ALL_WSDL;
- }
- WSPlugin.getInstance().getWSDLValidationContext().updateWSDLValidation(wsdlValdationSelection);
-
- }
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/properties/WSICompliancePropertyPage.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/properties/WSICompliancePropertyPage.java
deleted file mode 100644
index 682c20d70..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/properties/WSICompliancePropertyPage.java
+++ /dev/null
@@ -1,242 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060607 144978 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.ui.wsi.properties;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.dialogs.PropertyPage;
-import org.eclipse.ui.help.IWorkbenchHelpSystem;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext;
-import org.eclipse.wst.ws.internal.ui.WstWSUIPluginMessages;
-import org.eclipse.wst.ws.internal.ui.plugin.WSUIPlugin;
-
-
-public class WSICompliancePropertyPage extends PropertyPage implements SelectionListener
-{
-
- public static final String PAGE_ID= "org.eclipse.wst.ws.internal.ui.wsi.properties.WSICompliancePropertyPage"; //$NON-NLS-1$
-
-
- /*CONTEXT_ID PWSI0001 for the WS-I Preference Page*/
- private String INFOPOP_PWSI_PAGE = WSUIPlugin.ID + ".PWSI0000";
- //
-
- private Label wsi_ssbp_Label_;
- private Combo wsi_ssbp_Types_;
-
- /*CONTEXT_ID PWSI0004 for the WS-I SSBP type combo box on the WS-I AP Non compliance Preference Page*/
- private String INFOPOP_PWSI_SSBP_COMBO_TYPE = WSUIPlugin.ID + ".PWSI0004";
- /*CONTEXT_ID PWSI0008 for the WS-I AP type combo box on the WS-I AP Non compliance Preference Page*/
- private String INFOPOP_PWSI_AP_COMBO_TYPE = WSUIPlugin.ID + ".PWSI0008";
-
- private Label wsi_ap_Label_;
- private Combo wsi_ap_Types_;
- private int savedSSBPSetting_ = -1;
-
- /**
- * Creates preference page controls on demand.
- * @param parent the parent for the preference page
- */
- protected Control createContents(Composite superparent)
- {
-
- IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
-
- Composite parent = new Composite( superparent, SWT.NONE );
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- parent.setLayout( layout );
- parent.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- parent.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_PAGE);
- helpSystem.setHelp(parent, INFOPOP_PWSI_PAGE);
-
- GridLayout gl = new GridLayout();
- gl.numColumns = 2;
- gl.marginHeight = 0;
- gl.marginWidth = 0;
-
- Composite wsi_Composite = new Composite (parent, SWT.NONE);
- wsi_Composite.setLayout(gl);
- wsi_Composite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
-
- wsi_ap_Label_ = new Label(wsi_Composite, SWT.NONE);
- wsi_ap_Label_.setText(WstWSUIPluginMessages.LABEL_WSI_AP);
- wsi_ap_Label_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_AP_LABEL);
- wsi_ap_Types_ = new Combo(wsi_Composite, SWT.DROP_DOWN | SWT.READ_ONLY);
- wsi_ap_Types_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_AP_COMBO);
- wsi_ap_Types_.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- helpSystem.setHelp(wsi_ap_Types_,INFOPOP_PWSI_AP_COMBO_TYPE);
-
- wsi_ap_Types_.add(WstWSUIPluginMessages.STOP_NON_WSI);
- wsi_ap_Types_.add(WstWSUIPluginMessages.WARN_NON_WSI);
- wsi_ap_Types_.add(WstWSUIPluginMessages.IGNORE_NON_WSI);
- wsi_ap_Types_.add(WstWSUIPluginMessages.FOLLOW_WSI_PREFERENCE);
-
- wsi_ap_Types_.addSelectionListener(this);
-
- wsi_ssbp_Label_ = new Label(wsi_Composite, SWT.NONE);
- wsi_ssbp_Label_.setText(WstWSUIPluginMessages.LABEL_WSI_SSBP);
- wsi_ssbp_Label_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_SSBP_LABEL);
- wsi_ssbp_Types_ = new Combo(wsi_Composite, SWT.DROP_DOWN | SWT.READ_ONLY);
- wsi_ssbp_Types_.setToolTipText(WstWSUIPluginMessages.TOOLTIP_PWSI_SSBP_COMBO);
- wsi_ssbp_Types_.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
- helpSystem.setHelp(wsi_ssbp_Types_,INFOPOP_PWSI_SSBP_COMBO_TYPE);
-
- wsi_ssbp_Types_.add(WstWSUIPluginMessages.STOP_NON_WSI);
- wsi_ssbp_Types_.add(WstWSUIPluginMessages.WARN_NON_WSI);
- wsi_ssbp_Types_.add(WstWSUIPluginMessages.IGNORE_NON_WSI);
- wsi_ssbp_Types_.add(WstWSUIPluginMessages.FOLLOW_WSI_PREFERENCE);
-
- initializeValues();
- org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
- return parent;
- }
-
- /**
- * Does anything necessary because the default button has been pressed.
- */
- protected void performDefaults()
- {
- super.performDefaults();
- initializeDefaults();
- }
-
- /**
- * Do anything necessary because the OK button has been pressed.
- * @return whether it is okay to close the preference page
- */
- public boolean performOk()
- {
- storeValues();
- return true;
- }
-
- protected void performApply()
- {
- performOk();
- }
-
- /**
- * Initializes states of the controls using default values
- * in the preference store.
- */
- private void initializeDefaults()
- {
- wsi_ssbp_Types_.select(wsi_ssbp_Types_.indexOf(WstWSUIPluginMessages.FOLLOW_WSI_PREFERENCE));
- int apSelection = wsi_ap_Types_.indexOf(WstWSUIPluginMessages.FOLLOW_WSI_PREFERENCE);
- wsi_ap_Types_.select(apSelection);
- savedSSBPSetting_ = -1; // do not restore saved SSBP setting
- processAPSelection(apSelection);
- }
-
- /**
- * Initializes states of the controls from the preference store.
- */
- private void initializeValues() {
- String WSIText = getWSISelection(WSPlugin.getInstance().getWSISSBPContext());
- wsi_ssbp_Types_.select(wsi_ssbp_Types_.indexOf(WSIText));
-
- int apSelection = wsi_ap_Types_.indexOf(getWSISelection(WSPlugin.getInstance().getWSIAPContext()));
- wsi_ap_Types_.select(apSelection);
- savedSSBPSetting_ = -1; // do not restore saved SSBP setting
- processAPSelection(apSelection);
- }
-
- private String getWSISelection(PersistentWSIContext context)
- {
-
- IProject project = (IProject) getElement();
- String WSIvalue = context.getProjectWSICompliance(project);
- String WSIText = WstWSUIPluginMessages.FOLLOW_WSI_PREFERENCE;
- if (PersistentWSIContext.STOP_NON_WSI.equals(WSIvalue)) {
- WSIText = WstWSUIPluginMessages.STOP_NON_WSI;
- } else if (PersistentWSIContext.WARN_NON_WSI.equals(WSIvalue)) {
- WSIText = WstWSUIPluginMessages.WARN_NON_WSI;
- } else if (PersistentWSIContext.IGNORE_NON_WSI.equals(WSIvalue)) {
- WSIText = WstWSUIPluginMessages.IGNORE_NON_WSI;
- }
- return WSIText;
- }
-
- /**
- * Stores the values of the controls back to the preference store.
- */
- private void storeValues()
- {
- updateWSIContext(wsi_ssbp_Types_.getSelectionIndex(), WSPlugin.getInstance().getWSISSBPContext());
- updateWSIContext(wsi_ap_Types_.getSelectionIndex(), WSPlugin.getInstance().getWSIAPContext());
- }
-
- private void updateWSIContext(int selectionIndex, PersistentWSIContext context)
- {
- String value = PersistentWSIContext.FOLLOW_WSI_PREFERENCE;
- IProject project = (IProject) getElement();
-
- switch (selectionIndex) {
- case 0:
- value = PersistentWSIContext.STOP_NON_WSI;
- break;
- case 1:
- value = PersistentWSIContext.WARN_NON_WSI;
- break;
- case 2:
- value = PersistentWSIContext.IGNORE_NON_WSI;
- break;
- case 3:
- value = PersistentWSIContext.FOLLOW_WSI_PREFERENCE;
- break;
- }
- context.updateProjectWSICompliances(project, value);
- }
-
- public void widgetSelected(SelectionEvent e)
- {
-
- processAPSelection( wsi_ap_Types_.getSelectionIndex() );
-
- }
-
- public void processAPSelection(int selection) {
- if (selection == 2) { // reset SSBP to default if AP is ignore
- wsi_ssbp_Types_.setEnabled(true);
- if (savedSSBPSetting_ != -1) {
- // restore saved SSBP setting, if any
- wsi_ssbp_Types_.select(savedSSBPSetting_);
- savedSSBPSetting_ = -1;
- }
- } else if (selection == 0 || selection == 1) { // set SSBP to follow AP setting if STOP or WARN chosen
- if (savedSSBPSetting_ == -1) { // SSBP setting not saved
- savedSSBPSetting_ = wsi_ssbp_Types_.getSelectionIndex();
- }
- wsi_ssbp_Types_.select(selection);
- wsi_ssbp_Types_.setEnabled(false);
-
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
-
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsrt/IObjectSelector.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsrt/IObjectSelector.java
deleted file mode 100644
index 459e68b2f..000000000
--- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsrt/IObjectSelector.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.ui.wsrt;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-
-public interface IObjectSelector {
-
- public void setInitialSelection(ISelection sel);
- public ISelection getSelection();
- public String getProject();
- public IStatus validateSelection(ISelection sel);
- public WidgetDataEvents addControls(Composite parent, Listener statusListener);
-
-}
diff --git a/bundles/org.eclipse.wst.ws/.classpath b/bundles/org.eclipse.wst.ws/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/bundles/org.eclipse.wst.ws/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.ws/.cvsignore b/bundles/org.eclipse.wst.ws/.cvsignore
deleted file mode 100644
index aa188d42c..000000000
--- a/bundles/org.eclipse.wst.ws/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-temp.folder
-build.xml
-ws.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.ws/.project b/bundles/org.eclipse.wst.ws/.project
deleted file mode 100644
index 2494e2f90..000000000
--- a/bundles/org.eclipse.wst.ws/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.ws/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.ws/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 430233b54..000000000
--- a/bundles/org.eclipse.wst.ws/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:37:49 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.ws/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.ws/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 9fe56e0d9..000000000
--- a/bundles/org.eclipse.wst.ws/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:12 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.ws/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.ws/META-INF/MANIFEST.MF
deleted file mode 100644
index 50f6a1f91..000000000
--- a/bundles/org.eclipse.wst.ws/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,50 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.ws; singleton:=true
-Bundle-Version: 1.0.101.qualifier
-Bundle-Activator: org.eclipse.wst.ws.internal.plugin.WSPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.ws.internal;x-internal:=true,
- org.eclipse.wst.ws.internal.common;x-internal:=true,
- org.eclipse.wst.ws.internal.data;x-internal:=true,
- org.eclipse.wst.ws.internal.datamodel;x-internal:=true,
- org.eclipse.wst.ws.internal.ext;x-internal:=true,
- org.eclipse.wst.ws.internal.extensions;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.registry;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.registry.impl;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.registry.util;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.rtindex;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.rtindex.impl;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.rtindex.util;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.taxonomy;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.taxonomy.impl;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.taxonomy.util;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.uddiregistry;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl;x-internal:=true,
- org.eclipse.wst.ws.internal.model.v10.uddiregistry.util;x-internal:=true,
- org.eclipse.wst.ws.internal.monitor;x-internal:=true,
- org.eclipse.wst.ws.internal.plugin;x-internal:=true,
- org.eclipse.wst.ws.internal.preferences;x-internal:=true,
- org.eclipse.wst.ws.internal.registry;x-internal:=true,
- org.eclipse.wst.ws.internal.wsfinder;x-internal:=true,
- org.eclipse.wst.ws.internal.wsil;x-internal:=true,
- org.eclipse.wst.ws.internal.wsrt;x-internal:=true
-Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.internet.monitor.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.emf.common;bundle-version="[2.2.0,2.3.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.apache.wsil4j;bundle-version="[1.0.0,1.1.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.core.commands;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.emf.ecore;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.emf.ecore.xmi;bundle-version="[2.2.0,2.3.0)",
- org.eclipse.emf.codegen;bundle-version="[2.2.0,2.3.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.ws/RT.genmodel b/bundles/org.eclipse.wst.ws/RT.genmodel
deleted file mode 100644
index 9aaa4f14f..000000000
--- a/bundles/org.eclipse.wst.ws/RT.genmodel
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/RegistryModel2/src"
- editDirectory="/RegistryModel2.edit/src" editorDirectory="/RegistryModel2.editor/src"
- modelPluginID="RegistryModel2" runtimeJar="true" modelName="RT" editPluginClass="org.eclipse.wst.ws.internal.model.v10.rtindex.provider.RTEditPlugin"
- editorPluginClass="org.eclipse.wst.ws.internal.model.v10.rtindex.presentation.RTEditorPlugin"
- runtimeCompatibility="false">
- <foreignModel>Index.xsd</foreignModel>
- <foreignModel>Registry.xsd</foreignModel>
- <foreignModel>UDDIRegistry.xsd</foreignModel>
- <foreignModel>Taxonomy.xsd</foreignModel>
- <genPackages prefix="RTIndex" basePackage="org.eclipse.wst.ws.internal.model.v10"
- resource="XML" ecorePackage="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#/">
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Description">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Description/value"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Description/lang"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot">
- <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/description"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/index"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/name"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/description"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/registry"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/taxonomy"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Name">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Name/value"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Name/lang"/>
- </genClasses>
- </genPackages>
- <genPackages prefix="Taxonomy" basePackage="org.eclipse.wst.ws.internal.model.v10"
- resource="XML" ecorePackage="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#/">
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/nlname"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/category"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/code"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/name"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot">
- <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/category"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/name"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/taxonomy"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Name">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Name/value"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Name/lang"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/nlname"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/category"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/id"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/location"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/ref"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/tmodelKey"/>
- </genClasses>
- </genPackages>
- <genPackages prefix="Registry" basePackage="org.eclipse.wst.ws.internal.model.v10"
- resource="XML" ecorePackage="org.eclipse.wst.ws.internal.model.v10.registry.ecore#/">
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Description">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Description/value"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Description/lang"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot">
- <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/description"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/name"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/registry"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Name">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Name/value"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Name/lang"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/description"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/id"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/location"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/ref"/>
- </genClasses>
- </genPackages>
- <genPackages prefix="UDDIRegistry" basePackage="org.eclipse.wst.ws.internal.model.v10"
- resource="XML" ecorePackage="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#/">
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot">
- <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot/taxonomies"/>
- <genFeatures property="None" notify="false" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot/uddiRegistry"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//Taxonomies">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//Taxonomies/taxonomy"/>
- </genClasses>
- <genClasses ecoreClass="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/version"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/discoveryURL"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/publicationURL"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/securedDiscoveryURL"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/securedPublicationURL"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/defaultLogin"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/defaultPassword"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/taxonomies"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/bundles/org.eclipse.wst.ws/RT.xsd2ecore b/bundles/org.eclipse.wst.ws/RT.xsd2ecore
deleted file mode 100644
index 3bdae80be..000000000
--- a/bundles/org.eclipse.wst.ws/RT.xsd2ecore
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<xsd2ecore:XSD2EcoreMappingRoot xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd2ecore="http://www.eclipse.org/emf/2002/XSD2Ecore" inputs="Index.xsd#/ http://www.w3.org/2001/xml.xsd#/ Taxonomy.xsd#/ Registry.xsd#/ UDDIRegistry.xsd#/"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#/ org.eclipse.wst.ws.internal.model.v10.registry.ecore#/ org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#/ org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#/"
- topToBottom="true">
- <nested inputs="http://www.w3.org/2001/xml.xsd#//base;XSDAttributeDeclaration=2"
- outputs="http://www.w3.org/XML/1998/namespace#//XMLNamespaceDocumentRoot/base"/>
- <nested inputs="http://www.w3.org/2001/xml.xsd#//id;XSDAttributeDeclaration=3" outputs="http://www.w3.org/XML/1998/namespace#//XMLNamespaceDocumentRoot/id"/>
- <nested inputs="http://www.w3.org/2001/xml.xsd#//lang;XSDAttributeDeclaration" outputs="http://www.w3.org/XML/1998/namespace#//XMLNamespaceDocumentRoot/lang"/>
- <nested inputs="http://www.w3.org/2001/xml.xsd#//lang;XSDAttributeDeclaration/XSDSimpleTypeDefinition"
- outputs="http://www.eclipse.org/emf/2003/XMLType#//Language"/>
- <nested inputs="http://www.w3.org/2001/xml.xsd#//space;XSDAttributeDeclaration=1"
- outputs="http://www.w3.org/XML/1998/namespace#//XMLNamespaceDocumentRoot/space"/>
- <nested inputs="http://www.w3.org/2001/xml.xsd#//space;XSDAttributeDeclaration=1/XSDSimpleTypeDefinition"
- outputs="http://www.w3.org/XML/1998/namespace#//SpaceType"/>
- <nested inputs="bundleentry://1839/cache/www.w3.org/2001/XMLSchema.xsd#//string;XSDSimpleTypeDefinition=7"
- outputs="http://www.eclipse.org/emf/2003/XMLType#//String"/>
- <nested inputs="Taxonomy.xsd#//Name;XSDComplexTypeDefinition=2" outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Name">
- <nested inputs="Taxonomy.xsd#//Name;XSDComplexTypeDefinition=2/XSDAttributeUse"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Name/lang"/>
- </nested>
- <nested inputs="Taxonomy.xsd#//Category;XSDComplexTypeDefinition=1" outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category">
- <nested inputs="Taxonomy.xsd#//Category;XSDComplexTypeDefinition=1/XSDParticle/XSDModelGroup/XSDParticle"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/nlname"/>
- <nested inputs="Taxonomy.xsd#//Category;XSDComplexTypeDefinition=1/XSDParticle/XSDModelGroup/XSDParticle=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/category"/>
- <nested inputs="Taxonomy.xsd#//Category;XSDComplexTypeDefinition=1/XSDAttributeUse=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/code"/>
- <nested inputs="Taxonomy.xsd#//Category;XSDComplexTypeDefinition=1/XSDAttributeUse"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Category/name"/>
- </nested>
- <nested inputs="Taxonomy.xsd#//category;XSDElementDeclaration=1" outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/category"/>
- <nested inputs="Registry.xsd#//Description;XSDComplexTypeDefinition=2" outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Description">
- <nested inputs="Registry.xsd#//Description;XSDComplexTypeDefinition=2/XSDAttributeUse"
- outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Description/lang"/>
- </nested>
- <nested inputs="Registry.xsd#//description;XSDElementDeclaration=2" outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/description"/>
- <nested inputs="Index.xsd#//Description;XSDComplexTypeDefinition=2" outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Description">
- <nested inputs="Index.xsd#//Description;XSDComplexTypeDefinition=2/XSDAttributeUse"
- outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Description/lang"/>
- </nested>
- <nested inputs="Index.xsd#//description;XSDElementDeclaration=2" outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/description"/>
- <nested inputs="Index.xsd#//Name;XSDComplexTypeDefinition=1" outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Name">
- <nested inputs="Index.xsd#//Name;XSDComplexTypeDefinition=1/XSDAttributeUse" outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Name/lang"/>
- </nested>
- <nested inputs="Registry.xsd#//Name;XSDComplexTypeDefinition=1" outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Name">
- <nested inputs="Registry.xsd#//Name;XSDComplexTypeDefinition=1/XSDAttributeUse"
- outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Name/lang"/>
- </nested>
- <nested inputs="bundleentry://1839/cache/www.w3.org/2001/XMLSchema.xsd#//anyURI;XSDSimpleTypeDefinition=23"
- outputs="http://www.eclipse.org/emf/2003/XMLType#//AnyURI"/>
- <nested inputs="Registry.xsd#//Registry;XSDComplexTypeDefinition" outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry">
- <nested inputs="Registry.xsd#//Registry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
- outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/name"/>
- <nested inputs="Registry.xsd#//Registry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/description"/>
- <nested inputs="Registry.xsd#//Registry;XSDComplexTypeDefinition/XSDAttributeUse"
- outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/id"/>
- <nested inputs="Registry.xsd#//Registry;XSDComplexTypeDefinition/XSDAttributeUse=2"
- outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/location"/>
- <nested inputs="Registry.xsd#//Registry;XSDComplexTypeDefinition/XSDAttributeUse=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry/ref"/>
- </nested>
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition" outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy">
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/nlname"/>
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/category"/>
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition/XSDAttributeUse"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/id"/>
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition/XSDAttributeUse=2"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/location"/>
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition/XSDAttributeUse=3"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/name"/>
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition/XSDAttributeUse=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/ref"/>
- <nested inputs="Taxonomy.xsd#//Taxonomy;XSDComplexTypeDefinition/XSDAttributeUse=4"
- outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy/tmodelKey"/>
- </nested>
- <nested inputs="Index.xsd#//Index;XSDComplexTypeDefinition" outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index">
- <nested inputs="Index.xsd#//Index;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
- outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/name"/>
- <nested inputs="Index.xsd#//Index;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/description"/>
- <nested inputs="Index.xsd#//Index;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=2"
- outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/registry"/>
- <nested inputs="Index.xsd#//Index;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=3"
- outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//Index/taxonomy"/>
- </nested>
- <nested inputs="Index.xsd#//index;XSDElementDeclaration" outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/index"/>
- <nested inputs="Registry.xsd#//name;XSDElementDeclaration=1" outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/name"/>
- <nested inputs="Index.xsd#//name;XSDElementDeclaration=1" outputs="org.eclipse.wst.ws.internal.model.v10.rtindex.ecore#//DocumentRoot/name"/>
- <nested inputs="Taxonomy.xsd#//name;XSDElementDeclaration=2" outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/name"/>
- <nested inputs="Registry.xsd#//registry;XSDElementDeclaration" outputs="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//DocumentRoot/registry"/>
- <nested inputs="Taxonomy.xsd#//taxonomy;XSDElementDeclaration" outputs="org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//DocumentRoot/taxonomy"/>
- <nested inputs="UDDIRegistry.xsd#//Taxonomies;XSDComplexTypeDefinition=1" outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//Taxonomies">
- <nested inputs="UDDIRegistry.xsd#//Taxonomies;XSDComplexTypeDefinition=1/XSDParticle/XSDModelGroup/XSDParticle"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//Taxonomies/taxonomy"/>
- </nested>
- <nested inputs="UDDIRegistry.xsd#//taxonomies;XSDElementDeclaration=1" outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot/taxonomies"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition" outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry">
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/version"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=1"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/discoveryURL"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=2"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/publicationURL"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=3"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/securedDiscoveryURL"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=4"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/securedPublicationURL"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=5"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/defaultLogin"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=6"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/defaultPassword"/>
- <nested inputs="UDDIRegistry.xsd#//UDDIRegistry;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=7"
- outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//UDDIRegistry/taxonomies"/>
- </nested>
- <nested inputs="UDDIRegistry.xsd#//uddiRegistry;XSDElementDeclaration" outputs="org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore#//DocumentRoot/uddiRegistry"/>
-</xsd2ecore:XSD2EcoreMappingRoot>
diff --git a/bundles/org.eclipse.wst.ws/about.html b/bundles/org.eclipse.wst.ws/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.ws/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.ws/build.properties b/bundles/org.eclipse.wst.ws/build.properties
deleted file mode 100644
index 75ac552ab..000000000
--- a/bundles/org.eclipse.wst.ws/build.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- .,\
- META-INF/,\
- plugin.properties,\
- about.html,\
- jmerger/
-src.includes = component.xml
diff --git a/bundles/org.eclipse.wst.ws/component.xml b/bundles/org.eclipse.wst.ws/component.xml
deleted file mode 100644
index 0ce35c629..000000000
--- a/bundles/org.eclipse.wst.ws/component.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component xmlns="http://eclipse.org/wtp/releng/tools/component-model" name="org.eclipse.wst.ws">
- <component-depends unrestricted="true">
- </component-depends>
- <plugin id="org.eclipse.wst.ws" fragment="false"/>
- <plugin id="org.eclipse.wst.ws.parser" fragment="false"/>
- <plugin id="org.eclipse.wst.ws.ui" fragment="false"/>
- <plugin id="org.eclipse.wst.ws.explorer" fragment="false"/>
- <plugin id="org.apache.axis" fragment="false"/>
- <plugin id="org.apache.wsil4j" fragment="false"/>
- <plugin id="org.uddi4j" fragment="false"/>
-</component>
diff --git a/bundles/org.eclipse.wst.ws/jmerger/merge.xml b/bundles/org.eclipse.wst.ws/jmerger/merge.xml
deleted file mode 100644
index 34d32b8bd..000000000
--- a/bundles/org.eclipse.wst.ws/jmerger/merge.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Merge rules used by JMerger -->
-<merge:options
- xmlns:merge="http://www.eclipse.org/org/eclipse/emf/codegen/jmerge/Options">
- <merge:pull
- sourceGet="Method/getReturnType"
- targetPut="Method/setReturnType"/>
- <merge:pull
- sourceGet="Method/getExceptions"
- targetPut="Method/addException"/>
-</merge:options>
diff --git a/bundles/org.eclipse.wst.ws/model/Index.xsd b/bundles/org.eclipse.wst.ws/model/Index.xsd
deleted file mode 100644
index edcf540a7..000000000
--- a/bundles/org.eclipse.wst.ws/model/Index.xsd
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:rti="http://eclipse.org/wst/ws/internal/model/v10/rtindex"
-xmlns:reg="http://eclipse.org/wst/ws/internal/model/v10/registry"
-xmlns:tax="http://eclipse.org/wst/ws/internal/model/v10/taxonomy"
-targetNamespace="http://eclipse.org/wst/ws/internal/model/v10/rtindex">
-
- <xsd:import
- namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
- <xsd:import
- namespace="http://eclipse.org/wst/ws/internal/model/v10/registry"
- schemaLocation="./Registry.xsd"/>
-
- <xsd:import
- namespace="http://eclipse.org/wst/ws/internal/model/v10/taxonomy"
- schemaLocation="./Taxonomy.xsd"/>
-
- <xsd:element name="index" type="rti:Index"/>
-
- <xsd:complexType name="Index">
- <xsd:sequence>
- <xsd:element name="name" type="rti:Name" minOccurs="1" maxOccurs="unbounded"/>
- <xsd:element name="description" type="rti:Description" minOccurs="1" maxOccurs="unbounded"/>
- <xsd:element ref="reg:registry" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="tax:taxonomy" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:element name="name" type="rti:Name"/>
-
- <xsd:complexType name="Name">
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" use="optional"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
-
- <xsd:element name="description" type="rti:Description"/>
-
- <xsd:complexType name="Description">
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" use="optional"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
-
-</xsd:schema> \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws/model/Registry.xsd b/bundles/org.eclipse.wst.ws/model/Registry.xsd
deleted file mode 100644
index 9ae196867..000000000
--- a/bundles/org.eclipse.wst.ws/model/Registry.xsd
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:reg="http://eclipse.org/wst/ws/internal/model/v10/registry"
-targetNamespace="http://eclipse.org/wst/ws/internal/model/v10/registry">
-
- <xsd:import
- namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
- <xsd:element name="registry" type="reg:Registry"/>
-
- <xsd:complexType name="Registry">
- <xsd:sequence>
- <xsd:element name="name" type="reg:Name" minOccurs="1" maxOccurs="unbounded"/>
- <xsd:element name="description" type="reg:Description" minOccurs="1" maxOccurs="unbounded"/>
- </xsd:sequence>
- <xsd:attribute name="id" type="xsd:anyURI" use="optional"/>
- <xsd:attribute name="ref" type="xsd:anyURI" use="optional"/>
- <xsd:attribute name="location" type="xsd:anyURI" use="optional"/>
- </xsd:complexType>
-
- <xsd:element name="name" type="reg:Name"/>
-
- <xsd:complexType name="Name">
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" use="optional"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
-
- <xsd:element name="description" type="reg:Description"/>
-
- <xsd:complexType name="Description">
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" use="optional"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
-
-</xsd:schema> \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws/model/Taxonomy.xsd b/bundles/org.eclipse.wst.ws/model/Taxonomy.xsd
deleted file mode 100644
index 0b56aec8b..000000000
--- a/bundles/org.eclipse.wst.ws/model/Taxonomy.xsd
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:tax="http://eclipse.org/wst/ws/internal/model/v10/taxonomy"
-targetNamespace="http://eclipse.org/wst/ws/internal/model/v10/taxonomy">
-
- <xsd:import
- namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
- <xsd:element name="taxonomy" type="tax:Taxonomy"/>
-
- <xsd:complexType name="Taxonomy">
- <xsd:sequence>
- <xsd:element name="nlname" type="tax:Name" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="category" type="tax:Category" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- <xsd:attribute name="id" type="xsd:anyURI" use="optional"/>
- <xsd:attribute name="ref" type="xsd:anyURI" use="optional"/>
- <xsd:attribute name="location" type="xsd:anyURI" use="optional"/>
- <xsd:attribute name="name" type="xsd:string" use="optional"/>
- <xsd:attribute name="tmodelKey" type="xsd:string" use="required"/>
- </xsd:complexType>
-
- <xsd:element name="category" type="tax:Category"/>
-
- <xsd:complexType name="Category">
- <xsd:sequence>
- <xsd:element name="nlname" type="tax:Name" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="category" type="tax:Category" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"/>
- <xsd:attribute name="code" type="xsd:string"/>
- </xsd:complexType>
-
- <xsd:element name="name" type="tax:Name"/>
-
- <xsd:complexType name="Name">
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" use="optional"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
-
-</xsd:schema> \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws/model/UDDIRegistry.xsd b/bundles/org.eclipse.wst.ws/model/UDDIRegistry.xsd
deleted file mode 100644
index ac36261b5..000000000
--- a/bundles/org.eclipse.wst.ws/model/UDDIRegistry.xsd
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:urg="http://eclipse.org/wst/ws/internal/model/v10/uddiregistry"
-xmlns:reg="http://eclipse.org/wst/ws/internal/model/v10/registry"
-xmlns:tax="http://eclipse.org/wst/ws/internal/model/v10/taxonomy"
-targetNamespace="http://eclipse.org/wst/ws/internal/model/v10/uddiregistry">
-
- <xsd:import
- namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
- <xsd:import
- namespace="http://eclipse.org/wst/ws/internal/model/v10/registry"
- schemaLocation="./Registry.xsd"/>
-
- <xsd:import
- namespace="http://eclipse.org/wst/ws/internal/model/v10/taxonomy"
- schemaLocation="./Taxonomy.xsd"/>
-
- <xsd:element name="uddiRegistry" type="urg:UDDIRegistry"/>
-
- <xsd:complexType name="UDDIRegistry">
- <xsd:complexContent>
- <xsd:extension base="reg:Registry">
- <xsd:sequence>
- <xsd:element name="version" type="xsd:string" minOccurs="1"/>
- <xsd:element name="discoveryURL" type="xsd:anyURI" minOccurs="1"/>
- <xsd:element name="publicationURL" type="xsd:anyURI" minOccurs="1"/>
- <xsd:element name="securedDiscoveryURL" type="xsd:anyURI" minOccurs="1"/>
- <xsd:element name="securedPublicationURL" type="xsd:anyURI" minOccurs="1"/>
- <xsd:element name="defaultLogin" type="xsd:string" minOccurs="1"/>
- <xsd:element name="defaultPassword" type="xsd:string" minOccurs="1"/>
- <xsd:element name="taxonomies" type="urg:Taxonomies" minOccurs="0"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
- <xsd:element name="taxonomies" type="urg:Taxonomies"/>
-
- <xsd:complexType name="Taxonomies">
- <xsd:sequence>
- <xsd:element ref="tax:taxonomy" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
-
-</xsd:schema> \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.registry.ecore b/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.registry.ecore
deleted file mode 100644
index f4042d499..000000000
--- a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.registry.ecore
+++ /dev/null
@@ -1,141 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="registry"
- nsURI="http://eclipse.org/wst/ws/internal/model/v10/registry" nsPrefix="registry">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&#xD;&#xA; See http://www.w3.org/XML/1998/namespace.html and&#xD;&#xA; http://www.w3.org/TR/REC-xml for information about this namespace.&#xD;&#xA;&#xD;&#xA; This schema document describes the XML namespace, in a form&#xD;&#xA; suitable for import by other schema documents. &#xD;&#xA;&#xD;&#xA; Note that local names in this namespace are intended to be defined&#xD;&#xA; only by the World Wide Web Consortium or its subgroups. The&#xD;&#xA; following names are currently defined in this namespace and should&#xD;&#xA; not be used with conflicting semantics by any Working Group,&#xD;&#xA; specification, or document instance:&#xD;&#xA;&#xD;&#xA; base (as an attribute name): denotes an attribute whose value&#xD;&#xA; provides a URI to be used as the base for interpreting any&#xD;&#xA; relative URIs in the scope of the element on which it&#xD;&#xA; appears; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML Base specification.&#xD;&#xA;&#xD;&#xA; id (as an attribute name): denotes an attribute whose value&#xD;&#xA; should be interpreted as if declared to be of type ID.&#xD;&#xA; The xml:id specification is not yet a W3C Recommendation,&#xD;&#xA; but this attribute is included here to facilitate experimentation&#xD;&#xA; with the mechanisms it proposes. Note that it is _not_ included&#xD;&#xA; in the specialAttrs attribute group.&#xD;&#xA;&#xD;&#xA; lang (as an attribute name): denotes an attribute whose value&#xD;&#xA; is a language code for the natural language of the content of&#xD;&#xA; any element; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML specification.&#xD;&#xA; &#xD;&#xA; space (as an attribute name): denotes an attribute whose&#xD;&#xA; value is a keyword indicating what whitespace processing&#xD;&#xA; discipline is intended for the content of the element; its&#xD;&#xA; value is inherited. This name is reserved by virtue of its&#xD;&#xA; definition in the XML specification.&#xD;&#xA;&#xD;&#xA; Father (in any context at all): denotes Jon Bosak, the chair of &#xD;&#xA; the original XML Working Group. This name is reserved by &#xD;&#xA; the following decision of the W3C XML Plenary and &#xD;&#xA; XML Coordination groups:&#xD;&#xA;&#xD;&#xA; In appreciation for his vision, leadership and dedication&#xD;&#xA; the W3C XML Plenary on this 10th day of February, 2000&#xD;&#xA; reserves for Jon Bosak in perpetuity the XML name&#xD;&#xA; xml:Father&#xD;&#xA; &#xD;&#xA;This schema defines attributes and an attribute group&#xD;&#xA; suitable for use by&#xD;&#xA; schemas wishing to allow xml:base, xml:lang, xml:space or xml:id&#xD;&#xA; attributes on elements they define.&#xD;&#xA;&#xD;&#xA; To enable this, such a schema must import this schema&#xD;&#xA; for the XML namespace, e.g. as follows:&#xD;&#xA; &amp;lt;schema . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;import namespace=&quot;http://www.w3.org/XML/1998/namespace&quot;&#xD;&#xA; schemaLocation=&quot;http://www.w3.org/2001/xml.xsd&quot;/&amp;gt;&#xD;&#xA;&#xD;&#xA; Subsequently, qualified reference to any of the attributes&#xD;&#xA; or the group defined below will have the desired effect, e.g.&#xD;&#xA;&#xD;&#xA; &amp;lt;type . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;attributeGroup ref=&quot;xml:specialAttrs&quot;/&amp;gt;&#xD;&#xA; &#xD;&#xA; will define a type which will schema-validate an instance&#xD;&#xA; element with any of those attributes&#xD;&#xA;In keeping with the XML Schema WG's standard versioning&#xD;&#xA; policy, this schema document will persist at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd.&#xD;&#xA; At the date of issue it can also be found at&#xD;&#xA; http://www.w3.org/2001/xml.xsd.&#xD;&#xA; The schema document at that URI may however change in the future,&#xD;&#xA; in order to remain compatible with the latest version of XML Schema&#xD;&#xA; itself, or with the XML namespace itself. In other words, if the XML&#xD;&#xA; Schema or XML namespaces change, the version of this document at&#xD;&#xA; http://www.w3.org/2001/xml.xsd will change&#xD;&#xA; accordingly; the version at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd will not change.&#xD;&#xA; "/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="Description">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Description"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=":0"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lang" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Language">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="lang"/>
- <details key="namespace" value="http://www.w3.org/XML/1998/namespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="description" upperBound="-2"
- eType="#//Description" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="description"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="name" upperBound="-2" eType="#//Name"
- volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="registry" upperBound="-2"
- eType="#//Registry" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="registry"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Name">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Name"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=":0"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lang" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Language">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="lang"/>
- <details key="namespace" value="http://www.w3.org/XML/1998/namespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Registry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Registry"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="name" lowerBound="1" upperBound="-1"
- eType="#//Name" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="description" lowerBound="1"
- upperBound="-1" eType="#//Description" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="description"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="location" unique="false"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="location"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="ref" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="ref"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.rtindex.ecore b/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.rtindex.ecore
deleted file mode 100644
index 5a095c5ac..000000000
--- a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.rtindex.ecore
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="rtindex"
- nsURI="http://eclipse.org/wst/ws/internal/model/v10/rtindex" nsPrefix="rtindex">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&#xD;&#xA; See http://www.w3.org/XML/1998/namespace.html and&#xD;&#xA; http://www.w3.org/TR/REC-xml for information about this namespace.&#xD;&#xA;&#xD;&#xA; This schema document describes the XML namespace, in a form&#xD;&#xA; suitable for import by other schema documents. &#xD;&#xA;&#xD;&#xA; Note that local names in this namespace are intended to be defined&#xD;&#xA; only by the World Wide Web Consortium or its subgroups. The&#xD;&#xA; following names are currently defined in this namespace and should&#xD;&#xA; not be used with conflicting semantics by any Working Group,&#xD;&#xA; specification, or document instance:&#xD;&#xA;&#xD;&#xA; base (as an attribute name): denotes an attribute whose value&#xD;&#xA; provides a URI to be used as the base for interpreting any&#xD;&#xA; relative URIs in the scope of the element on which it&#xD;&#xA; appears; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML Base specification.&#xD;&#xA;&#xD;&#xA; id (as an attribute name): denotes an attribute whose value&#xD;&#xA; should be interpreted as if declared to be of type ID.&#xD;&#xA; The xml:id specification is not yet a W3C Recommendation,&#xD;&#xA; but this attribute is included here to facilitate experimentation&#xD;&#xA; with the mechanisms it proposes. Note that it is _not_ included&#xD;&#xA; in the specialAttrs attribute group.&#xD;&#xA;&#xD;&#xA; lang (as an attribute name): denotes an attribute whose value&#xD;&#xA; is a language code for the natural language of the content of&#xD;&#xA; any element; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML specification.&#xD;&#xA; &#xD;&#xA; space (as an attribute name): denotes an attribute whose&#xD;&#xA; value is a keyword indicating what whitespace processing&#xD;&#xA; discipline is intended for the content of the element; its&#xD;&#xA; value is inherited. This name is reserved by virtue of its&#xD;&#xA; definition in the XML specification.&#xD;&#xA;&#xD;&#xA; Father (in any context at all): denotes Jon Bosak, the chair of &#xD;&#xA; the original XML Working Group. This name is reserved by &#xD;&#xA; the following decision of the W3C XML Plenary and &#xD;&#xA; XML Coordination groups:&#xD;&#xA;&#xD;&#xA; In appreciation for his vision, leadership and dedication&#xD;&#xA; the W3C XML Plenary on this 10th day of February, 2000&#xD;&#xA; reserves for Jon Bosak in perpetuity the XML name&#xD;&#xA; xml:Father&#xD;&#xA; &#xD;&#xA;This schema defines attributes and an attribute group&#xD;&#xA; suitable for use by&#xD;&#xA; schemas wishing to allow xml:base, xml:lang, xml:space or xml:id&#xD;&#xA; attributes on elements they define.&#xD;&#xA;&#xD;&#xA; To enable this, such a schema must import this schema&#xD;&#xA; for the XML namespace, e.g. as follows:&#xD;&#xA; &amp;lt;schema . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;import namespace=&quot;http://www.w3.org/XML/1998/namespace&quot;&#xD;&#xA; schemaLocation=&quot;http://www.w3.org/2001/xml.xsd&quot;/&amp;gt;&#xD;&#xA;&#xD;&#xA; Subsequently, qualified reference to any of the attributes&#xD;&#xA; or the group defined below will have the desired effect, e.g.&#xD;&#xA;&#xD;&#xA; &amp;lt;type . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;attributeGroup ref=&quot;xml:specialAttrs&quot;/&amp;gt;&#xD;&#xA; &#xD;&#xA; will define a type which will schema-validate an instance&#xD;&#xA; element with any of those attributes&#xD;&#xA;In keeping with the XML Schema WG's standard versioning&#xD;&#xA; policy, this schema document will persist at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd.&#xD;&#xA; At the date of issue it can also be found at&#xD;&#xA; http://www.w3.org/2001/xml.xsd.&#xD;&#xA; The schema document at that URI may however change in the future,&#xD;&#xA; in order to remain compatible with the latest version of XML Schema&#xD;&#xA; itself, or with the XML namespace itself. In other words, if the XML&#xD;&#xA; Schema or XML namespaces change, the version of this document at&#xD;&#xA; http://www.w3.org/2001/xml.xsd will change&#xD;&#xA; accordingly; the version at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd will not change.&#xD;&#xA; "/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="Description">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Description"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=":0"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lang" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Language">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="lang"/>
- <details key="namespace" value="http://www.w3.org/XML/1998/namespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="description" upperBound="-2"
- eType="#//Description" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="description"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="index" upperBound="-2"
- eType="#//Index" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="index"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="name" upperBound="-2" eType="#//Name"
- volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Index">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Index"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="name" lowerBound="1" upperBound="-1"
- eType="#//Name" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="description" lowerBound="1"
- upperBound="-1" eType="#//Description" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="description"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="registry" upperBound="-1"
- eType="ecore:EClass org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry"
- containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="registry"/>
- <details key="namespace" value="http://eclipse.org/wst/ws/internal/model/v10/registry"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="taxonomy" upperBound="-1"
- eType="ecore:EClass org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy"
- containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="taxonomy"/>
- <details key="namespace" value="http://eclipse.org/wst/ws/internal/model/v10/taxonomy"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Name">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Name"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=":0"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lang" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Language">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="lang"/>
- <details key="namespace" value="http://www.w3.org/XML/1998/namespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore b/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore
deleted file mode 100644
index 01889b0e8..000000000
--- a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore
+++ /dev/null
@@ -1,167 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="taxonomy"
- nsURI="http://eclipse.org/wst/ws/internal/model/v10/taxonomy" nsPrefix="taxonomy">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&#xD;&#xA; See http://www.w3.org/XML/1998/namespace.html and&#xD;&#xA; http://www.w3.org/TR/REC-xml for information about this namespace.&#xD;&#xA;&#xD;&#xA; This schema document describes the XML namespace, in a form&#xD;&#xA; suitable for import by other schema documents. &#xD;&#xA;&#xD;&#xA; Note that local names in this namespace are intended to be defined&#xD;&#xA; only by the World Wide Web Consortium or its subgroups. The&#xD;&#xA; following names are currently defined in this namespace and should&#xD;&#xA; not be used with conflicting semantics by any Working Group,&#xD;&#xA; specification, or document instance:&#xD;&#xA;&#xD;&#xA; base (as an attribute name): denotes an attribute whose value&#xD;&#xA; provides a URI to be used as the base for interpreting any&#xD;&#xA; relative URIs in the scope of the element on which it&#xD;&#xA; appears; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML Base specification.&#xD;&#xA;&#xD;&#xA; id (as an attribute name): denotes an attribute whose value&#xD;&#xA; should be interpreted as if declared to be of type ID.&#xD;&#xA; The xml:id specification is not yet a W3C Recommendation,&#xD;&#xA; but this attribute is included here to facilitate experimentation&#xD;&#xA; with the mechanisms it proposes. Note that it is _not_ included&#xD;&#xA; in the specialAttrs attribute group.&#xD;&#xA;&#xD;&#xA; lang (as an attribute name): denotes an attribute whose value&#xD;&#xA; is a language code for the natural language of the content of&#xD;&#xA; any element; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML specification.&#xD;&#xA; &#xD;&#xA; space (as an attribute name): denotes an attribute whose&#xD;&#xA; value is a keyword indicating what whitespace processing&#xD;&#xA; discipline is intended for the content of the element; its&#xD;&#xA; value is inherited. This name is reserved by virtue of its&#xD;&#xA; definition in the XML specification.&#xD;&#xA;&#xD;&#xA; Father (in any context at all): denotes Jon Bosak, the chair of &#xD;&#xA; the original XML Working Group. This name is reserved by &#xD;&#xA; the following decision of the W3C XML Plenary and &#xD;&#xA; XML Coordination groups:&#xD;&#xA;&#xD;&#xA; In appreciation for his vision, leadership and dedication&#xD;&#xA; the W3C XML Plenary on this 10th day of February, 2000&#xD;&#xA; reserves for Jon Bosak in perpetuity the XML name&#xD;&#xA; xml:Father&#xD;&#xA; &#xD;&#xA;This schema defines attributes and an attribute group&#xD;&#xA; suitable for use by&#xD;&#xA; schemas wishing to allow xml:base, xml:lang, xml:space or xml:id&#xD;&#xA; attributes on elements they define.&#xD;&#xA;&#xD;&#xA; To enable this, such a schema must import this schema&#xD;&#xA; for the XML namespace, e.g. as follows:&#xD;&#xA; &amp;lt;schema . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;import namespace=&quot;http://www.w3.org/XML/1998/namespace&quot;&#xD;&#xA; schemaLocation=&quot;http://www.w3.org/2001/xml.xsd&quot;/&amp;gt;&#xD;&#xA;&#xD;&#xA; Subsequently, qualified reference to any of the attributes&#xD;&#xA; or the group defined below will have the desired effect, e.g.&#xD;&#xA;&#xD;&#xA; &amp;lt;type . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;attributeGroup ref=&quot;xml:specialAttrs&quot;/&amp;gt;&#xD;&#xA; &#xD;&#xA; will define a type which will schema-validate an instance&#xD;&#xA; element with any of those attributes&#xD;&#xA;In keeping with the XML Schema WG's standard versioning&#xD;&#xA; policy, this schema document will persist at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd.&#xD;&#xA; At the date of issue it can also be found at&#xD;&#xA; http://www.w3.org/2001/xml.xsd.&#xD;&#xA; The schema document at that URI may however change in the future,&#xD;&#xA; in order to remain compatible with the latest version of XML Schema&#xD;&#xA; itself, or with the XML namespace itself. In other words, if the XML&#xD;&#xA; Schema or XML namespaces change, the version of this document at&#xD;&#xA; http://www.w3.org/2001/xml.xsd will change&#xD;&#xA; accordingly; the version at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd will not change.&#xD;&#xA; "/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="Category">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Category"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="nlname" upperBound="-1"
- eType="#//Name" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="nlname"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="category" upperBound="-1"
- eType="#//Category" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="category"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="code" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="code"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="category" upperBound="-2"
- eType="#//Category" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="category"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="name" upperBound="-2" eType="#//Name"
- volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="taxonomy" upperBound="-2"
- eType="#//Taxonomy" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="taxonomy"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Name">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Name"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=":0"/>
- <details key="kind" value="simple"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lang" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Language">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="lang"/>
- <details key="namespace" value="http://www.w3.org/XML/1998/namespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Taxonomy">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Taxonomy"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="nlname" upperBound="-1"
- eType="#//Name" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="nlname"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="category" upperBound="-1"
- eType="#//Category" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="category"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="location" unique="false"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="location"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="ref" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="ref"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="tmodelKey" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="tmodelKey"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore b/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore
deleted file mode 100644
index e8ce60204..000000000
--- a/bundles/org.eclipse.wst.ws/org.eclipse.wst.ws.internal.model.v10.uddiregistry.ecore
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="uddiregistry"
- nsURI="http://eclipse.org/wst/ws/internal/model/v10/uddiregistry" nsPrefix="uddiregistry">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&#xD;&#xA; See http://www.w3.org/XML/1998/namespace.html and&#xD;&#xA; http://www.w3.org/TR/REC-xml for information about this namespace.&#xD;&#xA;&#xD;&#xA; This schema document describes the XML namespace, in a form&#xD;&#xA; suitable for import by other schema documents. &#xD;&#xA;&#xD;&#xA; Note that local names in this namespace are intended to be defined&#xD;&#xA; only by the World Wide Web Consortium or its subgroups. The&#xD;&#xA; following names are currently defined in this namespace and should&#xD;&#xA; not be used with conflicting semantics by any Working Group,&#xD;&#xA; specification, or document instance:&#xD;&#xA;&#xD;&#xA; base (as an attribute name): denotes an attribute whose value&#xD;&#xA; provides a URI to be used as the base for interpreting any&#xD;&#xA; relative URIs in the scope of the element on which it&#xD;&#xA; appears; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML Base specification.&#xD;&#xA;&#xD;&#xA; id (as an attribute name): denotes an attribute whose value&#xD;&#xA; should be interpreted as if declared to be of type ID.&#xD;&#xA; The xml:id specification is not yet a W3C Recommendation,&#xD;&#xA; but this attribute is included here to facilitate experimentation&#xD;&#xA; with the mechanisms it proposes. Note that it is _not_ included&#xD;&#xA; in the specialAttrs attribute group.&#xD;&#xA;&#xD;&#xA; lang (as an attribute name): denotes an attribute whose value&#xD;&#xA; is a language code for the natural language of the content of&#xD;&#xA; any element; its value is inherited. This name is reserved&#xD;&#xA; by virtue of its definition in the XML specification.&#xD;&#xA; &#xD;&#xA; space (as an attribute name): denotes an attribute whose&#xD;&#xA; value is a keyword indicating what whitespace processing&#xD;&#xA; discipline is intended for the content of the element; its&#xD;&#xA; value is inherited. This name is reserved by virtue of its&#xD;&#xA; definition in the XML specification.&#xD;&#xA;&#xD;&#xA; Father (in any context at all): denotes Jon Bosak, the chair of &#xD;&#xA; the original XML Working Group. This name is reserved by &#xD;&#xA; the following decision of the W3C XML Plenary and &#xD;&#xA; XML Coordination groups:&#xD;&#xA;&#xD;&#xA; In appreciation for his vision, leadership and dedication&#xD;&#xA; the W3C XML Plenary on this 10th day of February, 2000&#xD;&#xA; reserves for Jon Bosak in perpetuity the XML name&#xD;&#xA; xml:Father&#xD;&#xA; &#xD;&#xA;This schema defines attributes and an attribute group&#xD;&#xA; suitable for use by&#xD;&#xA; schemas wishing to allow xml:base, xml:lang, xml:space or xml:id&#xD;&#xA; attributes on elements they define.&#xD;&#xA;&#xD;&#xA; To enable this, such a schema must import this schema&#xD;&#xA; for the XML namespace, e.g. as follows:&#xD;&#xA; &amp;lt;schema . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;import namespace=&quot;http://www.w3.org/XML/1998/namespace&quot;&#xD;&#xA; schemaLocation=&quot;http://www.w3.org/2001/xml.xsd&quot;/&amp;gt;&#xD;&#xA;&#xD;&#xA; Subsequently, qualified reference to any of the attributes&#xD;&#xA; or the group defined below will have the desired effect, e.g.&#xD;&#xA;&#xD;&#xA; &amp;lt;type . . .&amp;gt;&#xD;&#xA; . . .&#xD;&#xA; &amp;lt;attributeGroup ref=&quot;xml:specialAttrs&quot;/&amp;gt;&#xD;&#xA; &#xD;&#xA; will define a type which will schema-validate an instance&#xD;&#xA; element with any of those attributes&#xD;&#xA;In keeping with the XML Schema WG's standard versioning&#xD;&#xA; policy, this schema document will persist at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd.&#xD;&#xA; At the date of issue it can also be found at&#xD;&#xA; http://www.w3.org/2001/xml.xsd.&#xD;&#xA; The schema document at that URI may however change in the future,&#xD;&#xA; in order to remain compatible with the latest version of XML Schema&#xD;&#xA; itself, or with the XML namespace itself. In other words, if the XML&#xD;&#xA; Schema or XML namespaces change, the version of this document at&#xD;&#xA; http://www.w3.org/2001/xml.xsd will change&#xD;&#xA; accordingly; the version at&#xD;&#xA; http://www.w3.org/2005/08/xml.xsd will not change.&#xD;&#xA; "/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" unique="false"
- upperBound="-1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="taxonomies" upperBound="-2"
- eType="#//Taxonomies" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="taxonomies"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="uddiRegistry" upperBound="-2"
- eType="#//UDDIRegistry" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="uddiRegistry"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Taxonomies">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Taxonomies"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="taxonomy" upperBound="-1"
- eType="ecore:EClass org.eclipse.wst.ws.internal.model.v10.taxonomy.ecore#//Taxonomy"
- containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="taxonomy"/>
- <details key="namespace" value="http://eclipse.org/wst/ws/internal/model/v10/taxonomy"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UDDIRegistry" eSuperTypes="org.eclipse.wst.ws.internal.model.v10.registry.ecore#//Registry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="UDDIRegistry"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="version"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="discoveryURL" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="discoveryURL"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="publicationURL" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="publicationURL"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="securedDiscoveryURL" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="securedDiscoveryURL"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="securedPublicationURL"
- unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="securedPublicationURL"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultLogin" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="defaultLogin"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultPassword" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="defaultPassword"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="taxonomies" eType="#//Taxonomies"
- containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="taxonomies"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.ws/plugin.properties b/bundles/org.eclipse.wst.ws/plugin.properties
deleted file mode 100644
index fbe1a744a..000000000
--- a/bundles/org.eclipse.wst.ws/plugin.properties
+++ /dev/null
@@ -1,30 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2005 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
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Web Services
-PLUGIN_PROVIDER=Eclipse.org
-
-# Extension point names
-XP_WEB_SERVICE_LOCATOR=Web Service Locator
-X_WEB_SERVICE_LOCATOR_WORKSPACE=Workspace Web Service Locator
-X_WEB_SERVICE_LOCATOR_CATEGORY_WORKSPACE=Workspace WSDL documents
-X_WSIL_CONTENT_TYPE=Web Services Inspection Language Document
-
-MSG_ERROR_UNABLE_TO_START_MONITOR=IWAB0001E Unable to monitor port {0} of {1}.
-
-# Currently known public UDDI registries
-PUBLICUDDIREGISTRYTYPE_NAME_SAP=SAP UDDI Registry
-PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST=SAP UDDI Test Registry
-PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS=XMethods Registry
-PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM=NTT Communications Registry
diff --git a/bundles/org.eclipse.wst.ws/plugin.xml b/bundles/org.eclipse.wst.ws/plugin.xml
deleted file mode 100644
index cd686e35d..000000000
--- a/bundles/org.eclipse.wst.ws/plugin.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <!-- The following extension point is internal, though likely to be promoted for public use, possibly with changes, in a future release. -->
- <extension-point id="locator" name="%XP_WEB_SERVICE_LOCATOR" schema="schema/webServiceLocator.exsd"/>
-
- <!-- Extension providing workspace WSDL discovery -->
- <extension
- point="org.eclipse.wst.ws.locator">
-
- <webServiceLocatorCategory
- id="org.eclipse.wst.ws.internal.wsfinder.category.workspace"
- label="%X_WEB_SERVICE_LOCATOR_CATEGORY_WORKSPACE"/>
-
- <webServiceLocator
- class="org.eclipse.wst.ws.internal.wsfinder.WorkspaceWSDLLocator"
- id="org.eclipse.wst.ws.internal.wsfinder.WorkspaceWSDLLocator"
- category="org.eclipse.wst.ws.internal.wsfinder.category.workspace"
- label="%X_WEB_SERVICE_LOCATOR_WORKSPACE">
- </webServiceLocator>
-
- </extension>
-
- <!-- Extension to bind a file type to WSIL files -->
- <extension point="org.eclipse.team.core.fileTypes">
- <fileTypes
- type="text"
- extension="wsil"/>
- </extension>
-
- <!-- Extension to define a content type for WSIL files -->
- <extension point="org.eclipse.core.runtime.contentTypes">
- <content-type
- priority="high"
- name="%X_WSIL_CONTENT_TYPE"
- id="wsilsource"
- base-type="org.eclipse.core.runtime.xml"
- default-charset="UTF-8"
- file-extensions="wsil"/>
- </extension>
-
-</plugin>
diff --git a/bundles/org.eclipse.wst.ws/schema/webServiceLocator.exsd b/bundles/org.eclipse.wst.ws/schema/webServiceLocator.exsd
deleted file mode 100644
index 0d97d0d03..000000000
--- a/bundles/org.eclipse.wst.ws/schema/webServiceLocator.exsd
+++ /dev/null
@@ -1,197 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.ws">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.ws" id="webServiceLocator" name="Web Service Locator"/>
- </appInfo>
- <documentation>
- This extension point is provided to register locators that extend AbstractWebServiceLocator.
- These locators are used by WebServiceFinder to locate Web services for the purpose of Web service discovery.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <all>
- <element ref="webServiceLocator" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="webServiceLocatorCategory" minOccurs="1" maxOccurs="unbounded"/>
- </all>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- A fully qualified identifier of the target extension point.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- An optional identifier of the extension instance.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- An optional name of the extension instance.
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceLocator">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- A unique identifier for the Web Service Locator.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The fully qualified class name for the locator class which extends AbstractWebServiceLocator.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- A short label to identify the Web Service Locator.
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- Optionally, a description of the purpose of the Web Service Locator.
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="icon" type="string">
- <annotation>
- <documentation>
- Optionally, an icon that represents the Web Service Locator.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="category" type="string">
- <annotation>
- <documentation>
- Optionally, a category to which the Web Service Locator should belong.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="webServiceLocatorCategory">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- A unique identifier for the category of Web Service Locators.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- A short label for the category of Web Service Locators.
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- Optionally, a description of the category of Web Service Locators.
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="icon" type="string">
- <annotation>
- <documentation>
- Optionally, an icon that represents the category of Web Service Locators.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="category" type="string">
- <annotation>
- <documentation>
- Optionally, a parent category under which the Web Service Locator
- category should be grouped. If absent, the category is considered
- to be a root category.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- Extenders should implement &lt;code&gt;org.eclipse.wst.ws.internal.wsfinder.AbstractWebServiceLocator&lt;/code&gt;. The WebServiceLocatorRegistry uses this extension point to retrieve all locators.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPlugin.properties b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPlugin.properties
deleted file mode 100644
index a55c55d49..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPlugin.properties
+++ /dev/null
@@ -1,45 +0,0 @@
-###############################################################################
-# Copyright (c) 2005, 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
-# -------- -------- -----------------------------------------------------------
-# 20060420 120714 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# GetMonitorCommand
-#
-MSG_ERROR_UNABLE_TO_START_MONITOR=IWAB0001E Unable to monitor port {0} of {1}.
-
-#
-# WSDLUtility
-#
-MSG_UNABLE_TO_RESOLVE_HTTP=Could not resolve service definition http://{0}. Service may not be running on the server.
-MSG_UNABLE_TO_RESOLVE_PLATFORM_URI=Could not parse platform:/resource{0}.
-
-#
-# WSIComplianceUtils
-#
-IGNORE_LABEL=Ignore
-IGNORE_DESCRIPTION=Ignore the WS-I non-compliance and continue
-IGNORE_ALL_LABEL=Ignore All
-IGNORE_ALL_DESCRIPTION=Always ignore the WS-I non-compliance and continue
-CANCEL_LABEL=Cancel
-CANCEL_DESCRIPTION=Cancel
-
-#
-# WS-I Compliance Messages
-#
-WSI_SSBP_ERROR=You have made a choice that may result in a Web service that does not comply with the WS-I Simple SOAP Binding Profile. Your current Web services preference is set to require compliance with WS-I SSBP.
-WSI_SSBP_WARNING=You have made a choice that may result in a Web service that does not comply with the WS-I Simple SOAP Binding Profile. Do you wish to ignore this warning and continue?
-WSI_SSBP_INCOMPLIANT_RUNTIME=The selected Web Service runtime does not comply with the WS-I Simple SOAP Binding Profile.
-WSI_AP_ERROR=You have made a choice that may result in a Web service that does not comply with the WS-I Attachment Profile. Your current Web services preference is set to require compliance with WS-I AP.
-WSI_AP_WARNING=You have made a choice that may result in a Web service that does not comply with the WS-I Attachment Profile. Do you wish to ignore this warning and continue?
-WSI_AP_INCOMPLIANT_RUNTIME=The selected Web Service runtime does not comply with the WS-I Attachment Profile.
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPluginMessages.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPluginMessages.java
deleted file mode 100644
index 9719f1225..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/WstWSPluginMessages.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 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
- * -------- -------- -----------------------------------------------------------
- * 20060420 120714 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.wst.ws.internal;
-
-import org.eclipse.osgi.util.NLS;
-
-public final class WstWSPluginMessages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.wst.ws.internal.WstWSPlugin";//$NON-NLS-1$
-
- private WstWSPluginMessages() {
- // Do not instantiate
- }
-
- public static String MSG_ERROR_UNABLE_TO_START_MONITOR;
- public static String MSG_UNABLE_TO_RESOLVE_PLATFORM_URI;
- public static String MSG_UNABLE_TO_RESOLVE_HTTP;
- public static String IGNORE_LABEL;
- public static String IGNORE_DESCRIPTION;
- public static String IGNORE_ALL_LABEL;
- public static String IGNORE_ALL_DESCRIPTION;
- public static String CANCEL_LABEL;
- public static String CANCEL_DESCRIPTION;
- public static String WSI_SSBP_ERROR;
- public static String WSI_SSBP_WARNING;
- public static String WSI_SSBP_INCOMPLIANT_RUNTIME;
- public static String WSI_AP_ERROR;
- public static String WSI_AP_WARNING;
- public static String WSI_AP_INCOMPLIANT_RUNTIME;
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, WstWSPluginMessages.class);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/BundleUtils.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/BundleUtils.java
deleted file mode 100644
index 6eeca66b8..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/BundleUtils.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/***************************************************************************************************
- * Copyright (c) 2003, 2005 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
- **************************************************************************************************/
-package org.eclipse.wst.ws.internal.common;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import org.eclipse.core.runtime.Platform;
-import org.osgi.framework.Bundle;
-
-public class BundleUtils
-{
- static public URL getURLFromBundle( String bundleId, String path ) throws MalformedURLException
- {
- Bundle bundle = Platform.getBundle( bundleId );
- URL installURL = bundle.getEntry("/");
- URL fileURL = new URL(installURL, path );
-
- return fileURL;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/LiveWSDLFilter.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/LiveWSDLFilter.java
deleted file mode 100644
index 0dfb0504d..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/LiveWSDLFilter.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.common;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
-
-public class LiveWSDLFilter extends Thread
-{
- private String wsdlURL_;
- private boolean finish_;
- private boolean live_;
-
- public LiveWSDLFilter(String wsdlURL)
- {
- wsdlURL_ = wsdlURL;
- finish_ = false;
- live_ = false;
- }
-
- public String getWSDLURL()
- {
- return wsdlURL_;
- }
-
- public boolean isFinish()
- {
- return finish_;
- }
-
- public boolean isWSDLLive()
- {
- return live_;
- }
-
- public void run()
- {
- try
- {
- live_ = validateWSDL();
- }
- catch (Throwable t)
- {
- System.out.println("Throwing exception " + t.getMessage());
- live_ = false;
- }
- finally
- {
- finish_ = true;
- }
- }
-
- private boolean validateWSDL() throws WSDLException, MalformedURLException, IOException, WWWAuthenticationException
- {
- WebServicesParserExt parser = new WebServicesParserExt();
- Definition definition = parser.getWSDLDefinitionVerbose(wsdlURL_);
- System.out.println("wsdlURL_ " + wsdlURL_.toString());
- Map services = definition.getServices();
- Iterator serviceIterator = services.values().iterator();
- System.out.println("serviceIterator " + serviceIterator.toString());
- while (serviceIterator.hasNext())
- {
- Service service = (Service)serviceIterator.next();
- Map ports = service.getPorts();
- Iterator portIterator = ports.values().iterator();
- while (portIterator.hasNext())
- {
- Port port = (Port)portIterator.next();
- List extensibilityElements = port.getExtensibilityElements();
- Iterator extensibilityElementsIterator = extensibilityElements.iterator();
- while (extensibilityElementsIterator.hasNext())
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement)extensibilityElementsIterator.next();
- if ((extensibilityElement instanceof SOAPAddress) || (extensibilityElement instanceof HTTPAddress))
- return true;
- }
- }
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/MergeUtils.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/MergeUtils.java
deleted file mode 100644
index 5bf2d9433..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/MergeUtils.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060330 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060403 128827 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.common;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Hashtable;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.codegen.merge.java.JControlModel;
-import org.eclipse.emf.codegen.merge.java.JMerger;
-import org.eclipse.emf.codegen.merge.java.facade.FacadeHelper;
-import org.eclipse.emf.codegen.util.CodeGenUtil;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentMergeContext;
-import org.osgi.framework.Bundle;
-
-public class MergeUtils {
- private static Hashtable MergeModel;
- private static final String WST_WS = "org.eclipse.wst.ws";
- private static final String MERGE_XML = "merge.xml";
- private static final String JMERGER = "jmerger";
- private static JControlModel jMergeControlModel = null;
-
-
- /**
- * Stores the JMerge model of the file represented by the URL strings
- * @param urlStrings String representation of the URL for the file
- */
- static public void storeMergeModels (String [] urlStrings) {
- if (urlStrings != null) {
- PersistentMergeContext mergeContext = WSPlugin.getInstance().getMergeContext();
- if (mergeContext.isSkeletonMergeEnabled()) {
- initialize();
- if (jMergeControlModel != null) {
- MergeModel = new Hashtable();
- String filename;
- for (int i = 0; i < urlStrings.length; i++) {
- filename = getFileFromURL(urlStrings[i]);
- if (filename != null) {
- storeModel(filename);
- }
- }
- }
- }
- }
- }
-
- /**
- * Stores the JMerge model of the file using the filename as key
- * @param filename String representation of the file
- */
- static public void storeModel (String filename) {
- InputStream inStream = null;
- JMerger jMerger;
- File aFile;
- try {
- if (jMergeControlModel != null) {
- aFile = new File (filename);
- if (aFile.exists()) {
- inStream = new FileInputStream(aFile);
- jMerger = new JMerger(jMergeControlModel);
- jMerger.setTargetCompilationUnit(jMerger.createCompilationUnitForInputStream(inStream));
- MergeModel.put(filename, jMerger);
- }
- }
- } catch (FileNotFoundException e) {
- // File not found, just ignore. Nothing to merge.
- } finally {
- if (inStream != null) {
- try {
- inStream.close();
- } catch (IOException e) {
- }
- }
- }
-
- }
-
- /**
- * Initializes the JMerge model
- * File merge.xml in WebServicePlugin contains the rules for the merge.
- * If the merge.xml file is not found, jMergeControlModel is leave as null.
- */
- static private void initialize() {
- if (jMergeControlModel == null) {
- FacadeHelper facadeHelper = CodeGenUtil.instantiateFacadeHelper(JMerger.DEFAULT_FACADE_HELPER_CLASS);
- jMergeControlModel = new JControlModel();
-
- Bundle wsBundle = Platform.getBundle(WST_WS);
- IPath mergePath = new Path( JMERGER ).append( MERGE_XML );
- URL fileURL = FileLocator.find( wsBundle, mergePath, null);
- jMergeControlModel.initialize(facadeHelper, fileURL.toString());
- }
- return;
- }
-
- /**
- * Look up the model of this file stored earlier using the filename as key.
- * Merge the content of this file with the earlier model.
- * Returns the string representation of the merged content.
- * Returns null if an earlier model for this file does not exist or if the new file does not exist.
- * @param filename
- * @return merge content
- */
- static public String mergeFile(String filename) {
- JMerger jMerger = (JMerger) MergeModel.get(filename);
- String mergedContent = null;
- if (jMerger != null) {
- // a JMerger model of the file exists, merge the contents
- InputStream inStream = null;
- try {
- inStream = new FileInputStream(new File (filename));
- jMerger.setSourceCompilationUnit(jMerger.createCompilationUnitForInputStream(inStream));
- jMerger.merge();
- mergedContent = jMerger.getTargetCompilationUnitContents();
- } catch (FileNotFoundException e) {
- // File not found, just ignore. Nothing to merge.
- } finally {
- try {
- if (inStream != null) {
- inStream.close();
- }
- } catch (IOException e) {
- }
- }
- }
- return mergedContent;
- }
-
- /**
- * Gets the file name of this URL
- * @param urlString string representation of the URL
- * @return file name string
- */
- static public String getFileFromURL(String urlString) {
- String fileString = null;
- try {
- URL url = new URL (urlString);
- fileString = url.getFile();
- } catch (MalformedURLException e) {
- }
- return fileString;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/WSDLUtility.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/WSDLUtility.java
deleted file mode 100644
index 1f2922a16..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/common/WSDLUtility.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.common;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.List;
-import java.util.Map;
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.ws.internal.WstWSPluginMessages;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-/**
- * Utilities for working with a workspace WSDL file resource.
- *
- * @author joan
- *
- */
-
-public class WSDLUtility {
-
- protected Definition definition_ = null;
- protected IResource resource_ = null;
- protected String serviceName_ = "";
- protected URL url_ = null;
-
- public WSDLUtility(IResource res)
- {
- super();
- resource_ = res;
- buildDefinition();
- }
-
- protected boolean buildDefinition()
- {
- if (resource_.getType() == IResource.FILE)
- {
- String ext = resource_.getFileExtension();
- String resPath = resource_.getFullPath().toString();
- if (ext != null)
- {
-
- WebServicesParser parser = new WebServicesParser();
-
- try {
- definition_ = parser.getWSDLDefinition("platform:" + resPath);
- if (definition_ == null){
- throw new Exception(NLS.bind(WstWSPluginMessages.MSG_UNABLE_TO_RESOLVE_PLATFORM_URI, resPath));
- }
- }
- catch (Exception e){
- return false;
- }
- }
- else if (resPath.indexOf('?') > 0) //deployed resource
- {
- WebServicesParser parser = new WebServicesParser();
-
- try {
- definition_ = parser.getWSDLDefinition("http:" + resPath);
- if (definition_ == null){
- throw new Exception(NLS.bind(WstWSPluginMessages.MSG_UNABLE_TO_RESOLVE_HTTP, resPath));
-
- }
- }
- catch (Exception e){
- return false;
- }
- }
- }
- serviceName_ = "";
- return true;
- }
-
- /**
- * Determines the name of the service defined in the WSDL file
- *
- * @param resource The workspace resource for the WSDL file
- * @return Returns a string containing the value of the name attribute of the service element
- */
- public String getServiceName()
- {
- if (serviceName_.equals(""))
- {
- if (definition_ != null)
- {
- Map servicesMap = definition_.getServices(); //jvh - need to handle null definition here....
- Object[] services = servicesMap.values().toArray();
-
- // TODO: here can detect if no service tag - send appropriate message
- // TODO: what if > 1 service defined in the WSDL?
- // for now return the first service name found...
- for (int i = 0; i < services.length; i++) {
- Service s = (Service)services[i];
- String qString = s.getQName().toString();
-
- //get name only from qualified string
- int index1 = qString.indexOf("}")+1; //$NON-NLS-1$
- int index2 = qString.length();
-
- serviceName_ = qString.substring(index1, index2);
- }
- }
- }
- return serviceName_;
- }
-
- public URL getWSDLAddress()
- {
- if (url_ == null)
- {
- String locationURI = null;
- if (definition_ != null)
- {
- Map servicesMap = definition_.getServices();
- Object[] services = servicesMap.values().toArray();
-
- // TODO: here can detect if no service tag - send appropriate message
- // TODO: what if > 1 service defined in the WSDL?
- for (int i = 0; i < services.length; i++) {
- Service s = (Service)services[i];
- Map portsMap = s.getPorts();
- Object[] ports = portsMap.values().toArray();
-
- // TODO: here can detect if > 1 port for the service - determine how to handle
- for (int j = 0; j < ports.length; j++) {
- Port p = (Port)ports[j];
- List extList = p.getExtensibilityElements();
-
- for (int k = 0; j < extList.size(); j++){
- ExtensibilityElement extElement = (ExtensibilityElement)extList.get(k);
- if (extElement instanceof SOAPAddress)
- {
- locationURI = ((SOAPAddress)extElement).getLocationURI();
- }
- else if (extElement instanceof HTTPAddress)
- {
- locationURI = ((HTTPAddress)extElement).getLocationURI();
- }
- else
- {
- //TODO: if not SOAP or HTTP - how do we want to handle it...
- }
- }
- }
- }
-
- try {
- url_ = new URL(locationURI + "?" + resource_.getFileExtension());
- }
- catch (MalformedURLException malExc){}
- }
- }
- return url_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/data/LabelsAndIds.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/data/LabelsAndIds.java
deleted file mode 100644
index 5a06b36f1..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/data/LabelsAndIds.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-/**
- */
-package org.eclipse.wst.ws.internal.data;
-
-public class LabelsAndIds
-{
- private String[] labels_;
- private String[] ids_;
-
- /**
- * @return Returns the ids_.
- */
- public String[] getIds_()
- {
- return ids_;
- }
- /**
- * @param ids_ The ids_ to set.
- */
- public void setIds_(String[] ids_)
- {
- this.ids_ = ids_;
- }
- /**
- * @return Returns the labels_.
- */
- public String[] getLabels_()
- {
- return labels_;
- }
- /**
- * @param labels_ The labels_ to set.
- */
- public void setLabels_(String[] labels_)
- {
- this.labels_ = labels_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicConnection.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicConnection.java
deleted file mode 100644
index 538caa25e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicConnection.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-public class BasicConnection implements Connection
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private Rel fRel;
- private Element fElement;
- private Connection fOpposingConnection;
-
- public static final int OUTBOUND = 0;
- public static final int INBOUND = 1;
-
- public static Connection[] createPair ( Rel outboundRel, Element targetElement, Rel inboundRel, Element sourceElement )
- {
- BasicConnection outboundConnection = new BasicConnection(outboundRel,targetElement);
- BasicConnection inboundConnection = new BasicConnection(inboundRel,sourceElement);
- outboundConnection.fOpposingConnection = inboundConnection;
- inboundConnection.fOpposingConnection = outboundConnection;
- return new Connection[] {outboundConnection,inboundConnection};
- }
-
- public BasicConnection ( Rel rel, Element element )
- {
- fRel = rel;
- fElement = element;
- fOpposingConnection = null;
- }
-
- public Rel getRel ()
- {
- return fRel;
- }
-
- public Element getElement ()
- {
- return fElement;
- }
-
- public Connection getOpposingConnection ()
- {
- return fOpposingConnection;
- }
-
- public String toString ()
- {
- return fElement.getName();
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicElement.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicElement.java
deleted file mode 100644
index 72d08f09d..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicElement.java
+++ /dev/null
@@ -1,344 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-
-public class BasicElement implements Element
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private String fName;
- private String fMUID;
- private Model fModel;
- private Hashtable fRels;
- private Hashtable fProperties;
- private Vector fListeners;
-
- public BasicElement ( String name, Model model )
- {
- fName = name;
- setMUID(model.makeMUID(name));
- model.addElement(this);
- fModel = model;
- fRels = new Hashtable();
- fListeners = new Vector();
- fProperties = new Hashtable();
- fProperties.put(Property.NAME,new BasicProperty(Property.NAME,fName));
- }
-
- public BasicElement ( String name, Element element, String outboundRelName, String inboundRelName )
- {
- this(name,element.getModel());
- connect(element,outboundRelName,inboundRelName);
- }
-
- /**
- * Returns a clone of this <code>Element</code>
- * of the same class and with the same name and model,
- * but with no Properties, Rels or Listeners except for
- * the {@link Property#NAME NAME} property.
- * @return Object A new Element.
- */
- public Element shallowClone ()
- {
- return new BasicElement(fName,fModel);
- }
-
- /**
- * Returns a clone of this <code>Element</code>
- * of the same class and with the same name and model
- * and with a copy of the original Element's Properties.
- * The Rels and Listeners are not cloned.
- * @return Element A new Element.
- */
- public final Element deepClone ()
- {
- Element newElement = shallowClone();
- Enumeration e = getProperties();
- while (e.hasMoreElements())
- {
- Property property = (Property)e.nextElement();
- Property newProperty = (Property)property.shallowClone();
- newElement.setProperty(newProperty);
- }
- return newElement;
- }
-
- /**
- * Model-View-Controller: All property changes to the model
- * (such as those made by a wizard in the role of a Controller)
- * should yield events to which an interested party can listen
- * (such as a wizard in the role of a Viewer).
- * @param tml The listener to add.
- */
- public void addListener ( ElementListener listener )
- {
- fListeners.add(listener);
- }
-
- public Model getModel ()
- {
- return fModel;
- }
-
- public boolean isValid ()
- {
- return (fModel != null && fModel.containsElement(this));
- }
-
- public boolean remove ()
- {
- return fModel.removeElement(this);
- }
-
- public void setName ( String name )
- {
- fName = name;
- fProperties.put(Property.NAME,new BasicProperty(Property.NAME,fName));
- }
-
- public String getName ()
- {
- return fName;
- }
-
- /*
- * The getter for the MUID
- * The MUID is the Model Unique Identifier, made from the name and an
- * appended unique number
- * @return String a unique id for this element within the context of the model
- */
- public String getMUID()
- {
- return fMUID;
- }
-
- /*
- *
- *
- */
- public int getNumberID()
- {
- String number = getMUID().substring(getName().length());
- return Integer.parseInt(number);
- }
-
- /*
- * Set the MUID which was made by the model
- * Should only be settable within this element
- * Set once upon creation, you can change the name
- * but the id will remain constant.
- */
- private void setMUID(String MUID)
- {
- fMUID = MUID;
- }
-
- public void setProperty ( Property property )
- {
- String propertyName = property.getName();
- Property oldProperty = getProperty(propertyName);
- fProperties.put(propertyName,property);
- if (oldProperty == null)
- {
- PropertyAddEvent event = new PropertyAddEvent(this,property);
- Enumeration e = fListeners.elements();
- while (e.hasMoreElements())
- {
- ((ElementListener)e.nextElement()).propertyAdded(event);
- }
- }
- else
- {
- Object oldValue = oldProperty.getValue();
- Object newValue = property.getValue();
- if (oldValue != newValue)
- {
- if (oldValue == null || newValue == null || (!oldValue.equals(newValue)))
- {
- PropertyChangeEvent event = new PropertyChangeEvent(this,property,oldProperty);
- Enumeration e = fListeners.elements();
- while (e.hasMoreElements())
- {
- ((ElementListener)e.nextElement()).propertyChanged(event);
- }
- }
- }
- }
- if (propertyName.equals(Property.NAME)) fName = property.getValue().toString();
- }
-
- public void setPropertyAsObject ( String name, Object value )
- {
- setProperty(new BasicProperty(name,value));
- }
-
- public void setPropertyAsString ( String name, String value )
- {
- setProperty(new BasicProperty(name,value));
- }
-
- public Property getProperty ( String name )
- {
- return (Property)fProperties.get(name);
- }
-
- public Object getPropertyAsObject ( String name )
- {
- Property property = getProperty(name);
- return (property == null ? null : property.getValue());
- }
-
- public String getPropertyAsString ( String name )
- {
- Property property = getProperty(name);
- return (property == null ? null : property.getValueAsString());
- }
-
- public Enumeration getProperties ()
- {
- return fProperties.elements();
- }
-
- public boolean connect ( Element targetElement, String outboundRelName, String inboundRelName )
- {
- if (fModel == null || fModel != targetElement.getModel()) return false;
-
- Element sourceElement = this;
- Rel outboundRel = sourceElement.getRel(outboundRelName);
- Rel inboundRel = targetElement.getRel(inboundRelName);
- Connection[] pair = BasicConnection.createPair(outboundRel,targetElement,inboundRel,sourceElement);
- outboundRel.addConnection(pair[BasicConnection.OUTBOUND]);
- inboundRel.addConnection(pair[BasicConnection.INBOUND]);
- RelAddEvent event = new RelAddEvent(pair);
- Enumeration eSource = getListeners();
- Enumeration eTarget = targetElement.getListeners();
- while (eSource.hasMoreElements())
- {
- ((ElementListener)eSource.nextElement()).relAdded(event);
- }
-
- while (eTarget.hasMoreElements())
- {
- ((ElementListener)eTarget.nextElement()).relAdded(event);
- }
-
-
- return true;
- }
-
- public boolean disconnect ( Element targetElement, String outboundRelName )
- {
- return disconnect(targetElement,getRel(outboundRelName));
- }
-
- public boolean disconnectRel ( String outboundRelName )
- {
- return disconnectRel(getRel(outboundRelName));
- }
-
- public boolean disconnectAll ()
- {
- if (fModel == null) return false;
- Enumeration e = fRels.elements();
- while (e.hasMoreElements())
- {
- Rel rel = (Rel)e.nextElement();
- disconnectRel(rel);
- }
- return true;
- }
-
- public Enumeration getElements ( String relName )
- {
- return getRel(relName).getTargetElements();
- }
-
- public int getNumberOfElements ( String relName )
- {
- return getRel(relName).getNumberOfTargetElements();
- }
-
- public Rel getRel ( String relName )
- {
- Rel rel = (Rel)fRels.get(relName);
- if (rel == null)
- {
- rel = new BasicRel(relName,this);
- fRels.put(relName,rel);
- }
- return rel;
- }
-
- public Enumeration getRels ()
- {
- return fRels.elements();
- }
-
- public Enumeration getListeners()
- {
- return fListeners.elements();
- }
-
- protected boolean disconnect ( Element targetElement, Rel outboundRel )
- {
- if (fModel == null || fModel != targetElement.getModel() || outboundRel == null) return false;
- Connection outboundConnection = outboundRel.getConnectionTo(targetElement);
- if (outboundConnection == null) return false;
- Connection inboundConnection = outboundConnection.getOpposingConnection();
- RelRemoveEvent event = new RelRemoveEvent(new Connection [] {outboundConnection,inboundConnection});
- Enumeration e = fListeners.elements();
- while (e.hasMoreElements())
- {
- ((ElementListener)e.nextElement()).relRemoved(event);
- }
-
- Enumeration eTarget = targetElement.getListeners();
- while (eTarget.hasMoreElements())
- {
- ((ElementListener)eTarget.nextElement()).relRemoved(event);
- }
-
- Rel inboundRel = inboundConnection.getRel();
- boolean done = outboundRel.removeConnection(outboundConnection);
- inboundRel.removeConnection(inboundConnection);
- return done;
- }
-
- protected boolean disconnectRel ( Rel outboundRel )
- {
- if (fModel == null || outboundRel == null) return false;
- Element[] elements = new Element[outboundRel.getNumberOfTargetElements()];
- int i = 0;
- Enumeration e = outboundRel.getTargetElements();
- while (e.hasMoreElements())
- {
- elements[i++] = (Element)e.nextElement();
- }
- while (i-- > 0)
- {
- disconnect(elements[i],outboundRel);
- }
- return true;
- }
-
- public String toString ()
- {
- return getName();
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicModel.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicModel.java
deleted file mode 100644
index 3b3b43589..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicModel.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Vector;
-
-public class BasicModel implements Model
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private String fName;
- private Hashtable fElements;
- private Element fRoot;
- //This is used by the MUID
- private int fUniqueNumberCounter;
-
- public BasicModel ( String name )
- {
- fName = name;
- fElements = new Hashtable();
- fRoot = null;
- fUniqueNumberCounter = 0;
- }
-
- public void setName ( String name )
- {
- fName = name;
- }
-
- public String getName ()
- {
- return fName;
- }
-
-
- /*
- * simple counter that increments each call
- */
- public int getUniqueNumber()
- {
- fUniqueNumberCounter++;
- return fUniqueNumberCounter;
- }
-
- /*
- * This will use a unique number and append it to the end of the name
- * @param String name of the element
- * @return String MUID
- */
- public String makeMUID(String name)
- {
- String num = String.valueOf(getUniqueNumber());
- String muid = name + num;
- return muid;
- }
-
-
- public boolean setRootElement ( Element root )
- {
- if (root.getModel() == null)
- addElement(root);
- else if (root.getModel() != this)
- return false;
- fRoot = root;
- return true;
- }
-
- public Element getRootElement ()
- {
- if (fRoot == null) fRoot = getFirstElement();
- return fRoot;
- }
-
-
- /**
- * Get the elements that have this name
- * @param String name the name of the element
- * @return Vector a vector of elements that have this name
- * These elements may be of different types
- **/
-
- public Vector getElementsByName(String name)
- {
- Vector vector = new Vector();
- Enumeration e = fElements.keys();
- while (e.hasMoreElements()){
- Element element = (Element)e.nextElement();
- if (element.getName().equals(name)) vector.addElement(element);
- }
- return vector;
- }
-
-
-
- public boolean addElement ( Element element )
- {
- if (element.getModel() != null) return false;
- fElements.put(element,element);
- return true;
- }
-
- public boolean removeElement ( Element element )
- {
- if (element.getModel() != this) return false;
- element.disconnectAll();
- if (fRoot == element) fRoot = null;
- return (fElements.remove(element) == element);
- }
-
- public Enumeration getElements ()
- {
- return fElements.elements();
- }
-
- public int getNumberOfElements ()
- {
- return fElements.size();
- }
-
- public boolean containsElement ( Element element )
- {
- return fElements.contains(element);
- }
-
- private Element getFirstElement ()
- {
- Enumeration e = getElements();
- return (e.hasMoreElements() ? (Element)e.nextElement() : null);
- }
-
- public String toString ()
- {
- return getName();
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicProperty.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicProperty.java
deleted file mode 100644
index 6661a82e0..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicProperty.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-public class BasicProperty implements Property
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private String fName;
- private Object fValue;
-
- public BasicProperty ( String name )
- {
- fName = name;
- }
-
- public BasicProperty ( String name, Object value )
- {
- fName = name;
- fValue = value;
- }
-
- /**
- * Returns a shallow clone of this <code>Property</code>.
- * Property key and value references are cloned,
- * but the value objects themselves are not cloned.
- * @return Property A new Property.
- */
- public Property shallowClone ()
- {
- return new BasicProperty(fName,fValue);
- }
-
- public String getName ()
- {
- return fName;
- }
-
- public void setValue ( Object value )
- {
- fValue = value;
- }
-
- public Object getValue ()
- {
- return fValue;
- }
-
- public void setValueAsString ( String value )
- {
- fValue = value;
- }
-
- public String getValueAsString ()
- {
- return (fValue != null ? fValue.toString() : null);
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicRel.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicRel.java
deleted file mode 100644
index 41336fbd9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/BasicRel.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-import java.util.Enumeration;
-import java.util.Vector;
-
-public class BasicRel implements Rel
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private String fName;
- private Element fSourceElement;
- private Vector fConnections;
-
- public BasicRel ( String name, Element sourceElement )
- {
- fName = name;
- fSourceElement = sourceElement;
- fConnections = new Vector();
- }
-
- public String getName ()
- {
- return fName;
- }
-
- public Element getSourceElement ()
- {
- return fSourceElement;
- }
-
- public Enumeration getTargetElements ()
- {
- return new ElementEnumeration(fConnections.elements());
- }
-
- public int getNumberOfTargetElements ()
- {
- return fConnections.size();
- }
-
- public void addConnection ( Connection connection )
- {
- fConnections.addElement(connection);
- }
-
- public boolean removeConnection ( Connection connection )
- {
- return fConnections.removeElement(connection);
- }
-
- public Connection getConnectionTo ( Element targetElement )
- {
- Enumeration e = fConnections.elements();
- while (e.hasMoreElements())
- {
- Connection c = (Connection)e.nextElement();
- if (c.getElement() == targetElement) return c;
- }
- return null;
- }
-
- public String toString ()
- {
- return getName();
- }
-
- private class ElementEnumeration implements Enumeration
- {
- private Enumeration fConnectionEnumeration;
-
- public ElementEnumeration ( Enumeration connectionEnumeration )
- {
- fConnectionEnumeration = connectionEnumeration;
- }
-
- public boolean hasMoreElements ()
- {
- return fConnectionEnumeration.hasMoreElements();
- }
-
- public Object nextElement ()
- {
- return ((Connection)fConnectionEnumeration.nextElement()).getElement();
- }
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Connection.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Connection.java
deleted file mode 100644
index 8d6270c6a..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Connection.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* This is the abstract class for a connection that ties a Rel to a Node.
-* Normally Connection objects are manufactured and managed within the
-* derived classes of the Model framework, and are not manipulated by
-* the caller directly.
-*/
-public interface Connection
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * Returns the Rel that owns this connection.
- * @return Rel The Rel that owns this connection.
- * This method never returns null, that is, a Connection
- * cannot exist without a Rel to own it.
- */
- public Rel getRel ();
-
- /**
- * Returns the Node that this connection points to.
- * @return Node The Node this connection points to.
- * This method never returns null, that is, a Connection
- * cannot exist without a Node to point to.
- */
- public Element getElement ();
-
- /**
- * Returns the opposing connection to this connection.
- * Connection objects always exist in pairs, that is,
- * if node "Parent" has a relationship named "Children"
- * containing a connection to node "Child", then there
- * must exist an opposing connection from "Child" to
- * "Parent" in some relationship of "Child" (for example,
- * in a relationship called "Parents").
- * @return Connection The opposing connection.
- * As a general rule, this method should never return null.
- * It may only return null during construction of the pair
- * of connections.
- */
- public Connection getOpposingConnection ();
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Element.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Element.java
deleted file mode 100644
index c23721b8e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Element.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-import java.util.Enumeration;
-
-/**
-* This is the abstract class for elements that can be managed by a Model.
-* Every element has a name, a set of properties, and a set of relationships
-* to other elements.
-*/
-public interface Element
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * Returns a clone of this <code>Element</code>
- * of the same class and with the same name and model,
- * but with no Properties, Rels or Listeners except for
- * the {@link Property#NAME NAME} property.
- * @return Object A new Element.
- */
- public Element shallowClone ();
-
- /**
- * Returns a clone of this <code>Element</code>
- * of the same class and with the same name and model
- * and with a copy of the original Element's Properties.
- * The Rels and Listeners are not cloned.
- * @return Element A new Element.
- */
- public Element deepClone ();
-
- /**
- * Returns the model this element belongs to, or null if the element
- * has not been added to a model. See also {@link #isValid isValid()}.
- * @return Model The model this element belongs to, or null if none.
- */
- public Model getModel ();
-
- /**
- * Returns true if and only if this element belongs to a model.
- * See also {@link #getModel getModel()}.
- * @return boolean True if and only if this element belongs to a model.
- */
- public boolean isValid ();
-
- /**
- * Removes this element from the model to which it currently belongs.
- * After calling this method, {@link #getModel getModel()} will return
- * null and {@link #isValid isValid()} will return false.
- * @return boolean True if the element was successfully removed from
- * its model. This method returns false if the element does not belong
- * to any model.
- */
- public boolean remove ();
-
- /**
- * Sets the name of this element and updates the "name" property.
- * Every element includes a property called "name" (see Property.NAME)
- * whose value is the same string as passed into setName().
- * @param name The name of this element.
- */
- public void setName ( String name );
-
- /**
- *
- */
- public void addListener ( ElementListener listener );
-
- /**
- * Returns the name of this element.
- * @return String The name of this element.
- */
- public String getName ();
-
- /**
- * Adds or sets a property of this element.
- * Properties set using this method can be retrieved using either
- * {@link #getProperty getProperty()} or
- * {@link #getPropertyAsObject getPropertyAsObject()}.
- * Every element includes a property called "name" (see Property.NAME)
- * whose value is the same string as passed into {@link #setName setName()}.
- * Any previous property with the same name is replaced.
- * @param property The property to set.
- */
- public void setProperty ( Property property );
-
- /**
- * Adds or sets a property of this element.
- * Properties set using this method can be retrieved using either
- * {@link #getProperty getProperty()} or
- * {@link #getPropertyAsObject getPropertyAsObject()}.
- * Every element includes a property called "name" (see Property.NAME)
- * whose value is the same string as passed into {@link #setName setName()}.
- * Any previous property with the same name is replaced.
- * @param name The name of the property to set.
- * @param value The Object value of the property to set.
- */
- public void setPropertyAsObject ( String name, Object value );
-
- /**
- * Adds or sets a String property of this element.
- * Properties set using this method can be retrieved using either
- * {@link #getProperty getProperty()},
- * {@link #getPropertyAsObject getPropertyAsObject()} or
- * {@link #getPropertyAsString getPropertyAsString()}.
- * Every element includes a property called "name" (see Property.NAME)
- * whose value is the same string as passed into {@link #setName setName()}.
- * Any previous property with the same name is replaced.
- * @param name The name of the property to set.
- * @param value The String value of the property to set.
- */
- public void setPropertyAsString ( String name, String value );
-
- /**
- * Returns a property of the given name or null if there is none.
- * Every element includes a property called "name" (see Property.NAME)
- * whose value is the same string as passed into {@link #setName setName()}.
- * @param name The name of the property to return.
- * @return Property The property, or null if none.
- */
- public Property getProperty ( String name );
-
- /**
- * Returns the Object value of a property of the given name or null
- * if there is none.
- * Every element includes a property called "name" (see Property.NAME)
- * whose value is the same string as passed into {@link #setName setName()}.
- * @param name The name of the property to return.
- * @return Object The property value as an Object, or null if none.
- */
- public Object getPropertyAsObject ( String name );
-
- /**
- * Returns the String value of a property of the given name or null
- * if there is none.
- * Every element includes a property called "name" (see Property.NAME)
- * whose value is the same string as passed into {@link #setName setName()}.
- * @param name The name of the property to return.
- * @return String The property value as a String, or null if none.
- */
- public String getPropertyAsString ( String name );
-
- /**
- * Returns an enumeration of all properties of this element.
- * There is always at least one property that carries the
- * name of this element (see {@link #setName setName()}).
- * @return Enumeration An enumeration of all properties of this element.
- */
- public Enumeration getProperties ();
-
- /**
- * Creates a bidirectional relationship between this element and another.
- * Both relationships are identified by names. The names of all the
- * outbound relationships of a element must be mutually unique.
- * @param element The element to connect to.
- * @param outboundRelName The name of the relationship to contain the
- * connection to the element.
- * @param inboundRelName The name of the relationship to contain the
- * inverse connection back to this element.
- * @return boolean True if the connection is created successfully.
- * Both elements must belong to the same model, other false is returned.
- */
- public boolean connect ( Element element, String outboundRelName, String inboundRelName );
-
- /**
- * Dismantles the connection to another element in a given relationship.
- * The inverse connection is also automatically dismantled.
- * @param element The element to disconnect from.
- * @param outboundRelName The name of the relationship containing
- * the connection to the element.
- * @return boolean True if the connection is removed successfully.
- * Both elements must belong to the same model, other false is returned.
- * If the elements are not connected through the given relationship, then
- * false is returned.
- */
- public boolean disconnect ( Element element, String outboundRelName );
-
- /**
- * Dismantles the connection to all elements in the given relationship.
- * The inverse connections are also automatically dismantled.
- * @param outboundRelName The name of the relationship.
- * @return boolean True if all connections are removed successfully.
- * This method returns false if the element does not belong to a model.
- */
- public boolean disconnectRel ( String outboundRelName );
-
- /**
- * Dismantles all connections from this element.
- * @return boolean True if all connections are removed successfully.
- * This method returns false if the element does not belong to a model.
- */
- public boolean disconnectAll ();
-
- /**
- * Returns an enumeration of all elements
- * connected thru the given relationship.
- * @param relName The name of the relationship.
- * @return Enumeration The elements in the relationship.
- * This method never returns null.
- */
- public Enumeration getElements ( String relName );
-
- /**
- * Returns the number of elements in the given relationship.
- * @param relName The name of the relationship.
- * @return int The number of elements in the relationship.
- * This method never returns a negative value.
- */
-
- public Enumeration getListeners();
-
- public int getNumberOfElements ( String relName );
-
- /**
- * Returns the relationship object of the given name.
- * @param relName The name of the relationship.
- * @return int The relationship. This method never returns null.
- * In other words, any reference to a relationship name automatically
- * brings a corresponding Rel object into existence. Careless naming
- * may result in the {@link #getRels getRels()} method returning an enumeration of
- * more relationships than would be meaningful, efficient or useful.
- */
- public Rel getRel ( String relName );
-
- /**
- * Returns an enumeration of all known relationships.
- * @return Enumeration The outbound relationships of the element.
- * This method never returns null.
- */
- public Enumeration getRels ();
-
-
- /*
- * There is a need sometimes for each element in a model to have a unique identifier.
- * Normally this would be left to a name, but since the element maker gives it its name
- * there is a chance that a model could have two elements with the same name. If they
- * are the same element type then there would be no way to differenciate between the two.
- * The following getter and setter will provide a unique identifier. This identifier will be known
- * as the muid or Model Unique Identifier. Unlike a uuid it will only be assured uniqueness
- * within its own model. The intention is to use a unique number appended to the end
- * of the name.
- * The following is the getter
- * @return String the unique identifier
- */
-
- public String getMUID();
-
-
-
-
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementAdapter.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementAdapter.java
deleted file mode 100644
index ec0cfd8bb..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementAdapter.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* This is where we store all the state data that various UIs
-* (such as the NewWSDLCreationWizard) capture from the user
-* and then need to process.
-*/
-public class ElementAdapter implements ElementListener
-{
- /**
- * Called when a property is added to the model.
- * @param event The event containing the model, property and value.
- */
- public void propertyAdded ( PropertyAddEvent event )
- {
- }
-
- /**
- * Called when a property in the model changes.
- * @param event The event containing the model, property, old value
- * and new value.
- */
- public void propertyChanged ( PropertyChangeEvent event )
- {
- }
-
- /**
- * Called when a property in the model is removed.
- * @param event The event containing the model, property and old value.
- */
- public void propertyRemoved ( PropertyRemoveEvent event )
- {
- }
-
- /**
- * Called when a property is added to the model.
- * @param event The event containing the model, property and value.
- */
- public void relAdded ( RelAddEvent event )
- {
- }
-
- /**
- * Called when a property is added to the model.
- * @param event The event containing the model, property and value.
- */
- public void relRemoved ( RelRemoveEvent event )
- {
- }
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementListener.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementListener.java
deleted file mode 100644
index 44819e36b..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/ElementListener.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* This is where we store all the state data that various UIs
-* (such as the NewWSDLCreationWizard) capture from the user
-* and then need to process.
-*/
-public interface ElementListener
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * Called when a property is added to the model.
- * @param event The event containing the model, property and value.
- */
- public void propertyAdded ( PropertyAddEvent event );
-
- /**
- * Called when a property in the model changes.
- * @param event The event containing the model, property, old value
- * and new value.
- */
- public void propertyChanged ( PropertyChangeEvent event );
-
- /**
- * Called when a property in the model is removed.
- * @param event The event containing the model, property and old value.
- */
- public void propertyRemoved ( PropertyRemoveEvent event );
-
- /**
- * Called when a property is added to the model.
- * @param event The event containing the model, property and value.
- */
- public void relAdded ( RelAddEvent event );
-
- /**
- * Called when a property is added to the model.
- * @param event The event containing the model, property and value.
- */
- public void relRemoved ( RelRemoveEvent event );
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Model.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Model.java
deleted file mode 100644
index 72f297a11..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Model.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-import java.util.Enumeration;
-import java.util.Vector;
-
-/**
-* This is the abstract class for a simple data model consisting of
-* a network of named nodes (class Node). Every node carries a set
-* of named properties (class Property). Nodes are interrelated by
-* relationships (class Rel) and connections (class Connection).
-* Each Model keeps a registry of all of its nodes, and keeps a
-* reference to one "root" node that can be used as a starting
-* point for navigation.
-*/
-public interface Model
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * Sets the name of the model.
- * @param name The name of the model.
- */
- public void setName ( String name );
-
- /**
- * Gets the name of the model.
- * @return String The name of the model. This must not be null.
- */
- public String getName ();
-
- /**
- * Sets a node as the root of the model. If the node does not
- * belong to a model, then it is added automatically. If the
- * node already belongs to another model, then the root node
- * is not set and method returns false.
- * @param root The node to set as the root. The node must
- * belong either to this model or to no model. This must
- * not be null.
- * @return boolean True if the node was set as the root.
- * This method returns false if the given node already belongs
- * to another model.
- */
- public boolean setRootElement ( Element root );
-
- /**
- * Returns the root node. This method always returns a node
- * except on an empty Model. If setRootNode() has not been
- * called, or if the last root node was removed from the model,
- * then the method will select and return an arbitrary node as
- * the root. This method will consistently return the same node
- * until either
- * (a) setRootNode() is called with a different node or
- * (b) removeNode() is called to remove the node from the model.
- * @return Node The current root node, or null if the model is empty.
- */
-
- public Element getRootElement ();
-
- /**
- * Get the elements that have this name
- * @param String name the name of the element
- * @return Vector a vector of elements that have this name
- * These elements may be of different types
- **/
-
- public Vector getElementsByName(String name);
-
- /**
- * Adds a node to the model. If the node already belongs to another
- * model then it will not be added.
- * @param node The node to add. This must not be null.
- * @return boolean True if the node was added successfully.
- * This method returns false if the given node already belongs to
- * the current model or to another model.
- */
- public boolean addElement ( Element element );
-
- /**
- * Removes a node from the model.
- * @param node The node to remove. This must not be null.
- * @return boolean True if the node was removed successfully.
- * This method returns false if the given node does not belong
- * to this model.
- */
- public boolean removeElement ( Element element );
-
- /**
- * Returns an enumeration of all nodes in the model and in no
- * particular order,
- * @return Enumeration An enumeration of all nodes in the model.
- * This method never returns null.
- */
- public Enumeration getElements ();
-
- /**
- * Returns the number of nodes in the model.
- * @return int The number of nodes in the model.
- * This method never returns a negative value.
- */
- public int getNumberOfElements ();
-
- /**
- * Determines if this model contains the given node.
- * @param node The node to check for. This must not be null.
- * @return boolean True if and only if the model contains the node.
- */
- public boolean containsElement ( Element element );
-
- /*
- * This function will provide the next number in the queue for the MUID
- *
- */
- public int getUniqueNumber();
-
- /*
- * heres what we call from the element
- */
- public String makeMUID(String name);
-
-
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Property.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Property.java
deleted file mode 100644
index 8e793ba7c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Property.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* This is the abstract class for properties of a Node.
-* Every property has an immutable name and a value of type Object.
-*/
-public interface Property
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * Every Node has a property called "name" that is equivalent
- * to and kept synchronized with Node.getName() and Node.setName().
- */
- public static final String NAME = "name";
-
- /**
- * Returns a shallow clone of this <code>Property</code>.
- * Property key and value references are cloned,
- * but the value objects themselves are not cloned.
- * @return Property A new Property.
- */
- public Property shallowClone ();
-
- /**
- * Returns the name of this node.
- * @return String The name of this node.
- */
- public String getName ();
-
- /**
- * Sets the value of this property.
- * @param value The value to set. Any previous value is replaced.
- */
- public void setValue ( Object value );
-
- /**
- * Returns the value of this property.
- * @return Object The value of this property, possibly null.
- */
- public Object getValue ();
-
- /**
- * Sets the value of this property as a string.
- * @param value The string to set. Any previous value is replaced.
- * The type of the previous value, if any, is of no consequence.
- */
- public void setValueAsString ( String value );
-
- /**
- * Returns the value of this property as a string.
- * @return String the value of this property as a string, possibly null.
- * If the set value is an arbitrary Object, then Object.toString() is
- * returned.
- */
- public String getValueAsString ();
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyAddEvent.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyAddEvent.java
deleted file mode 100644
index 62fc05805..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyAddEvent.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* Carries data relevant to when a property is added to the model.
-*/
-public class PropertyAddEvent
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * The model the changed.
- */
- protected BasicElement fElement;
-
- /**
- * The property that was added.
- */
- protected Property fProperty;
-
-
- /**
- * Constructor.
- * @param model The model that changed.
- * @param property The property that was added.
- * @param value The property's value.
- */
- public PropertyAddEvent ( BasicElement element, Property property)
- {
- fElement = element;
- fProperty = property;
- }
-
- /**
- * Returns the model that changed (that produced this event).
- * @return TinyModel The model that changed.
- */
- public BasicElement getElement ()
- {
- return fElement;
- }
-
- /**
- * Returns the model property that was added.
- * @return TinyModel The property that was added.
- */
- public Property getProperty ()
- {
- return fProperty;
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyChangeEvent.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyChangeEvent.java
deleted file mode 100644
index 0ade7cb29..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyChangeEvent.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* Carries data relevant to when a property is changed in the model.
-*/
-public class PropertyChangeEvent
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * The model the changed.
- */
- protected BasicElement fElement;
-
- /**
- * The property that changed.
- */
- protected Property fProperty;
-
- /**
- * The property's old value.
- */
- protected Property fOldProperty;
-
- /**
- * Constructor.
- * @param model The model that changed.
- * @param property The property that changed.
- * @param oldValue The property's old value.
- * @param newValue The property's new value.
- */
- public PropertyChangeEvent ( BasicElement element , Property property, Property oldProperty )
- {
- fElement = element;
- fProperty = property;
- fOldProperty = oldProperty;
- }
-
- /**
- * Returns the model that changed (that produced this event).
- * @return TinyModel The model that changed.
- */
- public BasicElement getElement ()
- {
- return fElement;
- }
-
- /**
- * Returns the model property that changed.
- * @return TinyModel The property that changed.
- */
- public Property getProperty ()
- {
- return fProperty;
- }
-
- /**
- * Returns the model property's old value.
- * @return TinyModel The property's old value.
- */
- public Property getOldProperty ()
- {
- return fOldProperty;
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyRemoveEvent.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyRemoveEvent.java
deleted file mode 100644
index be468da8c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/PropertyRemoveEvent.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* Carries data relevant to when a property is removed from the model.
-*/
-public class PropertyRemoveEvent
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * The model the changed.
- */
- protected BasicElement fElement;
-
- /**
- * The property that was removed.
- */
- protected Property fProperty;
-
- /**
- * Constructor.
- * @param model The model that changed.
- * @param property The property that was removed.
- * @param value The property's value.
- */
- public PropertyRemoveEvent ( BasicElement element, Property property)
- {
- fElement = element;
- fProperty = property;
- }
-
- /**
- * Returns the model that changed (that produced this event).
- * @return TinyModel The model that changed.
- */
- public BasicElement getElement ()
- {
- return fElement;
- }
-
- /**
- * Returns the model property that was removed.
- * @return TinyModel The property that was removed.
- */
- public Property getProperty ()
- {
- return fProperty;
- }
-
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Rel.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Rel.java
deleted file mode 100644
index 661a6dfc3..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/Rel.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-import java.util.Enumeration;
-
-/**
-* This is the abstract class for relationships in a Model.
-*/
-public interface Rel
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * Returns the name of this relationship. Relationship names
- * cannot be changed.
- * @return String The name of the relationship.
- */
- public String getName ();
-
- /**
- * Returns the node that owns this relationship.
- * @return Node The node that owns this relationship.
- * This method never returns null, that is, relationships
- * cannot exist in the absence of a node.
- */
- public Element getSourceElement();
-
- /**
- * Returns an enumeration of all nodes in this relationship.
- * @return Enumeration The nodes in this relationship.
- * This method never returns null.
- */
- public Enumeration getTargetElements ();
-
- /**
- * Returns the number of nodes in this relationship.
- * @return int The number of nodes in this relationship.
- * This method never returns a negative value.
- */
- public int getNumberOfTargetElements ();
-
- /**
- * Adds a connection to this relationship. This method is
- * intended for use by derivations of the Model framework,
- * not by users of the framework. Connection objects should
- * only be constructed, added, removed and retrieved by
- * implementations of the Node and Rel interfaces.
- * @param connection The connection to add.
- */
- public void addConnection ( Connection connection );
-
- /**
- * Removes a connection from this relationship. This method is
- * intended for use by derivations of the Model framework,
- * not by users of the framework. Connection objects should
- * only be constructed, added, removed and retrieved by
- * implementations of the Node and Rel interfaces.
- * @param connection The connection to remove.
- * @return boolean True if the connection was found and removed.
- */
- public boolean removeConnection ( Connection connection );
-
- /**
- * Returns the Connection object for the given target node.
- * This method is intended for use by derivations of the Model
- * framework, not by users of the framework. Connection objects
- * should only be constructed, added, removed and retrieved by
- * implementations of the Node and Rel interfaces.
- * @param targetNode The node to find the Connection to.
- * @return Connection The connection, or null if none.
- */
- public Connection getConnectionTo ( Element targetElement );
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelAddEvent.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelAddEvent.java
deleted file mode 100644
index 41a10f739..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelAddEvent.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* Carries data relevant to when a property is added to the model.
-*/
-public class RelAddEvent
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * The model the changed.
- */
- protected Connection fOutBound;
-
- /**
- * The model the changed.
- */
- protected Connection fInBound;
-
- /**
- * The property that was added.
- */
- protected Property fProperty;
-
-
- /**
- * Constructor.
- * @param model The model that changed.
- * @param property The property that was added.
- * @param value The property's value.
- */
- public RelAddEvent (Connection[] pair)
- {
- fOutBound = pair[BasicConnection.OUTBOUND];
- fInBound = pair[BasicConnection.INBOUND];
- }
-
- /**
- * Returns the outbound connection that changed
- **/
- public Connection getOutBoundConnection ()
- {
- return fOutBound;
- }
-
- /**
- * Returns the changed rel name
- **/
- public String getOutBoundRelName()
- {
- return fOutBound.getRel().getName();
- }
-
- /**
- * Returns the changed rel
- **/
- public Rel getOutBoundRel()
- {
- return fOutBound.getRel();
- }
-
- /**
- * Returns the changed rel name
- **/
- public String getInBoundRelName()
- {
- return fInBound.getRel().getName();
- }
-
- /**
- * Returns the changed rel
- **/
- public Rel getInBoundRel()
- {
- return fInBound.getRel();
- }
-
- /**
- * Returns the outbound element that changed
- **/
- public Element getParentElement ()
- {
- return fOutBound.getElement();
- }
-
-
- /**
- * Returns the inbound connection that changed
- **/
- public Element getChildElement ()
- {
- return fInBound.getElement();
- }
-
-
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java
deleted file mode 100644
index d8fa4f764..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.datamodel;
-
-/**
-* Carries data relevant to when a property is added to the model.
-*/
-public class RelRemoveEvent
-{
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * The model the changed.
- */
- protected Connection fOutBound;
-
- /**
- * The model the changed.
- */
- protected Connection fInBound;
-
- /**
- * The property that was added.
- */
- protected Property fProperty;
-
-
- /**
- * Constructor.
- * @param model The model that changed.
- * @param property The property that was added.
- * @param value The property's value.
- */
- public RelRemoveEvent (Connection[] pair)
- {
- fOutBound = pair[BasicConnection.OUTBOUND];
- fInBound = pair[BasicConnection.INBOUND];
- }
-
- /**
- * Returns the model that changed (that produced this event).
- * @return TinyModel The model that changed.
- */
- public Connection getOutBound ()
- {
- return fOutBound;
- }
-
- /**
- * Returns the model property that was added.
- * @return TinyModel The property that was added.
- */
- public Connection getInBound ()
- {
- return fInBound;
- }
-
- /**
- * Returns the changed rel name
- **/
- public String getOutBoundRelName()
- {
- return fOutBound.getRel().getName();
- }
-
- /**
- * Returns the changed rel
- **/
- public Rel getOutBoundRel()
- {
- return fOutBound.getRel();
- }
-
- /**
- * Returns the changed rel name
- **/
- public String getInBoundRelName()
- {
- return fInBound.getRel().getName();
- }
-
- /**
- * Returns the changed rel
- **/
- public Rel getInBoundRel()
- {
- return fInBound.getRel();
- }
-
-
- /**
- * Returns the outbound element that changed
- **/
- public Element getOutBoundElement ()
- {
- return fOutBound.getElement();
- }
-
-
- /**
- * Returns the inbound connection that changed
- **/
- public Element getInboundElement ()
- {
- return fInBound.getElement();
- }
-
-
-
-}
-
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExecutable.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExecutable.java
deleted file mode 100644
index 6877bb9b1..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExecutable.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.ext;
-
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-
-/**
-* All Extensions with exectutable extensions should implement this
-* to fit our framework
-*/
-public interface WebServiceExecutable
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- /**
- *Returns a wizard fragment for this exention type
- *
- */
- public AbstractDataModelOperation getFinishCommand();
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtension.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtension.java
deleted file mode 100644
index 0f932a8ee..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtension.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.ext;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-
-
-/**
-* This represents an extension in the plugin registry
-* It job is to act as a proxy to the iconfigelement
-*/
-public interface WebServiceExtension
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * If the extension has code that needs to be executed or a fragment added
- * @return WebServiceExecutable this interface holds executable code and a
- * fragment
- */
- public Object getWebServiceExecutableExtension();
-
- /**
- * This is the config element that holds the extension info
- * @param IConfigurationElement Extension element
- */
- public void setConfigElement(IConfigurationElement configElement);
-
- /**
- * If the extension has code that
- * @return IConfigurationElement Extension element
- */
- public IConfigurationElement getConfigElement();
-}
-
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionImpl.java
deleted file mode 100644
index c9b0c841c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.ext;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-
-
-
-
-
-/**
-* This represents an extension in the plugin registry
-* It job is to act as a proxy to the iconfigelement
-*/
-public class WebServiceExtensionImpl implements WebServiceExtension
-{
-
- private ILog log_;
-
- /*
- * The ConfigElement that holds extension info
- */
- protected IConfigurationElement configElement_;
-
- /*
- * The extension executable
- */
- protected WebServiceExecutable webServiceExecutable_;
-
-
- public WebServiceExtensionImpl(IConfigurationElement configElement)
- {
- configElement_ = configElement;
- log_ = EnvironmentService.getEclipseLog();
- }
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- /**
- * If the extension has code that needs to be executed or a fragment added
- * @return WebServiceExecutable this interface holds executable code and a
- * fragment
- */
- public Object getWebServiceExecutableExtension()
- {
- if(webServiceExecutable_ != null) return webServiceExecutable_;
-
- try{
- return configElement_.createExecutableExtension("class");
- }catch (CoreException e){
- log_.log(ILog.ERROR, 5029, this, "getWebServiceExecutableExtension",e);
- }
-
- return null;
- }
-
- /**
- * This is the config element that holds the extension info
- * @param IConfigurationElement Extension element
- */
- public void setConfigElement(IConfigurationElement configElement)
- {
- configElement_ = configElement;
- }
-
- /**
- * This is the config element that holds the extension info
- * @return IConfigurationElement Extension element
- */
- public IConfigurationElement getConfigElement()
- {
- return configElement_;
- }
-
- /**
- * The name of the extension being used
- * @return String name of this extension
- */
- public String getName()
- {
- return getConfigElement().getAttribute( "name" );
- }
-
-
-}
-
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistry.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistry.java
deleted file mode 100644
index fd19bcbd9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistry.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.ext;
-
-
-/**
-* Returns the names of the extensions for a given extension-point
-* also returns the extension objects
-*
-*/
-public interface WebServiceExtensionRegistry
-{
-
- /**
- * Returns the names of all registered extensions
- * @return The names of all registered extensions.
- */
- public String[] getWebServiceExtensionNames ();
-
- /**
- * Returns the extension object of the given name
- *@return WebServiceExtension object
- */
- public WebServiceExtension getWebServiceExtensionsByName( String name);
-
- /**
- * Returns All extention objects in this registry
- *@return WebServiceExtension objects
- */
- public WebServiceExtension[] getWebServiceExtensions();
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistryImpl.java
deleted file mode 100644
index f57c7d9e9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/ext/WebServiceExtensionRegistryImpl.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.ext;
-
-import java.util.Hashtable;
-import java.util.Vector;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.wst.ws.internal.data.LabelsAndIds;
-
-
-/**
-* This is a generic registry which sets up general code in handling
-* IConfigElements for an extension
-*/
-public abstract class WebServiceExtensionRegistryImpl implements WebServiceExtensionRegistry
-{
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- private Hashtable nameExtensionTable_;
- private Vector id_;
- private Vector label_;
- private LabelsAndIds labelsandids_;
-
- public WebServiceExtensionRegistryImpl()
- {
- nameExtensionTable_ = new Hashtable();
- label_ = new Vector();
- id_ = new Vector();
- loadExtensions();
- }
-
- /**
- * Children registries will have different extension types
- * @return WebserviceExtension holds a config elem
- * for that extension capable of creating an executable file
- */
- public abstract WebServiceExtension createWebServiceExtension(IConfigurationElement configElement);
-
- /**
- * Children must implement how they get the IConfigurationElement[]
- * @return IConfigurationElement[] an array of elements particular to that
- * extension
- */
- public abstract IConfigurationElement[] getConfigElements();
-
- /*
- * Loads WebServiceExtensions for WebServiceClientTest into this registry.
- * This is done by querying the plugin registry for all extensions
- * that extend webServiceClientTest
- */
- private void loadExtensions ()
- {
- IConfigurationElement[] config = getConfigElements();
-
- for(int idx=0; idx<config.length; idx++)
- {
- IConfigurationElement elem = config[idx];
- String label = elem.getAttribute( "label" );
- String id = elem.getAttribute( "id" );
- WebServiceExtension webServiceExtension = createWebServiceExtension(elem);
- nameExtensionTable_.put(label,webServiceExtension);
- label_.add(label);
- id_.add(id);
- }
- }
-
- /**
- * Returns the names of all registered extensions
- * @return The names of all registered extensions.
- */
- public String[] getWebServiceExtensionNames ()
- {
- return (String[])nameExtensionTable_.keySet().toArray( new String[0] );
- }
-
- /**
- * Return the names and Ids
- */
- public LabelsAndIds getLabelsAndIDs()
- {
- labelsandids_ = new LabelsAndIds();
- labelsandids_.setLabels_((String[])label_.toArray( new String[0] ));
- labelsandids_.setIds_((String[])id_.toArray( new String[0] ));
- return labelsandids_;
- }
-
- /**
- * Returns the extension object of the given name
- * @return WebServiceExtension object
- */
- public WebServiceExtension getWebServiceExtensionsByName( String name)
- {
- return (WebServiceExtension)nameExtensionTable_.get(name);
- }
-
- /**
- * Returns All extention objects in this registry
- *@return WebServiceExtension objects
- */
- public WebServiceExtension[] getWebServiceExtensions()
- {
- return (WebServiceExtension[])nameExtensionTable_.values().toArray( new WebServiceExtension[0] );
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractClientFragment.java
deleted file mode 100644
index 8e277ffe5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractClientFragment.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFactoryFragment;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
-
-public abstract class AbstractClientFragment extends CommandFactoryFragment
-{
- protected IWebServiceClient webServiceClient_;
- protected IEnvironment environment_;
- protected IContext context_;
- protected ISelection selection_;
- protected String project_;
- protected String module_;
- protected String earProject_;
- protected String ear_;
-
- public AbstractClientFragment()
- {
- }
-
- protected AbstractClientFragment( AbstractClientFragment fragment )
- {
- super( fragment );
-
- webServiceClient_ = fragment.webServiceClient_;
- environment_ = fragment.environment_;
- context_ = fragment.context_;
- selection_ = fragment.selection_;
- module_ = fragment.module_;
- ear_ = fragment.ear_;
- }
-
- public void setWebService( IWebServiceClient webService )
- {
- webServiceClient_ = webService;
- }
-
- public void setEnvironment( IEnvironment environment )
- {
- environment_ = environment;
- }
-
- public void setContext( IContext context )
- {
- context_ = context;
- }
-
- public void setSelection( ISelection selection )
- {
- selection_ = selection;
- }
-
- public void setProject( String project)
- {
- project_ = project;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setEarProject(String earProject)
- {
- earProject_ = earProject;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractServiceFragment.java
deleted file mode 100644
index 47f6d7c58..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractServiceFragment.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFactoryFragment;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-import org.eclipse.wst.ws.internal.wsrt.ISelection;
-import org.eclipse.wst.ws.internal.wsrt.IWebService;
-
-public abstract class AbstractServiceFragment extends CommandFactoryFragment
-{
- protected IWebService webService_;
- protected IEnvironment environment_;
- protected IContext context_;
- protected ISelection selection_;
- protected String project_;
- protected String module_;
- protected String earProject_;
- protected String ear_;
-
- public AbstractServiceFragment()
- {
- }
-
- protected AbstractServiceFragment( AbstractServiceFragment fragment )
- {
- super( fragment );
-
- webService_ = fragment.webService_;
- environment_ = fragment.environment_;
- context_ = fragment.context_;
- selection_ = fragment.selection_;
- module_ = fragment.module_;
- ear_ = fragment.ear_;
- }
-
- public void setWebService( IWebService webService )
- {
- webService_ = webService;
- }
-
- public void setEnvironment( IEnvironment environment )
- {
- environment_ = environment;
- }
-
- public void setContext( IContext context )
- {
- context_ = context;
- }
-
- public void setSelection( ISelection selection )
- {
- selection_ = selection;
- }
-
- public void setProject( String project)
- {
- project_ = project;
- }
-
- public void setModule( String module )
- {
- module_ = module;
- }
-
- public void setEarProject(String earProject)
- {
- earProject_ = earProject;
- }
-
- public void setEar( String ear )
- {
- ear_ = ear;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleClientFragment.java
deleted file mode 100644
index 322b53ff9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleClientFragment.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-
-public class AssembleClientFragment extends AbstractClientFragment
-{
- public AssembleClientFragment()
- {
- }
-
- protected AssembleClientFragment( AssembleClientFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new AssembleClientFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webServiceClient_ == null || context_ == null || !context_.getAssemble())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webServiceClient_.assemble( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleServiceFragment.java
deleted file mode 100644
index 07c9d8954..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleServiceFragment.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-
-public class AssembleServiceFragment extends AbstractServiceFragment
-{
- public AssembleServiceFragment()
- {
- }
-
- protected AssembleServiceFragment( AssembleServiceFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new AssembleServiceFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webService_ == null || context_ == null || !context_.getAssemble())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webService_.assemble( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployClientFragment.java
deleted file mode 100644
index 16efc2026..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployClientFragment.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-
-public class DeployClientFragment extends AbstractClientFragment
-{
- public DeployClientFragment()
- {
- }
-
- protected DeployClientFragment( DeployClientFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new DeployClientFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webServiceClient_ == null || context_ == null || !context_.getDeploy())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webServiceClient_.deploy( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployServiceFragment.java
deleted file mode 100644
index 29be99f65..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployServiceFragment.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-
-public class DeployServiceFragment extends AbstractServiceFragment
-{
- public DeployServiceFragment()
- {
- }
-
- protected DeployServiceFragment( DeployServiceFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new DeployServiceFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webService_ == null || context_ == null || !context_.getDeploy())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webService_.deploy( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopClientFragment.java
deleted file mode 100644
index fdf8e283f..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopClientFragment.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-
-public class DevelopClientFragment extends AbstractClientFragment
-{
- public DevelopClientFragment()
- {
- }
-
- protected DevelopClientFragment( DevelopClientFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new DevelopClientFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webServiceClient_ == null || context_ == null || !context_.getDevelop() )
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webServiceClient_.develop( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopServiceFragment.java
deleted file mode 100644
index 035386dc7..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopServiceFragment.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-
-public class DevelopServiceFragment extends AbstractServiceFragment
-{
- public DevelopServiceFragment()
- {
- }
-
- protected DevelopServiceFragment( DevelopServiceFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new DevelopServiceFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webService_ == null || context_ == null || !context_.getDevelop())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webService_.develop( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallClientFragment.java
deleted file mode 100644
index 3a637eb80..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallClientFragment.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-
-public class InstallClientFragment extends AbstractClientFragment
-{
- private IContext context_;
-
- public InstallClientFragment()
- {
- }
-
- protected InstallClientFragment( InstallClientFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new InstallClientFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webServiceClient_ == null || context_ == null || !context_.getInstall())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webServiceClient_.install( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallServiceFragment.java
deleted file mode 100644
index 6d7e64076..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallServiceFragment.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-
-public class InstallServiceFragment extends AbstractServiceFragment
-{
- private IContext context_;
-
- public InstallServiceFragment()
- {
- }
-
- protected InstallServiceFragment( InstallServiceFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new InstallServiceFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webService_ == null || context_ == null || !context_.getInstall())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webService_.install( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunClientFragment.java
deleted file mode 100644
index 7219b684f..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunClientFragment.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-
-public class RunClientFragment extends AbstractClientFragment
-{
- private IContext context_;
-
- public RunClientFragment()
- {
- }
-
- protected RunClientFragment( RunClientFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new RunClientFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webServiceClient_ == null || context_ == null || !context_.getRun())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webServiceClient_.run( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunServiceFragment.java
deleted file mode 100644
index 95fe8959f..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunServiceFragment.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.extensions;
-
-import java.util.Vector;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
-import org.eclipse.wst.ws.internal.wsrt.IContext;
-
-public class RunServiceFragment extends AbstractServiceFragment
-{
-
- private IContext context_;
-
- public RunServiceFragment()
- {
- }
-
- protected RunServiceFragment( RunServiceFragment fragment )
- {
- super( fragment );
- }
-
- public Object clone()
- {
- return new RunServiceFragment();
- }
-
- public ICommandFactory getICommandFactory()
- {
- ICommandFactory factory = null;
-
- if( webService_ == null || context_ == null || !context_.getRun())
- {
- factory = new SimpleCommandFactory( new Vector() );
- }
- else
- {
- factory = webService_.run( environment_, context_, selection_, project_, earProject_);
- }
-
- return factory;
- }
-
- public void setContext(IContext context)
- {
- context_=context;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Description.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Description.java
deleted file mode 100644
index a080742c0..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Description.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Description.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Description</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Description#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Description#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDescription()
- * @model
- * @generated
- */
-public interface Description extends EObject {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDescription_Value()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.Description#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * Returns the value of the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lang</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lang</em>' attribute.
- * @see #setLang(String)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDescription_Lang()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language"
- * @generated
- */
- String getLang();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.Description#getLang <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lang</em>' attribute.
- * @see #getLang()
- * @generated
- */
- void setLang(String value);
-
-} // Description
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/DocumentRoot.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/DocumentRoot.java
deleted file mode 100644
index 2308826a5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/DocumentRoot.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRoot.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getRegistry <em>Registry</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDocumentRoot()
- * @model
- * @generated
- */
-public interface DocumentRoot extends EObject {
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' containment reference.
- * @see #setDescription(Description)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDocumentRoot_Description()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Description getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getDescription <em>Description</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' containment reference.
- * @see #getDescription()
- * @generated
- */
- void setDescription(Description value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' containment reference.
- * @see #setName(Name)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDocumentRoot_Name()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Name getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getName <em>Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' containment reference.
- * @see #getName()
- * @generated
- */
- void setName(Name value);
-
- /**
- * Returns the value of the '<em><b>Registry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Registry</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Registry</em>' containment reference.
- * @see #setRegistry(Registry)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getDocumentRoot_Registry()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Registry getRegistry();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getRegistry <em>Registry</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Registry</em>' containment reference.
- * @see #getRegistry()
- * @generated
- */
- void setRegistry(Registry value);
-
-} // DocumentRoot
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Name.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Name.java
deleted file mode 100644
index 1c3dd398c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Name.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Name.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Name#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Name#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getName_()
- * @model
- * @generated
- */
-public interface Name extends EObject {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getName_Value()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.Name#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * Returns the value of the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lang</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lang</em>' attribute.
- * @see #setLang(String)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getName_Lang()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language"
- * @generated
- */
- String getLang();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.Name#getLang <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lang</em>' attribute.
- * @see #getLang()
- * @generated
- */
- void setLang(String value);
-
-} // Name
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Registry.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Registry.java
deleted file mode 100644
index e992da0f8..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/Registry.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Registry.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Registry</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getLocation <em>Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getRef <em>Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getRegistry()
- * @model
- * @generated
- */
-public interface Registry extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.registry.Name}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getRegistry_Name()
- * @model type="org.eclipse.wst.ws.internal.model.v10.registry.Name" containment="true" resolveProxies="false" required="true"
- * @generated
- */
- EList getName();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.registry.Description}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getRegistry_Description()
- * @model type="org.eclipse.wst.ws.internal.model.v10.registry.Description" containment="true" resolveProxies="false" required="true"
- * @generated
- */
- EList getDescription();
-
- /**
- * Returns the value of the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' attribute.
- * @see #setId(String)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getRegistry_Id()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
- * @generated
- */
- String getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' attribute.
- * @see #getId()
- * @generated
- */
- void setId(String value);
-
- /**
- * Returns the value of the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Location</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Location</em>' attribute.
- * @see #setLocation(String)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getRegistry_Location()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
- * @generated
- */
- String getLocation();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getLocation <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Location</em>' attribute.
- * @see #getLocation()
- * @generated
- */
- void setLocation(String value);
-
- /**
- * Returns the value of the '<em><b>Ref</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ref</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ref</em>' attribute.
- * @see #setRef(String)
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#getRegistry_Ref()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
- * @generated
- */
- String getRef();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getRef <em>Ref</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ref</em>' attribute.
- * @see #getRef()
- * @generated
- */
- void setRef(String value);
-
-} // Registry
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryFactory.java
deleted file mode 100644
index dc241326a..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryFactory.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryFactory.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage
- * @generated
- */
-public interface RegistryFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- RegistryFactory eINSTANCE = new org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Description</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Description</em>'.
- * @generated
- */
- Description createDescription();
-
- /**
- * Returns a new object of class '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Document Root</em>'.
- * @generated
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns a new object of class '<em>Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Name</em>'.
- * @generated
- */
- Name createName();
-
- /**
- * Returns a new object of class '<em>Registry</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Registry</em>'.
- * @generated
- */
- Registry createRegistry();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- RegistryPackage getRegistryPackage();
-
-} //RegistryFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryPackage.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryPackage.java
deleted file mode 100644
index b08f1e536..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/RegistryPackage.java
+++ /dev/null
@@ -1,570 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryPackage.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * See http://www.w3.org/XML/1998/namespace.html and
- * http://www.w3.org/TR/REC-xml for information about this namespace.
- *
- * This schema document describes the XML namespace, in a form
- * suitable for import by other schema documents.
- *
- * Note that local names in this namespace are intended to be defined
- * only by the World Wide Web Consortium or its subgroups. The
- * following names are currently defined in this namespace and should
- * not be used with conflicting semantics by any Working Group,
- * specification, or document instance:
- *
- * base (as an attribute name): denotes an attribute whose value
- * provides a URI to be used as the base for interpreting any
- * relative URIs in the scope of the element on which it
- * appears; its value is inherited. This name is reserved
- * by virtue of its definition in the XML Base specification.
- *
- * id (as an attribute name): denotes an attribute whose value
- * should be interpreted as if declared to be of type ID.
- * The xml:id specification is not yet a W3C Recommendation,
- * but this attribute is included here to facilitate experimentation
- * with the mechanisms it proposes. Note that it is _not_ included
- * in the specialAttrs attribute group.
- *
- * lang (as an attribute name): denotes an attribute whose value
- * is a language code for the natural language of the content of
- * any element; its value is inherited. This name is reserved
- * by virtue of its definition in the XML specification.
- *
- * space (as an attribute name): denotes an attribute whose
- * value is a keyword indicating what whitespace processing
- * discipline is intended for the content of the element; its
- * value is inherited. This name is reserved by virtue of its
- * definition in the XML specification.
- *
- * Father (in any context at all): denotes Jon Bosak, the chair of
- * the original XML Working Group. This name is reserved by
- * the following decision of the W3C XML Plenary and
- * XML Coordination groups:
- *
- * In appreciation for his vision, leadership and dedication
- * the W3C XML Plenary on this 10th day of February, 2000
- * reserves for Jon Bosak in perpetuity the XML name
- * xml:Father
- *
- * This schema defines attributes and an attribute group
- * suitable for use by
- * schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
- * attributes on elements they define.
- *
- * To enable this, such a schema must import this schema
- * for the XML namespace, e.g. as follows:
- * &lt;schema . . .&gt;
- * . . .
- * &lt;import namespace="http://www.w3.org/XML/1998/namespace"
- * schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
- *
- * Subsequently, qualified reference to any of the attributes
- * or the group defined below will have the desired effect, e.g.
- *
- * &lt;type . . .&gt;
- * . . .
- * &lt;attributeGroup ref="xml:specialAttrs"/&gt;
- *
- * will define a type which will schema-validate an instance
- * element with any of those attributes
- * In keeping with the XML Schema WG's standard versioning
- * policy, this schema document will persist at
- * http://www.w3.org/2005/08/xml.xsd.
- * At the date of issue it can also be found at
- * http://www.w3.org/2001/xml.xsd.
- * The schema document at that URI may however change in the future,
- * in order to remain compatible with the latest version of XML Schema
- * itself, or with the XML namespace itself. In other words, if the XML
- * Schema or XML namespaces change, the version of this document at
- * http://www.w3.org/2001/xml.xsd will change
- * accordingly; the version at
- * http://www.w3.org/2005/08/xml.xsd will not change.
- *
- * <!-- end-model-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryFactory
- * @generated
- */
-public interface RegistryPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "registry";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://eclipse.org/wst/ws/internal/model/v10/registry";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "registry";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- RegistryPackage eINSTANCE = org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DescriptionImpl <em>Description</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.DescriptionImpl
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl#getDescription()
- * @generated
- */
- int DESCRIPTION = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DESCRIPTION__VALUE = 0;
-
- /**
- * The feature id for the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DESCRIPTION__LANG = 1;
-
- /**
- * The number of structural features of the the '<em>Description</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DESCRIPTION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 1;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__MIXED = 0;
-
- /**
- * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
-
- /**
- * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__DESCRIPTION = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__NAME = 4;
-
- /**
- * The feature id for the '<em><b>Registry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__REGISTRY = 5;
-
- /**
- * The number of structural features of the the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.NameImpl <em>Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.NameImpl
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl#getName_()
- * @generated
- */
- int NAME = 2;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME__VALUE = 0;
-
- /**
- * The feature id for the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME__LANG = 1;
-
- /**
- * The number of structural features of the the '<em>Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl <em>Registry</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl
- * @see org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl#getRegistry()
- * @generated
- */
- int REGISTRY = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REGISTRY__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REGISTRY__DESCRIPTION = 1;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REGISTRY__ID = 2;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REGISTRY__LOCATION = 3;
-
- /**
- * The feature id for the '<em><b>Ref</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REGISTRY__REF = 4;
-
- /**
- * The number of structural features of the the '<em>Registry</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REGISTRY_FEATURE_COUNT = 5;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Description <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Description</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Description
- * @generated
- */
- EClass getDescription();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.registry.Description#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Description#getValue()
- * @see #getDescription()
- * @generated
- */
- EAttribute getDescription_Value();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.registry.Description#getLang <em>Lang</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Lang</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Description#getLang()
- * @see #getDescription()
- * @generated
- */
- EAttribute getDescription_Lang();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XSI Schema Location</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Description</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getDescription()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Description();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getName()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getRegistry <em>Registry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Registry</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot#getRegistry()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Registry();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Name <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Name
- * @generated
- */
- EClass getName_();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.registry.Name#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Name#getValue()
- * @see #getName_()
- * @generated
- */
- EAttribute getName_Value();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.registry.Name#getLang <em>Lang</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Lang</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Name#getLang()
- * @see #getName_()
- * @generated
- */
- EAttribute getName_Lang();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry <em>Registry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Registry</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry
- * @generated
- */
- EClass getRegistry();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry#getName()
- * @see #getRegistry()
- * @generated
- */
- EReference getRegistry_Name();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Description</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry#getDescription()
- * @see #getRegistry()
- * @generated
- */
- EReference getRegistry_Description();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry#getId()
- * @see #getRegistry()
- * @generated
- */
- EAttribute getRegistry_Id();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getLocation <em>Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry#getLocation()
- * @see #getRegistry()
- * @generated
- */
- EAttribute getRegistry_Location();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry#getRef <em>Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Ref</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry#getRef()
- * @see #getRegistry()
- * @generated
- */
- EAttribute getRegistry_Ref();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- RegistryFactory getRegistryFactory();
-
-} //RegistryPackage
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DescriptionImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DescriptionImpl.java
deleted file mode 100644
index 611d94753..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DescriptionImpl.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DescriptionImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Description;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Description</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DescriptionImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DescriptionImpl#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DescriptionImpl extends EObjectImpl implements Description {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected static final String LANG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected String lang = LANG_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DescriptionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RegistryPackage.eINSTANCE.getDescription();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RegistryPackage.DESCRIPTION__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLang() {
- return lang;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLang(String newLang) {
- String oldLang = lang;
- lang = newLang;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RegistryPackage.DESCRIPTION__LANG, oldLang, lang));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DESCRIPTION__VALUE:
- return getValue();
- case RegistryPackage.DESCRIPTION__LANG:
- return getLang();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DESCRIPTION__VALUE:
- setValue((String)newValue);
- return;
- case RegistryPackage.DESCRIPTION__LANG:
- setLang((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DESCRIPTION__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- case RegistryPackage.DESCRIPTION__LANG:
- setLang(LANG_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DESCRIPTION__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- case RegistryPackage.DESCRIPTION__LANG:
- return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(", lang: ");
- result.append(lang);
- result.append(')');
- return result.toString();
- }
-
-} //DescriptionImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DocumentRootImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DocumentRootImpl.java
deleted file mode 100644
index 9a32e38c9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/DocumentRootImpl.java
+++ /dev/null
@@ -1,367 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Description;
-import org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.registry.Name;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.DocumentRootImpl#getRegistry <em>Registry</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMixed()
- * @generated
- * @ordered
- */
- protected FeatureMap mixed = null;
-
- /**
- * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXMLNSPrefixMap()
- * @generated
- * @ordered
- */
- protected EMap xMLNSPrefixMap = null;
-
- /**
- * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXSISchemaLocation()
- * @generated
- * @ordered
- */
- protected EMap xSISchemaLocation = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RegistryPackage.eINSTANCE.getDocumentRoot();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, RegistryPackage.DOCUMENT_ROOT__MIXED);
- }
- return mixed;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXMLNSPrefixMap() {
- if (xMLNSPrefixMap == null) {
- xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, RegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- }
- return xMLNSPrefixMap;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXSISchemaLocation() {
- if (xSISchemaLocation == null) {
- xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, RegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Description getDescription() {
- return (Description)getMixed().get(RegistryPackage.eINSTANCE.getDocumentRoot_Description(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(RegistryPackage.eINSTANCE.getDocumentRoot_Description(), newDescription, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(Description newDescription) {
- ((FeatureMap.Internal)getMixed()).set(RegistryPackage.eINSTANCE.getDocumentRoot_Description(), newDescription);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Name getName() {
- return (Name)getMixed().get(RegistryPackage.eINSTANCE.getDocumentRoot_Name(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetName(Name newName, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(RegistryPackage.eINSTANCE.getDocumentRoot_Name(), newName, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(Name newName) {
- ((FeatureMap.Internal)getMixed()).set(RegistryPackage.eINSTANCE.getDocumentRoot_Name(), newName);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Registry getRegistry() {
- return (Registry)getMixed().get(RegistryPackage.eINSTANCE.getDocumentRoot_Registry(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRegistry(Registry newRegistry, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(RegistryPackage.eINSTANCE.getDocumentRoot_Registry(), newRegistry, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRegistry(Registry newRegistry) {
- ((FeatureMap.Internal)getMixed()).set(RegistryPackage.eINSTANCE.getDocumentRoot_Registry(), newRegistry);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case RegistryPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
- case RegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case RegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case RegistryPackage.DOCUMENT_ROOT__DESCRIPTION:
- return basicSetDescription(null, msgs);
- case RegistryPackage.DOCUMENT_ROOT__NAME:
- return basicSetName(null, msgs);
- case RegistryPackage.DOCUMENT_ROOT__REGISTRY:
- return basicSetRegistry(null, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DOCUMENT_ROOT__MIXED:
- return getMixed();
- case RegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return getXMLNSPrefixMap();
- case RegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return getXSISchemaLocation();
- case RegistryPackage.DOCUMENT_ROOT__DESCRIPTION:
- return getDescription();
- case RegistryPackage.DOCUMENT_ROOT__NAME:
- return getName();
- case RegistryPackage.DOCUMENT_ROOT__REGISTRY:
- return getRegistry();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- getMixed().addAll((Collection)newValue);
- return;
- case RegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- getXMLNSPrefixMap().addAll((Collection)newValue);
- return;
- case RegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- getXSISchemaLocation().addAll((Collection)newValue);
- return;
- case RegistryPackage.DOCUMENT_ROOT__DESCRIPTION:
- setDescription((Description)newValue);
- return;
- case RegistryPackage.DOCUMENT_ROOT__NAME:
- setName((Name)newValue);
- return;
- case RegistryPackage.DOCUMENT_ROOT__REGISTRY:
- setRegistry((Registry)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case RegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case RegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case RegistryPackage.DOCUMENT_ROOT__DESCRIPTION:
- setDescription((Description)null);
- return;
- case RegistryPackage.DOCUMENT_ROOT__NAME:
- setName((Name)null);
- return;
- case RegistryPackage.DOCUMENT_ROOT__REGISTRY:
- setRegistry((Registry)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case RegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case RegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case RegistryPackage.DOCUMENT_ROOT__DESCRIPTION:
- return getDescription() != null;
- case RegistryPackage.DOCUMENT_ROOT__NAME:
- return getName() != null;
- case RegistryPackage.DOCUMENT_ROOT__REGISTRY:
- return getRegistry() != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (mixed: ");
- result.append(mixed);
- result.append(')');
- return result.toString();
- }
-
-} //DocumentRootImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/NameImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/NameImpl.java
deleted file mode 100644
index eccef768c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/NameImpl.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: NameImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Name;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.NameImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.NameImpl#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NameImpl extends EObjectImpl implements Name {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected static final String LANG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected String lang = LANG_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NameImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RegistryPackage.eINSTANCE.getName_();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RegistryPackage.NAME__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLang() {
- return lang;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLang(String newLang) {
- String oldLang = lang;
- lang = newLang;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RegistryPackage.NAME__LANG, oldLang, lang));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.NAME__VALUE:
- return getValue();
- case RegistryPackage.NAME__LANG:
- return getLang();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.NAME__VALUE:
- setValue((String)newValue);
- return;
- case RegistryPackage.NAME__LANG:
- setLang((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.NAME__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- case RegistryPackage.NAME__LANG:
- setLang(LANG_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.NAME__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- case RegistryPackage.NAME__LANG:
- return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(", lang: ");
- result.append(lang);
- result.append(')');
- return result.toString();
- }
-
-} //NameImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryFactoryImpl.java
deleted file mode 100644
index 3cf2c1690..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryFactoryImpl.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryFactoryImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class RegistryFactoryImpl extends EFactoryImpl implements RegistryFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RegistryFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case RegistryPackage.DESCRIPTION: return createDescription();
- case RegistryPackage.DOCUMENT_ROOT: return createDocumentRoot();
- case RegistryPackage.NAME: return createName();
- case RegistryPackage.REGISTRY: return createRegistry();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Description createDescription() {
- DescriptionImpl description = new DescriptionImpl();
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DocumentRoot createDocumentRoot() {
- DocumentRootImpl documentRoot = new DocumentRootImpl();
- return documentRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Name createName() {
- NameImpl name = new NameImpl();
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Registry createRegistry() {
- RegistryImpl registry = new RegistryImpl();
- return registry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RegistryPackage getRegistryPackage() {
- return (RegistryPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static RegistryPackage getPackage() {
- return RegistryPackage.eINSTANCE;
- }
-
-} //RegistryFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryImpl.java
deleted file mode 100644
index a171e7f5e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryImpl.java
+++ /dev/null
@@ -1,368 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Description;
-import org.eclipse.wst.ws.internal.model.v10.registry.Name;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Registry</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl#getLocation <em>Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl#getRef <em>Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RegistryImpl extends EObjectImpl implements Registry {
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected EList name = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected EList description = null;
-
- /**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected static final String ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected String id = ID_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected String location = LOCATION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getRef() <em>Ref</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRef()
- * @generated
- * @ordered
- */
- protected static final String REF_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getRef() <em>Ref</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRef()
- * @generated
- * @ordered
- */
- protected String ref = REF_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RegistryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RegistryPackage.eINSTANCE.getRegistry();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getName() {
- if (name == null) {
- name = new EObjectContainmentEList(Name.class, this, RegistryPackage.REGISTRY__NAME);
- }
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDescription() {
- if (description == null) {
- description = new EObjectContainmentEList(Description.class, this, RegistryPackage.REGISTRY__DESCRIPTION);
- }
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getId() {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(String newId) {
- String oldId = id;
- id = newId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RegistryPackage.REGISTRY__ID, oldId, id));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocation() {
- return location;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocation(String newLocation) {
- String oldLocation = location;
- location = newLocation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RegistryPackage.REGISTRY__LOCATION, oldLocation, location));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getRef() {
- return ref;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRef(String newRef) {
- String oldRef = ref;
- ref = newRef;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RegistryPackage.REGISTRY__REF, oldRef, ref));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case RegistryPackage.REGISTRY__NAME:
- return ((InternalEList)getName()).basicRemove(otherEnd, msgs);
- case RegistryPackage.REGISTRY__DESCRIPTION:
- return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.REGISTRY__NAME:
- return getName();
- case RegistryPackage.REGISTRY__DESCRIPTION:
- return getDescription();
- case RegistryPackage.REGISTRY__ID:
- return getId();
- case RegistryPackage.REGISTRY__LOCATION:
- return getLocation();
- case RegistryPackage.REGISTRY__REF:
- return getRef();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.REGISTRY__NAME:
- getName().clear();
- getName().addAll((Collection)newValue);
- return;
- case RegistryPackage.REGISTRY__DESCRIPTION:
- getDescription().clear();
- getDescription().addAll((Collection)newValue);
- return;
- case RegistryPackage.REGISTRY__ID:
- setId((String)newValue);
- return;
- case RegistryPackage.REGISTRY__LOCATION:
- setLocation((String)newValue);
- return;
- case RegistryPackage.REGISTRY__REF:
- setRef((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.REGISTRY__NAME:
- getName().clear();
- return;
- case RegistryPackage.REGISTRY__DESCRIPTION:
- getDescription().clear();
- return;
- case RegistryPackage.REGISTRY__ID:
- setId(ID_EDEFAULT);
- return;
- case RegistryPackage.REGISTRY__LOCATION:
- setLocation(LOCATION_EDEFAULT);
- return;
- case RegistryPackage.REGISTRY__REF:
- setRef(REF_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RegistryPackage.REGISTRY__NAME:
- return name != null && !name.isEmpty();
- case RegistryPackage.REGISTRY__DESCRIPTION:
- return description != null && !description.isEmpty();
- case RegistryPackage.REGISTRY__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
- case RegistryPackage.REGISTRY__LOCATION:
- return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
- case RegistryPackage.REGISTRY__REF:
- return REF_EDEFAULT == null ? ref != null : !REF_EDEFAULT.equals(ref);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (id: ");
- result.append(id);
- result.append(", location: ");
- result.append(location);
- result.append(", ref: ");
- result.append(ref);
- result.append(')');
- return result.toString();
- }
-
-} //RegistryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryPackageImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryPackageImpl.java
deleted file mode 100644
index 23f9beff3..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/impl/RegistryPackageImpl.java
+++ /dev/null
@@ -1,586 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryPackageImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Description;
-import org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.registry.Name;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryFactory;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class RegistryPackageImpl extends EPackageImpl implements RegistryPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass descriptionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentRootEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass registryEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private RegistryPackageImpl() {
- super(eNS_URI, RegistryFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static RegistryPackage init() {
- if (isInited) return (RegistryPackage)EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI);
-
- // Obtain or create and register package
- RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof RegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new RegistryPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackageImpl.init();
-
- // Obtain or create and register interdependencies
- RTIndexPackageImpl theRTIndexPackage = (RTIndexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) instanceof RTIndexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) : RTIndexPackageImpl.eINSTANCE);
- TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) instanceof TaxonomyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) : TaxonomyPackageImpl.eINSTANCE);
- UDDIRegistryPackageImpl theUDDIRegistryPackage = (UDDIRegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) instanceof UDDIRegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) : UDDIRegistryPackageImpl.eINSTANCE);
-
- // Create package meta-data objects
- theRegistryPackage.createPackageContents();
- theRTIndexPackage.createPackageContents();
- theTaxonomyPackage.createPackageContents();
- theUDDIRegistryPackage.createPackageContents();
-
- // Initialize created meta-data
- theRegistryPackage.initializePackageContents();
- theRTIndexPackage.initializePackageContents();
- theTaxonomyPackage.initializePackageContents();
- theUDDIRegistryPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theRegistryPackage.freeze();
-
- return theRegistryPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDescription() {
- return descriptionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDescription_Value() {
- return (EAttribute)descriptionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDescription_Lang() {
- return (EAttribute)descriptionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentRoot() {
- return documentRootEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_Mixed() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XMLNSPrefixMap() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XSISchemaLocation() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Description() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Name() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Registry() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getName_() {
- return nameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getName_Value() {
- return (EAttribute)nameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getName_Lang() {
- return (EAttribute)nameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRegistry() {
- return registryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRegistry_Name() {
- return (EReference)registryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRegistry_Description() {
- return (EReference)registryEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRegistry_Id() {
- return (EAttribute)registryEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRegistry_Location() {
- return (EAttribute)registryEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRegistry_Ref() {
- return (EAttribute)registryEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RegistryFactory getRegistryFactory() {
- return (RegistryFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- descriptionEClass = createEClass(DESCRIPTION);
- createEAttribute(descriptionEClass, DESCRIPTION__VALUE);
- createEAttribute(descriptionEClass, DESCRIPTION__LANG);
-
- documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__DESCRIPTION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__NAME);
- createEReference(documentRootEClass, DOCUMENT_ROOT__REGISTRY);
-
- nameEClass = createEClass(NAME);
- createEAttribute(nameEClass, NAME__VALUE);
- createEAttribute(nameEClass, NAME__LANG);
-
- registryEClass = createEClass(REGISTRY);
- createEReference(registryEClass, REGISTRY__NAME);
- createEReference(registryEClass, REGISTRY__DESCRIPTION);
- createEAttribute(registryEClass, REGISTRY__ID);
- createEAttribute(registryEClass, REGISTRY__LOCATION);
- createEAttribute(registryEClass, REGISTRY__REF);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDescription_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDescription_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Description(), this.getDescription(), null, "description", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Name(), this.getName_(), null, "name", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Registry(), this.getRegistry(), null, "registry", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(nameEClass, Name.class, "Name", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getName_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getName_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(registryEClass, org.eclipse.wst.ws.internal.model.v10.registry.Registry.class, "Registry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRegistry_Name(), this.getName_(), null, "name", null, 1, -1, org.eclipse.wst.ws.internal.model.v10.registry.Registry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getRegistry_Description(), this.getDescription(), null, "description", null, 1, -1, org.eclipse.wst.ws.internal.model.v10.registry.Registry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRegistry_Id(), theXMLTypePackage.getAnyURI(), "id", null, 0, 1, org.eclipse.wst.ws.internal.model.v10.registry.Registry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRegistry_Location(), theXMLTypePackage.getAnyURI(), "location", null, 0, 1, org.eclipse.wst.ws.internal.model.v10.registry.Registry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRegistry_Ref(), theXMLTypePackage.getAnyURI(), "ref", null, 0, 1, org.eclipse.wst.ws.internal.model.v10.registry.Registry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (descriptionEClass,
- source,
- new String[] {
- "name", "Description",
- "kind", "simple"
- });
- addAnnotation
- (getDescription_Value(),
- source,
- new String[] {
- "name", ":0",
- "kind", "simple"
- });
- addAnnotation
- (getDescription_Lang(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "lang",
- "namespace", "http://www.w3.org/XML/1998/namespace"
- });
- addAnnotation
- (documentRootEClass,
- source,
- new String[] {
- "name", "",
- "kind", "mixed"
- });
- addAnnotation
- (getDocumentRoot_Mixed(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "name", ":mixed"
- });
- addAnnotation
- (getDocumentRoot_XMLNSPrefixMap(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xmlns:prefix"
- });
- addAnnotation
- (getDocumentRoot_XSISchemaLocation(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xsi:schemaLocation"
- });
- addAnnotation
- (getDocumentRoot_Description(),
- source,
- new String[] {
- "kind", "element",
- "name", "description",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_Registry(),
- source,
- new String[] {
- "kind", "element",
- "name", "registry",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (nameEClass,
- source,
- new String[] {
- "name", "Name",
- "kind", "simple"
- });
- addAnnotation
- (getName_Value(),
- source,
- new String[] {
- "name", ":0",
- "kind", "simple"
- });
- addAnnotation
- (getName_Lang(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "lang",
- "namespace", "http://www.w3.org/XML/1998/namespace"
- });
- addAnnotation
- (registryEClass,
- source,
- new String[] {
- "name", "Registry",
- "kind", "elementOnly"
- });
- addAnnotation
- (getRegistry_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getRegistry_Description(),
- source,
- new String[] {
- "kind", "element",
- "name", "description"
- });
- addAnnotation
- (getRegistry_Id(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "id"
- });
- addAnnotation
- (getRegistry_Location(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "location"
- });
- addAnnotation
- (getRegistry_Ref(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "ref"
- });
- }
-
-} //RegistryPackageImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryAdapterFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryAdapterFactory.java
deleted file mode 100644
index 11b20517e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryAdapterFactory.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryAdapterFactory.java,v 1.2 2005/12/03 04:06:51 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage
- * @generated
- */
-public class RegistryAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static RegistryPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RegistryAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = RegistryPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RegistrySwitch modelSwitch =
- new RegistrySwitch() {
- public Object caseDescription(Description object) {
- return createDescriptionAdapter();
- }
- public Object caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
- public Object caseName(Name object) {
- return createNameAdapter();
- }
- public Object caseRegistry(Registry object) {
- return createRegistryAdapter();
- }
- public Object defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target) {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Description <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Description
- * @generated
- */
- public Adapter createDescriptionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot
- * @generated
- */
- public Adapter createDocumentRootAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Name <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Name
- * @generated
- */
- public Adapter createNameAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry <em>Registry</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry
- * @generated
- */
- public Adapter createRegistryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //RegistryAdapterFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceFactoryImpl.java
deleted file mode 100644
index 42787236f..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceFactoryImpl.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryResourceFactoryImpl.java,v 1.2 2005/12/03 04:06:51 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.util.ExtendedMetaData;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.util.RegistryResourceImpl
- * @generated
- */
-public class RegistryResourceFactoryImpl extends XMLResourceFactoryImpl {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExtendedMetaData extendedMetaData;
-
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RegistryResourceFactoryImpl() {
- super();
- extendedMetaData = ExtendedMetaData.INSTANCE;
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Resource createResource(URI uri) {
- XMLResource result = new RegistryResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //RegistryResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceImpl.java
deleted file mode 100644
index 9ebfc00e4..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistryResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistryResourceImpl.java,v 1.2 2005/12/03 04:06:51 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.util.RegistryResourceFactoryImpl
- * @generated
- */
-public class RegistryResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public RegistryResourceImpl(URI uri) {
- super(uri);
- }
-
-} //RegistryResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistrySwitch.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistrySwitch.java
deleted file mode 100644
index 279370e78..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/registry/util/RegistrySwitch.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RegistrySwitch.java,v 1.2 2005/12/03 04:06:51 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.registry.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage
- * @generated
- */
-public class RegistrySwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static RegistryPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RegistrySwitch() {
- if (modelPackage == null) {
- modelPackage = RegistryPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(EClass theEClass, EObject theEObject) {
- if (theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else {
- List eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch((EClass)eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case RegistryPackage.DESCRIPTION: {
- Description description = (Description)theEObject;
- Object result = caseDescription(description);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case RegistryPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- Object result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case RegistryPackage.NAME: {
- Name name = (Name)theEObject;
- Object result = caseName(name);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case RegistryPackage.REGISTRY: {
- Registry registry = (Registry)theEObject;
- Object result = caseRegistry(registry);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Description</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Description</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDescription(Description object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDocumentRoot(DocumentRoot object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Name</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseName(Name object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Registry</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Registry</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseRegistry(Registry object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object) {
- return null;
- }
-
-} //RegistrySwitch
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Description.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Description.java
deleted file mode 100644
index 857763088..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Description.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Description.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Description</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDescription()
- * @model
- * @generated
- */
-public interface Description extends EObject {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDescription_Value()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * Returns the value of the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lang</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lang</em>' attribute.
- * @see #setLang(String)
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDescription_Lang()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language"
- * @generated
- */
- String getLang();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lang</em>' attribute.
- * @see #getLang()
- * @generated
- */
- void setLang(String value);
-
-} // Description
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/DocumentRoot.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/DocumentRoot.java
deleted file mode 100644
index 653388c58..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/DocumentRoot.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRoot.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex <em>Index</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot()
- * @model
- * @generated
- */
-public interface DocumentRoot extends EObject {
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' containment reference.
- * @see #setDescription(Description)
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Description()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Description getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription <em>Description</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' containment reference.
- * @see #getDescription()
- * @generated
- */
- void setDescription(Description value);
-
- /**
- * Returns the value of the '<em><b>Index</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Index</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Index</em>' containment reference.
- * @see #setIndex(Index)
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Index()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Index getIndex();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex <em>Index</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Index</em>' containment reference.
- * @see #getIndex()
- * @generated
- */
- void setIndex(Index value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' containment reference.
- * @see #setName(Name)
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Name()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Name getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName <em>Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' containment reference.
- * @see #getName()
- * @generated
- */
- void setName(Name value);
-
-} // DocumentRoot
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Index.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Index.java
deleted file mode 100644
index e8aa4aa83..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Index.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Index.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Index</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getRegistry <em>Registry</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getTaxonomy <em>Taxonomy</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex()
- * @model
- * @generated
- */
-public interface Index extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Name()
- * @model type="org.eclipse.wst.ws.internal.model.v10.rtindex.Name" containment="true" resolveProxies="false" required="true"
- * @generated
- */
- EList getName();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Description()
- * @model type="org.eclipse.wst.ws.internal.model.v10.rtindex.Description" containment="true" resolveProxies="false" required="true"
- * @generated
- */
- EList getDescription();
-
- /**
- * Returns the value of the '<em><b>Registry</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.registry.Registry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Registry</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Registry</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Registry()
- * @model type="org.eclipse.wst.ws.internal.model.v10.registry.Registry" containment="true" resolveProxies="false"
- * @generated
- */
- EList getRegistry();
-
- /**
- * Returns the value of the '<em><b>Taxonomy</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Taxonomy</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Taxonomy</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Taxonomy()
- * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy" containment="true" resolveProxies="false"
- * @generated
- */
- EList getTaxonomy();
-
-} // Index
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Name.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Name.java
deleted file mode 100644
index d145fb3e8..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Name.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Name.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getName_()
- * @model
- * @generated
- */
-public interface Name extends EObject {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getName_Value()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * Returns the value of the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lang</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lang</em>' attribute.
- * @see #setLang(String)
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getName_Lang()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language"
- * @generated
- */
- String getLang();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lang</em>' attribute.
- * @see #getLang()
- * @generated
- */
- void setLang(String value);
-
-} // Name
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexFactory.java
deleted file mode 100644
index 74db708e0..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexFactory.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexFactory.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage
- * @generated
- */
-public interface RTIndexFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- RTIndexFactory eINSTANCE = new org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Description</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Description</em>'.
- * @generated
- */
- Description createDescription();
-
- /**
- * Returns a new object of class '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Document Root</em>'.
- * @generated
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns a new object of class '<em>Index</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Index</em>'.
- * @generated
- */
- Index createIndex();
-
- /**
- * Returns a new object of class '<em>Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Name</em>'.
- * @generated
- */
- Name createName();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- RTIndexPackage getRTIndexPackage();
-
-} //RTIndexFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexPackage.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexPackage.java
deleted file mode 100644
index 3ad2bd13b..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexPackage.java
+++ /dev/null
@@ -1,550 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexPackage.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * See http://www.w3.org/XML/1998/namespace.html and
- * http://www.w3.org/TR/REC-xml for information about this namespace.
- *
- * This schema document describes the XML namespace, in a form
- * suitable for import by other schema documents.
- *
- * Note that local names in this namespace are intended to be defined
- * only by the World Wide Web Consortium or its subgroups. The
- * following names are currently defined in this namespace and should
- * not be used with conflicting semantics by any Working Group,
- * specification, or document instance:
- *
- * base (as an attribute name): denotes an attribute whose value
- * provides a URI to be used as the base for interpreting any
- * relative URIs in the scope of the element on which it
- * appears; its value is inherited. This name is reserved
- * by virtue of its definition in the XML Base specification.
- *
- * id (as an attribute name): denotes an attribute whose value
- * should be interpreted as if declared to be of type ID.
- * The xml:id specification is not yet a W3C Recommendation,
- * but this attribute is included here to facilitate experimentation
- * with the mechanisms it proposes. Note that it is _not_ included
- * in the specialAttrs attribute group.
- *
- * lang (as an attribute name): denotes an attribute whose value
- * is a language code for the natural language of the content of
- * any element; its value is inherited. This name is reserved
- * by virtue of its definition in the XML specification.
- *
- * space (as an attribute name): denotes an attribute whose
- * value is a keyword indicating what whitespace processing
- * discipline is intended for the content of the element; its
- * value is inherited. This name is reserved by virtue of its
- * definition in the XML specification.
- *
- * Father (in any context at all): denotes Jon Bosak, the chair of
- * the original XML Working Group. This name is reserved by
- * the following decision of the W3C XML Plenary and
- * XML Coordination groups:
- *
- * In appreciation for his vision, leadership and dedication
- * the W3C XML Plenary on this 10th day of February, 2000
- * reserves for Jon Bosak in perpetuity the XML name
- * xml:Father
- *
- * This schema defines attributes and an attribute group
- * suitable for use by
- * schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
- * attributes on elements they define.
- *
- * To enable this, such a schema must import this schema
- * for the XML namespace, e.g. as follows:
- * &lt;schema . . .&gt;
- * . . .
- * &lt;import namespace="http://www.w3.org/XML/1998/namespace"
- * schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
- *
- * Subsequently, qualified reference to any of the attributes
- * or the group defined below will have the desired effect, e.g.
- *
- * &lt;type . . .&gt;
- * . . .
- * &lt;attributeGroup ref="xml:specialAttrs"/&gt;
- *
- * will define a type which will schema-validate an instance
- * element with any of those attributes
- * In keeping with the XML Schema WG's standard versioning
- * policy, this schema document will persist at
- * http://www.w3.org/2005/08/xml.xsd.
- * At the date of issue it can also be found at
- * http://www.w3.org/2001/xml.xsd.
- * The schema document at that URI may however change in the future,
- * in order to remain compatible with the latest version of XML Schema
- * itself, or with the XML namespace itself. In other words, if the XML
- * Schema or XML namespaces change, the version of this document at
- * http://www.w3.org/2001/xml.xsd will change
- * accordingly; the version at
- * http://www.w3.org/2005/08/xml.xsd will not change.
- *
- * <!-- end-model-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexFactory
- * @generated
- */
-public interface RTIndexPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "rtindex";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://eclipse.org/wst/ws/internal/model/v10/rtindex";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "rtindex";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- RTIndexPackage eINSTANCE = org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl <em>Description</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getDescription()
- * @generated
- */
- int DESCRIPTION = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DESCRIPTION__VALUE = 0;
-
- /**
- * The feature id for the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DESCRIPTION__LANG = 1;
-
- /**
- * The number of structural features of the the '<em>Description</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DESCRIPTION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 1;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__MIXED = 0;
-
- /**
- * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
-
- /**
- * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__DESCRIPTION = 3;
-
- /**
- * The feature id for the '<em><b>Index</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__INDEX = 4;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__NAME = 5;
-
- /**
- * The number of structural features of the the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl <em>Index</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getIndex()
- * @generated
- */
- int INDEX = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDEX__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDEX__DESCRIPTION = 1;
-
- /**
- * The feature id for the '<em><b>Registry</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDEX__REGISTRY = 2;
-
- /**
- * The feature id for the '<em><b>Taxonomy</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDEX__TAXONOMY = 3;
-
- /**
- * The number of structural features of the the '<em>Index</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDEX_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl <em>Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getName_()
- * @generated
- */
- int NAME = 3;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME__VALUE = 0;
-
- /**
- * The feature id for the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME__LANG = 1;
-
- /**
- * The number of structural features of the the '<em>Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME_FEATURE_COUNT = 2;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Description</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Description
- * @generated
- */
- EClass getDescription();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue()
- * @see #getDescription()
- * @generated
- */
- EAttribute getDescription_Value();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang <em>Lang</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Lang</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang()
- * @see #getDescription()
- * @generated
- */
- EAttribute getDescription_Lang();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XSI Schema Location</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Description</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Description();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex <em>Index</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Index</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Index();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index <em>Index</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Index</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index
- * @generated
- */
- EClass getIndex();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getName()
- * @see #getIndex()
- * @generated
- */
- EReference getIndex_Name();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Description</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getDescription()
- * @see #getIndex()
- * @generated
- */
- EReference getIndex_Description();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getRegistry <em>Registry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Registry</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getRegistry()
- * @see #getIndex()
- * @generated
- */
- EReference getIndex_Registry();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getTaxonomy <em>Taxonomy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Taxonomy</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getTaxonomy()
- * @see #getIndex()
- * @generated
- */
- EReference getIndex_Taxonomy();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Name
- * @generated
- */
- EClass getName_();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue()
- * @see #getName_()
- * @generated
- */
- EAttribute getName_Value();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang <em>Lang</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Lang</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang()
- * @see #getName_()
- * @generated
- */
- EAttribute getName_Lang();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- RTIndexFactory getRTIndexFactory();
-
-} //RTIndexPackage
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DescriptionImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DescriptionImpl.java
deleted file mode 100644
index 0f8cb524c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DescriptionImpl.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DescriptionImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Description;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Description</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DescriptionImpl extends EObjectImpl implements Description {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected static final String LANG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected String lang = LANG_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DescriptionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RTIndexPackage.eINSTANCE.getDescription();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.DESCRIPTION__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLang() {
- return lang;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLang(String newLang) {
- String oldLang = lang;
- lang = newLang;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.DESCRIPTION__LANG, oldLang, lang));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DESCRIPTION__VALUE:
- return getValue();
- case RTIndexPackage.DESCRIPTION__LANG:
- return getLang();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DESCRIPTION__VALUE:
- setValue((String)newValue);
- return;
- case RTIndexPackage.DESCRIPTION__LANG:
- setLang((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DESCRIPTION__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- case RTIndexPackage.DESCRIPTION__LANG:
- setLang(LANG_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DESCRIPTION__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- case RTIndexPackage.DESCRIPTION__LANG:
- return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(", lang: ");
- result.append(lang);
- result.append(')');
- return result.toString();
- }
-
-} //DescriptionImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DocumentRootImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DocumentRootImpl.java
deleted file mode 100644
index 448dbc14e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DocumentRootImpl.java
+++ /dev/null
@@ -1,367 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Description;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Index;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Name;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getIndex <em>Index</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMixed()
- * @generated
- * @ordered
- */
- protected FeatureMap mixed = null;
-
- /**
- * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXMLNSPrefixMap()
- * @generated
- * @ordered
- */
- protected EMap xMLNSPrefixMap = null;
-
- /**
- * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXSISchemaLocation()
- * @generated
- * @ordered
- */
- protected EMap xSISchemaLocation = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RTIndexPackage.eINSTANCE.getDocumentRoot();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, RTIndexPackage.DOCUMENT_ROOT__MIXED);
- }
- return mixed;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXMLNSPrefixMap() {
- if (xMLNSPrefixMap == null) {
- xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- }
- return xMLNSPrefixMap;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXSISchemaLocation() {
- if (xSISchemaLocation == null) {
- xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Description getDescription() {
- return (Description)getMixed().get(RTIndexPackage.eINSTANCE.getDocumentRoot_Description(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(RTIndexPackage.eINSTANCE.getDocumentRoot_Description(), newDescription, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(Description newDescription) {
- ((FeatureMap.Internal)getMixed()).set(RTIndexPackage.eINSTANCE.getDocumentRoot_Description(), newDescription);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Index getIndex() {
- return (Index)getMixed().get(RTIndexPackage.eINSTANCE.getDocumentRoot_Index(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetIndex(Index newIndex, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(RTIndexPackage.eINSTANCE.getDocumentRoot_Index(), newIndex, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIndex(Index newIndex) {
- ((FeatureMap.Internal)getMixed()).set(RTIndexPackage.eINSTANCE.getDocumentRoot_Index(), newIndex);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Name getName() {
- return (Name)getMixed().get(RTIndexPackage.eINSTANCE.getDocumentRoot_Name(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetName(Name newName, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(RTIndexPackage.eINSTANCE.getDocumentRoot_Name(), newName, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(Name newName) {
- ((FeatureMap.Internal)getMixed()).set(RTIndexPackage.eINSTANCE.getDocumentRoot_Name(), newName);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case RTIndexPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
- case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION:
- return basicSetDescription(null, msgs);
- case RTIndexPackage.DOCUMENT_ROOT__INDEX:
- return basicSetIndex(null, msgs);
- case RTIndexPackage.DOCUMENT_ROOT__NAME:
- return basicSetName(null, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DOCUMENT_ROOT__MIXED:
- return getMixed();
- case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return getXMLNSPrefixMap();
- case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return getXSISchemaLocation();
- case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION:
- return getDescription();
- case RTIndexPackage.DOCUMENT_ROOT__INDEX:
- return getIndex();
- case RTIndexPackage.DOCUMENT_ROOT__NAME:
- return getName();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- getMixed().addAll((Collection)newValue);
- return;
- case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- getXMLNSPrefixMap().addAll((Collection)newValue);
- return;
- case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- getXSISchemaLocation().addAll((Collection)newValue);
- return;
- case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION:
- setDescription((Description)newValue);
- return;
- case RTIndexPackage.DOCUMENT_ROOT__INDEX:
- setIndex((Index)newValue);
- return;
- case RTIndexPackage.DOCUMENT_ROOT__NAME:
- setName((Name)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION:
- setDescription((Description)null);
- return;
- case RTIndexPackage.DOCUMENT_ROOT__INDEX:
- setIndex((Index)null);
- return;
- case RTIndexPackage.DOCUMENT_ROOT__NAME:
- setName((Name)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION:
- return getDescription() != null;
- case RTIndexPackage.DOCUMENT_ROOT__INDEX:
- return getIndex() != null;
- case RTIndexPackage.DOCUMENT_ROOT__NAME:
- return getName() != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (mixed: ");
- result.append(mixed);
- result.append(')');
- return result.toString();
- }
-
-} //DocumentRootImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/IndexImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/IndexImpl.java
deleted file mode 100644
index 98dc08e65..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/IndexImpl.java
+++ /dev/null
@@ -1,267 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IndexImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Description;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Index;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Name;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Index</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getRegistry <em>Registry</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getTaxonomy <em>Taxonomy</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class IndexImpl extends EObjectImpl implements Index {
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected EList name = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected EList description = null;
-
- /**
- * The cached value of the '{@link #getRegistry() <em>Registry</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRegistry()
- * @generated
- * @ordered
- */
- protected EList registry = null;
-
- /**
- * The cached value of the '{@link #getTaxonomy() <em>Taxonomy</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTaxonomy()
- * @generated
- * @ordered
- */
- protected EList taxonomy = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IndexImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RTIndexPackage.eINSTANCE.getIndex();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getName() {
- if (name == null) {
- name = new EObjectContainmentEList(Name.class, this, RTIndexPackage.INDEX__NAME);
- }
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDescription() {
- if (description == null) {
- description = new EObjectContainmentEList(Description.class, this, RTIndexPackage.INDEX__DESCRIPTION);
- }
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getRegistry() {
- if (registry == null) {
- registry = new EObjectContainmentEList(Registry.class, this, RTIndexPackage.INDEX__REGISTRY);
- }
- return registry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getTaxonomy() {
- if (taxonomy == null) {
- taxonomy = new EObjectContainmentEList(Taxonomy.class, this, RTIndexPackage.INDEX__TAXONOMY);
- }
- return taxonomy;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case RTIndexPackage.INDEX__NAME:
- return ((InternalEList)getName()).basicRemove(otherEnd, msgs);
- case RTIndexPackage.INDEX__DESCRIPTION:
- return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs);
- case RTIndexPackage.INDEX__REGISTRY:
- return ((InternalEList)getRegistry()).basicRemove(otherEnd, msgs);
- case RTIndexPackage.INDEX__TAXONOMY:
- return ((InternalEList)getTaxonomy()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.INDEX__NAME:
- return getName();
- case RTIndexPackage.INDEX__DESCRIPTION:
- return getDescription();
- case RTIndexPackage.INDEX__REGISTRY:
- return getRegistry();
- case RTIndexPackage.INDEX__TAXONOMY:
- return getTaxonomy();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.INDEX__NAME:
- getName().clear();
- getName().addAll((Collection)newValue);
- return;
- case RTIndexPackage.INDEX__DESCRIPTION:
- getDescription().clear();
- getDescription().addAll((Collection)newValue);
- return;
- case RTIndexPackage.INDEX__REGISTRY:
- getRegistry().clear();
- getRegistry().addAll((Collection)newValue);
- return;
- case RTIndexPackage.INDEX__TAXONOMY:
- getTaxonomy().clear();
- getTaxonomy().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.INDEX__NAME:
- getName().clear();
- return;
- case RTIndexPackage.INDEX__DESCRIPTION:
- getDescription().clear();
- return;
- case RTIndexPackage.INDEX__REGISTRY:
- getRegistry().clear();
- return;
- case RTIndexPackage.INDEX__TAXONOMY:
- getTaxonomy().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.INDEX__NAME:
- return name != null && !name.isEmpty();
- case RTIndexPackage.INDEX__DESCRIPTION:
- return description != null && !description.isEmpty();
- case RTIndexPackage.INDEX__REGISTRY:
- return registry != null && !registry.isEmpty();
- case RTIndexPackage.INDEX__TAXONOMY:
- return taxonomy != null && !taxonomy.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
-} //IndexImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/NameImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/NameImpl.java
deleted file mode 100644
index 3b6852492..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/NameImpl.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: NameImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Name;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NameImpl extends EObjectImpl implements Name {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected static final String LANG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected String lang = LANG_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NameImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return RTIndexPackage.eINSTANCE.getName_();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.NAME__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLang() {
- return lang;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLang(String newLang) {
- String oldLang = lang;
- lang = newLang;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.NAME__LANG, oldLang, lang));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.NAME__VALUE:
- return getValue();
- case RTIndexPackage.NAME__LANG:
- return getLang();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.NAME__VALUE:
- setValue((String)newValue);
- return;
- case RTIndexPackage.NAME__LANG:
- setLang((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.NAME__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- case RTIndexPackage.NAME__LANG:
- setLang(LANG_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case RTIndexPackage.NAME__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- case RTIndexPackage.NAME__LANG:
- return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(", lang: ");
- result.append(lang);
- result.append(')');
- return result.toString();
- }
-
-} //NameImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexFactoryImpl.java
deleted file mode 100644
index 1efa33a99..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexFactoryImpl.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexFactoryImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class RTIndexFactoryImpl extends EFactoryImpl implements RTIndexFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RTIndexFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case RTIndexPackage.DESCRIPTION: return createDescription();
- case RTIndexPackage.DOCUMENT_ROOT: return createDocumentRoot();
- case RTIndexPackage.INDEX: return createIndex();
- case RTIndexPackage.NAME: return createName();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Description createDescription() {
- DescriptionImpl description = new DescriptionImpl();
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DocumentRoot createDocumentRoot() {
- DocumentRootImpl documentRoot = new DocumentRootImpl();
- return documentRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Index createIndex() {
- IndexImpl index = new IndexImpl();
- return index;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Name createName() {
- NameImpl name = new NameImpl();
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RTIndexPackage getRTIndexPackage() {
- return (RTIndexPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static RTIndexPackage getPackage() {
- return RTIndexPackage.eINSTANCE;
- }
-
-} //RTIndexFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexPackageImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexPackageImpl.java
deleted file mode 100644
index e99755de3..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexPackageImpl.java
+++ /dev/null
@@ -1,573 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexPackageImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Description;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Index;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Name;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexFactory;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class RTIndexPackageImpl extends EPackageImpl implements RTIndexPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass descriptionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentRootEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass indexEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nameEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private RTIndexPackageImpl() {
- super(eNS_URI, RTIndexFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static RTIndexPackage init() {
- if (isInited) return (RTIndexPackage)EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI);
-
- // Obtain or create and register package
- RTIndexPackageImpl theRTIndexPackage = (RTIndexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof RTIndexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new RTIndexPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackageImpl.init();
-
- // Obtain or create and register interdependencies
- TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) instanceof TaxonomyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) : TaxonomyPackageImpl.eINSTANCE);
- RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) instanceof RegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) : RegistryPackageImpl.eINSTANCE);
- UDDIRegistryPackageImpl theUDDIRegistryPackage = (UDDIRegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) instanceof UDDIRegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) : UDDIRegistryPackageImpl.eINSTANCE);
-
- // Create package meta-data objects
- theRTIndexPackage.createPackageContents();
- theTaxonomyPackage.createPackageContents();
- theRegistryPackage.createPackageContents();
- theUDDIRegistryPackage.createPackageContents();
-
- // Initialize created meta-data
- theRTIndexPackage.initializePackageContents();
- theTaxonomyPackage.initializePackageContents();
- theRegistryPackage.initializePackageContents();
- theUDDIRegistryPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theRTIndexPackage.freeze();
-
- return theRTIndexPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDescription() {
- return descriptionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDescription_Value() {
- return (EAttribute)descriptionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDescription_Lang() {
- return (EAttribute)descriptionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentRoot() {
- return documentRootEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_Mixed() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XMLNSPrefixMap() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XSISchemaLocation() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Description() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Index() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Name() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIndex() {
- return indexEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getIndex_Name() {
- return (EReference)indexEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getIndex_Description() {
- return (EReference)indexEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getIndex_Registry() {
- return (EReference)indexEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getIndex_Taxonomy() {
- return (EReference)indexEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getName_() {
- return nameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getName_Value() {
- return (EAttribute)nameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getName_Lang() {
- return (EAttribute)nameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RTIndexFactory getRTIndexFactory() {
- return (RTIndexFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- descriptionEClass = createEClass(DESCRIPTION);
- createEAttribute(descriptionEClass, DESCRIPTION__VALUE);
- createEAttribute(descriptionEClass, DESCRIPTION__LANG);
-
- documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__DESCRIPTION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__INDEX);
- createEReference(documentRootEClass, DOCUMENT_ROOT__NAME);
-
- indexEClass = createEClass(INDEX);
- createEReference(indexEClass, INDEX__NAME);
- createEReference(indexEClass, INDEX__DESCRIPTION);
- createEReference(indexEClass, INDEX__REGISTRY);
- createEReference(indexEClass, INDEX__TAXONOMY);
-
- nameEClass = createEClass(NAME);
- createEAttribute(nameEClass, NAME__VALUE);
- createEAttribute(nameEClass, NAME__LANG);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
- RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI);
- TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI);
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDescription_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDescription_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Description(), this.getDescription(), null, "description", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Index(), this.getIndex(), null, "index", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Name(), this.getName_(), null, "name", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(indexEClass, Index.class, "Index", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIndex_Name(), this.getName_(), null, "name", null, 1, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getIndex_Description(), this.getDescription(), null, "description", null, 1, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getIndex_Registry(), theRegistryPackage.getRegistry(), null, "registry", null, 0, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getIndex_Taxonomy(), theTaxonomyPackage.getTaxonomy(), null, "taxonomy", null, 0, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(nameEClass, Name.class, "Name", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getName_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getName_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (descriptionEClass,
- source,
- new String[] {
- "name", "Description",
- "kind", "simple"
- });
- addAnnotation
- (getDescription_Value(),
- source,
- new String[] {
- "name", ":0",
- "kind", "simple"
- });
- addAnnotation
- (getDescription_Lang(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "lang",
- "namespace", "http://www.w3.org/XML/1998/namespace"
- });
- addAnnotation
- (documentRootEClass,
- source,
- new String[] {
- "name", "",
- "kind", "mixed"
- });
- addAnnotation
- (getDocumentRoot_Mixed(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "name", ":mixed"
- });
- addAnnotation
- (getDocumentRoot_XMLNSPrefixMap(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xmlns:prefix"
- });
- addAnnotation
- (getDocumentRoot_XSISchemaLocation(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xsi:schemaLocation"
- });
- addAnnotation
- (getDocumentRoot_Description(),
- source,
- new String[] {
- "kind", "element",
- "name", "description",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_Index(),
- source,
- new String[] {
- "kind", "element",
- "name", "index",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (indexEClass,
- source,
- new String[] {
- "name", "Index",
- "kind", "elementOnly"
- });
- addAnnotation
- (getIndex_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getIndex_Description(),
- source,
- new String[] {
- "kind", "element",
- "name", "description"
- });
- addAnnotation
- (getIndex_Registry(),
- source,
- new String[] {
- "kind", "element",
- "name", "registry",
- "namespace", "http://eclipse.org/wst/ws/internal/model/v10/registry"
- });
- addAnnotation
- (getIndex_Taxonomy(),
- source,
- new String[] {
- "kind", "element",
- "name", "taxonomy",
- "namespace", "http://eclipse.org/wst/ws/internal/model/v10/taxonomy"
- });
- addAnnotation
- (nameEClass,
- source,
- new String[] {
- "name", "Name",
- "kind", "simple"
- });
- addAnnotation
- (getName_Value(),
- source,
- new String[] {
- "name", ":0",
- "kind", "simple"
- });
- addAnnotation
- (getName_Lang(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "lang",
- "namespace", "http://www.w3.org/XML/1998/namespace"
- });
- }
-
-} //RTIndexPackageImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexAdapterFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexAdapterFactory.java
deleted file mode 100644
index 09de415a7..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexAdapterFactory.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexAdapterFactory.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage
- * @generated
- */
-public class RTIndexAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static RTIndexPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RTIndexAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = RTIndexPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RTIndexSwitch modelSwitch =
- new RTIndexSwitch() {
- public Object caseDescription(Description object) {
- return createDescriptionAdapter();
- }
- public Object caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
- public Object caseIndex(Index object) {
- return createIndexAdapter();
- }
- public Object caseName(Name object) {
- return createNameAdapter();
- }
- public Object defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target) {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Description
- * @generated
- */
- public Adapter createDescriptionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot
- * @generated
- */
- public Adapter createDocumentRootAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index <em>Index</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index
- * @generated
- */
- public Adapter createIndexAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Name
- * @generated
- */
- public Adapter createNameAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //RTIndexAdapterFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceFactoryImpl.java
deleted file mode 100644
index 6d09fcc4c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceFactoryImpl.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexResourceFactoryImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.util.ExtendedMetaData;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.util.RTIndexResourceImpl
- * @generated
- */
-public class RTIndexResourceFactoryImpl extends XMLResourceFactoryImpl {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExtendedMetaData extendedMetaData;
-
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RTIndexResourceFactoryImpl() {
- super();
- extendedMetaData = ExtendedMetaData.INSTANCE;
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Resource createResource(URI uri) {
- XMLResource result = new RTIndexResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //RTIndexResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceImpl.java
deleted file mode 100644
index 9e3164857..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexResourceImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.util.RTIndexResourceFactoryImpl
- * @generated
- */
-public class RTIndexResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public RTIndexResourceImpl(URI uri) {
- super(uri);
- }
-
-} //RTIndexResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexSwitch.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexSwitch.java
deleted file mode 100644
index be85be382..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexSwitch.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RTIndexSwitch.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.rtindex.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage
- * @generated
- */
-public class RTIndexSwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static RTIndexPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RTIndexSwitch() {
- if (modelPackage == null) {
- modelPackage = RTIndexPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(EClass theEClass, EObject theEObject) {
- if (theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else {
- List eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch((EClass)eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case RTIndexPackage.DESCRIPTION: {
- Description description = (Description)theEObject;
- Object result = caseDescription(description);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case RTIndexPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- Object result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case RTIndexPackage.INDEX: {
- Index index = (Index)theEObject;
- Object result = caseIndex(index);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case RTIndexPackage.NAME: {
- Name name = (Name)theEObject;
- Object result = caseName(name);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Description</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Description</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDescription(Description object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDocumentRoot(DocumentRoot object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Index</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Index</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIndex(Index object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Name</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseName(Name object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object) {
- return null;
- }
-
-} //RTIndexSwitch
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Category.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Category.java
deleted file mode 100644
index 153d967dc..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Category.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Category.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Category</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getNlname <em>Nlname</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getCategory <em>Category</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getCode <em>Code</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getCategory()
- * @model
- * @generated
- */
-public interface Category extends EObject {
- /**
- * Returns the value of the '<em><b>Nlname</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Nlname</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Nlname</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getCategory_Nlname()
- * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Name" containment="true" resolveProxies="false"
- * @generated
- */
- EList getNlname();
-
- /**
- * Returns the value of the '<em><b>Category</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Category</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Category</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getCategory_Category()
- * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Category" containment="true" resolveProxies="false"
- * @generated
- */
- EList getCategory();
-
- /**
- * Returns the value of the '<em><b>Code</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Code</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Code</em>' attribute.
- * @see #setCode(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getCategory_Code()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getCode();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getCode <em>Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Code</em>' attribute.
- * @see #getCode()
- * @generated
- */
- void setCode(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getCategory_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
-} // Category
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/DocumentRoot.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/DocumentRoot.java
deleted file mode 100644
index d7024e4c7..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/DocumentRoot.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRoot.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getCategory <em>Category</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getTaxonomy <em>Taxonomy</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getDocumentRoot()
- * @model
- * @generated
- */
-public interface DocumentRoot extends EObject {
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Category</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Category</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Category</em>' containment reference.
- * @see #setCategory(Category)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getDocumentRoot_Category()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Category getCategory();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getCategory <em>Category</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Category</em>' containment reference.
- * @see #getCategory()
- * @generated
- */
- void setCategory(Category value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' containment reference.
- * @see #setName(Name)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getDocumentRoot_Name()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Name getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getName <em>Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' containment reference.
- * @see #getName()
- * @generated
- */
- void setName(Name value);
-
- /**
- * Returns the value of the '<em><b>Taxonomy</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Taxonomy</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Taxonomy</em>' containment reference.
- * @see #setTaxonomy(Taxonomy)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getDocumentRoot_Taxonomy()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Taxonomy getTaxonomy();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getTaxonomy <em>Taxonomy</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Taxonomy</em>' containment reference.
- * @see #getTaxonomy()
- * @generated
- */
- void setTaxonomy(Taxonomy value);
-
-} // DocumentRoot
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Name.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Name.java
deleted file mode 100644
index f01ecea5c..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Name.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Name.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getName_()
- * @model
- * @generated
- */
-public interface Name extends EObject {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getName_Value()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * Returns the value of the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lang</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lang</em>' attribute.
- * @see #setLang(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getName_Lang()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language"
- * @generated
- */
- String getLang();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getLang <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lang</em>' attribute.
- * @see #getLang()
- * @generated
- */
- void setLang(String value);
-
-} // Name
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Taxonomy.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Taxonomy.java
deleted file mode 100644
index 414be07f0..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/Taxonomy.java
+++ /dev/null
@@ -1,198 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Taxonomy.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Taxonomy</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getNlname <em>Nlname</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getCategory <em>Category</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getLocation <em>Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getRef <em>Ref</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getTmodelKey <em>Tmodel Key</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy()
- * @model
- * @generated
- */
-public interface Taxonomy extends EObject {
- /**
- * Returns the value of the '<em><b>Nlname</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Nlname</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Nlname</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy_Nlname()
- * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Name" containment="true" resolveProxies="false"
- * @generated
- */
- EList getNlname();
-
- /**
- * Returns the value of the '<em><b>Category</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Category</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Category</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy_Category()
- * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Category" containment="true" resolveProxies="false"
- * @generated
- */
- EList getCategory();
-
- /**
- * Returns the value of the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' attribute.
- * @see #setId(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy_Id()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
- * @generated
- */
- String getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' attribute.
- * @see #getId()
- * @generated
- */
- void setId(String value);
-
- /**
- * Returns the value of the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Location</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Location</em>' attribute.
- * @see #setLocation(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy_Location()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
- * @generated
- */
- String getLocation();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getLocation <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Location</em>' attribute.
- * @see #getLocation()
- * @generated
- */
- void setLocation(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Ref</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ref</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ref</em>' attribute.
- * @see #setRef(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy_Ref()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
- * @generated
- */
- String getRef();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getRef <em>Ref</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ref</em>' attribute.
- * @see #getRef()
- * @generated
- */
- void setRef(String value);
-
- /**
- * Returns the value of the '<em><b>Tmodel Key</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Tmodel Key</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Tmodel Key</em>' attribute.
- * @see #setTmodelKey(String)
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#getTaxonomy_TmodelKey()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * @generated
- */
- String getTmodelKey();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getTmodelKey <em>Tmodel Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Tmodel Key</em>' attribute.
- * @see #getTmodelKey()
- * @generated
- */
- void setTmodelKey(String value);
-
-} // Taxonomy
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyFactory.java
deleted file mode 100644
index f06fdbf73..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyFactory.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyFactory.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage
- * @generated
- */
-public interface TaxonomyFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- TaxonomyFactory eINSTANCE = new org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Category</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Category</em>'.
- * @generated
- */
- Category createCategory();
-
- /**
- * Returns a new object of class '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Document Root</em>'.
- * @generated
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns a new object of class '<em>Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Name</em>'.
- * @generated
- */
- Name createName();
-
- /**
- * Returns a new object of class '<em>Taxonomy</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Taxonomy</em>'.
- * @generated
- */
- Taxonomy createTaxonomy();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- TaxonomyPackage getTaxonomyPackage();
-
-} //TaxonomyFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyPackage.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyPackage.java
deleted file mode 100644
index 6bd96f952..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/TaxonomyPackage.java
+++ /dev/null
@@ -1,650 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyPackage.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * See http://www.w3.org/XML/1998/namespace.html and
- * http://www.w3.org/TR/REC-xml for information about this namespace.
- *
- * This schema document describes the XML namespace, in a form
- * suitable for import by other schema documents.
- *
- * Note that local names in this namespace are intended to be defined
- * only by the World Wide Web Consortium or its subgroups. The
- * following names are currently defined in this namespace and should
- * not be used with conflicting semantics by any Working Group,
- * specification, or document instance:
- *
- * base (as an attribute name): denotes an attribute whose value
- * provides a URI to be used as the base for interpreting any
- * relative URIs in the scope of the element on which it
- * appears; its value is inherited. This name is reserved
- * by virtue of its definition in the XML Base specification.
- *
- * id (as an attribute name): denotes an attribute whose value
- * should be interpreted as if declared to be of type ID.
- * The xml:id specification is not yet a W3C Recommendation,
- * but this attribute is included here to facilitate experimentation
- * with the mechanisms it proposes. Note that it is _not_ included
- * in the specialAttrs attribute group.
- *
- * lang (as an attribute name): denotes an attribute whose value
- * is a language code for the natural language of the content of
- * any element; its value is inherited. This name is reserved
- * by virtue of its definition in the XML specification.
- *
- * space (as an attribute name): denotes an attribute whose
- * value is a keyword indicating what whitespace processing
- * discipline is intended for the content of the element; its
- * value is inherited. This name is reserved by virtue of its
- * definition in the XML specification.
- *
- * Father (in any context at all): denotes Jon Bosak, the chair of
- * the original XML Working Group. This name is reserved by
- * the following decision of the W3C XML Plenary and
- * XML Coordination groups:
- *
- * In appreciation for his vision, leadership and dedication
- * the W3C XML Plenary on this 10th day of February, 2000
- * reserves for Jon Bosak in perpetuity the XML name
- * xml:Father
- *
- * This schema defines attributes and an attribute group
- * suitable for use by
- * schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
- * attributes on elements they define.
- *
- * To enable this, such a schema must import this schema
- * for the XML namespace, e.g. as follows:
- * &lt;schema . . .&gt;
- * . . .
- * &lt;import namespace="http://www.w3.org/XML/1998/namespace"
- * schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
- *
- * Subsequently, qualified reference to any of the attributes
- * or the group defined below will have the desired effect, e.g.
- *
- * &lt;type . . .&gt;
- * . . .
- * &lt;attributeGroup ref="xml:specialAttrs"/&gt;
- *
- * will define a type which will schema-validate an instance
- * element with any of those attributes
- * In keeping with the XML Schema WG's standard versioning
- * policy, this schema document will persist at
- * http://www.w3.org/2005/08/xml.xsd.
- * At the date of issue it can also be found at
- * http://www.w3.org/2001/xml.xsd.
- * The schema document at that URI may however change in the future,
- * in order to remain compatible with the latest version of XML Schema
- * itself, or with the XML namespace itself. In other words, if the XML
- * Schema or XML namespaces change, the version of this document at
- * http://www.w3.org/2001/xml.xsd will change
- * accordingly; the version at
- * http://www.w3.org/2005/08/xml.xsd will not change.
- *
- * <!-- end-model-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyFactory
- * @generated
- */
-public interface TaxonomyPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "taxonomy";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://eclipse.org/wst/ws/internal/model/v10/taxonomy";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "taxonomy";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- TaxonomyPackage eINSTANCE = org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.CategoryImpl <em>Category</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.CategoryImpl
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl#getCategory()
- * @generated
- */
- int CATEGORY = 0;
-
- /**
- * The feature id for the '<em><b>Nlname</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY__NLNAME = 0;
-
- /**
- * The feature id for the '<em><b>Category</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY__CATEGORY = 1;
-
- /**
- * The feature id for the '<em><b>Code</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY__CODE = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY__NAME = 3;
-
- /**
- * The number of structural features of the the '<em>Category</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 1;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__MIXED = 0;
-
- /**
- * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
-
- /**
- * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Category</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__CATEGORY = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__NAME = 4;
-
- /**
- * The feature id for the '<em><b>Taxonomy</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__TAXONOMY = 5;
-
- /**
- * The number of structural features of the the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.NameImpl <em>Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.NameImpl
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl#getName_()
- * @generated
- */
- int NAME = 2;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME__VALUE = 0;
-
- /**
- * The feature id for the '<em><b>Lang</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME__LANG = 1;
-
- /**
- * The number of structural features of the the '<em>Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl <em>Taxonomy</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl#getTaxonomy()
- * @generated
- */
- int TAXONOMY = 3;
-
- /**
- * The feature id for the '<em><b>Nlname</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY__NLNAME = 0;
-
- /**
- * The feature id for the '<em><b>Category</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY__CATEGORY = 1;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY__ID = 2;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY__LOCATION = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY__NAME = 4;
-
- /**
- * The feature id for the '<em><b>Ref</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY__REF = 5;
-
- /**
- * The feature id for the '<em><b>Tmodel Key</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY__TMODEL_KEY = 6;
-
- /**
- * The number of structural features of the the '<em>Taxonomy</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMY_FEATURE_COUNT = 7;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category <em>Category</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Category</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Category
- * @generated
- */
- EClass getCategory();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getNlname <em>Nlname</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Nlname</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getNlname()
- * @see #getCategory()
- * @generated
- */
- EReference getCategory_Nlname();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getCategory <em>Category</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Category</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getCategory()
- * @see #getCategory()
- * @generated
- */
- EReference getCategory_Category();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getCode <em>Code</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Code</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getCode()
- * @see #getCategory()
- * @generated
- */
- EAttribute getCategory_Code();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Category#getName()
- * @see #getCategory()
- * @generated
- */
- EAttribute getCategory_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XSI Schema Location</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getCategory <em>Category</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Category</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getCategory()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Category();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getName()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getTaxonomy <em>Taxonomy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Taxonomy</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot#getTaxonomy()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Taxonomy();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Name
- * @generated
- */
- EClass getName_();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getValue()
- * @see #getName_()
- * @generated
- */
- EAttribute getName_Value();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getLang <em>Lang</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Lang</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Name#getLang()
- * @see #getName_()
- * @generated
- */
- EAttribute getName_Lang();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy <em>Taxonomy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Taxonomy</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy
- * @generated
- */
- EClass getTaxonomy();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getNlname <em>Nlname</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Nlname</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getNlname()
- * @see #getTaxonomy()
- * @generated
- */
- EReference getTaxonomy_Nlname();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getCategory <em>Category</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Category</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getCategory()
- * @see #getTaxonomy()
- * @generated
- */
- EReference getTaxonomy_Category();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getId()
- * @see #getTaxonomy()
- * @generated
- */
- EAttribute getTaxonomy_Id();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getLocation <em>Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getLocation()
- * @see #getTaxonomy()
- * @generated
- */
- EAttribute getTaxonomy_Location();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getName()
- * @see #getTaxonomy()
- * @generated
- */
- EAttribute getTaxonomy_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getRef <em>Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Ref</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getRef()
- * @see #getTaxonomy()
- * @generated
- */
- EAttribute getTaxonomy_Ref();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getTmodelKey <em>Tmodel Key</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Tmodel Key</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy#getTmodelKey()
- * @see #getTaxonomy()
- * @generated
- */
- EAttribute getTaxonomy_TmodelKey();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- TaxonomyFactory getTaxonomyFactory();
-
-} //TaxonomyPackage
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/CategoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/CategoryImpl.java
deleted file mode 100644
index 35b2e3ca5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/CategoryImpl.java
+++ /dev/null
@@ -1,313 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CategoryImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Category;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Name;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Category</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.CategoryImpl#getNlname <em>Nlname</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.CategoryImpl#getCategory <em>Category</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.CategoryImpl#getCode <em>Code</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.CategoryImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CategoryImpl extends EObjectImpl implements Category {
- /**
- * The cached value of the '{@link #getNlname() <em>Nlname</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNlname()
- * @generated
- * @ordered
- */
- protected EList nlname = null;
-
- /**
- * The cached value of the '{@link #getCategory() <em>Category</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCategory()
- * @generated
- * @ordered
- */
- protected EList category = null;
-
- /**
- * The default value of the '{@link #getCode() <em>Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCode()
- * @generated
- * @ordered
- */
- protected static final String CODE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCode() <em>Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCode()
- * @generated
- * @ordered
- */
- protected String code = CODE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CategoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return TaxonomyPackage.eINSTANCE.getCategory();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getNlname() {
- if (nlname == null) {
- nlname = new EObjectContainmentEList(Name.class, this, TaxonomyPackage.CATEGORY__NLNAME);
- }
- return nlname;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getCategory() {
- if (category == null) {
- category = new EObjectContainmentEList(Category.class, this, TaxonomyPackage.CATEGORY__CATEGORY);
- }
- return category;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCode() {
- return code;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCode(String newCode) {
- String oldCode = code;
- code = newCode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.CATEGORY__CODE, oldCode, code));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.CATEGORY__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaxonomyPackage.CATEGORY__NLNAME:
- return ((InternalEList)getNlname()).basicRemove(otherEnd, msgs);
- case TaxonomyPackage.CATEGORY__CATEGORY:
- return ((InternalEList)getCategory()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.CATEGORY__NLNAME:
- return getNlname();
- case TaxonomyPackage.CATEGORY__CATEGORY:
- return getCategory();
- case TaxonomyPackage.CATEGORY__CODE:
- return getCode();
- case TaxonomyPackage.CATEGORY__NAME:
- return getName();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.CATEGORY__NLNAME:
- getNlname().clear();
- getNlname().addAll((Collection)newValue);
- return;
- case TaxonomyPackage.CATEGORY__CATEGORY:
- getCategory().clear();
- getCategory().addAll((Collection)newValue);
- return;
- case TaxonomyPackage.CATEGORY__CODE:
- setCode((String)newValue);
- return;
- case TaxonomyPackage.CATEGORY__NAME:
- setName((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.CATEGORY__NLNAME:
- getNlname().clear();
- return;
- case TaxonomyPackage.CATEGORY__CATEGORY:
- getCategory().clear();
- return;
- case TaxonomyPackage.CATEGORY__CODE:
- setCode(CODE_EDEFAULT);
- return;
- case TaxonomyPackage.CATEGORY__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.CATEGORY__NLNAME:
- return nlname != null && !nlname.isEmpty();
- case TaxonomyPackage.CATEGORY__CATEGORY:
- return category != null && !category.isEmpty();
- case TaxonomyPackage.CATEGORY__CODE:
- return CODE_EDEFAULT == null ? code != null : !CODE_EDEFAULT.equals(code);
- case TaxonomyPackage.CATEGORY__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (code: ");
- result.append(code);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //CategoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/DocumentRootImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/DocumentRootImpl.java
deleted file mode 100644
index 677874404..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/DocumentRootImpl.java
+++ /dev/null
@@ -1,367 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Category;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Name;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl#getCategory <em>Category</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.DocumentRootImpl#getTaxonomy <em>Taxonomy</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMixed()
- * @generated
- * @ordered
- */
- protected FeatureMap mixed = null;
-
- /**
- * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXMLNSPrefixMap()
- * @generated
- * @ordered
- */
- protected EMap xMLNSPrefixMap = null;
-
- /**
- * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXSISchemaLocation()
- * @generated
- * @ordered
- */
- protected EMap xSISchemaLocation = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return TaxonomyPackage.eINSTANCE.getDocumentRoot();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, TaxonomyPackage.DOCUMENT_ROOT__MIXED);
- }
- return mixed;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXMLNSPrefixMap() {
- if (xMLNSPrefixMap == null) {
- xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, TaxonomyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- }
- return xMLNSPrefixMap;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXSISchemaLocation() {
- if (xSISchemaLocation == null) {
- xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, TaxonomyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Category getCategory() {
- return (Category)getMixed().get(TaxonomyPackage.eINSTANCE.getDocumentRoot_Category(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetCategory(Category newCategory, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TaxonomyPackage.eINSTANCE.getDocumentRoot_Category(), newCategory, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCategory(Category newCategory) {
- ((FeatureMap.Internal)getMixed()).set(TaxonomyPackage.eINSTANCE.getDocumentRoot_Category(), newCategory);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Name getName() {
- return (Name)getMixed().get(TaxonomyPackage.eINSTANCE.getDocumentRoot_Name(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetName(Name newName, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TaxonomyPackage.eINSTANCE.getDocumentRoot_Name(), newName, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(Name newName) {
- ((FeatureMap.Internal)getMixed()).set(TaxonomyPackage.eINSTANCE.getDocumentRoot_Name(), newName);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Taxonomy getTaxonomy() {
- return (Taxonomy)getMixed().get(TaxonomyPackage.eINSTANCE.getDocumentRoot_Taxonomy(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTaxonomy(Taxonomy newTaxonomy, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TaxonomyPackage.eINSTANCE.getDocumentRoot_Taxonomy(), newTaxonomy, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTaxonomy(Taxonomy newTaxonomy) {
- ((FeatureMap.Internal)getMixed()).set(TaxonomyPackage.eINSTANCE.getDocumentRoot_Taxonomy(), newTaxonomy);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaxonomyPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
- case TaxonomyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case TaxonomyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case TaxonomyPackage.DOCUMENT_ROOT__CATEGORY:
- return basicSetCategory(null, msgs);
- case TaxonomyPackage.DOCUMENT_ROOT__NAME:
- return basicSetName(null, msgs);
- case TaxonomyPackage.DOCUMENT_ROOT__TAXONOMY:
- return basicSetTaxonomy(null, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.DOCUMENT_ROOT__MIXED:
- return getMixed();
- case TaxonomyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return getXMLNSPrefixMap();
- case TaxonomyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return getXSISchemaLocation();
- case TaxonomyPackage.DOCUMENT_ROOT__CATEGORY:
- return getCategory();
- case TaxonomyPackage.DOCUMENT_ROOT__NAME:
- return getName();
- case TaxonomyPackage.DOCUMENT_ROOT__TAXONOMY:
- return getTaxonomy();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- getMixed().addAll((Collection)newValue);
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- getXMLNSPrefixMap().addAll((Collection)newValue);
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- getXSISchemaLocation().addAll((Collection)newValue);
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__CATEGORY:
- setCategory((Category)newValue);
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__NAME:
- setName((Name)newValue);
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__TAXONOMY:
- setTaxonomy((Taxonomy)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__CATEGORY:
- setCategory((Category)null);
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__NAME:
- setName((Name)null);
- return;
- case TaxonomyPackage.DOCUMENT_ROOT__TAXONOMY:
- setTaxonomy((Taxonomy)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case TaxonomyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case TaxonomyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case TaxonomyPackage.DOCUMENT_ROOT__CATEGORY:
- return getCategory() != null;
- case TaxonomyPackage.DOCUMENT_ROOT__NAME:
- return getName() != null;
- case TaxonomyPackage.DOCUMENT_ROOT__TAXONOMY:
- return getTaxonomy() != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (mixed: ");
- result.append(mixed);
- result.append(')');
- return result.toString();
- }
-
-} //DocumentRootImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/NameImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/NameImpl.java
deleted file mode 100644
index bc55bd948..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/NameImpl.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: NameImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Name;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.NameImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.NameImpl#getLang <em>Lang</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NameImpl extends EObjectImpl implements Name {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected static final String LANG_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLang()
- * @generated
- * @ordered
- */
- protected String lang = LANG_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NameImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return TaxonomyPackage.eINSTANCE.getName_();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.NAME__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLang() {
- return lang;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLang(String newLang) {
- String oldLang = lang;
- lang = newLang;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.NAME__LANG, oldLang, lang));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.NAME__VALUE:
- return getValue();
- case TaxonomyPackage.NAME__LANG:
- return getLang();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.NAME__VALUE:
- setValue((String)newValue);
- return;
- case TaxonomyPackage.NAME__LANG:
- setLang((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.NAME__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- case TaxonomyPackage.NAME__LANG:
- setLang(LANG_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.NAME__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- case TaxonomyPackage.NAME__LANG:
- return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(", lang: ");
- result.append(lang);
- result.append(')');
- return result.toString();
- }
-
-} //NameImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyFactoryImpl.java
deleted file mode 100644
index 7f5b54ebc..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyFactoryImpl.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyFactoryImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class TaxonomyFactoryImpl extends EFactoryImpl implements TaxonomyFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TaxonomyFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case TaxonomyPackage.CATEGORY: return createCategory();
- case TaxonomyPackage.DOCUMENT_ROOT: return createDocumentRoot();
- case TaxonomyPackage.NAME: return createName();
- case TaxonomyPackage.TAXONOMY: return createTaxonomy();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Category createCategory() {
- CategoryImpl category = new CategoryImpl();
- return category;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DocumentRoot createDocumentRoot() {
- DocumentRootImpl documentRoot = new DocumentRootImpl();
- return documentRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Name createName() {
- NameImpl name = new NameImpl();
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Taxonomy createTaxonomy() {
- TaxonomyImpl taxonomy = new TaxonomyImpl();
- return taxonomy;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TaxonomyPackage getTaxonomyPackage() {
- return (TaxonomyPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static TaxonomyPackage getPackage() {
- return TaxonomyPackage.eINSTANCE;
- }
-
-} //TaxonomyFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyImpl.java
deleted file mode 100644
index f57895285..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyImpl.java
+++ /dev/null
@@ -1,476 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Category;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Name;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Taxonomy</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl#getNlname <em>Nlname</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl#getCategory <em>Category</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl#getLocation <em>Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl#getRef <em>Ref</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyImpl#getTmodelKey <em>Tmodel Key</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TaxonomyImpl extends EObjectImpl implements Taxonomy {
- /**
- * The cached value of the '{@link #getNlname() <em>Nlname</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNlname()
- * @generated
- * @ordered
- */
- protected EList nlname = null;
-
- /**
- * The cached value of the '{@link #getCategory() <em>Category</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCategory()
- * @generated
- * @ordered
- */
- protected EList category = null;
-
- /**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected static final String ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected String id = ID_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected String location = LOCATION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getRef() <em>Ref</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRef()
- * @generated
- * @ordered
- */
- protected static final String REF_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getRef() <em>Ref</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRef()
- * @generated
- * @ordered
- */
- protected String ref = REF_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTmodelKey() <em>Tmodel Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTmodelKey()
- * @generated
- * @ordered
- */
- protected static final String TMODEL_KEY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTmodelKey() <em>Tmodel Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTmodelKey()
- * @generated
- * @ordered
- */
- protected String tmodelKey = TMODEL_KEY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TaxonomyImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return TaxonomyPackage.eINSTANCE.getTaxonomy();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getNlname() {
- if (nlname == null) {
- nlname = new EObjectContainmentEList(Name.class, this, TaxonomyPackage.TAXONOMY__NLNAME);
- }
- return nlname;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getCategory() {
- if (category == null) {
- category = new EObjectContainmentEList(Category.class, this, TaxonomyPackage.TAXONOMY__CATEGORY);
- }
- return category;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getId() {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(String newId) {
- String oldId = id;
- id = newId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.TAXONOMY__ID, oldId, id));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocation() {
- return location;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocation(String newLocation) {
- String oldLocation = location;
- location = newLocation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.TAXONOMY__LOCATION, oldLocation, location));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.TAXONOMY__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getRef() {
- return ref;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRef(String newRef) {
- String oldRef = ref;
- ref = newRef;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.TAXONOMY__REF, oldRef, ref));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTmodelKey() {
- return tmodelKey;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTmodelKey(String newTmodelKey) {
- String oldTmodelKey = tmodelKey;
- tmodelKey = newTmodelKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxonomyPackage.TAXONOMY__TMODEL_KEY, oldTmodelKey, tmodelKey));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaxonomyPackage.TAXONOMY__NLNAME:
- return ((InternalEList)getNlname()).basicRemove(otherEnd, msgs);
- case TaxonomyPackage.TAXONOMY__CATEGORY:
- return ((InternalEList)getCategory()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.TAXONOMY__NLNAME:
- return getNlname();
- case TaxonomyPackage.TAXONOMY__CATEGORY:
- return getCategory();
- case TaxonomyPackage.TAXONOMY__ID:
- return getId();
- case TaxonomyPackage.TAXONOMY__LOCATION:
- return getLocation();
- case TaxonomyPackage.TAXONOMY__NAME:
- return getName();
- case TaxonomyPackage.TAXONOMY__REF:
- return getRef();
- case TaxonomyPackage.TAXONOMY__TMODEL_KEY:
- return getTmodelKey();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.TAXONOMY__NLNAME:
- getNlname().clear();
- getNlname().addAll((Collection)newValue);
- return;
- case TaxonomyPackage.TAXONOMY__CATEGORY:
- getCategory().clear();
- getCategory().addAll((Collection)newValue);
- return;
- case TaxonomyPackage.TAXONOMY__ID:
- setId((String)newValue);
- return;
- case TaxonomyPackage.TAXONOMY__LOCATION:
- setLocation((String)newValue);
- return;
- case TaxonomyPackage.TAXONOMY__NAME:
- setName((String)newValue);
- return;
- case TaxonomyPackage.TAXONOMY__REF:
- setRef((String)newValue);
- return;
- case TaxonomyPackage.TAXONOMY__TMODEL_KEY:
- setTmodelKey((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.TAXONOMY__NLNAME:
- getNlname().clear();
- return;
- case TaxonomyPackage.TAXONOMY__CATEGORY:
- getCategory().clear();
- return;
- case TaxonomyPackage.TAXONOMY__ID:
- setId(ID_EDEFAULT);
- return;
- case TaxonomyPackage.TAXONOMY__LOCATION:
- setLocation(LOCATION_EDEFAULT);
- return;
- case TaxonomyPackage.TAXONOMY__NAME:
- setName(NAME_EDEFAULT);
- return;
- case TaxonomyPackage.TAXONOMY__REF:
- setRef(REF_EDEFAULT);
- return;
- case TaxonomyPackage.TAXONOMY__TMODEL_KEY:
- setTmodelKey(TMODEL_KEY_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaxonomyPackage.TAXONOMY__NLNAME:
- return nlname != null && !nlname.isEmpty();
- case TaxonomyPackage.TAXONOMY__CATEGORY:
- return category != null && !category.isEmpty();
- case TaxonomyPackage.TAXONOMY__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
- case TaxonomyPackage.TAXONOMY__LOCATION:
- return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
- case TaxonomyPackage.TAXONOMY__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case TaxonomyPackage.TAXONOMY__REF:
- return REF_EDEFAULT == null ? ref != null : !REF_EDEFAULT.equals(ref);
- case TaxonomyPackage.TAXONOMY__TMODEL_KEY:
- return TMODEL_KEY_EDEFAULT == null ? tmodelKey != null : !TMODEL_KEY_EDEFAULT.equals(tmodelKey);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (id: ");
- result.append(id);
- result.append(", location: ");
- result.append(location);
- result.append(", name: ");
- result.append(name);
- result.append(", ref: ");
- result.append(ref);
- result.append(", tmodelKey: ");
- result.append(tmodelKey);
- result.append(')');
- return result.toString();
- }
-
-} //TaxonomyImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyPackageImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyPackageImpl.java
deleted file mode 100644
index 0ff7da8cd..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/impl/TaxonomyPackageImpl.java
+++ /dev/null
@@ -1,658 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyPackageImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Category;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Name;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyFactory;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class TaxonomyPackageImpl extends EPackageImpl implements TaxonomyPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass categoryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentRootEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass taxonomyEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private TaxonomyPackageImpl() {
- super(eNS_URI, TaxonomyFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static TaxonomyPackage init() {
- if (isInited) return (TaxonomyPackage)EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI);
-
- // Obtain or create and register package
- TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof TaxonomyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new TaxonomyPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackageImpl.init();
-
- // Obtain or create and register interdependencies
- RTIndexPackageImpl theRTIndexPackage = (RTIndexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) instanceof RTIndexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) : RTIndexPackageImpl.eINSTANCE);
- RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) instanceof RegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) : RegistryPackageImpl.eINSTANCE);
- UDDIRegistryPackageImpl theUDDIRegistryPackage = (UDDIRegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) instanceof UDDIRegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) : UDDIRegistryPackageImpl.eINSTANCE);
-
- // Create package meta-data objects
- theTaxonomyPackage.createPackageContents();
- theRTIndexPackage.createPackageContents();
- theRegistryPackage.createPackageContents();
- theUDDIRegistryPackage.createPackageContents();
-
- // Initialize created meta-data
- theTaxonomyPackage.initializePackageContents();
- theRTIndexPackage.initializePackageContents();
- theRegistryPackage.initializePackageContents();
- theUDDIRegistryPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theTaxonomyPackage.freeze();
-
- return theTaxonomyPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCategory() {
- return categoryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCategory_Nlname() {
- return (EReference)categoryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCategory_Category() {
- return (EReference)categoryEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCategory_Code() {
- return (EAttribute)categoryEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCategory_Name() {
- return (EAttribute)categoryEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentRoot() {
- return documentRootEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_Mixed() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XMLNSPrefixMap() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XSISchemaLocation() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Category() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Name() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Taxonomy() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getName_() {
- return nameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getName_Value() {
- return (EAttribute)nameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getName_Lang() {
- return (EAttribute)nameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTaxonomy() {
- return taxonomyEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTaxonomy_Nlname() {
- return (EReference)taxonomyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTaxonomy_Category() {
- return (EReference)taxonomyEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getTaxonomy_Id() {
- return (EAttribute)taxonomyEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getTaxonomy_Location() {
- return (EAttribute)taxonomyEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getTaxonomy_Name() {
- return (EAttribute)taxonomyEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getTaxonomy_Ref() {
- return (EAttribute)taxonomyEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getTaxonomy_TmodelKey() {
- return (EAttribute)taxonomyEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TaxonomyFactory getTaxonomyFactory() {
- return (TaxonomyFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- categoryEClass = createEClass(CATEGORY);
- createEReference(categoryEClass, CATEGORY__NLNAME);
- createEReference(categoryEClass, CATEGORY__CATEGORY);
- createEAttribute(categoryEClass, CATEGORY__CODE);
- createEAttribute(categoryEClass, CATEGORY__NAME);
-
- documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__CATEGORY);
- createEReference(documentRootEClass, DOCUMENT_ROOT__NAME);
- createEReference(documentRootEClass, DOCUMENT_ROOT__TAXONOMY);
-
- nameEClass = createEClass(NAME);
- createEAttribute(nameEClass, NAME__VALUE);
- createEAttribute(nameEClass, NAME__LANG);
-
- taxonomyEClass = createEClass(TAXONOMY);
- createEReference(taxonomyEClass, TAXONOMY__NLNAME);
- createEReference(taxonomyEClass, TAXONOMY__CATEGORY);
- createEAttribute(taxonomyEClass, TAXONOMY__ID);
- createEAttribute(taxonomyEClass, TAXONOMY__LOCATION);
- createEAttribute(taxonomyEClass, TAXONOMY__NAME);
- createEAttribute(taxonomyEClass, TAXONOMY__REF);
- createEAttribute(taxonomyEClass, TAXONOMY__TMODEL_KEY);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(categoryEClass, Category.class, "Category", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCategory_Nlname(), this.getName_(), null, "nlname", null, 0, -1, Category.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCategory_Category(), this.getCategory(), null, "category", null, 0, -1, Category.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCategory_Code(), theXMLTypePackage.getString(), "code", null, 0, 1, Category.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCategory_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Category.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Category(), this.getCategory(), null, "category", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Name(), this.getName_(), null, "name", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Taxonomy(), this.getTaxonomy(), null, "taxonomy", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(nameEClass, Name.class, "Name", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getName_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getName_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(taxonomyEClass, Taxonomy.class, "Taxonomy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTaxonomy_Nlname(), this.getName_(), null, "nlname", null, 0, -1, Taxonomy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getTaxonomy_Category(), this.getCategory(), null, "category", null, 0, -1, Taxonomy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTaxonomy_Id(), theXMLTypePackage.getAnyURI(), "id", null, 0, 1, Taxonomy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTaxonomy_Location(), theXMLTypePackage.getAnyURI(), "location", null, 0, 1, Taxonomy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTaxonomy_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Taxonomy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTaxonomy_Ref(), theXMLTypePackage.getAnyURI(), "ref", null, 0, 1, Taxonomy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTaxonomy_TmodelKey(), theXMLTypePackage.getString(), "tmodelKey", null, 1, 1, Taxonomy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (categoryEClass,
- source,
- new String[] {
- "name", "Category",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCategory_Nlname(),
- source,
- new String[] {
- "kind", "element",
- "name", "nlname"
- });
- addAnnotation
- (getCategory_Category(),
- source,
- new String[] {
- "kind", "element",
- "name", "category"
- });
- addAnnotation
- (getCategory_Code(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "code"
- });
- addAnnotation
- (getCategory_Name(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (documentRootEClass,
- source,
- new String[] {
- "name", "",
- "kind", "mixed"
- });
- addAnnotation
- (getDocumentRoot_Mixed(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "name", ":mixed"
- });
- addAnnotation
- (getDocumentRoot_XMLNSPrefixMap(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xmlns:prefix"
- });
- addAnnotation
- (getDocumentRoot_XSISchemaLocation(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xsi:schemaLocation"
- });
- addAnnotation
- (getDocumentRoot_Category(),
- source,
- new String[] {
- "kind", "element",
- "name", "category",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_Taxonomy(),
- source,
- new String[] {
- "kind", "element",
- "name", "taxonomy",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (nameEClass,
- source,
- new String[] {
- "name", "Name",
- "kind", "simple"
- });
- addAnnotation
- (getName_Value(),
- source,
- new String[] {
- "name", ":0",
- "kind", "simple"
- });
- addAnnotation
- (getName_Lang(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "lang",
- "namespace", "http://www.w3.org/XML/1998/namespace"
- });
- addAnnotation
- (taxonomyEClass,
- source,
- new String[] {
- "name", "Taxonomy",
- "kind", "elementOnly"
- });
- addAnnotation
- (getTaxonomy_Nlname(),
- source,
- new String[] {
- "kind", "element",
- "name", "nlname"
- });
- addAnnotation
- (getTaxonomy_Category(),
- source,
- new String[] {
- "kind", "element",
- "name", "category"
- });
- addAnnotation
- (getTaxonomy_Id(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "id"
- });
- addAnnotation
- (getTaxonomy_Location(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "location"
- });
- addAnnotation
- (getTaxonomy_Name(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (getTaxonomy_Ref(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "ref"
- });
- addAnnotation
- (getTaxonomy_TmodelKey(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "tmodelKey"
- });
- }
-
-} //TaxonomyPackageImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyAdapterFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyAdapterFactory.java
deleted file mode 100644
index 932b70f70..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyAdapterFactory.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyAdapterFactory.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage
- * @generated
- */
-public class TaxonomyAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static TaxonomyPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TaxonomyAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = TaxonomyPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TaxonomySwitch modelSwitch =
- new TaxonomySwitch() {
- public Object caseCategory(Category object) {
- return createCategoryAdapter();
- }
- public Object caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
- public Object caseName(Name object) {
- return createNameAdapter();
- }
- public Object caseTaxonomy(Taxonomy object) {
- return createTaxonomyAdapter();
- }
- public Object defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target) {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Category <em>Category</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Category
- * @generated
- */
- public Adapter createCategoryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot
- * @generated
- */
- public Adapter createDocumentRootAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Name <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Name
- * @generated
- */
- public Adapter createNameAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy <em>Taxonomy</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy
- * @generated
- */
- public Adapter createTaxonomyAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //TaxonomyAdapterFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceFactoryImpl.java
deleted file mode 100644
index 85d5cc6e2..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceFactoryImpl.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyResourceFactoryImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.util.ExtendedMetaData;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.util.TaxonomyResourceImpl
- * @generated
- */
-public class TaxonomyResourceFactoryImpl extends XMLResourceFactoryImpl {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExtendedMetaData extendedMetaData;
-
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TaxonomyResourceFactoryImpl() {
- super();
- extendedMetaData = ExtendedMetaData.INSTANCE;
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Resource createResource(URI uri) {
- XMLResource result = new TaxonomyResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //TaxonomyResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceImpl.java
deleted file mode 100644
index 8cbed9bdd..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomyResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomyResourceImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.util.TaxonomyResourceFactoryImpl
- * @generated
- */
-public class TaxonomyResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public TaxonomyResourceImpl(URI uri) {
- super(uri);
- }
-
-} //TaxonomyResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomySwitch.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomySwitch.java
deleted file mode 100644
index 82ddc7975..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/taxonomy/util/TaxonomySwitch.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomySwitch.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.taxonomy.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage
- * @generated
- */
-public class TaxonomySwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static TaxonomyPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TaxonomySwitch() {
- if (modelPackage == null) {
- modelPackage = TaxonomyPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(EClass theEClass, EObject theEObject) {
- if (theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else {
- List eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch((EClass)eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case TaxonomyPackage.CATEGORY: {
- Category category = (Category)theEObject;
- Object result = caseCategory(category);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TaxonomyPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- Object result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TaxonomyPackage.NAME: {
- Name name = (Name)theEObject;
- Object result = caseName(name);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TaxonomyPackage.TAXONOMY: {
- Taxonomy taxonomy = (Taxonomy)theEObject;
- Object result = caseTaxonomy(taxonomy);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Category</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Category</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseCategory(Category object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDocumentRoot(DocumentRoot object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Name</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseName(Name object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Taxonomy</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Taxonomy</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseTaxonomy(Taxonomy object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object) {
- return null;
- }
-
-} //TaxonomySwitch
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/DocumentRoot.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/DocumentRoot.java
deleted file mode 100644
index 598dcb616..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/DocumentRoot.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRoot.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies <em>Taxonomies</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry <em>Uddi Registry</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot()
- * @model
- * @generated
- */
-public interface DocumentRoot extends EObject {
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * @generated
- */
- EMap getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Taxonomies</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Taxonomies</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Taxonomies</em>' containment reference.
- * @see #setTaxonomies(Taxonomies)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot_Taxonomies()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- Taxonomies getTaxonomies();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies <em>Taxonomies</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Taxonomies</em>' containment reference.
- * @see #getTaxonomies()
- * @generated
- */
- void setTaxonomies(Taxonomies value);
-
- /**
- * Returns the value of the '<em><b>Uddi Registry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Uddi Registry</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Uddi Registry</em>' containment reference.
- * @see #setUddiRegistry(UDDIRegistry)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot_UddiRegistry()
- * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true"
- * @generated
- */
- UDDIRegistry getUddiRegistry();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry <em>Uddi Registry</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Uddi Registry</em>' containment reference.
- * @see #getUddiRegistry()
- * @generated
- */
- void setUddiRegistry(UDDIRegistry value);
-
-} // DocumentRoot
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/Taxonomies.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/Taxonomies.java
deleted file mode 100644
index fc7ebce71..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/Taxonomies.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Taxonomies.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Taxonomies</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies#getTaxonomy <em>Taxonomy</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getTaxonomies()
- * @model
- * @generated
- */
-public interface Taxonomies extends EObject {
- /**
- * Returns the value of the '<em><b>Taxonomy</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Taxonomy</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Taxonomy</em>' containment reference list.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getTaxonomies_Taxonomy()
- * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy" containment="true" resolveProxies="false"
- * @generated
- */
- EList getTaxonomy();
-
-} // Taxonomies
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistry.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistry.java
deleted file mode 100644
index 5cf2115e3..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistry.java
+++ /dev/null
@@ -1,243 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistry.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>UDDIRegistry</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion <em>Version</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL <em>Discovery URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL <em>Publication URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL <em>Secured Publication URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin <em>Default Login</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword <em>Default Password</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies <em>Taxonomies</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry()
- * @model
- * @generated
- */
-public interface UDDIRegistry extends Registry {
- /**
- * Returns the value of the '<em><b>Version</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Version</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Version</em>' attribute.
- * @see #setVersion(String)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_Version()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * @generated
- */
- String getVersion();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion <em>Version</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Version</em>' attribute.
- * @see #getVersion()
- * @generated
- */
- void setVersion(String value);
-
- /**
- * Returns the value of the '<em><b>Discovery URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Discovery URL</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Discovery URL</em>' attribute.
- * @see #setDiscoveryURL(String)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_DiscoveryURL()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
- * @generated
- */
- String getDiscoveryURL();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL <em>Discovery URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Discovery URL</em>' attribute.
- * @see #getDiscoveryURL()
- * @generated
- */
- void setDiscoveryURL(String value);
-
- /**
- * Returns the value of the '<em><b>Publication URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Publication URL</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Publication URL</em>' attribute.
- * @see #setPublicationURL(String)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_PublicationURL()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
- * @generated
- */
- String getPublicationURL();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL <em>Publication URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Publication URL</em>' attribute.
- * @see #getPublicationURL()
- * @generated
- */
- void setPublicationURL(String value);
-
- /**
- * Returns the value of the '<em><b>Secured Discovery URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Secured Discovery URL</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Secured Discovery URL</em>' attribute.
- * @see #setSecuredDiscoveryURL(String)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_SecuredDiscoveryURL()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
- * @generated
- */
- String getSecuredDiscoveryURL();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Secured Discovery URL</em>' attribute.
- * @see #getSecuredDiscoveryURL()
- * @generated
- */
- void setSecuredDiscoveryURL(String value);
-
- /**
- * Returns the value of the '<em><b>Secured Publication URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Secured Publication URL</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Secured Publication URL</em>' attribute.
- * @see #setSecuredPublicationURL(String)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_SecuredPublicationURL()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
- * @generated
- */
- String getSecuredPublicationURL();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL <em>Secured Publication URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Secured Publication URL</em>' attribute.
- * @see #getSecuredPublicationURL()
- * @generated
- */
- void setSecuredPublicationURL(String value);
-
- /**
- * Returns the value of the '<em><b>Default Login</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default Login</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default Login</em>' attribute.
- * @see #setDefaultLogin(String)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_DefaultLogin()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * @generated
- */
- String getDefaultLogin();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin <em>Default Login</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Login</em>' attribute.
- * @see #getDefaultLogin()
- * @generated
- */
- void setDefaultLogin(String value);
-
- /**
- * Returns the value of the '<em><b>Default Password</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default Password</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default Password</em>' attribute.
- * @see #setDefaultPassword(String)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_DefaultPassword()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * @generated
- */
- String getDefaultPassword();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword <em>Default Password</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Password</em>' attribute.
- * @see #getDefaultPassword()
- * @generated
- */
- void setDefaultPassword(String value);
-
- /**
- * Returns the value of the '<em><b>Taxonomies</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Taxonomies</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Taxonomies</em>' containment reference.
- * @see #setTaxonomies(Taxonomies)
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_Taxonomies()
- * @model containment="true" resolveProxies="false"
- * @generated
- */
- Taxonomies getTaxonomies();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies <em>Taxonomies</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Taxonomies</em>' containment reference.
- * @see #getTaxonomies()
- * @generated
- */
- void setTaxonomies(Taxonomies value);
-
-} // UDDIRegistry
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryFactory.java
deleted file mode 100644
index a210c72d0..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryFactory.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryFactory.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage
- * @generated
- */
-public interface UDDIRegistryFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- UDDIRegistryFactory eINSTANCE = new org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Document Root</em>'.
- * @generated
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns a new object of class '<em>Taxonomies</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Taxonomies</em>'.
- * @generated
- */
- Taxonomies createTaxonomies();
-
- /**
- * Returns a new object of class '<em>UDDIRegistry</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>UDDIRegistry</em>'.
- * @generated
- */
- UDDIRegistry createUDDIRegistry();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- UDDIRegistryPackage getUDDIRegistryPackage();
-
-} //UDDIRegistryFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryPackage.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryPackage.java
deleted file mode 100644
index c1e5ae1f9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryPackage.java
+++ /dev/null
@@ -1,568 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryPackage.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * See http://www.w3.org/XML/1998/namespace.html and
- * http://www.w3.org/TR/REC-xml for information about this namespace.
- *
- * This schema document describes the XML namespace, in a form
- * suitable for import by other schema documents.
- *
- * Note that local names in this namespace are intended to be defined
- * only by the World Wide Web Consortium or its subgroups. The
- * following names are currently defined in this namespace and should
- * not be used with conflicting semantics by any Working Group,
- * specification, or document instance:
- *
- * base (as an attribute name): denotes an attribute whose value
- * provides a URI to be used as the base for interpreting any
- * relative URIs in the scope of the element on which it
- * appears; its value is inherited. This name is reserved
- * by virtue of its definition in the XML Base specification.
- *
- * id (as an attribute name): denotes an attribute whose value
- * should be interpreted as if declared to be of type ID.
- * The xml:id specification is not yet a W3C Recommendation,
- * but this attribute is included here to facilitate experimentation
- * with the mechanisms it proposes. Note that it is _not_ included
- * in the specialAttrs attribute group.
- *
- * lang (as an attribute name): denotes an attribute whose value
- * is a language code for the natural language of the content of
- * any element; its value is inherited. This name is reserved
- * by virtue of its definition in the XML specification.
- *
- * space (as an attribute name): denotes an attribute whose
- * value is a keyword indicating what whitespace processing
- * discipline is intended for the content of the element; its
- * value is inherited. This name is reserved by virtue of its
- * definition in the XML specification.
- *
- * Father (in any context at all): denotes Jon Bosak, the chair of
- * the original XML Working Group. This name is reserved by
- * the following decision of the W3C XML Plenary and
- * XML Coordination groups:
- *
- * In appreciation for his vision, leadership and dedication
- * the W3C XML Plenary on this 10th day of February, 2000
- * reserves for Jon Bosak in perpetuity the XML name
- * xml:Father
- *
- * This schema defines attributes and an attribute group
- * suitable for use by
- * schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
- * attributes on elements they define.
- *
- * To enable this, such a schema must import this schema
- * for the XML namespace, e.g. as follows:
- * &lt;schema . . .&gt;
- * . . .
- * &lt;import namespace="http://www.w3.org/XML/1998/namespace"
- * schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
- *
- * Subsequently, qualified reference to any of the attributes
- * or the group defined below will have the desired effect, e.g.
- *
- * &lt;type . . .&gt;
- * . . .
- * &lt;attributeGroup ref="xml:specialAttrs"/&gt;
- *
- * will define a type which will schema-validate an instance
- * element with any of those attributes
- * In keeping with the XML Schema WG's standard versioning
- * policy, this schema document will persist at
- * http://www.w3.org/2005/08/xml.xsd.
- * At the date of issue it can also be found at
- * http://www.w3.org/2001/xml.xsd.
- * The schema document at that URI may however change in the future,
- * in order to remain compatible with the latest version of XML Schema
- * itself, or with the XML namespace itself. In other words, if the XML
- * Schema or XML namespaces change, the version of this document at
- * http://www.w3.org/2001/xml.xsd will change
- * accordingly; the version at
- * http://www.w3.org/2005/08/xml.xsd will not change.
- *
- * <!-- end-model-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryFactory
- * @generated
- */
-public interface UDDIRegistryPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "uddiregistry";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://eclipse.org/wst/ws/internal/model/v10/uddiregistry";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "uddiregistry";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- UDDIRegistryPackage eINSTANCE = org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 0;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__MIXED = 0;
-
- /**
- * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
-
- /**
- * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Taxonomies</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__TAXONOMIES = 3;
-
- /**
- * The feature id for the '<em><b>Uddi Registry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__UDDI_REGISTRY = 4;
-
- /**
- * The number of structural features of the the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.TaxonomiesImpl <em>Taxonomies</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.TaxonomiesImpl
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl#getTaxonomies()
- * @generated
- */
- int TAXONOMIES = 1;
-
- /**
- * The feature id for the '<em><b>Taxonomy</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMIES__TAXONOMY = 0;
-
- /**
- * The number of structural features of the the '<em>Taxonomies</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAXONOMIES_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl <em>UDDIRegistry</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl#getUDDIRegistry()
- * @generated
- */
- int UDDI_REGISTRY = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__NAME = RegistryPackage.REGISTRY__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__DESCRIPTION = RegistryPackage.REGISTRY__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__ID = RegistryPackage.REGISTRY__ID;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__LOCATION = RegistryPackage.REGISTRY__LOCATION;
-
- /**
- * The feature id for the '<em><b>Ref</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__REF = RegistryPackage.REGISTRY__REF;
-
- /**
- * The feature id for the '<em><b>Version</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__VERSION = RegistryPackage.REGISTRY_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Discovery URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__DISCOVERY_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Publication URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__PUBLICATION_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Secured Discovery URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__SECURED_DISCOVERY_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Secured Publication URL</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__SECURED_PUBLICATION_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Default Login</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__DEFAULT_LOGIN = RegistryPackage.REGISTRY_FEATURE_COUNT + 5;
-
- /**
- * The feature id for the '<em><b>Default Password</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__DEFAULT_PASSWORD = RegistryPackage.REGISTRY_FEATURE_COUNT + 6;
-
- /**
- * The feature id for the '<em><b>Taxonomies</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY__TAXONOMIES = RegistryPackage.REGISTRY_FEATURE_COUNT + 7;
-
- /**
- * The number of structural features of the the '<em>UDDIRegistry</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UDDI_REGISTRY_FEATURE_COUNT = RegistryPackage.REGISTRY_FEATURE_COUNT + 8;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XSI Schema Location</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies <em>Taxonomies</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Taxonomies</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Taxonomies();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry <em>Uddi Registry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Uddi Registry</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_UddiRegistry();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies <em>Taxonomies</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Taxonomies</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies
- * @generated
- */
- EClass getTaxonomies();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies#getTaxonomy <em>Taxonomy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Taxonomy</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies#getTaxonomy()
- * @see #getTaxonomies()
- * @generated
- */
- EReference getTaxonomies_Taxonomy();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry <em>UDDIRegistry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>UDDIRegistry</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry
- * @generated
- */
- EClass getUDDIRegistry();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion <em>Version</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Version</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion()
- * @see #getUDDIRegistry()
- * @generated
- */
- EAttribute getUDDIRegistry_Version();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL <em>Discovery URL</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Discovery URL</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL()
- * @see #getUDDIRegistry()
- * @generated
- */
- EAttribute getUDDIRegistry_DiscoveryURL();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL <em>Publication URL</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Publication URL</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL()
- * @see #getUDDIRegistry()
- * @generated
- */
- EAttribute getUDDIRegistry_PublicationURL();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Secured Discovery URL</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL()
- * @see #getUDDIRegistry()
- * @generated
- */
- EAttribute getUDDIRegistry_SecuredDiscoveryURL();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL <em>Secured Publication URL</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Secured Publication URL</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL()
- * @see #getUDDIRegistry()
- * @generated
- */
- EAttribute getUDDIRegistry_SecuredPublicationURL();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin <em>Default Login</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Default Login</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin()
- * @see #getUDDIRegistry()
- * @generated
- */
- EAttribute getUDDIRegistry_DefaultLogin();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword <em>Default Password</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Default Password</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword()
- * @see #getUDDIRegistry()
- * @generated
- */
- EAttribute getUDDIRegistry_DefaultPassword();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies <em>Taxonomies</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Taxonomies</em>'.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies()
- * @see #getUDDIRegistry()
- * @generated
- */
- EReference getUDDIRegistry_Taxonomies();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- UDDIRegistryFactory getUDDIRegistryFactory();
-
-} //UDDIRegistryPackage
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/DocumentRootImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/DocumentRootImpl.java
deleted file mode 100644
index 6802d3fb2..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/DocumentRootImpl.java
+++ /dev/null
@@ -1,326 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getTaxonomies <em>Taxonomies</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getUddiRegistry <em>Uddi Registry</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMixed()
- * @generated
- * @ordered
- */
- protected FeatureMap mixed = null;
-
- /**
- * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXMLNSPrefixMap()
- * @generated
- * @ordered
- */
- protected EMap xMLNSPrefixMap = null;
-
- /**
- * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXSISchemaLocation()
- * @generated
- * @ordered
- */
- protected EMap xSISchemaLocation = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return UDDIRegistryPackage.eINSTANCE.getDocumentRoot();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, UDDIRegistryPackage.DOCUMENT_ROOT__MIXED);
- }
- return mixed;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXMLNSPrefixMap() {
- if (xMLNSPrefixMap == null) {
- xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- }
- return xMLNSPrefixMap;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap getXSISchemaLocation() {
- if (xSISchemaLocation == null) {
- xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Taxonomies getTaxonomies() {
- return (Taxonomies)getMixed().get(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_Taxonomies(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTaxonomies(Taxonomies newTaxonomies, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_Taxonomies(), newTaxonomies, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTaxonomies(Taxonomies newTaxonomies) {
- ((FeatureMap.Internal)getMixed()).set(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_Taxonomies(), newTaxonomies);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistry getUddiRegistry() {
- return (UDDIRegistry)getMixed().get(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_UddiRegistry(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetUddiRegistry(UDDIRegistry newUddiRegistry, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_UddiRegistry(), newUddiRegistry, null);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUddiRegistry(UDDIRegistry newUddiRegistry) {
- ((FeatureMap.Internal)getMixed()).set(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_UddiRegistry(), newUddiRegistry);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
- case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES:
- return basicSetTaxonomies(null, msgs);
- case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY:
- return basicSetUddiRegistry(null, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED:
- return getMixed();
- case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return getXMLNSPrefixMap();
- case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return getXSISchemaLocation();
- case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES:
- return getTaxonomies();
- case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY:
- return getUddiRegistry();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- getMixed().addAll((Collection)newValue);
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- getXMLNSPrefixMap().addAll((Collection)newValue);
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- getXSISchemaLocation().addAll((Collection)newValue);
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES:
- setTaxonomies((Taxonomies)newValue);
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY:
- setUddiRegistry((UDDIRegistry)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES:
- setTaxonomies((Taxonomies)null);
- return;
- case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY:
- setUddiRegistry((UDDIRegistry)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES:
- return getTaxonomies() != null;
- case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY:
- return getUddiRegistry() != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (mixed: ");
- result.append(mixed);
- result.append(')');
- return result.toString();
- }
-
-} //DocumentRootImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/TaxonomiesImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/TaxonomiesImpl.java
deleted file mode 100644
index 5d75bf7d5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/TaxonomiesImpl.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TaxonomiesImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Taxonomies</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.TaxonomiesImpl#getTaxonomy <em>Taxonomy</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TaxonomiesImpl extends EObjectImpl implements Taxonomies {
- /**
- * The cached value of the '{@link #getTaxonomy() <em>Taxonomy</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTaxonomy()
- * @generated
- * @ordered
- */
- protected EList taxonomy = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TaxonomiesImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return UDDIRegistryPackage.eINSTANCE.getTaxonomies();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getTaxonomy() {
- if (taxonomy == null) {
- taxonomy = new EObjectContainmentEList(Taxonomy.class, this, UDDIRegistryPackage.TAXONOMIES__TAXONOMY);
- }
- return taxonomy;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case UDDIRegistryPackage.TAXONOMIES__TAXONOMY:
- return ((InternalEList)getTaxonomy()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.TAXONOMIES__TAXONOMY:
- return getTaxonomy();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.TAXONOMIES__TAXONOMY:
- getTaxonomy().clear();
- getTaxonomy().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.TAXONOMIES__TAXONOMY:
- getTaxonomy().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.TAXONOMIES__TAXONOMY:
- return taxonomy != null && !taxonomy.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
-} //TaxonomiesImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryFactoryImpl.java
deleted file mode 100644
index 2e8033bb0..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryFactoryImpl.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryFactoryImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class UDDIRegistryFactoryImpl extends EFactoryImpl implements UDDIRegistryFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistryFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case UDDIRegistryPackage.DOCUMENT_ROOT: return createDocumentRoot();
- case UDDIRegistryPackage.TAXONOMIES: return createTaxonomies();
- case UDDIRegistryPackage.UDDI_REGISTRY: return createUDDIRegistry();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DocumentRoot createDocumentRoot() {
- DocumentRootImpl documentRoot = new DocumentRootImpl();
- return documentRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Taxonomies createTaxonomies() {
- TaxonomiesImpl taxonomies = new TaxonomiesImpl();
- return taxonomies;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistry createUDDIRegistry() {
- UDDIRegistryImpl uddiRegistry = new UDDIRegistryImpl();
- return uddiRegistry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistryPackage getUDDIRegistryPackage() {
- return (UDDIRegistryPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static UDDIRegistryPackage getPackage() {
- return UDDIRegistryPackage.eINSTANCE;
- }
-
-} //UDDIRegistryFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryImpl.java
deleted file mode 100644
index c8e38b095..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryImpl.java
+++ /dev/null
@@ -1,631 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>UDDIRegistry</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getVersion <em>Version</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getDiscoveryURL <em>Discovery URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getPublicationURL <em>Publication URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getSecuredPublicationURL <em>Secured Publication URL</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getDefaultLogin <em>Default Login</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getDefaultPassword <em>Default Password</em>}</li>
- * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getTaxonomies <em>Taxonomies</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class UDDIRegistryImpl extends RegistryImpl implements UDDIRegistry {
- /**
- * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVersion()
- * @generated
- * @ordered
- */
- protected static final String VERSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVersion()
- * @generated
- * @ordered
- */
- protected String version = VERSION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDiscoveryURL() <em>Discovery URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDiscoveryURL()
- * @generated
- * @ordered
- */
- protected static final String DISCOVERY_URL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDiscoveryURL() <em>Discovery URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDiscoveryURL()
- * @generated
- * @ordered
- */
- protected String discoveryURL = DISCOVERY_URL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPublicationURL() <em>Publication URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPublicationURL()
- * @generated
- * @ordered
- */
- protected static final String PUBLICATION_URL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPublicationURL() <em>Publication URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPublicationURL()
- * @generated
- * @ordered
- */
- protected String publicationURL = PUBLICATION_URL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getSecuredDiscoveryURL() <em>Secured Discovery URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSecuredDiscoveryURL()
- * @generated
- * @ordered
- */
- protected static final String SECURED_DISCOVERY_URL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSecuredDiscoveryURL() <em>Secured Discovery URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSecuredDiscoveryURL()
- * @generated
- * @ordered
- */
- protected String securedDiscoveryURL = SECURED_DISCOVERY_URL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getSecuredPublicationURL() <em>Secured Publication URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSecuredPublicationURL()
- * @generated
- * @ordered
- */
- protected static final String SECURED_PUBLICATION_URL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSecuredPublicationURL() <em>Secured Publication URL</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSecuredPublicationURL()
- * @generated
- * @ordered
- */
- protected String securedPublicationURL = SECURED_PUBLICATION_URL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDefaultLogin() <em>Default Login</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultLogin()
- * @generated
- * @ordered
- */
- protected static final String DEFAULT_LOGIN_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDefaultLogin() <em>Default Login</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultLogin()
- * @generated
- * @ordered
- */
- protected String defaultLogin = DEFAULT_LOGIN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDefaultPassword() <em>Default Password</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultPassword()
- * @generated
- * @ordered
- */
- protected static final String DEFAULT_PASSWORD_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDefaultPassword() <em>Default Password</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultPassword()
- * @generated
- * @ordered
- */
- protected String defaultPassword = DEFAULT_PASSWORD_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getTaxonomies() <em>Taxonomies</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTaxonomies()
- * @generated
- * @ordered
- */
- protected Taxonomies taxonomies = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UDDIRegistryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return UDDIRegistryPackage.eINSTANCE.getUDDIRegistry();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getVersion() {
- return version;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setVersion(String newVersion) {
- String oldVersion = version;
- version = newVersion;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__VERSION, oldVersion, version));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDiscoveryURL() {
- return discoveryURL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDiscoveryURL(String newDiscoveryURL) {
- String oldDiscoveryURL = discoveryURL;
- discoveryURL = newDiscoveryURL;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL, oldDiscoveryURL, discoveryURL));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPublicationURL() {
- return publicationURL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPublicationURL(String newPublicationURL) {
- String oldPublicationURL = publicationURL;
- publicationURL = newPublicationURL;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL, oldPublicationURL, publicationURL));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSecuredDiscoveryURL() {
- return securedDiscoveryURL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSecuredDiscoveryURL(String newSecuredDiscoveryURL) {
- String oldSecuredDiscoveryURL = securedDiscoveryURL;
- securedDiscoveryURL = newSecuredDiscoveryURL;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL, oldSecuredDiscoveryURL, securedDiscoveryURL));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSecuredPublicationURL() {
- return securedPublicationURL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSecuredPublicationURL(String newSecuredPublicationURL) {
- String oldSecuredPublicationURL = securedPublicationURL;
- securedPublicationURL = newSecuredPublicationURL;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL, oldSecuredPublicationURL, securedPublicationURL));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDefaultLogin() {
- return defaultLogin;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefaultLogin(String newDefaultLogin) {
- String oldDefaultLogin = defaultLogin;
- defaultLogin = newDefaultLogin;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN, oldDefaultLogin, defaultLogin));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDefaultPassword() {
- return defaultPassword;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefaultPassword(String newDefaultPassword) {
- String oldDefaultPassword = defaultPassword;
- defaultPassword = newDefaultPassword;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD, oldDefaultPassword, defaultPassword));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Taxonomies getTaxonomies() {
- return taxonomies;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTaxonomies(Taxonomies newTaxonomies, NotificationChain msgs) {
- Taxonomies oldTaxonomies = taxonomies;
- taxonomies = newTaxonomies;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, oldTaxonomies, newTaxonomies);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTaxonomies(Taxonomies newTaxonomies) {
- if (newTaxonomies != taxonomies) {
- NotificationChain msgs = null;
- if (taxonomies != null)
- msgs = ((InternalEObject)taxonomies).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, null, msgs);
- if (newTaxonomies != null)
- msgs = ((InternalEObject)newTaxonomies).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, null, msgs);
- msgs = basicSetTaxonomies(newTaxonomies, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, newTaxonomies, newTaxonomies));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case UDDIRegistryPackage.UDDI_REGISTRY__NAME:
- return ((InternalEList)getName()).basicRemove(otherEnd, msgs);
- case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION:
- return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs);
- case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES:
- return basicSetTaxonomies(null, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.UDDI_REGISTRY__NAME:
- return getName();
- case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION:
- return getDescription();
- case UDDIRegistryPackage.UDDI_REGISTRY__ID:
- return getId();
- case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION:
- return getLocation();
- case UDDIRegistryPackage.UDDI_REGISTRY__REF:
- return getRef();
- case UDDIRegistryPackage.UDDI_REGISTRY__VERSION:
- return getVersion();
- case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL:
- return getDiscoveryURL();
- case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL:
- return getPublicationURL();
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL:
- return getSecuredDiscoveryURL();
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL:
- return getSecuredPublicationURL();
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN:
- return getDefaultLogin();
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD:
- return getDefaultPassword();
- case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES:
- return getTaxonomies();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.UDDI_REGISTRY__NAME:
- getName().clear();
- getName().addAll((Collection)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION:
- getDescription().clear();
- getDescription().addAll((Collection)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__ID:
- setId((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION:
- setLocation((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__REF:
- setRef((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__VERSION:
- setVersion((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL:
- setDiscoveryURL((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL:
- setPublicationURL((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL:
- setSecuredDiscoveryURL((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL:
- setSecuredPublicationURL((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN:
- setDefaultLogin((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD:
- setDefaultPassword((String)newValue);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES:
- setTaxonomies((Taxonomies)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.UDDI_REGISTRY__NAME:
- getName().clear();
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION:
- getDescription().clear();
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__ID:
- setId(ID_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION:
- setLocation(LOCATION_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__REF:
- setRef(REF_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__VERSION:
- setVersion(VERSION_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL:
- setDiscoveryURL(DISCOVERY_URL_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL:
- setPublicationURL(PUBLICATION_URL_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL:
- setSecuredDiscoveryURL(SECURED_DISCOVERY_URL_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL:
- setSecuredPublicationURL(SECURED_PUBLICATION_URL_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN:
- setDefaultLogin(DEFAULT_LOGIN_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD:
- setDefaultPassword(DEFAULT_PASSWORD_EDEFAULT);
- return;
- case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES:
- setTaxonomies((Taxonomies)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case UDDIRegistryPackage.UDDI_REGISTRY__NAME:
- return name != null && !name.isEmpty();
- case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION:
- return description != null && !description.isEmpty();
- case UDDIRegistryPackage.UDDI_REGISTRY__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
- case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION:
- return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
- case UDDIRegistryPackage.UDDI_REGISTRY__REF:
- return REF_EDEFAULT == null ? ref != null : !REF_EDEFAULT.equals(ref);
- case UDDIRegistryPackage.UDDI_REGISTRY__VERSION:
- return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
- case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL:
- return DISCOVERY_URL_EDEFAULT == null ? discoveryURL != null : !DISCOVERY_URL_EDEFAULT.equals(discoveryURL);
- case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL:
- return PUBLICATION_URL_EDEFAULT == null ? publicationURL != null : !PUBLICATION_URL_EDEFAULT.equals(publicationURL);
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL:
- return SECURED_DISCOVERY_URL_EDEFAULT == null ? securedDiscoveryURL != null : !SECURED_DISCOVERY_URL_EDEFAULT.equals(securedDiscoveryURL);
- case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL:
- return SECURED_PUBLICATION_URL_EDEFAULT == null ? securedPublicationURL != null : !SECURED_PUBLICATION_URL_EDEFAULT.equals(securedPublicationURL);
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN:
- return DEFAULT_LOGIN_EDEFAULT == null ? defaultLogin != null : !DEFAULT_LOGIN_EDEFAULT.equals(defaultLogin);
- case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD:
- return DEFAULT_PASSWORD_EDEFAULT == null ? defaultPassword != null : !DEFAULT_PASSWORD_EDEFAULT.equals(defaultPassword);
- case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES:
- return taxonomies != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (version: ");
- result.append(version);
- result.append(", discoveryURL: ");
- result.append(discoveryURL);
- result.append(", publicationURL: ");
- result.append(publicationURL);
- result.append(", securedDiscoveryURL: ");
- result.append(securedDiscoveryURL);
- result.append(", securedPublicationURL: ");
- result.append(securedPublicationURL);
- result.append(", defaultLogin: ");
- result.append(defaultLogin);
- result.append(", defaultPassword: ");
- result.append(defaultPassword);
- result.append(')');
- return result.toString();
- }
-
-} //UDDIRegistryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryPackageImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryPackageImpl.java
deleted file mode 100644
index 877528bb9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryPackageImpl.java
+++ /dev/null
@@ -1,542 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryPackageImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryFactory;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class UDDIRegistryPackageImpl extends EPackageImpl implements UDDIRegistryPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentRootEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass taxonomiesEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass uddiRegistryEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private UDDIRegistryPackageImpl() {
- super(eNS_URI, UDDIRegistryFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static UDDIRegistryPackage init() {
- if (isInited) return (UDDIRegistryPackage)EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI);
-
- // Obtain or create and register package
- UDDIRegistryPackageImpl theUDDIRegistryPackage = (UDDIRegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof UDDIRegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new UDDIRegistryPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackageImpl.init();
-
- // Obtain or create and register interdependencies
- RTIndexPackageImpl theRTIndexPackage = (RTIndexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) instanceof RTIndexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) : RTIndexPackageImpl.eINSTANCE);
- TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) instanceof TaxonomyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) : TaxonomyPackageImpl.eINSTANCE);
- RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) instanceof RegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) : RegistryPackageImpl.eINSTANCE);
-
- // Create package meta-data objects
- theUDDIRegistryPackage.createPackageContents();
- theRTIndexPackage.createPackageContents();
- theTaxonomyPackage.createPackageContents();
- theRegistryPackage.createPackageContents();
-
- // Initialize created meta-data
- theUDDIRegistryPackage.initializePackageContents();
- theRTIndexPackage.initializePackageContents();
- theTaxonomyPackage.initializePackageContents();
- theRegistryPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theUDDIRegistryPackage.freeze();
-
- return theUDDIRegistryPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentRoot() {
- return documentRootEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_Mixed() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XMLNSPrefixMap() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XSISchemaLocation() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Taxonomies() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_UddiRegistry() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTaxonomies() {
- return taxonomiesEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTaxonomies_Taxonomy() {
- return (EReference)taxonomiesEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUDDIRegistry() {
- return uddiRegistryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUDDIRegistry_Version() {
- return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUDDIRegistry_DiscoveryURL() {
- return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUDDIRegistry_PublicationURL() {
- return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUDDIRegistry_SecuredDiscoveryURL() {
- return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUDDIRegistry_SecuredPublicationURL() {
- return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUDDIRegistry_DefaultLogin() {
- return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUDDIRegistry_DefaultPassword() {
- return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUDDIRegistry_Taxonomies() {
- return (EReference)uddiRegistryEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistryFactory getUDDIRegistryFactory() {
- return (UDDIRegistryFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__TAXONOMIES);
- createEReference(documentRootEClass, DOCUMENT_ROOT__UDDI_REGISTRY);
-
- taxonomiesEClass = createEClass(TAXONOMIES);
- createEReference(taxonomiesEClass, TAXONOMIES__TAXONOMY);
-
- uddiRegistryEClass = createEClass(UDDI_REGISTRY);
- createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__VERSION);
- createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__DISCOVERY_URL);
- createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__PUBLICATION_URL);
- createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__SECURED_DISCOVERY_URL);
- createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__SECURED_PUBLICATION_URL);
- createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__DEFAULT_LOGIN);
- createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__DEFAULT_PASSWORD);
- createEReference(uddiRegistryEClass, UDDI_REGISTRY__TAXONOMIES);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI);
- RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI);
- XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Add supertypes to classes
- uddiRegistryEClass.getESuperTypes().add(theRegistryPackage.getRegistry());
-
- // Initialize classes and features; add operations and parameters
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Taxonomies(), this.getTaxonomies(), null, "taxonomies", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_UddiRegistry(), this.getUDDIRegistry(), null, "uddiRegistry", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(taxonomiesEClass, Taxonomies.class, "Taxonomies", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTaxonomies_Taxonomy(), theTaxonomyPackage.getTaxonomy(), null, "taxonomy", null, 0, -1, Taxonomies.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(uddiRegistryEClass, UDDIRegistry.class, "UDDIRegistry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUDDIRegistry_Version(), theXMLTypePackage.getString(), "version", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUDDIRegistry_DiscoveryURL(), theXMLTypePackage.getAnyURI(), "discoveryURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUDDIRegistry_PublicationURL(), theXMLTypePackage.getAnyURI(), "publicationURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUDDIRegistry_SecuredDiscoveryURL(), theXMLTypePackage.getAnyURI(), "securedDiscoveryURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUDDIRegistry_SecuredPublicationURL(), theXMLTypePackage.getAnyURI(), "securedPublicationURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUDDIRegistry_DefaultLogin(), theXMLTypePackage.getString(), "defaultLogin", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUDDIRegistry_DefaultPassword(), theXMLTypePackage.getString(), "defaultPassword", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUDDIRegistry_Taxonomies(), this.getTaxonomies(), null, "taxonomies", null, 0, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (documentRootEClass,
- source,
- new String[] {
- "name", "",
- "kind", "mixed"
- });
- addAnnotation
- (getDocumentRoot_Mixed(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "name", ":mixed"
- });
- addAnnotation
- (getDocumentRoot_XMLNSPrefixMap(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xmlns:prefix"
- });
- addAnnotation
- (getDocumentRoot_XSISchemaLocation(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xsi:schemaLocation"
- });
- addAnnotation
- (getDocumentRoot_Taxonomies(),
- source,
- new String[] {
- "kind", "element",
- "name", "taxonomies",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_UddiRegistry(),
- source,
- new String[] {
- "kind", "element",
- "name", "uddiRegistry",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (taxonomiesEClass,
- source,
- new String[] {
- "name", "Taxonomies",
- "kind", "elementOnly"
- });
- addAnnotation
- (getTaxonomies_Taxonomy(),
- source,
- new String[] {
- "kind", "element",
- "name", "taxonomy",
- "namespace", "http://eclipse.org/wst/ws/internal/model/v10/taxonomy"
- });
- addAnnotation
- (uddiRegistryEClass,
- source,
- new String[] {
- "name", "UDDIRegistry",
- "kind", "elementOnly"
- });
- addAnnotation
- (getUDDIRegistry_Version(),
- source,
- new String[] {
- "kind", "element",
- "name", "version"
- });
- addAnnotation
- (getUDDIRegistry_DiscoveryURL(),
- source,
- new String[] {
- "kind", "element",
- "name", "discoveryURL"
- });
- addAnnotation
- (getUDDIRegistry_PublicationURL(),
- source,
- new String[] {
- "kind", "element",
- "name", "publicationURL"
- });
- addAnnotation
- (getUDDIRegistry_SecuredDiscoveryURL(),
- source,
- new String[] {
- "kind", "element",
- "name", "securedDiscoveryURL"
- });
- addAnnotation
- (getUDDIRegistry_SecuredPublicationURL(),
- source,
- new String[] {
- "kind", "element",
- "name", "securedPublicationURL"
- });
- addAnnotation
- (getUDDIRegistry_DefaultLogin(),
- source,
- new String[] {
- "kind", "element",
- "name", "defaultLogin"
- });
- addAnnotation
- (getUDDIRegistry_DefaultPassword(),
- source,
- new String[] {
- "kind", "element",
- "name", "defaultPassword"
- });
- addAnnotation
- (getUDDIRegistry_Taxonomies(),
- source,
- new String[] {
- "kind", "element",
- "name", "taxonomies"
- });
- }
-
-} //UDDIRegistryPackageImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryAdapterFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryAdapterFactory.java
deleted file mode 100644
index fc8e0c6fe..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryAdapterFactory.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryAdapterFactory.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage
- * @generated
- */
-public class UDDIRegistryAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static UDDIRegistryPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistryAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = UDDIRegistryPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UDDIRegistrySwitch modelSwitch =
- new UDDIRegistrySwitch() {
- public Object caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
- public Object caseTaxonomies(Taxonomies object) {
- return createTaxonomiesAdapter();
- }
- public Object caseUDDIRegistry(UDDIRegistry object) {
- return createUDDIRegistryAdapter();
- }
- public Object caseRegistry(Registry object) {
- return createRegistryAdapter();
- }
- public Object defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target) {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot
- * @generated
- */
- public Adapter createDocumentRootAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies <em>Taxonomies</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies
- * @generated
- */
- public Adapter createTaxonomiesAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry <em>UDDIRegistry</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry
- * @generated
- */
- public Adapter createUDDIRegistryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry <em>Registry</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry
- * @generated
- */
- public Adapter createRegistryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //UDDIRegistryAdapterFactory
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceFactoryImpl.java
deleted file mode 100644
index 91315af76..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceFactoryImpl.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryResourceFactoryImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.util.ExtendedMetaData;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.util.UDDIRegistryResourceImpl
- * @generated
- */
-public class UDDIRegistryResourceFactoryImpl extends XMLResourceFactoryImpl {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExtendedMetaData extendedMetaData;
-
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistryResourceFactoryImpl() {
- super();
- extendedMetaData = ExtendedMetaData.INSTANCE;
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Resource createResource(URI uri) {
- XMLResource result = new UDDIRegistryResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //UDDIRegistryResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceImpl.java
deleted file mode 100644
index 6d029c674..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistryResourceImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.util.UDDIRegistryResourceFactoryImpl
- * @generated
- */
-public class UDDIRegistryResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public UDDIRegistryResourceImpl(URI uri) {
- super(uri);
- }
-
-} //UDDIRegistryResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistrySwitch.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistrySwitch.java
deleted file mode 100644
index bd3d8ae47..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistrySwitch.java
+++ /dev/null
@@ -1,190 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UDDIRegistrySwitch.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $
- */
-package org.eclipse.wst.ws.internal.model.v10.uddiregistry.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage
- * @generated
- */
-public class UDDIRegistrySwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static UDDIRegistryPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UDDIRegistrySwitch() {
- if (modelPackage == null) {
- modelPackage = UDDIRegistryPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(EClass theEClass, EObject theEObject) {
- if (theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else {
- List eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch((EClass)eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case UDDIRegistryPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- Object result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UDDIRegistryPackage.TAXONOMIES: {
- Taxonomies taxonomies = (Taxonomies)theEObject;
- Object result = caseTaxonomies(taxonomies);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UDDIRegistryPackage.UDDI_REGISTRY: {
- UDDIRegistry uddiRegistry = (UDDIRegistry)theEObject;
- Object result = caseUDDIRegistry(uddiRegistry);
- if (result == null) result = caseRegistry(uddiRegistry);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDocumentRoot(DocumentRoot object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Taxonomies</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Taxonomies</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseTaxonomies(Taxonomies object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>UDDIRegistry</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>UDDIRegistry</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseUDDIRegistry(UDDIRegistry object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Registry</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Registry</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseRegistry(Registry object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object) {
- return null;
- }
-
-} //UDDIRegistrySwitch
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/monitor/GetMonitorCommand.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/monitor/GetMonitorCommand.java
deleted file mode 100644
index 32f5c5a9f..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/monitor/GetMonitorCommand.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.monitor;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.wsdl.extensions.soap.SOAPAddress;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.internet.monitor.core.internal.provisional.IMonitor;
-import org.eclipse.wst.internet.monitor.core.internal.provisional.IMonitorWorkingCopy;
-import org.eclipse.wst.internet.monitor.core.internal.provisional.MonitorCore;
-import org.eclipse.wst.server.core.util.SocketUtil;
-import org.eclipse.wst.ws.internal.WstWSPluginMessages;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-
-public class GetMonitorCommand extends AbstractDataModelOperation
-{
- private boolean monitorService;
-
- private boolean create;
-
- private WebServicesParser webServicesParser;
-
- private String wsdlURI;
-
- private List endpoints;
-
- public GetMonitorCommand() {
- monitorService = true;
- create = true;
- }
-
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment env = getEnvironment();
-
- endpoints = new Vector();
- if (monitorService && webServicesParser != null && wsdlURI != null
- && wsdlURI.length() > 0) {
- Definition definition = webServicesParser
- .getWSDLDefinition(wsdlURI);
- if (definition != null) {
- Map services = definition.getServices();
- for (Iterator servicesIt = services.values().iterator(); servicesIt
- .hasNext();) {
- Service service = (Service) servicesIt.next();
- Map ports = service.getPorts();
- for (Iterator portsIt = ports.values().iterator(); portsIt
- .hasNext();) {
- Port wsdlPort = (Port) portsIt.next();
- List extElements = wsdlPort.getExtensibilityElements();
- for (Iterator extElementsIt = extElements.iterator(); extElementsIt
- .hasNext();) {
- ExtensibilityElement extElement = (ExtensibilityElement) extElementsIt
- .next();
- String endpoint = null;
- URL endpointURL = null;
- if (extElement instanceof SOAPAddress)
- endpoint = ((SOAPAddress) extElement)
- .getLocationURI();
- else if (extElement instanceof HTTPAddress)
- endpoint = ((HTTPAddress) extElement)
- .getLocationURI();
- if (endpoint != null) {
- try {
- endpointURL = new URL(endpoint);
- } catch (MalformedURLException murle) {
- }
- }
- if (endpointURL != null) {
- String protocol = endpointURL.getProtocol();
- String host = endpointURL.getHost();
- int port = endpointURL.getPort();
- if (port == -1) {
- if ("http".equalsIgnoreCase(protocol))
- port = 80;
- else if ("https".equalsIgnoreCase(protocol))
- port = 443;
- }
- if (protocol != null
- && protocol.startsWith("http")
- && host != null && host.length() > 0
- && port != -1) {
- IMonitor m = null;
- IMonitor[] monitors = MonitorCore
- .getMonitors();
- for (int i = 0; i < monitors.length; i++) {
- if (host.equalsIgnoreCase(monitors[i]
- .getRemoteHost())
- && port == monitors[i]
- .getRemotePort()) {
- m = monitors[i];
- break;
- }
- }
- if (m == null && create) {
- int monitoredPort = SocketUtil
- .findUnusedPort(5000, 15000);
- IMonitorWorkingCopy monitorWorkingCopy = MonitorCore
- .createMonitor();
- monitorWorkingCopy
- .setLocalPort(monitoredPort);
- monitorWorkingCopy.setRemoteHost(host);
- monitorWorkingCopy.setRemotePort(port);
- monitorWorkingCopy.setProtocol("HTTP");
- try
- {
- m = monitorWorkingCopy.save();
- }
- catch (Throwable t)
- {
- IStatus warning = StatusUtils.warningStatus(
- NLS.bind(WstWSPluginMessages.MSG_ERROR_UNABLE_TO_START_MONITOR,
- new Object[] {String.valueOf(port), endpoint }), t );
- try {
- if (env != null)
- env.getStatusHandler()
- .report(warning);
- } catch (StatusException se) {
- }
- }
- }
- if (m != null) {
- try {
- if (!m.isRunning())
- m.start();
- StringBuffer sb = new StringBuffer(
- endpointURL.getProtocol());
- sb.append("://localhost:");
- sb.append(String.valueOf(m
- .getLocalPort()));
- sb.append(endpointURL.getFile());
- endpoints.add(sb.toString());
- }
- catch (Throwable t)
- {
- IStatus warning = StatusUtils.warningStatus(
- NLS.bind(WstWSPluginMessages.MSG_ERROR_UNABLE_TO_START_MONITOR,
- new Object[] {String.valueOf(port), endpoint }), t );
- try {
- if (env != null)
- env.getStatusHandler()
- .report(warning);
- } catch (StatusException se) {
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- return Status.OK_STATUS;
- }
-
- public void setMonitorService(boolean monitorService) {
- this.monitorService = monitorService;
- }
-
- public void setDefinition(Definition definition) {
- }
-
- public void setWebServicesParser(WebServicesParser webServicesParser) {
- this.webServicesParser = webServicesParser;
- }
-
- public void setWsdlURI(String wsdlURI) {
- this.wsdlURI = wsdlURI;
- }
-
- public void setCreate(boolean create) {
- this.create = create;
- }
-
- public List getEndpoints() {
- return endpoints;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/plugin/WSPlugin.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/plugin/WSPlugin.java
deleted file mode 100644
index a55f29f02..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/plugin/WSPlugin.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060403 128827 kathy@ca.ibm.com - Kathy Chan
- * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.plugin;
-
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentMergeContext;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSDLValidationContext;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIAPContext;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSISSBPContext;
-import org.eclipse.wst.ws.internal.preferences.PersistentWaitForWSDLValidationContext;
-import org.osgi.framework.BundleContext;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class WSPlugin extends Plugin {
-
- // The shared instance.
- private static WSPlugin plugin;
-
- private PersistentWSISSBPContext wsiSSBPContext_;
- private PersistentWSIAPContext wsiAPContext_;
- private PersistentWSDLValidationContext wsdlValidationContext_;
- private PersistentWaitForWSDLValidationContext waitForWsdlValidationContext_;
- private PersistentMergeContext mergeContext_;
-
- public static final String ID = "org.eclipse.wst.ws";
-
- /**
- * The constructor.
- */
- public WSPlugin() {
- super();
- plugin = this;
- }
-
- /**
- * Returns the singleton instance of this plugin. Equivalent to calling
- * (WSPlugin)Platform.getPlugin("org.eclipse.wst.ws");
- * @return The WSPlugin singleton.
- */
- static public WSPlugin getInstance() {
- return plugin;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static WSPlugin getDefault() {
- return plugin;
- }
-
-
- /**
- * Get WSI Context
- * @deprecated use getWSISSBPContext or getWSIAPContext instead
- *
- */
- public PersistentWSIContext getWSIContext()
- { // defaulting to get WSI Simple SOAP Binding Profile context
- return getWSISSBPContext();
- }
-
- /**
- * Get WSI Simple SOAP Binding Profile Context
- *
- */
- public PersistentWSISSBPContext getWSISSBPContext()
- {
- if (wsiSSBPContext_ == null)
- {
- wsiSSBPContext_ = new PersistentWSISSBPContext();
- wsiSSBPContext_.load();
- }
- return wsiSSBPContext_;
- }
-
- /**
- * Get WSI Attachment Profile Context
- *
- */
- public PersistentWSIAPContext getWSIAPContext()
- {
- if (wsiAPContext_ == null)
- {
- wsiAPContext_ = new PersistentWSIAPContext();
- wsiAPContext_.load();
- }
- return wsiAPContext_;
- }
-
- /**
- * Get WSDL Valiation Context
- *
- */
-
- public PersistentWSDLValidationContext getWSDLValidationContext() {
- if (wsdlValidationContext_ == null) {
- wsdlValidationContext_ = new PersistentWSDLValidationContext();
- wsdlValidationContext_.load();
- }
- return wsdlValidationContext_;
- }
-
- /**
- * Get Wait for WSDL Valiation Context
- *
- */
-
- public PersistentWaitForWSDLValidationContext getWaitForWSDLValidationContext() {
- if (waitForWsdlValidationContext_ == null) {
- waitForWsdlValidationContext_ = new PersistentWaitForWSDLValidationContext();
- waitForWsdlValidationContext_.load();
- }
- return waitForWsdlValidationContext_;
- }
-
- /**
- * Get Skeleton Merge Context
- *
- */
- public PersistentMergeContext getMergeContext()
- {
- if (mergeContext_ == null)
- {
- mergeContext_ = new PersistentMergeContext();
- mergeContext_.load();
- }
- return mergeContext_;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/MergeDefaults.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/MergeDefaults.java
deleted file mode 100644
index 2364a8ccd..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/MergeDefaults.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060403 128827 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.preferences;
-
-public class MergeDefaults
-{
- private static final boolean PREFERENCE_SKELETON_MERGE_DEFAULT = false;
-
- /**
- *
- * @return returns the default setting for skeleton merge.
- */
- public static boolean getSkeletonMergeDefault()
- {
- return PREFERENCE_SKELETON_MERGE_DEFAULT;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentMergeContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentMergeContext.java
deleted file mode 100644
index 9cc07cb44..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentMergeContext.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060403 128827 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.preferences;
-
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-
-public class PersistentMergeContext extends PersistentContext
-{
- /**
- * This constant string is used to lookup the enable skeleton merge general preference from
- * the plugins local preferences store.
- **/
- public static final String PREFERENCE_SKELETON_MERGE = "skeletonMerge";
-
- private static PersistentMergeContext context_ = null;
-
- public static PersistentMergeContext getInstance()
- {
- if( context_ == null )
- {
- context_ = new PersistentMergeContext();
- context_.load();
- }
-
- return context_;
- }
-
- public PersistentMergeContext()
- {
- super(WSPlugin.getInstance());
- }
-
- public void load()
- {
- setDefault(PREFERENCE_SKELETON_MERGE, MergeDefaults.getSkeletonMergeDefault());
- }
-
- public void setSkeletonMergeEnabled(boolean enable)
- {
- setValue(PREFERENCE_SKELETON_MERGE, enable);
- }
-
- public boolean isSkeletonMergeEnabled()
- {
- return getValueAsBoolean(PREFERENCE_SKELETON_MERGE);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSDLValidationContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSDLValidationContext.java
deleted file mode 100644
index cb1c047a9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSDLValidationContext.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.preferences;
-
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-
-
-public class PersistentWSDLValidationContext extends PersistentContext
-{
- public static final String VALIDATE_NO_WSDL = "0";
- public static final String VALIDATE_REMOTE_WSDL = "1";
- public static final String VALIDATE_ALL_WSDL = "2";
-
- private String wsdl_validation = "WSDL_VALIDATION";
-
-public PersistentWSDLValidationContext ()
-{
- super( WSPlugin.getInstance());
-
-}
-
-public void load()
-{
- setDefault(wsdl_validation, VALIDATE_NO_WSDL);
-}
-
-// to be used only by the preference page
-public void updateWSDLValidation ( String value)
-{
- setValue( wsdl_validation, value);
-}
-
-public String getPersistentWSDLValidation ()
-{
- String property = getValueAsString(wsdl_validation);
-// default to Ignore if no init has been done from ini file
- if (property == null || property.equals("")) {
- setValue( wsdl_validation, VALIDATE_NO_WSDL);
- return VALIDATE_NO_WSDL;
- }
- else
- return property;
-}
-
-public String getDefault()
-{
- return getDefaultString(wsdl_validation);
-}
-
-public boolean ValidateNoWSDL()
-{
- return VALIDATE_NO_WSDL.equals(getPersistentWSDLValidation());
-}
-
-public boolean WarnNonWSICompliances()
-{
- return VALIDATE_REMOTE_WSDL.equals(getPersistentWSDLValidation());
-}
-
-public boolean IgnoreNonWSICompliances()
-{
- return VALIDATE_ALL_WSDL.equals(getPersistentWSDLValidation());
-}
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIAPContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIAPContext.java
deleted file mode 100644
index 3f5d8984e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIAPContext.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.preferences;
-
-import org.eclipse.core.runtime.QualifiedName;
-import org.eclipse.wst.ws.internal.WstWSPluginMessages;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-
-
-public class PersistentWSIAPContext extends PersistentWSIContext
-{
- private static final String NON_WSI_AP_COMPLIANCE = "nonWSIAPCompliance";
-
-public PersistentWSIAPContext ()
-{
- super();
- non_wsi_compliance = NON_WSI_AP_COMPLIANCE;
- name = new QualifiedName(WSPlugin.ID , non_wsi_compliance);
- wsiWarning_ = WstWSPluginMessages.WSI_AP_WARNING;
- wsiError_ = WstWSPluginMessages.WSI_AP_ERROR;
-}
-
-public String getPersistentWSICompliance ()
-{
- String property = getValueAsString(non_wsi_compliance);
- // default to Warning if no init has been done from ini file
- if (property == null || property.equals("")) {
- setValue( non_wsi_compliance, WARN_NON_WSI);
- return WARN_NON_WSI;
- }
- else
- return property;
-}
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIContext.java
deleted file mode 100644
index 2b4fd0d07..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSIContext.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.preferences;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.QualifiedName;
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-import org.eclipse.wst.common.environment.EnvironmentService;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.ws.internal.WstWSPluginMessages;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-
-
-public class PersistentWSIContext extends PersistentContext
-{
- public static final String STOP_NON_WSI = "0";
- public static final String WARN_NON_WSI = "1";
- public static final String IGNORE_NON_WSI = "2";
- public static final String FOLLOW_WSI_PREFERENCE = "3";
-
- protected QualifiedName name = null; // set in subclass
- protected String non_wsi_compliance;
- private static final String NON_WSI_SSBP_COMPLIANCE = "nonWSISSBPCompliance";
- protected String wsiWarning_; // set in subclass
- protected String wsiError_; // set in subclass
-
-public PersistentWSIContext ()
-{
- super( WSPlugin.getInstance());
-
-// NOTE: name, wsiWarning_ and wsiError_ should be set in the subclasses. This is providing defaulting only.
- non_wsi_compliance = NON_WSI_SSBP_COMPLIANCE;
- name = new QualifiedName(WSPlugin.ID , non_wsi_compliance);
- wsiWarning_ = WstWSPluginMessages.WSI_SSBP_WARNING;
- wsiError_ = WstWSPluginMessages.WSI_SSBP_ERROR;
-}
-
-public void load()
-{
- // let the default be read from plugin_costomization.ini file
- // setDefault(non_wsi_compliance, WARN_NON_WSI);
-}
-
-// to be used only by the preference page
-public void updateWSICompliances ( String value)
-{
- setValue( non_wsi_compliance, value);
-}
-
-public String getPersistentWSICompliance ()
-{
- String property = getValueAsString(non_wsi_compliance);
-// default to Warning if no init has been done from ini file
- if (property == null || property.equals("")) {
- setValue( non_wsi_compliance, WARN_NON_WSI);
- return WARN_NON_WSI;
- }
- else
- return property;
-}
-
-public boolean StopNonWSICompliances()
-{
- return STOP_NON_WSI.equals(getPersistentWSICompliance());
-}
-
-public boolean WarnNonWSICompliances()
-{
- return WARN_NON_WSI.equals(getPersistentWSICompliance());
-}
-
-public boolean IgnoreNonWSICompliances()
-{
- return IGNORE_NON_WSI.equals(getPersistentWSICompliance());
-}
-
-// to be used only by the property page
-public void updateProjectWSICompliances ( IProject project, String value)
-{
- try {
- project.setPersistentProperty(name, value);
- }
- catch (CoreException e) {
- System.out.println("No such Project");
- ILog log = EnvironmentService.getEclipseLog();
- log.log(ILog.INFO, 5084, this, "updateProjectWSICompliances", "No such Project "+project);
- }
-}
-
-public boolean projectStopNonWSICompliances(IProject project)
-{
- return STOP_NON_WSI.equals(getProjectPersistentProperty(project));
-}
-
-public boolean projectWarnNonWSICompliances(IProject project)
-{
- return WARN_NON_WSI.equals(getProjectPersistentProperty(project));
-}
-
-public boolean projectIgnoreNonWSICompliances(IProject project)
-{
- return IGNORE_NON_WSI.equals(getProjectPersistentProperty(project));
-}
-
-
-// to be used only by the property page
-public boolean projectFollowWSIPreferance(IProject project)
-{
- try {
- String property = project.getPersistentProperty(name);
- return (property == null || property.equals("") || property.equals(FOLLOW_WSI_PREFERENCE));
- }
- catch (CoreException e) {
- return true;
- }
-}
-
-private String getProjectPersistentProperty(IProject project)
-{
- String property = getProjectWSICompliance(project);
- if (property.equals(FOLLOW_WSI_PREFERENCE)) {
- property = getPersistentWSICompliance();
- }
- return property;
- }
-
-public String getProjectWSICompliance(IProject project)
-{
- try {
- String property = project.getPersistentProperty(name);
- if (property == null || property.equals(""))
- {
- property = FOLLOW_WSI_PREFERENCE;
- }
- return property;
- }
- catch (CoreException e) {
- System.out.println("No such Project");
- return getPersistentWSICompliance();
- }
-}
-
-public String getWarning()
-{
- return wsiWarning_;
-}
-
-public String getError()
-{
- return wsiError_;
-}
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSISSBPContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSISSBPContext.java
deleted file mode 100644
index d5da7de48..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWSISSBPContext.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.preferences;
-
-import org.eclipse.core.runtime.QualifiedName;
-import org.eclipse.wst.ws.internal.WstWSPluginMessages;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-
-
-public class PersistentWSISSBPContext extends PersistentWSIContext
-{
- private static final String NON_WSI_SSBP_COMPLIANCE = "nonWSISSBPCompliance";
-
-public PersistentWSISSBPContext ()
-{
- super();
- non_wsi_compliance = NON_WSI_SSBP_COMPLIANCE;
- name = new QualifiedName(WSPlugin.ID , non_wsi_compliance);
- wsiWarning_ = WstWSPluginMessages.WSI_SSBP_WARNING;
- wsiError_ = WstWSPluginMessages.WSI_SSBP_ERROR;
-}
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWaitForWSDLValidationContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWaitForWSDLValidationContext.java
deleted file mode 100644
index eced2116e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/PersistentWaitForWSDLValidationContext.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.preferences;
-
-import org.eclipse.wst.command.internal.env.context.PersistentContext;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-
-
-public class PersistentWaitForWSDLValidationContext extends PersistentContext
-{
-
- private String wait_for_wsdl_validation = "WAIT_FOR_WSDL_VALIDATION";
-
-public PersistentWaitForWSDLValidationContext ()
-{
- super( WSPlugin.getInstance());
-
-}
-
-public void load()
-{
- setDefault(wait_for_wsdl_validation, true);
-}
-
-// to be used only by the preference page
-public void setWaitForWSDLValidation ( boolean value)
-{
- setValue( wait_for_wsdl_validation, value);
-}
-
-public boolean getPersistentWaitForWSDLValidation ()
-{
- return getValueAsBoolean(wait_for_wsdl_validation);
-
-}
-
-public boolean getDefault()
-{
- return getDefaultBoolean(wait_for_wsdl_validation);
-}
-
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/WSIComplianceUtils.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/WSIComplianceUtils.java
deleted file mode 100644
index 4a71383f4..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/preferences/WSIComplianceUtils.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.preferences;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.ws.internal.WstWSPluginMessages;
-
-
-public class WSIComplianceUtils
-{
-
-/**
- * @param project
- * @param context
- * @return
- */
-public static int getWSISeverity (IProject project, PersistentWSIContext context)
-{
- if (context.projectStopNonWSICompliances(project))
- return Status.ERROR;
- else if (context.projectWarnNonWSICompliances(project))
- return Status.WARNING;
- else
- return Status.INFO;
-}
-
-/**
- * @param monitor IStatusHandler
- * @param status Status[]
- * @param project IProject
- * @param context PersistentWSIContext
- * @return boolean true if to continue
- */
-public static boolean checkWSICompliance ( IStatusHandler monitor, Status[] status, IProject project, PersistentWSIContext context)
-{
- if (context.projectStopNonWSICompliances(project))
- {
-
- // emit an error message and return false
- IStatus status_ = StatusUtils.multiStatus( context.getError(), status );
- monitor.reportError(status_);
- return false;
- }
- else if (context.projectWarnNonWSICompliances(project))
- {
- // give a warning message with the options to stop, ignore this one, or ignore all coming messages
- IStatus status_ = StatusUtils.multiStatus( context.getWarning(), status);
-
- Choice ignoreChoice = new Choice('I', WstWSPluginMessages.IGNORE_LABEL, WstWSPluginMessages.IGNORE_DESCRIPTION);
- Choice ignoreAllChoice = new Choice('A', WstWSPluginMessages.IGNORE_ALL_LABEL, WstWSPluginMessages.IGNORE_ALL_DESCRIPTION);
- Choice cancelChoice = new Choice('C', WstWSPluginMessages.CANCEL_LABEL, WstWSPluginMessages.CANCEL_DESCRIPTION);
- Choice result = monitor.report(status_, new Choice[]{ignoreChoice, ignoreAllChoice, cancelChoice});
-
- // if the user closes the message box or selects ignore continue
- if (result == null || (result.getLabel().equals(ignoreChoice.getLabel())))
- return true;
- // if the user selects ignore all, change the preference
- else if (result.getLabel().equals(ignoreAllChoice.getLabel()))
- {
- context.updateProjectWSICompliances(project, PersistentWSIContext.IGNORE_NON_WSI);
- return true;
- }
- // if the user selects to cancel , do not continue with the command
- else if (result.getLabel().equals(cancelChoice.getLabel()))
- return false;
- }
- return true;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/GenericResourceFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/GenericResourceFactory.java
deleted file mode 100644
index 0536d0f3b..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/GenericResourceFactory.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.registry;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.util.ExtendedMetaData;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceFactoryImpl;
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * Patterned after the ResourceFactory classes generated
- * by the EMF tools, this generic factory handles creation
- * of EMF resources for XML documents in general.
- */
-public class GenericResourceFactory extends XMLResourceFactoryImpl
-{
- /**
- * Holds an instance of <code>ExtendedMetaData</code>
- * for associating extended metadata with the
- * <code>Resource</code> returned by <code>createResource</code>.
- */
- protected ExtendedMetaData extendedMetaData;
-
- /**
- * Constructs a new <code>GenericResourceFactory</code>.
- */
- public GenericResourceFactory()
- {
- super();
- extendedMetaData = ExtendedMetaData.INSTANCE;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.emf.ecore.resource.Resource$Factory#createResource(org.eclipse.emf.common.util.URI)
- */
- public Resource createResource(URI uri)
- {
- XMLResource result = new XMLResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/IRegistryManager.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/IRegistryManager.java
deleted file mode 100644
index 98b7901b7..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/IRegistryManager.java
+++ /dev/null
@@ -1,273 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060906 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.registry;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-
-/**
- * An IRegistryManager manages a family of <code>Registry</code>
- * and <code>Taxonomy</code> models persisted within some
- * addressable location such as under a directory in the
- * filesystem or under a folder in the Eclipse workspace,
- * and referenced from an index document at the same location.
- * <p>
- * Call <code>RegisteryService.getDefaultRegistryManager()</code>
- * or <code>RegisteryService.getRegistryManager(URL)</code> to
- * get a new IRegistryManager.
- *
- * @see org.eclipse.wst.ws.internal.registry.RegistryService#instance()
- * @see org.eclipse.wst.ws.internal.model.v10.registry.Registry
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy
- * @author cbrealey
- */
-public interface IRegistryManager
-{
- /**
- * A constant for use in the <code>removeRegistry(...)</code>
- * and <code>removeTaxonomy(...)</code> methods that will
- * cause the given registry or taxonomy document to be removed
- * from the index, but not deleted.
- *
- * @see #removeRegistry(String, boolean)
- * @see #removeTaxonomy(String, boolean)
- */
- public boolean KEEP_DOCUMENT = false;
-
- /**
- * A constant for use in the <code>removeRegistry(...)</code>
- * and <code>removeTaxonomy(...)</code> methods that will
- * cause the given registry or taxonomy document to be removed
- * from the index and deleted.
- *
- * @see #removeRegistry(String, boolean)
- * @see #removeTaxonomy(String, boolean)
- */
- public boolean DELETE_DOCUMENT = true;
-
- /**
- * Returns the URL of the XML index document that references
- * the XML registry and taxonomy models managed by this
- * Registry Manager.
- *
- * @return The URL of the managing document.
- * @throws MalformedURLException If a URL to the managing
- * document cannot be determined or created.
- */
- public URL getURL () throws MalformedURLException;
-
- /**
- * Adds an <code>ITaxonomyFinder</code> that the
- * <code>IRegistryManager</code> can use to find
- * the set of <code>Taxonomy</code> models used
- * by a given <code>Registry</code> model.
- * <code>IRegistryManager.save(registry)</code> needs help finding
- * the <code>Taxonomy</code> models used by a <code>Registry</code>,
- * if any.
- *
- * @param className The name of the concrete <code>Registry<code>
- * class for which the <code>ITaxonomyFinder</code> is being added.
- * @param taxonomyFinder An <code>ITaxonomyFinder</code> that knows
- * how to determine the set of <code>Taxonomy</code> models a given
- * concrete <code>Registry</code> model is using.
- * @see ITaxonomyFinder
- * @see #saveRegistry(Registry)
- */
- public void addTaxonomyFinder ( String className, ITaxonomyFinder taxonomyFinder );
-
- /**
- * Destroys the index of registries and taxonomies in memory.
- * Subsequent calls to <code>getIndex()</code> and other methods
- * of this interface will cause the index to be reloaded.
- * This method should be called anytime the caller suspects the
- * persistent index has changed and wishes to load the changes
- * into the current <code>IRegistryManager</code>.
- */
- public void refreshManager ();
-
- /**
- * Saves a <code>Taxonomy</code> model to an XML document
- * located relative to the index XML document as identified by
- * <code>getURL()</code>, and updates the index XML document
- * with references to the saved taxonomy document.
- * The relative pathname to the taxonomy XML document is
- * computed by the <code>IRegistryManager</code> and cannot
- * be influenced by the caller.
- *
- * @param registry The <code>Registry</code> model (and
- * referenced <code>Taxonomy</code> models) to save.
- * @return A <code>Registry</code> reference.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Registry
- * @see #addTaxonomyFinder(String, ITaxonomyFinder)
- */
- public Registry saveRegistry ( Registry registry ) throws CoreException;
-
- /**
- * Loads as necessary and returns a full <code>Registry</code>
- * model as identified by the given URI and referenced from
- * the index XML document located at <code>getURL()</code>.
- *
- * @param uri The URI identifier of the registry.
- * @return The <code>Registry</code> model
- * or null if no such model can be found.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Registry
- */
- public Registry loadRegistry ( String uri ) throws CoreException;
-
- /**
- * Loads as necessary and returns an array of full <code>Registry</code>
- * models as identified by the given array of URIs and referenced from
- * the index XML document located at <code>getURL()</code>.
- * Useful in conjunction with <code>getRegistryURIs()</code>.
- * Note that the length of the returned array may be less than
- * the length of the array of URIs in cases where one or more
- * URIs fail to resolve to a loadable model.
- *
- * @param uris The URI identifiers of the registries.
- * @return The array of <code>Registry</code> models,
- * never null, but possibly empty.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Registry
- */
- public Registry[] loadRegistries ( String[] uris ) throws CoreException;
-
- /**
- * Returns an array of URI identifiers to <code>Registry</code>
- * models in the index managed by this <code>IRegistryManager</code>.
- *
- * @return An array of URI identifiers, possibly empty but never null,
- * to registered <code>Registry</code> models.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Registry
- */
- public String[] getRegistryURIs () throws CoreException;
-
- /**
- * Removes the <code>Registry</code> model identified by the
- * given <code>uri</code> from the index and either keeps or
- * deletes the corresponding <code>Registry</code> document
- * based on the value given for <code>deleteDocument</code>.
- *
- * @param uri The URI identifier of the model to delete.
- * @param deleteDocument Either <code>KEEP_DOCUMENT</code>
- * or <code>DELETE_DOCUMENT</code> depending on whether the
- * model document should be kept or deleted.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Registry
- * @see #KEEP_DOCUMENT
- * @see #DELETE_DOCUMENT
- */
- public void removeRegistry ( String uri, boolean deleteDocument ) throws CoreException;
-
- /**
- * Saves a <code>Taxonomy</code> model to an XML document
- * located relative to the index XML document as identified by
- * <code>getURL()</code>, and updates the index XML document
- * with references to the saved taxonomy document.
- * The relative pathname to the taxonomy XML document is
- * computed by the <code>IRegistryManager</code> and cannot
- * be influenced by the caller.
- *
- * @param taxonomy The <code>Taxonomy</code> model to save.
- * @return A <code>Taxonomy</code> reference.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Taxonomy
- */
- public Taxonomy saveTaxonomy ( Taxonomy taxonomy ) throws CoreException;
-
- /**
- * Loads as necessary and returns a full <code>Taxonomy</code>
- * model as identified by the given URI and referenced from
- * the index XML document located at <code>getURL()</code>.
- *
- * @param uri The URI identifier of the taxonomy.
- * @return The <code>Taxonomy</code> model
- * or null if no such model can be found.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Taxonomy
- */
- public Taxonomy loadTaxonomy ( String uri ) throws CoreException;
-
- /**
- * Loads as necessary and returns an array of full <code>Taxonomy</code>
- * models as identified by the given array of URIs and referenced from
- * the index XML document located at <code>getURL()</code>.
- * Useful in conjunction with <code>getTaxonomyURIs()</code>.
- * Note that the length of the returned array may be less than
- * the length of the array of URIs in cases where one or more
- * URIs fail to resolve to a loadable model.
- *
- * @param uris The URI identifiers of the taxonomies.
- * @return The array of <code>Taxonomy</code> models,
- * never null, but possibly empty.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Registry
- */
- public Taxonomy[] loadTaxonomies ( String[] uris ) throws CoreException;
-
- /**
- * Returns an array of URI identifiers to <code>Taxonomy</code>
- * models in the index managed by this <code>IRegistryManager</code>.
- *
- * @return An array of URI identifiers, possibly empty but never null,
- * to registered <code>Taxonomy</code> models.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Taxonomy
- */
- public String[] getTaxonomyURIs () throws CoreException;
-
- /**
- * Removes the <code>Taxonomy</code> model identified by the
- * given <code>uri</code> from the index and either keeps or
- * deletes the corresponding <code>Taxonomy</code> document
- * based on the value given for <code>deleteDocument</code>.
- *
- * @param uri The URI identifier of the model to delete.
- * @param deleteDocument Either <code>KEEP_DOCUMENT</code>
- * or <code>DELETE_DOCUMENT</code> depending on whether the
- * model document should be kept or deleted.
- * @throws CoreException If the operation fails for any reason,
- * including but not limited to malformed location URIs in the
- * index or general input/output error conditions.
- * @see Taxonomy
- * @see #KEEP_DOCUMENT
- * @see #DELETE_DOCUMENT
- */
- public void removeTaxonomy ( String uri, boolean deleteDocument ) throws CoreException;
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/ITaxonomyFinder.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/ITaxonomyFinder.java
deleted file mode 100644
index e78fcc034..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/ITaxonomyFinder.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.registry;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-
-/**
- * An <code>ITaxonomyFinder</code> computes the set of
- * <code>Taxonomy</code> models referenced or used by a
- * <code>Registry</code>.
- * @author gilberta@ca.ibm.com
- * @see IRegistryManager
- */
-public interface ITaxonomyFinder
-{
- /**
- * Returns an array taxonomies used by the given
- * <code>registry</code>. This method never returns null.
- *
- * @param registry The <code>Registry</code> for which
- * a set of taxonomies might be found.
- * @return The array of taxonomies, possibly empty.
- */
- public Taxonomy[] taxonomies ( Registry registry );
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryManager.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryManager.java
deleted file mode 100644
index f83ccd28e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryManager.java
+++ /dev/null
@@ -1,531 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060517 131582 mahutch@ca.ibm.com - Mark Hutchinson
- * 20060906 141796 gilberta@ca.ibm.com - Gilbert Andrews
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.registry;
-
-import java.io.File;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.Index;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexFactory;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-/**
- * A typical implementation of <code>IRegistryManager</code>.
- * @author cbrealey
- * @see IRegistryManager
- */
-public class RegistryManager implements IRegistryManager
-{
- private static String REGISTRY = "Registry";
- private static String TAXONOMY = "Taxonomy";
- private static String XML = "xml";
- private Hashtable taxonomyFinders_;
- private Index index_;
- private GenericResourceFactory resourceFactory_ = new GenericResourceFactory();
- private URL registryURL_= null;
- private String registryPathname_ = null;
-
- /**
- * Constructs a new RegistryManager for the index XML file
- * at the given <code>url</code>.
- * @param url The URL to the index XML file.
- */
- RegistryManager ( URL url )
- {
- registryURL_ = url;
- taxonomyFinders_ = new Hashtable();
- }
-
- /**
- * Constructs a new RegistryManager for the index XML file
- * at the given <code>pathname</code>.
- * @param pathname The pathname to the index XML file.
- */
- RegistryManager ( String pathname )
- {
- registryPathname_ = pathname;
- taxonomyFinders_ = new Hashtable();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#getURL()
- */
- public URL getURL () throws MalformedURLException
- {
- if (registryURL_ == null)
- {
- registryURL_ = new File(registryPathname_).toURL();
- }
- return registryURL_;
- }
-
- /**
- * Returns an absolute URL computed from the absolute URL of the
- * index XML document managed by this <code>RegistryManager</code>
- * and the given <code>id</code>. This method is used to determine
- * a reasonable location URL for registry and taxonomy documents
- * when references to them are first to be added to the index XML
- * document. This method is idempotent insofar as it will always
- * compute the same URL for a given <code>RegistryManager</code>
- * and a given <code>id</code>.
- *
- * @param id The id of the referenced registry or taxonomy document.
- * @return The absolute URL to the referenced document.
- * @throws MalformedURLException If a viable absolute URL cannot
- * be computed.
- */
- private URL getURL ( String id ) throws MalformedURLException
- {
- String baseUrl = "";
- URL indexUrl = getURL();
- String indexString = indexUrl.toString();
- int index = indexString.lastIndexOf("/");
- baseUrl = indexString.substring(0,index + 1);
- String urlString = baseUrl + id + "." + XML;
- return new URL(urlString);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#refreshManager()
- */
- public void refreshManager ()
- {
- index_ = null;
- }
-
- /**
- * Caches and returns the index model. On first call,
- * if an index document exists, the index is loaded
- * from it, otherwise, a new index is returned.
- * @return The index.
- * @throws CoreException If the index cannot be loaded for any reason.
- */
- private Index getIndex () throws CoreException
- {
- if (index_ == null)
- {
- try
- {
- URL indexURL = getURL();
- if (RegistryService.exists(indexURL))
- {
- Resource resource = resourceFactory_.createResource(URI.createURI("*.xml"));
- resource.load(RegistryService.getInputStreamFor(indexURL),null);
- org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot document = (org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot)resource.getContents().get(0);
- index_ = document.getIndex();
- }
- else
- {
- index_ = RTIndexFactory.eINSTANCE.createIndex();
- }
- }
- catch (IOException e)
- {
- //TODO: Need a message for this Status.
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",e));
- }
- }
- return index_;
- }
-
- /**
- * Saves the index model to an XML document.
- * @throws CoreException If the save fails for any reason.
- */
- private void saveIndex () throws CoreException
- {
- org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot document = RTIndexFactory.eINSTANCE.createDocumentRoot();
- document.setIndex(getIndex());
- Resource resource = resourceFactory_.createResource(URI.createURI("*.xml"));
- resource.getContents().add(document);
- try
- {
- resource.save(RegistryService.getOutputStreamFor(getURL()),null);
- }
- catch (IOException e)
- {
- //TODO: Need a message for this Status.
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",e));
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#addTaxonomyFinder(java.lang.String, org.eclipse.wst.ws.internal.registry.ITaxonomyFinder)
- */
- public void addTaxonomyFinder(String className, ITaxonomyFinder taxonomyFinder)
- {
- taxonomyFinders_.put(className,taxonomyFinder);
- }
-
- /**
- * Adds the given <code>registry</code> as-is, whether full model
- * or reference, to the index only if a registry with the same ID
- * or reference is not already stored there.
- * @param registry The registry to add.
- */
- private void addRegistryToIndex(Registry registry) throws CoreException
- {
- String id = registry.getId();
- if (id == null) id = registry.getRef();
- if (id != null && getRegistry(id) == null)
- {
- getIndex().getRegistry().add(registry);
- }
- }
-
- /**
- * Adds the given <code>taxonomy</code> as-is, whether full model
- * or reference, to the index only if a taxonomy with the same ID
- * or reference is not already stored there.
- * @param taxonomy The taxonomy to add.
- */
- private void addTaxonomyToIndex(Taxonomy taxonomy) throws CoreException
- {
- String id = taxonomy.getId();
- if (id == null) id = taxonomy.getRef();
- if (id != null && getTaxonomy(id) == null)
- {
- getIndex().getTaxonomy().add(taxonomy);
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#saveRegistry(org.eclipse.wst.ws.internal.model.v10.registry.Registry)
- */
- public Registry saveRegistry ( Registry registry ) throws CoreException
- {
- RegistryService registryService = RegistryService.instance();
- Registry registryRef = null;
- try
- {
- URL url = getURL(REGISTRY + registry.getId());
- registryService.saveRegistry(url,registry);
- registryRef = registryService.newRegistryReference(registry);
- registryRef.setLocation(url.toString());
- addRegistryToIndex(registryRef);
- saveIndex();
- /*
- * TODO: The following pile of code is commented out
- * since there isn't a reliable way under the current
- * design to save taxonomy models held in a registry model
- *
- ITaxonomyFinder finder = (ITaxonomyFinder)taxonomyFinders_.get(registry.getClass().getName());
- if (finder != null)
- {
- Taxonomy[] taxonomies = finder.taxonomies(registry);
- for (int i=0; i<taxonomies.length; i++)
- {
- String id = taxonomies[i].getId();
- String ref = taxonomies[i].getRef();
- if (id != null)
- {
- URL taxonomyURL = getURL(TAXONOMY + id);
- registryService.saveTaxonomy(taxonomyURL,taxonomies[i]);
- Taxonomy taxonomyRef = registryService.newTaxonomyReference(taxonomies[i]);
- taxonomyRef.setLocation(taxonomyURL.toString());
- addTaxonomyToIndex(taxonomyRef);
- }
- else if (ref != null)
- {
- if (taxonomies[i].getLocation() == null)
- {
- String location = null;
- Taxonomy taxonomy = getTaxonomy(ref);
- if (taxonomy != null) location = taxonomy.getLocation();
- if (location == null) location = getURL(TAXONOMY + ref).toString();
- taxonomies[i].setLocation(location);
- if (taxonomy == null)
- {
- addTaxonomyToIndex(registryService.newTaxonomyReference(taxonomies[i]));
- }
- }
- }
- }
- }
- */
- }
- catch ( MalformedURLException me )
- {
- //TODO: Message text required.
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",me));
- }
- return registryService.newRegistryReference(registryRef);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#loadRegistry(java.lang.String)
- */
- public Registry loadRegistry ( String uri ) throws CoreException
- {
- RegistryService registryService = RegistryService.instance();
- try
- {
- Registry registry = getRegistry(uri);
- if (registry == null) return null;
-
- // If the Registry has an ID, it's a full model
- // inlined within the Index and is returned as-is.
- if (registry.getId() != null) return registry;
-
- // Otherwise it's a reference to a full model
- // which we load from the reference's location.
- String urlString = registry.getLocation();
- if (urlString == null) return null;
- URL url = new URL(urlString);
- return registryService.loadRegistry(url);
- }
- catch ( MalformedURLException me )
- {
- //TODO: Message text required.
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",me));
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#loadRegistries(java.lang.String[])
- */
- public Registry[] loadRegistries ( String[] uris ) throws CoreException
- {
- List list = new ArrayList(uris.length);
- for (int i=0; i<uris.length; i++)
- {
- Registry registry = loadRegistry(uris[i]);
- if (registry != null)
- {
- list.add(registry);
- }
- }
- return (Registry[])list.toArray(new Registry[0]);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#getRegistryURIs()
- */
- public String[] getRegistryURIs () throws CoreException
- {
- EList list = getIndex().getRegistry();
- List registryURIs = new ArrayList(list.size());
- Iterator iterator = list.iterator();
- while(iterator.hasNext())
- {
- // Each Registry found in the index may be
- // either a full model or a reference to one.
- Registry registry = (Registry)iterator.next();
- if (registry.getId() != null)
- {
- registryURIs.add(registry.getId());
- }
- else if (registry.getRef() != null)
- {
- registryURIs.add(registry.getRef());
- }
- }
- return (String[])registryURIs.toArray(new String[0]);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#removeRegistry(java.lang.String, boolean)
- */
- public void removeRegistry ( String uri, boolean deleteDocument ) throws CoreException
- {
- EList list = getIndex().getRegistry();
- Registry registry = getRegistry(uri);
- if (registry != null)
- {
- list.remove(registry);
- saveIndex();
- // The identified Registry may be either a full model
- // (ie. inlined in the Index) or a reference to one.
- // Only in the latter case is there a file to delete.
- if (deleteDocument && registry.getLocation() != null)
- {
- //TODO: Implement me.
- }
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#saveTaxonomy(org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy)
- */
- public Taxonomy saveTaxonomy ( Taxonomy taxonomy ) throws CoreException
- {
- RegistryService registryService = RegistryService.instance();
- Taxonomy taxonomyRef = null;
- try
- {
- URL url = getURL(TAXONOMY + taxonomy.getId());
- registryService.saveTaxonomy(url,taxonomy);
- taxonomyRef = registryService.newTaxonomyReference(taxonomy);
- taxonomyRef.setLocation(url.toString());
- addTaxonomyToIndex(taxonomyRef);
- saveIndex();
- }
- catch ( MalformedURLException me )
- {
- //TODO: Message text required.
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",me));
- }
- return registryService.newTaxonomyReference(taxonomyRef);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#loadTaxonomy(java.lang.String)
- */
- public Taxonomy loadTaxonomy ( String uri ) throws CoreException
- {
- RegistryService registryService = RegistryService.instance();
- try
- {
- Taxonomy taxonomy = getTaxonomy(uri);
- if (taxonomy == null) return null;
-
- // If the Taxonomy has an ID, it's a full model
- // inlined within the Index and is returned as-is.
- if (taxonomy.getId() != null) return taxonomy;
-
- // Otherwise it's a reference to a full model
- // which we load from the reference's location.
- String urlString = taxonomy.getLocation();
- if (urlString == null) return null;
- URL url = new URL(urlString);
- return registryService.loadTaxonomy(url);
- }
- catch ( MalformedURLException me )
- {
- //TODO: Message text required.
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",me));
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#loadTaxonomies(java.lang.String[])
- */
- public Taxonomy[] loadTaxonomies ( String[] uris ) throws CoreException
- {
- List list = new ArrayList(uris.length);
- for (int i=0; i<uris.length; i++)
- {
- Taxonomy taxonomy = loadTaxonomy(uris[i]);
- if (taxonomy != null)
- {
- list.add(taxonomy);
- }
- }
- return (Taxonomy[])list.toArray(new Taxonomy[0]);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#getTaxonomyURIs()
- */
- public String[] getTaxonomyURIs () throws CoreException
- {
- EList list = getIndex().getTaxonomy();
- List taxonomyURIs = new ArrayList(list.size());
- Iterator iterator = list.iterator();
- while(iterator.hasNext())
- {
- // Each Taxonomy found in the index may be
- // either a full model or a reference to one.
- Taxonomy taxonomy = (Taxonomy)iterator.next();
- if (taxonomy.getId() != null)
- {
- taxonomyURIs.add(taxonomy.getId());
- }
- else if (taxonomy.getRef() != null)
- {
- taxonomyURIs.add(taxonomy.getRef());
- }
- }
- return (String[])taxonomyURIs.toArray(new String[0]);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.IRegistryManager#removeTaxonomy(java.lang.String, boolean)
- */
- public void removeTaxonomy ( String uri, boolean deleteDocument ) throws CoreException
- {
- EList list = getIndex().getTaxonomy();
- Taxonomy taxonomy = getTaxonomy(uri);
- if (taxonomy != null)
- {
- list.remove(taxonomy);
- saveIndex();
- // The identified Taxonomy may be either a full model
- // (ie. inlined in the Index) or a reference to one.
- // Only in the latter case is there a file to delete.
- if (deleteDocument && taxonomy.getLocation() != null)
- {
- //TODO: Implement me.
- }
- }
- }
-
- /**
- * Returns the Registry from the index whose ID or Reference
- * matches the given URI. As such, this method may return a
- * full model or a reference to a full model.
- * @param uri The URI identifier of the Registry
- * @return The <code>Registry</code> object whose ID or reference
- * matches the given <code>uri</code>, or null if none match.
- */
- private Registry getRegistry ( String uri ) throws CoreException
- {
- EList list = getIndex().getRegistry();
- Iterator it = list.iterator();
- while (it.hasNext()){
- Registry registry = (Registry)it.next();
- if (uri.equals(registry.getId()) || uri.equals(registry.getRef())){
- return registry;
- }
- }
- return null;
- }
-
- /**
- * Returns the Taxonomy from the index whose ID or Reference
- * matches the given URI. As such, this method may return a
- * full model or a reference to a full model.
- * @param uri The URI identifier of the Taxonomy
- * @return The <code>Taxonomy</code> object whose ID or reference
- * matches the given <code>uri</code>, or null if none match.
- */
- private Taxonomy getTaxonomy ( String uri ) throws CoreException
- {
- EList list = getIndex().getTaxonomy();
- Iterator it = list.iterator();
- while (it.hasNext()){
- Taxonomy taxonomy = (Taxonomy)it.next();
- if (uri.equals(taxonomy.getId()) || uri.equals(taxonomy.getRef())){
- return taxonomy;
- }
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryService.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryService.java
deleted file mode 100644
index 8e8c818c5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/RegistryService.java
+++ /dev/null
@@ -1,467 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.registry;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.Hashtable;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryFactory;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage;
-import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyFactory;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-/**
- * RegistryService is the starting class of the Web service registry
- * programming model. Call the <code>RegistryService.instance()</code>
- * static method to get the singleton instance of this class.
- * <p>
- * RegistryService provides factory methods for getting new
- * instances of <code>IRegistryManager</code> objects which,
- * in turn, provide the means for registering and unregistering
- * groups of <code>Registry</code> and <code>Taxonomy</code> models
- * at URL addressable locations in the filesystem or elsewhere.
- * <p>
- * RegistryService provides utility methods to ease the creation,
- * loading and saving raw instances of the <code>Registry</code>
- * and <code>Taxonomy</code> models, and to simplify the process of
- * composing and finding <code>Taxonomy</code> models in
- * <code>Registry</code> models.
- * <p>
- * A typical use of <code>RegistryService</code> and its related
- * classes to create and save a new family of models is:
- * <blockquote>
- * <code>
- * RegistryService registryService = RegistryService.instance();
- * MyRegistry registry = MyRegistryFactory.eINSTANCE.createMyRegistry();
- * // build up your registry model here
- * Taxonomy taxonomy = registryService.newTaxonomy();
- * // build up your taxonomy model here
- * registryService.addTaxonomy(registry,taxonomy);
- * IRegistryManager registryManager = registryService.getDefaultRegistryManager();
- * registryManager.saveRegistry(registry);
- * </code>
- * </blockquote>
- * @see #instance()
- * @see IRegistryManager
- * @see Registry
- * @see Taxonomy
- * @author cbrealey
- */
-public class RegistryService
-{
- private static RegistryService instance_;
- private static final String DEFAULT_INDEX_XML_FILE = "DefaultIndex.xml";
- private Hashtable registryManagers_ = new Hashtable();
- private IRegistryManager defaultRegistryManager_ = null;
- private GenericResourceFactory resourceFactory_ = new GenericResourceFactory();
-
- /**
- * A RegistryService cannot be directly constructed.
- * Use @link #instance() to get the singleton of this class.
- */
- private RegistryService ()
- {
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("xml",resourceFactory_);
- RegistryPackage.eINSTANCE.getClass();
- TaxonomyPackage.eINSTANCE.getClass();
- RTIndexPackage.eINSTANCE.getClass();
- }
-
- /**
- * Returns the singleton of this class.
- * @return The singleton of this class.
- */
- public static RegistryService instance ()
- {
- if (instance_ == null)
- {
- instance_ = new RegistryService();
- }
- return instance_;
- }
-
- /**
- * Creates a default <code>IRegistryManager</code> for the system.
- * @return The default <code>IRegistryManager</code> for the system.
- * @see IRegistryManager
- */
- public IRegistryManager getDefaultRegistryManager ()
- {
- if (defaultRegistryManager_ == null)
- {
- String indexFilename = WSPlugin.getDefault().getStateLocation().append(DEFAULT_INDEX_XML_FILE).toString();
- defaultRegistryManager_ = new RegistryManager(indexFilename);
- }
- return defaultRegistryManager_;
- }
-
- /**
- * Creates a new or existing <code>IRegistryManager</code> for the given URL.
- * @param url A URL to the XML document that persists
- * the set of registries managed by this <code>IRegistryManager</code>.
- * @return The new or existing <code>RegistryManager</code> for the given URL.
- * @see IRegistryManager
- */
- public IRegistryManager getRegistryManager ( URL url )
- {
- IRegistryManager registryManager = (IRegistryManager)registryManagers_.get(url);
- if (registryManager == null)
- {
- registryManager = new RegistryManager(url);
- registryManagers_.put(url,registryManager);
- }
- return registryManager;
- }
-
- /**
- * Removes the <code>IRegistryManager</code> for the given URL.
- * No physical resources are deleted.
- * @param url A URL to the XML document that persists
- * the set of registries managed by this <code>IRegistryManager</code>.
- * @see IRegistryManager
- */
- public void removeRegistryManager ( URL url )
- {
- registryManagers_.remove(url);
- }
-
- /**
- * Creates and returns a new <code>Registry</code> model.
- * As a general rule, this method has little actual value as
- * most concrete registry models will be of types that extend
- * the base Registry model, such as <code>UDDIRegistry</code>.
- * For example, <code>UDDIRegistryService.newUDDIRegistry()</code>
- * returns a new <code>UDDIRegistry</code>. Providers of other
- * concrete types of registries may provide similar facilities.
- * @return A new <code>Registry</code> model. Never returns null.
- * @see Registry
- * @see UDDIRegistryService#newUDDIRegistry()
- */
- public Registry newRegistry ()
- {
- return RegistryFactory.eINSTANCE.createRegistry();
- }
-
- /**
- * Loads the <code>Registry</code> model from an XML document.
- * If loading the model of a registry that extends the base
- * Registry interface and Schema, you must initialize the EMF
- * eCore package (eg. <code>MyRegistryPackage.eINSTANCE</code>
- * for your model before calling this load method.
- * For UDDI Registry models, this is done automatically by
- * calling <code>UDDIRegistryService.instance()</code>.
- * @param url The URL to the XML document to load.
- * @return The <code>Registry</code> model.
- * @throws <code>CoreException</code> If the model cannot be loaded.
- * @see Registry
- * @see UDDIRegistryService#instance()
- */
- public Registry loadRegistry ( URL url ) throws CoreException
- {
- Resource resource = resourceFactory_.createResource(URI.createURI("*.xml"));
- try
- {
- resource.load(getInputStreamFor(url),null);
- }
- catch (IOException e)
- {
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",e));
- }
- org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot document = (org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot)resource.getContents().get(0);
- return document.getRegistry();
- }
-
- /**
- * Saves the <code>Registry</code> model to an XML document.
- * @param url The URL to the XML document to save.
- * @param registry The <code>Registry</code> model to save.
- * @throws <code>CoreException</code> If the model cannot be saved.
- * @see Registry
- */
- public void saveRegistry ( URL url, Registry registry ) throws CoreException
- {
- org.eclipse.wst.ws.internal.model.v10.registry.DocumentRoot document = RegistryFactory.eINSTANCE.createDocumentRoot();
- document.setRegistry(registry);
- Resource resource = resourceFactory_.createResource(URI.createURI("*.xml"));
- resource.getContents().add(document);
- try
- {
- resource.save(getOutputStreamFor(url),null);
- }
- catch (IOException e)
- {
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",e));
- }
- }
-
- /**
- * Creates and returns a new <code>Taxonomy</code> model.
- * @return A new <code>Taxonomy</code> model. Never returns null.
- * @see Taxonomy
- */
- public Taxonomy newTaxonomy ()
- {
- return TaxonomyFactory.eINSTANCE.createTaxonomy();
- }
-
- /**
- * Loads the <code>Taxonomy</code> model from an XML document.
- * @param url The URL to the XML document to load.
- * @return the <code>Taxonomy</code> model.
- * @throws <code>CoreException</code> If the model cannot be loaded.
- * @see Taxonomy
- */
- public Taxonomy loadTaxonomy ( URL url ) throws CoreException
- {
- Resource resource = resourceFactory_.createResource(URI.createURI("*.xml"));
- try
- {
- resource.load(getInputStreamFor(url),null);
- }
- catch (IOException e)
- {
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",e));
- }
- org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot document = (org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot)resource.getContents().get(0);
- return document.getTaxonomy();
- }
-
- /**
- * Saves the <code>Taxonomy</code> model to an XML document.
- * @param url The URL to the XML document to save.
- * @param taxonomy The <code>Taxonomy</code> model to save.
- * @throws <code>CoreException</code> If the model cannot be saved.
- * @see Taxonomy
- */
- public void saveTaxonomy ( URL url, Taxonomy taxonomy ) throws CoreException
- {
- org.eclipse.wst.ws.internal.model.v10.taxonomy.DocumentRoot document = TaxonomyFactory.eINSTANCE.createDocumentRoot();
- document.setTaxonomy(taxonomy);
- Resource resource = resourceFactory_.createResource(URI.createURI("*.xml"));
- resource.getContents().add(document);
- try
- {
- resource.save(getOutputStreamFor(url),null);
- }
- catch (IOException e)
- {
- throw new CoreException(new Status(IStatus.ERROR,WSPlugin.ID,0,"",e));
- }
- }
-
- /**
- * Constructs and returns a new Registry model configured
- * to reference the given <code>registry</code>.
- * <p>
- * The given <code>registry</code> can be either a full
- * model as signified by having a non-null, non-empty
- * identifier (<code>registry.getId()</code>), or a
- * reference itself as signified by having a non-null,
- * non-empty reference (<code>registry.getRef()</code>).
- * <p>
- * If the given <code>registry</code> is a full model,
- * then a new <code>Registry</code> is returned such that
- * <ul>
- * <li><code>getRef()</code> equals <code>registry.getId()</code></li>
- * <li><code>getLocation()</code> is null</li>
- * <li><code>getId()</code> is null</li>
- * </ul>
- * <p>
- * In the given <code>registry</code> is itself a reference,
- * then a new <code>Registry</code> is returned such that
- * <ul>
- * <li><code>getRef()</code> equals <code>registry.getRef()</code></li>
- * <li><code>getLocation()</code> equals <code>registry.getLocation()</code></li>
- * <li><code>getId()</code> is null</li>
- * </ul>
- *
- * @param registry The <code>Registry</code> model to clone or
- * refer to depending on whether the given <code>registry</code>
- * is a full model or a reference.
- * @return A new <code>Registry</code>, guaranteed to be a reference.
- */
- public Registry newRegistryReference ( Registry registry )
- {
- String id = registry.getId();
- String ref = registry.getRef();
- Registry registryRef = newRegistry();
- if (ref == null || "".equals(ref))
- {
- registryRef.setRef(id);
- }
- else
- {
- registryRef.setRef(ref);
- registryRef.setLocation(registry.getLocation());
- }
- return registryRef;
- }
-
- /**
- * Constructs and returns a new Taxonomy model configured
- * to reference the given <code>taxonomy</code>.
- * <p>
- * The given <code>taxonomy</code> can be either a full
- * model as signified by having a non-null, non-empty
- * identifier (<code>taxonomy.getId()</code>), or a
- * reference itself as signified by having a non-null,
- * non-empty reference (<code>taxonomy.getRef()</code>).
- * <p>
- * If the given <code>taxonomy</code> is a full model,
- * then a new <code>Taxonomy</code> is returned such that
- * <ul>
- * <li><code>getRef()</code> equals <code>taxonomy.getId()</code></li>
- * <li><code>getLocation()</code> is null</li>
- * <li><code>getId()</code> is null</li>
- * </ul>
- * <p>
- * In the given <code>taxonomy</code> is itself a reference,
- * then a new <code>Taxonomy</code> is returned such that
- * <ul>
- * <li><code>getRef()</code> equals <code>taxonomy.getRef()</code></li>
- * <li><code>getLocation()</code> equals <code>taxonomy.getLocation()</code></li>
- * <li><code>getId()</code> is null</li>
- * </ul>
- *
- * @param taxonomy The <code>Taxonomy</code> model to clone or
- * refer to depending on whether the given <code>taxonomy</code>
- * is a full model or a reference.
- * @return A new <code>Taxonomy</code>, guaranteed to be a reference.
- */
- public Taxonomy newTaxonomyReference ( Taxonomy taxonomy )
- {
- String id = taxonomy.getId();
- String ref = taxonomy.getRef();
- Taxonomy taxonomyRef = newTaxonomy();
- if (ref == null || "".equals(ref))
- {
- taxonomyRef.setRef(id);
- }
- else
- {
- taxonomyRef.setRef(ref);
- taxonomyRef.setLocation(taxonomy.getLocation());
- }
- return taxonomyRef;
- }
-
- /**
- * Returns true if and only if the given URL identifies
- * a resource that exists and is a file.
- * @param url The URL of the resource to check for existence.
- * @return True if the URL resource exists and is a file,
- * or false otherwise.
- */
- static boolean exists ( URL url )
- {
- if ("platform".equals(url.getProtocol()))
- {
- String urlFile = url.getFile().trim();
- IPath path = new Path(urlFile).removeFirstSegments(1);
- if (path.segmentCount() <= 1)
- {
- return false;
- }
- IPath osPath = ResourcesPlugin.getWorkspace().getRoot().getFile(path).getLocation();
- if (osPath == null)
- {
- return false;
- }
- File file = new File(osPath.toString());
- return (file.exists() && !file.isDirectory());
- }
- else if ("file".equals(url.getProtocol()))
- {
- File file = new File(url.getFile().trim());
- return (file.exists() && !file.isDirectory());
- }
- return false;
- }
-
- /**
- * Opens an <code>OutputStream</code> for writing to
- * the given <code>url</code>.
- * @param url The URL of the resource to write.
- * @return An OuptutStream to write to.
- * @throws IOException If the stream could not be opened.
- */
- static OutputStream getOutputStreamFor ( URL url ) throws IOException
- {
- OutputStream outputStream = null;
- if ("platform".equals(url.getProtocol()))
- {
- String urlFile = url.getFile().trim();
- IPath path = new Path(urlFile).removeFirstSegments(1);
- if (path.segmentCount() <= 1)
- {
- throw new IOException("The Platform URL {0} is not bound to a local, writable file.");
- }
- IPath osPath = ResourcesPlugin.getWorkspace().getRoot().getFile(path).getLocation();
- if (osPath == null)
- {
- throw new IOException("The Platform URL {0} is not bound to a local, writable file.");
- }
- File file = new File(osPath.toString());
- if (file.isDirectory())
- {
- throw new IOException("The Platform URL {0} is bound to a folder.");
- }
- outputStream = new FileOutputStream(file);
- }
- else if ("file".equals(url.getProtocol()))
- {
- File file = new File(url.getFile().trim());
- if (file.isDirectory())
- {
- throw new IOException("The File URL {0} is bound to a directory.");
- }
- outputStream = new FileOutputStream(file);
- }
- else
- {
- URLConnection connection = url.openConnection();
- connection.setDoOutput(true);
- outputStream = connection.getOutputStream();
- }
- return outputStream;
- }
-
- /**
- * Opens an <code>InputStream</code> for reading from
- * the given <code>url</code>.
- * @param url The URL of the resource to read.
- * @return An InputStream to read from.
- * @throws IOException If the stream could not be opened.
- */
- static InputStream getInputStreamFor ( URL url ) throws IOException
- {
- return url.openStream();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDIRegistryService.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDIRegistryService.java
deleted file mode 100644
index eb3ca1cce..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDIRegistryService.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.registry;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryFactory;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-
-/**
- * UDDIRegistryService is an adjunct to <code>RegistryService</code>.
- * Call the <code>RegistryService.instance()</code> static method to
- * get the singleton instance of this class.
- * <p>
- * UDDIRegistryService provides utility methods to ease the creation
- * of new <code>UDDIRegistry</code> models and the management of their
- * relationships to <code>Taxonomy</code> models.
- * <p>
- * Utility methods for loading and saving <code>Registry</code> and
- * <code>Taxonomy</code> models are on <code>RegistryService</code>.
- * Methods for managing an indexed family of <code>Registry</code> and
- * <code>Taxonomy</code> models are on <code>IRegistryManager</code>.
- * <p>
- * A typical use of <code>UDDIRegistryService</code> and its related
- * classes to create and save a new family of models is:
- * <blockquote>
- * <code>
- * RegistryService registryService = RegistryService.instance();
- * UDDIRegistryService uddiRegistryService = UDDIRegistryService.instance();
- * UDDIRegistry uddiRegistry = uddiRegistryService.newUDDIRegistry();
- * // build up your registry model here
- * Taxonomy taxonomy = registryService.newTaxonomy();
- * // build up your taxonomy model here
- * uddiRegistryService.addTaxonomy(uddiRegistry,taxonomy);
- * IRegistryManager registryManager = registryService.getDefaultRegistryManager();
- * registryManager.saveRegistry(uddiRegistry);
- * </code>
- * </blockquote>
- * @see #instance()
- * @see RegistryService
- * @see IRegistryManager
- * @see UDDIRegistry
- * @see Taxonomy
- * @author cbrealey
- */
-public class UDDIRegistryService
-{
- private static UDDIRegistryService instance_;
-
- /**
- * A UDDIRegistryService cannot be directly constructed.
- * Use @link #instance() to get the singleton of this class.
- */
- private UDDIRegistryService ()
- {
- UDDIRegistryPackage.eINSTANCE.getClass();
- }
-
- /**
- * Returns the singleton of this class.
- * @return The singleton of this class.
- */
- public static UDDIRegistryService instance ()
- {
- if (instance_ == null)
- {
- instance_ = new UDDIRegistryService();
- }
- return instance_;
- }
-
- /**
- * Adds a reference from the given <code>UDDIRegistry</code>
- * to the given <code>Taxonomy</code> object.
- * @param uddiRegistry The <code>UDDIRegistry</code> to which the reference
- * to the given <code>Taxonomy</code> object should be added.
- * @param taxonomy The <code>Taxonomy</code> object to add.
- * @see org.eclipse.wst.ws.internal.movel.v10.uddiregistry.UDDIRegistry
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy
- */
- public void addTaxonomy ( UDDIRegistry uddiRegistry, Taxonomy taxonomy )
- {
- addTaxonomies(uddiRegistry,new Taxonomy[] {taxonomy});
- }
-
- /**
- * Adds the given <code>Taxonomy</code> objects as-is
- * (whether they are references or full models)
- * to the given <code>UDDIRegistry</code>.
- * @param uddiRegistry The <code>UDDIRegistry</code> to which
- * the given <code>Taxonomy</code> objects should be added.
- * @param taxonomies The array of <code>Taxonomy</code> objects to add.
- * @see org.eclipse.wst.ws.internal.movel.v10.uddiregistry.UDDIRegistry
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy
- */
- public void addTaxonomies ( UDDIRegistry uddiRegistry, Taxonomy[] taxonomies )
- {
- if (taxonomies.length > 0)
- {
- Taxonomies taxonomySet = uddiRegistry.getTaxonomies();
- if (taxonomySet == null)
- {
- taxonomySet = UDDIRegistryFactory.eINSTANCE.createTaxonomies();
- uddiRegistry.setTaxonomies(taxonomySet);
- }
- EList list = taxonomySet.getTaxonomy();
- for (int i=0; i<taxonomies.length; i++)
- {
- list.add(taxonomies[i]);
- }
- }
- }
-
- /**
- * Returns an array of URI identifiers to <code>Taxonomy</code>
- * models contained in or referenced by the <code>uddiRegistry</code>.
- * Passing the result to <code>IRegistryManager.loadTaxonomies()</code>
- * is a handy way to resolve and load the full taxonomy models used
- * by the UDDI registry.
- *
- * @return An array of URI identifiers, possibly empty but never null,
- * to <code>Taxonomy</code> models.
- * @see Taxonomy
- * @see IRegistryManager#loadTaxonomies(String[])
- */
- public String[] getTaxonomyURIs ( UDDIRegistry uddiRegistry )
- {
- Taxonomies taxonomies = uddiRegistry.getTaxonomies();
- if (taxonomies == null) return new String[0];
- EList taxonomyList = taxonomies.getTaxonomy();
- List taxonomyURIs = new ArrayList(taxonomyList.size());
- Iterator i = taxonomyList.iterator();
- while (i.hasNext())
- {
- Taxonomy taxonomy = (Taxonomy)i.next();
- if (taxonomy.getId() != null)
- {
- taxonomyURIs.add(taxonomy.getId());
- }
- else if (taxonomy.getRef() != null)
- {
- taxonomyURIs.add(taxonomy.getRef());
- }
- }
- return (String[])taxonomyURIs.toArray(new String[0]);
- }
-
- /**
- * Returns an array of full <code>Taxonomy</code> models
- * contained in or referenced by the given <code>uddiRegistry</code>.
- * Inline taxonomies are returned as-is. References to taxonomies are
- * resolved by following the locations of the references and loading
- * the models at the location URLs.
- * This method never returns null, but may return an empty array.
- * @param registry The <code>UDDIRegistry</code> whose
- * <code>Taxonomy</code> models to find.
- * @return The array, never null but possibly length zero,
- * of <code>Taxonomy</code> models.
- * @see org.eclipse.wst.ws.internal.movel.v10.uddiregistry.UDDIRegistry
- * @see org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy
- * @see #getTaxonomyURIs(UDDIRegistry)
- * @see IRegistryManager#loadTaxonomies(String[])
- * @deprecated This method suffers from a lack of awareness of the
- * Index XML document that is often responsible for mapping URIs
- * to location URLs. Use
- * <code>IRegistryManager.loadTaxonomies(getTaxonomyURIs(uddiRegistry))</code>
- * instead.
- */
- public Taxonomy[] getTaxonomies ( UDDIRegistry uddiRegistry ) throws CoreException
- {
- RegistryService registryService = RegistryService.instance();
- Taxonomies taxonomies = uddiRegistry.getTaxonomies();
- if (taxonomies == null) return new Taxonomy[0];
- EList literalTaxonomyList = taxonomies.getTaxonomy();
- List resolvedTaxonomyList = new ArrayList(literalTaxonomyList.size());
- Iterator i = literalTaxonomyList.iterator();
- while (i.hasNext())
- {
- Taxonomy literalTaxonomy = (Taxonomy)i.next();
- if (literalTaxonomy.getId() != null)
- {
- resolvedTaxonomyList.add(literalTaxonomy);
- }
- else if (literalTaxonomy.getLocation() != null)
- {
- try
- {
- Taxonomy resolvedTaxonomy = registryService.loadTaxonomy(new URL(literalTaxonomy.getLocation()));
- resolvedTaxonomyList.add(resolvedTaxonomy);
- }
- catch (MalformedURLException e)
- {
- //TODO: Need message text here
- throw new CoreException(new Status(IStatus.ERROR, WSPlugin.ID, 0, "", e));
- }
- }
- }
- return (Taxonomy[])resolvedTaxonomyList.toArray(new Taxonomy[0]);
- }
-
- /**
- * Creates and returns a new <code>UDDIRegistry</code> model.
- * @return A new <code>UDDIRegistry</code> model, never null.
- */
- public UDDIRegistry newUDDIRegistry ()
- {
- return UDDIRegistryFactory.eINSTANCE.createUDDIRegistry();
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDITaxonomyFinder.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDITaxonomyFinder.java
deleted file mode 100644
index fd4ce844a..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/registry/UDDITaxonomyFinder.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.registry;
-
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-
-/**
- * This <code>ITaxonomyFinder</code> for UDDI registries
- * returns an array of <code>Taxonomy</code>
- * models used (supported by) the registry.
- * @author gilberta@ca.ibm.com
- * @see UDDIRegistry
- */
-public class UDDITaxonomyFinder implements ITaxonomyFinder
-{
- /* (non-Javadoc)
- * @see org.eclipse.wst.ws.internal.registry.ITaxonomyFinder#taxonomies(org.eclipse.wst.ws.internal.model.v10.registry.Registry)
- */
- public Taxonomy[] taxonomies ( Registry registry )
- {
- if ( registry instanceof UDDIRegistry )
- {
- UDDIRegistry uddiRegistry = (UDDIRegistry)registry;
- return (Taxonomy[])uddiRegistry.getTaxonomies().getTaxonomy().toArray(new Taxonomy[0]);
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/AbstractWebServiceLocator.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/AbstractWebServiceLocator.java
deleted file mode 100644
index da446710a..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/AbstractWebServiceLocator.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060620 147862 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsfinder;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * @author joan
- *
- * Implementation of IWebServiceLocator. Extenders must implement the abstract method getWebServices().
- * This class will be used to provide methods useful to locator implementers. Extenders should register their
- * locator implementation with their plugin using the org.eclipse.wst.ws.locator extension point.
- *
- */
-public abstract class AbstractWebServiceLocator implements IWebServiceLocator {
-
- /**
- * Creates a new instance of this class.
- */
- public AbstractWebServiceLocator ()
- {
- super();
- }
-
- /**
- * Returns a list of WebServiceClientInfo objects.
- * Subclasses should override this method's
- * default behaviour of returning an empty list.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A non-null but possibly empty list of WebServiceClientInfo objects
- */
- public List getWebServiceClients ( IProgressMonitor monitor )
- {
- return Collections.EMPTY_LIST;
- }
-
- /**
- * Returns a list of WebServiceClientInfo objects.
- * Subclasses should override this method's
- * default behaviour of returning an empty list.
- * @param projects One or more projects to which
- * the search should be limited.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A non-null but possibly empty list of WebServiceClientInfo objects
- */
- public List getWebServiceClients ( IProject[] projects, IProgressMonitor monitor )
- {
- return Collections.EMPTY_LIST;
- }
-
- /**
- * Returns a list of WebServiceInfo objects.
- * Subclasses should override this method's
- * default behaviour of returning an empty list.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A non-null but possibly empty list of WebServiceInfo objects
- */
- public List getWebServices ( IProgressMonitor monitor )
- {
- return Collections.EMPTY_LIST;
- }
-
- /**
- * Returns a list of WebServiceInfo objects.
- * Subclasses should override this method's
- * default behaviour of returning an empty list.
- * @param projects One or more projects to which
- * the search should be limited.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A non-null but possibly empty list of WebServiceInfo objects
- */
- public List getWebServices ( IProject[] projects, IProgressMonitor monitor )
- {
- return Collections.EMPTY_LIST;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/IWebServiceLocator.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/IWebServiceLocator.java
deleted file mode 100644
index b35331a64..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/IWebServiceLocator.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060620 147862 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsfinder;
-
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * @author joan
- *
- * Interface for Web service locators that will be retrieved
- * by the WebServiceFinder. This interface should not be
- * implemented directly. Instead, subclasses should extend
- * AbstractWebServiceLocator and implement the
- * getWebServices() and getWebServiceClients() methods.
- */
-public interface IWebServiceLocator
-{
- /**
- * Returns a list of WebServiceClientInfo objects.
- * This operation may be long running.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A list of WebServiceClientInfo objects.
- * possibly empty, possibly null.
- */
- public List getWebServiceClients ( IProgressMonitor monitor );
-
- /**
- * Returns a list of WebServiceClientInfo objects.
- * This operation may be long running.
- * @param projects One or more projects to which the
- * search should be limited.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A list of WebServiceClientInfo objects.
- * possibly empty, possibly null.
- */
- public List getWebServiceClients ( IProject[] projects, IProgressMonitor monitor );
-
- /**
- * Returns a list of WebServiceInfo objects.
- * This operation may be long running.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A list of WebServiceInfo objects,
- * possibly empty, possibly null.
- */
- public List getWebServices ( IProgressMonitor monitor );
-
- /**
- * Returns a list of WebServiceInfo objects.
- * This operation may be long running.
- * @param projects One or more projects to which the
- * search should be limited.
- * @param monitor A progress monitor,
- * or null if progress monitoring is not desired.
- * @return A list of WebServiceInfo objects,
- * possibly empty, possibly null.
- */
- public List getWebServices ( IProject[] projects, IProgressMonitor monitor );
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceCategory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceCategory.java
deleted file mode 100644
index bc5853e60..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceCategory.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsfinder;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-
-/**
- * @author cbrealey
- * A WebServiceCategory represents a defined category of
- * Web service locators plugged into the WebServiceFinder
- * framework. Each category has a non-translatable identifier,
- * an optional non-translatable parent category identifier
- * (absent for root categories), a translatable short label,
- * a translatable long description and an icon.
- * @see WebServiceFinder#getWebServiceCategories()
- */
-public class WebServiceCategory
-{
- private static final String ATTRIBUTE_ID = "id"; //$NON-NLS-1$
- private static final String ATTRIBUTE_CATEGORY = "category"; //$NON-NLS-1$
- private static final String ATTRIBUTE_LABEL = "label"; //$NON-NLS-1$
- private static final String ATTRIBUTE_DESCRIPTION = "description"; //$NON-NLS-1$
- private static final String ATTRIBUTE_ICON = "icon"; //$NON-NLS-1$
-
- private IConfigurationElement ice_;
-
- /**
- * Constructs a new WebServiceCategory for the given
- * configuration element from the extension registry.
- * @param ice The configuration element on which this
- * new WebServiceCategory is based.
- */
- public WebServiceCategory ( IConfigurationElement ice )
- {
- ice_ = ice;
- }
-
- /**
- * Returns the non-translatable identifier of this category.
- * @return The non-translatable identifier of this category.
- * This should never be null.
- */
- public String getId ()
- {
- return ice_.getAttributeAsIs(ATTRIBUTE_ID);
- }
-
- /**
- * Returns the non-translatable identifier of this category's
- * immediate parent category, or null if this is a root category
- * and, as such, has no parent category.
- * @return The non-translatable identifier of this category's
- * parent, or null if there is none.
- */
- public String getParentId ()
- {
- return ice_.getAttributeAsIs(ATTRIBUTE_CATEGORY);
- }
-
- /**
- * Returns this category's immediate parent WebServiceCategory, or
- * null if this is a root category and, as such, has no parent category.
- * @return This category's immediate parent WebServiceCategory, or
- * null if there is none.
- */
- public WebServiceCategory getParent ()
- {
- return WebServiceFinder.instance().getWebServiceCategoryById(getParentId());
- }
-
- /**
- * Returns the internationalized short label of this category,
- * or null if there is none. Note that user interfaces may
- * choose to bypass categories that do not have a label.
- * @return The internationalized short label of this category,
- * or null if there is none.
- */
- public String getLabel ()
- {
- return ice_.getAttributeAsIs(ATTRIBUTE_LABEL);
- }
-
- /**
- * Returns the internationalized description of this category,
- * or null if there is none.
- * @return The internationalized description of this category,
- * or null if there is none.
- */
- public String getDescription ()
- {
- return ice_.getAttributeAsIs(ATTRIBUTE_DESCRIPTION);
- }
-
- /**
- * Returns the icon of this category, or null if there is none.
- * @return The icon of this category, or null if there is none.
- */
- public String getIcon ()
- {
- return ice_.getAttributeAsIs(ATTRIBUTE_ICON);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceFinder.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceFinder.java
deleted file mode 100644
index 210d99f82..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceFinder.java
+++ /dev/null
@@ -1,393 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060620 147862 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsfinder;
-
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * @author joan
- *
- * WebServiceFinder is a singleton which finds all extenders and returns a comprehensive list of WebServiceInfo objects.
- * Finds web services by calling locators extending {@link org.eclipse.wst.ws.internal.wsfinder.AbstractWebServiceLocator}
- * which have been registered with {@link org.eclipse.wst.ws.internal.wsfinder.WebServiceLocatorRegistry}.
- */
-public class WebServiceFinder {
-
- private static WebServiceFinder instance = null;
-
- private static final String ELEMENT_LOCATOR = "webServiceLocator"; //$NON-NLS-1$
- private static final String ELEMENT_CATEGORY = "webServiceLocatorCategory"; //$NON-NLS-1$
- private static final String ATTRIBUTE_ID = "id"; //$NON-NLS-1$
- private static final String ATTRIBUTE_CLASS = "class"; //$NON-NLS-1$
- private static final String ATTRIBUTE_CATEGORY = "category"; //$NON-NLS-1$
-// private static final String ATTRIBUTE_LABEL = "label"; //$NON-NLS-1$
-// private static final String ATTRIBUTE_DESCRIPTION = "description"; //$NON-NLS-1$
-// private static final String ATTRIBUTE_ICON = "icon"; //$NON-NLS-1$
-
- /*
- * Public construction is not allowed.
- * Use WebServiceFinder.instance().
- */
- private WebServiceFinder ()
- {
- super();
- }
-
- /**
- * Returns the singleton of <code>WebServiceFinder</code>.
- * @return The singleton of <code>WebServiceFinder</code>.
- */
- public static WebServiceFinder instance ()
- {
- if (instance == null)
- {
- instance = new WebServiceFinder();
- }
- return instance;
- }
-
- /**
- * Returns an iterator of WebServiceInfo objects which represent web services found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point. Currently returns all web
- * services found for all registered locators. Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceInfo object to retrieve information on the
- * web services found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceInfo
- * objects returned. This is left to the locator implementations.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceInfo objects, never null.
- */
- public Iterator getWebServices ( IProgressMonitor monitor )
- {
- return getWebServicesByCategoryId(null,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceInfo objects which represent web services found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point. Currently returns all web
- * services found in the context of the given projects for all registered locators.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceInfo object to retrieve information on the
- * web services found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceInfo
- * objects returned. This is left to the locator implementations.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceInfo objects, never null.
- */
- public Iterator getWebServices ( IProject[] projects, IProgressMonitor monitor )
- {
- return getWebServicesByCategoryId(null,projects,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceInfo objects which represent web services found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceInfo object to retrieve information on the
- * web services found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceInfo
- * objects returned. This is left to the locator implementations.
- * @param category The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceInfo objects, never null.
- */
- public Iterator getWebServicesByCategory ( WebServiceCategory category, IProgressMonitor monitor )
- {
- return getWebServicesByCategoryId(category == null ? null : category.getId(),monitor);
- }
-
- /**
- * Returns an iterator of WebServiceInfo objects which represent web services found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * The search is constrained to the given set of one or more projects.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceInfo object to retrieve information on the
- * web services found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceInfo
- * objects returned. This is left to the locator implementations.
- * @param category The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceInfo objects, never null.
- */
- public Iterator getWebServicesByCategory ( WebServiceCategory category, IProject[] projects, IProgressMonitor monitor )
- {
- return getWebServicesByCategoryId(category == null ? null : category.getId(),projects,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceInfo objects which represent web services found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceInfo object to retrieve information on the
- * web services found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceInfo
- * objects returned. This is left to the locator implementations.
- * @param categoryId The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceInfo objects, never null.
- */
- public Iterator getWebServicesByCategoryId ( String categoryId, IProgressMonitor monitor )
- {
- return getWebServicesByCategoryId(categoryId,null,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceInfo objects which represent web services found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * The search is constrained to the given set of one or more projects.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceInfo object to retrieve information on the
- * web services found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceInfo
- * objects returned. This is left to the locator implementations.
- * @param categoryId The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceInfo objects, never null.
- */
- public Iterator getWebServicesByCategoryId ( String categoryId, IProject[] projects, IProgressMonitor monitor )
- {
- LinkedList webServices = new LinkedList();
- WebServiceLocatorRegistry wslr = WebServiceLocatorRegistry.getInstance();
- IConfigurationElement[] regElements = wslr.getConfigElements();
- for (int i = 0; i < regElements.length; i++)
- {
- if (ELEMENT_LOCATOR.equals(regElements[i].getName()))
- {
- try
- {
- if (categoryId == null || categoryId.equals(regElements[i].getAttributeAsIs(ATTRIBUTE_CATEGORY)))
- {
- Object obj = regElements[i].createExecutableExtension(ATTRIBUTE_CLASS);
- if (obj instanceof IWebServiceLocator)
- {
- IWebServiceLocator wsl = (IWebServiceLocator)obj;
- List wsList = projects == null ? wsl.getWebServices(monitor) : wsl.getWebServices(projects,monitor);
- if (wsList != null)
- {
- webServices.addAll(wsList);
- }
- }
- }
- }
- catch (CoreException ex)
- {
- // Quietly bypass any IWebServiceLocators that failed to be loaded.
- }
- }
- }
- return webServices.iterator();
- }
-
- /**
- * Returns an iterator of WebServiceClientInfo objects which represent web service clients found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point. Currently returns all web
- * service clients found for all registered locators. Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceClientInfo object to retrieve information on the
- * web service clients found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceClientInfo
- * objects returned. This is left to the locator implementations.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceClientInfo objects, never null.
- */
- public Iterator getWebServiceClients ( IProgressMonitor monitor )
- {
- return getWebServiceClientsByCategoryId(null,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceClientInfo objects which represent web service clients found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point. Currently returns all web
- * service clients found for all registered locators in the context of the given projects.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceClientInfo object to retrieve information on the
- * web service clients found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceClientInfo
- * objects returned. This is left to the locator implementations.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceClientInfo objects, never null.
- */
- public Iterator getWebServiceClients ( IProject[] projects, IProgressMonitor monitor )
- {
- return getWebServiceClientsByCategoryId(null,projects,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceClientInfo objects which represent web service clients found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceClientInfo object to retrieve information on the
- * web service clients found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceClientInfo
- * objects returned. This is left to the locator implementations.
- * @param category The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceClientInfo objects, never null.
- */
- public Iterator getWebServiceClientsByCategory ( WebServiceCategory category, IProgressMonitor monitor )
- {
- return getWebServiceClientsByCategoryId(category == null ? null : category.getId(),monitor);
- }
-
- /**
- * Returns an iterator of WebServiceClientInfo objects which represent web service clients found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * The search is constrained to the given set of one or more projects.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceClientInfo object to retrieve information on the
- * web service clients found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceClientInfo
- * objects returned. This is left to the locator implementations.
- * @param category The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceClientInfo objects, never null.
- */
- public Iterator getWebServiceClientsByCategory ( WebServiceCategory category, IProject[] projects, IProgressMonitor monitor )
- {
- return getWebServiceClientsByCategoryId(category == null ? null : category.getId(),projects,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceClientInfo objects which represent web service clients found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceClientInfo object to retrieve information on the
- * web service clients found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceClientInfo
- * objects returned. This is left to the locator implementations.
- * @param categoryId The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceClientInfo objects, never null.
- */
- public Iterator getWebServiceClientsByCategoryId ( String categoryId, IProgressMonitor monitor )
- {
- return getWebServiceClientsByCategoryId(categoryId,null,monitor);
- }
-
- /**
- * Returns an iterator of WebServiceClientInfo objects which represent web service clients found by locators that
- * have registered using the org.eclipse.wst.ws.locator extension point under the given category.
- * The search is constrained to the given set of one or more projects.
- * Locators must extend {@link AbstractWebServiceLocator}.
- * Callers can use the getter methods on the WebServiceClientInfo object to retrieve information on the
- * web service clients found. The WebServiceFinder cannot guarantee the level of detail contained in WebServiceClientInfo
- * objects returned. This is left to the locator implementations.
- * @param categoryId The category of locators to use.
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return An iterator of WebServiceClientInfo objects, never null.
- */
- public Iterator getWebServiceClientsByCategoryId ( String categoryId, IProject[] projects, IProgressMonitor monitor )
- {
- LinkedList webServiceClients = new LinkedList();
- WebServiceLocatorRegistry wslr = WebServiceLocatorRegistry.getInstance();
- IConfigurationElement[] regElements = wslr.getConfigElements();
- for (int i = 0; i < regElements.length; i++)
- {
- if (ELEMENT_LOCATOR.equals(regElements[i].getName()))
- {
- try
- {
- if (categoryId == null || categoryId.equals(regElements[i].getAttributeAsIs(ATTRIBUTE_CATEGORY)))
- {
- Object obj = regElements[i].createExecutableExtension(ATTRIBUTE_CLASS);
- if (obj instanceof IWebServiceLocator)
- {
- IWebServiceLocator wsl = (IWebServiceLocator)obj;
- List wsList = projects == null ? wsl.getWebServiceClients(monitor) : wsl.getWebServiceClients(projects,monitor);
- if (wsList != null)
- {
- webServiceClients.addAll(wsList);
- }
- }
- }
- }
- catch (CoreException ex)
- {
- // Quietly bypass any IWebServiceLocators that failed to be loaded.
- }
- }
- }
- return webServiceClients.iterator();
- }
-
- /**
- * Returns an array of registered Web Service Category IDs.
- * @return An array, never null but possibly empty,
- * of registered Web Service Category descriptors.
- */
- public WebServiceCategory[] getWebServiceCategories ()
- {
- LinkedList categories = new LinkedList();
- WebServiceLocatorRegistry wslr = WebServiceLocatorRegistry.getInstance();
- IConfigurationElement[] regElements = wslr.getConfigElements();
- for (int i = 0; i < regElements.length; i++)
- {
- if (ELEMENT_CATEGORY.equals(regElements[i].getName()))
- {
- categories.add(new WebServiceCategory(regElements[i]));
- }
- }
- return (WebServiceCategory[])categories.toArray(new WebServiceCategory[0]);
-
- }
-
- /**
- * Returns an array of registered Web Service Category IDs.
- * @return An array, never null but possibly empty,
- * of registered Web Service Category IDs.
- */
- public String[] getWebServiceCategoryIds ()
- {
- LinkedList categories = new LinkedList();
- WebServiceLocatorRegistry wslr = WebServiceLocatorRegistry.getInstance();
- IConfigurationElement[] regElements = wslr.getConfigElements();
- for (int i = 0; i < regElements.length; i++)
- {
- if (ELEMENT_CATEGORY.equals(regElements[i].getName()))
- {
- String id = regElements[i].getAttributeAsIs(ATTRIBUTE_ID);
- if (id != null)
- {
- categories.add(id);
- }
- }
- }
- return (String[])categories.toArray(new String[0]);
- }
-
- /**
- * Returns the WebServiceCategory with the given ID,
- * or null if there is none.
- * @param categoryId The ID of the category to find.
- * @return The matching category descriptor, or null if there is none.
- */
- public WebServiceCategory getWebServiceCategoryById ( String categoryId )
- {
- WebServiceCategory category = null;
- if (categoryId != null)
- {
- WebServiceLocatorRegistry wslr = WebServiceLocatorRegistry.getInstance();
- IConfigurationElement[] regElements = wslr.getConfigElements();
- for (int i = 0; i < regElements.length; i++)
- {
- if (ELEMENT_CATEGORY.equals(regElements[i].getName()))
- {
- String id = regElements[i].getAttributeAsIs(ATTRIBUTE_ID);
- if (categoryId.equals(id))
- {
- return new WebServiceCategory(regElements[i]);
- }
- }
- }
- }
- return category;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorExtension.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorExtension.java
deleted file mode 100644
index 9542b0182..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorExtension.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsfinder;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.wst.ws.internal.ext.WebServiceExtensionImpl;
-
-/**
- * @author joan
- *
- * This class is provided for the addition of locator extension specific functions
- *
- */
-
-public class WebServiceLocatorExtension extends WebServiceExtensionImpl {
-
-// Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
-
- public WebServiceLocatorExtension(IConfigurationElement configElement)
- {
- super(configElement);
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorRegistry.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorRegistry.java
deleted file mode 100644
index 23d6bffd5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WebServiceLocatorRegistry.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsfinder;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.ws.internal.ext.WebServiceExtension;
-import org.eclipse.wst.ws.internal.ext.WebServiceExtensionRegistryImpl;
-
-/**
- * @author joan
- *
- * Retrieves locators which extend {@link org.eclipse.wst.ws.internal.wsfinder.AbstractWebServiceLocator}.
- * Locators must create an extension for the org.eclipse.wst.ws.locator extension point in order to be retrieved by
- * the registry.
- */
-
-
-public class WebServiceLocatorRegistry extends WebServiceExtensionRegistryImpl {
-
- // Copyright
- public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
- /*
- * This is a singleton becasue it was decided that the memory foot print
- * is not as expensive as the time taken retrieving the data
- *
- */
-
-
- private static WebServiceLocatorRegistry wslr;
-
- public static WebServiceLocatorRegistry getInstance()
- {
- if(wslr == null) wslr = new WebServiceLocatorRegistry();
- return wslr;
- }
-
- private WebServiceLocatorRegistry()
- {
- super();
- }
-
- /**
- * Children registries will have different extension types
- * @return WebserviceExtension holds a config elem
- * for that extension capable of creating an executable file
- */
- public WebServiceExtension createWebServiceExtension(IConfigurationElement configElement)
- {
- return new WebServiceLocatorExtension(configElement);
- }
-
- /**
- * Contacts platform registry and gets all locators which have registered
- * using the org.eclipse.wst.ws.locator extension point.
- * @return IConfigurationElement[] an array of elements which contain locators
- * extending AbstractWebServiceLocator.
- */
- public IConfigurationElement[] getConfigElements()
- {
- IExtensionRegistry reg = Platform.getExtensionRegistry();
- IConfigurationElement[] config = reg.getConfigurationElementsFor(
- "org.eclipse.wst.ws",
- "locator");
- return config;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WorkspaceWSDLLocator.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WorkspaceWSDLLocator.java
deleted file mode 100644
index 7430dd879..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsfinder/WorkspaceWSDLLocator.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060620 147862 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsfinder;
-
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceVisitor;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceInfo;
-
-/**
- * Extends the Web Services Finder Framework.
- * Finds all .wsdl files in the workspace.
- * Not intended to be used directly. WorkspaceWSDLLocator registers with WebServiceLocatorRegistry
- * and is accessed by the {@link WebServiceFinder}.
- */
-
-public class WorkspaceWSDLLocator extends AbstractWebServiceLocator
-{
-
- protected List wsdlServices = null;
- private static final String PLATFORM_RES = "platform:/resource"; //$NON-NLS-1$
- private static final String WSDL_EXT = "wsdl"; //$NON-NLS-1$
-
- public WorkspaceWSDLLocator()
- {
- super();
- }
-
- /**
- * Returns the collection of all .wsdl files in the workspace. Currently does not eliminate multiple
- * occurences of the same web service.
- *
- * TODO: add a listener to the workspace resource tree so that getWebServices doesn't always
- * use the WSDLVisitor to walk the entire resource tree. That should only happen once. After
- * that the resource tree can be monitored for modifications to .wsdl files and changes made to a cache.
- *
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return list of WebServiceInfo objects, possibly null.
- */
- public List getWebServices (IProgressMonitor monitor)
- {
- if (wsdlServices == null)
- {
- try
- {
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- WSDLVisitor visitor = new WSDLVisitor();
- root.accept(visitor);
- wsdlServices = visitor.getWSDL();
- }
- catch (Exception ex)
- {
- // Do nothing.
- }
- }
- return wsdlServices;
- }
-
- /**
- * Returns the collection of all .wsdl files in the given project.
- * Currently does not eliminate multiple occurences of the same web service.
- *
- * TODO: add a listener to the workspace resource tree so that getWebServices doesn't always
- * use the WSDLVisitor to walk the entire resource tree. That should only happen once. After
- * that the resource tree can be monitored for modifications to .wsdl files and changes made to a cache.
- *
- * @param monitor A progress monitor, or null if progress monitoring is not desired.
- * @return list of WebServiceInfo objects
- */
- public List getWebServices (IProject[] projects, IProgressMonitor monitor)
- {
- WSDLVisitor visitor = new WSDLVisitor();
- if (projects != null)
- {
- for (int p=0; p<projects.length; p++)
- {
- try
- {
- projects[p].accept(visitor);
- }
- catch (CoreException ex)
- {
- // Do nothing.
- }
- }
- }
- return visitor.getWSDL();
- }
-
- /**
- * Uses the Visitor pattern to walk the workspace resource tree
- */
- private class WSDLVisitor implements IResourceVisitor
- {
-
- private Vector wsdl = new Vector();
-
- /**
- * visits every node on the resource tree stopping a file resources
- * if file resource has extension .wsdl a WebServiceInfo object is created and added to a vector
- * TODO: look at caching to eliminate duplicate web service definitions in the vector returned
- * TODO: add more information to the WebServiceInfo object. Currently only the qualified filename is added.
- */
- public boolean visit(IResource resource)
- {
- if (resource.getType() == IResource.FILE)
- {
- String ext = resource.getFileExtension();
- if (ext != null && ext.equalsIgnoreCase(WSDL_EXT))
- {
- String urlString = PLATFORM_RES + resource.getFullPath().toString();
- WebServiceInfo wsInfo = new WebServiceInfo();
- wsInfo.setWsdlURL(urlString);
- wsdl.add(wsInfo);
- }
- }
- return true;
- }
-
- /**
- * Returns a vector of WebServiceInfo objects.
- * @return vector of WebServiceInfo objects
- */
- public Vector getWSDL()
- {
- return wsdl;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsil/AddWSDLToWSILCommand.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsil/AddWSDLToWSILCommand.java
deleted file mode 100644
index 17a02d5a2..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsil/AddWSDLToWSILCommand.java
+++ /dev/null
@@ -1,518 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsil;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.wsdl.Definition;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.apache.wsil.Abstract;
-import org.apache.wsil.Description;
-import org.apache.wsil.Inspection;
-import org.apache.wsil.QName;
-import org.apache.wsil.Service;
-import org.apache.wsil.WSILDocument;
-import org.apache.wsil.WSILException;
-import org.apache.wsil.extension.ExtensionBuilder;
-import org.apache.wsil.extension.wsdl.ImplementedBinding;
-import org.apache.wsil.extension.wsdl.Reference;
-import org.apache.wsil.extension.wsdl.ReferencedService;
-import org.apache.wsil.extension.wsdl.WSDLConstants;
-import org.apache.wsil.xml.XMLWriter;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.common.environment.uri.IURIFactory;
-import org.eclipse.wst.common.environment.uri.URIException;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.ws.internal.parser.wsil.IllegalArgumentsException;
-import org.eclipse.wst.ws.internal.parser.wsil.WSILMessages;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
-import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationHandler;
-import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
-import org.w3c.dom.Element;
-import org.xml.sax.SAXException;
-
-public class AddWSDLToWSILCommand extends AbstractDataModelOperation
-{
- public static final String ARG_WSIL = "-wsil";
- public static final String ARG_WSDL = "-wsdl";
- public static final String ARG_RESOLVE_WSDL = "-resolvewsdl";
- public static final String ARG_HTTP_BASIC_AUTH_USERNAME = "-httpusername";
- public static final String ARG_HTTP_BASIC_AUTH_PASSWORD = "-httppassword";
- private WWWAuthenticationHandler wwwAuthHandler_;
- private String[] args_;
- private String wsil_;
- private ArrayList wsdls_;
- private boolean resolveWSDL_;
- private String httpUsername_;
- private String httpPassword_;
-
- public AddWSDLToWSILCommand()
- {
- wwwAuthHandler_ = null;
- args_ = new String[0];
- clearParsedArgs();
- }
-
- private void clearParsedArgs()
- {
- wsil_ = null;
- if (wsdls_ == null)
- wsdls_ = new ArrayList();
- else
- wsdls_.clear();
- resolveWSDL_ = false;
- httpUsername_ = null;
- httpPassword_ = null;
- }
-
- /**
- * Executes the Command.
- *
- * @param environment
- * The environment. Must not be null.
- * @return A <code>Status</code> object indicating the degree to which the
- * <code>execute</code> method was successful. A valud of <code>null</code>,
- * or a Status with a severity of less than <code>Status.ERROR</code>
- * signifies success.
- */
- public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
- {
- IEnvironment environment = getEnvironment();
-
- IURIFactory uriFactory = environment.getURIFactory();
- // Parse arguments
- try
- {
- parseArguments();
- }
- catch (IllegalArgumentsException iae)
- {
- return StatusUtils.errorStatus( WSILMessages.MSG_ERROR_ILLEGAL_ARGUMENTS, iae);
- }
- catch (ArrayIndexOutOfBoundsException e)
- {
- return StatusUtils.errorStatus( WSILMessages.MSG_ERROR_INVALID_ARGUMENTS, e);
- }
- // Create new WSIL document
- WSILDocument wsilDocument = null;
- URL wsilURL = null;
- try
- {
- wsilDocument = WSILDocument.newInstance();
- wsilURL = new URL(wsil_);
- }
- catch (MalformedURLException murle)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_INVALID_WSIL_URI, murle);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (WSILException wsile)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNEXPECTED_EXCEPTION, wsile);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- // Read WSIL
- try
- {
- InputStream is = uriFactory.newURI(wsilURL).getInputStream();
- if (is != null)
- {
- wsilDocument.read(new InputStreamReader(is));
- is.close();
- }
- }
- catch (URIException urie)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNEXPECTED_EXCEPTION, urie);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (IOException ioe)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNEXPECTED_EXCEPTION, ioe);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (WSILException wsile)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNEXPECTED_EXCEPTION, wsile);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- // internalExecute
- String httpUsername = null;
- String httpPassword = null;
- if (wsdls_.size() == 1 && httpUsername_ != null && httpPassword_ != null)
- {
- httpUsername = httpUsername_;
- httpPassword = httpPassword_;
- }
- for (Iterator it = wsdls_.iterator(); it.hasNext();)
- {
- String wsdl = (String) it.next();
- IStatus status = null;
- try
- {
- status = internalExecute(environment, wsilDocument, platform2File(uriFactory, wsil_), wsdl, httpUsername, httpPassword);
- }
- catch (WWWAuthenticationException wwwae)
- {
- if (wwwAuthHandler_ != null && httpUsername == null && httpPassword == null)
- {
- wwwAuthHandler_.handleWWWAuthentication(wwwae);
- String handlerUsername = wwwAuthHandler_.getUsername();
- String handlerPassword = wwwAuthHandler_.getPassword();
- if (handlerUsername != null && handlerPassword != null)
- {
- try
- {
- status = internalExecute(environment, wsilDocument, platform2File(uriFactory, wsil_), wsdl, handlerUsername, handlerPassword);
- }
- catch (WWWAuthenticationException wwwae2)
- {
- IStatus wwwaeStatus = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNRESOLVABLE_WSDL, wwwae2.getIOException());
- environment.getStatusHandler().reportError(wwwaeStatus);
- return wwwaeStatus;
- }
- }
- }
- if (status == null)
- {
- IStatus s = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNRESOLVABLE_WSDL, wwwae.getIOException());
- environment.getStatusHandler().reportError(s);
- return s;
- }
- }
- if (status.getSeverity() != Status.OK)
- return status;
- }
- // Write WSIL
- try
- {
- XMLWriter xmlWriter = new XMLWriter();
- OutputStream os = uriFactory.newURI(wsilURL).getOutputStream();
- if (os != null)
- xmlWriter.writeDocument(wsilDocument, os);
- else
- throw new IOException();
- os.close();
- }
- catch (URIException urie)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_WRITE_WSIL, urie);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (IOException ioe)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_WRITE_WSIL, ioe);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (WSILException wsile)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_WRITE_WSIL, wsile);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- return Status.OK_STATUS;
- }
-
- private IStatus internalExecute(IEnvironment environment, WSILDocument wsilDocument, String wsil, String wsdl, String httpUsername, String httpPassword) throws WWWAuthenticationException
- {
- Definition definition = null;
- ArrayList wsdlService = new ArrayList();
- ArrayList wsdlBinding = new ArrayList();
- if (resolveWSDL_)
- {
- // Parse WSDL
- try
- {
- definition = parseWSDL(wsdl, wsdlService, wsdlBinding, httpUsername, httpPassword);
- }
- catch (MalformedURLException murle)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_INVALID_WSDL_URI, murle);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (IOException ioe)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNRESOLVABLE_WSDL, ioe);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (ParserConfigurationException pce)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNEXPECTED_EXCEPTION, pce);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (SAXException saxe)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_MALFORMED_WSDL, saxe);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- }
- // Add WSDL to WSIL
- try
- {
- Inspection inspection = wsilDocument.getInspection();
- Service service = wsilDocument.createService();
- if (definition != null)
- {
- Element documentation = definition.getDocumentationElement();
- Abstract serviceAbstract = wsilDocument.createAbstract();
- serviceAbstract.setText(Element2String(documentation));
- service.addAbstract(serviceAbstract);
- }
- Description desc = wsilDocument.createDescription();
- desc.setReferencedNamespace(WSDLConstants.NS_URI_WSDL);
- desc.setLocation(getRelativeURI(wsil, wsdl));
- ExtensionBuilder extBuilder = wsilDocument.getExtensionRegistry().getBuilder(WSDLConstants.NS_URI_WSIL_WSDL);
- if (definition == null || endpointPresent(definition))
- {
- for (Iterator it = wsdlService.iterator(); it.hasNext();)
- {
- Reference reference = (Reference) extBuilder.createElement(new QName(WSDLConstants.NS_URI_WSIL_WSDL, WSDLConstants.ELEM_REFERENCE));
- reference.setEndpointPresent(new Boolean(true));
- ReferencedService refService = (ReferencedService) extBuilder.createElement(new QName(WSDLConstants.NS_URI_WSIL_WSDL, WSDLConstants.ELEM_REF_SERVICE));
- refService.setReferencedServiceName((QName) it.next());
- reference.setReferencedService(refService);
- desc.setExtensionElement(reference);
- }
- }
- else
- {
- Reference reference = (Reference) extBuilder.createElement(new QName(WSDLConstants.NS_URI_WSIL_WSDL, WSDLConstants.ELEM_REFERENCE));
- reference.setEndpointPresent(new Boolean(false));
- for (Iterator it = wsdlBinding.iterator(); it.hasNext();)
- {
- ImplementedBinding binding = (ImplementedBinding) extBuilder.createElement(new QName(WSDLConstants.NS_URI_WSIL_WSDL, WSDLConstants.ELEM_IMPL_BINDING));
- binding.setBindingName((QName) it.next());
- reference.addImplementedBinding(binding);
- }
- }
- service.addDescription(desc);
- inspection.addService(service);
- }
- catch (WSILException wsile)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNEXPECTED_EXCEPTION, wsile);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- catch (Throwable t)
- {
- IStatus status = StatusUtils.errorStatus( WSILMessages.MSG_ERROR_UNEXPECTED_EXCEPTION, t);
- environment.getStatusHandler().reportError(status);
- return status;
- }
- return Status.OK_STATUS;
- }
-
- /**
- * Returns <code>true</code> if, and only if, the Command's <code>undo</code>
- * method is supported.
- *
- * @return True if the Command supports being undone.
- */
- public boolean isUndoable()
- {
- return false;
- }
-
- /**
- * Undoes the Command.
- *
- * @param environment
- * The environment. Must not be null.
- * @return A <code>Status</code> object indicating the degree to which the
- * <code>undo</code> method was successful. A valud of <code>null</code>,
- * or a Status with a severity of less than <code>Status.ERROR</code>
- * signifies success.
- */
- public IStatus undo(IEnvironment environment)
- {
- return Status.OK_STATUS;
- }
-
- private Definition parseWSDL(String wsdl, ArrayList wsdlService, ArrayList wsdlBinding, String httpUsername, String httpPassword) throws MalformedURLException, IOException, ParserConfigurationException, SAXException, WWWAuthenticationException
- {
- WebServicesParser wsParser = new WebServicesParser(wsdl);
- if (httpUsername != null && httpPassword != null)
- {
- wsParser.setHTTPBasicAuthUsername(httpUsername);
- wsParser.setHTTPBasicAuthPassword(httpPassword);
- }
- wsParser.parse(WebServicesParser.PARSE_NONE);
- Definition definition = wsParser.getWSDLDefinition(wsdl);
- if (definition != null)
- {
- Map services = definition.getServices();
- for (Iterator it = services.keySet().iterator(); it.hasNext();)
- wsdlService.add(parseQName((javax.xml.namespace.QName) it.next()));
- Map bindings = definition.getBindings();
- for (Iterator it = bindings.keySet().iterator(); it.hasNext();)
- wsdlBinding.add(parseQName((javax.xml.namespace.QName) it.next()));
- }
- return definition;
- }
-
- private boolean endpointPresent(Definition definition)
- {
- return (definition.getServices().size() > 0);
- }
-
- public String[] getArguments()
- {
- return args_;
- }
-
- public void setArguments(String[] args)
- {
- args_ = args;
- }
-
- public WWWAuthenticationHandler getWWWAuthenticationHandler()
- {
- return wwwAuthHandler_;
- }
-
- public void setWWWAuthenticationHandler(WWWAuthenticationHandler wwwAuthHandler)
- {
- wwwAuthHandler_ = wwwAuthHandler;
- }
-
- private void parseArguments() throws IllegalArgumentsException
- {
- clearParsedArgs();
- for (int i = 0; i < args_.length; i++)
- {
- if (ARG_WSIL.equals(args_[i]))
- wsil_ = args_[++i];
- else if (ARG_WSDL.equals(args_[i]))
- wsdls_.add(args_[++i]);
- else if (ARG_RESOLVE_WSDL.equals(args_[i]))
- resolveWSDL_ = true;
- else if (ARG_HTTP_BASIC_AUTH_USERNAME.equals(args_[i]))
- httpUsername_ = args_[++i];
- else if (ARG_HTTP_BASIC_AUTH_PASSWORD.equals(args_[i]))
- httpPassword_ = args_[++i];
- else
- throw new IllegalArgumentsException(args_[i]);
- }
- }
-
- private QName parseQName(javax.xml.namespace.QName qname)
- {
- return new QName(qname.getNamespaceURI(), qname.getLocalPart());
- }
-
- private String Element2String(Element e) throws TransformerConfigurationException, TransformerException, IOException
- {
- byte[] b = new byte[0];
- if (e != null)
- {
- DOMSource domSource = new DOMSource(e);
- Transformer serializer = TransformerFactory.newInstance().newTransformer();
- serializer.setOutputProperty(OutputKeys.INDENT, "yes");
- serializer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- serializer.transform(domSource, new StreamResult(baos));
- baos.close();
- b = baos.toByteArray();
- }
- return new String(b);
- }
-
- private String platform2File(IURIFactory uriFactory, String uri)
- {
- try
- {
- return uriFactory.newURI(uri).asFile().toURL().toString();
- }
- catch (Throwable t)
- {
- t.printStackTrace();
- }
- return uri;
- }
-
- private final char FWD_SLASH = '/';
- private final char BWD_SLASH = '\\';
- private final String parentDir = "../";
-
- private String getRelativeURI(String baseURI, String targetURI)
- {
- try
- {
- String baseURICopy = baseURI.replace(BWD_SLASH, FWD_SLASH);
- String targetURICopy = targetURI.replace(BWD_SLASH, FWD_SLASH);
- int matchingIndex = -1;
- int index = targetURICopy.indexOf(FWD_SLASH);
- while (index != -1)
- {
- if (baseURICopy.startsWith(targetURICopy.substring(0, index + 1)))
- {
- matchingIndex = index;
- index = targetURICopy.indexOf(FWD_SLASH, index + 1);
- }
- else
- break;
- }
- if (matchingIndex != -1)
- {
- int slashCount = -1;
- int fromIndex = matchingIndex;
- while (fromIndex != -1)
- {
- slashCount++;
- fromIndex = baseURICopy.indexOf(FWD_SLASH, fromIndex + 1);
- }
- StringBuffer relativeURI = new StringBuffer();
- for (int i = 0; i < slashCount; i++)
- relativeURI.append(parentDir);
- relativeURI.append(targetURI.substring(matchingIndex + 1, targetURI.length()));
- return relativeURI.toString();
- }
- }
- catch (Throwable t)
- {
- }
- return targetURI;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebService.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebService.java
deleted file mode 100644
index 2e168bb11..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebService.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-public abstract class AbstractWebService implements IWebService {
-
- private WebServiceInfo info;
-
- public AbstractWebService(WebServiceInfo info) {
- this.info = info;
- }
-
-
- public WebServiceInfo getWebServiceInfo() {
- return info;
- }
-
- public abstract ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceClient.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceClient.java
deleted file mode 100644
index dfca570da..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceClient.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-public abstract class AbstractWebServiceClient implements IWebServiceClient {
-
- private WebServiceClientInfo info;
-
- public AbstractWebServiceClient(WebServiceClientInfo info) {
- this.info = info;
- }
-
-
- public WebServiceClientInfo getWebServiceClientInfo() {
- return info;
- }
-
- public abstract ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-
-
- public abstract ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel,
- String project, String earProject);
-}
-
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceRuntime.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceRuntime.java
deleted file mode 100644
index c79033e15..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceRuntime.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-
-public abstract class AbstractWebServiceRuntime implements IWebServiceRuntime {
-
- public abstract IWebService getWebService(WebServiceInfo info);
- /**
- */
- public abstract IWebServiceClient getWebServiceClient(WebServiceClientInfo info);
- /**
- */
- public ICommandFactory announce(IWebService webService)
- {
- //TODO provide a boiler-plate announce implementation.
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IContext.java
deleted file mode 100644
index 4e3718f55..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IContext.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-public interface IContext {
-
- public boolean getAssemble();
-
- public boolean getCheckOutFiles();
-
- public boolean getClient();
-
- public boolean getCreateFolders();
-
- public boolean getDeploy();
-
- public boolean getDevelop();
-
- public boolean getInstall();
-
- public boolean getOverWriteFiles();
-
- public boolean getPublish();
-
- public boolean getRun();
-
- public WebServiceScenario getScenario();
-
- public boolean getTest();
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/ISelection.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/ISelection.java
deleted file mode 100644
index 5893b5a38..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/ISelection.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-public interface ISelection {
-
- Object[] getSelection();
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebService.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebService.java
deleted file mode 100644
index 923e61a87..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebService.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-
-public interface IWebService {
-
- /**
- */
- public WebServiceInfo getWebServiceInfo();
-
- public ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceClient.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceClient.java
deleted file mode 100644
index 6321ecc2e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceClient.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-public interface IWebServiceClient {
-
- /**
- */
- public WebServiceClientInfo getWebServiceClientInfo();
-
- public ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
- public ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject);
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServicePublisher.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServicePublisher.java
deleted file mode 100644
index 26dc5e836..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServicePublisher.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-import org.eclipse.wst.common.environment.IEnvironment;
-
-public interface IWebServicePublisher {
-
- public ICommandFactory publish(IEnvironment env, IWebService ws);
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceRuntime.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceRuntime.java
deleted file mode 100644
index 8f8c2e8bb..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceRuntime.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-
-
-public interface IWebServiceRuntime {
-
- /**
- */
- public IWebService getWebService(WebServiceInfo info);
- /**
- */
- public IWebServiceClient getWebServiceClient(WebServiceClientInfo info);
- /**
- */
- public ICommandFactory announce(IWebService webService);
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceTester.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceTester.java
deleted file mode 100644
index 04748ac9e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceTester.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.command.internal.env.core.ICommandFactory;
-
-public interface IWebServiceTester {
- public ICommandFactory generate(TestInfo testInfo);
- public ICommandFactory launch(TestInfo testInfo);
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/SimpleContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/SimpleContext.java
deleted file mode 100644
index 0284b4ace..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/SimpleContext.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-
-public class SimpleContext implements IContext {
-
- boolean develop;
- boolean assemble;
- boolean deploy;
- boolean install;
- boolean run;
- boolean client;
- boolean test;
- boolean publish;
-
- WebServiceScenario scenario;
-
- boolean overwriteFiles;
- boolean createFolders;
- boolean checkOutFiles;
-
-
-
-
- public SimpleContext()
- {
- super();
- // TODO Auto-generated constructor stub
- }
-
- public SimpleContext(boolean develop, boolean assemble, boolean deploy, boolean install, boolean run, boolean client, boolean test, boolean publish, WebServiceScenario scenario, boolean overwriteFiles, boolean folders, boolean checkOutFiles) {
- super();
- this.develop = develop;
- this.assemble = assemble;
- this.deploy = deploy;
- this.install = install;
- this.run = run;
- this.client = client;
- this.test = test;
- this.publish = publish;
- this.scenario = scenario;
- this.overwriteFiles = overwriteFiles;
- this.createFolders = folders;
- this.checkOutFiles = checkOutFiles;
- }
-
- public boolean getAssemble() {
- return assemble;
- }
- public void setAssemble(boolean assemble) {
- this.assemble = assemble;
- }
- public boolean getCheckOutFiles() {
- return checkOutFiles;
- }
- public void setCheckOutFiles(boolean checkOutFiles) {
- this.checkOutFiles = checkOutFiles;
- }
- public boolean getClient() {
- return client;
- }
- public void setClient(boolean client) {
- this.client = client;
- }
- public boolean getCreateFolders() {
- return createFolders;
- }
- public void setCreateFolders(boolean createFolders) {
- this.createFolders = createFolders;
- }
- public boolean getDeploy() {
- return deploy;
- }
- public void setDeploy(boolean deploy) {
- this.deploy = deploy;
- }
- public boolean getDevelop() {
- return develop;
- }
- public void setDevelop(boolean develop) {
- this.develop = develop;
- }
- public boolean getInstall() {
- return install;
- }
- public void setInstall(boolean install) {
- this.install = install;
- }
- public boolean getOverWriteFiles() {
- return overwriteFiles;
- }
- public void setOverWriteFiles(boolean overwriteFiles) {
- this.overwriteFiles = overwriteFiles;
- }
- public boolean getPublish() {
- return publish;
- }
- public void setPublish(boolean publish) {
- this.publish = publish;
- }
- public boolean getRun() {
- return run;
- }
- public void setRun(boolean run) {
- this.run = run;
- }
- public WebServiceScenario getScenario() {
- return scenario;
- }
- public void setScenario(WebServiceScenario scenario) {
- this.scenario = scenario;
- }
- public boolean getTest() {
- return test;
- }
- public void setTest(boolean test) {
- this.test = test;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/TestInfo.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/TestInfo.java
deleted file mode 100644
index 9df8d083e..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/TestInfo.java
+++ /dev/null
@@ -1,277 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-import java.util.List;
-
-import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
-import org.eclipse.wst.server.core.IServer;
-/**
- * This holds info that comes from user input or some calculations that
- * which might be useful to any test extenders
- */
-
-public class TestInfo {
- private String jspFolder;
- private String generationProject;
- private String serviceProject;
- private String proxyBean;
- private String setEndpointMethod;
- private String clientProject;
- private String clientModule;
- private boolean clientNeedEAR;
- private String clientEARProject;
- private String clientEARModule;
- private BooleanSelection[] methods;
- private String serviceServerTypeID;
- private String clientServerTypeID;
- private IServer serviceExistingServer;
- private IServer clientExistingServer;
- private List endpoints;
- private String wsdlServiceURL;
- private boolean externalBrowser;
- private boolean runTestClient;
-
- /**
- * This is the folder the user has chosen to generate any jsps
- * @param jspFolder
- */
- public void setJspFolder(String jspFolder){
- this.jspFolder = jspFolder;
- }
-
- public String getJspFolder(){
- return jspFolder;
- }
-
- /**
- * This is the project the user has chosen to generate artifacts to
- * @param generationProject
- */
- public void setGenerationProject(String generationProject){
- this.generationProject = generationProject;
- }
-
- public String getGenerationProject(){
- return generationProject;
- }
-
- /**
- * The proxy bean was generated by us this is the name of it
- * @param proxyBean
- */
- public void setProxyBean(String proxyBean){
- this.proxyBean = proxyBean;
- }
-
- public String getProxyBean(){
- return proxyBean;
- }
-
- /**
- * This is the SetEndpointMethod
- * @param
- */
- public void setSetEndpointMethod(String setEndpointMethod){
- this.setEndpointMethod = setEndpointMethod;
- }
-
- public String getSetEndpointMethod(){
- return setEndpointMethod;
- }
-
- /**
- * The clientProject contains the client artifacts including the
- * generated proxy bean
- * @param clientProject String
- */
- public void setClientProject(String clientProject){
- this.clientProject = clientProject;
- }
-
- public String getClientProject(){
- return clientProject;
- }
-
- /**
- * The clientModule contains the client artifacts including the
- * module
- * @param clientProject String
- */
- public void setClientModule(String clientModule){
- this.clientModule = clientModule;
- }
-
- public String getClientModule(){
- return clientModule;
- }
-
- /**
- * These are methods on the proxybean the user has checked ones
- * they want included in the test client
- * @param methods
- */
- public void setMethods(BooleanSelection[] methods){
- this.methods = methods;
- }
-
- public BooleanSelection[] getMethods(){
- return methods;
- }
-
- /**
- * If the command needs a server this is the chosen
- * client serverID
- * @param sampleServerTypeID
- */
- public void setServiceServerTypeID(String serviceServerTypeID){
- this.serviceServerTypeID = serviceServerTypeID;
- }
-
- public String getServiceServerTypeID(){
- return serviceServerTypeID;
- }
-
- /**
- * If the command needs a server this is the chosen
- * client serverID
- * @param sampleServerTypeID
- */
- public void setClientServerTypeID(String clientServerTypeID){
- this.clientServerTypeID = clientServerTypeID;
- }
-
- public String getClientServerTypeID(){
- return clientServerTypeID;
- }
-
- /**
- * This is the IServer if required
- * @param sampleExistingServer
- */
- public void setServiceExistingServer(IServer serviceExistingServer){
- this.serviceExistingServer = serviceExistingServer;
- }
-
- public IServer getServiceExistingServer(){
- return serviceExistingServer;
- }
-
- /**
- * This is the String if required
- * @param clientEARProject
- */
- public void setClientEARProject(String clientEARProject){
- this.clientEARProject = clientEARProject;
- }
-
- public String getClientEARProject(){
- return clientEARProject;
- }
-
-
- /**
- * This is the String if required
- * @param clientEARProject
- */
- public void setClientEARModule(String clientEARModule){
- this.clientEARModule = clientEARModule;
- }
-
- public String getClientEARModule(){
- return clientEARModule;
- }
-
- /**
- * This is the IServer if required
- * @param sampleExistingServer
- */
- public void setClientExistingServer(IServer clientExistingServer){
- this.clientExistingServer = clientExistingServer;
- }
-
- public IServer getClientExistingServer(){
- return clientExistingServer;
- }
-
- /**
- * This is the endpoints if monitor service is enabled
- * @param endpoints
- */
- public void setEndpoint(List endpoints){
- this.endpoints = endpoints;
- }
- public List getEndpoint(){
- return endpoints;
- }
-
- /**
- * This is the project that should be used when dealing with
- * wsdl
- * @param serviceProject
- */
- public void setServiceProject(String serviceProject){
- this.serviceProject = serviceProject;
- }
-
- public String getServiceProject(){
- return serviceProject;
- }
-
- /**
- * WSDL URL
- */
- public void setWsdlServiceURL(String wsdlServiceURL){
- this.wsdlServiceURL = wsdlServiceURL;
- }
-
- public String getWsdlServiceURL(){
- return wsdlServiceURL;
- }
-
- /**
- * clientNeedEAR
- */
- public boolean getClientNeedEAR() {
- return clientNeedEAR;
- }
-
- public void setClientNeedEAR(boolean clientNeedEAR) {
- this.clientNeedEAR = clientNeedEAR;
- }
-
- /**
- * external browser
- */
- public boolean getExternalBrowser()
- {
- return externalBrowser;
- }
-
- public void setExternalBrowser(boolean externalBrowser) {
- this.externalBrowser = externalBrowser;
- }
-
-public boolean getRunTestClient() {
- return runTestClient;
-}
-
-public void setRunTestClient(boolean runTestClient) {
- this.runTestClient = runTestClient;
-}
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceClientInfo.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceClientInfo.java
deleted file mode 100644
index fd94e2e34..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceClientInfo.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-public class WebServiceClientInfo {
-
- private WebServiceState state;
- private java.lang.String serverFactoryId;
- private java.lang.String serverInstanceId;
- private java.lang.String webServiceRuntimeId;
- private java.lang.String wsdlURL;
- private java.lang.String implURL;
- private java.lang.String proxyEndpoint = null;
-
- public java.lang.String getImplURL() {
- return implURL;
- }
- public void setImplURL(java.lang.String implURL) {
- this.implURL = implURL;
- }
- public java.lang.String getServerFactoryId() {
- return serverFactoryId;
- }
- public void setServerFactoryId(java.lang.String serverFactoryId) {
- this.serverFactoryId = serverFactoryId;
- }
- public java.lang.String getServerInstanceId() {
- return serverInstanceId;
- }
- public void setServerInstanceId(java.lang.String serverInstanceId) {
- this.serverInstanceId = serverInstanceId;
- }
- public WebServiceState getState() {
- return state;
- }
- public void setState(WebServiceState state) {
- this.state = state;
- }
- public java.lang.String getWebServiceRuntimeId() {
- return webServiceRuntimeId;
- }
- public void setWebServiceRuntimeId(java.lang.String webServiceRuntimeId) {
- this.webServiceRuntimeId = webServiceRuntimeId;
- }
- public java.lang.String getWsdlURL() {
- return wsdlURL;
- }
- public void setWsdlURL(java.lang.String wsdlURL) {
- this.wsdlURL = wsdlURL;
- }
- public java.lang.String getProxyEndpoint() {
- return proxyEndpoint;
- }
- public void setProxyEndpoint(java.lang.String proxyEndpoint) {
- this.proxyEndpoint = proxyEndpoint;
- }
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceInfo.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceInfo.java
deleted file mode 100644
index 6fa1b01b9..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceInfo.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060221 128905 kathy@ca.ibm.com - Kathy Chan
- * 20060330 128827 kathy@ca.ibm.com - Kathy Chan
- *******************************************************************************/
-
-package org.eclipse.wst.ws.internal.wsrt;
-
-import org.eclipse.wst.ws.internal.common.MergeUtils;
-
-public class WebServiceInfo {
-
- private WebServiceState state;
- private java.lang.String serverFactoryId;
- private java.lang.String serverInstanceId;
- private java.lang.String webServiceRuntimeId;
- private java.lang.String wsdlURL;
- private java.lang.String endPointURL;
- private java.lang.String implURL;
- private java.lang.String[] implURLs;
-
- public java.lang.String getEndPointURL()
- {
- return endPointURL;
- }
- public void setEndPointURL(java.lang.String endPointURL)
- {
- this.endPointURL = endPointURL;
- }
- public java.lang.String getImplURL()
- {
- return implURL;
- }
- public void setImplURL(java.lang.String implURL)
- {
- this.implURL = implURL;
- }
- public java.lang.String getServerFactoryId()
- {
- return serverFactoryId;
- }
- public void setServerFactoryId(java.lang.String serverFactoryId)
- {
- this.serverFactoryId = serverFactoryId;
- }
- public java.lang.String getServerInstanceId()
- {
- return serverInstanceId;
- }
- public void setServerInstanceId(java.lang.String serverInstanceId)
- {
- this.serverInstanceId = serverInstanceId;
- }
- public WebServiceState getState()
- {
- return state;
- }
- public void setState(WebServiceState state)
- {
- this.state = state;
- }
- public java.lang.String getWebServiceRuntimeId()
- {
- return webServiceRuntimeId;
- }
- public void setWebServiceRuntimeId(java.lang.String webServiceRuntimeId)
- {
- this.webServiceRuntimeId = webServiceRuntimeId;
- }
- public java.lang.String getWsdlURL()
- {
- return wsdlURL;
- }
- public void setWsdlURL(java.lang.String wsdlURL)
- {
- this.wsdlURL = wsdlURL;
- }
- public java.lang.String[] getImplURLs()
- {
- return implURLs;
- }
- public void setImplURLs(java.lang.String[] implURLs)
- {
- this.implURLs = implURLs;
- MergeUtils.storeMergeModels(implURLs);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java
deleted file mode 100644
index 0eccf1dd5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * -------- -------- -----------------------------------------------------------
- * 20060324 116750 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-
-public final class WebServiceScenario extends AbstractEnumerator
-{
-
- public static final int BOTTOMUP = 0;
- public static final int TOPDOWN = 1;
- public static final int CLIENT = 2;
-
- public static final WebServiceScenario BOTTOMUP_LITERAL = new WebServiceScenario(BOTTOMUP, "BOTTOMUP");
- public static final WebServiceScenario TOPDOWN_LITERAL = new WebServiceScenario(TOPDOWN, "TOPDOWN");
- public static final WebServiceScenario CLIENT_LITERAL = new WebServiceScenario(CLIENT, "CLIENT");
-
-
- private static final WebServiceScenario[] VALUES_ARRAY =
- new WebServiceScenario[]
- {
- BOTTOMUP_LITERAL,
- TOPDOWN_LITERAL,
- CLIENT_LITERAL,
- };
-
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
-
- public static WebServiceScenario get(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- WebServiceScenario result = VALUES_ARRAY[i];
- if (result.toString().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
-
- public static WebServiceScenario get(int value)
- {
- switch (value)
- {
- case BOTTOMUP: return BOTTOMUP_LITERAL;
- case TOPDOWN: return TOPDOWN_LITERAL;
- case CLIENT: return CLIENT_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private WebServiceScenario(int value, String name)
- {
- super(value, name);
- }
-
-
-} //WebServiceScenario
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceState.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceState.java
deleted file mode 100644
index cf20c0d69..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceState.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-
-public final class WebServiceState extends AbstractEnumerator
-{
-
- public static final int UNKNOWN = 0;
- public static final int DEVELOPED = 1;
- public static final int ASSEMBLED = 2;
- public static final int DEPLOYED = 3;
- public static final int INSTALLED = 4;
- public static final int RUNNING = 5;
-
-
- public static final WebServiceState UNKNOWN_LITERAL = new WebServiceState(UNKNOWN, "UNKNOWN");
- public static final WebServiceState DEVELOPED_LITERAL = new WebServiceState(DEVELOPED, "DEVELOPED");
- public static final WebServiceState ASSEMBLED_LITERAL = new WebServiceState(ASSEMBLED, "ASSEMBLED");
- public static final WebServiceState DEPLOYED_LITERAL = new WebServiceState(DEPLOYED, "DEPLOYED");
- public static final WebServiceState INSTALLED_LITERAL = new WebServiceState(INSTALLED, "INSTALLED");
- public static final WebServiceState RUNNING_LITERAL = new WebServiceState(RUNNING, "RUNNING");
-
- private static final WebServiceState[] VALUES_ARRAY =
- new WebServiceState[]
- {
- UNKNOWN_LITERAL,
- DEVELOPED_LITERAL,
- ASSEMBLED_LITERAL,
- DEPLOYED_LITERAL,
- INSTALLED_LITERAL,
- RUNNING_LITERAL,
- };
-
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
-
- public static WebServiceState get(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- WebServiceState result = VALUES_ARRAY[i];
- if (result.toString().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
-
- public static WebServiceState get(int value)
- {
- switch (value)
- {
- case UNKNOWN: return UNKNOWN_LITERAL;
- case DEVELOPED: return DEVELOPED_LITERAL;
- case ASSEMBLED: return ASSEMBLED_LITERAL;
- case DEPLOYED: return DEPLOYED_LITERAL;
- case INSTALLED: return INSTALLED_LITERAL;
- case RUNNING: return RUNNING_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private WebServiceState(int value, String name)
- {
- super(value, name);
- }
-
-} //WebServiceState
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/.classpath b/bundles/org.eclipse.wst.wsdl.ui/.classpath
deleted file mode 100644
index 4bf93e795..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src-asd"/>
- <classpathentry kind="src" path="src-asd-wsdl11"/>
- <classpathentry kind="src" path="src-refactor"/>
- <classpathentry kind="src" path="src-soap"/>
- <classpathentry kind="src" path="src-search"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/.cvsignore b/bundles/org.eclipse.wst.wsdl.ui/.cvsignore
deleted file mode 100644
index a65f62be2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/.cvsignore
+++ /dev/null
@@ -1,8 +0,0 @@
-bin
-build.xml
-wsdleditor.jar
-temp.folder
-org.eclipse.wst.wsdl.ui_1.0.0.jar
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.wsdl.ui/.project b/bundles/org.eclipse.wst.wsdl.ui/.project
deleted file mode 100644
index c5a4ddcd0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.wsdl.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index b48794a10..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,54 +0,0 @@
-#Wed Mar 08 00:52:29 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=error
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
diff --git a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index bbf7ac879..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jan 30 23:38:15 EST 2006
-eclipse.preferences.version=1
-internal.default.compliance=default
diff --git a/bundles/org.eclipse.wst.wsdl.ui/about.html b/bundles/org.eclipse.wst.wsdl.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/build.properties b/bundles/org.eclipse.wst.wsdl.ui/build.properties
deleted file mode 100644
index 26692d3a5..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/build.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-###############################################################################
-bin.includes = plugin.xml,\
- plugin.properties,\
- icons/,\
- .,\
- META-INF/,\
- about.html
-jars.compile.order = .
-source.. = src-asd/,\
- src-asd-wsdl11,\
- src-refactor/,\
- src-soap/,\
- src-search/
-output.. = bin/
diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gif
deleted file mode 100644
index d94ff1055..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gif
deleted file mode 100644
index 1dc19a31a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gif
deleted file mode 100644
index 9d4c9ca3f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/validate.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/validate.gif
deleted file mode 100644
index 2b347ac45..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/icons/validate.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gif
deleted file mode 100644
index 75b1f92b4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/plugin.properties b/bundles/org.eclipse.wst.wsdl.ui/plugin.properties
deleted file mode 100644
index dc116b596..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/plugin.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-###############################################################################
-_UI_LABEL_NEW_CATEGORY_NAME_WS=Web Services
-_UI_LABEL_CREATE_NEW_WSDL_FILE=Create a new WSDL File
-_UI_WSDL_LABEL=WSDL Files
-_UI_LABEL_GENERAL=General
-_UI_LABEL_DOCUMENTATION=Documentation
-_UI_LABEL_EXTENSIONS=Extensions
-_UI_LABEL_REFACTOR=Refactor
-_UI_EDITOR_NAME=WSDL Editor
-_UI_RELOAD_DEPENDENCIES=Reload Dependencies
-refactoring.menu.label=Refactor
-AddBookmark.label=Add Boo&kmark...
-SelectRuler.label=Select Ruler
-WSDLEditorModes=WSDL Editor Modes
-
-_UI_PLUGIN_NAME=WSDL UI
-providerName=Eclipse.org \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/plugin.xml b/bundles/org.eclipse.wst.wsdl.ui/plugin.xml
deleted file mode 100644
index 62d23927c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/plugin.xml
+++ /dev/null
@@ -1,492 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension point="org.eclipse.ui.editors">
- <editor
- name="%_UI_EDITOR_NAME"
- icon="icons/wsdl_file_obj.gif"
- class="org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor"
- contributorClass="org.eclipse.wst.wsdl.ui.internal.WSDLActionBarContributor"
- id="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
- <contentTypeBinding
- contentTypeId="org.eclipse.wst.wsdl.wsdlsource" />
- </editor>
- </extension>
-
- <extension point="org.eclipse.ui.newWizards">
- <category
- id="org.eclipse.jst.ws.ui.new"
- name="%_UI_LABEL_NEW_CATEGORY_NAME_WS" />
- <wizard
- id="org.eclipse.wst.wsdl.ui"
- name="WSDL"
- class="org.eclipse.wst.wsdl.ui.internal.wizards.NewWSDLWizard"
- category="org.eclipse.jst.ws.ui.new"
- icon="icons/wsdl_file_obj.gif">
- <description>%_UI_LABEL_CREATE_NEW_WSDL_FILE</description>
- <selection class="org.eclipse.core.resources.IResource" />
- </wizard>
-
- <wizard
- id="org.eclipse.wst.wsdl.ui"
- name="WSDL"
- class="org.eclipse.wst.wsdl.ui.internal.wizards.NewWSDLWizard"
- category="org.eclipse.wst.XMLCategory"
- icon="icons/wsdl_file_obj.gif">
- <description>%_UI_LABEL_CREATE_NEW_WSDL_FILE</description>
- <selection class="org.eclipse.core.resources.IResource" />
- </wizard>
- </extension>
-
- <extension point="org.eclipse.ui.preferencePages">
- <!-- place everything in "Web and XML" -->
- <page
- name="%_UI_WSDL_LABEL"
- category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
- class="org.eclipse.wst.wsdl.ui.internal.WSDLPreferencePage"
- id="org.eclipse.wst.wsdl.ui.internal.WSDLPreferencePage" />
- </extension>
-
- <!-- This extension point is used to suplement WSDL 1.1 schemas in order to -->
- <!-- constrain the extensiblity elements that are allowed at the 'wsdl' level -->
- <extension-point
- id="extensibilityElementFilter"
- name="Extensiblity Element Filter"
- schema="schema/extensibilityElementFilter.exsd" />
-
- <extension-point id="WSDLEditorExtensionConfiguration" name="WSDLEditorExtensionConfiguration"/>
- <extension-point id="editorModes" name="%WSDLEditorModes"/>
-
- <!-- this extension point is deprecated, use extensionCategories -->
- <extension-point id="ExtensionsSchemasDescription" name="this extension point is deprecated"/>
- <extension-point id="extensionCategories" name="Extension Categories"/>
- <extension
- point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
- <propertyContributor
- contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor"
-
- labelProvider="org.eclipse.wst.wsdl.ui.internal.asd.ASDLabelProvider">
- <propertyCategory category="general"></propertyCategory>
- <propertyCategory category="documentation"></propertyCategory>
- <propertyCategory category="extensibility"></propertyCategory>
- </propertyContributor>
- </extension>
- <extension
- point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
- <propertyTabs
- contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
- <propertyTab
- label="%_UI_LABEL_GENERAL"
- category="general"
- id="org.eclipse.wst.xmlwebservices.general">
- </propertyTab>
- <propertyTab
- label="%_UI_LABEL_EXTENSIONS"
- category="extensibility"
- id="org.eclipse.wst.xmlwebservices.extensibility">
- </propertyTab>
- <propertyTab
- label="%_UI_LABEL_DOCUMENTATION"
- category="documentation"
- id="org.eclipse.wst.xmlwebservices.documentation">
- </propertyTab>
- </propertyTabs>
- </extension>
-
- <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
- <propertySections contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
- <propertySection tab="org.eclipse.wst.xmlwebservices.documentation"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.DocumentationSection"
- id="prop.section.DocumentationSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
- id="prop.section.NameSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ParameterSection"
- filter="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ParameterSectionFilter"
- id="prop.section.W11ParameterSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
- id="prop.section.NameSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
- id="prop.section.NameSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
- id="prop.section.NameSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IService">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.EndPointSection"
- id="prop.section.EndPointSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.BindingSection"
- id="prop.section.BindingSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.ImportSection"
- id="prop.section.ImportSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IImport">
- </input>
- </propertySection>
- <!--
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.asd.editor.properties.sections.SchemaSection"
- id="prop.section.SchemaSection">
- <input type="org.eclipse.wst.wsdl.asd.facade.IType">
- </input>
- </propertySection>
- -->
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NamespaceSection"
- id="prop.section.NamespaceSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NamespaceSection"
- id="prop.section.NamespaceSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NamespaceSection"
- id="prop.section.NamespaceSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11CategoryAdapter">
- </input>
- </propertySection>
-
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11MessageReferenceSection"
- filter="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11MessageReferenceSectionFilter"
- id="prop.section.MessageReferenceSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference">
- </input>
- </propertySection>
-
- <!-- move to wsdl specific plugin -->
- <propertySection tab="org.eclipse.wst.xmlwebservices.extensibility"
- class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ExtensionsSection"
- id="prop.section.W11ApplicationInfoSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.extensibility"
- class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ExtensionsSection"
- id="prop.section.W11ApplicationInfoSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
- id="prop.section.NameSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingOperation">
- </input>
- </propertySection>
-
- <propertySection tab="org.eclipse.wst.xmlwebservices.general"
- class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
- id="prop.section.NameSection">
- <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingMessageReference">
- </input>
- </propertySection>
- </propertySections>
-</extension>
-
- <extension point="org.eclipse.wst.wsdl.ui.extensionCategories">
- <category
- displayName="HTTP"
- namespaceURI="http://schemas.xmlsoap.org/wsdl/http/">
- </category>
-
- <category
- displayName="SOAP"
- namespaceURI="http://schemas.xmlsoap.org/wsdl/soap/">
- </category>
-
- <category
- displayName="MIME"
- namespaceURI="http://schemas.xmlsoap.org/wsdl/mime/">
- </category>
- </extension>
-
- <extension point="org.eclipse.ui.popupMenus">
- <objectContribution
- id="org.eclipse.wst.wsdl.ui.refactoring.menu.objectContrib"
- objectClass="org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter">
- <action
- id="org.eclipse.wst.wsdleditor.refactoring.menu.refactorGroup.object"
- enablesFor="1"
- style="pulldown"
- menubarPath="refactoring-slot-temp"
- label="%_UI_LABEL_REFACTOR"
- class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
- </action>
- </objectContribution>
- </extension>
-
- <extension point="org.eclipse.ui.popupMenus">
- <objectContribution
- id="org.eclipse.wst.wsdl.ui.searchReferences.menu.objectContrib"
- objectClass="org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter">
- <action
- id="org.eclipse.wst.wsdleditor.searchReferences.menu.searchReferences.object"
- enablesFor="1"
- style="pulldown"
- menubarPath="searchReferences-slot-temp"
- label="References"
- class="org.eclipse.wst.wsdl.ui.internal.search.actions.WSDLSearchReferencesGroupActionDelegate">
- </action>
- </objectContribution>
- </extension>
-
- <!-- intialize wsdl source validator -->
- <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
- <validator
- scope="total"
- class="org.eclipse.wst.wsdl.ui.internal.reconciler.DelegatingSourceValidatorForWSDL"
- id="org.eclipse.wst.wsdl.ui.internal.reconciler.DelegatingSourceValidatorForWSDL">
- <contentTypeIdentifier
- id="org.eclipse.wst.wsdl.wsdlsource">
- <partitionType id="org.eclipse.wst.xml.XML_DEFAULT">
- </partitionType>
- </contentTypeIdentifier>
- </validator>
- </extension>
-
- <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
- <!-- add preference pages to the context menu action (ID must correspond to the declared "path" above) -->
-<!--
- <provisionalDefinition
- type="preferencepages"
- value="org.eclipse.wst.wsdl.ui.internal.util.WSDLPreferencePage"
- target="org.eclipse.wst.wsdl.ui.internal.WSDLEditor.source" />
--->
- <sourceViewerConfiguration
- class="org.eclipse.wst.wsdl.ui.internal.StructuredTextViewerConfigurationWSDL"
- target="org.eclipse.wst.wsdl.wsdlsource" />
-<!--
- <contentOutlineConfiguration
- class="org.eclipse.wst.wsdl.ui.internal.outline.WSDLContentOutlineConfiguration"
- target="org.eclipse.wst.wsdl.wsdlsource" />
--->
- </extension>
-
- <!-- this extension point is used to augment the ModelQuery to provide WSDL specific guided editing -->
- <extension point="org.eclipse.wst.xml.core.modelQueryExtensions">
- <modelQueryExtension
- class="org.eclipse.wst.wsdl.ui.internal.text.WSDLModelQueryExtension"
- contentType="org.eclipse.wst.wsdl.wsdlsource">
- </modelQueryExtension>
- </extension>
-
- <!-- Search participant extension that supports XMLComponentSearchPatten on WSDL resources -->
- <extension
- point="org.eclipse.wst.common.core.searchParticipants">
- <searchParticipant
- id="org.eclipse.wst.wsdl.search.WSDLSearchParticipant"
- class="org.eclipse.wst.wsdl.ui.internal.search.WSDLSearchParticipant">
- <enablement>
- <or>
- <with variable="pattern">
- <instanceof value="org.eclipse.wst.xml.core.internal.search.XMLComponentSearchPattern"/>
- </with>
- </or>
- </enablement>
- </searchParticipant>
- </extension>
-
-
-
- <!-- Refactoring CORE -->
- <extension
- point="org.eclipse.ltk.core.refactoring.renameParticipants">
- <renameParticipant
- name="WSDL Rename Particpant"
- class="org.eclipse.wst.wsdl.ui.internal.refactor.WSDLComponentRenameParticipant"
- id="org.eclipse.wst.wsdl.ui.refactoring.WSDLComponentRenameParticipant">
- <enablement>
- <or>
- <with variable="element">
- <instanceof value="org.eclipse.wst.wsdl.WSDLElement"/>
- </with>
- <with variable="element">
- <instanceof value="org.eclipse.xsd.XSDNamedComponent"/>
- </with>
- </or>
- </enablement>
- </renameParticipant>
- </extension>
-
- <!-- Refactoring UI extensions -->
- <extension point="org.eclipse.ui.popupMenus">
- <objectContribution
- id="org.eclipse.wst.wsdl.ui.refactoring.menu.objectContrib"
- objectClass="org.eclipse.wst.wsdl.WSDLElement">
- <action
- id="org.eclipse.wst.wsdl.ui.refactoring.menu.refactorGroup.object"
- enablesFor="1"
- style="pulldown"
- menubarPath="additions"
- label="%refactoring.menu.label"
- class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
- </action>
- </objectContribution>
-
- <viewerContribution
- id="org.eclipse.wst.xsd.ui.refactoring.menu.source"
- targetID="org.eclipse.wst.wsdl.wsdlsource.source.EditorContext">
- <action id="org.eclipse.wst.wsdl.ui.refactoring.menu.refactorGroup.source"
- style="pulldown"
- menubarPath="additions"
- label="%refactoring.menu.label"
- class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
- </action>
- </viewerContribution>
- </extension>
-
- <extension point="org.eclipse.ui.commands">
- <command
- name="%command.wsdl.refactor.rename.element.name"
- description="%command.wsdl.refactor.rename.element.description"
- categoryId="org.eclipse.ui.category.edit"
- id="org.eclipse.wst.wsdl.ui.refactor.rename.element">
- </command>
- </extension>
-
- <extension point="org.eclipse.ui.editorActions">
- <editorContribution
- id="org.eclipse.ui.articles.action.contribution.editor"
- targetID="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
-
- <menu
- id="WSDLEditor"
- label="%_UI_EDITOR_NAME"
- path="additions">
- <separator name="group1" />
- </menu>
-
- <action
- id="org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate"
- label="%_UI_RELOAD_DEPENDENCIES"
- icon="icons/reloadgrammar.gif"
- tooltip="Reload Dependencies"
- menubarPath="WSDLEditor/group1"
- class="org.eclipse.wst.wsdl.ui.internal.ReloadDependenciesActionDelegate">
- </action>
-
- <!--
- <action
- id="org.eclipse.wst.wsdl.ui.internal.actions.ValidateActionDelegate"
- label="%_UI_ACTION_VALIDATE_WSDL_DOCUMENT"
- icon="icons/validate.gif"
- tooltip="%_UI_ACTION_VALIDATE_WSDL_DOCUMENT"
- menubarPath="WSDLEditor/group1"
- toolbarPath="%Normal/WSDLEditor"
- class="org.eclipse.wst.wsdl.ui.internal.actions.ValidateActionDelegate">
- </action>
- -->
-
- </editorContribution>
- <editorContribution
- targetID="org.eclipse.wst.wsdl.wsdlsource.source"
- id="org.eclipse.wst.wsdl.wsdlsource.ruler.actions">
- <action
- label="%AddBookmark.label"
- helpContextId="org.eclipse.ui.bookmark_action_context"
- class="org.eclipse.ui.texteditor.BookmarkRulerAction"
- actionID="RulerDoubleClick"
- id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
- <action
- label="%SelectRuler.label"
- class="org.eclipse.ui.texteditor.SelectRulerAction"
- actionID="RulerClick"
- id="org.eclipse.ui.texteditor.SelectRulerAction"/>
- </editorContribution>
- </extension>
-
- <!-- ===================================================================== -->
-
- <extension
- point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
- <extensibilityElementFilter
- namespace="http://schemas.xmlsoap.org/wsdl/soap/"
- class="org.eclipse.wst.wsdl.ui.internal.filter.SoapExtensiblityElementFilter">
- </extensibilityElementFilter>
- </extension>
-
- <extension
- point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
- <extensibilityElementFilter
- namespace="http://schemas.xmlsoap.org/wsdl/http/"
- class="org.eclipse.wst.wsdl.ui.internal.filter.HttpExtensiblityElementFilter">
- </extensibilityElementFilter>
- </extension>
-
- <extension
- point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
- <extensibilityElementFilter
- namespace="http://schemas.xmlsoap.org/wsdl/mime/"
- class="org.eclipse.wst.wsdl.ui.internal.filter.MimeExtensiblityElementFilter">
- </extensibilityElementFilter>
- </extension>
-
-
- <extension
- point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
- <extensibilityElementFilter
- namespace="http://www.w3.org/2001/XMLSchema"
- class="org.eclipse.wst.wsdl.ui.internal.filter.XSDExtensiblityElementFilter">
- </extensibilityElementFilter>
- </extension>
-
- <extension
- point="org.eclipse.wst.xsd.ui.extensibilityNodeCustomizations">
- <nodeCustomization
- namespace="http://schemas.xmlsoap.org/wsdl/soap/"
- nodeEditorProviderClass="org.eclipse.wst.wsdl.ui.internal.soap.customizations.SOAPNodeEditorProvider"
- labelProviderClass="org.eclipse.wst.wsdl.ui.internal.label.providers.SOAPLabelProvider">
- </nodeCustomization>
- <nodeCustomization
- namespace="http://schemas.xmlsoap.org/wsdl/http/"
- nodeEditorProviderClass="org.eclipse.wst.wsdl.ui.internal.soap.customizations.SOAPNodeEditorProvider"
- labelProviderClass="org.eclipse.wst.wsdl.ui.internal.label.providers.HTTPLabelProvider">
- </nodeCustomization>
- </extension>
-</plugin>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd
deleted file mode 100644
index b9470d861..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="extensibilityelementFilter" name="Extensibility Element Filter"/>
- </appInfo>
- <documentation>
- The Extensibility Element Filter extension point allows clients to register filters for Extensibility Elements in the WSDL Editor based on the Extensibility Element&apos;s namespace. These filters determine what is to be displayed in the WSDL Editor.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="extensibilityElementFilter"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="extensibilityElementFilter">
- <complexType>
- <attribute name="namespace" type="string" use="required">
- <annotation>
- <documentation>
- The namespace this extension point instance applies to.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.filter.ExtensiblityElementFilter&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of an Extensibility Element Filter contribution:
-&lt;pre&gt;
- &lt;extension
- point=&quot;org.eclipse.wst.wsdl.ui.extensibilityElementFilter&quot;&gt;
- &lt;extensibilityElementFilter
- namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
- class=&quot;org.eclipse.wst.wsdl.ui.internal.filter.SoapExtensiblityElementFilter&quot;/&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.filter.ExtensiblityElementFilter&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd
deleted file mode 100644
index e7f897c24..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="extensibilityItemTreeProviders" name="Extensibility Item Tree Providers"/>
- </appInfo>
- <documentation>
- The Extensibility Item Tree Provider extension point allows clients to register custom ILabelProviders (to provide custom labels and icons) for Extensibility Elements in the WSDL Editor based on the Extensibility Element&apos;s namespace.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="extensibilityItemTreeProvider"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="extensibilityItemTreeProvider">
- <complexType>
- <attribute name="namespace" type="string" use="required">
- <annotation>
- <documentation>
- The namespace this extension point instance applies to.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="labelProviderClass" type="string" use="required">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.jface.viewers.ILabelProvider&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of an Extensibility Item Tree Provider contribution:
-&lt;pre&gt;
- &lt;extension
- point=&quot;org.eclipse.wst.wsdl.ui.extensibilityItemTreeProviders&quot;&gt;
- &lt;extensibilityItemTreeProvider
- namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
- labelProviderClass=&quot;org.eclipse.wst.wsdl.ui.internal.outline.SOAPLabelProvider&quot;/&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.jface.viewers.ILabelProvider&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd
deleted file mode 100644
index f5710d795..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="internalEditorExtensions" name="Internal Editor Extensions"/>
- </appInfo>
- <documentation>
- The Internal Editor Extension point is used to provide GUI objects, actions, context menu items, etc... for non WSDL Model Objects in the WSDL Editor.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="internalEditorExtension"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="internalEditorExtension">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.extension.WSDLEditorExtension&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of an Internal Editor Extension contribution:
-&lt;pre&gt;
- &lt;extension
- point=&quot;org.eclipse.wst.wsdl.ui.internalEditorExtensions&quot;&gt;
- &lt;internalEditorExtension
- class=&quot;org.eclipse.wst.wsdl.ui.internal.xsd.XSDExtension&quot; /&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.extension.WSDLEditorExtension&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd
deleted file mode 100644
index 613846034..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="propertyDescriptorProvider" name="Property Descriptor Provider"/>
- </appInfo>
- <documentation>
- The Property Descriptor Provider extension point allows clients to register their own custom IPropertyDescriptor in the WSDL Editor based on namespace.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="propertyDescriptorProvider"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="propertyDescriptorProvider">
- <complexType>
- <attribute name="namespace" type="string">
- <annotation>
- <documentation>
- The namespace this extension point instance applies to.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.ui.views.properties.IPropertyDescriptor&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of an contribution:
-&lt;pre&gt;
- &lt;extension
- point=&quot;org.eclipse.wst.wsdl.ui.propertyDescriptorProvider&quot;&gt;
- &lt;propertyDescriptorProvider
- namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
- class=&quot;org.eclipse.wst.wsdl.ui.internal.example.ExamplePropertyDescriptor&quot;/&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.ui.views.properties.IPropertyDescriptor&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java
deleted file mode 100644
index cf7749668..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import org.eclipse.gef.EditPartFactory;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ASDEditPartFactory;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ASDContentOutlineProvider;
-import org.eclipse.wst.wsdl.ui.internal.properties.sections.EditorModeSectionFilter;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorMode;
-
-public class DefaultEditorMode extends EditorMode
-{
- private EditorModeSectionFilter sectionFilter = null;
- public final static String ID = DefaultEditorMode.class.getName();
-
- public String getDisplayName()
- {
- return "default";
- }
-
- public EditPartFactory getEditPartFactory()
- {
- return new ASDEditPartFactory();
- }
-
- public String getId()
- {
- return ID;
- }
-
- public IContentProvider getOutlineProvider()
- {
- return new ASDContentOutlineProvider();
- }
-
- public Object getAdapter(Class adapter)
- {
- return super.getAdapter(adapter);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java
deleted file mode 100644
index fc201a3c2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import org.eclipse.ui.IActionBars;
-import org.eclipse.wst.sse.ui.internal.ISourceViewerActionBarContributor;
-
-public interface IDesignViewerActionBarContributor extends ISourceViewerActionBarContributor {
- public void initViewerSpecificContributions(IActionBars bars);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java
deleted file mode 100644
index 2b6dafd95..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import org.eclipse.jface.viewers.ISelection;
-
-public interface ISelectionMapper {
- ISelection mapSelection(ISelection selectedObject);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java
deleted file mode 100644
index 30948a0ab..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java
+++ /dev/null
@@ -1,562 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.gef.EditPartFactory;
-import org.eclipse.gef.KeyStroke;
-import org.eclipse.gef.ui.actions.ActionRegistry;
-import org.eclipse.gef.ui.actions.GEFActionConstants;
-import org.eclipse.jface.text.IDocument;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.jface.viewers.IPostSelectionProvider;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.swt.SWT;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.wst.sse.core.StructuredModelManager;
-import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier;
-import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11AddPartAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11OpenImportAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingElementAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingMessageAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingTypeAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewElementAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewMessageAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewTypeAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddMessageAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDirectEditAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicalViewer;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.KeyboardDragImpl;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.DefinitionsEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ASDContentOutlinePage;
-import org.eclipse.wst.wsdl.ui.internal.asd.util.IOpenExternalEditorHelper;
-import org.eclipse.wst.wsdl.ui.internal.edit.W11BindingReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.W11InterfaceReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.W11MessageReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDElementReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDTypeReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.text.WSDLModelAdapter;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.W11OpenExternalEditorHelper;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLResourceUtil;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xsd.ui.internal.adt.design.IKeyboardDrag;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorMode;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorModeManager;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDElementReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDTypeReferenceEditManager;
-import org.eclipse.xsd.XSDSchema;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
-public class InternalWSDLMultiPageEditor extends ASDMultiPageEditor
-{
- ResourceSet resourceSet;
- Resource wsdlResource;
-
- protected WSDLEditorResourceChangeHandler resourceChangeHandler;
-
- protected WSDLModelAdapter modelAdapter;
- protected SourceEditorSelectionListener fSourceEditorSelectionListener;
- protected WSDLSelectionManagerSelectionListener fWSDLSelectionListener;
-
- private IStructuredModel structuredModel;
- private final static String WSDL_EDITOR_MODE_EXTENSION_ID = "org.eclipse.wst.wsdl.ui.editorModes"; //$NON-NLS-N$
-
- public IDescription buildModel(IFileEditorInput editorInput) {
- try {
- // ISSUE: This code which deals with the structured model is similar to the one in the XSD editor.
- // It could be refactored into the base class.
-
- Document document = null;
- IDocument doc = structuredTextEditor.getDocumentProvider().getDocument(editorInput);
- if (doc instanceof IStructuredDocument) {
- IStructuredModel model = StructuredModelManager.getModelManager().getExistingModelForEdit(doc);
- if (model == null) {
- model = StructuredModelManager.getModelManager().getModelForEdit((IStructuredDocument) doc);
- }
- structuredModel = model;
- document = ((IDOMModel) model).getDocument();
- }
- Assert.isNotNull(document);
-
- Object obj = null;
-
- if (document instanceof INodeNotifier) {
- INodeNotifier notifier = (INodeNotifier) document;
- modelAdapter = (WSDLModelAdapter) notifier.getAdapterFor(WSDLModelAdapter.class);
- if (modelAdapter == null) {
- modelAdapter = new WSDLModelAdapter();
- notifier.addAdapter(modelAdapter);
- obj = modelAdapter.createDefinition(document.getDocumentElement(), document);
- }
- if (obj == null) {
- obj = modelAdapter.createDefinition(document.getDocumentElement(), document);
- }
- }
-
- if (obj instanceof Definition) {
- Definition definition = (Definition) obj;
- model = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(definition);
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
-
- return model;
- }
-
- private XSDSchema[] getInlineSchemas() {
- List types = getModel().getTypes();
- XSDSchema[] schemas = new XSDSchema[types.size()];
- for (int index = 0; index < types.size(); index++) {
- W11Type type = (W11Type) types.get(index);
- schemas[index] = (XSDSchema) type.getTarget();
- }
-
- return schemas;
- }
-
- public Object getAdapter(Class type) {
- if (type == Definition.class)
- {
- return ((W11Description) getModel()).getTarget();
- }
- else if (type == ISelectionMapper.class)
- {
- return new WSDLSelectionMapper();
- }
- else if (type == Definition.class && model instanceof Adapter)
- {
- return ((Adapter)model).getTarget();
- }
- else if (type == IOpenExternalEditorHelper.class) {
- return new W11OpenExternalEditorHelper(((IFileEditorInput) getEditorInput()).getFile());
- }
-
- else if (type == XSDTypeReferenceEditManager.class)
- {
- IEditorInput editorInput = getEditorInput();
- if (editorInput instanceof IFileEditorInput)
- {
- IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
- WSDLXSDTypeReferenceEditManager refManager = new WSDLXSDTypeReferenceEditManager(fileEditorInput.getFile(), null);
- refManager.setSchemas(getInlineSchemas());
- return refManager;
- }
- }
- else if (type == XSDElementReferenceEditManager.class)
- {
- IEditorInput editorInput = getEditorInput();
- if (editorInput instanceof IFileEditorInput)
- {
- IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
- WSDLXSDElementReferenceEditManager refManager = new WSDLXSDElementReferenceEditManager(fileEditorInput.getFile(), null);
- refManager.setSchemas(getInlineSchemas());
- return refManager;
- }
- }
- else if (type == W11BindingReferenceEditManager.class) {
- IEditorInput editorInput = getEditorInput();
- if (editorInput instanceof IFileEditorInput)
- {
- IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
- return new W11BindingReferenceEditManager((W11Description) getModel(), fileEditorInput.getFile());
- }
- }
- else if (type == W11InterfaceReferenceEditManager.class) {
- IEditorInput editorInput = getEditorInput();
- if (editorInput instanceof IFileEditorInput)
- {
- IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
- return new W11InterfaceReferenceEditManager((W11Description) getModel(), fileEditorInput.getFile());
- }
- }
- else if (type == W11MessageReferenceEditManager.class) {
- IEditorInput editorInput = getEditorInput();
- if (editorInput instanceof IFileEditorInput)
- {
- IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
- return new W11MessageReferenceEditManager((W11Description) getModel(), fileEditorInput.getFile());
- }
- }
- else if (type == ProductCustomizationProvider.class)
- {
- return WSDLEditorPlugin.getInstance().getProductCustomizationProvider();
- }
- else if (type == IKeyboardDrag.class) {
- return new KeyboardDragImpl();
- }
- return super.getAdapter(type);
- }
-
- /**
- * Listener on SSE's source editor's selections that converts DOM
- * selections into xsd selections and notifies WSDL selection manager
- */
- private class SourceEditorSelectionListener implements ISelectionChangedListener {
- /**
- * Determines WSDL facade object based on DOM node
- *
- * @param object
- * @return
- */
- private Object getWSDLFacadeObject(Object object) {
- // get the element node
- Element element = null;
- if (object instanceof Node) {
- Node node = (Node) object;
- if (node != null) {
- if (node.getNodeType() == Node.ELEMENT_NODE) {
- element = (Element) node;
- }
- else if (node.getNodeType() == Node.ATTRIBUTE_NODE) {
- element = ((Attr) node).getOwnerElement();
- }
- }
- }
- Object o = element;
- if (element != null) {
- Definition def = (Definition) ((W11Description) model).getTarget();
- Object modelObject = WSDLEditorUtil.getInstance().findModelObjectForElement(def, element);
-
- // rmah: We handle this special scenario where the modelObject is an XSDSchemaExtensibilityElement.
- // We actually want the XSDSchema object. However, our node reconciler will always return
- // XSDSchemaExtensibilityElement because both XSDSchemaExtensibilityElement and XSDSchema
- // both have the SAME Element object, and the reconciler encounters the XSDSchemaExtensibilityElement
- // first.... See WSDLNodeNodeAssociationProvider for more details.....
- if (modelObject instanceof XSDSchemaExtensibilityElement) {
- modelObject = ((XSDSchemaExtensibilityElement) modelObject).getSchema();
- }
- if (modelObject != null) {
- o = WSDLAdapterFactoryHelper.getInstance().adapt((Notifier) modelObject);
- }
- }
- return o;
- }
-
- public void selectionChanged(SelectionChangedEvent event) {
- if (getSelectionManager().getEnableNotify() && getActivePage() == 1)
- {
- ISelection selection = event.getSelection();
- if (selection instanceof IStructuredSelection)
- {
- List selections = new ArrayList();
- for (Iterator i = ((IStructuredSelection) selection).iterator(); i.hasNext();)
- {
- Object domNode = i.next();
- Object facade = getWSDLFacadeObject(domNode);
- if (facade != null)
- {
- selections.add(facade);
- }
- }
-
- if (!selections.isEmpty())
- {
- StructuredSelection wsdlSelection = new StructuredSelection(selections);
- getSelectionManager().setSelection(wsdlSelection, getTextEditor().getSelectionProvider());
- }
- }
- }
- }
- }
-
- /**
- * Listener on WSDL's selection manager's selections that converts WSDL
- * selections into DOM selections and notifies SSE's selection provider
- */
- private class WSDLSelectionManagerSelectionListener implements ISelectionChangedListener {
- /**
- * Determines DOM node based on object (wsdl node)
- *
- * @param object
- * @return
- */
- private Object getObjectForOtherModel(Object object) {
- Node node = null;
-
- if (object instanceof Node) {
- node = (Node) object;
- }
- else if (object instanceof String) {
- // The string is expected to be a URI fragment used to identify a WSDL element.
- // The URI fragment should be relative to the definition being edited in this editor.
- String uriFragment = (String)object;
- EObject definition = ((Definition)((W11Description)getModel()).getTarget());
- EObject modelObject = definition.eResource().getEObject(uriFragment);
-
- if (modelObject != null) {
- node = WSDLEditorUtil.getInstance().getNodeForObject(modelObject);
- }
- }
- else {
- node = WSDLEditorUtil.getInstance().getNodeForObject(object);
- }
-
- // the text editor can only accept sed nodes!
- //
- if (!(node instanceof IDOMNode)) {
- node = null;
- }
- return node;
- }
-
- public void selectionChanged(SelectionChangedEvent event) {
- // do not fire selection in source editor if selection event came
- // from source editor
- if (event.getSource() != getTextEditor().getSelectionProvider()) {
- ISelection selection = event.getSelection();
- if (selection instanceof IStructuredSelection) {
- List otherModelObjectList = new ArrayList();
- for (Iterator i = ((IStructuredSelection) selection).iterator(); i.hasNext();) {
- Object wsdlObject = i.next();
-
- if (wsdlObject instanceof WSDLBaseAdapter) {
- wsdlObject = ((WSDLBaseAdapter) wsdlObject).getTarget();
- }
-
- Object otherModelObject = getObjectForOtherModel(wsdlObject);
- if (otherModelObject != null) {
- otherModelObjectList.add(otherModelObject);
- }
- }
- if (!otherModelObjectList.isEmpty()) {
- StructuredSelection nodeSelection = new StructuredSelection(otherModelObjectList);
- getTextEditor().getSelectionProvider().setSelection(nodeSelection);
- }
- }
- }
- }
- }
-
- protected void configureGraphicalViewer() {
- super.configureGraphicalViewer();
- graphicalViewer.getKeyHandler().put(KeyStroke.getPressed(SWT.F2, 0), getActionRegistry().getAction(GEFActionConstants.DIRECT_EDIT));
- setEditPartFactory(getEditorModeManager().getCurrentMode().getEditPartFactory());
- }
-
- protected void createPages() {
- super.createPages();
-
- if (resourceChangeHandler == null) {
- resourceChangeHandler = new WSDLEditorResourceChangeHandler(this);
- resourceChangeHandler.attach();
- }
-
- fSourceEditorSelectionListener = new SourceEditorSelectionListener();
- ISelectionProvider provider = getTextEditor().getSelectionProvider();
- if (provider instanceof IPostSelectionProvider) {
- ((IPostSelectionProvider) provider).addPostSelectionChangedListener(fSourceEditorSelectionListener);
- }
- else {
- provider.addSelectionChangedListener(fSourceEditorSelectionListener);
- }
-
- fWSDLSelectionListener = new WSDLSelectionManagerSelectionListener();
- getSelectionManager().addSelectionChangedListener(fWSDLSelectionListener);
- }
-
- public void dispose() {
- if (structuredModel != null) {
- structuredModel.releaseFromEdit();
- }
- if (resourceChangeHandler != null) {
- resourceChangeHandler.dispose();
- }
- getSelectionManager().removeSelectionChangedListener(fWSDLSelectionListener);
- super.dispose();
- }
-
- public void reloadDependencies() {
- try {
- Definition definition = (Definition) ((W11Description) getModel()).getTarget();
- if (definition != null) {
- WSDLResourceUtil.reloadDirectives(definition);
- ComponentReferenceUtil.updateBindingReferences(definition);
- ComponentReferenceUtil.updatePortTypeReferences(definition);
- ComponentReferenceUtil.updateMessageReferences(definition);
- ComponentReferenceUtil.updateSchemaReferences(definition);
- // the line below simply causes a notification in order to
- // update our
- // views
- //
- definition.setDocumentationElement(definition.getDocumentationElement());
- }
- }
- finally {
- }
- }
-
- protected void createActions() {
- super.createActions();
- ActionRegistry registry = getActionRegistry();
-
- BaseSelectionAction action = new ASDAddMessageAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11AddPartAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11SetNewMessageAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11SetExistingMessageAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11SetNewTypeAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11SetExistingTypeAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11SetNewElementAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11SetExistingElementAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new W11OpenImportAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new OpenInNewEditor(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- ASDDirectEditAction directEditAction = new ASDDirectEditAction(this);
- directEditAction.setSelectionProvider(getSelectionManager());
- registry.registerAction(directEditAction);
- }
-
- /*
- * @deprecated: rmah: remove the method below post WTP1.5. Use getAdapter() method instead.
- */
- public IOpenExternalEditorHelper getOpenExternalEditorHelper() {
- return new W11OpenExternalEditorHelper(((IFileEditorInput) getEditorInput()).getFile());
- }
-
- private static final String DEFAULT_EDITOR_MODE_ID = "org.eclipse.wst.wsdl.ui.defaultEditorModeId"; //$NON-NLS-1$
-
- protected EditorModeManager createEditorModeManager()
- {
- final ProductCustomizationProvider productCustomizationProvider = (ProductCustomizationProvider)getAdapter(ProductCustomizationProvider.class);
- EditorModeManager manager = new EditorModeManager(WSDL_EDITOR_MODE_EXTENSION_ID)
- {
- public void init()
- {
- if (productCustomizationProvider == null ||
- productCustomizationProvider.isEditorModeApplicable(DefaultEditorMode.ID))
- {
- addMode(new DefaultEditorMode());
- }
- super.init();
- }
-
- protected EditorMode getDefaultMode()
- {
- String defaultModeId = WSDLEditorPlugin.getInstance().getPreferenceStore().getString(DEFAULT_EDITOR_MODE_ID);
- if (defaultModeId != null)
- {
- EditorMode editorMode = getEditorMode(defaultModeId);
- if (editorMode != null)
- {
- return editorMode;
- }
- }
- return super.getDefaultMode();
- }
- };
- manager.setProductCustomizationProvider(productCustomizationProvider);
- return manager;
- }
-
- public void editorModeChanged(EditorMode newEditorMode)
- {
- EditPartFactory editPartFactory = newEditorMode.getEditPartFactory();
- if (editPartFactory != null)
- {
- graphicalViewer.setEditPartFactory(editPartFactory);
- if (graphicalViewer instanceof DesignViewGraphicalViewer)
- {
- DesignViewGraphicalViewer viewer = (DesignViewGraphicalViewer)graphicalViewer;
- DefinitionsEditPart editPart = (DefinitionsEditPart)viewer.getRootEditPart().getContents();
- editPart.setModelChildren(Collections.EMPTY_LIST);
- editPart.refresh();
- editPart.setModelChildren(null);
- editPart.refresh();
- }
- }
- IContentProvider provider = newEditorMode.getOutlineProvider();
- if (provider != null)
- {
- ASDContentOutlinePage outline = (ASDContentOutlinePage)getContentOutlinePage();
- if (outline != null)
- {
- TreeViewer treeViewer = outline.getTreeViewer();
- if (treeViewer != null)
- {
- outline.getTreeViewer().setContentProvider(provider);
- outline.getTreeViewer().refresh();
- }
- }
-
- }
- }
-
- protected void storeCurrentModePreference(String id)
- {
- WSDLEditorPlugin.getInstance().getPreferenceStore().setValue(DEFAULT_EDITOR_MODE_ID, id);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java
deleted file mode 100644
index 2e2c438a1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import org.eclipse.jface.action.IAction;
-import org.eclipse.ui.IEditorActionDelegate;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.actions.ActionDelegate;
-
-public class ReloadDependenciesActionDelegate extends ActionDelegate implements IEditorActionDelegate
-{
- private InternalWSDLMultiPageEditor wsdlEditor;
-
- public void setActiveEditor(IAction action, IEditorPart targetEditor)
- {
- wsdlEditor = (targetEditor instanceof InternalWSDLMultiPageEditor) ? (InternalWSDLMultiPageEditor)targetEditor : null;
- }
-
- public void run(IAction action)
- {
- if (wsdlEditor != null)
- {
- try
- {
- wsdlEditor.reloadDependencies();
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java
deleted file mode 100644
index f8a7dd09e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java
+++ /dev/null
@@ -1,208 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.IStatusLineManager;
-import org.eclipse.jface.action.IToolBarManager;
-import org.eclipse.ui.IActionBars;
-import org.eclipse.ui.IEditorActionBarContributor;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.part.EditorActionBarContributor;
-import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
-import org.eclipse.wst.sse.ui.StructuredTextEditor;
-import org.eclipse.wst.sse.ui.internal.ExtendedEditorActionBuilder;
-import org.eclipse.wst.sse.ui.internal.IExtendedContributor;
-import org.eclipse.wst.sse.ui.internal.ISourceViewerActionBarContributor;
-
-public class SourceEditorActionBarContributor extends MultiPageEditorActionBarContributor implements IExtendedContributor {
-
- protected IEditorActionBarContributor designViewerActionBarContributor = null;
- protected IEditorActionBarContributor sourceViewerActionContributor = null;
- protected InternalWSDLMultiPageEditor multiPageEditor = null;
-
- // EditorExtension
- private static final String EDITOR_ID = "org.eclipse.wst.wsdl.ui.internal.actions.XMLMultiPageEditorPart"; //$NON-NLS-1$
- private IExtendedContributor extendedContributor;
-
- public SourceEditorActionBarContributor() {
- super();
-
- sourceViewerActionContributor = new SourcePageActionContributor();
-
- // Read action extensions.
- ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
- extendedContributor = builder.readActionExtensions(EDITOR_ID);
- }
-
- public void init(IActionBars actionBars) {
- super.init(actionBars);
-
- if (actionBars != null) {
- initDesignViewerActionBarContributor(actionBars);
- initSourceViewerActionContributor(actionBars);
- }
- }
-
- protected void initDesignViewerActionBarContributor(IActionBars actionBars) {
- if (designViewerActionBarContributor != null)
- designViewerActionBarContributor.init(actionBars, getPage());
- }
-
- protected void initSourceViewerActionContributor(IActionBars actionBars) {
- if (sourceViewerActionContributor != null)
- sourceViewerActionContributor.init(actionBars, getPage());
- }
-
- public void dispose() {
- super.dispose();
-
- if (designViewerActionBarContributor != null)
- designViewerActionBarContributor.dispose();
-
- if (sourceViewerActionContributor != null)
- sourceViewerActionContributor.dispose();
-
- if (extendedContributor != null)
- extendedContributor.dispose();
- }
-
- /**
- * @see EditorActionBarContributor#contributeToMenu(IMenuManager)
- */
- public final void contributeToMenu(IMenuManager menu) {
- super.contributeToMenu(menu);
-
- addToMenu(menu);
-
- if (extendedContributor != null)
- extendedContributor.contributeToMenu(menu);
- }
-
- protected void addToMenu(IMenuManager menu) {
- }
-
- /**
- * @see IExtendedContributor#contributeToPopupMenu(IMenuManager)
- */
- public final void contributeToPopupMenu(IMenuManager menu) {
-
- addToPopupMenu(menu);
-
- if (extendedContributor != null)
- extendedContributor.contributeToPopupMenu(menu);
- }
-
- protected void addToPopupMenu(IMenuManager menu) {
- }
-
- /**
- * @see EditorActionBarContributor#contributeToToolBar(IToolBarManager)
- */
- public final void contributeToToolBar(IToolBarManager toolBarManager) {
- super.contributeToToolBar(toolBarManager);
-
- addToToolBar(toolBarManager);
-
- if (extendedContributor != null)
- extendedContributor.contributeToToolBar(toolBarManager);
- }
-
- protected void addToToolBar(IToolBarManager toolBarManager) {
- }
-
- /**
- * @see EditorActionBarContributor#contributeToStatusLine(IStatusLineManager)
- */
- public final void contributeToStatusLine(IStatusLineManager manager) {
- super.contributeToStatusLine(manager);
-
- addToStatusLine(manager);
-
- if (extendedContributor != null)
- extendedContributor.contributeToStatusLine(manager);
- }
-
- protected void addToStatusLine(IStatusLineManager manager) {
- }
-
- /**
- * @see IExtendedContributor#updateToolbarActions()
- */
- public void updateToolbarActions() {
- if (extendedContributor != null)
- extendedContributor.updateToolbarActions();
- }
-
- public void setActiveEditor(IEditorPart targetEditor) {
- // save multiPageEditor before calling super.setActiveEditor(targetEditor)
- // super.setActiveEditor will call setActivePage(IEditorPart activeEditor)
- // multiPageEditor is needed in setActivePage(IEditorPart activeEditor)
- if (targetEditor instanceof InternalWSDLMultiPageEditor)
- multiPageEditor = (InternalWSDLMultiPageEditor) targetEditor;
-
- super.setActiveEditor(targetEditor);
-
- updateToolbarActions();
-
- if (extendedContributor != null)
- extendedContributor.setActiveEditor(targetEditor);
- }
-
- public void setActivePage(IEditorPart activeEditor) {
- // This contributor is designed for StructuredTextMultiPageEditorPart.
- // To safe-guard this from problems caused by unexpected usage by other editors, the following
- // check is added.
- if (multiPageEditor != null) {
- if (activeEditor != null && activeEditor instanceof StructuredTextEditor)
- activateSourcePage(activeEditor);
- else
- activateDesignPage(activeEditor);
- }
-
- updateToolbarActions();
-
- IActionBars actionBars = getActionBars();
- if (actionBars != null) {
- // update menu bar and tool bar
- actionBars.updateActionBars();
- }
- }
-
- protected void activateDesignPage(IEditorPart activeEditor) {
- if (designViewerActionBarContributor != null && designViewerActionBarContributor instanceof IDesignViewerActionBarContributor) {
- designViewerActionBarContributor.setActiveEditor(multiPageEditor);
- }
-
- if (sourceViewerActionContributor != null && sourceViewerActionContributor instanceof ISourceViewerActionBarContributor) {
- // if design page is not really an IEditorPart, activeEditor == null, so pass in multiPageEditor instead (d282414)
- if (activeEditor == null) {
- sourceViewerActionContributor.setActiveEditor(multiPageEditor);
- }
- else {
- sourceViewerActionContributor.setActiveEditor(activeEditor);
- }
- ((ISourceViewerActionBarContributor) sourceViewerActionContributor).setViewerSpecificContributionsEnabled(false);
- }
- }
-
- protected void activateSourcePage(IEditorPart activeEditor) {
- if (designViewerActionBarContributor != null && designViewerActionBarContributor instanceof IDesignViewerActionBarContributor) {
- designViewerActionBarContributor.setActiveEditor(multiPageEditor);
- }
-
- if (sourceViewerActionContributor != null && sourceViewerActionContributor instanceof ISourceViewerActionBarContributor) {
- sourceViewerActionContributor.setActiveEditor(activeEditor);
- ((ISourceViewerActionBarContributor) sourceViewerActionContributor).setViewerSpecificContributionsEnabled(true);
- }
- }
-
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java
deleted file mode 100644
index 60fc70dfe..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import org.eclipse.ui.IActionBars;
-import org.eclipse.wst.xml.ui.internal.actions.ActionContributorXML;
-
-
-/**
- * SourcePageActionContributor
- *
- * This class is for multi page editor's source page contributor.
- *
- * Use WSDLEditorActionContributor for single page editor
- * */
-public class SourcePageActionContributor extends ActionContributorXML {
-
- private IActionBars fBars;
-
- /**
- * This method calls:
- * <ul>
- * <li><code>contributeToMenu</code> with <code>bars</code>' menu manager</li>
- * <li><code>contributeToToolBar</code> with <code>bars</code>' tool bar
- * manager</li>
- * <li><code>contributeToStatusLine</code> with <code>bars</code>' status line
- * manager</li>
- * </ul>
- * The given action bars are also remembered and made accessible via
- * <code>getActionBars</code>.
- *
- * @param bars the action bars
- *
- */
- public void init(IActionBars bars) {
- fBars = bars;
- contributeToMenu(bars.getMenuManager());
- contributeToToolBar(bars.getToolBarManager());
- contributeToStatusLine(bars.getStatusLineManager());
- }
-
- /**
- * Returns this contributor's action bars.
- *
- * @return the action bars
- */
- public IActionBars getActionBars() {
- return fBars;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java
deleted file mode 100644
index 8433eebcf..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.jface.text.hyperlink.IHyperlinkDetector;
-import org.eclipse.jface.text.source.ISourceViewer;
-import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
-import org.eclipse.wst.wsdl.ui.internal.text.WSDLHyperlinkDetector;
-import org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML;
-
-public class StructuredTextViewerConfigurationWSDL extends StructuredTextViewerConfigurationXML {
- public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
- if (sourceViewer == null || !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED))
- return null;
-
- List allDetectors = new ArrayList(0);
- // add WSDL Hyperlink detector
- allDetectors.add(new WSDLHyperlinkDetector());
-
- IHyperlinkDetector[] superDetectors = super.getHyperlinkDetectors(sourceViewer);
- for (int m = 0; m < superDetectors.length; m++) {
- IHyperlinkDetector detector = superDetectors[m];
- if (!allDetectors.contains(detector)) {
- allDetectors.add(detector);
- }
- }
- return (IHyperlinkDetector[]) allDetectors.toArray(new IHyperlinkDetector[0]);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java
deleted file mode 100644
index b06d97382..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.gef.ui.actions.ActionRegistry;
-import org.eclipse.jface.action.GroupMarker;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.action.IToolBarManager;
-import org.eclipse.ui.IActionBars;
-import org.eclipse.ui.IEditorActionBarContributor;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IEditorSite;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchPartSite;
-import org.eclipse.ui.actions.ActionFactory;
-import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
-import org.eclipse.ui.part.MultiPageEditorPart;
-import org.eclipse.ui.texteditor.ITextEditor;
-import org.eclipse.ui.texteditor.ITextEditorActionConstants;
-import org.eclipse.wst.sse.ui.internal.ISourceViewerActionBarContributor;
-import org.eclipse.wst.wsdl.ui.internal.actions.IWSDLToolbarAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-
-public class WSDLActionBarContributor extends MultiPageEditorActionBarContributor
-{
- private IEditorPart activeEditorPart;
- private InternalWSDLMultiPageEditor wsdlEditor;
- protected ITextEditor textEditor;
- protected IEditorActionBarContributor sourceViewerActionContributor = null;
-
- /**
- * Constructor for WSDLActionBarContributor.
- */
- public WSDLActionBarContributor()
- {
- super();
- sourceViewerActionContributor = new SourcePageActionContributor();
- }
-
- public void setActivePage(IEditorPart part)
- {
- if (activeEditorPart == part)
- return;
-
- activeEditorPart = part;
-
- IActionBars actionBars = getActionBars();
-
- if (activeEditorPart != null && activeEditorPart instanceof ITextEditor)
- {
- activateSourcePage(activeEditorPart, true);
- }
- else
- {
- activateSourcePage(wsdlEditor, false);
- if (part instanceof InternalWSDLMultiPageEditor)
- {
- wsdlEditor = (InternalWSDLMultiPageEditor) part;
- }
- if (wsdlEditor != null)
- {
- // cs: here's we ensure the UNDO and REDO actions are available when
- // the design view is active
- IWorkbenchPartSite site = wsdlEditor.getSite();
- if (site instanceof IEditorSite)
- {
- ITextEditor textEditor = wsdlEditor.getTextEditor();
- IActionBars siteActionBars = ((IEditorSite) site).getActionBars();
- siteActionBars.setGlobalActionHandler(ITextEditorActionConstants.UNDO, getAction(textEditor, ITextEditorActionConstants.UNDO));
- siteActionBars.setGlobalActionHandler(ITextEditorActionConstants.REDO, getAction(textEditor, ITextEditorActionConstants.REDO));
- siteActionBars.updateActionBars();
- }
-
- Object adapter = wsdlEditor.getAdapter(ActionRegistry.class);
- if (adapter instanceof ActionRegistry)
- {
- ActionRegistry registry = (ActionRegistry) adapter;
- actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), registry.getAction(ASDDeleteAction.ID));
- }
- }
- }
-
- if (actionBars != null) {
- // update menu bar and tool bar
- actionBars.updateActionBars();
- }
- }
-
- /**
- * Returns the action registed with the given text editor.
- * @return IAction or null if editor is null.
- */
- protected IAction getAction(ITextEditor editor, String actionID)
- {
- try
- {
- return (editor == null ? null : editor.getAction(actionID));
- }
- catch (Exception e)
- {
- return null;
- }
- }
-
- public void contributeToToolBar(IToolBarManager manager)
- {
- manager.add(new GroupMarker("WSDLEditor")); //$NON-NLS-1$
- List list = WSDLEditorPlugin.getInstance().getWSDLEditorConfiguration().getToolbarActions();
- for (Iterator i = list.iterator(); i.hasNext(); )
- {
- manager.add((IWSDLToolbarAction)i.next());
- }
-
-// manager.add(new Separator());
-// String[] zoomStrings = new String[] { ZoomManager.FIT_ALL, ZoomManager.FIT_HEIGHT, ZoomManager.FIT_WIDTH };
-// manager.add(new ZoomComboContributionItem(getPage(), zoomStrings));
- }
-
- public void setActiveEditor(IEditorPart part)
- {
- IEditorPart activeNestedEditor = null;
- if (part instanceof MultiPageEditorPart)
- {
- activeNestedEditor = part;
- }
- setActivePage(activeNestedEditor);
-
- if (part instanceof InternalWSDLMultiPageEditor)
- {
- wsdlEditor = (InternalWSDLMultiPageEditor) part;
-
- textEditor = wsdlEditor.getTextEditor();
- if (textEditor != null)
- {
- getActionBars().updateActionBars();
- }
- }
-
- List list = WSDLEditorPlugin.getInstance().getWSDLEditorConfiguration().getToolbarActions();
- for (Iterator i = list.iterator(); i.hasNext(); )
- {
- ((IWSDLToolbarAction)i.next()).setEditorPart(part);
- }
- super.setActiveEditor(part);
- }
-
- protected void activateSourcePage(IEditorPart activeEditor, boolean state)
- {
- if (sourceViewerActionContributor != null && sourceViewerActionContributor instanceof ISourceViewerActionBarContributor)
- {
- sourceViewerActionContributor.setActiveEditor(activeEditor);
- ((ISourceViewerActionBarContributor) sourceViewerActionContributor).setViewerSpecificContributionsEnabled(state);
- }
- }
-
- public void init(IActionBars bars, IWorkbenchPage page)
- {
- initSourceViewerActionContributor(bars);
- super.init(bars, page);
- }
-
-
- protected void initSourceViewerActionContributor(IActionBars actionBars) {
- if (sourceViewerActionContributor != null)
- sourceViewerActionContributor.init(actionBars, getPage());
- }
-
- public void dispose()
- {
- if (sourceViewerActionContributor != null)
- sourceViewerActionContributor.dispose();
- super.dispose();
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java
deleted file mode 100644
index 33dfa9c7e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java
+++ /dev/null
@@ -1,457 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.HashMap;
-import java.util.Hashtable;
-
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.eclipse.wst.wsdl.ui.internal.extensions.NSKeyedExtensionRegistry;
-import org.eclipse.wst.wsdl.ui.internal.extensions.WSDLEditorConfiguration;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.ExtensionsSchemasRegistry;
-import org.osgi.framework.Bundle;
-import org.osgi.framework.BundleContext;
-
-public class WSDLEditorPlugin extends AbstractUIPlugin //, IPluginHelper
-{
- public static final String DEFAULT_PAGE = "org.eclipse.wst.wsdl.ui.internal.defaultpage"; //$NON-NLS-1$
- public static final String DESIGN_PAGE = "org.eclipse.wst.wsdl.ui.internal.designpage"; //$NON-NLS-1$
- public static final String SOURCE_PAGE = "org.eclipse.wst.wsdl.ui.internal.sourcepage"; //$NON-NLS-1$
-
- public final static String PLUGIN_ID = "org.eclipse.wst.wsdl.ui"; //$NON-NLS-1$
- public final static String XSD_EDITOR_ID = "org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor"; //$NON-NLS-1$
-
- public final static String DEFAULT_TARGET_NAMESPACE = "http://www.example.org"; //$NON-NLS-1$
-
- public static int DEPENDECIES_CHANGED_POLICY_PROMPT = 0;
- public static int DEPENDECIES_CHANGED_POLICY_IGNORE = 1;
- public static int DEPENDECIES_CHANGED_POLICY_RELOAD = 2;
-
- protected static WSDLEditorPlugin instance;
- private ExtensionsSchemasRegistry registry;
- private WSDLEditorConfiguration wsdlEditorConfiguration = null;
-
- private NSKeyedExtensionRegistry extensiblityElementFilterRegistry;
- private int dependenciesChangedPolicy = DEPENDECIES_CHANGED_POLICY_RELOAD;
-
- public WSDLEditorConfiguration getWSDLEditorConfiguration()
- {
- if (wsdlEditorConfiguration == null)
- {
- wsdlEditorConfiguration = new WSDLEditorConfiguration();
- }
- return wsdlEditorConfiguration;
- }
-
- public ExtensionsSchemasRegistry getExtensionsSchemasRegistry() {
- if (registry == null) {
- registry = new ExtensionsSchemasRegistry("org.eclipse.wst.wsdl.ui.extensionCategories"); //$NON-NLS-1$
- registry.__internalSetDeprecatedExtensionId("org.eclipse.wst.wsdl.ui.ExtensionsSchemasDescription");
- registry.setPrefStore(WSDLEditorPlugin.getInstance().getPreferenceStore() );
- }
-
- return registry;
- }
-
- public static void logMessage(String message)
- {
- }
-
- /**
- * Resources helper.
- */
-
- public WSDLEditorPlugin()
- {
- super();
- instance = this;
-
- // TODO... remove this code when we add 'dependenciesChangedPolicy'
- // to an editor preferences page
- try
- {
- // _DEBUG_UPDATE_POLICY = 0Dummy.label=
- String string = "0Dummy.label"; //$NON-NLS-1$
- int policy = Integer.parseInt(string);
- if (policy >= 0 && policy <= DEPENDECIES_CHANGED_POLICY_RELOAD)
- {
- dependenciesChangedPolicy = policy;
- }
- }
- catch (Exception e)
- {
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception
- {
- super.start(context);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception
- {
- super.stop(context);
- }
-
- public NSKeyedExtensionRegistry getExtensiblityElementFilterRegistry()
- {
- if (extensiblityElementFilterRegistry == null)
- {
- extensiblityElementFilterRegistry = new NSKeyedExtensionRegistry();
- new ElementContentFilterExtensionRegistryReader(extensiblityElementFilterRegistry).readRegistry();
- }
- return extensiblityElementFilterRegistry;
- }
-
- /**
- * Get the Install URL
- */
- public static URL getInstallURL()
- {
- try
- {
- return FileLocator.resolve(instance.getBundle().getEntry("/")); //$NON-NLS-1$
- }
- catch (IOException e)
- {
- return null;
- }
- }
-
- /**
- * Return the plugin physical directory location
- */
- public static IPath getPluginLocation()
- {
- try
- {
- IPath installPath = new Path(getInstallURL().toExternalForm()).removeTrailingSeparator();
- String installStr = FileLocator.toFileURL(new URL(installPath.toString())).getFile();
- return new Path(installStr);
- }
- catch (IOException e)
- {
- //System.out.println("WSDLEditorPlugin.getPluginLocation() exception.." + e);
- }
- return null;
- }
-
- protected Hashtable imageDescriptorCache = new Hashtable();
-
- protected ImageDescriptor internalGetImageDescriptor(String key)
- {
- ImageDescriptor imageDescriptor = (ImageDescriptor) imageDescriptorCache.get(key);
- if (imageDescriptor == null)
- {
- imageDescriptor = ImageDescriptor.createFromFile(WSDLEditorPlugin.class, key);
- if (imageDescriptor != null)
- {
- imageDescriptorCache.put(key, imageDescriptor);
- }
- }
- return imageDescriptor;
- }
-
- /**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path.
- *
- * @param path the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptorFromPlugin(String path) {
- return AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, path); //$NON-NLS-1$
- }
-
- public static ImageDescriptor getImageDescriptor(String key)
- {
- return getInstance().internalGetImageDescriptor(key);
- }
-
- public Image getImage(String iconName)
- {
- ImageRegistry imageRegistry = getImageRegistry();
-
- if (imageRegistry.get(iconName) != null)
- {
- return imageRegistry.get(iconName);
- }
- else
- {
- imageRegistry.put(iconName, ImageDescriptor.createFromFile(getClass(), iconName));
- return imageRegistry.get(iconName);
- }
- }
-
- /*
- public Image getImage(String key, boolean isGrayed)
- {
- Image image = null;
- if (!isGrayed)
- {
- image = super.getImage(key);
- }
- else
- {
- image = (Image)grayedImageMap.get(key);
- if (image == null)
- {
- Image colorImage = super.getImage(key);
- if (colorImage != null)
- {
- image = new Image(Display.getCurrent(), colorImage, SWT.IMAGE_GRAY);//SWT.IMAGE_DISABLE);
- grayedImageMap.put(key, image);
- }
- }
- }
- return image;
- }
- */
-
- /**
- * Get the metadata directory for this plugin
- */
- public static String getMetaDataDirectory()
- {
- return getInstance().getStateLocation().toOSString();
- }
-
- /**
- * Get the singleton instance.
- */
- public static WSDLEditorPlugin getInstance()
- {
- if (instance == null)
- {
- new WSDLEditorPlugin();
- }
-
- return instance;
- }
-
- public IWorkspace getWorkspace()
- {
- return ResourcesPlugin.getWorkspace();
- }
-
- public static Shell getShell()
- {
- return getInstance().getWorkbench().getActiveWorkbenchWindow().getShell();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore)
- */
- protected void initializeDefaultPreferences(IPreferenceStore store)
- {
- store.setDefault(DEFAULT_PAGE, DESIGN_PAGE);
-
- // WSDLPreferencePage prefs
- store.setDefault(Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE, DEFAULT_TARGET_NAMESPACE); //$NON-NLS-1$
- store.setDefault(Messages._UI_PREF_PAGE_AUTO_REGENERATE_BINDING, false); //$NON-NLS-1$
- store.setDefault(Messages._UI_PREF_PAGE_PROMPT_REGEN_BINDING_ON_SAVE, false); // TODO: Externalize //$NON-NLS-1$
- // Do we need this preference below? Look at WSDLPreferencePage.java
-// store.setDefault("Defualt Location:", "http://www.example.com");
- }
-
- /**
- * setDefaultPage
- * Set the default page to open when the editor starts. Maintains the state
- * when WSAD is shutdown and restarted.
- * @param page
- */
- public void setDefaultPage(String page)
- {
- getPreferenceStore().setValue(DEFAULT_PAGE, page);
- }
-
- public String getDefaultPage()
- {
- return getPreferenceStore().getString(DEFAULT_PAGE);
- }
-
- public int getDependenciesChangedPolicy()
- {
- //return getPreferenceStore().getInt(DEPENDECIES_CHANGED_POLICY);
- return dependenciesChangedPolicy;
- }
-
-
- private static final String PRODUCT_CUSTOMIZATION_PROVIDER_PLUGIN_ID = "org.eclipse.wst.wsdl.ui.productCustomizationProviderPluginId"; //$NON-NLS-1$
- private static final String PRODUCT_CUSTOMIZATION_PROVIDER_CLASS_NAME = "org.eclipse.wst.wsdl.ui.productCustomizationProviderClassName"; //$NON-NLS-1$
-
- private static ProductCustomizationProvider productCustomizationProvider;
- private static boolean productCustomizationProviderInitialized = false;
-
- public ProductCustomizationProvider getProductCustomizationProvider()
- {
- if (!productCustomizationProviderInitialized)
- {
- productCustomizationProviderInitialized = true;
- String pluginName = getPreferenceStore().getString(PRODUCT_CUSTOMIZATION_PROVIDER_PLUGIN_ID);
- String className = getPreferenceStore().getString(PRODUCT_CUSTOMIZATION_PROVIDER_CLASS_NAME);
- if (pluginName != null && pluginName.length() > 0 &&
- className != null && className.length() > 0)
- {
- try
- {
- Bundle bundle = Platform.getBundle(pluginName);
- Class clazz = bundle.loadClass(className);
- productCustomizationProvider = (ProductCustomizationProvider)clazz.newInstance();
- }
- catch (Exception e)
- {
- }
- }
- }
- return productCustomizationProvider;
- }
-}
-
-class BaseRegistryReader
-{
- protected static final String PLUGIN_ID = "org.eclipse.wst.wsdl.ui"; //$NON-NLS-1$
-
- /**
- * read from plugin registry and parse it.
- */
- public void readRegistry(String extensionPointId)
- {
- IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();
- IExtensionPoint point = extensionRegistry.getExtensionPoint(PLUGIN_ID, extensionPointId);
-
- if (point != null)
- {
- IConfigurationElement[] elements = point.getConfigurationElements();
- for (int i = 0; i < elements.length; i++)
- {
- readElement(elements[i]);
- }
- }
- }
-
- protected void readElement(IConfigurationElement element)
- {
- }
-}
-
-/**
- *
- */
-abstract class NSKeyedExtensionRegistryReader extends BaseRegistryReader
-{
- protected static final String ATT_NAME_SPACE = "namespace"; //$NON-NLS-1$
- protected String extensionPointId;
- protected String tagName;
- protected String[] attributeNames;
- protected NSKeyedExtensionRegistry nsKeyedExtensionRegistry;
-
- private NSKeyedExtensionRegistryReader(String extensionPointId, String tagName, NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
- {
- this.extensionPointId = extensionPointId;
- this.tagName = tagName;
- this.nsKeyedExtensionRegistry = nsKeyedExtensionRegistry;
- }
-
- public NSKeyedExtensionRegistryReader(String extensionPointId, String tagName, String attributeName, NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
- {
- this(extensionPointId, tagName, nsKeyedExtensionRegistry);
- attributeNames = new String[1];
- attributeNames[0] = attributeName;
- }
-
- public NSKeyedExtensionRegistryReader(String extensionPointId, String tagName, String[] attributeNames, NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
- {
- this(extensionPointId, tagName, nsKeyedExtensionRegistry);
- this.attributeNames = attributeNames;
- }
- /**
- * read from plugin registry and parse it.
- */
- public void readRegistry()
- {
- super.readRegistry(extensionPointId);
- }
-
- /**
- * readElement()
- */
- protected void readElement(IConfigurationElement element)
- {
- if (element.getName().equals(tagName))
- {
- String namespace = element.getAttribute(ATT_NAME_SPACE);
- if (namespace != null)
- {
- Bundle bundle = Platform.getBundle(element.getDeclaringExtension().getContributor().getName());
- if (attributeNames.length == 1)
- {
- String className = element.getAttribute(attributeNames[0]);
- if (className != null)
- {
- nsKeyedExtensionRegistry.put(namespace, className, bundle);
- }
- }
- else
- {
- HashMap map = new HashMap();
- for (int i = 0; i < attributeNames.length; i++)
- {
- String attributeName = attributeNames[i];
- String className = element.getAttribute(attributeName);
- if (className != null && className.length() > 0)
- {
- map.put(attributeName, className);
- }
- }
- nsKeyedExtensionRegistry.put(namespace, map, bundle);
- }
- }
- }
- }
-}
-
-/**
- *
- */
-class ElementContentFilterExtensionRegistryReader extends NSKeyedExtensionRegistryReader
-{
- protected static final String EXTENSION_POINT_ID = "extensibilityElementFilter"; //$NON-NLS-1$
- protected static final String TAG_NAME = "extensibilityElementFilter"; //$NON-NLS-1$
-
- public ElementContentFilterExtensionRegistryReader(NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
- {
- super(EXTENSION_POINT_ID, TAG_NAME, "class", nsKeyedExtensionRegistry); //$NON-NLS-1$
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java
deleted file mode 100644
index efcfa5058..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java
+++ /dev/null
@@ -1,317 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceChangeEvent;
-import org.eclipse.core.resources.IResourceChangeListener;
-import org.eclipse.core.resources.IResourceDelta;
-import org.eclipse.core.resources.IResourceDeltaVisitor;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IPartListener;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-
-
-public class WSDLEditorResourceChangeHandler
-{
- protected InternalWSDLMultiPageEditor wsdlEditor;
- protected boolean isUpdateRequired;
- protected InternalResourceChangeListener resourceChangeListener;
- protected InternalPartListener partListener;
-
- public WSDLEditorResourceChangeHandler(InternalWSDLMultiPageEditor wsdlEditor)
- {
- this.wsdlEditor = wsdlEditor;
- resourceChangeListener = new InternalResourceChangeListener();
- partListener = new InternalPartListener();
- }
-
- public void attach()
- {
- ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener);
- wsdlEditor.getSite().getWorkbenchWindow().getPartService().addPartListener(partListener);
- }
-
- public void dispose()
- {
- ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);
- wsdlEditor.getSite().getWorkbenchWindow().getPartService().removePartListener(partListener);
- }
-
- protected Map computeDependencyMap()
- {
- Map map = new HashMap();
- IDescription description = ((InternalWSDLMultiPageEditor) wsdlEditor).getModel();
- Definition definition = (Definition) ((W11Description) description).getTarget();
- ResourceSet resourceSet = definition.eResource().getResourceSet();
- for (Iterator i = resourceSet.getResources().iterator(); i.hasNext();)
- {
- Resource resource = (Resource)i.next();
- if (resource != definition.eResource())
- {
- String uri = resource.getURI().toString();
- if (map.get(uri) == null)
- {
- map.put(uri, uri);
- }
- }
- }
- return map;
- }
-
- public void performReload()
- {
- boolean doReload = false;
- int policy = WSDLEditorPlugin.getInstance().getDependenciesChangedPolicy();
-
- if (policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_PROMPT)
- {
- doReload = MessageDialog.openQuestion(wsdlEditor.getSite().getShell(), Messages._UI_DEPENDENCIES_CHANGED, Messages._UI_DEPENDENCIES_CHANGED_REFRESH); //$NON-NLS-1$ //$NON-NLS-2$
- }
- else if (policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_RELOAD)
- {
- doReload = true;
- }
-
- if (doReload)
- {
- wsdlEditor.reloadDependencies();
- }
- }
-
- public boolean isListeningToResourceChanges()
- {
- int policy = WSDLEditorPlugin.getInstance().getDependenciesChangedPolicy();
- return policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_PROMPT ||
- policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_RELOAD;
- }
-
-
- class InternalResourceChangeListener implements IResourceChangeListener, IResourceDeltaVisitor
- {
- protected List list = new ArrayList();
- protected boolean isPending = false;
- protected int count = 0;
-
- public void resourceChanged(IResourceChangeEvent event)
- {
- Display display = Display.getCurrent();
-
- if (display != null && isListeningToResourceChanges() && !isUpdateRequired)
- {
- if (event.getType() == IResourceChangeEvent.POST_CHANGE)
- {
- IResourceDelta[] deltas = event.getDelta().getAffectedChildren();
- for (int i = 0; i < deltas.length; i++)
- {
- try
- {
- deltas[i].accept(this);
- }
- catch (Exception e)
- {
- }
- }
- }
- if (list.size() > 0)
- {
- if (!isPending)
- {
- isPending = true;
- display.timerExec(2000, new TimerEvent());
- }
- }
- }
- }
-
- public boolean visit(IResourceDelta delta) throws CoreException
- {
- IResource resource = delta.getResource();
- if (resource.getType() == IResource.FILE)
- {
- if (!list.contains(resource))
- {
- list.add(resource);
- }
- }
- return true;
- }
-
- class TimerEvent implements Runnable
- {
- public TimerEvent()
- {
- //System.out.println("NewTimerEvent(" + wsdlEditor.getDefinition().eResource().getURI() + ") " + count);
- }
-
- public void run()
- {
-// for (Iterator i = list.iterator(); i.hasNext();)
-// {
-// IResource resource = (IResource)i.next();
-// String platformPath = URI.createPlatformResourceURI(resource.getFullPath().toString()).toString();
-// }
-
- Map dependencyMap = computeDependencyMap();
-
- for (Iterator i = list.iterator(); i.hasNext();)
- {
- IResource resource = (IResource)i.next();
- String platformPath = URI.createPlatformResourceURI(resource.getFullPath().toString()).toString();
- if (dependencyMap.get(platformPath) != null)
- {
- isUpdateRequired = true;
- if (wsdlEditor.getSite().getWorkbenchWindow().getPartService().getActivePart() == wsdlEditor)
- {
- isUpdateRequired = false;
- performReload();
- }
- }
- }
-
- isPending = false;
- list = new ArrayList();
- }
- }
- }
-
- class InternalPartListener implements IPartListener
- {
- public void partActivated(IWorkbenchPart part)
- {
- if (part == wsdlEditor)
- {
- if (isUpdateRequired)
- {
- isUpdateRequired = false;
- performReload();
- }
- }
- }
-
- public void partBroughtToTop(IWorkbenchPart part)
- {
- }
-
- public void partClosed(IWorkbenchPart part)
- {
- }
-
-
- public void partDeactivated(IWorkbenchPart part)
- {
- }
-
- public void partOpened(IWorkbenchPart part)
- {
- }
- }
-
-
-}
-
-/*
-class DependencyVisitor
-{
- public void visitImport(Import theImport)
- {
- if (theImport.getEDefinition() != null)
- {
- visitDefinition(theImport.getEDefinition());
- }
- else if (theImport.getESchema() != null)
- {
- visitSchema(theImport.getESchema());
- }
- }
-
- public void visitXSDSchemaDirective(XSDSchemaDirective directive)
- {
- XSDSchema referencedSchema = directive.getResolvedSchema();
- if (referencedSchema != null)
- {
- visitSchema(referencedSchema);
- }
- }
-
- public void visitDefinition(Definition definition)
- {
- if (definition != null)
- {
- for (Iterator i = definition.getEImports().iterator(); i.hasNext();)
- {
- visitImport((Import)i.next());
- }
- Types types = definition.getETypes();
- if (types != null)
- {
-
- for (Iterator i = types.getEExtensibilityElements().iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (o instanceof XSDSchemaExtensibilityElement)
- {
- XSDSchemaExtensibilityElement e = (XSDSchemaExtensibilityElement)o;
- if (e.getEXSDSchema() != null)
- {
- visitSchema(e.getEXSDSchema());
- }
- }
- }
- }
- }
- }
-
- public void visitSchema(XSDSchema schema)
- {
- for (Iterator i = schema.getContents().iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (o instanceof XSDSchemaDirective)
- {
- visitXSDSchemaDirective((XSDSchemaDirective)o);
- }
- }
- }
-}
-
-class ReloadDependencyVisitor extends DependencyVisitor
-{
- public void visitImport(Import theImport)
- {
- ComponentHandler handler = WSDLReconciler.getReconciler(theImport);
- Element element = WSDLUtil.getInstance().getElementForObject(theImport);
- if (element != null && handler != null)
- {
- handler.reconcile(wsdlEditor.getDefinition(), theImport, element);
- }
- }
-
- public void visitXSDSchemaDirective(XSDSchemaDirective directive)
- {
-
- }
-}*/ \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java
deleted file mode 100644
index c8b085a36..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import org.eclipse.jface.preference.BooleanFieldEditor;
-import org.eclipse.jface.preference.FieldEditorPreferencePage;
-import org.eclipse.jface.preference.StringFieldEditor;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-
-public class WSDLPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
-
- public WSDLPreferencePage()
- {
- super(FieldEditorPreferencePage.FLAT);
- setPreferenceStore(WSDLEditorPlugin.getInstance().getPreferenceStore());
- }
-
- public void init(IWorkbench workbench)
- {
- }
-
- protected void createFieldEditors()
- {
- Composite parent = getFieldEditorParent();
- GridLayout parentLayout = new GridLayout();
- parentLayout.marginWidth = 0;
- parent.setLayout(parentLayout);
-
-// WorkbenchHelp.setHelp(getControl(), some context id here);
-
- Group group = new Group(parent, SWT.NULL);
- GridLayout layout = new GridLayout();
- layout.marginWidth = 0;
- layout.numColumns = 2;
- group.setLayout(layout);
- group.setText(Messages._UI_PREF_PAGE_CREATING_FILES); //$NON-NLS-1$
-
- GridData data = new GridData();
- data.verticalAlignment = GridData.FILL;
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- group.setLayoutData(data);
-
- Composite composite = new Composite(group, SWT.NULL);
- GridData data1 = new GridData();
- data1.verticalAlignment = GridData.FILL;
- data1.horizontalAlignment = GridData.FILL;
- data1.grabExcessHorizontalSpace = true;
- composite.setLayoutData(data1);
-
- String namespaceLabel = Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE; //$NON-NLS-1$
- StringFieldEditor targetNamespace = new StringFieldEditor(namespaceLabel, namespaceLabel, composite); // Externalize
- GridLayout compositeLayout = (GridLayout)composite.getLayout();
- compositeLayout.marginWidth = 5; // Default value
- compositeLayout.numColumns = 2;
- addField(targetNamespace);
- targetNamespace.setFocus();
- PlatformUI.getWorkbench().getHelpSystem().setHelp(targetNamespace.getTextControl(composite), ASDEditorCSHelpIds.WSDL_PREF_DEFAULT_TNS);
-
- String generateLabel = Messages._UI_PREF_PAGE_AUTO_REGENERATE_BINDING; //$NON-NLS-1$
- BooleanFieldEditor generateBindingOnSave = new BooleanFieldEditor(generateLabel, generateLabel, parent);
- addField(generateBindingOnSave);
-
- String showGenerateDialogLabel = Messages._UI_PREF_PAGE_PROMPT_REGEN_BINDING_ON_SAVE; // TODO: Externalize //$NON-NLS-1$
- BooleanFieldEditor showGenerateDialog = new BooleanFieldEditor(showGenerateDialogLabel, showGenerateDialogLabel, parent);
- addField(showGenerateDialog);
-
- /* Do we need this preference below? If so, change WSDLEditorPlugin.java and use this preference in:
- HttpContentGenerator.java
- SoapContentGenerator.java
- SoapPortOptionsPage.java
- */
-// HttpPortOptionsPage.java StringFieldEditor location = new StringFieldEditor("Defualt Location:", "Default Location:", editorGroup1); // Externalize
-// addField(location);
-
- applyDialogFont(parent);
-
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java
deleted file mode 100644
index 5c888d360..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-
-public class WSDLSelectionMapper implements ISelectionMapper {
-
- public ISelection mapSelection(ISelection selection) {
- List list = new ArrayList();
- if (selection instanceof StructuredSelection) {
- StructuredSelection structuredSelection = (StructuredSelection)selection;
- for (Iterator i = structuredSelection.iterator(); i.hasNext(); ) {
- Object o = i.next();
- if (o instanceof Adapter) {
- list.add(((Adapter)o).getTarget());
- }
- else {
- list.add(o);
- }
- }
- }
- return new StructuredSelection(list);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java
deleted file mode 100644
index a1161c66a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java
+++ /dev/null
@@ -1,330 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Preferences;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.wst.sse.core.internal.encoding.CommonEncodingPreferenceNames;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.NewComponentDialog;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.provisional.format.FormatProcessorXML;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
-public class AddElementAction extends BaseNodeAction {
- protected Node parentNode;
- protected String prefix;
- protected String nodeName;
- protected Element newElement;
- protected Node relativeNode = null;
- protected IEditorPart editorPart;
- protected Definition definition;
- protected Document document;
- protected boolean computeTopLevelRefChild;
-
- protected boolean selectNewlyCreatedObject = true; // We should not be
- // selecting the
- // object in the
- // action..... TODO
-
- public AddElementAction(String text, String imageDescriptorKey, Node parentNode, String nodeName) {
- setText(text);
- setImageDescriptor(WSDLEditorPlugin.getImageDescriptor(imageDescriptorKey));
- this.parentNode = parentNode;
- this.nodeName = nodeName;
- }
-
- public AddElementAction(String text, String imageDescriptorKey, Node parentNode, String prefix, String localName) {
- setText(text);
- setImageDescriptor(WSDLEditorPlugin.getImageDescriptor(imageDescriptorKey));
- this.parentNode = parentNode;
- this.prefix = prefix;
- this.nodeName = localName;
- }
-
- public AddElementAction(String text, Node parentNode, String prefix, String localName) {
- setText(text);
- setImageDescriptor(null);
- this.parentNode = parentNode;
- this.prefix = prefix;
- this.nodeName = localName;
- }
-
- public AddElementAction(Node parentNode, String prefix, String localName, Node relativeNode) {
- this.parentNode = parentNode;
- this.prefix = prefix;
- this.nodeName = localName;
- this.relativeNode = relativeNode;
- }
-
- public void setComputeTopLevelRefChild(boolean isEnabled) {
- computeTopLevelRefChild = isEnabled;
- }
-
- protected void setEditorPart(IEditorPart editorPart) {
- this.editorPart = editorPart;
- }
-
- protected boolean showDialog() {
- return true;
- }
-
- public void run() {
- boolean ok = showDialog();
- if (ok) {
- beginRecording();
- performAddElement();
- endRecording();
- }
- }
-
- protected void performAddElement() {
- if (parentNode != null) {
- newElement = createElement(nodeName);
- addAttributes(newElement);
- if (relativeNode == null && computeTopLevelRefChild) {
- relativeNode = computeTopLevelRefChild(newElement);
- }
-
- if (relativeNode == null) {
- parentNode.appendChild(newElement);
- }
- else {
- parentNode.insertBefore(newElement, relativeNode);
- }
- // format(parentNode);
- format(newElement);
- // Ugly..... We should not be selecting the object in the graph
- // view in the Action.
- // This should be refactored out. We add this boolean check
- // because WSDLSetTypeDialog.java
- // uses AddImportAction.java but we should not be selecting the
- // newly created import....
- if (selectNewlyCreatedObject) {
- selectObjectForNewElement();
- }
- }
- }
-
- // Ugly..... We should not be selecting the object in the graph view in
- // the Action.
- // This should be refactored out. We add this boolean check because
- // WSDLSetTypeDialog.java
- // uses AddImportAction.java but we should not be selecting the newly
- // created import....
- // We should call this method before calling run()
- public void selectObjectForNewElement(boolean select) {
- selectNewlyCreatedObject = select;
- }
-
- public Node getNode() {
- if (parentNode != null) {
- return parentNode;
- }
- else {
- return document;
- }
- }
-
-
- public String getUndoDescription() {
- return Messages._UI_ACTION_ADD; //$NON-NLS-1$
- }
-
-
- protected Element createElement(String nodeName) {
- Document document = parentNode.getOwnerDocument();
-
- Element element = (prefix != null && prefix.length() > 0) ? document.createElement(prefix + ":" + nodeName) : document.createElement(nodeName); //$NON-NLS-1$
-
- return element;
- }
-
- protected void addAttributes(Element newElement) {
- }
-
-
- protected void format(Node parentNode) {
- if (parentNode instanceof IDOMNode) {
- // format selected node
- FormatProcessorXML formatProcessorXML = new FormatProcessorXML();
- formatProcessorXML.formatNode((IDOMNode) parentNode);
-
- }
- }
-
- protected Element getDefinitionElement(Element parentElement) {
- Element definitionElement = null;
-
- for (Node node = parentElement.getOwnerDocument().getFirstChild(); node != null; node = node.getNextSibling()) {
- if (node.getNodeType() == Node.ELEMENT_NODE) {
- Element element = (Element) node;
- if (WSDLEditorUtil.getInstance().getWSDLType(element) == WSDLConstants.DEFINITION) {
- definitionElement = element;
- break;
- }
- }
- }
- return definitionElement;
- }
-
- public Element getNewElement() {
- return newElement;
- }
-
- public void setDefinition(Definition definition) {
- this.definition = definition;
- }
-
- public void selectObjectForNewElement() {
- if (editorPart == null) {
- editorPart = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- }
- if (editorPart != null && definition != null) {
- Object object = WSDLEditorUtil.getInstance().findModelObjectForElement(definition, newElement);
- if (object != null) {
- ISelectionProvider selectionProvider = (ISelectionProvider) editorPart.getAdapter(ISelectionProvider.class);
- if (selectionProvider != null) {
- selectionProvider.setSelection(new StructuredSelection(object));
- }
- }
- }
- }
-
- public void selectObject(WSDLElement object) {
- if (editorPart == null) {
- editorPart = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- }
- if (editorPart != null && definition != null) {
- if (object != null) {
- ISelectionProvider selectionProvider = (ISelectionProvider) editorPart.getAdapter(ISelectionProvider.class);
- if (selectionProvider != null) {
- selectionProvider.setSelection(new StructuredSelection(object));
- }
- }
- }
- }
-
- public String showDialogHelper(String title, String defaultName, List usedNames) {
- String result = defaultName;
- NewComponentDialog dialog = new NewComponentDialog(WSDLEditorPlugin.getShell(), title, defaultName, usedNames);
- int rc = dialog.createAndOpen();
- if (rc == IDialogConstants.OK_ID) {
- result = dialog.getName();
- }
- else {
- result = null;
- }
- return result;
- }
-
- protected Node computeTopLevelRefChild(Node nodeToAdd) {
- Node result = null;
- int a = getPrecedence(nodeToAdd);
-
- for (Node node = parentNode.getFirstChild(); node != null; node = node.getNextSibling()) {
- if (node.getNodeType() == Node.ELEMENT_NODE) {
- int b = getPrecedence(node);
- if (b > a) {
- result = node;
- break;
- }
- }
- }
- return result;
- }
-
- protected void createDefinitionStub() {
- if (document != null) {
- // Create the Definitions element with proper namespace
- Preferences preference = XMLCorePlugin.getDefault().getPluginPreferences();
- String charSet = preference.getString(CommonEncodingPreferenceNames.OUTPUT_CODESET);
- if (charSet == null || charSet.trim().equals("")) { //$NON-NLS-1$
- charSet = "UTF-8"; //$NON-NLS-1$
- }
- document.appendChild(document.createProcessingInstruction("xml", "version=\"1.0\" encoding=\"" + charSet + "\"")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- Element root = document.createElement("wsdl:definitions"); //$NON-NLS-1$
- document.appendChild(root);
-
- // Add various namespace attributes here.
- root.setAttribute("xmlns:soap", "http://schemas.xmlsoap.org/wsdl/soap/"); //$NON-NLS-1$ //$NON-NLS-2$
- root.setAttribute("xmlns:tns", getDefaultNamespace()); //$NON-NLS-1$
- root.setAttribute("xmlns:wsdl", "http://schemas.xmlsoap.org/wsdl/"); //$NON-NLS-1$ //$NON-NLS-2$
- root.setAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema"); //$NON-NLS-1$ //$NON-NLS-2$
- root.setAttribute("name", getFileName()); //$NON-NLS-1$
- root.setAttribute("targetNamespace", getDefaultNamespace()); //$NON-NLS-1$
-
- definition.setElement(root);
- parentNode = root;
- prefix = definition.getPrefix(WSDLConstants.WSDL_NAMESPACE_URI);
- }
- }
-
- private String getDefaultNamespace() {
- String namespace = WSDLEditorPlugin.getInstance().getPreferenceStore().getString(Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE); //$NON-NLS-1$
- if (!namespace.endsWith("/")) { //$NON-NLS-1$
- namespace = namespace.concat("/"); //$NON-NLS-1$
- }
-
- namespace += getFileName() + "/"; //$NON-NLS-1$
-
- return namespace;
- }
-
- private String getFileName() {
- String fileLocation = definition.getLocation();
- IPath filePath = new Path(fileLocation);
- return filePath.removeFileExtension().lastSegment().toString();
- }
-
- protected static HashMap precedenceMap = createPrecedenceMap();
-
- protected static int getPrecedence(Node node) {
- int result = 2;
- String localName = node.getLocalName();
- if (localName != null) {
- Integer integer = (Integer) precedenceMap.get(localName);
- if (integer != null) {
- result = integer.intValue();
- }
- }
- return result;
- }
-
- protected static HashMap createPrecedenceMap() {
- HashMap hashMap = new HashMap();
- hashMap.put(WSDLConstants.DOCUMENTATION_ELEMENT_TAG, new Integer(1));
- hashMap.put(WSDLConstants.IMPORT_ELEMENT_TAG, new Integer(3));
- hashMap.put(WSDLConstants.TYPES_ELEMENT_TAG, new Integer(4));
- hashMap.put(WSDLConstants.MESSAGE_ELEMENT_TAG, new Integer(5));
- hashMap.put(WSDLConstants.PORT_TYPE_ELEMENT_TAG, new Integer(6));
- hashMap.put(WSDLConstants.BINDING_ELEMENT_TAG, new Integer(7));
- hashMap.put(WSDLConstants.SERVICE_ELEMENT_TAG, new Integer(8));
- return hashMap;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java
deleted file mode 100644
index 59f406761..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import org.eclipse.jface.action.Action;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.w3c.dom.Element;
-
-public class AddElementDeclarationAction extends Action
-{
- protected Definition definition;
- protected String namespace;
- protected String prefix;
-
- public AddElementDeclarationAction(Definition definition, String namespace, String suggestedPrefix)
- {
- this.definition = definition;
- this.namespace = namespace;
- this.prefix = suggestedPrefix;
- }
-
- public void run()
- {
- String existingPrefix = definition.getPrefix(namespace);
- if (existingPrefix != null)
- {
- prefix = existingPrefix;
- }
- else
- {
- prefix = NameUtil.buildUniquePrefix(definition, prefix);
- Element definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
- if (definitionElement != null)
- {
- definitionElement.setAttribute("xmlns:" + prefix, namespace); //$NON-NLS-1$
- }
- }
- }
-
- public String getPrefix()
- {
- return prefix;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java
deleted file mode 100644
index 952549207..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class AddImportAction extends AddElementAction
-{
- protected String namespace;
- protected String location;
- protected String elementDeclarationNamespacePrefix;
-
- public AddImportAction(IEditorPart part, Definition definition, Node parentNode, String prefix)
- {
- this(part, definition, parentNode, prefix, null, null);
- }
-
- public AddImportAction(IEditorPart part, Definition definition, Node parentNode, String prefix, String namespace, String location)
- {
- super(Messages._UI_ACTION_ADD_IMPORT, "icons/import_obj.gif", parentNode, prefix, "import"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- setDefinition(definition);
- setComputeTopLevelRefChild(true);
- this.namespace = namespace;
- this.location = location;
- setEditorPart(part);
-
- if (part instanceof InternalWSDLMultiPageEditor) {
- document = ((IDOMModel) ((InternalWSDLMultiPageEditor) part).getModel()).getDocument();
- }
- }
-
- protected Element createElement(String nodeName)
- {
- if (elementDeclarationNamespacePrefix != null && namespace != null)
- {
- Element definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
- if (definitionElement != null)
- {
- definitionElement.setAttribute("xmlns:" + elementDeclarationNamespacePrefix, namespace); //$NON-NLS-1$
- }
- }
- return super.createElement(nodeName);
- }
-
- public void setElementDeclarationNamespacePrefix(String nsPrefix)
- {
- this.elementDeclarationNamespacePrefix = nsPrefix;
- }
-
- protected void addAttributes(Element newElement)
- {
- newElement.setAttribute("namespace", namespace != null ? namespace : ""); //$NON-NLS-1$ //$NON-NLS-2$
- newElement.setAttribute("location", location != null ? location : ""); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- public void performAddElement() {
- if (parentNode == null || (document != null && document.getChildNodes().getLength() == 0)) {
- createDefinitionStub();
- }
-
- super.performAddElement();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java
deleted file mode 100644
index 4502eaf48..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.provisional.format.FormatProcessorXML;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-
-public class AddWSISchemaImportAction extends BaseNodeAction
-{
- protected Definition definition;
- protected Element definitionElement;
- protected String namespace;
- protected String location;
- protected String elementDeclarationNamespacePrefix;
-
- public AddWSISchemaImportAction(Definition definition, String namespace, String location)
- {
- this.definition = definition;
- this.namespace = namespace;
- this.location = location;
- definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
- }
-
- public Node getNode()
- {
- return definitionElement;
- }
-
- public String getUndoDescription()
- {
- return Messages._UI_ACTION_ADD_IMPORT; //$NON-NLS-1$
- }
-
- protected Element getOrCreateTypesElement()
- {
- Element typesElement = null;
- if (definition.getTypes() == null)
- {
- if (definitionElement != null)
- {
- AddElementAction addTypesAction = new AddElementAction("", "icons/xsd_obj.gif", definitionElement, definitionElement.getPrefix(), "types"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- addTypesAction.setComputeTopLevelRefChild(true);
- addTypesAction.run();
- typesElement = addTypesAction.getNewElement();
- format(typesElement);
- }
- }
- else
- {
- typesElement = WSDLEditorUtil.getInstance().getElementForObject(definition.getTypes());
- }
- return typesElement;
- }
-
- protected Element getImportHolderElement(Element typesElement) {
- Element importHolderElement = null;
- NodeList nodeList = typesElement.getChildNodes();
- for (int i = 0; i < nodeList.getLength(); i++)
- {
- Node node = nodeList.item(i);
- if (node.getNodeType() == Node.ELEMENT_NODE)
- {
- Element element = (Element) node;
- if ("schema".equals(element.getLocalName()) && element.getAttribute("targetNamespace") == null) //$NON-NLS-1$ //$NON-NLS-2$
- {
- importHolderElement = element;
- break;
- }
- }
- }
-
- return importHolderElement;
- }
-
- public Element getOrCreateImportHolderElement(Element typesElement)
- {
- Element importHolderElement = getImportHolderElement(typesElement);
- if (importHolderElement == null)
- {
- AddElementAction addImportHolderAction = new AddElementAction("", "icons/xsd_obj.gif", typesElement, "xsd", "schema") //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- {
- protected void addAttributes(Element newElement)
- {
- newElement.setAttribute("xmlns:xsd", WSDLConstants.XSD_NAMESPACE_URI); //$NON-NLS-1$
- }
- };
- addImportHolderAction.run();
- importHolderElement = addImportHolderAction.getNewElement();
- format(importHolderElement);
- }
- return importHolderElement;
- }
-
- // We don't want to add the import if it's already there
- protected boolean importNotAlreadyExists() {
- boolean notExists = true;
-
- if (definition.getTypes() != null) {
- Element typesElement = WSDLEditorUtil.getInstance().getElementForObject(definition.getTypes());
- Element schemaElement = getImportHolderElement(typesElement);
-
- if (schemaElement != null) {
- // Collect children
- Node node = schemaElement.getFirstChild();
- java.util.Vector schemaChildren = new java.util.Vector();
- if (node != null) {
- Node child = node;
-
- if (!(child instanceof org.eclipse.wst.xml.core.internal.document.TextImpl)) {
- schemaChildren.addElement(child);
- }
-
- while (child.getNextSibling() != null) {
- child = child.getNextSibling();
- if (!(child instanceof org.eclipse.wst.xml.core.internal.document.TextImpl)) {
- schemaChildren.addElement(child);
- }
- }
-
- for (int index = 0; index < schemaChildren.size(); index++) {
- Element schemaChild = (Element) schemaChildren.elementAt(index);
- String schemaLocation = schemaChild.getAttribute("schemaLocation"); //$NON-NLS-1$
- String schemaNamespace = schemaChild.getAttribute("namespace"); //$NON-NLS-1$
-
- if (schemaLocation != null && namespace != null &&
- schemaLocation.equals(location) && schemaNamespace.equals(namespace)) {
- notExists = false;
- break;
- }
- }
- }
- }
- }
-
- return notExists;
- }
-
- public void run()
- {
- if (definitionElement != null && importNotAlreadyExists())
- {
- beginRecording();
- performAddElement();
- endRecording();
- }
- }
- public void performAddElement()
- {
- try
- {
- Element typesElement = getOrCreateTypesElement();
- Element importHolderElement = getOrCreateImportHolderElement(typesElement);
-
- AddElementAction addImportAction = new AddElementAction("", "icons/xsd_obj.gif", importHolderElement, importHolderElement.getPrefix(), "import") //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- {
- protected void addAttributes(Element newElement)
- {
- newElement.setAttribute("namespace", namespace); //$NON-NLS-1$
- newElement.setAttribute("schemaLocation", location); //$NON-NLS-1$
- }
- };
- addImportAction.run();
- Element newElement = addImportAction.getNewElement();
- format(newElement);
- }
- catch (Exception e)
- {
- }
- }
-
- public void setElementDeclarationNamespacePrefix(String nsPrefix)
- {
- this.elementDeclarationNamespacePrefix = nsPrefix;
- }
-
- protected static void format(Node parentNode)
- {
- if (parentNode instanceof IDOMNode)
- {
- // format selected node
- FormatProcessorXML formatProcessorXML = new FormatProcessorXML();
- formatProcessorXML.formatNode((IDOMNode)parentNode);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java
deleted file mode 100644
index ced35be99..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import org.eclipse.jface.action.Action;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.w3c.dom.Node;
-
-public abstract class BaseNodeAction extends Action
-{
- public abstract Node getNode();
- public abstract String getUndoDescription();
-
- public void beginRecording()
- {
- Node node = getNode();
- if (node instanceof IDOMNode)
- {
- ((IDOMNode)node).getModel().beginRecording(this, getUndoDescription());
- }
- }
-
- public void endRecording()
- {
- Node node = getNode();
- if (node instanceof IDOMNode)
- {
- ((IDOMNode)node).getModel().endRecording(this);
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java
deleted file mode 100644
index 81ebcfa45..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.EditNamespacesDialog;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.DOMNamespaceInfoManager;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceInfo;
-import org.w3c.dom.Element;
-
-
-public class EditNamespacesAction extends Action
-{
- protected Definition definition;
-
- public EditNamespacesAction(Definition definition)
- {
- setText(Messages._UI_EDIT_NAMESPACES); //$NON-NLS-1$
- this.definition = definition;
- }
-
- public void run()
- {
- DOMNamespaceInfoManager namespaceInfoManager = new DOMNamespaceInfoManager();
- Element element = WSDLEditorUtil.getInstance().getElementForObject(definition);
- if (element != null)
- {
- List namespaceInfoList = namespaceInfoManager.getNamespaceInfoList(element);
-// List oldNamespaceInfoList = NamespaceInfo.cloneNamespaceInfoList(namespaceInfoList);
-
- // here we store a copy of the old info for each NamespaceInfo
- // this info will be used in createPrefixMapping() to figure out how to update the document
- // in response to these changes
- for (Iterator i = namespaceInfoList.iterator(); i.hasNext();)
- {
- NamespaceInfo info = (NamespaceInfo) i.next();
- NamespaceInfo oldCopy = new NamespaceInfo(info);
- info.setProperty("oldCopy", oldCopy); //$NON-NLS-1$
- }
-
- IPath path = new Path(definition.getDocumentBaseURI());
- EditNamespacesDialog dialog = new EditNamespacesDialog(WSDLEditorPlugin.getShell(), path, Messages._UI_EDIT_NAMESPACES_DIALOG_TITLE, definition.getTargetNamespace(), namespaceInfoList); //$NON-NLS-1$
- int rc = dialog.createAndOpen();
- if (rc == IDialogConstants.OK_ID)
- {
- element.setAttribute("targetNamespace", dialog.getTargetNamespace()); //$NON-NLS-1$
-
- List newInfoList = dialog.getNamespaceInfoList();
- namespaceInfoManager.removeNamespaceInfo(element);
- namespaceInfoManager.addNamespaceInfo(element, newInfoList, false);
-
-/*
- // see if we need to rename any prefixes
- Map prefixMapping = createPrefixMapping(oldNamespaceInfoList, namespaceInfoList);
- if (prefixMapping.size() > 0)
- {
- //manager.getModel().aboutToChangeModel();
- ReplacePrefixAction replacePrefixAction = new ReplacePrefixAction(element, prefixMapping);
- replacePrefixAction.run();
- //manager.getModel().changedModel();
- }
-*/
- }
- }
- }
-
- protected Map createPrefixMapping(List oldList, List newList)
- {
- Map map = new Hashtable();
-
- Hashtable oldURIToPrefixTable = new Hashtable();
- for (Iterator i = oldList.iterator(); i.hasNext();)
- {
- NamespaceInfo oldInfo = (NamespaceInfo) i.next();
- oldURIToPrefixTable.put(oldInfo.uri, oldInfo);
- }
-
- for (Iterator i = newList.iterator(); i.hasNext();)
- {
- NamespaceInfo newInfo = (NamespaceInfo) i.next();
- NamespaceInfo oldInfo = (NamespaceInfo) oldURIToPrefixTable.get(newInfo.uri != null ? newInfo.uri : ""); //$NON-NLS-1$
-
- // if oldInfo is non null ... there's a matching URI in the old set
- // we can use its prefix to detemine out mapping
- //
- // if oldInfo is null ... we use the 'oldCopy' we stashed away
- // assuming that the user changed the URI and the prefix
- if (oldInfo == null)
- {
- oldInfo = (NamespaceInfo) newInfo.getProperty("oldCopy"); //$NON-NLS-1$
- }
-
- if (oldInfo != null)
- {
- String newPrefix = newInfo.prefix != null ? newInfo.prefix : ""; //$NON-NLS-1$
- String oldPrefix = oldInfo.prefix != null ? oldInfo.prefix : ""; //$NON-NLS-1$
- if (!oldPrefix.equals(newPrefix))
- {
- map.put(oldPrefix, newPrefix);
- }
- }
- }
- return map;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java
deleted file mode 100644
index e8fb25f38..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import org.eclipse.jface.action.IAction;
-import org.eclipse.ui.IEditorPart;
-
-public interface IWSDLToolbarAction extends IAction{
- public void setEditorPart(IEditorPart editorPart);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java
deleted file mode 100644
index 683e0780c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.util.OpenOnSelectionHelper;
-
-public class OpenInNewEditor extends BaseSelectionAction
-{
- public static final String ID = "org.eclipse.wst.wsdl.ui.OpenInNewEditor"; //$NON-NLS-1$
-
- public OpenInNewEditor(IWorkbenchPart part)
- {
- super(part);
- setText(Messages._UI_ACTION_OPEN_IN_NEW_EDITOR); //$NON-NLS-1$
- setId(ID);
- setImageDescriptor(ASDEditorPlugin.getImageDescriptorFromPlugin("wsdl_file_obj.gif")); //$NON-NLS-1$
- }
-
- protected boolean calculateEnabled()
- {
- return true;
- }
-
- public void run()
- {
- if (getSelectedObjects().size() > 0)
- {
- Object o = getSelectedObjects().get(0);
- // should make this generic and be able to get the owner from a facade object
- if (o instanceof WSDLBaseAdapter)
- {
- WSDLBaseAdapter baseAdapter = (WSDLBaseAdapter)o;
-
- IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- IEditorPart editorPart = workbenchWindow.getActivePage().getActiveEditor();
- Object object = editorPart.getAdapter(Definition.class);
- if (object instanceof Definition)
- {
- EObject eObject = (EObject)baseAdapter.getTarget();
- OpenOnSelectionHelper openHelper = new OpenOnSelectionHelper((Definition)object);
- openHelper.openEditor(eObject);
- }
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java
deleted file mode 100644
index befd4d9a3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.wsdl.ui.internal.visitor.BindingRenamer;
-import org.eclipse.wst.wsdl.ui.internal.visitor.MessageRenamer;
-import org.eclipse.wst.wsdl.ui.internal.visitor.PortTypeRenamer;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-//import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-
-public class RenameAction //extends BaseNodeAction implements Runnable
-{
- protected Object modelObject;
- protected String newName;
- protected Node node;
-
- public RenameAction(Object modelObject, String newName)
- {
- this.modelObject = modelObject;
- this.newName = newName;
- this.node = WSDLEditorUtil.getInstance().getNodeForObject(modelObject);
- }
-
- /*
- public Node getNode()
- {
- return node;
- }
- */
-
- /*
- public String getUndoDescription()
- {
- return WSDLEditorPlugin.getWSDLString("_UI_ACTION_RENAME"); //$NON-NLS-1$
- }
- */
-
- public void run()
- {
- if (modelObject instanceof Operation)
- {
- renameOperationHelper((Operation)modelObject);
- }
- else if (modelObject instanceof Input ||
- modelObject instanceof Output ||
- modelObject instanceof Fault)
- {
- renameIOFHelper((WSDLElement)modelObject);
- }
- else
- {
- renameModelObjectHelper(modelObject, newName);
- }
- }
-
- protected void renameModelObjectHelper(Object modelObject, String theNewName)
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(modelObject);
- if (element != null)
- {
- element.setAttribute("name", theNewName); //$NON-NLS-1$
- }
-
- if (modelObject instanceof Message)
- {
- MessageRenamer renamer = new MessageRenamer((Message)modelObject, theNewName);
- renamer.visitBindings();
- }
- else if (modelObject instanceof PortType)
- {
- PortTypeRenamer renamer = new PortTypeRenamer((PortType)modelObject, theNewName);
- renamer.visitBindings();
- }
- else if (modelObject instanceof Binding)
- {
- BindingRenamer renamer = new BindingRenamer((Binding)modelObject, theNewName);
- renamer.visitServices();
- }
- }
-
- protected void renameOperationHelper(Operation operation)
- {
- renameModelObjectHelper(operation, newName);
- }
-
-
- protected void renameIOFHelper(WSDLElement object)
- {
- Definition definition = object.getEnclosingDefinition();
- ComponentReferenceUtil util = new ComponentReferenceUtil(definition);
-
- List list = null;
-
- if (object instanceof Input)
- {
- list = util.getBindingInputs((Input)object);
- }
- else if (object instanceof Output)
- {
- list = util.getBindingOutputs((Output)object);
- }
- else // fault
- {
- list = util.getBindingFaults((Fault)object);
- }
-
- if (list != null)
- {
- for (Iterator i = list.iterator(); i.hasNext(); )
- {
- Object bindingObject = i.next();
- renameModelObjectHelper(bindingObject, newName);
- }
- }
-
- renameModelObjectHelper(object, newName);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java
deleted file mode 100644
index 33bb04465..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java
+++ /dev/null
@@ -1,594 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.actions;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddBaseParameterCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.w3c.dom.Node;
-
-
-/*
- * This class renames 'related' WSDLElements. The scenario is as follows:
- * The user renames a WSDLElement in the editor, say a Message. This class
- * will find the 'related' elements to this Message and rename them as well.
- * It will only rename a 'related' element if the element name (or part of it)
- * is generated.
- *
- * See NameUtil.java
- */
-public class SmartRenameAction extends BaseNodeAction implements Runnable {
- protected Object element;
- protected String newName;
- private List messageReferences; // This variable should be accessed by method getAllMessageReferences()
- protected Node node;
- private boolean renameParent = true;
- private String oldName;
-
- public SmartRenameAction(Object element, String newName) {
- setText("Smart Rename Action"); // Do not translate //$NON-NLS-1$
- this.element = element;
- this.newName = newName;
- this.node = WSDLEditorUtil.getInstance().getNodeForObject(element);
- }
-
- public Node getNode() {
- return node;
- }
-
- public String getUndoDescription() {
- return Messages._UI_ACTION_RENAME; //$NON-NLS-1$
- }
-
- /*
- * boolean argument is used to determine if the top level (parent) object should be renamed
- * itself. Otherwise, only the "child" objects will be renamed.
- */
- public void run(boolean renameParent) {
- this.renameParent = renameParent;
- run();
- }
-
- public void run() {
- RenameAction renamer;
-
- beginRecording();
- if (element instanceof Operation) {
- Operation operation = (Operation) element;
- oldName = operation.getName();
-
- if (oldName.equals(newName)) {
- return;
- }
-
- // Rename Operation
- if (renameParent) {
- renamer = new RenameAction(operation, newName);
- renamer.run();
- }
-
- // Rename Input
- Input input = operation.getEInput();
- /*
- if (input != null && isInputOutputNameGenerated(oldName, input.getName())) {
- renamer = new RenameAction(input, newName);
- renamer.run();
- }
- */
-
- // Rename Output
- Output output = operation.getEOutput();
- /*
- if (output != null && isInputOutputNameGenerated(oldName, output.getName())) {
- renamer = new RenameAction(output, newName);
- renamer.run();
- }
- */
-
- // Rename Messages and Parts
- Message msg;
-
- // Input
- if (input != null && input.getEMessage() != null) {
- msg = input.getEMessage();
- String oldMessageName = ""; //$NON-NLS-1$
-
- if (msg != null) {
- oldMessageName = msg.getQName().getLocalPart();
-
- if (isMessageNameGenerated(oldMessageName, oldName, "Request")) { //$NON-NLS-1$
- renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
-
- if (msg.getEParts() != null)
- renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
- }
- }
- }
-
- // Output
- if (output != null && output.getMessage() != null) {
- msg = output.getEMessage();
- String oldMessageName = ""; //$NON-NLS-1$
-
- if (msg != null) {
- oldMessageName = msg.getQName().getLocalPart();
-
- if (isMessageNameGenerated(oldMessageName, oldName, "Response")) { //$NON-NLS-1$
- renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
-
- if (msg.getEParts() != null)
- renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
- }
-
- }
- }
-
- // Faults
- List faults = operation.getEFaults();
- if (faults != null) {
- Iterator it = faults.iterator();
- while (it.hasNext()) {
- Fault fault = (Fault) it.next();
- msg = fault.getEMessage();
- String oldMessageName = ""; //$NON-NLS-1$
-
- if (msg != null) {
- oldMessageName = msg.getQName().getLocalPart();
-
- if (isMessageNameGenerated(oldMessageName, oldName, fault.getName())) {
- renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
-
- if (msg.getEParts() != null)
- renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
- }
- }
- }
- }
- }
- else if (element instanceof Input) {
- Input input = (Input) element;
- oldName = input.getName();
- if (oldName == null) {
- oldName = ""; //$NON-NLS-1$
- }
-
- if (oldName.equals(newName)) {
- return;
- }
-
- if (renameParent) {
- input.setName(newName);
- }
-
-// Rename Messages and Parts
- Message msg;
-
- // Input
- if (input != null && input.getEMessage() != null) {
- msg = input.getEMessage();
- String oldMessageName = ""; //$NON-NLS-1$
-
- if (msg != null) {
- oldMessageName = msg.getQName().getLocalPart();
-
- if (isMessageNameGenerated(oldMessageName, oldName, "Request")) { //$NON-NLS-1$
- renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
-
- if (msg.getEParts() != null)
- renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
- }
- }
- }
- }
- else if (element instanceof Output) {
- Output output = (Output) element;
- oldName = output.getName();
- if (oldName == null) {
- oldName = ""; //$NON-NLS-1$
- }
-
- if (oldName.equals(newName)) {
- return;
- }
-
- if (renameParent) {
- output.setName(newName);
- }
-
-// Rename Messages and Parts
- Message msg;
-
- // Output
- if (output != null && output.getMessage() != null) {
- msg = output.getEMessage();
- String oldMessageName = ""; //$NON-NLS-1$
- if (msg != null) {
- oldMessageName = msg.getQName().getLocalPart();
- if (isMessageNameGenerated(oldMessageName, oldName, "Response")) { //$NON-NLS-1$
- renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
-
- if (msg.getEParts() != null)
- renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
- }
- }
- }
- }
- else if (element instanceof Fault) {
- Fault fault = (Fault) element;
- Message msg = fault.getEMessage();
- String oldMessageName = ""; //$NON-NLS-1$
- oldName = fault.getName();
-
- if (oldName.equals(newName)) {
- return;
- }
-
- // Rename the Fault
- if (renameParent) {
- renamer = new RenameAction(fault, newName);
- renamer.run();
- }
-
- // Rename the Message and Parts
- if (msg != null) {
- oldMessageName = msg.getQName().getLocalPart();
-
- Operation op = (Operation) fault.eContainer();
- if (isMessageNameGenerated(oldMessageName, op.getName(), oldName)) {
- renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
-
- if (msg.getEParts() != null)
- renameFaultParts(msg.getEParts(), op.getName(), oldName, newName);
- }
- }
- }
- else if (element instanceof Message) {
- Message msg = (Message) element;
- oldName = msg.getQName().getLocalPart();
- String oldMessageName = msg.getQName().getLocalPart();
-
- if (oldName.equals(newName)) {
- return;
- }
-
- String newMessageName = computeNewMessageName(msg, oldName, newName);
- if (renameParent) {
- renameMessageHelper(msg, newMessageName);
- }
-
- if (msg.getEParts() != null)
- renamePartsHelper(msg.getEParts(), oldMessageName, newMessageName, true);
-// renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
- }
- else if (element instanceof Part) {
- Part part = (Part) element;
- String oldPartName = part.getName();
-
- if (oldPartName.equals(newName)) {
- return;
- }
-
- if (renameParent) {
- renamer = new RenameAction(element, newName);
- renamer.run();
- }
-
-// Rename Elements
- renameXSDElement(part, oldPartName, newName);
- }
- else if (element instanceof Port) {
- Port port = (Port) element;
- String oldPortName = port.getName();
-
- if (renameParent) {
- renamer = new RenameAction(element, newName);
- renamer.run();
- }
-
-// Rename Binding
- Binding binding = port.getEBinding();
- if (binding != null && binding.getQName().getLocalPart().equals(oldPortName)) {
- renamer = new RenameAction(binding, newName);
- renamer.run();
- }
- }
- endRecording();
- }
-
- // boolean isInputOutput should be set to true if the part is an Input or Output.
- // Set false if the part is a Fault.
- private void renamePartsHelper(List partsList, String oldSubString, String newSubString, boolean isInputOutput) {
- RenameAction renamer;
-
- if (partsList != null) {
- Iterator pIt = partsList.iterator();
- while (pIt.hasNext()) {
- Part part = (Part) pIt.next();
- String oldPartName = part.getName();
-
- if (isPartNameGenerated(oldPartName, oldSubString)) {
- String newPartName;
- if (isInputOutput) {
- newPartName = computeNewPartName(part, oldSubString, newSubString);
- }
- else {
- newPartName = computeNewFaultPartName(part, oldSubString, newSubString);
- }
-
- renamer = new RenameAction(part, newPartName);
- renamer.run();
-
- // Rename Elements
-// renameXSDElement(part, oldPartName, newPartName);
- }
-
- // Rename Elements
- renameXSDElement(part, oldSubString, newSubString);
- }
- }
- }
-
- // This method is used to update the Part name when the Fault name is changed. Only
- // change the Part name if the part name is a generated name.
- // Compare to renamePartsHelper(). The renamePartsHelper() method is called when a Fault
- // has NOT been renamed, rather, it is triggered by some other naming (ex. Operation
- // renaming). It will updat Input/Output, AND Fault Parts.
- private void renameFaultParts(List partsList, String baseName, String oldSubString, String newSubString) {
- RenameAction renamer;
-
- if (partsList != null) {
- Iterator pIt = partsList.iterator();
- while (pIt.hasNext()) {
- Part part = (Part) pIt.next();
- String oldPartName = part.getName();
-
- if (isPartNameGenerated(oldPartName, baseName, oldSubString)) {
- String newPartName;
- newPartName = computeNewFaultPartName(part, oldSubString, newSubString);
- renamer = new RenameAction(part, newPartName);
- renamer.run();
-
- // Rename Elements
- renameXSDElement(part, oldPartName, newPartName);
- }
- }
- }
- }
-
- private String computeNewMessageName(Message message, String oldSubString, String newSubString) {
- String string = message.getQName().getLocalPart();
- return replaceSectionWithSubString(string, oldSubString, newSubString, 0);
- }
-
-// private String computeNewFaultMessageName(Message message, String oldSubString, String newSubString) {
-// String string = message.getQName().getLocalPart();
-// return replaceSectionWithSubString(string, oldSubString, newSubString, 1);
-// }
-
- // Method for Input, Output, and Fault Parts
- // See computeNewFaultPartName() for comparison
- private String computeNewPartName(Part part, String oldSubString, String newSubString) {
- String string = part.getName();
- return replaceSectionWithSubString(string, oldSubString, newSubString, 0);
- }
-
- // Method for Fault Parts
- // This method behaves in the exact same way as computeNewPartName() except it starts searching for a match
- // after the first character. This method is intended for users who wish to rename a generated (Fault) part
- // where the Fault name has changed. We start our search after the first character because the generated name
- // of the part is built by appending the Fault name after the Operation name.
- private String computeNewFaultPartName(Part part, String oldSubString, String newSubString) {
- String string = part.getName();
- return replaceSectionWithSubString(string, oldSubString, newSubString, 1);
- }
-
- private String replaceSectionWithSubString(String fullString, String oldSubString, String newSubString, int startSearchIndex) {
- StringBuffer fullSB = new StringBuffer(fullString);
- int index = fullSB.indexOf(oldSubString, startSearchIndex);
- if (index >= 0) {
- return fullSB.replace(index, index + oldSubString.length(), newSubString).toString();
- }
-
- return ""; //$NON-NLS-1$
- }
-
- ////////////////////////////////////////////////////////////////////////////////////////
-
- private static boolean commonNameGeneratorCheck(String targetName, String baseName, String appendName) {
- // First criteria is targetName must start with the baseName
- if (!targetName.startsWith(baseName))
- return false;
-
- if (appendName.trim().length() > 0) {
- // Second criteria. The appended name must be in the targetName and begin right
- // after the baseName location
- if (!targetName.startsWith(appendName, baseName.length()))
- return false;
- }
-
- // Third criteria (if necessary). If baseName + appendName is shorter than targetName,
- // then there must be 'extra' characters at the end of targetName. These characters must
- // make up an integer. If not, it is not a generated string.
- int subLength = baseName.length() + appendName.length();
- if (targetName.length() > subLength) {
- // We have 'extra' characters
- String extras = targetName.substring(subLength);
-
- if(!isDigit(extras))
- return false;
- }
-
- return true;
- }
-
- public static boolean isOperationNameGenerated(String opName, String name) {
- return opName.equals(name);
- }
-
- public static boolean isMessageNameGenerated(String msgName, String baseName, String appendName) {
- return commonNameGeneratorCheck(msgName, baseName, appendName);
- }
-
- public static boolean isInputOutputNameGenerated(String inOutName, String name) {
- return inOutName.equals(name);
- }
-
- public static boolean isFaultNameGenerated(String faultName, String name) {
- return faultName.equals(name);
- }
-
- public static boolean isPartNameGenerated(String partName, String baseName) {
- return commonNameGeneratorCheck(partName, baseName, ""); //$NON-NLS-1$
- }
-
- private boolean isPartNameGenerated(String partName, String baseName, String appendName) {
- return commonNameGeneratorCheck(partName, baseName, appendName);
- }
-
- private static boolean isDigit(String string) {
- boolean rValue = true;
- char[] chars = string.toCharArray();
-
- for (int index = 0; index < chars.length; index++) {
- if (!Character.isDigit(chars[index])) {
- rValue = false;
- break;
- }
- }
-
- return rValue;
- }
-
- /*
- * The following classes aid in renaming a message
- */
- private void renameMessageHelper(Message msg, String newName) {
- List messageRefs = getReferencingMessageReferences(msg, getAllMessageReferences());
-
- RenameAction renamer = new RenameAction(msg, newName);
- renamer.run();
-
- Iterator iterator = messageRefs.iterator();
- while (iterator.hasNext()) {
- MessageReference messageReference = (MessageReference) iterator.next();
- messageReference.setEMessage(msg);
- }
- }
-
- private List getReferencingMessageReferences(Message msg, List messageRefs) {
- Vector referencesVector = new Vector();
- QName messageQName = msg.getQName();
- Iterator iterator = messageRefs.iterator();
-
- while (iterator.hasNext()) {
- MessageReference messageReference = (MessageReference) iterator.next();
- if (messageReference.getEMessage() != null && messageQName.equals(messageReference.getEMessage().getQName())) {
- referencesVector.addElement(messageReference);
- }
- }
-
- return referencesVector;
- }
-
- private List getAllMessageReferences() {
- if (messageReferences == null) {
- messageReferences = new Vector();
- Definition definition = ((WSDLElement) element).getEnclosingDefinition();
- List portTypes = definition.getEPortTypes();
-
- if (portTypes != null) {
- Iterator portTypeIterator = portTypes.iterator();
- while (portTypeIterator.hasNext()) {
- List operationsList = ((PortType) portTypeIterator.next()).getEOperations();
-
- if (operationsList != null) {
- Iterator operationsIterator = operationsList.iterator();
- while (operationsIterator.hasNext()) {
- messageReferences.addAll(getAllMessageReferences((Operation) operationsIterator.next()));
- }
- }
- }
- }
- }
-
- return messageReferences;
- }
-
- private Vector getAllMessageReferences(Operation operation) {
- Vector iofs = new Vector();
- Iterator it = operation.getEFaults().iterator();
- while (it.hasNext()) {
- iofs.addElement(it.next());
- }
-
- if (iofs == null)
- iofs = new Vector();
-
- if (operation.getEInput() != null)
- iofs.addElement(operation.getEInput());
-
- if (operation.getEOutput() != null)
- iofs.addElement(operation.getEOutput());
-
- return iofs;
- }
-
- private void renameXSDElement(Part part, String oldXSDName, String newXSDName) {
- XSDElementDeclaration elementDeclaration = part.getElementDeclaration();
- if (elementDeclaration != null && elementDeclaration.getName().startsWith(oldXSDName)) {
- renameElementDeclarationHelper(elementDeclaration, oldXSDName, newXSDName);
-
- // Here we rename the element reference.
- //
- QName qname = new QName(part.getElementName().getNamespaceURI(), newXSDName);
- part.setElementName(qname);
- }
- else if (elementDeclaration != null && element instanceof Operation) {
- Operation operation = (Operation) element;
- if (AddBaseParameterCommand.getParameterPattern(operation, true) == AddBaseParameterCommand.PART_ELEMENT_SEQ_ELEMENT) {
- if (elementDeclaration.getName().equals(oldName)) {
- renameElementDeclarationHelper(elementDeclaration, oldName, newName);
-
- // Here we rename the element reference.
- //
- QName qname = new QName(part.getElementName().getNamespaceURI(), newName);
- part.setElementName(qname);
- }
- }
- }
- }
-
- private void renameElementDeclarationHelper(XSDElementDeclaration elementDeclaration, String oldXSDName, String newXSDName) {
- if (elementDeclaration != null && elementDeclaration.getName().startsWith(oldXSDName)) {
- String newElementName = replaceSectionWithSubString(elementDeclaration.getName(), oldXSDName, newXSDName, 0);
- elementDeclaration.setName(newElementName);
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java
deleted file mode 100644
index 74a8b7772..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Binding;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11BindingMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11BindingOperation;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11EndPoint;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Import;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Interface;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Message;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Operation;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForAttribute;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForElement;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Service;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.adapters.specialized.W11AddressExtensibilityElementAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.specialized.W11ExtensibilityElementAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDSchema;
-
-public class WSDLAdapterFactory extends AdapterFactoryImpl
-{
- static WSDLAdapterFactory instance;
-
- public static WSDLAdapterFactory getInstance()
- {
- if (instance == null)
- {
- instance = new WSDLAdapterFactory();
- }
- return instance;
- }
-
- public Adapter createAdapter(Notifier target)
- {
- Adapter adapter = null;
-
- if (target instanceof Definition) {
- adapter = new W11Description();
- }
- else if (target instanceof Service) {
- adapter = new W11Service();
- }
- else if (target instanceof Binding) {
- adapter = new W11Binding();
- }
- else if (target instanceof BindingOperation) {
- adapter = new W11BindingOperation();
- }
- else if (target instanceof BindingInput ||
- target instanceof BindingOutput ||
- target instanceof BindingFault)
- {
- adapter = new W11BindingMessageReference();
- }
- else if (target instanceof Port) {
- adapter = new W11EndPoint();
- }
- else if (target instanceof PortType) {
- adapter = new W11Interface();
- }
- else if (target instanceof Operation) {
- adapter = new W11Operation();
- }
- else if (target instanceof MessageReference)
- {
- int kind = -1;
- if (target instanceof Input)
- {
- kind = IMessageReference.KIND_INPUT;
- }
- else if (target instanceof Output)
- {
- kind = IMessageReference.KIND_OUTPUT;
- }
- else if (target instanceof Fault)
- {
- kind = IMessageReference.KIND_FAULT;
- }
- adapter = new W11MessageReference(kind);
- }
- else if (target instanceof Import) {
- adapter = new W11Import();
- }
- else if (target instanceof XSDSchema) {
- adapter = new W11Type();
- }
- else if (target instanceof Message) {
- adapter = new W11Message();
- }
- else if (target instanceof Part)
- {
- adapter = new W11ParameterForPart();
- }
- else if (target instanceof XSDElementDeclaration)
- {
- adapter = new W11ParameterForElement();
- }
- else if (target instanceof XSDAttributeUse)
- {
- adapter = new W11ParameterForAttribute();
- }
- else if (target instanceof Message ||
- target instanceof XSDConcreteComponent)
- {
- // not we only need this adapter to serve as an 'otherThingsToListenTo' adapter
- // for use by the W11MessageReference when computing a parameter list
- adapter = new WSDLBaseAdapter();
- }
- else if (target instanceof SOAPAddress ||
- target instanceof HTTPAddress)
- {
- // TODO.. we need to enable the factory to delegate to extension language adapter factories
- // there should be no references to SOAP or HTTP stuff from within this class
- //
- adapter = new W11AddressExtensibilityElementAdapter();
- }
- else if (target instanceof ExtensibilityElement)
- {
- adapter = new W11ExtensibilityElementAdapter();
- }
- if (adapter == null)
- {
- System.out.println("NO ADAPTER CREATED FOR " + target); //$NON-NLS-1$
- Thread.dumpStack();
- }
-
- return adapter;
- }
-
- public Adapter adapt(Notifier target)
- {
- return adapt(target, this);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java
deleted file mode 100644
index 89461cb73..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11RenameCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.IActionProvider;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-import org.eclipse.wst.xml.core.internal.document.ElementImpl;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.w3c.dom.Element;
-
-public class WSDLBaseAdapter extends AdapterImpl implements IASDObject, IActionProvider {
- protected List listenerList = new ArrayList();
- protected WSDLBaseAdapter owner;
-
- public void registerListener(IASDObjectListener listener) {
- if (!listenerList.contains(listener))
- {
- listenerList.add(listener);
- }
- }
-
- public void unregisterListener(IASDObjectListener listener) {
- listenerList.remove(listener);
- }
-
- public void populateAdapterList(List notifierList, List adapterList) {
- for (Iterator i = notifierList.iterator(); i.hasNext();) {
- Object o = i.next();
- if (o instanceof Notifier)
- {
- Notifier component = (Notifier)o;
- Adapter adapter = WSDLAdapterFactoryHelper.getInstance().adapt(component);
- adapterList.add(adapter);
-
- if (adapter instanceof WSDLBaseAdapter) {
- ((WSDLBaseAdapter) adapter).setOwner(this);
- }
- }
- else
- {
- System.out.println("populateAdapterListError" + o); //$NON-NLS-1$
- }
- }
- }
-
- public Adapter createAdapter(Notifier notifier) {
- Adapter adapter = WSDLAdapterFactoryHelper.getInstance().adapt(notifier);
-
- if (adapter instanceof WSDLBaseAdapter && ((WSDLBaseAdapter) adapter).owner == null) {
- ((WSDLBaseAdapter) adapter).setOwner(this);
- }
-
- return adapter;
- }
-
- public String getName() {
- return null;
- }
-
- public void setOwner(WSDLBaseAdapter owner) {
- this.owner = owner;
- }
-
- public boolean isAdapterForType(Object type) {
- return type == WSDLAdapterFactoryHelper.getInstance().getWSDLAdapterFactory();
- }
-
- public String[] getActions(Object object) {
- String[] actionIDs = new String[0];
-
- return actionIDs;
- }
-
- public void notifyChanged(Notification msg)
- {
- super.notifyChanged(msg);
- try
- {
- notifyListeners(this, null);
- }
- catch (Exception e)
- {
- // TODO... exception should never happen here.. but they do
- // dumping the stack to the console until we track these down
- e.printStackTrace();
- }
- }
-
- protected void notifyListeners(Object changedObject, String property)
- {
- List clonedListenerList = new ArrayList();
- clonedListenerList.addAll(listenerList);
- for (Iterator i = clonedListenerList.iterator(); i.hasNext(); )
- {
- IASDObjectListener listener = (IASDObjectListener)i.next();
- listener.propertyChanged(this, property);
- }
- }
-
- public Command getSetNameCommand(String newName) {
- return new W11RenameCommand(this, newName);
- }
-
- public boolean isReadOnly() {
- Definition definition = null;
- try {
- IEditorPart editorPart = null;
- IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- if (window != null) {
- IWorkbenchPage page = window.getActivePage();
- if (page != null) {
- editorPart = page.getActiveEditor();
- }
- }
- if (target instanceof WSDLElement) {
- definition = ((WSDLElement) target).getEnclosingDefinition();
- }
- if (editorPart == null) {
- return fallBackCheckIsReadOnly();
- }
-
- Definition editorDefinition = (Definition) editorPart.getAdapter(Definition.class);
- if (definition != null && definition == editorDefinition) {
- return false;
- }
- else {
- return fallBackCheckIsReadOnly();
- }
- }
- catch(Exception e) {
-
- }
-
- return true;
- }
-
- private boolean fallBackCheckIsReadOnly() {
- Element element = null;
- if (target instanceof WSDLElement) {
- element = ((WSDLElement) target).getElement();
- }
- else if (target instanceof XSDConcreteComponent) {
- element = ((XSDConcreteComponent) target).getElement();
- }
-
- if (element instanceof IDOMNode || element instanceof ElementImpl) {
- return false;
- }
- return true;
- }
-
- public Object getOwner() {
- return owner;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java
deleted file mode 100644
index b53a24895..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ParameterEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddMessageCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-
-public class W11AddPartAction extends BaseSelectionAction {
- public static String ID = "ASDAddPartAction"; //$NON-NLS-1$
-
- public W11AddPartAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_PART); //$NON-NLS-1$
- setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/part_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- MessageReference messageRef = null;
- IMessage iMessage = null;
- Message message = null;
-
- if (o instanceof W11MessageReference) {
- messageRef = (MessageReference) ((W11MessageReference) o).getTarget();
- message = messageRef.getEMessage();
- }
- else if (o instanceof W11ParameterForPart) {
- W11ParameterForPart param = (W11ParameterForPart) o;
- if (param.getOwner() instanceof IMessage) {
- iMessage = (IMessage) param.getOwner();
- }
- else if (param.getOwner() instanceof W11MessageReference) {
- messageRef = (MessageReference) ((W11MessageReference) param.getOwner()).getTarget();
- message = messageRef.getEMessage();
- }
-
- if (message == null) {
- Part part = (Part) param.getTarget();
- message = (Message) part.eContainer();
- }
- }
- else if (o instanceof IMessage) {
- iMessage = (IMessage) o;
- }
-
- if (message == null && iMessage == null && messageRef != null) {
- InternalWSDLMultiPageEditor editor = (InternalWSDLMultiPageEditor) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- Definition definition = (Definition) ((W11Description) editor.getModel()).getTarget();
- String messageName = NameUtil.buildUniqueMessageName(definition, "NewMessage"); //$NON-NLS-1$
- AddMessageCommand command = new AddMessageCommand(definition, messageName, false);
- command.run();
- message = (Message) command.getWSDLElement();
- messageRef.setEMessage(message);
- }
-
- if (message != null) {
- iMessage = (IMessage) WSDLAdapterFactoryHelper.getInstance().adapt(message);
- }
-
- if (iMessage != null) {
- Command command = iMessage.getAddPartCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object element = ((IASDAddCommand) command).getNewlyAddedComponent();
- selectAndDirectEdit(element);
- }
- }
- }
- }
-
- protected void doDirectEdit(EditPart ep) {
- if (ep instanceof ParameterEditPart) {
- ((ParameterEditPart) ep).performDirectEdit(null);
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java
deleted file mode 100644
index 7f428bb4c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Import;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-
-public class W11OpenImportAction extends BaseSelectionAction {
- public static String ID = "ASDOpenImportAction"; //$NON-NLS-1$
-
- public W11OpenImportAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_OPEN_IMPORT); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0 && getSelectedObjects().get(0) instanceof W11Import) {
- Import theImport = getWSDLImport((W11Import) getSelectedObjects().get(0));
-
- Definition definition = theImport.getEnclosingDefinition();
- org.eclipse.wst.wsdl.ui.internal.util.OpenOnSelectionHelper helper = new org.eclipse.wst.wsdl.ui.internal.util.OpenOnSelectionHelper(definition);
- helper.openEditor((org.eclipse.emf.ecore.EObject) theImport);
- }
- }
-
- protected boolean calculateEnabled() {
- boolean enabled = super.calculateEnabled();
- if (enabled) {
- if (getSelectedObjects().size() > 0 && getSelectedObjects().get(0) instanceof W11Import) {
- Import theImport = getWSDLImport((W11Import) getSelectedObjects().get(0));
-
- if (theImport != null) {
- String location = theImport.getLocationURI();
-
- if (location == null || location.trim().equals(""))
- enabled = false;
- }
- }
- }
-
- return enabled;
- }
-
- private Import getWSDLImport(W11Import w11Import) {
- return (Import) ((W11Import) w11Import).getTarget();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java
deleted file mode 100644
index df68ffc19..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11SetExistingElementAction extends BaseSelectionAction {
- public static String ID = "ASDSetExistingElementAction"; //$NON-NLS-1$
- protected WSDLBaseAdapter wsdlBaseAdapter;
-
- public W11SetExistingElementAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_EXISTING_ELEMENT); //$NON-NLS-1$
-// setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/message_obj.gif"));
- }
-
- public void run() {
- if (wsdlBaseAdapter == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
- wsdlBaseAdapter = (WSDLBaseAdapter) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDElementReferenceEditManager(wsdlBaseAdapter);
- if (wsdlBaseAdapter != null && refManager != null) {
- IComponentDialog dialog = refManager.getBrowseDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(wsdlBaseAdapter.getTarget(), spec);
- }
- }
-
- wsdlBaseAdapter = null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java
deleted file mode 100644
index 0f765d6d8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11SetExistingMessageAction extends BaseSelectionAction {
- public static String ID = "ASDSetMessageInterfaceAction"; //$NON-NLS-1$
- protected IMessageReference messageReference;
-
-
- public W11SetExistingMessageAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_EXISTING_MESSAGE); //$NON-NLS-1$
-// setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/message_obj.gif"));
- }
-
- public void run() {
- if (messageReference == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IMessageReference) {
- messageReference = (IMessageReference) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getMessageReferenceEditManager(messageReference);
- if (messageReference != null && refManager != null) {
- IComponentDialog dialog = refManager.getBrowseDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(messageReference, spec);
- }
- }
-
- messageReference = null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java
deleted file mode 100644
index 8e82b481e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11SetExistingTypeAction extends BaseSelectionAction {
- public static String ID = "ASDSetExistingTypeAction"; //$NON-NLS-1$
- protected WSDLBaseAdapter wsdlBaseAdapter;
-
- public W11SetExistingTypeAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_EXISTING_TYPE); //$NON-NLS-1$
-// setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/message_obj.gif"));
- }
-
- public void run() {
- if (wsdlBaseAdapter == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
- wsdlBaseAdapter = (WSDLBaseAdapter) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDTypeReferenceEditManager(wsdlBaseAdapter);
- if (wsdlBaseAdapter != null && refManager != null) {
- IComponentDialog dialog = refManager.getBrowseDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(wsdlBaseAdapter.getTarget(), spec);
- }
- }
-
- wsdlBaseAdapter = null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java
deleted file mode 100644
index 7882da417..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11SetNewElementAction extends BaseSelectionAction {
- public static String ID = "ASDSetNewElementAction"; //$NON-NLS-1$
- protected WSDLBaseAdapter wsdlBaseAdapter;
-
- public W11SetNewElementAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_NEW_ELEMENT); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
- }
-
- public void run() {
- if (wsdlBaseAdapter == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
- wsdlBaseAdapter = (WSDLBaseAdapter) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDElementReferenceEditManager(wsdlBaseAdapter);
- if (wsdlBaseAdapter != null && refManager != null) {
- IComponentDialog dialog = refManager.getNewDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(wsdlBaseAdapter, spec);
- }
- }
-
- wsdlBaseAdapter = null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java
deleted file mode 100644
index 2ef914f24..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11SetNewMessageAction extends BaseSelectionAction {
- public static String ID = "ASDSetNewMessageAction"; //$NON-NLS-1$
- protected IMessageReference messageReference;
-
- public W11SetNewMessageAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_NEW_MESSAGE); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
- }
-
- public void setIMessageReference(IMessageReference messageReference) {
- this.messageReference = messageReference;
- }
-
- public void run() {
- if (messageReference == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IMessageReference) {
- messageReference = (IMessageReference) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getMessageReferenceEditManager(messageReference);
- if (messageReference != null && refManager != null) {
- IComponentDialog dialog = refManager.getNewDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(messageReference, spec);
- }
- }
-
- messageReference = null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java
deleted file mode 100644
index a40e6f351..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDTypeReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDTypeReferenceEditManager;
-
-public class W11SetNewTypeAction extends BaseSelectionAction {
- public static String ID = "ASDSetNewTypeAction"; //$NON-NLS-1$
- protected WSDLBaseAdapter wsdlBaseAdapter;
-
- public W11SetNewTypeAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_NEW_TYPE); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
- }
-
- public void run() {
- if (wsdlBaseAdapter == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
- wsdlBaseAdapter = (WSDLBaseAdapter) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDTypeReferenceEditManager(wsdlBaseAdapter);
- if (wsdlBaseAdapter != null && refManager != null) {
- IComponentDialog dialog = refManager.getNewDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(wsdlBaseAdapter, spec);
- }
- }
-
- wsdlBaseAdapter = null;
- }
-
- protected ComponentReferenceEditManager getComponentReferenceEditManager() {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- if (page.getActiveEditor().getAdapter(XSDTypeReferenceEditManager.class) != null) {
- return (ComponentReferenceEditManager) page.getActiveEditor().getAdapter(XSDTypeReferenceEditManager.class);
- }
- else {
- IEditorInput input = page.getActiveEditor().getEditorInput();
- if (input instanceof IFileEditorInput) {
- WSDLElement element = (WSDLElement) wsdlBaseAdapter.getTarget();
- IDescription description = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(element.getEnclosingDefinition());
- return new WSDLXSDTypeReferenceEditManager(((IFileEditorInput) input).getFile(), null, description);
- }
- }
-
- return null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java
deleted file mode 100644
index af9349c0c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java
+++ /dev/null
@@ -1,294 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.binding.http.HTTPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11GenerateBindingCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11SetInterfaceCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDGenerateBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.BindingContentPlaceHolder;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.custom.NodeCustomizationRegistry;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDEditorPlugin;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class W11Binding extends WSDLBaseAdapter implements IBinding {
-
- public IInterface getInterface() {
- PortType portType = ((Binding) target).getEPortType();
- if (portType != null)
- {
- return (IInterface) createAdapter(portType);
- }
- return null;
- }
-
- public List getBindingContentList()
- {
- List adapterList = new ArrayList();
- List list = new ArrayList();
-
- List bindingOperations = copyList(((Binding)target).getEBindingOperations());
- List operations = copyList(((Binding)target).getEPortType().getEOperations());
-
- // Determine if we need placeholders for Operations
- List toAdaptList = new ArrayList();
-
- Iterator bindingOpIt = bindingOperations.iterator();
- while (bindingOpIt.hasNext()) {
- BindingOperation item = (BindingOperation) bindingOpIt.next();
- operations.remove(item.getEOperation());
- }
-
- Iterator operationsIt = operations.iterator();
- while (operationsIt.hasNext()) {
- Operation op = (Operation) operationsIt.next();
- toAdaptList.add(op);
- toAdaptList.add(op.getEInput());
- toAdaptList.add(op.getEOutput());
- toAdaptList.addAll(op.getEFaults());
- }
-
- Iterator it = toAdaptList.iterator();
- while (it.hasNext()) {
- Object o = it.next();
- if (o != null)
- {
- Object adapted = WSDLAdapterFactoryHelper.getInstance().adapt((Notifier)o);
- BindingContentPlaceHolder placeHolder = new BindingContentPlaceHolder(adapted);
- adapterList.add(placeHolder);
- }
- }
-
- for (Iterator i = ((Binding)target).getEBindingOperations().iterator(); i.hasNext(); )
- {
- BindingOperation bindingOperation = (BindingOperation)i.next();
- Operation operation = bindingOperation.getEOperation();
-
- list.add(bindingOperation);
-
- // Handle Input
- if (bindingOperation.getEBindingInput() != null)
- {
- list.add(bindingOperation.getEBindingInput());
- }
- else if (bindingOperation.getEBindingInput() == null && operation.getEInput() != null) {
- // Need a placeholder
- Object adaptedObject = createAdapter(operation.getEInput());
- BindingContentPlaceHolder temp = new BindingContentPlaceHolder(adaptedObject);
- adapterList.add(temp);
- }
-
- // Handle Output
- if (bindingOperation.getEBindingOutput() != null)
- {
- list.add(bindingOperation.getEBindingOutput());
- }
- else if (bindingOperation.getEBindingOutput() == null && operation.getEOutput() != null) {
- // Need a placeholder
- Object adaptedObject = createAdapter(operation.getEOutput());
- BindingContentPlaceHolder temp = new BindingContentPlaceHolder(adaptedObject);
- adapterList.add(temp);
- }
-
- // Handle Faults
- if (operation != null)
- {
- List faults = copyList(operation.getEFaults());
- List bindingFaults = copyList(bindingOperation.getEBindingFaults());
- for (int index = 0; index < bindingFaults.size(); index++) {
- BindingFault bindingFault = (BindingFault) bindingFaults.get(index);
- list.add(bindingFault);
-
- faults.remove(bindingFault.getEFault());
- }
-
- // Left over faults need placeholders
- Iterator remaningFaults = faults.iterator();
- while (remaningFaults.hasNext()) {
- Object adaptedObject = createAdapter((Fault) remaningFaults.next());
- BindingContentPlaceHolder temp = new BindingContentPlaceHolder(adaptedObject);
- adapterList.add(temp);
- }
- }
- }
-
- populateAdapterList(list, adapterList);
- return adapterList;
- }
-
- private List copyList(List origList) {
- List newList = new ArrayList();
- Iterator it = origList.iterator();
- while (it.hasNext()) {
- newList.add(it.next());
- }
-
- return newList;
- }
-
- public List getExtensiblityObjects() {
-
- return null;
- }
-
- public String getName() {
- return ((Binding) target).getQName().getLocalPart();
- }
-
- public String getProtocol() {
- Iterator it = ((Binding) target).getEExtensibilityElements().iterator();
- while (it.hasNext()) {
- Object item = it.next();
- if (item instanceof SOAPBinding) {
- return "SOAP"; //$NON-NLS-1$
- }
- else if (item instanceof HTTPBinding) {
- return "HTTP"; //$NON-NLS-1$
- }
- }
-
- return ""; //$NON-NLS-1$
- }
-
- public IDescription getOwnerDescription() {
- return (IDescription) owner;
- }
-
- public String[] getActions(Object object) {
- List actionIDs = new ArrayList();
- actionIDs.add(ASDGenerateBindingAction.ID);
- actionIDs.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_PORTTYPE); //$NON-NLS-1$
- actionIDs.add(ASDSetNewInterfaceAction.ID);
- actionIDs.add(ASDSetExistingInterfaceAction.ID);
- actionIDs.add(BaseSelectionAction.SUBMENU_END_ID);
- actionIDs.add(ASDDeleteAction.ID);
- if (isReadOnly()) {
- actionIDs.add(OpenInNewEditor.ID);
- }
- return (String [])actionIDs.toArray(new String[0]);
- }
-
- public Command getSetInterfaceCommand(IInterface newInterface) {
- W11Interface w11Interface = (W11Interface) newInterface;
- return new W11SetInterfaceCommand((Binding) target, (PortType) w11Interface.getTarget());
- }
-
- public Command getGenerateBindingCommand() {
- return new W11GenerateBindingCommand((Binding) this.getTarget());
- }
-
- public Command getDeleteCommand() {
- return new W11DeleteCommand(this);
- }
-
-
- private ILabelProvider getLabelProvider(Node node)
- {
- String namespace = node.getNamespaceURI();
- if (namespace != null)
- {
- NodeCustomizationRegistry registry = XSDEditorPlugin.getDefault().getNodeCustomizationRegistry();
- return registry.getLabelProvider(namespace);
- }
- return null;
- }
-
- public Image getImage()
- {
- Image image = null;
- List list = ((Binding) target).getExtensibilityElements();
- if (list.size() > 0)
- {
- ExtensibilityElement ee = (ExtensibilityElement)list.get(0);
- Element element = ee.getElement();
- if (element != null)
- {
- ILabelProvider labelProvider = getLabelProvider(element);
- if (labelProvider != null)
- {
- image= labelProvider.getImage(element);
- }
- }
- }
- if (image == null)
- {
- image = WSDLEditorPlugin.getInstance().getImage("icons/binding_obj.gif");
- }
- return image;
- }
-
- public String getText()
- {
- return "binding";
- }
-
- public ITreeElement[] getChildren()
- {
- List list = getBindingOperations();
- ITreeElement[] result = new ITreeElement[list.size()];
- list.toArray(result);
- return result;
- }
-
- public boolean hasChildren() {
- if (getBindingOperations().size() > 0) {
- return true;
- }
-
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- public List getBindingOperations()
- {
- List list = new ArrayList();
- populateAdapterList(((Binding)target).getEBindingOperations(), list);
- return list;
- }
-
- public List getBindingOperations(boolean createMissingOperations, boolean showExtraOperations)
- {
- return getBindingOperations();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java
deleted file mode 100644
index 84ef1742e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-
-
-public class W11BindingMessageReference extends WSDLBaseAdapter implements IBindingMessageReference, ITreeElement
-{
- public ITreeElement[] getChildren()
- {
- return ITreeElement.EMPTY_LIST;
- }
-
- public boolean hasChildren() {
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- public Image getImage()
- {
- String imageName = null;
- if (target instanceof BindingInput)
- {
- imageName = "icons/input_obj.gif"; //$NON-NLS-1$
- }
- else if (target instanceof BindingOutput)
- {
- imageName = "icons/output_obj.gif"; //$NON-NLS-1$
- }
- else //if (target instanceof BindingFault)
- {
- imageName = "icons/fault_obj.gif"; //$NON-NLS-1$
- }
- return WSDLEditorPlugin.getInstance().getImage(imageName);
- }
-
- public String getName()
- {
- String name = null;
- if (target instanceof BindingInput)
- {
- name = ((BindingInput) target).getName();
- }
- else if (target instanceof BindingOutput)
- {
- name = ((BindingOutput) target).getName();
- }
- else if (target instanceof BindingFault)
- {
- name = ((BindingFault) target).getName();
- }
-
- if (name == null) {
- name = ""; //$NON-NLS-1$
- }
-
- return name;
- }
-
- public String getText()
- {
- String text = "";
- if (target instanceof BindingInput)
- {
- text = "binding input";
- }
- else if (target instanceof BindingOutput)
- {
- text = "binding output";
- }
- else if (target instanceof BindingFault)
- {
- text = "binding fault";
- }
-
- return text;
- }
-
- public IMessageReference getMessageReference()
- {
- EObject resultNotifier = null;
- if (target instanceof BindingInput)
- {
- resultNotifier = ComponentReferenceUtil.computeInput((BindingInput)target);
- }
- else if (target instanceof BindingOutput)
- {
- resultNotifier = ComponentReferenceUtil.computeOutput((BindingOutput)target);
- }
- else if (target instanceof BindingFault)
- {
- resultNotifier = ComponentReferenceUtil.computeFault((BindingFault)target);
- }
- return resultNotifier != null ? (IMessageReference)createAdapter(resultNotifier) : null;
- }
-
- public List getExtensiblityObjects()
- {
- return Collections.EMPTY_LIST;
- }
-
- public String[] getActions(Object object) {
- Collection actionIDs = new ArrayList();
-// if (isReadOnly()) {
-// actionIDs.add(OpenInNewEditor.ID);
-// }
- return (String [])actionIDs.toArray(new String[0]);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java
deleted file mode 100644
index 2c097a998..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-
-public class W11BindingOperation extends WSDLBaseAdapter implements IBindingOperation, ITreeElement
-{
-
- public IOperation getOperation()
- {
- BindingOperation bindingOperation = (BindingOperation)target;
- Operation operation = ComponentReferenceUtil.computeOperation(bindingOperation);
- return operation != null ? (IOperation)createAdapter(operation) : null;
- }
-
- public List getBindingMessages()
- {
- List list = new ArrayList();
- BindingOperation bindingOperation = (BindingOperation)target;
- if (bindingOperation.getEBindingInput() != null)
- {
- list.add(bindingOperation.getEBindingInput());
- }
- if (bindingOperation.getEBindingOutput() != null)
- {
- list.add(bindingOperation.getEBindingOutput());
- }
- list.addAll(bindingOperation.getEBindingFaults());
- List result = new ArrayList();
- populateAdapterList(list, result);
- return result;
- }
-
- public String getName()
- {
- BindingOperation bindingOperation = (BindingOperation)target;
- Operation operation = bindingOperation.getEOperation();
- return operation != null ? operation.getName() : null;
- }
-
- public List getExtensiblityObjects()
- {
- return Collections.EMPTY_LIST;
- }
-
- public ITreeElement[] getChildren()
- {
- List list = getBindingMessages();
- ITreeElement[] result = new ITreeElement[list.size()];
- list.toArray(result);
- return result;
- }
-
- public boolean hasChildren() {
- if (getBindingMessages().size() > 0) {
- return true;
- }
-
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- public Image getImage()
- {
- String imageName = "icons/operationbinding_obj.gif"; //$NON-NLS-1$
- return WSDLEditorPlugin.getInstance().getImage(imageName);
- }
-
- public String getText()
- {
- return "binding operation";
- }
-
- public String[] getActions(Object object) {
- Collection actionIDs = new ArrayList();
- if (isReadOnly()) {
- actionIDs.add(OpenInNewEditor.ID);
- }
- return (String [])actionIDs.toArray(new String[0]);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java
deleted file mode 100644
index 7a1337d4b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddImportAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddMessageAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddSchemaAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddServiceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class W11CategoryAdapter extends WSDLBaseAdapter implements ICategoryAdapter, ITreeElement, IASDObjectListener {
- public final static int IMPORTS = 1;
- public final static int TYPES = 2;
- public final static int SERVICES = 3;
- public final static int BINDINGS = 5;
- public final static int INTERFACES = 6;
- public final static int MESSAGES = 7;
-
- public static String IMPORTS_HEADER_TEXT = Messages._UI_FOLDER_IMPORTS; //$NON-NLS-1$
- public static String TYPES_HEADER_TEXT = Messages._UI_FOLDER_TYPES; //$NON-NLS-1$
- public static String SERVICE_HEADER_TEXT = Messages._UI_FOLDER_SERVICES; //$NON-NLS-1$
- public static String BINDING_HEADER_TEXT = Messages._UI_FOLDER_BINDINGS; //$NON-NLS-1$
- public static String INTERFACE_HEADER_TEXT = Messages._UI_PORT_TYPE; //$NON-NLS-1$
- public static String MESSAGE_HEADER_TEXT = Messages._UI_FOLDER_MESSAGES; //$NON-NLS-1$
-
- protected String text;
- protected Image image;
- protected int groupType;
- protected Collection children;
- protected IDescription description;
-
- public W11CategoryAdapter(IDescription description, String label, Image image, Collection children, int groupType) {
- this.text = label;
- this.image = image;
- this.description = description;
- this.target = ((W11Description) description).getTarget();
- this.children = children;
- this.groupType = groupType;
- }
-
- public Definition getDefinition() {
- return (Definition) target;
- }
-
- public IDescription getOwnerDescription() {
- return description;
- }
-
- public int getGroupType() {
- return groupType;
- }
-
- public Image getImage() {
- return image;
- }
-
- public String getText() {
- return text;
- }
-
- public ITreeElement[] getChildren() {
- return (ITreeElement[]) children.toArray(new ITreeElement[0]);
- }
-
- public void setChildren(Collection list) {
- children = list;
- }
-
- public Object getParent(Object element) {
- return null;
- }
-
- public boolean hasChildren(Object element) {
- return true;
- }
-
- public String[] getActions(Object object) {
- Collection actionIDs = new ArrayList();
-
- switch (groupType) {
- case IMPORTS : {
- actionIDs.add(ASDAddImportAction.ID);
- break;
- }
- case TYPES : {
- actionIDs.add(ASDAddSchemaAction.ID);
- break;
- }
- case SERVICES : {
- actionIDs.add(ASDAddServiceAction.ID);
- break;
- }
- case BINDINGS : {
- actionIDs.add(ASDAddBindingAction.ID);
- break;
- }
- case INTERFACES : {
- actionIDs.add(ASDAddInterfaceAction.ID);
- break;
- }
- case MESSAGES : {
- actionIDs.add(ASDAddMessageAction.ID);
- break;
- }
- }
- return (String [])actionIDs.toArray(new String[0]);
- }
-
- public void propertyChanged(Object object, String property) {
- if (getText().equals(property))
- notifyListeners(this, property);
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- public boolean hasChildren() {
- if (getChildren().length > 0) {
- return true;
- }
-
- return false;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java
deleted file mode 100644
index 1ef1d2f8e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java
+++ /dev/null
@@ -1,354 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.impl.NotificationImpl;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddBindingCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddImportCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddInterfaceCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddMessageCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddSchemaCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddServiceCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11EditNamespacesCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddServiceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.DOMNamespaceInfoManager;
-import org.w3c.dom.Element;
-
-public class W11Description extends WSDLBaseAdapter implements IDescription {
- protected List categories = new ArrayList();
-
- protected W11CategoryAdapter getCategory(int categoryId) {
- return getCategory(categoryId, getCategoryAdapters());
- }
-
- protected W11CategoryAdapter getCategory(int categoryId, List list) {
- Iterator it = list.iterator();
- while (it.hasNext()) {
- W11CategoryAdapter adapter = (W11CategoryAdapter) it.next();
- if (adapter.getGroupType() == categoryId) {
- return adapter;
- }
- }
-
- return null;
- }
-
- protected List getCategoryAdapters() {
- // just set categoryadapters' children if category adapters are
- // already created
- if (categories.size() == 0) {
- categories = createCategoryAdapters();
- }
- else {
- W11CategoryAdapter category = getCategory(W11CategoryAdapter.IMPORTS, categories);
- category.setChildren(getImports());
-
- category = getCategory(W11CategoryAdapter.TYPES, categories);
- addListenerToTypes(category);
-
- category = getCategory(W11CategoryAdapter.SERVICES, categories);
- category.setChildren(getServices());
-
- category = getCategory(W11CategoryAdapter.BINDINGS, categories);
- category.setChildren(getBindings());
-
- category = getCategory(W11CategoryAdapter.INTERFACES, categories);
- category.setChildren(getInterfaces());
-
- category = getCategory(W11CategoryAdapter.MESSAGES, categories);
- category.setChildren(getMessages());
- }
- return categories;
- }
-
- // TODO: rmah: right now it looks like the definition needs to know too much about the categories
- // We should make the categories more self-sufficient.... so it knows how to compute it's children
- // based on it's kind
- protected List createCategoryAdapters() {
- List categories = new ArrayList();
-
- List importList = getImports();
- List schemaList = getTypes();
- List serviceList = getServices();
- List bindingList = getBindings();
- List interfaceList = getInterfaces();
- List messageList = getMessages();
-
- String categoryTitle = W11CategoryAdapter.IMPORTS_HEADER_TEXT;
- Image categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/importheader_obj.gif"); //$NON-NLS-1$
- W11CategoryAdapter category = new W11CategoryAdapter(this, categoryTitle, categoryImage, importList, W11CategoryAdapter.IMPORTS);
- registerListener(category);
- categories.add(category);
-
- categoryTitle = W11CategoryAdapter.TYPES_HEADER_TEXT;
- categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/types_obj.gif"); //$NON-NLS-1$
- category = new W11TypesCategoryAdapter(this, categoryTitle, categoryImage, W11CategoryAdapter.TYPES);
- addListenerToTypes(category);
- registerListener(category);
- categories.add(category);
-
- categoryTitle = W11CategoryAdapter.SERVICE_HEADER_TEXT;
- categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/serviceheader_obj.gif"); //$NON-NLS-1$
- category = new W11CategoryAdapter(this, categoryTitle, categoryImage, serviceList, W11CategoryAdapter.SERVICES);
- registerListener(category);
- categories.add(category);
-
- categoryTitle = W11CategoryAdapter.BINDING_HEADER_TEXT;
- categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/bindingheader_obj.gif"); //$NON-NLS-1$
- category = new W11CategoryAdapter(this, categoryTitle, categoryImage, bindingList, W11CategoryAdapter.BINDINGS);
- registerListener(category);
- categories.add(category);
-
- categoryTitle = W11CategoryAdapter.INTERFACE_HEADER_TEXT;
- categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/porttypeheader_obj.gif"); //$NON-NLS-1$
- category = new W11CategoryAdapter(this, categoryTitle, categoryImage, interfaceList, W11CategoryAdapter.INTERFACES);
- registerListener(category);
- categories.add(category);
-
- categoryTitle = W11CategoryAdapter.MESSAGE_HEADER_TEXT;
- categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/messageheader_obj.gif"); //$NON-NLS-1$
- category = new W11CategoryAdapter(this, categoryTitle, categoryImage, messageList, W11CategoryAdapter.MESSAGES);
- registerListener(category);
- categories.add(category);
-
- return categories;
- }
-
- // Special case:
- // We need to have the Types object inform our facade (W11TypesCategoryAdapter) of it's
- // changes. This is different from the rest of the W11CategoryAdapters which listens
- // to the Definition object.
- private void addListenerToTypes(W11CategoryAdapter category) {
- Definition def = (Definition) this.getTarget();
- Types types = def.getETypes();
- if (types != null && !types.eAdapters().contains(category)) {
- types.eAdapters().add(category);
- }
- }
-
- public String getTargetNamespace() {
- return ((Definition) target).getTargetNamespace();
- }
-
- public String getTargetNamespacePrefix() {
- String tns = getTargetNamespace();
- return ((Definition) target).getPrefix(tns);
- }
-
- public List getServices() {
- List adapterList = new ArrayList();
- ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
- List services = util.getServices();
- populateAdapterList(services, adapterList);
-
- return adapterList;
- }
-
- public List getBindings() {
- List adapterList = new ArrayList();
- ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
- List bindings = util.getBindings();
- populateAdapterList(bindings, adapterList);
-
- return adapterList;
- }
-
- public List getInterfaces() {
- List adapterList = new ArrayList();
- ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
- List portTypes = util.getPortTypes();
- populateAdapterList(portTypes, adapterList);
-
- return adapterList;
- }
-
- public List getImports() {
- List adapterList = new ArrayList();
- populateAdapterList(((Definition) target).getEImports(), adapterList);
-
- return adapterList;
- }
-
- public List getTypes() {
- List adapterList = new ArrayList();
- Types types = ((Definition) target).getETypes();
- if (types != null)
- {
- populateAdapterList(types.getSchemas(), adapterList);
- }
- return adapterList;
- }
-
- public List getMessages() {
- List adapterList = new ArrayList();
- ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
- List messages = util.getMessages();
- populateAdapterList(messages, adapterList);
-
- return adapterList;
- }
-
- public String getName() {
- String name = ""; //$NON-NLS-1$
-
- Definition definition = ((Definition) target);
- if (definition.getQName() != null) {
- name = definition.getQName().getLocalPart();
- }
- return name;
- }
-
- public String[] getActions(Object object) {
- String[] actionIDs = new String[3];
- actionIDs[0] = ASDAddServiceAction.ID;
- actionIDs[1] = ASDAddBindingAction.ID;
- actionIDs[2] = ASDAddInterfaceAction.ID;
-
- return actionIDs;
- }
-
- public Command getAddImportCommand() {
- return new W11AddImportCommand((Definition) target);
- }
-
- public Command getAddSchemaCommand() {
- return new W11AddSchemaCommand((Definition) target);
- }
-
- public Command getAddServiceCommand() {
- return new W11AddServiceCommand((Definition) target);
- }
-
- public Command getAddBindingCommand() {
- return new W11AddBindingCommand((Definition) target);
- }
-
- public Command getAddInterfaceCommand() {
- return new W11AddInterfaceCommand((Definition) target);
- }
-
- public Command getAddMessageCommand() {
- return new W11AddMessageCommand((Definition) target);
- }
-
- public Command getEditNamespacesCommand() {
- return new W11EditNamespacesCommand((Definition) target);
- }
-
- public List getNamespacesInfo() {
- DOMNamespaceInfoManager namespaceInfoManager = new DOMNamespaceInfoManager();
- Element element = WSDLEditorUtil.getInstance().getElementForObject((Definition) target);
- return namespaceInfoManager.getNamespaceInfoList(element);
- }
-
- public Image getImage() {
- return null;
- }
-
- public String getText() {
- return "definition";
- }
-
- public ITreeElement[] getChildren() {
- List children = getCategoryAdapters();
- return (ITreeElement[]) children.toArray(new ITreeElement[0]);
- }
-
- public boolean hasChildren() {
- if (getChildren().length > 0) {
- return true;
- }
-
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- public void notifyChanged(final Notification msg) {
- // TODO: rmah: This code should be moved into W11CategoryAdapter
- class CategoryNotification extends NotificationImpl {
- protected Object category;
-
- public CategoryNotification(Object category) {
- super(msg.getEventType(), msg.getOldValue(), msg.getNewValue(), msg.getPosition());
- this.category = category;
- }
-
- public Object getNotifier() {
- return category;
- }
-
- public Object getFeature() {
- return msg.getFeature();
- }
- }
-
- if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EImports()) {
- W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.IMPORTS);
- Assert.isTrue(adapter != null);
- adapter.setChildren(getImports());
- notifyListeners(new CategoryNotification(adapter), adapter.getText());
- }
- else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_ETypes()) {
- W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.TYPES);
- Assert.isTrue(adapter != null);
- adapter.setChildren(getImports());
- notifyListeners(new CategoryNotification(adapter), adapter.getText());
- }
- else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EServices()) {
- W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.SERVICES);
- Assert.isTrue(adapter != null);
- adapter.setChildren(getServices());
- notifyListeners(new CategoryNotification(adapter), adapter.getText());
- }
- else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EBindings()) {
- W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.BINDINGS);
- Assert.isTrue(adapter != null);
- adapter.setChildren(getBindings());
- notifyListeners(new CategoryNotification(adapter), adapter.getText());
- }
- else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EPortTypes()) {
- W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.INTERFACES);
- Assert.isTrue(adapter != null);
- adapter.setChildren(getInterfaces());
- notifyListeners(new CategoryNotification(adapter), adapter.getText());
- }
- else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EMessages()) {
- W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.MESSAGES);
- Assert.isTrue(adapter != null);
- adapter.setChildren(getMessages());
- notifyListeners(new CategoryNotification(adapter), adapter.getText());
- }
- else {
- notifyListeners(null, null);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java
deleted file mode 100644
index 86d031e34..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java
+++ /dev/null
@@ -1,223 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11SetAddressCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11SetBindingCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.specialized.W11AddressExtensibilityElementAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddEndPointAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IService;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class W11EndPoint extends WSDLBaseAdapter implements IEndPoint, IASDObjectListener {
-
- protected List addressExtensiblityElements = null;
- protected List thingsToListenTo = null;
-
- public String getAddress() {
- List list = getAddressExtensiblityElements();
- if (list.size() > 0)
- {
- W11AddressExtensibilityElementAdapter addressEE = (W11AddressExtensibilityElementAdapter)list.get(0);
- return addressEE.getLocationURI();
- }
- return ""; //$NON-NLS-1$
- }
-
- protected List getAddressExtensiblityElements()
- {
- addressExtensiblityElements = new ArrayList();
- thingsToListenTo = new ArrayList();
- Port port = (Port) getTarget();
- for (Iterator it = port.getEExtensibilityElements().iterator(); it.hasNext(); )
- {
- Notifier item = (Notifier)it.next();
- Adapter adapter = createAdapter(item);
- if (adapter instanceof W11AddressExtensibilityElementAdapter)
- {
- addressExtensiblityElements.add(adapter);
- }
- if (adapter instanceof IASDObject)
- {
- thingsToListenTo.add(adapter);
- }
- }
- for (Iterator i = thingsToListenTo.iterator(); i.hasNext(); )
- {
- IASDObject object = (IASDObject)i.next();
- object.registerListener(this);
- }
-
- return addressExtensiblityElements;
- }
-
- protected void clearAddressExtensiblityElements()
- {
- if (thingsToListenTo != null)
- {
- for (Iterator i = thingsToListenTo.iterator(); i.hasNext(); )
- {
- IASDObject object = (IASDObject)i.next();
- object.unregisterListener(this);
- }
- }
- thingsToListenTo = null;
- addressExtensiblityElements = null;
- }
-
- public IBinding getBinding() {
- if (getPort().getEBinding() != null) {
- return (IBinding) createAdapter(getPort().getEBinding());
- }
-
- return null;
- }
-
- public String getName() {
- return getPort().getName();
- }
-
- public String getTypeName() {
- String value = ""; //$NON-NLS-1$
- List eeElements = getPort().getEExtensibilityElements();
- if (eeElements.size() > 0) {
- Object object = eeElements.get(0);
- if (object instanceof SOAPAddress) {
- value = ((SOAPAddress) object).getLocationURI();
- }
- else if (object instanceof HTTPAddress) {
- value = ((HTTPAddress) object).getLocationURI();
- }
- }
-
- if (value == null || value.equals("")) { //$NON-NLS-1$
- value = "No Address";
- }
-
- return value;
- }
-
- public Object getType() {
- return getBinding();
- }
-
- private Port getPort() {
- return (Port) target;
- }
-
- public IService getOwnerService() {
- return (IService) owner;
- }
-
- public String[] getActions(Object object) {
- Collection actionIDs = new ArrayList();
-
- actionIDs.add(ASDAddEndPointAction.ID);
- actionIDs.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_BINDING); //$NON-NLS-1$
- actionIDs.add(ASDSetNewBindingAction.ID);
- actionIDs.add(ASDSetExistingBindingAction.ID);
- actionIDs.add(BaseSelectionAction.SUBMENU_END_ID);
- actionIDs.add(ASDDeleteAction.ID);
- if (isReadOnly()) {
- actionIDs.add(OpenInNewEditor.ID);
- }
- return (String [])actionIDs.toArray(new String[0]);
- }
-
- public Command getSetBindingCommand(IBinding binding) {
- W11Binding w11Binding = (W11Binding) binding;
- return new W11SetBindingCommand((Port) target, (Binding) w11Binding.getTarget());
- }
-
- public Command getSetAddressCommand(String newAddress) {
- return new W11SetAddressCommand((Port) this.getTarget(), newAddress);
- }
- public Command getDeleteCommand() {
- return new W11DeleteCommand(this);
- }
-
- public void propertyChanged(Object object, String property)
- {
- // this is called when one of the 'address' extensibility element adapters we're listening to changes
- //
- clearAddressExtensiblityElements();
- notifyListeners(this, null);
- }
-
- public Image getImage() {
- return WSDLEditorPlugin.getInstance().getImage("icons/port_obj.gif"); //$NON-NLS-1$
- }
-
- public String getText() {
- return "port";
- }
-
- public ITreeElement[] getChildren() {
- return ITreeElement.EMPTY_LIST;
- }
-
- public boolean hasChildren() {
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- // TODO: rmah: This method should be defined in the IEndPoint Interface.
- // Do this post 1.5....
- public String getProtocol() {
- String protocol = "";
-
- List list = getAddressExtensiblityElements();
- if (list.size() > 0) {
- W11AddressExtensibilityElementAdapter addressEE = (W11AddressExtensibilityElementAdapter)list.get(0);
- Object target = addressEE.getTarget();
-
- // TODO: rmah: We should not using hardcoded strings as the returned Protocol. We need to get
- // the protocol dynamically....
- if (target instanceof SOAPAddress) {
- protocol = "SOAP";
- }
- else if (target instanceof HTTPAddress) {
- protocol = "HTTP";
- }
- }
-
- return protocol;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java
deleted file mode 100644
index 41981cc13..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11OpenImportAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IImport;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class W11Import extends WSDLBaseAdapter implements IImport {
-
- public Import getImport() {
- return (Import) target;
- }
-
- public String getNamespace() {
- return getImport().getNamespaceURI();
- }
-
- public String getNamespacePrefix() {
- return getImport().getEnclosingDefinition().getPrefix(getNamespace());
- }
-
- public String getLocation() {
- return getImport().getLocationURI();
- }
-
- public IDescription getOwnerDescription() {
- return (IDescription) owner;
- }
-
- public String getName() {
- Import theImport = (Import) target;
- return theImport.getLocationURI();
- }
-
- public String[] getActions(Object object) {
- String[] actionIDs = new String[2];
- actionIDs[0] = W11OpenImportAction.ID;
- actionIDs[1] = ASDDeleteAction.ID;
- return actionIDs;
- }
-
- public Command getDeleteCommand() {
- return new W11DeleteCommand(this);
- }
-
- public Image getImage() {
- return WSDLEditorPlugin.getInstance().getImage("icons/import_obj.gif"); //$NON-NLS-1$
- }
-
- public String getText() {
- return "import";
- }
-
- public ITreeElement[] getChildren() {
- return ITreeElement.EMPTY_LIST;
- }
-
- public boolean hasChildren() {
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java
deleted file mode 100644
index 54eeee83b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.List;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddOperationCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddOperationAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class W11Interface extends WSDLBaseAdapter implements IInterface {
-
- public List getOperations() {
- List adapterList = new ArrayList();
- populateAdapterList(((PortType) target).getEOperations(), adapterList);
-
- return adapterList;
- }
-
- public String getName() {
- return ((PortType) target).getQName().getLocalPart();
- }
-
- public String[] getActions(Object object) {
- List actionIDs = new ArrayList();
- actionIDs.add(ASDAddOperationAction.ID);
- actionIDs.add(ASDDeleteAction.ID);
- if (isReadOnly()) {
- actionIDs.add(OpenInNewEditor.ID);
- }
- return (String [])actionIDs.toArray(new String[0]);
- }
-
- public Command getAddOperationCommand() {
- return new W11AddOperationCommand((PortType) target);
- }
-
- public Command getDeleteCommand() {
- return new W11DeleteCommand(this);
- }
-
- public Image getImage() {
- return WSDLEditorPlugin.getInstance().getImage("icons/porttype_obj.gif"); //$NON-NLS-1$
- }
-
- public String getText() {
- return "portType";
- }
-
- public ITreeElement[] getChildren() {
- List operations = getOperations();
- ITreeElement[] treeElements = new ITreeElement[operations.size()];
-
- for (int index = 0; index < operations.size(); index++) {
- treeElements[index] = (ITreeElement) operations.get(index);
- }
-
- return treeElements;
- }
-
- public boolean hasChildren() {
- if (getChildren().length > 0) {
- return true;
- }
-
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java
deleted file mode 100644
index 0d5643655..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11AddPartAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddPartCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-
-
-public class W11Message extends WSDLBaseAdapter implements IMessage {
-
- public List getParts() {
- List adapterList = new ArrayList();
-// populateAdapterList(((Message) target).getEParts(), adapterList);
- Iterator parts = ((Message) target).getEParts().iterator();
- while (parts.hasNext()) {
- Notifier component = (Notifier) parts.next();
- Adapter adapter = WSDLAdapterFactoryHelper.getInstance().adapt(component);
- adapterList.add(adapter);
- }
-
- return adapterList;
- }
-
- public IDescription getOwnerDescription() {
- return (IDescription) owner;
- }
-
- public String getName() {
- if (((Message) target).getQName() != null) {
- return ((Message) target).getQName().getLocalPart();
- }
-
- return "";
- }
-
- public String[] getActions(Object object) {
- List actionIDs = new ArrayList();
- actionIDs.add(W11AddPartAction.ID);
- actionIDs.add(ASDDeleteAction.ID);
- if (isReadOnly()) {
- actionIDs.add(OpenInNewEditor.ID);
- }
- return (String [])actionIDs.toArray(new String[0]);
- }
-
- public Command getAddPartCommand() {
- return new W11AddPartCommand((Message) target);
- }
-
- public Command getDeleteCommand() {
- return new W11DeleteCommand(this);
- }
-
- public Image getImage() {
- return WSDLEditorPlugin.getInstance().getImage("icons/message_obj.gif"); //$NON-NLS-1$
- }
-
- public String getText() {
- return "message";
- }
-
- public ITreeElement[] getChildren() {
- List parts = getParts();
- ITreeElement[] treeElements = new ITreeElement[parts.size()];
-
- for (int index = 0; index < parts.size(); index++) {
- treeElements[index] = (ITreeElement) parts.get(index);
- }
-
- return treeElements;
- }
-
- public boolean hasChildren() {
- if (getChildren().length > 0) {
- return true;
- }
-
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java
deleted file mode 100644
index 5aaa7c093..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingTypeAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewTypeAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteParameterCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
-import org.eclipse.xsd.XSDAttributeDeclaration;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-//import com.ibm.ccl.soa.sdo.wsdl.ui.internal.commands.SDOW11DeleteCommand;
-
-public class W11ParameterForAttribute extends WSDLBaseAdapter implements IParameter {
-
- protected XSDAttributeUse getXSDAttributeUse() {
- return (XSDAttributeUse) target;
- }
-
- protected XSDAttributeDeclaration getXSDAtttributeDeclaration() {
- XSDAttributeUse attrUse = getXSDAttributeUse();
- return attrUse.getAttributeDeclaration();
- }
-
- public Object getOwner() {
- return (IMessageReference) owner;
- }
-
- public String getName() {
- return getXSDAtttributeDeclaration().getName();
- }
-
- public String getComponentName() {
- XSDAttributeDeclaration attrDecl = getXSDAtttributeDeclaration();
-
- if (attrDecl.getType() != null) {
- return attrDecl.getType().getName();
- }
-
- return "error: could not get type name"; //$NON-NLS-1$
- }
-
- public String getPreview() {
- return ""; //$NON-NLS-1$
- }
-
- public String getComponentNameQualifier() {
- XSDTypeDefinition td = getXSDAtttributeDeclaration().getTypeDefinition();
- return td != null ? td.getTargetNamespace() : null;
- }
-
- public String[] getActions(Object object) {
- List actions = new ArrayList();
- //list.add(ASDAddOperationAction.ID);
- //list.add(ASDAddInputAction.ID);
- //list.add(ASDAddOutputAction.ID);
- //list.add(ASDAddFaultAction.ID);
- actions.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_TYPE); //$NON-NLS-1$
- actions.add(W11SetNewTypeAction.ID);
- actions.add(W11SetExistingTypeAction.ID);
- actions.add(BaseSelectionAction.SUBMENU_END_ID);
-
- actions.add(ASDDeleteAction.ID);
- String[] result = new String[actions.size()];
- actions.toArray(result);
- return result;
- }
-
- public Command getDeleteCommand() {
- return new W11DeleteParameterCommand(this);
- }
-
- public Command getSetTypeCommand(String id) {
- return null;
- }
-
- public Image getImage() {
- return null;
- }
-
- public String getText() {
- return getParameterString() + " - attribute";
- }
-
- private String getParameterString() {
- String string = "";
- Object object = WSDLEditorPlugin.getInstance().getProductCustomizationProvider();
- if (object instanceof ProductCustomizationProvider) {
- ProductCustomizationProvider productCustomizationProvider = (ProductCustomizationProvider)object;
- String newString = productCustomizationProvider.getProductString("_UI_LABEL_PARAMETER");
- if (newString != null) {
- string = newString;
- }
- }
-
- return string;
- }
-
- public ITreeElement[] getChildren() {
- return new ITreeElement[0];
- }
-
- public boolean hasChildren() {
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Service.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Service.java
deleted file mode 100644
index 5ff9f8645..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Service.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddEndPointCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddEndPointAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IService;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class W11Service extends WSDLBaseAdapter implements IService {
-
- public List getEndPoints() {
- List adapterList = new ArrayList();
- List endPoints = new ArrayList();
- Iterator it = ((Service) target).getEPorts().iterator();
- while (it.hasNext()) {
- endPoints.add(it.next());
- }
-
- Collections.sort(endPoints, new EndPointComparator());
- populateAdapterList(endPoints, adapterList);
-
- return adapterList;
- }
-
- public String getName() {
- return ((Service) target).getQName().getLocalPart();
- }
-
- public List getFields() {
- return getEndPoints();
- }
-
- public IDescription getOwnerDescription() {
- return (IDescription) owner;
- }
-
- public String[] getActions(Object object) {
- List actionIDs = new ArrayList();
- actionIDs.add(ASDAddEndPointAction.ID);
- actionIDs.add(ASDDeleteAction.ID);
-
- if (isReadOnly()) {
- actionIDs.add(OpenInNewEditor.ID);
- }
- return (String [])actionIDs.toArray(new String[0]);
- }
-
- public Command getAddEndPointCommand() {
- return new W11AddEndPointCommand((Service)target);
- }
-
- public Command getDeleteCommand() {
- return new W11DeleteCommand(this);
- }
-
- public Image getImage() {
- return WSDLEditorPlugin.getInstance().getImage("icons/service_obj.gif"); //$NON-NLS-1$
- }
-
- public String getText() {
- return "service";
- }
-
- public ITreeElement[] getChildren() {
- List endPoints = getEndPoints();
- ITreeElement[] treeElements = new ITreeElement[endPoints.size()];
-
- for (int index = 0; index < endPoints.size(); index++) {
- treeElements[index] = (ITreeElement) endPoints.get(index);
- }
-
- return treeElements;
- }
-
- public boolean hasChildren() {
- if (getChildren().length > 0) {
- return true;
- }
-
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- private class EndPointComparator implements Comparator {
- public int compare(Object o1, Object o2) {
- if (o1 instanceof Port && o2 instanceof Port) {
- Binding binding1 = ((Port) o1).getEBinding();
- Binding binding2 = ((Port) o2).getEBinding();
-
- if (binding1 != null && binding2 == null) {
- return -1;
- }
- else if (binding1 == null && binding2 != null) {
- return 1;
- }
- else if (binding1 == null && binding2 == null) {
- return 0;
- }
-
- PortType portType1 = binding1.getEPortType();
- PortType portType2 = binding2.getEPortType();
-
- if (portType1 != null && portType2 != null) {
- String name1 = portType1.getQName().getLocalPart();
- String name2 = portType2.getQName().getLocalPart();
- return name1.compareTo(name2);
- }
- else if (portType1 != null && portType2 == null) {
- return -1;
- }
- else if (portType1 == null && portType2 != null) {
- return 1;
- }
- }
-
- return 0;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Type.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Type.java
deleted file mode 100644
index 4a383a4f6..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Type.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDOpenSchemaAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IType;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.xsd.XSDSchema;
-
-public class W11Type extends WSDLBaseAdapter implements IType {
- public IDescription getOwnerDescription() {
- return (IDescription) owner;
- }
-
- public String getName() {
- XSDSchema schema= (XSDSchema) target;
- return schema.getTargetNamespace();
- }
-
- public String[] getActions(Object object) {
- String[] actionIDs = new String[2];
- actionIDs[0] = ASDOpenSchemaAction.ID;
- actionIDs[1] = ASDDeleteAction.ID;
- return actionIDs;
- }
-
- public Image getImage() {
- return WSDLEditorPlugin.getInstance().getImage("icons/xsd_obj.gif"); //$NON-NLS-1$
- }
-
- public String getText() {
- return "schema";
- }
- public ITreeElement[] getChildren() {
- return new ITreeElement[0];
- }
-
- public boolean hasChildren() {
- return false;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- // TODO: rmah: Move this method signature to the interface (IType) of this class post WTP 1.5
- public Command getDeleteCommand() {
- return new W11DeleteCommand(this);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11TypesCategoryAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11TypesCategoryAdapter.java
deleted file mode 100644
index 2a85419e2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11TypesCategoryAdapter.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class W11TypesCategoryAdapter extends W11CategoryAdapter {
- public W11TypesCategoryAdapter(IDescription description, String label, Image image, int groupType) {
- super(description, label,image, Collections.EMPTY_LIST, groupType);
- }
-
- public ITreeElement[] getChildren() {
- List types = ((W11Description) getOwnerDescription()).getTypes();
- return (ITreeElement[]) types.toArray(new ITreeElement[0]);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddBindingCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddBindingCommand.java
deleted file mode 100644
index e35d56051..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddBindingCommand.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddBindingCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-public class W11AddBindingCommand extends W11TopLevelElementCommand implements IASDAddCommand {
- private String newName;
- private Binding newBinding;
-
- public W11AddBindingCommand(Definition definition) {
- super(Messages._UI_ACTION_ADD_BINDING, definition);
- }
-
- public void setNewBindingName(String newName) {
- this.newName = newName;
- }
-
- public Binding getNewBinding() {
- return newBinding;
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
- super.execute();
- if (newName == null || newName.equals("")) { //$NON-NLS-1$
- newName = NameUtil.buildUniqueBindingName(definition, "NewBinding"); //$NON-NLS-1$
- }
-
- AddBindingCommand command = new AddBindingCommand(definition, newName);
- command.run();
-
- newBinding = (Binding) command.getWSDLElement();
- formatChild(newBinding.getElement());
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- public Object getNewlyAddedComponent() {
- return newBinding;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddEndPointCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddEndPointCommand.java
deleted file mode 100644
index 064e37216..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddEndPointCommand.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.List;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.wizards.PortWizard;
-
-public class W11AddEndPointCommand extends W11TopLevelElementCommand implements IASDAddCommand
-{
- private Service service;
- private Port port;
-
- public W11AddEndPointCommand(Service service) {
- super(Messages._UI_ACTION_ADD, service.getEnclosingDefinition());
- this.service = service;
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
-
- PortWizard wizard = new PortWizard(service);
- WizardDialog wizardDialog = new WizardDialog(Display.getCurrent().getActiveShell(), wizard);
- wizardDialog.create();
-
- int result = wizardDialog.open();
- if (result == Window.OK && service.getEPorts().size() > 0) {
- List ports = service.getEPorts();
- port = (Port) ports.get(ports.size() - 1);
-
- formatChild(port.getElement());
- }
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- public Object getNewlyAddedComponent() {
- return port;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddImportCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddImportCommand.java
deleted file mode 100644
index bda2f8e1a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddImportCommand.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddImportCommand;
-
-public class W11AddImportCommand extends W11TopLevelElementCommand implements IASDAddCommand {
- private Object component;
-
- public W11AddImportCommand(Definition definition) {
- super(Messages._UI_ACTION_ADD_IMPORT, definition);
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
-
- super.execute();
- String namespace = ""; //$NON-NLS-1$
- String location = ""; //$NON-NLS-1$
- AddImportCommand command = new AddImportCommand(definition, namespace, location);
- command.run();
- formatChild(command.getWSDLElement().getElement());
- component = command.getWSDLElement();
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- public Object getNewlyAddedComponent() {
- return component;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddInterfaceCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddInterfaceCommand.java
deleted file mode 100644
index fcef7d00a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddInterfaceCommand.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddPortTypeCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-
-public class W11AddInterfaceCommand extends W11TopLevelElementCommand implements IASDAddCommand {
- private String newName;
- private PortType newPortType;
-
- public W11AddInterfaceCommand(Definition definition) {
- super(Messages._UI_ACTION_ADD_PORTTYPE, definition);
- }
-
- public void setNewPortTypeName(String newName) {
- this.newName = newName;
- }
-
- public PortType getNewPortType() {
- return newPortType;
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
- super.execute();
- if (newName == null || newName.equals("")) { //$NON-NLS-1$
- newName = NameUtil.buildUniquePortTypeName(definition, "NewPortType"); //$NON-NLS-1$
- }
- // Add the Port Type
- AddPortTypeCommand command = new AddPortTypeCommand(definition, newName, false);
- command.run();
-
- newPortType = (PortType) command.getWSDLElement();
-
- // Add the Operation
- IInterface iInterface = (IInterface) WSDLAdapterFactoryHelper.getInstance().adapt(newPortType);
- Command addOperationCommand = iInterface.getAddOperationCommand();
- addOperationCommand.execute();
- formatChild(newPortType.getElement());
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- public Object getNewlyAddedComponent() {
- return newPortType;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddMessageCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddMessageCommand.java
deleted file mode 100644
index 29844e3de..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddMessageCommand.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddMessageCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-public class W11AddMessageCommand extends W11TopLevelElementCommand implements IASDAddCommand {
- private String newName;
- private Message message;
-
- public W11AddMessageCommand(Definition definition) {
- super(Messages._UI_ACTION_ADD_MESSAGE, definition);
- }
-
- public void setNewMessageName(String newName) {
- this.newName = newName;
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
- super.execute();
- if (newName == null || newName.equals("")) { //$NON-NLS-1$
- newName = NameUtil.buildUniqueMessageName(definition, "NewMessage"); //$NON-NLS-1$
- }
-
- AddMessageCommand command = new AddMessageCommand(definition, newName, true);
- command.run();
- message = (Message) command.getWSDLElement();
- formatChild(message.getElement());
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- public Message getNewMessage() {
- return message;
- }
-
- public Object getNewlyAddedComponent() {
- return message;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddPartCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddPartCommand.java
deleted file mode 100644
index 6504cfcab..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddPartCommand.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddPartCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-public class W11AddPartCommand extends W11TopLevelElementCommand implements IASDAddCommand {
- private Message message;
- private Part part;
-
- public W11AddPartCommand(Message message) {
- super(Messages._UI_ACTION_ADD_PART, message.getEnclosingDefinition());
- this.message = message;
- }
-
- public void execute() {
- try {
- beginRecording(message.getElement());
-
- AddPartCommand command = new AddPartCommand(message, NameUtil.buildUniquePartName(message, "NewPart")); //$NON-NLS-1$
- command.run();
- part = (Part) command.getWSDLElement();
- formatChild(part.getElement());
- }
- finally {
- endRecording(message.getElement());
- }
- }
-
- public Object getNewlyAddedComponent() {
- return part;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddSchemaCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddSchemaCommand.java
deleted file mode 100644
index 272633862..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddSchemaCommand.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddXSDSchemaCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-public class W11AddSchemaCommand extends W11TopLevelElementCommand implements IASDAddCommand {
- private Object schema;
-
- public W11AddSchemaCommand(Definition definition) {
- super(Messages._UI_ACTION_ADD_SCHEMA, definition);
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
- super.execute();
-
- String tns = definition.getTargetNamespace();
- List existingNamespaces = new ArrayList();
- Types types = definition.getETypes();
-
- if (types != null) {
- Iterator eeIt = types.getEExtensibilityElements().iterator();
- while (eeIt.hasNext()) {
- Object item = eeIt.next();
- if (item instanceof XSDSchemaExtensibilityElement) {
- XSDSchemaExtensibilityElement eeElement = (XSDSchemaExtensibilityElement) item;
- if (eeElement.getSchema() != null) {
- String ns = eeElement.getSchema().getTargetNamespace();
- existingNamespaces.add(ns);
- }
- }
- }
- }
- tns = NameUtil.getUniqueNameHelper(tns, existingNamespaces);
-
- AddXSDSchemaCommand command = new AddXSDSchemaCommand(definition, tns);
- command.run();
- formatChild(command.getWSDLElement().getElement());
- schema = command.getWSDLElement();
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- public Object getNewlyAddedComponent() {
- return schema;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddServiceCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddServiceCommand.java
deleted file mode 100644
index 86e1ae223..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddServiceCommand.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.binding.soap.internal.generator.SOAPContentGenerator;
-import org.eclipse.wst.wsdl.internal.generator.PortGenerator;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddServiceCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-public class W11AddServiceCommand extends W11TopLevelElementCommand implements IASDAddCommand {
- private Service service;
-
- public W11AddServiceCommand(Definition definition) {
- super(Messages._UI_ACTION_ADD_SERVICE, definition);
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
- super.execute();
- String newName = NameUtil.buildUniqueServiceName(definition);
- AddServiceCommand command = new AddServiceCommand(definition, newName, false);
- command.run();
- service = (Service) command.getWSDLElement();
-
- PortGenerator portGenerator = new PortGenerator(service);
- portGenerator.setContentGenerator(new SOAPContentGenerator());
- portGenerator.setName(NameUtil.buildUniquePortName(service, "NewPort"));
- portGenerator.generatePort();
-
- formatChild(service.getElement());
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- public Object getNewlyAddedComponent() {
- return service;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteCommand.java
deleted file mode 100644
index be923c844..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteCommand.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Binding;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11EndPoint;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Interface;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Operation;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Service;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IImport;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDSchema;
-import org.w3c.dom.Element;
-
-public class W11DeleteCommand extends W11TopLevelElementCommand {
- protected WSDLBaseAdapter object;
-
- public W11DeleteCommand(WSDLBaseAdapter object) {
- super(Messages._UI_ACTION_DELETE, null);
- this.object = object;
- }
-
- public void execute() {
- Element element = null;
- if (object.getTarget() instanceof WSDLElement) {
- element = ((WSDLElement) object.getTarget()).getElement();
- }
- else if (object.getTarget() instanceof XSDConcreteComponent) {
- element = ((XSDConcreteComponent) object.getTarget()).getElement();
- }
-
- try {
- beginRecording(element);
-
- if (object instanceof W11Service) {
- Service service = (Service) object.getTarget();
- service.getEnclosingDefinition().getEServices().remove(service);
- }
- else if (object instanceof W11EndPoint) {
- Service service = (Service) ((W11Service) ((W11EndPoint) object).getOwnerService()).getTarget();
- Port port = (Port) object.getTarget();
- service.getEPorts().remove(port);
- }
- else if (object instanceof W11Binding) {
- Binding binding = (Binding) object.getTarget();
- binding.getEnclosingDefinition().getEBindings().remove(binding);
- }
- else if (object instanceof W11Interface) {
- PortType portType = (PortType) object.getTarget();
- portType.getEnclosingDefinition().getEPortTypes().remove(portType);
- }
- else if (object instanceof W11Operation) {
- PortType portType = (PortType) ((W11Interface) ((W11Operation) object).getOwnerInterface()).getTarget();
- Operation operation = (Operation) object.getTarget();
- portType.getEOperations().remove(operation);
- }
- else if (object instanceof IParameter) {
- Part part = (Part) object.getTarget();
- Message message = (Message) part.eContainer();
- message.getEParts().remove(part);
- }
- else if (object instanceof IImport) {
- Import theImport = (Import) object.getTarget();
- theImport.getEnclosingDefinition().getEImports().remove(theImport);
- }
- else if (object instanceof W11Type) {
- W11Type w11Type = (W11Type) object;
- XSDSchema schema = (XSDSchema) w11Type.getTarget();
- XSDSchemaExtensibilityElement eeElement = (XSDSchemaExtensibilityElement) schema.eContainer();
- Types type = (Types) eeElement.getContainer();
- type.getEExtensibilityElements().remove(eeElement);
- }
- else if (object instanceof IMessageReference) {
- MessageReference messageRef = (MessageReference) object.getTarget();
- Operation operation = (Operation)messageRef.eContainer();
- if (messageRef instanceof Input) {
- operation.setEInput(null);
- }
- else if (messageRef instanceof Output) {
- operation.setEOutput(null);
- }
- else if (messageRef instanceof Fault) {
- operation.getEFaults().remove(messageRef);
- }
- }
- else if (object instanceof IMessage) {
- Message message = (Message) object.getTarget();
- message.getEnclosingDefinition().getEMessages().remove(message);
- }
- }
- finally {
- endRecording(element);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteParameterCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteParameterCommand.java
deleted file mode 100644
index 90125c529..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteParameterCommand.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDSchema;
-import org.w3c.dom.Element;
-
-
-public class W11DeleteParameterCommand extends W11TopLevelElementCommand {
- private IParameter parameter;
-
- public W11DeleteParameterCommand(IParameter param) {
- super(Messages._UI_ACTION_DELETE, null);
- this.parameter = param;
- }
-
- public void execute() {
- Object object = ((WSDLBaseAdapter) parameter).getTarget();
- Element element = null;
- if (object instanceof XSDElementDeclaration) {
- element = ((XSDElementDeclaration) object).getElement();
- }
- else if (object instanceof WSDLElement) {
- element = ((Part) object).getElement();
- }
-
- if (element != null) {
- try {
- beginRecording(element);
- delete();
- }
- finally {
- endRecording(element);
- }
- }
- }
-
- private void delete() {
- Object object = ((WSDLBaseAdapter) parameter).getTarget();
-
- if (object instanceof XSDElementDeclaration) {
- XSDConcreteComponent xsdComponent = ((XSDElementDeclaration) object).getContainer();
-
- if (xsdComponent instanceof XSDParticle) {
- XSDParticle particle = (XSDParticle) xsdComponent;
- if (particle.getContainer() instanceof XSDModelGroup) {
- XSDModelGroup modelGroup = (XSDModelGroup) particle.getContainer();
- if (modelGroup.getContents().size() >= 2) {
- modelGroup.getContents().remove(particle);
- }
- else {
- modelGroup.getContents().remove(particle);
- // TODO: We need the line below to delete the Message and Part
-// removeMessageAndPart(wParameter.getPart());
- // TODO: Remove the XSD components as well.....
- }
- }
- }
- else if (xsdComponent instanceof XSDSchema){
- // TODO: We need the line below to delete the Message and Part
-// removeMessageAndPart(wParameter.getPart()); // Delete the part as well
- XSDSchema xsdSchema = (XSDSchema) xsdComponent;
- xsdSchema.getContents().remove(object);
- }
- }
- else if (object instanceof Part) {
- removeMessageAndPart((Part) object);
- }
- else if (object instanceof Message) {
- removeMessageAndPart((Part) ((Message) object).getEParts().get(0));
- }
-
- // Do we want to remove the Input/Output/Fault MessageReference as well if
- // there are no more "inputs"?....
- }
-
- protected void removeMessageAndPart(Part part) {
- W11MessageReference wMessage = null;
- /*
- if (parameter instanceof W11ParameterForElement) {
- wMessage = (W11MessageReference) ((W11ParameterForElement) parameter).getOwner();
- }
- else */if (parameter instanceof W11ParameterForPart) {
- wMessage = (W11MessageReference) ((W11ParameterForPart) parameter).getOwner();
- }
-
- Message message = wMessage.getMessageReference().getEMessage();
- message.getEParts().remove(part);
-
- ((Definition) part.getEnclosingDefinition()).getEMessages().remove(message);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11EditNamespacesCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11EditNamespacesCommand.java
deleted file mode 100644
index 333d6518f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11EditNamespacesCommand.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
- package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.List;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.DOMNamespaceInfoManager;
-import org.w3c.dom.Element;
-
-public class W11EditNamespacesCommand extends W11TopLevelElementCommand {
- private List namespacesInfoList;
- private String targetNamespace;
- private String targetNamespacePrefix;
-
- public W11EditNamespacesCommand(Definition definition) {
- super(Messages._UI_EDIT_NAMESPACES, definition);
- }
-
- public void setNamespacesInfo(List namespaces) {
- namespacesInfoList = namespaces;
- }
-
- public void setTargetNamespace(String tns) {
- targetNamespace = tns;
- }
-
- public void setTargetNamespacePrefix(String prefix) {
- targetNamespacePrefix = prefix;
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
- super.execute();
- if (targetNamespacePrefix != null) {
- Element element = definition.getElement();
-
- // Remove the old prefix
- String oldPrefix = definition.getPrefix(definition.getTargetNamespace());
- element.removeAttribute("xmlns:"+oldPrefix);
-
- // Set the new prefix
- element.setAttribute("xmlns:" + targetNamespacePrefix, definition.getTargetNamespace());
- }
- if (targetNamespace != null) {
- String newValue = targetNamespace;
- String prefix = definition.getPrefix(definition.getTargetNamespace());
- definition.setTargetNamespace(newValue);
- definition.getElement().setAttribute("xmlns:" + prefix, newValue);
- }
-
- if (namespacesInfoList != null) {
- DOMNamespaceInfoManager namespaceInfoManager = new DOMNamespaceInfoManager();
-
- /*
- List namespaceInfoList = namespaceInfoManager.getNamespaceInfoList(element);
-// List oldNamespaceInfoList = NamespaceInfo.cloneNamespaceInfoList(namespaceInfoList);
-
- // here we store a copy of the old info for each NamespaceInfo
- // this info will be used in createPrefixMapping() to figure out how to update the document
- // in response to these changes
- for (Iterator i = namespaceInfoList.iterator(); i.hasNext();)
- {
- NamespaceInfo info = (NamespaceInfo) i.next();
- NamespaceInfo oldCopy = new NamespaceInfo(info);
- info.setProperty("oldCopy", oldCopy); //$NON-NLS-1$
- }
- */
-
- namespaceInfoManager.removeNamespaceInfo(definition.getElement());
- namespaceInfoManager.addNamespaceInfo(definition.getElement(), namespacesInfoList, false);
-
- /*
- // see if we need to rename any prefixes
- Map prefixMapping = createPrefixMapping(oldNamespaceInfoList, namespaceInfoList);
- if (prefixMapping.size() > 0)
- {
- //manager.getModel().aboutToChangeModel();
- ReplacePrefixAction replacePrefixAction = new ReplacePrefixAction(element, prefixMapping);
- replacePrefixAction.run();
- //manager.getModel().changedModel();
- }
- */
- }
-
- /*
- // Could not modify (more specifically remove) namespaces via model.....
- // should revisit this
- if (targetNamespace != null || targetNamespacePrefix != null) {
- Map map = definition.getNamespaces();
- String oldTargetNamespace = definition.getTargetNamespace();
- String oldPrefix = null;
-
- Iterator it = map.keySet().iterator();
- while (it.hasNext()) {
- String key = (String) it.next();
- Object value = map.get(key);
- if (value != null && oldTargetNamespace != null && value.equals(oldTargetNamespace)) {
- oldPrefix = key;
- break;
- }
- }
-
- if (oldPrefix != null && !oldPrefix.equals(targetNamespacePrefix)) {
- map.remove(oldPrefix);
- definition.updateElement();
- }
-
- String tns = "";
- String prefix = "";
- if (targetNamespace != null) {
- tns = targetNamespace;
- }
- if (targetNamespacePrefix != null) {
- prefix = targetNamespacePrefix;
- }
- definition.addNamespace(prefix, tns);
- definition.setTargetNamespace(tns);
-// map.put(prefix, tns);
- }
- */
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- /*
- protected Map createPrefixMapping(List oldList, List newList)
- {
- Map map = new Hashtable();
-
- Hashtable oldURIToPrefixTable = new Hashtable();
- for (Iterator i = oldList.iterator(); i.hasNext();)
- {
- NamespaceInfo oldInfo = (NamespaceInfo) i.next();
- oldURIToPrefixTable.put(oldInfo.uri, oldInfo);
- }
-
- for (Iterator i = newList.iterator(); i.hasNext();)
- {
- NamespaceInfo newInfo = (NamespaceInfo) i.next();
- NamespaceInfo oldInfo = (NamespaceInfo) oldURIToPrefixTable.get(newInfo.uri != null ? newInfo.uri : ""); //$NON-NLS-1$
-
- // if oldInfo is non null ... there's a matching URI in the old set
- // we can use its prefix to detemine out mapping
- //
- // if oldInfo is null ... we use the 'oldCopy' we stashed away
- // assuming that the user changed the URI and the prefix
- if (oldInfo == null)
- {
- oldInfo = (NamespaceInfo) newInfo.getProperty("oldCopy"); //$NON-NLS-1$
- }
-
- if (oldInfo != null)
- {
- String newPrefix = newInfo.prefix != null ? newInfo.prefix : ""; //$NON-NLS-1$
- String oldPrefix = oldInfo.prefix != null ? oldInfo.prefix : ""; //$NON-NLS-1$
- if (!oldPrefix.equals(newPrefix))
- {
- map.put(oldPrefix, newPrefix);
- }
- }
- }
- return map;
- }
- */
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11GenerateBindingCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11GenerateBindingCommand.java
deleted file mode 100644
index f7211fca9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11GenerateBindingCommand.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.wizards.BindingWizard;
-
-public class W11GenerateBindingCommand extends W11TopLevelElementCommand {
- protected Binding binding;
-
- public W11GenerateBindingCommand(Binding binding) {
- super(Messages._UI_GENERATE_BINDING_CONTENT, binding.getEnclosingDefinition());
- this.binding = binding;
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
-
- BindingWizard wizard = new BindingWizard(binding.getEnclosingDefinition(), binding, BindingWizard.KIND_REGENERATE_BINDING);
- wizard.setBindingName(ComponentReferenceUtil.getName(binding));
- wizard.setPortTypeName(ComponentReferenceUtil.getPortTypeReference(binding));
- WizardDialog wizardDialog = new WizardDialog(Display.getCurrent().getActiveShell(), wizard);
- wizardDialog.create();
- if (wizardDialog.open() == Window.OK) {
- formatChild(binding.getElement());
- }
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11RenameCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11RenameCommand.java
deleted file mode 100644
index ed92d091b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11RenameCommand.java
+++ /dev/null
@@ -1,256 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.actions.SmartRenameAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Binding;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11BindingMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11BindingOperation;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11EndPoint;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Interface;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Message;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Operation;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Service;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.wsdl.ui.internal.visitor.BindingRenamer;
-import org.eclipse.wst.wsdl.ui.internal.visitor.MessageRenamer;
-import org.eclipse.wst.wsdl.ui.internal.visitor.PortTypeRenamer;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
-import org.eclipse.wst.xsd.ui.internal.refactor.PerformUnsavedRefactoringOperation;
-import org.eclipse.wst.xsd.ui.internal.refactor.RefactoringComponent;
-import org.eclipse.wst.xsd.ui.internal.refactor.XMLRefactoringComponent;
-import org.eclipse.wst.xsd.ui.internal.refactor.rename.RenameComponentProcessor;
-import org.w3c.dom.Element;
-
-public class W11RenameCommand extends W11TopLevelElementCommand {
- protected WSDLBaseAdapter object;
- protected String newName = ""; //$NON-NLS-1$
-
- public W11RenameCommand(WSDLBaseAdapter object, String newName) {
- super(Messages._UI_ACTION_RENAME, (object.getTarget() instanceof WSDLElement) ? ((WSDLElement) object.getTarget()).getEnclosingDefinition() : null);
- this.object = object;
- this.newName = newName;
- }
-
- public void execute() {
- try {
- beginRecording(definition.getElement());
- String origName = null;
-
- if (object instanceof W11Description) {
- Definition definition = (Definition) object.getTarget();
- W11TopLevelElementCommand.ensureDefinition(definition);
- String ns = definition.getQName().getNamespaceURI();
- definition.setQName(new QName(ns, newName));
- }
- else if (object instanceof W11Service) {
- Service service = (Service) object.getTarget();
- String ns = service.getQName().getNamespaceURI();
- service.setQName(new QName(ns, newName));
- }
- else if (object instanceof W11EndPoint) {
- Port port = (Port) object.getTarget();
- port.setName(newName);
- }
- else if (object instanceof W11Binding) {
- Binding binding = (Binding) object.getTarget();
- origName = binding.getQName().getLocalPart();
- }
- else if (object instanceof W11Interface) {
- PortType portType = (PortType) object.getTarget();
- origName = portType.getQName().getLocalPart();
- }
- else if (object instanceof W11Operation) {
- Operation operation = (Operation) object.getTarget();
- SmartRenameAction action = new SmartRenameAction(operation, newName);
- renameOperationHelper(operation);
- action.run();
- }
- else if (object instanceof W11MessageReference) {
- WSDLElement element = (WSDLElement) ((W11MessageReference) object).getTarget();
- renameIOFHelper(element);
- }
- else if (object instanceof W11Message) {
- Message message = (Message) ((W11Message) object).getTarget();
-// Iterator parts = message.getEParts().iterator();
- origName = message.getQName().getLocalPart();
-
- SmartRenameAction action = new SmartRenameAction(message, newName);
- action.run(false);
-// while (parts.hasNext()) {
-// SmartRenameAction action = new SmartRenameAction(parts.next(), newName);
-// action.run();
-// }
- }
- else if (object instanceof W11ParameterForPart) {
- Part part = (Part) ((W11ParameterForPart) object).getTarget();
- SmartRenameAction action = new SmartRenameAction(part, newName);
- action.run();
- }
- else if (object instanceof W11BindingOperation) {
- BindingOperation bindingOperation = (BindingOperation) ((W11BindingOperation) object).getTarget();
- bindingOperation.setName(newName);
- bindingOperation.getEOperation().setName(newName);
- // TODO: We should go off and rename the associated PortType Operation
- }
- else if (object instanceof W11BindingMessageReference) {
- Object bindingMessageRef = ((W11BindingMessageReference) object).getTarget();
- if (bindingMessageRef instanceof BindingInput) {
- ((BindingInput) bindingMessageRef).setName(newName);
- ((BindingInput) bindingMessageRef).getEInput().setName(newName);
- // TODO: We should go off and rename the associated Porttype MessageReference
- }
- else if (bindingMessageRef instanceof BindingOutput) {
- ((BindingOutput) bindingMessageRef).setName(newName);
- ((BindingOutput) bindingMessageRef).getEOutput().setName(newName);
- // TODO: We should go off and rename the associated Porttype Output
- }
- else if (bindingMessageRef instanceof BindingFault) {
- ((BindingFault) bindingMessageRef).setName(newName);
- ((BindingFault) bindingMessageRef).getEFault().setName(newName);
- // TODO: We should go off and rename the associated Porttype Fault
- }
- }
-
- Object target = object.getTarget();
- if (target instanceof WSDLElement && origName != null) {
- WSDLElement component = (WSDLElement) target;
- String namespace = component.getEnclosingDefinition().getTargetNamespace();
-
- RefactoringComponent refactoringComponent = new XMLRefactoringComponent(
- component,
- (IDOMElement)component.getElement(),
- origName,
- namespace);
-
- RenameComponentProcessor processor = new RenameComponentProcessor(refactoringComponent, newName, true);
- RenameRefactoring refactoring = new RenameRefactoring(processor);
- PerformUnsavedRefactoringOperation refactorOperation = new PerformUnsavedRefactoringOperation(refactoring);
- refactorOperation.run(null);
-
- // rmah : due to the ordering in which refactoring is called
- // (i.e. the reference changes before the declaration changes)
- // our model references may be messed up at this point.
- // The line of code below gets the model to fix up its references.
- ((DefinitionImpl) component.getEnclosingDefinition()).reconcileReferences(true);
- }
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- // TODO: We should look at using the refactor mechanism to do this renaming....
- private void renameOperationHelper(Operation operation) {
- Definition definition = operation.getEnclosingDefinition();
- ComponentReferenceUtil util = new ComponentReferenceUtil(definition);
- Iterator it = util.getBindingOperations(operation).iterator();
-
- while (it.hasNext()) {
- BindingOperation bindingOperation = (BindingOperation) it.next();
- Element element = WSDLEditorUtil.getInstance().getElementForObject(bindingOperation);
- if (element != null)
- {
- element.setAttribute("name", newName);
- }
- // TODO: We should go through the model to rename.... Not the Element...
- // bindingOperation.setName(newName);
- }
- }
-
- // TODO: We should look at using the refactor mechanism to do this renaming....
- private void renameIOFHelper(WSDLElement object)
- {
- Definition definition = object.getEnclosingDefinition();
- ComponentReferenceUtil util = new ComponentReferenceUtil(definition);
- List list = null;
-
- if (object instanceof Input)
- {
- list = util.getBindingInputs((Input)object);
- }
- else if (object instanceof Output)
- {
- list = util.getBindingOutputs((Output)object);
- }
- else // fault
- {
- list = util.getBindingFaults((Fault)object);
- }
-
- if (list != null)
- {
- for (Iterator i = list.iterator(); i.hasNext(); )
- {
- Object bindingObject = i.next();
- renameModelObjectHelper(bindingObject, newName);
- }
- }
-
- renameModelObjectHelper(object, newName);
- }
-
- // TODO: We should look at using the refactor mechanism to do this renaming....
- private void renameModelObjectHelper(Object modelObject, String theNewName)
- {
- // TODO: We should go through the model to rename.... Not the Element...
- Element element = WSDLEditorUtil.getInstance().getElementForObject(modelObject);
- if (element != null)
- {
- element.setAttribute("name", theNewName);
- }
-
- if (modelObject instanceof Message)
- {
- MessageRenamer renamer = new MessageRenamer((Message)modelObject, theNewName);
- renamer.visitBindings();
- }
- else if (modelObject instanceof PortType)
- {
- PortTypeRenamer renamer = new PortTypeRenamer((PortType)modelObject, theNewName);
- renamer.visitBindings();
- }
- else if (modelObject instanceof Binding)
- {
- BindingRenamer renamer = new BindingRenamer((Binding)modelObject, theNewName);
- renamer.visitServices();
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderMessageReferencesCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderMessageReferencesCommand.java
deleted file mode 100644
index 5ce820e81..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderMessageReferencesCommand.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import javax.wsdl.OperationType;
-
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Operation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-
-public class W11ReorderMessageReferencesCommand extends W11TopLevelElementCommand {
- protected IMessageReference leftSibling;
- protected IMessageReference rightSibling;
- protected IMessageReference movingParameter;
-
- public W11ReorderMessageReferencesCommand(IMessageReference leftSibling, IMessageReference rightSibling, IMessageReference movingParameter) {
- super(Messages._UI_ACTION_REORDER_MESSAGE_REFERENCE, null);
- this.leftSibling = leftSibling;
- this.rightSibling = rightSibling;
- this.movingParameter = movingParameter;
- }
-
- public void execute() {
- IMessageReference leftSibElement = null;
- IMessageReference movingChild = null;
-
- if (leftSibling instanceof IMessageReference) {
- leftSibElement = (IMessageReference) leftSibling;
- }
- if (movingParameter instanceof IMessageReference) {
- movingChild = (IMessageReference) movingParameter;
- }
-
- W11Operation w11Operation = (W11Operation) movingChild.getOwnerOperation();
- Operation operation = (Operation) w11Operation.getTarget();
-
- try {
- beginRecording(operation.getElement());
-
- if (movingChild.getKind() == IMessageReference.KIND_INPUT) {
- if (leftSibElement == null) {
- // Input/Output style
- setInputOutputOrder(operation, true);
- }
- else if (leftSibElement != null && leftSibElement.getKind() == IMessageReference.KIND_INPUT) {
- if (rightSibling.getKind() == IMessageReference.KIND_OUTPUT) {
- // Input/Output style
- setInputOutputOrder(operation, true);
- }
- }
- else {
- // Output/Input style
- setInputOutputOrder(operation, false);
- }
- }
- else if (movingChild.getKind() == IMessageReference.KIND_OUTPUT) {
- if (leftSibElement == null) {
- // Output/Input style
- setInputOutputOrder(operation, false);
- }
- else if (leftSibElement != null && leftSibElement.getKind() == IMessageReference.KIND_OUTPUT) {
- if (rightSibling.getKind() == IMessageReference.KIND_INPUT) {
- // Output/Input style
- setInputOutputOrder(operation, false);
- }
- }
- else {
- // Input/Output style
- setInputOutputOrder(operation, true);
- }
- }
- }
- finally {
- endRecording(operation.getElement());
- }
- }
-
- // boolean inputFirst = true if the Input is the first in the order of Input and Output
- private void setInputOutputOrder(Operation operation, boolean inputFirst) {
- // We need to determine more info before we can set the style
- if (inputFirst && operation.getEInput() != null) {
- // Check if there is an Output
- if (operation.getEOutput() != null) {
- // Order is: Input, Output
- setOperationStyle(operation, OperationType.REQUEST_RESPONSE);
- }
- else {
- // Order is: Input
- setOperationStyle(operation, OperationType.ONE_WAY);
- }
- }
- else if (operation.getEOutput() != null) {
- // Check if there is an Input
- if (operation.getEInput() != null) {
- // Order is: Output, Input
- setOperationStyle(operation, OperationType.SOLICIT_RESPONSE);
- }
- else {
- // Order is: Output
- setOperationStyle(operation, OperationType.NOTIFICATION);
- }
- }
- }
-
- private void setOperationStyle(Operation operation, OperationType operationType) {
- // If there is no style to begin with, don't set one now
- if (operation.getStyle() == null) {
- return;
- }
-
- operation.setStyle(operationType);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderParametersCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderParametersCommand.java
deleted file mode 100644
index 3075e8249..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderParametersCommand.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.List;
-
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForAttribute;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForElement;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDParticle;
-
-public class W11ReorderParametersCommand extends W11TopLevelElementCommand {
- protected IParameter leftSibling;
- protected IParameter rightSibling;
- protected IParameter movingParameter;
-
- public W11ReorderParametersCommand(IParameter leftSibling, IParameter rightSibling, IParameter movingParameter) {
- super(Messages._UI_ACTION_REORDER_PART, null);
- this.leftSibling = leftSibling;
- this.rightSibling = rightSibling;
- this.movingParameter = movingParameter;
- }
-
- public void execute() {
- if (leftSibling instanceof W11ParameterForPart ||
- rightSibling instanceof W11ParameterForPart ||
- movingParameter instanceof W11ParameterForPart) {
- executeForPart();
- }
- else if (leftSibling instanceof W11ParameterForElement ||
- rightSibling instanceof W11ParameterForElement ||
- movingParameter instanceof W11ParameterForElement) {
- executeForElement();
- }
- else if (leftSibling instanceof W11ParameterForAttribute ||
- rightSibling instanceof W11ParameterForAttribute ||
- movingParameter instanceof W11ParameterForAttribute) {
-// executeForElement();
- }
- }
-
- private void executeForElement() {
- XSDElementDeclaration leftSibElement = null;
- XSDElementDeclaration rightSibElement = null;
- XSDElementDeclaration movingChild = null;
-
- XSDParticle movingParticle = null;
- XSDParticle leftParticle = null;
- XSDParticle rightParticle = null;
-
- if (leftSibling instanceof W11ParameterForElement) {
- leftSibElement = (XSDElementDeclaration) ((W11ParameterForElement) leftSibling).getTarget();
- leftParticle = (XSDParticle) leftSibElement.eContainer();
- }
- if (rightSibling instanceof W11ParameterForElement) {
- rightSibElement = (XSDElementDeclaration) ((W11ParameterForElement) rightSibling).getTarget();
- rightParticle = (XSDParticle) rightSibElement.eContainer();
- }
- if (movingParameter instanceof W11ParameterForElement) {
- movingChild = (XSDElementDeclaration) ((W11ParameterForElement) movingParameter).getTarget();
- movingParticle = (XSDParticle) movingChild.eContainer();
- }
-
- if (movingChild.equals(leftSibElement) || movingChild.equals(rightSibElement)) {
- return;
- }
-
- if (movingChild != null) {
- try {
- beginRecording(movingParticle.getElement());
-
- XSDModelGroup container = (XSDModelGroup) movingParticle.getContainer();
- List particles = container.getContents();
-
- particles.remove(movingParticle);
-
- int leftIndex = -1, rightIndex = -1;
- if (leftParticle != null) {
- leftIndex = particles.indexOf(leftParticle);
- }
- if (rightParticle!= null) {
- rightIndex = particles.indexOf(rightParticle);
- }
-
- if (leftIndex == -1) {
- // Add moving child to the front
- particles.add(0, movingParticle);
- }
- else if (rightIndex == -1) {
- // Add moving child to the end
- particles.add(movingParticle);
- }
- else {
- // Add moving child after the occurence of the left sibling
- particles.add(leftIndex + 1, movingParticle);
- }
- }
- finally {
- endRecording(movingParticle.getElement());
- }
- }
- }
-
- private void executeForPart() {
- Part leftSibElement = null;
- Part rightSibElement = null;
- Part movingChild = null;
-
- if (leftSibling instanceof W11ParameterForPart) {
- leftSibElement = (Part) ((W11ParameterForPart) leftSibling).getTarget();
- }
- if (rightSibling instanceof W11ParameterForPart) {
- rightSibElement = (Part) ((W11ParameterForPart) rightSibling).getTarget();
- }
- if (movingParameter instanceof W11ParameterForPart) {
- movingChild = (Part) ((W11ParameterForPart) movingParameter).getTarget();
- }
-
- if (movingChild.equals(leftSibElement) || movingChild.equals(rightSibElement)) {
- return;
- }
-
- if (movingChild != null) {
- try {
- beginRecording(movingChild.getElement());
- Message message = (Message) movingChild.eContainer();
- List parts = message.getEParts();
-
- parts.remove(movingChild);
-
- int leftIndex = -1, rightIndex = -1;
- if (leftSibElement != null) {
- leftIndex = parts.indexOf(leftSibElement);
- }
- if (rightSibElement != null) {
- rightIndex = parts.indexOf(rightSibElement);
- }
-
- if (leftIndex == -1) {
- // Add moving child to the front
- parts.add(0, movingChild);
- }
- else if (rightIndex == -1) {
- // Add moving child to the end
- parts.add(movingChild);
- }
- else {
- // Add moving child after the occurence of the left sibling
- parts.add(leftIndex + 1, movingChild);
- }
- }
- finally {
- endRecording(movingChild.getElement());
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetAddressCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetAddressCommand.java
deleted file mode 100644
index fc0022236..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetAddressCommand.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMDocument;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMElementDeclaration;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMNode;
-import org.eclipse.wst.xml.core.internal.contentmodel.modelquery.ModelQuery;
-import org.eclipse.wst.xml.core.internal.contentmodel.modelquery.ModelQueryAction;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.DOMContentBuilder;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.DOMContentBuilderImpl;
-import org.eclipse.wst.xml.core.internal.modelquery.ModelQueryUtil;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.provisional.format.FormatProcessorXML;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class W11SetAddressCommand extends W11TopLevelElementCommand {
- private Port port;
- private String newAddress;
-
- public W11SetAddressCommand(Port port, String newAddress) {
- super("", port.getEnclosingDefinition()); // TODO: Need to add String here...
- this.port = port;
- this.newAddress = newAddress;
- }
-
- public void execute() {
- try {
- beginRecording(port.getElement());
-
- // Should the actual set address code live in it's 'own separate' command??
- if (!setAddress()) {
- createNewExtensibilityElement();
- setAddress();
- }
- }
- finally {
- endRecording(port.getElement());
- }
- }
-
- private boolean setAddress() {
- boolean success = false;
-
- if (port.getEExtensibilityElements().size() > 0) {
- Iterator eeIt = port.getEExtensibilityElements().iterator();
- while (eeIt.hasNext()) {
- ExtensibilityElement ee = ((ExtensibilityElement) eeIt.next());
- if (ee instanceof SOAPAddress) {
- ((SOAPAddress) ee).setLocationURI(newAddress);
- success = true;
- }
- else if (ee instanceof HTTPAddress) {
- ((HTTPAddress) ee).setLocationURI(newAddress);
- success = true;
- }
- // ee.getElement().setAttribute("location", newAddress);
- }
- }
-
- return success;
- }
-
- /*
- * TODO: rmah: We need to clean the code below.....
- * Things should be wrapped up and placed in a common location. Currently, this is
- * from the AddEEMenuActionContriubor.java class
- */
- private void createNewExtensibilityElement() {
- List modelQueryActionList = new ArrayList();
- ModelQuery modelQuery = ModelQueryUtil.getModelQuery(port.getElement().getOwnerDocument());
- CMElementDeclaration ed = modelQuery.getCMElementDeclaration(port.getElement());
-
- if (ed != null)
- {
- // add insert child node actions
- //
- int ic = ModelQuery.INCLUDE_CHILD_NODES;
- int vc = ModelQuery.VALIDITY_STRICT;
-
- modelQuery.getInsertActions(port.getElement(), ed, -1, ic, vc, modelQueryActionList);
- }
-
- createNewExtensibilityElementHelper1(modelQueryActionList);
- }
-
- private void createNewExtensibilityElementHelper1(List modelQueryActionList)
- {
- for (Iterator i = modelQueryActionList.iterator(); i.hasNext(); )
- {
- ModelQueryAction action = (ModelQueryAction)i.next();
- CMNode cmnode = action.getCMNode();
- if (cmnode != null)
- {
- boolean isOtherNamespace = false;
- CMDocument cmDocument = (CMDocument)cmnode.getProperty("CMDocument"); //$NON-NLS-1$
- if (cmDocument != null)
- {
- String namespaceURI = (String)cmDocument.getProperty("http://org.eclipse.wst/cm/properties/targetNamespaceURI"); //$NON-NLS-1$
- isOtherNamespace = namespaceURI != null && !namespaceURI.equals(WSDLConstants.WSDL_NAMESPACE_URI);
- }
-
- if (isOtherNamespace)
- {
- int cmNodeType = cmnode.getNodeType();
- if (action.getKind() == ModelQueryAction.INSERT)
- {
- switch (cmNodeType)
- {
- case CMNode.ELEMENT_DECLARATION :
- {
- createNewExtensibilityElementHelper2((CMElementDeclaration)cmnode, action.getParent(), action.getStartIndex());
- return;
- }
- }
- }
- }
- }
- }
- }
-
- public void createNewExtensibilityElementHelper2(CMNode cmnode, Node parent, int index)
- {
- if (cmnode != null && parent != null)
- {
- Document document = parent.getNodeType() == Node.DOCUMENT_NODE ? (Document)parent : parent.getOwnerDocument();
-
- DOMContentBuilder builder = new DOMContentBuilderImpl(document);
- builder.setProperty(DOMContentBuilder.PROPERTY_BUILD_BLANK_TEXT_NODES, Boolean.TRUE);
- builder.setBuildPolicy(DOMContentBuilder.BUILD_ONLY_REQUIRED_CONTENT);
- builder.build(parent, cmnode);
- insertNodesAtIndex(parent, builder.getResult(), index, true);
- }
- }
-
- public void insertNodesAtIndex(Node parent, List list, int index, boolean format)
- {
- NodeList nodeList = parent.getChildNodes();
- if (index == -1)
- {
- index = nodeList.getLength();
- }
- Node refChild = (index < nodeList.getLength()) ? nodeList.item(index) : null;
-
- // here we consider the case where the previous node is a 'white space' Text node
- // we should really do the insert before this node
- //
- int prevIndex = index - 1;
- Node prevChild = (prevIndex < nodeList.getLength()) ? nodeList.item(prevIndex) : null;
- if (isWhitespaceTextNode(prevChild))
- {
- refChild = prevChild;
- }
-
- for (Iterator i = list.iterator(); i.hasNext(); )
- {
- Node newNode = (Node)i.next();
-
- if (newNode.getNodeType() == Node.ATTRIBUTE_NODE)
- {
- Element parentElement = (Element)parent;
- parentElement.setAttributeNode((Attr)newNode);
- }
- else
- {
- parent.insertBefore(newNode, refChild);
- }
- }
-
- for (Iterator i = list.iterator(); i.hasNext(); )
- {
- Node newNode = (Node)i.next();
- if (format)
- {
- FormatProcessorXML formatProcessorXML = new FormatProcessorXML();
- formatProcessorXML.formatNode((IDOMNode)newNode);
- }
- }
- //setViewerSelection(list);
- }
-
- protected boolean isWhitespaceTextNode(Node node)
- {
- return (node != null) && (node.getNodeType() == Node.TEXT_NODE) && (node.getNodeValue().trim().length() == 0);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetBindingCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetBindingCommand.java
deleted file mode 100644
index 68a700f07..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetBindingCommand.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-
-public class W11SetBindingCommand extends W11TopLevelElementCommand {
- private Port port;
- private Binding binding;
-
- public W11SetBindingCommand(Port port, Binding binding) {
- super(Messages._UI_ACTION_SET_BINDING, port.getEnclosingDefinition());
- this.port = port;
- this.binding = binding;
- }
-
- public void execute() {
- try {
- beginRecording(port.getElement());
- port.setEBinding(binding);
- }
- finally {
- endRecording(port.getElement());
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetElementCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetElementCommand.java
deleted file mode 100644
index b30b1243c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetElementCommand.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.List;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDElementReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDElementReferenceEditManager;
-import org.eclipse.xsd.XSDSchema;
-
-public class W11SetElementCommand extends W11TopLevelElementCommand {
- private Object parent;
- private String action;
- private boolean continueApply;
-
- // TODO: rmah: signature of this method should changed post WTP 1.5. Instead of taking in
- // an "Object parent", it should be "Part parent".
- public W11SetElementCommand(Object parent, String action) {
- super(Messages._UI_ACTION_SET_ELEMENT, ((Part) parent).getEnclosingDefinition());
- this.parent = parent;
- this.action = action;
- }
-
- public void execute()
- {
- try {
- beginRecording(definition.getElement());
-
- ComponentReferenceEditManager componentReferenceEditManager = getComponentReferenceEditManager();
- continueApply = true;
- if (parent instanceof Part)
- {
- Part part = (Part) parent;
- if (action.equals(IParameter.SET_NEW_ACTION_ID))
- {
- ComponentSpecification newValue = (ComponentSpecification)invokeDialog(componentReferenceEditManager.getNewDialog());
-
- // Set the reference to the new type
- if (continueApply)
- componentReferenceEditManager.modifyComponentReference(part, newValue);
- }
- else
- {
- ComponentSpecification newValue = (ComponentSpecification)invokeDialog(componentReferenceEditManager.getBrowseDialog());
- if (continueApply)
- componentReferenceEditManager.modifyComponentReference(part, newValue);
- }
- formatChild(part.getElement());
- }
- }
- finally {
- endRecording(definition.getElement());
- }
- }
-
- private Object invokeDialog(IComponentDialog dialog)
- {
- Object newValue = null;
-
- if (dialog == null)
- {
- return null;
- }
-
- if (dialog.createAndOpen() == Window.OK)
- {
- newValue = dialog.getSelectedComponent();
- }
- else
- {
- continueApply = false;
- }
-
- return newValue;
- }
-
- protected ComponentReferenceEditManager getComponentReferenceEditManager()
- {
- ComponentReferenceEditManager result = null;
- IEditorPart editor = ASDEditorPlugin.getActiveEditor();
- if (editor != null)
- {
- result = (ComponentReferenceEditManager)editor.getAdapter(XSDElementReferenceEditManager.class);
-
- if (editor instanceof InternalWSDLMultiPageEditor)
- {
- InternalWSDLMultiPageEditor wsdlEditor = (InternalWSDLMultiPageEditor) editor;
-
- List types = wsdlEditor.getModel().getTypes();
- XSDSchema[] schemas = new XSDSchema[types.size()];
- for (int index = 0; index < types.size(); index++) {
- W11Type type = (W11Type) types.get(index);
- schemas[index] = (XSDSchema) type.getTarget();
- }
-
- ((WSDLXSDElementReferenceEditManager) result).setSchemas(schemas);
-
- return result;
- }
- }
- return result;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetInterfaceCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetInterfaceCommand.java
deleted file mode 100644
index 41882d54a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetInterfaceCommand.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-
-public class W11SetInterfaceCommand extends W11TopLevelElementCommand {
- private Binding binding;
- private PortType portType;
-
- public W11SetInterfaceCommand(Binding binding, PortType portType) {
- super(Messages._UI_ACTION_SET_PORTTYPE, binding.getEnclosingDefinition());
- this.binding = binding;
- this.portType = portType;
- }
-
- public void execute() {
- try {
- beginRecording(binding.getElement());
- binding.setEPortType(portType);
- }
- finally {
- endRecording(binding.getElement());
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetTypeCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetTypeCommand.java
deleted file mode 100644
index ae8f6094e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetTypeCommand.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.commands;
-
-import java.util.List;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDTypeReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDTypeReferenceEditManager;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDSchema;
-
-public class W11SetTypeCommand extends W11TopLevelElementCommand {
- private Object parent;
- private String action;
- private boolean continueApply;
-
- public W11SetTypeCommand(Object parent, String action) {
- super(Messages._UI_ACTION_SET_TYPE, null);
- this.parent = parent;
- this.action = action;
- }
-
- public void execute()
- {
- try {
- if (parent instanceof WSDLElement) {
- beginRecording(((WSDLElement) parent).getElement());
- }
-
- ComponentReferenceEditManager componentReferenceEditManager = getComponentReferenceEditManager();
- continueApply = true;
- if (action.equals(IParameter.SET_NEW_ACTION_ID))
- {
- ComponentSpecification newValue = (ComponentSpecification)invokeDialog(componentReferenceEditManager.getNewDialog());
-
- // Set the reference to the new type
- if (continueApply)
- componentReferenceEditManager.modifyComponentReference(parent, newValue);
- }
- else
- {
- ComponentSpecification newValue = (ComponentSpecification)invokeDialog(componentReferenceEditManager.getBrowseDialog());
- if (continueApply)
- componentReferenceEditManager.modifyComponentReference(parent, newValue);
- }
-
- // Format
- if (parent instanceof WSDLElement) {
- formatChild(((WSDLElement) parent).getElement());
- }
- else if (parent instanceof XSDConcreteComponent) {
- formatChild(((XSDConcreteComponent) parent).getElement());
- }
- }
- finally {
- if (parent instanceof WSDLElement) {
- endRecording(((WSDLElement) parent).getElement());
- }
- }
- }
-
- private Object invokeDialog(IComponentDialog dialog)
- {
- Object newValue = null;
-
- if (dialog == null)
- {
- return null;
- }
-
- if (dialog.createAndOpen() == Window.OK)
- {
- newValue = dialog.getSelectedComponent();
- }
- else
- {
- continueApply = false;
- }
-
- return newValue;
- }
-
- protected ComponentReferenceEditManager getComponentReferenceEditManager()
- {
- ComponentReferenceEditManager result = null;
- IEditorPart editor = ASDEditorPlugin.getActiveEditor();
- if (editor != null)
- {
- result = (ComponentReferenceEditManager)editor.getAdapter(XSDTypeReferenceEditManager.class);
-
- if (editor instanceof InternalWSDLMultiPageEditor)
- {
- InternalWSDLMultiPageEditor wsdlEditor = (InternalWSDLMultiPageEditor) editor;
-
- List types = wsdlEditor.getModel().getTypes();
- XSDSchema[] schemas = new XSDSchema[types.size()];
- for (int index = 0; index < types.size(); index++) {
- W11Type type = (W11Type) types.get(index);
- schemas[index] = (XSDSchema) type.getTarget();
- }
-
- ((WSDLXSDTypeReferenceEditManager) result).setSchemas(schemas);
-
- return result;
- }
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11AddressExtensibilityElementAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11AddressExtensibilityElementAdapter.java
deleted file mode 100644
index cea279d54..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11AddressExtensibilityElementAdapter.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.specialized;
-
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-
-public class W11AddressExtensibilityElementAdapter extends W11ExtensibilityElementAdapter
-{
- // TODO... make this class abstract and provide concrete implementations in
- // SOAP and HTTP packages. The WSDLAdapterFactory needs to know to delegate to extension
- // adapters to support the addition of more extension languages
- //
- public String getLocationURI()
- {
- String address = null;
- if (target instanceof SOAPAddress)
- {
- address = ((SOAPAddress) target).getLocationURI();
- }
- else if (target instanceof HTTPAddress)
- {
- address = ((HTTPAddress) target).getLocationURI();
- }
- return address;
- }
-
- public void setLocationURI(String address)
- {
- if (target instanceof SOAPAddress)
- {
- ((SOAPAddress) target).setLocationURI(address);
- }
- else if (target instanceof HTTPAddress)
- {
- ((HTTPAddress) target).setLocationURI(address);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11ExtensibilityElementAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11ExtensibilityElementAdapter.java
deleted file mode 100644
index 0dd4fb990..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11ExtensibilityElementAdapter.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.specialized;
-
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-
-public class W11ExtensibilityElementAdapter extends WSDLBaseAdapter
-{
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitor.java
deleted file mode 100644
index 8ce92457c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitor.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.visitor;
-
-import java.util.Iterator;
-import org.eclipse.xsd.XSDAttributeDeclaration;
-import org.eclipse.xsd.XSDAttributeGroupDefinition;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDComplexTypeContent;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDIdentityConstraintDefinition;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDModelGroupDefinition;
-import org.eclipse.xsd.XSDNotationDeclaration;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDParticleContent;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.eclipse.xsd.XSDWildcard;
-
-public class W11XSDVisitor
-{
- public W11XSDVisitor()
- {
- }
-
- protected XSDSchema schema;
-
- public void visitSchema(XSDSchema schema)
- {
- this.schema = schema;
- for (Iterator iterator = schema.getAttributeDeclarations().iterator(); iterator.hasNext();)
- {
- XSDAttributeDeclaration attr = (XSDAttributeDeclaration) iterator.next();
- visitAttributeDeclaration(attr);
- }
- for (Iterator iterator = schema.getTypeDefinitions().iterator(); iterator.hasNext();)
- {
- XSDTypeDefinition type = (XSDTypeDefinition) iterator.next();
- visitTypeDefinition(type);
- }
- for (Iterator iterator = schema.getElementDeclarations().iterator(); iterator.hasNext();)
- {
- XSDElementDeclaration element = (XSDElementDeclaration) iterator.next();
- visitElementDeclaration(element);
- }
- for (Iterator iterator = schema.getIdentityConstraintDefinitions().iterator(); iterator.hasNext();)
- {
- XSDIdentityConstraintDefinition identityConstraint = (XSDIdentityConstraintDefinition) iterator.next();
- visitIdentityConstraintDefinition(identityConstraint);
- }
- for (Iterator iterator = schema.getModelGroupDefinitions().iterator(); iterator.hasNext();)
- {
- XSDModelGroupDefinition modelGroup = (XSDModelGroupDefinition) iterator.next();
- visitModelGroupDefinition(modelGroup);
- }
- for (Iterator iterator = schema.getAttributeGroupDefinitions().iterator(); iterator.hasNext();)
- {
- XSDAttributeGroupDefinition attributeGroup = (XSDAttributeGroupDefinition) iterator.next();
- visitAttributeGroupDefinition(attributeGroup);
- }
- for (Iterator iterator = schema.getNotationDeclarations().iterator(); iterator.hasNext();)
- {
- XSDNotationDeclaration element = (XSDNotationDeclaration) iterator.next();
- visitNotationDeclaration(element);
- }
-
- }
-
- public void visitAttributeDeclaration(XSDAttributeDeclaration attr)
- {
- }
-
- public void visitTypeDefinition(XSDTypeDefinition type)
- {
- if (type instanceof XSDSimpleTypeDefinition)
- {
- visitSimpleTypeDefinition((XSDSimpleTypeDefinition)type);
- }
- else if (type instanceof XSDComplexTypeDefinition)
- {
- visitComplexTypeDefinition((XSDComplexTypeDefinition)type);
- }
- }
-
- public void visitElementDeclaration(XSDElementDeclaration element)
- {
- if (element.isElementDeclarationReference())
- {
- }
- else if (element.getAnonymousTypeDefinition() != null)
- {
- visitTypeDefinition(element.getAnonymousTypeDefinition());
- }
- }
-
- public void visitIdentityConstraintDefinition(XSDIdentityConstraintDefinition identityConstraint)
- {
- }
-
- public void visitModelGroupDefinition(XSDModelGroupDefinition modelGroupDef)
- {
- if (!modelGroupDef.isModelGroupDefinitionReference())
- {
- if (modelGroupDef.getModelGroup() != null)
- {
- visitModelGroup(modelGroupDef.getModelGroup());
- }
- }
- else
- {
- XSDModelGroup modelGroup = modelGroupDef.getResolvedModelGroupDefinition().getModelGroup();
- if (modelGroup != null)
- {
- visitModelGroup(modelGroup);
- }
- }
- }
-
- public void visitAttributeGroupDefinition(XSDAttributeGroupDefinition attributeGroup)
- {
- for (Iterator it = attributeGroup.getContents().iterator(); it.hasNext(); )
- {
- Object o = it.next();
- if (o instanceof XSDAttributeUse)
- {
- XSDAttributeUse attrUse = (XSDAttributeUse)o;
- visitAttributeDeclaration(attrUse.getContent());
- }
- else if (o instanceof XSDAttributeGroupDefinition)
- {
- XSDAttributeGroupDefinition attrGroup = (XSDAttributeGroupDefinition)o;
- visitAttributeGroupDefinition(attrGroup);
- }
- }
- }
-
- public void visitNotationDeclaration(XSDNotationDeclaration notation)
- {
- }
-
- public void visitSimpleTypeDefinition(XSDSimpleTypeDefinition type)
- {
- }
-
- public void visitComplexTypeDefinition(XSDComplexTypeDefinition type)
- {
- if (type.getContent() != null)
- {
- XSDComplexTypeContent complexContent = type.getContent();
- if (complexContent instanceof XSDSimpleTypeDefinition)
- {
- visitSimpleTypeDefinition((XSDSimpleTypeDefinition)complexContent);
- }
- else if (complexContent instanceof XSDParticle)
- {
- visitParticle((XSDParticle) complexContent);
- }
- }
- }
-
- public void visitParticle(XSDParticle particle)
- {
- visitParticleContent(particle.getContent());
- }
-
- public void visitParticleContent(XSDParticleContent particleContent)
- {
- if (particleContent instanceof XSDModelGroupDefinition)
- {
- visitModelGroupDefinition((XSDModelGroupDefinition) particleContent);
- }
- else if (particleContent instanceof XSDModelGroup)
- {
- visitModelGroup((XSDModelGroup)particleContent);
- }
- else if (particleContent instanceof XSDElementDeclaration)
- {
- visitElementDeclaration((XSDElementDeclaration)particleContent);
- }
- else if (particleContent instanceof XSDWildcard)
- {
- visitWildcard((XSDWildcard)particleContent);
- }
- }
-
- public void visitModelGroup(XSDModelGroup modelGroup)
- {
- if (modelGroup.getContents() != null)
- {
- for (Iterator iterator = modelGroup.getContents().iterator(); iterator.hasNext();)
- {
- XSDParticle particle = (XSDParticle) iterator.next();
- visitParticle(particle);
- }
- }
- }
-
- public void visitWildcard(XSDWildcard wildcard)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitorForFields.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitorForFields.java
deleted file mode 100644
index 02e6dd4cd..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitorForFields.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.adapters.visitor;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.xsd.XSDAttributeDeclaration;
-import org.eclipse.xsd.XSDAttributeGroupContent;
-import org.eclipse.xsd.XSDAttributeGroupDefinition;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDModelGroup;
-
-public class W11XSDVisitorForFields extends W11XSDVisitor
-{
- public W11XSDVisitorForFields()
- {
- }
-
- List concreteComponentList = new ArrayList();
- List thingsWeNeedToListenTo = new ArrayList();
-
- public void visitComplexTypeDefinition(XSDComplexTypeDefinition type)
- {
- super.visitComplexTypeDefinition(type);
- if (type.getAttributeContents() != null)
- {
- for (Iterator iter = type.getAttributeContents().iterator(); iter.hasNext(); )
- {
- XSDAttributeGroupContent attrGroupContent = (XSDAttributeGroupContent)iter.next();
- if (attrGroupContent instanceof XSDAttributeUse)
- {
- XSDAttributeUse attrUse = (XSDAttributeUse)attrGroupContent;
- concreteComponentList.add(attrUse);
- }
- else if (attrGroupContent instanceof XSDAttributeGroupDefinition)
- {
- XSDAttributeGroupDefinition attrGroup = (XSDAttributeGroupDefinition)attrGroupContent;
- thingsWeNeedToListenTo.add(attrGroup);
- visitAttributeGroupDefinition(attrGroup);
- }
- }
- }
- }
-
-
- public void visitModelGroup(XSDModelGroup modelGroup)
- {
- super.visitModelGroup(modelGroup);
- thingsWeNeedToListenTo.add(modelGroup);
- }
-
- public void visitAttributeGroupDefinition(XSDAttributeGroupDefinition attributeGroup)
- {
- for (Iterator it = attributeGroup.getContents().iterator(); it.hasNext(); )
- {
- Object o = it.next();
- if (o instanceof XSDAttributeUse)
- {
- XSDAttributeUse attributeUse = (XSDAttributeUse)o;
- concreteComponentList.add(attributeUse);
- }
- else if (o instanceof XSDAttributeGroupDefinition)
- {
- XSDAttributeGroupDefinition attrGroup = (XSDAttributeGroupDefinition)o;
- thingsWeNeedToListenTo.add(attrGroup);
- if (attrGroup.isAttributeGroupDefinitionReference())
- {
- attrGroup = attrGroup.getResolvedAttributeGroupDefinition();
- visitAttributeGroupDefinition(attrGroup);
- }
- }
- }
- }
-
- public void visitElementDeclaration(XSDElementDeclaration element)
- {
- //super.visitElementDeclaration(element);
- concreteComponentList.add(element);
- }
-
- public void visitAttributeDeclaration(XSDAttributeDeclaration attr)
- {
- super.visitAttributeDeclaration(attr);
- concreteComponentList.add(attr);
- }
-
-
- public List getConcreteComponentList()
- {
- return concreteComponentList;
- }
-
-
- public List getThingsWeNeedToListenTo()
- {
- return thingsWeNeedToListenTo;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingCommand.java
deleted file mode 100644
index 21251bb3e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingCommand.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-
-public final class AddBindingCommand extends WSDLElementCommand
-{
- private Definition definition;
- private String localName;
- private Binding binding;
-
- public AddBindingCommand
- (Definition definition,
- String localName)
- {
- this.definition = definition;
- this.localName = localName;
- }
-
- public WSDLElement getWSDLElement()
- {
- return binding;
- }
-
- public void run()
- {
- binding = WSDLFactory.eINSTANCE.createBinding();
- binding.setQName(new QName(definition.getTargetNamespace(),localName));
- binding.setEnclosingDefinition(definition);
- definition.addBinding(binding);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingFaultCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingFaultCommand.java
deleted file mode 100644
index 0099bb306..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingFaultCommand.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-public final class AddBindingFaultCommand extends WSDLElementCommand
-{
- BindingFault bindingFault;
- BindingOperation bindingOperation;
- String name;
-
- public AddBindingFaultCommand(BindingOperation bindingOperation, String name)
- {
- this.bindingOperation = bindingOperation;
- this.name = name;
- }
-
- public void run()
- {
- bindingFault = WSDLFactory.eINSTANCE.createBindingFault();
- bindingFault.setName(name);
- bindingFault.setEnclosingDefinition(bindingOperation.getEnclosingDefinition());
- bindingOperation.addBindingFault((BindingFault)bindingFault);
- }
-
- public WSDLElement getWSDLElement()
- {
- return bindingFault;
- }
-}
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingInputCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingInputCommand.java
deleted file mode 100644
index fa8825bd1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingInputCommand.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-public final class AddBindingInputCommand extends WSDLElementCommand
-{
- BindingInput bindingInput;
- BindingOperation bindingOperation;
- String name;
-
- public AddBindingInputCommand(BindingOperation bindingOperation, String name)
- {
- this.bindingOperation = bindingOperation;
- this.name = name;
- }
-
- public void run()
- {
- bindingInput = WSDLFactory.eINSTANCE.createBindingInput();
- bindingInput.setName(name);
- bindingInput.setEnclosingDefinition(bindingOperation.getEnclosingDefinition());
- bindingOperation.setBindingInput((BindingInput)bindingInput);
- }
-
- public WSDLElement getWSDLElement()
- {
- return bindingInput;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOperationCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOperationCommand.java
deleted file mode 100644
index 09a4644d7..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOperationCommand.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-public final class AddBindingOperationCommand extends WSDLElementCommand
-{
- private Binding binding;
-
- private String name;
- private String bindingInputName = ""; //$NON-NLS-1$
- private String bindingOutputName = ""; //$NON-NLS-1$
- private String bindingFaultName =""; //$NON-NLS-1$
-
- private BindingOperation bindingOperation;
-
- private boolean createBindingInput = false;
- private boolean createBindingOutput = false;
- private boolean createBindingFault = false;
-
- public AddBindingOperationCommand(Binding binding,String name)
- {
- this.binding = binding;
- this.name = name;
- }
-
- public AddBindingOperationCommand
- (Binding binding,
- String name,
- boolean createBindingInput,
- boolean createBindingOutput,
- boolean createBindingFault)
- {
- this.binding = binding;
- this.name = name;
- this.createBindingInput = createBindingInput;
- this.createBindingOutput = createBindingOutput;
- this.createBindingFault = createBindingFault;
- }
-
- public void run()
- {
- bindingOperation = WSDLFactory.eINSTANCE.createBindingOperation();
- bindingOperation.setName(name);
- bindingOperation.setEnclosingDefinition(binding.getEnclosingDefinition());
- binding.addBindingOperation(bindingOperation);
-
- WSDLElementCommand command = null;
- if (createBindingInput)
- {
- command = new AddBindingInputCommand(bindingOperation,bindingInputName);
- command.run();
- }
-
- if (createBindingOutput)
- {
- command = new AddBindingOutputCommand(bindingOperation,bindingOutputName);
- command.run();
- }
-
- if (createBindingFault)
- {
- command = new AddBindingFaultCommand(bindingOperation,bindingFaultName);
- command.run();
- }
- }
-
- public WSDLElement getWSDLElement()
- {
- return bindingOperation;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-
- public void setBindingInputName(String name)
- {
- this.bindingInputName = name;
- }
-
- public void setBindingOutputName(String name)
- {
- this.bindingOutputName = name;
- }
-
- public void setBindingFaultName(String name)
- {
- this.bindingFaultName = name;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOutputCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOutputCommand.java
deleted file mode 100644
index 480da5079..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOutputCommand.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-public final class AddBindingOutputCommand extends WSDLElementCommand
-{
- BindingOutput bindingOutput;
- BindingOperation bindingOperation;
- String name;
-
- public AddBindingOutputCommand(BindingOperation bindingOperation, String name)
- {
- this.bindingOperation = bindingOperation;
- this.name = name;
- }
-
- public void run()
- {
- bindingOutput = WSDLFactory.eINSTANCE.createBindingOutput();
- bindingOutput.setName(name);
- bindingOutput.setEnclosingDefinition(bindingOperation.getEnclosingDefinition());
- bindingOperation.setBindingOutput((BindingOutput)bindingOutput);
- }
-
- public WSDLElement getWSDLElement()
- {
- return bindingOutput;
- }
-}
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddExtensionElementCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddExtensionElementCommand.java
deleted file mode 100644
index 1831640ea..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddExtensionElementCommand.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable;
-import org.eclipse.wst.xsd.ui.internal.common.commands.AddExtensionCommand;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public class AddExtensionElementCommand extends AddExtensionCommand
-{
- ExtensibleElement input;
- XSDElementDeclaration element;
- Element appInfo;
- Element newElement;
-
- public AddExtensionElementCommand(String label, ExtensibleElement input, XSDElementDeclaration element)
- {
- super(label);
- this.input = input;
- this.element = element;
- }
-
- public void execute()
- {
- super.execute();
- Element parentElement = input.getElement();
- Document doc = parentElement.getOwnerDocument();
-
- Element newElement = doc.createElementNS(extensionsSchemaSpec.getNamespaceURI(), element.getName());
-
- String prefix = addNamespaceDeclarationIfRequired(doc.getDocumentElement(), "p", extensionsSchemaSpec.getNamespaceURI());
- newElement.setPrefix(prefix);
- parentElement.appendChild(newElement);
- }
-
- public void undo()
- {
- // TODO (cs) do we need to implement?
- }
- public Object getNewObject()
- {
- return newElement;
- }
-
- private String addNamespaceDeclarationIfRequired(Element rootElement, String prefixHint, String namespace)
- {
- String prefix = null;
- NamespaceTable namespaceTable = new NamespaceTable(rootElement.getOwnerDocument());
- namespaceTable.addElement(rootElement);
- prefix = namespaceTable.getPrefixForURI(namespace);
- if (prefix == null)
- {
- String basePrefix = prefixHint;
- prefix = basePrefix;
- String xmlnsColon = "xmlns:"; //$NON-NLS-1$
- String attributeName = xmlnsColon + prefix;
- int count = 0;
- while (rootElement.getAttribute(attributeName) != null)
- {
- count++;
- prefix = basePrefix + count;
- attributeName = xmlnsColon + prefix;
- }
- rootElement.setAttribute(attributeName, namespace);
- }
- return prefix;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddFaultCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddFaultCommand.java
deleted file mode 100644
index 1853f0653..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddFaultCommand.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-
-public final class AddFaultCommand extends AddMessageReferenceCommand
-{
- private Fault originalFault;
-
- public AddFaultCommand(Operation operation, String name)
- {
- super(operation,name);
- }
-
- public AddFaultCommand(Operation operation, String name, boolean createMessage)
- {
- super(operation,name,createMessage);
- }
-
- /*
- * Constructor used to create a Fault based on the given Fault. In essence, this will
- * create a copy of the given Fault.
- */
- public AddFaultCommand(Operation operation, Fault originalFault, String name) {
- super(operation, name, false);
-
- this.originalFault = originalFault;
- }
-
- public void run()
- {
- messageReference = WSDLFactory.eINSTANCE.createFault();
- messageReference.setName(name);
- messageReference.setEnclosingDefinition(operation.getEnclosingDefinition());
- operation.addFault((Fault)messageReference);
-
- // TBD - add binding fault
-
- if (originalFault == null) {
- if (createMessage)
- createMessage();
- }
- else {
- // Do necessary copying of data from original Fault to new Fault
- if (originalFault.getEMessage() != null) {
-// String originalMsgName = originalFault.getEMessage().getQName().getLocalPart();
-//
-// boolean gened = false;
-// if (originalFault.eContainer() instanceof Operation)
-// gened = SmartRenameAction.isMessageNameGenerated(originalMsgName, ((Operation) originalFault.eContainer()).getName(), "");
-//
-// String newMsgName = "";
-// if (gened) {
-// newMsgName = NameUtil.buildUniqueMessageName(operation.getEnclosingDefinition(), messageReference);
-// }
-// else {
-// Definition definition = operation.getEnclosingDefinition();
-// Message tMessage = originalFault.getEMessage();
-// newMsgName = NameUtil.buildUniqueMessageName(definition, tMessage.getQName().getLocalPart());
-// }
-
- createMessage(originalFault, NameUtil.buildUniqueMessageName(operation.getEnclosingDefinition(), messageReference));
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddImportCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddImportCommand.java
deleted file mode 100644
index 8439dbfbd..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddImportCommand.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-public final class AddImportCommand extends WSDLElementCommand
-{
- private Definition definition;
- private String namespace;
- private String location;
- private Import importElement;
-
- public AddImportCommand
- (Definition definition,
- String namespace,
- String location)
- {
- this.definition = definition;
- this.namespace = namespace;
- this.location = location;
- }
-
- public WSDLElement getWSDLElement()
- {
- return importElement;
- }
-
- public void run()
- {
- importElement = WSDLFactory.eINSTANCE.createImport();
- importElement.setNamespaceURI(namespace);
- importElement.setLocationURI(location);
- importElement.setEnclosingDefinition(definition);
- definition.addImport(importElement);
- }
-
- public void setNamespaceURI(String namespace)
- {
- this.namespace = namespace;
- }
-
- public void setLocationURI(String location)
- {
- this.location = location;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddInputCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddInputCommand.java
deleted file mode 100644
index db575f2c9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddInputCommand.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.ui.internal.actions.SmartRenameAction;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-
-public final class AddInputCommand extends AddMessageReferenceCommand
-{
- private Input originalInput;
-
- public AddInputCommand(Operation operation, String name)
- {
- super(operation,name);
- }
-
- public AddInputCommand(Operation operation, String name, boolean createMessage)
- {
- super(operation,name,createMessage);
- }
-
- /*
- * Constructor used to create an Input based on the given Input. In essence, this will
- * create a copy of the given Input.
- */
- public AddInputCommand(Operation operation, Input originalInput, String name) {
- super(operation, name, false);
-
- this.originalInput = originalInput;
- }
-
- public void run()
- {
- messageReference = WSDLFactory.eINSTANCE.createInput();
- // messageReference.setName(name);
- messageReference.setEnclosingDefinition(operation.getEnclosingDefinition());
- operation.setInput((Input)messageReference);
-
- // TBD - add binding input
-
- if (originalInput == null) {
- if (createMessage)
- createMessage();
- }
- else {
- // Do necessary copying of data from original Input to new Input
- if (originalInput.getEMessage() != null) {
- String originalMsgName = originalInput.getEMessage().getQName().getLocalPart();
-
- boolean gened = false;
- if (originalInput.eContainer() instanceof Operation)
- gened = SmartRenameAction.isMessageNameGenerated(originalMsgName, ((Operation) originalInput.eContainer()).getName(), "Request"); //$NON-NLS-1$
-
- String newMsgName = ""; //$NON-NLS-1$
- if (gened) {
- newMsgName = NameUtil.buildUniqueMessageName(operation.getEnclosingDefinition(), messageReference);
- }
- else {
- Definition definition = operation.getEnclosingDefinition();
- Message tMessage = originalInput.getEMessage();
- newMsgName = NameUtil.buildUniqueMessageName(definition, tMessage.getQName().getLocalPart());
- }
-
- createMessage(originalInput, newMsgName);
- }
- }
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageCommand.java
deleted file mode 100644
index 87bda0532..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageCommand.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.ui.internal.actions.SmartRenameAction;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-
-
-public final class AddMessageCommand extends WSDLElementCommand
-{
- private Definition definition;
- private String localName;
- private Message message;
- private Message originalMessage;
-
- private boolean createPart = false;
- private final String DEFAULT_PART_NAME = "NewPart"; //$NON-NLS-1$
-
- public AddMessageCommand
- (Definition definition,
- String localName)
- {
- this.definition = definition;
- this.localName = localName;
- }
-
- public AddMessageCommand
- (Definition definition,
- String localName,
- boolean createPart)
- {
- this.definition = definition;
- this.localName = localName;
- this.createPart = createPart;
- }
-
- /*
- * Constructor used to create a Message based on the given Message. In essence, this will
- * create a copy of the given Message.
- */
- public AddMessageCommand(Definition definition, Message originalMessage, String localName, boolean copyPart) {
- this.definition = definition;
- this.localName = localName;
- this.createPart = copyPart;
- this.originalMessage = originalMessage;
- }
-
- public void run()
- {
- message = WSDLFactory.eINSTANCE.createMessage();
- message.setQName(new QName(definition.getTargetNamespace(),localName));
- message.setEnclosingDefinition(definition);
- definition.addMessage(message);
-
- if (originalMessage == null) {
- if (createPart)
- {
- AddPartCommand command =
- new AddPartCommand(message,DEFAULT_PART_NAME,WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"string",true); //$NON-NLS-1$
- command.run();
- }
- }
- else {
- if (originalMessage.getEParts() != null) {
- Iterator it = originalMessage.getEParts().iterator();
-
- while (it.hasNext()) {
- Part part = (Part) it.next();
- AddPartCommand command;
- if (SmartRenameAction.isPartNameGenerated(part.getName(), originalMessage.getQName().getLocalPart()))
- command = new AddPartCommand(message, part, NameUtil.buildUniquePartName(message, message.getQName().getLocalPart()));
- else
- command = new AddPartCommand(message, part, part.getName());
-
-
- command.run();
- }
- }
- }
- }
-
- public void setLocalName(String name)
- {
- this.localName = name;
- }
-
- public WSDLElement getWSDLElement()
- {
- return message;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageReferenceCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageReferenceCommand.java
deleted file mode 100644
index ae939f7e1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageReferenceCommand.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.WSDLElement;
-
-abstract public class AddMessageReferenceCommand extends WSDLElementCommand
-{
- protected String name;
- protected MessageReference messageReference;
- protected Operation operation;
- protected boolean createMessage = false;
- private final String DEFAULT_MESSAGE_NAME = "NewMessage"; //$NON-NLS-1$
-
- public AddMessageReferenceCommand(Operation operation, String name)
- {
- this.operation = operation;
- this.name = name;
- }
-
- public AddMessageReferenceCommand(Operation operation, String name, boolean createMessage)
- {
- this.operation = operation;
- this.name = name;
- this.createMessage = createMessage;
- }
-
- protected void createMessage()
- {
- Definition definition = operation.getEnclosingDefinition();
- AddMessageCommand command =
- new AddMessageCommand(definition,DEFAULT_MESSAGE_NAME,createMessage);
- command.run();
- messageReference.setEMessage((Message)command.getWSDLElement());
- }
-
- /*
- * Overloaded createMessage(arg) method. Similar to to createMessage() but takes in a MessageReference.
- * Method used to create a copy of the original Message (contained in the passed in MessageReference).
- */
- protected void createMessage(MessageReference originalMRef, String newMessageRefName) {
- Definition definition = operation.getEnclosingDefinition();
- Message tMessage = originalMRef.getEMessage();
- AddMessageCommand command =
- new AddMessageCommand(definition, tMessage, newMessageRefName, true);
- command.run();
- messageReference.setEMessage((Message)command.getWSDLElement());
- }
-
- public WSDLElement getWSDLElement()
- {
- return messageReference;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOperationCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOperationCommand.java
deleted file mode 100644
index aef70d0b3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOperationCommand.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import java.util.Iterator;
-
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-
-public final class AddOperationCommand extends WSDLElementCommand
-{
- private PortType portType;
- private String name;
- private Operation operation;
- private Operation originalOperation;
- private boolean copyInOutFault;
-
- private boolean createInput = false;
- private boolean createOutput = false;
- private boolean createFault = false;
-
- private final String DEFAULT_INPUT_NAME = ""; //$NON-NLS-1$
- private final String DEFAULT_OUTPUT_NAME = ""; //$NON-NLS-1$
- private final String DEFAULT_FAULT_NAME = ""; //$NON-NLS-1$
-
- public AddOperationCommand
- (PortType portType,
- String name)
- {
- this.portType = portType;
- this.name = name;
- }
-
- public AddOperationCommand
- (PortType portType,
- String name,
- boolean createInput,
- boolean createOutput,
- boolean createFault)
- {
- this.portType = portType;
- this.name = name;
- this.createInput = createInput;
- this.createOutput = createOutput;
- this.createFault = createFault;
- }
-
- /*
- * Constructor used to create an Operation based on the given Operation. In essence, this will
- * create a copy of the given Operation.
- */
- public AddOperationCommand(PortType portType, Operation originalOperation, String name, boolean copyInOutFault) {
- this.portType = portType;
- this.originalOperation = originalOperation;
- this.name = name;
- this.copyInOutFault = copyInOutFault;
- }
-
- public void run()
- {
- operation = WSDLFactory.eINSTANCE.createOperation();
- operation.setName(name);
- operation.setEnclosingDefinition(portType.getEnclosingDefinition());
- portType.addOperation(operation);
-
- if (originalOperation == null) {
- WSDLElementCommand command = null;
- if (createInput)
- {
- command = new AddInputCommand(operation,DEFAULT_INPUT_NAME,true);
- command.run();
- }
-
- if (createOutput)
- {
- command = new AddOutputCommand(operation,DEFAULT_OUTPUT_NAME,true);
- command.run();
- }
-
- if (createFault)
- {
- command = new AddFaultCommand(operation,DEFAULT_FAULT_NAME,true);
- command.run();
- }
- }
- else {
- // Do necessary copying of data from original operation to new operation
- // Paramater ordering? Documentation? This part still needs to be worked on
- // Copy 'kids' if necessary
- if (copyInOutFault) {
- WSDLElementCommand command = null;
-
- if (originalOperation.getEOutput() != null)
- {
- Output output = originalOperation.getEOutput();
- command = new AddOutputCommand(operation, output, NameUtil.buildUniqueOutputName(portType, operation.getName(), "")); //$NON-NLS-1$
- command.run();
- }
-
- if (originalOperation.getEInput() != null)
- {
- Input input = originalOperation.getEInput();
- command = new AddInputCommand(operation, input, NameUtil.buildUniqueInputName(portType, operation.getName(), "")); //$NON-NLS-1$
- command.run();
- }
-
- if (originalOperation.getEFaults() != null)
- {
- Iterator it = originalOperation.getEFaults().iterator();
- while (it.hasNext()) {
- Fault fault = (Fault) it.next();
- command = new AddFaultCommand(operation, fault, NameUtil.buildUniqueFaultName(originalOperation, fault.getName()));
- command.run();
- }
- }
-
- }
- }
- }
-
- public WSDLElement getWSDLElement()
- {
- return operation;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOutputCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOutputCommand.java
deleted file mode 100644
index 28811d23d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOutputCommand.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.ui.internal.actions.SmartRenameAction;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-
-public final class AddOutputCommand extends AddMessageReferenceCommand
-{
- private Output originalOutput;
-
- public AddOutputCommand(Operation operation, String name)
- {
- super(operation,name);
- }
-
- public AddOutputCommand(Operation operation, String name, boolean createMessage)
- {
- super(operation,name,createMessage);
- }
-
- /*
- * Constructor used to create an Output based on the given Output. In essence, this will
- * create a copy of the given Output.
- */
- public AddOutputCommand(Operation operation, Output originalOutput, String name) {
- super(operation, name, false);
-
- this.originalOutput = originalOutput;
- }
-
- public void run()
- {
- messageReference = WSDLFactory.eINSTANCE.createOutput();
-// messageReference.setName(name);
- messageReference.setEnclosingDefinition(operation.getEnclosingDefinition());
- operation.setOutput((Output)messageReference);
-
- // TBD - add binding output
-
- if (originalOutput == null) {
- if (createMessage)
- createMessage();
- }
- else {
- // Do necessary copying of data from original Output to new Output
- if (originalOutput.getEMessage() != null) {
- String originalMsgName = originalOutput.getEMessage().getQName().getLocalPart();
-
- boolean gened = false;
- if (originalOutput.eContainer() instanceof Operation)
- gened = SmartRenameAction.isMessageNameGenerated(originalMsgName, ((Operation) originalOutput.eContainer()).getName(), "Response"); //$NON-NLS-1$
-
- String newMsgName = ""; //$NON-NLS-1$
- if (gened) {
- newMsgName = NameUtil.buildUniqueMessageName(operation.getEnclosingDefinition(), messageReference);
- }
- else {
- Definition definition = operation.getEnclosingDefinition();
- Message tMessage = originalOutput.getEMessage();
- newMsgName = NameUtil.buildUniqueMessageName(definition, tMessage.getQName().getLocalPart());
- }
-
- createMessage(originalOutput, newMsgName);
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPartCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPartCommand.java
deleted file mode 100644
index f4908a64e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPartCommand.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.internal.impl.PartImpl;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDSchema;
-
-
-public final class AddPartCommand extends WSDLElementCommand
-{
- private Message message;
- private String name;
- private Part part;
- private Part originalPart;
-
- private QName typeOrElementName;
- private boolean useType = true;
-
- public AddPartCommand
- (Message message,
- String name)
- {
- this.message = message;
- this.name = name;
- }
-
- public AddPartCommand
- (Message message,
- String name,
- String namespace,
- String localName,
- boolean useType)
- {
- this.message = message;
- this.name = name;
- this.useType = useType;
- typeOrElementName = new QName(namespace,localName);
- }
-
- /*
- * Constructor used to create a Part based on the given Part. In essence, this will
- * create a copy of the given Part.
- */
- public AddPartCommand
- (Message message,
- Part originalPart,
- String name)
- {
- this.message = message;
- this.name = name;
- this.originalPart = originalPart;
- }
-
- /**
- * @deprecated
- */
- public AddPartCommand
- (Message message,
- String name,
- String namespace,
- String localName)
- {
- this.message = message;
- this.name = name;
- typeOrElementName = new QName(namespace,localName);
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-
- public WSDLElement getWSDLElement()
- {
- return part;
- }
-
- public void run()
- {
- if (typeOrElementName == null)
- typeOrElementName = createDefaultTypeName();
-
- // Add namespace to the Definitions if it is not there yet.
- addNamespaceDeclaration();
-
- part = WSDLFactory.eINSTANCE.createPart();
- part.setName(name);
-
- if (originalPart == null) {
- if (useType)
- part.setTypeName(typeOrElementName);
- else
- part.setElementName(typeOrElementName);
- }
- else {
- if (originalPart.getTypeName() != null)
- part.setTypeName(originalPart.getTypeName());
-
- String newElementName = null;
- if (originalPart.getElementName() != null) {
-
- boolean createNewElement = true;
- if (originalPart.getElementDeclaration() != null && originalPart.getElementDeclaration().getElement() != null) {
- if (!(originalPart.getElementDeclaration().getElement() instanceof IDOMNode)) {
- createNewElement = false;
- }
- }
-
- if (createNewElement) {
- newElementName = getNewNameHelper(name, originalPart.getEnclosingDefinition(), false);
- part.setElementName(new QName(originalPart.getElementName().getNamespaceURI(), newElementName));
-
- if (originalPart.getEnclosingDefinition() != null) {
- if (newElementName == null) {
- newElementName = getNewNameHelper(name, originalPart.getEnclosingDefinition(), false);
- }
-
- AddXSDElementDeclarationCommand elementAction = new AddXSDElementDeclarationCommand(originalPart.getEnclosingDefinition(), newElementName);
- elementAction.run();
- }
- }
- else {
- part.setElementName(new QName(originalPart.getElementName().getNamespaceURI(), originalPart.getElementName().getLocalPart()));
- }
- }
- }
-
- part.setEnclosingDefinition(message.getEnclosingDefinition());
- ((PartImpl)part).reconcileReferences(false);
- message.addPart(part);
- }
-
- private void addNamespaceDeclaration()
- {
- Definition definition = message.getEnclosingDefinition();
- if (!definition.getNamespaces().containsValue(typeOrElementName.getNamespaceURI()))
- {
- definition.addNamespace("p",typeOrElementName.getNamespaceURI()); //$NON-NLS-1$
-// ((WSDLElementImpl)definition).updateElement(false);
- }
- }
-
- private QName createDefaultTypeName()
- {
- QName qname = new QName(WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"string"); //$NON-NLS-1$
- return qname;
- }
-
- private String getNewNameHelper(String base, Definition def, boolean isType)
- {
- String name = base;
- int count = 0;
-
- // Ugly.... Redo this...
- // Get a list of Elements...
- List elementList = null;
- if (def.getETypes() != null) {
- List xsdsList = def.getETypes().getEExtensibilityElements();
- if (xsdsList != null) {
- Iterator xsdsIterator = xsdsList.iterator();
- XSDSchemaExtensibilityElement xsdElement = (XSDSchemaExtensibilityElement) xsdsIterator.next();
- XSDSchema schema = xsdElement.getSchema();
- if (schema != null) {
- elementList = schema.getElementDeclarations();
- }
- }
- }
-
- if (elementList != null) {
- int index = 0;
- while (index < elementList.size()) {
- XSDElementDeclaration elementDeclaration = (XSDElementDeclaration) elementList.get(index);
-
- if (name.equals(elementDeclaration.getName())) {
- count++;
- name = name + count;
- index = 0;
- }
- else {
- index++;
- }
- }
- }
-
- return name;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortCommand.java
deleted file mode 100644
index c326901bf..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortCommand.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-public final class AddPortCommand extends WSDLElementCommand
-{
- private Service service;
- private String name;
- private Port port;
-
- public AddPortCommand
- (Service service,
- String name)
- {
- this.service = service;
- this.name = name;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-
- public WSDLElement getWSDLElement()
- {
- return port;
- }
-
- public void run()
- {
- port = WSDLFactory.eINSTANCE.createPort();
- port.setName(name);
- port.setEnclosingDefinition(service.getEnclosingDefinition());
- service.addPort(port);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortTypeCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortTypeCommand.java
deleted file mode 100644
index b26feb543..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortTypeCommand.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-
-public final class AddPortTypeCommand extends WSDLElementCommand
-{
- private Definition definition;
- private String localName;
- private PortType portType;
-
- private boolean createOperation = false;
- private final String DEFAULT_OPERATION_NAME = "NewOperation"; //$NON-NLS-1$
-
- public AddPortTypeCommand
- (Definition definition,
- String localName)
- {
- this.definition = definition;
- this.localName = localName;
- }
-
- public AddPortTypeCommand
- (Definition definition,
- String localName,
- boolean createOperation)
- {
- this.definition = definition;
- this.localName = localName;
- this.createOperation = createOperation;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.ui.internal.commands.WSDLElementAction#getWSDLElement()
- */
- public WSDLElement getWSDLElement()
- {
- return portType;
- }
-
- public void run()
- {
- portType = WSDLFactory.eINSTANCE.createPortType();
- portType.setQName(new QName(definition.getTargetNamespace(),localName));
- portType.setEnclosingDefinition(definition);
- definition.addPortType(portType);
-
- if (createOperation)
- {
- AddOperationCommand command =
- new AddOperationCommand(portType,DEFAULT_OPERATION_NAME,true,true,false);
- command.run();
- }
- }
-
- public void setLocalName(String name)
- {
- localName = name;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddServiceCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddServiceCommand.java
deleted file mode 100644
index 955cf1893..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddServiceCommand.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-
-public final class AddServiceCommand extends WSDLElementCommand
-{
- private Definition definition;
- private String localName;
- private Service service;
-
- private boolean createPort = false;
- private final String DEFAULT_PORT_NAME = "NewPort"; //$NON-NLS-1$
-
- public AddServiceCommand
- (Definition definition,
- String localName)
- {
- this.definition = definition;
- this.localName = localName;
- }
-
- public AddServiceCommand
- (Definition definition,
- String localName,
- boolean createPort)
- {
- this.definition = definition;
- this.localName = localName;
- this.createPort = createPort;
- }
-
- public WSDLElement getWSDLElement()
- {
- return service;
- }
-
- public void run()
- {
- service = WSDLFactory.eINSTANCE.createService();
- service.setQName(new QName(definition.getTargetNamespace(),localName));
- service.setEnclosingDefinition(definition);
- definition.addService(service);
-
- if (createPort)
- {
- AddPortCommand command =
- new AddPortCommand(service,DEFAULT_PORT_NAME);
- command.run();
- }
- }
-
- public void setLocalName(String name)
- {
- localName = name;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddTypesCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddTypesCommand.java
deleted file mode 100644
index d87e58c52..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddTypesCommand.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-// Definition must not have "types" element to run this command.
-public final class AddTypesCommand extends WSDLElementCommand
-{
- private Definition definition;
- private Types types;
-
- public AddTypesCommand(Definition definition)
- {
- this.definition = definition;
- }
-
- public void run()
- {
- if ((types = definition.getETypes()) != null)
- return; // "types" already exists.
-
- types = WSDLFactory.eINSTANCE.createTypes();
- types.setEnclosingDefinition(definition);
- definition.setTypes(types);
- }
-
- public WSDLElement getWSDLElement()
- {
- return types;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddUnknownExtensibilityElementCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddUnknownExtensibilityElementCommand.java
deleted file mode 100644
index f0487bc15..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddUnknownExtensibilityElementCommand.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.UnknownExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.internal.impl.UnknownExtensibilityElementImpl;
-
-public final class AddUnknownExtensibilityElementCommand extends WSDLElementCommand
-{
- private ExtensibleElement extensibleElement;
- private String namespaceURI;
- private String localName;
- private UnknownExtensibilityElement extensibilityElement;
- private Map properties;
-
- public AddUnknownExtensibilityElementCommand
- (ExtensibleElement extensibleElement,
- String namespaceURI,
- String localName)
- {
- this.extensibleElement = extensibleElement;
- this.namespaceURI = namespaceURI;
- this.localName = localName;
- }
-
- public AddUnknownExtensibilityElementCommand
- (ExtensibleElement extensibleElement,
- String namespaceURI,
- String localName,
- Map properties)
- {
- this.extensibleElement = extensibleElement;
- this.namespaceURI = namespaceURI;
- this.localName = localName;
- this.properties = properties;
- }
-
- public WSDLElement getWSDLElement()
- {
- return extensibilityElement;
- }
-
- public void run()
- {
- extensibilityElement = WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- extensibilityElement.setElementType(new QName(namespaceURI,localName));
-
- if (properties != null)
- {
- Iterator iterator = properties.entrySet().iterator();
- Map.Entry entry = null;
- while (iterator.hasNext())
- {
- entry = (Map.Entry)iterator.next();
- String attribute = (String)entry.getKey();
- String value = (String)entry.getValue();
- ((UnknownExtensibilityElementImpl)extensibilityElement).setAttribute(attribute,value);
- }
- }
-
- extensibilityElement.setEnclosingDefinition(extensibleElement.getEnclosingDefinition());
- extensibleElement.addExtensibilityElement(extensibilityElement);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDElementDeclarationCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDElementDeclarationCommand.java
deleted file mode 100644
index ce14e6757..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDElementDeclarationCommand.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import java.util.Iterator;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDFactory;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-
-
-// This class is used to create a new XSDElementDeclaration in the targetNamespace.
-public final class AddXSDElementDeclarationCommand extends WSDLElementCommand
-{
- private Definition definition;
- private String targetNamespace;
- private String elementName;
- private XSDSchema schema;
- private XSDElementDeclaration xsdElement;
-
- /**
- * TODO:
- * We have a potential problem here.... What if the definition targetnamespace is null....
- */
- public AddXSDElementDeclarationCommand(Definition definition, String elementName)
- {
- this.definition = definition;
- this.targetNamespace = definition.getTargetNamespace();
- this.elementName = elementName;
- }
-
- /**
- * @deprecated
- * Use AddXSDElementDeclarationCommand(Definition definition, String typeName)
- */
- public AddXSDElementDeclarationCommand
- (Definition definition,
- String targetNamespace,
- String elementName)
- {
- this.definition = definition;
- this.targetNamespace = targetNamespace;
- this.elementName = elementName;
- }
-
- public void run()
- {
- XSDSchema xsdSchema = getSchema();
- XSDElementDeclaration elementDecl =
- XSDFactory.eINSTANCE.createXSDElementDeclaration();
- elementDecl.setName(elementName);
-
- XSDSimpleTypeDefinition simpleTypeDefinition = getXSDStringType(xsdSchema);
- elementDecl.setTypeDefinition(simpleTypeDefinition);
- xsdSchema.getContents().add(elementDecl);
-
- xsdElement = elementDecl;
- }
-
- public void run(String newElementName) {
- elementName = newElementName;
- run();
- }
-
- /*
- * Specify which Schema to use when creating the Type.
- * Call this method before calling run(). Otherwise it will use the first
- * Schema it finds.
- */
- public void setSchema(XSDSchema schema) {
- this.schema = schema;
- }
-
- /*
- * Return the Schema used to create the Type
- */
- public XSDSchema getSchema() {
- if (schema == null) {
- return getXSDSchema(targetNamespace);
- }
- else {
- return schema;
- }
- }
-
- private XSDSimpleTypeDefinition getXSDStringType(XSDSchema schema)
- {
- return schema.getSchemaForSchema().resolveSimpleTypeDefinition("string"); //$NON-NLS-1$
- }
-
- private XSDSchema getXSDSchema(String targetNamespace)
- {
- XSDSchema xsdSchema;
-
- // Do we have a schema already?
- Iterator iterator = getTypes().getSchemas(targetNamespace).iterator();
- if (iterator.hasNext())
- {
- xsdSchema = (XSDSchema)iterator.next(); // Get the first one.
- return xsdSchema;
- }
- else
- {
- // Create a new schema because there's none.
- AddXSDSchemaCommand command = new AddXSDSchemaCommand(definition,targetNamespace);
- command.run();
- return ((XSDSchemaExtensibilityElement)command.getWSDLElement()).getSchema();
- }
- }
-
- private Types getTypes()
- {
- // Types is created if it does not exist yet.
- Types types = (Types)definition.getTypes();
- if (types != null)
- return types;
- else
- {
- AddTypesCommand command = new AddTypesCommand(definition);
- command.run();
- return (Types)command.getWSDLElement();
- }
- }
-
- public WSDLElement getWSDLElement()
- {
- return null;
- }
-
- public XSDElementDeclaration getXSDElement()
- {
- return xsdElement;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDSchemaCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDSchemaCommand.java
deleted file mode 100644
index 207916449..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDSchemaCommand.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.xsd.XSDFactory;
-import org.eclipse.xsd.XSDSchema;
-
-
-
-public final class AddXSDSchemaCommand extends WSDLElementCommand
-{
- private Definition definition;
- private XSDSchemaExtensibilityElement extensibilityElement;
- private String targetNamespace;
-
- public AddXSDSchemaCommand(Definition definition)
- {
- this.definition = definition;
- this.targetNamespace = definition.getTargetNamespace();
- }
-
- public AddXSDSchemaCommand(Definition definition, String targetNamespace)
- {
- this.definition = definition;
- this.targetNamespace = targetNamespace;
- }
-
- public void run()
- {
- extensibilityElement = WSDLFactory.eINSTANCE.createXSDSchemaExtensibilityElement();
- extensibilityElement.setEnclosingDefinition(definition);
-
- XSDSchema xsdSchema = XSDFactory.eINSTANCE.createXSDSchema();
- xsdSchema.setSchemaForSchemaQNamePrefix("xsd"); //$NON-NLS-1$
- xsdSchema.setTargetNamespace(targetNamespace);
- // Choose the prefix Choose the prefix used for this schema's namespace and the schema for schema's namespace.
- //
- java.util.Map qNamePrefixToNamespaceMap = xsdSchema.getQNamePrefixToNamespaceMap();
-// qNamePrefixToNamespaceMap.put("p", xsdSchema.getTargetNamespace());
- qNamePrefixToNamespaceMap.put
- (xsdSchema.getSchemaForSchemaQNamePrefix(),org.eclipse.xsd.util.XSDConstants.SCHEMA_FOR_SCHEMA_URI_2001);
- extensibilityElement.setSchema(xsdSchema);
-
- // TBD - Check if multiple schemas with the same targetNamespace can co-exist.
- Types types = getTypes();
- types.addExtensibilityElement(extensibilityElement);
-
- if (definition.getETypes() == null) {
- definition.setETypes(types);
- }
- }
-
- private Types getTypes()
- {
- // Types is created if it does not exist.
- Types types = (Types)definition.getTypes();
- if (types != null)
- return types;
- else
- {
- types = WSDLFactory.eINSTANCE.createTypes();
- types.setEnclosingDefinition(definition);
- return types;
- }
- }
-
- public WSDLElement getWSDLElement()
- {
- return extensibilityElement;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDTypeDefinitionCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDTypeDefinitionCommand.java
deleted file mode 100644
index 5cd7cea45..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDTypeDefinitionCommand.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import java.util.Iterator;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.xsd.XSDFactory;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-// This class is used to create a new XSDTypeDefinition in the targetNamespace.
-public final class AddXSDTypeDefinitionCommand extends WSDLElementCommand
-{
- private Definition definition;
- private String targetNamespace;
- private String typeName;
- private XSDSchema schema;
- private XSDTypeDefinition xsdType;
- private boolean isComplexType = true;
-
- /**
- * TODO:
- * We have a potential problem here.... What if the definition targetnamespace is null....
- */
- public AddXSDTypeDefinitionCommand(Definition definition, String typeName)
- {
- this.definition = definition;
- this.targetNamespace = definition.getTargetNamespace();
- this.typeName = typeName;
- }
-
- public AddXSDTypeDefinitionCommand(Definition definition, String typeName, boolean isComplexType)
- {
- this(definition, typeName);
- this.isComplexType = isComplexType;
- }
-
- /**
- * @deprecated
- * Use AddXSDTypeDefinitionCommand(Definition definition, String typeName)
- */
- public AddXSDTypeDefinitionCommand
- (Definition definition,
- String targetNamespace,
- String typeName)
- {
- this.definition = definition;
- this.targetNamespace = targetNamespace;
- this.typeName = typeName;
- }
-
- public void run()
- {
- XSDSchema xsdSchema = getSchema();
- XSDTypeDefinition typeDef;
-
- if (isComplexType) {
- typeDef = XSDFactory.eINSTANCE.createXSDComplexTypeDefinition();
- }
- else {
- typeDef = XSDFactory.eINSTANCE.createXSDSimpleTypeDefinition();
- }
-
- typeDef.setName(typeName);
- xsdSchema.getContents().add(typeDef);
-
- xsdType = typeDef;
- }
-
- public void run(String newTypeName) {
- typeName = newTypeName;
- run();
- }
-
- /*
- * Specifiy if we should create a complex or simple type. This should should be
- * called before run().
- * Overrides the value set when the constructor
- * AddXSDTypeDefinitionCommand(Definition definition, String typeName, boolean isComplexType)
- * is used.
- */
- public void isComplexType(boolean isComplexType) {
- this.isComplexType = isComplexType;
- }
-
- /*
- * Specify which Schema to use when creating the Type.
- * Call this method before calling run(). Otherwise it will use the first
- * Schema it finds.
- */
- public void setSchema(XSDSchema schema) {
- this.schema = schema;
- }
-
- /*
- * Return the Schema used to create the Type
- */
- public XSDSchema getSchema() {
- if (schema == null) {
- return getXSDSchema(targetNamespace);
- }
- else {
- return schema;
- }
- }
-
- private XSDSchema getXSDSchema(String targetNamespace)
- {
- XSDSchema xsdSchema;
-
- // Do we have a schema already?
- Iterator iterator = getTypes().getSchemas(targetNamespace).iterator();
- if (iterator.hasNext())
- {
- xsdSchema = (XSDSchema)iterator.next(); // Get the first one.
- return xsdSchema;
- }
- else
- {
- // Create a new schema because there's none.
- AddXSDSchemaCommand command = new AddXSDSchemaCommand(definition,targetNamespace);
- command.run();
- return ((XSDSchemaExtensibilityElement)command.getWSDLElement()).getSchema();
- }
- }
-
- private Types getTypes()
- {
- // Types is created if it does not exist yet.
- Types types = (Types)definition.getTypes();
- if (types != null)
- return types;
- else
- {
- AddTypesCommand command = new AddTypesCommand(definition);
- command.run();
- return (Types)command.getWSDLElement();
- }
- }
-
- public WSDLElement getWSDLElement()
- {
- return null;
- }
-
- public XSDTypeDefinition getXSDElement()
- {
- return xsdType;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/WSDLElementCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/WSDLElementCommand.java
deleted file mode 100644
index a01805165..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/WSDLElementCommand.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.commands;
-
-import org.eclipse.wst.wsdl.WSDLElement;
-
-public abstract class WSDLElementCommand
-{
- public abstract WSDLElement getWSDLElement();
- public abstract void run();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/EditNamespacesDialog.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/EditNamespacesDialog.java
deleted file mode 100644
index ad4eba5c0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/EditNamespacesDialog.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.dialogs;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.xml.ui.internal.nsedit.CommonEditNamespacesTargetFieldDialog;
-
-public class EditNamespacesDialog extends Dialog
-{
- protected Button okButton;
- protected String title;
- protected String targetNamespace;
- protected List namespaceInfoList;
- protected CommonEditNamespacesTargetFieldDialog editWSDLNamespacesControl;
- protected IPath resourceLocation;
- // protected Label errorMessageLabel;
- // protected String errorMessage;
-
- //protected Label errorMessageLabel;
-
- public EditNamespacesDialog(Shell parentShell, IPath resourceLocation, String title, String targetNamespace, List namespaceList)
- {
- super(parentShell);
- this.resourceLocation = resourceLocation;
- setShellStyle(getShellStyle() | SWT.RESIZE);
- this.title = title;
- this.targetNamespace = targetNamespace;
- this.namespaceInfoList = namespaceList;
- }
-
- public int createAndOpen()
- {
- create();
- getShell().setText(title);
- setBlockOnOpen(true);
- return open();
- }
-
- protected Control createContents(Composite parent)
- {
- Control control = super.createContents(parent);
- updateErrorMessage();
- return control;
- }
-
- protected void createButtonsForButtonBar(Composite parent)
- {
- okButton = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
- createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
- }
-
- protected Control createDialogArea(Composite parent)
- {
- Composite dialogArea = (Composite) super.createDialogArea(parent);
- editWSDLNamespacesControl = new CommonEditNamespacesTargetFieldDialog(dialogArea, resourceLocation);
- editWSDLNamespacesControl.setNamespaceInfoList(namespaceInfoList);
- editWSDLNamespacesControl.setTargetNamespace(targetNamespace);
-
- return dialogArea;
- }
-
- public void modifyText(ModifyEvent e)
- {
- updateErrorMessage();
- }
-
- protected String computeErrorMessage(String name)
- {
- return null;
- }
-
- protected void updateErrorMessage()
- {
- String errorMessage = null;
- /*
- String name = nameField.getText().trim();
- if (name.length() > 0)
- {
- errorMessage = computeErrorMessage(name);
- }
- else
- {
- errorMessage = "";
- }*/
-
- //errorMessageLabel.setText(errorMessage != null ? errorMessage : "");
- okButton.setEnabled(errorMessage == null);
- }
-
- protected void buttonPressed(int buttonId)
- {
- if (buttonId == IDialogConstants.OK_ID)
- {
- targetNamespace = editWSDLNamespacesControl.getTargetNamespace();
- }
- super.buttonPressed(buttonId);
- }
-
- public List getNamespaceInfoList()
- {
- return namespaceInfoList;
- }
-
- public String getTargetNamespace()
- {
- return targetNamespace;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/GenerateBindingOnSaveDialog.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/GenerateBindingOnSaveDialog.java
deleted file mode 100644
index b755906f3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/GenerateBindingOnSaveDialog.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.dialogs;
-
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-
-public class GenerateBindingOnSaveDialog extends MessageDialog implements SelectionListener {
- private static String dialogTitle = Messages._UI_REGEN_BINDINDS_ON_SAVE; // TODO: Translations needed.... //$NON-NLS-1$
- private static String dialogMessage = Messages._UI_REGEN_BINDINGS_ON_SAVE_QUESTIONMARK; //$NON-NLS-1$
- private static String[] buttons = new String[]{Messages._UI_YES_LABEL, Messages._UI_NO_LABEL, Messages._UI_CANCEL_LABEL}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-
- private Button rememberDecisionBox;
- private boolean rememberDecision = false;
-
- public GenerateBindingOnSaveDialog(Shell shell) {
- super(shell, dialogTitle, null, dialogMessage, MessageDialog.QUESTION, buttons, 0);
- }
-
-
- protected Control createCustomArea(Composite parent) {
- Composite comp = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.numColumns = 2;
- comp.setLayout(layout);
- comp.setData(new GridData());
-
- // Spacer
- new Label(comp, SWT.NONE);
- new Label(comp, SWT.NONE);
-
- rememberDecisionBox = new Button(comp, SWT.CHECK);
- rememberDecisionBox.setText(Messages._UI_REMEMBER_MY_DECISION_LABEL);
- rememberDecisionBox.addSelectionListener(this);
-
- return parent;
- }
-
- private void storePromptPreference(int swtValue) {
- // Store the new preference for displaying this dialog.
- if (rememberDecision) {
- WSDLEditorPlugin.getInstance().getPluginPreferences().setValue(Messages._UI_PREF_PAGE_PROMPT_REGEN_BINDING_ON_SAVE, false); //$NON-NLS-1$
-
- String generateID = Messages._UI_PREF_PAGE_AUTO_REGENERATE_BINDING; //$NON-NLS-1$
- if (swtValue == SWT.YES) {
- WSDLEditorPlugin.getInstance().getPluginPreferences().setValue(generateID, true);
- }
- else if (swtValue == SWT.NO) {
- WSDLEditorPlugin.getInstance().getPluginPreferences().setValue(generateID, false);
- }
- }
- }
-
- public int open() {
- int rValue = super.open();
-
- if (rValue ==0) {
- storePromptPreference(SWT.YES);
- return SWT.YES;
- }
- else if (rValue == 1) {
- storePromptPreference(SWT.NO);
- return SWT.NO;
- }
- else if (rValue == 2) {
- storePromptPreference(SWT.CANCEL);
- return SWT.CANCEL;
- }
-
- return rValue;
- }
-
- public void widgetSelected(SelectionEvent e) {
- if (e.widget == rememberDecisionBox) {
- rememberDecision = rememberDecisionBox.getSelection();
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {}
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/NewComponentDialog.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/NewComponentDialog.java
deleted file mode 100644
index c27368229..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/NewComponentDialog.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.dialogs;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-
-public class NewComponentDialog extends Dialog implements ModifyListener
-{
- protected Text nameField;
- protected Button okButton;
- protected String name;
- protected String title;
- protected Label errorMessageLabel;
- protected List usedNames;
-
- public NewComponentDialog(Shell parentShell, String title, String defaultName)
- {
- super(parentShell);
- setShellStyle(getShellStyle() | SWT.RESIZE);
- name = defaultName;
- this.title = title;
- }
-
- public NewComponentDialog(Shell parentShell, String title, String defaultName, List usedNames)
- {
- super(parentShell);
- setShellStyle(getShellStyle() | SWT.RESIZE);
- name = defaultName;
- this.title = title;
- this.usedNames = usedNames;
- }
-
- public int createAndOpen()
- {
- create();
- getShell().setText(title);
- setBlockOnOpen(true);
- return open();
- }
-
- protected Control createContents(Composite parent)
- {
- Control control = super.createContents(parent);
- nameField.forceFocus();
- nameField.selectAll();
- updateErrorMessage();
- return control;
- }
-
-
- protected void createButtonsForButtonBar(Composite parent)
- {
- okButton = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
- createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
- }
-
- protected void createHeaderContent(Composite parent)
- {
- }
-
- protected void createExtendedContent(Composite parent)
- {
- }
-
- protected Control createDialogArea(Composite parent)
- {
- Composite dialogArea = (Composite)super.createDialogArea(parent);
-
- createHeaderContent(dialogArea);
-
- Composite composite = new Composite(dialogArea, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.numColumns = 2;
- layout.marginWidth = 0;
- composite.setLayout(layout);
-
- GridData gdFill= new GridData();
- gdFill.horizontalAlignment= GridData.FILL;
- gdFill.grabExcessHorizontalSpace= true;
- gdFill.verticalAlignment= GridData.FILL;
- gdFill.grabExcessVerticalSpace= true;
- composite.setLayoutData(gdFill);
-
- Label nameLabel = new Label(composite, SWT.NONE);
- nameLabel.setText(Messages._UI_LABEL_NAME); //$NON-NLS-1$
-
- nameField = new Text(composite, SWT.SINGLE | SWT.BORDER);
- GridData gd= new GridData();
- gd.horizontalAlignment= GridData.FILL;
- gd.grabExcessHorizontalSpace= true;
- gd.widthHint = 200;
- nameField.setLayoutData(gd);
- nameField.setText(name);
- nameField.addModifyListener(this);
-
- createExtendedContent(dialogArea);
-
- // error message
- errorMessageLabel = new Label(dialogArea, SWT.NONE);
- errorMessageLabel.setText("error message goes here");
- GridData gd2 = new GridData();
- gd2.horizontalAlignment= GridData.FILL;
- gd2.grabExcessHorizontalSpace= true;
- gd2.widthHint = 200;
- errorMessageLabel.setLayoutData(gd2);
-// Color color = new Color(errorMessageLabel.getDisplay(), 200, 0, 0);
-// errorMessageLabel.setForeground(color);
-
- return dialogArea;
- }
-
- public void modifyText(ModifyEvent e)
- {
- updateErrorMessage();
- }
-
- protected String computeErrorMessage(String name)
- {
- if (usedNames == null)
- return null;
-
- Iterator iterator = usedNames.iterator();
- while (iterator.hasNext()) {
- if (name.equalsIgnoreCase((String) iterator.next())) {
- return Messages._UI_LABEL_WARNING_DUPLICATE_NAME_EXISTS; //$NON-NLS-1$
- }
- }
-
- return null;
- }
-
- protected void updateErrorMessage()
- {
- String errorMessage = null;
- String name = nameField.getText().trim();
- if (name.length() > 0)
- {
- errorMessage = computeErrorMessage(name);
- }
- else
- {
- errorMessage = ""; //$NON-NLS-1$
- }
- errorMessageLabel.setText(errorMessage != null ? errorMessage : ""); //$NON-NLS-1$
-// okButton.setEnabled(errorMessage == null);
- }
-
- protected void buttonPressed(int buttonId)
- {
- if (buttonId == IDialogConstants.OK_ID)
- {
- name = nameField.getText();
- }
- super.buttonPressed(buttonId);
- }
-
- public String getName()
- {
- return name;
- }
-}
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/ProtocolComponentControl.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/ProtocolComponentControl.java
deleted file mode 100644
index d1231fdef..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/ProtocolComponentControl.java
+++ /dev/null
@@ -1,346 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.dialogs;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-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.Label;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.part.PageBook;
-import org.eclipse.wst.wsdl.internal.generator.BaseGenerator;
-import org.eclipse.wst.wsdl.internal.generator.ContentGenerator;
-import org.eclipse.wst.wsdl.internal.generator.extension.ContentGeneratorExtensionFactoryRegistry;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.wizards.ContentGeneratorOptionsPage;
-
-public abstract class ProtocolComponentControl extends Composite implements SelectionListener, ModifyListener
-{
- protected BaseGenerator generator;
-
- protected Text componentNameField;
- protected Combo refNameCombo;
- protected Button refBrowseButton;
- protected Combo protocolCombo;
- protected Button overwriteButton;
- protected PageBook pageBook;
- protected Composite emptySettingsPage;
- protected Map pageMap = new HashMap();
-
- // List of ContentGenerators for each Protocol found in protocolCombo
- protected List contentGenerators;
-
- //protected boolean isBindingComponent = true;
- //protected boolean isNewComponent = true;
- protected String name;
- protected String refName;
-
- protected String UNSPECIFIED = Messages._UI_UNSPECIFIED; //$NON-NLS-1$
- //protected BindingGenerator bindingGenerator;
-
- public ProtocolComponentControl(Composite parent, BaseGenerator generator, boolean showOverwriteButton)
- {
- super(parent, SWT.NONE);
- this.generator = generator;
- contentGenerators = new ArrayList();
-
- GridLayout layout = new GridLayout();
- layout.marginWidth = 0;
- setLayout(layout);
- setLayoutData(createGridData(true, 1));
-
- Composite labelValueComposite = new Composite(this, SWT.NONE);
- labelValueComposite.setLayout(new GridLayout(2, false));
- labelValueComposite.setLayoutData(createGridData(false, 1));
-
- // row 1
- //
- Label componentNameLabel = new Label(labelValueComposite, SWT.NONE);
- componentNameLabel.setText(getComponentNameLabelText()); //$NON-NLS-1$
-
- componentNameField = new Text(labelValueComposite, SWT.BORDER);
- GridData gdName= new GridData();
- gdName.horizontalAlignment= GridData.FILL;
- gdName.grabExcessHorizontalSpace= true;
- componentNameField.setLayoutData(gdName);
- componentNameField.addModifyListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(componentNameField, ASDEditorCSHelpIds.PROTOCOL_COMPONENT_NAME_TEXT);
- //createPlaceHolder(labelValueComposite);
-
- // row 2
- //
- Label refNameLabel = new Label(labelValueComposite, SWT.NONE);
- refNameLabel.setText(getRefNameLabelText()); //$NON-NLS-1$
- refNameCombo = new Combo(labelValueComposite, SWT.READ_ONLY);
- GridData gdRefName= new GridData();
- gdRefName.horizontalAlignment= GridData.FILL;
- gdRefName.grabExcessHorizontalSpace= true;
- refNameCombo.setLayoutData(gdRefName);
- refNameCombo.addSelectionListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(refNameCombo, ASDEditorCSHelpIds.PROTOCOL_COMPONENT_REF_COMBO);
-
- //refBrowseButton = new Button(labelValueComposite, SWT.NONE);
- //refBrowseButton.setText(" ... ");
- //GridData gd = new GridData();
- //gd.grabExcessHorizontalSpace = false;
- //gd.heightHint = 17;
- //gd.widthHint = 24;
- //refBrowseButton.setLayoutData(gd);
- //refBrowseButton.addSelectionListener(this);
- //createPlaceHolder(labelValueComposite);
-
- // row 3
- //
- Label protocolLabel = new Label(labelValueComposite, SWT.NONE);
- protocolLabel.setText(Messages._UI_LABEL_BINDING_PROTOCOL); //$NON-NLS-1$
- protocolCombo = new Combo(labelValueComposite, SWT.READ_ONLY);
- GridData gdProtocol= new GridData();
- gdProtocol.horizontalAlignment= GridData.FILL;
- gdProtocol.grabExcessHorizontalSpace= true;
- protocolCombo.setLayoutData(gdProtocol);
- protocolCombo.addSelectionListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(protocolCombo, ASDEditorCSHelpIds.PROTOCOL_COMPONENT_PROTOCOL_COMBO);
- //createPlaceHolder(labelValueComposite);
-
- // optional overwrite button
- //
- if (showOverwriteButton)
- {
- overwriteButton = new Button(this, SWT.CHECK);
- overwriteButton.setText(Messages._UI_CHECKBOX_OVERWRITE); //$NON-NLS-1$
- overwriteButton.addSelectionListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(overwriteButton, ASDEditorCSHelpIds.pROTOCOL_COMPONENT_OVERWRITE_CHECKBOX);
- }
-
- // protocol specific settings
- //
- pageBook = new PageBook(this, SWT.NONE);
- GridData gdFill= new GridData();
- gdFill.horizontalAlignment= GridData.FILL;
- gdFill.grabExcessHorizontalSpace= true;
- gdFill.verticalAlignment= GridData.FILL;
- gdFill.grabExcessVerticalSpace= true;
- pageBook.setLayoutData(gdFill);
-
- emptySettingsPage = new Composite(pageBook, SWT.NONE);
- for (int i = 0; i < 6; i++)
- {
- new Label(emptySettingsPage, SWT.NONE);
- }
- }
-
- public void initFields()
- {
- // prime the fields
- //
- componentNameField.setText(getDefaultName());
- updateRefNameCombo();
- updateProtocolCombo();
- updatePageBook(generator.getProtocol());
- }
-
- public Text getComponentNameField()
- {
- return componentNameField;
- }
-
- public String getComponentNameLabelText()
- {
- return Messages._UI_LABEL_NAME; //$NON-NLS-1$
- }
-
- private GridData createGridData(boolean both, int span)
- {
- GridData gd = new GridData(both ? GridData.FILL_BOTH : GridData.FILL_HORIZONTAL);
- gd.horizontalSpan = span;
- return gd;
- }
-
-// private Control createPlaceHolder(Composite parent)
-// {
-// Label label = new Label(parent, SWT.NONE);
-// return label;
-// }
- public BaseGenerator getGenerator()
- {
- return generator;
- }
-
- // implements SelectionListener
- //
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
-
- public void widgetSelected(SelectionEvent event)
- {
- if (event.widget == overwriteButton && overwriteButton != null)
- {
- getGenerator().setOverwrite(overwriteButton.getSelection());
- }
- else if (event.widget == refNameCombo)
- {
- int index = refNameCombo.getSelectionIndex();
- String refName = refNameCombo.getItem(index);
- if (refName.equals(UNSPECIFIED)) {
- getGenerator().setRefName(""); //$NON-NLS-1$
- }
- else {
- getGenerator().setRefName(refName);
- }
- }
- else if (event.widget == protocolCombo)
- {
- int index = protocolCombo.getSelectionIndex();
- String protocol = (index != -1) ? protocolCombo.getItem(index) : null;
- getGenerator().setContentGenerator((ContentGenerator) contentGenerators.get(index));
- updatePageBook(protocol);
- }
- }
-
- private static final String IS_OVERWRITE_APPLICABLE = "IS_OVERWRITE_APPLICABLE"; //$NON-NLS-1$
- protected void updatePageBook(String protocol)
- {
- if (protocol != null)
- {
- ContentGeneratorOptionsPage page = (ContentGeneratorOptionsPage) pageMap.get(protocol);
- if (page == null)
- {
- page = createContentGeneratorOptionsPage(protocol);
-
- if (page != null)
- {
- page.init(getGenerator());
- Control control = page.createControl(pageBook);
- control.setData(IS_OVERWRITE_APPLICABLE, new Boolean(page.isOverwriteApplicable()));
- pageMap.put(protocol, page);
- }
-
-// if (page != null)
-// {
-// pageMap.put(protocol, page);
-// }
- }
-
- boolean enableOverwriteButton = true;
- if (page != null)
- {
- if (overwriteButton != null)
- {
- Boolean data = (Boolean) page.getControl().getData(IS_OVERWRITE_APPLICABLE);
- enableOverwriteButton = data == null || data.equals(Boolean.TRUE);
- }
- pageBook.showPage(page.getControl());
- pageBook.layout();
- pageBook.getParent().layout();
-
- page.setOptionsOnGenerator();
- }
- else
- {
- pageBook.showPage(emptySettingsPage);
- }
-
- if (overwriteButton != null)
- {
- if (enableOverwriteButton)
- {
- overwriteButton.setEnabled(true);
- overwriteButton.setSelection(generator.getOverwrite());
- }
- else
- {
- overwriteButton.setEnabled(false);
- overwriteButton.setSelection(true);
- }
- }
- }
- }
-
- protected void updateProtocolCombo()
- {
- protocolCombo.removeAll();
-
- List list = new ArrayList();
- list.add(UNSPECIFIED);
-// list.addAll(WSDLEditorPlugin.getInstance().getContentGeneratorExtensionRegistry().getBindingExtensionNames());
- list.addAll(ContentGeneratorExtensionFactoryRegistry.getInstance().getBindingExtensionNames());
-
- String protocolText = generator.getProtocol();
-
- for (Iterator i = list.iterator(); i.hasNext();)
- {
- String protocol = (String) i.next();
- protocolCombo.add(protocol);
-
- if (protocol.equals(UNSPECIFIED)) {
- contentGenerators.add(null);
- }
- else {
- ContentGenerator gen = ContentGeneratorExtensionFactoryRegistry.getInstance().getGeneratorClassFromName(protocol);
- contentGenerators.add(gen);
- }
- }
-
- if (protocolText == null && protocolCombo.getItemCount() > 0)
- {
- protocolText = protocolCombo.getItem(0);
-// generator.setProtocol(!UNSPECIFIED.equals(protocolText) ? protocolText : null);
- }
- protocolCombo.setText(protocolText);
-
- ContentGenerator gen = ContentGeneratorExtensionFactoryRegistry.getInstance().getGeneratorClassFromName(protocolText);
- generator.setContentGenerator(gen);
- }
-
- protected void updateRefNameCombo()
- {
- refNameCombo.removeAll();
-
- refNameCombo.add(UNSPECIFIED);
- for (Iterator i = getRefNames().iterator(); i.hasNext();)
- {
- refNameCombo.add((String) i.next());
- }
-
- if (refNameCombo.getItemCount() > 0)
- {
- String refText = generator.getRefName();
- refNameCombo.setText(refText != null ? refText : UNSPECIFIED);
- }
- }
-
- public void modifyText(ModifyEvent e)
- {
- generator.setName(componentNameField.getText());
- }
-
- public abstract List getRefNames();
- public abstract String getRefNameLabelText();
- public abstract String getDefaultName();
- public abstract ContentGeneratorOptionsPage createContentGeneratorOptionsPage(String protocol);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11BrowseComponentDialog.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11BrowseComponentDialog.java
deleted file mode 100644
index cc4a7e91f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11BrowseComponentDialog.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.dialogs;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.window.Window;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSearchListDialog;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSearchListDialogConfiguration;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ScopedComponentSearchListDialog;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLBindingSearchListProvider;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLComponentDescriptionProvider;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLInterfaceSearchListProvider;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLMessageSearchListProvider;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11BrowseComponentDialog implements IComponentDialog {
- private QualifiedName qualifiedName;
- private ComponentSpecification selection;
- private W11Description description;
-
- public W11BrowseComponentDialog(QualifiedName qualifiedName, IFile iFile, W11Description description) {
- this.qualifiedName = qualifiedName;
- this.description = description;
- }
-
- public void setInitialSelection(ComponentSpecification componentSpecification) {
- // TODO Auto-generated method stub
-
- }
-
- public ComponentSpecification getSelectedComponent() {
- return selection;
- }
-
- public int createAndOpen() {
- Definition definition = (Definition) description.getTarget();
-
- Shell shell = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getShell();
- int returnValue = Window.CANCEL;
- ComponentSearchListDialog dialog = null;
- if (qualifiedName == IWSDLSearchConstants.BINDING_META_NAME)
- {
- WSDLComponentDescriptionProvider descriptionProvider = new WSDLComponentDescriptionProvider();
- final WSDLBindingSearchListProvider searchListProvider = new WSDLBindingSearchListProvider(definition);
- ComponentSearchListDialogConfiguration configuration = new ComponentSearchListDialogConfiguration();
- configuration.setFilterLabelText(Messages._UI_LABEL_NAME_FILTER);
- configuration.setDescriptionProvider(descriptionProvider);
- configuration.setSearchListProvider(searchListProvider);
-
- String dialogTitle = Messages._UI_TITLE_SPECIFY_BINDING; //$NON-NLS-1$
- dialog = new ScopedComponentSearchListDialog(shell, dialogTitle, configuration);
-
- IFile file = getFile();
- if (file != null) {
- ((ScopedComponentSearchListDialog) dialog).setCurrentResource(file);
- }
- }
- else if (qualifiedName == IWSDLSearchConstants.PORT_TYPE_META_NAME)
- {
- WSDLComponentDescriptionProvider descriptionProvider = new WSDLComponentDescriptionProvider();
- final WSDLInterfaceSearchListProvider searchListProvider = new WSDLInterfaceSearchListProvider(definition);
-
- ComponentSearchListDialogConfiguration configuration = new ComponentSearchListDialogConfiguration();
- configuration.setFilterLabelText(Messages._UI_LABEL_NAME_FILTER);
- configuration.setDescriptionProvider(descriptionProvider);
- configuration.setSearchListProvider(searchListProvider);
- //configuration.setNewComponentHandler(new NewTypeButtonHandler());
-
- String dialogTitle = Messages._UI_TITLE_SPECIFY_PORTTYPE; //$NON-NLS-1$
- dialog = new ScopedComponentSearchListDialog(shell, dialogTitle, configuration);
-
- IFile file = getFile();
- if (file != null) {
- ((ScopedComponentSearchListDialog) dialog).setCurrentResource(file);
- }
- }
- else if (qualifiedName == IWSDLSearchConstants.MESSAGE_META_NAME)
- {
- WSDLComponentDescriptionProvider descriptionProvider = new WSDLComponentDescriptionProvider();
- final WSDLMessageSearchListProvider searchListProvider = new WSDLMessageSearchListProvider(definition);
-
- ComponentSearchListDialogConfiguration configuration = new ComponentSearchListDialogConfiguration();
- configuration.setFilterLabelText(Messages._UI_LABEL_NAME_FILTER);
- configuration.setDescriptionProvider(descriptionProvider);
- configuration.setSearchListProvider(searchListProvider);
- //configuration.setNewComponentHandler(new NewTypeButtonHandler());
-
- String dialogTitle = Messages._UI_TITLE_SPECIFY_MESSAGE; //$NON-NLS-1$
- dialog = new ScopedComponentSearchListDialog(shell, dialogTitle, configuration);
-
- IFile file = getFile();
- if (file != null) {
- ((ScopedComponentSearchListDialog) dialog).setCurrentResource(file);
- }
- }
-
- if (dialog != null)
- {
- dialog.setBlockOnOpen(true);
- dialog.create();
- returnValue = dialog.open();
- if (returnValue == Window.OK)
- {
- selection = dialog.getSelectedComponent();
- }
- }
- return returnValue;
- }
-
- private IFile getFile() {
- IFile file = null;
- IEditorInput input = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor().getEditorInput();
- if (input instanceof IFileEditorInput) {
- file = ((IFileEditorInput) input).getFile();
- }
-
- return file;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11NewComponentDialog.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11NewComponentDialog.java
deleted file mode 100644
index c0219a76e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11NewComponentDialog.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.dialogs;
-
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.jface.window.Window;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddBindingCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddInterfaceCommand;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddMessageCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-import org.eclipse.wst.xsd.ui.internal.dialogs.NewComponentDialog;
-
-public class W11NewComponentDialog implements IComponentDialog {
- protected NewComponentDialog dialog;
- protected QualifiedName qualifiedName;
- protected IFile iFile;
- protected W11Description description;
- protected IASDObject newObject;
-
- public W11NewComponentDialog(QualifiedName qualifiedName, IFile iFile, W11Description description) {
- this.qualifiedName = qualifiedName;
- this.iFile = iFile;
- this.description = description;
-
- Shell shell = Display.getCurrent().getActiveShell();
- if (qualifiedName == IWSDLSearchConstants.BINDING_META_NAME) {
- String dialogTitle = Messages._UI_LABEL_NEW_BINDING; //$NON-NLS-1$
- String baseName = NameUtil.buildUniqueBindingName(getDefinition(), "NewBinding"); //$NON-NLS-1$
- List usedNames = NameUtil.getUsedBindingNames(getDefinition());
- dialog = new NewComponentDialog(shell, dialogTitle, baseName, usedNames);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, ASDEditorCSHelpIds.NEW_BINDING_DIALOG);
- }
- else if (qualifiedName == IWSDLSearchConstants.PORT_TYPE_META_NAME) {
- String dialogTitle = Messages._UI_LABEL_NEW_PORTTYPE; //$NON-NLS-1$
- String baseName = NameUtil.buildUniquePortTypeName(getDefinition(), "NewPortType"); //$NON-NLS-1$
- List usedNames = NameUtil.getUsedPortTypeNames(getDefinition());
- dialog = new NewComponentDialog(shell, dialogTitle, baseName, usedNames);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, ASDEditorCSHelpIds.NEW_PORTTYPE_DIALOG);
- }
- else if (qualifiedName == IWSDLSearchConstants.MESSAGE_META_NAME) {
- String dialogTitle = Messages._UI_LABEL_NEW_MESSAGE; //$NON-NLS-1$
- String baseName = NameUtil.buildUniqueMessageName(getDefinition(), "NewMessage"); //$NON-NLS-1$
- List usedNames = NameUtil.getUsedMessageNames(getDefinition());
- dialog = new NewComponentDialog(shell, dialogTitle, baseName, usedNames);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, ASDEditorCSHelpIds.NEW_MESSAGE_DIALOG);
- }
- }
-
- private Definition getDefinition() {
- return (Definition) description.getTarget();
- }
-
- public void setInitialSelection(ComponentSpecification componentSpecification) {
- }
-
- public ComponentSpecification getSelectedComponent() {
- String qualifier = getDefinition().getPrefix(getDefinition().getTargetNamespace());
- String name = dialog.getName();
- ComponentSpecification spec = new ComponentSpecification(qualifier, name, iFile);
- spec.setObject(newObject);
- return spec;
- }
-
- public int createAndOpen() {
- int rValue = dialog.createAndOpen();
-
- if (rValue == Window.OK) {
- // Create the new Object
- if (qualifiedName == IWSDLSearchConstants.BINDING_META_NAME) {
- W11AddBindingCommand command = (W11AddBindingCommand) description.getAddBindingCommand();
- command.setNewBindingName(dialog.getName());
- execute(command);
-
- Object newWSDLObject = command.getNewBinding();
- newObject = (IASDObject) WSDLAdapterFactoryHelper.getInstance().adapt((Notifier) newWSDLObject);
- }
- else if (qualifiedName == IWSDLSearchConstants.PORT_TYPE_META_NAME) {
- W11AddInterfaceCommand command = (W11AddInterfaceCommand) description.getAddInterfaceCommand();
- command.setNewPortTypeName(dialog.getName());
- execute(command);
-
- Object newWSDLObject = command.getNewPortType();
- newObject = (IASDObject) WSDLAdapterFactoryHelper.getInstance().adapt((Notifier) newWSDLObject);
- }
- else if (qualifiedName == IWSDLSearchConstants.MESSAGE_META_NAME) {
- W11AddMessageCommand command = (W11AddMessageCommand) description.getAddMessageCommand();
- command.setNewMessageName(dialog.getName());
- execute(command);
-
- Object newWSDLObject = command.getNewMessage();
- newObject = (IASDObject) WSDLAdapterFactoryHelper.getInstance().adapt((Notifier) newWSDLObject);
- }
- }
-
- return rValue;
- }
-
- private void execute(Command command) {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- if (page.getActiveEditor().getAdapter(CommandStack.class) != null) {
- CommandStack stack = (CommandStack) page.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
- }
- else {
- command.execute();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11BindingReferenceEditManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11BindingReferenceEditManager.java
deleted file mode 100644
index 16e72ee33..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11BindingReferenceEditManager.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentDescriptionProvider;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11EndPoint;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.W11BrowseComponentDialog;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.W11NewComponentDialog;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLSetComponentHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11BindingReferenceEditManager implements ComponentReferenceEditManager {
- protected W11Description description;
- protected IFile iFile;
-
- public W11BindingReferenceEditManager(W11Description description, IFile iFile) {
- this.description = description;
- this.iFile = iFile;
- }
-
- public IComponentDialog getBrowseDialog() {
- return new W11BrowseComponentDialog(IWSDLSearchConstants.BINDING_META_NAME, iFile, description);
- }
-
- public IComponentDialog getNewDialog() {
- return new W11NewComponentDialog(IWSDLSearchConstants.BINDING_META_NAME, iFile, description);
- }
-
- private Definition getDefinition() {
- return (Definition) description.getTarget();
- }
-
- public void modifyComponentReference(Object referencingObject, ComponentSpecification referencedComponent) {
- W11EndPoint w11EndPoint = (W11EndPoint) referencingObject;
- Object bindingObject = referencedComponent.getObject();
- if (bindingObject == null) {
- // Need to figure out the IBinding based on the information contained in the ComponentSpecification
-
- }
-
- if (bindingObject instanceof ComponentSpecification) {
- Port port = (Port) w11EndPoint.getTarget();
- WSDLSetComponentHelper helper = new WSDLSetComponentHelper(iFile, getDefinition());
- helper.setWSDLComponent(port, "binding", (ComponentSpecification) bindingObject); //$NON-NLS-1$
- }
- else if (bindingObject instanceof IBinding){
- IBinding binding = (IBinding) bindingObject;
- Command command = w11EndPoint.getSetBindingCommand(binding);
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
- }
- }
-
- public IComponentDescriptionProvider getComponentDescriptionProvider() {
- return null;
- }
-
- public ComponentSpecification[] getQuickPicks() {
- List specList = new ArrayList();
-
- Iterator bindings = description.getBindings().iterator();
- while (bindings.hasNext()) {
- IBinding binding = (IBinding) bindings.next();
- String qualifier = ""; //$NON-NLS-1$
- String name = binding.getName();
- IFile file = null;
-
- ComponentSpecification spec = new ComponentSpecification(qualifier, name, file);
- spec.setObject(binding);
- specList.add(spec);
- }
-
- ComponentSpecification[] specArray = new ComponentSpecification[specList.size()];
- specList.toArray(specArray);
-
- return specArray;
- }
-
- public ComponentSpecification[] getHistory() {
- ComponentSpecification[] history = new ComponentSpecification[0];
- return history;
- }
-
- public void addToHistory(ComponentSpecification component) {
-
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11InterfaceReferenceEditManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11InterfaceReferenceEditManager.java
deleted file mode 100644
index d4efef365..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11InterfaceReferenceEditManager.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentDescriptionProvider;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Binding;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.W11BrowseComponentDialog;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.W11NewComponentDialog;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLSetComponentHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11InterfaceReferenceEditManager implements ComponentReferenceEditManager {
- protected W11Description description;
- protected IFile iFile;
-
- public W11InterfaceReferenceEditManager(W11Description description, IFile iFile) {
- this.description = description;
- this.iFile = iFile;
- }
-
- public IComponentDialog getBrowseDialog() {
- return new W11BrowseComponentDialog(IWSDLSearchConstants.PORT_TYPE_META_NAME, iFile, description);
- }
-
- public IComponentDialog getNewDialog() {
- return new W11NewComponentDialog(IWSDLSearchConstants.PORT_TYPE_META_NAME, iFile, description);
- }
-
- private Definition getDefinition() {
- return (Definition) description.getTarget();
- }
-
- public void modifyComponentReference(Object referencingObject, ComponentSpecification referencedComponent) {
- W11Binding w11Binding = (W11Binding) referencingObject;
- Object interfaceObject = referencedComponent.getObject();
- if (interfaceObject == null) {
- // Need to figure out the IInterface based on the information contained in the ComponentSpecification
-
- }
-
- if (interfaceObject instanceof ComponentSpecification) {
- Binding binding = (Binding) w11Binding.getTarget();
- WSDLSetComponentHelper helper = new WSDLSetComponentHelper(iFile, getDefinition());
- helper.setWSDLComponent(binding, "type", (ComponentSpecification) interfaceObject); //$NON-NLS-1$
- }
- else if (interfaceObject instanceof IInterface){
- IInterface interfaze = (IInterface) interfaceObject;
- Command command = w11Binding.getSetInterfaceCommand(interfaze);
- CommandStack stack = (CommandStack) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
- }
- }
-
- public IComponentDescriptionProvider getComponentDescriptionProvider() {
-
- return null;
- }
-
- public ComponentSpecification[] getQuickPicks() {
- List specList = new ArrayList();
-
- Iterator interfaces = description.getInterfaces().iterator();
- while (interfaces.hasNext()) {
- IInterface interfaze = (IInterface) interfaces.next();
- String qualifier = ""; //$NON-NLS-1$
- String name = interfaze.getName();
- IFile file = null;
-
- ComponentSpecification spec = new ComponentSpecification(qualifier, name, file);
- spec.setObject(interfaze);
- specList.add(spec);
- }
-
- ComponentSpecification[] specArray = new ComponentSpecification[specList.size()];
- specList.toArray(specArray);
-
- return specArray;
- }
-
- public ComponentSpecification[] getHistory() {
- ComponentSpecification[] history = new ComponentSpecification[0];
- return history;
- }
-
- public void addToHistory(ComponentSpecification component) {
-
-
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11MessageReferenceEditManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11MessageReferenceEditManager.java
deleted file mode 100644
index f1c4877e8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11MessageReferenceEditManager.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentDescriptionProvider;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Message;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.W11BrowseComponentDialog;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.W11NewComponentDialog;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLSetComponentHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11MessageReferenceEditManager implements ComponentReferenceEditManager {
- protected W11Description description;
- protected IFile iFile;
-
- public W11MessageReferenceEditManager(W11Description description, IFile iFile) {
- this.description = description;
- this.iFile = iFile;
- }
-
- public IComponentDialog getBrowseDialog() {
- return new W11BrowseComponentDialog(IWSDLSearchConstants.MESSAGE_META_NAME, iFile, description);
- }
-
- public IComponentDialog getNewDialog() {
- return new W11NewComponentDialog(IWSDLSearchConstants.MESSAGE_META_NAME, iFile, description);
- }
-
- private Definition getDefinition() {
- return (Definition) description.getTarget();
- }
-
- public void modifyComponentReference(Object referencingObject, ComponentSpecification referencedComponent) {
- W11MessageReference w11MessageRef = (W11MessageReference) referencingObject;
- Object messageObject = referencedComponent.getObject();
- if (messageObject == null) {
- // Need to figure out the IMessage based on the information contained in the ComponentSpecification
-
- }
-
- if (messageObject instanceof ComponentSpecification) {
- MessageReference messageRef= (MessageReference) w11MessageRef.getTarget();
- WSDLSetComponentHelper helper = new WSDLSetComponentHelper(iFile, getDefinition());
- helper.setWSDLComponent(messageRef, "message", (ComponentSpecification) messageObject); //$NON-NLS-1$
- }
- else if (messageObject instanceof W11Message){
- // Below is a little complex.... The alternative was to have IMessage contain a
- // getSetMessageCommand() which would handle all of this but does a getSetMessageCommand()
- // make sense at the generic level.....
- W11Message iMessage = (W11Message) messageObject;
- ComponentSpecification specObject = new ComponentSpecification();
- specObject.setName(iMessage.getName());
- specObject.setMetaName(IWSDLSearchConstants.MESSAGE_META_NAME);
- specObject.setQualifier(description.getTargetNamespace());
-
- String location = ((Definition) description.getTarget()).getLocation();
- String platformResource = "platform:/resource"; //$NON-NLS-1$
- if (location != null && location.startsWith(platformResource))
- {
- Path path = new Path(location.substring(platformResource.length()));
- specObject.setFile(ResourcesPlugin.getWorkspace().getRoot().getFile(path));
- }
-
- MessageReference messageRef= (MessageReference) w11MessageRef.getTarget();
- WSDLSetComponentHelper helper = new WSDLSetComponentHelper(iFile, getDefinition());
- helper.setWSDLComponent(messageRef, "message", (ComponentSpecification) specObject); //$NON-NLS-1$
- }
- }
-
- public IComponentDescriptionProvider getComponentDescriptionProvider() {
-
- return null;
- }
-
- public ComponentSpecification[] getQuickPicks() {
- List specList = new ArrayList();
-
- Iterator messages = description.getMessages().iterator();
- while (messages.hasNext()) {
- IMessage message = (IMessage) messages.next();
- String qualifier = ""; //$NON-NLS-1$
- String name = message.getName();
- IFile file = null;
-
- ComponentSpecification spec = new ComponentSpecification(qualifier, name, file);
- spec.setObject(message);
- specList.add(spec);
- }
-
- ComponentSpecification[] specArray = new ComponentSpecification[specList.size()];
- specList.toArray(specArray);
-
- return specArray;
- }
-
- public ComponentSpecification[] getHistory() {
-
- return null;
- }
-
- public void addToHistory(ComponentSpecification component) {
-
-
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBaseSearchListProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBaseSearchListProvider.java
deleted file mode 100644
index 94fe3435c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBaseSearchListProvider.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.core.search.scope.SearchScope;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentList;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentSearchListProvider;
-import org.eclipse.wst.common.uriresolver.internal.util.URIHelper;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.internal.impl.ImportImpl;
-
-public abstract class WSDLBaseSearchListProvider implements IComponentSearchListProvider {
-
- protected Definition definition;
-
- protected void createWSDLComponentObjects(IComponentList list, List inputComponents, QualifiedName metaName) {
- Iterator it = inputComponents.iterator();
- while (it.hasNext()) {
- WSDLElement wsdlElement = (WSDLElement) it.next();
- String name = wsdlElement.getElement().getAttribute("name"); //$NON-NLS-1$
- String qualifier = wsdlElement.getEnclosingDefinition().getTargetNamespace();
-
- ComponentSpecification componentSpec = new ComponentSpecification();
- componentSpec.setMetaName(metaName);
- componentSpec.setName(name);
- componentSpec.setQualifier(qualifier);
-
- String location = wsdlElement.getEnclosingDefinition().getLocation();
- String platformResource = "platform:/resource"; //$NON-NLS-1$
- if (location != null && location.startsWith(platformResource)) {
- Path path = new Path(location.substring(platformResource.length()));
- IFile result = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
- if (result != null) {
- componentSpec.setFile(result);
- }
- }
-
- list.add(componentSpec);
- }
- }
-
- protected List getWSDLFileImports(List wsdlImports) {
- List list = new ArrayList();
- Iterator it = wsdlImports.iterator();
- while (it.hasNext()) {
- ImportImpl importItem = (ImportImpl) it.next();
- importItem.importDefinitionOrSchema(); // Load if necessary
- if (importItem.getESchema() == null) {
- list.add(importItem);
- }
- }
-
- return list;
- }
-
- //TODO (trung) make this one abstract when we are in development phase again
- protected List getSearchingComponents(Definition importDefinition) {
- return new ArrayList();
- }
-
- protected void getImportedComponents(IComponentList list, QualifiedName metaName, HashMap exclusions) {
- Iterator importsIt = getWSDLFileImports(definition.getEImports()).iterator();
- while (importsIt.hasNext()) {
- Import importItem = (Import) importsIt.next();
- String location = importItem.getDefinition().getDocumentBaseURI();
- exclusions.put(location, Boolean.TRUE );
- Definition importDefinition = importItem.getEDefinition();
- if (importDefinition != null)
- {
- List importedComponents = getSearchingComponents(importDefinition);
- createWSDLComponentObjects(list, importedComponents, metaName);
- }
- }
- }
-
- protected void searchOutsideCurrentResource(IComponentList list, SearchScope scope, QualifiedName metaName, Map exclusions) {
- if (scope != null) {
- WSDLComponentFinder finder = new WSDLComponentFinder(metaName);
- Iterator it = finder.getWorkbenchResourceComponents(scope).iterator();
- while (it.hasNext()) {
- ComponentSpecification item = (ComponentSpecification) it.next();
- String itemURI = URIHelper.getPlatformURI(item.getFile());
- if (exclusions.get(itemURI) == null){
- list.add(item);
- }
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBindingSearchListProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBindingSearchListProvider.java
deleted file mode 100644
index a43c715a5..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBindingSearchListProvider.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.common.core.search.scope.SearchScope;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-
-public class WSDLBindingSearchListProvider extends WSDLBaseSearchListProvider {
- public WSDLBindingSearchListProvider(Definition definition) {
- this.definition = definition;
- }
-
- public void populateComponentList(IComponentList list, SearchScope scope, IProgressMonitor pm) {
- // Grab explictly defined components
- createWSDLComponentObjects(list, definition.getEBindings(), IWSDLSearchConstants.BINDING_META_NAME);
-
- // Files excluded if we search with the search engine later
- HashMap exclusions = new HashMap();
- exclusions.put(definition.getDocumentBaseURI(), Boolean.TRUE);
-
- // Grab directly imported components and update the exclusions 'list'
- getImportedComponents(list, IWSDLSearchConstants.BINDING_META_NAME, exclusions);
-
- searchOutsideCurrentResource(list, scope, IWSDLSearchConstants.BINDING_META_NAME, exclusions);
- }
-
- protected List getSearchingComponents(Definition importDefinition) {
- return importDefinition.getEBindings();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentDescriptionProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentDescriptionProvider.java
deleted file mode 100644
index eb6424aa4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentDescriptionProvider.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.common.core.search.SearchMatch;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentDescriptionProvider;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-
-public class WSDLComponentDescriptionProvider extends LabelProvider implements IComponentDescriptionProvider {
- private static final Image BINDING_IMAGE = WSDLEditorPlugin.getInstance().getImage("icons/binding_obj.gif"); //$NON-NLS-1$
- private static final Image PORTTYPE_IMAGE = WSDLEditorPlugin.getInstance().getImage("icons/porttype_obj.gif"); //$NON-NLS-1$
- private static final Image MESSAGE_IMAGE = WSDLEditorPlugin.getInstance().getImage("icons/message_obj.gif"); //$NON-NLS-1$
-
- public boolean isApplicable(Object component) {
- return true;
- }
-
- public String getQualifier(Object component) {
- String result = null;
- if (component instanceof ComponentSpecification)
- {
- result = ((ComponentSpecification)component).getQualifier();
- }
- else if (component instanceof WSDLElement)
- {
- result = ((WSDLElement) component).getEnclosingDefinition().getTargetNamespace();
- }
- else if (component instanceof SearchMatch)
- {
- QualifiedName qualifiedName = getQualifiedNameForSearchMatch((SearchMatch)component);
- if (qualifiedName != null)
- {
- result = qualifiedName.getNamespace();
- }
- }
- return result;
- }
-
- public String getName(Object component) {
- String result = null;
- if (component instanceof ComponentSpecification)
- {
- result = ((ComponentSpecification)component).getName();
- }
- else if (component instanceof WSDLElement)
- {
- result = ((WSDLElement)component).getElement().getAttribute("name"); //$NON-NLS-1$
- }
- else if (component instanceof SearchMatch)
- {
- QualifiedName qualifiedName = getQualifiedNameForSearchMatch((SearchMatch)component);
- if (qualifiedName != null)
- {
- result = qualifiedName.getLocalName();
- }
- }
- return result;
- }
-
- public Image getFileIcon(Object component) {
- return WSDLEditorPlugin.getInstance().getImage("icons/wsdl_file_obj.gif"); //$NON-NLS-1$
- }
-
- public IFile getFile(Object component) {
- IFile result = null;
- if (component instanceof ComponentSpecification)
- {
- result = ((ComponentSpecification)component).getFile();
- }
- else if (component instanceof SearchMatch)
- {
- result = ((SearchMatch)component).getFile();
- }
- else if (component instanceof WSDLElement)
- {
- WSDLElement concreteComponent = (WSDLElement) component;
- Definition definition = concreteComponent.getEnclosingDefinition();
- if (definition != null)
- {
- // TODO (cs) revisit and test more
- //
- String location = definition.getLocation();
- String platformResource = "platform:/resource"; //$NON-NLS-1$
- if (location != null && location.startsWith(platformResource))
- {
- Path path = new Path(location.substring(platformResource.length()));
- result = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
- }
- }
- }
- return result;
- }
-
- public ILabelProvider getLabelProvider() {
- return this;
- }
-
- public String getText(Object element) {
- String result = ""; //$NON-NLS-1$
- String name = getName(element);
- if (name != null) {
- result += name;
- }
- return result;
- }
-
- public Image getImage(Object component)
- {
- Image result = null;
- if (component instanceof ComponentSpecification)
- {
- QualifiedName qualifiedName = ((ComponentSpecification) component).getMetaName();
- if ( qualifiedName != null ){
- if ( qualifiedName.equals(IWSDLSearchConstants.BINDING_META_NAME))
- result = BINDING_IMAGE;
- else if ( qualifiedName.equals(IWSDLSearchConstants.PORT_TYPE_META_NAME))
- result = PORTTYPE_IMAGE;
- else if ( qualifiedName.equals(IWSDLSearchConstants.MESSAGE_META_NAME))
- result = MESSAGE_IMAGE;
-
- }
- }
- else if (component instanceof SearchMatch)
- {
- SearchMatch searchMatch = (SearchMatch)component;
- QualifiedName qualifiedName = (QualifiedName)searchMatch.map.get("metaName"); //$NON-NLS-1$
- if ( qualifiedName != null ){
- if ( qualifiedName.equals(IWSDLSearchConstants.BINDING_META_NAME))
- result = BINDING_IMAGE;
- else if ( qualifiedName.equals(IWSDLSearchConstants.PORT_TYPE_META_NAME))
- result = PORTTYPE_IMAGE;
- else if ( qualifiedName.equals(IWSDLSearchConstants.MESSAGE_META_NAME))
- result = MESSAGE_IMAGE;
-
- }
- }
- else if (component instanceof Binding)
- result = BINDING_IMAGE;
- else if (component instanceof PortType)
- result = PORTTYPE_IMAGE;
- else if (component instanceof Message)
- result = MESSAGE_IMAGE;
-
- return result;
- }
-
- private QualifiedName getQualifiedNameForSearchMatch(SearchMatch match) {
- QualifiedName qualifiedName = null;
- Object o = match.map.get("name"); //$NON-NLS-1$
- if (o != null && o instanceof QualifiedName)
- {
- qualifiedName = (QualifiedName)o;
- }
- return qualifiedName;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentFinder.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentFinder.java
deleted file mode 100644
index 9acb310fc..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentFinder.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.wst.common.core.search.SearchEngine;
-import org.eclipse.wst.common.core.search.SearchMatch;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.core.search.pattern.SearchPattern;
-import org.eclipse.wst.common.core.search.scope.SearchScope;
-import org.eclipse.wst.common.core.search.util.CollectingSearchRequestor;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.xml.core.internal.search.XMLComponentDeclarationPattern;
-
-public class WSDLComponentFinder {
- QualifiedName metaName;
- public WSDLComponentFinder(QualifiedName metaName) {
- this.metaName = metaName;
- }
-
-
- protected void findComponents(SearchEngine searchEngine, List list, SearchScope searchScope)
- {
- try {
- CollectingSearchRequestor requestor = new CollectingSearchRequestor();
-
- XMLComponentDeclarationPattern pattern = new XMLComponentDeclarationPattern(new QualifiedName("*", "*"), metaName, SearchPattern.R_PATTERN_MATCH); //$NON-NLS-1$ //$NON-NLS-2$
-
- // TODO (cs) rethink the commented out code below. Is there some reason for narrowing to list of search particpants?
- // It seems the only benefit may be to filter our xsd component declarations that aren't defined
- // in stand alone wsdl documents. Perhaps it's best to do this with an additional property arg on the
- // declaration pattern or perhaps simply doing some 'post' filtering.
- //
- //String participantId = metaName.getNamespace().equals(WSDLConstants.WSDL_NAMESPACE_URI) ?
- // "org.eclipse.wst.wsdl.search.WSDLSearchParticipant" :
- // "org.eclipse.wst.xsd.search.XSDSearchParticipant";
- //SearchParticipant particpant = SearchPlugin.getDefault().getSearchParticipant(participantId);
- //SearchParticipant[] participants = { particpant };
-
- // TODO (cs) I'm betting we'll need to provide some hook here to allow extenders to configure
- // the search options. Currently we just pass in null.
- searchEngine.search(pattern, requestor, searchScope, null, new NullProgressMonitor());
-
- for (Iterator i = requestor.getResults().iterator(); i.hasNext(); )
- {
- SearchMatch match = (SearchMatch)i.next();
- ComponentSpecification spec = new ComponentSpecification();
- spec.setMetaName(metaName);
- spec.setFile(match.getFile());
-
- Object o = match.map.get("name"); //$NON-NLS-1$
- if (o != null && o instanceof QualifiedName)
- {
- QualifiedName qualifiedName = (QualifiedName)o;
- if (qualifiedName.getLocalName() != null)
- {
- spec.setName(qualifiedName.getLocalName());
- spec.setQualifier(qualifiedName.getNamespace());
- list.add(spec);
- }
- }
- }
- } catch (CoreException e) {
- e.printStackTrace();
- //status.add(e.getStatus());
- }
- }
-
- public List getWorkbenchResourceComponents(SearchScope scope) {
-
- List list = new ArrayList();
- SearchEngine searchEngine = new SearchEngine();
- findComponents(searchEngine, list, scope);
- return list;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLInterfaceSearchListProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLInterfaceSearchListProvider.java
deleted file mode 100644
index f3e8268e0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLInterfaceSearchListProvider.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.common.core.search.scope.SearchScope;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-
-public class WSDLInterfaceSearchListProvider extends WSDLBaseSearchListProvider {
- public WSDLInterfaceSearchListProvider(Definition definition) {
- this.definition = definition;
- }
-
- public void populateComponentList(IComponentList list, SearchScope scope, IProgressMonitor pm) {
- // Grab explictly defined components
- createWSDLComponentObjects(list, definition.getEPortTypes(), IWSDLSearchConstants.PORT_TYPE_META_NAME);
-
- // Files excluded if we search with the search engine later
- HashMap exclusions = new HashMap();
- exclusions.put(definition.getDocumentBaseURI(), Boolean.TRUE);
-
- // Grab directly imported components and update the exclusions 'list'
- getImportedComponents(list, IWSDLSearchConstants.PORT_TYPE_META_NAME, exclusions);
-
- searchOutsideCurrentResource(list, scope, IWSDLSearchConstants.PORT_TYPE_META_NAME, exclusions);
- }
-
- protected List getSearchingComponents(Definition importDefinition) {
- return importDefinition.getEPortTypes();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLMessageSearchListProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLMessageSearchListProvider.java
deleted file mode 100644
index c28d4ec9a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLMessageSearchListProvider.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.common.core.search.scope.SearchScope;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-
-public class WSDLMessageSearchListProvider extends WSDLBaseSearchListProvider {
- public WSDLMessageSearchListProvider(Definition definition) {
- this.definition = definition;
- }
-
- public void populateComponentList(IComponentList list, SearchScope scope, IProgressMonitor pm) {
- // Grab explictly defined components
- createWSDLComponentObjects(list, definition.getEMessages(), IWSDLSearchConstants.MESSAGE_META_NAME);
-
- // Files excluded if we search with the search engine later
- HashMap exclusions = new HashMap();
- exclusions.put(definition.getDocumentBaseURI(), Boolean.TRUE);
-
- // Grab directly imported components and update the exclusions 'list'
- getImportedComponents(list, IWSDLSearchConstants.MESSAGE_META_NAME, exclusions);
-
- searchOutsideCurrentResource(list, scope, IWSDLSearchConstants.MESSAGE_META_NAME, exclusions);
- }
-
- protected List getSearchingComponents(Definition importDefinition) {
- return importDefinition.getEMessages();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDElementReferenceEditManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDElementReferenceEditManager.java
deleted file mode 100644
index 272880b33..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDElementReferenceEditManager.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.ui.internal.search.dialogs.IComponentList;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddXSDElementDeclarationCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLSetComponentHelper;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDElementReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.search.IXSDSearchConstants;
-import org.eclipse.xsd.XSDSchema;
-
-public class WSDLXSDElementReferenceEditManager extends XSDElementReferenceEditManager {
- public WSDLXSDElementReferenceEditManager(IFile currentFile, XSDSchema[] schemas) {
- super(currentFile, schemas);
- }
-
- public WSDLXSDElementReferenceEditManager(IFile currentFile, XSDSchema[] schemas, IDescription description) {
- super(currentFile, null);
- if (schemas == null || schemas.length == 0) {
- setSchemas(getInlineSchemas(description));
- }
- }
-
- public void modifyComponentReference(Object referencingObject, ComponentSpecification component) {
- if (referencingObject instanceof Adapter) {
- Adapter adapter = (Adapter) referencingObject;
- referencingObject = adapter.getTarget();
- }
-
- if (referencingObject instanceof Part) {
- Part part = (Part) referencingObject;
- IFile file = null;
- if (ASDEditorPlugin.getActiveEditor().getEditorInput() instanceof IFileEditorInput) {
- file = ((IFileEditorInput) ASDEditorPlugin.getActiveEditor().getEditorInput()).getFile();
- }
-
- if (component.isNew()) {
- if (component.getMetaName() == IXSDSearchConstants.ELEMENT_META_NAME) {
- AddXSDElementDeclarationCommand command = new AddXSDElementDeclarationCommand(part.getEnclosingDefinition(), component.getName());
- command.run();
- String tns = command.getXSDElement().getTargetNamespace();
- component.setQualifier(tns);
- }
- }
-
- WSDLSetComponentHelper helper = new WSDLSetComponentHelper(file, part.getEnclosingDefinition());
- helper.setXSDElementComponent(part, component);
- }
- }
-
- public ComponentSpecification[] getQuickPicks() {
-// ElementComponentList list = new ElementComponentList();
-//
-// if (ASDEditorPlugin.getActiveEditor().getEditorInput() instanceof IFileEditorInput) {
-// IFile file = ((IFileEditorInput) ASDEditorPlugin.getActiveEditor().getEditorInput()).getFile();
-// XSDElementsSearchListProvider provider = new XSDElementsSearchListProvider(file, schemas);
-// provider.populateComponentList(list, null, null);
-// }
-//
-// ComponentSpecification specs[] = new ComponentSpecification[list.size()];
-// for (int index = 0; index < list.size(); index++) {
-// specs[index] = (ComponentSpecification) list.get(index);
-// }
-
- return new ComponentSpecification[0];
- }
-
- public void setSchemas(XSDSchema[] schemas) {
- this.schemas = schemas;
- }
-
- private XSDSchema[] getInlineSchemas(IDescription description) {
- List types = description.getTypes();
- XSDSchema[] schemas = new XSDSchema[types.size()];
- for (int index = 0; index < types.size(); index++) {
- W11Type type = (W11Type) types.get(index);
- schemas[index] = (XSDSchema) type.getTarget();
- }
-
- return schemas;
- }
-
- private class ElementComponentList implements IComponentList {
- private List list = new ArrayList();
-
- public void add(Object object) {
- list.add(object);
- }
-
- public Iterator iterator() {
- return list.iterator();
- }
-
- public int size() {
- return list.size();
- }
-
- public Object get(int index) {
- return list.get(index);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDTypeReferenceEditManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDTypeReferenceEditManager.java
deleted file mode 100644
index 620e53330..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDTypeReferenceEditManager.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.edit;
-
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddXSDTypeDefinitionCommand;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLSetComponentHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-import org.eclipse.wst.xsd.ui.internal.dialogs.NewTypeDialog;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDTypeReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.search.IXSDSearchConstants;
-import org.eclipse.xsd.XSDAttributeUse;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDSchema;
-
-public class WSDLXSDTypeReferenceEditManager extends XSDTypeReferenceEditManager {
-
- public WSDLXSDTypeReferenceEditManager(IFile currentFile, XSDSchema[] schemas) {
- super(currentFile, schemas);
- }
-
- public WSDLXSDTypeReferenceEditManager(IFile currentFile, XSDSchema[] schemas, IDescription description) {
- super(currentFile, null);
- if (schemas == null || schemas.length == 0) {
- setSchemas(getInlineSchemas(description));
- }
- }
-
- public IComponentDialog getNewDialog()
- {
- if (schemas.length > 0) {
- NewTypeDialog newTypeDialog = new NewTypeDialog(schemas[0]);
- newTypeDialog.allowAnonymousType(false);
- return newTypeDialog;
- }
- else {
- NewTypeDialog newTypeDialog = new NewTypeDialog();
- newTypeDialog.allowAnonymousType(false);
- return newTypeDialog;
- }
- }
-
- public void modifyComponentReference(Object referencingObject, ComponentSpecification component) {
- if (referencingObject instanceof Adapter) {
- Adapter adapter = (Adapter) referencingObject;
- referencingObject = adapter.getTarget();
- }
-
- if (referencingObject instanceof Part) {
- Part part = (Part) referencingObject;
- IFile file = null;
- if (ASDEditorPlugin.getActiveEditor().getEditorInput() instanceof IFileEditorInput) {
- file = ((IFileEditorInput) ASDEditorPlugin.getActiveEditor().getEditorInput()).getFile();
- }
-
- if (component.isNew()) {
- AddXSDTypeDefinitionCommand command = new AddXSDTypeDefinitionCommand(part.getEnclosingDefinition(), component.getName());
- if (component.getMetaName() == IXSDSearchConstants.COMPLEX_TYPE_META_NAME) {
- command.isComplexType(true);
- }
- else {
- command.isComplexType(false);
- }
- command.run();
- String tns = command.getXSDElement().getTargetNamespace();
- component.setQualifier(tns);
- }
-
- WSDLSetComponentHelper helper = new WSDLSetComponentHelper(file, part.getEnclosingDefinition());
- helper.setXSDTypeComponent(part, component);
- }
- else if (referencingObject instanceof XSDElementDeclaration) {
- super.modifyComponentReference(referencingObject, component);
- }
- else if (referencingObject instanceof XSDAttributeUse) {
-
- }
- }
-
- public void setSchemas(XSDSchema[] schemas) {
- this.schemas = schemas;
- }
-
- private XSDSchema[] getInlineSchemas(IDescription description) {
- List types = description.getTypes();
- XSDSchema[] schemas = new XSDSchema[types.size()];
- for (int index = 0; index < types.size(); index++) {
- W11Type type = (W11Type) types.get(index);
- schemas[index] = (XSDSchema) type.getTarget();
- }
-
- return schemas;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibilityItemTreeProviderRegistry.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibilityItemTreeProviderRegistry.java
deleted file mode 100644
index 29d180f79..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibilityItemTreeProviderRegistry.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import org.eclipse.jface.viewers.ILabelProvider;
-
-/**
- * This class reads the plugin manifests and registers each extensibility item tree provider
- */
-public class ExtensibilityItemTreeProviderRegistry extends NSKeyedExtensionRegistry
-{
- protected static final String LABEL_PROVIDER_PROPERTY = "labelProviderClass"; //$NON-NLS-1$
- protected static final String CONTENT_PROVIDER_PROPERTY = "contentProviderClass"; //$NON-NLS-1$
- protected static final String[] ATT_NAMES = { "labelProviderClass", "contentProviderClass" }; //$NON-NLS-1$ //$NON-NLS-2$
-
- public ILabelProvider getLabelProvider(String namespace)
- {
- return (ILabelProvider) getProperty(namespace, LABEL_PROVIDER_PROPERTY);
- }
-
- public ITreeChildProvider getContentProvider(String namespace)
- {
- return (ITreeChildProvider) getProperty(namespace, CONTENT_PROVIDER_PROPERTY);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibleTypeSystemProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibleTypeSystemProvider.java
deleted file mode 100644
index 9d4cbdfeb..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibleTypeSystemProvider.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.util.XSDTypeSystemProvider;
-import org.eclipse.xsd.XSDSchema;
-
-public class ExtensibleTypeSystemProvider implements ITypeSystemProvider
-{
- protected WSDLEditorExtension[] extensions;
- protected ITypeSystemProvider[] typeSystemProviders;
-
- protected final static Object[] EMPTY_ARRAY = {};
-
- public ExtensibleTypeSystemProvider()
- {
- typeSystemProviders = new ITypeSystemProvider[1];
- typeSystemProviders[0] = new XSDTypeSystemProvider();
- }
-
- public List getAvailableTypeNames(Definition definition, int typeNameCategory)
- {
- List list = new ArrayList();
- for (int i = 0; i < typeSystemProviders.length; i++)
- {
- list.addAll(typeSystemProviders[i].getAvailableTypeNames(definition, typeNameCategory));
- }
- return list;
- }
-
- public List getAvailableTypes(Definition definition, XSDSchema schema, int typeNameCategory)
- {
- List list = new ArrayList();
- for (int i = 0; i < typeSystemProviders.length; i++)
- {
- list.addAll(typeSystemProviders[i].getAvailableTypes(definition, schema, typeNameCategory));
- }
- return list;
- }
-
- public List getAvailableElementNames(Definition definition)
- {
- List list = new ArrayList();
- for (int i = 0; i < typeSystemProviders.length; i++)
- {
- list.addAll(typeSystemProviders[i].getAvailableElementNames(definition));
- }
- return list;
- }
-
- public int getCategoryForTypeName(Definition definition, String typeName)
- {
- int result = UNKNOWN_TYPE;
- for (int i = 0; i < typeSystemProviders.length; i++)
- {
- result = typeSystemProviders[i].getCategoryForTypeName(definition, typeName);
- if (result != UNKNOWN_TYPE)
- {
- break;
- }
- }
- return result;
- }
-
- public List getPrefixedNames(Definition definition, String namespace, String localName) {
- List list = new ArrayList();
- for (int i = 0; i < typeSystemProviders.length; i++)
- {
- list.addAll(typeSystemProviders[i].getPrefixedNames(definition, namespace, localName));
- }
- return list;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeAssociationProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeAssociationProvider.java
deleted file mode 100644
index 23f0ae011..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeAssociationProvider.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public interface INodeAssociationProvider
-{
- public Object getModelObject(Object parentModelObject, Element[] elementChain, int start, int[] end);
- public Node getNode(Object modelObject);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeReconciler.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeReconciler.java
deleted file mode 100644
index 4692d3e6e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeReconciler.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import org.w3c.dom.Element;
-
-/**
- * @depreacted
- */
-public interface INodeReconciler
-{
- public void notifyChanged(Object modelObject, Element element, int eventType, Object feature, Object oldValue, Object newValue, int index);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITreeChildProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITreeChildProvider.java
deleted file mode 100644
index 8ebf532b3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITreeChildProvider.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-/**
- * This class allows extension writers to provide specialize tree content behaviour.
- * It is intended to behave similar to the org.eclipse.jface.viewers.ITreeContentProvider.
- * The major difference is that this class is simplified so that only one method is involved.
- *
- * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
- */
-public interface ITreeChildProvider
-{
- public Object[] getChildren(Object object);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITypeSystemProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITypeSystemProvider.java
deleted file mode 100644
index ba148204a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITypeSystemProvider.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import java.util.List;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.xsd.XSDSchema;
-
-public interface ITypeSystemProvider
-{
- public static final int UNKNOWN_TYPE = 0x0;
- public static final int BUILT_IN_TYPE = 0x1;
- public static final int USER_DEFINED_SIMPLE_TYPE = 0x2;
- public static final int USER_DEFINED_COMPLEX_TYPE = 0x4;
-
- public List getAvailableTypeNames(Definition definition, int typeNameCategory);
- public List getAvailableElementNames(Definition definition);
- public List getAvailableTypes(Definition definition, XSDSchema schema, int typeNameCategory);
- public int getCategoryForTypeName(Definition definition, String typeName);
- public List getPrefixedNames(Definition definition, String namespace, String localName);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/NSKeyedExtensionRegistry.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/NSKeyedExtensionRegistry.java
deleted file mode 100644
index d0db78dad..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/NSKeyedExtensionRegistry.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import java.util.HashMap;
-
-import org.osgi.framework.Bundle;
-
-public class NSKeyedExtensionRegistry
-{
- protected HashMap map = new HashMap();
- private static final String PLUGIN_LOADING_ERROR = "PLUGIN_LOADING_ERROR"; //$NON-NLS-1$
-
- public NSKeyedExtensionRegistry()
- {
- }
-
- public void put(String namespaceURI, String className, Bundle bundle)
- {
- ExtensionInfo info = (ExtensionInfo) map.get(namespaceURI);
- if (info == null)
- {
- info = new SinglePropertyExtensionInfo(className, bundle);
- map.put(namespaceURI, info);
- }
- }
-
- public void put(String namespaceURI, HashMap propertyToClassNameMap, Bundle bundle)
- {
- ExtensionInfo info = (ExtensionInfo) map.get(namespaceURI);
- if (info == null)
- {
- info = new MultiPropertyExtensionInfo(propertyToClassNameMap, bundle);
- map.put(namespaceURI, info);
- }
- }
-
- /**
- *
- * @deprecated
- */
- public Object get(String namespaceURI)
- {
- ExtensionInfo info = (ExtensionInfo) map.get(namespaceURI);
- return info != null ? info.getObject("") : null; //$NON-NLS-1$
- }
-
- public Object getProperty(String namespaceURI, String property)
- {
- ExtensionInfo info = (ExtensionInfo) map.get(namespaceURI);
- return info != null ? info.getObject(property) : null;
- }
-
- private abstract class ExtensionInfo
- {
- protected Bundle bundle;
-
- public ExtensionInfo(Bundle bundle)
- {
- this.bundle = bundle;
- }
-
- public abstract Object getObject(String property);
- }
-
- private class SinglePropertyExtensionInfo extends ExtensionInfo
- {
- protected String className;
- protected Object object;
- protected boolean error;
-
- public SinglePropertyExtensionInfo(String className, Bundle bundle)
- {
- super(bundle);
- this.className = className;
- }
-
- public Object getObject(String property)
- {
- if (object == null)
- {
- try
- {
- Class theClass = bundle.loadClass(className);
- object = theClass.newInstance();
- }
- catch (Exception e)
- {
- object = PLUGIN_LOADING_ERROR;
- e.printStackTrace();
- }
- }
- return object != PLUGIN_LOADING_ERROR ? object : null;
- }
- }
-
- private class MultiPropertyExtensionInfo extends ExtensionInfo
- {
- protected HashMap propertyToClassNameTable;
- protected HashMap propertyToObjectTable = new HashMap();
-
- public MultiPropertyExtensionInfo(HashMap propertToClassNameTable, Bundle bundle)
- {
- super(bundle);
- this.propertyToClassNameTable = propertToClassNameTable;
- }
-
- public Object getObject(String property)
- {
- Object result = null;
- String className = (String) propertyToClassNameTable.get(property);
- if (className != null)
- {
- result = propertyToObjectTable.get(property);
- if (result == null)
- {
- try
- {
- Class theClass = bundle.loadClass(className);
- result = theClass.newInstance();
- propertyToObjectTable.put(property, result);
- }
- catch (Exception e)
- {
- propertyToObjectTable.put(property, PLUGIN_LOADING_ERROR);
- result = PLUGIN_LOADING_ERROR;
- e.printStackTrace();
- }
- }
- }
- return result != PLUGIN_LOADING_ERROR ? result : null;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorConfiguration.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorConfiguration.java
deleted file mode 100644
index 666d34037..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorConfiguration.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.gef.EditPartFactory;
-import org.eclipse.wst.wsdl.ui.internal.actions.IWSDLToolbarAction;
-
-public class WSDLEditorConfiguration {
- public static final String WSDLEDITORCONFIGURATIONEXTENSIONID = "org.eclipse.wst.wsdl.ui.WSDLEditorExtensionConfiguration"; //$NON-NLS-1$
- public static final String CLASSNAME = "class"; //$NON-NLS-1$
- public static final String ADAPTERFACTORY = "adapterFactory"; //$NON-NLS-1$
- public static final String TOOLBARACTION = "toolbarAction"; //$NON-NLS-1$
- public static final String FIGUREFACTORY = "figureFactory"; //$NON-NLS-1$
- public static final String EDITPARTFACTORY = "editPartFactory"; //$NON-NLS-1$
-
- List definedExtensionsList = null;
-
- public WSDLEditorConfiguration()
- {
-
- }
-
- public AdapterFactory getAdapterFactory()
- {
- if (definedExtensionsList == null)
- {
- readWSDLConfigurationRegistry();
- }
- if (!definedExtensionsList.isEmpty())
- {
- return ((WSDLEditorExtensionProperties) definedExtensionsList.get(0)).getAdapterFactory();
- }
- return null;
- }
-
- public EditPartFactory getEditPartFactory()
- {
- if (definedExtensionsList == null)
- {
- readWSDLConfigurationRegistry();
- }
- if (!definedExtensionsList.isEmpty())
- {
- return ((WSDLEditorExtensionProperties) definedExtensionsList.get(0)).getEditPartFactory();
- }
- return null;
- }
-
-// public IExtendedFigureFactory getFigureFactory()
-// {
-// if (definedExtensionsList == null)
-// {
-// readWSDLConfigurationRegistry();
-// }
-// if (!definedExtensionsList.isEmpty())
-// {
-// return ((WSDLEditorExtensionProperties) definedExtensionsList.get(0)).getFigureFactory();
-// }
-// return null;
-// }
-
- public List getToolbarActions()
- {
- if (definedExtensionsList == null)
- {
- readWSDLConfigurationRegistry();
- }
- if (!definedExtensionsList.isEmpty())
- {
- return ((WSDLEditorExtensionProperties) definedExtensionsList.get(0)).getActionList();
- }
- return Collections.EMPTY_LIST;
- }
-
- protected Object loadClass(IConfigurationElement element, String classString)
- {
- String pluginId = element.getDeclaringExtension().getContributor().getName();
-
- try
- {
- Class theClass = Platform.getBundle(pluginId).loadClass(classString);
- Object instance = theClass.newInstance();
-
- return instance;
- }
- catch (Exception e)
- {
-
- }
- return null;
- }
-
- public void readWSDLConfigurationRegistry()
- {
- IConfigurationElement[] wsdlEditorExtensionList = Platform.getExtensionRegistry().getConfigurationElementsFor(WSDLEDITORCONFIGURATIONEXTENSIONID);
-
- boolean definedExtensionsExist = (wsdlEditorExtensionList != null && wsdlEditorExtensionList.length > 0);
-
- definedExtensionsList = new ArrayList();
-
- if (definedExtensionsExist)
- {
- for (int i = 0; i < wsdlEditorExtensionList.length; i++)
- {
- WSDLEditorExtensionProperties properties = new WSDLEditorExtensionProperties();
- definedExtensionsList.add(properties);
-
- IConfigurationElement element = wsdlEditorExtensionList[i];
- String adapterFactoryClass = element.getAttribute(ADAPTERFACTORY);
- if (adapterFactoryClass != null)
- {
- Object object = loadClass(element, adapterFactoryClass);
- if (object instanceof AdapterFactory)
- {
- properties.setAdapterFactory((AdapterFactory) object);
- }
- }
-
-// String figureFactoryClass = element.getAttribute(FIGUREFACTORY);
-// if (figureFactoryClass != null)
-// {
-// Object object = loadClass(element, figureFactoryClass);
-// IExtendedFigureFactory figureFactory = null;
-// if (object instanceof IExtendedFigureFactory)
-// {
-// figureFactory = (IExtendedFigureFactory) object;
-// properties.setFigureFactoryList(figureFactory);
-// }
-// }
-
- String editPartFactoryClass = element.getAttribute(EDITPARTFACTORY);
- if (editPartFactoryClass != null)
- {
- Object object = loadClass(element, editPartFactoryClass);
- EditPartFactory editPartFactory = null;
- if (object instanceof EditPartFactory)
- {
- editPartFactory = (EditPartFactory) object;
- properties.setEditPartFactoryList(editPartFactory);
- }
- }
-
- IConfigurationElement[] toolbarActions = element.getChildren(TOOLBARACTION);
- List actionList = new ArrayList();
- if (toolbarActions != null)
- {
- for (int j = 0; j < toolbarActions.length; j++)
- {
- IConfigurationElement actionElement = toolbarActions[j];
- String actionClass = actionElement.getAttribute(CLASSNAME);
- IWSDLToolbarAction action = null;
- if (actionClass != null)
- {
- Object object = loadClass(actionElement, actionClass);
- if (object instanceof IWSDLToolbarAction)
- {
- action = (IWSDLToolbarAction) object;
- actionList.add(action);
- }
- }
- }
- }
- properties.setActionList(actionList);
-
-
-
- }
- }
- }
- }
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtension.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtension.java
deleted file mode 100644
index 40bc944ef..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtension.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import org.eclipse.ui.IEditorPart;
-
-public interface WSDLEditorExtension
-{
- public static final int OUTLINE_TREE_CONTENT_PROVIDER = 1; // req'd for model based ext
- public static final int OUTLINE_LABEL_PROVIDER = 2; // req'd for model based ext
-
- public static final int MENU_ACTION_CONTRIBUTOR = 3; // node
- public static final int DETAILS_VIEWER_PROVIDER = 4; // node
-
- public static final int EDIT_PART_FACTORY = 5; // req'd for model based ext
- public static final int TYPE_SYSTEM_PROVIDER = 6; // req'd for type system ext
- public static final int NODE_RECONCILER = 7; // req'd for model based ext
- public static final int NODE_ASSOCIATION_PROVIDER = 8; // req'd for model based ext
- public static final int MODEL_QUERY_CONTRIBUTOR = 9; // req'd for model based ext
-
- public static final int PROPERTY_SOURCE_PROVIDER = 10; // req'd for model based ext
- public static final int PROPERTY_SECTION_DESCRIPTOR_PROVIDER = 11; // req'd for model based ext
- public static final int XSD_DELETE_ACTION = 12;
-
- boolean isExtensionTypeSupported(int type);
- boolean isApplicable(Object modelObject);
- Object createExtensionObject(int type, IEditorPart editor);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtensionProperties.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtensionProperties.java
deleted file mode 100644
index 9d8459a83..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtensionProperties.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.gef.EditPartFactory;
-
-public class WSDLEditorExtensionProperties
-{
- AdapterFactory adapterFactory;
-// IExtendedFigureFactory figureFactory;
- EditPartFactory editPartFactory;
- List actionList;
-
- public WSDLEditorExtensionProperties()
- {
-
- }
-
- public void setActionList(List actionList)
- {
- this.actionList = actionList;
- }
-
- public void setAdapterFactory(AdapterFactory adapterFactory)
- {
- this.adapterFactory = adapterFactory;
- }
-
- public void setEditPartFactoryList(EditPartFactory editPartFactory)
- {
- this.editPartFactory = editPartFactory;
- }
-
-// public void setFigureFactoryList(IExtendedFigureFactory figureFactory)
-// {
-// this.figureFactory = figureFactory;
-// }
-
- public List getActionList()
- {
- return actionList;
- }
-
- public AdapterFactory getAdapterFactory()
- {
- return adapterFactory;
- }
-
- public EditPartFactory getEditPartFactory()
- {
- return editPartFactory;
- }
-
-// public IExtendedFigureFactory getFigureFactory()
-// {
-// return figureFactory;
-// }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLNodeAssociationProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLNodeAssociationProvider.java
deleted file mode 100644
index d567e8bb9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLNodeAssociationProvider.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.extensions;
-
-import java.util.Collection;
-import java.util.Iterator;
-
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl;
-import org.eclipse.xsd.impl.XSDComponentImpl;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class WSDLNodeAssociationProvider implements INodeAssociationProvider
-{
- public Object getModelObject(Object parentModelObject, Element[] elementChain, int start, int[] end)
- {
- Object currentObject = parentModelObject;
- for (int i = start; i < elementChain.length; i++)
- {
- Object o = getModelObjectHelper(currentObject, elementChain[i]);
- if (o == null)
- {
- end[0] = i;
- break;
- }
- else
- {
- currentObject = o;
- }
- }
- return currentObject != parentModelObject ? currentObject : null;
- }
-
- public Node getNode(Object modelObject)
- {
- if (modelObject instanceof WSDLElement)
- return ((WSDLElementImpl)modelObject).getElement();
- else
- return null;
- }
-
- protected Object getModelObjectHelper(Object parentObject, Element elementNode)
- {
- Object result = null;
- Collection childComponentList = ((WSDLElementImpl) parentObject).getWSDLContents();
- for (Iterator i = childComponentList.iterator(); i.hasNext();)
- {
- Object o = i.next();
- Element element = null;
-
- if (o != null)
- {
- if (o instanceof WSDLElementImpl)
- {
- element = ((WSDLElementImpl)o).getElement();
- }
- else if (o instanceof XSDComponentImpl)
- {
- element = ((XSDComponentImpl)o).getElement();
- }
- }
-
- if (element == elementNode)
- {
- result = o;
- break;
- }
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/ExtensiblityElementFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/ExtensiblityElementFilter.java
deleted file mode 100644
index 81314773d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/ExtensiblityElementFilter.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.filter;
-
-import org.w3c.dom.Element;
-
-public interface ExtensiblityElementFilter
-{
- public boolean isValidContext(Element parentElement, String localName);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/HttpExtensiblityElementFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/HttpExtensiblityElementFilter.java
deleted file mode 100644
index c608f661c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/HttpExtensiblityElementFilter.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.filter;
-
-import org.w3c.dom.Element;
-
-
-public class HttpExtensiblityElementFilter implements ExtensiblityElementFilter
-{
- public HttpExtensiblityElementFilter()
- {
- }
-
- public boolean isValidContext(Element parentElement, String localName)
- {
- boolean result = true;
-
- String parentElementName = parentElement.getLocalName();
- if (parentElementName.equals("binding")) //$NON-NLS-1$
- {
- result = localName.equals("binding"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("operation")) //$NON-NLS-1$
- {
- result = localName.equals("operation"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("input") || //$NON-NLS-1$
- parentElementName.equals("output")) //$NON-NLS-1$
- {
- result = localName.equals("body") || //$NON-NLS-1$
- localName.equals("header"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("fault")) //$NON-NLS-1$
- {
- result = localName.equals("fault"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("port")) //$NON-NLS-1$
- {
- result = localName.equals("address"); //$NON-NLS-1$
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/MimeExtensiblityElementFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/MimeExtensiblityElementFilter.java
deleted file mode 100644
index 389e01123..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/MimeExtensiblityElementFilter.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.filter;
-
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-public class MimeExtensiblityElementFilter implements ExtensiblityElementFilter
-{
- private static final String MIME_NAMESPACE_URI="http://schemas.xmlsoap.org/wsdl/mime/"; //$NON-NLS-1$
- public MimeExtensiblityElementFilter()
- {
- }
-
- public boolean isValidContext(Element parentElement, String localName)
- {
- boolean result = false;
-
- String parentElementName = parentElement.getLocalName();
- String parentElementNamespace = parentElement.getNamespaceURI();
-
- if (WSDLConstants.WSDL_NAMESPACE_URI.equals(parentElementNamespace))
- {
- if (parentElementName.equals("input") || parentElementName.equals("output")) //$NON-NLS-1$ //$NON-NLS-2$
- {
- result = localName.equals("content") || //$NON-NLS-1$
- localName.equals("multipartRelated") || //$NON-NLS-1$
- localName.equals("mimeXml"); //$NON-NLS-1$
- }
- }
- else if (MIME_NAMESPACE_URI.equals(parentElementNamespace))
- {
- result = true;
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/SoapExtensiblityElementFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/SoapExtensiblityElementFilter.java
deleted file mode 100644
index ade3eb727..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/SoapExtensiblityElementFilter.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.filter;
-
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-public class SoapExtensiblityElementFilter implements ExtensiblityElementFilter
-{
- public SoapExtensiblityElementFilter()
- {
- }
-
- public boolean isValidContext(Element parentElement, String localName)
- {
- boolean result = true;
-
- String parentElementName = parentElement.getLocalName();
- if (parentElement.getNamespaceURI().equals(WSDLConstants.WSDL_NAMESPACE_URI))
- {
- // here we assume the parent element is the WSDL binding
- // skeleton and that the 'localName' is the SOAP extension element
- //
- if (parentElementName.equals("binding")) //$NON-NLS-1$
- {
- result = localName.equals("binding"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("operation")) //$NON-NLS-1$
- {
- result = localName.equals("operation"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("input") || //$NON-NLS-1$
- parentElementName.equals("output")) //$NON-NLS-1$
- {
- result = localName.equals("body") || //$NON-NLS-1$
- localName.equals("header"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("fault")) //$NON-NLS-1$
- {
- result = localName.equals("fault"); //$NON-NLS-1$
- }
- else if (parentElementName.equals("port")) //$NON-NLS-1$
- {
- result = localName.equals("address"); //$NON-NLS-1$
- }
- else
- {
- result = false;
- }
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/XSDExtensiblityElementFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/XSDExtensiblityElementFilter.java
deleted file mode 100644
index acdab76b3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/XSDExtensiblityElementFilter.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.filter;
-
-import org.w3c.dom.Element;
-
-public class XSDExtensiblityElementFilter implements ExtensiblityElementFilter
-{
- public XSDExtensiblityElementFilter()
- {
- }
-
- public boolean isValidContext(Element parentElement, String localName)
- {
- boolean result = false;
- String parentElementName = parentElement.getLocalName();
- if (parentElementName.equals("types")) //$NON-NLS-1$
- {
- result = localName.equals("schema"); //$NON-NLS-1$
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/back.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/back.gif
deleted file mode 100644
index 24d1a279e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/back.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_not_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_not_obj.gif
deleted file mode 100644
index f1c73106a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_not_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_obj.gif
deleted file mode 100644
index 62ad9becb..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/binding_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/binding_obj.gif
deleted file mode 100644
index 896e2f055..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/binding_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bindingheader_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bindingheader_obj.gif
deleted file mode 100644
index 1ffe54e33..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bindingheader_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/browsebutton.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/browsebutton.gif
deleted file mode 100644
index e2402f88f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/browsebutton.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/complextype_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/complextype_obj.gif
deleted file mode 100644
index 007f8522a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/complextype_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/delete_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/delete_obj.gif
deleted file mode 100644
index b6922ac11..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/delete_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/element_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/element_obj.gif
deleted file mode 100644
index dd45f08fb..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/element_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/error_co.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/error_co.gif
deleted file mode 100644
index 119dcccd5..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/error_co.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fault_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fault_obj.gif
deleted file mode 100644
index f228117f2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fault_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/file_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/file_obj.gif
deleted file mode 100644
index efa7a3801..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/file_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fldr_el.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fldr_el.gif
deleted file mode 100644
index 801c13388..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fldr_el.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/forward.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/forward.gif
deleted file mode 100644
index eab699e38..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/forward.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/hidebinding.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/hidebinding.gif
deleted file mode 100644
index c846cd8d8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/hidebinding.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpaddress_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpaddress_obj.gif
deleted file mode 100644
index fb20c389d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpaddress_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpbinding_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpbinding_obj.gif
deleted file mode 100644
index 4428ef395..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpbinding_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpoperation_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpoperation_obj.gif
deleted file mode 100644
index 1c404181d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpoperation_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlencoded_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlencoded_obj.gif
deleted file mode 100644
index ed5050f22..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlencoded_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlreplacement_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlreplacement_obj.gif
deleted file mode 100644
index 273587ea9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlreplacement_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/import_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/import_obj.gif
deleted file mode 100644
index b7275aa56..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/import_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/importheader_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/importheader_obj.gif
deleted file mode 100644
index 6000cb80f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/importheader_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/input_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/input_obj.gif
deleted file mode 100644
index fe6b34989..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/input_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/message_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/message_obj.gif
deleted file mode 100644
index 2dce48373..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/message_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/messageheader_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/messageheader_obj.gif
deleted file mode 100644
index 02a711cee..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/messageheader_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespace_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespace_obj.gif
deleted file mode 100644
index 7e3f274d0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespace_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespacedecl_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespacedecl_obj.gif
deleted file mode 100644
index 2b79d2749..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespacedecl_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/new_wsdl_wiz.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/new_wsdl_wiz.gif
deleted file mode 100644
index d1087b9b1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/new_wsdl_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operation_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operation_obj.gif
deleted file mode 100644
index 5818a3088..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operation_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operationbinding_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operationbinding_obj.gif
deleted file mode 100644
index ae386c636..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operationbinding_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_no.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_no.gif
deleted file mode 100644
index f6b9f8a59..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_no.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_obj.gif
deleted file mode 100644
index bd0918ce1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_yes.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_yes.gif
deleted file mode 100644
index 9cacb96dc..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_yes.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/page_banner.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/page_banner.gif
deleted file mode 100644
index aebc0b2a3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/page_banner.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/part_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/part_obj.gif
deleted file mode 100644
index 5219dfa87..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/part_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/port_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/port_obj.gif
deleted file mode 100644
index 379498b0a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/port_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttype_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttype_obj.gif
deleted file mode 100644
index 21325ca77..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttype_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttypeheader_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttypeheader_obj.gif
deleted file mode 100644
index 9afcc01e1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttypeheader_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtcmplxpltyp_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtcmplxpltyp_obj.gif
deleted file mode 100644
index db866437f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtcmplxpltyp_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtelemt_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtelemt_obj.gif
deleted file mode 100644
index 782d108fe..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtelemt_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtsmpltyp_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtsmpltyp_obj.gif
deleted file mode 100644
index 8ffc7c57b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtsmpltyp_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/quickassist.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/quickassist.gif
deleted file mode 100644
index 94ae2a0ee..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/quickassist.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/service_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/service_obj.gif
deleted file mode 100644
index 5216b3f2d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/service_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/serviceheader_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/serviceheader_obj.gif
deleted file mode 100644
index 8b4814cb8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/serviceheader_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/simpletype_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/simpletype_obj.gif
deleted file mode 100644
index e45dbb1d8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/simpletype_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soap_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soap_obj.gif
deleted file mode 100644
index fd426ed2d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soap_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapaddress_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapaddress_obj.gif
deleted file mode 100644
index 4880ba795..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapaddress_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapatt_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapatt_obj.gif
deleted file mode 100644
index d0b366181..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapatt_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbinding_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbinding_obj.gif
deleted file mode 100644
index 115f6bf2b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbinding_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbody_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbody_obj.gif
deleted file mode 100644
index b2d01aad0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbody_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapfault_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapfault_obj.gif
deleted file mode 100644
index 856b1f7d4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapfault_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheader_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheader_obj.gif
deleted file mode 100644
index f72ea3b20..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheader_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheaderfault_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheaderfault_obj.gif
deleted file mode 100644
index 2f0e1906f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheaderfault_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapoperation_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapoperation_obj.gif
deleted file mode 100644
index bcc191469..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapoperation_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/types_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/types_obj.gif
deleted file mode 100644
index d1f6f889d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/types_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/validate.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/validate.gif
deleted file mode 100644
index 2b347ac45..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/validate.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/wsdl_file_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/wsdl_file_obj.gif
deleted file mode 100644
index 75b1f92b4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/wsdl_file_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_file_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_file_obj.gif
deleted file mode 100644
index 13dcfceaf..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_file_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_obj.gif
deleted file mode 100644
index 13dcfceaf..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/HTTPLabelProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/HTTPLabelProvider.java
deleted file mode 100644
index fb8defd1d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/HTTPLabelProvider.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.label.providers;
-
-import java.util.HashMap;
-
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.w3c.dom.Node;
-
-
-public class HTTPLabelProvider extends LabelProvider
-{
- protected final static String ADDRESS = "address"; //$NON-NLS-1$
- protected final static String BINDING = "binding"; //$NON-NLS-1$
- protected final static String OPERATION = "operation"; //$NON-NLS-1$
- protected final static String URL_ENCODED = "urlEncoded"; //$NON-NLS-1$
- protected final static String URL_REPLACEMENT = "urlReplacement"; //$NON-NLS-1$
-
- protected HashMap map = new HashMap();
-
- public HTTPLabelProvider()
- {
- map.put(ADDRESS, "icons/httpaddress_obj.gif"); //$NON-NLS-1$
- map.put(BINDING, "icons/httpbinding_obj.gif"); //$NON-NLS-1$
- map.put(OPERATION, "icons/httpoperation_obj.gif"); //$NON-NLS-1$
- map.put(URL_ENCODED, "icons/httpurlencoded_obj.gif"); //$NON-NLS-1$
- map.put(URL_REPLACEMENT, "icons/httpurlreplacement_obj.gif"); //$NON-NLS-1$
- }
-
- public Image getImage(Object object)
- {
- Node node = (Node)object;
- String imageName = (String)map.get(node.getLocalName());
- return imageName != null ? WSDLEditorPlugin.getInstance().getImage(imageName) : null;
- }
-
- public String getText(Object object)
- {
- Node node = (Node)object;
- return node.getNodeName();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/SOAPLabelProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/SOAPLabelProvider.java
deleted file mode 100644
index dd60eef0e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/SOAPLabelProvider.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.label.providers;
-
-import java.util.HashMap;
-
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.w3c.dom.Node;
-
-
-public class SOAPLabelProvider extends LabelProvider
-{
- protected final static String ADDRESS = "address"; //$NON-NLS-1$
- protected final static String BODY = "body"; //$NON-NLS-1$
- protected final static String BINDING = "binding"; //$NON-NLS-1$
- protected final static String FAULT = "fault"; //$NON-NLS-1$
- protected final static String HEADER = "header"; //$NON-NLS-1$
- protected final static String HEADER_FAULT = "headerfault"; //$NON-NLS-1$
- protected final static String OPERATION = "operation"; //$NON-NLS-1$
-
- protected HashMap map = new HashMap();
-
- public SOAPLabelProvider()
- {
- map.put(ADDRESS, "icons/soapaddress_obj.gif"); //$NON-NLS-1$
- map.put(BINDING, "icons/soapbinding_obj.gif"); //$NON-NLS-1$
- map.put(BODY, "icons/soapbody_obj.gif"); //$NON-NLS-1$
- map.put(FAULT, "icons/soapfault_obj.gif"); //$NON-NLS-1$
- map.put(HEADER, "icons/soapheader_obj.gif"); //$NON-NLS-1$
- map.put(HEADER_FAULT, "icons/soapheaderfault_obj.gif"); //$NON-NLS-1$
- map.put(OPERATION, "icons/soapoperation_obj.gif"); //$NON-NLS-1$
- }
-
- public Image getImage(Object object)
- {
- Node node = (Node)object;
- String imageName = (String)map.get(node.getLocalName());
- return imageName != null ? WSDLEditorPlugin.getInstance().getImage(imageName) : null;
- }
-
- public String getText(Object object)
- {
- Node node = (Node)object;
- return node.getNodeName();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/EditorModeSectionFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/EditorModeSectionFilter.java
deleted file mode 100644
index 88a70dd9c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/EditorModeSectionFilter.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.properties.sections;
-
-public abstract class EditorModeSectionFilter
-{
- public abstract boolean isApplicable(Class sectionClass, Object object);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ExtensionsSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ExtensionsSection.java
deleted file mode 100644
index 56dab8990..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ExtensionsSection.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.properties.sections;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddExtensionElementCommand;
-import org.eclipse.wst.wsdl.ui.internal.filter.ExtensiblityElementFilter;
-import org.eclipse.wst.wsdl.ui.internal.text.WSDLModelAdapter;
-import org.eclipse.wst.xml.core.internal.document.ElementImpl;
-import org.eclipse.wst.xsd.ui.internal.common.commands.AddExtensionCommand;
-import org.eclipse.wst.xsd.ui.internal.common.commands.RemoveExtensionNodeCommand;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.AbstractExtensionsSection;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.AddExtensionsComponentDialog;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.DOMExtensionTreeContentProvider;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.DOMExtensionTreeLabelProvider;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.ExtensionsSchemasRegistry;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.custom.NodeCustomizationRegistry;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDEditorPlugin;
-import org.eclipse.xsd.XSDAttributeDeclaration;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class W11ExtensionsSection extends AbstractExtensionsSection
-{
- WSDLModelAdapter modelAdapter;
-
- public W11ExtensionsSection()
- {
- super();
- setExtensionTreeLabelProvider(new WSDLExtensionTreeLabelProvider());
- setExtensionTreeContentProvider(new WSDLExtensionTreeContentProvider());
- }
-
- protected AddExtensionCommand getAddExtensionCommand(Object o)
- {
- AddExtensionCommand addExtensionCommand = null;
- ExtensibleElement extensibleElement = getExtensibleElement(input);
- if (extensibleElement != null)
- {
- if (o instanceof XSDElementDeclaration)
- {
- XSDElementDeclaration element = (XSDElementDeclaration) o;
- addExtensionCommand = new AddExtensionElementCommand(Messages._UI_LABEL_ADD_EXTENSION_ELEMENT, extensibleElement, element); //$NON-NLS-1$
- }
- else if (o instanceof XSDAttributeDeclaration)
- {
- // TODO (cs) need to implement this
- }
- }
- return addExtensionCommand;
- }
-
- protected Command getRemoveExtensionCommand(Object o)
- {
- if (o instanceof Node)
- {
- return new RemoveExtensionNodeCommand("remove", (Node)o);
- }
- return null;
- }
-
-
- // TODO (cs) the AbstractExtensionsSection is polluted with XSD specic stuff
- // need to clean that up!!
- // TODO (cs) we should avoid referencing WSDL model objects ... go thru facade instead
- public void setInput(IWorkbenchPart part, ISelection selection)
- {
- super.setInput(part, selection);
- isReadOnly = true;
- ExtensibleElement extensibleElement = getExtensibleElement(input);
- if (extensibleElement != null)
- {
- Element element = extensibleElement.getElement();
- if (element instanceof ElementImpl)
- {
- isReadOnly = false;
- modelAdapter = WSDLModelAdapter.lookupOrCreateModelAdapter(element.getOwnerDocument());
- modelAdapter.getModelReconcileAdapter().addListener(internalNodeAdapter);
- }
- }
- addButton.setEnabled(!isReadOnly);
- removeButton.setEnabled(!isReadOnly);
- }
-
- public void dispose()
- {
- super.dispose();
- if (modelAdapter != null)
- {
- modelAdapter.getModelReconcileAdapter().removeListener(internalNodeAdapter);
- }
- }
-
- // TODO (cs) in the future we need to 'fix' things so that we can rid of this method
- // we need a way to do all of this via the facade so that we don't have any direct
- // dependency on the WSDL1.1 model./ Similarly this class shouldn't need to 'know'
- // about AbstractModelCollection this is an underlying detail that needs to be hidden
- //
- private static ExtensibleElement getExtensibleElement(Object o)
- {
- if (o instanceof AbstractModelCollection)
- {
- o = ((AbstractModelCollection)o).getModel();
- }
- if (o instanceof Adapter)
- {
- // TODO (cs) we need a way to do all of this via the facade
- // so that we don't have any direct dependency on the WSDL1.1 model
- // of course at the moment we call this class the W11ExtensionSections
- // so that's not a problem. In the future though we'll want to reuse this
- // class for WSDL 2.0.
- //
- o = ((Adapter)o).getTarget();
- }
- if (o instanceof ExtensibleElement)
- {
- return (ExtensibleElement)o;
- }
- return null;
- }
-
- protected AddExtensionsComponentDialog createAddExtensionsComponentDialog()
- {
- ExtensibleElement extensibleElement = getExtensibleElement(input);
- if (extensibleElement != null)
- {
- AddExtensionsComponentDialog dialog = new AddExtensionsComponentDialog(composite.getShell(), getExtensionsSchemasRegistry());
- dialog.addElementsTableFilter(new AddExtensionsComponentDialogFilter(extensibleElement.getElement()));
- return dialog;
- }
- return null;
- }
-
- protected ExtensionsSchemasRegistry getExtensionsSchemasRegistry()
- {
- return WSDLEditorPlugin.getInstance().getExtensionsSchemasRegistry();
- }
-
- protected IPreferenceStore getPrefStore()
- {
- return WSDLEditorPlugin.getInstance().getPreferenceStore();
- }
-
- static class WSDLExtensionTreeContentProvider extends DOMExtensionTreeContentProvider
- {
- public java.lang.Object[] getElements(java.lang.Object inputElement)
- {
- ExtensibleElement extensibleElement = getExtensibleElement(inputElement);
- if (extensibleElement != null)
- {
- List domElementList = new ArrayList();
- for (Iterator i = extensibleElement.getExtensibilityElements().iterator(); i.hasNext(); )
- {
- ExtensibilityElement element = (ExtensibilityElement)i.next();
- // add the DOM element
- domElementList.add(element.getElement());
- }
- return domElementList.toArray();
- }
- return Collections.EMPTY_LIST.toArray();
- }
- }
-
- static class WSDLExtensionTreeLabelProvider extends DOMExtensionTreeLabelProvider
- {
- private ILabelProvider getLabelProvider(Node node)
- {
- String namespace = node.getNamespaceURI();
- if (namespace != null)
- {
- NodeCustomizationRegistry registry = XSDEditorPlugin.getDefault().getNodeCustomizationRegistry();
- return registry.getLabelProvider(namespace);
- }
- return null;
- }
-
- public Image getImage(Object object)
- {
- if (object instanceof Element)
- {
- Element element = (Element)object;
- ILabelProvider provider = getLabelProvider(element);
- if (provider != null)
- {
- return provider.getImage(element);
- }
- }
- return super.getImage(object);
- }
-
- public String getText(Object object)
- {
- if (object instanceof Element)
- {
- Element element = (Element)object;
- ILabelProvider provider = getLabelProvider(element);
- if (provider != null)
- {
- return provider.getText(element);
- }
- }
- return super.getText(object);
- }
- }
- /**
- * This filter is to be used by the dialog invoked when addButton is pressed
- */
- private class AddExtensionsComponentDialogFilter extends ViewerFilter
- {
- private Element hostElement;
-
- public AddExtensionsComponentDialogFilter(Element hostElement)
- {
- this.hostElement = hostElement;
- }
-
- public boolean select(Viewer viewer, Object parentElement, Object element)
- {
- if (element instanceof XSDElementDeclaration)
- {
- String namespace = ((XSDElementDeclaration) element).getTargetNamespace();
- String name = ((XSDElementDeclaration) element).getName();
- ExtensiblityElementFilter filter = (ExtensiblityElementFilter) WSDLEditorPlugin.getInstance().getExtensiblityElementFilterRegistry().getProperty(namespace, "");
- if (filter != null)
- {
- return filter.isValidContext(hostElement, name);
- }
- return true;
- }
- return true;
- }
- }
-
- protected boolean isTreeViewerInputElement(Element element)
- {
- ExtensibleElement extensibleElement = getExtensibleElement(input);
- return extensibleElement != null && extensibleElement.getElement() == element;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSection.java
deleted file mode 100644
index 3b08b38bf..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSection.java
+++ /dev/null
@@ -1,234 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.properties.sections;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CCombo;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class W11MessageReferenceSection extends NameSection {
- protected static String NEW_STRING = Messages._UI_BUTTON_NEW; //$NON-NLS-1$
- protected static String BROWSE_STRING = Messages._UI_BUTTON_BROWSE; //$NON-NLS-1$
-
- protected CLabel comboLabel;
- protected CCombo combo;
- protected ComponentReferenceEditManager refManager;
-
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory)
- {
- super.createControls(parent, factory);
- createControlArea();
- }
-
- public void createControlArea()
- {
- FormData data;
-
- combo = getWidgetFactory().createCCombo(composite);
- combo.setBackground(composite.getBackground());
- combo.addListener(SWT.Modify, this);
- combo.addSelectionListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(combo, ASDEditorCSHelpIds.PROPERTIES_MESSAGE_REF_MESSAGE_COMBO);
-
- comboLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_MESSAGE + ":"); //$NON-NLS-1$ //$NON-NLS-2$
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(combo, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(combo, 0, SWT.CENTER);
- comboLabel.setLayoutData(data);
-
- data = new FormData();
- data.left = new FormAttachment(0, 100);
-// data.right = new FormAttachment(button, 0);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(nameText, +ITabbedPropertyConstants.VSPACE);
- combo.setLayoutData(data);
- }
-
- /*
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.view.ITabbedPropertySection#refresh()
- */
- public void refresh() {
- super.refresh();
- if (nameText.isFocusControl()) {
- return;
- }
- setListenerEnabled(false);
- String refName = ""; //$NON-NLS-1$
-
- combo.removeAll();
- combo.add(BROWSE_STRING);
- combo.add(NEW_STRING);
-
- MessageReference messageRef = (MessageReference) ((W11MessageReference) getModel()).getTarget();
- if (messageRef != null && messageRef.getEMessage() != null) {
- refName = messageRef.getEMessage().getQName().getLocalPart();
- }
-
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- if (editManager != null) {
- ComponentSpecification[] specs = editManager.getQuickPicks();
- for (int index = 0; index < specs.length; index++) {
- combo.add((String) specs[index].getName());
- }
- }
-
- String[] items = combo.getItems();
- int index;
- for (index = 0; index < items.length; index++) {
- if (items[index].equals(refName)) {
- break;
- }
- }
-
- if (index < items.length) {
- // Found a match
- combo.select(index);
- }
- else {
- combo.setText(refName);
- }
-
- setControlForegroundColor(combo);
- setListenerEnabled(true);
-
-
-// MessageReference messageRef = (MessageReference) ((W11MessageReference) getModel()).getTarget();
-// Iterator it = messageRef.getEnclosingDefinition().getEMessages().iterator();
-// while (it.hasNext()) {
-// Message message = (Message) it.next();
-// combo.add(message.getQName().getLocalPart());
-// }
- }
-
- protected ComponentReferenceEditManager getComponentReferenceEditManager() {
- if (refManager != null) {
- return refManager;
- }
-
- refManager = ReferenceEditManagerHelper.getMessageReferenceEditManager((IASDObject) getModel());
-
- return refManager;
- }
-
-
- public boolean shouldUseExtraSpace()
- {
- return false;
- }
-
- public void handleEvent(Event event)
- {
- if (event.widget == combo) {
- if (isListenerEnabled() && !isInDoHandle)
- {
- isInDoHandle = true;
- startDelayedEvent(event);
- isInDoHandle = false;
- }
- }
- else {
- super.handleEvent(event);
- }
- }
-
- public void doHandleEvent(Event event)
- {
- super.doHandleEvent(event);
- if (event.widget == combo) {
- String value = ""; //$NON-NLS-1$
- if (combo.getSelectionIndex() != -1) {
- value = combo.getItem(combo.getSelectionIndex());
- }
-
- ComponentSpecification spec = null;
- int continueApply = Window.OK;
- IMessageReference messageRef = (IMessageReference) this.getModel();
-
- if (value.equals(NEW_STRING)) {
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- IComponentDialog dialog = editManager.getNewDialog();
- continueApply = dialog.createAndOpen();
- spec = dialog.getSelectedComponent();
- }
- else if (value.equals(BROWSE_STRING)) {
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- IComponentDialog dialog = editManager.getBrowseDialog();
- continueApply = dialog.createAndOpen();
- spec = dialog.getSelectedComponent();
- }
- else {
- spec = getComponentSpecificationForValue((String)value);
- }
-
- if (continueApply == Window.OK) {
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- if (spec != null) {
- editManager.modifyComponentReference(messageRef, spec);
- }
- }
-
-
- }
- }
-
- protected ComponentSpecification getComponentSpecificationForValue(String value)
- {
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- if (editManager != null)
- {
- ComponentSpecification[] quickPicks = editManager.getQuickPicks();
- if (quickPicks != null)
- {
- for (int i=0; i < quickPicks.length; i++)
- {
- ComponentSpecification componentSpecification = quickPicks[i];
- if (value.equals(componentSpecification.getName()))
- {
- return componentSpecification;
- }
- }
- }
- ComponentSpecification[] history = editManager.getHistory();
- if (history != null)
- {
- for (int i=0; i < history.length; i++)
- {
- ComponentSpecification componentSpecification = history[i];
- if (value.equals(componentSpecification.getName()))
- {
- return componentSpecification;
- }
- }
- }
- }
- return null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSectionFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSectionFilter.java
deleted file mode 100644
index 7ac556c1a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSectionFilter.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.properties.sections;
-
-import org.eclipse.jface.viewers.IFilter;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-
-public class W11MessageReferenceSectionFilter implements IFilter {
- // rmah: we should consider other ways of 'extending' this capability
- // rather than simply checking a variable....
- public static boolean showW11MessageReferenceSection = true;
-
- public boolean select(Object toTest) {
- if (toTest instanceof IMessageReference && showW11MessageReferenceSection) {
- return true;
- }
-
- return false;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ParameterSectionFilter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ParameterSectionFilter.java
deleted file mode 100644
index 9c5d82bfb..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ParameterSectionFilter.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.properties.sections;
-import org.eclipse.jface.viewers.IFilter;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorModeManager;
-
-public class W11ParameterSectionFilter implements IFilter
-{
- public boolean select(Object toTest)
- {
- boolean result = false;
- if (toTest instanceof IParameter)
- {
- result = true;
- try
- {
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- EditorModeManager manager = (EditorModeManager) editor.getAdapter(EditorModeManager.class);
- if (manager != null)
- {
- EditorModeSectionFilter filter = (EditorModeSectionFilter) manager.getCurrentMode().getAdapter(EditorModeSectionFilter.class);
- if (filter != null)
- {
- result = filter.isApplicable(W11ParameterSection.class, toTest);
- }
- }
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
- return result;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/reconciler/DelegatingSourceValidatorForWSDL.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/reconciler/DelegatingSourceValidatorForWSDL.java
deleted file mode 100644
index 89dddc24a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/reconciler/DelegatingSourceValidatorForWSDL.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.reconciler;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.wst.validation.internal.ConfigurationManager;
-import org.eclipse.wst.validation.internal.ProjectConfiguration;
-import org.eclipse.wst.validation.internal.ValidationRegistryReader;
-import org.eclipse.wst.validation.internal.ValidatorMetaData;
-import org.eclipse.wst.validation.internal.provisional.core.IValidator;
-import org.eclipse.wst.xml.ui.internal.Logger;
-import org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidator;
-
-/**
- * This performs the as-you-type validation
- * @author Mark Hutchinson
- *
- */
-public class DelegatingSourceValidatorForWSDL extends DelegatingSourceValidator
-{
-
- final private static String VALIDATOR_CLASS = "org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator"; //$NON-NLS-1$
-
- public DelegatingSourceValidatorForWSDL()
- {
- super();
- }
-
- protected IValidator getDelegateValidator()
- {
- try
- {
- ValidationRegistryReader registry = ValidationRegistryReader.getReader();
- return registry.getValidator(VALIDATOR_CLASS);
- }
- catch (Exception e)
- { //
- }
- return null;
- }
-
- protected boolean isDelegateValidatorEnabled(IFile file) {
- boolean enabled = true;
- try {
- ProjectConfiguration configuration = ConfigurationManager.getManager().getProjectConfiguration(file.getProject());
- ValidatorMetaData vmd = ValidationRegistryReader.getReader().getValidatorMetaData(VALIDATOR_CLASS);
- if (configuration.isBuildEnabled(vmd) || configuration.isManualEnabled(vmd))
- enabled = true;
- else
- enabled = false;
- }
- catch (InvocationTargetException e) {
- Logger.log(Logger.WARNING_DEBUG, e.getMessage(), e);
- }
- return enabled;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlink.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlink.java
deleted file mode 100644
index 51ba272d8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlink.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.text;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.text.IRegion;
-import org.eclipse.jface.text.hyperlink.IHyperlink;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.ide.IDE;
-
-/**
- * WSDLHyperlink knows how to open links from wsdl files.
- *
- * @see WSDLHyperlinkDetector
- */
-public class WSDLHyperlink implements IHyperlink
-{
- private IRegion fRegion;
- private String fResource;
- private String fSpec;
-
- public WSDLHyperlink(IRegion region, String resource, String spec)
- {
- fRegion = region;
- fResource = resource;
- fSpec = spec;
- }
-
- public IRegion getHyperlinkRegion()
- {
- return fRegion;
- }
-
- public String getTypeLabel()
- {
- return null;
- }
-
- public String getHyperlinkText()
- {
- return null;
- }
-
- public void open()
- {
- /*
- * ISSUE: There are cleaner ways to find the right file based on a URI
- * string and cleaner ways to find which editor to open for the file. See
- * other IHyperlink and IHyperlinkDetector implementors for examples.
- */
- String pattern = "platform:/resource"; //$NON-NLS-1$
- if (fResource != null && fResource.startsWith(pattern))
- {
- Path path = new Path(fResource.substring(pattern.length()));
- IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
-
- IWorkbenchPage workbenchPage = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
-
- IEditorPart editorPart = workbenchPage.getActiveEditor();
-
- // When using the cursor or the mouse to move around in the text
- // editor, the location history is not updated, so we make sure we keep
- // a reference to where we are. If we use other navigation means, like the
- // outline view, this call will not add a new location history entry, as
- // it is the same as the last location set through the outline driven
- // navigation.
-
- boolean sameEditor = editorPart.getEditorInput() instanceof IFileEditorInput && ((IFileEditorInput) editorPart.getEditorInput()).getFile().equals(file);
-
- workbenchPage.getNavigationHistory().markLocation(editorPart);
-
- if (!sameEditor)
- {
- try
- {
- // The target is in a different file, so open the target's enclosing
- // resource in it's own editor. Let the workbench decide what editor
- // to open based on the file's content type.
-
- editorPart = IDE.openEditor(workbenchPage, file, true);
- }
- catch (PartInitException e)
- {
-// Logger.log(Logger.WARNING_DEBUG, e.getMessage(), e);
- return;
- }
- }
-
- // Attempt to retrieve the target editor's selection manager and try to
- // change the selection to the thing (schema component, wsdl element, etc)
- // pointed to by fSpec.
-
- ISelectionProvider selectionProvider = (ISelectionProvider) editorPart.getAdapter(ISelectionProvider.class);
-
- if (selectionProvider != null)
- {
- selectionProvider.setSelection(new StructuredSelection(fSpec));
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlinkDetector.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlinkDetector.java
deleted file mode 100644
index af67d475f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlinkDetector.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.text;
-
-import org.eclipse.jface.text.IDocument;
-import org.eclipse.jface.text.IRegion;
-import org.eclipse.jface.text.hyperlink.IHyperlink;
-import org.eclipse.wst.sse.core.StructuredModelManager;
-import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.util.OpenOnSelectionHelper;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDHyperlinkDetector;
-/**
- * Detects hyperlinks for WSDL files. Used by the WSDL text editor to provide a
- * "Go to declaration" functionality similar with the one provided by the Java
- * editor.
- */
-public class WSDLHyperlinkDetector extends XSDHyperlinkDetector
-{
- /*
- * (non-Javadoc)
- */
- protected IHyperlink createHyperlink(IDocument document, IDOMNode node, IRegion region)
- {
- // Here we're trying to find the target component's resource and spec.
-
- Definition definition = getDefinition(document);
- OpenOnSelectionHelper helper = new OpenOnSelectionHelper(definition);
- String[] targetData = helper.computeSpecification(node);
-
- if (targetData != null)
- {
- String resource = targetData[0];
- String spec = targetData[1];
- return new WSDLHyperlink(region, resource, spec);
- }
-
- return null;
- }
-
- /**
- * Gets the definition from document
- *
- * @param document
- * @return Definition
- */
- private Definition getDefinition(IDocument document)
- {
- Definition definition = null;
- IStructuredModel model = StructuredModelManager.getModelManager().getExistingModelForRead(document);
- if (model != null)
- {
- try
- {
- if (model instanceof IDOMModel)
- {
- IDOMDocument domDoc = ((IDOMModel) model).getDocument();
- if (domDoc != null)
- {
- WSDLModelAdapter modelAdapter = (WSDLModelAdapter) domDoc.getAdapterFor(WSDLModelAdapter.class);
- // ISSUE: if adapter does not already exist for domDoc getAdapterFor
- // will create one. So why is this null check/creation needed?
- if (modelAdapter == null)
- {
- modelAdapter = new WSDLModelAdapter();
- domDoc.addAdapter(modelAdapter);
- modelAdapter.createDefinition(domDoc.getDocumentElement(), domDoc);
- }
- definition = modelAdapter.getDefinition();
- }
- }
- }
- finally
- {
- model.releaseFromRead();
- }
- }
- return definition;
- }
-
- /*
- * (non-Javadoc)
- */
- protected boolean isLinkableAttribute(String name)
- {
- boolean isLinkable = super.isLinkableAttribute(name)||
- name.equals(WSDLConstants.BINDING_ATTRIBUTE) ||
- name.equals(WSDLConstants.ELEMENT_ATTRIBUTE) ||
- name.equals(WSDLConstants.TYPE_ATTRIBUTE) ||
- name.equals(WSDLConstants.MESSAGE_ATTRIBUTE);
- return isLinkable;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelAdapter.java
deleted file mode 100644
index 3687ba585..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelAdapter.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.text;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.Map;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.progress.IProgressService;
-import org.eclipse.wst.sse.core.internal.provisional.INodeAdapter;
-import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.wst.wsdl.ui.internal.extensions.ExtensibleTypeSystemProvider;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xsd.ui.internal.util.ModelReconcileAdapter;
-import org.eclipse.wst.xsd.ui.internal.util.XSDSchemaLocationResolverAdapterFactory;
-import org.eclipse.xsd.util.XSDResourceImpl;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public class WSDLModelAdapter implements INodeAdapter
-{
- protected ResourceSet resourceSet;
- protected Definition definition;
- private ModelReconcileAdapter modelReconcileAdapter;
-
- public Definition getDefinition()
- {
- return definition;
- }
-
- public void setDefinition(Definition definition)
- {
- this.definition = definition;
- }
-
- public boolean isAdapterForType(Object type)
- {
- return type == WSDLModelAdapter.class;
- }
-
- public void notifyChanged(INodeNotifier notifier, int eventType, Object changedFeature, Object oldValue, Object newValue, int pos)
- {
- }
-
- /**
- * @deprecated
- */
- public Definition createDefinition(Element element, Document document)
- {
- return createDefinition(document);
- }
-
- public Definition createDefinition(final Document document)
- {
- try
- {
- IDOMNode domNode = (IDOMNode) document;
- String baseLocation = "blankWSDL.wsdl"; //$NON-NLS-1$
- if (domNode != null)
- {
- baseLocation = domNode.getModel().getBaseLocation();
- }
- else if (document instanceof IDOMNode)
- {
- IDOMModel domModel = ((IDOMNode) document).getModel();
- baseLocation = domModel.getBaseLocation();
- }
- resourceSet = new ResourceSetImpl();
- resourceSet.getAdapterFactories().add(new WSDLModelLocatorAdapterFactory());
- resourceSet.getAdapterFactories().add(new XSDSchemaLocationResolverAdapterFactory());
- // TODO.. .revist the best approach to obtain a URI from the SSE model
- //
- URI uri = null;
- if (baseLocation.startsWith("/")) //$NON-NLS-1$
- {
- uri = URI.createPlatformResourceURI(baseLocation);
- }
- else
- {
- uri = URI.createFileURI(baseLocation);
- }
- definition = WSDLFactory.eINSTANCE.createDefinition();
- definition.setDocumentBaseURI(uri.toString());
- definition.setDocument(document);
-
- WSDLResourceFactoryImpl resourceFactory = new WSDLResourceFactoryImpl();
- Resource resource = resourceFactory.createResource(uri);
- resourceSet.getResources().add(resource);
- resource.getContents().add(definition);
- resource.setModified(false);
-
- IRunnableWithProgress setElementOperation = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
- {
- // Use the animated flavour as we don't know beforehand how many ticks we need.
- // The task name will be displayed by the code in WSDLResourceImpl and XSDResourceImpl.
-
- monitor.beginTask("", IProgressMonitor.UNKNOWN); //$NON-NLS-1$
-
- Map loadOptions = resourceSet.getLoadOptions();
-
- loadOptions.put(WSDLResourceImpl.WSDL_PROGRESS_MONITOR, monitor);
- loadOptions.put(XSDResourceImpl.XSD_PROGRESS_MONITOR, monitor);
-
- definition.setElement(document.getDocumentElement());
- ((DefinitionImpl) definition).reconcileReferences(true);
-
- loadOptions.remove(WSDLResourceImpl.WSDL_PROGRESS_MONITOR);
- loadOptions.remove(XSDResourceImpl.XSD_PROGRESS_MONITOR);
- }
- };
-
- IProgressService progressService = PlatformUI.getWorkbench().getProgressService();
- try
- {
- progressService.busyCursorWhile(setElementOperation);
- }
- catch (InvocationTargetException e)
- {
- e.printStackTrace();
- }
- catch (InterruptedException e)
- {
- e.printStackTrace();
- }
-
- // attach an adapter to keep the WSDL model and DOM in sync
- //
- modelReconcileAdapter = new WSDLModelReconcileAdapter(document, definition);
- domNode.getModel().addModelStateListener(modelReconcileAdapter);
-
- // TODO... CS : revisit this line
- // currently this is used to associate a 'type' system with the definition
- // I suspect that this could be made a whole lot more simple
- //
- WSDLEditorUtil.getInstance().setTypeSystemProvider(definition, new ExtensibleTypeSystemProvider());
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- }
- return definition;
- }
-
- public ModelReconcileAdapter getModelReconcileAdapter()
- {
- return modelReconcileAdapter;
- }
-
- public static WSDLModelAdapter lookupOrCreateModelAdapter(Document document)
- {
- WSDLModelAdapter adapter = null;
- if (document instanceof INodeNotifier)
- {
- INodeNotifier notifier = (INodeNotifier)document;
- adapter = (WSDLModelAdapter)notifier.getAdapterFor(WSDLModelAdapter.class);
- if (adapter == null)
- {
- adapter = new WSDLModelAdapter();
- notifier.addAdapter(adapter);
- }
- }
- return adapter;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelLocatorAdapterFactory.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelLocatorAdapterFactory.java
deleted file mode 100644
index 0de7a94d5..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelLocatorAdapterFactory.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.text;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverPlugin;
-import org.eclipse.wst.wsdl.internal.util.WSDLModelLocator;
-
-public class WSDLModelLocatorAdapterFactory extends AdapterFactoryImpl
-{
- protected CustomWSDLModelLocator customWSDLModelLocator = new CustomWSDLModelLocator();
-
- class CustomWSDLModelLocator extends AdapterImpl implements WSDLModelLocator
- {
- public String resolveURI(String baseLocation, String namespace, String location)
- {
- return URIResolverPlugin.createResolver().resolve(baseLocation, namespace, location);
- }
-
- public boolean isAdatperForType(Object type)
- {
- return type == WSDLModelLocator.class;
- }
- }
-
- public boolean isFactoryForType(Object type)
- {
- return type == WSDLModelLocator.class;
- }
-
- public Adapter adaptNew(Notifier target, Object type)
- {
- return customWSDLModelLocator;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelReconcileAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelReconcileAdapter.java
deleted file mode 100644
index 772076818..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelReconcileAdapter.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.text;
-
-import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl;
-import org.eclipse.wst.wsdl.internal.impl.XSDSchemaExtensibilityElementImpl;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xsd.ui.internal.util.ModelReconcileAdapter;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.impl.XSDSchemaImpl;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
-class WSDLModelReconcileAdapter extends ModelReconcileAdapter
-{
- protected Definition definition;
-
- public WSDLModelReconcileAdapter(Document document, Definition definition)
- {
- super(document);
- this.definition = definition;
- }
-
- // This method is clever enough to deal with 'bad' documents that happen
- // to have more than one root element. It picks of the first 'matching' element.
- //
- // TODO (cs) why aren't we calling this from the WSDLModelAdapter when the model is initialized?
- //
- private Element getDefinitionElement(Document document)
- {
- Element definitionElement = null;
- for (Node node = document.getFirstChild(); node != null; node = node.getNextSibling())
- {
- if (node.getNodeType() == Node.ELEMENT_NODE)
- {
- Element element = (Element)node;
- if (WSDLEditorUtil.getInstance().getWSDLType(element) == WSDLConstants.DEFINITION)
- {
- definitionElement = element;
- break;
- }
- }
- }
- return definitionElement;
- }
-
- protected void handleNodeChanged(Node node)
- {
- if (node instanceof Element)
- {
- reconcileModelObjectForElement((Element)node);
- }
- else if (node instanceof Document)
- {
- // The document changed so we may need to fix up the
- // definition's root element
- Document document = (Document)node;
- Element definitionElement = getDefinitionElement(document);
- if (definitionElement != null && definitionElement != definition.getElement())
- {
- // here we handle the case where a new 'definition' element was added
- //(e.g. the file was totally blank and then we type in the root element)
- // See Bug 5366
- //
- if (definitionElement.getLocalName().equals(WSDLConstants.DEFINITION_ELEMENT_TAG))
- {
- //System.out.println("****** Setting new definition");
- definition.setElement(definitionElement);
- }
- }
- else if (definitionElement != null)
- {
- // handle the case where the definition element's content has changed
- //
- ((DefinitionImpl)definition).elementChanged(definitionElement);
- }
- else if (definitionElement == null)
- {
- // if there's no definition element clear out the WSDL
- //
- ((DefinitionImpl)definition).removeAll();
-
- // The removeAll() call does not remove namespaces as well and the model
- // does not reconcile well in this case. Also reset the definition name and target
- // namespace.
-
- definition.getNamespaces().clear();
- definition.setQName(null);
- definition.setTargetNamespace(null);
-
- // Reset the document because removeAll() sets the document to null as well.
- definition.setDocument(document);
- }
- }
- }
-
- private void reconcileModelObjectForElement(Element element)
- {
- Object modelObject = WSDLEditorUtil.getInstance().findModelObjectForElement(definition, element);
- if (modelObject != null)
- {
- if (modelObject instanceof XSDSchemaExtensibilityElementImpl)
- {
- XSDSchemaExtensibilityElementImpl ee = (XSDSchemaExtensibilityElementImpl)modelObject;
- ((XSDSchemaImpl)ee.getSchema()).elementChanged(element);
- ee.elementChanged(element);
- }
- else if (modelObject instanceof WSDLElementImpl)
- {
- ((WSDLElementImpl)modelObject).elementChanged(element);
- }
- else if (modelObject instanceof XSDConcreteComponent)
- {
- ((XSDConcreteComponent)modelObject).elementChanged(element);
- }
- }
- }
-
- /**
- * @deprecated
- */
- protected void reconcileModelObjectForElement(Element element, int eventType, Object feature, Object oldValue, Object newValue, int index)
- {
- reconcileModelObjectForElement(element);
- }
-
- public void modelDirtyStateChanged(IStructuredModel model, boolean isDirty)
- {
- if (!isDirty)
- {
- // cs : At this time (when a save occurs) it's a good opportunity
- // to update the model to ensure it's in sync with the source.
- // That way if the incremental sync between DOM and model has gotten
- // the model out of whack we'll be able to put things right at this point.
- //
- // TODO (cs) need to do more to ensure model is sync'd up properly
- ((DefinitionImpl)definition).reconcileReferences(true);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ComponentReferenceUtil.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ComponentReferenceUtil.java
deleted file mode 100644
index 10f30ec17..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ComponentReferenceUtil.java
+++ /dev/null
@@ -1,959 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.common.uriresolver.internal.util.URIHelper;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.internal.impl.ImportImpl;
-import org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl;
-import org.eclipse.wst.wsdl.ui.internal.extensions.ITypeSystemProvider;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
-public class ComponentReferenceUtil
-{
- protected Definition rootDefinition;
-
- public ComponentReferenceUtil(Definition rootDefinition)
- {
- this.rootDefinition = rootDefinition;
- }
-
- protected static boolean isEqual(String a, String b)
- {
- boolean result = false;
- if (a != null)
- {
- result = a.equals(b) || (a.length() == 0 && b == null);
- }
- else
- {
- result = (b == null || b.length() == 0);
- }
- return result;
- }
-
- protected static boolean isEqualInputName(Operation operation, BindingOperation bindingOperation)
- {
- boolean result = false;
- Input operationInput = operation.getEInput();
- BindingInput bindingOperationInput = bindingOperation.getEBindingInput();
-
- if (operationInput != null && bindingOperationInput != null)
- {
- result = isEqual(operationInput.getName(), bindingOperationInput.getName());
- }
- else if (operationInput == null && bindingOperationInput == null)
- {
- result = true;
- }
- return result;
- }
-
- protected static boolean isEqualOutputName(Operation operation, BindingOperation bindingOperation)
- {
- boolean result = false;
- Output operationOutput = operation.getEOutput();
- BindingOutput bindingOperationOutput = bindingOperation.getEBindingOutput();
-
- if (operationOutput != null && bindingOperationOutput != null)
- {
- result = isEqual(operationOutput.getName(), bindingOperationOutput.getName());
- }
- else if (operationOutput == null && bindingOperationOutput == null)
- {
- result = true;
- }
- return result;
- }
-
- protected static boolean isMatchingBinding(Operation operation, BindingOperation bindingOperation)
- {
- return isEqual(operation.getName(), bindingOperation.getName()); /* &&
- isEqualInputName(operation, bindingOperation) &&
- isEqualOutputName(operation, bindingOperation);*/
- }
-
- public List getPortsForPortType(PortType portType)
- {
- List list = new ArrayList();
- for (Iterator i = getServices().iterator(); i.hasNext();)
- {
- Service service = (Service) i.next();
- for (Iterator j = service.getEPorts().iterator(); j.hasNext();)
- {
- Port port = (Port) j.next();
- Binding binding = port.getEBinding();
- if (binding != null && binding.getEPortType() == portType)
- {
- list.add(port);
- }
- }
- }
- return list;
- }
-
- public List getPortsForBinding(Binding binding)
- {
- List list = new ArrayList();
- for (Iterator i = getServices().iterator(); i.hasNext();)
- {
- Service service = (Service) i.next();
- for (Iterator j = service.getEPorts().iterator(); j.hasNext();)
- {
- Port port = (Port) j.next();
- if (port.getEBinding() == binding)
- {
- list.add(port);
- }
- }
- }
- return list;
- }
-
- public List getBindingOperations(Operation operation)
- {
- List list = new ArrayList();
- String operationName = operation.getName();
-
- if (operationName != null)
- {
- PortType portType = getEnclosingPortType(operation);
- for (Iterator i = getBindings(portType).iterator(); i.hasNext();)
- {
- Binding binding = (Binding) i.next();
- BindingOperation bindingOperation = getBindingOperation(operation, binding);
- if (bindingOperation != null)
- {
- list.add(bindingOperation);
- }
- }
- }
- return list;
- }
-
- public BindingOperation getBindingOperation(Operation operation, Binding binding)
- {
- BindingOperation result = null;
- for (Iterator j = binding.getBindingOperations().iterator(); j.hasNext();)
- {
- BindingOperation bindingOperation = (BindingOperation) j.next();
- if (isMatchingBinding(operation, bindingOperation))
- {
- result = bindingOperation;
- break;
- }
- }
- return result;
- }
-
- public BindingInput getBindingInput(Input input, Binding binding)
- {
- BindingOperation bindingOperation = getBindingOperation((Operation) input.eContainer(), binding);
- return bindingOperation != null ? bindingOperation.getEBindingInput() : null;
- }
-
- public BindingOutput getBindingOutput(Output output, Binding binding)
- {
- BindingOperation bindingOperation = getBindingOperation((Operation) output.eContainer(), binding);
- return bindingOperation != null ? bindingOperation.getEBindingOutput() : null;
- }
-
- public BindingFault getBindingFault(Fault fault, Binding binding)
- {
- BindingFault result = null;
- String faultName = fault.getName();
- if (faultName != null)
- {
- BindingOperation bindingOperation = getBindingOperation((Operation) fault.eContainer(), binding);
- if (bindingOperation != null)
- {
- result = (BindingFault) bindingOperation.getBindingFault(faultName);
- }
- }
- return result;
- }
-
- public EObject getBindingObject(EObject interfaceObject, Binding binding)
- {
- EObject result = null;
- if (interfaceObject instanceof Input)
- {
- result = getBindingInput((Input) interfaceObject, binding);
- }
- else if (interfaceObject instanceof Output)
- {
- result = getBindingOutput((Output) interfaceObject, binding);
- }
- else if (interfaceObject instanceof Fault)
- {
- result = getBindingFault((Fault) interfaceObject, binding);
- }
- else if (interfaceObject instanceof Operation)
- {
- result = getBindingOperation((Operation) interfaceObject, binding);
- }
- else if (interfaceObject instanceof PortType)
- {
- result = binding;
- }
- return result;
- }
-
- public List getBindingInputs(Input input)
- {
- List list = new ArrayList();
- List operations = getBindingOperations((Operation) input.eContainer());
- for (Iterator i = operations.iterator(); i.hasNext();)
- {
- BindingOperation bindingOperation = (BindingOperation) i.next();
- if (bindingOperation.getBindingInput() != null)
- {
- list.add(bindingOperation.getBindingInput());
- }
- }
- return list;
- }
-
- public List getBindingOutputs(Output output)
- {
- List list = new ArrayList();
- Operation operation = (Operation) output.eContainer();
- if (operation != null)
- {
- List operations = getBindingOperations(operation);
- for (Iterator i = operations.iterator(); i.hasNext();)
- {
- BindingOperation bindingOperation = (BindingOperation) i.next();
- if (bindingOperation.getBindingOutput() != null)
- {
- list.add(bindingOperation.getBindingOutput());
- }
- }
- }
- return list;
- }
-
- public List getBindingFaults(Fault fault)
- {
- List list = new ArrayList();
- String faultName = fault.getName();
- if (faultName != null)
- {
- Operation operation = (Operation) fault.eContainer();
- if (operation != null)
- {
- List operations = getBindingOperations(operation);
- for (Iterator i = operations.iterator(); i.hasNext();)
- {
- BindingOperation bindingOperation = (BindingOperation) i.next();
- BindingFault bindingFault = (BindingFault) bindingOperation.getBindingFault(faultName);
- if (bindingFault != null)
- {
- list.add(bindingFault);
- }
- }
- }
- }
- return list;
- }
-
- protected PortType getEnclosingPortType(Operation operation)
- {
- return (PortType) operation.eContainer();
- }
-
- public List getBindings(Operation operation)
- {
- return getBindings(getEnclosingPortType(operation));
- }
-
- public List getBindings(PortType portType)
- {
- List list = new ArrayList();
- for (Iterator i = getDefinitions().iterator(); i.hasNext();)
- {
- Definition definition = (Definition) i.next();
- for (Iterator j = definition.getBindings().values().iterator(); j.hasNext();)
- {
- Binding binding = (Binding) j.next();
- if (portType == null || binding.getPortType() == portType)
- {
- list.add(binding);
- }
- }
- }
- return list;
- }
-
- public List getBindingsWithoutOperation(PortType portType, String operationName)
- {
- List result = new ArrayList();
- if (operationName != null)
- {
- List bindings = getBindings(portType);
- for (Iterator i = bindings.iterator(); i.hasNext();)
- {
- Binding binding = (Binding) i.next();
- boolean hasName = false;
- for (Iterator j = binding.getBindingOperations().iterator(); j.hasNext();)
- {
- BindingOperation bindingOperation = (BindingOperation) j.next();
- if (operationName.equals(bindingOperation.getName()))
- {
- hasName = true;
- break;
- }
- }
- if (!hasName)
- {
- result.add(binding);
- }
- }
- }
- return result;
- }
-
- public List getBindings()
- {
- return getBindings((PortType) null);
- }
-
- public List getBindingNames()
- {
- List list = new ArrayList();
- for (Iterator i = getBindings().iterator(); i.hasNext();)
- {
- Binding binding = (Binding) i.next();
- list.addAll(getPrefixedNames(binding.getQName()));
- }
- return list;
- }
-
- public List getPortTypeNames()
- {
- List list = new ArrayList();
- for (Iterator i = getDefinitions().iterator(); i.hasNext();)
- {
- Definition definition = (Definition) i.next();
- for (Iterator j = definition.getPortTypes().values().iterator(); j.hasNext();)
- {
- PortType portType = (PortType) j.next();
- list.addAll(getPrefixedNames(portType.getQName()));
- }
- }
- return list;
- }
-
- public List getServices()
- {
- List list = new ArrayList();
- for (Iterator i = getDefinitions().iterator(); i.hasNext();)
- {
- Definition definition = (Definition) i.next();
- list.addAll(definition.getEServices());
- }
- return list;
- }
-
- public List getPortTypes()
- {
- List list = new ArrayList();
- for (Iterator i = getDefinitions().iterator(); i.hasNext();)
- {
- Definition definition = (Definition) i.next();
- list.addAll(definition.getEPortTypes());
- }
- return list;
- }
-
- public List getMessages()
- {
- List list = new ArrayList();
- for (Iterator i = getDefinitions().iterator(); i.hasNext();)
- {
- Definition definition = (Definition) i.next();
- list.addAll(definition.getEMessages());
- }
- return list;
- }
-
- public List getTypes()
- {
- List list = new ArrayList();
- for (Iterator i = getDefinitions().iterator(); i.hasNext();)
- {
- Definition definition = (Definition) i.next();
- if (definition.getETypes() != null)
- {
- list.add(definition.getETypes());
- }
- }
- return list;
- }
-
- public List getMessageNames()
- {
- List list = new ArrayList();
- for (Iterator i = getDefinitions().iterator(); i.hasNext();)
- {
- Definition definition = (Definition) i.next();
- for (Iterator j = definition.getMessages().values().iterator(); j.hasNext();)
- {
- Message message = (Message) j.next();
- list.addAll(getPrefixedNames(message.getQName()));
- }
- }
- return list;
- }
-
- public List getDefinitions()
- {
- List list = new ArrayList();
- addDefinition(rootDefinition, list);
- return list;
- }
-
- /**
- * @deprecated -- we should always use getPrefixedNames
- */
- public String getPrefixedName(QName qname)
- {
- String name = null;
- if (qname != null)
- {
- String prefix = rootDefinition.getPrefix(qname.getNamespaceURI());
- if (prefix != null)
- {
- name = prefix + ":" + qname.getLocalPart(); //$NON-NLS-1$
- }
- }
- return name;
- }
-
- public List getPrefixedNames(QName qname)
- {
- List list = new ArrayList();
- if (qname != null)
- {
- Map map = rootDefinition.getNamespaces();
- for (Iterator i = map.keySet().iterator(); i.hasNext();)
- {
- String prefix = (String) i.next();
- String namespace = (String) map.get(prefix);
- if (namespace != null && namespace.equals(qname.getNamespaceURI()))
- {
- String name = prefix.length() > 0 ? prefix + ":" + qname.getLocalPart() : //$NON-NLS-1$
- qname.getLocalPart();
- list.add(name);
- }
- }
- }
- return list;
- }
-
- protected void addDefinition(Definition definition, List list)
- {
- if (definition != null)
- {
- list.add(definition);
- for (Iterator i = definition.getEImports().iterator(); i.hasNext();)
- {
- ImportImpl theImport = (ImportImpl) i.next();
- if (theImport.getLocationURI() != null && !theImport.getLocationURI().endsWith("xsd")) //$NON-NLS-1$
- {
- theImport.importDefinitionOrSchema();
- Definition importedDefinition = (Definition) theImport.getEDefinition();
- if (importedDefinition != null && !list.contains(importedDefinition))
- {
- addDefinition(importedDefinition, list);
- }
- }
- }
- }
- }
-
- public static String getPortTypeReference(Binding binding)
- {
- String result = null;
- Element element = WSDLEditorUtil.getInstance().getElementForObject(binding);
- if (element != null)
- {
- result = element.getAttribute("type"); //$NON-NLS-1$
- }
- return result;
- }
-
- public static void setPortTypeReference(Binding binding, String portType)
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(binding);
- if (element != null)
- {
- element.setAttribute("type", portType); //$NON-NLS-1$
- }
- }
-
- public static String getBindingReference(Port port)
- {
- String result = null;
- Element element = WSDLEditorUtil.getInstance().getElementForObject(port);
- if (element != null)
- {
- result = element.getAttribute("binding"); //$NON-NLS-1$
- }
- return result;
- }
-
- public static String getName(Binding binding)
- {
- String result = null;
- Element element = WSDLEditorUtil.getInstance().getElementForObject(binding);
- if (element != null)
- {
- result = element.getAttribute("name"); //$NON-NLS-1$
- }
- return result;
- }
-
- public static QName getPortTypeReferenceQName(Binding binding)
- {
- QName result = null;
- Definition definition = binding.getEnclosingDefinition();
- String prefixedName = getPortTypeReference(binding);
- if (prefixedName != null)
- {
- result = WSDLEditorUtil.createQName(definition, prefixedName);
- }
- return result;
- }
-
- public static QName getBindingReferenceQName(Port port)
- {
- QName result = null;
- Definition definition = port.getEnclosingDefinition();
- String prefixedName = getBindingReference(port);
- if (prefixedName != null)
- {
- result = WSDLEditorUtil.createQName(definition, prefixedName);
- }
- return result;
- }
-
- public static String getMessageReference(Input input)
- {
- return getMessageReferenceHelper(input);
- }
-
- public static String getMessageReference(Output output)
- {
- return getMessageReferenceHelper(output);
- }
-
- public static String getMessageReference(Fault fault)
- {
- return getMessageReferenceHelper(fault);
- }
-
- public static QName getMessageReferenceQName(Input input)
- {
- return getMessageReferenceQNameHelper(input);
- }
-
- public static QName getMessageReferenceQName(Output output)
- {
- return getMessageReferenceQNameHelper(output);
- }
-
- public static QName getMessageReferenceQName(Fault fault)
- {
- return getMessageReferenceQNameHelper(fault);
- }
-
- protected static String getMessageReferenceHelper(WSDLElement o)
- {
- String result = null;
- Element element = WSDLEditorUtil.getInstance().getElementForObject(o);
- if (element != null)
- {
- result = element.getAttribute("message"); //$NON-NLS-1$
- }
- return result;
- }
-
- public static QName getMessageReferenceQNameHelper(WSDLElement o)
- {
- QName result = null;
- Definition definition = o.getEnclosingDefinition();
- String prefixedName = getMessageReferenceHelper(o);
- if (prefixedName != null)
- {
- result = WSDLEditorUtil.createQName(definition, prefixedName);
- }
- return result;
- }
-
- public static void updatePortTypeReferences(Definition definition)
- {
- for (Iterator i = definition.getBindings().values().iterator(); i.hasNext();)
- {
- Binding binding = (Binding) i.next();
- QName qname = ComponentReferenceUtil.getPortTypeReferenceQName(binding);
-
- PortType portType = (qname != null) ? (PortType) definition.getPortType(qname) : null;
-
- if (binding.getPortType() != portType)
- {
- binding.setPortType(portType);
- }
- }
- }
-
- public static void updateBindingReferences(Definition definition)
- {
- for (Iterator i = definition.getServices().values().iterator(); i.hasNext();)
- {
- Service service = (Service) i.next();
- for (Iterator j = service.getEPorts().iterator(); j.hasNext();)
- {
- Port port = (Port) j.next();
- QName qname = ComponentReferenceUtil.getBindingReferenceQName(port);
-
- Binding binding = (qname != null) ? (Binding) definition.getBinding(qname) : null;
-
- if (port.getBinding() != binding)
- {
- port.setBinding(binding);
- }
- }
- }
- }
-
- public static void updateMessageReferences(Definition definition)
- {
- // for each port type
- //
- for (Iterator i = definition.getPortTypes().values().iterator(); i.hasNext();)
- {
- PortType portType = (PortType) i.next();
-
- // for each operation
- //
- for (Iterator j = portType.getEOperations().iterator(); j.hasNext();)
- {
- Operation operation = (Operation) j.next();
-
- // handle Input
- //
- Input input = (Input) operation.getInput();
- if (input != null)
- {
- QName qname = ComponentReferenceUtil.getMessageReferenceQName(input);
- Message message = (qname != null) ? (Message) definition.getMessage(qname) : null;
- if (input.getMessage() != message)
- {
- input.setMessage(message);
- }
- }
-
- // handle Output
- //
- Output output = (Output) operation.getOutput();
- if (output != null)
- {
- QName qname = ComponentReferenceUtil.getMessageReferenceQName(output);
- Message message = (qname != null) ? (Message) definition.getMessage(qname) : null;
- if (output.getMessage() != message)
- {
- output.setMessage(message);
- }
- }
-
- // handle Faults
- //
- for (Iterator k = operation.getEFaults().iterator(); k.hasNext();)
- {
- Fault fault = (Fault) k.next();
-
- QName qname = ComponentReferenceUtil.getMessageReferenceQName(fault);
- Message message = (qname != null) ? (Message) definition.getMessage(qname) : null;
- if (fault.getMessage() != message)
- {
- fault.setMessage(message);
- }
- }
- }
- }
- }
-
- public static void updateSchemaReferences(Definition definition)
- {
- for (Iterator i = definition.getEMessages().iterator(); i.hasNext();)
- {
- Message message = (Message) i.next();
- for (Iterator j = message.getEParts().iterator(); j.hasNext();)
- {
- Part part = (Part) j.next();
- Element element = WSDLEditorUtil.getInstance().getElementForObject(part);
- if (element != null)
- {
- ((WSDLElementImpl)part).elementChanged(element);
- }
- }
- }
- }
-
- public static Operation getOperation(PortType portType, BindingOperation bindingOperation)
- {
- Operation result = null;
- for (Iterator i = portType.getEOperations().iterator(); i.hasNext();)
- {
- Operation operation = (Operation) i.next();
- if (isMatchingBinding(operation, bindingOperation))
- {
- result = operation;
- break;
- }
- }
- return result;
- }
-
- public static void updateOperationReference(BindingOperation bindingOperation)
- {
- Operation operation = computeOperation(bindingOperation);
- if (operation != bindingOperation.getOperation())
- {
- bindingOperation.setOperation(operation);
- }
- }
-
- public List getComponentNameList(boolean isType)
- {
- List result = Collections.EMPTY_LIST;
- ITypeSystemProvider typeSystemProvider = WSDLEditorUtil.getInstance().getTypeSystemProvider(rootDefinition);
- if (typeSystemProvider != null)
- {
- result = isType ? typeSystemProvider.getAvailableTypeNames(rootDefinition, 0) : typeSystemProvider.getAvailableElementNames(rootDefinition);
- }
- return result;
- }
-
- public static List getComponentNameList(Part part, boolean isType)
- {
- List result = Collections.EMPTY_LIST;
- Definition definition = part.getEnclosingDefinition();
- ITypeSystemProvider typeSystemProvider = WSDLEditorUtil.getInstance().getTypeSystemProvider(definition);
- if (typeSystemProvider != null)
- {
- result = isType ? typeSystemProvider.getAvailableTypeNames(definition, 0) : typeSystemProvider.getAvailableElementNames(definition);
- }
- return result;
- }
-
- public static boolean isType(Part part)
- {
- //Element element = WSDLEditorUtil.getInstance().getElementForObject(part);
- Element element = part.getElement();
- return !element.hasAttribute("element"); //$NON-NLS-1$
- }
-
- public static String getPartComponentReference(Part part)
- {
- //Element element = WSDLEditorUtil.getInstance().getElementForObject(part);
- Element element = part.getElement();
- String result = null;
- if (element.hasAttribute("type")) //$NON-NLS-1$
- {
- result = element.getAttribute("type"); //$NON-NLS-1$
- }
- else if (element.hasAttribute("element")) //$NON-NLS-1$
- {
- result = element.getAttribute("element"); //$NON-NLS-1$
- }
- return result;
- }
-
- public static void setComponentReference(Part part, boolean isType, String componentName)
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(part);
- String newAttribute = isType ? "type" : "element"; //$NON-NLS-1$ //$NON-NLS-2$
- String oldAttribute = isType ? "element" : "type"; //$NON-NLS-1$ //$NON-NLS-2$
- element.removeAttribute(oldAttribute);
-
- String value = componentName != null ? componentName : element.getAttribute(newAttribute);
-
- if (value == null)
- {
- if (isType)
- {
- String xsdPrefix = part.getEnclosingDefinition().getPrefix(WSDLConstants.XSD_NAMESPACE_URI);
- value = "string"; //$NON-NLS-1$
- if (xsdPrefix != null && xsdPrefix.length() > 0)
- {
- value = xsdPrefix + ":" + value; //$NON-NLS-1$
- }
- }
- else
- {
- List list = getComponentNameList(part, isType);
- value = list.size() > 0 ? (String) list.get(0) : "some-element-name"; //$NON-NLS-1$
- }
- }
- element.setAttribute(newAttribute, value);
- }
-
- public static Operation computeOperation(BindingOperation bindingOperation)
- {
- Operation result = null;
- Binding binding = (Binding) bindingOperation.eContainer();
- PortType portType = (PortType) binding.getPortType();
- if (portType != null)
- {
- result = getOperation(portType, bindingOperation);
- }
- return result;
- }
-
- public static Input computeInput(BindingInput bindingInput)
- {
- Operation operation = computeOperation((BindingOperation) bindingInput.eContainer());
- return operation != null ? operation.getEInput() : null;
- }
-
- public static Output computeOutput(BindingOutput bindingOutput)
- {
- Operation operation = computeOperation((BindingOperation) bindingOutput.eContainer());
- return operation != null ? operation.getEOutput() : null;
- }
-
- public static Fault computeFault(BindingFault bindingFault)
- {
- Fault result = null;
- Operation operation = computeOperation((BindingOperation) bindingFault.eContainer());
- if (operation != null)
- {
- for (Iterator i = operation.getEFaults().iterator(); i.hasNext();)
- {
- Fault fault = (Fault) i.next();
- String faultName = fault.getName();
- if (faultName != null && faultName.equals(bindingFault.getName()))
- {
- result = fault;
- break;
- }
- }
- }
- return result;
- }
-
- public static String getPartReferenceValue(Part part)
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(part);
- String value = null;
- if (element != null)
- {
- if (element.hasAttribute("type")) //$NON-NLS-1$
- {
- value = element.getAttribute("type"); //$NON-NLS-1$
- }
- else if (element.hasAttribute("element")) //$NON-NLS-1$
- {
- value = element.getAttribute("element"); //$NON-NLS-1$
- }
- }
- return value != null ? value : ""; //$NON-NLS-1$
- }
-
- public Operation getBindingOperation(Element bindingOperationContent)
- {
- Operation operation = null;
- Node parent = bindingOperationContent.getParentNode();
- if (parent instanceof Element)
- {
- Object object = WSDLEditorUtil.getInstance().findModelObjectForElement(rootDefinition, (Element) parent);
- if (object instanceof BindingOperation)
- {
- operation = ComponentReferenceUtil.computeOperation((BindingOperation) object);
- }
- }
- return operation;
- }
-
- public Message getBindingOperationInputMessage(Element bindingOperationContent)
- {
- Message message = null;
- Operation operation = getBindingOperation(bindingOperationContent);
- if (operation != null)
- {
- Input input = operation.getEInput();
- if (input != null)
- {
- message = input.getEMessage();
- }
- }
- return message;
- }
-
- public Message getBindingOperationOutputMessage(Element bindingOperationContent)
- {
- Message message = null;
- Operation operation = getBindingOperation(bindingOperationContent);
- if (operation != null)
- {
- Output output = operation.getEOutput();
- if (output != null)
- {
- message = output.getEMessage();
- }
- }
- return message;
- }
-
- public static String computeRelativeURI(IFile referencedLocation, IFile baseLocation, boolean enableIEStyleReferences)
- {
- // TODO... we need some extension to allow IE folks to plugin logic to create an 'IE' style path
- // TODO... consider using URI class in EMF
- return URIHelper.getRelativeURI(referencedLocation.getLocation(), baseLocation.getLocation());
- }
-
- public static String computeRelativeURI(String referencedLocation, String baseLocation, boolean enableIEStyleReferences)
- {
- // TODO... we need some extension to allow IE folks to plugin logic to create an 'IE' style path
- // TODO... consider using URI class in EMF
- return URIHelper.getRelativeURI(referencedLocation, baseLocation);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/CreateWSDLElementHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/CreateWSDLElementHelper.java
deleted file mode 100644
index c03eb1e6b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/CreateWSDLElementHelper.java
+++ /dev/null
@@ -1,368 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.util.Iterator;
-import java.util.List;
-
-import javax.wsdl.OperationType;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.internal.impl.MessageReferenceImpl;
-import org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddBaseParameterCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddBindingCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddFaultCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddInputCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddInputParameterCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddMessageCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddOperationCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddOutputCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddOutputParameterCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddPartCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddPortCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddPortTypeCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddServiceCommand;
-import org.eclipse.wst.wsdl.ui.internal.commands.AddXSDElementDeclarationCommand;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.provisional.format.FormatProcessorXML;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDSchema;
-import org.w3c.dom.Element;
-
-public class CreateWSDLElementHelper {
- // Constants used for getting Part information
- public static final String PART_INFO_ELEMENT_DECLARATION = "ELEMENT_DECLARATION"; //$NON-NLS-1$
- public static final String PART_INFO_TYPE_DEFINITION = "TYPE_DEFINITION"; //$NON-NLS-1$
-
- // The following variables should be set if a name other than the computed name is to be used.
- public static String serviceName = null;
- public static String portName = null;
- public static String bindingName = null;
- public static String portTypeName = null;
- public static String operationName = null;
- public static String inputName = null;
- public static String outputName = null;
- public static String faultName = null;
- public static String messageName = null;
- public static String partName = null;
-
- public static String PART_TYPE_OR_DEFINITION = PART_INFO_TYPE_DEFINITION;
- public static boolean CREATE_DOWN_TO_PART = true;
-
-/*
- * The following methods creates the 'specified' (by calling a certain method) WSDLElement
- * and it's 'children' all the way to the PortType level.
- */
- public static Service createService(Definition definition) {
- if (serviceName == null || serviceName.trim().equals("")) //$NON-NLS-1$
- serviceName = NameUtil.buildUniqueServiceName(definition);
-
- CreateWSDLElementHelper.portTypeName = serviceName;
-
- AddServiceCommand addService = new AddServiceCommand(definition, serviceName, false);
- addService.run();
- Service service = (Service) addService.getWSDLElement();
- CreateWSDLElementHelper.createPort(service);
-
- return service;
- }
-
- public static Port createPort(Service service) {
- if (portName == null || portName.trim().equals("")) //$NON-NLS-1$
- portName = NameUtil.buildUniquePortName(service, null);
-
- AddPortCommand addPort = new AddPortCommand(service, portName);
- addPort.run();
- Port port = (Port) addPort.getWSDLElement();
- Binding binding = CreateWSDLElementHelper.createBinding(port.getEnclosingDefinition(), port);
-
- port.setBinding(binding);
-
- return port;
- }
-
- public static Binding createBinding(Definition definition, Port port) {
- bindingName = port.getName();
- if (bindingName == null || bindingName.trim().equals("")) //$NON-NLS-1$
- bindingName = NameUtil.buildUniqueBindingName(definition, null);
-
- AddBindingCommand addBinding = new AddBindingCommand(definition, bindingName);
- addBinding.run();
- Binding binding = (Binding) addBinding.getWSDLElement();
- PortType portType = CreateWSDLElementHelper.createPortType(binding.getEnclosingDefinition());
-
- binding.setPortType(portType);
-
- return binding;
- }
-
- public static PortType createPortType(Definition definition) {
- if (portTypeName == null || portTypeName.trim().equals("")) //$NON-NLS-1$
- portTypeName = NameUtil.buildUniquePortTypeName(definition, "PortType"); //$NON-NLS-1$
-
- AddPortTypeCommand addPortTypeCommand = new AddPortTypeCommand(definition, portTypeName);
- addPortTypeCommand.run();
- PortType portType = (PortType) addPortTypeCommand.getWSDLElement();
-
- if (CREATE_DOWN_TO_PART) {
- CreateWSDLElementHelper.createOperation(portType);
- }
-
- return portType;
- }
-
-
-/*
- * The following methods creates the 'specified' (by calling a certain method) WSDLElement
- * and it's 'children' all the way to the Part level.
- */
- public static Operation createOperation(PortType portType) {
- if (operationName == null || operationName.trim().equals("")) //$NON-NLS-1$
- operationName = NameUtil.buildUniqueOperationName(portType);
-
- AddOperationCommand action = new AddOperationCommand(portType, operationName);
- action.run();
- Operation operation = (Operation) action.getWSDLElement();
-
- int style = AddBaseParameterCommand.PART_ELEMENT_SEQ_ELEMENT;
- if (PART_TYPE_OR_DEFINITION == PART_INFO_TYPE_DEFINITION) {
- style = AddBaseParameterCommand.PART_SIMPLETYPE;
- }
- else if (PART_TYPE_OR_DEFINITION == PART_INFO_ELEMENT_DECLARATION) {
- style = AddBaseParameterCommand.PART_ELEMENT_SEQ_ELEMENT;
-// style = AddBaseParameterCommand.PART_ELEMENT;
- }
-
- AddInputParameterCommand inputCommand = new AddInputParameterCommand(operation, style);
- inputCommand.run();
- AddOutputParameterCommand outputCommand = new AddOutputParameterCommand(operation, style);
- outputCommand.run();
- operation.setStyle(OperationType.REQUEST_RESPONSE);
-
- return operation;
- }
-
- public static Input createInput(PortType portType, Operation operation, String inputName) {
- if (inputName == null || inputName.trim().equals("")) //$NON-NLS-1$
- inputName = NameUtil.buildUniqueInputName(portType, operation.getName(), ""); //$NON-NLS-1$
-
- AddInputCommand action = new AddInputCommand(operation, inputName);
- action.run();
- Input input = (Input) action.getWSDLElement();
- Message mess = CreateWSDLElementHelper.createMessage(input);
- input.setMessage(mess);
-
- return input;
- }
-
- public static Output createOutput(PortType portType, Operation operation) {
- if (outputName == null || outputName.trim().equals("")) //$NON-NLS-1$
- outputName = NameUtil.buildUniqueOutputName(portType, operation.getName(), ""); //$NON-NLS-1$
-
- AddOutputCommand action = new AddOutputCommand(operation, outputName);
- action.run();
- Output output = (Output) action.getWSDLElement();
- Message mess = CreateWSDLElementHelper.createMessage(output);
- output.setMessage(mess);
-
- return output;
- }
-
- public static Fault createFault(Operation operation) {
- if (faultName == null || faultName.trim().equals("")) //$NON-NLS-1$
- faultName = NameUtil.buildUniqueFaultName(operation);
-
- AddFaultCommand action = new AddFaultCommand(operation, faultName);
- action.run();
- Fault fault = (Fault) action.getWSDLElement();
- Message mess = CreateWSDLElementHelper.createMessage(fault);
- fault.setMessage(mess);
-
- return fault;
- }
-
- public static Message createMessage(MessageReference iof) {
- if (messageName == null || messageName.trim().equals("")) //$NON-NLS-1$
- messageName = NameUtil.buildUniqueMessageName(iof.getEnclosingDefinition(), iof);
-// messageName = NameUtil.buildMessageName(iof.getName());
-
- Definition def = iof.getEnclosingDefinition();
- AddMessageCommand action = new AddMessageCommand(def, messageName);
- action.run();
- Message message = (Message) action.getWSDLElement();
- CreateWSDLElementHelper.createPart(message);
- Element parentNode = message.getElement();
- if (parentNode instanceof IDOMNode)
- {
- // format selected node
- FormatProcessorXML formatProcessorXML = new FormatProcessorXML();
- formatProcessorXML.formatNode((IDOMNode)parentNode);
- }
-
- messageName = null;
- return message;
- }
-
- public static Part createPart(Message message) {
- Definition def = message.getEnclosingDefinition();
- String name = NameUtil.buildUniquePartName(message, message.getQName().getLocalPart());
- AddPartCommand action = null;
-
- if (PART_TYPE_OR_DEFINITION == PART_INFO_TYPE_DEFINITION) {
- action = new AddPartCommand(message, name, WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001, "string", true); //$NON-NLS-1$
- }
- else if (PART_TYPE_OR_DEFINITION == PART_INFO_ELEMENT_DECLARATION) {
- //action = new AddPartCommand(message, name, WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001, "string", true);
- String elementName = getNewNameHelper(name, def, false);
- AddXSDElementDeclarationCommand elementAction = new AddXSDElementDeclarationCommand(def, elementName);
- elementAction.run();
- action = new AddPartCommand(message, name, def.getTargetNamespace(), elementName, false);
- }
-
- action.run();
-
- return (Part) action.getWSDLElement();
- }
-
- /*
- * Used to determine a name for an Element
- */
- private static String getNewNameHelper(String base, Definition def, boolean isType)
- {
- String name = base;
- int count = 0;
-
- // Ugly.... Redo this...
- // Get a list of Elements...
- List elementList = null;
- if (def.getETypes() != null) {
- List xsdsList = def.getETypes().getEExtensibilityElements();
- if (xsdsList != null) {
- Iterator xsdsIterator = xsdsList.iterator();
- XSDSchemaExtensibilityElement xsdElement = (XSDSchemaExtensibilityElement) xsdsIterator.next();
- XSDSchema schema = xsdElement.getSchema();
- if (schema != null) {
- elementList = schema.getElementDeclarations();
- }
- }
- }
-
- if (elementList != null) {
- int index = 0;
- while (index < elementList.size()) {
- XSDElementDeclaration elementDeclaration = (XSDElementDeclaration) elementList.get(index);
-
- if (name.equals(elementDeclaration.getName())) {
- count++;
- name = name + count;
- index = 0;
- }
- else {
- index++;
- }
- }
- }
-
- return name;
- }
-
- /*
- * Return the type of Part this WSDLElement should have (Element vs Type). To determine this, we filter up to the 'parent' PortType
- * and go down to the first Part we encounter and check the type it has. If this fails, default to Type.
- */
- public static String getPartInfo(WSDLElement element) {
- String partInfo = null;
-
- if (element instanceof PortType) {
- partInfo = getPartInfo((PortType) element);
- }
- else if (element instanceof Operation) {
- partInfo = getPartInfo(((WSDLElementImpl) element).getContainer());
- }
- else if (element instanceof MessageReferenceImpl) {
- partInfo = getPartInfo(((WSDLElementImpl) element).getContainer());
- }
-
- if (partInfo == null) {
- partInfo = CreateWSDLElementHelper.PART_INFO_TYPE_DEFINITION;
- }
-
- return partInfo;
- }
-
- private static String getPartInfo(PortType portType) {
- String partInfo = null;
-
- if (portType.getOperations() != null) {
- Iterator operationIt = portType.getOperations().iterator();
- while (operationIt.hasNext()) {
- Operation op = (Operation) operationIt.next();
-
- if (op.getEInput() != null) {
- partInfo = getMessageRefPartInfo((MessageReferenceImpl) op.getEInput());
- }
-
- if (partInfo == null && op.getEOutput() != null) {
- partInfo = getMessageRefPartInfo((MessageReferenceImpl) op.getEOutput());
- }
-
- if (op.getEFaults() != null) {
- Iterator faultIt = op.getEFaults().iterator();
- while (partInfo == null && faultIt.hasNext()) {
- Fault fault = (Fault) faultIt.next();
- partInfo = getMessageRefPartInfo((MessageReferenceImpl) fault);
- }
- }
-
- if (partInfo != null)
- break;
- }
- }
-
- return partInfo;
- }
-
- private static String getMessageRefPartInfo(MessageReferenceImpl iof) {
- String partInfo = null;
-
- if (iof.getEMessage() != null && iof.getEMessage().getEParts() != null) {
- Iterator partIt = iof.getEMessage().getEParts().iterator();
-
- while (partInfo == null && partIt.hasNext()) {
- Part part = (Part) partIt.next();
-
- if (part.getTypeDefinition() != null) {
- partInfo = CreateWSDLElementHelper.PART_INFO_TYPE_DEFINITION;
- }
- else if (part.getElementDeclaration() != null) {
- partInfo = CreateWSDLElementHelper.PART_INFO_ELEMENT_DECLARATION;
- }
- }
- }
-
- return partInfo;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NameUtil.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NameUtil.java
deleted file mode 100644
index eb9920fc5..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NameUtil.java
+++ /dev/null
@@ -1,581 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDModelGroup;
-import org.eclipse.xsd.XSDParticle;
-import org.eclipse.xsd.XSDSchema;
-
-public class NameUtil
-{
- /**
- * Return a name which is not used by any other fault in the operation.
- * @return String
- */
- public static String buildUniqueFaultName(Operation operation)
- {
- return buildUniqueFaultName(operation, "NewFault"); //$NON-NLS-1$
- }
-
- public static String buildUniqueFaultName(Operation operation, String baseName) {
- if (baseName == null)
- baseName = "NewFault"; //$NON-NLS-1$
-
- List names = getUsedFaultNames(operation);
-
- // Now search the list until we find an unused name
- return getUniqueNameHelper(baseName, names);
- }
-
- /**
- * Return a name which is not used by any other input in the portType. Returned name will be of the form:
- * <operationName> + <ending> [+ unique Integer]
- * @return String
- */
- public static String buildUniqueInputName(PortType portType, String operationName, String ending)
- {
- String name = null;
- String candidate = operationName + ending;
-
- int i = 0;
-
- // loop until we find a unique name (the name will consist of the operationName + ending + an integer)
- while (name == null)
- {
- boolean unique = true;
-
- // determine if this combination is unique within the current porttype
- for (Iterator it = portType.getEOperations().iterator(); it.hasNext() && unique;)
- {
- Operation current = (Operation) it.next();
- // TODO : port check
- // old if(current.isSetEInput() && current.getEInput().isSetName()) {
- if (current.getEInput() != null && current.getEInput().getName() != null)
- {
- if (current.getEInput().getName().equals(candidate))
- unique = false;
- }
- }
- if (unique)
- name = candidate;
- else
- candidate = operationName + ending + i;
- i++;
- }
- return name;
- }
-
- /**
- * Return a name which is not used by any other message in the definition.
- * @return String
- */
- public static String buildUniqueMessageName(Definition definition, String baseName)
- {
- if (baseName == null)
- {
- baseName = "NewMessage"; //$NON-NLS-1$
- }
-
- List names = getUsedMessageNames(definition);
-
- // Now search the list until we find an unused name
- return getUniqueNameHelper(baseName, names);
- }
-
- /**
- * Return a name which is not used by any other operation in the port type.
- * @return String
- */
- public static String buildUniqueOperationName(PortType portType)
- {
- return buildUniqueOperationName(portType, "NewOperation"); //$NON-NLS-1$
- }
-
- public static String buildUniqueOperationName(PortType portType, String baseName)
- {
- if (baseName == null) {
- baseName = "NewOperation"; //$NON-NLS-1$
- }
-
- List names = getUsedOperationNames(portType);
-
- // Now search the list until we find an unused name
- return getUniqueNameHelper(baseName, names);
- }
-
- /**
- * Return a name which is not used by any other output in the portType. Returned name will be of the form:
- * <operationName> + <ending> [+ unique Integer]
- * @return String
- */
- public static String buildUniqueOutputName(PortType portType, String operationName, String ending)
- {
- String name = null;
- String candidate = operationName + ending;
-
- int i = 0;
-
- // loop until we find a unique name (the name will consist of the operationName + ending + an integer)
- while (name == null)
- {
- boolean unique = true;
-
- // determine if this combination is unique within the current porttype
- for (Iterator it = portType.getEOperations().iterator(); it.hasNext() && unique;)
- {
- Operation current = (Operation) it.next();
- // TODO: port check
- // old if(current.isSetEOutput() && current.getEOutput().isSetName()) {
- if (current.getEOutput() != null && current.getEOutput().getName() != null)
- {
- if (current.getEOutput().getName().equals(candidate))
- unique = false;
- }
- }
- if (unique)
- name = candidate;
- else
- candidate = operationName + ending + i;
- i++;
- }
- return name;
- }
-
- /**
- * Return a name which is not used by any other part in the message.
- * @return String
- */
- public static String buildUniquePartName(Message message)
- {
- List names = getUsedPartNames(message);
-
- // Now search the list until we find an unused name
- return getUniqueNameHelper("NewPart", names); //$NON-NLS-1$
- }
-
- public static String buildUniquePartName(Message message, String baseName)
- {
- if (baseName == null)
- {
- baseName = "NewPart"; //$NON-NLS-1$
- }
-
- List names = getUsedPartNames(message);
-
- // Now search the list until we find an unused name
- return getUniqueNameHelper(baseName, names);
- }
-
- /**
- * Return a name which is not used by any other port type in the definition.
- * @return String
- */
- public static String buildUniquePortTypeName(Definition definition, String baseName)
- {
- if (baseName == null)
- {
- baseName = "NewPortType"; //$NON-NLS-1$
- }
-
- List names = getUsedPortTypeNames(definition);
-
- // Now search the list until we find an unused name
- return getUniqueNameHelper(baseName, names);
- }
-
- public static String getUniqueNameHelper(String baseName, List names)
- {
- int i = 0;
-
- String name = baseName;
- while (true)
- {
- if (!names.contains(name))
- {
- break;
- }
- i++;
- name = baseName + i;
- }
-
- return name;
- }
-
- /**
- * Return a name which is not used by any other service in the definition.
- * @return String
- */
- public static String buildUniqueServiceName(Definition definition)
- {
- List names = getUsedServiceNames(definition);
-
- // Now search the list until we find an unused name
- return getUniqueNameHelper("NewService", names); //$NON-NLS-1$
- }
-
- /**
- * Return a name which is not used by any other binding in the definition.
- * @return String
- */
- public static String buildUniqueBindingName(Definition definition, String baseName)
- {
- if (baseName == null)
- {
- baseName = "NewBinding"; //$NON-NLS-1$
- }
-
- List names = getUsedBindingNames(definition);
-
- return getUniqueNameHelper(baseName, names);
- }
-
- public static String buildUniquePrefix(Definition definition, String basePrefix)
- {
- String prefix = basePrefix;
- for (int i = 1; definition.getNamespace(prefix) != null; i++)
- {
- prefix = basePrefix + i;
- }
- return prefix;
- }
-
- public static String buildUniquePortName(Service service, String baseName)
- {
- if (baseName == null)
- {
- baseName = "NewPort"; //$NON-NLS-1$
- }
-
- List names = getUsedPortNames(service);
-
- return getUniqueNameHelper(baseName, names);
- }
-
- public static String buildUniqueMessageName(Definition definition, MessageReference messRef)
- {
- String name = null;
- if (messRef instanceof Input)
- {
- name = createOperationName(messRef, "Request"); //$NON-NLS-1$
- }
- else if (messRef instanceof Output)
- {
- name = createOperationName(messRef, "Response"); //$NON-NLS-1$
- }
- else if (messRef instanceof Fault)
- {
- String faultName = ((Fault) messRef).getName();
- if (faultName == null || faultName.length() == 0)
- {
- faultName = "Fault"; //$NON-NLS-1$
- }
- name = createOperationName(messRef, faultName);
- }
-
- return NameUtil.buildUniqueMessageName(definition, name);
- }
-
-
- public static List getUsedFaultNames(Operation operation) {
- ArrayList names = new ArrayList();
- for (Iterator i = operation.getEFaults().iterator(); i.hasNext();)
- {
- Fault fault = (Fault) i.next();
- names.add(fault.getName());
- }
-
- return names;
- }
-
- public static List getUsedOperationNames(PortType portType) {
- ArrayList names = new ArrayList();
- for (Iterator i = portType.getEOperations().iterator(); i.hasNext();)
- {
- Operation op = (Operation) i.next();
- names.add(op.getName());
- }
-
- return names;
- }
-
- public static List getUsedPartNames(Message message) {
- ArrayList names = new ArrayList();
- for (Iterator i = message.getEParts().iterator(); i.hasNext();)
- {
- Part part = (Part) i.next();
- names.add(part.getName());
- }
- return names;
- }
-
- public static List getUsedPortTypeNames(Definition definition) {
- ArrayList names = new ArrayList();
- for (Iterator i = definition.getEPortTypes().iterator(); i.hasNext();)
- {
- PortType portType = (PortType) i.next();
- // TODO: port check
- // if (portType.isSetQName())
- if (portType.getQName() != null)
- {
- names.add(portType.getQName().getLocalPart());
- }
- }
-
- return names;
-
- }
- public static List getUsedServiceNames(Definition definition) {
- // First build a list of names already used
- ArrayList names = new ArrayList();
- for (Iterator i = definition.getEServices().iterator(); i.hasNext();)
- {
- Service service = (Service) i.next();
- // TODO: port check
- // if(service.isSetQName())
- if (service.getQName() != null)
- names.add(service.getQName().getLocalPart());
- }
-
- return names;
- }
-
- public static List getUsedMessageNames(Definition definition) {
- ArrayList names = new ArrayList();
- for (Iterator i = definition.getEMessages().iterator(); i.hasNext();)
- {
- Message msg = (Message) i.next();
- // TODO: port check
- if (msg.getQName() != null)
- // if(msg.isSetQName())
- names.add(msg.getQName().getLocalPart());
- }
-
- return names;
- }
-
- public static List getUsedBindingNames(Definition definition) {
- ArrayList names = new ArrayList();
- for (Iterator i = definition.getEBindings().iterator(); i.hasNext();)
- {
- Binding binding = (Binding) i.next();
- // TODO: port check
- // if (binding.isSetQName())
- if (binding.getQName() != null)
- {
- names.add(binding.getQName().getLocalPart());
- }
- }
-
- return names;
- }
-
- public static List getUsedPortNames(Service service) {
- // First build a list of names already used
- ArrayList names = new ArrayList();
- for (Iterator i = service.getEPorts().iterator(); i.hasNext();)
- {
- Port port = (Port) i.next();
-
- if (port.getName() != null)
- {
- names.add(port.getName());
- }
- }
-
- return names;
- }
-
- private static String createOperationName(Object object, String suffix)
- {
- String result = null;
- if (object instanceof EObject)
- {
- EObject parent = ((EObject)object).eContainer();
- if (parent instanceof Operation)
- {
- result = ((Operation)parent).getName();
- }
- }
- if (result != null)
- {
- result += suffix;
- }
- return result;
- }
-
-public static String getMessageName(MessageReference messageRef) {
- String messageName = "NewMessage"; //$NON-NLS-1$
- List messageNames = new ArrayList();
- Operation operation = (Operation) messageRef.getContainer();
- Iterator messageIt = operation.getEnclosingDefinition().getEMessages().iterator();
- while (messageIt.hasNext()) {
- messageNames.add(((Message) messageIt.next()).getQName().getLocalPart());
- }
-
-// String requestResponseString = getRequestOrResponse(messageRef) + "Msg"; //$NON-NLS-1$
- String requestResponseString = getRequestOrResponse(messageRef); //$NON-NLS-1$
- messageName = getUniqueNameHelper(operation.getName() + requestResponseString, messageNames);
-
- return messageName;
-}
-
-public static String getPartName(MessageReference messageRef) {
- String partName = "NewPart"; //$NON-NLS-1$
- Message message = messageRef.getEMessage();
-
- Operation operation = (Operation) messageRef.getContainer();
- String operationName = operation.getName();
- String appendString = ""; //$NON-NLS-1$
- if (messageRef instanceof Input) {
-// appendString = "Parameters"; //$NON-NLS-1$
- appendString = "Request"; //$NON-NLS-1$
- }
- else if (messageRef instanceof Output) {
-// appendString = "Result"; //$NON-NLS-1$
- appendString = "Response"; //$NON-NLS-1$
- }
- else if (messageRef instanceof Fault) {
-// appendString = "Fault"; //$NON-NLS-1$
- appendString = "_Fault"; //$NON-NLS-1$
- }
- partName = operationName + appendString;
-
- List usedPartNames = new ArrayList();
- if (message != null) {
- partName = message.getQName().getLocalPart();
- Iterator partIt = message.getEParts().iterator();
- while (partIt.hasNext()) {
- usedPartNames.add(((Part) partIt.next()).getName());
- }
- }
-
- partName = getUniqueNameHelper(partName, usedPartNames);
-
- return partName;
-}
-
-public static String getOperationName(PortType portType) {
- String operationName = "NewOperation"; //$NON-NLS-1$
- Iterator operationIt = portType.getEOperations().iterator();
- List usedNames = new ArrayList();
- while (operationIt.hasNext()) {
- usedNames.add(((Operation) operationIt.next()).getName());
- }
-
- operationName = getUniqueNameHelper("NewOperation", usedNames); //$NON-NLS-1$
-
- return operationName;
-}
-
-public static String getRequestOrResponse(MessageReference messageRef) {
- if (messageRef instanceof Input)
- {
- return "Request"; //$NON-NLS-1$
- }
- else if (messageRef instanceof Output)
- {
- return "Response"; //$NON-NLS-1$
- }
- else if (messageRef instanceof Fault)
- {
- return "_Fault"; //$NON-NLS-1$
- }
-
- return ""; //$NON-NLS-1$
-}
-
-public static String getFaultName(Operation operation) {
- String faultName = "fault"; //$NON-NLS-1$
- List nameList = new ArrayList();
- Iterator faultIt = operation.getEFaults().iterator();
- while (faultIt.hasNext()) {
- nameList.add(((Fault) faultIt.next()).getName());
- }
-
- faultName = getUniqueNameHelper(faultName, nameList);
-
- return faultName;
-}
-
-public static String getXSDElementName(String baseName, Object parent) {
- String elementName = ""; //$NON-NLS-1$
-
- if (parent instanceof XSDSchema) {
- elementName = getUniqueNameHelper(baseName, getUsedElementNames((XSDSchema) parent));
- }
- else if (parent instanceof XSDModelGroup) {
- List existingNames = new ArrayList();
- XSDModelGroup modelGroup = (XSDModelGroup) parent;
- Iterator modelGroupIt = modelGroup.getContents().iterator();
- while (modelGroupIt.hasNext()) {
- Object item = modelGroupIt.next();
- if (item instanceof XSDParticle) {
- XSDParticle existingParticle = (XSDParticle) item;
- if (existingParticle.getContent() instanceof XSDElementDeclaration) {
- existingNames.add(((XSDElementDeclaration) existingParticle.getContent()).getName());
- }
- }
- }
-
- elementName = getUniqueNameHelper(baseName, existingNames);
- }
-
- return elementName;
-}
-
-public static String getXSDComplexTypeName(String baseName, XSDSchema schema) {
- String typeName = ""; //$NON-NLS-1$
- List existingNames = new ArrayList();
-
- Iterator it = schema.getTypeDefinitions().iterator();
- while (it.hasNext()) {
- Object item = it.next();
- if (item instanceof XSDComplexTypeDefinition) {
- existingNames.add(((XSDComplexTypeDefinition) item).getName());
- }
- }
-
- typeName = getUniqueNameHelper(baseName, existingNames);
- return typeName;
-}
-
-private static List getUsedElementNames(XSDSchema xsdSchema) {
- List usedNames = new ArrayList();
- Iterator schemaIt = xsdSchema.getContents().iterator();
- while (schemaIt.hasNext()) {
- Object item = schemaIt.next();
- if (item instanceof XSDElementDeclaration) {
- usedNames.add(((XSDElementDeclaration) item).getName());
- }
- }
-
- return usedNames;
-}
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NodeAssociationManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NodeAssociationManager.java
deleted file mode 100644
index 01c0513a1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NodeAssociationManager.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.ui.internal.xsd.XSDNodeAssociationProvider;
-import org.eclipse.wst.wsdl.ui.internal.extensions.INodeAssociationProvider;
-import org.eclipse.wst.wsdl.ui.internal.extensions.WSDLNodeAssociationProvider;
-import org.eclipse.wst.xsd.ui.internal.adapters.CategoryAdapter;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class NodeAssociationManager
-{
- protected INodeAssociationProvider wsdlProvider;
- protected INodeAssociationProvider xsdProvider;
-
- public NodeAssociationManager()
- {
- wsdlProvider = new WSDLNodeAssociationProvider();
- xsdProvider = new XSDNodeAssociationProvider();
- }
-
- protected INodeAssociationProvider getAppicableProvider(Object object)
- {
- if (object instanceof XSDSchemaExtensibilityElement ||
- object instanceof XSDConcreteComponent ||
- object instanceof CategoryAdapter) {// ||
-// object instanceof Category) {
- return xsdProvider;
- }
-
- return wsdlProvider;
- }
-
-
- public Object getModelObjectForNode(Object rootObject, Element targetNode)
- {
- if (targetNode != null && targetNode.getParentNode() == null)
- {
- // The element was already removed from the DOM, common scenario during undo.
- // The parent element's reconciliation will take care of reconciling it.
- return null;
- }
-
- int currentIndex = 0;
-
- Element[] elementChain = getParentElementChain((Element)targetNode);
-
- INodeAssociationProvider p = getAppicableProvider(rootObject);
- if (p != null)
- {
- Node rootObjectNode = p.getNode(rootObject);
-
- while (currentIndex < elementChain.length)
- {
- Element e = elementChain[currentIndex];
- if (e == rootObjectNode)
- {
- currentIndex++;
- break;
- }
- currentIndex++;
- }
- }
-
- Object currentObject = rootObject;
- int end[] = new int[1];
-
- while (currentIndex < elementChain.length)
- {
- p = getAppicableProvider(currentObject);
- if (p != null)
- {
- end[0] = elementChain.length;
- currentObject = p.getModelObject(currentObject, elementChain, currentIndex, end);
-
- if (currentObject == null)
- {
- // failure
- break;
- }
- else
- {
- currentIndex = Math.max(end[0], currentIndex + 1);
- }
- }
- else
- {
- break;
- }
- }
-
- return (currentIndex == elementChain.length) ? currentObject : null;
- }
-
-
- public Node getNode(Object modelObject)
- {
- Node result = null;
- if (modelObject instanceof Node)
- {
- result = (Node)modelObject;
- }
- else
- {
- INodeAssociationProvider p = getAppicableProvider(modelObject);
- if (p != null)
- {
- result = p.getNode(modelObject);
- }
- }
- return result;
- }
-
- protected Element[] getParentElementChain(Element element)
- {
- List list = new ArrayList();
- while (element != null)
- {
- list.add(0, element);
- Node node = element.getParentNode();
- element = (node != null && node.getNodeType() == Node.ELEMENT_NODE) ? (Element)node : null;
- }
-
- int listSize = list.size();
- Element[] result = new Element[listSize];
- for (int i = 0; i < listSize; i++)
- {
- result[i] = (Element)list.get(i);
- }
- return result;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/OpenOnSelectionHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/OpenOnSelectionHelper.java
deleted file mode 100644
index 3b6531f49..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/OpenOnSelectionHelper.java
+++ /dev/null
@@ -1,326 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.lang.reflect.Method;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.part.FileEditorInput;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.internal.impl.ImportImpl;
-import org.eclipse.wst.wsdl.internal.util.WSDLSwitch;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDHyperlinkTargetLocator;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDPackage;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
-public class OpenOnSelectionHelper extends WSDLSwitch
-{
- Definition definition;
- Attr attr = null;
- Element element = null;
-
- public OpenOnSelectionHelper(Definition definition)
- {
- this.definition = definition;
- }
-
- public void openEditor(EObject eObject)
- {
- String[] array = computeSpecification(eObject);
- if (array != null)
- {
- openEditor(array[0], array[1]);
- }
- }
-
- public void openEditor(Node node)
- {
- String[] array = computeSpecification(node);
- if (array != null)
- {
- openEditor(array[0], array[1]);
- }
- }
-
- protected void openEditor(String resource, String spec)
- {
- String pattern = "platform:/resource"; //$NON-NLS-1$
- if (resource != null && resource.startsWith(pattern))
- {
- try
- {
- Path path = new Path(resource.substring(pattern.length()));
- IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
-
- IWorkbenchPage workbenchPage = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getActivePage();
- IEditorPart editorPart = workbenchPage.getActiveEditor();
-
- if (editorPart.getEditorInput() instanceof IFileEditorInput &&
- ((IFileEditorInput)editorPart.getEditorInput()).getFile().equals(file))
- {
- workbenchPage.getNavigationHistory().markLocation(editorPart);
- }
- else
- {
- try
- {
- if (resource.endsWith("xsd")) //$NON-NLS-1$
- {
- editorPart = workbenchPage.openEditor(new FileEditorInput(file), WSDLEditorPlugin.XSD_EDITOR_ID);
- }
- else
- {
- // Since we are already in the wsdleditor
- editorPart = workbenchPage.openEditor(new FileEditorInput(file), editorPart.getEditorSite().getId());
- }
- }
- catch (PartInitException initEx)
- {
- }
- }
-
- Class theClass = editorPart.getClass();
- Class[] methodArgs = { String.class };
- Method method = theClass.getMethod("openOnSelection", methodArgs); //$NON-NLS-1$
- Object args[] = { spec };
- method.invoke(editorPart, args);
- workbenchPage.getNavigationHistory().markLocation(editorPart);
- }
- catch (Exception e)
- {
- }
- }
- }
-
- public String[] computeSpecification(EObject eObject)
- {
- String[] result = null;
- Object referencedObject = doSwitch(eObject);
- if (referencedObject instanceof EObject)
- {
- EObject referencedEObject = (EObject)referencedObject;
- if (referencedEObject != eObject ||
- referencedEObject.eResource() != definition.eResource())
- {
-
- Resource resource = referencedEObject.eResource();
- if (resource != null)
- {
- result = new String[2];
- result[0] = resource.getURI().toString();
- result[1] = resource.getURIFragment(referencedEObject);
- }
- }
- }
- return result;
- }
-
- public String[] computeSpecification(Node node)
- {
- String[] result = null;
- switch (node.getNodeType())
- {
- case Node.ELEMENT_NODE :
- {
- element = (Element)node;
- break;
- }
- case Node.ATTRIBUTE_NODE :
- {
- attr = (Attr)node;
- element = attr.getOwnerElement();
- break;
- }
- case Node.TEXT_NODE :
- {
- Node parent = node.getParentNode();
- element = (parent instanceof Element) ? (Element)parent : null;
- break;
- }
- }
- if (element != null)
- {
- Object object = WSDLEditorUtil.getInstance().findModelObjectForElement(definition, element);
- if (object instanceof EObject)
- {
- result = computeSpecification((EObject)object);
- }
- }
- return result;
- }
-
- public Object caseBinding(Binding binding)
- {
- Object result = binding;
- if (isMatchingAttribute(WSDLConstants.TYPE_ATTRIBUTE))
- {
- result = binding.getEPortType();
- }
- return result;
- }
-
- public Object caseDefinition(Definition definition)
- {
- return definition;
- }
-
- public Object casePart(Part part)
- {
- Object result = part;
- if (attr != null)
- {
- if (isMatchingAttribute(WSDLConstants.TYPE_ATTRIBUTE))
- {
- result = part.getTypeDefinition();
- }
- else if (isMatchingAttribute(WSDLConstants.ELEMENT_ATTRIBUTE))
- {
- result = part.getElementDeclaration();
- }
- }
- else if (part.getEnclosingDefinition() == definition)
- {
- result = part.getTypeDefinition() != null ? (Object)part.getTypeDefinition() : (Object)part.getElementDeclaration();
- }
- return result;
- }
-
- public Object casePort(Port port)
- {
- Object result = port;
- if (isMatchingAttribute(WSDLConstants.BINDING_ATTRIBUTE))
- {
- result = port.getEBinding();
-
- }
- return result;
- }
-
- public Object caseFault(Fault fault)
- {
- Object result = fault;
- if (isMatchingAttribute(WSDLConstants.MESSAGE_ATTRIBUTE))
- {
- result = fault.getMessage();
- }
- return result;
- }
-
- public Object caseInput(Input input)
- {
- Object result = input;
- if (isMatchingAttribute(WSDLConstants.MESSAGE_ATTRIBUTE))
- {
- result = input.getMessage();
- }
- return result;
- }
-
- public Object caseOutput(Output output)
- {
- Object result = output;
-
- if (isMatchingAttribute(WSDLConstants.MESSAGE_ATTRIBUTE))
- {
- result = output.getMessage();
- }
- return result;
- }
-
- public Object caseImport(Import theImport)
- {
- Object result = null;
-
- // For now, look at the file extension. When bugzilla 118293 is fixed, look at
- // the Import's eDefinition and eSchema instead.
- Path importPath = new Path(theImport.getLocationURI());
- String extension = importPath.getFileExtension();
- if (extension.equalsIgnoreCase("xsd")) { //$NON-NLS-1$
- if (theImport.getESchema() == null) {
- ((ImportImpl)theImport).importDefinitionOrSchema();
- }
-
- result = theImport.getESchema();
- }
- else if (extension.equalsIgnoreCase("wsdl")) { //$NON-NLS-1$
- if (theImport.getEDefinition() == null) {
- ((ImportImpl)theImport).importDefinitionOrSchema();
- }
-
- result = theImport.getEDefinition();
- }
-
-
-// if (theImport.getESchema() != null) {
-// result = theImport.getESchema();
-// }
-// else if (theImport.getEDefinition() != null) {
-// result = theImport.getEDefinition();
-// }
-// else {
-// // Need to resolve imports because the model doesn't automatically
-// // do it for us
-// ((ImportImpl)theImport).importDefinitionOrSchema();
-// result = theImport.getESchema();
-// }
-
- return result;
- }
-
- public Object caseWSDLElement(WSDLElement wsdlElement)
- {
- return wsdlElement;
- }
-
- private boolean isMatchingAttribute(String value)
- {
- return attr != null && value.equals(attr.getName());
- }
-
- public Object defaultCase(EObject object)
- {
- EClass theEClass = object.eClass();
-
- if (theEClass.eContainer() == XSDPackage.eINSTANCE)
- {
- // Handle navigation between inline schema components.
-
- XSDHyperlinkTargetLocator xsdHyperlinkTargetLocator = new XSDHyperlinkTargetLocator();
- String attributeName = attr != null ? attr.getName(): null;
- return xsdHyperlinkTargetLocator.locate((XSDConcreteComponent) object, attributeName);
- }
-
- return super.defaultCase(object);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ReferenceEditManagerHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ReferenceEditManagerHelper.java
deleted file mode 100644
index 63120cfcc..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ReferenceEditManagerHelper.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Binding;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11EndPoint;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.edit.W11BindingReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.W11InterfaceReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.W11MessageReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDElementReferenceEditManager;
-import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDTypeReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDElementReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDTypeReferenceEditManager;
-
-public class ReferenceEditManagerHelper {
-
-
- public static ComponentReferenceEditManager getBindingReferenceEditManager(IASDObject asdObject) {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- if (page.getActiveEditor().getAdapter(W11InterfaceReferenceEditManager.class) != null) {
- return (ComponentReferenceEditManager) page.getActiveEditor().getAdapter(W11BindingReferenceEditManager.class);
- }
- else {
- IEditorInput input = page.getActiveEditor().getEditorInput();
- if (input instanceof IFileEditorInput && asdObject instanceof W11EndPoint) {
- WSDLElement element = (WSDLElement) ((W11EndPoint) asdObject).getTarget();
- IDescription description = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(element.getEnclosingDefinition());
- return new W11BindingReferenceEditManager((W11Description) description, ((IFileEditorInput) input).getFile());
- }
- }
-
- return null;
- }
-
- public static ComponentReferenceEditManager getInterfaceReferenceEditManager(IASDObject asdObject) {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- if (page.getActiveEditor().getAdapter(W11InterfaceReferenceEditManager.class) != null) {
- return (ComponentReferenceEditManager) page.getActiveEditor().getAdapter(W11InterfaceReferenceEditManager.class);
- }
- else {
- IEditorInput input = page.getActiveEditor().getEditorInput();
- if (input instanceof IFileEditorInput && asdObject instanceof W11Binding) {
- WSDLElement element = (WSDLElement) ((W11Binding) asdObject ).getTarget();
- IDescription description = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(element.getEnclosingDefinition());
- return new W11InterfaceReferenceEditManager((W11Description) description, ((IFileEditorInput) input).getFile());
- }
- }
-
- return null;
- }
-
- public static ComponentReferenceEditManager getMessageReferenceEditManager(IASDObject asdObject) {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- if (page.getActiveEditor().getAdapter(W11MessageReferenceEditManager.class) != null) {
- return (ComponentReferenceEditManager) page.getActiveEditor().getAdapter(W11MessageReferenceEditManager.class);
- }
- else {
- IEditorInput input = page.getActiveEditor().getEditorInput();
- if (input instanceof IFileEditorInput && asdObject instanceof W11MessageReference) {
- WSDLElement element = (WSDLElement) ((W11MessageReference) asdObject).getTarget();
- IDescription description = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(element.getEnclosingDefinition());
- return new W11MessageReferenceEditManager((W11Description) description, ((IFileEditorInput) input).getFile());
- }
- }
-
- return null;
- }
-
- public static ComponentReferenceEditManager getXSDElementReferenceEditManager(IASDObject asdObject) {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- if (page.getActiveEditor().getAdapter(XSDElementReferenceEditManager.class) != null) {
- return (ComponentReferenceEditManager) page.getActiveEditor().getAdapter(XSDElementReferenceEditManager.class);
- }
- else {
- IEditorInput input = page.getActiveEditor().getEditorInput();
- if (input instanceof IFileEditorInput && asdObject instanceof W11ParameterForPart) {
- WSDLElement element = (WSDLElement) ((W11ParameterForPart) asdObject).getTarget();
- IDescription description = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(element.getEnclosingDefinition());
- return new WSDLXSDElementReferenceEditManager(((IFileEditorInput) input).getFile(), null, description);
- }
- }
-
- return null;
- }
-
- public static ComponentReferenceEditManager getXSDTypeReferenceEditManager(IASDObject asdObject) {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- if (page.getActiveEditor().getAdapter(XSDTypeReferenceEditManager.class) != null) {
- return (ComponentReferenceEditManager) page.getActiveEditor().getAdapter(XSDTypeReferenceEditManager.class);
- }
- else {
- IEditorInput input = page.getActiveEditor().getEditorInput();
- if (input instanceof IFileEditorInput && asdObject instanceof IParameter && asdObject instanceof WSDLBaseAdapter) {
- WSDLElement element = (WSDLElement) ((WSDLBaseAdapter) asdObject).getTarget();
- IDescription description = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(element.getEnclosingDefinition());
- return new WSDLXSDTypeReferenceEditManager(((IFileEditorInput) input).getFile(), null, description);
- }
- }
-
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ValidateHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ValidateHelper.java
deleted file mode 100644
index 25d9a633a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ValidateHelper.java
+++ /dev/null
@@ -1,405 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import org.eclipse.wst.common.ui.internal.UIPlugin;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-
-public class ValidateHelper
-{
- // XML Lang can have many different valid formats
- // 1) xx ie. en, fr, de
- // 2) xx-xx ie. en-US, en-FR
- // 3) I-xx ie. I-en
- // 4) X-xx ie. X-en
- public static String checkXMLLang(String lang)
- {
- if (lang.length() == 0)
- return null;
-
- if (lang.length() == 1)
- {
- char ch0 = lang.charAt(0);
- if ((ch0 >= 'a' && ch0 <= 'z') || (ch0 >= 'A' && ch0 <= 'Z'))
- return UIPlugin.getResourceString("_WARN_LANG_TOO_SHORT");
- else
- return UIPlugin.getResourceString("_WARN_NAME_INVALID_CHAR") + ch0 +
- UIPlugin.getResourceString("_UI_NAME_INVALID_CHAR_END");
- }
-
- int offset;
-
- char ch0 = lang.charAt(0);
- if (lang.charAt(1) == '-')
- {
- if (ch0 == 'i' || ch0 == 'I' || ch0 == 'x' || ch0 == 'X')
- offset = 1;
- else
- return UIPlugin.getResourceString("_WARN_NAME_INVALID_CHAR") + ch0 +
- UIPlugin.getResourceString("_UI_NAME_INVALID_CHAR_END");
- }
- else
- {
- char ch1 = lang.charAt(1);
- if ((ch0 >= 'a' && ch0 <= 'z') || (ch0 >= 'A' && ch0 <= 'Z'))
- if ((ch1 >= 'a' && ch1 <= 'z') || (ch1 >= 'A' && ch1 <= 'Z'))
- offset = 2;
- else
- return UIPlugin.getResourceString("_WARN_NAME_INVALID_CHAR") + ch1 +
- UIPlugin.getResourceString("_UI_NAME_INVALID_CHAR_END");
- else
- return UIPlugin.getResourceString("_WARN_NAME_INVALID_CHAR") + ch0 +
- UIPlugin.getResourceString("_UI_NAME_INVALID_CHAR_END");
- }
-
- if (lang.length() > offset)
- {
- char ch = lang.charAt(offset++);
- if (ch != '-')
- return UIPlugin.getResourceString("_WARN_HYPHEN_NEEDED") + Integer.toString(offset-1);
- else
- {
- while (true)
- {
- if (ch == '-')
- {
- if (lang.length() == offset)
- return UIPlugin.getResourceString("_WARN_HYPHEN_ENDING");
-
- ch = lang.charAt(offset++);
- if ((ch < 'a' || ch > 'z') && (ch < 'A' || ch > 'Z'))
- return UIPlugin.getResourceString("_WARN_NAME_INVALID_CHAR") + ch +
- UIPlugin.getResourceString("_UI_NAME_INVALID_CHAR_END");
-
- if (lang.length() == offset)
- return null;
- }
- else if ((ch < 'a' || ch > 'z') && (ch < 'A' || ch > 'Z'))
- return UIPlugin.getResourceString("_WARN_NAME_INVALID_CHAR") + ch +
- UIPlugin.getResourceString("_UI_NAME_INVALID_CHAR_END");
- else if (lang.length() == offset)
- return null;
- ch = lang.charAt(offset++);
- }
- }
- }
-
- return null;
- }
-
- /**
- * Check to see if the min value is correct.
- * A minimum value must be non-negative and < maxValue
- */
- public static String isValidMinValue(String minValue, String maxValue)
- {
- int min;
-
- if (minValue == null || minValue.equals("")) //$NON-NLS-1$
- {
- // Nothing to check
- return null;
- }
-
- try
- {
- min = Integer.parseInt(minValue);
- }
- catch (NumberFormatException ex)
- {
- return UIPlugin.getResourceString("_ERROR_MIN_NOT_POSITIVE");
- }
-
- if (min < 0)
- {
- return UIPlugin.getResourceString("_ERROR_MIN_NOT_POSITIVE");
- }
-
- try
- {
- int max = Integer.parseInt(maxValue);
- if (min > max)
- {
- return UIPlugin.getResourceString("_ERROR_MIN_VALUE");
- }
- }
- catch (NumberFormatException ex)
- {
- // Max is not accurate. Don't compare it.
- }
- return null;
- }
-
- /**
- * Check to see if the max value is correct.
- * A maximum value must be non-negative and > minValue
- *
- * It can also be set the string "unbounded"
- */
- public static String isValidMaxValue(String maxValue, String minValue)
- {
- int max;
-
- if (maxValue == null || maxValue.equals("")) //$NON-NLS-1$
- {
- // Nothing to check
- return null;
- }
-
- if (maxValue.equals("unbounded")) //$NON-NLS-1$
- {
- return null;
- }
-
- try
- {
- max = Integer.parseInt(maxValue);
- }
- catch (NumberFormatException ex)
- {
- return UIPlugin.getResourceString("_ERROR_MAX_NOT_POSITIVE");
- }
-
- if (max < 0)
- {
- return UIPlugin.getResourceString("_ERROR_MAX_NOT_POSITIVE");
- }
-
- try
- {
- int min = Integer.parseInt(minValue);
- if (max < min)
- {
- return UIPlugin.getResourceString("_ERROR_MAX_VALUE");
- }
- }
- catch (NumberFormatException ex)
- {
- // Min is not accurate. Don't compare it.
- }
- return null;
- }
-
- /**
- * Validate the name conforms to the XML spec
- */
- public static String checkXMLName(String name, boolean allowEntityRef)
- {
- int length = name.length();
- char character;
-
- if (length == 0)
- {
- return Messages.getString("_WARN_NAME_MUST_CONTAIN_AT_LEAST_ONE_CHAR"); //$NON-NLS-1$
- }
-
- if (name.indexOf(" ") >= 0) //$NON-NLS-1$
- {
- return(Messages.getString("_WARN_NAME_HAS_SPACE")); //$NON-NLS-1$
- }
-
- int index = 0;
- if (length > 0 &&
- name.charAt(0) == '%')
- {
- if (allowEntityRef)
- {
- // skip over the first character
- index++;
- } // end of if ()
- else
- {
- return Messages.getString("_WARN_NAME_INVALID_FIRST"); //$NON-NLS-1$
- } // end of else
- }
-
- for(; index < length; index++)
- {
- character = name.charAt(index);
-
- if(index == 0)
- {
- if( !isXMLNameStart(character) )
- {
- return Messages.getString("_WARN_NAME_INVALID_FIRST"); //$NON-NLS-1$
- }
- }
- else
- {
- if(!isXMLNameChar(character))
- {
- if ((index == length - 1) && //check if the last character is a ';'
- allowEntityRef &&
- character == ';')
- {
- // we're still ok then
- continue;
- } // end of if ()
- else
- {
- return Messages.getString("_WARN_NAME_INVALID_CHAR") + character + //$NON-NLS-1$
- Messages.getString("_UI_NAME_INVALID_CHAR_END"); //$NON-NLS-1$
- } // end of else
- }
- }
- }
- return null;
- }
-
- /**
- * Validate the name conforms to the XML spec
- */
- public static String checkXMLName(String name)
- {
- return checkXMLName(name, false);
- }
-
- /**
- * isXMLNameStart
- **/
- private static boolean isXMLNameStart(char ch)
- {
- return (ch == '_' || ch == ':' || Character.isLetter(ch) );
- }
-
- /**
- * isXMLNameChar
- **/
- private static boolean isXMLNameChar(char ch)
- {
- return (Character.isLetterOrDigit(ch) || ch == '.' || ch == '-' || ch == '_' || ch == ':');
- }
-
- /**
- * isXMLPrefixStart
- **/
-// private static boolean isXMLPrefixStart(char ch)
-// {
-// return (ch == '_' || Character.isLetter(ch) );
-// }
-
- /**
- * isXMLPrefixChar
- **/
- private static boolean isXMLPrefixChar(char ch)
- {
- return (Character.isLetterOrDigit(ch) || ch == '.' || ch == '-' || ch == '_');
- }
-
- /**
- * parseElementText
- */
- public static String parseElementText(String text)
- {
- if (text.indexOf('<') != -1 || text.indexOf('>') != -1)
- {
- return UIPlugin.getResourceString("_WARN_ELEMENT_INVALID_CHAR");
- }
- return null;
- }
-
- /**
- * parseAttributeValue
- */
- public static String parseAttributeValue(String value)
- {
- if (value.indexOf('"') != -1 || value.indexOf('<') != -1 || value.indexOf('>') != -1)
- {
- return UIPlugin.getResourceString("_WARN_ATTRIBUTE_INVALID_CHAR");
-
- }
- return null;
- }
-
- /**
- * parseADATASection
- */
- public static String parseCDATASection(String section)
- {
- if (section.indexOf("]]>") != -1) //$NON-NLS-1$
- {
- return UIPlugin.getResourceString("_WARN_CDATA_INVALID_STRING");
-
- }
- return null;
- }
-
- /**
- * parseProcessiingInstruction
- */
- public static String parseProcessingInstructionData(String data)
- {
- if (data.indexOf("?>") != -1) //$NON-NLS-1$
- {
- return UIPlugin.getResourceString("_WARN_PROCESSING_INVALID_STRING");
-
- }
- return null;
- }
-
- /**
- * parseProcessingInstructionTarget
- */
- public static String parseProcessingInstructionTarget(String target)
- {
- if (target.length() == 3 && (target.indexOf("XML") != -1 || target.indexOf("XMl") != -1 || target.indexOf("XmL") != -1 || //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- target.indexOf("xML") != -1 || target.indexOf("Xml") != -1 || target.indexOf("xMl") != -1 || //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- target.indexOf("xmL") != -1 || target.indexOf("xml") != -1)) //$NON-NLS-1$ //$NON-NLS-2$
- {
- return UIPlugin.getResourceString("_WARN_PROCESSING_TARGET_INVALID_STRING");
-
- }
- return checkXMLName(target);
- }
-
- /**
- * parsComment
- */
- public static String parseComment(String comment)
- {
- if (comment.indexOf("--") != -1) //$NON-NLS-1$
- {
- return UIPlugin.getResourceString("_WARN_COMMENT_INVALID_STRING");
- }
- return null;
- }
-
- /**
- * Validate the prefix conforms to the XML spec
- */
- public static String checkXMLPrefix(String prefix)
- {
- int length = prefix.length();
- if (length == 0)
- {
- return null;
- }
- char character;
-
- if (prefix.indexOf(" ") >= 0) //$NON-NLS-1$
- {
- return(UIPlugin.getResourceString("_WARN_PREFIX_HAS_SPACE"));
- }
-
- for(int index = 0; index < length; index++)
- {
- character = prefix.charAt(index);
-
- if(!isXMLPrefixChar(character))
- {
- return UIPlugin.getString("_WARN_PREFIX_INVALID_CHAR", String.valueOf(character));
- }
- }
- return null;
- }
-
-}
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLAdapterFactoryHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLAdapterFactoryHelper.java
deleted file mode 100644
index 7874c27aa..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLAdapterFactoryHelper.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLAdapterFactory;
-
-public class WSDLAdapterFactoryHelper {
- private static WSDLAdapterFactoryHelper instance;
-
- private AdapterFactory adapterFactory;
-
- public static WSDLAdapterFactoryHelper getInstance() {
- if (instance == null) {
- instance = new WSDLAdapterFactoryHelper();
- }
-
- return instance;
- }
-
- public Adapter adapt(Notifier target) {
- AdapterFactory factory = getWSDLAdapterFactory();
- return factory.adapt(target, factory);
- }
-
- public AdapterFactory getWSDLAdapterFactory() {
- if (adapterFactory == null) {
- adapterFactory = new WSDLAdapterFactory();
- }
- return adapterFactory;
- }
-
- public void setWSDLAdapterFactory(AdapterFactory factory) {
- adapterFactory = factory;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLEditorUtil.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLEditorUtil.java
deleted file mode 100644
index 5446fdcb9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLEditorUtil.java
+++ /dev/null
@@ -1,294 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.io.InputStream;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-import javax.xml.transform.TransformerFactory;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.ui.internal.extensions.ExtensibleTypeSystemProvider;
-import org.eclipse.wst.wsdl.ui.internal.extensions.ITypeSystemProvider;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class WSDLEditorUtil extends WSDLConstants
-{
- protected static WSDLEditorUtil instance;
- protected NodeAssociationManager nodeAssociationManager = new NodeAssociationManager();
-
- protected HashMap elementNameToTypeMap = new HashMap();
-
- public static final int ELEMENT = 14;
- public static final int TYPE = 15;
-
- public static WSDLEditorUtil getInstance()
- {
- if (instance == null)
- {
- instance = new WSDLEditorUtil();
- }
- return instance;
- }
-
- public WSDLEditorUtil()
- {
- elementNameToTypeMap.put(BINDING_ELEMENT_TAG, new Integer(BINDING));
- elementNameToTypeMap.put(DEFINITION_ELEMENT_TAG, new Integer(DEFINITION));
- elementNameToTypeMap.put(DOCUMENTATION_ELEMENT_TAG, new Integer(DOCUMENTATION));
- elementNameToTypeMap.put(FAULT_ELEMENT_TAG, new Integer(FAULT));
- elementNameToTypeMap.put(IMPORT_ELEMENT_TAG, new Integer(IMPORT));
- elementNameToTypeMap.put(INPUT_ELEMENT_TAG, new Integer(INPUT));
- elementNameToTypeMap.put(MESSAGE_ELEMENT_TAG, new Integer(MESSAGE));
- elementNameToTypeMap.put(OPERATION_ELEMENT_TAG, new Integer(OPERATION));
- elementNameToTypeMap.put(OUTPUT_ELEMENT_TAG, new Integer(OUTPUT));
- elementNameToTypeMap.put(PART_ELEMENT_TAG, new Integer(PART));
- elementNameToTypeMap.put(PORT_ELEMENT_TAG, new Integer(PORT));
- elementNameToTypeMap.put(PORT_TYPE_ELEMENT_TAG, new Integer(PORT_TYPE));
- elementNameToTypeMap.put(SERVICE_ELEMENT_TAG, new Integer(SERVICE));
- elementNameToTypeMap.put(TYPES_ELEMENT_TAG, new Integer(TYPES));
- }
-
- public int getWSDLType(Element element)
- {
- int result = -1;
-
- Integer integer = (Integer)elementNameToTypeMap.get(element.getLocalName());
- if (integer != null)
- {
- result = integer.intValue();
- }
- return result;
- }
-
- protected List getParentElementChain(Element element)
- {
- List list = new ArrayList();
- while (element != null)
- {
- list.add(0, element);
- Node node = element.getParentNode();
- element = (node != null && node.getNodeType() == Node.ELEMENT_NODE) ? (Element)node : null;
- }
- return list;
- }
-
- public Object findModelObjectForElement(Definition definition, Element targetElement)
- {
- Object o = nodeAssociationManager.getModelObjectForNode(definition, targetElement);
- return o;
- }
-
- public Element getElementForObject(Object o)
- {
- return ((org.eclipse.wst.wsdl.WSDLElement)o).getElement();
- }
-
- public Node getNodeForObject(Object o)
- {
- return nodeAssociationManager.getNode(o);
- }
-
- // Provide a mapping between Definitions and ITypeSystemProviders
- private Hashtable typeSystemProviders = new Hashtable();
- private ITypeSystemProvider typeSystemProvider;
-
- public ITypeSystemProvider getTypeSystemProvider(Definition definition)
- {
- if (typeSystemProvider == null) {
- typeSystemProvider = new ExtensibleTypeSystemProvider();
- }
- return typeSystemProvider;
- }
-
- public void setTypeSystemProvider(Definition definition, ITypeSystemProvider typeSystemProvider)
- {
- // typeSystemProviders.put(definition,typeSystemProvider);
- }
-
- public static QName createQName(Definition definition, String prefixedName)
- {
- QName qname = null;
- if (prefixedName != null)
- {
- int index = prefixedName.indexOf(":"); //$NON-NLS-1$
- String prefix = (index == -1) ? null : prefixedName.substring(0, index);
- if (prefix != null)
- {
- String namespace = definition.getNamespace(prefix);
- if (namespace != null)
- {
- String localPart = prefixedName.substring(index + 1);
- qname = new QName(namespace, localPart);
- }
- }
- }
- return qname;
- }
-
- public List getExtensibilityElementNodes(ExtensibleElement extensibleElement)
- {
- // For Types, I need to get all the schemas
- if (extensibleElement instanceof Types)
- {
- Types xsdEE = (Types)extensibleElement;
- return xsdEE.getSchemas();
- }
- /*
- List childList = new ArrayList();
-
- Element parentElement = getElementForObject(extensibleElement);
- if (parentElement != null)
- {
-
- NodeList nodeList = parentElement.getChildNodes();
- int nodeListLength = nodeList.getLength();
- for (int i = 0; i < nodeListLength; i++)
- {
- childList.add(nodeList.item(i));
- }
- HashMap extensibleElementTable = new HashMap();
- for (Iterator i = extensibleElement.getEExtensibilityElements().iterator(); i.hasNext();)
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement)i.next();
- if (extensibilityElement != null)
- {
- Element element = getElementForObject(extensibilityElement);
- if (element != null)
- {
- extensibleElementTable.put(element, element);
- }
- }
- }
-
- for (Iterator i = childList.iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (extensibleElementTable.get(o) == null)
- {
- i.remove();
- }
- }
- }
- return childList;
- */
- return extensibleElement.getEExtensibilityElements();
- }
-
- /*
- * Returns a list of 'children' of the given object model (WSDLElement).
- */
- public static List getModelGraphViewChildren(Object object) {
- List childList = new ArrayList();
-
- if (object instanceof PortType) {
- PortType portType = (PortType) object;
- childList.addAll(portType.getOperations());
- }
- else if (object instanceof Operation) {
- Operation operation = (Operation) object;
-
- if (operation.getEInput() != null) {
- childList.add(operation.getEInput());
- }
- if (operation.getEOutput() != null) {
- childList.add(operation.getEOutput());
- }
- childList.addAll(operation.getFaults().values());
- }
- else if (object instanceof MessageReference) {
- MessageReference messageReference = (MessageReference) object;
- childList.add(messageReference.getEMessage());
- }
-
- return childList;
- }
-
- public static String getTargetNamespaceURIForSchema(String uri)
- {
- String result = null;
- try
- {
- URL url = new URL(uri);
- InputStream inputStream = url.openStream();
- result = WSDLEditorUtil.getTargetNamespaceURIForSchema(inputStream);
- }
- catch (Exception e)
- {
- }
- return result;
- }
-
- public static String getTargetNamespaceURIForSchema(InputStream input)
- {
- TargetNamespaceURIContentHandler handler = new TargetNamespaceURIContentHandler();
- ClassLoader prevClassLoader = Thread.currentThread().getContextClassLoader();
- Thread.currentThread().setContextClassLoader(WSDLEditorUtil.class.getClassLoader());
- // Line below is a hack to get XMLReader working
- TransformerFactory transformerFactory = TransformerFactory.newInstance();
- try
- {
- XMLReader reader = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
- reader.setContentHandler(handler);
- reader.parse(new InputSource(input));
- }
- catch (Exception e)
- {
- }
- finally
- {
- Thread.currentThread().setContextClassLoader(prevClassLoader);
- }
- return handler.targetNamespaceURI;
- }
-
- protected static class TargetNamespaceURIContentHandler extends DefaultHandler
- {
- public String targetNamespaceURI;
-
- public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- {
- if (localName.equals("schema") || localName.equals("definitions"))
- {
- int nAttributes = attributes.getLength();
- for (int i = 0; i < nAttributes; i++)
- {
- if (attributes.getLocalName(i).equals("targetNamespace"))
- {
- targetNamespaceURI = attributes.getValue(i);
- break;
- }
- }
- }
- // todo there's a ice way to do this I'm sure
- // here I intentially cause an exception...
- String x = null;
- x.length();
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLResourceUtil.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLResourceUtil.java
deleted file mode 100644
index 108c16337..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLResourceUtil.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.util.Iterator;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverPlugin;
-import org.eclipse.wst.common.uriresolver.internal.util.URIHelper;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl;
-import org.eclipse.wst.wsdl.internal.util.WSDLModelLocator;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDSchemaDirective;
-import org.w3c.dom.Element;
-
-
-public class WSDLResourceUtil
-{
- public static void reloadDirectives(Definition definition)
- {
- Resource rootResource = definition.eResource();
- ResourceSet resourceSet = rootResource.getResourceSet();
-
- for (Iterator i = resourceSet.getResources().iterator(); i.hasNext();)
- {
- Resource resource = (Resource) i.next();
- if (resource != rootResource)
- {
- // TODO... consider unloading the resources
- // resource.unload();
- i.remove();
- }
- }
- ReloadDirectiveVisitor visitor = new ReloadDirectiveVisitor();
- visitor.visitDefinition(definition);
- }
-
- static class ReloadDirectiveVisitor
- {
-
- public void visitImport(Import theImport)
- {
- // force the import to reload
- Element element = WSDLEditorUtil.getInstance().getElementForObject(theImport);
- if (element != null)
- {
- ((WSDLElementImpl)theImport).elementChanged(element);
- }
- }
-
- public void visitXSDSchemaDirective(XSDSchemaDirective directive)
- {
- // force the schema directive to reload
- Element element = directive.getElement();
- if (element != null)
- {
- directive.elementAttributesChanged(element);
- }
- }
-
- public void visitDefinition(Definition definition)
- {
- if (definition != null)
- {
- for (Iterator i = definition.getEImports().iterator(); i.hasNext();)
- {
- visitImport((Import) i.next());
- }
- Types types = definition.getETypes();
- if (types != null)
- {
-
- for (Iterator i = types.getEExtensibilityElements().iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (o instanceof XSDSchemaExtensibilityElement)
- {
- XSDSchemaExtensibilityElement e = (XSDSchemaExtensibilityElement) o;
- if (e.getSchema() != null)
- {
- visitSchema(e.getSchema());
- }
- }
- }
- }
- }
- }
-
- public void visitSchema(XSDSchema schema)
- {
- for (Iterator i = schema.getContents().iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (o instanceof XSDSchemaDirective)
- {
- visitXSDSchemaDirective((XSDSchemaDirective) o);
- }
- }
- }
- }
-
-
- public static class InternalURIResolver implements WSDLModelLocator
- {
- //IdResolver idResolver = new IdResolverImpl(null, true);
- org.eclipse.wst.common.uriresolver.internal.provisional.URIResolver resolver = URIResolverPlugin.createResolver();
-
- InternalURIResolver()
- {
- }
-
- public String resolveURI(String baseLocation, String namespace, String location)
- {
- String resolvedLocation = resolver.resolve(baseLocation, namespace, location);
-
- // here's an ugly hack... Platform.resolve() returns Windows files with the pattern "file:D:/hello.xsd"
- // but EMF's URI class expects a pattern like this "file:///D:/hello.xsd"
- //
- if (resolvedLocation != null)
- {
- String fileProtocol = "file:"; //$NON-NLS-1$
- if (resolvedLocation.startsWith(fileProtocol) && !resolvedLocation.startsWith(fileProtocol + "/")) //$NON-NLS-1$
- {
- resolvedLocation = resolvedLocation.substring(fileProtocol.length());
- }
- resolvedLocation = URIHelper.addImpliedFileProtocol(resolvedLocation);
- }
- // end ugly hack
- return resolvedLocation;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLSetComponentHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLSetComponentHelper.java
deleted file mode 100644
index d97c5ae13..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLSetComponentHelper.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.common.uriresolver.internal.util.URIHelper;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.internal.impl.ImportImpl;
-import org.eclipse.wst.wsdl.ui.internal.actions.AddElementDeclarationAction;
-import org.eclipse.wst.wsdl.ui.internal.actions.AddImportAction;
-import org.eclipse.wst.wsdl.ui.internal.actions.AddWSISchemaImportAction;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.xsd.XSDImport;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDSchemaContent;
-
-public class WSDLSetComponentHelper {
- private Definition definition;
- private IFile currentIFile;
-
- public WSDLSetComponentHelper(IFile iFile, Definition definition) {
- currentIFile = iFile;
- this.definition = definition;
- }
-
- public void setWSDLComponent(WSDLElement inputElement, String property, ComponentSpecification spec) {
- addImportIfNecessary(spec);
- String componentObject = getPrefixedComponentName(spec);
-
- org.w3c.dom.Element wsdlElement = inputElement.getElement();
-
- wsdlElement.setAttribute(property, componentObject); //$NON-NLS-1$
- }
-
- public void setXSDTypeComponent(Part part, ComponentSpecification spec) {
- if (spec.getName() != null && spec.getQualifier() != null) {
- addImportIfNecessary(spec);
- }
- String componentObject = getPrefixedComponentName(spec);
-
- ComponentReferenceUtil.setComponentReference((Part) part, true, componentObject);
- }
-
- public void setXSDElementComponent(Part part, ComponentSpecification spec) {
- addImportIfNecessary(spec);
- String componentObject = getPrefixedComponentName(spec);
-
- ComponentReferenceUtil.setComponentReference((Part) part, false, componentObject);
- }
-
- /*
- * Return the prefixed component name described by the given
- * ComponentSpecification object.
- */
- public String getPrefixedComponentName(ComponentSpecification spec) {
- String name = (String) spec.getName();
- List prefixes = getPrefixes(definition, spec.getQualifier());
- if (prefixes.size() > 0) {
- name = prefixes.get(0) + ":" + name; //$NON-NLS-1$
- }
-
- return name;
- }
-
- private List getPrefixes(Definition definition, String namespace) {
- List list = new ArrayList();
- Map map = definition.getNamespaces();
- for (Iterator i = map.keySet().iterator(); i.hasNext();) {
- String prefix = (String) i.next();
- String theNamespace = (String) map.get(prefix);
- if (theNamespace != null && theNamespace.equals(namespace)) {
- list.add(prefix);
- }
- }
- return list;
- }
-
-
- private void addImportIfNecessary(ComponentSpecification spec) {
- boolean foundMatch = false;
-
- // Check itself
- Path currentFileLocation = new Path(currentIFile.getLocation().toString());
- if (spec.getFile() == null || currentFileLocation.equals(spec.getFile().getLocation())) {
- // if the ComponentSpecification's getFile() returns null, forget about adding necessary imports
- foundMatch = true;
- }
-
- // Check regular Imports
- if (!foundMatch) {
- Iterator importsIt = definition.getEImports().iterator();
-
- while (importsIt.hasNext()) {
- String importLocation = ""; //$NON-NLS-1$
- ImportImpl importItem = (ImportImpl) importsIt.next();
- importItem.importDefinitionOrSchema();
-
- if (importItem.getESchema() != null) {
- XSDSchema schema = importItem.getESchema();
- importLocation = getNormalizedLocation(schema.getSchemaLocation());
- }
- else {
- Definition importDefinition = importItem.getEDefinition();
- importLocation = getNormalizedLocation(importDefinition.getLocation());
- }
-
- if (spec.getFile().getLocation().equals(new Path(importLocation))) {
- foundMatch = true;
- break;
- }
- }
- }
-
- // Check inline Schemas
- if (!foundMatch) {
- List imports = new ArrayList();
-
- if (definition.getETypes() != null) {
- Iterator it = definition.getETypes().getEExtensibilityElements().iterator();
- while (it.hasNext()) {
- XSDSchemaExtensibilityElement eeElement = (XSDSchemaExtensibilityElement) it.next();
- XSDSchema schema = eeElement.getSchema();
- if (schema.getTargetNamespace() == null || schema.getTargetNamespace().equals("")) { //$NON-NLS-1$
- Iterator contents = schema.getContents().iterator();
- while (contents.hasNext()) {
- XSDSchemaContent content = (XSDSchemaContent) contents.next();
- if (content instanceof XSDImport) {
- imports.add(content);
- }
- }
- }
- }
- }
-
- Iterator importIt = imports.iterator();
- while (importIt.hasNext()) {
- XSDImport importItem = (XSDImport) importIt.next();
- XSDSchema resolvedSchema = importItem.getResolvedSchema();
- String resolvedString = resolvedSchema.getSchemaLocation();
- String importLocation = getNormalizedLocation(resolvedString);
-
- if (spec.getFile().getLocation().equals(new Path(importLocation))) {
- foundMatch = true;
- break;
- }
- }
- }
-
- if (!foundMatch) {
- boolean wsiStyleImport = isXSDSchemaFile(spec);
- if (wsiStyleImport) {
- AddElementDeclarationAction action = new AddElementDeclarationAction(definition, spec.getQualifier(), "xsd"); //$NON-NLS-1$
- action.run();
-
- String location = URIHelper.getRelativeURI(spec.getFile().getLocation(), currentIFile.getLocation());
- AddWSISchemaImportAction addImport = new AddWSISchemaImportAction(definition, spec.getQualifier(), location);
- addImport.run();
- }
- else {
- String newSelectedFileLoc = spec.getFile().getLocation().toOSString();
- String currentFileLoc = getNormalizedLocation(definition.getLocation());
- String relativeLoc = ComponentReferenceUtil.computeRelativeURI(newSelectedFileLoc, currentFileLoc, true);
-
- org.w3c.dom.Element definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
- String prefix = definition.getPrefix(WSDLConstants.WSDL_NAMESPACE_URI);
- String namespace = spec.getQualifier();
-
- AddImportAction addImportAction = new AddImportAction(null, definition, definitionElement, prefix, namespace, relativeLoc);
- addImportAction.run();
-
- String uniquePrefix = getUniquePrefix(definition, prefix);
- definitionElement.setAttribute("xmlns:" + uniquePrefix, namespace); //$NON-NLS-1$
- }
- }
- }
- /*
- * Try to determine if the passed in ComponentSpecification refers to
- * an XSD or WSDL file. If it's an XSD, return true.
- */
- private boolean isXSDSchemaFile(ComponentSpecification spec) {
- String fileLocation = spec.getFile().getLocation().toOSString();
- int periodIndex = fileLocation.lastIndexOf("."); //$NON-NLS-1$
-
- if (periodIndex > 0) {
- String extension = fileLocation.substring(periodIndex + 1);
- if (extension.equalsIgnoreCase("xsd")) { //$NON-NLS-1$
- return true;
- }
- }
-
- return false;
- }
-
- private String getUniquePrefix(Definition definition, String initPrefix) {
- String uniquePrefix;
- Map map = definition.getNamespaces();
-
- if (definition.getNamespace(initPrefix) == null) {
- uniquePrefix = initPrefix;
- }
- else {// if used, then try to create a unique one
- String tempPrefix = initPrefix;
- int i = 1;
- while(map.containsKey(tempPrefix + i)) {
- i++;
- }
- uniquePrefix = tempPrefix + i;
- }
- return uniquePrefix;
- }
-
- private String getNormalizedLocation(String location) {
- try {
- URL url = new URL(location);
- URL resolvedURL = Platform.resolve(url);
- location = resolvedURL.getPath();
- }
- catch (Exception e) {
- e.printStackTrace();
- }
-
- return location;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/XSDTypeSystemProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/XSDTypeSystemProvider.java
deleted file mode 100644
index bf913c9cd..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/XSDTypeSystemProvider.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.util;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.ui.internal.extensions.ITypeSystemProvider;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDNamedComponent;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDSchemaContent;
-import org.eclipse.xsd.XSDSimpleTypeDefinition;
-import org.eclipse.xsd.impl.XSDImportImpl;
-
-public class XSDTypeSystemProvider implements ITypeSystemProvider
-{
- public List getPrefixes(Definition definition, String namespace)
- {
- List list = new ArrayList();
- Map map = definition.getNamespaces();
- for (Iterator i = map.keySet().iterator(); i.hasNext();)
- {
- String prefix = (String) i.next();
- String theNamespace = (String) map.get(prefix);
- if (theNamespace != null && theNamespace.equals(namespace))
- {
- list.add(prefix);
- }
- }
- return list;
- }
-
- public List getPrefixedNames(Definition definition, String namespace, String localName)
- {
- List list = new ArrayList();
- for (Iterator i = getPrefixes(definition, namespace).iterator(); i.hasNext();)
- {
- String prefix = (String) i.next();
- String name = (prefix != null && prefix.length() > 0) ? prefix + ":" + localName : localName; //$NON-NLS-1$
- list.add(name);
- }
- return list;
- }
-
- protected void addNamedComponents(Definition definition, List list, List namedComponents)
- {
- for (Iterator i = namedComponents.iterator(); i.hasNext();)
- {
- XSDNamedComponent component = (XSDNamedComponent) i.next();
- list.addAll(getPrefixedNames(definition, component.getTargetNamespace(), component.getName()));
- }
- }
-
- public void initWSIStyleImports(XSDSchema xsdSchema)
- {
- if (xsdSchema.getTargetNamespace() == null)
- {
- for (Iterator i = xsdSchema.getContents().iterator(); i.hasNext();)
- {
- XSDSchemaContent content = (XSDSchemaContent) i.next();
- if (content instanceof XSDImportImpl)
- {
- XSDImportImpl xsdImport = (XSDImportImpl) content;
- XSDSchema schema = (XSDSchema)xsdImport.getResolvedSchema();
- if (schema == null)
- {
- schema = xsdImport.importSchema();
- }
- }
- }
- }
- }
-
- public List getAvailableTypeNames(Definition definition, int typeNameCategory)
- {
- List list = new ArrayList();
-
- if (typeNameCategory == ITypeSystemProvider.BUILT_IN_TYPE) {
- list = getBuiltInTypeNamesList(definition);
- }
- else {
- Types types = definition.getETypes();
- if (types != null)
- {
- for (Iterator i = types.getEExtensibilityElements().iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (o instanceof XSDSchemaExtensibilityElement)
- {
- XSDSchema schema = ((XSDSchemaExtensibilityElement) o).getSchema();
- if (schema != null)
- {
- initWSIStyleImports(schema);
- addNamedComponents(definition, list, schema.getTypeDefinitions());
- }
- }
- }
- }
-
- for (Iterator i = definition.getEImports().iterator(); i.hasNext();)
- {
- Import theImport = (Import) i.next();
- XSDSchema schema = theImport.getESchema();
- if (schema != null)
- {
- addNamedComponents(definition, list, schema.getTypeDefinitions());
- }
- }
- list.addAll(getBuiltInTypeNamesList(definition));
- }
-
- return list;
- }
-
- public List getAvailableTypes(Definition definition, XSDSchema schema, int typeNameCategory)
- {
- List keepTypes = new ArrayList();
- Iterator typeIterator = schema.getTypeDefinitions().iterator();
- // Filter out unwanted Types
- if (typeNameCategory == ITypeSystemProvider.USER_DEFINED_COMPLEX_TYPE) {
- while (typeIterator.hasNext()) {
- Object type = typeIterator.next();
- if (type instanceof XSDComplexTypeDefinition) {
- keepTypes.add(type);
- }
- }
- }
- else if (typeNameCategory == ITypeSystemProvider.USER_DEFINED_SIMPLE_TYPE) {
- while (typeIterator.hasNext()) {
- Object type = typeIterator.next();
- if (type instanceof XSDSimpleTypeDefinition) {
- keepTypes.add(type);
- }
- }
- }
-
- //addNamedComponents(definition, list, keepTypes);
- //return list;
- return keepTypes;
- }
-
- public java.util.List getBuiltInTypeNamesList(Definition definition)
- {
- List items = new ArrayList();
-// if (definition != null)
-// {
-// List prefixes = getPrefixes(definition, WSDLConstants.XSD_NAMESPACE_URI);
-// for (Iterator i = prefixes.iterator(); i.hasNext();)
-// {
-// String prefix = (String) i.next();
-// for (int j = 0; j < XSDDOMHelper.dataType.length; j++)
-// {
-// String localName = XSDDOMHelper.dataType[j][0];
-// String name = (prefix != null && prefix.length() > 0) ? prefix + ":" + localName : localName;
-// items.add(name);
-// }
-// }
-// }
- return items;
- }
- public List getAvailableElementNames(Definition definition)
- {
- List list = new ArrayList();
- Types types = definition.getETypes();
- if (types != null)
- {
- for (Iterator i = types.getEExtensibilityElements().iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (o instanceof XSDSchemaExtensibilityElement)
- {
- XSDSchema schema = ((XSDSchemaExtensibilityElement) o).getSchema();
- if (schema != null)
- {
- initWSIStyleImports(schema);
- addNamedComponents(definition, list, schema.getElementDeclarations());
- }
- }
- }
- }
-
- for (Iterator i = definition.getEImports().iterator(); i.hasNext();)
- {
- Import theImport = (Import) i.next();
- XSDSchema schema = theImport.getESchema();
- if (schema != null)
- {
- addNamedComponents(definition, list, schema.getElementDeclarations());
- }
- }
- return list;
- }
- public int getCategoryForTypeName(Definition definition, String typeName)
- {
- return 0;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BaseRenamer.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BaseRenamer.java
deleted file mode 100644
index a99eb5fb0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BaseRenamer.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.visitor;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.WSDLElement;
-
-public abstract class BaseRenamer extends WSDLVisitor
-{
- protected String newName;
- protected WSDLElement globalComponent;
-
- public BaseRenamer(WSDLElement globalComponent, String newName)
- {
- super(globalComponent.getEnclosingDefinition());
- this.globalComponent = globalComponent;
- this.newName = newName;
- }
-
- public String getNewQName()
- {
- String qName = null;
- if (newName != null)
- {
- Definition definition = globalComponent.getEnclosingDefinition();
- qName = definition.getPrefix(definition.getTargetNamespace());
- qName += ":" + newName; //$NON-NLS-1$
- }
- else
- {
- qName = newName;
- }
-
- return qName;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BindingRenamer.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BindingRenamer.java
deleted file mode 100644
index 3d1485a15..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BindingRenamer.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.visitor;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.w3c.dom.Element;
-
-public class BindingRenamer extends BaseRenamer
-{
- /**
- * Constructor for BindingRenamer.
- * @param globalComponent
- * @param newName
- */
- public BindingRenamer(WSDLElement globalComponent, String newName)
- {
- super(globalComponent, newName);
- }
-
- public void visitPort(Port port)
- {
- super.visitPort(port);
- Binding binding = port.getEBinding();
- if (globalComponent.equals(binding))
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(port);
- element.setAttribute("binding", getNewQName()); //$NON-NLS-1$
- }
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/MessageRenamer.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/MessageRenamer.java
deleted file mode 100644
index a85b95fe9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/MessageRenamer.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.visitor;
-
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.w3c.dom.Element;
-
-public class MessageRenamer extends BaseRenamer
-{
- /**
- * Constructor for MessageRenamer.
- * @param globalComponent
- * @param newName
- */
- public MessageRenamer(WSDLElement globalComponent, String newName)
- {
- super(globalComponent, newName);
- }
-
- public void visitInput(Input input)
- {
- super.visitInput(input);
- Message message = input.getEMessage();
- if (globalComponent.equals(message))
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(input);
- element.setAttribute("message", getNewQName()); //$NON-NLS-1$
- }
- }
-
- public void visitOutput(Output output)
- {
- super.visitOutput(output);
- if (globalComponent.equals(output))
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(output);
- element.setAttribute("message", getNewQName()); //$NON-NLS-1$
- }
- }
-
- public void visitFault(Fault fault)
- {
- super.visitFault(fault);
- if (globalComponent.equals(fault))
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(fault);
- element.setAttribute("message", getNewQName()); //$NON-NLS-1$
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/PortTypeRenamer.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/PortTypeRenamer.java
deleted file mode 100644
index 8959c831e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/PortTypeRenamer.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.visitor;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.w3c.dom.Element;
-
-public class PortTypeRenamer extends BaseRenamer
-{
- /**
- * Constructor for PortTypeRenamer.
- * @param globalComponent
- * @param newName
- */
- public PortTypeRenamer(WSDLElement globalComponent, String newName)
- {
- super(globalComponent, newName);
- }
-
- public void visitBinding(Binding binding)
- {
- super.visitBinding(binding);
- PortType portType = binding.getEPortType();
-
- if (globalComponent.equals(portType))
- {
- Element element = WSDLEditorUtil.getInstance().getElementForObject(binding);
- element.setAttribute("type", getNewQName()); //$NON-NLS-1$
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitor.java
deleted file mode 100644
index f86827490..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitor.java
+++ /dev/null
@@ -1,197 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.visitor;
-
-import java.util.Iterator;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-
-public class WSDLVisitor
-{
- protected Definition definition;
-
-
- public WSDLVisitor(Definition definition)
- {
- this.definition = definition;
- }
-
-
- public void visitDefinition()
- {
- visitBindings();
- visitMessages();
- visitPortTypes();
- visitServices();
- }
-
- public void visitBindings()
- {
- for (Iterator iterator = definition.getEBindings().iterator(); iterator.hasNext(); )
- {
- Binding binding = (Binding)iterator.next();
- visitBinding(binding);
- }
- }
-
- public void visitMessages()
- {
- for (Iterator iterator = definition.getEMessages().iterator(); iterator.hasNext(); )
- {
- Message message = (Message)iterator.next();
- visitMessage(message);
- }
- }
-
- public void visitPortTypes()
- {
- for (Iterator iterator = definition.getEPortTypes().iterator(); iterator.hasNext(); )
- {
- PortType portType = (PortType)iterator.next();
- visitPortType(portType);
- }
- }
-
- public void visitServices()
- {
- for (Iterator iterator = definition.getEServices().iterator(); iterator.hasNext(); )
- {
- Service service = (Service)iterator.next();
- visitService(service);
- }
- }
-
- public void visitBinding(Binding binding)
- {
- PortType portType = binding.getEPortType();
- if (portType != null)
- {
- visitPortType(portType);
- }
-
- for (Iterator iterator = binding.getEBindingOperations().iterator(); iterator.hasNext(); )
- {
- BindingOperation bindingOperation = (BindingOperation)iterator.next();
- visitBindingOperation(bindingOperation);
- }
- }
-
- public void visitPortType(PortType portType)
- {
- for (Iterator iterator = portType.getEOperations().iterator(); iterator.hasNext(); )
- {
- Operation operation = (Operation)iterator.next();
- visitOperation(operation);
- }
- }
-
- public void visitBindingOperation(BindingOperation bindingOperation)
- {
-// BindingInput bindingInput = bindingOperation.getEBindingInput();
-// BindingOutput bindingOutput = bindingOperation.getEBindingOutput();
- }
-
- public void visitOperation(Operation operation)
- {
- Input input = operation.getEInput();
- Output output = operation.getEOutput();
-
- if (input != null)
- {
- visitInput(input);
- }
- if (output != null)
- {
- visitOutput(output);
- }
-
- for (Iterator iterator = operation.getEFaults().iterator(); iterator.hasNext(); )
- {
- Fault fault = (Fault)iterator.next();
- if (fault != null)
- {
- visitFault(fault);
- }
- }
-
- }
-
- public void visitPart(Part part)
- {
-// XSDTypeDefinition type = part.getTypeDefinition();
- }
-
- public void visitMessage(Message message)
- {
- for (Iterator iterator = message.getEParts().iterator(); iterator.hasNext(); )
- {
- Part part = (Part)iterator.next();
- visitPart(part);
- }
- }
-
- public void visitInput(Input input)
- {
- Message message = input.getEMessage();
- if (message != null)
- {
- visitMessage(message);
- }
- }
-
- public void visitOutput(Output output)
- {
- Message message = output.getEMessage();
- if (message != null)
- {
- visitMessage(message);
- }
- }
-
- public void visitFault(Fault fault)
- {
- Message message = fault.getEMessage();
- if (message != null)
- {
- visitMessage(message);
- }
- }
-
- public void visitPort(Port port)
- {
- Binding binding = port.getEBinding();
- if (binding != null)
- {
- visitBinding(binding);
- }
- }
-
- public void visitService(Service service)
- {
- for (Iterator iterator = service.getEPorts().iterator(); iterator.hasNext(); )
- {
- Port port = (Port)iterator.next();
- visitPort(port);
- }
-
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitorForParameters.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitorForParameters.java
deleted file mode 100644
index 6c4410bd0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitorForParameters.java
+++ /dev/null
@@ -1,87 +0,0 @@
-package org.eclipse.wst.wsdl.ui.internal.visitor;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.ui.internal.adapters.visitor.W11XSDVisitorForFields;
-import org.eclipse.xsd.XSDComplexTypeDefinition;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-public class WSDLVisitorForParameters
-{
- public List concreteComponents = new ArrayList();
- public List thingsToListenTo = new ArrayList();
-
- public void visitMessageReference(MessageReference messageReference)
- {
- if (messageReference.getEMessage() != null)
- {
- visitMessage(messageReference.getEMessage());
- }
- }
-
- public void visitMessage(Message message)
- {
- // for now we assume that the first part is the only one that
- // should be used to deduce the parameters
- // TODO (cs) we need to revist this, multiple parts need to be considered
- //
- if (message != null) {
- thingsToListenTo.add(message);
- for (Iterator i = message.getEParts().iterator(); i.hasNext(); )
- {
- visitPart((Part)i.next());
- }
- }
- }
-
- void visitPart(Part part)
- {
- thingsToListenTo.add(part);
- if (part.getElementDeclaration() != null)
- {
- visitXSDElementDeclaration(part.getElementDeclaration());
- }
- else
- // if (part.getTypeDefinition() instanceof XSDSimpleTypeDefinition)
- {
- concreteComponents.add(part);
- }
- }
-
- void visitXSDElementDeclaration(XSDElementDeclaration ed)
- {
- XSDTypeDefinition td = ed.getTypeDefinition();
- if (td != null)
- {
- if (td.getName() != null)
- {
- concreteComponents.add(ed);
- }
- else if (td instanceof XSDComplexTypeDefinition)
- {
- // we're dealing with an anonymous locally defined type
- // se we need to visit it's children
- thingsToListenTo.add(ed);
- visitXSDComplextTypeDefinition((XSDComplexTypeDefinition) td);
- }
- }
- }
-
- void visitXSDComplextTypeDefinition(XSDComplexTypeDefinition td)
- {
- // TODO (cs) revisit to see if it makes sense for the WSDL editor to redisplay
- // the 'Fields' (in XSD editor lingo) as paramters
- // perhaps the WSDL Editor should simply reuse the XSD Editor's
- // ComplexType edit part when displaying these sections?
- W11XSDVisitorForFields fieldVisitor = new W11XSDVisitorForFields();
- fieldVisitor.visitComplexTypeDefinition(td);
- concreteComponents.addAll(fieldVisitor.getConcreteComponentList());
- thingsToListenTo.addAll(fieldVisitor.getThingsWeNeedToListenTo());
- }
- } \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/BindingWizard.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/BindingWizard.java
deleted file mode 100644
index 831c4345c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/BindingWizard.java
+++ /dev/null
@@ -1,302 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Preferences;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.sse.core.internal.encoding.CommonEncodingPreferenceNames;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.internal.generator.BindingGenerator;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.ProtocolComponentControl;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class BindingWizard extends Wizard
-{
- protected BindingGenerator bindingGenerator;
- protected BindingWizardOptionsPage specifyBindingPage;
-
- protected Document document;
- protected int kind;
-
- public static final int KIND_NEW_BINDING = 1;
- public static final int KIND_REGENERATE_BINDING = 2;
-
- protected Definition definition;
-
- /*
- * Constructor used when are creating a brand new Binding
- */
- public BindingWizard(Definition definition)
- {
- this(definition, null, KIND_NEW_BINDING);
- }
-
- /*
- * Constructor used when are creating a brand new Binding
- */
- public BindingWizard(Definition definition, Document document)
- {
- this(definition, null, KIND_NEW_BINDING);
- this.document = document;
- }
-
- /*
- * Constructor used when there is an existing Binding we wish to modify/regenerate
- */
- public BindingWizard(Definition definition, Binding binding, int kind)
- {
- super();
- this.definition = definition;
- this.kind = kind;
- bindingGenerator = new BindingGenerator(definition, binding);
-
- setWindowTitle(Messages._UI_BINDING_WIZARD); //$NON-NLS-1$
- //setDefaultPageImageDescriptor(ImageDescriptor.createFromFile(WSDLEditorPlugin.class, "icons/NewXML.gif"));
- }
-
- public void setBindingName(String bindingName)
- {
-// QName qname = new QName(definition.getTargetNamespace(), bindingName);
- bindingGenerator.setName(bindingName);
-/*
- // Binding binding = (Binding) definition.getBinding(qname);
- if (binding != null)
- {
- List eeList = binding.getEExtensibilityElements();
- if (eeList.size() > 0)
- {
- ExtensibilityElement ee = (ExtensibilityElement) eeList.get(0);
- Element element = WSDLEditorUtil.getInstance().getElementForObject(ee);
- String namespace = element.getNamespaceURI();
- if (namespace != null)
- {
- ContentGeneratorExtension extension = WSDLEditorPlugin.getInstance().getContentGeneratorExtensionRegistry().getExtensionForNamespace(namespace);
-
- if (extension != null)
- {
- bindingGenerator.setProtocol(extension.getName());
- }
- }
- }
- }
- */
- }
-
- public void setPortTypeName(String portTypeName)
- {
- bindingGenerator.setRefName(portTypeName);
- }
-
- public BindingGenerator getBindingGenerator()
- {
- return bindingGenerator;
- }
-
- /**
- * Return true if wizard setup is successful, false otherwise
- */
- public boolean setup()
- {
- return true;
- }
-
- public void addPages()
- {
- specifyBindingPage = new BindingWizardOptionsPage();
- addPage(specifyBindingPage);
- }
-
- public boolean performFinish()
- {
- boolean recordingStarted = false;
- if (definition.getElement() == null || (document != null && document.getChildNodes().getLength() == 0)) {
- recordingStarted = true;
- beginRecording();
-
- // Create the Definitions element with proper namespace
- Preferences preference = XMLCorePlugin.getDefault().getPluginPreferences();
- String charSet = preference.getString(CommonEncodingPreferenceNames.OUTPUT_CODESET);
- if (charSet == null || charSet.trim().equals("")) //$NON-NLS-1$
- {
- charSet = "UTF-8"; //$NON-NLS-1$
- }
- document.appendChild(document.createProcessingInstruction("xml", "version=\"1.0\" encoding=\"" + charSet + "\"")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- Element root = document.createElement("wsdl:definitions"); //$NON-NLS-1$
- document.appendChild(root);
-
- // Add various namespace attributes here.
- root.setAttribute("xmlns:soap", "http://schemas.xmlsoap.org/wsdl/soap/"); //$NON-NLS-1$ //$NON-NLS-2$
- root.setAttribute("xmlns:tns", getDefaultNamespace(definition)); //$NON-NLS-1$
- root.setAttribute("xmlns:wsdl", "http://schemas.xmlsoap.org/wsdl/"); //$NON-NLS-1$ //$NON-NLS-2$
- root.setAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema"); //$NON-NLS-1$ //$NON-NLS-2$
- root.setAttribute("name", getFileName(definition)); //$NON-NLS-1$
- root.setAttribute("targetNamespace", getDefaultNamespace(definition)); //$NON-NLS-1$
-
- definition.setElement(root);
- }
-
- // Generate/re-generate the Binding
- try
- {
- Binding binding = bindingGenerator.generateBinding();
-
- if (binding != null)
- {
- IEditorPart editorPart = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- ISelectionProvider selectionProvider = (ISelectionProvider) editorPart.getAdapter(ISelectionProvider.class);
- if (selectionProvider != null)
- {
- selectionProvider.setSelection(new StructuredSelection(binding));
- }
- }
- }
- catch (Exception e)
- {
- }
- finally {
- if (recordingStarted)
- endRecording();
- }
-
- return true;
- }
-
- private String getDefaultNamespace(Definition definition)
- {
- String namespace = WSDLEditorPlugin.getInstance().getPreferenceStore().getString(Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE); //$NON-NLS-1$
- if (!namespace.endsWith("/")) { //$NON-NLS-1$
- namespace = namespace.concat("/"); //$NON-NLS-1$
- }
-
- namespace += getFileName(definition) + "/"; //$NON-NLS-1$
-
- return namespace;
- }
-
- private String getFileName(Definition definition) {
- String fileLocation = definition.getLocation();
- IPath filePath = new Path(fileLocation);
- return filePath.removeFileExtension().lastSegment().toString();
- }
-
- private void beginRecording() {
- Node node = document;
- if (node instanceof IDOMNode)
- {
- ((IDOMNode)node).getModel().beginRecording(this, Messages._UI_ACTION_ADD_BINDING); //$NON-NLS-1$
- }
- }
-
- private void endRecording() {
- Node node = document;
- if (node instanceof IDOMNode)
- {
- ((IDOMNode)node).getModel().endRecording(this);
- }
- }
-
- class BindingWizardOptionsPage extends WizardPage
- {
- protected ProtocolComponentControl protocolComponentControl;
-
- public BindingWizardOptionsPage()
- {
- super("SpecifyBindingPage"); //$NON-NLS-1$
- setTitle(Messages._UI_TITLE_SPECIFY_BINDING_DETAILS); //$NON-NLS-1$
- setDescription(Messages._UI_SPECIFY_BINDING_DETAILS_LABEL); //$NON-NLS-1$
- }
-
- protected BindingGenerator getBindingGenerator()
- {
- return ((BindingWizard) getWizard()).getBindingGenerator();
- }
-
- public void createControl(Composite parent)
- {
- ProtocolComponentControl protocolComponentControl = new BindingProtocolComponentControl(parent, bindingGenerator, true);
- protocolComponentControl.initFields();
- setControl(protocolComponentControl);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(protocolComponentControl, ASDEditorCSHelpIds.BINDING_WIZARD);
- }
- }
-
- public static class BindingProtocolComponentControl extends ProtocolComponentControl
- {
- public BindingProtocolComponentControl(Composite parent, BindingGenerator generator)
- {
- this(parent, generator, true);
- }
-
- public BindingProtocolComponentControl(Composite parent, BindingGenerator generator, boolean showOverwriteButton)
- {
- super(parent, generator, showOverwriteButton);
-
- if (generator.getName() != null)
- {
- componentNameField.setEditable(false);
- }
- }
-
- public String getRefNameLabelText()
- {
- return Messages._UI_PORT_TYPE; //$NON-NLS-1$
- }
-
- public List getRefNames()
- {
- return new ComponentReferenceUtil(generator.getDefinition()).getPortTypeNames();
- }
-
- public String getDefaultName()
- {
- String bindingName = generator.getName();
- return bindingName != null ? bindingName : NameUtil.buildUniqueBindingName(generator.getDefinition(), null);
- }
-
- public ContentGeneratorOptionsPage createContentGeneratorOptionsPage(String protocol)
- {
- ContentGeneratorOptionsPage optionsPage = null;
- String protocolSelection = protocolCombo.getItem(protocolCombo.getSelectionIndex());
- if (protocolSelection.equals("SOAP")) { //$NON-NLS-1$
- optionsPage = new SoapBindingOptionsPage();
- }
- else if (protocolSelection.equals("HTTP")) { //$NON-NLS-1$
- optionsPage = new HttpBindingOptionsPage();
- }
-// ContentGeneratorExtension extension = WSDLEditorPlugin.getInstance().getContentGeneratorExtensionRegistry().getContentGeneratorExtension(protocol);
-// if (extension != null)
-// {
-// optionsPage = extension.createBindingContentGeneratorOptionsPage();
-// }
- return optionsPage;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/ContentGeneratorOptionsPage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/ContentGeneratorOptionsPage.java
deleted file mode 100644
index 9a16e1a23..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/ContentGeneratorOptionsPage.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.wst.wsdl.internal.generator.BaseGenerator;
-
-public interface ContentGeneratorOptionsPage
-{
- public void init(BaseGenerator baseGenerator);
- public Composite createControl(Composite parent);
- public Composite getControl();
-
- // TODO can this go into init?
- //
- public void setOptionsOnGenerator();
- public boolean isOverwriteApplicable();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/HttpBindingOptionsPage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/HttpBindingOptionsPage.java
deleted file mode 100644
index 19586756f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/HttpBindingOptionsPage.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.binding.http.internal.generator.HTTPContentGenerator;
-import org.eclipse.wst.wsdl.internal.generator.BaseGenerator;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.w3c.dom.Element;
-
-
-public class HttpBindingOptionsPage implements ContentGeneratorOptionsPage, SelectionListener
-{
- protected Button getButton;
- protected Button postButton;
- protected Composite control;
- protected BaseGenerator generator;
- protected HTTPContentGenerator httpGenerator;
-
- public HttpBindingOptionsPage()
- {
- }
-
- public void init(BaseGenerator generator)
- {
- this.generator = generator;
- if (generator.getContentGenerator() instanceof HTTPContentGenerator) {
- httpGenerator = (HTTPContentGenerator) generator.getContentGenerator();
- }
- }
-
- public Composite createControl(Composite parent)
- {
- control = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.marginWidth = 0;
- control.setLayout(layout);
-
- Label separator = new Label(control, SWT.SEPARATOR | SWT.HORIZONTAL);
- GridData gd= new GridData();
- gd.horizontalAlignment= GridData.FILL;
- gd.grabExcessHorizontalSpace= true;
-
- separator.setLayoutData(gd);
-
- Label optionsHeading = new Label(control, SWT.NONE);
- optionsHeading.setText(Messages._UI_LABEL_HTTP_BINDING_OPTIONS); //$NON-NLS-1$
-
- getButton = new Button(control, SWT.RADIO);
- getButton.setText("HTTP GET"); //$NON-NLS-1$
- getButton.setSelection(true);
-
- postButton = new Button(control, SWT.RADIO);
- postButton.setText("HTTP POST"); //$NON-NLS-1$
-
- if (generator.getName() != null)
- {
- Definition definition = generator.getDefinition();
- QName qname = new QName(definition.getTargetNamespace(), generator.getName());
- Binding binding = (Binding) definition.getBinding(qname);
- if (binding != null)
- {
- List eeList = binding.getEExtensibilityElements();
- if (eeList.size() > 0)
- {
- ExtensibilityElement ee = (ExtensibilityElement) eeList.get(0);
- Element element = WSDLEditorUtil.getInstance().getElementForObject(ee);
- String verb = element.getAttribute("verb"); //$NON-NLS-1$
- if ("POST".equals(verb)) //$NON-NLS-1$
- {
- getButton.setSelection(false);
- postButton.setSelection(true);
- }
- }
- }
- }
-
- postButton.addSelectionListener(this);
- getButton.addSelectionListener(this);
- computeOptions();
-
- return control;
- }
-
- public Composite getControl() {
- return control;
- }
-
- public boolean isOverwriteApplicable()
- {
- return true;
- }
-
- public void widgetSelected(SelectionEvent event)
- {
- computeOptions();
- }
-
- protected void computeOptions()
- {
- if (generator.getContentGenerator() instanceof HTTPContentGenerator) {
- HTTPContentGenerator httpGenerator = (HTTPContentGenerator) generator.getContentGenerator();
-
- if (postButton.getSelection()) {
- httpGenerator.setVerb(HTTPContentGenerator.VERB_POST);
- }
- else if (getButton.getSelection()) {
- httpGenerator.setVerb(HTTPContentGenerator.VERB_GET);
- }
- }
- }
-
- public void setOptionsOnGenerator() {
- computeOptions();
- }
-
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NamespaceTable.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NamespaceTable.java
deleted file mode 100644
index 341c10eb7..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NamespaceTable.java
+++ /dev/null
@@ -1,702 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.viewers.CellEditor;
-import org.eclipse.jface.viewers.CheckboxCellEditor;
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.ICellModifier;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TextCellEditor;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.MouseAdapter;
-import org.eclipse.swt.events.MouseEvent;
-import org.eclipse.swt.events.MouseListener;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Group;
-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.wst.common.ui.internal.viewers.NavigableTableViewer;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceInfo;
-import org.eclipse.wst.xml.ui.internal.dialogs.EditNamespaceInfoDialog;
-import org.eclipse.wst.xml.ui.internal.dialogs.UpdateListener;
-import org.eclipse.wst.xml.ui.internal.util.XMLCommonResources;
-
-public class NamespaceTable extends Composite
-{
- protected static final String NAMESPACE_URI = XMLCommonResources.getInstance().getString("_UI_LABEL_NAMESPACE_NAME");
- protected static final String PREFIX = XMLCommonResources.getInstance().getString("_UI_LABEL_PREFIX");
- protected static final String INCLUDE = Messages._UI_TITLE_SELECT; //$NON-NLS-1$
-
- protected List namespaceInfoList = new Vector();
- protected List checkedList = new Vector();
- protected NamespaceNavigableTableViewer tableViewer;
- protected Button addButton;
-
- protected NamespaceInfoTableLabelProvider provider;
- protected UpdateListener updateListener;
- protected IPath resourceLocation;
- protected int visibleRows = -1;
- protected boolean dummyRowsRemoved = false;
- Table table;
-
- public NamespaceTable(Composite parent)
- {
- this(parent, -1, -1, -1);
- }
-
- public NamespaceTable(Composite parent, int visibleRows)
- {
- this(parent, -1, -1, visibleRows);
- }
-
- public NamespaceTable(Composite parent, int widthHint, int heightHint)
- {
- this(parent, widthHint, heightHint, -1);
- }
-
- public NamespaceTable(Composite parent, int widthHint, int heightHint, int visibleRows)
- {
- super(parent, SWT.NONE);
- setLayout(createGridLayout());
- GridData fillGD= new GridData();
- fillGD.horizontalAlignment= GridData.FILL;
- fillGD.grabExcessHorizontalSpace= true;
- fillGD.verticalAlignment= GridData.FILL;
- fillGD.grabExcessVerticalSpace= true;
-
- setLayoutData(fillGD);
-
- Group namespaceInfoGroup = new Group(this, SWT.NONE);
- namespaceInfoGroup.setText(Messages._UI_LABEL_NAMESPACE_URIS_TO_BE_INCLUDED); //$NON-NLS-1$
- namespaceInfoGroup.setLayout(new GridLayout());
- GridData gd = fillGD;
- if (widthHint != -1)
- {
- gd.widthHint = widthHint;
- }
- if (heightHint != -1)
- {
- gd.heightHint = heightHint;
- }
- namespaceInfoGroup.setLayoutData(gd);
- //WorkbenchHelp.setHelp(namespaceInfoGroup, new ControlContextComputer(namespaceInfoGroup, XMLBuilderContextIds.XMLC_NAMESPACE_GROUP));
-
- String[] titleArray = {INCLUDE, PREFIX, NAMESPACE_URI};
-
- table = new Table(namespaceInfoGroup, SWT.FULL_SELECTION);
- table.setHeaderVisible(true);
-
- table.setLayoutData(fillGD);
- table.setLinesVisible(true);
- table.addMouseListener(new MouseAdapter()
- {
- public void mouseDown(MouseEvent e)
- {
- TableItem item = table.getItem(new Point(e.x, e.y));
- if (item != null)
- {
- Object obj = item.getData();
- if (obj != null)
- {
- TableElement holder = (TableElement)obj;
- TableColumn col = table.getColumn(0);
- if (e.x < col.getWidth()) // if the point falls within the Select column then perform check/uncheck
- {
- String currentState = holder.getChecked();
- if (currentState.equals("true")) //$NON-NLS-1$
- {
- holder.setChecked("false"); //$NON-NLS-1$
- checkedList.set(holder.getIndex(), "false"); //$NON-NLS-1$
- }
- else if (currentState.equals("false")) //$NON-NLS-1$
- {
- holder.setChecked("true"); //$NON-NLS-1$
- checkedList.set(holder.getIndex(), "true"); //$NON-NLS-1$
- }
- tableViewer.refresh();
- if (updateListener != null)
- {
- updateListener.updateOccured(this, namespaceInfoList);
- }
- }
- }
- }
- }
- });
-
- tableViewer = new NamespaceNavigableTableViewer(table);
- provider = new NamespaceInfoTableLabelProvider();
- tableViewer.setContentProvider(provider);
- tableViewer.setLabelProvider(provider);
- tableViewer.setColumnProperties(titleArray);
- tableViewer.setCellModifier(new NamespaceInfoCellModifier());
-
-
- int[] widthArray = {10, 20, 50};
- TableLayout layout = new TableLayout();
-
- for (int i = 0; i < titleArray.length; i++)
- {
- TableColumn column = new TableColumn(table, i);
- column.setText(titleArray[i]);
- column.setAlignment(SWT.LEFT);
- layout.addColumnData(new ColumnWeightData(widthArray[i], true));
- }
- this.visibleRows = visibleRows;
- for (int i = 0; i < visibleRows; i++)
- {
- TableItem item = new TableItem(table, SWT.NONE);
- item.setText("#######"); //$NON-NLS-1$
- }
- table.setLayout(layout);
-
- CellEditor[] cellEditors = new CellEditor[titleArray.length];
- cellEditors[0] = new NamespaceInfoCheckboxCellEditor(table);
- cellEditors[1] = new TextCellEditor(table);
- tableViewer.setCellEditors(cellEditors);
-
-// createButtons(namespaceInfoGroup);
-
- initialize();
- }
-
- public void setUpdateListener(UpdateListener updateListener)
- {
- this.updateListener = updateListener;
- }
-
- public void setNamespaceInfoList(List namespaceInfoList)
- {
- this.namespaceInfoList = namespaceInfoList;
- update();
- }
-
- public List getNamespaceInfoList()
- {
- return namespaceInfoList;
- }
-
- public List getNamespaceCheckedList()
- {
- return checkedList;
- }
-
- public String getWSDLPrefix()
- {
- return ((NamespaceInfo)(namespaceInfoList.get(0))).prefix;
- }
-
- public void setResourceLocation(IPath resourceLocation)
- {
- this.resourceLocation = resourceLocation;
- }
-
- public GridLayout createGridLayout()
- {
- GridLayout gridLayout = new GridLayout();
- gridLayout.marginWidth = 0;
- gridLayout.horizontalSpacing = 0;
- return gridLayout;
- }
-
- protected void initialize()
- {
- // better way to do this....
- NamespaceInfo info1 = new NamespaceInfo();
- info1.prefix = "wsdl"; //$NON-NLS-1$
- info1.uri = "http://schemas.xmlsoap.org/wsdl/"; //$NON-NLS-1$
- namespaceInfoList.add(info1);
- checkedList.add("true"); //$NON-NLS-1$
- NamespaceInfo info2 = new NamespaceInfo();
- info2.prefix = "soap"; //$NON-NLS-1$
- info2.uri = "http://schemas.xmlsoap.org/wsdl/soap/"; //$NON-NLS-1$
- namespaceInfoList.add(info2);
- checkedList.add("false"); //$NON-NLS-1$
- NamespaceInfo info3 = new NamespaceInfo();
- info3.prefix = "http"; //$NON-NLS-1$
- info3.uri = "http://schemas.xmlsoap.org/wsdl/http/"; //$NON-NLS-1$
- namespaceInfoList.add(info3);
- checkedList.add("false"); //$NON-NLS-1$
- NamespaceInfo info4 = new NamespaceInfo();
- info4.prefix = "mime"; //$NON-NLS-1$
- info4.uri = "http://schemas.xmlsoap.org/wsdl/mime/"; //$NON-NLS-1$
- namespaceInfoList.add(info4);
- checkedList.add("false"); //$NON-NLS-1$
- NamespaceInfo info5 = new NamespaceInfo();
- info5.prefix = "soapenc"; //$NON-NLS-1$
- info5.uri = "http://schemas.xmlsoap.org/soap/encoding/"; //$NON-NLS-1$
- namespaceInfoList.add(info5);
- checkedList.add("false"); //$NON-NLS-1$
- NamespaceInfo info6 = new NamespaceInfo();
- info6.prefix = "soapenv"; //$NON-NLS-1$
- info6.uri = "http://schemas.xmlsoap.org/soap/envelope/"; //$NON-NLS-1$
- namespaceInfoList.add(info6);
- checkedList.add("false"); //$NON-NLS-1$
- NamespaceInfo info7 = new NamespaceInfo();
- info7.prefix = "xsi"; //$NON-NLS-1$
- info7.uri = "http://www.w3.org/2001/XMLSchema-instance"; //$NON-NLS-1$
- namespaceInfoList.add(info7);
- checkedList.add("false"); //$NON-NLS-1$
- NamespaceInfo info8 = new NamespaceInfo();
- info8.prefix = "xsd"; //$NON-NLS-1$
- info8.uri = "http://www.w3.org/2001/XMLSchema"; //$NON-NLS-1$
- namespaceInfoList.add(info8);
- checkedList.add("true"); //$NON-NLS-1$
- update();
- }
-
- protected void createButtons(Composite parent)
- {
- Composite composite = new Composite(parent, SWT.NONE);
- GridData hFillGD = new GridData();
- hFillGD.horizontalAlignment= GridData.FILL;
- hFillGD.grabExcessHorizontalSpace= true;
-
- composite.setLayoutData(hFillGD);
- GridLayout gridLayout = new GridLayout();
- gridLayout.numColumns = 2;
- gridLayout.marginHeight = 0;
- gridLayout.marginWidth = 0;
- composite.setLayout(gridLayout);
-
- GridData gd = new GridData();
- gd.horizontalAlignment = GridData.FILL;
- gd.grabExcessHorizontalSpace= true;
-
- Button hiddenButton = new Button(composite, SWT.NONE);
- hiddenButton.setLayoutData(gd);
- hiddenButton.setVisible(false);
- hiddenButton.setEnabled(false);
-
- SelectionListener selectionListener = new SelectionAdapter()
- {
- public void widgetSelected(SelectionEvent e)
- {
- if (e.widget == addButton)
- {
- performNew();
- }
- }
- };
-
- // create a composite to hold the three buttons
- Composite buttonComposite = new Composite(composite, SWT.NONE);
-
- buttonComposite.setLayoutData(hFillGD);
- GridLayout buttonGridLayout = new GridLayout();
- buttonGridLayout.numColumns = 1;
- buttonGridLayout.makeColumnsEqualWidth = true;
- buttonComposite.setLayout(buttonGridLayout);
-
- // add the New button
- //
- gd = new GridData();
- gd.horizontalAlignment = GridData.FILL;
- gd.grabExcessHorizontalSpace = true;
-
- addButton = new Button(buttonComposite, SWT.NONE);
- addButton.setText(Messages._UI_ACTION_ADD); //$NON-NLS-1$
- addButton.setLayoutData(gd);//ViewUtility.createHorizontalFill());
- addButton.addSelectionListener(selectionListener);
- }
-
- public void performNew()
- {
- NamespaceInfo info = new NamespaceInfo();
- EditNamespaceInfoDialog dialog = invokeDialog(XMLCommonResources.getInstance().getString("_UI_LABEL_NEW_NAMESPACE_INFORMATION"), info);
- if (dialog.getReturnCode() == Dialog.OK)
- {
- namespaceInfoList.add(info);
- checkedList.add("true"); //$NON-NLS-1$
- performDelayedUpdate();
- }
- }
-
- protected EditNamespaceInfoDialog invokeDialog(String title, NamespaceInfo info)
- {
- Shell shell = XMLCommonResources.getInstance().getWorkbench().getActiveWorkbenchWindow().getShell();
- EditNamespaceInfoDialog dialog = new EditNamespaceInfoDialog(shell, info);
- dialog.create();
- dialog.getShell().setText(title);
- dialog.setBlockOnOpen(true);
- dialog.setResourceLocation(resourceLocation);
- dialog.open();
- return dialog;
- }
-
- protected void performDelayedUpdate()
- {
- Runnable delayedUpdate = new Runnable()
- {
- public void run()
- {
- update();
- }
- };
- Display.getCurrent().asyncExec(delayedUpdate);
-
- if (updateListener != null)
- {
- updateListener.updateOccured(this, namespaceInfoList);
- }
- }
-
- protected NamespaceInfo getTargetNamespaceInfo()
- {
- return (namespaceInfoList != null && namespaceInfoList.size() > 0) ?
- (NamespaceInfo)namespaceInfoList.get(0) :
- null;
- }
-
-
- public void update()
- {
- updateHelper(namespaceInfoList);
- }
-
- public void updateHelper(List namespaceInfoList)
- {
- if (visibleRows != -1 && !dummyRowsRemoved)
- {
-// dummyRowsRemoved = true;
-// tableViewer.getTable().removeAll();
- }
- ISelection selection = tableViewer.getSelection();
- tableViewer.setInput(namespaceInfoList);
- if (selection.isEmpty())
- {
- if (namespaceInfoList.size() > 0)
- {
- tableViewer.setSelection(new StructuredSelection(namespaceInfoList.get(0)));
- }
- }
- else
- {
- tableViewer.setSelection(selection);
- }
- }
-
- protected class NamespaceInfoCheckboxCellEditor extends CheckboxCellEditor implements MouseListener
- {
- public NamespaceInfoCheckboxCellEditor(Composite parent)
- {
- super(parent);
- }
-
- protected void doSetValue(Object value)
- {
- }
-
- public void activate()
- {
- super.activate();
- deactivate();
- Display.getCurrent().getFocusControl().redraw();
- }
-
- public void mouseDown(MouseEvent e)
- {
- if (tableViewer.getTable().getItem(new Point(e.x, e.y)) != null)
- {
- }
- }
- public void mouseDoubleClick(MouseEvent e) {}
- public void mouseUp(MouseEvent e) {}
-
-
- }
-
-
- protected class NamespaceInfoCellModifier implements ICellModifier
- {
- public NamespaceInfoCellModifier()
- {
-
- }
-
- public boolean canModify(Object element, String property)
- {
- if (property.equals(INCLUDE))
- {
- return true;
- }
- else if (property.equals(PREFIX))
- {
- return true;
- }
- return false;
- }
-
- public Object getValue(Object element, String property)
- {
- int column = 0;
- if (property.equals(INCLUDE))
- {
- column = 0;
- }
- else if (property.equals(PREFIX))
- {
- column = 1;
- }
- else if (property.equals(NAMESPACE_URI))
- {
- column = 2;
- }
-
- if (element instanceof TableElement)
- {
- return provider.getColumnText(element, column);
- }
- else
- {
- return null;
- }
- }
-
- public void modify(Object element, String property, Object value)
- {
- TableItem item = (TableItem)element;
- if (item != null)
- {
- Object obj = item.getData();
- if (obj != null)
- {
- TableElement holder = (TableElement)obj;
- NamespaceInfo info = holder.getNamespaceInfo();
- if (property.equals(INCLUDE))
- {
- if (value instanceof Boolean)
- {
- if (((Boolean)value).booleanValue())
- {
- holder.setChecked("true"); //$NON-NLS-1$
- checkedList.set(holder.getIndex(), "true"); //$NON-NLS-1$
- }
- else
- {
- holder.setChecked("false"); //$NON-NLS-1$
- checkedList.set(holder.getIndex(), "false"); //$NON-NLS-1$
- }
- }
- }
- else if (property.equals(PREFIX))
- {
- info.prefix = ((String)value).trim();
- }
-
- Runnable delayedUpdate = new Runnable()
- {
- public void run()
- {
- tableViewer.refresh();
- }
- };
- Display.getCurrent().asyncExec(delayedUpdate);
- if (updateListener != null)
- {
- updateListener.updateOccured(this, namespaceInfoList);
- }
-
-// performDelayedUpdate();
- }
- }
- }
- }
-
- protected class TableElement
- {
- NamespaceInfo info;
- int index;
- String checked = "true"; //$NON-NLS-1$
-
- TableElement(NamespaceInfo info, int index)
- {
- this.info = info;
- this.index = index;
- }
-
- public NamespaceInfo getNamespaceInfo()
- {
- return info;
- }
-
- public int getIndex()
- {
- return index;
- }
-
- public String getChecked()
- {
- return checked;
- }
-
- public void setChecked(String checked)
- {
- this.checked = checked;
- }
- }
-
- /**
- * NamespaceInfoTableLabelProvider
- */
- protected class NamespaceInfoTableLabelProvider implements ITableLabelProvider, IStructuredContentProvider
- {
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
- {
- }
-
- public boolean isLabelProperty(Object element, String property)
- {
- return false;
- }
-
- public boolean isDeleted(Object element)
- {
- return false;
- }
-
- public Object[] getElements(Object inputElement)
- {
- Vector v = new Vector();
- for (int i = 0; i < namespaceInfoList.size(); i++)
- {
- NamespaceInfo info = (NamespaceInfo)namespaceInfoList.get(i);
- TableElement holder = new TableElement(info, i);
- holder.setChecked((String)checkedList.get(i));
- v.add(holder);
- }
- return v.toArray();
- }
-
- public String getColumnText(Object object, int column)
- {
- TableElement holder = (TableElement)object;
- NamespaceInfo info = holder.getNamespaceInfo();
- String result = null;
- switch (column)
- {
- case 1: { result = info.prefix; break; }
- case 2: { result = info.uri; break; }
- }
- result = result != null ? result.trim() : ""; //$NON-NLS-1$
- if (result.equals("")) //$NON-NLS-1$
- {
- switch (column)
- {
- case 2:
- {
- result = XMLCommonResources.getInstance().getString("_UI_NO_NAMESPACE_NAME");
- break;
- }
- }
- }
- return result;
- }
-
-// private String getDefaultPrefix()
-// {
-// String defaultPrefix = "p";
-// if (namespaceInfoList == null)
-// return defaultPrefix;
-//
-// Vector v = new Vector();
-// for (int i=0; i<namespaceInfoList.size(); i++)
-// {
-// NamespaceInfo nsinfo = (NamespaceInfo)namespaceInfoList.get(i);
-// if (nsinfo.prefix != null)
-// v.addElement(nsinfo.prefix);
-// }
-//
-// if (v.contains(defaultPrefix))
-// {
-// String s = defaultPrefix;
-// for (int j=0; v.contains(s); j++)
-// {
-// s = defaultPrefix + Integer.toString(j);
-// }
-// return s;
-// }
-// else
-// return defaultPrefix;
-// }
-
- public Image getColumnImage(Object object, int columnIndex)
- {
- if (columnIndex == 0) // Output Column
- {
- if (object instanceof TableElement)
- {
- TableElement holder = (TableElement) object;
- String result = holder.getChecked();
- if (result.equals("true")) //$NON-NLS-1$
- {
- return WSDLEditorPlugin.getInstance().getImage("icons/output_yes.gif"); //$NON-NLS-1$
- }
- else
- {
- return WSDLEditorPlugin.getInstance().getImage("icons/output_no.gif"); //$NON-NLS-1$
- }
- }
- }
- return null;
- }
-
- public boolean isLabelProperty(Object object, Object property)
- {
- return false;
- }
-
- public void addListener(ILabelProviderListener listener)
- {
- }
-
- public void removeListener(ILabelProviderListener listener)
- {
- }
-
- public void dispose()
- {
- }
- }
-
- class NamespaceNavigableTableViewer extends NavigableTableViewer
- {
- public NamespaceNavigableTableViewer(Table parent)
- {
- super(parent);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NewWSDLWizard.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NewWSDLWizard.java
deleted file mode 100644
index 282ee7367..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NewWSDLWizard.java
+++ /dev/null
@@ -1,443 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Preferences;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IEditorDescriptor;
-import org.eclipse.ui.INewWizard;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.dialogs.PreferencesUtil;
-import org.eclipse.ui.part.FileEditorInput;
-import org.eclipse.wst.common.ui.internal.UIPlugin;
-import org.eclipse.wst.sse.core.internal.encoding.CommonEncodingPreferenceNames;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext;
-import org.eclipse.wst.ws.internal.ui.wsi.properties.WSICompliancePropertyPage;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.binding.http.internal.generator.HTTPContentGenerator;
-import org.eclipse.wst.wsdl.binding.http.internal.util.HTTPConstants;
-import org.eclipse.wst.wsdl.binding.soap.internal.generator.SOAPContentGenerator;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.generator.BindingGenerator;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.eclipse.wst.wsdl.internal.impl.WSDLFactoryImpl;
-import org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.CreateWSDLElementHelper;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMAttributeDeclaration;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMDataType;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMDocument;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMElementDeclaration;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMGroup;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMNamedNodeMap;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMNode;
-import org.eclipse.wst.xml.core.internal.contentmodel.CMNodeList;
-import org.eclipse.wst.xml.core.internal.contentmodel.internal.util.DOMValidator;
-import org.eclipse.wst.xml.core.internal.contentmodel.modelquery.ModelQuery;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.CMVisitor;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceInfo;
-import org.w3c.dom.Element;
-
-public class NewWSDLWizard extends Wizard implements INewWizard {
- private WSDLNewFilePage newFilePage;
- private WSDLNewFileOptionsPage optionsPage;
- private IStructuredSelection selection;
-
- /**
- * Constructor for NewWSDLWizard.
- */
- public NewWSDLWizard() {
- super();
- }
-
- /**
- * @see org.eclipse.jface.wizard.IWizard#performFinish()
- */
- public boolean performFinish() {
- IFile file = newFilePage.createNewFile();
-
- Preferences preference = XMLCorePlugin.getDefault().getPluginPreferences();
- String charSet = preference.getString(CommonEncodingPreferenceNames.OUTPUT_CODESET);
- if (charSet == null || charSet.trim().equals("")) { //$NON-NLS-1$
- charSet = "UTF-8"; //$NON-NLS-1$
- }
-
- String wsdlPrefix = "wsdl"; //$NON-NLS-1$
- Vector namespaces = optionsPage.getNamespaceInfo();
-
- String prefix = optionsPage.getPrefix();
- String definitionName = optionsPage.getDefinitionName();
-
- URI uri2 = URI.createPlatformResourceURI(file.getFullPath().toOSString());
- ResourceSet resourceSet = new ResourceSetImpl();
- WSDLResourceImpl resource = (WSDLResourceImpl) resourceSet.createResource(URI.createURI("*.wsdl")); //$NON-NLS-1$
- resource.setURI(uri2);
-
- WSDLFactoryImpl factory = new WSDLFactoryImpl();
- DefinitionImpl definition = (DefinitionImpl) factory.createDefinition();
- resource.getContents().add(definition);
-
- definition.setTargetNamespace(optionsPage.getTargetNamespace());
- definition.setLocation(file.getLocation().toString());
- definition.setEncoding(charSet);
- definition.setQName(new QName(wsdlPrefix, definitionName));
- definition.addNamespace(prefix, optionsPage.getTargetNamespace());
-
- for (int i = 0; i < namespaces.size(); i++) {
- NamespaceInfo info = (NamespaceInfo) namespaces.get(i);
-
- if (info.prefix.length() > 0) {
- definition.addNamespace(info.prefix, info.uri);
- }
- else {
- definition.addNamespace(null, info.uri);
- }
- }
- // TODO : cs... why do we need this? these calls are evil!
- definition.updateElement(true);
- try {
- if (optionsPage.getCreateSkeletonBoolean()) {
- if (optionsPage.isSoapDocLiteralProtocol()) {
- CreateWSDLElementHelper.PART_TYPE_OR_DEFINITION = CreateWSDLElementHelper.PART_INFO_ELEMENT_DECLARATION;
- }
- else {
- CreateWSDLElementHelper.PART_TYPE_OR_DEFINITION = CreateWSDLElementHelper.PART_INFO_TYPE_DEFINITION;
- }
-
- CreateWSDLElementHelper.serviceName = definitionName;
- CreateWSDLElementHelper.portName = definitionName + optionsPage.getProtocol();
- Service service = CreateWSDLElementHelper.createService(definition);
-
-
- // Generate Binding
- Iterator bindingIt = definition.getEBindings().iterator();
- Binding binding = null;
- if (bindingIt.hasNext()) {
- binding = (Binding) bindingIt.next();
- }
- BindingGenerator bindingGenerator = new BindingGenerator(definition, binding, SOAPConstants.SOAP_NAMESPACE_URI);
- Port port = (Port) service.getEPorts().iterator().next();
- bindingGenerator.setName(ComponentReferenceUtil.getName(port.getEBinding()));
- bindingGenerator.setRefName(ComponentReferenceUtil.getPortTypeReference(port.getEBinding()));
- bindingGenerator.setOverwrite(true);
-
- if (optionsPage.getProtocol().equals("SOAP")) { //$NON-NLS-1$
- String namespace = SOAPConstants.SOAP_NAMESPACE_URI;
- bindingGenerator.setContentGenerator(BindingGenerator.getContentGenerator(namespace));
-
- SOAPContentGenerator soapGen = (SOAPContentGenerator) bindingGenerator.getContentGenerator();
- Boolean booleanValue = (Boolean) optionsPage.getProtocolOptions()[0];
- Boolean booleanValue2 = (Boolean) optionsPage.getProtocolOptions()[2];
- if (booleanValue.booleanValue()) {
- // Document Literal
- soapGen.setStyle(SOAPContentGenerator.STYLE_DOCUMENT);
- soapGen.setUse(SOAPContentGenerator.USE_LITERAL);
- }
- else if (booleanValue2.booleanValue()){
- // RPC Literal
- soapGen.setStyle(SOAPContentGenerator.STYLE_RPC);
- soapGen.setUse(SOAPContentGenerator.USE_LITERAL);
- }
- else {
- // RPC Encoded
- soapGen.setStyle(SOAPContentGenerator.STYLE_RPC);
- soapGen.setUse(SOAPContentGenerator.USE_ENCODED);
- }
- }
- else if (optionsPage.getProtocol().equals("HTTP")) { //$NON-NLS-1$
- String namespace = HTTPConstants.HTTP_NAMESPACE_URI;
- bindingGenerator.setContentGenerator(BindingGenerator.getContentGenerator(namespace));
-
- Boolean booleanValue = (Boolean) optionsPage.getProtocolOptions()[0];
- if (booleanValue.booleanValue()) {
- // Post
- ((HTTPContentGenerator) bindingGenerator.getContentGenerator()).setVerb(HTTPContentGenerator.VERB_POST);
- }
- else {
- // Get
- ((HTTPContentGenerator) bindingGenerator.getContentGenerator()).setVerb(HTTPContentGenerator.VERB_GET);
- }
- }
-
- bindingGenerator.generateBinding();
- bindingGenerator.generatePortContent();
- }
- resource.save(null);
- }
- catch (Exception e) {
- System.out.println("\nCould not write new WSDL file in WSDL Wizard: " + e); //$NON-NLS-1$
- }
-
- /*
- * if (file != null) { final ISelection selection = new
- * StructuredSelection(file); if (selection != null) { IWorkbench
- * workbench = UIPlugin.getDefault().getWorkbench(); final
- * IWorkbenchWindow workbenchWindow =
- * workbench.getActiveWorkbenchWindow(); final IWorkbenchPart
- * focusPart = workbenchWindow.getActivePage().getActivePart(); if
- * (focusPart instanceof ISetSelectionTarget) {
- * Display.getCurrent().asyncExec (new Runnable() { public void run() {
- * ((ISetSelectionTarget)focusPart).selectReveal(selection); } }); } } }
- */
- openEditor(file);
-
- return true;
- }
-
- /**
- * @see org.eclipse.ui.IWorkbenchWizard#init(IWorkbench,
- * IStructuredSelection)
- */
- public void init(IWorkbench workbench, IStructuredSelection selection) {
- this.selection = selection;
-
- // Need new icon
- this.setDefaultPageImageDescriptor(ImageDescriptor.createFromFile(InternalWSDLMultiPageEditor.class, "icons/new_wsdl_wiz.gif")); //$NON-NLS-1$
- this.setWindowTitle(Messages._UI_TITLE_NEW_WSDL_FILE); //$NON-NLS-1$
- }
-
- public void addPages() {
- newFilePage = new WSDLNewFilePage(selection);
- optionsPage = new WSDLNewFileOptionsPage(Messages._UI_TITLE_OPTIONS, Messages._UI_TITLE_OPTIONS, null); //$NON-NLS-1$ //$NON-NLS-2$
- addPage(newFilePage);
- addPage(optionsPage);
- }
-
- public IPath getNewFilePath() {
- String fileName = newFilePage.getFileName();
- return fileName != null ? new Path(fileName) : null;
- }
-
- public boolean canFinish() {
- if (newFilePage.isPageComplete() && optionsPage.isPageComplete()) {
- return true;
- }
- return false;
- }
-
- static public void openEditor(final IFile iFile) {
- if (iFile != null) {
- IWorkbench workbench = UIPlugin.getDefault().getWorkbench();
- final IWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();
-
- Display.getDefault().asyncExec(new Runnable() {
- public void run() {
- try {
- String editorId = null;
- IEditorDescriptor editor = PlatformUI.getWorkbench().getEditorRegistry().getDefaultEditor(iFile.getLocation().toOSString(), iFile.getContentDescription().getContentType());
- if (editor != null) {
- editorId = editor.getId();
- }
- workbenchWindow.getActivePage().openEditor(new FileEditorInput(iFile), editorId);
- }
- catch (PartInitException ex) {
- // B2BGUIPlugin.getPlugin().getMsgLogger().write("Exception
- // encountered when attempting to open file: " + iFile
- // + "\n\n" + ex);
- }
- catch (CoreException ex) {
- }
- }
- });
- }
- }
-
- public class AvailableContentCMVisitor extends CMVisitor {
- public static final int INCLUDE_ATTRIBUTES = ModelQuery.INCLUDE_ATTRIBUTES;
- public static final int INCLUDE_CHILD_NODES = ModelQuery.INCLUDE_CHILD_NODES;
- public static final int INCLUDE_SEQUENCE_GROUPS = ModelQuery.INCLUDE_SEQUENCE_GROUPS;
-
- public Hashtable childNodeTable = new Hashtable();
- public Hashtable attributeTable = new Hashtable();
- public Element rootElement;
- public CMElementDeclaration rootElementDeclaration;
- public boolean isRootVisited;
- protected boolean includeSequenceGroups;
- public DOMValidator validator;
-
- public AvailableContentCMVisitor(Element rootElement, CMElementDeclaration rootElementDeclaration) {
- this.rootElement = rootElement;
- this.rootElementDeclaration = rootElementDeclaration;
- validator = new DOMValidator();
- }
-
- protected String getKey(CMNode cmNode) {
- String key = cmNode.getNodeName();
- CMDocument cmDocument = (CMDocument) cmNode.getProperty("CMDocument"); //$NON-NLS-1$
- if (cmDocument != null) {
- String namespaceURI = (String) cmDocument.getProperty("http://org.eclipse.wst/cm/properties/targetNamespaceURI"); //$NON-NLS-1$
- if (namespaceURI != null) {
- key = "[" + namespaceURI + "]" + key; //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- return key;
- }
-
- public List computeAvailableContent(int includeOptions) {
- Vector v = new Vector();
-
- int contentType = rootElementDeclaration.getContentType();
- includeSequenceGroups = ((includeOptions & INCLUDE_SEQUENCE_GROUPS) != 0);
- visitCMNode(rootElementDeclaration);
-
- if ((includeOptions & INCLUDE_ATTRIBUTES) != 0) {
- v.addAll(attributeTable.values());
- CMAttributeDeclaration nillableAttribute = (CMAttributeDeclaration) rootElementDeclaration.getProperty("http://org.eclipse.wst/cm/properties/nillable"); //$NON-NLS-1$
- if (nillableAttribute != null) {
- v.add(nillableAttribute);
- }
- }
-
- if ((includeOptions & INCLUDE_CHILD_NODES) != 0) {
- if (contentType == CMElementDeclaration.MIXED || contentType == CMElementDeclaration.ELEMENT) {
- v.addAll(childNodeTable.values());
- }
- else if (contentType == CMElementDeclaration.ANY) {
- CMDocument cmDocument = (CMDocument) rootElementDeclaration.getProperty("CMDocument"); //$NON-NLS-1$
- if (cmDocument != null) {
- CMNamedNodeMap elements = cmDocument.getElements();
- for (Iterator i = elements.iterator(); i.hasNext();) {
- v.add((CMElementDeclaration) i.next());
- }
- }
- }
-
- if (contentType == CMElementDeclaration.MIXED || contentType == CMElementDeclaration.PCDATA || contentType == CMElementDeclaration.ANY) {
- CMDataType dataType = rootElementDeclaration.getDataType();
- if (dataType != null) {
- v.add(dataType);
- }
- }
- }
- return v;
- }
-
- /*
- * public void visitCMAnyElement(CMAnyElement anyElement) { String uri =
- * anyElement.getNamespaceURI(); List list =
- * getCMDocumentList(rootElement, rootElementDeclaration, uri); for
- * (Iterator iterator = list.iterator(); iterator.hasNext(); ) {
- * CMDocument cmdocument = (CMDocument)iterator.next(); if (cmdocument !=
- * null) { CMNamedNodeMap map = cmdocument.getElements(); int size =
- * map.getLength(); for (int i = 0; i < size; i++) { CMNode ed =
- * map.item(i);
- *
- * childNodeTable.put(getKey(ed), ed); } } } }
- */
- public void visitCMAttributeDeclaration(CMAttributeDeclaration ad) {
- super.visitCMAttributeDeclaration(ad);
- attributeTable.put(ad.getNodeName(), ad);
- }
-
- public void visitCMElementDeclaration(CMElementDeclaration ed) {
- if (ed == rootElementDeclaration && !isRootVisited) {
- isRootVisited = true;
- super.visitCMElementDeclaration(ed);
- }
- else {
- if (!Boolean.TRUE.equals(ed.getProperty("Abstract"))) { //$NON-NLS-1$
- childNodeTable.put(getKey(ed), ed);
- }
-
- CMNodeList substitutionGroup = (CMNodeList) ed.getProperty("SubstitutionGroup"); //$NON-NLS-1$
- if (substitutionGroup != null) {
- handleSubstitutionGroup(substitutionGroup);
- }
- }
- }
-
- protected void handleSubstitutionGroup(CMNodeList substitutionGroup) {
- int substitutionGroupLength = substitutionGroup.getLength();
- if (substitutionGroupLength > 1) {
- for (int i = 0; i < substitutionGroupLength; i++) {
- CMNode ed = substitutionGroup.item(i);
- if (!Boolean.TRUE.equals(ed.getProperty("Abstract"))) { //$NON-NLS-1$
- childNodeTable.put(getKey(ed), ed);
- }
- }
- }
- }
-
- public void visitCMGroup(CMGroup group) {
- if (includeSequenceGroups) {
- if (group.getOperator() == CMGroup.SEQUENCE && group.getChildNodes().getLength() > 1 && includesRequiredContent(group)) {
- childNodeTable.put(group, group);
- }
- }
- super.visitCMGroup(group);
- }
-
- public boolean includesRequiredContent(CMGroup group) {
- List list = getValidator().createContentSpecificationList(group);
- return list.size() > 1;
- }
-
- public DOMValidator getValidator() {
- return validator;
- }
- } // ///////////////////////// here
-
-
- public void openProjectWSIProperties() {
- Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
- IProject targetProject = ResourcesPlugin.getWorkspace().getRoot().getFile(newFilePage.getContainerFullPath().append(newFilePage.getFileName())).getProject();
- //PreferencesUtil.createPropertyDialogOn(shell,targetProject,null,null,null).open();
-
- PreferencesUtil.createPropertyDialogOn(shell,targetProject,WSICompliancePropertyPage.PAGE_ID ,new String[] {WSICompliancePropertyPage.PAGE_ID},null).open();
- }
-
- public String getWSIPreferences() {
- IProject targetProject = ResourcesPlugin.getWorkspace().getRoot().getFile(newFilePage.getContainerFullPath().append(newFilePage.getFileName())).getProject();
- PersistentWSIContext WSISSBcontext = WSPlugin.getInstance().getWSISSBPContext();
-
- if (WSISSBcontext.projectStopNonWSICompliances(targetProject))
- {
- return (PersistentWSIContext.STOP_NON_WSI);
- }
- else if (WSISSBcontext.projectWarnNonWSICompliances(targetProject))
- {
- return (PersistentWSIContext.WARN_NON_WSI);
- }
- else
- {
- return (PersistentWSIContext.IGNORE_NON_WSI);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/PortWizard.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/PortWizard.java
deleted file mode 100644
index f1466fdc6..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/PortWizard.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import java.util.List;
-
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.internal.generator.PortGenerator;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.ProtocolComponentControl;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
-
-public class PortWizard extends Wizard
-{
- protected final static int STYLE_NEW_BINDING = 1;
- protected final static int STYLE_EXISTING_BINDING = 1 << 1;
- protected final static int STYLE_DEFAULT = STYLE_NEW_BINDING | STYLE_EXISTING_BINDING;
-
- protected PortGenerator portGenerator;
- protected PortWizardOptionsPage specifyBindingPage;
- protected int style;
-
- /**
- * Constructor for PortWizard.
- */
- public PortWizard(Service service)
- {
- this(service, 0);
- }
-
- public PortWizard(Service service, int style)
- {
- super();
- portGenerator = new PortGenerator(service);
- setWindowTitle(Messages._UI_PORT_WIZARD); //$NON-NLS-1$
- //setDefaultPageImageDescriptor(ImageDescriptor.createFromFile(WSDLEditorPlugin.class, "icons/NewXML.gif"));
- }
-
- /**
- * Return true if wizard setup is successful, false otherwise
- */
- public boolean setup()
- {
- return true;
- }
-
- public void addPages()
- {
- specifyBindingPage = new PortWizardOptionsPage(style);
- addPage(specifyBindingPage);
- }
-
- public boolean performFinish()
- {
- Object object = portGenerator.generatePort();
-
- try
- {
- if (object != null)
- {
- IEditorPart editorPart = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- ISelectionProvider selectionProvider = (ISelectionProvider) editorPart.getAdapter(ISelectionProvider.class);
- if (selectionProvider != null)
- {
- selectionProvider.setSelection(new StructuredSelection(object));
- }
- }
- }
- catch (Exception e)
- {
- }
- return true;
- }
-
- class PortWizardOptionsPage extends WizardPage
- {
-
- protected ProtocolComponentControl protocolComponentControl;
-
- public PortWizardOptionsPage(int style)
- {
- super("SpecifyPortPage"); //$NON-NLS-1$
- setTitle(Messages._UI_SPECIFY_PORT_DETAILS); //$NON-NLS-1$
- setDescription(Messages._UI_SPECIFY_PORT_DETAILS_TO_BE_CREATED); //$NON-NLS-1$
- }
-
- public PortGenerator getGenerator()
- {
- return portGenerator;
- }
-
- public void createControl(Composite parent)
- {
- ProtocolComponentControl protocolComponentControl = new PortProtocolComponentControl(parent, portGenerator);
- protocolComponentControl.initFields();
- setControl(protocolComponentControl);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(protocolComponentControl, ASDEditorCSHelpIds.PORT_WIZARD);
- }
- }
-
- class PortProtocolComponentControl extends ProtocolComponentControl
- {
-
- public PortProtocolComponentControl(Composite parent, PortGenerator generator)
- {
- super(parent, generator, false);
- }
-
- public String getRefNameLabelText()
- {
- return Messages._UI_BINDING; //$NON-NLS-1$
- }
-
- public List getRefNames()
- {
- return new ComponentReferenceUtil(portGenerator.getDefinition()).getBindingNames();
- }
-
- public String getDefaultName()
- {
- Service service = portGenerator.getService();
- return NameUtil.buildUniquePortName(service, null);
- }
-
- public ContentGeneratorOptionsPage createContentGeneratorOptionsPage(String protocol)
- {
- ContentGeneratorOptionsPage optionsPage = null;
- String protocolSelection = protocolCombo.getItem(protocolCombo.getSelectionIndex());
- if (protocolSelection.equals("SOAP")) { //$NON-NLS-1$
- optionsPage = new SoapBindingOptionsPage();
- }
- else if (protocolSelection.equals("HTTP")) { //$NON-NLS-1$
- optionsPage = new HttpBindingOptionsPage();
- }
- // TODO: We need to eventually put this back in
-// ContentGeneratorExtension extension = WSDLEditorPlugin.getInstance().getContentGeneratorExtensionRegistry().getContentGeneratorExtension(protocol);
-// if (extension != null)
-// {
-// optionsPage = extension.createPortContentGeneratorOptionsPage();
-// }
- return optionsPage;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/SoapBindingOptionsPage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/SoapBindingOptionsPage.java
deleted file mode 100644
index d38309d1b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/SoapBindingOptionsPage.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.binding.soap.internal.generator.SOAPContentGenerator;
-import org.eclipse.wst.wsdl.internal.generator.BaseGenerator;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.w3c.dom.Element;
-
-
-public class SoapBindingOptionsPage implements ContentGeneratorOptionsPage, SelectionListener
-{
- protected Button docLiteral;
- protected Button rpcLiteral;
- protected Button rpcEncoded;
- protected Composite control;
- protected BaseGenerator generator;
-
- public SoapBindingOptionsPage()
- {
- }
-
- public void init(BaseGenerator generator)
- {
- this.generator = generator;
- }
-
- public Composite createControl(Composite parent)
- {
- control = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.marginWidth = 0;
- control.setLayout(layout);
-
- Label separator = new Label(control, SWT.SEPARATOR | SWT.HORIZONTAL);
- GridData gd= new GridData();
- gd.horizontalAlignment= GridData.FILL;
- gd.grabExcessHorizontalSpace= true;
- separator.setLayoutData(gd);
-
- Label optionsHeading = new Label(control, SWT.NONE);
- optionsHeading.setText(Messages._UI_LABEL_SOAP_BINDING_OPTIONS); //$NON-NLS-1$
-
- docLiteral = new Button(control, SWT.RADIO);
- docLiteral.setText(Messages._UI_RADIO_DOCUMENT_LITERAL); //$NON-NLS-1$
- docLiteral.setSelection(true);
-
- rpcLiteral = new Button(control, SWT.RADIO);
- rpcLiteral.setText(Messages._UI_RADIO_RPC_LITERAL); //$NON-NLS-1$
-
- rpcEncoded = new Button(control, SWT.RADIO);
- rpcEncoded.setText(Messages._UI_RADIO_RPC_ENCODED); //$NON-NLS-1$
-
- if (generator.getName() != null)
- {
- Definition definition = generator.getDefinition();
- QName qname = new QName(definition.getTargetNamespace(), generator.getName());
- Binding binding = (Binding) definition.getBinding(qname);
-
- if (binding != null)
- {
- List eeList = binding.getEExtensibilityElements();
- if (eeList.size() > 0)
- {
- ExtensibilityElement ee = (ExtensibilityElement) eeList.get(0);
-
- Element element = WSDLEditorUtil.getInstance().getElementForObject(ee);
- String style = element.getAttribute("style"); //$NON-NLS-1$
-
- if ("rpc".equals(style)) //$NON-NLS-1$
- {
- // Try to determine if it's RPC Literal or RPC Encoded
- String use = "encoded"; //$NON-NLS-1$
- List operations = binding.getEBindingOperations();
- if (operations.size() > 0) {
- element = null;
- BindingOperation operation = (BindingOperation) operations.get(0);
- if (operation.getEBindingInput() != null && operation.getEBindingInput().getEExtensibilityElements().size() > 0) {
- Object object = operation.getEBindingInput().getEExtensibilityElements().get(0);
- element = WSDLEditorUtil.getInstance().getElementForObject(object);
- }
- else if (operation.getEBindingOutput() != null && operation.getEBindingOutput().getEExtensibilityElements().size() > 0) {
- Object object = operation.getEBindingOutput().getEExtensibilityElements().get(0);
- element = WSDLEditorUtil.getInstance().getElementForObject(object);
- }
- else if (operation.getEBindingFaults().size() > 0) {
- BindingFault fault = (BindingFault) operation.getEBindingFaults().get(0);
- List faultEE = fault.getExtensibilityElements();
-
- if (faultEE.size() > 0) {
- element = WSDLEditorUtil.getInstance().getElementForObject(faultEE.get(0));
- }
- }
-
- if (element != null) {
- use = element.getAttribute("use"); //$NON-NLS-1$
- }
- }
-
- if (use != null && "literal".equals(use)) { //$NON-NLS-1$
- docLiteral.setSelection(false);
- rpcLiteral.setSelection(true);
- rpcEncoded.setSelection(false);
- }
- else {
- docLiteral.setSelection(false);
- rpcLiteral.setSelection(false);
- rpcEncoded.setSelection(true);
- }
- }
- }
- }
- }
-
- docLiteral.addSelectionListener(this);
- rpcLiteral.addSelectionListener(this);
- rpcEncoded.addSelectionListener(this);
- computeOptions();
-
- return control;
- }
-
- public Composite getControl() {
- return control;
- }
-
- public boolean isOverwriteApplicable()
- {
- return true;
- }
-
- public void widgetSelected(SelectionEvent event)
- {
- computeOptions();
- }
-
- protected void computeOptions()
- {
- if (generator.getContentGenerator() instanceof SOAPContentGenerator) {
- SOAPContentGenerator soapGenerator = (SOAPContentGenerator) generator.getContentGenerator();
- if (docLiteral.getSelection()) {
- soapGenerator.setStyle(SOAPContentGenerator.STYLE_DOCUMENT);
- soapGenerator.setUse(SOAPContentGenerator.USE_LITERAL);
- }
- else if (rpcLiteral.getSelection()) {
- soapGenerator.setStyle(SOAPContentGenerator.STYLE_RPC);
- soapGenerator.setUse(SOAPContentGenerator.USE_LITERAL);
- }
- else if (rpcEncoded.getSelection()) {
- soapGenerator.setStyle(SOAPContentGenerator.STYLE_RPC);
- soapGenerator.setUse(SOAPContentGenerator.USE_ENCODED);
- }
- }
- }
-
- public void setOptionsOnGenerator() {
- computeOptions();
- }
-
- public void widgetDefaultSelected(SelectionEvent event)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFileOptionsPage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFileOptionsPage.java
deleted file mode 100644
index 4a6365bcb..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFileOptionsPage.java
+++ /dev/null
@@ -1,691 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-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.SelectionListener;
-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.Display;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Link;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.help.WorkbenchHelp;
-import org.eclipse.ui.part.PageBook;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.util.ValidateHelper;
-import org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceInfo;
-import org.eclipse.wst.xml.ui.internal.dialogs.UpdateListener;
-
-public class WSDLNewFileOptionsPage extends WizardPage implements ModifyListener, UpdateListener, SelectionListener
-{
- protected Text targetNamespaceText;
- protected Text prefixText;
- protected boolean updatePortOpFieldBoolean = true;
-
- protected PageBook protocolPageBook;
- protected Combo protocolCombo;
- protected Composite soapPage;
- protected Composite httpPage;
- protected Button docLitRadio;
- protected Button rpcLitRadio;
- protected Button rpcEncRadio;
- protected Button httpGetRadio;
- protected Button httpPostRadio;
- protected Link WSIPreferenceLink;
-
-// private BindingGenerator generator;
-
- /**
- * Constructor for WSDLNewFileOptionsPage.
- * @param pageName
- */
- public WSDLNewFileOptionsPage(String pageName)
- {
- super(pageName);
- }
- /**
- * Constructor for WSDLNewFileOptionsPage.
- * @param pageName
- * @param title
- * @param titleImage
- */
- public WSDLNewFileOptionsPage(String pageName, String title, ImageDescriptor titleImage)
- {
- super(pageName, title, titleImage);
- setDescription(Messages._UI_DESCRIPTION_NEW_WSDL_FILE); //$NON-NLS-1$
- }
- /**
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(Composite)
- */
- public void createControl(Composite parent)
- {
- Composite base = new Composite(parent, SWT.NONE);
- WorkbenchHelp.setHelp(base, Messages._UI_HELP); //$NON-NLS-1$
- base.setLayout(new GridLayout());
-
- // Group wsdlGroup = ViewUtility.createGroup(base, 2, "WSDL", false);
- Composite wsdlGroup = new Composite(base, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.numColumns = 2;
- wsdlGroup.setLayout(layout);
-
- GridData data = new GridData();
- data.verticalAlignment = GridData.FILL;
- data.horizontalAlignment = GridData.FILL;
- wsdlGroup.setLayoutData(data);
-
- GridData gd = (GridData)wsdlGroup.getLayoutData();
- gd.grabExcessHorizontalSpace = true;
-
- Label targetNamespace = new Label(wsdlGroup, SWT.LEFT);
- targetNamespace.setText(Messages._UI_LABEL_TARGET_NAMESPACE); //$NON-NLS-1$
- GridData nsData = new GridData();
- nsData.horizontalAlignment = GridData.FILL;
- targetNamespace.setLayoutData(nsData);
-
- targetNamespaceText = new Text(wsdlGroup, SWT.SINGLE | SWT.BORDER);
- GridData textData = new GridData();
- textData.horizontalAlignment = GridData.FILL;
- textData.grabExcessHorizontalSpace = true;
- textData.widthHint = 10;
- targetNamespaceText.setLayoutData(textData);
-
- targetNamespaceText.addModifyListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(targetNamespaceText, ASDEditorCSHelpIds.WSDL_WIZARD_OPTIONS_PAGE_TNS_TEXT);
-
- Label prefix = new Label(wsdlGroup, SWT.LEFT);
- prefix.setText(Messages._UI_LABEL_PREFIX_WITH_COLON); //$NON-NLS-1$\
-
- GridData prefixData = new GridData();
- prefixData.horizontalAlignment = GridData.FILL;
- prefix.setLayoutData(prefixData);
-
- prefixText = new Text(wsdlGroup, SWT.SINGLE | SWT.BORDER);
- GridData prefixTextData = new GridData();
- prefixTextData.horizontalAlignment = GridData.FILL;
- prefixTextData.grabExcessHorizontalSpace = true;
- prefixTextData.widthHint = 10;
- prefixText.setLayoutData(prefixTextData);
-
- prefixText.addModifyListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(prefixText, ASDEditorCSHelpIds.WSDL_WIZARD_OPTIONS_PAGE_PREFIX_TEXT);
-
- // XMLCatalog xmlCatalog = XMLCatalogRegistry.getInstance().lookupOrCreateXMLCatalog("default");
- // SelectXMLCatalogIdPanel catalog = new SelectXMLCatalogIdPanel(base, xmlCatalog);
-
-// Determine if the user wishes to create a skeleton WSDL. If yes, present the user with input fields.
- createSkeletonCheckBox = new Button(base, SWT.CHECK);
- createSkeletonCheckBox.setText(Messages._UI_LABEL_CREATE_WSDL_SKELETON); //$NON-NLS-1$
- createSkeletonCheckBox.setSelection(true);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(createSkeletonCheckBox, ASDEditorCSHelpIds.WSDL_WIZARD_OPTIONS_PAGE_CREATE_SKELETON_CHECKBOX);
-
- wsdlSkeletonGroup = new Composite(base, SWT.NONE);
- GridLayout layout2 = new GridLayout();
- layout2.numColumns = 2;
- wsdlSkeletonGroup.setLayout(layout2);
-
- GridData data2 = new GridData();
- data2.verticalAlignment = GridData.FILL;
- data2.horizontalAlignment = GridData.FILL;
- wsdlSkeletonGroup.setLayoutData(data2);
-
- createLabel(wsdlSkeletonGroup, Messages._UI_LABEL_BINDING_PROTOCOL); //$NON-NLS-1$
- protocolCombo = new Combo(wsdlSkeletonGroup, SWT.READ_ONLY);
- GridData dataC = new GridData();
- dataC.horizontalAlignment = GridData.FILL;
- dataC.grabExcessHorizontalSpace = true;
- protocolCombo.setLayoutData(dataC);
- protocolCombo.add(SOAP_PROTOCOL);
- protocolCombo.add(HTTP_PROTOCOL);
- protocolCombo.select(0);
- protocolCombo.addModifyListener(this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(protocolCombo, ASDEditorCSHelpIds.WSDL_WIZARD_OPTIONS_PAGE_PROTOCOL_COMBO);
-
- sepLabel = new Label(base, SWT.SEPARATOR | SWT.HORIZONTAL);
- GridData sepData = new GridData();
- sepData.horizontalAlignment = GridData.FILL;
- sepData.grabExcessHorizontalSpace = true;
- sepLabel.setLayoutData(sepData);
-
-
- // Create PageBook and pages/controls for the PageBook
- protocolPageBook = new PageBook(base, SWT.NONE);
-
- ///////////////////////// Soap Page
- soapPage = new Composite(protocolPageBook, SWT.NONE);
- GridLayout pbLayout = new GridLayout();
- soapPage.setLayout(pbLayout);
-
- GridData pbData = new GridData();
- pbData.verticalAlignment = GridData.FILL;
- pbData.horizontalAlignment = GridData.FILL;
- soapPage.setLayoutData(pbData);
-
- createLabel(soapPage, Messages._UI_LABEL_SOAP_BINDING_OPTIONS); //$NON-NLS-1$
- docLitRadio = new Button(soapPage, SWT.RADIO);
- rpcLitRadio = new Button(soapPage, SWT.RADIO);
- rpcEncRadio = new Button(soapPage, SWT.RADIO);
- docLitRadio.setText(SOAP_DOCUMENT_LITERAL);
- rpcLitRadio.setText(SOAP_RPC_LITERAL);
- rpcEncRadio.setText(SOAP_RPC_ENCODED);
- docLitRadio.setSelection(true);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(docLitRadio, ASDEditorCSHelpIds.DOC_LIT_RADIO);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(rpcLitRadio, ASDEditorCSHelpIds.RPC_LIT_RADIO);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(rpcEncRadio, ASDEditorCSHelpIds.RPC_ENCODED_RADIO);
-
- ///////////////////////// Http Page
- httpPage = new Composite(protocolPageBook, SWT.NONE);
- pbLayout = new GridLayout();
- httpPage.setLayout(pbLayout);
-
- pbData = new GridData();
- pbData.verticalAlignment = GridData.FILL;
- pbData.horizontalAlignment = GridData.FILL;
- httpPage.setLayoutData(pbData);
-
- createLabel(httpPage, Messages._UI_LABEL_HTTP_BINDING_OPTIONS); // Already Externalized //$NON-NLS-1$
- httpGetRadio = new Button(httpPage, SWT.RADIO);
- httpPostRadio = new Button(httpPage, SWT.RADIO);
- httpGetRadio.setText(HTTP_GET);
- httpPostRadio.setText(HTTP_POST);
- httpGetRadio.setSelection(true);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(httpGetRadio, ASDEditorCSHelpIds.HTTP_GET_RADIO);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(httpPostRadio, ASDEditorCSHelpIds.HTTP_POST_RADIO);
-
- wsdlSkeletonGroup.setVisible(true);
- sepLabel.setVisible(true);
- protocolPageBook.showPage(soapPage);
- protocolPageBook.setVisible(true);
-
- WSIPreferenceLink = new Link(base, SWT.NONE);
- WSIPreferenceLink.setText("<A>" + Messages.getString("_WSI_COMPLIANCE_LINK_TEXT") + "</A>");
- WSIPreferenceLink.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- getNewWSDLWizard().openProjectWSIProperties();
- setPageComplete(isPageComplete());
- }
- });
-
- WSIPreferenceLink.setLayoutData(new GridData(GridData.GRAB_VERTICAL | GridData.VERTICAL_ALIGN_END));
- ////////////////////////// Add Selection Listeners
- createSkeletonCheckBox.addSelectionListener(this);
-
-
- rpcEncRadio.addSelectionListener(this);
-
-
-// BindingProtocolComponentControl component = new BindingProtocolComponentControl(base, generator, false);
-// component.initFields();
-
- PlatformUI.getWorkbench().getHelpSystem().setHelp(base, ASDEditorCSHelpIds.WSDL_WIZARD_OPTIONS_PAGE);
-
- setControl(base);
-
- }
-
- private NewWSDLWizard getNewWSDLWizard()
- {
- return (NewWSDLWizard)getWizard();
- }
-
- private String computeDefaultDefinitionName()
- {
- String name = "DefaultName"; //$NON-NLS-1$
- IPath path = getNewWSDLWizard().getNewFilePath();
- if (path != null)
- {
- name = path.removeFileExtension().lastSegment().toString();
- }
- return name;
- }
-
- private String computeDefaultNamespaceName()
- {
- String namespace = WSDLEditorPlugin.getInstance().getPreferenceStore().getString(Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE); //$NON-NLS-1$
- if (!namespace.endsWith("/")) { //$NON-NLS-1$
- namespace = namespace.concat("/"); //$NON-NLS-1$
- }
-
- IPath path = getNewWSDLWizard().getNewFilePath();
- if (path != null)
- {
- namespace += path.removeFileExtension().toString() + "/"; //$NON-NLS-1$
- }
- return namespace;
- }
-
- public void setVisible(boolean visible)
- {
- super.setVisible(visible);
-
- if (visible)
- {
- // prime the fields
- targetNamespaceText.setText(computeDefaultNamespaceName());
- prefixText.setText("tns"); //$NON-NLS-1$
- }
- }
-
- public String getTargetNamespace()
- {
- return targetNamespaceText.getText();
- }
-
- public String getPrefix()
- {
- return prefixText.getText().trim();
- }
-
- public String getDefinitionName()
- {
- return computeDefaultDefinitionName();
- }
-
- public void modifyText(ModifyEvent e)
- {
-
- if (e.widget == targetNamespaceText)
- {
- startDelayedEvent(e);
- }
- else if (e.widget == prefixText)
- {
- setPageComplete(isPageComplete());
- }
- else if (e.widget == protocolCombo) {
- // Update what page/control we show in the PageBook
- if (protocolCombo.getText().equals("SOAP")) { //$NON-NLS-1$
- protocolPageBook.showPage(soapPage);
- }
- else if (protocolCombo.getText().equals("HTTP")) { //$NON-NLS-1$
- protocolPageBook.showPage(httpPage);
- }
- setPageComplete(isPageComplete());
- }
- }
-
- public void updateOccured(Object arg1, Object arg2)
- {
- setPageComplete(isPageComplete());
- }
-
- public boolean isPageComplete()
- {
- boolean ready = true;
-
- setErrorMessage(null);
- setMessage(null);
-
- //this.setMessage(Messages.getString("_UI_DESCRIPTION_NEW_WSDL_FILE"),this.NONE); //$NON-NLS-1$
-
- // so that the page doesn't immediately show up with an error
- if (targetNamespaceText.getText().trim().equals("")) //$NON-NLS-1$
- {
- if (ready)
- {
- setErrorMessage(null);
- }
- return false;
- }
-
- if (!validateTargetNamespace(targetNamespaceText.getText()))
- {
- ready = false;
- }
-
- if (createSkeletonCheckBox.getSelection()) {
-
- if (!validateWSICompliance()) {
-
- ready = false;
- }
- }
- else {
- this.setMessage(Messages.getString("_UI_DESCRIPTION_NEW_WSDL_FILE"),this.NONE); //$NON-NLS-1$
- }
-
- return ready;
- }
-
- protected boolean validateWSICompliance() {
- String WSICompliance = getNewWSDLWizard().getWSIPreferences();
-
- if (!(protocolCombo.getText().equals("SOAP"))) {
- if (WSICompliance.equals(PersistentWSIContext.STOP_NON_WSI)) {
- this.setErrorMessage(Messages.getString("_ERROR_WSI_COMPLIANCE_SOAP_PROTOCOL"));
- return false;
- } else if (WSICompliance.equals(PersistentWSIContext.WARN_NON_WSI)) {
- this.setMessage(Messages.getString("_WARN_WSI_COMPLIANCE_SOAP_PROTOCOL"), this.WARNING);
- return true;
- }
- } else if (rpcEncRadio.getSelection()) {
- if (WSICompliance.equals(PersistentWSIContext.STOP_NON_WSI)) {
- this.setErrorMessage(Messages.getString("_ERROR_WSI_COMPLIANCE_RPC_ENCODING"));
- return false;
- } else if (WSICompliance.equals(PersistentWSIContext.WARN_NON_WSI)) {
- this.setMessage(Messages.getString("_WARN_WSI_COMPLIANCE_RPC_ENCODING"), this.WARNING);
- return true;
- }
- } else {
- this.setMessage(Messages.getString("_UI_DESCRIPTION_NEW_WSDL_FILE"),this.NONE); //$NON-NLS-1$
- }
-
- return true;
- }
-
- protected boolean validatePrefix(String prefix)
- {
- String errorMessage = ValidateHelper.checkXMLPrefix(prefix);
-
- if (errorMessage == null || errorMessage.length() == 0)
- {
- return true;
- }
- return false;
- }
-
- protected boolean validateXMLName(String xmlName)
- {
- String errorMessage = ValidateHelper.checkXMLName(xmlName);
-
- if (errorMessage == null || errorMessage.length() == 0)
- {
- return true;
- }
- setErrorMessage(errorMessage);
- return false;
- }
-
- protected boolean validateTargetNamespace(String ns)
- {
- boolean test = true;
- try
- {
- new URI(ns);
-// URI testURI = new URI(ns);
- // if (!testURI.isGenericURI())
- // {
- // setErrorMessage(WSDLEditorPlugin.getInstance().getWSDLString("_UI_ERROR_NAMESPACE_INVALID")); //$NON-NLS-1$
- // test = false;
- // }
- }
- catch (URISyntaxException e)
- {
- // String errorMessage = ValidateHelper.checkXMLName(ns);
- // if (errorMessage == null || errorMessage.length() == 0)
- // {
- // test = true;
- // }
- // else
- // {
- setErrorMessage(Messages._UI_ERROR_NAMESPACE_INVALID); //$NON-NLS-1$
- test = false;
- // }
- }
-
- return test;
- }
-
- /*
- private boolean arePrefixesUniqueAndValid()
- {
- java.util.List infoList = namespaceInfo.getNamespaceInfoList();
- java.util.List checkedList = namespaceInfo.getNamespaceCheckedList();
-
- Vector prefixList = new Vector();
- boolean test = true;
- boolean isOneBlank = false;
-
- String currentPrefix = prefixText.getText().trim();
- if (currentPrefix.length() == 0)
- {
- isOneBlank = true;
- }
- else
- {
- if (validatePrefix(currentPrefix))
- {
- prefixList.add(currentPrefix);
- }
- else
- {
- setErrorMessage(WSDLEditorPlugin.getWSDLString("_UI_ERROR_PREFIX_IS_INVALID", currentPrefix)); //$NON-NLS-1$
- return false;
- }
- }
-
- for (int i = 0; i < infoList.size(); i++)
- {
- NamespaceInfo info = (NamespaceInfo)infoList.get(i);
- if (((String)checkedList.get(i)).equals("true")) //$NON-NLS-1$
- {
- String aPrefix = info.prefix.trim();
- if (aPrefix.length() > 0)
- {
- if (!prefixList.contains(aPrefix))
- {
- if (validatePrefix(aPrefix))
- {
- prefixList.add(aPrefix);
- }
- else
- {
- setErrorMessage(WSDLEditorPlugin.getWSDLString("_UI_ERROR_PREFIX_IS_INVALID", info.prefix)); //$NON-NLS-1$
- test = false;
- break;
- }
- }
- else
- {
- setErrorMessage(WSDLEditorPlugin.getWSDLString("_UI_ERROR_PREFIX_IS_A_DUPLICATE", info.prefix)); //$NON-NLS-1$
- test = false;
- break;
- }
- }
- else
- {
- if (!isOneBlank)
- {
- isOneBlank = true;
- }
- else
- {
- setErrorMessage(WSDLEditorPlugin.getWSDLString("_UI_ERROR_MORE_THAN_ONE_PREFIX_IS_BLANK")); //$NON-NLS-1$
- test = false;
- break;
- }
- }
- }
- }
- return test;
- }
- */
-
- protected DelayedEvent delayedTask;
- protected void startDelayedEvent(ModifyEvent e)
- {
- if (delayedTask == null || delayedTask.getEvent() == null)
- {
- delayedTask = new DelayedEvent();
- delayedTask.setEvent(e);
- Display.getDefault().timerExec(500, delayedTask);
- }
- else
- {
- ModifyEvent delayedEvent = delayedTask.getEvent();
-
- if (e.widget == delayedEvent.widget)
- {
- // same event, just different data, delay new event
- delayedTask.setEvent(null);
- }
- delayedTask = new DelayedEvent();
- delayedTask.setEvent(e);
- Display.getDefault().timerExec(500, delayedTask);
- }
- }
-
- class DelayedEvent implements Runnable
- {
- protected ModifyEvent event;
-
- /*
- * @see Runnable#run()
- */
- public void run()
- {
- if (event != null)
- {
- setPageComplete(isPageComplete());
- event = null;
- }
- }
-
- public ModifyEvent getEvent()
- {
- return event;
- }
-
- public void setEvent(ModifyEvent event)
- {
- this.event = event;
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- }
-
- public void widgetSelected(SelectionEvent e) {
- if (e.widget == rpcEncRadio) {
- setPageComplete(isPageComplete());
- }
-
- if (e.widget == createSkeletonCheckBox) {
- if (createSkeletonCheckBox.getSelection()) {
- wsdlSkeletonGroup.setVisible(true);
- sepLabel.setVisible(true);
- protocolPageBook.setVisible(true);
- }
- else {
- wsdlSkeletonGroup.setVisible(false);
- sepLabel.setVisible(false);
- protocolPageBook.setVisible(false);
- }
- setPageComplete(isPageComplete());
- }
- }
-
- private static final String SOAP_PROTOCOL = "SOAP"; //$NON-NLS-1$
- private static final String HTTP_PROTOCOL = "HTTP"; //$NON-NLS-1$
- private static final String SOAP_RPC_ENCODED = Messages._UI_RADIO_RPC_ENCODED; //$NON-NLS-1$
- private static final String SOAP_RPC_LITERAL = Messages._UI_RADIO_RPC_LITERAL; //$NON-NLS-1$
- private static final String SOAP_DOCUMENT_LITERAL = Messages._UI_RADIO_DOCUMENT_LITERAL; //$NON-NLS-1$
- private static final String HTTP_POST = "HTTP POST"; //$NON-NLS-1$
- private static final String HTTP_GET = "HTTP GET"; //$NON-NLS-1$
-
- Composite wsdlSkeletonGroup;
- Button createSkeletonCheckBox;
-
- Label sepLabel;
-
- private Label createLabel(Composite comp, String labelString) {
- Label label = new Label(comp, SWT.LEFT);
- label.setText(labelString);
- GridData nsData = new GridData();
- nsData.horizontalAlignment = GridData.FILL;
- label.setLayoutData(nsData);
-
- return label;
- }
-
- public Vector getNamespaceInfo() {
- Vector namespaces = new Vector();
-
- // Add Default Namespaces
- NamespaceInfo info1 = new NamespaceInfo();
- info1.prefix = "wsdl"; //$NON-NLS-1$
- info1.uri = "http://schemas.xmlsoap.org/wsdl/"; //$NON-NLS-1$
- namespaces.addElement(info1);
-
- NamespaceInfo info8 = new NamespaceInfo();
- info8.prefix = "xsd"; //$NON-NLS-1$
- info8.uri = "http://www.w3.org/2001/XMLSchema"; //$NON-NLS-1$
- namespaces.addElement(info8);
-
- return namespaces;
- }
-
- public boolean getCreateSkeletonBoolean() {
- return createSkeletonCheckBox.getSelection();
- }
-
- public String getProtocol() {
- return protocolCombo.getText();
- }
-
- public Object[] getProtocolOptions() {
- Object bool[] = new Boolean[3];
- if (protocolCombo.getText().equals(SOAP_PROTOCOL)) {
- if (docLitRadio.getSelection()) {
- bool[0] = new Boolean(true);
- }
- else {
- bool[0] = new Boolean(false);
- }
-
- if (rpcLitRadio.getSelection()) {
- bool[2] = new Boolean(true);
- }
- else {
- bool[2] = new Boolean(false);
- }
- }
- else if (protocolCombo.getText().equals(HTTP_PROTOCOL)){
- if (httpGetRadio.getSelection()) {
- bool[0] = new Boolean(false);
- }
- else {
- bool[0] = new Boolean(true);
- }
- }
-
- return bool;
- }
-
- public boolean isSoapDocLiteralProtocol() {
- if (getProtocol().equals(SOAP_PROTOCOL) && docLitRadio.getSelection()) {
- return true;
- }
- else {
- return false;
- }
- }
- }
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFilePage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFilePage.java
deleted file mode 100644
index 0b5fb0d43..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFilePage.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.wizards;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-
-public class WSDLNewFilePage extends WizardNewFileCreationPage
-{
- public WSDLNewFilePage(IStructuredSelection selection)
- {
- super(Messages._UI_TITLE_NEW_WSDL_FILE, selection); //$NON-NLS-1$
- setTitle(Messages._UI_TITLE_NEW_WSDL_FILE); //$NON-NLS-1$
- setDescription(Messages._UI_LABEL_CREATE_NEW_WSDL_FILE); //$NON-NLS-1$
- }
-
- public void createControl(Composite parent)
- {
- // inherit default container and name specification widgets
- super.createControl(parent);
- this.setFileName(computeDefaultFileName());
-
- setPageComplete(validatePage());
- }
-
- protected boolean validatePage()
- {
- Path newName = new Path(getFileName());
- String fullFileName = getFileName();
- String extension = newName.getFileExtension();
- if (extension == null || !extension.equalsIgnoreCase("wsdl")) //$NON-NLS-1$
- {
- setErrorMessage(Messages._UI_ERROR_FILE_MUST_END_WITH_WSDL); //$NON-NLS-1$
- return false;
- }
- else
- {
- setErrorMessage(null);
- }
-
- // check for file should be case insensitive
- String sameName = existsFileAnyCase(fullFileName);
- if (sameName != null)
- {
-// String qualifiedFileName = getContainerFullPath().toString() + '/' + fullFileName;
- setErrorMessage(NLS.bind(Messages._UI_ERROR_FILE_ALREADY_EXISTS, sameName)); //$NON-NLS-1$
- return false;
- }
-
-
- return super.validatePage();
- }
-
- public String defaultName = "NewWSDLFile"; //$NON-NLS-1$
- public String defaultFileExtension = ".wsdl"; //$NON-NLS-1$
- public String[] filterExtensions = { "*.wsdl"}; //$NON-NLS-1$
-
-
- protected String computeDefaultFileName()
- {
- int count = 0;
- String fileName = defaultName + defaultFileExtension;
- IPath containerFullPath = getContainerFullPath();
- if (containerFullPath != null)
- {
- while (true)
- {
- IPath path = containerFullPath.append(fileName);
- // if (WorkbenchUtility.getWorkspace().getRoot().exists(path))
- if (ResourcesPlugin.getWorkspace().getRoot().exists(path))
- {
- count++;
- fileName = defaultName + count + defaultFileExtension;
- }
- else
- {
- break;
- }
- }
- }
- return fileName;
- }
-
- // returns true if file of specified name exists in any case for selected container
- protected String existsFileAnyCase(String fileName)
- {
- if ( (getContainerFullPath() != null) && (getContainerFullPath().isEmpty() == false)
- && (fileName.compareTo("") != 0)) //$NON-NLS-1$
- {
- //look through all resources at the specified container - compare in upper case
- IResource parent = ResourcesPlugin.getWorkspace().getRoot().findMember(getContainerFullPath());
- if (parent instanceof IContainer)
- {
- IContainer container = (IContainer) parent;
- try
- {
- IResource[] members = container.members();
- String enteredFileUpper = fileName.toUpperCase();
- for (int i=0; i<members.length; i++)
- {
- String resourceUpperName = members[i].getName().toUpperCase();
- if (resourceUpperName.equals(enteredFileUpper))
- {
- return members[i].getName();
- }
- }
- }
- catch (CoreException e)
- {
- }
- }
- }
- return null;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/xsd/XSDNodeAssociationProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/xsd/XSDNodeAssociationProvider.java
deleted file mode 100644
index 29c346b7c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/xsd/XSDNodeAssociationProvider.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.xsd;
-
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.ui.internal.extensions.INodeAssociationProvider;
-
-
-import org.eclipse.wst.xsd.ui.internal.adapters.CategoryAdapter;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDSchema;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class XSDNodeAssociationProvider implements INodeAssociationProvider
-{
- public Object getModelObject(Object parentModelObject, Element[] elementChain, int start, int[] end)
- {
- Object result = null;
- if (parentModelObject instanceof XSDSchemaExtensibilityElement)
- {
- XSDSchemaExtensibilityElement extensibilityElement = (XSDSchemaExtensibilityElement)parentModelObject;
- XSDSchema schema = extensibilityElement.getSchema();
- if (schema != null)
- {
- Element targetElement = elementChain[elementChain.length - 1];
- result = schema.getCorrespondingComponent(targetElement);
- }
- }
- else if (parentModelObject instanceof CategoryAdapter)
- {
- result = ((CategoryAdapter)parentModelObject).getXSDSchema();
- }
-// else if (parentModelObject instanceof Category)
-// {
-// result = ((Category)parentModelObject).getXSDSchema();
-// }
-
- return result;
- }
-
- public Node getNode(Object modelObject)
- {
- Node node = null;
- if (modelObject instanceof XSDSchemaExtensibilityElement)
- {
- XSDSchemaExtensibilityElement extensibilityElement = (XSDSchemaExtensibilityElement)modelObject;
- XSDSchema schema = extensibilityElement.getSchema();
- if (schema != null)
- {
- node = schema.getElement();
- }
- }
- else if (modelObject instanceof XSDConcreteComponent)
- {
- node = ((XSDConcreteComponent)modelObject).getElement();
- }
- else if (modelObject instanceof CategoryAdapter)
- {
- node = ((CategoryAdapter)modelObject).getXSDSchema().getElement();
- }
-// else if (modelObject instanceof Category)
-// {
-// node = ((Category)modelObject).getXSDSchema().getElement();
-// }
-
- return node;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorCSHelpIds.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorCSHelpIds.java
deleted file mode 100644
index f2418c2e3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorCSHelpIds.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd;
-
-public class ASDEditorCSHelpIds {
- private static String pluginId = "org.eclipse.wst.wsdl.ui.";
-
- /*-------------------------------------------------------------------------------
- New WSDL Wizard - Options page:
- -------------------------------------------------------------------------------*/
- public static String WSDL_WIZARD_OPTIONS_PAGE_TNS_TEXT = pluginId + "wsdlu0000";
- public static String WSDL_WIZARD_OPTIONS_PAGE_PREFIX_TEXT = pluginId + "wsdlu0001";
- public static String WSDL_WIZARD_OPTIONS_PAGE_CREATE_SKELETON_CHECKBOX = pluginId + "wsdlu0002";
- public static String WSDL_WIZARD_OPTIONS_PAGE_PROTOCOL_COMBO = pluginId + "wsdlu0003";
-
-// Soap Binding Options
- public static String DOC_LIT_RADIO = pluginId + "wsdlu0010";
- public static String RPC_LIT_RADIO = pluginId + "wsdlu0011";
- public static String RPC_ENCODED_RADIO = pluginId + "wsdlu0012";
-
-// HTTP Binding Options
- public static String HTTP_GET_RADIO = pluginId + "wsdlu0013";
- public static String HTTP_POST_RADIO = pluginId + "wsdlu0014";
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Design View
- -------------------------------------------------------------------------------*/
- public static String WSDL_DESIGN_VIEW_SERVICE_OBJECT = pluginId + "wsdlu0020"; // Service Object --> wsdlu0020
- public static String WSDL_DESIGN_VIEW_BINDING_OBJECT = pluginId + "wsdlu0021"; // Binding Object --> wsdlu0021
- public static String WSDL_DESIGN_VIEW_PORTTYPE_OBJECT = pluginId + "wsdlu0022"; // PortType Object --> wsdlu0022
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Outline View
- -------------------------------------------------------------------------------*/
- public static String WSDL_OUTLINE_VIEW_GROUP = pluginId + "wsdlu0023"; // Imports, Types, Services, Bindings, Port Types, Messages (grouped together) --> wsdlu0023
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Port Wizard
- -------------------------------------------------------------------------------*/
- public static String PORT_WIZARD = pluginId + "wsdlu0030";
- public static String PORT_WIZARD_NAME_TEXT = pluginId + "wsdlu0031"; // not used - dup below
- public static String PORT_WIZARD_BINDING_COMBO = pluginId + "wsdlu0032"; // not used - dup below
- public static String PORT_WIZARD_PROTOCOL_COMBO = pluginId + "wsdlu0033"; // not used - dup below
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Generate Binding Wizard
- -------------------------------------------------------------------------------*/
- public static String BINDING_WIZARD = pluginId + "wsdlu0040";
- public static String PROTOCOL_COMPONENT_NAME_TEXT = pluginId + "wsdlu0041";
- public static String PROTOCOL_COMPONENT_REF_COMBO = pluginId + "wsdlu0042";
- public static String PROTOCOL_COMPONENT_PROTOCOL_COMBO = pluginId + "wsdlu0043";
- public static String pROTOCOL_COMPONENT_OVERWRITE_CHECKBOX = pluginId + "wsdlu0044";
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Edit Namespaces Dialog --- common.ui
- -------------------------------------------------------------------------------*/
- public static String EDIT_NS_DIALOG = pluginId + "wsdlu0050"; // Edit Namespaces Dialog "dialog" --> wsdlu0050
- public static String EDIT_NS_DIALOG_TNS_TEXT = pluginId + "wsdlu0051"; // Target Namespace "text" --> wsdlu0051
- public static String EDIT_NS_DIALOG_DECLARATIONS_TABLE = pluginId + "wsdlu0052"; // Namespace Declarations "table" --> wsdlu0052
-
- public static String EDIT_NS_DIALOG_ADD_BUTTON = pluginId + "wsdlu0053"; // Add... "push button" --> wsdlu0053
- public static String EDIT_NS_DIALOG_EDIT_BUTTON = pluginId + "wsdlu0054"; // Edit... "push button" --> wsdlu0054
- public static String EDIT_NS_DIALOG_DELETE_BUTTON = pluginId + "wsdlu0055"; // Delete "push button" --> wsdlu0055
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Add Namespace Declarations Dialog --- common.ui
- -------------------------------------------------------------------------------*/
- public static String ADD_NS_DECL = pluginId + "wsdlu0060"; // Add Namespace Declarations Dialog "dialog" --> wsdlu0060
- public static String ADD_NS_DECL_SELECT_REG_NS_RADIO = pluginId + "wsdlu0061"; // Select From Registered Namespaces "radio" --> wsdlu0061
- public static String ADD_NS_DECL_SPECIFY_NEW_NS_RADIO = pluginId + "wsdlu0062"; // Specify New Namespace "radio" --> wsdlu0062
-
- // Registered Namespaces:
- public static String ADD_NS_DECL_SELECT_NS_TO_ADD_TABLE = pluginId + "wsdlu0063"; // Select the namespace declarations to add "table" --> wsdlu0063
-
- // New Namespace:
- public static String ADD_NS_DECL_PREFIX_TEXT = pluginId + ""; // Prefix: "text" -->(COMMON) wsdlu0064
- public static String ADD_NS_DECL_NAMESPACE_NAME_TEXT = pluginId + ""; // Namespace Name: "text" -->(COMMON) wsdlu0065
- public static String ADD_NS_DECL_LOCATION_HINT_TEXT = pluginId + ""; // Location Hint: "text" -->(COMMON) wsdlu0066
- public static String ADD_NS_DECL_BROWSE_BUTTON = pluginId + ""; // Browse... "push button" -->(COMMON) wsdlu0067
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - New Namespace Information Dialog --- common.ui
- -------------------------------------------------------------------------------*/
- public static String NEW_NAMESPACE_INFO_DIALOG = pluginId + "wsdlu0068";
-
- public static String NAMESPACE_NAME = pluginId + "wsdlu0065";
- public static String PREFIX = pluginId + "wsdlu0064";
- public static String LOCATION_HINT = pluginId + "wsdlu0066";
- public static String BROWSE = pluginId + "wsdlu0067";
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - New Message Dialog
- -------------------------------------------------------------------------------*/
- public static String NEW_MESSAGE_DIALOG = pluginId + "wsdlu0080";
- public static String NEW_MESSAGE_DIALOG_NAME_TEXT = pluginId + "wsdlu0081"; // not used -- text will use "dialog" context Id
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Specify Message Dialog --- common.ui
- -------------------------------------------------------------------------------*/
- public static String SPECIFY_MESSAGE_DIALOG = pluginId + "wsdlu0082"; // "dialog" --> wsdlu0082
-
- public static String SPECIFY_DIALOG_NAME_TEXT = pluginId + "wsdlu0070"; // Name (? = character, * = any string): "text" -->(COMMON) wsdlu0070
- public static String SPECIFY_DIALOG_COMPONENTS_LIST = pluginId + "wsdlu0071"; // Components "list" -->(COMMON) wsdlu0071
-
- public static String SPECIFY_DIALOG_SEARCH_SCOPE = pluginId + "wsdlu0072"; // Search Scope:
- //Workspace, Enclosing Project, Current Resource, Working Sets (Grouped) "radio" -->(COMMON) wsdlu0072
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - New Binding Dialog
- -------------------------------------------------------------------------------*/
- public static String NEW_BINDING_DIALOG = pluginId + "wsdlu0083";
- public static String NEW_BINDING_DIALOG_NAME_TEXT = pluginId + "wsdlu0084"; // not used -- text will use "dialog" context Id
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Specify Binding Dialog --- common.ui
- -------------------------------------------------------------------------------*/
- public static String SPECIFY_BINDING_DIALOG = pluginId + "wsdlu0085"; // Specify Binding Dialog "dialog" --> wsdlu0085
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - New PortType Dialog
- -------------------------------------------------------------------------------*/
- public static String NEW_PORTTYPE_DIALOG = pluginId + "wsdlu0086";
- public static String NEW_PORTTYPE_DIALOG_NAME_TEXT = pluginId + "wsdlu0087"; // not used -- text will use "dialog" context Id
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Specify Port Type Dialog --- common.ui
- -------------------------------------------------------------------------------*/
- public static String SPECIFY_PORTTYPE_DIALOG = pluginId + "wsdlu0088"; // Specify Port Type Dialog "dialog" --> wsdlu0088
-
-
- /*-------------------------------------------------------------------------------
- WSDL Editor - Properties
- -------------------------------------------------------------------------------*/
- //Definition:
- public static String PROPERTIES_NAME_TEXT = pluginId + "wsdlu0100";
- public static String PROPERTIES_DEF_PREFIX_TEXT = pluginId + "wsdlu0101";
- public static String PROPERTIES_DEF_TNS_TEXT = pluginId + "wsdlu0102";
-
- //Port:
- public static String PROPERTIES_PORT_BINDING_COMBO = pluginId + "wsdlu0103";
- public static String PROPERTIES_PORT_ADDRESS_TEXT = pluginId + "wsdlu0104";
- public static String PROPERTIES_PORT_PROTOCOL_TEXT = pluginId + "wsdlu0105";
-
- //Binding:
- public static String PROPERTIES_BINDING_PORTTYPE_COMBO = pluginId + "wsdlu0106";
- public static String PROPERTIES_BINDING_PROTOCOL_TEXT = pluginId + "wsdlu0107";
- public static String PROPERTIES_BINDING_GEN_BINDING_BUTTON = pluginId + "wsdlu0108";
-
- //Input/Output/Fault:
- public static String PROPERTIES_MESSAGE_REF_MESSAGE_COMBO = pluginId + "wsdlu0109";
-
- //Part:
- public static String PROPERTIES_PART_ELEMENT_COMBO = pluginId + "wsdlu0110";
- public static String PROPERTIES_PART_TYPE_COMBO = pluginId + "wsdlu0111";
- public static String PROPERTIES_PART_TYPE_RADIO = pluginId + "wsdlu0112";
- public static String PROPERTIES_PART_ELEMENT_RADIO = pluginId + "wsdlu0113";
-
-
- public static String PROPERTIES_DOCUMENTATION_TAB = pluginId + "wsdlu0114";
-
- public static String WSDL_WIZARD_OPTIONS_PAGE = pluginId + "wsdlu0120"; // New WSDL Wizard - options page --> wsdlu0120
- public static String WSDL_DESIGN_VIEW = pluginId + "wsdlu0121"; // Design View --> wsdlu0121
- public static String WSDL_OUTLINE_VIEW = pluginId + "wsdlu0122"; // Outline View --> wsdlu0122
- public static String WSDL_PROPERTIES_VIEW = pluginId + "wsdlu0123"; // Properties View --> wsdlu0123
-
-// WSDL Preference Page:
- public static String WSDL_PREF_DEFAULT_TNS = pluginId + "wsdlu0200";
- public static String WSDL_PREF_REGEN_ON_SAVE = pluginId + "wsdlu0201";
- public static String WSDL_PREF_PROMPT_REGEN_ON_SAVE = pluginId + "wsdlu0202";
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorPlugin.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorPlugin.java
deleted file mode 100644
index c7ac0befd..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorPlugin.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-
-public class ASDEditorPlugin extends AbstractUIPlugin {
- public static int DEPENDECIES_CHANGED_POLICY_RELOAD = 2;
-
- protected static ASDEditorPlugin instance;
-
- public ASDEditorPlugin() {
- }
-
-// /**
-// * Get the singleton instance.
-// */
-// public static ASDEditorPlugin getInstance()
-// {
-// if (instance == null) {
-// instance = new ASDEditorPlugin();
-// }
-// return instance;
-// }
-//
-// public Image getImage(String iconName)
-// {
-// ImageRegistry imageRegistry = getImageRegistry();
-//
-// if (imageRegistry.get(iconName) != null)
-// {
-// return imageRegistry.get(iconName);
-// }
-// else
-// {
-// imageRegistry.put(iconName, ImageDescriptor.createFromFile(getClass(), iconName));
-// return imageRegistry.get(iconName);
-// }
-// }
-
- public static ImageDescriptor getImageDescriptor(String path) {
- // We should not know about WSDLEditorPlugin.java. Eventually, we should move these
- // 'generic', 'top-level' icons to the ASD level.....
- return WSDLEditorPlugin.getImageDescriptor(path);
- }
-
- public static ImageDescriptor getImageDescriptorFromPlugin(String path) {
- // We should not know about WSDLEditorPlugin.java. Eventually, we should move these
- // 'generic', 'top-level' icons to the ASD level.....
- return WSDLEditorPlugin.getImageDescriptorFromPlugin(path);
- }
-
- public static IEditorPart getActiveEditor() {
- return PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDLabelProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDLabelProvider.java
deleted file mode 100644
index cc8c33289..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDLabelProvider.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd;
-
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorModeManager;
-
-public class ASDLabelProvider extends LabelProvider {
- /**
- *
- */
- public ASDLabelProvider() {
- super();
- }
-
- private ILabelProvider getDelegate()
- {
- ILabelProvider labelProvider = null;
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- EditorModeManager manager = (EditorModeManager) editor.getAdapter(EditorModeManager.class);
- if (manager != null)
- {
- labelProvider = (ILabelProvider) manager.getCurrentMode().getAdapter(ILabelProvider.class);
- }
- return labelProvider;
- }
- /**
- * @see org.eclipse.jface.viewers.ILabelProvider#getImage(java.lang.Object)
- */
- public Image getImage(Object object) {
- if (object == null || object.equals(StructuredSelection.EMPTY)) {
- return null;
- }
- Image result = null;
- if (object instanceof StructuredSelection) {
- Object selected = ((StructuredSelection)object).getFirstElement();
- ILabelProvider delegate = getDelegate();
- if (delegate != null) {
- result = delegate.getImage(selected);
- }
- else if (selected instanceof ITreeElement) {
- result = ((ITreeElement) selected).getImage();
- }
- }
-
- return result;
- }
-
- /**
- * @see org.eclipse.jface.viewers.ILabelProvider#getText(java.lang.Object)
- */
- public String getText(Object object) {
- if (object == null || object.equals(StructuredSelection.EMPTY)) {
- return "No items selected";//$NON-NLS-1$
- }
- String result = null;
- Object selected = null;
- if (object instanceof StructuredSelection) {
- selected = ((StructuredSelection) object).getFirstElement();
-
- ILabelProvider delegate = getDelegate();
- if (delegate != null) {
- result = delegate.getText(selected);
- }
- else if (selected instanceof ITreeElement) {
- result = ((ITreeElement) selected).getText();
- }
-
- if (selected instanceof IASDObject && ((IASDObject) selected).isReadOnly()) {
- result = result + " (" + Messages._UI_LABEL_READ_ONLY + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
- }
-
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDMultiPageEditor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDMultiPageEditor.java
deleted file mode 100644
index a4227afa3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDMultiPageEditor.java
+++ /dev/null
@@ -1,324 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPartFactory;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.GraphicalViewer;
-import org.eclipse.gef.editparts.ZoomManager;
-import org.eclipse.gef.ui.actions.ActionRegistry;
-import org.eclipse.gef.ui.parts.ScrollingGraphicalViewer;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.StackLayout;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddEndPointAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddFaultAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddImportAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddInputAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddOperationAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddOutputAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddParameterAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddSchemaAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddServiceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDGenerateBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDOpenSchemaAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ShowPropertiesViewAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewContextMenuProvider;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicalViewer;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.DirectEditSelectionTool;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ASDEditPartFactory;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ASDContentOutlinePage;
-import org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.ASDTabbedPropertySheetPage;
-import org.eclipse.wst.wsdl.ui.internal.asd.util.IOpenExternalEditorHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.CommonMultiPageEditor;
-
-public abstract class ASDMultiPageEditor extends CommonMultiPageEditor
-{
- // TODO: move to design viewer
- protected DesignViewContextMenuProvider menuProvider;
- protected IDescription model;
- private int currentPage = -1;
-
- /**
- * Creates a multi-page editor example.
- */
- public ASDMultiPageEditor()
- {
- super();
-
- getEditDomain().setActiveTool(new DirectEditSelectionTool());
- getEditDomain().setDefaultTool(new DirectEditSelectionTool());
- }
-
- public String getContributorId()
- {
- return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; //$NON-NLS-1$
- }
-
- private class InternalLayout extends StackLayout
- {
- public InternalLayout() {
- super();
- }
-
- protected void layout(Composite composite, boolean flushCache) {
- Control children[] = composite.getChildren();
- Rectangle rect = composite.getClientArea();
- rect.x += marginWidth;
- rect.y += marginHeight;
- rect.width -= 2 * marginWidth;
- rect.height -= 2 * marginHeight;
-
- for (int i = 0; i < children.length; i++) {
- if (i == 0 && modeCombo != null) { // For the drop down toolbar
- children[i].setBounds(rect.x + rect.width - 90 - maxLength, rect.y + 10, maxLength + 60, 26);
- }
- else {// For the main graph viewer
- children[i].setBounds(rect);
- }
- }
- }
- }
-
- protected Composite createGraphPageComposite() {
- Composite parent = new Composite(getContainer(), SWT.FLAT);
- parent.setLayout(new InternalLayout());
- createViewModeToolbar(parent);
- return parent;
- }
-
-
- public IContentOutlinePage getContentOutlinePage() {
- if ((fOutlinePage == null) || fOutlinePage.getControl() == null || (fOutlinePage.getControl().isDisposed())) {
- IContentProvider provider = getEditorModeManager().getCurrentMode().getOutlineProvider();
-
- ASDContentOutlinePage outlinePage = new ASDContentOutlinePage(this, menuProvider);
- outlinePage.setContentProvider((ITreeContentProvider)provider);
- outlinePage.setLabelProvider((ILabelProvider)provider);
- outlinePage.setModel(getModel());
- outlinePage.addSelectionChangedListener(getSelectionManager());
- getSelectionManager().addSelectionChangedListener(outlinePage);
-
- fOutlinePage = outlinePage;
- }
- return fOutlinePage;
- }
-
- /**
- * Creates the pages of the multi-page editor.
- */
- protected void createPages()
- {
- selectionProvider = getSelectionManager();
- getEditorSite().setSelectionProvider(selectionProvider);
-
- createGraphPage();
- createSourcePage();
-
- buildAndSetModel();
- initializeGraphicalViewer();
- setActivePage(getDefaultPageTypeIndex());
-
- getSelectionManager().setSelection(new StructuredSelection(getModel()));
-
- PlatformUI.getWorkbench().getHelpSystem().setHelp(graphicalViewer.getControl(), ASDEditorCSHelpIds.WSDL_DESIGN_VIEW);
- }
-
- protected int getDefaultPageTypeIndex() {
- int pageIndex = SOURCE_PAGE_INDEX;
- if (WSDLEditorPlugin.getInstance().getDefaultPage().equals(WSDLEditorPlugin.DESIGN_PAGE)) {
- pageIndex = DESIGN_PAGE_INDEX;
- }
-
- return pageIndex;
- }
-
- protected ScrollingGraphicalViewer getGraphicalViewer()
- {
- return new DesignViewGraphicalViewer(this, getSelectionManager());
- }
-
- public void buildAndSetModel() {
- model = buildModel((IFileEditorInput)getEditorInput());
- }
-
- abstract public IDescription buildModel(IFileEditorInput editorInput);
-
- protected void createActions()
- {
- ActionRegistry registry = getActionRegistry();
-
- BaseSelectionAction action = new ASDAddServiceAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddBindingAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddInterfaceAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddEndPointAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddOperationAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddInputAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddOutputAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddFaultAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDDeleteAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDSetNewBindingAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDSetExistingBindingAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDSetNewInterfaceAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDSetExistingInterfaceAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDGenerateBindingAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddImportAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddParameterAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDAddSchemaAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ASDOpenSchemaAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
-
- action = new ShowPropertiesViewAction(this);
- action.setSelectionProvider(getSelectionManager());
- registry.registerAction(action);
- }
-
- public IDescription getModel()
- {
- return model;
- }
-
- public Object getAdapter(Class type)
- {
- if (type == ZoomManager.class)
- return graphicalViewer.getProperty(ZoomManager.class.toString());
-
- if (type == org.eclipse.ui.views.properties.IPropertySheetPage.class)
- {
- ASDTabbedPropertySheetPage page = new ASDTabbedPropertySheetPage(this);
- return page;
- }
- if (type == GraphicalViewer.class)
- return graphicalViewer;
- if (type == EditPart.class && graphicalViewer != null)
- return graphicalViewer.getRootEditPart();
- if (type == IFigure.class && graphicalViewer != null)
- return ((GraphicalEditPart) graphicalViewer.getRootEditPart()).getFigure();
-
- if (IContentOutlinePage.class.equals(type))
- {
- return getContentOutlinePage();
- }
-
- if (type == ISelectionProvider.class)
- {
- return getSelectionManager();
- }
-
- return super.getAdapter(type);
- }
-
- protected EditPartFactory getEditPartFactory() {
- return new ASDEditPartFactory();
- }
-
- protected void setEditPartFactory(EditPartFactory factory) {
- graphicalViewer.setEditPartFactory(factory);
- }
-
- protected void initializeGraphicalViewer()
- {
- graphicalViewer.setContents(model);
- menuProvider = new DesignViewContextMenuProvider(graphicalViewer, getSelectionManager());
- }
-
- protected void pageChange(int newPageIndex) {
- currentPage = newPageIndex;
- super.pageChange(newPageIndex);
- }
-
- public void dispose() {
- if (currentPage == SOURCE_PAGE_INDEX) {
- WSDLEditorPlugin.getInstance().setDefaultPage(WSDLEditorPlugin.SOURCE_PAGE);
- }
- else {
- WSDLEditorPlugin.getInstance().setDefaultPage(WSDLEditorPlugin.DESIGN_PAGE);
- }
-
- super.dispose();
- }
-
- public abstract IOpenExternalEditorHelper getOpenExternalEditorHelper();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDSelectionManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDSelectionManager.java
deleted file mode 100644
index 3c7ac861d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDSelectionManager.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.ui.part.MultiPageEditorPart;
-import org.eclipse.ui.part.MultiPageSelectionProvider;
-
-public class ASDSelectionManager extends MultiPageSelectionProvider implements ISelectionProvider, ISelectionChangedListener
-{
- protected List listenerList = new ArrayList();
- protected ISelection currentSelection;
- protected boolean enableNotify = true;
-
- public ASDSelectionManager(MultiPageEditorPart multiPageEditor)
- {
- super(multiPageEditor);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.ISelectionProvider#addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
- */
- public void addSelectionChangedListener(ISelectionChangedListener listener)
- {
- listenerList.add(listener);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.ISelectionProvider#getSelection()
- */
- public ISelection getSelection()
- {
- return currentSelection;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.ISelectionProvider#removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
- */
- public void removeSelectionChangedListener(ISelectionChangedListener listener)
- {
- listenerList.remove(listener);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)
- */
- public void setSelection(ISelection selection)
- {
- setSelection(selection, this);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
- */
- public void selectionChanged(SelectionChangedEvent event)
- {
- if (enableNotify)
- {
- setSelection(event.getSelection(), event.getSelectionProvider());
- }
- }
-
- public void setSelection(ISelection selection, ISelectionProvider source)
- {
- if (enableNotify)
- {
- currentSelection = selection;
- enableNotify = false;
- try
- {
- SelectionChangedEvent event = new SelectionChangedEvent(source, selection);
- List copyOfListenerList = new ArrayList(listenerList);
- for (Iterator i = copyOfListenerList.iterator(); i.hasNext(); )
- {
- ISelectionChangedListener listener = (ISelectionChangedListener)i.next();
- listener.selectionChanged(event);
- }
- }
- finally
- {
- enableNotify = true;
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/Messages.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/Messages.java
deleted file mode 100644
index edfeeb1fb..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/Messages.java
+++ /dev/null
@@ -1,70 +0,0 @@
-package org.eclipse.wst.wsdl.ui.internal.asd;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.osgi.util.NLS;
-
-
-public class Messages {
- private static final String BUNDLE_NAME = "org.eclipse.wst.wsdl.ui.internal.asd.messages"; //$NON-NLS-1$
-
- static {
- NLS.initializeMessages(BUNDLE_NAME, Messages.class); //$NON-NLS-1$
- }
-
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
-
- private Messages() {
- }
-
- public static String getString(String key) {
- // TODO Auto-generated method stub
- try {
- return RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
- }
-
- public static String _UI_TAB_GRAPH;
- public static String _UI_TAB_SOURCE;
- public static String _UI_BUTTON_NEW;
- public static String _UI_LABEL_READ_ONLY;
- public static String _UI_LABEL_NAMESPACE;
- public static String _UI_LABEL_PORTTYPE;
- public static String _UI_LABEL_LOCATION;
- public static String _UI_LABEL_ADDRESS;
- public static String _UI_LABEL_BINDING;
- public static String _UI_LABEL_PREFIX;
- public static String _UI_LABEL_NAME;
- public static String _UI_LABEL_TYPE;
- public static String _UI_ACTION_ADD_SERVICE;
- public static String _UI_ACTION_ADD_MESSAGE;
- public static String _UI_ACTION_ADD_OPERATION;
- public static String _UI_ACTION_ADD_IMPORT;
- public static String _UI_ACTION_ADD_OUTPUT;
- public static String _UI_ACTION_ADD_FAULT;
- public static String _UI_ACTION_ADD_PORT;
- public static String _UI_ACTION_ADD_PORTTYPE;
- public static String _UI_ACTION_DELETE;
- public static String _UI_BUTTON_BROWSE;
- public static String _UI_ACTION_NEW_PORTTYPE;
- public static String _UI_ACTION_NEW_BINDING;
- public static String _UI_ACTION_EXISTING_PORTTYPE;
- public static String _UI_GENERATE_BINDING_CONTENT;
- public static String _UI_ACTION_EXISTING_BINDING;
- public static String _UI_LABEL_BINDING_PROTOCOL;
- public static String _UI_LABEL_TARGET_NAMESPACE;
- public static String _UI_ACTION_ADD_BINDING;
- public static String _UI_ACTION_ADD_SCHEMA;
- public static String _UI_ACTION_ADD_INPUT;
- public static String _UI_SECTION_ADVANCED_ATTRIBUTES;
-
- public static String _UI_ACTION_EDIT_NAMESPACES;
- public static String _UI_ACTION_OPEN_SCHEMA;
- public static String _UI_TOOLTIP_RENAME_REFACTOR;
-
- public static String _UI_LABEL_RIGHT_CLICK_TO_INSERT_CONTENT;
- public static String _UI_ACTION_SHOW_PROPERTIES;
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddBindingAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddBindingAction.java
deleted file mode 100644
index 1ea54453c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddBindingAction.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-
-public class ASDAddBindingAction extends BaseSelectionAction {
- public static String ID = "ASDAddBindingAction"; //$NON-NLS-1$
-
- public ASDAddBindingAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_BINDING); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/binding_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof ICategoryAdapter) {
- o = ((ICategoryAdapter) o).getOwnerDescription();
- }
-
- if (o instanceof IDescription) {
- Command command = ((IDescription) o).getAddBindingCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object object = ((IASDAddCommand) command).getNewlyAddedComponent();
- performSelection(object);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddEndPointAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddEndPointAction.java
deleted file mode 100644
index d6a7e31de..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddEndPointAction.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IService;
-
-public class ASDAddEndPointAction extends BaseSelectionAction {
- public static String ID = "ASDAddEndPointAction"; //$NON-NLS-1$
-
- public ASDAddEndPointAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_PORT); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/port_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- IService service = null;
-
- if (o instanceof IService) {
- service = (IService) o;
- }
- else if (o instanceof IEndPoint) {
- service = ((IEndPoint) o).getOwnerService();
- }
-
- if (service != null) {
- Command command = service.getAddEndPointCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object element = ((IASDAddCommand) command).getNewlyAddedComponent();
- selectAndDirectEdit(element);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddFaultAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddFaultAction.java
deleted file mode 100644
index 1c188367e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddFaultAction.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-
-public class ASDAddFaultAction extends BaseSelectionAction {
- public static String ID = "ASDAddFaultActionn"; //$NON-NLS-1$
-
- public ASDAddFaultAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_FAULT); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/fault_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- IOperation iOperation = null;
- Object possibleFault = null;
-
- if (o instanceof IOperation) {
- iOperation = (IOperation) o;
- }
- else if (o instanceof IMessageReference) {
- iOperation = ((IMessageReference) o).getOwnerOperation();
- possibleFault = ((W11MessageReference) o).getTarget();
- }
- else if (o instanceof IParameter) {
- iOperation = ((IMessageReference) ((IParameter) o).getOwner()).getOwnerOperation();
- possibleFault = ((W11MessageReference) ((IParameter) o).getOwner()).getTarget();
- }
-
- if (iOperation != null) {
- Command command = iOperation.getAddFaultCommand(possibleFault);
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object object = ((IASDAddCommand) command).getNewlyAddedComponent();
- performSelection(object);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddImportAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddImportAction.java
deleted file mode 100644
index a8ce0bed7..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddImportAction.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-
-public class ASDAddImportAction extends BaseSelectionAction {
- public static String ID = "ASDAddImportAction"; //$NON-NLS-1$
-
- public ASDAddImportAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_IMPORT); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/import_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof ICategoryAdapter) {
- o = ((ICategoryAdapter) o).getOwnerDescription();
- }
-
- if (o instanceof IDescription) {
- Command command = ((IDescription) o).getAddImportCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object object = ((IASDAddCommand) command).getNewlyAddedComponent();
- performSelection(object);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInputAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInputAction.java
deleted file mode 100644
index ff5f9aa5f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInputAction.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-
-public class ASDAddInputAction extends BaseSelectionAction {
- public static String ID = "ASDAddInputActionn"; //$NON-NLS-1$
-
- public ASDAddInputAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_INPUT); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/input_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- IOperation iOperation = null;
-
- if (o instanceof IOperation) {
- iOperation = (IOperation) o;
- }
- else if (o instanceof IMessageReference) {
- iOperation = ((IMessageReference) o).getOwnerOperation();
- }
- else if (o instanceof IParameter) {
- iOperation = ((IMessageReference) ((IParameter) o).getOwner()).getOwnerOperation();
- }
-
- if (iOperation != null) {
- Command command = iOperation.getAddInputCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object object = ((IASDAddCommand) command).getNewlyAddedComponent();
- performSelection(object);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInterfaceAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInterfaceAction.java
deleted file mode 100644
index 106380184..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInterfaceAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-
-public class ASDAddInterfaceAction extends BaseSelectionAction {
- public static String ID = "ASDAddInterfaceAction"; //$NON-NLS-1$
-
- public ASDAddInterfaceAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_PORTTYPE); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/porttype_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof ICategoryAdapter) {
- o = ((ICategoryAdapter) o).getOwnerDescription();
- }
-
- if (o instanceof IDescription) {
- Command command = ((IDescription) o).getAddInterfaceCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object element = ((IASDAddCommand) command).getNewlyAddedComponent();
- selectAndDirectEdit(element);
- }
- }
- }
- }
-
- /*
- * @deprecated. To be removed post WTP 1.5
- */
- protected void doDirectEdit(EditPart ep) {
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddMessageAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddMessageAction.java
deleted file mode 100644
index acd07a84c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddMessageAction.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-
-public class ASDAddMessageAction extends BaseSelectionAction {
- public static String ID = "ASDAddMessageAction"; //$NON-NLS-1$
-
- public ASDAddMessageAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_MESSAGE); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/message_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof ICategoryAdapter) {
- o = ((ICategoryAdapter) o).getOwnerDescription();
- }
-
- if (o instanceof IDescription) {
- Command command = ((IDescription) o).getAddMessageCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object object = ((IASDAddCommand) command).getNewlyAddedComponent();
- performSelection(object);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOperationAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOperationAction.java
deleted file mode 100644
index 152762b79..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOperationAction.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-
-public class ASDAddOperationAction extends BaseSelectionAction {
- public static String ID = "ASDAddOperationAction"; //$NON-NLS-1$
-
- public ASDAddOperationAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_OPERATION); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/operation_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- IInterface theInterface = null;
-
- if (o instanceof IInterface) {
- theInterface = (IInterface) o;
- }
- else if (o instanceof IOperation) {
- theInterface = ((IOperation) o).getOwnerInterface();
- }
- else if (o instanceof IMessageReference) {
- theInterface = ((IMessageReference) o).getOwnerOperation().getOwnerInterface();
- }
- else if (o instanceof IParameter) {
- theInterface = ((IMessageReference) ((IParameter) o).getOwner()).getOwnerOperation().getOwnerInterface();
- }
-
- if (theInterface != null) {
- Command command = theInterface.getAddOperationCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object element = ((IASDAddCommand) command).getNewlyAddedComponent();
- selectAndDirectEdit(element);
- }
- }
- }
- }
-
- /*
- * @deprecated. To be removed post WTP 1.5
- */
- protected void doDirectEdit(EditPart ep) {
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOutputAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOutputAction.java
deleted file mode 100644
index ca36abfb4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOutputAction.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-
-public class ASDAddOutputAction extends BaseSelectionAction {
- public static String ID = "ASDAddOutputActionn"; //$NON-NLS-1$
-
- public ASDAddOutputAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_OUTPUT); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/output_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- IOperation iOperation = null;
-
- if (o instanceof IOperation) {
- iOperation = (IOperation) o;
- }
- else if (o instanceof IMessageReference) {
- iOperation = ((IMessageReference) o).getOwnerOperation();
- }
- else if (o instanceof IParameter) {
- iOperation = ((IMessageReference) ((IParameter) o).getOwner()).getOwnerOperation();
- }
-
- if (iOperation != null) {
- Command command = iOperation.getAddOutputCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object object = ((IASDAddCommand) command).getNewlyAddedComponent();
- performSelection(object);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddSchemaAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddSchemaAction.java
deleted file mode 100644
index 1904b2d05..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddSchemaAction.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-
-public class ASDAddSchemaAction extends BaseSelectionAction {
- public static String ID = "ASDAddSchemaAction"; //$NON-NLS-1$
-
- public ASDAddSchemaAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_SCHEMA); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/xsd_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof ICategoryAdapter) {
- o = ((ICategoryAdapter) o).getOwnerDescription();
- }
-
- if (o instanceof IDescription) {
- Command command = ((IDescription) o).getAddSchemaCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object object = ((IASDAddCommand) command).getNewlyAddedComponent();
- performSelection(object);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddServiceAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddServiceAction.java
deleted file mode 100644
index ec6368f61..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddServiceAction.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ServiceEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-
-public class ASDAddServiceAction extends BaseSelectionAction {
- public static String ID = "ASDAddServiceAction"; //$NON-NLS-1$
-
- public ASDAddServiceAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_ADD_SERVICE); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/service_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof ICategoryAdapter) {
- o = ((ICategoryAdapter) o).getOwnerDescription();
- }
-
- if (o instanceof IDescription) {
- Command command = ((IDescription) o).getAddServiceCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (command instanceof IASDAddCommand) {
- Object element = ((IASDAddCommand) command).getNewlyAddedComponent();
- selectAndDirectEdit(element);
- }
- }
- }
- }
-
- protected void doDirectEdit(EditPart ep) {
- if (ep instanceof ServiceEditPart) {
- ((ServiceEditPart) ep).performDirectEdit(null);
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDeleteAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDeleteAction.java
deleted file mode 100644
index 21c4573fe..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDeleteAction.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import java.util.Iterator;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IImport;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IService;
-
-public class ASDDeleteAction extends BaseSelectionAction {
- public static String ID = "ASDDeleteAction"; //$NON-NLS-1$
-
- public ASDDeleteAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_DELETE); //$NON-NLS-1$
- setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/delete_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- Iterator it = getSelectedObjects().iterator();
- while (it.hasNext()) {
- Object object = it.next();
- Command command = null;
-
- if (object instanceof IService) {
- command = ((IService) object).getDeleteCommand();
- }
- else if (object instanceof IEndPoint) {
- command = ((IEndPoint) object).getDeleteCommand();
- }
- else if (object instanceof IBinding) {
- command = ((IBinding) object).getDeleteCommand();
- }
- else if (object instanceof IInterface) {
- command = ((IInterface) object).getDeleteCommand();
- }
- else if (object instanceof IOperation) {
- command = ((IOperation) object).getDeleteCommand();
- }
- else if (object instanceof IMessageReference) {
- command = ((IMessageReference) object).getDeleteCommand();
- }
- else if (object instanceof IParameter) {
- command = ((IParameter) object).getDeleteCommand();
- }
- else if (object instanceof IImport) {
- command = ((IImport) object).getDeleteCommand();
- }
- else if (object instanceof IMessage) {
- command = ((IMessage) object).getDeleteCommand();
- }
- // TODO (cs) Provide getDeleteCommand() on ASDObject then no 'else if' tests needed at all...
- else if (object instanceof W11Type) {
- command = ((W11Type) object).getDeleteCommand();
- }
-
- if (command != null) {
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
-
- if (object instanceof WSDLBaseAdapter) {
- Object target = ((WSDLBaseAdapter) object).getTarget();
- if (target instanceof WSDLElement) {
- performSelection(((WSDLElement) target).getEnclosingDefinition());
- }
- }
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDirectEditAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDirectEditAction.java
deleted file mode 100644
index 26d5bd69c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDirectEditAction.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.GraphicalViewer;
-import org.eclipse.gef.ui.actions.DirectEditAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-
-public class ASDDirectEditAction extends DirectEditAction {
- protected ISelectionProvider provider;
-
- /**
- * Same as {@link #DirectEditAction(IWorkbenchPart)}.
- * @param editor the editor
- */
- public ASDDirectEditAction(IEditorPart editor) {
- super((IWorkbenchPart)editor);
- }
-
- /**
- * Constructs a DirectEditAction using the specified part.
- * @param part the workbench part
- */
- public ASDDirectEditAction(IWorkbenchPart part) {
- super(part);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.gef.ui.actions.SelectionAction#getSelection()
- */
- protected ISelection getSelection()
- {
- // If we're in this action, we assume the action was initiated via the graphical viewer.
- // We use the graphical view to obtain the selected edit part because for us, one model
- // may drive more than one edit part. So we need to find the exact edit part we wish to
- // direct edit. The preferred method of determining the edit part would have been to go
- // through the selection manager, then through the edit part registry. However, the selection
- // manager only returns the model object (not the edit part).... and since the model object
- // may drive more than one edit part, the edit part registry may return the "wrong" edit
- // part for direct editing. Thus we look call GraphicalViewer.getFocusEditPart().
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- Object object = editor.getAdapter(GraphicalViewer.class);
- if (object instanceof GraphicalViewer) {
- Object selection = ((GraphicalViewer) object).getFocusEditPart();
- return new StructuredSelection(selection);
- }
-
- return super.getSelection();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.gef.ui.actions.SelectionAction#setSelectionProvider(org.eclipse.jface.viewers.ISelectionProvider)
- */
- public void setSelectionProvider(ISelectionProvider provider)
- {
- super.setSelectionProvider(provider);
- this.provider = provider;
- }
-
- protected boolean calculateEnabled() {
- Object selection = ((IStructuredSelection) getSelection()).getFirstElement();
-
- if (selection instanceof IASDObject) {
- return !((IASDObject) selection).isReadOnly();
- }
-
- return true;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragAction.java
deleted file mode 100644
index 38d1a9ced..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragAction.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.ui.IWorkbenchPart;
-
-public abstract class ASDDragAction extends BaseSelectionAction {
- protected GraphicalEditPart movingChildEditPart;
- protected Point pointerLocation;
-
- public ASDDragAction(IWorkbenchPart part) {
- super(part);
- }
-
- /*
- * Sub-classes should override this method.
- */
- public boolean canExecute() {
- return false;
- }
-
- public void execute() {
- run();
- }
-
- /*
- * Sub-classes should override this method.
- */
- public String getUndoDescription() {
- return "";
- }
-
- /*
- * Sub-classes should override this method.
- */
- public IFigure getFeedbackFigure() {
- return null;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragReorderAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragReorderAction.java
deleted file mode 100644
index 8c5a3e91c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragReorderAction.java
+++ /dev/null
@@ -1,284 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Polyline;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.PointList;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-
-public class ASDDragReorderAction extends ASDDragAction {
- protected IASDObject movingChild;
- protected IASDObject newParent;
- protected GraphicalEditPart leftSiblingEditPart;
- protected GraphicalEditPart rightSiblingEditPart;
- protected IASDObject leftSibElement;
- protected IASDObject rightSibElement;
- protected boolean canNeverExecute = false;
-
- public ASDDragReorderAction(GraphicalEditPart movingChildEditPart, EditPart pointerEditPart, Point pointerLocation) {
- super(null);
- this.movingChildEditPart = movingChildEditPart;
- this.pointerLocation = pointerLocation;
-
- EditPart possibleParent = getParentEditPart(pointerEditPart);
-
- if (!(possibleParent instanceof GraphicalEditPart)) {
- canNeverExecute = true;
- return;
- }
-
- GraphicalEditPart targetParentEditPart = (GraphicalEditPart) possibleParent;
-
- if (pointerEditPart.getParent() != null) {
- // Sort the siblings (and itself)
- List targetEditPartSiblings = pointerEditPart.getParent().getChildren();
- Collections.sort(targetEditPartSiblings, new VerticalEditPartComparator());
-
- // Get 'left' and 'right' siblings
- leftSiblingEditPart = getVerticalLeftSibling(targetEditPartSiblings, movingChildEditPart, pointerLocation);
- rightSiblingEditPart = getVerticalRightSibling(targetEditPartSiblings, movingChildEditPart, pointerLocation);
-
- if (movingChildEditPart != null)
- movingChild = (IASDObject) movingChildEditPart.getModel();
- if (leftSiblingEditPart != null)
- leftSibElement = (IASDObject) leftSiblingEditPart.getModel();
- if (rightSiblingEditPart != null)
- rightSibElement = (IASDObject) rightSiblingEditPart.getModel();
-
- newParent = (IASDObject) targetParentEditPart.getModel();
- }
- else {
- newParent = (IASDObject) targetParentEditPart.getModel();
- leftSibElement = null;
- rightSibElement= null;
- }
- }
-
- public boolean canExecute()
- {
- boolean result = false;
-
- if (canNeverExecute || newParent == null || movingChild == null) {
- return false;
- }
-
- if (movingChild instanceof IMessageReference) {
- IMessageReference messageRef = (IMessageReference) movingChild;
- if (messageRef.getKind() == IMessageReference.KIND_INPUT || messageRef.getKind() == IMessageReference.KIND_OUTPUT) {
- IMessageReference leftSibMessageRef = (IMessageReference) leftSibElement;
-
- result = true;
- if (leftSibMessageRef != null) {
- if (leftSibMessageRef.getKind() == IMessageReference.KIND_FAULT) {
- result = false;
- }
- }
- if (!(result && newParent.equals(messageRef.getOwnerOperation()))) {
- result = false;
- }
- }
- }
- else if (movingChild instanceof IParameter) {
- if (newParent instanceof IMessageReference && newParent.equals(((IParameter) movingChild).getOwner())) {
- result = true;
- }
- }
-
- return result;
- }
-
- /*
- * @see IAction#run()
- */
- public void run()
- {
-// beginRecording();
- if (canExecute()) {
- if (movingChild instanceof IMessageReference) {
- Object messageRefOwner = ((IMessageReference) movingChild).getOwnerOperation();
- if (messageRefOwner instanceof IOperation) {
- IMessageReference leftSib = (IMessageReference) leftSibElement;
- IMessageReference rightSib = (IMessageReference) rightSibElement;
- IMessageReference movingSib = (IMessageReference) movingChild;
- Command command = ((IOperation) messageRefOwner).getReorderMessageReferencesCommand(leftSib, rightSib, movingSib);
- command.execute();
- }
- }
- else if (movingChild instanceof IParameter) {
- Object paramOwner = ((IParameter) movingChild).getOwner();
- if (paramOwner instanceof IMessageReference) {
- IParameter leftSib = (IParameter) leftSibElement;
- IParameter rightSib = (IParameter) rightSibElement;
- IParameter movingSib = (IParameter) movingChild;
- Command command = ((IMessageReference) paramOwner).getReorderParametersCommand(leftSib, rightSib, movingSib);
- command.execute();
- }
- }
-// wsdlEditor.getSelectionManager().setSelection(new StructuredSelection(movingChild));
- }
-// endRecording();
- }
-
- public IFigure getFeedbackFigure() {
- IFigure feedbackFigure = null;
- if (feedbackFigure == null && movingChildEditPart instanceof GraphicalEditPart)
- {
- feedbackFigure = new Polyline();
- ((Polyline)feedbackFigure).setLineWidth(2);
- drawLines((Polyline) feedbackFigure);
- }
-
- return feedbackFigure;
- }
-
- /* Return a PointList which will be used to add a feedback figure. The feedback figure will be a
- * Polyline composed of the Points in the PointList
- */
- private PointList drawLines(Polyline polyLine) {
- PointList pointList = new PointList();
-
- if (leftSiblingEditPart != null) {
- Rectangle leftRectangle = leftSiblingEditPart.getFigure().getBounds();
- int xCoord = leftRectangle.x;
- int yCoord = leftRectangle.y;
- int height = leftRectangle.height;
- int width = leftRectangle.width;
-
- // Draw left end line
- addLineToPolyline(polyLine, xCoord, yCoord + height + 3, xCoord, yCoord + height - 3);
- addLineToPolyline(polyLine, xCoord, yCoord + height - 3, xCoord, yCoord + height);
-
- // Draw horizontal line
- addLineToPolyline(polyLine, xCoord, yCoord + height, xCoord + width, yCoord + height);
-
- // Draw right end line
- addLineToPolyline(polyLine, xCoord + width, yCoord + height, xCoord + width, yCoord + height - 3);
- addLineToPolyline(polyLine, xCoord + width, yCoord + height, xCoord + width, yCoord + height + 3);
- }
- else if (rightSiblingEditPart != null) {
- Rectangle rightRectangle = rightSiblingEditPart.getFigure().getBounds();
- int xCoord = rightRectangle.x;
- int yCoord = rightRectangle.y;
- int width = rightRectangle.width;
-
- // Draw left end line
- addLineToPolyline(polyLine, xCoord, yCoord + 3, xCoord, yCoord - 3);
- addLineToPolyline(polyLine, xCoord, yCoord - 3, xCoord, yCoord);
-
- // Draw horizontal line
- addLineToPolyline(polyLine, xCoord, yCoord, xCoord + width, yCoord);
-
- // Draw right end line
- addLineToPolyline(polyLine, xCoord + width, yCoord, xCoord + width, yCoord - 3);
- addLineToPolyline(polyLine, xCoord + width, yCoord, xCoord + width, yCoord + 3);
- }
-
- return pointList;
- }
-
- protected Polyline addLineToPolyline(Polyline polyline, int x1, int y1, int x2, int y2) {
- polyline.addPoint(new Point(x1, y1));
- polyline.addPoint(new Point(x2, y2));
-
- return polyline;
- }
-
- /*
- * Pre-condition: The List siblings should be sorted by it's y-coordinate
- */
- private GraphicalEditPart getVerticalRightSibling(List siblings, GraphicalEditPart movingEditPart, Point pointerLocation) {
- GraphicalEditPart rightSibling = null;
- int pointerYLocation = pointerLocation.y;
-
- for (int index = 0; index < siblings.size(); index++) {
- GraphicalEditPart sibling = (GraphicalEditPart) siblings.get(index);
- int siblingYLocation = sibling.getFigure().getBounds().getCenter().y;
-
- if (siblingYLocation > pointerYLocation) {
- rightSibling = sibling;
- break;
- }
- }
-
- return rightSibling;
- }
-
- /*
- * Pre-condition: The List siblings should be sorted by it's y-coordinate
- */
- private GraphicalEditPart getVerticalLeftSibling(List siblings, GraphicalEditPart movingEditPart, Point pointerLocation) {
- GraphicalEditPart leftSibling = null;
- int pointerYLocation = pointerLocation.y;
-
- int index;
- for (index = 0; index < siblings.size(); index++) {
- GraphicalEditPart sibling = (GraphicalEditPart) siblings.get(index);
- int siblingYLocation = sibling.getFigure().getBounds().getCenter().y;
-
- if (siblingYLocation > pointerYLocation) {
- if (index > 0) {
- leftSibling = (GraphicalEditPart) siblings.get(index - 1);
- }
-
- break;
- }
- }
-
- if (index == siblings.size()) {
- leftSibling = (GraphicalEditPart) siblings.get(index - 1);
- }
-
- return leftSibling;
- }
-
- protected EditPart getParentEditPart(EditPart target)
- {
- return target.getParent();
- }
-
- private class VerticalEditPartComparator implements Comparator {
-
- public VerticalEditPartComparator() {
- }
-
- public int compare(Object part1, Object part2) {
- int compareValue = 0;
-
- if (part1 instanceof GraphicalEditPart && part2 instanceof GraphicalEditPart) {
- GraphicalEditPart editPart1 = (GraphicalEditPart) part1;
- GraphicalEditPart editPart2 = (GraphicalEditPart) part2;
-
- int editPart1Y = editPart1.getFigure().getBounds().getCenter().y;
- int editPart2Y = editPart2.getFigure().getBounds().getCenter().y;
-
- Integer integerPart1 = new Integer(editPart1Y);
- Integer integerPart2 = new Integer(editPart2Y);
-
- compareValue = integerPart1.compareTo(integerPart2);
- }
-
- return compareValue;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDEditNamespacesAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDEditNamespacesAction.java
deleted file mode 100644
index f5b727e3e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDEditNamespacesAction.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11EditNamespacesCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-import org.eclipse.wst.wsdl.ui.internal.dialogs.EditNamespacesDialog;
-
-public class ASDEditNamespacesAction extends BaseSelectionAction {
- public static String ID = "ASDEditNamespacesAction"; //$NON-NLS-1$
-
- private IDescription description;
-
- public ASDEditNamespacesAction(IWorkbenchPart part, IDescription description) {
- super(part);
- setId(ID);
- String text = Messages._UI_EDIT_NAMESPACES; //$NON-NLS-1$
- setText(text);
-
- this.description = description;
- }
-
- public void run() {
- Object o = description;
- if (getSelectedObjects().size() > 0) {
- if (o instanceof ICategoryAdapter) {
- o = ((ICategoryAdapter) o).getOwnerDescription();
- }
- }
-
- if (o instanceof IDescription) {
- // TODO: The code below is not generic. We need to revisit this to ensure it is
- // generic. IDescription needs a getNamespacesInfo() and getEditNamespacesCommand()...
- IDescription description = (IDescription) o;
- W11Description w11Description = (W11Description) o;
- Definition definition = (Definition) w11Description.getTarget();
-
- IPath path = new Path(definition.getDocumentBaseURI());
- List namespaceInfoList = w11Description.getNamespacesInfo();
- String tns = description.getTargetNamespace();
- EditNamespacesDialog dialog = new EditNamespacesDialog(WSDLEditorPlugin.getShell(), path, Messages._UI_EDIT_NAMESPACES_DIALOG_TITLE, tns, namespaceInfoList); //$NON-NLS-1$
- int rc = dialog.createAndOpen();
- if (rc == IDialogConstants.OK_ID) {
- List newInfoList = dialog.getNamespaceInfoList();
- W11EditNamespacesCommand command = (W11EditNamespacesCommand) w11Description.getEditNamespacesCommand();
- command.setNamespacesInfo(newInfoList);
- command.setTargetNamespace(dialog.getTargetNamespace());
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDGenerateBindingAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDGenerateBindingAction.java
deleted file mode 100644
index 1f2db6a99..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDGenerateBindingAction.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-
-public class ASDGenerateBindingAction extends BaseSelectionAction {
- public static String ID = "ASDGenerateBindingActionn"; //$NON-NLS-1$
-
- public ASDGenerateBindingAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_GENERATE_BINDING_CONTENT); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/input_obj.gif"));
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof IBinding) {
- Command command = ((IBinding) o).getGenerateBindingCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDOpenSchemaAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDOpenSchemaAction.java
deleted file mode 100644
index bb11ca592..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDOpenSchemaAction.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IType;
-import org.eclipse.wst.wsdl.ui.internal.asd.util.IOpenExternalEditorHelper;
-
-public class ASDOpenSchemaAction extends BaseSelectionAction {
- public static String ID = "ASDOpenSchemaAction"; //$NON-NLS-1$
-
- public ASDOpenSchemaAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_OPEN_SCHEMA); //$NON-NLS-1$
-// setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/binding_obj.gif")); //$NON-NLS-1$
- }
-
- public void run() {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
-
- if (o instanceof IType) {
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- if (editor instanceof ASDMultiPageEditor) {
- IOpenExternalEditorHelper helper = ((ASDMultiPageEditor) editor).getOpenExternalEditorHelper();
- helper.setModel(o);
- helper.openExternalEditor();
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingBindingAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingBindingAction.java
deleted file mode 100644
index 357852275..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingBindingAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class ASDSetExistingBindingAction extends BaseSelectionAction {
- public static String ID = "ASDSetExistingBindingAction"; //$NON-NLS-1$
- protected IEndPoint endPoint;
-
- public ASDSetExistingBindingAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_EXISTING_BINDING); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
- }
-
- public void setIEndPoint(IEndPoint endPoint) {
- this.endPoint = endPoint;
- }
-
- public void run() {
- if (endPoint == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IEndPoint) {
- endPoint = (IEndPoint) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getBindingReferenceEditManager(endPoint);
- if (endPoint != null && refManager != null) {
- IComponentDialog dialog = refManager.getBrowseDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(endPoint, spec);
- }
- }
-
- endPoint = null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingInterfaceAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingInterfaceAction.java
deleted file mode 100644
index 4605ca855..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingInterfaceAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class ASDSetExistingInterfaceAction extends BaseSelectionAction {
- public static String ID = "ASDSetExistingInterfaceAction"; //$NON-NLS-1$
- protected IBinding binding;
-
- public ASDSetExistingInterfaceAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_EXISTING_PORTTYPE); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
- }
-
- public void setIBinding(IBinding binding) {
- this.binding = binding;
- }
-
- public void run() {
- if (binding == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IBinding) {
- binding = (IBinding) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getInterfaceReferenceEditManager(binding);
- if (binding != null && refManager != null) {
- IComponentDialog dialog = refManager.getBrowseDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(binding, spec);
- }
- }
-
- binding = null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewBindingAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewBindingAction.java
deleted file mode 100644
index a6da98c2b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewBindingAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class ASDSetNewBindingAction extends BaseSelectionAction {
- public static String ID = "ASDSetNewBindingAction"; //$NON-NLS-1$
- protected IEndPoint endPoint;
-
- public ASDSetNewBindingAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_NEW_BINDING); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
- }
-
- public void setIEndPoint(IEndPoint endPoint) {
- this.endPoint = endPoint;
- }
-
- public void run() {
- if (endPoint == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IEndPoint) {
- endPoint = (IEndPoint) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getBindingReferenceEditManager(endPoint);
- if (endPoint != null && refManager != null) {
- IComponentDialog dialog = refManager.getNewDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(endPoint, spec);
- }
- }
-
- endPoint = null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewInterfaceAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewInterfaceAction.java
deleted file mode 100644
index 02aec427c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewInterfaceAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.jface.window.Window;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-public class ASDSetNewInterfaceAction extends BaseSelectionAction {
- public static String ID = "ASDSetNewInterfaceAction"; //$NON-NLS-1$
- protected IBinding binding;
-
- public ASDSetNewInterfaceAction(IWorkbenchPart part) {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_NEW_PORTTYPE); //$NON-NLS-1$
-// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
- }
-
- public void setIBinding(IBinding binding) {
- this.binding = binding;
- }
-
- public void run() {
- if (binding == null) {
- if (getSelectedObjects().size() > 0) {
- Object o = getSelectedObjects().get(0);
- if (o instanceof IBinding) {
- binding = (IBinding) o;
- }
- }
- }
-
- ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getInterfaceReferenceEditManager(binding);
- if (binding != null && refManager != null) {
- IComponentDialog dialog = refManager.getNewDialog();
- if (dialog.createAndOpen() == Window.OK) {
- ComponentSpecification spec = dialog.getSelectedComponent();
- refManager.modifyComponentReference(binding, spec);
- }
- }
-
- binding = null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/BaseSelectionAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/BaseSelectionAction.java
deleted file mode 100644
index d8750062f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/BaseSelectionAction.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.GraphicalViewer;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.ui.actions.SelectionAction;
-import org.eclipse.gef.ui.parts.AbstractEditPartViewer;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.contentoutline.ContentOutline;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
-
-public abstract class BaseSelectionAction extends SelectionAction
-{
- public static final String SUBMENU_START_ID = "SUBMENU_START_ID: "; //$NON-NLS-1$
- public static final String SUBMENU_END_ID = "SUBMENU_END_ID: "; //$NON-NLS-1$
-
- protected ISelectionProvider provider;
-
- public BaseSelectionAction(IWorkbenchPart part)
- {
- super(part);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.gef.ui.actions.SelectionAction#getSelection()
- */
- protected ISelection getSelection()
- {
- // always get selection from selection provider first
- if (provider!=null)
- return provider.getSelection();
-
- return super.getSelection();
- }
- /* (non-Javadoc)
- * @see org.eclipse.gef.ui.actions.SelectionAction#setSelectionProvider(org.eclipse.jface.viewers.ISelectionProvider)
- */
- public void setSelectionProvider(ISelectionProvider provider)
- {
- super.setSelectionProvider(provider);
- this.provider = provider;
- }
-
- public List getSelectedObjects()
- {
- List processedObjects = new ArrayList();
- List objects = super.getSelectedObjects();
- Iterator it = objects.iterator();
- while (it.hasNext()) {
- Object item = it.next();
- if (item instanceof AbstractModelCollection) {
- processedObjects.add(((AbstractModelCollection) item).getModel());
- }
- else {
- processedObjects.add(item);
- }
- }
-
- return processedObjects;
- }
-
- protected boolean calculateEnabled() {
- Object selection = ((IStructuredSelection) getSelection()).getFirstElement();
-
- if (selection instanceof IASDObject) {
- return !((IASDObject) selection).isReadOnly();
- }
-
- return true;
- }
-
- protected void selectAndDirectEdit(final Object o) {
- Runnable runnable = new Runnable() {
- public void run() {
- if (o instanceof Notifier) {
- performSelection(o);
- activateDirectEdit();
- }
- }};
- Display.getCurrent().asyncExec(runnable);
- }
-
- protected void activateDirectEdit() {
- IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
- if (!(part instanceof ContentOutline)) {
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- Object graphicalViewer = editor.getAdapter(GraphicalViewer.class);
- if (graphicalViewer instanceof AbstractEditPartViewer) {
- AbstractEditPartViewer viewer = (AbstractEditPartViewer) graphicalViewer;
- Object obj = viewer.getSelectedEditParts().get(0);
- // todo: rmah: we need to completely remove all implementations of doDirectEdit().
- // Use performRequest() instead.
-// doDirectEdit((EditPart) obj);
- Request request = new Request();
- request.setType(RequestConstants.REQ_DIRECT_EDIT);
- ((EditPart) obj).performRequest(request);
- }
- }
- }
-
- protected void doDirectEdit(EditPart ep) {
- Request request = new Request();
- request.setType(RequestConstants.REQ_DIRECT_EDIT);
- ep.performRequest(request);
- }
-
- protected void performSelection(Object object) {
- // TODO: We shouldn't know about WSDLBaseAdapter here....
- if (object instanceof WSDLBaseAdapter) {
- object = ((WSDLBaseAdapter) object).getTarget();
- }
- if (!(object instanceof Notifier)) {
- return;
- }
-
- Notifier element = (Notifier) object;
-
- try {
- // TODO: We shouldn't know about WSDLAdapterFactoryHelper here....
- Object adapted = WSDLAdapterFactoryHelper.getInstance().adapt(element);
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- if (editor != null && editor.getAdapter(ISelectionProvider.class) != null) {
- ISelectionProvider provider = (ISelectionProvider) editor.getAdapter(ISelectionProvider.class);
- if (provider != null) {
- provider.setSelection(new StructuredSelection(adapted));
- }
- }
- }
- catch (Exception e) {}
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/IASDAddCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/IASDAddCommand.java
deleted file mode 100644
index 552ee0bb9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/IASDAddCommand.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-public interface IASDAddCommand {
- public Object getNewlyAddedComponent();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ShowPropertiesViewAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ShowPropertiesViewAction.java
deleted file mode 100644
index 8f447ace9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ShowPropertiesViewAction.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.actions;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-
-
-/**
- * Show the properties view in the current perspective.
- */
-public class ShowPropertiesViewAction extends BaseSelectionAction
-{
- public static final String ID = "org.eclipse.wst.wsdl.ui.internal.asd.actions.ShowPropertiesViewAction"; //$NON-NLS-1$
- public static final String PROPERTIES_VIEW_ID = "org.eclipse.ui.views.PropertySheet"; //$NON-NLS-1$
-
- protected static ImageDescriptor enabledImage, disabledImage;
-
- public ShowPropertiesViewAction(IWorkbenchPart part)
- {
- super(part);
- setId(ID);
- setText(Messages._UI_ACTION_SHOW_PROPERTIES);
- setToolTipText(getText());
- setImageDescriptor(ASDEditorPlugin.getImageDescriptorFromPlugin("icons/elcl16/showproperties_obj.gif") ); //$NON-NLS-1$
- setDisabledImageDescriptor(ASDEditorPlugin.getImageDescriptorFromPlugin("icons/dlcl16/showproperties_obj.gif") ); //$NON-NLS-1$
- }
-
- protected boolean calculateEnabled()
- {
- return true;
- }
-
- public void run()
- {
- try
- {
- getWorkbenchPart().getSite().getPage().showView(PROPERTIES_VIEW_ID);
- }
- catch (PartInitException pie)
- {
-
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewContextMenuProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewContextMenuProvider.java
deleted file mode 100644
index 6e0d22e27..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewContextMenuProvider.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design;
-
-import org.eclipse.gef.ContextMenuProvider;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPartViewer;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.gef.ui.actions.ActionRegistry;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.action.IContributionItem;
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.MenuManager;
-import org.eclipse.jface.action.Separator;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchActionConstants;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ShowPropertiesViewAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ColumnEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.IActionProvider;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.ContextMenuParticipant;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorModeManager;
-
-
-public class DesignViewContextMenuProvider extends ContextMenuProvider
-{
- ISelectionProvider selectionProvider;
-
- /**
- * Constructor for GraphContextMenuProvider.
- *
- * @param selectionProvider
- * @param editor
- */
- public DesignViewContextMenuProvider(EditPartViewer viewer, ISelectionProvider selectionProvider)
- {
- super(viewer);
- this.selectionProvider = selectionProvider;
- }
-
- protected Object getAppropriateSelection(Object selection) {
- if (selection instanceof ColumnEditPart) {
- return ((EditPart) selection).getParent();
- }
-
- return selection;
- }
-
- /**
- * @see org.eclipse.gef.ui.parts.ContextMenuProvider#buildContextMenu(org.eclipse.jface.action.IMenuManager,
- * org.eclipse.gef.EditPartViewer)
- */
- public void buildContextMenu(IMenuManager menu)
- {
- IMenuManager currentMenu = menu;
-
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- EditorModeManager manager = (EditorModeManager)editor.getAdapter(EditorModeManager.class);
- ContextMenuParticipant contextMenuParticipant = manager != null ? manager.getCurrentMode().getContextMenuParticipant() : null;
-
-
- currentMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
- ActionRegistry registry = getEditorActionRegistry();
- ISelection selection = selectionProvider.getSelection();
-
- Object activePart = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
-
- if (selection != null)
- {
- Object selectedObject = ((StructuredSelection) selection).getFirstElement();
- selectedObject = getAppropriateSelection(selectedObject);
-
- if (contextMenuParticipant != null)
- {
- // Convert editparts to model objects as selections
- Object o = selectedObject;
- if (o instanceof EditPart)
- {
- o = ((EditPart)selectedObject).getModel();
- }
- contextMenuParticipant.contributeActions(o, menu);
- }
-
- if (selectedObject instanceof IActionProvider)
- {
- IActionProvider actionProvider = (IActionProvider) selectedObject;
- String[] actions = actionProvider.getActions(activePart);
- for (int i = 0; i < actions.length; i++)
- {
- String id = actions[i];
- if (contextMenuParticipant == null || contextMenuParticipant.isApplicable(selectedObject, id))
- {
- if (id.startsWith(BaseSelectionAction.SUBMENU_START_ID)) {
- String text = id.substring(BaseSelectionAction.SUBMENU_START_ID.length());
- IMenuManager subMenu = new MenuManager(text);
- currentMenu.add(subMenu);
- currentMenu = subMenu;
- }
- else if (id.startsWith(BaseSelectionAction.SUBMENU_END_ID)) {
- currentMenu = getParentMenu(menu, currentMenu);
- }
- else
- {
- IAction action = registry.getAction(id);
- if (action != null) {
- action.isEnabled();
- currentMenu.add(action);
- }
- }
- }
- }
-
- menu.add(registry.getAction(ShowPropertiesViewAction.ID));
- menu.add(new Separator());
- menu.add(new Separator("refactoring-slot-temp")); //$NON-NLS-1$
- menu.add(new Separator());
- menu.add(new Separator("search_slot_temp")); //$NON-NLS-1$
- menu.add(new Separator());
- }
- }
- menu.add(new Separator());
- }
-
- protected IMenuManager getParentMenu(IMenuManager root, IMenuManager child) {
- IMenuManager parent = null;
-
- IContributionItem[] kids = root.getItems();
- int index = 0;
- while (index < kids.length && parent == null) {
- IContributionItem item = kids[index];
- if (item.equals(child)) {
- parent = root;
- }
- else {
- if (item instanceof IMenuManager) {
- parent = getParentMenu((IMenuManager) item, child);
- }
- }
- index++;
- }
-
- return parent;
- }
-
- protected ActionRegistry getEditorActionRegistry()
- {
- return (ActionRegistry) ASDEditorPlugin.getActiveEditor().getAdapter(ActionRegistry.class);
- }
- protected CommandStack commandStack;
-
- protected CommandStack getCommandStack()
- {
- if (commandStack == null)
- commandStack = getViewer().getEditDomain().getCommandStack();
- return commandStack;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicalViewer.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicalViewer.java
deleted file mode 100644
index d602a7020..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicalViewer.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.ui.parts.ScrollingGraphicalViewer;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.wst.xsd.ui.internal.adt.design.BaseGraphicalViewerKeyHandler;
-import org.eclipse.wst.xsd.ui.internal.adt.editor.CommonSelectionManager;
-
-public class DesignViewGraphicalViewer extends ScrollingGraphicalViewer implements ISelectionChangedListener
-{
- protected ASDSelectionChangedListener internalSelectionProvider = new ASDSelectionChangedListener();
-//TODO Make this generic
- public DesignViewGraphicalViewer(IEditorPart editor, CommonSelectionManager manager)
- {
- super();
- setContextMenu(new DesignViewContextMenuProvider(this, this));
- editor.getEditorSite().registerContextMenu("org.eclipse.wst.wsdl.editor.popup.graph", getContextMenu(), internalSelectionProvider, false); //$NON-NLS-1$
-
- // make the internalSelectionProvider listen to graph view selection changes
- addSelectionChangedListener(internalSelectionProvider);
- internalSelectionProvider.addSelectionChangedListener(manager);
- manager.addSelectionChangedListener(this);
-
- setKeyHandler(new BaseGraphicalViewerKeyHandler(this));
- }
-
- // this method is called when something changes in the selection manager
- // (e.g. a selection occured from another view)
- public void selectionChanged(SelectionChangedEvent event)
- {
- Object selectedObject = ((StructuredSelection) event.getSelection()).getFirstElement();
- if (event.getSource() != internalSelectionProvider)
- {
- EditPart editPart = getEditPart(getRootEditPart(), selectedObject);
- if (editPart != null)
- {
- setSelection(new StructuredSelection(editPart));
- }
- }
- }
-
- protected EditPart getEditPart(EditPart editPart, Object model)
- {
- EditPart result = null;
- if (editPart.getModel() == model)
- {
- result = editPart;
- }
- else
- {
- for (Iterator i = editPart.getChildren().iterator(); i.hasNext(); )
- {
- result = getEditPart((EditPart)i.next(), model);
- if (result != null)
- {
- break;
- }
- }
- }
- return result;
- }
-
-
- /*
- * We need to convert from edit part selections to model object selections
- */
- class ASDSelectionChangedListener implements ISelectionProvider, ISelectionChangedListener
- {
- protected List listenerList = new ArrayList();
- protected ISelection selection = new StructuredSelection();
-
- public void addSelectionChangedListener(ISelectionChangedListener listener)
- {
- listenerList.add(listener);
- }
-
- public void removeSelectionChangedListener(ISelectionChangedListener listener)
- {
- listenerList.remove(listener);
- }
-
- public ISelection getSelection()
- {
- return selection;
- }
-
- protected void notifyListeners(SelectionChangedEvent event)
- {
- for (Iterator i = listenerList.iterator(); i.hasNext();)
- {
- ISelectionChangedListener listener = (ISelectionChangedListener) i.next();
- listener.selectionChanged(event);
- }
- }
-
- public StructuredSelection convertSelectionFromEditPartToModel(ISelection editPartSelection)
- {
- List selectedModelObjectList = new ArrayList();
- if (editPartSelection instanceof IStructuredSelection)
- {
- for (Iterator i = ((IStructuredSelection) editPartSelection).iterator(); i.hasNext();)
- {
- Object obj = i.next();
- Object model = null;
- if (obj instanceof EditPart)
- {
- EditPart editPart = (EditPart) obj;
- model = editPart.getModel();
- }
- if (model != null)
- {
- selectedModelObjectList.add(model);
- }
- }
- }
- return new StructuredSelection(selectedModelObjectList);
- }
-
- public void setSelection(ISelection selection)
- {
- this.selection = selection;
- }
-
- public void selectionChanged(SelectionChangedEvent event)
- {
- ISelection newSelection = convertSelectionFromEditPartToModel(event.getSelection());
- this.selection = newSelection;
- SelectionChangedEvent newEvent = new SelectionChangedEvent(this, newSelection);
- notifyListeners(newEvent);
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicsConstants.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicsConstants.java
deleted file mode 100644
index c4e8b437f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicsConstants.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.widgets.Display;
-
-/**
- * A collection of color and font related constants.
- */
-public interface DesignViewGraphicsConstants
-{
- public final static Display display = Display.getDefault();
-
- public final static Color groupBorderColor = new Color(null, 118, 134, 164);
- public final static Color groupHeaderColor = new Color(null, 232, 240, 248);
-
- public final static Color elementBorderColor = new Color(null, 120, 152, 184);
- public final static Color elementBackgroundColor = new Color(null, 232, 240, 248);
- public final static Color elementLabelColor = new Color(null, 80, 102, 144);
- public final static Color readOnlyBorderColor = new Color(null, 164, 164, 164);
- public final static Color red = new Color(null, 255, 0, 0);
-
- public final static Color tableOperationHeadingColor = new Color(null, 224, 233, 246);
- public final static Color tableMessageHeadingColor = new Color(null, 230, 240, 245);
- public final static Color tableCellSelectionColor = new Color(null, 238, 232, 170); //new Color(null, 240, 230, 140); //1, 15, 42);
-
- public final static Color readOnlyTableOperationHeadingColor = new Color(null, 239, 243, 255);
- public final static Color readOnlyMessageRefHeadingColor = new Color(null, 245, 245, 245);
-
- public final static Color readOnlyBackgroundColor = ColorConstants.white;
- public final static Color readOnlyLabelColor = ColorConstants.gray;
- public final static Color labelColor = ColorConstants.black;
-
- public final static Font smallBoldFont = new Font(Display.getCurrent(), "Tahoma", 8, SWT.BOLD); //$NON-NLS-1$
- public final static Font mediumFont = new Font(Display.getCurrent(), "Tahoma", 10, SWT.NONE); //$NON-NLS-1$
- public final static Font mediumBoldFont = new Font(Display.getCurrent(), "Tahoma", 10, SWT.BOLD); //$NON-NLS-1$
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/KeyboardDragImpl.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/KeyboardDragImpl.java
deleted file mode 100644
index a84adf13f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/KeyboardDragImpl.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design;
-
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.xsd.ui.internal.adt.design.IKeyboardDrag;
-import org.eclipse.wst.xsd.ui.internal.adt.design.editpolicies.KeyBoardAccessibilityEditPolicy;
-
-public class KeyboardDragImpl extends BaseSelectionAction implements IKeyboardDrag {
-
- public KeyboardDragImpl() {
- super(null);
- }
-
- public void performKeyboardDrag(GraphicalEditPart movingElement, int direction) {
-
- KeyBoardAccessibilityEditPolicy policy = (KeyBoardAccessibilityEditPolicy)movingElement.getEditPolicy(KeyBoardAccessibilityEditPolicy.KEY);
-
- EditPart rightElement = policy.getRelativeEditPart(movingElement, direction);
- policy = (KeyBoardAccessibilityEditPolicy)rightElement.getEditPolicy(KeyBoardAccessibilityEditPolicy.KEY);
- EditPart leftElement = (policy != null)? policy.getRelativeEditPart(rightElement, direction): null;
-
- Object leftSibElement = (leftElement != null)? leftElement.getModel() : null;
- Object rightSibElement = (rightElement != null)? rightElement.getModel() : null;
- if (direction == PositionConstants.SOUTH) {
- leftSibElement = rightSibElement;
- rightSibElement = leftSibElement;
- } else if (direction != PositionConstants.NORTH) return;
-
- Object source = movingElement.getModel();
-
- if (source instanceof IMessageReference) {
-
- if(!(leftSibElement instanceof IMessageReference)) leftSibElement = null;
- if(!(rightSibElement instanceof IMessageReference)) rightSibElement = null;
-
- Object messageRefOwner = ((IMessageReference) source).getOwnerOperation();
- if (messageRefOwner instanceof IOperation) {
- IMessageReference leftSib = (IMessageReference) leftSibElement;
- IMessageReference rightSib = (IMessageReference) rightSibElement;
- IMessageReference movingSib = (IMessageReference) source;
- Command command = ((IOperation) messageRefOwner).getReorderMessageReferencesCommand(leftSib, rightSib, movingSib);
- command.execute();
- performSelection(source);
- }
- }
- else if (source instanceof IParameter) {
-
- if(!(leftSibElement instanceof IParameter)) leftSibElement = null;
- if(!(rightSibElement instanceof IParameter)) rightSibElement = null;
-
- Object paramOwner = ((IParameter) source).getOwner();
- if (paramOwner instanceof IMessageReference) {
- IParameter leftSib = (IParameter) leftSibElement;
- IParameter rightSib = (IParameter) rightSibElement;
- IParameter movingSib = (IParameter) source;
- Command command = ((IMessageReference) paramOwner).getReorderParametersCommand(leftSib, rightSib, movingSib);
- command.execute();
- performSelection(source);
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/CenteredConnectionAnchor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/CenteredConnectionAnchor.java
deleted file mode 100644
index e5c9c29ee..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/CenteredConnectionAnchor.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.connections;
-
-import org.eclipse.draw2d.AbstractConnectionAnchor;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-
-public class CenteredConnectionAnchor extends AbstractConnectionAnchor
-{
- public static final int TOP = 0;
- public static final int BOTTOM = 1;
- public static final int LEFT = 2;
- public static final int RIGHT = 3;
-
- // These two are custom for rectangles with header blocks
- public static final int HEADER_LEFT = 4;
- public static final int HEADER_RIGHT = 5;
-
- private int location;
- private int inset;
- private int offset = 0;
-
- public CenteredConnectionAnchor(IFigure owner, int location, int inset) {
- super(owner);
- this.location = location;
- this.inset = inset;
- }
-
- public CenteredConnectionAnchor(IFigure owner, int location, int inset, int offset) {
- this(owner, location, inset);
- this.offset = offset;
- }
-
- public Point getLocation(Point reference) {
- Rectangle r = getOwner().getBounds();
- int x, y;
- switch (location) {
- case TOP:
- x = r.right() - r.width / 2 + offset;
- y = r.y + inset;
- break;
- case BOTTOM:
- x = r.right() - r.width / 2 + offset;
- y = r.bottom() - inset;
- break;
- case LEFT:
- x = r.x + inset;
- y = r.bottom() - r.height / 2 + offset;
- break;
- case RIGHT:
- x = r.right() - inset;
- y = r.bottom() - r.height / 2 + offset;
- break;
- case HEADER_LEFT:
- x = r.x + inset;
- y = r.y + offset;
- break;
- case HEADER_RIGHT:
- x = r.right() - inset;
- y = r.y + offset;
- break;
-
- default:
- // Something went wrong. Attach the anchor to the middle
- x = r.right() - r.width / 2;
- y = r.bottom() - r.height / 2;
- }
- Point p = new Point(x,y);
-
- getOwner().translateToAbsolute(p);
- return p;
- }
-
- public Point getReferencePoint() {
- return getLocation(null);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/TopLeftConnectionAnchor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/TopLeftConnectionAnchor.java
deleted file mode 100644
index 840bda89c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/TopLeftConnectionAnchor.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.connections;
-
-import org.eclipse.draw2d.AbstractConnectionAnchor;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Point;
-
-public class TopLeftConnectionAnchor extends AbstractConnectionAnchor
-{
- IFigure label;
- public TopLeftConnectionAnchor(IFigure owner, IFigure label) {
- super(owner);
- this.label = label;
- }
- public Point getLocation(Point reference) {
- int x = getOwner().getBounds().x;
- int y = label.getBounds().y + label.getBounds().height / 2;
- Point p = new Point(x,y);
- getOwner().translateToAbsolute(p);
- return p;
- }
-
- public Point getReferencePoint() {
- return getLocation(null);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDCCombo.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDCCombo.java
deleted file mode 100644
index 4a9b1daa1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDCCombo.java
+++ /dev/null
@@ -1,1514 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.directedit;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.SWTException;
-import org.eclipse.swt.accessibility.ACC;
-import org.eclipse.swt.accessibility.AccessibleAdapter;
-import org.eclipse.swt.accessibility.AccessibleControlAdapter;
-import org.eclipse.swt.accessibility.AccessibleControlEvent;
-import org.eclipse.swt.accessibility.AccessibleEvent;
-import org.eclipse.swt.accessibility.AccessibleTextAdapter;
-import org.eclipse.swt.accessibility.AccessibleTextEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.graphics.GC;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Layout;
-import org.eclipse.swt.widgets.List;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Menu;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.swt.widgets.TypedListener;
-import org.eclipse.swt.widgets.Widget;
-
-/*
- * rmah:
- * This class is a copy of CCombo. We copy it because we wish to align
- * the Text of the Combo in our own special way. However there is no
- * way to access the Text object within CCombo.....
- * Bug for this issue to be opened
- */
-
-/**
- * The CCombo class represents a selectable user interface object
- * that combines a text field and a list and issues notification
- * when an item is selected from the list.
- * <p>
- * Note that although this class is a subclass of <code>Composite</code>,
- * it does not make sense to add children to it, or set a layout on it.
- * </p>
- * <dl>
- * <dt><b>Styles:</b>
- * <dd>BORDER, READ_ONLY, FLAT</dd>
- * <dt><b>Events:</b>
- * <dd>Selection</dd>
- * </dl>
- */
-public final class ASDCCombo extends Composite {
-
- Text text;
- List list;
- int visibleItemCount = 5;
- Shell popup;
- Button arrow;
- boolean hasFocus;
- Listener listener, filter;
- Color foreground, background;
- Font font;
- private int textIndent = 5;
-
-/**
- * Constructs a new instance of this class given its parent
- * and a style value describing its behavior and appearance.
- * <p>
- * The style value is either one of the style constants defined in
- * class <code>SWT</code> which is applicable to instances of this
- * class, or must be built by <em>bitwise OR</em>'ing together
- * (that is, using the <code>int</code> "|" operator) two or more
- * of those <code>SWT</code> style constants. The class description
- * lists the style constants that are applicable to the class.
- * Style bits are also inherited from superclasses.
- * </p>
- *
- * @param parent a widget which will be the parent of the new instance (cannot be null)
- * @param style the style of widget to construct
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
- * </ul>
- *
- * @see SWT#BORDER
- * @see SWT#READ_ONLY
- * @see SWT#FLAT
- * @see Widget#getStyle()
- */
-public ASDCCombo (Composite parent, int style) {
- super (parent, style = checkStyle (style));
-
- int textStyle = SWT.SINGLE;
- if ((style & SWT.READ_ONLY) != 0) textStyle |= SWT.READ_ONLY;
- if ((style & SWT.FLAT) != 0) textStyle |= SWT.FLAT;
- text = new Text (this, textStyle);
- int arrowStyle = SWT.ARROW | SWT.DOWN;
- if ((style & SWT.FLAT) != 0) arrowStyle |= SWT.FLAT;
- arrow = new Button (this, arrowStyle);
-
- listener = new Listener () {
- public void handleEvent (Event event) {
- if (popup == event.widget) {
- popupEvent (event);
- return;
- }
- if (text == event.widget) {
- textEvent (event);
- return;
- }
- if (list == event.widget) {
- listEvent (event);
- return;
- }
- if (arrow == event.widget) {
- arrowEvent (event);
- return;
- }
- if (ASDCCombo.this == event.widget) {
- comboEvent (event);
- return;
- }
- if (getShell () == event.widget) {
- handleFocus (SWT.FocusOut);
- }
- }
- };
- filter = new Listener() {
- public void handleEvent(Event event) {
- Shell shell = ((Control)event.widget).getShell ();
- if (shell == ASDCCombo.this.getShell ()) {
- handleFocus (SWT.FocusOut);
- }
- }
- };
-
- int [] comboEvents = {SWT.Dispose, SWT.Move, SWT.Resize};
- for (int i=0; i<comboEvents.length; i++) this.addListener (comboEvents [i], listener);
-
- int [] textEvents = {SWT.KeyDown, SWT.KeyUp, SWT.MenuDetect, SWT.Modify, SWT.MouseDown, SWT.MouseUp, SWT.Traverse, SWT.FocusIn};
- for (int i=0; i<textEvents.length; i++) text.addListener (textEvents [i], listener);
-
- int [] arrowEvents = {SWT.Selection, SWT.FocusIn};
- for (int i=0; i<arrowEvents.length; i++) arrow.addListener (arrowEvents [i], listener);
-
- createPopup(null, -1);
- initAccessible();
-}
-static int checkStyle (int style) {
- int mask = SWT.BORDER | SWT.READ_ONLY | SWT.FLAT | SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT;
- return style & mask;
-}
-/**
- * Adds the argument to the end of the receiver's list.
- *
- * @param string the new item
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see #add(String,int)
- */
-public void add (String string) {
- checkWidget();
- if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- list.add (string);
-}
-/**
- * Adds the argument to the receiver's list at the given
- * zero-relative index.
- * <p>
- * Note: To add an item at the end of the list, use the
- * result of calling <code>getItemCount()</code> as the
- * index or use <code>add(String)</code>.
- * </p>
- *
- * @param string the new item
- * @param index the index for the item
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
- * <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list (inclusive)</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see #add(String)
- */
-public void add (String string, int index) {
- checkWidget();
- if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- list.add (string, index);
-}
-/**
- * Adds the listener to the collection of listeners who will
- * be notified when the receiver's text is modified, by sending
- * it one of the messages defined in the <code>ModifyListener</code>
- * interface.
- *
- * @param listener the listener which should be notified
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see ModifyListener
- * @see #removeModifyListener
- */
-public void addModifyListener (ModifyListener listener) {
- checkWidget();
- if (listener == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- TypedListener typedListener = new TypedListener (listener);
- addListener (SWT.Modify, typedListener);
-}
-/**
- * Adds the listener to the collection of listeners who will
- * be notified when the receiver's selection changes, by sending
- * it one of the messages defined in the <code>SelectionListener</code>
- * interface.
- * <p>
- * <code>widgetSelected</code> is called when the combo's list selection changes.
- * <code>widgetDefaultSelected</code> is typically called when ENTER is pressed the combo's text area.
- * </p>
- *
- * @param listener the listener which should be notified
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see SelectionListener
- * @see #removeSelectionListener
- * @see SelectionEvent
- */
-public void addSelectionListener(SelectionListener listener) {
- checkWidget();
- if (listener == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- TypedListener typedListener = new TypedListener (listener);
- addListener (SWT.Selection,typedListener);
- addListener (SWT.DefaultSelection,typedListener);
-}
-void arrowEvent (Event event) {
- switch (event.type) {
- case SWT.FocusIn: {
- handleFocus (SWT.FocusIn);
- break;
- }
- case SWT.Selection: {
- dropDown (!isDropped ());
- break;
- }
- }
-}
-/**
- * Sets the selection in the receiver's text field to an empty
- * selection starting just before the first character. If the
- * text field is editable, this has the effect of placing the
- * i-beam at the start of the text.
- * <p>
- * Note: To clear the selected items in the receiver's list,
- * use <code>deselectAll()</code>.
- * </p>
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see #deselectAll
- */
-public void clearSelection () {
- checkWidget ();
- text.clearSelection ();
- list.deselectAll ();
-}
-void comboEvent (Event event) {
- switch (event.type) {
- case SWT.Dispose:
- if (popup != null && !popup.isDisposed ()) {
- list.removeListener (SWT.Dispose, listener);
- popup.dispose ();
- }
- Shell shell = getShell ();
- shell.removeListener (SWT.Deactivate, listener);
- Display display = getDisplay ();
- display.removeFilter (SWT.FocusIn, filter);
- popup = null;
- text = null;
- list = null;
- arrow = null;
- break;
- case SWT.Move:
- dropDown (false);
- break;
- case SWT.Resize:
- internalLayout (false);
- break;
- }
-}
-
-public Point computeSize (int wHint, int hHint, boolean changed) {
- checkWidget ();
- int width = 0, height = 0;
- String[] items = list.getItems ();
- int textWidth = 0;
- GC gc = new GC (text);
- int spacer = gc.stringExtent (" ").x; //$NON-NLS-1$
- for (int i = 0; i < items.length; i++) {
- textWidth = Math.max (gc.stringExtent (items[i]).x, textWidth);
- }
- gc.dispose();
- Point textSize = text.computeSize (SWT.DEFAULT, SWT.DEFAULT, changed);
- Point arrowSize = arrow.computeSize (SWT.DEFAULT, SWT.DEFAULT, changed);
- Point listSize = list.computeSize (SWT.DEFAULT, SWT.DEFAULT, changed);
- int borderWidth = getBorderWidth ();
-
- height = Math.max (textSize.y, arrowSize.y);
- width = Math.max (textWidth + 2*spacer + arrowSize.x + 2*borderWidth, listSize.x);
- if (wHint != SWT.DEFAULT) width = wHint;
- if (hHint != SWT.DEFAULT) height = hHint;
- return new Point (width + 2*borderWidth, height + 2*borderWidth);
-}
-void createPopup(String[] items, int selectionIndex) {
- // create shell and list
- popup = new Shell (getShell (), SWT.NO_TRIM | SWT.ON_TOP);
- int style = getStyle ();
- int listStyle = SWT.SINGLE | SWT.V_SCROLL;
- if ((style & SWT.FLAT) != 0) listStyle |= SWT.FLAT;
- if ((style & SWT.RIGHT_TO_LEFT) != 0) listStyle |= SWT.RIGHT_TO_LEFT;
- if ((style & SWT.LEFT_TO_RIGHT) != 0) listStyle |= SWT.LEFT_TO_RIGHT;
- list = new List (popup, listStyle);
- if (font != null) list.setFont (font);
- if (foreground != null) list.setForeground (foreground);
- if (background != null) list.setBackground (background);
-
- int [] popupEvents = {SWT.Close, SWT.Paint, SWT.Deactivate};
- for (int i=0; i<popupEvents.length; i++) popup.addListener (popupEvents [i], listener);
- int [] listEvents = {SWT.MouseUp, SWT.Selection, SWT.Traverse, SWT.KeyDown, SWT.KeyUp, SWT.FocusIn, SWT.Dispose};
- for (int i=0; i<listEvents.length; i++) list.addListener (listEvents [i], listener);
-
- if (items != null) list.setItems (items);
- if (selectionIndex != -1) list.setSelection (selectionIndex);
-}
-/**
- * Deselects the item at the given zero-relative index in the receiver's
- * list. If the item at the index was already deselected, it remains
- * deselected. Indices that are out of range are ignored.
- *
- * @param index the index of the item to deselect
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void deselect (int index) {
- checkWidget ();
- list.deselect (index);
-}
-/**
- * Deselects all selected items in the receiver's list.
- * <p>
- * Note: To clear the selection in the receiver's text field,
- * use <code>clearSelection()</code>.
- * </p>
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see #clearSelection
- */
-public void deselectAll () {
- checkWidget ();
- list.deselectAll ();
-}
-void dropDown (boolean drop) {
- if (drop == isDropped ()) return;
- if (!drop) {
- popup.setVisible (false);
- text.selectAll();
- if (!isDisposed ()&& arrow.isFocusControl()) {
- text.setFocus();
- }
- return;
- }
-
- if (getShell() != popup.getParent ()) {
- String[] items = list.getItems ();
- int selectionIndex = list.getSelectionIndex ();
- list.removeListener (SWT.Dispose, listener);
- popup.dispose();
- popup = null;
- list = null;
- createPopup (items, selectionIndex);
- }
-
- Point size = getSize ();
- int itemCount = list.getItemCount ();
- itemCount = (itemCount == 0) ? visibleItemCount : Math.min(visibleItemCount, itemCount);
- int itemHeight = list.getItemHeight () * itemCount;
- Point listSize = list.computeSize (SWT.DEFAULT, itemHeight, false);
- list.setBounds (1, 1, Math.max (size.x - 2, listSize.x), listSize.y);
-
- int index = list.getSelectionIndex ();
- if (index != -1) list.setTopIndex (index);
- Display display = getDisplay ();
- Rectangle listRect = list.getBounds ();
- Rectangle parentRect = display.map (getParent (), null, getBounds ());
- Point comboSize = getSize ();
- Rectangle displayRect = getMonitor ().getClientArea ();
- int width = Math.max (comboSize.x, listRect.width + 2);
- int height = listRect.height + 2;
- int x = parentRect.x;
- int y = parentRect.y + comboSize.y;
- if (y + height > displayRect.y + displayRect.height) y = parentRect.y - height;
- if (x + width > displayRect.x + displayRect.width) x = displayRect.x + displayRect.width - listRect.width;
- popup.setBounds (x, y, width, height);
- popup.setVisible (true);
- list.setFocus ();
-}
-/*
- * Return the lowercase of the first non-'&' character following
- * an '&' character in the given string. If there are no '&'
- * characters in the given string, return '\0'.
- */
-char _findMnemonic (String string) {
- if (string == null) return '\0';
- int index = 0;
- int length = string.length ();
- do {
- while (index < length && string.charAt (index) != '&') index++;
- if (++index >= length) return '\0';
- if (string.charAt (index) != '&') return Character.toLowerCase (string.charAt (index));
- index++;
- } while (index < length);
- return '\0';
-}
-/*
- * Return the Label immediately preceding the receiver in the z-order,
- * or null if none.
- */
-Label getAssociatedLabel () {
- Control[] siblings = getParent ().getChildren ();
- for (int i = 0; i < siblings.length; i++) {
- if (siblings [i] == this) {
- if (i > 0 && siblings [i-1] instanceof Label) {
- return (Label) siblings [i-1];
- }
- }
- }
- return null;
-}
-public Control [] getChildren () {
- checkWidget();
- return new Control [0];
-}
-/**
- * Gets the editable state.
- *
- * @return whether or not the receiver is editable
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @since 3.0
- */
-public boolean getEditable () {
- checkWidget ();
- return text.getEditable();
-}
-/**
- * Returns the item at the given, zero-relative index in the
- * receiver's list. Throws an exception if the index is out
- * of range.
- *
- * @param index the index of the item to return
- * @return the item at the given index
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public String getItem (int index) {
- checkWidget();
- return list.getItem (index);
-}
-/**
- * Returns the number of items contained in the receiver's list.
- *
- * @return the number of items
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public int getItemCount () {
- checkWidget ();
- return list.getItemCount ();
-}
-/**
- * Returns the height of the area which would be used to
- * display <em>one</em> of the items in the receiver's list.
- *
- * @return the height of one item
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public int getItemHeight () {
- checkWidget ();
- return list.getItemHeight ();
-}
-/**
- * Returns an array of <code>String</code>s which are the items
- * in the receiver's list.
- * <p>
- * Note: This is not the actual structure used by the receiver
- * to maintain its list of items, so modifying the array will
- * not affect the receiver.
- * </p>
- *
- * @return the items in the receiver's list
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public String [] getItems () {
- checkWidget ();
- return list.getItems ();
-}
-public Menu getMenu() {
- return text.getMenu();
-}
-/**
- * Returns a <code>Point</code> whose x coordinate is the start
- * of the selection in the receiver's text field, and whose y
- * coordinate is the end of the selection. The returned values
- * are zero-relative. An "empty" selection as indicated by
- * the the x and y coordinates having the same value.
- *
- * @return a point representing the selection start and end
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public Point getSelection () {
- checkWidget ();
- return text.getSelection ();
-}
-/**
- * Returns the zero-relative index of the item which is currently
- * selected in the receiver's list, or -1 if no item is selected.
- *
- * @return the index of the selected item
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public int getSelectionIndex () {
- checkWidget ();
- return list.getSelectionIndex ();
-}
-public int getStyle () {
- int style = super.getStyle ();
- style &= ~SWT.READ_ONLY;
- if (!text.getEditable()) style |= SWT.READ_ONLY;
- return style;
-}
-/**
- * Returns a string containing a copy of the contents of the
- * receiver's text field.
- *
- * @return the receiver's text
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public String getText () {
- checkWidget ();
- return text.getText ();
-}
-/**
- * Returns the height of the receivers's text field.
- *
- * @return the text height
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public int getTextHeight () {
- checkWidget ();
- return text.getLineHeight ();
-}
-/**
- * Returns the maximum number of characters that the receiver's
- * text field is capable of holding. If this has not been changed
- * by <code>setTextLimit()</code>, it will be the constant
- * <code>Combo.LIMIT</code>.
- *
- * @return the text limit
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public int getTextLimit () {
- checkWidget ();
- return text.getTextLimit ();
-}
-/**
- * Gets the number of items that are visible in the drop
- * down portion of the receiver's list.
- *
- * @return the number of items that are visible
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @since 3.0
- */
-public int getVisibleItemCount () {
- checkWidget ();
- return visibleItemCount;
-}
-void handleFocus (int type) {
- if (isDisposed ()) return;
- switch (type) {
- case SWT.FocusIn: {
- if (hasFocus) return;
-// if (getEditable ()) text.selectAll ();
- hasFocus = true;
- Shell shell = getShell ();
- shell.removeListener (SWT.Deactivate, listener);
- shell.addListener (SWT.Deactivate, listener);
- Display display = getDisplay ();
- display.removeFilter (SWT.FocusIn, filter);
- display.addFilter (SWT.FocusIn, filter);
- Event e = new Event ();
- notifyListeners (SWT.FocusIn, e);
- break;
- }
- case SWT.FocusOut: {
- if (!hasFocus) return;
- Control focusControl = getDisplay ().getFocusControl ();
- if (focusControl == arrow || focusControl == list || focusControl == text) return;
- hasFocus = false;
- Shell shell = getShell ();
- shell.removeListener(SWT.Deactivate, listener);
- Display display = getDisplay ();
- display.removeFilter (SWT.FocusIn, filter);
- Event e = new Event ();
- notifyListeners (SWT.FocusOut, e);
- break;
- }
- }
-}
-/**
- * Searches the receiver's list starting at the first item
- * (index 0) until an item is found that is equal to the
- * argument, and returns the index of that item. If no item
- * is found, returns -1.
- *
- * @param string the search item
- * @return the index of the item
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public int indexOf (String string) {
- checkWidget ();
- if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- return list.indexOf (string);
-}
-/**
- * Searches the receiver's list starting at the given,
- * zero-relative index until an item is found that is equal
- * to the argument, and returns the index of that item. If
- * no item is found or the starting index is out of range,
- * returns -1.
- *
- * @param string the search item
- * @param start the zero-relative index at which to begin the search
- * @return the index of the item
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public int indexOf (String string, int start) {
- checkWidget ();
- if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- return list.indexOf (string, start);
-}
-
-void initAccessible() {
- AccessibleAdapter accessibleAdapter = new AccessibleAdapter () {
- public void getName (AccessibleEvent e) {
- String name = null;
- Label label = getAssociatedLabel ();
- if (label != null) {
- name = stripMnemonic (label.getText());
- }
- e.result = name;
- }
- public void getKeyboardShortcut(AccessibleEvent e) {
- String shortcut = null;
- Label label = getAssociatedLabel ();
- if (label != null) {
- String text = label.getText ();
- if (text != null) {
- char mnemonic = _findMnemonic (text);
- if (mnemonic != '\0') {
- shortcut = "Alt+"+mnemonic; //$NON-NLS-1$
- }
- }
- }
- e.result = shortcut;
- }
- public void getHelp (AccessibleEvent e) {
- e.result = getToolTipText ();
- }
- };
- getAccessible ().addAccessibleListener (accessibleAdapter);
- text.getAccessible ().addAccessibleListener (accessibleAdapter);
- list.getAccessible ().addAccessibleListener (accessibleAdapter);
-
- arrow.getAccessible ().addAccessibleListener (new AccessibleAdapter() {
- public void getName (AccessibleEvent e) {
- e.result = isDropped () ? SWT.getMessage ("SWT_Close") : SWT.getMessage ("SWT_Open"); //$NON-NLS-1$ //$NON-NLS-2$
- }
- public void getKeyboardShortcut (AccessibleEvent e) {
- e.result = "Alt+Down Arrow"; //$NON-NLS-1$
- }
- public void getHelp (AccessibleEvent e) {
- e.result = getToolTipText ();
- }
- });
-
- getAccessible().addAccessibleTextListener (new AccessibleTextAdapter() {
- public void getCaretOffset (AccessibleTextEvent e) {
- e.offset = text.getCaretPosition ();
- }
- public void getSelectionRange(AccessibleTextEvent e) {
- Point sel = text.getSelection();
- e.offset = sel.x;
- e.length = sel.y - sel.x;
- }
- });
-
- getAccessible().addAccessibleControlListener (new AccessibleControlAdapter() {
- public void getChildAtPoint (AccessibleControlEvent e) {
- Point testPoint = toControl (e.x, e.y);
- if (getBounds ().contains (testPoint)) {
- e.childID = ACC.CHILDID_SELF;
- }
- }
-
- public void getLocation (AccessibleControlEvent e) {
- Rectangle location = getBounds ();
- Point pt = toDisplay (location.x, location.y);
- e.x = pt.x;
- e.y = pt.y;
- e.width = location.width;
- e.height = location.height;
- }
-
- public void getChildCount (AccessibleControlEvent e) {
- e.detail = 0;
- }
-
- public void getRole (AccessibleControlEvent e) {
- e.detail = ACC.ROLE_COMBOBOX;
- }
-
- public void getState (AccessibleControlEvent e) {
- e.detail = ACC.STATE_NORMAL;
- }
-
- public void getValue (AccessibleControlEvent e) {
- e.result = getText ();
- }
- });
-
- text.getAccessible ().addAccessibleControlListener (new AccessibleControlAdapter () {
- public void getRole (AccessibleControlEvent e) {
- e.detail = text.getEditable () ? ACC.ROLE_TEXT : ACC.ROLE_LABEL;
- }
- });
-
- arrow.getAccessible ().addAccessibleControlListener (new AccessibleControlAdapter() {
- public void getDefaultAction (AccessibleControlEvent e) {
- e.result = isDropped () ? SWT.getMessage ("SWT_Close") : SWT.getMessage ("SWT_Open"); //$NON-NLS-1$ //$NON-NLS-2$
- }
- });
-}
-boolean isDropped () {
- return popup.getVisible ();
-}
-public boolean isFocusControl () {
- checkWidget();
- if (text.isFocusControl () || arrow.isFocusControl () || list.isFocusControl () || popup.isFocusControl ()) {
- return true;
- }
- return super.isFocusControl ();
-}
-
-public void setTextIndent(int indent) {
- textIndent = indent;
-}
-
-void internalLayout (boolean changed) {
- if (isDropped ()) dropDown (false);
- Rectangle rect = getClientArea ();
- int width = rect.width;
- int height = rect.height;
- Point arrowSize = arrow.computeSize (SWT.DEFAULT, height, changed);
-
- text.pack();
- int textHeight = text.getBounds().height;
- int textX = textIndent;
- int textY = (height - textHeight) / 2;
- text.setLocation(textX, textY);
-
- arrow.setBounds (width - arrowSize.x, 0, arrowSize.x, arrowSize.y);
-}
-void listEvent (Event event) {
- switch (event.type) {
- case SWT.Dispose:
- if (getShell () != popup.getParent ()) {
- String[] items = list.getItems ();
- int selectionIndex = list.getSelectionIndex ();
- popup = null;
- list = null;
- createPopup (items, selectionIndex);
- }
- break;
- case SWT.FocusIn: {
- handleFocus (SWT.FocusIn);
- break;
- }
- case SWT.MouseUp: {
- if (event.button != 1) return;
- dropDown (false);
- break;
- }
- case SWT.Selection: {
- int index = list.getSelectionIndex ();
- if (index == -1) return;
- text.setText (list.getItem (index));
-// text.selectAll ();
- list.setSelection (index);
- Event e = new Event ();
- e.time = event.time;
- e.stateMask = event.stateMask;
- e.doit = event.doit;
- if (!isDropped()) {
- notifyListeners (SWT.Selection, e);
- }
- event.doit = e.doit;
- break;
- }
- case SWT.Traverse: {
- switch (event.detail) {
- case SWT.TRAVERSE_RETURN:
- case SWT.TRAVERSE_ESCAPE:
- case SWT.TRAVERSE_ARROW_PREVIOUS:
- case SWT.TRAVERSE_ARROW_NEXT:
- event.doit = false;
- break;
- }
- Event e = new Event ();
- e.time = event.time;
- e.detail = event.detail;
- e.doit = event.doit;
- e.character = event.character;
- e.keyCode = event.keyCode;
- notifyListeners (SWT.Traverse, e);
- event.doit = e.doit;
- event.detail = e.detail;
- break;
- }
- case SWT.KeyUp: {
- Event e = new Event ();
- e.time = event.time;
- e.character = event.character;
- e.keyCode = event.keyCode;
- e.stateMask = event.stateMask;
-
- notifyListeners (SWT.KeyUp, e);
-
-
- break;
- }
- case SWT.KeyDown: {
- if (event.character == SWT.ESC) {
- // Escape key cancels popup list
- dropDown (false);
- }
- if ((event.stateMask & SWT.ALT) != 0 && (event.keyCode == SWT.ARROW_UP || event.keyCode == SWT.ARROW_DOWN)) {
- dropDown (false);
- }
-
- if (event.character == SWT.CR) {
- // Enter causes default selection
- dropDown (false);
- Event e = new Event ();
- e.time = event.time;
- e.stateMask = event.stateMask;
- notifyListeners (SWT.DefaultSelection, e);
- }
- // At this point the widget may have been disposed.
- // If so, do not continue.
- if (isDisposed ()) break;
- Event e = new Event();
- e.time = event.time;
- e.character = event.character;
- e.keyCode = event.keyCode;
- e.stateMask = event.stateMask;
- notifyListeners(SWT.KeyDown, e);
- break;
-
- }
- }
-}
-
-void popupEvent(Event event) {
- switch (event.type) {
- case SWT.Paint:
- // draw black rectangle around list
- Rectangle listRect = list.getBounds();
- Color black = getDisplay().getSystemColor(SWT.COLOR_BLACK);
- event.gc.setForeground(black);
- event.gc.drawRectangle(0, 0, listRect.width + 1, listRect.height + 1);
- break;
- case SWT.Close:
- event.doit = false;
- dropDown (false);
- break;
- case SWT.Deactivate:
- dropDown (false);
- break;
- }
-}
-public void redraw () {
- super.redraw();
- text.redraw();
- arrow.redraw();
- if (popup.isVisible()) list.redraw();
-}
-public void redraw (int x, int y, int width, int height, boolean all) {
- super.redraw(x, y, width, height, true);
-}
-
-/**
- * Removes the item from the receiver's list at the given
- * zero-relative index.
- *
- * @param index the index for the item
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void remove (int index) {
- checkWidget();
- list.remove (index);
-}
-/**
- * Removes the items from the receiver's list which are
- * between the given zero-relative start and end
- * indices (inclusive).
- *
- * @param start the start of the range
- * @param end the end of the range
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_INVALID_RANGE - if either the start or end are not between 0 and the number of elements in the list minus 1 (inclusive)</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void remove (int start, int end) {
- checkWidget();
- list.remove (start, end);
-}
-/**
- * Searches the receiver's list starting at the first item
- * until an item is found that is equal to the argument,
- * and removes that item from the list.
- *
- * @param string the item to remove
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
- * <li>ERROR_INVALID_ARGUMENT - if the string is not found in the list</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void remove (String string) {
- checkWidget();
- if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- list.remove (string);
-}
-/**
- * Removes all of the items from the receiver's list and clear the
- * contents of receiver's text field.
- * <p>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void removeAll () {
- checkWidget();
- text.setText (""); //$NON-NLS-1$
- list.removeAll ();
-}
-/**
- * Removes the listener from the collection of listeners who will
- * be notified when the receiver's text is modified.
- *
- * @param listener the listener which should no longer be notified
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see ModifyListener
- * @see #addModifyListener
- */
-public void removeModifyListener (ModifyListener listener) {
- checkWidget();
- if (listener == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- removeListener(SWT.Modify, listener);
-}
-/**
- * Removes the listener from the collection of listeners who will
- * be notified when the receiver's selection changes.
- *
- * @param listener the listener which should no longer be notified
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @see SelectionListener
- * @see #addSelectionListener
- */
-public void removeSelectionListener (SelectionListener listener) {
- checkWidget();
- if (listener == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- removeListener(SWT.Selection, listener);
- removeListener(SWT.DefaultSelection,listener);
-}
-/**
- * Selects the item at the given zero-relative index in the receiver's
- * list. If the item at the index was already selected, it remains
- * selected. Indices that are out of range are ignored.
- *
- * @param index the index of the item to select
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void select (int index) {
- checkWidget();
- if (index == -1) {
- list.deselectAll ();
- text.setText (""); //$NON-NLS-1$
- return;
- }
- if (0 <= index && index < list.getItemCount()) {
- if (index != getSelectionIndex()) {
- text.setText (list.getItem (index));
-// text.selectAll ();
- list.select (index);
- list.showSelection ();
- }
- }
-}
-public void setBackground (Color color) {
- super.setBackground(color);
- background = color;
- if (text != null) text.setBackground(color);
- if (list != null) list.setBackground(color);
- if (arrow != null) arrow.setBackground(color);
-}
-/**
- * Sets the editable state.
- *
- * @param editable the new editable state
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @since 3.0
- */
-public void setEditable (boolean editable) {
- checkWidget ();
- text.setEditable(editable);
-}
-public void setEnabled (boolean enabled) {
- super.setEnabled(enabled);
- if (popup != null) popup.setVisible (false);
- if (text != null) text.setEnabled(enabled);
- if (arrow != null) arrow.setEnabled(enabled);
-}
-public boolean setFocus () {
- checkWidget();
- return text.setFocus ();
-}
-public void setFont (Font font) {
- super.setFont (font);
- this.font = font;
- text.setFont (font);
- list.setFont (font);
- internalLayout (true);
-}
-public void setForeground (Color color) {
- super.setForeground(color);
- foreground = color;
- if (text != null) text.setForeground(color);
- if (list != null) list.setForeground(color);
- if (arrow != null) arrow.setForeground(color);
-}
-/**
- * Sets the text of the item in the receiver's list at the given
- * zero-relative index to the string argument. This is equivalent
- * to <code>remove</code>'ing the old item at the index, and then
- * <code>add</code>'ing the new item at that index.
- *
- * @param index the index for the item
- * @param string the new text for the item
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</li>
- * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void setItem (int index, String string) {
- checkWidget();
- list.setItem (index, string);
-}
-/**
- * Sets the receiver's list to be the given array of items.
- *
- * @param items the array of items
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the items array is null</li>
- * <li>ERROR_INVALID_ARGUMENT - if an item in the items array is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void setItems (String [] items) {
- checkWidget ();
- list.setItems (items);
- if (!text.getEditable ()) text.setText (""); //$NON-NLS-1$
-}
-/**
- * Sets the layout which is associated with the receiver to be
- * the argument which may be null.
- * <p>
- * Note: No Layout can be set on this Control because it already
- * manages the size and position of its children.
- * </p>
- *
- * @param layout the receiver's new layout or null
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void setLayout (Layout layout) {
- checkWidget ();
- return;
-}
-public void setMenu(Menu menu) {
- text.setMenu(menu);
-}
-/**
- * Sets the selection in the receiver's text field to the
- * range specified by the argument whose x coordinate is the
- * start of the selection and whose y coordinate is the end
- * of the selection.
- *
- * @param selection a point representing the new selection start and end
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the point is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void setSelection (Point selection) {
- checkWidget();
- if (selection == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- text.setSelection (selection.x, selection.y);
-}
-
-/**
- * Sets the contents of the receiver's text field to the
- * given string.
- * <p>
- * Note: The text field in a <code>Combo</code> is typically
- * only capable of displaying a single line of text. Thus,
- * setting the text to a string containing line breaks or
- * other special characters will probably cause it to
- * display incorrectly.
- * </p>
- *
- * @param string the new text
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void setText (String string) {
- checkWidget();
- if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- int index = list.indexOf (string);
- if (index == -1) {
- list.deselectAll ();
- text.setText (string);
- return;
- }
- text.setText (string);
-// text.selectAll ();
- list.setSelection (index);
- list.showSelection ();
-}
-/**
- * Sets the maximum number of characters that the receiver's
- * text field is capable of holding to be the argument.
- *
- * @param limit new text limit
- *
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_CANNOT_BE_ZERO - if the limit is zero</li>
- * </ul>
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- */
-public void setTextLimit (int limit) {
- checkWidget();
- text.setTextLimit (limit);
-}
-
-public void setToolTipText (String string) {
- checkWidget();
- super.setToolTipText(string);
- arrow.setToolTipText (string);
- text.setToolTipText (string);
-}
-
-public void setVisible (boolean visible) {
- super.setVisible(visible);
- if (!visible) popup.setVisible(false);
-}
-/**
- * Sets the number of items that are visible in the drop
- * down portion of the receiver's list.
- *
- * @param count the new number of items to be visible
- *
- * @exception SWTException <ul>
- * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
- * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
- * </ul>
- *
- * @since 3.0
- */
-public void setVisibleItemCount (int count) {
- checkWidget ();
- if (count < 0) return;
- visibleItemCount = count;
-}
-String stripMnemonic (String string) {
- int index = 0;
- int length = string.length ();
- do {
- while ((index < length) && (string.charAt (index) != '&')) index++;
- if (++index >= length) return string;
- if (string.charAt (index) != '&') {
- return string.substring(0, index-1) + string.substring(index, length);
- }
- index++;
- } while (index < length);
- return string;
-}
-void textEvent (Event event) {
- switch (event.type) {
- case SWT.FocusIn: {
- handleFocus (SWT.FocusIn);
- break;
- }
- case SWT.KeyDown: {
- if (event.character == SWT.CR) {
- dropDown (false);
- Event e = new Event ();
- e.time = event.time;
- e.stateMask = event.stateMask;
- notifyListeners (SWT.DefaultSelection, e);
- }
- //At this point the widget may have been disposed.
- // If so, do not continue.
- if (isDisposed ()) break;
-
- if (event.keyCode == SWT.ARROW_UP || event.keyCode == SWT.ARROW_DOWN) {
- event.doit = false;
- if ((event.stateMask & SWT.ALT) != 0) {
- boolean dropped = isDropped ();
-// text.selectAll ();
- if (!dropped) setFocus ();
- dropDown (!dropped);
- break;
- }
-
- int oldIndex = getSelectionIndex ();
- if (event.keyCode == SWT.ARROW_UP) {
- select (Math.max (oldIndex - 1, 0));
- } else {
- select (Math.min (oldIndex + 1, getItemCount () - 1));
- }
- if (oldIndex != getSelectionIndex ()) {
- Event e = new Event();
- e.time = event.time;
- e.stateMask = event.stateMask;
- notifyListeners (SWT.Selection, e);
- }
- //At this point the widget may have been disposed.
- // If so, do not continue.
- if (isDisposed ()) break;
- }
-
- // Further work : Need to add support for incremental search in
- // pop up list as characters typed in text widget
-
-
- Event e = new Event ();
- e.time = event.time;
- e.character = event.character;
- e.keyCode = event.keyCode;
- e.stateMask = event.stateMask;
- //notifyListeners (SWT.KeyDown, e);
- break;
- }
- case SWT.KeyUp: {
- Event e = new Event ();
- e.time = event.time;
- e.character = event.character;
- e.keyCode = event.keyCode;
- e.stateMask = event.stateMask;
- notifyListeners (SWT.KeyUp, e);
- break;
- }
- case SWT.MenuDetect: {
- Event e = new Event ();
- e.time = event.time;
- notifyListeners (SWT.MenuDetect, e);
- break;
- }
- case SWT.Modify: {
- list.deselectAll ();
- Event e = new Event ();
- e.time = event.time;
- notifyListeners (SWT.Modify, e);
- break;
- }
- case SWT.MouseDown: {
- if (event.button != 1) return;
- if (text.getEditable ()) return;
- boolean dropped = isDropped ();
-// text.selectAll ();
- if (!dropped) setFocus ();
- dropDown (!dropped);
- break;
- }
- case SWT.MouseUp: {
- if (event.button != 1) return;
- if (text.getEditable ()) return;
-// text.selectAll ();
- break;
- }
- case SWT.Traverse: {
- switch (event.detail) {
- case SWT.TRAVERSE_RETURN:
- case SWT.TRAVERSE_ARROW_PREVIOUS:
- case SWT.TRAVERSE_ARROW_NEXT:
- // The enter causes default selection and
- // the arrow keys are used to manipulate the list contents so
- // do not use them for traversal.
- event.doit = false;
- break;
- }
-
- Event e = new Event ();
- e.time = event.time;
- e.detail = event.detail;
- e.doit = event.doit;
- e.character = event.character;
- e.keyCode = event.keyCode;
- notifyListeners (SWT.Traverse, e);
- event.doit = e.doit;
- event.detail = e.detail;
- break;
- }
- }
-}
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDComboBoxCellEditor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDComboBoxCellEditor.java
deleted file mode 100644
index af33c58f1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDComboBoxCellEditor.java
+++ /dev/null
@@ -1,311 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.directedit;
-
-import java.text.MessageFormat;
-
-import org.eclipse.jface.util.Assert;
-import org.eclipse.jface.viewers.CellEditor;
-import org.eclipse.jface.window.Window;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.FocusAdapter;
-import org.eclipse.swt.events.FocusEvent;
-import org.eclipse.swt.events.KeyAdapter;
-import org.eclipse.swt.events.KeyEvent;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.TraverseEvent;
-import org.eclipse.swt.events.TraverseListener;
-import org.eclipse.swt.graphics.GC;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
-
-/*
- * This is a copy of ComboBoxCellEditor.
- * We need to apply and deactivate the combo on a single click (not on a double click like
- * the ComboBoxCellEditor).
- */
-public class ASDComboBoxCellEditor extends CellEditor {
-
- /**
- * The list of items to present in the combo box.
- */
- private String[] items;
-
- /**
- * The zero-based index of the selected item.
- */
- int selection;
-
- /**
- * The custom combo box control.
- */
- ASDCCombo comboBox;
-
- /**
- * Used to determine if the value should be applied to the cell.
- */
- private boolean continueApply;
- private Object selectedValue;
- private ComponentReferenceEditManager componentReferenceEditManager;
- private int textIndent = 5;
-
- /**
- * Default ComboBoxCellEditor style
- */
- private static final int defaultStyle = SWT.NONE;
-
- /**
- * Creates a new cell editor with a combo containing the given
- * list of choices and parented under the given control. The cell
- * editor value is the zero-based index of the selected item.
- * Initially, the cell editor has no cell validator and
- * the first item in the list is selected.
- *
- * @param parent the parent control
- * @param items the list of strings for the combo box
- */
- public ASDComboBoxCellEditor(Composite parent, String[] items, ComponentReferenceEditManager editManager) {
- super(parent, defaultStyle);
- setItems(items);
- componentReferenceEditManager = editManager;
- }
-
- /**
- * Returns the list of choices for the combo box
- *
- * @return the list of choices for the combo box
- */
- public String[] getItems() {
- return this.items;
- }
-
- /**
- * Sets the list of choices for the combo box
- *
- * @param items the list of choices for the combo box
- */
- public void setItems(String[] items) {
- Assert.isNotNull(items);
- this.items = items;
- populateComboBoxItems();
- }
-
- public void setTextIndent(int indent) {
- textIndent = indent;
- comboBox.setTextIndent(indent);
- }
-
- /* (non-Javadoc)
- * Method declared on CellEditor.
- */
- protected Control createControl(Composite parent) {
- comboBox = new ASDCCombo(parent, getStyle());
- comboBox.setFont(parent.getFont());
- comboBox.setTextIndent(textIndent);
-
- comboBox.addKeyListener(new KeyAdapter() {
- // hook key pressed - see PR 14201
- public void keyPressed(KeyEvent e) {
- keyReleaseOccured(e);
- }
- });
-
- comboBox.addSelectionListener(new SelectionAdapter() {
- public void widgetDefaultSelected(SelectionEvent event) {
- selectionMade();
- }
-
- public void widgetSelected(SelectionEvent event) {
- selectionMade();
- }
- });
-
- comboBox.addTraverseListener(new TraverseListener() {
- public void keyTraversed(TraverseEvent e) {
- if (e.detail == SWT.TRAVERSE_ESCAPE
- || e.detail == SWT.TRAVERSE_RETURN) {
- e.doit = false;
- }
- }
- });
-
- comboBox.addFocusListener(new FocusAdapter() {
- public void focusLost(FocusEvent e) {
- ASDComboBoxCellEditor.this.focusLost();
- }
- });
- return comboBox;
- }
-
- private Object invokeDialog(IComponentDialog dialog) {
- Object newValue = null;
-
- if (dialog == null) {
- return null;
- }
-
- if (dialog.createAndOpen() == Window.OK) {
- newValue = dialog.getSelectedComponent();
- }
- else {
- continueApply = false;
- }
-
- return newValue;
- }
-
- /**
- * The <code>ComboBoxCellEditor</code> implementation of
- * this <code>CellEditor</code> framework method returns
- * the zero-based index of the current selection.
- *
- * @return the zero-based index of the current selection wrapped
- * as an <code>Integer</code>
- */
- protected Object doGetValue() {
- return new Integer(selection);
- }
-
- /* (non-Javadoc)
- * Method declared on CellEditor.
- */
- protected void doSetFocus() {
- comboBox.setFocus();
- comboBox.dropDown(true);
-// String comboText = comboBox.getText();
-// comboBox.setText(" " + comboText);
- }
-
- /**
- * The <code>ComboBoxCellEditor</code> implementation of
- * this <code>CellEditor</code> framework method sets the
- * minimum width of the cell. The minimum width is 10 characters
- * if <code>comboBox</code> is not <code>null</code> or <code>disposed</code>
- * eles it is 60 pixels to make sure the arrow button and some text is visible.
- * The list of CCombo will be wide enough to show its longest item.
- */
- public LayoutData getLayoutData() {
- LayoutData layoutData = super.getLayoutData();
- if ((comboBox == null) || comboBox.isDisposed())
- layoutData.minimumWidth = 60;
- else {
- // make the comboBox 10 characters wide
- GC gc = new GC(comboBox);
- layoutData.minimumWidth = (gc.getFontMetrics()
- .getAverageCharWidth() * 10) + 10;
- gc.dispose();
- }
- return layoutData;
- }
-
- /**
- * The <code>ComboBoxCellEditor</code> implementation of
- * this <code>CellEditor</code> framework method
- * accepts a zero-based index of a selection.
- *
- * @param value the zero-based index of the selection wrapped
- * as an <code>Integer</code>
- */
- protected void doSetValue(Object value) {
- Assert.isTrue(comboBox != null && (value instanceof Integer));
- selection = ((Integer) value).intValue();
- comboBox.select(selection);
- }
-
- /**
- * Updates the list of choices for the combo box for the current control.
- */
- private void populateComboBoxItems() {
- if (comboBox != null && items != null) {
- comboBox.removeAll();
- for (int i = 0; i < items.length; i++)
- comboBox.add(items[i], i);
-
- setValueValid(true);
- selection = 0;
- }
- }
-
- /**
- * Applies the currently selected value and deactiavates the cell editor
- */
- void applyEditorValueAndDeactivate() {
- // must set the selection before getting value
- selection = comboBox.getSelectionIndex();
- Object newValue = doGetValue();
- markDirty();
- boolean isValid = isCorrect(newValue);
- setValueValid(isValid);
- if (!isValid) {
- // try to insert the current value into the error message.
- setErrorMessage(MessageFormat.format(getErrorMessage(),
- new Object[] { items[selection] }));
- }
- fireApplyEditorValue();
- deactivate();
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.jface.viewers.CellEditor#focusLost()
- */
- protected void focusLost() {
- if (isActivated()) {
- applyEditorValueAndDeactivate();
- }
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.jface.viewers.CellEditor#keyReleaseOccured(org.eclipse.swt.events.KeyEvent)
- */
- protected void keyReleaseOccured(KeyEvent keyEvent) {
- if (keyEvent.character == '\u001b') { // Escape character
- fireCancelEditor();
- } else if (keyEvent.character == '\t') { // tab key
- applyEditorValueAndDeactivate();
- }
- }
-
- public Object getSelectedValue() {
- return selectedValue;
- }
-
-
- public void selectionMade() {
- Object newValue = null;
- continueApply = true;
- selection = comboBox.getSelectionIndex();
- String stringSelection = items[selection];
-
- if (stringSelection.equals(Messages._UI_BUTTON_BROWSE)) { //$NON-NLS-1$
- newValue = invokeDialog(componentReferenceEditManager.getBrowseDialog());
- }
- else if (stringSelection.equals(Messages._UI_BUTTON_NEW)) { //$NON-NLS-1$
- newValue = invokeDialog(componentReferenceEditManager.getNewDialog());
- }
-
- if (newValue == null) {
- int index = comboBox.getSelectionIndex();
- if (index != -1) {
- selectedValue = comboBox.getItem(index);
- }
- }
- else {
- selectedValue = newValue;
- }
- applyEditorValueAndDeactivate();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ComboBoxCellEditorManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ComboBoxCellEditorManager.java
deleted file mode 100644
index 849ac6bc9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ComboBoxCellEditorManager.java
+++ /dev/null
@@ -1,204 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.directedit;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.tools.CellEditorLocator;
-import org.eclipse.gef.tools.DirectEditManager;
-import org.eclipse.jface.viewers.CellEditor;
-import org.eclipse.jface.viewers.ComboBoxCellEditor;
-import org.eclipse.jface.viewers.ICellEditorListener;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-
-public abstract class ComboBoxCellEditorManager extends DirectEditManager
-{
- protected Label label;
-
- public ComboBoxCellEditorManager(GraphicalEditPart source, Label label)
- {
- super(source, ComboBoxCellEditor.class, new InternalCellEditorLocator(label));
- this.label = label;
- }
-
- protected void initCellEditor()
- {
- String initialLabelText = label.getText();
-
- ASDCCombo combo = (ASDCCombo)getCellEditor().getControl();
- combo.setFont(label.getFont());
- combo.setForeground(label.getForegroundColor());
- combo.setBackground(label.getBackgroundColor());
- combo.setVisibleItemCount(20);
- combo.setEditable(false);
-
- ICellEditorListener cellEditorListener = new ICellEditorListener()
- {
- public void cancelEditor()
- {
- }
- public void applyEditorValue()
- {
- }
- public void editorValueChanged(boolean old, boolean newState)
- {
- }
- };
- getCellEditor().addListener(cellEditorListener);
-
- String[] item = combo.getItems();
- for (int i = 0; i < item.length; i++)
- {
- if (item[i].equals(initialLabelText))
- {
- getCellEditor().setValue(new Integer(i));
- break;
- }
- }
- }
-
- // hack... for some reason the ComboBoxCellEditor does't fire an editorValueChanged to set the dirty flag
- // unless we overide this method to return true, the manager is not notified of changes made in the cell editor
- protected boolean isDirty()
- {
- return true;
- }
-
- protected CellEditor createCellEditorOn(Composite composite)
- {
- boolean isLabelTextInList = false;
- List list = computeComboContent();
- for (Iterator i = list.iterator(); i.hasNext(); )
- {
- String string = (String)i.next();
- if (string.equals(label.getText()))
- {
- isLabelTextInList = true;
- break;
- }
- }
-
- if (!isLabelTextInList)
- {
- list.add(label.getText());
- }
-
- List sortedList = computeSortedList(list);
- String[] stringArray = new String[sortedList.size()];
- for (int i = 0; i < stringArray.length; i++)
- {
- stringArray[i] = (String)sortedList.get(i);
- }
- return createCellEditor(composite, stringArray);
- }
-
- protected CellEditor createCellEditor(Composite composite, String[] stringArray)
- {
- return new ComboBoxCellEditor(composite, stringArray);
- }
-
- protected List computeSortedList(List list)
- {
- return list;
- }
-
- protected abstract List computeComboContent();
-
- protected abstract void performModify(Object value);
-
- public static class InternalCellEditorLocator implements CellEditorLocator
- {
- protected Label label;
-
- public InternalCellEditorLocator(Label label)
- {
- this.label = label;
- }
-
- public void relocate(CellEditor celleditor)
- {
- ASDCCombo combo = (ASDCCombo)celleditor.getControl();
- Rectangle labelParentBounds = label.getParent().getBounds().getCopy();
- label.translateToAbsolute(labelParentBounds);
-
- int x = labelParentBounds.x;
- int y = labelParentBounds.y;
- int widthK = labelParentBounds.width;
- int height = labelParentBounds.height;
- combo.setBounds(x, y + 1, widthK, height - 2);
- }
- }
-
- public void performEdit(CellEditor cellEditor)
- {
- ASDComboBoxCellEditor comboCellEditor = (ASDComboBoxCellEditor) cellEditor;
- ASDCCombo combo = (ASDCCombo)getCellEditor().getControl();
- int index = combo.getSelectionIndex();
- if (index != -1)
- {
- Object value = combo.getItem(index);
- if (comboCellEditor.getSelectedValue() != null) {
- value = comboCellEditor.getSelectedValue();
- }
-
- performModify(value);
- }
- else
- {
- String typedValue = combo.getText();
- if (combo.indexOf(typedValue) != -1)
- {
- performModify(typedValue);
- }
- else
- {
- String closeMatch = getCloseMatch(typedValue, combo.getItems());
- if (closeMatch != null)
- {
- performModify(closeMatch);
- }
- else
- {
- Display.getCurrent().beep();
- }
- }
- }
- }
-
- protected String getCloseMatch(String value, String[] items)
- {
- int matchIndex = -1;
-
- for (int i = 0; i < items.length; i++)
- {
- String item = items[i];
- String a = getLocalName(value);
- String b = getLocalName(item);
- if (a.equalsIgnoreCase(b))
- {
- matchIndex = i;
- break;
- }
- }
- return matchIndex != -1 ? items[matchIndex] : null;
- }
-
- protected String getLocalName(String string)
- {
- int index = string.indexOf(":"); //$NON-NLS-1$
- return (index != -1) ? string.substring(index + 1) : string;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/DirectEditSelectionTool.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/DirectEditSelectionTool.java
deleted file mode 100644
index 7eb49a6d1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/DirectEditSelectionTool.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.directedit;
-
-import org.eclipse.draw2d.FigureCanvas;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.gef.tools.SelectionTool;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.INamedEditPart;
-
-/**
- * Extends the default GEF selection tools to send the
- * mouse events
- */
-public class DirectEditSelectionTool extends SelectionTool {
-
- protected INamedEditPart getSelectedPart() {
- if(getCurrentViewer() == null)
- return null;
- EditPart ep = getCurrentViewer().getFocusEditPart();
- if(ep instanceof INamedEditPart && ep.isActive())
- return (INamedEditPart)ep;
- return null;
- }
-
- protected boolean handleButtonDown(int button) {
- super.handleButtonDown(button);
- INamedEditPart selectedPart = getSelectedPart();
-
- if(selectedPart != null && button == 1) {
- Input i = getCurrentInput();
- Point l = translateLocation(i.getMouseLocation());
-
- IFigure f = ((AbstractGraphicalEditPart) selectedPart).getFigure();
- Rectangle bounds = f.getBounds();
- if(bounds.contains(l.x,l.y)) {
- selectedPart.performDirectEdit(translateLocation(new Point(l.x, l.y)));
- return true;
- }
- }
- return true;
- }
-
- protected Point translateLocation(Point mouseLocation) {
- FigureCanvas canvas = (FigureCanvas)getCurrentViewer().getControl();
- Point viewLocation = canvas.getViewport().getViewLocation();
- return new Point(mouseLocation.x + viewLocation.x,mouseLocation.y + viewLocation.y);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelCellEditorLocator.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelCellEditorLocator.java
deleted file mode 100644
index cc9164d38..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelCellEditorLocator.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.directedit;
-
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.tools.CellEditorLocator;
-import org.eclipse.jface.viewers.CellEditor;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.INamedEditPart;
-
-public class LabelCellEditorLocator implements CellEditorLocator {
- private INamedEditPart namedEditPart;
- private Point cursorLocation;
-
- public LabelCellEditorLocator(INamedEditPart namedEditPart, Point cursorLocation) {
- this.namedEditPart = namedEditPart;
- this.cursorLocation = cursorLocation;
- }
-
- public void relocate(CellEditor celleditor) {
- Text text = (Text)celleditor.getControl();
- if (text.getBounds().x <= 0 && namedEditPart.getLabelFigure() != null) {
- Label label = namedEditPart.getLabelFigure();
- Rectangle boundingRect = label.getTextBounds();
-
- // Reduce the width by the amount we shifted along the x-axis
- int delta = Math.abs(boundingRect.x - label.getParent().getBounds().x);
-// boundingRect.width = tableCellFigure.getPreferredSize().width - delta;
-
- label.getParent().translateToAbsolute(boundingRect);
- org.eclipse.swt.graphics.Rectangle trim = text.computeTrim(0, 0, 0, 0);
- boundingRect.translate(trim.x, trim.y);
-// boundingRect.width = boundingRect.width - trim.x;
- boundingRect.height = boundingRect.height - trim.y;
-
- boundingRect.width = label.getParent().getBounds().width - delta;
- text.setBounds(boundingRect.x, boundingRect.y, boundingRect.width, boundingRect.height);
-
- if (cursorLocation != null) {
- // Translate point
- Point translatedPoint = new Point(cursorLocation.x - boundingRect.x,cursorLocation.y - boundingRect.y);
-
- // Calculate text offset corresponding to the translated point
- text.setSelection(0, 0);
- int xCaret = text.getCaretLocation().x;
- int offset = text.getCaretPosition();
- while (xCaret < translatedPoint.x) {
- text.setSelection(offset + 1, offset + 1);
- xCaret = text.getCaretLocation().x;
- int newOffset = text.getCaretPosition();
- if (newOffset == offset) {
- break;
- }
- offset++;
- }
- text.setSelection(offset, offset);
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelEditManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelEditManager.java
deleted file mode 100644
index 8c03ade2a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelEditManager.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.directedit;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.tools.CellEditorLocator;
-import org.eclipse.gef.tools.DirectEditManager;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.CellEditor;
-import org.eclipse.jface.viewers.TextCellEditor;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.graphics.FontData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IActionBars;
-import org.eclipse.ui.actions.ActionFactory;
-import org.eclipse.ui.part.CellEditorActionHandler;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicsConstants;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.INamedEditPart;
-
-public class LabelEditManager extends DirectEditManager {
-
- private IActionBars actionBars;
- private CellEditorActionHandler actionHandler;
- private IAction copy, cut, paste, undo, redo, find, selectAll, delete;
- private Font scaledFont;
-
- public LabelEditManager(GraphicalEditPart source, CellEditorLocator locator) {
- super(source, null, locator);
- }
-
- /**
- * @see org.eclipse.gef.tools.DirectEditManager#bringDown()
- */
- protected void bringDown() {
- if (actionHandler != null) {
- actionHandler.dispose();
- actionHandler = null;
- }
- if (actionBars != null) {
- restoreSavedActions(actionBars);
- actionBars.updateActionBars();
- actionBars = null;
- }
-
- Font disposeFont = scaledFont;
- scaledFont = null;
- super.bringDown();
- if (disposeFont != null)
- disposeFont.dispose();
- }
-
- public void showFeedback() {
- getEditPart().showSourceFeedback(getDirectEditRequest());
- }
-
- protected CellEditor createCellEditorOn(Composite composite) {
- return new TextCellEditor(composite, SWT.SINGLE | SWT.WRAP);
- }
-
- protected void initCellEditor() {
- Text text = (Text)getCellEditor().getControl();
- Label label = ((INamedEditPart) getEditPart()).getLabelFigure();
-
- if (label != null) {
- scaledFont = label.getFont();
-
- // TODO: rmah: hack here to set the background color of the
- // direct edit Text. Solution is to make the Text transparent...
- Color color = label.getBackgroundColor();
- if (color.equals(DesignViewGraphicsConstants.tableCellSelectionColor)) {
- text.setBackground(color);
- }
- else {
-// text.setBackground(ColorConstants.lightBlue);
- text.setBackground(ColorConstants.white);
- }
-
- String initialLabelText = label.getText();
- getCellEditor().setValue(initialLabelText);
- }
- else {
- scaledFont = label.getParent().getFont();
- text.setBackground(label.getParent().getBackgroundColor());
- }
-
- FontData data = scaledFont.getFontData()[0];
- Dimension fontSize = new Dimension(0, data.getHeight());
- label.getParent().translateToAbsolute(fontSize);
- data.setHeight(fontSize.height);
- scaledFont = new Font(null, data);
-
- text.setFont(scaledFont);
-// text.selectAll();
-
- // Hook the cell editor's copy/paste actions to the actionBars so that they can
- // be invoked via keyboard shortcuts.
- actionBars = ASDEditorPlugin.getActiveEditor().getEditorSite().getActionBars();
- saveCurrentActions(actionBars);
- actionHandler = new CellEditorActionHandler(actionBars);
- actionHandler.addCellEditor(getCellEditor());
- actionBars.updateActionBars();
- }
-
- private void restoreSavedActions(IActionBars actionBars){
- actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), copy);
- actionBars.setGlobalActionHandler(ActionFactory.PASTE.getId(), paste);
- actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), delete);
- actionBars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), selectAll);
- actionBars.setGlobalActionHandler(ActionFactory.CUT.getId(), cut);
- actionBars.setGlobalActionHandler(ActionFactory.FIND.getId(), find);
- actionBars.setGlobalActionHandler(ActionFactory.UNDO.getId(), undo);
- actionBars.setGlobalActionHandler(ActionFactory.REDO.getId(), redo);
- }
-
- private void saveCurrentActions(IActionBars actionBars) {
- copy = actionBars.getGlobalActionHandler(ActionFactory.COPY.getId());
- paste = actionBars.getGlobalActionHandler(ActionFactory.PASTE.getId());
- delete = actionBars.getGlobalActionHandler(ActionFactory.DELETE.getId());
- selectAll = actionBars.getGlobalActionHandler(ActionFactory.SELECT_ALL.getId());
- cut = actionBars.getGlobalActionHandler(ActionFactory.CUT.getId());
- find = actionBars.getGlobalActionHandler(ActionFactory.FIND.getId());
- undo = actionBars.getGlobalActionHandler(ActionFactory.UNDO.getId());
- redo = actionBars.getGlobalActionHandler(ActionFactory.REDO.getId());
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/TypeReferenceDirectEditManager.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/TypeReferenceDirectEditManager.java
deleted file mode 100644
index fdfa992d4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/TypeReferenceDirectEditManager.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.directedit;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.jface.viewers.CellEditor;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ParameterTypeEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-
-public class TypeReferenceDirectEditManager extends ComboBoxCellEditorManager
-{
- protected AbstractGraphicalEditPart editPart;
- protected IParameter setObject;
-
- public TypeReferenceDirectEditManager(IParameter parameter, AbstractGraphicalEditPart source, Label label)
- {
- super(source, label);
- editPart = source;
- setObject = parameter;
- }
-
- protected CellEditor createCellEditorOn(Composite composite)
- {
- return super.createCellEditorOn(composite);
- }
-
- protected List computeComboContent()
- {
- List list = new ArrayList();
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- if (editManager != null)
- {
- list.add(Messages._UI_BUTTON_BROWSE); //$NON-NLS-1$
- list.add(Messages._UI_BUTTON_NEW); //$NON-NLS-1$
- ComponentSpecification[] quickPicks = editManager.getQuickPicks();
- if (quickPicks != null)
- {
- for (int i=0; i < quickPicks.length; i++)
- {
- ComponentSpecification componentSpecification = quickPicks[i];
- list.add(componentSpecification.getName());
- }
- }
- ComponentSpecification[] history = editManager.getHistory();
- if (history != null)
- {
- for (int i=0; i < history.length; i++)
- {
- ComponentSpecification componentSpecification = history[i];
- list.add(componentSpecification.getName());
- }
- }
- }
- return list;
- }
-
- public void performModify(Object value)
- {
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- if (editManager == null)
- {
- return;
- }
-
- // our crude combo box can only work with 'String' objects
- // if we get a String back we need to do some clever mapping to get the ComponentSpecification
- //
- if (value instanceof String)
- {
- value = getComponentSpecificationForValue((String)value);
- }
- // we assume the selected value is always of the form of a ComponentSpecification
- //
- if (value instanceof ComponentSpecification)
- {
- editManager.modifyComponentReference(getEditPart().getModel(), (ComponentSpecification) value);
- }
- }
-
- protected List computeSortedList(List list)
- {
-// return TypesHelper.sortList(list);
- return list;
- }
-
- private int getTextIndent() {
- if (editPart instanceof ParameterTypeEditPart) {
- Rectangle bounds = ((ParameterTypeEditPart) editPart).getFigure().getBounds();
- int textX = ((ParameterTypeEditPart) editPart).getLabelFigure().getTextBounds().x;
- return textX - bounds.x;
- }
-
- return 5;
- }
-
- protected CellEditor createCellEditor(Composite composite, String[] stringArray)
- {
- ASDComboBoxCellEditor cellEditor = new ASDComboBoxCellEditor(composite, stringArray, getComponentReferenceEditManager());
- cellEditor.setTextIndent(getTextIndent());
- //((ADTComboBoxCellEditor) cellEditor).setObjectToModify(setObject);
-
- return cellEditor;
- }
-
- public ComponentReferenceEditManager getComponentReferenceEditManager() {
- ComponentReferenceEditManager editManager = null;
- boolean isType = true;
-
- // TODO: We're specifically looking for and using WSDL11 Impl classes.... We should
- // investigate further to see if we can avoid knowing about WSDL11 Impl classes.
- if (setObject instanceof W11ParameterForPart) {
- isType = ((W11ParameterForPart) setObject).isType();
- }
-
- if (isType) {
- editManager = (ComponentReferenceEditManager) ReferenceEditManagerHelper.getXSDTypeReferenceEditManager(setObject);
- }
- else {
- editManager = (ComponentReferenceEditManager) ReferenceEditManagerHelper.getXSDElementReferenceEditManager(setObject);
- }
-
- return editManager;
- }
-
- // TODO: rmah: This code should live in a common place..... This code is also used in other UI scenarios when
- // a similar combo box is used. For example in the properties...(ParameterSection) Also used in the XSDEditor...
- protected ComponentSpecification getComponentSpecificationForValue(String value)
- {
- ComponentReferenceEditManager editManager = getComponentReferenceEditManager();
- if (editManager != null)
- {
- ComponentSpecification[] quickPicks = editManager.getQuickPicks();
- if (quickPicks != null)
- {
- for (int i=0; i < quickPicks.length; i++)
- {
- ComponentSpecification componentSpecification = quickPicks[i];
- if (value.equals(componentSpecification.getName()))
- {
- return componentSpecification;
- }
- }
- }
- ComponentSpecification[] history = editManager.getHistory();
- if (history != null)
- {
- for (int i=0; i < history.length; i++)
- {
- ComponentSpecification componentSpecification = history[i];
- if (value.equals(componentSpecification.getName()))
- {
- return componentSpecification;
- }
- }
- }
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDEditPartFactory.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDEditPartFactory.java
deleted file mode 100644
index 1ca413510..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDEditPartFactory.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPartFactory;
-import org.eclipse.jface.util.Assert;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.BindingColumn;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.BindingContentPlaceHolder;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IService;
-
-public class ASDEditPartFactory implements EditPartFactory
-{
- public EditPart createEditPart(EditPart context, Object model)
- {
- EditPart child = null;
- if (model instanceof IDescription)
- {
- child = new DefinitionsEditPart();
- }
- else if (model instanceof AbstractModelCollection)
- {
- AbstractModelCollection collection = (AbstractModelCollection)model;
- if (collection instanceof BindingColumn)
- {
- child = new BindingColumnEditPart();
- }
- else
- {
- child = new ColumnEditPart();
- }
- }
- else if (model instanceof IEndPoint)
- {
- child = new EndPointEditPart();
- }
- else if (model instanceof IService)
- {
- child = new ServiceEditPart();
- }
- else if (model instanceof IBinding)
- {
- child = new BindingEditPart();
- }
- else if (model instanceof IBindingOperation ||
- model instanceof IBindingMessageReference ||
- model instanceof BindingContentPlaceHolder)
- {
- child = new BindingContentEditPart();
- }
- else if (model instanceof IInterface)
- {
- child = new InterfaceEditPart();
- }
- else if (model instanceof IMessageReference)
- {
- child = new MessageReferenceEditPart();
- }
- else if (model instanceof IOperation)
- {
- child = new OperationEditPart();
- }
- else if (model instanceof IParameter && context instanceof ParameterEditPart) {
- child = new ParameterTypeEditPart();
- }
- else if (model instanceof IParameter && context instanceof MessageReferenceEditPart)
- {
- child = new ParameterEditPart();
- }
- if (child == null)
- {
- System.out.println("\nCould not create editpart for model: " + model); //$NON-NLS-1$
- Thread.dumpStack();
- }
- Assert.isNotNull(child);
- child.setModel(model);
- return child;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDRootEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDRootEditPart.java
deleted file mode 100644
index 7b943a13c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDRootEditPart.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import org.eclipse.draw2d.BendpointConnectionRouter;
-import org.eclipse.draw2d.ConnectionLayer;
-import org.eclipse.gef.LayerConstants;
-import org.eclipse.gef.editparts.ScalableRootEditPart;
-
-public class ASDRootEditPart extends ScalableRootEditPart implements org.eclipse.gef.RootEditPart
-{
- public void activate()
- {
- super.activate();
- // Set up Connection layer with a router, if it doesn't already have one
- ConnectionLayer connectionLayer = (ConnectionLayer) getLayer(LayerConstants.CONNECTION_LAYER);
- if (connectionLayer != null)
- {
-// connectionLayer.setConnectionRouter(new ManhattanConnectionRouter());
- connectionLayer.setConnectionRouter(new BendpointConnectionRouter());
- }
- refresh();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/AbstractBoxtEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/AbstractBoxtEditPart.java
deleted file mode 100644
index 964f38a04..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/AbstractBoxtEditPart.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.LineBorder;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.requests.DirectEditRequest;
-import org.eclipse.gef.tools.DirectEditManager;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelCellEditorLocator;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelEditManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDLabelDirectEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDSelectionEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.BoxComponentFigure;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.layouts.ColumnData;
-
-public abstract class AbstractBoxtEditPart extends BaseEditPart implements INamedEditPart
-{
- protected ColumnData columnData = new ColumnData();
- protected BoxComponentFigure figure;
-
- protected IFigure createFigure()
- {
- figure = new BoxComponentFigure();
- figure.setBorder(new LineBorder(1));
- ToolbarLayout toolbarLayout = new ToolbarLayout();
- toolbarLayout.setStretchMinorAxis(true);
- // toolbarLayout.setMinorAlignment(ToolbarLayout.ALIGN_BOTTOMRIGHT);
- figure.setLayoutManager(toolbarLayout);
- // if(isScrollable())
- // figure.setScrollingActionListener(this);
- return figure;
- }
-
- public IFigure getContentPane()
- {
- return figure.getContentPane();
- }
-
- protected void createEditPolicies()
- {
- super.createEditPolicies();
- installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new ASDLabelDirectEditPolicy());
- installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ASDSelectionEditPolicy());
- }
-
- private DirectEditManager manager;
-
- public void performDirectEdit(Point cursorLocation){
- if (cursorLocation == null || hitTestFigure(figure.getHeadingFigure(), cursorLocation) && !isReadOnly()) {
- manager = new LabelEditManager(this, new LabelCellEditorLocator(this, cursorLocation));
- manager.show();
- }
- else if ((hitTest(figure.getLabel(), cursorLocation) ||
- hitTestFigure(figure.getHeadingFigure(), cursorLocation)) && isReadOnly()) {
- doOpenNewEditor();
- }
- }
-
- public void performRequest(Request req) {
- if (req.getType().equals(RequestConstants.REQ_DIRECT_EDIT)) {
- Point location = null;
- if (req instanceof DirectEditRequest) {
- location = ((DirectEditRequest) req).getLocation();
- }
- performDirectEdit(location);
- }
- }
-
- public Label getLabelFigure() {
- return figure.getLabel();
- }
-
- protected void refreshChildren()
- {
- super.refreshChildren();
- // getFigure().invalidateTree();
- }
-
- protected void refreshVisuals()
- {
- super.refreshVisuals();
- WSDLBaseAdapter box = (WSDLBaseAdapter) getModel();
- figure.headingFigure.setIsReadOnly(box.isReadOnly());
- figure.getLabel().setText(box.getName());
- }
-
- public void addFeedback()
- {
- LineBorder boxFigureLineBorder = (LineBorder) figure.getBorder();
- boxFigureLineBorder.setWidth(2);
-// boxFigureLineBorder.setColor(ColorConstants.darkBlue);
- figure.setSelected(true);
- figure.repaint();
- }
-
- public void removeFeedback()
- {
- LineBorder boxFigureLineBorder = (LineBorder) figure.getBorder();
- boxFigureLineBorder.setWidth(1);
- boxFigureLineBorder.setColor(ColorConstants.black);
- figure.setSelected(false);
- figure.repaint();
- }
-
- public ColumnData getColumnData()
- {
- return columnData;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BaseEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BaseEditPart.java
deleted file mode 100644
index 2eaf4bbf1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BaseEditPart.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.gef.ui.actions.ActionRegistry;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.IActionProvider;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
-import org.eclipse.wst.xsd.ui.internal.adt.design.editpolicies.KeyBoardAccessibilityEditPolicy;
-
-public abstract class BaseEditPart extends AbstractGraphicalEditPart implements IActionProvider, IASDObjectListener, IFeedbackHandler
-{
- protected static final String[] EMPTY_ACTION_ARRAY = {};
-
- public String[] getActions(Object object)
- {
- Object model = getModel();
- if (model instanceof IActionProvider)
- {
- return ((IActionProvider)model).getActions(object);
- }
- return EMPTY_ACTION_ARRAY;
- }
-
- protected void addActionsToList(List list, String[] actions)
- {
- for (int i = 0; i < actions.length; i++)
- {
- list.add(actions[i]);
- }
- }
-
- public void activate()
- {
- super.activate();
- Object model = getModel();
- if (model instanceof IASDObject)
- {
- IASDObject object = (IASDObject)model;
- object.registerListener(this);
- }
- }
-
- public void deactivate()
- {
- Object model = getModel();
- if (model instanceof IASDObject)
- {
- IASDObject object = (IASDObject)model;
- object.unregisterListener(this);
- }
- super.deactivate();
- }
-
- public void propertyChanged(Object object, String property)
- {
- //System.out.println("propertyChanged " + this.getClass().getName());
- refresh();
- }
-
- public void refreshConnections() {
- Iterator kids = getChildren().iterator();
- while (kids.hasNext()) {
- Object item = kids.next();
- if (item instanceof BaseEditPart) {
- ((BaseEditPart) item).refreshConnections();
- }
- }
- }
-
- public void addFeedback() {
-
- }
- public void removeFeedback() {
-
- }
-
- protected boolean hitTest(Rectangle rectangle, Point location) {
- return rectangle.contains(location);
- }
-
- protected boolean hitTest(Label target, Point location) {
- Rectangle origB = target.getTextBounds().getCopy();
- Rectangle transB = target.getTextBounds().getCopy();
-
- target.translateToAbsolute(transB);
-
- int newX = origB.x + Math.abs(transB.x - origB.x);
- int newY = origB.y + Math.abs(transB.y - origB.y);
- Rectangle finalB = new Rectangle(newX, newY, origB.width, origB.height);
-
- return finalB.contains(location);
- }
-
- protected boolean hitTestFigure(Figure target, Point location) {
- Rectangle origB = target.getBounds().getCopy();
- Rectangle transB = target.getBounds().getCopy();
-
- target.translateToAbsolute(transB);
-
- int newX = origB.x + Math.abs(transB.x - origB.x);
- int newY = origB.y + Math.abs(transB.y - origB.y);
- Rectangle finalB = new Rectangle(newX, newY, origB.width, origB.height);
-
- return finalB.contains(location);
- }
-
- public boolean isReadOnly() {
- Object model = getModel();
- if (model instanceof IASDObject) {
- return ((IASDObject) model).isReadOnly();
- }
-
- return false;
- }
-
- protected void doOpenNewEditor()
- {
- IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- IEditorPart editorPart = workbenchWindow.getActivePage().getActiveEditor();
- ActionRegistry registry = (ActionRegistry) editorPart.getAdapter(ActionRegistry.class);
- if (registry != null)
- {
- IAction action = registry.getAction(OpenInNewEditor.ID);
- action.run();
- }
- }
-
- protected void createEditPolicies()
- {
- KeyBoardAccessibilityEditPolicy navigationEditPolicy = new KeyBoardAccessibilityEditPolicy()
- {
- public EditPart getRelativeEditPart(EditPart editPart, int direction)
- {
- return BaseEditPart.this.getRelativeEditPart(direction);
- }
- };
- installEditPolicy(KeyBoardAccessibilityEditPolicy.KEY, navigationEditPolicy);
- }
-
- public EditPart getRelativeEditPart(int direction)
- {
- return EditPartNavigationHandlerUtil.getRelativeEditPart(this, direction);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingColumnEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingColumnEditPart.java
deleted file mode 100644
index 76dd73d72..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingColumnEditPart.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.Iterator;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.LayoutAnimator;
-import org.eclipse.gef.EditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.layouts.BindingColumnLayout;
-
-public class BindingColumnEditPart extends ColumnEditPart
-{
- protected IFigure createFigure()
- {
- Figure figure = new Figure();
- //figure.setOpaque(true);
- //figure.setBackgroundColor(ColorConstants.yellow);
- // custom layout that can do animation
- //
- BindingColumnLayout layout = new BindingColumnLayout(this);
- figure.setLayoutManager(layout);
- return figure;
- }
-
-
-
- protected void register()
- {
- super.register();
- getFigure().addLayoutListener(LayoutAnimator.getDefault());
- }
-
- protected void unregister()
- {
- getFigure().removeLayoutListener(LayoutAnimator.getDefault());
- super.unregister();
- }
-
- // this method will expand the binding edit part
- // and collapse any other bindings as appropriate
- //public void expand(BidingEditPart bindingEditPart)
- //{
- //}
-
- public void refreshBindingEditParts()
- {
- for (Iterator i = getChildren().iterator(); i.hasNext(); )
- {
- EditPart editPart = (EditPart)i.next();
- editPart.refresh();
- }
- getFigure().invalidateTree();
- getFigure().revalidate();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingContentEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingContentEditPart.java
deleted file mode 100644
index 5f3c2242a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingContentEditPart.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.MarginBorder;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicsConstants;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.BindingContentPlaceHolder;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDSelectionEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingOperation;
-
-// This class is used to represent a BindingOperation, BindingInput, BindingOutput and BindingFault
-//
-public class BindingContentEditPart extends BaseEditPart
-{
- Label label;
- protected ASDSelectionEditPolicy selectionHandlesEditPolicy = new ASDSelectionEditPolicy();
- protected IFigure createFigure()
- {
- Figure figure = new Figure();
- figure.setOpaque(true);
- figure.setBackgroundColor(ColorConstants.tooltipBackground);
- ToolbarLayout toolbarLayout = new ToolbarLayout(true);
- toolbarLayout.setStretchMinorAxis(true);
- figure.setLayoutManager(toolbarLayout);
- label = new Label();
- label.setBorder(new MarginBorder(5, 5, 2, 2));
- figure.add(label);
-
- return figure;
- }
-
-
- protected List getModelChildren()
- {
- return Collections.EMPTY_LIST;
- }
-
- protected void refreshVisuals()
- {
- if (getModel() instanceof IBindingOperation)
- {
- IBindingOperation bindingOperation = (IBindingOperation) getModel();
- label.setIcon(bindingOperation.getImage());
-// label.setText(bindingOperation.getName());
- }
- else if (getModel() instanceof IBindingMessageReference)
- {
- IBindingMessageReference messageRef = (IBindingMessageReference) getModel();
- label.setIcon(WSDLEditorPlugin.getInstance().getImage("icons/bind_asct_val_obj.gif"));
-// label.setIcon(messageRef.getImage());
-// label.setText(messageRef.getName());
- }
- else if (getModel() instanceof BindingContentPlaceHolder) {
- label.setIcon(WSDLEditorPlugin.getInstance().getImage("icons/bind_asct_val_not_obj.gif"));
- }
-
- super.refreshVisuals();
- }
-
- protected void createEditPolicies() {
- super.createEditPolicies();
- installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, selectionHandlesEditPolicy);
- }
-
- public void addFeedback() {
- label.getParent().setBackgroundColor(DesignViewGraphicsConstants.tableCellSelectionColor);
- }
-
- public void removeFeedback() {
- label.getParent().setBackgroundColor(ColorConstants.tooltipBackground);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingEditPart.java
deleted file mode 100644
index 6b375b98f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingEditPart.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.LayoutManager;
-import org.eclipse.draw2d.LineBorder;
-import org.eclipse.draw2d.MarginBorder;
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.gef.LayerConstants;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.connections.CenteredConnectionAnchor;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDSelectionEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.BoxComponentFigure;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.ComponentReferenceConnection;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.layouts.BindingColumnLayout;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.layouts.BindingContentLayout;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.layouts.BindingLayout;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-
-public class BindingEditPart extends BaseEditPart
-{
- protected ComponentReferenceConnection connectionFigure;
- protected BoxComponentFigure figure;
- protected boolean isExpanded = false;
- private Label hoverHelpLabel = new Label("");
-
- protected IFigure createFigure()
- {
- figure = new BoxComponentFigure();
- figure.getLabel().setBorder(new MarginBorder(2, 2, 1, 2));
- figure.setBorder(new LineBorder(0));
- figure.getContentPane().setLayoutManager(new BindingContentLayout(this));
- figure.getContentPane().setOpaque(true);
- figure.getContentPane().setBackgroundColor(ColorConstants.yellow);
- figure.setLayoutManager(new BindingLayout(this));
- // if(isScrollable())
- // figure.setScrollingActionListener(this);
- return figure;
- }
-
- public IFigure getContentPane()
- {
- return figure.getContentPane();
- }
-
- protected List getModelChildren()
- {
- IBinding binding = (IBinding) getModel();
- return isExpanded ? binding.getBindingContentList() : Collections.EMPTY_LIST;
- }
-
- public void activate()
- {
- super.activate();
- activateConnection();
- }
-
- public void deactivate()
- {
- super.deactivate();
- deactivateConnection();
- }
-
- public void addFeedback()
- {
- super.addFeedback();
- LineBorder boxFigureLineBorder = (LineBorder) figure.getBorder();
- boxFigureLineBorder.setWidth(2);
-// boxFigureLineBorder.setColor(ColorConstants.darkBlue);
- figure.setSelected(true);
- figure.repaint();
- if (connectionFigure != null)
- {
- connectionFigure.setHighlight(true);
- getLayer(LayerConstants.FEEDBACK_LAYER).add(connectionFigure);
- }
- }
-
- public void removeFeedback()
- {
- super.removeFeedback();
- LineBorder boxFigureLineBorder = (LineBorder) figure.getBorder();
- boxFigureLineBorder.setWidth(1);
- boxFigureLineBorder.setColor(ColorConstants.black);
- figure.setSelected(false);
- figure.repaint();
- if (connectionFigure != null)
- {
- connectionFigure.setHighlight(false);
- getLayer(LayerConstants.CONNECTION_LAYER).add(connectionFigure);
- }
- }
-
-
- protected void activateConnection()
- {
- // If appropriate, create our connectionFigure and add it to the appropriate
- // layer
- if (createConnectionFigure() != null)
- {
- // Add our editpolicy as a listener on the connection, so it can stay in
- // synch
- // connectionFigure.addPropertyChangeListener((AttributeSelectionFeedbackPolicy)
- // getEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE));
- // connectionFigure.addMouseListener(this);
- getLayer(LayerConstants.CONNECTION_LAYER).add(connectionFigure);
- }
- }
-
- protected void deactivateConnection()
- {
- if (connectionFigure != null)
- {
- boolean removed = false;
- removed = removeConnectionFigure(getLayer(LayerConstants.CONNECTION_LAYER));
- if (!removed)
- {
- removeConnectionFigure(getLayer(LayerConstants.FEEDBACK_LAYER));
- }
- }
- }
-
-
- private boolean removeConnectionFigure(IFigure parent)
- {
- boolean contains = false;
- Iterator it = parent.getChildren().iterator();
- while (it.hasNext())
- {
- IFigure fig = (IFigure) it.next();
- if (fig.equals(connectionFigure))
- {
- contains = true;
- break;
- }
- }
- if (contains)
- {
- parent.remove(connectionFigure);
- }
- return contains;
- }
-
- public ComponentReferenceConnection createConnectionFigure()
- {
- if (connectionFigure == null && shouldDrawConnection())
- {
- IBinding binding = (IBinding) getModel();
- Object typeBeingRef = binding.getInterface();
- if (typeBeingRef != null)
- {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- if (referenceTypePart != null)
- {
- connectionFigure = new ComponentReferenceConnection();
- refreshConnections();
- }
- }
- }
- return connectionFigure;
- }
-
- protected boolean shouldDrawConnection()
- {
- if (isExpanded)
- {
- return false;
- }
- IBinding binding = (IBinding) getModel();
- Object typeBeingRef = binding.getInterface();
- if (typeBeingRef != null)
- {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- if (referenceTypePart != null)
- {
- return true;
- }
- }
- return false;
- }
-
- protected void refreshVisuals()
- {
- refreshConnections();
- if (getModel() instanceof IBinding)
- {
- IBinding binding = (IBinding) getModel();
- ((BoxComponentFigure) getFigure()).headingFigure.setIsReadOnly(((IBinding) getModel()).isReadOnly());
- figure.getLabel().setIcon(binding.getImage());
-
- // Show the name of the IBinding with hover help
- String prependString = Messages._UI_LABEL_BINDING;
- hoverHelpLabel.setText(" " + prependString + " : " + binding.getName() + " ");
- figure.setToolTip(hoverHelpLabel);
- }
-
- //getViewer().getEditPartRegistry().put(Lay.class, controller);
- super.refreshVisuals();
- }
-
- protected AbstractGraphicalEditPart getConnectionTargetEditPart()
- {
- IBinding binding = (IBinding) getModel();
- Object typeBeingRef = binding.getInterface();
- if (connectionFigure != null)
- {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- return referenceTypePart;
- }
- return null;
- }
-
- public void refreshConnections()
- {
- if (shouldDrawConnection())
- {
- IBinding binding = (IBinding) getModel();
- Object typeBeingRef = binding.getInterface();
- if (connectionFigure != null)
- {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- IFigure refFigure= referenceTypePart.getFigure();
- connectionFigure.setSourceAnchor(new CenteredConnectionAnchor(getFigure(), CenteredConnectionAnchor.RIGHT, 0));
- connectionFigure.setTargetAnchor(new CenteredConnectionAnchor(refFigure, CenteredConnectionAnchor.HEADER_LEFT, 0, 11));
- connectionFigure.setHighlight(false);
- connectionFigure.setVisible(true);
- }
- else
- {
- activateConnection();
- }
- }
- else if (connectionFigure != null)
- {
- connectionFigure.setVisible(false);
- }
- }
-
- protected void createEditPolicies()
- {
- super.createEditPolicies();
- installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ASDSelectionEditPolicy());
- }
-
- public boolean isExpanded()
- {
- return isExpanded;
- }
-
- public void setExpanded(boolean isExpanded)
- {
- this.isExpanded = isExpanded;
- }
-
- public void performRequest(Request request)
- {
- if (request.getType() == RequestConstants.REQ_OPEN)
- {
- LayoutManager layoutManager = getFigure().getParent().getLayoutManager();
- if (layoutManager instanceof BindingColumnLayout)
- {
- BindingColumnLayout bindingColumnLayout = (BindingColumnLayout)layoutManager;
- bindingColumnLayout.setExpanded(this, !isExpanded);
- ((BindingColumnEditPart)getParent()).refreshBindingEditParts();
- }
- }
- }
-
- public EditPart getRelativeEditPart(int direction)
- {
- if (direction == PositionConstants.EAST)
- {
- // navigate forward along the connection (to the right)
- return getConnectionTargetEditPart();
- }
- else if (direction == PositionConstants.WEST)
- {
- // navigate backward along the connection (to the left)
- return EditPartNavigationHandlerUtil.getSourceConnectionEditPart(this);
- }
- return super.getRelativeEditPart(direction);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ColumnEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ColumnEditPart.java
deleted file mode 100644
index 4423a9a3b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ColumnEditPart.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-
-public class ColumnEditPart extends BaseEditPart
-{
- protected IFigure createFigure()
- {
- Figure figure = new Figure();
- ToolbarLayout layout = new ToolbarLayout(false);
- layout.setStretchMinorAxis(false);
- layout.setSpacing(20);
- figure.setLayoutManager(layout);
- return figure;
- }
-
- public IDescription getDescription()
- {
- return (IDescription)getModel();
- }
-
- protected void createEditPolicies()
- {
- // TODO Auto-generated method stub
- }
-
- protected List getModelChildren()
- {
- AbstractModelCollection collection = (AbstractModelCollection)getModel();
- Object children[] = collection.getChildren();
- List list = new ArrayList();
- for (int index = 0; index < children.length; index++) {
- list.add(children[index]);
- }
-
- return list;
- }
-
- public void addFeedback() {
-
- }
-
- public void removeFeedback() {
-
- }
-}
-
-
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/DefinitionsEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/DefinitionsEditPart.java
deleted file mode 100644
index 78649615f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/DefinitionsEditPart.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.LayoutListener;
-import org.eclipse.draw2d.MarginBorder;
-import org.eclipse.draw2d.Panel;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.BindingColumn;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.InterfaceColumn;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.ServiceColumn;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-
-public class DefinitionsEditPart extends BaseEditPart {
- List collections = null;
- Figure contentPane;
- Label messageLabel;
- InternalLayoutListener internalLayoutListener = new InternalLayoutListener();
-
- protected IFigure createFigure()
- {
- Panel panel = new Panel();
- ToolbarLayout toolbarLayout = new ToolbarLayout(true);
- panel.setLayoutManager(toolbarLayout);
- panel.setBorder(new MarginBorder(60, 30, 30, 30));
- contentPane = new Figure();
- panel.add(contentPane);
-
- messageLabel = new Label("");
- contentPane.add(messageLabel);
-
- ToolbarLayout layout = new ToolbarLayout(true);
- layout.setStretchMinorAxis(true);
- layout.setSpacing(0);
- contentPane.setLayoutManager(layout);
- return panel;
- }
-
- public void activate()
- {
- super.activate();
-
- // here we want to ensure the binding column is listening
- // to the interface column so that it can re-layout when
- // the interface changes
- for (Iterator i = getChildren().iterator(); i.hasNext(); )
- {
- AbstractGraphicalEditPart child = (AbstractGraphicalEditPart)i.next();
- if (child.getModel() instanceof InterfaceColumn)
- {
- child.getFigure().addLayoutListener(internalLayoutListener);
- break;
- }
- }
- }
-
- public void refresh() {
- super.refresh();
-
- // Refresh the connecting lines
- refreshConnections();
- }
-
- public IFigure getContentPane()
- {
- return contentPane;
- }
-
-
- protected void createEditPolicies()
- {
- // TODO Auto-generated method stub
- }
-
- public void setModelChildren(List list)
- {
- collections = list;
- }
-
- protected List getModelChildren()
- {
- if (collections == null)
- {
- collections = new ArrayList();
-
- IDescription description = (IDescription) getModel();
- if (description != null)
- {
- collections.add(new ServiceColumn(description));
- collections.add(new BindingColumn(description));
- collections.add(new InterfaceColumn(description));
- }
- }
-
- boolean hasChildren = false;
- for (Iterator i = collections.iterator(); i.hasNext(); )
- {
- AbstractModelCollection column = (AbstractModelCollection)i.next();
- if (column.hasChildren())
- {
- hasChildren = true;
- }
- }
-
- if (hasChildren)
- {
- messageLabel.setText("");
- if (contentPane.getChildren().contains(messageLabel))
- contentPane.remove(messageLabel);
- }
- else
- {
- messageLabel.setText(Messages._UI_LABEL_RIGHT_CLICK_TO_INSERT_CONTENT); //$NON-NLS-1$
- if (!contentPane.getChildren().contains(messageLabel))
- contentPane.add(messageLabel);
- }
-
-
- return collections;
- }
-
- public void setInput(Object object)
- {
- }
-
- private class InternalLayoutListener extends LayoutListener.Stub
- {
- public void postLayout(IFigure container)
- {
- for (Iterator i = getChildren().iterator(); i.hasNext(); )
- {
- EditPart child = (EditPart)i.next();
- if (child instanceof BindingColumnEditPart)
- {
- ((BindingColumnEditPart)child).refreshBindingEditParts();
- break;
- }
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EditPartNavigationHandlerUtil.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EditPartNavigationHandlerUtil.java
deleted file mode 100644
index cbd2f88b0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EditPartNavigationHandlerUtil.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.draw2d.ConnectionAnchor;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPartViewer;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.LayerConstants;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.gef.editparts.LayerManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.ComponentReferenceConnection;
-
-
-class EditPartNavigationHandlerUtil
-{
- static GraphicalEditPart getRelativeEditPart(GraphicalEditPart focusEditPart, int direction)
- {
- // these 'delta' values need to be set to some value that's large enough to cross the gap
- // between adjacent edit parts (since some layouts may space the edit parts out a bit)
- int dx = 5;
- int dy = 5;
-
- IFigure contentPane = focusEditPart.getContentPane();
-
- // we attempt to compute a rectangle that represents our current location
- Rectangle r = focusEditPart.getFigure().getBounds().getCopy();
- focusEditPart.getFigure().translateToAbsolute(r);
- if (contentPane != focusEditPart.getFigure())
- {
- // if the EditPart has a contentPane (that's no the figure) then we assume
- // effective rectangle is only the header portion of the figure
- //
- Rectangle contentPaneBounds = contentPane.getBounds().getCopy();
- contentPane.translateToAbsolute(contentPaneBounds);
-
- // we assume that when the editpart's figure and contentPane are different
- // that portion of the 'hittable' portion of editpart should not include the contentPane
- if (contentPaneBounds.y > r.y)
- {
- // if the contentPane is lower than the figure we only want the rectangle
- // above the contentPane
- r.height = contentPaneBounds.y - r.y;
- // we adjust the rectangle the right slightly since the content is nested a bit
- r.x = contentPaneBounds.x;
- }
- if (contentPaneBounds.x > r.x)
- {
- // if the contentPane is to the right of the figure we only want the rectangle
- // to the left of the content pane
- r.width = contentPaneBounds.x - r.x;
- }
- }
- Point p = null;
- if (direction == PositionConstants.NORTH)
- {
- p = r.getTopLeft();
- p.y -= dy;
- }
- else if (direction == PositionConstants.SOUTH)
- {
- p = r.getBottomLeft();
- p.x += dx;
- p.y += dy;
- }
- else if (direction == PositionConstants.EAST)
- {
- p = r.getTopRight();
- p.x += dx;
- }
- else if (direction == PositionConstants.WEST)
- {
- p = r.getLeft();
- p.x -= dx;
- }
- EditPart t = focusEditPart.getViewer().findObjectAt(p);
-
- if (t instanceof ColumnEditPart || t instanceof DefinitionsEditPart)
- {
- t = null;
- }
- return (GraphicalEditPart)t;
- }
-
- static EditPart getNextSibling(EditPart editPart)
- {
- EditPart result = null;
- EditPart parent = editPart.getParent();
- if (parent != null)
- {
- List children = parent.getChildren();
- int index = children.indexOf(editPart);
- if (index + 1 < children.size())
- {
- result = (EditPart)children.get(index + 1);
- }
- }
- return result;
- }
-
- static EditPart getPrevSibling(EditPart editPart)
- {
- EditPart result = null;
- EditPart parent = editPart.getParent();
- if (parent != null)
- {
- List children = parent.getChildren();
- int index = children.indexOf(editPart);
- if (index - 1 >= 0)
- {
- // if this is the first child
- //
- result = (EditPart)children.get(index - 1);
- }
- }
- return result;
- }
-
- static EditPart getNextInterface(EditPart editPart)
- {
- EditPart result = null;
- for (EditPart e = editPart; e != null; e = e.getParent())
- {
- if (e instanceof InterfaceEditPart)
- {
- InterfaceEditPart ie = (InterfaceEditPart)e;
- result = EditPartNavigationHandlerUtil.getNextSibling(ie);
- break;
- }
- }
- return result;
- }
-
- static EditPart getSourceConnectionEditPart(AbstractGraphicalEditPart editPart)
- {
- // find the first connection that targets this editPart
- // navigate backward along the connection (to the left) to find the sourc edit part
- EditPart result = null;
- EditPartViewer viewer = editPart.getViewer();
- LayerManager manager = (LayerManager)editPart.getViewer().getEditPartRegistry().get(LayerManager.ID);
- IFigure layer = manager.getLayer(LayerConstants.CONNECTION_LAYER);
- for (Iterator i = layer.getChildren().iterator(); i.hasNext(); )
- {
- Figure figure = (Figure)i.next();
- if (figure instanceof ComponentReferenceConnection)
- {
- ComponentReferenceConnection componentReferenceConnection = (ComponentReferenceConnection)figure;
- ConnectionAnchor targetAnchor = componentReferenceConnection.getTargetAnchor();
- if (targetAnchor.getOwner() == editPart.getFigure())
- {
- ConnectionAnchor sourceAnchor = componentReferenceConnection.getSourceAnchor();
- IFigure sourceFigure = sourceAnchor.getOwner();
- EditPart part = null;
- while (part == null && sourceFigure != null)
- {
- part = (EditPart)viewer.getVisualPartMap().get(sourceFigure);
- sourceFigure = sourceFigure.getParent();
- }
- result = part;
- break;
- }
- }
- }
- return result;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EndPointEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EndPointEditPart.java
deleted file mode 100644
index f86addbfe..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EndPointEditPart.java
+++ /dev/null
@@ -1,374 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.Iterator;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.FigureCanvas;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.MarginBorder;
-import org.eclipse.draw2d.Panel;
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.draw2d.RectangleFigure;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPartViewer;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.gef.GraphicalViewer;
-import org.eclipse.gef.LayerConstants;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.gef.tools.DirectEditManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicsConstants;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.connections.CenteredConnectionAnchor;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelCellEditorLocator;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelEditManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDLabelDirectEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDSelectionEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.ComponentReferenceConnection;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-
-public class EndPointEditPart extends BaseEditPart implements IFeedbackHandler, INamedEditPart
-{
- protected Label nameLabel;
- protected Label addressLabel;
- private Label hoverHelpLabel = new Label("");
- protected Figure addressBoxFigure;
- protected ComponentReferenceConnection connectionFigure;
- protected final static int MAX_ADDRESS_WIDTH = 150;
-
- protected IFigure createFigure()
- {
- figure = new Panel();
- figure.setBorder(new MarginBorder(4));
- ToolbarLayout layout = new ToolbarLayout(false);
- // layout.setMinorAlignment(ToolbarLayout.ALIGN_TOPLEFT);
- layout.setStretchMinorAxis(true);
- figure.setLayoutManager(layout);
- nameLabel = new Label();
- nameLabel.setIcon(((IEndPoint) getModel()).getImage());
- nameLabel.setLabelAlignment(Label.LEFT);
- // nameLabel.setTextPlacement(PositionConstants.WEST);
- figure.add(nameLabel);
- Figure f1 = new Figure();
- f1.setBorder(new MarginBorder(0, 20, 0, 0));
- f1.setLayoutManager(new ToolbarLayout());
- figure.add(f1);
- addressBoxFigure = new RectangleFigure();
- addressBoxFigure.setForegroundColor(ColorConstants.lightGray);
- addressBoxFigure.setLayoutManager(new ToolbarLayout()
- {
- // here' we tweak the layout so that address labels aren't sized too wide
- // the Label class automatically handles the addition of the '...'
- //
- protected Dimension calculatePreferredSize(IFigure container, int wHint, int hHint)
- {
- Dimension d = super.calculatePreferredSize(container, wHint, hHint);
- d.width = Math.min(d.width, MAX_ADDRESS_WIDTH);
- return d;
- }
- });
- f1.add(addressBoxFigure);
- addressLabel = new Label();
-
- addressLabel.setForegroundColor(ColorConstants.black);
- addressLabel.setBorder(new MarginBorder(2, 6, 2, 6));
- addressLabel.setLabelAlignment(Label.LEFT);
- addressBoxFigure.add(addressLabel);
-
- // rmah: The block of code below has been moved from refreshVisuals(). We're
- // assuming the read-only state of the EditPart will never change once the
- // EditPart has been created.
- if (isReadOnly())
- {
- nameLabel.setForegroundColor(DesignViewGraphicsConstants.readOnlyLabelColor);
- addressLabel.setForegroundColor(DesignViewGraphicsConstants.readOnlyLabelColor);
- }
- else
- {
- nameLabel.setForegroundColor(DesignViewGraphicsConstants.labelColor);
- addressLabel.setForegroundColor(DesignViewGraphicsConstants.labelColor);
- }
-
- return figure;
- }
-
- protected void createEditPolicies()
- {
- super.createEditPolicies();
- installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new ASDLabelDirectEditPolicy());
- installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ASDSelectionEditPolicy());
- }
- private DirectEditManager manager;
- private Point cursorLocation;
-
- public void performDirectEdit(Point cursorLocation)
- {
- this.cursorLocation = cursorLocation;
- if (!isReadOnly() && (cursorLocation == null || hitTest(getLabelFigure(), cursorLocation))) {
- manager = new LabelEditManager(this, new LabelCellEditorLocator(this, cursorLocation));
- manager.show();
- }
- else if (hitTest(getFigure().getBounds(), cursorLocation) && isReadOnly()) {
- doOpenNewEditor();
- }
- }
-
- public void performRequest(Request req) {
- if (req.getType().equals(RequestConstants.REQ_DIRECT_EDIT)) {
- performDirectEdit(null);
- }
- }
-
- public Label getLabelFigure()
- {
- if (cursorLocation == null || translateBounds(nameLabel.getBounds()).contains(cursorLocation))
- {
- return nameLabel;
- }
- else if (translateBounds(addressLabel.getBounds()).contains(cursorLocation))
- {
- return addressLabel;
- }
- return null;
- }
-
- protected Rectangle translateBounds(Rectangle bounds) {
-
- ASDMultiPageEditor editor = (ASDMultiPageEditor) ASDEditorPlugin.getActiveEditor();
- FigureCanvas canvas = (FigureCanvas) ((EditPartViewer) editor.getAdapter(GraphicalViewer.class)).getControl();
- Point viewLocation = canvas.getViewport().getViewLocation();
-
- return new Rectangle(bounds.x + viewLocation.x, bounds.y + viewLocation.y, bounds.width, bounds.height);
- }
-
- protected Object getReferencedModel()
- {
- IEndPoint endPoint = (IEndPoint) getModel();
- return endPoint.getBinding();
- }
-
- protected void refreshVisuals()
- {
- IEndPoint endPoint = (IEndPoint) getModel();
- nameLabel.setText(endPoint.getName());
- addressLabel.setText(endPoint.getAddress());
-
- Rectangle textBounds = addressLabel.getTextBounds();
- Rectangle bounds = addressLabel.getBounds();
- int textPlacement = addressLabel.getTextPlacement();
- int xDelta = textBounds.x - bounds.x;
- int xTextIncrease = textPlacement - xDelta;
- int textSize = textBounds.width + xTextIncrease;
- int boundSize = bounds.width;
-
- if (textSize > boundSize) {
- hoverHelpLabel.setText(" " + endPoint.getAddress() + " ");
- addressLabel.setToolTip(hoverHelpLabel);
- }
- else {
- addressLabel.setToolTip(null);
- }
-
- refreshConnections();
- super.refreshVisuals();
- }
-
- public void activate()
- {
- super.activate();
- activateConnection();
- }
-
- public void deactivate()
- {
- super.deactivate();
- deactivateConnection();
- }
-
- protected void activateConnection()
- {
- if (createConnectionFigure() != null)
- {
- getLayer(LayerConstants.CONNECTION_LAYER).add(connectionFigure);
- }
- }
-
- protected void deactivateConnection()
- {
- if (connectionFigure != null)
- {
- boolean removed = false;
- removed = removeConnectionFigure(getLayer(LayerConstants.CONNECTION_LAYER));
-
- if (!removed) {
- removeConnectionFigure(getLayer(LayerConstants.FEEDBACK_LAYER));
- }
- }
- }
-
- private boolean removeConnectionFigure(IFigure parent) {
- boolean contains = false;
- Iterator it = parent.getChildren().iterator();
- while (it.hasNext()) {
- IFigure fig = (IFigure) it.next();
- if (fig.equals(connectionFigure)) {
- contains = true;
- break;
- }
- }
-
- if (contains) {
- parent.remove(connectionFigure);
- }
-
- return contains;
- }
-
- protected boolean shouldDrawConnection()
- {
- Object typeBeingRef = getReferencedModel();
- if (typeBeingRef != null)
- {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- if (referenceTypePart != null)
- {
- return true;
- }
- }
-
- return false;
- }
-
-
- public ComponentReferenceConnection createConnectionFigure()
- {
- if (connectionFigure == null && shouldDrawConnection())
- {
- Object typeBeingRef = getReferencedModel();
- if (typeBeingRef != null)
- {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- if (referenceTypePart != null)
- {
- // We do reference another Type. Build a connection. We can make
- // assumptions about anchor positioning since an attribute can only
- // have a "reference" relationship, no "inheritance", no
- // "is-referenced-by"
- connectionFigure = new ComponentReferenceConnection();
- refreshConnections();
- }
- }
- }
- return connectionFigure;
- }
-
- EditPart getConnectionTargetEditPart()
- {
- Object typeBeingRef = getReferencedModel();
- if (connectionFigure != null) {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- return referenceTypePart;
- }
- return null;
- }
-
- public void refreshConnections() {
- if (shouldDrawConnection()) {
- Object typeBeingRef = getReferencedModel();
- if (connectionFigure != null) {
- AbstractGraphicalEditPart referenceTypePart = (AbstractGraphicalEditPart) getViewer().getEditPartRegistry().get(typeBeingRef);
- connectionFigure.setSourceAnchor(new CenteredConnectionAnchor(addressBoxFigure, CenteredConnectionAnchor.RIGHT, 0, 0));
- IFigure targetFigure = referenceTypePart.getFigure();
- connectionFigure.setTargetAnchor(new CenteredConnectionAnchor(targetFigure, CenteredConnectionAnchor.HEADER_LEFT, 0, 10));
- connectionFigure.setHighlight(false);
- connectionFigure.setVisible(true);
- }
- else {
- activateConnection();
- }
- }
- else if (connectionFigure != null){
- connectionFigure.setVisible(false);
- }
- }
-
- private IFigure getFigureForFeedback()
- {
- return figure;
- }
-
- public void addFeedback()
- {
- IFigure figure = getFigureForFeedback();
- figure.setBackgroundColor(DesignViewGraphicsConstants.tableCellSelectionColor);
-
- if (connectionFigure != null) {
- connectionFigure.setHighlight(true);
- getLayer(LayerConstants.FEEDBACK_LAYER).add(connectionFigure);
- }
- }
-
- public void removeFeedback()
- {
- IFigure figure = getFigureForFeedback();
- figure.setBackgroundColor(figure.getParent().getBackgroundColor());
-
- if (connectionFigure != null) {
- connectionFigure.setHighlight(false);
- getLayer(LayerConstants.CONNECTION_LAYER).add(connectionFigure);
- }
- }
-
- // TODO: rmah: VERY UGLY HACK.... I don't see any other way to solve this
- // issue at this time.
- // EndPointEditPart contains two labels which can be direct edited. The facade
- // driving EndPointEditPart
- // contains a getSetNameCommand() and a getSetAddressCommand()... however,
- // this class (LabelDirectEditPolicy)
- // only knows about getSetNameCommand()..... This is the problem we face when
- // combining two labels into
- // one EditPart.....
- // See LabelDirectEditPolicy.getDirectEditCommand(DirectEditRequest)
- public Command getSetProperLabelCommand(String newValue)
- {
- // TODO: rmah: We need to translate the point...
- if (cursorLocation == null || translateBounds(nameLabel.getBounds()).contains(cursorLocation))
- {
- return ((IEndPoint) getModel()).getSetNameCommand(newValue);
- }
- else if (translateBounds(addressLabel.getBounds()).contains(cursorLocation))
- {
- return ((IEndPoint) getModel()).getSetAddressCommand(newValue);
- }
- return null;
- }
-
- public EditPart getRelativeEditPart(int direction)
- {
- if (direction == PositionConstants.EAST)
- {
- // navigate forward along the connection (to the right)
- return getConnectionTargetEditPart();
- }
- return super.getRelativeEditPart(direction);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/IFeedbackHandler.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/IFeedbackHandler.java
deleted file mode 100644
index e305362de..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/IFeedbackHandler.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-public interface IFeedbackHandler {
- public void addFeedback();
- public void removeFeedback();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/INamedEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/INamedEditPart.java
deleted file mode 100644
index 4f6de3e84..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/INamedEditPart.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.geometry.Point;
-
-public interface INamedEditPart {
- public Label getLabelFigure();
- public void performDirectEdit(Point cursorLocation);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/OperationEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/OperationEditPart.java
deleted file mode 100644
index 053744b3f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/OperationEditPart.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.List;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.MarginBorder;
-import org.eclipse.draw2d.Panel;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.tools.DirectEditManager;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicsConstants;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelCellEditorLocator;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelEditManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDLabelDirectEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDSelectionEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.ListFigure;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-
-
-public class OperationEditPart extends BaseEditPart implements INamedEditPart
-{
- protected Figure contentPane;
- protected Label label;
- private Color unselectedColor;
- private Figure labelHolder;
-
- public OperationEditPart()
- {
- }
-
- protected IFigure createFigure()
- {
- Figure figure = new Figure();
- figure.setBackgroundColor(DesignViewGraphicsConstants.tableOperationHeadingColor);
- ToolbarLayout toolbarLayout = new ToolbarLayout(false);
- toolbarLayout.setStretchMinorAxis(true);
- toolbarLayout.setMinorAlignment(ToolbarLayout.ALIGN_TOPLEFT);
- figure.setLayoutManager(toolbarLayout);
-
- labelHolder = new Panel();
- labelHolder.setBackgroundColor(DesignViewGraphicsConstants.tableOperationHeadingColor);
- labelHolder.setLayoutManager(new ToolbarLayout(true));
- figure.add(labelHolder);
-
- label = new Label("Operation"); //$NON-NLS-1$
-// label.setFont(DesignViewGraphicsConstants.smallBoldFont);
- label.setBorder(new MarginBorder(2, 2,2,2));
- label.setTextAlignment(Label.LEFT);
- labelHolder.add(label);
-
-
- contentPane = new ListFigure();
- ToolbarLayout toolbarLayout2 = new ToolbarLayout(false);
- toolbarLayout2.setStretchMinorAxis(true);
- contentPane.setLayoutManager(toolbarLayout2);
- figure.add(contentPane);
-
- // rmah: The block of code below has been moved from refreshVisuals(). We're
- // assuming the read-only state of the EditPart will never change once the
- // EditPart has been created.
- if (isReadOnly()) {
- label.setForegroundColor(DesignViewGraphicsConstants.readOnlyLabelColor);
- figure.setBackgroundColor(DesignViewGraphicsConstants.readOnlyTableOperationHeadingColor);
- labelHolder.setBackgroundColor(DesignViewGraphicsConstants.readOnlyTableOperationHeadingColor);
- }
- else {
- label.setForegroundColor(ColorConstants.black);
- figure.setBackgroundColor(DesignViewGraphicsConstants.tableOperationHeadingColor);
- labelHolder.setBackgroundColor(DesignViewGraphicsConstants.tableOperationHeadingColor);
- }
-
- return figure;
- }
-
- protected void createEditPolicies()
- {
- super.createEditPolicies();
- installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new ASDLabelDirectEditPolicy());
- installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ASDSelectionEditPolicy());
- }
-
- private DirectEditManager manager;
- public void performDirectEdit(Point cursorLocation){
- Rectangle textArea = getLabelFigure().getBounds();
- textArea.width = getFigure().getBounds().width;
- if (cursorLocation == null || hitTest(textArea, cursorLocation) && !isReadOnly()) {
- manager = new LabelEditManager(this, new LabelCellEditorLocator(this, cursorLocation));
- manager.show();
- }
- else if (getFigure() instanceof Figure && hitTestFigure((Figure) getFigure(), cursorLocation) && isReadOnly()) {
- doOpenNewEditor();
- }
- }
-
- public void performRequest(Request req) {
- if (req.getType().equals(RequestConstants.REQ_DIRECT_EDIT)) {
- performDirectEdit(null);
- }
- }
-
- public Label getLabelFigure() {
- return label;
- }
-
- protected void refreshVisuals()
- {
- super.refreshVisuals();
- IOperation operation = (IOperation)getModel();
- label.setText(operation.getName());// + "---" + getModel());
- label.setIcon(operation.getImage());
-
-
- }
-
- public IFigure getContentPane()
- {
- return contentPane;
- }
-
- protected List getModelChildren()
- {
- IOperation theOperation = (IOperation)getModel();
- return theOperation.getMessages();
- }
-
- public void addFeedback() {
- unselectedColor = labelHolder.getBackgroundColor();
-// getFigure().setBackgroundColor(DesignViewGraphicsConstants.tableCellSelectionColor);
- labelHolder.setBackgroundColor(DesignViewGraphicsConstants.tableCellSelectionColor);
- }
-
- public void removeFeedback() {
- if (unselectedColor != null) {
- labelHolder.setBackgroundColor(unselectedColor);
- }
- }
-
- /**
- * @deprecated to be removed post WTP 1.5
- */
- protected Label previewLabel;
-
- /**
- * @deprecated to be removed post WTP 1.5
- */
- protected String getOperationPreview()
- {
- return "deprecated";
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ParameterEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ParameterEditPart.java
deleted file mode 100644
index ab6bff4e4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ParameterEditPart.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.MarginBorder;
-import org.eclipse.draw2d.Panel;
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.DragTracker;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.tools.DirectEditManager;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicsConstants;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelCellEditorLocator;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelEditManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDDragAndDropEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDGraphNodeDragTracker;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDLabelDirectEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDSelectionEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.layouts.RowLayout;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-
-public class ParameterEditPart extends BaseEditPart implements IFeedbackHandler, INamedEditPart
-{
- protected Figure contentPane;
- protected Label parameterName;
- protected RowLayout rowLayout = new RowLayout();
- protected Image labelImage;
-
- protected ASDSelectionEditPolicy selectionHandlesEditPolicy = new ASDSelectionEditPolicy();
-
- protected IFigure createFigure()
- {
- IFigure figure = new Figure()
- {
- public void paint(Graphics graphics)
- {
- super.paint(graphics);
- graphics.pushState();
- // this bit of code is used to draw the dividing line between
- // the parameter name and the parameter type
- // we might want to consider moving this line drawing into the
- // message reference's figure where the horizontal lines are down's
- Rectangle r = parameterName.getBounds();
- int x= r.x + r.width -1;
- graphics.setForegroundColor(ColorConstants.lightGray);
- graphics.drawLine(x, r.y, x, r.y + r.height);
- graphics.popState();
- }
- };
- //toolbarLayout.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);
- figure.setForegroundColor(ColorConstants.black);
- figure.setLayoutManager(rowLayout);
- /*
- String x = "";
- int size = (int)(Math.random()*50);
- for (int i = 0; i < size; i++)
- {
- x += "x";
- }
- String y = "";
- int sizey = (int)(Math.random()*50);
- for (int i = 0; i < sizey; i++)
- {
- y += "y";
- } */
-
- contentPane = new Figure();
- ToolbarLayout toolbarLayout2 = new ToolbarLayout(false);
- toolbarLayout2.setStretchMinorAxis(true);
- contentPane.setLayoutManager(toolbarLayout2);
-
- IFigure parameterNamePane = new Panel();
- toolbarLayout2 = new ToolbarLayout(false);
- toolbarLayout2.setStretchMinorAxis(true);
- parameterNamePane.setLayoutManager(toolbarLayout2);
-
- parameterName = new Label();
- parameterName.setLabelAlignment(Label.LEFT);
- parameterName.setBorder(new MarginBorder(4,10,4,10));
-
- parameterNamePane.add(parameterName);
- figure.add(parameterNamePane);
- figure.add(contentPane);
- rowLayout.setConstraint(parameterNamePane, "parameterName"); //$NON-NLS-1$
- rowLayout.setConstraint(contentPane, "parameterType"); //$NON-NLS-1$
-
- labelImage = ((IParameter) getModel()).getImage();
-
- // rmah: The block of code below has been moved from refreshVisuals(). We're
- // assuming the read-only state of the EditPart will never change once the
- // EditPart has been created.
- if (isReadOnly())
- {
- parameterName.setForegroundColor(DesignViewGraphicsConstants.readOnlyLabelColor);
- }
- else
- {
- parameterName.setForegroundColor(ColorConstants.black);
- }
-
- return figure;
- }
-
- public void addNotify()
- {
- InterfaceEditPart.attachToInterfaceEditPart(this, rowLayout);
- super.addNotify();
- }
-
- private DirectEditManager manager;
-
- public void performDirectEdit(Point cursorLocation){
- if (!isReadOnly() && (cursorLocation == null || hitTest(getLabelFigure().getBounds(), cursorLocation))) {
- manager = new LabelEditManager(this, new LabelCellEditorLocator(this, cursorLocation));
- manager.show();
- }
- else if (getFigure() instanceof Figure && hitTestFigure((Figure) getFigure(), cursorLocation) && isReadOnly()) {
- doOpenNewEditor();
- }
- }
-
- public void performRequest(Request req) {
- if (req.getType().equals(RequestConstants.REQ_DIRECT_EDIT)) {
- performDirectEdit(null);
- }
- }
-
- protected void createEditPolicies()
- {
- super.createEditPolicies();
- installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new ASDLabelDirectEditPolicy());
- if (!isReadOnly()) {
- installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new ASDDragAndDropEditPolicy(getViewer(), selectionHandlesEditPolicy));
- }
- installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, selectionHandlesEditPolicy);
- }
-
- public DragTracker getDragTracker(Request request)
- {
- return new ASDGraphNodeDragTracker((EditPart)this);
- }
-
- public Label getLabelFigure() {
- return parameterName;
- }
-
- protected void refreshVisuals()
- {
- super.refreshVisuals();
- IParameter parameter = (IParameter)getModel();
- parameterName.setText(parameter.getName());
- if (labelImage != null) {
- parameterName.setIcon(labelImage);
- }
-
- // Resize column widths. Sizes may have shrunk.
- rowLayout.getColumnData().clearColumnWidths();
- for (EditPart parent = getParent(); parent != null; parent = parent.getParent())
- {
- if (parent instanceof InterfaceEditPart)
- {
- ((GraphicalEditPart)parent).getFigure().invalidateTree();
- break;
- }
- }
- }
-
- protected List getModelChildren()
- {
- // On the facade level, one IParameter will have two editable values.
- // A name and a type reference. To make direct editing and selection
- // feedback easier, we show this one facade object as two edit parts.
- // The approach is to the same facade model, to drive the second (child
- // EditPart.
-
- // TODO (cs) Rich consider creating 2 hard code edit parts
- // the first for the parameter name
- // the second for the paramter type
- List kids = new ArrayList();
- kids.add(getModel());
- return kids;
- }
-
- public IFigure getContentPane()
- {
- return contentPane;
- }
-
- public void addFeedback() {
- parameterName.getParent().setBackgroundColor(DesignViewGraphicsConstants.tableCellSelectionColor);
- }
-
- public void removeFeedback() {
- parameterName.getParent().setBackgroundColor(figure.getBackgroundColor());
- }
-
- public EditPart getRelativeEditPart(int direction)
- {
- EditPart editPart = super.getRelativeEditPart(direction);
- if (direction == PositionConstants.SOUTH && editPart == null)
- {
- editPart = EditPartNavigationHandlerUtil.getNextInterface(this);
- }
- return editPart;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ServiceEditPart.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ServiceEditPart.java
deleted file mode 100644
index 2ea2f4c13..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ServiceEditPart.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.LineBorder;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.tools.DirectEditManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicsConstants;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelCellEditorLocator;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.directedit.LabelEditManager;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDLabelDirectEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies.ASDSelectionEditPolicy;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.HeadingFigure;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IService;
-
-public class ServiceEditPart extends BaseEditPart implements INamedEditPart
-{
- IFigure contentPane;
- HeadingFigure headingFigure;
-
- public void addFeedback()
- {
- LineBorder boxFigureLineBorder = (LineBorder) figure.getBorder();
- boxFigureLineBorder.setWidth(2);
-// boxFigureLineBorder.setColor(ColorConstants.darkBlue);
- headingFigure.setSelected(true);
- figure.repaint();
- }
-
- public void removeFeedback()
- {
- LineBorder boxFigureLineBorder = (LineBorder) figure.getBorder();
- boxFigureLineBorder.setWidth(1);
- boxFigureLineBorder.setColor(ColorConstants.black);
- headingFigure.setSelected(false);
- figure.repaint();
- }
-
- protected IFigure createFigure()
- {
- Figure figure = new Figure();
- figure.setBorder(new LineBorder(1));
- ToolbarLayout toolbarLayout = new ToolbarLayout(false);
- toolbarLayout.setStretchMinorAxis(true);
- figure.setLayoutManager(toolbarLayout);
- headingFigure = new HeadingFigure();
- headingFigure.getLabel().setIcon(((IService) getModel()).getImage());
- figure.add(headingFigure);
-
- contentPane = new Figure()
- {
- public void paint(Graphics graphics)
- {
- super.paint(graphics);
- boolean isFirst = false;
- for (Iterator i = getChildren().iterator(); i.hasNext(); )
- {
- Figure figure = (Figure)i.next();
- if (isFirst)
- {
- isFirst = false;
- }
- else
- {
- Rectangle r = figure.getBounds();
- graphics.drawLine(r.x, r.y +1, r.x + r.width, r.y + 1);
- }
- }
- }
- };
- ToolbarLayout toolbarLayout2 = new ToolbarLayout(false);
- toolbarLayout2.setStretchMinorAxis(true);
- contentPane.setLayoutManager(toolbarLayout2);
- figure.add(contentPane);
-
- // rmah: The block of code below has been moved from refreshVisuals(). We're
- // assuming the read-only state of the EditPart will never change once the
- // EditPart has been created.
- if (isReadOnly())
- {
- headingFigure.getLabel().setForegroundColor(DesignViewGraphicsConstants.readOnlyLabelColor);
- }
- else
- {
- headingFigure.getLabel().setForegroundColor(ColorConstants.black);
- }
-
- return figure;
- }
-
- public IFigure getContentPane()
- {
- return contentPane;
- }
-
- protected void createEditPolicies()
- {
- super.createEditPolicies();
- installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new ASDLabelDirectEditPolicy());
- installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ASDSelectionEditPolicy());
- }
-
- private DirectEditManager manager;
-
- public void performDirectEdit(Point cursorLocation){
- if (cursorLocation == null || hitTest(headingFigure.getLabel(), cursorLocation) && !isReadOnly()) {
- manager = new LabelEditManager(this, new LabelCellEditorLocator(this, cursorLocation));
- manager.show();
- }
- else if ((hitTest(headingFigure.getLabel(), cursorLocation) ||
- hitTestFigure(headingFigure, cursorLocation)) && isReadOnly()) {
- doOpenNewEditor();
- }
- }
-
- public void performRequest(Request req) {
- if (req.getType().equals(RequestConstants.REQ_DIRECT_EDIT)) {
- performDirectEdit(null);
- }
- }
-
- public Label getLabelFigure() {
- return headingFigure.getLabel();
- }
-
- protected List getModelChildren()
- {
- IService service = (IService)getModel();
- return service.getEndPoints();
- }
-
- protected void refreshVisuals()
- {
- IService service = (IService)getModel();
- headingFigure.setIsReadOnly(service.isReadOnly());
- headingFigure.getLabel().setText(service.getName());
- super.refreshVisuals();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/AbstractModelCollection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/AbstractModelCollection.java
deleted file mode 100644
index 54eeadbf0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/AbstractModelCollection.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model;
-
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public abstract class AbstractModelCollection implements IASDObject, ITreeElement
-{
- IASDObject model;
- String kind;
-
- public AbstractModelCollection(IASDObject model, String kind)
- {
- this.model = model;
- this.kind = kind;
- }
-
- public Object getModel()
- {
- return model;
- }
-
- public void setModel(IASDObject model)
- {
- this.model = model;
- }
-
- public String getKind()
- {
- return kind;
- }
-
- public void setKind(String kind)
- {
- this.kind = kind;
- }
-
- public Image getImage() {
- return null;
- }
-
- public ITreeElement getParent() {
- return null;
- }
-
- public boolean isReadOnly() {
- return false;
- }
-
- public void registerListener(IASDObjectListener listener)
- {
- model.registerListener(listener);
- }
-
- public void unregisterListener(IASDObjectListener listener)
- {
- model.unregisterListener(listener);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingColumn.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingColumn.java
deleted file mode 100644
index 4ba9ffcf4..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingColumn.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model;
-
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.INamedObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class BindingColumn extends AbstractModelCollection {
- public BindingColumn(IDescription description) {
- super(description, "BindingColumn"); //$NON-NLS-1$
- }
-
- public ITreeElement[] getChildren() {
- List bindings = ((IDescription)model).getBindings();
- Collections.sort(bindings, new BindingComparator());
- Object array[] = bindings.toArray();
-
- ITreeElement treeElement[] = new ITreeElement[array.length];
- for (int index = 0; index < array.length; index++) {
- treeElement[index] = (ITreeElement) array[index];
- }
-
- return treeElement;
- }
-
- public boolean hasChildren() {
- ITreeElement treeElement[] = getChildren();
- if (treeElement.length > 0) {
- return true;
- }
-
- return false;
- }
-
- public String getText() {
- return "definition"; //$NON-NLS-1$
- }
-
- private class BindingComparator implements Comparator {
- public int compare(Object o1, Object o2) {
- if (o1 instanceof IBinding && o2 instanceof IBinding) {
- IInterface interface1 = ((IBinding) o1).getInterface();
- IInterface interface2 = ((IBinding) o2).getInterface();
-
- if (interface1 != null && interface2 != null) {
- String name1 = ((INamedObject) interface1).getName();
- String name2 = ((INamedObject) interface2).getName();
- return name1.compareTo(name2);
- }
- else if (interface1 != null && interface2 == null) {
- return -1;
- }
- else if (interface1 == null && interface2 != null) {
- return 1;
- }
- }
-
- return 0;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingContentPlaceHolder.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingContentPlaceHolder.java
deleted file mode 100644
index c963d26d7..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingContentPlaceHolder.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model;
-
-public class BindingContentPlaceHolder {
- private Object model;
-
- public BindingContentPlaceHolder(Object model) {
- this.model = model;
- }
-
- public Object getModel() {
- return model;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/IActionProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/IActionProvider.java
deleted file mode 100644
index e13715d14..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/IActionProvider.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model;
-
-public interface IActionProvider
-{
- public String[] getActions(Object object);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/InterfaceColumn.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/InterfaceColumn.java
deleted file mode 100644
index ecd0f172b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/InterfaceColumn.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model;
-
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
-
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.INamedObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class InterfaceColumn extends AbstractModelCollection {
- public InterfaceColumn(IDescription description) {
- super(description, "InterfaceColumn"); //$NON-NLS-1$
- }
-
- public ITreeElement[] getChildren() {
- List interfaces = ((IDescription)model).getInterfaces();
- Comparator compare = new NamedObjectComparator();
- Collections.sort(interfaces, compare);
- Object array[] = interfaces.toArray();
-
- ITreeElement treeElement[] = new ITreeElement[array.length];
- for (int index = 0; index < array.length; index++) {
- treeElement[index] = (ITreeElement) array[index];
- }
-
- return treeElement;
- }
-
- public boolean hasChildren() {
- ITreeElement treeElement[] = getChildren();
- if (treeElement.length > 0) {
- return true;
- }
-
- return false;
- }
-
- public String getText() {
- return "definition"; //$NON-NLS-1$
- }
-
- private class NamedObjectComparator implements Comparator{
- public int compare(Object o1, Object o2) {
- if (o1 instanceof INamedObject && o2 instanceof INamedObject) {
- String name1 = ((INamedObject) o1).getName();
- String name2 = ((INamedObject) o2).getName();
- return name1.compareTo(name2);
- }
-
- return -1;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/ServiceColumn.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/ServiceColumn.java
deleted file mode 100644
index 19a7c8109..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/ServiceColumn.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model;
-
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public class ServiceColumn extends AbstractModelCollection {
- public ServiceColumn(IDescription description) {
- super(description, "ServiceColumn"); //$NON-NLS-1$
- }
-
- public ITreeElement[] getChildren() {
- Object array[] = ((IDescription)model).getServices().toArray();
- ITreeElement treeElement[] = new ITreeElement[array.length];
- for (int index = 0; index < array.length; index++) {
- treeElement[index] = (ITreeElement) array[index];
- }
-
- return treeElement;
- }
-
- public boolean hasChildren() {
- ITreeElement treeElement[] = getChildren();
- if (treeElement.length > 0) {
- return true;
- }
-
- return false;
- }
-
- public String getText() {
- return "definition"; //$NON-NLS-1$
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropCommand.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropCommand.java
deleted file mode 100644
index 68301db17..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropCommand.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.draw2d.FigureCanvas;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPartViewer;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.requests.ChangeBoundsRequest;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDragAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDragReorderAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.MessageReferenceEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ParameterEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
-
-public class ASDDragAndDropCommand extends Command {
- protected EditPartViewer viewer;
- protected ChangeBoundsRequest request;
- protected Point location;
- protected ASDDragAction dragAction;
- protected boolean canExecute = false;
-
- public ASDDragAndDropCommand(EditPartViewer viewer, ChangeBoundsRequest request)
- {
- this.viewer = viewer;
- this.request = request;
-
- location = request.getLocation();
- EditPart targetEditPart = viewer.findObjectAt(location);
-
- if (targetEditPart instanceof ParameterEditPart || targetEditPart instanceof MessageReferenceEditPart) {
- ((GraphicalEditPart)viewer.getRootEditPart()).getFigure().translateToRelative(location);
- GraphicalEditPart movingChildEditPart;
- Vector dragActions = new Vector();
- if (request.getType().equals(RequestConstants.REQ_ADD)) { // This really shouldn't be REQ_ADD....
- List list = request.getEditParts();
- if (list.size() <= 0) {
- canExecute = false;
- return;
- }
-
- // Grabbing the fist selection
- movingChildEditPart = (GraphicalEditPart) list.get(0);
- Object model = movingChildEditPart.getModel();
- EditPart pointerEditPart = viewer.findObjectAt(location);
-
- if (model instanceof IParameter) {
- dragActions.add(new ASDDragReorderAction(movingChildEditPart, pointerEditPart, getPointerLocation(location)));
- }
- else if (model instanceof IMessageReference) {
- IMessageReference messageRef = (IMessageReference) model;
- if (messageRef.getKind() == IMessageReference.KIND_INPUT || messageRef.getKind() == IMessageReference.KIND_OUTPUT) {
- dragActions.add(new ASDDragReorderAction(movingChildEditPart, pointerEditPart, getPointerLocation(location)));
-// dragActions.add(new WSDLDragSetMessageAction(movingChildEditPart, pointerEditPart, location));
- }
- }
-
-// else if (model instanceof Fault) {
-// dragActions.add(new WSDLDragSetMessageAction(movingChildEditPart, pointerEditPart, location));
-// }
- }
-// else if (request.getType().equals(RequestConstants.REQ_CLONE)) {
-// List list = request.getEditParts();
-// if (list.size() > 0)
-// {
-// // Grabbing the fist selection
-// movingChildEditPart = (WSDLTreeNodeEditPart) list.get(0);
-//
-// dragActions.add(new CopyWSDLElementAction(viewer,
-// (WSDLElement) movingChildEditPart.getModel(),
-// (WSDLElement) targetEditPart.getModel(),
-// null));
-// }
-// }
-
- Iterator it = dragActions.iterator();
- while (it.hasNext()) {
- dragAction = (ASDDragAction) it.next();
- canExecute = dragAction.canExecute();
- if (canExecute)
- break;
- }
- }
- }
-
- public boolean canExecute()
- {
- return canExecute;
- }
-
- public void execute() {
- if (canExecute)
- {
- dragAction.run();
- }
- }
-
- public IFigure getFeedbackFigure() {
- if (dragAction != null) {
- return dragAction.getFeedbackFigure();
- }
- else {
- return null;
- }
- }
-
- /*
- * This method compensates for the current scroll position
- */
- private Point getPointerLocation(Point origPointerLocation) {
- Point compensatedLocation = origPointerLocation;
- FigureCanvas figureCanvas = (FigureCanvas) viewer.getControl();
- int yOffset = figureCanvas.getViewport().getVerticalRangeModel().getValue();
- compensatedLocation.y = compensatedLocation.y + yOffset;
-
- return compensatedLocation;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropEditPolicy.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropEditPolicy.java
deleted file mode 100644
index 5c23ef3a6..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropEditPolicy.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies;
-
-import org.eclipse.gef.EditPartViewer;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.requests.ChangeBoundsRequest;
-
-public class ASDDragAndDropEditPolicy extends org.eclipse.gef.editpolicies.GraphicalEditPolicy {
- protected EditPartViewer viewer;
- protected ASDSelectionEditPolicy selectionHandlesEditPolicy;
-
- public ASDDragAndDropEditPolicy(EditPartViewer viewer, ASDSelectionEditPolicy selectionHandlesEditPolicy) {
- this.viewer = viewer;
- this.selectionHandlesEditPolicy = selectionHandlesEditPolicy;
- }
-
- public boolean understandsRequest(Request req) {
- return true;
- }
-
- public org.eclipse.gef.commands.Command getCommand(Request request) {
- ASDDragAndDropCommand command = null;
- if (request instanceof ChangeBoundsRequest) {
- command = new ASDDragAndDropCommand(viewer, (ChangeBoundsRequest)request);
- selectionHandlesEditPolicy.setDragAndDropCommand(command);
- }
- return command;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDGraphNodeDragTracker.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDGraphNodeDragTracker.java
deleted file mode 100644
index 9e9f6c5fd..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDGraphNodeDragTracker.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.tools.DragEditPartsTracker;
-
-public class ASDGraphNodeDragTracker extends DragEditPartsTracker {
- protected EditPart editPart;
-
- public ASDGraphNodeDragTracker(EditPart editPart) {
- super(editPart);
- this.editPart = editPart;
- }
-
- protected Command getCommand() {
- Request request = getTargetRequest();
- return editPart.getCommand(request);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDLabelDirectEditPolicy.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDLabelDirectEditPolicy.java
deleted file mode 100644
index b54b6fe75..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDLabelDirectEditPolicy.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.editpolicies.DirectEditPolicy;
-import org.eclipse.gef.requests.DirectEditRequest;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.EndPointEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.INamedObject;
-
-public class ASDLabelDirectEditPolicy extends DirectEditPolicy {
- protected Command getDirectEditCommand(DirectEditRequest request) {
- Command command = null;
- String labelText = (String) request.getCellEditor().getValue();
- EditPart editPart= getHost();
-
- // TODO: rmah: Start VERY UGLY HACK.... I don't see any other way to solve this issue at this time.
- // EndPointEditPart contains two labels which can be direct edited. The facade driving EndPointEditPart
- // contains a getSetNameCommand() and a getSetAddressCommand()... however, this class (LabelDirectEditPolicy)
- // only knows about getSetNameCommand()..... This is the problem we face when combining two labels into
- // one EditPart.....
- if (editPart instanceof EndPointEditPart) {
- command = ((EndPointEditPart) editPart).getSetProperLabelCommand(labelText);
- }
- // End VERY UGLY HACK
- else if (editPart.getModel() instanceof INamedObject) {
- command = ((INamedObject) editPart.getModel()).getSetNameCommand(labelText);
- }
-
- return command;
- }
-
- protected void showCurrentEditValue(DirectEditRequest request) {
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDSelectionEditPolicy.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDSelectionEditPolicy.java
deleted file mode 100644
index fcafff427..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDSelectionEditPolicy.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.editpolicies.SelectionEditPolicy;
-import org.eclipse.gef.requests.ChangeBoundsRequest;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.IFeedbackHandler;
-
-public class ASDSelectionEditPolicy extends SelectionEditPolicy {
- protected ASDDragAndDropCommand dragAndDropCommand;
- protected IFigure feedback;
-
- public void setDragAndDropCommand(ASDDragAndDropCommand dragAndDropCommand) {
- this.dragAndDropCommand = dragAndDropCommand;
- }
-
- public void showSourceFeedback(Request request)
- {
- eraseChangeBoundsFeedback(null);
-
- if (dragAndDropCommand != null && dragAndDropCommand.canExecute()) {
- if (REQ_MOVE.equals(request.getType()) || REQ_ADD.equals(request.getType())) {
- showMoveChangeBoundsFeedback((ChangeBoundsRequest) request);
- }
-// else if (REQ_CLONE.equals(request.getType())) {
-// showCopyChangeBoundsFeedback((ChangeBoundsRequest) request);
-// }
- }
- }
-
- /**
- * Erase feedback indicating that the receiver object is
- * being dragged. This method is called when a drag is
- * completed or cancelled on the receiver object.
- * @param dragTracker org.eclipse.gef.tools.DragTracker The drag tracker of the tool performing the drag.
- */
- public void eraseSourceFeedback(Request request)
- {
- if (REQ_MOVE.equals(request.getType()) || REQ_ADD.equals(request.getType()))
- {
- eraseChangeBoundsFeedback((ChangeBoundsRequest)request);
- }
- }
-
- /**
- * Erase feedback indicating that the receiver object is
- * being dragged. This method is called when a drag is
- * completed or cancelled on the receiver object.
- * @param dragTracker org.eclipse.gef.tools.DragTracker The drag tracker of the tool performing the drag.
- */
- protected void eraseChangeBoundsFeedback(ChangeBoundsRequest request)
- {
- if (feedback != null)
- {
- removeFeedback(feedback);
- }
- feedback = null;
- }
-
- protected void showMoveChangeBoundsFeedback(ChangeBoundsRequest request)
- {
- if (dragAndDropCommand != null && dragAndDropCommand.getFeedbackFigure() != null) {
- feedback = dragAndDropCommand.getFeedbackFigure();
- addFeedback(feedback);
- }
- }
-
- protected void hideSelection() {
- if (getHost() instanceof IFeedbackHandler) {
- ((IFeedbackHandler) getHost()).removeFeedback();
- }
- }
-
- protected void showSelection() {
- if (getHost() instanceof IFeedbackHandler) {
- ((IFeedbackHandler) getHost()).addFeedback();
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/BoxComponentFigure.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/BoxComponentFigure.java
deleted file mode 100644
index 43dbc265c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/BoxComponentFigure.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.figures;
-
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.ToolbarLayout;
-
-public class BoxComponentFigure extends Figure
-{
- public HeadingFigure headingFigure;
- Figure contentPane;
- protected boolean isSelected = false;
- protected boolean isReadOnly = false;
-
- public void setSelected(boolean isSelected)
- {
- headingFigure.setSelected(isSelected);
- }
-
- public void setIsReadOnly(boolean isReadOnly)
- {
- this.isReadOnly = isReadOnly;
- }
-
- public BoxComponentFigure()
- {
- super();
- headingFigure = new HeadingFigure();
- add(headingFigure);
- contentPane = new ListFigure();
- contentPane.setLayoutManager(new ToolbarLayout());
- add(contentPane);
- }
-
- public Figure getContentPane()
- {
- return contentPane;
- }
-
- public Label getLabel()
- {
- return headingFigure.getLabel();
- }
-
- public Figure getHeadingFigure()
- {
- return headingFigure;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ComponentReferenceConnection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ComponentReferenceConnection.java
deleted file mode 100644
index 22602a73e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ComponentReferenceConnection.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.figures;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.ConnectionRouter;
-import org.eclipse.draw2d.PolygonDecoration;
-import org.eclipse.draw2d.PolylineConnection;
-import org.eclipse.swt.graphics.Color;
-
-public class ComponentReferenceConnection extends PolylineConnection
-{
- protected boolean highlight = false;
- protected static final Color activeConnection = ColorConstants.black;
- protected static final Color inactiveConnection = new Color(null, 198, 195, 198);
-
- /**
- * Default constructor
- */
- public ComponentReferenceConnection()
- {
- super();
- setTargetDecoration(new PolygonDecoration());
- }
-
- public void setConnectionRouter(ConnectionRouter cr)
- {
- if (cr != null && getConnectionRouter() != null)// TODO:.... && !(getConnectionRouter() instanceof BOManhattanConnectionRouter))
- super.setConnectionRouter(cr);
- }
-
- /**
- * @return Returns the current highlight status.
- */
- public boolean isHighlighted()
- {
- return highlight;
- }
-
- /**
- * @param highlight
- * The highlight to set.
- */
- public void setHighlight(boolean highlight)
- {
- this.highlight = highlight;
- setForegroundColor(highlight ? activeConnection : inactiveConnection);
- setOpaque(highlight);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/HeadingFigure.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/HeadingFigure.java
deleted file mode 100644
index 7dd5ba690..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/HeadingFigure.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.figures;
-
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.MarginBorder;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.swt.graphics.Color;
-
-public class HeadingFigure extends Figure
-{
- public static final Color headerColor = new Color(null, 224, 233, 246);
- Label label;
- protected Color[] gradientColor = {ColorConstants.white,
- ColorConstants.lightGray,
- ColorConstants.lightBlue,
- ColorConstants.gray};
- protected boolean isSelected = false;
- protected boolean isReadOnly = false;
-
- public HeadingFigure()
- {
- label = new Label();
- label.setBorder(new MarginBorder(2));
- ToolbarLayout toolbarLayout = new ToolbarLayout(false);
- toolbarLayout.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);
- setLayoutManager(toolbarLayout);
- add(label);
- }
-
- public void setSelected(boolean isSelected)
- {
- this.isSelected = isSelected;
- }
-
- public void setIsReadOnly(boolean isReadOnly)
- {
- this.isReadOnly = isReadOnly;
- }
-
- public void paint(Graphics graphics)
- {
- super.paint(graphics);
-// Color oldForeground = graphics.getForegroundColor();
- // Fill for the header section
- //
- Rectangle r = getBounds().getCopy();
- graphics.setBackgroundColor(ColorConstants.lightGray);
- //graphics.fillRectangle(r.x+1, r.y+1, r.width-1, barYcoordinate - r.y - 1);
- Color gradient1 = isReadOnly ? gradientColor[1] : headerColor;
- if (isSelected && isReadOnly) gradient1 = gradientColor[3];
- else if (isSelected && !isReadOnly) gradient1 = gradientColor[2];
- Color gradient2 = gradientColor[0];
- graphics.setForegroundColor(gradient1);
- graphics.setBackgroundColor(gradient2);
- Rectangle labelBounds = label.getBounds();
- graphics.fillGradient(r.x+1, r.y+1, r.width-2, labelBounds.height , true);
- graphics.setForegroundColor(ColorConstants.darkGray);
- label.paint(graphics);
- graphics.setForegroundColor(isSelected ? gradientColor[1] : gradientColor[3]);
- //graphics.drawLine(r.x+1, r.y + 15, r.x + r.width, r.y + 15);
- //graphics.drawLine(r.x+1, r.y + labelBounds.height, r.x + r.width, r.y + labelBounds.height);
- }
-
- public Label getLabel()
- {
- return label;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/LinkIconFigure.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/LinkIconFigure.java
deleted file mode 100644
index 8107a381f..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/LinkIconFigure.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.figures;
-
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.Polygon;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.PointList;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-
-public class LinkIconFigure extends Polygon {
- private AbstractGraphicalEditPart editPart;
- private Point figLocation;
- private PointList points = new PointList();
- public int horizontalBuffer = 5;
- public int verticalBuffer = 7;
-
- public LinkIconFigure(AbstractGraphicalEditPart ep) {
- editPart = ep;
-
- // Draw the arrow
- points.addPoint(new Point(horizontalBuffer + 0, 4 + verticalBuffer));
- points.addPoint(new Point(horizontalBuffer + 9, 4 + verticalBuffer));
- points.addPoint(new Point(horizontalBuffer + 9, 0 + verticalBuffer));
- points.addPoint(new Point(horizontalBuffer + 14, 5 + verticalBuffer));
- points.addPoint(new Point(horizontalBuffer + 9, 10 + verticalBuffer));
- points.addPoint(new Point(horizontalBuffer + 9, 6 + verticalBuffer));
- points.addPoint(new Point(horizontalBuffer + 0, 6 + verticalBuffer));
- points.addPoint(new Point(horizontalBuffer + 0, 4 + verticalBuffer));
-
- setFill(true);
- setPoints(points);
- }
-
- public void paintFigure(Graphics graphics) {
- super.paintFigure(graphics);
- }
-
- public void setFigureLocation(Point newStartingLocation) {
- int dy = newStartingLocation.y;
-
- if (figLocation != null) {
- dy = newStartingLocation.y - figLocation.y;
- }
-
- // Update the points
- PointList newPoints = new PointList();
- PointList pList = getPoints();
- for (int index = 0; index < pList.size(); index++) {
- Point point = pList.getPoint(index);
- // Add 5 for the padding
- Point newPoint = new Point(point.x + horizontalBuffer, point.y + dy);
- newPoints.addPoint(newPoint);
- }
- setPoints(newPoints);
-
- figLocation = newStartingLocation;
- }
-
- public void primTranslate(int dx, int dy) {
- bounds.x += dx;
- bounds.y += dy;
-
- PointList pList = getPoints();
- PointList newList = new PointList();
- for (int index = 0; index < pList.size(); index++) {
- Point point = pList.getPoint(index);
- Point newPoint = new Point(point.x + dx, point.y);
- newList.addPoint(newPoint);
- }
- setPoints(newList);
-
- if (useLocalCoordinates()) {
- fireCoordinateSystemChanged();
- return;
- }
- }
-
- public AbstractGraphicalEditPart getAssociatedEditPart() {
- return editPart;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ListFigure.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ListFigure.java
deleted file mode 100644
index 028563aca..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ListFigure.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.figures;
-
-import java.util.Iterator;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.geometry.Rectangle;
-
-public class ListFigure extends Figure
-{
- boolean isOpaque = false;
- boolean isHorizontal = false;
- boolean paintFirstLine = true;
-
- public ListFigure(boolean isHorizontal)
- {
- this.isHorizontal = isHorizontal;
- }
-
- public ListFigure()
- {
- this(false);
- }
-
- public void paint(Graphics graphics)
- {
- super.paint(graphics);
- boolean isFirst = true;
- for (Iterator i = getChildren().iterator(); i.hasNext();)
- {
- Figure figure = (Figure) i.next();
- if (isFirst && !paintFirstLine)
- {
- isFirst = false;
- }
- else
- {
- Rectangle r = figure.getBounds();
- if (isHorizontal)
- {
- graphics.drawLine(r.x, r.y, r.x, r.y + r.height);
- }
- else
- {
- graphics.drawLine(r.x, r.y, r.x + r.width, r.y);
- }
- }
- }
- }
-
- public boolean isOpaque()
- {
- return isOpaque;
- }
-
- public void setOpaque(boolean isOpaque)
- {
- this.isOpaque = isOpaque;
- }
-
- public boolean isPaintFirstLine()
- {
- return paintFirstLine;
- }
-
- public void setPaintFirstLine(boolean paintFirstLine)
- {
- this.paintFirstLine = paintFirstLine;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingColumnLayout.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingColumnLayout.java
deleted file mode 100644
index b60ac7972..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingColumnLayout.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.layouts;
-
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.draw2d.AbstractLayout;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.BindingEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-
-public class BindingColumnLayout extends AbstractLayout
-{
- EditPart bindingColumnEditPart;
-
- public BindingColumnLayout(EditPart bindingColumnEditPart)
- {
- super();
- this.bindingColumnEditPart = bindingColumnEditPart;
- }
-
- protected Dimension calculatePreferredSize(IFigure container, int wHint, int hHint)
- {
- Rectangle clientArea = container.getClientArea();
- Dimension d = calculateChildrenSize(container.getChildren(), wHint, hHint);
- d.height = Math.max(d.height, clientArea.height);
- return d;
- }
-
- private Dimension calculateChildrenSize(List children, int wHint, int hHint)
- {
- Dimension childSize;
- IFigure child;
- int height = 0, width = 0;
- for (int i = 0; i < children.size(); i++)
- {
- child = (IFigure) children.get(i);
- childSize = child.getPreferredSize(wHint, hHint);
- height += childSize.height;
- height += 80;
- width = Math.max(width, childSize.width);
- }
- return new Dimension(Math.max(width, 150), height);
- }
-
- public void layout(IFigure container)
- {
- //System.out.println("BindingColumnLayout.layout()" + container.getChildren().size());
- Rectangle clientArea = container.getClientArea();
- Rectangle r = new Rectangle();
- r.x = clientArea.x + 50;
- r.y = clientArea.y;
- int used = 0;
-
- for (Iterator i = container.getChildren().iterator(); i.hasNext();)
- {
- Figure child = (Figure) i.next();
- Dimension d = child.getPreferredSize(-1, -1);
- r.width = d.width;
- r.height = d.height;
-
- child.setBounds(r);
- used += 30;
- used += r.height;
-
- IFigure intefaceFigure = getInterfaceFigureForExpandedEditPartFigure(child);
- if (intefaceFigure != null)
- {
- Rectangle b = intefaceFigure.getBounds();
- int width = 30;
- child.setBounds(new Rectangle(b.x - width, b.y, width, b.height));
- }
-
- r.y += d.height;
- r.y += 80;
- }
- }
-
- public void setExpanded(BindingEditPart bindingEditPart, boolean isExpanded)
- {
- // First run through all of the bindings are are expanded
- // to ensure at most one binding is expanded for each interface since
- // we may need to collapse a binding in order to expand this one.
- //
- IInterface interfaze = getInterface(bindingEditPart);
- if (interfaze != null)
- {
- bindingEditPart.setExpanded(isExpanded);
- if (isExpanded)
- {
- for (Iterator i = bindingColumnEditPart.getChildren().iterator(); i.hasNext(); )
- {
- BindingEditPart otherBindingEditPart = (BindingEditPart)i.next();
- if (otherBindingEditPart != bindingEditPart &&
- interfaze == getInterface(otherBindingEditPart))
- {
- otherBindingEditPart.setExpanded(false);
- }
- }
- }
- }
- }
-
- private IFigure getInterfaceFigureForExpandedEditPartFigure(Figure editPartFigure)
- {
- for (Iterator i = bindingColumnEditPart.getChildren().iterator(); i.hasNext(); )
- {
- BindingEditPart bindingEditPart = (BindingEditPart)i.next();
- if (bindingEditPart.isExpanded() && bindingEditPart.getFigure() == editPartFigure)
- {
- AbstractGraphicalEditPart interfaceEditPart = getMatchingEditPart(getInterface(bindingEditPart));
- if (interfaceEditPart != null)
- {
- return interfaceEditPart.getFigure();
- }
- }
- }
- return null;
- }
-
- private IInterface getInterface(BindingEditPart editPart)
- {
- IBinding binding = (IBinding)editPart.getModel();
- return binding.getInterface();
- }
-
- private AbstractGraphicalEditPart getMatchingEditPart(IInterface interfaze)
- {
- return(AbstractGraphicalEditPart)bindingColumnEditPart.getViewer().getEditPartRegistry().get(interfaze);
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingContentLayout.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingContentLayout.java
deleted file mode 100644
index 201b38af8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingContentLayout.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.layouts;
-
-import java.util.Iterator;
-
-import org.eclipse.draw2d.AbstractLayout;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.BindingEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.INamedEditPart;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.BindingContentPlaceHolder;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingOperation;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
-
-/**
- * This class is used to layout the contents of the binding 'ruler' displayed
- * to the left side of an interface. The contents are aligned with the interface
- * figures so that correspoding binding and interface constructs are side by side.
- */
-public class BindingContentLayout extends AbstractLayout
-{
- BindingEditPart bindingEditPart;
-
- public BindingContentLayout(BindingEditPart bindingEditPart)
- {
- this.bindingEditPart = bindingEditPart;
- }
-
- protected Dimension calculatePreferredSize(IFigure container, int wHint, int hHint)
- {
- if (bindingEditPart.isExpanded())
- {
- Rectangle clientArea = container.getClientArea();
- return new Dimension(clientArea.width, clientArea.height);
- }
- else
- {
- return new Dimension(0,0);
- }
- }
-
- public void layout(IFigure container)
- {
- Rectangle clientArea = container.getClientArea();
- for (Iterator i = bindingEditPart.getChildren().iterator(); i.hasNext();)
- {
- AbstractGraphicalEditPart childEditPart = (AbstractGraphicalEditPart) i.next();
- AbstractGraphicalEditPart correspondingEditPart = null;
- Object model = childEditPart.getModel();
- if (model instanceof IBindingOperation)
- {
- IOperation operation = ((IBindingOperation)model).getOperation();
- correspondingEditPart = getEditPart(operation);
- }
- else if (model instanceof IBindingMessageReference)
- {
- IMessageReference messageReference = ((IBindingMessageReference)model).getMessageReference();
- correspondingEditPart = getEditPart(messageReference);
- }
- else if (model instanceof BindingContentPlaceHolder) {
- Object correspondingModel = ((BindingContentPlaceHolder) model).getModel();
- correspondingEditPart = getEditPart(correspondingModel);
- }
-
- if (correspondingEditPart != null)
- {
- IFigure figure = correspondingEditPart.getFigure();
- if (correspondingEditPart instanceof INamedEditPart)
- {
- figure = ((INamedEditPart)correspondingEditPart).getLabelFigure();
- }
- Rectangle bounds = figure.getBounds();
- Rectangle newBounds = new Rectangle(clientArea.x, bounds.y, clientArea.width, bounds.height);
- childEditPart.getFigure().setBounds(newBounds);
- }
- }
- }
-
- protected AbstractGraphicalEditPart getEditPart(Object model)
- {
- if (model != null)
- {
- EditPart editPart = (EditPart)bindingEditPart.getViewer().getEditPartRegistry().get(model);
- if (editPart instanceof AbstractGraphicalEditPart)
- {
- return (AbstractGraphicalEditPart)editPart;
- }
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingLayout.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingLayout.java
deleted file mode 100644
index 2748e448c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingLayout.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.layouts;
-
-import java.util.List;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.ToolbarLayout;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.BindingEditPart;
-
-// just a toolbar layout with a minor tweak to ensure the last figure fills
-// the entire available space
-public class BindingLayout extends ToolbarLayout
-{
- BindingEditPart editPart;
-
- public BindingLayout(BindingEditPart editPart)
- {
- this.editPart = editPart;
- }
-
- protected Dimension calculatePreferredSize(IFigure container, int wHint, int hHint)
- {
- Dimension d = super.calculatePreferredSize(container, wHint, hHint);
- //Rectangle clientArea = container.getClientArea();
- //d.width = Math.max(d.width, clientArea.width);
- //d.height = Math.max(d.height, clientArea.height);
- return d;
- }
-
- public void layout(IFigure container)
- {
- super.layout(container);
- if (editPart.isExpanded())
- {
- Rectangle clientArea = container.getClientArea();
- List children = container.getChildren();
- if (children.size() > 1)
- {
- Figure header = (Figure)children.get(0);
- Figure contentPane = (Figure)children.get(children.size() - 1);
- if (contentPane.getChildren().size() > 0)
- {
- Rectangle bounds = contentPane.getBounds();
- bounds.height = clientArea.height - header.getBounds().height;
- }
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/ColumnData.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/ColumnData.java
deleted file mode 100644
index d2a5887aa..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/ColumnData.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.layouts;
-
-import java.util.HashMap;
-import java.util.Iterator;
-
-public class ColumnData
-{
- HashMap map = new HashMap();
-
- class Entry
- {
- int width = 0;
- int weight = 1;
- }
-
- public void clearColumnWidths()
- {
- for (Iterator i = map.values().iterator(); i.hasNext();)
- {
- Entry entry = (Entry)i.next();
- entry.width = 0;
- }
- }
-
- private Entry lookupOrCreateColumnEntry(String identifier)
- {
- Entry entry = (Entry)map.get(identifier);
- if (entry == null)
- {
- entry = new Entry();
- map.put(identifier, entry);
- }
- return entry;
- }
-
- void stretchColumnWidthIfNeeded(String identifier, int width)
- {
- Entry entry = lookupOrCreateColumnEntry(identifier);
- entry.width = Math.max(entry.width, width);
- }
-
- int getColumnWidth(String identifier)
- {
- Entry entry = (Entry)map.get(identifier);
- if (entry != null)
- {
- return entry.width;
- }
- else
- {
- return 0;//hmm should we return -1 ?
- }
- }
-
- int getColumnWeight(String identifier)
- {
- Entry entry = (Entry)map.get(identifier);
- if (entry != null)
- {
- return entry.weight;
- }
- else
- {
- return 0;
- }
- }
-
- public void setColumnWeight(String identifier, int weight)
- {
- Entry entry = lookupOrCreateColumnEntry(identifier);
- entry.weight = weight;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/RowLayout.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/RowLayout.java
deleted file mode 100644
index 14c7409c2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/RowLayout.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.design.layouts;
-
-import java.util.HashMap;
-import java.util.List;
-import org.eclipse.draw2d.AbstractLayout;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Rectangle;
-
-public class RowLayout extends AbstractLayout
-{
- // layout is associated with a parent context
- // any layout manager under the parent context is connected
- // column rows are maintained accross container boundaries
- protected ColumnData columnData;
- protected HashMap figureToContstraintMap = new HashMap();
-
- public RowLayout()
- {
- super();
- }
-
-
- // this method computes the minimum size required to display the figures
- //
- private Dimension calculateChildrenSize(IFigure container, List children, int wHint, int hHint, boolean preferred)
- {
- Dimension childSize;
- IFigure child;
- int height = 0;
- int width = 0;
-
- //IRowFigure figure = (IRowFigure)container;
-
- // for each cell in the row
- //
- for (int i = 0; i < children.size(); i++)
- {
- child = (IFigure) children.get(i);
- String columnIdenifier = (String)getConstraint(child);
-
- // first we compute the child size without regard for columnData
- //
- childSize = child.getPreferredSize(wHint, hHint);// : child.getMinimumSize(wHint, hHint);
-
- // now that the columnData has been populated we can consider if the row needs to be larger
- //
- int effectiveWidth = childSize.width;
- if (columnIdenifier != null)
- {
- columnData.stretchColumnWidthIfNeeded(columnIdenifier, childSize.width);
- effectiveWidth = columnData.getColumnWidth(columnIdenifier);
- }
- height = Math.max(childSize.height, height);
- width += effectiveWidth;
- }
- return new Dimension(width, height);
- }
-
-
-
- protected Dimension calculatePreferredSize(IFigure container, int wHint, int hHint)
- {
- List children = container.getChildren();
- Dimension prefSize = calculateChildrenSize(container, children, wHint, hHint, true);
- //System.out.println("preferredSize=" + prefSize);
- return prefSize;
- }
-
- public void layout(IFigure parent)
- {
- // layout a table with the columns aligned
- //IRowFigure rowFigure = (IRowFigure)parent;
- Rectangle clientArea = parent.getClientArea();
- List children = parent.getChildren();
- Rectangle r = new Rectangle();
- r.x = clientArea.x;
- r.y = clientArea.y;
- r.height = clientArea.height;
-
- int childrenSize = children.size();
- Rectangle[] bounds = new Rectangle[childrenSize];
-
- // for each cell in the row
- //
- int requiredWidth = 0;
- int totalColumnWeight = 0;
- for (int i = 0; i < childrenSize; i++)
- {
- IFigure child = (IFigure) children.get(i);
- //String columnIdenifier = figure.getColumnIdentifier(child);
- // first we compute the child size without regard for columnData
- //
- Dimension childSize = child.getPreferredSize(-1, -1);
-
- int columnWidth = -1;
- //String columnIdentifier = rowFigure.getColumnIdentifier(child);
- String columnIdentifier = (String)getConstraint(child);
- if (columnIdentifier != null)
- {
- //columnData.stretchColumnWidthIfNeeded(columnIdentifier, childSize.width);
- columnWidth = columnData.getColumnWidth(columnIdentifier);
- totalColumnWeight += columnData.getColumnWeight(columnIdentifier);
- //System.out.println("columnWidth(" + columnIdentifier + ")=" + columnWidth);
- }
- r.width = Math.max(childSize.width, columnWidth);
- requiredWidth += r.width;
- bounds[i] = new Rectangle(r);
- r.x += r.width;
- }
- if (totalColumnWeight < 1)
- {
- totalColumnWeight = 1;
- }
- //System.out.println("clientArea.width=" + clientArea.width + ", " + r.x);
- int extraWidth = Math.max(clientArea.width - requiredWidth, 0);
- //System.out.println("extraWidth=" + extraWidth + " totalColumnWeight=" + totalColumnWeight);
- int extraWidthAllocated = 0;
- for (int i = 0; i < childrenSize; i++)
- {
- IFigure child = (IFigure) children.get(i);
- Rectangle b = bounds[i];
- if (extraWidth > 0)
- {
- String columnIdentifier = (String)getConstraint(child);
- if (columnIdentifier != null)
- {
- int weight = columnData.getColumnWeight(columnIdentifier);
- float fraction = (float)weight / (float)totalColumnWeight;
- int extraWidthForChild = (int)(extraWidth * fraction);
- //System.out.println("extraWidthForChild(" + fraction + ")=" + extraWidthForChild);
- b.width += extraWidthForChild;
- b.x += extraWidthAllocated;
- extraWidthAllocated += extraWidthForChild;
- }
- else
- {
- b.x += extraWidthAllocated;
- }
- }
- child.setBounds(new Rectangle(b));
- }
- }
-
- public ColumnData getColumnData()
- {
- return columnData;
- }
-
- public void setColumnData(ColumnData columnData)
- {
- this.columnData = columnData;
- }
-
- public Object getConstraint(IFigure child)
- {
- return figureToContstraintMap.get(child);
- }
-
- public void setConstraint(IFigure child, Object constraint)
- {
- figureToContstraintMap.put(child, constraint);
- }
-
- public void invalidate()
- {
- //figureToContstraintMap.clear();
- //this.columnData.clearColumnWidths();
- super.invalidate();
- //System.out.println("invalidate");
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObject.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObject.java
deleted file mode 100644
index 8d0b3d845..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObject.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-
-public interface IASDObject
-{
- public void registerListener(IASDObjectListener listener);
- public void unregisterListener(IASDObjectListener listener);
-
- public boolean isReadOnly();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObjectListener.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObjectListener.java
deleted file mode 100644
index 9428c38b9..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObjectListener.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-public interface IASDObjectListener {
- public void propertyChanged(Object object, String property);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBinding.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBinding.java
deleted file mode 100644
index 444b9cca3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBinding.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-
-public interface IBinding extends INamedObject
-{
- public IInterface getInterface();
- public List getBindingOperations();
- public List getBindingContentList();
- public List getExtensiblityObjects();
- public String getProtocol();
- public IDescription getOwnerDescription();
-
- public Command getSetInterfaceCommand(IInterface newInterface);
- public Command getGenerateBindingCommand();
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingMessageReference.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingMessageReference.java
deleted file mode 100644
index 60bc967a3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingMessageReference.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-public interface IBindingMessageReference extends INamedObject
-{
- public IMessageReference getMessageReference();
- public List getExtensiblityObjects();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingOperation.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingOperation.java
deleted file mode 100644
index 4d8b99d74..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingOperation.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-public interface IBindingOperation extends INamedObject
-{
- public IOperation getOperation();
- public List getBindingMessages();
- public List getExtensiblityObjects();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IDescription.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IDescription.java
deleted file mode 100644
index fdf7c54e1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IDescription.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-
-
-public interface IDescription extends INamedObject
-{
- public String getTargetNamespace();
- public String getTargetNamespacePrefix();
-// public List getNamespacesInfo(); // TODO: Add this method in the future
-
- public List getImports();
- public List getTypes();
- public List getServices();
- public List getBindings();
- public List getInterfaces();
- public List getMessages();
-
- public Command getAddImportCommand();
- public Command getAddSchemaCommand();
- public Command getAddServiceCommand();
- public Command getAddBindingCommand();
- public Command getAddInterfaceCommand();
- public Command getAddMessageCommand();
-// public Command getEditNamespacesCommand(); // TODO: Add this method in the future
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IEndPoint.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IEndPoint.java
deleted file mode 100644
index a2efcd306..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IEndPoint.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import org.eclipse.gef.commands.Command;
-
-public interface IEndPoint extends INamedObject
-{
- public IService getOwnerService();
- public String getAddress();
- public IBinding getBinding();
-
- public Command getSetBindingCommand(IBinding binding);
- public Command getSetAddressCommand(String newAddress);
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IImport.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IImport.java
deleted file mode 100644
index a66910c1b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IImport.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import org.eclipse.gef.commands.Command;
-
-public interface IImport extends INamedObject {
- public String getNamespace();
- public String getNamespacePrefix();
- public String getLocation();
-
- public IDescription getOwnerDescription();
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IInterface.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IInterface.java
deleted file mode 100644
index a9c60a46c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IInterface.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-
-public interface IInterface extends INamedObject {
- public List getOperations();
-
- public Command getAddOperationCommand();
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessage.java
deleted file mode 100644
index 5c5544b05..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessage.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-
-public interface IMessage extends INamedObject {
- public List getParts();
-
- public IDescription getOwnerDescription();
-
- public Command getAddPartCommand();
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessageReference.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessageReference.java
deleted file mode 100644
index e09c76407..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessageReference.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-
-// this is a simplification of an input, output or fault object
-// (or any other kind of object future specs might cook up)
-public interface IMessageReference extends INamedObject
-{
- public final static int KIND_INPUT = 1;
- public final static int KIND_OUTPUT = 2;
- public final static int KIND_FAULT = 3;
-
- public int getKind();
- public List getParameters();
- public IOperation getOwnerOperation();
- public String getPreview();
-
- public Command getReorderParametersCommand(IParameter leftSibling, IParameter rightSibling, IParameter movingParameter);
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/INamedObject.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/INamedObject.java
deleted file mode 100644
index 1a3c420a2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/INamedObject.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
-
-public interface INamedObject extends IASDObject, ITreeElement
-{
- public String getName();
-
- public Command getSetNameCommand(String newName);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IOperation.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IOperation.java
deleted file mode 100644
index 0262b1aa1..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IOperation.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-
-public interface IOperation extends INamedObject
-{
- public List getMessages();
- public IInterface getOwnerInterface();
-
- public Command getAddInputCommand();
- public Command getAddOutputCommand();
- // TODO: rmah: We need to revisit this (Sending in an existing FaultImpl when we want to
- // add a Fault Parameter. What do we really want to do when we add a
- // 'new Fault'.... This also relates to what we really want to do when we delete a Fault...
- public Command getAddFaultCommand(Object fault);
- public Command getReorderMessageReferencesCommand(IMessageReference leftSibling, IMessageReference rightSibling, IMessageReference movingMessageRef);
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IParameter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IParameter.java
deleted file mode 100644
index dd8ef13ff..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IParameter.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import org.eclipse.gef.commands.Command;
-
-
-// this class is used to describe in simplified descritpion of the input/output/fault structure
-// in the familiar style of a typical programming language parameter e.g. "String[] foo"
-//
-// often this class represents a simplification of a more complex service description or schema
-// this class serves common denominator to drive a simple view of an operation's message structure
-// implementation specific editors can choose to provide 'advanced' views that delve into addition details
-// of a Message structure
-public interface IParameter extends INamedObject
-{
- public Object getOwner();
-// String getKind();
- public String getComponentName();
- public String getComponentNameQualifier();
- public String getPreview();
- //? int getMinOccurs();
- //? int getMaxOccurs();
-
- // TODO: rmah: Do these strings belong here???
- public static final String SET_NEW_ACTION_ID = "SetTypeAction_AddType"; //$NON-NLS-1$
- public static final String SELECT_EXISTING_ACTION_ID = "SetTypeAction_ExistingType"; //$NON-NLS-1$
-
- public Command getSetTypeCommand(String actionId);
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IService.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IService.java
deleted file mode 100644
index 108d095be..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IService.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-import java.util.List;
-import org.eclipse.gef.commands.Command;
-
-public interface IService extends INamedObject
-{
- public List getEndPoints();
- public IDescription getOwnerDescription();
- public Command getAddEndPointCommand();
- public Command getDeleteCommand();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IType.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IType.java
deleted file mode 100644
index 033e3026d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IType.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.facade;
-
-public interface IType extends INamedObject {
- public IDescription getOwnerDescription();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/messages.properties b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/messages.properties
deleted file mode 100644
index a2b5e8bcd..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/messages.properties
+++ /dev/null
@@ -1,50 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-###############################################################################
-_UI_TAB_GRAPH=Design
-_UI_TAB_SOURCE=Source
-_UI_BUTTON_NEW=New...
-_UI_LABEL_READ_ONLY=read-only
-_UI_LABEL_NAMESPACE=Namespace
-_UI_LABEL_PORTTYPE=PortType
-_UI_LABEL_LOCATION=Location
-_UI_LABEL_ADDRESS=Address
-_UI_LABEL_BINDING=Binding
-_UI_LABEL_PREFIX=Prefix
-_UI_LABEL_NAME=Name
-_UI_LABEL_TYPE=Type
-_UI_ACTION_ADD_SERVICE=Add Service
-_UI_ACTION_ADD_MESSAGE=Add Message
-_UI_ACTION_ADD_OPERATION=Add Operation
-_UI_ACTION_ADD_IMPORT=Add Import
-_UI_ACTION_ADD_OUTPUT=Add Output
-_UI_ACTION_ADD_FAULT=Add Fault
-_UI_ACTION_ADD_PORT=Add Port
-_UI_ACTION_ADD_PORTTYPE=Add PortType
-_UI_ACTION_DELETE=Delete
-_UI_BUTTON_BROWSE=Browse...
-_UI_ACTION_NEW_PORTTYPE=New PortType...
-_UI_ACTION_NEW_BINDING=New Binding...
-_UI_ACTION_EXISTING_PORTTYPE=Existing PortType...
-_UI_GENERATE_BINDING_CONTENT=Generate Binding Content...
-_UI_ACTION_EXISTING_BINDING=Existing Binding...
-_UI_LABEL_BINDING_PROTOCOL=Protocol
-_UI_LABEL_TARGET_NAMESPACE=Target namespace
-_UI_ACTION_ADD_BINDING=Add Binding
-_UI_ACTION_ADD_SCHEMA=Add Schema
-_UI_ACTION_ADD_INPUT=Add Input
-_UI_SECTION_ADVANCED_ATTRIBUTES=Advanced
-
-_UI_ACTION_EDIT_NAMESPACES = Edit Namespaces...
-_UI_ACTION_OPEN_SCHEMA=Open Schema
-_UI_TOOLTIP_RENAME_REFACTOR=Click here to invoke the Rename refactoring.
-
-_UI_LABEL_RIGHT_CLICK_TO_INSERT_CONTENT=Right mouse click here to insert content
-_UI_ACTION_SHOW_PROPERTIES=Show properties
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlinePage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlinePage.java
deleted file mode 100644
index 91dfab8c8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlinePage.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.outline;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.jface.action.IMenuListener;
-import org.eclipse.jface.action.MenuManager;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Menu;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.contentoutline.ContentOutlinePage;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-
-public class ASDContentOutlinePage extends ContentOutlinePage {
- protected ASDMultiPageEditor wsdlEditor;
- protected IDescription model;
- protected ITreeContentProvider contentProvider;
- protected ILabelProvider labelProvider;
- protected IMenuListener menuListener;
-
- public ASDContentOutlinePage(ASDMultiPageEditor editor, IMenuListener menuListener) {
- wsdlEditor = editor;
- this.menuListener = menuListener;
- }
-
- public TreeViewer getTreeViewer() {
- return super.getTreeViewer();
- }
-
- public void setContentProvider(ITreeContentProvider contentProvider) {
- this.contentProvider = contentProvider;
- }
-
- public void setLabelProvider(ILabelProvider labelProvider) {
- this.labelProvider = labelProvider;
- }
-
- public void setModel(IDescription model) {
- this.model = model;
- }
-
- public void createControl(Composite parent) {
- super.createControl(parent);
-
- getTreeViewer().setContentProvider(contentProvider);
- getTreeViewer().setLabelProvider(labelProvider);
- getTreeViewer().setInput(model);
- getTreeViewer().addSelectionChangedListener(this);
-
- MenuManager menuManager = new MenuManager("#popup");//$NON-NLS-1$
- menuManager.setRemoveAllWhenShown(true);
- Menu menu = menuManager.createContextMenu(getTreeViewer().getControl());
- getTreeViewer().getControl().setMenu(menu);
- menuManager.addMenuListener(menuListener);
-
- getSite().registerContextMenu("org.eclipse.wst.wsdl.wsdleditor", menuManager, wsdlEditor.getSelectionManager()); //$NON-NLS-1$
- PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(),ASDEditorCSHelpIds.WSDL_OUTLINE_VIEW);
- }
-
- protected boolean processingSelectionChange = false;
-
- public void selectionChanged(SelectionChangedEvent event) {
- if (!processingSelectionChange) {
- processingSelectionChange = true;
- super.selectionChanged(event);
- Object selection = null;
-
- if (((IStructuredSelection) event.getSelection()).getFirstElement() instanceof EditPart){
- EditPart newEditPart = (EditPart) ((IStructuredSelection) event.getSelection()).getFirstElement();
- selection = newEditPart.getModel();
- }
- else {
- selection = ((IStructuredSelection) event.getSelection()).getFirstElement();
- }
-
- if (selection != null) {
- setSelection(new StructuredSelection(selection));
- }
- processingSelectionChange = false;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlineProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlineProvider.java
deleted file mode 100644
index 5cd930c60..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlineProvider.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.outline;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.INamedObject;
-
-public class ASDContentOutlineProvider implements ITreeContentProvider, ILabelProvider, IASDObjectListener {
- protected Viewer viewer;
-
- /**
- * @deprecated
- */
- protected ASDMultiPageEditor editor;
- protected List listeners = new ArrayList();
-
- /**
- * @deprecated
- */
- protected IDescription description;
-
- public ASDContentOutlineProvider()
- {
- }
-
- public ASDContentOutlineProvider(ASDMultiPageEditor editor, IDescription description) {
- this.editor = editor;
- this.description = description;
- }
-
- public Object[] getChildren(Object parentElement) {
- if (parentElement instanceof ITreeElement) {
- ITreeElement[] kids = ((ITreeElement) parentElement).getChildren();
- for (int index = 0; index < kids.length; index++) {
- attachListener(kids[index]);
- }
-
- return kids;
- }
-
- return new Object[0];
- }
-
- public Object getParent(Object element) {
- if (element instanceof ITreeElement) {
- return ((ITreeElement) element).getParent();
- }
-
- return null;
- }
-
- public boolean hasChildren(Object element) {
- if (getChildren(element).length > 0) {
- return true;
- }
-
- return false;
- }
-
- public Object[] getElements(Object inputElement) {
- return getChildren(inputElement);
- }
-
- public void dispose() {
- unattachAllListeners();
- viewer = null;
- }
-
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
- this.viewer = viewer;
- unattachAllListeners();
- }
-
- public Image getImage(Object element) {
- if (element instanceof ITreeElement) {
- return ((ITreeElement) element).getImage();
- }
-
- return null;
- }
-
- public String getText(Object element) {
- String text = null;
-
- if (element instanceof INamedObject) {
- text = ((INamedObject) element).getName();
- }
- else if (element instanceof ITreeElement) {
- text = ((ITreeElement) element).getText();
- }
- else {
- text = element.toString();
- }
-
- if (text == null) {
- text = ""; //$NON-NLS-1$
- }
-
- return text;
- }
-
- public void addListener(ILabelProviderListener listener) {
-
- }
-
- public boolean isLabelProperty(Object element, String property) {
- return false;
- }
-
- public void removeListener(ILabelProviderListener listener) {
-
- }
-
- protected void attachListener(Object object) {
- if (object instanceof IASDObject && !listeners.contains(object)) {
- ((IASDObject) object).registerListener(this);
- listeners.add(object);
- }
- }
-
- protected void unattachAllListeners() {
- Iterator it = listeners.iterator();
- while (it.hasNext()) {
- Object item = it.next();
- ((IASDObject) item).unregisterListener(this);
- }
- }
-
- public void propertyChanged(Object object, String property) {
- if (viewer instanceof TreeViewer) {
- TreeViewer treeViewer = (TreeViewer) viewer;
- treeViewer.refresh(object);
- treeViewer.reveal(object);
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ICategoryAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ICategoryAdapter.java
deleted file mode 100644
index a03d82983..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ICategoryAdapter.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.outline;
-
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-
-public interface ICategoryAdapter {
- public IDescription getOwnerDescription();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ITreeElement.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ITreeElement.java
deleted file mode 100644
index 194fb5fee..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ITreeElement.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.outline;
-
-import org.eclipse.swt.graphics.Image;
-
-public interface ITreeElement {
- public final static ITreeElement[] EMPTY_LIST = {};
- ITreeElement[] getChildren();
- ITreeElement getParent();
- boolean hasChildren();
- String getText();
- Image getImage();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDAbstractSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDAbstractSection.java
deleted file mode 100644
index 7ebc00953..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDAbstractSection.java
+++ /dev/null
@@ -1,410 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.jface.action.IStatusLineManager;
-import org.eclipse.jface.util.Assert;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.GC;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.part.EditorActionBarContributor;
-import org.eclipse.ui.views.properties.tabbed.ISection;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicsConstants;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
-
-public class ASDAbstractSection implements ISection, IASDObjectListener, Listener, SelectionListener
-{
- private TabbedPropertySheetWidgetFactory factory;
- private Object elementModel;
- protected boolean isReadOnly = false;
- protected Composite composite;
- protected int rightMarginSpace;
- protected int tableMinimumWidth = 50;
- protected CustomListener customListener = new CustomListener();
-
- protected List listeners = new ArrayList();
-
- public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage)
- {
- createControls(parent, tabbedPropertySheetPage.getWidgetFactory());
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.wst.common.ui.properties.internal.provisional.TabbedPropertySheetWidgetFactory)
- */
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory aFactory)
- {
- this.factory = aFactory;
- GC gc = new GC(parent);
- Point extent = gc.textExtent(" ... "); //$NON-NLS-1$
- rightMarginSpace = extent.x;
- gc.dispose();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#setInput(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
- */
- public void setInput(IWorkbenchPart part, ISelection selection)
- {
- Assert.isTrue(selection instanceof IStructuredSelection);
- Object input = ((IStructuredSelection)selection).getFirstElement();
- elementModel = input;
- attachListener(elementModel);
-
- if (input instanceof IASDObject) {
- isReadOnly = ((IASDObject) input).isReadOnly();
- }
-
- refresh();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#aboutToBeShown()
- */
- public void aboutToBeShown()
- {
- refresh();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#aboutToBeHidden()
- */
- public void aboutToBeHidden()
- {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#dispose()
- */
- public void dispose()
- {
- unattachAllListeners();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#getMinimumHeight()
- */
- public int getMinimumHeight()
- {
- return SWT.DEFAULT;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#shouldUseExtraSpace()
- */
- public boolean shouldUseExtraSpace()
- {
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISection#refresh()
- */
- public void refresh()
- {
- if (!composite.isDisposed())
- {
- if (isReadOnly)
- {
- composite.setEnabled(false);
- }
- else
- {
- composite.setEnabled(true);
- }
- }
- }
-
- /**
- * Get the widget factory.
- * @return the widget factory.
- */
- public TabbedPropertySheetWidgetFactory getWidgetFactory() {
- return factory;
- }
-
- public void propertyChanged(Object object, String property)
- {
- refresh();
- }
-
-
- public void doWidgetDefaultSelected(SelectionEvent e)
- {}
-
- public void doWidgetSelected(SelectionEvent e)
- {}
-
- /**
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(SelectionEvent)
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {
- if (isListenerEnabled() && !isInDoHandle)
- {
- isInDoHandle = true;
- doWidgetDefaultSelected(e);
- isInDoHandle = false;
- }
-
- }
-
- /**
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(SelectionEvent)
- */
- public void widgetSelected(SelectionEvent e)
- {
- if (isListenerEnabled() && !isInDoHandle)
- {
- isInDoHandle = true;
- doWidgetSelected(e);
- isInDoHandle = false;
- }
-
- }
-
- boolean listenerEnabled = true;
- /**
- * Get the value of listenerEnabled.
- * @return value of listenerEnabled.
- */
- public boolean isListenerEnabled()
- {
- return listenerEnabled;
- }
-
- public void applyTextListeners(Control control)
- {
- control.addListener(SWT.FocusOut, customListener);
- control.addListener(SWT.KeyDown, customListener);
- }
-
- public void removeListeners(Control control)
- {
- control.removeListener(SWT.FocusOut, customListener);
- control.removeListener(SWT.KeyDown, customListener);
- }
-
- /**
- * Set the value of listenerEnabled.
- * @param v Value to assign to listenerEnabled.
- */
- public void setListenerEnabled(boolean v)
- {
- this.listenerEnabled = v;
- }
-
- public void handleEvent(Event event)
- {
- if (isListenerEnabled() && !isInDoHandle)
- {
- isInDoHandle = true;
-// startDelayedEvent(event);
- doHandleEvent(event);
- isInDoHandle = false;
- } // end of if ()
- }
-
- public void doHandleEvent(Event event)
- {
-
- }
-
- protected DelayedEvent delayedTask;
-
- protected void startDelayedEvent(Event e)
- {
- if (delayedTask == null ||
- delayedTask.getEvent() == null)
- {
- delayedTask = new DelayedEvent();
- delayedTask.setEvent(e);
- Display.getDefault().timerExec(500,delayedTask);
- }
- else
- {
- Event delayedEvent = delayedTask.getEvent();
-
- if (e.widget == delayedEvent.widget &&
- e.type == delayedEvent.type)
- {
- // same event, just different data, delay new event
- delayedTask.setEvent(null);
- }
- delayedTask = new DelayedEvent();
- delayedTask.setEvent(e);
- Display.getDefault().timerExec(500,delayedTask);
- }
- }
-
- class DelayedEvent implements Runnable
- {
- protected Event event;
-
- /*
- * @see Runnable#run()
- */
- public void run()
- {
- if (event != null)
- {
- isInDoHandle = true;
- doHandleEvent(event);
- isInDoHandle = false;
- event = null;
- }
- }
-
- /**
- * Gets the event.
- * @return Returns a Event
- */
- public Event getEvent()
- {
- return event;
- }
-
- /**
- * Sets the event.
- * @param event The event to set
- */
- public void setEvent(Event event)
- {
- this.event = event;
- }
-
- }
-
- class CustomListener implements Listener
- {
- boolean isHandlingEvent = false;
- public void handleEvent(Event event)
- {
- if (isListenerEnabled() && !isReadOnly)
- {
- switch (event.type)
- {
- case SWT.KeyDown :
- {
- if (event.character == SWT.CR)
- {
- if (!isHandlingEvent)
- {
- isHandlingEvent = true;
- doHandleEvent(event);
- isHandlingEvent = false;
- }
- }
- break;
- }
- case SWT.FocusOut :
- {
- if (!isHandlingEvent)
- {
- isHandlingEvent = true;
- doHandleEvent(event);
- isHandlingEvent = false;
- }
- break;
- }
- }
- }
- }
- }
-
- protected boolean isInDoHandle;
- /**
- * Get the value of isInDoHandle.
- * @return value of isInDoHandle.
- */
- public boolean isInDoHandle()
- {
- return isInDoHandle;
- }
-
- static protected IStatusLineManager getStatusLineManager(IEditorPart editorPart)
- {
- IStatusLineManager result = null;
- try
- {
- EditorActionBarContributor contributor = (EditorActionBarContributor)editorPart.getEditorSite().getActionBarContributor();
- result = contributor.getActionBars().getStatusLineManager();
- }
- catch (Exception e)
- {
- }
- return result;
- }
-
- public Object getModel() {
- return elementModel;
- }
-
- protected void attachListener(Object object) {
- if (object instanceof IASDObject && !listeners.contains(object)) {
- ((IASDObject) object).registerListener(this);
- listeners.add(object);
- }
- }
-
- protected void unattachAllListeners() {
- Iterator it = listeners.iterator();
- while (it.hasNext()) {
- Object item = it.next();
- ((IASDObject) item).unregisterListener(this);
- }
- }
-
- protected void setControlForegroundColor(Control control) {
- if (control != null) {
- if (isReadOnly) {
- control.setForeground(DesignViewGraphicsConstants.readOnlyLabelColor);
- }
- else {
- control.setForeground(DesignViewGraphicsConstants.labelColor);
- }
- }
- }
-
- protected void executeCommand(Command command) {
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
-
- if (page.getActiveEditor() != null && page.getActiveEditor().getAdapter(CommandStack.class) != null) {
- CommandStack stack = (CommandStack) page.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
- }
- else {
- command.execute();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDTabbedPropertySheetPage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDTabbedPropertySheetPage.java
deleted file mode 100644
index d1f65d62b..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDTabbedPropertySheetPage.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
-
-public class ASDTabbedPropertySheetPage extends TabbedPropertySheetPage implements ISelectionChangedListener//, IElementListener
-{
- /**
- * @param tabbedPropertySheetPageContributor
- */
- public ASDTabbedPropertySheetPage(ITabbedPropertySheetPageContributor tabbedPropertySheetPageContributor)
- {
- super(tabbedPropertySheetPageContributor);
-// tabContributor = tabbedPropertySheetPageContributor;
- }
-
- public void createControl(Composite parent) {
- super.createControl(parent);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
- */
- public void selectionChanged(SelectionChangedEvent event)
- {
- if (!event.getSelection().isEmpty()) {
- selectionChanged(getSite().getWorkbenchWindow().getActivePage().getActivePart(), event.getSelection());
- //super.selectionChanged(getSite().getWorkbenchWindow().getActivePage().getActivePart(), event.getSelection());
- }
- }
-
- public void dispose() {
- super.dispose();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/BindingSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/BindingSection.java
deleted file mode 100644
index 90d2ff757..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/BindingSection.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CommandStack;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewInterfaceAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-
-public class BindingSection extends ReferenceSection implements SelectionListener {
- protected ComponentReferenceEditManager refManager;
- private CLabel protocolValue;
-// private CLabel optionsValue;
- private Button regenBindingButton;
-
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory) {
- super.createControls(parent, factory);
- comboLabel.setText(org.eclipse.wst.wsdl.ui.internal.asd.Messages._UI_LABEL_PORTTYPE + ":"); //$NON-NLS-1$ //$NON-NLS-2$
-
- CLabel protocolLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_BINDING_PROTOCOL);
- protocolValue= getWidgetFactory().createCLabel(composite, "");
-
- // Layout protocolLabel
- FormData data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(protocolValue, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(protocolValue, 0, SWT.CENTER);
- protocolLabel.setLayoutData(data);
-
- // Layout protocolValue
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(combo, 0);
-// data.top = new FormAttachment(combo, +ITabbedPropertyConstants.VSPACE);
- protocolValue.setLayoutData(data);
-
- /*
- CLabel optionsLabel = getWidgetFactory().createCLabel(composite, Messages.getString("_UI_TITLE_OPTIONS") + ":");
- optionsValue = getWidgetFactory().createCLabel(composite, "");
-
- // Layout optionsLabel
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(optionsValue, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(optionsValue, 0, SWT.CENTER);
- optionsLabel.setLayoutData(data);
-
- // Layout optionsValue
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(protocolValue, -ITabbedPropertyConstants.VSPACE);
-// data.top = new FormAttachment(protocolValue, +ITabbedPropertyConstants.VSPACE);
- optionsValue.setLayoutData(data);
-
- String buttonLabel = org.eclipse.wst.wsdl.ui.internal.asd.Messages.getString("_UI_GENERATE_BINDING_CONTENT");
- regenBindingButton = getWidgetFactory().createButton(composite, buttonLabel, SWT.PUSH);
-
- // Layout button
- data = new FormData();
- data.left = new FormAttachment(0, 0);
-// data.right = new FormAttachment(optionsValue, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(optionsLabel, 0);
- regenBindingButton.setLayoutData(data);
- */
-
- String buttonLabel = org.eclipse.wst.wsdl.ui.internal.asd.Messages._UI_GENERATE_BINDING_CONTENT;
- regenBindingButton = getWidgetFactory().createButton(composite, buttonLabel, SWT.PUSH);
-
- // Layout button
- data = new FormData();
- data.left = new FormAttachment(0, 0);
-// data.right = new FormAttachment(optionsValue, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(protocolLabel, 0);
- regenBindingButton.setLayoutData(data);
-
- regenBindingButton.addSelectionListener(this);
-
- PlatformUI.getWorkbench().getHelpSystem().setHelp(protocolValue, ASDEditorCSHelpIds.PROPERTIES_BINDING_PROTOCOL_TEXT);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(regenBindingButton, ASDEditorCSHelpIds.PROPERTIES_BINDING_GEN_BINDING_BUTTON);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(combo, ASDEditorCSHelpIds.PROPERTIES_BINDING_PORTTYPE_COMBO);
- }
-
- public void refresh() {
- super.refresh();
- IBinding binding = getIBinding();
- String protocol = binding.getProtocol();
- if (protocol == null || protocol.equals("")) {
- protocol = "----";
- }
- protocolValue.setText(protocol);
-
-// optionsValue.setText("");
- }
-
- protected ComponentReferenceEditManager getComponentReferenceEditManager() {
- if (refManager != null) {
- return refManager;
- }
-
- refManager = ReferenceEditManagerHelper.getInterfaceReferenceEditManager((IASDObject) getModel());
-
- return refManager;
- }
-
- protected List getComboItems() {
- ComponentReferenceEditManager manager = getComponentReferenceEditManager();
-
- List items = new ArrayList();
- items.add(BROWSE_STRING);
- items.add(NEW_STRING);
-
- ComponentSpecification[] comboItems = manager.getQuickPicks();
- for (int index = 0; index < comboItems.length; index++) {
- items.add(comboItems[index]);
- }
-
- return items;
- }
-
- protected Object getCurrentComboItem() {
- IBinding binding = getIBinding();
- return binding.getInterface();
- }
-
- protected String getComboItemName(Object item) {
- String name = ""; //$NON-NLS-1$
- if (item instanceof ComponentSpecification) {
- name = ((ComponentSpecification) item).getName();
- }
- else if (item instanceof IInterface) {
- name = ((IInterface) item).getName();
- }
- else if (item instanceof String) {
- name = (String) item;
- }
-
- return name;
- }
-
- protected void performComboSelection(Object item) {
- ComponentSpecification spec = null;
-
- if (item instanceof ComponentSpecification) {
- spec = (ComponentSpecification) item;
- ComponentReferenceEditManager manager = getComponentReferenceEditManager();
- manager.modifyComponentReference((IBinding) getModel(), spec);
- }
- else if (item instanceof String) {
- if (item.equals(BROWSE_STRING)) {
- IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
- ASDSetExistingInterfaceAction action = new ASDSetExistingInterfaceAction(part);
- action.setIBinding((IBinding) getModel());
- action.run();
- }
- else if (item.equals(NEW_STRING)) {
- IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
- ASDSetNewInterfaceAction action = new ASDSetNewInterfaceAction(part);
- action.setIBinding((IBinding) getModel());
- action.run();
- }
- }
-
- refresh();
- }
-
- private IBinding getIBinding() {
- return (IBinding) getModel();
- }
-
- public void widgetSelected(SelectionEvent e) {
- if (e.widget == regenBindingButton) {
- Command command = getIBinding().getGenerateBindingCommand();
- CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
- stack.execute(command);
- }
- }
-
- public void doWidgetSelected(SelectionEvent e) {
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/DocumentationSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/DocumentationSection.java
deleted file mode 100644
index a762c92fc..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/DocumentationSection.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.actions.AddElementAction;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-public class DocumentationSection extends ASDAbstractSection {
- Text docText;
-
- /**
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.wst.common.ui.properties.internal.provisional.TabbedPropertySheetWidgetFactory)
- */
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory)
- {
- super.createControls(parent, factory);
- composite = getWidgetFactory().createFlatFormComposite(parent);
-
- docText = getWidgetFactory().createText(composite, "", SWT.MULTI | SWT.NONE | SWT.H_SCROLL | SWT.V_SCROLL); //$NON-NLS-1$
- docText.addListener(SWT.KeyDown, this);
- FormData data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(100, 0);
- data.top = new FormAttachment(0, 0);
- data.bottom = new FormAttachment(100, 0);
- docText.setLayoutData(data);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(docText, ASDEditorCSHelpIds.PROPERTIES_DOCUMENTATION_TAB);
- }
-
- /*
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.view.ITabbedPropertySection#refresh()
- */
- /*
- * TODO: the doHandleEvent() and refresh() methods both use WSDL11 specific
- * knowledge. This class (DocumentationSection) should be generic. In Post 1.5,
- * we need to add documentation support methods to our facade so we don't need
- * to know WSDL specific implementation.......
- */
- public void refresh()
- {
- super.refresh();
- if (docText.isFocusControl())
- {
- return;
- }
- setListenerEnabled(false);
- docText.setText(""); //$NON-NLS-1$
- if (getModel() != null && getElement() != null)
- {
- Element docNode = getElement().getDocumentationElement();
- if (docNode != null)
- {
- Node textNode = docNode.getFirstChild();
- if (textNode != null)
- {
- String docValue = textNode.getNodeValue();
- if (docValue != null)
- {
- docText.setText(docValue);
- }
- }
- }
- }
- setListenerEnabled(true);
- }
-
- /*
- * TODO: the doHandleEvent() and refresh() methods both use WSDL11 specific
- * knowledge. This class (DocumentationSection) should be generic. In Post 1.5,
- * we need to add documentation support methods to our facade so we don't need
- * to know WSDL specific implementation.......
- */
- public void doHandleEvent(Event event)
- {
- if (event.widget == docText)
- {
- String value = docText.getText();
- if (getModel() != null && getElement() != null)
- {
- Element docNode = getElement().getDocumentationElement();
- if (docNode != null)
- {
- Node textNode = docNode.getFirstChild();
- if (textNode != null)
- {
- textNode.setNodeValue(value);
- }
- else
- {
- if (value.length() > 0)
- {
- Document document = docNode.getOwnerDocument();
- org.w3c.dom.Text newTextNode = document.createTextNode(value);
- docNode.appendChild(newTextNode);
- }
- }
- }
- else
- {
- Element element = getElement().getElement();
- AddElementAction action = new AddElementAction(element, element.getPrefix(), "documentation", element.getFirstChild()); //$NON-NLS-1$
- action.run();
- Element newDocumentation = action.getNewElement();
-
- Document document = newDocumentation.getOwnerDocument();
- org.w3c.dom.Text newTextNode = document.createTextNode(value);
- newDocumentation.appendChild(newTextNode);
- getElement().setDocumentationElement(newDocumentation);
- }
- }
- }
- }
-
- private WSDLElement getElement() {
- WSDLElement element = null;
- Object model = getModel();
-
- if (model instanceof AbstractModelCollection) {
- model = ((AbstractModelCollection) model).getModel();
- }
-
- // TODO: Should we be handling the XML Schema case here as well?
- if (model instanceof WSDLBaseAdapter) {
- Object target = ((WSDLBaseAdapter) model).getTarget();
- if (target instanceof WSDLElement) {
- element = (WSDLElement) target;
- }
- }
-
- return element;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/EndPointSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/EndPointSection.java
deleted file mode 100644
index b88d8ed90..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/EndPointSection.java
+++ /dev/null
@@ -1,235 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11EndPoint;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewBindingAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
-import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
-import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
-
-public class EndPointSection extends ReferenceSection {
- protected Text addressText;
- protected CLabel protocolValueLabel;
-
- protected List bindingsInCombo = new ArrayList();
-
- protected ComponentReferenceEditManager refManager;
-
- /**
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.wst.common.ui.properties.internal.provisional.TabbedPropertySheetWidgetFactory)
- */
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory)
- {
- super.createControls(parent, factory);
- FormData data;
-
- // Address row
- CLabel addressLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_ADDRESS + ":"); //$NON-NLS-1$ //$NON-NLS-2$
- addressText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
-
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(addressText, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(addressText, 0, SWT.CENTER);
- addressLabel.setLayoutData(data);
-
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(combo, +ITabbedPropertyConstants.VSPACE);
- addressText.setLayoutData(data);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(addressText, ASDEditorCSHelpIds.PROPERTIES_PORT_ADDRESS_TEXT);
-
- // Protocol Row
- CLabel protocolLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_BINDING_PROTOCOL + ":"); //$NON-NLS-1$ //$NON-NLS-2$
- protocolValueLabel = getWidgetFactory().createCLabel(composite, "----"); //$NON-NLS-1$
-
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(protocolValueLabel, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(protocolValueLabel, 0, SWT.CENTER);
- protocolLabel.setLayoutData(data);
-
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(addressText, +ITabbedPropertyConstants.VSPACE);
- protocolValueLabel.setLayoutData(data);
- protocolValueLabel.addListener(SWT.Modify, this);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(protocolValueLabel, ASDEditorCSHelpIds.PROPERTIES_PORT_PROTOCOL_TEXT);
-
- comboLabel.setText(Messages._UI_LABEL_BINDING + ":"); //$NON-NLS-1$ //$NON-NLS-2$
-
- PlatformUI.getWorkbench().getHelpSystem().setHelp(combo, ASDEditorCSHelpIds.PROPERTIES_PORT_BINDING_COMBO);
- }
-
- /*
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.view.ITabbedPropertySection#refresh()
- */
- public void refresh() {
- removeListeners(addressText);
-
- super.refresh();
-
- IEndPoint endPoint = (IEndPoint) getModel();
- if (endPoint.getAddress() != null) {
- if (!endPoint.getAddress().equals(addressText.getText())) {
- addressText.setText(endPoint.getAddress());
- }
- }
- // TODO: rmah: We should not know about W11EndPoint. We need to for
- // now to get access to the getProtocol() method. Eventually the
- // getProtocol() method should be defined in the IEndPoint interface
- // post 1.5...
- if (endPoint instanceof W11EndPoint) {
- String protocolValue = ((W11EndPoint) endPoint).getProtocol();
- if (protocolValue.equals("")) { //$NON-NLS-1$
- protocolValue = "----"; //$NON-NLS-1$
- }
- protocolValueLabel.setText(protocolValue);
- }
-
- setControlForegroundColor(addressText);
- setControlForegroundColor(protocolValueLabel);
- applyTextListeners(addressText);
- }
-
- protected ComponentReferenceEditManager getComponentReferenceEditManager() {
- if (refManager != null) {
- return refManager;
- }
-
- refManager = ReferenceEditManagerHelper.getBindingReferenceEditManager((IASDObject) getModel());
-
- return refManager;
- }
-
- protected List getComboItems() {
- ComponentReferenceEditManager manager = getComponentReferenceEditManager();
-
- List items = new ArrayList();
- items.add(BROWSE_STRING);
- items.add(NEW_STRING);
-
- ComponentSpecification[] comboItems = manager.getQuickPicks();
- for (int index = 0; index < comboItems.length; index++) {
- items.add(comboItems[index]);
- }
-
- return items;
- }
-
- protected Object getCurrentComboItem() {
- IEndPoint endPoint = (IEndPoint) getModel();
- return endPoint.getBinding();
- }
-
- protected String getComboItemName(Object item) {
- String name = ""; //$NON-NLS-1$
- if (item instanceof ComponentSpecification) {
- name = ((ComponentSpecification) item).getName();
- }
- else if (item instanceof IBinding) {
- name = ((IBinding) item).getName();
- }
- else if (item instanceof String) {
- name = (String) item;
- }
-
- return name;
- }
-
- protected void performComboSelection(Object item) {
- ComponentSpecification spec = null;
-
- if (item instanceof ComponentSpecification) {
- spec = (ComponentSpecification) item;
- ComponentReferenceEditManager manager = getComponentReferenceEditManager();
- manager.modifyComponentReference((IEndPoint) getModel(), spec);
- }
- else if (item instanceof String) {
- if (item.equals(BROWSE_STRING)) {
- IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
- ASDSetExistingBindingAction action = new ASDSetExistingBindingAction(part);
- action.setIEndPoint((IEndPoint) getModel());
- action.run();
- }
- else if (item.equals(NEW_STRING)) {
- IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
- ASDSetNewBindingAction action = new ASDSetNewBindingAction(part);
- action.setIEndPoint((IEndPoint) getModel());
- action.run();
- }
- }
-
- refresh();
- }
-
- public boolean shouldUseExtraSpace()
- {
- return false;
- }
-
- public void doHandleEvent(Event event)
- {
- if (event.widget == addressText && !addressText.isDisposed()) {
- String newAddress = addressText.getText();
- if (newAddress == null) {
- newAddress = ""; //$NON-NLS-1$
- }
-
- String oldAddress = getOldAddress();
- if (oldAddress.equals(newAddress))
- return;
-
- IEndPoint endPoint = (IEndPoint) getModel();
- Command command = endPoint.getSetAddressCommand(newAddress);
- executeCommand(command);
- }
- else {
- super.doHandleEvent(event);
- }
- }
-
- private String getOldAddress() {
- String value = null;
- if (getModel() instanceof W11EndPoint) {
- value = ((W11EndPoint) getModel()).getAddress();
- }
-
- if (value == null) {
- value = ""; //$NON-NLS-1$
- }
- return value;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ImportSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ImportSection.java
deleted file mode 100644
index fef304f14..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ImportSection.java
+++ /dev/null
@@ -1,310 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import java.util.Map;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.common.ui.internal.dialogs.SelectSingleFileDialog;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.internal.impl.ImportImpl;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Import;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IImport;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
-import org.eclipse.emf.common.util.URI;
-import org.w3c.dom.Element;
-
-public class ImportSection extends ASDAbstractSection
-{
- protected Text namespaceText, prefixText, locationText;
- private String oldPrefixValue;
- Button button;
- // TODO: Remove: IEditorPart editorPart
- IEditorPart editorPart;
-
- /**
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.wst.common.ui.properties.internal.provisional.TabbedPropertySheetWidgetFactory)
- */
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory)
- {
- super.createControls(parent, factory);
- Composite composite = getWidgetFactory().createFlatFormComposite(parent);
- FormData data;
-
- namespaceText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
- namespaceText.setEditable(false);
-// namespaceText.addListener(SWT.Modify, this);
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(0, 0);
- namespaceText.setLayoutData(data);
-
- CLabel namespaceLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_NAMESPACE); //$NON-NLS-1$
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(namespaceText, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(namespaceText, 0, SWT.CENTER);
- namespaceLabel.setLayoutData(data);
-
- prefixText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
-// prefixText.setEditable(false);
- applyTextListeners(prefixText);
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(namespaceText, +ITabbedPropertyConstants.VSPACE);
- prefixText.setLayoutData(data);
-
- CLabel prefixLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_PREFIX); //$NON-NLS-1$
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(prefixText, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(prefixText, 0, SWT.CENTER);
- prefixLabel.setLayoutData(data);
-
- locationText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
- locationText.setEditable(false);
-// locationText.addListener(SWT.Modify, this);
-
- CLabel locationLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_LOCATION); //$NON-NLS-1$
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(locationText, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(locationText, 0, SWT.CENTER);
- locationLabel.setLayoutData(data);
-
- button = getWidgetFactory().createButton(composite, "", SWT.PUSH); //$NON-NLS-1$
- button.setImage(WSDLEditorPlugin.getInstance().getImage("icons/browsebutton.gif")); //$NON-NLS-1$
-
- button.addSelectionListener(this);
- data = new FormData();
- data.left = new FormAttachment(100, -rightMarginSpace + 2);
- data.right = new FormAttachment(100,0);
- data.top = new FormAttachment(locationText, 0, SWT.CENTER);
- button.setLayoutData(data);
-
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(button, 0);
- data.top = new FormAttachment(prefixText, +ITabbedPropertyConstants.VSPACE);
- locationText.setLayoutData(data);
- }
-
- /*
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.view.ITabbedPropertySection#refresh()
- */
- public void refresh()
- {
- setListenerEnabled(false);
- Object obj = getModel();
- boolean refreshPrefixText = true;
- boolean refreshLocationText = true;
- boolean refreshNamespaceText = true;
- if (prefixText.isFocusControl())
- {
- refreshPrefixText = false;
- }
- if (locationText.isFocusControl())
- {
- refreshLocationText = false;
- }
- if (namespaceText.isFocusControl())
- {
- refreshNamespaceText = false;
- }
-
- if (refreshPrefixText)
- {
- prefixText.setText(""); //$NON-NLS-1$
- }
- if (refreshLocationText)
- {
- locationText.setText(""); //$NON-NLS-1$
- }
- if (refreshNamespaceText)
- {
- namespaceText.setText(""); //$NON-NLS-1$
- }
- if (obj instanceof IImport)
- {
- IImport theImport = (IImport) obj;
- if (refreshLocationText)
- {
- String locationValue = theImport.getLocation();
- locationText.setText(locationValue != null ? locationValue : ""); //$NON-NLS-1$
- }
-
- String namespaceValue = theImport.getNamespace();
- if (refreshNamespaceText)
- {
- namespaceText.setText(namespaceValue != null ? namespaceValue : ""); //$NON-NLS-1$
- }
-
- if (refreshPrefixText)
- {
- String prefix = theImport.getNamespacePrefix();
- prefixText.setText(prefix != null ? prefix : ""); //$NON-NLS-1$
- }
- }
- oldPrefixValue = prefixText.getText();
- setListenerEnabled(true);
- }
-
- public void doHandleEvent(Event event) {
- // TODO: We have some WSDL11 Impl specific knowledge below... We should try to remove this...
- if (event.widget == prefixText && locationText.getText().length() > 0 && namespaceText.getText().length() > 0 && getModel() instanceof W11Import) {
- if (oldPrefixValue.equals(prefixText.getText()))
- return;
-
- W11Import w11Import = (W11Import) getModel();
- Import importObj = (Import) w11Import.getTarget();
-// org.w3c.dom.Element importElement = WSDLEditorUtil.getInstance().getElementForObject(importObj);
- Map namespacesMap = importObj.getEnclosingDefinition().getNamespaces();
-
- if (namespacesMap.containsKey(prefixText.getText())) {
- // We should add error messages.........
- // setErrorMessage(XSDEditorPlugin.getXSDString("_ERROR_LABEL_PREFIX_EXISTS"));
- }
- else {
- Element definitionElement = importObj.getEnclosingDefinition().getElement();
- definitionElement.removeAttribute("xmlns:"+oldPrefixValue);
- definitionElement.setAttribute("xmlns:" + prefixText.getText(), namespaceText.getText());
-
-// clearErrorMessage();
- oldPrefixValue = prefixText.getText();
- }
- }
- }
-
- public void widgetSelected(SelectionEvent e)
- {
- // TODO: We have some WSDL11 Impl specific knowledge below... We should try to remove this...
- if (e.widget == button && getModel() instanceof W11Import)
- {
- W11Import w11Import = (W11Import) getModel();
-
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- IFile currentWSDLFile = ((IFileEditorInput) editor.getEditorInput()).getFile();
-
- SelectSingleFileDialog dialog = new SelectSingleFileDialog(WSDLEditorPlugin.getShell(), null, true);
- String [] filters = { "xsd", "wsdl" }; //$NON-NLS-1$
- IFile [] excludedFiles = { currentWSDLFile };
-
- dialog.addFilterExtensions(filters, excludedFiles);
- dialog.create();
- dialog.getShell().setText(org.eclipse.wst.wsdl.ui.internal.Messages._UI_TITLE_SELECT); //$NON-NLS-1$
- dialog.setTitle(org.eclipse.wst.wsdl.ui.internal.Messages._UI_TITLE_SELECT_FILE); //$NON-NLS-1$
- dialog.setMessage(org.eclipse.wst.wsdl.ui.internal.Messages._UI_DESCRIPTION_SELECT_WSDL_OR_XSD); //$NON-NLS-1$
- int rc = dialog.open();
- if (rc == IDialogConstants.OK_ID)
- {
- IFile selectedFile = dialog.getFile();
-
- //if (selectedFile.getLocation().toOSString().equals(currentWSDLFile.getLocation().toOSString()))
- //{
- // System.out.println("SAME FILE:" + currentWSDLFile.getLocation());
- //}
-
- String location = ComponentReferenceUtil.computeRelativeURI(selectedFile, currentWSDLFile, true);
-
- Import importObj = (Import) w11Import.getTarget();
- org.w3c.dom.Element importElement = WSDLEditorUtil.getInstance().getElementForObject(importObj);
- Definition definition = importObj.getEnclosingDefinition();
- org.w3c.dom.Element definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
-
- String importTargetNamespace = ""; //$NON-NLS-1$
- String prefix = prefixText.getText();
- String uniquePrefix = ""; //$NON-NLS-1$
-
- URI uri = URI.createPlatformResourceURI(selectedFile.getFullPath().toString());
-
- // note that the getTargetNamespaceURIForSchema works for both schema and wsdl files
- // I should change the name of this convenience method
- importTargetNamespace = WSDLEditorUtil.getTargetNamespaceURIForSchema(uri.toString());
-
- if (prefix.trim().equals("")) //$NON-NLS-1$
- {
- uniquePrefix = getUniquePrefix(definition, uri.fileExtension());
- }
- else
- {
- uniquePrefix = prefix;
- }
-
-
- if (importTargetNamespace == null ||
- (importTargetNamespace != null && importTargetNamespace.trim().length() == 0))
- {
- return; // what to do with no namespace docs?
- }
-
- importObj.setLocationURI(location);
- importObj.setNamespaceURI(importTargetNamespace);
- ((ImportImpl) importObj).importDefinitionOrSchema();
-
- definitionElement.setAttribute("xmlns:" + uniquePrefix, importTargetNamespace); //$NON-NLS-1$
-
- namespaceText.setText(importTargetNamespace);
- locationText.setText(location);
- prefixText.setText(uniquePrefix);
- }
- refresh();
- }
- }
-
- private String getUniquePrefix(Definition definition, String initPrefix)
- {
- String uniquePrefix;
- Map map = definition.getNamespaces();
-
- if (definition.getNamespace(initPrefix) == null)
- {
- uniquePrefix = initPrefix;
- }
- else // if used, then try to create a unique one
- {
- String tempPrefix = initPrefix;
- int i = 1;
- while(map.containsKey(tempPrefix + i))
- {
- i++;
- }
- uniquePrefix = tempPrefix + i;
- }
- return uniquePrefix;
- }
-
- // TODO: Remove metod setEditorPart() below
- public void setEditorPart(IEditorPart editorPart)
- {
- this.editorPart = editorPart;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NameSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NameSection.java
deleted file mode 100644
index ffaa41fe8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NameSection.java
+++ /dev/null
@@ -1,243 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.forms.events.HyperlinkEvent;
-import org.eclipse.ui.forms.events.IHyperlinkListener;
-import org.eclipse.ui.forms.widgets.ImageHyperlink;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.ISelectionMapper;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.INamedObject;
-import org.eclipse.wst.wsdl.ui.internal.refactor.actions.RenameComponentAction;
-
-public class NameSection extends ASDAbstractSection implements IHyperlinkListener {
- CLabel nameLabel;
- protected Text nameText;
- /**
- * Clicking on it invokes the refactor->rename action.
- */
- protected ImageHyperlink renameHyperlink;
-
- /**
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.wst.common.ui.properties.internal.provisional.TabbedPropertySheetWidgetFactory)
- */
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory)
- {
- super.createControls(parent, factory);
-
- composite = getWidgetFactory().createFlatFormComposite(parent);
-
- FormData data;
-
- nameText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace);
- data.top = new FormAttachment(0, 0);
- nameText.setLayoutData(data);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(nameText, ASDEditorCSHelpIds.PROPERTIES_NAME_TEXT);
-
- nameLabel = getWidgetFactory().createCLabel(composite, Messages._UI_LABEL_NAME + ":"); //$NON-NLS-1$ //$NON-NLS-2$
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(nameText, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(nameText, 0, SWT.CENTER);
- nameLabel.setLayoutData(data);
- applyTextListeners(nameText);
- }
-
- private void showRefactorButton() {
- if (isReadOnly) {
- return;
- }
-
- if (renameHyperlink == null) {
- renameHyperlink = getWidgetFactory().createImageHyperlink(composite, SWT.NONE);
-
- renameHyperlink.setImage(WSDLEditorPlugin.getInstance().getImage("icons/quickassist.gif")); //$NON-NLS-1$
- renameHyperlink.setToolTipText(Messages._UI_TOOLTIP_RENAME_REFACTOR);
- renameHyperlink.addHyperlinkListener(this);
- }
-
- FormData data = new FormData();
- data.right = new FormAttachment(100, -rightMarginSpace);
- data.top = new FormAttachment(0, 0);
- renameHyperlink.setLayoutData(data);
-
- data = (FormData) nameText.getLayoutData();
- FormAttachment right = data.right;
- right.control = renameHyperlink;
- right.offset = -ITabbedPropertyConstants.HSPACE;
- right.alignment = SWT.LEFT;
- data.top = new FormAttachment(renameHyperlink, 0, SWT.CENTER);
- renameHyperlink.setVisible(true);
- }
-
- private void hideRefactorButton() {
- if (isReadOnly) {
- return;
- }
-
- if (renameHyperlink == null) {
- return;
- }
- FormData data = (FormData) nameText.getLayoutData();
- FormAttachment right = data.right;
- right.control = null;
- right.numerator = 100;
- right.offset = -rightMarginSpace;
- data.top = new FormAttachment(0, 0);
- renameHyperlink.setVisible(false);
- }
-
-
- /*
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.view.ITabbedPropertySection#refresh()
- */
- public void refresh() {
- super.refresh();
- if (nameText.isDisposed() || nameText.isFocusControl()) {
- return;
- }
-
- setListenerEnabled(false);
- String name = null;
- if (getModel() instanceof INamedObject) {
- name = ((INamedObject) getModel()).getName();
- }
- else if (getModel() instanceof EditPart) {
- Object model = ((EditPart) getModel()).getModel();
- name = ((INamedObject) model).getName();
- }
-
- if (name == null) {
- name = ""; //$NON-NLS-1$
- }
-
- nameText.setText(name);
- setControlForegroundColor(nameText);
-
- if (canRefactor()) {
- showRefactorButton();
- }
- else {
- hideRefactorButton();
- }
- setListenerEnabled(true);
- }
-
- public boolean shouldUseExtraSpace()
- {
- return false;
- }
-
- public void doHandleEvent(Event event)
- {
- if (event.widget == nameText && !nameText.isDisposed()) {
- String newValue = nameText.getText();
- Object model = getModel();
- INamedObject namedObject = null;
-
- if (model instanceof INamedObject) {
- namedObject = (INamedObject) model;
- }
-
- if (namedObject != null) {
- if ( !newValue.equals( namedObject.getName() ) ){
- Command command = namedObject.getSetNameCommand(newValue);
- executeCommand(command);
- }
- }
- }
- }
-
- private void invokeRenameRefactoring() {
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- Definition definition = (Definition)editor.getAdapter(Definition.class);
- ISelection selection = editor.getSite().getSelectionProvider().getSelection();
- ISelectionMapper mapper = (ISelectionMapper) editor.getAdapter(ISelectionMapper.class);
- selection = mapper != null ? mapper.mapSelection(selection) : selection;
- RenameComponentAction action = new RenameComponentAction(selection, definition);
- action.update(selection);
- action.run();
- }
-
- private Object getRealModel() {
- Object realModel = getModel();
-
- if (realModel instanceof EditPart) {
- realModel = ((EditPart) getModel()).getModel();
- }
-
- return realModel;
- }
-
- /**
- * Determines if the model object's name can be refactored.
- * @return true if the model object can be refactored, false otherwise.
- */
- private boolean canRefactor() {
- Object model = getRealModel();
-
- boolean canRefactor = model instanceof IMessage ||
- model instanceof IBinding ||
- model instanceof IInterface;
- return canRefactor;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.forms.events.IHyperlinkListener#linkActivated(org.eclipse.ui.forms.events.HyperlinkEvent)
- */
- public void linkActivated(HyperlinkEvent e)
- {
- invokeRenameRefactoring();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.forms.events.IHyperlinkListener#linkEntered(org.eclipse.ui.forms.events.HyperlinkEvent)
- */
- public void linkEntered(HyperlinkEvent e)
- {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.forms.events.IHyperlinkListener#linkExited(org.eclipse.ui.forms.events.HyperlinkEvent)
- */
- public void linkExited(HyperlinkEvent e)
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NamespaceSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NamespaceSection.java
deleted file mode 100644
index 2fcc05ca6..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NamespaceSection.java
+++ /dev/null
@@ -1,259 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import java.util.List;
-
-import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.GC;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
-import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11EditNamespacesCommand;
-import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDEditNamespacesAction;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
-import org.eclipse.wst.wsdl.ui.internal.asd.facade.INamedObject;
-import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
-import org.eclipse.wst.xml.ui.internal.nsedit.CommonEditNamespacesTargetFieldDialog;
-import org.eclipse.wst.xml.ui.internal.nsedit.CommonNamespaceInfoTable;
-
-public class NamespaceSection extends ASDAbstractSection {
- protected String targetNamespace;
- protected List namespaceInfoList;
- protected CommonEditNamespacesTargetFieldDialog editWSDLNamespacesControl;
- protected Button button;
-
- Text nameText;
- Text prefixText;
- Text targetNamespaceText;
- protected CommonNamespaceInfoTable tableViewer;
- private boolean handlingEvent;
-
- /**
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.wst.common.ui.properties.internal.provisional.TabbedPropertySheetWidgetFactory)
- */
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory)
- {
- super.createControls(parent, factory);
- composite = getWidgetFactory().createFlatFormComposite(parent);
-
- String nameString = Messages._UI_LABEL_NAME + ":"; //$NON-NLS-1$ //$NON-NLS-2$
- String prefixString = Messages._UI_LABEL_PREFIX + ":"; //$NON-NLS-1$ //$NON-NLS-2$
- String namespaceString = Messages._UI_LABEL_TARGET_NAMESPACE; //$NON-NLS-1$
- GC gc = new GC(parent);
- int xoffset = Math.max(115, gc.textExtent(nameString).x + 20); // adds 20 due to borders
- xoffset = Math.max(xoffset, gc.textExtent(prefixString).x + 20); // adds 20 due to borders
- xoffset = Math.max(xoffset, gc.textExtent(namespaceString).x + 20); // adds 20 due to borders
- gc.dispose();
-
- // name
- CLabel nameLabel = getWidgetFactory().createCLabel(composite, nameString); //$NON-NLS-1$
- nameText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
- PlatformUI.getWorkbench().getHelpSystem().setHelp(nameText, ASDEditorCSHelpIds.PROPERTIES_NAME_TEXT);
-
- // prefix
- CLabel prefixLabel = getWidgetFactory().createCLabel(composite, prefixString); //$NON-NLS-1$
- prefixText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
- PlatformUI.getWorkbench().getHelpSystem().setHelp(prefixText, ASDEditorCSHelpIds.PROPERTIES_DEF_PREFIX_TEXT);
-
- // targetnamespace
- CLabel targetNamespaceLabel = getWidgetFactory().createCLabel(composite, namespaceString); //$NON-NLS-1$
- targetNamespaceText = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$
- PlatformUI.getWorkbench().getHelpSystem().setHelp(targetNamespaceText, ASDEditorCSHelpIds.PROPERTIES_DEF_TNS_TEXT);
-
- // Advanced button
- button = getWidgetFactory().createButton(composite, Messages._UI_SECTION_ADVANCED_ATTRIBUTES + "...", SWT.PUSH); //$NON-NLS-1$ //$NON-NLS-2$
-
-
- ///////////////////// Labels
- // name layout
- FormData dataNameLabel = new FormData();
- dataNameLabel.top = new FormAttachment(nameText, 0, SWT.CENTER);
- nameLabel.setLayoutData(dataNameLabel);
-
- // prefix layout
- FormData dataPrefixLabel = new FormData();
- dataPrefixLabel.left = new FormAttachment(0, 0);
- dataPrefixLabel.top = new FormAttachment(prefixText, 0, SWT.CENTER);
- prefixLabel.setLayoutData(dataPrefixLabel);
-
- // targetNamespaceLabel layout
- FormData datatnsLabel = new FormData();
- datatnsLabel.left = new FormAttachment(0, 0);
- datatnsLabel.right = new FormAttachment(targetNamespaceText, 0);
- datatnsLabel.top = new FormAttachment(targetNamespaceText, 0, SWT.CENTER);
- targetNamespaceLabel.setLayoutData(datatnsLabel);
-
-
- ///////////////////// Text Fields
- // name text field
- FormData dataNameText = new FormData();
- dataNameText.left = new FormAttachment(0, xoffset);
- dataNameText.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- dataNameText.top = new FormAttachment(0, 0);
- nameText.setLayoutData(dataNameText);
- applyTextListeners(nameText);
-
- // prefix text field
- FormData dataPrefixText = new FormData();
- dataPrefixText.left = new FormAttachment(0, xoffset);
- dataPrefixText.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- dataPrefixText.top = new FormAttachment(nameText, +ITabbedPropertyConstants.VSPACE);
- prefixText.setLayoutData(dataPrefixText);
- applyTextListeners(prefixText);
-
- // targetnamespace text field
- FormData data = new FormData();
- data.left = new FormAttachment(0, xoffset);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(prefixText, +ITabbedPropertyConstants.VSPACE);
- targetNamespaceText.setLayoutData(data);
- applyTextListeners(targetNamespaceText);
-
- // Advanced button layout
- FormData dataButton = new FormData();
-// dataButton.left = new FormAttachment(100, -rightMarginSpace + 2);
- dataButton.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- dataButton.top = new FormAttachment(targetNamespaceText, +ITabbedPropertyConstants.VSPACE);
-// dataButton.top = new FormAttachment(targetNamespaceText, 0, SWT.CENTER);
- button.setLayoutData(dataButton);
- button.addSelectionListener(this);
- }
-
- public void doHandleEvent(Event event)
- {
- handlingEvent = true;
- Object obj = getDescription();
- if (obj instanceof IDescription) {
- IDescription description = (IDescription) obj;
-
- if (event.widget == nameText) {
- String newName = nameText.getText();
- if (!newName.equals(description.getName())) {
- Command command = description.getSetNameCommand(newName);
- executeCommand(command);
- }
- }
- else if (event.widget == prefixText || event.widget == targetNamespaceText) {
- String newTargetNS = targetNamespaceText.getText();
- String newPrefix = prefixText.getText();
-
- boolean targetNSdiff = !newTargetNS.equals(description.getTargetNamespace());
- boolean prefixDiff = !newPrefix.equals(description.getTargetNamespacePrefix());
- if (targetNSdiff || prefixDiff ) {
- // TODO: The code below is not generic. We need to revisit this to ensure it is
- // generic. IDescription needs a getNamespacesInfo() and getEditNamespacesCommand()...
- W11EditNamespacesCommand command =
- (W11EditNamespacesCommand) ((W11Description) description).getEditNamespacesCommand();
- if (targetNSdiff)
- command.setTargetNamespace(newTargetNS);
- if (prefixDiff)
- command.setTargetNamespacePrefix(newPrefix);
- executeCommand(command);
- }
- }
- }
-
- handlingEvent = false;
- }
-
- protected Object getDescription() {
- Object model = getModel();
- if (model instanceof AbstractModelCollection) {
- model = ((AbstractModelCollection) model).getModel();
- if (model instanceof IDescription) {
- return (IDescription) model;
- }
- }
- else if (model instanceof ICategoryAdapter) {
- return ((ICategoryAdapter) model).getOwnerDescription();
- }
-
- return model;
- }
- /*
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.view.ITabbedPropertySection#refresh()
- */
- public void refresh()
- {
- super.refresh();
-
- // Set nameText
- if (nameText == null || nameText.isFocusControl()) {
- return;
- }
- setListenerEnabled(false);
- nameText.setText(""); //$NON-NLS-1$
- if (getDescription() instanceof INamedObject) {
- nameText.setText(((INamedObject) getDescription()).getName());
- }
- setListenerEnabled(true);
-
-
- // Set targetNamespaceText and prefixText
- if (targetNamespaceText == null || targetNamespaceText.isFocusControl() || handlingEvent)
- {
- return;
- }
- setListenerEnabled(false);
- Object obj = getDescription();
- if (obj instanceof IDescription)
- {
- IDescription description = (IDescription) obj;
- String targetNS = description.getTargetNamespace();
- String newPrefix = description.getTargetNamespacePrefix();
- prefixText.setText(newPrefix != null ? newPrefix : "");
-
- // set targetnamespace field and prefix field
- if (targetNS != null)
- {
- targetNamespaceText.setText(targetNS);
- }
- else
- {
- targetNamespaceText.setText("");
- }
- if (newPrefix != null)
- {
- prefixText.setText(newPrefix);
- }
- }
- setListenerEnabled(true);
- }
-
-
- public void widgetSelected(SelectionEvent e)
- {
- if (e.widget == button) {
- Object obj = getDescription();
- if (obj instanceof IDescription) {
- IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
- ASDEditNamespacesAction action = new ASDEditNamespacesAction(part, (IDescription) obj);
- action.run();
- refresh();
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ReferenceSection.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ReferenceSection.java
deleted file mode 100644
index 1722ddf52..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ReferenceSection.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.properties.sections;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CCombo;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
-import org.eclipse.wst.wsdl.ui.internal.asd.Messages;
-
-public abstract class ReferenceSection extends NameSection {
- public static String BROWSE_STRING = Messages._UI_BUTTON_BROWSE; //$NON-NLS-1$
- public static String NEW_STRING = Messages._UI_BUTTON_NEW; //$NON-NLS-1$
- protected CCombo combo;
- protected CLabel comboLabel;
-
- protected List itemsInCombo = new ArrayList();
-
- /**
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.wst.common.ui.properties.internal.provisional.TabbedPropertySheetWidgetFactory)
- */
- public void createControls(Composite parent, TabbedPropertySheetWidgetFactory factory)
- {
- super.createControls(parent, factory);
- FormData data;
-
- // Create Combo row of widgets
- comboLabel = getWidgetFactory().createCLabel(composite, "Reference"); //$NON-NLS-1$
- combo = getWidgetFactory().createCCombo(composite);
- combo.setBackground(composite.getBackground());
-
- // Layout Combo Label
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(combo, -ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(combo, 0, SWT.CENTER);
- comboLabel.setLayoutData(data);
-
- // Layout Combo
- data = new FormData();
- data.left = new FormAttachment(0, 100);
- data.right = new FormAttachment(100, -rightMarginSpace - ITabbedPropertyConstants.HSPACE);
- data.top = new FormAttachment(nameText, +ITabbedPropertyConstants.VSPACE);
- combo.setLayoutData(data);
-
- combo.addListener(SWT.Modify, this);
- }
-
- public void handleEvent(Event event)
- {
- if (event.widget == combo) {
- if (isListenerEnabled() && !isInDoHandle)
- {
- isInDoHandle = true;
- startDelayedEvent(event);
- isInDoHandle = false;
- }
- }
- else {
- super.handleEvent(event);
- }
- }
-
- /*
- * @see org.eclipse.wst.common.ui.properties.internal.provisional.view.ITabbedPropertySection#refresh()
- */
- public void refresh() {
- combo.removeListener(SWT.Modify, this);
-
- super.refresh();
-
- List comboItems = getComboItems();
- if (comboItems.size() > 0) {
- combo.removeAll();
- itemsInCombo.clear();
-
- // We need to populate this combo with the available references
- // TODO: rmah: We should include the prefix as well
- String currentComboItemName = getComboItemName(getCurrentComboItem());
- int currentBindingIndex = -1;
-
- List items = getComboItems();
- for (int index = 0; index < items.size(); index++) {
- Object item = items.get(index);
- String itemName = getComboItemName(item);
- combo.add(itemName);
- itemsInCombo.add(item);
-
- if (itemName.equals(currentComboItemName)) {
- currentBindingIndex = index;
- }
- }
-
- if (currentBindingIndex != -1) {
- combo.select(currentBindingIndex);
- }
- }
-
- setControlForegroundColor(combo);
- combo.addListener(SWT.Modify, this);
- }
-
- protected abstract List getComboItems();
- protected abstract Object getCurrentComboItem();
- protected abstract String getComboItemName(Object item);
- protected abstract void performComboSelection(Object item);
-
- public boolean shouldUseExtraSpace()
- {
- return false;
- }
-
- public void doHandleEvent(Event event)
- {
- super.doHandleEvent(event);
- if (event.widget == combo && !combo.isDisposed()) {
- int selectionIndex = combo.getSelectionIndex();
- performComboSelection(itemsInCombo.get(selectionIndex));
- refresh();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/ASDEditPartFactoryHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/ASDEditPartFactoryHelper.java
deleted file mode 100644
index 94a3d4b94..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/ASDEditPartFactoryHelper.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.eclipse.wst.wsdl.ui.internal.asd.util;
-
-import org.eclipse.gef.EditPartFactory;
-import org.eclipse.gef.GraphicalViewer;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicalViewer;
-import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ASDEditPartFactory;
-
-/**
- * @depracated
- */
-public class ASDEditPartFactoryHelper {
- private static ASDEditPartFactoryHelper instance;
-
- private EditPartFactory editPartFactory;
-
- public static ASDEditPartFactoryHelper getInstance() {
- if (instance == null) {
- instance = new ASDEditPartFactoryHelper();
- }
-
- return instance;
- }
-
- public EditPartFactory getEditPartFactory() {
- if (editPartFactory == null) {
- editPartFactory = new ASDEditPartFactory();
- }
- return editPartFactory;
- }
-
- public void setEditPartFactory(EditPartFactory factory) {
- editPartFactory = factory;
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- Object adapter = editor.getAdapter(GraphicalViewer.class);
- if (adapter instanceof DesignViewGraphicalViewer) {
- ((DesignViewGraphicalViewer) adapter).setEditPartFactory(factory);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/IOpenExternalEditorHelper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/IOpenExternalEditorHelper.java
deleted file mode 100644
index ebbe6d7f6..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/IOpenExternalEditorHelper.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.asd.util;
-
-public interface IOpenExternalEditorHelper {
- public void setModel(Object object);
- public void openExternalEditor();
- public boolean linkApplicable();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/WSDLComponentRenameParticipant.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/WSDLComponentRenameParticipant.java
deleted file mode 100644
index ecfc73d5d..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/WSDLComponentRenameParticipant.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.refactor;
-
-import java.util.List;
-
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-import org.eclipse.wst.xsd.ui.internal.refactor.rename.ComponentRenameArguments;
-import org.eclipse.wst.xsd.ui.internal.refactor.rename.XMLComponentRenameParticipant;
-import org.eclipse.xsd.XSDNamedComponent;
-
-/**
- * This participant takes case of renaming matches that are XSD components
- */
-public class WSDLComponentRenameParticipant extends XMLComponentRenameParticipant {
-
- protected boolean initialize(Object element) {
-
- if(element instanceof WSDLElement || element instanceof XSDNamedComponent){
- if(getArguments() instanceof ComponentRenameArguments){
- matches = (List)((ComponentRenameArguments)getArguments()).getMatches().get(IWSDLSearchConstants.WSDL_NAMESPACE);
- }
- if(matches != null){
- return true;
- }
- }
- return false;
- }
-
- public String getName() {
-
- return "WSDL component rename participant"; //$NON-NLS-1$
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/RenameComponentAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/RenameComponentAction.java
deleted file mode 100644
index 0939528e2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/RenameComponentAction.java
+++ /dev/null
@@ -1,204 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.refactor.actions;
-
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
-import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
-import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.actions.GlobalBuildAction;
-import org.eclipse.wst.common.ui.internal.dialogs.SaveDirtyFilesDialog;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.eclipse.wst.wsdl.internal.impl.WSDLElementImpl;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.util.NodeAssociationManager;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
-import org.eclipse.wst.xsd.ui.internal.refactor.RefactoringComponent;
-import org.eclipse.wst.xsd.ui.internal.refactor.RefactoringMessages;
-import org.eclipse.wst.xsd.ui.internal.refactor.XMLRefactoringComponent;
-import org.eclipse.wst.xsd.ui.internal.refactor.rename.RenameComponentProcessor;
-import org.eclipse.wst.xsd.ui.internal.refactor.wizard.RenameRefactoringWizard;
-import org.eclipse.xsd.XSDAttributeDeclaration;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDNamedComponent;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Element;
-
-public class RenameComponentAction extends WSDLSelectionDispatchAction {
-
- private RefactoringComponent selectedComponent;
-
- public RenameComponentAction(ISelection selection,
- Definition model) {
- super(selection);
- setModel(model);
- }
-
- protected boolean doCanEnableXSDSelection(XSDNamedComponent selectedObject) {
-
- selectedComponent = null;
- if (selectedObject != null) {
- selectedComponent = new XMLRefactoringComponent(
- selectedObject,
- (IDOMElement)selectedObject.getElement(),
- selectedObject.getName(),
- selectedObject.getTargetNamespace());
-
- // if it's element reference, then this action is not appropriate
- if (selectedObject instanceof XSDElementDeclaration) {
- XSDElementDeclaration element = (XSDElementDeclaration) selectedObject;
- if (element.isElementDeclarationReference()) {
- selectedComponent = null;
- }
- }
- if(selectedObject instanceof XSDTypeDefinition){
- XSDTypeDefinition type = (XSDTypeDefinition) selectedObject;
- XSDConcreteComponent parent = type.getContainer();
- if (parent instanceof XSDElementDeclaration) {
- XSDElementDeclaration element = (XSDElementDeclaration) parent;
- if(element.getAnonymousTypeDefinition().equals(type)){
- selectedComponent = null;
- }
- }
- else if(parent instanceof XSDAttributeDeclaration) {
- XSDAttributeDeclaration element = (XSDAttributeDeclaration) parent;
- if(element.getAnonymousTypeDefinition().equals(type)){
- selectedComponent = null;
- }
- }
- }
- }
-
- return canRun();
- }
-
- protected boolean doCanEnableWSDLSelection(WSDLElement selectedObject) {
-
- selectedComponent = null;
- String localName = null;
- String namespace = null;
- if (selectedObject instanceof Binding){
- localName = ((Binding)selectedObject).getQName().getLocalPart();
- namespace = ((Binding)selectedObject).getQName().getNamespaceURI();
- }
- else if (selectedObject instanceof PortType){
- localName = ((PortType)selectedObject).getQName().getLocalPart();
- namespace = ((PortType)selectedObject).getQName().getNamespaceURI();
- }
- else if (selectedObject instanceof Message){
- localName = ((Message)selectedObject).getQName().getLocalPart();
- namespace = ((Message)selectedObject).getQName().getNamespaceURI();
- }
- if(localName != null){
- selectedComponent = new XMLRefactoringComponent(
- selectedObject,
- (IDOMElement)selectedObject.getElement(),
- localName,
- namespace);
- }
-
-
- return canRun();
- }
-
- protected boolean canEnable(Object selectedObject) {
-
- if (selectedObject instanceof XSDNamedComponent) {
- return doCanEnableXSDSelection((XSDNamedComponent) selectedObject);
- } else if(selectedObject instanceof WSDLElementImpl){
- return doCanEnableWSDLSelection((WSDLElementImpl) selectedObject);
- }
- if (selectedObject instanceof Element) {
- Element node = (Element) selectedObject;
- if (getDefinition() != null) {
- // issue (eb) dependency on utility class to get component from the model based on element
- Object concreteComponent = (new NodeAssociationManager()).getModelObjectForNode(getDefinition(), node);
- return canEnable(concreteComponent);
- }
- }
- return false;
-
- }
-
- public boolean canRun() {
-
- return selectedComponent != null;
- }
-
- public void run(ISelection selection) {
-
- boolean rc = SaveDirtyFilesDialog.saveDirtyFiles();
- if (!rc)
- {
- return;
- }
- RenameComponentProcessor processor = new RenameComponentProcessor(selectedComponent, selectedComponent.getName());
- RenameRefactoring refactoring = new RenameRefactoring(processor);
- try {
- RefactoringWizard wizard = new RenameRefactoringWizard(
- refactoring,
- RefactoringMessages
- .getString("RenameComponentWizard.defaultPageTitle"), //$NON-NLS-1$ TODO: provide correct strings
- RefactoringMessages
- .getString("RenameComponentWizard.inputPage.description"), //$NON-NLS-1$
- null)
- {
- public boolean performFinish()
- {
- // TODO Auto-generated method stub
- boolean rc = super.performFinish();
- //((DefinitionImpl)getDefinition()).reconcileReferences(true);
- return rc;
- }
-
- };
- RefactoringWizardOpenOperation op = new RefactoringWizardOpenOperation(
- wizard);
- op.run(WSDLEditorPlugin.getShell(), wizard
- .getDefaultPageTitle());
- triggerBuild();
-
- Display.getCurrent().asyncExec(new Runnable()
- {
- public void run()
- {
- ((DefinitionImpl)getDefinition()).reconcileReferences(true);
- }
- });
-
- } catch (InterruptedException e) {
- // do nothing. User action got cancelled
- }
-
- if (getModel() instanceof DefinitionImpl) {
- ((DefinitionImpl) getModel()).reconcileReferences(true);
- }
- }
-
- public static void triggerBuild() {
- if (ResourcesPlugin.getWorkspace().getDescription().isAutoBuilding()) {
- new GlobalBuildAction(WSDLEditorPlugin.getInstance().getWorkbench()
- .getActiveWorkbenchWindow(),
- IncrementalProjectBuilder.INCREMENTAL_BUILD).run();
- }
- }
-
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorActionGroup.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorActionGroup.java
deleted file mode 100644
index cd4a71692..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorActionGroup.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.refactor.actions;
-
-import java.util.ArrayList;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.xsd.ui.internal.refactor.actions.RenameAction;
-import org.eclipse.wst.xsd.ui.internal.refactor.wizard.RefactorActionGroup;
-
-public class WSDLRefactorActionGroup extends RefactorActionGroup {
-
-
- private static final String RENAME_ELEMENT = "org.eclipse.wst.wsdl.ui.refactor.rename.element"; //$NON-NLS-1$
-
-
- public WSDLRefactorActionGroup(ISelection selection,
- Definition definition) {
-
- super(selection);
- if( definition != null){
- fEditorActions = new ArrayList();
- RenameComponentAction action = new RenameComponentAction(selection, definition);
- fRenameAction = new RenameAction(selection);
- fRenameAction.setRenameComponentAction(action);
- fRenameAction.setActionDefinitionId(RENAME_ELEMENT);
- fEditorActions.add(fRenameAction);
- initAction(fRenameAction, selection);
- }
- }
-
- public void dispose() {
- //disposeAction(fRenameAction, fSelectionProvider);
- super.dispose();
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorGroupActionDelegate.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorGroupActionDelegate.java
deleted file mode 100644
index a245f9e24..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorGroupActionDelegate.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.refactor.actions;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.swt.widgets.Menu;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPartSite;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ui.internal.ISelectionMapper;
-import org.eclipse.wst.xsd.ui.internal.refactor.wizard.RefactorActionGroup;
-import org.eclipse.wst.xsd.ui.internal.refactor.wizard.RefactorGroupActionDelegate;
-import org.eclipse.wst.xsd.ui.internal.refactor.wizard.RefactorGroupSubMenu;
-
-public class WSDLRefactorGroupActionDelegate extends RefactorGroupActionDelegate
-{
- public WSDLRefactorGroupActionDelegate()
- {
- super();
- }
- /**
- * Fills the menu with applicable refactor sub-menues
- *
- * @param menu
- * The menu to fill
- */
- protected void fillMenu(Menu menu)
- {
- if (fSelection == null)
- {
- return;
- }
- if (workbenchPart != null)
- {
- IWorkbenchPartSite site = workbenchPart.getSite();
- if (site == null)
- return;
- IEditorPart editor = site.getPage().getActiveEditor();
- if (editor != null)
- {
- ISelectionMapper mapper = (ISelectionMapper) editor.getAdapter(ISelectionMapper.class);
- ISelection selection = mapper != null ? mapper.mapSelection(fSelection) : fSelection;
- Definition definition = (Definition) editor.getAdapter(Definition.class);
- if (definition != null)
- {
- RefactorActionGroup refactorMenuGroup = new WSDLRefactorActionGroup(selection, definition);
- RefactorGroupSubMenu subMenu = new RefactorGroupSubMenu(refactorMenuGroup);
- subMenu.fill(menu, -1);
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLSelectionDispatchAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLSelectionDispatchAction.java
deleted file mode 100644
index a80f6344c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLSelectionDispatchAction.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.refactor.actions;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.xsd.ui.internal.refactor.actions.SelectionDispatchAction;
-
-
-public class WSDLSelectionDispatchAction extends SelectionDispatchAction
-{
- public static final String RENAME_ELEMENT = "org.eclipse.wst.wsdl.ui.refactor.rename.element"; //$NON-NLS-1$
-
- public WSDLSelectionDispatchAction(ISelection selection)
- {
- super(selection);
- }
-
- protected Definition getDefinition(){
- Object model = getModel();
- if(model instanceof Definition)
- {
- return (Definition) model;
- }
-
- return null;
- }
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/IWSDLSearchConstants.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/IWSDLSearchConstants.java
deleted file mode 100644
index 236c5c710..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/IWSDLSearchConstants.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search;
-
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-
-
-public interface IWSDLSearchConstants {
-
- public static final String WSDL_NAMESPACE = "http://schemas.xmlsoap.org/wsdl/"; //$NON-NLS-1$
- public static final String XMLSCHEMA_NAMESPACE = "http://www.w3.org/2001/XMLSchema"; //$NON-NLS-1$
-
- public static String WSDL_CONTENT_TYPE_ID = "org.eclipse.wst.wsdl.wsdlsource"; //$NON-NLS-1$
-
- public static final QualifiedName MESSAGE_META_NAME = new QualifiedName(
- WSDL_NAMESPACE, "message"); //$NON-NLS-1$
-
- public static final QualifiedName PORT_TYPE_META_NAME = new QualifiedName(
- WSDL_NAMESPACE, "portType"); //$NON-NLS-1$
-
- public static final QualifiedName BINDING_META_NAME = new QualifiedName(
- WSDL_NAMESPACE, "binding"); //$NON-NLS-1$
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchContributor.java
deleted file mode 100644
index fcd230ed8..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchContributor.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.wst.common.core.search.pattern.SearchPattern;
-import org.eclipse.wst.xml.core.internal.search.ComponentSearchContributor;
-import org.eclipse.wst.xml.core.internal.search.XMLSearchPattern;
-import org.eclipse.wst.xsd.ui.internal.search.IXSDSearchConstants;
-
-public class WSDLSearchContributor extends ComponentSearchContributor {
-
-
- protected void initializeDeclarations() {
-
- declarations = new HashMap();
- String ns = IWSDLSearchConstants.WSDL_NAMESPACE;
-
- SearchPattern pattern = new XMLSearchPattern(ns, "message", "name"); //$NON-NLS-1$ //$NON-NLS-2$
- declarations.put(IWSDLSearchConstants.MESSAGE_META_NAME, pattern);
-
- pattern = new XMLSearchPattern( ns, "portType", "name"); //$NON-NLS-1$ //$NON-NLS-2$
- declarations.put(IWSDLSearchConstants.PORT_TYPE_META_NAME, pattern);
-
- pattern = new XMLSearchPattern(ns, "binding", "name"); //$NON-NLS-1$ //$NON-NLS-2$
- declarations.put(IWSDLSearchConstants.BINDING_META_NAME, pattern);
-
- }
-
- protected void initializeReferences() {
-
- references = new HashMap();
- String ns = IWSDLSearchConstants.WSDL_NAMESPACE;
-
- List patterns = new ArrayList();
- patterns.add(new XMLSearchPattern( ns, "part", "element")); //$NON-NLS-1$ //$NON-NLS-2$
- references.put(IXSDSearchConstants.ELEMENT_META_NAME, patterns);
-
- patterns = new ArrayList();
- patterns.add(new XMLSearchPattern(ns, "part", "type")); //$NON-NLS-1$ //$NON-NLS-2$
- references.put(IXSDSearchConstants.COMPLEX_TYPE_META_NAME, patterns);
-
- patterns = new ArrayList();
- patterns.add(new XMLSearchPattern(ns, "part", "type")); //$NON-NLS-1$ //$NON-NLS-2$
- references.put(IXSDSearchConstants.SIMPLE_TYPE_META_NAME, patterns);
-
- patterns = new ArrayList();
- patterns.add(new XMLSearchPattern(ns, "input", "message")); //$NON-NLS-1$ //$NON-NLS-2$
- patterns.add(new XMLSearchPattern(ns, "output", "message")); //$NON-NLS-1$ //$NON-NLS-2$
- patterns.add(new XMLSearchPattern(ns, "fault", "message")); //$NON-NLS-1$ //$NON-NLS-2$
- references.put(IWSDLSearchConstants.MESSAGE_META_NAME, patterns);
-
- patterns = new ArrayList();
- patterns.add(new XMLSearchPattern(ns, "binding", "type")); //$NON-NLS-1$ //$NON-NLS-2$
- references.put(IWSDLSearchConstants.PORT_TYPE_META_NAME, patterns);
-
- patterns = new ArrayList();
- patterns.add(new XMLSearchPattern( ns, "port", "binding")); //$NON-NLS-1$ //$NON-NLS-2$
- references.put(IWSDLSearchConstants.BINDING_META_NAME, patterns);
- }
-
- protected void initializeSupportedNamespaces() {
- namespaces = new String[]{ IXSDSearchConstants.XMLSCHEMA_NAMESPACE, IWSDLSearchConstants.WSDL_NAMESPACE};
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchParticipant.java b/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchParticipant.java
deleted file mode 100644
index 1025523e0..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchParticipant.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.wst.common.core.search.SearchParticipant;
-import org.eclipse.wst.common.core.search.SearchPlugin;
-import org.eclipse.wst.common.core.search.pattern.SearchPattern;
-import org.eclipse.wst.xml.core.internal.search.ComponentSearchContributor;
-import org.eclipse.wst.xml.core.internal.search.XMLComponentDeclarationPattern;
-import org.eclipse.wst.xml.core.internal.search.XMLComponentReferencePattern;
-import org.eclipse.wst.xml.core.internal.search.XMLComponentSearchPattern;
-import org.eclipse.wst.xml.core.internal.search.XMLSearchParticipant;
-import org.eclipse.wst.xml.core.internal.search.XMLSearchPattern;
-import org.eclipse.wst.xsd.ui.internal.search.IXSDSearchConstants;
-
-public class WSDLSearchParticipant extends XMLSearchParticipant {
-
- private static String ID = "org.eclipse.wst.wsdl.search.WSDLSearchParticipant"; //$NON-NLS-1$
- private static String XSD_PARTICIPANNT_ID = "org.eclipse.wst.xsd.search.XSDSearchParticipant"; //$NON-NLS-1$
-
-
- public WSDLSearchParticipant()
- {
- super();
- id = ID;
- }
-
- public String[] getSupportedContentTypes()
- {
- String[] result = { "org.eclipse.wst.wsdl.wsdlsource" }; //$NON-NLS-1$
- return result;
- }
-
- public boolean isApplicable(SearchPattern pattern, Map searchOptions)
- {
- if(pattern instanceof XMLComponentSearchPattern ){
- XMLComponentSearchPattern componentPattern = (XMLComponentSearchPattern)pattern;
- String namespace = componentPattern.getMetaName().getNamespace();
- if(IWSDLSearchConstants.WSDL_NAMESPACE.equals(namespace) ||
- IXSDSearchConstants.XMLSCHEMA_NAMESPACE.equals(namespace)){
- return true;
- }
- }
- return false;
- }
-
- public ComponentSearchContributor getSearchContributor() {
-
- return new WSDLSearchContributor();
- }
-
- public void beginSearching(SearchPattern pattern, Map searchOptions) {
-
- super.beginSearching(pattern, searchOptions);
- List patterns = new ArrayList();
- if(pattern instanceof XMLComponentDeclarationPattern){
-
- XMLComponentDeclarationPattern componentPattern = (XMLComponentDeclarationPattern)pattern;
- if(IWSDLSearchConstants.WSDL_NAMESPACE.equals(componentPattern.getMetaName().getNamespace())){
- XMLSearchPattern childPattern = getSearchContributor().getDeclarationPattern(componentPattern.getMetaName());
- if(childPattern != null){
- childPattern.setSearchName(componentPattern.getName().getLocalName());
- childPattern.setSearchNamespace(componentPattern.getName().getNamespace());
- patterns.add(childPattern);
- }
- }
- else if(IXSDSearchConstants.XMLSCHEMA_NAMESPACE.equals(componentPattern.getMetaName().getNamespace())){
- SearchParticipant xsdParticipant = SearchPlugin.getDefault().getSearchParticipant(XSD_PARTICIPANNT_ID);
- if(xsdParticipant instanceof XMLSearchParticipant){
- ComponentSearchContributor xsdContributor = ((XMLSearchParticipant)xsdParticipant).getSearchContributor();
- if(xsdContributor != null){
- XMLSearchPattern childPattern = xsdContributor.getDeclarationPattern(componentPattern.getMetaName());
- if(childPattern != null){
- childPattern.setSearchName(componentPattern.getName().getLocalName());
- childPattern.setSearchNamespace(componentPattern.getName().getNamespace());
- patterns.add(childPattern);
- }
- }
- }
- }
- componentPattern.setChildren((XMLSearchPattern[]) patterns.toArray(new XMLSearchPattern[patterns.size()]));
-
- }
- else if(pattern instanceof XMLComponentReferencePattern){
- XMLComponentReferencePattern componentPattern = (XMLComponentReferencePattern)pattern;
- XMLSearchPattern[] childPatterns = getSearchContributor().getReferencesPatterns(componentPattern.getMetaName());
- for (int i = 0; i < childPatterns.length; i++) {
- XMLSearchPattern childPattern = childPatterns[i];
- childPattern.setSearchName(componentPattern.getName().getLocalName());
- childPattern.setSearchNamespace(componentPattern.getName().getNamespace());
- patterns.add(childPattern);
- }
- SearchParticipant xsdParticipant = SearchPlugin.getDefault().getSearchParticipant(XSD_PARTICIPANNT_ID);
- if(xsdParticipant instanceof XMLSearchParticipant){
- ComponentSearchContributor xsdContributor = ((XMLSearchParticipant)xsdParticipant).getSearchContributor();
- if(xsdContributor != null){
- childPatterns = xsdContributor.getReferencesPatterns(componentPattern.getMetaName());
- for (int i = 0; i < childPatterns.length; i++) {
- XMLSearchPattern childPattern = childPatterns[i];
- childPattern.setSearchName(componentPattern.getName().getLocalName());
- childPattern.setSearchNamespace(componentPattern.getName().getNamespace());
- patterns.add(childPattern);
- }
- }
- }
- componentPattern.setChildren((XMLSearchPattern[]) patterns.toArray(new XMLSearchPattern[patterns.size()]));
-
- }
-
- }
-
-
-
-
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesAction.java
deleted file mode 100644
index 6c2a082cf..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesAction.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search.actions;
-import javax.xml.namespace.QName;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.search.ui.NewSearchUI;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IFileEditorInput;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.core.search.scope.SearchScope;
-import org.eclipse.wst.common.core.search.scope.WorkspaceSearchScope;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Binding;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Interface;
-import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Message;
-import org.eclipse.wst.wsdl.ui.internal.search.IWSDLSearchConstants;
-import org.eclipse.wst.xsd.ui.internal.editor.ISelectionMapper;
-import org.eclipse.wst.xsd.ui.internal.search.XSDSearchQuery;
-import org.eclipse.wst.xsd.ui.internal.search.actions.FindAction;
-
-public class WSDLFindReferencesAction extends FindAction
-{
- public WSDLFindReferencesAction(IEditorPart editor)
- {
- super(editor);
- }
-
- public void setActionDefinitionId(String string)
- {
- }
-
- /**
- * To be used by subclass in its run() Returns the file where the selection of
- * a component (from the user) occurs ie. Returns the file that the user is
- * currently working on.
- *
- * @return The IFile representation of the current working file.
- */
- protected IFile getCurrentFile()
- {
- if (editor != null)
- {
- IEditorInput input = editor.getEditorInput();
- if (input instanceof IFileEditorInput)
- {
- IFileEditorInput fileEditorInput = (IFileEditorInput) input;
- return fileEditorInput.getFile();
- }
- }
- return null;
- }
-
- /**
- * To be used by subclass in its run().. Determines the metaName of the WSDL
- * component given to this method.
- *
- * @param component
- * The component of which we want to determine the name
- * @return
- * The first one is for MetaName/Type, second for ElementQualifiedName
- */
- protected QualifiedName[] determineMetaAndQualifiedName(WSDLBaseAdapter component)
- {
- QualifiedName names[] = null;
- QName qName;
- if (component instanceof W11Message )
- {
- names = new QualifiedName[2];
- names[0] = IWSDLSearchConstants.MESSAGE_META_NAME;
- qName = ((Message) component.getTarget()).getQName();
- names[1] = new QualifiedName(qName.getNamespaceURI(), qName.getLocalPart());
- }
- else if (component instanceof W11Interface)
- {
- names = new QualifiedName[2];
- names[0] = IWSDLSearchConstants.PORT_TYPE_META_NAME;
- qName = ((PortType) component.getTarget()).getQName();
- names[1] = new QualifiedName(qName.getNamespaceURI(), qName.getLocalPart());
- }
- else if (component instanceof W11Binding)
- {
- names = new QualifiedName[2];
- names[0] = IWSDLSearchConstants.BINDING_META_NAME;
- qName = ((Binding) component.getTarget()).getQName();
- names[1] = new QualifiedName(qName.getNamespaceURI(), qName.getLocalPart());
-
- }
- return names;
- }
-
- protected WSDLBaseAdapter getWSDLNamedComponent()
- {
- if (editor != null)
- {
- ISelectionProvider provider = (ISelectionProvider) editor.getAdapter(ISelectionProvider.class);
- ISelectionMapper mapper = (ISelectionMapper) editor.getAdapter(ISelectionMapper.class);
- if (provider != null)
- {
- ISelection selection = provider.getSelection();
- if (mapper != null)
- {
- selection = mapper.mapSelection(selection);
- }
- if (selection != null && selection instanceof IStructuredSelection)
- {
- IStructuredSelection s = (IStructuredSelection) selection;
- Object o = s.getFirstElement();
- if (o != null && o instanceof WSDLBaseAdapter)
- {
- return (WSDLBaseAdapter) o;
- }
- }
- }
- }
- // The expected component we get from the editor does not meet
- // our expectation
- return null;
- }
-
- public void run()
- {
- String pattern = "";
- WSDLBaseAdapter component = getWSDLNamedComponent();
- IFile file = getCurrentFile();
- QualifiedName[] names = determineMetaAndQualifiedName(component);
- if (file != null && component != null && names != null)
- {
- SearchScope scope = new WorkspaceSearchScope();
- String scopeDescription = "Workspace";
- XSDSearchQuery searchQuery = new XSDSearchQuery(pattern, file, names[1],
- names[0], XSDSearchQuery.LIMIT_TO_REFERENCES, scope, scopeDescription);
- NewSearchUI.activateSearchResultView();
- NewSearchUI.runQueryInBackground(searchQuery);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInProjectAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInProjectAction.java
deleted file mode 100644
index 0bb521c5c..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInProjectAction.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search.actions;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.search.ui.NewSearchUI;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.core.search.scope.ProjectSearchScope;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.xsd.ui.internal.search.XSDSearchQuery;
-
-public class WSDLFindReferencesInProjectAction extends WSDLFindReferencesAction{
- public WSDLFindReferencesInProjectAction(IEditorPart editor)
- {
- super(editor);
- }
-
- public void run()
- {
- String pattern = "";
- WSDLBaseAdapter component = getWSDLNamedComponent();
- IFile file = getCurrentFile();
- QualifiedName[] names = determineMetaAndQualifiedName(component);
- if (file != null && component != null && names != null)
- {
- IPath fullPath = file.getFullPath();
- ProjectSearchScope scope = new ProjectSearchScope(fullPath);
- String scopeDescription = "Project";
- XSDSearchQuery searchQuery = new XSDSearchQuery(pattern, file, names[1],
- names[0], XSDSearchQuery.LIMIT_TO_REFERENCES, scope, scopeDescription);
- NewSearchUI.activateSearchResultView();
- NewSearchUI.runQueryInBackground(searchQuery);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInWorkingSetAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInWorkingSetAction.java
deleted file mode 100644
index d51016cc3..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInWorkingSetAction.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search.actions;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.jface.window.Window;
-import org.eclipse.search.ui.NewSearchUI;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkingSet;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.dialogs.IWorkingSetSelectionDialog;
-import org.eclipse.wst.common.core.search.pattern.QualifiedName;
-import org.eclipse.wst.common.core.search.scope.WorkingSetSearchScope;
-import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
-import org.eclipse.wst.xsd.ui.internal.editor.XSDEditorPlugin;
-import org.eclipse.wst.xsd.ui.internal.search.XSDSearchQuery;
-
-public class WSDLFindReferencesInWorkingSetAction extends WSDLFindReferencesAction{
-
- public WSDLFindReferencesInWorkingSetAction(IEditorPart editor) {
- super(editor);
- }
-
- public void run(){
- IWorkingSet[] workingSets = queryWorkingSets();
- if ( workingSets == null || workingSets.length == 0)
- // The user chooses nothing, no point to continue.
- return;
- String pattern = "";
-
- WSDLBaseAdapter component = getWSDLNamedComponent();
- IFile file = getCurrentFile();
- QualifiedName[] names = determineMetaAndQualifiedName(component);
- if ( file != null && component != null){
- // Create a scope from the selected working sets
- WorkingSetSearchScope scope = new WorkingSetSearchScope();
- for (int i = 0; i < workingSets.length; i++){
- IAdaptable[] elements = workingSets[i].getElements();
- scope.addAWorkingSetToScope(elements);
- }
-
- String scopeDescription = "Working Set";
- XSDSearchQuery searchQuery =
- new XSDSearchQuery(pattern, file, names[1], names[0], XSDSearchQuery.LIMIT_TO_REFERENCES, scope, scopeDescription);
- NewSearchUI.activateSearchResultView();
- NewSearchUI.runQueryInBackground(searchQuery);
- }
- }
-
- /**
- * Calls a dialog asking the user to choose the working Sets he wants
- * to do the search on
- * @return
- */
- public static IWorkingSet[] queryWorkingSets(){
- Shell shell= XSDEditorPlugin.getShell();
- if (shell == null)
- return null;
- IWorkingSetSelectionDialog dialog =
- PlatformUI.getWorkbench().getWorkingSetManager().createWorkingSetSelectionDialog(shell, true);
- if (dialog.open() == Window.OK) {
- IWorkingSet[] workingSets= dialog.getSelection();
- if (workingSets.length > 0)
- return workingSets;
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLReferencesSearchGroup.java b/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLReferencesSearchGroup.java
deleted file mode 100644
index a5b527fe2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLReferencesSearchGroup.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search.actions;
-
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.wst.xsd.ui.internal.search.SearchMessages;
-import org.eclipse.wst.xsd.ui.internal.search.actions.ReferencesSearchGroup;
-
-public class WSDLReferencesSearchGroup extends ReferencesSearchGroup {
- /**
- * Note: This constructor is for internal use only. Clients should not call this constructor.
- * @param editor
- */
- public WSDLReferencesSearchGroup(IEditorPart editor) {
- super(editor);
- }
-
- protected void initialize() {
-// fGroupId= ITextEditorActionConstants.GROUP_FIND;
-
- fFindReferencesAction= new WSDLFindReferencesAction(fEditor);
- fFindReferencesAction.setText(SearchMessages.Search_FindDeclarationAction_label);
- fFindReferencesAction.setActionDefinitionId("SEARCH_REFERENCES_IN_WORKSPACE");
- //fEditor.setAction("SearchReferencesInWorkspace", fFindReferencesAction); //$NON-NLS-1$
-
- fFindReferencesInProjectAction= new WSDLFindReferencesInProjectAction(fEditor);
- fFindReferencesInProjectAction.setText(SearchMessages.Search_FindDeclarationsInProjectAction_label);
- fFindReferencesInProjectAction.setActionDefinitionId("SEARCH_REFERENCES_IN_PROJECT");
- //fEditor.setAction("SearchReferencesInProject", fFindReferencesInProjectAction); //$NON-NLS-1$
-
- fFindReferencesInWorkingSetAction= new WSDLFindReferencesInWorkingSetAction(fEditor);
- fFindReferencesInWorkingSetAction.setText(SearchMessages.Search_FindDeclarationsInWorkingSetAction_label);
- fFindReferencesInWorkingSetAction.setActionDefinitionId(".SEARCH_REFERENCES_IN_WORKING_SET");
- //fEditor.setAction("SearchReferencesInWorkingSet", fFindReferencesInWorkingSetAction); //$NON-NLS-1$
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLSearchReferencesGroupActionDelegate.java b/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLSearchReferencesGroupActionDelegate.java
deleted file mode 100644
index 55fc2095a..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLSearchReferencesGroupActionDelegate.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.search.actions;
-
-import org.eclipse.swt.widgets.Menu;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPartSite;
-import org.eclipse.wst.xsd.ui.internal.search.actions.BaseGroupActionDelegate;
-import org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchGroupSubMenu;
-
-public class WSDLSearchReferencesGroupActionDelegate extends BaseGroupActionDelegate
-{
- protected void fillMenu(Menu menu) {
- try
- {
- if (fSelection == null) {
- return;
- }
- if (workbenchPart != null)
- {
- IWorkbenchPartSite site = workbenchPart.getSite();
- if (site == null)
- return;
-
- IEditorPart editor = site.getPage().getActiveEditor();
- if ( editor != null ){
- WSDLReferencesSearchGroup referencesGroup = new WSDLReferencesSearchGroup(editor);
- XSDSearchGroupSubMenu subMenu = new XSDSearchGroupSubMenu(referencesGroup);
- subMenu.fill(menu, -1);
- }
- }
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/Messages.java b/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/Messages.java
deleted file mode 100644
index b71c21717..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/Messages.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.soap.customizations;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.wst.wsdl.ui.internal.soap.customizations.messages"; //$NON-NLS-1$
-
- public static String UI_SPECIFY_PARTS_DIALOG_TITLE;
- public static String UI_PARTS_BUTTON;
-
- static {
- // load message values from bundle file
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- // cannot create new instance
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPNodeEditorProvider.java b/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPNodeEditorProvider.java
deleted file mode 100644
index 69669104e..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPNodeEditorProvider.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.soap.customizations;
-
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.ui.internal.util.NodeAssociationManager;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.custom.DialogNodeEditorConfiguration;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.custom.NodeEditorConfiguration;
-import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.custom.NodeEditorProvider;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/**
- * This class is provided as an example of how a NodeEditorProvider can utilize the WSDL model if required
- * (and is not limited to the DOM model). It's hope that potential adopters can provide feedback and open
- * bugs where they find support is lacking or inconvenient.
- */
-public class SOAPNodeEditorProvider extends NodeEditorProvider
-{
- public NodeEditorConfiguration getNodeEditorConfiguration(String parentName, String nodeName)
- {
- // TODO (cs) this extension is only designed to work when used via the WSDL Editor context.
- // Reuse from other context is possible too if the editor provides the appropriate 'getAdapter' behaviour.
- // We need to revisit this and get more feedback from adopters to see if different approach is required
- // in order to obtain a WSDL model.
-// /
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- final Definition definition = (Definition)editor.getAdapter(Definition.class);
- if (definition != null)
- {
- if (parentName.equals("body") && nodeName.equals("parts")) //$NON-NLS-1$ //$NON-NLS-2$
- {
- // gee... this case sounds sorta morbid eh?
- //
- return new DialogNodeEditorConfiguration()
- {
- public void invokeDialog()
- {
- Node parentNode = getParentNode();
- if (parentNode instanceof Element)
- {
- Element element = (Element)getParentNode();
-
- // TODO (cs) I think we should push this function down to the WSDL model (ala XSD model)
- //
- NodeAssociationManager nodeAssociationManager = new NodeAssociationManager();
- Object o = nodeAssociationManager.getModelObjectForNode(definition, element);
- if (o instanceof SOAPBody)
- {
- SOAPSelectPartsDialog dialog = new SOAPSelectPartsDialog(Display.getCurrent().getActiveShell(), definition, (SOAPBody)o);
- dialog.create();
- dialog.getShell().setText(Messages.UI_SPECIFY_PARTS_DIALOG_TITLE); //$NON-NLS-1$
- int rc = dialog.open();
- if (rc == Dialog.OK)
- {
- String value = ""; //$NON-NLS-1$
- Part[] parts = dialog.getSelectedParts();
- for (int i = 0; i < parts.length; i++)
- {
- Part part = parts[i];
- value += part.getName();
- value += " "; //$NON-NLS-1$
- }
-
- // TODO (cs) we need to provide 'command' support so that we can handle undo properly
- //
- element.setAttribute("parts", value); //$NON-NLS-1$
- }
- }
- }
- }
- public String getButonText()
- {
- return Messages.UI_PARTS_BUTTON; //$NON-NLS-1$
- }
- };
- }
- }
- return null;
- }
-}
-
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPSelectPartsDialog.java b/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPSelectPartsDialog.java
deleted file mode 100644
index 550b55172..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPSelectPartsDialog.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.ui.internal.soap.customizations;
-
-import java.util.Collections;
-import java.util.List;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.viewers.CheckboxTreeViewer;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
-import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
-
-public class SOAPSelectPartsDialog extends Dialog
-{
- Definition definition;
- SOAPBody body;
- CheckboxTreeViewer checkList;
- Part[] selectedParts = {};
-
- public SOAPSelectPartsDialog(Shell parentShell, Definition definition, SOAPBody body)
- {
- super(parentShell);
- this.definition = definition;
- this.body = body;
- }
-
- protected Control createDialogArea(Composite parent)
- {
- Composite composite = (Composite)super.createDialogArea(parent);
- checkList = new CheckboxTreeViewer(composite, SWT.NONE);
- GridData gridData = new GridData(GridData.FILL_BOTH);
- gridData.heightHint = 100;
- gridData.widthHint = 200;
- checkList.getControl().setLayoutData(gridData);
- checkList.setContentProvider(new InternalTreeContentProvider());
- checkList.setLabelProvider(new InternalLabelProvider());
- checkList.setInput("");
-
- List list = body.getParts();
- checkList.setCheckedElements(list.toArray());
- return composite;
- }
-
- protected void okPressed()
- {
- Object[] checked = checkList.getCheckedElements();
- selectedParts = new Part[checked.length];
- for (int i = 0; i < checked.length; i++)
- {
- selectedParts[i] = (Part)checked[i];
- }
- super.okPressed();
- }
-
-
- class InternalLabelProvider extends LabelProvider
- {
- public String getText(Object element)
- {
- Part part = (Part)element;
- return part.getName();
- }
-
- public Image getImage(Object element)
- {
- return WSDLEditorPlugin.getInstance().getImage("icons/part_obj.gif");
- }
- }
-
- class InternalTreeContentProvider implements ITreeContentProvider
- {
- public Object[] getElements(Object inputElement)
- {
- EObject container = body.eContainer();
- MessageReference messageReference = null;
- if (container instanceof BindingInput)
- {
- messageReference = ComponentReferenceUtil.computeInput((BindingInput)container);
- }
- else if (container instanceof BindingOutput)
- {
- messageReference = ComponentReferenceUtil.computeOutput((BindingOutput)container);
- }
- if (messageReference != null && messageReference.getEMessage() != null)
- {
- return messageReference.getEMessage().getEParts().toArray();
- }
- return Collections.EMPTY_LIST.toArray();
- }
-
- public Object[] getChildren(Object parentElement)
- {
- return Collections.EMPTY_LIST.toArray();
- }
-
- public Object getParent(Object element)
- {
- return null;
- }
-
- public boolean hasChildren(Object element)
- {
- return false;
- }
-
- public void dispose()
- {
- }
-
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
- {
- }
- }
-
- public Part[] getSelectedParts()
- {
- return selectedParts;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/messages.properties b/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/messages.properties
deleted file mode 100644
index 943fa8eb2..000000000
--- a/bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/messages.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-UI_SPECIFY_PARTS_DIALOG_TITLE=Specify Parts
-UI_PARTS_BUTTON=...
diff --git a/bundles/org.eclipse.wst.wsdl.validation/.classpath b/bundles/org.eclipse.wst.wsdl.validation/.classpath
deleted file mode 100644
index 2114c105e..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry excluding="wsdlvalidateui/|wsdlvalidate/" kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.wsdl.validation/.cvsignore b/bundles/org.eclipse.wst.wsdl.validation/.cvsignore
deleted file mode 100644
index 08032ea9c..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/.cvsignore
+++ /dev/null
@@ -1,10 +0,0 @@
-bin
-build.xml
-temp.folder
-wsdlvalidate.jar
-wsdlvalidateui.jar
-wsdlvalidatesrc.zip
-wsdlvalidateuisrc.zip
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.wsdl.validation/.project b/bundles/org.eclipse.wst.wsdl.validation/.project
deleted file mode 100644
index 9190c3717..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.wsdl.validation</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index ebbfcadd3..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Tue Apr 18 12:30:29 EDT 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=error
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=error
-org.eclipse.jdt.core.compiler.problem.unusedLocal=error
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=error
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index ca5cec7a3..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Apr 18 12:30:29 EDT 2006
-eclipse.preferences.version=1
-internal.default.compliance=default
diff --git a/bundles/org.eclipse.wst.wsdl.validation/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.wsdl.validation/META-INF/MANIFEST.MF
deleted file mode 100644
index 563cecdec..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,31 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %_PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.wsdl.validation; singleton:=true
-Bundle-Version: 1.1.100.qualifier
-Bundle-Activator: org.eclipse.wst.wsdl.validation.internal.eclipse.ValidateWSDLPlugin
-Bundle-Vendor: %_PROVIDER_NAME
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.wsdl.validation.internal;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.eclipse;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.exception;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.logging;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.resolver;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.ui.ant;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.ui.text;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.util;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.wsdl11;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.wsdl11.http;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.wsdl11.mime;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.wsdl11.soap;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi",
- org.eclipse.wst.wsdl.validation.internal.xml;x-friends:="org.eclipse.wst.wsdl.validation.tests,org.eclipse.wst.wsi"
-Require-Bundle: org.eclipse.core.resources;bundle-version="[3.2.0,3.3.0)",
- org.apache.ant;bundle-version="[1.6.5,1.7.0)",
- org.eclipse.wst.common.uriresolver;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.validation;bundle-version="[1.1.0,1.2.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.apache.xerces;visibility:=reexport;bundle-version="[2.8.0,2.9.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,3.3.0)",
- org.eclipse.wst.xml.core;bundle-version="[1.1.0,1.2.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.wsdl.validation/about.html b/bundles/org.eclipse.wst.wsdl.validation/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.wsdl.validation/build.properties b/bundles/org.eclipse.wst.wsdl.validation/build.properties
deleted file mode 100644
index 2db24c62c..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/build.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- plugin.properties,\
- plugin.xml,\
- .,\
- about.html,\
- exsd/
-src.includes = build.properties
diff --git a/bundles/org.eclipse.wst.wsdl.validation/exsd/extvalidator.exsd b/bundles/org.eclipse.wst.wsdl.validation/exsd/extvalidator.exsd
deleted file mode 100644
index bfe8dd2a0..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/exsd/extvalidator.exsd
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl.validation">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl.validation" id="extvalidator" name="WSDL Extension Validator"/>
- </appInfo>
- <documentation>
- The WSDL Extension Validator extension point allows clients to contribute a validator that provides custom validation logic for WSDL 1.1 documents.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="extvalidator"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="extvalidator">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.wst.wsdl.validation.internal.IWSDLValidator&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.wst.wsdl.validation.internal.IWSDLValidator"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="namespace" type="string" use="required">
- <annotation>
- <documentation>
- The WSDL namespace for which this validator should run. Currently the only accepted value is http://schemas.xmlsoap.org/wsdl/.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of a WSDL Extension Validator contribution:
-&lt;pre&gt;
- &lt;extension
- id=&quot;wsdlWSIValidator&quot;
- name=&quot;WSDL WS-I Validator&quot;
- point=&quot;org.eclipse.wst.wsdl.validation.extvalidator&quot;&gt;
- &lt;extvalidator
- namespace=&quot;http://schemas.xmlsoap.org/wsdl/&quot;
- class=&quot;org.eclipse.wst.wsi.internal.validate.wsdl.WSDLValidator&quot;&gt;
- &lt;/extvalidator&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.validation.internal.IWSDLValidator&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- &lt;code&gt;
-org.eclipse.wst.wsi.internal.validate.wsdl.WSDLValidator
-&lt;/code&gt;
-Contributes WS-I validation logic for the namespace http://schemas.xmlsoap.org/wsdl/.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2006 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl.validation/exsd/wsdl11validator.exsd b/bundles/org.eclipse.wst.wsdl.validation/exsd/wsdl11validator.exsd
deleted file mode 100644
index 94b60ebf3..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/exsd/wsdl11validator.exsd
+++ /dev/null
@@ -1,132 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl.validation">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl.validation" id="wsdl11validator" name="WSDL 1.1 Extension Validator"/>
- </appInfo>
- <documentation>
- The WSDL 1.1 Extension Validator extension point allows clients to contribute a validator for a specific namespace to WSDL 1.1 validation.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="validator"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="validator">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="namespace" type="string" use="required">
- <annotation>
- <documentation>
- The namespace this validator will validate.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of a WSDL 1.1 Extension Validator contribution:
-&lt;pre&gt;
- &lt;extension
- point=&quot;org.eclipse.wst.wsdl.validation.wsdl11validator&quot;&gt;
- &lt;validator
- class=&quot;org.eclipse.wst.wsdl.validation.internal.wsdl11.http.HTTPValidator&quot;
- namespace=&quot;http://schemas.xmlsoap.org/wsdl/http/&quot;/&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11Validator&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- &lt;code&gt;
-org.eclipse.wst.wsdl.validation.internal.wsdl11.http.HTTPValdiator
-&lt;/code&gt;
-Contributes validation logic for the namespace http://schemas.xmlsoap.org/wsdl/http/.
-&lt;code&gt;
-org.eclipse.wst.wsdl.validation.internal.wsdl11.mime.MIMEValdiator
-&lt;/code&gt;
-Contributes validation logic for the namespace http://schemas.xmlsoap.org/wsdl/mime/.
-&lt;code&gt;
-org.eclipse.wst.wsdl.validation.internal.wsdl11.soap.SOAPValdiator
-&lt;/code&gt;
-Contributes validation logic for the namespace http://schemas.xmlsoap.org/wsdl/soap/.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2006 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl.validation/lib/.cvsignore b/bundles/org.eclipse.wst.wsdl.validation/lib/.cvsignore
deleted file mode 100644
index d392f0e82..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/lib/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-*.jar
diff --git a/bundles/org.eclipse.wst.wsdl.validation/plugin.properties b/bundles/org.eclipse.wst.wsdl.validation/plugin.properties
deleted file mode 100644
index 6cf40cd9c..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/plugin.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-!-- properties file for org.eclipse.wst.wsdl.validation
-!-- Tool Name
-
-_PLUGIN_NAME = WSDL Validator
-_PROVIDER_NAME = Eclipse.org
-
-_UI_WSDL4J_VALIDATOR_DELEGATE = WSDL4J-based WSDL Validator
-_UI_WSDL_VALIDATOR = WSDL Validator
-_UI_WSDL_VALIDATOR_MARKER = WSDL Problem
-
-!-- Extension points
-_WSDL_EXTENSION_VALIDATOR_NAME = WSDL Extension Validator
-_WSDL11_VALIDATOR_NAME = WSDL 1.1 Validator \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/plugin.xml b/bundles/org.eclipse.wst.wsdl.validation/plugin.xml
deleted file mode 100644
index ce49a2338..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/plugin.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension-point id="extvalidator" name="%_WSDL_EXTENSION_VALIDATOR_NAME" schema="exsd/extvalidator.exsd"/>
-
- <extension-point id="wsdl11validator" name="%WSDL11_VALIDATOR_NAME" schema="exsd/wsdl11validator.exsd"/>
-
- <extension
- point="org.eclipse.wst.validation.validatorDelegates">
- <delegate
- class="org.eclipse.wst.wsdl.validation.internal.eclipse.Validator"
- name="%_UI_WSDL4J_VALIDATOR_DELEGATE"
- target="org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator"/>
- </extension>
-
- <!-- ====================================================== -->
- <!-- An extension for adding the WSDL validator to the -->
- <!-- validation framework. --> -->
- <!-- ====================================================== -->
- <extension
- id="wsdlValidator"
- name="%_UI_WSDL_VALIDATOR"
- point="org.eclipse.wst.validation.validator">
- <validator>
- <filter
- objectClass="org.eclipse.core.resources.IFile"
- caseSensitive="false"
- nameFilter="*.wsdl">
- </filter>
- <helper
- class="org.eclipse.wst.xml.core.internal.validation.core.Helper">
- </helper>
- <run
- async="true"
- class="org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator"
- enabled="true"
- fullBuild="true"
- incremental="true">
- </run>
- <markerId markerIdValue="org.eclipse.wst.wsdl.validation.validationMarker"/>
- </validator>
- </extension>
- <extension
- id="validationMarker"
- name="%_UI_WSDL_VALIDATOR_MARKER"
- point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.wst.validation.problemmarker"/>
- <persistent value="true"/>
- </extension>
-</plugin>
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ClassloaderWSDLValidatorDelegate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ClassloaderWSDLValidatorDelegate.java
deleted file mode 100644
index 387ca95ed..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ClassloaderWSDLValidatorDelegate.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-
-
-
-/**
- * A delegate holds a validator's information and can instantiate it
- * when requested to.
- */
-public class ClassloaderWSDLValidatorDelegate extends WSDLValidatorDelegate
-{
- private String validatorClassname = null;
- private ClassLoader classLoader = null;
-
- /**
- * Create a delegate for a validator by its class name.
- *
- * @param validatorClassname The name of the validator class.
- */
- public ClassloaderWSDLValidatorDelegate(String validatorClassname)
- {
- this.validatorClassname = validatorClassname;
- }
-
- /**
- * Create a delegate for a validator by its class name and
- * a class loader to load the validator.
- *
- * @param validatorClassname The name of the validator class.
- * @param classLoader The class loader to use to load the validator.
- */
- public ClassloaderWSDLValidatorDelegate(String validatorClassname, ClassLoader classLoader)
- {
- this(validatorClassname);
- this.classLoader = classLoader;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.WSDLValidatorDelegate#loadValidator()
- */
- protected IWSDLValidator loadValidator()
- {
- IWSDLValidator validator = null;
- if(classLoader == null)
- {
- classLoader = getClass().getClassLoader();
- }
- try
- {
- Class validatorClass =
- classLoader != null ? classLoader.loadClass(validatorClassname) : Class.forName(validatorClassname);
-
- validator = (IWSDLValidator)validatorClass.newInstance();
- }
- catch(Throwable t)
- {
- LoggerFactory.getInstance().getLogger().log("Unable to load validator " + validatorClassname, ILogger.SEV_ERROR, t);
- }
- return validator;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.WSDLValidatorDelegate#getValidatorName()
- */
- public String getValidatorName()
- {
- return validatorClassname;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/Constants.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/Constants.java
deleted file mode 100644
index afde1a451..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/Constants.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-/**
- * Set constants that the validator makes use of.
- */
-public interface Constants
-{
- /**
- * The name of the validator properties file.
- */
- public final static String WSDL_VALIDATOR_PROPERTIES_FILE = "validatewsdl";
-
- /**
- * The SOAP 1.1 namespace.
- */
- public final static String NS_SOAP11 = "http://schemas.xmlsoap.org/wsdl/soap/";
-
- /**
- * The HTTP namespace.
- */
- public final static String NS_HTTP = "http://schemas.xmlsoap.org/wsdl/http/";
-
- /**
- * The MIME namespace.
- */
- public final static String NS_MIME = "http://schemas.xmlsoap.org/wsdl/mime/";
-
- /**
- * The WSDL schema cache attribute allows an XMLGrammarPool object to be set for use in
- * inline schema validation.
- */
- public final static String XMLSCHEMA_CACHE_ATTRIBUTE = "http://www.eclipse.org/webtools/wsdl/schemacache";
-
- /**
- * The WSDL schema cache attribute allows an XMLGrammarPool object to be set for use in
- * XML conformance validation.
- */
- public final static String XML_CACHE_ATTRIBUTE = "http://www.eclipse.org/webtools/wsdl/xmlcache";
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ControllerValidationInfo.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ControllerValidationInfo.java
deleted file mode 100644
index 34f4d51cf..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ControllerValidationInfo.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-
-/**
- * An interface for the validation info that allows for starting and
- * completing WSDL and WS-I validation.
- */
-public interface ControllerValidationInfo extends IValidationInfo
-{
-
- /**
- * Perform the necessary steps to complete WSDL validation.
- */
- public void completeWSDLValidation();
-
-// /**
-// * Perform the necessary steps to complete WS-I WSDL validation.
-// */
-// public void completeWSIValidation();
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationInfo.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationInfo.java
deleted file mode 100644
index 34e1581a0..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationInfo.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-
-
-/**
- * An interface representing the current validation information.
- * This interface is not meant to be implemented by clients.
- */
-public interface IValidationInfo extends IValidationReport
-{
-
- /**
- * Add an error message for this file. (Uses the URI from this validation info object.)
- *
- * @param message The message for the error.
- * @param line The line location of the error in the file.
- * @param column The column location of the error in the file.
- * @deprecated
- */
- public void addError(String message, int line, int column);
-
- /**
- * Add an error message.
- *
- * @param message The message for the error.
- * @param line The line location of the error in the file.
- * @param column The column location of the error in the file.
- * @param uri The URI of the file that contains the error.
- */
- public void addError(String message, int line, int column, String uri);
-
- /**
- * Add a warning message for this file. (Uses the URI from this validation info object.)
- *
- * @param message The message for the warning.
- * @param line The line location of the warning in the file.
- * @param column The column location of the warning in the file.
- * @deprecated
- */
- public void addWarning(String message, int line, int column);
-
- /**
- * Add a warning message.
- *
- * @param message The message for the warning.
- * @param line The line location of the warning in the file.
- * @param column The column location of the warning in the file.
- * @param uri The URI of the file that contains the error.
- */
- public void addWarning(String message, int line, int column, String uri);
-
- /**
- * Get the URI resolver in use for this validation. The URI resolver
- * returned is actually a URI resolver handler that will
- * iterate through all of the registered URI resolvers.
- *
- * @return The URI resolver handler.
- */
- public URIResolver getURIResolver();
-
- /**
- * Get the attribute with the given name. If the attribute
- * has not been registered, return null.
- *
- * @param name The name of the attribute being requested.
- * @return The attribute value if the attribute has been registered, null otherwise.
- */
- public Object getAttribute(String name);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationMessage.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationMessage.java
deleted file mode 100644
index 3f5a9af27..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationMessage.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.QualifiedName;
-
-/**
- * An interface for a validation message. A validation message contains information
- * for the message, its severity and where it's located.
- */
-public interface IValidationMessage
-{
- public static final QualifiedName ERROR_MESSAGE_MAP_QUALIFIED_NAME = new QualifiedName("org.eclipse.wsdl.validate", "errorMessageMap");
- /**
- * Severity error.
- */
- public static final int SEV_ERROR = 0;
- /**
- * Severity warning.
- */
- public static final int SEV_WARNING = 1;
-
- /**
- * Returns the URI for the file that contains the validation message.
- *
- * @return The URI for the file that contains the validation message.
- */
- public String getURI();
-
- /**
- * Return the message for this validation message.
- *
- * @return The message for this validation message.
- */
- public String getMessage();
-
- /**
- * Return the severity of this validation message.
- *
- * @return The severity of this validation message.
- */
- public int getSeverity();
-
- /**
- * Return the line where this validation message is located.
- *
- * @return The line where this validation message is located.
- */
- public int getLine();
-
- /**
- * Return the column where this validation message is located.
- *
- * @return The column where this validation message is located.
- */
- public int getColumn();
-
- /**
- * Get the list of nested validation messages.
- *
- * @return The list of nested validation messages.
- */
- public List getNestedMessages();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationReport.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationReport.java
deleted file mode 100644
index ced4bd8cc..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationReport.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.util.HashMap;
-
-/**
- * An interface for a WSDL validation report.
- */
-public interface IValidationReport
-{
- /**
- * Returns the URI for the file the report refers to.
- *
- * @return The URI for the file the report refers to.
- */
- public String getFileURI();
-
- /**
- * Returns whether the file is valid according to the WSDL specification.
- *
- * @return True if the file is WSDL valid, false otherwise.
- */
- public boolean isWSDLValid();
-
- /**
- * Returns an array of validation messages.
- *
- * @return An array of validation messages.
- */
- public IValidationMessage[] getValidationMessages();
-
- /**
- * Returns true if there are errors, false otherwise.
- *
- * @return True if there are errors, false otherwise.
- */
- public boolean hasErrors();
-
- public HashMap getNestedMessages();
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IWSDLValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IWSDLValidator.java
deleted file mode 100644
index cac0de30e..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IWSDLValidator.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import org.eclipse.wst.wsdl.validation.internal.exception.ValidateWSDLException;
-import org.w3c.dom.Document;
-
-/**
- * An interface for a WSDL validator. This is the interface for a top level validator
- * component such as a WSDL 1.1 validator, WSDL 1.2 validator or WS-I Basic Profile validator.
- */
-public interface IWSDLValidator
-{
- /**
- * Validate the file with the given name.
- *
- * @param domModel A DOM model of the file to be validated.
- * @param valInfo The information for the validation that is being performed.
- * @throws ValidateWSDLException
- */
- public void validate(Document domModel, IValidationInfo valInfo) throws ValidateWSDLException;
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationController.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationController.java
deleted file mode 100644
index f10dff2a0..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationController.java
+++ /dev/null
@@ -1,393 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.io.BufferedReader;
-import java.io.ByteArrayInputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ResourceBundle;
-
-import org.apache.xerces.impl.XMLErrorReporter;
-import org.apache.xerces.parsers.DOMParser;
-import org.apache.xerces.parsers.StandardParserConfiguration;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.eclipse.wst.wsdl.validation.internal.exception.ValidateWSDLException;
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.xml.AbstractXMLConformanceFactory;
-import org.eclipse.wst.wsdl.validation.internal.xml.DefaultXMLValidator;
-import org.eclipse.wst.wsdl.validation.internal.xml.IXMLValidator;
-import org.eclipse.wst.wsdl.validation.internal.xml.LineNumberDOMParser;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.xml.sax.InputSource;
-
-/**
- * This is the main entrypoint to the WSDL Validator. The controller is
- * responsible for calling the reader, the XML conformance check, the WSDL
- * validation and the WS-I validation if selected. The controller contains any
- * errors and warnings generated as well.
- */
-public class ValidationController
-{
- protected final String _ERROR_PROBLEM_WSDL_VALIDATOR = "_ERROR_PROBLEM_WSDL_VALIDATOR";
- protected final String _ERROR_NO_WSDL_VALIDATOR = "_ERROR_NO_WSDL_VALIDATOR";
- protected final String _ERROR_PROBLEM_EXT_VALIDATOR = "_ERROR_PROBLEM_EXT_VALIDATOR";
- protected final String _ERROR_DOCUMENT_LOCATION = "_ERROR_DOCUMENT_LOCATION";
-
- protected ValidatorRegistry ver;
- protected ResourceBundle resourcebundle;
- protected MessageGenerator messagegenerator;
- protected URIResolver uriResolver;
-
- //protected String wsdlNamespace = null;
-
- /**
- * The ResourceBundle needs to be set so it can be passed to the reader.
- *
- * @param rb
- * The resource bundle for this validator.
- */
- public ValidationController(ResourceBundle rb, URIResolver uriResolver)
- {
- resourcebundle = rb;
- messagegenerator = new MessageGenerator(resourcebundle);
- this.uriResolver = uriResolver;
-
- ver = ValidatorRegistry.getInstance();
- }
-
- /**
- * Validate the WSDL file with the stream. This method will run the check of the
- * WSDL document. The validation is broken up into three stages: XML conformance,
- * WSDL semantic, and post validation.
- *
- * @param uri
- * The URI of the WSDL document to be validated.
- * @param inputStream
- * The contents of the WSDL document to be validated.
- * @param configuration
- * The WSDL validation configuration to be used while validating this URI.
- * @return A validation report with the validation info for the file.
- */
- public IValidationReport validate(String uri, InputStream inputStream, WSDLValidationConfiguration configuration)
- {
-
- InputStream xmlValidateStream = null;
- InputStream wsdlValidateStream = null;
- if (inputStream != null)
- { //copy the inputStream so we can use it more than once
- String contents = createStringForInputStream(inputStream);
- xmlValidateStream = new ByteArrayInputStream(contents.getBytes());
- wsdlValidateStream = new ByteArrayInputStream(contents.getBytes());
- }
-
- ControllerValidationInfo valInfo = new ValidationInfoImpl(uri, messagegenerator);
- ((ValidationInfoImpl)valInfo).setURIResolver(uriResolver);
- ((ValidationInfoImpl)valInfo).setConfiguration(configuration);
-
- if (validateXML(valInfo, xmlValidateStream))
- {
- Document wsdldoc = getDocument(uri, wsdlValidateStream, valInfo);
-
- if(!valInfo.hasErrors())
- {
- String wsdlns = getWSDLNamespace(wsdldoc);
- if(wsdlns != null)
- {
- if (validateWSDL(wsdldoc, valInfo, wsdlns))
- {
- validateExtensionValidators(wsdldoc, valInfo, wsdlns);
- }
- }
- }
- }
- return valInfo;
- }
-
- /**
- * Validate the file for XML conformance.
- * @param valInfo information about the validation
- * @param inputStream the inputStream to validate
- * @return True if the file is conformant, false otherwise.
- */
- protected boolean validateXML(ControllerValidationInfo valInfo, InputStream inputStream)
- {
- IXMLValidator xmlValidator = AbstractXMLConformanceFactory.getInstance().getXMLValidator();
- xmlValidator.setURIResolver(uriResolver);
- xmlValidator.setFile(valInfo.getFileURI());
- if (xmlValidator instanceof DefaultXMLValidator)
- {
- ((DefaultXMLValidator)xmlValidator).setInputStream(inputStream);
- XMLGrammarPool grammarPool = (XMLGrammarPool)valInfo.getAttribute(Constants.XML_CACHE_ATTRIBUTE);
- if(grammarPool != null)
- ((DefaultXMLValidator)xmlValidator).setGrammarPool(grammarPool);
- }
- //xmlValidator.setValidationInfo(valInfo);
- xmlValidator.run();
- // if there are no xml conformance problems go on to check the wsdl stuff
- if (xmlValidator.hasErrors())
- {
- // temp handling of XML errors until validator is updated.
- List errors = xmlValidator.getErrors();
- Iterator errorsIter = errors.iterator();
- while (errorsIter.hasNext())
- {
- IValidationMessage valMes = (IValidationMessage)errorsIter.next();
-
- if (valMes instanceof ValidationMessageImpl && valInfo instanceof ValidationInfoImpl)
- { String errorKey = ((ValidationMessageImpl)valMes).getErrorKey();
- Object[] messageArgs = ((ValidationMessageImpl)valMes).getMessageArguments();
- ((ValidationInfoImpl)valInfo).addError(valMes.getMessage(), valMes.getLine(), valMes.getColumn(), valMes.getURI(), errorKey, messageArgs);
- }
- else
- {
- valInfo.addError(valMes.getMessage(), valMes.getLine(), valMes.getColumn(), valMes.getURI());
- }
- }
- return false;
- }
- //wsdlNamespace = xmlValidator.getWSDLNamespace();
- return true;
- }
-
- /**
- * Validate the file for XML conformance.
- * @param valInfo information about the validation
- * @return True if the file is conformant, false otherwise.
- */
- protected boolean validateXML(ControllerValidationInfo valInfo)
- { return validateXML(valInfo, null);
- }
-
- /**
- * Validate the WSDL file. Set the errors and warning appropriately.
- *
- * @param wsdldoc A W3C document representation of the WSDL document.
- * @param valInfo The current validation information.
- * @param wsdlNamespace The WSDL namespace to validate.
- * @return True if the file is valid, false otherwise.
- */
- protected boolean validateWSDL(Document wsdldoc, ControllerValidationInfo valInfo, String wsdlNamespace)
- {
- WSDLValidatorDelegate[] wsdlVals = ver.queryValidatorRegistry(wsdlNamespace, ValidatorRegistry.WSDL_VALIDATOR);
- if (wsdlVals != null)
- {
- for (int i = 0; i < wsdlVals.length; i++)
- {
- WSDLValidatorDelegate wsdlvaldel = wsdlVals[i];
- IWSDLValidator wsdlVal = wsdlvaldel.getValidator();
-
- // If the wsdl validator isn't null, validate.
- if (wsdlVal != null)
- {
- try
- {
- wsdlVal.validate(wsdldoc, valInfo);
- }
- catch (ValidateWSDLException e)
- {
- valInfo.addError(messagegenerator.getString(_ERROR_PROBLEM_WSDL_VALIDATOR, wsdlNamespace), 1, 1, valInfo.getFileURI());
- }
- }
- // If the validator is null and the namespace isn't create an error.
- // If the namespace is null the file is empty (and the XML validator
- // has let it go)
- // so it is valid but does not need to be validated.
- else
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_NO_WSDL_VALIDATOR, wsdlNamespace),
- 1,
- 1,
- valInfo.getFileURI());
- }
- }
- }
- // No validators registered.
- else
- {
- valInfo.addError(messagegenerator.getString(_ERROR_NO_WSDL_VALIDATOR, wsdlNamespace), 1, 1, valInfo.getFileURI());
- }
- valInfo.completeWSDLValidation();
-
- return valInfo.isWSDLValid();
- }
-
- /**
- * Validate the WSDL file with the extension validator. Set the errors and warning appropriately.
- *
- * @param wsdldoc A W3C document representation of the WSDL document.
- * @param valInfo The current validation information.
- * @param wsdlNamespace The WSDL namespace to validate.
- * @return True if the file is valid, false otherwise.
- */
- protected void validateExtensionValidators(Document wsdldoc, ControllerValidationInfo valInfo, String wsdlNamespace)
- {
- WSDLValidatorDelegate[] extVals = ver.queryValidatorRegistry(wsdlNamespace, ValidatorRegistry.EXT_VALIDATOR);
- if(extVals != null)
- {
- int numvals = extVals.length;
- for(int i = 0; i < numvals; i++)
- {
- WSDLValidatorDelegate extvaldel = extVals[i];
- IWSDLValidator extval = extvaldel.getValidator();
- if(extval != null)
- {
- try
- {
- extval.validate(wsdldoc, valInfo);
- }
- catch(Throwable t)
- {
- valInfo.addWarning(messagegenerator.getString(_ERROR_PROBLEM_EXT_VALIDATOR, extvaldel.getValidatorName(), wsdlNamespace), 1, 1, valInfo.getFileURI());
- LoggerFactory.getInstance().getLogger().log(messagegenerator.getString(_ERROR_PROBLEM_EXT_VALIDATOR, extvaldel.getValidatorName(), wsdlNamespace), ILogger.SEV_ERROR, t);
- }
- }
- }
- }
- }
-
- /**
- * Set the ResourceBundle for this ValidatorManager.
- *
- * @param rb
- * The resource bundle to set.
- * @see #getResourceBundle
- */
- public void setResourceBundle(ResourceBundle rb)
- {
- resourcebundle = rb;
- }
-
- /**
- * Get the ResourceBundle for this ValidationController.
- *
- * @return The resource bundle set for this ValidationController.
- * @see #setResourceBundle
- */
- public ResourceBundle getResourceBundle()
- {
- return resourcebundle;
- }
-
- /**
- * Get a DOM document representation of the WSDL document.
- *
- * @param uri
- * The uri of the file to read
- * @param inputStream
- * An optional InputStream to read the document from.
- * @param valinfo
- * A validation info object used for reporting messages.
- * @return The DOM model of the WSDL document or null if the document can't be read.
- */
- private Document getDocument(String uri, InputStream inputStream, ControllerValidationInfo valinfo)
- {
- try
- {
- // Catch a premature EOF error to allow empty WSDL files to be considered valid.
- StandardParserConfiguration configuration = new StandardParserConfiguration()
- {
- protected XMLErrorReporter createErrorReporter()
- {
- return new XMLErrorReporter()
- {
- public void reportError(String domain, String key, Object[] arguments, short severity) throws XNIException
- {
- boolean reportError = true;
- if (key.equals("PrematureEOF"))
- {
- reportError = false;
- }
-
- if (reportError)
- {
- super.reportError(domain, key, arguments, severity);
- }
- }
- };
- }
- };
-
- InputSource inputSource = null;
- if (inputStream != null)
- { //then we want to create a DOM from the inputstream
- inputSource = new InputSource(inputStream);
- }
- else
- { inputSource = new InputSource(uri);
- }
-
- DOMParser builder = new LineNumberDOMParser(configuration);
- builder.parse(inputSource);
- Document doc = builder.getDocument();
-
- return doc;
- }
- catch (Throwable t)
- {
- // In this case the validator will fail with an unexplained error message
- // about a null WSDL namespace. This error should be addressed as well.
- valinfo.addError(messagegenerator.getString(_ERROR_DOCUMENT_LOCATION, uri), 0, 0, uri);
-
- }
- return null;
- }
-
- private String getWSDLNamespace(Document doc)
- {
- String wsdlns = null;
- if(doc != null)
- {
- Element rootdoc = doc.getDocumentElement();
- if(rootdoc != null)
- {
- wsdlns = rootdoc.getNamespaceURI();
- }
- }
- return wsdlns;
- }
-
-
-
- private final String createStringForInputStream(InputStream inputStream)
- {
- // Here we are reading the file and storing to a stringbuffer.
- StringBuffer fileString = new StringBuffer();
- try
- {
- InputStreamReader inputReader = new InputStreamReader(inputStream);
- BufferedReader reader = new BufferedReader(inputReader);
- char[] chars = new char[1024];
- int numberRead = reader.read(chars);
- while (numberRead != -1)
- {
- fileString.append(chars, 0, numberRead);
- numberRead = reader.read(chars);
- }
- }
- catch (Exception e)
- {
- //TODO: log error message
- //e.printStackTrace();
- }
- return fileString.toString();
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationInfoImpl.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationInfoImpl.java
deleted file mode 100644
index d3919071b..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationInfoImpl.java
+++ /dev/null
@@ -1,305 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-
-/**
- * An implementation of the validation info interface.
- */
-public class ValidationInfoImpl implements IValidationReport, ControllerValidationInfo
-{
- private boolean WRAPPER_ERROR_SUPPORT_ENABLED = true;
- private final String _WARN_NO_VALDIATOR = "_WARN_NO_VALDIATOR";
- private final String _REF_FILE_ERROR_MESSAGE = "_REF_FILE_ERROR_MESSAGE";
- private String validating_file_uri = null;
- private URL validating_file_url = null;
- private boolean wsdlValid = false;
- private List messages = new Vector();
- //private List schemas = new Vector();
- private List nsNoVals = new Vector();
- private MessageGenerator messagegenerator = null;
- private boolean haserrors = false;
- private HashMap nestedMessages = new HashMap();
- private URIResolver uriResolver = null;
- private WSDLValidationConfiguration configuration;
-
- /**
- * Constructor.
- *
- * @param uri
- * The URI of the file for the validation.
- */
- public ValidationInfoImpl(String uri, MessageGenerator messagegenerator)
- {
- this.validating_file_uri = uri;
- if(uri != null)
- {
- uri = uri.replaceAll("%20"," ");
- this.validating_file_uri = uri;
- try
- {
- this.validating_file_url = new URL(uri);
- } catch (MalformedURLException e)
- {
- }
- }
- this.messagegenerator = messagegenerator;
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationReport#getFileURI()
- */
- public String getFileURI()
- {
- return validating_file_uri;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationReport#isWSDLValid()
- */
- public boolean isWSDLValid()
- {
- return wsdlValid;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationInfo#addError(java.lang.String,
- * int, int)
- */
- public void addError(String message, int line, int column)
- {
- addError(message, line, column, validating_file_uri);
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationInfo#addError(java.lang.String,
- * int, int)
- */
- public void addError(String message, int line, int column, String uri)
- {
- if(addMessage(message, line, column, uri, ValidationMessageImpl.SEV_ERROR))
- {
- haserrors = true;
- }
- }
-
- public void addError(String message, int line, int column, String uri, String errorKey, Object[] messageArguments)
- {
- if(addMessage(message, line, column, uri, ValidationMessageImpl.SEV_ERROR, errorKey, messageArguments))
- {
- haserrors = true;
- }
- }
-
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationInfo#addWarning(java.lang.String,
- * int, int)
- */
- public void addWarning(String message, int line, int column)
- {
- addWarning(message, line, column, validating_file_uri);
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationInfo#addWarning(java.lang.String,
- * int, int)
- */
- public void addWarning(String message, int line, int column, String uri)
- {
- addMessage(message, line, column, uri, ValidationMessageImpl.SEV_WARNING);
- }
-
- /**
- * Add a message to the list. A message may not be added to the list in
- * certain circumstances such as when the URI is invalid or the message
- * is null.
- *
- * @param message The message to add.
- * @param line The line location of the message.
- * @param column The column location of the message.
- * @param uri The URI of the file that contains the message.
- * @param severity The severity of the message.
- * @return True if the message was able to be added, false otherwise.
- */
- private boolean addMessage(String message, int line, int column, String uri, int severity)
- {
- return this.addMessage(message, line, column, uri, severity, null, null);
- }
-
- /**
- * Add a message to the list. A message may not be added to the list in
- * certain circumstances such as when the URI is invalid or the message
- * is null.
- *
- * @param message The message to add.
- * @param line The line location of the message.
- * @param column The column location of the message.
- * @param uri The URI of the file that contains the message.
- * @param severity The severity of the message.
- * @param errorKey The Xerces Error Key
- * @param messageArguments The Xerces arguments used to create the error message
- * @return True if the message was able to be added, false otherwise.
- */
- private boolean addMessage(String message, int line, int column, String uri, int severity, String errorKey, Object[] messageArguments)
- {
- boolean successfullyAdded = false;
- // If the message is null there is nothing to report.
- if(message == null)
- {
- return successfullyAdded;
- }
- String errorURI = uri;
- URL errorURL = null;
- if (errorURI != null)
- {
- try
- {
- errorURI = errorURI.replaceAll("%20", " ");
- errorURL = new URL(errorURI);
- } catch (MalformedURLException e)
- {
- }
- //errorURI = normalizeURI(errorURI);
- }
-// else
-// {
-// errorURI = validating_file_uri;
-// errorURL = validating_file_url;
-// }
- //boolean doDialog = true;
- if (errorURL != null)
- {
- successfullyAdded = true;
- // Add to the appropriate list if nested error support is off or
- // this message is for the current file.
- if (!WRAPPER_ERROR_SUPPORT_ENABLED || validating_file_url.sameFile(errorURL))
- {
-
- ValidationMessageImpl valmes = new ValidationMessageImpl(message, line,
- column, severity, uri, errorKey, messageArguments);
- messages.add(valmes);
- }
- // If nested error support is enabled create a nested error.
- else if (WRAPPER_ERROR_SUPPORT_ENABLED)
- {
- String nesteduri = errorURL.toExternalForm();
- ValidationMessageImpl nestedmess = new ValidationMessageImpl(message, line,
- column, severity, nesteduri);
-
- ValidationMessageImpl container = (ValidationMessageImpl) nestedMessages.get(nesteduri);
- if(container == null)
- {
- // Initially set the nested error to a warning. This will automatically be changed
- // to an error if a nested message has a severity of error.
- container = new ValidationMessageImpl(messagegenerator.getString(_REF_FILE_ERROR_MESSAGE, nesteduri), 1, 0, IValidationMessage.SEV_WARNING, nesteduri);
- nestedMessages.put(nesteduri, container);
- messages.add(container);
- }
- container.addNestedMessage(nestedmess);
- }
- }
-
- return successfullyAdded;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationReport#getValidationMessages()
- */
- public IValidationMessage[] getValidationMessages()
- {
- return (IValidationMessage[])messages.toArray(new IValidationMessage[messages.size()]);
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationInfo#addNamespaceWithNoValidator(java.lang.String)
- */
- public void addNamespaceWithNoValidator(String namespace)
- {
- // If the list doesn't already contain this namespace, add it to the list
- // and create a warning message.
- if (!nsNoVals.contains(namespace))
- {
- nsNoVals.add(namespace);
- addWarning(messagegenerator.getString(_WARN_NO_VALDIATOR, namespace), 1, 0);
-
- }
-
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.ControllerValidationInfo#completeWSDLValidation()
- */
- public void completeWSDLValidation()
- {
- if (haserrors)
- {
- wsdlValid = false;
- }
- else
- {
- wsdlValid = true;
- }
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationReport#hasErrors()
- */
- public boolean hasErrors()
- {
- return haserrors;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wsdl.validate.ValidationReport#getNestedMessages()
- */
- public HashMap getNestedMessages()
- {
- return nestedMessages;
- }
-
- public void setURIResolver(URIResolver uriResolver)
- {
- this.uriResolver = uriResolver;
- }
-
- public URIResolver getURIResolver()
- {
- return uriResolver;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wsdl.validate.ValidationInfo#getAttribute(java.lang.String)
- */
- public Object getAttribute(String name)
- {
- if(configuration == null)
- {
- return null;
- }
- return configuration.getProperty(name);
- }
-
- public void setConfiguration(WSDLValidationConfiguration configuration)
- {
- this.configuration = configuration;
- }
- public boolean isValid() {
- return !hasErrors();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationMessageImpl.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationMessageImpl.java
deleted file mode 100644
index aa7fc1ae2..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationMessageImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-
-/**
- * A validation message is created when there is information to report from
- * validating a WSDL document.
- */
-public class ValidationMessageImpl implements IValidationMessage
-{
- protected String message;
- protected int lineNumber;
- protected int columnNumber;
- protected String uri;
- protected int severity = SEV_ERROR;
- protected List nestedErrors;
- protected String errorKey = null;
- protected Object[] messageArguments = null;
-
- /**
- * Constructor.
- *
- * @param message The validation message.
- * @param lineNumber The line where the message should be displayed.
- * @param columnNumber The column where the message should be displayed.
- * @deprecated Use contructor with URI parameter.
- */
- public ValidationMessageImpl(String message, int lineNumber, int columnNumber, int severity)
- {
- this(message, lineNumber, columnNumber, severity, null);
- }
-
- /**
- * Constructor.
- * Allows specifying a uri for the reference that the message refers to.
- *
- * @param message The validation message.
- * @param lineNumber The line where the message should be displayed.
- * @param columnNumber The column where the message should be displayed.
- * @param uri The uri of the reference file for the message.
- */
- public ValidationMessageImpl(String message, int lineNumber, int columnNumber, int severity, String uri)
- {
- this(message, lineNumber, columnNumber, severity, uri, null, null);
- }
-
- /**
- * Constructor.
- * Allows specifying a uri for the reference that the message refers to.
- *
- * @param message The validation message.
- * @param lineNumber The line where the message should be displayed.
- * @param columnNumber The column where the message should be displayed.
- * @param uri The uri of the reference file for the message.
- * @param errorKey The Xerces Error key
- * @param messageArguments The values used to "fill in the blanks" of a Xerces error Message
- */
- public ValidationMessageImpl(String message, int lineNumber, int columnNumber, int severity, String uri, String errorKey, Object[] messageArguments)
- {
- this.message = message;
- this.lineNumber = lineNumber;
- this.columnNumber = columnNumber;
- this.severity = severity;
- this.uri = uri;
- this.errorKey = errorKey;
- this.messageArguments = messageArguments;
- }
-
- /**
- * Returns the validation message.
- *
- * @return The validation message.
- */
- public String getMessage()
- {
- return message;
- }
-
- /**
- * Returns the column number.
- *
- * @return The column number where the message is located.
- */
- public int getColumn()
- {
- return columnNumber;
- }
-
- /**
- * Returns the line number.
- *
- * @return The line number where the message is located.
- */
- public int getLine()
- {
- return lineNumber;
- }
-
- /**
- * returns the uri of the reference file for the validation message.
- *
- * @return The uri of the resource that the message refers to.
- */
- public String getURI()
- {
- return uri;
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.IValidationMessage#getSeverity()
- */
- public int getSeverity()
- {
- return severity;
- }
-
- /**
- * Set the severity of the message.
- *
- * @param severity The severity of the message.
- */
- public void setSeverity(int severity)
- {
- if(severity == SEV_ERROR || severity == SEV_WARNING)
- {
- this.severity = severity;
- }
- }
-
- /**
- * Add a nested validation message to this validation message.
- *
- * @param validationMessage The validation message to add as a nested message.
- */
- public void addNestedMessage(IValidationMessage validationMessage)
- {
- if (nestedErrors == null)
- {
- nestedErrors = new ArrayList();
- }
- nestedErrors.add(validationMessage);
- int validaitonmessageSeverity = validationMessage.getSeverity();
- if(validaitonmessageSeverity == SEV_ERROR)
- {
- setSeverity(SEV_ERROR);
- }
- }
-
- /**
- * Get the list of nested validation messages.
- *
- * @return The list of nested validation messages.
- */
- public List getNestedMessages()
- {
- return nestedErrors != null ? nestedErrors : Collections.EMPTY_LIST;
- }
- /**
- * @return the error key
- */
- public String getErrorKey()
- {
- return errorKey;
- }
-
- /**
- * @param errorKey the error key to set
- */
- public void setErrorKey(String errorKey)
- {
- this.errorKey = errorKey;
- }
- /**
- * @return the Xerces message arguments used to "fill in the blanks" of the messages
- */
- public Object[] getMessageArguments()
- {
- return messageArguments;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidatorRegistry.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidatorRegistry.java
deleted file mode 100644
index d7f8372e5..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidatorRegistry.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-
-
-/**
- * A registry of IWSDLValidator validators. This holds the top level WSDL and WS-I validators.
- * Validators are registered by the namespace they validate.
- */
-public class ValidatorRegistry
-{
- /**
- * The WSDL validator type.
- */
- public final static Integer WSDL_VALIDATOR = new Integer(0);
- /**
- * The WS-I validator type.
- */
- public final static Integer EXT_VALIDATOR = new Integer(1);
- protected static ValidatorRegistry verInstance;
- /*
- This is a Map of Maps. The top-level Map is keyed by (Class)parentType,
- and the inner Maps are keyed by (QName)elementType.
- This idea is the same as is done in WSDL4J
- */
- protected Map validatorReg = new Hashtable();
-
- protected Iterator defaultValidatorIterator;
-
- /**
- * Constructor.
- */
- protected ValidatorRegistry()
- {
- }
-
- /**
- * Returns the instance of the registry.
- *
- * @return The instance of the registry.
- */
- public static ValidatorRegistry getInstance()
- {
- if (verInstance == null)
- {
- verInstance = new ValidatorRegistry();
- }
- return verInstance;
- }
- /**
- * Register this validator of the given type with the given namespace.
- *
- * @param namespace The namespace the validator validates.
- * @param valDelegate The validator delegate to register.
- * @param type The type of validator.
- */
- public void registerValidator(String namespace, WSDLValidatorDelegate valDelegate, Integer type)
- {
- // allow the null namespace but make it the empty string
- if (namespace == null)
- {
- namespace = "";
- }
-
- // get the hastable for the type of validator we want
- Hashtable typeValidatorReg = (Hashtable)validatorReg.get(type);
- // if it's null if means we haven't defined this type of validator yet
- if (typeValidatorReg == null)
- {
- typeValidatorReg = new Hashtable();
- validatorReg.put(type, typeValidatorReg);
- }
-
- List namespacevals = (List)typeValidatorReg.get(namespace);
- if(namespacevals == null)
- {
- namespacevals = new Vector();
- typeValidatorReg.put(namespace, namespacevals);
- }
- namespacevals.add(valDelegate);
-
- }
- /**
- * Ask for the validator associated with this namespace. If none is found
- * return null.
- *
- * @param namespace The namespace for the validator that is being requested.
- * @param type The type of validator that is being requested.
- * @return An array of validator delegates if at least one is registered, null otherwise.
- */
- public WSDLValidatorDelegate[] queryValidatorRegistry(String namespace, Integer type)
- {
- // if the namespace is null allow it and treat it as the empty string
- if (namespace == null)
- {
- namespace = "";
- }
- Hashtable typeValidatorReg = (Hashtable)validatorReg.get(type);
- if (typeValidatorReg == null)
- {
- return null;
-
- }
-
- List valdels = (List)typeValidatorReg.get(namespace);
- if(valdels != null)
- {
- return (WSDLValidatorDelegate[])valdels.toArray(new WSDLValidatorDelegate[valdels.size()]);
- }
-
- return null;
- }
-
- /**
- * Returns true if there is a validator registered of the given type with the given namespace.
- *
- * @param namespace The namespace of the validator.
- * @param type The type of the validator.
- * @return True if there is a validator registered for the namespace, false otherwise.
- */
- public boolean hasRegisteredValidator(String namespace, Integer type)
- {
- if (queryValidatorRegistry(namespace, type) != null)
- {
- return true;
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidationConfiguration.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidationConfiguration.java
deleted file mode 100644
index 14643aec5..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidationConfiguration.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.util.Hashtable;
-
-/**
- * Configuration information for validation of a specific
- * file.
- */
-public class WSDLValidationConfiguration
-{
- protected Hashtable properties = new Hashtable();
-
- /**
- * Set an attribute on the validator. An attribute is
- * defined by a name and a value pair. An attribute may
- * be defined for any validator, built in or an extension.
- * Extension validators can probe the attributes set on
- * the WSDL validator to customize the way in which they
- * validate. A null value will unset an attribute.
- *
- * @param name The attribute identifier.
- * @param value The attribute itself.
- */
- public void setProperty(String name, Object value)
- {
- if(value == null)
- {
- properties.remove(name);
- }
- else
- {
- properties.put(name, value);
- }
- }
-
- /**
- * Get the value set for a given property.
- *
- * @return
- * The value for the specified property or null if the property has not been specified.
- */
- public Object getProperty(String name)
- {
- if(name != null)
- return properties.get(name);
- return null;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidator.java
deleted file mode 100644
index 8d32b1cdc..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidator.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-import java.io.InputStream;
-import java.util.ResourceBundle;
-
-import org.eclipse.wst.wsdl.validation.internal.resolver.IExtensibleURIResolver;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.ClassloaderWSDL11ValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11BasicValidator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorController;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.http.HTTPValidator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.mime.MIMEValidator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.soap.SOAPValidator;
-
-import com.ibm.wsdl.Constants;
-
-/**
- * An main WSDL validator class. The WSDL validator validates WSDL documents.
- */
-public class WSDLValidator
-{
- private static String VALIDATOR_RESOURCE_BUNDLE = "validatewsdl";
- private ValidationController validationController;
- protected URIResolver uriResolver;
-
- /**
- * Constructor.
- */
- public WSDLValidator()
- {
- ResourceBundle rb = ResourceBundle.getBundle(VALIDATOR_RESOURCE_BUNDLE);
- uriResolver = new URIResolver();
- validationController = new ValidationController(rb, uriResolver);
-
- //Register the default validators.
- ValidatorRegistry registry = ValidatorRegistry.getInstance();
- // Register the WSDL 1.1 validator controller and validators.
- WSDLValidatorDelegate delegate = new ClassloaderWSDLValidatorDelegate(WSDL11ValidatorController.class.getName(), getClass().getClassLoader());
- registry.registerValidator(Constants.NS_URI_WSDL, delegate, ValidatorRegistry.WSDL_VALIDATOR);
- WSDL11ValidatorDelegate delegate1 = new ClassloaderWSDL11ValidatorDelegate(WSDL11BasicValidator.class.getName(), getClass().getClassLoader());
- registerWSDL11Validator(Constants.NS_URI_WSDL, delegate1);
- delegate1 = new ClassloaderWSDL11ValidatorDelegate(HTTPValidator.class.getName(), getClass().getClassLoader());
- registerWSDL11Validator(org.eclipse.wst.wsdl.validation.internal.Constants.NS_HTTP, delegate1);
- delegate1 = new ClassloaderWSDL11ValidatorDelegate(SOAPValidator.class.getName(), getClass().getClassLoader());
- registerWSDL11Validator(org.eclipse.wst.wsdl.validation.internal.Constants.NS_SOAP11, delegate1);
- delegate1 = new ClassloaderWSDL11ValidatorDelegate(MIMEValidator.class.getName(), getClass().getClassLoader());
- registerWSDL11Validator(org.eclipse.wst.wsdl.validation.internal.Constants.NS_MIME, delegate1);
-
- // The WSDL 1.1 schema validator is a special case as it is registered for three namespaces.
-// delegate1 = new WSDL11ValidatorDelegate(InlineSchemaValidator.class.getName(), VALIDATOR_RESOURCE_BUNDLE, getClass().getClassLoader());
-// registerWSDL11Validator(Constants.NS_URI_XSD_1999, delegate1);
-// registerWSDL11Validator(Constants.NS_URI_XSD_2000, delegate1);
-// registerWSDL11Validator(Constants.NS_URI_XSD_2001, delegate1);
- }
-
- /**
- * Validate the WSDL file at the given location.
- *
- * @param uri The location of the WSDL file to validate.
- * @return A validation report summarizing the results of the validation.
- */
- public IValidationReport validate(String uri)
- {
- return validate(uri, null, new WSDLValidationConfiguration());
- }
-
- /**
- *
- * Validate the inputStream
- * @param uri The location of the WSDL file being validated
- * @param inputStream The stream to validate
- * @return A Validation report summarizing the results of the validation
- */
- public IValidationReport validate(String uri, InputStream inputStream, WSDLValidationConfiguration configuration)
- {
- if(uri == null)
- return null;
- if(configuration == null)
- configuration = new WSDLValidationConfiguration();
- return validationController.validate(uri, inputStream, configuration);
- }
-
- /**
- * Add a URI resolver to the WSDL validator.
- *
- * @param uriResolver The URI resolver to add to the WSDL validator.
- */
- public void addURIResolver(IExtensibleURIResolver uriResolver)
- {
- this.uriResolver.addURIResolver(uriResolver);
- }
-
- /**
- * Register an extension WSDL validator delegate with this validator.
- *
- * @param namespace The namespace the validator validates for. This is the WSDL namespace.
- * @param delegate The delegate that holds the validator.
- */
- public void registerWSDLExtensionValidator(String namespace, WSDLValidatorDelegate delegate)
- {
- ValidatorRegistry.getInstance().registerValidator(namespace, delegate, ValidatorRegistry.EXT_VALIDATOR);
- }
-
- /**
- * Register a WSDL 1.1 validator delegate with this validator.
- *
- * @param namespace The namespace the validator validates for.
- * @param delegate The delegate that holds the validator.
- */
- public void registerWSDL11Validator(String namespace, WSDL11ValidatorDelegate delegate)
- {
- org.eclipse.wst.wsdl.validation.internal.wsdl11.ValidatorRegistry.getInstance().registerValidator(namespace, delegate);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidatorDelegate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidatorDelegate.java
deleted file mode 100644
index 82ae02529..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidatorDelegate.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal;
-
-/**
- * A WSDLValidatorDelegate holds a reference to a WSDL validator.
- * A delegate is used to lazy load extension validators.
- */
-public abstract class WSDLValidatorDelegate
-{
- private IWSDLValidator validator = null;
-
- /**
- * Get the validator specified in this delegate.
- *
- * @return The WSDL validator specified by this delegate.
- */
- public IWSDLValidator getValidator()
- {
- if (validator == null)
- {
- validator = loadValidator();
- }
- return validator;
- }
-
- /**
- * Load the validator specified in this delegate.
- *
- * @return The WSDL validator specified by this delegate.
- */
- protected abstract IWSDLValidator loadValidator();
-
- /**
- * Return the name of the validator.
- *
- * @return The validator name.
- */
- public abstract String getValidatorName();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseLogger.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseLogger.java
deleted file mode 100644
index 6d82f4af5..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseLogger.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-
-/**
- * A logger that will log to the log file in the Eclipse metadata directory.
- */
-public class EclipseLogger implements ILogger
-{
-
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int)
- */
- public void log(String message, int severity)
- {
- log(message, severity, null);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int, java.lang.Throwable)
- */
- public void log(String message, int severity, Throwable throwable)
- {
- // Don't log verbose information in the Eclipse log.
- if(severity == ILogger.SEV_VERBOSE)
- {
- return;
- }
- int status = IStatus.INFO;
- if(severity == ILogger.SEV_WARNING)
- {
- status = IStatus.WARNING;
- }
- else if(severity == ILogger.SEV_ERROR)
- {
- status = IStatus.ERROR;
- }
- ValidateWSDLPlugin.getInstance().getLog().log(new Status(status, ValidateWSDLPlugin.getInstance().getBundle().getSymbolicName(), IStatus.OK, message, throwable));
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDL11ValidatorDelegate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDL11ValidatorDelegate.java
deleted file mode 100644
index a9ab6b7ef..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDL11ValidatorDelegate.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorDelegate;
-import org.osgi.framework.Bundle;
-
-public class EclipseWSDL11ValidatorDelegate extends WSDL11ValidatorDelegate
-{
- private String validatorClassname = null;
- private Bundle bundle = null;
-
- /**
- * Create a delegate for a validator by its class name and
- * a class loader to load the validator.
- *
- * @param validatorClassname The name of the validator class.
- * @param bundle The bundle to use to load the validator.
- */
- public EclipseWSDL11ValidatorDelegate(String validatorClassname, Bundle bundle)
- {
- this.validatorClassname = validatorClassname;
- this.bundle = bundle;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorDelegate#loadValidator()
- */
- protected IWSDL11Validator loadValidator()
- {
- IWSDL11Validator validator = null;
- if(bundle != null)
- {
- try
- {
- Class validatorClass = bundle.loadClass(validatorClassname);
-
- validator = (IWSDL11Validator)validatorClass.newInstance();
-
- }
- catch (Throwable t)
- {
- LoggerFactory.getInstance().getLogger().log("Unable to load validator " + validatorClassname, ILogger.SEV_ERROR, t);
- }
- }
- return validator;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDLValidatorDelegate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDLValidatorDelegate.java
deleted file mode 100644
index c3e181cb3..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDLValidatorDelegate.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import org.eclipse.wst.wsdl.validation.internal.WSDLValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.IWSDLValidator;
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.osgi.framework.Bundle;
-
-
-/**
- * A delegate holds a validator's information and can instantiate it
- * when requested to.
- */
-public class EclipseWSDLValidatorDelegate extends WSDLValidatorDelegate
-{
- private String validatorClassname = null;
- private Bundle bundle = null;
-
- /**
- * Create a delegate for a validator by its class name and
- * an OSGI bundle to load the validator.
- *
- * @param validatorClassname The name of the validator class.
- * @param bundle The OSGI bundle to use to load the validator.
- */
- public EclipseWSDLValidatorDelegate(String validatorClassname, Bundle bundle)
- {
- this.validatorClassname = validatorClassname;
- this.bundle = bundle;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.AbstractWSDLValidatorDelegate#loadValidator()
- */
- protected IWSDLValidator loadValidator()
- {
- IWSDLValidator validator = null;
- if(bundle != null)
- {
- try
- {
- Class validatorClass = bundle.loadClass(validatorClassname);
-
- validator = (IWSDLValidator)validatorClass.newInstance();
- }
- catch(Throwable t)
- {
- LoggerFactory.getInstance().getLogger().log("Unable to load validator " + validatorClassname, ILogger.SEV_ERROR, t);
- }
- }
- return validator;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.AbstractWSDLValidatorDelegate#getValidatorName()
- */
- public String getValidatorName()
- {
- return validatorClassname;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/InlineSchemaModelGrammarPoolImpl.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/InlineSchemaModelGrammarPoolImpl.java
deleted file mode 100644
index 2089bb7e8..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/InlineSchemaModelGrammarPoolImpl.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import org.apache.xerces.util.XMLGrammarPoolImpl;
-import org.apache.xerces.xni.grammars.Grammar;
-import org.apache.xerces.xni.grammars.XMLGrammarDescription;
-
-/**
- * A grammar pool for inline schemas. This grammar pool restricts inline schemas
- * from being cached.
- */
-public class InlineSchemaModelGrammarPoolImpl extends XMLGrammarPoolImpl
-{
- public void putGrammar(Grammar grammar)
- {
- if (grammar == null)
- return;
- // we overide this method to perform 'selective' caching of schemas
- XMLGrammarDescription description = grammar.getGrammarDescription();
- if (!fPoolIsLocked && !containsGrammar(grammar.getGrammarDescription()))
- {
- // in order to avoid caching the inline schemas
- // we ensure the literal system id does not end with wsdl
- // before we attempt to 'put' the grammar
- String litSysId = description.getLiteralSystemId();
- String basSysId = description.getBaseSystemId();
- if (litSysId != null && litSysId.endsWith("xsd")
- && basSysId != null && basSysId.endsWith("wsdl"))
- {
- /*
- * System.out.println("putGramamr : " +
- * schemaDescription.getNamespace() + ", " +
- * schemaDescription.getExpandedSystemId() + ", " +
- * schemaDescription.getBaseSystemId());
- */
- super.putGrammar(grammar);
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/URIResolverWrapper.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/URIResolverWrapper.java
deleted file mode 100644
index c6b4830b6..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/URIResolverWrapper.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolver;
-import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverPlugin;
-import org.eclipse.wst.wsdl.validation.internal.resolver.IExtensibleURIResolver;
-import org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult;
-
-/**
- * An wrapper URI resolver that wraps the Web Standard Tools URI resolver
- * in a WSDL validator URI resolver.
- */
-public class URIResolverWrapper implements IExtensibleURIResolver
-{
- /**
- * Constructor.
- */
- public URIResolverWrapper()
- {
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.resolver.IExtensibleURIResolver#resolve(java.lang.String, java.lang.String, java.lang.String, org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult)
- */
- public void resolve(String baseLocation, String publicId, String systemId, IURIResolutionResult result)
- {
- URIResolver resolver = URIResolverPlugin.createResolver();
- String location = null;
- if (publicId != null || systemId != null)
- {
- location = resolver.resolve(baseLocation, publicId, systemId);
- }
-
- if (location != null)
- {
- result.setLogicalLocation(location);
- String physical = resolver.resolvePhysicalLocation(baseLocation, publicId, location);
- if(physical != null)
- {
- result.setPhysicalLocation(physical);
- }
- else
- {
- result.setPhysicalLocation(location);
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/ValidateWSDLPlugin.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/ValidateWSDLPlugin.java
deleted file mode 100644
index dfcd1cdf1..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/ValidateWSDLPlugin.java
+++ /dev/null
@@ -1,307 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import java.io.IOException;
-import java.util.ResourceBundle;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.wst.wsdl.validation.internal.Constants;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog;
-import org.osgi.framework.Bundle;
-import org.osgi.framework.BundleContext;
-
-/**
- * The main plugin class required for eclipse.
- */
-public class ValidateWSDLPlugin extends Plugin
-{
- protected final String PROPERTIES_FILE = "validatewsdlui";
- protected static ValidateWSDLPlugin instance;
- protected ResourceBundle resourcebundle = null;
- protected ResourceBundle wsdlValidatorResourceBundle = null;
-
- /**
- * Constructor.
- */
- public ValidateWSDLPlugin()
- {
- super();
- }
-
- /* (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception
- {
- super.start(context);
- instance = this;
- wsdlValidatorResourceBundle = ResourceBundle.getBundle(Constants.WSDL_VALIDATOR_PROPERTIES_FILE);
- resourcebundle = ResourceBundle.getBundle(PROPERTIES_FILE);
-
- LoggerFactory.getInstance().setLogger(new EclipseLogger());
-
- new WSDLValidatorPluginRegistryReader(
- "extvalidator",
- "extvalidator",
- WSDLValidatorPluginRegistryReader.EXT_VALIDATOR)
- .readRegistry();
-
- // register any WSDL 1.1 validators defined
- new WSDL11ValidatorPluginRegistryReader("wsdl11validator", "validator").readRegistry();
- }
- /* (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception
- {
- super.stop(context);
- XMLCatalog.reset();
- }
-
- /**
- * Return the instance of this plugin object.
- *
- * @return the instance of this plugin object
- */
- public static ValidateWSDLPlugin getInstance()
- {
- return instance;
- }
-
- /**
- * Get the install URL of this plugin.
- *
- * @return the install url of this plugin
- */
- public String getInstallURL()
- {
- try
- {
- return FileLocator.resolve(getBundle().getEntry("/")).getFile();
- }
- catch (IOException e)
- {
- return null;
- }
- }
-
- /*************************************************************
- * ResourceBundle helper methods
- *
- *************************************************************/
- /**
- * Returns the resource bundle for this plugin.
- *
- * @return the resource bundle for this plugin
- */
- public ResourceBundle getResourceBundle()
- {
- return resourcebundle;
- }
-
- /**
- * Returns the resource bundle for the WSDL validator.
- *
- * @return the resource bundle for the WSDL validator
- */
- public ResourceBundle getWSDLValidatorResourceBundle()
- {
- return wsdlValidatorResourceBundle;
- }
-
- /**
- * Returns the string for the given id.
- *
- * @param stringID - the id for the string
- * @return the string for the given id
- */
- public String getString(String stringID)
- {
- return getResourceBundle().getString(stringID);
- }
-}
-
-/**
- * This class reads the plugin manifests and registers each WSDLExtensionValidator
- */
-class WSDLValidatorPluginRegistryReader
-{
- protected static final String PLUGIN_ID = "org.eclipse.wst.wsdl.validation";
- protected static final String ATT_CLASS = "class";
- protected static final String ATT_NAMESPACE = "namespace";
- protected static final int WSDL_VALIDATOR = 0;
- protected static final int EXT_VALIDATOR = 1;
- protected String extensionPointId;
- protected String tagName;
- protected int validatorType;
-
- /**
- *
- */
- public WSDLValidatorPluginRegistryReader(String extensionPointId, String tagName, int validatorType)
- {
- this.extensionPointId = extensionPointId;
- this.tagName = tagName;
- this.validatorType = validatorType;
- }
-
- /**
- * read from plugin registry and parse it.
- */
- public void readRegistry()
- {
- IExtensionRegistry pluginRegistry = Platform.getExtensionRegistry();
- IExtensionPoint point = pluginRegistry.getExtensionPoint(PLUGIN_ID, extensionPointId);
- if (point != null)
- {
- IConfigurationElement[] elements = point.getConfigurationElements();
- for (int i = 0; i < elements.length; i++)
- {
- readElement(elements[i]);
- }
- }
- }
-
- /**
- * readElement() - parse and deal with an extension like:
- *
- * <extension point="org.eclipse.validate.wsdl.WSDLExtensionValidator"
- * id="soapValidator"
- * name="SOAP Validator">>
- * <validator>
- * <run class=" org.eclipse.validate.wsdl.soap.SOAPValidator"/>
- * </validator>
- * <attribute name="namespace" value="http://schemas.xmlsoap.org/wsdl/soap/"/>
- * </extension>
- */
- protected void readElement(IConfigurationElement element)
- {
- if (element.getName().equals(tagName))
- {
- String validatorClass = element.getAttribute(ATT_CLASS);
- String namespace = element.getAttribute(ATT_NAMESPACE);
-
- if (validatorClass != null)
- {
- try
- {
- // ClassLoader pluginLoader =
- // element.getDeclaringExtension().getDeclaringPluginDescriptor().getPlugin().getClass().getClassLoader();
- // modified to resolve certain situations where the plugin has not been initialized
-
- Bundle pluginBundle = Platform.getBundle(element.getDeclaringExtension().getContributor().getName());
-
- if (validatorType == EXT_VALIDATOR)
- {
- EclipseWSDLValidatorDelegate delegate = new EclipseWSDLValidatorDelegate(validatorClass, pluginBundle);
- WSDLValidator.getInstance().registerWSDLExtensionValidator(namespace, delegate);
- }
- }
- catch (Exception e)
- {
- }
- }
- }
- }
-}
-
-/**
- * Read WSDl 1.1 extension validators.
- *
- * <extension
- * point="com.ibm.etools.validation.validator"
- * id="wsdlValidator"
- * name="%_UI_WSDL_VALIDATOR">
- * <wsdl11validator
- * namespace="http://schemas.xmlsoap.org/wsdl/soap/"
- * class="org.eclipse.wsdl.validate.soap.wsdl11.SOAPValidator"
- * resourcebundle="validatewsdlsoap"/>
- * </extension>
- *
- */
-class WSDL11ValidatorPluginRegistryReader
-{
- protected static final String PLUGIN_ID = "org.eclipse.wst.wsdl.validation";
- protected static final String ATT_CLASS = "class";
- protected static final String ATT_NAMESPACE = "namespace";
- protected String extensionPointId;
- protected String tagName;
-
- /**
- * Constructor.
- *
- * @param extensionPointId - the id of the extension point
- * @param tagName - the tag name of the extension point
- */
- public WSDL11ValidatorPluginRegistryReader(String extensionPointId, String tagName)
- {
- this.extensionPointId = extensionPointId;
- this.tagName = tagName;
- }
-
- /**
- * Read from plugin registry and handle the configuration elements that match
- * the spedified elements.
- */
- public void readRegistry()
- {
- IExtensionRegistry pluginRegistry = Platform.getExtensionRegistry();
- IExtensionPoint point = pluginRegistry.getExtensionPoint(PLUGIN_ID, extensionPointId);
- if (point != null)
- {
- IConfigurationElement[] elements = point.getConfigurationElements();
- for (int i = 0; i < elements.length; i++)
- {
- readElement(elements[i]);
- }
- }
- }
-
- /**
- * Parse and deal with the extension points.
- *
- * @param element The extension point element.
- */
- protected void readElement(IConfigurationElement element)
- {
- if (element.getName().equals(tagName))
- {
- String validatorClass = element.getAttribute(ATT_CLASS);
- String namespace = element.getAttribute(ATT_NAMESPACE);
-
- if (validatorClass != null && namespace != null)
- {
- try
- {
- Bundle pluginBundle = Platform.getBundle(element.getDeclaringExtension().getContributor().getName());
- WSDL11ValidatorDelegate delegate = new EclipseWSDL11ValidatorDelegate(validatorClass, pluginBundle);
- WSDLValidator.getInstance().registerWSDL11Validator(namespace, delegate);
- }
- catch (Exception e)
- {
- }
- }
- }
- }
-}
-
-
-
-
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/Validator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/Validator.java
deleted file mode 100644
index 99fdeea77..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/Validator.java
+++ /dev/null
@@ -1,155 +0,0 @@
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import java.io.InputStream;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-
-import org.apache.xerces.util.XMLGrammarPoolImpl;
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.eclipse.wst.wsdl.validation.internal.Constants;
-import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
-import org.eclipse.wst.wsdl.validation.internal.IValidationReport;
-import org.eclipse.wst.wsdl.validation.internal.WSDLValidationConfiguration;
-import org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator;
-import org.eclipse.wst.xml.core.internal.validation.core.NestedValidatorContext;
-import org.eclipse.wst.xml.core.internal.validation.core.ValidationInfo;
-import org.eclipse.wst.xml.core.internal.validation.core.ValidationReport;
-
-/**
- * A WSDL validator to contribute to the WTP validation framework.
- */
-public class Validator extends AbstractNestedValidator
-{
- protected HashMap xsdGrammarPools = new HashMap();
- protected HashMap xmlGrammarPools = new HashMap();
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator#getValidatorName()
- */
- protected String getValidatorName()
- {
- return WSDLValidationMessages.Message_WSDL_validation_message_ui;
- }
-
- /**
- * Create and configure the two grammar pools for this WSDL validation context.
- *
- * @see org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator#setupValidation(org.eclipse.wst.xml.core.internal.validation.core.NestedValidatorContext)
- */
- protected void setupValidation(NestedValidatorContext context)
- {
- super.setupValidation(context);
-
- XMLGrammarPool xsdGrammarPool = new InlineSchemaModelGrammarPoolImpl();
- XMLGrammarPool xmlGrammarPool = new XMLGrammarPoolImpl();
-
- xsdGrammarPools.put(context, xsdGrammarPool);
- xmlGrammarPools.put(context, xmlGrammarPool);
- }
-
- /**
- * Remove two grammar pools for this WSDL validation context.
- *
- * @see org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator#teardownValidation(org.eclipse.wst.xml.core.internal.validation.core.NestedValidatorContext)
- */
- protected void teardownValidation(NestedValidatorContext context)
- {
- XMLGrammarPool xsdGrammarPool = (XMLGrammarPool)xsdGrammarPools.remove(context);
- if(xsdGrammarPool != null)
- xsdGrammarPool.clear();
- XMLGrammarPool xmlGrammarPool = (XMLGrammarPool)xmlGrammarPools.remove(context);
- if(xmlGrammarPool != null)
- xmlGrammarPool.clear();
-
- super.teardownValidation(context);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator#validate(java.lang.String, java.io.InputStream, org.eclipse.wst.xml.core.internal.validation.core.NestedValidatorContext)
- */
- public ValidationReport validate(String uri, InputStream inputstream, NestedValidatorContext context)
- {
- XMLGrammarPool xsdGrammarPool = (XMLGrammarPool)xsdGrammarPools.get(context);
- XMLGrammarPool xmlGrammarPool = (XMLGrammarPool)xmlGrammarPools.get(context);
-
- WSDLValidator validator = WSDLValidator.getInstance();
-
- WSDLValidationConfiguration configuration = new WSDLValidationConfiguration();
- configuration.setProperty(Constants.XMLSCHEMA_CACHE_ATTRIBUTE, xsdGrammarPool);
- configuration.setProperty(Constants.XML_CACHE_ATTRIBUTE, xmlGrammarPool);
-
- IValidationReport valreport = null;
- if (inputstream != null)
- {
- valreport = validator.validate(uri, inputstream, configuration);
- }
- else
- {
- valreport = validator.validate(uri, null, configuration);
- }
-
- return convertReportToXMLReport(valreport);
- }
-
- /**
- * Convert a WSDL IValidationReport to an XML Validation Report.
- *
- * @param report
- * The WSDL IValidationReport to convert.
- * @return
- * An XML Validation Report representing the information contained in the IValidationReport.
- */
- protected ValidationReport convertReportToXMLReport(IValidationReport report)
- {
- ValidationInfo convertedReport = new ValidationInfo(report.getFileURI());
- IValidationMessage[] messages = report.getValidationMessages();
- int numMessages = messages.length;
- for(int i = 0; i < numMessages; i++)
- {
- convertMessage(messages[i], convertedReport);
- }
-
- return convertedReport;
- }
-
- /**
- * Convert a WSDL IValidationMessage by reporting it in the ValidationInfo object.
- *
- * @param message
- * The IValidationMessage to convert.
- * @param convertedReport
- * The ValidationInfo object represting the converted report.
- */
- protected void convertMessage(IValidationMessage message, ValidationInfo convertedReport)
- {
- List nestedMessages = message.getNestedMessages();
- if(nestedMessages != null && nestedMessages.size() > 0)
- {
- Iterator messageIter = nestedMessages.iterator();
- while(messageIter.hasNext())
- {
- convertMessage((IValidationMessage)messageIter.next(), convertedReport);
- }
- }
- else
- {
- if(message.getSeverity() == IValidationMessage.SEV_WARNING)
- convertedReport.addWarning(message.getMessage(), message.getLine(), message.getColumn(), message.getURI());
- else
- convertedReport.addError(message.getMessage(), message.getLine(), message.getColumn(), message.getURI());
- }
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator#getValidatorID()
- */
- protected String getValidatorID()
- {
- // Because this class is used as a delegate, return the id of the validator
- // which delegates to this class.
-
- return WSDLDelegatingValidator.class.getName(); //$NON-NLS-1$
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLDelegatingValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLDelegatingValidator.java
deleted file mode 100644
index 1d20d4c70..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLDelegatingValidator.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import org.eclipse.wst.validation.internal.delegates.DelegatingValidator;
-
-/**
- * This class provides a unique name (class name) which the validation framework
- * will use to identify the WSDL validator. The actual delegating validator
- * functionality is provided by the base class. The actual validation
- * functionality is provided by the delegates registered with this class as
- * their target.
- */
-public class WSDLDelegatingValidator extends DelegatingValidator
-{
- /**
- * Default constructor.
- */
- public WSDLDelegatingValidator()
- {
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidationMessages.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidationMessages.java
deleted file mode 100644
index 38ac09bf3..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidationMessages.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- */
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-import org.eclipse.osgi.util.NLS;
-
-/**
- * Strings used by WSDL Validation
- */
-public class WSDLValidationMessages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.wst.wsdl.validation.internal.eclipse.wsdlvalidation";//$NON-NLS-1$
-
- public static String Message_WSDL_validation_message_ui;
-
- static {
- // load message values from bundle file
- NLS.initializeMessages(BUNDLE_NAME, WSDLValidationMessages.class);
- }
-
- private WSDLValidationMessages() {
- // cannot create new instance
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidator.java
deleted file mode 100644
index 516c555e7..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidator.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.eclipse;
-
-
-
-/**
- * An Eclipse WSDL validator. This validator is the default validator
- * used in the validation framework. There is only a single instance of
- * this validator. When created, this validator registers all extension
- * URI resolvers.
- */
-public class WSDLValidator extends org.eclipse.wst.wsdl.validation.internal.WSDLValidator
-{
- private static WSDLValidator instance = null;
-
- /**
- * The constructor registers all of the URI resolvers defined via the
- * WSDL URI resolver extension point with the WSDL validator.
- *
- */
- protected WSDLValidator()
- {
- super();
- URIResolverWrapper resolver = new URIResolverWrapper();
- addURIResolver(resolver);
- }
-
- /**
- * Get the one and only instance of this Eclipse WSDL validator.
- *
- * @return The one and only instance of this Eclipse WSDL validator.
- */
- public static WSDLValidator getInstance()
- {
- if(instance == null)
- {
- instance = new WSDLValidator();
- }
- return instance;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/wsdlvalidation.properties b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/wsdlvalidation.properties
deleted file mode 100644
index 3adb534a7..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/wsdlvalidation.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-###############################################################################
-!-- Constants for strings
-
-# validation strings
-Message_WSDL_validation_message_ui=WSDL Validator validating {0}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/exception/ValidateWSDLException.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/exception/ValidateWSDLException.java
deleted file mode 100644
index 33d1b48b6..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/exception/ValidateWSDLException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.exception;
-
-/**
- * Custom exception for WSDL validation.
- */
-public class ValidateWSDLException extends Exception
-{
- /**
- * Required serial version uid.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- * @param message The exception message
- */
- public ValidateWSDLException(String message)
- {
- super(message);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/ILogger.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/ILogger.java
deleted file mode 100644
index d6ae89118..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/ILogger.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.logging;
-
-/**
- * The interface for a standard logger for the WSDL validator.
- * Allows for logging errors and warnings.
- */
-public interface ILogger
-{
- /**
- * Severity error for logging.
- */
- public static int SEV_ERROR = 0;
-
- /**
- * Severity warning for logging.
- */
- public static int SEV_WARNING = 1;
-
- /**
- * Severity info for logging.
- */
- public static int SEV_INFO = 2;
-
- /**
- * Severity verbose for logging.
- */
- public static int SEV_VERBOSE = 3;
-
- /**
- * Log a message.
- *
- * @param message
- * The message to log.
- * @param severity
- * The severity of the message to log.
- */
- public void log(String message, int severity);
-
- /**
- * Log a message.
- *
- * @param message
- * The message to log.
- * @param severity
- * The severity of the message to log.
- * @param throwable
- * The exception to log.
- */
- public void log(String message, int severity, Throwable throwable);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/LoggerFactory.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/LoggerFactory.java
deleted file mode 100644
index 87a9d5fc1..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/LoggerFactory.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.logging;
-
-/**
- * The logger factory allows for simple use of whatever logging mechanism is in
- * place. The tool can specify a custom ILogger. The WSDL validator will request the
- * logger from this class.
- */
-public class LoggerFactory
-{
- private static LoggerFactory factory = null;
- private ILogger logger = null;
-
- /**
- * Get the one and only instance of the logger factory.
- *
- * @return The one and only instance of the logger.
- */
- public static LoggerFactory getInstance()
- {
- if(factory == null)
- {
- factory = new LoggerFactory();
- }
- return factory;
- }
-
- /**
- * Set the logger implementation to be used.
- *
- * @param logger
- * The ILogger to use.
- */
- public void setLogger(ILogger logger)
- {
- this.logger = logger;
- }
-
- /**
- * Get the logger.
- *
- * @return
- * The logger.
- */
- public ILogger getLogger()
- {
- if(logger == null)
- {
- logger = new StandardLogger();
- }
- return logger;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/StandardLogger.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/StandardLogger.java
deleted file mode 100644
index 50c1b2076..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/StandardLogger.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.logging;
-
-import java.io.PrintStream;
-
-/**
- * A logger that will print log info to standard system outputs.
- */
-public class StandardLogger implements ILogger
-{
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int)
- */
- public void log(String message, int severity)
- {
- PrintStream outputStream = System.out;
- if(severity == ILogger.SEV_ERROR)
- {
- outputStream = System.err;
- }
- outputStream.println(message);
- }
-
-/* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int, java.lang.Throwable)
- */
- public void log(String error, int severity, Throwable throwable)
- {
- log(error, severity);
- log(throwable.toString(), severity);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IExtensibleURIResolver.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IExtensibleURIResolver.java
deleted file mode 100644
index 2030ae7f8..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IExtensibleURIResolver.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.resolver;
-
-/**
- * An interface for the WSDL validator's URI resolver mechanism. The URI resolver
- * is used to find the location of an entity.
- */
-public interface IExtensibleURIResolver
-{
- /**
- * Resolve the location of the entity described by the publicId and systemId.
- *
- * @param baseLocation The location of the resource that contains the uri.
- * @param publicId An optional public identifier (i.e. namespace name), or null if none.
- * @param systemId An absolute or relative URI, or null if none.
- * @param result The result of the resolution.
- */
- public void resolve(String baseLocation, String publicId, String systemId, IURIResolutionResult result);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IURIResolutionResult.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IURIResolutionResult.java
deleted file mode 100644
index 236bb1165..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IURIResolutionResult.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.resolver;
-
-/**
- * The representation of a URI resolution result. This interface is not meant to
- * be implemented by clients.
- *
- */
-public interface IURIResolutionResult
-{
- /**
- * Get the logical location of the resolution result.
- *
- * @return The logical location of the resolution result.
- */
- public String getLogicalLocation();
-
- /**
- * Set the logical location of the resolution result.
- *
- * @param logicalLocation The logical location of the resolution result.
- */
- public void setLogicalLocation(String logicalLocation);
-
- /**
- * Get the physical location of the resolution result.
- *
- * @return The physical location of the resolution result.
- */
- public String getPhysicalLocation();
-
- /**
- * Set the physical location of the resolution result.
- *
- * @param physicalLocation The physical location of the resolution result.
- */
- public void setPhysicalLocation(String physicalLocation);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolutionResult.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolutionResult.java
deleted file mode 100644
index 07df0c6f8..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolutionResult.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.resolver;
-
-/**
- * This class holds the URI resolution results.
- *
- */
-public class URIResolutionResult implements IURIResolutionResult
-{
- private String logicalLocation = null;
- private String physicalLocation = null;
-
- /**
- * Constructor.
- */
- public URIResolutionResult()
- {
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult#getLogicalLocation()
- */
- public String getLogicalLocation()
- {
- return logicalLocation;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult#setLogicalLocation(java.lang.String)
- */
- public void setLogicalLocation(String logicalLocation)
- {
- this.logicalLocation = logicalLocation;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult#getPhysicalLocation()
- */
- public String getPhysicalLocation()
- {
- return physicalLocation;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult#setPhysicalLocation(java.lang.String)
- */
- public void setPhysicalLocation(String physicalLocation)
- {
- this.physicalLocation = physicalLocation;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolver.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolver.java
deleted file mode 100644
index 9e4b86f81..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolver.java
+++ /dev/null
@@ -1,283 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.resolver;
-
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.apache.xerces.xni.XMLResourceIdentifier;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
-import org.apache.xerces.xni.parser.XMLInputSource;
-import org.eclipse.wst.wsdl.validation.internal.util.LazyURLInputStream;
-import org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog;
-
-/**
- * This is the main URI resolver that calls out to all of the registered
- * external URI resolvers to locate an entity. If none of the external resolvers
- * can locate the entity the resolver will ask the internal WSDL validator XML
- * catalog to resolve the location.
- */
-public class URIResolver implements IExtensibleURIResolver, XMLEntityResolver
-{
- private List extURIResolversList = new ArrayList();
-
- /**
- * Constructor.
- */
- public URIResolver()
- {
- }
-
-
- /**
- * Add an extension URI resolver.
- *
- * @param uriResolver
- * The extension URI resolver.
- */
- public void addURIResolver(IExtensibleURIResolver uriResolver)
- {
- extURIResolversList.add(uriResolver);
- }
-
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.resolver.IExtensibleURIResolver#resolve(java.lang.String, java.lang.String, java.lang.String, org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult)
- */
- public void resolve(String baseLocation, String publicId, String systemId, IURIResolutionResult result)
- {
- Iterator resolverIter = extURIResolversList.iterator();
- while(resolverIter.hasNext())
- {
- IExtensibleURIResolver resolver = (IExtensibleURIResolver)resolverIter.next();
- if (resolver == null)
- {
- continue;
- }
- resolver.resolve(baseLocation, publicId, systemId, result);
- if (result.getLogicalLocation() != null && !result.getPhysicalLocation().equals(systemId))
- {
- break;
- }
- }
-
- // If we haven't been able to locate the result yet ask the internal XML
- // catalog.
- if (result.getLogicalLocation() == null && (publicId != null || systemId != null))
- {
- String tempresult = XMLCatalog.getInstance().resolveEntityLocation(publicId, systemId);
- if(tempresult != null)
- {
- result.setLogicalLocation(tempresult);
- result.setPhysicalLocation(tempresult);
- }
- }
- if(result.getLogicalLocation() == null)
- {
- result.setLogicalLocation(normalize(baseLocation, systemId));
- result.setPhysicalLocation(result.getLogicalLocation());
- }
- }
-
- public IURIResolutionResult resolve(String baseLocation, String publicId, String systemId)
- {
- IURIResolutionResult result= new URIResolutionResult();
- resolve(baseLocation, publicId, systemId, result);
- return result;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.xerces.xni.parser.XMLEntityResolver#resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier)
- */
- public XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier) throws XNIException, IOException
- {
- String publicId = resourceIdentifier.getPublicId();
- String systemId = resourceIdentifier.getLiteralSystemId();
- if (publicId == null || publicId.equals(""))
- {
- publicId = resourceIdentifier.getNamespace();
- }
- IURIResolutionResult result = resolve(resourceIdentifier.getBaseSystemId(), publicId, systemId);
- XMLInputSource xmlInputSource = null;
- if (result != null)
- {
- LazyURLInputStream is = new LazyURLInputStream(result.getPhysicalLocation());
- xmlInputSource = new XMLInputSource(publicId, result.getLogicalLocation(), result.getLogicalLocation(), is, null);
- }
- return xmlInputSource;
- }
-
- /**
- * Normalize the systemId. Make it absolute with respect to the
- * baseLocation if necessary.
- *
- * @param baseLocation The base location of the file.
- * @param systemId The system id of the file.
- * @return A normalized version of the system id.
- */
- protected String normalize(String baseLocation, String systemId)
- {
- if(systemId == null)
- {
- return systemId;
- }
- // Try to find a scheme in the systemId.
- int schemaLoc = systemId.indexOf(':');
- if(schemaLoc != -1 && systemId.charAt(schemaLoc+1) == '/')
- {
- // A scheme has been found. The systemId is an
- // absolute location so return it.
- return systemId;
- }
- if(baseLocation == null)
- {
- return baseLocation;
- }
-
- String result = "";
-
- // Ensure all slashes in the locations are /.
- baseLocation = baseLocation.replace('\\','/');
- systemId = systemId.replace('\\','/');
-
- // Remove the trailing section of the baseLocation.
- int lastSlash = baseLocation.lastIndexOf('/');
- String tempresult = baseLocation.substring(0, lastSlash+1);
-
- if(systemId.startsWith("/"))
- {
- systemId = systemId.substring(1);
- }
-
- // Join the base location with the systemid
- tempresult = tempresult + systemId;
-
- // While the relative location starts with a ../ or ./ change
- // the result and the relative location.
- int loc;
- while((loc = tempresult.lastIndexOf("./")) != -1)
- {
- result = tempresult.substring(loc + 2) + result;
- if(tempresult.charAt(loc - 1) == '.')
- {
- if(tempresult.charAt(loc - 2) == '/')
- {
- String temp = tempresult.substring(0, loc - 2);
- int loc2 = temp.lastIndexOf('/');
- if(loc2 == -1)
- {
- // If there is no other / before this the URL must start with scheme:/../
- result = "../" + result;
- tempresult = tempresult.substring(0, loc - 1);
- }
- else
- {
- // Remove the section that comes before this one from tempresult unless it's ../.
- tempresult = tempresult.substring(0, loc - 1);
- int numSectsToRemove = 1;
-
- while(tempresult.endsWith("./"))
- {
- int tempreslen = tempresult.length();
- if(tempreslen > 2 && tempresult.charAt(tempreslen -3) == '.')
- {
- if(tempreslen > 3 && tempresult.charAt(tempreslen - 4) == '/')
- {
- numSectsToRemove++;
- tempresult = tempresult.substring(0, tempresult.length() -3);
- }
- else
- {
- break;
- }
- }
- else
- {
- if(tempresult.charAt(tempresult.length() -2) == '/')
- {
- tempresult = tempresult.substring(0, tempresult.length() -2);
- }
- else
- {
- break;
- }
- }
- }
- // Remove the sections.
- for(int i = 0; i < numSectsToRemove; i++)
- {
- String temp2 = tempresult.substring(0,tempresult.length()-1);
- int loc3 = temp2.lastIndexOf('/');
- if(loc3 == -1)
- {
- break;
- }
- tempresult = tempresult.substring(0, loc3+1);
- }
- }
- }
- else
- {
- // The URI is of the form file://somedir../ so copy it as is
- String temp = tempresult.substring(0, loc - 1);
- int loc2 = temp.lastIndexOf('/');
- if(loc2 == -1)
- {
- // The URI must look like file:../ or ../ so copy over the whole tempresult.
- result = tempresult.substring(0,loc+2) + result;
- tempresult = "";
- }
- else
- {
- // Copy over the whole somedir../
- result = tempresult.substring(loc2 + 1, tempresult.length());
- tempresult = tempresult.substring(0, loc2+1);
- }
- }
- }
- else
- {
- if(tempresult.charAt(loc -1 ) == '/')
- {
- // Result is of the form file://something/./something so remove the ./
- tempresult = tempresult.substring(0,loc);
- }
- else
- {
- // Result URI is of form file://somedir./ so copy over the whole section.
- String temp = tempresult.substring(0, loc - 1);
- int loc2 = temp.lastIndexOf('/');
- if(loc2 == -1)
- {
- // The URI must look like file:./ or ./ so copy over the whole tempresult.
- result = tempresult.substring(0, loc) + result;
- tempresult = "";
- }
- else
- {
- // Copy over the whole somedir./
- result = tempresult.substring(loc2 + 1, tempresult.length());
- tempresult = tempresult.substring(0, loc2+1);
- }
- }
- }
- }
- result = tempresult + result;
- return result;
- }
-
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolverDelegate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolverDelegate.java
deleted file mode 100644
index 80a999297..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolverDelegate.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.resolver;
-
-
-/**
- * A delegate to hold information about an extension URI resolver.
- */
-public class URIResolverDelegate
-{
- private String classname;
- private ClassLoader classloader;
- private IExtensibleURIResolver resolver = null;
-
-
- /**
- * Constructor.
- *
- * @param classname The class name of the URI resolver.
- * @param classloader The class loader to use to load the URI resolver.
- */
- public URIResolverDelegate(String classname, ClassLoader classloader)
- {
- this.classname = classname;
- this.classloader = classloader;
- }
-
- /**
- * Get the URI resolver described by this delegate.
- *
- * @return The URI resolver described by this delegate.
- */
- public IExtensibleURIResolver getURIResolver()
- {
- if(resolver == null)
- {
- try
- {
- resolver = (IExtensibleURIResolver)classloader.loadClass(classname).newInstance();
- }
- catch(Exception e)
- {
- try
- {
- resolver = (IExtensibleURIResolver)getClass().getClassLoader().loadClass(classname).newInstance();
- }
- catch(Exception e2)
- {
- }
- }
- }
- return resolver;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/AntLogger.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/AntLogger.java
deleted file mode 100644
index 484f7c6a4..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/AntLogger.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.ui.ant;
-
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.Task;
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-
-/**
- * A logger that logs using Ant's log method.
- */
-public class AntLogger implements ILogger
-{
- private Task task = null;
-
- /**
- * Constructor.
- *
- * @param antTask
- * The Ant task this logger will act for.
- */
- public AntLogger(Task antTask)
- {
- task = antTask;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int)
- */
- public void log(String message, int severity)
- {
- int msgLevel = Project.MSG_ERR;
- if(severity == ILogger.SEV_WARNING)
- {
- msgLevel = Project.MSG_WARN;
- }
- else if(severity == ILogger.SEV_INFO)
- {
- msgLevel = Project.MSG_INFO;
- }
- else if(severity == ILogger.SEV_VERBOSE)
- {
- msgLevel = Project.MSG_VERBOSE;
- }
- task.log(message, msgLevel);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int, java.lang.Throwable)
- */
- public void log(String message, int severity, Throwable throwable)
- {
- log(message, severity);
- log(throwable.toString(), severity);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/ExtensionValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/ExtensionValidator.java
deleted file mode 100644
index 3f49448e3..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/ExtensionValidator.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.ui.ant;
-
-/**
- * An extension Ant WSDL validator.
- */
-public class ExtensionValidator
-{
- private String classname = null;
- private String namespace = null;
-
- public void setClass(String classname)
- {
- this.classname = classname;
- }
-
- public String getClassName()
- {
- return this.classname;
- }
-
- public void setNamespace(String namespace)
- {
- this.namespace = namespace;
- }
-
- public String getNamespace()
- {
- return this.namespace;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/Property.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/Property.java
deleted file mode 100644
index bf0654011..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/Property.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.ui.ant;
-
-import org.apache.tools.ant.Task;
-
-/**
- * This class represents a property set on the WSDL validator.
- */
-public class Property extends Task
-{
- private String name = null;
- private String value = null;
-
- /**
- * Set the name of the property.
- *
- * @param name
- * The name of the property.
- */
- public void setName(String name)
- {
- this.name = name;
- }
-
- /**
- * Get the name of the property.
- *
- * @return
- * The name of the property.
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * Set the value of the property.
- *
- * @param value
- * The value of the property.
- */
- public void setValue(String value)
- {
- this.value = value;
- }
-
- /**
- * Get the value of the property.
- *
- * @return
- * The value of the property.
- */
- public String getValue()
- {
- return value;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/URIResolver.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/URIResolver.java
deleted file mode 100644
index 2d66239b6..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/URIResolver.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.ui.ant;
-
-import org.apache.tools.ant.Task;
-
-/**
- * The URIResolver task allows specifying an extension URI resolver with
- * the WSDLValidate Ant task.
- */
-public class URIResolver extends Task
-{
- private String clazz = null;
-
- /**
- * Set the class name of the extension URI resolver.
- *
- * @param clazz The class name of the extension URI resolver.
- */
- public void setClassName(String clazz)
- {
- this.clazz = clazz;
- }
-
- /**
- * Get the class name of the extension URI resolver.
- *
- * @return The class name of the extension URI resolver.
- */
- public String getClassName()
- {
- return clazz;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/WSDLValidate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/WSDLValidate.java
deleted file mode 100644
index b54f74431..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/WSDLValidate.java
+++ /dev/null
@@ -1,489 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.ui.ant;
-
-import java.io.File;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.DirectoryScanner;
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.Task;
-import org.apache.tools.ant.types.DTDLocation;
-import org.apache.tools.ant.types.FileSet;
-import org.apache.tools.ant.types.Path;
-import org.apache.tools.ant.types.XMLCatalog;
-import org.eclipse.wst.wsdl.validation.internal.ClassloaderWSDLValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
-import org.eclipse.wst.wsdl.validation.internal.IValidationReport;
-import org.eclipse.wst.wsdl.validation.internal.WSDLValidationConfiguration;
-import org.eclipse.wst.wsdl.validation.internal.WSDLValidator;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolverDelegate;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.ClassloaderWSDL11ValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorDelegate;
-
-/**
- * An Ant task to run WSDL validation on a file or a set of files.
- *
- * Options
- * - file - the file to run validation on (optional if fileset is used)
- * - failonerror - fail the build process on the first file with an error
- *
- * Supported Nested Elements
- * - xmlcatalog - an xml catalog
- * - dtd - a dtd specification as would appear in an xmlcatalog
- * - schema - a schema specification as would appear in an xmlcatalog
- * - entity - an entity specification as would appear in an xmlcatalog
- * - fileset - a set of files to validate
- * - wsdl11validator - an extension WSDL 1.1 validator
- * - uriresolver - an extension URI resolver
- *
- */
-public class WSDLValidate extends Task
-{
- protected final String UI_PROPERTIES = "validatewsdlui";
- protected final String VALIDATOR_PROPERTIES = org.eclipse.wst.wsdl.validation.internal.Constants.WSDL_VALIDATOR_PROPERTIES_FILE;
- protected final String _ERROR_NO_FILE_SPECIFIED = "_ERROR_NO_FILE_SPECIFIED";
- protected final String _UI_INFORMATION_DELIMITER = "_UI_INFORMATION_DELIMITER";
- protected final String _UI_ACTION_VALIDATING_FILE = "_UI_ACTION_VALIDATING_FILE";
- protected final String _UI_ERROR_MARKER = "_UI_ERROR_MARKER";
- protected final String _UI_WARNING_MARKER = "_UI_WARNING_MARKER";
- protected final String _UI_VALID = "_UI_VALID";
- protected final String _UI_INVALID = "_UI_INVALID";
- protected final String _EXC_UNABLE_TO_VALIDATE_FILE = "_EXC_UNABLE_TO_VALIDATE_FILE";
- protected final String _EXC_WSDL_FAIL_ON_ERROR = "_EXC_WSDL_FAIL_ON_ERROR";
-
- protected final String FILE_PROTOCOL = "file:///";
-
- // Global Vars
- protected List filesets = new ArrayList();
- protected String file = null;
- protected Path classpath;
- protected String xsdDirectory = null;
- protected boolean failOnError = false;
- protected XMLCatalog globalXMLCatalog = new XMLCatalog();
- protected List wsdl11validators = new ArrayList();
- protected List extvalidators = new ArrayList();
- protected List extURIResolvers = new ArrayList();
- protected List properties = new ArrayList();
-
- /**
- * Constuctor.
- */
- public WSDLValidate()
- {
- LoggerFactory.getInstance().setLogger(new AntLogger(this));
- }
-
- /**
- * Tells the WSDL validate task to fail the build if an error is encountered.
- *
- * @param failOnError Whether to fail on error or not.
- */
- public void setFailOnError(boolean failOnError)
- {
- this.failOnError = failOnError;
- }
-
- /**
- * Set the directory where the base schema files for the catalog are located.
- *
- * @param dir - the directory of the base schema files
- */
- public void setSchemaDir(String dir)
- {
- xsdDirectory = dir;
- }
-
- /**
- * Set a file to run WSDL validation on.
- *
- * @param file - a file to run validation on
- */
- public void setFile(String file)
- {
- this.file = file;
- }
-
- /**
- * Create a set of files to run WSDL validation on.
- *
- * @return the FileSet of files to run WSDL validation on
- */
- public FileSet createFileset()
- {
- FileSet fileset = new FileSet();
- filesets.add(fileset);
- return fileset;
- }
-
- /**
- * Add an XML catalog to the validator.
- *
- * @param catalog - the catalog to add to the validator
- */
- public void addConfiguredXMLCatalog(XMLCatalog catalog)
- {
- globalXMLCatalog.addConfiguredXMLCatalog(catalog);
- }
- /**
- * Add an extension validator.
- *
- * @param extVal The extension validator to add.
- */
- public void addConfiguredExtensionValidator(ExtensionValidator extVal)
- {
- extvalidators.add(extVal);
- }
-
- /**
- * Add an extension WSDL 1.1 validator.
- *
- * @param extVal The extension WSDL 1.1 validator to add.
- */
- public void addConfiguredWSDL11Validator(ExtensionValidator extVal)
- {
- wsdl11validators.add(extVal);
- }
-
- /**
- * Allow specification of an entity outside of an XMLCatalog.
- *
- * @return a DTDLocation with the specified entity
- **/
- public DTDLocation createEntity()
- {
- DTDLocation dtdLoc = new DTDLocation();
- globalXMLCatalog.addEntity(dtdLoc);
- return dtdLoc;
- }
-
- /**
- * Allow specification of a DTD outside of an XMLCatalog.
- *
- * @return a DTDLocation with the specified DTD
- **/
- public DTDLocation createDTD()
- {
- DTDLocation dtdLoc = new DTDLocation();
- globalXMLCatalog.addEntity(dtdLoc);
- return dtdLoc;
- }
-
- /**
- * Create a URIResolver extension.
- *
- * @return A URIResolver.
- */
- public URIResolver createURIResolver()
- {
- URIResolver urires = new URIResolver();
- extURIResolvers.add(urires.getClassName());
- return urires;
- }
-
- /**
- * Add a property to the WSDL validator.
- *
- * @param property
- * The property to add.
- */
- public void addConfiguredProperty(Property property)
- {
- properties.add(property);
- }
-
- /**
- * Get a list of all the files to run WSDL validation on. Takes the file and fileset
- * and creates the list.
- *
- * @return the list of files to be validated
- */
- protected List getFileList()
- {
- List files = new ArrayList();
-
- // if a specific file was specified add it to the list
- if (file != null)
- {
- try
- {
- URL url = new URL(file);
- files.add(url.toExternalForm());
- }
- catch(Exception e)
- {
- File theFile = new File(file);
- if(!theFile.isAbsolute())
- {
- theFile = new File(getProject().getBaseDir(), file);
- }
- String absFile = theFile.toString();
- if(!absFile.startsWith("file:"))
- {
- absFile = FILE_PROTOCOL + absFile;
- }
- absFile = absFile.replace('\\','/');
- files.add(absFile);
- }
- }
-
- // go through all filesets specified and add all the files to the list
- Iterator fsIter = filesets.iterator();
- while (fsIter.hasNext())
- {
- FileSet fileset = (FileSet)fsIter.next();
- DirectoryScanner ds = fileset.getDirectoryScanner(fileset.getProject());
- String basedir = ds.getBasedir().toString() + File.separator;
-
- String[] filelist = ds.getIncludedFiles();
- int numFiles = filelist.length;
- if (files != null && numFiles > 0)
- {
- for (int i = 0; i < numFiles; i++)
- {
- String absFile = FILE_PROTOCOL + basedir + filelist[i];
- absFile = absFile.replace('\\','/');
- files.add(absFile);
- }
- }
- }
- return files;
- }
-
- /* (non-Javadoc)
- * @see org.apache.tools.ant.Task#execute()
- */
- public void execute() throws BuildException
- {
- // the resource bundles for the ui and validator are needed
- MessageGenerator messGen = null;
- try
- {
- ResourceBundle uiRB = ResourceBundle.getBundle(UI_PROPERTIES);
- messGen = new MessageGenerator(uiRB);
- }
- catch (MissingResourceException e)
- {
- // if the resource bundles can't be opened we can't report error so throw an exception
- throw new BuildException("Unable to open resource bundle. " + e);
- }
-
- // Set the XML catalog.
- org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog.setExtensionXMLCatalog(XMLCatalogImpl.class.getName(), getClass().getClassLoader());
- XMLCatalogImpl xmlCatalog = (XMLCatalogImpl)org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog.getExtensionCatalogInstance();
- xmlCatalog.addXMLCatalog(globalXMLCatalog);
-
- WSDLValidator wsdlValidator = new WSDLValidator();
-
- WSDLValidationConfiguration configuration = new WSDLValidationConfiguration();
- // Set the properties.
- Iterator propertyIter = properties.iterator();
- while(propertyIter.hasNext())
- {
- Property property = (Property)propertyIter.next();
- configuration.setProperty(property.getName(), property.getValue());
- }
-
- // Set the extension URIResolvers.
- Iterator resolversIter = extURIResolvers.iterator();
- while(resolversIter.hasNext())
- {
- String resolverClass = (String)resolversIter.next();
- wsdlValidator.addURIResolver(new URIResolverDelegate(resolverClass, getClass().getClassLoader()).getURIResolver());
- }
-
- // Get the list of files to validate.
- List files = getFileList();
-
- // Register the WSDL 1.1 extension validators.
- Iterator wsdl11extIter = wsdl11validators.iterator();
- while(wsdl11extIter.hasNext())
- {
- ExtensionValidator extVal = (ExtensionValidator)wsdl11extIter.next();
- WSDL11ValidatorDelegate delegate = new ClassloaderWSDL11ValidatorDelegate(extVal.getClassName());
- wsdlValidator.registerWSDL11Validator(extVal.getNamespace(), delegate);
- }
-
- // Register the extension validators.
- Iterator extIter = extvalidators.iterator();
- while(extIter.hasNext())
- {
- ExtensionValidator extVal = (ExtensionValidator)extIter.next();
- ClassloaderWSDLValidatorDelegate delegate = new ClassloaderWSDLValidatorDelegate(extVal.getClassName());
- wsdlValidator.registerWSDLExtensionValidator(extVal.getNamespace(), delegate);
- }
-
- // The user didn't specify any files to validate.
- if (files == null || files.isEmpty())
- {
- log(messGen.getString(_ERROR_NO_FILE_SPECIFIED), Project.MSG_ERR);
- return;
- }
-
- if (xsdDirectory != null)
- {
- org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog.addSchemaDir(xsdDirectory);
- }
-
- // Validate all the files specified.
- Iterator iFiles = files.iterator();
-
- // Common strings needed in validation output.
- String infoDelim = messGen.getString(_UI_INFORMATION_DELIMITER);
- String valid = messGen.getString(_UI_VALID);
- String invalid = messGen.getString(_UI_INVALID);
- String errormarker = messGen.getString(_UI_ERROR_MARKER);
- String warningmarker = messGen.getString(_UI_WARNING_MARKER);
-
- StringBuffer result = null;
- boolean notvalid = true;
- while (iFiles.hasNext())
- {
- result = new StringBuffer();
- notvalid = false;
- String filename = (String)iFiles.next();
- try
- {
- result.append(infoDelim).append("\n");
- result.append(messGen.getString(_UI_ACTION_VALIDATING_FILE, filename)).append(" - ");
-
- IValidationReport valReport = wsdlValidator.validate(filename, null, configuration);
-
- IValidationMessage[] messages = valReport.getValidationMessages();
-
- if (!valReport.hasErrors())
- {
- result.append(valid);
- }
- else
- {
- result.append(invalid);
- notvalid = true;
- }
- result.append("\n").append(infoDelim).append("\n");
-
- result.append(reportMessages(messages, errormarker, warningmarker));
-
- if(notvalid)
- {
- log(result.toString(), Project.MSG_ERR);
- }
- else
- {
- log(result.toString());
- }
- }
- catch (Exception e)
- {
- log(messGen.getString(_EXC_UNABLE_TO_VALIDATE_FILE, filename, e), Project.MSG_ERR);
- }
- finally
- {
- if (notvalid && failOnError)
- {
- // To fail on error, throw a build exception.
- throw new BuildException(messGen.getString(_EXC_WSDL_FAIL_ON_ERROR));
- }
- }
- }
-
- org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog.reset();
-
- }
-
- /**
- * Return a string with formatted output for the messages.
- *
- * @param messages The messages to report.
- * @param errormarker The marker to use for error messages.
- * @param warningmarker The marker to use for warning messages.
- * @return A string with the formatted output.
- */
- protected String reportMessages(IValidationMessage[] messages, String errormarker, String warningmarker)
- {
- StringBuffer returnBuffer = new StringBuffer();
-
- if (messages == null)
- return returnBuffer.toString();
-
- String prefix = null;
- int numMessages = messages.length;
- for(int i = 0; i < numMessages; i++)
- {
- IValidationMessage message = messages[i];
-
- if(message.getSeverity() == IValidationMessage.SEV_ERROR)
- {
- prefix = errormarker;
- }
- else if(message.getSeverity() == IValidationMessage.SEV_WARNING)
- {
- prefix = warningmarker;
- }
- else
- {
- prefix = "";
- }if(message.getSeverity() == IValidationMessage.SEV_ERROR)
- {
- prefix = errormarker;
- }
- else if(message.getSeverity() == IValidationMessage.SEV_WARNING)
- {
- prefix = warningmarker;
- }
- else
- {
- prefix = "";
- }if(message.getSeverity() == IValidationMessage.SEV_ERROR)
- {
- prefix = errormarker;
- }
- else if(message.getSeverity() == IValidationMessage.SEV_WARNING)
- {
- prefix = warningmarker;
- }
- else
- {
- prefix = "";
- }if(message.getSeverity() == IValidationMessage.SEV_ERROR)
- {
- prefix = errormarker;
- }
- else if(message.getSeverity() == IValidationMessage.SEV_WARNING)
- {
- prefix = warningmarker;
- }
- else
- {
- prefix = "";
- }
- returnBuffer
- .append(prefix)
- .append(" ")
- .append(message.getLine())
- .append(":")
- .append(message.getColumn())
- .append(":")
- .append(message.getMessage())
- .append("\n");
- }
- return returnBuffer.toString();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/XMLCatalogImpl.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/XMLCatalogImpl.java
deleted file mode 100644
index 2f762b1a4..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/XMLCatalogImpl.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.ui.ant;
-
-import org.apache.tools.ant.types.DTDLocation;
-import org.apache.tools.ant.types.XMLCatalog;
-import org.xml.sax.InputSource;
-
-/**
- * An implementation of the WSDL Validator's XML Catalog that uses the XML Catalog
- * from ant.
- */
-public class XMLCatalogImpl extends org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog
-{
- protected XMLCatalog xmlCatalog = new XMLCatalog();
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog#addEntryToCatalog(java.lang.String, java.lang.String)
- */
- public void addEntryToCatalog(String publicId, String systemId)
- {
- DTDLocation resLoc = new DTDLocation();
- resLoc.setLocation(systemId);
- resLoc.setPublicId(publicId);
- xmlCatalog.addEntity(resLoc);
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog#resolveEntityLocation(java.lang.String, java.lang.String)
- */
- public String resolveEntityLocation(String publicId, String systemId)
- {
- String resolvedId = null;
-
- try
- {
- InputSource is = xmlCatalog.resolveEntity(publicId, systemId);
- if (is != null)
- {
- resolvedId = is.getSystemId();
- }
- }
- //
- catch (Exception e)
- {
- // Do nothing if the resource can't be resolved.
- }
- // needs to return null if it can't resolve the id
- if (resolvedId != null && resolvedId.equals(""))
- {
- resolvedId = null;
- }
- return resolvedId;
- }
-
- /**
- * Add a configured XML Catalog to this catalog.
- *
- * @param catalog A configured XML catalog to add to this catalog.
- */
- public void addXMLCatalog(XMLCatalog catalog)
- {
- xmlCatalog.addConfiguredXMLCatalog(catalog);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/Log4jLogger.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/Log4jLogger.java
deleted file mode 100644
index c8a224b01..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/Log4jLogger.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.validation.internal.ui.text;
-
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-
-/**
- * A custom WSDL validator logger that passes logging events to log4j.
- */
-public class Log4jLogger implements ILogger
-{
- // This class is implemented using reflection to avoid a comilation dependency
- // on log4j.
- protected Object logger = null;
- protected Method error1 = null;
- protected Method warn1 = null;
- protected Method info1 = null;
- protected Method debug1 = null;
- protected Method error2 = null;
- protected Method warn2 = null;
- protected Method info2 = null;
- protected Method debug2 = null;
-
- public Log4jLogger()
- {
- try
- {
- Class loggerClass = getClass().getClassLoader().loadClass("org.apache.log4j.Logger");
- Class categoryClass = getClass().getClassLoader().loadClass("org.apache.log4j.Category");
- Method getLogger = loggerClass.getDeclaredMethod("getLogger" , new Class[]{Class.class});
- logger = getLogger.invoke(loggerClass, new Object[]{WSDLValidate.class});
- error1 = categoryClass.getDeclaredMethod("error" , new Class[]{Object.class});
- warn1 = categoryClass.getDeclaredMethod("warn" , new Class[]{Object.class});
- info1 = categoryClass.getDeclaredMethod("info" , new Class[]{Object.class});
- debug1 = categoryClass.getDeclaredMethod("debug" , new Class[]{Object.class});
- error2 = categoryClass.getDeclaredMethod("error" , new Class[]{Object.class, Throwable.class});
- warn2 = categoryClass.getDeclaredMethod("warn" , new Class[]{Object.class, Throwable.class});
- info2 = categoryClass.getDeclaredMethod("info" , new Class[]{Object.class, Throwable.class});
- debug2 = categoryClass.getDeclaredMethod("debug" , new Class[]{Object.class, Throwable.class});
- }
- catch(ClassNotFoundException e)
- {
- System.err.println("Unable to create Log4j Logger. Ensure Log4J is on the classpath.");
- }
- catch(NoSuchMethodException e)
- {
-
- }
- catch(IllegalAccessException e)
- {
-
- }
- catch(InvocationTargetException e)
- {
-
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int)
- */
- public void log(String message, int severity)
- {
- if(logger != null)
- {
- try
- {
- if(severity == ILogger.SEV_ERROR)
- {
- error1.invoke(logger, new Object[]{message});
- }
- else if(severity == ILogger.SEV_WARNING)
- {
- warn1.invoke(logger, new Object[]{message});
- }
- else if(severity == ILogger.SEV_INFO)
- {
- info1.invoke(logger, new Object[]{message});
- }
- else if(severity == ILogger.SEV_VERBOSE)
- {
- debug1.invoke(logger, new Object[]{message});
- }
- }
- catch(InvocationTargetException e)
- {
- // Do nothing.
- }
- catch(IllegalAccessException e)
- {
- // Do nothing.
- }
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.logging.ILogger#log(java.lang.String, int, java.lang.Throwable)
- */
- public void log(String message, int severity, Throwable throwable)
- {
- if(logger != null)
- {
- try
- {
- if(severity == ILogger.SEV_ERROR)
- {
- error2.invoke(logger, new Object[]{message, throwable});
- }
- else if(severity == ILogger.SEV_WARNING)
- {
- warn2.invoke(logger, new Object[]{message, throwable});
- }
- else if(severity == ILogger.SEV_INFO)
- {
- info2.invoke(logger, new Object[]{message, throwable});
- }
- else if(severity == ILogger.SEV_VERBOSE)
- {
- debug2.invoke(logger, new Object[]{message, throwable});
- }
- }
- catch(InvocationTargetException e)
- {
- // Do nothing.
- }
- catch(IllegalAccessException e)
- {
- // Do nothing.
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidate.java
deleted file mode 100644
index a557bf7ed..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidate.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.ui.text;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.text.MessageFormat;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.wst.wsdl.validation.internal.ClassloaderWSDLValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
-import org.eclipse.wst.wsdl.validation.internal.IValidationReport;
-import org.eclipse.wst.wsdl.validation.internal.WSDLValidationConfiguration;
-import org.eclipse.wst.wsdl.validation.internal.WSDLValidator;
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolverDelegate;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.ClassloaderWSDL11ValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorDelegate;
-import org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalog;
-import org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalogEntityHolder;
-
-import com.ibm.wsdl.util.StringUtils;
-
-/**
- * A commande line tool to run WSDL Validation on a single or multiple files.
- *
- * Options
- * -schemaDir directory : a directory of schemas to load into the catalog
- * -schema namespace location : a schema to load into the registry
- * -wsdl11v classname namespace resourcebundle : register a WSDL 1.1 extension validator
- * to load for the given namespace with the given resourcebundle
- * -wsiv validatorClass namespace propertiesfile : register a WS-I validator
- * -uriresolver URIResolverClass : register an extension URI resolver
- */
-public class WSDLValidate
-{
- private final String FILE_PREFIX = "file:///";
- private static final String VALIDATOR_PROPERTIES =
- org.eclipse.wst.wsdl.validation.internal.Constants.WSDL_VALIDATOR_PROPERTIES_FILE;
-
- protected static final String PARAM_WSDL11VAL = "-wsdl11v";
- protected static final String PARAM_EXTVAL = "-extv";
- protected static final String PARAM_SCHEMADIR = "-schemaDir";
- protected static final String PARAM_SCHEMA = "-schema";
- protected static final String PARAM_URIRESOLVER = "-uriresolver";
- protected static final String PARAM_LOGGER = "-logger";
- protected static final String PARAM_PROPERTY = "-D";
- protected static final String PARAM_VERBOSE = "-verbose";
- protected static final String PARAM_VERBOSE_SHORT = "-v";
-
- private static final String STRING_EMPTY = "";
- private static final String STRING_SPACE = " ";
- private static final String STRING_DASH = "-";
-
- String workingdir = System.getProperty("user.dir");
-
- //protected ResourceBundle resourceBundle;
-
- protected WSDLValidator wsdlValidator = null;
- protected WSDLValidationConfiguration configuration = null;
- protected List wsdlFiles = new ArrayList();
- protected boolean verbose = false;
- protected ResourceBundle validatorRB = null;
-
- /**
- * Constuctor.
- */
- protected WSDLValidate()
- {
- wsdlValidator = new WSDLValidator();
- configuration = new WSDLValidationConfiguration();
-
- try
- {
- validatorRB = ResourceBundle.getBundle(VALIDATOR_PROPERTIES);
- }
- catch (MissingResourceException e)
- {
- LoggerFactory.getInstance().getLogger().log("Validation failed: Unable to load the WSDL validator properties file.", ILogger.SEV_ERROR, e);
- }
- }
-
- /**
- * Validate the files specified.
- */
- protected void validate()
- {
- ILogger logger = LoggerFactory.getInstance().getLogger();
-
- int numInvalid = 0;
-
- Iterator filesIter = wsdlFiles.iterator();
- while (filesIter.hasNext())
- {
- String wsdlFile = (String)filesIter.next();
- IValidationReport valReport = validateFile(wsdlFile);
-
- if(valReport.hasErrors())
- {
- numInvalid++;
- logger.log(MessageFormat.format(WSDLValidateTextUIMessages._UI_FILE_INVALID, new Object[]{wsdlFile}), ILogger.SEV_INFO);
- //logger.log(WSDLValidateTextUIMessages._UI_INFORMATION_DELIMITER, ILogger.SEV_ERROR);
- logger.log(getMessages(valReport.getValidationMessages()), ILogger.SEV_INFO);
- }
- else if(verbose)
- {
- logger.log(MessageFormat.format(WSDLValidateTextUIMessages._UI_FILE_VALID, new Object[]{wsdlFile}), ILogger.SEV_VERBOSE);
- }
- }
-
- // Log the summary.
- logger.log(MessageFormat.format(WSDLValidateTextUIMessages._UI_VALIDATION_SUMMARY, new Object[]{new Integer(wsdlFiles.size()), new Integer(numInvalid)}), ILogger.SEV_INFO);
- }
-
- /**
- * Run WSDL validation on a given file.
- *
- * @param filename
- * The name of the file to validate.
- * @throws Exception
- */
- protected IValidationReport validateFile(String filename)
- {
- // Resolve the location of the file.
- String filelocation = null;
- try
- {
- URL fileURL = StringUtils.getURL(new URL(FILE_PREFIX + workingdir + "/"), filename);
- filelocation = fileURL.toExternalForm();
- }
- catch (MalformedURLException e)
- {
- // Do nothing. The WSDL validator will handle the error.
- //LoggerFactory.getInstance().getLogger().log(MessageFormat.format(WSDLValidateTextUIMessages._ERROR_UNABLE_TO_READ_FILE, new Object[]{filename}), ILogger.SEV_ERROR);
- }
-
- // Run validation on the file.
- IValidationReport valReport = wsdlValidator.validate(filelocation, null, configuration);
- return valReport;
- }
-
- /**
- * Returns a String with formatted output for a list of messages.
- *
- * @param messages
- * The messages to get.
- * @return
- * A string with a formatted list of the messages.
- */
- protected String getMessages(IValidationMessage[] messages)
- {
- StringBuffer outputBuffer = new StringBuffer();
- if (messages != null)
- {
- // create a list of messages that looks like
- // ERROR 1:1 Error message content
- int numMessages = messages.length;
- String marker = null;
- for (int i = 0; i < numMessages; i++)
- {
- IValidationMessage message = messages[i];
- int severity = message.getSeverity();
- if (severity == IValidationMessage.SEV_ERROR)
- {
- marker = WSDLValidateTextUIMessages._UI_ERROR_MARKER;
- }
- else if (severity == IValidationMessage.SEV_WARNING)
- {
- marker = WSDLValidateTextUIMessages._UI_WARNING_MARKER;
- }
- else
- {
- marker = STRING_EMPTY;
- }
- outputBuffer
- .append(marker)
- .append(STRING_SPACE)
- .append(message.getLine())
- .append(":")
- .append(message.getColumn())
- .append(STRING_SPACE)
- .append(message.getMessage());
- if(i != numMessages -1)
- {
- outputBuffer.append("\n");
- }
- }
- }
- return outputBuffer.toString();
- }
-
- /**
- * The main entry point into the command line tool.
- * Checks the command line arguments, registers the default validators and runs validation on the
- * list of files.
- *
- * @param args - the arguments to the validator
- */
- public static void main(String[] args)
- {
- // No arguments specified. Print usage.
- if (args.length < 1)
- {
- System.err.println(WSDLValidateTextUIMessages._ERROR_WRONG_ARGUMENTS);
- System.exit(0);
- }
-
- WSDLValidate wsdlValidate = new WSDLValidate();
- wsdlValidate.parseArguments(args);
- wsdlValidate.validate();
- }
-
- /**
- * Parse the arguments specified for this WSDLValidate task and
- * configure validation.
- *
- * @param args
- * The arguments specified for this task.
- */
- protected void parseArguments(String[] args)
- {
- int numargs = args.length;
-
- for (int i = 0; i < numargs; i++)
- {
- String param = args[i];
-
- // Registering an extension validator or WSDL 1.1 extension validator.
- if (param.equals(WSDLValidate.PARAM_WSDL11VAL)
- || param.equals(WSDLValidate.PARAM_EXTVAL))
- {
- String namespace = args[++i];
- if (!namespace.startsWith(WSDLValidate.STRING_DASH))
- {
- String validatorClass = args[++i];
-
- if (!validatorClass.startsWith(WSDLValidate.STRING_DASH))
- {
- if(param.equalsIgnoreCase(WSDLValidate.PARAM_WSDL11VAL))
- {
- WSDL11ValidatorDelegate delegate = new ClassloaderWSDL11ValidatorDelegate(validatorClass);
- wsdlValidator.registerWSDL11Validator(namespace, delegate);
- }
- else if(param.equalsIgnoreCase(WSDLValidate.PARAM_EXTVAL))
- {
- ClassloaderWSDLValidatorDelegate delegate = new ClassloaderWSDLValidatorDelegate(validatorClass);
- wsdlValidator.registerWSDLExtensionValidator(namespace, delegate);
- }
- }
- else
- {
- i--;
- }
- }
- else
- {
- i--;
- }
- }
- // Register a directory with schemas.
- else if (param.equalsIgnoreCase(WSDLValidate.PARAM_SCHEMADIR))
- {
- String xsdDir = args[++i];
- XMLCatalog.addSchemaDir(xsdDir);
- }
- // Register a schema.
- // TODO: Replace this with an XML catalog.
- else if (param.equalsIgnoreCase(WSDLValidate.PARAM_SCHEMA))
- {
- String publicid = args[++i];
- String systemid = args[++i];
- XMLCatalog.addEntity(new XMLCatalogEntityHolder(publicid, systemid));
- }
- // Register a URI resolver.
- // TODO: Determine if this is appropriate for the text UI.
- else if(param.equalsIgnoreCase(PARAM_URIRESOLVER))
- {
- String resolverClass = args[++i];
- wsdlValidator.addURIResolver(new URIResolverDelegate(resolverClass, null).getURIResolver());
- }
- // Configure the logger.
- else if(param.equals(PARAM_LOGGER))
- {
- String loggerClassString = args[++i];
- try
- {
- Class loggerClass = WSDLValidate.class.getClassLoader().loadClass(loggerClassString);
- ILogger logger = (ILogger)loggerClass.newInstance();
- LoggerFactory.getInstance().setLogger(logger);
- }
- catch(Exception e)
- {
- System.err.println(MessageFormat.format(WSDLValidateTextUIMessages._ERROR_LOADING_LOGGER, new Object[]{loggerClassString}));
- }
- }
- // Set properties.
- else if(param.startsWith(PARAM_PROPERTY))
- {
- int separator = param.indexOf('=');
- String name = param.substring(2, separator);
- String value = param.substring(separator+1);
- configuration.setProperty(name, value);
- }
- // Set verbose;
- else if(param.equals(PARAM_VERBOSE) || param.equals( PARAM_VERBOSE_SHORT))
- {
- verbose = true;
- }
- // a file to validate
- else
- {
- if(!param.startsWith(WSDLValidate.STRING_DASH))
- {
- wsdlFiles.add(param);
- }
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateTextUIMessages.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateTextUIMessages.java
deleted file mode 100644
index 17ac8e896..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateTextUIMessages.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Copyright (c) 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- */
-package org.eclipse.wst.wsdl.validation.internal.ui.text;
-
-import java.util.ResourceBundle;
-
-/**
- * Strings used by the WSDLValidate text UI.
- * This class mimics the behaviour of the OSGI NLS class for convenience.
- */
-public class WSDLValidateTextUIMessages
-{
- private static final String BUNDLE_NAME = "org.eclipse.wst.wsdl.validation.internal.ui.text.wsdlvalidatetextui";//$NON-NLS-1$
-
- // Error messages.
- public static String _ERROR_WRONG_ARGUMENTS = "_ERROR_WRONG_ARGUMENTS";
- public static String _ERROR_LOADING_LOGGER = "_ERROR_LOADING_LOGGER";
- public static String _ERROR_UNABLE_TO_READ_FILE = "_ERROR_UNABLE_TO_READ_FILE";
-
- // Validation messages.
- public static String _UI_INFORMATION_DELIMITER = "_UI_INFORMATION_DELIMITER";
- public static String _UI_FILE_VALID = "_UI_FILE_VALID";
- public static String _UI_FILE_INVALID = "_UI_FILE_INVALID";
- public static String _UI_ERROR_MARKER = "_UI_ERROR_MARKER";
- public static String _UI_WARNING_MARKER = "_UI_WARNING_MARKER";
- public static String _UI_VALIDATION_SUMMARY = "_UI_VALIDATION_SUMMARY";
-
- static
- {
- // load message values from bundle file
- ResourceBundle bundle = ResourceBundle.getBundle(BUNDLE_NAME);
- _ERROR_WRONG_ARGUMENTS = bundle.getString(String.valueOf(_ERROR_WRONG_ARGUMENTS));
- _ERROR_LOADING_LOGGER = bundle.getString(_ERROR_LOADING_LOGGER);
- _ERROR_UNABLE_TO_READ_FILE = bundle.getString(_ERROR_UNABLE_TO_READ_FILE);
- _UI_INFORMATION_DELIMITER = bundle.getString(_UI_INFORMATION_DELIMITER);
- _UI_FILE_VALID = bundle.getString(_UI_FILE_VALID);
- _UI_FILE_INVALID = bundle.getString(_UI_FILE_INVALID);
- _UI_ERROR_MARKER = bundle.getString(_UI_ERROR_MARKER);
- _UI_WARNING_MARKER = bundle.getString(_UI_WARNING_MARKER);
- _UI_VALIDATION_SUMMARY = bundle.getString(_UI_VALIDATION_SUMMARY);
- }
-
- private WSDLValidateTextUIMessages()
- {
- // cannot create new instance
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/wsdlvalidatetextui.properties b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/wsdlvalidatetextui.properties
deleted file mode 100644
index c4ed82a38..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/wsdlvalidatetextui.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-
-# Messages for the WSDLValidate text UI interface.
-
-# Error messages
-_ERROR_WRONG_ARGUMENTS = Usage: WSDLValidate [-wsdl11v namespace classname] [-extv namespace classname] [-Dname=value] filename\n\
-\ -wsdl11v\tRegister the WSDL 1.1 validator specified by classname\n\
-\t\tfor namespace.\n\
-\ -extv\t\tRegister the WSDL extension validator specified by\n\
-\t\tclassname for namespace.\n\
-\ -verbose, -v\tPrint out verbose information.\n\
-\ -logger\tSpecify an alternate logger that implements\n\
-\t\torg.eclipse.wst.wsdl.validation.internal.logging.ILogger\n\
-\ -D\t\tSpecify a property with name and value.
-_ERROR_LOADING_LOGGER = Unable to load logger class {0}.
-_ERROR_UNABLE_TO_READ_FILE = Unable to read file {0}.
-
-# Validation messages
-_UI_INFORMATION_DELIMITER = ---------------------------------------
-_UI_FILE_INVALID = {0} - Not valid
-_UI_FILE_VALID = {0} - Valid
-_UI_ERROR_MARKER = ERROR
-_UI_WARNING_MARKER = WARNING
-_UI_VALIDATION_SUMMARY = {0} files validated. {1} files reported errors. \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/ErrorMessage.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/ErrorMessage.java
deleted file mode 100644
index 81bdc0e83..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/ErrorMessage.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.util;
-
-/**
- * A class to hold validation messages. In this case an error message is a generic
- * term for any kind of validation message.
- */
-public class ErrorMessage
-{
- private int errorLine, errorColumn, severity;
- private String errorString, uri;
- private int startOffset = -1;
- private int endOffset = -1;
-
- /**
- * Constructor.
- */
- public ErrorMessage()
- {
- }
-
- /**
- * Sets the message.
- *
- * @param error The message to set.
- * @see #getErrorMessage
- */
- public void setErrorMessage(String error)
- {
- errorString = error;
- }
-
- /**
- * Sets the severity of the message.
- *
- * @param severity The severity of the message.
- * @see #getSeverity
- */
- public void setSeverity(int severity)
- {
- this.severity = severity;
- }
-
- /**
- * Sets the severity of the message using string names for the severity.
- *
- * @param severity The string representation of the severity.
- * @see #getSeverity
- */
- public void setSeverity(String severity)
- {
- if (severity.equals("warning"))
- {
- this.severity = 0;
- }
- else if (severity.equals("error"))
- {
- this.severity = 1;
- }
- else if (severity.equals("fatal"))
- {
- this.severity = 2;
- }
- }
-
- /**
- * Sets the line where the error is located.
- *
- * @param line The line where the error is located.
- * @see #getErrorLine
- */
- public void setErrorLine(int line)
- {
- errorLine = line;
- }
-
- /**
- * Sets the column where the error is located.
- *
- * @param column The column where the error is located.
- * @see #getErrorColumn
- */
- public void setErrorColumn(int column)
- {
- errorColumn = column;
- }
-
- /**
- * Returns the error message.
- *
- * @return The error message.
- * @see #setErrorMessage
- */
- public String getErrorMessage()
- {
- return errorString;
- }
-
- /**
- * Returns the severity of the error.
- *
- * @return The severity of the error.
- * @see #setSeverity
- */
- public int getSeverity()
- {
- return severity;
- }
-
- /**
- * Returns the line location of the error.
- *
- * @return The line location of the error.
- * @see #setErrorLine
- */
- public int getErrorLine()
- {
- return errorLine;
- }
-
- /**
- * Returns the column location of the error.
- *
- * @return The column location of the error.
- * @see #setErrorColumn
- */
- public int getErrorColumn()
- {
- return errorColumn;
- }
-
- /**
- * Sets the start offset.
- *
- * @param start The start offset.
- * @see #getErrorStartOffset
- */
- public void setErrorStartOffset(int start)
- {
- startOffset = start;
- }
-
- /**
- * Returns the error start offset.
- *
- * @return The error start offset.
- * @see #setErrorStartOffset
- */
- public int getErrorStartOffset()
- {
- return startOffset;
- }
-
- /**
- * Sets the end offset.
- *
- * @param end The end offset.
- * @see #getErrorEndOffset
- */
- public void setErrorEndOffset(int end)
- {
- endOffset = end;
- }
-
- /**
- * Returns the error end offset.
- *
- * @return The error end offset.
- * @see #setErrorEndOffset
- */
- public int getErrorEndOffset()
- {
- return endOffset;
- }
-
- /**
- * Adds a new line ot the error message.
- *
- * @param newLine The new line to add to the error message.
- */
- public void addNewErrorMessageLine(String newLine)
- {
- errorString += "\n" + newLine;
- }
-
- /**
- * Set the URI of the error message.
- *
- * @param uri The URI to set.
- */
-
- public void setURI(String uri)
- {
- this.uri = uri;
- }
-
- /**
- * Get the URI of the error message.
- *
- * @return The URI of the error message.
- */
- public String getURI()
- {
- return uri;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/LazyURLInputStream.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/LazyURLInputStream.java
deleted file mode 100644
index 124f423ac..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/LazyURLInputStream.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.util;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-
-
-/**
- * This class allows InputStreams to be created and returned to xerces without
- * actually opening file handles or network connections until it is absolutely
- * neccessary.
- */
-public class LazyURLInputStream extends InputStream
-{
- private static int debugTotalOpenStreamCount = 0;
- protected InputStream inner;
- protected String url;
- protected boolean error;
- boolean hasMarks;
- boolean pretendFileIsStillOpen;
-
- public LazyURLInputStream(String url)
- {
- this.url = url;
- inner = null;
- pretendFileIsStillOpen = false;
- }
-
- private void createInnerStreamIfRequired() throws IOException
- {
- if (inner == null && !error)
- {
- debugTotalOpenStreamCount++;
- //System.out.println("Creating stream (" + debugTotalOpenStreamCount + ")-- " + url);
- try
- {
- inner = new URL(url).openStream();
- pretendFileIsStillOpen = false;
- hasMarks = false;
- }
- finally
- {
- if (inner == null)
- {
- error = true;
- }
- }
- }
- }
-
- protected void closeStream() throws IOException {
- if (inner != null && !pretendFileIsStillOpen) {
- inner.close();
- pretendFileIsStillOpen = true;
- }
- }
-
- public int available() throws IOException
- {
- if (pretendFileIsStillOpen) return 0;
- createInnerStreamIfRequired();
- if (inner == null) throw new IOException("Stream not available");
- return inner.available();
- }
-
- public void close() throws IOException
- {
- if (pretendFileIsStillOpen) {
- // Stop behaving as if the stream were still open.
- pretendFileIsStillOpen = false;
- } else {
- if (inner != null) {
- debugTotalOpenStreamCount--;
- //System.out.println("Closing stream (" + debugTotalOpenStreamCount + ") -- " + url);
- inner.close();
- }
- }
- }
-
- public void mark(int readlimit)
- {
- if (pretendFileIsStillOpen) return;
- hasMarks = true;
- try {
- createInnerStreamIfRequired();
- inner.mark(readlimit);
- } catch (IOException e) {
- LoggerFactory.getInstance().getLogger().log("The following IOException occurred in the WSDL validator's LazyURLInputStream.", ILogger.SEV_ERROR, e);
- }
- }
-
- public boolean markSupported()
- {
- if (pretendFileIsStillOpen) return false;
- try {
- createInnerStreamIfRequired();
- if (inner == null) return false;
- return inner.markSupported();
- } catch (IOException e) {
- LoggerFactory.getInstance().getLogger().log("The following IOException occurred in the WSDL validator's LazyURLInputStream.", ILogger.SEV_ERROR, e);
- }
- return false;
- }
-
- public int read() throws IOException
- {
- if (pretendFileIsStillOpen) return -1;
- createInnerStreamIfRequired();
- if (inner == null) throw new IOException("Stream not available");
- int bytesRead = inner.read();
- if (bytesRead == -1 && !hasMarks) closeStream();
- return bytesRead;
- }
-
-
- public int read(byte[] b) throws IOException {
- if (pretendFileIsStillOpen) return -1;
- createInnerStreamIfRequired();
- if (inner == null) throw new IOException("Stream not available");
- int bytesRead = inner.read(b);
- if (bytesRead == -1 && !hasMarks) closeStream();
- return bytesRead;
- }
-
- public int read(byte[] b, int off, int len) throws IOException
- {
- if (pretendFileIsStillOpen) return -1;
- createInnerStreamIfRequired();
- if (inner == null) throw new IOException("Stream not available");
- int bytesRead = inner.read(b, off, len);
- if (bytesRead == -1 && !hasMarks) closeStream();
- return bytesRead;
- }
-
- public void reset() throws IOException
- {
- if (pretendFileIsStillOpen) return;
- createInnerStreamIfRequired();
- if (inner == null) throw new IOException("Stream not available");
- inner.reset();
- }
-
- public long skip(long n) throws IOException
- {
- if (pretendFileIsStillOpen) return 0;
- createInnerStreamIfRequired();
- if (inner == null) throw new IOException("Stream not available");
- return inner.skip(n);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/MessageGenerator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/MessageGenerator.java
deleted file mode 100644
index 0b78cb9c7..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/MessageGenerator.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.util;
-
-import java.util.ResourceBundle;
-import java.text.MessageFormat;
-
-/**
- * A convenience class for working with resources in a resource bundle.
- */
-public class MessageGenerator
-{
- protected ResourceBundle resourcebundle;
-
- /**
- * Constructor.
- *
- * @param rb The resource bundle to work with.
- */
- public MessageGenerator(ResourceBundle rb)
- {
- resourcebundle = rb;
- }
-
- /**
- * Set the resourcebundle to the one specified.
- *
- * @param rb The resource bundle to set.
- */
- protected void setResourceBundle(ResourceBundle rb)
- {
- resourcebundle = rb;
- }
-
- /**
- * Gets the string resource for the given key.
- *
- * @param key The key for the resource.
- * @return The string from the resource bundle.
- */
- public String getString(String key)
- {
- return resourcebundle.getString(key);
- }
-
- /**
- * Gets the string resource for the given key and does one substitution.
- *
- * @param key The key for the resource.
- * @param s1 The substitution to perform.
- * @return The string from the resource bundle.
- */
- public String getString(String key, Object s1)
- {
- return MessageFormat.format(getString(key), new Object[] { s1 });
- }
-
- /**
- * Gets the string resource for the given key and does two substitutions.
- *
- * @param key The key for the resource.
- * @param s1 The first substitution to perform.
- * @param s2 The second substitution to perform.
- * @return The string from the resource bundle.
- */
- public String getString(String key, Object s1, Object s2)
- {
- return MessageFormat.format(getString(key), new Object[] { s1, s2 });
- }
-
- /**
- * Gets the string resource for the given key and does three substitutions.
- *
- * @param key The key for the resource.
- * @param s1 The first substitution to perform.
- * @param s2 The second substitution to perform.
- * @param s3 The third substitution to perform.
- * @return The string from the resource bundle.
- */
- public String getString(String key, Object s1, Object s2, Object s3)
- {
- return MessageFormat.format(getString(key), new Object[] { s1, s2, s3 });
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ClassloaderWSDL11ValidatorDelegate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ClassloaderWSDL11ValidatorDelegate.java
deleted file mode 100644
index 96b7f6849..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ClassloaderWSDL11ValidatorDelegate.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-
-public class ClassloaderWSDL11ValidatorDelegate extends WSDL11ValidatorDelegate
-{
- private String validatorClassname = null;
- private ClassLoader classLoader = null;
-
- /**
- * Create a delegate for a validator by its class name.
- *
- * @param validatorClassname The name of the validator class.
- */
- public ClassloaderWSDL11ValidatorDelegate(String validatorClassname)
- {
- this.validatorClassname = validatorClassname;
- }
-
- /**
- * Create a delegate for a validator by its class name and
- * a class loader to load the validator.
- *
- * @param validatorClassname The name of the validator class.
- * @param classLoader The class loader to use to load the validator.
- */
- public ClassloaderWSDL11ValidatorDelegate(String validatorClassname, ClassLoader classLoader)
- {
- this(validatorClassname);
- this.classLoader = classLoader;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.WSDL11ValidatorDelegate#loadValidator()
- */
- protected IWSDL11Validator loadValidator()
- {
- IWSDL11Validator validator = null;
- if(classLoader == null)
- {
- classLoader = getClass().getClassLoader();
- }
- try
- {
- Class validatorClass =
- classLoader != null ? classLoader.loadClass(validatorClassname) : Class.forName(validatorClassname);
-
- validator = (IWSDL11Validator)validatorClass.newInstance();
- }
- catch (Throwable t)
- {
- LoggerFactory.getInstance().getLogger().log("Unable to load validator " + validatorClassname, ILogger.SEV_ERROR, t);
- }
- return validator;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java
deleted file mode 100644
index 039f1ecc7..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.util.Hashtable;
-
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.apache.xerces.xs.XSModel;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-
-/**
- * An interface for WSDL 1.1 validation information. Uses an existing
- * validation info object and provides methods to set and retrieve
- * schemas and convenience methods for setting errors with objects.
- */
-public interface IWSDL11ValidationInfo
-{
- /**
- * Returns the URI of the file being validated.
- *
- * @return The URI of the file being validated.
- */
- public String getFileURI();
-
- /**
- * Add a schema to the list of schemas available for this WSDL document.
- *
- * @param xsModel The schema to add to the list.
- */
- public void addSchema(XSModel xsModel);
-
- /**
- * Get an array of all the schemas available for this WSDL document.
- *
- * @return An array of all the schemas available for this WSDL document.
- */
- public XSModel[] getSchemas();
-
- /**
- * Clear all the stored schemas.
- */
- public void clearSchemas();
-
- /**
- * Set the element locations hashtable.
- *
- * @param elementLocations The hashtable to set with the element locations.
- */
- public void setElementLocations(Hashtable elementLocations);
-
- /**
- * Convenience method for extensibly validators to add error messages.
- *
- * @param message The error to add.
- * @param element The object to add the error for.
- */
- public void addError(String message, Object element);
-
- /**
- * Convenience method for extensibly validators to add error messages.
- *
- * @param message The error to add.
- * @param element The object to add the error for.
- * @param errorKey The error key for this message
- * @param messageArguments The strings used to create the message.
- */
- public void addError(String message, Object element, String errorKey, Object[] messageArguments);
-
- /**
- * Add an error message at the given line and column.
- *
- * @param message The error to add.
- * @param line The line location of the error.
- * @param column The column location of the error.
- * @param uri The uri of the file containing the error.
- */
- public void addError(String message, int line, int column, String uri);
-
- /**
- * Convenience method for extensibly validators to add warning messages.
- *
- * @param message The warning to add.
- * @param element The object to add the warning for.
- */
- public void addWarning(String message, Object element);
-
- /**
- * Add a warning message at the given line and column.
- *
- * @param message The warning to add.
- * @param line The line location of the warning.
- * @param column The column location of the warning.
- * @param uri The uri of the file containing the warning.
- */
- public void addWarning(String message, int line, int column, String uri);
-
- /**
- * Get the URI resolver in use for this validation. The URI resolver
- * returned is actually a URI resolver handler that will
- * iterate through all of the registered URI resolvers.
- *
- * @return The URI resolver handler.
- */
- public URIResolver getURIResolver();
-
- /**
- * Get the schema cache if one is specified.
- *
- * @return The schema cache if one is specified, null otherwise.
- */
- public XMLGrammarPool getSchemaCache();
-
- /**
- * Get the XML cache if one is specified.
- *
- * @return The XML cache if one is specified, null otherwise.
- */
- public XMLGrammarPool getXMLCache();
-}
-
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11Validator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11Validator.java
deleted file mode 100644
index daabcd65f..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11Validator.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.util.List;
-
-/**
- * Interface for a validator plugged into the WSDL 1.1 validator.
- */
-public interface IWSDL11Validator
-{
- /**
- * Validate the given element.
- *
- * @param element The element to validate.
- * @param parents A list of parents of this element.
- * @param valInfo The current validation information.
- */
- public void validate(Object element, List parents, IWSDL11ValidationInfo valInfo);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ImportHolder.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ImportHolder.java
deleted file mode 100644
index 33120c048..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ImportHolder.java
+++ /dev/null
@@ -1,610 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.Reader;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Import;
-import javax.wsdl.WSDLException;
-
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.apache.xerces.xs.XSModel;
-import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
-import org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult;
-import org.eclipse.wst.wsdl.validation.internal.util.ErrorMessage;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd.XSDValidator;
-import org.eclipse.wst.wsdl.validation.internal.xml.AbstractXMLConformanceFactory;
-import org.eclipse.wst.wsdl.validation.internal.xml.DefaultXMLValidator;
-import org.eclipse.wst.wsdl.validation.internal.xml.IXMLValidator;
-import org.eclipse.wst.wsdl.validation.internal.xml.XMLCatalogResolver;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.xml.sax.InputSource;
-
-import com.ibm.wsdl.Constants;
-import com.ibm.wsdl.util.StringUtils;
-import com.ibm.wsdl.util.xml.DOMUtils;
-import com.ibm.wsdl.util.xml.QNameUtils;
-
-/**
- * A class to hold and parse an import element.
- */
-public class ImportHolder implements Comparable
-{
- private MessageGenerator messagegenerator;
-
- private WSDLDocument importingWSDLDoc = null;
- private WSDLDocument wsdlDocument = null;
- private Definition importingDef = null;
- private Element importingDocImportElement = null;
- private String namespace = null;
- private String location = null;
- private String classpathURI = null;
- private String contextURI = null;
- private int depth;
- private Element element = null;
- private List schemas = new ArrayList();
- private boolean isWSDLFileImport = true;
- private boolean importInvalid = false;
- private Import importDef = null;
- private IWSDL11ValidationInfo valinfo;
-
- /**
- * Constructor.
- *
- * @param namespace The namespace of the import.
- * @param location The location of the import.
- * @param contextURI The context URI for resolving the import location.
- * @param wsdlDoc The WSDLDocument that contains the import.
- * @param depth The depth of the import.
- * @param importingDocImportElement The element representing the import in the encapsulating WSDLDocument.
- * @param messagegenerator A messagegenerator for obtaining strings.
- * @param valinfo The WSDL11ValidationInfo for reporting messages.
- */
- public ImportHolder(String namespace, String location, String contextURI, WSDLDocument importingWSDLDoc, int depth, Element importingDocImportElement, MessageGenerator messagegenerator, IWSDL11ValidationInfo valinfo)
- {
- this.messagegenerator = messagegenerator;
- this.valinfo = valinfo;
- this.importingWSDLDoc = importingWSDLDoc;
- if(importingWSDLDoc != null)
- {
- this.importingDef = importingWSDLDoc.getDefinition();
- }
- this.importingDocImportElement = importingDocImportElement;
- this.depth = depth;
- this.namespace = namespace;
- this.location = location;
-
- // Allow WSDL imports to have no location attribute even though it is required.
- // Schema will normally catch the problem but this allows users to override the
- // schema and have the validator run.
- if (this.location == null)
- {
- this.location = namespace;
- }
- this.contextURI = contextURI;
-
- this.location = this.location.replace('\\','/');
- IURIResolutionResult classpathURI = valinfo.getURIResolver().resolve(this.contextURI, this.namespace, this.location);
- if(classpathURI.getLogicalLocation() != null)
- {
- this.location = classpathURI.getLogicalLocation();
- }
- if(classpathURI.getPhysicalLocation() != null)
- {
- this.classpathURI = classpathURI.getPhysicalLocation();
- this.contextURI = null;
- }
- }
-
- public void initialize()
- {
- Element documentElement = null;
- try
- {
- documentElement = getElement();
- }
- catch(WSDLException e)
- {
- }
- if(documentElement != null)
- {
- // Handle WSDL imports.
- if (QNameUtils.matches(Constants.Q_ELEM_DEFINITIONS, documentElement))
- {
- if(isXMLValid(this.classpathURI))
- {
- try
- {
- wsdlDocument = new WSDLDocument(this.location, documentElement, this.depth, this.messagegenerator, this.valinfo);
- createWSDLImport(wsdlDocument);
- }
- catch(WSDLException e)
- {
- valinfo.addError(messagegenerator.getString("_UNABLE_TO_IMPORT_BAD_LOCATION", "'" + importDef.getLocationURI() + "'"), importingDocImportElement);
- }
- }
- }
- // Handle schema imports.
- else if (QNameUtils.matches(Constants.Q_ELEM_XSD_2001, documentElement))
- {
- createXSDImport();
- }
- }
- }
-
- protected boolean isXMLValid(String uri)
- {
- IXMLValidator xmlValidator = AbstractXMLConformanceFactory.getInstance().getXMLValidator();
- xmlValidator.setFile(uri);
- xmlValidator.setURIResolver(valinfo.getURIResolver());
- //xmlValidator.setValidationInfo(valInfo);
- if(xmlValidator instanceof DefaultXMLValidator)
- {
- XMLGrammarPool grammarPool = valinfo.getXMLCache();
- if(grammarPool != null)
- ((DefaultXMLValidator)xmlValidator).setGrammarPool(grammarPool);
- }
- xmlValidator.run();
- // if there are no xml conformance problems go on to check the wsdl stuff
- if (xmlValidator.hasErrors())
- {
- // temp handling of XML errors until validator is updated.
- List errors = xmlValidator.getErrors();
- Iterator errorsIter = errors.iterator();
- while (errorsIter.hasNext())
- {
- IValidationMessage valMes = (IValidationMessage)errorsIter.next();
- valinfo.addError(valMes.getMessage(), valMes.getLine(), valMes.getColumn(), valMes.getURI());
- }
- importInvalid = true;
- return false;
- }
- return true;
- }
-
- /**
- * Get the importing WSDLDocument.
- *
- * @return The importing WSDLDocument.
- */
- public WSDLDocument getImportingDocument()
- {
- return importingWSDLDoc;
- }
-
- /**
- * Get the WSDL document this import represents.
- *
- * @return The WSDL document this import represents.
- */
- public WSDLDocument getWSDLDocument()
- {
- return wsdlDocument;
- }
-
- /**
- * Get the namespace.
- *
- * @return The namespace.
- */
- public String getNamespace()
- {
- return namespace;
- }
-
- /**
- * Get the location.
- *
- * @return The location.
- */
- public String getLocation()
- {
- return location;
- }
-
- /**
- * Get the context URI.
- *
- * @return The context URI.
- */
- public String getContextURI()
- {
- return contextURI;
- }
-
- /**
- * Get the depth in the WSDL tree.
- *
- * @return The depth in the WSDL tree.
- */
- public int getDepth()
- {
- return depth;
- }
-
- /**
- * Get the containing defintions element.
- *
- * @return The containing definitions element.
- */
- public Definition getImportingDefinition()
- {
- return importingDef;
- }
-
- /**
- * Get the element for this import.
- *
- * @return The element for this import.
- * @throws WSDLException
- */
- public Element getElement() throws WSDLException
- {
- if(element != null)
- {
- return element;
- }
-
- String locationURI = location;
- //Import importDef = importingDef.createImport();
-
- // Allow locating WSDL documents using any registered URI resolver.
- //String classpathURI = URIResolver.getInstance().resolve(contextURI, namespaceURI, locationURI);
-// if (!classpathURI.equals(locationURI))
-// {
-// locationURI = classpathURI;
-// contextURI = null;
-// }
- Reader reader = null;
- if (locationURI != null)
- {
- try
- {
- //String contextURI = def.getDocumentBaseURI();
- //Definition importedDef = null;
-
- InputSource inputSource = null;
- URL url = null;
-
-
- URL contextURL = (contextURI != null) ? StringUtils.getURL(null, contextURI) : null;
-
- url = StringUtils.getURL(contextURL, locationURI);
-
- // Handle file:// urls. The correct format should be file:/// or file:/.
- String urlAuthority = url.getAuthority();
- String urlProtocol = url.getProtocol();
- if(urlAuthority !=null && urlProtocol.equalsIgnoreCase("file") && !urlAuthority.equals(""))
- {
- url = new URL(urlProtocol,"","/" + urlAuthority + url.getFile());
- }
-
- String urlString = url.toString();
- // Test for case sensitivity on local files.
- if(urlString.startsWith("file:"))
- {
- File testfile = new File(url.getFile());
- String testfileString = testfile.getAbsolutePath();
- String canonicalfileString = testfile.getCanonicalPath();
-
- if (!testfileString.equals(canonicalfileString))
- {
- if (!String.valueOf(testfileString.charAt(0)).equalsIgnoreCase
- (String.valueOf(canonicalfileString.charAt(0)))
- || !testfileString.substring(1,testfileString.length()).equals
- (canonicalfileString.substring(1,canonicalfileString.length())))
- {
- urlString = "";
- url = null;
- }
- }
- }
- if(url != null)
- {
- try
- {
- reader = StringUtils.getContentAsReader(url);
- }
- catch(IOException e)
- {
- // No need to do anything here. The error will be handled below.
- }
- }
- if (reader != null)
- {
- inputSource = new InputSource(reader);
- if(classpathURI != null && !classpathURI.equals(location))
- {
- inputSource.setByteStream(new URL(classpathURI).openStream());
- }
- }
-
- if (inputSource == null)
- {
- // Get the actual location from the element.
- String actualLocation = DOMUtils.getAttribute(importingDocImportElement, Constants.ATTR_LOCATION);
- if(actualLocation == null)
- {
- actualLocation = DOMUtils.getAttribute(importingDocImportElement, "schemaLocation");
- }
- if(actualLocation == null)
- {
- actualLocation = namespace;
- }
- importingWSDLDoc.addReaderWarning(
- importingDef,
- importingDocImportElement,
- messagegenerator.getString("_UNABLE_TO_IMPORT_BAD_LOCATION", "'" + actualLocation + "'"));
- importInvalid = true;
-
- // TODO: modify the reader error to show in all the correct locations.
- throw new WSDLException(
- WSDLException.OTHER_ERROR,
- "Unable to locate imported document "
- + "at '"
- + locationURI
- + "'"
- + (contextURI == null ? "." : ", relative to '" + contextURI + "'."));
- }
- Document doc = null;
- try
- {
- doc = WSDLReaderImpl.getDocument(inputSource, locationURI);
- }
- catch(WSDLException e)
- {
- // The File is invalid and cannot be read.
- // Perform XML validation.
- isXMLValid(locationURI);
-// importingWSDLDoc.addReaderError(
-// importingDef,
-// importingDocImportElement,
-// messagegenerator.getString("_UNABLE_TO_IMPORT_INVALID", "'" + location + "'"));
- throw e;
- }
- element = doc.getDocumentElement();
- if(!QNameUtils.matches(Constants.Q_ELEM_DEFINITIONS, element))
- {
- isWSDLFileImport = false;
- }
- // Ensure that the imported document has the same namespace as the import element states.
- String importTargetNS = element.getAttribute(Constants.ATTR_TARGET_NAMESPACE);
- if(!importTargetNS.equals(namespace))
- {
- importingWSDLDoc.addReaderWarning(
- importingDef,
- importingDocImportElement,
- messagegenerator.getString("_WARN_WRONG_NS_ON_IMPORT", "'" + namespace + "'", "'" + importTargetNS + "'"));
- element = null;
- importInvalid = true;
- }
- }
-
- catch(Exception e)
- {
- }
- finally
- {
- if(reader != null)
- {
- try
- {
- reader.close();
- }
- catch(IOException e)
- {}
- }
- }
-
- }
- return element;
- }
-
- /**
- * Create an import element for a WSDL import of a WSDL document.
- *
- * @param wsdlDocument The document of the import.
- * @return The newly created import element.
- */
- public Import createWSDLImport(WSDLDocument wsdlDocument)
- {
- if(importDef != null)
- {
- return importDef;
- }
- importDef = getNewImport();
-
- if (importDef != null)
- {
- importDef.setDefinition(wsdlDocument.getDefinition());
- schemas.addAll(wsdlDocument.getSchemas());
- importingWSDLDoc.addSchemas(schemas);
- }
-
- return importDef;
- }
-
- /**
- * Create an import element for a WSDL import of a schema import of a schema document.
- *
- * @return The newly created import element.
- */
- public Import createXSDImport()
- {
- if(importDef != null)
- {
- return importDef;
- }
- importDef = getNewImport();
- XSDValidator xsdvalidator = new XSDValidator();
-
- xsdvalidator.validate(location, XMLCatalogResolver.getInstance(), valinfo.getSchemaCache());
- if (xsdvalidator.isValid())
- {
- XSModel schema = xsdvalidator.getXSModel();
- if (schema != null)
- {
- schemas.add(schema);
- }
- }
- else
- {
- // addReaderWarning(
-// def,
-// importDef,
-// messagegenerator.getString("_UNABLE_TO_IMPORT_INVALID", "'" + importDef.getLocationURI() + "'"));
- Iterator errors = xsdvalidator.getErrors().iterator();
- while (errors.hasNext())
- {
- ErrorMessage err = (ErrorMessage) errors.next();
- String uri = err.getURI();
- int line = err.getErrorLine();
- String errmess = err.getErrorMessage();
- valinfo.addError(errmess, line, err.getErrorColumn(), uri);
- }
- }
- importingWSDLDoc.addSchemas(schemas);
- return importDef;
- }
-
- /**
- * Get the import element if it has been created.
- *
- * @return The import element if it has been created or null.
- */
- public Import getImport()
- {
- return importDef;
- }
-
- /**
- * Get a new import element.
- *
- * @return A new import element.
- */
- private Import getNewImport()
- {
- if(importInvalid)
- {
- return null;
- }
- Import importDef = importingDef.createImport();
-
- if (namespace != null)
- {
- importDef.setNamespaceURI(namespace);
- }
-
- if (location != null)
- {
- importDef.setLocationURI(location);
- }
-
- if(element != null)
- {
- Element tempEl = DOMUtils.getFirstChildElement(element);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- importDef.setDocumentationElement(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
- }
-
- return importDef;
- }
-
- /**
- * Get the schemas corresponding to this import.
- *
- * @return The schemas corresponding to this import.
- */
- public List getSchemas()
- {
- return schemas;
- }
-
- /**
- * Returns true if this import imports a WSDL document, false otherwise.
- *
- * @return True if this import imports a WSDL document, false otherwise.
- */
- public boolean isWSDLFileImport()
- {
- return isWSDLFileImport;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#equals(java.lang.Object)
- */
- public boolean equals(Object obj)
- {
- if(obj.getClass() == ImportHolder.class)
- {
- ImportHolder otherImport = (ImportHolder)obj;
-
- if(getNamespace().equals(otherImport.getNamespace()) && getLocation().equals(otherImport.getLocation()))
- {
- return true;
- }
- }
- return false;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Comparable#compareTo(java.lang.Object)
- */
- public int compareTo(Object obj)
- {
- if(obj == null)
- {
- throw new NullPointerException();
- }
-
- ImportHolder otherImport = (ImportHolder)obj;
-
- return (getNamespace()+getLocation()).compareTo((otherImport.getNamespace()+otherImport.getLocation()));
- }
-
- /**
- * Set the messagegenerator for the import holder.
- *
- * @param mg The message generator to set.
- */
- public void setMessageGenerator(MessageGenerator mg)
- {
- messagegenerator = mg;
- }
-
- /**
- * Return true if the import is invalid, false otherwise.
- *
- * @return True if the import is invalid, false otherwise.
- */
- public boolean isImportInvalid()
- {
- return importInvalid;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/LocationHolder.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/LocationHolder.java
deleted file mode 100644
index 1def333f9..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/LocationHolder.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-/**
- * Holds the location information for an element in a document.
- */
-public class LocationHolder
-{
- private int line;
- private int column;
- private String uri;
-
- /**
- * Constructor.
- *
- * @param line The line number.
- * @param column The column number.
- * @param uri The URI of the document.
- */
- public LocationHolder(int line, int column, String uri)
- {
- this.line = line;
- this.column = column;
- this.uri = uri;
- }
-
- /**
- * Get the line number.
- *
- * @return The line number.
- */
- public int getLine()
- {
- return line;
- }
-
- /**
- * Get the column number.
- *
- * @return The column number.
- */
- public int getColumn()
- {
- return column;
- }
-
- /**
- * Get the file URI.
- *
- * @return The file URI.
- */
- public String getURI()
- {
- return uri;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ReaderError.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ReaderError.java
deleted file mode 100644
index 36b4e44dc..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ReaderError.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-/**
- * Holds an error created when reading a WSDL document.
- */
-public class ReaderError
-{
- protected Object parentObject; // the object of the parent of the object with the error
- protected Object object; // the object the error is associated with
- protected String error; // the error associated with the object
-
- /**
- * Constructor.
- *
- * @param parentObject the parent object of the object with the error
- * @param object the object with the error
- * @param error the error
- */
- public ReaderError(Object parentObject, Object object, String error)
- {
- this.parentObject = parentObject;
- this.object = object;
- this.error = error;
- }
-
- /**
- * Returns the parent object of the object with the error.
- *
- * @return the parent object of the object with the error
- */
- public Object getParentObject()
- {
- return parentObject;
- }
-
- /**
- * Returns the object with the error.
- *
- * @return the object with the error
- */
- public Object getObject()
- {
- return object;
- }
-
- /**
- * Returns the error message.
- *
- * @return the error message
- */
- public String getError()
- {
- return error;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ValidatorRegistry.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ValidatorRegistry.java
deleted file mode 100644
index 71484f1d7..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ValidatorRegistry.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.ResourceBundle;
-
-
-/**
- * A registry to hold all the WSDL 1.1 validators.
- */
-public class ValidatorRegistry
-{
-
- protected static ValidatorRegistry verInstance;
-
- protected Map validatorReg = new Hashtable();
-
- /**
- * Constructor.
- */
- protected ValidatorRegistry()
- {
- }
-
- /**
- * Returns the instance of this registry.
- *
- * @return The instance of this registry.
- */
- public static ValidatorRegistry getInstance()
- {
- if (verInstance == null)
- {
- verInstance = new ValidatorRegistry();
- }
- return verInstance;
- }
-
- /**
- * Register this validator delegate with the given namespace.
- *
- * @param namespace The namespace the validator is associated with.
- * @param valDelegate The validator delegate to register.
- */
- public void registerValidator(String namespace, WSDL11ValidatorDelegate valDelegate)
- {
- // allow the null namespace but make it the empty string
- if (namespace == null)
- {
- namespace = "";
- }
-
- // add the validator to the hashtable
- if(!validatorReg.containsKey(namespace))
- {
- validatorReg.put(namespace, new WSDL11ValidatorDelegateContainer());
- }
- ((WSDL11ValidatorDelegateContainer)validatorReg.get(namespace)).addValidator(valDelegate);
- //validatorReg.put(namespace, valDelegate);
- }
-
- /**
- * Ask for the validator associated with this namespace. If none is found
- * return null.
- *
- * @param namespace The namespace of the validator.
- * @return The WSDL 1.1 validator for the given namespace.
- */
- public IWSDL11Validator queryValidatorRegistry(String namespace)
- {
- // if the namespace is null allow it and treat it as the empty string
- if (namespace == null)
- {
- namespace = "";
- }
- return (IWSDL11Validator)validatorReg.get(namespace);
- }
-
- /**
- * Convenience method that tells whether a validator for a given namespace is registered.
- *
- * @param namespace The namespace to check.
- * @return True if there is a validator registered, false otherwise.
- */
- public boolean hasRegisteredValidator(String namespace)
- {
- if (queryValidatorRegistry(namespace) != null)
- {
- return true;
- }
- return false;
- }
-
- public class WSDL11ValidatorDelegateContainer implements IWSDL11Validator
- {
- private List validatorDelegates = new ArrayList();
-
- public void addValidator(WSDL11ValidatorDelegate delegate)
- {
- validatorDelegates.add(delegate);
- }
-
- public void setResourceBundle(ResourceBundle rb) {
- //Nothing to do
-
- }
-
- public void validate(Object element, List parents, IWSDL11ValidationInfo valInfo) {
- Iterator valDelIter = validatorDelegates.iterator();
- while(valDelIter.hasNext())
- {
- WSDL11ValidatorDelegate delegate = (WSDL11ValidatorDelegate)valDelIter.next();
- delegate.getValidator().validate(element, parents, valInfo);
- }
-
- }
-
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11BasicValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11BasicValidator.java
deleted file mode 100644
index 2a040515b..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11BasicValidator.java
+++ /dev/null
@@ -1,673 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Locale;
-import java.util.Map;
-import java.util.ResourceBundle;
-import java.util.Vector;
-
-import javax.wsdl.Binding;
-import javax.wsdl.BindingFault;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.BindingOutput;
-import javax.wsdl.Definition;
-import javax.wsdl.Fault;
-import javax.wsdl.Input;
-import javax.wsdl.Message;
-import javax.wsdl.Operation;
-import javax.wsdl.Output;
-import javax.wsdl.Part;
-import javax.wsdl.Port;
-import javax.wsdl.PortType;
-import javax.wsdl.Service;
-import javax.wsdl.Types;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.xml.namespace.QName;
-
-import org.apache.xerces.xs.XSModel;
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd.SchemaAttributeTable;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd.XSDValidator;
-
-import com.ibm.wsdl.Constants;
-/**
- * Validate the elements defined in a WSDL 1.1 Document.
- */
-public class WSDL11BasicValidator implements IWSDL11Validator
-{
- private static String VALIDATOR_RESOURCE_BUNDLE_NAME = "validatewsdl";
-
- protected final String NAMESPACES_FEATURE_ID = "http://xml.org/sax/features/namespaces";
- protected final String VALIDATION_FEATURE_ID = "http://xml.org/sax/features/validation";
- protected final String SCHEMA_VALIDATION_FEATURE_ID = "http://apache.org/xml/features/validation/schema";
- protected final String SCHEMA_FULL_CHECKING_FEATURE_ID =
- "http://apache.org/xml/features/validation/schema-full-checking";
- protected final String CONTINUE_AFTER_FATAL_ERROR_ID = "http://apache.org/xml/features/continue-after-fatal-error";
- protected final String SOAP_ENCODING_URI = "http://schemas.xmlsoap.org/soap/encoding/";
-
- // Error and Warning Keys
- private final String _PORT_NAME_NOT_UNIQUE = "_PORT_NAME_NOT_UNIQUE";
- private final String _NO_BINDING_FOR_PORT = "_NO_BINDING_FOR_PORT";
- private final String _NO_ADDRESS_PORT = "_NO_ADDRESS_PORT";
- private final String _MORE_THEN_ONE_ADDRESS_PORT = "_MORE_THEN_ONE_ADDRESS_PORT"; //TODO should be _MORE_THAN_ONE_ADDRESS_PORT, not THEN
- private final String _PORTTYPE_UNDEFINED_FOR_BINDING = "_PORTTYPE_UNDEFINED_FOR_BINDING";
- private final String _OPERATION_UNDEFINED_FOR_PORTTYPE = "_OPERATION_UNDEFINED_FOR_PORTTYPE";
- private final String _OPERATION_NO_INPUT_OR_OUTPUT = "_OPERATION_NO_INPUT_OR_OUTPUT";
- private final String _INPUT_NAME_NOT_UNIQUE = "_INPUT_NAME_NOT_UNIQUE";
- private final String _MESSAGE_UNDEFINED_FOR_INPUT = "_MESSAGE_UNDEFINED_FOR_INPUT";
- private final String _OUTPUT_NAME_NOT_UNIQUE = "_OUTPUT_NAME_NOT_UNIQUE";
- private final String _MESSAGE_UNDEFINED_FOR_OUTPUT = "_MESSAGE_UNDEFINED_FOR_OUTPUT";
- private final String _MESSAGE_UNDEFINED_FOR_FAULT = "_MESSAGE_UNDEFINED_FOR_FAULT";
- private final String _PART_NO_ELEMENT_OR_TYPE = "_PART_NO_ELEMENT_OR_TYPE";
- private final String _PART_BOTH_ELEMENT_AND_TYPE = "_PART_BOTH_ELEMENT_AND_TYPE";
- private final String _PART_INVALID_ELEMENT = "_PART_INVALID_ELEMENT";
- private final String _PART_INVALID_TYPE = "_PART_INVALID_TYPE";
- private final String _WARN_SOAPENC_IMPORTED_PART = "_WARN_SOAPENC_IMPORTED_PART";
-
- private final int ELEMENT = 0;
- private final int TYPE = 1;
-
- private final String REQUEST = "Request";
- private final String RESPONSE = "Response";
- private final String QUOTE = "'";
- private final String EMPTY_STRING = "";
-
-
- //protected WSDL11ValidatorController validatorcontroller;
- protected MessageGenerator messagegenerator;
-
- public WSDL11BasicValidator()
- {
- ResourceBundle rb = ResourceBundle.getBundle(VALIDATOR_RESOURCE_BUNDLE_NAME, Locale.getDefault());
- messagegenerator = new MessageGenerator(rb);
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator#validate(java.lang.Object, java.util.List, org.eclipse.wsdl.validate.wsdl11.IWSDL11ValidationInfo)
- */
- public void validate(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- //this.validatorcontroller = validatorcontroller;
- //setDefaultResourceBundleIfNeeded(validatorcontroller);
- Definition wsdlDefinition = (Definition)element;
- validateTypes(wsdlDefinition, valInfo);
- validateServices(wsdlDefinition, valInfo);
- validateBindings(wsdlDefinition, valInfo);
- validatePortTypes(wsdlDefinition, valInfo);
- validateMessages(wsdlDefinition, valInfo);
-
- }
-
- /**
- * Takes a list of ExtensibilityElements and checks if there's a validator
- * associated with each element and if so calls the validator.
- *
- * @param parents The list of parents of the elements.
- * @param extensibilityElements The list of elements to validate.
- * @param validatorcontroller The validator controller.
- * @param wsdlDefinition The defnintions element for this document.
- */
- protected void validateExtensibilityElementList(
- List parents,
- List extensibilityElements,
- IWSDL11ValidationInfo valInfo)
- {
- ValidatorRegistry ver = ValidatorRegistry.getInstance();
- Iterator extElems = extensibilityElements.iterator();
- while (extElems.hasNext())
- {
- ExtensibilityElement element = (ExtensibilityElement)extElems.next();
- String namespace = element.getElementType().getNamespaceURI();
- IWSDL11Validator val = ver.queryValidatorRegistry(namespace);
- if (val != null)
- {
- val.validate(element, parents, valInfo);
- }
-// else
-// {
-// valInfo.addNamespaceWithNoValidator(namespace);
-// }
- }
- }
-
- /**
- * Ensure that the Types element is correct.
- *
- * @param wsdlDefinition The definitions element from the current document.
- */
-
- protected void validateTypes(Definition wsdlDefinition, IWSDL11ValidationInfo valInfo)
- {
- Types types = wsdlDefinition.getTypes();
- // ensure that types is defined
- if (types != null)
- {
- List parents = new Vector();
- parents.add(wsdlDefinition);
- parents.add(0, types);
- validateExtensibilityElementList(parents, types.getExtensibilityElements(), valInfo);
- parents.remove(0);
- }
- }
-
- /**
- * Validates all of the declared services for the definition.
- *
- * @param wsdlDefinition The WSDL definitions element.
- */
- protected void validateServices(Definition wsdlDefinition, IWSDL11ValidationInfo valInfo)
- {
- if (wsdlDefinition.getServices() == null)
- return;
- Object services[] = wsdlDefinition.getServices().values().toArray();
- List parents = new Vector();
- parents.add(wsdlDefinition);
- Hashtable allPorts = new Hashtable();
-
- //TODO: check that ports in other imported files don't conflict with ports in this one
- // // register all of the imported ports
- // Iterator imports = wsdlDefinition.getImports().values().iterator();
- // while(imports.hasNext())
- // {
- // Iterator impservices = ((Import)imports.next()).getDefinition().getServices().values().iterator();
- // while(impservices.hasNext())
- // {
- // Iterator impports = ((Service)impservices.next()).getPorts().values().iterator();
- // while(impports.hasNext())
- // {
- // Port tempP = (Port)impports.next();
- // allPorts.put(tempP.getName(),tempP);
- // }
- // }
- // }
- for (int i = 0; i < services.length; i++)
- {
- Service s = (Service)services[i];
- parents.add(0, s);
- Object ports[] = s.getPorts().values().toArray();
- for (int j = 0; j < ports.length; j++)
- {
- Port p = (Port)ports[j];
- parents.add(0, p);
- // a Port name must be unique within the entire WDSL document
- if (allPorts.contains(p.getName()))
- { String[] args = {p.getName()};
-
- valInfo.addError(messagegenerator.getString(_PORT_NAME_NOT_UNIQUE, QUOTE + args[0] + QUOTE),
- p, _PORT_NAME_NOT_UNIQUE, args);
- }
- else
- {
- allPorts.put(p.getName(), p);
-
- // get the binding for this port and see if the PortType for the binding
- // is defined
- if (p.getBinding() == null || p.getBinding().isUndefined())
- {
- String bindingName = EMPTY_STRING;
- if (p.getBinding() != null)
- {
- bindingName = p.getBinding().getQName().getLocalPart();
- }
- String args[] = {p.getName()};
- valInfo.addError(
- messagegenerator.getString(_NO_BINDING_FOR_PORT, QUOTE + args[0] + QUOTE, QUOTE + bindingName + QUOTE),
- p, _NO_BINDING_FOR_PORT, args);
- }
- else
- {
- // TODO: Check that the output of one port isn't the input of another and vice versa
- // extensibility elements the port
- // there can only be one and must be one extensibility element defined for a port
- List extelems = p.getExtensibilityElements();
- if (extelems.size() < 1)
- { String args[]= {p.getName()};
- valInfo.addError(messagegenerator.getString(_NO_ADDRESS_PORT, QUOTE + args[0] + QUOTE),
- p, _NO_ADDRESS_PORT, args);
- }
- else if (extelems.size() > 1)
- {
- for (int k = 1; k < extelems.size(); k++)
- {
- String[] args = {p.getName()};
- valInfo.addError(
- messagegenerator.getString(_MORE_THEN_ONE_ADDRESS_PORT, QUOTE + args[0] + QUOTE),
- extelems.get(k), _MORE_THEN_ONE_ADDRESS_PORT, args);
- }
- }
- validateExtensibilityElementList(parents, p.getExtensibilityElements(), valInfo);
- }
- }
-
- parents.remove(0);
- }
- // extensibility elements for the service
- validateExtensibilityElementList(parents, s.getExtensibilityElements(), valInfo);
- parents.remove(0);
- }
- }
-
- /**
- * Checks that the bindings refer to valid PortTypes and all of the operations
- // in a given binding refer to a defined operation within the corresponding
- // PortType.
- *
- * @param wsdlDefinition The WSDL definitions element.
- */
- protected void validateBindings(Definition wsdlDefinition, IWSDL11ValidationInfo valInfo)
- {
- if (wsdlDefinition.getBindings() == null)
- return;
- Object bindings[] = wsdlDefinition.getBindings().values().toArray();
- List parents = new Vector();
- parents.add(wsdlDefinition);
- for (int i = 0; i < bindings.length; i++)
- {
- Binding b = (Binding)bindings[i];
- parents.add(0, b);
- PortType portType = b.getPortType();
-
- if (portType == null)
- {
- continue;
- }
- // the PortType is not defined so don't bother checking the operations
- if (portType.isUndefined())
- { String[] args = {portType.getQName().getLocalPart(), b.getQName().getLocalPart()};
- valInfo.addError(
- messagegenerator.getString(
- _PORTTYPE_UNDEFINED_FOR_BINDING,
- QUOTE + args[0] + QUOTE,
- QUOTE + args[1] + QUOTE),
- b, _PORTTYPE_UNDEFINED_FOR_BINDING, args);
- }
- else
- {
- // the PortType is defined so now we have to check that the operations are defined
- Object bindingOperations[] = b.getBindingOperations().toArray();
-
- // check if the operation is defined for each BindingOperation
- for (int k = 0; k < bindingOperations.length; k++)
- {
- BindingOperation bo = (BindingOperation)bindingOperations[k];
- parents.add(0, bo);
- if (bo.getOperation() == null || bo.getOperation().isUndefined())
- {
- String[] args = {b.getQName().getLocalPart(), portType.getQName().getLocalPart()};
- valInfo.addError(
- messagegenerator.getString(
- _OPERATION_UNDEFINED_FOR_PORTTYPE,
- QUOTE + args[0] + QUOTE,
- QUOTE + args[1] + QUOTE),
- bo, _OPERATION_UNDEFINED_FOR_PORTTYPE, args);
- // nice idea to add suggestions to other elements to fix the error
- // but it doesn't work with multipe files like this
- //addValidationMessage(warningList,portType,portType.getQName().getLocalPart() + "Define an operation here to correspond with the operation in: " + bo.getName());
- }
- // take care of all the extensibility elements in the binding operation, binding inputs, outputs and faults
- else
- {
- BindingInput binput = bo.getBindingInput();
- if (binput != null)
- {
- parents.add(0, binput);
- // extensibility elements for binding operation input
- validateExtensibilityElementList(
- parents,
- bo.getBindingInput().getExtensibilityElements(),
- valInfo);
- parents.remove(0);
- }
- BindingOutput boutput = bo.getBindingOutput();
- if (boutput != null)
- {
- parents.add(0, boutput);
- // extensibility elements for binding operation output
- validateExtensibilityElementList(
- parents,
- bo.getBindingOutput().getExtensibilityElements(),
- valInfo);
- parents.remove(0);
- }
- // no input or output has been defined for the operation
- if (binput == null && boutput == null)
- { String[] args = { bo.getName() };
- valInfo.addError(
- messagegenerator.getString(_OPERATION_NO_INPUT_OR_OUTPUT, QUOTE + args[0] + QUOTE),
- bo, _OPERATION_NO_INPUT_OR_OUTPUT, args);
- }
- // extensibility elements for each binding operation fault
- Iterator faults = bo.getBindingFaults().values().iterator();
- while (faults.hasNext())
- {
- BindingFault bf = (BindingFault)faults.next();
- parents.add(0, bf);
- validateExtensibilityElementList(parents, bf.getExtensibilityElements(), valInfo);
- parents.remove(0);
- }
- }
- // extensibility elements for binding operation
- validateExtensibilityElementList(parents, bo.getExtensibilityElements(), valInfo);
- parents.remove(0);
- }
- }
- // extensibility elements for the binding
- validateExtensibilityElementList(parents, b.getExtensibilityElements(), valInfo);
- parents.remove(0);
- }
-
- }
-
- /**
- * Check that all of the PortTypes have valid messages associated with their
- // operation input, output and fault types.
- *
- * @param wsdlDefinition The WSDL definitions element.
- */
- protected void validatePortTypes(Definition wsdlDefinition, IWSDL11ValidationInfo valInfo)
- {
- if (wsdlDefinition.getPortTypes() == null)
- return;
- Object porttypes[] = wsdlDefinition.getPortTypes().values().toArray();
-
- for (int i = 0; i < porttypes.length; i++)
- {
- PortType p = (PortType)porttypes[i];
- Object operations[] = p.getOperations().toArray();
- List inAndOutNames = new Vector();
- for (int j = 0; j < operations.length; j++)
- {
- Operation o = (Operation)operations[j];
- if (o == null || o.isUndefined())
- {
- continue;
- }
-
- // check that the messages are defined for the input, output and faults
- Message m;
- Input input = o.getInput();
- if (input != null)
- {
- String inputName = input.getName();
- // if the name isn't defined it defaults to this
- if (inputName == null)
- {
- inputName = o.getName() + REQUEST;
- }
- if (inAndOutNames.contains(inputName))
- { String[] args = {inputName, p.getQName().getLocalPart() };
- valInfo.addError(
- messagegenerator.getString(
- _INPUT_NAME_NOT_UNIQUE,
- QUOTE + args[0] + QUOTE,
- QUOTE + args[1] + QUOTE),
- input, _INPUT_NAME_NOT_UNIQUE, args);
- }
- else
- {
- inAndOutNames.add(inputName);
- }
-
- m = input.getMessage();
- if (m != null && m.isUndefined())
- {
- String messName = EMPTY_STRING;
- QName messQName = m.getQName();
- if (messQName != null)
- {
- messName = messQName.getLocalPart();
- }
- String[] args = {messName};
- valInfo.addError(messagegenerator.getString(_MESSAGE_UNDEFINED_FOR_INPUT, QUOTE + args[0] + QUOTE),
- input, _MESSAGE_UNDEFINED_FOR_INPUT, args);
- }
- }
- Output output = o.getOutput();
- if (output != null)
- {
- String outputName = output.getName();
- // if the name isn't defined it defaults to this
- if (outputName == null)
- {
- outputName = o.getName() + RESPONSE;
- }
-
- if (inAndOutNames.contains(outputName))
- {
- String[] args = {outputName, p.getQName().getLocalPart()};
-
- valInfo.addError(
- messagegenerator.getString(
- _OUTPUT_NAME_NOT_UNIQUE,
- QUOTE + args[0] + QUOTE,
- QUOTE + args[1] + QUOTE),
- output, _OUTPUT_NAME_NOT_UNIQUE, args);
- }
- else
- {
- inAndOutNames.add(outputName);
- }
-
- m = output.getMessage();
- if (m != null && m.isUndefined())
- {
- String messName = EMPTY_STRING;
- QName messQName = m.getQName();
- if (messQName != null)
- {
- messName = messQName.getLocalPart();
- }
- String[] args = {messName};
- valInfo.addError(messagegenerator.getString(_MESSAGE_UNDEFINED_FOR_OUTPUT, QUOTE + args[0] + QUOTE),
- output, _MESSAGE_UNDEFINED_FOR_OUTPUT, args);
- }
- }
-
- Object faults[] = o.getFaults().values().toArray();
-
- //List faultNames = new Vector();
- for (int k = 0; k < faults.length; k++)
- {
- Fault f = (Fault)faults[k];
- m = f.getMessage();
- if (m != null && m.isUndefined())
- {
- String messName = EMPTY_STRING;
- QName messQName = m.getQName();
- if (messQName != null)
- {
- messName = messQName.getLocalPart();
- }
- String args[] = {messName};
- valInfo.addError(messagegenerator.getString(_MESSAGE_UNDEFINED_FOR_FAULT, QUOTE + args[0] + QUOTE),
- f, _MESSAGE_UNDEFINED_FOR_FAULT, args);
- }
- }
- }
- }
- }
-
- /**
- * Check that all the messages defined in the WSDL document are valid.
- *
- * @param wsdlDefinition The WSDL definitions element.
- */
- protected void validateMessages(Definition wsdlDefinition, IWSDL11ValidationInfo valInfo)
- {
- if (wsdlDefinition.getMessages() == null)
- return;
- Iterator messages = wsdlDefinition.getMessages().values().iterator();
-
- while (messages.hasNext())
- {
- Message m = (Message)messages.next();
- if (!m.isUndefined())
- {
- // if the message has a part (and it doesn't have to)
- // ensure each message part has either an element or a type
- if (!m.getParts().isEmpty())
- {
- Iterator parts = m.getParts().values().iterator();
- while (parts.hasNext())
- {
- Part p = (Part)parts.next();
- QName elementName = p.getElementName();
- QName typeName = p.getTypeName();
- Map extAtts = p.getExtensionAttributes();
- // TODO:This will have to be extended as parts can have extensibility elements
- //ensure the part has a type or an element defined
- if (elementName == null && typeName == null && (extAtts == null || extAtts.isEmpty()))
- { String[] args = { p.getName()};
- valInfo.addError(messagegenerator.getString(_PART_NO_ELEMENT_OR_TYPE, QUOTE + args[0] + QUOTE),
- p, _PART_NO_ELEMENT_OR_TYPE, args);
- }
- //here the part has both the element and type defined and it can only have one defined
- else if (elementName != null && typeName != null)
- { String[] args = {p.getName()};
- valInfo.addError(messagegenerator.getString(_PART_BOTH_ELEMENT_AND_TYPE, QUOTE + args[0] + QUOTE),
- p, _PART_BOTH_ELEMENT_AND_TYPE, args);
- }
- else if (elementName != null)
- {
- if (!checkPartConstituent(elementName.getNamespaceURI(),
- elementName.getLocalPart(),
- ELEMENT,
- p,
- valInfo))
- { String[] args = {p.getName(), elementName.getLocalPart()};
- valInfo.addError(
- messagegenerator.getString(
- _PART_INVALID_ELEMENT,
- QUOTE + args[0] + QUOTE,
- QUOTE + args[1] + QUOTE),
- p, _PART_INVALID_ELEMENT, args);
- }
- }
- else if (typeName != null)
- {
- // check that the type itself is defined properly
- if (!checkPartConstituent(typeName.getNamespaceURI(), typeName.getLocalPart(), TYPE, p, valInfo))
- { String[] args = {p.getName(), typeName.getLocalPart() };
- valInfo.addError(
- messagegenerator.getString(
- _PART_INVALID_TYPE,
- QUOTE + args[0] + QUOTE,
- QUOTE + args[1] + QUOTE),
- p, _PART_INVALID_TYPE, args);
- }
- }
- }
- }
- }
- }
- }
-
- /**
- * Checks whether the given name is defined in the namespace for the part. A part is an
- * ELEMENT or a TYPE.
- *
- * @param namespace The namespace to check.
- * @param name The name to check.
- * @param part The part to check, either ELEMENT or TYPE.
- * @param partObject The object representing the given part.
- * @return True if the part element of type is defined, false otherwise.
- */
- protected boolean checkPartConstituent(
- String namespace,
- String name,
- int part,
- Part partObject,
- IWSDL11ValidationInfo valInfo)
- {
-
- boolean partvalid = false;
- // First take care of the situation where it's from the schema namespace.
- // The 1999, 2000 and 2001 schema namespaces are all accepted.
- if (namespace.equals(Constants.NS_URI_XSD_2001)
- || namespace.equals(Constants.NS_URI_XSD_1999)
- || namespace.equals(Constants.NS_URI_XSD_2000))
- {
- SchemaAttributeTable xsdTable = new SchemaAttributeTable();
- if (xsdTable.containsSymbol(name))
- {
- partvalid = true;
- }
- }
- // check inline and imported schema
- else
- {
- XSModel[] schemas = valInfo.getSchemas();
- int numSchemas = schemas.length;
- //Iterator schemasIter = schemas.iterator();
- for (int i = 0; i < numSchemas; i++)
- {
- XSModel schema = schemas[i];
- if (schema != null)
- {
- if (part == ELEMENT && schema.getElementDeclaration(name, namespace) != null)
- {
- partvalid = true;
- break;
- }
- else if (part == TYPE && schema.getTypeDefinition(name, namespace) != null)
- {
- partvalid = true;
- break;
- }
- }
- }
- }
- // If the SOAP encoding namespace hasn't been explicitly imported do so
- // now.
- // Allow the SOAP encoding namespace to be automatically imported but mark
- // it as a warning.
- if (!partvalid && namespace.equals(SOAP_ENCODING_URI))
- {
- try
- {
- XSDValidator xsdVal = new XSDValidator();
- String soapEnc = valInfo.getURIResolver().resolve("", SOAP_ENCODING_URI, null).getPhysicalLocation();
- if(soapEnc != null)
- {
- xsdVal.validate(soapEnc, null, valInfo.getSchemaCache());
- // sanity check in case something goes wrong
- if (xsdVal.isValid())
- {
- XSModel xsModel = xsdVal.getXSModel();
-
- if (part == ELEMENT && xsModel.getElementDeclaration(name, namespace) != null)
- {
- partvalid = true;
- }
- else if (part == TYPE && xsModel.getTypeDefinition(name, namespace) != null)
- {
- partvalid = true;
- }
- valInfo.addWarning(messagegenerator.getString(_WARN_SOAPENC_IMPORTED_PART, QUOTE + name + QUOTE), partObject);
- }
- }
- }
- catch (Exception e)
- {
- LoggerFactory.getInstance().getLogger().log("An exception occurred while performing WSDL validation of a part with the SOAP encoding namespace.", ILogger.SEV_ERROR, e);
- }
- }
- return partvalid;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidationInfoImpl.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidationInfoImpl.java
deleted file mode 100644
index cf18c2e0d..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidationInfoImpl.java
+++ /dev/null
@@ -1,190 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.util.Hashtable;
-import java.util.List;
-import java.util.Vector;
-
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.apache.xerces.xs.XSModel;
-import org.eclipse.wst.wsdl.validation.internal.Constants;
-import org.eclipse.wst.wsdl.validation.internal.IValidationInfo;
-import org.eclipse.wst.wsdl.validation.internal.ValidationInfoImpl;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-
-/**
- * An implemenation of WSDL11ValidationInfo.
- */
-public class WSDL11ValidationInfoImpl implements IWSDL11ValidationInfo
-{
- private IValidationInfo valinfo = null;
- private Hashtable elementlocations = null;
- private List schemas = new Vector();
-
- public WSDL11ValidationInfoImpl(IValidationInfo valinfo)
- {
- this.valinfo = valinfo;
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#getFileURI()
- */
- public String getFileURI()
- {
- return valinfo.getFileURI();
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#addSchema(org.apache.xerces.xs.XSModel)
- */
- public void addSchema(XSModel xsModel)
- {
- if (xsModel != null)
- {
- schemas.add(xsModel);
- }
-
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#getSchemas()
- */
- public XSModel[] getSchemas()
- {
- return (XSModel[])schemas.toArray(new XSModel[schemas.size()]);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wsdl.validate.wsdl11.WSDL11ValidationInfo#cleardSchemas()
- */
- public void clearSchemas()
- {
- schemas.clear();
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#setElementLocations(java.util.Hashtable)
- */
- public void setElementLocations(Hashtable elementLocations)
- {
- this.elementlocations = elementLocations;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#addError(java.lang.String, java.lang.Object)
- */
- public void addError(String message, Object element)
- {
- addError(message, element, null, null);
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#addError(java.lang.String, java.lang.Object, java.lang.String, java.lang.Object[])
- */
- public void addError(String message, Object element, String errorKey, Object[] messageArguments)
- {
- LocationHolder location;
- if (elementlocations.containsKey(element))
- {
- location = (LocationHolder)elementlocations.get(element);
- addError(message, location.getLine(), location.getColumn(), location.getURI(), errorKey, messageArguments);
- }
- // if we give it an element that hasn't been defined we'll set the location
- // at (0,0) so the error shows up but no line marker in the editor
- else
- {
- addError(message, 0, 1, getFileURI());
- }
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#addWarning(java.lang.String, java.lang.Object)
- */
- public void addWarning(String message, Object element)
- {
- LocationHolder location;
- if (elementlocations.containsKey(element))
- {
- location = (LocationHolder)elementlocations.get(element);
- addWarning(message, location.getLine(), location.getColumn(), location.getURI());
- }
- // if we give it an element that hasn't been defined we'll set the location
- // at (0,0) so the error shows up but no line marker in the editor
- else
- {
- addWarning(message, 0, 1, getFileURI());
- }
-
- }
-
- /**
- * @see org.eclipse.wsdl.validate.wsdl11.WSDL11ValidationInfo#addNamespaceWithNoValidator(java.lang.String)
- */
-// public void addNamespaceWithNoValidator(String namespace)
-// {
-// valinfo.addNamespaceWithNoValidator(namespace);
-//
-// }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#addError(java.lang.String, int, int)
- */
- public void addError(String message, int line, int column, String uri)
- {
- addError(message, line, column, uri, null, null);
- }
-
- public void addError(String message, int line, int column, String uri, String errorKey, Object[] messageArguments)
- {
- try
- { ((ValidationInfoImpl)valinfo).addError(message, line, column, uri, errorKey, messageArguments);
- }
- catch (ClassCastException e)
- {
- valinfo.addError(message, line, column, uri);
- }
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#addWarning(java.lang.String, int, int)
- */
- public void addWarning(String message, int line, int column, String uri)
- {
- valinfo.addWarning(message, line, column, uri);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wsdl.validate.wsdl11.WSDL11ValidationInfo#getURIResolver()
- */
- public URIResolver getURIResolver()
- {
- return valinfo.getURIResolver();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#getSchemaCache()
- */
- public XMLGrammarPool getSchemaCache()
- {
- XMLGrammarPool grammarPool = (XMLGrammarPool)valinfo.getAttribute(Constants.XMLSCHEMA_CACHE_ATTRIBUTE);
- return grammarPool;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo#getXMLCache()
- */
- public XMLGrammarPool getXMLCache()
- {
- XMLGrammarPool grammarPool = (XMLGrammarPool)valinfo.getAttribute(Constants.XML_CACHE_ATTRIBUTE);
- return grammarPool;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorController.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorController.java
deleted file mode 100644
index 089719a56..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorController.java
+++ /dev/null
@@ -1,347 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Locale;
-import java.util.ResourceBundle;
-import java.util.Vector;
-
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-
-import org.apache.xerces.xs.XSModel;
-import org.eclipse.wst.wsdl.validation.internal.IWSDLValidator;
-import org.eclipse.wst.wsdl.validation.internal.IValidationInfo;
-import org.eclipse.wst.wsdl.validation.internal.exception.ValidateWSDLException;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.w3c.dom.Document;
-
-import com.ibm.wsdl.Constants;
-
-/**
- * The validator controller is the head of validation.
- */
-public class WSDL11ValidatorController implements IWSDLValidator
-{
- private static String VALIDATOR_RESOURCE_BUNDLE_NAME = "validatewsdl";
- protected final String _WARN_NO_VALDIATOR = "_WARN_NO_VALDIATOR";
-// protected final int ERROR_MESSAGE = 0;
-// protected final int WARNING_MESSAGE = 1;
-// protected String fileURI;
-// protected List schemas = new Vector();
-// protected Definition wsdlDefinition;
- protected MessageGenerator messagegenerator = null;
- //protected ValidationController validationController;
- protected ValidatorRegistry ver = ValidatorRegistry.getInstance();
-
- /**
- * Constructor.
- */
- public WSDL11ValidatorController()
- {
- ResourceBundle rb = ResourceBundle.getBundle(VALIDATOR_RESOURCE_BUNDLE_NAME, Locale.getDefault());
- messagegenerator = new MessageGenerator(rb);
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.wsdl.validate.IWSDLValidator#validate(org.w3c.dom.Document, org.eclipse.wsdl.validate.ValidationInfo)
- */
- public void validate(Document domModel, IValidationInfo valInfo) throws ValidateWSDLException
- {
- // reset the variables
-// reset();
-// fileURI = valInfo.getFileURI();
- //this.validationController = validationcontroller;
-
- IWSDL11ValidationInfo wsdlvalinfo = new WSDL11ValidationInfoImpl(valInfo);
- WSDLDocument[] wsdlDocs = readWSDLDocument(domModel, valInfo.getFileURI(), getMessageGenerator(), wsdlvalinfo);
- // Don't validate an null definitions element. Either the file is emtpy and valid or
- // had an error when reading.
- if(wsdlDocs != null)
- {
- int numWSDLDocs = wsdlDocs.length;
- for(int i = 0; i < numWSDLDocs; i++)
- {
- WSDLDocument tempDoc = wsdlDocs[i];
- Definition wsdlDefinition = tempDoc.getDefinition();
- // Register the schemas.
- List xsdList = tempDoc.getSchemas();
- Iterator xsdIter = xsdList.iterator();
- while (xsdIter.hasNext())
- {
- wsdlvalinfo.addSchema((XSModel)xsdIter.next());
- }
- // Set the element locations table.
- wsdlvalinfo.setElementLocations(tempDoc.getElementLocations());
- // Set any reader errors. This needs to be done after the element locations table is set.
- List readerErrors = tempDoc.getReaderErrors();
- if (readerErrors != null)
- {
- Iterator readerErrorsI = readerErrors.iterator();
- while (readerErrorsI.hasNext())
- {
- ReaderError re = (ReaderError)readerErrorsI.next();
- wsdlvalinfo.addError(re.getError(), re.getObject());
- }
- }
- List readerWarnings = tempDoc.getReaderWarnings();
- if (readerWarnings != null)
- {
- Iterator readerWarningsI = readerWarnings.iterator();
- while (readerWarningsI.hasNext())
- {
- ReaderError re = (ReaderError)readerWarningsI.next();
- wsdlvalinfo.addWarning(re.getError(), re.getObject());
- }
- }
- validateWSDLElement(Constants.NS_URI_WSDL, wsdlDefinition, new Vector(), wsdlvalinfo);
- wsdlvalinfo.clearSchemas();
- }
- }
-
- }
-
- /**
- * Read in the WSDL document and set the model and imported schemas.
- *
- * @param domModel A DOM model of the document to be read.
- * @param file The file to read.
- * @param messagegenerator The messagegenerator the reader should use for any messages produced.
- * @param wsdlvalinfo The validation information for the current validation.
- * @return The definitions element for the WSDL document.
- * @throws ValidateWSDLException
- */
- protected WSDLDocument[] readWSDLDocument(Document domModel, String file, MessageGenerator messagegenerator, IWSDL11ValidationInfo wsdlvalinfo) throws ValidateWSDLException
- {
- WSDLDocument[] wsdlDocs = null;
- try
- {
-
- WSDLReaderImpl wsdlReader = new WSDLReaderImpl(wsdlvalinfo);
- wsdlReader.setMessageGenerator(messagegenerator);
- if(domModel != null)
- {
- wsdlDocs = wsdlReader.readWSDL(file, domModel);
- }
- else
- {
- wsdlDocs = wsdlReader.readWSDL(file);
- }
- //wsdlvalinfo.setElementLocations(wsdlReader.getElementLocationsHashtable());
-// List readerErrors = wsdlReader.getReaderErrors();
-// if (readerErrors != null)
-// {
-// Iterator readerErrorsI = readerErrors.iterator();
-// while (readerErrorsI.hasNext())
-// {
-// ReaderError re = (ReaderError)readerErrorsI.next();
-// wsdlvalinfo.addError(re.getError(), re.getObject());
-// }
-// }
-// if (wsdlReader.hasImportSchemas())
-// {
-// List xsdList = wsdlReader.getImportSchemas();
-// Iterator xsdIter = xsdList.iterator();
-// while (xsdIter.hasNext())
-// {
-// wsdlvalinfo.addSchema((XSModel)xsdIter.next());
-// }
-//
-// }
-
- }
- catch (WSDLException e)
- {
- throw new ValidateWSDLException(e.getMessage() + " " + e.getFaultCode());
- }
-
- catch (Exception e)
- {
- throw new ValidateWSDLException("unable to read file" + e.getMessage() + " " + e.toString());
- }
- return wsdlDocs;
- }
-
- /**
- * Given a WSDL element, call ValidateElement for it.
- *
- * @param namespace The namespace of the element to validate.
- * @param element The element to validate.
- * @param parents The list of parents for this element.
- */
- public void validateWSDLElement(String namespace, Object element, List parents, IWSDL11ValidationInfo wsdlvalinfo)
- {
- IWSDL11Validator val = ver.queryValidatorRegistry(namespace);
- if (val != null)
- {
- val.validate(element, parents, wsdlvalinfo);
- }
- else
- {
- //TODO: Add this as a preference.
- //wsdlvalinfo.addWarning(messagegenerator.getString(_WARN_NO_VALDIATOR, namespace), element);
- }
- }
-
- /**
- * Set the message generator for this controller.
- *
- * @param mesgen The message generator to set for this controller.
- */
- public void setMessageGenerator(MessageGenerator mesgen)
- {
- messagegenerator = mesgen;
- }
-
- /**
- * Get the message generator registered for this controller.
- *
- * @return The message generator registered for this controller.
- */
- public MessageGenerator getMessageGenerator()
- {
- return messagegenerator;
- }
-
- /**
- * Return the filename for the file currently being validated. Some validators require this.
- *
- * @return The filename for the file being validated.
- */
-// public String getFilename()
-// {
-// return fileURI;
-// }
-
- /**
- * Convenience method for extensibly validators to add error messages.
- *
- * @param object The object to add the error for.
- * @param error The error to add.
- */
-// public void addErrorMessage(Object object, String error)
-// {
-// addValidationMessage(ERROR_MESSAGE, object, error);
-// errors = true;
-// }
-
- /**
- * Method for extensibly validators to add error messages when they know
- * line and column numbers.
- *
- * @param line The line where the error message is located.
- * @param column The column where the error message is located.
- * @param error The error message.
- */
-// public void addErrorMessage(int line, int column, String error)
-// {
-// addValidationMessage(ERROR_MESSAGE, line, column, error);
-// errors = true;
-// }
-
- /**
- * Convenience method for extensibly validators to add warning messages.
- *
- * @param object The object to add the warning message.
- * @param warning The warning message.
- */
-// public void addWarningMessage(Object object, String warning)
-// {
-// addValidationMessage(WARNING_MESSAGE, object, warning);
-// }
-
- /**
- * Method for extensibly validators to add warning messages when they know
- * line and column numbers.
- *
- * @param line The line where the error message is located.
- * @param column The column where the error message is located.
- * @param warning The warning message.
- */
-// public void addWarningMessage(int line, int column, String warning)
-// {
-// addValidationMessage(WARNING_MESSAGE, line, column, warning);
-// }
-
- /**
- * If you have an object read in by the reader for this
- * validatorcontroller the object can be passed in here and the line and column
- * information will be abstracted from it.
- *
- * @param type The type of message to add.
- * @param o The object that has the error (used to get the location).
- * @param message The message to add.
- */
-// protected void addValidationMessage(int type, Object o, String message)
-// {
-// int[] location;
-// if (elementLocations.containsKey(o))
-// {
-// location = (int[])elementLocations.get(o);
-// }
-// // if we give it an element that hasn't been defined we'll set the location
-// // at (0,0) so the error shows up but no line marker in the editor
-// else
-// {
-// location = new int[] { 0, 0 };
-// }
-// addValidationMessage(type, location[0], location[1], message);
-// }
-
- /**
- * Creates a validation message of the specified type.
- *
- * @param type The type of validation message to add.
- * @param line The line where the error message is located.
- * @param column The line where the column message is located.
- * @param message The message to add.
- */
-// protected void addValidationMessage(int type, int line, int column, String message)
-// {
-// if (message != null)
-// {
-// if (type == ERROR_MESSAGE)
-// {
-// validationController.addErrorMessage(line, column, message);
-// }
-// else if (type == WARNING_MESSAGE)
-// {
-// validationController.addWarningMessage(line, column, message);
-// }
-// }
-// }
-
- /**
- * @see org.eclipse.wsdl.validate.controller.IWSDLValidator#isValid()
- */
-// public boolean isValid()
-// {
-// return !errors;
-// }
-
- /**
- * Reset the validator controller.
- */
-// protected void reset()
-// {
-// schemas = new Vector();
-// fileURI = "";
-// wsdlDefinition = null;
-// elementLocations = null;
-// resourcebundle = null;
-// //validationController = null;
-// errors = false;
-// }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorDelegate.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorDelegate.java
deleted file mode 100644
index 32135e486..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorDelegate.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-/**
- * The WSDL 1.1 validator delegate holds a reference to a validator to be instantiated at
- * a later point.
- */
-public abstract class WSDL11ValidatorDelegate
-{
- private IWSDL11Validator validator = null;
-
-
- /**
- * Get the validator specified in this delegate.
- *
- * @return The WSDL 1.1 validator specified by this delegate.
- */
- public IWSDL11Validator getValidator()
- {
- if (validator == null)
- {
- validator = loadValidator();
- }
- return validator;
- }
-
- protected abstract IWSDL11Validator loadValidator();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLDocument.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLDocument.java
deleted file mode 100644
index 0882ec99c..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLDocument.java
+++ /dev/null
@@ -1,2009 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.TreeSet;
-import java.util.Vector;
-
-import javax.wsdl.Binding;
-import javax.wsdl.BindingFault;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.BindingOutput;
-import javax.wsdl.Definition;
-import javax.wsdl.Fault;
-import javax.wsdl.Input;
-import javax.wsdl.Message;
-import javax.wsdl.Operation;
-import javax.wsdl.OperationType;
-import javax.wsdl.Output;
-import javax.wsdl.Part;
-import javax.wsdl.Port;
-import javax.wsdl.PortType;
-import javax.wsdl.Service;
-import javax.wsdl.Types;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.ExtensionDeserializer;
-import javax.wsdl.extensions.ExtensionRegistry;
-import javax.wsdl.extensions.UnknownExtensibilityElement;
-import javax.wsdl.factory.WSDLFactory;
-import javax.xml.namespace.QName;
-
-import org.apache.xerces.dom.ElementImpl;
-import org.apache.xerces.dom.ElementNSImpl;
-import org.apache.xerces.xs.XSModel;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd.InlineSchemaValidator;
-import org.eclipse.wst.wsdl.validation.internal.xml.ElementLocation;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-import com.ibm.wsdl.Constants;
-import com.ibm.wsdl.util.StringUtils;
-import com.ibm.wsdl.util.xml.DOMUtils;
-import com.ibm.wsdl.util.xml.QNameUtils;
-import com.ibm.wsdl.util.xml.XPathUtils;
-
-/**
- * A WSDL document that knows how to parse itself.
- */
-public class WSDLDocument
-{
- private static final List STYLE_ONE_WAY = Arrays.asList(new String[] { Constants.ELEM_INPUT });
- private static final List STYLE_REQUEST_RESPONSE =
- Arrays.asList(new String[] { Constants.ELEM_INPUT, Constants.ELEM_OUTPUT });
- private static final List STYLE_SOLICIT_RESPONSE =
- Arrays.asList(new String[] { Constants.ELEM_OUTPUT, Constants.ELEM_INPUT });
- private static final List STYLE_NOTIFICATION = Arrays.asList(new String[] { Constants.ELEM_OUTPUT });
-
- private static final String _ERROR_MULTIPLE_TYPES_DEFINED = "_ERROR_MULTIPLE_TYPES_DEFINED";
- private static final String _UNABLE_TO_IMPORT_NO_LOCATION = "_UNABLE_TO_IMPORT_NO_LOCATION";
-
- protected ExtensionRegistry extReg = null;
- protected String factoryImplName = null;
-
- // store the element locations within the file - line and column numbers
- // the location info is stored as an int array of length 2 {linenumber, colnumber}
- protected Hashtable elementLocations = new Hashtable();
-
- // hold the reader errors
- protected List readerErrors = new ArrayList();
- protected List readerWarnings = new ArrayList();
- protected MessageGenerator messagegenerator;
-
- private Definition def = null;
- private Set importedDefs = new TreeSet();
- private Element typesEl = null;
- private List messages = new ArrayList();
- private List porttypes = new ArrayList();
- private List bindings = new ArrayList();
- private List services = new ArrayList();
- private List extelements = new ArrayList();
- private int depth;
- // Hold the schemas that are imported or declared inline in this wsdl document.
- private List schemas = new ArrayList();
- private IWSDL11ValidationInfo valinfo;
-
- /**
- * Constructor. Performs a preparse of the document and handles imports and types.
- *
- * @param documentBaseURI The URI of this WSDL document.
- * @param defEl The definitions element.
- * @param depth The depth of this document in a document tree.
- * @param messagegenerator A messagegenerator used for retrieving strings.
- * @param valinfo A WSDL11ValidationInfo object for reporting messages.
- * @throws WSDLException
- */
- public WSDLDocument(String documentBaseURI, Element defEl, int depth, MessageGenerator messagegenerator, IWSDL11ValidationInfo valinfo) throws WSDLException
- {
- this.messagegenerator = messagegenerator;
- this.valinfo = valinfo;
- this.depth = depth;
-
- checkElementName(defEl, Constants.Q_ELEM_DEFINITIONS);
-
- WSDLFactory factory =
- (factoryImplName != null) ? WSDLFactory.newInstance(factoryImplName) : WSDLFactory.newInstance();
- def = factory.newDefinition();
- // Fix for WSDL4J adding default WSDL namespace when no default
- // namespace has been declared.
- // TODO: Remove this fix once fixed in WSDL4J.
- if(def.getNamespace("") != null)
- def.getNamespaces().remove("");
-
- if (extReg != null)
- {
- def.setExtensionRegistry(extReg);
- }
-
- String name = DOMUtils.getAttribute(defEl, Constants.ATTR_NAME);
- String targetNamespace = DOMUtils.getAttribute(defEl, Constants.ATTR_TARGET_NAMESPACE);
- NamedNodeMap attrs = defEl.getAttributes();
-
- if (documentBaseURI != null)
- {
- def.setDocumentBaseURI(documentBaseURI);
- }
-
- if (name != null)
- {
- def.setQName(new QName(targetNamespace, name));
- }
-
- if (targetNamespace != null)
- {
- def.setTargetNamespace(targetNamespace);
- }
-
- int size = attrs.getLength();
-
- for (int i = 0; i < size; i++)
- {
- Attr attr = (Attr)attrs.item(i);
- String namespaceURI = attr.getNamespaceURI();
- String localPart = attr.getLocalName();
- String value = attr.getValue();
-
- if (namespaceURI != null && namespaceURI.equals(Constants.NS_URI_XMLNS))
- {
- if (localPart != null && !localPart.equals(Constants.ATTR_XMLNS))
- {
- def.addNamespace(localPart, value);
- }
- else
- {
- def.addNamespace(null, value);
- }
- }
- }
-
- // There are problems when the model is created and the order of elements is not
- // Import - Types - Message - PortType - Binding - Service so we need to read them
- // into the model in that order
- // Performance wise this should be modified as we have to make 5 extra loops through
- // all of the elements as a result
-
- // take care of Imports, Types, Documentation and extensibleelements together - saves a pass for Documentation
- // later and Docs don't effect anything else - Imports and Types are essentially the same thing
- // no preconceived ideas about extensible elements
- Element tempEl = DOMUtils.getFirstChildElement(defEl);
-
- while (tempEl != null)
- {
-
- if (QNameUtils.matches(Constants.Q_ELEM_IMPORT, tempEl))
- {
- String namespaceURI = DOMUtils.getAttribute(tempEl, Constants.ATTR_NAMESPACE);
- String locationURI = DOMUtils.getAttribute(tempEl, Constants.ATTR_LOCATION);
- if(locationURI == null || locationURI.equals(""))
- {
- addReaderError(def, tempEl, messagegenerator.getString(_UNABLE_TO_IMPORT_NO_LOCATION));
- }
- else
- {
- ImportHolder ih = new ImportHolder(namespaceURI, locationURI, def.getDocumentBaseURI(), this, depth+1, tempEl, messagegenerator, valinfo);
- // Only add the import to the list if it is not an import for this document.
- if(!documentBaseURI.equals(ih.getLocation()))
- {
- importedDefs.add(ih);
- }
- }
- setLocation(tempEl, tempEl);
-// if (importedDefs == null)
-// {
-// importedDefs = new Hashtable();
-// }
-// if (documentBaseURI != null)
-// {
-// importedDefs.put(documentBaseURI, def);
-// }
-// def.addImport(parseImport(tempEl, def, importedDefs));
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- def.setDocumentationElement(tempEl);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_TYPES, tempEl))
- {
- if(typesEl != null)
- {
- setLocation(tempEl, tempEl);
- addReaderError(def, tempEl, messagegenerator.getString(_ERROR_MULTIPLE_TYPES_DEFINED));
- }
- else
- {
- typesEl = tempEl;
- parseTypes();
- }
-// def.setTypes(parseTypes(tempEl, def));
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_MESSAGE, tempEl))
- {
- messages.add(tempEl);
- //def.addMessage(parseMessage(tempEl, def));
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_PORT_TYPE, tempEl))
- {
- porttypes.add(tempEl);
- // PortType pt = parsePortType(tempEl, def);
- // if(pt != null)
- // {
- // def.addPortType(pt);
- // }
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_BINDING, tempEl))
- {
- bindings.add(tempEl);
- //def.addBinding(parseBinding(tempEl, def));
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_SERVICE, tempEl))
- {
- services.add(tempEl);
- //def.addService(parseService(tempEl, def));
- }
- else
- {
- extelements.add(tempEl);
- // def.addExtensibilityElement(
- // parseExtensibilityElement(Definition.class, tempEl, def));
- }
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- }
-
- /**
- * Get the definitions element for this document.
- *
- * @return The definitions element for this document.
- */
- public Definition getDefinition()
- {
- return def;
- }
-
- /**
- * Get a set of the imports in this document.
- *
- * @return A set of the imports in this document.
- */
- public Set getImports()
- {
- return importedDefs;
- }
-
- /**
- *
- * @param def
- * @param doc
- * @param namespace
- * @param location
- */
-// public void setImport(Definition def, Element doc, String namespace, String location)
-// {
-// if(location == null || location.equals(""))
-// {
-// valinfo.addError()_UNABLE_TO_IMPORT_NO_LOCATION
-// }
-// Import imp = def.createImport();
-// imp.setDefinition(def);
-// imp.setDocumentationElement(doc);
-// imp.setNamespaceURI(namespace);
-// imp.setLocationURI(location);
-// def.addImport(imp);
-// }
-
- /**
- * Parse the types in the WSDL document. Handles documentation, import and schema
- * elements.
- */
- public void parseTypes()
- {
- Types types = def.createTypes();
-
- Element tempEl = DOMUtils.getFirstChildElement(typesEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- types.setDocumentationElement(tempEl);
- }
- else if (tempEl.getLocalName().equalsIgnoreCase("import"))
- //else if (QNameUtils.matches(Constants.Q_ELEM_IMPORT, tempEl))
- {
- // this shouldn't really be used here but a little hack will make
- // life easier
- //parseImport(tempEl, def, (Map)new Hashtable());
- String namespaceURI = DOMUtils.getAttribute(tempEl, Constants.ATTR_NAMESPACE);
- String locationURI = DOMUtils.getAttribute(tempEl, "schemaLocation");
- importedDefs.add(new ImportHolder(namespaceURI, locationURI, def.getDocumentBaseURI(), this, depth+1, tempEl, messagegenerator, valinfo));
- try
- {
- types.addExtensibilityElement(parseExtensibilityElement(Types.class, tempEl, def));
- }
- catch(WSDLException e)
- {
-
- }
- }
- else
- {
- try
- {
- ExtensibilityElement extElem = parseExtensibilityElement(Types.class, tempEl, def);
- types.addExtensibilityElement(extElem);
- }
- catch(WSDLException e)
- {
-
- }
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
- def.setTypes(types);
-
- valinfo.setElementLocations(elementLocations);
- List typesElems = types.getExtensibilityElements();
- if(typesElems != null)
- {
- Iterator typesElemsIter = typesElems.iterator();
- while(typesElemsIter.hasNext())
- {
- ExtensibilityElement typeElement = (ExtensibilityElement)typesElemsIter.next();
-
- InlineSchemaValidator xsdVal = new InlineSchemaValidator();
- xsdVal.setMessageGenerator(messagegenerator);
-
- List parents = new ArrayList();
- parents.add(def);
- parents.add(0,types);
- xsdVal.validate(typeElement, parents,valinfo);
- XSModel[] typesSchemas = valinfo.getSchemas();
- List typesSchemaList = new ArrayList();
- for(int i = 0; i < typesSchemas.length; i++)
- {
- typesSchemaList.add(typesSchemas[i]);
- }
- schemas.addAll(typesSchemaList);
- valinfo.clearSchemas();
- }
- }
- valinfo.setElementLocations(null);
- }
-
- /**
- * Parse the messages in this document.
- */
- public void parseMessages()
- {
- for (int i = 0; i < messages.size(); i++)
- {
- try
- {
- def.addMessage(parseMessage((Element)messages.get(i), def));
- }
- catch(WSDLException e)
- {}
- }
- }
-
- /**
- * Parse the portTypes in this document.
- */
- public void parsePorttypes()
- {
- for (int i = 0; i < porttypes.size(); i++)
- {
- try
- {
- PortType pt = parsePortType((Element)porttypes.get(i), def);
- if (pt != null)
- {
- def.addPortType(pt);
- }
- }
- catch(WSDLException e)
- {}
- }
- }
-
- /**
- * Parse the bindings in this document.
- */
- public void parseBindings()
- {
- for (int i = 0; i < bindings.size(); i++)
- {
- try
- {
- def.addBinding(parseBinding((Element)bindings.get(i), def));
- }
- catch(WSDLException e)
- {}
- }
- }
-
- /**
- * Parse the services in this document.
- */
- public void parseServices()
- {
- for (int i = 0; i < services.size(); i++)
- {
- try
- {
- def.addService(parseService((Element)services.get(i), def));
- }
- catch(WSDLException e)
- {}
- }
- }
-
- /**
- * Parse the extensibility elements in this document.
- */
- public void parseExtensibilityElements()
- {
- for (int i = 0; i < extelements.size(); i++)
- {
- try
- {
- def.addExtensibilityElement(parseExtensibilityElement(Definition.class, (Element)extelements.get(i), def));
- }
- catch(WSDLException e)
- {}
- }
- }
-
- /**
- * Add the given list of schemas to the schemas for this document.
- *
- * @param schemas The list of schemas to add to this document's schemas.
- */
- public void addSchemas(List schemas)
- {
- this.schemas.addAll(schemas);
- }
-
- /**
- * Get the schemas associated with this document.
- *
- * @return The schemas associated with this document.
- */
- public List getSchemas()
- {
- return schemas;
- }
-
- /**
- * Parse the specified binding.
- *
- * @param bindingEl The binding element.
- * @param def The definitions element.
- * @return A WSDL binding element.
- * @throws WSDLException
- */
- protected Binding parseBinding(Element bindingEl, Definition def) throws WSDLException
- {
- Binding binding = null;
- String name = DOMUtils.getAttribute(bindingEl, Constants.ATTR_NAME);
- QName portTypeName;
- try
- {
- portTypeName = DOMUtils.getQualifiedAttributeValue(bindingEl, Constants.ATTR_TYPE, Constants.ELEM_BINDING, false);
- }
- catch (Exception e)
- {
- //the call above fails if there is no qualified namespace for the message name
- portTypeName = new QName(null, DOMUtils.getAttribute(bindingEl, "type"));
- }
-
- PortType portType = null;
-
- if (name != null)
- {
- QName bindingName = new QName(def.getTargetNamespace(), name);
-
- binding = def.getBinding(bindingName);
-
- if (binding == null)
- {
- binding = def.createBinding();
- binding.setQName(bindingName);
- }
- // report an error if a binding with this name has already been defined
- else if (!binding.isUndefined())
- {
- //addReaderError(def,bindingEl, "_BINDING_NAME_ALREADY_DEFINED");
- addReaderError(
- def,
- bindingEl,
- messagegenerator.getString("_BINDING_NAME_ALREADY_DEFINED", "'" + binding.getQName().getLocalPart() + "'"));
- }
- }
- else
- {
- binding = def.createBinding();
- }
-
- // Whether it was retrieved or created, the definition has been found.
- binding.setUndefined(false);
-
- if (portTypeName != null)
- {
- portType = def.getPortType(portTypeName);
-
- if (portType == null)
- {
- portType = def.createPortType();
- portType.setQName(portTypeName);
- def.addPortType(portType);
- }
-
- binding.setPortType(portType);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(bindingEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- binding.setDocumentationElement(tempEl);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_OPERATION, tempEl))
- {
- binding.addBindingOperation(parseBindingOperation(tempEl, portType, def));
- }
- else
- {
- binding.addExtensibilityElement(parseExtensibilityElement(Binding.class, tempEl, def));
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(binding, bindingEl);
-
- return binding;
- }
-
- /**
- * Parse a specific binding operation.
- *
- * @param bindingOperationEl The binding operation element.
- * @param portType The portType the binding references.
- * @param def The definitions element.
- * @return A WSDL binding operation element.
- * @throws WSDLException
- */
- protected BindingOperation parseBindingOperation(Element bindingOperationEl, PortType portType, Definition def)
- throws WSDLException
- {
- BindingOperation bindingOperation = def.createBindingOperation();
- String name = DOMUtils.getAttribute(bindingOperationEl, Constants.ATTR_NAME);
-
- if (name != null)
- {
- bindingOperation.setName(name);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(bindingOperationEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- bindingOperation.setDocumentationElement(tempEl);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_INPUT, tempEl))
- {
- bindingOperation.setBindingInput(parseBindingInput(tempEl, def));
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_OUTPUT, tempEl))
- {
- bindingOperation.setBindingOutput(parseBindingOutput(tempEl, def));
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_FAULT, tempEl))
- {
- bindingOperation.addBindingFault(parseBindingFault(tempEl, def));
- }
- else
- {
- bindingOperation.addExtensibilityElement(parseExtensibilityElement(BindingOperation.class, tempEl, def));
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- if (portType != null)
- {
- BindingInput bindingInput = bindingOperation.getBindingInput();
- BindingOutput bindingOutput = bindingOperation.getBindingOutput();
- //String inputName = (bindingInput != null ? bindingInput.getName() : null);
- //String outputName = (bindingOutput != null ? bindingOutput.getName() : null);
-
- // hack code to get at operations that are defined with the same name but different
- // inputs and outputs
- Operation op = null;
- List operations = portType.getOperations();
- // get a list of all operations with matching names
- List matchingOperations = new Vector();
- Iterator iOperations = operations.iterator();
- while (iOperations.hasNext())
- {
- Operation oper = (Operation)iOperations.next();
- if (oper.getName().equalsIgnoreCase(bindingOperation.getName()))
- {
- matchingOperations.add(oper);
- }
- }
-
- if (matchingOperations != null)
- {
- // If there's only one matching operation this is what we're referring to.
- // Only matching if binding operation input name and output name are
- // both null or the same as the portType operation input and output names.
- // the portType operation name
- if (matchingOperations.size() == 1)
- {
- // only say the single operation is the one we're looking for if the names
- // of the binding input and output are not specified
- Operation tempOp = (Operation)matchingOperations.get(0);
- boolean inputOK = false;
- boolean outputOK = false;
- Input tempInput = tempOp.getInput();
- Output tempOutput = tempOp.getOutput();
-
- // order is important in these conditions. condition 2 must fail for 3 to work
- // check the input
- if (tempInput == null && bindingInput == null)
- {
- inputOK = true;
- }
- else if (bindingInput == null || bindingInput.getName() == null)
- {
- inputOK = true;
- }
- else if (tempInput != null && bindingInput.getName().equals(tempInput.getName()))
- {
- inputOK = true;
- }
- // check the output
- if (tempOutput == null && bindingOutput == null)
- {
- outputOK = true;
- }
- else if (bindingOutput == null || bindingOutput.getName() == null)
- {
- outputOK = true;
- }
- else if (tempOutput != null && bindingOutput.getName().equals(tempOutput.getName()))
- {
- outputOK = true;
- }
- if (inputOK && outputOK)
- {
- op = tempOp;
- }
- // op = (Operation) matchingOperations.get(0);
- }
- // otherwise find the operation with the same name, inputname, outputname signature
- if (matchingOperations != null && op == null)
- {
- Iterator iMatchingOperations = matchingOperations.iterator();
- while (iMatchingOperations.hasNext())
- {
-
- boolean inputNamesEqual = false;
- boolean outputNamesEqual = false;
- Operation oper = (Operation)iMatchingOperations.next();
- // if (oper.getName().equalsIgnoreCase(bindingOperation.getName()))
- // {
- Input opInput = oper.getInput();
- if (opInput != null && bindingInput != null)
- {
- String opInputName = opInput.getName();
- String bindingInputName = bindingInput.getName();
- if (opInputName != null && opInputName.equalsIgnoreCase(bindingInputName))
- {
- inputNamesEqual = true;
- }
- else if (opInputName == null && bindingInputName == null)
- {
- inputNamesEqual = true;
- }
- }
- else if (opInput == null && bindingInput == null)
- {
- inputNamesEqual = true;
- }
- Output opOutput = oper.getOutput();
- if (opOutput != null && bindingOutput != null)
- {
- String opOutputName = opOutput.getName();
- String bindingOutputName = bindingOutput.getName();
- if (opOutputName != null && opOutputName.equalsIgnoreCase(bindingOutputName))
- {
- outputNamesEqual = true;
- }
- else if (opOutputName == null && bindingOutputName == null)
- {
- outputNamesEqual = true;
- }
- }
- else if (opOutput == null && bindingOutput == null)
- {
- outputNamesEqual = true;
- }
- if (inputNamesEqual && outputNamesEqual)
- {
- op = oper;
- break;
- }
- //}
- }
- }
- }
- //Operation op = portType.getOperation(name, inputName, outputName);
-
- if (op == null)
- {
- op = def.createOperation();
- op.setName(name);
- portType.addOperation(op);
- }
-
- bindingOperation.setOperation(op);
- }
-
- // add the location of this element to elementLocations
- setLocation(bindingOperation, bindingOperationEl);
-
- return bindingOperation;
- }
-
- /**
- * Parse a specific binding input element.
- *
- * @param bindingInputEl The binding input element.
- * @param def The definitions element.
- * @return A WSDL binding input element.
- * @throws WSDLException
- */
- protected BindingInput parseBindingInput(Element bindingInputEl, Definition def) throws WSDLException
- {
- BindingInput bindingInput = def.createBindingInput();
- String name = DOMUtils.getAttribute(bindingInputEl, Constants.ATTR_NAME);
-
- if (name != null)
- {
- bindingInput.setName(name);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(bindingInputEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- bindingInput.setDocumentationElement(tempEl);
- }
- else
- {
- bindingInput.addExtensibilityElement(parseExtensibilityElement(BindingInput.class, tempEl, def));
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(bindingInput, bindingInputEl);
-
- return bindingInput;
- }
-
- /**
- * Parse a specific binding output element.
- *
- * @param bindingOutputEl The binding output element.
- * @param def The definitions element.
- * @return A WSDL binding output element.
- * @throws WSDLException
- */
- protected BindingOutput parseBindingOutput(Element bindingOutputEl, Definition def) throws WSDLException
- {
- BindingOutput bindingOutput = def.createBindingOutput();
- String name = DOMUtils.getAttribute(bindingOutputEl, Constants.ATTR_NAME);
-
- if (name != null)
- {
- bindingOutput.setName(name);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(bindingOutputEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- bindingOutput.setDocumentationElement(tempEl);
- }
- else
- {
- bindingOutput.addExtensibilityElement(parseExtensibilityElement(BindingOutput.class, tempEl, def));
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(bindingOutput, bindingOutputEl);
-
- return bindingOutput;
- }
-
- /**
- * Parse a specific binding fault element.
- *
- * @param bindingFaultEl The binding fault element.
- * @param def The definitions element.
- * @return A WSDL binding fault element.
- * @throws WSDLException
- */
- protected BindingFault parseBindingFault(Element bindingFaultEl, Definition def) throws WSDLException
- {
- BindingFault bindingFault = def.createBindingFault();
- String name = DOMUtils.getAttribute(bindingFaultEl, Constants.ATTR_NAME);
-
- if (name != null)
- {
- bindingFault.setName(name);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(bindingFaultEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- bindingFault.setDocumentationElement(tempEl);
- }
- else
- {
- bindingFault.addExtensibilityElement(parseExtensibilityElement(BindingFault.class, tempEl, def));
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(bindingFault, bindingFaultEl);
-
- return bindingFault;
- }
-
- /**
- * Parse a specific message element.
- *
- * @param msgEl The message element.
- * @param def The definitions element.
- * @return A WSDL message element.
- * @throws WSDLException
- */
- protected Message parseMessage(Element msgEl, Definition def) throws WSDLException
- {
- Message msg = null;
- String name = DOMUtils.getAttribute(msgEl, Constants.ATTR_NAME);
-
- if (name != null)
- {
- QName messageName = new QName(def.getTargetNamespace(), name);
-
- msg = def.getMessage(messageName);
-
- if (msg == null)
- {
- msg = def.createMessage();
- msg.setQName(messageName);
- }
- else if (!msg.isUndefined())
- {
- // produce an error message as a message with this name has already been defined
- addReaderError(
- def,
- msgEl,
- messagegenerator.getString("_MESSAGE_NAME_ALREADY_DEFINED", "'" + msg.getQName().getLocalPart() + "'"));
- }
- }
- else
- {
- msg = def.createMessage();
- }
-
- // Whether it was retrieved or created, the definition has been found.
- msg.setUndefined(false);
-
- Element tempEl = DOMUtils.getFirstChildElement(msgEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- msg.setDocumentationElement(tempEl);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_PART, tempEl))
- {
- msg.addPart(parsePart(tempEl, def));
- }
- else
- {
- // XML Validation will catch this
- DOMUtils.throwWSDLException(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(msg, msgEl);
-
- return msg;
- }
-
- /**
- * Parse a specific part element.
- *
- * @param partEl The part element.
- * @param def The definitions element.
- * @return A WSDL part element.
- * @throws WSDLException
- */
- protected Part parsePart(Element partEl, Definition def) throws WSDLException
- {
- Part part = def.createPart();
- String name = DOMUtils.getAttribute(partEl, Constants.ATTR_NAME);
-
- QName elementName;
- try
- {
- elementName = DOMUtils.getQualifiedAttributeValue(partEl, Constants.ATTR_ELEMENT, Constants.ELEM_MESSAGE, false);
- }
- catch (Exception e)
- {
- //the call above fails if there is no qualified namespace for the element name
- elementName = new QName(null, DOMUtils.getAttribute(partEl, "element"));
- }
-
- QName typeName;
- try
- {
- typeName = DOMUtils.getQualifiedAttributeValue(partEl, Constants.ATTR_TYPE,
- // Corrected - was ATTR_ELEMENT
- Constants.ELEM_MESSAGE, false);
- }
- catch (Exception e)
- {
- //the call above fails if there is no qualified namespace for the element attribute
- typeName = new QName(null, DOMUtils.getAttribute(partEl, "name"));
- }
-
- if (name != null)
- {
- part.setName(name);
- }
-
- if (elementName != null)
- {
- part.setElementName(elementName);
- }
-
- if (typeName != null)
- {
- part.setTypeName(typeName);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(partEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- part.setDocumentationElement(tempEl);
- }
- else
- {
- // XML Validation will catch this
- DOMUtils.throwWSDLException(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- Map extensionAttributes = part.getExtensionAttributes();
-
- extensionAttributes.putAll(getPartAttributes(partEl, def));
-
- // Need to do something here to locate part definition.
-
- // add the location of this element to elementLocations
- setLocation(part, partEl);
-
- return part;
- }
-
- /**
- * Get a map of the part attributes.
- *
- * @param el The part attributes element.
- * @param def The defintions element.
- * @return A map containing the part attributes.
- * @throws WSDLException
- */
- protected Map getPartAttributes(Element el, Definition def) throws WSDLException
- {
- Map attributes = new HashMap();
- NamedNodeMap nodeMap = el.getAttributes();
- int atts = nodeMap.getLength();
-
- for (int a = 0; a < atts; a++)
- {
- Attr attribute = (Attr)nodeMap.item(a);
- String lName = attribute.getLocalName();
- String nSpace = attribute.getNamespaceURI();
- String prefix = attribute.getPrefix();
- QName name = new QName(nSpace, lName);
-
- if (nSpace != null && !nSpace.equals(Constants.NS_URI_WSDL))
- {
- if (!nSpace.equals(Constants.NS_URI_XMLNS))
- {
- String strValue = attribute.getValue();
- QName qValue = null;
-
- try
- {
- qValue = DOMUtils.getQName(strValue, el);
- }
- catch (WSDLException e)
- {
- qValue = new QName(strValue);
- }
-
- attributes.put(name, qValue);
-
- String tempNSUri = def.getNamespace(prefix);
-
- while (tempNSUri != null && !tempNSUri.equals(nSpace))
- {
- prefix += "_";
- tempNSUri = def.getNamespace(prefix);
- }
-
- def.addNamespace(prefix, nSpace);
- }
- }
- else if (
- !lName.equals(Constants.ATTR_NAME)
- && !lName.equals(Constants.ATTR_ELEMENT)
- && !lName.equals(Constants.ATTR_TYPE))
- {
- WSDLException wsdlExc =
- new WSDLException(
- WSDLException.INVALID_WSDL,
- "Encountered illegal "
- + "part extension "
- + "attribute '"
- + name
- + "'. Extension "
- + "attributes must be in "
- + "a namespace other than "
- + "WSDL's.");
-
- wsdlExc.setLocation(XPathUtils.getXPathExprFromNode(el));
- //throw wsdlExc;
- }
- }
-
- // add the location of this element to elementLocations
- setLocation(attributes, el);
-
- return attributes;
- }
-
- /**
- * Parse a specific portType element.
- *
- * @param portTypeEl The portType element.
- * @param def The defintions element.
- * @return A WSDL portType element.
- * @throws WSDLException
- */
- protected PortType parsePortType(Element portTypeEl, Definition def) throws WSDLException
- {
-
- PortType portType = null;
- String name = DOMUtils.getAttribute(portTypeEl, Constants.ATTR_NAME);
-
- if (name != null)
- {
- QName portTypeName = new QName(def.getTargetNamespace(), name);
-
- portType = def.getPortType(portTypeName);
-
- if (portType == null)
- {
- portType = def.createPortType();
- portType.setQName(portTypeName);
- }
- else if (!portType.isUndefined())
- {
- // if the PortType has already been defined produce an error and return null
- addReaderError(
- def,
- portTypeEl,
- messagegenerator.getString("_PORTTYPE_NAME_ALREADY_DEFINED", "'" + portType.getQName().getLocalPart() + "'"));
- return null;
- }
- }
- else
- {
- portType = def.createPortType();
- }
-
- // Whether it was retrieved or created, the definition has been found.
- portType.setUndefined(false);
-
- Element tempEl = DOMUtils.getFirstChildElement(portTypeEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- portType.setDocumentationElement(tempEl);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_OPERATION, tempEl))
- {
- // modified so duplicate operations will not be added to porttype
- Operation op = parseOperation(tempEl, portType, def);
- if (op != null)
- {
- portType.addOperation(op);
- }
- //portType.addOperation(parseOperation(tempEl, portType, def));
- }
- else
- {
- // something else that shouldn't be here
- // NEED TO ADD TO ERROR LIST
- //DOMUtils.throwWSDLException(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(portType, portTypeEl);
-
- return portType;
- }
-
- /**
- * Parse a specific operation element.
- *
- * @param opEl The operation element.
- * @param portType The portType element.
- * @param def The definitions element.
- * @return A WSDL operation element.
- * @throws WSDLException
- */
- protected Operation parseOperation(Element opEl, PortType portType, Definition def) throws WSDLException
- {
- Operation op = null;
- String name = DOMUtils.getAttribute(opEl, Constants.ATTR_NAME);
- String parameterOrderStr = DOMUtils.getAttribute(opEl, Constants.ATTR_PARAMETER_ORDER);
- Element tempEl = DOMUtils.getFirstChildElement(opEl);
- List messageOrder = new Vector();
- Element docEl = null;
- Input input = null;
- Output output = null;
- List faults = new Vector();
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- docEl = tempEl;
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_INPUT, tempEl))
- {
- input = parseInput(tempEl, def);
- messageOrder.add(Constants.ELEM_INPUT);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_OUTPUT, tempEl))
- {
- output = parseOutput(tempEl, def);
- messageOrder.add(Constants.ELEM_OUTPUT);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_FAULT, tempEl))
- {
- faults.add(parseFault(tempEl, def));
- }
- else
- {
- // invalid element in the operation
- // XML check will catch this
- DOMUtils.throwWSDLException(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- if (name != null)
- {
- String inputName = (input != null ? input.getName() : null);
- String outputName = (output != null ? output.getName() : null);
-
- boolean opDefined = false;
-
- try
- {
-
- //op = portType.getOperation(name, inputName, outputName);
-
- //Operation op = null;
- List operations = portType.getOperations();
- if (operations != null)
- {
-
- Iterator iOperations = operations.iterator();
- while (iOperations.hasNext())
- {
- boolean inputNamesEqual = false;
- boolean outputNamesEqual = false;
- Operation oper = (Operation)iOperations.next();
- if (oper.getName().equals(name))
- {
- Input opInput = oper.getInput();
- if (opInput != null && input != null)
- {
- String opInputName = opInput.getName();
- if (opInputName != null && inputName != null && opInputName.equals(inputName))
- {
- inputNamesEqual = true;
- }
- else if (opInputName == null && inputName == null)
- {
- inputNamesEqual = true;
- }
- }
- else if (opInput == null && input == null)
- {
- inputNamesEqual = true;
- }
- Output opOutput = oper.getOutput();
- if (opOutput != null && output != null)
- {
- String opOutputName = opOutput.getName();
- if (opOutputName != null && outputName != null && opOutputName.equals(outputName))
- {
- outputNamesEqual = true;
- }
- else if (opOutputName == null && outputName == null)
- {
- outputNamesEqual = true;
- }
- }
- else if (opOutput == null && output == null)
- {
- outputNamesEqual = true;
- }
- if (inputNamesEqual && outputNamesEqual)
- {
- op = oper;
- break;
- }
- }
- }
- }
- }
- catch (Exception e)
- {
- opDefined = true;
- }
-
- if (op != null /*&& !op.isUndefined()*/
- )
- {
- //op = null;
- opDefined = true;
-
- }
-
- if (op != null && !opDefined)
- {
- if (inputName == null)
- {
- Input tempIn = op.getInput();
-
- if (tempIn != null)
- {
- if (tempIn.getName() != null)
- {
- //op = null;
- opDefined = true;
- }
- }
- }
- }
-
- if (op != null && !opDefined)
- {
- if (outputName == null)
- {
- Output tempOut = op.getOutput();
-
- if (tempOut != null)
- {
- if (tempOut.getName() != null)
- {
- //op = null;
- opDefined = true;
- }
- }
- }
- }
-
- if (opDefined)
- {
- // instead of creating a new one with the same name we're going to return null.
- // According to the WSDL 1.2 working draft operation overloading is no longer allowed.
- // Going to use that here to save a lot of work
- setLocation(op, opEl);
- addReaderError(
- portType,
- op,
- messagegenerator.getString(
- "_DUPLICATE_OPERATION_FOR_PORTTYPE",
- "'" + op.getName() + "'",
- "'" + portType.getQName().getLocalPart() + "'"));
- return null;
- }
- if (op == null)
- {
- op = def.createOperation();
- op.setName(name);
-
- }
- }
- else
- {
- op = def.createOperation();
- }
-
- // Whether it was retrieved or created, the definition has been found.
- op.setUndefined(false);
-
- if (parameterOrderStr != null)
- {
- op.setParameterOrdering(StringUtils.parseNMTokens(parameterOrderStr));
- }
-
- if (docEl != null)
- {
- op.setDocumentationElement(docEl);
- }
-
- if (input != null)
- {
- op.setInput(input);
- }
-
- if (output != null)
- {
- op.setOutput(output);
- }
-
- if (faults.size() > 0)
- {
- Iterator faultIterator = faults.iterator();
-
- while (faultIterator.hasNext())
- {
- Fault f = (Fault)faultIterator.next();
- // if the fault isn't defined yet
- if (op.getFault(f.getName()) == null)
- {
- op.addFault(f);
- }
- else
- {
- addReaderError(
- op,
- f,
- messagegenerator.getString("_DUPLICATE_FAULT_NAME", "'" + f.getName() + "'", "'" + op.getName() + "'"));
- //faultErrors.add(new Object[]{f,"Duplicate Name",op});
- }
- }
- }
-
- OperationType style = null;
-
- if (messageOrder.equals(STYLE_ONE_WAY))
- {
- style = OperationType.ONE_WAY;
- }
- else if (messageOrder.equals(STYLE_REQUEST_RESPONSE))
- {
- style = OperationType.REQUEST_RESPONSE;
- }
- else if (messageOrder.equals(STYLE_SOLICIT_RESPONSE))
- {
- style = OperationType.SOLICIT_RESPONSE;
- }
- else if (messageOrder.equals(STYLE_NOTIFICATION))
- {
- style = OperationType.NOTIFICATION;
- }
-
- if (style != null)
- {
- op.setStyle(style);
- }
-
- // add the location of this element to elementLocations
- setLocation(op, opEl);
-
- // modified to remove duplicate operations
- // if(opDefined)
- // {
- // addReaderError(portType,op,ValidateWSDLPlugin.getInstance().getString("_DUPLICATE_OPERATION_FOR_PORTTYPE","'"+op.getName()+"'","'"+portType.getQName().getLocalPart()+"'"));
- // return null;
- // }
- return op;
- }
-
- /**
- * Parse a specific service element.
- *
- * @param serviceEl The service element.
- * @param def The defintions element.
- * @return A WSDL service element.
- * @throws WSDLException
- */
- protected Service parseService(Element serviceEl, Definition def) throws WSDLException
- {
- Service service = def.createService();
- String name = DOMUtils.getAttribute(serviceEl, Constants.ATTR_NAME);
-
- if (name != null)
- {
- service.setQName(new QName(def.getTargetNamespace(), name));
- }
- Service s;
- // a service with this name has already been defined
- if ((s = def.getService(service.getQName())) != null)
- {
- addReaderError(
- def,
- serviceEl,
- messagegenerator.getString("_SERVICE_NAME_ALREADY_DEFINED", "'" + s.getQName().getLocalPart() + "'"));
- return s;
- }
- Element tempEl = DOMUtils.getFirstChildElement(serviceEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- service.setDocumentationElement(tempEl);
- }
- else if (QNameUtils.matches(Constants.Q_ELEM_PORT, tempEl))
- {
- service.addPort(parsePort(tempEl, def));
- }
- else
- {
- service.addExtensibilityElement(parseExtensibilityElement(Service.class, tempEl, def));
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(service, serviceEl);
-
- return service;
- }
-
- /**
- * Parse a specific port element.
- *
- * @param portEl The port element.
- * @param def The definitions element.
- * @return A WSDL port element.
- * @throws WSDLException
- */
- protected Port parsePort(Element portEl, Definition def) throws WSDLException
- {
- Port port = def.createPort();
- String name = DOMUtils.getAttribute(portEl, Constants.ATTR_NAME);
- QName bindingStr;
- try
- {
- bindingStr = DOMUtils.getQualifiedAttributeValue(portEl, Constants.ATTR_BINDING, Constants.ELEM_PORT, false);
- }
- catch (Exception e)
- {
- //the call above fails if there is no qualified namespace for the message name
- bindingStr = new QName(null, DOMUtils.getAttribute(portEl, "binding"));
- }
-
- if (name != null)
- {
- port.setName(name);
- }
-
- if (bindingStr != null)
- {
- Binding binding = def.getBinding(bindingStr);
-
- if (binding == null)
- {
- binding = def.createBinding();
- binding.setQName(bindingStr);
- def.addBinding(binding);
- }
-
- port.setBinding(binding);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(portEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- port.setDocumentationElement(tempEl);
- }
- else
- {
- port.addExtensibilityElement(parseExtensibilityElement(Port.class, tempEl, def));
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(port, portEl);
-
- return port;
- }
-
- /**
- * Parse a specific extensibility element.
- *
- * @param parentType The parent type of the extensibility element.
- * @param el The extensibility element.
- * @param def The definitions element.
- * @return A WSDL extensibility element.
- * @throws WSDLException
- */
- protected ExtensibilityElement parseExtensibilityElement(Class parentType, Element el, Definition def)
- throws WSDLException
- {
- QName elementType = QNameUtils.newQName(el);
-
- try
- {
- ExtensionRegistry extReg = def.getExtensionRegistry();
-
- if (extReg == null)
- {
- throw new WSDLException(
- WSDLException.CONFIGURATION_ERROR,
- "No ExtensionRegistry set for this "
- + "Definition, so unable to deserialize "
- + "a '"
- + elementType
- + "' element in the "
- + "context of a '"
- + parentType.getName()
- + "'.");
- }
-
- ExtensionDeserializer extDS = extReg.queryDeserializer(parentType, elementType);
-
- // asign the ExtensibilityElement to a var so we can add it to the locations
- ExtensibilityElement extElem = extDS.unmarshall(parentType, elementType, el, def, extReg);
- // add the location of this element to elementLocations
- // this might not work properly
- setLocation(extElem, el);
-
- // register all of the child Elements so we can find them later
- // used for inline schema validation
- registerChildElements(extElem);
-
- return extElem;
- }
- catch (WSDLException e)
- {
- if (e.getLocation() == null)
- {
- e.setLocation(XPathUtils.getXPathExprFromNode(el));
- }
- throw e;
- }
- }
-
- /**
- * Parse a specific input element.
- *
- * @param inputEl The input element.
- * @param def The defintions element.
- * @return A WSDL input element.
- * @throws WSDLException
- */
- protected Input parseInput(Element inputEl, Definition def) throws WSDLException
- {
-
- Input input = def.createInput();
- String name = DOMUtils.getAttribute(inputEl, Constants.ATTR_NAME);
- QName messageName = null;
- try
- {
- messageName = DOMUtils.getQualifiedAttributeValue(inputEl, Constants.ATTR_MESSAGE, Constants.ELEM_INPUT, false);
- }
- catch (Exception e)
- {
- //the call above fails if there is no qualified namespace for the message name
- messageName = new QName(null, DOMUtils.getAttribute(inputEl, "message"));
- }
-
- if (name != null)
- {
- input.setName(name);
- }
-
- if (messageName != null)
- {
- Message message = def.getMessage(messageName);
-
- if (message == null)
- {
- message = def.createMessage();
- message.setQName(messageName);
- def.addMessage(message);
- }
-
- input.setMessage(message);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(inputEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- input.setDocumentationElement(tempEl);
- }
- else
- {
- // XML Validation will catch this
- DOMUtils.throwWSDLException(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(input, inputEl);
-
- return input;
- }
-
- /**
- * Parse a specific output element.
- *
- * @param outputEl The output element.
- * @param def The defintions element.
- * @return A WSDL output element.
- * @throws WSDLException
- */
- protected Output parseOutput(Element outputEl, Definition def) throws WSDLException
- {
- Output output = def.createOutput();
- String name = DOMUtils.getAttribute(outputEl, Constants.ATTR_NAME);
- QName messageName = null;
- try
- {
- messageName = DOMUtils.getQualifiedAttributeValue(outputEl, Constants.ATTR_MESSAGE, Constants.ELEM_OUTPUT, false);
- }
- catch (Exception e)
- {
- //the call above fails if there is no qualified namespace for the message name
- messageName = new QName(null, DOMUtils.getAttribute(outputEl, "message"));
- }
-
- if (name != null)
- {
- output.setName(name);
- }
-
- if (messageName != null)
- {
- Message message = def.getMessage(messageName);
-
- if (message == null)
- {
- message = def.createMessage();
- message.setQName(messageName);
- def.addMessage(message);
- }
-
- output.setMessage(message);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(outputEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- output.setDocumentationElement(tempEl);
- }
- else
- {
- // XML Validation will catch this
- DOMUtils.throwWSDLException(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(output, outputEl);
-
- return output;
- }
-
- /**
- * Parse a specific fault element.
- *
- * @param faultEl The fault element to parse.
- * @param def The definitions element.
- * @return A WSDL fault element.
- * @throws WSDLException
- */
- protected Fault parseFault(Element faultEl, Definition def) throws WSDLException
- {
- Fault fault = def.createFault();
- String name = DOMUtils.getAttribute(faultEl, Constants.ATTR_NAME);
- QName messageName = null;
- try
- {
- messageName = DOMUtils.getQualifiedAttributeValue(faultEl, Constants.ATTR_MESSAGE, Constants.ELEM_INPUT, false);
- }
- catch (Exception e)
- {
- //the call above fails if there is no qualified namespace for the message name
- messageName = new QName(null, DOMUtils.getAttribute(faultEl, "message"));
- }
-
- if (name != null)
- {
- fault.setName(name);
- }
-
- if (messageName != null)
- {
- Message message = def.getMessage(messageName);
-
- if (message == null)
- {
- message = def.createMessage();
- message.setQName(messageName);
- def.addMessage(message);
- }
-
- fault.setMessage(message);
- }
-
- Element tempEl = DOMUtils.getFirstChildElement(faultEl);
-
- while (tempEl != null)
- {
- if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
- {
- fault.setDocumentationElement(tempEl);
- }
- else
- {
- // XML Validation will catch this
- DOMUtils.throwWSDLException(tempEl);
- }
-
- tempEl = DOMUtils.getNextSiblingElement(tempEl);
- }
-
- // add the location of this element to elementLocations
- setLocation(fault, faultEl);
-
- return fault;
- }
-
- /**
- * Set the messagegenerator for the reader.
- *
- * @param mg The message generator to set.
- */
- public void setMessageGenerator(MessageGenerator mg)
- {
- messagegenerator = mg;
- }
-
- /**
- * Add the refObject to the elementLocation hashtable with the location defined in element.
- *
- * @param refObject The object to add.
- * @param element The element that contains the location information.
- */
- protected void setLocation(Object refObject, Element element)
- {
- try
- {
- ElementImpl elementImpl = (ElementImpl)element;
- ElementLocation elementLocation = (ElementLocation)elementImpl.getUserData();
- if (elementLocation != null)
- {
-
- elementLocations.put(
- refObject,
- new LocationHolder(elementLocation.getLineNumber(), elementLocation.getColumnNumber(), def.getDocumentBaseURI()));
- }
- }
- catch (ClassCastException e)
- {
- }
- }
- /**
- * Add a reader error to the list.
- *
- * @param parentobject The parent object of the object with the error.
- * @param object The object with the error.
- * @param error The error message.
- */
- protected void addReaderError(Object parentobject, Object object, String error)
- {
- readerErrors.add(new ReaderError(parentobject, object, error));
- }
-
- /**
- * Add a reader warning to the list.
- *
- * @param parentobject The parent object of the object with the error.
- * @param object The object with the error.
- * @param warning The warning message.
- */
- protected void addReaderWarning(Object parentobject, Object object, String warning)
- {
- readerWarnings.add(new ReaderError(parentobject, object, warning));
- }
-
- /**
- * Register all of the locations of the child elements of the extensibility
- * element given.
- *
- * @param extElem The extensibility element whose child elements will be registered.
- */
-
- protected void registerChildElements(ExtensibilityElement extElem)
- {
- // only add those that are of type unknown. if they're known they
- // will take care of themselves
- if (extElem instanceof UnknownExtensibilityElement)
- {
- Element elem = ((UnknownExtensibilityElement)extElem).getElement();
- registerChildElementsRecursively(elem);
- }
- }
-
- /**
- * Register the location of all of the child elements of elem.
- *
- * @param elem The element whose child elements will be registered.
- */
- protected void registerChildElementsRecursively(Element elem)
- {
- if (elem instanceof ElementNSImpl)
- {
- setLocation(elem, elem);
-
- // call the method recursively for each child element
- NodeList childNodes = elem.getChildNodes();
-
- for (int i = 0; i < childNodes.getLength() || i < 5; i++)
- {
- Node n = childNodes.item(i);
- // we only want nodes that are Elements
- if (n instanceof Element)
- {
- Element child = (Element)n;
- registerChildElementsRecursively(child);
- }
- }
- }
- }
- /**
- * Check that an element name matches the expected name.
- *
- * @param el The element with the name to check.
- * @param qname The name to check against.
- * @throws WSDLException
- */
- private static void checkElementName(Element el, QName qname) throws WSDLException
- {
- if (!QNameUtils.matches(qname, el))
- {
- WSDLException wsdlExc = new WSDLException(WSDLException.INVALID_WSDL, "Expected element '" + qname + "'.");
-
- wsdlExc.setLocation(XPathUtils.getXPathExprFromNode(el));
-
- throw wsdlExc;
- }
- }
-
- /**
- * Get the element locations hashtable.
- *
- * @return The element locations hashtable.
- */
- public Hashtable getElementLocations()
- {
- return elementLocations;
- }
-
- /**
- * Get the reader errors.
- *
- * @return The reader errors.
- */
- public List getReaderErrors()
- {
- return readerErrors;
- }
-
- /**
- * Get reader warnings.
- *
- * @return The reader warnings.
- */
- public List getReaderWarnings()
- {
- return readerWarnings;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLReaderImpl.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLReaderImpl.java
deleted file mode 100644
index 4e6ecd6a9..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLReaderImpl.java
+++ /dev/null
@@ -1,427 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11;
-
-import java.io.Reader;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.SortedSet;
-import java.util.TreeSet;
-
-import javax.wsdl.Import;
-import javax.wsdl.WSDLException;
-
-import org.apache.xerces.impl.XMLErrorReporter;
-import org.apache.xerces.parsers.DOMParser;
-import org.apache.xerces.parsers.StandardParserConfiguration;
-import org.apache.xerces.xni.XNIException;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.xml.LineNumberDOMParser;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-import com.ibm.wsdl.DefinitionImpl;
-import com.ibm.wsdl.util.StringUtils;
-
-/**
- * A WSDL reader that supports cyclic WSDL imports, schema imports and inline schemas.
- * This reader is based on the WSDLReaderImpl from WSDL4J.
- */
-public class WSDLReaderImpl
-{
- protected MessageGenerator messagegenerator;
- protected IWSDL11ValidationInfo wsdlvalinfo;
-
- /**
- * Constructor.
- *
- * @param wsdlvalinfo The WSDL 1.1 validation info object to use.
- */
- public WSDLReaderImpl(IWSDL11ValidationInfo wsdlvalinfo)
- {
- this.wsdlvalinfo = wsdlvalinfo;
- }
-
- /**
- * Parse the root document. This method will find all imports and parse them as
- * well creating a WSDLDocument for each unique WSDL file. This method supports
- * cyclic WSDL import statements such that file A can import file B and file B
- * can import file A.
- *
- * @param documentBaseURI The base URI of the root document.
- * @param defEl The definition element of the root document.
- * @return An array of WSDLDocuments containing all of the unique files in the description.
- * @throws WSDLException
- */
- protected WSDLDocument[] parseDocument(String documentBaseURI, Element defEl) throws WSDLException
- {
- int initialImportArraySize = 20;
- List[] filesAtDepth = new ArrayList[initialImportArraySize];
- Map filesImporting = new Hashtable();
- SortedSet parsedImports = new TreeSet();
- SortedSet importsToParse = new TreeSet();
- int maxdepth = 0;
-
- WSDLDocument rootdoc = new WSDLDocument(documentBaseURI, defEl, 0, messagegenerator, wsdlvalinfo);
- String targetNamespace = rootdoc.getDefinition().getTargetNamespace();
- ImportHolder rootImport = new ImportHolder(targetNamespace, documentBaseURI, documentBaseURI, rootdoc, 0, null, messagegenerator, wsdlvalinfo);
- rootImport.createWSDLImport(rootdoc);
- parsedImports.add(rootImport);
- List rootList = new ArrayList();
- filesImporting.put(rootImport.getLocation(), new ArrayList());
- rootList.add(rootdoc);
- filesAtDepth[0] = rootList;
- importsToParse.addAll(rootdoc.getImports());
- Set imps = rootdoc.getImports();
- Iterator impIter = imps.iterator();
- while(impIter.hasNext())
- {
- ImportHolder imp = (ImportHolder)impIter.next();
- List tempList = new ArrayList();
- tempList.add(imp.getImportingDocument());
- filesImporting.put(imp.getLocation(), tempList);
- }
-
- while(!importsToParse.isEmpty())
- {
- ImportHolder imp = (ImportHolder)importsToParse.first();
- // It's important to initialize the import here so each import
- // is only created once. In the case of reciprical imports this
- // avoids an infinite loop.
- imp.initialize();
- WSDLDocument impDoc = imp.getWSDLDocument();
-
- importsToParse.remove(imp);
-
- parsedImports.add(imp);
-
- // Add new imports to the list of imports to parse.
- // Remove all the imports that have already been parsed.
- if(impDoc != null)
- {
- // Increate import array if necessary.
- if(imp.getDepth() >= initialImportArraySize)
- {
- List[] tempArray = new List[filesAtDepth.length + initialImportArraySize];
- System.arraycopy(filesAtDepth, 0, tempArray, 0, filesAtDepth.length);
- filesAtDepth = tempArray;
- }
- // Create the list for the depth if necessary.
- int impDepth = imp.getDepth();
- if(filesAtDepth[impDepth] == null)
- {
- if(maxdepth < impDepth)
- {
- maxdepth = impDepth;
- }
- filesAtDepth[impDepth] = new ArrayList();
- }
- filesAtDepth[imp.getDepth()].add(impDoc);
-
- Set imports = impDoc.getImports();
- ImportHolder[] importsArray = (ImportHolder[])imports.toArray(new ImportHolder[imports.size()]);
- for(int i = 0; i < importsArray.length; i++)
- {
- ImportHolder ih = importsArray[i];
- // If already parsed, add the definition importing this file to the list.
- if(filesImporting.containsKey(ih.getLocation()))
- {
- ((List)filesImporting.get(ih.getLocation())).add(ih.getImportingDocument());
- }
- // Otherwise add it to the list to parse.
- else
- {
- // Add this import to the list of files importing list.
- List tempList = new ArrayList();
- tempList.add(ih.getImportingDocument());
- filesImporting.put(ih.getLocation(), tempList);
- importsToParse.add(ih);
- }
- }
- }
- }
-
- // Add all of the imports to the respective documents.
- Iterator importElementsIter = parsedImports.iterator();
- while(importElementsIter.hasNext())
- {
- ImportHolder imp = (ImportHolder)importElementsIter.next();
- List files = (List)filesImporting.get(imp.getLocation());
- Iterator filesIter = files.iterator();
- while(filesIter.hasNext())
- {
- WSDLDocument doc = (WSDLDocument)filesIter.next();
-
- DefinitionImpl def = (DefinitionImpl)doc.getDefinition();
- Import impElem = imp.getImport();
- if(impElem != null)
- {
- def.addImport(impElem);
- if(!imp.isWSDLFileImport())
- {
- doc.addSchemas(imp.getSchemas());
- }
- }
-
- }
- }
-
- // Parse the WSDL documents.
- // Parse the Messages.
- for(int i = maxdepth; i >=0; i--)
- {
- List docs = filesAtDepth[i];
- Iterator docsIter = docs.iterator();
- while(docsIter.hasNext())
- {
- WSDLDocument doc = (WSDLDocument)docsIter.next();
- doc.parseMessages();
- }
- }
- // Parse the Porttypes.
- for(int i = maxdepth; i >=0; i--)
- {
- List docs = filesAtDepth[i];
- Iterator docsIter = docs.iterator();
- while(docsIter.hasNext())
- {
- WSDLDocument doc = (WSDLDocument)docsIter.next();
- doc.parsePorttypes();
- }
- }
- // Parse the Bindings.
- for(int i = maxdepth; i >=0; i--)
- {
- List docs = filesAtDepth[i];
- Iterator docsIter = docs.iterator();
- while(docsIter.hasNext())
- {
- WSDLDocument doc = (WSDLDocument)docsIter.next();
- doc.parseBindings();
- }
- }
- // Parse the Services.
- for(int i = maxdepth; i >=0; i--)
- {
- List docs = filesAtDepth[i];
- Iterator docsIter = docs.iterator();
- while(docsIter.hasNext())
- {
- WSDLDocument doc = (WSDLDocument)docsIter.next();
- doc.parseServices();
- }
- }
- // Parse the Extensibility Elements.
- for(int i = maxdepth; i >=0; i--)
- {
- List docs = filesAtDepth[i];
- Iterator docsIter = docs.iterator();
- while(docsIter.hasNext())
- {
- WSDLDocument doc = (WSDLDocument)docsIter.next();
- doc.parseExtensibilityElements();
- }
- }
-
- List wsdlDocs = new ArrayList();
- for(int i = maxdepth; i >=0; i--)
- {
- List docs = filesAtDepth[i];
- Iterator docsIter = docs.iterator();
- while(docsIter.hasNext())
- {
- WSDLDocument doc = (WSDLDocument)docsIter.next();
- wsdlDocs.add(doc);
- }
- }
-
- return (WSDLDocument[])wsdlDocs.toArray(new WSDLDocument[wsdlDocs.size()]);
- }
-
- /**
- * Get the WSDL document.
- *
- * @param inputSource The source of the document being retrieved.
- * @param desc The description of the document being retrieved.
- * @return The WSDL document.
- * @throws WSDLException
- */
- public static Document getDocument(InputSource inputSource, String desc) throws WSDLException
- {
- try
- {
- StandardParserConfiguration configuration = new StandardParserConfiguration()
- {
- protected XMLErrorReporter createErrorReporter()
- {
- return new XMLErrorReporter()
- {
- public void reportError(String domain, String key, Object[] arguments, short severity) throws XNIException
- {
- boolean reportError = true;
- if (key.equals("PrematureEOF"))
- {
- reportError = false;
- }
-
- if (reportError)
- {
- super.reportError(domain, key, arguments, severity);
- }
- }
- };
- }
- };
-
- ErrorHandler errorHandler = new ErrorHandler()
- {
- /* (non-Javadoc)
- * @see org.xml.sax.ErrorHandler#error(org.xml.sax.SAXParseException)
- */
- public void error(SAXParseException exception) throws SAXException
- {
- // TODO Auto-generated method stub
-
- }
- /* (non-Javadoc)
- * @see org.xml.sax.ErrorHandler#fatalError(org.xml.sax.SAXParseException)
- */
- public void fatalError(SAXParseException exception) throws SAXException
- {
- // TODO Auto-generated method stub
-
- }
- /* (non-Javadoc)
- * @see org.xml.sax.ErrorHandler#warning(org.xml.sax.SAXParseException)
- */
- public void warning(SAXParseException exception) throws SAXException
- {
- // TODO Auto-generated method stub
-
- }
- };
-
- DOMParser builder = new LineNumberDOMParser(configuration);
- builder.setErrorHandler(errorHandler);
- builder.parse(inputSource);
- Document doc = builder.getDocument();
-
- return doc;
- }
- catch (Throwable t)
- {
- throw new WSDLException(WSDLException.PARSER_ERROR, "Problem parsing '" + desc + "'.", t);
- }
- }
-
- /**
- * Read a WSDL document using a context URI and file URI.
- *
- * @param contextURI The context URI to use.
- * @param wsdlURI The WSDL URI to use.
- * @return An array of WSDLDocuments.
- * @throws WSDLException
- */
- public WSDLDocument[] readWSDL(String contextURI, String wsdlURI) throws WSDLException
- {
- try
- {
- URL contextURL = (contextURI != null) ? StringUtils.getURL(null, contextURI) : null;
- URL url = StringUtils.getURL(contextURL, wsdlURI);
- Reader reader = StringUtils.getContentAsReader(url);
- InputSource inputSource = new InputSource(reader);
- Document doc = getDocument(inputSource, wsdlURI);
- reader.close();
- WSDLDocument[] wsdlDocs = null;
- // only parse the document if it isn't empty
- if(doc.getDocumentElement() != null)
- {
- wsdlDocs = readWSDL(url.toString(), doc);
- }
- return wsdlDocs;
- }
- catch (WSDLException e)
- {
- throw e;
- }
- catch (Throwable t)
- {
- throw new WSDLException(
- WSDLException.OTHER_ERROR,
- "Unable to resolve imported document at '" + wsdlURI + "'.",
- t);
- }
- }
-
- /**
- * Set the messagegenerator for the reader.
- *
- * @param mg The message generator to set.
- */
- public void setMessageGenerator(MessageGenerator mg)
- {
- messagegenerator = mg;
- }
-
- /**
- * Read the WSDL document accessible via the specified
- * URI into a WSDL definition.
- *
- * @param wsdlURI A URI pointing to a WSDL file.
- * @return An array of WSDLDocuments.
- */
- public WSDLDocument[] readWSDL(String wsdlURI) throws WSDLException
- {
- return readWSDL(null, wsdlURI);
- }
-
- /**
- * Read the WSDL document described by a URI and its definitions element.
- *
- * @param documentBaseURI The URI of the WSDL document.
- * @param definitionsElement The definitions element for the WSDL document.
- * @return An array of WSDLDocuments.
- * @throws WSDLException
- */
- protected WSDLDocument[] readWSDL(String documentBaseURI,
- Element definitionsElement)
- throws WSDLException
- {
- return parseDocument(documentBaseURI, definitionsElement);
- }
-
- /**
- * Read the specified WSDL document.
- *
- * @param documentBaseURI The document base URI.
- * @param wsdlDocument The WSDL document.
- * @return An array of WSDLDocuments.
- */
- public WSDLDocument[] readWSDL(String documentBaseURI, Document wsdlDocument)
- throws WSDLException
- {
- return readWSDL(documentBaseURI, wsdlDocument.getDocumentElement());
- }
-
-
-
-}
-
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/http/HTTPValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/http/HTTPValidator.java
deleted file mode 100644
index 5134e33d4..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/http/HTTPValidator.java
+++ /dev/null
@@ -1,335 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.http;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
-import javax.wsdl.Binding;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.Port;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.http.HTTPOperation;
-
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator;
-
-import com.ibm.wsdl.BindingImpl;
-import com.ibm.wsdl.BindingInputImpl;
-import com.ibm.wsdl.BindingOperationImpl;
-import com.ibm.wsdl.PortImpl;
-import com.ibm.wsdl.extensions.http.HTTPAddressImpl;
-import com.ibm.wsdl.extensions.http.HTTPBindingImpl;
-import com.ibm.wsdl.extensions.http.HTTPOperationImpl;
-import com.ibm.wsdl.extensions.http.HTTPUrlEncodedImpl;
-import com.ibm.wsdl.extensions.http.HTTPUrlReplacementImpl;
-
-/**
- * The HTTP validator is an extension WSDL validator that validates all elements in the HTTP
- * namespace.
- */
-public class HTTPValidator implements IWSDL11Validator
-{
- private static String HTTP_RESOURCE_BUNDLE_NAME = "validatewsdlhttp";
-
- private final String _ERROR_INVALID_PORT_ELEMENT = "_ERROR_INVALID_PORT_ELEMENT";
- private final String _ERROR_INVALID_BINDING_ELEMENT = "_ERROR_INVALID_BINDING_ELEMENT";
- private final String _ERROR_INVALID_BINDING_OPERATION_ELEMENT = "_ERROR_INVALID_BINDING_OPERATION_ELEMENT";
- private final String _ERROR_INVALID_BINDING_INPUT_ELEMENT = "_ERROR_INVALID_BINDING_INPUT_ELEMENT";
- private final String _ERROR_INVALID_HTTP_ELEMENT_FOR_LOCATION = "_ERROR_INVALID_HTTP_ELEMENT_FOR_LOCATION";
- private final String _ERROR_NO_LOCATION_FOR_ADDRESS = "_ERROR_NO_LOCATION_FOR_ADDRESS";
- private final String _ERROR_NO_HTTPBINDING_FOR_ADDRESS = "_ERROR_NO_HTTPBINDING_FOR_ADDRESS";
- private final String _ERROR_INVALID_BINDING_VERB = "_ERROR_INVALID_BINDING_VERB";
- private final String _ERROR_INVALID_LOCATION_URI = "_ERROR_INVALID_LOCATION_URI";
- private final String _ERROR_NO_HTTPBINDING_FOR_OPERATION = "_ERROR_NO_HTTPBINDING_FOR_OPERATION";
- private final String _ERROR_NOT_ONLY_ELEMENT_DEFINED = "_ERROR_NOT_ONLY_ELEMENT_DEFINED";
- private final String _ERROR_NO_HTTPOPERATION_FOR_URL = "_ERROR_NO_HTTPOPERATION_FOR_URL";
-
- private final String GET = "GET";
- private final String POST = "POST";
-
- private final String QUOTE = "'";
- private final String EMPTY_STRING = "";
-
- private MessageGenerator messagegenerator;
-
- /**
- * Default constructor.
- */
- public HTTPValidator()
- {
- ResourceBundle rb = ResourceBundle.getBundle(HTTP_RESOURCE_BUNDLE_NAME, Locale.getDefault());
- messagegenerator = new MessageGenerator(rb);
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator#validate(java.lang.Object, java.util.List, org.eclipse.wsdl.validate.wsdl11.IWSDL11ValidationInfo)
- */
- public void validate(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- // Port HTTP definition
- // make sure every port has only one address element defined
- // if it is an address element, validate it
- if (parents.get(0).getClass() == PortImpl.class)
- {
- if (element.getClass() == HTTPAddressImpl.class)
- {
- validateAddress(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_PORT_ELEMENT, QUOTE + e.getElementType().getLocalPart() + QUOTE),
- element);
- }
- }
-
- // Binding HTTP definition
- // A HTTP Binding must have a verb of GET or POST
- else if (parents.get(0).getClass() == BindingImpl.class)
- {
- if (element.getClass() == HTTPBindingImpl.class)
- {
- validateBinding(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BINDING_ELEMENT, QUOTE + e.getElementType().getLocalPart() + QUOTE),
- element);
- }
- }
- // Binding Operation HTTP definition
- // A HTTP Operation has a location uri defined
- else if (parents.get(0).getClass() == BindingOperationImpl.class)
- {
- if (element.getClass() == HTTPOperationImpl.class)
- {
- validateOperation(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_INVALID_BINDING_OPERATION_ELEMENT,
- QUOTE + e.getElementType().getLocalPart() + QUOTE),
- element);
- }
-
- }
- else if (parents.get(0).getClass() == BindingInputImpl.class)
- {
- // validate the HTTP urlEncoded and urlReplacement
- if (element.getClass() == HTTPUrlEncodedImpl.class || element.getClass() == HTTPUrlReplacementImpl.class)
- {
- validateHttpUrl(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BINDING_INPUT_ELEMENT, QUOTE + e.getElementType().getLocalPart() + QUOTE),
- element);
- }
- }
-
- // in this case there has been a HTTP element defined that is not defined for this point in the HTTP namespace
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_INVALID_HTTP_ELEMENT_FOR_LOCATION,
- QUOTE + e.getElementType().getLocalPart() + QUOTE),
- element);
- }
-
- }
-
- /**
- * Ensure that the HTTP address has a value specified for it's uri and that there is a HTTP Binding defined
- * for the Binding specified in the port.
- *
- * @param element The HTTP address element.
- * @param parents The list of parents of the HTTP address element.
- * @param validatorcontroller The validator controller in charge of validation.
- */
- protected void validateAddress(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- HTTPAddressImpl ha = (HTTPAddressImpl)element;
-
- String uri = ha.getLocationURI();
- if (uri == null || uri.equalsIgnoreCase(EMPTY_STRING))
- {
- valInfo.addError(messagegenerator.getString(_ERROR_NO_LOCATION_FOR_ADDRESS), ha);
- }
-
- Port port = (Port)parents.get(0);
-
- Binding binding = port.getBinding();
-
- if (!hasHttpBinding(binding))
- {
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_NO_HTTPBINDING_FOR_ADDRESS,
- QUOTE + binding.getQName().getLocalPart() + QUOTE,
- QUOTE + port.getName() + QUOTE),
- ha);
- }
- }
-
- /**
- * Ensure the HTTP Binding defined is valid. A HTTP Binding must have a verb of GET or POST.
- *
- * @param element The HTTP binding element.
- * @param parents The list of parents of the HTTP binding element.
- * @param validatorcontroller The validator controller in charge of validation.
- */
- protected void validateBinding(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- HTTPBindingImpl hb = (HTTPBindingImpl)element;
-
- String verb = hb.getVerb();
-
- if (verb != null && !verb.equals(GET) && !verb.equals(POST))
- {
- valInfo.addError(messagegenerator.getString(_ERROR_INVALID_BINDING_VERB, QUOTE + verb + QUOTE), element);
- }
- }
-
- /**
- * An operation must have a location defined. A HTTP Binding must be specified to use an operation.
- *
- * @param element The HTTP operation element.
- * @param parents The list of parents of the HTTP operation element.
- * @param validatorcontroller The validator controller in charge of validation.
- */
- protected void validateOperation(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- HTTPOperation ho = (HTTPOperation)element;
-
- String locationURI = ho.getLocationURI();
-
- if (locationURI != null && locationURI.equalsIgnoreCase(EMPTY_STRING))
- {
- valInfo.addError(messagegenerator.getString(_ERROR_INVALID_LOCATION_URI), element);
- }
-
- Binding binding = (Binding)parents.get(1);
- if (!hasHttpBinding(binding))
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_NO_HTTPBINDING_FOR_OPERATION, QUOTE + binding.getQName().getLocalPart() + QUOTE),
- ho);
- }
- }
-
- /**
- * Validate the HTTP urlReplacement or urlEncoded. Ensure the HTTP operation has been defined.
- * Ensure that either element is the only element specified.
- *
- * @param element The HTTP binding operation element.
- * @param parents The list of parents of the HTTP binding operation element.
- * @param validatorcontroller The validator controller in charge of validation.
- */
- protected void validateHttpUrl(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- BindingOperation operation = (BindingOperation)parents.get(1);
-
- String elementName;
- if (element.getClass() == HTTPUrlEncodedImpl.class)
- {
- elementName = "urlEncoded";
- }
- else if (element.getClass() == HTTPUrlReplacementImpl.class)
- {
- elementName = "urlReplacement";
- }
- else
- {
- elementName = EMPTY_STRING;
- }
-
- BindingInput input = (BindingInput)parents.get(0);
- if (input.getExtensibilityElements().size() != 1)
- {
- valInfo.addError(messagegenerator.getString(_ERROR_NOT_ONLY_ELEMENT_DEFINED, elementName), element);
- }
-
- if (!hasHttpOperation(operation))
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_NO_HTTPOPERATION_FOR_URL, QUOTE + operation.getName() + QUOTE, elementName),
- element);
- }
- }
-
- /**
- * Given a BindingOperation tells whether it has a HTTP operation defined for it.
- *
- * @param binding The HTTP binding operation element.
- * @return True if there is an HTTP operation defined, false otherwise.
- */
- protected boolean hasHttpOperation(BindingOperation operation)
- {
- if (operation != null)
- {
- List extelems = operation.getExtensibilityElements();
- if (extelems != null)
- {
- Iterator iextelems = extelems.iterator();
- while (iextelems.hasNext())
- {
- if (iextelems.next().getClass() == HTTPOperationImpl.class)
- {
- return true;
- }
- }
- }
- }
- return false;
- }
-
- /**
- * Given a binding returns true if it has a HTTP binding defined.
- *
- * @param binding The binding to check.
- * @return True if there is an HTTP binding defined.
- */
- protected boolean hasHttpBinding(Binding binding)
- {
- if (binding != null)
- {
- List extelems = binding.getExtensibilityElements();
- if (extelems != null)
- {
- Iterator iextelems = extelems.iterator();
- while (iextelems.hasNext())
- {
- if (iextelems.next().getClass() == HTTPBindingImpl.class)
- {
- return true;
- }
- }
- }
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/mime/MIMEValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/mime/MIMEValidator.java
deleted file mode 100644
index 912a3b463..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/mime/MIMEValidator.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.mime;
-
-import java.util.List;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo;
-
-/**
- * The MIME validator plugs into the WSDL validator to provide
- * validation for all elements in a WSDL document within the MIME namespace.
- */
-public class MIMEValidator implements IWSDL11Validator
-{
- private static String MIME_RESOURCE_BUNDLE_NAME = "validatewsdlmime";
- protected MessageGenerator messagegenerator;
-
- public MIMEValidator()
- {
- ResourceBundle rb = ResourceBundle.getBundle(MIME_RESOURCE_BUNDLE_NAME, Locale.getDefault());
- messagegenerator = new MessageGenerator(rb);
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator#validate(java.lang.Object, java.util.List, org.eclipse.wsdl.validate.wsdl11.IWSDL11ValidationInfo)
- */
- public void validate(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
-
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/soap/SOAPValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/soap/SOAPValidator.java
deleted file mode 100644
index 47f85701d..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/soap/SOAPValidator.java
+++ /dev/null
@@ -1,604 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.soap;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
-import javax.wsdl.Binding;
-import javax.wsdl.BindingFault;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.Definition;
-import javax.wsdl.Input;
-import javax.wsdl.Message;
-import javax.wsdl.Operation;
-import javax.wsdl.Output;
-import javax.wsdl.Part;
-import javax.wsdl.Port;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.soap.SOAPOperation;
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator;
-
-import com.ibm.wsdl.BindingFaultImpl;
-import com.ibm.wsdl.BindingImpl;
-import com.ibm.wsdl.BindingInputImpl;
-import com.ibm.wsdl.BindingOperationImpl;
-import com.ibm.wsdl.BindingOutputImpl;
-import com.ibm.wsdl.PortImpl;
-import com.ibm.wsdl.extensions.soap.SOAPAddressImpl;
-import com.ibm.wsdl.extensions.soap.SOAPBindingImpl;
-import com.ibm.wsdl.extensions.soap.SOAPBodyImpl;
-import com.ibm.wsdl.extensions.soap.SOAPFaultImpl;
-import com.ibm.wsdl.extensions.soap.SOAPHeaderFaultImpl;
-import com.ibm.wsdl.extensions.soap.SOAPHeaderImpl;
-import com.ibm.wsdl.extensions.soap.SOAPOperationImpl;
-
-/**
- * The SOAP validator plugs into the WSDL validator to provide
- * validation for all elements in a WSDL document within the SOAP namespace.
- *
- */
-public class SOAPValidator implements IWSDL11Validator
-{
- private static String SOAP_RESOURCE_BUNDLE_NAME = "validatewsdlsoap";
-
- private final String _ERROR_INVALID_PORT_ELEMENT = "_ERROR_INVALID_PORT_ELEMENT";
- private final String _ERROR_INVALID_BINDING_ELEMENT = "_ERROR_INVALID_BINDING_ELEMENT";
- private final String _ERROR_INVALID_BINDING_OPERATION_ELEMENT = "_ERROR_INVALID_BINDING_OPERATION_ELEMENT";
- private final String _ERROR_INVALID_HEADER_BODY_ELEMENT = "_ERROR_INVALID_HEADER_BODY_ELEMENT";
- private final String _ERROR_INVALID_FAULT_ELEMENT = "_ERROR_INVALID_FAULT_ELEMENT";
- private final String _ERROR_INVALID_SOAP_ELEMENT_FOR_LOCATION = "_ERROR_INVALID_SOAP_ELEMENT_FOR_LOCATION";
- private final String _ERROR_NO_LOCATION_FOR_ADDRESS = "_ERROR_NO_LOCATION_FOR_ADDRESS";
- private final String _ERROR_NO_SOAPBINDING_FOR_ADDRESS = "_ERROR_NO_SOAPBINDING_FOR_ADDRESS";
- private final String _ERROR_INVALID_BINDING_STYLE = "_ERROR_INVALID_BINDING_STYLE";
- private final String _ERROR_INVALID_BINDING_URI = "_ERROR_INVALID_BINDING_URI";
- private final String _ERROR_INVALID_OPERATION_STYLE = "_ERROR_INVALID_OPERATION_STYLE";
- private final String _ERROR_NO_SOAPBINDING_FOR_OPERATION = "_ERROR_NO_SOAPBINDING_FOR_OPERATION";
- private final String _ERROR_INVALID_BODY_ENCODING_STYLE = "_ERROR_INVALID_BODY_ENCODING_STYLE";
- //private final String _ERROR_INVALID_BODY_NAMESPACE_FOR_ENCODED = "_ERROR_INVALID_BODY_NAMESPACE_FOR_ENCODED";
- private final String _ERROR_INVALID_BODY_USE = "_ERROR_INVALID_BODY_USE";
- private final String _ERROR_INVALID_BODY_PART_NOT_TYPE = "_ERROR_INVALID_BODY_PART_NOT_TYPE";
- private final String _ERROR_INVALID_BODY_PART_UNDEFINED = "_ERROR_INVALID_BODY_PART_UNDEFINED";
- private final String _ERROR_NO_SOAPBINDING_FOR_BODY = "_ERROR_NO_SOAPBINDING_FOR_BODY";
- private final String _ERROR_HEADER_MESSAGE_UNDEFINED = "_ERROR_HEADER_MESSAGE_UNDEFINED";
- private final String _ERROR_HEADER_PART_UNDEFINED = "_ERROR_HEADER_PART_UNDEFINED";
- private final String _ERROR_HEADER_USE_UNDEFINED = "_ERROR_HEADER_USE_UNDEFINED";
- private final String _ERROR_HEADER_ENCODINGSTYLE_UNDEFINED = "_ERROR_HEADER_ENCODINGSTYLE_UNDEFINED";
- private final String _ERROR_HEADER_NAMESPACE_UNDEFINED = "_ERROR_HEADER_NAMESPACE_UNDEFINED";
- private final String _ERROR_NO_SOAPBINDING_FOR_HEADER = "_ERROR_NO_SOAPBINDING_FOR_HEADER";
- private final String _ERROR_HEADERFAULT_MESSAGE_UNDEFINED = "_ERROR_HEADERFAULT_MESSAGE_UNDEFINED";
- private final String _ERROR_HEADERFAULT_PART_UNDEFINED = "_ERROR_HEADERFAULT_PART_UNDEFINED";
- private final String _ERROR_HEADERFAULT_USE_UNDEFINED = "_ERROR_HEADERFAULT_USE_UNDEFINED";
- private final String _ERROR_HEADERFAULT_ENCODINGSTYLE_UNDEFINED = "_ERROR_HEADERFAULT_ENCODINGSTYLE_UNDEFINED";
- private final String _ERROR_HEADERFAULT_NAMESPACE_UNDEFINED = "_ERROR_HEADERFAULT_NAMESPACE_UNDEFINED";
- private final String _ERROR_INVALID_FAULT_NAME = "_ERROR_INVALID_FAULT_NAME";
- //private final String _ERROR_INVALID_FAULT_ENCODING_STYLE = "_ERROR_INVALID_FAULT_ENCODING_STYLE";
- //private final String _ERROR_INVALID_FAULT_NAMESPACE_FOR_ENCODED = "_ERROR_INVALID_FAULT_NAMESPACE_FOR_ENCODED";
-
- private final String ENCODED = "encoded";
- private final String LITERAL = "literal";
- private final String RPC = "rpc";
- private final String DOCUMENT = "document";
-
- private final String QUOTE = "'";
- private final String EMPTY_STRING = "";
-
- protected MessageGenerator messagegenerator;
-
- /**
- * Default constructor.
- */
- public SOAPValidator()
- {
- ResourceBundle rb = ResourceBundle.getBundle(SOAP_RESOURCE_BUNDLE_NAME, Locale.getDefault());
- messagegenerator = new MessageGenerator(rb);
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator#validate(java.lang.Object, java.util.List, org.eclipse.wsdl.validate.wsdl11.IWSDL11ValidationInfo)
- */
- public void validate(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- // Port SOAP definition
- // make sure every port has only one address element defined
- // if it is an address element, validate it
- if (parents.get(0).getClass() == PortImpl.class)
- {
- if (element.getClass() == SOAPAddressImpl.class)
- {
- validateAddress(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_PORT_ELEMENT, QUOTE + e.getElementType().getLocalPart() + QUOTE), element);
- }
- }
-
- // Binding SOAP definition
- // A SOAP Binding must have a style or rpc or document or no style defined - defaults to document
- // Must have a transport uri defined - check if the uri is empty
- else if (parents.get(0).getClass() == BindingImpl.class)
- {
- if (element.getClass() == SOAPBindingImpl.class)
- {
- validateBinding(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BINDING_ELEMENT, QUOTE + e.getElementType().getLocalPart() + QUOTE), element);
- }
- }
- // Binding Operation SOAP definition
- // A SOAP Operation may have a style defined in which case it must be document or rpc
- // and may have a soapAction uri defined
- else if (parents.get(0).getClass() == BindingOperationImpl.class)
- {
- if (element.getClass() == SOAPOperationImpl.class)
- {
- validateOperation(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_INVALID_BINDING_OPERATION_ELEMENT,
- QUOTE + e.getElementType().getLocalPart() + QUOTE), element);
- }
-
- }
- else if (
- parents.get(0).getClass() == BindingInputImpl.class || parents.get(0).getClass() == BindingOutputImpl.class)
- {
- // validate the SOAP body
- if (element.getClass() == SOAPBodyImpl.class)
- {
- validateBody(element, parents, valInfo);
- }
- // valiate the SOAP header
- else if (element.getClass() == SOAPHeaderImpl.class)
- {
- validateHeader(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_HEADER_BODY_ELEMENT, QUOTE + e.getElementType().getLocalPart() + QUOTE), element);
- }
- }
- else if (parents.get(0).getClass() == BindingFaultImpl.class)
- {
- if (element.getClass() == SOAPFaultImpl.class)
- {
- validateFault(element, parents, valInfo);
- }
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_FAULT_ELEMENT, QUOTE + e.getElementType().getLocalPart() + QUOTE), element);
- }
- }
- // in this case there has been a SOAP element defined that is not defined for this point in the SOAP namespace
- else
- {
- ExtensibilityElement e = (ExtensibilityElement)element;
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_INVALID_SOAP_ELEMENT_FOR_LOCATION,
- QUOTE + e.getElementType().getLocalPart() + QUOTE), element);
- }
-
- }
-
- /**
- * Ensure that the SOAP address has a value specified for it's uri and that the binding has a SOAP
- * Binding defined.
- *
- * @param element The SOAP address element.
- * @param parents A list of parents of the SOAP address element.
- * @param valInfo The validation info for this validation.
- */
- protected void validateAddress(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- SOAPAddressImpl sa = (SOAPAddressImpl)element;
-
- String uri = sa.getLocationURI();
- if (uri == null || uri.equalsIgnoreCase(EMPTY_STRING))
- {
- valInfo.addError(messagegenerator.getString(_ERROR_NO_LOCATION_FOR_ADDRESS), sa);
- }
-
- Port port = (Port)parents.get(0);
-
- Binding binding = port.getBinding();
-
- if (!hasSoapBinding(binding))
- {
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_NO_SOAPBINDING_FOR_ADDRESS,
- QUOTE + binding.getQName().getLocalPart() + QUOTE,
- QUOTE + port.getName() + QUOTE), sa);
- }
- }
-
- /**
- * Ensure the SOAP Binding defined is valid. A SOAP Binding must have a style of rpc or document
- * or no style defined (defaults to document.) A valid (non empty) URI must also be specified.
- *
- * @param element The SOAP binding element.
- * @param parents A list of parents of the SOAP binding element.
- * @param valInfo The validation info for this validation.
- */
- protected void validateBinding(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- SOAPBindingImpl sb = (SOAPBindingImpl)element;
-
- String style = sb.getStyle();
- String uri = sb.getTransportURI();
-
- if (style != null && !style.equalsIgnoreCase(RPC) && !style.equalsIgnoreCase(DOCUMENT))
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BINDING_STYLE, QUOTE + sb.getStyle() + QUOTE), element);
- }
- if (uri.equalsIgnoreCase(EMPTY_STRING))
- {
- valInfo.addError(messagegenerator.getString(_ERROR_INVALID_BINDING_URI), element);
- }
- }
-
- /**
- * An operation may have a style defined. If it is defined it must be rpc or document. It may also have a
- * uri defined which must be non empty. It may have a soapAction defined as well.
- *
- * @param element The SOAP operation element.
- * @param parents A list of parents of the SOAP operation element.
- * @param valInfo The validation info for this validation.
- */
- protected void validateOperation(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- SOAPOperation so = (SOAPOperation)element;
-
- String soapStyle = so.getStyle();
-
- if (soapStyle != null && !soapStyle.equalsIgnoreCase(RPC) && !soapStyle.equalsIgnoreCase(DOCUMENT))
- {
- valInfo.addError(messagegenerator.getString(_ERROR_INVALID_OPERATION_STYLE), element);
- }
-
- Binding binding = (Binding)parents.get(1);
- if (!hasSoapBinding(binding))
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_NO_SOAPBINDING_FOR_OPERATION, QUOTE + binding.getQName().getLocalPart() + QUOTE), so);
- }
- }
-
- /**
- * Validate the SOAP body. If encoded a body must have an encodingStyle. Also,
- * if specified, all of the parts listed must be defined parts and in the encoding use case, the parts
- * must have types defined.
- *
- * @param element The SOAP body element.
- * @param parents A list of parents of the SOAP body element.
- * @param valInfo The validation info for this validation.
- */
- protected void validateBody(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- SOAPBodyImpl sb = (SOAPBodyImpl)element;
-
- String use = sb.getUse();
-
- // if the use = encoded then there must be encodingStyles.
- if (use != null && use.equalsIgnoreCase(ENCODED))
- {
- List encodingStyles = sb.getEncodingStyles();
- if (encodingStyles == null || encodingStyles.size() == 0)
- {
- valInfo.addError(messagegenerator.getString(_ERROR_INVALID_BODY_ENCODING_STYLE), sb);
- }
- }
- else if (use != null && !use.equalsIgnoreCase(LITERAL))
- {
- valInfo.addError(messagegenerator.getString(_ERROR_INVALID_BODY_USE, QUOTE + use + QUOTE), sb);
- }
-
- //Check that the parts are valid
- // parts must be defined in the message specified for the operation
- List parts = sb.getParts();
-
- if (parts != null)
- {
- Iterator partsIterator = parts.iterator();
- while (partsIterator.hasNext())
- {
- String part = (String)partsIterator.next();
- BindingOperation bo = (BindingOperation)parents.get(1);
- Operation o = bo.getOperation();
-
- if (o != null && !o.isUndefined())
- {
- // get the message from the input or output if it exists
- Message mess = null;
- if (parents.get(0).getClass() == BindingInputImpl.class)
- {
- Input input = o.getInput();
-
- if (input != null)
- {
- mess = input.getMessage();
- }
- }
- else if (parents.get(0).getClass() == BindingOutputImpl.class)
- {
- Output output = o.getOutput();
-
- if (output != null)
- {
- mess = output.getMessage();
- }
- }
-
- if (mess != null && !mess.isUndefined())
- {
- Part p = mess.getPart(part);
-
- if (p != null)
- {
- // if the use is encoded the parts must all have a type defined
- if (use != null && use.equalsIgnoreCase(ENCODED))
- {
- if (p.getTypeName() == null)
- {
- // part error - part needs to be type and isn't
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BODY_PART_NOT_TYPE, QUOTE + part + QUOTE), sb);
- }
- }
- }
- else
- {
- //part error - part isn't defined
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BODY_PART_UNDEFINED, QUOTE + part + QUOTE), sb);
- }
- }
- else
- {
- //part error - input isn't defined
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BODY_PART_UNDEFINED, QUOTE + part + QUOTE), sb);
- }
- }
- else
- {
- // parts error - operation isn't defined
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_BODY_PART_UNDEFINED, QUOTE + part + QUOTE), sb);
- }
- }
- }
-
- Binding binding = (Binding)parents.get(2);
- if (!hasSoapBinding(binding))
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_NO_SOAPBINDING_FOR_BODY, QUOTE + binding.getQName().getLocalPart() + QUOTE), sb);
- }
- }
-
- /**
- * A SOAP header must have a message, part and use defined. If the use is encoded, must
- * also have a non-empty encodingStyle and namespace defined.
- * A SOAP header may have headerfaults defined as well.
- *
- * @param element The SOAP header element.
- * @param parents A list of parents of the SOAP header element.
- * @param valInfo The validation info for this validation.
- */
- protected void validateHeader(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- SOAPHeaderImpl soapHeader = (SOAPHeaderImpl)element;
-
- QName messageQName = soapHeader.getMessage();
- Message message = ((Definition)parents.get(parents.size() - 1)).getMessage(messageQName);
- if (message == null)
- {
- // message undefined
- valInfo.addError(
- messagegenerator.getString(_ERROR_HEADER_MESSAGE_UNDEFINED, QUOTE + messageQName.getLocalPart() + QUOTE), soapHeader);
- }
- else
- {
- String partname = soapHeader.getPart();
- Part part = message.getPart(partname);
- if (part == null)
- {
- // part undefined
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_HEADER_PART_UNDEFINED,
- QUOTE + partname + QUOTE,
- QUOTE + messageQName.getLocalPart() + QUOTE), soapHeader);
- }
- }
-
- String use = soapHeader.getUse();
- if (use != null && !use.equalsIgnoreCase(LITERAL) && !use.equalsIgnoreCase(ENCODED))
- {
- // use undefined
- valInfo.addError(
- messagegenerator.getString(_ERROR_HEADER_USE_UNDEFINED, QUOTE + use + QUOTE), soapHeader);
- }
-
- if (use.equalsIgnoreCase(ENCODED))
- {
- List encodingStyles = soapHeader.getEncodingStyles();
- if (encodingStyles == null || encodingStyles.isEmpty())
- {
- // no encodingStyle defined
- valInfo.addError(messagegenerator.getString(_ERROR_HEADER_ENCODINGSTYLE_UNDEFINED), soapHeader);
- }
-
- String namespace = soapHeader.getNamespaceURI();
- if (namespace == null || namespace.equalsIgnoreCase(EMPTY_STRING))
- {
- // no namespace defined
- valInfo.addError(messagegenerator.getString(_ERROR_HEADER_NAMESPACE_UNDEFINED), soapHeader);
- }
- }
-
- List headerFaults = soapHeader.getSOAPHeaderFaults();
- if (headerFaults != null)
- {
- Iterator iheaderFaults = headerFaults.iterator();
- while (iheaderFaults.hasNext())
- {
- validateHeaderFault(iheaderFaults.next(), parents, valInfo);
- }
- }
-
- Binding binding = (Binding)parents.get(2);
- if (!hasSoapBinding(binding))
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_NO_SOAPBINDING_FOR_HEADER, QUOTE + binding.getQName().getLocalPart() + QUOTE), soapHeader);
- }
- }
-
- /**
- * A SOAP headerfault must have a message, part and use defined. If the use is encoded, must
- * also have a non-empty encodingStyle and namespace defined.
- *
- * @param element The SOAP header fault element.
- * @param parents A list of parents of the SOAP header fault element.
- * @param valInfo The validation info for this validation.
- */
- protected void validateHeaderFault(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- SOAPHeaderFaultImpl soapHeaderFault = (SOAPHeaderFaultImpl)element;
-
- QName messageQName = soapHeaderFault.getMessage();
- Message message = ((Definition)parents.get(parents.size() - 1)).getMessage(messageQName);
- if (message == null)
- {
- // message undefined
- valInfo.addError(
- messagegenerator.getString(_ERROR_HEADERFAULT_MESSAGE_UNDEFINED, QUOTE + messageQName.getLocalPart() + QUOTE), soapHeaderFault);
- }
- else
- {
- String partname = soapHeaderFault.getPart();
- Part part = message.getPart(partname);
- if (part == null)
- {
- // part undefined
- valInfo.addError(
- messagegenerator.getString(
- _ERROR_HEADERFAULT_PART_UNDEFINED,
- QUOTE + partname + QUOTE,
- QUOTE + messageQName.getLocalPart() + QUOTE), soapHeaderFault);
- }
- }
-
- String use = soapHeaderFault.getUse();
- if (use != null && !use.equalsIgnoreCase(LITERAL) && !use.equalsIgnoreCase(ENCODED))
- {
- // use undefined
- valInfo.addError(
- messagegenerator.getString(_ERROR_HEADERFAULT_USE_UNDEFINED, QUOTE + use + QUOTE), soapHeaderFault);
- }
-
- if (use.equalsIgnoreCase(ENCODED))
- {
- List encodingStyles = soapHeaderFault.getEncodingStyles();
- if (encodingStyles == null || encodingStyles.isEmpty())
- {
- // no encodingStyle defined
- valInfo.addError(
- messagegenerator.getString(_ERROR_HEADERFAULT_ENCODINGSTYLE_UNDEFINED), soapHeaderFault);
- }
-
- String namespace = soapHeaderFault.getNamespaceURI();
- if (namespace == null || namespace.equalsIgnoreCase(EMPTY_STRING))
- {
- // no namespace defined
- valInfo.addError(
- messagegenerator.getString(_ERROR_HEADERFAULT_NAMESPACE_UNDEFINED), soapHeaderFault);
- }
- }
- }
-
- /**
- * Validate the SOAP fault. A SOAP fault must have a name defined that corresponds with the name
- * specified in the portType. If encoded a fault must have an encodingStyle and a namespaceURI.
- *
- * @param element The SOAP fault element.
- * @param parents A list of parents of the SOAP fault element.
- * @param validationInfo The validation info for this validation.
- */
- protected void validateFault(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- SOAPFaultImpl fault = (SOAPFaultImpl)element;
-
- String name = fault.getName();
-
- String parentName = ((BindingFault)parents.get(0)).getName();
-
- if (!name.equals(parentName))
- {
- valInfo.addError(
- messagegenerator.getString(_ERROR_INVALID_FAULT_NAME, QUOTE + name + QUOTE, QUOTE + parentName + QUOTE), fault);
- }
-
- }
-
- /**
- * Method hasSoapBinding. - helper Method
- * Given a binding returns true if it has a SOAP binding defined.
- *
- * @param binding - the SOAP binding to check
- * @return true if a binding has a SOAP binding defined, false otherwise
- */
- protected boolean hasSoapBinding(Binding binding)
- {
- if (binding != null)
- {
- List extelems = binding.getExtensibilityElements();
- if (extelems != null)
- {
- Iterator iextelems = extelems.iterator();
- while (iextelems.hasNext())
- {
- if (iextelems.next().getClass() == SOAPBindingImpl.class)
- {
- return true;
- }
- }
- }
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/DOMError.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/DOMError.java
deleted file mode 100644
index 329b1118b..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/DOMError.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-/**
- * This interface is used to signify error levels that are the result of
- * XMLParseException. They conceptually correspond to org.w3c.dom.DOMError but
- * we use our own interface, since DOMError is not in Java 1.4, and its
- * package changes from Xerces 2.6.2 and Xerces 2.7.0.
- */
-
-public interface DOMError {
- int SEVERITY_WARNING = 1;
- int SEVERITY_ERROR = 2;
- int SEVERITY_FATAL_ERROR = 3;
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/FileEntityResolver.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/FileEntityResolver.java
deleted file mode 100644
index 2119778f3..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/FileEntityResolver.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.apache.xerces.xni.XMLResourceIdentifier;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
-import org.apache.xerces.xni.parser.XMLInputSource;
-import org.eclipse.wst.wsdl.validation.internal.util.LazyURLInputStream;
-
-/**
- * Entity resolve to resolve file entities.
- */
-public class FileEntityResolver implements XMLEntityResolver
-{
-
- /**
- * @see org.apache.xerces.xni.parser.XMLEntityResolver#resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier)
- */
- public XMLInputSource resolveEntity(XMLResourceIdentifier resource) throws XNIException, IOException
- {
- String publicId = resource.getPublicId();
- String systemId = resource.getExpandedSystemId();
- String namespace = resource.getNamespace();
- String url = null;
- if(systemId != null)
- {
- url = systemId;
- }
- else if(publicId != null)
- {
- url = publicId;
- }
- else if(namespace != null)
- {
- url = namespace;
- }
- if(url != null)
- {
- InputStream is = new LazyURLInputStream(url);
- return new XMLInputSource(publicId, resource.getExpandedSystemId(), resource.getExpandedSystemId(), is, null);
- }
- return null;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGenerator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGenerator.java
deleted file mode 100644
index 0412418d4..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGenerator.java
+++ /dev/null
@@ -1,681 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-import java.util.TreeSet;
-import java.util.Vector;
-
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-import com.ibm.wsdl.Constants;
-
-/**
- * Generate a String representation of a schema for an inline schema. Will add imports for unresolved
- * namespaces.
- */
-public class InlineSchemaGenerator
-{
- /**
- * Generating import statements for inline schema references is
- * invalid according to the WSDL spec. As some older clients (WSVT) may
- * depend on this functionality the option to allow this is left
- * in. This should be removed post 1.5.
- * TODO: Review removing this preference.
- */
- protected static boolean GENERATE_INLINE_IMPORTS = false;
-
- protected static final String SOAP_ENCODING_URI = "http://schemas.xmlsoap.org/soap/encoding/";
- protected static final String FILE_PREFIX = "file:///";
- protected static final String XMLNS = "xmlns";
- protected static final String TARGETNAMESPACE = "targetNamespace";
- protected static final String NAMESPACE = "namespace";
- protected static final String IMPORT = "import";
- protected static final String INCLUDE = "include";
- protected static final String SCHEMA = "schema";
- protected static final String SCHEMALOCATION = "schemaLocation";
- protected static final String TYPE = "type";
- protected static final String NAME = "name";
- protected static final String[] ignoreNamespaces =
- { Constants.NS_URI_XSD_1999, Constants.NS_URI_XSD_2000, Constants.NS_URI_XSD_2001 };
-
- protected static InlineSchemaGenerator instance = null;
-
- /**
- * Constructor.
- */
- protected InlineSchemaGenerator()
- {
- String genInlineImports = System.getProperty("wsdl.require.inline.imports");
- if(genInlineImports != null && genInlineImports.equals("false"))
- {
- GENERATE_INLINE_IMPORTS = true;
- }
- }
-
- /**
- * Get the instance of the InlineSchemaGenerator.
- *
- * @return The instance of the inline schema generator.
- */
- protected static InlineSchemaGenerator getInstance()
- {
- if (instance == null)
- {
- instance = new InlineSchemaGenerator();
- }
- return instance;
- }
-
- /**
- * Create a string representation of a schema from the element provided.
- *
- * @param element The root element of the schema.
- * @param elements A list of the elements in the schema in order.
- * @param filelocation The URI of the file that contains the schema.
- * @param validImportNSs A set of namespaces for which it's valid to create import statements.
- * @return A string representation of a schema.
- */
- public static String createXSDString(Element element, List elements, String filelocation, Set validImportNSs)
- {
- return InlineSchemaGenerator.createXSDString(element, elements, filelocation, new Hashtable(), validImportNSs);
- }
-
- /**
- * Creates a String representing the schema model with the root element of
- * extElem. Calls createXSDStringRecursively to take care of building the String
- * after it obtains the Element from the UnknownExtensibilityElement.
- *
- * @param element The root element of the schema.
- * @param elements A list to contain the elements in the schema in order.
- * @param filelocation The location of the file the schema is located in.
- * @param parentNSs A hashtable of parent namespaces to used to resolve prefixes.
- * @param validImportNSs A set of namespaces for which it's valid to create import statements.
- * @return A string representation of the schema with the root element 'element'.
- */
- public static String createXSDString(Element element, List elements, String filelocation, Hashtable parentNSs, Set validImportNSs)
- {
- Set importNSs = new TreeSet();
- importNSs.addAll(validImportNSs);
- importNSs.add(SOAP_ENCODING_URI);
-
- InlineSchemaGenerator schemaGenerator = InlineSchemaGenerator.getInstance();
- Hashtable nsResolver = schemaGenerator.getNSResolver(element);
- List reqns = schemaGenerator.getNamespacePrefixes(element);
- Hashtable reqNSDecl = schemaGenerator.resolveNamespaces(reqns, nsResolver, parentNSs);
- //Hashtable reqNSDecl = schemaGenerator.getRequiredNSDeclarations(reqns, nsResolver, parentNSs);
- if(GENERATE_INLINE_IMPORTS)
- {
- List importNS = schemaGenerator.getImportNamespaces(element);
- reqns = schemaGenerator.removeImports(reqns, importNS);
- reqns = schemaGenerator.removeLocalNamespaces(reqns, element);
- reqns = schemaGenerator.restrictImports(reqns, validImportNSs);
- }
- else
- {
- reqns.clear();
- }
- return schemaGenerator.createXSDStringRecursively(element, elements, reqns, reqNSDecl, filelocation);
- }
- /**
- * Returns true if the SOAP encoding namespace is required but not imported.
- *
- * @param element The root element of the schema.
- * @param filelocation The location of the file containing the schema.
- * @param parentNSs A hashtable of the parent namespaces.
- * @return True if the soap encoding namespace is required but not imported, false otherwise.
- */
- public static boolean soapEncodingRequiredNotImported(Element element, String filelocation, Hashtable parentNSs)
- {
- InlineSchemaGenerator schemaGenerator = InlineSchemaGenerator.getInstance();
- Hashtable nsResolver = schemaGenerator.getNSResolver(element);
- List reqns = null;
-
- reqns = schemaGenerator.getNamespacePrefixes(element);
- schemaGenerator.resolveNamespaces(reqns, nsResolver, parentNSs);
- //schemaGenerator.resolveUndeclaredNamespaces(reqns, parentNSs);
- List importNS = schemaGenerator.getImportNamespaces(element);
- reqns = schemaGenerator.removeImports(reqns, importNS);
- reqns = schemaGenerator.removeLocalNamespaces(reqns, element);
- return schemaGenerator.checkSOAPEncodingRequired(reqns);
- }
- /**
- * Resolve the undeclared namespaces.
- *
- * @param unresolvedNSs A list of unresolved namespaces.
- * @param nsResolver The namespace resolver to use.
- * @return A hashtable of prefixes and namespaces.
- */
-// protected Hashtable resolveUndeclaredNamespaces(List unresolvedNSs, Hashtable nsResolver)
-// {
-// Hashtable namespaces = new Hashtable();
-// if (unresolvedNSs != null && !unresolvedNSs.isEmpty() && nsResolver != null)
-// {
-// for (int i = unresolvedNSs.size() - 1; i >= 0; i--)
-// {
-// String ns = (String)unresolvedNSs.get(i);
-// if (ns.equals(""))
-// {
-// ns = XMLNS;
-// }
-// else
-// {
-// ns = XMLNS + ":" + ns;
-// }
-// if (nsResolver.containsKey(ns))
-// {
-// //namespaces.remove(i);
-// //namespaces.add(i, nsResolver.get(ns));
-// namespaces.put(ns, nsResolver.get(ns));
-// unresolvedNSs.remove(i);
-// unresolvedNSs.add(i, nsResolver.get(ns));
-// }
-// }
-// }
-// return namespaces;
-// }
-
- /**
- * This recursive method creates the schema String from the root Element.
- *
- * @param elem The root element of the schema.
- * @param elements A list to be created of the elements in the schema in order.
- * @param requiredNamespaces A list of required namespaces.
- * @param reqNSDecl A hashtable of required namespace declarations.
- * @param filelocation The uri of the file that contains this schema.
- * @return A string representation of this schema.
- */
- protected String createXSDStringRecursively(
- Element elem,
- List elements,
- List requiredNamespaces,
- Hashtable reqNSDecl,
- String filelocation)
- {
- if (elem == null)
- return ""; // just in case
-
- elements.add(elem);
-
- StringBuffer xsdString = new StringBuffer();
- String elementName = elem.getTagName();
- xsdString.append("<").append(elementName);
-
- String namePrefix = ""; // the xmlns prefix used for the elements
- // Get all of the attributes for this element and append them to the xsdString
- NamedNodeMap atts = elem.getAttributes();
- for (int i = 0; i < atts.getLength(); i++)
- {
- Node n = atts.item(i);
- xsdString.append(" ").append(n.getNodeName()).append("=\"");
- String nodeName = n.getNodeName();
- if (nodeName.equalsIgnoreCase(SCHEMALOCATION) && filelocation != null)
- {
- String relativePath = n.getNodeValue();
- xsdString.append(relativePath).append("\"");
- }
- else
- {
- String nodeValue = n.getNodeValue();
- // get the name prefix for this schema to use in generating import statements
- if (nodeName.indexOf(XMLNS) != -1)
- {
-
- if (nodeValue.equalsIgnoreCase(elem.getNamespaceURI()))
- {
- namePrefix = nodeName;
- if (namePrefix.equalsIgnoreCase(XMLNS))
- {
- namePrefix = "";
- }
- else
- {
- namePrefix = namePrefix.substring(6) + ":";
- }
- }
- }
- // Replace old schema namespaces with the new schema namespace.
- if(nodeValue.equals(Constants.NS_URI_XSD_1999) || nodeValue.equals(Constants.NS_URI_XSD_2000))
- {
- nodeValue = Constants.NS_URI_XSD_2001;
- }
- xsdString.append(nodeValue).append("\"");
- }
- }
-// if (elementName.equalsIgnoreCase("import") && !foundSchemaLocation)
-// {
-// xsdString.append(" ").append(SCHEMALOCATION).append("=\"").append(namespace).append("\"");
-// }
- // add in any required NS declarations from parent elements
- if (reqNSDecl != null)
- {
- Enumeration keys = reqNSDecl.keys();
- while (keys.hasMoreElements())
- {
- String key = (String)keys.nextElement();
- String declNS = (String)reqNSDecl.get(key);
- if(declNS.equals(Constants.NS_URI_XSD_1999) || declNS.equals(Constants.NS_URI_XSD_2000))
- {
- declNS = Constants.NS_URI_XSD_2001;
- }
- xsdString.append(" ").append(key).append("=\"").append(declNS).append("\"");
- }
-
- }
- xsdString.append(">");
- if (requiredNamespaces != null)
- {
- Iterator iRequiredNamespaces = requiredNamespaces.iterator();
- while (iRequiredNamespaces.hasNext())
- {
- String ns = (String)iRequiredNamespaces.next();
-
- xsdString
- .append("<")
- .append(namePrefix)
- .append(IMPORT)
- .append(" ")
- .append(NAMESPACE)
- .append("=\"")
- .append(ns)
- .append("\" ")
- .append(SCHEMALOCATION)
- .append("=\"")
- .append(ns)
- .append("\"/>");
- }
-
- }
- xsdString.append("\n");
-
- // call the method recursively for each child element
- NodeList childNodes = elem.getChildNodes();
-
- for (int i = 0; i < childNodes.getLength() || i < 5; i++)
- {
- Node n = childNodes.item(i);
- // we only want nodes that are Elements
- if (n instanceof Element)
- {
- Element child = (Element)n;
- xsdString.append(createXSDStringRecursively(child, elements, null, null, filelocation));
- }
- }
-
- xsdString.append("</").append(elem.getTagName()).append(">");
-
- return xsdString.toString();
-
- }
- /**
- * Get a list of all the namespace prefixes that are used for elements or types in the schema.
- *
- * @param elem The root element of the schema to check for namespace prefixes.
- * @return A list of namespace prefixes for the element and all its children.
- */
- protected List getNamespacePrefixes(Element elem)
- {
- List namespace = new ArrayList();
-
- // call the method recursively for each child element
- // register all the child types first
- NodeList childNodes = elem.getChildNodes();
- int numChildren = childNodes.getLength();
- for (int i = 0; i < numChildren; i++)
- {
- Node n = childNodes.item(i);
- // we only want nodes that are Elements
- if (n instanceof Element)
- {
- Element child = (Element)n;
- List childns = getNamespacePrefixes(child);
- for (int j = childns.size() - 1; j >= 0; j--)
- {
- String ns = (String)childns.get(j);
-
- if (!namespace.contains(ns))
- {
- namespace.add(ns);
- }
- }
- }
- }
- // Add the namespace of the current element
- String elemNS = elem.getPrefix();
- // if there is no namespace prefix set it to the empty prefix.
- if(elemNS == null)
- {
- elemNS = "";
- }
- if (!namespace.contains(elemNS))
- {
- namespace.add(elemNS);
- }
- // now add all of the current element's namespaces
- // don't include import and schema elements
- String localname = elem.getLocalName();
- if (!localname.equals(IMPORT) && !localname.equals(INCLUDE) && !localname.equals(SCHEMA))
- {
- NamedNodeMap atts = elem.getAttributes();
- for (int i = 0; i < atts.getLength(); i++)
- {
- Node n = atts.item(i);
-
- String nodeName = n.getNodeName();
- // removed restriction that we're only looking at types
- // if (nodeName.equalsIgnoreCase(TYPE))
- // {
- // don't take namespace info from attributes defining namespaces.
- // that includes xmlns, targetNamespace
- if (nodeName.indexOf(XMLNS) != -1 || nodeName.equals(TARGETNAMESPACE) || nodeName.equals(NAME))
- {
- continue;
- }
- // Grab namespace prefixes from attributes.
- else
- {
- int colonIndex = nodeName.indexOf(":");
- if(colonIndex != -1 && (colonIndex + 1 < nodeName.length() && nodeName.charAt(colonIndex + 1) != '/'))
- {
- String prefix = nodeName.substring(0, colonIndex);
- if (!namespace.contains(prefix))
- {
-
- namespace.add(prefix);
- }
- }
- }
- String nodeValue = n.getNodeValue();
-
-
- int colonIndex = nodeValue.indexOf(":");
- // Don't take namespace info from attributes with the default namespace, that is attributes
- // that are not prefixed. (colonIndex == -1)
- // If the colonIndex is followed by a / then it is a URI and not
- // namespace qualified.
- if (colonIndex == -1 || (colonIndex + 1 < nodeValue.length() && nodeValue.charAt(colonIndex + 1) == '/'))
- {
- continue;
- }
- // here we have found a colon delimiter so we need the namespace defined here
- else
- {
- nodeValue = nodeValue.substring(0, colonIndex);
- }
- if (!namespace.contains(nodeValue))
- {
-
- namespace.add(nodeValue);
- }
- }
- }
-
- return namespace;
-
- }
-
- /**
- * Get a list of all the namespaces that have an import statement.
- *
- * @param elem The root element of the schema.
- * @return A list of all the namespaces that are imported.
- */
- protected List getImportNamespaces(Element elem)
- {
- List namespace = new Vector();
-
- // call the method recursively for each child element
- // register all the child types first
- NodeList childNodes = elem.getChildNodes();
-
- for (int i = 0; i < childNodes.getLength() || i < 5; i++)
- {
- Node n = childNodes.item(i);
- // we only want nodes that are Elements
- if (n instanceof Element)
- {
- Element child = (Element)n;
- List childns = getImportNamespaces(child);
- for (int j = childns.size() - 1; j >= 0; j--)
- {
- String ns = (String)childns.get(j);
- if (!namespace.contains(ns))
- {
- namespace.add(ns);
- }
- }
- }
- }
- // if this is an import element get the namespace and add it to the list
- if (elem.getLocalName().equalsIgnoreCase(IMPORT))
- {
- NamedNodeMap atts = elem.getAttributes();
- for (int i = 0; i < atts.getLength(); i++)
- {
- Node n = atts.item(i);
-
- String nodeName = n.getNodeName();
- if (nodeName.equalsIgnoreCase(NAMESPACE))
- {
- String nodeValue = n.getNodeValue();
- if (!namespace.contains(nodeValue))
- {
-
- namespace.add(nodeValue);
- }
- }
- }
- }
-
- return namespace;
-
- }
-
- /**
- * Return a Hashtable with namespace prefixes as keys from the given element.
- *
- * @param elem The root element of the schema.
- * @return A hashtable with namespace prefixes mapped to namespaces.
- */
- protected Hashtable getNSResolver(Element elem)
- {
- Hashtable nsResolver = new Hashtable();
-
- NamedNodeMap atts = elem.getAttributes();
- for (int i = 0; i < atts.getLength(); i++)
- {
- Node n = atts.item(i);
-
- String nodeName = n.getNodeName();
- if (nodeName.indexOf(XMLNS) != -1)
- {
- String nodeValue = n.getNodeValue();
- String namePrefix = nodeName;
-
- if (namePrefix.equalsIgnoreCase(XMLNS))
- {
- namePrefix = "";
- }
- else
- {
- namePrefix = namePrefix.substring(6);
- }
- nsResolver.put(namePrefix, nodeValue);
-
- }
- }
- return nsResolver;
-
- }
-
- /**
- * Resolve the namespaces in the given namespaces list with the two namespace
- * resolver hashtables provided. Return a list of all the namespace that need
- * to be declared.
- * First resolve against the local namespaces with nsResolver.
- * Next resolve against the parent namespace with parentNSResolver.
- * A side affect of this method is the namespaces list is left with only those
- * namespaces that are resolved and the resolved entities are placed in the
- * list instead of the original entries.
- * For ex. If you provide a list such as {xsd, intf} and only xsd can be resolved
- * you will end up with the list {http://www.w3.org/2001/XMLSchema}
- *
- * @param namespaces The list of namespaces to resolve.
- * @param nsResolver The hashtable to be used as the local resolver.
- * @param parentNSResolver The hashtable to be used as the parent namespace resolver.
- * @return A Hashtable of namespaces that must be declared.
- */
- protected Hashtable resolveNamespaces(List namespaces, Hashtable nsResolver, Hashtable parentNSResolver)
- {
- Hashtable reqNSDecl = new Hashtable();
- if (namespaces != null && !namespaces.isEmpty() && nsResolver != null)
- {
- for (int i = namespaces.size() - 1; i >= 0; i--)
- {
- String ns = (String)namespaces.get(i);
- // Remove the namespace from the list.
- namespaces.remove(i);
- // First try to resolve against the local namespace resolver.
- if (nsResolver.containsKey(ns))
- {
- Object resolvedNS = nsResolver.get(ns);
- // Only add the namespace if it's not already in the list.
- if(!namespaces.contains(resolvedNS))
- {
- namespaces.add(i, nsResolver.get(ns));
- }
- }
- // Next try to resolve against the parent namespace resolver.
- else
- {
- if (ns.equals(""))
- {
- ns = XMLNS;
- }
- else
- {
- ns = XMLNS + ":" + ns;
- }
- if (parentNSResolver.containsKey(ns))
- {
- Object resolvedNS = parentNSResolver.get(ns);
- // Only add the namespace if it's not already in the list.
- if(!namespaces.contains(resolvedNS))
- {
- namespaces.add(i, resolvedNS);
- }
- // Still need to declare the namespace though.
- reqNSDecl.put(ns, resolvedNS);
- }
- }
-
- }
- }
- return reqNSDecl;
- }
-
- /**
- * Remove any namespace from the namespaces list if it is in the import list.
- *
- * @param namespaces The namespaces list.
- * @param importedNamespaces A list of imported namespaces.
- * @return The list of namespaces without the imported namespaces.
- */
- protected List removeImports(List namespaces, List importedNamespaces)
- {
- if (namespaces != null && importedNamespaces != null && !importedNamespaces.isEmpty())
- {
- Iterator iImportedNS = importedNamespaces.iterator();
- while (iImportedNS.hasNext())
- {
- String iNS = (String)iImportedNS.next();
-
- namespaces.remove(iNS);
- }
- }
- return namespaces;
- }
-
- /**
- * Remove the local namespace for the schema and the namespaces listed in the ignoreNamespaces
- * list from the namespaces list provided.
- *
- * @param namespaces The list of local namespaces.
- * @param elem The root element of the schema.
- * @return The list of namespaces with the local namespaces removed.
- */
- protected List removeLocalNamespaces(List namespaces, Element elem)
- {
- if (namespaces != null && elem != null)
- {
- String ns = elem.getAttribute(TARGETNAMESPACE);
- namespaces.remove(ns);
-
- for (int i = ignoreNamespaces.length - 1; i >= 0; i--)
- {
- // keep removing the namespace until it is not in the list
- if (namespaces.remove(ignoreNamespaces[i]))
- {
- i++;
- }
- }
- }
- return namespaces;
- }
-
- /**
- * Remove all the namespaces in the namespaces list that aren't contained in the
- * validImportNSs set.
- *
- * @param namespaces A list of namespaces.
- * @param validImportNSs A set of valid namespaces.
- * @return A list of namespaces that does not contain any members which aren't in the validImportNSs set.
- */
- protected List restrictImports(List namespaces, Set validImportNSs)
- {
- Iterator nsIter = namespaces.iterator();
- while(nsIter.hasNext())
- {
- String ns = (String)nsIter.next();
- if(!validImportNSs.contains(ns))
- {
- namespaces.remove(ns);
- nsIter = namespaces.iterator();
- }
- }
- return namespaces;
- }
-
- /**
- * Returns true if the SOAP encoding namespace is in the list of required namespaces,
- * false otherwise.
- *
- * @param reqns The list of namespaces to check for the SOAP encoding namespace.
- * @return True if the SOAP encoding namespaces is in the list, false otherwise.
- */
- protected boolean checkSOAPEncodingRequired(List reqns)
- {
- if (reqns.contains(SOAP_ENCODING_URI))
- {
- return true;
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaValidator.java
deleted file mode 100644
index ff67de8a4..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaValidator.java
+++ /dev/null
@@ -1,316 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ResourceBundle;
-import java.util.Set;
-import java.util.TreeSet;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Types;
-import javax.wsdl.extensions.UnknownExtensibilityElement;
-
-import org.apache.xerces.xs.XSModel;
-import org.eclipse.wst.wsdl.validation.internal.util.ErrorMessage;
-import org.eclipse.wst.wsdl.validation.internal.util.MessageGenerator;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11ValidationInfo;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-
-import com.ibm.wsdl.Constants;
-
-/**
- * Plugin validator for the WSDL Validation framework. Validates inline schema found in a WSDL document.
- */
-public class InlineSchemaValidator implements IWSDL11Validator
-{
- /**
- * Property to allow the WSDL validator to use the target namespace
- * defined on the WSDL document for schemas with no target namespace.
- * This property will allow clients who depend on this functionality
- * to continue to use it and should be removed post 1.5.
- */
- private boolean USE_WSDL_TARGETNAMESPACE = false;
-
- private final String _WARN_OLD_SCHEMA_NAMESPACE = "_WARN_OLD_SCHEMA_NAMESPACE";
- private final String _WARN_SOAPENC_IMPORTED_SCHEMA = "_WARN_SOAPENC_IMPORTED_SCHEMA";
- private final String EMPTY_STRING = "";
- private final String QUOTE = "'";
- MessageGenerator messagegenerator = null;
-
- public InlineSchemaValidator()
- {
- String useNS = System.getProperty("use.wsdl.targetnamespace");
- if(useNS != null && useNS.equals("true"))
- {
- USE_WSDL_TARGETNAMESPACE = true;
- }
- }
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.IWSDL11Validator#validate(java.lang.Object, java.util.List, org.eclipse.wsdl.validate.wsdl11.WSDL11ValidationInfo)
- */
- public void validate(Object element, List parents, IWSDL11ValidationInfo valInfo)
- {
- List elements = new ArrayList();
- UnknownExtensibilityElement elem = (UnknownExtensibilityElement) element;
- Definition wsdlDefinition = (Definition) parents.get(parents.size() - 1);
- String baseLocation = wsdlDefinition.getDocumentBaseURI();
- // Add in the namespaces defined in the doc already that aren't defined locally in this schema.
- // There is no need to check for namespaces other then in the defintions and types elements as
- // inline schema can not have any other parents and must have there two parents.
- // First take care of the definitions element
-
- // create the inline schema string
- Element w3celement = elem.getElement();
- Hashtable parentnamespaces = getNamespaceDeclarationsFromParents(wsdlDefinition,w3celement);
- String targetNamespace = w3celement.getAttribute(Constants.ATTR_TARGET_NAMESPACE);
- // if the targetNamespace hasn't been defined for the schema use the
- // targetNamespace of the definitions element
- if(USE_WSDL_TARGETNAMESPACE && (targetNamespace == null || targetNamespace.equals(EMPTY_STRING)))
- {
- targetNamespace = wsdlDefinition.getTargetNamespace();
- w3celement.setAttribute(Constants.ATTR_TARGET_NAMESPACE,targetNamespace);
- }
-
- // If the namespace given is one of the old schema namespaces produce a warning.
- String namespace = w3celement.getNamespaceURI();
- if(namespace.equals(Constants.NS_URI_XSD_1999) || namespace.equals(Constants.NS_URI_XSD_2000))
- {
- valInfo.addWarning(
- messagegenerator.getString(_WARN_OLD_SCHEMA_NAMESPACE, QUOTE + Constants.NS_URI_XSD_2001 + QUOTE), element);
- }
-
- // now create and call the validator for the inline schema
- XSDValidator schemav = new XSDValidator();
-
- //String fileLocation = new URL(validatormanager.getFilename()).getPath();
- InlineXSDResolver inlineEntityResolver =
- getEntityResolver(wsdlDefinition, (Types) parents.get(0), baseLocation, targetNamespace);
- // add in the external XSD Catalog to resolve schemas offline
- XMLEntityResolverChain entityResolverChain = new XMLEntityResolverChain();
- entityResolverChain.addEntityResolver(inlineEntityResolver);
- entityResolverChain.addEntityResolver(valInfo.getURIResolver());
- //entityResolverChain.addEntityResolver(XMLCatalogResolver.getInstance());
- entityResolverChain.addEntityResolver(new FileEntityResolver());
-
- // Create the string representation of the inline schema.
- String xsd = InlineSchemaGenerator.createXSDString(w3celement, elements, baseLocation, parentnamespaces, inlineEntityResolver.getInlineSchemaNSs());
-
-
- schemav.validateInlineSchema(xsd, targetNamespace, baseLocation, entityResolverChain, inlineEntityResolver, valInfo.getSchemaCache());
-
-// check if the SOAP Encoding namespace is required but not imported
- if (InlineSchemaGenerator.soapEncodingRequiredNotImported(elem.getElement(), baseLocation, parentnamespaces))
- {
- valInfo.addWarning(messagegenerator.getString(_WARN_SOAPENC_IMPORTED_SCHEMA), element);
- }
-
- // If the schema isn't valid add the error messages produced to valinfo.
- // Don't add the errors if they are located on another inline schema. These
- // will be reported when the other schema is validated.
-
- if (!schemav.isValid())
- {
- Iterator errors = schemav.getErrors().iterator();
- while (errors.hasNext())
- {
- ErrorMessage err = (ErrorMessage) errors.next();
- String uri = err.getURI();
- int line = err.getErrorLine();
- String errmess = err.getErrorMessage();
- errmess = replaceNamespace(errmess, namespace);
- if(line > 0)
- {
- if(uri == null || uri.equals(valInfo.getFileURI()))
- {
- valInfo.addError(errmess, getObjectAtLine(line - 1, elements));
- }
- else if(!inlineEntityResolver.isInlineSchema(uri) && !uri.equals(valInfo.getFileURI() + InlineXSDResolver.INLINE_SCHEMA_ID))
- {
- valInfo.addError(errmess, line, err.getErrorColumn(), uri);
- }
- }
- else if(uri != null && !inlineEntityResolver.isInlineSchema(uri) && !uri.equals(valInfo.getFileURI() + InlineXSDResolver.INLINE_SCHEMA_ID))
- {
- valInfo.addError(errmess, 0,0, uri);
- }
- }
- }
- // If the parser was able to create a schema model assign it for use.
- // If the schema is invalid we still want to make use of the model
- // where possible to avoid cascading error messages to message parts.
- XSModel xsModel = schemav.getXSModel();
- if(xsModel != null)
- {
- valInfo.addSchema(xsModel);
- }
- }
-
- /**
- * Get an entity resolver that will resolve inline schemas. Every inline schema is preregistered with
- * the resolver.
- *
- * @param wsdlDefinition The WSDL definitions element.
- * @param types The types element.
- * @param referenceLocation The location of the file that contains this schema.
- * @param targetNamespace The targetNamespace of the schema.
- * @return An entity resolver that can resolve inline schemas.
- */
- protected InlineXSDResolver getEntityResolver(Definition wsdlDefinition, Types types, String referenceLocation, String targetNamespace)
- {
- InlineXSDResolver entityResolver = new InlineXSDResolver();
-// entityResolver.setReferenceLocation(referenceLocation);
- List schemas = types.getExtensibilityElements();
- if (schemas != null)
- {
- Iterator iSchemas = schemas.iterator();
- Set namespaces = new TreeSet();
- while (iSchemas.hasNext())
- {
- UnknownExtensibilityElement extElem = (UnknownExtensibilityElement) iSchemas.next();
- String thisNamespace = extElem.getElement().getAttribute(Constants.ATTR_TARGET_NAMESPACE);
- if(thisNamespace != null)
- {
- namespaces.add(thisNamespace);
- }
- }
- iSchemas = schemas.iterator();
-
- while (iSchemas.hasNext())
- {
- UnknownExtensibilityElement extElem = (UnknownExtensibilityElement) iSchemas.next();
- String thisNamespace = extElem.getElement().getAttribute(Constants.ATTR_TARGET_NAMESPACE);
- if (thisNamespace != null && !thisNamespace.equalsIgnoreCase(targetNamespace))
- {
-
- Element element = extElem.getElement();
-
-// create the inline schema string
- //Element w3celement = elem.getElement();
- Hashtable parentnamespaces = getNamespaceDeclarationsFromParents(wsdlDefinition,element);
- String xsd = InlineSchemaGenerator.createXSDString(element, new ArrayList(), referenceLocation, parentnamespaces, namespaces);
- //addNamespaceDeclarationsFromParents(wsdlDefinition,element);
- entityResolver.add(thisNamespace, xsd);
- }
-
- }
- }
- return entityResolver;
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.wsdl11.validator.IWSDL11Validator#setResourceBundle(java.util.ResourceBundle)
- */
- public void setResourceBundle(ResourceBundle rb)
- {
- messagegenerator = new MessageGenerator(rb);
- }
-
- public void setMessageGenerator(MessageGenerator messgen)
- {
- messagegenerator = messgen;
- }
-
- /**
- * Get the namespace declarations as in the form
- * xmlns="somenamespace"
- * from the definitions and types elements and add them to the schema element so the schema
- * validator will have access to them.
- *
- * @param wsdlDefinition The WSDL definitions element.
- * @param element The types element.
- * @return A hashtable with the namespace elements from the elements provided.
- */
- protected Hashtable getNamespaceDeclarationsFromParents(Definition wsdlDefinition, Element element)
- {
- Hashtable nss = new Hashtable();
- Iterator nameSpaces = wsdlDefinition.getNamespaces().keySet().iterator();
-
- String XMLNS = Constants.ATTR_XMLNS;
-
- while (nameSpaces.hasNext())
- {
- String nsprefix = XMLNS;
- String ns = (String) nameSpaces.next();
- if (!ns.equalsIgnoreCase(""))
- {
- nsprefix += ":";
- }
- if (!element.hasAttribute(nsprefix + ns))
- {
- nss.put(nsprefix + ns, wsdlDefinition.getNamespace(ns));
-// element.setAttribute(nsprefix + ns, wsdlDefinition.getNamespace(ns));
- }
-
- }
- // Next handle the parent types element
- NamedNodeMap atts = element.getParentNode().getAttributes();
- int attslength = atts.getLength();
- for (int i = 0; i < attslength; i++)
- {
- Node tempnode = atts.item(i);
- String nodename = tempnode.getNodeName();
- // if this is a namespace attribute
- if (nodename.indexOf(XMLNS) != -1)
- {
- nss.put(nodename, tempnode.getNodeValue());
- //element.setAttribute(nodename, tempnode.getNodeValue());
- }
- }
- return nss;
- }
-
- /**
- * Given a line number for the schema returns the element found on that line.
- * Useful for obtaining elements from schema Strings.
- *
- * @param line The line number for the schema.
- * @param elements The list of elements to check.
- * @return The object located at the line or at line 0 if the line is invalid.
- */
- protected Object getObjectAtLine(int line, List elements)
- {
- if(line < 0 || line >= elements.size())
- {
- line = 0;
- }
- return elements.get(line);
- }
-
- /**
- * Replace any instance of the 2001 schema namespace in the given message with
- * the given namespace.
- *
- * @param message The message to replace the namespace in.
- * @param namespace The namespace used for replacement.
- * @return The message with the 2001 schema namespace replaced by the given namespace.
- */
- private String replaceNamespace(String message, String namespace)
- {
- String xsd2001 = Constants.NS_URI_XSD_2001;
- int start = message.indexOf(xsd2001);
- int end = start + xsd2001.length();
- if(start < 0)
- {
- return message;
- }
- String startString = message.substring(0,start);
- String endString = message.substring(end,message.length());
- return startString + namespace + endString;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineXSDResolver.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineXSDResolver.java
deleted file mode 100644
index 944b7d76c..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineXSDResolver.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import java.io.IOException;
-import java.io.StringReader;
-import java.util.Hashtable;
-import java.util.Set;
-
-import org.apache.xerces.xni.XMLResourceIdentifier;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
-import org.apache.xerces.xni.parser.XMLInputSource;
-
-/**
- * An XMLEntityResolver that allows inline schemas to resolve each other through imports.
- */
-public class InlineXSDResolver implements XMLEntityResolver
-{
- public static final String INLINE_SCHEMA_ID = "#inlineschema";
- protected final String FILE_PREFIX = "file:";
- protected final String XMLNS = "xmlns";
- protected Hashtable entities = new Hashtable();
-// protected String refLocation = null;
- protected XMLEntityResolver externalResolver = null;
- protected XMLInputSource referringSchemaInputSource = null;
- protected String referringSchemaNamespace = null;
-
- /**
- * Constuctor.
- */
- public InlineXSDResolver()
- {
- }
-
- /* (non-Javadoc)
- * @see org.apache.xerces.xni.parser.XMLEntityResolver#resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier)
- */
- public XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier)
- throws XNIException, IOException {
- String systemId = resourceIdentifier.getExpandedSystemId();
- String publicId = resourceIdentifier.getPublicId();
- String namespace = resourceIdentifier.getNamespace();
- XMLInputSource is = null;
- String schema = null;
- if (systemId == null)
- {
- if(publicId == null)
- {
- if(namespace == null)
- {
- return null;
- }
- else
- {
- systemId = namespace;
- }
- }
- else
- {
- systemId = publicId;
- }
- }
-
- if(referringSchemaNamespace != null && referringSchemaNamespace.equals(systemId))
- {
- if(referringSchemaInputSource!=null)
- {
- return referringSchemaInputSource;
- }
- }
- else if ((schema = (String) entities.get(systemId)) != null && !schema.equals(""))
- {
- is = new XMLInputSource(publicId, referringSchemaInputSource.getSystemId() + INLINE_SCHEMA_ID, null, new StringReader(schema),null);
- }
-
- //if(is == null)
- //{
- // throw new IOException();
- //}
- return is;
- }
-
- /**
- * Add an inline schema.
- *
- * @param targetNamespace - the target namespace of the schema
- * @param schema - a string representation of the schema
- */
- public void add(String targetNamespace, String schema)
- {
- entities.put(targetNamespace, schema);
- }
-
- /**
- * Add the referring inline schema.
- *
- * @param inputSource - a representation of the inline schema
- * @param namespace - the namespace of the inline schema
- */
- public void addReferringSchema(XMLInputSource inputSource, String namespace)
- {
- referringSchemaInputSource = inputSource;
- referringSchemaNamespace = namespace;
- }
-
- /**
- * Return true if the namespace corresponds to an inline schema, false otherwise.
- *
- * @param namespace The namespace of the schema.
- * @return True if the namespace corresponds to an inline schema, false otherwise.
- */
- public boolean isInlineSchema(String namespace)
- {
- return entities.containsKey(namespace);
- }
-
- /**
- * Get the set of the inline schema namespaces.
- *
- * @return The set of the inline schema namespaces.
- */
- public Set getInlineSchemaNSs()
- {
- return entities.keySet();
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/SchemaAttributeTable.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/SchemaAttributeTable.java
deleted file mode 100644
index fe43e121c..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/SchemaAttributeTable.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import org.apache.xerces.impl.xs.SchemaSymbols;
-import org.apache.xerces.util.SymbolTable;
-/**
- * This class will allow the calling code to see if the attribute is defined in schema.
- * This serves as schema for schema.
- */
-public class SchemaAttributeTable extends SymbolTable
-{
-
- /**
- * Constructor.
- */
- public SchemaAttributeTable()
- {
- // add all of the sybols to the table. SchemaSymbols probably should have
- // a SymbolTable for these but it doesn't
-
- super.addSymbol(SchemaSymbols.ATTVAL_TWOPOUNDANY);
- super.addSymbol(SchemaSymbols.ATTVAL_TWOPOUNDLOCAL);
- super.addSymbol(SchemaSymbols.ATTVAL_TWOPOUNDOTHER);
- super.addSymbol(SchemaSymbols.ATTVAL_TWOPOUNDTARGETNS);
- super.addSymbol(SchemaSymbols.ATTVAL_POUNDALL);
- super.addSymbol(SchemaSymbols.ATTVAL_FALSE_0);
- super.addSymbol(SchemaSymbols.ATTVAL_TRUE_1);
- super.addSymbol(SchemaSymbols.ATTVAL_ANYSIMPLETYPE);
- super.addSymbol(SchemaSymbols.ATTVAL_ANYTYPE);
- super.addSymbol(SchemaSymbols.ATTVAL_ANYURI);
- super.addSymbol(SchemaSymbols.ATTVAL_BASE64BINARY);
- super.addSymbol(SchemaSymbols.ATTVAL_BOOLEAN);
- super.addSymbol(SchemaSymbols.ATTVAL_BYTE);
- super.addSymbol(SchemaSymbols.ATTVAL_COLLAPSE);
- super.addSymbol(SchemaSymbols.ATTVAL_DATE);
- super.addSymbol(SchemaSymbols.ATTVAL_DATETIME);
- super.addSymbol(SchemaSymbols.ATTVAL_DAY);
- super.addSymbol(SchemaSymbols.ATTVAL_DECIMAL);
- super.addSymbol(SchemaSymbols.ATTVAL_DOUBLE);
- super.addSymbol(SchemaSymbols.ATTVAL_DURATION);
- super.addSymbol(SchemaSymbols.ATTVAL_ENTITY);
- super.addSymbol(SchemaSymbols.ATTVAL_ENTITIES);
- super.addSymbol(SchemaSymbols.ATTVAL_EXTENSION);
- super.addSymbol(SchemaSymbols.ATTVAL_FALSE);
- super.addSymbol(SchemaSymbols.ATTVAL_FLOAT);
- super.addSymbol(SchemaSymbols.ATTVAL_HEXBINARY);
- super.addSymbol(SchemaSymbols.ATTVAL_ID);
- super.addSymbol(SchemaSymbols.ATTVAL_IDREF);
- super.addSymbol(SchemaSymbols.ATTVAL_IDREFS);
- super.addSymbol(SchemaSymbols.ATTVAL_INT);
- super.addSymbol(SchemaSymbols.ATTVAL_INTEGER);
- super.addSymbol(SchemaSymbols.ATTVAL_LANGUAGE);
- super.addSymbol(SchemaSymbols.ATTVAL_LAX);
- super.addSymbol(SchemaSymbols.ATTVAL_LIST);
- super.addSymbol(SchemaSymbols.ATTVAL_LONG);
- super.addSymbol(SchemaSymbols.ATTVAL_NAME);
- super.addSymbol(SchemaSymbols.ATTVAL_NEGATIVEINTEGER);
- super.addSymbol(SchemaSymbols.ATTVAL_MONTH);
- super.addSymbol(SchemaSymbols.ATTVAL_MONTHDAY);
- super.addSymbol(SchemaSymbols.ATTVAL_NCNAME);
- super.addSymbol(SchemaSymbols.ATTVAL_NMTOKEN);
- super.addSymbol(SchemaSymbols.ATTVAL_NMTOKENS);
- super.addSymbol(SchemaSymbols.ATTVAL_NONNEGATIVEINTEGER);
- super.addSymbol(SchemaSymbols.ATTVAL_NONPOSITIVEINTEGER);
- super.addSymbol(SchemaSymbols.ATTVAL_NORMALIZEDSTRING);
- super.addSymbol(SchemaSymbols.ATTVAL_NOTATION);
- super.addSymbol(SchemaSymbols.ATTVAL_OPTIONAL);
- super.addSymbol(SchemaSymbols.ATTVAL_POSITIVEINTEGER);
- super.addSymbol(SchemaSymbols.ATTVAL_PRESERVE);
- super.addSymbol(SchemaSymbols.ATTVAL_PROHIBITED);
- super.addSymbol(SchemaSymbols.ATTVAL_QNAME);
- super.addSymbol(SchemaSymbols.ATTVAL_QUALIFIED);
- super.addSymbol(SchemaSymbols.ATTVAL_REPLACE);
- super.addSymbol(SchemaSymbols.ATTVAL_REQUIRED);
- super.addSymbol(SchemaSymbols.ATTVAL_RESTRICTION);
- super.addSymbol(SchemaSymbols.ATTVAL_SHORT);
- super.addSymbol(SchemaSymbols.ATTVAL_SKIP);
- super.addSymbol(SchemaSymbols.ATTVAL_STRICT);
- super.addSymbol(SchemaSymbols.ATTVAL_STRING);
- super.addSymbol(SchemaSymbols.ATTVAL_SUBSTITUTION);
- super.addSymbol(SchemaSymbols.ATTVAL_TIME);
- super.addSymbol(SchemaSymbols.ATTVAL_TOKEN);
- super.addSymbol(SchemaSymbols.ATTVAL_TRUE);
- super.addSymbol(SchemaSymbols.ATTVAL_UNBOUNDED);
- super.addSymbol(SchemaSymbols.ATTVAL_UNION);
- super.addSymbol(SchemaSymbols.ATTVAL_UNQUALIFIED);
- super.addSymbol(SchemaSymbols.ATTVAL_UNSIGNEDBYTE);
- super.addSymbol(SchemaSymbols.ATTVAL_UNSIGNEDINT);
- super.addSymbol(SchemaSymbols.ATTVAL_UNSIGNEDLONG);
- super.addSymbol(SchemaSymbols.ATTVAL_UNSIGNEDSHORT);
- super.addSymbol(SchemaSymbols.ATTVAL_YEAR);
- super.addSymbol(SchemaSymbols.ATTVAL_YEARMONTH);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/ValidateErrorHandler.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/ValidateErrorHandler.java
deleted file mode 100644
index 10e3e5d39..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/ValidateErrorHandler.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.parser.XMLErrorHandler;
-import org.apache.xerces.xni.parser.XMLParseException;
-import org.eclipse.wst.wsdl.validation.internal.util.ErrorMessage;
-
-/**
- * An implementation of XMLErrorHandler that captures error from Xerces.
- */
-public class ValidateErrorHandler implements XMLErrorHandler
-{
- ArrayList errorList = new ArrayList();
-
-
-
- /**
- * Get the error messages created by Xerces.
- *
- * @return The errors list.
- */
- public List getErrorMessages()
- {
- return errorList;
- }
-
- /**
- * Create a validation message from the exception and severity.
- *
- * @param key The Xerces error key.
- * @param error The error.
- * @param severity The severity.
- * @return An error message.
- */
- protected ErrorMessage createValidationMessageForException(String key, XMLParseException error, int severity)
- {
- String uri = error.getLiteralSystemId();
- if(uri == null)
- {
- uri = error.getPublicId();
- }
- ErrorMessage errorMessage = new ErrorMessage();
- errorMessage.setErrorLine(error.getLineNumber());
- errorMessage.setErrorMessage(error.getMessage());
- errorMessage.setErrorColumn(error.getColumnNumber());
- errorMessage.setURI(uri);
- errorMessage.setSeverity(severity);
- return errorMessage;
- }
-
- /**
- * @see org.apache.xerces.xni.parser.XMLErrorHandler#error(java.lang.String, java.lang.String, org.apache.xerces.xni.parser.XMLParseException)
- */
- public void error(String domain, String key, XMLParseException exception) throws XNIException
- {
- errorList.add(createValidationMessageForException(key, exception, DOMError.SEVERITY_ERROR));
- }
-
- /**
- * @see org.apache.xerces.xni.parser.XMLErrorHandler#fatalError(java.lang.String, java.lang.String, org.apache.xerces.xni.parser.XMLParseException)
- */
- public void fatalError(String domain, String key, XMLParseException exception) throws XNIException
- {
- errorList.add(createValidationMessageForException(key, exception, DOMError.SEVERITY_FATAL_ERROR));
- }
-
- /**
- * @see org.apache.xerces.xni.parser.XMLErrorHandler#warning(java.lang.String, java.lang.String, org.apache.xerces.xni.parser.XMLParseException)
- */
- public void warning(String domain, String key, XMLParseException exception) throws XNIException
- {
- errorList.add(createValidationMessageForException(key, exception, DOMError.SEVERITY_WARNING));
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XMLEntityResolverChain.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XMLEntityResolverChain.java
deleted file mode 100644
index 85720c60a..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XMLEntityResolverChain.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import java.io.IOException;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import org.apache.xerces.xni.XMLResourceIdentifier;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
-import org.apache.xerces.xni.parser.XMLInputSource;
-
-/**
- * Handle a chain of entity resolvers.
- */
-public class XMLEntityResolverChain implements XMLEntityResolver
-{
- private List entityResolvers = new Vector();
-
- /**
- * @see org.apache.xerces.xni.parser.XMLEntityResolver#resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier)
- */
- public XMLInputSource resolveEntity(XMLResourceIdentifier xmlResourceIdentifier) throws XNIException, IOException
- {
- XMLInputSource is = null;
-
- // TODO: This fix should be removed once this problem is fixed in Xerces.
- // Xerces currently (version 2.7) has a problem when the honour all schema locations
- // property is set and the same schema is imported by two different files and one
- // of the imports uses \ and another uses / in part of the location.
- if(xmlResourceIdentifier.getLiteralSystemId() != null)
- xmlResourceIdentifier.setLiteralSystemId(xmlResourceIdentifier.getLiteralSystemId().replace('\\','/'));
-
- Iterator entityResolverIter = entityResolvers.iterator();
- while (entityResolverIter.hasNext())
- {
- XMLEntityResolver entityResolver = (XMLEntityResolver)entityResolverIter.next();
- try
- {
- is = entityResolver.resolveEntity(xmlResourceIdentifier);
- }
- catch (XNIException e)
- {
- }
- catch (IOException e)
- {
- }
- if (is != null)
- {
- break;
- }
- }
- // Throw and IOException if the file isn't found
- if (is == null)
- {
- throw new IOException("Unable to locate file");
- }
- return is;
- }
-
- /**
- * Add an entity resolver to this chain.
- *
- * @param entityResolver The resolver to add to the chain.
- */
- public void addEntityResolver(XMLEntityResolver entityResolver)
- {
- entityResolvers.add(entityResolver);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XSDValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XSDValidator.java
deleted file mode 100644
index 310efdc62..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XSDValidator.java
+++ /dev/null
@@ -1,300 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd;
-
-import java.io.Reader;
-import java.io.StringReader;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.apache.xerces.impl.Constants;
-import org.apache.xerces.impl.xs.XSDDescription;
-import org.apache.xerces.parsers.XMLGrammarPreparser;
-import org.apache.xerces.util.XMLGrammarPoolImpl;
-import org.apache.xerces.xni.grammars.Grammar;
-import org.apache.xerces.xni.grammars.XMLGrammarDescription;
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.apache.xerces.xni.grammars.XSGrammar;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
-import org.apache.xerces.xni.parser.XMLInputSource;
-import org.apache.xerces.xs.StringList;
-import org.apache.xerces.xs.XSModel;
-
-
-/**
- * Validate schemas from files or String.
- */
-public class XSDValidator
-{
- protected final String HONOUR_ALL_SCHEMA_LOCATIONS_FEATURE_ID = "http://apache.org/xml/features/honour-all-schemaLocations";
- protected final String FILE_PREFIX = "file:";
- protected final String XMLNS = "xmlns";
- protected final String TARGETNAMESPACE = "targetNamespace";
- protected final String NAMESPACE = "namespace";
- protected final String IMPORT = "import";
- protected final String SCHEMALOCATION = "schemaLocation";
- protected final String TYPE = "type";
- protected final String[] ignoreNamespaces =
- { "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/1999/XMLSchema" };
-
- protected XSModel xsModel;
- protected boolean isValidXSD;
- protected List errors;
- protected String filelocation;
-
- /**
- * Constructor.
- */
- public XSDValidator()
- {
- xsModel = null;
- isValidXSD = false;
- errors = null;
- }
- /**
- * Validate an inline schema.
- *
- * @param schema A schema represented as a string.
- * @param targetNamespace The target namespace of the schema.
- * @param fileloc The uri of the file that contains the schema.
- */
- public void validateInlineSchema(String schema, String targetNamespace, String fileloc)
- {
- validateInlineSchema(schema, targetNamespace, fileloc, null, null, null);
- }
-
- /**
- * Validate an inline schema and specify an entity resolver.
- *
- * @param schema This schema represented as a string.
- * @param targetNamespace The target namespace of the schema.
- * @param fileloc The uri of the file that contains this schema.
- * @param entityResolverChain The entity resolver chain.
- * @param inlineSchemaEntityResolver An inline schema resolver for this schema.
- * @param grammarPool A Xerces XMLGrammarPool that holds precached schemas.
- */
- public void validateInlineSchema(
- String schema,
- String targetNamespace,
- String fileloc,
- XMLEntityResolver entityResolverChain,
- XMLEntityResolver inlineSchemaEntityResolver,
- XMLGrammarPool grammarPool)
- {
- filelocation = fileloc;
-
- validateXSD(schema, true, entityResolverChain,targetNamespace, inlineSchemaEntityResolver, grammarPool);
- }
-
- /**
- * Validate the file located at the uri specified with the given entity resolver.
- *
- * @param uri An absolute uri for the schema location.
- * @param entityResolver An entity resolver to be used.
- * @param grammarPool A Xerces XMLGrammarPool that holds precached schemas.
- */
- public void validate(String uri, XMLEntityResolver entityResolver, XMLGrammarPool grammarPool)
- {
- validateXSD(uri, false, entityResolver, null, null, grammarPool);
- }
-
- /**
- * Validate the schema.
- *
- * @param schema The schema or it's location.
- * @param inlineXSD True if an inline schema, false otherwise.
- * @param entityResolver An entity resolver to use.
- * @param targetNamespace The target namespace of the schema being validated.
- * @param inlineSchemaEntityResolver An inline schema entity resolver.
- * @param grammarPool A Xerces XMLGrammarPool that holds precached schemas.
- */
- protected void validateXSD(String schema, boolean inlineXSD, XMLEntityResolver entityResolver, String targetNamespace, XMLEntityResolver inlineSchemaEntityResolver, XMLGrammarPool grammarPool)
- {
- ValidateErrorHandler errorHandler = new ValidateErrorHandler();
- //errorHandler.getErrorMessages().clear();
- try
- {
- XMLGrammarPreparser grammarPreparser = new XMLGrammarPreparser();
- grammarPreparser.registerPreparser(XMLGrammarDescription.XML_SCHEMA,null/*schemaLoader*/);
-
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.CONTINUE_AFTER_FATAL_ERROR_FEATURE, false);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE, true);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.NAMESPACE_PREFIXES_FEATURE, true);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.VALIDATION_FEATURE, true);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.SCHEMA_VALIDATION_FEATURE, true);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.SCHEMA_FULL_CHECKING, false);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.EXTERNAL_GENERAL_ENTITIES_FEATURE, true);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.EXTERNAL_PARAMETER_ENTITIES_FEATURE, true);
- grammarPreparser.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ATTDEF_FEATURE, true);
-
- try
- {
- grammarPreparser.setFeature(HONOUR_ALL_SCHEMA_LOCATIONS_FEATURE_ID, true);
- }
- catch (Exception e)
- {
- // Catch the exception and ignore if we can't set this feature.
- }
-
- // cs : toggle the comments on these 2 lines to easily disable caching
- // grammarPreparser.setGrammarPool(new XMLGrammarPoolImpl());
- grammarPreparser.setGrammarPool(grammarPool != null ? grammarPool : new XMLGrammarPoolImpl());
- grammarPreparser.setErrorHandler(errorHandler);
- if (entityResolver != null)
- {
- grammarPreparser.setEntityResolver(entityResolver);
- }
-
- try
- {
- XMLInputSource is = null;
- List oldGrammars = null;
- XMLGrammarPoolImpl pool = null;
- // This allows support for the inline schema in WSDL documents.
- if (inlineXSD)
- {
- Reader reader = new StringReader(schema);
- is = new XMLInputSource(null,filelocation,filelocation,reader,null);
-
- ((InlineXSDResolver)inlineSchemaEntityResolver).addReferringSchema(is,targetNamespace);
- // In the case that 'shared' grammar pool is used we need to consider
- // that we might have already added a schema to the pool with the same target namespace
- // as the inline schema we're hoping to construct. In this case we need to remove
- // the schema from the pool before constructing our inline schema. We can add it
- // back when we're all done.
- pool = (XMLGrammarPoolImpl)grammarPreparser.getGrammarPool();
- oldGrammars = new ArrayList();
- // Remove the inline schema namespace if it is listed directly
- // in the pool. If it is indirectly listed as an import of a grammar listed
- // directly in the pool hide the grammar to continue to get caching benefits
- // from the cached grammar.
- Grammar[] grammars = pool.retrieveInitialGrammarSet(XMLGrammarDescription.XML_SCHEMA);
- int numGrammars = grammars.length;
- for(int i = 0; i < numGrammars; i++)
- {
- XMLGrammarDescription desc = grammars[i].getGrammarDescription();
- if(targetNamespace.equals(desc.getNamespace()))
- {
- oldGrammars.add(pool.removeGrammar(desc));
- }
- else
- {
- if(grammars[i] instanceof XSGrammar)
- {
- XSGrammar grammar = (XSGrammar)grammars[i];
-
- StringList namespaces = grammar.toXSModel().getNamespaces();
- if(namespaces.contains(targetNamespace))
- {
- oldGrammars.add(pool.removeGrammar(desc));
- //pool.putGrammar(new XSGrammarHider(grammar, targetNamespace));
- }
- }
- }
- }
-
- Set inlineNSs = ((InlineXSDResolver)inlineSchemaEntityResolver).getInlineSchemaNSs();
- Iterator nsiter = inlineNSs.iterator();
- while(nsiter.hasNext())
- {
- XSDDescription desc = new XSDDescription();
- desc.setNamespace((String)nsiter.next());
- Grammar oldGrammar = pool.removeGrammar(desc);
- if(oldGrammar != null)
- oldGrammars.add(oldGrammar);
- }
-
- }
- // get the input source for an external schema file
- else
- {
- is = new XMLInputSource(null,schema,schema);
- }
-
- XSGrammar grammar = (XSGrammar)grammarPreparser.preparseGrammar(XMLGrammarDescription.XML_SCHEMA,is);
- xsModel = grammar.toXSModel();
-
- // Here we add the temporiliy removed schema back.
- if (inlineXSD && oldGrammars != null)
- {
- XSDDescription description = new XSDDescription();
- description.setNamespace(targetNamespace);
- pool.removeGrammar(description);
-
- Set inlineNSs = ((InlineXSDResolver)inlineSchemaEntityResolver).getInlineSchemaNSs();
- Iterator nsiter = inlineNSs.iterator();
- while(nsiter.hasNext())
- {
- XSDDescription desc = new XSDDescription();
- desc.setNamespace((String)nsiter.next());
- pool.removeGrammar(desc);
- }
-
- Iterator oldGIter = oldGrammars.iterator();
- while(oldGIter.hasNext())
- {
- Grammar oldGrammar = (Grammar)oldGIter.next();
- if(oldGrammar != null)
- pool.putGrammar(oldGrammar);
- }
- }
- }
- catch (Exception e)
- {
- // Parser will return null pointer exception if the document is structurally invalid.
- // In this case we simply ignore the error.
- //System.out.println(e);
- }
- errors = errorHandler.getErrorMessages();
- }
- catch (Exception e)
- {
- System.out.println(e);
- }
- if (errors.isEmpty())
- {
- isValidXSD = true;
- }
- }
-
- /**
- * Returns the XSModel created.
- *
- * @return The XSModel created.
- */
-
- public XSModel getXSModel()
- {
- return xsModel;
- }
- /**
- * Returns true if the schema is valid, false otherwise.
- *
- * @return True if the schema is valid, false otherwise.
- */
- public boolean isValid()
- {
- return isValidXSD;
- }
-
- /**
- * Return the error list.
- *
- * @return A list of error from the schema.
- */
- public List getErrors()
- {
- return errors;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/AbstractXMLConformanceFactory.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/AbstractXMLConformanceFactory.java
deleted file mode 100644
index d7cb52e10..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/AbstractXMLConformanceFactory.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-/**
- * Factory for generating objects needed for XML Conformance validation.
- */
-public abstract class AbstractXMLConformanceFactory
-{
- protected static AbstractXMLConformanceFactory instance;
-
- /**
- * Returns the instance of this factory.
- *
- * @return the instance of this factory
- */
- public static AbstractXMLConformanceFactory getInstance()
- {
- if (instance == null)
- {
- instance = new DefaultXMLConformanceFactory();
- }
- return instance;
- }
-
- /**
- * Set the implementation for this factory to use.
- *
- * @param factory - the implementation this factory will use
- */
- public static void setImplementation(AbstractXMLConformanceFactory factory)
- {
- instance = factory;
- }
-
- /**
- * Return an XML validator.
- *
- * @return an XML validator
- */
- abstract public IXMLValidator getXMLValidator();
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLConformanceFactory.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLConformanceFactory.java
deleted file mode 100644
index 1e4e15c4d..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLConformanceFactory.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-
-/**
- * The default implementation of AbstractXMLConformanceFactory.
- */
-public class DefaultXMLConformanceFactory extends AbstractXMLConformanceFactory
-{
-
- /**
- * Constructor.
- */
- public DefaultXMLConformanceFactory()
- {
- }
-
- /**
- * @see org.eclipse.wst.wsdl.validation.internal.xml.AbstractXMLConformanceFactory#getXMLValidator()
- */
- public IXMLValidator getXMLValidator()
- {
- return new DefaultXMLValidator();
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLValidator.java
deleted file mode 100644
index c653304b8..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLValidator.java
+++ /dev/null
@@ -1,473 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.Reader;
-import java.io.StringReader;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Set;
-import java.util.Stack;
-import java.util.TreeSet;
-
-import org.apache.xerces.impl.XMLErrorReporter;
-import org.apache.xerces.parsers.SAXParser;
-import org.apache.xerces.parsers.StandardParserConfiguration;
-import org.apache.xerces.xni.XMLResourceIdentifier;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
-import org.apache.xerces.xni.parser.XMLInputSource;
-import org.eclipse.wst.wsdl.validation.internal.ValidationMessageImpl;
-import org.eclipse.wst.wsdl.validation.internal.logging.ILogger;
-import org.eclipse.wst.wsdl.validation.internal.logging.LoggerFactory;
-import org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolutionResult;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-import org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd.XSDValidator;
-import org.xml.sax.Attributes;
-import org.xml.sax.InputSource;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-
-import com.ibm.wsdl.Constants;
-
-/**
- * The default implementation of IXMLValidator.
- */
-public class DefaultXMLValidator implements IXMLValidator
-{
- protected String uri;
- protected URIResolver uriResolver = null;
- protected List errors = new ArrayList();
- //protected StringBuffer schemaLocationString = new StringBuffer();
- protected List ignoredNamespaceList = new ArrayList();
-
- protected InputStream inputStream = null;
-
- protected String currentErrorKey = null;
- protected Object[] currentMessageArguments = null;
-
- protected boolean isChildOfDoc = false;
- protected XMLGrammarPool grammarPool = null;
-
- /**
- * A stack of start tag locations, used to move errors
- * reported at the close tag to be reported at the start tag.
- */
- protected Stack startElementLocations = new Stack();
- protected Set adjustLocationErrorKeySet = new TreeSet();
-
-/**
- * Constructor.
- */
- public DefaultXMLValidator()
- {
- super();
-
- ignoredNamespaceList.add(Constants.NS_URI_XSD_1999);
- ignoredNamespaceList.add(Constants.NS_URI_XSD_2000);
- ignoredNamespaceList.add(Constants.NS_URI_XSD_2001);
-
- adjustLocationErrorKeySet.add("cvc-complex-type.2.4.b");
- adjustLocationErrorKeySet.add("cvc-complex-type.2.3");
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.xml.IXMLValidator#setFile(java.lang.String)
- */
- public void setFile(String uri)
- {
- this.uri = uri;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.xml.IXMLValidator#setURIResolver(org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver)
- */
- public void setURIResolver(URIResolver uriResolver)
- {
- this.uriResolver = uriResolver;
- }
-
- /**
- * @param grammarPool
- */
- public void setGrammarPool(XMLGrammarPool grammarPool)
- {
- this.grammarPool = grammarPool;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.xml.IXMLValidator#run()
- */
- public void run()
- {
- // Validate the XML file.
- try
- {
- Reader reader1 = null; // Used for validation parse.
-
- InputSource validateInputSource;
-
- validateInputSource = new InputSource(uri);
- if (this.inputStream != null)
- {
- String string = createStringForInputStream(inputStream);
- reader1 = new StringReader(string);
-
- validateInputSource.setByteStream(inputStream);
- validateInputSource.setCharacterStream(reader1);
- }
-
- XMLReader reader = createXMLReader();
- reader.parse(validateInputSource);
- }
- catch (SAXParseException e)
- {
- // No need to add an error here. SAXParseExceptions are reported by the error reporter.
- }
- catch (IOException e)
- {
- // No need to log this error. The WSDL validator will catch this error when creating the dom model.
- //LoggerFactory.getInstance().getLogger().log("The WSDL validator was unable to read file " + uri + ".", ILogger.SEV_ERROR, e);
- }
- catch (Exception e)
- {
- LoggerFactory.getInstance().getLogger().log("An exception occurred while performing WSDL XML conformance validation for file " + uri + ".", ILogger.SEV_ERROR, e);
- }
- }
-
- /**
- * @param inputStream
- * @return
- */
- final String createStringForInputStream(InputStream inputStream)
- {
- // Here we are reading the file and storing to a stringbuffer.
- StringBuffer fileString = new StringBuffer();
- try
- {
- InputStreamReader inputReader = new InputStreamReader(inputStream);
- BufferedReader reader = new BufferedReader(inputReader);
- char[] chars = new char[1024];
- int numberRead = reader.read(chars);
- while (numberRead != -1)
- {
- fileString.append(chars, 0, numberRead);
- numberRead = reader.read(chars);
- }
- }
- catch (Exception e)
- {
- LoggerFactory.getInstance().getLogger().log("The WSDL valdiator was unable to create to create a string representation of an input stream. WSDL XML validation may not have run correctly.", ILogger.SEV_ERROR, e);
- }
- return fileString.toString();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.xml.IXMLValidator#hasErrors()
- */
- public boolean hasErrors()
- {
- return !errors.isEmpty();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.validation.internal.xml.IXMLValidator#getErrors()
- */
- public List getErrors()
- {
- return errors;
- }
-
- /**
- * @param message
- * @param line
- * @param column
- * @param uri
- */
- public void addError(String message, int line, int column, String uri)
- {
- // For the following errors the line number will be modified to use that of the start
- // tag instead of the end tag.
- if (currentErrorKey != null && adjustLocationErrorKeySet.contains(currentErrorKey))
- {
- LocationCoordinate adjustedCoordinates = (LocationCoordinate)startElementLocations.peek();
- line = adjustedCoordinates.getLineNumber();
- column = adjustedCoordinates.getColumnNumner();
- }
-
- errors.add(new ValidationMessageImpl(message, line, column, ValidationMessageImpl.SEV_WARNING, uri, currentErrorKey, currentMessageArguments));
- }
-
- /**
- * The handler for the SAX parser. This handler will obtain the WSDL
- * namespace, handle errors and resolve entities.
- */
- protected class XMLConformanceDefaultHandler extends DefaultHandler
- {
- private Locator locator = null;
-
- public void setDocumentLocator(Locator locator)
- {
- this.locator = locator;
- super.setDocumentLocator(locator);
- }
-
- /**
- * @see org.xml.sax.ErrorHandler#error(SAXParseException)
- */
- public void error(SAXParseException arg0) throws SAXException
- {
- String tempURI = arg0.getSystemId();
- if (inputStream!= null && arg0.getSystemId() == null)
- {
- //mh: In this case we are validating a stream so the URI may be null in this exception
- tempURI = uri;
- }
- addError(arg0.getMessage(), arg0.getLineNumber(), arg0.getColumnNumber(), tempURI);
- }
-
- /**
- * @see org.xml.sax.ErrorHandler#fatalError(SAXParseException)
- */
- public void fatalError(SAXParseException arg0) throws SAXException
- {
- addError(arg0.getMessage(), arg0.getLineNumber(), arg0.getColumnNumber(), arg0.getSystemId());
- }
-
- /**
- * @see org.xml.sax.ErrorHandler#warning(SAXParseException)
- */
- public void warning(SAXParseException arg0) throws SAXException
- {
- addError(arg0.getMessage(), arg0.getLineNumber(), arg0.getColumnNumber(), arg0.getSystemId());
- }
-
- /**
- * @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String, java.lang.String)
- */
- public void endElement(String uri, String localName, String qName)
- throws SAXException {
- if(localName.equals("documentation") && (uri.equals(Constants.NS_URI_WSDL) || uri.equals(Constants.NS_URI_XSD_2001)|| uri.equals(Constants.NS_URI_XSD_1999) || uri.equals(Constants.NS_URI_XSD_2000)))
- {
- isChildOfDoc = false;
- }
- super.endElement(uri, localName, qName);
- startElementLocations.pop();
- }
- /**
- * @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
- */
- public void startElement(String uri, String localName, String qName,
- Attributes atts) throws SAXException {
- startElementLocations.push(new LocationCoordinate(locator.getLineNumber(), locator.getColumnNumber()));
- if(localName.equals("documentation") && (uri.equals(Constants.NS_URI_WSDL) || uri.equals(Constants.NS_URI_XSD_2001)|| uri.equals(Constants.NS_URI_XSD_1999) || uri.equals(Constants.NS_URI_XSD_2000)))
- {
- isChildOfDoc = true;
- }
- super.startElement(uri, localName, qName, atts);
- }
- }
-
- /**
- * @param inputStream - set the inputStream to validate
- */
- public void setInputStream(InputStream inputStream)
- {
- this.inputStream = inputStream;
- }
-
- protected class XMLValidatorParserConfiguration extends StandardParserConfiguration
- {
- /* (non-Javadoc)
- * @see org.apache.xerces.parsers.DTDConfiguration#createErrorReporter()
- */
- protected XMLErrorReporter createErrorReporter()
- {
- return new XMLErrorReporter()
- {
- /* (non-Javadoc)
- * @see org.apache.xerces.impl.XMLErrorReporter#reportError(java.lang.String, java.lang.String, java.lang.Object[], short)
- */
- public void reportError(String domain, String key, Object[] arguments,
- short severity) throws XNIException
- {
- currentErrorKey = key;
- currentMessageArguments = arguments;
- super.reportError(domain, key, arguments, severity);
- }
- };
- }
- }
-
- /**
- * Create an XML Reader.
- *
- * @return The newly created XML reader or null if unsuccessful.
- * @throws Exception
- */
- protected XMLReader createXMLReader() throws Exception
- {
- SAXParser reader = null;
- try
- {
- reader = new org.apache.xerces.parsers.SAXParser(new XMLValidatorParserConfiguration());
-
- XMLConformanceDefaultHandler conformanceDefaultHandler = new XMLConformanceDefaultHandler();
- reader.setErrorHandler(conformanceDefaultHandler);
- reader.setContentHandler(conformanceDefaultHandler);
-
- // Older Xerces versions will thrown a NPE if a null grammar pool is set.
- if(grammarPool != null)
- {
- reader.setProperty(org.apache.xerces.impl.Constants.XERCES_PROPERTY_PREFIX + org.apache.xerces.impl.Constants.XMLGRAMMAR_POOL_PROPERTY, grammarPool);
- }
- reader.setProperty(org.apache.xerces.impl.Constants.XERCES_PROPERTY_PREFIX + org.apache.xerces.impl.Constants.ENTITY_RESOLVER_PROPERTY, new MyEntityResolver(uriResolver));
- reader.setFeature(org.apache.xerces.impl.Constants.XERCES_FEATURE_PREFIX + org.apache.xerces.impl.Constants.CONTINUE_AFTER_FATAL_ERROR_FEATURE, false);
- reader.setFeature(org.apache.xerces.impl.Constants.SAX_FEATURE_PREFIX + org.apache.xerces.impl.Constants.NAMESPACES_FEATURE, true);
- reader.setFeature(org.apache.xerces.impl.Constants.SAX_FEATURE_PREFIX + org.apache.xerces.impl.Constants.NAMESPACE_PREFIXES_FEATURE, true);
- reader.setFeature(org.apache.xerces.impl.Constants.SAX_FEATURE_PREFIX + org.apache.xerces.impl.Constants.VALIDATION_FEATURE, true);
- reader.setFeature(org.apache.xerces.impl.Constants.XERCES_FEATURE_PREFIX + org.apache.xerces.impl.Constants.SCHEMA_VALIDATION_FEATURE, true);
- }
- catch(Exception e)
- {
- LoggerFactory.getInstance().getLogger().log("Error creating XML reader for WSDL XML conformance validation.", ILogger.SEV_ERROR, e);
- }
- return reader;
- }
-
- /**
- * A custom entity resolver that uses the URI resolver specified to resolve entities.
- */
- protected class MyEntityResolver implements XMLEntityResolver
- {
- private URIResolver uriResolver;
-
- /**
- * Constructor.
- *
- * @param uriResolver The URI resolver to use with this entity resolver.
- */
- public MyEntityResolver(URIResolver uriResolver)
- {
- this.uriResolver = uriResolver;
- }
-
- /* (non-Javadoc)
- * @see org.apache.xerces.xni.parser.XMLEntityResolver#resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier)
- */
- public XMLInputSource resolveEntity(XMLResourceIdentifier rid) throws XNIException, IOException
- {
- // If we're currently examining a subelement of the
- // WSDL or schema documentation element we don't want to resolve it
- // as anything is allowed as a child of documentation.
- if(isChildOfDoc)
- {
- return new XMLInputSource(rid);
- }
-
- boolean nsUsed = false;
-
- String ns = rid.getNamespace();
- if(ns != null && ignoredNamespaceList.contains(ns))
- {
- return new XMLInputSource(rid);
- }
-
- String systemId = rid.getLiteralSystemId();
- if(systemId == null)
- {
- systemId = ns;
- nsUsed = true;
- }
- String publicId = rid.getPublicId();
- if(publicId == null)
- {
- publicId = systemId;
- }
-
- // Xerces tends to try to resolve locations with no information.
- // No need to do any processing if we have no information.
- if(publicId != null || systemId != null)
- {
- IURIResolutionResult result = uriResolver.resolve("", publicId, systemId);
- String uri = result.getPhysicalLocation();
- if (uri != null && !uri.equals(""))
- {
- // If the namespace was used to resolve this reference ensure a schema
- // has been returned. Namespaces tend to point to Web resources that
- // may or may not be schemas.
- boolean createEntityResult = true;
- if(nsUsed)
- {
- XSDValidator xsdVal = new XSDValidator();
- xsdVal.validate(uri, uriResolver, null);
- if(!xsdVal.isValid())
- createEntityResult = false;
- }
-
- if(createEntityResult)
- {
- try
- {
- URL entityURL = new URL(uri);
- XMLInputSource is = new XMLInputSource(rid.getPublicId(), systemId, result.getLogicalLocation());
- is.setByteStream(entityURL.openStream());
- if (is != null)
- {
- return is;
- }
- }
- catch(Exception e)
- {
- // No need to report this error. Simply continue below.
- }
- }
- }
- }
- return null;
- }
- }
-
- /**
- * A line and column number coordinate.
- */
- protected class LocationCoordinate
- {
- private int lineNo = -1;
- private int columnNo = -1;
-
- public LocationCoordinate(int lineNumber, int columnNumber)
- {
- this.lineNo = lineNumber;
- this.columnNo = columnNumber;
- }
-
- public int getLineNumber()
- {
- return this.lineNo;
- }
-
- public int getColumnNumner()
- {
- return this.columnNo;
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/ElementLocation.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/ElementLocation.java
deleted file mode 100644
index 57d9a3abe..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/ElementLocation.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-/**
- * Holds the location information for an element in the model.
- */
-public class ElementLocation
-{
- public static final String ID = "location";
- protected int line;
- protected int column;
- /**
- * Constructor.
- *
- * @param line - the line location of the element
- * @param column - the column location of the element
- */
- public ElementLocation(int line, int column)
- {
- this.line = line;
- this.column = column;
- }
-
- /**
- * Return the line number for this element.
- *
- * @return the line number for this element
- */
- public int getLineNumber()
- {
- return line;
- }
-
- /**
- * Return the column number for this element.
- *
- * @return the column number for this element
- */
- public int getColumnNumber()
- {
- return column;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLCatalog.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLCatalog.java
deleted file mode 100644
index 43f456e45..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLCatalog.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-/**
- * An interface for an XML catalog.
- */
-public interface IXMLCatalog
-{
-
- /**
- * Add a public id and a location to the catalog.
- *
- * @param publicId -
- * the public id of the entry
- * @param systemId -
- * the system id of the entry
- */
- public abstract void addEntryToCatalog(String publicId, String systemId);
-
- /**
- * Resolve the location of an entity given public and system ids.
- *
- * @param publicId -
- * the public id of the entity to be resolved
- * @param systemId -
- * the system id of the entity to be resolved
- * @return the location of the entity
- */
- public abstract String resolveEntityLocation(String publicId, String systemId);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLValidator.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLValidator.java
deleted file mode 100644
index f97001407..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLValidator.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-import java.util.List;
-
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
-
-/**
- * An interface for an XML validator.
- */
-public interface IXMLValidator
-{
- /**
- * Set the file to be validated.
- *
- * @param uri - the uri of the file to be validated
- */
- public void setFile(String uri);
-
- /**
- * Validate the file.
- */
- public void run();
-
- /**
- * Returns true if there were validation errors, false otherwise.
- *
- * @return true if there were validation errors, false otherwise
- */
- public boolean hasErrors();
-
- /**
- * Returns the list of errors.
- *
- * @return the list of errors
- */
- public List getErrors();
-
- /**
- * Set the URI resolver to use.
- *
- * @param uriResolver The URI resolver to use.
- */
- public void setURIResolver(URIResolver uriResolver);
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/LineNumberDOMParser.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/LineNumberDOMParser.java
deleted file mode 100644
index 0ade3673c..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/LineNumberDOMParser.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-import org.apache.xerces.dom.ElementImpl;
-import org.apache.xerces.parsers.DOMParser;
-import org.apache.xerces.util.SymbolTable;
-import org.apache.xerces.xni.Augmentations;
-import org.apache.xerces.xni.NamespaceContext;
-import org.apache.xerces.xni.QName;
-import org.apache.xerces.xni.XMLAttributes;
-import org.apache.xerces.xni.XMLLocator;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.grammars.XMLGrammarPool;
-import org.apache.xerces.xni.parser.XMLParserConfiguration;
-import org.w3c.dom.Element;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-
-import com.ibm.wsdl.Constants;
-
-/**
- * A DOM parser that will register location information with the elements in the model.
- */
-public class LineNumberDOMParser extends DOMParser
-{
- XMLLocator locator = null;
-
- /**
- * Constructor.
- */
- public LineNumberDOMParser()
- {
- super();
- try
- {
- setFeature(DEFER_NODE_EXPANSION, false);
- }
- catch (SAXNotSupportedException e)
- {
- System.out.println(e);
- }
- catch (SAXNotRecognizedException e)
- {
- System.out.println(e);
- }
- }
-
- /**
- * Constuctor.
- *
- * @param arg0 The parser configuration.
- */
- public LineNumberDOMParser(XMLParserConfiguration arg0)
- {
- super(arg0);
- try
- {
- setFeature(DEFER_NODE_EXPANSION, false);
- }
- catch (SAXNotSupportedException e)
- {
- System.out.println(e);
- }
- catch (SAXNotRecognizedException e)
- {
- System.out.println(e);
- }
- }
-
- /**
- * Constructor.
- *
- * @param arg0 A symbol table for the parser.
- */
- public LineNumberDOMParser(SymbolTable arg0)
- {
- super(arg0);
- }
-
- /**
- * Constructor.
- *
- * @param arg0 A symbol table for the parser.
- * @param arg1 A grammar pool for the parser.
- */
- public LineNumberDOMParser(SymbolTable arg0, XMLGrammarPool arg1)
- {
- super(arg0, arg1);
- }
-
- /**
- * @see org.apache.xerces.xni.XMLDocumentHandler#startElement(org.apache.xerces.xni.QName, org.apache.xerces.xni.XMLAttributes, org.apache.xerces.xni.Augmentations)
- */
- public void startElement(QName arg0, XMLAttributes arg1, Augmentations arg2) throws XNIException
- {
- Element element;
- // For elements from the Schema namespace we want to preserve them
- // the way they were entered. Revert the values to the non-normalized values.
- String ns = arg0.uri;
- if(ns != null && (ns.equals(Constants.NS_URI_XSD_2001) || ns.equals(Constants.NS_URI_XSD_1999) || ns.equals(Constants.NS_URI_XSD_2000)))
- {
- int numatts = arg1.getLength();
- for(int i = 0; i < numatts; i++)
- {
- String nonNormalizedValue = arg1.getNonNormalizedValue(i);
- arg1.setValue(i, nonNormalizedValue);
- }
- }
- super.startElement(arg0, arg1, arg2);
- try
- {
- element = (Element)getProperty(CURRENT_ELEMENT_NODE);
- ElementImpl elementImpl = (ElementImpl)element;
- // Setting the user data with an identifier such as ElementLocation.KEY_NAME
- // may be a long term good idea. The setUserData method with no id is used
- // to support JVMs with alternate versions of Xerces.
- elementImpl.setUserData(new ElementLocation(locator.getLineNumber(), locator.getColumnNumber()));
- }
- // catch SAXNotRecognizedException and SAXNotSupportedException if can't get element
- catch (ClassCastException e)
- {
- //System.out.println(e);
- }
- catch (SAXNotRecognizedException e)
- {
- //System.out.println(e);
- }
- catch (SAXNotSupportedException e)
- {
- //System.out.println(e);
- }
- }
-
- /**
- * @see org.apache.xerces.xni.XMLDocumentHandler#startDocument(org.apache.xerces.xni.XMLLocator, java.lang.String, org.apache.xerces.xni.NamespaceContext, org.apache.xerces.xni.Augmentations)
- */
- public void startDocument(XMLLocator arg0, String arg1, NamespaceContext arg2, Augmentations arg3)
- throws XNIException
- {
- locator = arg0;
- super.startDocument(arg0, arg1, arg2, arg3);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalog.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalog.java
deleted file mode 100644
index f99887bcf..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalog.java
+++ /dev/null
@@ -1,364 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.parsers.FactoryConfigurationError;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.apache.xerces.jaxp.SAXParserFactoryImpl;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/**
- * XMLCatalog This class can be used to register, obtain and delete an instance
- * of an XML catalog. Method definitions are provided for the catalog to set a
- * location in the catalog and resolve an entity from the catalog.
- */
-public class XMLCatalog implements IXMLCatalog
-{
- //private final static String _APACHE_FEATURE_CONTINUE_AFTER_FATAL_ERROR = "http://apache.org/xml/features/continue-after-fatal-error";
-
- private final static String _APACHE_FEATURE_NAMESPACE_PREFIXES = "http://xml.org/sax/features/namespace-prefixes";
-
- private final static String _APACHE_FEATURE_NAMESPACES = "http://xml.org/sax/features/namespaces";
-
- //private final static String _APACHE_FEATURE_VALIDATION = "http://xml.org/sax/features/validation";
-
- //private final static String _APACHE_FEATURE_VALIDATION_SCHEMA = "http://apache.org/xml/features/validation/schema";
-
- private final static String FILE_PROTOCOL = "file:///";
-
- private static IXMLCatalog instance = null;
-
- private static String extxmlcatalogclass = null;
-
- private static ClassLoader extclassLoader = null;
-
- private static IXMLCatalog extXMLCatalogInstance = null;
-
- private static List schemadirs = new ArrayList();
-
- private static List entities = new ArrayList();
-
- /**
- * A hashtable to hold the XML catalog entries.
- */
- protected Map catalog = new Hashtable();
-
- /**
- * Return an instance of the XML catalog. Assigns all registered schemas to
- * the XML catalog.
- *
- * @return The instance of the XML catalog.
- */
- public static IXMLCatalog getInstance()
- {
- if (instance == null)
- {
- instance = new XMLCatalog();
-
- // Add the registered entities to the catalog.
- Iterator entityIter = entities.iterator();
- while (entityIter.hasNext())
- {
- XMLCatalogEntityHolder entity = (XMLCatalogEntityHolder) entityIter.next();
- instance.addEntryToCatalog(entity.getPublicId(), entity.getSystemId());
- }
-
- // Add the schemas in the schema directories to the catalog.
- if (schemadirs.size() > 0)
- {
- SAXParser saxParser = null;
- try
- {
- SAXParserFactory parserfactory = new SAXParserFactoryImpl();
- parserfactory.setFeature(_APACHE_FEATURE_NAMESPACE_PREFIXES, true);
- parserfactory.setFeature(_APACHE_FEATURE_NAMESPACES, true);
- saxParser = parserfactory.newSAXParser();
- }
- catch (FactoryConfigurationError e)
- {
- }
- catch (SAXNotRecognizedException e)
- {
- }
- catch (ParserConfigurationException e)
- {
- }
- catch (SAXNotSupportedException e)
- {
- }
- catch (SAXException e)
- {
- }
- Iterator schemadirIter = schemadirs.iterator();
- SchemaNamespaceHandler handler = ((XMLCatalog) instance).new SchemaNamespaceHandler();
- while (schemadirIter.hasNext())
- {
- String schemadir = (String) schemadirIter.next();
- registerSchemasForDir(instance, schemadir, saxParser, handler);
- }
- }
- }
- return instance;
- }
-
- /**
- * Register the schemas in the given directory and all subdirectories with the
- * XML catalog.
- *
- * @param catalog
- * The catalog to register the schemas with.
- * @param schemadir
- * The schema directory to search for schema files.
- * @param parser
- * The SAXParser to use to parse the schemas for their
- * targetNamespace.
- * @param handler
- * The handler to use to get the targetNamespace.
- */
- private static void registerSchemasForDir(IXMLCatalog catalog, String schemadir, SAXParser parser,
- SchemaNamespaceHandler handler)
- {
- // Remove file: and file:/ from beginning of file location if they are present.
- if(schemadir.startsWith("file:"))
- {
- schemadir = schemadir.substring(5);
- }
- while(schemadir.startsWith("//"))
- {
- schemadir = schemadir.substring(1);
- }
-
- File dir = new File(schemadir);
- if (dir.isDirectory())
- {
- File[] files = dir.listFiles();
- int numfiles = files.length;
- for (int i = 0; i < numfiles; i++)
- {
- File tempfile = files[i];
- String tempfilepath = tempfile.getAbsolutePath();
- tempfilepath = tempfilepath.replace('\\','/');
- while(tempfilepath.startsWith("/"))
- {
- tempfilepath = tempfilepath.substring(1);
- }
- tempfilepath = FILE_PROTOCOL + tempfilepath;
- if (tempfile.isDirectory())
- {
- registerSchemasForDir(catalog, tempfilepath, parser, handler);
- } else
- {
- handler.reset();
- try
- {
- parser.parse(tempfilepath, handler);
- }
- catch (Exception e)
- {
- // TODO: log error.
- }
- String targetNamespace = handler.getTargetNamespace();
- if (targetNamespace != null)
- {
- catalog.addEntryToCatalog(targetNamespace, tempfilepath);
- }
- }
- }
- }
- }
-
- /**
- * Get the instance of the extension XML catalog. Returns the instance if one
- * is registered and can be created, null otherwise.
- *
- * @return The instance of the extension XML catalog if one is registered,
- * null otherwise.
- */
- public static IXMLCatalog getExtensionCatalogInstance()
- {
- if (extXMLCatalogInstance == null)
- {
- if (extxmlcatalogclass != null && extclassLoader != null)
- {
- try
- {
- Class catalogClass = extclassLoader != null ? extclassLoader.loadClass(extxmlcatalogclass) : Class
- .forName(extxmlcatalogclass);
- extXMLCatalogInstance = (IXMLCatalog) catalogClass.newInstance();
- }
- catch (Exception e)
- {
- //TODO: Log error
- }
- }
- }
- return extXMLCatalogInstance;
- }
-
- /**
- * Set the class of the XML catalog to be used.
- *
- * @param xmlcatalog
- * The class of the XML catalog to be used.
- * @param classloader
- * The classloader to use to load the catalog.
- */
- public static void setExtensionXMLCatalog(String xmlcatalog, ClassLoader classloader)
- {
- extxmlcatalogclass = xmlcatalog;
- extclassLoader = classloader;
- }
-
- /**
- * Resets the instance of the XML catalog to null. For deleting the catalog if
- * necessary.
- */
- public static void reset()
- {
- instance = null;
- extxmlcatalogclass = null;
- extclassLoader = null;
- extXMLCatalogInstance = null;
- entities = new ArrayList();
- schemadirs = new ArrayList();
- }
-
- /**
- * Add a schema directory to be checked for schemas to register in the
- * catalog.
- *
- * @param schemadir
- * The directory to check for schemas.
- */
- public static void addSchemaDir(String schemadir)
- {
- schemadirs.add(schemadir);
- }
-
- /**
- * Add an entity to the catalog.
- *
- * @param entity
- * The entity to add to the catalog.
- */
- public static void addEntity(XMLCatalogEntityHolder entity)
- {
- entities.add(entity);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wsdl.validate.internal.xml.IXMLCatalog#addEntryToCatalog(java.lang.String,
- * java.lang.String)
- */
- public void addEntryToCatalog(String publicId, String systemId)
- {
- catalog.put(publicId, systemId);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wsdl.validate.internal.xml.IXMLCatalog#resolveEntityLocation(java.lang.String,
- * java.lang.String)
- */
- public String resolveEntityLocation(String publicId, String systemId)
- {
- String resolvedlocation = null;
- // First try to resolve using the ext catalog.
- IXMLCatalog extcatalog = getExtensionCatalogInstance();
- if (extcatalog != null)
- {
- resolvedlocation = extcatalog.resolveEntityLocation(publicId, systemId);
- }
- if (resolvedlocation == null)
- {
- // if there's no system id use the public id
- if (systemId == null || systemId.equals(""))
- {
- systemId = publicId;
- }
- resolvedlocation = (String) catalog.get(systemId);
- }
- return resolvedlocation;
- }
-
- /**
- * A handler used in parsing to get the targetNamespace string of a schema.
- */
- protected class SchemaNamespaceHandler extends DefaultHandler
- {
- private final String TARGET_NAMESPACE = "targetNamespace";
-
- private final String SCHEMA = "schema";
-
- private String targetNamespace = null;
-
- /**
- * @see org.xml.sax.ContentHandler#startElement(java.lang.String,
- * java.lang.String, java.lang.String, org.xml.sax.Attributes)
- */
- public void startElement(String uri, String localname, String arg2, Attributes attributes) throws SAXException
- {
- if (localname.equals(SCHEMA))
- {
-
- int numAtts = attributes.getLength();
- for (int i = 0; i < numAtts; i++)
- {
-
- String attname = attributes.getQName(i);
- if (attname.equals(TARGET_NAMESPACE))
- {
- targetNamespace = attributes.getValue(i);
- }
- }
-
- }
- super.startElement(uri, localname, arg2, attributes);
- }
-
- /**
- * Return the targetNamespace found by parsing the file.
- *
- * @return The targetNamespace found by parsing the file.
- */
- public String getTargetNamespace()
- {
- return targetNamespace;
- }
-
- /**
- * Reset the state of the handler so it can be reused.
- */
- public void reset()
- {
- targetNamespace = null;
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogEntityHolder.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogEntityHolder.java
deleted file mode 100644
index 5eca6ac92..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogEntityHolder.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-/**
- * A container to hold the entity information until an XML catalog is
- * to be initialized.
- */
-public class XMLCatalogEntityHolder
-{
- private String publicId;
- private String systemId;
-
- /**
- * Constructor.
- *
- * @param publicId The public id of the entity.
- * @param systemId The system id of the entity.
- */
- public XMLCatalogEntityHolder(String publicId, String systemId)
- {
- this.publicId = publicId;
- this.systemId = systemId;
- }
-
- /**
- * Returns the public id of the entity.
- * @return The public id of the entity.
- */
- public String getPublicId()
- {
- return publicId;
- }
-
- /**
- * Returns the system id of the entity.
- * @return The system id of the entity.
- */
- public String getSystemId()
- {
- return systemId;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogResolver.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogResolver.java
deleted file mode 100644
index 0e850c0e5..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogResolver.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-import java.io.IOException;
-
-import org.apache.xerces.xni.XMLResourceIdentifier;
-import org.apache.xerces.xni.XNIException;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
-import org.apache.xerces.xni.parser.XMLInputSource;
-import org.eclipse.wst.wsdl.validation.internal.util.LazyURLInputStream;
-
-/**
- * A resolver to resolver entities from the XML catalog.
- */
-public class XMLCatalogResolver implements XMLEntityResolver
-{
- protected static XMLCatalogResolver xmlCatalog;
-
- /**
- * Constructor.
- */
- protected XMLCatalogResolver()
- {
- }
-
- /**
- * Get the instance of this resolver.
- *
- * @return the instance of this resolver
- */
- public static XMLCatalogResolver getInstance()
- {
- if (xmlCatalog == null)
- {
- xmlCatalog = new XMLCatalogResolver();
- }
- return xmlCatalog;
- }
-
- /**
- * @see org.xml.sax.EntityResolver#resolveEntity(java.lang.String, java.lang.String)
- */
- public XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier) throws XNIException, IOException
- {
- String publicId = resourceIdentifier.getPublicId();
- if(publicId == null)
- {
- publicId = resourceIdentifier.getNamespace();
- }
- String systemId = resourceIdentifier.getLiteralSystemId();
- String location = XMLCatalog.getInstance().resolveEntityLocation(publicId, systemId);
- if (location != null)
- {
- LazyURLInputStream is = new LazyURLInputStream(location);
- XMLInputSource inputSource = new XMLInputSource(publicId, systemId, systemId, is, null);
- return inputSource;
- }
- // otherwise return null to tell the parser to locate the systemId as a URI
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLMessageInfoHelper.java b/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLMessageInfoHelper.java
deleted file mode 100644
index 443ab84ae..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLMessageInfoHelper.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.validation.internal.xml;
-
-public class XMLMessageInfoHelper
-{
-
- //see org.eclipse.wst.xml.ui.reconcile.DelegatingSourceValidator
- protected static final String ALL_ATTRIBUTES = "ALL_ATTRIBUTES";
- protected static final String ATTRIBUTE_NAME ="ATTRIBUTE_NAME";
- protected static final String ATTRIBUTE_VALUE = "ATTRIBUTE_VALUE";
- protected static final String START_TAG = "START_TAG";
- protected static final String TEXT = "TEXT";
- protected static final String FIRST_NON_WHITESPACE_TEXT = "FIRST_NON_WHITESPACE_TEXT";
- protected static final String TEXT_ENTITY_REFERENCE = "TEXT_ENTITY_REFERENCE";
- protected static final String VALUE_OF_ATTRIBUTE_WITH_GIVEN_VALUE = "VALUE_OF_ATTRIBUTE_WITH_GIVEN_VALUE";
-
-
- public XMLMessageInfoHelper()
- {
- super();
- }
-
- /**
- * returns an array containing information about what should be underlined with the red "squiggles"
- * using the errorKey, and the messageArguments
- * <br>Position 0 of the array returned contains the selection Strategy,or what DOM Element to underline.
- * For example "ATTRIBUTE_NAME"
- * <br>Position 1 contains the name or value to squiggle.
- * <p>For example, if we wanted to squiggle the attribute name of an attribute name
- * foo this method would return {"ATTRIBUTE_NAME", "foo"}
- * </p>
- * @param errorKey the error key given by the Xerces parser
- * @param messageArguments the arguments used by Xerces to "fill in the blanks" of their messages
- * @return an array containing the squiggle information
- * @see org.eclipse.wst.xml.ui.reconcile.DelegatingReconcileValidator
- *
- */
- public String[] createMessageInfo(String errorKey, Object[] messageArguments)
- {
- String selectionStrategy = null;
- String nameOrValue = null;
-
- //XML Errors
- if (errorKey.equals("cvc-complex-type.2.4.a") || errorKey.equals("cvc-complex-type.2.4.d") || errorKey.equals("cvc-complex-type.2.4.b") || errorKey.equals("MSG_CONTENT_INVALID")
- | errorKey.equals("MSG_CONTENT_INCOMPLETE") || errorKey.equals("MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED") || errorKey.equals("cvc-complex-type.4"))
- {
- selectionStrategy = START_TAG;
- }
- else if (errorKey.equals("cvc-type.3.1.3"))
- {
- selectionStrategy = TEXT;
- }
- else if (errorKey.equals("cvc-complex-type.2.3"))
- {
- selectionStrategy = FIRST_NON_WHITESPACE_TEXT;
- }
- else if (errorKey.equals("cvc-type.3.1.1"))
- {
- selectionStrategy = ALL_ATTRIBUTES;
- }
- else if (errorKey.equals("cvc-complex-type.3.2.2") || errorKey.equals("MSG_ATTRIBUTE_NOT_DECLARED"))
- {
- selectionStrategy = ATTRIBUTE_NAME;
- //in this case we need nameOrValue to be the name of the attribute to underline
- nameOrValue = (String)messageArguments[1];
- }
- else if (errorKey.equals("cvc-attribute.3") || errorKey.equals("MSG_ATTRIBUTE_VALUE_NOT_IN_LIST"))
- {
- selectionStrategy = ATTRIBUTE_VALUE;
- //in this case we need nameOrValue to be the name of the Attribute
- if (errorKey.equals("cvc-attribute.3"))
- { nameOrValue = (String)messageArguments[1];
- }
- else if (errorKey.equals("MSG_ATTRIBUTE_VALUE_NOT_IN_LIST"))
- { nameOrValue = (String)messageArguments[0];
- }
- }
- else if (errorKey.equals("cvc-elt.4.2"))
- { selectionStrategy=VALUE_OF_ATTRIBUTE_WITH_GIVEN_VALUE;
- //in this case we need nameOrValue to be the value of the attribute we want to unerline
- nameOrValue = (String)messageArguments[1];
- }
- else if (errorKey.equals("EntityNotDeclared"))
- { selectionStrategy=TEXT_ENTITY_REFERENCE;
- }
-
-
- //WSDL Errors
- else if (errorKey.equals("_MESSAGE_UNDEFINED_FOR_OUTPUT") ||
- errorKey.equals("_MESSAGE_UNDEFINED_FOR_INPUT") ||
- errorKey.equals("_MESSAGE_UNDEFINED_FOR_FAULT"))
- {
- selectionStrategy=ATTRIBUTE_VALUE;
- nameOrValue= "message";
- }
- else if (errorKey.equals("_PORTTYPE_UNDEFINED_FOR_BINDING"))
- {
- selectionStrategy=ATTRIBUTE_VALUE;
- nameOrValue="type";
- }
- else if (errorKey.equals("_OPERATION_UNDEFINED_FOR_PORTTYPE"))
- {
- selectionStrategy=ATTRIBUTE_VALUE;
- nameOrValue="name";
- }
- else if (errorKey.equals("_PART_INVALID_ELEMENT"))
- {
- selectionStrategy=ATTRIBUTE_VALUE;
- nameOrValue="element";
- }
- else if (errorKey.equals("_NO_BINDING_FOR_PORT"))
- {
- selectionStrategy=ATTRIBUTE_VALUE;
- nameOrValue="binding";
- }
-
- String messageInfo[] = new String[2];
- messageInfo[0] = selectionStrategy;
- messageInfo[1] = nameOrValue;
- return messageInfo;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdl.properties b/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdl.properties
deleted file mode 100644
index 4e1c16054..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdl.properties
+++ /dev/null
@@ -1,59 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-!-- Constants for strings
-
-!-- Error with document location
-_ERROR_DOCUMENT_LOCATION = The WSDL document {0} could not be read.
-!-- Warning Messages
-_WARN_NO_VALDIATOR = There is no registered validator for the namespace {0}.
-
-_ERROR_PROBLEM_WSDL_VALIDATOR = A problem occurred while running the WSDL validator for namespace {0}.
-_ERROR_NO_WSDL_VALIDATOR = The namespace {0} specified is not a valid WSDL namespace.
-_ERROR_PROBLEM_EXT_VALIDATOR = A problem occurred while running the Extension validator {0} for namespace {1}.
-
-!-- Strings for WSDL 1.1 validator
-
-_UNABLE_TO_IMPORT_BAD_LOCATION = The {0} document could not be imported. Check that the document exists and that the location is correct.
-_UNABLE_TO_IMPORT_NO_LOCATION = The location attribute is empty. A location must be specified for the location attribute.
-_UNABLE_TO_IMPORT_INVALID = The {0} document could not be imported because it is not valid. The document must be corrected before it can be imported.
-_NO_BINDING_FOR_PORT = The {0} port has an invalid binding - {1}. Check that the {1} binding is defined.
-_PORTTYPE_UNDEFINED_FOR_BINDING = The {0} port type specified for the {1} binding is undefined. Check the {0} port type name and ensure it is defined.
-_OPERATION_UNDEFINED_FOR_PORTTYPE = The operation specified for the {0} binding is not defined for port type {1}. All operations specified in this binding must be defined in port type {1}.
-_INPUT_NAME_NOT_UNIQUE = The name {0} specified for this input element is not unique. The name of an input element must be unique from the names of all other input and output elements defined in the {1} port type.
-_OUTPUT_NAME_NOT_UNIQUE = The name {0} specified for this output element is not unique. The name of an output element must be unique from the names of all other inputs and output elements defined in the {1} port type.
-_MESSAGE_UNDEFINED_FOR_INPUT = The input element is referencing an undefined message {0}. Check that the message name and namespace are correct and that the message has been defined.
-_MESSAGE_UNDEFINED_FOR_OUTPUT = The output element is referencing an undefined message {0}. Check that the message name and namespace are correct and that the message has been defined.
-_MESSAGE_UNDEFINED_FOR_FAULT = The fault element is referencing an undefined message {0}. Check that the message name and namespace are correct and that the message has been defined.
-_DUPLICATE_FAULT_NAME = A fault with the name {0} has already been defined for the {1} 0peration. Check that every fault defined for this operation has a unique name.
-_PART_NO_ELEMENT_OR_TYPE = The part {0} does not have a type defined. Every part must specify a type from some type system. The type can be specified using the built in "element" or "type" attributes or may be specified using an extension attribute.
-_PART_BOTH_ELEMENT_AND_TYPE = The part {0} has both an element and a type defined. Every part must only have an element or a type defined.
-_PART_INVALID_ELEMENT = The part {0} has an invalid value {1} defined for its element. Element declarations must refer to valid values defined in a schema.
-_PART_INVALID_TYPE = The part {0} has an invalid value {1} defined for its type. Type declarations must refer to valid values defined in a schema.
-_DUPLICATE_OPERATION_FOR_PORTTYPE = An operation with the name {0} has already been defined for the {1} port type. Every operation defined for a port type must have a unique name.
-_SERVICE_NAME_ALREADY_DEFINED = A Service with the name {0} has already been defined. Every service in the WSDL document must have a unique name.
-_BINDING_NAME_ALREADY_DEFINED = A binding with the name {0} has already been defined. Every binding in the WSDL document must have a unique name.
-_MESSAGE_NAME_ALREADY_DEFINED = A message with the name {0} has already been defined. Every message in the WSDL document must have a unique name.
-_PORTTYPE_NAME_ALREADY_DEFINED = A port type with the name {0} has already been defined. Every port type in the WSDL document must have a unique name.
-_MORE_THEN_ONE_ADDRESS_PORT = An address has already been defined for port {0}. Each port can have only one address defined.
-_NO_ADDRESS_PORT = The port {0} has no address defined. Each port must define one address.
-_PORT_NAME_NOT_UNIQUE = A port with the name {0} has already been defined. Every port in the WSDL document must have a unique name.
-_OPERATION_NO_INPUT_OR_OUTPUT = No input or output element has been defined for the {0} operation. An input element, an output element, or both must be defined for every operation.
-_WARN_SOAPENC_IMPORTED_PART = The part {0} uses an element or type from the SOAP encoding namespace but the namespace has not been imported. The SOAP encoding namespace should be imported with an import statement before it is used.
-_WARN_SOAPENC_IMPORTED_SCHEMA = The inline schema uses an element or type from the SOAP encoding namespace but the namespace has not been imported. The SOAP encoding namespace should be imported with an import statement before it is used.
-_REFERENCED_FILE_CONTAINS_ERRORS = Referenced file contains errors ({0}).
-_WARN_OLD_SCHEMA_NAMESPACE = An old version of the schema namespace has been specified. {0} is the schema namespace that should be used.
-_ERROR_MULTIPLE_TYPES_DEFINED = A types section has already been defined. Only one types element is allowed.
-_WARN_WRONG_NS_ON_IMPORT = The file cannot be imported because the namespace {0} does not match the target namespace {1} of the imported document.
-!-- Referenced file error
-!-- Note to translator - _REF_FILE_ERROR_MESSAGE needs a trailing space as another message may follow.
-_REF_FILE_ERROR_MESSAGE = Referenced file contains errors ({0}).
-
-
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlhttp.properties b/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlhttp.properties
deleted file mode 100644
index 7e7afd00b..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlhttp.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-_ERROR_NO_LOCATION_FOR_ADDRESS = No location has been specified for this address. Every address must have a valid location specified.
-_ERROR_INVALID_PORT_ELEMENT = The {0} element defined here is undefined for the HTTP namespace. The only valid element is "address".
-_ERROR_INVALID_BINDING_ELEMENT = The {0} element defined here is undefined for the HTTP namespace. The only valid element is "binding".
-_ERROR_INVALID_BINDING_OPERATION_ELEMENT = The {0} element defined here is undefined for the HTTP namespace. The only valid element is "operation".
-_ERROR_INVALID_BINDING_INPUT_ELEMENT = The {0} element defined here is undefined for the HTTP namespace. The only valid elements are "urlReplacement" and "urlEncoded".
-_ERROR_INVALID_HTTP_ELEMENT_FOR_LOCATION = The {0} element cannot be specified here. This element is not defined in the HTTP namespace for use at this point.
-_ERROR_NO_HTTPBINDING_FOR_ADDRESS = An HTTP address cannot be specified here as the {0} binding that the {1} port refers to does not have an HTTP binding element defined. There must be an HTTP binding element defined in order to specify an HTTP address for a binding.
-_ERROR_INVALID_BINDING_VERB = The {0} verb defined for the HTTP binding is invalid. The HTTP binding verb must be "GET" or "POST" and is case sensitive.
-_ERROR_INVALID_LOCATION_URI = The location URI is invalid for the HTTP operation. You must specify a valid location URI for every HTTP Operation.
-_ERROR_NO_HTTPBINDING_FOR_OPERATION = The {0} binding that the HTTP operation is specified for does not have an HTTP binding defined. An HTTP binding must be defined in order to define an HTTP operation here.
-_ERROR_NO_HTTPOPERATION_FOR_URL = The {0} operation that the {1} HTTP element is specified for does not have an HTTP operation defined. A HTTP operation must be defined in order to define a {1} HTTP element here.
-_ERROR_NOT_ONLY_ELEMENT_DEFINED = The {0} HTTP element defined is not the only element defined for the input element. When {0} is defined it must be the only child element defined for the input element.
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlmime.properties b/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlmime.properties
deleted file mode 100644
index 633e7bf7f..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlmime.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlsoap.properties b/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlsoap.properties
deleted file mode 100644
index 4a2b96ee8..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlsoap.properties
+++ /dev/null
@@ -1,45 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-_ERROR_NO_LOCATION_FOR_ADDRESS = No location has been specified for this address. Every address must have a valid location specified.
-_ERROR_INVALID_PORT_ELEMENT = The {0} element defined here is undefined for the SOAP namespace. The only valid element is "address".
-_ERROR_INVALID_BINDING_STYLE = The {0} style defined for the SOAP binding in invalid. The SOAP binding style must be "rpc" or "document".
-_ERROR_INVALID_BINDING_URI = The transport URI has not been defined for the SOAP binding. You must specify a transport URI for every SOAP binding.
-_ERROR_INVALID_OPERATION_STYLE = The style specified for the SOAP operation is invalid. The SOAP operation style must be "rpc" or "document".
-_ERROR_INVALID_BINDING_ELEMENT = The {0} element defined here is undefined for the SOAP namespace. The only valid element is "binding".
-_ERROR_INVALID_BINDING_OPERATION_ELEMENT = The {0} element defined here is undefined for the SOAP namespace. The only valid element is "operation".
-_ERROR_INVALID_HEADER_BODY_ELEMENT = The {0} element defined here is undefined for the SOAP namespace. The only valid elements are "body", "header" and "headerfault".
-_ERROR_INVALID_FAULT_ELEMENT = The {0} element defined here is undefined for the SOAP namespace. The only valid element is "fault".
-
-!-- A SOAP body element in a WSDL document can have an attribute "use" defined to be either literal or encoded. --
-!-- This string is used in an error task in WSAD if the document specifies a use other then literal or encoded. --
-!-- For example, if the document specifies the use of the SOAP body as "simple" the output string should be: --
-!-- The 'simple' use specified for the SOAP body is invalid. The use must be literal or encoded. --
-_ERROR_INVALID_BODY_USE = The {0} use specified for the SOAP body is invalid. The use must be literal or encoded.
-_ERROR_INVALID_BODY_ENCODING_STYLE = There is no encoding style URI defined for the SOAP body. You must specify at least one URI for the encoding style when the use is encoded.
-_ERROR_INVALID_BODY_PART_UNDEFINED = The {0} part specified as a part for the SOAP body is undefined. You can only specify defined parts.
-_ERROR_INVALID_BODY_PART_NOT_TYPE = The {0} part does not have a type defined and has been specified for a SOAP body with its use encoded. When use is encoded on a SOAP body, all parts defined must only contain a valid type.
-_ERROR_INVALID_SOAP_ELEMENT_FOR_LOCATION = The {0} element cannot be specified here. This element is not defined in the SOAP namespace for use at this point.
-_ERROR_NO_SOAPBINDING_FOR_ADDRESS = A SOAP address cannot be specified here as the {0} binding that the {1} port refers to does not have a SOAP binding element defined. There must be a SOAP binding element defined in order to specify a SOAP address for a binding.
-_ERROR_HEADER_MESSAGE_UNDEFINED = The {0} message specified for the SOAP header is undefined. The message specified must be defined in the WSDL document.
-_ERROR_HEADER_PART_UNDEFINED = The {0} part specified in message {1} for the SOAP header is undefined. Ensure the part is defined in the {1} message.
-_ERROR_HEADER_USE_UNDEFINED = The {0} use specified for the SOAP header is invalid. The use must be specified as literal or encoded.
-_ERROR_HEADER_ENCODINGSTYLE_UNDEFINED = The encoding style for the SOAP header is not specified. When the use is encoded the encoding style must specify at least one URI.
-_ERROR_HEADER_NAMESPACE_UNDEFINED = The namespace for the SOAP header is not specified. When the use is encoded a namespace URI must be defined.
-_ERROR_HEADERFAULT_MESSAGE_UNDEFINED = The {0} message specified for the SOAP header fault is undefined. The message specified must be defined in the WSDL document.
-_ERROR_HEADERFAULT_PART_UNDEFINED = The {0} part specified in message {1} for the SOAP header fault is undefined. Ensure the part is defined in the {1} message.
-_ERROR_HEADERFAULT_USE_UNDEFINED = The {0} use specified for the SOAP header fault is invalid. The use must be specified as literal or encoded.
-_ERROR_HEADERFAULT_ENCODINGSTYLE_UNDEFINED = The encoding style for the SOAP header fault is not specified. When the use is encoded the encoding style must specify at least one URI.
-_ERROR_HEADERFAULT_NAMESPACE_UNDEFINED = The namespace for the SOAP header fault is not specified. When the use is encoded a namespace URI must be defined.
-_ERROR_INVALID_FAULT_NAME = The {0} name specified for the SOAP fault is invalid. The name specified must be {1}, the name from the fault parent element.
-_ERROR_NO_SOAPBINDING_FOR_OPERATION = The {0} binding that the SOAP operation is specified for does not have a SOAP binding defined. A SOAP binding must be defined in order to define a SOAP operation here.
-_ERROR_NO_SOAPBINDING_FOR_BODY = The {0} binding that the SOAP body is specified for does not have a SOAP binding defined. A SOAP binding must be defined in order to define a SOAP body here.
-_ERROR_NO_SOAPBINDING_FOR_HEADER = The {0} binding that the SOAP header is specified for does not have a SOAP binding defined. A SOAP binding must be defined in order to define a SOAP header here. \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlui.properties b/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlui.properties
deleted file mode 100644
index cb2237400..000000000
--- a/bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlui.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-###############################################################################
-
-!-- Ant UI
-_UI_INFORMATION_DELIMITER = ---------------------------------------
-_UI_ERROR_MARKER = ERROR
-_UI_WARNING_MARKER = WARNING
-_UI_VALID = VALID
-_UI_INVALID = INVALID
-_UI_ACTION_VALIDATING_FILE = Validating {0}
-
-_ERROR_NO_FILE_SPECIFIED = Unable to run WSDL Validation. You must specify at least one file.
-
-_EXC_UNABLE_TO_VALIDATE_FILE = Unable to validate the WSDL file {0}. {1}
-_EXC_WSDL_FAIL_ON_ERROR = The WSDL file is not valid. (Fail On Error is enabled.)
-
-_ERROR_UNABLE_TO_LOAD_EXT_VALIDATOR = Unable to load the validator for namespace {0}. {1}
diff --git a/bundles/org.eclipse.wst.wsdl/.classpath b/bundles/org.eclipse.wst.wsdl/.classpath
deleted file mode 100644
index 1c993bebf..000000000
--- a/bundles/org.eclipse.wst.wsdl/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src-http"/>
- <classpathentry kind="src" path="src-mime"/>
- <classpathentry kind="src" path="src-soap"/>
- <classpathentry kind="src" path="src-wsdl"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.wsdl/.cvsignore b/bundles/org.eclipse.wst.wsdl/.cvsignore
deleted file mode 100644
index 5cf29803c..000000000
--- a/bundles/org.eclipse.wst.wsdl/.cvsignore
+++ /dev/null
@@ -1,9 +0,0 @@
-bin
-wsdl.jar
-build.xml
-temp.folder
-org.eclipse.wst.wsdl_1.0.0.jar
-org.eclipse.wst.wsdl.patch
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.wsdl/.project b/bundles/org.eclipse.wst.wsdl/.project
deleted file mode 100644
index ebc53b6ba..000000000
--- a/bundles/org.eclipse.wst.wsdl/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.wsdl</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index ae9d67cf5..000000000
--- a/bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,59 +0,0 @@
-#Mon Jan 30 23:40:08 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=error
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 17c50aa86..000000000
--- a/bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jan 30 23:19:19 EST 2006
-eclipse.preferences.version=1
-internal.default.compliance=default
diff --git a/bundles/org.eclipse.wst.wsdl/about.html b/bundles/org.eclipse.wst.wsdl/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.wsdl/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.wsdl/build.properties b/bundles/org.eclipse.wst.wsdl/build.properties
deleted file mode 100644
index d33da47c3..000000000
--- a/bundles/org.eclipse.wst.wsdl/build.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-bin.includes = .,\
- plugin.properties,\
- plugin.xml,\
- META-INF/,\
- about.html
-jars.compile.order = .
-source.. = src-http/,\
- src-mime/,\
- src-soap/,\
- src-wsdl/
-output.. = bin/
-src.includes = component.xml
diff --git a/bundles/org.eclipse.wst.wsdl/component.xml b/bundles/org.eclipse.wst.wsdl/component.xml
deleted file mode 100644
index c4619c76e..000000000
--- a/bundles/org.eclipse.wst.wsdl/component.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component xmlns="http://eclipse.org/wtp/releng/tools/component-model"
- name="org.eclipse.wst.wsdl">
- <component-depends unrestricted="true"></component-depends>
- <plugin id="org.eclipse.wst.wsdl" fragment="false" />
- <plugin id="org.eclipse.wst.wsdl.ui" fragment="false" />
- <plugin id="org.eclipse.wst.wsdl.validation" fragment="false" />
- <plugin id="org.wsdl4j" fragment="false" />
- <package name="org.eclipse.wst.wsdl" api="false">
- <type name="Binding" implement="false" subclass="false" instantiate="false"/>
- <type name="BindingFault" implement="false" subclass="false" instantiate="false"/>
- <type name="BindingInput" implement="false" subclass="false" instantiate="false"/>
- <type name="BindingOperation" implement="false" subclass="false" instantiate="false"/>
- <type name="BindingOutput" implement="false" subclass="false" instantiate="false"/>
- <type name="Definition" implement="false" subclass="false" instantiate="false"/>
- <type name="ExtensibilityElement" implement="false" subclass="false" instantiate="false"/>
- <type name="ExtensibleElement" implement="false" subclass="false" instantiate="false"/>
- <type name="Fault" implement="false" subclass="false" instantiate="false"/>
- <type name="Import" implement="false" subclass="false" instantiate="false"/>
- <type name="Input" implement="false" subclass="false" instantiate="false"/>
- <type name="Message" implement="false" subclass="false" instantiate="false"/>
- <type name="MessageReference" implement="false" subclass="false" instantiate="false"/>
- <type name="Namespace" implement="false" subclass="false" instantiate="false"/>
- <type name="Operation" implement="false" subclass="false" instantiate="false"/>
- <type name="Output" implement="false" subclass="false" instantiate="false"/>
- <type name="Part" implement="false" subclass="false" instantiate="false"/>
- <type name="Port" implement="false" subclass="false" instantiate="false"/>
- <type name="PortType" implement="false" subclass="false" instantiate="false"/>
- <type name="Service" implement="false" subclass="false" instantiate="false"/>
- <type name="Types" implement="false" subclass="false" instantiate="false"/>
- <type name="UnknownExtensibilityElement" implement="false" subclass="false" instantiate="false"/>
- <type name="WSDLElement" implement="false" subclass="false" instantiate="false"/>
- <type name="WSDLFactory" implement="false" subclass="false" instantiate="false"/>
-<!-- <type name="WSDLPlugin" implement="false" subclass="false" instantiate="false"/>-->
- <type name="XSDSchemaExtensibilityElement" implement="false" subclass="false" instantiate="false"/>
- </package>
- <package name="org.eclipse.wst.wsdl.util" api="false">
- <type name="WSDLConstants" implement="false" subclass="false" instantiate="false"/>
-<!-- <type name="ExtensibilityElementFactory" /> -->
-<!-- <type name="ExtensibilityElementFactoryRegistry" />-->
-<!-- <type name="WSDLResourceImpl" subclass="false"/>-->
- </package>
-
-<!-- these plugin's to be provided with non API disclaimers -->
-<!--
- <package name="org.eclipse.wst.wsdl.binding.soap" api="false">
- <type name="SOAPBody" />
- <type name="SOAPHeaderFault" />
- <type name="SOAPAddress" />
- <type name="SOAPFactory" />
- <type name="SOAPHeader" />
- <type name="SOAPBinding" />
- <type name="SOAPHeaderBase" />
- <type name="SOAPFault" />
- <type name="SOAPOperation" />
- </package>
-
- <package name="org.eclipse.wst.wsdl.binding.mime">
- <type name="MIMEContent" />
- <type name="MIMEPackage" />
- <type name="MIMEMultipartRelated" />
- <type name="MIMEPart" />
- <type name="MIMEMimeXml" />
- <type name="MIMEFactory" />
- </package>
-
- <package name="org.eclipse.wst.wsdl.binding.http">
- <type name="HTTPFactory" />
- <type name="HTTPOperation" />
- <type name="HTTPUrlEncoded" />
- <type name="HTTPPackage" />
- <type name="HTTPAddress" />
- <type name="HTTPUrlReplacement" />
- <type name="HTTPBinding" />
- </package>
--->
-</component>
diff --git a/bundles/org.eclipse.wst.wsdl/grabjars.xml b/bundles/org.eclipse.wst.wsdl/grabjars.xml
deleted file mode 100644
index 106edbf25..000000000
--- a/bundles/org.eclipse.wst.wsdl/grabjars.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<project default="copyJars" basedir=".">
-
- <property name="pluginName" value="org.eclipse.wst.wsdl"/>
- <property name="version" value=""/>
-
- <target name="copyJars" if="downloadPath">
- <antcall target="copyJars2"/>
- </target>
-
- <target name="copyJars2" if="pluginsPath">
- <antcall target="copyJars3"/>
- </target>
-
- <target name="copyJars3" if="pluginName">
- <copy todir="${pluginsPath}/${pluginName}${version}/lib" overwrite="true">
- <fileset dir="${downloadPath}/${pluginName}${version}">
- <filename name="*.jar"/>
- </fileset>
- </copy>
- </target>
-
- <target name="cleanupJars" if="pluginsPath">
- <antcall target="cleanupJars2"/>
- </target>
-
- <target name="cleanupJars2" if="pluginName">
- <delete>
- <fileset dir="${pluginsPath}/${pluginName}${version}/lib">
- <filename name="*.jar"/>
- </fileset>
- </delete>
- </target>
-
-</project>
diff --git a/bundles/org.eclipse.wst.wsdl/lib/.cvsignore b/bundles/org.eclipse.wst.wsdl/lib/.cvsignore
deleted file mode 100644
index d392f0e82..000000000
--- a/bundles/org.eclipse.wst.wsdl/lib/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-*.jar
diff --git a/bundles/org.eclipse.wst.wsdl/plugin.properties b/bundles/org.eclipse.wst.wsdl/plugin.properties
deleted file mode 100644
index 525915100..000000000
--- a/bundles/org.eclipse.wst.wsdl/plugin.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 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
-###############################################################################
-
-# ====================================================================
-# To code developer:
-# Do NOT change the properties between this line and the
-# "%%% END OF TRANSLATED PROPERTIES %%%" line.
-# Make a new property name, append to the end of the file and change
-# the code to use the new property.
-# ====================================================================
-
-# ====================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# ====================================================================
-
-pluginName = WSDL Model
-providerName = Eclipse.org
-
-xpExtensibilityElementFactories = WSDL Extensibility Element Factories
-xpPortAndBindingContentGenerators = Port and Binding Content Generators
-xpWSDLContentType = WSDL Content Type
-
-_ERROR_INVALID_WSDL = The input source is not a valid WSDL document.
-_UI_IOError_message = IO: {0}
-_UI_ParserError_message = DOM: {0}
-
-_UI_ResourceLoad_progress = Loading WSDL documents
diff --git a/bundles/org.eclipse.wst.wsdl/plugin.xml b/bundles/org.eclipse.wst.wsdl/plugin.xml
deleted file mode 100644
index 8c24012ad..000000000
--- a/bundles/org.eclipse.wst.wsdl/plugin.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension-point
- id="extensibilityElementFactories"
- name="%xpExtensibilityElementFactories"
- schema="schema/extensibilityElementFactories.exsd"/>
- <extension-point
- id="contentGenerators"
- name="%xpPortAndBindingContentGenerators"
- schema="schema/contentGenerators.exsd"/>
-
- <extension point="org.eclipse.emf.ecore.generated_package">
- <package
- uri="http://www.ibm.com/wsdl/2003/WSDL"
- class="org.eclipse.wst.wsdl.WSDLPackage">
- </package>
- </extension>
- <extension point="org.eclipse.emf.ecore.extension_parser">
- <parser
- type="wsdl"
- class="org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl">
- </parser>
- </extension>
-
- <extension point="org.eclipse.emf.ecore.generated_package">
- <package
- uri="http://www.eclipse.org/wsdl/2003/HTTP"
- class="org.eclipse.wst.wsdl.binding.http.HTTPPackage">
- </package>
- </extension>
-
- <extension
- point="org.eclipse.wst.wsdl.extensibilityElementFactories">
- <extensibilityElementFactory
- namespace="http://schemas.xmlsoap.org/wsdl/http/"
- class="org.eclipse.wst.wsdl.binding.http.internal.util.HTTPExtensibilityElementFactory" />
- </extension>
-
- <extension point="org.eclipse.emf.ecore.generated_package">
- <package
- uri="http://www.eclipse.org/wsdl/2003/MIME"
- class="org.eclipse.wst.wsdl.binding.mime.MIMEPackage">
- </package>
- </extension>
-
- <extension
- point="org.eclipse.wst.wsdl.extensibilityElementFactories">
- <extensibilityElementFactory
- namespace="http://schemas.xmlsoap.org/wsdl/mime/"
- class="org.eclipse.wst.wsdl.binding.mime.internal.util.MIMEExtensibilityElementFactory" />
- </extension>
-
- <extension point="org.eclipse.emf.ecore.generated_package">
- <package
- uri="http://www.eclipse.org/wsdl/2003/SOAP"
- class="org.eclipse.wst.wsdl.binding.soap.SOAPPackage">
- </package>
- </extension>
-
- <extension
- point="org.eclipse.wst.wsdl.extensibilityElementFactories">
- <extensibilityElementFactory
- namespace="http://schemas.xmlsoap.org/wsdl/soap/"
- class="org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPExtensibilityElementFactory" />
- </extension>
-
- <extension point="org.eclipse.wst.wsdl.contentGenerators">
- <contentGenerator
- name="SOAP"
- namespace="http://schemas.xmlsoap.org/wsdl/soap/"
- class="org.eclipse.wst.wsdl.binding.soap.internal.generator.SOAPContentGenerator">
- </contentGenerator>
- </extension>
-
- <extension point="org.eclipse.wst.wsdl.contentGenerators">
- <contentGenerator
- name="HTTP"
- namespace="http://schemas.xmlsoap.org/wsdl/http/"
- class="org.eclipse.wst.wsdl.binding.http.internal.generator.HTTPContentGenerator">
- </contentGenerator>
- </extension>
-
-
-
- <!-- define a wsdl content type -->
- <extension point="org.eclipse.core.runtime.contentTypes">
- <content-type
- priority="high"
- name="%xpWSDLContentType"
- id="wsdlsource"
- base-type="org.eclipse.core.runtime.xml"
- default-charset="UTF-8"
- file-extensions="wsdl" />
- </extension>
-</plugin>
diff --git a/bundles/org.eclipse.wst.wsdl/schema/contentGenerators.exsd b/bundles/org.eclipse.wst.wsdl/schema/contentGenerators.exsd
deleted file mode 100644
index 052a447f8..000000000
--- a/bundles/org.eclipse.wst.wsdl/schema/contentGenerators.exsd
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl" id="contentGenerators" name="Port and Binding Content Generators"/>
- </appInfo>
- <documentation>
- The Port and Binding Content Generators extension point allows clients to register custom generators for Ports and Bindings.
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <documentation>
- The Port and Binding Content Generators extension point allows clients to register custom content generators for WSDL Ports and Bindings.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="contentGenerator"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="contentGenerator">
- <complexType>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- Name used for this particular extension point instance.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="namespace" type="string" use="required">
- <annotation>
- <documentation>
- The namespace this extension point instance applies to.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.wst.wsdl.internal.generator.ContentGenerator&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of a content generator contribution:
-&lt;pre&gt;
- &lt;extension
- point=&quot;org.eclipse.wst.wsdl.contentGenerators&quot;&gt;
- &lt;contentGenerator
- name=&quot;SOAP&quot;
- namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
- class=&quot;org.eclipse.wst.wsdl.binding.soap.internal.generator.SOAPContentGenerator&quot;/&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.internal.generator.ContentGenerator&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl/schema/extensibilityElementFactories.exsd b/bundles/org.eclipse.wst.wsdl/schema/extensibilityElementFactories.exsd
deleted file mode 100644
index 924557efe..000000000
--- a/bundles/org.eclipse.wst.wsdl/schema/extensibilityElementFactories.exsd
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.wsdl">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.wsdl" id="extensibilityElementFactories" name="WSDL Extensibility Element Factories"/>
- </appInfo>
- <documentation>
- The WSDL Extensibility Element Factories extension point allows clients to register factories for creating custom extensibility elements.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="extensibilityElementFactory"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="extensibilityElementFactory">
- <complexType>
- <attribute name="namespace" type="string" use="required">
- <annotation>
- <documentation>
- The namespace this extension point instance applies to.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The class that implements &lt;code&gt;org.eclipse.wst.wsdl.util.ExtensibilityElementFactory&lt;/code&gt;.
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of an extensibility element factory contribution:
-&lt;pre&gt;
- &lt;extension
- point=&quot;org.eclipse.wst.wsdl.extensibilityElementFactories&quot;&gt;
- &lt;extensibilityElementFactory
- namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
- class=&quot;org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPExtensibilityElementFactory&quot;/&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.util.ExtensibilityElementFactory&lt;/code&gt;.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/model/HTTP.genmodel b/bundles/org.eclipse.wst.wsdl/src-http/model/HTTP.genmodel
deleted file mode 100644
index fbc41586b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/model/HTTP.genmodel
+++ /dev/null
@@ -1,411 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/com.ibm.etools.wsdl.binding.http/src"
- editDirectory="/com.ibm.etools.wsdl.binding.http.edit/src" editorDirectory="/com.ibm.etools.wsdl.binding.http.editor/src"
- modelPluginID="com.ibm.etools.wsdl.binding.http" modelName="HTTP" editPluginClass=""
- editorPluginClass="" usedGenPackages="../../../org.eclipse.xsd/src/model/XSD.genmodel#//xsd">
- <foreignModel>..\rose\http.mdl</foreignModel>
- <foreignModel>VABASE_PLUGINS_PATH</foreignModel>
- <foreignModel>../../..</foreignModel>
- <genPackages prefix="WSDL" basePackage="com.ibm.etools" ecorePackage="wsdl.ecore#/">
- <genDataTypes ecoreDataType="wsdl.ecore#//QName"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//OperationType"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMElement"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//WSDLException"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMDocument"/>
- <genClasses ecoreClass="wsdl.ecore#//WSDLElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/documentationElement"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/element"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/getEnclosingDefinition"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/setEnclosingDefinition">
- <genParameters ecoreParameter="wsdl.ecore#//WSDLElement/setEnclosingDefinition/definition"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//PortType">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//PortType/eOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Operation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/style"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eInput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eOutput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eFaults"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eParameterOrdering"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Message">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Message/eParts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Part">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/elementName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/typeName"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/typeDefinition"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/elementDeclaration"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/eMessage"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Binding">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/resourceURI"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/ePortType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/eBindingOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOperation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOperation/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eOperation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingInput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingOutput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingFaults"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Service">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Service/ePorts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Port">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Port/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Port/eBinding"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibilityElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/required"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/elementType"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Definition">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/targetNamespace"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/location"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/encoding"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eMessages"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/ePortTypes"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eBindings"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eServices"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eNamespaces"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eTypes"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eImports"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/getDocument"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/setDocument">
- <genParameters ecoreParameter="wsdl.ecore#//Definition/setDocument/document"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Import">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/namespaceURI"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/locationURI"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eDefinition"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/getSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/setSchema">
- <genParameters ecoreParameter="wsdl.ecore#//Import/setSchema/schema"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibleElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//ExtensibleElement/eExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/getExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/addExtensibilityElement">
- <genParameters ecoreParameter="wsdl.ecore#//ExtensibleElement/addExtensibilityElement/extElement"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Input"/>
- <genClasses ecoreClass="wsdl.ecore#//Output"/>
- <genClasses ecoreClass="wsdl.ecore#//Fault"/>
- <genClasses ecoreClass="wsdl.ecore#//BindingInput">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingInput/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingInput/eInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingInput/setInput/input"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOutput">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOutput/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOutput/eOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingOutput/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingFault">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingFault/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingFault/eFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/getFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/setFault">
- <genParameters ecoreParameter="wsdl.ecore#//BindingFault/setFault/fault"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Namespace">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/URI"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/prefix"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPortType">
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/addOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/addOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/addFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/addFault/fault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/getFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getParameterOrdering"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setParameterOrdering">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setParameterOrdering/parameterOrder"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setInput/input"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IInput">
- <genOperations ecoreOperation="wsdl.ecore#//IInput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IInput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IInput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOutput">
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IOutput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IFault">
- <genOperations ecoreOperation="wsdl.ecore#//IFault/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IFault/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IFault/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IMessage">
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/addPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/addPart/part"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getPart/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getParts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getOrderedParts">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getOrderedParts/partOrder"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPart">
- <genOperations ecoreOperation="wsdl.ecore#//IPart/setExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/value"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttributeNames"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/getExtensionAttribute/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IService">
- <genOperations ecoreOperation="wsdl.ecore#//IService/addPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/addPort/port"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPorts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/getPort/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPort">
- <genOperations ecoreOperation="wsdl.ecore#//IPort/getBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPort/setBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IPort/setBinding/binding"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBinding">
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/addBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/addBindingOperation/bindingOperation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperations"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/setPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/setPortType/portType"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/addBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/addBindingFault/bindingFault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/getBindingFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingInput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingInput/bindingInput"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingOutput/bindingOutput"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingInput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOutput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingFault"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensibilityElement"/>
- <genClasses ecoreClass="wsdl.ecore#//IDefinition">
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addBinding/binding"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addImport">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addImport/importDef"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addMessage/message"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/prefix"/>
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addPortType/portType"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addService/service"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createImport"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPart"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPort"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createService"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBindings"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports.1">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getImports.1/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessages"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getNamespace/prefix"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespaces"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPrefix">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPrefix/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getServices"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getExtensionRegistry"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setExtensionRegistry">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setExtensionRegistry/extensionRegistry"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getDocumentBaseURI"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setDocumentBaseURI">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setDocumentBaseURI/documentBase"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removePortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removePortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setTypes">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setTypes/types"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IImport"/>
- <genClasses ecoreClass="wsdl.ecore#//IList"/>
- <genClasses ecoreClass="wsdl.ecore#//IMap"/>
- <genClasses ecoreClass="wsdl.ecore#//IURL"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensionRegistry"/>
- <genClasses ecoreClass="wsdl.ecore#//Types">
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas"/>
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas.1">
- <genParameters ecoreParameter="wsdl.ecore#//Types/getSchemas.1/namespaceURI"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IIterator"/>
- <genClasses ecoreClass="wsdl.ecore#//ITypes"/>
- <genClasses ecoreClass="wsdl.ecore#//UnknownExtensibilityElement">
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//UnknownExtensibilityElement/parent"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//UnknownExtensibilityElement/children"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//XSDSchemaExtensibilityElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//XSDSchemaExtensibilityElement/schema"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//MessageReference">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//MessageReference/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//MessageReference/eMessage"/>
- </genClasses>
- </genPackages>
- <genPackages prefix="HTTP" basePackage="com.ibm.etools.wsdl.binding" ecorePackage="http.ecore#/">
- <genClasses ecoreClass="http.ecore#//HTTPBinding">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute http.ecore#//HTTPBinding/verb"/>
- </genClasses>
- <genClasses ecoreClass="http.ecore#//HTTPOperation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute http.ecore#//HTTPOperation/locationURI"/>
- </genClasses>
- <genClasses ecoreClass="http.ecore#//HTTPUrlReplacement"/>
- <genClasses ecoreClass="http.ecore#//HTTPUrlEncoded"/>
- <genClasses ecoreClass="http.ecore#//HTTPAddress">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute http.ecore#//HTTPAddress/locationURI"/>
- </genClasses>
- <genClasses ecoreClass="http.ecore#//IHTTPAddress"/>
- <genClasses ecoreClass="http.ecore#//IHTTPBinding"/>
- <genClasses ecoreClass="http.ecore#//IHTTPOperation"/>
- <genClasses ecoreClass="http.ecore#//IHTTPUrlEncoded"/>
- <genClasses ecoreClass="http.ecore#//IHTTPUrlReplacement"/>
- </genPackages>
-</genmodel:GenModel>
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/model/com.ibm.etools.wsdl.bindings.HTTP.cat b/bundles/org.eclipse.wst.wsdl/src-http/model/com.ibm.etools.wsdl.bindings.HTTP.cat
deleted file mode 100644
index a63207abb..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/model/com.ibm.etools.wsdl.bindings.HTTP.cat
+++ /dev/null
@@ -1,378 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Class_Category "http"
- is_unit TRUE
- is_loaded TRUE
- quid "3ABFD9AD01F8"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "HTTPBinding"
- quid "3ABFE57C0136"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE5FF1D0019"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "verb"
- quid "3ABFE60D00DB"
- type "String"))
- language "Java")
- (object Class "HTTPOperation"
- quid "3ABFE6AE0050"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE5FF4B037C"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "locationURI"
- quid "3ABFE70D0147"
- type "String"))
- language "Java")
- (object Class "HTTPUrlReplacement"
- quid "3ABFEA1A017C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE728B802C3"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- language "Java")
- (object Class "HTTPUrlEncoded"
- quid "3ABFEA6D0294"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE728D50094"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- language "Java")
- (object Class "HTTPAddress"
- quid "3AC3BF2500F5"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE5FEA901B7"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "locationURI"
- quid "3AC3BFA7012E"
- type "String"))
- language "Java"))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Port"
- quid "3AC11E5201FB"
- title "Port"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::http::HTTPAddress" @1
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 432)
- label (object ItemLabel
- Parent_View @1
- location (135, 351)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "HTTPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC3BF2500F5"
- width 420
- height 186
- annotation 8
- autoResize TRUE)))
- (object ClassDiagram "Extensibility"
- quid "3AE5FE3B037B"
- title "Extensibility"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @2
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @2
- location (70, 53)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 422
- height 174
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPAddress" @3
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (272, 480)
- label (object ItemLabel
- Parent_View @3
- location (128, 428)
- fill_color 13434879
- nlines 1
- max_width 288
- justify 0
- label "HTTPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC3BF2500F5"
- width 306
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPBinding" @4
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (480, 640)
- label (object ItemLabel
- Parent_View @4
- location (344, 588)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "HTTPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE57C0136"
- width 290
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @5
- location (272, 305)
- line_color 3342489
- fill_color 13434879
- supplier @2
- vertices (list Points
- (272, 305)
- (272, 215)))
- (object InheritView "" @6
- stereotype TRUE
- line_color 3342489
- quidu "3AE5FEA901B7"
- client @3
- supplier @2
- line_style 3
- origin_attachment (272, 416)
- terminal_attachment (272, 305)
- drawSupplier @5)
- (object InheritView "" @7
- stereotype TRUE
- line_color 3342489
- quidu "3AE5FF1D0019"
- client @4
- supplier @2
- line_style 3
- origin_attachment (475, 576)
- terminal_attachment (475, 305)
- drawSupplier @5)
- (object ClassView "Class" "Logical View::http::HTTPOperation" @8
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (672, 816)
- label (object ItemLabel
- Parent_View @8
- location (518, 764)
- fill_color 13434879
- nlines 1
- max_width 308
- justify 0
- label "HTTPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE6AE0050"
- width 326
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @9
- stereotype TRUE
- line_color 3342489
- quidu "3AE5FF4B037C"
- client @8
- supplier @2
- line_style 3
- origin_attachment (656, 752)
- terminal_attachment (656, 305)
- drawSupplier @5)
- (object ClassView "Class" "Logical View::http::HTTPUrlReplacement" @10
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (816, 992)
- label (object ItemLabel
- Parent_View @10
- location (605, 941)
- fill_color 13434879
- nlines 1
- max_width 422
- justify 0
- label "HTTPUrlReplacement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA1A017C"
- width 440
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @11
- stereotype TRUE
- line_color 3342489
- quidu "3AE728B802C3"
- client @10
- supplier @2
- line_style 3
- origin_attachment (869, 929)
- terminal_attachment (869, 305)
- drawSupplier @5)
- (object ClassView "Class" "Logical View::http::HTTPUrlEncoded" @12
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1072, 1168)
- label (object ItemLabel
- Parent_View @12
- location (900, 1117)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "HTTPUrlEncoded")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA6D0294"
- width 362
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @13
- stereotype TRUE
- line_color 3342489
- quidu "3AE728D50094"
- client @12
- supplier @2
- line_style 3
- origin_attachment (1103, 1105)
- terminal_attachment (1103, 305)
- drawSupplier @5)))
- (object ClassDiagram "Binding"
- quid "3AE72A7000A9"
- title "Binding"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::http::HTTPBinding" @14
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 272)
- label (object ItemLabel
- Parent_View @14
- location (200, 220)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "HTTPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE57C0136"
- width 290
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPOperation" @15
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 272)
- label (object ItemLabel
- Parent_View @15
- location (519, 191)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "HTTPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE6AE0050"
- width 420
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPUrlReplacement" @16
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 592)
- label (object ItemLabel
- Parent_View @16
- location (637, 541)
- fill_color 13434879
- nlines 1
- max_width 422
- justify 0
- label "HTTPUrlReplacement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA1A017C"
- width 440
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPUrlEncoded" @17
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 592)
- label (object ItemLabel
- Parent_View @17
- location (212, 541)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "HTTPUrlEncoded")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA6D0294"
- width 362
- height 126
- annotation 8
- autoResize TRUE)))))
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/model/http.ecore b/bundles/org.eclipse.wst.wsdl/src-http/model/http.ecore
deleted file mode 100644
index 831039d66..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/model/http.ecore
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="http"
- nsURI="http://www.ibm.com/wsdl/2003/HTTP" nsPrefix="http">
- <eClassifiers xsi:type="ecore:EClass" name="HTTPBinding" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IHTTPBinding">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="verb" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="HTTPOperation" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IHTTPOperation">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="locationURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="HTTPUrlReplacement" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IHTTPUrlReplacement"/>
- <eClassifiers xsi:type="ecore:EClass" name="HTTPUrlEncoded" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IHTTPUrlEncoded"/>
- <eClassifiers xsi:type="ecore:EClass" name="HTTPAddress" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IHTTPAddress">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="locationURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IHTTPAddress" instanceClassName="javax.wsdl.extensions.http.HTTPAddress"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="IHTTPBinding" instanceClassName="javax.wsdl.extensions.http.HTTPBinding"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="IHTTPOperation" instanceClassName="javax.wsdl.extensions.http.HTTPOperation"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="IHTTPUrlEncoded" instanceClassName="javax.wsdl.extensions.http.HTTPUrlEncoded"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="IHTTPUrlReplacement" instanceClassName="javax.wsdl.extensions.http.HTTPUrlReplacement"
- abstract="true" interface="true"/>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/model/http.mdl b/bundles/org.eclipse.wst.wsdl/src-http/model/http.mdl
deleted file mode 100644
index 4de2bea62..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/model/http.mdl
+++ /dev/null
@@ -1,32383 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Design "Logical View"
- is_unit TRUE
- is_loaded TRUE
- defaults (object defaults
- rightMargin 0.250000
- leftMargin 0.250000
- topMargin 0.250000
- bottomMargin 0.500000
- pageOverlap 0.250000
- clipIconLabels TRUE
- autoResize TRUE
- snapToGrid TRUE
- gridX 16
- gridY 16
- defaultFont (object Font
- size 10
- face "Arial"
- bold FALSE
- italics FALSE
- underline FALSE
- strike FALSE
- color 0
- default_color TRUE)
- showMessageNum 1
- showClassOfObject TRUE
- notation "Unified")
- root_usecase_package (object Class_Category "Use Case View"
- quid "3ABFD9A70151"
- exportControl "Public"
- global TRUE
- logical_models (list unit_reference_list)
- logical_presentations (list unit_reference_list
- (object UseCaseDiagram "Main"
- quid "3ABFD9A7018C"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- root_category (object Class_Category "Logical View"
- quid "3ABFD9A70150"
- exportControl "Public"
- global TRUE
- subsystem "Component View"
- quidu "3ABFD9A70152"
- logical_models (list unit_reference_list
- (object Class_Category "http"
- quid "3ABFD9AD01F8"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "HTTPBinding"
- quid "3ABFE57C0136"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE5FF1D0019"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "409843F103C0"
- supplier "Logical View::http::IHTTPBinding"
- quidu "409843A702EB"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "verb"
- quid "3ABFE60D00DB"
- type "String"))
- language "Java")
- (object Class "HTTPOperation"
- quid "3ABFE6AE0050"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE5FF4B037C"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "4098444602CC"
- supplier "Logical View::http::IHTTPOperation"
- quidu "409843FF02BB"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "locationURI"
- quid "3ABFE70D0147"
- type "String"))
- language "Java")
- (object Class "HTTPUrlReplacement"
- quid "3ABFEA1A017C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE728B802C3"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "409844D202C5"
- supplier "Logical View::http::IHTTPUrlReplacement"
- quidu "4098449600D8"))
- language "Java")
- (object Class "HTTPUrlEncoded"
- quid "3ABFEA6D0294"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE728D50094"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "409844910009"
- supplier "Logical View::http::IHTTPUrlEncoded"
- quidu "409844570063"))
- language "Java")
- (object Class "HTTPAddress"
- quid "3AC3BF2500F5"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE5FEA901B7"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "409840D800C4"
- supplier "Logical View::http::IHTTPAddress"
- quidu "4098408901A1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "locationURI"
- quid "3AC3BFA7012E"
- type "String"))
- language "Java")
- (object Class "IHTTPAddress"
- quid "4098408901A1"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.http.HTTPAddress"
- quid "409840A4013A"
- stereotype "javaclass"))
- language "Java")
- (object Class "IHTTPBinding"
- quid "409843A702EB"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.http.HTTPBinding"
- quid "409843CA0177"
- stereotype "javaclass"))
- language "Java")
- (object Class "IHTTPOperation"
- quid "409843FF02BB"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.http.HTTPOperation"
- quid "409844130204"
- stereotype "javaclass"))
- language "Java")
- (object Class "IHTTPUrlEncoded"
- quid "409844570063"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.http.HTTPUrlEncoded"
- quid "4098446D021C"
- stereotype "javaclass"))
- language "Java")
- (object Class "IHTTPUrlReplacement"
- quid "4098449600D8"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.http.HTTPUrlReplacement"
- quid "409844AC01AB"
- stereotype "javaclass"))
- language "Java"))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Port"
- quid "3AC11E5201FB"
- title "Port"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::http::HTTPAddress" @1
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (672, 784)
- label (object ItemLabel
- Parent_View @1
- location (471, 703)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "HTTPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC3BF2500F5"
- compartment (object Compartment
- Parent_View @1
- location (471, 763)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 409)
- width 420
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::IHTTPAddress" @2
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (672, 288)
- label (object ItemLabel
- Parent_View @2
- location (138, 229)
- fill_color 13434879
- nlines 1
- max_width 1068
- justify 0
- label "IHTTPAddress")
- stereotype (object ItemLabel
- Parent_View @2
- location (138, 179)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1068
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "4098408901A1"
- compartment (object Compartment
- Parent_View @2
- location (138, 289)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 1065)
- width 1086
- height 242
- annotation 8
- autoResize TRUE)
- (object InheritView "" @3
- stereotype TRUE
- line_color 3342489
- quidu "409840D800C4"
- client @1
- supplier @2
- line_style 0)))
- (object ClassDiagram "Extensibility"
- quid "3AE5FE3B037B"
- title "Extensibility"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @4
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @4
- location (70, 53)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 422
- height 174
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPAddress" @5
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (272, 480)
- label (object ItemLabel
- Parent_View @5
- location (128, 428)
- fill_color 13434879
- nlines 1
- max_width 288
- justify 0
- label "HTTPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC3BF2500F5"
- width 306
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPBinding" @6
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (480, 640)
- label (object ItemLabel
- Parent_View @6
- location (344, 588)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "HTTPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE57C0136"
- width 290
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @7
- location (272, 305)
- line_color 3342489
- fill_color 13434879
- supplier @4
- vertices (list Points
- (272, 305)
- (272, 215)))
- (object InheritView "" @8
- stereotype TRUE
- line_color 3342489
- quidu "3AE5FEA901B7"
- client @5
- supplier @4
- line_style 3
- origin_attachment (272, 416)
- terminal_attachment (272, 305)
- drawSupplier @7)
- (object InheritView "" @9
- stereotype TRUE
- line_color 3342489
- quidu "3AE5FF1D0019"
- client @6
- supplier @4
- line_style 3
- origin_attachment (475, 576)
- terminal_attachment (475, 305)
- drawSupplier @7)
- (object ClassView "Class" "Logical View::http::HTTPOperation" @10
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (672, 816)
- label (object ItemLabel
- Parent_View @10
- location (518, 764)
- fill_color 13434879
- nlines 1
- max_width 308
- justify 0
- label "HTTPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE6AE0050"
- width 326
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @11
- stereotype TRUE
- line_color 3342489
- quidu "3AE5FF4B037C"
- client @10
- supplier @4
- line_style 3
- origin_attachment (656, 752)
- terminal_attachment (656, 305)
- drawSupplier @7)
- (object ClassView "Class" "Logical View::http::HTTPUrlReplacement" @12
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (816, 992)
- label (object ItemLabel
- Parent_View @12
- location (605, 941)
- fill_color 13434879
- nlines 1
- max_width 422
- justify 0
- label "HTTPUrlReplacement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA1A017C"
- width 440
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @13
- stereotype TRUE
- line_color 3342489
- quidu "3AE728B802C3"
- client @12
- supplier @4
- line_style 3
- origin_attachment (869, 929)
- terminal_attachment (869, 305)
- drawSupplier @7)
- (object ClassView "Class" "Logical View::http::HTTPUrlEncoded" @14
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1072, 1168)
- label (object ItemLabel
- Parent_View @14
- location (900, 1117)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "HTTPUrlEncoded")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA6D0294"
- width 362
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @15
- stereotype TRUE
- line_color 3342489
- quidu "3AE728D50094"
- client @14
- supplier @4
- line_style 3
- origin_attachment (1103, 1105)
- terminal_attachment (1103, 305)
- drawSupplier @7)))
- (object ClassDiagram "Binding"
- quid "3AE72A7000A9"
- title "Binding"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::http::HTTPBinding" @16
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (576, 592)
- label (object ItemLabel
- Parent_View @16
- location (440, 540)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "HTTPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE57C0136"
- compartment (object Compartment
- Parent_View @16
- location (440, 600)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 275)
- width 290
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPOperation" @17
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1696, 608)
- label (object ItemLabel
- Parent_View @17
- location (1495, 527)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "HTTPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFE6AE0050"
- compartment (object Compartment
- Parent_View @17
- location (1495, 587)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 409)
- width 420
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPUrlReplacement" @18
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1616, 1808)
- label (object ItemLabel
- Parent_View @18
- location (1405, 1757)
- fill_color 13434879
- nlines 1
- max_width 422
- justify 0
- label "HTTPUrlReplacement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA1A017C"
- width 440
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::HTTPUrlEncoded" @19
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (608, 1520)
- label (object ItemLabel
- Parent_View @19
- location (436, 1469)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "HTTPUrlEncoded")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFEA6D0294"
- width 362
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::http::IHTTPBinding" @20
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (576, 160)
- label (object ItemLabel
- Parent_View @20
- location (50, 101)
- fill_color 13434879
- nlines 1
- max_width 1052
- justify 0
- label "IHTTPBinding")
- stereotype (object ItemLabel
- Parent_View @20
- location (50, 51)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1052
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "409843A702EB"
- compartment (object Compartment
- Parent_View @20
- location (50, 161)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 1050)
- width 1070
- height 242
- annotation 8
- autoResize TRUE)
- (object InheritView "" @21
- stereotype TRUE
- line_color 3342489
- quidu "409843F103C0"
- client @16
- supplier @20
- line_style 0)
- (object ClassView "Class" "Logical View::http::IHTTPOperation" @22
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1696, 160)
- label (object ItemLabel
- Parent_View @22
- location (1150, 101)
- fill_color 13434879
- nlines 1
- max_width 1092
- justify 0
- label "IHTTPOperation")
- stereotype (object ItemLabel
- Parent_View @22
- location (1150, 51)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1092
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "409843FF02BB"
- compartment (object Compartment
- Parent_View @22
- location (1150, 161)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 1090)
- width 1110
- height 242
- annotation 8
- autoResize TRUE)
- (object InheritView "" @23
- stereotype TRUE
- line_color 3342489
- quidu "4098444602CC"
- client @17
- supplier @22
- line_style 0)
- (object ClassView "Class" "Logical View::http::IHTTPUrlEncoded" @24
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (608, 1104)
- label (object ItemLabel
- Parent_View @24
- location (44, 1045)
- fill_color 13434879
- nlines 1
- max_width 1128
- justify 0
- label "IHTTPUrlEncoded")
- stereotype (object ItemLabel
- Parent_View @24
- location (44, 995)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1128
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "409844570063"
- compartment (object Compartment
- Parent_View @24
- location (44, 1105)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 1125)
- width 1146
- height 242
- annotation 8
- autoResize TRUE)
- (object InheritView "" @25
- stereotype TRUE
- line_color 3342489
- quidu "409844910009"
- client @19
- supplier @24
- line_style 0)
- (object ClassView "Class" "Logical View::http::IHTTPUrlReplacement" @26
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1584, 1376)
- label (object ItemLabel
- Parent_View @26
- location (981, 1317)
- fill_color 13434879
- nlines 1
- max_width 1206
- justify 0
- label "IHTTPUrlReplacement")
- stereotype (object ItemLabel
- Parent_View @26
- location (981, 1267)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1206
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "4098449600D8"
- compartment (object Compartment
- Parent_View @26
- location (981, 1377)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 1203)
- width 1224
- height 242
- annotation 8
- autoResize TRUE)
- (object InheritView "" @27
- stereotype TRUE
- line_color 3342489
- quidu "409844D202C5"
- client @18
- supplier @26
- line_style 0)))))
- (object Class_Category "wsdl"
- quid "3ADFB8E5021E"
- documentation
-|The WSDL model contains classes for the Web Services Description Language (WSDL).
-|
-|WSDL describes network services as sets of endpoints operating on messages. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
-|
-|WSDL describes the formats of the messages exchanged by the services, and supports the XML Schemas specification as its canonical type system. This package uses an XML Schema Infoset model package (see the XSD package) to describe the abstract message formats.
-|
-|The model contains the following diagrams, named after the corresponding chapters in the WSDL 1.1 specification (http://www.w3.org/TR/2001/NOTE-wsdl-20010315)
-|- 2.1 Definition, shows the WSDL definition element and the WSDL document structure
-|- 2.1.1 Naming and Linking, shows the namespace and import mechanism
-|- 2.1.3 Extensibility, shows the WSDL extensibility mechanism
-|- 2.2 Types, shows the use of XML Schema types in WSDL
-|- 2.3 Messages, 2.4 PortTypes, 2.5 Bindings and 2.7 Services, show the major WSDL elements and their relations.
-|
-|The WSDL classes extend the javax.wsdl interfaces defined by JSR 110. Classes with interface and datatype stereotypes are used to represent these non-MOF interfaces.
-
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "WSDLElement"
- quid "3AD5C6A302DD"
- documentation "This class represents a WSDL language element."
- operations (list Operations
- (object Operation "getEnclosingDefinition"
- quid "3CD1529600C8"
- result "Definition"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setEnclosingDefinition"
- quid "3CD152B80347"
- parameters (list Parameters
- (object Parameter "definition"
- type "Definition"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "documentationElement"
- quid "3CCE443602A3"
- type "DOMElement")
- (object ClassAttribute "element"
- quid "3F97DBD30207"
- type "DOMElement"))
- language "Java"
- abstract TRUE)
- (object Class "PortType"
- quid "3AD5C7F001A5"
- documentation "This class represents a WSDL portType element of the WSDL specification version 1.1 and an Interface component of the WSDL specification version 1.2. A port type or Interface is a named set of abstract operations and the abstract messages involved."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5C9B70150"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FD8019F"
- supplier "Logical View::wsdl::IPortType"
- quidu "3B84A5BE0331"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB488E0023"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1E301E5"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CDEB0316"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4FD01BA"
- type "String"))
- language "Java")
- (object Class "Operation"
- quid "3AD5C80D03CE"
- documentation "This class represents a WSDL operation element. A WSDL operation is an abstract description of an action supported by a service."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE9DE98003C"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FE20171"
- supplier "Logical View::wsdl::IOperation"
- quidu "3B84A77600D1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "style"
- quid "3AEB472601AC"
- type "OperationType")
- (object ClassAttribute "name"
- quid "3BDD9643004C"
- type "String")
- (object ClassAttribute "undefined"
- quid "3BDDF235003E"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE2201AD"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D520011B"
- type "String"))
- language "Java")
- (object Class "Message"
- quid "3AD5C9590078"
- documentation "This class represents a WSDL message element. A WSDL message is an abstract, typed definition of the data being communicated."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5D05501C4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3B84A8D102BA"
- supplier "Logical View::wsdl::IMessage"
- quidu "3B84A8AF004F"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB487C01FE"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1D20226"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE4B02B0"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D54200F1"
- type "String"))
- language "Java")
- (object Class "Part"
- quid "3AD5CE1C032E"
- documentation "This class represents a WSDL part element. Parts describe the logical abstract content of a message. Each part is associated with a type from some type system. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84A96D02F1"
- supplier "Logical View::wsdl::IPart"
- quidu "3B84A93F01BE")
- (object Inheritance_Relationship
- quid "3B897E230237"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3BCE70B703C8"
- type "String")
- (object ClassAttribute "elementName"
- quid "3B84B08703DB"
- type "QName")
- (object ClassAttribute "typeName"
- quid "3BCE70C303C5"
- type "QName"))
- language "Java")
- (object Class "Binding"
- quid "3AD5D2860261"
- documentation "This class represents a WSDL binding element. A binding defines message format and protocol details for operations and messages defined by a particular portType. There may be any number of bindings for a given portType."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA0F02F0"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B8595410129"
- supplier "Logical View::wsdl::IBinding"
- quidu "3B84ABC60219"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB4899014B"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1F401A3"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE6D0151"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4DF035C"
- type "String"))
- language "Java")
- (object Class "BindingOperation"
- quid "3AD5D3CB0145"
- documentation "This class represents a WSDL operation element within a binding. An operation element within a binding specifies binding information for the operation with the same name within the binding's portType. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD6009202F7"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84ADE401DC"
- supplier "Logical View::wsdl::IBindingOperation"
- quidu "3B84ADC00072"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B89C4CB0199"
- type "String"))
- language "Java")
- (object Class "Service"
- quid "3AD5D8F002F8"
- documentation "This class represents a WSDL service element. A service groups a set of related ports together."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA20025E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954E01B4"
- supplier "Logical View::wsdl::IService"
- quidu "3B84AB490287"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB48A40151"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF20D0203"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18D4810220"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4C501E2"
- type "String"))
- language "Java")
- (object Class "Port"
- quid "3AD5D9170286"
- documentation "This class represents a WSDL port element. A port defines an individual endpoint by specifying a single address for a binding"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD600CB00AA"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954502C9"
- supplier "Logical View::wsdl::IPort"
- quidu "3B84AB800326"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3AD5D9A00391"
- type "String"))
- language "Java")
- (object Class "ExtensibilityElement"
- quid "3AD5DBB602A9"
- documentation "This class represents a WSDL extensibility element. WSDL allows extensibility elements representing a specific technology under various elements defined by WSDL."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84B14903D0"
- supplier "Logical View::wsdl::IExtensibilityElement"
- quidu "3B84B12402AB")
- (object Inheritance_Relationship
- quid "3BDDF53502C3"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3AF9543C0073"
- type "boolean")
- (object ClassAttribute "elementType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B85B21A0271"
- type "QName"))
- language "Java")
- (object Class "Definition"
- quid "3AD5E43F008E"
- documentation "This class represents a WSDL definitions element. The WSDL definitions element is the root element of a WSDL document."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FDB803D4"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84B1F80382"
- supplier "Logical View::wsdl::IDefinition"
- quidu "3B84B1D90142"))
- operations (list Operations
- (object Operation "getDocument"
- quid "3CD14FC2012B"
- result "DOMDocument"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocument"
- quid "3CD150DE01E7"
- parameters (list Parameters
- (object Parameter "document"
- type "DOMDocument"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "targetNamespace"
- quid "3AD5E474004E"
- type "String")
- (object ClassAttribute "location"
- quid "40352B7C0396"
- type "String")
- (object ClassAttribute "qName"
- quid "3AEB485702F5"
- type "QName")
- (object ClassAttribute "encoding"
- quid "3CADD00D000D"
- type "String"))
- language "Java")
- (object Class "Import"
- quid "3AD5E4F903DE"
- documentation "This class represents WSDL import element. WSDL allows associating a namespace with a document location using an import element."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5EE58037A"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F200D0340"
- supplier "Logical View::wsdl::IImport"
- quidu "3B84B2020119"))
- operations (list Operations
- (object Operation "getSchema"
- quid "3C8672C10379"
- result "XSDSchema"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setSchema"
- quid "3C8672C10397"
- parameters (list Parameters
- (object Parameter "schema"
- type "XSDSchema"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceURI"
- quid "3AD5E50A0036"
- type "String")
- (object ClassAttribute "locationURI"
- quid "3AD5E5140211"
- type "String"))
- language "Java")
- (object Class "ExtensibleElement"
- quid "3AD5FCFA033A"
- documentation " WSDL allows elements representing a specific technology (referred to here as extensibility elements) under various elements defined by WSDL. This class represents a WSDL point of extensibility."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FE3C03D4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- operations (list Operations
- (object Operation "getExtensibilityElements"
- quid "3B85C12C03CD"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addExtensibilityElement"
- quid "3B85C1470295"
- parameters (list Parameters
- (object Parameter "extElement"
- type "IExtensibilityElement"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java"
- abstract TRUE)
- (object Class "Input"
- quid "3AE0789F0059"
- documentation "This class represents a WSDL input element. An input element specifies the abstract message format for the input of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C504025F"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67722802E7"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FEE031D"
- supplier "Logical View::wsdl::IInput"
- quidu "3B84A7EE0015"))
- language "Java")
- (object Class "Output"
- quid "3AE078B60232"
- documentation "This class represents a WSDL output element. An output element specifies the abstract message format for the output of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C50C035B"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723500DD"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FF801CD"
- supplier "Logical View::wsdl::IOutput"
- quidu "3B84A829027D"))
- language "Java")
- (object Class "Fault"
- quid "3AE078BE0108"
- documentation "This class represents a WSDL fault element. Fault elements specify the abstract message format for any error messages that may be output as the result of the operation "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE1C82002F2"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723D0319"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F2002002D"
- supplier "Logical View::wsdl::IFault"
- quidu "3B84A861031D"))
- language "Java")
- (object Class "BindingInput"
- quid "3AE08A8202D4"
- documentation "This class represents a WSDL input element within a operation within a binding. An input element within an operation within a binding specifies binding information for the input of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE1B0113"
- supplier "Logical View::wsdl::IBindingInput"
- quidu "3B84ADEB0100")
- (object Inheritance_Relationship
- quid "3B85B59B0072"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getInput"
- quid "3C8653A40203"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8653B503A2"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C1EA020E"
- type "String"))
- language "Java")
- (object Class "BindingOutput"
- quid "3AE08A8F028C"
- documentation "This class represents a WSDL output element within a operation within a binding. An output element within an operation within a binding specifies binding information for the output of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE4302AB"
- supplier "Logical View::wsdl::IBindingOutput"
- quidu "3B84AE210111")
- (object Inheritance_Relationship
- quid "3B85B5A4027E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getOutput"
- quid "3C8653D900F1"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8653F10326"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C20200BE"
- type "String"))
- language "Java")
- (object Class "BindingFault"
- quid "3AE08A9E03A6"
- documentation "This class represents a WSDL fault element within a operation within a binding. A fault element within an operation within a binding specifies binding information for the fault with the same name. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE0938602C9"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84AE710333"
- supplier "Logical View::wsdl::IBindingFault"
- quidu "3B84AE4F00BD"))
- operations (list Operations
- (object Operation "getFault"
- quid "3C865413037F"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setFault"
- quid "3C8654210109"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85BF9E014A"
- type "String"))
- language "Java")
- (object Class "QName"
- quid "3AE8ED220140"
- documentation "This class represents the javax.wsdl.QName class. A QName is a fully qualified name."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.xml.namespace.QName"
- quid "3B849DA9003D"
- stereotype "javaclass"))
- language "Java")
- (object Class "Namespace"
- quid "3AEA3CD30030"
- documentation "This class represents a namespace and the corresponding namespace prefix used in a WSDL document."
- class_attributes (list class_attribute_list
- (object ClassAttribute "URI"
- quid "3AEA3D2901B1"
- type "String")
- (object ClassAttribute "prefix"
- quid "3AEA3D320236"
- type "String"))
- language "Java")
- (object Class "OperationType"
- quid "3AEB4782024F"
- documentation
-|ONE_WAY=1
-|REQUEST_RESPONSE=2
-|SOLICIT_RESPONSE=3
-|NOTIFICATION=4
-
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.OperationType"
- quid "3B85C35303E3"
- stereotype "javaclass"))
- language "Java")
- (object Class "IPortType"
- quid "3B84A5BE0331"
- documentation "This class represents the javax.wsdl.PortType non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addOperation"
- quid "3B896AC101CA"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3B896BAF01A4"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperations"
- quid "3B896BF7031A"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.PortType"
- quid "3B84A632000D"
- stereotype "javaclass")))
- (object Class "IOperation"
- quid "3B84A77600D1"
- documentation "This class represents the javax.wsdl.Operation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addFault"
- quid "3B896C420065"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFault"
- quid "3B896C59028F"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFaults"
- quid "3B896C7102B1"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParameterOrdering"
- quid "3B896C8101B0"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setParameterOrdering"
- quid "3B896C99031D"
- parameters (list Parameters
- (object Parameter "parameterOrder"
- type "IList"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getInput"
- quid "3C8654E5018D"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8662C40107"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOutput"
- quid "3C8662E40094"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8662F001D2"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Operation"
- quid "3B84A799012B"
- stereotype "javaclass")))
- (object Class "IInput"
- quid "3B84A7EE0015"
- documentation "This class represents the javax.wsdl.Input non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86633100EF"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8663470277"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Input"
- quid "3B84A8000039"
- stereotype "javaclass")))
- (object Class "IOutput"
- quid "3B84A829027D"
- documentation "This class represents the javax.wsdl.Output non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86643A035D"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C86644501C8"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Output"
- quid "3B84A83901D5"
- stereotype "javaclass")))
- (object Class "IFault"
- quid "3B84A861031D"
- documentation "This class represents the javax.wsdl.Fault non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86646A00BD"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8664750131"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Fault"
- quid "3B84A8710208"
- stereotype "javaclass")))
- (object Class "IMessage"
- quid "3B84A8AF004F"
- documentation "This class represents the javax.wsdl.Message non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPart"
- quid "3B8972240273"
- parameters (list Parameters
- (object Parameter "part"
- type "IPart"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPart"
- quid "3B89723D0233"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParts"
- quid "3B897254025E"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOrderedParts"
- quid "3B897261020D"
- parameters (list Parameters
- (object Parameter "partOrder"
- type "IList"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Message"
- quid "3B84A8BC0260"
- stereotype "javaclass")))
- (object Class "IPart"
- quid "3B84A93F01BE"
- documentation "This class represents the javax.wsdl.Part non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "setExtensionAttribute"
- quid "3C4688450052"
- parameters (list Parameters
- (object Parameter "name"
- type "QName")
- (object Parameter "value"
- type "QName"))
- exceptions "WSDLException"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttributeNames"
- quid "3C468A0101C3"
- result "IIterator"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttribute"
- quid "3C468A2D02D5"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "QName"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Part"
- quid "3B84A9500231"
- stereotype "javaclass")))
- (object Class "IService"
- quid "3B84AB490287"
- documentation "This class represents the javax.wsdl.Service non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPort"
- quid "3B895D5601D1"
- parameters (list Parameters
- (object Parameter "port"
- type "IPort"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPorts"
- quid "3B895DA20036"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPort"
- quid "3B895DB001BC"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Service"
- quid "3B84AB5B003E"
- stereotype "javaclass")))
- (object Class "IPort"
- quid "3B84AB800326"
- documentation "This class represents the javax.wsdl.Port non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getBinding"
- quid "3C8651F302B5"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBinding"
- quid "3C86526302F2"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Port"
- quid "3B84AB8C0016"
- stereotype "javaclass")))
- (object Class "IBinding"
- quid "3B84ABC60219"
- documentation "This class represents the javax.wsdl.Binding non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingOperation"
- quid "3B895F160153"
- parameters (list Parameters
- (object Parameter "bindingOperation"
- type "IBindingOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperation"
- quid "3B895F500066"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperations"
- quid "3B895FA401C5"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3C8652A90284"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setPortType"
- quid "3C8652BE01A8"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Binding"
- quid "3B84ABCF0302"
- stereotype "javaclass")))
- (object Class "IBindingOperation"
- quid "3B84ADC00072"
- documentation "This class represents the javax.wsdl.BindingOperation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingFault"
- quid "3B8960BC0041"
- parameters (list Parameters
- (object Parameter "bindingFault"
- type "IBindingFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFault"
- quid "3B8960D9009D"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFaults"
- quid "3B8960FC0061"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3C86532D0017"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOperation"
- quid "3C86533F037B"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingInput"
- quid "3C86550900DA"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingInput"
- quid "3C86551D007F"
- parameters (list Parameters
- (object Parameter "bindingInput"
- type "IBindingInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOutput"
- quid "3C8655340349"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingOutput"
- quid "3C86554702A6"
- parameters (list Parameters
- (object Parameter "bindingOutput"
- type "IBindingOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOperation"
- quid "3B84ADCB021C"
- stereotype "javaclass")))
- (object Class "IBindingInput"
- quid "3B84ADEB0100"
- documentation "This class represents the javax.wsdl.BindingInput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingInput"
- quid "3B84ADFE000D"
- stereotype "javaclass")))
- (object Class "IBindingOutput"
- quid "3B84AE210111"
- documentation "This class represents the javax.wsdl.BindingOutput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOutput"
- quid "3B84AE2D0050"
- stereotype "javaclass")))
- (object Class "IBindingFault"
- quid "3B84AE4F00BD"
- documentation "This class represents the javax.wsdl.BindingFault non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingFault"
- quid "3B84AE5F002A"
- stereotype "javaclass")))
- (object Class "DOMElement"
- quid "3B84AF3203DB"
- documentation "This class represents the org.w3c.dom.Element non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B84AF560292"
- stereotype "javaclass")))
- (object Class "IExtensibilityElement"
- quid "3B84B12402AB"
- documentation "This class represents the javax.wsdl.ExtensibilityElement non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensibilityElement"
- quid "3B84B13503D1"
- stereotype "javaclass")))
- (object Class "IDefinition"
- quid "3B84B1D90142"
- documentation "This class represents the javax.wsdl.Definition non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBinding"
- quid "3B8988F1039D"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addImport"
- quid "3B8989490259"
- parameters (list Parameters
- (object Parameter "importDef"
- type "IImport"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addMessage"
- quid "3B89896E005E"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addNamespace"
- quid "3B898984004B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String")
- (object Parameter "namespaceURI"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addPortType"
- quid "3B8989C50045"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addService"
- quid "3B8989E401EE"
- parameters (list Parameters
- (object Parameter "service"
- type "IService"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingFault"
- quid "3B898A17038C"
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingInput"
- quid "3B898A320286"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOutput"
- quid "3B898A46013B"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOperation"
- quid "3B898A5C00B0"
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBinding"
- quid "3B8989FE037C"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createFault"
- quid "3B898A7502E7"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createImport"
- quid "3B898A83014C"
- result "IImport"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createInput"
- quid "3B898A9D033E"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createMessage"
- quid "3B898AAF0254"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOperation"
- quid "3B898AC203C4"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOutput"
- quid "3B898AE800ED"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPart"
- quid "3B898AF8026D"
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPort"
- quid "3B898B0801DA"
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPortType"
- quid "3B898B15039B"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createService"
- quid "3B898B32013A"
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBinding"
- quid "3B898B420075"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindings"
- quid "3B898B920341"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BCD0060"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BE70144"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessage"
- quid "3B898C170107"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessages"
- quid "3B898C3E001D"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespace"
- quid "3B898C62014B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespaces"
- quid "3B898C740115"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3B898CBE0071"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortTypes"
- quid "3B898CDA01C6"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPrefix"
- quid "3B898CFD0017"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getService"
- quid "3B898D2300A8"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getServices"
- quid "3B898D3B03CE"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionRegistry"
- quid "3B89D5B8012B"
- result "IExtensionRegistry"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setExtensionRegistry"
- quid "3B89D5D703BB"
- parameters (list Parameters
- (object Parameter "extensionRegistry"
- type "IExtensionRegistry"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getDocumentBaseURI"
- quid "3B89D5FE0208"
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocumentBaseURI"
- quid "3B89D6180328"
- parameters (list Parameters
- (object Parameter "documentBase"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createTypes"
- quid "3CADD0560080"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeService"
- quid "3CADD07E004C"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeBinding"
- quid "3CADD0BA0355"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removePortType"
- quid "3CADD0D8029A"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeMessage"
- quid "3CADD0FA0307"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getTypes"
- quid "3C86706F031B"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setTypes"
- quid "3C86709500EE"
- parameters (list Parameters
- (object Parameter "types"
- type "ITypes"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Definition"
- quid "3B84B1E702A1"
- stereotype "javaclass")))
- (object Class "IImport"
- quid "3B84B2020119"
- documentation "This class represents the javax.wsdl.Import non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Import"
- quid "3B84B20C02EA"
- stereotype "javaclass")))
- (object Class "IList"
- quid "3B85C0A203C5"
- documentation "This class represents the non-MOF java.util.List interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.List"
- quid "3B85C0AF0297"
- stereotype "javaclass")))
- (object Class "IMap"
- quid "3B896B0300D4"
- documentation "This class represents the non-MOF java.util.Map interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Map"
- quid "3B896B1102B5"
- stereotype "javaclass")))
- (object Class "IURL"
- quid "3B89D5630274"
- documentation "This class represents the non-MOF java.net.URL interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.net.URL"
- quid "3B89D56E03E2"
- stereotype "javaclass")))
- (object Class "IExtensionRegistry"
- quid "3B89D59302A5"
- documentation "This class represents the non-MOF javax.wsdl.extensions.ExtensionRegistry interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensionRegistry"
- quid "3B89D59F02E8"
- stereotype "javaclass")))
- (object Class "Types"
- quid "3B8BE9A603A8"
- documentation "This class represents a WSDL types element. The types element encloses data type definitions that are relevant for the exchanged messages."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B8BEB010311"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3CADCD3B0380"
- supplier "Logical View::wsdl::ITypes"
- quidu "3CADCBB20050"))
- operations (list Operations
- (object Operation "getSchemas"
- quid "3CADCF3803E6"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getSchemas"
- quid "3CADCF7E0301"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)))
- (object Class "IIterator"
- quid "3C4687DA0167"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Iterator"
- quid "3C46880800B9"
- stereotype "javaclass")))
- (object Class "WSDLException"
- quid "3C4689650313"
- documentation "This class represents the javax.wsdl.Exception class."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.WSDLException"
- quid "3C4689740315"
- stereotype "javaclass")))
- (object Class "ITypes"
- quid "3CADCBB20050"
- documentation "This class represents the javax.wsdl.Types non-MOF interface"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Types"
- quid "3CADCBF10173"
- stereotype "javaclass")))
- (object Class "UnknownExtensibilityElement"
- quid "3CB24AC002AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CB24AEC01CB"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "XSDSchemaExtensibilityElement"
- quid "3CC360D7039C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CC3627F00B7"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "DOMDocument"
- quid "3CD1502C023B"
- documentation "This class represents the org.w3c.dom.Document non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3CD150600182"
- stereotype "javaclass")))
- (object Class "MessageReference"
- quid "3F6771DB02DC"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3F762A6A0308"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3F6780A001AB"
- type "String"
- exportControl "Protected"))
- language "Java"
- abstract TRUE)
- (object Association "$UNNAMED$0"
- quid "3AD5C824018C"
- roles (list role_list
- (object Role "portType"
- quid "3AD5C82701C3"
- label "portType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- Containment "By Value"
- is_aggregate TRUE)
- (object Role "eOperations"
- quid "3AD5C82701CD"
- label "eOperations"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$1"
- quid "3AD5CEBE00E2"
- roles (list role_list
- (object Role "$UNNAMED$2"
- quid "3AD5CEBF0057"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eParts"
- quid "3AD5CEBF0061"
- label "eParts"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$3"
- quid "3AD5D352010F"
- roles (list role_list
- (object Role "ePortType"
- quid "3AD5D3540176"
- label "ePortType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$4"
- quid "3AD5D3540180"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261")))
- (object Association "$UNNAMED$5"
- quid "3AD5D3E10179"
- roles (list role_list
- (object Role "$UNNAMED$6"
- quid "3AD5D3E20225"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindingOperations"
- quid "3AD5D3E20239"
- label "eBindingOperations"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$7"
- quid "3AD5D425038A"
- roles (list role_list
- (object Role "eOperation"
- quid "3AD5D42602F5"
- label "eOperation"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$8"
- quid "3AD5D42602FF"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145")))
- (object Association "$UNNAMED$9"
- quid "3AD5D9400393"
- roles (list role_list
- (object Role "ePorts"
- quid "3AD5D941031C"
- label "ePorts"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$10"
- quid "3AD5D941031D"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$11"
- quid "3AD5D9B8011F"
- roles (list role_list
- (object Role "eBinding"
- quid "3AD5D9B9024D"
- label "eBinding"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$12"
- quid "3AD5D9B90261"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286")))
- (object Association "$UNNAMED$13"
- quid "3AD5E60301E2"
- roles (list role_list
- (object Role "$UNNAMED$14"
- quid "3AD5E60400B7"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eMessages"
- quid "3AD5E60400C1"
- label "eMessages"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$15"
- quid "3AD5E6710104"
- roles (list role_list
- (object Role "$UNNAMED$16"
- quid "3AD5E672034A"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "ePortTypes"
- quid "3AD5E6720354"
- label "ePortTypes"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$17"
- quid "3AD5E6770095"
- roles (list role_list
- (object Role "$UNNAMED$18"
- quid "3AD5E6780371"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindings"
- quid "3AD5E678037B"
- label "eBindings"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$19"
- quid "3AD5E67B0311"
- roles (list role_list
- (object Role "$UNNAMED$20"
- quid "3AD5E67D007F"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eServices"
- quid "3AD5E67D0089"
- label "eServices"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$21"
- quid "3AD5FD130079"
- roles (list role_list
- (object Role "eExtensibilityElements"
- quid "3AD5FD14019D"
- label "eExtensibilityElements"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$22"
- quid "3AD5FD14019E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$23"
- quid "3ADF2E6401F5"
- roles (list role_list
- (object Role "eBindingInput"
- quid "3ADF2E650251"
- label "eBindingInput"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$24"
- quid "3ADF2E650252"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$25"
- quid "3ADF2EB30163"
- roles (list role_list
- (object Role "eBindingOutput"
- quid "3ADF2EB4013C"
- label "eBindingOutput"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$26"
- quid "3ADF2EB4013D"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$27"
- quid "3ADF2F94024D"
- roles (list role_list
- (object Role "eInput"
- quid "3ADF2F950190"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$28"
- quid "3ADF2F95019A"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$29"
- quid "3ADF2FB802F9"
- roles (list role_list
- (object Role "eOutput"
- quid "3ADF2FB9020A"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$30"
- quid "3ADF2FB9020B"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$31"
- quid "3ADF331601A4"
- roles (list role_list
- (object Role "eFaults"
- quid "3ADF33180387"
- label "eFaults"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$32"
- quid "3ADF33180388"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$33"
- quid "3ADF340003E5"
- roles (list role_list
- (object Role "eBindingFaults"
- quid "3ADF340103AA"
- label "eBindingFaults"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$34"
- quid "3ADF340103AB"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$35"
- quid "3AE091F402F3"
- roles (list role_list
- (object Role "eFault"
- quid "3AE091F801FE"
- label "eFault"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$36"
- quid "3AE091F801FF"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6")))
- (object Association "$UNNAMED$37"
- quid "3AEA3D55002D"
- roles (list role_list
- (object Role "$UNNAMED$38"
- quid "3AEA3D560328"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eNamespaces"
- quid "3AEA3D560332"
- label "eNamespaces"
- supplier "Logical View::wsdl::Namespace"
- quidu "3AEA3CD30030"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$39"
- quid "3AEA3E3A002D"
- roles (list role_list
- (object Role "eDefinition"
- quid "3AEA3E3C01E8"
- label "eDefinition"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$40"
- quid "3AEA3E3C01F2"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$41"
- quid "3AEA412F0035"
- roles (list role_list
- (object Role "eParameterOrdering"
- quid "3AEA41310255"
- label "eParameterOrdering"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- is_navigable TRUE)
- (object Role "$UNNAMED$42"
- quid "3AEA4131025F"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE")))
- (object Association "$UNNAMED$43"
- quid "3B84AD2400BD"
- roles (list role_list
- (object Role "eInput"
- quid "3B84AD250083"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$44"
- quid "3B84AD250084"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4")))
- (object Association "$UNNAMED$45"
- quid "3B84AD7900F2"
- roles (list role_list
- (object Role "eOutput"
- quid "3B84AD7A014D"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$46"
- quid "3B84AD7A014E"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C")))
- (object Association "$UNNAMED$47"
- quid "3B8B1BE900C4"
- roles (list role_list
- (object Role "typeDefinition"
- quid "3B8B1BE90327"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$48"
- quid "3B8B1BE90331"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$49"
- quid "3B8B1C1203B2"
- roles (list role_list
- (object Role "elementDeclaration"
- quid "3B8B1C14001C"
- label "elementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$50"
- quid "3B8B1C140026"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$51"
- quid "3B8B1DCC02E5"
- roles (list role_list
- (object Role "eSchema"
- quid "3B8B1DCE0270"
- label "eSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$52"
- quid "3B8B1DCE027A"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$53"
- quid "3B8BEA27029F"
- roles (list role_list
- (object Role "$UNNAMED$54"
- quid "3B8BEA290356"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eTypes"
- quid "3B8BEA29036A"
- label "eTypes"
- supplier "Logical View::wsdl::Types"
- quidu "3B8BE9A603A8"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$55"
- quid "3C46829303E5"
- roles (list role_list
- (object Role "eMessage"
- quid "3C468296010E"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$56"
- quid "3C4682960118"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$57"
- quid "3C864DFF02EC"
- roles (list role_list
- (object Role "eImports"
- quid "3C864DFF02ED"
- label "eImports"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$58"
- quid "3C864DFF02EE"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$59"
- quid "3CC3614500F2"
- roles (list role_list
- (object Role "$UNNAMED$60"
- quid "3CC36146023D"
- supplier "Logical View::wsdl::XSDSchemaExtensibilityElement"
- quidu "3CC360D7039C"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "schema"
- quid "3CC36146023E"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$61"
- quid "3F74E78401B1"
- roles (list role_list
- (object Role "eMessage"
- quid "3F74E786000F"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$62"
- quid "3F74E7860023"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")))
- (object Association "$UNNAMED$63"
- quid "3F7896A2026E"
- roles (list role_list
- (object Role "parent"
- quid "3F7896A7012B"
- label "parent"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "children"
- quid "3F7896A7012C"
- label "children"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "2.7 Services"
- quid "39AD3EF60127"
- title "2.7 Services"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @28
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (1424, 800)
- label (object ItemLabel
- Parent_View @28
- location (1173, 660)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @28
- location (1173, 610)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 502
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- width 520
- height 404
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPort" @29
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (816, 528)
- label (object ItemLabel
- Parent_View @29
- location (686, 481)
- fill_color 13434879
- nlines 1
- max_width 260
- justify 0
- label "IPort")
- stereotype (object ItemLabel
- Parent_View @29
- location (686, 431)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB800326"
- width 278
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IService" @30
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 160)
- label (object ItemLabel
- Parent_View @30
- location (126, 90)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "IService")
- stereotype (object ItemLabel
- Parent_View @30
- location (126, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 228
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB490287"
- width 246
- height 264
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @31
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 528)
- label (object ItemLabel
- Parent_View @31
- location (44, 389)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @32
- stereotype TRUE
- line_color 3342489
- quidu "3B85954E01B4"
- client @31
- supplier @30
- line_style 3
- origin_attachment (240, 377)
- terminal_attachment (240, 292))
- (object ClassView "Class" "Logical View::wsdl::Binding" @33
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1440, 1264)
- label (object ItemLabel
- Parent_View @33
- location (1244, 1125)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @34
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @33
- supplier @28
- line_style 3
- origin_attachment (1430, 1113)
- terminal_attachment (1430, 1002))
- (object ClassView "Class" "Logical View::wsdl::Port" @35
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (816, 912)
- label (object ItemLabel
- Parent_View @35
- location (675, 840)
- fill_color 13434879
- nlines 1
- max_width 282
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- width 300
- height 168
- annotation 8
- autoResize TRUE)
- (object InheritView "" @36
- stereotype TRUE
- line_color 3342489
- quidu "3B85954502C9"
- client @35
- supplier @29
- line_style 3
- origin_attachment (809, 828)
- terminal_attachment (809, 637))
- (object AssociationViewNew "$UNNAMED$9" @37
- location (343, 916)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9400393"
- roleview_list (list RoleViews
- (object RoleView "ePorts" @38
- Parent_View @37
- location (-121, 644)
- label (object SegLabel @39
- Parent_View @38
- location (413, 945)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+ePorts"
- pctDist 0.218978
- height 29
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031C"
- client @37
- supplier @35
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (666, 916)
- label (object SegLabel @40
- Parent_View @38
- location (539, 880)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 160
- justify 0
- label "0..*"
- pctDist 0.608000
- height 37
- orientation 0)
- label (object SegLabel @41
- Parent_View @38
- location (448, 990)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.328467
- height 74
- orientation 1))
- (object RoleView "$UNNAMED$10" @42
- Parent_View @37
- location (-121, 644)
- label (object SegLabel @43
- Parent_View @42
- location (216, 744)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031D"
- client @37
- supplier @31
- vertices (list Points
- (343, 916)
- (257, 916)
- (257, 679))
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (257, 679)
- label (object SegLabel @44
- Parent_View @42
- location (301, 796)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.637097
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$11" @45
- location (886, 1270)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B8011F"
- roleview_list (list RoleViews
- (object RoleView "eBinding" @46
- Parent_View @45
- location (38, 422)
- label (object SegLabel @47
- Parent_View @46
- location (1112, 1235)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eBinding"
- pctDist 0.648571
- height 36
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B9024D"
- client @45
- supplier @33
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (1235, 1270)
- label (object SegLabel @48
- Parent_View @46
- location (1170, 1313)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.814286
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$12" @49
- Parent_View @45
- location (38, 422)
- label (object SegLabel @50
- Parent_View @49
- location (852, 1106)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label ""
- pctDist 0.687943
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B90261"
- client @45
- supplier @35
- vertices (list Points
- (886, 1270)
- (812, 1270)
- (812, 996))
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (812, 996))))))
- (object ClassDiagram "2.5 Bindings"
- quid "39AD51270252"
- title "2.5 Bindings"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @51
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 240)
- label (object ItemLabel
- Parent_View @51
- location (73, 114)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @51
- location (73, 64)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 462
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- width 480
- height 376
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOperation" @52
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 352)
- label (object ItemLabel
- Parent_View @52
- location (780, 130)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "IBindingOperation")
- stereotype (object ItemLabel
- Parent_View @52
- location (780, 80)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 392
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADC00072"
- width 410
- height 568
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingInput" @53
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (192, 1360)
- label (object ItemLabel
- Parent_View @53
- location (62, 1334)
- fill_color 16777215
- nlines 1
- max_width 260
- justify 0
- label "IBindingInput")
- stereotype (object ItemLabel
- Parent_View @53
- location (62, 1284)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADEB0100"
- width 278
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOutput" @54
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (208, 1664)
- label (object ItemLabel
- Parent_View @54
- location (61, 1638)
- fill_color 16777215
- nlines 1
- max_width 294
- justify 0
- label "IBindingOutput")
- stereotype (object ItemLabel
- Parent_View @54
- location (61, 1588)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 294
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE210111"
- width 312
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingFault" @55
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @55
- location (72, 1958)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "IBindingFault")
- stereotype (object ItemLabel
- Parent_View @55
- location (72, 1908)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 272
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE4F00BD"
- width 290
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @56
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 624)
- label (object ItemLabel
- Parent_View @56
- location (1568, 486)
- fill_color 13434879
- nlines 1
- max_width 673
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 691
- height 301
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @57
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1360)
- label (object ItemLabel
- Parent_View @57
- location (1756, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Output" @58
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1664)
- label (object ItemLabel
- Parent_View @58
- location (1756, 1587)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @59
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 688)
- label (object ItemLabel
- Parent_View @59
- location (97, 539)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @60
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @59
- supplier @51
- line_style 3
- origin_attachment (279, 527)
- terminal_attachment (279, 428))
- (object AssociationViewNew "$UNNAMED$3" @61
- location (1039, 742)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D352010F"
- roleview_list (list RoleViews
- (object RoleView "ePortType" @62
- Parent_View @61
- location (575, 598)
- label (object SegLabel @63
- Parent_View @62
- location (1449, 781)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+ePortType"
- pctDist 0.789292
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540176"
- client @61
- supplier @56
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (1559, 742)
- label (object SegLabel @64
- Parent_View @62
- location (1492, 716)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.872193
- height 27
- orientation 0))
- (object RoleView "$UNNAMED$4" @65
- Parent_View @61
- location (575, 598)
- label (object SegLabel @66
- Parent_View @65
- location (776, 697)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label ""
- pctDist 0.509449
- height 46
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540180"
- client @61
- supplier @59
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (520, 742))))
- (object ClassView "Class" "Logical View::wsdl::Operation" @67
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 1024)
- label (object ItemLabel
- Parent_View @67
- location (1672, 851)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- width 450
- height 370
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @68
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (624, 1408)
- label (object ItemLabel
- Parent_View @68
- location (476, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$43" @69
- location (1264, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD2400BD"
- roleview_list (list RoleViews
- (object RoleView "eInput" @70
- Parent_View @69
- location (96, 287)
- label (object SegLabel @71
- Parent_View @70
- location (1637, 1316)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.775148
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250083"
- client @69
- supplier @57
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (1747, 1359)
- label (object SegLabel @72
- Parent_View @70
- location (1694, 1398)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.889546
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$44" @73
- Parent_View @69
- location (96, 287)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250084"
- client @69
- supplier @68
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (781, 1359))))
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @74
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 1664)
- label (object ItemLabel
- Parent_View @74
- location (812, 1539)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$45" @75
- location (1432, 1654)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7900F2"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @76
- Parent_View @75
- location (-120, 374)
- label (object SegLabel @77
- Parent_View @76
- location (1645, 1612)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.674772
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014D"
- client @75
- supplier @58
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1747, 1654)
- label (object SegLabel @78
- Parent_View @76
- location (1681, 1697)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.790274
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$46" @79
- Parent_View @75
- location (-120, 374)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014E"
- client @75
- supplier @74
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1117, 1654))))
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @80
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (992, 1008)
- label (object ItemLabel
- Parent_View @80
- location (819, 931)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 178
- annotation 8
- autoResize TRUE)
- (object InheritView "" @81
- stereotype TRUE
- line_color 3342489
- quidu "3B84ADE401DC"
- client @80
- supplier @52
- line_style 3
- origin_attachment (966, 919)
- terminal_attachment (966, 636))
- (object AssociationViewNew "$UNNAMED$5" @82
- location (457, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E10179"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$6" @83
- Parent_View @82
- location (-1319, 494)
- label (object SegLabel @84
- Parent_View @83
- location (235, 920)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20225"
- client @82
- supplier @59
- vertices (list Points
- (457, 1022)
- (276, 1022)
- (276, 849))
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (276, 849)
- label (object SegLabel @85
- Parent_View @83
- location (330, 884)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "eBindingOperations" @86
- Parent_View @82
- location (-1319, 494)
- label (object SegLabel @87
- Parent_View @86
- location (531, 977)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+eBindingOperations"
- pctDist 0.211699
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20239"
- client @82
- supplier @80
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (810, 1022)
- label (object SegLabel @88
- Parent_View @86
- location (769, 980)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.884956
- height 43
- orientation 0)
- label (object SegLabel @89
- Parent_View @86
- location (714, 1067)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.727564
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$7" @90
- location (1418, 1040)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D425038A"
- roleview_list (list RoleViews
- (object RoleView "eOperation" @91
- Parent_View @90
- location (-358, 464)
- label (object SegLabel @92
- Parent_View @91
- location (1520, 1079)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 228
- justify 0
- label "+eOperation"
- pctDist 0.420601
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602F5"
- client @90
- supplier @67
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1663, 1040)
- label (object SegLabel @93
- Parent_View @91
- location (1589, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.696721
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$8" @94
- Parent_View @90
- location (-358, 464)
- label (object SegLabel @95
- Parent_View @94
- location (1273, 1070)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.595420
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602FF"
- client @90
- supplier @80
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1174, 1040))))
- (object AssociationViewNew "$UNNAMED$23" @96
- location (787, 1190)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E6401F5"
- roleview_list (list RoleViews
- (object RoleView "eBindingInput" @97
- Parent_View @96
- location (-381, 454)
- label (object SegLabel @98
- Parent_View @97
- location (669, 1152)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+eBindingInput"
- pctDist 0.511905
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650251"
- client @96
- supplier @68
- vertices (list Points
- (787, 1190)
- (636, 1190)
- (636, 1271))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (636, 1271)
- label (object SegLabel @99
- Parent_View @97
- location (685, 1222)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.440476
- height 32
- orientation 0))
- (object RoleView "$UNNAMED$24" @100
- Parent_View @96
- location (-381, 454)
- label (object SegLabel @101
- Parent_View @100
- location (885, 1144)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650252"
- client @96
- supplier @80
- vertices (list Points
- (787, 1190)
- (926, 1190)
- (926, 1097))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (926, 1097)
- label (object SegLabel @102
- Parent_View @100
- location (871, 1136)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.837758
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$25" @103
- location (1024, 1312)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB30163"
- roleview_list (list RoleViews
- (object RoleView "eBindingOutput" @104
- Parent_View @103
- location (-150, 578)
- label (object SegLabel @105
- Parent_View @104
- location (1012, 1429)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 306
- justify 0
- label "+eBindingOutput"
- pctDist 0.545082
- height 13
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013C"
- client @103
- supplier @74
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1527)
- label (object SegLabel @106
- Parent_View @104
- location (967, 1479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.774590
- height 58
- orientation 1))
- (object RoleView "$UNNAMED$26" @107
- Parent_View @103
- location (-150, 578)
- label (object SegLabel @108
- Parent_View @107
- location (983, 1140)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013D"
- client @103
- supplier @80
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1097)
- label (object SegLabel @109
- Parent_View @107
- location (1031, 1186)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.590164
- height 7
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Fault" @110
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1920, 1984)
- label (object ItemLabel
- Parent_View @110
- location (1772, 1907)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @111
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1984)
- label (object ItemLabel
- Parent_View @111
- location (1212, 1859)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object InheritView "" @112
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE710333"
- client @111
- supplier @55
- line_style 3
- origin_attachment (1203, 2007)
- terminal_attachment (353, 2007))
- (object AssociationViewNew "$UNNAMED$33" @113
- location (1356, 1352)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340003E5"
- roleview_list (list RoleViews
- (object RoleView "eBindingFaults" @114
- Parent_View @113
- location (188, 616)
- label (object SegLabel @115
- Parent_View @114
- location (1382, 1750)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 300
- justify 0
- label "+eBindingFaults"
- pctDist 0.803150
- height 26
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AA"
- client @113
- supplier @111
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1356, 1847)
- label (object SegLabel @116
- Parent_View @114
- location (1409, 1797)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899194
- height 53
- orientation 0)
- label (object SegLabel @117
- Parent_View @114
- location (1256, 1806)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.919291
- height 101
- orientation 1))
- (object RoleView "$UNNAMED$34" @118
- Parent_View @113
- location (188, 616)
- label (object SegLabel @119
- Parent_View @118
- location (1076, 1197)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AB"
- client @113
- supplier @80
- vertices (list Points
- (1356, 1352)
- (1356, 1217)
- (1117, 1217)
- (1117, 1097))
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1117, 1097)
- label (object SegLabel @120
- Parent_View @118
- location (1152, 1164)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.687008
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$35" @121
- location (1640, 1970)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F402F3"
- roleview_list (list RoleViews
- (object RoleView "eFault" @122
- Parent_View @121
- location (-344, 818)
- label (object SegLabel @123
- Parent_View @122
- location (1674, 1915)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eFault"
- pctDist 0.276423
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FE"
- client @121
- supplier @110
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1763, 1970)
- label (object SegLabel @124
- Parent_View @122
- location (1718, 2012)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.642276
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$36" @125
- Parent_View @121
- location (-344, 818)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FF"
- client @121
- supplier @111
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1517, 1970))))
- (object InheritView "" @126
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE4302AB"
- client @74
- supplier @54
- line_style 3
- origin_attachment (803, 1656)
- terminal_attachment (364, 1656))
- (object InheritView "" @127
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE1B0113"
- client @68
- supplier @53
- line_style 3
- origin_attachment (467, 1385)
- terminal_attachment (331, 1385))))
- (object ClassDiagram "2.4 PortTypes"
- quid "3AD5D1C40366"
- title "2.4 PortTypes"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IPortType" @128
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 208)
- label (object ItemLabel
- Parent_View @128
- location (146, 172)
- fill_color 13434879
- nlines 1
- max_width 700
- justify 0
- label "IPortType")
- stereotype (object ItemLabel
- Parent_View @128
- location (146, 122)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 700
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A5BE0331"
- width 718
- height 196
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::IOperation" @129
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 208)
- label (object ItemLabel
- Parent_View @129
- location (1116, 176)
- fill_color 13434879
- nlines 1
- max_width 873
- justify 0
- label "IOperation")
- stereotype (object ItemLabel
- Parent_View @129
- location (1116, 126)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 873
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A77600D1"
- width 891
- height 188
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IInput" @130
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1472)
- label (object ItemLabel
- Parent_View @130
- location (55, 1437)
- fill_color 16777215
- nlines 1
- max_width 626
- justify 0
- label "IInput")
- stereotype (object ItemLabel
- Parent_View @130
- location (55, 1387)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A7EE0015"
- width 644
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IOutput" @131
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 1792)
- label (object ItemLabel
- Parent_View @131
- location (56, 1757)
- fill_color 16777215
- nlines 1
- max_width 656
- justify 0
- label "IOutput")
- stereotype (object ItemLabel
- Parent_View @131
- location (56, 1707)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 656
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A829027D"
- width 674
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IFault" @132
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 2112)
- label (object ItemLabel
- Parent_View @132
- location (55, 2076)
- fill_color 13434879
- nlines 1
- max_width 626
- justify 0
- label "IFault")
- stereotype (object ItemLabel
- Parent_View @132
- location (55, 2026)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A861031D"
- width 644
- height 196
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @133
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 800)
- label (object ItemLabel
- Parent_View @133
- location (158, 672)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 695
- height 281
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @134
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2576, 800)
- label (object ItemLabel
- Parent_View @134
- location (2325, 692)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 520
- height 240
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Fault" @135
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 2112)
- label (object ItemLabel
- Parent_View @135
- location (1647, 2060)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @136
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 1472)
- label (object ItemLabel
- Parent_View @136
- location (870, 1422)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 390
- height 125
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Output" @137
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1792)
- label (object ItemLabel
- Parent_View @137
- location (1232, 1742)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 274
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Operation" @138
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 784)
- label (object ItemLabel
- Parent_View @138
- location (1214, 620)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- width 695
- height 352
- annotation 8)
- (object AssociationViewNew "$UNNAMED$0" @139
- location (1024, 797)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C824018C"
- roleview_list (list RoleViews
- (object RoleView "eOperations" @140
- Parent_View @139
- location (592, 269)
- label (object SegLabel @141
- Parent_View @140
- location (1088, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+eOperations"
- pctDist 0.359649
- height 50
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701CD"
- client @139
- supplier @138
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (1205, 797)
- label (object SegLabel @142
- Parent_View @140
- location (1176, 861)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.840391
- height 64
- orientation 1)
- label (object SegLabel @143
- Parent_View @140
- location (1074, 923)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.276243
- height 126
- orientation 1))
- (object RoleView "portType" @144
- Parent_View @139
- location (592, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701C3"
- client @139
- supplier @133
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (843, 797)
- label (object SegLabel @145
- Parent_View @144
- location (888, 757)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.753488
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$41" @146
- location (2107, 773)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA412F0035"
- roleview_list (list RoleViews
- (object RoleView "eParameterOrdering" @147
- Parent_View @146
- location (1819, 101)
- label (object SegLabel @148
- Parent_View @147
- location (2145, 647)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+eParameterOrdering"
- pctDist 0.183333
- height 127
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA41310255"
- client @146
- supplier @134
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (2316, 773)
- label (object SegLabel @149
- Parent_View @147
- location (2272, 822)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.796610
- height 49
- orientation 1)
- label (object SegLabel @150
- Parent_View @147
- location (2171, 888)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.306220
- height 115
- orientation 1))
- (object RoleView "$UNNAMED$42" @151
- Parent_View @146
- location (1819, 101)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA4131025F"
- client @146
- supplier @138
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (1899, 773))))
- (object AssociationViewNew "$UNNAMED$31" @152
- location (1702, 1504)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF331601A4"
- roleview_list (list RoleViews
- (object RoleView "eFaults" @153
- Parent_View @152
- location (1414, 832)
- label (object SegLabel @154
- Parent_View @153
- location (1815, 1982)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eFaults"
- pctDist 0.878992
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180387"
- client @152
- supplier @135
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 2048)
- label (object SegLabel @155
- Parent_View @153
- location (1644, 2020)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.949580
- height 59
- orientation 1)
- label (object SegLabel @156
- Parent_View @153
- location (1593, 1963)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.845378
- height 110
- orientation 1))
- (object RoleView "$UNNAMED$32" @157
- Parent_View @152
- location (1414, 832)
- label (object SegLabel @158
- Parent_View @157
- location (1661, 1069)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180388"
- client @152
- supplier @138
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 960)
- label (object SegLabel @159
- Parent_View @157
- location (1821, 1039)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.857362
- height 119
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$27" @160
- location (1178, 1234)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F94024D"
- roleview_list (list RoleViews
- (object RoleView "eInput" @161
- Parent_View @160
- location (890, 562)
- label (object SegLabel @162
- Parent_View @161
- location (878, 1343)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.819820
- height 103
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F950190"
- client @160
- supplier @136
- vertices (list Points
- (1178, 1234)
- (980, 1234)
- (980, 1410))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (980, 1410)
- label (object SegLabel @163
- Parent_View @161
- location (1046, 1364)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.877660
- height 66
- orientation 0))
- (object RoleView "$UNNAMED$28" @164
- Parent_View @160
- location (890, 562)
- label (object SegLabel @165
- Parent_View @164
- location (1236, 1036)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F95019A"
- client @160
- supplier @138
- vertices (list Points
- (1178, 1234)
- (1277, 1234)
- (1277, 960))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (1277, 960)
- label (object SegLabel @166
- Parent_View @164
- location (1197, 1058)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736413
- height 81
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$29" @167
- location (1468, 1345)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB802F9"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @168
- Parent_View @167
- location (1180, 673)
- label (object SegLabel @169
- Parent_View @168
- location (1362, 1669)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.840909
- height 107
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020A"
- client @167
- supplier @137
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 1730)
- label (object SegLabel @170
- Parent_View @168
- location (1546, 1676)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863636
- height 78
- orientation 0))
- (object RoleView "$UNNAMED$30" @171
- Parent_View @167
- location (1180, 673)
- label (object SegLabel @172
- Parent_View @171
- location (1427, 1037)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020B"
- client @167
- supplier @138
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 960)
- label (object SegLabel @173
- Parent_View @171
- location (1523, 1080)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.690341
- height 55
- orientation 1))))
- (object InheritView "" @174
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FD8019F"
- client @133
- supplier @128
- line_style 0)
- (object InheritView "" @175
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FE20171"
- client @138
- supplier @129
- line_style 0)
- (object InheritView "" @176
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FEE031D"
- client @136
- supplier @130
- line_style 0)
- (object InheritView "" @177
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FF801CD"
- client @137
- supplier @131
- line_style 0)
- (object InheritView "" @178
- stereotype TRUE
- line_color 3342489
- quidu "3F6F2002002D"
- client @135
- supplier @132
- line_style 0)
- (object ClassView "Class" "Logical View::wsdl::Message" @179
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2224, 1456)
- label (object ItemLabel
- Parent_View @179
- location (1937, 1312)
- fill_color 13434879
- nlines 1
- max_width 575
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 593
- height 312
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::MessageReference" @180
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1520, 2544)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @180
- location (1193, 2466)
- fill_color 13434879
- nlines 1
- max_width 654
- justify 0
- label "MessageReference")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3F6771DB02DC"
- width 672
- height 180
- annotation 8)
- (object InheritTreeView "" @181
- location (1524, 2275)
- line_color 3342489
- fill_color 13434879
- supplier @180
- vertices (list Points
- (1524, 2275)
- (1524, 2454)))
- (object InheritView "" @182
- stereotype TRUE
- line_color 3342489
- quidu "3F67723D0319"
- client @135
- supplier @180
- line_style 3
- origin_attachment (1776, 2176)
- terminal_attachment (1776, 2275)
- drawSupplier @181)
- (object InheritView "" @183
- stereotype TRUE
- line_color 3342489
- quidu "3F67723500DD"
- client @137
- supplier @180
- line_style 3
- origin_attachment (1371, 1854)
- terminal_attachment (1371, 2275)
- drawSupplier @181)
- (object InheritView "" @184
- stereotype TRUE
- line_color 3342489
- quidu "3F67722802E7"
- client @136
- supplier @180
- line_style 3
- origin_attachment (980, 1534)
- terminal_attachment (980, 2275)
- drawSupplier @181)
- (object AssociationViewNew "$UNNAMED$61" @185
- location (2206, 2259)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E78401B1"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @186
- Parent_View @185
- location (734, -285)
- label (object SegLabel @187
- Parent_View @186
- location (2068, 1670)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.912230
- height 139
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E786000F"
- client @185
- supplier @179
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (2206, 1612)
- label (object SegLabel @188
- Parent_View @186
- location (2260, 1678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$62" @189
- Parent_View @185
- location (734, -285)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E7860023"
- client @185
- supplier @180
- vertices (list Points
- (2206, 2259)
- (2206, 2556)
- (1856, 2556))
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (1856, 2556))))))
- (object ClassDiagram "2.1 Definitions"
- quid "3AD5E48A0262"
- title "2.1 Definitions"
- zoom 83
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IDefinition" @190
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 192)
- label (object ItemLabel
- Parent_View @190
- location (88, 161)
- fill_color 13434879
- nlines 1
- max_width 688
- justify 0
- label "IDefinition")
- stereotype (object ItemLabel
- Parent_View @190
- location (88, 111)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 688
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B1D90142"
- width 706
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @191
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- label (object ItemLabel
- Parent_View @191
- location (1686, 896)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 294
- height 120
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Import" @192
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 624)
- label (object ItemLabel
- Parent_View @192
- location (1910, 545)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- width 486
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @193
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2112, 1184)
- label (object ItemLabel
- Parent_View @193
- location (1900, 1056)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @194
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1808, 1488)
- label (object ItemLabel
- Parent_View @194
- location (1596, 1360)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @195
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2336, 1728)
- label (object ItemLabel
- Parent_View @195
- location (2124, 1600)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @196
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 240)
- label (object ItemLabel
- Parent_View @196
- location (1073, 39)
- fill_color 13434879
- nlines 1
- max_width 510
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 528
- height 426
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @197
- location (1358, 860)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$54" @198
- Parent_View @197
- location (62, -36)
- label (object SegLabel @199
- Parent_View @198
- location (1317, 535)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @197
- supplier @196
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1358, 453)
- label (object SegLabel @200
- Parent_View @198
- location (1403, 511)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.856649
- height 45
- orientation 1))
- (object RoleView "eTypes" @201
- Parent_View @197
- location (62, -36)
- label (object SegLabel @202
- Parent_View @201
- location (1586, 909)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label "+eTypes"
- pctDist 0.779097
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @197
- supplier @191
- vertices (list Points
- (1358, 860)
- (1358, 948)
- (1677, 948))
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1677, 948)
- label (object SegLabel @203
- Parent_View @201
- location (1632, 987)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.892655
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$57" @204
- location (1612, 595)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @205
- Parent_View @204
- location (12, 227)
- label (object SegLabel @206
- Parent_View @205
- location (1423, 512)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @204
- supplier @196
- vertices (list Points
- (1612, 595)
- (1464, 595)
- (1464, 453))
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1464, 453)
- label (object SegLabel @207
- Parent_View @205
- location (1524, 495)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.858667
- height 60
- orientation 1))
- (object RoleView "eImports" @208
- Parent_View @204
- location (12, 227)
- label (object SegLabel @209
- Parent_View @208
- location (1692, 557)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eImports"
- pctDist 0.280335
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @204
- supplier @192
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1901, 595)
- label (object SegLabel @210
- Parent_View @208
- location (1854, 652)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.841004
- height 57
- orientation 1)
- label (object SegLabel @211
- Parent_View @208
- location (1676, 646)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.225941
- height 51
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$13" @212
- location (1279, 1137)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60301E2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$14" @213
- Parent_View @212
- location (271, 273)
- label (object SegLabel @214
- Parent_View @213
- location (1238, 591)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400B7"
- client @212
- supplier @196
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1279, 453)
- label (object SegLabel @215
- Parent_View @213
- location (1320, 586)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.804974
- height 41
- orientation 1))
- (object RoleView "eMessages" @216
- Parent_View @212
- location (271, 273)
- label (object SegLabel @217
- Parent_View @216
- location (1647, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+eMessages"
- pctDist 0.643137
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400C1"
- client @212
- supplier @193
- vertices (list Points
- (1279, 1137)
- (1279, 1208)
- (1891, 1208))
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1891, 1208)
- label (object SegLabel @218
- Parent_View @216
- location (1821, 1171)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899346
- height 38
- orientation 0)
- label (object SegLabel @219
- Parent_View @216
- location (1797, 1244)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.864407
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$15" @220
- location (1212, 1159)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6710104"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$16" @221
- Parent_View @220
- location (-324, 215)
- label (object SegLabel @222
- Parent_View @221
- location (1171, 594)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E672034A"
- client @220
- supplier @196
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1212, 453)
- label (object SegLabel @223
- Parent_View @221
- location (1251, 624)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.757962
- height 39
- orientation 1))
- (object RoleView "ePortTypes" @224
- Parent_View @220
- location (-324, 215)
- label (object SegLabel @225
- Parent_View @224
- location (1391, 1451)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+ePortTypes"
- pctDist 0.723698
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6720354"
- client @220
- supplier @194
- vertices (list Points
- (1212, 1159)
- (1212, 1490)
- (1587, 1490))
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1587, 1490)
- label (object SegLabel @226
- Parent_View @224
- location (1533, 1451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.925611
- height 40
- orientation 0)
- label (object SegLabel @227
- Parent_View @224
- location (1512, 1540)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.895855
- height 50
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$17" @228
- location (1114, 1585)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6770095"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$18" @229
- Parent_View @228
- location (-406, 241)
- label (object SegLabel @230
- Parent_View @229
- location (1073, 680)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6780371"
- client @228
- supplier @196
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (1114, 453)
- label (object SegLabel @231
- Parent_View @229
- location (1155, 752)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736704
- height 41
- orientation 1))
- (object RoleView "eBindings" @232
- Parent_View @228
- location (-406, 241)
- label (object SegLabel @233
- Parent_View @232
- location (1851, 1674)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eBindings"
- pctDist 0.766347
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E678037B"
- client @228
- supplier @195
- vertices (list Points
- (1114, 1585)
- (1114, 1716)
- (2115, 1716))
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (2115, 1716)
- label (object SegLabel @234
- Parent_View @232
- location (2053, 1677)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.945074
- height 40
- orientation 0)
- label (object SegLabel @235
- Parent_View @232
- location (2014, 1754)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.911072
- height 38
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Service" @236
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @236
- location (1628, 1920)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$19" @237
- location (1066, 1533)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67B0311"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$20" @238
- Parent_View @237
- location (-521, -111)
- label (object SegLabel @239
- Parent_View @238
- location (1025, 669)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D007F"
- client @237
- supplier @196
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1066, 453)
- label (object SegLabel @240
- Parent_View @238
- location (1109, 756)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.719697
- height 43
- orientation 1))
- (object RoleView "eServices" @241
- Parent_View @237
- location (-521, -111)
- label (object SegLabel @242
- Parent_View @241
- location (1393, 2028)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eServices"
- pctDist 0.791824
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D0089"
- client @237
- supplier @236
- vertices (list Points
- (1066, 1533)
- (1066, 2059)
- (1619, 2059))
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1619, 2059)
- label (object SegLabel @243
- Parent_View @241
- location (1554, 2031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.940197
- height 29
- orientation 0)
- label (object SegLabel @244
- Parent_View @241
- location (1532, 2113)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.920515
- height 54
- orientation 1))))
- (object InheritView "" @245
- stereotype TRUE
- line_color 3342489
- quidu "3B84B1F80382"
- client @196
- supplier @190
- line_style 3
- origin_attachment (1064, 263)
- terminal_attachment (785, 263))))
- (object ClassDiagram "2.1.3 Extensibility"
- quid "3AD60C510192"
- title "2.1.3 Extensibility"
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::Binding" @246
- ShowCompartmentStereotypes TRUE
- location (576, 1584)
- label (object ItemLabel
- Parent_View @246
- location (494, 1531)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Port" @247
- ShowCompartmentStereotypes TRUE
- location (1568, 1888)
- label (object ItemLabel
- Parent_View @247
- location (1487, 1836)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @248
- ShowCompartmentStereotypes TRUE
- location (1424, 1728)
- label (object ItemLabel
- Parent_View @248
- location (1342, 1675)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @249
- ShowCompartmentStereotypes TRUE
- location (1216, 2336)
- label (object ItemLabel
- Parent_View @249
- location (1088, 2283)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @250
- ShowCompartmentStereotypes TRUE
- location (736, 1760)
- label (object ItemLabel
- Parent_View @250
- location (563, 1707)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 130
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IExtensibilityElement" @251
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 160)
- label (object ItemLabel
- Parent_View @251
- location (1495, 136)
- fill_color 13434879
- nlines 1
- max_width 786
- justify 0
- label "IExtensibilityElement")
- stereotype (object ItemLabel
- Parent_View @251
- location (1495, 86)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 786
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B12402AB"
- width 804
- height 172
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @252
- ShowCompartmentStereotypes TRUE
- location (928, 1952)
- label (object ItemLabel
- Parent_View @252
- location (800, 1899)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @253
- ShowCompartmentStereotypes TRUE
- location (1008, 2144)
- label (object ItemLabel
- Parent_View @253
- location (863, 2091)
- fill_color 13434879
- nlines 1
- max_width 290
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 308
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @254
- ShowCompartmentStereotypes TRUE
- location (176, 1296)
- label (object ItemLabel
- Parent_View @254
- location (74, 1235)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 146
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @255
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (416, 1408)
- label (object ItemLabel
- Parent_View @255
- location (335, 1356)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @256
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (480, 688)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @256
- location (209, 580)
- fill_color 13434879
- nlines 1
- max_width 542
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 560
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @257
- location (480, 1039)
- line_color 3342489
- fill_color 13434879
- supplier @256
- vertices (list Points
- (480, 1039)
- (480, 808)))
- (object InheritView "" @258
- stereotype TRUE
- line_color 3342489
- quidu "3AD600CB00AA"
- client @247
- supplier @256
- line_style 3
- origin_attachment (1566, 1824)
- terminal_attachment (1566, 1039)
- drawSupplier @257)
- (object InheritView "" @259
- stereotype TRUE
- line_color 3342489
- quidu "3B85B5A4027E"
- client @253
- supplier @256
- line_style 3
- origin_attachment (1097, 2079)
- terminal_attachment (1097, 1039)
- drawSupplier @257)
- (object InheritView "" @260
- stereotype TRUE
- line_color 3342489
- quidu "3AE0938602C9"
- client @249
- supplier @256
- line_style 3
- origin_attachment (1219, 2271)
- terminal_attachment (1219, 1039)
- drawSupplier @257)
- (object InheritView "" @261
- stereotype TRUE
- line_color 3342489
- quidu "3B85B59B0072"
- client @252
- supplier @256
- line_style 3
- origin_attachment (988, 1887)
- terminal_attachment (988, 1039)
- drawSupplier @257)
- (object InheritView "" @262
- stereotype TRUE
- line_color 3342489
- quidu "3AD6009202F7"
- client @250
- supplier @256
- line_style 3
- origin_attachment (797, 1695)
- terminal_attachment (797, 1039)
- drawSupplier @257)
- (object InheritView "" @263
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA0F02F0"
- client @246
- supplier @256
- line_style 3
- origin_attachment (601, 1519)
- terminal_attachment (601, 1039)
- drawSupplier @257)
- (object InheritView "" @264
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FDB803D4"
- client @254
- supplier @256
- line_style 3
- origin_attachment (211, 1223)
- terminal_attachment (211, 1039)
- drawSupplier @257)
- (object InheritView "" @265
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @255
- supplier @256
- line_style 3
- origin_attachment (414, 1344)
- terminal_attachment (414, 1039)
- drawSupplier @257)
- (object InheritView "" @266
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA20025E"
- client @248
- supplier @256
- line_style 3
- origin_attachment (1429, 1663)
- terminal_attachment (1429, 1039)
- drawSupplier @257)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @267
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 688)
- label (object ItemLabel
- Parent_View @267
- location (1632, 583)
- fill_color 13434879
- nlines 1
- max_width 545
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 563
- height 234
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @268
- location (1191, 672)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @269
- Parent_View @268
- location (23, 560)
- label (object SegLabel @270
- Parent_View @269
- location (847, 631)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @268
- supplier @256
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (760, 672)
- label (object SegLabel @271
- Parent_View @269
- location (830, 628)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.839695
- height 45
- orientation 1))
- (object RoleView "eExtensibilityElements" @272
- Parent_View @268
- location (23, 560)
- label (object SegLabel @273
- Parent_View @272
- location (1355, 522)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label "+eExtensibilityElements"
- pctDist 0.379070
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @268
- supplier @267
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (1623, 672)
- label (object SegLabel @274
- Parent_View @272
- location (1496, 627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.709402
- height 46
- orientation 0)
- label (object SegLabel @275
- Parent_View @272
- location (1463, 764)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.632479
- height 92
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::WSDLElement" @276
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1008, 192)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @276
- location (630, 84)
- fill_color 13434879
- nlines 1
- max_width 756
- justify 0
- label "WSDLElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C6A302DD"
- width 774
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @277
- location (1008, 402)
- line_color 3342489
- fill_color 13434879
- supplier @276
- vertices (list Points
- (1008, 402)
- (1008, 312)))
- (object InheritView "" @278
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FE3C03D4"
- client @256
- supplier @276
- line_style 3
- origin_attachment (492, 568)
- terminal_attachment (492, 402)
- drawSupplier @277)
- (object InheritView "" @279
- stereotype TRUE
- line_color 3342489
- quidu "3B84B14903D0"
- client @267
- supplier @251
- line_style 3
- origin_attachment (2015, 571)
- terminal_attachment (2015, 246))
- (object InheritView "" @280
- stereotype TRUE
- line_color 3342489
- quidu "3BDDF53502C3"
- client @267
- supplier @276
- line_style 3
- origin_attachment (1762, 571)
- terminal_attachment (1762, 402)
- drawSupplier @277)
- (object ClassView "Class" "Logical View::wsdl::UnknownExtensibilityElement" @281
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2016, 1360)
- label (object ItemLabel
- Parent_View @281
- location (1731, 1307)
- fill_color 13434879
- nlines 1
- max_width 570
- justify 0
- label "UnknownExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CB24AC002AE"
- width 588
- height 130
- annotation 8
- autoResize TRUE)
- (object InheritView "" @282
- stereotype TRUE
- line_color 3342489
- quidu "3CB24AEC01CB"
- client @281
- supplier @267
- line_style 3
- origin_attachment (1796, 1295)
- terminal_attachment (1796, 805))
- (object AssociationViewNew "$UNNAMED$63" @283
- location (2311, 1686)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A2026E"
- roleview_list (list RoleViews
- (object RoleView "parent" @284
- Parent_View @283
- location (279, 294)
- label (object SegLabel @285
- Parent_View @284
- location (2422, 1333)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+parent"
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012B"
- client @283
- supplier @281
- vertices (list Points
- (2311, 1686)
- (2432, 1686)
- (2432, 1374)
- (2310, 1374))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2310, 1374)
- label (object SegLabel @286
- Parent_View @284
- location (2366, 1428)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "children" @287
- Parent_View @283
- location (279, 294)
- label (object SegLabel @288
- Parent_View @287
- location (1899, 1537)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+children"
- pctDist 0.798561
- height 118
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012C"
- client @283
- supplier @281
- vertices (list Points
- (2311, 1686)
- (2016, 1686)
- (2016, 1425))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2016, 1425)
- label (object SegLabel @289
- Parent_View @287
- location (2070, 1481)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))))
- (object ClassDiagram "2.1.1 Naming and Linking"
- quid "3AE8ED7201BD"
- title "2.1.1 Naming and Linking"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IImport" @290
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 224)
- label (object ItemLabel
- Parent_View @290
- location (1422, 177)
- fill_color 13434879
- nlines 1
- max_width 580
- justify 0
- label "IImport")
- stereotype (object ItemLabel
- Parent_View @290
- location (1422, 127)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 580
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B2020119"
- width 598
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Namespace" @291
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 1136)
- label (object ItemLabel
- Parent_View @291
- location (202, 1041)
- fill_color 13434879
- nlines 1
- max_width 461
- justify 0
- label "Namespace")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AEA3CD30030"
- width 479
- height 215
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @292
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1632, 1216)
- label (object ItemLabel
- Parent_View @292
- location (1294, 1142)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 694
- height 173
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @293
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (400, 384)
- label (object ItemLabel
- Parent_View @293
- location (164, 236)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 490
- height 320
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$37" @294
- location (309, 786)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D55002D"
- roleview_list (list RoleViews
- (object RoleView "eNamespaces" @295
- Parent_View @294
- location (-91, 258)
- label (object SegLabel @296
- Parent_View @295
- location (461, 956)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+eNamespaces"
- pctDist 0.698842
- height 152
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560332"
- client @294
- supplier @291
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 1029)
- label (object SegLabel @297
- Parent_View @295
- location (248, 973)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.768707
- height 62
- orientation 1)
- label (object SegLabel @298
- Parent_View @295
- location (228, 913)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.525097
- height 82
- orientation 1))
- (object RoleView "$UNNAMED$38" @299
- Parent_View @294
- location (-91, 258)
- label (object SegLabel @300
- Parent_View @299
- location (268, 592)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560328"
- client @294
- supplier @293
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 544)
- label (object SegLabel @301
- Parent_View @299
- location (239, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.844961
- height 71
- orientation 0))))
- (object ClassView "Class" "Logical View::wsdl::Import" @302
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1472, 720)
- label (object ItemLabel
- Parent_View @302
- location (1255, 580)
- fill_color 13434879
- nlines 1
- max_width 434
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- width 452
- height 304
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$51" @303
- location (1486, 1001)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCC02E5"
- roleview_list (list RoleViews
- (object RoleView "eSchema" @304
- Parent_View @303
- location (510, -103)
- label (object SegLabel @305
- Parent_View @304
- location (1737, 1018)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eSchema"
- pctDist 0.592593
- height 105
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE0270"
- client @303
- supplier @292
- vertices (list Points
- (1486, 1001)
- (1632, 1001)
- (1632, 1130))
- line_style 3
- origin_attachment (1486, 1001)
- terminal_attachment (1632, 1130)
- label (object SegLabel @306
- Parent_View @304
- location (1563, 1018)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.592593
- height 70
- orientation 1))
- (object RoleView "$UNNAMED$52" @307
- Parent_View @303
- location (510, -103)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE027A"
- client @303
- supplier @302
- line_style 3
- origin_attachment (1486, 1000)
- terminal_attachment (1486, 872))))
- (object AssociationViewNew "$UNNAMED$39" @308
- location (1087, 403)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3A002D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$40" @309
- Parent_View @308
- location (687, -125)
- label (object SegLabel @310
- Parent_View @309
- location (1406, 480)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01F2"
- client @308
- supplier @302
- vertices (list Points
- (1087, 403)
- (1364, 403)
- (1364, 568))
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (1364, 568))
- (object RoleView "eDefinition" @311
- Parent_View @308
- location (687, -125)
- label (object SegLabel @312
- Parent_View @311
- location (805, 363)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eDefinition"
- pctDist 0.637532
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01E8"
- client @308
- supplier @293
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (645, 403)
- label (object SegLabel @313
- Parent_View @311
- location (727, 456)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.814910
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$57" @314
- location (737, 826)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @315
- Parent_View @314
- location (-671, 106)
- label (object SegLabel @316
- Parent_View @315
- location (552, 647)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @314
- supplier @293
- vertices (list Points
- (737, 826)
- (510, 826)
- (510, 544))
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (510, 544)
- label (object SegLabel @317
- Parent_View @315
- location (457, 595)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "eImports" @318
- Parent_View @314
- location (-671, 106)
- label (object SegLabel @319
- Parent_View @318
- location (1144, 773)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eImports"
- pctDist 0.799189
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @314
- supplier @302
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (1246, 826)
- label (object SegLabel @320
- Parent_View @318
- location (1180, 879)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.872211
- height 53
- orientation 1)
- label (object SegLabel @321
- Parent_View @318
- location (1162, 933)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.837728
- height 107
- orientation 1))))
- (object InheritView "" @322
- stereotype TRUE
- line_color 3342489
- quidu "3F6F200D0340"
- client @302
- supplier @290
- line_style 3
- origin_attachment (1555, 568)
- terminal_attachment (1555, 333))))
- (object ClassDiagram "2.2 Types"
- quid "3B85AE59037E"
- title "2.2 Types"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 81
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @323
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1136, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @323
- location (895, 1157)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ECD302A9"
- width 500
- height 174
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @324
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1136, 1600)
- label (object ItemLabel
- Parent_View @324
- location (906, 1531)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 478
- height 162
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @325
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1968)
- label (object ItemLabel
- Parent_View @325
- location (1022, 1828)
- fill_color 13434879
- nlines 1
- max_width 517
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 535
- height 305
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Part" @326
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1184)
- label (object ItemLabel
- Parent_View @326
- location (128, 1067)
- fill_color 13434879
- nlines 1
- max_width 448
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 466
- height 258
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$47" @327
- location (735, 1172)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE900C4"
- roleview_list (list RoleViews
- (object RoleView "typeDefinition" @328
- Parent_View @327
- location (143, 676)
- label (object SegLabel @329
- Parent_View @328
- location (775, 1133)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.269006
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90327"
- client @327
- supplier @323
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (886, 1172)
- label (object SegLabel @330
- Parent_View @328
- location (839, 1207)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.688705
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$48" @331
- Parent_View @327
- location (143, 676)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90331"
- client @327
- supplier @326
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (585, 1172))))
- (object AssociationViewNew "$UNNAMED$49" @332
- location (527, 1592)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C1203B2"
- roleview_list (list RoleViews
- (object RoleView "elementDeclaration" @333
- Parent_View @332
- location (-65, 1096)
- label (object SegLabel @334
- Parent_View @333
- location (666, 1554)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+elementDeclaration"
- pctDist 0.375394
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C14001C"
- client @332
- supplier @324
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (897, 1592)
- label (object SegLabel @335
- Parent_View @333
- location (807, 1645)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.755877
- height 53
- orientation 1))
- (object RoleView "$UNNAMED$50" @336
- Parent_View @332
- location (-65, 1096)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C140026"
- client @332
- supplier @326
- vertices (list Points
- (527, 1592)
- (437, 1592)
- (437, 1313))
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (437, 1313))))
- (object AssociationViewNew "$UNNAMED$55" @337
- location (322, 1911)
- stereotype TRUE
- line_color 3342489
- quidu "3C46829303E5"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @338
- Parent_View @337
- location (-14, 1191)
- label (object SegLabel @339
- Parent_View @338
- location (838, 1872)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.748560
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C468296010E"
- client @337
- supplier @325
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (1013, 1911)
- label (object SegLabel @340
- Parent_View @338
- location (943, 1965)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$56" @341
- Parent_View @337
- location (-14, 1191)
- stereotype TRUE
- line_color 3342489
- quidu "3C4682960118"
- client @337
- supplier @326
- vertices (list Points
- (322, 1911)
- (229, 1911)
- (229, 1313))
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (229, 1313))))
- (object ClassView "Class" "Logical View::wsdl::Types" @342
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 608)
- label (object ItemLabel
- Parent_View @342
- location (615, 512)
- fill_color 13434879
- nlines 1
- max_width 371
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 389
- height 216
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @343
- ShowCompartmentStereotypes TRUE
- location (176, 160)
- label (object ItemLabel
- Parent_View @343
- location (74, 107)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 130
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @344
- location (234, 604)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "eTypes" @345
- Parent_View @344
- location (-150, 396)
- label (object SegLabel @346
- Parent_View @345
- location (480, 640)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "+eTypes"
- pctDist 0.661017
- height 36
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @344
- supplier @342
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (606, 604)
- label (object SegLabel @347
- Parent_View @345
- location (526, 569)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783883
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$54" @348
- Parent_View @344
- location (-150, 396)
- label (object SegLabel @349
- Parent_View @348
- location (133, 313)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @344
- supplier @343
- vertices (list Points
- (234, 604)
- (174, 604)
- (174, 225))
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (174, 225)
- label (object SegLabel @350
- Parent_View @348
- location (228, 271)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.897729
- height 54
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::ITypes" @351
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (640, 224)
- label (object ItemLabel
- Parent_View @351
- location (525, 203)
- fill_color 13434879
- nlines 1
- max_width 230
- justify 0
- label "ITypes")
- stereotype (object ItemLabel
- Parent_View @351
- location (525, 153)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 230
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3CADCBB20050"
- width 248
- height 166
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::XSDSchemaExtensibilityElement" @352
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 800)
- label (object ItemLabel
- Parent_View @352
- location (1359, 753)
- fill_color 13434879
- nlines 1
- max_width 739
- justify 0
- label "XSDSchemaExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CC360D7039C"
- width 757
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @353
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1856, 1216)
- label (object ItemLabel
- Parent_View @353
- location (1529, 1103)
- fill_color 13434879
- nlines 1
- max_width 655
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 673
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$59" @354
- location (1826, 975)
- stereotype TRUE
- line_color 3342489
- quidu "3CC3614500F2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$60" @355
- Parent_View @354
- location (306, 447)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023D"
- client @354
- supplier @352
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 859)
- label (object SegLabel @356
- Parent_View @355
- location (1774, 900)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.656489
- height 53
- orientation 0))
- (object RoleView "schema" @357
- Parent_View @354
- location (306, 447)
- label (object SegLabel @358
- Parent_View @357
- location (2006, 1033)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist 0.507576
- height 180
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023E"
- client @354
- supplier @353
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 1091)
- label (object SegLabel @359
- Parent_View @357
- location (1788, 1050)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.651515
- height 39
- orientation 1))))
- (object InheritView "" @360
- stereotype TRUE
- line_color 3342489
- quidu "3CADCD3B0380"
- client @342
- supplier @351
- line_style 3
- origin_attachment (705, 500)
- terminal_attachment (705, 307))
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @361
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 224)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @361
- location (815, 130)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 500
- height 212
- annotation 8
- autoResize TRUE)
- (object InheritView "" @362
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @342
- supplier @361
- line_style 3
- origin_attachment (854, 500)
- terminal_attachment (854, 330))
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @363
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1824, 464)
- label (object ItemLabel
- Parent_View @363
- location (1490, 368)
- fill_color 13434879
- nlines 1
- max_width 669
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 687
- height 216
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @364
- location (1206, 493)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @365
- Parent_View @364
- location (-586, 237)
- label (object SegLabel @366
- Parent_View @365
- location (1136, 386)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @364
- supplier @361
- vertices (list Points
- (1206, 493)
- (1094, 493)
- (1094, 330))
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1094, 330)
- label (object SegLabel @367
- Parent_View @365
- location (1042, 377)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.828326
- height 53
- orientation 0))
- (object RoleView "eExtensibilityElements" @368
- Parent_View @364
- location (-586, 237)
- label (object SegLabel @369
- Parent_View @368
- location (1196, 454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+eExtensibilityElements"
- pctDist -0.039711
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @364
- supplier @363
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1481, 493)
- label (object SegLabel @370
- Parent_View @368
- location (1415, 546)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.764957
- height 53
- orientation 1)
- label (object SegLabel @371
- Parent_View @368
- location (1396, 392)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.694915
- height 102
- orientation 0))))
- (object InheritView "" @372
- stereotype TRUE
- line_color 3342489
- quidu "3CC3627F00B7"
- client @352
- supplier @363
- line_style 3
- origin_attachment (1812, 741)
- terminal_attachment (1812, 572))))
- (object ClassDiagram "2.3 Messages"
- quid "3BCE853D02C8"
- title "2.3 Messages"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IMessage" @373
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (448, 224)
- label (object ItemLabel
- Parent_View @373
- location (267, 122)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "IMessage")
- stereotype (object ItemLabel
- Parent_View @373
- location (267, 72)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 362
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A8AF004F"
- width 380
- height 328
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPart" @374
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 224)
- label (object ItemLabel
- Parent_View @374
- location (1029, 124)
- fill_color 13434879
- nlines 1
- max_width 599
- justify 0
- label "IPart")
- stereotype (object ItemLabel
- Parent_View @374
- location (1029, 74)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 599
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A93F01BE"
- width 617
- height 324
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @375
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 816)
- label (object ItemLabel
- Parent_View @375
- location (1075, 690)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 492
- height 276
- annotation 8
- autoResize TRUE)
- (object InheritView "" @376
- stereotype TRUE
- line_color 3342489
- quidu "3B84A96D02F1"
- client @375
- supplier @374
- line_style 3
- origin_attachment (1304, 678)
- terminal_attachment (1304, 386))
- (object ClassView "Class" "Logical View::wsdl::Message" @377
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (448, 656)
- label (object ItemLabel
- Parent_View @377
- location (241, 507)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @378
- stereotype TRUE
- line_color 3342489
- quidu "3B84A8D102BA"
- client @377
- supplier @373
- line_style 3
- origin_attachment (445, 495)
- terminal_attachment (445, 388))
- (object AssociationViewNew "$UNNAMED$1" @379
- location (688, 952)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBE00E2"
- roleview_list (list RoleViews
- (object RoleView "eParts" @380
- Parent_View @379
- location (176, 328)
- label (object SegLabel @381
- Parent_View @380
- location (952, 897)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eParts"
- pctDist 0.697452
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0061"
- client @379
- supplier @375
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (1066, 952)
- label (object SegLabel @382
- Parent_View @380
- location (987, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.789809
- height 53
- orientation 1)
- label (object SegLabel @383
- Parent_View @380
- location (967, 1061)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.742038
- height 109
- orientation 1))
- (object RoleView "$UNNAMED$2" @384
- Parent_View @379
- location (176, 328)
- label (object SegLabel @385
- Parent_View @384
- location (404, 893)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0057"
- client @379
- supplier @377
- vertices (list Points
- (688, 952)
- (445, 952)
- (445, 817))
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (445, 817)
- label (object SegLabel @386
- Parent_View @384
- location (393, 912)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.747604
- height 53
- orientation 0))))))))
- (object Class_Category "xsd"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "prefix"
- value "XSD")
- (object Attribute
- tool "Ecore"
- name "basePackage"
- value "org.eclipse")
- (object Attribute
- tool "Ecore"
- name "nsPrefix"
- value "xsd")
- (object Attribute
- tool "Ecore"
- name "nsURI"
- value "http://www.eclipse.org/xsd/2002/XSD"))
- quid "39ABDC6F01AA"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "XSDAnnotation"
- quid "3B66EDC80233"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69E1770116"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B7FD4E20366"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "applicationInformation"
- quid "3BBF7EBF02C8"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "userInformation"
- quid "3BBF7EEA0157"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "attributes"
- quid "3BBF7F0501E2"
- stereotype "0..*"
- type "DOMAttr"
- exportControl "Public")))
- (object Class "XSDAttributeDeclaration"
- quid "3B66ED2E0192"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69B7DC0193"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B688E6103BE"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F5202B4"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeGroupContent"
- quid "3B6940200089"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D8E200EA"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDAttributeGroupDefinition"
- quid "3B66ED840290"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69403A0221"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B6AE2EB02A8"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAC800D2"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F7B0386"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeUse"
- quid "3B68354601A8"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D737038F"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B72D7BB0349"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3B69CCF3027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B69CDDB03B7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CDE002D8"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "use"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7B0220382"
- type "XSDAttributeUseCategory"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C2719D90341"
- type "String"
- exportControl "Public")))
- (object Class "XSDBoundedFacet"
- quid "3B6C751D0344"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C763C0224"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C752A00CC"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDCardinalityFacet"
- quid "3B6C755D03D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C764F0131"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C756C0153"
- type "XSDCardinality"
- exportControl "Public")))
- (object Class "XSDComplexTypeContent"
- quid "3B683BA00196"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848B80286"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDComplexTypeDefinition"
- quid "3B682B82031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69BAA20310"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2")
- (object Inheritance_Relationship
- quid "3BA0D01901F1"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "derivationMethod"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C6E4020E"
- type "XSDDerivationMethod"
- initv "restriction"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B69C71D026A"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C73800C5"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "contentTypeCategory"
- quid "3B69CA4202B8"
- type "XSDContentTypeCategory"
- exportControl "Public")
- (object ClassAttribute "prohibitedSubstitutions"
- quid "3B69CB8A03E6"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F618014D"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0FB97006E"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "mixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3C31AF5E03A6"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDComponent"
- quid "3B6846E90029"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA903D2"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDConcreteComponent"
- quid "3B6AD7B40065"
- class_attributes (list class_attribute_list
- (object ClassAttribute "element"
- quid "3B6ADDB501A5"
- type "DOMElement"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDConstrainingFacet"
- quid "3B6C6B340093"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C800394"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDDiagnostic"
- quid "3BFE5F910046"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3D4C0F4C01A1"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "severity"
- quid "3BFE691C005D"
- type "XSDDiagnosticSeverity"
- exportControl "Public")
- (object ClassAttribute "message"
- quid "3BFE5FDD0280"
- type "String"
- exportControl "Public")
- (object ClassAttribute "locationURI"
- quid "3C063743016B"
- type "String"
- exportControl "Public")
- (object ClassAttribute "line"
- quid "3BFE607E0213"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "column"
- quid "3BFE611E0296"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "node"
- quid "3C016B6B0200"
- type "DOMNode"
- exportControl "Public")
- (object ClassAttribute "annotationURI"
- quid "3C06374F0186"
- type "String"
- exportControl "Public")))
- (object Class "XSDElementDeclaration"
- quid "3B66ED580214"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69EDEE01BF"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B685F17002E"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174")
- (object Inheritance_Relationship
- quid "3B688E660339"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "nillable"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BFB4029F"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "disallowedSubstitutions"
- quid "3B69C4680368"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "substitutionGroupExclusions"
- quid "3B69C4A003B9"
- stereotype "0..*"
- type "XSDSubstitutionGroupExclusions"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C4E0000E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D14C00B2"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D16801C1"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "elementDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289F6203CF"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C34DCB00018"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDEnumerationFacet"
- quid "3B6C6ACE0141"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C9D03C7"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C640054"
- stereotype "0..*"
- type "Value"
- exportControl "Public")))
- (object Class "XSDFacet"
- quid "3B6C359403D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D25680259"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "lexicalValue"
- quid "3B6C73740253"
- type "String"
- exportControl "Public")
- (object ClassAttribute "facetName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289FB401EC"
- type "String"
- exportControl "Public")
- (object ClassAttribute "effectiveValue"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28AAE303B6"
- type "Value"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFeature"
- quid "3B69B537026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C290A2C0307"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B69BF81020F"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BF8800C5"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "form"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F902B033E"
- type "XSDForm"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C271A1B016F"
- type "String"
- exportControl "Public")
- (object ClassAttribute "global"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0070372"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "featureReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0440185"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFixedFacet"
- quid "3B6C699E00C1"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8801B4"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "fixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C6A600201"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFractionDigitsFacet"
- quid "3B6C79BE02EE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B990016"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79D2008A"
- type "int"
- exportControl "Public")))
- (object Class "XSDFundamentalFacet"
- quid "3B6C69E801D6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C7B0396"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDIdentityConstraintDefinition"
- quid "3B682B2603A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684AA30242"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "identityConstraintCategory"
- quid "3B69D1C70143"
- type "XSDIdentityConstraintCategory"
- exportControl "Public")))
- (object Class "XSDImport"
- quid "3B688C93017F"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8D9003E"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespace"
- quid "3B6ADB15036C"
- type "String"
- exportControl "Public")))
- (object Class "XSDInclude"
- quid "3B688C7D0250"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8DC0381"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDLengthFacet"
- quid "3B6C776200E7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C778002DF"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C776C004B"
- type "int"
- exportControl "Public")))
- (object Class "XSDMaxExclusiveFacet"
- quid "3B6C789600C2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8E0309"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxFacet"
- quid "3C0A1CEB010E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D3103AD"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1EE201F7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A174027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1930354"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMaxInclusiveFacet"
- quid "3B6C787D00DA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8303B8"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxLengthFacet"
- quid "3B6C77C70146"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B7D00FC"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C77DA00F3"
- type "int"
- exportControl "Public")))
- (object Class "XSDMinExclusiveFacet"
- quid "3B6C792D000A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B590281"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinFacet"
- quid "3C0A1CDE037C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D240098"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1ED10398"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1A2008E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1BE03E2"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMinInclusiveFacet"
- quid "3B6C788702C9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B520353"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinLengthFacet"
- quid "3B6C778C0065"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C77C400C0"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7799015E"
- type "int"
- exportControl "Public")))
- (object Class "XSDModelGroup"
- quid "3B6834E00291"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A640279"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "compositor"
- quid "3B69CF1D01CF"
- type "XSDCompositor"
- exportControl "Public")))
- (object Class "XSDModelGroupDefinition"
- quid "3B66ED9A0205"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2E20381"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B6BD2550385"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6")
- (object Inheritance_Relationship
- quid "3B7FCAC40090"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "modelGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1F602E8"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDNamedComponent"
- quid "3B6846D303A4"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA20197"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B6847000142"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B684704031E"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A57F0127"
- type "String"
- exportControl "Public")
- (object ClassAttribute "uRI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A58700E2"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasURI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A5AA02AF"
- type "String"
- exportControl "Public")
- (object ClassAttribute "qName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C290963025E"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDNotationDeclaration"
- quid "3B66EDAA021C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B68494302F1"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4")
- (object Inheritance_Relationship
- quid "3B688E4F023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "systemIdentifier"
- quid "3B69D32E00F0"
- type "String"
- exportControl "Public")
- (object ClassAttribute "publicIdentifier"
- quid "3B69D3340397"
- type "String"
- exportControl "Public")))
- (object Class "XSDNumericFacet"
- quid "3B6C75950206"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C76420074"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C75A30012"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDOrderedFacet"
- quid "3B6C74DD0248"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7659012C"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C74F602DA"
- type "XSDOrdered"
- exportControl "Public")))
- (object Class "XSDParticle"
- quid "3B682BBD01F7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848FC01E7"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "minOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF8E03B2"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "maxOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF9903AE"
- type "int"
- initv "1"
- exportControl "Public")))
- (object Class "XSDParticleContent"
- quid "3B6BD22300C6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B780BD90059"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDPatternFacet"
- quid "3B6C6ADB026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6CA5038D"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C790311"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDRedefinableComponent"
- quid "3B7FCA8B020B"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FD4BA023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3C290A26036D"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A6800216"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDRedefineContent"
- quid "3B6AE2060172"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2B301D5"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- abstract TRUE)
- (object Class "XSDRedefine"
- quid "3B688C9B02AD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB640240"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDRepeatableFacet"
- quid "3B6C6AA6031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8F002E"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- abstract TRUE)
- (object Class "XSDSchema"
- quid "374B182500BB"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCC4A0182"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "document"
- quid "3C2784E503DD"
- type "DOMDocument"
- exportControl "Public")
- (object ClassAttribute "schemaLocation"
- quid "3B6868EC0226"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B9F9BFF0180"
- type "String"
- exportControl "Public")
- (object ClassAttribute "attributeFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F904B0102"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "elementFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F907800AC"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "finalDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0C4A70038"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "blockDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F59D02D8"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "version"
- quid "3D22D6D80356"
- type "String"
- exportControl "Public")))
- (object Class "XSDSchemaCompositor"
- quid "3C21DB4102AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB560092"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- abstract TRUE)
- (object Class "XSDSchemaContent"
- quid "3B688CB800BA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8E60372"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDSchemaDirective"
- quid "3B6AD8A202A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE32102AF"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "schemaLocation"
- quid "3B6AD9B30330"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDScope"
- quid "3B69B54000F2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCD640231"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDSimpleTypeDefinition"
- quid "3B682BA7005D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A1302A2"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")
- (object Inheritance_Relationship
- quid "3B685F55032B"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C315800A9"
- type "XSDVariety"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B6D544F0146"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F65E035A"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "validFacets"
- quid "3C28AB0F00B6"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDTerm"
- quid "3B683C5E0174"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848AA01D3"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B6BD2440069"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"))
- abstract TRUE)
- (object Class "XSDTotalDigitsFacet"
- quid "3B6C79A0020E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B610337"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79AB0232"
- type "int"
- exportControl "Public")))
- (object Class "XSDTypeDefinition"
- quid "3B66ECD302A9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2F5013A"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAB1004D"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- abstract TRUE)
- (object Class "XSDWhiteSpaceFacet"
- quid "3B6C784601B7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C78620045"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C78500201"
- type "XSDWhiteSpace"
- exportControl "Public")))
- (object Class "XSDWildcard"
- quid "3B6838370031"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A3A0041"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceConstraintCategory"
- quid "3B69D0E9019E"
- type "XSDNamespaceConstraintCategory"
- exportControl "Public")
- (object ClassAttribute "namespaceConstraint"
- quid "3B97CF860223"
- stereotype "0..*"
- type "String"
- exportControl "Public")
- (object ClassAttribute "processContents"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69D12E01E4"
- type "XSDProcessContents"
- exportControl "Public")
- (object ClassAttribute "lexicalNamespaceConstraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7BDB701F9"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDXPathDefinition"
- quid "3B6D83BB0355"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D84F70092"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- quid "3B6D901503DE"
- type "XSDXPathVariety"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B7BBBE101B1"
- type "String"
- exportControl "Public")))
- (object Class "DOMAttr"
- quid "3BBF8C8901B6"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Attr"
- quid "3BBF8CB000D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMDocument"
- quid "3C27850E0381"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3C27851B03C6"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMElement"
- quid "3B8189790200"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B8189DB0374"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMNode"
- quid "3BFE64A50117"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Node"
- quid "3BFE65BF002D"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "Value"
- quid "3C040B5B031F"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.lang.Object"
- quid "3C040B8D03D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "XSDAttributeUseCategory"
- quid "3BA7B0E801A8"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "optional"
- quid "3BA7B11502B7"
- exportControl "Public")
- (object ClassAttribute "prohibited"
- quid "3BA7B12202D3"
- exportControl "Public")
- (object ClassAttribute "required"
- quid "3BA7B12902F0"
- exportControl "Public")))
- (object Class "XSDCardinality"
- quid "3BC7715D009B"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "finite"
- quid "3BC771DC02ED"
- exportControl "Public")
- (object ClassAttribute "countablyInfinite"
- quid "3BC771EC0141"
- exportControl "Public")))
- (object Class "XSDComplexFinal"
- quid "3B97C2CA01CB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C2E700DA"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2EA016A"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6D20112"
- exportControl "Public")))
- (object Class "XSDCompositor"
- quid "3B869B620037"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "all"
- quid "3B869BD00003"
- exportControl "Public")
- (object ClassAttribute "choice"
- quid "3B869CB8011E"
- exportControl "Public")
- (object ClassAttribute "sequence"
- quid "3B869CE50057"
- exportControl "Public")))
- (object Class "XSDConstraint"
- quid "3B869E2601AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "default"
- quid "3B869E8E0258"
- exportControl "Public")
- (object ClassAttribute "fixed"
- quid "3B869E990271"
- exportControl "Public")))
- (object Class "XSDContentTypeCategory"
- quid "3B86A79F03A2"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "empty"
- quid "3B86A7CD02F0"
- exportControl "Public")
- (object ClassAttribute "simple"
- quid "3B86A7D100CE"
- exportControl "Public")
- (object ClassAttribute "mixed"
- quid "3B86A7D301B7"
- exportControl "Public")
- (object ClassAttribute "elementOnly"
- quid "3B86A7D702E9"
- exportControl "Public")))
- (object Class "XSDDerivationMethod"
- quid "3B86A0B000CE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B86A0C80329"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B86A0CC0162"
- exportControl "Public")))
- (object Class "XSDDiagnosticSeverity"
- quid "3BFE68A7032F"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "fatal"
- quid "3BFE68C303D0"
- exportControl "Public")
- (object ClassAttribute "error"
- quid "3BFE68E700E3"
- exportControl "Public")
- (object ClassAttribute "warning"
- quid "3BFE68EA01FF"
- exportControl "Public")
- (object ClassAttribute "information"
- quid "3BFE7FC2019A"
- exportControl "Public")))
- (object Class "XSDDisallowedSubstitutions"
- quid "3B97C5A403DF"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "substitution"
- quid "3B97C6790045"
- exportControl "Public")
- (object ClassAttribute "extension"
- quid "3B97C67F01AC"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C683020B"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2450069"
- exportControl "Public")))
- (object Class "XSDForm"
- quid "3B9F913B01EB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "qualified"
- quid "3B9F916F0023"
- exportControl "Public")
- (object ClassAttribute "unqualified"
- quid "3B9F918C007F"
- exportControl "Public")))
- (object Class "XSDIdentityConstraintCategory"
- quid "3B86A1E00272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "key"
- quid "3B86A2120085"
- exportControl "Public")
- (object ClassAttribute "keyref"
- quid "3B86A213014F"
- exportControl "Public")
- (object ClassAttribute "unique"
- quid "3B86A2160365"
- exportControl "Public")))
- (object Class "XSDNamespaceConstraintCategory"
- quid "3B97C5EA0023"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "any"
- quid "3B97D0600034"
- exportControl "Public")
- (object ClassAttribute "not"
- quid "3B97D062005F"
- exportControl "Public")
- (object ClassAttribute "set"
- quid "3B97D0650117"
- exportControl "Public")))
- (object Class "XSDOrdered"
- quid "3BC7715202E4"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "false"
- quid "3BC771A90271"
- exportControl "Public")
- (object ClassAttribute "partial"
- quid "3BC771BB01FF"
- exportControl "Public")
- (object ClassAttribute "total"
- quid "3BC771C401B2"
- exportControl "Public")))
- (object Class "XSDProcessContents"
- quid "3B8FF8C70284"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "strict"
- quid "3B8FF8F80045"
- exportControl "Public")
- (object ClassAttribute "lax"
- quid "3B8FF8F6038B"
- exportControl "Public")
- (object ClassAttribute "skip"
- quid "3B8FF8E802BA"
- exportControl "Public")))
- (object Class "XSDProhibitedSubstitutions"
- quid "3B97C5BE0272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C68B00B8"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C6940291"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2500295"
- exportControl "Public")))
- (object Class "XSDSimpleFinal"
- quid "3B97C25D0295"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "list"
- quid "3B97C2810230"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2830138"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B97C288024E"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6E00374"
- exportControl "Public")))
- (object Class "XSDSubstitutionGroupExclusions"
- quid "3B97C59100AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C6640231"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C66D0216"
- exportControl "Public")))
- (object Class "XSDVariety"
- quid "3B8FF7730249"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "atomic"
- quid "3B8FF7A702DF"
- exportControl "Public")
- (object ClassAttribute "list"
- quid "3B8FF7AD0139"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B8FF7AF039F"
- exportControl "Public")))
- (object Class "XSDWhiteSpace"
- quid "3BEED0F60342"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "preserve"
- quid "3BEED10F0117"
- exportControl "Public")
- (object ClassAttribute "replace"
- quid "3BEED127034D"
- exportControl "Public")
- (object ClassAttribute "collapse"
- quid "3BEED1290396"
- exportControl "Public")))
- (object Class "XSDXPathVariety"
- quid "3B8FFB89033A"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "selector"
- quid "3B8FFBAC0192"
- exportControl "Public")
- (object ClassAttribute "field"
- quid "3B8FFBB30278"
- exportControl "Public")))
- (object Association "$UNNAMED$64"
- quid "3C626EA70102"
- roles (list role_list
- (object Role "$UNNAMED$65"
- quid "3C626EA90191"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EA90192"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$66"
- quid "3B69DADC02F5"
- roles (list role_list
- (object Role "$UNNAMED$67"
- quid "3B69DADD0238"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DADD0242"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$68"
- quid "3B6890D6006F"
- roles (list role_list
- (object Role "$UNNAMED$69"
- quid "3B6890D6030E"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6890D60318"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$70"
- quid "3B68356B02CB"
- roles (list role_list
- (object Role "$UNNAMED$71"
- quid "3B68356D00A6"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68356D00A7"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$72"
- quid "3B6B426B0194"
- roles (list role_list
- (object Role "$UNNAMED$73"
- quid "3B6B426D0309"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "resolvedAttributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B426D0313"
- label "resolvedAttributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$74"
- quid "3B69DB060291"
- roles (list role_list
- (object Role "$UNNAMED$75"
- quid "3B69DB070171"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB070172"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$76"
- quid "3B69404E0067"
- roles (list role_list
- (object Role "$UNNAMED$77"
- quid "3B694050029B"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B69405002A5"
- label "contents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$78"
- quid "3B68359F0086"
- roles (list role_list
- (object Role "$UNNAMED$79"
- quid "3B6835A00069"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6835A0006A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$80"
- quid "3C275D320220"
- roles (list role_list
- (object Role "$UNNAMED$81"
- quid "3C275D3C010C"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3C275D3C010D"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$82"
- quid "3B6887BF0150"
- roles (list role_list
- (object Role "$UNNAMED$83"
- quid "3B6887C000A7"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6887C000A8"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$84"
- quid "3B6B425E01F9"
- roles (list role_list
- (object Role "$UNNAMED$85"
- quid "3B6B42620046"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "resolvedAttributeGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B42620050"
- label "resolvedAttributeGroupDefinition"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$86"
- quid "3B683585010D"
- roles (list role_list
- (object Role "$UNNAMED$87"
- quid "3B68358600FA"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "attributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68358600FB"
- label "attributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$88"
- quid "3B6F1DE9018A"
- roles (list role_list
- (object Role "$UNNAMED$89"
- quid "3B6F1DEA036C"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6F1DEA0380"
- label "content"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$90"
- quid "3B90068801C2"
- roles (list role_list
- (object Role "$UNNAMED$91"
- quid "3B90068A0111"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentAnnotation"
- quid "3B90068A011B"
- label "contentAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$92"
- quid "3B6833350340"
- roles (list role_list
- (object Role "$UNNAMED$93"
- quid "3B683336028D"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683336028E"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$94"
- quid "3B6FDDD70113"
- roles (list role_list
- (object Role "$UNNAMED$95"
- quid "3B6FDDDA026B"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6FDDDA0275"
- label "content"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$96"
- quid "3B6837DF024F"
- roles (list role_list
- (object Role "$UNNAMED$97"
- quid "3B6837E100FD"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6837E100FE"
- label "contentType"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$98"
- quid "3B683959006E"
- roles (list role_list
- (object Role "$UNNAMED$99"
- quid "3B6839590349"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683959034A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$100"
- quid "3B698E360386"
- roles (list role_list
- (object Role "$UNNAMED$101"
- quid "3B698E380072"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeContents"
- quid "3B698E38007C"
- label "attributeContents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$102"
- quid "3B6851BA0126"
- roles (list role_list
- (object Role "$UNNAMED$103"
- quid "3B6851BB0150"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6851BB0151"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$104"
- quid "3B751B0803C7"
- roles (list role_list
- (object Role "container"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B0C01CE"
- label "container"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$105"
- attributes (list Attribute_Set)
- quid "3B751B0C01CF"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$106"
- quid "3B751B480261"
- roles (list role_list
- (object Role "rootContainer"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B4C0285"
- label "rootContainer"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$107"
- attributes (list Attribute_Set)
- quid "3B751B4C0286"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$108"
- quid "3B751C310356"
- roles (list role_list
- (object Role "$UNNAMED$109"
- attributes (list Attribute_Set)
- quid "3B751C330331"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")
- (object Role "schema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751C33033B"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$110"
- quid "3B69DB0A0066"
- roles (list role_list
- (object Role "$UNNAMED$111"
- quid "3B69DB0B023F"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0B0249"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$112"
- quid "3B68911401AF"
- roles (list role_list
- (object Role "$UNNAMED$113"
- quid "3B6891150016"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6891150017"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$114"
- quid "3B68338C0058"
- roles (list role_list
- (object Role "$UNNAMED$115"
- quid "3B68338C03BF"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68338C03C0"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$116"
- quid "3B6833EF0160"
- roles (list role_list
- (object Role "$UNNAMED$117"
- quid "3B6833F00298"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- quid "3B6833F00299"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$118"
- quid "3B6B41E60251"
- roles (list role_list
- (object Role "$UNNAMED$119"
- quid "3B6B41EA02F7"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "resolvedElementDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B41EA030B"
- label "resolvedElementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$120"
- quid "3B69C0590198"
- roles (list role_list
- (object Role "$UNNAMED$121"
- quid "3B69C05D01E3"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214")
- (object Role "substitutionGroupAffiliation"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69C05D01ED"
- label "substitutionGroupAffiliation"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$122"
- quid "3C42DBDD0297"
- roles (list role_list
- (object Role "$UNNAMED$123"
- quid "3C42DBE0011E"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "substitutionGroup"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C42DBE00128"
- label "substitutionGroup"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$124"
- quid "3B6D23B901CD"
- roles (list role_list
- (object Role "$UNNAMED$125"
- quid "3B6D23BA01C4"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6D23BA01CE"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$126"
- quid "3B6D597102EA"
- roles (list role_list
- (object Role "simpleTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D59750105"
- label "simpleTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$127"
- attributes (list Attribute_Set)
- quid "3B6D59750119"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2")))
- (object Association "$UNNAMED$128"
- quid "3B69B653017A"
- roles (list role_list
- (object Role "scope"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B69B654006D"
- label "scope"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$129"
- attributes (list Attribute_Set)
- quid "3B69B654006E"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$130"
- quid "3C29010602D7"
- roles (list role_list
- (object Role "resolvedFeature"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C29010B000E"
- label "resolvedFeature"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$131"
- attributes (list Attribute_Set)
- quid "3C29010B0018"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$132"
- quid "3B69DB0D0183"
- roles (list role_list
- (object Role "$UNNAMED$133"
- quid "3B69DB0D033C"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0D0346"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$134"
- quid "3B69D29E014D"
- roles (list role_list
- (object Role "referencedKey"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69D2A80165"
- label "referencedKey"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$135"
- attributes (list Attribute_Set)
- quid "3B69D2A8016F"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2")))
- (object Association "$UNNAMED$136"
- quid "3B6D8D3D003E"
- roles (list role_list
- (object Role "$UNNAMED$137"
- quid "3B6D8D3E022A"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "selector"
- quid "3B6D8D3E0234"
- label "selector"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$138"
- quid "3B6D8D330025"
- roles (list role_list
- (object Role "$UNNAMED$139"
- quid "3B6D8D330365"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "fields"
- quid "3B6D8D330379"
- label "fields"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$140"
- quid "3B6ADCD802FC"
- roles (list role_list
- (object Role "$UNNAMED$141"
- quid "3B6ADCD9018B"
- supplier "Logical View::xsd::XSDImport"
- quidu "3B688C93017F"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCD9018C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$142"
- quid "3B6ADCC5007E"
- roles (list role_list
- (object Role "$UNNAMED$143"
- quid "3B6ADCC6006B"
- supplier "Logical View::xsd::XSDInclude"
- quidu "3B688C7D0250"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCC6006C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$144"
- quid "3B69DB1702C8"
- roles (list role_list
- (object Role "$UNNAMED$145"
- quid "3B69DB1803E2"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB190004"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$146"
- quid "3B6BCEB102F8"
- roles (list role_list
- (object Role "$UNNAMED$147"
- quid "3B6BCEB6001B"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6BCEB60025"
- label "contents"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$148"
- quid "3B683606026F"
- roles (list role_list
- (object Role "$UNNAMED$149"
- quid "3B6836070221"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "particles"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6836070222"
- label "particles"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$150"
- quid "3B69DB15008A"
- roles (list role_list
- (object Role "$UNNAMED$151"
- quid "3B69DB160096"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1600A0"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$152"
- quid "3B6837AC025A"
- roles (list role_list
- (object Role "$UNNAMED$153"
- quid "3B6837AD0338"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "modelGroup"
- quid "3B6837AD0339"
- label "modelGroup"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$154"
- quid "3B6B42450398"
- roles (list role_list
- (object Role "$UNNAMED$155"
- quid "3B6B4249038A"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "resolvedModelGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B4249039E"
- label "resolvedModelGroupDefinition"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$156"
- quid "3B69DB0F0212"
- roles (list role_list
- (object Role "$UNNAMED$157"
- quid "3B69DB1000C9"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1000D3"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$158"
- quid "3B6B47150119"
- roles (list role_list
- (object Role "$UNNAMED$159"
- quid "3B6B471A03AB"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6B471A03B5"
- label "content"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$160"
- quid "3B683C890122"
- roles (list role_list
- (object Role "$UNNAMED$161"
- quid "3B683C8A0110"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "term"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683C8A0111"
- label "term"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$162"
- quid "3B6ADE42009A"
- roles (list role_list
- (object Role "$UNNAMED$163"
- quid "3B6ADE4302FE"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6ADE430308"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$164"
- quid "3B6AE8240051"
- roles (list role_list
- (object Role "$UNNAMED$165"
- quid "3B6AE82602AD"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6AE82602B7"
- label "contents"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$166"
- quid "3B688E6B003D"
- roles (list role_list
- (object Role "$UNNAMED$167"
- quid "3B688E6C0107"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B688E6C0111"
- label "contents"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$168"
- quid "3B66EE8D01BF"
- roles (list role_list
- (object Role "$UNNAMED$169"
- quid "3B66EE8E0198"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "elementDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE8E0199"
- label "elementDeclarations"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$170"
- quid "3B66FDFA00C3"
- roles (list role_list
- (object Role "$UNNAMED$171"
- quid "3B66FDFB027D"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66FDFB027E"
- label "attributeDeclarations"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$172"
- quid "3B66EE920216"
- roles (list role_list
- (object Role "$UNNAMED$173"
- quid "3B66EE93018B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE93018C"
- label "attributeGroupDefinitions"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$174"
- quid "3B66EE760049"
- roles (list role_list
- (object Role "$UNNAMED$175"
- quid "3B66EE760374"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "typeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE76037E"
- label "typeDefinitions"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$176"
- quid "3B66EEFF024F"
- roles (list role_list
- (object Role "$UNNAMED$177"
- quid "3B66EF00025A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "modelGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EF000264"
- label "modelGroupDefinitions"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$178"
- quid "3BFC2A1701ED"
- roles (list role_list
- (object Role "$UNNAMED$179"
- quid "3BFC2A1A0273"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFC2A1A027D"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$180"
- quid "3B66EEA7023E"
- roles (list role_list
- (object Role "$UNNAMED$181"
- quid "3B66EEA8038A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "notationDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EEA8038B"
- label "notationDeclarations"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$182"
- quid "3B69E4560290"
- roles (list role_list
- (object Role "$UNNAMED$183"
- quid "3B69E4570165"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69E457016F"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$184"
- quid "3B6D5CA50112"
- roles (list role_list
- (object Role "$UNNAMED$185"
- quid "3B6D5CA703B4"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6D5CA703C8"
- label "contents"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$186"
- quid "3B6C35AD0374"
- roles (list role_list
- (object Role "$UNNAMED$187"
- quid "3B6C35AF0006"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facetContents"
- quid "3B6C35AF0010"
- label "facetContents"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$188"
- quid "3BC8AE0203A8"
- roles (list role_list
- (object Role "$UNNAMED$189"
- quid "3BC8AE060051"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BC8AE060065"
- label "facets"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$190"
- quid "3B6C34B70208"
- roles (list role_list
- (object Role "$UNNAMED$191"
- quid "3B6C34BE0258"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "memberTypeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6C34BE0259"
- label "memberTypeDefinitions"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$192"
- quid "3B6C363201DB"
- roles (list role_list
- (object Role "$UNNAMED$193"
- quid "3B6C36350059"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fundamentalFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B6C36350063"
- label "fundamentalFacets"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$194"
- quid "3B6D35AB0273"
- roles (list role_list
- (object Role "$UNNAMED$195"
- quid "3B6D35B20291"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D35B202A5"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$196"
- quid "3B6D5572016C"
- roles (list role_list
- (object Role "$UNNAMED$197"
- quid "3B6D5575022F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "primitiveTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D55750243"
- label "primitiveTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$198"
- quid "3B69E2910158"
- roles (list role_list
- (object Role "$UNNAMED$199"
- quid "3B69E292019F"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69E29201A9"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$200"
- quid "3B9006CF0088"
- roles (list role_list
- (object Role "$UNNAMED$201"
- quid "3B9006D1015D"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "derivationAnnotation"
- quid "3B9006D10167"
- label "derivationAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$202"
- quid "3B69DB330264"
- roles (list role_list
- (object Role "$UNNAMED$203"
- quid "3B69DB340284"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69DB34028E"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$204"
- quid "3B69DB11026F"
- roles (list role_list
- (object Role "$UNNAMED$205"
- quid "3B69DB1201F9"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB120203"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$206"
- quid "3C626EB30005"
- roles (list role_list
- (object Role "$UNNAMED$207"
- quid "3C626EB40327"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EB40332"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$208"
- quid "3BEBDC870247"
- roles (list role_list
- (object Role "$UNNAMED$209"
- quid "3BEBDC8C02F9"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3BEBDC8C0303"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$210"
- quid "3BFE622703CD"
- roles (list role_list
- (object Role "$UNNAMED$211"
- attributes (list Attribute_Set)
- quid "3BFE622B0061"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "components"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE622B006C"
- label "components"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$212"
- quid "3BFE62690165"
- roles (list role_list
- (object Role "$UNNAMED$213"
- quid "3BFE626A0026"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- is_aggregate TRUE)
- (object Role "diagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3BFE626A0027"
- label "diagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$214"
- quid "3BFE6431035F"
- roles (list role_list
- (object Role "$UNNAMED$215"
- quid "3BFE643201C6"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "allDiagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE643201C7"
- label "allDiagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$216"
- quid "3C21DCC700EC"
- roles (list role_list
- (object Role "$UNNAMED$217"
- quid "3C21DCCE0042"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- is_aggregate TRUE)
- (object Role "resolvedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DCCE0043"
- label "resolvedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$218"
- quid "3C21DD0C03DB"
- roles (list role_list
- (object Role "$UNNAMED$219"
- quid "3C21DD100304"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE"
- is_aggregate TRUE)
- (object Role "incorporatedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DD100305"
- label "incorporatedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$220"
- quid "3C239134004F"
- roles (list role_list
- (object Role "$UNNAMED$221"
- quid "3C23913600CA"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3C23913600D4"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$222"
- quid "3C25D3A60131"
- roles (list role_list
- (object Role "$UNNAMED$223"
- quid "3C25D3A90370"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "referencingDirectives"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C25D3A90371"
- label "referencingDirectives"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$224"
- quid "3C25ECF0005E"
- roles (list role_list
- (object Role "$UNNAMED$225"
- quid "3C25ECF4001E"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "rootVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ECF40028"
- label "rootVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$226"
- quid "3C25ED0B011B"
- roles (list role_list
- (object Role "$UNNAMED$227"
- quid "3C25ED0F0121"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "originalVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ED0F012B"
- label "originalVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$228"
- quid "3C25EEAB001F"
- roles (list role_list
- (object Role "$UNNAMED$229"
- quid "3C25EEAF010B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "incorporatedVersions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25EEAF0115"
- label "incorporatedVersions"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$230"
- quid "3C276DA000DE"
- roles (list role_list
- (object Role "$UNNAMED$231"
- quid "3C276DA000DF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "itemTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C276DA000E0"
- label "itemTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$232"
- quid "3C2784730194"
- roles (list role_list
- (object Role "$UNNAMED$233"
- quid "3C27847501F1"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "schemaForSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C27847501FB"
- label "schemaForSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$234"
- quid "3C2880F503D9"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2880F9003C"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$235"
- attributes (list Attribute_Set)
- quid "3C2880F90046"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A")))
- (object Association "$UNNAMED$236"
- quid "3C2882C50137"
- roles (list role_list
- (object Role "$UNNAMED$237"
- attributes (list Attribute_Set)
- quid "3C2882C70112"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "primaryComponent"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2882C70113"
- label "primaryComponent"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$238"
- quid "3C28A0F201A4"
- roles (list role_list
- (object Role "type"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A0F302E5"
- label "type"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$239"
- attributes (list Attribute_Set)
- quid "3C28A0F302F0"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$240"
- quid "3C28A6DB01E5"
- roles (list role_list
- (object Role "rootType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A6DD03DD"
- label "rootType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$241"
- attributes (list Attribute_Set)
- quid "3C28A6DD03DE"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$242"
- quid "3C28A7120108"
- roles (list role_list
- (object Role "baseType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7140151"
- label "baseType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$243"
- attributes (list Attribute_Set)
- quid "3C28A714015B"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$244"
- quid "3C28A74B0178"
- roles (list role_list
- (object Role "simpleType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A74D017B"
- label "simpleType"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$245"
- attributes (list Attribute_Set)
- quid "3C28A74D0185"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$246"
- quid "3C28A7ED03C0"
- roles (list role_list
- (object Role "complexType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7F40117"
- label "complexType"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$247"
- attributes (list Attribute_Set)
- quid "3C28A7F40121"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$248"
- quid "3C28A994030A"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A99700DD"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$249"
- attributes (list Attribute_Set)
- quid "3C28A99700E7"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D")))
- (object Association "$UNNAMED$250"
- quid "3C28B085025B"
- roles (list role_list
- (object Role "$UNNAMED$251"
- quid "3C28B0860270"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B086027A"
- label "minFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$252"
- quid "3C28B08D0252"
- roles (list role_list
- (object Role "$UNNAMED$253"
- quid "3C28B08E0091"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B08E009B"
- label "maxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$254"
- quid "3C28B0AB0396"
- roles (list role_list
- (object Role "$UNNAMED$255"
- quid "3C28B0AC03C9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0AC03D4"
- label "maxInclusiveFacet"
- supplier "Logical View::xsd::XSDMaxInclusiveFacet"
- quidu "3B6C787D00DA"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$256"
- quid "3C28B0AF0338"
- roles (list role_list
- (object Role "$UNNAMED$257"
- quid "3C28B0B001F9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B00203"
- label "minInclusiveFacet"
- supplier "Logical View::xsd::XSDMinInclusiveFacet"
- quidu "3B6C788702C9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$258"
- quid "3C28B0B30207"
- roles (list role_list
- (object Role "$UNNAMED$259"
- quid "3C28B0B40190"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B4019A"
- label "minExclusiveFacet"
- supplier "Logical View::xsd::XSDMinExclusiveFacet"
- quidu "3B6C792D000A"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$260"
- quid "3C28B0B6028D"
- roles (list role_list
- (object Role "$UNNAMED$261"
- quid "3C28B0B70217"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B70221"
- label "maxExclusiveFacet"
- supplier "Logical View::xsd::XSDMaxExclusiveFacet"
- quidu "3B6C789600C2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$262"
- quid "3C28B0BC0051"
- roles (list role_list
- (object Role "$UNNAMED$263"
- quid "3C28B0BC0246"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "lengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0BC0250"
- label "lengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$264"
- quid "3C28B0BF018C"
- roles (list role_list
- (object Role "$UNNAMED$265"
- quid "3C28B0C0006B"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "whiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C00075"
- label "whiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$266"
- quid "3C28B0C2021D"
- roles (list role_list
- (object Role "$UNNAMED$267"
- quid "3C28B0C300AB"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "enumerationFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C300AC"
- label "enumerationFacets"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$268"
- quid "3C28B0C50159"
- roles (list role_list
- (object Role "$UNNAMED$269"
- quid "3C28B0C600B0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "patternFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C600BA"
- label "patternFacets"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$270"
- quid "3C28B0C802A7"
- roles (list role_list
- (object Role "$UNNAMED$271"
- quid "3C28B0C901EA"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "cardinalityFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C901F5"
- label "cardinalityFacet"
- supplier "Logical View::xsd::XSDCardinalityFacet"
- quidu "3B6C755D03D2"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$272"
- quid "3C28B0CB039C"
- roles (list role_list
- (object Role "$UNNAMED$273"
- quid "3C28B0CC03D0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "numericFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0CC03D1"
- label "numericFacet"
- supplier "Logical View::xsd::XSDNumericFacet"
- quidu "3B6C75950206"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$274"
- quid "3C28B0CF0199"
- roles (list role_list
- (object Role "$UNNAMED$275"
- quid "3C28B0D20085"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D2008F"
- label "maxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$276"
- quid "3C28B0D500C5"
- roles (list role_list
- (object Role "$UNNAMED$277"
- quid "3C28B0D6001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D60027"
- label "minLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$278"
- quid "3C28B0D800DE"
- roles (list role_list
- (object Role "$UNNAMED$279"
- quid "3C28B0D803CD"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "totalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D803D7"
- label "totalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$280"
- quid "3C28B0DB0377"
- roles (list role_list
- (object Role "$UNNAMED$281"
- quid "3C28B0DC035A"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DC0364"
- label "fractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$282"
- quid "3C28B0DF0048"
- roles (list role_list
- (object Role "$UNNAMED$283"
- quid "3C28B0DF03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "orderedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DF03C3"
- label "orderedFacet"
- supplier "Logical View::xsd::XSDOrderedFacet"
- quidu "3B6C74DD0248"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$284"
- quid "3C28B0E300D9"
- roles (list role_list
- (object Role "$UNNAMED$285"
- quid "3C28B0E4038E"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "boundedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0E40398"
- label "boundedFacet"
- supplier "Logical View::xsd::XSDBoundedFacet"
- quidu "3B6C751D0344"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$286"
- quid "3C28B44401EC"
- roles (list role_list
- (object Role "$UNNAMED$287"
- quid "3C28B4450360"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B445036A"
- label "effectiveMaxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$288"
- quid "3C28B54F0145"
- roles (list role_list
- (object Role "$UNNAMED$289"
- quid "3C28B550038C"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveWhiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5500396"
- label "effectiveWhiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$290"
- quid "3C28B5C4011C"
- roles (list role_list
- (object Role "$UNNAMED$291"
- quid "3C28B5C5020D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5C50217"
- label "effectiveMaxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$292"
- quid "3C28B62A00AA"
- roles (list role_list
- (object Role "$UNNAMED$293"
- quid "3C28B62B0138"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveFractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B62B0142"
- label "effectiveFractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$294"
- quid "3C28B6B003A6"
- roles (list role_list
- (object Role "$UNNAMED$295"
- quid "3C28B6B10311"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectivePatternFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B6B10312"
- label "effectivePatternFacet"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$296"
- quid "3C28B7CA026B"
- roles (list role_list
- (object Role "$UNNAMED$297"
- quid "3C28B7CB0186"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveEnumerationFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B7CB0190"
- label "effectiveEnumerationFacet"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$298"
- quid "3C28B8400062"
- roles (list role_list
- (object Role "$UNNAMED$299"
- quid "3C28B841001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveTotalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8410027"
- label "effectiveTotalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$300"
- quid "3C28B898016D"
- roles (list role_list
- (object Role "$UNNAMED$301"
- quid "3C28B8990056"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8990060"
- label "effectiveMinLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$302"
- quid "3C28B8DC0052"
- roles (list role_list
- (object Role "$UNNAMED$303"
- quid "3C28B8DC03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8DC03C3"
- label "effectiveLengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$304"
- quid "3C28B97001DB"
- roles (list role_list
- (object Role "$UNNAMED$305"
- quid "3C28B97100CF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B97100D9"
- label "effectiveMinFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$306"
- quid "3D4BB4AE01CC"
- roles (list role_list
- (object Role "$UNNAMED$307"
- quid "3D4BB4AF010F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "syntheticFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4AF011A"
- label "syntheticFacets"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$308"
- quid "3D4BB4D3028E"
- roles (list role_list
- (object Role "$UNNAMED$309"
- quid "3D4BB4D402F3"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticParticle"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4D402FD"
- label "syntheticParticle"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$310"
- quid "3D4BB4D901F6"
- roles (list role_list
- (object Role "$UNNAMED$311"
- quid "3D4BB4DA0284"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4DA028E"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$312"
- quid "3D4C68FF01BF"
- roles (list role_list
- (object Role "$UNNAMED$313"
- quid "3D4C69020317"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- quid "3D4C69020318"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "1. Component Hierarchy (Part 1: Structures)"
- quid "3B6847680138"
- title "1. Component Hierarchy (Part 1: Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @387
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (928, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @387
- location (766, 37)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @388
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1168, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @388
- location (940, 517)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8)
- (object InheritTreeView "" @389
- location (928, 225)
- line_color 3342489
- fill_color 13434879
- supplier @387
- vertices (list Points
- (928, 225)
- (928, 135)))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @390
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @390
- location (1460, 277)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @391
- location (1203, 706)
- line_color 3342489
- fill_color 13434879
- supplier @388
- vertices (list Points
- (1203, 706)
- (1203, 615)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @392
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (624, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @392
- location (372, 517)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @393
- location (444, 709)
- line_color 3342489
- fill_color 13434879
- supplier @392
- vertices (list Points
- (444, 709)
- (444, 615)))
- (object InheritTreeView "" @394
- location (1572, 465)
- line_color 3342489
- fill_color 13434879
- supplier @390
- vertices (list Points
- (1572, 465)
- (1572, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @395
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 800)
- label (object ItemLabel
- Parent_View @395
- location (290, 757)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @396
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 1056)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @396
- location (262, 1013)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @397
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1104, 320)
- label (object ItemLabel
- Parent_View @397
- location (936, 277)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8)
- (object InheritTreeView "" @398
- location (453, 1203)
- line_color 3342489
- fill_color 13434879
- supplier @396
- vertices (list Points
- (453, 1203)
- (453, 1111)))
- (object ClassView "Class" "Logical View::xsd::XSDScope" @399
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (176, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @399
- location (62, 277)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @400
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @400
- location (1746, 757)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 110
- annotation 8)
- (object InheritTreeView "" @401
- location (1872, 950)
- line_color 3342489
- fill_color 13434879
- supplier @400
- vertices (list Points
- (1872, 950)
- (1872, 855)))
- (object InheritTreeView "" @402
- location (181, 465)
- line_color 3342489
- fill_color 13434879
- supplier @399
- vertices (list Points
- (181, 465)
- (181, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @403
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1936, 1280)
- label (object ItemLabel
- Parent_View @403
- location (1670, 1233)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 550
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @404
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 1056)
- label (object ItemLabel
- Parent_View @404
- location (1734, 1013)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @405
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1488)
- label (object ItemLabel
- Parent_View @405
- location (1569, 1444)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 656
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @406
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1184, 1488)
- label (object ItemLabel
- Parent_View @406
- location (903, 1444)
- fill_color 13434879
- nlines 1
- max_width 563
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 581
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @407
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 560)
- label (object ItemLabel
- Parent_View @407
- location (1462, 517)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 294
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @408
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1024, 1056)
- label (object ItemLabel
- Parent_View @408
- location (778, 1013)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @409
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 560)
- label (object ItemLabel
- Parent_View @409
- location (1806, 517)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @410
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1296)
- label (object ItemLabel
- Parent_View @410
- location (106, 1253)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @411
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 560)
- label (object ItemLabel
- Parent_View @411
- location (60, 517)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @412
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1280)
- label (object ItemLabel
- Parent_View @412
- location (802, 1237)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 558
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @413
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 1488)
- label (object ItemLabel
- Parent_View @413
- location (30, 1441)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 694
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @414
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (576, 320)
- label (object ItemLabel
- Parent_View @414
- location (426, 277)
- fill_color 13434879
- nlines 1
- max_width 300
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 318
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @415
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 320)
- label (object ItemLabel
- Parent_View @415
- location (1808, 277)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @416
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @397
- supplier @387
- line_style 3
- origin_attachment (1094, 265)
- terminal_attachment (1094, 225)
- drawSupplier @389)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @417
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @417
- location (690, 757)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @418
- location (962, 947)
- line_color 3342489
- fill_color 13434879
- supplier @417
- vertices (list Points
- (962, 947)
- (962, 855)))
- (object InheritView "" @419
- stereotype (object SegLabel @420
- Parent_View @419
- location (218, 1154)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.163534
- height 69
- orientation 1)
- line_color 3342489
- quidu "3B685F55032B"
- client @410
- supplier @392
- line_style 3
- origin_attachment (149, 1241)
- terminal_attachment (149, 709)
- drawSupplier @393)
- (object InheritView "" @421
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @410
- supplier @396
- line_style 3
- origin_attachment (256, 1241)
- terminal_attachment (256, 1203)
- drawSupplier @398)
- (object InheritView "" @422
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @411
- supplier @399
- line_style 3
- origin_attachment (284, 505)
- terminal_attachment (284, 465)
- drawSupplier @402)
- (object InheritView "" @423
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @409
- supplier @390
- line_style 3
- origin_attachment (2002, 505)
- terminal_attachment (2002, 465)
- drawSupplier @394)
- (object InheritView "" @424
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @390
- supplier @387
- line_style 3
- origin_attachment (1569, 265)
- terminal_attachment (1569, 225)
- drawSupplier @389)
- (object InheritView "" @425
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @407
- supplier @390
- line_style 3
- origin_attachment (1490, 505)
- terminal_attachment (1490, 465)
- drawSupplier @394)
- (object InheritView "" @426
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @395
- supplier @392
- line_style 3
- origin_attachment (510, 745)
- terminal_attachment (510, 709)
- drawSupplier @393)
- (object InheritView "" @427
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @412
- supplier @417
- line_style 3
- origin_attachment (1321, 1225)
- terminal_attachment (1321, 947)
- drawSupplier @418)
- (object InheritView "" @428
- stereotype (object SegLabel @429
- Parent_View @428
- location (2137, 886)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.215812
- height 64
- orientation 0)
- line_color 3342489
- quidu "3B685F17002E"
- client @404
- supplier @390
- line_style 3
- origin_attachment (2200, 1001)
- terminal_attachment (2200, 465)
- drawSupplier @394)
- (object InheritView "" @430
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @404
- supplier @400
- line_style 3
- origin_attachment (2093, 1001)
- terminal_attachment (2093, 950)
- drawSupplier @401)
- (object InheritView "" @431
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @396
- supplier @417
- line_style 3
- origin_attachment (450, 1001)
- terminal_attachment (450, 947)
- drawSupplier @418)
- (object InheritView "" @432
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @399
- supplier @387
- line_style 3
- origin_attachment (147, 265)
- terminal_attachment (147, 225)
- drawSupplier @389)
- (object InheritView "" @433
- stereotype TRUE
- line_color 3342489
- quidu "3B6D84F70092"
- client @415
- supplier @387
- line_style 3
- origin_attachment (2012, 265)
- terminal_attachment (2012, 225)
- drawSupplier @389)
- (object InheritView "" @434
- stereotype TRUE
- line_color 3342489
- quidu "3B6848B80286"
- client @392
- supplier @387
- line_style 3
- origin_attachment (834, 505)
- terminal_attachment (834, 225)
- drawSupplier @389)
- (object InheritView "" @435
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @388
- supplier @387
- line_style 3
- origin_attachment (1350, 505)
- terminal_attachment (1350, 225)
- drawSupplier @389)
- (object InheritView "" @436
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @414
- supplier @387
- line_style 3
- origin_attachment (572, 265)
- terminal_attachment (572, 225)
- drawSupplier @389)
- (object InheritView "" @437
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @403
- supplier @400
- line_style 3
- origin_attachment (1693, 1221)
- terminal_attachment (1693, 950)
- drawSupplier @401)
- (object InheritView "" @438
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @405
- supplier @388
- line_style 3
- origin_attachment (1590, 1432)
- terminal_attachment (1590, 706)
- drawSupplier @391)
- (object InheritView "" @439
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @406
- supplier @388
- line_style 3
- origin_attachment (1431, 1432)
- terminal_attachment (1431, 706)
- drawSupplier @391)
- (object InheritView "" @440
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @417
- supplier @388
- line_style 3
- origin_attachment (959, 745)
- terminal_attachment (959, 706)
- drawSupplier @391)
- (object InheritView "" @441
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @400
- supplier @388
- line_style 3
- origin_attachment (1872, 745)
- terminal_attachment (1872, 706)
- drawSupplier @391)
- (object InheritView "" @442
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @408
- supplier @417
- line_style 3
- origin_attachment (962, 1001)
- terminal_attachment (962, 947)
- drawSupplier @418)
- (object InheritView "" @443
- stereotype (object SegLabel @444
- Parent_View @443
- location (95, 1388)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.042531
- height 67
- orientation 1)
- line_color 3342489
- quidu "3B69BAA20310"
- client @413
- supplier @399
- line_style 3
- origin_attachment (28, 1429)
- terminal_attachment (28, 465)
- drawSupplier @402)
- (object InheritView "" @445
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @413
- supplier @396
- line_style 3
- origin_attachment (656, 1429)
- terminal_attachment (656, 1203)
- drawSupplier @398)))
- (object ClassDiagram "2. Component Relations (Part 1 : Structures)"
- quid "374B18190028"
- title "2. Component Relations (Part 1 : Structures)"
- zoom 96
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDScope" @446
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (784, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @446
- location (670, 1591)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @447
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @447
- location (66, 1591)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$128" @448
- location (494, 1627)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B653017A"
- roleview_list (list RoleViews
- (object RoleView "scope" @449
- Parent_View @448
- location (286, -485)
- label (object SegLabel @450
- Parent_View @449
- location (555, 1589)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+scope"
- pctDist 0.371257
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006D"
- client @448
- supplier @446
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (661, 1627)
- label (object SegLabel @451
- Parent_View @449
- location (576, 1664)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.491018
- height 37
- orientation 1))
- (object RoleView "$UNNAMED$129" @452
- Parent_View @448
- location (286, -485)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006E"
- client @448
- supplier @447
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (327, 1627))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @453
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2192, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @453
- location (2084, 1191)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @454
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2176, 992)
- label (object ItemLabel
- Parent_View @454
- location (2051, 951)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$160" @455
- location (2229, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C890122"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$161" @456
- Parent_View @455
- location (549, -248)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0110"
- client @455
- supplier @454
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1045))
- (object RoleView "term" @457
- Parent_View @455
- location (549, -248)
- label (object SegLabel @458
- Parent_View @457
- location (2157, 1121)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+term"
- pctDist 0.134328
- height 72
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0111"
- client @455
- supplier @453
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1179)
- label (object SegLabel @459
- Parent_View @457
- location (2274, 1119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.119403
- height 45
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @460
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1328, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @460
- location (1076, 1191)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @461
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 768)
- label (object ItemLabel
- Parent_View @461
- location (1977, 727)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$148" @462
- location (2219, 880)
- stereotype TRUE
- line_color 3342489
- quidu "3B683606026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$149" @463
- Parent_View @462
- location (-357, -240)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070221"
- client @462
- supplier @461
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 821))
- (object RoleView "particles" @464
- Parent_View @462
- location (-357, -240)
- label (object SegLabel @465
- Parent_View @464
- location (2105, 888)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+particles"
- pctDist 0.156627
- height 115
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070222"
- client @462
- supplier @454
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 939)
- label (object SegLabel @466
- Parent_View @464
- location (2281, 888)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.156627
- height 62
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @467
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1776, 992)
- label (object ItemLabel
- Parent_View @467
- location (1639, 951)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @468
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1424)
- label (object ItemLabel
- Parent_View @468
- location (905, 1383)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 352
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @469
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (432, 992)
- label (object ItemLabel
- Parent_View @469
- location (187, 951)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$194" @470
- location (590, 1140)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$195" @471
- Parent_View @470
- location (302, 148)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @470
- supplier @469
- vertices (list Points
- (590, 1140)
- (540, 1140)
- (540, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (540, 1045))
- (object RoleView "baseTypeDefinition" @472
- Parent_View @470
- location (302, 148)
- label (object SegLabel @473
- Parent_View @472
- location (643, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.053571
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @470
- supplier @469
- vertices (list Points
- (590, 1140)
- (641, 1140)
- (641, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (641, 1045)
- label (object SegLabel @474
- Parent_View @472
- location (584, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.122449
- height 44
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @475
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1008, 992)
- label (object ItemLabel
- Parent_View @475
- location (745, 951)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$96" @476
- location (1119, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837DF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$97" @477
- Parent_View @476
- location (-1569, -8)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FD"
- client @476
- supplier @475
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1045))
- (object RoleView "contentType" @478
- Parent_View @476
- location (-1569, -8)
- label (object SegLabel @479
- Parent_View @478
- location (1259, 1126)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+contentType"
- pctDist 0.208955
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FE"
- client @476
- supplier @460
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1179)
- label (object SegLabel @480
- Parent_View @478
- location (1063, 1126)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.208955
- height 57
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$102" @481
- location (1455, 982)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BA0126"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$103" @482
- Parent_View @481
- location (159, -570)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0150"
- client @481
- supplier @475
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1280, 982))
- (object RoleView "attributeWildcard" @483
- Parent_View @481
- location (159, -570)
- label (object SegLabel @484
- Parent_View @483
- location (1445, 929)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist -0.062857
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0151"
- client @481
- supplier @467
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1630, 982)
- label (object SegLabel @485
- Parent_View @483
- location (1550, 1022)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.542857
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$98" @486
- location (921, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959006E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$99" @487
- Parent_View @486
- location (-871, -376)
- stereotype TRUE
- line_color 3342489
- quidu "3B6839590349"
- client @486
- supplier @475
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1045))
- (object RoleView "attributeUses" @488
- Parent_View @486
- location (-871, -376)
- label (object SegLabel @489
- Parent_View @488
- location (778, 1251)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.269939
- height 144
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959034A"
- client @486
- supplier @468
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1371)
- label (object SegLabel @490
- Parent_View @488
- location (979, 1254)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.288344
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @491
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 768)
- label (object ItemLabel
- Parent_View @491
- location (1122, 727)
- fill_color 13434879
- nlines 1
- max_width 380
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 398
- height 107
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @492
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1856, 1632)
- label (object ItemLabel
- Parent_View @492
- location (1623, 1591)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @493
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2048, 448)
- label (object ItemLabel
- Parent_View @493
- location (1803, 407)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$152" @494
- location (2216, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$153" @495
- Parent_View @494
- location (-552, -816)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @494
- supplier @493
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 501))
- (object RoleView "modelGroup" @496
- Parent_View @494
- location (-552, -816)
- label (object SegLabel @497
- Parent_View @496
- location (2080, 628)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.182609
- height 137
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @494
- supplier @461
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 715)
- label (object SegLabel @498
- Parent_View @496
- location (2256, 633)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.233645
- height 40
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @499
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1424)
- label (object ItemLabel
- Parent_View @499
- location (1619, 1383)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$82" @500
- location (1676, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887BF0150"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$83" @501
- Parent_View @500
- location (412, -344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A7"
- client @500
- supplier @499
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1371))
- (object RoleView "attributeWildcard" @502
- Parent_View @500
- location (412, -344)
- label (object SegLabel @503
- Parent_View @502
- location (1857, 1106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist 0.625767
- height 181
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A8"
- client @500
- supplier @467
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1045)
- label (object SegLabel @504
- Parent_View @502
- location (1618, 1108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.619632
- height 59
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$78" @505
- location (1429, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B68359F0086"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$79" @506
- Parent_View @505
- location (-363, -146)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A00069"
- client @505
- supplier @499
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1610, 1438))
- (object RoleView "attributeUses" @507
- Parent_View @505
- location (-363, -146)
- label (object SegLabel @508
- Parent_View @507
- location (1405, 1506)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.132597
- height 68
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A0006A"
- client @505
- supplier @468
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1248, 1438)
- label (object SegLabel @509
- Parent_View @507
- location (1327, 1391)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.563536
- height 48
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @510
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 1424)
- label (object ItemLabel
- Parent_View @510
- location (183, 1383)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$86" @511
- location (777, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3B683585010D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$87" @512
- Parent_View @511
- location (-519, -367)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FA"
- client @511
- supplier @468
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (896, 1425))
- (object RoleView "attributeDeclaration" @513
- Parent_View @511
- location (-519, -367)
- label (object SegLabel @514
- Parent_View @513
- location (784, 1508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+attributeDeclaration"
- pctDist -0.059259
- height 83
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FB"
- client @511
- supplier @510
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (658, 1425)
- label (object SegLabel @515
- Parent_View @513
- location (721, 1385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.472441
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$70" @516
- location (237, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356B02CB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$71" @517
- Parent_View @516
- location (-1043, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A6"
- client @516
- supplier @510
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1371))
- (object RoleView "typeDefinition" @518
- Parent_View @516
- location (-1043, 72)
- label (object SegLabel @519
- Parent_View @518
- location (388, 1247)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist -0.239264
- height 151
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A7"
- client @516
- supplier @469
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1045)
- label (object SegLabel @520
- Parent_View @518
- location (195, 1247)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.239264
- height 43
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @521
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (384, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @521
- location (198, 743)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$92" @522
- location (728, 775)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833350340"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$93" @523
- Parent_View @522
- location (-856, -57)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028D"
- client @522
- supplier @475
- vertices (list Points
- (728, 775)
- (788, 775)
- (788, 939))
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (788, 939))
- (object RoleView "baseTypeDefinition" @524
- Parent_View @522
- location (-856, -57)
- label (object SegLabel @525
- Parent_View @524
- location (558, 883)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.140940
- height 108
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028E"
- client @522
- supplier @521
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (579, 775)
- label (object SegLabel @526
- Parent_View @524
- location (750, 812)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.152439
- height 37
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @527
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1312, 448)
- label (object ItemLabel
- Parent_View @527
- location (1017, 407)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$134" @528
- location (1629, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D29E014D"
- roleview_list (list RoleViews
- (object RoleView "referencedKey" @529
- Parent_View @528
- location (-83, 94)
- label (object SegLabel @530
- Parent_View @529
- location (1761, 608)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+referencedKey"
- pctDist -1.797297
- height 34
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A80165"
- client @528
- supplier @527
- vertices (list Points
- (1629, 574)
- (1555, 574)
- (1555, 501))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1555, 501)
- label (object SegLabel @531
- Parent_View @529
- location (1622, 539)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.047619
- height 36
- orientation 1))
- (object RoleView "$UNNAMED$135" @532
- Parent_View @528
- location (-83, 94)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A8016F"
- client @528
- supplier @527
- vertices (list Points
- (1629, 574)
- (1689, 574)
- (1689, 444)
- (1616, 444))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1616, 444))))
- (object AssociationViewNew "$UNNAMED$138" @533
- location (1197, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$139" @534
- Parent_View @533
- location (-115, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @533
- supplier @527
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 501))
- (object RoleView "fields" @535
- Parent_View @533
- location (-115, 32)
- label (object SegLabel @536
- Parent_View @535
- location (1119, 655)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.439252
- height 78
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @533
- supplier @491
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 715)
- label (object SegLabel @537
- Parent_View @535
- location (1253, 654)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.429907
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$136" @538
- location (1415, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$137" @539
- Parent_View @538
- location (103, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @538
- supplier @527
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 501))
- (object RoleView "selector" @540
- Parent_View @538
- location (103, 32)
- label (object SegLabel @541
- Parent_View @540
- location (1513, 651)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.411215
- height 98
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @538
- supplier @491
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 715)
- label (object SegLabel @542
- Parent_View @540
- location (1381, 650)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.392523
- height 34
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @543
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1312, 160)
- label (object ItemLabel
- Parent_View @543
- location (1022, 68)
- fill_color 13434879
- nlines 1
- max_width 581
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 599
- height 209
- annotation 8)
- (object AssociationViewNew "$UNNAMED$180" @544
- location (2395, 606)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA7023E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$181" @545
- Parent_View @544
- location (-853, 174)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038A"
- client @544
- supplier @543
- vertices (list Points
- (2395, 606)
- (2395, 65)
- (1611, 65))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (1611, 65))
- (object RoleView "notationDeclarations" @546
- Parent_View @544
- location (-853, 174)
- label (object SegLabel @547
- Parent_View @546
- location (2089, 104)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+notationDeclarations"
- pctDist -0.489776
- height 307
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038B"
- client @544
- supplier @492
- vertices (list Points
- (2395, 606)
- (2395, 1633)
- (2098, 1633))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (2098, 1633)
- label (object SegLabel @548
- Parent_View @546
- location (2344, 105)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.487829
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$176" @549
- location (1772, 249)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEFF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$177" @550
- Parent_View @549
- location (-948, -327)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF00025A"
- client @549
- supplier @543
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1611, 249))
- (object RoleView "modelGroupDefinitions" @551
- Parent_View @549
- location (-948, -327)
- label (object SegLabel @552
- Parent_View @551
- location (2076, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+modelGroupDefinitions"
- pctDist 0.713592
- height 244
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF000264"
- client @549
- supplier @493
- vertices (list Points
- (1772, 249)
- (1832, 249)
- (1832, 395))
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1832, 395)
- label (object SegLabel @553
- Parent_View @551
- location (1781, 340)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.737864
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$172" @554
- location (2346, 518)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE920216"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$173" @555
- Parent_View @554
- location (154, 86)
- label (object SegLabel @556
- Parent_View @555
- location (1872, 1857)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist -3.630072
- height 475
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018B"
- client @554
- supplier @543
- vertices (list Points
- (2346, 518)
- (2346, 149)
- (1611, 149))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (1611, 149))
- (object RoleView "attributeGroupDefinitions" @557
- Parent_View @554
- location (154, 86)
- label (object SegLabel @558
- Parent_View @557
- location (2008, 195)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+attributeGroupDefinitions"
- pctDist -0.349946
- height 339
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018C"
- client @554
- supplier @499
- vertices (list Points
- (2346, 518)
- (2346, 1441)
- (2166, 1441))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (2166, 1441)
- label (object SegLabel @559
- Parent_View @557
- location (2299, 197)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.348862
- height 48
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$174" @560
- location (203, 159)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760049"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$175" @561
- Parent_View @560
- location (-485, -273)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760374"
- client @560
- supplier @543
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (1013, 159))
- (object RoleView "typeDefinitions" @562
- Parent_View @560
- location (-485, -273)
- label (object SegLabel @563
- Parent_View @562
- location (349, 196)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+typeDefinitions"
- pctDist -1.475728
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE76037E"
- client @560
- supplier @521
- vertices (list Points
- (203, 159)
- (104, 159)
- (104, 784)
- (189, 784))
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (189, 784)
- label (object SegLabel @564
- Parent_View @562
- location (155, 200)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.059701
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$178" @565
- location (1087, 329)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1701ED"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$179" @566
- Parent_View @565
- location (-577, -23)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A0273"
- client @565
- supplier @543
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 264))
- (object RoleView "identityConstraintDefinitions" @567
- Parent_View @565
- location (-577, -23)
- label (object SegLabel @568
- Parent_View @567
- location (1375, 338)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.130952
- height 288
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A027D"
- client @565
- supplier @527
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 395)
- label (object SegLabel @569
- Parent_View @567
- location (1018, 336)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.107143
- height 70
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$170" @570
- location (48, 320)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFA00C3"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$171" @571
- Parent_View @570
- location (-1072, -288)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027D"
- client @570
- supplier @543
- vertices (list Points
- (49, 322)
- (49, 68)
- (1013, 68))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (1013, 68))
- (object RoleView "attributeDeclarations" @572
- Parent_View @570
- location (-1072, -288)
- label (object SegLabel @573
- Parent_View @572
- location (338, 106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+attributeDeclarations"
- pctDist -0.198536
- height 289
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027E"
- client @570
- supplier @510
- vertices (list Points
- (49, 322)
- (49, 1415)
- (174, 1415))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (174, 1415)
- label (object SegLabel @574
- Parent_View @572
- location (91, 108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.196706
- height 42
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @575
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 448)
- label (object ItemLabel
- Parent_View @575
- location (175, 412)
- fill_color 13434879
- nlines 1
- max_width 483
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 501
- height 97
- annotation 8)
- (object AssociationViewNew "$UNNAMED$120" @576
- location (499, 589)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C0590198"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$121" @577
- Parent_View @576
- location (-13, 109)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01E3"
- client @576
- supplier @575
- vertices (list Points
- (499, 589)
- (452, 589)
- (452, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (452, 496))
- (object RoleView "substitutionGroupAffiliation" @578
- Parent_View @576
- location (-13, 109)
- label (object SegLabel @579
- Parent_View @578
- location (811, 585)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+substitutionGroupAffiliation"
- pctDist 6.520833
- height 5
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01ED"
- client @576
- supplier @575
- vertices (list Points
- (499, 589)
- (547, 589)
- (547, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (547, 496)
- label (object SegLabel @580
- Parent_View @578
- location (499, 559)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.000000
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$114" @581
- location (241, 613)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C0058"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$115" @582
- Parent_View @581
- location (-1343, -219)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03BF"
- client @581
- supplier @575
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 496))
- (object RoleView "typeDefinition" @583
- Parent_View @581
- location (-1343, -219)
- label (object SegLabel @584
- Parent_View @583
- location (408, 694)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.686441
- height 167
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03C0"
- client @581
- supplier @521
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 731)
- label (object SegLabel @585
- Parent_View @583
- location (202, 685)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.610169
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$116" @586
- location (837, 460)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$117" @587
- Parent_View @586
- location (-1819, -68)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @586
- supplier @575
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (666, 460))
- (object RoleView "identityConstraintDefinitions" @588
- Parent_View @586
- location (-1819, -68)
- label (object SegLabel @589
- Parent_View @588
- location (880, 528)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.251462
- height 68
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @586
- supplier @527
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (1008, 460)
- label (object SegLabel @590
- Parent_View @588
- location (859, 407)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.130435
- height 54
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$168" @591
- location (541, 246)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8D01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$169" @592
- Parent_View @591
- location (-1123, -186)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0198"
- client @591
- supplier @543
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (1013, 246))
- (object RoleView "elementDeclarations" @593
- Parent_View @591
- location (-1123, -186)
- label (object SegLabel @594
- Parent_View @593
- location (443, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+elementDeclarations"
- pctDist 0.209302
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0199"
- client @591
- supplier @575
- vertices (list Points
- (541, 246)
- (224, 246)
- (224, 400))
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (224, 400)
- label (object SegLabel @595
- Parent_View @593
- location (186, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.864693
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$122" @596
- location (353, 621)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBDD0297"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$123" @597
- Parent_View @596
- location (-63, 173)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE0011E"
- client @596
- supplier @575
- vertices (list Points
- (353, 621)
- (306, 621)
- (306, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (306, 496))
- (object RoleView "substitutionGroup" @598
- Parent_View @596
- location (-63, 173)
- label (object SegLabel @599
- Parent_View @598
- location (579, 636)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+substitutionGroup"
- pctDist 4.808511
- height 15
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE00128"
- client @596
- supplier @575
- vertices (list Points
- (353, 621)
- (400, 621)
- (400, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (400, 496)
- label (object SegLabel @600
- Parent_View @598
- location (350, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist -0.069767
- height 39
- orientation 0))))))
- (object ClassDiagram "3. Component Attributes (Part 1 : Structures)"
- quid "3B69E78602C5"
- title "3. Component Attributes (Part 1 : Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @601
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @601
- location (46, 47)
- fill_color 13434879
- nlines 1
- max_width 516
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @601
- location (46, 107)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 482
- compartmentItems (list Compartment
- "+ name : String"
- "+ targetNamespace : String"))
- width 534
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @602
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1648)
- label (object ItemLabel
- Parent_View @602
- location (41, 1567)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 512
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @603
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 1680)
- label (object ItemLabel
- Parent_View @603
- location (1781, 1524)
- fill_color 13434879
- nlines 1
- max_width 1174
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @603
- location (1781, 1584)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 1139
- compartmentItems (list Compartment
- "+ derivationMethod : XSDDerivationMethod = restriction"
- "<<0..*>> + final : XSDComplexFinal"
- "+ abstract : boolean"
- "+ contentTypeCategory : XSDContentTypeCategory"
- "<<0..*>> + prohibitedSubstitutions : XSDProhibitedSubstitutions"))
- width 1192
- height 336
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @604
- location (463, 362)
- line_color 3342489
- fill_color 13434879
- supplier @601
- vertices (list Points
- (463, 362)
- (463, 221)))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @605
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 1600)
- label (object ItemLabel
- Parent_View @605
- location (1094, 1519)
- fill_color 13434879
- nlines 1
- max_width 628
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @605
- location (1094, 1579)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 592
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 646
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @606
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 144)
- label (object ItemLabel
- Parent_View @606
- location (647, 38)
- fill_color 13434879
- nlines 1
- max_width 530
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @606
- location (647, 98)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 502
- compartmentItems (list Compartment
- "+ required : boolean"
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 548
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @607
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (688, 1936)
- label (object ItemLabel
- Parent_View @607
- location (45, 1830)
- fill_color 13434879
- nlines 1
- max_width 1286
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @607
- location (45, 1890)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 1260
- compartmentItems (list Compartment
- "+ namespaceConstraintCategory : XSDNamespaceConstraintCategory"
- "<<0..*>> + namespaceConstraint : String"
- "+ processContents : XSDProcessContents"))
- width 1304
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @608
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 1440)
- label (object ItemLabel
- Parent_View @608
- location (47, 1384)
- fill_color 13434879
- nlines 1
- max_width 578
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 596
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @609
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @609
- location (36, 431)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @609
- location (36, 491)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 506
- compartmentItems (list Compartment
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 554
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @610
- location (294, 697)
- line_color 3342489
- fill_color 13434879
- supplier @609
- vertices (list Points
- (294, 697)
- (294, 605)))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @611
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2256, 128)
- label (object ItemLabel
- Parent_View @611
- location (1995, 47)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 540
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @612
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @612
- location (2418, 460)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @613
- location (2684, 962)
- line_color 3342489
- fill_color 13434879
- supplier @612
- vertices (list Points
- (2684, 962)
- (2684, 576)))
- (object ClassView "Class" "Logical View::xsd::XSDCompositor" @614
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1200)
- label (object ItemLabel
- Parent_View @614
- location (45, 1116)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDCompositor")
- stereotype (object ItemLabel
- Parent_View @614
- location (45, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869B620037"
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstraint" @615
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 528)
- label (object ItemLabel
- Parent_View @615
- location (638, 469)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDConstraint")
- stereotype (object ItemLabel
- Parent_View @615
- location (638, 419)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869E2601AE"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDerivationMethod" @616
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2192, 2272)
- label (object ItemLabel
- Parent_View @616
- location (1980, 2213)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "XSDDerivationMethod")
- stereotype (object ItemLabel
- Parent_View @616
- location (1980, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 424
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A0B000CE"
- width 442
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintCategory" @617
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1584, 176)
- label (object ItemLabel
- Parent_View @617
- location (1281, 88)
- fill_color 13434879
- nlines 1
- max_width 607
- justify 0
- label "XSDIdentityConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @617
- location (1281, 38)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 607
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A1E00272"
- width 625
- height 300
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDContentTypeCategory" @618
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2704, 2224)
- label (object ItemLabel
- Parent_View @618
- location (2456, 2115)
- fill_color 13434879
- nlines 1
- max_width 496
- justify 0
- label "XSDContentTypeCategory")
- stereotype (object ItemLabel
- Parent_View @618
- location (2456, 2065)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 496
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A79F03A2"
- width 514
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @619
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 1600)
- label (object ItemLabel
- Parent_View @619
- location (708, 1516)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @619
- location (708, 1466)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 344
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 362
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProcessContents" @620
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 2240)
- label (object ItemLabel
- Parent_View @620
- location (766, 2156)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDProcessContents")
- stereotype (object ItemLabel
- Parent_View @620
- location (766, 2106)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 420
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF8C70284"
- width 438
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDXPathVariety" @621
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2768, 160)
- label (object ItemLabel
- Parent_View @621
- location (2587, 97)
- fill_color 13434879
- nlines 1
- max_width 363
- justify 0
- label "XSDXPathVariety")
- stereotype (object ItemLabel
- Parent_View @621
- location (2587, 47)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 363
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FFB89033A"
- width 381
- height 250
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @622
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1552, 1872)
- label (object ItemLabel
- Parent_View @622
- location (1389, 1788)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @622
- location (1389, 1738)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @622
- location (1389, 1848)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 199
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @623
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 2000)
- label (object ItemLabel
- Parent_View @623
- location (1786, 1941)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @623
- location (1786, 1891)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- compartment (object Compartment
- Parent_View @623
- location (1786, 2001)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 202
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 382
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSubstitutionGroupExclusions" @624
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 1184)
- label (object ItemLabel
- Parent_View @624
- location (485, 1125)
- fill_color 13434879
- nlines 1
- max_width 630
- justify 0
- label "XSDSubstitutionGroupExclusions")
- stereotype (object ItemLabel
- Parent_View @624
- location (485, 1075)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 630
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C59100AE"
- width 648
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @625
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1440, 1200)
- label (object ItemLabel
- Parent_View @625
- location (1171, 1116)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @625
- location (1171, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @625
- location (1171, 1176)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 236
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"))
- width 556
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @626
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1664, 2272)
- label (object ItemLabel
- Parent_View @626
- location (1398, 2213)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @626
- location (1398, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @626
- location (1398, 2273)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 202
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 550
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamespaceConstraintCategory" @627
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 2240)
- label (object ItemLabel
- Parent_View @627
- location (45, 2154)
- fill_color 13434879
- nlines 1
- max_width 678
- justify 0
- label "XSDNamespaceConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @627
- location (45, 2104)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 678
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5EA0023"
- width 696
- height 296
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @628
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1264, 880)
- label (object ItemLabel
- Parent_View @628
- location (571, 749)
- fill_color 13434879
- nlines 1
- max_width 1386
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @628
- location (571, 809)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 1357
- compartmentItems (list Compartment
- "+ nillable : boolean"
- "<<0..*>> + disallowedSubstitutions : XSDDisallowedSubstitutions"
- "<<0..*>> + substitutionGroupExclusions : XSDSubstitutionGroupExclusions"
- "+ abstract : boolean"))
- width 1404
- height 286
- annotation 8
- autoResize TRUE)
- (object InheritView "" @629
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @628
- supplier @609
- line_style 3
- origin_attachment (681, 737)
- terminal_attachment (681, 697)
- drawSupplier @610)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @630
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @630
- location (35, 812)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @631
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 1152)
- label (object ItemLabel
- Parent_View @631
- location (2420, 1100)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @632
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @631
- supplier @612
- line_style 3
- origin_attachment (2862, 1088)
- terminal_attachment (2862, 962)
- drawSupplier @613)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @633
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1312)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @633
- location (2168, 1261)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @634
- location (2375, 1465)
- line_color 3342489
- fill_color 13434879
- supplier @633
- vertices (list Points
- (2375, 1465)
- (2375, 1375)))
- (object InheritView "" @635
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @633
- supplier @612
- line_style 3
- origin_attachment (2368, 1249)
- terminal_attachment (2368, 962)
- drawSupplier @613)
- (object InheritView "" @636
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @603
- supplier @633
- line_style 3
- origin_attachment (2818, 1512)
- terminal_attachment (2818, 1465)
- drawSupplier @634)
- (object InheritView "" @637
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @605
- supplier @633
- line_style 3
- origin_attachment (1406, 1507)
- terminal_attachment (1406, 1465)
- drawSupplier @634)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @638
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2064, 1152)
- label (object ItemLabel
- Parent_View @638
- location (1818, 1101)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @639
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @638
- supplier @612
- line_style 3
- origin_attachment (2115, 1089)
- terminal_attachment (2115, 962)
- drawSupplier @613)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @640
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1600, 528)
- label (object ItemLabel
- Parent_View @640
- location (1034, 468)
- fill_color 13434879
- nlines 1
- max_width 1132
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 1150
- height 144
- annotation 8
- autoResize TRUE)
- (object InheritView "" @641
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @640
- supplier @601
- line_style 3
- origin_attachment (1568, 456)
- terminal_attachment (1568, 362)
- drawSupplier @604)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @642
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2320, 784)
- label (object ItemLabel
- Parent_View @642
- location (2078, 703)
- fill_color 13434879
- nlines 1
- max_width 484
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 502
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @643
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 320)
- label (object ItemLabel
- Parent_View @643
- location (43, 268)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @644
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @642
- supplier @601
- line_style 3
- origin_attachment (2290, 691)
- terminal_attachment (2290, 362)
- drawSupplier @604)
- (object InheritView "" @645
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @630
- supplier @609
- line_style 3
- origin_attachment (141, 800)
- terminal_attachment (141, 697)
- drawSupplier @610)
- (object InheritView "" @646
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @609
- supplier @601
- line_style 3
- origin_attachment (372, 419)
- terminal_attachment (372, 362)
- drawSupplier @604)
- (object InheritView "" @647
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @612
- supplier @601
- line_style 3
- origin_attachment (2687, 448)
- terminal_attachment (2687, 362)
- drawSupplier @604)))
- (object ClassDiagram "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- quid "3B6C3265005F"
- title "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFixedFacet" @648
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @648
- location (32, 840)
- fill_color 13434879
- nlines 1
- max_width 320
- justify 0
- label "XSDFixedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C699E00C1"
- width 338
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @649
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @649
- location (504, 845)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @650
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1168)
- label (object ItemLabel
- Parent_View @650
- location (266, 1112)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 478
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @651
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1008, 1168)
- label (object ItemLabel
- Parent_View @651
- location (777, 1112)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 480
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @652
- location (718, 1049)
- line_color 3342489
- fill_color 13434879
- supplier @649
- vertices (list Points
- (718, 1049)
- (718, 959)))
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @653
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 928)
- label (object ItemLabel
- Parent_View @653
- location (1799, 872)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 420
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @654
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 928)
- label (object ItemLabel
- Parent_View @654
- location (1383, 872)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 388
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @655
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2032, 1104)
- label (object ItemLabel
- Parent_View @655
- location (1807, 1048)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 468
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @656
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 1104)
- label (object ItemLabel
- Parent_View @656
- location (1319, 1049)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 388
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @657
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 1376)
- label (object ItemLabel
- Parent_View @657
- location (491, 1320)
- fill_color 13434879
- nlines 1
- max_width 330
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 348
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @658
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (608, 1552)
- label (object ItemLabel
- Parent_View @658
- location (405, 1497)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 424
- height 134
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @659
- location (144, 1262)
- line_color 3342489
- fill_color 13434879
- supplier @648
- vertices (list Points
- (144, 1262)
- (144, 964)))
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @660
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1216, 1552)
- label (object ItemLabel
- Parent_View @660
- location (1007, 1497)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @661
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1376)
- label (object ItemLabel
- Parent_View @661
- location (880, 1320)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 498
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @662
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 1728)
- label (object ItemLabel
- Parent_View @662
- location (1090, 1676)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 462
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @663
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 1904)
- label (object ItemLabel
- Parent_View @663
- location (1193, 1852)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @664
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1728)
- label (object ItemLabel
- Parent_View @664
- location (282, 1676)
- fill_color 13434879
- nlines 1
- max_width 428
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 446
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @665
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1904)
- label (object ItemLabel
- Parent_View @665
- location (124, 1852)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 474
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @666
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 2112)
- label (object ItemLabel
- Parent_View @666
- location (52, 2056)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 426
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @667
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 2112)
- label (object ItemLabel
- Parent_View @667
- location (1318, 2056)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 486
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @668
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C9D03C7"
- client @650
- supplier @649
- line_style 3
- origin_attachment (394, 1100)
- terminal_attachment (394, 1049)
- drawSupplier @652)
- (object InheritView "" @669
- stereotype TRUE
- line_color 3342489
- quidu "3B6C78620045"
- client @661
- supplier @648
- line_style 3
- origin_attachment (1119, 1308)
- terminal_attachment (1119, 1262)
- drawSupplier @659)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @670
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 160)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @670
- location (174, 117)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @671
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6CA5038D"
- client @651
- supplier @649
- line_style 3
- origin_attachment (1044, 1100)
- terminal_attachment (1044, 1049)
- drawSupplier @652)
- (object InheritView "" @672
- stereotype TRUE
- line_color 3342489
- quidu "3B6C778002DF"
- client @657
- supplier @648
- line_style 3
- origin_attachment (663, 1308)
- terminal_attachment (663, 1262)
- drawSupplier @659)
- (object ClassView "Class" "Logical View::xsd::XSDOrdered" @673
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1408)
- label (object ItemLabel
- Parent_View @673
- location (1835, 1324)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDOrdered")
- stereotype (object ItemLabel
- Parent_View @673
- location (1835, 1274)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715202E4"
- width 444
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinality" @674
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1728)
- label (object ItemLabel
- Parent_View @674
- location (1835, 1669)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDCardinality")
- stereotype (object ItemLabel
- Parent_View @674
- location (1835, 1619)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715D009B"
- width 444
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpace" @675
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 2032)
- label (object ItemLabel
- Parent_View @675
- location (1861, 1951)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDWhiteSpace")
- stereotype (object ItemLabel
- Parent_View @675
- location (1861, 1901)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 406
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BEED0F60342"
- width 424
- height 287
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::Value" @676
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 2096)
- label (object ItemLabel
- Parent_View @676
- location (571, 2062)
- fill_color 13434879
- nlines 1
- max_width 618
- justify 0
- label "Value")
- stereotype (object ItemLabel
- Parent_View @676
- location (571, 2012)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 618
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C040B5B031F"
- width 636
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @677
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B610337"
- client @666
- supplier @648
- line_style 3
- origin_attachment (75, 2044)
- terminal_attachment (75, 1262)
- drawSupplier @659)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @678
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @678
- location (113, 1320)
- fill_color 13434879
- nlines 1
- max_width 286
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @678
- location (113, 1380)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 254
- compartmentItems (list Compartment
- "+ value : Value"))
- width 304
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @679
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1584, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @679
- location (1440, 1320)
- fill_color 13434879
- nlines 1
- max_width 288
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @679
- location (1440, 1380)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 258
- compartmentItems (list Compartment
- "+ value : Value"))
- width 306
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @680
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D240098"
- client @678
- supplier @648
- line_style 3
- origin_attachment (235, 1308)
- terminal_attachment (235, 1262)
- drawSupplier @659)
- (object InheritView "" @681
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D3103AD"
- client @679
- supplier @648
- line_style 3
- origin_attachment (1581, 1308)
- terminal_attachment (1581, 1262)
- drawSupplier @659)
- (object InheritView "" @682
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B520353"
- client @664
- supplier @678
- line_style 3
- origin_attachment (285, 1664)
- terminal_attachment (285, 1444))
- (object InheritView "" @683
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8303B8"
- client @662
- supplier @679
- line_style 3
- origin_attachment (1500, 1664)
- terminal_attachment (1500, 1444))
- (object InheritView "" @684
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8E0309"
- client @663
- supplier @679
- line_style 3
- origin_attachment (1622, 1840)
- terminal_attachment (1622, 1444))
- (object InheritView "" @685
- stereotype TRUE
- line_color 3342489
- quidu "3B6C77C400C0"
- client @658
- supplier @648
- line_style 3
- origin_attachment (447, 1485)
- terminal_attachment (447, 1262)
- drawSupplier @659)
- (object InheritView "" @686
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B7D00FC"
- client @660
- supplier @648
- line_style 3
- origin_attachment (1397, 1485)
- terminal_attachment (1397, 1262)
- drawSupplier @659)
- (object InheritView "" @687
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B990016"
- client @667
- supplier @648
- line_style 3
- origin_attachment (1775, 2044)
- terminal_attachment (1775, 1262)
- drawSupplier @659)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @688
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 368)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @688
- location (174, 318)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 406
- height 125
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @689
- location (366, 522)
- line_color 3342489
- fill_color 13434879
- supplier @688
- vertices (list Points
- (366, 522)
- (366, 430)))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @690
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @690
- location (34, 573)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 462
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @691
- location (272, 781)
- line_color 3342489
- fill_color 13434879
- supplier @690
- vertices (list Points
- (272, 781)
- (272, 687)))
- (object InheritView "" @692
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @649
- supplier @690
- line_style 3
- origin_attachment (594, 833)
- terminal_attachment (594, 781)
- drawSupplier @691)
- (object ClassView "Class" "Logical View::xsd::XSDFundamentalFacet" @693
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @693
- location (526, 573)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDFundamentalFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C69E801D6"
- width 470
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @694
- location (768, 789)
- line_color 3342489
- fill_color 13434879
- supplier @693
- vertices (list Points
- (768, 789)
- (768, 687)))
- (object InheritView "" @695
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7659012C"
- client @653
- supplier @693
- line_style 3
- origin_attachment (2050, 860)
- terminal_attachment (2050, 789)
- drawSupplier @694)
- (object InheritView "" @696
- stereotype TRUE
- line_color 3342489
- quidu "3B6C763C0224"
- client @654
- supplier @693
- line_style 3
- origin_attachment (1525, 860)
- terminal_attachment (1525, 789)
- drawSupplier @694)
- (object InheritView "" @697
- stereotype TRUE
- line_color 3342489
- quidu "3B6C764F0131"
- client @655
- supplier @693
- line_style 3
- origin_attachment (2237, 1036)
- terminal_attachment (2237, 789)
- drawSupplier @694)
- (object InheritView "" @698
- stereotype TRUE
- line_color 3342489
- quidu "3B6C76420074"
- client @656
- supplier @693
- line_style 3
- origin_attachment (1328, 1037)
- terminal_attachment (1328, 789)
- drawSupplier @694)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @699
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1456, 160)
- label (object ItemLabel
- Parent_View @699
- location (1137, 47)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @699
- location (1137, 107)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 598
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 656
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$126" @700
- location (775, 178)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D597102EA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$127" @701
- Parent_View @700
- location (-1209, -46)
- label (object SegLabel @702
- Parent_View @701
- location (509, 235)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750119"
- client @700
- supplier @688
- vertices (list Points
- (775, 178)
- (550, 178)
- (550, 306))
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (550, 306))
- (object RoleView "simpleTypeDefinition" @703
- Parent_View @700
- location (-1209, -46)
- label (object SegLabel @704
- Parent_View @703
- location (875, 136)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+simpleTypeDefinition"
- pctDist 0.283133
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750105"
- client @700
- supplier @699
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (1128, 178)
- label (object SegLabel @705
- Parent_View @703
- location (1061, 215)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.812500
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$188" @706
- location (369, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE0203A8"
- roleview_list (list RoleViews
- (object RoleView "facets" @707
- Parent_View @706
- location (-1615, -152)
- label (object SegLabel @708
- Parent_View @707
- location (187, 496)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+facets"
- pctDist 0.913863
- height 87
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060065"
- client @706
- supplier @690
- vertices (list Points
- (369, 72)
- (100, 72)
- (100, 561))
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (100, 561)
- label (object SegLabel @709
- Parent_View @707
- location (60, 498)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.917900
- height 41
- orientation 1))
- (object RoleView "$UNNAMED$189" @710
- Parent_View @706
- location (-1615, -152)
- label (object SegLabel @711
- Parent_View @710
- location (976, 31)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060051"
- client @706
- supplier @699
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (1128, 72))))
- (object AssociationViewNew "$UNNAMED$230" @712
- location (1538, 508)
- label (object SegLabel @713
- Parent_View @712
- location (1538, 449)
- font (object Font
- italics TRUE)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.500000
- height 60
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$231" @714
- Parent_View @712
- location (-446, 284)
- label (object SegLabel @715
- Parent_View @714
- location (1446, 340)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DF"
- client @712
- supplier @699
- vertices (list Points
- (1538, 508)
- (1487, 508)
- (1487, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1487, 285))
- (object RoleView "itemTypeDefinition" @716
- Parent_View @712
- location (-446, 284)
- label (object SegLabel @717
- Parent_View @716
- location (1423, 577)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+itemTypeDefinition"
- pctDist -2.211539
- height 69
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000E0"
- client @712
- supplier @699
- vertices (list Points
- (1538, 508)
- (1590, 508)
- (1590, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1590, 285)
- label (object SegLabel @718
- Parent_View @716
- location (1539, 468)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.003984
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$190" @719
- location (1729, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34B70208"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$191" @720
- Parent_View @719
- location (-255, 350)
- label (object SegLabel @721
- Parent_View @720
- location (1637, 353)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0258"
- client @719
- supplier @699
- vertices (list Points
- (1729, 574)
- (1678, 574)
- (1678, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1678, 285))
- (object RoleView "memberTypeDefinitions" @722
- Parent_View @719
- location (-255, 350)
- label (object SegLabel @723
- Parent_View @722
- location (1559, 654)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+memberTypeDefinitions"
- pctDist -3.269231
- height 80
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0259"
- client @719
- supplier @699
- vertices (list Points
- (1729, 574)
- (1781, 574)
- (1781, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1781, 285)
- label (object SegLabel @724
- Parent_View @722
- location (1730, 520)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.312121
- height 52
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$192" @725
- location (748, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C363201DB"
- roleview_list (list RoleViews
- (object RoleView "fundamentalFacets" @726
- Parent_View @725
- location (-1236, 45)
- label (object SegLabel @727
- Parent_View @726
- location (873, 312)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+fundamentalFacets"
- pctDist -1.409091
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350063"
- client @725
- supplier @693
- vertices (list Points
- (748, 269)
- (659, 269)
- (659, 561))
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (659, 561)
- label (object SegLabel @728
- Parent_View @726
- location (728, 385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.538028
- height 69
- orientation 0))
- (object RoleView "$UNNAMED$193" @729
- Parent_View @725
- location (-1236, 45)
- label (object SegLabel @730
- Parent_View @729
- location (1052, 228)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350059"
- client @725
- supplier @699
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (1128, 269))))
- (object AssociationViewNew "$UNNAMED$194" @731
- location (1175, 396)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$195" @732
- Parent_View @731
- location (-809, 172)
- label (object SegLabel @733
- Parent_View @732
- location (1094, 316)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @731
- supplier @699
- vertices (list Points
- (1175, 396)
- (1135, 396)
- (1135, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1135, 285))
- (object RoleView "baseTypeDefinition" @734
- Parent_View @731
- location (-809, 172)
- label (object SegLabel @735
- Parent_View @734
- location (1074, 443)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist -2.533333
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @731
- supplier @699
- vertices (list Points
- (1175, 396)
- (1215, 396)
- (1215, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1215, 285)
- label (object SegLabel @736
- Parent_View @734
- location (1172, 359)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.096154
- height 38
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$196" @737
- location (1360, 446)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5572016C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$197" @738
- Parent_View @737
- location (-624, 222)
- label (object SegLabel @739
- Parent_View @738
- location (1268, 327)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5575022F"
- client @737
- supplier @699
- vertices (list Points
- (1360, 446)
- (1309, 446)
- (1309, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1309, 285))
- (object RoleView "primitiveTypeDefinition" @740
- Parent_View @737
- location (-624, 222)
- label (object SegLabel @741
- Parent_View @740
- location (1204, 508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+primitiveTypeDefinition"
- pctDist -3.000000
- height 62
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D55750243"
- client @737
- supplier @699
- vertices (list Points
- (1360, 446)
- (1412, 446)
- (1412, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1412, 285)
- label (object SegLabel @742
- Parent_View @740
- location (1373, 409)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.062147
- height 38
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @743
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2080, 512)
- label (object ItemLabel
- Parent_View @743
- location (1917, 428)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @743
- location (1917, 378)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @743
- location (1917, 488)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 3
- max_width 202
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @744
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 176)
- label (object ItemLabel
- Parent_View @744
- location (1918, 92)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @744
- location (1918, 42)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 342
- height 292
- annotation 8
- autoResize TRUE)
- (object InheritView "" @745
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C7B0396"
- client @693
- supplier @688
- line_style 3
- origin_attachment (591, 561)
- terminal_attachment (591, 522)
- drawSupplier @689)
- (object InheritView "" @746
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @690
- supplier @688
- line_style 3
- origin_attachment (272, 561)
- terminal_attachment (272, 522)
- drawSupplier @689)
- (object InheritView "" @747
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @688
- supplier @670
- line_style 3
- origin_attachment (366, 306)
- terminal_attachment (366, 215))
- (object InheritView "" @748
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8801B4"
- client @648
- supplier @690
- line_style 3
- origin_attachment (147, 828)
- terminal_attachment (147, 781)
- drawSupplier @691)
- (object InheritView "" @749
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B590281"
- client @665
- supplier @678
- line_style 3
- origin_attachment (150, 1840)
- terminal_attachment (150, 1444))))
- (object ClassDiagram "5. Component Annotations"
- quid "3B69D68D00D2"
- title "5. Component Annotations"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @750
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 80)
- label (object ItemLabel
- Parent_View @750
- location (88, 37)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @751
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1696)
- label (object ItemLabel
- Parent_View @751
- location (82, 1653)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @752
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 1504)
- label (object ItemLabel
- Parent_View @752
- location (1626, 1461)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @753
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 304)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @753
- location (1663, 261)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @754
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1360)
- label (object ItemLabel
- Parent_View @754
- location (74, 1317)
- fill_color 13434879
- nlines 1
- max_width 588
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 606
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @755
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 704)
- label (object ItemLabel
- Parent_View @755
- location (86, 661)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @756
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 1184)
- label (object ItemLabel
- Parent_View @756
- location (74, 1141)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @757
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 544)
- label (object ItemLabel
- Parent_View @757
- location (86, 501)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @758
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 80)
- label (object ItemLabel
- Parent_View @758
- location (1068, 37)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @759
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1216)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @759
- location (1750, 1173)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @760
- location (1994, 1412)
- line_color 3342489
- fill_color 13434879
- supplier @759
- vertices (list Points
- (1994, 1412)
- (1994, 1271)))
- (object InheritView "" @761
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @752
- supplier @759
- line_style 3
- origin_attachment (2084, 1449)
- terminal_attachment (2084, 1412)
- drawSupplier @760)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @762
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @762
- location (80, 821)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @763
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @763
- location (1892, 37)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 234
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @764
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 384)
- label (object ItemLabel
- Parent_View @764
- location (84, 341)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @765
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 224)
- label (object ItemLabel
- Parent_View @765
- location (86, 181)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @766
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1792, 1712)
- label (object ItemLabel
- Parent_View @766
- location (1467, 1674)
- fill_color 13434879
- nlines 1
- max_width 651
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 669
- height 100
- annotation 8)
- (object InheritView "" @767
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @766
- supplier @759
- line_style 3
- origin_attachment (1572, 1662)
- terminal_attachment (1572, 1412)
- drawSupplier @760)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @768
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 1024)
- label (object ItemLabel
- Parent_View @768
- location (78, 981)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @769
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @769
- location (1688, 517)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @770
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1536)
- label (object ItemLabel
- Parent_View @770
- location (71, 1493)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @771
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 944)
- label (object ItemLabel
- Parent_View @771
- location (872, 685)
- fill_color 13434879
- nlines 1
- max_width 720
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 738
- height 543
- annotation 8)
- (object AssociationViewNew "$UNNAMED$132" @772
- location (865, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0183"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$133" @773
- Parent_View @772
- location (-255, 559)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D033C"
- client @772
- supplier @754
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (671, 1359))
- (object RoleView "annotation" @774
- Parent_View @772
- location (-255, 559)
- label (object SegLabel @775
- Parent_View @774
- location (798, 1321)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -1.116667
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0346"
- client @772
- supplier @771
- vertices (list Points
- (865, 1359)
- (925, 1359)
- (925, 1215))
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (925, 1215)
- label (object SegLabel @776
- Parent_View @774
- location (987, 1276)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.706422
- height 62
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$156" @777
- location (713, 709)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0F0212"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$157" @778
- Parent_View @777
- location (-407, -90)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000C9"
- client @777
- supplier @755
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (563, 709))
- (object RoleView "annotation" @779
- Parent_View @777
- location (-407, -90)
- label (object SegLabel @780
- Parent_View @779
- location (727, 667)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.095238
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000D3"
- client @777
- supplier @771
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (863, 709)
- label (object SegLabel @781
- Parent_View @779
- location (796, 753)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.553571
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$150" @782
- location (719, 1193)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB15008A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$151" @783
- Parent_View @782
- location (-401, 393)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB160096"
- client @782
- supplier @756
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (575, 1193))
- (object RoleView "annotation" @784
- Parent_View @782
- location (-401, 393)
- label (object SegLabel @785
- Parent_View @784
- location (720, 1147)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.006993
- height 47
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1600A0"
- client @782
- supplier @771
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (863, 1193)
- label (object SegLabel @786
- Parent_View @784
- location (806, 1240)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.604167
- height 47
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$110" @787
- location (785, 550)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0A0066"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$111" @788
- Parent_View @787
- location (-335, -250)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B023F"
- client @787
- supplier @757
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (563, 550))
- (object RoleView "annotation" @789
- Parent_View @787
- location (-335, -250)
- label (object SegLabel @790
- Parent_View @789
- location (779, 516)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.070707
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B0249"
- client @787
- supplier @771
- vertices (list Points
- (785, 550)
- (884, 550)
- (884, 673))
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (884, 673)
- label (object SegLabel @791
- Parent_View @789
- location (935, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.729730
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$182" @792
- location (1184, 404)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4560290"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$183" @793
- Parent_View @792
- location (-32, -412)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4570165"
- client @792
- supplier @758
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 135))
- (object RoleView "annotations" @794
- Parent_View @792
- location (-32, -412)
- label (object SegLabel @795
- Parent_View @794
- location (1324, 226)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+annotations"
- pctDist -0.665428
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E457016F"
- client @792
- supplier @771
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 673)
- label (object SegLabel @796
- Parent_View @794
- location (1251, 615)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.784387
- height 67
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$198" @797
- location (1752, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E2910158"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$199" @798
- Parent_View @797
- location (536, 218)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E292019F"
- client @797
- supplier @759
- vertices (list Points
- (1752, 1034)
- (1812, 1034)
- (1812, 1161))
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1812, 1161))
- (object RoleView "annotation" @799
- Parent_View @797
- location (536, 218)
- label (object SegLabel @800
- Parent_View @799
- location (1743, 997)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.059603
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E29201A9"
- client @797
- supplier @771
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1601, 1034)
- label (object SegLabel @801
- Parent_View @799
- location (1684, 1066)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.450331
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$200" @802
- location (1896, 881)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006CF0088"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$201" @803
- Parent_View @802
- location (621, 40)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D1015D"
- client @802
- supplier @759
- vertices (list Points
- (1896, 881)
- (1956, 881)
- (1956, 1161))
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1956, 1161))
- (object RoleView "derivationAnnotation" @804
- Parent_View @802
- location (621, 40)
- label (object SegLabel @805
- Parent_View @804
- location (1821, 842)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 390
- justify 0
- label "+derivationAnnotation"
- pctDist 0.254237
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D10167"
- client @802
- supplier @771
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1601, 881)
- label (object SegLabel @806
- Parent_View @804
- location (1689, 914)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.705085
- height 33
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$202" @807
- location (2040, 715)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB330264"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$203" @808
- Parent_View @807
- location (920, -85)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB340284"
- client @807
- supplier @759
- vertices (list Points
- (2040, 715)
- (2100, 715)
- (2100, 1161))
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (2100, 1161))
- (object RoleView "annotations" @809
- Parent_View @807
- location (920, -85)
- label (object SegLabel @810
- Parent_View @809
- location (1758, 681)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.643192
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB34028E"
- client @807
- supplier @771
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (1601, 715)
- label (object SegLabel @811
- Parent_View @809
- location (1685, 746)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.809313
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$220" @812
- location (668, 865)
- stereotype TRUE
- line_color 3342489
- quidu "3C239134004F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$221" @813
- Parent_View @812
- location (-612, 33)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600CA"
- client @812
- supplier @762
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (473, 865))
- (object RoleView "annotation" @814
- Parent_View @812
- location (-612, 33)
- label (object SegLabel @815
- Parent_View @814
- location (714, 825)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.234146
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600D4"
- client @812
- supplier @771
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (863, 865)
- label (object SegLabel @816
- Parent_View @814
- location (801, 903)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.682051
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$124" @817
- location (1472, 167)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23B901CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$125" @818
- Parent_View @817
- location (256, -649)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01C4"
- client @817
- supplier @763
- vertices (list Points
- (1472, 167)
- (1472, 72)
- (1883, 72))
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1883, 72))
- (object RoleView "annotation" @819
- Parent_View @817
- location (256, -649)
- label (object SegLabel @820
- Parent_View @819
- location (1604, 129)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.076305
- height 132
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01CE"
- client @817
- supplier @771
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1472, 673)
- label (object SegLabel @821
- Parent_View @819
- location (1419, 618)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.893574
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$74" @822
- location (927, 350)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB060291"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$75" @823
- Parent_View @822
- location (-193, -450)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070171"
- client @822
- supplier @764
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (629, 350))
- (object RoleView "annotation" @824
- Parent_View @822
- location (-193, -450)
- label (object SegLabel @825
- Parent_View @824
- location (878, 310)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.816667
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070172"
- client @822
- supplier @771
- vertices (list Points
- (927, 350)
- (987, 350)
- (987, 673))
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (987, 673)
- label (object SegLabel @826
- Parent_View @824
- location (1037, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.843342
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$66" @827
- location (1027, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADC02F5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$67" @828
- Parent_View @827
- location (-93, -578)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0238"
- client @827
- supplier @765
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (563, 222))
- (object RoleView "annotation" @829
- Parent_View @827
- location (-93, -578)
- label (object SegLabel @830
- Parent_View @829
- location (1003, 188)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.406250
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0242"
- client @827
- supplier @771
- vertices (list Points
- (1027, 222)
- (1087, 222)
- (1087, 673))
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (1087, 673)
- label (object SegLabel @831
- Parent_View @829
- location (1137, 613)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 100
- justify 0
- label "0..1"
- pctDist 0.882583
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$90" @832
- location (1494, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068801C2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$91" @833
- Parent_View @832
- location (214, 590)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A0111"
- client @832
- supplier @766
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1662))
- (object RoleView "contentAnnotation" @834
- Parent_View @832
- location (214, 590)
- label (object SegLabel @835
- Parent_View @834
- location (1696, 1356)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+contentAnnotation"
- pctDist 0.367713
- height 202
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A011B"
- client @832
- supplier @771
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1215)
- label (object SegLabel @836
- Parent_View @834
- location (1443, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.713004
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$144" @837
- location (637, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1702C8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$145" @838
- Parent_View @837
- location (-483, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1803E2"
- client @837
- supplier @768
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (411, 1022))
- (object RoleView "annotation" @839
- Parent_View @837
- location (-483, 222)
- label (object SegLabel @840
- Parent_View @839
- location (710, 979)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.328889
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB190004"
- client @837
- supplier @771
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (863, 1022)
- label (object SegLabel @841
- Parent_View @839
- location (802, 1062)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.730088
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$64" @842
- location (1581, 607)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA70102"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$65" @843
- Parent_View @842
- location (301, -225)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90191"
- client @842
- supplier @769
- vertices (list Points
- (1581, 607)
- (1581, 547)
- (1679, 547))
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1679, 547))
- (object RoleView "annotations" @844
- Parent_View @842
- location (301, -225)
- label (object SegLabel @845
- Parent_View @844
- location (1669, 462)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist -2.196970
- height 88
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90192"
- client @842
- supplier @771
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1581, 673)
- label (object SegLabel @846
- Parent_View @844
- location (1539, 620)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.196970
- height 42
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$204" @847
- location (849, 1496)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB11026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$205" @848
- Parent_View @847
- location (-271, 696)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1201F9"
- client @847
- supplier @770
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (354, 1496))
- (object RoleView "annotation" @849
- Parent_View @847
- location (-271, 696)
- label (object SegLabel @850
- Parent_View @849
- location (942, 1464)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.188259
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB120203"
- client @847
- supplier @771
- vertices (list Points
- (849, 1496)
- (1062, 1496)
- (1062, 1215))
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (1062, 1215)
- label (object SegLabel @851
- Parent_View @849
- location (1115, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.872690
- height 53
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$206" @852
- location (952, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB30005"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$207" @853
- Parent_View @852
- location (-328, 733)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40327"
- client @852
- supplier @770
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (354, 1565))
- (object RoleView "annotations" @854
- Parent_View @852
- location (-328, 733)
- label (object SegLabel @855
- Parent_View @854
- location (1075, 1538)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.204959
- height 28
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40332"
- client @852
- supplier @771
- vertices (list Points
- (952, 1565)
- (1200, 1565)
- (1200, 1215))
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (1200, 1215)
- label (object SegLabel @856
- Parent_View @854
- location (1254, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))
- (object InheritView "" @857
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @753
- supplier @763
- line_style 3
- origin_attachment (1984, 249)
- terminal_attachment (1984, 135))
- (object InheritView "" @858
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @769
- supplier @753
- line_style 3
- origin_attachment (1997, 505)
- terminal_attachment (1997, 359))))
- (object ClassDiagram "6. Concrete Components"
- quid "3B6AD74D03C4"
- title "6. Concrete Components"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @859
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @859
- location (126, 373)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @860
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @860
- location (568, 373)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @861
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @861
- location (991, 629)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @862
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @862
- location (1156, 373)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @863
- location (1360, 561)
- line_color 3342489
- fill_color 13434879
- supplier @862
- vertices (list Points
- (1360, 561)
- (1360, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDInclude" @864
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1632, 1200)
- label (object ItemLabel
- Parent_View @864
- location (1512, 1157)
- fill_color 13434879
- nlines 1
- max_width 240
- justify 0
- label "XSDInclude")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C7D0250"
- width 258
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @865
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 944)
- label (object ItemLabel
- Parent_View @865
- location (1294, 901)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @866
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1200)
- label (object ItemLabel
- Parent_View @866
- location (1805, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @867
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (800, 1200)
- label (object ItemLabel
- Parent_View @867
- location (375, 1153)
- fill_color 13434879
- nlines 1
- max_width 851
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 869
- height 119
- annotation 8)
- (object AssociationViewNew "$UNNAMED$142" @868
- location (1368, 1206)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC5007E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$143" @869
- Parent_View @868
- location (1160, 406)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006B"
- client @868
- supplier @864
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1503, 1206))
- (object RoleView "annotation" @870
- Parent_View @868
- location (1160, 406)
- label (object SegLabel @871
- Parent_View @870
- location (1347, 1154)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.154412
- height 53
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006C"
- client @868
- supplier @867
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1234, 1206)
- label (object SegLabel @872
- Parent_View @870
- location (1300, 1253)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 107
- justify 0
- label "0..1"
- pctDist 0.514706
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$140" @873
- location (1168, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD802FC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$141" @874
- Parent_View @873
- location (960, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018B"
- client @873
- supplier @865
- vertices (list Points
- (1168, 1022)
- (1168, 962)
- (1285, 962))
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1285, 962))
- (object RoleView "annotation" @875
- Parent_View @873
- location (960, 222)
- label (object SegLabel @876
- Parent_View @875
- location (1290, 1075)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.445378
- height 122
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018C"
- client @873
- supplier @867
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1168, 1141)
- label (object SegLabel @877
- Parent_View @875
- location (1127, 1074)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.436975
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$162" @878
- location (1563, 1353)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE42009A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$163" @879
- Parent_View @878
- location (1355, 553)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE4302FE"
- client @878
- supplier @866
- vertices (list Points
- (1563, 1353)
- (1940, 1353)
- (1940, 1255))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1940, 1255))
- (object RoleView "annotations" @880
- Parent_View @878
- location (1355, 553)
- label (object SegLabel @881
- Parent_View @880
- location (1317, 1322)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.516807
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE430308"
- client @878
- supplier @867
- vertices (list Points
- (1563, 1353)
- (1181, 1353)
- (1181, 1259))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1181, 1259)
- label (object SegLabel @882
- Parent_View @880
- location (1130, 1326)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.861345
- height 52
- orientation 0))))
- (object InheritTreeView "" @883
- location (288, 561)
- line_color 3342489
- fill_color 13434879
- supplier @859
- vertices (list Points
- (288, 561)
- (288, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @884
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @884
- location (460, 629)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @885
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1856, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @885
- location (1658, 373)
- fill_color 13434879
- nlines 1
- max_width 396
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 414
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @886
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 960)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @886
- location (450, 917)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @887
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (224, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @887
- location (110, 629)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @888
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @887
- supplier @859
- line_style 3
- origin_attachment (221, 617)
- terminal_attachment (221, 561)
- drawSupplier @883)
- (object InheritView "" @889
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @884
- supplier @859
- line_style 3
- origin_attachment (589, 617)
- terminal_attachment (589, 561)
- drawSupplier @883)
- (object InheritView "" @890
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @861
- supplier @862
- line_style 3
- origin_attachment (1016, 617)
- terminal_attachment (1016, 561)
- drawSupplier @863)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @891
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @891
- location (1590, 901)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 486
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @892
- location (1824, 1089)
- line_color 3342489
- fill_color 13434879
- supplier @891
- vertices (list Points
- (1824, 1089)
- (1824, 999)))
- (object InheritView "" @893
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8DC0381"
- client @864
- supplier @891
- line_style 3
- origin_attachment (1666, 1145)
- terminal_attachment (1666, 1089)
- drawSupplier @892)
- (object InheritView "" @894
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @866
- supplier @891
- line_style 3
- origin_attachment (1934, 1145)
- terminal_attachment (1934, 1089)
- drawSupplier @892)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @895
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @895
- location (1630, 629)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 438
- height 110
- annotation 8)
- (object InheritTreeView "" @896
- location (1762, 819)
- line_color 3342489
- fill_color 13434879
- supplier @895
- vertices (list Points
- (1762, 819)
- (1762, 727)))
- (object InheritView "" @897
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @865
- supplier @895
- line_style 3
- origin_attachment (1416, 889)
- terminal_attachment (1416, 819)
- drawSupplier @896)
- (object InheritView "" @898
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @895
- supplier @862
- line_style 3
- origin_attachment (1756, 617)
- terminal_attachment (1756, 561)
- drawSupplier @863)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @899
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1120, 144)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @899
- location (875, 101)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 508
- height 110
- annotation 8)
- (object InheritTreeView "" @900
- location (1120, 289)
- line_color 3342489
- fill_color 13434879
- supplier @899
- vertices (list Points
- (1120, 289)
- (1120, 199)))
- (object AssociationViewNew "$UNNAMED$104" @901
- location (1485, 215)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0803C7"
- roleview_list (list RoleViews
- (object RoleView "container" @902
- Parent_View @901
- location (989, 103)
- label (object SegLabel @903
- Parent_View @902
- location (1604, 210)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+container"
- pctDist 0.033113
- height 119
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CE"
- client @901
- supplier @899
- vertices (list Points
- (1485, 215)
- (1485, 176)
- (1374, 176))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1374, 176)
- label (object SegLabel @904
- Parent_View @902
- location (1435, 226)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 69
- justify 0
- label "0..1"
- pctDist 0.602649
- height 50
- orientation 0))
- (object RoleView "$UNNAMED$105" @905
- Parent_View @901
- location (989, 103)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CF"
- client @901
- supplier @899
- vertices (list Points
- (1485, 215)
- (1485, 254)
- (1345, 254)
- (1345, 199))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1345, 199))))
- (object AssociationViewNew "$UNNAMED$106" @906
- location (773, 216)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B480261"
- roleview_list (list RoleViews
- (object RoleView "rootContainer" @907
- Parent_View @906
- location (53, 104)
- label (object SegLabel @908
- Parent_View @907
- location (614, 217)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+rootContainer"
- pctDist -0.025000
- height 160
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0285"
- client @906
- supplier @899
- vertices (list Points
- (773, 216)
- (773, 176)
- (866, 176))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (866, 176)
- label (object SegLabel @909
- Parent_View @907
- location (800, 228)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.300000
- height 27
- orientation 1))
- (object RoleView "$UNNAMED$107" @910
- Parent_View @906
- location (53, 104)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0286"
- client @906
- supplier @899
- vertices (list Points
- (773, 216)
- (773, 257)
- (895, 257)
- (895, 199))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (895, 199))))
- (object InheritView "" @911
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @862
- supplier @899
- line_style 3
- origin_attachment (1367, 361)
- terminal_attachment (1367, 289)
- drawSupplier @900)
- (object InheritView "" @912
- stereotype TRUE
- line_color 3342489
- quidu "3B72D8E200EA"
- client @860
- supplier @899
- line_style 3
- origin_attachment (752, 361)
- terminal_attachment (752, 289)
- drawSupplier @900)
- (object InheritView "" @913
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @859
- supplier @899
- line_style 3
- origin_attachment (299, 361)
- terminal_attachment (299, 289)
- drawSupplier @900)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @914
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 1200)
- label (object ItemLabel
- Parent_View @914
- location (61, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @915
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @914
- supplier @887
- line_style 3
- origin_attachment (216, 1145)
- terminal_attachment (216, 727))
- (object AssociationViewNew "$UNNAMED$218" @916
- location (1382, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$219" @917
- Parent_View @916
- location (1190, 225)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @916
- supplier @891
- vertices (list Points
- (1382, 1425)
- (2147, 1425)
- (2147, 943)
- (2067, 943))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (2067, 943))
- (object RoleView "incorporatedSchema" @918
- Parent_View @916
- location (1190, 225)
- label (object SegLabel @919
- Parent_View @918
- location (445, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.706546
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @916
- supplier @914
- vertices (list Points
- (1382, 1425)
- (225, 1425)
- (225, 1255))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (225, 1255)
- label (object SegLabel @920
- Parent_View @918
- location (183, 1392)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.896915
- height 43
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$216" @921
- location (1505, 1503)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$217" @922
- Parent_View @921
- location (1313, 303)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @921
- supplier @895
- vertices (list Points
- (1505, 1503)
- (2188, 1503)
- (2188, 675)
- (2059, 675))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (2059, 675))
- (object RoleView "resolvedSchema" @923
- Parent_View @921
- location (1313, 303)
- label (object SegLabel @924
- Parent_View @923
- location (303, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.733333
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @921
- supplier @914
- vertices (list Points
- (1505, 1503)
- (113, 1503)
- (113, 1255))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (113, 1255)
- label (object SegLabel @925
- Parent_View @923
- location (73, 1472)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.867683
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$108" @926
- location (66, 244)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C310356"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$109" @927
- Parent_View @926
- location (-94, -444)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C330331"
- client @926
- supplier @899
- vertices (list Points
- (66, 244)
- (66, 144)
- (866, 144))
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (866, 144))
- (object RoleView "schema" @928
- Parent_View @926
- location (-94, -444)
- label (object SegLabel @929
- Parent_View @928
- location (165, 93)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist -0.168113
- height 99
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C33033B"
- client @926
- supplier @914
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (66, 1145)
- label (object SegLabel @930
- Parent_View @928
- location (136, 184)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 113
- justify 0
- label "0..1"
- pctDist -0.066593
- height 70
- orientation 0))))
- (object InheritView "" @931
- stereotype TRUE
- line_color 3342489
- quidu "3B780BD90059"
- client @885
- supplier @899
- line_style 3
- origin_attachment (1759, 361)
- terminal_attachment (1759, 289)
- drawSupplier @900)
- (object InheritView "" @932
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @867
- supplier @859
- line_style 3
- origin_attachment (400, 1141)
- terminal_attachment (400, 561)
- drawSupplier @883)
- (object InheritTreeView "" @933
- location (1012, 837)
- line_color 3342489
- fill_color 13434879
- supplier @861
- vertices (list Points
- (1012, 837)
- (1012, 727)))
- (object InheritView "" @934
- stereotype (object SegLabel @935
- Parent_View @934
- location (1071, 871)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.888158
- height 34
- orientation 1)
- line_color 3342489
- quidu "3B7FD4E20366"
- client @867
- supplier @861
- line_style 3
- origin_attachment (1037, 1141)
- terminal_attachment (1037, 837)
- drawSupplier @933)
- (object InheritView "" @936
- stereotype (object SegLabel @937
- Parent_View @936
- location (890, 865)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 263
- justify 0
- label "<<mixin>>"
- pctDist 0.581633
- height 36
- orientation 0)
- line_color 3342489
- quidu "3B7FD4BA023C"
- client @886
- supplier @861
- line_style 3
- origin_attachment (925, 905)
- terminal_attachment (925, 837)
- drawSupplier @933)
- (object InheritView "" @938
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @891
- supplier @895
- line_style 3
- origin_attachment (1828, 889)
- terminal_attachment (1828, 819)
- drawSupplier @896)))
- (object ClassDiagram "7. Concrete Attributes"
- quid "3B9F8F7602C7"
- title "7. Concrete Attributes"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @939
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @939
- location (1938, 1359)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @939
- location (1938, 1419)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 382
- compartmentItems (list Compartment
- "+ form : XSDForm"
- "+ lexicalValue : String"))
- width 430
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDForm" @940
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2560, 1424)
- label (object ItemLabel
- Parent_View @940
- location (2398, 1365)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDForm")
- stereotype (object ItemLabel
- Parent_View @940
- location (2398, 1315)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B9F913B01EB"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @941
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 96)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @941
- location (40, 37)
- fill_color 13434879
- nlines 1
- max_width 657
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- compartment (object Compartment
- Parent_View @941
- location (40, 97)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 446
- compartmentItems (list Compartment
- "+ element : DOMElement"))
- width 675
- height 143
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @942
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @942
- location (687, 333)
- fill_color 13434879
- nlines 1
- max_width 322
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 340
- height 126
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @943
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @943
- location (1678, 892)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 470
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @944
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 1408)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @944
- location (1328, 1356)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @945
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (864, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @945
- location (745, 573)
- fill_color 13434879
- nlines 1
- max_width 238
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 256
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @946
- location (850, 537)
- line_color 3342489
- fill_color 13434879
- supplier @942
- vertices (list Points
- (850, 537)
- (850, 447)))
- (object ClassView "Class" "Logical View::xsd::DOMElement" @947
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1248, 128)
- label (object ItemLabel
- Parent_View @947
- location (873, 90)
- fill_color 13434879
- nlines 1
- max_width 751
- justify 0
- label "DOMElement")
- stereotype (object ItemLabel
- Parent_View @947
- location (873, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 751
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3B8189790200"
- width 769
- height 200
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @948
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 640)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @948
- location (41, 584)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 512
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @949
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @949
- location (38, 333)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 422
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @950
- location (368, 263)
- line_color 3342489
- fill_color 13434879
- supplier @941
- vertices (list Points
- (368, 263)
- (368, 167)))
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @951
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (992, 1456)
- label (object ItemLabel
- Parent_View @951
- location (723, 1347)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @951
- location (723, 1297)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @951
- location (723, 1407)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 225
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"
- "+ all"))
- width 556
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @952
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (880, 1792)
- label (object ItemLabel
- Parent_View @952
- location (614, 1708)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @952
- location (614, 1658)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @952
- location (614, 1768)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 198
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"
- "+ all"))
- width 550
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @953
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 2096)
- label (object ItemLabel
- Parent_View @953
- location (532, 2040)
- fill_color 13434879
- nlines 1
- max_width 760
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @953
- location (532, 2100)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 723
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDSimpleFinal"))
- width 778
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @954
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @954
- location (45, 1875)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @954
- location (45, 1825)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- width 344
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @955
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2544, 2016)
- label (object ItemLabel
- Parent_View @955
- location (2362, 1932)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @955
- location (2362, 1882)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- width 382
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @956
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1360)
- label (object ItemLabel
- Parent_View @956
- location (41, 1279)
- fill_color 13434879
- nlines 1
- max_width 622
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @956
- location (41, 1339)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 588
- compartmentItems (list Compartment
- "+ use : XSDAttributeUseCategory"
- "+ lexicalValue : String"))
- width 640
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUseCategory" @957
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1632)
- label (object ItemLabel
- Parent_View @957
- location (41, 1548)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDAttributeUseCategory")
- stereotype (object ItemLabel
- Parent_View @957
- location (41, 1498)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 494
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BA7B0E801A8"
- width 512
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @958
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2608, 928)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @958
- location (2498, 881)
- fill_color 13434879
- nlines 1
- max_width 220
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 238
- height 119
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @959
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2240, 1712)
- label (object ItemLabel
- Parent_View @959
- location (1757, 1631)
- fill_color 13434879
- nlines 1
- max_width 966
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @959
- location (1757, 1691)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 934
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDProhibitedSubstitutions"
- "<<0..*>> + block : XSDDisallowedSubstitutions"))
- width 984
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @960
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 1152)
- label (object ItemLabel
- Parent_View @960
- location (1828, 1096)
- fill_color 13434879
- nlines 1
- max_width 888
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @960
- location (1828, 1156)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 852
- compartmentItems (list Compartment
- "<<0..*>> + lexicalNamespaceConstraint : String"))
- width 906
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @961
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1008)
- label (object ItemLabel
- Parent_View @961
- location (622, 777)
- fill_color 13434879
- nlines 1
- max_width 996
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 1014
- height 486
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @962
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 960)
- label (object ItemLabel
- Parent_View @962
- location (37, 904)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 424
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @963
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1344, 656)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @963
- location (1138, 600)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @963
- location (1138, 660)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 378
- compartmentItems (list Compartment
- "+ lexicalValue : String"))
- width 430
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @964
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @964
- location (1410, 1942)
- fill_color 13434879
- nlines 1
- max_width 860
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @964
- location (1410, 2002)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 822
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDComplexFinal"
- "<<0..*>> + block : XSDProhibitedSubstitutions"
- "+ mixed : boolean"))
- width 878
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @965
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1488, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @965
- location (1304, 1644)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @966
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @965
- supplier @944
- line_style 3
- origin_attachment (1506, 1632)
- terminal_attachment (1506, 1472))
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @967
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2208, 704)
- label (object ItemLabel
- Parent_View @967
- location (1758, 598)
- fill_color 13434879
- nlines 1
- max_width 900
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 918
- height 236
- annotation 8
- autoResize TRUE)
- (object InheritView "" @968
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @958
- supplier @942
- line_style 3
- origin_attachment (2696, 869)
- terminal_attachment (2696, 537)
- drawSupplier @946)
- (object InheritView "" @969
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @959
- supplier @939
- line_style 3
- origin_attachment (2094, 1619)
- terminal_attachment (2094, 1533))
- (object InheritTreeView "" @970
- location (1487, 1856)
- line_color 3342489
- fill_color 13434879
- supplier @965
- vertices (list Points
- (1487, 1856)
- (1487, 1760)))
- (object ClassView "Class" "Logical View::xsd::DOMAttr" @971
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2400, 384)
- label (object ItemLabel
- Parent_View @971
- location (2080, 350)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "DOMAttr")
- stereotype (object ItemLabel
- Parent_View @971
- location (2080, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 640
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BBF8C8901B6"
- width 658
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @972
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @964
- supplier @965
- line_style 3
- origin_attachment (1734, 1930)
- terminal_attachment (1734, 1856)
- drawSupplier @970)
- (object InheritView "" @973
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @963
- supplier @942
- line_style 3
- origin_attachment (1328, 588)
- terminal_attachment (1328, 537)
- drawSupplier @946)
- (object InheritView "" @974
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @967
- supplier @942
- line_style 3
- origin_attachment (2190, 586)
- terminal_attachment (2190, 537)
- drawSupplier @946)
- (object InheritView "" @975
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @948
- supplier @949
- line_style 3
- origin_attachment (222, 572)
- terminal_attachment (222, 447))
- (object InheritView "" @976
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @949
- supplier @941
- line_style 3
- origin_attachment (260, 321)
- terminal_attachment (260, 263)
- drawSupplier @950)
- (object InheritView "" @977
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @962
- supplier @948
- line_style 3
- origin_attachment (223, 892)
- terminal_attachment (223, 708))
- (object InheritView "" @978
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @960
- supplier @958
- line_style 3
- origin_attachment (2600, 1084)
- terminal_attachment (2600, 987))
- (object ClassView "Class" "Logical View::xsd::DOMDocument" @979
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2336, 128)
- label (object ItemLabel
- Parent_View @979
- location (1957, 94)
- fill_color 13434879
- nlines 1
- max_width 758
- justify 0
- label "DOMDocument")
- stereotype (object ItemLabel
- Parent_View @979
- location (1957, 44)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 758
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C27850E0381"
- width 776
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @980
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @942
- supplier @941
- line_style 3
- origin_attachment (856, 321)
- terminal_attachment (856, 263)
- drawSupplier @950)
- (object ClassView "Class" "Logical View::xsd::DOMNode" @981
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 384)
- label (object ItemLabel
- Parent_View @981
- location (1234, 350)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @981
- location (1234, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @982
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @945
- supplier @942
- line_style 3
- origin_attachment (850, 561)
- terminal_attachment (850, 537)
- drawSupplier @946)
- (object InheritView "" @983
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @956
- supplier @942
- line_style 3
- origin_attachment (575, 1267)
- terminal_attachment (575, 537)
- drawSupplier @946)
- (object InheritView "" @984
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @943
- supplier @942
- line_style 3
- origin_attachment (1694, 880)
- terminal_attachment (1694, 537)
- drawSupplier @946)
- (object InheritView "" @985
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @961
- supplier @945
- line_style 3
- origin_attachment (856, 765)
- terminal_attachment (856, 687))
- (object InheritTreeView "" @986
- location (1703, 1290)
- line_color 3342489
- fill_color 13434879
- supplier @943
- vertices (list Points
- (1703, 1290)
- (1703, 1008)))
- (object InheritView "" @987
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @944
- supplier @943
- line_style 3
- origin_attachment (1503, 1344)
- terminal_attachment (1503, 1290)
- drawSupplier @986)
- (object InheritView "" @988
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @939
- supplier @943
- line_style 3
- origin_attachment (2093, 1347)
- terminal_attachment (2093, 1290)
- drawSupplier @986)
- (object InheritView "" @989
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @953
- supplier @965
- line_style 3
- origin_attachment (1253, 2028)
- terminal_attachment (1253, 1856)
- drawSupplier @970)))
- (object ClassDiagram "8. Concrete Containment"
- quid "3B6A8097027A"
- title "8. Concrete Containment"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @990
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2672, 992)
- label (object ItemLabel
- Parent_View @990
- location (2439, 949)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @991
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2640, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @991
- location (2431, 533)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @992
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 784)
- label (object ItemLabel
- Parent_View @992
- location (2013, 741)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @993
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @993
- location (1854, 533)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 438
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @994
- location (1943, 868)
- line_color 3342489
- fill_color 13434879
- supplier @993
- vertices (list Points
- (1943, 868)
- (1943, 631)))
- (object AssociationViewNew "$UNNAMED$164" @995
- location (2125, 680)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE8240051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$165" @996
- Parent_View @995
- location (157, 344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602AD"
- client @995
- supplier @992
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 729))
- (object RoleView "contents" @997
- Parent_View @995
- location (157, 344)
- label (object SegLabel @998
- Parent_View @997
- location (2255, 671)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.175439
- height 130
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602B7"
- client @995
- supplier @993
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 631)
- label (object SegLabel @999
- Parent_View @997
- location (2067, 671)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.175439
- height 59
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @1000
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1000
- location (148, 277)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @1001
- location (272, 465)
- line_color 3342489
- fill_color 13434879
- supplier @1000
- vertices (list Points
- (272, 465)
- (272, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1002
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1168)
- label (object ItemLabel
- Parent_View @1002
- location (2372, 1121)
- fill_color 13434879
- nlines 1
- max_width 569
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 587
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @1003
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 576)
- label (object ItemLabel
- Parent_View @1003
- location (89, 533)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$152" @1004
- location (1170, 1356)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "modelGroup" @1005
- Parent_View @1004
- location (866, -20)
- label (object SegLabel @1006
- Parent_View @1005
- location (269, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.534044
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @1004
- supplier @1003
- vertices (list Points
- (1170, 1356)
- (206, 1356)
- (206, 631))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (206, 631)
- label (object SegLabel @1007
- Parent_View @1005
- location (226, 1322)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.559146
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$153" @1008
- Parent_View @1004
- location (866, -20)
- label (object SegLabel @1009
- Parent_View @1008
- location (2521, 1398)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @1004
- supplier @1002
- vertices (list Points
- (1170, 1356)
- (2731, 1356)
- (2731, 1227))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (2731, 1227))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1010
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (160, 1696)
- label (object ItemLabel
- Parent_View @1010
- location (35, 1653)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$146" @1011
- location (122, 1136)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB102F8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$147" @1012
- Parent_View @1011
- location (-630, -256)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB6001B"
- client @1011
- supplier @1003
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 631))
- (object RoleView "contents" @1013
- Parent_View @1011
- location (-630, -256)
- label (object SegLabel @1014
- Parent_View @1013
- location (223, 1515)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.750495
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB60025"
- client @1011
- supplier @1010
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 1641)
- label (object SegLabel @1015
- Parent_View @1013
- location (180, 1581)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.881188
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @1016
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1016
- location (41, 42)
- fill_color 13434879
- nlines 1
- max_width 495
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 513
- height 100
- annotation 8)
- (object AssociationViewNew "$UNNAMED$158" @1017
- location (47, 885)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B47150119"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$159" @1018
- Parent_View @1017
- location (-289, 821)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03AB"
- client @1017
- supplier @1010
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 1641))
- (object RoleView "content" @1019
- Parent_View @1017
- location (-289, 821)
- label (object SegLabel @1020
- Parent_View @1019
- location (142, 189)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.921854
- height 95
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03B5"
- client @1017
- supplier @1016
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 130)
- label (object SegLabel @1021
- Parent_View @1019
- location (28, 192)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.917881
- height 19
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @1022
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 896)
- label (object ItemLabel
- Parent_View @1022
- location (1252, 849)
- fill_color 13434879
- nlines 1
- max_width 345
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 363
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1023
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1408, 1168)
- label (object ItemLabel
- Parent_View @1023
- location (1175, 1125)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$88" @1024
- location (1319, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DE9018A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$89" @1025
- Parent_View @1024
- location (-57, -102)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA036C"
- client @1024
- supplier @1022
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 955))
- (object RoleView "content" @1026
- Parent_View @1024
- location (-57, -102)
- label (object SegLabel @1027
- Parent_View @1026
- location (1439, 1039)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.073171
- height 120
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA0380"
- client @1024
- supplier @1023
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 1113)
- label (object SegLabel @1028
- Parent_View @1026
- location (1279, 1031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.040816
- height 41
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @1029
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1029
- location (1855, 1653)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1030
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1696)
- label (object ItemLabel
- Parent_View @1030
- location (1035, 1653)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$184" @1031
- location (1351, 1840)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA50112"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$185" @1032
- Parent_View @1031
- location (-297, 224)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703B4"
- client @1031
- supplier @1030
- vertices (list Points
- (1351, 1840)
- (1294, 1840)
- (1294, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1294, 1751))
- (object RoleView "contents" @1033
- Parent_View @1031
- location (-297, 224)
- label (object SegLabel @1034
- Parent_View @1033
- location (1517, 1806)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.632653
- height 108
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703C8"
- client @1031
- supplier @1030
- vertices (list Points
- (1351, 1840)
- (1409, 1840)
- (1409, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1409, 1751)
- label (object SegLabel @1035
- Parent_View @1033
- location (1361, 1801)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.072848
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$68" @1036
- location (1190, 1432)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6006F"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1037
- Parent_View @1036
- location (774, -1832)
- label (object SegLabel @1038
- Parent_View @1037
- location (1462, 1525)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.444976
- height 272
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D60318"
- client @1036
- supplier @1030
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1641)
- label (object SegLabel @1039
- Parent_View @1037
- location (1143, 1527)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.454545
- height 47
- orientation 1))
- (object RoleView "$UNNAMED$69" @1040
- Parent_View @1036
- location (774, -1832)
- label (object SegLabel @1041
- Parent_View @1040
- location (1149, 1266)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6030E"
- client @1036
- supplier @1023
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1223))))
- (object AssociationViewNew "$UNNAMED$186" @1042
- location (1690, 1684)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AD0374"
- roleview_list (list RoleViews
- (object RoleView "facetContents" @1043
- Parent_View @1042
- location (-326, -12)
- label (object SegLabel @1044
- Parent_View @1043
- location (1695, 1731)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+facetContents"
- pctDist 0.032051
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0010"
- client @1042
- supplier @1029
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1846, 1684)
- label (object SegLabel @1045
- Parent_View @1043
- location (1756, 1644)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 94
- justify 0
- label "0..*"
- pctDist 0.420732
- height 41
- orientation 0))
- (object RoleView "$UNNAMED$187" @1046
- Parent_View @1042
- location (-326, -12)
- label (object SegLabel @1047
- Parent_View @1046
- location (1566, 1643)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0006"
- client @1042
- supplier @1030
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1534, 1684))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1048
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2624, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1048
- location (2388, 741)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @1049
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1049
- location (1108, 277)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1050
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 320)
- label (object ItemLabel
- Parent_View @1050
- location (557, 277)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$166" @1051
- location (963, 319)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6B003D"
- roleview_list (list RoleViews
- (object RoleView "contents" @1052
- Parent_View @1051
- location (595, -17)
- label (object SegLabel @1053
- Parent_View @1052
- location (974, 361)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.081081
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0111"
- client @1051
- supplier @1049
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (1099, 319)
- label (object SegLabel @1054
- Parent_View @1052
- location (1016, 290)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.396396
- height 30
- orientation 0))
- (object RoleView "$UNNAMED$167" @1055
- Parent_View @1051
- location (595, -17)
- label (object SegLabel @1056
- Parent_View @1055
- location (855, 361)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0107"
- client @1051
- supplier @1050
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (828, 319))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1057
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2160, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1057
- location (1974, 949)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object InheritTreeView "" @1058
- location (2322, 1593)
- line_color 3342489
- fill_color 13434879
- supplier @1057
- vertices (list Points
- (2322, 1593)
- (2322, 1047)))
- (object InheritView "" @1059
- stereotype (object SegLabel @1060
- Parent_View @1059
- location (2146, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.460000
- height 5
- orientation 0)
- line_color 3342489
- quidu "3B6AE2F5013A"
- client @1057
- supplier @993
- line_style 3
- origin_attachment (2150, 937)
- terminal_attachment (2150, 868)
- drawSupplier @994)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1061
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 576)
- label (object ItemLabel
- Parent_View @1061
- location (510, 532)
- fill_color 13434879
- nlines 1
- max_width 644
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 662
- height 112
- annotation 8)
- (object AssociationViewNew "$UNNAMED$112" @1062
- location (1498, 1431)
- stereotype TRUE
- line_color 3342489
- quidu "3B68911401AF"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1063
- Parent_View @1062
- location (1038, -1810)
- label (object SegLabel @1064
- Parent_View @1063
- location (2027, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.454389
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150017"
- client @1062
- supplier @1057
- vertices (list Points
- (1498, 1431)
- (2281, 1431)
- (2281, 1047))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (2281, 1047)
- label (object SegLabel @1065
- Parent_View @1063
- location (2204, 1397)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.605419
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$113" @1066
- Parent_View @1062
- location (1038, -1810)
- label (object SegLabel @1067
- Parent_View @1066
- location (1090, 866)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150016"
- client @1062
- supplier @1061
- vertices (list Points
- (1498, 1431)
- (1131, 1431)
- (1131, 632))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (1131, 632))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @1068
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 1168)
- label (object ItemLabel
- Parent_View @1068
- location (655, 1125)
- fill_color 13434879
- nlines 1
- max_width 386
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 404
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @1069
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 896)
- label (object ItemLabel
- Parent_View @1069
- location (505, 853)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$116" @1070
- location (534, 736)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "identityConstraintDefinitions" @1071
- Parent_View @1070
- location (86, -2144)
- label (object SegLabel @1072
- Parent_View @1071
- location (820, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 550
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.111111
- height 286
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @1070
- supplier @1069
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 841)
- label (object SegLabel @1073
- Parent_View @1071
- location (595, 807)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.675926
- height 61
- orientation 0))
- (object RoleView "$UNNAMED$117" @1074
- Parent_View @1070
- location (86, -2144)
- label (object SegLabel @1075
- Parent_View @1074
- location (576, 653)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @1070
- supplier @1061
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 632))))
- (object AssociationViewNew "$UNNAMED$136" @1076
- location (900, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "selector" @1077
- Parent_View @1076
- location (84, 120)
- label (object SegLabel @1078
- Parent_View @1077
- location (1013, 1042)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.123288
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @1076
- supplier @1068
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 1113)
- label (object SegLabel @1079
- Parent_View @1077
- location (859, 1040)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.095890
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$137" @1080
- Parent_View @1076
- location (84, 120)
- label (object SegLabel @1081
- Parent_View @1080
- location (859, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @1076
- supplier @1069
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 951))))
- (object AssociationViewNew "$UNNAMED$138" @1082
- location (700, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "fields" @1083
- Parent_View @1082
- location (-116, 120)
- label (object SegLabel @1084
- Parent_View @1083
- location (616, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.054795
- height 85
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @1082
- supplier @1068
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 1113)
- label (object SegLabel @1085
- Parent_View @1083
- location (771, 1042)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.123077
- height 71
- orientation 0))
- (object RoleView "$UNNAMED$139" @1086
- Parent_View @1082
- location (-116, 120)
- label (object SegLabel @1087
- Parent_View @1086
- location (659, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @1082
- supplier @1069
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 951))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @1088
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1088
- location (500, 1397)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @1089
- location (550, 1590)
- line_color 3342489
- fill_color 13434879
- supplier @1088
- vertices (list Points
- (550, 1590)
- (550, 1495)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @1090
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1090
- location (1240, 533)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8)
- (object InheritTreeView "" @1091
- location (1406, 765)
- line_color 3342489
- fill_color 13434879
- supplier @1090
- vertices (list Points
- (1406, 765)
- (1406, 631)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1092
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1696)
- label (object ItemLabel
- Parent_View @1092
- location (2393, 1653)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$94" @1093
- location (1614, 1868)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDD70113"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$95" @1094
- Parent_View @1093
- location (526, 476)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA026B"
- client @1093
- supplier @1092
- vertices (list Points
- (1614, 1868)
- (2500, 1868)
- (2500, 1751))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (2500, 1751))
- (object RoleView "content" @1095
- Parent_View @1093
- location (526, 476)
- label (object SegLabel @1096
- Parent_View @1095
- location (896, 1787)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.709870
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA0275"
- client @1093
- supplier @1088
- vertices (list Points
- (1614, 1868)
- (984, 1868)
- (984, 1495))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (984, 1495)
- label (object SegLabel @1097
- Parent_View @1095
- location (1042, 1824)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.571286
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$100" @1098
- location (2927, 387)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E360386"
- roleview_list (list RoleViews
- (object RoleView "attributeContents" @1099
- Parent_View @1098
- location (2463, -3757)
- label (object SegLabel @1100
- Parent_View @1099
- location (1915, 357)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeContents"
- pctDist 0.773060
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E38007C"
- client @1098
- supplier @1090
- vertices (list Points
- (2927, 387)
- (1750, 387)
- (1750, 521))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (1750, 521)
- label (object SegLabel @1101
- Parent_View @1099
- location (1804, 425)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.857247
- height 38
- orientation 0))
- (object RoleView "$UNNAMED$101" @1102
- Parent_View @1098
- location (2463, -3757)
- label (object SegLabel @1103
- Parent_View @1102
- location (2946, 1448)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E380072"
- client @1098
- supplier @1092
- vertices (list Points
- (2927, 387)
- (2987, 387)
- (2987, 1671)
- (2928, 1671))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (2928, 1671))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1104
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1968, 1168)
- label (object ItemLabel
- Parent_View @1104
- location (1699, 1125)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$76" @1105
- location (1750, 872)
- stereotype TRUE
- line_color 3342489
- quidu "3B69404E0067"
- roleview_list (list RoleViews
- (object RoleView "contents" @1106
- Parent_View @1105
- location (1462, -2392)
- label (object SegLabel @1107
- Parent_View @1106
- location (1640, 691)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.751037
- height 110
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69405002A5"
- client @1105
- supplier @1090
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 631)
- label (object SegLabel @1108
- Parent_View @1106
- location (1814, 695)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.734440
- height 64
- orientation 1))
- (object RoleView "$UNNAMED$77" @1109
- Parent_View @1105
- location (1462, -2392)
- label (object SegLabel @1110
- Parent_View @1109
- location (1709, 1065)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B694050029B"
- client @1105
- supplier @1104
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 1113))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1111
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (416, 1168)
- label (object ItemLabel
- Parent_View @1111
- location (279, 1125)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$208" @1112
- location (1252, 1896)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC870247"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$209" @1113
- Parent_View @1112
- location (708, 1288)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C02F9"
- client @1112
- supplier @1092
- vertices (list Points
- (1252, 1896)
- (2603, 1896)
- (2603, 1751))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (2603, 1751))
- (object RoleView "attributeWildcardContent" @1114
- Parent_View @1112
- location (708, 1288)
- label (object SegLabel @1115
- Parent_View @1114
- location (682, 1858)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.381142
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C0303"
- client @1112
- supplier @1111
- vertices (list Points
- (1252, 1896)
- (428, 1896)
- (428, 1223))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (428, 1223)
- label (object SegLabel @1116
- Parent_View @1114
- location (382, 1860)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.575033
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$80" @1117
- location (1199, 1321)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D320220"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$81" @1118
- Parent_View @1117
- location (655, 713)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010C"
- client @1117
- supplier @1104
- vertices (list Points
- (1199, 1321)
- (1897, 1321)
- (1897, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (1897, 1223))
- (object RoleView "attributeWildcardContent" @1119
- Parent_View @1117
- location (655, 713)
- label (object SegLabel @1120
- Parent_View @1119
- location (857, 1279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.429569
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010D"
- client @1117
- supplier @1111
- vertices (list Points
- (1199, 1321)
- (500, 1321)
- (500, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (500, 1223)
- label (object SegLabel @1121
- Parent_View @1119
- location (576, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.782305
- height 43
- orientation 1))))
- (object InheritView "" @1122
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1092
- supplier @1057
- line_style 3
- origin_attachment (2606, 1641)
- terminal_attachment (2606, 1593)
- drawSupplier @1058)
- (object InheritView "" @1123
- stereotype (object SegLabel @1124
- Parent_View @1123
- location (759, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.446429
- height 6
- orientation 1)
- line_color 3342489
- quidu "3B685F17002E"
- client @1061
- supplier @1000
- line_style 3
- origin_attachment (753, 520)
- terminal_attachment (753, 465)
- drawSupplier @1001)
- (object InheritView "" @1125
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1030
- supplier @1057
- line_style 3
- origin_attachment (1409, 1641)
- terminal_attachment (1409, 1593)
- drawSupplier @1058)
- (object InheritView "" @1126
- stereotype (object SegLabel @1127
- Parent_View @1126
- location (759, 1591)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 219
- justify 0
- label "<<mixin>>"
- pctDist 0.980392
- height 385
- orientation 0)
- line_color 3342489
- quidu "3B685F55032B"
- client @1030
- supplier @1088
- line_style 3
- origin_attachment (1144, 1641)
- terminal_attachment (1144, 1590)
- drawSupplier @1089)
- (object InheritView "" @1128
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @1003
- supplier @1000
- line_style 3
- origin_attachment (166, 521)
- terminal_attachment (166, 465)
- drawSupplier @1001)
- (object InheritTreeView "" @1129
- location (431, 222)
- line_color 3342489
- fill_color 13434879
- supplier @1016
- vertices (list Points
- (431, 222)
- (431, 130)))
- (object InheritView "" @1130
- stereotype (object SegLabel @1131
- Parent_View @1130
- location (361, 224)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 237
- justify 0
- label "<<mixin>>"
- pctDist 0.976744
- height 86
- orientation 1)
- line_color 3342489
- quidu "3B6BD2440069"
- client @1000
- supplier @1016
- line_style 3
- origin_attachment (275, 265)
- terminal_attachment (275, 222)
- drawSupplier @1129)
- (object InheritTreeView "" @1132
- location (1309, 465)
- line_color 3342489
- fill_color 13434879
- supplier @1049
- vertices (list Points
- (1309, 465)
- (1309, 375)))
- (object InheritView "" @1133
- stereotype (object SegLabel @1134
- Parent_View @1133
- location (941, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.464286
- height 10
- orientation 1)
- line_color 3342489
- quidu "3B688E660339"
- client @1061
- supplier @1049
- line_style 3
- origin_attachment (931, 520)
- terminal_attachment (931, 465)
- drawSupplier @1132)
- (object InheritView "" @1135
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @1010
- supplier @1088
- line_style 3
- origin_attachment (250, 1641)
- terminal_attachment (250, 1590)
- drawSupplier @1089)
- (object InheritView "" @1136
- stereotype (object SegLabel @1137
- Parent_View @1136
- location (1205, 493)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.958333
- height 8
- orientation 1)
- line_color 3342489
- quidu "3B688E6103BE"
- client @1023
- supplier @1049
- line_style 3
- origin_attachment (1197, 1113)
- terminal_attachment (1197, 465)
- drawSupplier @1132)
- (object InheritView "" @1138
- stereotype (object SegLabel @1139
- Parent_View @1138
- location (1951, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.848980
- height 73
- orientation 1)
- line_color 3342489
- quidu "3B6AE2EB02A8"
- client @1104
- supplier @993
- line_style 3
- origin_attachment (1878, 1113)
- terminal_attachment (1878, 868)
- drawSupplier @994)
- (object InheritView "" @1140
- stereotype (object SegLabel @1141
- Parent_View @1140
- location (1642, 807)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.879310
- height 61
- orientation 0)
- line_color 3342489
- quidu "3B69403A0221"
- client @1104
- supplier @1090
- line_style 3
- origin_attachment (1703, 1113)
- terminal_attachment (1703, 765)
- drawSupplier @1091)
- (object InheritView "" @1142
- stereotype (object SegLabel @1143
- Parent_View @1142
- location (1354, 801)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.500000
- height 70
- orientation 1)
- line_color 3342489
- quidu "3B72D737038F"
- client @1022
- supplier @1090
- line_style 3
- origin_attachment (1284, 837)
- terminal_attachment (1284, 765)
- drawSupplier @1091)
- (object InheritView "" @1144
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @992
- supplier @1048
- line_style 3
- origin_attachment (2284, 762)
- terminal_attachment (2379, 762))
- (object InheritView "" @1145
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @991
- supplier @1049
- line_style 3
- origin_attachment (2637, 521)
- terminal_attachment (2637, 465)
- drawSupplier @1132)
- (object InheritView "" @1146
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1048
- supplier @991
- line_style 3
- origin_attachment (2637, 729)
- terminal_attachment (2637, 631))
- (object InheritView "" @1147
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @993
- supplier @1049
- line_style 3
- origin_attachment (1950, 521)
- terminal_attachment (1950, 465)
- drawSupplier @1132)
- (object InheritView "" @1148
- stereotype (object SegLabel @1149
- Parent_View @1148
- location (2821, 897)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 181
- justify 0
- label "<<mixin>>"
- pctDist 0.087719
- height 76
- orientation 0)
- line_color 3342489
- quidu "3B688E4F023C"
- client @990
- supplier @1049
- line_style 3
- origin_attachment (2896, 937)
- terminal_attachment (2896, 465)
- drawSupplier @1132)
- (object InheritView "" @1150
- stereotype (object SegLabel @1151
- Parent_View @1150
- location (2313, 904)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "<<mixin>>"
- pctDist 0.850622
- height 68
- orientation 0)
- line_color 3342489
- quidu "3B6AE2E20381"
- client @1002
- supplier @993
- line_style 3
- origin_attachment (2381, 1109)
- terminal_attachment (2381, 868)
- drawSupplier @994)
- (object InheritView "" @1152
- stereotype (object SegLabel @1153
- Parent_View @1152
- location (2878, 269)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.946667
- height 66
- orientation 0)
- line_color 3342489
- quidu "3B6BD2550385"
- client @1002
- supplier @1016
- line_style 3
- origin_attachment (2943, 1109)
- terminal_attachment (2943, 222)
- drawSupplier @1129)
- (object InheritView "" @1154
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @1111
- supplier @1000
- line_style 3
- origin_attachment (462, 1113)
- terminal_attachment (462, 465)
- drawSupplier @1001)))
- (object ClassDiagram "9. Concrete Schema Composition"
- quid "3C25EB7A038C"
- title "9. Concrete Schema Composition"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1155
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1536)
- label (object ItemLabel
- Parent_View @1155
- location (73, 1493)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 480
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$118" @1156
- location (228, 1695)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41E60251"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$119" @1157
- Parent_View @1156
- location (-476, -385)
- label (object SegLabel @1158
- Parent_View @1157
- location (217, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA02F7"
- client @1156
- supplier @1155
- vertices (list Points
- (228, 1695)
- (175, 1695)
- (175, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (175, 1591))
- (object RoleView "resolvedElementDeclaration" @1159
- Parent_View @1156
- location (-476, -385)
- label (object SegLabel @1160
- Parent_View @1159
- location (329, 1740)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedElementDeclaration"
- pctDist 1.924528
- height 45
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA030B"
- client @1156
- supplier @1155
- vertices (list Points
- (228, 1695)
- (281, 1695)
- (281, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (281, 1591)
- label (object SegLabel @1161
- Parent_View @1159
- location (229, 1646)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.005714
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1162
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1536)
- label (object ItemLabel
- Parent_View @1162
- location (790, 1493)
- fill_color 13434879
- nlines 1
- max_width 500
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 518
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$154" @1163
- location (952, 1698)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42450398"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$155" @1164
- Parent_View @1163
- location (-1288, -318)
- label (object SegLabel @1165
- Parent_View @1164
- location (860, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249038A"
- client @1163
- supplier @1162
- vertices (list Points
- (952, 1698)
- (901, 1698)
- (901, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (901, 1591))
- (object RoleView "resolvedModelGroupDefinition" @1166
- Parent_View @1163
- location (-1288, -318)
- label (object SegLabel @1167
- Parent_View @1166
- location (1020, 1739)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 564
- justify 0
- label "+resolvedModelGroupDefinition"
- pctDist 1.326923
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249039E"
- client @1163
- supplier @1162
- vertices (list Points
- (952, 1698)
- (1004, 1698)
- (1004, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (1004, 1591)
- label (object SegLabel @1168
- Parent_View @1166
- location (952, 1649)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.000000
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1169
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1169
- location (420, 949)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @1170
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1170
- location (412, 737)
- fill_color 13434879
- nlines 1
- max_width 457
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 475
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1171
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 416)
- label (object ItemLabel
- Parent_View @1171
- location (446, 285)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 406
- height 287
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$218" @1172
- location (1303, 679)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "incorporatedSchema" @1173
- Parent_View @1172
- location (-41, -857)
- label (object SegLabel @1174
- Parent_View @1173
- location (1059, 381)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.700384
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @1172
- supplier @1171
- vertices (list Points
- (1303, 679)
- (1303, 419)
- (843, 419))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (843, 419)
- label (object SegLabel @1175
- Parent_View @1173
- location (922, 454)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.890746
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$219" @1176
- Parent_View @1172
- location (-41, -857)
- label (object SegLabel @1177
- Parent_View @1176
- location (1045, 956)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @1172
- supplier @1169
- vertices (list Points
- (1303, 679)
- (1303, 997)
- (901, 997))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (901, 997))))
- (object AssociationViewNew "$UNNAMED$216" @1178
- location (1216, 649)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "resolvedSchema" @1179
- Parent_View @1178
- location (336, -1399)
- label (object SegLabel @1180
- Parent_View @1179
- location (1038, 500)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.601923
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @1178
- supplier @1171
- vertices (list Points
- (1216, 649)
- (1216, 534)
- (843, 534))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (843, 534)
- label (object SegLabel @1181
- Parent_View @1179
- location (926, 577)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.831643
- height 43
- orientation 0))
- (object RoleView "$UNNAMED$217" @1182
- Parent_View @1178
- location (336, -1399)
- label (object SegLabel @1183
- Parent_View @1182
- location (974, 756)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @1178
- supplier @1170
- vertices (list Points
- (1216, 649)
- (1216, 797)
- (877, 797))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (877, 797))))
- (object AssociationViewNew "$UNNAMED$222" @1184
- location (662, 642)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A60131"
- roleview_list (list RoleViews
- (object RoleView "referencingDirectives" @1185
- Parent_View @1184
- location (-234, 114)
- label (object SegLabel @1186
- Parent_View @1185
- location (878, 675)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+referencingDirectives"
- pctDist 0.408759
- height 216
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90371"
- client @1184
- supplier @1170
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 725)
- label (object SegLabel @1187
- Parent_View @1185
- location (615, 678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.430657
- height 48
- orientation 1))
- (object RoleView "$UNNAMED$223" @1188
- Parent_View @1184
- location (-234, 114)
- label (object SegLabel @1189
- Parent_View @1188
- location (621, 576)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90370"
- client @1184
- supplier @1171
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 559))))
- (object AssociationViewNew "$UNNAMED$224" @1190
- location (75, 188)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF0005E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$225" @1191
- Parent_View @1190
- location (-853, -308)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF4001E"
- client @1190
- supplier @1171
- vertices (list Points
- (75, 188)
- (75, 128)
- (510, 128)
- (510, 273))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (510, 273))
- (object RoleView "rootVersion" @1192
- Parent_View @1190
- location (-853, -308)
- label (object SegLabel @1193
- Parent_View @1192
- location (176, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+rootVersion"
- pctDist -0.593750
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF40028"
- client @1190
- supplier @1171
- vertices (list Points
- (75, 188)
- (75, 380)
- (437, 380))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (437, 380)
- label (object SegLabel @1194
- Parent_View @1192
- location (368, 328)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.874755
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$226" @1195
- location (1262, 134)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0B011B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$227" @1196
- Parent_View @1195
- location (334, -362)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F0121"
- client @1195
- supplier @1171
- vertices (list Points
- (1262, 134)
- (766, 134)
- (766, 273))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (766, 273))
- (object RoleView "originalVersion" @1197
- Parent_View @1195
- location (334, -362)
- label (object SegLabel @1198
- Parent_View @1197
- location (1164, 97)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+originalVersion"
- pctDist -1.650000
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F012B"
- client @1195
- supplier @1171
- vertices (list Points
- (1262, 134)
- (1322, 134)
- (1322, 334)
- (843, 334))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (843, 334)
- label (object SegLabel @1199
- Parent_View @1197
- location (919, 279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898108
- height 56
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$228" @1200
- location (126, 656)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAB001F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$229" @1201
- Parent_View @1200
- location (-834, 160)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF010B"
- client @1200
- supplier @1171
- vertices (list Points
- (126, 656)
- (513, 656)
- (513, 559))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (513, 559))
- (object RoleView "incorporatedVersions" @1202
- Parent_View @1200
- location (-834, 160)
- label (object SegLabel @1203
- Parent_View @1202
- location (217, 431)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+incorporatedVersions"
- pctDist 0.643902
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF0115"
- client @1200
- supplier @1171
- vertices (list Points
- (126, 656)
- (66, 656)
- (66, 472)
- (437, 472))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (437, 472)
- label (object SegLabel @1204
- Parent_View @1202
- location (356, 526)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.868468
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$232" @1205
- location (642, 126)
- stereotype TRUE
- line_color 3342489
- quidu "3C2784730194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$233" @1206
- Parent_View @1205
- location (82, -418)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501F1"
- client @1205
- supplier @1171
- vertices (list Points
- (642, 126)
- (588, 126)
- (588, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (588, 273))
- (object RoleView "schemaForSchema" @1207
- Parent_View @1205
- location (82, -418)
- label (object SegLabel @1208
- Parent_View @1207
- location (639, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+schemaForSchema"
- pctDist -0.055556
- height 53
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501FB"
- client @1205
- supplier @1171
- vertices (list Points
- (642, 126)
- (697, 126)
- (697, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (697, 273)
- label (object SegLabel @1209
- Parent_View @1207
- location (643, 213)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.701863
- height 55
- orientation 1))))
- (object InheritView "" @1210
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1169
- supplier @1170
- line_style 3
- origin_attachment (638, 937)
- terminal_attachment (638, 843))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1211
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1184)
- label (object ItemLabel
- Parent_View @1211
- location (67, 1141)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$72" @1212
- location (234, 1340)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426B0194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$73" @1213
- Parent_View @1212
- location (-310, -4)
- label (object SegLabel @1214
- Parent_View @1213
- location (140, 1271)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0309"
- client @1212
- supplier @1211
- vertices (list Points
- (234, 1340)
- (181, 1340)
- (181, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (181, 1239))
- (object RoleView "resolvedAttributeDeclaration" @1215
- Parent_View @1212
- location (-310, -4)
- label (object SegLabel @1216
- Parent_View @1215
- location (333, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedAttributeDeclaration"
- pctDist 1.867925
- height 49
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0313"
- client @1212
- supplier @1211
- vertices (list Points
- (234, 1340)
- (287, 1340)
- (287, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (287, 1239)
- label (object SegLabel @1217
- Parent_View @1215
- location (241, 1295)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.042945
- height 46
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1218
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1760, 144)
- label (object ItemLabel
- Parent_View @1218
- location (1517, 101)
- fill_color 13434879
- nlines 1
- max_width 486
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 504
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1219
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1219
- location (1599, 373)
- fill_color 13434879
- nlines 1
- max_width 226
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C359403D2"
- width 244
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$306" @1220
- location (1668, 280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AE01CC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$307" @1221
- Parent_View @1220
- location (8, -152)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF010F"
- client @1220
- supplier @1218
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 199))
- (object RoleView "syntheticFacets" @1222
- Parent_View @1220
- location (8, -152)
- label (object SegLabel @1223
- Parent_View @1222
- location (1852, 300)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+syntheticFacets"
- pctDist 0.246154
- height 184
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF011A"
- client @1220
- supplier @1219
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 361)
- label (object SegLabel @1224
- Parent_View @1222
- location (1625, 301)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.276923
- height 44
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1225
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 944)
- label (object ItemLabel
- Parent_View @1225
- location (1426, 901)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1226
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1776, 640)
- label (object ItemLabel
- Parent_View @1226
- location (1515, 597)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$308" @1227
- location (1508, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D3028E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$309" @1228
- Parent_View @1227
- location (-12, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402F3"
- client @1227
- supplier @1226
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 695))
- (object RoleView "syntheticParticle" @1229
- Parent_View @1227
- location (-12, -280)
- label (object SegLabel @1230
- Parent_View @1229
- location (1695, 767)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+syntheticParticle"
- pctDist -0.259259
- height 187
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402FD"
- client @1227
- supplier @1225
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 889)
- label (object SegLabel @1231
- Parent_View @1229
- location (1454, 829)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.395062
- height 55
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1232
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1024, 1184)
- label (object ItemLabel
- Parent_View @1232
- location (756, 1141)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$84" @1233
- location (919, 1349)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B425E01F9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$85" @1234
- Parent_View @1233
- location (-233, -59)
- label (object SegLabel @1235
- Parent_View @1234
- location (825, 1273)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620046"
- client @1233
- supplier @1232
- vertices (list Points
- (919, 1349)
- (866, 1349)
- (866, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (866, 1239))
- (object RoleView "resolvedAttributeGroupDefinition" @1236
- Parent_View @1233
- location (-233, -59)
- label (object SegLabel @1237
- Parent_View @1236
- location (993, 1393)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 600
- justify 0
- label "+resolvedAttributeGroupDefinition"
- pctDist 1.377358
- height 44
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620050"
- client @1233
- supplier @1232
- vertices (list Points
- (919, 1349)
- (973, 1349)
- (973, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (973, 1239)
- label (object SegLabel @1238
- Parent_View @1236
- location (919, 1296)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.014925
- height 54
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1239
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1952, 944)
- label (object ItemLabel
- Parent_View @1239
- location (1816, 901)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 290
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$310" @1240
- location (2025, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D901F6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$311" @1241
- Parent_View @1240
- location (153, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA0284"
- client @1240
- supplier @1226
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 695))
- (object RoleView "syntheticWildcard" @1242
- Parent_View @1240
- location (153, -280)
- label (object SegLabel @1243
- Parent_View @1242
- location (1826, 838)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.488095
- height 200
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA028E"
- client @1240
- supplier @1239
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 889)
- label (object SegLabel @1244
- Parent_View @1242
- location (2098, 840)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.506173
- height 73
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$312" @1245
- location (1754, 1178)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C68FF01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$313" @1246
- Parent_View @1245
- location (-198, 234)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020317"
- client @1245
- supplier @1232
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (1301, 1178))
- (object RoleView "syntheticWildcard" @1247
- Parent_View @1245
- location (-198, 234)
- label (object SegLabel @1248
- Parent_View @1247
- location (1828, 1261)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.163355
- height 83
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020318"
- client @1245
- supplier @1239
- vertices (list Points
- (1754, 1178)
- (2028, 1178)
- (2028, 999))
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (2028, 999)
- label (object SegLabel @1249
- Parent_View @1247
- location (2082, 1098)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783664
- height 54
- orientation 1))))))
- (object ClassDiagram "10. Diagnostics"
- quid "3BFE5F0803E2"
- title "10. Diagnostics"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::DOMNode" @1250
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (400, 1024)
- label (object ItemLabel
- Parent_View @1250
- location (66, 990)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @1250
- location (66, 940)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnosticSeverity" @1251
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 656)
- label (object ItemLabel
- Parent_View @1251
- location (818, 547)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDDiagnosticSeverity")
- stereotype (object ItemLabel
- Parent_View @1251
- location (818, 497)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 444
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BFE68A7032F"
- width 462
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1252
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 112)
- label (object ItemLabel
- Parent_View @1252
- location (59, 60)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1253
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (896, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1253
- location (540, 62)
- fill_color 13434879
- nlines 1
- max_width 713
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 731
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1254
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 608)
- label (object ItemLabel
- Parent_View @1254
- location (64, 402)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 658
- height 436
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$214" @1255
- location (144, 283)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE6431035F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$215" @1256
- Parent_View @1255
- location (-1088, -661)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C6"
- client @1255
- supplier @1252
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 176))
- (object RoleView "allDiagnostics" @1257
- Parent_View @1255
- location (-1088, -661)
- label (object SegLabel @1258
- Parent_View @1257
- location (309, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+allDiagnostics"
- pctDist 0.448598
- height 165
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C7"
- client @1255
- supplier @1254
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 390)
- label (object SegLabel @1259
- Parent_View @1257
- location (96, 327)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.420561
- height 49
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$210" @1260
- location (1028, 440)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622703CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$211" @1261
- Parent_View @1260
- location (-396, -72)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B0061"
- client @1260
- supplier @1254
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (713, 440))
- (object RoleView "components" @1262
- Parent_View @1260
- location (-396, -72)
- label (object SegLabel @1263
- Parent_View @1262
- location (938, 230)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+components"
- pctDist 0.829181
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B006C"
- client @1260
- supplier @1253
- vertices (list Points
- (1028, 440)
- (1088, 440)
- (1088, 174))
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (1088, 174)
- label (object SegLabel @1264
- Parent_View @1262
- location (1143, 232)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.823848
- height 55
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$212" @1265
- location (688, 282)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE62690165"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$213" @1266
- Parent_View @1265
- location (160, -278)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0026"
- client @1265
- supplier @1253
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 174))
- (object RoleView "diagnostics" @1267
- Parent_View @1265
- location (160, -278)
- label (object SegLabel @1268
- Parent_View @1267
- location (822, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+diagnostics"
- pctDist 0.452632
- height 134
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0027"
- client @1265
- supplier @1254
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 390)
- label (object SegLabel @1269
- Parent_View @1267
- location (645, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.494737
- height 44
- orientation 1))))
- (object InheritView "" @1270
- stereotype TRUE
- line_color 3342489
- quidu "3D4C0F4C01A1"
- client @1254
- supplier @1253
- line_style 3
- origin_attachment (575, 390)
- terminal_attachment (575, 174))))
- (object ClassDiagram "11. Supplemental"
- quid "3C287E49019B"
- title "11. Supplemental"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1271
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (464, 816)
- label (object ItemLabel
- Parent_View @1271
- location (47, 760)
- fill_color 13434879
- nlines 1
- max_width 834
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 852
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1272
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2112, 880)
- label (object ItemLabel
- Parent_View @1272
- location (1731, 824)
- fill_color 13434879
- nlines 1
- max_width 762
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 780
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1273
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (288, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1273
- location (48, 60)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 498
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1274
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2384, 112)
- label (object ItemLabel
- Parent_View @1274
- location (2236, 60)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 314
- height 128
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$236" @1275
- location (1382, 84)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C50137"
- roleview_list (list RoleViews
- (object RoleView "primaryComponent" @1276
- Parent_View @1275
- location (-250, -508)
- label (object SegLabel @1277
- Parent_View @1276
- location (756, 116)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+primaryComponent"
- pctDist 0.740828
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70113"
- client @1275
- supplier @1273
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (537, 84)
- label (object SegLabel @1278
- Parent_View @1276
- location (624, 55)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.897260
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$237" @1279
- Parent_View @1275
- location (-250, -508)
- label (object SegLabel @1280
- Parent_View @1279
- location (2058, 126)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70112"
- client @1275
- supplier @1274
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (2227, 84))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1281
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2160, 688)
- label (object ItemLabel
- Parent_View @1281
- location (1778, 607)
- fill_color 13434879
- nlines 1
- max_width 764
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @1281
- location (1778, 667)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 722
- compartmentItems (list Compartment
- "+ elementDeclarationReference : boolean"
- "+ circular : boolean"))
- width 782
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1282
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1072)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1282
- location (2100, 991)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @1282
- location (2100, 1051)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 423
- compartmentItems (list Compartment
- "+ facetName : String"
- "+ effectiveValue : Value"))
- width 458
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1283
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 624)
- label (object ItemLabel
- Parent_View @1283
- location (47, 568)
- fill_color 13434879
- nlines 1
- max_width 802
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- compartment (object Compartment
- Parent_View @1283
- location (47, 628)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 769
- compartmentItems (list Compartment
- "+ modelGroupDefinitionReference : boolean"))
- width 820
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @1284
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 288)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1284
- location (1005, 157)
- fill_color 13434879
- nlines 1
- max_width 454
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @1284
- location (1005, 217)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 4
- max_width 356
- compartmentItems (list Compartment
- "+ aliasName : String"
- "+ uRI : String"
- "+ aliasURI : String"
- "+ qName : String"))
- width 472
- height 286
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @1285
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 352)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1285
- location (48, 296)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1286
- location (320, 510)
- line_color 3342489
- fill_color 13434879
- supplier @1285
- vertices (list Points
- (320, 510)
- (320, 420)))
- (object InheritView "" @1287
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @1283
- supplier @1285
- line_style 3
- origin_attachment (81, 556)
- terminal_attachment (81, 510)
- drawSupplier @1286)
- (object InheritView "" @1288
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @1271
- supplier @1285
- line_style 3
- origin_attachment (877, 748)
- terminal_attachment (877, 510)
- drawSupplier @1286)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @1289
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1808)
- label (object ItemLabel
- Parent_View @1289
- location (2101, 1761)
- fill_color 13434879
- nlines 1
- max_width 438
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 456
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @1290
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1776)
- label (object ItemLabel
- Parent_View @1290
- location (35, 1729)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 493
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @1291
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1936)
- label (object ItemLabel
- Parent_View @1291
- location (35, 1889)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 493
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @1292
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 1968)
- label (object ItemLabel
- Parent_View @1292
- location (2073, 1917)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @1293
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1424)
- label (object ItemLabel
- Parent_View @1293
- location (2134, 1372)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @1294
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1264)
- label (object ItemLabel
- Parent_View @1294
- location (2163, 1212)
- fill_color 13434879
- nlines 1
- max_width 378
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 396
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @1295
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (224, 1392)
- label (object ItemLabel
- Parent_View @1295
- location (43, 1340)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 380
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @1296
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1232)
- label (object ItemLabel
- Parent_View @1296
- location (49, 1178)
- fill_color 13434879
- nlines 1
- max_width 382
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 400
- height 132
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @1297
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1616)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1297
- location (2135, 1535)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @1297
- location (2135, 1595)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 363
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 420
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @1298
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2288)
- label (object ItemLabel
- Parent_View @1298
- location (2102, 2236)
- fill_color 13434879
- nlines 1
- max_width 436
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 454
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @1299
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 2624)
- label (object ItemLabel
- Parent_View @1299
- location (2074, 2572)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 478
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @1300
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 2128)
- label (object ItemLabel
- Parent_View @1300
- location (2196, 2076)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 362
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @1301
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 2096)
- label (object ItemLabel
- Parent_View @1301
- location (36, 2044)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 458
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @1302
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (208, 2272)
- label (object ItemLabel
- Parent_View @1302
- location (38, 2220)
- fill_color 13434879
- nlines 1
- max_width 340
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 358
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @1303
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1584)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1303
- location (38, 1503)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @1303
- location (38, 1563)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 363
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 422
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @1304
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2464)
- label (object ItemLabel
- Parent_View @1304
- location (2111, 2412)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @1305
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2448)
- label (object ItemLabel
- Parent_View @1305
- location (39, 2396)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 420
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @1306
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2608)
- label (object ItemLabel
- Parent_View @1306
- location (38, 2556)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1307
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (928, 1152)
- label (object ItemLabel
- Parent_View @1307
- location (667, 1100)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1308
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 1072)
- label (object ItemLabel
- Parent_View @1308
- location (50, 1020)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1309
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 1360)
- label (object ItemLabel
- Parent_View @1309
- location (944, 1304)
- fill_color 13434879
- nlines 1
- max_width 576
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @1309
- location (944, 1364)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 538
- compartmentItems (list Compartment
- "<<0..*>> + validFacets : String"))
- width 594
- height 136
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$248" @1310
- location (1446, 1218)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A994030A"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1311
- Parent_View @1310
- location (582, -78)
- label (object SegLabel @1312
- Parent_View @1311
- location (1580, 1173)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist 3.268293
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700DD"
- client @1310
- supplier @1309
- vertices (list Points
- (1446, 1218)
- (1487, 1218)
- (1487, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1487, 1292)
- label (object SegLabel @1313
- Parent_View @1311
- location (1439, 1257)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.184211
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$249" @1314
- Parent_View @1310
- location (582, -78)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700E7"
- client @1310
- supplier @1309
- vertices (list Points
- (1446, 1218)
- (1405, 1218)
- (1405, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1405, 1292))))
- (object AssociationViewNew "$UNNAMED$252" @1315
- location (1733, 1575)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08D0252"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$253" @1316
- Parent_View @1315
- location (917, 7)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E0091"
- client @1315
- supplier @1309
- vertices (list Points
- (1733, 1575)
- (1487, 1575)
- (1487, 1428))
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (1487, 1428))
- (object RoleView "maxFacet" @1317
- Parent_View @1315
- location (917, 7)
- label (object SegLabel @1318
- Parent_View @1317
- location (1751, 1541)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+maxFacet"
- pctDist 0.046243
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E009B"
- client @1315
- supplier @1297
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (2126, 1575)
- label (object SegLabel @1319
- Parent_View @1317
- location (2042, 1536)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.789157
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$254" @1320
- location (1587, 1793)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AB0396"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$255" @1321
- Parent_View @1320
- location (707, -31)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03C9"
- client @1320
- supplier @1309
- vertices (list Points
- (1587, 1793)
- (1447, 1793)
- (1447, 1428))
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (1447, 1428))
- (object RoleView "maxInclusiveFacet" @1322
- Parent_View @1320
- location (707, -31)
- label (object SegLabel @1323
- Parent_View @1322
- location (1737, 1751)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+maxInclusiveFacet"
- pctDist 0.298441
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03D4"
- client @1320
- supplier @1289
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (2092, 1793)
- label (object SegLabel @1324
- Parent_View @1322
- location (2020, 1754)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.859155
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$256" @1325
- location (937, 1787)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AF0338"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$257" @1326
- Parent_View @1325
- location (617, -5)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B001F9"
- client @1325
- supplier @1309
- vertices (list Points
- (937, 1787)
- (997, 1787)
- (997, 1428))
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (997, 1428))
- (object RoleView "minInclusiveFacet" @1327
- Parent_View @1325
- location (617, -5)
- label (object SegLabel @1328
- Parent_View @1327
- location (792, 1745)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+minInclusiveFacet"
- pctDist 0.346062
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B00203"
- client @1325
- supplier @1290
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (518, 1787)
- label (object SegLabel @1329
- Parent_View @1327
- location (575, 1743)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863962
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$258" @1330
- location (981, 1937)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B30207"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$259" @1331
- Parent_View @1330
- location (677, -79)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B40190"
- client @1330
- supplier @1309
- vertices (list Points
- (981, 1937)
- (1041, 1937)
- (1041, 1428))
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (1041, 1428))
- (object RoleView "minExclusiveFacet" @1332
- Parent_View @1330
- location (677, -79)
- label (object SegLabel @1333
- Parent_View @1332
- location (823, 1900)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+minExclusiveFacet"
- pctDist 0.341253
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B4019A"
- client @1330
- supplier @1291
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (518, 1937)
- label (object SegLabel @1334
- Parent_View @1332
- location (589, 1897)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.846652
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$260" @1335
- location (1469, 1953)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B6028D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$261" @1336
- Parent_View @1335
- location (621, -95)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70217"
- client @1335
- supplier @1309
- vertices (list Points
- (1469, 1953)
- (1400, 1953)
- (1400, 1428))
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (1400, 1428))
- (object RoleView "maxExclusiveFacet" @1337
- Parent_View @1335
- location (621, -95)
- label (object SegLabel @1338
- Parent_View @1337
- location (1646, 1913)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+maxExclusiveFacet"
- pctDist 0.298097
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70221"
- client @1335
- supplier @1292
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (2064, 1953)
- label (object SegLabel @1339
- Parent_View @1337
- location (1961, 1913)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.827236
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$262" @1340
- location (1122, 2180)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$263" @1341
- Parent_View @1340
- location (-318, 628)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0246"
- client @1340
- supplier @1309
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (1122, 1428))
- (object RoleView "lengthFacet" @1342
- Parent_View @1340
- location (-318, 628)
- label (object SegLabel @1343
- Parent_View @1342
- location (804, 2204)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+lengthFacet"
- pctDist 0.475472
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0250"
- client @1340
- supplier @1302
- vertices (list Points
- (1122, 2180)
- (1122, 2240)
- (387, 2240))
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (387, 2240)
- label (object SegLabel @1344
- Parent_View @1342
- location (471, 2204)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.895597
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$266" @1345
- location (1084, 1989)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C2021D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$267" @1346
- Parent_View @1345
- location (-1380, 437)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AB"
- client @1345
- supplier @1309
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (1084, 1428))
- (object RoleView "enumerationFacets" @1347
- Parent_View @1345
- location (-1380, 437)
- label (object SegLabel @1348
- Parent_View @1347
- location (837, 2016)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+enumerationFacets"
- pctDist 0.465857
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AC"
- client @1345
- supplier @1301
- vertices (list Points
- (1084, 1989)
- (1084, 2049)
- (485, 2049))
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (485, 2049)
- label (object SegLabel @1349
- Parent_View @1347
- location (583, 2021)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.851290
- height 29
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$268" @1350
- location (1451, 2074)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C50159"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$269" @1351
- Parent_View @1350
- location (-1525, 538)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600B0"
- client @1350
- supplier @1309
- vertices (list Points
- (1451, 2074)
- (1362, 2074)
- (1362, 1428))
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (1362, 1428))
- (object RoleView "patternFacets" @1352
- Parent_View @1350
- location (-1525, 538)
- label (object SegLabel @1353
- Parent_View @1352
- location (1720, 2038)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+patternFacets"
- pctDist 0.367223
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600BA"
- client @1350
- supplier @1300
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (2187, 2074)
- label (object SegLabel @1354
- Parent_View @1352
- location (1972, 2035)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.708649
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$270" @1355
- location (1827, 1400)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C802A7"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$271" @1356
- Parent_View @1355
- location (-1149, -472)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901EA"
- client @1355
- supplier @1309
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (1529, 1400))
- (object RoleView "cardinalityFacet" @1357
- Parent_View @1355
- location (-1149, -472)
- label (object SegLabel @1358
- Parent_View @1357
- location (1847, 1358)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+cardinalityFacet"
- pctDist 0.071730
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901F5"
- client @1355
- supplier @1293
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (2125, 1400)
- label (object SegLabel @1359
- Parent_View @1357
- location (2083, 1357)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.863426
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$280" @1360
- location (1262, 2413)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DB0377"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$281" @1361
- Parent_View @1360
- location (-786, 301)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC035A"
- client @1360
- supplier @1309
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (1262, 1428))
- (object RoleView "fractionDigitsFacet" @1362
- Parent_View @1360
- location (-786, 301)
- label (object SegLabel @1363
- Parent_View @1362
- location (1608, 2556)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+fractionDigitsFacet"
- pctDist 0.537393
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC0364"
- client @1360
- supplier @1299
- vertices (list Points
- (1262, 2413)
- (1262, 2596)
- (2065, 2596))
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (2065, 2596)
- label (object SegLabel @1364
- Parent_View @1362
- location (1979, 2556)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913886
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$284" @1365
- location (1841, 1306)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E300D9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$285" @1366
- Parent_View @1365
- location (-1135, -790)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E4038E"
- client @1365
- supplier @1309
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (1529, 1306))
- (object RoleView "boundedFacet" @1367
- Parent_View @1365
- location (-1135, -790)
- label (object SegLabel @1368
- Parent_View @1367
- location (1832, 1270)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+boundedFacet"
- pctDist -0.031746
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E40398"
- client @1365
- supplier @1294
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (2154, 1306)
- label (object SegLabel @1369
- Parent_View @1367
- location (2077, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.754717
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$264" @1370
- location (1328, 2186)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BF018C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$265" @1371
- Parent_View @1370
- location (-640, 634)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C0006B"
- client @1370
- supplier @1309
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (1328, 1428))
- (object RoleView "whiteSpaceFacet" @1372
- Parent_View @1370
- location (-640, 634)
- label (object SegLabel @1373
- Parent_View @1372
- location (1673, 2207)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+whiteSpaceFacet"
- pctDist 0.490909
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C00075"
- client @1370
- supplier @1298
- vertices (list Points
- (1328, 2186)
- (1328, 2246)
- (2093, 2246))
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (2093, 2246)
- label (object SegLabel @1374
- Parent_View @1372
- location (2033, 2203)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926763
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$282" @1375
- location (674, 1390)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF0048"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$283" @1376
- Parent_View @1375
- location (-1854, -706)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03B9"
- client @1375
- supplier @1309
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (935, 1390))
- (object RoleView "orderedFacet" @1377
- Parent_View @1375
- location (-1854, -706)
- label (object SegLabel @1378
- Parent_View @1377
- location (658, 1353)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+orderedFacet"
- pctDist 0.061538
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03C3"
- client @1375
- supplier @1295
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (414, 1390)
- label (object SegLabel @1379
- Parent_View @1377
- location (510, 1355)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.634615
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$272" @1380
- location (687, 1296)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CB039C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$273" @1381
- Parent_View @1380
- location (-1809, -576)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D0"
- client @1380
- supplier @1309
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (935, 1296))
- (object RoleView "numericFacet" @1382
- Parent_View @1380
- location (-1809, -576)
- label (object SegLabel @1383
- Parent_View @1382
- location (668, 1257)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+numericFacet"
- pctDist 0.080972
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D1"
- client @1380
- supplier @1296
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (440, 1296)
- label (object SegLabel @1384
- Parent_View @1382
- location (506, 1260)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.736842
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$286" @1385
- location (1689, 1662)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B44401EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$287" @1386
- Parent_View @1385
- location (-183, -354)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B4450360"
- client @1385
- supplier @1309
- vertices (list Points
- (1689, 1662)
- (1487, 1662)
- (1487, 1428))
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (1487, 1428))
- (object RoleView "effectiveMaxFacet" @1387
- Parent_View @1385
- location (-183, -354)
- label (object SegLabel @1388
- Parent_View @1387
- location (1769, 1623)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+effectiveMaxFacet"
- pctDist 0.182051
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B445036A"
- client @1385
- supplier @1297
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (2126, 1662)
- label (object SegLabel @1389
- Parent_View @1387
- location (2044, 1627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.815385
- height 36
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$288" @1390
- location (1328, 2258)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B54F0145"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$289" @1391
- Parent_View @1390
- location (-1072, -462)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B550038C"
- client @1390
- supplier @1309
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (1328, 1428))
- (object RoleView "effectiveWhiteSpaceFacet" @1392
- Parent_View @1390
- location (-1072, -462)
- label (object SegLabel @1393
- Parent_View @1392
- location (1685, 2288)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+effectiveWhiteSpaceFacet"
- pctDist 0.508541
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5500396"
- client @1390
- supplier @1298
- vertices (list Points
- (1328, 2258)
- (1328, 2324)
- (2093, 2324))
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (2093, 2324)
- label (object SegLabel @1394
- Parent_View @1392
- location (2009, 2293)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898817
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$290" @1395
- location (1297, 2366)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C4011C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$291" @1396
- Parent_View @1395
- location (-607, -722)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C5020D"
- client @1395
- supplier @1309
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (1297, 1428))
- (object RoleView "effectiveMaxLengthFacet" @1397
- Parent_View @1395
- location (-607, -722)
- label (object SegLabel @1398
- Parent_View @1397
- location (1657, 2463)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+effectiveMaxLengthFacet"
- pctDist 0.526906
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C50217"
- client @1395
- supplier @1304
- vertices (list Points
- (1297, 2366)
- (1297, 2499)
- (2102, 2499))
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (2102, 2499)
- label (object SegLabel @1399
- Parent_View @1397
- location (2007, 2471)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.899308
- height 29
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$292" @1400
- location (1262, 2449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62A00AA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$293" @1401
- Parent_View @1400
- location (-1170, -815)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0138"
- client @1400
- supplier @1309
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (1262, 1428))
- (object RoleView "effectiveFractionDigitsFacet" @1402
- Parent_View @1400
- location (-1170, -815)
- label (object SegLabel @1403
- Parent_View @1402
- location (1640, 2634)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+effectiveFractionDigitsFacet"
- pctDist 0.585315
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0142"
- client @1400
- supplier @1299
- vertices (list Points
- (1262, 2449)
- (1262, 2668)
- (2065, 2668))
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (2065, 2668)
- label (object SegLabel @1404
- Parent_View @1402
- location (1989, 2629)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926485
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$294" @1405
- location (1422, 2159)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B003A6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$295" @1406
- Parent_View @1405
- location (-770, -1313)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10311"
- client @1405
- supplier @1309
- vertices (list Points
- (1422, 2159)
- (1362, 2159)
- (1362, 1428))
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (1362, 1428))
- (object RoleView "effectivePatternFacet" @1407
- Parent_View @1405
- location (-770, -1313)
- label (object SegLabel @1408
- Parent_View @1407
- location (1727, 2125)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+effectivePatternFacet"
- pctDist 0.399090
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10312"
- client @1405
- supplier @1300
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (2187, 2159)
- label (object SegLabel @1409
- Parent_View @1407
- location (2102, 2119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.889226
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$296" @1410
- location (1084, 2083)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CA026B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$297" @1411
- Parent_View @1410
- location (828, -1373)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0186"
- client @1410
- supplier @1309
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (1084, 1428))
- (object RoleView "effectiveEnumerationFacet" @1412
- Parent_View @1410
- location (828, -1373)
- label (object SegLabel @1413
- Parent_View @1412
- location (822, 2101)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+effectiveEnumerationFacet"
- pctDist 0.488619
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0190"
- client @1410
- supplier @1301
- vertices (list Points
- (1084, 2083)
- (1084, 2143)
- (485, 2143))
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (485, 2143)
- label (object SegLabel @1414
- Parent_View @1412
- location (531, 2100)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.931715
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$302" @1415
- location (1122, 2241)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC0052"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$303" @1416
- Parent_View @1415
- location (866, -479)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03B9"
- client @1415
- supplier @1309
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (1122, 1428))
- (object RoleView "effectiveLengthFacet" @1417
- Parent_View @1415
- location (866, -479)
- label (object SegLabel @1418
- Parent_View @1417
- location (800, 2279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+effectiveLengthFacet"
- pctDist 0.491731
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03C3"
- client @1415
- supplier @1302
- vertices (list Points
- (1122, 2241)
- (1122, 2318)
- (387, 2318))
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (387, 2318)
- label (object SegLabel @1419
- Parent_View @1417
- location (470, 2279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898567
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$250" @1420
- location (773, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B085025B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$251" @1421
- Parent_View @1420
- location (469, 13)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0860270"
- client @1420
- supplier @1309
- vertices (list Points
- (773, 1565)
- (959, 1565)
- (959, 1428))
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (959, 1428))
- (object RoleView "minFacet" @1422
- Parent_View @1420
- location (469, 13)
- label (object SegLabel @1423
- Parent_View @1422
- location (753, 1532)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+minFacet"
- pctDist 0.063091
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B086027A"
- client @1420
- supplier @1303
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (451, 1565)
- label (object SegLabel @1424
- Parent_View @1422
- location (534, 1523)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.746667
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$304" @1425
- location (816, 1650)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97001DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$305" @1426
- Parent_View @1425
- location (496, -334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100CF"
- client @1425
- supplier @1309
- vertices (list Points
- (816, 1650)
- (959, 1650)
- (959, 1428))
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (959, 1428))
- (object RoleView "effectiveMinFacet" @1427
- Parent_View @1425
- location (496, -334)
- label (object SegLabel @1428
- Parent_View @1427
- location (764, 1614)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+effectiveMinFacet"
- pctDist 0.141618
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100D9"
- client @1425
- supplier @1303
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (451, 1650)
- label (object SegLabel @1429
- Parent_View @1427
- location (523, 1606)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.802740
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$274" @1430
- location (1297, 2321)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CF0199"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$275" @1431
- Parent_View @1430
- location (-719, 497)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D20085"
- client @1430
- supplier @1309
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (1297, 1428))
- (object RoleView "maxLengthFacet" @1432
- Parent_View @1430
- location (-719, 497)
- label (object SegLabel @1433
- Parent_View @1432
- location (1630, 2380)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+maxLengthFacet"
- pctDist 0.472255
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D2008F"
- client @1430
- supplier @1304
- vertices (list Points
- (1297, 2321)
- (1297, 2409)
- (2102, 2409))
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (2102, 2409)
- label (object SegLabel @1434
- Parent_View @1432
- location (1994, 2366)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.879208
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$276" @1435
- location (1159, 2273)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D500C5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$277" @1436
- Parent_View @1435
- location (-281, 449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D6001D"
- client @1435
- supplier @1309
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (1159, 1428))
- (object RoleView "minLengthFacet" @1437
- Parent_View @1435
- location (-281, 449)
- label (object SegLabel @1438
- Parent_View @1437
- location (857, 2372)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+minLengthFacet"
- pctDist 0.519527
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D60027"
- client @1435
- supplier @1305
- vertices (list Points
- (1159, 2273)
- (1159, 2409)
- (450, 2409))
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (450, 2409)
- label (object SegLabel @1439
- Parent_View @1437
- location (523, 2369)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913610
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$300" @1440
- location (1197, 2334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B898016D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$301" @1441
- Parent_View @1440
- location (941, -610)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990056"
- client @1440
- supplier @1309
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (1197, 1428))
- (object RoleView "effectiveMinLengthFacet" @1442
- Parent_View @1440
- location (941, -610)
- label (object SegLabel @1443
- Parent_View @1442
- location (856, 2454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveMinLengthFacet"
- pctDist 0.552604
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990060"
- client @1440
- supplier @1305
- vertices (list Points
- (1197, 2334)
- (1197, 2493)
- (450, 2493))
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (450, 2493)
- label (object SegLabel @1444
- Parent_View @1442
- location (527, 2451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.916047
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$298" @1445
- location (1231, 2438)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8400062"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$299" @1446
- Parent_View @1445
- location (863, -746)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B841001D"
- client @1445
- supplier @1309
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (1231, 1428))
- (object RoleView "effectiveTotalDigitsFacet" @1447
- Parent_View @1445
- location (863, -746)
- label (object SegLabel @1448
- Parent_View @1447
- location (859, 2632)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveTotalDigitsFacet"
- pctDist 0.597030
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8410027"
- client @1445
- supplier @1306
- vertices (list Points
- (1231, 2438)
- (1231, 2668)
- (451, 2668))
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (451, 2668)
- label (object SegLabel @1449
- Parent_View @1447
- location (534, 2631)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.918812
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$278" @1450
- location (1231, 2397)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D800DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$279" @1451
- Parent_View @1450
- location (-209, 253)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803CD"
- client @1450
- supplier @1309
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (1231, 1428))
- (object RoleView "totalDigitsFacet" @1452
- Parent_View @1450
- location (-209, 253)
- label (object SegLabel @1453
- Parent_View @1452
- location (853, 2550)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+totalDigitsFacet"
- pctDist 0.585567
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803D7"
- client @1450
- supplier @1306
- vertices (list Points
- (1231, 2397)
- (1231, 2587)
- (451, 2587))
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (451, 2587)
- label (object SegLabel @1454
- Parent_View @1452
- location (535, 2560)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.914647
- height 28
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1455
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 768)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1455
- location (1019, 574)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 444
- height 413
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1456
- location (1209, 1065)
- line_color 3342489
- fill_color 13434879
- supplier @1455
- vertices (list Points
- (1209, 1065)
- (1209, 974)))
- (object AssociationViewNew "$UNNAMED$234" @1457
- location (1090, 1031)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F503D9"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1458
- Parent_View @1457
- location (322, -25)
- label (object SegLabel @1459
- Parent_View @1458
- location (897, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist -0.098765
- height 194
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F9003C"
- client @1457
- supplier @1455
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 974)
- label (object SegLabel @1460
- Parent_View @1458
- location (1121, 1034)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.061728
- height 31
- orientation 1))
- (object RoleView "$UNNAMED$235" @1461
- Parent_View @1457
- location (322, -25)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F90046"
- client @1457
- supplier @1307
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 1088))))
- (object AssociationViewNew "$UNNAMED$240" @1462
- location (1538, 873)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DB01E5"
- roleview_list (list RoleViews
- (object RoleView "rootType" @1463
- Parent_View @1462
- location (178, 105)
- label (object SegLabel @1464
- Parent_View @1463
- location (1558, 792)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+rootType"
- pctDist -1.760870
- height 20
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DD"
- client @1462
- supplier @1455
- vertices (list Points
- (1538, 873)
- (1538, 919)
- (1454, 919))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 919)
- label (object SegLabel @1465
- Parent_View @1463
- location (1509, 875)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.016667
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$241" @1466
- Parent_View @1462
- location (178, 105)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DE"
- client @1462
- supplier @1455
- vertices (list Points
- (1538, 873)
- (1538, 828)
- (1454, 828))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 828))))
- (object AssociationViewNew "$UNNAMED$242" @1467
- location (1535, 684)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7120108"
- roleview_list (list RoleViews
- (object RoleView "baseType" @1468
- Parent_View @1467
- location (175, -84)
- label (object SegLabel @1469
- Parent_View @1468
- location (1559, 597)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+baseType"
- pctDist -1.977273
- height 24
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7140151"
- client @1467
- supplier @1455
- vertices (list Points
- (1535, 684)
- (1535, 728)
- (1454, 728))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 728)
- label (object SegLabel @1470
- Parent_View @1468
- location (1506, 683)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.027778
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$243" @1471
- Parent_View @1467
- location (175, -84)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A714015B"
- client @1467
- supplier @1455
- vertices (list Points
- (1535, 684)
- (1535, 641)
- (1454, 641))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 641))))
- (object AssociationViewNew "$UNNAMED$246" @1472
- location (613, 940)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7ED03C0"
- roleview_list (list RoleViews
- (object RoleView "complexType" @1473
- Parent_View @1472
- location (-747, 172)
- label (object SegLabel @1474
- Parent_View @1473
- location (465, 983)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+complexType"
- pctDist 0.373057
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40117"
- client @1472
- supplier @1308
- vertices (list Points
- (613, 940)
- (284, 940)
- (284, 1008))
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (284, 1008)
- label (object SegLabel @1475
- Parent_View @1473
- location (224, 972)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.909320
- height 61
- orientation 1))
- (object RoleView "$UNNAMED$247" @1476
- Parent_View @1472
- location (-747, 172)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40121"
- client @1472
- supplier @1455
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (1010, 940))))
- (object InheritView "" @1477
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @1455
- supplier @1285
- line_style 3
- origin_attachment (1112, 562)
- terminal_attachment (1112, 510)
- drawSupplier @1286)
- (object InheritView "" @1478
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1307
- supplier @1455
- line_style 3
- origin_attachment (1146, 1088)
- terminal_attachment (1146, 1065)
- drawSupplier @1456)
- (object AssociationViewNew "$UNNAMED$244" @1479
- location (1362, 1133)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74B0178"
- roleview_list (list RoleViews
- (object RoleView "simpleType" @1480
- Parent_View @1479
- location (-158, -163)
- label (object SegLabel @1481
- Parent_View @1480
- location (1499, 1094)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+simpleType"
- pctDist -0.246753
- height 137
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D017B"
- client @1479
- supplier @1309
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 1292)
- label (object SegLabel @1482
- Parent_View @1480
- location (1321, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist -0.227273
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$245" @1483
- Parent_View @1479
- location (-158, -163)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D0185"
- client @1479
- supplier @1455
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 974))))
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @1484
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1484
- location (2002, 303)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @1484
- location (2002, 363)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 508
- compartmentItems (list Compartment
- "+ global : boolean"
- "+ featureReference : boolean"))
- width 558
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1485
- location (2262, 568)
- line_color 3342489
- fill_color 13434879
- supplier @1484
- vertices (list Points
- (2262, 568)
- (2262, 477)))
- (object InheritView "" @1486
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @1281
- supplier @1484
- line_style 3
- origin_attachment (2346, 595)
- terminal_attachment (2346, 568)
- drawSupplier @1485)
- (object AssociationViewNew "$UNNAMED$238" @1487
- location (1553, 453)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F201A4"
- roleview_list (list RoleViews
- (object RoleView "type" @1488
- Parent_View @1487
- location (801, 293)
- label (object SegLabel @1489
- Parent_View @1488
- location (1331, 499)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+type"
- pctDist 0.506266
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302E5"
- client @1487
- supplier @1455
- vertices (list Points
- (1553, 453)
- (1222, 453)
- (1222, 562))
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1222, 562)
- label (object SegLabel @1490
- Parent_View @1488
- location (1185, 479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.812030
- height 38
- orientation 1))
- (object RoleView "$UNNAMED$239" @1491
- Parent_View @1487
- location (801, 293)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302F0"
- client @1487
- supplier @1484
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1993, 453))))
- (object AssociationViewNew "$UNNAMED$130" @1492
- location (1908, 353)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010602D7"
- roleview_list (list RoleViews
- (object RoleView "resolvedFeature" @1493
- Parent_View @1492
- location (-268, -159)
- label (object SegLabel @1494
- Parent_View @1493
- location (1729, 352)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+resolvedFeature"
- pctDist -0.029412
- height 180
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B000E"
- client @1492
- supplier @1484
- vertices (list Points
- (1908, 353)
- (1908, 387)
- (1993, 387))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 387)
- label (object SegLabel @1495
- Parent_View @1493
- location (1945, 354)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.596639
- height 34
- orientation 0))
- (object RoleView "$UNNAMED$131" @1496
- Parent_View @1492
- location (-268, -159)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B0018"
- client @1492
- supplier @1484
- vertices (list Points
- (1908, 353)
- (1908, 319)
- (1993, 319))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 319))))
- (object InheritView "" @1497
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @1285
- supplier @1284
- vertices (list Points
- (494, 284)
- (494, 244)
- (996, 244))
- line_style 3
- origin_attachment (494, 284)
- terminal_attachment (996, 244))
- (object InheritView "" @1498
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @1272
- supplier @1484
- line_style 3
- origin_attachment (1718, 812)
- terminal_attachment (1718, 568)
- drawSupplier @1485)
- (object InheritView "" @1499
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1309
- supplier @1455
- line_style 3
- origin_attachment (1265, 1292)
- terminal_attachment (1265, 1065)
- drawSupplier @1456)
- (object InheritView "" @1500
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @1484
- supplier @1284
- vertices (list Points
- (2147, 291)
- (2147, 244)
- (1468, 244))
- line_style 3
- origin_attachment (2147, 291)
- terminal_attachment (1468, 244)))))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Main"
- quid "3ABFD9A70163"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object CategoryView "Logical View::http" @1501
- location (336, 224)
- label (object ItemLabel
- Parent_View @1501
- location (192, 140)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "http")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ABFD9AD01F8"
- width 300
- height 180)
- (object CategoryView "Logical View::wsdl" @1502
- location (784, 224)
- label (object ItemLabel
- Parent_View @1502
- location (640, 140)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "wsdl")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ADFB8E5021E"
- width 300
- height 180)
- (object CategoryView "Logical View::xsd" @1503
- location (1232, 224)
- label (object ItemLabel
- Parent_View @1503
- location (1088, 140)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "xsd")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "39ABDC6F01AA"
- width 300
- height 180)))))
- root_subsystem (object SubSystem "Component View"
- quid "3ABFD9A70152"
- physical_models (list unit_reference_list)
- physical_presentations (list unit_reference_list
- (object Module_Diagram "Main"
- quid "3ABFD9A7018B"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- process_structure (object Processes
- quid "3ABFD9A70153"
- ProcsNDevs (list
- (object Process_Diagram "Deployment View"
- quid "3ABFD9A70155"
- title "Deployment View"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- properties (object Properties
- attributes (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "DDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "DDL"
- name "DataBase"
- value ("DataBaseSet" 800))
- (object Attribute
- tool "DDL"
- name "DataBaseSet"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ANSI"
- value 800)
- (object Attribute
- tool "DDL"
- name "Oracle"
- value 801)
- (object Attribute
- tool "DDL"
- name "SQLServer"
- value 802)
- (object Attribute
- tool "DDL"
- name "Sybase"
- value 803)
- (object Attribute
- tool "DDL"
- name "Watcom"
- value 804)))
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnName"
- value "Id")
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnType"
- value "NUMBER(5)")
- (object Attribute
- tool "DDL"
- name "ViewName"
- value "V_")
- (object Attribute
- tool "DDL"
- name "TableName"
- value "T_")
- (object Attribute
- tool "DDL"
- name "InheritSuffix"
- value "_V")
- (object Attribute
- tool "DDL"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "BaseViews"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "DDLScriptFilename"
- value "DDL1.SQL")))
- (object Attribute
- tool "DDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ColumnType"
- value "VARCHAR")
- (object Attribute
- tool "DDL"
- name "Length"
- value "")
- (object Attribute
- tool "DDL"
- name "NullsOK"
- value TRUE)
- (object Attribute
- tool "DDL"
- name "PrimaryKey"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "Unique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "DDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "framework"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "IDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "StopOnError"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "IDL"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "DefaultSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "IDLElement"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "IDLSpecificationType"
- value ("IDLSpecSet" 22))
- (object Attribute
- tool "IDL"
- name "IDLSpecSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Interface"
- value 22)
- (object Attribute
- tool "IDL"
- name "Typedef"
- value 54)
- (object Attribute
- tool "IDL"
- name "Enumeration"
- value 8)
- (object Attribute
- tool "IDL"
- name "Const"
- value 71)
- (object Attribute
- tool "IDL"
- name "Exception"
- value 61)
- (object Attribute
- tool "IDL"
- name "Struct"
- value 51)
- (object Attribute
- tool "IDL"
- name "Union"
- value 81)))))
- (object Attribute
- tool "IDL"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.http/src/rose/httpbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GenerateIDLModule"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.http/src/rose/httpbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "Context"
- value "")
- (object Attribute
- tool "IDL"
- name "Raises"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")))
- (object Attribute
- tool "IDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Java"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "Java"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "Java"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "Java"
- name "UsePrefixes"
- value FALSE)
- (object Attribute
- tool "Java"
- name "InstanceVariablePrefix"
- value "m_")
- (object Attribute
- tool "Java"
- name "ClassVariablePrefix"
- value "s_")
- (object Attribute
- tool "Java"
- name "DefaultAttributeDataType"
- value "int")
- (object Attribute
- tool "Java"
- name "DefaultOperationReturnType"
- value "void")
- (object Attribute
- tool "Java"
- name "RootDir"
- value "")
- (object Attribute
- tool "Java"
- name "AutoSync"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ShowCodegenDlg"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocDefaultAuthor"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocDefaultVersion"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocDefaultSince"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocNumAsterisks"
- value 0)
- (object Attribute
- tool "Java"
- name "MaxNumChars"
- value 80)
- (object Attribute
- tool "Java"
- name "Editor"
- value ("EditorType" 100))
- (object Attribute
- tool "Java"
- name "VM"
- value ("VMType" 200))
- (object Attribute
- tool "Java"
- name "ClassPath"
- value "")
- (object Attribute
- tool "Java"
- name "EditorType"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "BuiltIn"
- value 100)
- (object Attribute
- tool "Java"
- name "WindowsShell"
- value 101)))
- (object Attribute
- tool "Java"
- name "VMType"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Sun"
- value 200)
- (object Attribute
- tool "Java"
- name "Microsoft"
- value 201)
- (object Attribute
- tool "Java"
- name "IBM"
- value 202)))
- (object Attribute
- tool "Java"
- name "NoClassCustomDlg"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GlobalImports"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "OpenBraceClassStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "OpenBraceMethodStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "UseTabs"
- value FALSE)
- (object Attribute
- tool "Java"
- name "UseSpaces"
- value TRUE)
- (object Attribute
- tool "Java"
- name "SpacingItems"
- value 3)
- (object Attribute
- tool "Java"
- name "RoseDefaultCommentStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "AsteriskCommentStyle"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavaCommentStyle"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocAuthor"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocSince"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocVersion"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Static"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateCode"
- value TRUE)
- (object Attribute
- tool "Java"
- name "DisableAutoSync"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletName"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContextRef"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsSingleThread"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletInitParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletInitParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletIsSecure"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcher"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcherPath"
- value "")
- (object Attribute
- tool "Java"
- name "DispatcherInclude"
- value FALSE)
- (object Attribute
- tool "Java"
- name "DispatcherForward"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "ServletgetInfo"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttribute"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttributesNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestAttributes"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestParameters"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeader"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeaderNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForHeaders"
- value "")
- (object Attribute
- tool "Java"
- name "ServletIntHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletDateHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletCookie"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForCookie"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContentType"
- value "")
- (object Attribute
- tool "Java"
- name "GenerateHTML"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Generate_XML_DD"
- value TRUE)
- (object Attribute
- tool "Java"
- name "EJBCmpField"
- value "")
- (object Attribute
- tool "Java"
- name "EJBEnvironmentProperties"
- value "")
- (object Attribute
- tool "Java"
- name "EJBCnxFactory"
- value "")
- (object Attribute
- tool "Java"
- name "EJBReferences"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "EJBNameInJAR"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSessionType"
- value ("EJBSessionType_Set" 200))
- (object Attribute
- tool "Java"
- name "EJBSessionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 200)
- (object Attribute
- tool "Java"
- name "Stateless"
- value 201)
- (object Attribute
- tool "Java"
- name "Stateful"
- value 202)))
- (object Attribute
- tool "Java"
- name "EJBTransactionType"
- value ("EJBTransactionType_Set" 211))
- (object Attribute
- tool "Java"
- name "EJBTransactionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Container"
- value 211)
- (object Attribute
- tool "Java"
- name "Bean"
- value 212)))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType"
- value ("EJBPersistenceType_Set" 220))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 220)
- (object Attribute
- tool "Java"
- name "Bean"
- value 221)
- (object Attribute
- tool "Java"
- name "Container"
- value 222)))
- (object Attribute
- tool "Java"
- name "EJBReentrant"
- value FALSE)
- (object Attribute
- tool "Java"
- name "BMP_Extend_CMP"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Abstract"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Static"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Native"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Synchronized"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)
- (object Attribute
- tool "Java"
- name "PropertyType"
- value ("BeanProperty_Set" 71))
- (object Attribute
- tool "Java"
- name "BeanProperty_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Not A Property"
- value 71)
- (object Attribute
- tool "Java"
- name "Simple"
- value 72)
- (object Attribute
- tool "Java"
- name "Bound"
- value 73)
- (object Attribute
- tool "Java"
- name "Constrained"
- value 74)))
- (object Attribute
- tool "Java"
- name "IndividualChangeMgt"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Read/Write"
- value ("Read/Write_Set" 81))
- (object Attribute
- tool "Java"
- name "Read/Write_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Read & Write"
- value 81)
- (object Attribute
- tool "Java"
- name "Read Only"
- value 82)
- (object Attribute
- tool "Java"
- name "Write Only"
- value 83)))
- (object Attribute
- tool "Java"
- name "GenerateFullyQualifiedTypes"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "Java"
- name "InitialValue"
- value "")
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)
- (object Attribute
- tool "Java"
- name "PropertyType"
- value ("BeanProperty_Set" 71))
- (object Attribute
- tool "Java"
- name "BeanProperty_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Not A Property"
- value 71)
- (object Attribute
- tool "Java"
- name "Simple"
- value 72)
- (object Attribute
- tool "Java"
- name "Bound"
- value 73)
- (object Attribute
- tool "Java"
- name "Constrained"
- value 74)))
- (object Attribute
- tool "Java"
- name "IndividualChangeMgt"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Read/Write"
- value ("Read/Write_Set" 81))
- (object Attribute
- tool "Java"
- name "Read/Write_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Read & Write"
- value 81)
- (object Attribute
- tool "Java"
- name "Read Only"
- value 82)
- (object Attribute
- tool "Java"
- name "Write Only"
- value 83)))
- (object Attribute
- tool "Java"
- name "GenerateFullyQualifiedTypes"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsNavigable"
- value TRUE)))
- (object Attribute
- tool "Java"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "propertyId"
- value "360000002")
- (object Attribute
- tool "Oracle8"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "DDLScriptFilename"
- value "DDL1.SQL")
- (object Attribute
- tool "Oracle8"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnName"
- value "_ID")
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnType"
- value "NUMBER(5,0)")
- (object Attribute
- tool "Oracle8"
- name "SchemaNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "SchemaNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNameSuffix"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "IsSchema"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "WhereClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeLength"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypePrecision"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeScale"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionOfREFS"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MethodKind"
- value ("MethodKindSet" 1903))
- (object Attribute
- tool "Oracle8"
- name "OverloadID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsReadNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsReadNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsSelfish"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "TriggerType"
- value ("TriggerTypeSet" 1801))
- (object Attribute
- tool "Oracle8"
- name "TriggerEvent"
- value ("TriggerEventSet" 1601))
- (object Attribute
- tool "Oracle8"
- name "TriggerText"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerReferencingNames"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerForEach"
- value ("TriggerForEachSet" 1701))
- (object Attribute
- tool "Oracle8"
- name "TriggerWhenClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "MethodKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MapMethod"
- value 1901)
- (object Attribute
- tool "Oracle8"
- name "OrderMethod"
- value 1902)
- (object Attribute
- tool "Oracle8"
- name "Function"
- value 1903)
- (object Attribute
- tool "Oracle8"
- name "Procedure"
- value 1904)
- (object Attribute
- tool "Oracle8"
- name "Operator"
- value 1905)
- (object Attribute
- tool "Oracle8"
- name "Constructor"
- value 1906)
- (object Attribute
- tool "Oracle8"
- name "Destructor"
- value 1907)
- (object Attribute
- tool "Oracle8"
- name "Trigger"
- value 1908)
- (object Attribute
- tool "Oracle8"
- name "Calculated"
- value 1909)))
- (object Attribute
- tool "Oracle8"
- name "TriggerTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "AFTER"
- value 1801)
- (object Attribute
- tool "Oracle8"
- name "BEFORE"
- value 1802)
- (object Attribute
- tool "Oracle8"
- name "INSTEAD OF"
- value 1803)))
- (object Attribute
- tool "Oracle8"
- name "TriggerForEachSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "ROW"
- value 1701)
- (object Attribute
- tool "Oracle8"
- name "STATEMENT"
- value 1702)))
- (object Attribute
- tool "Oracle8"
- name "TriggerEventSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "INSERT"
- value 1601)
- (object Attribute
- tool "Oracle8"
- name "UPDATE"
- value 1602)
- (object Attribute
- tool "Oracle8"
- name "DELETE"
- value 1603)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE"
- value 1604)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR DELETE"
- value 1605)
- (object Attribute
- tool "Oracle8"
- name "UPDATE OR DELETE"
- value 1606)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE OR DELETE"
- value 1607)))))
- (object Attribute
- tool "Oracle8"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "NullsAllowed"
- value TRUE)
- (object Attribute
- tool "Oracle8"
- name "Length"
- value "")
- (object Attribute
- tool "Oracle8"
- name "Precision"
- value "2")
- (object Attribute
- tool "Oracle8"
- name "Scale"
- value "6")
- (object Attribute
- tool "Oracle8"
- name "IsIndex"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsPrimaryKey"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "cg"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "cg"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "UseMSVC"
- value FALSE)
- (object Attribute
- tool "cg"
- name "HeaderFileExtension"
- value "h")
- (object Attribute
- tool "cg"
- name "HeaderFileBackupExtension"
- value "h~")
- (object Attribute
- tool "cg"
- name "HeaderFileTemporaryExtension"
- value "h#")
- (object Attribute
- tool "cg"
- name "CodeFileExtension"
- value "cpp")
- (object Attribute
- tool "cg"
- name "CodeFileBackupExtension"
- value "cp~")
- (object Attribute
- tool "cg"
- name "CodeFileTemporaryExtension"
- value "cp#")
- (object Attribute
- tool "cg"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "cg"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ErrorLimit"
- value 30)
- (object Attribute
- tool "cg"
- name "Directory"
- value "$ROSECPP_SOURCE")
- (object Attribute
- tool "cg"
- name "PathSeparator"
- value "")
- (object Attribute
- tool "cg"
- name "FileNameFormat"
- value "128vx_b")
- (object Attribute
- tool "cg"
- name "BooleanType"
- value "int")
- (object Attribute
- tool "cg"
- name "AllowTemplates"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowExplicitInstantiations"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowProtectedInheritance"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CommentWidth"
- value 60)
- (object Attribute
- tool "cg"
- name "OneByValueContainer"
- value "$targetClass")
- (object Attribute
- tool "cg"
- name "OneByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "OptionalByValueContainer"
- value "OptionalByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "OptionalByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "FixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "FixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "BoundedByValueContainer"
- value "BoundedListByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByValueContainer"
- value "BoundedSetByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "BoundedByReferenceContainer"
- value "BoundedListByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByReferenceContainer"
- value "BoundedSetByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnboundedByValueContainer"
- value "UnboundedListByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByValueContainer"
- value "UnboundedSetByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnboundedByReferenceContainer"
- value "UnboundedListByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByReferenceContainer"
- value "UnboundedSetByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "QualifiedByValueContainer"
- value "AssociationByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByValueContainer"
- value "DictionaryByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "QualifiedByReferenceContainer"
- value "AssociationByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByReferenceContainer"
- value "DictionaryByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "cg"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "cg"
- name "ClassKey"
- value "class")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "PutBodiesInSpec"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDefaultConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "DefaultConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateCopyConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "CopyConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDestructor"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DestructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DestructorKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineDestructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateAssignmentOperation"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "AssignmentVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "AssignmentKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineAssignmentOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateEqualityOperations"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "EqualityVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "EqualityKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineEqualityOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "RelationalVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "RelationalKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StorageMgmtVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "SubscriptVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "SubscriptKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "SubscriptResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DereferenceVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DereferenceKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "DereferenceResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IndirectionVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "IndirectionKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "IndirectionResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StreamVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ThreeKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)))
- (object Attribute
- tool "cg"
- name "KindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)))
- (object Attribute
- tool "cg"
- name "FriendKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GenerateSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "DeclareAndDefine"
- value 199)
- (object Attribute
- tool "cg"
- name "DeclareOnly"
- value 205)
- (object Attribute
- tool "cg"
- name "DoNotDeclare"
- value 206)))
- (object Attribute
- tool "cg"
- name "VisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)))
- (object Attribute
- tool "cg"
- name "ConstValue"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DefaultSpecifier"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.http/src/rose/httpbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.http/src/rose/httpbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value TRUE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "OperationKind"
- value ("OperationKindSet" 200))
- (object Attribute
- tool "cg"
- name "OperationKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "OperationIsConst"
- value FALSE)
- (object Attribute
- tool "cg"
- name "OperationIsExplicit"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Inline"
- value FALSE)
- (object Attribute
- tool "cg"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ExitCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "BodyAnnotations"
- value "")
- (object Attribute
- tool "cg"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Context"
- value "")
- (object Attribute
- tool "cg"
- name "Raises"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "Ordered"
- value TRUE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$relationship")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$relationship")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorName"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorType"
- value "")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "cg"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Association"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")))
- (object Attribute
- tool "cg"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InstanceArguments"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "ContainerGet"
- value "$data.get($keys)")
- (object Attribute
- tool "cg"
- name "ContainerSet"
- value "$data.set($keys,$value)")
- (object Attribute
- tool "cg"
- name "QualifiedContainer"
- value "")
- (object Attribute
- tool "cg"
- name "AssocClassContainer"
- value "$supplier *")
- (object Attribute
- tool "cg"
- name "AssocClassInitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReference"
- value ("QualifiedGetSetByReferenceSet" 2))
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReferenceSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_GetSetByReference"
- value 2)))
- (object Attribute
- tool "cg"
- name "GenerateQualifiedGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "QualifiedGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineQualifiedGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateQualifiedSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "QualifiedSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineQualifiedSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "AssocClassGetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GenerateAssocClassGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "AssocClassGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineAssocClassGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "AssocClassSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineAssocClassSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassForwardReferenceOnly"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "cg"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$attribute")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtAttributeVisibility"
- value 211)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$attribute")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$attribute")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BodyReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "DirectoryIsOnSearchList"
- value FALSE)
- (object Attribute
- tool "cg"
- name "PrecompiledHeader"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Category"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "IsNamespace"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Indent"
- value 2)
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))))
- (object Attribute
- tool "MSVC"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "MSVC"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Version"
- value "5.0")))
- (object Attribute
- tool "MSVC"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCClassTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCClassTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Interface_Part"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Connection_Part"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Class_Factory"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionality"
- value ("CObjectFunctionalitySet" 0))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionalitySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Dynamic"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Dyncreate"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Serial"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "GenerateOverrideGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateDataGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DATA_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateFieldGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_FIELD_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMessageGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateMessageMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "OLEFactory"
- value ("OLEFactorySet" 0))
- (object Attribute
- tool "MSVC"
- name "OLEFactorySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Built_in"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Simple"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Licensed"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "OLEName"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLEClassID"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLECtlType"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLECtlType"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLETypeLib"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLETypeLibID"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMajor"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMinor"
- value "")
- (object Attribute
- tool "MSVC"
- name "GeneratePropPageIDs"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLEPropPageIDs"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateDispatchMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockProperties"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockFunctions"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DispatchDefValue"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateDispIdEnum"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISP_ID_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInterfaceMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "INTERFACE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "InitInterface"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateEventMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockEvents"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateEventSinkMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "PropNotifySinks"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ConnectionPointIID"
- value "")
- (object Attribute
- tool "MSVC"
- name "InheritanceType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLECommands"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCDeclares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCImplements"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ATL_Declares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateCOMMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "COM_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionPointMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_POINT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMsgMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GeneratePropertyMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "PROPERTY_MAP_Entries"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCOperationTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCOperationTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Virtual_Override"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Message_Handler"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dispatch_Handler"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Event_Firing_Function"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Event_Sink_Handler"
- value 5)
- (object Attribute
- tool "MSVC"
- name "Std_OLE_Method"
- value 6)
- (object Attribute
- tool "MSVC"
- name "Command_Parser"
- value 7)
- (object Attribute
- tool "MSVC"
- name "Property_Get_Function"
- value 8)
- (object Attribute
- tool "MSVC"
- name "Property_Set_Function"
- value 9)
- (object Attribute
- tool "MSVC"
- name "Property_Notify_Function"
- value 10)
- (object Attribute
- tool "MSVC"
- name "Macro_Generated_Function"
- value 11)))
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "BodyImage"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "MSVC"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "SCC"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "TypeLibImporter"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "propertyId"
- value "783606378")
- (object Attribute
- tool "Visual Basic"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "CreatableSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "Private"
- value 221)
- (object Attribute
- tool "Visual Basic"
- name "PublicNotCreatable"
- value 213)
- (object Attribute
- tool "Visual Basic"
- name "SingleUse"
- value 214)
- (object Attribute
- tool "Visual Basic"
- name "GlobalSingleUse"
- value 215)
- (object Attribute
- tool "Visual Basic"
- name "MultiUse"
- value 219)
- (object Attribute
- tool "Visual Basic"
- name "GlobalMultiUse"
- value 220)))
- (object Attribute
- tool "Visual Basic"
- name "OptionBase"
- value "0")
- (object Attribute
- tool "Visual Basic"
- name "OptionExplicit"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "OptionCompare"
- value ("CompareSet" 202))
- (object Attribute
- tool "Visual Basic"
- name "Creatable"
- value ("CreatableSet" 221))
- (object Attribute
- tool "Visual Basic"
- name "GenerateInitialization"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateTermination"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "CollectionClass"
- value "Collection")
- (object Attribute
- tool "Visual Basic"
- name "CompareSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "None"
- value 202)
- (object Attribute
- tool "Visual Basic"
- name "Binary"
- value 203)
- (object Attribute
- tool "Visual Basic"
- name "Text"
- value 204)))))
- (object Attribute
- tool "Visual Basic"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "OperationName"
- value "$operation")
- (object Attribute
- tool "Visual Basic"
- name "LibraryName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "AliasName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "IsStatic"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "Visual Basic"
- name "ExitCode"
- value (value Text ""))))
- (object Attribute
- tool "Visual Basic"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ImplementsDelegation"
- value TRUE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ProjectFile"
- value "")))
- (object Attribute
- tool "Visual Basic"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "VisualStudio"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "CORBA"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "CORBA"
- name "Editor"
- value ("EditorType" 100))
- (object Attribute
- tool "CORBA"
- name "IncludePath"
- value "")
- (object Attribute
- tool "CORBA"
- name "StopOnError"
- value TRUE)
- (object Attribute
- tool "CORBA"
- name "EditorType"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "BuiltIn"
- value 100)
- (object Attribute
- tool "CORBA"
- name "WindowsShell"
- value 101)))))
- (object Attribute
- tool "CORBA"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "ConstValue"
- value "")
- (object Attribute
- tool "CORBA"
- name "ImplementationType"
- value "")))
- (object Attribute
- tool "CORBA"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "CmIdentification"
- value (value Text " %X% %Q% %Z% %W%"))
- (object Attribute
- tool "CORBA"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")))
- (object Attribute
- tool "CORBA"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "CmIdentification"
- value (value Text " %X% %Q% %Z% %W%"))
- (object Attribute
- tool "CORBA"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")))
- (object Attribute
- tool "CORBA"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "Context"
- value "")
- (object Attribute
- tool "CORBA"
- name "OperationIsOneWay"
- value FALSE)))
- (object Attribute
- tool "CORBA"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "CORBA"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "Order"
- value "")))
- (object Attribute
- tool "CORBA"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "CORBA"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "Order"
- value "")
- (object Attribute
- tool "CORBA"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "CORBA"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "Array"
- value 24)
- (object Attribute
- tool "CORBA"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "CORBA"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "CORBA"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Default_Servlet__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "ServletName"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContextRef"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsSingleThread"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletInitParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletInitParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletIsSecure"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcher"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcherPath"
- value "")
- (object Attribute
- tool "Java"
- name "DispatcherInclude"
- value FALSE)
- (object Attribute
- tool "Java"
- name "DispatcherForward"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "ServletgetInfo"
- value "")
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "Http_Servlet__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "ServletRequestAttribute"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttributesNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestAttributes"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestParameters"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeader"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeaderNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForHeaders"
- value "")
- (object Attribute
- tool "Java"
- name "ServletIntHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletDateHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletCookie"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForCookie"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContentType"
- value "")
- (object Attribute
- tool "Java"
- name "GenerateHTML"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "Default_EJB__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate_XML_DD"
- value TRUE)
- (object Attribute
- tool "Java"
- name "EJBCmpField"
- value "")
- (object Attribute
- tool "Java"
- name "EJBEnvironmentProperties"
- value "")
- (object Attribute
- tool "Java"
- name "EJBCnxFactory"
- value "")
- (object Attribute
- tool "Java"
- name "EJBReferences"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "EJBNameInJAR"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSessionType"
- value ("EJBSessionType_Set" 200))
- (object Attribute
- tool "Java"
- name "EJBSessionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 200)
- (object Attribute
- tool "Java"
- name "Stateless"
- value 201)
- (object Attribute
- tool "Java"
- name "Stateful"
- value 202)))
- (object Attribute
- tool "Java"
- name "EJBTransactionType"
- value ("EJBTransactionType_Set" 211))
- (object Attribute
- tool "Java"
- name "EJBTransactionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Container"
- value 211)
- (object Attribute
- tool "Java"
- name "Bean"
- value 212)))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType"
- value ("EJBPersistenceType_Set" 220))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 220)
- (object Attribute
- tool "Java"
- name "Bean"
- value 221)
- (object Attribute
- tool "Java"
- name "Container"
- value 222)))
- (object Attribute
- tool "Java"
- name "EJBReentrant"
- value FALSE)
- (object Attribute
- tool "Java"
- name "BMP_Extend_CMP"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "R2Editor"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Rose Model Integrator"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Rose Web Publisher"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Version Control"
- name "HiddenTool"
- value FALSE))
- quid "3ABFD9A70154"))
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPAddress.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPAddress.java
deleted file mode 100644
index e5ab58873..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPAddress.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.http.HTTPAddress#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPAddress()
- * @model
- * @generated
- */
-public interface HTTPAddress extends ExtensibilityElement, javax.wsdl.extensions.http.HTTPAddress {
- /**
- * Returns the value of the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Location URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Location URI</em>' attribute.
- * @see #setLocationURI(String)
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPAddress_LocationURI()
- * @model
- * @generated
- */
- String getLocationURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.http.HTTPAddress#getLocationURI <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Location URI</em>' attribute.
- * @see #getLocationURI()
- * @generated
- */
- void setLocationURI(String value);
-
-} // HTTPAddress
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPBinding.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPBinding.java
deleted file mode 100644
index 573254c0a..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPBinding.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.http.HTTPBinding#getVerb <em>Verb</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPBinding()
- * @model
- * @generated
- */
-public interface HTTPBinding extends ExtensibilityElement, javax.wsdl.extensions.http.HTTPBinding {
- /**
- * Returns the value of the '<em><b>Verb</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Verb</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Verb</em>' attribute.
- * @see #setVerb(String)
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPBinding_Verb()
- * @model
- * @generated
- */
- String getVerb();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.http.HTTPBinding#getVerb <em>Verb</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Verb</em>' attribute.
- * @see #getVerb()
- * @generated
- */
- void setVerb(String value);
-
-} // HTTPBinding
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPFactory.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPFactory.java
deleted file mode 100644
index bd582b172..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPFactory.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage
- * @generated
- */
-public interface HTTPFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- HTTPFactory eINSTANCE = new org.eclipse.wst.wsdl.binding.http.internal.impl.HTTPFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding</em>'.
- * @generated
- */
- HTTPBinding createHTTPBinding();
-
- /**
- * Returns a new object of class '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Operation</em>'.
- * @generated
- */
- HTTPOperation createHTTPOperation();
-
- /**
- * Returns a new object of class '<em>Url Replacement</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Url Replacement</em>'.
- * @generated
- */
- HTTPUrlReplacement createHTTPUrlReplacement();
-
- /**
- * Returns a new object of class '<em>Url Encoded</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Url Encoded</em>'.
- * @generated
- */
- HTTPUrlEncoded createHTTPUrlEncoded();
-
- /**
- * Returns a new object of class '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Address</em>'.
- * @generated
- */
- HTTPAddress createHTTPAddress();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- HTTPPackage getHTTPPackage();
-
-} //HTTPFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPOperation.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPOperation.java
deleted file mode 100644
index 170a9a15b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPOperation.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Operation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.http.HTTPOperation#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPOperation()
- * @model
- * @generated
- */
-public interface HTTPOperation extends ExtensibilityElement, javax.wsdl.extensions.http.HTTPOperation {
- /**
- * Returns the value of the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Location URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Location URI</em>' attribute.
- * @see #setLocationURI(String)
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPOperation_LocationURI()
- * @model
- * @generated
- */
- String getLocationURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.http.HTTPOperation#getLocationURI <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Location URI</em>' attribute.
- * @see #getLocationURI()
- * @generated
- */
- void setLocationURI(String value);
-
-} // HTTPOperation
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPPackage.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPPackage.java
deleted file mode 100644
index 19d659b7b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPPackage.java
+++ /dev/null
@@ -1,612 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.wst.wsdl.WSDLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.HTTPFactory
- * @generated
- */
-public interface HTTPPackage extends EPackage{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "http";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.ibm.com/wsdl/2003/HTTP";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "http";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- HTTPPackage eINSTANCE = org.eclipse.wst.wsdl.binding.http.internal.impl.HTTPPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPBindingImpl <em>Binding</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPBindingImpl
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getHTTPBinding()
- * @generated
- */
- int HTTP_BINDING = 0;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_BINDING__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_BINDING__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_BINDING__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_BINDING__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Verb</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_BINDING__VERB = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Binding</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_BINDING_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPOperationImpl <em>Operation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPOperationImpl
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getHTTPOperation()
- * @generated
- */
- int HTTP_OPERATION = 1;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_OPERATION__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_OPERATION__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_OPERATION__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_OPERATION__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_OPERATION__LOCATION_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Operation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_OPERATION_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPUrlReplacementImpl <em>Url Replacement</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPUrlReplacementImpl
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getHTTPUrlReplacement()
- * @generated
- */
- int HTTP_URL_REPLACEMENT = 2;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_REPLACEMENT__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_REPLACEMENT__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_REPLACEMENT__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_REPLACEMENT__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The number of structural features of the the '<em>Url Replacement</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_REPLACEMENT_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPUrlEncodedImpl <em>Url Encoded</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPUrlEncodedImpl
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getHTTPUrlEncoded()
- * @generated
- */
- int HTTP_URL_ENCODED = 3;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_ENCODED__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_ENCODED__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_ENCODED__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_ENCODED__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The number of structural features of the the '<em>Url Encoded</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_URL_ENCODED_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPAddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPAddressImpl
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getHTTPAddress()
- * @generated
- */
- int HTTP_ADDRESS = 4;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_ADDRESS__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_ADDRESS__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_ADDRESS__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_ADDRESS__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_ADDRESS__LOCATION_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_ADDRESS_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.http.HTTPAddress <em>IHTTP Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.http.HTTPAddress
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getIHTTPAddress()
- * @generated
- */
- int IHTTP_ADDRESS = 5;
-
- /**
- * The number of structural features of the the '<em>IHTTP Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IHTTP_ADDRESS_FEATURE_COUNT = 0;
-
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.http.HTTPBinding <em>IHTTP Binding</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.http.HTTPBinding
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getIHTTPBinding()
- * @generated
- */
- int IHTTP_BINDING = 6;
-
- /**
- * The number of structural features of the the '<em>IHTTP Binding</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IHTTP_BINDING_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.http.HTTPOperation <em>IHTTP Operation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.http.HTTPOperation
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getIHTTPOperation()
- * @generated
- */
- int IHTTP_OPERATION = 7;
-
- /**
- * The number of structural features of the the '<em>IHTTP Operation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IHTTP_OPERATION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.http.HTTPUrlEncoded <em>IHTTP Url Encoded</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.http.HTTPUrlEncoded
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getIHTTPUrlEncoded()
- * @generated
- */
- int IHTTP_URL_ENCODED = 8;
-
- /**
- * The number of structural features of the the '<em>IHTTP Url Encoded</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IHTTP_URL_ENCODED_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.http.HTTPUrlReplacement <em>IHTTP Url Replacement</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.http.HTTPUrlReplacement
- * @see org.eclipse.wst.wsdl.binding.http.impl.HTTPPackageImpl#getIHTTPUrlReplacement()
- * @generated
- */
- int IHTTP_URL_REPLACEMENT = 9;
-
- /**
- * The number of structural features of the the '<em>IHTTP Url Replacement</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IHTTP_URL_REPLACEMENT_FEATURE_COUNT = 0;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.http.HTTPBinding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPBinding
- * @generated
- */
- EClass getHTTPBinding();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.http.HTTPBinding#getVerb <em>Verb</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Verb</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPBinding#getVerb()
- * @see #getHTTPBinding()
- * @generated
- */
- EAttribute getHTTPBinding_Verb();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.http.HTTPOperation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Operation</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPOperation
- * @generated
- */
- EClass getHTTPOperation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.http.HTTPOperation#getLocationURI <em>Location URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPOperation#getLocationURI()
- * @see #getHTTPOperation()
- * @generated
- */
- EAttribute getHTTPOperation_LocationURI();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement <em>Url Replacement</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Url Replacement</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement
- * @generated
- */
- EClass getHTTPUrlReplacement();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded <em>Url Encoded</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Url Encoded</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded
- * @generated
- */
- EClass getHTTPUrlEncoded();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.http.HTTPAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Address</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPAddress
- * @generated
- */
- EClass getHTTPAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.http.HTTPAddress#getLocationURI <em>Location URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPAddress#getLocationURI()
- * @see #getHTTPAddress()
- * @generated
- */
- EAttribute getHTTPAddress_LocationURI();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.http.HTTPAddress <em>IHTTP Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IHTTP Address</em>'.
- * @see javax.wsdl.extensions.http.HTTPAddress
- * @model instanceClass="javax.wsdl.extensions.http.HTTPAddress"
- * @generated
- */
- EClass getIHTTPAddress();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.http.HTTPBinding <em>IHTTP Binding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IHTTP Binding</em>'.
- * @see javax.wsdl.extensions.http.HTTPBinding
- * @model instanceClass="javax.wsdl.extensions.http.HTTPBinding"
- * @generated
- */
- EClass getIHTTPBinding();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.http.HTTPOperation <em>IHTTP Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IHTTP Operation</em>'.
- * @see javax.wsdl.extensions.http.HTTPOperation
- * @model instanceClass="javax.wsdl.extensions.http.HTTPOperation"
- * @generated
- */
- EClass getIHTTPOperation();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.http.HTTPUrlEncoded <em>IHTTP Url Encoded</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IHTTP Url Encoded</em>'.
- * @see javax.wsdl.extensions.http.HTTPUrlEncoded
- * @model instanceClass="javax.wsdl.extensions.http.HTTPUrlEncoded"
- * @generated
- */
- EClass getIHTTPUrlEncoded();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.http.HTTPUrlReplacement <em>IHTTP Url Replacement</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IHTTP Url Replacement</em>'.
- * @see javax.wsdl.extensions.http.HTTPUrlReplacement
- * @model instanceClass="javax.wsdl.extensions.http.HTTPUrlReplacement"
- * @generated
- */
- EClass getIHTTPUrlReplacement();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- HTTPFactory getHTTPFactory();
-
-} //HTTPPackage
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlEncoded.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlEncoded.java
deleted file mode 100644
index d06c0085b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlEncoded.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Url Encoded</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPUrlEncoded()
- * @model
- * @generated
- */
-public interface HTTPUrlEncoded extends ExtensibilityElement, javax.wsdl.extensions.http.HTTPUrlEncoded {
-} // HTTPUrlEncoded
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlReplacement.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlReplacement.java
deleted file mode 100644
index 00d1dde49..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlReplacement.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Url Replacement</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#getHTTPUrlReplacement()
- * @model
- * @generated
- */
-public interface HTTPUrlReplacement extends ExtensibilityElement, javax.wsdl.extensions.http.HTTPUrlReplacement {
-} // HTTPUrlReplacement
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPAddressImpl.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPAddressImpl.java
deleted file mode 100644
index 741d45072..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPAddressImpl.java
+++ /dev/null
@@ -1,251 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.internal.util.HTTPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPAddressImpl#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class HTTPAddressImpl extends ExtensibilityElementImpl implements HTTPAddress {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected String locationURI = LOCATION_URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HTTPAddressImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return HTTPPackage.eINSTANCE.getHTTPAddress();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocationURI() {
- return locationURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocationURI(String newLocationURI) {
- String oldLocationURI = locationURI;
- locationURI = newLocationURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, HTTPPackage.HTTP_ADDRESS__LOCATION_URI, oldLocationURI, locationURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_ADDRESS__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case HTTPPackage.HTTP_ADDRESS__ELEMENT:
- return getElement();
- case HTTPPackage.HTTP_ADDRESS__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case HTTPPackage.HTTP_ADDRESS__ELEMENT_TYPE:
- return getElementType();
- case HTTPPackage.HTTP_ADDRESS__LOCATION_URI:
- return getLocationURI();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_ADDRESS__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_ADDRESS__ELEMENT:
- setElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_ADDRESS__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case HTTPPackage.HTTP_ADDRESS__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case HTTPPackage.HTTP_ADDRESS__LOCATION_URI:
- setLocationURI((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_ADDRESS__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_ADDRESS__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_ADDRESS__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case HTTPPackage.HTTP_ADDRESS__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case HTTPPackage.HTTP_ADDRESS__LOCATION_URI:
- setLocationURI(LOCATION_URI_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_ADDRESS__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case HTTPPackage.HTTP_ADDRESS__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case HTTPPackage.HTTP_ADDRESS__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case HTTPPackage.HTTP_ADDRESS__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case HTTPPackage.HTTP_ADDRESS__LOCATION_URI:
- return LOCATION_URI_EDEFAULT == null ? locationURI != null : !LOCATION_URI_EDEFAULT.equals(locationURI);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (locationURI: ");
- result.append(locationURI);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setLocationURI
- (HTTPConstants.getAttribute(changedElement, HTTPConstants.LOCATION_URI_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == HTTPPackage.eINSTANCE.getHTTPAddress_LocationURI())
- niceSetAttribute(theElement,HTTPConstants.LOCATION_URI_ATTRIBUTE,getLocationURI());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(HTTPConstants.HTTP_NAMESPACE_URI, HTTPConstants.ADDRESS_ELEMENT_TAG);
- return elementType;
- }
-} //HTTPAddressImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPBindingImpl.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPBindingImpl.java
deleted file mode 100644
index beb4bbbcc..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPBindingImpl.java
+++ /dev/null
@@ -1,252 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.http.HTTPBinding;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.internal.util.HTTPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Binding</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPBindingImpl#getVerb <em>Verb</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class HTTPBindingImpl extends ExtensibilityElementImpl implements HTTPBinding {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getVerb() <em>Verb</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVerb()
- * @generated
- * @ordered
- */
- protected static final String VERB_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getVerb() <em>Verb</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVerb()
- * @generated
- * @ordered
- */
- protected String verb = VERB_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HTTPBindingImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return HTTPPackage.eINSTANCE.getHTTPBinding();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getVerb() {
- return verb;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setVerb(String newVerb) {
- String oldVerb = verb;
- verb = newVerb;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, HTTPPackage.HTTP_BINDING__VERB, oldVerb, verb));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_BINDING__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case HTTPPackage.HTTP_BINDING__ELEMENT:
- return getElement();
- case HTTPPackage.HTTP_BINDING__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case HTTPPackage.HTTP_BINDING__ELEMENT_TYPE:
- return getElementType();
- case HTTPPackage.HTTP_BINDING__VERB:
- return getVerb();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_BINDING__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_BINDING__ELEMENT:
- setElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_BINDING__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case HTTPPackage.HTTP_BINDING__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case HTTPPackage.HTTP_BINDING__VERB:
- setVerb((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_BINDING__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_BINDING__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_BINDING__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case HTTPPackage.HTTP_BINDING__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case HTTPPackage.HTTP_BINDING__VERB:
- setVerb(VERB_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_BINDING__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case HTTPPackage.HTTP_BINDING__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case HTTPPackage.HTTP_BINDING__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case HTTPPackage.HTTP_BINDING__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case HTTPPackage.HTTP_BINDING__VERB:
- return VERB_EDEFAULT == null ? verb != null : !VERB_EDEFAULT.equals(verb);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (verb: ");
- result.append(verb);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setVerb
- (HTTPConstants.getAttribute(changedElement, HTTPConstants.VERB_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == HTTPPackage.eINSTANCE.getHTTPBinding_Verb())
- niceSetAttribute(theElement,HTTPConstants.VERB_ATTRIBUTE,getVerb());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(HTTPConstants.HTTP_NAMESPACE_URI, HTTPConstants.BINDING_ELEMENT_TAG);
- return elementType;
- }
-
-} //HTTPBindingImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPFactoryImpl.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPFactoryImpl.java
deleted file mode 100644
index 9c1e97e9d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPFactoryImpl.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.impl;
-
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.http.HTTPBinding;
-import org.eclipse.wst.wsdl.binding.http.HTTPFactory;
-import org.eclipse.wst.wsdl.binding.http.HTTPOperation;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class HTTPFactoryImpl extends EFactoryImpl implements HTTPFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case HTTPPackage.HTTP_BINDING: return createHTTPBinding();
- case HTTPPackage.HTTP_OPERATION: return createHTTPOperation();
- case HTTPPackage.HTTP_URL_REPLACEMENT: return createHTTPUrlReplacement();
- case HTTPPackage.HTTP_URL_ENCODED: return createHTTPUrlEncoded();
- case HTTPPackage.HTTP_ADDRESS: return createHTTPAddress();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPBinding createHTTPBinding() {
- HTTPBindingImpl httpBinding = new HTTPBindingImpl();
- return httpBinding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPOperation createHTTPOperation() {
- HTTPOperationImpl httpOperation = new HTTPOperationImpl();
- return httpOperation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPUrlReplacement createHTTPUrlReplacement() {
- HTTPUrlReplacementImpl httpUrlReplacement = new HTTPUrlReplacementImpl();
- return httpUrlReplacement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPUrlEncoded createHTTPUrlEncoded() {
- HTTPUrlEncodedImpl httpUrlEncoded = new HTTPUrlEncodedImpl();
- return httpUrlEncoded;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPAddress createHTTPAddress() {
- HTTPAddressImpl httpAddress = new HTTPAddressImpl();
- return httpAddress;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPPackage getHTTPPackage() {
- return (HTTPPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static HTTPPackage getPackage() {
- return HTTPPackage.eINSTANCE;
- }
-} //HTTPFactoryImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPOperationImpl.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPOperationImpl.java
deleted file mode 100644
index d266baa69..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPOperationImpl.java
+++ /dev/null
@@ -1,252 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.http.HTTPOperation;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.internal.util.HTTPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Operation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.http.impl.HTTPOperationImpl#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class HTTPOperationImpl extends ExtensibilityElementImpl implements HTTPOperation {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected String locationURI = LOCATION_URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HTTPOperationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return HTTPPackage.eINSTANCE.getHTTPOperation();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocationURI() {
- return locationURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocationURI(String newLocationURI) {
- String oldLocationURI = locationURI;
- locationURI = newLocationURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, HTTPPackage.HTTP_OPERATION__LOCATION_URI, oldLocationURI, locationURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_OPERATION__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case HTTPPackage.HTTP_OPERATION__ELEMENT:
- return getElement();
- case HTTPPackage.HTTP_OPERATION__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case HTTPPackage.HTTP_OPERATION__ELEMENT_TYPE:
- return getElementType();
- case HTTPPackage.HTTP_OPERATION__LOCATION_URI:
- return getLocationURI();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_OPERATION__ELEMENT:
- setElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_OPERATION__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case HTTPPackage.HTTP_OPERATION__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case HTTPPackage.HTTP_OPERATION__LOCATION_URI:
- setLocationURI((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_OPERATION__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_OPERATION__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case HTTPPackage.HTTP_OPERATION__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case HTTPPackage.HTTP_OPERATION__LOCATION_URI:
- setLocationURI(LOCATION_URI_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_OPERATION__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case HTTPPackage.HTTP_OPERATION__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case HTTPPackage.HTTP_OPERATION__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case HTTPPackage.HTTP_OPERATION__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case HTTPPackage.HTTP_OPERATION__LOCATION_URI:
- return LOCATION_URI_EDEFAULT == null ? locationURI != null : !LOCATION_URI_EDEFAULT.equals(locationURI);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (locationURI: ");
- result.append(locationURI);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setLocationURI
- (HTTPConstants.getAttribute(changedElement, HTTPConstants.LOCATION_URI_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == HTTPPackage.eINSTANCE.getHTTPOperation_LocationURI())
- niceSetAttribute(theElement,HTTPConstants.LOCATION_URI_ATTRIBUTE,getLocationURI());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(HTTPConstants.HTTP_NAMESPACE_URI, HTTPConstants.OPERATION_ELEMENT_TAG);
- return elementType;
- }
-
-} //HTTPOperationImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPPackageImpl.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPPackageImpl.java
deleted file mode 100644
index 4c1adabe5..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPPackageImpl.java
+++ /dev/null
@@ -1,412 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.http.HTTPBinding;
-import org.eclipse.wst.wsdl.binding.http.HTTPFactory;
-import org.eclipse.wst.wsdl.binding.http.HTTPOperation;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement;
-import org.eclipse.wst.wsdl.internal.impl.WSDLPackageImpl;
-import org.eclipse.xsd.impl.XSDPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class HTTPPackageImpl extends EPackageImpl implements HTTPPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass httpBindingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass httpOperationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass httpUrlReplacementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass httpUrlEncodedEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass httpAddressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ihttpAddressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ihttpBindingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ihttpOperationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ihttpUrlEncodedEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ihttpUrlReplacementEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private HTTPPackageImpl() {
- super(eNS_URI, HTTPFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static HTTPPackage init() {
- if (isInited) return (HTTPPackage)EPackage.Registry.INSTANCE.get(HTTPPackage.eNS_URI);
-
- // Obtain or create and register package.
- HTTPPackageImpl theHTTPPackage = (HTTPPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new HTTPPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XSDPackageImpl.init();
-
- // Obtain or create and register interdependencies
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)(EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) : WSDLPackageImpl.eINSTANCE);
-
- // Step 1: create meta-model objects
- theHTTPPackage.createPackageContents();
- theWSDLPackage.createPackageContents();
-
- // Step 2: complete initialization
- theHTTPPackage.initializePackageContents();
- theWSDLPackage.initializePackageContents();
-
- return theHTTPPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHTTPBinding() {
- return httpBindingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getHTTPBinding_Verb() {
- return (EAttribute)httpBindingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHTTPOperation() {
- return httpOperationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getHTTPOperation_LocationURI() {
- return (EAttribute)httpOperationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHTTPUrlReplacement() {
- return httpUrlReplacementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHTTPUrlEncoded() {
- return httpUrlEncodedEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHTTPAddress() {
- return httpAddressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getHTTPAddress_LocationURI() {
- return (EAttribute)httpAddressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIHTTPAddress() {
- return ihttpAddressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIHTTPBinding() {
- return ihttpBindingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIHTTPOperation() {
- return ihttpOperationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIHTTPUrlEncoded() {
- return ihttpUrlEncodedEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIHTTPUrlReplacement() {
- return ihttpUrlReplacementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPFactory getHTTPFactory() {
- return (HTTPFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- httpBindingEClass = createEClass(HTTP_BINDING);
- createEAttribute(httpBindingEClass, HTTP_BINDING__VERB);
-
- httpOperationEClass = createEClass(HTTP_OPERATION);
- createEAttribute(httpOperationEClass, HTTP_OPERATION__LOCATION_URI);
-
- httpUrlReplacementEClass = createEClass(HTTP_URL_REPLACEMENT);
-
- httpUrlEncodedEClass = createEClass(HTTP_URL_ENCODED);
-
- httpAddressEClass = createEClass(HTTP_ADDRESS);
- createEAttribute(httpAddressEClass, HTTP_ADDRESS__LOCATION_URI);
-
- ihttpAddressEClass = createEClass(IHTTP_ADDRESS);
-
- ihttpBindingEClass = createEClass(IHTTP_BINDING);
-
- ihttpOperationEClass = createEClass(IHTTP_OPERATION);
-
- ihttpUrlEncodedEClass = createEClass(IHTTP_URL_ENCODED);
-
- ihttpUrlReplacementEClass = createEClass(IHTTP_URL_REPLACEMENT);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)EPackage.Registry.INSTANCE.getEPackage(WSDLPackage.eNS_URI);
-
- // Add supertypes to classes
- httpBindingEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- httpBindingEClass.getESuperTypes().add(this.getIHTTPBinding());
- httpOperationEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- httpOperationEClass.getESuperTypes().add(this.getIHTTPOperation());
- httpUrlReplacementEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- httpUrlReplacementEClass.getESuperTypes().add(this.getIHTTPUrlReplacement());
- httpUrlEncodedEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- httpUrlEncodedEClass.getESuperTypes().add(this.getIHTTPUrlEncoded());
- httpAddressEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- httpAddressEClass.getESuperTypes().add(this.getIHTTPAddress());
-
- // Initialize classes and features; add operations and parameters
- initEClass(httpBindingEClass, HTTPBinding.class, "HTTPBinding", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getHTTPBinding_Verb(), ecorePackage.getEString(), "verb", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(httpOperationEClass, HTTPOperation.class, "HTTPOperation", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getHTTPOperation_LocationURI(), ecorePackage.getEString(), "locationURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(httpUrlReplacementEClass, HTTPUrlReplacement.class, "HTTPUrlReplacement", !IS_ABSTRACT, !IS_INTERFACE);
-
- initEClass(httpUrlEncodedEClass, HTTPUrlEncoded.class, "HTTPUrlEncoded", !IS_ABSTRACT, !IS_INTERFACE);
-
- initEClass(httpAddressEClass, HTTPAddress.class, "HTTPAddress", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getHTTPAddress_LocationURI(), ecorePackage.getEString(), "locationURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(ihttpAddressEClass, javax.wsdl.extensions.http.HTTPAddress.class, "IHTTPAddress", IS_ABSTRACT, IS_INTERFACE);
-
- initEClass(ihttpBindingEClass, javax.wsdl.extensions.http.HTTPBinding.class, "IHTTPBinding", IS_ABSTRACT, IS_INTERFACE);
-
- initEClass(ihttpOperationEClass, javax.wsdl.extensions.http.HTTPOperation.class, "IHTTPOperation", IS_ABSTRACT, IS_INTERFACE);
-
- initEClass(ihttpUrlEncodedEClass, javax.wsdl.extensions.http.HTTPUrlEncoded.class, "IHTTPUrlEncoded", IS_ABSTRACT, IS_INTERFACE);
-
- initEClass(ihttpUrlReplacementEClass, javax.wsdl.extensions.http.HTTPUrlReplacement.class, "IHTTPUrlReplacement", IS_ABSTRACT, IS_INTERFACE);
-
- // Create resource
- createResource(eNS_URI);
- }
-} //HTTPPackageImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlEncodedImpl.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlEncodedImpl.java
deleted file mode 100644
index f681e94ce..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlEncodedImpl.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded;
-import org.eclipse.wst.wsdl.binding.http.internal.util.HTTPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Url Encoded</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class HTTPUrlEncodedImpl extends ExtensibilityElementImpl implements HTTPUrlEncoded {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HTTPUrlEncodedImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return HTTPPackage.eINSTANCE.getHTTPUrlEncoded();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_ENCODED__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT:
- return getElement();
- case HTTPPackage.HTTP_URL_ENCODED__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT_TYPE:
- return getElementType();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_ENCODED__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT:
- setElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_URL_ENCODED__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_ENCODED__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_URL_ENCODED__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_ENCODED__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case HTTPPackage.HTTP_URL_ENCODED__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case HTTPPackage.HTTP_URL_ENCODED__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- }
- return eDynamicIsSet(eFeature);
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(HTTPConstants.HTTP_NAMESPACE_URI, HTTPConstants.URL_ENCODED_ELEMENT_TAG);
- return elementType;
- }
-
-} //HTTPUrlEncodedImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlReplacementImpl.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlReplacementImpl.java
deleted file mode 100644
index d58b4e888..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlReplacementImpl.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement;
-import org.eclipse.wst.wsdl.binding.http.internal.util.HTTPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Url Replacement</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class HTTPUrlReplacementImpl extends ExtensibilityElementImpl implements HTTPUrlReplacement {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HTTPUrlReplacementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return HTTPPackage.eINSTANCE.getHTTPUrlReplacement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_REPLACEMENT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT:
- return getElement();
- case HTTPPackage.HTTP_URL_REPLACEMENT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT_TYPE:
- return getElementType();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_REPLACEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT:
- setElement((Element)newValue);
- return;
- case HTTPPackage.HTTP_URL_REPLACEMENT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_REPLACEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case HTTPPackage.HTTP_URL_REPLACEMENT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case HTTPPackage.HTTP_URL_REPLACEMENT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case HTTPPackage.HTTP_URL_REPLACEMENT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case HTTPPackage.HTTP_URL_REPLACEMENT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- }
- return eDynamicIsSet(eFeature);
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(HTTPConstants.HTTP_NAMESPACE_URI, HTTPConstants.URL_REPLACEMENT_ELEMENT_TAG);
- return elementType;
- }
-
-} //HTTPUrlReplacementImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPAdapterFactory.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPAdapterFactory.java
deleted file mode 100644
index bf7481a1d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPAdapterFactory.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.http.HTTPBinding;
-import org.eclipse.wst.wsdl.binding.http.HTTPOperation;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage
- * @generated
- */
-public class HTTPAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static HTTPPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = HTTPPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HTTPSwitch modelSwitch =
- new HTTPSwitch() {
- public Object caseHTTPBinding(HTTPBinding object) {
- return createHTTPBindingAdapter();
- }
- public Object caseHTTPOperation(HTTPOperation object) {
- return createHTTPOperationAdapter();
- }
- public Object caseHTTPUrlReplacement(HTTPUrlReplacement object) {
- return createHTTPUrlReplacementAdapter();
- }
- public Object caseHTTPUrlEncoded(HTTPUrlEncoded object) {
- return createHTTPUrlEncodedAdapter();
- }
- public Object caseHTTPAddress(HTTPAddress object) {
- return createHTTPAddressAdapter();
- }
- public Object caseIHTTPAddress(javax.wsdl.extensions.http.HTTPAddress object) {
- return createIHTTPAddressAdapter();
- }
- public Object caseIHTTPBinding(javax.wsdl.extensions.http.HTTPBinding object) {
- return createIHTTPBindingAdapter();
- }
- public Object caseIHTTPOperation(javax.wsdl.extensions.http.HTTPOperation object) {
- return createIHTTPOperationAdapter();
- }
- public Object caseIHTTPUrlEncoded(javax.wsdl.extensions.http.HTTPUrlEncoded object) {
- return createIHTTPUrlEncodedAdapter();
- }
- public Object caseIHTTPUrlReplacement(javax.wsdl.extensions.http.HTTPUrlReplacement object) {
- return createIHTTPUrlReplacementAdapter();
- }
- public Object caseWSDLElement(WSDLElement object) {
- return createWSDLElementAdapter();
- }
- public Object caseIExtensibilityElement(ExtensibilityElement object) {
- return createIExtensibilityElementAdapter();
- }
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object) {
- return createExtensibilityElementAdapter();
- }
- public Object defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target) {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.http.HTTPBinding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPBinding
- * @generated
- */
- public Adapter createHTTPBindingAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.http.HTTPOperation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPOperation
- * @generated
- */
- public Adapter createHTTPOperationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement <em>Url Replacement</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement
- * @generated
- */
- public Adapter createHTTPUrlReplacementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded <em>Url Encoded</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded
- * @generated
- */
- public Adapter createHTTPUrlEncodedAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.http.HTTPAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.http.HTTPAddress
- * @generated
- */
- public Adapter createHTTPAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.http.HTTPAddress <em>IHTTP Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.http.HTTPAddress
- * @generated
- */
- public Adapter createIHTTPAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.http.HTTPBinding <em>IHTTP Binding</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.http.HTTPBinding
- * @generated
- */
- public Adapter createIHTTPBindingAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.http.HTTPOperation <em>IHTTP Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.http.HTTPOperation
- * @generated
- */
- public Adapter createIHTTPOperationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.http.HTTPUrlEncoded <em>IHTTP Url Encoded</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.http.HTTPUrlEncoded
- * @generated
- */
- public Adapter createIHTTPUrlEncodedAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.http.HTTPUrlReplacement <em>IHTTP Url Replacement</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.http.HTTPUrlReplacement
- * @generated
- */
- public Adapter createIHTTPUrlReplacementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.WSDLElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.WSDLElement
- * @generated
- */
- public Adapter createWSDLElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.ExtensibilityElement <em>IExtensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.ExtensibilityElement
- * @generated
- */
- public Adapter createIExtensibilityElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.ExtensibilityElement <em>Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement
- * @generated
- */
- public Adapter createExtensibilityElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //HTTPAdapterFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPConstants.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPConstants.java
deleted file mode 100644
index 1b46a1a99..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPConstants.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.util;
-
-import org.w3c.dom.Element;
-
-public final class HTTPConstants
-{
- public static final String ADDRESS_ELEMENT_TAG = "address";
- public static final String BINDING_ELEMENT_TAG = "binding";
- public static final String OPERATION_ELEMENT_TAG = "operation";
- public static final String URL_ENCODED_ELEMENT_TAG = "urlEncoded";
- public static final String URL_REPLACEMENT_ELEMENT_TAG = "urlReplacement";
-
- public static final String HTTP_NAMESPACE_URI = "http://schemas.xmlsoap.org/wsdl/http/";
-
- public static final String LOCATION_URI_ATTRIBUTE ="location";
- public static final String VERB_ATTRIBUTE ="verb";
-
- public static String getAttribute(Element element, String attributeName)
- {
- return element.hasAttribute(attributeName) ? element.getAttribute(attributeName) : null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPExtensibilityElementFactory.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPExtensibilityElementFactory.java
deleted file mode 100644
index ef962d1ce..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPExtensibilityElementFactory.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.util;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.binding.http.HTTPFactory;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-
-public class HTTPExtensibilityElementFactory implements ExtensibilityElementFactory
-{
- public ExtensibilityElement createExtensibilityElement(String namespace, String localName)
- {
- if (HTTPConstants.HTTP_NAMESPACE_URI.equals(namespace))
- {
- if (HTTPConstants.ADDRESS_ELEMENT_TAG.equals(localName))
- {
- return HTTPFactory.eINSTANCE.createHTTPAddress();
- }
- else if (HTTPConstants.BINDING_ELEMENT_TAG.equals(localName))
- {
- return HTTPFactory.eINSTANCE.createHTTPBinding();
- }
- else if (HTTPConstants.OPERATION_ELEMENT_TAG.equals(localName))
- {
- return HTTPFactory.eINSTANCE.createHTTPOperation();
- }
- else if (HTTPConstants.URL_ENCODED_ELEMENT_TAG.equals(localName))
- {
- return HTTPFactory.eINSTANCE.createHTTPUrlEncoded();
- }
- else if (HTTPConstants.URL_REPLACEMENT_ELEMENT_TAG.equals(localName))
- {
- return HTTPFactory.eINSTANCE.createHTTPUrlReplacement();
- }
- else
- {
- //System.out.println("Unhandled localName: " + localName);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
- else
- {
- //System.out.println("Unhandled namespace: " + namespace);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPSwitch.java b/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPSwitch.java
deleted file mode 100644
index 2dd03f2f9..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPSwitch.java
+++ /dev/null
@@ -1,336 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.http.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
-import org.eclipse.wst.wsdl.binding.http.HTTPBinding;
-import org.eclipse.wst.wsdl.binding.http.HTTPOperation;
-import org.eclipse.wst.wsdl.binding.http.HTTPPackage;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlEncoded;
-import org.eclipse.wst.wsdl.binding.http.HTTPUrlReplacement;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.http.HTTPPackage
- * @generated
- */
-public class HTTPSwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static HTTPPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPSwitch() {
- if (modelPackage == null) {
- modelPackage = HTTPPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject) {
- EClass theEClass = theEObject.eClass();
- if (theEClass.eContainer() == modelPackage) {
- switch (theEClass.getClassifierID()) {
- case HTTPPackage.HTTP_BINDING: {
- HTTPBinding httpBinding = (HTTPBinding)theEObject;
- Object result = caseHTTPBinding(httpBinding);
- if (result == null) result = caseExtensibilityElement(httpBinding);
- if (result == null) result = caseIHTTPBinding(httpBinding);
- if (result == null) result = caseWSDLElement(httpBinding);
- if (result == null) result = caseIExtensibilityElement(httpBinding);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HTTPPackage.HTTP_OPERATION: {
- HTTPOperation httpOperation = (HTTPOperation)theEObject;
- Object result = caseHTTPOperation(httpOperation);
- if (result == null) result = caseExtensibilityElement(httpOperation);
- if (result == null) result = caseIHTTPOperation(httpOperation);
- if (result == null) result = caseWSDLElement(httpOperation);
- if (result == null) result = caseIExtensibilityElement(httpOperation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HTTPPackage.HTTP_URL_REPLACEMENT: {
- HTTPUrlReplacement httpUrlReplacement = (HTTPUrlReplacement)theEObject;
- Object result = caseHTTPUrlReplacement(httpUrlReplacement);
- if (result == null) result = caseExtensibilityElement(httpUrlReplacement);
- if (result == null) result = caseIHTTPUrlReplacement(httpUrlReplacement);
- if (result == null) result = caseWSDLElement(httpUrlReplacement);
- if (result == null) result = caseIExtensibilityElement(httpUrlReplacement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HTTPPackage.HTTP_URL_ENCODED: {
- HTTPUrlEncoded httpUrlEncoded = (HTTPUrlEncoded)theEObject;
- Object result = caseHTTPUrlEncoded(httpUrlEncoded);
- if (result == null) result = caseExtensibilityElement(httpUrlEncoded);
- if (result == null) result = caseIHTTPUrlEncoded(httpUrlEncoded);
- if (result == null) result = caseWSDLElement(httpUrlEncoded);
- if (result == null) result = caseIExtensibilityElement(httpUrlEncoded);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case HTTPPackage.HTTP_ADDRESS: {
- HTTPAddress httpAddress = (HTTPAddress)theEObject;
- Object result = caseHTTPAddress(httpAddress);
- if (result == null) result = caseExtensibilityElement(httpAddress);
- if (result == null) result = caseIHTTPAddress(httpAddress);
- if (result == null) result = caseWSDLElement(httpAddress);
- if (result == null) result = caseIExtensibilityElement(httpAddress);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
- return defaultCase(theEObject);
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseHTTPBinding(HTTPBinding object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Operation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseHTTPOperation(HTTPOperation object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Url Replacement</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Url Replacement</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseHTTPUrlReplacement(HTTPUrlReplacement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Url Encoded</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Url Encoded</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseHTTPUrlEncoded(HTTPUrlEncoded object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseHTTPAddress(HTTPAddress object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IHTTP Address</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IHTTP Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIHTTPAddress(javax.wsdl.extensions.http.HTTPAddress object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IHTTP Binding</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IHTTP Binding</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIHTTPBinding(javax.wsdl.extensions.http.HTTPBinding object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IHTTP Operation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IHTTP Operation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIHTTPOperation(javax.wsdl.extensions.http.HTTPOperation object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IHTTP Url Encoded</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IHTTP Url Encoded</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIHTTPUrlEncoded(javax.wsdl.extensions.http.HTTPUrlEncoded object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IHTTP Url Replacement</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IHTTP Url Replacement</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIHTTPUrlReplacement(javax.wsdl.extensions.http.HTTPUrlReplacement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWSDLElement(WSDLElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIExtensibilityElement(ExtensibilityElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object) {
- return null;
- }
-
-} //HTTPSwitch
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/model/MIME.genmodel b/bundles/org.eclipse.wst.wsdl/src-mime/model/MIME.genmodel
deleted file mode 100644
index d70dc5b5d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/model/MIME.genmodel
+++ /dev/null
@@ -1,428 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/com.ibm.etools.wsdl.binding.mime/src"
- editDirectory="/com.ibm.etools.wsdl.binding.mime.edit/src" editorDirectory="/com.ibm.etools.wsdl.binding.mime.editor/src"
- modelPluginID="com.ibm.etools.wsdl.binding.mime" modelName="MIME" editPluginClass=""
- editorPluginClass="" usedGenPackages="../../../org.eclipse.xsd/src/model/XSD.genmodel#//xsd">
- <foreignModel>..\rose\mime.mdl</foreignModel>
- <foreignModel>VABASE_PLUGINS_PATH</foreignModel>
- <foreignModel>../../..</foreignModel>
- <genPackages prefix="MIME" basePackage="com.ibm.etools.wsdl.binding" ecorePackage="mime.ecore#/">
- <genDataTypes ecoreDataType="mime.ecore#//List"/>
- <genClasses ecoreClass="mime.ecore#//MIMEContent">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute mime.ecore#//MIMEContent/type"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference mime.ecore#//MIMEContent/ePart"/>
- <genOperations ecoreOperation="mime.ecore#//MIMEContent/setPart">
- <genParameters ecoreParameter="mime.ecore#//MIMEContent/setPart/part"/>
- </genOperations>
- <genOperations ecoreOperation="mime.ecore#//MIMEContent/getPart"/>
- </genClasses>
- <genClasses ecoreClass="mime.ecore#//MIMEPart">
- <genOperations ecoreOperation="mime.ecore#//MIMEPart/addExtensibilityElement">
- <genParameters ecoreParameter="mime.ecore#//MIMEPart/addExtensibilityElement/extensibilityElement"/>
- </genOperations>
- <genOperations ecoreOperation="mime.ecore#//MIMEPart/getExtensibilityElements"/>
- </genClasses>
- <genClasses ecoreClass="mime.ecore#//MIMEMultipartRelated">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference mime.ecore#//MIMEMultipartRelated/eMIMEPart"/>
- <genOperations ecoreOperation="mime.ecore#//MIMEMultipartRelated/addMIMEPart">
- <genParameters ecoreParameter="mime.ecore#//MIMEMultipartRelated/addMIMEPart/mimePart"/>
- </genOperations>
- <genOperations ecoreOperation="mime.ecore#//MIMEMultipartRelated/getMIMEParts"/>
- </genClasses>
- <genClasses ecoreClass="mime.ecore#//MIMEMimeXml">
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference mime.ecore#//MIMEMimeXml/ePart"/>
- <genOperations ecoreOperation="mime.ecore#//MIMEMimeXml/setPart">
- <genParameters ecoreParameter="mime.ecore#//MIMEMimeXml/setPart/part"/>
- </genOperations>
- <genOperations ecoreOperation="mime.ecore#//MIMEMimeXml/getPart"/>
- </genClasses>
- <genClasses ecoreClass="mime.ecore#//IMIMEPart"/>
- <genClasses ecoreClass="mime.ecore#//IMIMEMultipartRelated"/>
- <genClasses ecoreClass="mime.ecore#//IMIMEContent"/>
- <genClasses ecoreClass="mime.ecore#//IMIMEMimeXml"/>
- </genPackages>
- <genPackages prefix="WSDL" basePackage="com.ibm.etools" ecorePackage="wsdl.ecore#/">
- <genDataTypes ecoreDataType="wsdl.ecore#//QName"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//OperationType"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMElement"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//WSDLException"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMDocument"/>
- <genClasses ecoreClass="wsdl.ecore#//WSDLElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/documentationElement"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/element"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/getEnclosingDefinition"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/setEnclosingDefinition">
- <genParameters ecoreParameter="wsdl.ecore#//WSDLElement/setEnclosingDefinition/definition"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//PortType">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//PortType/eOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Operation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/style"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eInput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eOutput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eFaults"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eParameterOrdering"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Message">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Message/eParts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Part">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/elementName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/typeName"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/typeDefinition"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/elementDeclaration"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/eMessage"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Binding">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/resourceURI"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/ePortType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/eBindingOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOperation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOperation/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eOperation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingInput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingOutput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingFaults"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Service">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Service/ePorts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Port">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Port/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Port/eBinding"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibilityElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/required"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/elementType"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Definition">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/targetNamespace"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/location"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/encoding"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eMessages"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/ePortTypes"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eBindings"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eServices"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eNamespaces"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eTypes"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eImports"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/getDocument"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/setDocument">
- <genParameters ecoreParameter="wsdl.ecore#//Definition/setDocument/document"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Import">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/namespaceURI"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/locationURI"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eDefinition"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/getSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/setSchema">
- <genParameters ecoreParameter="wsdl.ecore#//Import/setSchema/schema"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibleElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//ExtensibleElement/eExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/getExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/addExtensibilityElement">
- <genParameters ecoreParameter="wsdl.ecore#//ExtensibleElement/addExtensibilityElement/extElement"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Input"/>
- <genClasses ecoreClass="wsdl.ecore#//Output"/>
- <genClasses ecoreClass="wsdl.ecore#//Fault"/>
- <genClasses ecoreClass="wsdl.ecore#//BindingInput">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingInput/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingInput/eInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingInput/setInput/input"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOutput">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOutput/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOutput/eOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingOutput/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingFault">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingFault/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingFault/eFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/getFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/setFault">
- <genParameters ecoreParameter="wsdl.ecore#//BindingFault/setFault/fault"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Namespace">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/URI"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/prefix"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPortType">
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/addOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/addOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/addFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/addFault/fault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/getFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getParameterOrdering"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setParameterOrdering">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setParameterOrdering/parameterOrder"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setInput/input"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IInput">
- <genOperations ecoreOperation="wsdl.ecore#//IInput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IInput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IInput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOutput">
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IOutput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IFault">
- <genOperations ecoreOperation="wsdl.ecore#//IFault/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IFault/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IFault/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IMessage">
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/addPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/addPart/part"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getPart/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getParts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getOrderedParts">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getOrderedParts/partOrder"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPart">
- <genOperations ecoreOperation="wsdl.ecore#//IPart/setExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/value"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttributeNames"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/getExtensionAttribute/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IService">
- <genOperations ecoreOperation="wsdl.ecore#//IService/addPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/addPort/port"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPorts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/getPort/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPort">
- <genOperations ecoreOperation="wsdl.ecore#//IPort/getBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPort/setBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IPort/setBinding/binding"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBinding">
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/addBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/addBindingOperation/bindingOperation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperations"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/setPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/setPortType/portType"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/addBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/addBindingFault/bindingFault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/getBindingFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingInput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingInput/bindingInput"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingOutput/bindingOutput"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingInput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOutput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingFault"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensibilityElement"/>
- <genClasses ecoreClass="wsdl.ecore#//IDefinition">
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addBinding/binding"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addImport">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addImport/importDef"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addMessage/message"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/prefix"/>
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addPortType/portType"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addService/service"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createImport"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPart"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPort"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createService"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBindings"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports.1">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getImports.1/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessages"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getNamespace/prefix"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespaces"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPrefix">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPrefix/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getServices"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getExtensionRegistry"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setExtensionRegistry">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setExtensionRegistry/extensionRegistry"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getDocumentBaseURI"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setDocumentBaseURI">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setDocumentBaseURI/documentBase"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removePortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removePortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setTypes">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setTypes/types"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IImport"/>
- <genClasses ecoreClass="wsdl.ecore#//IList"/>
- <genClasses ecoreClass="wsdl.ecore#//IMap"/>
- <genClasses ecoreClass="wsdl.ecore#//IURL"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensionRegistry"/>
- <genClasses ecoreClass="wsdl.ecore#//Types">
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas"/>
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas.1">
- <genParameters ecoreParameter="wsdl.ecore#//Types/getSchemas.1/namespaceURI"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IIterator"/>
- <genClasses ecoreClass="wsdl.ecore#//ITypes"/>
- <genClasses ecoreClass="wsdl.ecore#//UnknownExtensibilityElement">
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//UnknownExtensibilityElement/parent"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//UnknownExtensibilityElement/children"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//XSDSchemaExtensibilityElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//XSDSchemaExtensibilityElement/schema"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//MessageReference">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//MessageReference/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//MessageReference/eMessage"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/model/com.ibm.etools.wsdl.bindings.MIME.cat b/bundles/org.eclipse.wst.wsdl/src-mime/model/com.ibm.etools.wsdl.bindings.MIME.cat
deleted file mode 100644
index c47f921d1..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/model/com.ibm.etools.wsdl.bindings.MIME.cat
+++ /dev/null
@@ -1,630 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Class_Category "mime"
- is_unit TRUE
- is_loaded TRUE
- quid "3AC9127C0266"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "MIMEContent"
- quid "3AC9135B03A7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AEF11CA038E"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "type"
- quid "3AC91971036B"
- type "String"))
- language "Java")
- (object Class "MIMEPart"
- quid "3AC913EE00EB"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AEF11400259"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3AE8B1AB015D"
- type "String"))
- language "Java")
- (object Class "MIMEMultipartRelated"
- quid "3AC913FA025B"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AEF11D50330"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- language "Java")
- (object Class "MIMEMimeXml"
- quid "3AC9145A01FF"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AEF11DD038B"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- language "Java")
- (object Association "$UNNAMED$0"
- quid "3AE73B3C0356"
- roles (list role_list
- (object Role "$UNNAMED$1"
- quid "3AE73B3D0090"
- supplier "Logical View::mime::MIMEContent"
- quidu "3AC9135B03A7")
- (object Role "part"
- quid "3AE73B3D009A"
- label "part"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$2"
- quid "3AE73BB900D5"
- roles (list role_list
- (object Role "part"
- quid "3AE73BB903CE"
- label "part"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$3"
- quid "3AE73BB903E2"
- supplier "Logical View::mime::MIMEMimeXml"
- quidu "3AC9145A01FF")))
- (object Association "$UNNAMED$4"
- quid "3AEF12FE0387"
- roles (list role_list
- (object Role "$UNNAMED$5"
- quid "3AEF130000D7"
- supplier "Logical View::mime::MIMEMultipartRelated"
- quidu "3AC913FA025B"
- is_aggregate TRUE)
- (object Role "elements"
- quid "3AEF130000E1"
- label "elements"
- supplier "Logical View::mime::MIMEPart"
- quidu "3AC913EE00EB"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Bindings"
- quid "3AC9128B01F9"
- title "Bindings"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 56
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::mime::MIMEContent" @1
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1856, 336)
- label (object ItemLabel
- Parent_View @1
- location (1714, 255)
- fill_color 13434879
- nlines 1
- max_width 284
- justify 0
- label "MIMEContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9135B03A7"
- width 302
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Part" @2
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1504, 784)
- label (object ItemLabel
- Parent_View @2
- location (1354, 555)
- fill_color 13434879
- nlines 1
- max_width 300
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 318
- height 482
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$0" @3
- location (1722, 505)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73B3C0356"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$1" @4
- Parent_View @3
- location (-326, -727)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73B3D0090"
- client @3
- supplier @1
- line_style 0)
- (object RoleView "part" @5
- Parent_View @3
- location (-326, -727)
- label (object SegLabel @6
- Parent_View @5
- location (1740, 508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 96
- justify 0
- label "+part"
- pctDist -0.097934
- height 16
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73B3D009A"
- client @3
- supplier @2
- line_style 0
- label (object SegLabel @7
- Parent_View @5
- location (1734, 569)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.449103
- height 49
- orientation 0))))
- (object ClassView "Class" "Logical View::mime::MIMEMimeXml" @8
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1216, 320)
- label (object ItemLabel
- Parent_View @8
- location (1061, 268)
- fill_color 13434879
- nlines 1
- max_width 310
- justify 0
- label "MIMEMimeXml")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9145A01FF"
- width 328
- height 128
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$2" @9
- location (1304, 463)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73BB900D5"
- roleview_list (list RoleViews
- (object RoleView "part" @10
- Parent_View @9
- location (-184, -1185)
- label (object SegLabel @11
- Parent_View @10
- location (1311, 479)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 96
- justify 0
- label "+part"
- pctDist 0.177941
- height 4
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73BB903CE"
- client @9
- supplier @2
- line_style 0
- label (object SegLabel @12
- Parent_View @10
- location (1272, 554)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.652270
- height 76
- orientation 1))
- (object RoleView "$UNNAMED$3" @13
- Parent_View @9
- location (-184, -1185)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73BB903E2"
- client @9
- supplier @8
- line_style 0)))
- (object ClassView "Class" "Logical View::mime::MIMEMultipartRelated" @14
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (528, 320)
- label (object ItemLabel
- Parent_View @14
- location (312, 269)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "MIMEMultipartRelated")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913FA025B"
- width 450
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEPart" @15
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (528, 848)
- label (object ItemLabel
- Parent_View @15
- location (380, 767)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "MIMEPart")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913EE00EB"
- compartment (object Compartment
- Parent_View @15
- location (380, 827)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 303)
- width 314
- height 186
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$4" @16
- location (528, 568)
- stereotype TRUE
- line_color 3342489
- quidu "3AEF12FE0387"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$5" @17
- Parent_View @16
- location (0, -136)
- stereotype TRUE
- line_color 3342489
- quidu "3AEF130000D7"
- client @16
- supplier @14
- line_style 0)
- (object RoleView "elements" @18
- Parent_View @16
- location (0, -136)
- label (object SegLabel @19
- Parent_View @18
- location (535, 627)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+elements"
- pctDist 0.320000
- height 7
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEF130000E1"
- client @16
- supplier @15
- line_style 0
- label (object SegLabel @20
- Parent_View @18
- location (471, 716)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.794118
- height 58
- orientation 1)
- label (object SegLabel @21
- Parent_View @18
- location (636, 734)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 159
- justify 0
- label "{ordered}"
- pctDist 0.900000
- height 108
- orientation 0))))))
- (object ClassDiagram "Extensibility"
- quid "3AE73AA3032E"
- title "Extensibility"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @22
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (400, 176)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @22
- location (138, 42)
- fill_color 13434879
- nlines 1
- max_width 524
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 542
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @23
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1344, 192)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @23
- location (1115, 8)
- fill_color 13434879
- nlines 1
- max_width 458
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 476
- height 392
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "" @24
- location (888, 183)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "" @25
- Parent_View @24
- location (536, 23)
- label (object SegLabel @26
- Parent_View @25
- location (714, 222)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @24
- supplier @22
- line_style 0
- label (object SegLabel @27
- Parent_View @25
- location (694, 233)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "eExtensibilityElements" @28
- Parent_View @24
- location (536, 23)
- label (object SegLabel @29
- Parent_View @28
- location (996, 225)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 457
- justify 0
- label "+eExtensibilityElements"
- pctDist 0.501538
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @24
- supplier @23
- line_style 0
- label (object SegLabel @30
- Parent_View @28
- location (1069, 132)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..n"
- pctDist 0.829630
- height 54
- orientation 0))))
- (object ClassView "Class" "Logical View::mime::MIMEMimeXml" @31
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 784)
- label (object ItemLabel
- Parent_View @31
- location (1349, 733)
- fill_color 13434879
- nlines 1
- max_width 310
- justify 0
- label "MIMEMimeXml")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9145A01FF"
- width 328
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEMultipartRelated" @32
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1248, 608)
- label (object ItemLabel
- Parent_View @32
- location (1032, 557)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "MIMEMultipartRelated")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913FA025B"
- width 450
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEPart" @33
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (400, 752)
- label (object ItemLabel
- Parent_View @33
- location (295, 700)
- fill_color 13434879
- nlines 1
- max_width 210
- justify 0
- label "MIMEPart")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913EE00EB"
- width 228
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @34
- stereotype TRUE
- line_color 3342489
- quidu "3AEF11400259"
- client @33
- supplier @22
- line_style 0)
- (object ClassView "Class" "Logical View::mime::MIMEContent" @35
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1728, 976)
- label (object ItemLabel
- Parent_View @35
- location (1587, 924)
- fill_color 13434879
- nlines 1
- max_width 282
- justify 0
- label "MIMEContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9135B03A7"
- width 300
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @36
- location (1344, 549)
- line_color 3342489
- fill_color 13434879
- supplier @23
- vertices (list Points
- (1344, 549)
- (1344, 388)))
- (object InheritView "" @37
- stereotype TRUE
- line_color 3342489
- quidu "3AEF11DD038B"
- client @31
- supplier @23
- line_style 3
- origin_attachment (1541, 721)
- terminal_attachment (1541, 549)
- drawSupplier @36)
- (object InheritView "" @38
- stereotype TRUE
- line_color 3342489
- quidu "3AEF11D50330"
- client @32
- supplier @23
- line_style 3
- origin_attachment (1347, 545)
- terminal_attachment (1347, 549)
- drawSupplier @36)
- (object InheritView "" @39
- stereotype TRUE
- line_color 3342489
- quidu "3AEF11CA038E"
- client @35
- supplier @23
- line_style 3
- origin_attachment (1722, 912)
- terminal_attachment (1722, 549)
- drawSupplier @36)))))
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/model/mime.ecore b/bundles/org.eclipse.wst.wsdl/src-mime/model/mime.ecore
deleted file mode 100644
index 697bfa598..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/model/mime.ecore
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="mime"
- nsURI="http://www.ibm.com/wsdl/2003/MIME" nsPrefix="mime">
- <eClassifiers xsi:type="ecore:EClass" name="MIMEContent" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IMIMEContent">
- <eOperations name="setPart">
- <eParameters name="part" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getPart" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="ePart" eType="ecore:EClass wsdl.ecore#//Part"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MIMEPart" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IMIMEPart">
- <eOperations name="addExtensibilityElement">
- <eParameters name="extensibilityElement" eType="ecore:EClass wsdl.ecore#//IExtensibilityElement"/>
- </eOperations>
- <eOperations name="getExtensibilityElements" eType="#//List"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MIMEMultipartRelated" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IMIMEMultipartRelated">
- <eOperations name="addMIMEPart">
- <eParameters name="mimePart" eType="#//IMIMEPart"/>
- </eOperations>
- <eOperations name="getMIMEParts" eType="#//List"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eMIMEPart" upperBound="-1"
- eType="#//MIMEPart" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MIMEMimeXml" eSuperTypes="wsdl.ecore#//ExtensibilityElement #//IMIMEMimeXml">
- <eOperations name="setPart">
- <eParameters name="part" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getPart" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="ePart" eType="ecore:EClass wsdl.ecore#//Part"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IMIMEPart" instanceClassName="javax.wsdl.extensions.mime.MIMEPart"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="IMIMEMultipartRelated" instanceClassName="javax.wsdl.extensions.mime.MIMEMultipartRelated"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="IMIMEContent" instanceClassName="javax.wsdl.extensions.mime.MIMEContent"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="IMIMEMimeXml" instanceClassName="javax.wsdl.extensions.mime.MIMEMimeXml"
- abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EDataType" name="List" instanceClassName="java.util.List"/>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/model/mime.mdl b/bundles/org.eclipse.wst.wsdl/src-mime/model/mime.mdl
deleted file mode 100644
index 5c76a50f2..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/model/mime.mdl
+++ /dev/null
@@ -1,32998 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Design "Logical View"
- is_unit TRUE
- is_loaded TRUE
- defaults (object defaults
- rightMargin 0.250000
- leftMargin 0.250000
- topMargin 0.250000
- bottomMargin 0.500000
- pageOverlap 0.250000
- clipIconLabels TRUE
- autoResize TRUE
- snapToGrid TRUE
- gridX 16
- gridY 16
- defaultFont (object Font
- size 10
- face "Arial"
- bold FALSE
- italics FALSE
- underline FALSE
- strike FALSE
- color 0
- default_color TRUE)
- showMessageNum 1
- showClassOfObject TRUE
- notation "Unified")
- root_usecase_package (object Class_Category "Use Case View"
- quid "3AC91051031E"
- exportControl "Public"
- global TRUE
- logical_models (list unit_reference_list)
- logical_presentations (list unit_reference_list
- (object UseCaseDiagram "Main"
- quid "3AC91052001B"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- root_category (object Class_Category "Logical View"
- quid "3AC91051031D"
- exportControl "Public"
- global TRUE
- subsystem "Component View"
- quidu "3AC91051031F"
- logical_models (list unit_reference_list
- (object Class_Category "mime"
- quid "3AC9127C0266"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "MIMEContent"
- quid "3AC9135B03A7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AEF11CA038E"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "40A106A30168"
- supplier "Logical View::mime::IMIMEContent"
- quidu "40A105E001CC"))
- operations (list Operations
- (object Operation "setPart"
- quid "40A1066F0023"
- parameters (list Parameters
- (object Parameter "part"
- type "String"))
- result "void"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPart"
- quid "40A1067D02CC"
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "type"
- quid "3AC91971036B"
- type "String"))
- language "Java")
- (object Class "MIMEPart"
- quid "3AC913EE00EB"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "40A0FDEF0322"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "40A102CD0175"
- supplier "Logical View::mime::IMIMEPart"
- quidu "40A1025D01A6"))
- operations (list Operations
- (object Operation "addExtensibilityElement"
- quid "40A1046401A2"
- parameters (list Parameters
- (object Parameter "extensibilityElement"
- type "IExtensibilityElement"))
- result "void"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensibilityElements"
- quid "40A10484027B"
- result "List"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java")
- (object Class "MIMEMultipartRelated"
- quid "3AC913FA025B"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AEF11D50330"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "40A103AD031C"
- supplier "Logical View::mime::IMIMEMultipartRelated"
- quidu "40A1033B00DD"))
- operations (list Operations
- (object Operation "addMIMEPart"
- quid "40A103F60172"
- parameters (list Parameters
- (object Parameter "mimePart"
- type "IMIMEPart"))
- result "void"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMIMEParts"
- quid "40A10403038D"
- result "List"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java")
- (object Class "MIMEMimeXml"
- quid "3AC9145A01FF"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AEF11DD038B"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")
- (object Inheritance_Relationship
- quid "40A10747034E"
- supplier "Logical View::mime::IMIMEMimeXml"
- quidu "40A106EF008B"))
- operations (list Operations
- (object Operation "setPart"
- quid "40A106D401EB"
- parameters (list Parameters
- (object Parameter "part"
- type "String"))
- result "void"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPart"
- quid "40A106E10095"
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java")
- (object Class "IMIMEPart"
- quid "40A1025D01A6"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.mime.MIMEPart"
- quid "40A1029D03D9"
- stereotype "javaclass"))
- language "Java")
- (object Class "IMIMEMultipartRelated"
- quid "40A1033B00DD"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.mime.MIMEMultipartRelated"
- quid "40A10378018F"
- stereotype "javaclass"))
- language "Java")
- (object Class "IMIMEContent"
- quid "40A105E001CC"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.mime.MIMEContent"
- quid "40A105F50226"
- stereotype "javaclass"))
- language "Java")
- (object Class "IMIMEMimeXml"
- quid "40A106EF008B"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.mime.MIMEMimeXml"
- quid "40A1071E03B4"
- stereotype "javaclass"))
- language "Java")
- (object Class "List"
- quid "40A10BFA0109"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.List"
- quid "40A10C0902A6"
- stereotype "javaclass"))
- language "Java")
- (object Association "$UNNAMED$0"
- quid "3AE73B3C0356"
- roles (list role_list
- (object Role "$UNNAMED$1"
- quid "3AE73B3D0090"
- supplier "Logical View::mime::MIMEContent"
- quidu "3AC9135B03A7")
- (object Role "ePart"
- quid "3AE73B3D009A"
- label "ePart"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$2"
- quid "3AE73BB900D5"
- roles (list role_list
- (object Role "ePart"
- quid "3AE73BB903CE"
- label "ePart"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$3"
- quid "3AE73BB903E2"
- supplier "Logical View::mime::MIMEMimeXml"
- quidu "3AC9145A01FF")))
- (object Association "$UNNAMED$4"
- quid "3AEF12FE0387"
- roles (list role_list
- (object Role "$UNNAMED$5"
- quid "3AEF130000D7"
- supplier "Logical View::mime::MIMEMultipartRelated"
- quidu "3AC913FA025B"
- is_aggregate TRUE)
- (object Role "eMIMEPart"
- quid "3AEF130000E1"
- label "eMIMEPart"
- supplier "Logical View::mime::MIMEPart"
- quidu "3AC913EE00EB"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Bindings"
- quid "3AC9128B01F9"
- title "Bindings"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::mime::MIMEContent" @1
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1632, 848)
- label (object ItemLabel
- Parent_View @1
- location (1490, 717)
- fill_color 13434879
- nlines 1
- max_width 284
- justify 0
- label "MIMEContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9135B03A7"
- compartment (object Compartment
- Parent_View @1
- location (1490, 777)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 272)
- width 302
- height 286
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Part" @2
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1632, 1200)
- label (object ItemLabel
- Parent_View @2
- location (1551, 1150)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- height 124
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$0" @3
- location (1632, 1064)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73B3C0356"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$1" @4
- Parent_View @3
- location (-416, -168)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73B3D0090"
- client @3
- supplier @1
- line_style 0)
- (object RoleView "ePart" @5
- Parent_View @3
- location (-416, -168)
- label (object SegLabel @6
- Parent_View @5
- location (1515, 1102)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+ePart"
- pctDist 0.539326
- height 118
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73B3D009A"
- client @3
- supplier @2
- line_style 0
- label (object SegLabel @7
- Parent_View @5
- location (1681, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.449103
- height 49
- orientation 0))))
- (object ClassView "Class" "Logical View::mime::MIMEMimeXml" @8
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1632, 1504)
- label (object ItemLabel
- Parent_View @8
- location (1478, 1398)
- fill_color 13434879
- nlines 1
- max_width 308
- justify 0
- label "MIMEMimeXml")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9145A01FF"
- compartment (object Compartment
- Parent_View @8
- location (1478, 1458)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 206)
- width 326
- height 236
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$2" @9
- location (1632, 1323)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73BB900D5"
- roleview_list (list RoleViews
- (object RoleView "ePart" @10
- Parent_View @9
- location (144, -325)
- label (object SegLabel @11
- Parent_View @10
- location (1506, 1293)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+ePart"
- pctDist 0.489583
- height 127
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73BB903CE"
- client @9
- supplier @2
- line_style 0
- label (object SegLabel @12
- Parent_View @10
- location (1708, 1284)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.652270
- height 76
- orientation 1))
- (object RoleView "$UNNAMED$3" @13
- Parent_View @9
- location (144, -325)
- stereotype TRUE
- line_color 3342489
- quidu "3AE73BB903E2"
- client @9
- supplier @8
- line_style 0)))
- (object ClassView "Class" "Logical View::mime::MIMEMultipartRelated" @14
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (560, 592)
- label (object ItemLabel
- Parent_View @14
- location (341, 486)
- fill_color 13434879
- nlines 1
- max_width 438
- justify 0
- label "MIMEMultipartRelated")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913FA025B"
- compartment (object Compartment
- Parent_View @14
- location (341, 546)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 334)
- width 456
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEPart" @15
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (560, 1040)
- label (object ItemLabel
- Parent_View @15
- location (296, 934)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "MIMEPart")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913EE00EB"
- compartment (object Compartment
- Parent_View @15
- location (296, 994)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 525)
- width 546
- height 236
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$4" @16
- location (560, 815)
- stereotype TRUE
- line_color 3342489
- quidu "3AEF12FE0387"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$5" @17
- Parent_View @16
- location (32, 111)
- stereotype TRUE
- line_color 3342489
- quidu "3AEF130000D7"
- client @16
- supplier @14
- line_style 0)
- (object RoleView "eMIMEPart" @18
- Parent_View @16
- location (32, 111)
- label (object SegLabel @19
- Parent_View @18
- location (744, 890)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 228
- justify 0
- label "+eMIMEPart"
- pctDist 0.709402
- height 184
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEF130000E1"
- client @16
- supplier @15
- line_style 0
- label (object SegLabel @20
- Parent_View @18
- location (503, 898)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.794118
- height 58
- orientation 1)
- label (object SegLabel @21
- Parent_View @18
- location (364, 890)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 159
- justify 0
- label "{ordered}"
- pctDist 0.709402
- height 197
- orientation 1))))
- (object ClassView "Class" "Logical View::mime::IMIMEPart" @22
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 1456)
- label (object ItemLabel
- Parent_View @22
- location (205, 1422)
- fill_color 13434879
- nlines 1
- max_width 1030
- justify 0
- label "IMIMEPart")
- stereotype (object ItemLabel
- Parent_View @22
- location (205, 1372)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1030
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "40A1025D01A6"
- compartment (object Compartment
- Parent_View @22
- location (205, 1482)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 1028)
- width 1048
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @23
- stereotype TRUE
- line_color 3342489
- quidu "40A102CD0175"
- client @15
- supplier @22
- line_style 0)
- (object ClassView "Class" "Logical View::mime::IMIMEMultipartRelated" @24
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (768, 176)
- label (object ItemLabel
- Parent_View @24
- location (143, 142)
- fill_color 13434879
- nlines 1
- max_width 1250
- justify 0
- label "IMIMEMultipartRelated")
- stereotype (object ItemLabel
- Parent_View @24
- location (143, 92)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1250
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "40A1033B00DD"
- compartment (object Compartment
- Parent_View @24
- location (143, 202)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 1247)
- width 1268
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @25
- stereotype TRUE
- line_color 3342489
- quidu "40A103AD031C"
- client @14
- supplier @24
- line_style 0)
- (object ClassView "Class" "Logical View::mime::IMIMEContent" @26
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1632, 432)
- label (object ItemLabel
- Parent_View @26
- location (1084, 398)
- fill_color 13434879
- nlines 1
- max_width 1096
- justify 0
- label "IMIMEContent")
- stereotype (object ItemLabel
- Parent_View @26
- location (1084, 348)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1096
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "40A105E001CC"
- compartment (object Compartment
- Parent_View @26
- location (1084, 458)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 1094)
- width 1114
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @27
- stereotype TRUE
- line_color 3342489
- quidu "40A106A30168"
- client @1
- supplier @26
- line_style 0)
- (object ClassView "Class" "Logical View::mime::IMIMEMimeXml" @28
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1616, 1904)
- label (object ItemLabel
- Parent_View @28
- location (1055, 1870)
- fill_color 13434879
- nlines 1
- max_width 1122
- justify 0
- label "IMIMEMimeXml")
- stereotype (object ItemLabel
- Parent_View @28
- location (1055, 1820)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 1122
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "40A106EF008B"
- compartment (object Compartment
- Parent_View @28
- location (1055, 1930)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 1119)
- width 1140
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @29
- stereotype TRUE
- line_color 3342489
- quidu "40A10747034E"
- client @8
- supplier @28
- line_style 0)
- (object ClassView "Class" "Logical View::mime::List" @30
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (448, 1760)
- label (object ItemLabel
- Parent_View @30
- location (176, 1701)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "List")
- stereotype (object ItemLabel
- Parent_View @30
- location (176, 1651)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 544
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "40A10BFA0109"
- compartment (object Compartment
- Parent_View @30
- location (176, 1761)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 541)
- width 562
- height 242
- annotation 8
- autoResize TRUE)))
- (object ClassDiagram "Extensibility"
- quid "3AE73AA3032E"
- title "Extensibility"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @31
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 192)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @31
- location (747, 87)
- fill_color 13434879
- nlines 1
- max_width 458
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- compartment (object Compartment
- Parent_View @31
- location (747, 195)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 456)
- width 476
- height 234
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEMimeXml" @32
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 752)
- label (object ItemLabel
- Parent_View @32
- location (1174, 646)
- fill_color 13434879
- nlines 1
- max_width 308
- justify 0
- label "MIMEMimeXml")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9145A01FF"
- compartment (object Compartment
- Parent_View @32
- location (1174, 706)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 206)
- width 326
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEMultipartRelated" @33
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 1136)
- label (object ItemLabel
- Parent_View @33
- location (533, 1030)
- fill_color 13434879
- nlines 1
- max_width 438
- justify 0
- label "MIMEMultipartRelated")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913FA025B"
- compartment (object Compartment
- Parent_View @33
- location (533, 1090)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 334)
- width 456
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEPart" @34
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (304, 768)
- label (object ItemLabel
- Parent_View @34
- location (40, 662)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "MIMEPart")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC913EE00EB"
- compartment (object Compartment
- Parent_View @34
- location (40, 722)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 525)
- width 546
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::mime::MIMEContent" @35
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1792, 752)
- label (object ItemLabel
- Parent_View @35
- location (1650, 646)
- fill_color 13434879
- nlines 1
- max_width 284
- justify 0
- label "MIMEContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9135B03A7"
- compartment (object Compartment
- Parent_View @35
- location (1650, 706)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 206)
- width 302
- height 236
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @36
- location (976, 526)
- line_color 3342489
- fill_color 13434879
- supplier @31
- vertices (list Points
- (976, 526)
- (976, 309)))
- (object InheritView "" @37
- stereotype TRUE
- line_color 3342489
- quidu "3AEF11DD038B"
- client @32
- supplier @31
- line_style 3
- origin_attachment (1356, 634)
- terminal_attachment (1356, 526)
- drawSupplier @36)
- (object InheritView "" @38
- stereotype TRUE
- line_color 3342489
- quidu "3AEF11D50330"
- client @33
- supplier @31
- line_style 3
- origin_attachment (844, 1018)
- terminal_attachment (844, 526)
- drawSupplier @36)
- (object InheritView "" @39
- stereotype TRUE
- line_color 3342489
- quidu "3AEF11CA038E"
- client @35
- supplier @31
- line_style 3
- origin_attachment (1778, 634)
- terminal_attachment (1778, 526)
- drawSupplier @36)
- (object InheritView "" @40
- stereotype TRUE
- line_color 3342489
- quidu "40A0FDEF0322"
- client @34
- supplier @31
- line_style 3
- origin_attachment (256, 650)
- terminal_attachment (256, 526)
- drawSupplier @36)))))
- (object Class_Category "wsdl"
- quid "3ADFB8E5021E"
- documentation
-|The WSDL model contains classes for the Web Services Description Language (WSDL).
-|
-|WSDL describes network services as sets of endpoints operating on messages. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
-|
-|WSDL describes the formats of the messages exchanged by the services, and supports the XML Schemas specification as its canonical type system. This package uses an XML Schema Infoset model package (see the XSD package) to describe the abstract message formats.
-|
-|The model contains the following diagrams, named after the corresponding chapters in the WSDL 1.1 specification (http://www.w3.org/TR/2001/NOTE-wsdl-20010315)
-|- 2.1 Definition, shows the WSDL definition element and the WSDL document structure
-|- 2.1.1 Naming and Linking, shows the namespace and import mechanism
-|- 2.1.3 Extensibility, shows the WSDL extensibility mechanism
-|- 2.2 Types, shows the use of XML Schema types in WSDL
-|- 2.3 Messages, 2.4 PortTypes, 2.5 Bindings and 2.7 Services, show the major WSDL elements and their relations.
-|
-|The WSDL classes extend the javax.wsdl interfaces defined by JSR 110. Classes with interface and datatype stereotypes are used to represent these non-MOF interfaces.
-
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "WSDLElement"
- quid "3AD5C6A302DD"
- documentation "This class represents a WSDL language element."
- operations (list Operations
- (object Operation "getEnclosingDefinition"
- quid "3CD1529600C8"
- result "Definition"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setEnclosingDefinition"
- quid "3CD152B80347"
- parameters (list Parameters
- (object Parameter "definition"
- type "Definition"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "documentationElement"
- quid "3CCE443602A3"
- type "DOMElement")
- (object ClassAttribute "element"
- quid "3F97DBD30207"
- type "DOMElement"))
- language "Java"
- abstract TRUE)
- (object Class "PortType"
- quid "3AD5C7F001A5"
- documentation "This class represents a WSDL portType element of the WSDL specification version 1.1 and an Interface component of the WSDL specification version 1.2. A port type or Interface is a named set of abstract operations and the abstract messages involved."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5C9B70150"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FD8019F"
- supplier "Logical View::wsdl::IPortType"
- quidu "3B84A5BE0331"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB488E0023"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1E301E5"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CDEB0316"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4FD01BA"
- type "String"))
- language "Java")
- (object Class "Operation"
- quid "3AD5C80D03CE"
- documentation "This class represents a WSDL operation element. A WSDL operation is an abstract description of an action supported by a service."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE9DE98003C"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FE20171"
- supplier "Logical View::wsdl::IOperation"
- quidu "3B84A77600D1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "style"
- quid "3AEB472601AC"
- type "OperationType")
- (object ClassAttribute "name"
- quid "3BDD9643004C"
- type "String")
- (object ClassAttribute "undefined"
- quid "3BDDF235003E"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE2201AD"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D520011B"
- type "String"))
- language "Java")
- (object Class "Message"
- quid "3AD5C9590078"
- documentation "This class represents a WSDL message element. A WSDL message is an abstract, typed definition of the data being communicated."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5D05501C4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3B84A8D102BA"
- supplier "Logical View::wsdl::IMessage"
- quidu "3B84A8AF004F"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB487C01FE"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1D20226"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE4B02B0"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D54200F1"
- type "String"))
- language "Java")
- (object Class "Part"
- quid "3AD5CE1C032E"
- documentation "This class represents a WSDL part element. Parts describe the logical abstract content of a message. Each part is associated with a type from some type system. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84A96D02F1"
- supplier "Logical View::wsdl::IPart"
- quidu "3B84A93F01BE")
- (object Inheritance_Relationship
- quid "3B897E230237"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3BCE70B703C8"
- type "String")
- (object ClassAttribute "elementName"
- quid "3B84B08703DB"
- type "QName")
- (object ClassAttribute "typeName"
- quid "3BCE70C303C5"
- type "QName"))
- language "Java")
- (object Class "Binding"
- quid "3AD5D2860261"
- documentation "This class represents a WSDL binding element. A binding defines message format and protocol details for operations and messages defined by a particular portType. There may be any number of bindings for a given portType."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA0F02F0"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B8595410129"
- supplier "Logical View::wsdl::IBinding"
- quidu "3B84ABC60219"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB4899014B"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1F401A3"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE6D0151"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4DF035C"
- type "String"))
- language "Java")
- (object Class "BindingOperation"
- quid "3AD5D3CB0145"
- documentation "This class represents a WSDL operation element within a binding. An operation element within a binding specifies binding information for the operation with the same name within the binding's portType. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD6009202F7"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84ADE401DC"
- supplier "Logical View::wsdl::IBindingOperation"
- quidu "3B84ADC00072"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B89C4CB0199"
- type "String"))
- language "Java")
- (object Class "Service"
- quid "3AD5D8F002F8"
- documentation "This class represents a WSDL service element. A service groups a set of related ports together."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA20025E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954E01B4"
- supplier "Logical View::wsdl::IService"
- quidu "3B84AB490287"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB48A40151"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF20D0203"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18D4810220"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4C501E2"
- type "String"))
- language "Java")
- (object Class "Port"
- quid "3AD5D9170286"
- documentation "This class represents a WSDL port element. A port defines an individual endpoint by specifying a single address for a binding"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD600CB00AA"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954502C9"
- supplier "Logical View::wsdl::IPort"
- quidu "3B84AB800326"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3AD5D9A00391"
- type "String"))
- language "Java")
- (object Class "ExtensibilityElement"
- quid "3AD5DBB602A9"
- documentation "This class represents a WSDL extensibility element. WSDL allows extensibility elements representing a specific technology under various elements defined by WSDL."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84B14903D0"
- supplier "Logical View::wsdl::IExtensibilityElement"
- quidu "3B84B12402AB")
- (object Inheritance_Relationship
- quid "3BDDF53502C3"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3AF9543C0073"
- type "boolean")
- (object ClassAttribute "elementType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B85B21A0271"
- type "QName"))
- language "Java")
- (object Class "Definition"
- quid "3AD5E43F008E"
- documentation "This class represents a WSDL definitions element. The WSDL definitions element is the root element of a WSDL document."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FDB803D4"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84B1F80382"
- supplier "Logical View::wsdl::IDefinition"
- quidu "3B84B1D90142"))
- operations (list Operations
- (object Operation "getDocument"
- quid "3CD14FC2012B"
- result "DOMDocument"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocument"
- quid "3CD150DE01E7"
- parameters (list Parameters
- (object Parameter "document"
- type "DOMDocument"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "targetNamespace"
- quid "3AD5E474004E"
- type "String")
- (object ClassAttribute "location"
- quid "40352B7C0396"
- type "String")
- (object ClassAttribute "qName"
- quid "3AEB485702F5"
- type "QName")
- (object ClassAttribute "encoding"
- quid "3CADD00D000D"
- type "String"))
- language "Java")
- (object Class "Import"
- quid "3AD5E4F903DE"
- documentation "This class represents WSDL import element. WSDL allows associating a namespace with a document location using an import element."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5EE58037A"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F200D0340"
- supplier "Logical View::wsdl::IImport"
- quidu "3B84B2020119"))
- operations (list Operations
- (object Operation "getSchema"
- quid "3C8672C10379"
- result "XSDSchema"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setSchema"
- quid "3C8672C10397"
- parameters (list Parameters
- (object Parameter "schema"
- type "XSDSchema"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceURI"
- quid "3AD5E50A0036"
- type "String")
- (object ClassAttribute "locationURI"
- quid "3AD5E5140211"
- type "String"))
- language "Java")
- (object Class "ExtensibleElement"
- quid "3AD5FCFA033A"
- documentation " WSDL allows elements representing a specific technology (referred to here as extensibility elements) under various elements defined by WSDL. This class represents a WSDL point of extensibility."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FE3C03D4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- operations (list Operations
- (object Operation "getExtensibilityElements"
- quid "3B85C12C03CD"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addExtensibilityElement"
- quid "3B85C1470295"
- parameters (list Parameters
- (object Parameter "extElement"
- type "IExtensibilityElement"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java"
- abstract TRUE)
- (object Class "Input"
- quid "3AE0789F0059"
- documentation "This class represents a WSDL input element. An input element specifies the abstract message format for the input of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C504025F"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67722802E7"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FEE031D"
- supplier "Logical View::wsdl::IInput"
- quidu "3B84A7EE0015"))
- language "Java")
- (object Class "Output"
- quid "3AE078B60232"
- documentation "This class represents a WSDL output element. An output element specifies the abstract message format for the output of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C50C035B"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723500DD"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FF801CD"
- supplier "Logical View::wsdl::IOutput"
- quidu "3B84A829027D"))
- language "Java")
- (object Class "Fault"
- quid "3AE078BE0108"
- documentation "This class represents a WSDL fault element. Fault elements specify the abstract message format for any error messages that may be output as the result of the operation "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE1C82002F2"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723D0319"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F2002002D"
- supplier "Logical View::wsdl::IFault"
- quidu "3B84A861031D"))
- language "Java")
- (object Class "BindingInput"
- quid "3AE08A8202D4"
- documentation "This class represents a WSDL input element within a operation within a binding. An input element within an operation within a binding specifies binding information for the input of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE1B0113"
- supplier "Logical View::wsdl::IBindingInput"
- quidu "3B84ADEB0100")
- (object Inheritance_Relationship
- quid "3B85B59B0072"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getInput"
- quid "3C8653A40203"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8653B503A2"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C1EA020E"
- type "String"))
- language "Java")
- (object Class "BindingOutput"
- quid "3AE08A8F028C"
- documentation "This class represents a WSDL output element within a operation within a binding. An output element within an operation within a binding specifies binding information for the output of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE4302AB"
- supplier "Logical View::wsdl::IBindingOutput"
- quidu "3B84AE210111")
- (object Inheritance_Relationship
- quid "3B85B5A4027E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getOutput"
- quid "3C8653D900F1"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8653F10326"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C20200BE"
- type "String"))
- language "Java")
- (object Class "BindingFault"
- quid "3AE08A9E03A6"
- documentation "This class represents a WSDL fault element within a operation within a binding. A fault element within an operation within a binding specifies binding information for the fault with the same name. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE0938602C9"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84AE710333"
- supplier "Logical View::wsdl::IBindingFault"
- quidu "3B84AE4F00BD"))
- operations (list Operations
- (object Operation "getFault"
- quid "3C865413037F"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setFault"
- quid "3C8654210109"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85BF9E014A"
- type "String"))
- language "Java")
- (object Class "QName"
- quid "3AE8ED220140"
- documentation "This class represents the javax.wsdl.QName class. A QName is a fully qualified name."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.xml.namespace.QName"
- quid "3B849DA9003D"
- stereotype "javaclass"))
- language "Java")
- (object Class "Namespace"
- quid "3AEA3CD30030"
- documentation "This class represents a namespace and the corresponding namespace prefix used in a WSDL document."
- class_attributes (list class_attribute_list
- (object ClassAttribute "URI"
- quid "3AEA3D2901B1"
- type "String")
- (object ClassAttribute "prefix"
- quid "3AEA3D320236"
- type "String"))
- language "Java")
- (object Class "OperationType"
- quid "3AEB4782024F"
- documentation
-|ONE_WAY=1
-|REQUEST_RESPONSE=2
-|SOLICIT_RESPONSE=3
-|NOTIFICATION=4
-
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.OperationType"
- quid "3B85C35303E3"
- stereotype "javaclass"))
- language "Java")
- (object Class "IPortType"
- quid "3B84A5BE0331"
- documentation "This class represents the javax.wsdl.PortType non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addOperation"
- quid "3B896AC101CA"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3B896BAF01A4"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperations"
- quid "3B896BF7031A"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.PortType"
- quid "3B84A632000D"
- stereotype "javaclass")))
- (object Class "IOperation"
- quid "3B84A77600D1"
- documentation "This class represents the javax.wsdl.Operation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addFault"
- quid "3B896C420065"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFault"
- quid "3B896C59028F"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFaults"
- quid "3B896C7102B1"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParameterOrdering"
- quid "3B896C8101B0"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setParameterOrdering"
- quid "3B896C99031D"
- parameters (list Parameters
- (object Parameter "parameterOrder"
- type "IList"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getInput"
- quid "3C8654E5018D"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8662C40107"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOutput"
- quid "3C8662E40094"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8662F001D2"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Operation"
- quid "3B84A799012B"
- stereotype "javaclass")))
- (object Class "IInput"
- quid "3B84A7EE0015"
- documentation "This class represents the javax.wsdl.Input non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86633100EF"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8663470277"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Input"
- quid "3B84A8000039"
- stereotype "javaclass")))
- (object Class "IOutput"
- quid "3B84A829027D"
- documentation "This class represents the javax.wsdl.Output non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86643A035D"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C86644501C8"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Output"
- quid "3B84A83901D5"
- stereotype "javaclass")))
- (object Class "IFault"
- quid "3B84A861031D"
- documentation "This class represents the javax.wsdl.Fault non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86646A00BD"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8664750131"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Fault"
- quid "3B84A8710208"
- stereotype "javaclass")))
- (object Class "IMessage"
- quid "3B84A8AF004F"
- documentation "This class represents the javax.wsdl.Message non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPart"
- quid "3B8972240273"
- parameters (list Parameters
- (object Parameter "part"
- type "IPart"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPart"
- quid "3B89723D0233"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParts"
- quid "3B897254025E"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOrderedParts"
- quid "3B897261020D"
- parameters (list Parameters
- (object Parameter "partOrder"
- type "IList"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Message"
- quid "3B84A8BC0260"
- stereotype "javaclass")))
- (object Class "IPart"
- quid "3B84A93F01BE"
- documentation "This class represents the javax.wsdl.Part non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "setExtensionAttribute"
- quid "3C4688450052"
- parameters (list Parameters
- (object Parameter "name"
- type "QName")
- (object Parameter "value"
- type "QName"))
- exceptions "WSDLException"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttributeNames"
- quid "3C468A0101C3"
- result "IIterator"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttribute"
- quid "3C468A2D02D5"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "QName"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Part"
- quid "3B84A9500231"
- stereotype "javaclass")))
- (object Class "IService"
- quid "3B84AB490287"
- documentation "This class represents the javax.wsdl.Service non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPort"
- quid "3B895D5601D1"
- parameters (list Parameters
- (object Parameter "port"
- type "IPort"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPorts"
- quid "3B895DA20036"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPort"
- quid "3B895DB001BC"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Service"
- quid "3B84AB5B003E"
- stereotype "javaclass")))
- (object Class "IPort"
- quid "3B84AB800326"
- documentation "This class represents the javax.wsdl.Port non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getBinding"
- quid "3C8651F302B5"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBinding"
- quid "3C86526302F2"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Port"
- quid "3B84AB8C0016"
- stereotype "javaclass")))
- (object Class "IBinding"
- quid "3B84ABC60219"
- documentation "This class represents the javax.wsdl.Binding non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingOperation"
- quid "3B895F160153"
- parameters (list Parameters
- (object Parameter "bindingOperation"
- type "IBindingOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperation"
- quid "3B895F500066"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperations"
- quid "3B895FA401C5"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3C8652A90284"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setPortType"
- quid "3C8652BE01A8"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Binding"
- quid "3B84ABCF0302"
- stereotype "javaclass")))
- (object Class "IBindingOperation"
- quid "3B84ADC00072"
- documentation "This class represents the javax.wsdl.BindingOperation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingFault"
- quid "3B8960BC0041"
- parameters (list Parameters
- (object Parameter "bindingFault"
- type "IBindingFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFault"
- quid "3B8960D9009D"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFaults"
- quid "3B8960FC0061"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3C86532D0017"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOperation"
- quid "3C86533F037B"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingInput"
- quid "3C86550900DA"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingInput"
- quid "3C86551D007F"
- parameters (list Parameters
- (object Parameter "bindingInput"
- type "IBindingInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOutput"
- quid "3C8655340349"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingOutput"
- quid "3C86554702A6"
- parameters (list Parameters
- (object Parameter "bindingOutput"
- type "IBindingOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOperation"
- quid "3B84ADCB021C"
- stereotype "javaclass")))
- (object Class "IBindingInput"
- quid "3B84ADEB0100"
- documentation "This class represents the javax.wsdl.BindingInput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingInput"
- quid "3B84ADFE000D"
- stereotype "javaclass")))
- (object Class "IBindingOutput"
- quid "3B84AE210111"
- documentation "This class represents the javax.wsdl.BindingOutput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOutput"
- quid "3B84AE2D0050"
- stereotype "javaclass")))
- (object Class "IBindingFault"
- quid "3B84AE4F00BD"
- documentation "This class represents the javax.wsdl.BindingFault non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingFault"
- quid "3B84AE5F002A"
- stereotype "javaclass")))
- (object Class "DOMElement"
- quid "3B84AF3203DB"
- documentation "This class represents the org.w3c.dom.Element non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B84AF560292"
- stereotype "javaclass")))
- (object Class "IExtensibilityElement"
- quid "3B84B12402AB"
- documentation "This class represents the javax.wsdl.ExtensibilityElement non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensibilityElement"
- quid "3B84B13503D1"
- stereotype "javaclass")))
- (object Class "IDefinition"
- quid "3B84B1D90142"
- documentation "This class represents the javax.wsdl.Definition non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBinding"
- quid "3B8988F1039D"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addImport"
- quid "3B8989490259"
- parameters (list Parameters
- (object Parameter "importDef"
- type "IImport"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addMessage"
- quid "3B89896E005E"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addNamespace"
- quid "3B898984004B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String")
- (object Parameter "namespaceURI"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addPortType"
- quid "3B8989C50045"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addService"
- quid "3B8989E401EE"
- parameters (list Parameters
- (object Parameter "service"
- type "IService"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingFault"
- quid "3B898A17038C"
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingInput"
- quid "3B898A320286"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOutput"
- quid "3B898A46013B"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOperation"
- quid "3B898A5C00B0"
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBinding"
- quid "3B8989FE037C"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createFault"
- quid "3B898A7502E7"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createImport"
- quid "3B898A83014C"
- result "IImport"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createInput"
- quid "3B898A9D033E"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createMessage"
- quid "3B898AAF0254"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOperation"
- quid "3B898AC203C4"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOutput"
- quid "3B898AE800ED"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPart"
- quid "3B898AF8026D"
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPort"
- quid "3B898B0801DA"
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPortType"
- quid "3B898B15039B"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createService"
- quid "3B898B32013A"
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBinding"
- quid "3B898B420075"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindings"
- quid "3B898B920341"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BCD0060"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BE70144"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessage"
- quid "3B898C170107"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessages"
- quid "3B898C3E001D"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespace"
- quid "3B898C62014B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespaces"
- quid "3B898C740115"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3B898CBE0071"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortTypes"
- quid "3B898CDA01C6"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPrefix"
- quid "3B898CFD0017"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getService"
- quid "3B898D2300A8"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getServices"
- quid "3B898D3B03CE"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionRegistry"
- quid "3B89D5B8012B"
- result "IExtensionRegistry"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setExtensionRegistry"
- quid "3B89D5D703BB"
- parameters (list Parameters
- (object Parameter "extensionRegistry"
- type "IExtensionRegistry"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getDocumentBaseURI"
- quid "3B89D5FE0208"
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocumentBaseURI"
- quid "3B89D6180328"
- parameters (list Parameters
- (object Parameter "documentBase"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createTypes"
- quid "3CADD0560080"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeService"
- quid "3CADD07E004C"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeBinding"
- quid "3CADD0BA0355"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removePortType"
- quid "3CADD0D8029A"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeMessage"
- quid "3CADD0FA0307"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getTypes"
- quid "3C86706F031B"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setTypes"
- quid "3C86709500EE"
- parameters (list Parameters
- (object Parameter "types"
- type "ITypes"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Definition"
- quid "3B84B1E702A1"
- stereotype "javaclass")))
- (object Class "IImport"
- quid "3B84B2020119"
- documentation "This class represents the javax.wsdl.Import non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Import"
- quid "3B84B20C02EA"
- stereotype "javaclass")))
- (object Class "IList"
- quid "3B85C0A203C5"
- documentation "This class represents the non-MOF java.util.List interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.List"
- quid "3B85C0AF0297"
- stereotype "javaclass")))
- (object Class "IMap"
- quid "3B896B0300D4"
- documentation "This class represents the non-MOF java.util.Map interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Map"
- quid "3B896B1102B5"
- stereotype "javaclass")))
- (object Class "IURL"
- quid "3B89D5630274"
- documentation "This class represents the non-MOF java.net.URL interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.net.URL"
- quid "3B89D56E03E2"
- stereotype "javaclass")))
- (object Class "IExtensionRegistry"
- quid "3B89D59302A5"
- documentation "This class represents the non-MOF javax.wsdl.extensions.ExtensionRegistry interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensionRegistry"
- quid "3B89D59F02E8"
- stereotype "javaclass")))
- (object Class "Types"
- quid "3B8BE9A603A8"
- documentation "This class represents a WSDL types element. The types element encloses data type definitions that are relevant for the exchanged messages."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B8BEB010311"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3CADCD3B0380"
- supplier "Logical View::wsdl::ITypes"
- quidu "3CADCBB20050"))
- operations (list Operations
- (object Operation "getSchemas"
- quid "3CADCF3803E6"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getSchemas"
- quid "3CADCF7E0301"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)))
- (object Class "IIterator"
- quid "3C4687DA0167"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Iterator"
- quid "3C46880800B9"
- stereotype "javaclass")))
- (object Class "WSDLException"
- quid "3C4689650313"
- documentation "This class represents the javax.wsdl.Exception class."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.WSDLException"
- quid "3C4689740315"
- stereotype "javaclass")))
- (object Class "ITypes"
- quid "3CADCBB20050"
- documentation "This class represents the javax.wsdl.Types non-MOF interface"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Types"
- quid "3CADCBF10173"
- stereotype "javaclass")))
- (object Class "UnknownExtensibilityElement"
- quid "3CB24AC002AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CB24AEC01CB"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "XSDSchemaExtensibilityElement"
- quid "3CC360D7039C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CC3627F00B7"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "DOMDocument"
- quid "3CD1502C023B"
- documentation "This class represents the org.w3c.dom.Document non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3CD150600182"
- stereotype "javaclass")))
- (object Class "MessageReference"
- quid "3F6771DB02DC"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3F762A6A0308"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3F6780A001AB"
- type "String"
- exportControl "Protected"))
- language "Java"
- abstract TRUE)
- (object Association "$UNNAMED$6"
- quid "3AD5C824018C"
- roles (list role_list
- (object Role "portType"
- quid "3AD5C82701C3"
- label "portType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- Containment "By Value"
- is_aggregate TRUE)
- (object Role "eOperations"
- quid "3AD5C82701CD"
- label "eOperations"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$7"
- quid "3AD5CEBE00E2"
- roles (list role_list
- (object Role "$UNNAMED$8"
- quid "3AD5CEBF0057"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eParts"
- quid "3AD5CEBF0061"
- label "eParts"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$9"
- quid "3AD5D352010F"
- roles (list role_list
- (object Role "ePortType"
- quid "3AD5D3540176"
- label "ePortType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$10"
- quid "3AD5D3540180"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261")))
- (object Association "$UNNAMED$11"
- quid "3AD5D3E10179"
- roles (list role_list
- (object Role "$UNNAMED$12"
- quid "3AD5D3E20225"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindingOperations"
- quid "3AD5D3E20239"
- label "eBindingOperations"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$13"
- quid "3AD5D425038A"
- roles (list role_list
- (object Role "eOperation"
- quid "3AD5D42602F5"
- label "eOperation"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$14"
- quid "3AD5D42602FF"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145")))
- (object Association "$UNNAMED$15"
- quid "3AD5D9400393"
- roles (list role_list
- (object Role "ePorts"
- quid "3AD5D941031C"
- label "ePorts"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$16"
- quid "3AD5D941031D"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$17"
- quid "3AD5D9B8011F"
- roles (list role_list
- (object Role "eBinding"
- quid "3AD5D9B9024D"
- label "eBinding"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$18"
- quid "3AD5D9B90261"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286")))
- (object Association "$UNNAMED$19"
- quid "3AD5E60301E2"
- roles (list role_list
- (object Role "$UNNAMED$20"
- quid "3AD5E60400B7"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eMessages"
- quid "3AD5E60400C1"
- label "eMessages"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$21"
- quid "3AD5E6710104"
- roles (list role_list
- (object Role "$UNNAMED$22"
- quid "3AD5E672034A"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "ePortTypes"
- quid "3AD5E6720354"
- label "ePortTypes"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$23"
- quid "3AD5E6770095"
- roles (list role_list
- (object Role "$UNNAMED$24"
- quid "3AD5E6780371"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindings"
- quid "3AD5E678037B"
- label "eBindings"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$25"
- quid "3AD5E67B0311"
- roles (list role_list
- (object Role "$UNNAMED$26"
- quid "3AD5E67D007F"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eServices"
- quid "3AD5E67D0089"
- label "eServices"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$27"
- quid "3AD5FD130079"
- roles (list role_list
- (object Role "eExtensibilityElements"
- quid "3AD5FD14019D"
- label "eExtensibilityElements"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$28"
- quid "3AD5FD14019E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$29"
- quid "3ADF2E6401F5"
- roles (list role_list
- (object Role "eBindingInput"
- quid "3ADF2E650251"
- label "eBindingInput"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$30"
- quid "3ADF2E650252"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$31"
- quid "3ADF2EB30163"
- roles (list role_list
- (object Role "eBindingOutput"
- quid "3ADF2EB4013C"
- label "eBindingOutput"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$32"
- quid "3ADF2EB4013D"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$33"
- quid "3ADF2F94024D"
- roles (list role_list
- (object Role "eInput"
- quid "3ADF2F950190"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$34"
- quid "3ADF2F95019A"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$35"
- quid "3ADF2FB802F9"
- roles (list role_list
- (object Role "eOutput"
- quid "3ADF2FB9020A"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$36"
- quid "3ADF2FB9020B"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$37"
- quid "3ADF331601A4"
- roles (list role_list
- (object Role "eFaults"
- quid "3ADF33180387"
- label "eFaults"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$38"
- quid "3ADF33180388"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$39"
- quid "3ADF340003E5"
- roles (list role_list
- (object Role "eBindingFaults"
- quid "3ADF340103AA"
- label "eBindingFaults"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$40"
- quid "3ADF340103AB"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$41"
- quid "3AE091F402F3"
- roles (list role_list
- (object Role "eFault"
- quid "3AE091F801FE"
- label "eFault"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$42"
- quid "3AE091F801FF"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6")))
- (object Association "$UNNAMED$43"
- quid "3AEA3D55002D"
- roles (list role_list
- (object Role "$UNNAMED$44"
- quid "3AEA3D560328"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eNamespaces"
- quid "3AEA3D560332"
- label "eNamespaces"
- supplier "Logical View::wsdl::Namespace"
- quidu "3AEA3CD30030"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$45"
- quid "3AEA3E3A002D"
- roles (list role_list
- (object Role "eDefinition"
- quid "3AEA3E3C01E8"
- label "eDefinition"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$46"
- quid "3AEA3E3C01F2"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$47"
- quid "3AEA412F0035"
- roles (list role_list
- (object Role "eParameterOrdering"
- quid "3AEA41310255"
- label "eParameterOrdering"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- is_navigable TRUE)
- (object Role "$UNNAMED$48"
- quid "3AEA4131025F"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE")))
- (object Association "$UNNAMED$49"
- quid "3B84AD2400BD"
- roles (list role_list
- (object Role "eInput"
- quid "3B84AD250083"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$50"
- quid "3B84AD250084"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4")))
- (object Association "$UNNAMED$51"
- quid "3B84AD7900F2"
- roles (list role_list
- (object Role "eOutput"
- quid "3B84AD7A014D"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$52"
- quid "3B84AD7A014E"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C")))
- (object Association "$UNNAMED$53"
- quid "3B8B1BE900C4"
- roles (list role_list
- (object Role "typeDefinition"
- quid "3B8B1BE90327"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$54"
- quid "3B8B1BE90331"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$55"
- quid "3B8B1C1203B2"
- roles (list role_list
- (object Role "elementDeclaration"
- quid "3B8B1C14001C"
- label "elementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$56"
- quid "3B8B1C140026"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$57"
- quid "3B8B1DCC02E5"
- roles (list role_list
- (object Role "eSchema"
- quid "3B8B1DCE0270"
- label "eSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$58"
- quid "3B8B1DCE027A"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$59"
- quid "3B8BEA27029F"
- roles (list role_list
- (object Role "$UNNAMED$60"
- quid "3B8BEA290356"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eTypes"
- quid "3B8BEA29036A"
- label "eTypes"
- supplier "Logical View::wsdl::Types"
- quidu "3B8BE9A603A8"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$61"
- quid "3C46829303E5"
- roles (list role_list
- (object Role "eMessage"
- quid "3C468296010E"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$62"
- quid "3C4682960118"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$63"
- quid "3C864DFF02EC"
- roles (list role_list
- (object Role "eImports"
- quid "3C864DFF02ED"
- label "eImports"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$64"
- quid "3C864DFF02EE"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$65"
- quid "3CC3614500F2"
- roles (list role_list
- (object Role "$UNNAMED$66"
- quid "3CC36146023D"
- supplier "Logical View::wsdl::XSDSchemaExtensibilityElement"
- quidu "3CC360D7039C"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "schema"
- quid "3CC36146023E"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$67"
- quid "3F74E78401B1"
- roles (list role_list
- (object Role "eMessage"
- quid "3F74E786000F"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$68"
- quid "3F74E7860023"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")))
- (object Association "$UNNAMED$69"
- quid "3F7896A2026E"
- roles (list role_list
- (object Role "parent"
- quid "3F7896A7012B"
- label "parent"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "children"
- quid "3F7896A7012C"
- label "children"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "2.7 Services"
- quid "39AD3EF60127"
- title "2.7 Services"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @41
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (1424, 800)
- label (object ItemLabel
- Parent_View @41
- location (1173, 660)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @41
- location (1173, 610)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 502
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- compartment (object Compartment
- Parent_View @41
- location (1173, 715)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 471)
- width 520
- height 404
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPort" @42
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (816, 528)
- label (object ItemLabel
- Parent_View @42
- location (686, 481)
- fill_color 13434879
- nlines 1
- max_width 260
- justify 0
- label "IPort")
- stereotype (object ItemLabel
- Parent_View @42
- location (686, 431)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB800326"
- compartment (object Compartment
- Parent_View @42
- location (686, 536)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 275)
- width 278
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IService" @43
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 160)
- label (object ItemLabel
- Parent_View @43
- location (126, 90)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "IService")
- stereotype (object ItemLabel
- Parent_View @43
- location (126, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 228
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB490287"
- compartment (object Compartment
- Parent_View @43
- location (126, 145)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 237)
- width 246
- height 264
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @44
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 528)
- label (object ItemLabel
- Parent_View @44
- location (44, 389)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- compartment (object Compartment
- Parent_View @44
- location (44, 444)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 425)
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @45
- stereotype TRUE
- line_color 3342489
- quidu "3B85954E01B4"
- client @44
- supplier @43
- line_style 3
- origin_attachment (240, 377)
- terminal_attachment (240, 292))
- (object ClassView "Class" "Logical View::wsdl::Binding" @46
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1440, 1264)
- label (object ItemLabel
- Parent_View @46
- location (1244, 1125)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- compartment (object Compartment
- Parent_View @46
- location (1244, 1180)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 425)
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @47
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @46
- supplier @41
- line_style 3
- origin_attachment (1430, 1113)
- terminal_attachment (1430, 1002))
- (object ClassView "Class" "Logical View::wsdl::Port" @48
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (816, 912)
- label (object ItemLabel
- Parent_View @48
- location (675, 840)
- fill_color 13434879
- nlines 1
- max_width 282
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- compartment (object Compartment
- Parent_View @48
- location (675, 895)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 303)
- width 300
- height 168
- annotation 8
- autoResize TRUE)
- (object InheritView "" @49
- stereotype TRUE
- line_color 3342489
- quidu "3B85954502C9"
- client @48
- supplier @42
- line_style 3
- origin_attachment (809, 828)
- terminal_attachment (809, 637))
- (object AssociationViewNew "$UNNAMED$15" @50
- location (343, 916)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9400393"
- roleview_list (list RoleViews
- (object RoleView "ePorts" @51
- Parent_View @50
- location (-121, 644)
- label (object SegLabel @52
- Parent_View @51
- location (413, 945)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+ePorts"
- pctDist 0.218978
- height 29
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031C"
- client @50
- supplier @48
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (666, 916)
- label (object SegLabel @53
- Parent_View @51
- location (539, 880)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 160
- justify 0
- label "0..*"
- pctDist 0.608000
- height 37
- orientation 0)
- label (object SegLabel @54
- Parent_View @51
- location (448, 990)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.328467
- height 74
- orientation 1))
- (object RoleView "$UNNAMED$16" @55
- Parent_View @50
- location (-121, 644)
- label (object SegLabel @56
- Parent_View @55
- location (216, 744)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031D"
- client @50
- supplier @44
- vertices (list Points
- (343, 916)
- (257, 916)
- (257, 679))
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (257, 679)
- label (object SegLabel @57
- Parent_View @55
- location (301, 796)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.637097
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$17" @58
- location (886, 1270)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B8011F"
- roleview_list (list RoleViews
- (object RoleView "eBinding" @59
- Parent_View @58
- location (38, 422)
- label (object SegLabel @60
- Parent_View @59
- location (1112, 1235)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eBinding"
- pctDist 0.648571
- height 36
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B9024D"
- client @58
- supplier @46
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (1235, 1270)
- label (object SegLabel @61
- Parent_View @59
- location (1170, 1313)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.814286
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$18" @62
- Parent_View @58
- location (38, 422)
- label (object SegLabel @63
- Parent_View @62
- location (852, 1106)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label ""
- pctDist 0.687943
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B90261"
- client @58
- supplier @48
- vertices (list Points
- (886, 1270)
- (812, 1270)
- (812, 996))
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (812, 996))))))
- (object ClassDiagram "2.5 Bindings"
- quid "39AD51270252"
- title "2.5 Bindings"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @64
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 240)
- label (object ItemLabel
- Parent_View @64
- location (73, 114)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @64
- location (73, 64)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 462
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- compartment (object Compartment
- Parent_View @64
- location (73, 172)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 471)
- width 480
- height 376
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOperation" @65
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 352)
- label (object ItemLabel
- Parent_View @65
- location (780, 130)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "IBindingOperation")
- stereotype (object ItemLabel
- Parent_View @65
- location (780, 80)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 392
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADC00072"
- compartment (object Compartment
- Parent_View @65
- location (780, 188)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 9
- max_width 396)
- width 410
- height 568
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingInput" @66
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (192, 1360)
- label (object ItemLabel
- Parent_View @66
- location (62, 1334)
- fill_color 16777215
- nlines 1
- max_width 260
- justify 0
- label "IBindingInput")
- stereotype (object ItemLabel
- Parent_View @66
- location (62, 1284)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADEB0100"
- width 278
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOutput" @67
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (208, 1664)
- label (object ItemLabel
- Parent_View @67
- location (61, 1638)
- fill_color 16777215
- nlines 1
- max_width 294
- justify 0
- label "IBindingOutput")
- stereotype (object ItemLabel
- Parent_View @67
- location (61, 1588)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 294
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE210111"
- width 312
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingFault" @68
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @68
- location (72, 1958)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "IBindingFault")
- stereotype (object ItemLabel
- Parent_View @68
- location (72, 1908)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 272
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE4F00BD"
- width 290
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @69
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 624)
- label (object ItemLabel
- Parent_View @69
- location (1568, 486)
- fill_color 13434879
- nlines 1
- max_width 673
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- compartment (object Compartment
- Parent_View @69
- location (1568, 544)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 425)
- width 691
- height 301
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @70
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1360)
- label (object ItemLabel
- Parent_View @70
- location (1756, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Output" @71
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1664)
- label (object ItemLabel
- Parent_View @71
- location (1756, 1587)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @72
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 688)
- label (object ItemLabel
- Parent_View @72
- location (97, 539)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- compartment (object Compartment
- Parent_View @72
- location (97, 597)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 425)
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @73
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @72
- supplier @64
- line_style 3
- origin_attachment (279, 527)
- terminal_attachment (279, 428))
- (object AssociationViewNew "$UNNAMED$9" @74
- location (1039, 742)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D352010F"
- roleview_list (list RoleViews
- (object RoleView "ePortType" @75
- Parent_View @74
- location (575, 598)
- label (object SegLabel @76
- Parent_View @75
- location (1449, 781)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+ePortType"
- pctDist 0.789292
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540176"
- client @74
- supplier @69
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (1559, 742)
- label (object SegLabel @77
- Parent_View @75
- location (1492, 716)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.872193
- height 27
- orientation 0))
- (object RoleView "$UNNAMED$10" @78
- Parent_View @74
- location (575, 598)
- label (object SegLabel @79
- Parent_View @78
- location (776, 697)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label ""
- pctDist 0.509449
- height 46
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540180"
- client @74
- supplier @72
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (520, 742))))
- (object ClassView "Class" "Logical View::wsdl::Operation" @80
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 1024)
- label (object ItemLabel
- Parent_View @80
- location (1672, 851)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- compartment (object Compartment
- Parent_View @80
- location (1672, 909)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 6
- max_width 446)
- width 450
- height 370
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @81
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (624, 1408)
- label (object ItemLabel
- Parent_View @81
- location (476, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- compartment (object Compartment
- Parent_View @81
- location (476, 1341)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 303)
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$49" @82
- location (1264, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD2400BD"
- roleview_list (list RoleViews
- (object RoleView "eInput" @83
- Parent_View @82
- location (96, 287)
- label (object SegLabel @84
- Parent_View @83
- location (1637, 1316)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.775148
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250083"
- client @82
- supplier @70
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (1747, 1359)
- label (object SegLabel @85
- Parent_View @83
- location (1694, 1398)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.889546
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$50" @86
- Parent_View @82
- location (96, 287)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250084"
- client @82
- supplier @81
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (781, 1359))))
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @87
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 1664)
- label (object ItemLabel
- Parent_View @87
- location (812, 1539)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- compartment (object Compartment
- Parent_View @87
- location (812, 1597)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 303)
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$51" @88
- location (1432, 1654)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7900F2"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @89
- Parent_View @88
- location (-120, 374)
- label (object SegLabel @90
- Parent_View @89
- location (1645, 1612)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.674772
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014D"
- client @88
- supplier @71
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1747, 1654)
- label (object SegLabel @91
- Parent_View @89
- location (1681, 1697)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.790274
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$52" @92
- Parent_View @88
- location (-120, 374)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014E"
- client @88
- supplier @87
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1117, 1654))))
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @93
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (992, 1008)
- label (object ItemLabel
- Parent_View @93
- location (819, 931)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- compartment (object Compartment
- Parent_View @93
- location (819, 989)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 303)
- width 364
- height 178
- annotation 8
- autoResize TRUE)
- (object InheritView "" @94
- stereotype TRUE
- line_color 3342489
- quidu "3B84ADE401DC"
- client @93
- supplier @65
- line_style 3
- origin_attachment (966, 919)
- terminal_attachment (966, 636))
- (object AssociationViewNew "$UNNAMED$11" @95
- location (457, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E10179"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$12" @96
- Parent_View @95
- location (-1319, 494)
- label (object SegLabel @97
- Parent_View @96
- location (235, 920)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20225"
- client @95
- supplier @72
- vertices (list Points
- (457, 1022)
- (276, 1022)
- (276, 849))
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (276, 849)
- label (object SegLabel @98
- Parent_View @96
- location (330, 884)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "eBindingOperations" @99
- Parent_View @95
- location (-1319, 494)
- label (object SegLabel @100
- Parent_View @99
- location (531, 977)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+eBindingOperations"
- pctDist 0.211699
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20239"
- client @95
- supplier @93
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (810, 1022)
- label (object SegLabel @101
- Parent_View @99
- location (769, 980)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.884956
- height 43
- orientation 0)
- label (object SegLabel @102
- Parent_View @99
- location (714, 1067)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.727564
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$13" @103
- location (1418, 1040)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D425038A"
- roleview_list (list RoleViews
- (object RoleView "eOperation" @104
- Parent_View @103
- location (-358, 464)
- label (object SegLabel @105
- Parent_View @104
- location (1520, 1079)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 228
- justify 0
- label "+eOperation"
- pctDist 0.420601
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602F5"
- client @103
- supplier @80
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1663, 1040)
- label (object SegLabel @106
- Parent_View @104
- location (1589, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.696721
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$14" @107
- Parent_View @103
- location (-358, 464)
- label (object SegLabel @108
- Parent_View @107
- location (1273, 1070)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.595420
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602FF"
- client @103
- supplier @93
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1174, 1040))))
- (object AssociationViewNew "$UNNAMED$29" @109
- location (787, 1190)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E6401F5"
- roleview_list (list RoleViews
- (object RoleView "eBindingInput" @110
- Parent_View @109
- location (-381, 454)
- label (object SegLabel @111
- Parent_View @110
- location (669, 1152)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+eBindingInput"
- pctDist 0.511905
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650251"
- client @109
- supplier @81
- vertices (list Points
- (787, 1190)
- (636, 1190)
- (636, 1271))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (636, 1271)
- label (object SegLabel @112
- Parent_View @110
- location (685, 1222)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.440476
- height 32
- orientation 0))
- (object RoleView "$UNNAMED$30" @113
- Parent_View @109
- location (-381, 454)
- label (object SegLabel @114
- Parent_View @113
- location (885, 1144)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650252"
- client @109
- supplier @93
- vertices (list Points
- (787, 1190)
- (926, 1190)
- (926, 1097))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (926, 1097)
- label (object SegLabel @115
- Parent_View @113
- location (871, 1136)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.837758
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$31" @116
- location (1024, 1312)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB30163"
- roleview_list (list RoleViews
- (object RoleView "eBindingOutput" @117
- Parent_View @116
- location (-150, 578)
- label (object SegLabel @118
- Parent_View @117
- location (1012, 1429)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 306
- justify 0
- label "+eBindingOutput"
- pctDist 0.545082
- height 13
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013C"
- client @116
- supplier @87
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1527)
- label (object SegLabel @119
- Parent_View @117
- location (967, 1479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.774590
- height 58
- orientation 1))
- (object RoleView "$UNNAMED$32" @120
- Parent_View @116
- location (-150, 578)
- label (object SegLabel @121
- Parent_View @120
- location (983, 1140)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013D"
- client @116
- supplier @93
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1097)
- label (object SegLabel @122
- Parent_View @120
- location (1031, 1186)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.590164
- height 7
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Fault" @123
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1920, 1984)
- label (object ItemLabel
- Parent_View @123
- location (1772, 1907)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @124
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1984)
- label (object ItemLabel
- Parent_View @124
- location (1212, 1859)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- compartment (object Compartment
- Parent_View @124
- location (1212, 1917)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 303)
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object InheritView "" @125
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE710333"
- client @124
- supplier @68
- line_style 3
- origin_attachment (1203, 2007)
- terminal_attachment (353, 2007))
- (object AssociationViewNew "$UNNAMED$39" @126
- location (1356, 1352)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340003E5"
- roleview_list (list RoleViews
- (object RoleView "eBindingFaults" @127
- Parent_View @126
- location (188, 616)
- label (object SegLabel @128
- Parent_View @127
- location (1382, 1750)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 300
- justify 0
- label "+eBindingFaults"
- pctDist 0.803150
- height 26
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AA"
- client @126
- supplier @124
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1356, 1847)
- label (object SegLabel @129
- Parent_View @127
- location (1409, 1797)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899194
- height 53
- orientation 0)
- label (object SegLabel @130
- Parent_View @127
- location (1256, 1806)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.919291
- height 101
- orientation 1))
- (object RoleView "$UNNAMED$40" @131
- Parent_View @126
- location (188, 616)
- label (object SegLabel @132
- Parent_View @131
- location (1076, 1197)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AB"
- client @126
- supplier @93
- vertices (list Points
- (1356, 1352)
- (1356, 1217)
- (1117, 1217)
- (1117, 1097))
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1117, 1097)
- label (object SegLabel @133
- Parent_View @131
- location (1152, 1164)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.687008
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$41" @134
- location (1640, 1970)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F402F3"
- roleview_list (list RoleViews
- (object RoleView "eFault" @135
- Parent_View @134
- location (-344, 818)
- label (object SegLabel @136
- Parent_View @135
- location (1674, 1915)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eFault"
- pctDist 0.276423
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FE"
- client @134
- supplier @123
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1763, 1970)
- label (object SegLabel @137
- Parent_View @135
- location (1718, 2012)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.642276
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$42" @138
- Parent_View @134
- location (-344, 818)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FF"
- client @134
- supplier @124
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1517, 1970))))
- (object InheritView "" @139
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE4302AB"
- client @87
- supplier @67
- line_style 3
- origin_attachment (803, 1656)
- terminal_attachment (364, 1656))
- (object InheritView "" @140
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE1B0113"
- client @81
- supplier @66
- line_style 3
- origin_attachment (467, 1385)
- terminal_attachment (331, 1385))))
- (object ClassDiagram "2.4 PortTypes"
- quid "3AD5D1C40366"
- title "2.4 PortTypes"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IPortType" @141
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 208)
- label (object ItemLabel
- Parent_View @141
- location (146, 172)
- fill_color 13434879
- nlines 1
- max_width 700
- justify 0
- label "IPortType")
- stereotype (object ItemLabel
- Parent_View @141
- location (146, 122)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 700
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A5BE0331"
- compartment (object Compartment
- Parent_View @141
- location (146, 233)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 696)
- width 718
- height 196
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::IOperation" @142
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 208)
- label (object ItemLabel
- Parent_View @142
- location (1116, 176)
- fill_color 13434879
- nlines 1
- max_width 873
- justify 0
- label "IOperation")
- stereotype (object ItemLabel
- Parent_View @142
- location (1116, 126)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 873
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A77600D1"
- compartment (object Compartment
- Parent_View @142
- location (1116, 237)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 709)
- width 891
- height 188
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IInput" @143
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1472)
- label (object ItemLabel
- Parent_View @143
- location (55, 1437)
- fill_color 16777215
- nlines 1
- max_width 626
- justify 0
- label "IInput")
- stereotype (object ItemLabel
- Parent_View @143
- location (55, 1387)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A7EE0015"
- compartment (object Compartment
- Parent_View @143
- location (55, 1498)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 621)
- width 644
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IOutput" @144
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 1792)
- label (object ItemLabel
- Parent_View @144
- location (56, 1757)
- fill_color 16777215
- nlines 1
- max_width 656
- justify 0
- label "IOutput")
- stereotype (object ItemLabel
- Parent_View @144
- location (56, 1707)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 656
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A829027D"
- compartment (object Compartment
- Parent_View @144
- location (56, 1818)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 656)
- width 674
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IFault" @145
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 2112)
- label (object ItemLabel
- Parent_View @145
- location (55, 2076)
- fill_color 13434879
- nlines 1
- max_width 626
- justify 0
- label "IFault")
- stereotype (object ItemLabel
- Parent_View @145
- location (55, 2026)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A861031D"
- compartment (object Compartment
- Parent_View @145
- location (55, 2137)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 625)
- width 644
- height 196
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @146
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 800)
- label (object ItemLabel
- Parent_View @146
- location (158, 672)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- compartment (object Compartment
- Parent_View @146
- location (158, 733)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 425)
- width 695
- height 281
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @147
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2576, 800)
- label (object ItemLabel
- Parent_View @147
- location (2325, 692)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- compartment (object Compartment
- Parent_View @147
- location (2325, 753)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 484)
- width 520
- height 240
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Fault" @148
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 2112)
- label (object ItemLabel
- Parent_View @148
- location (1647, 2060)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @149
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 1472)
- label (object ItemLabel
- Parent_View @149
- location (870, 1422)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 390
- height 125
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Output" @150
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1792)
- label (object ItemLabel
- Parent_View @150
- location (1232, 1742)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 274
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Operation" @151
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 784)
- label (object ItemLabel
- Parent_View @151
- location (1214, 620)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- compartment (object Compartment
- Parent_View @151
- location (1214, 681)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 446)
- width 695
- height 352
- annotation 8)
- (object AssociationViewNew "$UNNAMED$6" @152
- location (1024, 797)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C824018C"
- roleview_list (list RoleViews
- (object RoleView "eOperations" @153
- Parent_View @152
- location (592, 269)
- label (object SegLabel @154
- Parent_View @153
- location (1088, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+eOperations"
- pctDist 0.359649
- height 50
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701CD"
- client @152
- supplier @151
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (1205, 797)
- label (object SegLabel @155
- Parent_View @153
- location (1176, 861)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.840391
- height 64
- orientation 1)
- label (object SegLabel @156
- Parent_View @153
- location (1074, 923)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.276243
- height 126
- orientation 1))
- (object RoleView "portType" @157
- Parent_View @152
- location (592, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701C3"
- client @152
- supplier @146
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (843, 797)
- label (object SegLabel @158
- Parent_View @157
- location (888, 757)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.753488
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$47" @159
- location (2107, 773)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA412F0035"
- roleview_list (list RoleViews
- (object RoleView "eParameterOrdering" @160
- Parent_View @159
- location (1819, 101)
- label (object SegLabel @161
- Parent_View @160
- location (2145, 647)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+eParameterOrdering"
- pctDist 0.183333
- height 127
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA41310255"
- client @159
- supplier @147
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (2316, 773)
- label (object SegLabel @162
- Parent_View @160
- location (2272, 822)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.796610
- height 49
- orientation 1)
- label (object SegLabel @163
- Parent_View @160
- location (2171, 888)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.306220
- height 115
- orientation 1))
- (object RoleView "$UNNAMED$48" @164
- Parent_View @159
- location (1819, 101)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA4131025F"
- client @159
- supplier @151
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (1899, 773))))
- (object AssociationViewNew "$UNNAMED$37" @165
- location (1702, 1504)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF331601A4"
- roleview_list (list RoleViews
- (object RoleView "eFaults" @166
- Parent_View @165
- location (1414, 832)
- label (object SegLabel @167
- Parent_View @166
- location (1815, 1982)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eFaults"
- pctDist 0.878992
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180387"
- client @165
- supplier @148
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 2048)
- label (object SegLabel @168
- Parent_View @166
- location (1644, 2020)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.949580
- height 59
- orientation 1)
- label (object SegLabel @169
- Parent_View @166
- location (1593, 1963)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.845378
- height 110
- orientation 1))
- (object RoleView "$UNNAMED$38" @170
- Parent_View @165
- location (1414, 832)
- label (object SegLabel @171
- Parent_View @170
- location (1661, 1069)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180388"
- client @165
- supplier @151
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 960)
- label (object SegLabel @172
- Parent_View @170
- location (1821, 1039)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.857362
- height 119
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$33" @173
- location (1178, 1234)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F94024D"
- roleview_list (list RoleViews
- (object RoleView "eInput" @174
- Parent_View @173
- location (890, 562)
- label (object SegLabel @175
- Parent_View @174
- location (878, 1343)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.819820
- height 103
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F950190"
- client @173
- supplier @149
- vertices (list Points
- (1178, 1234)
- (980, 1234)
- (980, 1410))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (980, 1410)
- label (object SegLabel @176
- Parent_View @174
- location (1046, 1364)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.877660
- height 66
- orientation 0))
- (object RoleView "$UNNAMED$34" @177
- Parent_View @173
- location (890, 562)
- label (object SegLabel @178
- Parent_View @177
- location (1236, 1036)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F95019A"
- client @173
- supplier @151
- vertices (list Points
- (1178, 1234)
- (1277, 1234)
- (1277, 960))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (1277, 960)
- label (object SegLabel @179
- Parent_View @177
- location (1197, 1058)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736413
- height 81
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$35" @180
- location (1468, 1345)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB802F9"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @181
- Parent_View @180
- location (1180, 673)
- label (object SegLabel @182
- Parent_View @181
- location (1362, 1669)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.840909
- height 107
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020A"
- client @180
- supplier @150
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 1730)
- label (object SegLabel @183
- Parent_View @181
- location (1546, 1676)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863636
- height 78
- orientation 0))
- (object RoleView "$UNNAMED$36" @184
- Parent_View @180
- location (1180, 673)
- label (object SegLabel @185
- Parent_View @184
- location (1427, 1037)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020B"
- client @180
- supplier @151
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 960)
- label (object SegLabel @186
- Parent_View @184
- location (1523, 1080)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.690341
- height 55
- orientation 1))))
- (object InheritView "" @187
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FD8019F"
- client @146
- supplier @141
- line_style 0)
- (object InheritView "" @188
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FE20171"
- client @151
- supplier @142
- line_style 0)
- (object InheritView "" @189
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FEE031D"
- client @149
- supplier @143
- line_style 0)
- (object InheritView "" @190
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FF801CD"
- client @150
- supplier @144
- line_style 0)
- (object InheritView "" @191
- stereotype TRUE
- line_color 3342489
- quidu "3F6F2002002D"
- client @148
- supplier @145
- line_style 0)
- (object ClassView "Class" "Logical View::wsdl::Message" @192
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2224, 1456)
- label (object ItemLabel
- Parent_View @192
- location (1937, 1312)
- fill_color 13434879
- nlines 1
- max_width 575
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @192
- location (1937, 1373)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 425)
- width 593
- height 312
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::MessageReference" @193
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1520, 2544)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @193
- location (1193, 2466)
- fill_color 13434879
- nlines 1
- max_width 654
- justify 0
- label "MessageReference")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3F6771DB02DC"
- compartment (object Compartment
- Parent_View @193
- location (1193, 2527)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 303)
- width 672
- height 180
- annotation 8)
- (object InheritTreeView "" @194
- location (1524, 2275)
- line_color 3342489
- fill_color 13434879
- supplier @193
- vertices (list Points
- (1524, 2275)
- (1524, 2454)))
- (object InheritView "" @195
- stereotype TRUE
- line_color 3342489
- quidu "3F67723D0319"
- client @148
- supplier @193
- line_style 3
- origin_attachment (1776, 2176)
- terminal_attachment (1776, 2275)
- drawSupplier @194)
- (object InheritView "" @196
- stereotype TRUE
- line_color 3342489
- quidu "3F67723500DD"
- client @150
- supplier @193
- line_style 3
- origin_attachment (1371, 1854)
- terminal_attachment (1371, 2275)
- drawSupplier @194)
- (object InheritView "" @197
- stereotype TRUE
- line_color 3342489
- quidu "3F67722802E7"
- client @149
- supplier @193
- line_style 3
- origin_attachment (980, 1534)
- terminal_attachment (980, 2275)
- drawSupplier @194)
- (object AssociationViewNew "$UNNAMED$67" @198
- location (2206, 2259)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E78401B1"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @199
- Parent_View @198
- location (734, -285)
- label (object SegLabel @200
- Parent_View @199
- location (2068, 1670)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.912230
- height 139
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E786000F"
- client @198
- supplier @192
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (2206, 1612)
- label (object SegLabel @201
- Parent_View @199
- location (2260, 1678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$68" @202
- Parent_View @198
- location (734, -285)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E7860023"
- client @198
- supplier @193
- vertices (list Points
- (2206, 2259)
- (2206, 2556)
- (1856, 2556))
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (1856, 2556))))))
- (object ClassDiagram "2.1 Definitions"
- quid "3AD5E48A0262"
- title "2.1 Definitions"
- zoom 83
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IDefinition" @203
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 192)
- label (object ItemLabel
- Parent_View @203
- location (88, 161)
- fill_color 13434879
- nlines 1
- max_width 688
- justify 0
- label "IDefinition")
- stereotype (object ItemLabel
- Parent_View @203
- location (88, 111)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 688
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B1D90142"
- compartment (object Compartment
- Parent_View @203
- location (88, 220)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 700)
- width 706
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @204
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- label (object ItemLabel
- Parent_View @204
- location (1686, 896)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 294
- height 120
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Import" @205
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 624)
- label (object ItemLabel
- Parent_View @205
- location (1910, 545)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- compartment (object Compartment
- Parent_View @205
- location (1910, 604)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 478)
- width 486
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @206
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2112, 1184)
- label (object ItemLabel
- Parent_View @206
- location (1900, 1056)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @206
- location (1900, 1115)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 425)
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @207
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1808, 1488)
- label (object ItemLabel
- Parent_View @207
- location (1596, 1360)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- compartment (object Compartment
- Parent_View @207
- location (1596, 1419)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 425)
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @208
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2336, 1728)
- label (object ItemLabel
- Parent_View @208
- location (2124, 1600)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- compartment (object Compartment
- Parent_View @208
- location (2124, 1659)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 425)
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @209
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 240)
- label (object ItemLabel
- Parent_View @209
- location (1073, 39)
- fill_color 13434879
- nlines 1
- max_width 510
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- compartment (object Compartment
- Parent_View @209
- location (1073, 98)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 7
- max_width 521)
- width 528
- height 426
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$59" @210
- location (1358, 860)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$60" @211
- Parent_View @210
- location (62, -36)
- label (object SegLabel @212
- Parent_View @211
- location (1317, 535)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @210
- supplier @209
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1358, 453)
- label (object SegLabel @213
- Parent_View @211
- location (1403, 511)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.856649
- height 45
- orientation 1))
- (object RoleView "eTypes" @214
- Parent_View @210
- location (62, -36)
- label (object SegLabel @215
- Parent_View @214
- location (1586, 909)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label "+eTypes"
- pctDist 0.779097
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @210
- supplier @204
- vertices (list Points
- (1358, 860)
- (1358, 948)
- (1677, 948))
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1677, 948)
- label (object SegLabel @216
- Parent_View @214
- location (1632, 987)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.892655
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$63" @217
- location (1612, 595)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$64" @218
- Parent_View @217
- location (12, 227)
- label (object SegLabel @219
- Parent_View @218
- location (1423, 512)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @217
- supplier @209
- vertices (list Points
- (1612, 595)
- (1464, 595)
- (1464, 453))
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1464, 453)
- label (object SegLabel @220
- Parent_View @218
- location (1524, 495)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.858667
- height 60
- orientation 1))
- (object RoleView "eImports" @221
- Parent_View @217
- location (12, 227)
- label (object SegLabel @222
- Parent_View @221
- location (1692, 557)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eImports"
- pctDist 0.280335
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @217
- supplier @205
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1901, 595)
- label (object SegLabel @223
- Parent_View @221
- location (1854, 652)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.841004
- height 57
- orientation 1)
- label (object SegLabel @224
- Parent_View @221
- location (1676, 646)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.225941
- height 51
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$19" @225
- location (1279, 1137)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60301E2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$20" @226
- Parent_View @225
- location (271, 273)
- label (object SegLabel @227
- Parent_View @226
- location (1238, 591)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400B7"
- client @225
- supplier @209
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1279, 453)
- label (object SegLabel @228
- Parent_View @226
- location (1320, 586)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.804974
- height 41
- orientation 1))
- (object RoleView "eMessages" @229
- Parent_View @225
- location (271, 273)
- label (object SegLabel @230
- Parent_View @229
- location (1647, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+eMessages"
- pctDist 0.643137
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400C1"
- client @225
- supplier @206
- vertices (list Points
- (1279, 1137)
- (1279, 1208)
- (1891, 1208))
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1891, 1208)
- label (object SegLabel @231
- Parent_View @229
- location (1821, 1171)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899346
- height 38
- orientation 0)
- label (object SegLabel @232
- Parent_View @229
- location (1797, 1244)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.864407
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$21" @233
- location (1212, 1159)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6710104"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @234
- Parent_View @233
- location (-324, 215)
- label (object SegLabel @235
- Parent_View @234
- location (1171, 594)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E672034A"
- client @233
- supplier @209
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1212, 453)
- label (object SegLabel @236
- Parent_View @234
- location (1251, 624)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.757962
- height 39
- orientation 1))
- (object RoleView "ePortTypes" @237
- Parent_View @233
- location (-324, 215)
- label (object SegLabel @238
- Parent_View @237
- location (1391, 1451)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+ePortTypes"
- pctDist 0.723698
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6720354"
- client @233
- supplier @207
- vertices (list Points
- (1212, 1159)
- (1212, 1490)
- (1587, 1490))
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1587, 1490)
- label (object SegLabel @239
- Parent_View @237
- location (1533, 1451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.925611
- height 40
- orientation 0)
- label (object SegLabel @240
- Parent_View @237
- location (1512, 1540)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.895855
- height 50
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$23" @241
- location (1114, 1585)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6770095"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$24" @242
- Parent_View @241
- location (-406, 241)
- label (object SegLabel @243
- Parent_View @242
- location (1073, 680)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6780371"
- client @241
- supplier @209
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (1114, 453)
- label (object SegLabel @244
- Parent_View @242
- location (1155, 752)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736704
- height 41
- orientation 1))
- (object RoleView "eBindings" @245
- Parent_View @241
- location (-406, 241)
- label (object SegLabel @246
- Parent_View @245
- location (1851, 1674)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eBindings"
- pctDist 0.766347
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E678037B"
- client @241
- supplier @208
- vertices (list Points
- (1114, 1585)
- (1114, 1716)
- (2115, 1716))
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (2115, 1716)
- label (object SegLabel @247
- Parent_View @245
- location (2053, 1677)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.945074
- height 40
- orientation 0)
- label (object SegLabel @248
- Parent_View @245
- location (2014, 1754)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.911072
- height 38
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Service" @249
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @249
- location (1628, 1920)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- compartment (object Compartment
- Parent_View @249
- location (1628, 1979)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 425)
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$25" @250
- location (1066, 1533)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67B0311"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$26" @251
- Parent_View @250
- location (-521, -111)
- label (object SegLabel @252
- Parent_View @251
- location (1025, 669)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D007F"
- client @250
- supplier @209
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1066, 453)
- label (object SegLabel @253
- Parent_View @251
- location (1109, 756)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.719697
- height 43
- orientation 1))
- (object RoleView "eServices" @254
- Parent_View @250
- location (-521, -111)
- label (object SegLabel @255
- Parent_View @254
- location (1393, 2028)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eServices"
- pctDist 0.791824
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D0089"
- client @250
- supplier @249
- vertices (list Points
- (1066, 1533)
- (1066, 2059)
- (1619, 2059))
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1619, 2059)
- label (object SegLabel @256
- Parent_View @254
- location (1554, 2031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.940197
- height 29
- orientation 0)
- label (object SegLabel @257
- Parent_View @254
- location (1532, 2113)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.920515
- height 54
- orientation 1))))
- (object InheritView "" @258
- stereotype TRUE
- line_color 3342489
- quidu "3B84B1F80382"
- client @209
- supplier @203
- line_style 3
- origin_attachment (1064, 263)
- terminal_attachment (785, 263))))
- (object ClassDiagram "2.1.3 Extensibility"
- quid "3AD60C510192"
- title "2.1.3 Extensibility"
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::Binding" @259
- ShowCompartmentStereotypes TRUE
- location (576, 1584)
- label (object ItemLabel
- Parent_View @259
- location (494, 1531)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Port" @260
- ShowCompartmentStereotypes TRUE
- location (1568, 1888)
- label (object ItemLabel
- Parent_View @260
- location (1487, 1836)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @261
- ShowCompartmentStereotypes TRUE
- location (1424, 1728)
- label (object ItemLabel
- Parent_View @261
- location (1342, 1675)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @262
- ShowCompartmentStereotypes TRUE
- location (1216, 2336)
- label (object ItemLabel
- Parent_View @262
- location (1088, 2283)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @263
- ShowCompartmentStereotypes TRUE
- location (736, 1760)
- label (object ItemLabel
- Parent_View @263
- location (563, 1707)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 130
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IExtensibilityElement" @264
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 160)
- label (object ItemLabel
- Parent_View @264
- location (1495, 136)
- fill_color 13434879
- nlines 1
- max_width 786
- justify 0
- label "IExtensibilityElement")
- stereotype (object ItemLabel
- Parent_View @264
- location (1495, 86)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 786
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B12402AB"
- width 804
- height 172
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @265
- ShowCompartmentStereotypes TRUE
- location (928, 1952)
- label (object ItemLabel
- Parent_View @265
- location (800, 1899)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @266
- ShowCompartmentStereotypes TRUE
- location (1008, 2144)
- label (object ItemLabel
- Parent_View @266
- location (863, 2091)
- fill_color 13434879
- nlines 1
- max_width 290
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 308
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @267
- ShowCompartmentStereotypes TRUE
- location (176, 1296)
- label (object ItemLabel
- Parent_View @267
- location (74, 1235)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 146
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @268
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (416, 1408)
- label (object ItemLabel
- Parent_View @268
- location (335, 1356)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @269
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (480, 688)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @269
- location (209, 580)
- fill_color 13434879
- nlines 1
- max_width 542
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- compartment (object Compartment
- Parent_View @269
- location (209, 641)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 531)
- width 560
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @270
- location (480, 1039)
- line_color 3342489
- fill_color 13434879
- supplier @269
- vertices (list Points
- (480, 1039)
- (480, 808)))
- (object InheritView "" @271
- stereotype TRUE
- line_color 3342489
- quidu "3AD600CB00AA"
- client @260
- supplier @269
- line_style 3
- origin_attachment (1566, 1824)
- terminal_attachment (1566, 1039)
- drawSupplier @270)
- (object InheritView "" @272
- stereotype TRUE
- line_color 3342489
- quidu "3B85B5A4027E"
- client @266
- supplier @269
- line_style 3
- origin_attachment (1097, 2079)
- terminal_attachment (1097, 1039)
- drawSupplier @270)
- (object InheritView "" @273
- stereotype TRUE
- line_color 3342489
- quidu "3AE0938602C9"
- client @262
- supplier @269
- line_style 3
- origin_attachment (1219, 2271)
- terminal_attachment (1219, 1039)
- drawSupplier @270)
- (object InheritView "" @274
- stereotype TRUE
- line_color 3342489
- quidu "3B85B59B0072"
- client @265
- supplier @269
- line_style 3
- origin_attachment (988, 1887)
- terminal_attachment (988, 1039)
- drawSupplier @270)
- (object InheritView "" @275
- stereotype TRUE
- line_color 3342489
- quidu "3AD6009202F7"
- client @263
- supplier @269
- line_style 3
- origin_attachment (797, 1695)
- terminal_attachment (797, 1039)
- drawSupplier @270)
- (object InheritView "" @276
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA0F02F0"
- client @259
- supplier @269
- line_style 3
- origin_attachment (601, 1519)
- terminal_attachment (601, 1039)
- drawSupplier @270)
- (object InheritView "" @277
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FDB803D4"
- client @267
- supplier @269
- line_style 3
- origin_attachment (211, 1223)
- terminal_attachment (211, 1039)
- drawSupplier @270)
- (object InheritView "" @278
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @268
- supplier @269
- line_style 3
- origin_attachment (414, 1344)
- terminal_attachment (414, 1039)
- drawSupplier @270)
- (object InheritView "" @279
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA20025E"
- client @261
- supplier @269
- line_style 3
- origin_attachment (1429, 1663)
- terminal_attachment (1429, 1039)
- drawSupplier @270)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @280
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 688)
- label (object ItemLabel
- Parent_View @280
- location (1632, 583)
- fill_color 13434879
- nlines 1
- max_width 545
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- compartment (object Compartment
- Parent_View @280
- location (1632, 644)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 465)
- width 563
- height 234
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$27" @281
- location (1191, 672)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$28" @282
- Parent_View @281
- location (23, 560)
- label (object SegLabel @283
- Parent_View @282
- location (847, 631)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @281
- supplier @269
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (760, 672)
- label (object SegLabel @284
- Parent_View @282
- location (830, 628)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.839695
- height 45
- orientation 1))
- (object RoleView "eExtensibilityElements" @285
- Parent_View @281
- location (23, 560)
- label (object SegLabel @286
- Parent_View @285
- location (1355, 522)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label "+eExtensibilityElements"
- pctDist 0.379070
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @281
- supplier @280
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (1623, 672)
- label (object SegLabel @287
- Parent_View @285
- location (1496, 627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.709402
- height 46
- orientation 0)
- label (object SegLabel @288
- Parent_View @285
- location (1463, 764)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.632479
- height 92
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::WSDLElement" @289
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1008, 192)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @289
- location (630, 84)
- fill_color 13434879
- nlines 1
- max_width 756
- justify 0
- label "WSDLElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C6A302DD"
- compartment (object Compartment
- Parent_View @289
- location (630, 145)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 753)
- width 774
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @290
- location (1008, 402)
- line_color 3342489
- fill_color 13434879
- supplier @289
- vertices (list Points
- (1008, 402)
- (1008, 312)))
- (object InheritView "" @291
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FE3C03D4"
- client @269
- supplier @289
- line_style 3
- origin_attachment (492, 568)
- terminal_attachment (492, 402)
- drawSupplier @290)
- (object InheritView "" @292
- stereotype TRUE
- line_color 3342489
- quidu "3B84B14903D0"
- client @280
- supplier @264
- line_style 3
- origin_attachment (2015, 571)
- terminal_attachment (2015, 246))
- (object InheritView "" @293
- stereotype TRUE
- line_color 3342489
- quidu "3BDDF53502C3"
- client @280
- supplier @289
- line_style 3
- origin_attachment (1762, 571)
- terminal_attachment (1762, 402)
- drawSupplier @290)
- (object ClassView "Class" "Logical View::wsdl::UnknownExtensibilityElement" @294
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2016, 1360)
- label (object ItemLabel
- Parent_View @294
- location (1731, 1307)
- fill_color 13434879
- nlines 1
- max_width 570
- justify 0
- label "UnknownExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CB24AC002AE"
- width 588
- height 130
- annotation 8
- autoResize TRUE)
- (object InheritView "" @295
- stereotype TRUE
- line_color 3342489
- quidu "3CB24AEC01CB"
- client @294
- supplier @280
- line_style 3
- origin_attachment (1796, 1295)
- terminal_attachment (1796, 805))
- (object AssociationViewNew "$UNNAMED$69" @296
- location (2311, 1686)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A2026E"
- roleview_list (list RoleViews
- (object RoleView "parent" @297
- Parent_View @296
- location (279, 294)
- label (object SegLabel @298
- Parent_View @297
- location (2422, 1333)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+parent"
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012B"
- client @296
- supplier @294
- vertices (list Points
- (2311, 1686)
- (2432, 1686)
- (2432, 1374)
- (2310, 1374))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2310, 1374)
- label (object SegLabel @299
- Parent_View @297
- location (2366, 1428)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "children" @300
- Parent_View @296
- location (279, 294)
- label (object SegLabel @301
- Parent_View @300
- location (1899, 1537)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+children"
- pctDist 0.798561
- height 118
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012C"
- client @296
- supplier @294
- vertices (list Points
- (2311, 1686)
- (2016, 1686)
- (2016, 1425))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2016, 1425)
- label (object SegLabel @302
- Parent_View @300
- location (2070, 1481)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))))
- (object ClassDiagram "2.1.1 Naming and Linking"
- quid "3AE8ED7201BD"
- title "2.1.1 Naming and Linking"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IImport" @303
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 224)
- label (object ItemLabel
- Parent_View @303
- location (1422, 177)
- fill_color 13434879
- nlines 1
- max_width 580
- justify 0
- label "IImport")
- stereotype (object ItemLabel
- Parent_View @303
- location (1422, 127)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 580
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B2020119"
- width 598
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Namespace" @304
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 1136)
- label (object ItemLabel
- Parent_View @304
- location (202, 1041)
- fill_color 13434879
- nlines 1
- max_width 461
- justify 0
- label "Namespace")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AEA3CD30030"
- width 479
- height 215
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @305
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1632, 1216)
- label (object ItemLabel
- Parent_View @305
- location (1294, 1142)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 694
- height 173
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @306
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (400, 384)
- label (object ItemLabel
- Parent_View @306
- location (164, 236)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 490
- height 320
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$43" @307
- location (309, 786)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D55002D"
- roleview_list (list RoleViews
- (object RoleView "eNamespaces" @308
- Parent_View @307
- location (-91, 258)
- label (object SegLabel @309
- Parent_View @308
- location (461, 956)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+eNamespaces"
- pctDist 0.698842
- height 152
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560332"
- client @307
- supplier @304
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 1029)
- label (object SegLabel @310
- Parent_View @308
- location (248, 973)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.768707
- height 62
- orientation 1)
- label (object SegLabel @311
- Parent_View @308
- location (228, 913)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.525097
- height 82
- orientation 1))
- (object RoleView "$UNNAMED$44" @312
- Parent_View @307
- location (-91, 258)
- label (object SegLabel @313
- Parent_View @312
- location (268, 592)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560328"
- client @307
- supplier @306
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 544)
- label (object SegLabel @314
- Parent_View @312
- location (239, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.844961
- height 71
- orientation 0))))
- (object ClassView "Class" "Logical View::wsdl::Import" @315
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1472, 720)
- label (object ItemLabel
- Parent_View @315
- location (1255, 580)
- fill_color 13434879
- nlines 1
- max_width 434
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- width 452
- height 304
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$57" @316
- location (1486, 1001)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCC02E5"
- roleview_list (list RoleViews
- (object RoleView "eSchema" @317
- Parent_View @316
- location (510, -103)
- label (object SegLabel @318
- Parent_View @317
- location (1737, 1018)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eSchema"
- pctDist 0.592593
- height 105
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE0270"
- client @316
- supplier @305
- vertices (list Points
- (1486, 1001)
- (1632, 1001)
- (1632, 1130))
- line_style 3
- origin_attachment (1486, 1001)
- terminal_attachment (1632, 1130)
- label (object SegLabel @319
- Parent_View @317
- location (1563, 1018)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.592593
- height 70
- orientation 1))
- (object RoleView "$UNNAMED$58" @320
- Parent_View @316
- location (510, -103)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE027A"
- client @316
- supplier @315
- line_style 3
- origin_attachment (1486, 1000)
- terminal_attachment (1486, 872))))
- (object AssociationViewNew "$UNNAMED$45" @321
- location (1087, 403)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3A002D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$46" @322
- Parent_View @321
- location (687, -125)
- label (object SegLabel @323
- Parent_View @322
- location (1406, 480)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01F2"
- client @321
- supplier @315
- vertices (list Points
- (1087, 403)
- (1364, 403)
- (1364, 568))
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (1364, 568))
- (object RoleView "eDefinition" @324
- Parent_View @321
- location (687, -125)
- label (object SegLabel @325
- Parent_View @324
- location (805, 363)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eDefinition"
- pctDist 0.637532
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01E8"
- client @321
- supplier @306
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (645, 403)
- label (object SegLabel @326
- Parent_View @324
- location (727, 456)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.814910
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$63" @327
- location (737, 826)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$64" @328
- Parent_View @327
- location (-671, 106)
- label (object SegLabel @329
- Parent_View @328
- location (552, 647)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @327
- supplier @306
- vertices (list Points
- (737, 826)
- (510, 826)
- (510, 544))
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (510, 544)
- label (object SegLabel @330
- Parent_View @328
- location (457, 595)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "eImports" @331
- Parent_View @327
- location (-671, 106)
- label (object SegLabel @332
- Parent_View @331
- location (1144, 773)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eImports"
- pctDist 0.799189
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @327
- supplier @315
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (1246, 826)
- label (object SegLabel @333
- Parent_View @331
- location (1180, 879)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.872211
- height 53
- orientation 1)
- label (object SegLabel @334
- Parent_View @331
- location (1162, 933)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.837728
- height 107
- orientation 1))))
- (object InheritView "" @335
- stereotype TRUE
- line_color 3342489
- quidu "3F6F200D0340"
- client @315
- supplier @303
- line_style 3
- origin_attachment (1555, 568)
- terminal_attachment (1555, 333))))
- (object ClassDiagram "2.2 Types"
- quid "3B85AE59037E"
- title "2.2 Types"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 81
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @336
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1136, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @336
- location (895, 1157)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ECD302A9"
- width 500
- height 174
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @337
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1136, 1600)
- label (object ItemLabel
- Parent_View @337
- location (906, 1531)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 478
- height 162
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @338
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1968)
- label (object ItemLabel
- Parent_View @338
- location (1022, 1828)
- fill_color 13434879
- nlines 1
- max_width 517
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @338
- location (1022, 1883)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 425)
- width 535
- height 305
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Part" @339
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1184)
- label (object ItemLabel
- Parent_View @339
- location (128, 1067)
- fill_color 13434879
- nlines 1
- max_width 448
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- compartment (object Compartment
- Parent_View @339
- location (128, 1122)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 484)
- width 466
- height 258
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @340
- location (735, 1172)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE900C4"
- roleview_list (list RoleViews
- (object RoleView "typeDefinition" @341
- Parent_View @340
- location (143, 676)
- label (object SegLabel @342
- Parent_View @341
- location (775, 1133)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.269006
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90327"
- client @340
- supplier @336
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (886, 1172)
- label (object SegLabel @343
- Parent_View @341
- location (839, 1207)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.688705
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$54" @344
- Parent_View @340
- location (143, 676)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90331"
- client @340
- supplier @339
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (585, 1172))))
- (object AssociationViewNew "$UNNAMED$55" @345
- location (527, 1592)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C1203B2"
- roleview_list (list RoleViews
- (object RoleView "elementDeclaration" @346
- Parent_View @345
- location (-65, 1096)
- label (object SegLabel @347
- Parent_View @346
- location (666, 1554)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+elementDeclaration"
- pctDist 0.375394
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C14001C"
- client @345
- supplier @337
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (897, 1592)
- label (object SegLabel @348
- Parent_View @346
- location (807, 1645)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.755877
- height 53
- orientation 1))
- (object RoleView "$UNNAMED$56" @349
- Parent_View @345
- location (-65, 1096)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C140026"
- client @345
- supplier @339
- vertices (list Points
- (527, 1592)
- (437, 1592)
- (437, 1313))
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (437, 1313))))
- (object AssociationViewNew "$UNNAMED$61" @350
- location (322, 1911)
- stereotype TRUE
- line_color 3342489
- quidu "3C46829303E5"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @351
- Parent_View @350
- location (-14, 1191)
- label (object SegLabel @352
- Parent_View @351
- location (838, 1872)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.748560
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C468296010E"
- client @350
- supplier @338
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (1013, 1911)
- label (object SegLabel @353
- Parent_View @351
- location (943, 1965)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$62" @354
- Parent_View @350
- location (-14, 1191)
- stereotype TRUE
- line_color 3342489
- quidu "3C4682960118"
- client @350
- supplier @339
- vertices (list Points
- (322, 1911)
- (229, 1911)
- (229, 1313))
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (229, 1313))))
- (object ClassView "Class" "Logical View::wsdl::Types" @355
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 608)
- label (object ItemLabel
- Parent_View @355
- location (615, 512)
- fill_color 13434879
- nlines 1
- max_width 371
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- compartment (object Compartment
- Parent_View @355
- location (615, 567)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 312)
- width 389
- height 216
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @356
- ShowCompartmentStereotypes TRUE
- location (176, 160)
- label (object ItemLabel
- Parent_View @356
- location (74, 107)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 130
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$59" @357
- location (234, 604)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "eTypes" @358
- Parent_View @357
- location (-150, 396)
- label (object SegLabel @359
- Parent_View @358
- location (480, 640)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "+eTypes"
- pctDist 0.661017
- height 36
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @357
- supplier @355
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (606, 604)
- label (object SegLabel @360
- Parent_View @358
- location (526, 569)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783883
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$60" @361
- Parent_View @357
- location (-150, 396)
- label (object SegLabel @362
- Parent_View @361
- location (133, 313)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @357
- supplier @356
- vertices (list Points
- (234, 604)
- (174, 604)
- (174, 225))
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (174, 225)
- label (object SegLabel @363
- Parent_View @361
- location (228, 271)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.897729
- height 54
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::ITypes" @364
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (640, 224)
- label (object ItemLabel
- Parent_View @364
- location (525, 203)
- fill_color 13434879
- nlines 1
- max_width 230
- justify 0
- label "ITypes")
- stereotype (object ItemLabel
- Parent_View @364
- location (525, 153)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 230
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3CADCBB20050"
- width 248
- height 166
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::XSDSchemaExtensibilityElement" @365
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 800)
- label (object ItemLabel
- Parent_View @365
- location (1359, 753)
- fill_color 13434879
- nlines 1
- max_width 739
- justify 0
- label "XSDSchemaExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CC360D7039C"
- width 757
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @366
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1856, 1216)
- label (object ItemLabel
- Parent_View @366
- location (1529, 1103)
- fill_color 13434879
- nlines 1
- max_width 655
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 673
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$65" @367
- location (1826, 975)
- stereotype TRUE
- line_color 3342489
- quidu "3CC3614500F2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$66" @368
- Parent_View @367
- location (306, 447)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023D"
- client @367
- supplier @365
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 859)
- label (object SegLabel @369
- Parent_View @368
- location (1774, 900)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.656489
- height 53
- orientation 0))
- (object RoleView "schema" @370
- Parent_View @367
- location (306, 447)
- label (object SegLabel @371
- Parent_View @370
- location (2006, 1033)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist 0.507576
- height 180
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023E"
- client @367
- supplier @366
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 1091)
- label (object SegLabel @372
- Parent_View @370
- location (1788, 1050)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.651515
- height 39
- orientation 1))))
- (object InheritView "" @373
- stereotype TRUE
- line_color 3342489
- quidu "3CADCD3B0380"
- client @355
- supplier @364
- line_style 3
- origin_attachment (705, 500)
- terminal_attachment (705, 307))
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @374
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 224)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @374
- location (815, 130)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- compartment (object Compartment
- Parent_View @374
- location (815, 185)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 531)
- width 500
- height 212
- annotation 8
- autoResize TRUE)
- (object InheritView "" @375
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @355
- supplier @374
- line_style 3
- origin_attachment (854, 500)
- terminal_attachment (854, 330))
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @376
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1824, 464)
- label (object ItemLabel
- Parent_View @376
- location (1490, 368)
- fill_color 13434879
- nlines 1
- max_width 669
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- compartment (object Compartment
- Parent_View @376
- location (1490, 423)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 465)
- width 687
- height 216
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$27" @377
- location (1206, 493)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$28" @378
- Parent_View @377
- location (-586, 237)
- label (object SegLabel @379
- Parent_View @378
- location (1136, 386)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @377
- supplier @374
- vertices (list Points
- (1206, 493)
- (1094, 493)
- (1094, 330))
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1094, 330)
- label (object SegLabel @380
- Parent_View @378
- location (1042, 377)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.828326
- height 53
- orientation 0))
- (object RoleView "eExtensibilityElements" @381
- Parent_View @377
- location (-586, 237)
- label (object SegLabel @382
- Parent_View @381
- location (1196, 454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+eExtensibilityElements"
- pctDist -0.039711
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @377
- supplier @376
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1481, 493)
- label (object SegLabel @383
- Parent_View @381
- location (1415, 546)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.764957
- height 53
- orientation 1)
- label (object SegLabel @384
- Parent_View @381
- location (1396, 392)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.694915
- height 102
- orientation 0))))
- (object InheritView "" @385
- stereotype TRUE
- line_color 3342489
- quidu "3CC3627F00B7"
- client @365
- supplier @376
- line_style 3
- origin_attachment (1812, 741)
- terminal_attachment (1812, 572))))
- (object ClassDiagram "2.3 Messages"
- quid "3BCE853D02C8"
- title "2.3 Messages"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IMessage" @386
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (448, 224)
- label (object ItemLabel
- Parent_View @386
- location (267, 122)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "IMessage")
- stereotype (object ItemLabel
- Parent_View @386
- location (267, 72)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 362
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A8AF004F"
- compartment (object Compartment
- Parent_View @386
- location (267, 180)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 381)
- width 380
- height 328
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPart" @387
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 224)
- label (object ItemLabel
- Parent_View @387
- location (1029, 124)
- fill_color 13434879
- nlines 1
- max_width 599
- justify 0
- label "IPart")
- stereotype (object ItemLabel
- Parent_View @387
- location (1029, 74)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 599
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A93F01BE"
- compartment (object Compartment
- Parent_View @387
- location (1029, 182)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 603)
- width 617
- height 324
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @388
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 816)
- label (object ItemLabel
- Parent_View @388
- location (1075, 690)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- compartment (object Compartment
- Parent_View @388
- location (1075, 748)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 484)
- width 492
- height 276
- annotation 8
- autoResize TRUE)
- (object InheritView "" @389
- stereotype TRUE
- line_color 3342489
- quidu "3B84A96D02F1"
- client @388
- supplier @387
- line_style 3
- origin_attachment (1304, 678)
- terminal_attachment (1304, 386))
- (object ClassView "Class" "Logical View::wsdl::Message" @390
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (448, 656)
- label (object ItemLabel
- Parent_View @390
- location (241, 507)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @390
- location (241, 565)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 425)
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @391
- stereotype TRUE
- line_color 3342489
- quidu "3B84A8D102BA"
- client @390
- supplier @386
- line_style 3
- origin_attachment (445, 495)
- terminal_attachment (445, 388))
- (object AssociationViewNew "$UNNAMED$7" @392
- location (688, 952)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBE00E2"
- roleview_list (list RoleViews
- (object RoleView "eParts" @393
- Parent_View @392
- location (176, 328)
- label (object SegLabel @394
- Parent_View @393
- location (952, 897)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eParts"
- pctDist 0.697452
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0061"
- client @392
- supplier @388
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (1066, 952)
- label (object SegLabel @395
- Parent_View @393
- location (987, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.789809
- height 53
- orientation 1)
- label (object SegLabel @396
- Parent_View @393
- location (967, 1061)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.742038
- height 109
- orientation 1))
- (object RoleView "$UNNAMED$8" @397
- Parent_View @392
- location (176, 328)
- label (object SegLabel @398
- Parent_View @397
- location (404, 893)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0057"
- client @392
- supplier @390
- vertices (list Points
- (688, 952)
- (445, 952)
- (445, 817))
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (445, 817)
- label (object SegLabel @399
- Parent_View @397
- location (393, 912)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.747604
- height 53
- orientation 0))))))))
- (object Class_Category "xsd"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "prefix"
- value "XSD")
- (object Attribute
- tool "Ecore"
- name "basePackage"
- value "org.eclipse")
- (object Attribute
- tool "Ecore"
- name "nsPrefix"
- value "xsd")
- (object Attribute
- tool "Ecore"
- name "nsURI"
- value "http://www.eclipse.org/xsd/2002/XSD"))
- quid "39ABDC6F01AA"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "XSDAnnotation"
- quid "3B66EDC80233"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69E1770116"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B7FD4E20366"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "applicationInformation"
- quid "3BBF7EBF02C8"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "userInformation"
- quid "3BBF7EEA0157"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "attributes"
- quid "3BBF7F0501E2"
- stereotype "0..*"
- type "DOMAttr"
- exportControl "Public")))
- (object Class "XSDAttributeDeclaration"
- quid "3B66ED2E0192"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69B7DC0193"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B688E6103BE"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F5202B4"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeGroupContent"
- quid "3B6940200089"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D8E200EA"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDAttributeGroupDefinition"
- quid "3B66ED840290"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69403A0221"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B6AE2EB02A8"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAC800D2"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F7B0386"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeUse"
- quid "3B68354601A8"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D737038F"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B72D7BB0349"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3B69CCF3027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B69CDDB03B7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CDE002D8"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "use"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7B0220382"
- type "XSDAttributeUseCategory"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C2719D90341"
- type "String"
- exportControl "Public")))
- (object Class "XSDBoundedFacet"
- quid "3B6C751D0344"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C763C0224"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C752A00CC"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDCardinalityFacet"
- quid "3B6C755D03D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C764F0131"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C756C0153"
- type "XSDCardinality"
- exportControl "Public")))
- (object Class "XSDComplexTypeContent"
- quid "3B683BA00196"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848B80286"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDComplexTypeDefinition"
- quid "3B682B82031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69BAA20310"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2")
- (object Inheritance_Relationship
- quid "3BA0D01901F1"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "derivationMethod"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C6E4020E"
- type "XSDDerivationMethod"
- initv "restriction"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B69C71D026A"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C73800C5"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "contentTypeCategory"
- quid "3B69CA4202B8"
- type "XSDContentTypeCategory"
- exportControl "Public")
- (object ClassAttribute "prohibitedSubstitutions"
- quid "3B69CB8A03E6"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F618014D"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0FB97006E"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "mixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3C31AF5E03A6"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDComponent"
- quid "3B6846E90029"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA903D2"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDConcreteComponent"
- quid "3B6AD7B40065"
- class_attributes (list class_attribute_list
- (object ClassAttribute "element"
- quid "3B6ADDB501A5"
- type "DOMElement"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDConstrainingFacet"
- quid "3B6C6B340093"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C800394"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDDiagnostic"
- quid "3BFE5F910046"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3D4C0F4C01A1"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "severity"
- quid "3BFE691C005D"
- type "XSDDiagnosticSeverity"
- exportControl "Public")
- (object ClassAttribute "message"
- quid "3BFE5FDD0280"
- type "String"
- exportControl "Public")
- (object ClassAttribute "locationURI"
- quid "3C063743016B"
- type "String"
- exportControl "Public")
- (object ClassAttribute "line"
- quid "3BFE607E0213"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "column"
- quid "3BFE611E0296"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "node"
- quid "3C016B6B0200"
- type "DOMNode"
- exportControl "Public")
- (object ClassAttribute "annotationURI"
- quid "3C06374F0186"
- type "String"
- exportControl "Public")))
- (object Class "XSDElementDeclaration"
- quid "3B66ED580214"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69EDEE01BF"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B685F17002E"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174")
- (object Inheritance_Relationship
- quid "3B688E660339"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "nillable"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BFB4029F"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "disallowedSubstitutions"
- quid "3B69C4680368"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "substitutionGroupExclusions"
- quid "3B69C4A003B9"
- stereotype "0..*"
- type "XSDSubstitutionGroupExclusions"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C4E0000E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D14C00B2"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D16801C1"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "elementDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289F6203CF"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C34DCB00018"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDEnumerationFacet"
- quid "3B6C6ACE0141"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C9D03C7"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C640054"
- stereotype "0..*"
- type "Value"
- exportControl "Public")))
- (object Class "XSDFacet"
- quid "3B6C359403D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D25680259"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "lexicalValue"
- quid "3B6C73740253"
- type "String"
- exportControl "Public")
- (object ClassAttribute "facetName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289FB401EC"
- type "String"
- exportControl "Public")
- (object ClassAttribute "effectiveValue"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28AAE303B6"
- type "Value"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFeature"
- quid "3B69B537026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C290A2C0307"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B69BF81020F"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BF8800C5"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "form"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F902B033E"
- type "XSDForm"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C271A1B016F"
- type "String"
- exportControl "Public")
- (object ClassAttribute "global"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0070372"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "featureReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0440185"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFixedFacet"
- quid "3B6C699E00C1"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8801B4"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "fixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C6A600201"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFractionDigitsFacet"
- quid "3B6C79BE02EE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B990016"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79D2008A"
- type "int"
- exportControl "Public")))
- (object Class "XSDFundamentalFacet"
- quid "3B6C69E801D6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C7B0396"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDIdentityConstraintDefinition"
- quid "3B682B2603A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684AA30242"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "identityConstraintCategory"
- quid "3B69D1C70143"
- type "XSDIdentityConstraintCategory"
- exportControl "Public")))
- (object Class "XSDImport"
- quid "3B688C93017F"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8D9003E"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespace"
- quid "3B6ADB15036C"
- type "String"
- exportControl "Public")))
- (object Class "XSDInclude"
- quid "3B688C7D0250"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8DC0381"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDLengthFacet"
- quid "3B6C776200E7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C778002DF"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C776C004B"
- type "int"
- exportControl "Public")))
- (object Class "XSDMaxExclusiveFacet"
- quid "3B6C789600C2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8E0309"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxFacet"
- quid "3C0A1CEB010E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D3103AD"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1EE201F7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A174027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1930354"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMaxInclusiveFacet"
- quid "3B6C787D00DA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8303B8"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxLengthFacet"
- quid "3B6C77C70146"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B7D00FC"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C77DA00F3"
- type "int"
- exportControl "Public")))
- (object Class "XSDMinExclusiveFacet"
- quid "3B6C792D000A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B590281"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinFacet"
- quid "3C0A1CDE037C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D240098"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1ED10398"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1A2008E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1BE03E2"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMinInclusiveFacet"
- quid "3B6C788702C9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B520353"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinLengthFacet"
- quid "3B6C778C0065"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C77C400C0"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7799015E"
- type "int"
- exportControl "Public")))
- (object Class "XSDModelGroup"
- quid "3B6834E00291"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A640279"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "compositor"
- quid "3B69CF1D01CF"
- type "XSDCompositor"
- exportControl "Public")))
- (object Class "XSDModelGroupDefinition"
- quid "3B66ED9A0205"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2E20381"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B6BD2550385"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6")
- (object Inheritance_Relationship
- quid "3B7FCAC40090"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "modelGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1F602E8"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDNamedComponent"
- quid "3B6846D303A4"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA20197"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B6847000142"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B684704031E"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A57F0127"
- type "String"
- exportControl "Public")
- (object ClassAttribute "uRI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A58700E2"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasURI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A5AA02AF"
- type "String"
- exportControl "Public")
- (object ClassAttribute "qName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C290963025E"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDNotationDeclaration"
- quid "3B66EDAA021C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B68494302F1"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4")
- (object Inheritance_Relationship
- quid "3B688E4F023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "systemIdentifier"
- quid "3B69D32E00F0"
- type "String"
- exportControl "Public")
- (object ClassAttribute "publicIdentifier"
- quid "3B69D3340397"
- type "String"
- exportControl "Public")))
- (object Class "XSDNumericFacet"
- quid "3B6C75950206"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C76420074"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C75A30012"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDOrderedFacet"
- quid "3B6C74DD0248"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7659012C"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C74F602DA"
- type "XSDOrdered"
- exportControl "Public")))
- (object Class "XSDParticle"
- quid "3B682BBD01F7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848FC01E7"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "minOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF8E03B2"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "maxOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF9903AE"
- type "int"
- initv "1"
- exportControl "Public")))
- (object Class "XSDParticleContent"
- quid "3B6BD22300C6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B780BD90059"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDPatternFacet"
- quid "3B6C6ADB026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6CA5038D"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C790311"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDRedefinableComponent"
- quid "3B7FCA8B020B"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FD4BA023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3C290A26036D"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A6800216"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDRedefineContent"
- quid "3B6AE2060172"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2B301D5"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- abstract TRUE)
- (object Class "XSDRedefine"
- quid "3B688C9B02AD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB640240"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDRepeatableFacet"
- quid "3B6C6AA6031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8F002E"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- abstract TRUE)
- (object Class "XSDSchema"
- quid "374B182500BB"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCC4A0182"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "document"
- quid "3C2784E503DD"
- type "DOMDocument"
- exportControl "Public")
- (object ClassAttribute "schemaLocation"
- quid "3B6868EC0226"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B9F9BFF0180"
- type "String"
- exportControl "Public")
- (object ClassAttribute "attributeFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F904B0102"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "elementFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F907800AC"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "finalDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0C4A70038"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "blockDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F59D02D8"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "version"
- quid "3D22D6D80356"
- type "String"
- exportControl "Public")))
- (object Class "XSDSchemaCompositor"
- quid "3C21DB4102AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB560092"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- abstract TRUE)
- (object Class "XSDSchemaContent"
- quid "3B688CB800BA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8E60372"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDSchemaDirective"
- quid "3B6AD8A202A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE32102AF"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "schemaLocation"
- quid "3B6AD9B30330"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDScope"
- quid "3B69B54000F2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCD640231"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDSimpleTypeDefinition"
- quid "3B682BA7005D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A1302A2"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")
- (object Inheritance_Relationship
- quid "3B685F55032B"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C315800A9"
- type "XSDVariety"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B6D544F0146"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F65E035A"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "validFacets"
- quid "3C28AB0F00B6"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDTerm"
- quid "3B683C5E0174"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848AA01D3"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B6BD2440069"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"))
- abstract TRUE)
- (object Class "XSDTotalDigitsFacet"
- quid "3B6C79A0020E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B610337"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79AB0232"
- type "int"
- exportControl "Public")))
- (object Class "XSDTypeDefinition"
- quid "3B66ECD302A9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2F5013A"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAB1004D"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- abstract TRUE)
- (object Class "XSDWhiteSpaceFacet"
- quid "3B6C784601B7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C78620045"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C78500201"
- type "XSDWhiteSpace"
- exportControl "Public")))
- (object Class "XSDWildcard"
- quid "3B6838370031"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A3A0041"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceConstraintCategory"
- quid "3B69D0E9019E"
- type "XSDNamespaceConstraintCategory"
- exportControl "Public")
- (object ClassAttribute "namespaceConstraint"
- quid "3B97CF860223"
- stereotype "0..*"
- type "String"
- exportControl "Public")
- (object ClassAttribute "processContents"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69D12E01E4"
- type "XSDProcessContents"
- exportControl "Public")
- (object ClassAttribute "lexicalNamespaceConstraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7BDB701F9"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDXPathDefinition"
- quid "3B6D83BB0355"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D84F70092"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- quid "3B6D901503DE"
- type "XSDXPathVariety"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B7BBBE101B1"
- type "String"
- exportControl "Public")))
- (object Class "DOMAttr"
- quid "3BBF8C8901B6"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Attr"
- quid "3BBF8CB000D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMDocument"
- quid "3C27850E0381"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3C27851B03C6"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMElement"
- quid "3B8189790200"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B8189DB0374"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMNode"
- quid "3BFE64A50117"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Node"
- quid "3BFE65BF002D"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "Value"
- quid "3C040B5B031F"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.lang.Object"
- quid "3C040B8D03D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "XSDAttributeUseCategory"
- quid "3BA7B0E801A8"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "optional"
- quid "3BA7B11502B7"
- exportControl "Public")
- (object ClassAttribute "prohibited"
- quid "3BA7B12202D3"
- exportControl "Public")
- (object ClassAttribute "required"
- quid "3BA7B12902F0"
- exportControl "Public")))
- (object Class "XSDCardinality"
- quid "3BC7715D009B"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "finite"
- quid "3BC771DC02ED"
- exportControl "Public")
- (object ClassAttribute "countablyInfinite"
- quid "3BC771EC0141"
- exportControl "Public")))
- (object Class "XSDComplexFinal"
- quid "3B97C2CA01CB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C2E700DA"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2EA016A"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6D20112"
- exportControl "Public")))
- (object Class "XSDCompositor"
- quid "3B869B620037"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "all"
- quid "3B869BD00003"
- exportControl "Public")
- (object ClassAttribute "choice"
- quid "3B869CB8011E"
- exportControl "Public")
- (object ClassAttribute "sequence"
- quid "3B869CE50057"
- exportControl "Public")))
- (object Class "XSDConstraint"
- quid "3B869E2601AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "default"
- quid "3B869E8E0258"
- exportControl "Public")
- (object ClassAttribute "fixed"
- quid "3B869E990271"
- exportControl "Public")))
- (object Class "XSDContentTypeCategory"
- quid "3B86A79F03A2"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "empty"
- quid "3B86A7CD02F0"
- exportControl "Public")
- (object ClassAttribute "simple"
- quid "3B86A7D100CE"
- exportControl "Public")
- (object ClassAttribute "mixed"
- quid "3B86A7D301B7"
- exportControl "Public")
- (object ClassAttribute "elementOnly"
- quid "3B86A7D702E9"
- exportControl "Public")))
- (object Class "XSDDerivationMethod"
- quid "3B86A0B000CE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B86A0C80329"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B86A0CC0162"
- exportControl "Public")))
- (object Class "XSDDiagnosticSeverity"
- quid "3BFE68A7032F"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "fatal"
- quid "3BFE68C303D0"
- exportControl "Public")
- (object ClassAttribute "error"
- quid "3BFE68E700E3"
- exportControl "Public")
- (object ClassAttribute "warning"
- quid "3BFE68EA01FF"
- exportControl "Public")
- (object ClassAttribute "information"
- quid "3BFE7FC2019A"
- exportControl "Public")))
- (object Class "XSDDisallowedSubstitutions"
- quid "3B97C5A403DF"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "substitution"
- quid "3B97C6790045"
- exportControl "Public")
- (object ClassAttribute "extension"
- quid "3B97C67F01AC"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C683020B"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2450069"
- exportControl "Public")))
- (object Class "XSDForm"
- quid "3B9F913B01EB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "qualified"
- quid "3B9F916F0023"
- exportControl "Public")
- (object ClassAttribute "unqualified"
- quid "3B9F918C007F"
- exportControl "Public")))
- (object Class "XSDIdentityConstraintCategory"
- quid "3B86A1E00272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "key"
- quid "3B86A2120085"
- exportControl "Public")
- (object ClassAttribute "keyref"
- quid "3B86A213014F"
- exportControl "Public")
- (object ClassAttribute "unique"
- quid "3B86A2160365"
- exportControl "Public")))
- (object Class "XSDNamespaceConstraintCategory"
- quid "3B97C5EA0023"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "any"
- quid "3B97D0600034"
- exportControl "Public")
- (object ClassAttribute "not"
- quid "3B97D062005F"
- exportControl "Public")
- (object ClassAttribute "set"
- quid "3B97D0650117"
- exportControl "Public")))
- (object Class "XSDOrdered"
- quid "3BC7715202E4"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "false"
- quid "3BC771A90271"
- exportControl "Public")
- (object ClassAttribute "partial"
- quid "3BC771BB01FF"
- exportControl "Public")
- (object ClassAttribute "total"
- quid "3BC771C401B2"
- exportControl "Public")))
- (object Class "XSDProcessContents"
- quid "3B8FF8C70284"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "strict"
- quid "3B8FF8F80045"
- exportControl "Public")
- (object ClassAttribute "lax"
- quid "3B8FF8F6038B"
- exportControl "Public")
- (object ClassAttribute "skip"
- quid "3B8FF8E802BA"
- exportControl "Public")))
- (object Class "XSDProhibitedSubstitutions"
- quid "3B97C5BE0272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C68B00B8"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C6940291"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2500295"
- exportControl "Public")))
- (object Class "XSDSimpleFinal"
- quid "3B97C25D0295"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "list"
- quid "3B97C2810230"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2830138"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B97C288024E"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6E00374"
- exportControl "Public")))
- (object Class "XSDSubstitutionGroupExclusions"
- quid "3B97C59100AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C6640231"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C66D0216"
- exportControl "Public")))
- (object Class "XSDVariety"
- quid "3B8FF7730249"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "atomic"
- quid "3B8FF7A702DF"
- exportControl "Public")
- (object ClassAttribute "list"
- quid "3B8FF7AD0139"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B8FF7AF039F"
- exportControl "Public")))
- (object Class "XSDWhiteSpace"
- quid "3BEED0F60342"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "preserve"
- quid "3BEED10F0117"
- exportControl "Public")
- (object ClassAttribute "replace"
- quid "3BEED127034D"
- exportControl "Public")
- (object ClassAttribute "collapse"
- quid "3BEED1290396"
- exportControl "Public")))
- (object Class "XSDXPathVariety"
- quid "3B8FFB89033A"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "selector"
- quid "3B8FFBAC0192"
- exportControl "Public")
- (object ClassAttribute "field"
- quid "3B8FFBB30278"
- exportControl "Public")))
- (object Association "$UNNAMED$70"
- quid "3C626EA70102"
- roles (list role_list
- (object Role "$UNNAMED$71"
- quid "3C626EA90191"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EA90192"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$72"
- quid "3B69DADC02F5"
- roles (list role_list
- (object Role "$UNNAMED$73"
- quid "3B69DADD0238"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DADD0242"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$74"
- quid "3B6890D6006F"
- roles (list role_list
- (object Role "$UNNAMED$75"
- quid "3B6890D6030E"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6890D60318"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$76"
- quid "3B68356B02CB"
- roles (list role_list
- (object Role "$UNNAMED$77"
- quid "3B68356D00A6"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68356D00A7"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$78"
- quid "3B6B426B0194"
- roles (list role_list
- (object Role "$UNNAMED$79"
- quid "3B6B426D0309"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "resolvedAttributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B426D0313"
- label "resolvedAttributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$80"
- quid "3B69DB060291"
- roles (list role_list
- (object Role "$UNNAMED$81"
- quid "3B69DB070171"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB070172"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$82"
- quid "3B69404E0067"
- roles (list role_list
- (object Role "$UNNAMED$83"
- quid "3B694050029B"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B69405002A5"
- label "contents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$84"
- quid "3B68359F0086"
- roles (list role_list
- (object Role "$UNNAMED$85"
- quid "3B6835A00069"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6835A0006A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$86"
- quid "3C275D320220"
- roles (list role_list
- (object Role "$UNNAMED$87"
- quid "3C275D3C010C"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3C275D3C010D"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$88"
- quid "3B6887BF0150"
- roles (list role_list
- (object Role "$UNNAMED$89"
- quid "3B6887C000A7"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6887C000A8"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$90"
- quid "3B6B425E01F9"
- roles (list role_list
- (object Role "$UNNAMED$91"
- quid "3B6B42620046"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "resolvedAttributeGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B42620050"
- label "resolvedAttributeGroupDefinition"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$92"
- quid "3B683585010D"
- roles (list role_list
- (object Role "$UNNAMED$93"
- quid "3B68358600FA"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "attributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68358600FB"
- label "attributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$94"
- quid "3B6F1DE9018A"
- roles (list role_list
- (object Role "$UNNAMED$95"
- quid "3B6F1DEA036C"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6F1DEA0380"
- label "content"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$96"
- quid "3B90068801C2"
- roles (list role_list
- (object Role "$UNNAMED$97"
- quid "3B90068A0111"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentAnnotation"
- quid "3B90068A011B"
- label "contentAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$98"
- quid "3B6833350340"
- roles (list role_list
- (object Role "$UNNAMED$99"
- quid "3B683336028D"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683336028E"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$100"
- quid "3B6FDDD70113"
- roles (list role_list
- (object Role "$UNNAMED$101"
- quid "3B6FDDDA026B"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6FDDDA0275"
- label "content"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$102"
- quid "3B6837DF024F"
- roles (list role_list
- (object Role "$UNNAMED$103"
- quid "3B6837E100FD"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6837E100FE"
- label "contentType"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$104"
- quid "3B683959006E"
- roles (list role_list
- (object Role "$UNNAMED$105"
- quid "3B6839590349"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683959034A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$106"
- quid "3B698E360386"
- roles (list role_list
- (object Role "$UNNAMED$107"
- quid "3B698E380072"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeContents"
- quid "3B698E38007C"
- label "attributeContents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$108"
- quid "3B6851BA0126"
- roles (list role_list
- (object Role "$UNNAMED$109"
- quid "3B6851BB0150"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6851BB0151"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$110"
- quid "3B751B0803C7"
- roles (list role_list
- (object Role "container"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B0C01CE"
- label "container"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$111"
- attributes (list Attribute_Set)
- quid "3B751B0C01CF"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$112"
- quid "3B751B480261"
- roles (list role_list
- (object Role "rootContainer"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B4C0285"
- label "rootContainer"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$113"
- attributes (list Attribute_Set)
- quid "3B751B4C0286"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$114"
- quid "3B751C310356"
- roles (list role_list
- (object Role "$UNNAMED$115"
- attributes (list Attribute_Set)
- quid "3B751C330331"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")
- (object Role "schema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751C33033B"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$116"
- quid "3B69DB0A0066"
- roles (list role_list
- (object Role "$UNNAMED$117"
- quid "3B69DB0B023F"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0B0249"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$118"
- quid "3B68911401AF"
- roles (list role_list
- (object Role "$UNNAMED$119"
- quid "3B6891150016"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6891150017"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$120"
- quid "3B68338C0058"
- roles (list role_list
- (object Role "$UNNAMED$121"
- quid "3B68338C03BF"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68338C03C0"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$122"
- quid "3B6833EF0160"
- roles (list role_list
- (object Role "$UNNAMED$123"
- quid "3B6833F00298"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- quid "3B6833F00299"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$124"
- quid "3B6B41E60251"
- roles (list role_list
- (object Role "$UNNAMED$125"
- quid "3B6B41EA02F7"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "resolvedElementDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B41EA030B"
- label "resolvedElementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$126"
- quid "3B69C0590198"
- roles (list role_list
- (object Role "$UNNAMED$127"
- quid "3B69C05D01E3"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214")
- (object Role "substitutionGroupAffiliation"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69C05D01ED"
- label "substitutionGroupAffiliation"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$128"
- quid "3C42DBDD0297"
- roles (list role_list
- (object Role "$UNNAMED$129"
- quid "3C42DBE0011E"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "substitutionGroup"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C42DBE00128"
- label "substitutionGroup"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$130"
- quid "3B6D23B901CD"
- roles (list role_list
- (object Role "$UNNAMED$131"
- quid "3B6D23BA01C4"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6D23BA01CE"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$132"
- quid "3B6D597102EA"
- roles (list role_list
- (object Role "simpleTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D59750105"
- label "simpleTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$133"
- attributes (list Attribute_Set)
- quid "3B6D59750119"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2")))
- (object Association "$UNNAMED$134"
- quid "3B69B653017A"
- roles (list role_list
- (object Role "scope"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B69B654006D"
- label "scope"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$135"
- attributes (list Attribute_Set)
- quid "3B69B654006E"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$136"
- quid "3C29010602D7"
- roles (list role_list
- (object Role "resolvedFeature"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C29010B000E"
- label "resolvedFeature"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$137"
- attributes (list Attribute_Set)
- quid "3C29010B0018"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$138"
- quid "3B69DB0D0183"
- roles (list role_list
- (object Role "$UNNAMED$139"
- quid "3B69DB0D033C"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0D0346"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$140"
- quid "3B69D29E014D"
- roles (list role_list
- (object Role "referencedKey"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69D2A80165"
- label "referencedKey"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$141"
- attributes (list Attribute_Set)
- quid "3B69D2A8016F"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2")))
- (object Association "$UNNAMED$142"
- quid "3B6D8D3D003E"
- roles (list role_list
- (object Role "$UNNAMED$143"
- quid "3B6D8D3E022A"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "selector"
- quid "3B6D8D3E0234"
- label "selector"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$144"
- quid "3B6D8D330025"
- roles (list role_list
- (object Role "$UNNAMED$145"
- quid "3B6D8D330365"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "fields"
- quid "3B6D8D330379"
- label "fields"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$146"
- quid "3B6ADCD802FC"
- roles (list role_list
- (object Role "$UNNAMED$147"
- quid "3B6ADCD9018B"
- supplier "Logical View::xsd::XSDImport"
- quidu "3B688C93017F"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCD9018C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$148"
- quid "3B6ADCC5007E"
- roles (list role_list
- (object Role "$UNNAMED$149"
- quid "3B6ADCC6006B"
- supplier "Logical View::xsd::XSDInclude"
- quidu "3B688C7D0250"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCC6006C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$150"
- quid "3B69DB1702C8"
- roles (list role_list
- (object Role "$UNNAMED$151"
- quid "3B69DB1803E2"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB190004"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$152"
- quid "3B6BCEB102F8"
- roles (list role_list
- (object Role "$UNNAMED$153"
- quid "3B6BCEB6001B"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6BCEB60025"
- label "contents"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$154"
- quid "3B683606026F"
- roles (list role_list
- (object Role "$UNNAMED$155"
- quid "3B6836070221"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "particles"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6836070222"
- label "particles"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$156"
- quid "3B69DB15008A"
- roles (list role_list
- (object Role "$UNNAMED$157"
- quid "3B69DB160096"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1600A0"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$158"
- quid "3B6837AC025A"
- roles (list role_list
- (object Role "$UNNAMED$159"
- quid "3B6837AD0338"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "modelGroup"
- quid "3B6837AD0339"
- label "modelGroup"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$160"
- quid "3B6B42450398"
- roles (list role_list
- (object Role "$UNNAMED$161"
- quid "3B6B4249038A"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "resolvedModelGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B4249039E"
- label "resolvedModelGroupDefinition"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$162"
- quid "3B69DB0F0212"
- roles (list role_list
- (object Role "$UNNAMED$163"
- quid "3B69DB1000C9"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1000D3"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$164"
- quid "3B6B47150119"
- roles (list role_list
- (object Role "$UNNAMED$165"
- quid "3B6B471A03AB"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6B471A03B5"
- label "content"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$166"
- quid "3B683C890122"
- roles (list role_list
- (object Role "$UNNAMED$167"
- quid "3B683C8A0110"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "term"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683C8A0111"
- label "term"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$168"
- quid "3B6ADE42009A"
- roles (list role_list
- (object Role "$UNNAMED$169"
- quid "3B6ADE4302FE"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6ADE430308"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$170"
- quid "3B6AE8240051"
- roles (list role_list
- (object Role "$UNNAMED$171"
- quid "3B6AE82602AD"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6AE82602B7"
- label "contents"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$172"
- quid "3B688E6B003D"
- roles (list role_list
- (object Role "$UNNAMED$173"
- quid "3B688E6C0107"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B688E6C0111"
- label "contents"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$174"
- quid "3B66EE8D01BF"
- roles (list role_list
- (object Role "$UNNAMED$175"
- quid "3B66EE8E0198"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "elementDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE8E0199"
- label "elementDeclarations"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$176"
- quid "3B66FDFA00C3"
- roles (list role_list
- (object Role "$UNNAMED$177"
- quid "3B66FDFB027D"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66FDFB027E"
- label "attributeDeclarations"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$178"
- quid "3B66EE920216"
- roles (list role_list
- (object Role "$UNNAMED$179"
- quid "3B66EE93018B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE93018C"
- label "attributeGroupDefinitions"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$180"
- quid "3B66EE760049"
- roles (list role_list
- (object Role "$UNNAMED$181"
- quid "3B66EE760374"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "typeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE76037E"
- label "typeDefinitions"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$182"
- quid "3B66EEFF024F"
- roles (list role_list
- (object Role "$UNNAMED$183"
- quid "3B66EF00025A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "modelGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EF000264"
- label "modelGroupDefinitions"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$184"
- quid "3BFC2A1701ED"
- roles (list role_list
- (object Role "$UNNAMED$185"
- quid "3BFC2A1A0273"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFC2A1A027D"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$186"
- quid "3B66EEA7023E"
- roles (list role_list
- (object Role "$UNNAMED$187"
- quid "3B66EEA8038A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "notationDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EEA8038B"
- label "notationDeclarations"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$188"
- quid "3B69E4560290"
- roles (list role_list
- (object Role "$UNNAMED$189"
- quid "3B69E4570165"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69E457016F"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$190"
- quid "3B6D5CA50112"
- roles (list role_list
- (object Role "$UNNAMED$191"
- quid "3B6D5CA703B4"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6D5CA703C8"
- label "contents"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$192"
- quid "3B6C35AD0374"
- roles (list role_list
- (object Role "$UNNAMED$193"
- quid "3B6C35AF0006"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facetContents"
- quid "3B6C35AF0010"
- label "facetContents"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$194"
- quid "3BC8AE0203A8"
- roles (list role_list
- (object Role "$UNNAMED$195"
- quid "3BC8AE060051"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BC8AE060065"
- label "facets"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$196"
- quid "3B6C34B70208"
- roles (list role_list
- (object Role "$UNNAMED$197"
- quid "3B6C34BE0258"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "memberTypeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6C34BE0259"
- label "memberTypeDefinitions"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$198"
- quid "3B6C363201DB"
- roles (list role_list
- (object Role "$UNNAMED$199"
- quid "3B6C36350059"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fundamentalFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B6C36350063"
- label "fundamentalFacets"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$200"
- quid "3B6D35AB0273"
- roles (list role_list
- (object Role "$UNNAMED$201"
- quid "3B6D35B20291"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D35B202A5"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$202"
- quid "3B6D5572016C"
- roles (list role_list
- (object Role "$UNNAMED$203"
- quid "3B6D5575022F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "primitiveTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D55750243"
- label "primitiveTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$204"
- quid "3B69E2910158"
- roles (list role_list
- (object Role "$UNNAMED$205"
- quid "3B69E292019F"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69E29201A9"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$206"
- quid "3B9006CF0088"
- roles (list role_list
- (object Role "$UNNAMED$207"
- quid "3B9006D1015D"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "derivationAnnotation"
- quid "3B9006D10167"
- label "derivationAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$208"
- quid "3B69DB330264"
- roles (list role_list
- (object Role "$UNNAMED$209"
- quid "3B69DB340284"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69DB34028E"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$210"
- quid "3B69DB11026F"
- roles (list role_list
- (object Role "$UNNAMED$211"
- quid "3B69DB1201F9"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB120203"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$212"
- quid "3C626EB30005"
- roles (list role_list
- (object Role "$UNNAMED$213"
- quid "3C626EB40327"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EB40332"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$214"
- quid "3BEBDC870247"
- roles (list role_list
- (object Role "$UNNAMED$215"
- quid "3BEBDC8C02F9"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3BEBDC8C0303"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$216"
- quid "3BFE622703CD"
- roles (list role_list
- (object Role "$UNNAMED$217"
- attributes (list Attribute_Set)
- quid "3BFE622B0061"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "components"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE622B006C"
- label "components"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$218"
- quid "3BFE62690165"
- roles (list role_list
- (object Role "$UNNAMED$219"
- quid "3BFE626A0026"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- is_aggregate TRUE)
- (object Role "diagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3BFE626A0027"
- label "diagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$220"
- quid "3BFE6431035F"
- roles (list role_list
- (object Role "$UNNAMED$221"
- quid "3BFE643201C6"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "allDiagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE643201C7"
- label "allDiagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$222"
- quid "3C21DCC700EC"
- roles (list role_list
- (object Role "$UNNAMED$223"
- quid "3C21DCCE0042"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- is_aggregate TRUE)
- (object Role "resolvedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DCCE0043"
- label "resolvedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$224"
- quid "3C21DD0C03DB"
- roles (list role_list
- (object Role "$UNNAMED$225"
- quid "3C21DD100304"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE"
- is_aggregate TRUE)
- (object Role "incorporatedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DD100305"
- label "incorporatedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$226"
- quid "3C239134004F"
- roles (list role_list
- (object Role "$UNNAMED$227"
- quid "3C23913600CA"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3C23913600D4"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$228"
- quid "3C25D3A60131"
- roles (list role_list
- (object Role "$UNNAMED$229"
- quid "3C25D3A90370"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "referencingDirectives"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C25D3A90371"
- label "referencingDirectives"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$230"
- quid "3C25ECF0005E"
- roles (list role_list
- (object Role "$UNNAMED$231"
- quid "3C25ECF4001E"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "rootVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ECF40028"
- label "rootVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$232"
- quid "3C25ED0B011B"
- roles (list role_list
- (object Role "$UNNAMED$233"
- quid "3C25ED0F0121"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "originalVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ED0F012B"
- label "originalVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$234"
- quid "3C25EEAB001F"
- roles (list role_list
- (object Role "$UNNAMED$235"
- quid "3C25EEAF010B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "incorporatedVersions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25EEAF0115"
- label "incorporatedVersions"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$236"
- quid "3C276DA000DE"
- roles (list role_list
- (object Role "$UNNAMED$237"
- quid "3C276DA000DF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "itemTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C276DA000E0"
- label "itemTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$238"
- quid "3C2784730194"
- roles (list role_list
- (object Role "$UNNAMED$239"
- quid "3C27847501F1"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "schemaForSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C27847501FB"
- label "schemaForSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$240"
- quid "3C2880F503D9"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2880F9003C"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$241"
- attributes (list Attribute_Set)
- quid "3C2880F90046"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A")))
- (object Association "$UNNAMED$242"
- quid "3C2882C50137"
- roles (list role_list
- (object Role "$UNNAMED$243"
- attributes (list Attribute_Set)
- quid "3C2882C70112"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "primaryComponent"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2882C70113"
- label "primaryComponent"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$244"
- quid "3C28A0F201A4"
- roles (list role_list
- (object Role "type"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A0F302E5"
- label "type"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$245"
- attributes (list Attribute_Set)
- quid "3C28A0F302F0"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$246"
- quid "3C28A6DB01E5"
- roles (list role_list
- (object Role "rootType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A6DD03DD"
- label "rootType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$247"
- attributes (list Attribute_Set)
- quid "3C28A6DD03DE"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$248"
- quid "3C28A7120108"
- roles (list role_list
- (object Role "baseType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7140151"
- label "baseType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$249"
- attributes (list Attribute_Set)
- quid "3C28A714015B"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$250"
- quid "3C28A74B0178"
- roles (list role_list
- (object Role "simpleType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A74D017B"
- label "simpleType"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$251"
- attributes (list Attribute_Set)
- quid "3C28A74D0185"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$252"
- quid "3C28A7ED03C0"
- roles (list role_list
- (object Role "complexType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7F40117"
- label "complexType"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$253"
- attributes (list Attribute_Set)
- quid "3C28A7F40121"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$254"
- quid "3C28A994030A"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A99700DD"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$255"
- attributes (list Attribute_Set)
- quid "3C28A99700E7"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D")))
- (object Association "$UNNAMED$256"
- quid "3C28B085025B"
- roles (list role_list
- (object Role "$UNNAMED$257"
- quid "3C28B0860270"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B086027A"
- label "minFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$258"
- quid "3C28B08D0252"
- roles (list role_list
- (object Role "$UNNAMED$259"
- quid "3C28B08E0091"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B08E009B"
- label "maxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$260"
- quid "3C28B0AB0396"
- roles (list role_list
- (object Role "$UNNAMED$261"
- quid "3C28B0AC03C9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0AC03D4"
- label "maxInclusiveFacet"
- supplier "Logical View::xsd::XSDMaxInclusiveFacet"
- quidu "3B6C787D00DA"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$262"
- quid "3C28B0AF0338"
- roles (list role_list
- (object Role "$UNNAMED$263"
- quid "3C28B0B001F9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B00203"
- label "minInclusiveFacet"
- supplier "Logical View::xsd::XSDMinInclusiveFacet"
- quidu "3B6C788702C9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$264"
- quid "3C28B0B30207"
- roles (list role_list
- (object Role "$UNNAMED$265"
- quid "3C28B0B40190"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B4019A"
- label "minExclusiveFacet"
- supplier "Logical View::xsd::XSDMinExclusiveFacet"
- quidu "3B6C792D000A"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$266"
- quid "3C28B0B6028D"
- roles (list role_list
- (object Role "$UNNAMED$267"
- quid "3C28B0B70217"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B70221"
- label "maxExclusiveFacet"
- supplier "Logical View::xsd::XSDMaxExclusiveFacet"
- quidu "3B6C789600C2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$268"
- quid "3C28B0BC0051"
- roles (list role_list
- (object Role "$UNNAMED$269"
- quid "3C28B0BC0246"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "lengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0BC0250"
- label "lengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$270"
- quid "3C28B0BF018C"
- roles (list role_list
- (object Role "$UNNAMED$271"
- quid "3C28B0C0006B"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "whiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C00075"
- label "whiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$272"
- quid "3C28B0C2021D"
- roles (list role_list
- (object Role "$UNNAMED$273"
- quid "3C28B0C300AB"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "enumerationFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C300AC"
- label "enumerationFacets"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$274"
- quid "3C28B0C50159"
- roles (list role_list
- (object Role "$UNNAMED$275"
- quid "3C28B0C600B0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "patternFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C600BA"
- label "patternFacets"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$276"
- quid "3C28B0C802A7"
- roles (list role_list
- (object Role "$UNNAMED$277"
- quid "3C28B0C901EA"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "cardinalityFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C901F5"
- label "cardinalityFacet"
- supplier "Logical View::xsd::XSDCardinalityFacet"
- quidu "3B6C755D03D2"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$278"
- quid "3C28B0CB039C"
- roles (list role_list
- (object Role "$UNNAMED$279"
- quid "3C28B0CC03D0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "numericFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0CC03D1"
- label "numericFacet"
- supplier "Logical View::xsd::XSDNumericFacet"
- quidu "3B6C75950206"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$280"
- quid "3C28B0CF0199"
- roles (list role_list
- (object Role "$UNNAMED$281"
- quid "3C28B0D20085"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D2008F"
- label "maxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$282"
- quid "3C28B0D500C5"
- roles (list role_list
- (object Role "$UNNAMED$283"
- quid "3C28B0D6001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D60027"
- label "minLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$284"
- quid "3C28B0D800DE"
- roles (list role_list
- (object Role "$UNNAMED$285"
- quid "3C28B0D803CD"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "totalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D803D7"
- label "totalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$286"
- quid "3C28B0DB0377"
- roles (list role_list
- (object Role "$UNNAMED$287"
- quid "3C28B0DC035A"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DC0364"
- label "fractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$288"
- quid "3C28B0DF0048"
- roles (list role_list
- (object Role "$UNNAMED$289"
- quid "3C28B0DF03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "orderedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DF03C3"
- label "orderedFacet"
- supplier "Logical View::xsd::XSDOrderedFacet"
- quidu "3B6C74DD0248"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$290"
- quid "3C28B0E300D9"
- roles (list role_list
- (object Role "$UNNAMED$291"
- quid "3C28B0E4038E"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "boundedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0E40398"
- label "boundedFacet"
- supplier "Logical View::xsd::XSDBoundedFacet"
- quidu "3B6C751D0344"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$292"
- quid "3C28B44401EC"
- roles (list role_list
- (object Role "$UNNAMED$293"
- quid "3C28B4450360"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B445036A"
- label "effectiveMaxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$294"
- quid "3C28B54F0145"
- roles (list role_list
- (object Role "$UNNAMED$295"
- quid "3C28B550038C"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveWhiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5500396"
- label "effectiveWhiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$296"
- quid "3C28B5C4011C"
- roles (list role_list
- (object Role "$UNNAMED$297"
- quid "3C28B5C5020D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5C50217"
- label "effectiveMaxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$298"
- quid "3C28B62A00AA"
- roles (list role_list
- (object Role "$UNNAMED$299"
- quid "3C28B62B0138"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveFractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B62B0142"
- label "effectiveFractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$300"
- quid "3C28B6B003A6"
- roles (list role_list
- (object Role "$UNNAMED$301"
- quid "3C28B6B10311"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectivePatternFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B6B10312"
- label "effectivePatternFacet"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$302"
- quid "3C28B7CA026B"
- roles (list role_list
- (object Role "$UNNAMED$303"
- quid "3C28B7CB0186"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveEnumerationFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B7CB0190"
- label "effectiveEnumerationFacet"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$304"
- quid "3C28B8400062"
- roles (list role_list
- (object Role "$UNNAMED$305"
- quid "3C28B841001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveTotalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8410027"
- label "effectiveTotalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$306"
- quid "3C28B898016D"
- roles (list role_list
- (object Role "$UNNAMED$307"
- quid "3C28B8990056"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8990060"
- label "effectiveMinLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$308"
- quid "3C28B8DC0052"
- roles (list role_list
- (object Role "$UNNAMED$309"
- quid "3C28B8DC03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8DC03C3"
- label "effectiveLengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$310"
- quid "3C28B97001DB"
- roles (list role_list
- (object Role "$UNNAMED$311"
- quid "3C28B97100CF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B97100D9"
- label "effectiveMinFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$312"
- quid "3D4BB4AE01CC"
- roles (list role_list
- (object Role "$UNNAMED$313"
- quid "3D4BB4AF010F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "syntheticFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4AF011A"
- label "syntheticFacets"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$314"
- quid "3D4BB4D3028E"
- roles (list role_list
- (object Role "$UNNAMED$315"
- quid "3D4BB4D402F3"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticParticle"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4D402FD"
- label "syntheticParticle"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$316"
- quid "3D4BB4D901F6"
- roles (list role_list
- (object Role "$UNNAMED$317"
- quid "3D4BB4DA0284"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4DA028E"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$318"
- quid "3D4C68FF01BF"
- roles (list role_list
- (object Role "$UNNAMED$319"
- quid "3D4C69020317"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- quid "3D4C69020318"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "1. Component Hierarchy (Part 1: Structures)"
- quid "3B6847680138"
- title "1. Component Hierarchy (Part 1: Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @400
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (928, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @400
- location (766, 37)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @401
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1168, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @401
- location (940, 517)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8)
- (object InheritTreeView "" @402
- location (928, 225)
- line_color 3342489
- fill_color 13434879
- supplier @400
- vertices (list Points
- (928, 225)
- (928, 135)))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @403
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @403
- location (1460, 277)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @404
- location (1203, 706)
- line_color 3342489
- fill_color 13434879
- supplier @401
- vertices (list Points
- (1203, 706)
- (1203, 615)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @405
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (624, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @405
- location (372, 517)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @406
- location (444, 709)
- line_color 3342489
- fill_color 13434879
- supplier @405
- vertices (list Points
- (444, 709)
- (444, 615)))
- (object InheritTreeView "" @407
- location (1572, 465)
- line_color 3342489
- fill_color 13434879
- supplier @403
- vertices (list Points
- (1572, 465)
- (1572, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @408
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 800)
- label (object ItemLabel
- Parent_View @408
- location (290, 757)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @409
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 1056)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @409
- location (262, 1013)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @410
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1104, 320)
- label (object ItemLabel
- Parent_View @410
- location (936, 277)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8)
- (object InheritTreeView "" @411
- location (453, 1203)
- line_color 3342489
- fill_color 13434879
- supplier @409
- vertices (list Points
- (453, 1203)
- (453, 1111)))
- (object ClassView "Class" "Logical View::xsd::XSDScope" @412
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (176, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @412
- location (62, 277)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @413
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @413
- location (1746, 757)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 110
- annotation 8)
- (object InheritTreeView "" @414
- location (1872, 950)
- line_color 3342489
- fill_color 13434879
- supplier @413
- vertices (list Points
- (1872, 950)
- (1872, 855)))
- (object InheritTreeView "" @415
- location (181, 465)
- line_color 3342489
- fill_color 13434879
- supplier @412
- vertices (list Points
- (181, 465)
- (181, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @416
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1936, 1280)
- label (object ItemLabel
- Parent_View @416
- location (1670, 1233)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 550
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @417
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 1056)
- label (object ItemLabel
- Parent_View @417
- location (1734, 1013)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @418
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1488)
- label (object ItemLabel
- Parent_View @418
- location (1569, 1444)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 656
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @419
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1184, 1488)
- label (object ItemLabel
- Parent_View @419
- location (903, 1444)
- fill_color 13434879
- nlines 1
- max_width 563
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 581
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @420
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 560)
- label (object ItemLabel
- Parent_View @420
- location (1462, 517)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 294
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @421
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1024, 1056)
- label (object ItemLabel
- Parent_View @421
- location (778, 1013)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @422
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 560)
- label (object ItemLabel
- Parent_View @422
- location (1806, 517)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @423
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1296)
- label (object ItemLabel
- Parent_View @423
- location (106, 1253)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @424
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 560)
- label (object ItemLabel
- Parent_View @424
- location (60, 517)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @425
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1280)
- label (object ItemLabel
- Parent_View @425
- location (802, 1237)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 558
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @426
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 1488)
- label (object ItemLabel
- Parent_View @426
- location (30, 1441)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 694
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @427
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (576, 320)
- label (object ItemLabel
- Parent_View @427
- location (426, 277)
- fill_color 13434879
- nlines 1
- max_width 300
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 318
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @428
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 320)
- label (object ItemLabel
- Parent_View @428
- location (1808, 277)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @429
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @410
- supplier @400
- line_style 3
- origin_attachment (1094, 265)
- terminal_attachment (1094, 225)
- drawSupplier @402)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @430
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @430
- location (690, 757)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @431
- location (962, 947)
- line_color 3342489
- fill_color 13434879
- supplier @430
- vertices (list Points
- (962, 947)
- (962, 855)))
- (object InheritView "" @432
- stereotype (object SegLabel @433
- Parent_View @432
- location (218, 1154)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.163534
- height 69
- orientation 1)
- line_color 3342489
- quidu "3B685F55032B"
- client @423
- supplier @405
- line_style 3
- origin_attachment (149, 1241)
- terminal_attachment (149, 709)
- drawSupplier @406)
- (object InheritView "" @434
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @423
- supplier @409
- line_style 3
- origin_attachment (256, 1241)
- terminal_attachment (256, 1203)
- drawSupplier @411)
- (object InheritView "" @435
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @424
- supplier @412
- line_style 3
- origin_attachment (284, 505)
- terminal_attachment (284, 465)
- drawSupplier @415)
- (object InheritView "" @436
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @422
- supplier @403
- line_style 3
- origin_attachment (2002, 505)
- terminal_attachment (2002, 465)
- drawSupplier @407)
- (object InheritView "" @437
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @403
- supplier @400
- line_style 3
- origin_attachment (1569, 265)
- terminal_attachment (1569, 225)
- drawSupplier @402)
- (object InheritView "" @438
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @420
- supplier @403
- line_style 3
- origin_attachment (1490, 505)
- terminal_attachment (1490, 465)
- drawSupplier @407)
- (object InheritView "" @439
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @408
- supplier @405
- line_style 3
- origin_attachment (510, 745)
- terminal_attachment (510, 709)
- drawSupplier @406)
- (object InheritView "" @440
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @425
- supplier @430
- line_style 3
- origin_attachment (1321, 1225)
- terminal_attachment (1321, 947)
- drawSupplier @431)
- (object InheritView "" @441
- stereotype (object SegLabel @442
- Parent_View @441
- location (2137, 886)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.215812
- height 64
- orientation 0)
- line_color 3342489
- quidu "3B685F17002E"
- client @417
- supplier @403
- line_style 3
- origin_attachment (2200, 1001)
- terminal_attachment (2200, 465)
- drawSupplier @407)
- (object InheritView "" @443
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @417
- supplier @413
- line_style 3
- origin_attachment (2093, 1001)
- terminal_attachment (2093, 950)
- drawSupplier @414)
- (object InheritView "" @444
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @409
- supplier @430
- line_style 3
- origin_attachment (450, 1001)
- terminal_attachment (450, 947)
- drawSupplier @431)
- (object InheritView "" @445
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @412
- supplier @400
- line_style 3
- origin_attachment (147, 265)
- terminal_attachment (147, 225)
- drawSupplier @402)
- (object InheritView "" @446
- stereotype TRUE
- line_color 3342489
- quidu "3B6D84F70092"
- client @428
- supplier @400
- line_style 3
- origin_attachment (2012, 265)
- terminal_attachment (2012, 225)
- drawSupplier @402)
- (object InheritView "" @447
- stereotype TRUE
- line_color 3342489
- quidu "3B6848B80286"
- client @405
- supplier @400
- line_style 3
- origin_attachment (834, 505)
- terminal_attachment (834, 225)
- drawSupplier @402)
- (object InheritView "" @448
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @401
- supplier @400
- line_style 3
- origin_attachment (1350, 505)
- terminal_attachment (1350, 225)
- drawSupplier @402)
- (object InheritView "" @449
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @427
- supplier @400
- line_style 3
- origin_attachment (572, 265)
- terminal_attachment (572, 225)
- drawSupplier @402)
- (object InheritView "" @450
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @416
- supplier @413
- line_style 3
- origin_attachment (1693, 1221)
- terminal_attachment (1693, 950)
- drawSupplier @414)
- (object InheritView "" @451
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @418
- supplier @401
- line_style 3
- origin_attachment (1590, 1432)
- terminal_attachment (1590, 706)
- drawSupplier @404)
- (object InheritView "" @452
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @419
- supplier @401
- line_style 3
- origin_attachment (1431, 1432)
- terminal_attachment (1431, 706)
- drawSupplier @404)
- (object InheritView "" @453
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @430
- supplier @401
- line_style 3
- origin_attachment (959, 745)
- terminal_attachment (959, 706)
- drawSupplier @404)
- (object InheritView "" @454
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @413
- supplier @401
- line_style 3
- origin_attachment (1872, 745)
- terminal_attachment (1872, 706)
- drawSupplier @404)
- (object InheritView "" @455
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @421
- supplier @430
- line_style 3
- origin_attachment (962, 1001)
- terminal_attachment (962, 947)
- drawSupplier @431)
- (object InheritView "" @456
- stereotype (object SegLabel @457
- Parent_View @456
- location (95, 1388)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.042531
- height 67
- orientation 1)
- line_color 3342489
- quidu "3B69BAA20310"
- client @426
- supplier @412
- line_style 3
- origin_attachment (28, 1429)
- terminal_attachment (28, 465)
- drawSupplier @415)
- (object InheritView "" @458
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @426
- supplier @409
- line_style 3
- origin_attachment (656, 1429)
- terminal_attachment (656, 1203)
- drawSupplier @411)))
- (object ClassDiagram "2. Component Relations (Part 1 : Structures)"
- quid "374B18190028"
- title "2. Component Relations (Part 1 : Structures)"
- zoom 96
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDScope" @459
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (784, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @459
- location (670, 1591)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @460
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @460
- location (66, 1591)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$134" @461
- location (494, 1627)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B653017A"
- roleview_list (list RoleViews
- (object RoleView "scope" @462
- Parent_View @461
- location (286, -485)
- label (object SegLabel @463
- Parent_View @462
- location (555, 1589)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+scope"
- pctDist 0.371257
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006D"
- client @461
- supplier @459
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (661, 1627)
- label (object SegLabel @464
- Parent_View @462
- location (576, 1664)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.491018
- height 37
- orientation 1))
- (object RoleView "$UNNAMED$135" @465
- Parent_View @461
- location (286, -485)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006E"
- client @461
- supplier @460
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (327, 1627))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @466
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2192, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @466
- location (2084, 1191)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @467
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2176, 992)
- label (object ItemLabel
- Parent_View @467
- location (2051, 951)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$166" @468
- location (2229, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C890122"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$167" @469
- Parent_View @468
- location (549, -248)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0110"
- client @468
- supplier @467
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1045))
- (object RoleView "term" @470
- Parent_View @468
- location (549, -248)
- label (object SegLabel @471
- Parent_View @470
- location (2157, 1121)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+term"
- pctDist 0.134328
- height 72
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0111"
- client @468
- supplier @466
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1179)
- label (object SegLabel @472
- Parent_View @470
- location (2274, 1119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.119403
- height 45
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @473
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1328, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @473
- location (1076, 1191)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @474
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 768)
- label (object ItemLabel
- Parent_View @474
- location (1977, 727)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$154" @475
- location (2219, 880)
- stereotype TRUE
- line_color 3342489
- quidu "3B683606026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$155" @476
- Parent_View @475
- location (-357, -240)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070221"
- client @475
- supplier @474
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 821))
- (object RoleView "particles" @477
- Parent_View @475
- location (-357, -240)
- label (object SegLabel @478
- Parent_View @477
- location (2105, 888)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+particles"
- pctDist 0.156627
- height 115
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070222"
- client @475
- supplier @467
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 939)
- label (object SegLabel @479
- Parent_View @477
- location (2281, 888)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.156627
- height 62
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @480
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1776, 992)
- label (object ItemLabel
- Parent_View @480
- location (1639, 951)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @481
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1424)
- label (object ItemLabel
- Parent_View @481
- location (905, 1383)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 352
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @482
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (432, 992)
- label (object ItemLabel
- Parent_View @482
- location (187, 951)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$200" @483
- location (590, 1140)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$201" @484
- Parent_View @483
- location (302, 148)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @483
- supplier @482
- vertices (list Points
- (590, 1140)
- (540, 1140)
- (540, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (540, 1045))
- (object RoleView "baseTypeDefinition" @485
- Parent_View @483
- location (302, 148)
- label (object SegLabel @486
- Parent_View @485
- location (643, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.053571
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @483
- supplier @482
- vertices (list Points
- (590, 1140)
- (641, 1140)
- (641, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (641, 1045)
- label (object SegLabel @487
- Parent_View @485
- location (584, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.122449
- height 44
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @488
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1008, 992)
- label (object ItemLabel
- Parent_View @488
- location (745, 951)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$102" @489
- location (1119, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837DF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$103" @490
- Parent_View @489
- location (-1569, -8)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FD"
- client @489
- supplier @488
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1045))
- (object RoleView "contentType" @491
- Parent_View @489
- location (-1569, -8)
- label (object SegLabel @492
- Parent_View @491
- location (1259, 1126)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+contentType"
- pctDist 0.208955
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FE"
- client @489
- supplier @473
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1179)
- label (object SegLabel @493
- Parent_View @491
- location (1063, 1126)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.208955
- height 57
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$108" @494
- location (1455, 982)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BA0126"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$109" @495
- Parent_View @494
- location (159, -570)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0150"
- client @494
- supplier @488
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1280, 982))
- (object RoleView "attributeWildcard" @496
- Parent_View @494
- location (159, -570)
- label (object SegLabel @497
- Parent_View @496
- location (1445, 929)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist -0.062857
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0151"
- client @494
- supplier @480
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1630, 982)
- label (object SegLabel @498
- Parent_View @496
- location (1550, 1022)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.542857
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$104" @499
- location (921, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959006E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$105" @500
- Parent_View @499
- location (-871, -376)
- stereotype TRUE
- line_color 3342489
- quidu "3B6839590349"
- client @499
- supplier @488
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1045))
- (object RoleView "attributeUses" @501
- Parent_View @499
- location (-871, -376)
- label (object SegLabel @502
- Parent_View @501
- location (778, 1251)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.269939
- height 144
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959034A"
- client @499
- supplier @481
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1371)
- label (object SegLabel @503
- Parent_View @501
- location (979, 1254)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.288344
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @504
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 768)
- label (object ItemLabel
- Parent_View @504
- location (1122, 727)
- fill_color 13434879
- nlines 1
- max_width 380
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 398
- height 107
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @505
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1856, 1632)
- label (object ItemLabel
- Parent_View @505
- location (1623, 1591)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @506
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2048, 448)
- label (object ItemLabel
- Parent_View @506
- location (1803, 407)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$158" @507
- location (2216, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$159" @508
- Parent_View @507
- location (-552, -816)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @507
- supplier @506
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 501))
- (object RoleView "modelGroup" @509
- Parent_View @507
- location (-552, -816)
- label (object SegLabel @510
- Parent_View @509
- location (2080, 628)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.182609
- height 137
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @507
- supplier @474
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 715)
- label (object SegLabel @511
- Parent_View @509
- location (2256, 633)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.233645
- height 40
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @512
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1424)
- label (object ItemLabel
- Parent_View @512
- location (1619, 1383)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$88" @513
- location (1676, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887BF0150"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$89" @514
- Parent_View @513
- location (412, -344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A7"
- client @513
- supplier @512
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1371))
- (object RoleView "attributeWildcard" @515
- Parent_View @513
- location (412, -344)
- label (object SegLabel @516
- Parent_View @515
- location (1857, 1106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist 0.625767
- height 181
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A8"
- client @513
- supplier @480
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1045)
- label (object SegLabel @517
- Parent_View @515
- location (1618, 1108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.619632
- height 59
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$84" @518
- location (1429, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B68359F0086"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$85" @519
- Parent_View @518
- location (-363, -146)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A00069"
- client @518
- supplier @512
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1610, 1438))
- (object RoleView "attributeUses" @520
- Parent_View @518
- location (-363, -146)
- label (object SegLabel @521
- Parent_View @520
- location (1405, 1506)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.132597
- height 68
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A0006A"
- client @518
- supplier @481
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1248, 1438)
- label (object SegLabel @522
- Parent_View @520
- location (1327, 1391)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.563536
- height 48
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @523
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 1424)
- label (object ItemLabel
- Parent_View @523
- location (183, 1383)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$92" @524
- location (777, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3B683585010D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$93" @525
- Parent_View @524
- location (-519, -367)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FA"
- client @524
- supplier @481
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (896, 1425))
- (object RoleView "attributeDeclaration" @526
- Parent_View @524
- location (-519, -367)
- label (object SegLabel @527
- Parent_View @526
- location (784, 1508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+attributeDeclaration"
- pctDist -0.059259
- height 83
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FB"
- client @524
- supplier @523
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (658, 1425)
- label (object SegLabel @528
- Parent_View @526
- location (721, 1385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.472441
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$76" @529
- location (237, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356B02CB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$77" @530
- Parent_View @529
- location (-1043, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A6"
- client @529
- supplier @523
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1371))
- (object RoleView "typeDefinition" @531
- Parent_View @529
- location (-1043, 72)
- label (object SegLabel @532
- Parent_View @531
- location (388, 1247)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist -0.239264
- height 151
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A7"
- client @529
- supplier @482
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1045)
- label (object SegLabel @533
- Parent_View @531
- location (195, 1247)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.239264
- height 43
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @534
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (384, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @534
- location (198, 743)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$98" @535
- location (728, 775)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833350340"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$99" @536
- Parent_View @535
- location (-856, -57)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028D"
- client @535
- supplier @488
- vertices (list Points
- (728, 775)
- (788, 775)
- (788, 939))
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (788, 939))
- (object RoleView "baseTypeDefinition" @537
- Parent_View @535
- location (-856, -57)
- label (object SegLabel @538
- Parent_View @537
- location (558, 883)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.140940
- height 108
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028E"
- client @535
- supplier @534
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (579, 775)
- label (object SegLabel @539
- Parent_View @537
- location (750, 812)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.152439
- height 37
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @540
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1312, 448)
- label (object ItemLabel
- Parent_View @540
- location (1017, 407)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$140" @541
- location (1629, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D29E014D"
- roleview_list (list RoleViews
- (object RoleView "referencedKey" @542
- Parent_View @541
- location (-83, 94)
- label (object SegLabel @543
- Parent_View @542
- location (1761, 608)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+referencedKey"
- pctDist -1.797297
- height 34
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A80165"
- client @541
- supplier @540
- vertices (list Points
- (1629, 574)
- (1555, 574)
- (1555, 501))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1555, 501)
- label (object SegLabel @544
- Parent_View @542
- location (1622, 539)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.047619
- height 36
- orientation 1))
- (object RoleView "$UNNAMED$141" @545
- Parent_View @541
- location (-83, 94)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A8016F"
- client @541
- supplier @540
- vertices (list Points
- (1629, 574)
- (1689, 574)
- (1689, 444)
- (1616, 444))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1616, 444))))
- (object AssociationViewNew "$UNNAMED$144" @546
- location (1197, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$145" @547
- Parent_View @546
- location (-115, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @546
- supplier @540
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 501))
- (object RoleView "fields" @548
- Parent_View @546
- location (-115, 32)
- label (object SegLabel @549
- Parent_View @548
- location (1119, 655)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.439252
- height 78
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @546
- supplier @504
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 715)
- label (object SegLabel @550
- Parent_View @548
- location (1253, 654)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.429907
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$142" @551
- location (1415, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$143" @552
- Parent_View @551
- location (103, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @551
- supplier @540
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 501))
- (object RoleView "selector" @553
- Parent_View @551
- location (103, 32)
- label (object SegLabel @554
- Parent_View @553
- location (1513, 651)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.411215
- height 98
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @551
- supplier @504
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 715)
- label (object SegLabel @555
- Parent_View @553
- location (1381, 650)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.392523
- height 34
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @556
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1312, 160)
- label (object ItemLabel
- Parent_View @556
- location (1022, 68)
- fill_color 13434879
- nlines 1
- max_width 581
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 599
- height 209
- annotation 8)
- (object AssociationViewNew "$UNNAMED$186" @557
- location (2395, 606)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA7023E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$187" @558
- Parent_View @557
- location (-853, 174)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038A"
- client @557
- supplier @556
- vertices (list Points
- (2395, 606)
- (2395, 65)
- (1611, 65))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (1611, 65))
- (object RoleView "notationDeclarations" @559
- Parent_View @557
- location (-853, 174)
- label (object SegLabel @560
- Parent_View @559
- location (2089, 104)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+notationDeclarations"
- pctDist -0.489776
- height 307
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038B"
- client @557
- supplier @505
- vertices (list Points
- (2395, 606)
- (2395, 1633)
- (2098, 1633))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (2098, 1633)
- label (object SegLabel @561
- Parent_View @559
- location (2344, 105)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.487829
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$182" @562
- location (1772, 249)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEFF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$183" @563
- Parent_View @562
- location (-948, -327)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF00025A"
- client @562
- supplier @556
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1611, 249))
- (object RoleView "modelGroupDefinitions" @564
- Parent_View @562
- location (-948, -327)
- label (object SegLabel @565
- Parent_View @564
- location (2076, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+modelGroupDefinitions"
- pctDist 0.713592
- height 244
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF000264"
- client @562
- supplier @506
- vertices (list Points
- (1772, 249)
- (1832, 249)
- (1832, 395))
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1832, 395)
- label (object SegLabel @566
- Parent_View @564
- location (1781, 340)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.737864
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$178" @567
- location (2346, 518)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE920216"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$179" @568
- Parent_View @567
- location (154, 86)
- label (object SegLabel @569
- Parent_View @568
- location (1872, 1857)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist -3.630072
- height 475
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018B"
- client @567
- supplier @556
- vertices (list Points
- (2346, 518)
- (2346, 149)
- (1611, 149))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (1611, 149))
- (object RoleView "attributeGroupDefinitions" @570
- Parent_View @567
- location (154, 86)
- label (object SegLabel @571
- Parent_View @570
- location (2008, 195)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+attributeGroupDefinitions"
- pctDist -0.349946
- height 339
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018C"
- client @567
- supplier @512
- vertices (list Points
- (2346, 518)
- (2346, 1441)
- (2166, 1441))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (2166, 1441)
- label (object SegLabel @572
- Parent_View @570
- location (2299, 197)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.348862
- height 48
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$180" @573
- location (203, 159)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760049"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$181" @574
- Parent_View @573
- location (-485, -273)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760374"
- client @573
- supplier @556
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (1013, 159))
- (object RoleView "typeDefinitions" @575
- Parent_View @573
- location (-485, -273)
- label (object SegLabel @576
- Parent_View @575
- location (349, 196)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+typeDefinitions"
- pctDist -1.475728
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE76037E"
- client @573
- supplier @534
- vertices (list Points
- (203, 159)
- (104, 159)
- (104, 784)
- (189, 784))
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (189, 784)
- label (object SegLabel @577
- Parent_View @575
- location (155, 200)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.059701
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$184" @578
- location (1087, 329)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1701ED"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$185" @579
- Parent_View @578
- location (-577, -23)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A0273"
- client @578
- supplier @556
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 264))
- (object RoleView "identityConstraintDefinitions" @580
- Parent_View @578
- location (-577, -23)
- label (object SegLabel @581
- Parent_View @580
- location (1375, 338)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.130952
- height 288
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A027D"
- client @578
- supplier @540
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 395)
- label (object SegLabel @582
- Parent_View @580
- location (1018, 336)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.107143
- height 70
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$176" @583
- location (48, 320)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFA00C3"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$177" @584
- Parent_View @583
- location (-1072, -288)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027D"
- client @583
- supplier @556
- vertices (list Points
- (49, 322)
- (49, 68)
- (1013, 68))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (1013, 68))
- (object RoleView "attributeDeclarations" @585
- Parent_View @583
- location (-1072, -288)
- label (object SegLabel @586
- Parent_View @585
- location (338, 106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+attributeDeclarations"
- pctDist -0.198536
- height 289
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027E"
- client @583
- supplier @523
- vertices (list Points
- (49, 322)
- (49, 1415)
- (174, 1415))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (174, 1415)
- label (object SegLabel @587
- Parent_View @585
- location (91, 108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.196706
- height 42
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @588
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 448)
- label (object ItemLabel
- Parent_View @588
- location (175, 412)
- fill_color 13434879
- nlines 1
- max_width 483
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 501
- height 97
- annotation 8)
- (object AssociationViewNew "$UNNAMED$126" @589
- location (499, 589)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C0590198"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$127" @590
- Parent_View @589
- location (-13, 109)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01E3"
- client @589
- supplier @588
- vertices (list Points
- (499, 589)
- (452, 589)
- (452, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (452, 496))
- (object RoleView "substitutionGroupAffiliation" @591
- Parent_View @589
- location (-13, 109)
- label (object SegLabel @592
- Parent_View @591
- location (811, 585)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+substitutionGroupAffiliation"
- pctDist 6.520833
- height 5
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01ED"
- client @589
- supplier @588
- vertices (list Points
- (499, 589)
- (547, 589)
- (547, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (547, 496)
- label (object SegLabel @593
- Parent_View @591
- location (499, 559)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.000000
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$120" @594
- location (241, 613)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C0058"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$121" @595
- Parent_View @594
- location (-1343, -219)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03BF"
- client @594
- supplier @588
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 496))
- (object RoleView "typeDefinition" @596
- Parent_View @594
- location (-1343, -219)
- label (object SegLabel @597
- Parent_View @596
- location (408, 694)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.686441
- height 167
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03C0"
- client @594
- supplier @534
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 731)
- label (object SegLabel @598
- Parent_View @596
- location (202, 685)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.610169
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$122" @599
- location (837, 460)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$123" @600
- Parent_View @599
- location (-1819, -68)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @599
- supplier @588
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (666, 460))
- (object RoleView "identityConstraintDefinitions" @601
- Parent_View @599
- location (-1819, -68)
- label (object SegLabel @602
- Parent_View @601
- location (880, 528)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.251462
- height 68
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @599
- supplier @540
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (1008, 460)
- label (object SegLabel @603
- Parent_View @601
- location (859, 407)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.130435
- height 54
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$174" @604
- location (541, 246)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8D01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$175" @605
- Parent_View @604
- location (-1123, -186)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0198"
- client @604
- supplier @556
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (1013, 246))
- (object RoleView "elementDeclarations" @606
- Parent_View @604
- location (-1123, -186)
- label (object SegLabel @607
- Parent_View @606
- location (443, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+elementDeclarations"
- pctDist 0.209302
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0199"
- client @604
- supplier @588
- vertices (list Points
- (541, 246)
- (224, 246)
- (224, 400))
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (224, 400)
- label (object SegLabel @608
- Parent_View @606
- location (186, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.864693
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$128" @609
- location (353, 621)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBDD0297"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$129" @610
- Parent_View @609
- location (-63, 173)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE0011E"
- client @609
- supplier @588
- vertices (list Points
- (353, 621)
- (306, 621)
- (306, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (306, 496))
- (object RoleView "substitutionGroup" @611
- Parent_View @609
- location (-63, 173)
- label (object SegLabel @612
- Parent_View @611
- location (579, 636)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+substitutionGroup"
- pctDist 4.808511
- height 15
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE00128"
- client @609
- supplier @588
- vertices (list Points
- (353, 621)
- (400, 621)
- (400, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (400, 496)
- label (object SegLabel @613
- Parent_View @611
- location (350, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist -0.069767
- height 39
- orientation 0))))))
- (object ClassDiagram "3. Component Attributes (Part 1 : Structures)"
- quid "3B69E78602C5"
- title "3. Component Attributes (Part 1 : Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @614
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @614
- location (46, 47)
- fill_color 13434879
- nlines 1
- max_width 516
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @614
- location (46, 107)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 524
- compartmentItems (list Compartment
- "+ name : String"
- "+ targetNamespace : String"))
- width 534
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @615
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1648)
- label (object ItemLabel
- Parent_View @615
- location (41, 1567)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 512
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @616
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 1680)
- label (object ItemLabel
- Parent_View @616
- location (1781, 1524)
- fill_color 13434879
- nlines 1
- max_width 1174
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @616
- location (1781, 1584)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 1177
- compartmentItems (list Compartment
- "+ derivationMethod : XSDDerivationMethod = restriction"
- "<<0..*>> + final : XSDComplexFinal"
- "+ abstract : boolean"
- "+ contentTypeCategory : XSDContentTypeCategory"
- "<<0..*>> + prohibitedSubstitutions : XSDProhibitedSubstitutions"))
- width 1192
- height 336
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @617
- location (463, 362)
- line_color 3342489
- fill_color 13434879
- supplier @614
- vertices (list Points
- (463, 362)
- (463, 221)))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @618
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 1600)
- label (object ItemLabel
- Parent_View @618
- location (1094, 1519)
- fill_color 13434879
- nlines 1
- max_width 628
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @618
- location (1094, 1579)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 628
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 646
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @619
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 144)
- label (object ItemLabel
- Parent_View @619
- location (647, 38)
- fill_color 13434879
- nlines 1
- max_width 530
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @619
- location (647, 98)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 538
- compartmentItems (list Compartment
- "+ required : boolean"
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 548
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @620
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (688, 1936)
- label (object ItemLabel
- Parent_View @620
- location (45, 1830)
- fill_color 13434879
- nlines 1
- max_width 1286
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @620
- location (45, 1890)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 1294
- compartmentItems (list Compartment
- "+ namespaceConstraintCategory : XSDNamespaceConstraintCategory"
- "<<0..*>> + namespaceConstraint : String"
- "+ processContents : XSDProcessContents"))
- width 1304
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @621
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 1440)
- label (object ItemLabel
- Parent_View @621
- location (47, 1384)
- fill_color 13434879
- nlines 1
- max_width 578
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 596
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @622
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @622
- location (36, 431)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @622
- location (36, 491)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 548
- compartmentItems (list Compartment
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 554
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @623
- location (294, 697)
- line_color 3342489
- fill_color 13434879
- supplier @622
- vertices (list Points
- (294, 697)
- (294, 605)))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @624
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2256, 128)
- label (object ItemLabel
- Parent_View @624
- location (1995, 47)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 540
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @625
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @625
- location (2418, 460)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @626
- location (2684, 962)
- line_color 3342489
- fill_color 13434879
- supplier @625
- vertices (list Points
- (2684, 962)
- (2684, 576)))
- (object ClassView "Class" "Logical View::xsd::XSDCompositor" @627
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1200)
- label (object ItemLabel
- Parent_View @627
- location (45, 1116)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDCompositor")
- stereotype (object ItemLabel
- Parent_View @627
- location (45, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869B620037"
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstraint" @628
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 528)
- label (object ItemLabel
- Parent_View @628
- location (638, 469)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDConstraint")
- stereotype (object ItemLabel
- Parent_View @628
- location (638, 419)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869E2601AE"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDerivationMethod" @629
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2192, 2272)
- label (object ItemLabel
- Parent_View @629
- location (1980, 2213)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "XSDDerivationMethod")
- stereotype (object ItemLabel
- Parent_View @629
- location (1980, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 424
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A0B000CE"
- width 442
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintCategory" @630
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1584, 176)
- label (object ItemLabel
- Parent_View @630
- location (1281, 88)
- fill_color 13434879
- nlines 1
- max_width 607
- justify 0
- label "XSDIdentityConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @630
- location (1281, 38)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 607
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A1E00272"
- width 625
- height 300
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDContentTypeCategory" @631
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2704, 2224)
- label (object ItemLabel
- Parent_View @631
- location (2456, 2115)
- fill_color 13434879
- nlines 1
- max_width 496
- justify 0
- label "XSDContentTypeCategory")
- stereotype (object ItemLabel
- Parent_View @631
- location (2456, 2065)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 496
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A79F03A2"
- width 514
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @632
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 1600)
- label (object ItemLabel
- Parent_View @632
- location (708, 1516)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @632
- location (708, 1466)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 344
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 362
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProcessContents" @633
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 2240)
- label (object ItemLabel
- Parent_View @633
- location (766, 2156)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDProcessContents")
- stereotype (object ItemLabel
- Parent_View @633
- location (766, 2106)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 420
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF8C70284"
- width 438
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDXPathVariety" @634
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2768, 160)
- label (object ItemLabel
- Parent_View @634
- location (2587, 97)
- fill_color 13434879
- nlines 1
- max_width 363
- justify 0
- label "XSDXPathVariety")
- stereotype (object ItemLabel
- Parent_View @634
- location (2587, 47)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 363
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FFB89033A"
- width 381
- height 250
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @635
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1552, 1872)
- label (object ItemLabel
- Parent_View @635
- location (1389, 1788)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @635
- location (1389, 1738)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @635
- location (1389, 1848)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 241
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @636
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 2000)
- label (object ItemLabel
- Parent_View @636
- location (1786, 1941)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @636
- location (1786, 1891)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- compartment (object Compartment
- Parent_View @636
- location (1786, 2001)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 238
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 382
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSubstitutionGroupExclusions" @637
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 1184)
- label (object ItemLabel
- Parent_View @637
- location (485, 1125)
- fill_color 13434879
- nlines 1
- max_width 630
- justify 0
- label "XSDSubstitutionGroupExclusions")
- stereotype (object ItemLabel
- Parent_View @637
- location (485, 1075)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 630
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C59100AE"
- width 648
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @638
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1440, 1200)
- label (object ItemLabel
- Parent_View @638
- location (1171, 1116)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @638
- location (1171, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @638
- location (1171, 1176)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 264
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"))
- width 556
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @639
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1664, 2272)
- label (object ItemLabel
- Parent_View @639
- location (1398, 2213)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @639
- location (1398, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @639
- location (1398, 2273)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 238
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 550
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamespaceConstraintCategory" @640
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 2240)
- label (object ItemLabel
- Parent_View @640
- location (45, 2154)
- fill_color 13434879
- nlines 1
- max_width 678
- justify 0
- label "XSDNamespaceConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @640
- location (45, 2104)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 678
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5EA0023"
- width 696
- height 296
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @641
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1264, 880)
- label (object ItemLabel
- Parent_View @641
- location (571, 749)
- fill_color 13434879
- nlines 1
- max_width 1386
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @641
- location (571, 809)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 1396
- compartmentItems (list Compartment
- "+ nillable : boolean"
- "<<0..*>> + disallowedSubstitutions : XSDDisallowedSubstitutions"
- "<<0..*>> + substitutionGroupExclusions : XSDSubstitutionGroupExclusions"
- "+ abstract : boolean"))
- width 1404
- height 286
- annotation 8
- autoResize TRUE)
- (object InheritView "" @642
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @641
- supplier @622
- line_style 3
- origin_attachment (681, 737)
- terminal_attachment (681, 697)
- drawSupplier @623)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @643
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @643
- location (35, 812)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @644
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 1152)
- label (object ItemLabel
- Parent_View @644
- location (2420, 1100)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @645
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @644
- supplier @625
- line_style 3
- origin_attachment (2862, 1088)
- terminal_attachment (2862, 962)
- drawSupplier @626)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @646
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1312)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @646
- location (2168, 1261)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @647
- location (2375, 1465)
- line_color 3342489
- fill_color 13434879
- supplier @646
- vertices (list Points
- (2375, 1465)
- (2375, 1375)))
- (object InheritView "" @648
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @646
- supplier @625
- line_style 3
- origin_attachment (2368, 1249)
- terminal_attachment (2368, 962)
- drawSupplier @626)
- (object InheritView "" @649
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @616
- supplier @646
- line_style 3
- origin_attachment (2818, 1512)
- terminal_attachment (2818, 1465)
- drawSupplier @647)
- (object InheritView "" @650
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @618
- supplier @646
- line_style 3
- origin_attachment (1406, 1507)
- terminal_attachment (1406, 1465)
- drawSupplier @647)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @651
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2064, 1152)
- label (object ItemLabel
- Parent_View @651
- location (1818, 1101)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @652
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @651
- supplier @625
- line_style 3
- origin_attachment (2115, 1089)
- terminal_attachment (2115, 962)
- drawSupplier @626)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @653
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1600, 528)
- label (object ItemLabel
- Parent_View @653
- location (1034, 468)
- fill_color 13434879
- nlines 1
- max_width 1132
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 1150
- height 144
- annotation 8
- autoResize TRUE)
- (object InheritView "" @654
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @653
- supplier @614
- line_style 3
- origin_attachment (1568, 456)
- terminal_attachment (1568, 362)
- drawSupplier @617)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @655
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2320, 784)
- label (object ItemLabel
- Parent_View @655
- location (2078, 703)
- fill_color 13434879
- nlines 1
- max_width 484
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 502
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @656
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 320)
- label (object ItemLabel
- Parent_View @656
- location (43, 268)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @657
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @655
- supplier @614
- line_style 3
- origin_attachment (2290, 691)
- terminal_attachment (2290, 362)
- drawSupplier @617)
- (object InheritView "" @658
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @643
- supplier @622
- line_style 3
- origin_attachment (141, 800)
- terminal_attachment (141, 697)
- drawSupplier @623)
- (object InheritView "" @659
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @622
- supplier @614
- line_style 3
- origin_attachment (372, 419)
- terminal_attachment (372, 362)
- drawSupplier @617)
- (object InheritView "" @660
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @625
- supplier @614
- line_style 3
- origin_attachment (2687, 448)
- terminal_attachment (2687, 362)
- drawSupplier @617)))
- (object ClassDiagram "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- quid "3B6C3265005F"
- title "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFixedFacet" @661
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @661
- location (32, 840)
- fill_color 13434879
- nlines 1
- max_width 320
- justify 0
- label "XSDFixedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C699E00C1"
- width 338
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @662
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @662
- location (504, 845)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @663
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1168)
- label (object ItemLabel
- Parent_View @663
- location (266, 1112)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 478
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @664
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1008, 1168)
- label (object ItemLabel
- Parent_View @664
- location (777, 1112)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 480
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @665
- location (718, 1049)
- line_color 3342489
- fill_color 13434879
- supplier @662
- vertices (list Points
- (718, 1049)
- (718, 959)))
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @666
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 928)
- label (object ItemLabel
- Parent_View @666
- location (1799, 872)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 420
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @667
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 928)
- label (object ItemLabel
- Parent_View @667
- location (1383, 872)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 388
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @668
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2032, 1104)
- label (object ItemLabel
- Parent_View @668
- location (1807, 1048)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 468
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @669
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 1104)
- label (object ItemLabel
- Parent_View @669
- location (1319, 1049)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 388
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @670
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 1376)
- label (object ItemLabel
- Parent_View @670
- location (491, 1320)
- fill_color 13434879
- nlines 1
- max_width 330
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 348
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @671
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (608, 1552)
- label (object ItemLabel
- Parent_View @671
- location (405, 1497)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 424
- height 134
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @672
- location (144, 1262)
- line_color 3342489
- fill_color 13434879
- supplier @661
- vertices (list Points
- (144, 1262)
- (144, 964)))
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @673
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1216, 1552)
- label (object ItemLabel
- Parent_View @673
- location (1007, 1497)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @674
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1376)
- label (object ItemLabel
- Parent_View @674
- location (880, 1320)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 498
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @675
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 1728)
- label (object ItemLabel
- Parent_View @675
- location (1090, 1676)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 462
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @676
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 1904)
- label (object ItemLabel
- Parent_View @676
- location (1193, 1852)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @677
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1728)
- label (object ItemLabel
- Parent_View @677
- location (282, 1676)
- fill_color 13434879
- nlines 1
- max_width 428
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 446
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @678
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1904)
- label (object ItemLabel
- Parent_View @678
- location (124, 1852)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 474
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @679
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 2112)
- label (object ItemLabel
- Parent_View @679
- location (52, 2056)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 426
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @680
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 2112)
- label (object ItemLabel
- Parent_View @680
- location (1318, 2056)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 486
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @681
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C9D03C7"
- client @663
- supplier @662
- line_style 3
- origin_attachment (394, 1100)
- terminal_attachment (394, 1049)
- drawSupplier @665)
- (object InheritView "" @682
- stereotype TRUE
- line_color 3342489
- quidu "3B6C78620045"
- client @674
- supplier @661
- line_style 3
- origin_attachment (1119, 1308)
- terminal_attachment (1119, 1262)
- drawSupplier @672)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @683
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 160)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @683
- location (174, 117)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @684
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6CA5038D"
- client @664
- supplier @662
- line_style 3
- origin_attachment (1044, 1100)
- terminal_attachment (1044, 1049)
- drawSupplier @665)
- (object InheritView "" @685
- stereotype TRUE
- line_color 3342489
- quidu "3B6C778002DF"
- client @670
- supplier @661
- line_style 3
- origin_attachment (663, 1308)
- terminal_attachment (663, 1262)
- drawSupplier @672)
- (object ClassView "Class" "Logical View::xsd::XSDOrdered" @686
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1408)
- label (object ItemLabel
- Parent_View @686
- location (1835, 1324)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDOrdered")
- stereotype (object ItemLabel
- Parent_View @686
- location (1835, 1274)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715202E4"
- width 444
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinality" @687
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1728)
- label (object ItemLabel
- Parent_View @687
- location (1835, 1669)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDCardinality")
- stereotype (object ItemLabel
- Parent_View @687
- location (1835, 1619)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715D009B"
- width 444
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpace" @688
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 2032)
- label (object ItemLabel
- Parent_View @688
- location (1861, 1951)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDWhiteSpace")
- stereotype (object ItemLabel
- Parent_View @688
- location (1861, 1901)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 406
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BEED0F60342"
- width 424
- height 287
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::Value" @689
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 2096)
- label (object ItemLabel
- Parent_View @689
- location (571, 2062)
- fill_color 13434879
- nlines 1
- max_width 618
- justify 0
- label "Value")
- stereotype (object ItemLabel
- Parent_View @689
- location (571, 2012)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 618
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C040B5B031F"
- width 636
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @690
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B610337"
- client @679
- supplier @661
- line_style 3
- origin_attachment (75, 2044)
- terminal_attachment (75, 1262)
- drawSupplier @672)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @691
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @691
- location (113, 1320)
- fill_color 13434879
- nlines 1
- max_width 286
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @691
- location (113, 1380)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 290
- compartmentItems (list Compartment
- "+ value : Value"))
- width 304
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @692
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1584, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @692
- location (1440, 1320)
- fill_color 13434879
- nlines 1
- max_width 288
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @692
- location (1440, 1380)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 294
- compartmentItems (list Compartment
- "+ value : Value"))
- width 306
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @693
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D240098"
- client @691
- supplier @661
- line_style 3
- origin_attachment (235, 1308)
- terminal_attachment (235, 1262)
- drawSupplier @672)
- (object InheritView "" @694
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D3103AD"
- client @692
- supplier @661
- line_style 3
- origin_attachment (1581, 1308)
- terminal_attachment (1581, 1262)
- drawSupplier @672)
- (object InheritView "" @695
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B520353"
- client @677
- supplier @691
- line_style 3
- origin_attachment (285, 1664)
- terminal_attachment (285, 1444))
- (object InheritView "" @696
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8303B8"
- client @675
- supplier @692
- line_style 3
- origin_attachment (1500, 1664)
- terminal_attachment (1500, 1444))
- (object InheritView "" @697
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8E0309"
- client @676
- supplier @692
- line_style 3
- origin_attachment (1622, 1840)
- terminal_attachment (1622, 1444))
- (object InheritView "" @698
- stereotype TRUE
- line_color 3342489
- quidu "3B6C77C400C0"
- client @671
- supplier @661
- line_style 3
- origin_attachment (447, 1485)
- terminal_attachment (447, 1262)
- drawSupplier @672)
- (object InheritView "" @699
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B7D00FC"
- client @673
- supplier @661
- line_style 3
- origin_attachment (1397, 1485)
- terminal_attachment (1397, 1262)
- drawSupplier @672)
- (object InheritView "" @700
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B990016"
- client @680
- supplier @661
- line_style 3
- origin_attachment (1775, 2044)
- terminal_attachment (1775, 1262)
- drawSupplier @672)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @701
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 368)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @701
- location (174, 318)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 406
- height 125
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @702
- location (366, 522)
- line_color 3342489
- fill_color 13434879
- supplier @701
- vertices (list Points
- (366, 522)
- (366, 430)))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @703
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @703
- location (34, 573)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 462
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @704
- location (272, 781)
- line_color 3342489
- fill_color 13434879
- supplier @703
- vertices (list Points
- (272, 781)
- (272, 687)))
- (object InheritView "" @705
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @662
- supplier @703
- line_style 3
- origin_attachment (594, 833)
- terminal_attachment (594, 781)
- drawSupplier @704)
- (object ClassView "Class" "Logical View::xsd::XSDFundamentalFacet" @706
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @706
- location (526, 573)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDFundamentalFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C69E801D6"
- width 470
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @707
- location (768, 789)
- line_color 3342489
- fill_color 13434879
- supplier @706
- vertices (list Points
- (768, 789)
- (768, 687)))
- (object InheritView "" @708
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7659012C"
- client @666
- supplier @706
- line_style 3
- origin_attachment (2050, 860)
- terminal_attachment (2050, 789)
- drawSupplier @707)
- (object InheritView "" @709
- stereotype TRUE
- line_color 3342489
- quidu "3B6C763C0224"
- client @667
- supplier @706
- line_style 3
- origin_attachment (1525, 860)
- terminal_attachment (1525, 789)
- drawSupplier @707)
- (object InheritView "" @710
- stereotype TRUE
- line_color 3342489
- quidu "3B6C764F0131"
- client @668
- supplier @706
- line_style 3
- origin_attachment (2237, 1036)
- terminal_attachment (2237, 789)
- drawSupplier @707)
- (object InheritView "" @711
- stereotype TRUE
- line_color 3342489
- quidu "3B6C76420074"
- client @669
- supplier @706
- line_style 3
- origin_attachment (1328, 1037)
- terminal_attachment (1328, 789)
- drawSupplier @707)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @712
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1456, 160)
- label (object ItemLabel
- Parent_View @712
- location (1137, 47)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @712
- location (1137, 107)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 628
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 656
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$132" @713
- location (775, 178)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D597102EA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$133" @714
- Parent_View @713
- location (-1209, -46)
- label (object SegLabel @715
- Parent_View @714
- location (509, 235)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750119"
- client @713
- supplier @701
- vertices (list Points
- (775, 178)
- (550, 178)
- (550, 306))
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (550, 306))
- (object RoleView "simpleTypeDefinition" @716
- Parent_View @713
- location (-1209, -46)
- label (object SegLabel @717
- Parent_View @716
- location (875, 136)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+simpleTypeDefinition"
- pctDist 0.283133
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750105"
- client @713
- supplier @712
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (1128, 178)
- label (object SegLabel @718
- Parent_View @716
- location (1061, 215)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.812500
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$194" @719
- location (369, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE0203A8"
- roleview_list (list RoleViews
- (object RoleView "facets" @720
- Parent_View @719
- location (-1615, -152)
- label (object SegLabel @721
- Parent_View @720
- location (187, 496)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+facets"
- pctDist 0.913863
- height 87
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060065"
- client @719
- supplier @703
- vertices (list Points
- (369, 72)
- (100, 72)
- (100, 561))
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (100, 561)
- label (object SegLabel @722
- Parent_View @720
- location (60, 498)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.917900
- height 41
- orientation 1))
- (object RoleView "$UNNAMED$195" @723
- Parent_View @719
- location (-1615, -152)
- label (object SegLabel @724
- Parent_View @723
- location (976, 31)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060051"
- client @719
- supplier @712
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (1128, 72))))
- (object AssociationViewNew "$UNNAMED$236" @725
- location (1538, 508)
- label (object SegLabel @726
- Parent_View @725
- location (1538, 449)
- font (object Font
- italics TRUE)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.500000
- height 60
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$237" @727
- Parent_View @725
- location (-446, 284)
- label (object SegLabel @728
- Parent_View @727
- location (1446, 340)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DF"
- client @725
- supplier @712
- vertices (list Points
- (1538, 508)
- (1487, 508)
- (1487, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1487, 285))
- (object RoleView "itemTypeDefinition" @729
- Parent_View @725
- location (-446, 284)
- label (object SegLabel @730
- Parent_View @729
- location (1423, 577)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+itemTypeDefinition"
- pctDist -2.211539
- height 69
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000E0"
- client @725
- supplier @712
- vertices (list Points
- (1538, 508)
- (1590, 508)
- (1590, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1590, 285)
- label (object SegLabel @731
- Parent_View @729
- location (1539, 468)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.003984
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$196" @732
- location (1729, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34B70208"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$197" @733
- Parent_View @732
- location (-255, 350)
- label (object SegLabel @734
- Parent_View @733
- location (1637, 353)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0258"
- client @732
- supplier @712
- vertices (list Points
- (1729, 574)
- (1678, 574)
- (1678, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1678, 285))
- (object RoleView "memberTypeDefinitions" @735
- Parent_View @732
- location (-255, 350)
- label (object SegLabel @736
- Parent_View @735
- location (1559, 654)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+memberTypeDefinitions"
- pctDist -3.269231
- height 80
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0259"
- client @732
- supplier @712
- vertices (list Points
- (1729, 574)
- (1781, 574)
- (1781, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1781, 285)
- label (object SegLabel @737
- Parent_View @735
- location (1730, 520)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.312121
- height 52
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$198" @738
- location (748, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C363201DB"
- roleview_list (list RoleViews
- (object RoleView "fundamentalFacets" @739
- Parent_View @738
- location (-1236, 45)
- label (object SegLabel @740
- Parent_View @739
- location (873, 312)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+fundamentalFacets"
- pctDist -1.409091
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350063"
- client @738
- supplier @706
- vertices (list Points
- (748, 269)
- (659, 269)
- (659, 561))
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (659, 561)
- label (object SegLabel @741
- Parent_View @739
- location (728, 385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.538028
- height 69
- orientation 0))
- (object RoleView "$UNNAMED$199" @742
- Parent_View @738
- location (-1236, 45)
- label (object SegLabel @743
- Parent_View @742
- location (1052, 228)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350059"
- client @738
- supplier @712
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (1128, 269))))
- (object AssociationViewNew "$UNNAMED$200" @744
- location (1175, 396)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$201" @745
- Parent_View @744
- location (-809, 172)
- label (object SegLabel @746
- Parent_View @745
- location (1094, 316)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @744
- supplier @712
- vertices (list Points
- (1175, 396)
- (1135, 396)
- (1135, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1135, 285))
- (object RoleView "baseTypeDefinition" @747
- Parent_View @744
- location (-809, 172)
- label (object SegLabel @748
- Parent_View @747
- location (1074, 443)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist -2.533333
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @744
- supplier @712
- vertices (list Points
- (1175, 396)
- (1215, 396)
- (1215, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1215, 285)
- label (object SegLabel @749
- Parent_View @747
- location (1172, 359)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.096154
- height 38
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$202" @750
- location (1360, 446)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5572016C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$203" @751
- Parent_View @750
- location (-624, 222)
- label (object SegLabel @752
- Parent_View @751
- location (1268, 327)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5575022F"
- client @750
- supplier @712
- vertices (list Points
- (1360, 446)
- (1309, 446)
- (1309, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1309, 285))
- (object RoleView "primitiveTypeDefinition" @753
- Parent_View @750
- location (-624, 222)
- label (object SegLabel @754
- Parent_View @753
- location (1204, 508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+primitiveTypeDefinition"
- pctDist -3.000000
- height 62
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D55750243"
- client @750
- supplier @712
- vertices (list Points
- (1360, 446)
- (1412, 446)
- (1412, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1412, 285)
- label (object SegLabel @755
- Parent_View @753
- location (1373, 409)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.062147
- height 38
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @756
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2080, 512)
- label (object ItemLabel
- Parent_View @756
- location (1917, 428)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @756
- location (1917, 378)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @756
- location (1917, 488)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 3
- max_width 238
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @757
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 176)
- label (object ItemLabel
- Parent_View @757
- location (1918, 92)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @757
- location (1918, 42)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 342
- height 292
- annotation 8
- autoResize TRUE)
- (object InheritView "" @758
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C7B0396"
- client @706
- supplier @701
- line_style 3
- origin_attachment (591, 561)
- terminal_attachment (591, 522)
- drawSupplier @702)
- (object InheritView "" @759
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @703
- supplier @701
- line_style 3
- origin_attachment (272, 561)
- terminal_attachment (272, 522)
- drawSupplier @702)
- (object InheritView "" @760
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @701
- supplier @683
- line_style 3
- origin_attachment (366, 306)
- terminal_attachment (366, 215))
- (object InheritView "" @761
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8801B4"
- client @661
- supplier @703
- line_style 3
- origin_attachment (147, 828)
- terminal_attachment (147, 781)
- drawSupplier @704)
- (object InheritView "" @762
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B590281"
- client @678
- supplier @691
- line_style 3
- origin_attachment (150, 1840)
- terminal_attachment (150, 1444))))
- (object ClassDiagram "5. Component Annotations"
- quid "3B69D68D00D2"
- title "5. Component Annotations"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @763
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 80)
- label (object ItemLabel
- Parent_View @763
- location (88, 37)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @764
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1696)
- label (object ItemLabel
- Parent_View @764
- location (82, 1653)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @765
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 1504)
- label (object ItemLabel
- Parent_View @765
- location (1626, 1461)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @766
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 304)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @766
- location (1663, 261)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @767
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1360)
- label (object ItemLabel
- Parent_View @767
- location (74, 1317)
- fill_color 13434879
- nlines 1
- max_width 588
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 606
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @768
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 704)
- label (object ItemLabel
- Parent_View @768
- location (86, 661)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @769
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 1184)
- label (object ItemLabel
- Parent_View @769
- location (74, 1141)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @770
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 544)
- label (object ItemLabel
- Parent_View @770
- location (86, 501)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @771
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 80)
- label (object ItemLabel
- Parent_View @771
- location (1068, 37)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @772
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1216)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @772
- location (1750, 1173)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @773
- location (1994, 1412)
- line_color 3342489
- fill_color 13434879
- supplier @772
- vertices (list Points
- (1994, 1412)
- (1994, 1271)))
- (object InheritView "" @774
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @765
- supplier @772
- line_style 3
- origin_attachment (2084, 1449)
- terminal_attachment (2084, 1412)
- drawSupplier @773)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @775
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @775
- location (80, 821)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @776
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @776
- location (1892, 37)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 234
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @777
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 384)
- label (object ItemLabel
- Parent_View @777
- location (84, 341)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @778
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 224)
- label (object ItemLabel
- Parent_View @778
- location (86, 181)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @779
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1792, 1712)
- label (object ItemLabel
- Parent_View @779
- location (1467, 1674)
- fill_color 13434879
- nlines 1
- max_width 651
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 669
- height 100
- annotation 8)
- (object InheritView "" @780
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @779
- supplier @772
- line_style 3
- origin_attachment (1572, 1662)
- terminal_attachment (1572, 1412)
- drawSupplier @773)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @781
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 1024)
- label (object ItemLabel
- Parent_View @781
- location (78, 981)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @782
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @782
- location (1688, 517)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @783
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1536)
- label (object ItemLabel
- Parent_View @783
- location (71, 1493)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @784
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 944)
- label (object ItemLabel
- Parent_View @784
- location (872, 685)
- fill_color 13434879
- nlines 1
- max_width 720
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 738
- height 543
- annotation 8)
- (object AssociationViewNew "$UNNAMED$138" @785
- location (865, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0183"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$139" @786
- Parent_View @785
- location (-255, 559)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D033C"
- client @785
- supplier @767
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (671, 1359))
- (object RoleView "annotation" @787
- Parent_View @785
- location (-255, 559)
- label (object SegLabel @788
- Parent_View @787
- location (798, 1321)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -1.116667
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0346"
- client @785
- supplier @784
- vertices (list Points
- (865, 1359)
- (925, 1359)
- (925, 1215))
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (925, 1215)
- label (object SegLabel @789
- Parent_View @787
- location (987, 1276)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.706422
- height 62
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$162" @790
- location (713, 709)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0F0212"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$163" @791
- Parent_View @790
- location (-407, -90)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000C9"
- client @790
- supplier @768
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (563, 709))
- (object RoleView "annotation" @792
- Parent_View @790
- location (-407, -90)
- label (object SegLabel @793
- Parent_View @792
- location (727, 667)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.095238
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000D3"
- client @790
- supplier @784
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (863, 709)
- label (object SegLabel @794
- Parent_View @792
- location (796, 753)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.553571
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$156" @795
- location (719, 1193)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB15008A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$157" @796
- Parent_View @795
- location (-401, 393)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB160096"
- client @795
- supplier @769
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (575, 1193))
- (object RoleView "annotation" @797
- Parent_View @795
- location (-401, 393)
- label (object SegLabel @798
- Parent_View @797
- location (720, 1147)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.006993
- height 47
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1600A0"
- client @795
- supplier @784
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (863, 1193)
- label (object SegLabel @799
- Parent_View @797
- location (806, 1240)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.604167
- height 47
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$116" @800
- location (785, 550)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0A0066"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$117" @801
- Parent_View @800
- location (-335, -250)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B023F"
- client @800
- supplier @770
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (563, 550))
- (object RoleView "annotation" @802
- Parent_View @800
- location (-335, -250)
- label (object SegLabel @803
- Parent_View @802
- location (779, 516)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.070707
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B0249"
- client @800
- supplier @784
- vertices (list Points
- (785, 550)
- (884, 550)
- (884, 673))
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (884, 673)
- label (object SegLabel @804
- Parent_View @802
- location (935, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.729730
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$188" @805
- location (1184, 404)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4560290"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$189" @806
- Parent_View @805
- location (-32, -412)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4570165"
- client @805
- supplier @771
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 135))
- (object RoleView "annotations" @807
- Parent_View @805
- location (-32, -412)
- label (object SegLabel @808
- Parent_View @807
- location (1324, 226)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+annotations"
- pctDist -0.665428
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E457016F"
- client @805
- supplier @784
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 673)
- label (object SegLabel @809
- Parent_View @807
- location (1251, 615)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.784387
- height 67
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$204" @810
- location (1752, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E2910158"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$205" @811
- Parent_View @810
- location (536, 218)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E292019F"
- client @810
- supplier @772
- vertices (list Points
- (1752, 1034)
- (1812, 1034)
- (1812, 1161))
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1812, 1161))
- (object RoleView "annotation" @812
- Parent_View @810
- location (536, 218)
- label (object SegLabel @813
- Parent_View @812
- location (1743, 997)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.059603
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E29201A9"
- client @810
- supplier @784
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1601, 1034)
- label (object SegLabel @814
- Parent_View @812
- location (1684, 1066)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.450331
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$206" @815
- location (1896, 881)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006CF0088"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$207" @816
- Parent_View @815
- location (621, 40)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D1015D"
- client @815
- supplier @772
- vertices (list Points
- (1896, 881)
- (1956, 881)
- (1956, 1161))
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1956, 1161))
- (object RoleView "derivationAnnotation" @817
- Parent_View @815
- location (621, 40)
- label (object SegLabel @818
- Parent_View @817
- location (1821, 842)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 390
- justify 0
- label "+derivationAnnotation"
- pctDist 0.254237
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D10167"
- client @815
- supplier @784
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1601, 881)
- label (object SegLabel @819
- Parent_View @817
- location (1689, 914)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.705085
- height 33
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$208" @820
- location (2040, 715)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB330264"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$209" @821
- Parent_View @820
- location (920, -85)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB340284"
- client @820
- supplier @772
- vertices (list Points
- (2040, 715)
- (2100, 715)
- (2100, 1161))
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (2100, 1161))
- (object RoleView "annotations" @822
- Parent_View @820
- location (920, -85)
- label (object SegLabel @823
- Parent_View @822
- location (1758, 681)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.643192
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB34028E"
- client @820
- supplier @784
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (1601, 715)
- label (object SegLabel @824
- Parent_View @822
- location (1685, 746)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.809313
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$226" @825
- location (668, 865)
- stereotype TRUE
- line_color 3342489
- quidu "3C239134004F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$227" @826
- Parent_View @825
- location (-612, 33)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600CA"
- client @825
- supplier @775
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (473, 865))
- (object RoleView "annotation" @827
- Parent_View @825
- location (-612, 33)
- label (object SegLabel @828
- Parent_View @827
- location (714, 825)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.234146
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600D4"
- client @825
- supplier @784
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (863, 865)
- label (object SegLabel @829
- Parent_View @827
- location (801, 903)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.682051
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$130" @830
- location (1472, 167)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23B901CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$131" @831
- Parent_View @830
- location (256, -649)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01C4"
- client @830
- supplier @776
- vertices (list Points
- (1472, 167)
- (1472, 72)
- (1883, 72))
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1883, 72))
- (object RoleView "annotation" @832
- Parent_View @830
- location (256, -649)
- label (object SegLabel @833
- Parent_View @832
- location (1604, 129)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.076305
- height 132
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01CE"
- client @830
- supplier @784
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1472, 673)
- label (object SegLabel @834
- Parent_View @832
- location (1419, 618)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.893574
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$80" @835
- location (927, 350)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB060291"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$81" @836
- Parent_View @835
- location (-193, -450)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070171"
- client @835
- supplier @777
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (629, 350))
- (object RoleView "annotation" @837
- Parent_View @835
- location (-193, -450)
- label (object SegLabel @838
- Parent_View @837
- location (878, 310)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.816667
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070172"
- client @835
- supplier @784
- vertices (list Points
- (927, 350)
- (987, 350)
- (987, 673))
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (987, 673)
- label (object SegLabel @839
- Parent_View @837
- location (1037, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.843342
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$72" @840
- location (1027, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADC02F5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$73" @841
- Parent_View @840
- location (-93, -578)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0238"
- client @840
- supplier @778
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (563, 222))
- (object RoleView "annotation" @842
- Parent_View @840
- location (-93, -578)
- label (object SegLabel @843
- Parent_View @842
- location (1003, 188)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.406250
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0242"
- client @840
- supplier @784
- vertices (list Points
- (1027, 222)
- (1087, 222)
- (1087, 673))
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (1087, 673)
- label (object SegLabel @844
- Parent_View @842
- location (1137, 613)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 100
- justify 0
- label "0..1"
- pctDist 0.882583
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$96" @845
- location (1494, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068801C2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$97" @846
- Parent_View @845
- location (214, 590)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A0111"
- client @845
- supplier @779
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1662))
- (object RoleView "contentAnnotation" @847
- Parent_View @845
- location (214, 590)
- label (object SegLabel @848
- Parent_View @847
- location (1696, 1356)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+contentAnnotation"
- pctDist 0.367713
- height 202
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A011B"
- client @845
- supplier @784
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1215)
- label (object SegLabel @849
- Parent_View @847
- location (1443, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.713004
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$150" @850
- location (637, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1702C8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$151" @851
- Parent_View @850
- location (-483, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1803E2"
- client @850
- supplier @781
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (411, 1022))
- (object RoleView "annotation" @852
- Parent_View @850
- location (-483, 222)
- label (object SegLabel @853
- Parent_View @852
- location (710, 979)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.328889
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB190004"
- client @850
- supplier @784
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (863, 1022)
- label (object SegLabel @854
- Parent_View @852
- location (802, 1062)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.730088
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$70" @855
- location (1581, 607)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA70102"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$71" @856
- Parent_View @855
- location (301, -225)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90191"
- client @855
- supplier @782
- vertices (list Points
- (1581, 607)
- (1581, 547)
- (1679, 547))
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1679, 547))
- (object RoleView "annotations" @857
- Parent_View @855
- location (301, -225)
- label (object SegLabel @858
- Parent_View @857
- location (1669, 462)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist -2.196970
- height 88
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90192"
- client @855
- supplier @784
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1581, 673)
- label (object SegLabel @859
- Parent_View @857
- location (1539, 620)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.196970
- height 42
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$210" @860
- location (849, 1496)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB11026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$211" @861
- Parent_View @860
- location (-271, 696)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1201F9"
- client @860
- supplier @783
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (354, 1496))
- (object RoleView "annotation" @862
- Parent_View @860
- location (-271, 696)
- label (object SegLabel @863
- Parent_View @862
- location (942, 1464)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.188259
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB120203"
- client @860
- supplier @784
- vertices (list Points
- (849, 1496)
- (1062, 1496)
- (1062, 1215))
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (1062, 1215)
- label (object SegLabel @864
- Parent_View @862
- location (1115, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.872690
- height 53
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$212" @865
- location (952, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB30005"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$213" @866
- Parent_View @865
- location (-328, 733)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40327"
- client @865
- supplier @783
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (354, 1565))
- (object RoleView "annotations" @867
- Parent_View @865
- location (-328, 733)
- label (object SegLabel @868
- Parent_View @867
- location (1075, 1538)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.204959
- height 28
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40332"
- client @865
- supplier @784
- vertices (list Points
- (952, 1565)
- (1200, 1565)
- (1200, 1215))
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (1200, 1215)
- label (object SegLabel @869
- Parent_View @867
- location (1254, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))
- (object InheritView "" @870
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @766
- supplier @776
- line_style 3
- origin_attachment (1984, 249)
- terminal_attachment (1984, 135))
- (object InheritView "" @871
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @782
- supplier @766
- line_style 3
- origin_attachment (1997, 505)
- terminal_attachment (1997, 359))))
- (object ClassDiagram "6. Concrete Components"
- quid "3B6AD74D03C4"
- title "6. Concrete Components"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @872
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @872
- location (126, 373)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @873
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @873
- location (568, 373)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @874
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @874
- location (991, 629)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @875
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @875
- location (1156, 373)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @876
- location (1360, 561)
- line_color 3342489
- fill_color 13434879
- supplier @875
- vertices (list Points
- (1360, 561)
- (1360, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDInclude" @877
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1632, 1200)
- label (object ItemLabel
- Parent_View @877
- location (1512, 1157)
- fill_color 13434879
- nlines 1
- max_width 240
- justify 0
- label "XSDInclude")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C7D0250"
- width 258
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @878
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 944)
- label (object ItemLabel
- Parent_View @878
- location (1294, 901)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @879
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1200)
- label (object ItemLabel
- Parent_View @879
- location (1805, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @880
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (800, 1200)
- label (object ItemLabel
- Parent_View @880
- location (375, 1153)
- fill_color 13434879
- nlines 1
- max_width 851
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 869
- height 119
- annotation 8)
- (object AssociationViewNew "$UNNAMED$148" @881
- location (1368, 1206)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC5007E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$149" @882
- Parent_View @881
- location (1160, 406)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006B"
- client @881
- supplier @877
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1503, 1206))
- (object RoleView "annotation" @883
- Parent_View @881
- location (1160, 406)
- label (object SegLabel @884
- Parent_View @883
- location (1347, 1154)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.154412
- height 53
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006C"
- client @881
- supplier @880
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1234, 1206)
- label (object SegLabel @885
- Parent_View @883
- location (1300, 1253)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 107
- justify 0
- label "0..1"
- pctDist 0.514706
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$146" @886
- location (1168, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD802FC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$147" @887
- Parent_View @886
- location (960, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018B"
- client @886
- supplier @878
- vertices (list Points
- (1168, 1022)
- (1168, 962)
- (1285, 962))
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1285, 962))
- (object RoleView "annotation" @888
- Parent_View @886
- location (960, 222)
- label (object SegLabel @889
- Parent_View @888
- location (1290, 1075)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.445378
- height 122
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018C"
- client @886
- supplier @880
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1168, 1141)
- label (object SegLabel @890
- Parent_View @888
- location (1127, 1074)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.436975
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$168" @891
- location (1563, 1353)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE42009A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$169" @892
- Parent_View @891
- location (1355, 553)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE4302FE"
- client @891
- supplier @879
- vertices (list Points
- (1563, 1353)
- (1940, 1353)
- (1940, 1255))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1940, 1255))
- (object RoleView "annotations" @893
- Parent_View @891
- location (1355, 553)
- label (object SegLabel @894
- Parent_View @893
- location (1317, 1322)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.516807
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE430308"
- client @891
- supplier @880
- vertices (list Points
- (1563, 1353)
- (1181, 1353)
- (1181, 1259))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1181, 1259)
- label (object SegLabel @895
- Parent_View @893
- location (1130, 1326)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.861345
- height 52
- orientation 0))))
- (object InheritTreeView "" @896
- location (288, 561)
- line_color 3342489
- fill_color 13434879
- supplier @872
- vertices (list Points
- (288, 561)
- (288, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @897
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @897
- location (460, 629)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @898
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1856, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @898
- location (1658, 373)
- fill_color 13434879
- nlines 1
- max_width 396
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 414
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @899
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 960)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @899
- location (450, 917)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @900
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (224, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @900
- location (110, 629)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @901
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @900
- supplier @872
- line_style 3
- origin_attachment (221, 617)
- terminal_attachment (221, 561)
- drawSupplier @896)
- (object InheritView "" @902
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @897
- supplier @872
- line_style 3
- origin_attachment (589, 617)
- terminal_attachment (589, 561)
- drawSupplier @896)
- (object InheritView "" @903
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @874
- supplier @875
- line_style 3
- origin_attachment (1016, 617)
- terminal_attachment (1016, 561)
- drawSupplier @876)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @904
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @904
- location (1590, 901)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 486
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @905
- location (1824, 1089)
- line_color 3342489
- fill_color 13434879
- supplier @904
- vertices (list Points
- (1824, 1089)
- (1824, 999)))
- (object InheritView "" @906
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8DC0381"
- client @877
- supplier @904
- line_style 3
- origin_attachment (1666, 1145)
- terminal_attachment (1666, 1089)
- drawSupplier @905)
- (object InheritView "" @907
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @879
- supplier @904
- line_style 3
- origin_attachment (1934, 1145)
- terminal_attachment (1934, 1089)
- drawSupplier @905)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @908
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @908
- location (1630, 629)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 438
- height 110
- annotation 8)
- (object InheritTreeView "" @909
- location (1762, 819)
- line_color 3342489
- fill_color 13434879
- supplier @908
- vertices (list Points
- (1762, 819)
- (1762, 727)))
- (object InheritView "" @910
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @878
- supplier @908
- line_style 3
- origin_attachment (1416, 889)
- terminal_attachment (1416, 819)
- drawSupplier @909)
- (object InheritView "" @911
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @908
- supplier @875
- line_style 3
- origin_attachment (1756, 617)
- terminal_attachment (1756, 561)
- drawSupplier @876)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @912
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1120, 144)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @912
- location (875, 101)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 508
- height 110
- annotation 8)
- (object InheritTreeView "" @913
- location (1120, 289)
- line_color 3342489
- fill_color 13434879
- supplier @912
- vertices (list Points
- (1120, 289)
- (1120, 199)))
- (object AssociationViewNew "$UNNAMED$110" @914
- location (1485, 215)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0803C7"
- roleview_list (list RoleViews
- (object RoleView "container" @915
- Parent_View @914
- location (989, 103)
- label (object SegLabel @916
- Parent_View @915
- location (1604, 210)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+container"
- pctDist 0.033113
- height 119
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CE"
- client @914
- supplier @912
- vertices (list Points
- (1485, 215)
- (1485, 176)
- (1374, 176))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1374, 176)
- label (object SegLabel @917
- Parent_View @915
- location (1435, 226)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 69
- justify 0
- label "0..1"
- pctDist 0.602649
- height 50
- orientation 0))
- (object RoleView "$UNNAMED$111" @918
- Parent_View @914
- location (989, 103)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CF"
- client @914
- supplier @912
- vertices (list Points
- (1485, 215)
- (1485, 254)
- (1345, 254)
- (1345, 199))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1345, 199))))
- (object AssociationViewNew "$UNNAMED$112" @919
- location (773, 216)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B480261"
- roleview_list (list RoleViews
- (object RoleView "rootContainer" @920
- Parent_View @919
- location (53, 104)
- label (object SegLabel @921
- Parent_View @920
- location (614, 217)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+rootContainer"
- pctDist -0.025000
- height 160
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0285"
- client @919
- supplier @912
- vertices (list Points
- (773, 216)
- (773, 176)
- (866, 176))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (866, 176)
- label (object SegLabel @922
- Parent_View @920
- location (800, 228)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.300000
- height 27
- orientation 1))
- (object RoleView "$UNNAMED$113" @923
- Parent_View @919
- location (53, 104)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0286"
- client @919
- supplier @912
- vertices (list Points
- (773, 216)
- (773, 257)
- (895, 257)
- (895, 199))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (895, 199))))
- (object InheritView "" @924
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @875
- supplier @912
- line_style 3
- origin_attachment (1367, 361)
- terminal_attachment (1367, 289)
- drawSupplier @913)
- (object InheritView "" @925
- stereotype TRUE
- line_color 3342489
- quidu "3B72D8E200EA"
- client @873
- supplier @912
- line_style 3
- origin_attachment (752, 361)
- terminal_attachment (752, 289)
- drawSupplier @913)
- (object InheritView "" @926
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @872
- supplier @912
- line_style 3
- origin_attachment (299, 361)
- terminal_attachment (299, 289)
- drawSupplier @913)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @927
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 1200)
- label (object ItemLabel
- Parent_View @927
- location (61, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @928
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @927
- supplier @900
- line_style 3
- origin_attachment (216, 1145)
- terminal_attachment (216, 727))
- (object AssociationViewNew "$UNNAMED$224" @929
- location (1382, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$225" @930
- Parent_View @929
- location (1190, 225)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @929
- supplier @904
- vertices (list Points
- (1382, 1425)
- (2147, 1425)
- (2147, 943)
- (2067, 943))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (2067, 943))
- (object RoleView "incorporatedSchema" @931
- Parent_View @929
- location (1190, 225)
- label (object SegLabel @932
- Parent_View @931
- location (445, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.706546
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @929
- supplier @927
- vertices (list Points
- (1382, 1425)
- (225, 1425)
- (225, 1255))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (225, 1255)
- label (object SegLabel @933
- Parent_View @931
- location (183, 1392)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.896915
- height 43
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$222" @934
- location (1505, 1503)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$223" @935
- Parent_View @934
- location (1313, 303)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @934
- supplier @908
- vertices (list Points
- (1505, 1503)
- (2188, 1503)
- (2188, 675)
- (2059, 675))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (2059, 675))
- (object RoleView "resolvedSchema" @936
- Parent_View @934
- location (1313, 303)
- label (object SegLabel @937
- Parent_View @936
- location (303, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.733333
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @934
- supplier @927
- vertices (list Points
- (1505, 1503)
- (113, 1503)
- (113, 1255))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (113, 1255)
- label (object SegLabel @938
- Parent_View @936
- location (73, 1472)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.867683
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$114" @939
- location (66, 244)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C310356"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$115" @940
- Parent_View @939
- location (-94, -444)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C330331"
- client @939
- supplier @912
- vertices (list Points
- (66, 244)
- (66, 144)
- (866, 144))
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (866, 144))
- (object RoleView "schema" @941
- Parent_View @939
- location (-94, -444)
- label (object SegLabel @942
- Parent_View @941
- location (165, 93)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist -0.168113
- height 99
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C33033B"
- client @939
- supplier @927
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (66, 1145)
- label (object SegLabel @943
- Parent_View @941
- location (136, 184)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 113
- justify 0
- label "0..1"
- pctDist -0.066593
- height 70
- orientation 0))))
- (object InheritView "" @944
- stereotype TRUE
- line_color 3342489
- quidu "3B780BD90059"
- client @898
- supplier @912
- line_style 3
- origin_attachment (1759, 361)
- terminal_attachment (1759, 289)
- drawSupplier @913)
- (object InheritView "" @945
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @880
- supplier @872
- line_style 3
- origin_attachment (400, 1141)
- terminal_attachment (400, 561)
- drawSupplier @896)
- (object InheritTreeView "" @946
- location (1012, 837)
- line_color 3342489
- fill_color 13434879
- supplier @874
- vertices (list Points
- (1012, 837)
- (1012, 727)))
- (object InheritView "" @947
- stereotype (object SegLabel @948
- Parent_View @947
- location (1071, 871)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.888158
- height 34
- orientation 1)
- line_color 3342489
- quidu "3B7FD4E20366"
- client @880
- supplier @874
- line_style 3
- origin_attachment (1037, 1141)
- terminal_attachment (1037, 837)
- drawSupplier @946)
- (object InheritView "" @949
- stereotype (object SegLabel @950
- Parent_View @949
- location (890, 865)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 263
- justify 0
- label "<<mixin>>"
- pctDist 0.581633
- height 36
- orientation 0)
- line_color 3342489
- quidu "3B7FD4BA023C"
- client @899
- supplier @874
- line_style 3
- origin_attachment (925, 905)
- terminal_attachment (925, 837)
- drawSupplier @946)
- (object InheritView "" @951
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @904
- supplier @908
- line_style 3
- origin_attachment (1828, 889)
- terminal_attachment (1828, 819)
- drawSupplier @909)))
- (object ClassDiagram "7. Concrete Attributes"
- quid "3B9F8F7602C7"
- title "7. Concrete Attributes"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @952
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @952
- location (1938, 1359)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @952
- location (1938, 1419)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 412
- compartmentItems (list Compartment
- "+ form : XSDForm"
- "+ lexicalValue : String"))
- width 430
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDForm" @953
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2560, 1424)
- label (object ItemLabel
- Parent_View @953
- location (2398, 1365)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDForm")
- stereotype (object ItemLabel
- Parent_View @953
- location (2398, 1315)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B9F913B01EB"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @954
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 96)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @954
- location (40, 37)
- fill_color 13434879
- nlines 1
- max_width 657
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- compartment (object Compartment
- Parent_View @954
- location (40, 97)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 482
- compartmentItems (list Compartment
- "+ element : DOMElement"))
- width 675
- height 143
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @955
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @955
- location (687, 333)
- fill_color 13434879
- nlines 1
- max_width 322
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 340
- height 126
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @956
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @956
- location (1678, 892)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 470
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @957
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 1408)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @957
- location (1328, 1356)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @958
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (864, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @958
- location (745, 573)
- fill_color 13434879
- nlines 1
- max_width 238
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 256
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @959
- location (850, 537)
- line_color 3342489
- fill_color 13434879
- supplier @955
- vertices (list Points
- (850, 537)
- (850, 447)))
- (object ClassView "Class" "Logical View::xsd::DOMElement" @960
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1248, 128)
- label (object ItemLabel
- Parent_View @960
- location (873, 90)
- fill_color 13434879
- nlines 1
- max_width 751
- justify 0
- label "DOMElement")
- stereotype (object ItemLabel
- Parent_View @960
- location (873, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 751
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3B8189790200"
- width 769
- height 200
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @961
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 640)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @961
- location (41, 584)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 512
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @962
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @962
- location (38, 333)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 422
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @963
- location (368, 263)
- line_color 3342489
- fill_color 13434879
- supplier @954
- vertices (list Points
- (368, 263)
- (368, 167)))
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @964
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (992, 1456)
- label (object ItemLabel
- Parent_View @964
- location (723, 1347)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @964
- location (723, 1297)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @964
- location (723, 1407)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 264
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"
- "+ all"))
- width 556
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @965
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (880, 1792)
- label (object ItemLabel
- Parent_View @965
- location (614, 1708)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @965
- location (614, 1658)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @965
- location (614, 1768)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 234
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"
- "+ all"))
- width 550
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @966
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 2096)
- label (object ItemLabel
- Parent_View @966
- location (532, 2040)
- fill_color 13434879
- nlines 1
- max_width 760
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @966
- location (532, 2100)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 764
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDSimpleFinal"))
- width 778
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @967
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @967
- location (45, 1875)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @967
- location (45, 1825)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- width 344
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @968
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2544, 2016)
- label (object ItemLabel
- Parent_View @968
- location (2362, 1932)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @968
- location (2362, 1882)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- width 382
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @969
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1360)
- label (object ItemLabel
- Parent_View @969
- location (41, 1279)
- fill_color 13434879
- nlines 1
- max_width 622
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @969
- location (41, 1339)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 630
- compartmentItems (list Compartment
- "+ use : XSDAttributeUseCategory"
- "+ lexicalValue : String"))
- width 640
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUseCategory" @970
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1632)
- label (object ItemLabel
- Parent_View @970
- location (41, 1548)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDAttributeUseCategory")
- stereotype (object ItemLabel
- Parent_View @970
- location (41, 1498)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 494
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BA7B0E801A8"
- width 512
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @971
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2608, 928)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @971
- location (2498, 881)
- fill_color 13434879
- nlines 1
- max_width 220
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 238
- height 119
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @972
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2240, 1712)
- label (object ItemLabel
- Parent_View @972
- location (1757, 1631)
- fill_color 13434879
- nlines 1
- max_width 966
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @972
- location (1757, 1691)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 973
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDProhibitedSubstitutions"
- "<<0..*>> + block : XSDDisallowedSubstitutions"))
- width 984
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @973
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 1152)
- label (object ItemLabel
- Parent_View @973
- location (1828, 1096)
- fill_color 13434879
- nlines 1
- max_width 888
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @973
- location (1828, 1156)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 888
- compartmentItems (list Compartment
- "<<0..*>> + lexicalNamespaceConstraint : String"))
- width 906
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @974
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1008)
- label (object ItemLabel
- Parent_View @974
- location (622, 777)
- fill_color 13434879
- nlines 1
- max_width 996
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 1014
- height 486
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @975
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 960)
- label (object ItemLabel
- Parent_View @975
- location (37, 904)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 424
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @976
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1344, 656)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @976
- location (1138, 600)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @976
- location (1138, 660)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 414
- compartmentItems (list Compartment
- "+ lexicalValue : String"))
- width 430
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @977
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @977
- location (1410, 1942)
- fill_color 13434879
- nlines 1
- max_width 860
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @977
- location (1410, 2002)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 870
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDComplexFinal"
- "<<0..*>> + block : XSDProhibitedSubstitutions"
- "+ mixed : boolean"))
- width 878
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @978
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1488, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @978
- location (1304, 1644)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @979
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @978
- supplier @957
- line_style 3
- origin_attachment (1506, 1632)
- terminal_attachment (1506, 1472))
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @980
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2208, 704)
- label (object ItemLabel
- Parent_View @980
- location (1758, 598)
- fill_color 13434879
- nlines 1
- max_width 900
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 918
- height 236
- annotation 8
- autoResize TRUE)
- (object InheritView "" @981
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @971
- supplier @955
- line_style 3
- origin_attachment (2696, 869)
- terminal_attachment (2696, 537)
- drawSupplier @959)
- (object InheritView "" @982
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @972
- supplier @952
- line_style 3
- origin_attachment (2094, 1619)
- terminal_attachment (2094, 1533))
- (object InheritTreeView "" @983
- location (1487, 1856)
- line_color 3342489
- fill_color 13434879
- supplier @978
- vertices (list Points
- (1487, 1856)
- (1487, 1760)))
- (object ClassView "Class" "Logical View::xsd::DOMAttr" @984
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2400, 384)
- label (object ItemLabel
- Parent_View @984
- location (2080, 350)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "DOMAttr")
- stereotype (object ItemLabel
- Parent_View @984
- location (2080, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 640
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BBF8C8901B6"
- width 658
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @985
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @977
- supplier @978
- line_style 3
- origin_attachment (1734, 1930)
- terminal_attachment (1734, 1856)
- drawSupplier @983)
- (object InheritView "" @986
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @976
- supplier @955
- line_style 3
- origin_attachment (1328, 588)
- terminal_attachment (1328, 537)
- drawSupplier @959)
- (object InheritView "" @987
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @980
- supplier @955
- line_style 3
- origin_attachment (2190, 586)
- terminal_attachment (2190, 537)
- drawSupplier @959)
- (object InheritView "" @988
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @961
- supplier @962
- line_style 3
- origin_attachment (222, 572)
- terminal_attachment (222, 447))
- (object InheritView "" @989
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @962
- supplier @954
- line_style 3
- origin_attachment (260, 321)
- terminal_attachment (260, 263)
- drawSupplier @963)
- (object InheritView "" @990
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @975
- supplier @961
- line_style 3
- origin_attachment (223, 892)
- terminal_attachment (223, 708))
- (object InheritView "" @991
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @973
- supplier @971
- line_style 3
- origin_attachment (2600, 1084)
- terminal_attachment (2600, 987))
- (object ClassView "Class" "Logical View::xsd::DOMDocument" @992
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2336, 128)
- label (object ItemLabel
- Parent_View @992
- location (1957, 94)
- fill_color 13434879
- nlines 1
- max_width 758
- justify 0
- label "DOMDocument")
- stereotype (object ItemLabel
- Parent_View @992
- location (1957, 44)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 758
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C27850E0381"
- width 776
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @993
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @955
- supplier @954
- line_style 3
- origin_attachment (856, 321)
- terminal_attachment (856, 263)
- drawSupplier @963)
- (object ClassView "Class" "Logical View::xsd::DOMNode" @994
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 384)
- label (object ItemLabel
- Parent_View @994
- location (1234, 350)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @994
- location (1234, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @995
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @958
- supplier @955
- line_style 3
- origin_attachment (850, 561)
- terminal_attachment (850, 537)
- drawSupplier @959)
- (object InheritView "" @996
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @969
- supplier @955
- line_style 3
- origin_attachment (575, 1267)
- terminal_attachment (575, 537)
- drawSupplier @959)
- (object InheritView "" @997
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @956
- supplier @955
- line_style 3
- origin_attachment (1694, 880)
- terminal_attachment (1694, 537)
- drawSupplier @959)
- (object InheritView "" @998
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @974
- supplier @958
- line_style 3
- origin_attachment (856, 765)
- terminal_attachment (856, 687))
- (object InheritTreeView "" @999
- location (1703, 1290)
- line_color 3342489
- fill_color 13434879
- supplier @956
- vertices (list Points
- (1703, 1290)
- (1703, 1008)))
- (object InheritView "" @1000
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @957
- supplier @956
- line_style 3
- origin_attachment (1503, 1344)
- terminal_attachment (1503, 1290)
- drawSupplier @999)
- (object InheritView "" @1001
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @952
- supplier @956
- line_style 3
- origin_attachment (2093, 1347)
- terminal_attachment (2093, 1290)
- drawSupplier @999)
- (object InheritView "" @1002
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @966
- supplier @978
- line_style 3
- origin_attachment (1253, 2028)
- terminal_attachment (1253, 1856)
- drawSupplier @983)))
- (object ClassDiagram "8. Concrete Containment"
- quid "3B6A8097027A"
- title "8. Concrete Containment"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @1003
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2672, 992)
- label (object ItemLabel
- Parent_View @1003
- location (2439, 949)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @1004
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2640, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1004
- location (2431, 533)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @1005
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 784)
- label (object ItemLabel
- Parent_View @1005
- location (2013, 741)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @1006
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1006
- location (1854, 533)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 438
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1007
- location (1943, 868)
- line_color 3342489
- fill_color 13434879
- supplier @1006
- vertices (list Points
- (1943, 868)
- (1943, 631)))
- (object AssociationViewNew "$UNNAMED$170" @1008
- location (2125, 680)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE8240051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$171" @1009
- Parent_View @1008
- location (157, 344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602AD"
- client @1008
- supplier @1005
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 729))
- (object RoleView "contents" @1010
- Parent_View @1008
- location (157, 344)
- label (object SegLabel @1011
- Parent_View @1010
- location (2255, 671)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.175439
- height 130
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602B7"
- client @1008
- supplier @1006
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 631)
- label (object SegLabel @1012
- Parent_View @1010
- location (2067, 671)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.175439
- height 59
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @1013
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1013
- location (148, 277)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @1014
- location (272, 465)
- line_color 3342489
- fill_color 13434879
- supplier @1013
- vertices (list Points
- (272, 465)
- (272, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1015
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1168)
- label (object ItemLabel
- Parent_View @1015
- location (2372, 1121)
- fill_color 13434879
- nlines 1
- max_width 569
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 587
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @1016
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 576)
- label (object ItemLabel
- Parent_View @1016
- location (89, 533)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$158" @1017
- location (1170, 1356)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "modelGroup" @1018
- Parent_View @1017
- location (866, -20)
- label (object SegLabel @1019
- Parent_View @1018
- location (269, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.534044
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @1017
- supplier @1016
- vertices (list Points
- (1170, 1356)
- (206, 1356)
- (206, 631))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (206, 631)
- label (object SegLabel @1020
- Parent_View @1018
- location (226, 1322)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.559146
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$159" @1021
- Parent_View @1017
- location (866, -20)
- label (object SegLabel @1022
- Parent_View @1021
- location (2521, 1398)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @1017
- supplier @1015
- vertices (list Points
- (1170, 1356)
- (2731, 1356)
- (2731, 1227))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (2731, 1227))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1023
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (160, 1696)
- label (object ItemLabel
- Parent_View @1023
- location (35, 1653)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$152" @1024
- location (122, 1136)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB102F8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$153" @1025
- Parent_View @1024
- location (-630, -256)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB6001B"
- client @1024
- supplier @1016
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 631))
- (object RoleView "contents" @1026
- Parent_View @1024
- location (-630, -256)
- label (object SegLabel @1027
- Parent_View @1026
- location (223, 1515)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.750495
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB60025"
- client @1024
- supplier @1023
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 1641)
- label (object SegLabel @1028
- Parent_View @1026
- location (180, 1581)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.881188
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @1029
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1029
- location (41, 42)
- fill_color 13434879
- nlines 1
- max_width 495
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 513
- height 100
- annotation 8)
- (object AssociationViewNew "$UNNAMED$164" @1030
- location (47, 885)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B47150119"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$165" @1031
- Parent_View @1030
- location (-289, 821)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03AB"
- client @1030
- supplier @1023
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 1641))
- (object RoleView "content" @1032
- Parent_View @1030
- location (-289, 821)
- label (object SegLabel @1033
- Parent_View @1032
- location (142, 189)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.921854
- height 95
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03B5"
- client @1030
- supplier @1029
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 130)
- label (object SegLabel @1034
- Parent_View @1032
- location (28, 192)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.917881
- height 19
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @1035
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 896)
- label (object ItemLabel
- Parent_View @1035
- location (1252, 849)
- fill_color 13434879
- nlines 1
- max_width 345
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 363
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1036
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1408, 1168)
- label (object ItemLabel
- Parent_View @1036
- location (1175, 1125)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$94" @1037
- location (1319, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DE9018A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$95" @1038
- Parent_View @1037
- location (-57, -102)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA036C"
- client @1037
- supplier @1035
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 955))
- (object RoleView "content" @1039
- Parent_View @1037
- location (-57, -102)
- label (object SegLabel @1040
- Parent_View @1039
- location (1439, 1039)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.073171
- height 120
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA0380"
- client @1037
- supplier @1036
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 1113)
- label (object SegLabel @1041
- Parent_View @1039
- location (1279, 1031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.040816
- height 41
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @1042
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1042
- location (1855, 1653)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1043
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1696)
- label (object ItemLabel
- Parent_View @1043
- location (1035, 1653)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$190" @1044
- location (1351, 1840)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA50112"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$191" @1045
- Parent_View @1044
- location (-297, 224)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703B4"
- client @1044
- supplier @1043
- vertices (list Points
- (1351, 1840)
- (1294, 1840)
- (1294, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1294, 1751))
- (object RoleView "contents" @1046
- Parent_View @1044
- location (-297, 224)
- label (object SegLabel @1047
- Parent_View @1046
- location (1517, 1806)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.632653
- height 108
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703C8"
- client @1044
- supplier @1043
- vertices (list Points
- (1351, 1840)
- (1409, 1840)
- (1409, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1409, 1751)
- label (object SegLabel @1048
- Parent_View @1046
- location (1361, 1801)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.072848
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$74" @1049
- location (1190, 1432)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6006F"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1050
- Parent_View @1049
- location (774, -1832)
- label (object SegLabel @1051
- Parent_View @1050
- location (1462, 1525)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.444976
- height 272
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D60318"
- client @1049
- supplier @1043
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1641)
- label (object SegLabel @1052
- Parent_View @1050
- location (1143, 1527)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.454545
- height 47
- orientation 1))
- (object RoleView "$UNNAMED$75" @1053
- Parent_View @1049
- location (774, -1832)
- label (object SegLabel @1054
- Parent_View @1053
- location (1149, 1266)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6030E"
- client @1049
- supplier @1036
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1223))))
- (object AssociationViewNew "$UNNAMED$192" @1055
- location (1690, 1684)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AD0374"
- roleview_list (list RoleViews
- (object RoleView "facetContents" @1056
- Parent_View @1055
- location (-326, -12)
- label (object SegLabel @1057
- Parent_View @1056
- location (1695, 1731)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+facetContents"
- pctDist 0.032051
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0010"
- client @1055
- supplier @1042
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1846, 1684)
- label (object SegLabel @1058
- Parent_View @1056
- location (1756, 1644)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 94
- justify 0
- label "0..*"
- pctDist 0.420732
- height 41
- orientation 0))
- (object RoleView "$UNNAMED$193" @1059
- Parent_View @1055
- location (-326, -12)
- label (object SegLabel @1060
- Parent_View @1059
- location (1566, 1643)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0006"
- client @1055
- supplier @1043
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1534, 1684))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1061
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2624, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1061
- location (2388, 741)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @1062
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1062
- location (1108, 277)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1063
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 320)
- label (object ItemLabel
- Parent_View @1063
- location (557, 277)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$172" @1064
- location (963, 319)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6B003D"
- roleview_list (list RoleViews
- (object RoleView "contents" @1065
- Parent_View @1064
- location (595, -17)
- label (object SegLabel @1066
- Parent_View @1065
- location (974, 361)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.081081
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0111"
- client @1064
- supplier @1062
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (1099, 319)
- label (object SegLabel @1067
- Parent_View @1065
- location (1016, 290)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.396396
- height 30
- orientation 0))
- (object RoleView "$UNNAMED$173" @1068
- Parent_View @1064
- location (595, -17)
- label (object SegLabel @1069
- Parent_View @1068
- location (855, 361)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0107"
- client @1064
- supplier @1063
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (828, 319))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1070
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2160, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1070
- location (1974, 949)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object InheritTreeView "" @1071
- location (2322, 1593)
- line_color 3342489
- fill_color 13434879
- supplier @1070
- vertices (list Points
- (2322, 1593)
- (2322, 1047)))
- (object InheritView "" @1072
- stereotype (object SegLabel @1073
- Parent_View @1072
- location (2146, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.460000
- height 5
- orientation 0)
- line_color 3342489
- quidu "3B6AE2F5013A"
- client @1070
- supplier @1006
- line_style 3
- origin_attachment (2150, 937)
- terminal_attachment (2150, 868)
- drawSupplier @1007)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1074
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 576)
- label (object ItemLabel
- Parent_View @1074
- location (510, 532)
- fill_color 13434879
- nlines 1
- max_width 644
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 662
- height 112
- annotation 8)
- (object AssociationViewNew "$UNNAMED$118" @1075
- location (1498, 1431)
- stereotype TRUE
- line_color 3342489
- quidu "3B68911401AF"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1076
- Parent_View @1075
- location (1038, -1810)
- label (object SegLabel @1077
- Parent_View @1076
- location (2027, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.454389
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150017"
- client @1075
- supplier @1070
- vertices (list Points
- (1498, 1431)
- (2281, 1431)
- (2281, 1047))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (2281, 1047)
- label (object SegLabel @1078
- Parent_View @1076
- location (2204, 1397)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.605419
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$119" @1079
- Parent_View @1075
- location (1038, -1810)
- label (object SegLabel @1080
- Parent_View @1079
- location (1090, 866)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150016"
- client @1075
- supplier @1074
- vertices (list Points
- (1498, 1431)
- (1131, 1431)
- (1131, 632))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (1131, 632))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @1081
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 1168)
- label (object ItemLabel
- Parent_View @1081
- location (655, 1125)
- fill_color 13434879
- nlines 1
- max_width 386
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 404
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @1082
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 896)
- label (object ItemLabel
- Parent_View @1082
- location (505, 853)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$122" @1083
- location (534, 736)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "identityConstraintDefinitions" @1084
- Parent_View @1083
- location (86, -2144)
- label (object SegLabel @1085
- Parent_View @1084
- location (820, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 550
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.111111
- height 286
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @1083
- supplier @1082
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 841)
- label (object SegLabel @1086
- Parent_View @1084
- location (595, 807)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.675926
- height 61
- orientation 0))
- (object RoleView "$UNNAMED$123" @1087
- Parent_View @1083
- location (86, -2144)
- label (object SegLabel @1088
- Parent_View @1087
- location (576, 653)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @1083
- supplier @1074
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 632))))
- (object AssociationViewNew "$UNNAMED$142" @1089
- location (900, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "selector" @1090
- Parent_View @1089
- location (84, 120)
- label (object SegLabel @1091
- Parent_View @1090
- location (1013, 1042)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.123288
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @1089
- supplier @1081
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 1113)
- label (object SegLabel @1092
- Parent_View @1090
- location (859, 1040)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.095890
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$143" @1093
- Parent_View @1089
- location (84, 120)
- label (object SegLabel @1094
- Parent_View @1093
- location (859, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @1089
- supplier @1082
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 951))))
- (object AssociationViewNew "$UNNAMED$144" @1095
- location (700, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "fields" @1096
- Parent_View @1095
- location (-116, 120)
- label (object SegLabel @1097
- Parent_View @1096
- location (616, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.054795
- height 85
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @1095
- supplier @1081
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 1113)
- label (object SegLabel @1098
- Parent_View @1096
- location (771, 1042)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.123077
- height 71
- orientation 0))
- (object RoleView "$UNNAMED$145" @1099
- Parent_View @1095
- location (-116, 120)
- label (object SegLabel @1100
- Parent_View @1099
- location (659, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @1095
- supplier @1082
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 951))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @1101
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1101
- location (500, 1397)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @1102
- location (550, 1590)
- line_color 3342489
- fill_color 13434879
- supplier @1101
- vertices (list Points
- (550, 1590)
- (550, 1495)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @1103
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1103
- location (1240, 533)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8)
- (object InheritTreeView "" @1104
- location (1406, 765)
- line_color 3342489
- fill_color 13434879
- supplier @1103
- vertices (list Points
- (1406, 765)
- (1406, 631)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1105
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1696)
- label (object ItemLabel
- Parent_View @1105
- location (2393, 1653)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$100" @1106
- location (1614, 1868)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDD70113"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$101" @1107
- Parent_View @1106
- location (526, 476)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA026B"
- client @1106
- supplier @1105
- vertices (list Points
- (1614, 1868)
- (2500, 1868)
- (2500, 1751))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (2500, 1751))
- (object RoleView "content" @1108
- Parent_View @1106
- location (526, 476)
- label (object SegLabel @1109
- Parent_View @1108
- location (896, 1787)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.709870
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA0275"
- client @1106
- supplier @1101
- vertices (list Points
- (1614, 1868)
- (984, 1868)
- (984, 1495))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (984, 1495)
- label (object SegLabel @1110
- Parent_View @1108
- location (1042, 1824)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.571286
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$106" @1111
- location (2927, 387)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E360386"
- roleview_list (list RoleViews
- (object RoleView "attributeContents" @1112
- Parent_View @1111
- location (2463, -3757)
- label (object SegLabel @1113
- Parent_View @1112
- location (1915, 357)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeContents"
- pctDist 0.773060
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E38007C"
- client @1111
- supplier @1103
- vertices (list Points
- (2927, 387)
- (1750, 387)
- (1750, 521))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (1750, 521)
- label (object SegLabel @1114
- Parent_View @1112
- location (1804, 425)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.857247
- height 38
- orientation 0))
- (object RoleView "$UNNAMED$107" @1115
- Parent_View @1111
- location (2463, -3757)
- label (object SegLabel @1116
- Parent_View @1115
- location (2946, 1448)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E380072"
- client @1111
- supplier @1105
- vertices (list Points
- (2927, 387)
- (2987, 387)
- (2987, 1671)
- (2928, 1671))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (2928, 1671))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1117
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1968, 1168)
- label (object ItemLabel
- Parent_View @1117
- location (1699, 1125)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$82" @1118
- location (1750, 872)
- stereotype TRUE
- line_color 3342489
- quidu "3B69404E0067"
- roleview_list (list RoleViews
- (object RoleView "contents" @1119
- Parent_View @1118
- location (1462, -2392)
- label (object SegLabel @1120
- Parent_View @1119
- location (1640, 691)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.751037
- height 110
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69405002A5"
- client @1118
- supplier @1103
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 631)
- label (object SegLabel @1121
- Parent_View @1119
- location (1814, 695)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.734440
- height 64
- orientation 1))
- (object RoleView "$UNNAMED$83" @1122
- Parent_View @1118
- location (1462, -2392)
- label (object SegLabel @1123
- Parent_View @1122
- location (1709, 1065)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B694050029B"
- client @1118
- supplier @1117
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 1113))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1124
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (416, 1168)
- label (object ItemLabel
- Parent_View @1124
- location (279, 1125)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$214" @1125
- location (1252, 1896)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC870247"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$215" @1126
- Parent_View @1125
- location (708, 1288)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C02F9"
- client @1125
- supplier @1105
- vertices (list Points
- (1252, 1896)
- (2603, 1896)
- (2603, 1751))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (2603, 1751))
- (object RoleView "attributeWildcardContent" @1127
- Parent_View @1125
- location (708, 1288)
- label (object SegLabel @1128
- Parent_View @1127
- location (682, 1858)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.381142
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C0303"
- client @1125
- supplier @1124
- vertices (list Points
- (1252, 1896)
- (428, 1896)
- (428, 1223))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (428, 1223)
- label (object SegLabel @1129
- Parent_View @1127
- location (382, 1860)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.575033
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$86" @1130
- location (1199, 1321)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D320220"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$87" @1131
- Parent_View @1130
- location (655, 713)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010C"
- client @1130
- supplier @1117
- vertices (list Points
- (1199, 1321)
- (1897, 1321)
- (1897, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (1897, 1223))
- (object RoleView "attributeWildcardContent" @1132
- Parent_View @1130
- location (655, 713)
- label (object SegLabel @1133
- Parent_View @1132
- location (857, 1279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.429569
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010D"
- client @1130
- supplier @1124
- vertices (list Points
- (1199, 1321)
- (500, 1321)
- (500, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (500, 1223)
- label (object SegLabel @1134
- Parent_View @1132
- location (576, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.782305
- height 43
- orientation 1))))
- (object InheritView "" @1135
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1105
- supplier @1070
- line_style 3
- origin_attachment (2606, 1641)
- terminal_attachment (2606, 1593)
- drawSupplier @1071)
- (object InheritView "" @1136
- stereotype (object SegLabel @1137
- Parent_View @1136
- location (759, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.446429
- height 6
- orientation 1)
- line_color 3342489
- quidu "3B685F17002E"
- client @1074
- supplier @1013
- line_style 3
- origin_attachment (753, 520)
- terminal_attachment (753, 465)
- drawSupplier @1014)
- (object InheritView "" @1138
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1043
- supplier @1070
- line_style 3
- origin_attachment (1409, 1641)
- terminal_attachment (1409, 1593)
- drawSupplier @1071)
- (object InheritView "" @1139
- stereotype (object SegLabel @1140
- Parent_View @1139
- location (759, 1591)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 219
- justify 0
- label "<<mixin>>"
- pctDist 0.980392
- height 385
- orientation 0)
- line_color 3342489
- quidu "3B685F55032B"
- client @1043
- supplier @1101
- line_style 3
- origin_attachment (1144, 1641)
- terminal_attachment (1144, 1590)
- drawSupplier @1102)
- (object InheritView "" @1141
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @1016
- supplier @1013
- line_style 3
- origin_attachment (166, 521)
- terminal_attachment (166, 465)
- drawSupplier @1014)
- (object InheritTreeView "" @1142
- location (431, 222)
- line_color 3342489
- fill_color 13434879
- supplier @1029
- vertices (list Points
- (431, 222)
- (431, 130)))
- (object InheritView "" @1143
- stereotype (object SegLabel @1144
- Parent_View @1143
- location (361, 224)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 237
- justify 0
- label "<<mixin>>"
- pctDist 0.976744
- height 86
- orientation 1)
- line_color 3342489
- quidu "3B6BD2440069"
- client @1013
- supplier @1029
- line_style 3
- origin_attachment (275, 265)
- terminal_attachment (275, 222)
- drawSupplier @1142)
- (object InheritTreeView "" @1145
- location (1309, 465)
- line_color 3342489
- fill_color 13434879
- supplier @1062
- vertices (list Points
- (1309, 465)
- (1309, 375)))
- (object InheritView "" @1146
- stereotype (object SegLabel @1147
- Parent_View @1146
- location (941, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.464286
- height 10
- orientation 1)
- line_color 3342489
- quidu "3B688E660339"
- client @1074
- supplier @1062
- line_style 3
- origin_attachment (931, 520)
- terminal_attachment (931, 465)
- drawSupplier @1145)
- (object InheritView "" @1148
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @1023
- supplier @1101
- line_style 3
- origin_attachment (250, 1641)
- terminal_attachment (250, 1590)
- drawSupplier @1102)
- (object InheritView "" @1149
- stereotype (object SegLabel @1150
- Parent_View @1149
- location (1205, 493)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.958333
- height 8
- orientation 1)
- line_color 3342489
- quidu "3B688E6103BE"
- client @1036
- supplier @1062
- line_style 3
- origin_attachment (1197, 1113)
- terminal_attachment (1197, 465)
- drawSupplier @1145)
- (object InheritView "" @1151
- stereotype (object SegLabel @1152
- Parent_View @1151
- location (1951, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.848980
- height 73
- orientation 1)
- line_color 3342489
- quidu "3B6AE2EB02A8"
- client @1117
- supplier @1006
- line_style 3
- origin_attachment (1878, 1113)
- terminal_attachment (1878, 868)
- drawSupplier @1007)
- (object InheritView "" @1153
- stereotype (object SegLabel @1154
- Parent_View @1153
- location (1642, 807)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.879310
- height 61
- orientation 0)
- line_color 3342489
- quidu "3B69403A0221"
- client @1117
- supplier @1103
- line_style 3
- origin_attachment (1703, 1113)
- terminal_attachment (1703, 765)
- drawSupplier @1104)
- (object InheritView "" @1155
- stereotype (object SegLabel @1156
- Parent_View @1155
- location (1354, 801)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.500000
- height 70
- orientation 1)
- line_color 3342489
- quidu "3B72D737038F"
- client @1035
- supplier @1103
- line_style 3
- origin_attachment (1284, 837)
- terminal_attachment (1284, 765)
- drawSupplier @1104)
- (object InheritView "" @1157
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @1005
- supplier @1061
- line_style 3
- origin_attachment (2284, 762)
- terminal_attachment (2379, 762))
- (object InheritView "" @1158
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @1004
- supplier @1062
- line_style 3
- origin_attachment (2637, 521)
- terminal_attachment (2637, 465)
- drawSupplier @1145)
- (object InheritView "" @1159
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1061
- supplier @1004
- line_style 3
- origin_attachment (2637, 729)
- terminal_attachment (2637, 631))
- (object InheritView "" @1160
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @1006
- supplier @1062
- line_style 3
- origin_attachment (1950, 521)
- terminal_attachment (1950, 465)
- drawSupplier @1145)
- (object InheritView "" @1161
- stereotype (object SegLabel @1162
- Parent_View @1161
- location (2821, 897)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 181
- justify 0
- label "<<mixin>>"
- pctDist 0.087719
- height 76
- orientation 0)
- line_color 3342489
- quidu "3B688E4F023C"
- client @1003
- supplier @1062
- line_style 3
- origin_attachment (2896, 937)
- terminal_attachment (2896, 465)
- drawSupplier @1145)
- (object InheritView "" @1163
- stereotype (object SegLabel @1164
- Parent_View @1163
- location (2313, 904)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "<<mixin>>"
- pctDist 0.850622
- height 68
- orientation 0)
- line_color 3342489
- quidu "3B6AE2E20381"
- client @1015
- supplier @1006
- line_style 3
- origin_attachment (2381, 1109)
- terminal_attachment (2381, 868)
- drawSupplier @1007)
- (object InheritView "" @1165
- stereotype (object SegLabel @1166
- Parent_View @1165
- location (2878, 269)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.946667
- height 66
- orientation 0)
- line_color 3342489
- quidu "3B6BD2550385"
- client @1015
- supplier @1029
- line_style 3
- origin_attachment (2943, 1109)
- terminal_attachment (2943, 222)
- drawSupplier @1142)
- (object InheritView "" @1167
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @1124
- supplier @1013
- line_style 3
- origin_attachment (462, 1113)
- terminal_attachment (462, 465)
- drawSupplier @1014)))
- (object ClassDiagram "9. Concrete Schema Composition"
- quid "3C25EB7A038C"
- title "9. Concrete Schema Composition"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1168
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1536)
- label (object ItemLabel
- Parent_View @1168
- location (73, 1493)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 480
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$124" @1169
- location (228, 1695)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41E60251"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$125" @1170
- Parent_View @1169
- location (-476, -385)
- label (object SegLabel @1171
- Parent_View @1170
- location (217, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA02F7"
- client @1169
- supplier @1168
- vertices (list Points
- (228, 1695)
- (175, 1695)
- (175, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (175, 1591))
- (object RoleView "resolvedElementDeclaration" @1172
- Parent_View @1169
- location (-476, -385)
- label (object SegLabel @1173
- Parent_View @1172
- location (329, 1740)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedElementDeclaration"
- pctDist 1.924528
- height 45
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA030B"
- client @1169
- supplier @1168
- vertices (list Points
- (228, 1695)
- (281, 1695)
- (281, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (281, 1591)
- label (object SegLabel @1174
- Parent_View @1172
- location (229, 1646)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.005714
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1175
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1536)
- label (object ItemLabel
- Parent_View @1175
- location (790, 1493)
- fill_color 13434879
- nlines 1
- max_width 500
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 518
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$160" @1176
- location (952, 1698)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42450398"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$161" @1177
- Parent_View @1176
- location (-1288, -318)
- label (object SegLabel @1178
- Parent_View @1177
- location (860, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249038A"
- client @1176
- supplier @1175
- vertices (list Points
- (952, 1698)
- (901, 1698)
- (901, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (901, 1591))
- (object RoleView "resolvedModelGroupDefinition" @1179
- Parent_View @1176
- location (-1288, -318)
- label (object SegLabel @1180
- Parent_View @1179
- location (1020, 1739)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 564
- justify 0
- label "+resolvedModelGroupDefinition"
- pctDist 1.326923
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249039E"
- client @1176
- supplier @1175
- vertices (list Points
- (952, 1698)
- (1004, 1698)
- (1004, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (1004, 1591)
- label (object SegLabel @1181
- Parent_View @1179
- location (952, 1649)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.000000
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1182
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1182
- location (420, 949)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @1183
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1183
- location (412, 737)
- fill_color 13434879
- nlines 1
- max_width 457
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 475
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1184
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 416)
- label (object ItemLabel
- Parent_View @1184
- location (446, 285)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 406
- height 287
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$224" @1185
- location (1303, 679)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "incorporatedSchema" @1186
- Parent_View @1185
- location (-41, -857)
- label (object SegLabel @1187
- Parent_View @1186
- location (1059, 381)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.700384
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @1185
- supplier @1184
- vertices (list Points
- (1303, 679)
- (1303, 419)
- (843, 419))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (843, 419)
- label (object SegLabel @1188
- Parent_View @1186
- location (922, 454)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.890746
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$225" @1189
- Parent_View @1185
- location (-41, -857)
- label (object SegLabel @1190
- Parent_View @1189
- location (1045, 956)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @1185
- supplier @1182
- vertices (list Points
- (1303, 679)
- (1303, 997)
- (901, 997))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (901, 997))))
- (object AssociationViewNew "$UNNAMED$222" @1191
- location (1216, 649)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "resolvedSchema" @1192
- Parent_View @1191
- location (336, -1399)
- label (object SegLabel @1193
- Parent_View @1192
- location (1038, 500)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.601923
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @1191
- supplier @1184
- vertices (list Points
- (1216, 649)
- (1216, 534)
- (843, 534))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (843, 534)
- label (object SegLabel @1194
- Parent_View @1192
- location (926, 577)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.831643
- height 43
- orientation 0))
- (object RoleView "$UNNAMED$223" @1195
- Parent_View @1191
- location (336, -1399)
- label (object SegLabel @1196
- Parent_View @1195
- location (974, 756)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @1191
- supplier @1183
- vertices (list Points
- (1216, 649)
- (1216, 797)
- (877, 797))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (877, 797))))
- (object AssociationViewNew "$UNNAMED$228" @1197
- location (662, 642)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A60131"
- roleview_list (list RoleViews
- (object RoleView "referencingDirectives" @1198
- Parent_View @1197
- location (-234, 114)
- label (object SegLabel @1199
- Parent_View @1198
- location (878, 675)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+referencingDirectives"
- pctDist 0.408759
- height 216
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90371"
- client @1197
- supplier @1183
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 725)
- label (object SegLabel @1200
- Parent_View @1198
- location (615, 678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.430657
- height 48
- orientation 1))
- (object RoleView "$UNNAMED$229" @1201
- Parent_View @1197
- location (-234, 114)
- label (object SegLabel @1202
- Parent_View @1201
- location (621, 576)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90370"
- client @1197
- supplier @1184
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 559))))
- (object AssociationViewNew "$UNNAMED$230" @1203
- location (75, 188)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF0005E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$231" @1204
- Parent_View @1203
- location (-853, -308)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF4001E"
- client @1203
- supplier @1184
- vertices (list Points
- (75, 188)
- (75, 128)
- (510, 128)
- (510, 273))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (510, 273))
- (object RoleView "rootVersion" @1205
- Parent_View @1203
- location (-853, -308)
- label (object SegLabel @1206
- Parent_View @1205
- location (176, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+rootVersion"
- pctDist -0.593750
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF40028"
- client @1203
- supplier @1184
- vertices (list Points
- (75, 188)
- (75, 380)
- (437, 380))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (437, 380)
- label (object SegLabel @1207
- Parent_View @1205
- location (368, 328)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.874755
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$232" @1208
- location (1262, 134)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0B011B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$233" @1209
- Parent_View @1208
- location (334, -362)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F0121"
- client @1208
- supplier @1184
- vertices (list Points
- (1262, 134)
- (766, 134)
- (766, 273))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (766, 273))
- (object RoleView "originalVersion" @1210
- Parent_View @1208
- location (334, -362)
- label (object SegLabel @1211
- Parent_View @1210
- location (1164, 97)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+originalVersion"
- pctDist -1.650000
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F012B"
- client @1208
- supplier @1184
- vertices (list Points
- (1262, 134)
- (1322, 134)
- (1322, 334)
- (843, 334))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (843, 334)
- label (object SegLabel @1212
- Parent_View @1210
- location (919, 279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898108
- height 56
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$234" @1213
- location (126, 656)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAB001F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$235" @1214
- Parent_View @1213
- location (-834, 160)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF010B"
- client @1213
- supplier @1184
- vertices (list Points
- (126, 656)
- (513, 656)
- (513, 559))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (513, 559))
- (object RoleView "incorporatedVersions" @1215
- Parent_View @1213
- location (-834, 160)
- label (object SegLabel @1216
- Parent_View @1215
- location (217, 431)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+incorporatedVersions"
- pctDist 0.643902
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF0115"
- client @1213
- supplier @1184
- vertices (list Points
- (126, 656)
- (66, 656)
- (66, 472)
- (437, 472))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (437, 472)
- label (object SegLabel @1217
- Parent_View @1215
- location (356, 526)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.868468
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$238" @1218
- location (642, 126)
- stereotype TRUE
- line_color 3342489
- quidu "3C2784730194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$239" @1219
- Parent_View @1218
- location (82, -418)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501F1"
- client @1218
- supplier @1184
- vertices (list Points
- (642, 126)
- (588, 126)
- (588, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (588, 273))
- (object RoleView "schemaForSchema" @1220
- Parent_View @1218
- location (82, -418)
- label (object SegLabel @1221
- Parent_View @1220
- location (639, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+schemaForSchema"
- pctDist -0.055556
- height 53
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501FB"
- client @1218
- supplier @1184
- vertices (list Points
- (642, 126)
- (697, 126)
- (697, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (697, 273)
- label (object SegLabel @1222
- Parent_View @1220
- location (643, 213)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.701863
- height 55
- orientation 1))))
- (object InheritView "" @1223
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1182
- supplier @1183
- line_style 3
- origin_attachment (638, 937)
- terminal_attachment (638, 843))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1224
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1184)
- label (object ItemLabel
- Parent_View @1224
- location (67, 1141)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$78" @1225
- location (234, 1340)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426B0194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$79" @1226
- Parent_View @1225
- location (-310, -4)
- label (object SegLabel @1227
- Parent_View @1226
- location (140, 1271)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0309"
- client @1225
- supplier @1224
- vertices (list Points
- (234, 1340)
- (181, 1340)
- (181, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (181, 1239))
- (object RoleView "resolvedAttributeDeclaration" @1228
- Parent_View @1225
- location (-310, -4)
- label (object SegLabel @1229
- Parent_View @1228
- location (333, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedAttributeDeclaration"
- pctDist 1.867925
- height 49
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0313"
- client @1225
- supplier @1224
- vertices (list Points
- (234, 1340)
- (287, 1340)
- (287, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (287, 1239)
- label (object SegLabel @1230
- Parent_View @1228
- location (241, 1295)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.042945
- height 46
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1231
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1760, 144)
- label (object ItemLabel
- Parent_View @1231
- location (1517, 101)
- fill_color 13434879
- nlines 1
- max_width 486
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 504
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1232
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1232
- location (1599, 373)
- fill_color 13434879
- nlines 1
- max_width 226
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C359403D2"
- width 244
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$312" @1233
- location (1668, 280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AE01CC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$313" @1234
- Parent_View @1233
- location (8, -152)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF010F"
- client @1233
- supplier @1231
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 199))
- (object RoleView "syntheticFacets" @1235
- Parent_View @1233
- location (8, -152)
- label (object SegLabel @1236
- Parent_View @1235
- location (1852, 300)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+syntheticFacets"
- pctDist 0.246154
- height 184
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF011A"
- client @1233
- supplier @1232
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 361)
- label (object SegLabel @1237
- Parent_View @1235
- location (1625, 301)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.276923
- height 44
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1238
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 944)
- label (object ItemLabel
- Parent_View @1238
- location (1426, 901)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1239
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1776, 640)
- label (object ItemLabel
- Parent_View @1239
- location (1515, 597)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$314" @1240
- location (1508, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D3028E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$315" @1241
- Parent_View @1240
- location (-12, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402F3"
- client @1240
- supplier @1239
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 695))
- (object RoleView "syntheticParticle" @1242
- Parent_View @1240
- location (-12, -280)
- label (object SegLabel @1243
- Parent_View @1242
- location (1695, 767)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+syntheticParticle"
- pctDist -0.259259
- height 187
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402FD"
- client @1240
- supplier @1238
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 889)
- label (object SegLabel @1244
- Parent_View @1242
- location (1454, 829)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.395062
- height 55
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1245
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1024, 1184)
- label (object ItemLabel
- Parent_View @1245
- location (756, 1141)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$90" @1246
- location (919, 1349)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B425E01F9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$91" @1247
- Parent_View @1246
- location (-233, -59)
- label (object SegLabel @1248
- Parent_View @1247
- location (825, 1273)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620046"
- client @1246
- supplier @1245
- vertices (list Points
- (919, 1349)
- (866, 1349)
- (866, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (866, 1239))
- (object RoleView "resolvedAttributeGroupDefinition" @1249
- Parent_View @1246
- location (-233, -59)
- label (object SegLabel @1250
- Parent_View @1249
- location (993, 1393)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 600
- justify 0
- label "+resolvedAttributeGroupDefinition"
- pctDist 1.377358
- height 44
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620050"
- client @1246
- supplier @1245
- vertices (list Points
- (919, 1349)
- (973, 1349)
- (973, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (973, 1239)
- label (object SegLabel @1251
- Parent_View @1249
- location (919, 1296)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.014925
- height 54
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1252
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1952, 944)
- label (object ItemLabel
- Parent_View @1252
- location (1816, 901)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 290
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$316" @1253
- location (2025, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D901F6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$317" @1254
- Parent_View @1253
- location (153, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA0284"
- client @1253
- supplier @1239
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 695))
- (object RoleView "syntheticWildcard" @1255
- Parent_View @1253
- location (153, -280)
- label (object SegLabel @1256
- Parent_View @1255
- location (1826, 838)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.488095
- height 200
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA028E"
- client @1253
- supplier @1252
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 889)
- label (object SegLabel @1257
- Parent_View @1255
- location (2098, 840)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.506173
- height 73
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$318" @1258
- location (1754, 1178)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C68FF01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$319" @1259
- Parent_View @1258
- location (-198, 234)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020317"
- client @1258
- supplier @1245
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (1301, 1178))
- (object RoleView "syntheticWildcard" @1260
- Parent_View @1258
- location (-198, 234)
- label (object SegLabel @1261
- Parent_View @1260
- location (1828, 1261)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.163355
- height 83
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020318"
- client @1258
- supplier @1252
- vertices (list Points
- (1754, 1178)
- (2028, 1178)
- (2028, 999))
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (2028, 999)
- label (object SegLabel @1262
- Parent_View @1260
- location (2082, 1098)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783664
- height 54
- orientation 1))))))
- (object ClassDiagram "10. Diagnostics"
- quid "3BFE5F0803E2"
- title "10. Diagnostics"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::DOMNode" @1263
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (400, 1024)
- label (object ItemLabel
- Parent_View @1263
- location (66, 990)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @1263
- location (66, 940)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnosticSeverity" @1264
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 656)
- label (object ItemLabel
- Parent_View @1264
- location (818, 547)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDDiagnosticSeverity")
- stereotype (object ItemLabel
- Parent_View @1264
- location (818, 497)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 444
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BFE68A7032F"
- width 462
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1265
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 112)
- label (object ItemLabel
- Parent_View @1265
- location (59, 60)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1266
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (896, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1266
- location (540, 62)
- fill_color 13434879
- nlines 1
- max_width 713
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 731
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1267
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 608)
- label (object ItemLabel
- Parent_View @1267
- location (64, 402)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 658
- height 436
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$220" @1268
- location (144, 283)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE6431035F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$221" @1269
- Parent_View @1268
- location (-1088, -661)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C6"
- client @1268
- supplier @1265
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 176))
- (object RoleView "allDiagnostics" @1270
- Parent_View @1268
- location (-1088, -661)
- label (object SegLabel @1271
- Parent_View @1270
- location (309, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+allDiagnostics"
- pctDist 0.448598
- height 165
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C7"
- client @1268
- supplier @1267
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 390)
- label (object SegLabel @1272
- Parent_View @1270
- location (96, 327)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.420561
- height 49
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$216" @1273
- location (1028, 440)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622703CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$217" @1274
- Parent_View @1273
- location (-396, -72)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B0061"
- client @1273
- supplier @1267
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (713, 440))
- (object RoleView "components" @1275
- Parent_View @1273
- location (-396, -72)
- label (object SegLabel @1276
- Parent_View @1275
- location (938, 230)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+components"
- pctDist 0.829181
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B006C"
- client @1273
- supplier @1266
- vertices (list Points
- (1028, 440)
- (1088, 440)
- (1088, 174))
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (1088, 174)
- label (object SegLabel @1277
- Parent_View @1275
- location (1143, 232)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.823848
- height 55
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$218" @1278
- location (688, 282)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE62690165"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$219" @1279
- Parent_View @1278
- location (160, -278)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0026"
- client @1278
- supplier @1266
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 174))
- (object RoleView "diagnostics" @1280
- Parent_View @1278
- location (160, -278)
- label (object SegLabel @1281
- Parent_View @1280
- location (822, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+diagnostics"
- pctDist 0.452632
- height 134
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0027"
- client @1278
- supplier @1267
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 390)
- label (object SegLabel @1282
- Parent_View @1280
- location (645, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.494737
- height 44
- orientation 1))))
- (object InheritView "" @1283
- stereotype TRUE
- line_color 3342489
- quidu "3D4C0F4C01A1"
- client @1267
- supplier @1266
- line_style 3
- origin_attachment (575, 390)
- terminal_attachment (575, 174))))
- (object ClassDiagram "11. Supplemental"
- quid "3C287E49019B"
- title "11. Supplemental"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1284
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (464, 816)
- label (object ItemLabel
- Parent_View @1284
- location (47, 760)
- fill_color 13434879
- nlines 1
- max_width 834
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 852
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1285
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2112, 880)
- label (object ItemLabel
- Parent_View @1285
- location (1731, 824)
- fill_color 13434879
- nlines 1
- max_width 762
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 780
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1286
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (288, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1286
- location (48, 60)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 498
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1287
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2384, 112)
- label (object ItemLabel
- Parent_View @1287
- location (2236, 60)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 314
- height 128
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$242" @1288
- location (1382, 84)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C50137"
- roleview_list (list RoleViews
- (object RoleView "primaryComponent" @1289
- Parent_View @1288
- location (-250, -508)
- label (object SegLabel @1290
- Parent_View @1289
- location (756, 116)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+primaryComponent"
- pctDist 0.740828
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70113"
- client @1288
- supplier @1286
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (537, 84)
- label (object SegLabel @1291
- Parent_View @1289
- location (624, 55)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.897260
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$243" @1292
- Parent_View @1288
- location (-250, -508)
- label (object SegLabel @1293
- Parent_View @1292
- location (2058, 126)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70112"
- client @1288
- supplier @1287
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (2227, 84))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1294
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2160, 688)
- label (object ItemLabel
- Parent_View @1294
- location (1778, 607)
- fill_color 13434879
- nlines 1
- max_width 764
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @1294
- location (1778, 667)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 764
- compartmentItems (list Compartment
- "+ elementDeclarationReference : boolean"
- "+ circular : boolean"))
- width 782
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1295
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1072)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1295
- location (2100, 991)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @1295
- location (2100, 1051)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 459
- compartmentItems (list Compartment
- "+ facetName : String"
- "+ effectiveValue : Value"))
- width 458
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1296
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 624)
- label (object ItemLabel
- Parent_View @1296
- location (47, 568)
- fill_color 13434879
- nlines 1
- max_width 802
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- compartment (object Compartment
- Parent_View @1296
- location (47, 628)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 805
- compartmentItems (list Compartment
- "+ modelGroupDefinitionReference : boolean"))
- width 820
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @1297
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 288)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1297
- location (1005, 157)
- fill_color 13434879
- nlines 1
- max_width 454
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @1297
- location (1005, 217)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 4
- max_width 392
- compartmentItems (list Compartment
- "+ aliasName : String"
- "+ uRI : String"
- "+ aliasURI : String"
- "+ qName : String"))
- width 472
- height 286
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @1298
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 352)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1298
- location (48, 296)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1299
- location (320, 510)
- line_color 3342489
- fill_color 13434879
- supplier @1298
- vertices (list Points
- (320, 510)
- (320, 420)))
- (object InheritView "" @1300
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @1296
- supplier @1298
- line_style 3
- origin_attachment (81, 556)
- terminal_attachment (81, 510)
- drawSupplier @1299)
- (object InheritView "" @1301
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @1284
- supplier @1298
- line_style 3
- origin_attachment (877, 748)
- terminal_attachment (877, 510)
- drawSupplier @1299)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @1302
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1808)
- label (object ItemLabel
- Parent_View @1302
- location (2101, 1761)
- fill_color 13434879
- nlines 1
- max_width 438
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 456
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @1303
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1776)
- label (object ItemLabel
- Parent_View @1303
- location (35, 1729)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 493
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @1304
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1936)
- label (object ItemLabel
- Parent_View @1304
- location (35, 1889)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 493
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @1305
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 1968)
- label (object ItemLabel
- Parent_View @1305
- location (2073, 1917)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @1306
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1424)
- label (object ItemLabel
- Parent_View @1306
- location (2134, 1372)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @1307
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1264)
- label (object ItemLabel
- Parent_View @1307
- location (2163, 1212)
- fill_color 13434879
- nlines 1
- max_width 378
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 396
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @1308
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (224, 1392)
- label (object ItemLabel
- Parent_View @1308
- location (43, 1340)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 380
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @1309
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1232)
- label (object ItemLabel
- Parent_View @1309
- location (49, 1178)
- fill_color 13434879
- nlines 1
- max_width 382
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 400
- height 132
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @1310
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1616)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1310
- location (2135, 1535)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @1310
- location (2135, 1595)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 405
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 420
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @1311
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2288)
- label (object ItemLabel
- Parent_View @1311
- location (2102, 2236)
- fill_color 13434879
- nlines 1
- max_width 436
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 454
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @1312
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 2624)
- label (object ItemLabel
- Parent_View @1312
- location (2074, 2572)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 478
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @1313
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 2128)
- label (object ItemLabel
- Parent_View @1313
- location (2196, 2076)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 362
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @1314
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 2096)
- label (object ItemLabel
- Parent_View @1314
- location (36, 2044)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 458
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @1315
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (208, 2272)
- label (object ItemLabel
- Parent_View @1315
- location (38, 2220)
- fill_color 13434879
- nlines 1
- max_width 340
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 358
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @1316
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1584)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1316
- location (38, 1503)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @1316
- location (38, 1563)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 405
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 422
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @1317
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2464)
- label (object ItemLabel
- Parent_View @1317
- location (2111, 2412)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @1318
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2448)
- label (object ItemLabel
- Parent_View @1318
- location (39, 2396)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 420
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @1319
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2608)
- label (object ItemLabel
- Parent_View @1319
- location (38, 2556)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1320
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (928, 1152)
- label (object ItemLabel
- Parent_View @1320
- location (667, 1100)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1321
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 1072)
- label (object ItemLabel
- Parent_View @1321
- location (50, 1020)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1322
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 1360)
- label (object ItemLabel
- Parent_View @1322
- location (944, 1304)
- fill_color 13434879
- nlines 1
- max_width 576
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @1322
- location (944, 1364)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 575
- compartmentItems (list Compartment
- "<<0..*>> + validFacets : String"))
- width 594
- height 136
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$254" @1323
- location (1446, 1218)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A994030A"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1324
- Parent_View @1323
- location (582, -78)
- label (object SegLabel @1325
- Parent_View @1324
- location (1580, 1173)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist 3.268293
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700DD"
- client @1323
- supplier @1322
- vertices (list Points
- (1446, 1218)
- (1487, 1218)
- (1487, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1487, 1292)
- label (object SegLabel @1326
- Parent_View @1324
- location (1439, 1257)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.184211
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$255" @1327
- Parent_View @1323
- location (582, -78)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700E7"
- client @1323
- supplier @1322
- vertices (list Points
- (1446, 1218)
- (1405, 1218)
- (1405, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1405, 1292))))
- (object AssociationViewNew "$UNNAMED$258" @1328
- location (1733, 1575)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08D0252"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$259" @1329
- Parent_View @1328
- location (917, 7)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E0091"
- client @1328
- supplier @1322
- vertices (list Points
- (1733, 1575)
- (1487, 1575)
- (1487, 1428))
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (1487, 1428))
- (object RoleView "maxFacet" @1330
- Parent_View @1328
- location (917, 7)
- label (object SegLabel @1331
- Parent_View @1330
- location (1751, 1541)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+maxFacet"
- pctDist 0.046243
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E009B"
- client @1328
- supplier @1310
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (2126, 1575)
- label (object SegLabel @1332
- Parent_View @1330
- location (2042, 1536)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.789157
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$260" @1333
- location (1587, 1793)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AB0396"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$261" @1334
- Parent_View @1333
- location (707, -31)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03C9"
- client @1333
- supplier @1322
- vertices (list Points
- (1587, 1793)
- (1447, 1793)
- (1447, 1428))
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (1447, 1428))
- (object RoleView "maxInclusiveFacet" @1335
- Parent_View @1333
- location (707, -31)
- label (object SegLabel @1336
- Parent_View @1335
- location (1737, 1751)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+maxInclusiveFacet"
- pctDist 0.298441
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03D4"
- client @1333
- supplier @1302
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (2092, 1793)
- label (object SegLabel @1337
- Parent_View @1335
- location (2020, 1754)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.859155
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$262" @1338
- location (937, 1787)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AF0338"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$263" @1339
- Parent_View @1338
- location (617, -5)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B001F9"
- client @1338
- supplier @1322
- vertices (list Points
- (937, 1787)
- (997, 1787)
- (997, 1428))
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (997, 1428))
- (object RoleView "minInclusiveFacet" @1340
- Parent_View @1338
- location (617, -5)
- label (object SegLabel @1341
- Parent_View @1340
- location (792, 1745)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+minInclusiveFacet"
- pctDist 0.346062
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B00203"
- client @1338
- supplier @1303
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (518, 1787)
- label (object SegLabel @1342
- Parent_View @1340
- location (575, 1743)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863962
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$264" @1343
- location (981, 1937)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B30207"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$265" @1344
- Parent_View @1343
- location (677, -79)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B40190"
- client @1343
- supplier @1322
- vertices (list Points
- (981, 1937)
- (1041, 1937)
- (1041, 1428))
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (1041, 1428))
- (object RoleView "minExclusiveFacet" @1345
- Parent_View @1343
- location (677, -79)
- label (object SegLabel @1346
- Parent_View @1345
- location (823, 1900)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+minExclusiveFacet"
- pctDist 0.341253
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B4019A"
- client @1343
- supplier @1304
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (518, 1937)
- label (object SegLabel @1347
- Parent_View @1345
- location (589, 1897)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.846652
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$266" @1348
- location (1469, 1953)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B6028D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$267" @1349
- Parent_View @1348
- location (621, -95)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70217"
- client @1348
- supplier @1322
- vertices (list Points
- (1469, 1953)
- (1400, 1953)
- (1400, 1428))
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (1400, 1428))
- (object RoleView "maxExclusiveFacet" @1350
- Parent_View @1348
- location (621, -95)
- label (object SegLabel @1351
- Parent_View @1350
- location (1646, 1913)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+maxExclusiveFacet"
- pctDist 0.298097
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70221"
- client @1348
- supplier @1305
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (2064, 1953)
- label (object SegLabel @1352
- Parent_View @1350
- location (1961, 1913)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.827236
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$268" @1353
- location (1122, 2180)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$269" @1354
- Parent_View @1353
- location (-318, 628)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0246"
- client @1353
- supplier @1322
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (1122, 1428))
- (object RoleView "lengthFacet" @1355
- Parent_View @1353
- location (-318, 628)
- label (object SegLabel @1356
- Parent_View @1355
- location (804, 2204)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+lengthFacet"
- pctDist 0.475472
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0250"
- client @1353
- supplier @1315
- vertices (list Points
- (1122, 2180)
- (1122, 2240)
- (387, 2240))
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (387, 2240)
- label (object SegLabel @1357
- Parent_View @1355
- location (471, 2204)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.895597
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$272" @1358
- location (1084, 1989)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C2021D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$273" @1359
- Parent_View @1358
- location (-1380, 437)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AB"
- client @1358
- supplier @1322
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (1084, 1428))
- (object RoleView "enumerationFacets" @1360
- Parent_View @1358
- location (-1380, 437)
- label (object SegLabel @1361
- Parent_View @1360
- location (837, 2016)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+enumerationFacets"
- pctDist 0.465857
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AC"
- client @1358
- supplier @1314
- vertices (list Points
- (1084, 1989)
- (1084, 2049)
- (485, 2049))
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (485, 2049)
- label (object SegLabel @1362
- Parent_View @1360
- location (583, 2021)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.851290
- height 29
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$274" @1363
- location (1451, 2074)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C50159"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$275" @1364
- Parent_View @1363
- location (-1525, 538)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600B0"
- client @1363
- supplier @1322
- vertices (list Points
- (1451, 2074)
- (1362, 2074)
- (1362, 1428))
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (1362, 1428))
- (object RoleView "patternFacets" @1365
- Parent_View @1363
- location (-1525, 538)
- label (object SegLabel @1366
- Parent_View @1365
- location (1720, 2038)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+patternFacets"
- pctDist 0.367223
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600BA"
- client @1363
- supplier @1313
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (2187, 2074)
- label (object SegLabel @1367
- Parent_View @1365
- location (1972, 2035)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.708649
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$276" @1368
- location (1827, 1400)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C802A7"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$277" @1369
- Parent_View @1368
- location (-1149, -472)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901EA"
- client @1368
- supplier @1322
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (1529, 1400))
- (object RoleView "cardinalityFacet" @1370
- Parent_View @1368
- location (-1149, -472)
- label (object SegLabel @1371
- Parent_View @1370
- location (1847, 1358)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+cardinalityFacet"
- pctDist 0.071730
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901F5"
- client @1368
- supplier @1306
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (2125, 1400)
- label (object SegLabel @1372
- Parent_View @1370
- location (2083, 1357)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.863426
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$286" @1373
- location (1262, 2413)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DB0377"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$287" @1374
- Parent_View @1373
- location (-786, 301)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC035A"
- client @1373
- supplier @1322
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (1262, 1428))
- (object RoleView "fractionDigitsFacet" @1375
- Parent_View @1373
- location (-786, 301)
- label (object SegLabel @1376
- Parent_View @1375
- location (1608, 2556)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+fractionDigitsFacet"
- pctDist 0.537393
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC0364"
- client @1373
- supplier @1312
- vertices (list Points
- (1262, 2413)
- (1262, 2596)
- (2065, 2596))
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (2065, 2596)
- label (object SegLabel @1377
- Parent_View @1375
- location (1979, 2556)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913886
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$290" @1378
- location (1841, 1306)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E300D9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$291" @1379
- Parent_View @1378
- location (-1135, -790)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E4038E"
- client @1378
- supplier @1322
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (1529, 1306))
- (object RoleView "boundedFacet" @1380
- Parent_View @1378
- location (-1135, -790)
- label (object SegLabel @1381
- Parent_View @1380
- location (1832, 1270)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+boundedFacet"
- pctDist -0.031746
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E40398"
- client @1378
- supplier @1307
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (2154, 1306)
- label (object SegLabel @1382
- Parent_View @1380
- location (2077, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.754717
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$270" @1383
- location (1328, 2186)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BF018C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$271" @1384
- Parent_View @1383
- location (-640, 634)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C0006B"
- client @1383
- supplier @1322
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (1328, 1428))
- (object RoleView "whiteSpaceFacet" @1385
- Parent_View @1383
- location (-640, 634)
- label (object SegLabel @1386
- Parent_View @1385
- location (1673, 2207)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+whiteSpaceFacet"
- pctDist 0.490909
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C00075"
- client @1383
- supplier @1311
- vertices (list Points
- (1328, 2186)
- (1328, 2246)
- (2093, 2246))
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (2093, 2246)
- label (object SegLabel @1387
- Parent_View @1385
- location (2033, 2203)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926763
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$288" @1388
- location (674, 1390)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF0048"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$289" @1389
- Parent_View @1388
- location (-1854, -706)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03B9"
- client @1388
- supplier @1322
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (935, 1390))
- (object RoleView "orderedFacet" @1390
- Parent_View @1388
- location (-1854, -706)
- label (object SegLabel @1391
- Parent_View @1390
- location (658, 1353)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+orderedFacet"
- pctDist 0.061538
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03C3"
- client @1388
- supplier @1308
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (414, 1390)
- label (object SegLabel @1392
- Parent_View @1390
- location (510, 1355)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.634615
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$278" @1393
- location (687, 1296)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CB039C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$279" @1394
- Parent_View @1393
- location (-1809, -576)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D0"
- client @1393
- supplier @1322
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (935, 1296))
- (object RoleView "numericFacet" @1395
- Parent_View @1393
- location (-1809, -576)
- label (object SegLabel @1396
- Parent_View @1395
- location (668, 1257)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+numericFacet"
- pctDist 0.080972
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D1"
- client @1393
- supplier @1309
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (440, 1296)
- label (object SegLabel @1397
- Parent_View @1395
- location (506, 1260)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.736842
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$292" @1398
- location (1689, 1662)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B44401EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$293" @1399
- Parent_View @1398
- location (-183, -354)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B4450360"
- client @1398
- supplier @1322
- vertices (list Points
- (1689, 1662)
- (1487, 1662)
- (1487, 1428))
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (1487, 1428))
- (object RoleView "effectiveMaxFacet" @1400
- Parent_View @1398
- location (-183, -354)
- label (object SegLabel @1401
- Parent_View @1400
- location (1769, 1623)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+effectiveMaxFacet"
- pctDist 0.182051
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B445036A"
- client @1398
- supplier @1310
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (2126, 1662)
- label (object SegLabel @1402
- Parent_View @1400
- location (2044, 1627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.815385
- height 36
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$294" @1403
- location (1328, 2258)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B54F0145"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$295" @1404
- Parent_View @1403
- location (-1072, -462)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B550038C"
- client @1403
- supplier @1322
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (1328, 1428))
- (object RoleView "effectiveWhiteSpaceFacet" @1405
- Parent_View @1403
- location (-1072, -462)
- label (object SegLabel @1406
- Parent_View @1405
- location (1685, 2288)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+effectiveWhiteSpaceFacet"
- pctDist 0.508541
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5500396"
- client @1403
- supplier @1311
- vertices (list Points
- (1328, 2258)
- (1328, 2324)
- (2093, 2324))
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (2093, 2324)
- label (object SegLabel @1407
- Parent_View @1405
- location (2009, 2293)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898817
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$296" @1408
- location (1297, 2366)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C4011C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$297" @1409
- Parent_View @1408
- location (-607, -722)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C5020D"
- client @1408
- supplier @1322
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (1297, 1428))
- (object RoleView "effectiveMaxLengthFacet" @1410
- Parent_View @1408
- location (-607, -722)
- label (object SegLabel @1411
- Parent_View @1410
- location (1657, 2463)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+effectiveMaxLengthFacet"
- pctDist 0.526906
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C50217"
- client @1408
- supplier @1317
- vertices (list Points
- (1297, 2366)
- (1297, 2499)
- (2102, 2499))
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (2102, 2499)
- label (object SegLabel @1412
- Parent_View @1410
- location (2007, 2471)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.899308
- height 29
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$298" @1413
- location (1262, 2449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62A00AA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$299" @1414
- Parent_View @1413
- location (-1170, -815)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0138"
- client @1413
- supplier @1322
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (1262, 1428))
- (object RoleView "effectiveFractionDigitsFacet" @1415
- Parent_View @1413
- location (-1170, -815)
- label (object SegLabel @1416
- Parent_View @1415
- location (1640, 2634)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+effectiveFractionDigitsFacet"
- pctDist 0.585315
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0142"
- client @1413
- supplier @1312
- vertices (list Points
- (1262, 2449)
- (1262, 2668)
- (2065, 2668))
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (2065, 2668)
- label (object SegLabel @1417
- Parent_View @1415
- location (1989, 2629)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926485
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$300" @1418
- location (1422, 2159)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B003A6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$301" @1419
- Parent_View @1418
- location (-770, -1313)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10311"
- client @1418
- supplier @1322
- vertices (list Points
- (1422, 2159)
- (1362, 2159)
- (1362, 1428))
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (1362, 1428))
- (object RoleView "effectivePatternFacet" @1420
- Parent_View @1418
- location (-770, -1313)
- label (object SegLabel @1421
- Parent_View @1420
- location (1727, 2125)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+effectivePatternFacet"
- pctDist 0.399090
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10312"
- client @1418
- supplier @1313
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (2187, 2159)
- label (object SegLabel @1422
- Parent_View @1420
- location (2102, 2119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.889226
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$302" @1423
- location (1084, 2083)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CA026B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$303" @1424
- Parent_View @1423
- location (828, -1373)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0186"
- client @1423
- supplier @1322
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (1084, 1428))
- (object RoleView "effectiveEnumerationFacet" @1425
- Parent_View @1423
- location (828, -1373)
- label (object SegLabel @1426
- Parent_View @1425
- location (822, 2101)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+effectiveEnumerationFacet"
- pctDist 0.488619
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0190"
- client @1423
- supplier @1314
- vertices (list Points
- (1084, 2083)
- (1084, 2143)
- (485, 2143))
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (485, 2143)
- label (object SegLabel @1427
- Parent_View @1425
- location (531, 2100)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.931715
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$308" @1428
- location (1122, 2241)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC0052"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$309" @1429
- Parent_View @1428
- location (866, -479)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03B9"
- client @1428
- supplier @1322
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (1122, 1428))
- (object RoleView "effectiveLengthFacet" @1430
- Parent_View @1428
- location (866, -479)
- label (object SegLabel @1431
- Parent_View @1430
- location (800, 2279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+effectiveLengthFacet"
- pctDist 0.491731
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03C3"
- client @1428
- supplier @1315
- vertices (list Points
- (1122, 2241)
- (1122, 2318)
- (387, 2318))
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (387, 2318)
- label (object SegLabel @1432
- Parent_View @1430
- location (470, 2279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898567
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$256" @1433
- location (773, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B085025B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$257" @1434
- Parent_View @1433
- location (469, 13)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0860270"
- client @1433
- supplier @1322
- vertices (list Points
- (773, 1565)
- (959, 1565)
- (959, 1428))
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (959, 1428))
- (object RoleView "minFacet" @1435
- Parent_View @1433
- location (469, 13)
- label (object SegLabel @1436
- Parent_View @1435
- location (753, 1532)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+minFacet"
- pctDist 0.063091
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B086027A"
- client @1433
- supplier @1316
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (451, 1565)
- label (object SegLabel @1437
- Parent_View @1435
- location (534, 1523)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.746667
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$310" @1438
- location (816, 1650)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97001DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$311" @1439
- Parent_View @1438
- location (496, -334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100CF"
- client @1438
- supplier @1322
- vertices (list Points
- (816, 1650)
- (959, 1650)
- (959, 1428))
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (959, 1428))
- (object RoleView "effectiveMinFacet" @1440
- Parent_View @1438
- location (496, -334)
- label (object SegLabel @1441
- Parent_View @1440
- location (764, 1614)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+effectiveMinFacet"
- pctDist 0.141618
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100D9"
- client @1438
- supplier @1316
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (451, 1650)
- label (object SegLabel @1442
- Parent_View @1440
- location (523, 1606)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.802740
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$280" @1443
- location (1297, 2321)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CF0199"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$281" @1444
- Parent_View @1443
- location (-719, 497)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D20085"
- client @1443
- supplier @1322
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (1297, 1428))
- (object RoleView "maxLengthFacet" @1445
- Parent_View @1443
- location (-719, 497)
- label (object SegLabel @1446
- Parent_View @1445
- location (1630, 2380)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+maxLengthFacet"
- pctDist 0.472255
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D2008F"
- client @1443
- supplier @1317
- vertices (list Points
- (1297, 2321)
- (1297, 2409)
- (2102, 2409))
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (2102, 2409)
- label (object SegLabel @1447
- Parent_View @1445
- location (1994, 2366)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.879208
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$282" @1448
- location (1159, 2273)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D500C5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$283" @1449
- Parent_View @1448
- location (-281, 449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D6001D"
- client @1448
- supplier @1322
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (1159, 1428))
- (object RoleView "minLengthFacet" @1450
- Parent_View @1448
- location (-281, 449)
- label (object SegLabel @1451
- Parent_View @1450
- location (857, 2372)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+minLengthFacet"
- pctDist 0.519527
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D60027"
- client @1448
- supplier @1318
- vertices (list Points
- (1159, 2273)
- (1159, 2409)
- (450, 2409))
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (450, 2409)
- label (object SegLabel @1452
- Parent_View @1450
- location (523, 2369)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913610
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$306" @1453
- location (1197, 2334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B898016D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$307" @1454
- Parent_View @1453
- location (941, -610)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990056"
- client @1453
- supplier @1322
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (1197, 1428))
- (object RoleView "effectiveMinLengthFacet" @1455
- Parent_View @1453
- location (941, -610)
- label (object SegLabel @1456
- Parent_View @1455
- location (856, 2454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveMinLengthFacet"
- pctDist 0.552604
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990060"
- client @1453
- supplier @1318
- vertices (list Points
- (1197, 2334)
- (1197, 2493)
- (450, 2493))
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (450, 2493)
- label (object SegLabel @1457
- Parent_View @1455
- location (527, 2451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.916047
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$304" @1458
- location (1231, 2438)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8400062"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$305" @1459
- Parent_View @1458
- location (863, -746)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B841001D"
- client @1458
- supplier @1322
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (1231, 1428))
- (object RoleView "effectiveTotalDigitsFacet" @1460
- Parent_View @1458
- location (863, -746)
- label (object SegLabel @1461
- Parent_View @1460
- location (859, 2632)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveTotalDigitsFacet"
- pctDist 0.597030
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8410027"
- client @1458
- supplier @1319
- vertices (list Points
- (1231, 2438)
- (1231, 2668)
- (451, 2668))
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (451, 2668)
- label (object SegLabel @1462
- Parent_View @1460
- location (534, 2631)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.918812
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$284" @1463
- location (1231, 2397)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D800DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$285" @1464
- Parent_View @1463
- location (-209, 253)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803CD"
- client @1463
- supplier @1322
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (1231, 1428))
- (object RoleView "totalDigitsFacet" @1465
- Parent_View @1463
- location (-209, 253)
- label (object SegLabel @1466
- Parent_View @1465
- location (853, 2550)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+totalDigitsFacet"
- pctDist 0.585567
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803D7"
- client @1463
- supplier @1319
- vertices (list Points
- (1231, 2397)
- (1231, 2587)
- (451, 2587))
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (451, 2587)
- label (object SegLabel @1467
- Parent_View @1465
- location (535, 2560)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.914647
- height 28
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1468
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 768)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1468
- location (1019, 574)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 444
- height 413
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1469
- location (1209, 1065)
- line_color 3342489
- fill_color 13434879
- supplier @1468
- vertices (list Points
- (1209, 1065)
- (1209, 974)))
- (object AssociationViewNew "$UNNAMED$240" @1470
- location (1090, 1031)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F503D9"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1471
- Parent_View @1470
- location (322, -25)
- label (object SegLabel @1472
- Parent_View @1471
- location (897, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist -0.098765
- height 194
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F9003C"
- client @1470
- supplier @1468
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 974)
- label (object SegLabel @1473
- Parent_View @1471
- location (1121, 1034)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.061728
- height 31
- orientation 1))
- (object RoleView "$UNNAMED$241" @1474
- Parent_View @1470
- location (322, -25)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F90046"
- client @1470
- supplier @1320
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 1088))))
- (object AssociationViewNew "$UNNAMED$246" @1475
- location (1538, 873)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DB01E5"
- roleview_list (list RoleViews
- (object RoleView "rootType" @1476
- Parent_View @1475
- location (178, 105)
- label (object SegLabel @1477
- Parent_View @1476
- location (1558, 792)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+rootType"
- pctDist -1.760870
- height 20
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DD"
- client @1475
- supplier @1468
- vertices (list Points
- (1538, 873)
- (1538, 919)
- (1454, 919))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 919)
- label (object SegLabel @1478
- Parent_View @1476
- location (1509, 875)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.016667
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$247" @1479
- Parent_View @1475
- location (178, 105)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DE"
- client @1475
- supplier @1468
- vertices (list Points
- (1538, 873)
- (1538, 828)
- (1454, 828))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 828))))
- (object AssociationViewNew "$UNNAMED$248" @1480
- location (1535, 684)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7120108"
- roleview_list (list RoleViews
- (object RoleView "baseType" @1481
- Parent_View @1480
- location (175, -84)
- label (object SegLabel @1482
- Parent_View @1481
- location (1559, 597)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+baseType"
- pctDist -1.977273
- height 24
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7140151"
- client @1480
- supplier @1468
- vertices (list Points
- (1535, 684)
- (1535, 728)
- (1454, 728))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 728)
- label (object SegLabel @1483
- Parent_View @1481
- location (1506, 683)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.027778
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$249" @1484
- Parent_View @1480
- location (175, -84)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A714015B"
- client @1480
- supplier @1468
- vertices (list Points
- (1535, 684)
- (1535, 641)
- (1454, 641))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 641))))
- (object AssociationViewNew "$UNNAMED$252" @1485
- location (613, 940)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7ED03C0"
- roleview_list (list RoleViews
- (object RoleView "complexType" @1486
- Parent_View @1485
- location (-747, 172)
- label (object SegLabel @1487
- Parent_View @1486
- location (465, 983)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+complexType"
- pctDist 0.373057
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40117"
- client @1485
- supplier @1321
- vertices (list Points
- (613, 940)
- (284, 940)
- (284, 1008))
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (284, 1008)
- label (object SegLabel @1488
- Parent_View @1486
- location (224, 972)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.909320
- height 61
- orientation 1))
- (object RoleView "$UNNAMED$253" @1489
- Parent_View @1485
- location (-747, 172)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40121"
- client @1485
- supplier @1468
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (1010, 940))))
- (object InheritView "" @1490
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @1468
- supplier @1298
- line_style 3
- origin_attachment (1112, 562)
- terminal_attachment (1112, 510)
- drawSupplier @1299)
- (object InheritView "" @1491
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1320
- supplier @1468
- line_style 3
- origin_attachment (1146, 1088)
- terminal_attachment (1146, 1065)
- drawSupplier @1469)
- (object AssociationViewNew "$UNNAMED$250" @1492
- location (1362, 1133)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74B0178"
- roleview_list (list RoleViews
- (object RoleView "simpleType" @1493
- Parent_View @1492
- location (-158, -163)
- label (object SegLabel @1494
- Parent_View @1493
- location (1499, 1094)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+simpleType"
- pctDist -0.246753
- height 137
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D017B"
- client @1492
- supplier @1322
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 1292)
- label (object SegLabel @1495
- Parent_View @1493
- location (1321, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist -0.227273
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$251" @1496
- Parent_View @1492
- location (-158, -163)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D0185"
- client @1492
- supplier @1468
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 974))))
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @1497
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1497
- location (2002, 303)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @1497
- location (2002, 363)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 550
- compartmentItems (list Compartment
- "+ global : boolean"
- "+ featureReference : boolean"))
- width 558
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1498
- location (2262, 568)
- line_color 3342489
- fill_color 13434879
- supplier @1497
- vertices (list Points
- (2262, 568)
- (2262, 477)))
- (object InheritView "" @1499
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @1294
- supplier @1497
- line_style 3
- origin_attachment (2346, 595)
- terminal_attachment (2346, 568)
- drawSupplier @1498)
- (object AssociationViewNew "$UNNAMED$244" @1500
- location (1553, 453)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F201A4"
- roleview_list (list RoleViews
- (object RoleView "type" @1501
- Parent_View @1500
- location (801, 293)
- label (object SegLabel @1502
- Parent_View @1501
- location (1331, 499)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+type"
- pctDist 0.506266
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302E5"
- client @1500
- supplier @1468
- vertices (list Points
- (1553, 453)
- (1222, 453)
- (1222, 562))
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1222, 562)
- label (object SegLabel @1503
- Parent_View @1501
- location (1185, 479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.812030
- height 38
- orientation 1))
- (object RoleView "$UNNAMED$245" @1504
- Parent_View @1500
- location (801, 293)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302F0"
- client @1500
- supplier @1497
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1993, 453))))
- (object AssociationViewNew "$UNNAMED$136" @1505
- location (1908, 353)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010602D7"
- roleview_list (list RoleViews
- (object RoleView "resolvedFeature" @1506
- Parent_View @1505
- location (-268, -159)
- label (object SegLabel @1507
- Parent_View @1506
- location (1729, 352)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+resolvedFeature"
- pctDist -0.029412
- height 180
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B000E"
- client @1505
- supplier @1497
- vertices (list Points
- (1908, 353)
- (1908, 387)
- (1993, 387))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 387)
- label (object SegLabel @1508
- Parent_View @1506
- location (1945, 354)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.596639
- height 34
- orientation 0))
- (object RoleView "$UNNAMED$137" @1509
- Parent_View @1505
- location (-268, -159)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B0018"
- client @1505
- supplier @1497
- vertices (list Points
- (1908, 353)
- (1908, 319)
- (1993, 319))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 319))))
- (object InheritView "" @1510
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @1298
- supplier @1297
- vertices (list Points
- (494, 284)
- (494, 244)
- (996, 244))
- line_style 3
- origin_attachment (494, 284)
- terminal_attachment (996, 244))
- (object InheritView "" @1511
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @1285
- supplier @1497
- line_style 3
- origin_attachment (1718, 812)
- terminal_attachment (1718, 568)
- drawSupplier @1498)
- (object InheritView "" @1512
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1322
- supplier @1468
- line_style 3
- origin_attachment (1265, 1292)
- terminal_attachment (1265, 1065)
- drawSupplier @1469)
- (object InheritView "" @1513
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @1497
- supplier @1297
- vertices (list Points
- (2147, 291)
- (2147, 244)
- (1468, 244))
- line_style 3
- origin_attachment (2147, 291)
- terminal_attachment (1468, 244)))))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Main"
- quid "3AC9105103B2"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object CategoryView "Logical View::mime" @1514
- location (400, 240)
- label (object ItemLabel
- Parent_View @1514
- location (256, 156)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "mime")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AC9127C0266"
- width 300
- height 180)
- (object CategoryView "Logical View::wsdl" @1515
- location (880, 240)
- label (object ItemLabel
- Parent_View @1515
- location (736, 156)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "wsdl")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ADFB8E5021E"
- width 300
- height 180)
- (object CategoryView "Logical View::xsd" @1516
- location (1376, 240)
- label (object ItemLabel
- Parent_View @1516
- location (1232, 156)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "xsd")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "39ABDC6F01AA"
- width 300
- height 180)))))
- root_subsystem (object SubSystem "Component View"
- quid "3AC91051031F"
- physical_models (list unit_reference_list)
- physical_presentations (list unit_reference_list
- (object Module_Diagram "Main"
- quid "3AC91052001A"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- process_structure (object Processes
- quid "3AC910510326"
- ProcsNDevs (list
- (object Process_Diagram "Deployment View"
- quid "3AC910510328"
- title "Deployment View"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- properties (object Properties
- attributes (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "DDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "DDL"
- name "DataBase"
- value ("DataBaseSet" 800))
- (object Attribute
- tool "DDL"
- name "DataBaseSet"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ANSI"
- value 800)
- (object Attribute
- tool "DDL"
- name "Oracle"
- value 801)
- (object Attribute
- tool "DDL"
- name "SQLServer"
- value 802)
- (object Attribute
- tool "DDL"
- name "Sybase"
- value 803)
- (object Attribute
- tool "DDL"
- name "Watcom"
- value 804)))
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnName"
- value "Id")
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnType"
- value "NUMBER(5)")
- (object Attribute
- tool "DDL"
- name "ViewName"
- value "V_")
- (object Attribute
- tool "DDL"
- name "TableName"
- value "T_")
- (object Attribute
- tool "DDL"
- name "InheritSuffix"
- value "_V")
- (object Attribute
- tool "DDL"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "BaseViews"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "DDLScriptFilename"
- value "DDL1.SQL")))
- (object Attribute
- tool "DDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ColumnType"
- value "VARCHAR")
- (object Attribute
- tool "DDL"
- name "Length"
- value "")
- (object Attribute
- tool "DDL"
- name "NullsOK"
- value TRUE)
- (object Attribute
- tool "DDL"
- name "PrimaryKey"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "Unique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "DDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "framework"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "IDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "StopOnError"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "IDL"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "DefaultSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "IDLElement"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "IDLSpecificationType"
- value ("IDLSpecSet" 22))
- (object Attribute
- tool "IDL"
- name "IDLSpecSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Interface"
- value 22)
- (object Attribute
- tool "IDL"
- name "Typedef"
- value 54)
- (object Attribute
- tool "IDL"
- name "Enumeration"
- value 8)
- (object Attribute
- tool "IDL"
- name "Const"
- value 71)
- (object Attribute
- tool "IDL"
- name "Exception"
- value 61)
- (object Attribute
- tool "IDL"
- name "Struct"
- value 51)
- (object Attribute
- tool "IDL"
- name "Union"
- value 81)))))
- (object Attribute
- tool "IDL"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.mime/src/rose/mimebindingMDL.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GenerateIDLModule"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.mime/src/rose/mimebindingMDL.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "Context"
- value "")
- (object Attribute
- tool "IDL"
- name "Raises"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")))
- (object Attribute
- tool "IDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Java"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "Java"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "Java"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "Java"
- name "UsePrefixes"
- value FALSE)
- (object Attribute
- tool "Java"
- name "InstanceVariablePrefix"
- value "m_")
- (object Attribute
- tool "Java"
- name "ClassVariablePrefix"
- value "s_")
- (object Attribute
- tool "Java"
- name "DefaultAttributeDataType"
- value "int")
- (object Attribute
- tool "Java"
- name "DefaultOperationReturnType"
- value "void")
- (object Attribute
- tool "Java"
- name "RootDir"
- value "")
- (object Attribute
- tool "Java"
- name "AutoSync"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ShowCodegenDlg"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocDefaultAuthor"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocDefaultVersion"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocDefaultSince"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocNumAsterisks"
- value 0)
- (object Attribute
- tool "Java"
- name "MaxNumChars"
- value 80)
- (object Attribute
- tool "Java"
- name "Editor"
- value ("EditorType" 100))
- (object Attribute
- tool "Java"
- name "VM"
- value ("VMType" 200))
- (object Attribute
- tool "Java"
- name "ClassPath"
- value "")
- (object Attribute
- tool "Java"
- name "EditorType"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "BuiltIn"
- value 100)
- (object Attribute
- tool "Java"
- name "WindowsShell"
- value 101)))
- (object Attribute
- tool "Java"
- name "VMType"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Sun"
- value 200)
- (object Attribute
- tool "Java"
- name "Microsoft"
- value 201)
- (object Attribute
- tool "Java"
- name "IBM"
- value 202)))
- (object Attribute
- tool "Java"
- name "NoClassCustomDlg"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GlobalImports"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "OpenBraceClassStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "OpenBraceMethodStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "UseTabs"
- value FALSE)
- (object Attribute
- tool "Java"
- name "UseSpaces"
- value TRUE)
- (object Attribute
- tool "Java"
- name "SpacingItems"
- value 3)
- (object Attribute
- tool "Java"
- name "RoseDefaultCommentStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "AsteriskCommentStyle"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavaCommentStyle"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocAuthor"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocSince"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocVersion"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Static"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateCode"
- value TRUE)
- (object Attribute
- tool "Java"
- name "DisableAutoSync"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletName"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContextRef"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsSingleThread"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletInitParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletInitParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletIsSecure"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcher"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcherPath"
- value "")
- (object Attribute
- tool "Java"
- name "DispatcherInclude"
- value FALSE)
- (object Attribute
- tool "Java"
- name "DispatcherForward"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "ServletgetInfo"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttribute"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttributesNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestAttributes"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestParameters"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeader"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeaderNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForHeaders"
- value "")
- (object Attribute
- tool "Java"
- name "ServletIntHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletDateHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletCookie"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForCookie"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContentType"
- value "")
- (object Attribute
- tool "Java"
- name "GenerateHTML"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Generate_XML_DD"
- value TRUE)
- (object Attribute
- tool "Java"
- name "EJBCmpField"
- value "")
- (object Attribute
- tool "Java"
- name "EJBEnvironmentProperties"
- value "")
- (object Attribute
- tool "Java"
- name "EJBCnxFactory"
- value "")
- (object Attribute
- tool "Java"
- name "EJBReferences"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "EJBNameInJAR"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSessionType"
- value ("EJBSessionType_Set" 200))
- (object Attribute
- tool "Java"
- name "EJBSessionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 200)
- (object Attribute
- tool "Java"
- name "Stateless"
- value 201)
- (object Attribute
- tool "Java"
- name "Stateful"
- value 202)))
- (object Attribute
- tool "Java"
- name "EJBTransactionType"
- value ("EJBTransactionType_Set" 211))
- (object Attribute
- tool "Java"
- name "EJBTransactionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Container"
- value 211)
- (object Attribute
- tool "Java"
- name "Bean"
- value 212)))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType"
- value ("EJBPersistenceType_Set" 220))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 220)
- (object Attribute
- tool "Java"
- name "Bean"
- value 221)
- (object Attribute
- tool "Java"
- name "Container"
- value 222)))
- (object Attribute
- tool "Java"
- name "EJBReentrant"
- value FALSE)
- (object Attribute
- tool "Java"
- name "BMP_Extend_CMP"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Abstract"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Static"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Native"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Synchronized"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)
- (object Attribute
- tool "Java"
- name "PropertyType"
- value ("BeanProperty_Set" 71))
- (object Attribute
- tool "Java"
- name "BeanProperty_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Not A Property"
- value 71)
- (object Attribute
- tool "Java"
- name "Simple"
- value 72)
- (object Attribute
- tool "Java"
- name "Bound"
- value 73)
- (object Attribute
- tool "Java"
- name "Constrained"
- value 74)))
- (object Attribute
- tool "Java"
- name "IndividualChangeMgt"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Read/Write"
- value ("Read/Write_Set" 81))
- (object Attribute
- tool "Java"
- name "Read/Write_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Read & Write"
- value 81)
- (object Attribute
- tool "Java"
- name "Read Only"
- value 82)
- (object Attribute
- tool "Java"
- name "Write Only"
- value 83)))
- (object Attribute
- tool "Java"
- name "GenerateFullyQualifiedTypes"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "Java"
- name "InitialValue"
- value "")
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)
- (object Attribute
- tool "Java"
- name "PropertyType"
- value ("BeanProperty_Set" 71))
- (object Attribute
- tool "Java"
- name "BeanProperty_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Not A Property"
- value 71)
- (object Attribute
- tool "Java"
- name "Simple"
- value 72)
- (object Attribute
- tool "Java"
- name "Bound"
- value 73)
- (object Attribute
- tool "Java"
- name "Constrained"
- value 74)))
- (object Attribute
- tool "Java"
- name "IndividualChangeMgt"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Read/Write"
- value ("Read/Write_Set" 81))
- (object Attribute
- tool "Java"
- name "Read/Write_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Read & Write"
- value 81)
- (object Attribute
- tool "Java"
- name "Read Only"
- value 82)
- (object Attribute
- tool "Java"
- name "Write Only"
- value 83)))
- (object Attribute
- tool "Java"
- name "GenerateFullyQualifiedTypes"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsNavigable"
- value TRUE)))
- (object Attribute
- tool "Java"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "propertyId"
- value "360000002")
- (object Attribute
- tool "Oracle8"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "DDLScriptFilename"
- value "DDL1.SQL")
- (object Attribute
- tool "Oracle8"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnName"
- value "_ID")
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnType"
- value "NUMBER(5,0)")
- (object Attribute
- tool "Oracle8"
- name "SchemaNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "SchemaNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNameSuffix"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "IsSchema"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "WhereClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeLength"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypePrecision"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeScale"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionOfREFS"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MethodKind"
- value ("MethodKindSet" 1903))
- (object Attribute
- tool "Oracle8"
- name "OverloadID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsReadNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsReadNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsSelfish"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "TriggerType"
- value ("TriggerTypeSet" 1801))
- (object Attribute
- tool "Oracle8"
- name "TriggerEvent"
- value ("TriggerEventSet" 1601))
- (object Attribute
- tool "Oracle8"
- name "TriggerText"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerReferencingNames"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerForEach"
- value ("TriggerForEachSet" 1701))
- (object Attribute
- tool "Oracle8"
- name "TriggerWhenClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "MethodKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MapMethod"
- value 1901)
- (object Attribute
- tool "Oracle8"
- name "OrderMethod"
- value 1902)
- (object Attribute
- tool "Oracle8"
- name "Function"
- value 1903)
- (object Attribute
- tool "Oracle8"
- name "Procedure"
- value 1904)
- (object Attribute
- tool "Oracle8"
- name "Operator"
- value 1905)
- (object Attribute
- tool "Oracle8"
- name "Constructor"
- value 1906)
- (object Attribute
- tool "Oracle8"
- name "Destructor"
- value 1907)
- (object Attribute
- tool "Oracle8"
- name "Trigger"
- value 1908)
- (object Attribute
- tool "Oracle8"
- name "Calculated"
- value 1909)))
- (object Attribute
- tool "Oracle8"
- name "TriggerTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "AFTER"
- value 1801)
- (object Attribute
- tool "Oracle8"
- name "BEFORE"
- value 1802)
- (object Attribute
- tool "Oracle8"
- name "INSTEAD OF"
- value 1803)))
- (object Attribute
- tool "Oracle8"
- name "TriggerForEachSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "ROW"
- value 1701)
- (object Attribute
- tool "Oracle8"
- name "STATEMENT"
- value 1702)))
- (object Attribute
- tool "Oracle8"
- name "TriggerEventSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "INSERT"
- value 1601)
- (object Attribute
- tool "Oracle8"
- name "UPDATE"
- value 1602)
- (object Attribute
- tool "Oracle8"
- name "DELETE"
- value 1603)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE"
- value 1604)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR DELETE"
- value 1605)
- (object Attribute
- tool "Oracle8"
- name "UPDATE OR DELETE"
- value 1606)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE OR DELETE"
- value 1607)))))
- (object Attribute
- tool "Oracle8"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "NullsAllowed"
- value TRUE)
- (object Attribute
- tool "Oracle8"
- name "Length"
- value "")
- (object Attribute
- tool "Oracle8"
- name "Precision"
- value "2")
- (object Attribute
- tool "Oracle8"
- name "Scale"
- value "6")
- (object Attribute
- tool "Oracle8"
- name "IsIndex"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsPrimaryKey"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "cg"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "cg"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "UseMSVC"
- value FALSE)
- (object Attribute
- tool "cg"
- name "HeaderFileExtension"
- value "h")
- (object Attribute
- tool "cg"
- name "HeaderFileBackupExtension"
- value "h~")
- (object Attribute
- tool "cg"
- name "HeaderFileTemporaryExtension"
- value "h#")
- (object Attribute
- tool "cg"
- name "CodeFileExtension"
- value "cpp")
- (object Attribute
- tool "cg"
- name "CodeFileBackupExtension"
- value "cp~")
- (object Attribute
- tool "cg"
- name "CodeFileTemporaryExtension"
- value "cp#")
- (object Attribute
- tool "cg"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "cg"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ErrorLimit"
- value 30)
- (object Attribute
- tool "cg"
- name "Directory"
- value "$ROSECPP_SOURCE")
- (object Attribute
- tool "cg"
- name "PathSeparator"
- value "")
- (object Attribute
- tool "cg"
- name "FileNameFormat"
- value "128vx_b")
- (object Attribute
- tool "cg"
- name "BooleanType"
- value "int")
- (object Attribute
- tool "cg"
- name "AllowTemplates"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowExplicitInstantiations"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowProtectedInheritance"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CommentWidth"
- value 60)
- (object Attribute
- tool "cg"
- name "OneByValueContainer"
- value "$targetClass")
- (object Attribute
- tool "cg"
- name "OneByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "OptionalByValueContainer"
- value "OptionalByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "OptionalByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "FixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "FixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "BoundedByValueContainer"
- value "BoundedListByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByValueContainer"
- value "BoundedSetByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "BoundedByReferenceContainer"
- value "BoundedListByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByReferenceContainer"
- value "BoundedSetByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnboundedByValueContainer"
- value "UnboundedListByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByValueContainer"
- value "UnboundedSetByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnboundedByReferenceContainer"
- value "UnboundedListByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByReferenceContainer"
- value "UnboundedSetByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "QualifiedByValueContainer"
- value "AssociationByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByValueContainer"
- value "DictionaryByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "QualifiedByReferenceContainer"
- value "AssociationByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByReferenceContainer"
- value "DictionaryByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "cg"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "cg"
- name "ClassKey"
- value "class")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "PutBodiesInSpec"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDefaultConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "DefaultConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateCopyConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "CopyConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDestructor"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DestructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DestructorKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineDestructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateAssignmentOperation"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "AssignmentVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "AssignmentKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineAssignmentOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateEqualityOperations"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "EqualityVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "EqualityKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineEqualityOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "RelationalVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "RelationalKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StorageMgmtVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "SubscriptVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "SubscriptKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "SubscriptResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DereferenceVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DereferenceKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "DereferenceResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IndirectionVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "IndirectionKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "IndirectionResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StreamVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ThreeKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)))
- (object Attribute
- tool "cg"
- name "KindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)))
- (object Attribute
- tool "cg"
- name "FriendKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GenerateSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "DeclareAndDefine"
- value 199)
- (object Attribute
- tool "cg"
- name "DeclareOnly"
- value 205)
- (object Attribute
- tool "cg"
- name "DoNotDeclare"
- value 206)))
- (object Attribute
- tool "cg"
- name "VisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)))
- (object Attribute
- tool "cg"
- name "ConstValue"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DefaultSpecifier"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.mime/src/rose/mimebindingMDL.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.mime/src/rose/mimebindingMDL.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value TRUE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "OperationKind"
- value ("OperationKindSet" 200))
- (object Attribute
- tool "cg"
- name "OperationKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "OperationIsConst"
- value FALSE)
- (object Attribute
- tool "cg"
- name "OperationIsExplicit"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Inline"
- value FALSE)
- (object Attribute
- tool "cg"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ExitCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "BodyAnnotations"
- value "")
- (object Attribute
- tool "cg"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Context"
- value "")
- (object Attribute
- tool "cg"
- name "Raises"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "Ordered"
- value TRUE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$relationship")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$relationship")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorName"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorType"
- value "")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "cg"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Association"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")))
- (object Attribute
- tool "cg"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InstanceArguments"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "ContainerGet"
- value "$data.get($keys)")
- (object Attribute
- tool "cg"
- name "ContainerSet"
- value "$data.set($keys,$value)")
- (object Attribute
- tool "cg"
- name "QualifiedContainer"
- value "")
- (object Attribute
- tool "cg"
- name "AssocClassContainer"
- value "$supplier *")
- (object Attribute
- tool "cg"
- name "AssocClassInitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReference"
- value ("QualifiedGetSetByReferenceSet" 2))
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReferenceSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_GetSetByReference"
- value 2)))
- (object Attribute
- tool "cg"
- name "GenerateQualifiedGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "QualifiedGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineQualifiedGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateQualifiedSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "QualifiedSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineQualifiedSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "AssocClassGetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GenerateAssocClassGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "AssocClassGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineAssocClassGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "AssocClassSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineAssocClassSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassForwardReferenceOnly"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "cg"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$attribute")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtAttributeVisibility"
- value 211)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$attribute")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$attribute")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BodyReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "DirectoryIsOnSearchList"
- value FALSE)
- (object Attribute
- tool "cg"
- name "PrecompiledHeader"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Category"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "IsNamespace"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Indent"
- value 2)
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))))
- (object Attribute
- tool "MSVC"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "MSVC"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Version"
- value "5.0")))
- (object Attribute
- tool "MSVC"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCClassTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCClassTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Interface_Part"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Connection_Part"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Class_Factory"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionality"
- value ("CObjectFunctionalitySet" 0))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionalitySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Dynamic"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Dyncreate"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Serial"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "GenerateOverrideGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateDataGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DATA_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateFieldGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_FIELD_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMessageGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateMessageMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "OLEFactory"
- value ("OLEFactorySet" 0))
- (object Attribute
- tool "MSVC"
- name "OLEFactorySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Built_in"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Simple"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Licensed"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "OLEName"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLEClassID"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLECtlType"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLECtlType"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLETypeLib"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLETypeLibID"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMajor"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMinor"
- value "")
- (object Attribute
- tool "MSVC"
- name "GeneratePropPageIDs"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLEPropPageIDs"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateDispatchMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockProperties"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockFunctions"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DispatchDefValue"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateDispIdEnum"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISP_ID_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInterfaceMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "INTERFACE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "InitInterface"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateEventMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockEvents"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateEventSinkMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "PropNotifySinks"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ConnectionPointIID"
- value "")
- (object Attribute
- tool "MSVC"
- name "InheritanceType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLECommands"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCDeclares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCImplements"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ATL_Declares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateCOMMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "COM_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionPointMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_POINT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMsgMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GeneratePropertyMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "PROPERTY_MAP_Entries"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCOperationTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCOperationTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Virtual_Override"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Message_Handler"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dispatch_Handler"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Event_Firing_Function"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Event_Sink_Handler"
- value 5)
- (object Attribute
- tool "MSVC"
- name "Std_OLE_Method"
- value 6)
- (object Attribute
- tool "MSVC"
- name "Command_Parser"
- value 7)
- (object Attribute
- tool "MSVC"
- name "Property_Get_Function"
- value 8)
- (object Attribute
- tool "MSVC"
- name "Property_Set_Function"
- value 9)
- (object Attribute
- tool "MSVC"
- name "Property_Notify_Function"
- value 10)
- (object Attribute
- tool "MSVC"
- name "Macro_Generated_Function"
- value 11)))
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "BodyImage"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "MSVC"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "SCC"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "TypeLibImporter"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "propertyId"
- value "783606378")
- (object Attribute
- tool "Visual Basic"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "CreatableSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "Private"
- value 221)
- (object Attribute
- tool "Visual Basic"
- name "PublicNotCreatable"
- value 213)
- (object Attribute
- tool "Visual Basic"
- name "SingleUse"
- value 214)
- (object Attribute
- tool "Visual Basic"
- name "GlobalSingleUse"
- value 215)
- (object Attribute
- tool "Visual Basic"
- name "MultiUse"
- value 219)
- (object Attribute
- tool "Visual Basic"
- name "GlobalMultiUse"
- value 220)))
- (object Attribute
- tool "Visual Basic"
- name "OptionBase"
- value "0")
- (object Attribute
- tool "Visual Basic"
- name "OptionExplicit"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "OptionCompare"
- value ("CompareSet" 202))
- (object Attribute
- tool "Visual Basic"
- name "Creatable"
- value ("CreatableSet" 221))
- (object Attribute
- tool "Visual Basic"
- name "GenerateInitialization"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateTermination"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "CollectionClass"
- value "Collection")
- (object Attribute
- tool "Visual Basic"
- name "CompareSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "None"
- value 202)
- (object Attribute
- tool "Visual Basic"
- name "Binary"
- value 203)
- (object Attribute
- tool "Visual Basic"
- name "Text"
- value 204)))))
- (object Attribute
- tool "Visual Basic"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "OperationName"
- value "$operation")
- (object Attribute
- tool "Visual Basic"
- name "LibraryName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "AliasName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "IsStatic"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "Visual Basic"
- name "ExitCode"
- value (value Text ""))))
- (object Attribute
- tool "Visual Basic"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ImplementsDelegation"
- value TRUE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ProjectFile"
- value "")))
- (object Attribute
- tool "Visual Basic"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "VisualStudio"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "CORBA"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "CORBA"
- name "Editor"
- value ("EditorType" 100))
- (object Attribute
- tool "CORBA"
- name "IncludePath"
- value "")
- (object Attribute
- tool "CORBA"
- name "StopOnError"
- value TRUE)
- (object Attribute
- tool "CORBA"
- name "EditorType"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "BuiltIn"
- value 100)
- (object Attribute
- tool "CORBA"
- name "WindowsShell"
- value 101)))))
- (object Attribute
- tool "CORBA"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "ConstValue"
- value "")
- (object Attribute
- tool "CORBA"
- name "ImplementationType"
- value "")))
- (object Attribute
- tool "CORBA"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "CmIdentification"
- value (value Text " %X% %Q% %Z% %W%"))
- (object Attribute
- tool "CORBA"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")))
- (object Attribute
- tool "CORBA"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "CmIdentification"
- value (value Text " %X% %Q% %Z% %W%"))
- (object Attribute
- tool "CORBA"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")))
- (object Attribute
- tool "CORBA"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "Context"
- value "")
- (object Attribute
- tool "CORBA"
- name "OperationIsOneWay"
- value FALSE)))
- (object Attribute
- tool "CORBA"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "CORBA"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "Order"
- value "")))
- (object Attribute
- tool "CORBA"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "CORBA"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "Order"
- value "")
- (object Attribute
- tool "CORBA"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "CORBA"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "Array"
- value 24)
- (object Attribute
- tool "CORBA"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "CORBA"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "CORBA"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Default_Servlet__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "ServletName"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContextRef"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsSingleThread"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletInitParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletInitParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletIsSecure"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcher"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcherPath"
- value "")
- (object Attribute
- tool "Java"
- name "DispatcherInclude"
- value FALSE)
- (object Attribute
- tool "Java"
- name "DispatcherForward"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "ServletgetInfo"
- value "")
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "Http_Servlet__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "ServletRequestAttribute"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttributesNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestAttributes"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestParameters"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeader"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeaderNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForHeaders"
- value "")
- (object Attribute
- tool "Java"
- name "ServletIntHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletDateHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletCookie"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForCookie"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContentType"
- value "")
- (object Attribute
- tool "Java"
- name "GenerateHTML"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "Default_EJB__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate_XML_DD"
- value TRUE)
- (object Attribute
- tool "Java"
- name "EJBCmpField"
- value "")
- (object Attribute
- tool "Java"
- name "EJBEnvironmentProperties"
- value "")
- (object Attribute
- tool "Java"
- name "EJBCnxFactory"
- value "")
- (object Attribute
- tool "Java"
- name "EJBReferences"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "EJBNameInJAR"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSessionType"
- value ("EJBSessionType_Set" 200))
- (object Attribute
- tool "Java"
- name "EJBSessionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 200)
- (object Attribute
- tool "Java"
- name "Stateless"
- value 201)
- (object Attribute
- tool "Java"
- name "Stateful"
- value 202)))
- (object Attribute
- tool "Java"
- name "EJBTransactionType"
- value ("EJBTransactionType_Set" 211))
- (object Attribute
- tool "Java"
- name "EJBTransactionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Container"
- value 211)
- (object Attribute
- tool "Java"
- name "Bean"
- value 212)))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType"
- value ("EJBPersistenceType_Set" 220))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 220)
- (object Attribute
- tool "Java"
- name "Bean"
- value 221)
- (object Attribute
- tool "Java"
- name "Container"
- value 222)))
- (object Attribute
- tool "Java"
- name "EJBReentrant"
- value FALSE)
- (object Attribute
- tool "Java"
- name "BMP_Extend_CMP"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "R2Editor"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Rose Model Integrator"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Rose Web Publisher"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Version Control"
- name "HiddenTool"
- value FALSE))
- quid "3AC910510327"))
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEContent.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEContent.java
deleted file mode 100644
index 6866f8302..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEContent.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Part;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Content</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent#getEPart <em>EPart</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEContent()
- * @model
- * @generated
- */
-public interface MIMEContent extends ExtensibilityElement, javax.wsdl.extensions.mime.MIMEContent {
- /**
- * Returns the value of the '<em><b>Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type</em>' attribute.
- * @see #setType(String)
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEContent_Type()
- * @model
- * @generated
- */
- String getType();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent#getType <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' attribute.
- * @see #getType()
- * @generated
- */
- void setType(String value);
-
- /**
- * Returns the value of the '<em><b>EPart</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EPart</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EPart</em>' reference.
- * @see #setEPart(Part)
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEContent_EPart()
- * @model
- * @generated
- */
- Part getEPart();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent#getEPart <em>EPart</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EPart</em>' reference.
- * @see #getEPart()
- * @generated
- */
- void setEPart(Part value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void setPart(String part);
-
- /**
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Part</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- String getPart();
-
-} // MIMEContent
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEFactory.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEFactory.java
deleted file mode 100644
index 855e11930..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEFactory.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage
- * @generated
- */
-public interface MIMEFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- MIMEFactory eINSTANCE = new org.eclipse.wst.wsdl.binding.mime.internal.impl.MIMEFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Content</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Content</em>'.
- * @generated
- */
- MIMEContent createMIMEContent();
-
- /**
- * Returns a new object of class '<em>Part</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Part</em>'.
- * @generated
- */
- MIMEPart createMIMEPart();
-
- /**
- * Returns a new object of class '<em>Multipart Related</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Multipart Related</em>'.
- * @generated
- */
- MIMEMultipartRelated createMIMEMultipartRelated();
-
- /**
- * Returns a new object of class '<em>Mime Xml</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Mime Xml</em>'.
- * @generated
- */
- MIMEMimeXml createMIMEMimeXml();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- MIMEPackage getMIMEPackage();
-
-} //MIMEFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMimeXml.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMimeXml.java
deleted file mode 100644
index 64794c56b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMimeXml.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Part;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Mime Xml</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml#getEPart <em>EPart</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEMimeXml()
- * @model
- * @generated
- */
-public interface MIMEMimeXml extends ExtensibilityElement, javax.wsdl.extensions.mime.MIMEMimeXml {
- /**
- * Returns the value of the '<em><b>EPart</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EPart</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EPart</em>' reference.
- * @see #setEPart(Part)
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEMimeXml_EPart()
- * @model
- * @generated
- */
- Part getEPart();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml#getEPart <em>EPart</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EPart</em>' reference.
- * @see #getEPart()
- * @generated
- */
- void setEPart(Part value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void setPart(String part);
-
- /**
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Part</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- String getPart();
-
-} // MIMEMimeXml
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMultipartRelated.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMultipartRelated.java
deleted file mode 100644
index 35a7b363f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMultipartRelated.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime;
-
-import java.util.List;
-
-import javax.wsdl.extensions.mime.MIMEPart;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Multipart Related</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated#getEMIMEPart <em>EMIME Part</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEMultipartRelated()
- * @model
- * @generated
- */
-public interface MIMEMultipartRelated extends ExtensibilityElement, javax.wsdl.extensions.mime.MIMEMultipartRelated {
- /**
- * Returns the value of the '<em><b>EMIME Part</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.wsdl.binding.mime.MIMEPart}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EMIME Part</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EMIME Part</em>' containment reference list.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEMultipartRelated_EMIMEPart()
- * @model type="org.eclipse.wst.wsdl.binding.mime.MIMEPart" containment="true"
- * @generated
- */
- EList getEMIMEPart();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void addMIMEPart(MIMEPart mimePart);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model dataType="org.eclipse.wst.wsdl.binding.mime.List" parameters=""
- * @generated
- */
- List getMIMEParts();
-
-} // MIMEMultipartRelated
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPackage.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPackage.java
deleted file mode 100644
index 2f876e5e5..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPackage.java
+++ /dev/null
@@ -1,559 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.wst.wsdl.WSDLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEFactory
- * @generated
- */
-public interface MIMEPackage extends EPackage{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "mime";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.ibm.com/wsdl/2003/MIME";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "mime";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- MIMEPackage eINSTANCE = org.eclipse.wst.wsdl.binding.mime.internal.impl.MIMEPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEContentImpl <em>Content</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEContentImpl
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getMIMEContent()
- * @generated
- */
- int MIME_CONTENT = 0;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_CONTENT__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_CONTENT__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_CONTENT__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_CONTENT__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_CONTENT__TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>EPart</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_CONTENT__EPART = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Content</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_CONTENT_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEPartImpl <em>Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPartImpl
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getMIMEPart()
- * @generated
- */
- int MIME_PART = 1;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_PART__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_PART__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_PART__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_PART__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The number of structural features of the the '<em>Part</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_PART_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEMultipartRelatedImpl <em>Multipart Related</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEMultipartRelatedImpl
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getMIMEMultipartRelated()
- * @generated
- */
- int MIME_MULTIPART_RELATED = 2;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MULTIPART_RELATED__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MULTIPART_RELATED__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MULTIPART_RELATED__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MULTIPART_RELATED__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>EMIME Part</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MULTIPART_RELATED__EMIME_PART = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Multipart Related</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MULTIPART_RELATED_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEMimeXmlImpl <em>Mime Xml</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEMimeXmlImpl
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getMIMEMimeXml()
- * @generated
- */
- int MIME_MIME_XML = 3;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MIME_XML__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MIME_XML__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MIME_XML__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MIME_XML__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>EPart</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MIME_XML__EPART = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Mime Xml</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MIME_XML_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.mime.MIMEPart <em>IMIME Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.mime.MIMEPart
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getIMIMEPart()
- * @generated
- */
- int IMIME_PART = 4;
-
- /**
- * The number of structural features of the the '<em>IMIME Part</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMIME_PART_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.mime.MIMEMultipartRelated <em>IMIME Multipart Related</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.mime.MIMEMultipartRelated
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getIMIMEMultipartRelated()
- * @generated
- */
- int IMIME_MULTIPART_RELATED = 5;
-
- /**
- * The number of structural features of the the '<em>IMIME Multipart Related</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMIME_MULTIPART_RELATED_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.mime.MIMEContent <em>IMIME Content</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.mime.MIMEContent
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getIMIMEContent()
- * @generated
- */
- int IMIME_CONTENT = 6;
-
- /**
- * The number of structural features of the the '<em>IMIME Content</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMIME_CONTENT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.mime.MIMEMimeXml <em>IMIME Mime Xml</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.mime.MIMEMimeXml
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getIMIMEMimeXml()
- * @generated
- */
- int IMIME_MIME_XML = 7;
-
- /**
- * The number of structural features of the the '<em>IMIME Mime Xml</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMIME_MIME_XML_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '<em>List</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see java.util.List
- * @see org.eclipse.wst.wsdl.binding.mime.impl.MIMEPackageImpl#getList()
- * @generated
- */
- int LIST = 8;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent <em>Content</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Content</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEContent
- * @generated
- */
- EClass getMIMEContent();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Type</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEContent#getType()
- * @see #getMIMEContent()
- * @generated
- */
- EAttribute getMIMEContent_Type();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent#getEPart <em>EPart</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EPart</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEContent#getEPart()
- * @see #getMIMEContent()
- * @generated
- */
- EReference getMIMEContent_EPart();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEPart <em>Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Part</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPart
- * @generated
- */
- EClass getMIMEPart();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated <em>Multipart Related</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Multipart Related</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated
- * @generated
- */
- EClass getMIMEMultipartRelated();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated#getEMIMEPart <em>EMIME Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EMIME Part</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated#getEMIMEPart()
- * @see #getMIMEMultipartRelated()
- * @generated
- */
- EReference getMIMEMultipartRelated_EMIMEPart();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml <em>Mime Xml</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Mime Xml</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml
- * @generated
- */
- EClass getMIMEMimeXml();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml#getEPart <em>EPart</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EPart</em>'.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml#getEPart()
- * @see #getMIMEMimeXml()
- * @generated
- */
- EReference getMIMEMimeXml_EPart();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.mime.MIMEPart <em>IMIME Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IMIME Part</em>'.
- * @see javax.wsdl.extensions.mime.MIMEPart
- * @model instanceClass="javax.wsdl.extensions.mime.MIMEPart"
- * @generated
- */
- EClass getIMIMEPart();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.mime.MIMEMultipartRelated <em>IMIME Multipart Related</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IMIME Multipart Related</em>'.
- * @see javax.wsdl.extensions.mime.MIMEMultipartRelated
- * @model instanceClass="javax.wsdl.extensions.mime.MIMEMultipartRelated"
- * @generated
- */
- EClass getIMIMEMultipartRelated();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.mime.MIMEContent <em>IMIME Content</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IMIME Content</em>'.
- * @see javax.wsdl.extensions.mime.MIMEContent
- * @model instanceClass="javax.wsdl.extensions.mime.MIMEContent"
- * @generated
- */
- EClass getIMIMEContent();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.mime.MIMEMimeXml <em>IMIME Mime Xml</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IMIME Mime Xml</em>'.
- * @see javax.wsdl.extensions.mime.MIMEMimeXml
- * @model instanceClass="javax.wsdl.extensions.mime.MIMEMimeXml"
- * @generated
- */
- EClass getIMIMEMimeXml();
-
- /**
- * Returns the meta object for data type '{@link java.util.List <em>List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>List</em>'.
- * @see java.util.List
- * @model instanceClass="java.util.List"
- * @generated
- */
- EDataType getList();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- MIMEFactory getMIMEFactory();
-
-} //MIMEPackage
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPart.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPart.java
deleted file mode 100644
index 22cb823fb..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPart.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime;
-
-import java.util.List;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Part</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#getMIMEPart()
- * @model
- * @generated
- */
-public interface MIMEPart extends ExtensibilityElement, javax.wsdl.extensions.mime.MIMEPart {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extensibilityElement);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model dataType="org.eclipse.wst.wsdl.binding.mime.List" parameters=""
- * @generated
- */
- List getExtensibilityElements();
-
-} // MIMEPart
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEContentImpl.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEContentImpl.java
deleted file mode 100644
index 17676e953..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEContentImpl.java
+++ /dev/null
@@ -1,337 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.impl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.mime.MIMEContent;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.internal.util.MIMEConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Content</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEContentImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEContentImpl#getEPart <em>EPart</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MIMEContentImpl extends ExtensibilityElementImpl implements MIMEContent {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getType() <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected static final String TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected String type = TYPE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEPart() <em>EPart</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEPart()
- * @generated
- * @ordered
- */
- protected Part ePart = null;
-
- private String part; // TBD
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MIMEContentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return MIMEPackage.eINSTANCE.getMIMEContent();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getType() {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(String newType) {
- String oldType = type;
- type = newType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, MIMEPackage.MIME_CONTENT__TYPE, oldType, type));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part getEPart() {
- if (ePart != null && ePart.eIsProxy()) {
- Part oldEPart = ePart;
- ePart = (Part)eResolveProxy((InternalEObject)ePart);
- if (ePart != oldEPart) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, MIMEPackage.MIME_CONTENT__EPART, oldEPart, ePart));
- }
- }
- return ePart;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part basicGetEPart() {
- return ePart;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEPart(Part newEPart) {
- Part oldEPart = ePart;
- ePart = newEPart;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, MIMEPackage.MIME_CONTENT__EPART, oldEPart, ePart));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setPart(String part) {
- this.part = part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public String getPart() {
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_CONTENT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case MIMEPackage.MIME_CONTENT__ELEMENT:
- return getElement();
- case MIMEPackage.MIME_CONTENT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case MIMEPackage.MIME_CONTENT__ELEMENT_TYPE:
- return getElementType();
- case MIMEPackage.MIME_CONTENT__TYPE:
- return getType();
- case MIMEPackage.MIME_CONTENT__EPART:
- if (resolve) return getEPart();
- return basicGetEPart();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_CONTENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case MIMEPackage.MIME_CONTENT__ELEMENT:
- setElement((Element)newValue);
- return;
- case MIMEPackage.MIME_CONTENT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case MIMEPackage.MIME_CONTENT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case MIMEPackage.MIME_CONTENT__TYPE:
- setType((String)newValue);
- return;
- case MIMEPackage.MIME_CONTENT__EPART:
- setEPart((Part)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_CONTENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_CONTENT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_CONTENT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case MIMEPackage.MIME_CONTENT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case MIMEPackage.MIME_CONTENT__TYPE:
- setType(TYPE_EDEFAULT);
- return;
- case MIMEPackage.MIME_CONTENT__EPART:
- setEPart((Part)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_CONTENT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case MIMEPackage.MIME_CONTENT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case MIMEPackage.MIME_CONTENT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case MIMEPackage.MIME_CONTENT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case MIMEPackage.MIME_CONTENT__TYPE:
- return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
- case MIMEPackage.MIME_CONTENT__EPART:
- return ePart != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (type: ");
- result.append(type);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setPart
- (MIMEConstants.getAttribute(changedElement, MIMEConstants.PART_ATTRIBUTE));
- setType
- (MIMEConstants.getAttribute(changedElement, MIMEConstants.TYPE_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == MIMEPackage.eINSTANCE. getMIMEContent_EPart())
- niceSetAttribute(theElement,MIMEConstants.PART_ATTRIBUTE,getPart());
- if (eAttribute == null || eAttribute == MIMEPackage.eINSTANCE. getMIMEContent_Type())
- niceSetAttribute(theElement,MIMEConstants.TYPE_ATTRIBUTE,getType());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(MIMEConstants.MIME_NAMESPACE_URI, MIMEConstants.CONTENT_ELEMENT_TAG);
- return elementType;
- }
-
-} //MIMEContentImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEFactoryImpl.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEFactoryImpl.java
deleted file mode 100644
index d6607aabe..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEFactoryImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.impl;
-
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.wst.wsdl.binding.mime.MIMEContent;
-import org.eclipse.wst.wsdl.binding.mime.MIMEFactory;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPart;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class MIMEFactoryImpl extends EFactoryImpl implements MIMEFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case MIMEPackage.MIME_CONTENT: return createMIMEContent();
- case MIMEPackage.MIME_PART: return createMIMEPart();
- case MIMEPackage.MIME_MULTIPART_RELATED: return createMIMEMultipartRelated();
- case MIMEPackage.MIME_MIME_XML: return createMIMEMimeXml();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case MIMEPackage.LIST:
- return createListFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case MIMEPackage.LIST:
- return convertListToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEContent createMIMEContent() {
- MIMEContentImpl mimeContent = new MIMEContentImpl();
- return mimeContent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEPart createMIMEPart() {
- MIMEPartImpl mimePart = new MIMEPartImpl();
- return mimePart;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEMultipartRelated createMIMEMultipartRelated() {
- MIMEMultipartRelatedImpl mimeMultipartRelated = new MIMEMultipartRelatedImpl();
- return mimeMultipartRelated;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEMimeXml createMIMEMimeXml() {
- MIMEMimeXmlImpl mimeMimeXml = new MIMEMimeXmlImpl();
- return mimeMimeXml;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List createListFromString(EDataType eDataType, String initialValue) {
- return (List)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertListToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEPackage getMIMEPackage() {
- return (MIMEPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static MIMEPackage getPackage() {
- return MIMEPackage.eINSTANCE;
- }
-} //MIMEFactoryImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMimeXmlImpl.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMimeXmlImpl.java
deleted file mode 100644
index 6f7e6a6fc..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMimeXmlImpl.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.impl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.internal.util.MIMEConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Mime Xml</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEMimeXmlImpl#getEPart <em>EPart</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MIMEMimeXmlImpl extends ExtensibilityElementImpl implements MIMEMimeXml {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The cached value of the '{@link #getEPart() <em>EPart</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEPart()
- * @generated
- * @ordered
- */
- protected Part ePart = null;
-
- private String part;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MIMEMimeXmlImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return MIMEPackage.eINSTANCE.getMIMEMimeXml();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part getEPart() {
- if (ePart != null && ePart.eIsProxy()) {
- Part oldEPart = ePart;
- ePart = (Part)eResolveProxy((InternalEObject)ePart);
- if (ePart != oldEPart) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, MIMEPackage.MIME_MIME_XML__EPART, oldEPart, ePart));
- }
- }
- return ePart;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part basicGetEPart() {
- return ePart;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEPart(Part newEPart) {
- Part oldEPart = ePart;
- ePart = newEPart;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, MIMEPackage.MIME_MIME_XML__EPART, oldEPart, ePart));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setPart(String part) {
- this.part = part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public String getPart() {
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MIME_XML__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case MIMEPackage.MIME_MIME_XML__ELEMENT:
- return getElement();
- case MIMEPackage.MIME_MIME_XML__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case MIMEPackage.MIME_MIME_XML__ELEMENT_TYPE:
- return getElementType();
- case MIMEPackage.MIME_MIME_XML__EPART:
- if (resolve) return getEPart();
- return basicGetEPart();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MIME_XML__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case MIMEPackage.MIME_MIME_XML__ELEMENT:
- setElement((Element)newValue);
- return;
- case MIMEPackage.MIME_MIME_XML__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case MIMEPackage.MIME_MIME_XML__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case MIMEPackage.MIME_MIME_XML__EPART:
- setEPart((Part)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MIME_XML__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_MIME_XML__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_MIME_XML__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case MIMEPackage.MIME_MIME_XML__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case MIMEPackage.MIME_MIME_XML__EPART:
- setEPart((Part)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MIME_XML__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case MIMEPackage.MIME_MIME_XML__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case MIMEPackage.MIME_MIME_XML__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case MIMEPackage.MIME_MIME_XML__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case MIMEPackage.MIME_MIME_XML__EPART:
- return ePart != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setPart
- (MIMEConstants.getAttribute(changedElement, MIMEConstants.PART_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == MIMEPackage.eINSTANCE. getMIMEContent_EPart())
- niceSetAttribute(theElement,MIMEConstants.PART_ATTRIBUTE,getPart());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(MIMEConstants.MIME_NAMESPACE_URI, MIMEConstants.MIME_XML_ELEMENT_TAG);
- return elementType;
- }
-} //MIMEMimeXmlImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMultipartRelatedImpl.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMultipartRelatedImpl.java
deleted file mode 100644
index 4029c9f2b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMultipartRelatedImpl.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.impl;
-
-import org.eclipse.wst.wsdl.binding.mime.internal.util.MIMEConstants;
-import org.eclipse.wst.wsdl.binding.mime.MIMEFactory;
-
-import java.util.Collection;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPart;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Multipart Related</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.mime.impl.MIMEMultipartRelatedImpl#getEMIMEPart <em>EMIME Part</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MIMEMultipartRelatedImpl extends ExtensibilityElementImpl implements MIMEMultipartRelated {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
- /**
- * The cached value of the '{@link #getEMIMEPart() <em>EMIME Part</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEMIMEPart()
- * @generated
- * @ordered
- */
- protected EList eMIMEPart = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MIMEMultipartRelatedImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return MIMEPackage.eINSTANCE.getMIMEMultipartRelated();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEMIMEPart() {
- if (eMIMEPart == null) {
- eMIMEPart = new EObjectContainmentEList(MIMEPart.class, this, MIMEPackage.MIME_MULTIPART_RELATED__EMIME_PART);
- }
- return eMIMEPart;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addMIMEPart(javax.wsdl.extensions.mime.MIMEPart mimePart) {
- getEMIMEPart().add(mimePart);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getMIMEParts() {
- // TODO: implement this method
- // Ensure that you remove @generated or mark it @generated NOT
- throw new UnsupportedOperationException();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case MIMEPackage.MIME_MULTIPART_RELATED__EMIME_PART:
- return ((InternalEList)getEMIMEPart()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MULTIPART_RELATED__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT:
- return getElement();
- case MIMEPackage.MIME_MULTIPART_RELATED__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT_TYPE:
- return getElementType();
- case MIMEPackage.MIME_MULTIPART_RELATED__EMIME_PART:
- return getEMIMEPart();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MULTIPART_RELATED__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT:
- setElement((Element)newValue);
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__EMIME_PART:
- getEMIMEPart().clear();
- getEMIMEPart().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MULTIPART_RELATED__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case MIMEPackage.MIME_MULTIPART_RELATED__EMIME_PART:
- getEMIMEPart().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_MULTIPART_RELATED__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case MIMEPackage.MIME_MULTIPART_RELATED__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case MIMEPackage.MIME_MULTIPART_RELATED__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case MIMEPackage.MIME_MULTIPART_RELATED__EMIME_PART:
- return eMIMEPart != null && !eMIMEPart.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- if (MIMEConstants.PART_ELEMENT_TAG.equals(child.getLocalName()))
- {
- MIMEPart mimePart = MIMEFactory.eINSTANCE.createMIMEPart();
- mimePart.setEnclosingDefinition(getEnclosingDefinition());
- mimePart.setElement(child);
- addMIMEPart(mimePart);
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(MIMEConstants.MIME_NAMESPACE_URI, MIMEConstants.MULTIPART_RELATED_ELEMENT_TAG);
- return elementType;
- }
-
-} //MIMEMultipartRelatedImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPackageImpl.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPackageImpl.java
deleted file mode 100644
index ea54c9186..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPackageImpl.java
+++ /dev/null
@@ -1,427 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.impl;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.binding.mime.MIMEContent;
-import org.eclipse.wst.wsdl.binding.mime.MIMEFactory;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPart;
-import org.eclipse.wst.wsdl.internal.impl.WSDLPackageImpl;
-import org.eclipse.xsd.impl.XSDPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class MIMEPackageImpl extends EPackageImpl implements MIMEPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass mimeContentEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass mimePartEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass mimeMultipartRelatedEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass mimeMimeXmlEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass imimePartEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass imimeMultipartRelatedEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass imimeContentEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass imimeMimeXmlEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType listEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private MIMEPackageImpl() {
- super(eNS_URI, MIMEFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static MIMEPackage init() {
- if (isInited) return (MIMEPackage)EPackage.Registry.INSTANCE.get(MIMEPackage.eNS_URI);
-
- // Obtain or create and register package.
- MIMEPackageImpl theMIMEPackage = (MIMEPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new MIMEPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XSDPackageImpl.init();
-
- // Obtain or create and register interdependencies
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)(EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) : WSDLPackageImpl.eINSTANCE);
-
- // Step 1: create meta-model objects
- theMIMEPackage.createPackageContents();
- theWSDLPackage.createPackageContents();
-
- // Step 2: complete initialization
- theMIMEPackage.initializePackageContents();
- theWSDLPackage.initializePackageContents();
-
- return theMIMEPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMIMEContent() {
- return mimeContentEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMIMEContent_Type() {
- return (EAttribute)mimeContentEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMIMEContent_EPart() {
- return (EReference)mimeContentEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMIMEPart() {
- return mimePartEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMIMEMultipartRelated() {
- return mimeMultipartRelatedEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMIMEMultipartRelated_EMIMEPart() {
- return (EReference)mimeMultipartRelatedEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMIMEMimeXml() {
- return mimeMimeXmlEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMIMEMimeXml_EPart() {
- return (EReference)mimeMimeXmlEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIMIMEPart() {
- return imimePartEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIMIMEMultipartRelated() {
- return imimeMultipartRelatedEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIMIMEContent() {
- return imimeContentEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIMIMEMimeXml() {
- return imimeMimeXmlEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getList() {
- return listEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEFactory getMIMEFactory() {
- return (MIMEFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- mimeContentEClass = createEClass(MIME_CONTENT);
- createEAttribute(mimeContentEClass, MIME_CONTENT__TYPE);
- createEReference(mimeContentEClass, MIME_CONTENT__EPART);
-
- mimePartEClass = createEClass(MIME_PART);
-
- mimeMultipartRelatedEClass = createEClass(MIME_MULTIPART_RELATED);
- createEReference(mimeMultipartRelatedEClass, MIME_MULTIPART_RELATED__EMIME_PART);
-
- mimeMimeXmlEClass = createEClass(MIME_MIME_XML);
- createEReference(mimeMimeXmlEClass, MIME_MIME_XML__EPART);
-
- imimePartEClass = createEClass(IMIME_PART);
-
- imimeMultipartRelatedEClass = createEClass(IMIME_MULTIPART_RELATED);
-
- imimeContentEClass = createEClass(IMIME_CONTENT);
-
- imimeMimeXmlEClass = createEClass(IMIME_MIME_XML);
-
- // Create data types
- listEDataType = createEDataType(LIST);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)EPackage.Registry.INSTANCE.getEPackage(WSDLPackage.eNS_URI);
-
- // Add supertypes to classes
- mimeContentEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- mimeContentEClass.getESuperTypes().add(this.getIMIMEContent());
- mimePartEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- mimePartEClass.getESuperTypes().add(this.getIMIMEPart());
- mimeMultipartRelatedEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- mimeMultipartRelatedEClass.getESuperTypes().add(this.getIMIMEMultipartRelated());
- mimeMimeXmlEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- mimeMimeXmlEClass.getESuperTypes().add(this.getIMIMEMimeXml());
-
- // Initialize classes and features; add operations and parameters
- initEClass(mimeContentEClass, MIMEContent.class, "MIMEContent", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getMIMEContent_Type(), ecorePackage.getEString(), "type", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEReference(getMIMEContent_EPart(), theWSDLPackage.getPart(), null, "ePart", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- EOperation op = addEOperation(mimeContentEClass, null, "setPart");
- addEParameter(op, ecorePackage.getEString(), "part");
-
- addEOperation(mimeContentEClass, ecorePackage.getEString(), "getPart");
-
- initEClass(mimePartEClass, MIMEPart.class, "MIMEPart", !IS_ABSTRACT, !IS_INTERFACE);
-
- op = addEOperation(mimePartEClass, null, "addExtensibilityElement");
- addEParameter(op, theWSDLPackage.getIExtensibilityElement(), "extensibilityElement");
-
- addEOperation(mimePartEClass, this.getList(), "getExtensibilityElements");
-
- initEClass(mimeMultipartRelatedEClass, MIMEMultipartRelated.class, "MIMEMultipartRelated", !IS_ABSTRACT, !IS_INTERFACE);
- initEReference(getMIMEMultipartRelated_EMIMEPart(), this.getMIMEPart(), null, "eMIMEPart", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- op = addEOperation(mimeMultipartRelatedEClass, null, "addMIMEPart");
- addEParameter(op, this.getIMIMEPart(), "mimePart");
-
- addEOperation(mimeMultipartRelatedEClass, this.getList(), "getMIMEParts");
-
- initEClass(mimeMimeXmlEClass, MIMEMimeXml.class, "MIMEMimeXml", !IS_ABSTRACT, !IS_INTERFACE);
- initEReference(getMIMEMimeXml_EPart(), theWSDLPackage.getPart(), null, "ePart", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- op = addEOperation(mimeMimeXmlEClass, null, "setPart");
- addEParameter(op, ecorePackage.getEString(), "part");
-
- addEOperation(mimeMimeXmlEClass, ecorePackage.getEString(), "getPart");
-
- initEClass(imimePartEClass, javax.wsdl.extensions.mime.MIMEPart.class, "IMIMEPart", IS_ABSTRACT, IS_INTERFACE);
-
- initEClass(imimeMultipartRelatedEClass, javax.wsdl.extensions.mime.MIMEMultipartRelated.class, "IMIMEMultipartRelated", IS_ABSTRACT, IS_INTERFACE);
-
- initEClass(imimeContentEClass, javax.wsdl.extensions.mime.MIMEContent.class, "IMIMEContent", IS_ABSTRACT, IS_INTERFACE);
-
- initEClass(imimeMimeXmlEClass, javax.wsdl.extensions.mime.MIMEMimeXml.class, "IMIMEMimeXml", IS_ABSTRACT, IS_INTERFACE);
-
- // Initialize data types
- initEDataType(listEDataType, List.class, "List", IS_SERIALIZABLE);
-
- // Create resource
- createResource(eNS_URI);
- }
-} //MIMEPackageImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPartImpl.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPartImpl.java
deleted file mode 100644
index 01b48e9f0..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPartImpl.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.impl;
-
-import java.util.List;
-import java.util.Collection;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPart;
-import org.eclipse.wst.wsdl.binding.mime.internal.util.MIMEConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.eclipse.wst.wsdl.internal.impl.WSDLFactoryImpl;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Part</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class MIMEPartImpl extends ExtensibilityElementImpl implements MIMEPart {
-
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
- private List extensibilityElements = new java.util.Vector();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MIMEPartImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return MIMEPackage.eINSTANCE.getMIMEPart();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addExtensibilityElement(ExtensibilityElement extensibilityElement) {
- getExtensibilityElements().add(extensibilityElement);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public List getExtensibilityElements() {
- return extensibilityElements;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_PART__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case MIMEPackage.MIME_PART__ELEMENT:
- return getElement();
- case MIMEPackage.MIME_PART__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case MIMEPackage.MIME_PART__ELEMENT_TYPE:
- return getElementType();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_PART__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case MIMEPackage.MIME_PART__ELEMENT:
- setElement((Element)newValue);
- return;
- case MIMEPackage.MIME_PART__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case MIMEPackage.MIME_PART__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_PART__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_PART__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case MIMEPackage.MIME_PART__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case MIMEPackage.MIME_PART__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case MIMEPackage.MIME_PART__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case MIMEPackage.MIME_PART__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case MIMEPackage.MIME_PART__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case MIMEPackage.MIME_PART__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- }
- return eDynamicIsSet(eFeature);
- }
-
- //
- // Reconciliation: DOM -> MODEL
- //
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- if (!WSDLConstants.isMatchingNamespace(child.getNamespaceURI(), WSDLConstants.WSDL_NAMESPACE_URI))
- {
- org.eclipse.wst.wsdl.ExtensibilityElement extensibilityElement = useExtensionFactories() ?
- ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createExtensibilityElement(getNamespace(child),getLocalName(child)) :
- ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createUnknownExtensibilityElement();
-
- extensibilityElement.setEnclosingDefinition(getEnclosingDefinition());
- extensibilityElement.setElement(child);
- addExtensibilityElement(extensibilityElement);
- }
- }
-
- private boolean useExtensionFactories()
- {
- // Use extension factories by default.
- return getEnclosingDefinition() == null ?
- true : ((DefinitionImpl)getEnclosingDefinition()).getUseExtensionFactories();
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(MIMEConstants.MIME_NAMESPACE_URI, MIMEConstants.PART_ELEMENT_TAG);
- return elementType;
- }
-
-} //MIMEPartImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEAdapterFactory.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEAdapterFactory.java
deleted file mode 100644
index aa887e121..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEAdapterFactory.java
+++ /dev/null
@@ -1,298 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.mime.MIMEContent;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPart;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage
- * @generated
- */
-public class MIMEAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static MIMEPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMEAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = MIMEPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MIMESwitch modelSwitch =
- new MIMESwitch() {
- public Object caseMIMEContent(MIMEContent object) {
- return createMIMEContentAdapter();
- }
- public Object caseMIMEPart(MIMEPart object) {
- return createMIMEPartAdapter();
- }
- public Object caseMIMEMultipartRelated(MIMEMultipartRelated object) {
- return createMIMEMultipartRelatedAdapter();
- }
- public Object caseMIMEMimeXml(MIMEMimeXml object) {
- return createMIMEMimeXmlAdapter();
- }
- public Object caseIMIMEPart(javax.wsdl.extensions.mime.MIMEPart object) {
- return createIMIMEPartAdapter();
- }
- public Object caseIMIMEMultipartRelated(javax.wsdl.extensions.mime.MIMEMultipartRelated object) {
- return createIMIMEMultipartRelatedAdapter();
- }
- public Object caseIMIMEContent(javax.wsdl.extensions.mime.MIMEContent object) {
- return createIMIMEContentAdapter();
- }
- public Object caseIMIMEMimeXml(javax.wsdl.extensions.mime.MIMEMimeXml object) {
- return createIMIMEMimeXmlAdapter();
- }
- public Object caseWSDLElement(WSDLElement object) {
- return createWSDLElementAdapter();
- }
- public Object caseIExtensibilityElement(ExtensibilityElement object) {
- return createIExtensibilityElementAdapter();
- }
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object) {
- return createExtensibilityElementAdapter();
- }
- public Object defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target) {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEContent <em>Content</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEContent
- * @generated
- */
- public Adapter createMIMEContentAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEPart <em>Part</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPart
- * @generated
- */
- public Adapter createMIMEPartAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated <em>Multipart Related</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated
- * @generated
- */
- public Adapter createMIMEMultipartRelatedAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml <em>Mime Xml</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml
- * @generated
- */
- public Adapter createMIMEMimeXmlAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.mime.MIMEPart <em>IMIME Part</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.mime.MIMEPart
- * @generated
- */
- public Adapter createIMIMEPartAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.mime.MIMEMultipartRelated <em>IMIME Multipart Related</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.mime.MIMEMultipartRelated
- * @generated
- */
- public Adapter createIMIMEMultipartRelatedAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.mime.MIMEContent <em>IMIME Content</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.mime.MIMEContent
- * @generated
- */
- public Adapter createIMIMEContentAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.mime.MIMEMimeXml <em>IMIME Mime Xml</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.mime.MIMEMimeXml
- * @generated
- */
- public Adapter createIMIMEMimeXmlAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.WSDLElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.WSDLElement
- * @generated
- */
- public Adapter createWSDLElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.ExtensibilityElement <em>IExtensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.ExtensibilityElement
- * @generated
- */
- public Adapter createIExtensibilityElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.ExtensibilityElement <em>Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement
- * @generated
- */
- public Adapter createExtensibilityElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //MIMEAdapterFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEConstants.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEConstants.java
deleted file mode 100644
index cb0e356ce..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEConstants.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.util;
-
-import org.w3c.dom.Element;
-
-public final class MIMEConstants
-{
- public static final String CONTENT_ELEMENT_TAG = "content";
- public static final String MIME_XML_ELEMENT_TAG = "mimeXml";
- public static final String MULTIPART_RELATED_ELEMENT_TAG = "multipartRelated";
- public static final String PART_ELEMENT_TAG = "part";
-
- public static final String MIME_NAMESPACE_URI = "http://schemas.xmlsoap.org/wsdl/mime/";
-
- public static final String PART_ATTRIBUTE ="part";
- public static final String TYPE_ATTRIBUTE ="type";
-
- public static String getAttribute(Element element, String attributeName)
- {
- return element.hasAttribute(attributeName) ? element.getAttribute(attributeName) : null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEExtensibilityElementFactory.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEExtensibilityElementFactory.java
deleted file mode 100644
index 8a5d7bb65..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEExtensibilityElementFactory.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.util;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.binding.mime.MIMEFactory;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-
-public class MIMEExtensibilityElementFactory implements ExtensibilityElementFactory
-{
- public ExtensibilityElement createExtensibilityElement(String namespace, String localName)
- {
- if (MIMEConstants.MIME_NAMESPACE_URI.equals(namespace))
- {
- if (MIMEConstants.CONTENT_ELEMENT_TAG.equals(localName))
- {
- return MIMEFactory.eINSTANCE.createMIMEContent();
- }
- else if (MIMEConstants.MIME_XML_ELEMENT_TAG.equals(localName))
- {
- return MIMEFactory.eINSTANCE.createMIMEMimeXml();
- }
- else if (MIMEConstants.MULTIPART_RELATED_ELEMENT_TAG.equals(localName))
- {
- return MIMEFactory.eINSTANCE.createMIMEMultipartRelated();
- }
- /* TODO - fix the rose model
- else if ("part".equals(localName))
- {
- return MIMEFactory.eINSTANCE.createMIMEPart();
- }
- */
- else
- {
- //System.out.println("Unhandled localName: " + localName);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
- else
- {
- //System.out.println("Unhandled namespace: " + namespace);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMESwitch.java b/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMESwitch.java
deleted file mode 100644
index 53a56dfaa..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMESwitch.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.mime.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.mime.MIMEContent;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMimeXml;
-import org.eclipse.wst.wsdl.binding.mime.MIMEMultipartRelated;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPackage;
-import org.eclipse.wst.wsdl.binding.mime.MIMEPart;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.mime.MIMEPackage
- * @generated
- */
-public class MIMESwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static MIMEPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MIMESwitch() {
- if (modelPackage == null) {
- modelPackage = MIMEPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject) {
- EClass theEClass = theEObject.eClass();
- if (theEClass.eContainer() == modelPackage) {
- switch (theEClass.getClassifierID()) {
- case MIMEPackage.MIME_CONTENT: {
- MIMEContent mimeContent = (MIMEContent)theEObject;
- Object result = caseMIMEContent(mimeContent);
- if (result == null) result = caseExtensibilityElement(mimeContent);
- if (result == null) result = caseIMIMEContent(mimeContent);
- if (result == null) result = caseWSDLElement(mimeContent);
- if (result == null) result = caseIExtensibilityElement(mimeContent);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case MIMEPackage.MIME_PART: {
- MIMEPart mimePart = (MIMEPart)theEObject;
- Object result = caseMIMEPart(mimePart);
- if (result == null) result = caseExtensibilityElement(mimePart);
- if (result == null) result = caseIMIMEPart(mimePart);
- if (result == null) result = caseWSDLElement(mimePart);
- if (result == null) result = caseIExtensibilityElement(mimePart);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case MIMEPackage.MIME_MULTIPART_RELATED: {
- MIMEMultipartRelated mimeMultipartRelated = (MIMEMultipartRelated)theEObject;
- Object result = caseMIMEMultipartRelated(mimeMultipartRelated);
- if (result == null) result = caseExtensibilityElement(mimeMultipartRelated);
- if (result == null) result = caseIMIMEMultipartRelated(mimeMultipartRelated);
- if (result == null) result = caseWSDLElement(mimeMultipartRelated);
- if (result == null) result = caseIExtensibilityElement(mimeMultipartRelated);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case MIMEPackage.MIME_MIME_XML: {
- MIMEMimeXml mimeMimeXml = (MIMEMimeXml)theEObject;
- Object result = caseMIMEMimeXml(mimeMimeXml);
- if (result == null) result = caseExtensibilityElement(mimeMimeXml);
- if (result == null) result = caseIMIMEMimeXml(mimeMimeXml);
- if (result == null) result = caseWSDLElement(mimeMimeXml);
- if (result == null) result = caseIExtensibilityElement(mimeMimeXml);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
- return defaultCase(theEObject);
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Content</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Content</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseMIMEContent(MIMEContent object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Part</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Part</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseMIMEPart(MIMEPart object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Multipart Related</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Multipart Related</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseMIMEMultipartRelated(MIMEMultipartRelated object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Mime Xml</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Mime Xml</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseMIMEMimeXml(MIMEMimeXml object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IMIME Part</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IMIME Part</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIMIMEPart(javax.wsdl.extensions.mime.MIMEPart object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IMIME Multipart Related</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IMIME Multipart Related</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIMIMEMultipartRelated(javax.wsdl.extensions.mime.MIMEMultipartRelated object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IMIME Content</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IMIME Content</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIMIMEContent(javax.wsdl.extensions.mime.MIMEContent object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IMIME Mime Xml</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IMIME Mime Xml</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIMIMEMimeXml(javax.wsdl.extensions.mime.MIMEMimeXml object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWSDLElement(WSDLElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIExtensibilityElement(ExtensibilityElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object) {
- return null;
- }
-
-} //MIMESwitch
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/model/SOAP.genmodel b/bundles/org.eclipse.wst.wsdl/src-soap/model/SOAP.genmodel
deleted file mode 100644
index bc441cf82..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/model/SOAP.genmodel
+++ /dev/null
@@ -1,429 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/com.ibm.etools.wsdl.binding.soap/src"
- editDirectory="/com.ibm.etools.wsdl.binding.soap.edit/src" editorDirectory="/com.ibm.etools.wsdl.binding.soap.editor/src"
- modelPluginID="com.ibm.etools.wsdl.binding.soap" modelName="SOAP" editPluginClass=""
- editorPluginClass="" usedGenPackages="../../../org.eclipse.xsd/src/model/XSD.genmodel#//xsd">
- <foreignModel>..\rose\soap.mdl</foreignModel>
- <foreignModel>VABASE_PLUGINS_PATH</foreignModel>
- <foreignModel>../../..</foreignModel>
- <genPackages prefix="SOAP" basePackage="com.ibm.etools.wsdl.binding" ecorePackage="soap.ecore#/">
- <genDataTypes ecoreDataType="soap.ecore#//IString"/>
- <genClasses ecoreClass="soap.ecore#//SOAPBinding">
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPBinding/transportURI"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPBinding/style"/>
- </genClasses>
- <genClasses ecoreClass="soap.ecore#//SOAPBody">
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPBody/use"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPBody/namespaceURI"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPBody/encodingStyles"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference soap.ecore#//SOAPBody/parts"/>
- </genClasses>
- <genClasses ecoreClass="soap.ecore#//SOAPHeaderBase">
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPHeaderBase/use"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPHeaderBase/namespaceURI"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPHeaderBase/encodingStyles"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference soap.ecore#//SOAPHeaderBase/message"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference soap.ecore#//SOAPHeaderBase/part"/>
- </genClasses>
- <genClasses ecoreClass="soap.ecore#//SOAPFault">
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPFault/use"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPFault/namespaceURI"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPFault/encodingStyles"/>
- </genClasses>
- <genClasses ecoreClass="soap.ecore#//SOAPOperation">
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPOperation/soapActionURI"/>
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPOperation/style"/>
- </genClasses>
- <genClasses ecoreClass="soap.ecore#//SOAPAddress">
- <genFeatures ecoreFeature="ecore:EAttribute soap.ecore#//SOAPAddress/locationURI"/>
- </genClasses>
- <genClasses ecoreClass="soap.ecore#//SOAPHeaderFault"/>
- <genClasses ecoreClass="soap.ecore#//SOAPHeader">
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference soap.ecore#//SOAPHeader/headerFaults"/>
- </genClasses>
- </genPackages>
- <genPackages prefix="WSDL" basePackage="com.ibm.etools" ecorePackage="wsdl.ecore#/">
- <genDataTypes ecoreDataType="wsdl.ecore#//QName"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//OperationType"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMElement"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//WSDLException"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMDocument"/>
- <genClasses ecoreClass="wsdl.ecore#//WSDLElement">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/documentationElement"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/element"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/getEnclosingDefinition"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/setEnclosingDefinition">
- <genParameters ecoreParameter="wsdl.ecore#//WSDLElement/setEnclosingDefinition/definition"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//PortType">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/qName"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/undefined"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/proxy"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/resourceURI"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//PortType/eOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Operation">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/style"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/name"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/undefined"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/proxy"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/resourceURI"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eInput"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eOutput"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eFaults"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eParameterOrdering"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Message">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/qName"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/undefined"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/proxy"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/resourceURI"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Message/eParts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Part">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/name"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/elementName"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/typeName"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/typeDefinition"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/elementDeclaration"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/eMessage"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Binding">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/qName"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/undefined"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/proxy"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/resourceURI"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/ePortType"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/eBindingOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOperation">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOperation/name"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eOperation"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingInput"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingOutput"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingFaults"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Service">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/qName"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/undefined"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/proxy"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/resourceURI"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Service/ePorts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Port">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Port/name"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Port/eBinding"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibilityElement">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/required"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/elementType"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Definition">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/targetNamespace"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/location"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/qName"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/encoding"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eMessages"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/ePortTypes"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eBindings"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eServices"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eNamespaces"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eTypes"/>
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eImports"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/getDocument"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/setDocument">
- <genParameters ecoreParameter="wsdl.ecore#//Definition/setDocument/document"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Import">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/namespaceURI"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/locationURI"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eDefinition"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/getSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/setSchema">
- <genParameters ecoreParameter="wsdl.ecore#//Import/setSchema/schema"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibleElement">
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//ExtensibleElement/eExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/getExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/addExtensibilityElement">
- <genParameters ecoreParameter="wsdl.ecore#//ExtensibleElement/addExtensibilityElement/extElement"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Input"/>
- <genClasses ecoreClass="wsdl.ecore#//Output"/>
- <genClasses ecoreClass="wsdl.ecore#//Fault"/>
- <genClasses ecoreClass="wsdl.ecore#//BindingInput">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingInput/name"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingInput/eInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingInput/setInput/input"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOutput">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOutput/name"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOutput/eOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingOutput/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingFault">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingFault/name"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingFault/eFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/getFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/setFault">
- <genParameters ecoreParameter="wsdl.ecore#//BindingFault/setFault/fault"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Namespace">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/URI"/>
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/prefix"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPortType">
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/addOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/addOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/addFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/addFault/fault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/getFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getParameterOrdering"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setParameterOrdering">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setParameterOrdering/parameterOrder"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setInput/input"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IInput">
- <genOperations ecoreOperation="wsdl.ecore#//IInput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IInput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IInput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOutput">
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IOutput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IFault">
- <genOperations ecoreOperation="wsdl.ecore#//IFault/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IFault/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IFault/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IMessage">
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/addPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/addPart/part"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getPart/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getParts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getOrderedParts">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getOrderedParts/partOrder"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPart">
- <genOperations ecoreOperation="wsdl.ecore#//IPart/setExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/value"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttributeNames"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/getExtensionAttribute/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IService">
- <genOperations ecoreOperation="wsdl.ecore#//IService/addPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/addPort/port"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPorts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/getPort/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPort">
- <genOperations ecoreOperation="wsdl.ecore#//IPort/getBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPort/setBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IPort/setBinding/binding"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBinding">
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/addBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/addBindingOperation/bindingOperation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperations"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/setPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/setPortType/portType"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/addBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/addBindingFault/bindingFault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/getBindingFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingInput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingInput/bindingInput"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingOutput/bindingOutput"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingInput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOutput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingFault"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensibilityElement"/>
- <genClasses ecoreClass="wsdl.ecore#//IDefinition">
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addBinding/binding"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addImport">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addImport/importDef"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addMessage/message"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/prefix"/>
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addPortType/portType"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addService/service"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createImport"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPart"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPort"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createService"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBindings"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports.1">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getImports.1/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessages"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getNamespace/prefix"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespaces"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPrefix">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPrefix/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getServices"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getExtensionRegistry"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setExtensionRegistry">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setExtensionRegistry/extensionRegistry"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getDocumentBaseURI"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setDocumentBaseURI">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setDocumentBaseURI/documentBase"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removePortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removePortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setTypes">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setTypes/types"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IImport"/>
- <genClasses ecoreClass="wsdl.ecore#//IList"/>
- <genClasses ecoreClass="wsdl.ecore#//IMap"/>
- <genClasses ecoreClass="wsdl.ecore#//IURL"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensionRegistry"/>
- <genClasses ecoreClass="wsdl.ecore#//Types">
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas"/>
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas.1">
- <genParameters ecoreParameter="wsdl.ecore#//Types/getSchemas.1/namespaceURI"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IIterator"/>
- <genClasses ecoreClass="wsdl.ecore#//ITypes"/>
- <genClasses ecoreClass="wsdl.ecore#//UnknownExtensibilityElement">
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//UnknownExtensibilityElement/parent"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//UnknownExtensibilityElement/children"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//XSDSchemaExtensibilityElement">
- <genFeatures property="None" children="true" ecoreFeature="ecore:EReference wsdl.ecore#//XSDSchemaExtensibilityElement/schema"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//MessageReference">
- <genFeatures ecoreFeature="ecore:EAttribute wsdl.ecore#//MessageReference/name"/>
- <genFeatures notify="false" ecoreFeature="ecore:EReference wsdl.ecore#//MessageReference/eMessage"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/model/com.ibm.etools.wsdl.bindings.SOAP.cat b/bundles/org.eclipse.wst.wsdl/src-soap/model/com.ibm.etools.wsdl.bindings.SOAP.cat
deleted file mode 100644
index a2b034f9c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/model/com.ibm.etools.wsdl.bindings.SOAP.cat
+++ /dev/null
@@ -1,945 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Class_Category "soap"
- is_unit TRUE
- is_loaded TRUE
- quid "3A01CF0C01A2"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "SOAPBinding"
- quid "3A01D3B901AD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A3801AB"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "transportURI"
- quid "3A01D3DF01E4"
- type "String")
- (object ClassAttribute "style"
- quid "3A01D3F1029E"
- type "String"))
- language "Java")
- (object Class "SOAPBody"
- quid "3A01DED5031F"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A450041"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "use"
- quid "3A01E2D501A5"
- type "String")
- (object ClassAttribute "namespaceURI"
- quid "3A93477C01B2"
- type "String")
- (object ClassAttribute "encodingStyles"
- quid "3EE4A4DB0072"
- stereotype "0..*"
- type "IString"))
- language "Java")
- (object Class "SOAPHeaderBase"
- quid "3A01DEE7034D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A3E0326"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "use"
- quid "3AD62E9C0056"
- type "String")
- (object ClassAttribute "namespaceURI"
- quid "3AD62EA2025D"
- type "String")
- (object ClassAttribute "encodingStyles"
- quid "3EE4A58F01AE"
- stereotype "0..*"
- type "IString"))
- language "Java")
- (object Class "SOAPFault"
- quid "3A06D9FA00F7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A4A0020"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "use"
- quid "3A09821A012B"
- type "String")
- (object ClassAttribute "namespaceURI"
- quid "3AD6204803AE"
- type "String")
- (object ClassAttribute "encodingStyles"
- quid "3EE4A56303AF"
- stereotype "0..*"
- type "IString"))
- language "Java")
- (object Class "SOAPOperation"
- quid "3A0AD45500E8"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A4E031F"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "soapActionURI"
- quid "3A0AD464004A"
- type "String")
- (object ClassAttribute "style"
- quid "3A0AD46C018C"
- type "String"))
- language "Java")
- (object Class "SOAPAddress"
- quid "3AD1FF750287"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE095350098"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "locationURI"
- quid "3AD211C9025C"
- type "String"))
- language "Java")
- (object Class "SOAPHeaderFault"
- quid "3AD632B803DD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD633340038"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D"))
- language "Java")
- (object Class "SOAPHeader"
- quid "3AD63309016D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD63330017D"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D"))
- language "Java")
- (object Class "IString"
- quid "3B8DD90C0220"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.lang.String"
- quid "3B8DD9320383"
- stereotype "javaclass")))
- (object Association "$UNNAMED$0"
- quid "3A06E0B50036"
- roles (list role_list
- (object Role "$UNNAMED$1"
- quid "3A06E0B600C4"
- supplier "Logical View::soap::SOAPBody"
- quidu "3A01DED5031F")
- (object Role "parts"
- quid "3A06E0B600C5"
- label "parts"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$2"
- quid "3AD62DE60130"
- roles (list role_list
- (object Role "message"
- quid "3AD62DE7004B"
- label "message"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$3"
- quid "3AD62DE70055"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D")))
- (object Association "$UNNAMED$4"
- quid "3AD62DF802D1"
- roles (list role_list
- (object Role "part"
- quid "3AD62DFA0002"
- label "part"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$5"
- quid "3AD62DFA0003"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D")))
- (object Association "$UNNAMED$6"
- quid "3AD6333701CD"
- roles (list role_list
- (object Role "$UNNAMED$7"
- quid "3AD633370372"
- supplier "Logical View::soap::SOAPHeader"
- quidu "3AD63309016D"
- is_aggregate TRUE)
- (object Role "headerFaults"
- quid "3AD633370373"
- label "headerFaults"
- supplier "Logical View::soap::SOAPHeaderFault"
- quidu "3AD632B803DD"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Binding"
- quid "3A01CF23029F"
- title "Binding"
- zoom 87
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 324
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::soap::SOAPBinding" @1
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 208)
- label (object ItemLabel
- Parent_View @1
- location (55, 100)
- fill_color 13434879
- nlines 1
- max_width 434
- justify 0
- label "SOAPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01D3B901AD"
- width 452
- height 240
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPOperation" @2
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 208)
- label (object ItemLabel
- Parent_View @2
- location (803, 100)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "SOAPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A0AD45500E8"
- width 492
- height 240
- annotation 8)
- (object ClassView "Class" "Logical View::soap::SOAPHeader" @3
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (560, 960)
- label (object ItemLabel
- Parent_View @3
- location (395, 907)
- fill_color 13434879
- nlines 1
- max_width 330
- justify 0
- label "SOAPHeader")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD63309016D"
- width 348
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPHeaderFault" @4
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 960)
- label (object ItemLabel
- Parent_View @4
- location (1142, 907)
- fill_color 13434879
- nlines 1
- max_width 436
- justify 0
- label "SOAPHeaderFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD632B803DD"
- width 454
- height 130
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$6" @5
- location (933, 961)
- stereotype TRUE
- line_color 3342489
- quidu "3AD6333701CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$7" @6
- Parent_View @5
- location (277, -543)
- stereotype TRUE
- line_color 3342489
- quidu "3AD633370372"
- client @5
- supplier @3
- line_style 3
- origin_attachment (933, 961)
- terminal_attachment (734, 961))
- (object RoleView "headerFaults" @7
- Parent_View @5
- location (277, -543)
- label (object SegLabel @8
- Parent_View @7
- location (928, 921)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 346
- justify 0
- label "+headerFaults"
- pctDist -0.030702
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD633370373"
- client @5
- supplier @4
- line_style 3
- origin_attachment (933, 961)
- terminal_attachment (1133, 961)
- label (object SegLabel @9
- Parent_View @7
- location (1080, 924)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.736842
- height 38
- orientation 0)
- label (object SegLabel @10
- Parent_View @7
- location (1056, 999)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 151
- justify 0
- label "{ordered}"
- pctDist 0.614035
- height 38
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Message" @11
- ShowCompartmentStereotypes TRUE
- location (1824, 496)
- label (object ItemLabel
- Parent_View @11
- location (1701, 419)
- fill_color 13434879
- nlines 1
- max_width 246
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 264
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPHeaderBase" @12
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 528)
- label (object ItemLabel
- Parent_View @12
- location (794, 420)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "SOAPHeaderBase")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DEE7034D"
- width 510
- height 240
- annotation 8)
- (object AssociationViewNew "$UNNAMED$2" @13
- location (1493, 485)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DE60130"
- roleview_list (list RoleViews
- (object RoleView "message" @14
- Parent_View @13
- location (341, -683)
- label (object SegLabel @15
- Parent_View @14
- location (1574, 515)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 256
- justify 0
- label "+message"
- pctDist 0.412322
- height 30
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DE7004B"
- client @13
- supplier @11
- line_style 3
- origin_attachment (1493, 485)
- terminal_attachment (1692, 485)
- label (object SegLabel @16
- Parent_View @14
- location (1630, 448)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.687204
- height 38
- orientation 0))
- (object RoleView "$UNNAMED$3" @17
- Parent_View @13
- location (341, -683)
- label (object SegLabel @18
- Parent_View @17
- location (1420, 525)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.372254
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DE70055"
- client @13
- supplier @12
- line_style 3
- origin_attachment (1493, 485)
- terminal_attachment (1295, 485))))
- (object ClassView "Class" "Logical View::soap::SOAPBody" @19
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1344)
- label (object ItemLabel
- Parent_View @19
- location (794, 1236)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "SOAPBody")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DED5031F"
- width 510
- height 240
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @20
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1824, 1200)
- label (object ItemLabel
- Parent_View @20
- location (1628, 956)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 410
- height 512
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$4" @21
- location (1590, 704)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DF802D1"
- roleview_list (list RoleViews
- (object RoleView "part" @22
- Parent_View @21
- location (438, -464)
- label (object SegLabel @23
- Parent_View @22
- location (1917, 886)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+part"
- pctDist 0.881465
- height 90
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DFA0002"
- client @21
- supplier @20
- vertices (list Points
- (1590, 704)
- (1827, 704)
- (1827, 944))
- line_style 3
- origin_attachment (1590, 704)
- terminal_attachment (1827, 944)
- label (object SegLabel @24
- Parent_View @22
- location (1774, 886)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.881465
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$5" @25
- Parent_View @21
- location (438, -464)
- label (object SegLabel @26
- Parent_View @25
- location (1209, 746)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DFA0003"
- client @21
- supplier @12
- vertices (list Points
- (1590, 704)
- (1170, 704)
- (1170, 648))
- line_style 3
- origin_attachment (1590, 704)
- terminal_attachment (1170, 648))))
- (object AssociationViewNew "$UNNAMED$0" @27
- location (1457, 1390)
- stereotype TRUE
- line_color 3342489
- quidu "3A06E0B50036"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$1" @28
- Parent_View @27
- location (225, -914)
- stereotype TRUE
- line_color 3342489
- quidu "3A06E0B600C4"
- client @27
- supplier @19
- line_style 3
- origin_attachment (1457, 1390)
- terminal_attachment (1295, 1390))
- (object RoleView "parts" @29
- Parent_View @27
- location (225, -914)
- label (object SegLabel @30
- Parent_View @29
- location (1591, 1494)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 159
- justify 0
- label "+parts"
- pctDist 0.833856
- height 104
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3A06E0B600C5"
- client @27
- supplier @20
- line_style 3
- origin_attachment (1457, 1390)
- terminal_attachment (1619, 1390)
- label (object SegLabel @31
- Parent_View @29
- location (1591, 1344)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.833856
- height 47
- orientation 0))))
- (object ClassView "Class" "Logical View::soap::SOAPFault" @32
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1648)
- label (object ItemLabel
- Parent_View @32
- location (794, 1540)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "SOAPFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A06D9FA00F7"
- width 510
- height 240
- annotation 8)
- (object ClassView "Class" "Logical View::soap::IString" @33
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (240, 1360)
- label (object ItemLabel
- Parent_View @33
- location (66, 1332)
- fill_color 13434879
- nlines 1
- max_width 348
- justify 0
- label "IString")
- stereotype (object ItemLabel
- Parent_View @33
- location (66, 1282)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 348
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8DD90C0220"
- width 366
- height 180
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @34
- location (1040, 750)
- line_color 3342489
- fill_color 13434879
- supplier @12
- vertices (list Points
- (1040, 750)
- (1040, 648)))
- (object InheritView "" @35
- stereotype TRUE
- line_color 3342489
- quidu "3AD63330017D"
- client @3
- supplier @12
- line_style 3
- origin_attachment (645, 895)
- terminal_attachment (645, 750)
- drawSupplier @34)
- (object InheritView "" @36
- stereotype TRUE
- line_color 3342489
- quidu "3AD633340038"
- client @4
- supplier @12
- line_style 3
- origin_attachment (1316, 895)
- terminal_attachment (1316, 750)
- drawSupplier @34)))
- (object ClassDiagram "Port"
- quid "3A085E30035C"
- title "Port"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::soap::SOAPAddress" @37
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 320)
- label (object ItemLabel
- Parent_View @37
- location (151, 239)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "SOAPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD1FF750287"
- width 420
- height 186
- annotation 8
- autoResize TRUE)))
- (object ClassDiagram "Extensibility"
- quid "3AE099B10161"
- title "Extensibility"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::soap::SOAPAddress" @38
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1520, 576)
- label (object ItemLabel
- Parent_View @38
- location (1371, 527)
- fill_color 13434879
- nlines 1
- max_width 298
- justify 0
- label "SOAPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD1FF750287"
- width 316
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPBinding" @39
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (304, 592)
- label (object ItemLabel
- Parent_View @39
- location (162, 543)
- fill_color 13434879
- nlines 1
- max_width 284
- justify 0
- label "SOAPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01D3B901AD"
- width 302
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPBody" @40
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1072, 1104)
- label (object ItemLabel
- Parent_View @40
- location (950, 1055)
- fill_color 13434879
- nlines 1
- max_width 244
- justify 0
- label "SOAPBody")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DED5031F"
- width 262
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPFault" @41
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1232, 1264)
- label (object ItemLabel
- Parent_View @41
- location (1112, 1215)
- fill_color 13434879
- nlines 1
- max_width 240
- justify 0
- label "SOAPFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A06D9FA00F7"
- width 258
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPOperation" @42
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (512, 752)
- label (object ItemLabel
- Parent_View @42
- location (344, 703)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "SOAPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A0AD45500E8"
- width 354
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPHeaderBase" @43
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (816, 928)
- label (object ItemLabel
- Parent_View @43
- location (627, 879)
- fill_color 13434879
- nlines 1
- max_width 378
- justify 0
- label "SOAPHeaderBase")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DEE7034D"
- width 396
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @44
- ShowCompartmentStereotypes TRUE
- location (608, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @44
- location (408, 53)
- fill_color 13434879
- nlines 1
- max_width 400
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 418
- height 174
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @45
- location (608, 305)
- line_color 3342489
- fill_color 13434879
- supplier @44
- vertices (list Points
- (608, 305)
- (608, 215)))
- (object InheritView "" @46
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A3801AB"
- client @39
- supplier @44
- line_style 3
- origin_attachment (344, 531)
- terminal_attachment (344, 305)
- drawSupplier @45)
- (object InheritView "" @47
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A3E0326"
- client @43
- supplier @44
- line_style 3
- origin_attachment (815, 867)
- terminal_attachment (815, 305)
- drawSupplier @45)
- (object InheritView "" @48
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A450041"
- client @40
- supplier @44
- line_style 3
- origin_attachment (1068, 1043)
- terminal_attachment (1068, 305)
- drawSupplier @45)
- (object InheritView "" @49
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A4E031F"
- client @42
- supplier @44
- line_style 3
- origin_attachment (506, 691)
- terminal_attachment (506, 305)
- drawSupplier @45)
- (object InheritView "" @50
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A4A0020"
- client @41
- supplier @44
- line_style 3
- origin_attachment (1231, 1203)
- terminal_attachment (1231, 305)
- drawSupplier @45)
- (object InheritView "" @51
- stereotype TRUE
- line_color 3342489
- quidu "3AE095350098"
- client @38
- supplier @44
- line_style 3
- origin_attachment (1520, 515)
- terminal_attachment (1520, 305)
- drawSupplier @45)))))
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/model/soap.ecore b/bundles/org.eclipse.wst.wsdl/src-soap/model/soap.ecore
deleted file mode 100644
index 17aecb86f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/model/soap.ecore
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="soap"
- nsURI="http://www.ibm.com/wsdl/2003/SOAP" nsPrefix="soap">
- <eClassifiers xsi:type="ecore:EClass" name="SOAPBinding" eSuperTypes="wsdl.ecore#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="transportURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SOAPBody" eSuperTypes="wsdl.ecore#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="use" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="encodingStyles" upperBound="-1"
- eType="#//IString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="parts" upperBound="-1"
- eType="ecore:EClass wsdl.ecore#//Part"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SOAPHeaderBase" eSuperTypes="wsdl.ecore#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="use" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="encodingStyles" upperBound="-1"
- eType="#//IString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="message" lowerBound="1"
- eType="ecore:EClass wsdl.ecore#//Message"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="part" lowerBound="1" eType="ecore:EClass wsdl.ecore#//Part"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SOAPFault" eSuperTypes="wsdl.ecore#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="use" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="encodingStyles" upperBound="-1"
- eType="#//IString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SOAPOperation" eSuperTypes="wsdl.ecore#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="soapActionURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SOAPAddress" eSuperTypes="wsdl.ecore#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="locationURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SOAPHeaderFault" eSuperTypes="#//SOAPHeaderBase"/>
- <eClassifiers xsi:type="ecore:EClass" name="SOAPHeader" eSuperTypes="#//SOAPHeaderBase">
- <eStructuralFeatures xsi:type="ecore:EReference" name="headerFaults" upperBound="-1"
- eType="#//SOAPHeaderFault" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="IString" instanceClassName="java.lang.String"/>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/model/soap.mdl b/bundles/org.eclipse.wst.wsdl/src-soap/model/soap.mdl
deleted file mode 100644
index 43d0aa9b4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/model/soap.mdl
+++ /dev/null
@@ -1,32688 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Design "Logical View"
- is_unit TRUE
- is_loaded TRUE
- defaults (object defaults
- rightMargin 0.250000
- leftMargin 0.250000
- topMargin 0.250000
- bottomMargin 0.500000
- pageOverlap 0.250000
- clipIconLabels TRUE
- autoResize TRUE
- snapToGrid TRUE
- gridX 16
- gridY 16
- defaultFont (object Font
- size 10
- face "Arial"
- bold FALSE
- italics FALSE
- underline FALSE
- strike FALSE
- color 0
- default_color TRUE)
- showMessageNum 1
- showClassOfObject TRUE
- notation "Unified")
- root_usecase_package (object Class_Category "Use Case View"
- quid "39E27F080064"
- exportControl "Public"
- global TRUE
- logical_models (list unit_reference_list)
- logical_presentations (list unit_reference_list
- (object UseCaseDiagram "Main"
- quid "39E27F080078"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- root_category (object Class_Category "Logical View"
- quid "39E27F080063"
- exportControl "Public"
- global TRUE
- subsystem "Component View"
- quidu "39E27F080065"
- logical_models (list unit_reference_list
- (object Class_Category "wsdl"
- quid "3ADFB8E5021E"
- documentation
-|The WSDL model contains classes for the Web Services Description Language (WSDL).
-|
-|WSDL describes network services as sets of endpoints operating on messages. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
-|
-|WSDL describes the formats of the messages exchanged by the services, and supports the XML Schemas specification as its canonical type system. This package uses an XML Schema Infoset model package (see the XSD package) to describe the abstract message formats.
-|
-|The model contains the following diagrams, named after the corresponding chapters in the WSDL 1.1 specification (http://www.w3.org/TR/2001/NOTE-wsdl-20010315)
-|- 2.1 Definition, shows the WSDL definition element and the WSDL document structure
-|- 2.1.1 Naming and Linking, shows the namespace and import mechanism
-|- 2.1.3 Extensibility, shows the WSDL extensibility mechanism
-|- 2.2 Types, shows the use of XML Schema types in WSDL
-|- 2.3 Messages, 2.4 PortTypes, 2.5 Bindings and 2.7 Services, show the major WSDL elements and their relations.
-|
-|The WSDL classes extend the javax.wsdl interfaces defined by JSR 110. Classes with interface and datatype stereotypes are used to represent these non-MOF interfaces.
-
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "WSDLElement"
- quid "3AD5C6A302DD"
- documentation "This class represents a WSDL language element."
- operations (list Operations
- (object Operation "getEnclosingDefinition"
- quid "3CD1529600C8"
- result "Definition"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setEnclosingDefinition"
- quid "3CD152B80347"
- parameters (list Parameters
- (object Parameter "definition"
- type "Definition"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "documentationElement"
- quid "3CCE443602A3"
- type "DOMElement")
- (object ClassAttribute "element"
- quid "3F97DBD30207"
- type "DOMElement"))
- language "Java"
- abstract TRUE)
- (object Class "PortType"
- quid "3AD5C7F001A5"
- documentation "This class represents a WSDL portType element of the WSDL specification version 1.1 and an Interface component of the WSDL specification version 1.2. A port type or Interface is a named set of abstract operations and the abstract messages involved."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5C9B70150"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FD8019F"
- supplier "Logical View::wsdl::IPortType"
- quidu "3B84A5BE0331"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB488E0023"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1E301E5"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CDEB0316"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4FD01BA"
- type "String"))
- language "Java")
- (object Class "Operation"
- quid "3AD5C80D03CE"
- documentation "This class represents a WSDL operation element. A WSDL operation is an abstract description of an action supported by a service."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE9DE98003C"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FE20171"
- supplier "Logical View::wsdl::IOperation"
- quidu "3B84A77600D1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "style"
- quid "3AEB472601AC"
- type "OperationType")
- (object ClassAttribute "name"
- quid "3BDD9643004C"
- type "String")
- (object ClassAttribute "undefined"
- quid "3BDDF235003E"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE2201AD"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D520011B"
- type "String"))
- language "Java")
- (object Class "Message"
- quid "3AD5C9590078"
- documentation "This class represents a WSDL message element. A WSDL message is an abstract, typed definition of the data being communicated."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5D05501C4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3B84A8D102BA"
- supplier "Logical View::wsdl::IMessage"
- quidu "3B84A8AF004F"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB487C01FE"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1D20226"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE4B02B0"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D54200F1"
- type "String"))
- language "Java")
- (object Class "Part"
- quid "3AD5CE1C032E"
- documentation "This class represents a WSDL part element. Parts describe the logical abstract content of a message. Each part is associated with a type from some type system. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84A96D02F1"
- supplier "Logical View::wsdl::IPart"
- quidu "3B84A93F01BE")
- (object Inheritance_Relationship
- quid "3B897E230237"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3BCE70B703C8"
- type "String")
- (object ClassAttribute "elementName"
- quid "3B84B08703DB"
- type "QName")
- (object ClassAttribute "typeName"
- quid "3BCE70C303C5"
- type "QName"))
- language "Java")
- (object Class "Binding"
- quid "3AD5D2860261"
- documentation "This class represents a WSDL binding element. A binding defines message format and protocol details for operations and messages defined by a particular portType. There may be any number of bindings for a given portType."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA0F02F0"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B8595410129"
- supplier "Logical View::wsdl::IBinding"
- quidu "3B84ABC60219"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB4899014B"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1F401A3"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE6D0151"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4DF035C"
- type "String"))
- language "Java")
- (object Class "BindingOperation"
- quid "3AD5D3CB0145"
- documentation "This class represents a WSDL operation element within a binding. An operation element within a binding specifies binding information for the operation with the same name within the binding's portType. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD6009202F7"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84ADE401DC"
- supplier "Logical View::wsdl::IBindingOperation"
- quidu "3B84ADC00072"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B89C4CB0199"
- type "String"))
- language "Java")
- (object Class "Service"
- quid "3AD5D8F002F8"
- documentation "This class represents a WSDL service element. A service groups a set of related ports together."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA20025E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954E01B4"
- supplier "Logical View::wsdl::IService"
- quidu "3B84AB490287"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB48A40151"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF20D0203"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18D4810220"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4C501E2"
- type "String"))
- language "Java")
- (object Class "Port"
- quid "3AD5D9170286"
- documentation "This class represents a WSDL port element. A port defines an individual endpoint by specifying a single address for a binding"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD600CB00AA"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954502C9"
- supplier "Logical View::wsdl::IPort"
- quidu "3B84AB800326"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3AD5D9A00391"
- type "String"))
- language "Java")
- (object Class "ExtensibilityElement"
- quid "3AD5DBB602A9"
- documentation "This class represents a WSDL extensibility element. WSDL allows extensibility elements representing a specific technology under various elements defined by WSDL."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84B14903D0"
- supplier "Logical View::wsdl::IExtensibilityElement"
- quidu "3B84B12402AB")
- (object Inheritance_Relationship
- quid "3BDDF53502C3"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3AF9543C0073"
- type "boolean")
- (object ClassAttribute "elementType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B85B21A0271"
- type "QName"))
- language "Java")
- (object Class "Definition"
- quid "3AD5E43F008E"
- documentation "This class represents a WSDL definitions element. The WSDL definitions element is the root element of a WSDL document."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FDB803D4"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84B1F80382"
- supplier "Logical View::wsdl::IDefinition"
- quidu "3B84B1D90142"))
- operations (list Operations
- (object Operation "getDocument"
- quid "3CD14FC2012B"
- result "DOMDocument"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocument"
- quid "3CD150DE01E7"
- parameters (list Parameters
- (object Parameter "document"
- type "DOMDocument"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "targetNamespace"
- quid "3AD5E474004E"
- type "String")
- (object ClassAttribute "location"
- quid "40352B7C0396"
- type "String")
- (object ClassAttribute "qName"
- quid "3AEB485702F5"
- type "QName")
- (object ClassAttribute "encoding"
- quid "3CADD00D000D"
- type "String"))
- language "Java")
- (object Class "Import"
- quid "3AD5E4F903DE"
- documentation "This class represents WSDL import element. WSDL allows associating a namespace with a document location using an import element."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5EE58037A"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F200D0340"
- supplier "Logical View::wsdl::IImport"
- quidu "3B84B2020119"))
- operations (list Operations
- (object Operation "getSchema"
- quid "3C8672C10379"
- result "XSDSchema"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setSchema"
- quid "3C8672C10397"
- parameters (list Parameters
- (object Parameter "schema"
- type "XSDSchema"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceURI"
- quid "3AD5E50A0036"
- type "String")
- (object ClassAttribute "locationURI"
- quid "3AD5E5140211"
- type "String"))
- language "Java")
- (object Class "ExtensibleElement"
- quid "3AD5FCFA033A"
- documentation " WSDL allows elements representing a specific technology (referred to here as extensibility elements) under various elements defined by WSDL. This class represents a WSDL point of extensibility."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FE3C03D4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- operations (list Operations
- (object Operation "getExtensibilityElements"
- quid "3B85C12C03CD"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addExtensibilityElement"
- quid "3B85C1470295"
- parameters (list Parameters
- (object Parameter "extElement"
- type "IExtensibilityElement"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java"
- abstract TRUE)
- (object Class "Input"
- quid "3AE0789F0059"
- documentation "This class represents a WSDL input element. An input element specifies the abstract message format for the input of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C504025F"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67722802E7"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FEE031D"
- supplier "Logical View::wsdl::IInput"
- quidu "3B84A7EE0015"))
- language "Java")
- (object Class "Output"
- quid "3AE078B60232"
- documentation "This class represents a WSDL output element. An output element specifies the abstract message format for the output of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C50C035B"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723500DD"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FF801CD"
- supplier "Logical View::wsdl::IOutput"
- quidu "3B84A829027D"))
- language "Java")
- (object Class "Fault"
- quid "3AE078BE0108"
- documentation "This class represents a WSDL fault element. Fault elements specify the abstract message format for any error messages that may be output as the result of the operation "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE1C82002F2"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723D0319"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F2002002D"
- supplier "Logical View::wsdl::IFault"
- quidu "3B84A861031D"))
- language "Java")
- (object Class "BindingInput"
- quid "3AE08A8202D4"
- documentation "This class represents a WSDL input element within a operation within a binding. An input element within an operation within a binding specifies binding information for the input of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE1B0113"
- supplier "Logical View::wsdl::IBindingInput"
- quidu "3B84ADEB0100")
- (object Inheritance_Relationship
- quid "3B85B59B0072"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getInput"
- quid "3C8653A40203"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8653B503A2"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C1EA020E"
- type "String"))
- language "Java")
- (object Class "BindingOutput"
- quid "3AE08A8F028C"
- documentation "This class represents a WSDL output element within a operation within a binding. An output element within an operation within a binding specifies binding information for the output of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE4302AB"
- supplier "Logical View::wsdl::IBindingOutput"
- quidu "3B84AE210111")
- (object Inheritance_Relationship
- quid "3B85B5A4027E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getOutput"
- quid "3C8653D900F1"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8653F10326"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C20200BE"
- type "String"))
- language "Java")
- (object Class "BindingFault"
- quid "3AE08A9E03A6"
- documentation "This class represents a WSDL fault element within a operation within a binding. A fault element within an operation within a binding specifies binding information for the fault with the same name. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE0938602C9"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84AE710333"
- supplier "Logical View::wsdl::IBindingFault"
- quidu "3B84AE4F00BD"))
- operations (list Operations
- (object Operation "getFault"
- quid "3C865413037F"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setFault"
- quid "3C8654210109"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85BF9E014A"
- type "String"))
- language "Java")
- (object Class "QName"
- quid "3AE8ED220140"
- documentation "This class represents the javax.wsdl.QName class. A QName is a fully qualified name."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.xml.namespace.QName"
- quid "3B849DA9003D"
- stereotype "javaclass"))
- language "Java")
- (object Class "Namespace"
- quid "3AEA3CD30030"
- documentation "This class represents a namespace and the corresponding namespace prefix used in a WSDL document."
- class_attributes (list class_attribute_list
- (object ClassAttribute "URI"
- quid "3AEA3D2901B1"
- type "String")
- (object ClassAttribute "prefix"
- quid "3AEA3D320236"
- type "String"))
- language "Java")
- (object Class "OperationType"
- quid "3AEB4782024F"
- documentation
-|ONE_WAY=1
-|REQUEST_RESPONSE=2
-|SOLICIT_RESPONSE=3
-|NOTIFICATION=4
-
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.OperationType"
- quid "3B85C35303E3"
- stereotype "javaclass"))
- language "Java")
- (object Class "IPortType"
- quid "3B84A5BE0331"
- documentation "This class represents the javax.wsdl.PortType non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addOperation"
- quid "3B896AC101CA"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3B896BAF01A4"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperations"
- quid "3B896BF7031A"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.PortType"
- quid "3B84A632000D"
- stereotype "javaclass")))
- (object Class "IOperation"
- quid "3B84A77600D1"
- documentation "This class represents the javax.wsdl.Operation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addFault"
- quid "3B896C420065"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFault"
- quid "3B896C59028F"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFaults"
- quid "3B896C7102B1"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParameterOrdering"
- quid "3B896C8101B0"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setParameterOrdering"
- quid "3B896C99031D"
- parameters (list Parameters
- (object Parameter "parameterOrder"
- type "IList"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getInput"
- quid "3C8654E5018D"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8662C40107"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOutput"
- quid "3C8662E40094"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8662F001D2"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Operation"
- quid "3B84A799012B"
- stereotype "javaclass")))
- (object Class "IInput"
- quid "3B84A7EE0015"
- documentation "This class represents the javax.wsdl.Input non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86633100EF"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8663470277"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Input"
- quid "3B84A8000039"
- stereotype "javaclass")))
- (object Class "IOutput"
- quid "3B84A829027D"
- documentation "This class represents the javax.wsdl.Output non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86643A035D"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C86644501C8"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Output"
- quid "3B84A83901D5"
- stereotype "javaclass")))
- (object Class "IFault"
- quid "3B84A861031D"
- documentation "This class represents the javax.wsdl.Fault non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86646A00BD"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8664750131"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Fault"
- quid "3B84A8710208"
- stereotype "javaclass")))
- (object Class "IMessage"
- quid "3B84A8AF004F"
- documentation "This class represents the javax.wsdl.Message non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPart"
- quid "3B8972240273"
- parameters (list Parameters
- (object Parameter "part"
- type "IPart"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPart"
- quid "3B89723D0233"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParts"
- quid "3B897254025E"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOrderedParts"
- quid "3B897261020D"
- parameters (list Parameters
- (object Parameter "partOrder"
- type "IList"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Message"
- quid "3B84A8BC0260"
- stereotype "javaclass")))
- (object Class "IPart"
- quid "3B84A93F01BE"
- documentation "This class represents the javax.wsdl.Part non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "setExtensionAttribute"
- quid "3C4688450052"
- parameters (list Parameters
- (object Parameter "name"
- type "QName")
- (object Parameter "value"
- type "QName"))
- exceptions "WSDLException"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttributeNames"
- quid "3C468A0101C3"
- result "IIterator"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttribute"
- quid "3C468A2D02D5"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "QName"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Part"
- quid "3B84A9500231"
- stereotype "javaclass")))
- (object Class "IService"
- quid "3B84AB490287"
- documentation "This class represents the javax.wsdl.Service non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPort"
- quid "3B895D5601D1"
- parameters (list Parameters
- (object Parameter "port"
- type "IPort"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPorts"
- quid "3B895DA20036"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPort"
- quid "3B895DB001BC"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Service"
- quid "3B84AB5B003E"
- stereotype "javaclass")))
- (object Class "IPort"
- quid "3B84AB800326"
- documentation "This class represents the javax.wsdl.Port non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getBinding"
- quid "3C8651F302B5"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBinding"
- quid "3C86526302F2"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Port"
- quid "3B84AB8C0016"
- stereotype "javaclass")))
- (object Class "IBinding"
- quid "3B84ABC60219"
- documentation "This class represents the javax.wsdl.Binding non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingOperation"
- quid "3B895F160153"
- parameters (list Parameters
- (object Parameter "bindingOperation"
- type "IBindingOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperation"
- quid "3B895F500066"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperations"
- quid "3B895FA401C5"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3C8652A90284"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setPortType"
- quid "3C8652BE01A8"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Binding"
- quid "3B84ABCF0302"
- stereotype "javaclass")))
- (object Class "IBindingOperation"
- quid "3B84ADC00072"
- documentation "This class represents the javax.wsdl.BindingOperation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingFault"
- quid "3B8960BC0041"
- parameters (list Parameters
- (object Parameter "bindingFault"
- type "IBindingFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFault"
- quid "3B8960D9009D"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFaults"
- quid "3B8960FC0061"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3C86532D0017"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOperation"
- quid "3C86533F037B"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingInput"
- quid "3C86550900DA"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingInput"
- quid "3C86551D007F"
- parameters (list Parameters
- (object Parameter "bindingInput"
- type "IBindingInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOutput"
- quid "3C8655340349"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingOutput"
- quid "3C86554702A6"
- parameters (list Parameters
- (object Parameter "bindingOutput"
- type "IBindingOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOperation"
- quid "3B84ADCB021C"
- stereotype "javaclass")))
- (object Class "IBindingInput"
- quid "3B84ADEB0100"
- documentation "This class represents the javax.wsdl.BindingInput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingInput"
- quid "3B84ADFE000D"
- stereotype "javaclass")))
- (object Class "IBindingOutput"
- quid "3B84AE210111"
- documentation "This class represents the javax.wsdl.BindingOutput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOutput"
- quid "3B84AE2D0050"
- stereotype "javaclass")))
- (object Class "IBindingFault"
- quid "3B84AE4F00BD"
- documentation "This class represents the javax.wsdl.BindingFault non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingFault"
- quid "3B84AE5F002A"
- stereotype "javaclass")))
- (object Class "DOMElement"
- quid "3B84AF3203DB"
- documentation "This class represents the org.w3c.dom.Element non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B84AF560292"
- stereotype "javaclass")))
- (object Class "IExtensibilityElement"
- quid "3B84B12402AB"
- documentation "This class represents the javax.wsdl.ExtensibilityElement non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensibilityElement"
- quid "3B84B13503D1"
- stereotype "javaclass")))
- (object Class "IDefinition"
- quid "3B84B1D90142"
- documentation "This class represents the javax.wsdl.Definition non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBinding"
- quid "3B8988F1039D"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addImport"
- quid "3B8989490259"
- parameters (list Parameters
- (object Parameter "importDef"
- type "IImport"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addMessage"
- quid "3B89896E005E"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addNamespace"
- quid "3B898984004B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String")
- (object Parameter "namespaceURI"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addPortType"
- quid "3B8989C50045"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addService"
- quid "3B8989E401EE"
- parameters (list Parameters
- (object Parameter "service"
- type "IService"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingFault"
- quid "3B898A17038C"
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingInput"
- quid "3B898A320286"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOutput"
- quid "3B898A46013B"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOperation"
- quid "3B898A5C00B0"
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBinding"
- quid "3B8989FE037C"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createFault"
- quid "3B898A7502E7"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createImport"
- quid "3B898A83014C"
- result "IImport"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createInput"
- quid "3B898A9D033E"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createMessage"
- quid "3B898AAF0254"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOperation"
- quid "3B898AC203C4"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOutput"
- quid "3B898AE800ED"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPart"
- quid "3B898AF8026D"
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPort"
- quid "3B898B0801DA"
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPortType"
- quid "3B898B15039B"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createService"
- quid "3B898B32013A"
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBinding"
- quid "3B898B420075"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindings"
- quid "3B898B920341"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BCD0060"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BE70144"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessage"
- quid "3B898C170107"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessages"
- quid "3B898C3E001D"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespace"
- quid "3B898C62014B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespaces"
- quid "3B898C740115"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3B898CBE0071"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortTypes"
- quid "3B898CDA01C6"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPrefix"
- quid "3B898CFD0017"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getService"
- quid "3B898D2300A8"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getServices"
- quid "3B898D3B03CE"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionRegistry"
- quid "3B89D5B8012B"
- result "IExtensionRegistry"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setExtensionRegistry"
- quid "3B89D5D703BB"
- parameters (list Parameters
- (object Parameter "extensionRegistry"
- type "IExtensionRegistry"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getDocumentBaseURI"
- quid "3B89D5FE0208"
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocumentBaseURI"
- quid "3B89D6180328"
- parameters (list Parameters
- (object Parameter "documentBase"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createTypes"
- quid "3CADD0560080"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeService"
- quid "3CADD07E004C"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeBinding"
- quid "3CADD0BA0355"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removePortType"
- quid "3CADD0D8029A"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeMessage"
- quid "3CADD0FA0307"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getTypes"
- quid "3C86706F031B"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setTypes"
- quid "3C86709500EE"
- parameters (list Parameters
- (object Parameter "types"
- type "ITypes"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Definition"
- quid "3B84B1E702A1"
- stereotype "javaclass")))
- (object Class "IImport"
- quid "3B84B2020119"
- documentation "This class represents the javax.wsdl.Import non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Import"
- quid "3B84B20C02EA"
- stereotype "javaclass")))
- (object Class "IList"
- quid "3B85C0A203C5"
- documentation "This class represents the non-MOF java.util.List interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.List"
- quid "3B85C0AF0297"
- stereotype "javaclass")))
- (object Class "IMap"
- quid "3B896B0300D4"
- documentation "This class represents the non-MOF java.util.Map interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Map"
- quid "3B896B1102B5"
- stereotype "javaclass")))
- (object Class "IURL"
- quid "3B89D5630274"
- documentation "This class represents the non-MOF java.net.URL interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.net.URL"
- quid "3B89D56E03E2"
- stereotype "javaclass")))
- (object Class "IExtensionRegistry"
- quid "3B89D59302A5"
- documentation "This class represents the non-MOF javax.wsdl.extensions.ExtensionRegistry interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensionRegistry"
- quid "3B89D59F02E8"
- stereotype "javaclass")))
- (object Class "Types"
- quid "3B8BE9A603A8"
- documentation "This class represents a WSDL types element. The types element encloses data type definitions that are relevant for the exchanged messages."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B8BEB010311"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3CADCD3B0380"
- supplier "Logical View::wsdl::ITypes"
- quidu "3CADCBB20050"))
- operations (list Operations
- (object Operation "getSchemas"
- quid "3CADCF3803E6"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getSchemas"
- quid "3CADCF7E0301"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)))
- (object Class "IIterator"
- quid "3C4687DA0167"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Iterator"
- quid "3C46880800B9"
- stereotype "javaclass")))
- (object Class "WSDLException"
- quid "3C4689650313"
- documentation "This class represents the javax.wsdl.Exception class."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.WSDLException"
- quid "3C4689740315"
- stereotype "javaclass")))
- (object Class "ITypes"
- quid "3CADCBB20050"
- documentation "This class represents the javax.wsdl.Types non-MOF interface"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Types"
- quid "3CADCBF10173"
- stereotype "javaclass")))
- (object Class "UnknownExtensibilityElement"
- quid "3CB24AC002AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CB24AEC01CB"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "XSDSchemaExtensibilityElement"
- quid "3CC360D7039C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CC3627F00B7"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "DOMDocument"
- quid "3CD1502C023B"
- documentation "This class represents the org.w3c.dom.Document non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3CD150600182"
- stereotype "javaclass")))
- (object Class "MessageReference"
- quid "3F6771DB02DC"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3F762A6A0308"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3F6780A001AB"
- type "String"
- exportControl "Protected"))
- language "Java"
- abstract TRUE)
- (object Association "$UNNAMED$0"
- quid "3AD5C824018C"
- roles (list role_list
- (object Role "portType"
- quid "3AD5C82701C3"
- label "portType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- Containment "By Value"
- is_aggregate TRUE)
- (object Role "eOperations"
- quid "3AD5C82701CD"
- label "eOperations"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$1"
- quid "3AD5CEBE00E2"
- roles (list role_list
- (object Role "$UNNAMED$2"
- quid "3AD5CEBF0057"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eParts"
- quid "3AD5CEBF0061"
- label "eParts"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$3"
- quid "3AD5D352010F"
- roles (list role_list
- (object Role "ePortType"
- quid "3AD5D3540176"
- label "ePortType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$4"
- quid "3AD5D3540180"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261")))
- (object Association "$UNNAMED$5"
- quid "3AD5D3E10179"
- roles (list role_list
- (object Role "$UNNAMED$6"
- quid "3AD5D3E20225"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindingOperations"
- quid "3AD5D3E20239"
- label "eBindingOperations"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$7"
- quid "3AD5D425038A"
- roles (list role_list
- (object Role "eOperation"
- quid "3AD5D42602F5"
- label "eOperation"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$8"
- quid "3AD5D42602FF"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145")))
- (object Association "$UNNAMED$9"
- quid "3AD5D9400393"
- roles (list role_list
- (object Role "ePorts"
- quid "3AD5D941031C"
- label "ePorts"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$10"
- quid "3AD5D941031D"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$11"
- quid "3AD5D9B8011F"
- roles (list role_list
- (object Role "eBinding"
- quid "3AD5D9B9024D"
- label "eBinding"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$12"
- quid "3AD5D9B90261"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286")))
- (object Association "$UNNAMED$13"
- quid "3AD5E60301E2"
- roles (list role_list
- (object Role "$UNNAMED$14"
- quid "3AD5E60400B7"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eMessages"
- quid "3AD5E60400C1"
- label "eMessages"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$15"
- quid "3AD5E6710104"
- roles (list role_list
- (object Role "$UNNAMED$16"
- quid "3AD5E672034A"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "ePortTypes"
- quid "3AD5E6720354"
- label "ePortTypes"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$17"
- quid "3AD5E6770095"
- roles (list role_list
- (object Role "$UNNAMED$18"
- quid "3AD5E6780371"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindings"
- quid "3AD5E678037B"
- label "eBindings"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$19"
- quid "3AD5E67B0311"
- roles (list role_list
- (object Role "$UNNAMED$20"
- quid "3AD5E67D007F"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eServices"
- quid "3AD5E67D0089"
- label "eServices"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$21"
- quid "3AD5FD130079"
- roles (list role_list
- (object Role "eExtensibilityElements"
- quid "3AD5FD14019D"
- label "eExtensibilityElements"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$22"
- quid "3AD5FD14019E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$23"
- quid "3ADF2E6401F5"
- roles (list role_list
- (object Role "eBindingInput"
- quid "3ADF2E650251"
- label "eBindingInput"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$24"
- quid "3ADF2E650252"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$25"
- quid "3ADF2EB30163"
- roles (list role_list
- (object Role "eBindingOutput"
- quid "3ADF2EB4013C"
- label "eBindingOutput"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$26"
- quid "3ADF2EB4013D"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$27"
- quid "3ADF2F94024D"
- roles (list role_list
- (object Role "eInput"
- quid "3ADF2F950190"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$28"
- quid "3ADF2F95019A"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$29"
- quid "3ADF2FB802F9"
- roles (list role_list
- (object Role "eOutput"
- quid "3ADF2FB9020A"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$30"
- quid "3ADF2FB9020B"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$31"
- quid "3ADF331601A4"
- roles (list role_list
- (object Role "eFaults"
- quid "3ADF33180387"
- label "eFaults"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$32"
- quid "3ADF33180388"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$33"
- quid "3ADF340003E5"
- roles (list role_list
- (object Role "eBindingFaults"
- quid "3ADF340103AA"
- label "eBindingFaults"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$34"
- quid "3ADF340103AB"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$35"
- quid "3AE091F402F3"
- roles (list role_list
- (object Role "eFault"
- quid "3AE091F801FE"
- label "eFault"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$36"
- quid "3AE091F801FF"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6")))
- (object Association "$UNNAMED$37"
- quid "3AEA3D55002D"
- roles (list role_list
- (object Role "$UNNAMED$38"
- quid "3AEA3D560328"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eNamespaces"
- quid "3AEA3D560332"
- label "eNamespaces"
- supplier "Logical View::wsdl::Namespace"
- quidu "3AEA3CD30030"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$39"
- quid "3AEA3E3A002D"
- roles (list role_list
- (object Role "eDefinition"
- quid "3AEA3E3C01E8"
- label "eDefinition"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$40"
- quid "3AEA3E3C01F2"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$41"
- quid "3AEA412F0035"
- roles (list role_list
- (object Role "eParameterOrdering"
- quid "3AEA41310255"
- label "eParameterOrdering"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- is_navigable TRUE)
- (object Role "$UNNAMED$42"
- quid "3AEA4131025F"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE")))
- (object Association "$UNNAMED$43"
- quid "3B84AD2400BD"
- roles (list role_list
- (object Role "eInput"
- quid "3B84AD250083"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$44"
- quid "3B84AD250084"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4")))
- (object Association "$UNNAMED$45"
- quid "3B84AD7900F2"
- roles (list role_list
- (object Role "eOutput"
- quid "3B84AD7A014D"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$46"
- quid "3B84AD7A014E"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C")))
- (object Association "$UNNAMED$47"
- quid "3B8B1BE900C4"
- roles (list role_list
- (object Role "typeDefinition"
- quid "3B8B1BE90327"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$48"
- quid "3B8B1BE90331"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$49"
- quid "3B8B1C1203B2"
- roles (list role_list
- (object Role "elementDeclaration"
- quid "3B8B1C14001C"
- label "elementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$50"
- quid "3B8B1C140026"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$51"
- quid "3B8B1DCC02E5"
- roles (list role_list
- (object Role "eSchema"
- quid "3B8B1DCE0270"
- label "eSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$52"
- quid "3B8B1DCE027A"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$53"
- quid "3B8BEA27029F"
- roles (list role_list
- (object Role "$UNNAMED$54"
- quid "3B8BEA290356"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eTypes"
- quid "3B8BEA29036A"
- label "eTypes"
- supplier "Logical View::wsdl::Types"
- quidu "3B8BE9A603A8"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$55"
- quid "3C46829303E5"
- roles (list role_list
- (object Role "eMessage"
- quid "3C468296010E"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$56"
- quid "3C4682960118"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$57"
- quid "3C864DFF02EC"
- roles (list role_list
- (object Role "eImports"
- quid "3C864DFF02ED"
- label "eImports"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$58"
- quid "3C864DFF02EE"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$59"
- quid "3CC3614500F2"
- roles (list role_list
- (object Role "$UNNAMED$60"
- quid "3CC36146023D"
- supplier "Logical View::wsdl::XSDSchemaExtensibilityElement"
- quidu "3CC360D7039C"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "schema"
- quid "3CC36146023E"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$61"
- quid "3F74E78401B1"
- roles (list role_list
- (object Role "eMessage"
- quid "3F74E786000F"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$62"
- quid "3F74E7860023"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")))
- (object Association "$UNNAMED$63"
- quid "3F7896A2026E"
- roles (list role_list
- (object Role "parent"
- quid "3F7896A7012B"
- label "parent"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "children"
- quid "3F7896A7012C"
- label "children"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "2.7 Services"
- quid "39AD3EF60127"
- title "2.7 Services"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @1
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (1424, 800)
- label (object ItemLabel
- Parent_View @1
- location (1173, 660)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @1
- location (1173, 610)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 502
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- width 520
- height 404
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPort" @2
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (816, 528)
- label (object ItemLabel
- Parent_View @2
- location (686, 481)
- fill_color 13434879
- nlines 1
- max_width 260
- justify 0
- label "IPort")
- stereotype (object ItemLabel
- Parent_View @2
- location (686, 431)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB800326"
- width 278
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IService" @3
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 160)
- label (object ItemLabel
- Parent_View @3
- location (126, 90)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "IService")
- stereotype (object ItemLabel
- Parent_View @3
- location (126, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 228
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB490287"
- width 246
- height 264
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @4
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 528)
- label (object ItemLabel
- Parent_View @4
- location (44, 389)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @5
- stereotype TRUE
- line_color 3342489
- quidu "3B85954E01B4"
- client @4
- supplier @3
- line_style 3
- origin_attachment (240, 377)
- terminal_attachment (240, 292))
- (object ClassView "Class" "Logical View::wsdl::Binding" @6
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1440, 1264)
- label (object ItemLabel
- Parent_View @6
- location (1244, 1125)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @7
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @6
- supplier @1
- line_style 3
- origin_attachment (1430, 1113)
- terminal_attachment (1430, 1002))
- (object ClassView "Class" "Logical View::wsdl::Port" @8
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (816, 912)
- label (object ItemLabel
- Parent_View @8
- location (675, 840)
- fill_color 13434879
- nlines 1
- max_width 282
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- width 300
- height 168
- annotation 8
- autoResize TRUE)
- (object InheritView "" @9
- stereotype TRUE
- line_color 3342489
- quidu "3B85954502C9"
- client @8
- supplier @2
- line_style 3
- origin_attachment (809, 828)
- terminal_attachment (809, 637))
- (object AssociationViewNew "$UNNAMED$9" @10
- location (343, 916)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9400393"
- roleview_list (list RoleViews
- (object RoleView "ePorts" @11
- Parent_View @10
- location (-121, 644)
- label (object SegLabel @12
- Parent_View @11
- location (413, 945)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+ePorts"
- pctDist 0.218978
- height 29
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031C"
- client @10
- supplier @8
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (666, 916)
- label (object SegLabel @13
- Parent_View @11
- location (539, 880)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 160
- justify 0
- label "0..*"
- pctDist 0.608000
- height 37
- orientation 0)
- label (object SegLabel @14
- Parent_View @11
- location (448, 990)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.328467
- height 74
- orientation 1))
- (object RoleView "$UNNAMED$10" @15
- Parent_View @10
- location (-121, 644)
- label (object SegLabel @16
- Parent_View @15
- location (216, 744)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031D"
- client @10
- supplier @4
- vertices (list Points
- (343, 916)
- (257, 916)
- (257, 679))
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (257, 679)
- label (object SegLabel @17
- Parent_View @15
- location (301, 796)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.637097
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$11" @18
- location (886, 1270)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B8011F"
- roleview_list (list RoleViews
- (object RoleView "eBinding" @19
- Parent_View @18
- location (38, 422)
- label (object SegLabel @20
- Parent_View @19
- location (1112, 1235)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eBinding"
- pctDist 0.648571
- height 36
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B9024D"
- client @18
- supplier @6
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (1235, 1270)
- label (object SegLabel @21
- Parent_View @19
- location (1170, 1313)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.814286
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$12" @22
- Parent_View @18
- location (38, 422)
- label (object SegLabel @23
- Parent_View @22
- location (852, 1106)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label ""
- pctDist 0.687943
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B90261"
- client @18
- supplier @8
- vertices (list Points
- (886, 1270)
- (812, 1270)
- (812, 996))
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (812, 996))))))
- (object ClassDiagram "2.5 Bindings"
- quid "39AD51270252"
- title "2.5 Bindings"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @24
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 240)
- label (object ItemLabel
- Parent_View @24
- location (73, 114)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @24
- location (73, 64)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 462
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- width 480
- height 376
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOperation" @25
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 352)
- label (object ItemLabel
- Parent_View @25
- location (780, 130)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "IBindingOperation")
- stereotype (object ItemLabel
- Parent_View @25
- location (780, 80)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 392
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADC00072"
- width 410
- height 568
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingInput" @26
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (192, 1360)
- label (object ItemLabel
- Parent_View @26
- location (62, 1334)
- fill_color 16777215
- nlines 1
- max_width 260
- justify 0
- label "IBindingInput")
- stereotype (object ItemLabel
- Parent_View @26
- location (62, 1284)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADEB0100"
- width 278
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOutput" @27
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (208, 1664)
- label (object ItemLabel
- Parent_View @27
- location (61, 1638)
- fill_color 16777215
- nlines 1
- max_width 294
- justify 0
- label "IBindingOutput")
- stereotype (object ItemLabel
- Parent_View @27
- location (61, 1588)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 294
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE210111"
- width 312
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingFault" @28
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @28
- location (72, 1958)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "IBindingFault")
- stereotype (object ItemLabel
- Parent_View @28
- location (72, 1908)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 272
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE4F00BD"
- width 290
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @29
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 624)
- label (object ItemLabel
- Parent_View @29
- location (1568, 486)
- fill_color 13434879
- nlines 1
- max_width 673
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 691
- height 301
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @30
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1360)
- label (object ItemLabel
- Parent_View @30
- location (1756, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Output" @31
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1664)
- label (object ItemLabel
- Parent_View @31
- location (1756, 1587)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @32
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 688)
- label (object ItemLabel
- Parent_View @32
- location (97, 539)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @33
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @32
- supplier @24
- line_style 3
- origin_attachment (279, 527)
- terminal_attachment (279, 428))
- (object AssociationViewNew "$UNNAMED$3" @34
- location (1039, 742)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D352010F"
- roleview_list (list RoleViews
- (object RoleView "ePortType" @35
- Parent_View @34
- location (575, 598)
- label (object SegLabel @36
- Parent_View @35
- location (1449, 781)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+ePortType"
- pctDist 0.789292
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540176"
- client @34
- supplier @29
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (1559, 742)
- label (object SegLabel @37
- Parent_View @35
- location (1492, 716)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.872193
- height 27
- orientation 0))
- (object RoleView "$UNNAMED$4" @38
- Parent_View @34
- location (575, 598)
- label (object SegLabel @39
- Parent_View @38
- location (776, 697)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label ""
- pctDist 0.509449
- height 46
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540180"
- client @34
- supplier @32
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (520, 742))))
- (object ClassView "Class" "Logical View::wsdl::Operation" @40
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 1024)
- label (object ItemLabel
- Parent_View @40
- location (1672, 851)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- width 450
- height 370
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @41
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (624, 1408)
- label (object ItemLabel
- Parent_View @41
- location (476, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$43" @42
- location (1264, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD2400BD"
- roleview_list (list RoleViews
- (object RoleView "eInput" @43
- Parent_View @42
- location (96, 287)
- label (object SegLabel @44
- Parent_View @43
- location (1637, 1316)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.775148
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250083"
- client @42
- supplier @30
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (1747, 1359)
- label (object SegLabel @45
- Parent_View @43
- location (1694, 1398)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.889546
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$44" @46
- Parent_View @42
- location (96, 287)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250084"
- client @42
- supplier @41
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (781, 1359))))
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @47
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 1664)
- label (object ItemLabel
- Parent_View @47
- location (812, 1539)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$45" @48
- location (1432, 1654)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7900F2"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @49
- Parent_View @48
- location (-120, 374)
- label (object SegLabel @50
- Parent_View @49
- location (1645, 1612)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.674772
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014D"
- client @48
- supplier @31
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1747, 1654)
- label (object SegLabel @51
- Parent_View @49
- location (1681, 1697)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.790274
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$46" @52
- Parent_View @48
- location (-120, 374)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014E"
- client @48
- supplier @47
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1117, 1654))))
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @53
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (992, 1008)
- label (object ItemLabel
- Parent_View @53
- location (819, 931)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 178
- annotation 8
- autoResize TRUE)
- (object InheritView "" @54
- stereotype TRUE
- line_color 3342489
- quidu "3B84ADE401DC"
- client @53
- supplier @25
- line_style 3
- origin_attachment (966, 919)
- terminal_attachment (966, 636))
- (object AssociationViewNew "$UNNAMED$5" @55
- location (457, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E10179"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$6" @56
- Parent_View @55
- location (-1319, 494)
- label (object SegLabel @57
- Parent_View @56
- location (235, 920)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20225"
- client @55
- supplier @32
- vertices (list Points
- (457, 1022)
- (276, 1022)
- (276, 849))
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (276, 849)
- label (object SegLabel @58
- Parent_View @56
- location (330, 884)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "eBindingOperations" @59
- Parent_View @55
- location (-1319, 494)
- label (object SegLabel @60
- Parent_View @59
- location (531, 977)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+eBindingOperations"
- pctDist 0.211699
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20239"
- client @55
- supplier @53
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (810, 1022)
- label (object SegLabel @61
- Parent_View @59
- location (769, 980)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.884956
- height 43
- orientation 0)
- label (object SegLabel @62
- Parent_View @59
- location (714, 1067)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.727564
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$7" @63
- location (1418, 1040)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D425038A"
- roleview_list (list RoleViews
- (object RoleView "eOperation" @64
- Parent_View @63
- location (-358, 464)
- label (object SegLabel @65
- Parent_View @64
- location (1520, 1079)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 228
- justify 0
- label "+eOperation"
- pctDist 0.420601
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602F5"
- client @63
- supplier @40
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1663, 1040)
- label (object SegLabel @66
- Parent_View @64
- location (1589, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.696721
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$8" @67
- Parent_View @63
- location (-358, 464)
- label (object SegLabel @68
- Parent_View @67
- location (1273, 1070)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.595420
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602FF"
- client @63
- supplier @53
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1174, 1040))))
- (object AssociationViewNew "$UNNAMED$23" @69
- location (787, 1190)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E6401F5"
- roleview_list (list RoleViews
- (object RoleView "eBindingInput" @70
- Parent_View @69
- location (-381, 454)
- label (object SegLabel @71
- Parent_View @70
- location (669, 1152)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+eBindingInput"
- pctDist 0.511905
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650251"
- client @69
- supplier @41
- vertices (list Points
- (787, 1190)
- (636, 1190)
- (636, 1271))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (636, 1271)
- label (object SegLabel @72
- Parent_View @70
- location (685, 1222)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.440476
- height 32
- orientation 0))
- (object RoleView "$UNNAMED$24" @73
- Parent_View @69
- location (-381, 454)
- label (object SegLabel @74
- Parent_View @73
- location (885, 1144)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650252"
- client @69
- supplier @53
- vertices (list Points
- (787, 1190)
- (926, 1190)
- (926, 1097))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (926, 1097)
- label (object SegLabel @75
- Parent_View @73
- location (871, 1136)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.837758
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$25" @76
- location (1024, 1312)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB30163"
- roleview_list (list RoleViews
- (object RoleView "eBindingOutput" @77
- Parent_View @76
- location (-150, 578)
- label (object SegLabel @78
- Parent_View @77
- location (1012, 1429)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 306
- justify 0
- label "+eBindingOutput"
- pctDist 0.545082
- height 13
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013C"
- client @76
- supplier @47
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1527)
- label (object SegLabel @79
- Parent_View @77
- location (967, 1479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.774590
- height 58
- orientation 1))
- (object RoleView "$UNNAMED$26" @80
- Parent_View @76
- location (-150, 578)
- label (object SegLabel @81
- Parent_View @80
- location (983, 1140)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013D"
- client @76
- supplier @53
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1097)
- label (object SegLabel @82
- Parent_View @80
- location (1031, 1186)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.590164
- height 7
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Fault" @83
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1920, 1984)
- label (object ItemLabel
- Parent_View @83
- location (1772, 1907)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @84
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1984)
- label (object ItemLabel
- Parent_View @84
- location (1212, 1859)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object InheritView "" @85
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE710333"
- client @84
- supplier @28
- line_style 3
- origin_attachment (1203, 2007)
- terminal_attachment (353, 2007))
- (object AssociationViewNew "$UNNAMED$33" @86
- location (1356, 1352)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340003E5"
- roleview_list (list RoleViews
- (object RoleView "eBindingFaults" @87
- Parent_View @86
- location (188, 616)
- label (object SegLabel @88
- Parent_View @87
- location (1382, 1750)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 300
- justify 0
- label "+eBindingFaults"
- pctDist 0.803150
- height 26
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AA"
- client @86
- supplier @84
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1356, 1847)
- label (object SegLabel @89
- Parent_View @87
- location (1409, 1797)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899194
- height 53
- orientation 0)
- label (object SegLabel @90
- Parent_View @87
- location (1256, 1806)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.919291
- height 101
- orientation 1))
- (object RoleView "$UNNAMED$34" @91
- Parent_View @86
- location (188, 616)
- label (object SegLabel @92
- Parent_View @91
- location (1076, 1197)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AB"
- client @86
- supplier @53
- vertices (list Points
- (1356, 1352)
- (1356, 1217)
- (1117, 1217)
- (1117, 1097))
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1117, 1097)
- label (object SegLabel @93
- Parent_View @91
- location (1152, 1164)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.687008
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$35" @94
- location (1640, 1970)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F402F3"
- roleview_list (list RoleViews
- (object RoleView "eFault" @95
- Parent_View @94
- location (-344, 818)
- label (object SegLabel @96
- Parent_View @95
- location (1674, 1915)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eFault"
- pctDist 0.276423
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FE"
- client @94
- supplier @83
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1763, 1970)
- label (object SegLabel @97
- Parent_View @95
- location (1718, 2012)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.642276
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$36" @98
- Parent_View @94
- location (-344, 818)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FF"
- client @94
- supplier @84
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1517, 1970))))
- (object InheritView "" @99
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE4302AB"
- client @47
- supplier @27
- line_style 3
- origin_attachment (803, 1656)
- terminal_attachment (364, 1656))
- (object InheritView "" @100
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE1B0113"
- client @41
- supplier @26
- line_style 3
- origin_attachment (467, 1385)
- terminal_attachment (331, 1385))))
- (object ClassDiagram "2.4 PortTypes"
- quid "3AD5D1C40366"
- title "2.4 PortTypes"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IPortType" @101
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 208)
- label (object ItemLabel
- Parent_View @101
- location (146, 172)
- fill_color 13434879
- nlines 1
- max_width 700
- justify 0
- label "IPortType")
- stereotype (object ItemLabel
- Parent_View @101
- location (146, 122)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 700
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A5BE0331"
- width 718
- height 196
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::IOperation" @102
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 208)
- label (object ItemLabel
- Parent_View @102
- location (1116, 176)
- fill_color 13434879
- nlines 1
- max_width 873
- justify 0
- label "IOperation")
- stereotype (object ItemLabel
- Parent_View @102
- location (1116, 126)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 873
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A77600D1"
- width 891
- height 188
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IInput" @103
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1472)
- label (object ItemLabel
- Parent_View @103
- location (55, 1437)
- fill_color 16777215
- nlines 1
- max_width 626
- justify 0
- label "IInput")
- stereotype (object ItemLabel
- Parent_View @103
- location (55, 1387)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A7EE0015"
- width 644
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IOutput" @104
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 1792)
- label (object ItemLabel
- Parent_View @104
- location (56, 1757)
- fill_color 16777215
- nlines 1
- max_width 656
- justify 0
- label "IOutput")
- stereotype (object ItemLabel
- Parent_View @104
- location (56, 1707)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 656
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A829027D"
- width 674
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IFault" @105
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 2112)
- label (object ItemLabel
- Parent_View @105
- location (55, 2076)
- fill_color 13434879
- nlines 1
- max_width 626
- justify 0
- label "IFault")
- stereotype (object ItemLabel
- Parent_View @105
- location (55, 2026)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A861031D"
- width 644
- height 196
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @106
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 800)
- label (object ItemLabel
- Parent_View @106
- location (158, 672)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 695
- height 281
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @107
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2576, 800)
- label (object ItemLabel
- Parent_View @107
- location (2325, 692)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 520
- height 240
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Fault" @108
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 2112)
- label (object ItemLabel
- Parent_View @108
- location (1647, 2060)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @109
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 1472)
- label (object ItemLabel
- Parent_View @109
- location (870, 1422)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 390
- height 125
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Output" @110
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1792)
- label (object ItemLabel
- Parent_View @110
- location (1232, 1742)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 274
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Operation" @111
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 784)
- label (object ItemLabel
- Parent_View @111
- location (1214, 620)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- width 695
- height 352
- annotation 8)
- (object AssociationViewNew "$UNNAMED$0" @112
- location (1024, 797)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C824018C"
- roleview_list (list RoleViews
- (object RoleView "eOperations" @113
- Parent_View @112
- location (592, 269)
- label (object SegLabel @114
- Parent_View @113
- location (1088, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+eOperations"
- pctDist 0.359649
- height 50
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701CD"
- client @112
- supplier @111
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (1205, 797)
- label (object SegLabel @115
- Parent_View @113
- location (1176, 861)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.840391
- height 64
- orientation 1)
- label (object SegLabel @116
- Parent_View @113
- location (1074, 923)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.276243
- height 126
- orientation 1))
- (object RoleView "portType" @117
- Parent_View @112
- location (592, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701C3"
- client @112
- supplier @106
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (843, 797)
- label (object SegLabel @118
- Parent_View @117
- location (888, 757)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.753488
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$41" @119
- location (2107, 773)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA412F0035"
- roleview_list (list RoleViews
- (object RoleView "eParameterOrdering" @120
- Parent_View @119
- location (1819, 101)
- label (object SegLabel @121
- Parent_View @120
- location (2145, 647)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+eParameterOrdering"
- pctDist 0.183333
- height 127
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA41310255"
- client @119
- supplier @107
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (2316, 773)
- label (object SegLabel @122
- Parent_View @120
- location (2272, 822)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.796610
- height 49
- orientation 1)
- label (object SegLabel @123
- Parent_View @120
- location (2171, 888)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.306220
- height 115
- orientation 1))
- (object RoleView "$UNNAMED$42" @124
- Parent_View @119
- location (1819, 101)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA4131025F"
- client @119
- supplier @111
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (1899, 773))))
- (object AssociationViewNew "$UNNAMED$31" @125
- location (1702, 1504)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF331601A4"
- roleview_list (list RoleViews
- (object RoleView "eFaults" @126
- Parent_View @125
- location (1414, 832)
- label (object SegLabel @127
- Parent_View @126
- location (1815, 1982)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eFaults"
- pctDist 0.878992
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180387"
- client @125
- supplier @108
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 2048)
- label (object SegLabel @128
- Parent_View @126
- location (1644, 2020)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.949580
- height 59
- orientation 1)
- label (object SegLabel @129
- Parent_View @126
- location (1593, 1963)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.845378
- height 110
- orientation 1))
- (object RoleView "$UNNAMED$32" @130
- Parent_View @125
- location (1414, 832)
- label (object SegLabel @131
- Parent_View @130
- location (1661, 1069)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180388"
- client @125
- supplier @111
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 960)
- label (object SegLabel @132
- Parent_View @130
- location (1821, 1039)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.857362
- height 119
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$27" @133
- location (1178, 1234)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F94024D"
- roleview_list (list RoleViews
- (object RoleView "eInput" @134
- Parent_View @133
- location (890, 562)
- label (object SegLabel @135
- Parent_View @134
- location (878, 1343)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.819820
- height 103
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F950190"
- client @133
- supplier @109
- vertices (list Points
- (1178, 1234)
- (980, 1234)
- (980, 1410))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (980, 1410)
- label (object SegLabel @136
- Parent_View @134
- location (1046, 1364)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.877660
- height 66
- orientation 0))
- (object RoleView "$UNNAMED$28" @137
- Parent_View @133
- location (890, 562)
- label (object SegLabel @138
- Parent_View @137
- location (1236, 1036)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F95019A"
- client @133
- supplier @111
- vertices (list Points
- (1178, 1234)
- (1277, 1234)
- (1277, 960))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (1277, 960)
- label (object SegLabel @139
- Parent_View @137
- location (1197, 1058)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736413
- height 81
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$29" @140
- location (1468, 1345)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB802F9"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @141
- Parent_View @140
- location (1180, 673)
- label (object SegLabel @142
- Parent_View @141
- location (1362, 1669)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.840909
- height 107
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020A"
- client @140
- supplier @110
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 1730)
- label (object SegLabel @143
- Parent_View @141
- location (1546, 1676)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863636
- height 78
- orientation 0))
- (object RoleView "$UNNAMED$30" @144
- Parent_View @140
- location (1180, 673)
- label (object SegLabel @145
- Parent_View @144
- location (1427, 1037)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020B"
- client @140
- supplier @111
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 960)
- label (object SegLabel @146
- Parent_View @144
- location (1523, 1080)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.690341
- height 55
- orientation 1))))
- (object InheritView "" @147
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FD8019F"
- client @106
- supplier @101
- line_style 0)
- (object InheritView "" @148
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FE20171"
- client @111
- supplier @102
- line_style 0)
- (object InheritView "" @149
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FEE031D"
- client @109
- supplier @103
- line_style 0)
- (object InheritView "" @150
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FF801CD"
- client @110
- supplier @104
- line_style 0)
- (object InheritView "" @151
- stereotype TRUE
- line_color 3342489
- quidu "3F6F2002002D"
- client @108
- supplier @105
- line_style 0)
- (object ClassView "Class" "Logical View::wsdl::Message" @152
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2224, 1456)
- label (object ItemLabel
- Parent_View @152
- location (1937, 1312)
- fill_color 13434879
- nlines 1
- max_width 575
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 593
- height 312
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::MessageReference" @153
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1520, 2544)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @153
- location (1193, 2468)
- fill_color 13434879
- nlines 1
- max_width 654
- justify 0
- label "MessageReference")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3F6771DB02DC"
- width 672
- height 180
- annotation 8)
- (object InheritTreeView "" @154
- location (1524, 2275)
- line_color 3342489
- fill_color 13434879
- supplier @153
- vertices (list Points
- (1524, 2275)
- (1524, 2454)))
- (object InheritView "" @155
- stereotype TRUE
- line_color 3342489
- quidu "3F67723D0319"
- client @108
- supplier @153
- line_style 3
- origin_attachment (1776, 2176)
- terminal_attachment (1776, 2275)
- drawSupplier @154)
- (object InheritView "" @156
- stereotype TRUE
- line_color 3342489
- quidu "3F67723500DD"
- client @110
- supplier @153
- line_style 3
- origin_attachment (1371, 1854)
- terminal_attachment (1371, 2275)
- drawSupplier @154)
- (object InheritView "" @157
- stereotype TRUE
- line_color 3342489
- quidu "3F67722802E7"
- client @109
- supplier @153
- line_style 3
- origin_attachment (980, 1534)
- terminal_attachment (980, 2275)
- drawSupplier @154)
- (object AssociationViewNew "$UNNAMED$61" @158
- location (2206, 2259)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E78401B1"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @159
- Parent_View @158
- location (734, -285)
- label (object SegLabel @160
- Parent_View @159
- location (2068, 1670)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.912230
- height 139
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E786000F"
- client @158
- supplier @152
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (2206, 1612)
- label (object SegLabel @161
- Parent_View @159
- location (2260, 1678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$62" @162
- Parent_View @158
- location (734, -285)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E7860023"
- client @158
- supplier @153
- vertices (list Points
- (2206, 2259)
- (2206, 2556)
- (1856, 2556))
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (1856, 2556))))))
- (object ClassDiagram "2.1 Definitions"
- quid "3AD5E48A0262"
- title "2.1 Definitions"
- zoom 83
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IDefinition" @163
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 192)
- label (object ItemLabel
- Parent_View @163
- location (88, 161)
- fill_color 13434879
- nlines 1
- max_width 688
- justify 0
- label "IDefinition")
- stereotype (object ItemLabel
- Parent_View @163
- location (88, 111)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 688
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B1D90142"
- width 706
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @164
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- label (object ItemLabel
- Parent_View @164
- location (1686, 896)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 294
- height 120
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Import" @165
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 624)
- label (object ItemLabel
- Parent_View @165
- location (1910, 545)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- width 486
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @166
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2112, 1184)
- label (object ItemLabel
- Parent_View @166
- location (1900, 1056)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @167
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1808, 1488)
- label (object ItemLabel
- Parent_View @167
- location (1596, 1360)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @168
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2336, 1728)
- label (object ItemLabel
- Parent_View @168
- location (2124, 1600)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @169
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 240)
- label (object ItemLabel
- Parent_View @169
- location (1073, 39)
- fill_color 13434879
- nlines 1
- max_width 510
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 528
- height 426
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @170
- location (1358, 860)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$54" @171
- Parent_View @170
- location (62, -36)
- label (object SegLabel @172
- Parent_View @171
- location (1317, 535)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @170
- supplier @169
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1358, 453)
- label (object SegLabel @173
- Parent_View @171
- location (1403, 511)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.856649
- height 45
- orientation 1))
- (object RoleView "eTypes" @174
- Parent_View @170
- location (62, -36)
- label (object SegLabel @175
- Parent_View @174
- location (1586, 909)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label "+eTypes"
- pctDist 0.779097
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @170
- supplier @164
- vertices (list Points
- (1358, 860)
- (1358, 948)
- (1677, 948))
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1677, 948)
- label (object SegLabel @176
- Parent_View @174
- location (1632, 987)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.892655
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$57" @177
- location (1612, 595)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @178
- Parent_View @177
- location (12, 227)
- label (object SegLabel @179
- Parent_View @178
- location (1423, 512)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @177
- supplier @169
- vertices (list Points
- (1612, 595)
- (1464, 595)
- (1464, 453))
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1464, 453)
- label (object SegLabel @180
- Parent_View @178
- location (1524, 495)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.858667
- height 60
- orientation 1))
- (object RoleView "eImports" @181
- Parent_View @177
- location (12, 227)
- label (object SegLabel @182
- Parent_View @181
- location (1692, 557)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eImports"
- pctDist 0.280335
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @177
- supplier @165
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1901, 595)
- label (object SegLabel @183
- Parent_View @181
- location (1854, 652)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.841004
- height 57
- orientation 1)
- label (object SegLabel @184
- Parent_View @181
- location (1676, 646)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.225941
- height 51
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$13" @185
- location (1279, 1137)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60301E2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$14" @186
- Parent_View @185
- location (271, 273)
- label (object SegLabel @187
- Parent_View @186
- location (1238, 591)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400B7"
- client @185
- supplier @169
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1279, 453)
- label (object SegLabel @188
- Parent_View @186
- location (1320, 586)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.804974
- height 41
- orientation 1))
- (object RoleView "eMessages" @189
- Parent_View @185
- location (271, 273)
- label (object SegLabel @190
- Parent_View @189
- location (1647, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+eMessages"
- pctDist 0.643137
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400C1"
- client @185
- supplier @166
- vertices (list Points
- (1279, 1137)
- (1279, 1208)
- (1891, 1208))
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1891, 1208)
- label (object SegLabel @191
- Parent_View @189
- location (1821, 1171)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899346
- height 38
- orientation 0)
- label (object SegLabel @192
- Parent_View @189
- location (1797, 1244)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.864407
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$15" @193
- location (1212, 1159)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6710104"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$16" @194
- Parent_View @193
- location (-324, 215)
- label (object SegLabel @195
- Parent_View @194
- location (1171, 594)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E672034A"
- client @193
- supplier @169
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1212, 453)
- label (object SegLabel @196
- Parent_View @194
- location (1251, 624)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.757962
- height 39
- orientation 1))
- (object RoleView "ePortTypes" @197
- Parent_View @193
- location (-324, 215)
- label (object SegLabel @198
- Parent_View @197
- location (1391, 1451)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+ePortTypes"
- pctDist 0.723698
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6720354"
- client @193
- supplier @167
- vertices (list Points
- (1212, 1159)
- (1212, 1490)
- (1587, 1490))
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1587, 1490)
- label (object SegLabel @199
- Parent_View @197
- location (1533, 1451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.925611
- height 40
- orientation 0)
- label (object SegLabel @200
- Parent_View @197
- location (1512, 1540)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.895855
- height 50
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$17" @201
- location (1114, 1585)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6770095"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$18" @202
- Parent_View @201
- location (-406, 241)
- label (object SegLabel @203
- Parent_View @202
- location (1073, 680)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6780371"
- client @201
- supplier @169
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (1114, 453)
- label (object SegLabel @204
- Parent_View @202
- location (1155, 752)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736704
- height 41
- orientation 1))
- (object RoleView "eBindings" @205
- Parent_View @201
- location (-406, 241)
- label (object SegLabel @206
- Parent_View @205
- location (1851, 1674)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eBindings"
- pctDist 0.766347
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E678037B"
- client @201
- supplier @168
- vertices (list Points
- (1114, 1585)
- (1114, 1716)
- (2115, 1716))
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (2115, 1716)
- label (object SegLabel @207
- Parent_View @205
- location (2053, 1677)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.945074
- height 40
- orientation 0)
- label (object SegLabel @208
- Parent_View @205
- location (2014, 1754)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.911072
- height 38
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Service" @209
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @209
- location (1628, 1920)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$19" @210
- location (1066, 1533)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67B0311"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$20" @211
- Parent_View @210
- location (-521, -111)
- label (object SegLabel @212
- Parent_View @211
- location (1025, 669)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D007F"
- client @210
- supplier @169
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1066, 453)
- label (object SegLabel @213
- Parent_View @211
- location (1109, 756)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.719697
- height 43
- orientation 1))
- (object RoleView "eServices" @214
- Parent_View @210
- location (-521, -111)
- label (object SegLabel @215
- Parent_View @214
- location (1393, 2028)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eServices"
- pctDist 0.791824
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D0089"
- client @210
- supplier @209
- vertices (list Points
- (1066, 1533)
- (1066, 2059)
- (1619, 2059))
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1619, 2059)
- label (object SegLabel @216
- Parent_View @214
- location (1554, 2031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.940197
- height 29
- orientation 0)
- label (object SegLabel @217
- Parent_View @214
- location (1532, 2113)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.920515
- height 54
- orientation 1))))
- (object InheritView "" @218
- stereotype TRUE
- line_color 3342489
- quidu "3B84B1F80382"
- client @169
- supplier @163
- line_style 3
- origin_attachment (1064, 263)
- terminal_attachment (785, 263))))
- (object ClassDiagram "2.1.3 Extensibility"
- quid "3AD60C510192"
- title "2.1.3 Extensibility"
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::Binding" @219
- ShowCompartmentStereotypes TRUE
- location (576, 1584)
- label (object ItemLabel
- Parent_View @219
- location (494, 1531)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Port" @220
- ShowCompartmentStereotypes TRUE
- location (1568, 1888)
- label (object ItemLabel
- Parent_View @220
- location (1487, 1836)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @221
- ShowCompartmentStereotypes TRUE
- location (1424, 1728)
- label (object ItemLabel
- Parent_View @221
- location (1342, 1675)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @222
- ShowCompartmentStereotypes TRUE
- location (1216, 2336)
- label (object ItemLabel
- Parent_View @222
- location (1088, 2283)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @223
- ShowCompartmentStereotypes TRUE
- location (736, 1760)
- label (object ItemLabel
- Parent_View @223
- location (563, 1707)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 130
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IExtensibilityElement" @224
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 160)
- label (object ItemLabel
- Parent_View @224
- location (1495, 136)
- fill_color 13434879
- nlines 1
- max_width 786
- justify 0
- label "IExtensibilityElement")
- stereotype (object ItemLabel
- Parent_View @224
- location (1495, 86)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 786
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B12402AB"
- width 804
- height 172
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @225
- ShowCompartmentStereotypes TRUE
- location (928, 1952)
- label (object ItemLabel
- Parent_View @225
- location (800, 1899)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @226
- ShowCompartmentStereotypes TRUE
- location (1008, 2144)
- label (object ItemLabel
- Parent_View @226
- location (863, 2091)
- fill_color 13434879
- nlines 1
- max_width 290
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 308
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @227
- ShowCompartmentStereotypes TRUE
- location (176, 1296)
- label (object ItemLabel
- Parent_View @227
- location (74, 1235)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 146
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @228
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (416, 1408)
- label (object ItemLabel
- Parent_View @228
- location (335, 1356)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @229
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (480, 688)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @229
- location (209, 582)
- fill_color 13434879
- nlines 1
- max_width 542
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 560
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @230
- location (480, 1039)
- line_color 3342489
- fill_color 13434879
- supplier @229
- vertices (list Points
- (480, 1039)
- (480, 808)))
- (object InheritView "" @231
- stereotype TRUE
- line_color 3342489
- quidu "3AD600CB00AA"
- client @220
- supplier @229
- line_style 3
- origin_attachment (1566, 1824)
- terminal_attachment (1566, 1039)
- drawSupplier @230)
- (object InheritView "" @232
- stereotype TRUE
- line_color 3342489
- quidu "3B85B5A4027E"
- client @226
- supplier @229
- line_style 3
- origin_attachment (1097, 2079)
- terminal_attachment (1097, 1039)
- drawSupplier @230)
- (object InheritView "" @233
- stereotype TRUE
- line_color 3342489
- quidu "3AE0938602C9"
- client @222
- supplier @229
- line_style 3
- origin_attachment (1219, 2271)
- terminal_attachment (1219, 1039)
- drawSupplier @230)
- (object InheritView "" @234
- stereotype TRUE
- line_color 3342489
- quidu "3B85B59B0072"
- client @225
- supplier @229
- line_style 3
- origin_attachment (988, 1887)
- terminal_attachment (988, 1039)
- drawSupplier @230)
- (object InheritView "" @235
- stereotype TRUE
- line_color 3342489
- quidu "3AD6009202F7"
- client @223
- supplier @229
- line_style 3
- origin_attachment (797, 1695)
- terminal_attachment (797, 1039)
- drawSupplier @230)
- (object InheritView "" @236
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA0F02F0"
- client @219
- supplier @229
- line_style 3
- origin_attachment (601, 1519)
- terminal_attachment (601, 1039)
- drawSupplier @230)
- (object InheritView "" @237
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FDB803D4"
- client @227
- supplier @229
- line_style 3
- origin_attachment (211, 1223)
- terminal_attachment (211, 1039)
- drawSupplier @230)
- (object InheritView "" @238
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @228
- supplier @229
- line_style 3
- origin_attachment (414, 1344)
- terminal_attachment (414, 1039)
- drawSupplier @230)
- (object InheritView "" @239
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA20025E"
- client @221
- supplier @229
- line_style 3
- origin_attachment (1429, 1663)
- terminal_attachment (1429, 1039)
- drawSupplier @230)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @240
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 688)
- label (object ItemLabel
- Parent_View @240
- location (1632, 583)
- fill_color 13434879
- nlines 1
- max_width 545
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 563
- height 234
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @241
- location (1191, 672)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @242
- Parent_View @241
- location (23, 560)
- label (object SegLabel @243
- Parent_View @242
- location (847, 631)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @241
- supplier @229
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (760, 672)
- label (object SegLabel @244
- Parent_View @242
- location (830, 628)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.839695
- height 45
- orientation 1))
- (object RoleView "eExtensibilityElements" @245
- Parent_View @241
- location (23, 560)
- label (object SegLabel @246
- Parent_View @245
- location (1355, 522)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label "+eExtensibilityElements"
- pctDist 0.379070
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @241
- supplier @240
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (1623, 672)
- label (object SegLabel @247
- Parent_View @245
- location (1496, 627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.709402
- height 46
- orientation 0)
- label (object SegLabel @248
- Parent_View @245
- location (1463, 764)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.632479
- height 92
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::WSDLElement" @249
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1008, 192)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @249
- location (630, 86)
- fill_color 13434879
- nlines 1
- max_width 756
- justify 0
- label "WSDLElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C6A302DD"
- width 774
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @250
- location (1008, 402)
- line_color 3342489
- fill_color 13434879
- supplier @249
- vertices (list Points
- (1008, 402)
- (1008, 312)))
- (object InheritView "" @251
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FE3C03D4"
- client @229
- supplier @249
- line_style 3
- origin_attachment (492, 568)
- terminal_attachment (492, 402)
- drawSupplier @250)
- (object InheritView "" @252
- stereotype TRUE
- line_color 3342489
- quidu "3B84B14903D0"
- client @240
- supplier @224
- line_style 3
- origin_attachment (2015, 571)
- terminal_attachment (2015, 246))
- (object InheritView "" @253
- stereotype TRUE
- line_color 3342489
- quidu "3BDDF53502C3"
- client @240
- supplier @249
- line_style 3
- origin_attachment (1762, 571)
- terminal_attachment (1762, 402)
- drawSupplier @250)
- (object ClassView "Class" "Logical View::wsdl::UnknownExtensibilityElement" @254
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2016, 1360)
- label (object ItemLabel
- Parent_View @254
- location (1731, 1307)
- fill_color 13434879
- nlines 1
- max_width 570
- justify 0
- label "UnknownExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CB24AC002AE"
- width 588
- height 130
- annotation 8
- autoResize TRUE)
- (object InheritView "" @255
- stereotype TRUE
- line_color 3342489
- quidu "3CB24AEC01CB"
- client @254
- supplier @240
- line_style 3
- origin_attachment (1796, 1295)
- terminal_attachment (1796, 805))
- (object AssociationViewNew "$UNNAMED$63" @256
- location (2311, 1686)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A2026E"
- roleview_list (list RoleViews
- (object RoleView "parent" @257
- Parent_View @256
- location (279, 294)
- label (object SegLabel @258
- Parent_View @257
- location (2422, 1333)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+parent"
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012B"
- client @256
- supplier @254
- vertices (list Points
- (2311, 1686)
- (2432, 1686)
- (2432, 1374)
- (2310, 1374))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2310, 1374)
- label (object SegLabel @259
- Parent_View @257
- location (2366, 1428)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "children" @260
- Parent_View @256
- location (279, 294)
- label (object SegLabel @261
- Parent_View @260
- location (1899, 1537)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+children"
- pctDist 0.798561
- height 118
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012C"
- client @256
- supplier @254
- vertices (list Points
- (2311, 1686)
- (2016, 1686)
- (2016, 1425))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2016, 1425)
- label (object SegLabel @262
- Parent_View @260
- location (2070, 1481)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))))
- (object ClassDiagram "2.1.1 Naming and Linking"
- quid "3AE8ED7201BD"
- title "2.1.1 Naming and Linking"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IImport" @263
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 224)
- label (object ItemLabel
- Parent_View @263
- location (1422, 177)
- fill_color 13434879
- nlines 1
- max_width 580
- justify 0
- label "IImport")
- stereotype (object ItemLabel
- Parent_View @263
- location (1422, 127)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 580
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B2020119"
- width 598
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Namespace" @264
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 1136)
- label (object ItemLabel
- Parent_View @264
- location (202, 1041)
- fill_color 13434879
- nlines 1
- max_width 461
- justify 0
- label "Namespace")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AEA3CD30030"
- width 479
- height 215
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @265
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1632, 1216)
- label (object ItemLabel
- Parent_View @265
- location (1294, 1142)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 694
- height 173
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @266
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (400, 384)
- label (object ItemLabel
- Parent_View @266
- location (164, 236)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 490
- height 320
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$37" @267
- location (309, 786)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D55002D"
- roleview_list (list RoleViews
- (object RoleView "eNamespaces" @268
- Parent_View @267
- location (-91, 258)
- label (object SegLabel @269
- Parent_View @268
- location (461, 956)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+eNamespaces"
- pctDist 0.698842
- height 152
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560332"
- client @267
- supplier @264
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 1029)
- label (object SegLabel @270
- Parent_View @268
- location (248, 973)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.768707
- height 62
- orientation 1)
- label (object SegLabel @271
- Parent_View @268
- location (228, 913)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.525097
- height 82
- orientation 1))
- (object RoleView "$UNNAMED$38" @272
- Parent_View @267
- location (-91, 258)
- label (object SegLabel @273
- Parent_View @272
- location (268, 592)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560328"
- client @267
- supplier @266
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 544)
- label (object SegLabel @274
- Parent_View @272
- location (239, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.844961
- height 71
- orientation 0))))
- (object ClassView "Class" "Logical View::wsdl::Import" @275
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1472, 720)
- label (object ItemLabel
- Parent_View @275
- location (1255, 580)
- fill_color 13434879
- nlines 1
- max_width 434
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- width 452
- height 304
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$51" @276
- location (1486, 1001)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCC02E5"
- roleview_list (list RoleViews
- (object RoleView "eSchema" @277
- Parent_View @276
- location (510, -103)
- label (object SegLabel @278
- Parent_View @277
- location (1737, 1018)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eSchema"
- pctDist 0.592593
- height 105
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE0270"
- client @276
- supplier @265
- vertices (list Points
- (1486, 1001)
- (1632, 1001)
- (1632, 1130))
- line_style 3
- origin_attachment (1486, 1001)
- terminal_attachment (1632, 1130)
- label (object SegLabel @279
- Parent_View @277
- location (1563, 1018)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.592593
- height 70
- orientation 1))
- (object RoleView "$UNNAMED$52" @280
- Parent_View @276
- location (510, -103)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE027A"
- client @276
- supplier @275
- line_style 3
- origin_attachment (1486, 872)
- terminal_attachment (1486, 872))))
- (object AssociationViewNew "$UNNAMED$39" @281
- location (1087, 403)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3A002D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$40" @282
- Parent_View @281
- location (687, -125)
- label (object SegLabel @283
- Parent_View @282
- location (1406, 480)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01F2"
- client @281
- supplier @275
- vertices (list Points
- (1087, 403)
- (1364, 403)
- (1364, 568))
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (1364, 568))
- (object RoleView "eDefinition" @284
- Parent_View @281
- location (687, -125)
- label (object SegLabel @285
- Parent_View @284
- location (805, 363)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eDefinition"
- pctDist 0.637532
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01E8"
- client @281
- supplier @266
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (645, 403)
- label (object SegLabel @286
- Parent_View @284
- location (727, 456)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.814910
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$57" @287
- location (737, 826)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @288
- Parent_View @287
- location (-671, 106)
- label (object SegLabel @289
- Parent_View @288
- location (552, 647)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @287
- supplier @266
- vertices (list Points
- (737, 826)
- (510, 826)
- (510, 544))
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (510, 544)
- label (object SegLabel @290
- Parent_View @288
- location (457, 595)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "eImports" @291
- Parent_View @287
- location (-671, 106)
- label (object SegLabel @292
- Parent_View @291
- location (1144, 773)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eImports"
- pctDist 0.799189
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @287
- supplier @275
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (1246, 826)
- label (object SegLabel @293
- Parent_View @291
- location (1180, 879)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.872211
- height 53
- orientation 1)
- label (object SegLabel @294
- Parent_View @291
- location (1162, 933)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.837728
- height 107
- orientation 1))))
- (object InheritView "" @295
- stereotype TRUE
- line_color 3342489
- quidu "3F6F200D0340"
- client @275
- supplier @263
- line_style 3
- origin_attachment (1555, 568)
- terminal_attachment (1555, 333))))
- (object ClassDiagram "2.2 Types"
- quid "3B85AE59037E"
- title "2.2 Types"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 81
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @296
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1136, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @296
- location (895, 1159)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ECD302A9"
- width 500
- height 174
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @297
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1136, 1600)
- label (object ItemLabel
- Parent_View @297
- location (906, 1531)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 478
- height 162
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @298
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1968)
- label (object ItemLabel
- Parent_View @298
- location (1022, 1828)
- fill_color 13434879
- nlines 1
- max_width 517
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 535
- height 305
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Part" @299
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1184)
- label (object ItemLabel
- Parent_View @299
- location (128, 1067)
- fill_color 13434879
- nlines 1
- max_width 448
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 466
- height 258
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$47" @300
- location (735, 1172)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE900C4"
- roleview_list (list RoleViews
- (object RoleView "typeDefinition" @301
- Parent_View @300
- location (143, 676)
- label (object SegLabel @302
- Parent_View @301
- location (775, 1133)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.269006
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90327"
- client @300
- supplier @296
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (886, 1172)
- label (object SegLabel @303
- Parent_View @301
- location (839, 1207)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.688705
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$48" @304
- Parent_View @300
- location (143, 676)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90331"
- client @300
- supplier @299
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (585, 1172))))
- (object AssociationViewNew "$UNNAMED$49" @305
- location (527, 1592)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C1203B2"
- roleview_list (list RoleViews
- (object RoleView "elementDeclaration" @306
- Parent_View @305
- location (-65, 1096)
- label (object SegLabel @307
- Parent_View @306
- location (666, 1554)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+elementDeclaration"
- pctDist 0.375394
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C14001C"
- client @305
- supplier @297
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (897, 1592)
- label (object SegLabel @308
- Parent_View @306
- location (807, 1645)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.755877
- height 53
- orientation 1))
- (object RoleView "$UNNAMED$50" @309
- Parent_View @305
- location (-65, 1096)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C140026"
- client @305
- supplier @299
- vertices (list Points
- (527, 1592)
- (437, 1592)
- (437, 1313))
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (437, 1313))))
- (object AssociationViewNew "$UNNAMED$55" @310
- location (322, 1911)
- stereotype TRUE
- line_color 3342489
- quidu "3C46829303E5"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @311
- Parent_View @310
- location (-14, 1191)
- label (object SegLabel @312
- Parent_View @311
- location (838, 1872)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.748560
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C468296010E"
- client @310
- supplier @298
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (1013, 1911)
- label (object SegLabel @313
- Parent_View @311
- location (943, 1965)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$56" @314
- Parent_View @310
- location (-14, 1191)
- stereotype TRUE
- line_color 3342489
- quidu "3C4682960118"
- client @310
- supplier @299
- vertices (list Points
- (322, 1911)
- (229, 1911)
- (229, 1313))
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (229, 1313))))
- (object ClassView "Class" "Logical View::wsdl::Types" @315
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 608)
- label (object ItemLabel
- Parent_View @315
- location (615, 512)
- fill_color 13434879
- nlines 1
- max_width 371
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 389
- height 216
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @316
- ShowCompartmentStereotypes TRUE
- location (176, 160)
- label (object ItemLabel
- Parent_View @316
- location (74, 107)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 130
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @317
- location (234, 604)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "eTypes" @318
- Parent_View @317
- location (-150, 396)
- label (object SegLabel @319
- Parent_View @318
- location (480, 640)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "+eTypes"
- pctDist 0.661017
- height 36
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @317
- supplier @315
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (606, 604)
- label (object SegLabel @320
- Parent_View @318
- location (526, 569)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783883
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$54" @321
- Parent_View @317
- location (-150, 396)
- label (object SegLabel @322
- Parent_View @321
- location (133, 313)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @317
- supplier @316
- vertices (list Points
- (234, 604)
- (174, 604)
- (174, 225))
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (174, 225)
- label (object SegLabel @323
- Parent_View @321
- location (228, 271)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.897729
- height 54
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::ITypes" @324
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (640, 224)
- label (object ItemLabel
- Parent_View @324
- location (525, 203)
- fill_color 13434879
- nlines 1
- max_width 230
- justify 0
- label "ITypes")
- stereotype (object ItemLabel
- Parent_View @324
- location (525, 153)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 230
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3CADCBB20050"
- width 248
- height 166
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::XSDSchemaExtensibilityElement" @325
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 800)
- label (object ItemLabel
- Parent_View @325
- location (1359, 753)
- fill_color 13434879
- nlines 1
- max_width 739
- justify 0
- label "XSDSchemaExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CC360D7039C"
- width 757
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @326
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1856, 1216)
- label (object ItemLabel
- Parent_View @326
- location (1529, 1103)
- fill_color 13434879
- nlines 1
- max_width 655
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 673
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$59" @327
- location (1826, 975)
- stereotype TRUE
- line_color 3342489
- quidu "3CC3614500F2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$60" @328
- Parent_View @327
- location (306, 447)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023D"
- client @327
- supplier @325
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 859)
- label (object SegLabel @329
- Parent_View @328
- location (1774, 900)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.656489
- height 53
- orientation 0))
- (object RoleView "schema" @330
- Parent_View @327
- location (306, 447)
- label (object SegLabel @331
- Parent_View @330
- location (2006, 1033)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist 0.507576
- height 180
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023E"
- client @327
- supplier @326
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 1091)
- label (object SegLabel @332
- Parent_View @330
- location (1788, 1050)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.651515
- height 39
- orientation 1))))
- (object InheritView "" @333
- stereotype TRUE
- line_color 3342489
- quidu "3CADCD3B0380"
- client @315
- supplier @324
- line_style 3
- origin_attachment (705, 500)
- terminal_attachment (705, 307))
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @334
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 224)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @334
- location (815, 132)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 500
- height 212
- annotation 8
- autoResize TRUE)
- (object InheritView "" @335
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @315
- supplier @334
- line_style 3
- origin_attachment (854, 500)
- terminal_attachment (854, 330))
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @336
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1824, 464)
- label (object ItemLabel
- Parent_View @336
- location (1490, 368)
- fill_color 13434879
- nlines 1
- max_width 669
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 687
- height 216
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @337
- location (1206, 493)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @338
- Parent_View @337
- location (-586, 237)
- label (object SegLabel @339
- Parent_View @338
- location (1136, 386)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @337
- supplier @334
- vertices (list Points
- (1206, 493)
- (1094, 493)
- (1094, 330))
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1094, 330)
- label (object SegLabel @340
- Parent_View @338
- location (1042, 377)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.828326
- height 53
- orientation 0))
- (object RoleView "eExtensibilityElements" @341
- Parent_View @337
- location (-586, 237)
- label (object SegLabel @342
- Parent_View @341
- location (1196, 454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+eExtensibilityElements"
- pctDist -0.039711
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @337
- supplier @336
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1481, 493)
- label (object SegLabel @343
- Parent_View @341
- location (1415, 546)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.764957
- height 53
- orientation 1)
- label (object SegLabel @344
- Parent_View @341
- location (1396, 392)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.694915
- height 102
- orientation 0))))
- (object InheritView "" @345
- stereotype TRUE
- line_color 3342489
- quidu "3CC3627F00B7"
- client @325
- supplier @336
- line_style 3
- origin_attachment (1812, 741)
- terminal_attachment (1812, 572))))
- (object ClassDiagram "2.3 Messages"
- quid "3BCE853D02C8"
- title "2.3 Messages"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IMessage" @346
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (448, 224)
- label (object ItemLabel
- Parent_View @346
- location (267, 122)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "IMessage")
- stereotype (object ItemLabel
- Parent_View @346
- location (267, 72)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 362
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A8AF004F"
- width 380
- height 328
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPart" @347
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 224)
- label (object ItemLabel
- Parent_View @347
- location (1029, 124)
- fill_color 13434879
- nlines 1
- max_width 599
- justify 0
- label "IPart")
- stereotype (object ItemLabel
- Parent_View @347
- location (1029, 74)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 599
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A93F01BE"
- width 617
- height 324
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @348
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 816)
- label (object ItemLabel
- Parent_View @348
- location (1075, 690)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 492
- height 276
- annotation 8
- autoResize TRUE)
- (object InheritView "" @349
- stereotype TRUE
- line_color 3342489
- quidu "3B84A96D02F1"
- client @348
- supplier @347
- line_style 3
- origin_attachment (1304, 678)
- terminal_attachment (1304, 386))
- (object ClassView "Class" "Logical View::wsdl::Message" @350
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (448, 656)
- label (object ItemLabel
- Parent_View @350
- location (241, 507)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @351
- stereotype TRUE
- line_color 3342489
- quidu "3B84A8D102BA"
- client @350
- supplier @346
- line_style 3
- origin_attachment (445, 495)
- terminal_attachment (445, 388))
- (object AssociationViewNew "$UNNAMED$1" @352
- location (688, 952)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBE00E2"
- roleview_list (list RoleViews
- (object RoleView "eParts" @353
- Parent_View @352
- location (176, 328)
- label (object SegLabel @354
- Parent_View @353
- location (952, 897)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eParts"
- pctDist 0.697452
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0061"
- client @352
- supplier @348
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (1066, 952)
- label (object SegLabel @355
- Parent_View @353
- location (987, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.789809
- height 53
- orientation 1)
- label (object SegLabel @356
- Parent_View @353
- location (967, 1061)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.742038
- height 109
- orientation 1))
- (object RoleView "$UNNAMED$2" @357
- Parent_View @352
- location (176, 328)
- label (object SegLabel @358
- Parent_View @357
- location (404, 893)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0057"
- client @352
- supplier @350
- vertices (list Points
- (688, 952)
- (445, 952)
- (445, 817))
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (445, 817)
- label (object SegLabel @359
- Parent_View @357
- location (393, 912)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.747604
- height 53
- orientation 0))))))))
- (object Class_Category "soap"
- quid "3A01CF0C01A2"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "SOAPBinding"
- quid "3A01D3B901AD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A3801AB"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "transportURI"
- quid "3A01D3DF01E4"
- type "String")
- (object ClassAttribute "style"
- quid "3A01D3F1029E"
- type "String"))
- language "Java")
- (object Class "SOAPBody"
- quid "3A01DED5031F"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A450041"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "use"
- quid "3A01E2D501A5"
- type "String")
- (object ClassAttribute "namespaceURI"
- quid "3A93477C01B2"
- type "String")
- (object ClassAttribute "encodingStyles"
- quid "3EE4A4DB0072"
- stereotype "0..*"
- type "IString"))
- language "Java")
- (object Class "SOAPHeaderBase"
- quid "3A01DEE7034D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A3E0326"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "use"
- quid "3AD62E9C0056"
- type "String")
- (object ClassAttribute "namespaceURI"
- quid "3AD62EA2025D"
- type "String")
- (object ClassAttribute "encodingStyles"
- quid "3EE4A58F01AE"
- stereotype "0..*"
- type "IString"))
- language "Java")
- (object Class "SOAPFault"
- quid "3A06D9FA00F7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A4A0020"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "use"
- quid "3A09821A012B"
- type "String")
- (object ClassAttribute "namespaceURI"
- quid "3AD6204803AE"
- type "String")
- (object ClassAttribute "encodingStyles"
- quid "3EE4A56303AF"
- stereotype "0..*"
- type "IString"))
- language "Java")
- (object Class "SOAPOperation"
- quid "3A0AD45500E8"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE09A4E031F"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "soapActionURI"
- quid "3A0AD464004A"
- type "String")
- (object ClassAttribute "style"
- quid "3A0AD46C018C"
- type "String"))
- language "Java")
- (object Class "SOAPAddress"
- quid "3AD1FF750287"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE095350098"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "locationURI"
- quid "3AD211C9025C"
- type "String"))
- language "Java")
- (object Class "SOAPHeaderFault"
- quid "3AD632B803DD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD633340038"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D"))
- language "Java")
- (object Class "SOAPHeader"
- quid "3AD63309016D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD63330017D"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D"))
- language "Java")
- (object Class "IString"
- quid "3B8DD90C0220"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.lang.String"
- quid "3B8DD9320383"
- stereotype "javaclass")))
- (object Association "$UNNAMED$64"
- quid "3A06E0B50036"
- roles (list role_list
- (object Role "$UNNAMED$65"
- quid "3A06E0B600C4"
- supplier "Logical View::soap::SOAPBody"
- quidu "3A01DED5031F")
- (object Role "parts"
- quid "3A06E0B600C5"
- label "parts"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$66"
- quid "3AD62DE60130"
- roles (list role_list
- (object Role "message"
- quid "3AD62DE7004B"
- label "message"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$67"
- quid "3AD62DE70055"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D")))
- (object Association "$UNNAMED$68"
- quid "3AD62DF802D1"
- roles (list role_list
- (object Role "part"
- quid "3AD62DFA0002"
- label "part"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$69"
- quid "3AD62DFA0003"
- supplier "Logical View::soap::SOAPHeaderBase"
- quidu "3A01DEE7034D")))
- (object Association "$UNNAMED$70"
- quid "3AD6333701CD"
- roles (list role_list
- (object Role "$UNNAMED$71"
- quid "3AD633370372"
- supplier "Logical View::soap::SOAPHeader"
- quidu "3AD63309016D"
- is_aggregate TRUE)
- (object Role "headerFaults"
- quid "3AD633370373"
- label "headerFaults"
- supplier "Logical View::soap::SOAPHeaderFault"
- quidu "3AD632B803DD"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Binding"
- quid "3A01CF23029F"
- title "Binding"
- zoom 87
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 324
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::soap::SOAPBinding" @360
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 208)
- label (object ItemLabel
- Parent_View @360
- location (55, 100)
- fill_color 13434879
- nlines 1
- max_width 434
- justify 0
- label "SOAPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01D3B901AD"
- compartment (object Compartment
- Parent_View @360
- location (55, 157)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 428)
- width 452
- height 240
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPOperation" @361
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 208)
- label (object ItemLabel
- Parent_View @361
- location (803, 100)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "SOAPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A0AD45500E8"
- compartment (object Compartment
- Parent_View @361
- location (803, 157)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 471)
- width 492
- height 240
- annotation 8)
- (object ClassView "Class" "Logical View::soap::SOAPHeader" @362
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (560, 960)
- label (object ItemLabel
- Parent_View @362
- location (395, 907)
- fill_color 13434879
- nlines 1
- max_width 330
- justify 0
- label "SOAPHeader")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD63309016D"
- width 348
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPHeaderFault" @363
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 960)
- label (object ItemLabel
- Parent_View @363
- location (1142, 907)
- fill_color 13434879
- nlines 1
- max_width 436
- justify 0
- label "SOAPHeaderFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD632B803DD"
- width 454
- height 130
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$70" @364
- location (933, 961)
- stereotype TRUE
- line_color 3342489
- quidu "3AD6333701CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$71" @365
- Parent_View @364
- location (277, -543)
- stereotype TRUE
- line_color 3342489
- quidu "3AD633370372"
- client @364
- supplier @362
- line_style 3
- origin_attachment (933, 961)
- terminal_attachment (734, 961))
- (object RoleView "headerFaults" @366
- Parent_View @364
- location (277, -543)
- label (object SegLabel @367
- Parent_View @366
- location (928, 921)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 346
- justify 0
- label "+headerFaults"
- pctDist -0.030702
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD633370373"
- client @364
- supplier @363
- line_style 3
- origin_attachment (933, 961)
- terminal_attachment (1133, 961)
- label (object SegLabel @368
- Parent_View @366
- location (1080, 924)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.736842
- height 38
- orientation 0)
- label (object SegLabel @369
- Parent_View @366
- location (1056, 999)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 151
- justify 0
- label "{ordered}"
- pctDist 0.614035
- height 38
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Message" @370
- ShowCompartmentStereotypes TRUE
- location (1824, 496)
- label (object ItemLabel
- Parent_View @370
- location (1701, 419)
- fill_color 13434879
- nlines 1
- max_width 246
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 264
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPHeaderBase" @371
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 528)
- label (object ItemLabel
- Parent_View @371
- location (794, 420)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "SOAPHeaderBase")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DEE7034D"
- compartment (object Compartment
- Parent_View @371
- location (794, 477)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 665)
- width 510
- height 240
- annotation 8)
- (object AssociationViewNew "$UNNAMED$66" @372
- location (1493, 485)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DE60130"
- roleview_list (list RoleViews
- (object RoleView "message" @373
- Parent_View @372
- location (341, -683)
- label (object SegLabel @374
- Parent_View @373
- location (1574, 515)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 256
- justify 0
- label "+message"
- pctDist 0.412322
- height 30
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DE7004B"
- client @372
- supplier @370
- line_style 3
- origin_attachment (1493, 485)
- terminal_attachment (1692, 485)
- label (object SegLabel @375
- Parent_View @373
- location (1630, 448)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.687204
- height 38
- orientation 0))
- (object RoleView "$UNNAMED$67" @376
- Parent_View @372
- location (341, -683)
- label (object SegLabel @377
- Parent_View @376
- location (1420, 525)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.372254
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DE70055"
- client @372
- supplier @371
- line_style 3
- origin_attachment (1493, 485)
- terminal_attachment (1295, 485))))
- (object ClassView "Class" "Logical View::soap::SOAPBody" @378
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1344)
- label (object ItemLabel
- Parent_View @378
- location (794, 1236)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "SOAPBody")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DED5031F"
- compartment (object Compartment
- Parent_View @378
- location (794, 1293)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 665)
- width 510
- height 240
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @379
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1824, 1200)
- label (object ItemLabel
- Parent_View @379
- location (1628, 956)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 410
- height 512
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$68" @380
- location (1590, 704)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DF802D1"
- roleview_list (list RoleViews
- (object RoleView "part" @381
- Parent_View @380
- location (438, -464)
- label (object SegLabel @382
- Parent_View @381
- location (1917, 886)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+part"
- pctDist 0.881465
- height 90
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DFA0002"
- client @380
- supplier @379
- vertices (list Points
- (1590, 704)
- (1827, 704)
- (1827, 944))
- line_style 3
- origin_attachment (1590, 704)
- terminal_attachment (1827, 944)
- label (object SegLabel @383
- Parent_View @381
- location (1774, 886)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.881465
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$69" @384
- Parent_View @380
- location (438, -464)
- label (object SegLabel @385
- Parent_View @384
- location (1209, 746)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD62DFA0003"
- client @380
- supplier @371
- vertices (list Points
- (1590, 704)
- (1170, 704)
- (1170, 648))
- line_style 3
- origin_attachment (1590, 704)
- terminal_attachment (1170, 648))))
- (object AssociationViewNew "$UNNAMED$64" @386
- location (1457, 1390)
- stereotype TRUE
- line_color 3342489
- quidu "3A06E0B50036"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$65" @387
- Parent_View @386
- location (225, -914)
- stereotype TRUE
- line_color 3342489
- quidu "3A06E0B600C4"
- client @386
- supplier @378
- line_style 3
- origin_attachment (1457, 1390)
- terminal_attachment (1295, 1390))
- (object RoleView "parts" @388
- Parent_View @386
- location (225, -914)
- label (object SegLabel @389
- Parent_View @388
- location (1591, 1494)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 159
- justify 0
- label "+parts"
- pctDist 0.833856
- height 104
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3A06E0B600C5"
- client @386
- supplier @379
- line_style 3
- origin_attachment (1457, 1390)
- terminal_attachment (1619, 1390)
- label (object SegLabel @390
- Parent_View @388
- location (1591, 1344)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.833856
- height 47
- orientation 0))))
- (object ClassView "Class" "Logical View::soap::SOAPFault" @391
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1648)
- label (object ItemLabel
- Parent_View @391
- location (794, 1540)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "SOAPFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A06D9FA00F7"
- compartment (object Compartment
- Parent_View @391
- location (794, 1597)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 665)
- width 510
- height 240
- annotation 8)
- (object ClassView "Class" "Logical View::soap::IString" @392
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (240, 1360)
- label (object ItemLabel
- Parent_View @392
- location (66, 1332)
- fill_color 13434879
- nlines 1
- max_width 348
- justify 0
- label "IString")
- stereotype (object ItemLabel
- Parent_View @392
- location (66, 1282)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 348
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8DD90C0220"
- width 366
- height 180
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @393
- location (1040, 750)
- line_color 3342489
- fill_color 13434879
- supplier @371
- vertices (list Points
- (1040, 750)
- (1040, 648)))
- (object InheritView "" @394
- stereotype TRUE
- line_color 3342489
- quidu "3AD63330017D"
- client @362
- supplier @371
- line_style 3
- origin_attachment (645, 895)
- terminal_attachment (645, 750)
- drawSupplier @393)
- (object InheritView "" @395
- stereotype TRUE
- line_color 3342489
- quidu "3AD633340038"
- client @363
- supplier @371
- line_style 3
- origin_attachment (1316, 895)
- terminal_attachment (1316, 750)
- drawSupplier @393)))
- (object ClassDiagram "Port"
- quid "3A085E30035C"
- title "Port"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::soap::SOAPAddress" @396
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 320)
- label (object ItemLabel
- Parent_View @396
- location (151, 239)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "SOAPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD1FF750287"
- compartment (object Compartment
- Parent_View @396
- location (151, 294)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 409)
- width 420
- height 186
- annotation 8
- autoResize TRUE)))
- (object ClassDiagram "Extensibility"
- quid "3AE099B10161"
- title "Extensibility"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::soap::SOAPAddress" @397
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1520, 576)
- label (object ItemLabel
- Parent_View @397
- location (1371, 527)
- fill_color 13434879
- nlines 1
- max_width 298
- justify 0
- label "SOAPAddress")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD1FF750287"
- width 316
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPBinding" @398
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (304, 592)
- label (object ItemLabel
- Parent_View @398
- location (162, 543)
- fill_color 13434879
- nlines 1
- max_width 284
- justify 0
- label "SOAPBinding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01D3B901AD"
- width 302
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPBody" @399
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1072, 1104)
- label (object ItemLabel
- Parent_View @399
- location (950, 1055)
- fill_color 13434879
- nlines 1
- max_width 244
- justify 0
- label "SOAPBody")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DED5031F"
- width 262
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPFault" @400
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1232, 1264)
- label (object ItemLabel
- Parent_View @400
- location (1112, 1215)
- fill_color 13434879
- nlines 1
- max_width 240
- justify 0
- label "SOAPFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A06D9FA00F7"
- width 258
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPOperation" @401
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (512, 752)
- label (object ItemLabel
- Parent_View @401
- location (344, 703)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "SOAPOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A0AD45500E8"
- width 354
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::soap::SOAPHeaderBase" @402
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (816, 928)
- label (object ItemLabel
- Parent_View @402
- location (627, 879)
- fill_color 13434879
- nlines 1
- max_width 378
- justify 0
- label "SOAPHeaderBase")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01DEE7034D"
- width 396
- height 122
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @403
- ShowCompartmentStereotypes TRUE
- location (608, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @403
- location (408, 55)
- fill_color 13434879
- nlines 1
- max_width 400
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 418
- height 174
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @404
- location (608, 305)
- line_color 3342489
- fill_color 13434879
- supplier @403
- vertices (list Points
- (608, 305)
- (608, 215)))
- (object InheritView "" @405
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A3801AB"
- client @398
- supplier @403
- line_style 3
- origin_attachment (344, 531)
- terminal_attachment (344, 305)
- drawSupplier @404)
- (object InheritView "" @406
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A3E0326"
- client @402
- supplier @403
- line_style 3
- origin_attachment (815, 867)
- terminal_attachment (815, 305)
- drawSupplier @404)
- (object InheritView "" @407
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A450041"
- client @399
- supplier @403
- line_style 3
- origin_attachment (1068, 1043)
- terminal_attachment (1068, 305)
- drawSupplier @404)
- (object InheritView "" @408
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A4E031F"
- client @401
- supplier @403
- line_style 3
- origin_attachment (506, 691)
- terminal_attachment (506, 305)
- drawSupplier @404)
- (object InheritView "" @409
- stereotype TRUE
- line_color 3342489
- quidu "3AE09A4A0020"
- client @400
- supplier @403
- line_style 3
- origin_attachment (1231, 1203)
- terminal_attachment (1231, 305)
- drawSupplier @404)
- (object InheritView "" @410
- stereotype TRUE
- line_color 3342489
- quidu "3AE095350098"
- client @397
- supplier @403
- line_style 3
- origin_attachment (1520, 515)
- terminal_attachment (1520, 305)
- drawSupplier @404)))))
- (object Class_Category "xsd"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "prefix"
- value "XSD")
- (object Attribute
- tool "Ecore"
- name "basePackage"
- value "org.eclipse")
- (object Attribute
- tool "Ecore"
- name "nsPrefix"
- value "xsd")
- (object Attribute
- tool "Ecore"
- name "nsURI"
- value "http://www.eclipse.org/xsd/2002/XSD"))
- quid "39ABDC6F01AA"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "XSDAnnotation"
- quid "3B66EDC80233"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69E1770116"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B7FD4E20366"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "applicationInformation"
- quid "3BBF7EBF02C8"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "userInformation"
- quid "3BBF7EEA0157"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "attributes"
- quid "3BBF7F0501E2"
- stereotype "0..*"
- type "DOMAttr"
- exportControl "Public")))
- (object Class "XSDAttributeDeclaration"
- quid "3B66ED2E0192"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69B7DC0193"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B688E6103BE"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F5202B4"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeGroupContent"
- quid "3B6940200089"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D8E200EA"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDAttributeGroupDefinition"
- quid "3B66ED840290"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69403A0221"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B6AE2EB02A8"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAC800D2"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F7B0386"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeUse"
- quid "3B68354601A8"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D737038F"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B72D7BB0349"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3B69CCF3027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B69CDDB03B7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CDE002D8"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "use"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7B0220382"
- type "XSDAttributeUseCategory"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C2719D90341"
- type "String"
- exportControl "Public")))
- (object Class "XSDBoundedFacet"
- quid "3B6C751D0344"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C763C0224"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C752A00CC"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDCardinalityFacet"
- quid "3B6C755D03D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C764F0131"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C756C0153"
- type "XSDCardinality"
- exportControl "Public")))
- (object Class "XSDComplexTypeContent"
- quid "3B683BA00196"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848B80286"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDComplexTypeDefinition"
- quid "3B682B82031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69BAA20310"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2")
- (object Inheritance_Relationship
- quid "3BA0D01901F1"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "derivationMethod"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C6E4020E"
- type "XSDDerivationMethod"
- initv "restriction"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B69C71D026A"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C73800C5"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "contentTypeCategory"
- quid "3B69CA4202B8"
- type "XSDContentTypeCategory"
- exportControl "Public")
- (object ClassAttribute "prohibitedSubstitutions"
- quid "3B69CB8A03E6"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F618014D"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0FB97006E"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "mixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3C31AF5E03A6"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDComponent"
- quid "3B6846E90029"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA903D2"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDConcreteComponent"
- quid "3B6AD7B40065"
- class_attributes (list class_attribute_list
- (object ClassAttribute "element"
- quid "3B6ADDB501A5"
- type "DOMElement"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDConstrainingFacet"
- quid "3B6C6B340093"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C800394"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDDiagnostic"
- quid "3BFE5F910046"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3D4C0F4C01A1"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "severity"
- quid "3BFE691C005D"
- type "XSDDiagnosticSeverity"
- exportControl "Public")
- (object ClassAttribute "message"
- quid "3BFE5FDD0280"
- type "String"
- exportControl "Public")
- (object ClassAttribute "locationURI"
- quid "3C063743016B"
- type "String"
- exportControl "Public")
- (object ClassAttribute "line"
- quid "3BFE607E0213"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "column"
- quid "3BFE611E0296"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "node"
- quid "3C016B6B0200"
- type "DOMNode"
- exportControl "Public")
- (object ClassAttribute "annotationURI"
- quid "3C06374F0186"
- type "String"
- exportControl "Public")))
- (object Class "XSDElementDeclaration"
- quid "3B66ED580214"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69EDEE01BF"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B685F17002E"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174")
- (object Inheritance_Relationship
- quid "3B688E660339"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "nillable"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BFB4029F"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "disallowedSubstitutions"
- quid "3B69C4680368"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "substitutionGroupExclusions"
- quid "3B69C4A003B9"
- stereotype "0..*"
- type "XSDSubstitutionGroupExclusions"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C4E0000E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D14C00B2"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D16801C1"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "elementDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289F6203CF"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C34DCB00018"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDEnumerationFacet"
- quid "3B6C6ACE0141"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C9D03C7"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C640054"
- stereotype "0..*"
- type "Value"
- exportControl "Public")))
- (object Class "XSDFacet"
- quid "3B6C359403D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D25680259"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "lexicalValue"
- quid "3B6C73740253"
- type "String"
- exportControl "Public")
- (object ClassAttribute "facetName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289FB401EC"
- type "String"
- exportControl "Public")
- (object ClassAttribute "effectiveValue"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28AAE303B6"
- type "Value"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFeature"
- quid "3B69B537026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C290A2C0307"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B69BF81020F"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BF8800C5"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "form"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F902B033E"
- type "XSDForm"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C271A1B016F"
- type "String"
- exportControl "Public")
- (object ClassAttribute "global"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0070372"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "featureReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0440185"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFixedFacet"
- quid "3B6C699E00C1"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8801B4"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "fixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C6A600201"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFractionDigitsFacet"
- quid "3B6C79BE02EE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B990016"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79D2008A"
- type "int"
- exportControl "Public")))
- (object Class "XSDFundamentalFacet"
- quid "3B6C69E801D6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C7B0396"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDIdentityConstraintDefinition"
- quid "3B682B2603A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684AA30242"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "identityConstraintCategory"
- quid "3B69D1C70143"
- type "XSDIdentityConstraintCategory"
- exportControl "Public")))
- (object Class "XSDImport"
- quid "3B688C93017F"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8D9003E"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespace"
- quid "3B6ADB15036C"
- type "String"
- exportControl "Public")))
- (object Class "XSDInclude"
- quid "3B688C7D0250"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8DC0381"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDLengthFacet"
- quid "3B6C776200E7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C778002DF"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C776C004B"
- type "int"
- exportControl "Public")))
- (object Class "XSDMaxExclusiveFacet"
- quid "3B6C789600C2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8E0309"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxFacet"
- quid "3C0A1CEB010E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D3103AD"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1EE201F7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A174027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1930354"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMaxInclusiveFacet"
- quid "3B6C787D00DA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8303B8"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxLengthFacet"
- quid "3B6C77C70146"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B7D00FC"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C77DA00F3"
- type "int"
- exportControl "Public")))
- (object Class "XSDMinExclusiveFacet"
- quid "3B6C792D000A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B590281"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinFacet"
- quid "3C0A1CDE037C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D240098"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1ED10398"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1A2008E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1BE03E2"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMinInclusiveFacet"
- quid "3B6C788702C9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B520353"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinLengthFacet"
- quid "3B6C778C0065"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C77C400C0"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7799015E"
- type "int"
- exportControl "Public")))
- (object Class "XSDModelGroup"
- quid "3B6834E00291"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A640279"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "compositor"
- quid "3B69CF1D01CF"
- type "XSDCompositor"
- exportControl "Public")))
- (object Class "XSDModelGroupDefinition"
- quid "3B66ED9A0205"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2E20381"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B6BD2550385"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6")
- (object Inheritance_Relationship
- quid "3B7FCAC40090"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "modelGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1F602E8"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDNamedComponent"
- quid "3B6846D303A4"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA20197"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B6847000142"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B684704031E"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A57F0127"
- type "String"
- exportControl "Public")
- (object ClassAttribute "uRI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A58700E2"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasURI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A5AA02AF"
- type "String"
- exportControl "Public")
- (object ClassAttribute "qName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C290963025E"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDNotationDeclaration"
- quid "3B66EDAA021C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B68494302F1"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4")
- (object Inheritance_Relationship
- quid "3B688E4F023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "systemIdentifier"
- quid "3B69D32E00F0"
- type "String"
- exportControl "Public")
- (object ClassAttribute "publicIdentifier"
- quid "3B69D3340397"
- type "String"
- exportControl "Public")))
- (object Class "XSDNumericFacet"
- quid "3B6C75950206"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C76420074"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C75A30012"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDOrderedFacet"
- quid "3B6C74DD0248"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7659012C"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C74F602DA"
- type "XSDOrdered"
- exportControl "Public")))
- (object Class "XSDParticle"
- quid "3B682BBD01F7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848FC01E7"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "minOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF8E03B2"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "maxOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF9903AE"
- type "int"
- initv "1"
- exportControl "Public")))
- (object Class "XSDParticleContent"
- quid "3B6BD22300C6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B780BD90059"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDPatternFacet"
- quid "3B6C6ADB026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6CA5038D"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C790311"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDRedefinableComponent"
- quid "3B7FCA8B020B"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FD4BA023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3C290A26036D"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A6800216"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDRedefineContent"
- quid "3B6AE2060172"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2B301D5"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- abstract TRUE)
- (object Class "XSDRedefine"
- quid "3B688C9B02AD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB640240"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDRepeatableFacet"
- quid "3B6C6AA6031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8F002E"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- abstract TRUE)
- (object Class "XSDSchema"
- quid "374B182500BB"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCC4A0182"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "document"
- quid "3C2784E503DD"
- type "DOMDocument"
- exportControl "Public")
- (object ClassAttribute "schemaLocation"
- quid "3B6868EC0226"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B9F9BFF0180"
- type "String"
- exportControl "Public")
- (object ClassAttribute "attributeFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F904B0102"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "elementFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F907800AC"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "finalDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0C4A70038"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "blockDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F59D02D8"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "version"
- quid "3D22D6D80356"
- type "String"
- exportControl "Public")))
- (object Class "XSDSchemaCompositor"
- quid "3C21DB4102AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB560092"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- abstract TRUE)
- (object Class "XSDSchemaContent"
- quid "3B688CB800BA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8E60372"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDSchemaDirective"
- quid "3B6AD8A202A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE32102AF"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "schemaLocation"
- quid "3B6AD9B30330"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDScope"
- quid "3B69B54000F2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCD640231"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDSimpleTypeDefinition"
- quid "3B682BA7005D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A1302A2"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")
- (object Inheritance_Relationship
- quid "3B685F55032B"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C315800A9"
- type "XSDVariety"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B6D544F0146"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F65E035A"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "validFacets"
- quid "3C28AB0F00B6"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDTerm"
- quid "3B683C5E0174"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848AA01D3"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B6BD2440069"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"))
- abstract TRUE)
- (object Class "XSDTotalDigitsFacet"
- quid "3B6C79A0020E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B610337"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79AB0232"
- type "int"
- exportControl "Public")))
- (object Class "XSDTypeDefinition"
- quid "3B66ECD302A9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2F5013A"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAB1004D"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- abstract TRUE)
- (object Class "XSDWhiteSpaceFacet"
- quid "3B6C784601B7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C78620045"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C78500201"
- type "XSDWhiteSpace"
- exportControl "Public")))
- (object Class "XSDWildcard"
- quid "3B6838370031"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A3A0041"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceConstraintCategory"
- quid "3B69D0E9019E"
- type "XSDNamespaceConstraintCategory"
- exportControl "Public")
- (object ClassAttribute "namespaceConstraint"
- quid "3B97CF860223"
- stereotype "0..*"
- type "String"
- exportControl "Public")
- (object ClassAttribute "processContents"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69D12E01E4"
- type "XSDProcessContents"
- exportControl "Public")
- (object ClassAttribute "lexicalNamespaceConstraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7BDB701F9"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDXPathDefinition"
- quid "3B6D83BB0355"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D84F70092"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- quid "3B6D901503DE"
- type "XSDXPathVariety"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B7BBBE101B1"
- type "String"
- exportControl "Public")))
- (object Class "DOMAttr"
- quid "3BBF8C8901B6"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Attr"
- quid "3BBF8CB000D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMDocument"
- quid "3C27850E0381"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3C27851B03C6"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMElement"
- quid "3B8189790200"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B8189DB0374"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMNode"
- quid "3BFE64A50117"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Node"
- quid "3BFE65BF002D"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "Value"
- quid "3C040B5B031F"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.lang.Object"
- quid "3C040B8D03D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "XSDAttributeUseCategory"
- quid "3BA7B0E801A8"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "optional"
- quid "3BA7B11502B7"
- exportControl "Public")
- (object ClassAttribute "prohibited"
- quid "3BA7B12202D3"
- exportControl "Public")
- (object ClassAttribute "required"
- quid "3BA7B12902F0"
- exportControl "Public")))
- (object Class "XSDCardinality"
- quid "3BC7715D009B"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "finite"
- quid "3BC771DC02ED"
- exportControl "Public")
- (object ClassAttribute "countablyInfinite"
- quid "3BC771EC0141"
- exportControl "Public")))
- (object Class "XSDComplexFinal"
- quid "3B97C2CA01CB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C2E700DA"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2EA016A"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6D20112"
- exportControl "Public")))
- (object Class "XSDCompositor"
- quid "3B869B620037"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "all"
- quid "3B869BD00003"
- exportControl "Public")
- (object ClassAttribute "choice"
- quid "3B869CB8011E"
- exportControl "Public")
- (object ClassAttribute "sequence"
- quid "3B869CE50057"
- exportControl "Public")))
- (object Class "XSDConstraint"
- quid "3B869E2601AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "default"
- quid "3B869E8E0258"
- exportControl "Public")
- (object ClassAttribute "fixed"
- quid "3B869E990271"
- exportControl "Public")))
- (object Class "XSDContentTypeCategory"
- quid "3B86A79F03A2"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "empty"
- quid "3B86A7CD02F0"
- exportControl "Public")
- (object ClassAttribute "simple"
- quid "3B86A7D100CE"
- exportControl "Public")
- (object ClassAttribute "mixed"
- quid "3B86A7D301B7"
- exportControl "Public")
- (object ClassAttribute "elementOnly"
- quid "3B86A7D702E9"
- exportControl "Public")))
- (object Class "XSDDerivationMethod"
- quid "3B86A0B000CE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B86A0C80329"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B86A0CC0162"
- exportControl "Public")))
- (object Class "XSDDiagnosticSeverity"
- quid "3BFE68A7032F"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "fatal"
- quid "3BFE68C303D0"
- exportControl "Public")
- (object ClassAttribute "error"
- quid "3BFE68E700E3"
- exportControl "Public")
- (object ClassAttribute "warning"
- quid "3BFE68EA01FF"
- exportControl "Public")
- (object ClassAttribute "information"
- quid "3BFE7FC2019A"
- exportControl "Public")))
- (object Class "XSDDisallowedSubstitutions"
- quid "3B97C5A403DF"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "substitution"
- quid "3B97C6790045"
- exportControl "Public")
- (object ClassAttribute "extension"
- quid "3B97C67F01AC"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C683020B"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2450069"
- exportControl "Public")))
- (object Class "XSDForm"
- quid "3B9F913B01EB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "qualified"
- quid "3B9F916F0023"
- exportControl "Public")
- (object ClassAttribute "unqualified"
- quid "3B9F918C007F"
- exportControl "Public")))
- (object Class "XSDIdentityConstraintCategory"
- quid "3B86A1E00272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "key"
- quid "3B86A2120085"
- exportControl "Public")
- (object ClassAttribute "keyref"
- quid "3B86A213014F"
- exportControl "Public")
- (object ClassAttribute "unique"
- quid "3B86A2160365"
- exportControl "Public")))
- (object Class "XSDNamespaceConstraintCategory"
- quid "3B97C5EA0023"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "any"
- quid "3B97D0600034"
- exportControl "Public")
- (object ClassAttribute "not"
- quid "3B97D062005F"
- exportControl "Public")
- (object ClassAttribute "set"
- quid "3B97D0650117"
- exportControl "Public")))
- (object Class "XSDOrdered"
- quid "3BC7715202E4"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "false"
- quid "3BC771A90271"
- exportControl "Public")
- (object ClassAttribute "partial"
- quid "3BC771BB01FF"
- exportControl "Public")
- (object ClassAttribute "total"
- quid "3BC771C401B2"
- exportControl "Public")))
- (object Class "XSDProcessContents"
- quid "3B8FF8C70284"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "strict"
- quid "3B8FF8F80045"
- exportControl "Public")
- (object ClassAttribute "lax"
- quid "3B8FF8F6038B"
- exportControl "Public")
- (object ClassAttribute "skip"
- quid "3B8FF8E802BA"
- exportControl "Public")))
- (object Class "XSDProhibitedSubstitutions"
- quid "3B97C5BE0272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C68B00B8"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C6940291"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2500295"
- exportControl "Public")))
- (object Class "XSDSimpleFinal"
- quid "3B97C25D0295"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "list"
- quid "3B97C2810230"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2830138"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B97C288024E"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6E00374"
- exportControl "Public")))
- (object Class "XSDSubstitutionGroupExclusions"
- quid "3B97C59100AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C6640231"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C66D0216"
- exportControl "Public")))
- (object Class "XSDVariety"
- quid "3B8FF7730249"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "atomic"
- quid "3B8FF7A702DF"
- exportControl "Public")
- (object ClassAttribute "list"
- quid "3B8FF7AD0139"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B8FF7AF039F"
- exportControl "Public")))
- (object Class "XSDWhiteSpace"
- quid "3BEED0F60342"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "preserve"
- quid "3BEED10F0117"
- exportControl "Public")
- (object ClassAttribute "replace"
- quid "3BEED127034D"
- exportControl "Public")
- (object ClassAttribute "collapse"
- quid "3BEED1290396"
- exportControl "Public")))
- (object Class "XSDXPathVariety"
- quid "3B8FFB89033A"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "selector"
- quid "3B8FFBAC0192"
- exportControl "Public")
- (object ClassAttribute "field"
- quid "3B8FFBB30278"
- exportControl "Public")))
- (object Association "$UNNAMED$72"
- quid "3C626EA70102"
- roles (list role_list
- (object Role "$UNNAMED$73"
- quid "3C626EA90191"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EA90192"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$74"
- quid "3B69DADC02F5"
- roles (list role_list
- (object Role "$UNNAMED$75"
- quid "3B69DADD0238"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DADD0242"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$76"
- quid "3B6890D6006F"
- roles (list role_list
- (object Role "$UNNAMED$77"
- quid "3B6890D6030E"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6890D60318"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$78"
- quid "3B68356B02CB"
- roles (list role_list
- (object Role "$UNNAMED$79"
- quid "3B68356D00A6"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68356D00A7"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$80"
- quid "3B6B426B0194"
- roles (list role_list
- (object Role "$UNNAMED$81"
- quid "3B6B426D0309"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "resolvedAttributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B426D0313"
- label "resolvedAttributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$82"
- quid "3B69DB060291"
- roles (list role_list
- (object Role "$UNNAMED$83"
- quid "3B69DB070171"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB070172"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$84"
- quid "3B69404E0067"
- roles (list role_list
- (object Role "$UNNAMED$85"
- quid "3B694050029B"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B69405002A5"
- label "contents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$86"
- quid "3B68359F0086"
- roles (list role_list
- (object Role "$UNNAMED$87"
- quid "3B6835A00069"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6835A0006A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$88"
- quid "3C275D320220"
- roles (list role_list
- (object Role "$UNNAMED$89"
- quid "3C275D3C010C"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3C275D3C010D"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$90"
- quid "3B6887BF0150"
- roles (list role_list
- (object Role "$UNNAMED$91"
- quid "3B6887C000A7"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6887C000A8"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$92"
- quid "3B6B425E01F9"
- roles (list role_list
- (object Role "$UNNAMED$93"
- quid "3B6B42620046"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "resolvedAttributeGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B42620050"
- label "resolvedAttributeGroupDefinition"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$94"
- quid "3B683585010D"
- roles (list role_list
- (object Role "$UNNAMED$95"
- quid "3B68358600FA"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "attributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68358600FB"
- label "attributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$96"
- quid "3B6F1DE9018A"
- roles (list role_list
- (object Role "$UNNAMED$97"
- quid "3B6F1DEA036C"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6F1DEA0380"
- label "content"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$98"
- quid "3B90068801C2"
- roles (list role_list
- (object Role "$UNNAMED$99"
- quid "3B90068A0111"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentAnnotation"
- quid "3B90068A011B"
- label "contentAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$100"
- quid "3B6833350340"
- roles (list role_list
- (object Role "$UNNAMED$101"
- quid "3B683336028D"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683336028E"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$102"
- quid "3B6FDDD70113"
- roles (list role_list
- (object Role "$UNNAMED$103"
- quid "3B6FDDDA026B"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6FDDDA0275"
- label "content"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$104"
- quid "3B6837DF024F"
- roles (list role_list
- (object Role "$UNNAMED$105"
- quid "3B6837E100FD"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6837E100FE"
- label "contentType"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$106"
- quid "3B683959006E"
- roles (list role_list
- (object Role "$UNNAMED$107"
- quid "3B6839590349"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683959034A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$108"
- quid "3B698E360386"
- roles (list role_list
- (object Role "$UNNAMED$109"
- quid "3B698E380072"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeContents"
- quid "3B698E38007C"
- label "attributeContents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$110"
- quid "3B6851BA0126"
- roles (list role_list
- (object Role "$UNNAMED$111"
- quid "3B6851BB0150"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6851BB0151"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$112"
- quid "3B751B0803C7"
- roles (list role_list
- (object Role "container"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B0C01CE"
- label "container"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$113"
- attributes (list Attribute_Set)
- quid "3B751B0C01CF"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$114"
- quid "3B751B480261"
- roles (list role_list
- (object Role "rootContainer"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B4C0285"
- label "rootContainer"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$115"
- attributes (list Attribute_Set)
- quid "3B751B4C0286"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$116"
- quid "3B751C310356"
- roles (list role_list
- (object Role "$UNNAMED$117"
- attributes (list Attribute_Set)
- quid "3B751C330331"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")
- (object Role "schema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751C33033B"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$118"
- quid "3B69DB0A0066"
- roles (list role_list
- (object Role "$UNNAMED$119"
- quid "3B69DB0B023F"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0B0249"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$120"
- quid "3B68911401AF"
- roles (list role_list
- (object Role "$UNNAMED$121"
- quid "3B6891150016"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6891150017"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$122"
- quid "3B68338C0058"
- roles (list role_list
- (object Role "$UNNAMED$123"
- quid "3B68338C03BF"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68338C03C0"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$124"
- quid "3B6833EF0160"
- roles (list role_list
- (object Role "$UNNAMED$125"
- quid "3B6833F00298"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- quid "3B6833F00299"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$126"
- quid "3B6B41E60251"
- roles (list role_list
- (object Role "$UNNAMED$127"
- quid "3B6B41EA02F7"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "resolvedElementDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B41EA030B"
- label "resolvedElementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$128"
- quid "3B69C0590198"
- roles (list role_list
- (object Role "$UNNAMED$129"
- quid "3B69C05D01E3"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214")
- (object Role "substitutionGroupAffiliation"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69C05D01ED"
- label "substitutionGroupAffiliation"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$130"
- quid "3C42DBDD0297"
- roles (list role_list
- (object Role "$UNNAMED$131"
- quid "3C42DBE0011E"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "substitutionGroup"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C42DBE00128"
- label "substitutionGroup"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$132"
- quid "3B6D23B901CD"
- roles (list role_list
- (object Role "$UNNAMED$133"
- quid "3B6D23BA01C4"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6D23BA01CE"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$134"
- quid "3B6D597102EA"
- roles (list role_list
- (object Role "simpleTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D59750105"
- label "simpleTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$135"
- attributes (list Attribute_Set)
- quid "3B6D59750119"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2")))
- (object Association "$UNNAMED$136"
- quid "3B69B653017A"
- roles (list role_list
- (object Role "scope"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B69B654006D"
- label "scope"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$137"
- attributes (list Attribute_Set)
- quid "3B69B654006E"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$138"
- quid "3C29010602D7"
- roles (list role_list
- (object Role "resolvedFeature"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C29010B000E"
- label "resolvedFeature"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$139"
- attributes (list Attribute_Set)
- quid "3C29010B0018"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$140"
- quid "3B69DB0D0183"
- roles (list role_list
- (object Role "$UNNAMED$141"
- quid "3B69DB0D033C"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0D0346"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$142"
- quid "3B69D29E014D"
- roles (list role_list
- (object Role "referencedKey"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69D2A80165"
- label "referencedKey"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$143"
- attributes (list Attribute_Set)
- quid "3B69D2A8016F"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2")))
- (object Association "$UNNAMED$144"
- quid "3B6D8D3D003E"
- roles (list role_list
- (object Role "$UNNAMED$145"
- quid "3B6D8D3E022A"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "selector"
- quid "3B6D8D3E0234"
- label "selector"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$146"
- quid "3B6D8D330025"
- roles (list role_list
- (object Role "$UNNAMED$147"
- quid "3B6D8D330365"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "fields"
- quid "3B6D8D330379"
- label "fields"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$148"
- quid "3B6ADCD802FC"
- roles (list role_list
- (object Role "$UNNAMED$149"
- quid "3B6ADCD9018B"
- supplier "Logical View::xsd::XSDImport"
- quidu "3B688C93017F"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCD9018C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$150"
- quid "3B6ADCC5007E"
- roles (list role_list
- (object Role "$UNNAMED$151"
- quid "3B6ADCC6006B"
- supplier "Logical View::xsd::XSDInclude"
- quidu "3B688C7D0250"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCC6006C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$152"
- quid "3B69DB1702C8"
- roles (list role_list
- (object Role "$UNNAMED$153"
- quid "3B69DB1803E2"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB190004"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$154"
- quid "3B6BCEB102F8"
- roles (list role_list
- (object Role "$UNNAMED$155"
- quid "3B6BCEB6001B"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6BCEB60025"
- label "contents"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$156"
- quid "3B683606026F"
- roles (list role_list
- (object Role "$UNNAMED$157"
- quid "3B6836070221"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "particles"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6836070222"
- label "particles"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$158"
- quid "3B69DB15008A"
- roles (list role_list
- (object Role "$UNNAMED$159"
- quid "3B69DB160096"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1600A0"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$160"
- quid "3B6837AC025A"
- roles (list role_list
- (object Role "$UNNAMED$161"
- quid "3B6837AD0338"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "modelGroup"
- quid "3B6837AD0339"
- label "modelGroup"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$162"
- quid "3B6B42450398"
- roles (list role_list
- (object Role "$UNNAMED$163"
- quid "3B6B4249038A"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "resolvedModelGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B4249039E"
- label "resolvedModelGroupDefinition"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$164"
- quid "3B69DB0F0212"
- roles (list role_list
- (object Role "$UNNAMED$165"
- quid "3B69DB1000C9"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1000D3"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$166"
- quid "3B6B47150119"
- roles (list role_list
- (object Role "$UNNAMED$167"
- quid "3B6B471A03AB"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6B471A03B5"
- label "content"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$168"
- quid "3B683C890122"
- roles (list role_list
- (object Role "$UNNAMED$169"
- quid "3B683C8A0110"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "term"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683C8A0111"
- label "term"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$170"
- quid "3B6ADE42009A"
- roles (list role_list
- (object Role "$UNNAMED$171"
- quid "3B6ADE4302FE"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6ADE430308"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$172"
- quid "3B6AE8240051"
- roles (list role_list
- (object Role "$UNNAMED$173"
- quid "3B6AE82602AD"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6AE82602B7"
- label "contents"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$174"
- quid "3B688E6B003D"
- roles (list role_list
- (object Role "$UNNAMED$175"
- quid "3B688E6C0107"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B688E6C0111"
- label "contents"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$176"
- quid "3B66EE8D01BF"
- roles (list role_list
- (object Role "$UNNAMED$177"
- quid "3B66EE8E0198"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "elementDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE8E0199"
- label "elementDeclarations"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$178"
- quid "3B66FDFA00C3"
- roles (list role_list
- (object Role "$UNNAMED$179"
- quid "3B66FDFB027D"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66FDFB027E"
- label "attributeDeclarations"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$180"
- quid "3B66EE920216"
- roles (list role_list
- (object Role "$UNNAMED$181"
- quid "3B66EE93018B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE93018C"
- label "attributeGroupDefinitions"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$182"
- quid "3B66EE760049"
- roles (list role_list
- (object Role "$UNNAMED$183"
- quid "3B66EE760374"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "typeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE76037E"
- label "typeDefinitions"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$184"
- quid "3B66EEFF024F"
- roles (list role_list
- (object Role "$UNNAMED$185"
- quid "3B66EF00025A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "modelGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EF000264"
- label "modelGroupDefinitions"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$186"
- quid "3BFC2A1701ED"
- roles (list role_list
- (object Role "$UNNAMED$187"
- quid "3BFC2A1A0273"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFC2A1A027D"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$188"
- quid "3B66EEA7023E"
- roles (list role_list
- (object Role "$UNNAMED$189"
- quid "3B66EEA8038A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "notationDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EEA8038B"
- label "notationDeclarations"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$190"
- quid "3B69E4560290"
- roles (list role_list
- (object Role "$UNNAMED$191"
- quid "3B69E4570165"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69E457016F"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$192"
- quid "3B6D5CA50112"
- roles (list role_list
- (object Role "$UNNAMED$193"
- quid "3B6D5CA703B4"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6D5CA703C8"
- label "contents"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$194"
- quid "3B6C35AD0374"
- roles (list role_list
- (object Role "$UNNAMED$195"
- quid "3B6C35AF0006"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facetContents"
- quid "3B6C35AF0010"
- label "facetContents"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$196"
- quid "3BC8AE0203A8"
- roles (list role_list
- (object Role "$UNNAMED$197"
- quid "3BC8AE060051"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BC8AE060065"
- label "facets"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$198"
- quid "3B6C34B70208"
- roles (list role_list
- (object Role "$UNNAMED$199"
- quid "3B6C34BE0258"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "memberTypeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6C34BE0259"
- label "memberTypeDefinitions"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$200"
- quid "3B6C363201DB"
- roles (list role_list
- (object Role "$UNNAMED$201"
- quid "3B6C36350059"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fundamentalFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B6C36350063"
- label "fundamentalFacets"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$202"
- quid "3B6D35AB0273"
- roles (list role_list
- (object Role "$UNNAMED$203"
- quid "3B6D35B20291"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D35B202A5"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$204"
- quid "3B6D5572016C"
- roles (list role_list
- (object Role "$UNNAMED$205"
- quid "3B6D5575022F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "primitiveTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D55750243"
- label "primitiveTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$206"
- quid "3B69E2910158"
- roles (list role_list
- (object Role "$UNNAMED$207"
- quid "3B69E292019F"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69E29201A9"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$208"
- quid "3B9006CF0088"
- roles (list role_list
- (object Role "$UNNAMED$209"
- quid "3B9006D1015D"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "derivationAnnotation"
- quid "3B9006D10167"
- label "derivationAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$210"
- quid "3B69DB330264"
- roles (list role_list
- (object Role "$UNNAMED$211"
- quid "3B69DB340284"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69DB34028E"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$212"
- quid "3B69DB11026F"
- roles (list role_list
- (object Role "$UNNAMED$213"
- quid "3B69DB1201F9"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB120203"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$214"
- quid "3C626EB30005"
- roles (list role_list
- (object Role "$UNNAMED$215"
- quid "3C626EB40327"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EB40332"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$216"
- quid "3BEBDC870247"
- roles (list role_list
- (object Role "$UNNAMED$217"
- quid "3BEBDC8C02F9"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3BEBDC8C0303"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$218"
- quid "3BFE622703CD"
- roles (list role_list
- (object Role "$UNNAMED$219"
- attributes (list Attribute_Set)
- quid "3BFE622B0061"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "components"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE622B006C"
- label "components"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$220"
- quid "3BFE62690165"
- roles (list role_list
- (object Role "$UNNAMED$221"
- quid "3BFE626A0026"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- is_aggregate TRUE)
- (object Role "diagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3BFE626A0027"
- label "diagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$222"
- quid "3BFE6431035F"
- roles (list role_list
- (object Role "$UNNAMED$223"
- quid "3BFE643201C6"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "allDiagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE643201C7"
- label "allDiagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$224"
- quid "3C21DCC700EC"
- roles (list role_list
- (object Role "$UNNAMED$225"
- quid "3C21DCCE0042"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- is_aggregate TRUE)
- (object Role "resolvedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DCCE0043"
- label "resolvedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$226"
- quid "3C21DD0C03DB"
- roles (list role_list
- (object Role "$UNNAMED$227"
- quid "3C21DD100304"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE"
- is_aggregate TRUE)
- (object Role "incorporatedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DD100305"
- label "incorporatedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$228"
- quid "3C239134004F"
- roles (list role_list
- (object Role "$UNNAMED$229"
- quid "3C23913600CA"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3C23913600D4"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$230"
- quid "3C25D3A60131"
- roles (list role_list
- (object Role "$UNNAMED$231"
- quid "3C25D3A90370"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "referencingDirectives"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C25D3A90371"
- label "referencingDirectives"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$232"
- quid "3C25ECF0005E"
- roles (list role_list
- (object Role "$UNNAMED$233"
- quid "3C25ECF4001E"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "rootVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ECF40028"
- label "rootVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$234"
- quid "3C25ED0B011B"
- roles (list role_list
- (object Role "$UNNAMED$235"
- quid "3C25ED0F0121"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "originalVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ED0F012B"
- label "originalVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$236"
- quid "3C25EEAB001F"
- roles (list role_list
- (object Role "$UNNAMED$237"
- quid "3C25EEAF010B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "incorporatedVersions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25EEAF0115"
- label "incorporatedVersions"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$238"
- quid "3C276DA000DE"
- roles (list role_list
- (object Role "$UNNAMED$239"
- quid "3C276DA000DF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "itemTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C276DA000E0"
- label "itemTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$240"
- quid "3C2784730194"
- roles (list role_list
- (object Role "$UNNAMED$241"
- quid "3C27847501F1"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "schemaForSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C27847501FB"
- label "schemaForSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$242"
- quid "3C2880F503D9"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2880F9003C"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$243"
- attributes (list Attribute_Set)
- quid "3C2880F90046"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A")))
- (object Association "$UNNAMED$244"
- quid "3C2882C50137"
- roles (list role_list
- (object Role "$UNNAMED$245"
- attributes (list Attribute_Set)
- quid "3C2882C70112"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "primaryComponent"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2882C70113"
- label "primaryComponent"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$246"
- quid "3C28A0F201A4"
- roles (list role_list
- (object Role "type"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A0F302E5"
- label "type"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$247"
- attributes (list Attribute_Set)
- quid "3C28A0F302F0"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$248"
- quid "3C28A6DB01E5"
- roles (list role_list
- (object Role "rootType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A6DD03DD"
- label "rootType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$249"
- attributes (list Attribute_Set)
- quid "3C28A6DD03DE"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$250"
- quid "3C28A7120108"
- roles (list role_list
- (object Role "baseType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7140151"
- label "baseType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$251"
- attributes (list Attribute_Set)
- quid "3C28A714015B"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$252"
- quid "3C28A74B0178"
- roles (list role_list
- (object Role "simpleType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A74D017B"
- label "simpleType"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$253"
- attributes (list Attribute_Set)
- quid "3C28A74D0185"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$254"
- quid "3C28A7ED03C0"
- roles (list role_list
- (object Role "complexType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7F40117"
- label "complexType"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$255"
- attributes (list Attribute_Set)
- quid "3C28A7F40121"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$256"
- quid "3C28A994030A"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A99700DD"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$257"
- attributes (list Attribute_Set)
- quid "3C28A99700E7"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D")))
- (object Association "$UNNAMED$258"
- quid "3C28B085025B"
- roles (list role_list
- (object Role "$UNNAMED$259"
- quid "3C28B0860270"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B086027A"
- label "minFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$260"
- quid "3C28B08D0252"
- roles (list role_list
- (object Role "$UNNAMED$261"
- quid "3C28B08E0091"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B08E009B"
- label "maxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$262"
- quid "3C28B0AB0396"
- roles (list role_list
- (object Role "$UNNAMED$263"
- quid "3C28B0AC03C9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0AC03D4"
- label "maxInclusiveFacet"
- supplier "Logical View::xsd::XSDMaxInclusiveFacet"
- quidu "3B6C787D00DA"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$264"
- quid "3C28B0AF0338"
- roles (list role_list
- (object Role "$UNNAMED$265"
- quid "3C28B0B001F9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B00203"
- label "minInclusiveFacet"
- supplier "Logical View::xsd::XSDMinInclusiveFacet"
- quidu "3B6C788702C9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$266"
- quid "3C28B0B30207"
- roles (list role_list
- (object Role "$UNNAMED$267"
- quid "3C28B0B40190"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B4019A"
- label "minExclusiveFacet"
- supplier "Logical View::xsd::XSDMinExclusiveFacet"
- quidu "3B6C792D000A"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$268"
- quid "3C28B0B6028D"
- roles (list role_list
- (object Role "$UNNAMED$269"
- quid "3C28B0B70217"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B70221"
- label "maxExclusiveFacet"
- supplier "Logical View::xsd::XSDMaxExclusiveFacet"
- quidu "3B6C789600C2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$270"
- quid "3C28B0BC0051"
- roles (list role_list
- (object Role "$UNNAMED$271"
- quid "3C28B0BC0246"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "lengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0BC0250"
- label "lengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$272"
- quid "3C28B0BF018C"
- roles (list role_list
- (object Role "$UNNAMED$273"
- quid "3C28B0C0006B"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "whiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C00075"
- label "whiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$274"
- quid "3C28B0C2021D"
- roles (list role_list
- (object Role "$UNNAMED$275"
- quid "3C28B0C300AB"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "enumerationFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C300AC"
- label "enumerationFacets"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$276"
- quid "3C28B0C50159"
- roles (list role_list
- (object Role "$UNNAMED$277"
- quid "3C28B0C600B0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "patternFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C600BA"
- label "patternFacets"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$278"
- quid "3C28B0C802A7"
- roles (list role_list
- (object Role "$UNNAMED$279"
- quid "3C28B0C901EA"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "cardinalityFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C901F5"
- label "cardinalityFacet"
- supplier "Logical View::xsd::XSDCardinalityFacet"
- quidu "3B6C755D03D2"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$280"
- quid "3C28B0CB039C"
- roles (list role_list
- (object Role "$UNNAMED$281"
- quid "3C28B0CC03D0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "numericFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0CC03D1"
- label "numericFacet"
- supplier "Logical View::xsd::XSDNumericFacet"
- quidu "3B6C75950206"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$282"
- quid "3C28B0CF0199"
- roles (list role_list
- (object Role "$UNNAMED$283"
- quid "3C28B0D20085"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D2008F"
- label "maxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$284"
- quid "3C28B0D500C5"
- roles (list role_list
- (object Role "$UNNAMED$285"
- quid "3C28B0D6001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D60027"
- label "minLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$286"
- quid "3C28B0D800DE"
- roles (list role_list
- (object Role "$UNNAMED$287"
- quid "3C28B0D803CD"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "totalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D803D7"
- label "totalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$288"
- quid "3C28B0DB0377"
- roles (list role_list
- (object Role "$UNNAMED$289"
- quid "3C28B0DC035A"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DC0364"
- label "fractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$290"
- quid "3C28B0DF0048"
- roles (list role_list
- (object Role "$UNNAMED$291"
- quid "3C28B0DF03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "orderedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DF03C3"
- label "orderedFacet"
- supplier "Logical View::xsd::XSDOrderedFacet"
- quidu "3B6C74DD0248"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$292"
- quid "3C28B0E300D9"
- roles (list role_list
- (object Role "$UNNAMED$293"
- quid "3C28B0E4038E"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "boundedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0E40398"
- label "boundedFacet"
- supplier "Logical View::xsd::XSDBoundedFacet"
- quidu "3B6C751D0344"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$294"
- quid "3C28B44401EC"
- roles (list role_list
- (object Role "$UNNAMED$295"
- quid "3C28B4450360"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B445036A"
- label "effectiveMaxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$296"
- quid "3C28B54F0145"
- roles (list role_list
- (object Role "$UNNAMED$297"
- quid "3C28B550038C"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveWhiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5500396"
- label "effectiveWhiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$298"
- quid "3C28B5C4011C"
- roles (list role_list
- (object Role "$UNNAMED$299"
- quid "3C28B5C5020D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5C50217"
- label "effectiveMaxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$300"
- quid "3C28B62A00AA"
- roles (list role_list
- (object Role "$UNNAMED$301"
- quid "3C28B62B0138"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveFractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B62B0142"
- label "effectiveFractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$302"
- quid "3C28B6B003A6"
- roles (list role_list
- (object Role "$UNNAMED$303"
- quid "3C28B6B10311"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectivePatternFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B6B10312"
- label "effectivePatternFacet"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$304"
- quid "3C28B7CA026B"
- roles (list role_list
- (object Role "$UNNAMED$305"
- quid "3C28B7CB0186"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveEnumerationFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B7CB0190"
- label "effectiveEnumerationFacet"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$306"
- quid "3C28B8400062"
- roles (list role_list
- (object Role "$UNNAMED$307"
- quid "3C28B841001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveTotalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8410027"
- label "effectiveTotalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$308"
- quid "3C28B898016D"
- roles (list role_list
- (object Role "$UNNAMED$309"
- quid "3C28B8990056"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8990060"
- label "effectiveMinLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$310"
- quid "3C28B8DC0052"
- roles (list role_list
- (object Role "$UNNAMED$311"
- quid "3C28B8DC03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8DC03C3"
- label "effectiveLengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$312"
- quid "3C28B97001DB"
- roles (list role_list
- (object Role "$UNNAMED$313"
- quid "3C28B97100CF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B97100D9"
- label "effectiveMinFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$314"
- quid "3D4BB4AE01CC"
- roles (list role_list
- (object Role "$UNNAMED$315"
- quid "3D4BB4AF010F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "syntheticFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4AF011A"
- label "syntheticFacets"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$316"
- quid "3D4BB4D3028E"
- roles (list role_list
- (object Role "$UNNAMED$317"
- quid "3D4BB4D402F3"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticParticle"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4D402FD"
- label "syntheticParticle"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$318"
- quid "3D4BB4D901F6"
- roles (list role_list
- (object Role "$UNNAMED$319"
- quid "3D4BB4DA0284"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4DA028E"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$320"
- quid "3D4C68FF01BF"
- roles (list role_list
- (object Role "$UNNAMED$321"
- quid "3D4C69020317"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- quid "3D4C69020318"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "1. Component Hierarchy (Part 1: Structures)"
- quid "3B6847680138"
- title "1. Component Hierarchy (Part 1: Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @411
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (928, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @411
- location (766, 39)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @412
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1168, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @412
- location (940, 519)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8)
- (object InheritTreeView "" @413
- location (928, 225)
- line_color 3342489
- fill_color 13434879
- supplier @411
- vertices (list Points
- (928, 225)
- (928, 135)))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @414
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @414
- location (1460, 279)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @415
- location (1203, 706)
- line_color 3342489
- fill_color 13434879
- supplier @412
- vertices (list Points
- (1203, 706)
- (1203, 615)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @416
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (624, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @416
- location (372, 519)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @417
- location (444, 709)
- line_color 3342489
- fill_color 13434879
- supplier @416
- vertices (list Points
- (444, 709)
- (444, 615)))
- (object InheritTreeView "" @418
- location (1572, 465)
- line_color 3342489
- fill_color 13434879
- supplier @414
- vertices (list Points
- (1572, 465)
- (1572, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @419
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 800)
- label (object ItemLabel
- Parent_View @419
- location (290, 757)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @420
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 1056)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @420
- location (262, 1015)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @421
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1104, 320)
- label (object ItemLabel
- Parent_View @421
- location (936, 277)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8)
- (object InheritTreeView "" @422
- location (453, 1203)
- line_color 3342489
- fill_color 13434879
- supplier @420
- vertices (list Points
- (453, 1203)
- (453, 1111)))
- (object ClassView "Class" "Logical View::xsd::XSDScope" @423
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (176, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @423
- location (62, 279)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @424
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @424
- location (1746, 759)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 110
- annotation 8)
- (object InheritTreeView "" @425
- location (1872, 950)
- line_color 3342489
- fill_color 13434879
- supplier @424
- vertices (list Points
- (1872, 950)
- (1872, 855)))
- (object InheritTreeView "" @426
- location (181, 465)
- line_color 3342489
- fill_color 13434879
- supplier @423
- vertices (list Points
- (181, 465)
- (181, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @427
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1936, 1280)
- label (object ItemLabel
- Parent_View @427
- location (1670, 1233)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 550
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @428
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 1056)
- label (object ItemLabel
- Parent_View @428
- location (1734, 1013)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @429
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1488)
- label (object ItemLabel
- Parent_View @429
- location (1569, 1444)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 656
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @430
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1184, 1488)
- label (object ItemLabel
- Parent_View @430
- location (903, 1444)
- fill_color 13434879
- nlines 1
- max_width 563
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 581
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @431
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 560)
- label (object ItemLabel
- Parent_View @431
- location (1462, 517)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 294
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @432
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1024, 1056)
- label (object ItemLabel
- Parent_View @432
- location (778, 1013)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @433
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 560)
- label (object ItemLabel
- Parent_View @433
- location (1806, 517)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @434
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1296)
- label (object ItemLabel
- Parent_View @434
- location (106, 1253)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @435
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 560)
- label (object ItemLabel
- Parent_View @435
- location (60, 517)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @436
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1280)
- label (object ItemLabel
- Parent_View @436
- location (802, 1237)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 558
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @437
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 1488)
- label (object ItemLabel
- Parent_View @437
- location (30, 1441)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 694
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @438
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (576, 320)
- label (object ItemLabel
- Parent_View @438
- location (426, 277)
- fill_color 13434879
- nlines 1
- max_width 300
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 318
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @439
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 320)
- label (object ItemLabel
- Parent_View @439
- location (1808, 277)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @440
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @421
- supplier @411
- line_style 3
- origin_attachment (1094, 265)
- terminal_attachment (1094, 225)
- drawSupplier @413)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @441
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @441
- location (690, 759)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @442
- location (962, 947)
- line_color 3342489
- fill_color 13434879
- supplier @441
- vertices (list Points
- (962, 947)
- (962, 855)))
- (object InheritView "" @443
- stereotype (object SegLabel @444
- Parent_View @443
- location (218, 1154)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.163534
- height 69
- orientation 1)
- line_color 3342489
- quidu "3B685F55032B"
- client @434
- supplier @416
- line_style 3
- origin_attachment (149, 1241)
- terminal_attachment (149, 709)
- drawSupplier @417)
- (object InheritView "" @445
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @434
- supplier @420
- line_style 3
- origin_attachment (256, 1241)
- terminal_attachment (256, 1203)
- drawSupplier @422)
- (object InheritView "" @446
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @435
- supplier @423
- line_style 3
- origin_attachment (284, 505)
- terminal_attachment (284, 465)
- drawSupplier @426)
- (object InheritView "" @447
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @433
- supplier @414
- line_style 3
- origin_attachment (2002, 505)
- terminal_attachment (2002, 465)
- drawSupplier @418)
- (object InheritView "" @448
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @414
- supplier @411
- line_style 3
- origin_attachment (1569, 265)
- terminal_attachment (1569, 225)
- drawSupplier @413)
- (object InheritView "" @449
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @431
- supplier @414
- line_style 3
- origin_attachment (1490, 505)
- terminal_attachment (1490, 465)
- drawSupplier @418)
- (object InheritView "" @450
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @419
- supplier @416
- line_style 3
- origin_attachment (510, 745)
- terminal_attachment (510, 709)
- drawSupplier @417)
- (object InheritView "" @451
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @436
- supplier @441
- line_style 3
- origin_attachment (1321, 1225)
- terminal_attachment (1321, 947)
- drawSupplier @442)
- (object InheritView "" @452
- stereotype (object SegLabel @453
- Parent_View @452
- location (2137, 886)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.215812
- height 64
- orientation 0)
- line_color 3342489
- quidu "3B685F17002E"
- client @428
- supplier @414
- line_style 3
- origin_attachment (2200, 1001)
- terminal_attachment (2200, 465)
- drawSupplier @418)
- (object InheritView "" @454
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @428
- supplier @424
- line_style 3
- origin_attachment (2093, 1001)
- terminal_attachment (2093, 950)
- drawSupplier @425)
- (object InheritView "" @455
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @420
- supplier @441
- line_style 3
- origin_attachment (450, 1001)
- terminal_attachment (450, 947)
- drawSupplier @442)
- (object InheritView "" @456
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @423
- supplier @411
- line_style 3
- origin_attachment (147, 265)
- terminal_attachment (147, 225)
- drawSupplier @413)
- (object InheritView "" @457
- stereotype TRUE
- line_color 3342489
- quidu "3B6D84F70092"
- client @439
- supplier @411
- line_style 3
- origin_attachment (2012, 265)
- terminal_attachment (2012, 225)
- drawSupplier @413)
- (object InheritView "" @458
- stereotype TRUE
- line_color 3342489
- quidu "3B6848B80286"
- client @416
- supplier @411
- line_style 3
- origin_attachment (834, 505)
- terminal_attachment (834, 225)
- drawSupplier @413)
- (object InheritView "" @459
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @412
- supplier @411
- line_style 3
- origin_attachment (1350, 505)
- terminal_attachment (1350, 225)
- drawSupplier @413)
- (object InheritView "" @460
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @438
- supplier @411
- line_style 3
- origin_attachment (572, 265)
- terminal_attachment (572, 225)
- drawSupplier @413)
- (object InheritView "" @461
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @427
- supplier @424
- line_style 3
- origin_attachment (1693, 1221)
- terminal_attachment (1693, 950)
- drawSupplier @425)
- (object InheritView "" @462
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @429
- supplier @412
- line_style 3
- origin_attachment (1590, 1432)
- terminal_attachment (1590, 706)
- drawSupplier @415)
- (object InheritView "" @463
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @430
- supplier @412
- line_style 3
- origin_attachment (1431, 1432)
- terminal_attachment (1431, 706)
- drawSupplier @415)
- (object InheritView "" @464
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @441
- supplier @412
- line_style 3
- origin_attachment (959, 745)
- terminal_attachment (959, 706)
- drawSupplier @415)
- (object InheritView "" @465
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @424
- supplier @412
- line_style 3
- origin_attachment (1872, 745)
- terminal_attachment (1872, 706)
- drawSupplier @415)
- (object InheritView "" @466
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @432
- supplier @441
- line_style 3
- origin_attachment (962, 1001)
- terminal_attachment (962, 947)
- drawSupplier @442)
- (object InheritView "" @467
- stereotype (object SegLabel @468
- Parent_View @467
- location (95, 1388)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.042531
- height 67
- orientation 1)
- line_color 3342489
- quidu "3B69BAA20310"
- client @437
- supplier @423
- line_style 3
- origin_attachment (28, 1429)
- terminal_attachment (28, 465)
- drawSupplier @426)
- (object InheritView "" @469
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @437
- supplier @420
- line_style 3
- origin_attachment (656, 1429)
- terminal_attachment (656, 1203)
- drawSupplier @422)))
- (object ClassDiagram "2. Component Relations (Part 1 : Structures)"
- quid "374B18190028"
- title "2. Component Relations (Part 1 : Structures)"
- zoom 96
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDScope" @470
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (784, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @470
- location (670, 1593)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @471
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @471
- location (66, 1593)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$136" @472
- location (494, 1627)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B653017A"
- roleview_list (list RoleViews
- (object RoleView "scope" @473
- Parent_View @472
- location (286, -485)
- label (object SegLabel @474
- Parent_View @473
- location (555, 1589)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+scope"
- pctDist 0.371257
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006D"
- client @472
- supplier @470
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (661, 1627)
- label (object SegLabel @475
- Parent_View @473
- location (576, 1664)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.491018
- height 37
- orientation 1))
- (object RoleView "$UNNAMED$137" @476
- Parent_View @472
- location (286, -485)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006E"
- client @472
- supplier @471
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (327, 1627))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @477
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2192, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @477
- location (2084, 1193)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @478
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2176, 992)
- label (object ItemLabel
- Parent_View @478
- location (2051, 951)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$168" @479
- location (2229, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C890122"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$169" @480
- Parent_View @479
- location (549, -248)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0110"
- client @479
- supplier @478
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1045))
- (object RoleView "term" @481
- Parent_View @479
- location (549, -248)
- label (object SegLabel @482
- Parent_View @481
- location (2157, 1121)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+term"
- pctDist 0.134328
- height 72
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0111"
- client @479
- supplier @477
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1179)
- label (object SegLabel @483
- Parent_View @481
- location (2274, 1119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.119403
- height 45
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @484
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1328, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @484
- location (1076, 1193)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @485
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 768)
- label (object ItemLabel
- Parent_View @485
- location (1977, 727)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$156" @486
- location (2219, 880)
- stereotype TRUE
- line_color 3342489
- quidu "3B683606026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$157" @487
- Parent_View @486
- location (-357, -240)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070221"
- client @486
- supplier @485
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 821))
- (object RoleView "particles" @488
- Parent_View @486
- location (-357, -240)
- label (object SegLabel @489
- Parent_View @488
- location (2105, 888)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+particles"
- pctDist 0.156627
- height 115
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070222"
- client @486
- supplier @478
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 939)
- label (object SegLabel @490
- Parent_View @488
- location (2281, 888)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.156627
- height 62
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @491
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1776, 992)
- label (object ItemLabel
- Parent_View @491
- location (1639, 951)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @492
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1424)
- label (object ItemLabel
- Parent_View @492
- location (905, 1383)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 352
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @493
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (432, 992)
- label (object ItemLabel
- Parent_View @493
- location (187, 951)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$202" @494
- location (590, 1140)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$203" @495
- Parent_View @494
- location (302, 148)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @494
- supplier @493
- vertices (list Points
- (590, 1140)
- (540, 1140)
- (540, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (540, 1045))
- (object RoleView "baseTypeDefinition" @496
- Parent_View @494
- location (302, 148)
- label (object SegLabel @497
- Parent_View @496
- location (643, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.053571
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @494
- supplier @493
- vertices (list Points
- (590, 1140)
- (641, 1140)
- (641, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (641, 1045)
- label (object SegLabel @498
- Parent_View @496
- location (584, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.122449
- height 44
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @499
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1008, 992)
- label (object ItemLabel
- Parent_View @499
- location (745, 951)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$104" @500
- location (1119, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837DF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$105" @501
- Parent_View @500
- location (-1569, -8)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FD"
- client @500
- supplier @499
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1045))
- (object RoleView "contentType" @502
- Parent_View @500
- location (-1569, -8)
- label (object SegLabel @503
- Parent_View @502
- location (1259, 1126)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+contentType"
- pctDist 0.208955
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FE"
- client @500
- supplier @484
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1179)
- label (object SegLabel @504
- Parent_View @502
- location (1063, 1126)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.208955
- height 57
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$110" @505
- location (1455, 982)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BA0126"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$111" @506
- Parent_View @505
- location (159, -570)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0150"
- client @505
- supplier @499
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1280, 982))
- (object RoleView "attributeWildcard" @507
- Parent_View @505
- location (159, -570)
- label (object SegLabel @508
- Parent_View @507
- location (1445, 929)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist -0.062857
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0151"
- client @505
- supplier @491
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1630, 982)
- label (object SegLabel @509
- Parent_View @507
- location (1550, 1022)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.542857
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$106" @510
- location (921, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959006E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$107" @511
- Parent_View @510
- location (-871, -376)
- stereotype TRUE
- line_color 3342489
- quidu "3B6839590349"
- client @510
- supplier @499
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1045))
- (object RoleView "attributeUses" @512
- Parent_View @510
- location (-871, -376)
- label (object SegLabel @513
- Parent_View @512
- location (778, 1251)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.269939
- height 144
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959034A"
- client @510
- supplier @492
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1371)
- label (object SegLabel @514
- Parent_View @512
- location (979, 1254)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.288344
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @515
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 768)
- label (object ItemLabel
- Parent_View @515
- location (1122, 727)
- fill_color 13434879
- nlines 1
- max_width 380
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 398
- height 107
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @516
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1856, 1632)
- label (object ItemLabel
- Parent_View @516
- location (1623, 1591)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @517
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2048, 448)
- label (object ItemLabel
- Parent_View @517
- location (1803, 407)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$160" @518
- location (2216, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$161" @519
- Parent_View @518
- location (-552, -816)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @518
- supplier @517
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 501))
- (object RoleView "modelGroup" @520
- Parent_View @518
- location (-552, -816)
- label (object SegLabel @521
- Parent_View @520
- location (2080, 628)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.182609
- height 137
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @518
- supplier @485
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 715)
- label (object SegLabel @522
- Parent_View @520
- location (2256, 633)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.233645
- height 40
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @523
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1424)
- label (object ItemLabel
- Parent_View @523
- location (1619, 1383)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$90" @524
- location (1676, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887BF0150"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$91" @525
- Parent_View @524
- location (412, -344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A7"
- client @524
- supplier @523
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1371))
- (object RoleView "attributeWildcard" @526
- Parent_View @524
- location (412, -344)
- label (object SegLabel @527
- Parent_View @526
- location (1857, 1106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist 0.625767
- height 181
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A8"
- client @524
- supplier @491
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1045)
- label (object SegLabel @528
- Parent_View @526
- location (1618, 1108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.619632
- height 59
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$86" @529
- location (1429, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B68359F0086"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$87" @530
- Parent_View @529
- location (-363, -146)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A00069"
- client @529
- supplier @523
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1610, 1438))
- (object RoleView "attributeUses" @531
- Parent_View @529
- location (-363, -146)
- label (object SegLabel @532
- Parent_View @531
- location (1405, 1506)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.132597
- height 68
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A0006A"
- client @529
- supplier @492
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1248, 1438)
- label (object SegLabel @533
- Parent_View @531
- location (1327, 1391)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.563536
- height 48
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @534
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 1424)
- label (object ItemLabel
- Parent_View @534
- location (183, 1383)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$94" @535
- location (777, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3B683585010D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$95" @536
- Parent_View @535
- location (-519, -367)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FA"
- client @535
- supplier @492
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (896, 1425))
- (object RoleView "attributeDeclaration" @537
- Parent_View @535
- location (-519, -367)
- label (object SegLabel @538
- Parent_View @537
- location (784, 1508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+attributeDeclaration"
- pctDist -0.059259
- height 83
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FB"
- client @535
- supplier @534
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (658, 1425)
- label (object SegLabel @539
- Parent_View @537
- location (721, 1385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.472441
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$78" @540
- location (237, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356B02CB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$79" @541
- Parent_View @540
- location (-1043, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A6"
- client @540
- supplier @534
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1371))
- (object RoleView "typeDefinition" @542
- Parent_View @540
- location (-1043, 72)
- label (object SegLabel @543
- Parent_View @542
- location (388, 1247)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist -0.239264
- height 151
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A7"
- client @540
- supplier @493
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1045)
- label (object SegLabel @544
- Parent_View @542
- location (195, 1247)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.239264
- height 43
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @545
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (384, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @545
- location (198, 745)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$100" @546
- location (728, 775)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833350340"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$101" @547
- Parent_View @546
- location (-856, -57)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028D"
- client @546
- supplier @499
- vertices (list Points
- (728, 775)
- (788, 775)
- (788, 939))
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (788, 939))
- (object RoleView "baseTypeDefinition" @548
- Parent_View @546
- location (-856, -57)
- label (object SegLabel @549
- Parent_View @548
- location (558, 883)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.140940
- height 108
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028E"
- client @546
- supplier @545
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (579, 775)
- label (object SegLabel @550
- Parent_View @548
- location (750, 812)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.152439
- height 37
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @551
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1312, 448)
- label (object ItemLabel
- Parent_View @551
- location (1017, 407)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$142" @552
- location (1629, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D29E014D"
- roleview_list (list RoleViews
- (object RoleView "referencedKey" @553
- Parent_View @552
- location (-83, 94)
- label (object SegLabel @554
- Parent_View @553
- location (1761, 608)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+referencedKey"
- pctDist -1.797297
- height 34
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A80165"
- client @552
- supplier @551
- vertices (list Points
- (1629, 574)
- (1555, 574)
- (1555, 501))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1555, 501)
- label (object SegLabel @555
- Parent_View @553
- location (1622, 539)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.047619
- height 36
- orientation 1))
- (object RoleView "$UNNAMED$143" @556
- Parent_View @552
- location (-83, 94)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A8016F"
- client @552
- supplier @551
- vertices (list Points
- (1629, 574)
- (1689, 574)
- (1689, 444)
- (1616, 444))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1616, 444))))
- (object AssociationViewNew "$UNNAMED$146" @557
- location (1197, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$147" @558
- Parent_View @557
- location (-115, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @557
- supplier @551
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 501))
- (object RoleView "fields" @559
- Parent_View @557
- location (-115, 32)
- label (object SegLabel @560
- Parent_View @559
- location (1119, 655)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.439252
- height 78
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @557
- supplier @515
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 715)
- label (object SegLabel @561
- Parent_View @559
- location (1253, 654)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.429907
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$144" @562
- location (1415, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$145" @563
- Parent_View @562
- location (103, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @562
- supplier @551
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 501))
- (object RoleView "selector" @564
- Parent_View @562
- location (103, 32)
- label (object SegLabel @565
- Parent_View @564
- location (1513, 651)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.411215
- height 98
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @562
- supplier @515
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 715)
- label (object SegLabel @566
- Parent_View @564
- location (1381, 650)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.392523
- height 34
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @567
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1312, 160)
- label (object ItemLabel
- Parent_View @567
- location (1022, 68)
- fill_color 13434879
- nlines 1
- max_width 581
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 599
- height 209
- annotation 8)
- (object AssociationViewNew "$UNNAMED$188" @568
- location (2395, 606)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA7023E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$189" @569
- Parent_View @568
- location (-853, 174)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038A"
- client @568
- supplier @567
- vertices (list Points
- (2395, 606)
- (2395, 65)
- (1611, 65))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (1611, 65))
- (object RoleView "notationDeclarations" @570
- Parent_View @568
- location (-853, 174)
- label (object SegLabel @571
- Parent_View @570
- location (2089, 104)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+notationDeclarations"
- pctDist -0.489776
- height 307
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038B"
- client @568
- supplier @516
- vertices (list Points
- (2395, 606)
- (2395, 1633)
- (2098, 1633))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (2098, 1633)
- label (object SegLabel @572
- Parent_View @570
- location (2344, 105)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.487829
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$184" @573
- location (1772, 249)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEFF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$185" @574
- Parent_View @573
- location (-948, -327)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF00025A"
- client @573
- supplier @567
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1611, 249))
- (object RoleView "modelGroupDefinitions" @575
- Parent_View @573
- location (-948, -327)
- label (object SegLabel @576
- Parent_View @575
- location (2076, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+modelGroupDefinitions"
- pctDist 0.713592
- height 244
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF000264"
- client @573
- supplier @517
- vertices (list Points
- (1772, 249)
- (1832, 249)
- (1832, 395))
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1832, 395)
- label (object SegLabel @577
- Parent_View @575
- location (1781, 340)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.737864
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$180" @578
- location (2346, 518)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE920216"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$181" @579
- Parent_View @578
- location (154, 86)
- label (object SegLabel @580
- Parent_View @579
- location (1872, 1857)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist -3.630072
- height 475
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018B"
- client @578
- supplier @567
- vertices (list Points
- (2346, 518)
- (2346, 149)
- (1611, 149))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (1611, 149))
- (object RoleView "attributeGroupDefinitions" @581
- Parent_View @578
- location (154, 86)
- label (object SegLabel @582
- Parent_View @581
- location (2008, 195)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+attributeGroupDefinitions"
- pctDist -0.349946
- height 339
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018C"
- client @578
- supplier @523
- vertices (list Points
- (2346, 518)
- (2346, 1441)
- (2166, 1441))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (2166, 1441)
- label (object SegLabel @583
- Parent_View @581
- location (2299, 197)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.348862
- height 48
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$182" @584
- location (203, 159)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760049"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$183" @585
- Parent_View @584
- location (-485, -273)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760374"
- client @584
- supplier @567
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (1013, 159))
- (object RoleView "typeDefinitions" @586
- Parent_View @584
- location (-485, -273)
- label (object SegLabel @587
- Parent_View @586
- location (349, 196)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+typeDefinitions"
- pctDist -1.475728
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE76037E"
- client @584
- supplier @545
- vertices (list Points
- (203, 159)
- (104, 159)
- (104, 784)
- (189, 784))
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (189, 784)
- label (object SegLabel @588
- Parent_View @586
- location (155, 200)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.059701
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$186" @589
- location (1087, 329)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1701ED"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$187" @590
- Parent_View @589
- location (-577, -23)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A0273"
- client @589
- supplier @567
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 264))
- (object RoleView "identityConstraintDefinitions" @591
- Parent_View @589
- location (-577, -23)
- label (object SegLabel @592
- Parent_View @591
- location (1375, 338)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.130952
- height 288
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A027D"
- client @589
- supplier @551
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 395)
- label (object SegLabel @593
- Parent_View @591
- location (1018, 336)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.107143
- height 70
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$178" @594
- location (48, 320)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFA00C3"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$179" @595
- Parent_View @594
- location (-1072, -288)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027D"
- client @594
- supplier @567
- vertices (list Points
- (49, 322)
- (49, 68)
- (1013, 68))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (1013, 68))
- (object RoleView "attributeDeclarations" @596
- Parent_View @594
- location (-1072, -288)
- label (object SegLabel @597
- Parent_View @596
- location (338, 106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+attributeDeclarations"
- pctDist -0.198536
- height 289
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027E"
- client @594
- supplier @534
- vertices (list Points
- (49, 322)
- (49, 1415)
- (174, 1415))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (174, 1415)
- label (object SegLabel @598
- Parent_View @596
- location (91, 108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.196706
- height 42
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @599
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 448)
- label (object ItemLabel
- Parent_View @599
- location (175, 412)
- fill_color 13434879
- nlines 1
- max_width 483
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 501
- height 97
- annotation 8)
- (object AssociationViewNew "$UNNAMED$128" @600
- location (499, 589)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C0590198"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$129" @601
- Parent_View @600
- location (-13, 109)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01E3"
- client @600
- supplier @599
- vertices (list Points
- (499, 589)
- (452, 589)
- (452, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (452, 496))
- (object RoleView "substitutionGroupAffiliation" @602
- Parent_View @600
- location (-13, 109)
- label (object SegLabel @603
- Parent_View @602
- location (811, 585)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+substitutionGroupAffiliation"
- pctDist 6.520833
- height 5
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01ED"
- client @600
- supplier @599
- vertices (list Points
- (499, 589)
- (547, 589)
- (547, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (547, 496)
- label (object SegLabel @604
- Parent_View @602
- location (499, 559)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.000000
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$122" @605
- location (241, 613)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C0058"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$123" @606
- Parent_View @605
- location (-1343, -219)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03BF"
- client @605
- supplier @599
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 496))
- (object RoleView "typeDefinition" @607
- Parent_View @605
- location (-1343, -219)
- label (object SegLabel @608
- Parent_View @607
- location (408, 694)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.686441
- height 167
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03C0"
- client @605
- supplier @545
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 731)
- label (object SegLabel @609
- Parent_View @607
- location (202, 685)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.610169
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$124" @610
- location (837, 460)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$125" @611
- Parent_View @610
- location (-1819, -68)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @610
- supplier @599
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (666, 460))
- (object RoleView "identityConstraintDefinitions" @612
- Parent_View @610
- location (-1819, -68)
- label (object SegLabel @613
- Parent_View @612
- location (880, 528)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.251462
- height 68
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @610
- supplier @551
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (1008, 460)
- label (object SegLabel @614
- Parent_View @612
- location (859, 407)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.130435
- height 54
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$176" @615
- location (541, 246)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8D01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$177" @616
- Parent_View @615
- location (-1123, -186)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0198"
- client @615
- supplier @567
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (1013, 246))
- (object RoleView "elementDeclarations" @617
- Parent_View @615
- location (-1123, -186)
- label (object SegLabel @618
- Parent_View @617
- location (443, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+elementDeclarations"
- pctDist 0.209302
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0199"
- client @615
- supplier @599
- vertices (list Points
- (541, 246)
- (224, 246)
- (224, 400))
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (224, 400)
- label (object SegLabel @619
- Parent_View @617
- location (186, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.864693
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$130" @620
- location (353, 621)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBDD0297"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$131" @621
- Parent_View @620
- location (-63, 173)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE0011E"
- client @620
- supplier @599
- vertices (list Points
- (353, 621)
- (306, 621)
- (306, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (306, 496))
- (object RoleView "substitutionGroup" @622
- Parent_View @620
- location (-63, 173)
- label (object SegLabel @623
- Parent_View @622
- location (579, 636)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+substitutionGroup"
- pctDist 4.808511
- height 15
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE00128"
- client @620
- supplier @599
- vertices (list Points
- (353, 621)
- (400, 621)
- (400, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (400, 496)
- label (object SegLabel @624
- Parent_View @622
- location (350, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist -0.069767
- height 39
- orientation 0))))))
- (object ClassDiagram "3. Component Attributes (Part 1 : Structures)"
- quid "3B69E78602C5"
- title "3. Component Attributes (Part 1 : Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @625
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @625
- location (46, 49)
- fill_color 13434879
- nlines 1
- max_width 516
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @625
- location (46, 115)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 482
- compartmentItems (list Compartment
- "+ name : String"
- "+ targetNamespace : String"))
- width 534
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @626
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1648)
- label (object ItemLabel
- Parent_View @626
- location (41, 1567)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 512
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @627
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 1680)
- label (object ItemLabel
- Parent_View @627
- location (1781, 1524)
- fill_color 13434879
- nlines 1
- max_width 1174
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @627
- location (1781, 1584)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 1139
- compartmentItems (list Compartment
- "+ derivationMethod : XSDDerivationMethod = restriction"
- "<<0..*>> + final : XSDComplexFinal"
- "+ abstract : boolean"
- "+ contentTypeCategory : XSDContentTypeCategory"
- "<<0..*>> + prohibitedSubstitutions : XSDProhibitedSubstitutions"))
- width 1192
- height 336
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @628
- location (463, 362)
- line_color 3342489
- fill_color 13434879
- supplier @625
- vertices (list Points
- (463, 362)
- (463, 221)))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @629
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 1600)
- label (object ItemLabel
- Parent_View @629
- location (1094, 1519)
- fill_color 13434879
- nlines 1
- max_width 628
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @629
- location (1094, 1579)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 592
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 646
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @630
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 144)
- label (object ItemLabel
- Parent_View @630
- location (647, 38)
- fill_color 13434879
- nlines 1
- max_width 530
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @630
- location (647, 98)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 502
- compartmentItems (list Compartment
- "+ required : boolean"
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 548
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @631
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (688, 1936)
- label (object ItemLabel
- Parent_View @631
- location (45, 1830)
- fill_color 13434879
- nlines 1
- max_width 1286
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @631
- location (45, 1890)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 1260
- compartmentItems (list Compartment
- "+ namespaceConstraintCategory : XSDNamespaceConstraintCategory"
- "<<0..*>> + namespaceConstraint : String"
- "+ processContents : XSDProcessContents"))
- width 1304
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @632
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 1440)
- label (object ItemLabel
- Parent_View @632
- location (47, 1384)
- fill_color 13434879
- nlines 1
- max_width 578
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 596
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @633
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @633
- location (36, 433)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @633
- location (36, 499)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 506
- compartmentItems (list Compartment
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 554
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @634
- location (294, 697)
- line_color 3342489
- fill_color 13434879
- supplier @633
- vertices (list Points
- (294, 697)
- (294, 605)))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @635
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2256, 128)
- label (object ItemLabel
- Parent_View @635
- location (1995, 47)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 540
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @636
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @636
- location (2418, 462)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @637
- location (2684, 962)
- line_color 3342489
- fill_color 13434879
- supplier @636
- vertices (list Points
- (2684, 962)
- (2684, 576)))
- (object ClassView "Class" "Logical View::xsd::XSDCompositor" @638
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1200)
- label (object ItemLabel
- Parent_View @638
- location (45, 1116)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDCompositor")
- stereotype (object ItemLabel
- Parent_View @638
- location (45, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869B620037"
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstraint" @639
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 528)
- label (object ItemLabel
- Parent_View @639
- location (638, 469)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDConstraint")
- stereotype (object ItemLabel
- Parent_View @639
- location (638, 419)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869E2601AE"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDerivationMethod" @640
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2192, 2272)
- label (object ItemLabel
- Parent_View @640
- location (1980, 2213)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "XSDDerivationMethod")
- stereotype (object ItemLabel
- Parent_View @640
- location (1980, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 424
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A0B000CE"
- width 442
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintCategory" @641
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1584, 176)
- label (object ItemLabel
- Parent_View @641
- location (1281, 88)
- fill_color 13434879
- nlines 1
- max_width 607
- justify 0
- label "XSDIdentityConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @641
- location (1281, 38)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 607
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A1E00272"
- width 625
- height 300
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDContentTypeCategory" @642
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2704, 2224)
- label (object ItemLabel
- Parent_View @642
- location (2456, 2115)
- fill_color 13434879
- nlines 1
- max_width 496
- justify 0
- label "XSDContentTypeCategory")
- stereotype (object ItemLabel
- Parent_View @642
- location (2456, 2065)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 496
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A79F03A2"
- width 514
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @643
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 1600)
- label (object ItemLabel
- Parent_View @643
- location (708, 1516)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @643
- location (708, 1466)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 344
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 362
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProcessContents" @644
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 2240)
- label (object ItemLabel
- Parent_View @644
- location (766, 2156)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDProcessContents")
- stereotype (object ItemLabel
- Parent_View @644
- location (766, 2106)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 420
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF8C70284"
- width 438
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDXPathVariety" @645
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2768, 160)
- label (object ItemLabel
- Parent_View @645
- location (2587, 97)
- fill_color 13434879
- nlines 1
- max_width 363
- justify 0
- label "XSDXPathVariety")
- stereotype (object ItemLabel
- Parent_View @645
- location (2587, 47)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 363
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FFB89033A"
- width 381
- height 250
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @646
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1552, 1872)
- label (object ItemLabel
- Parent_View @646
- location (1389, 1788)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @646
- location (1389, 1738)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @646
- location (1389, 1848)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 199
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @647
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 2000)
- label (object ItemLabel
- Parent_View @647
- location (1786, 1941)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @647
- location (1786, 1891)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- compartment (object Compartment
- Parent_View @647
- location (1786, 2001)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 202
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 382
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSubstitutionGroupExclusions" @648
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 1184)
- label (object ItemLabel
- Parent_View @648
- location (485, 1125)
- fill_color 13434879
- nlines 1
- max_width 630
- justify 0
- label "XSDSubstitutionGroupExclusions")
- stereotype (object ItemLabel
- Parent_View @648
- location (485, 1075)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 630
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C59100AE"
- width 648
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @649
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1440, 1200)
- label (object ItemLabel
- Parent_View @649
- location (1171, 1116)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @649
- location (1171, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @649
- location (1171, 1176)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 236
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"))
- width 556
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @650
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1664, 2272)
- label (object ItemLabel
- Parent_View @650
- location (1398, 2213)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @650
- location (1398, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @650
- location (1398, 2273)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 202
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 550
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamespaceConstraintCategory" @651
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 2240)
- label (object ItemLabel
- Parent_View @651
- location (45, 2154)
- fill_color 13434879
- nlines 1
- max_width 678
- justify 0
- label "XSDNamespaceConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @651
- location (45, 2104)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 678
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5EA0023"
- width 696
- height 296
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @652
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1264, 880)
- label (object ItemLabel
- Parent_View @652
- location (571, 749)
- fill_color 13434879
- nlines 1
- max_width 1386
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @652
- location (571, 809)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 1357
- compartmentItems (list Compartment
- "+ nillable : boolean"
- "<<0..*>> + disallowedSubstitutions : XSDDisallowedSubstitutions"
- "<<0..*>> + substitutionGroupExclusions : XSDSubstitutionGroupExclusions"
- "+ abstract : boolean"))
- width 1404
- height 286
- annotation 8
- autoResize TRUE)
- (object InheritView "" @653
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @652
- supplier @633
- line_style 3
- origin_attachment (681, 737)
- terminal_attachment (681, 697)
- drawSupplier @634)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @654
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @654
- location (35, 812)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @655
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 1152)
- label (object ItemLabel
- Parent_View @655
- location (2420, 1100)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @656
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @655
- supplier @636
- line_style 3
- origin_attachment (2862, 1088)
- terminal_attachment (2862, 962)
- drawSupplier @637)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @657
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1312)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @657
- location (2168, 1263)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @658
- location (2375, 1465)
- line_color 3342489
- fill_color 13434879
- supplier @657
- vertices (list Points
- (2375, 1465)
- (2375, 1375)))
- (object InheritView "" @659
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @657
- supplier @636
- line_style 3
- origin_attachment (2368, 1249)
- terminal_attachment (2368, 962)
- drawSupplier @637)
- (object InheritView "" @660
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @627
- supplier @657
- line_style 3
- origin_attachment (2818, 1512)
- terminal_attachment (2818, 1465)
- drawSupplier @658)
- (object InheritView "" @661
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @629
- supplier @657
- line_style 3
- origin_attachment (1406, 1507)
- terminal_attachment (1406, 1465)
- drawSupplier @658)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @662
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2064, 1152)
- label (object ItemLabel
- Parent_View @662
- location (1818, 1101)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @663
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @662
- supplier @636
- line_style 3
- origin_attachment (2115, 1089)
- terminal_attachment (2115, 962)
- drawSupplier @637)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @664
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1600, 528)
- label (object ItemLabel
- Parent_View @664
- location (1034, 468)
- fill_color 13434879
- nlines 1
- max_width 1132
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 1150
- height 144
- annotation 8
- autoResize TRUE)
- (object InheritView "" @665
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @664
- supplier @625
- line_style 3
- origin_attachment (1568, 456)
- terminal_attachment (1568, 362)
- drawSupplier @628)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @666
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2320, 784)
- label (object ItemLabel
- Parent_View @666
- location (2078, 703)
- fill_color 13434879
- nlines 1
- max_width 484
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 502
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @667
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 320)
- label (object ItemLabel
- Parent_View @667
- location (43, 268)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @668
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @666
- supplier @625
- line_style 3
- origin_attachment (2290, 691)
- terminal_attachment (2290, 362)
- drawSupplier @628)
- (object InheritView "" @669
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @654
- supplier @633
- line_style 3
- origin_attachment (141, 800)
- terminal_attachment (141, 697)
- drawSupplier @634)
- (object InheritView "" @670
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @633
- supplier @625
- line_style 3
- origin_attachment (372, 419)
- terminal_attachment (372, 362)
- drawSupplier @628)
- (object InheritView "" @671
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @636
- supplier @625
- line_style 3
- origin_attachment (2687, 448)
- terminal_attachment (2687, 362)
- drawSupplier @628)))
- (object ClassDiagram "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- quid "3B6C3265005F"
- title "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFixedFacet" @672
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @672
- location (32, 842)
- fill_color 13434879
- nlines 1
- max_width 320
- justify 0
- label "XSDFixedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C699E00C1"
- width 338
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @673
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @673
- location (504, 847)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @674
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1168)
- label (object ItemLabel
- Parent_View @674
- location (266, 1112)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 478
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @675
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1008, 1168)
- label (object ItemLabel
- Parent_View @675
- location (777, 1112)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 480
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @676
- location (718, 1049)
- line_color 3342489
- fill_color 13434879
- supplier @673
- vertices (list Points
- (718, 1049)
- (718, 959)))
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @677
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 928)
- label (object ItemLabel
- Parent_View @677
- location (1799, 872)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 420
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @678
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 928)
- label (object ItemLabel
- Parent_View @678
- location (1383, 872)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 388
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @679
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2032, 1104)
- label (object ItemLabel
- Parent_View @679
- location (1807, 1048)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 468
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @680
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 1104)
- label (object ItemLabel
- Parent_View @680
- location (1319, 1049)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 388
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @681
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 1376)
- label (object ItemLabel
- Parent_View @681
- location (491, 1320)
- fill_color 13434879
- nlines 1
- max_width 330
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 348
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @682
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (608, 1552)
- label (object ItemLabel
- Parent_View @682
- location (405, 1497)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 424
- height 134
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @683
- location (144, 1262)
- line_color 3342489
- fill_color 13434879
- supplier @672
- vertices (list Points
- (144, 1262)
- (144, 964)))
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @684
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1216, 1552)
- label (object ItemLabel
- Parent_View @684
- location (1007, 1497)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @685
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1376)
- label (object ItemLabel
- Parent_View @685
- location (880, 1320)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 498
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @686
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 1728)
- label (object ItemLabel
- Parent_View @686
- location (1090, 1676)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 462
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @687
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 1904)
- label (object ItemLabel
- Parent_View @687
- location (1193, 1852)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @688
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1728)
- label (object ItemLabel
- Parent_View @688
- location (282, 1676)
- fill_color 13434879
- nlines 1
- max_width 428
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 446
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @689
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1904)
- label (object ItemLabel
- Parent_View @689
- location (124, 1852)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 474
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @690
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 2112)
- label (object ItemLabel
- Parent_View @690
- location (52, 2056)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 426
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @691
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 2112)
- label (object ItemLabel
- Parent_View @691
- location (1318, 2056)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 486
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @692
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C9D03C7"
- client @674
- supplier @673
- line_style 3
- origin_attachment (394, 1100)
- terminal_attachment (394, 1049)
- drawSupplier @676)
- (object InheritView "" @693
- stereotype TRUE
- line_color 3342489
- quidu "3B6C78620045"
- client @685
- supplier @672
- line_style 3
- origin_attachment (1119, 1308)
- terminal_attachment (1119, 1262)
- drawSupplier @683)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @694
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 160)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @694
- location (174, 119)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @695
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6CA5038D"
- client @675
- supplier @673
- line_style 3
- origin_attachment (1044, 1100)
- terminal_attachment (1044, 1049)
- drawSupplier @676)
- (object InheritView "" @696
- stereotype TRUE
- line_color 3342489
- quidu "3B6C778002DF"
- client @681
- supplier @672
- line_style 3
- origin_attachment (663, 1308)
- terminal_attachment (663, 1262)
- drawSupplier @683)
- (object ClassView "Class" "Logical View::xsd::XSDOrdered" @697
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1408)
- label (object ItemLabel
- Parent_View @697
- location (1835, 1324)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDOrdered")
- stereotype (object ItemLabel
- Parent_View @697
- location (1835, 1274)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715202E4"
- width 444
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinality" @698
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1728)
- label (object ItemLabel
- Parent_View @698
- location (1835, 1669)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDCardinality")
- stereotype (object ItemLabel
- Parent_View @698
- location (1835, 1619)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715D009B"
- width 444
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpace" @699
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 2032)
- label (object ItemLabel
- Parent_View @699
- location (1861, 1951)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDWhiteSpace")
- stereotype (object ItemLabel
- Parent_View @699
- location (1861, 1901)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 406
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BEED0F60342"
- width 424
- height 287
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::Value" @700
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 2096)
- label (object ItemLabel
- Parent_View @700
- location (571, 2062)
- fill_color 13434879
- nlines 1
- max_width 618
- justify 0
- label "Value")
- stereotype (object ItemLabel
- Parent_View @700
- location (571, 2012)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 618
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C040B5B031F"
- width 636
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @701
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B610337"
- client @690
- supplier @672
- line_style 3
- origin_attachment (75, 2044)
- terminal_attachment (75, 1262)
- drawSupplier @683)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @702
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @702
- location (113, 1322)
- fill_color 13434879
- nlines 1
- max_width 286
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @702
- location (113, 1388)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 254
- compartmentItems (list Compartment
- "+ value : Value"))
- width 304
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @703
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1584, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @703
- location (1440, 1322)
- fill_color 13434879
- nlines 1
- max_width 288
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @703
- location (1440, 1388)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 258
- compartmentItems (list Compartment
- "+ value : Value"))
- width 306
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @704
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D240098"
- client @702
- supplier @672
- line_style 3
- origin_attachment (235, 1308)
- terminal_attachment (235, 1262)
- drawSupplier @683)
- (object InheritView "" @705
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D3103AD"
- client @703
- supplier @672
- line_style 3
- origin_attachment (1581, 1308)
- terminal_attachment (1581, 1262)
- drawSupplier @683)
- (object InheritView "" @706
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B520353"
- client @688
- supplier @702
- line_style 3
- origin_attachment (285, 1664)
- terminal_attachment (285, 1444))
- (object InheritView "" @707
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8303B8"
- client @686
- supplier @703
- line_style 3
- origin_attachment (1500, 1664)
- terminal_attachment (1500, 1444))
- (object InheritView "" @708
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8E0309"
- client @687
- supplier @703
- line_style 3
- origin_attachment (1622, 1840)
- terminal_attachment (1622, 1444))
- (object InheritView "" @709
- stereotype TRUE
- line_color 3342489
- quidu "3B6C77C400C0"
- client @682
- supplier @672
- line_style 3
- origin_attachment (447, 1485)
- terminal_attachment (447, 1262)
- drawSupplier @683)
- (object InheritView "" @710
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B7D00FC"
- client @684
- supplier @672
- line_style 3
- origin_attachment (1397, 1485)
- terminal_attachment (1397, 1262)
- drawSupplier @683)
- (object InheritView "" @711
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B990016"
- client @691
- supplier @672
- line_style 3
- origin_attachment (1775, 2044)
- terminal_attachment (1775, 1262)
- drawSupplier @683)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @712
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 368)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @712
- location (174, 320)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 406
- height 125
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @713
- location (366, 522)
- line_color 3342489
- fill_color 13434879
- supplier @712
- vertices (list Points
- (366, 522)
- (366, 430)))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @714
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @714
- location (34, 575)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 462
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @715
- location (272, 781)
- line_color 3342489
- fill_color 13434879
- supplier @714
- vertices (list Points
- (272, 781)
- (272, 687)))
- (object InheritView "" @716
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @673
- supplier @714
- line_style 3
- origin_attachment (594, 833)
- terminal_attachment (594, 781)
- drawSupplier @715)
- (object ClassView "Class" "Logical View::xsd::XSDFundamentalFacet" @717
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @717
- location (526, 575)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDFundamentalFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C69E801D6"
- width 470
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @718
- location (768, 789)
- line_color 3342489
- fill_color 13434879
- supplier @717
- vertices (list Points
- (768, 789)
- (768, 687)))
- (object InheritView "" @719
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7659012C"
- client @677
- supplier @717
- line_style 3
- origin_attachment (2050, 860)
- terminal_attachment (2050, 789)
- drawSupplier @718)
- (object InheritView "" @720
- stereotype TRUE
- line_color 3342489
- quidu "3B6C763C0224"
- client @678
- supplier @717
- line_style 3
- origin_attachment (1525, 860)
- terminal_attachment (1525, 789)
- drawSupplier @718)
- (object InheritView "" @721
- stereotype TRUE
- line_color 3342489
- quidu "3B6C764F0131"
- client @679
- supplier @717
- line_style 3
- origin_attachment (2237, 1036)
- terminal_attachment (2237, 789)
- drawSupplier @718)
- (object InheritView "" @722
- stereotype TRUE
- line_color 3342489
- quidu "3B6C76420074"
- client @680
- supplier @717
- line_style 3
- origin_attachment (1328, 1037)
- terminal_attachment (1328, 789)
- drawSupplier @718)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @723
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1456, 160)
- label (object ItemLabel
- Parent_View @723
- location (1137, 47)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @723
- location (1137, 107)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 598
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 656
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$134" @724
- location (775, 178)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D597102EA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$135" @725
- Parent_View @724
- location (-1209, -46)
- label (object SegLabel @726
- Parent_View @725
- location (509, 235)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750119"
- client @724
- supplier @712
- vertices (list Points
- (775, 178)
- (550, 178)
- (550, 306))
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (550, 306))
- (object RoleView "simpleTypeDefinition" @727
- Parent_View @724
- location (-1209, -46)
- label (object SegLabel @728
- Parent_View @727
- location (875, 136)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+simpleTypeDefinition"
- pctDist 0.283133
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750105"
- client @724
- supplier @723
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (1128, 178)
- label (object SegLabel @729
- Parent_View @727
- location (1061, 215)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.812500
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$196" @730
- location (369, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE0203A8"
- roleview_list (list RoleViews
- (object RoleView "facets" @731
- Parent_View @730
- location (-1615, -152)
- label (object SegLabel @732
- Parent_View @731
- location (187, 496)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+facets"
- pctDist 0.913863
- height 87
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060065"
- client @730
- supplier @714
- vertices (list Points
- (369, 72)
- (100, 72)
- (100, 561))
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (100, 561)
- label (object SegLabel @733
- Parent_View @731
- location (60, 498)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.917900
- height 41
- orientation 1))
- (object RoleView "$UNNAMED$197" @734
- Parent_View @730
- location (-1615, -152)
- label (object SegLabel @735
- Parent_View @734
- location (976, 31)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060051"
- client @730
- supplier @723
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (1128, 72))))
- (object AssociationViewNew "$UNNAMED$238" @736
- location (1538, 508)
- label (object SegLabel @737
- Parent_View @736
- location (1538, 449)
- font (object Font
- italics TRUE)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.500000
- height 60
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$239" @738
- Parent_View @736
- location (-446, 284)
- label (object SegLabel @739
- Parent_View @738
- location (1446, 340)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DF"
- client @736
- supplier @723
- vertices (list Points
- (1538, 508)
- (1487, 508)
- (1487, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1487, 285))
- (object RoleView "itemTypeDefinition" @740
- Parent_View @736
- location (-446, 284)
- label (object SegLabel @741
- Parent_View @740
- location (1423, 577)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+itemTypeDefinition"
- pctDist -2.211539
- height 69
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000E0"
- client @736
- supplier @723
- vertices (list Points
- (1538, 508)
- (1590, 508)
- (1590, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1590, 285)
- label (object SegLabel @742
- Parent_View @740
- location (1539, 468)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.003984
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$198" @743
- location (1729, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34B70208"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$199" @744
- Parent_View @743
- location (-255, 350)
- label (object SegLabel @745
- Parent_View @744
- location (1637, 353)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0258"
- client @743
- supplier @723
- vertices (list Points
- (1729, 574)
- (1678, 574)
- (1678, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1678, 285))
- (object RoleView "memberTypeDefinitions" @746
- Parent_View @743
- location (-255, 350)
- label (object SegLabel @747
- Parent_View @746
- location (1559, 654)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+memberTypeDefinitions"
- pctDist -3.269231
- height 80
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0259"
- client @743
- supplier @723
- vertices (list Points
- (1729, 574)
- (1781, 574)
- (1781, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1781, 285)
- label (object SegLabel @748
- Parent_View @746
- location (1730, 520)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.312121
- height 52
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$200" @749
- location (748, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C363201DB"
- roleview_list (list RoleViews
- (object RoleView "fundamentalFacets" @750
- Parent_View @749
- location (-1236, 45)
- label (object SegLabel @751
- Parent_View @750
- location (873, 312)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+fundamentalFacets"
- pctDist -1.409091
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350063"
- client @749
- supplier @717
- vertices (list Points
- (748, 269)
- (659, 269)
- (659, 561))
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (659, 561)
- label (object SegLabel @752
- Parent_View @750
- location (728, 385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.538028
- height 69
- orientation 0))
- (object RoleView "$UNNAMED$201" @753
- Parent_View @749
- location (-1236, 45)
- label (object SegLabel @754
- Parent_View @753
- location (1052, 228)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350059"
- client @749
- supplier @723
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (1128, 269))))
- (object AssociationViewNew "$UNNAMED$202" @755
- location (1175, 396)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$203" @756
- Parent_View @755
- location (-809, 172)
- label (object SegLabel @757
- Parent_View @756
- location (1094, 316)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @755
- supplier @723
- vertices (list Points
- (1175, 396)
- (1135, 396)
- (1135, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1135, 285))
- (object RoleView "baseTypeDefinition" @758
- Parent_View @755
- location (-809, 172)
- label (object SegLabel @759
- Parent_View @758
- location (1074, 443)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist -2.533333
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @755
- supplier @723
- vertices (list Points
- (1175, 396)
- (1215, 396)
- (1215, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1215, 285)
- label (object SegLabel @760
- Parent_View @758
- location (1172, 359)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.096154
- height 38
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$204" @761
- location (1360, 446)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5572016C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$205" @762
- Parent_View @761
- location (-624, 222)
- label (object SegLabel @763
- Parent_View @762
- location (1268, 327)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5575022F"
- client @761
- supplier @723
- vertices (list Points
- (1360, 446)
- (1309, 446)
- (1309, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1309, 285))
- (object RoleView "primitiveTypeDefinition" @764
- Parent_View @761
- location (-624, 222)
- label (object SegLabel @765
- Parent_View @764
- location (1204, 508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+primitiveTypeDefinition"
- pctDist -3.000000
- height 62
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D55750243"
- client @761
- supplier @723
- vertices (list Points
- (1360, 446)
- (1412, 446)
- (1412, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1412, 285)
- label (object SegLabel @766
- Parent_View @764
- location (1373, 409)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.062147
- height 38
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @767
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2080, 512)
- label (object ItemLabel
- Parent_View @767
- location (1917, 428)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @767
- location (1917, 378)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @767
- location (1917, 488)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 3
- max_width 202
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @768
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 176)
- label (object ItemLabel
- Parent_View @768
- location (1918, 92)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @768
- location (1918, 42)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 342
- height 292
- annotation 8
- autoResize TRUE)
- (object InheritView "" @769
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C7B0396"
- client @717
- supplier @712
- line_style 3
- origin_attachment (591, 561)
- terminal_attachment (591, 522)
- drawSupplier @713)
- (object InheritView "" @770
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @714
- supplier @712
- line_style 3
- origin_attachment (272, 561)
- terminal_attachment (272, 522)
- drawSupplier @713)
- (object InheritView "" @771
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @712
- supplier @694
- line_style 3
- origin_attachment (366, 306)
- terminal_attachment (366, 215))
- (object InheritView "" @772
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8801B4"
- client @672
- supplier @714
- line_style 3
- origin_attachment (147, 828)
- terminal_attachment (147, 781)
- drawSupplier @715)
- (object InheritView "" @773
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B590281"
- client @689
- supplier @702
- line_style 3
- origin_attachment (150, 1840)
- terminal_attachment (150, 1444))))
- (object ClassDiagram "5. Component Annotations"
- quid "3B69D68D00D2"
- title "5. Component Annotations"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @774
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 80)
- label (object ItemLabel
- Parent_View @774
- location (88, 37)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @775
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1696)
- label (object ItemLabel
- Parent_View @775
- location (82, 1653)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @776
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 1504)
- label (object ItemLabel
- Parent_View @776
- location (1626, 1461)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @777
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 304)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @777
- location (1663, 263)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @778
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1360)
- label (object ItemLabel
- Parent_View @778
- location (74, 1317)
- fill_color 13434879
- nlines 1
- max_width 588
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 606
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @779
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 704)
- label (object ItemLabel
- Parent_View @779
- location (86, 661)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @780
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 1184)
- label (object ItemLabel
- Parent_View @780
- location (74, 1141)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @781
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 544)
- label (object ItemLabel
- Parent_View @781
- location (86, 501)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @782
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 80)
- label (object ItemLabel
- Parent_View @782
- location (1068, 37)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @783
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1216)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @783
- location (1750, 1175)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @784
- location (1994, 1412)
- line_color 3342489
- fill_color 13434879
- supplier @783
- vertices (list Points
- (1994, 1412)
- (1994, 1271)))
- (object InheritView "" @785
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @776
- supplier @783
- line_style 3
- origin_attachment (2084, 1449)
- terminal_attachment (2084, 1412)
- drawSupplier @784)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @786
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @786
- location (80, 821)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @787
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @787
- location (1892, 39)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 234
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @788
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 384)
- label (object ItemLabel
- Parent_View @788
- location (84, 341)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @789
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 224)
- label (object ItemLabel
- Parent_View @789
- location (86, 181)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @790
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1792, 1712)
- label (object ItemLabel
- Parent_View @790
- location (1467, 1674)
- fill_color 13434879
- nlines 1
- max_width 651
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 669
- height 100
- annotation 8)
- (object InheritView "" @791
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @790
- supplier @783
- line_style 3
- origin_attachment (1572, 1662)
- terminal_attachment (1572, 1412)
- drawSupplier @784)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @792
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 1024)
- label (object ItemLabel
- Parent_View @792
- location (78, 981)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @793
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @793
- location (1688, 519)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @794
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1536)
- label (object ItemLabel
- Parent_View @794
- location (71, 1493)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @795
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 944)
- label (object ItemLabel
- Parent_View @795
- location (872, 685)
- fill_color 13434879
- nlines 1
- max_width 720
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 738
- height 543
- annotation 8)
- (object AssociationViewNew "$UNNAMED$140" @796
- location (865, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0183"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$141" @797
- Parent_View @796
- location (-255, 559)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D033C"
- client @796
- supplier @778
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (671, 1359))
- (object RoleView "annotation" @798
- Parent_View @796
- location (-255, 559)
- label (object SegLabel @799
- Parent_View @798
- location (798, 1321)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -1.116667
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0346"
- client @796
- supplier @795
- vertices (list Points
- (865, 1359)
- (925, 1359)
- (925, 1215))
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (925, 1215)
- label (object SegLabel @800
- Parent_View @798
- location (987, 1276)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.706422
- height 62
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$164" @801
- location (713, 709)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0F0212"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$165" @802
- Parent_View @801
- location (-407, -90)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000C9"
- client @801
- supplier @779
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (563, 709))
- (object RoleView "annotation" @803
- Parent_View @801
- location (-407, -90)
- label (object SegLabel @804
- Parent_View @803
- location (727, 667)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.095238
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000D3"
- client @801
- supplier @795
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (863, 709)
- label (object SegLabel @805
- Parent_View @803
- location (796, 753)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.553571
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$158" @806
- location (719, 1193)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB15008A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$159" @807
- Parent_View @806
- location (-401, 393)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB160096"
- client @806
- supplier @780
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (575, 1193))
- (object RoleView "annotation" @808
- Parent_View @806
- location (-401, 393)
- label (object SegLabel @809
- Parent_View @808
- location (720, 1147)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.006993
- height 47
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1600A0"
- client @806
- supplier @795
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (863, 1193)
- label (object SegLabel @810
- Parent_View @808
- location (806, 1240)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.604167
- height 47
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$118" @811
- location (785, 550)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0A0066"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$119" @812
- Parent_View @811
- location (-335, -250)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B023F"
- client @811
- supplier @781
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (563, 550))
- (object RoleView "annotation" @813
- Parent_View @811
- location (-335, -250)
- label (object SegLabel @814
- Parent_View @813
- location (779, 516)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.070707
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B0249"
- client @811
- supplier @795
- vertices (list Points
- (785, 550)
- (884, 550)
- (884, 673))
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (884, 673)
- label (object SegLabel @815
- Parent_View @813
- location (935, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.729730
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$190" @816
- location (1184, 404)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4560290"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$191" @817
- Parent_View @816
- location (-32, -412)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4570165"
- client @816
- supplier @782
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 135))
- (object RoleView "annotations" @818
- Parent_View @816
- location (-32, -412)
- label (object SegLabel @819
- Parent_View @818
- location (1324, 226)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+annotations"
- pctDist -0.665428
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E457016F"
- client @816
- supplier @795
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 673)
- label (object SegLabel @820
- Parent_View @818
- location (1251, 615)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.784387
- height 67
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$206" @821
- location (1752, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E2910158"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$207" @822
- Parent_View @821
- location (536, 218)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E292019F"
- client @821
- supplier @783
- vertices (list Points
- (1752, 1034)
- (1812, 1034)
- (1812, 1161))
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1812, 1161))
- (object RoleView "annotation" @823
- Parent_View @821
- location (536, 218)
- label (object SegLabel @824
- Parent_View @823
- location (1743, 997)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.059603
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E29201A9"
- client @821
- supplier @795
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1601, 1034)
- label (object SegLabel @825
- Parent_View @823
- location (1684, 1066)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.450331
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$208" @826
- location (1896, 881)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006CF0088"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$209" @827
- Parent_View @826
- location (621, 40)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D1015D"
- client @826
- supplier @783
- vertices (list Points
- (1896, 881)
- (1956, 881)
- (1956, 1161))
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1956, 1161))
- (object RoleView "derivationAnnotation" @828
- Parent_View @826
- location (621, 40)
- label (object SegLabel @829
- Parent_View @828
- location (1821, 842)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 390
- justify 0
- label "+derivationAnnotation"
- pctDist 0.254237
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D10167"
- client @826
- supplier @795
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1601, 881)
- label (object SegLabel @830
- Parent_View @828
- location (1689, 914)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.705085
- height 33
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$210" @831
- location (2040, 715)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB330264"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$211" @832
- Parent_View @831
- location (920, -85)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB340284"
- client @831
- supplier @783
- vertices (list Points
- (2040, 715)
- (2100, 715)
- (2100, 1161))
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (2100, 1161))
- (object RoleView "annotations" @833
- Parent_View @831
- location (920, -85)
- label (object SegLabel @834
- Parent_View @833
- location (1758, 681)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.643192
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB34028E"
- client @831
- supplier @795
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (1601, 715)
- label (object SegLabel @835
- Parent_View @833
- location (1685, 746)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.809313
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$228" @836
- location (668, 865)
- stereotype TRUE
- line_color 3342489
- quidu "3C239134004F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$229" @837
- Parent_View @836
- location (-612, 33)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600CA"
- client @836
- supplier @786
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (473, 865))
- (object RoleView "annotation" @838
- Parent_View @836
- location (-612, 33)
- label (object SegLabel @839
- Parent_View @838
- location (714, 825)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.234146
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600D4"
- client @836
- supplier @795
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (863, 865)
- label (object SegLabel @840
- Parent_View @838
- location (801, 903)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.682051
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$132" @841
- location (1472, 167)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23B901CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$133" @842
- Parent_View @841
- location (256, -649)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01C4"
- client @841
- supplier @787
- vertices (list Points
- (1472, 167)
- (1472, 72)
- (1883, 72))
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1883, 72))
- (object RoleView "annotation" @843
- Parent_View @841
- location (256, -649)
- label (object SegLabel @844
- Parent_View @843
- location (1604, 129)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.076305
- height 132
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01CE"
- client @841
- supplier @795
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1472, 673)
- label (object SegLabel @845
- Parent_View @843
- location (1419, 618)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.893574
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$82" @846
- location (927, 350)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB060291"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$83" @847
- Parent_View @846
- location (-193, -450)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070171"
- client @846
- supplier @788
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (629, 350))
- (object RoleView "annotation" @848
- Parent_View @846
- location (-193, -450)
- label (object SegLabel @849
- Parent_View @848
- location (878, 310)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.816667
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070172"
- client @846
- supplier @795
- vertices (list Points
- (927, 350)
- (987, 350)
- (987, 673))
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (987, 673)
- label (object SegLabel @850
- Parent_View @848
- location (1037, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.843342
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$74" @851
- location (1027, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADC02F5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$75" @852
- Parent_View @851
- location (-93, -578)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0238"
- client @851
- supplier @789
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (563, 222))
- (object RoleView "annotation" @853
- Parent_View @851
- location (-93, -578)
- label (object SegLabel @854
- Parent_View @853
- location (1003, 188)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.406250
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0242"
- client @851
- supplier @795
- vertices (list Points
- (1027, 222)
- (1087, 222)
- (1087, 673))
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (1087, 673)
- label (object SegLabel @855
- Parent_View @853
- location (1137, 613)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 100
- justify 0
- label "0..1"
- pctDist 0.882583
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$98" @856
- location (1494, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068801C2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$99" @857
- Parent_View @856
- location (214, 590)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A0111"
- client @856
- supplier @790
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1662))
- (object RoleView "contentAnnotation" @858
- Parent_View @856
- location (214, 590)
- label (object SegLabel @859
- Parent_View @858
- location (1696, 1356)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+contentAnnotation"
- pctDist 0.367713
- height 202
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A011B"
- client @856
- supplier @795
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1215)
- label (object SegLabel @860
- Parent_View @858
- location (1443, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.713004
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$152" @861
- location (637, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1702C8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$153" @862
- Parent_View @861
- location (-483, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1803E2"
- client @861
- supplier @792
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (411, 1022))
- (object RoleView "annotation" @863
- Parent_View @861
- location (-483, 222)
- label (object SegLabel @864
- Parent_View @863
- location (710, 979)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.328889
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB190004"
- client @861
- supplier @795
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (863, 1022)
- label (object SegLabel @865
- Parent_View @863
- location (802, 1062)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.730088
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$72" @866
- location (1581, 607)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA70102"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$73" @867
- Parent_View @866
- location (301, -225)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90191"
- client @866
- supplier @793
- vertices (list Points
- (1581, 607)
- (1581, 547)
- (1679, 547))
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1679, 547))
- (object RoleView "annotations" @868
- Parent_View @866
- location (301, -225)
- label (object SegLabel @869
- Parent_View @868
- location (1669, 462)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist -2.196970
- height 88
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90192"
- client @866
- supplier @795
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1581, 673)
- label (object SegLabel @870
- Parent_View @868
- location (1539, 620)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.196970
- height 42
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$212" @871
- location (849, 1496)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB11026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$213" @872
- Parent_View @871
- location (-271, 696)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1201F9"
- client @871
- supplier @794
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (354, 1496))
- (object RoleView "annotation" @873
- Parent_View @871
- location (-271, 696)
- label (object SegLabel @874
- Parent_View @873
- location (942, 1464)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.188259
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB120203"
- client @871
- supplier @795
- vertices (list Points
- (849, 1496)
- (1062, 1496)
- (1062, 1215))
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (1062, 1215)
- label (object SegLabel @875
- Parent_View @873
- location (1115, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.872690
- height 53
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$214" @876
- location (952, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB30005"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$215" @877
- Parent_View @876
- location (-328, 733)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40327"
- client @876
- supplier @794
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (354, 1565))
- (object RoleView "annotations" @878
- Parent_View @876
- location (-328, 733)
- label (object SegLabel @879
- Parent_View @878
- location (1075, 1538)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.204959
- height 28
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40332"
- client @876
- supplier @795
- vertices (list Points
- (952, 1565)
- (1200, 1565)
- (1200, 1215))
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (1200, 1215)
- label (object SegLabel @880
- Parent_View @878
- location (1254, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))
- (object InheritView "" @881
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @777
- supplier @787
- line_style 3
- origin_attachment (1984, 249)
- terminal_attachment (1984, 135))
- (object InheritView "" @882
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @793
- supplier @777
- line_style 3
- origin_attachment (1997, 505)
- terminal_attachment (1997, 359))))
- (object ClassDiagram "6. Concrete Components"
- quid "3B6AD74D03C4"
- title "6. Concrete Components"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @883
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @883
- location (126, 375)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @884
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @884
- location (568, 375)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @885
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @885
- location (991, 631)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @886
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @886
- location (1156, 375)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @887
- location (1360, 561)
- line_color 3342489
- fill_color 13434879
- supplier @886
- vertices (list Points
- (1360, 561)
- (1360, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDInclude" @888
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1632, 1200)
- label (object ItemLabel
- Parent_View @888
- location (1512, 1157)
- fill_color 13434879
- nlines 1
- max_width 240
- justify 0
- label "XSDInclude")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C7D0250"
- width 258
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @889
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 944)
- label (object ItemLabel
- Parent_View @889
- location (1294, 901)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @890
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1200)
- label (object ItemLabel
- Parent_View @890
- location (1805, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @891
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (800, 1200)
- label (object ItemLabel
- Parent_View @891
- location (375, 1153)
- fill_color 13434879
- nlines 1
- max_width 851
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 869
- height 119
- annotation 8)
- (object AssociationViewNew "$UNNAMED$150" @892
- location (1368, 1206)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC5007E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$151" @893
- Parent_View @892
- location (1160, 406)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006B"
- client @892
- supplier @888
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1503, 1206))
- (object RoleView "annotation" @894
- Parent_View @892
- location (1160, 406)
- label (object SegLabel @895
- Parent_View @894
- location (1347, 1154)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.154412
- height 53
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006C"
- client @892
- supplier @891
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1234, 1206)
- label (object SegLabel @896
- Parent_View @894
- location (1300, 1253)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 107
- justify 0
- label "0..1"
- pctDist 0.514706
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$148" @897
- location (1168, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD802FC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$149" @898
- Parent_View @897
- location (960, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018B"
- client @897
- supplier @889
- vertices (list Points
- (1168, 1022)
- (1168, 962)
- (1285, 962))
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1285, 962))
- (object RoleView "annotation" @899
- Parent_View @897
- location (960, 222)
- label (object SegLabel @900
- Parent_View @899
- location (1290, 1075)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.445378
- height 122
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018C"
- client @897
- supplier @891
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1168, 1141)
- label (object SegLabel @901
- Parent_View @899
- location (1127, 1074)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.436975
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$170" @902
- location (1563, 1353)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE42009A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$171" @903
- Parent_View @902
- location (1355, 553)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE4302FE"
- client @902
- supplier @890
- vertices (list Points
- (1563, 1353)
- (1940, 1353)
- (1940, 1255))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1940, 1255))
- (object RoleView "annotations" @904
- Parent_View @902
- location (1355, 553)
- label (object SegLabel @905
- Parent_View @904
- location (1317, 1322)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.516807
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE430308"
- client @902
- supplier @891
- vertices (list Points
- (1563, 1353)
- (1181, 1353)
- (1181, 1259))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1181, 1259)
- label (object SegLabel @906
- Parent_View @904
- location (1130, 1326)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.861345
- height 52
- orientation 0))))
- (object InheritTreeView "" @907
- location (288, 561)
- line_color 3342489
- fill_color 13434879
- supplier @883
- vertices (list Points
- (288, 561)
- (288, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @908
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @908
- location (460, 631)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @909
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1856, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @909
- location (1658, 375)
- fill_color 13434879
- nlines 1
- max_width 396
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 414
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @910
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 960)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @910
- location (450, 919)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @911
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (224, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @911
- location (110, 631)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @912
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @911
- supplier @883
- line_style 3
- origin_attachment (221, 617)
- terminal_attachment (221, 561)
- drawSupplier @907)
- (object InheritView "" @913
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @908
- supplier @883
- line_style 3
- origin_attachment (589, 617)
- terminal_attachment (589, 561)
- drawSupplier @907)
- (object InheritView "" @914
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @885
- supplier @886
- line_style 3
- origin_attachment (1016, 617)
- terminal_attachment (1016, 561)
- drawSupplier @887)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @915
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @915
- location (1590, 903)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 486
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @916
- location (1824, 1089)
- line_color 3342489
- fill_color 13434879
- supplier @915
- vertices (list Points
- (1824, 1089)
- (1824, 999)))
- (object InheritView "" @917
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8DC0381"
- client @888
- supplier @915
- line_style 3
- origin_attachment (1666, 1145)
- terminal_attachment (1666, 1089)
- drawSupplier @916)
- (object InheritView "" @918
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @890
- supplier @915
- line_style 3
- origin_attachment (1934, 1145)
- terminal_attachment (1934, 1089)
- drawSupplier @916)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @919
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @919
- location (1630, 631)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 438
- height 110
- annotation 8)
- (object InheritTreeView "" @920
- location (1762, 819)
- line_color 3342489
- fill_color 13434879
- supplier @919
- vertices (list Points
- (1762, 819)
- (1762, 727)))
- (object InheritView "" @921
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @889
- supplier @919
- line_style 3
- origin_attachment (1416, 889)
- terminal_attachment (1416, 819)
- drawSupplier @920)
- (object InheritView "" @922
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @919
- supplier @886
- line_style 3
- origin_attachment (1756, 617)
- terminal_attachment (1756, 561)
- drawSupplier @887)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @923
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1120, 144)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @923
- location (875, 103)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 508
- height 110
- annotation 8)
- (object InheritTreeView "" @924
- location (1120, 289)
- line_color 3342489
- fill_color 13434879
- supplier @923
- vertices (list Points
- (1120, 289)
- (1120, 199)))
- (object AssociationViewNew "$UNNAMED$112" @925
- location (1485, 215)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0803C7"
- roleview_list (list RoleViews
- (object RoleView "container" @926
- Parent_View @925
- location (989, 103)
- label (object SegLabel @927
- Parent_View @926
- location (1604, 210)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+container"
- pctDist 0.033113
- height 119
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CE"
- client @925
- supplier @923
- vertices (list Points
- (1485, 215)
- (1485, 176)
- (1374, 176))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1374, 176)
- label (object SegLabel @928
- Parent_View @926
- location (1435, 226)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 69
- justify 0
- label "0..1"
- pctDist 0.602649
- height 50
- orientation 0))
- (object RoleView "$UNNAMED$113" @929
- Parent_View @925
- location (989, 103)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CF"
- client @925
- supplier @923
- vertices (list Points
- (1485, 215)
- (1485, 254)
- (1345, 254)
- (1345, 199))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1345, 199))))
- (object AssociationViewNew "$UNNAMED$114" @930
- location (773, 216)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B480261"
- roleview_list (list RoleViews
- (object RoleView "rootContainer" @931
- Parent_View @930
- location (53, 104)
- label (object SegLabel @932
- Parent_View @931
- location (614, 217)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+rootContainer"
- pctDist -0.025000
- height 160
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0285"
- client @930
- supplier @923
- vertices (list Points
- (773, 216)
- (773, 176)
- (866, 176))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (866, 176)
- label (object SegLabel @933
- Parent_View @931
- location (800, 228)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.300000
- height 27
- orientation 1))
- (object RoleView "$UNNAMED$115" @934
- Parent_View @930
- location (53, 104)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0286"
- client @930
- supplier @923
- vertices (list Points
- (773, 216)
- (773, 257)
- (895, 257)
- (895, 199))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (895, 199))))
- (object InheritView "" @935
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @886
- supplier @923
- line_style 3
- origin_attachment (1367, 361)
- terminal_attachment (1367, 289)
- drawSupplier @924)
- (object InheritView "" @936
- stereotype TRUE
- line_color 3342489
- quidu "3B72D8E200EA"
- client @884
- supplier @923
- line_style 3
- origin_attachment (752, 361)
- terminal_attachment (752, 289)
- drawSupplier @924)
- (object InheritView "" @937
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @883
- supplier @923
- line_style 3
- origin_attachment (299, 361)
- terminal_attachment (299, 289)
- drawSupplier @924)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @938
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 1200)
- label (object ItemLabel
- Parent_View @938
- location (61, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @939
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @938
- supplier @911
- line_style 3
- origin_attachment (216, 1145)
- terminal_attachment (216, 727))
- (object AssociationViewNew "$UNNAMED$226" @940
- location (1382, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$227" @941
- Parent_View @940
- location (1190, 225)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @940
- supplier @915
- vertices (list Points
- (1382, 1425)
- (2147, 1425)
- (2147, 943)
- (2067, 943))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (2067, 943))
- (object RoleView "incorporatedSchema" @942
- Parent_View @940
- location (1190, 225)
- label (object SegLabel @943
- Parent_View @942
- location (445, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.706546
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @940
- supplier @938
- vertices (list Points
- (1382, 1425)
- (225, 1425)
- (225, 1255))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (225, 1255)
- label (object SegLabel @944
- Parent_View @942
- location (183, 1392)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.896915
- height 43
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$224" @945
- location (1505, 1503)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$225" @946
- Parent_View @945
- location (1313, 303)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @945
- supplier @919
- vertices (list Points
- (1505, 1503)
- (2188, 1503)
- (2188, 675)
- (2059, 675))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (2059, 675))
- (object RoleView "resolvedSchema" @947
- Parent_View @945
- location (1313, 303)
- label (object SegLabel @948
- Parent_View @947
- location (303, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.733333
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @945
- supplier @938
- vertices (list Points
- (1505, 1503)
- (113, 1503)
- (113, 1255))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (113, 1255)
- label (object SegLabel @949
- Parent_View @947
- location (73, 1472)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.867683
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$116" @950
- location (66, 244)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C310356"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$117" @951
- Parent_View @950
- location (-94, -444)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C330331"
- client @950
- supplier @923
- vertices (list Points
- (66, 244)
- (66, 144)
- (866, 144))
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (866, 144))
- (object RoleView "schema" @952
- Parent_View @950
- location (-94, -444)
- label (object SegLabel @953
- Parent_View @952
- location (165, 93)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist -0.168113
- height 99
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C33033B"
- client @950
- supplier @938
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (66, 1145)
- label (object SegLabel @954
- Parent_View @952
- location (136, 184)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 113
- justify 0
- label "0..1"
- pctDist -0.066593
- height 70
- orientation 0))))
- (object InheritView "" @955
- stereotype TRUE
- line_color 3342489
- quidu "3B780BD90059"
- client @909
- supplier @923
- line_style 3
- origin_attachment (1759, 361)
- terminal_attachment (1759, 289)
- drawSupplier @924)
- (object InheritView "" @956
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @891
- supplier @883
- line_style 3
- origin_attachment (400, 1141)
- terminal_attachment (400, 561)
- drawSupplier @907)
- (object InheritTreeView "" @957
- location (1012, 837)
- line_color 3342489
- fill_color 13434879
- supplier @885
- vertices (list Points
- (1012, 837)
- (1012, 727)))
- (object InheritView "" @958
- stereotype (object SegLabel @959
- Parent_View @958
- location (1071, 871)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.888158
- height 34
- orientation 1)
- line_color 3342489
- quidu "3B7FD4E20366"
- client @891
- supplier @885
- line_style 3
- origin_attachment (1037, 1141)
- terminal_attachment (1037, 837)
- drawSupplier @957)
- (object InheritView "" @960
- stereotype (object SegLabel @961
- Parent_View @960
- location (890, 865)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 263
- justify 0
- label "<<mixin>>"
- pctDist 0.581633
- height 36
- orientation 0)
- line_color 3342489
- quidu "3B7FD4BA023C"
- client @910
- supplier @885
- line_style 3
- origin_attachment (925, 905)
- terminal_attachment (925, 837)
- drawSupplier @957)
- (object InheritView "" @962
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @915
- supplier @919
- line_style 3
- origin_attachment (1828, 889)
- terminal_attachment (1828, 819)
- drawSupplier @920)))
- (object ClassDiagram "7. Concrete Attributes"
- quid "3B9F8F7602C7"
- title "7. Concrete Attributes"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @963
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @963
- location (1938, 1361)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @963
- location (1938, 1427)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 382
- compartmentItems (list Compartment
- "+ form : XSDForm"
- "+ lexicalValue : String"))
- width 430
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDForm" @964
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2560, 1424)
- label (object ItemLabel
- Parent_View @964
- location (2398, 1365)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDForm")
- stereotype (object ItemLabel
- Parent_View @964
- location (2398, 1315)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B9F913B01EB"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @965
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 96)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @965
- location (40, 39)
- fill_color 13434879
- nlines 1
- max_width 657
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- compartment (object Compartment
- Parent_View @965
- location (40, 105)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 446
- compartmentItems (list Compartment
- "+ element : DOMElement"))
- width 675
- height 143
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @966
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @966
- location (687, 335)
- fill_color 13434879
- nlines 1
- max_width 322
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 340
- height 126
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @967
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @967
- location (1678, 894)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 470
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @968
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 1408)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @968
- location (1328, 1358)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @969
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (864, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @969
- location (745, 575)
- fill_color 13434879
- nlines 1
- max_width 238
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 256
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @970
- location (850, 537)
- line_color 3342489
- fill_color 13434879
- supplier @966
- vertices (list Points
- (850, 537)
- (850, 447)))
- (object ClassView "Class" "Logical View::xsd::DOMElement" @971
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1248, 128)
- label (object ItemLabel
- Parent_View @971
- location (873, 90)
- fill_color 13434879
- nlines 1
- max_width 751
- justify 0
- label "DOMElement")
- stereotype (object ItemLabel
- Parent_View @971
- location (873, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 751
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3B8189790200"
- width 769
- height 200
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @972
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 640)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @972
- location (41, 586)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 512
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @973
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @973
- location (38, 335)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 422
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @974
- location (368, 263)
- line_color 3342489
- fill_color 13434879
- supplier @965
- vertices (list Points
- (368, 263)
- (368, 167)))
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @975
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (992, 1456)
- label (object ItemLabel
- Parent_View @975
- location (723, 1347)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @975
- location (723, 1297)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @975
- location (723, 1407)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 225
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"
- "+ all"))
- width 556
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @976
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (880, 1792)
- label (object ItemLabel
- Parent_View @976
- location (614, 1708)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @976
- location (614, 1658)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @976
- location (614, 1768)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 198
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"
- "+ all"))
- width 550
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @977
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 2096)
- label (object ItemLabel
- Parent_View @977
- location (532, 2040)
- fill_color 13434879
- nlines 1
- max_width 760
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @977
- location (532, 2100)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 723
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDSimpleFinal"))
- width 778
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @978
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @978
- location (45, 1875)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @978
- location (45, 1825)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- width 344
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @979
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2544, 2016)
- label (object ItemLabel
- Parent_View @979
- location (2362, 1932)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @979
- location (2362, 1882)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- width 382
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @980
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1360)
- label (object ItemLabel
- Parent_View @980
- location (41, 1279)
- fill_color 13434879
- nlines 1
- max_width 622
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @980
- location (41, 1339)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 588
- compartmentItems (list Compartment
- "+ use : XSDAttributeUseCategory"
- "+ lexicalValue : String"))
- width 640
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUseCategory" @981
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1632)
- label (object ItemLabel
- Parent_View @981
- location (41, 1548)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDAttributeUseCategory")
- stereotype (object ItemLabel
- Parent_View @981
- location (41, 1498)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 494
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BA7B0E801A8"
- width 512
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @982
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2608, 928)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @982
- location (2498, 883)
- fill_color 13434879
- nlines 1
- max_width 220
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 238
- height 119
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @983
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2240, 1712)
- label (object ItemLabel
- Parent_View @983
- location (1757, 1631)
- fill_color 13434879
- nlines 1
- max_width 966
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @983
- location (1757, 1691)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 934
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDProhibitedSubstitutions"
- "<<0..*>> + block : XSDDisallowedSubstitutions"))
- width 984
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @984
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 1152)
- label (object ItemLabel
- Parent_View @984
- location (1828, 1096)
- fill_color 13434879
- nlines 1
- max_width 888
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @984
- location (1828, 1156)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 852
- compartmentItems (list Compartment
- "<<0..*>> + lexicalNamespaceConstraint : String"))
- width 906
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @985
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1008)
- label (object ItemLabel
- Parent_View @985
- location (622, 777)
- fill_color 13434879
- nlines 1
- max_width 996
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 1014
- height 486
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @986
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 960)
- label (object ItemLabel
- Parent_View @986
- location (37, 904)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 424
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @987
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1344, 656)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @987
- location (1138, 602)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @987
- location (1138, 668)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 378
- compartmentItems (list Compartment
- "+ lexicalValue : String"))
- width 430
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @988
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @988
- location (1410, 1942)
- fill_color 13434879
- nlines 1
- max_width 860
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @988
- location (1410, 2002)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 822
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDComplexFinal"
- "<<0..*>> + block : XSDProhibitedSubstitutions"
- "+ mixed : boolean"))
- width 878
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @989
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1488, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @989
- location (1304, 1646)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @990
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @989
- supplier @968
- line_style 3
- origin_attachment (1506, 1632)
- terminal_attachment (1506, 1472))
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @991
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2208, 704)
- label (object ItemLabel
- Parent_View @991
- location (1758, 598)
- fill_color 13434879
- nlines 1
- max_width 900
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 918
- height 236
- annotation 8
- autoResize TRUE)
- (object InheritView "" @992
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @982
- supplier @966
- line_style 3
- origin_attachment (2696, 869)
- terminal_attachment (2696, 537)
- drawSupplier @970)
- (object InheritView "" @993
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @983
- supplier @963
- line_style 3
- origin_attachment (2094, 1619)
- terminal_attachment (2094, 1533))
- (object InheritTreeView "" @994
- location (1487, 1856)
- line_color 3342489
- fill_color 13434879
- supplier @989
- vertices (list Points
- (1487, 1856)
- (1487, 1760)))
- (object ClassView "Class" "Logical View::xsd::DOMAttr" @995
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2400, 384)
- label (object ItemLabel
- Parent_View @995
- location (2080, 350)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "DOMAttr")
- stereotype (object ItemLabel
- Parent_View @995
- location (2080, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 640
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BBF8C8901B6"
- width 658
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @996
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @988
- supplier @989
- line_style 3
- origin_attachment (1734, 1930)
- terminal_attachment (1734, 1856)
- drawSupplier @994)
- (object InheritView "" @997
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @987
- supplier @966
- line_style 3
- origin_attachment (1328, 588)
- terminal_attachment (1328, 537)
- drawSupplier @970)
- (object InheritView "" @998
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @991
- supplier @966
- line_style 3
- origin_attachment (2190, 586)
- terminal_attachment (2190, 537)
- drawSupplier @970)
- (object InheritView "" @999
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @972
- supplier @973
- line_style 3
- origin_attachment (222, 572)
- terminal_attachment (222, 447))
- (object InheritView "" @1000
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @973
- supplier @965
- line_style 3
- origin_attachment (260, 321)
- terminal_attachment (260, 263)
- drawSupplier @974)
- (object InheritView "" @1001
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @986
- supplier @972
- line_style 3
- origin_attachment (223, 892)
- terminal_attachment (223, 708))
- (object InheritView "" @1002
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @984
- supplier @982
- line_style 3
- origin_attachment (2600, 1084)
- terminal_attachment (2600, 987))
- (object ClassView "Class" "Logical View::xsd::DOMDocument" @1003
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2336, 128)
- label (object ItemLabel
- Parent_View @1003
- location (1957, 94)
- fill_color 13434879
- nlines 1
- max_width 758
- justify 0
- label "DOMDocument")
- stereotype (object ItemLabel
- Parent_View @1003
- location (1957, 44)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 758
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C27850E0381"
- width 776
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @1004
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @966
- supplier @965
- line_style 3
- origin_attachment (856, 321)
- terminal_attachment (856, 263)
- drawSupplier @974)
- (object ClassView "Class" "Logical View::xsd::DOMNode" @1005
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 384)
- label (object ItemLabel
- Parent_View @1005
- location (1234, 350)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @1005
- location (1234, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @1006
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @969
- supplier @966
- line_style 3
- origin_attachment (850, 561)
- terminal_attachment (850, 537)
- drawSupplier @970)
- (object InheritView "" @1007
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @980
- supplier @966
- line_style 3
- origin_attachment (575, 1267)
- terminal_attachment (575, 537)
- drawSupplier @970)
- (object InheritView "" @1008
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @967
- supplier @966
- line_style 3
- origin_attachment (1694, 880)
- terminal_attachment (1694, 537)
- drawSupplier @970)
- (object InheritView "" @1009
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @985
- supplier @969
- line_style 3
- origin_attachment (856, 765)
- terminal_attachment (856, 687))
- (object InheritTreeView "" @1010
- location (1703, 1290)
- line_color 3342489
- fill_color 13434879
- supplier @967
- vertices (list Points
- (1703, 1290)
- (1703, 1008)))
- (object InheritView "" @1011
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @968
- supplier @967
- line_style 3
- origin_attachment (1503, 1344)
- terminal_attachment (1503, 1290)
- drawSupplier @1010)
- (object InheritView "" @1012
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @963
- supplier @967
- line_style 3
- origin_attachment (2093, 1347)
- terminal_attachment (2093, 1290)
- drawSupplier @1010)
- (object InheritView "" @1013
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @977
- supplier @989
- line_style 3
- origin_attachment (1253, 2028)
- terminal_attachment (1253, 1856)
- drawSupplier @994)))
- (object ClassDiagram "8. Concrete Containment"
- quid "3B6A8097027A"
- title "8. Concrete Containment"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @1014
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2672, 992)
- label (object ItemLabel
- Parent_View @1014
- location (2439, 949)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @1015
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2640, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1015
- location (2431, 535)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @1016
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 784)
- label (object ItemLabel
- Parent_View @1016
- location (2013, 741)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @1017
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1017
- location (1854, 535)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 438
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1018
- location (1943, 868)
- line_color 3342489
- fill_color 13434879
- supplier @1017
- vertices (list Points
- (1943, 868)
- (1943, 631)))
- (object AssociationViewNew "$UNNAMED$172" @1019
- location (2125, 680)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE8240051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$173" @1020
- Parent_View @1019
- location (157, 344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602AD"
- client @1019
- supplier @1016
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 729))
- (object RoleView "contents" @1021
- Parent_View @1019
- location (157, 344)
- label (object SegLabel @1022
- Parent_View @1021
- location (2255, 671)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.175439
- height 130
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602B7"
- client @1019
- supplier @1017
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 631)
- label (object SegLabel @1023
- Parent_View @1021
- location (2067, 671)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.175439
- height 59
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @1024
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1024
- location (148, 279)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @1025
- location (272, 465)
- line_color 3342489
- fill_color 13434879
- supplier @1024
- vertices (list Points
- (272, 465)
- (272, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1026
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1168)
- label (object ItemLabel
- Parent_View @1026
- location (2372, 1121)
- fill_color 13434879
- nlines 1
- max_width 569
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 587
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @1027
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 576)
- label (object ItemLabel
- Parent_View @1027
- location (89, 533)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$160" @1028
- location (1170, 1356)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "modelGroup" @1029
- Parent_View @1028
- location (866, -20)
- label (object SegLabel @1030
- Parent_View @1029
- location (269, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.534044
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @1028
- supplier @1027
- vertices (list Points
- (1170, 1356)
- (206, 1356)
- (206, 631))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (206, 631)
- label (object SegLabel @1031
- Parent_View @1029
- location (226, 1322)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.559146
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$161" @1032
- Parent_View @1028
- location (866, -20)
- label (object SegLabel @1033
- Parent_View @1032
- location (2521, 1398)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @1028
- supplier @1026
- vertices (list Points
- (1170, 1356)
- (2731, 1356)
- (2731, 1227))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (2731, 1227))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1034
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (160, 1696)
- label (object ItemLabel
- Parent_View @1034
- location (35, 1653)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$154" @1035
- location (122, 1136)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB102F8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$155" @1036
- Parent_View @1035
- location (-630, -256)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB6001B"
- client @1035
- supplier @1027
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 631))
- (object RoleView "contents" @1037
- Parent_View @1035
- location (-630, -256)
- label (object SegLabel @1038
- Parent_View @1037
- location (223, 1515)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.750495
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB60025"
- client @1035
- supplier @1034
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 1641)
- label (object SegLabel @1039
- Parent_View @1037
- location (180, 1581)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.881188
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @1040
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1040
- location (41, 44)
- fill_color 13434879
- nlines 1
- max_width 495
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 513
- height 100
- annotation 8)
- (object AssociationViewNew "$UNNAMED$166" @1041
- location (47, 885)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B47150119"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$167" @1042
- Parent_View @1041
- location (-289, 821)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03AB"
- client @1041
- supplier @1034
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 1641))
- (object RoleView "content" @1043
- Parent_View @1041
- location (-289, 821)
- label (object SegLabel @1044
- Parent_View @1043
- location (142, 189)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.921854
- height 95
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03B5"
- client @1041
- supplier @1040
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 130)
- label (object SegLabel @1045
- Parent_View @1043
- location (28, 192)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.917881
- height 19
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @1046
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 896)
- label (object ItemLabel
- Parent_View @1046
- location (1252, 849)
- fill_color 13434879
- nlines 1
- max_width 345
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 363
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1047
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1408, 1168)
- label (object ItemLabel
- Parent_View @1047
- location (1175, 1125)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$96" @1048
- location (1319, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DE9018A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$97" @1049
- Parent_View @1048
- location (-57, -102)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA036C"
- client @1048
- supplier @1046
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 955))
- (object RoleView "content" @1050
- Parent_View @1048
- location (-57, -102)
- label (object SegLabel @1051
- Parent_View @1050
- location (1439, 1039)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.073171
- height 120
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA0380"
- client @1048
- supplier @1047
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 1113)
- label (object SegLabel @1052
- Parent_View @1050
- location (1279, 1031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.040816
- height 41
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @1053
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1053
- location (1855, 1655)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1054
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1696)
- label (object ItemLabel
- Parent_View @1054
- location (1035, 1653)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$192" @1055
- location (1351, 1840)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA50112"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$193" @1056
- Parent_View @1055
- location (-297, 224)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703B4"
- client @1055
- supplier @1054
- vertices (list Points
- (1351, 1840)
- (1294, 1840)
- (1294, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1294, 1751))
- (object RoleView "contents" @1057
- Parent_View @1055
- location (-297, 224)
- label (object SegLabel @1058
- Parent_View @1057
- location (1517, 1806)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.632653
- height 108
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703C8"
- client @1055
- supplier @1054
- vertices (list Points
- (1351, 1840)
- (1409, 1840)
- (1409, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1409, 1751)
- label (object SegLabel @1059
- Parent_View @1057
- location (1361, 1801)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.072848
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$76" @1060
- location (1190, 1432)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6006F"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1061
- Parent_View @1060
- location (774, -1832)
- label (object SegLabel @1062
- Parent_View @1061
- location (1462, 1525)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.444976
- height 272
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D60318"
- client @1060
- supplier @1054
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1641)
- label (object SegLabel @1063
- Parent_View @1061
- location (1143, 1527)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.454545
- height 47
- orientation 1))
- (object RoleView "$UNNAMED$77" @1064
- Parent_View @1060
- location (774, -1832)
- label (object SegLabel @1065
- Parent_View @1064
- location (1149, 1266)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6030E"
- client @1060
- supplier @1047
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1223))))
- (object AssociationViewNew "$UNNAMED$194" @1066
- location (1690, 1684)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AD0374"
- roleview_list (list RoleViews
- (object RoleView "facetContents" @1067
- Parent_View @1066
- location (-326, -12)
- label (object SegLabel @1068
- Parent_View @1067
- location (1695, 1731)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+facetContents"
- pctDist 0.032051
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0010"
- client @1066
- supplier @1053
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1846, 1684)
- label (object SegLabel @1069
- Parent_View @1067
- location (1756, 1644)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 94
- justify 0
- label "0..*"
- pctDist 0.420732
- height 41
- orientation 0))
- (object RoleView "$UNNAMED$195" @1070
- Parent_View @1066
- location (-326, -12)
- label (object SegLabel @1071
- Parent_View @1070
- location (1566, 1643)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0006"
- client @1066
- supplier @1054
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1534, 1684))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1072
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2624, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1072
- location (2388, 743)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @1073
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1073
- location (1108, 279)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1074
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 320)
- label (object ItemLabel
- Parent_View @1074
- location (557, 277)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$174" @1075
- location (963, 319)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6B003D"
- roleview_list (list RoleViews
- (object RoleView "contents" @1076
- Parent_View @1075
- location (595, -17)
- label (object SegLabel @1077
- Parent_View @1076
- location (974, 361)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.081081
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0111"
- client @1075
- supplier @1073
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (1099, 319)
- label (object SegLabel @1078
- Parent_View @1076
- location (1016, 290)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.396396
- height 30
- orientation 0))
- (object RoleView "$UNNAMED$175" @1079
- Parent_View @1075
- location (595, -17)
- label (object SegLabel @1080
- Parent_View @1079
- location (855, 361)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0107"
- client @1075
- supplier @1074
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (828, 319))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1081
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2160, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1081
- location (1974, 951)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object InheritTreeView "" @1082
- location (2322, 1593)
- line_color 3342489
- fill_color 13434879
- supplier @1081
- vertices (list Points
- (2322, 1593)
- (2322, 1047)))
- (object InheritView "" @1083
- stereotype (object SegLabel @1084
- Parent_View @1083
- location (2146, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.460000
- height 5
- orientation 0)
- line_color 3342489
- quidu "3B6AE2F5013A"
- client @1081
- supplier @1017
- line_style 3
- origin_attachment (2150, 937)
- terminal_attachment (2150, 868)
- drawSupplier @1018)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1085
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 576)
- label (object ItemLabel
- Parent_View @1085
- location (510, 532)
- fill_color 13434879
- nlines 1
- max_width 644
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 662
- height 112
- annotation 8)
- (object AssociationViewNew "$UNNAMED$120" @1086
- location (1498, 1431)
- stereotype TRUE
- line_color 3342489
- quidu "3B68911401AF"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1087
- Parent_View @1086
- location (1038, -1810)
- label (object SegLabel @1088
- Parent_View @1087
- location (2027, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.454389
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150017"
- client @1086
- supplier @1081
- vertices (list Points
- (1498, 1431)
- (2281, 1431)
- (2281, 1047))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (2281, 1047)
- label (object SegLabel @1089
- Parent_View @1087
- location (2204, 1397)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.605419
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$121" @1090
- Parent_View @1086
- location (1038, -1810)
- label (object SegLabel @1091
- Parent_View @1090
- location (1090, 866)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150016"
- client @1086
- supplier @1085
- vertices (list Points
- (1498, 1431)
- (1131, 1431)
- (1131, 632))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (1131, 632))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @1092
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 1168)
- label (object ItemLabel
- Parent_View @1092
- location (655, 1125)
- fill_color 13434879
- nlines 1
- max_width 386
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 404
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @1093
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 896)
- label (object ItemLabel
- Parent_View @1093
- location (505, 853)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$124" @1094
- location (534, 736)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "identityConstraintDefinitions" @1095
- Parent_View @1094
- location (86, -2144)
- label (object SegLabel @1096
- Parent_View @1095
- location (820, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 550
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.111111
- height 286
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @1094
- supplier @1093
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 841)
- label (object SegLabel @1097
- Parent_View @1095
- location (595, 807)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.675926
- height 61
- orientation 0))
- (object RoleView "$UNNAMED$125" @1098
- Parent_View @1094
- location (86, -2144)
- label (object SegLabel @1099
- Parent_View @1098
- location (576, 653)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @1094
- supplier @1085
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 632))))
- (object AssociationViewNew "$UNNAMED$144" @1100
- location (900, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "selector" @1101
- Parent_View @1100
- location (84, 120)
- label (object SegLabel @1102
- Parent_View @1101
- location (1013, 1042)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.123288
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @1100
- supplier @1092
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 1113)
- label (object SegLabel @1103
- Parent_View @1101
- location (859, 1040)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.095890
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$145" @1104
- Parent_View @1100
- location (84, 120)
- label (object SegLabel @1105
- Parent_View @1104
- location (859, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @1100
- supplier @1093
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 951))))
- (object AssociationViewNew "$UNNAMED$146" @1106
- location (700, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "fields" @1107
- Parent_View @1106
- location (-116, 120)
- label (object SegLabel @1108
- Parent_View @1107
- location (616, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.054795
- height 85
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @1106
- supplier @1092
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 1113)
- label (object SegLabel @1109
- Parent_View @1107
- location (771, 1042)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.123077
- height 71
- orientation 0))
- (object RoleView "$UNNAMED$147" @1110
- Parent_View @1106
- location (-116, 120)
- label (object SegLabel @1111
- Parent_View @1110
- location (659, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @1106
- supplier @1093
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 951))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @1112
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1112
- location (500, 1399)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @1113
- location (550, 1590)
- line_color 3342489
- fill_color 13434879
- supplier @1112
- vertices (list Points
- (550, 1590)
- (550, 1495)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @1114
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1114
- location (1240, 535)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8)
- (object InheritTreeView "" @1115
- location (1406, 765)
- line_color 3342489
- fill_color 13434879
- supplier @1114
- vertices (list Points
- (1406, 765)
- (1406, 631)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1116
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1696)
- label (object ItemLabel
- Parent_View @1116
- location (2393, 1653)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$102" @1117
- location (1614, 1868)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDD70113"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$103" @1118
- Parent_View @1117
- location (526, 476)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA026B"
- client @1117
- supplier @1116
- vertices (list Points
- (1614, 1868)
- (2500, 1868)
- (2500, 1751))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (2500, 1751))
- (object RoleView "content" @1119
- Parent_View @1117
- location (526, 476)
- label (object SegLabel @1120
- Parent_View @1119
- location (896, 1787)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.709870
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA0275"
- client @1117
- supplier @1112
- vertices (list Points
- (1614, 1868)
- (984, 1868)
- (984, 1495))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (984, 1495)
- label (object SegLabel @1121
- Parent_View @1119
- location (1042, 1824)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.571286
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$108" @1122
- location (2927, 387)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E360386"
- roleview_list (list RoleViews
- (object RoleView "attributeContents" @1123
- Parent_View @1122
- location (2463, -3757)
- label (object SegLabel @1124
- Parent_View @1123
- location (1915, 357)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeContents"
- pctDist 0.773060
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E38007C"
- client @1122
- supplier @1114
- vertices (list Points
- (2927, 387)
- (1750, 387)
- (1750, 521))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (1750, 521)
- label (object SegLabel @1125
- Parent_View @1123
- location (1804, 425)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.857247
- height 38
- orientation 0))
- (object RoleView "$UNNAMED$109" @1126
- Parent_View @1122
- location (2463, -3757)
- label (object SegLabel @1127
- Parent_View @1126
- location (2946, 1448)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E380072"
- client @1122
- supplier @1116
- vertices (list Points
- (2927, 387)
- (2987, 387)
- (2987, 1671)
- (2928, 1671))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (2928, 1671))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1128
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1968, 1168)
- label (object ItemLabel
- Parent_View @1128
- location (1699, 1125)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$84" @1129
- location (1750, 872)
- stereotype TRUE
- line_color 3342489
- quidu "3B69404E0067"
- roleview_list (list RoleViews
- (object RoleView "contents" @1130
- Parent_View @1129
- location (1462, -2392)
- label (object SegLabel @1131
- Parent_View @1130
- location (1640, 691)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.751037
- height 110
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69405002A5"
- client @1129
- supplier @1114
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 631)
- label (object SegLabel @1132
- Parent_View @1130
- location (1814, 695)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.734440
- height 64
- orientation 1))
- (object RoleView "$UNNAMED$85" @1133
- Parent_View @1129
- location (1462, -2392)
- label (object SegLabel @1134
- Parent_View @1133
- location (1709, 1065)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B694050029B"
- client @1129
- supplier @1128
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 1113))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1135
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (416, 1168)
- label (object ItemLabel
- Parent_View @1135
- location (279, 1125)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$216" @1136
- location (1252, 1896)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC870247"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$217" @1137
- Parent_View @1136
- location (708, 1288)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C02F9"
- client @1136
- supplier @1116
- vertices (list Points
- (1252, 1896)
- (2603, 1896)
- (2603, 1751))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (2603, 1751))
- (object RoleView "attributeWildcardContent" @1138
- Parent_View @1136
- location (708, 1288)
- label (object SegLabel @1139
- Parent_View @1138
- location (682, 1858)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.381142
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C0303"
- client @1136
- supplier @1135
- vertices (list Points
- (1252, 1896)
- (428, 1896)
- (428, 1223))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (428, 1223)
- label (object SegLabel @1140
- Parent_View @1138
- location (382, 1860)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.575033
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$88" @1141
- location (1199, 1321)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D320220"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$89" @1142
- Parent_View @1141
- location (655, 713)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010C"
- client @1141
- supplier @1128
- vertices (list Points
- (1199, 1321)
- (1897, 1321)
- (1897, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (1897, 1223))
- (object RoleView "attributeWildcardContent" @1143
- Parent_View @1141
- location (655, 713)
- label (object SegLabel @1144
- Parent_View @1143
- location (857, 1279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.429569
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010D"
- client @1141
- supplier @1135
- vertices (list Points
- (1199, 1321)
- (500, 1321)
- (500, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (500, 1223)
- label (object SegLabel @1145
- Parent_View @1143
- location (576, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.782305
- height 43
- orientation 1))))
- (object InheritView "" @1146
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1116
- supplier @1081
- line_style 3
- origin_attachment (2606, 1641)
- terminal_attachment (2606, 1593)
- drawSupplier @1082)
- (object InheritView "" @1147
- stereotype (object SegLabel @1148
- Parent_View @1147
- location (759, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.446429
- height 6
- orientation 1)
- line_color 3342489
- quidu "3B685F17002E"
- client @1085
- supplier @1024
- line_style 3
- origin_attachment (753, 520)
- terminal_attachment (753, 465)
- drawSupplier @1025)
- (object InheritView "" @1149
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1054
- supplier @1081
- line_style 3
- origin_attachment (1409, 1641)
- terminal_attachment (1409, 1593)
- drawSupplier @1082)
- (object InheritView "" @1150
- stereotype (object SegLabel @1151
- Parent_View @1150
- location (759, 1591)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 219
- justify 0
- label "<<mixin>>"
- pctDist 0.980392
- height 385
- orientation 0)
- line_color 3342489
- quidu "3B685F55032B"
- client @1054
- supplier @1112
- line_style 3
- origin_attachment (1144, 1641)
- terminal_attachment (1144, 1590)
- drawSupplier @1113)
- (object InheritView "" @1152
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @1027
- supplier @1024
- line_style 3
- origin_attachment (166, 521)
- terminal_attachment (166, 465)
- drawSupplier @1025)
- (object InheritTreeView "" @1153
- location (431, 222)
- line_color 3342489
- fill_color 13434879
- supplier @1040
- vertices (list Points
- (431, 222)
- (431, 130)))
- (object InheritView "" @1154
- stereotype (object SegLabel @1155
- Parent_View @1154
- location (361, 224)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 237
- justify 0
- label "<<mixin>>"
- pctDist 0.976744
- height 86
- orientation 1)
- line_color 3342489
- quidu "3B6BD2440069"
- client @1024
- supplier @1040
- line_style 3
- origin_attachment (275, 265)
- terminal_attachment (275, 222)
- drawSupplier @1153)
- (object InheritTreeView "" @1156
- location (1309, 465)
- line_color 3342489
- fill_color 13434879
- supplier @1073
- vertices (list Points
- (1309, 465)
- (1309, 375)))
- (object InheritView "" @1157
- stereotype (object SegLabel @1158
- Parent_View @1157
- location (941, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.464286
- height 10
- orientation 1)
- line_color 3342489
- quidu "3B688E660339"
- client @1085
- supplier @1073
- line_style 3
- origin_attachment (931, 520)
- terminal_attachment (931, 465)
- drawSupplier @1156)
- (object InheritView "" @1159
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @1034
- supplier @1112
- line_style 3
- origin_attachment (250, 1641)
- terminal_attachment (250, 1590)
- drawSupplier @1113)
- (object InheritView "" @1160
- stereotype (object SegLabel @1161
- Parent_View @1160
- location (1205, 493)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.958333
- height 8
- orientation 1)
- line_color 3342489
- quidu "3B688E6103BE"
- client @1047
- supplier @1073
- line_style 3
- origin_attachment (1197, 1113)
- terminal_attachment (1197, 465)
- drawSupplier @1156)
- (object InheritView "" @1162
- stereotype (object SegLabel @1163
- Parent_View @1162
- location (1951, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.848980
- height 73
- orientation 1)
- line_color 3342489
- quidu "3B6AE2EB02A8"
- client @1128
- supplier @1017
- line_style 3
- origin_attachment (1878, 1113)
- terminal_attachment (1878, 868)
- drawSupplier @1018)
- (object InheritView "" @1164
- stereotype (object SegLabel @1165
- Parent_View @1164
- location (1642, 807)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.879310
- height 61
- orientation 0)
- line_color 3342489
- quidu "3B69403A0221"
- client @1128
- supplier @1114
- line_style 3
- origin_attachment (1703, 1113)
- terminal_attachment (1703, 765)
- drawSupplier @1115)
- (object InheritView "" @1166
- stereotype (object SegLabel @1167
- Parent_View @1166
- location (1354, 801)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.500000
- height 70
- orientation 1)
- line_color 3342489
- quidu "3B72D737038F"
- client @1046
- supplier @1114
- line_style 3
- origin_attachment (1284, 837)
- terminal_attachment (1284, 765)
- drawSupplier @1115)
- (object InheritView "" @1168
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @1016
- supplier @1072
- line_style 3
- origin_attachment (2284, 762)
- terminal_attachment (2379, 762))
- (object InheritView "" @1169
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @1015
- supplier @1073
- line_style 3
- origin_attachment (2637, 521)
- terminal_attachment (2637, 465)
- drawSupplier @1156)
- (object InheritView "" @1170
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1072
- supplier @1015
- line_style 3
- origin_attachment (2637, 729)
- terminal_attachment (2637, 631))
- (object InheritView "" @1171
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @1017
- supplier @1073
- line_style 3
- origin_attachment (1950, 521)
- terminal_attachment (1950, 465)
- drawSupplier @1156)
- (object InheritView "" @1172
- stereotype (object SegLabel @1173
- Parent_View @1172
- location (2821, 897)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 181
- justify 0
- label "<<mixin>>"
- pctDist 0.087719
- height 76
- orientation 0)
- line_color 3342489
- quidu "3B688E4F023C"
- client @1014
- supplier @1073
- line_style 3
- origin_attachment (2896, 937)
- terminal_attachment (2896, 465)
- drawSupplier @1156)
- (object InheritView "" @1174
- stereotype (object SegLabel @1175
- Parent_View @1174
- location (2313, 904)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "<<mixin>>"
- pctDist 0.850622
- height 68
- orientation 0)
- line_color 3342489
- quidu "3B6AE2E20381"
- client @1026
- supplier @1017
- line_style 3
- origin_attachment (2381, 1109)
- terminal_attachment (2381, 868)
- drawSupplier @1018)
- (object InheritView "" @1176
- stereotype (object SegLabel @1177
- Parent_View @1176
- location (2878, 269)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.946667
- height 66
- orientation 0)
- line_color 3342489
- quidu "3B6BD2550385"
- client @1026
- supplier @1040
- line_style 3
- origin_attachment (2943, 1109)
- terminal_attachment (2943, 222)
- drawSupplier @1153)
- (object InheritView "" @1178
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @1135
- supplier @1024
- line_style 3
- origin_attachment (462, 1113)
- terminal_attachment (462, 465)
- drawSupplier @1025)))
- (object ClassDiagram "9. Concrete Schema Composition"
- quid "3C25EB7A038C"
- title "9. Concrete Schema Composition"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1179
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1536)
- label (object ItemLabel
- Parent_View @1179
- location (73, 1493)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 480
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$126" @1180
- location (228, 1695)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41E60251"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$127" @1181
- Parent_View @1180
- location (-476, -385)
- label (object SegLabel @1182
- Parent_View @1181
- location (217, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA02F7"
- client @1180
- supplier @1179
- vertices (list Points
- (228, 1695)
- (175, 1695)
- (175, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (175, 1591))
- (object RoleView "resolvedElementDeclaration" @1183
- Parent_View @1180
- location (-476, -385)
- label (object SegLabel @1184
- Parent_View @1183
- location (329, 1740)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedElementDeclaration"
- pctDist 1.924528
- height 45
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA030B"
- client @1180
- supplier @1179
- vertices (list Points
- (228, 1695)
- (281, 1695)
- (281, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (281, 1591)
- label (object SegLabel @1185
- Parent_View @1183
- location (229, 1646)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.005714
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1186
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1536)
- label (object ItemLabel
- Parent_View @1186
- location (790, 1493)
- fill_color 13434879
- nlines 1
- max_width 500
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 518
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$162" @1187
- location (952, 1698)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42450398"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$163" @1188
- Parent_View @1187
- location (-1288, -318)
- label (object SegLabel @1189
- Parent_View @1188
- location (860, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249038A"
- client @1187
- supplier @1186
- vertices (list Points
- (952, 1698)
- (901, 1698)
- (901, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (901, 1591))
- (object RoleView "resolvedModelGroupDefinition" @1190
- Parent_View @1187
- location (-1288, -318)
- label (object SegLabel @1191
- Parent_View @1190
- location (1020, 1739)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 564
- justify 0
- label "+resolvedModelGroupDefinition"
- pctDist 1.326923
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249039E"
- client @1187
- supplier @1186
- vertices (list Points
- (952, 1698)
- (1004, 1698)
- (1004, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (1004, 1591)
- label (object SegLabel @1192
- Parent_View @1190
- location (952, 1649)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.000000
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1193
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1193
- location (420, 951)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @1194
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1194
- location (412, 739)
- fill_color 13434879
- nlines 1
- max_width 457
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 475
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1195
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 416)
- label (object ItemLabel
- Parent_View @1195
- location (446, 285)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 406
- height 287
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$226" @1196
- location (1303, 679)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "incorporatedSchema" @1197
- Parent_View @1196
- location (-41, -857)
- label (object SegLabel @1198
- Parent_View @1197
- location (1059, 381)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.700384
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @1196
- supplier @1195
- vertices (list Points
- (1303, 679)
- (1303, 419)
- (843, 419))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (843, 419)
- label (object SegLabel @1199
- Parent_View @1197
- location (922, 454)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.890746
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$227" @1200
- Parent_View @1196
- location (-41, -857)
- label (object SegLabel @1201
- Parent_View @1200
- location (1045, 956)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @1196
- supplier @1193
- vertices (list Points
- (1303, 679)
- (1303, 997)
- (901, 997))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (901, 997))))
- (object AssociationViewNew "$UNNAMED$224" @1202
- location (1216, 649)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "resolvedSchema" @1203
- Parent_View @1202
- location (336, -1399)
- label (object SegLabel @1204
- Parent_View @1203
- location (1038, 500)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.601923
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @1202
- supplier @1195
- vertices (list Points
- (1216, 649)
- (1216, 534)
- (843, 534))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (843, 534)
- label (object SegLabel @1205
- Parent_View @1203
- location (926, 577)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.831643
- height 43
- orientation 0))
- (object RoleView "$UNNAMED$225" @1206
- Parent_View @1202
- location (336, -1399)
- label (object SegLabel @1207
- Parent_View @1206
- location (974, 756)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @1202
- supplier @1194
- vertices (list Points
- (1216, 649)
- (1216, 797)
- (877, 797))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (877, 797))))
- (object AssociationViewNew "$UNNAMED$230" @1208
- location (662, 642)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A60131"
- roleview_list (list RoleViews
- (object RoleView "referencingDirectives" @1209
- Parent_View @1208
- location (-234, 114)
- label (object SegLabel @1210
- Parent_View @1209
- location (878, 675)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+referencingDirectives"
- pctDist 0.408759
- height 216
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90371"
- client @1208
- supplier @1194
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 725)
- label (object SegLabel @1211
- Parent_View @1209
- location (615, 678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.430657
- height 48
- orientation 1))
- (object RoleView "$UNNAMED$231" @1212
- Parent_View @1208
- location (-234, 114)
- label (object SegLabel @1213
- Parent_View @1212
- location (621, 576)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90370"
- client @1208
- supplier @1195
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 559))))
- (object AssociationViewNew "$UNNAMED$232" @1214
- location (75, 188)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF0005E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$233" @1215
- Parent_View @1214
- location (-853, -308)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF4001E"
- client @1214
- supplier @1195
- vertices (list Points
- (75, 188)
- (75, 128)
- (510, 128)
- (510, 273))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (510, 273))
- (object RoleView "rootVersion" @1216
- Parent_View @1214
- location (-853, -308)
- label (object SegLabel @1217
- Parent_View @1216
- location (176, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+rootVersion"
- pctDist -0.593750
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF40028"
- client @1214
- supplier @1195
- vertices (list Points
- (75, 188)
- (75, 380)
- (437, 380))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (437, 380)
- label (object SegLabel @1218
- Parent_View @1216
- location (368, 328)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.874755
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$234" @1219
- location (1262, 134)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0B011B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$235" @1220
- Parent_View @1219
- location (334, -362)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F0121"
- client @1219
- supplier @1195
- vertices (list Points
- (1262, 134)
- (766, 134)
- (766, 273))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (766, 273))
- (object RoleView "originalVersion" @1221
- Parent_View @1219
- location (334, -362)
- label (object SegLabel @1222
- Parent_View @1221
- location (1164, 97)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+originalVersion"
- pctDist -1.650000
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F012B"
- client @1219
- supplier @1195
- vertices (list Points
- (1262, 134)
- (1322, 134)
- (1322, 334)
- (843, 334))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (843, 334)
- label (object SegLabel @1223
- Parent_View @1221
- location (919, 279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898108
- height 56
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$236" @1224
- location (126, 656)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAB001F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$237" @1225
- Parent_View @1224
- location (-834, 160)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF010B"
- client @1224
- supplier @1195
- vertices (list Points
- (126, 656)
- (513, 656)
- (513, 559))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (513, 559))
- (object RoleView "incorporatedVersions" @1226
- Parent_View @1224
- location (-834, 160)
- label (object SegLabel @1227
- Parent_View @1226
- location (217, 431)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+incorporatedVersions"
- pctDist 0.643902
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF0115"
- client @1224
- supplier @1195
- vertices (list Points
- (126, 656)
- (66, 656)
- (66, 472)
- (437, 472))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (437, 472)
- label (object SegLabel @1228
- Parent_View @1226
- location (356, 526)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.868468
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$240" @1229
- location (642, 126)
- stereotype TRUE
- line_color 3342489
- quidu "3C2784730194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$241" @1230
- Parent_View @1229
- location (82, -418)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501F1"
- client @1229
- supplier @1195
- vertices (list Points
- (642, 126)
- (588, 126)
- (588, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (588, 273))
- (object RoleView "schemaForSchema" @1231
- Parent_View @1229
- location (82, -418)
- label (object SegLabel @1232
- Parent_View @1231
- location (639, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+schemaForSchema"
- pctDist -0.055556
- height 53
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501FB"
- client @1229
- supplier @1195
- vertices (list Points
- (642, 126)
- (697, 126)
- (697, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (697, 273)
- label (object SegLabel @1233
- Parent_View @1231
- location (643, 213)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.701863
- height 55
- orientation 1))))
- (object InheritView "" @1234
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1193
- supplier @1194
- line_style 3
- origin_attachment (638, 937)
- terminal_attachment (638, 843))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1235
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1184)
- label (object ItemLabel
- Parent_View @1235
- location (67, 1141)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$80" @1236
- location (234, 1340)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426B0194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$81" @1237
- Parent_View @1236
- location (-310, -4)
- label (object SegLabel @1238
- Parent_View @1237
- location (140, 1271)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0309"
- client @1236
- supplier @1235
- vertices (list Points
- (234, 1340)
- (181, 1340)
- (181, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (181, 1239))
- (object RoleView "resolvedAttributeDeclaration" @1239
- Parent_View @1236
- location (-310, -4)
- label (object SegLabel @1240
- Parent_View @1239
- location (333, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedAttributeDeclaration"
- pctDist 1.867925
- height 49
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0313"
- client @1236
- supplier @1235
- vertices (list Points
- (234, 1340)
- (287, 1340)
- (287, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (287, 1239)
- label (object SegLabel @1241
- Parent_View @1239
- location (241, 1295)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.042945
- height 46
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1242
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1760, 144)
- label (object ItemLabel
- Parent_View @1242
- location (1517, 101)
- fill_color 13434879
- nlines 1
- max_width 486
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 504
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1243
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1243
- location (1599, 375)
- fill_color 13434879
- nlines 1
- max_width 226
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C359403D2"
- width 244
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$314" @1244
- location (1668, 280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AE01CC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$315" @1245
- Parent_View @1244
- location (8, -152)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF010F"
- client @1244
- supplier @1242
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 199))
- (object RoleView "syntheticFacets" @1246
- Parent_View @1244
- location (8, -152)
- label (object SegLabel @1247
- Parent_View @1246
- location (1852, 300)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+syntheticFacets"
- pctDist 0.246154
- height 184
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF011A"
- client @1244
- supplier @1243
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 361)
- label (object SegLabel @1248
- Parent_View @1246
- location (1625, 301)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.276923
- height 44
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1249
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 944)
- label (object ItemLabel
- Parent_View @1249
- location (1426, 901)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1250
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1776, 640)
- label (object ItemLabel
- Parent_View @1250
- location (1515, 597)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$316" @1251
- location (1508, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D3028E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$317" @1252
- Parent_View @1251
- location (-12, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402F3"
- client @1251
- supplier @1250
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 695))
- (object RoleView "syntheticParticle" @1253
- Parent_View @1251
- location (-12, -280)
- label (object SegLabel @1254
- Parent_View @1253
- location (1695, 767)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+syntheticParticle"
- pctDist -0.259259
- height 187
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402FD"
- client @1251
- supplier @1249
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 889)
- label (object SegLabel @1255
- Parent_View @1253
- location (1454, 829)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.395062
- height 55
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1256
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1024, 1184)
- label (object ItemLabel
- Parent_View @1256
- location (756, 1141)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$92" @1257
- location (919, 1349)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B425E01F9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$93" @1258
- Parent_View @1257
- location (-233, -59)
- label (object SegLabel @1259
- Parent_View @1258
- location (825, 1273)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620046"
- client @1257
- supplier @1256
- vertices (list Points
- (919, 1349)
- (866, 1349)
- (866, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (866, 1239))
- (object RoleView "resolvedAttributeGroupDefinition" @1260
- Parent_View @1257
- location (-233, -59)
- label (object SegLabel @1261
- Parent_View @1260
- location (993, 1393)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 600
- justify 0
- label "+resolvedAttributeGroupDefinition"
- pctDist 1.377358
- height 44
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620050"
- client @1257
- supplier @1256
- vertices (list Points
- (919, 1349)
- (973, 1349)
- (973, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (973, 1239)
- label (object SegLabel @1262
- Parent_View @1260
- location (919, 1296)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.014925
- height 54
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1263
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1952, 944)
- label (object ItemLabel
- Parent_View @1263
- location (1816, 901)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 290
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$318" @1264
- location (2025, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D901F6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$319" @1265
- Parent_View @1264
- location (153, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA0284"
- client @1264
- supplier @1250
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 695))
- (object RoleView "syntheticWildcard" @1266
- Parent_View @1264
- location (153, -280)
- label (object SegLabel @1267
- Parent_View @1266
- location (1826, 838)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.488095
- height 200
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA028E"
- client @1264
- supplier @1263
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 889)
- label (object SegLabel @1268
- Parent_View @1266
- location (2098, 840)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.506173
- height 73
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$320" @1269
- location (1754, 1178)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C68FF01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$321" @1270
- Parent_View @1269
- location (-198, 234)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020317"
- client @1269
- supplier @1256
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (1301, 1178))
- (object RoleView "syntheticWildcard" @1271
- Parent_View @1269
- location (-198, 234)
- label (object SegLabel @1272
- Parent_View @1271
- location (1828, 1261)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.163355
- height 83
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020318"
- client @1269
- supplier @1263
- vertices (list Points
- (1754, 1178)
- (2028, 1178)
- (2028, 999))
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (2028, 999)
- label (object SegLabel @1273
- Parent_View @1271
- location (2082, 1098)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783664
- height 54
- orientation 1))))))
- (object ClassDiagram "10. Diagnostics"
- quid "3BFE5F0803E2"
- title "10. Diagnostics"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::DOMNode" @1274
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (400, 1024)
- label (object ItemLabel
- Parent_View @1274
- location (66, 990)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @1274
- location (66, 940)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnosticSeverity" @1275
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 656)
- label (object ItemLabel
- Parent_View @1275
- location (818, 547)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDDiagnosticSeverity")
- stereotype (object ItemLabel
- Parent_View @1275
- location (818, 497)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 444
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BFE68A7032F"
- width 462
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1276
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 112)
- label (object ItemLabel
- Parent_View @1276
- location (59, 60)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1277
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (896, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1277
- location (540, 64)
- fill_color 13434879
- nlines 1
- max_width 713
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 731
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1278
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 608)
- label (object ItemLabel
- Parent_View @1278
- location (64, 402)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 658
- height 436
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$222" @1279
- location (144, 283)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE6431035F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$223" @1280
- Parent_View @1279
- location (-1088, -661)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C6"
- client @1279
- supplier @1276
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 176))
- (object RoleView "allDiagnostics" @1281
- Parent_View @1279
- location (-1088, -661)
- label (object SegLabel @1282
- Parent_View @1281
- location (309, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+allDiagnostics"
- pctDist 0.448598
- height 165
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C7"
- client @1279
- supplier @1278
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 390)
- label (object SegLabel @1283
- Parent_View @1281
- location (96, 327)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.420561
- height 49
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$218" @1284
- location (1028, 440)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622703CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$219" @1285
- Parent_View @1284
- location (-396, -72)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B0061"
- client @1284
- supplier @1278
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (713, 440))
- (object RoleView "components" @1286
- Parent_View @1284
- location (-396, -72)
- label (object SegLabel @1287
- Parent_View @1286
- location (938, 230)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+components"
- pctDist 0.829181
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B006C"
- client @1284
- supplier @1277
- vertices (list Points
- (1028, 440)
- (1088, 440)
- (1088, 174))
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (1088, 174)
- label (object SegLabel @1288
- Parent_View @1286
- location (1143, 232)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.823848
- height 55
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$220" @1289
- location (688, 282)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE62690165"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$221" @1290
- Parent_View @1289
- location (160, -278)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0026"
- client @1289
- supplier @1277
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 174))
- (object RoleView "diagnostics" @1291
- Parent_View @1289
- location (160, -278)
- label (object SegLabel @1292
- Parent_View @1291
- location (822, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+diagnostics"
- pctDist 0.452632
- height 134
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0027"
- client @1289
- supplier @1278
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 390)
- label (object SegLabel @1293
- Parent_View @1291
- location (645, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.494737
- height 44
- orientation 1))))
- (object InheritView "" @1294
- stereotype TRUE
- line_color 3342489
- quidu "3D4C0F4C01A1"
- client @1278
- supplier @1277
- line_style 3
- origin_attachment (575, 390)
- terminal_attachment (575, 174))))
- (object ClassDiagram "11. Supplemental"
- quid "3C287E49019B"
- title "11. Supplemental"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1295
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (464, 816)
- label (object ItemLabel
- Parent_View @1295
- location (47, 760)
- fill_color 13434879
- nlines 1
- max_width 834
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 852
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1296
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2112, 880)
- label (object ItemLabel
- Parent_View @1296
- location (1731, 824)
- fill_color 13434879
- nlines 1
- max_width 762
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 780
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1297
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (288, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1297
- location (48, 62)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 498
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1298
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2384, 112)
- label (object ItemLabel
- Parent_View @1298
- location (2236, 60)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 314
- height 128
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$244" @1299
- location (1382, 84)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C50137"
- roleview_list (list RoleViews
- (object RoleView "primaryComponent" @1300
- Parent_View @1299
- location (-250, -508)
- label (object SegLabel @1301
- Parent_View @1300
- location (756, 116)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+primaryComponent"
- pctDist 0.740828
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70113"
- client @1299
- supplier @1297
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (537, 84)
- label (object SegLabel @1302
- Parent_View @1300
- location (624, 55)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.897260
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$245" @1303
- Parent_View @1299
- location (-250, -508)
- label (object SegLabel @1304
- Parent_View @1303
- location (2058, 126)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70112"
- client @1299
- supplier @1298
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (2227, 84))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1305
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2160, 688)
- label (object ItemLabel
- Parent_View @1305
- location (1778, 607)
- fill_color 13434879
- nlines 1
- max_width 764
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @1305
- location (1778, 667)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 722
- compartmentItems (list Compartment
- "+ elementDeclarationReference : boolean"
- "+ circular : boolean"))
- width 782
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1306
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1072)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1306
- location (2100, 993)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @1306
- location (2100, 1059)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 423
- compartmentItems (list Compartment
- "+ facetName : String"
- "+ effectiveValue : Value"))
- width 458
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1307
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 624)
- label (object ItemLabel
- Parent_View @1307
- location (47, 568)
- fill_color 13434879
- nlines 1
- max_width 802
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- compartment (object Compartment
- Parent_View @1307
- location (47, 628)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 769
- compartmentItems (list Compartment
- "+ modelGroupDefinitionReference : boolean"))
- width 820
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @1308
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 288)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1308
- location (1005, 159)
- fill_color 13434879
- nlines 1
- max_width 454
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @1308
- location (1005, 225)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 4
- max_width 356
- compartmentItems (list Compartment
- "+ aliasName : String"
- "+ uRI : String"
- "+ aliasURI : String"
- "+ qName : String"))
- width 472
- height 286
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @1309
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 352)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1309
- location (48, 298)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1310
- location (320, 510)
- line_color 3342489
- fill_color 13434879
- supplier @1309
- vertices (list Points
- (320, 510)
- (320, 420)))
- (object InheritView "" @1311
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @1307
- supplier @1309
- line_style 3
- origin_attachment (81, 556)
- terminal_attachment (81, 510)
- drawSupplier @1310)
- (object InheritView "" @1312
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @1295
- supplier @1309
- line_style 3
- origin_attachment (877, 748)
- terminal_attachment (877, 510)
- drawSupplier @1310)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @1313
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1808)
- label (object ItemLabel
- Parent_View @1313
- location (2101, 1761)
- fill_color 13434879
- nlines 1
- max_width 438
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 456
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @1314
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1776)
- label (object ItemLabel
- Parent_View @1314
- location (35, 1729)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 493
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @1315
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1936)
- label (object ItemLabel
- Parent_View @1315
- location (35, 1889)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 493
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @1316
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 1968)
- label (object ItemLabel
- Parent_View @1316
- location (2073, 1917)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @1317
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1424)
- label (object ItemLabel
- Parent_View @1317
- location (2134, 1372)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @1318
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1264)
- label (object ItemLabel
- Parent_View @1318
- location (2163, 1212)
- fill_color 13434879
- nlines 1
- max_width 378
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 396
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @1319
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (224, 1392)
- label (object ItemLabel
- Parent_View @1319
- location (43, 1340)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 380
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @1320
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1232)
- label (object ItemLabel
- Parent_View @1320
- location (49, 1178)
- fill_color 13434879
- nlines 1
- max_width 382
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 400
- height 132
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @1321
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1616)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1321
- location (2135, 1537)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @1321
- location (2135, 1603)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 363
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 420
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @1322
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2288)
- label (object ItemLabel
- Parent_View @1322
- location (2102, 2236)
- fill_color 13434879
- nlines 1
- max_width 436
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 454
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @1323
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 2624)
- label (object ItemLabel
- Parent_View @1323
- location (2074, 2572)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 478
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @1324
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 2128)
- label (object ItemLabel
- Parent_View @1324
- location (2196, 2076)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 362
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @1325
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 2096)
- label (object ItemLabel
- Parent_View @1325
- location (36, 2044)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 458
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @1326
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (208, 2272)
- label (object ItemLabel
- Parent_View @1326
- location (38, 2220)
- fill_color 13434879
- nlines 1
- max_width 340
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 358
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @1327
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1584)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1327
- location (38, 1505)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @1327
- location (38, 1571)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 363
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 422
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @1328
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2464)
- label (object ItemLabel
- Parent_View @1328
- location (2111, 2412)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @1329
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2448)
- label (object ItemLabel
- Parent_View @1329
- location (39, 2396)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 420
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @1330
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2608)
- label (object ItemLabel
- Parent_View @1330
- location (38, 2556)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1331
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (928, 1152)
- label (object ItemLabel
- Parent_View @1331
- location (667, 1100)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1332
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 1072)
- label (object ItemLabel
- Parent_View @1332
- location (50, 1020)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1333
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 1360)
- label (object ItemLabel
- Parent_View @1333
- location (944, 1304)
- fill_color 13434879
- nlines 1
- max_width 576
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @1333
- location (944, 1364)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 538
- compartmentItems (list Compartment
- "<<0..*>> + validFacets : String"))
- width 594
- height 136
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$256" @1334
- location (1446, 1218)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A994030A"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1335
- Parent_View @1334
- location (582, -78)
- label (object SegLabel @1336
- Parent_View @1335
- location (1580, 1173)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist 3.268293
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700DD"
- client @1334
- supplier @1333
- vertices (list Points
- (1446, 1218)
- (1487, 1218)
- (1487, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1487, 1292)
- label (object SegLabel @1337
- Parent_View @1335
- location (1439, 1257)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.184211
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$257" @1338
- Parent_View @1334
- location (582, -78)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700E7"
- client @1334
- supplier @1333
- vertices (list Points
- (1446, 1218)
- (1405, 1218)
- (1405, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1405, 1292))))
- (object AssociationViewNew "$UNNAMED$260" @1339
- location (1733, 1575)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08D0252"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$261" @1340
- Parent_View @1339
- location (917, 7)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E0091"
- client @1339
- supplier @1333
- vertices (list Points
- (1733, 1575)
- (1487, 1575)
- (1487, 1428))
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (1487, 1428))
- (object RoleView "maxFacet" @1341
- Parent_View @1339
- location (917, 7)
- label (object SegLabel @1342
- Parent_View @1341
- location (1751, 1541)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+maxFacet"
- pctDist 0.046243
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E009B"
- client @1339
- supplier @1321
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (2126, 1575)
- label (object SegLabel @1343
- Parent_View @1341
- location (2042, 1536)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.789157
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$262" @1344
- location (1587, 1793)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AB0396"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$263" @1345
- Parent_View @1344
- location (707, -31)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03C9"
- client @1344
- supplier @1333
- vertices (list Points
- (1587, 1793)
- (1447, 1793)
- (1447, 1428))
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (1447, 1428))
- (object RoleView "maxInclusiveFacet" @1346
- Parent_View @1344
- location (707, -31)
- label (object SegLabel @1347
- Parent_View @1346
- location (1737, 1751)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+maxInclusiveFacet"
- pctDist 0.298441
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03D4"
- client @1344
- supplier @1313
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (2092, 1793)
- label (object SegLabel @1348
- Parent_View @1346
- location (2020, 1754)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.859155
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$264" @1349
- location (937, 1787)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AF0338"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$265" @1350
- Parent_View @1349
- location (617, -5)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B001F9"
- client @1349
- supplier @1333
- vertices (list Points
- (937, 1787)
- (997, 1787)
- (997, 1428))
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (997, 1428))
- (object RoleView "minInclusiveFacet" @1351
- Parent_View @1349
- location (617, -5)
- label (object SegLabel @1352
- Parent_View @1351
- location (792, 1745)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+minInclusiveFacet"
- pctDist 0.346062
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B00203"
- client @1349
- supplier @1314
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (518, 1787)
- label (object SegLabel @1353
- Parent_View @1351
- location (575, 1743)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863962
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$266" @1354
- location (981, 1937)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B30207"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$267" @1355
- Parent_View @1354
- location (677, -79)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B40190"
- client @1354
- supplier @1333
- vertices (list Points
- (981, 1937)
- (1041, 1937)
- (1041, 1428))
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (1041, 1428))
- (object RoleView "minExclusiveFacet" @1356
- Parent_View @1354
- location (677, -79)
- label (object SegLabel @1357
- Parent_View @1356
- location (823, 1900)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+minExclusiveFacet"
- pctDist 0.341253
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B4019A"
- client @1354
- supplier @1315
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (518, 1937)
- label (object SegLabel @1358
- Parent_View @1356
- location (589, 1897)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.846652
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$268" @1359
- location (1469, 1953)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B6028D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$269" @1360
- Parent_View @1359
- location (621, -95)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70217"
- client @1359
- supplier @1333
- vertices (list Points
- (1469, 1953)
- (1400, 1953)
- (1400, 1428))
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (1400, 1428))
- (object RoleView "maxExclusiveFacet" @1361
- Parent_View @1359
- location (621, -95)
- label (object SegLabel @1362
- Parent_View @1361
- location (1646, 1913)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+maxExclusiveFacet"
- pctDist 0.298097
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70221"
- client @1359
- supplier @1316
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (2064, 1953)
- label (object SegLabel @1363
- Parent_View @1361
- location (1961, 1913)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.827236
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$270" @1364
- location (1122, 2180)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$271" @1365
- Parent_View @1364
- location (-318, 628)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0246"
- client @1364
- supplier @1333
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (1122, 1428))
- (object RoleView "lengthFacet" @1366
- Parent_View @1364
- location (-318, 628)
- label (object SegLabel @1367
- Parent_View @1366
- location (804, 2204)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+lengthFacet"
- pctDist 0.475472
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0250"
- client @1364
- supplier @1326
- vertices (list Points
- (1122, 2180)
- (1122, 2240)
- (387, 2240))
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (387, 2240)
- label (object SegLabel @1368
- Parent_View @1366
- location (471, 2204)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.895597
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$274" @1369
- location (1084, 1989)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C2021D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$275" @1370
- Parent_View @1369
- location (-1380, 437)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AB"
- client @1369
- supplier @1333
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (1084, 1428))
- (object RoleView "enumerationFacets" @1371
- Parent_View @1369
- location (-1380, 437)
- label (object SegLabel @1372
- Parent_View @1371
- location (837, 2016)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+enumerationFacets"
- pctDist 0.465857
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AC"
- client @1369
- supplier @1325
- vertices (list Points
- (1084, 1989)
- (1084, 2049)
- (485, 2049))
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (485, 2049)
- label (object SegLabel @1373
- Parent_View @1371
- location (583, 2021)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.851290
- height 29
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$276" @1374
- location (1451, 2074)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C50159"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$277" @1375
- Parent_View @1374
- location (-1525, 538)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600B0"
- client @1374
- supplier @1333
- vertices (list Points
- (1451, 2074)
- (1362, 2074)
- (1362, 1428))
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (1362, 1428))
- (object RoleView "patternFacets" @1376
- Parent_View @1374
- location (-1525, 538)
- label (object SegLabel @1377
- Parent_View @1376
- location (1720, 2038)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+patternFacets"
- pctDist 0.367223
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600BA"
- client @1374
- supplier @1324
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (2187, 2074)
- label (object SegLabel @1378
- Parent_View @1376
- location (1972, 2035)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.708649
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$278" @1379
- location (1827, 1400)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C802A7"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$279" @1380
- Parent_View @1379
- location (-1149, -472)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901EA"
- client @1379
- supplier @1333
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (1529, 1400))
- (object RoleView "cardinalityFacet" @1381
- Parent_View @1379
- location (-1149, -472)
- label (object SegLabel @1382
- Parent_View @1381
- location (1847, 1358)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+cardinalityFacet"
- pctDist 0.071730
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901F5"
- client @1379
- supplier @1317
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (2125, 1400)
- label (object SegLabel @1383
- Parent_View @1381
- location (2083, 1357)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.863426
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$288" @1384
- location (1262, 2413)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DB0377"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$289" @1385
- Parent_View @1384
- location (-786, 301)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC035A"
- client @1384
- supplier @1333
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (1262, 1428))
- (object RoleView "fractionDigitsFacet" @1386
- Parent_View @1384
- location (-786, 301)
- label (object SegLabel @1387
- Parent_View @1386
- location (1608, 2556)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+fractionDigitsFacet"
- pctDist 0.537393
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC0364"
- client @1384
- supplier @1323
- vertices (list Points
- (1262, 2413)
- (1262, 2596)
- (2065, 2596))
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (2065, 2596)
- label (object SegLabel @1388
- Parent_View @1386
- location (1979, 2556)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913886
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$292" @1389
- location (1841, 1306)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E300D9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$293" @1390
- Parent_View @1389
- location (-1135, -790)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E4038E"
- client @1389
- supplier @1333
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (1529, 1306))
- (object RoleView "boundedFacet" @1391
- Parent_View @1389
- location (-1135, -790)
- label (object SegLabel @1392
- Parent_View @1391
- location (1832, 1270)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+boundedFacet"
- pctDist -0.031746
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E40398"
- client @1389
- supplier @1318
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (2154, 1306)
- label (object SegLabel @1393
- Parent_View @1391
- location (2077, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.754717
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$272" @1394
- location (1328, 2186)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BF018C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$273" @1395
- Parent_View @1394
- location (-640, 634)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C0006B"
- client @1394
- supplier @1333
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (1328, 1428))
- (object RoleView "whiteSpaceFacet" @1396
- Parent_View @1394
- location (-640, 634)
- label (object SegLabel @1397
- Parent_View @1396
- location (1673, 2207)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+whiteSpaceFacet"
- pctDist 0.490909
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C00075"
- client @1394
- supplier @1322
- vertices (list Points
- (1328, 2186)
- (1328, 2246)
- (2093, 2246))
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (2093, 2246)
- label (object SegLabel @1398
- Parent_View @1396
- location (2033, 2203)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926763
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$290" @1399
- location (674, 1390)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF0048"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$291" @1400
- Parent_View @1399
- location (-1854, -706)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03B9"
- client @1399
- supplier @1333
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (935, 1390))
- (object RoleView "orderedFacet" @1401
- Parent_View @1399
- location (-1854, -706)
- label (object SegLabel @1402
- Parent_View @1401
- location (658, 1353)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+orderedFacet"
- pctDist 0.061538
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03C3"
- client @1399
- supplier @1319
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (414, 1390)
- label (object SegLabel @1403
- Parent_View @1401
- location (510, 1355)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.634615
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$280" @1404
- location (687, 1296)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CB039C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$281" @1405
- Parent_View @1404
- location (-1809, -576)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D0"
- client @1404
- supplier @1333
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (935, 1296))
- (object RoleView "numericFacet" @1406
- Parent_View @1404
- location (-1809, -576)
- label (object SegLabel @1407
- Parent_View @1406
- location (668, 1257)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+numericFacet"
- pctDist 0.080972
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D1"
- client @1404
- supplier @1320
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (440, 1296)
- label (object SegLabel @1408
- Parent_View @1406
- location (506, 1260)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.736842
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$294" @1409
- location (1689, 1662)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B44401EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$295" @1410
- Parent_View @1409
- location (-183, -354)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B4450360"
- client @1409
- supplier @1333
- vertices (list Points
- (1689, 1662)
- (1487, 1662)
- (1487, 1428))
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (1487, 1428))
- (object RoleView "effectiveMaxFacet" @1411
- Parent_View @1409
- location (-183, -354)
- label (object SegLabel @1412
- Parent_View @1411
- location (1769, 1623)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+effectiveMaxFacet"
- pctDist 0.182051
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B445036A"
- client @1409
- supplier @1321
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (2126, 1662)
- label (object SegLabel @1413
- Parent_View @1411
- location (2044, 1627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.815385
- height 36
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$296" @1414
- location (1328, 2258)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B54F0145"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$297" @1415
- Parent_View @1414
- location (-1072, -462)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B550038C"
- client @1414
- supplier @1333
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (1328, 1428))
- (object RoleView "effectiveWhiteSpaceFacet" @1416
- Parent_View @1414
- location (-1072, -462)
- label (object SegLabel @1417
- Parent_View @1416
- location (1685, 2288)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+effectiveWhiteSpaceFacet"
- pctDist 0.508541
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5500396"
- client @1414
- supplier @1322
- vertices (list Points
- (1328, 2258)
- (1328, 2324)
- (2093, 2324))
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (2093, 2324)
- label (object SegLabel @1418
- Parent_View @1416
- location (2009, 2293)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898817
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$298" @1419
- location (1297, 2366)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C4011C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$299" @1420
- Parent_View @1419
- location (-607, -722)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C5020D"
- client @1419
- supplier @1333
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (1297, 1428))
- (object RoleView "effectiveMaxLengthFacet" @1421
- Parent_View @1419
- location (-607, -722)
- label (object SegLabel @1422
- Parent_View @1421
- location (1657, 2463)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+effectiveMaxLengthFacet"
- pctDist 0.526906
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C50217"
- client @1419
- supplier @1328
- vertices (list Points
- (1297, 2366)
- (1297, 2499)
- (2102, 2499))
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (2102, 2499)
- label (object SegLabel @1423
- Parent_View @1421
- location (2007, 2471)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.899308
- height 29
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$300" @1424
- location (1262, 2449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62A00AA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$301" @1425
- Parent_View @1424
- location (-1170, -815)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0138"
- client @1424
- supplier @1333
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (1262, 1428))
- (object RoleView "effectiveFractionDigitsFacet" @1426
- Parent_View @1424
- location (-1170, -815)
- label (object SegLabel @1427
- Parent_View @1426
- location (1640, 2634)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+effectiveFractionDigitsFacet"
- pctDist 0.585315
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0142"
- client @1424
- supplier @1323
- vertices (list Points
- (1262, 2449)
- (1262, 2668)
- (2065, 2668))
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (2065, 2668)
- label (object SegLabel @1428
- Parent_View @1426
- location (1989, 2629)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926485
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$302" @1429
- location (1422, 2159)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B003A6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$303" @1430
- Parent_View @1429
- location (-770, -1313)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10311"
- client @1429
- supplier @1333
- vertices (list Points
- (1422, 2159)
- (1362, 2159)
- (1362, 1428))
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (1362, 1428))
- (object RoleView "effectivePatternFacet" @1431
- Parent_View @1429
- location (-770, -1313)
- label (object SegLabel @1432
- Parent_View @1431
- location (1727, 2125)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+effectivePatternFacet"
- pctDist 0.399090
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10312"
- client @1429
- supplier @1324
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (2187, 2159)
- label (object SegLabel @1433
- Parent_View @1431
- location (2102, 2119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.889226
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$304" @1434
- location (1084, 2083)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CA026B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$305" @1435
- Parent_View @1434
- location (828, -1373)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0186"
- client @1434
- supplier @1333
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (1084, 1428))
- (object RoleView "effectiveEnumerationFacet" @1436
- Parent_View @1434
- location (828, -1373)
- label (object SegLabel @1437
- Parent_View @1436
- location (822, 2101)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+effectiveEnumerationFacet"
- pctDist 0.488619
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0190"
- client @1434
- supplier @1325
- vertices (list Points
- (1084, 2083)
- (1084, 2143)
- (485, 2143))
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (485, 2143)
- label (object SegLabel @1438
- Parent_View @1436
- location (531, 2100)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.931715
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$310" @1439
- location (1122, 2241)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC0052"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$311" @1440
- Parent_View @1439
- location (866, -479)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03B9"
- client @1439
- supplier @1333
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (1122, 1428))
- (object RoleView "effectiveLengthFacet" @1441
- Parent_View @1439
- location (866, -479)
- label (object SegLabel @1442
- Parent_View @1441
- location (800, 2279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+effectiveLengthFacet"
- pctDist 0.491731
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03C3"
- client @1439
- supplier @1326
- vertices (list Points
- (1122, 2241)
- (1122, 2318)
- (387, 2318))
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (387, 2318)
- label (object SegLabel @1443
- Parent_View @1441
- location (470, 2279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898567
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$258" @1444
- location (773, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B085025B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$259" @1445
- Parent_View @1444
- location (469, 13)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0860270"
- client @1444
- supplier @1333
- vertices (list Points
- (773, 1565)
- (959, 1565)
- (959, 1428))
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (959, 1428))
- (object RoleView "minFacet" @1446
- Parent_View @1444
- location (469, 13)
- label (object SegLabel @1447
- Parent_View @1446
- location (753, 1532)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+minFacet"
- pctDist 0.063091
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B086027A"
- client @1444
- supplier @1327
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (451, 1565)
- label (object SegLabel @1448
- Parent_View @1446
- location (534, 1523)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.746667
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$312" @1449
- location (816, 1650)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97001DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$313" @1450
- Parent_View @1449
- location (496, -334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100CF"
- client @1449
- supplier @1333
- vertices (list Points
- (816, 1650)
- (959, 1650)
- (959, 1428))
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (959, 1428))
- (object RoleView "effectiveMinFacet" @1451
- Parent_View @1449
- location (496, -334)
- label (object SegLabel @1452
- Parent_View @1451
- location (764, 1614)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+effectiveMinFacet"
- pctDist 0.141618
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100D9"
- client @1449
- supplier @1327
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (451, 1650)
- label (object SegLabel @1453
- Parent_View @1451
- location (523, 1606)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.802740
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$282" @1454
- location (1297, 2321)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CF0199"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$283" @1455
- Parent_View @1454
- location (-719, 497)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D20085"
- client @1454
- supplier @1333
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (1297, 1428))
- (object RoleView "maxLengthFacet" @1456
- Parent_View @1454
- location (-719, 497)
- label (object SegLabel @1457
- Parent_View @1456
- location (1630, 2380)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+maxLengthFacet"
- pctDist 0.472255
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D2008F"
- client @1454
- supplier @1328
- vertices (list Points
- (1297, 2321)
- (1297, 2409)
- (2102, 2409))
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (2102, 2409)
- label (object SegLabel @1458
- Parent_View @1456
- location (1994, 2366)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.879208
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$284" @1459
- location (1159, 2273)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D500C5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$285" @1460
- Parent_View @1459
- location (-281, 449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D6001D"
- client @1459
- supplier @1333
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (1159, 1428))
- (object RoleView "minLengthFacet" @1461
- Parent_View @1459
- location (-281, 449)
- label (object SegLabel @1462
- Parent_View @1461
- location (857, 2372)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+minLengthFacet"
- pctDist 0.519527
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D60027"
- client @1459
- supplier @1329
- vertices (list Points
- (1159, 2273)
- (1159, 2409)
- (450, 2409))
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (450, 2409)
- label (object SegLabel @1463
- Parent_View @1461
- location (523, 2369)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913610
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$308" @1464
- location (1197, 2334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B898016D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$309" @1465
- Parent_View @1464
- location (941, -610)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990056"
- client @1464
- supplier @1333
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (1197, 1428))
- (object RoleView "effectiveMinLengthFacet" @1466
- Parent_View @1464
- location (941, -610)
- label (object SegLabel @1467
- Parent_View @1466
- location (856, 2454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveMinLengthFacet"
- pctDist 0.552604
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990060"
- client @1464
- supplier @1329
- vertices (list Points
- (1197, 2334)
- (1197, 2493)
- (450, 2493))
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (450, 2493)
- label (object SegLabel @1468
- Parent_View @1466
- location (527, 2451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.916047
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$306" @1469
- location (1231, 2438)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8400062"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$307" @1470
- Parent_View @1469
- location (863, -746)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B841001D"
- client @1469
- supplier @1333
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (1231, 1428))
- (object RoleView "effectiveTotalDigitsFacet" @1471
- Parent_View @1469
- location (863, -746)
- label (object SegLabel @1472
- Parent_View @1471
- location (859, 2632)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveTotalDigitsFacet"
- pctDist 0.597030
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8410027"
- client @1469
- supplier @1330
- vertices (list Points
- (1231, 2438)
- (1231, 2668)
- (451, 2668))
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (451, 2668)
- label (object SegLabel @1473
- Parent_View @1471
- location (534, 2631)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.918812
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$286" @1474
- location (1231, 2397)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D800DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$287" @1475
- Parent_View @1474
- location (-209, 253)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803CD"
- client @1474
- supplier @1333
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (1231, 1428))
- (object RoleView "totalDigitsFacet" @1476
- Parent_View @1474
- location (-209, 253)
- label (object SegLabel @1477
- Parent_View @1476
- location (853, 2550)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+totalDigitsFacet"
- pctDist 0.585567
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803D7"
- client @1474
- supplier @1330
- vertices (list Points
- (1231, 2397)
- (1231, 2587)
- (451, 2587))
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (451, 2587)
- label (object SegLabel @1478
- Parent_View @1476
- location (535, 2560)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.914647
- height 28
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1479
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 768)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1479
- location (1019, 576)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 444
- height 413
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1480
- location (1209, 1065)
- line_color 3342489
- fill_color 13434879
- supplier @1479
- vertices (list Points
- (1209, 1065)
- (1209, 974)))
- (object AssociationViewNew "$UNNAMED$242" @1481
- location (1090, 1031)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F503D9"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1482
- Parent_View @1481
- location (322, -25)
- label (object SegLabel @1483
- Parent_View @1482
- location (897, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist -0.098765
- height 194
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F9003C"
- client @1481
- supplier @1479
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 974)
- label (object SegLabel @1484
- Parent_View @1482
- location (1121, 1034)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.061728
- height 31
- orientation 1))
- (object RoleView "$UNNAMED$243" @1485
- Parent_View @1481
- location (322, -25)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F90046"
- client @1481
- supplier @1331
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 1088))))
- (object AssociationViewNew "$UNNAMED$248" @1486
- location (1538, 873)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DB01E5"
- roleview_list (list RoleViews
- (object RoleView "rootType" @1487
- Parent_View @1486
- location (178, 105)
- label (object SegLabel @1488
- Parent_View @1487
- location (1558, 792)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+rootType"
- pctDist -1.760870
- height 20
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DD"
- client @1486
- supplier @1479
- vertices (list Points
- (1538, 873)
- (1538, 919)
- (1454, 919))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 919)
- label (object SegLabel @1489
- Parent_View @1487
- location (1509, 875)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.016667
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$249" @1490
- Parent_View @1486
- location (178, 105)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DE"
- client @1486
- supplier @1479
- vertices (list Points
- (1538, 873)
- (1538, 828)
- (1454, 828))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 828))))
- (object AssociationViewNew "$UNNAMED$250" @1491
- location (1535, 684)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7120108"
- roleview_list (list RoleViews
- (object RoleView "baseType" @1492
- Parent_View @1491
- location (175, -84)
- label (object SegLabel @1493
- Parent_View @1492
- location (1559, 597)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+baseType"
- pctDist -1.977273
- height 24
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7140151"
- client @1491
- supplier @1479
- vertices (list Points
- (1535, 684)
- (1535, 728)
- (1454, 728))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 728)
- label (object SegLabel @1494
- Parent_View @1492
- location (1506, 683)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.027778
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$251" @1495
- Parent_View @1491
- location (175, -84)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A714015B"
- client @1491
- supplier @1479
- vertices (list Points
- (1535, 684)
- (1535, 641)
- (1454, 641))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 641))))
- (object AssociationViewNew "$UNNAMED$254" @1496
- location (613, 940)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7ED03C0"
- roleview_list (list RoleViews
- (object RoleView "complexType" @1497
- Parent_View @1496
- location (-747, 172)
- label (object SegLabel @1498
- Parent_View @1497
- location (465, 983)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+complexType"
- pctDist 0.373057
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40117"
- client @1496
- supplier @1332
- vertices (list Points
- (613, 940)
- (284, 940)
- (284, 1008))
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (284, 1008)
- label (object SegLabel @1499
- Parent_View @1497
- location (224, 972)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.909320
- height 61
- orientation 1))
- (object RoleView "$UNNAMED$255" @1500
- Parent_View @1496
- location (-747, 172)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40121"
- client @1496
- supplier @1479
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (1010, 940))))
- (object InheritView "" @1501
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @1479
- supplier @1309
- line_style 3
- origin_attachment (1112, 562)
- terminal_attachment (1112, 510)
- drawSupplier @1310)
- (object InheritView "" @1502
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1331
- supplier @1479
- line_style 3
- origin_attachment (1146, 1088)
- terminal_attachment (1146, 1065)
- drawSupplier @1480)
- (object AssociationViewNew "$UNNAMED$252" @1503
- location (1362, 1133)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74B0178"
- roleview_list (list RoleViews
- (object RoleView "simpleType" @1504
- Parent_View @1503
- location (-158, -163)
- label (object SegLabel @1505
- Parent_View @1504
- location (1499, 1094)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+simpleType"
- pctDist -0.246753
- height 137
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D017B"
- client @1503
- supplier @1333
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 1292)
- label (object SegLabel @1506
- Parent_View @1504
- location (1321, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist -0.227273
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$253" @1507
- Parent_View @1503
- location (-158, -163)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D0185"
- client @1503
- supplier @1479
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 974))))
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @1508
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1508
- location (2002, 305)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @1508
- location (2002, 371)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 508
- compartmentItems (list Compartment
- "+ global : boolean"
- "+ featureReference : boolean"))
- width 558
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1509
- location (2262, 568)
- line_color 3342489
- fill_color 13434879
- supplier @1508
- vertices (list Points
- (2262, 568)
- (2262, 477)))
- (object InheritView "" @1510
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @1305
- supplier @1508
- line_style 3
- origin_attachment (2346, 595)
- terminal_attachment (2346, 568)
- drawSupplier @1509)
- (object AssociationViewNew "$UNNAMED$246" @1511
- location (1553, 453)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F201A4"
- roleview_list (list RoleViews
- (object RoleView "type" @1512
- Parent_View @1511
- location (801, 293)
- label (object SegLabel @1513
- Parent_View @1512
- location (1331, 499)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+type"
- pctDist 0.506266
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302E5"
- client @1511
- supplier @1479
- vertices (list Points
- (1553, 453)
- (1222, 453)
- (1222, 562))
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1222, 562)
- label (object SegLabel @1514
- Parent_View @1512
- location (1185, 479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.812030
- height 38
- orientation 1))
- (object RoleView "$UNNAMED$247" @1515
- Parent_View @1511
- location (801, 293)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302F0"
- client @1511
- supplier @1508
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1993, 453))))
- (object AssociationViewNew "$UNNAMED$138" @1516
- location (1908, 353)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010602D7"
- roleview_list (list RoleViews
- (object RoleView "resolvedFeature" @1517
- Parent_View @1516
- location (-268, -159)
- label (object SegLabel @1518
- Parent_View @1517
- location (1729, 352)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+resolvedFeature"
- pctDist -0.029412
- height 180
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B000E"
- client @1516
- supplier @1508
- vertices (list Points
- (1908, 353)
- (1908, 387)
- (1993, 387))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 387)
- label (object SegLabel @1519
- Parent_View @1517
- location (1945, 354)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.596639
- height 34
- orientation 0))
- (object RoleView "$UNNAMED$139" @1520
- Parent_View @1516
- location (-268, -159)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B0018"
- client @1516
- supplier @1508
- vertices (list Points
- (1908, 353)
- (1908, 319)
- (1993, 319))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 319))))
- (object InheritView "" @1521
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @1309
- supplier @1308
- vertices (list Points
- (494, 284)
- (494, 244)
- (996, 244))
- line_style 3
- origin_attachment (494, 284)
- terminal_attachment (996, 244))
- (object InheritView "" @1522
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @1296
- supplier @1508
- line_style 3
- origin_attachment (1718, 812)
- terminal_attachment (1718, 568)
- drawSupplier @1509)
- (object InheritView "" @1523
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1333
- supplier @1479
- line_style 3
- origin_attachment (1265, 1292)
- terminal_attachment (1265, 1065)
- drawSupplier @1480)
- (object InheritView "" @1524
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @1508
- supplier @1308
- vertices (list Points
- (2147, 291)
- (2147, 244)
- (1468, 244))
- line_style 3
- origin_attachment (2147, 291)
- terminal_attachment (1468, 244)))))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Main"
- quid "39E27F080076"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object CategoryView "Logical View::wsdl" @1525
- location (272, 256)
- label (object ItemLabel
- Parent_View @1525
- location (128, 172)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "wsdl")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ADFB8E5021E"
- width 300
- height 180)
- (object CategoryView "Logical View::soap" @1526
- location (704, 256)
- label (object ItemLabel
- Parent_View @1526
- location (560, 172)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "soap")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3A01CF0C01A2"
- width 300
- height 180)
- (object CategoryView "Logical View::xsd" @1527
- location (1152, 256)
- label (object ItemLabel
- Parent_View @1527
- location (1008, 172)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "xsd")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "39ABDC6F01AA"
- width 300
- height 180)))))
- root_subsystem (object SubSystem "Component View"
- quid "39E27F080065"
- physical_models (list unit_reference_list)
- physical_presentations (list unit_reference_list
- (object Module_Diagram "Main"
- quid "39E27F080077"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- process_structure (object Processes
- quid "39E27F080066"
- ProcsNDevs (list
- (object Process_Diagram "Deployment View"
- quid "39E27F080068"
- title "Deployment View"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- properties (object Properties
- attributes (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "DDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "DDL"
- name "DataBase"
- value ("DataBaseSet" 800))
- (object Attribute
- tool "DDL"
- name "DataBaseSet"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ANSI"
- value 800)
- (object Attribute
- tool "DDL"
- name "Oracle"
- value 801)
- (object Attribute
- tool "DDL"
- name "SQLServer"
- value 802)
- (object Attribute
- tool "DDL"
- name "Sybase"
- value 803)
- (object Attribute
- tool "DDL"
- name "Watcom"
- value 804)))
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnName"
- value "Id")
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnType"
- value "NUMBER(5)")
- (object Attribute
- tool "DDL"
- name "ViewName"
- value "V_")
- (object Attribute
- tool "DDL"
- name "TableName"
- value "T_")
- (object Attribute
- tool "DDL"
- name "InheritSuffix"
- value "_V")
- (object Attribute
- tool "DDL"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "BaseViews"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "DDLScriptFilename"
- value "DDL1.SQL")))
- (object Attribute
- tool "DDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ColumnType"
- value "VARCHAR")
- (object Attribute
- tool "DDL"
- name "Length"
- value "")
- (object Attribute
- tool "DDL"
- name "NullsOK"
- value TRUE)
- (object Attribute
- tool "DDL"
- name "PrimaryKey"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "Unique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "DDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "framework"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "IDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "StopOnError"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "IDL"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "DefaultSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "IDLElement"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "IDLSpecificationType"
- value ("IDLSpecSet" 22))
- (object Attribute
- tool "IDL"
- name "IDLSpecSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Interface"
- value 22)
- (object Attribute
- tool "IDL"
- name "Typedef"
- value 54)
- (object Attribute
- tool "IDL"
- name "Enumeration"
- value 8)
- (object Attribute
- tool "IDL"
- name "Const"
- value 71)
- (object Attribute
- tool "IDL"
- name "Exception"
- value 61)
- (object Attribute
- tool "IDL"
- name "Struct"
- value 51)
- (object Attribute
- tool "IDL"
- name "Union"
- value 81)))))
- (object Attribute
- tool "IDL"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.soap/src/rose/soapbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GenerateIDLModule"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.soap/src/rose/soapbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "Context"
- value "")
- (object Attribute
- tool "IDL"
- name "Raises"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")))
- (object Attribute
- tool "IDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Java"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "Java"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "Java"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "Java"
- name "UsePrefixes"
- value FALSE)
- (object Attribute
- tool "Java"
- name "InstanceVariablePrefix"
- value "m_")
- (object Attribute
- tool "Java"
- name "ClassVariablePrefix"
- value "s_")
- (object Attribute
- tool "Java"
- name "DefaultAttributeDataType"
- value "int")
- (object Attribute
- tool "Java"
- name "DefaultOperationReturnType"
- value "void")
- (object Attribute
- tool "Java"
- name "RootDir"
- value "")
- (object Attribute
- tool "Java"
- name "AutoSync"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ShowCodegenDlg"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocDefaultAuthor"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocDefaultVersion"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocDefaultSince"
- value "")
- (object Attribute
- tool "Java"
- name "JavadocNumAsterisks"
- value 0)
- (object Attribute
- tool "Java"
- name "MaxNumChars"
- value 80)
- (object Attribute
- tool "Java"
- name "Editor"
- value ("EditorType" 100))
- (object Attribute
- tool "Java"
- name "VM"
- value ("VMType" 200))
- (object Attribute
- tool "Java"
- name "ClassPath"
- value "")
- (object Attribute
- tool "Java"
- name "EditorType"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "BuiltIn"
- value 100)
- (object Attribute
- tool "Java"
- name "WindowsShell"
- value 101)))
- (object Attribute
- tool "Java"
- name "VMType"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Sun"
- value 200)
- (object Attribute
- tool "Java"
- name "Microsoft"
- value 201)
- (object Attribute
- tool "Java"
- name "IBM"
- value 202)))
- (object Attribute
- tool "Java"
- name "NoClassCustomDlg"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GlobalImports"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "OpenBraceClassStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "OpenBraceMethodStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "UseTabs"
- value FALSE)
- (object Attribute
- tool "Java"
- name "UseSpaces"
- value TRUE)
- (object Attribute
- tool "Java"
- name "SpacingItems"
- value 3)
- (object Attribute
- tool "Java"
- name "RoseDefaultCommentStyle"
- value TRUE)
- (object Attribute
- tool "Java"
- name "AsteriskCommentStyle"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavaCommentStyle"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocAuthor"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocSince"
- value FALSE)
- (object Attribute
- tool "Java"
- name "JavadocVersion"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Static"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateCode"
- value TRUE)
- (object Attribute
- tool "Java"
- name "DisableAutoSync"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletName"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContextRef"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsSingleThread"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletInitParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletInitParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletIsSecure"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcher"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcherPath"
- value "")
- (object Attribute
- tool "Java"
- name "DispatcherInclude"
- value FALSE)
- (object Attribute
- tool "Java"
- name "DispatcherForward"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "ServletgetInfo"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttribute"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttributesNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestAttributes"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestParameters"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeader"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeaderNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForHeaders"
- value "")
- (object Attribute
- tool "Java"
- name "ServletIntHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletDateHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletCookie"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForCookie"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContentType"
- value "")
- (object Attribute
- tool "Java"
- name "GenerateHTML"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Generate_XML_DD"
- value TRUE)
- (object Attribute
- tool "Java"
- name "EJBCmpField"
- value "")
- (object Attribute
- tool "Java"
- name "EJBEnvironmentProperties"
- value "")
- (object Attribute
- tool "Java"
- name "EJBCnxFactory"
- value "")
- (object Attribute
- tool "Java"
- name "EJBReferences"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "EJBNameInJAR"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSessionType"
- value ("EJBSessionType_Set" 200))
- (object Attribute
- tool "Java"
- name "EJBSessionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 200)
- (object Attribute
- tool "Java"
- name "Stateless"
- value 201)
- (object Attribute
- tool "Java"
- name "Stateful"
- value 202)))
- (object Attribute
- tool "Java"
- name "EJBTransactionType"
- value ("EJBTransactionType_Set" 211))
- (object Attribute
- tool "Java"
- name "EJBTransactionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Container"
- value 211)
- (object Attribute
- tool "Java"
- name "Bean"
- value 212)))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType"
- value ("EJBPersistenceType_Set" 220))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 220)
- (object Attribute
- tool "Java"
- name "Bean"
- value 221)
- (object Attribute
- tool "Java"
- name "Container"
- value 222)))
- (object Attribute
- tool "Java"
- name "EJBReentrant"
- value FALSE)
- (object Attribute
- tool "Java"
- name "BMP_Extend_CMP"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Abstract"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Static"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Native"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Synchronized"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)
- (object Attribute
- tool "Java"
- name "PropertyType"
- value ("BeanProperty_Set" 71))
- (object Attribute
- tool "Java"
- name "BeanProperty_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Not A Property"
- value 71)
- (object Attribute
- tool "Java"
- name "Simple"
- value 72)
- (object Attribute
- tool "Java"
- name "Bound"
- value 73)
- (object Attribute
- tool "Java"
- name "Constrained"
- value 74)))
- (object Attribute
- tool "Java"
- name "IndividualChangeMgt"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Read/Write"
- value ("Read/Write_Set" 81))
- (object Attribute
- tool "Java"
- name "Read/Write_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Read & Write"
- value 81)
- (object Attribute
- tool "Java"
- name "Read Only"
- value 82)
- (object Attribute
- tool "Java"
- name "Write Only"
- value 83)))
- (object Attribute
- tool "Java"
- name "GenerateFullyQualifiedTypes"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "Java"
- name "InitialValue"
- value "")
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)
- (object Attribute
- tool "Java"
- name "PropertyType"
- value ("BeanProperty_Set" 71))
- (object Attribute
- tool "Java"
- name "BeanProperty_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Not A Property"
- value 71)
- (object Attribute
- tool "Java"
- name "Simple"
- value 72)
- (object Attribute
- tool "Java"
- name "Bound"
- value 73)
- (object Attribute
- tool "Java"
- name "Constrained"
- value 74)))
- (object Attribute
- tool "Java"
- name "IndividualChangeMgt"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Read/Write"
- value ("Read/Write_Set" 81))
- (object Attribute
- tool "Java"
- name "Read/Write_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Read & Write"
- value 81)
- (object Attribute
- tool "Java"
- name "Read Only"
- value 82)
- (object Attribute
- tool "Java"
- name "Write Only"
- value 83)))
- (object Attribute
- tool "Java"
- name "GenerateFullyQualifiedTypes"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsNavigable"
- value TRUE)))
- (object Attribute
- tool "Java"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "propertyId"
- value "360000002")
- (object Attribute
- tool "Oracle8"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "DDLScriptFilename"
- value "DDL1.SQL")
- (object Attribute
- tool "Oracle8"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnName"
- value "_ID")
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnType"
- value "NUMBER(5,0)")
- (object Attribute
- tool "Oracle8"
- name "SchemaNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "SchemaNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNameSuffix"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "IsSchema"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "WhereClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeLength"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypePrecision"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeScale"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionOfREFS"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MethodKind"
- value ("MethodKindSet" 1903))
- (object Attribute
- tool "Oracle8"
- name "OverloadID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsReadNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsReadNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsSelfish"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "TriggerType"
- value ("TriggerTypeSet" 1801))
- (object Attribute
- tool "Oracle8"
- name "TriggerEvent"
- value ("TriggerEventSet" 1601))
- (object Attribute
- tool "Oracle8"
- name "TriggerText"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerReferencingNames"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerForEach"
- value ("TriggerForEachSet" 1701))
- (object Attribute
- tool "Oracle8"
- name "TriggerWhenClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "MethodKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MapMethod"
- value 1901)
- (object Attribute
- tool "Oracle8"
- name "OrderMethod"
- value 1902)
- (object Attribute
- tool "Oracle8"
- name "Function"
- value 1903)
- (object Attribute
- tool "Oracle8"
- name "Procedure"
- value 1904)
- (object Attribute
- tool "Oracle8"
- name "Operator"
- value 1905)
- (object Attribute
- tool "Oracle8"
- name "Constructor"
- value 1906)
- (object Attribute
- tool "Oracle8"
- name "Destructor"
- value 1907)
- (object Attribute
- tool "Oracle8"
- name "Trigger"
- value 1908)
- (object Attribute
- tool "Oracle8"
- name "Calculated"
- value 1909)))
- (object Attribute
- tool "Oracle8"
- name "TriggerTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "AFTER"
- value 1801)
- (object Attribute
- tool "Oracle8"
- name "BEFORE"
- value 1802)
- (object Attribute
- tool "Oracle8"
- name "INSTEAD OF"
- value 1803)))
- (object Attribute
- tool "Oracle8"
- name "TriggerForEachSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "ROW"
- value 1701)
- (object Attribute
- tool "Oracle8"
- name "STATEMENT"
- value 1702)))
- (object Attribute
- tool "Oracle8"
- name "TriggerEventSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "INSERT"
- value 1601)
- (object Attribute
- tool "Oracle8"
- name "UPDATE"
- value 1602)
- (object Attribute
- tool "Oracle8"
- name "DELETE"
- value 1603)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE"
- value 1604)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR DELETE"
- value 1605)
- (object Attribute
- tool "Oracle8"
- name "UPDATE OR DELETE"
- value 1606)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE OR DELETE"
- value 1607)))))
- (object Attribute
- tool "Oracle8"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "NullsAllowed"
- value TRUE)
- (object Attribute
- tool "Oracle8"
- name "Length"
- value "")
- (object Attribute
- tool "Oracle8"
- name "Precision"
- value "2")
- (object Attribute
- tool "Oracle8"
- name "Scale"
- value "6")
- (object Attribute
- tool "Oracle8"
- name "IsIndex"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsPrimaryKey"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Repository"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "cg"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "cg"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "UseMSVC"
- value FALSE)
- (object Attribute
- tool "cg"
- name "HeaderFileExtension"
- value "h")
- (object Attribute
- tool "cg"
- name "HeaderFileBackupExtension"
- value "h~")
- (object Attribute
- tool "cg"
- name "HeaderFileTemporaryExtension"
- value "h#")
- (object Attribute
- tool "cg"
- name "CodeFileExtension"
- value "cpp")
- (object Attribute
- tool "cg"
- name "CodeFileBackupExtension"
- value "cp~")
- (object Attribute
- tool "cg"
- name "CodeFileTemporaryExtension"
- value "cp#")
- (object Attribute
- tool "cg"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "cg"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ErrorLimit"
- value 30)
- (object Attribute
- tool "cg"
- name "Directory"
- value "$ROSECPP_SOURCE")
- (object Attribute
- tool "cg"
- name "PathSeparator"
- value "")
- (object Attribute
- tool "cg"
- name "FileNameFormat"
- value "128vx_b")
- (object Attribute
- tool "cg"
- name "BooleanType"
- value "int")
- (object Attribute
- tool "cg"
- name "AllowTemplates"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowExplicitInstantiations"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowProtectedInheritance"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CommentWidth"
- value 60)
- (object Attribute
- tool "cg"
- name "OneByValueContainer"
- value "$targetClass")
- (object Attribute
- tool "cg"
- name "OneByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "OptionalByValueContainer"
- value "OptionalByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "OptionalByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "FixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "FixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "BoundedByValueContainer"
- value "BoundedListByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByValueContainer"
- value "BoundedSetByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "BoundedByReferenceContainer"
- value "BoundedListByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByReferenceContainer"
- value "BoundedSetByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnboundedByValueContainer"
- value "UnboundedListByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByValueContainer"
- value "UnboundedSetByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnboundedByReferenceContainer"
- value "UnboundedListByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByReferenceContainer"
- value "UnboundedSetByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "QualifiedByValueContainer"
- value "AssociationByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByValueContainer"
- value "DictionaryByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "QualifiedByReferenceContainer"
- value "AssociationByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByReferenceContainer"
- value "DictionaryByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "cg"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "cg"
- name "ClassKey"
- value "class")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "PutBodiesInSpec"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDefaultConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "DefaultConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateCopyConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "CopyConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDestructor"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DestructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DestructorKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineDestructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateAssignmentOperation"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "AssignmentVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "AssignmentKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineAssignmentOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateEqualityOperations"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "EqualityVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "EqualityKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineEqualityOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "RelationalVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "RelationalKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StorageMgmtVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "SubscriptVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "SubscriptKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "SubscriptResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DereferenceVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DereferenceKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "DereferenceResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IndirectionVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "IndirectionKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "IndirectionResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StreamVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ThreeKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)))
- (object Attribute
- tool "cg"
- name "KindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)))
- (object Attribute
- tool "cg"
- name "FriendKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GenerateSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "DeclareAndDefine"
- value 199)
- (object Attribute
- tool "cg"
- name "DeclareOnly"
- value 205)
- (object Attribute
- tool "cg"
- name "DoNotDeclare"
- value 206)))
- (object Attribute
- tool "cg"
- name "VisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)))
- (object Attribute
- tool "cg"
- name "ConstValue"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DefaultSpecifier"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.soap/src/rose/soapbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.binding.soap/src/rose/soapbindingMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value TRUE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "OperationKind"
- value ("OperationKindSet" 200))
- (object Attribute
- tool "cg"
- name "OperationKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "OperationIsConst"
- value FALSE)
- (object Attribute
- tool "cg"
- name "OperationIsExplicit"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Inline"
- value FALSE)
- (object Attribute
- tool "cg"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ExitCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "BodyAnnotations"
- value "")
- (object Attribute
- tool "cg"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Context"
- value "")
- (object Attribute
- tool "cg"
- name "Raises"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "Ordered"
- value TRUE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$relationship")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$relationship")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorName"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorType"
- value "")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "cg"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Association"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")))
- (object Attribute
- tool "cg"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InstanceArguments"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "ContainerGet"
- value "$data.get($keys)")
- (object Attribute
- tool "cg"
- name "ContainerSet"
- value "$data.set($keys,$value)")
- (object Attribute
- tool "cg"
- name "QualifiedContainer"
- value "")
- (object Attribute
- tool "cg"
- name "AssocClassContainer"
- value "$supplier *")
- (object Attribute
- tool "cg"
- name "AssocClassInitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReference"
- value ("QualifiedGetSetByReferenceSet" 2))
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReferenceSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_GetSetByReference"
- value 2)))
- (object Attribute
- tool "cg"
- name "GenerateQualifiedGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "QualifiedGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineQualifiedGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateQualifiedSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "QualifiedSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineQualifiedSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "AssocClassGetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GenerateAssocClassGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "AssocClassGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineAssocClassGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "AssocClassSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineAssocClassSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassForwardReferenceOnly"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "cg"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$attribute")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtAttributeVisibility"
- value 211)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$attribute")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$attribute")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BodyReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "DirectoryIsOnSearchList"
- value FALSE)
- (object Attribute
- tool "cg"
- name "PrecompiledHeader"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Category"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "IsNamespace"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Indent"
- value 2)
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))))
- (object Attribute
- tool "MSVC"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "MSVC"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Version"
- value "5.0")))
- (object Attribute
- tool "MSVC"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCClassTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCClassTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Interface_Part"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Connection_Part"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Class_Factory"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionality"
- value ("CObjectFunctionalitySet" 0))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionalitySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Dynamic"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Dyncreate"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Serial"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "GenerateOverrideGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateDataGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DATA_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateFieldGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_FIELD_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMessageGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateMessageMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "OLEFactory"
- value ("OLEFactorySet" 0))
- (object Attribute
- tool "MSVC"
- name "OLEFactorySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Built_in"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Simple"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Licensed"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "OLEName"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLEClassID"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLECtlType"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLECtlType"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLETypeLib"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLETypeLibID"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMajor"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMinor"
- value "")
- (object Attribute
- tool "MSVC"
- name "GeneratePropPageIDs"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLEPropPageIDs"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateDispatchMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockProperties"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockFunctions"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DispatchDefValue"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateDispIdEnum"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISP_ID_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInterfaceMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "INTERFACE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "InitInterface"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateEventMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockEvents"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateEventSinkMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "PropNotifySinks"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ConnectionPointIID"
- value "")
- (object Attribute
- tool "MSVC"
- name "InheritanceType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLECommands"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCDeclares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCImplements"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ATL_Declares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateCOMMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "COM_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionPointMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_POINT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMsgMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GeneratePropertyMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "PROPERTY_MAP_Entries"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCOperationTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCOperationTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Virtual_Override"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Message_Handler"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dispatch_Handler"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Event_Firing_Function"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Event_Sink_Handler"
- value 5)
- (object Attribute
- tool "MSVC"
- name "Std_OLE_Method"
- value 6)
- (object Attribute
- tool "MSVC"
- name "Command_Parser"
- value 7)
- (object Attribute
- tool "MSVC"
- name "Property_Get_Function"
- value 8)
- (object Attribute
- tool "MSVC"
- name "Property_Set_Function"
- value 9)
- (object Attribute
- tool "MSVC"
- name "Property_Notify_Function"
- value 10)
- (object Attribute
- tool "MSVC"
- name "Macro_Generated_Function"
- value 11)))
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "BodyImage"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "MSVC"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "SCC"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "TypeLibImporter"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "propertyId"
- value "783606378")
- (object Attribute
- tool "Visual Basic"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "CreatableSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "Private"
- value 221)
- (object Attribute
- tool "Visual Basic"
- name "PublicNotCreatable"
- value 213)
- (object Attribute
- tool "Visual Basic"
- name "SingleUse"
- value 214)
- (object Attribute
- tool "Visual Basic"
- name "GlobalSingleUse"
- value 215)
- (object Attribute
- tool "Visual Basic"
- name "MultiUse"
- value 219)
- (object Attribute
- tool "Visual Basic"
- name "GlobalMultiUse"
- value 220)))
- (object Attribute
- tool "Visual Basic"
- name "OptionBase"
- value "0")
- (object Attribute
- tool "Visual Basic"
- name "OptionExplicit"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "OptionCompare"
- value ("CompareSet" 202))
- (object Attribute
- tool "Visual Basic"
- name "Creatable"
- value ("CreatableSet" 221))
- (object Attribute
- tool "Visual Basic"
- name "GenerateInitialization"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateTermination"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "CollectionClass"
- value "Collection")
- (object Attribute
- tool "Visual Basic"
- name "CompareSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "None"
- value 202)
- (object Attribute
- tool "Visual Basic"
- name "Binary"
- value 203)
- (object Attribute
- tool "Visual Basic"
- name "Text"
- value 204)))))
- (object Attribute
- tool "Visual Basic"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "OperationName"
- value "$operation")
- (object Attribute
- tool "Visual Basic"
- name "LibraryName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "AliasName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "IsStatic"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "Visual Basic"
- name "ExitCode"
- value (value Text ""))))
- (object Attribute
- tool "Visual Basic"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ImplementsDelegation"
- value TRUE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ProjectFile"
- value "")))
- (object Attribute
- tool "Visual Basic"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "VisualStudio"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "CORBA"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "CORBA"
- name "Editor"
- value ("EditorType" 100))
- (object Attribute
- tool "CORBA"
- name "IncludePath"
- value "")
- (object Attribute
- tool "CORBA"
- name "StopOnError"
- value TRUE)
- (object Attribute
- tool "CORBA"
- name "EditorType"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "BuiltIn"
- value 100)
- (object Attribute
- tool "CORBA"
- name "WindowsShell"
- value 101)))))
- (object Attribute
- tool "CORBA"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "ConstValue"
- value "")
- (object Attribute
- tool "CORBA"
- name "ImplementationType"
- value "")))
- (object Attribute
- tool "CORBA"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "CmIdentification"
- value (value Text " %X% %Q% %Z% %W%"))
- (object Attribute
- tool "CORBA"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")))
- (object Attribute
- tool "CORBA"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "CmIdentification"
- value (value Text " %X% %Q% %Z% %W%"))
- (object Attribute
- tool "CORBA"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "CORBA"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")))
- (object Attribute
- tool "CORBA"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "Context"
- value "")
- (object Attribute
- tool "CORBA"
- name "OperationIsOneWay"
- value FALSE)))
- (object Attribute
- tool "CORBA"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "CORBA"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "Order"
- value "")))
- (object Attribute
- tool "CORBA"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "ArrayDimensions"
- value "")
- (object Attribute
- tool "CORBA"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "CORBA"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "CORBA"
- name "Order"
- value "")
- (object Attribute
- tool "CORBA"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "CORBA"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "Array"
- value 24)
- (object Attribute
- tool "CORBA"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "CORBA"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "CORBA"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "CORBA"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Default_Servlet__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "ServletName"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContextRef"
- value FALSE)
- (object Attribute
- tool "Java"
- name "IsSingleThread"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletInitParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletInitParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletIsSecure"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcher"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletRequestDispatcherPath"
- value "")
- (object Attribute
- tool "Java"
- name "DispatcherInclude"
- value FALSE)
- (object Attribute
- tool "Java"
- name "DispatcherForward"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "ServletgetInfo"
- value "")
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "Http_Servlet__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "ServletRequestAttribute"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestAttributesNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestAttributes"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameter"
- value "")
- (object Attribute
- tool "Java"
- name "ServletRequestParameterNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForRequestParameters"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeader"
- value "")
- (object Attribute
- tool "Java"
- name "ServletHeaderNames"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForHeaders"
- value "")
- (object Attribute
- tool "Java"
- name "ServletIntHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletDateHeader"
- value FALSE)
- (object Attribute
- tool "Java"
- name "ServletCookie"
- value FALSE)
- (object Attribute
- tool "Java"
- name "MethodForCookie"
- value "")
- (object Attribute
- tool "Java"
- name "ServletContentType"
- value "")
- (object Attribute
- tool "Java"
- name "GenerateHTML"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "Default_EJB__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate_XML_DD"
- value TRUE)
- (object Attribute
- tool "Java"
- name "EJBCmpField"
- value "")
- (object Attribute
- tool "Java"
- name "EJBEnvironmentProperties"
- value "")
- (object Attribute
- tool "Java"
- name "EJBCnxFactory"
- value "")
- (object Attribute
- tool "Java"
- name "EJBReferences"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSecurityRoles"
- value "")
- (object Attribute
- tool "Java"
- name "EJBNameInJAR"
- value "")
- (object Attribute
- tool "Java"
- name "EJBSessionType"
- value ("EJBSessionType_Set" 200))
- (object Attribute
- tool "Java"
- name "EJBSessionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 200)
- (object Attribute
- tool "Java"
- name "Stateless"
- value 201)
- (object Attribute
- tool "Java"
- name "Stateful"
- value 202)))
- (object Attribute
- tool "Java"
- name "EJBTransactionType"
- value ("EJBTransactionType_Set" 211))
- (object Attribute
- tool "Java"
- name "EJBTransactionType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Container"
- value 211)
- (object Attribute
- tool "Java"
- name "Bean"
- value 212)))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType"
- value ("EJBPersistenceType_Set" 220))
- (object Attribute
- tool "Java"
- name "EJBPersistenceType_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name ""
- value 220)
- (object Attribute
- tool "Java"
- name "Bean"
- value 221)
- (object Attribute
- tool "Java"
- name "Container"
- value 222)))
- (object Attribute
- tool "Java"
- name "EJBReentrant"
- value FALSE)
- (object Attribute
- tool "Java"
- name "BMP_Extend_CMP"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "R2Editor"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Rose Model Integrator"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Rose Web Publisher"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Version Control"
- name "HiddenTool"
- value FALSE))
- quid "39E27F080067"))
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java
deleted file mode 100644
index 5a7f60fbd..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPAddress()
- * @model
- * @generated
- */
-public interface SOAPAddress extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPAddress {
-
-
-} // SOAPAddress
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java
deleted file mode 100644
index ffa285fa4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getTransportURI <em>Transport URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPBinding()
- * @model
- * @generated
- */
-public interface SOAPBinding extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPBinding {
-} // SOAPBinding
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java
deleted file mode 100644
index 429ce9508..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Body</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getEncodingStyles <em>Encoding Styles</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getParts <em>Parts</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPBody()
- * @model
- * @generated
- */
-public interface SOAPBody extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPBody {
-} // SOAPBody
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java
deleted file mode 100644
index 201d301d3..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage
- * @generated
- */
-public interface SOAPFactory extends EFactory{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- SOAPFactory eINSTANCE = new org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding</em>'.
- * @generated
- */
- SOAPBinding createSOAPBinding();
-
- /**
- * Returns a new object of class '<em>Body</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Body</em>'.
- * @generated
- */
- SOAPBody createSOAPBody();
-
- /**
- * Returns a new object of class '<em>Header Base</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Header Base</em>'.
- * @generated
- */
- SOAPHeaderBase createSOAPHeaderBase();
-
- /**
- * Returns a new object of class '<em>Fault</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Fault</em>'.
- * @generated
- */
- SOAPFault createSOAPFault();
-
- /**
- * Returns a new object of class '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Operation</em>'.
- * @generated
- */
- SOAPOperation createSOAPOperation();
-
- /**
- * Returns a new object of class '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Address</em>'.
- * @generated
- */
- SOAPAddress createSOAPAddress();
-
- /**
- * Returns a new object of class '<em>Header Fault</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Header Fault</em>'.
- * @generated
- */
- SOAPHeaderFault createSOAPHeaderFault();
-
- /**
- * Returns a new object of class '<em>Header</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Header</em>'.
- * @generated
- */
- SOAPHeader createSOAPHeader();
-
- /*
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated NOT
- */
- //SOAPPackage getSOAPPackage();
-
-} //SOAPFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java
deleted file mode 100644
index 86c995711..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Fault</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getEncodingStyles <em>Encoding Styles</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPFault()
- * @model
- * @generated
- */
-public interface SOAPFault extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPFault {
-
-} // SOAPFault
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java
deleted file mode 100644
index e5f107562..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Header</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader#getHeaderFaults <em>Header Faults</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeader()
- * @model
- * @generated
- */
-public interface SOAPHeader extends SOAPHeaderBase {
- /**
- * Returns the value of the '<em><b>Header Faults</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Header Faults</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Header Faults</em>' containment reference list.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeader_HeaderFaults()
- * @model type="org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault" containment="true"
- * @generated
- */
- EList getHeaderFaults();
-
-} // SOAPHeader
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java
deleted file mode 100644
index 2eeaa9b04..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Header Base</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getEncodingStyles <em>Encoding Styles</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage <em>Message</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart <em>Part</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase()
- * @model
- * @generated
- */
-public interface SOAPHeaderBase extends ExtensibilityElement{
- /**
- * Returns the value of the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Use</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Use</em>' attribute.
- * @see #setUse(String)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_Use()
- * @model
- * @generated
- */
- String getUse();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Use</em>' attribute.
- * @see #getUse()
- * @generated
- */
- void setUse(String value);
-
- /**
- * Returns the value of the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Namespace URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Namespace URI</em>' attribute.
- * @see #setNamespaceURI(String)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_NamespaceURI()
- * @model
- * @generated
- */
- String getNamespaceURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Namespace URI</em>' attribute.
- * @see #getNamespaceURI()
- * @generated
- */
- void setNamespaceURI(String value);
-
- /**
- * Returns the value of the '<em><b>Encoding Styles</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Encoding Styles</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Encoding Styles</em>' attribute list.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_EncodingStyles()
- * @model type="java.lang.String" dataType="org.eclipse.wst.wsdl.binding.soap.IString"
- * @generated
- */
- EList getEncodingStyles();
-
- /**
- * Returns the value of the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Message</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Message</em>' reference.
- * @see #setMessage(Message)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_Message()
- * @model required="true"
- * @generated
- */
- Message getMessage();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage <em>Message</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Message</em>' reference.
- * @see #getMessage()
- * @generated
- */
- void setMessage(Message value);
-
- /**
- * Returns the value of the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Part</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Part</em>' reference.
- * @see #setPart(Part)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_Part()
- * @model required="true"
- * @generated
- */
- Part getPart();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart <em>Part</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Part</em>' reference.
- * @see #getPart()
- * @generated
- */
- void setPart(Part value);
-
-} // SOAPHeaderBase
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java
deleted file mode 100644
index a3924e749..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Header Fault</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.wst.wsdl.bindings.soap.SOAPPackage#getSOAPHeaderFault()
- * @model
- * @generated
- */
-public interface SOAPHeaderFault extends SOAPHeaderBase {
-} // SOAPHeaderFault
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java
deleted file mode 100644
index f370492b2..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Operation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getSoapActionURI <em>Soap Action URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPOperation()
- * @model
- * @generated
- */
-public interface SOAPOperation extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPOperation {
-} // SOAPOperation
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java
deleted file mode 100644
index 66e564962..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java
+++ /dev/null
@@ -1,1068 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.wst.wsdl.WSDLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFactory
- * @generated
- */
-public interface SOAPPackage extends EPackage{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "soap";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.ibm.com/wsdl/2003/SOAP";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "soap";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- SOAPPackage eINSTANCE = org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl <em>Binding</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPBinding()
- * @generated
- */
- int SOAP_BINDING = 0;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Transport URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__TRANSPORT_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__STYLE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Binding</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBodyImpl <em>Body</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBodyImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPBody()
- * @generated
- */
- int SOAP_BODY = 1;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__USE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__NAMESPACE_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__ENCODING_STYLES = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Parts</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__PARTS = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the the '<em>Body</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl <em>Header Base</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPHeaderBase()
- * @generated
- */
- int SOAP_HEADER_BASE = 2;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__USE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__NAMESPACE_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__ENCODING_STYLES = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__MESSAGE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__PART = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the the '<em>Header Base</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl <em>Fault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPFault()
- * @generated
- */
- int SOAP_FAULT = 3;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__USE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__NAMESPACE_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__ENCODING_STYLES = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the the '<em>Fault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl <em>Operation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPOperation()
- * @generated
- */
- int SOAP_OPERATION = 4;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Soap Action URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__SOAP_ACTION_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__STYLE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Operation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPAddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPAddressImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPAddress()
- * @generated
- */
- int SOAP_ADDRESS = 5;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__LOCATION_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderFaultImpl <em>Header Fault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderFaultImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPHeaderFault()
- * @generated
- */
- int SOAP_HEADER_FAULT = 6;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT = SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__ELEMENT = SOAP_HEADER_BASE__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__REQUIRED = SOAP_HEADER_BASE__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__ELEMENT_TYPE = SOAP_HEADER_BASE__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__USE = SOAP_HEADER_BASE__USE;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__NAMESPACE_URI = SOAP_HEADER_BASE__NAMESPACE_URI;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__ENCODING_STYLES = SOAP_HEADER_BASE__ENCODING_STYLES;
-
- /**
- * The feature id for the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__MESSAGE = SOAP_HEADER_BASE__MESSAGE;
-
- /**
- * The feature id for the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__PART = SOAP_HEADER_BASE__PART;
-
- /**
- * The number of structural features of the the '<em>Header Fault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT_FEATURE_COUNT = SOAP_HEADER_BASE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderImpl <em>Header</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPHeader()
- * @generated
- */
- int SOAP_HEADER = 7;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__DOCUMENTATION_ELEMENT = SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__ELEMENT = SOAP_HEADER_BASE__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__REQUIRED = SOAP_HEADER_BASE__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__ELEMENT_TYPE = SOAP_HEADER_BASE__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__USE = SOAP_HEADER_BASE__USE;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__NAMESPACE_URI = SOAP_HEADER_BASE__NAMESPACE_URI;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__ENCODING_STYLES = SOAP_HEADER_BASE__ENCODING_STYLES;
-
- /**
- * The feature id for the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__MESSAGE = SOAP_HEADER_BASE__MESSAGE;
-
- /**
- * The feature id for the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__PART = SOAP_HEADER_BASE__PART;
-
- /**
- * The feature id for the '<em><b>Header Faults</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__HEADER_FAULTS = SOAP_HEADER_BASE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Header</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FEATURE_COUNT = SOAP_HEADER_BASE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '<em>IString</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see java.lang.String
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getIString()
- * @generated
- */
- int ISTRING = 8;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding
- * @generated
- */
- EClass getSOAPBinding();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getTransportURI <em>Transport URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Transport URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getTransportURI()
- * @see #getSOAPBinding()
- * @generated
- */
- EAttribute getSOAPBinding_TransportURI();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getStyle <em>Style</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Style</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getStyle()
- * @see #getSOAPBinding()
- * @generated
- */
- EAttribute getSOAPBinding_Style();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody <em>Body</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Body</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody
- * @generated
- */
- EClass getSOAPBody();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getUse <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Use</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getUse()
- * @see #getSOAPBody()
- * @generated
- */
- EAttribute getSOAPBody_Use();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getNamespaceURI <em>Namespace URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Namespace URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getNamespaceURI()
- * @see #getSOAPBody()
- * @generated
- */
- EAttribute getSOAPBody_NamespaceURI();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getEncodingStyles <em>Encoding Styles</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Encoding Styles</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getEncodingStyles()
- * @see #getSOAPBody()
- * @generated
- */
- EAttribute getSOAPBody_EncodingStyles();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getParts <em>Parts</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Parts</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getParts()
- * @see #getSOAPBody()
- * @generated
- */
- EReference getSOAPBody_Parts();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase <em>Header Base</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Header Base</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase
- * @generated
- */
- EClass getSOAPHeaderBase();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Use</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EAttribute getSOAPHeaderBase_Use();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI <em>Namespace URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Namespace URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EAttribute getSOAPHeaderBase_NamespaceURI();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getEncodingStyles <em>Encoding Styles</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Encoding Styles</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getEncodingStyles()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EAttribute getSOAPHeaderBase_EncodingStyles();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage <em>Message</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Message</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EReference getSOAPHeaderBase_Message();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart <em>Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Part</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EReference getSOAPHeaderBase_Part();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault <em>Fault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Fault</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault
- * @generated
- */
- EClass getSOAPFault();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getUse <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Use</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault#getUse()
- * @see #getSOAPFault()
- * @generated
- */
- EAttribute getSOAPFault_Use();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getNamespaceURI <em>Namespace URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Namespace URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault#getNamespaceURI()
- * @see #getSOAPFault()
- * @generated
- */
- EAttribute getSOAPFault_NamespaceURI();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getEncodingStyles <em>Encoding Styles</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Encoding Styles</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault#getEncodingStyles()
- * @see #getSOAPFault()
- * @generated
- */
- EAttribute getSOAPFault_EncodingStyles();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Operation</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation
- * @generated
- */
- EClass getSOAPOperation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getSoapActionURI <em>Soap Action URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Soap Action URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getSoapActionURI()
- * @see #getSOAPOperation()
- * @generated
- */
- EAttribute getSOAPOperation_SoapActionURI();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getStyle <em>Style</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Style</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getStyle()
- * @see #getSOAPOperation()
- * @generated
- */
- EAttribute getSOAPOperation_Style();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Address</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPAddress
- * @generated
- */
- EClass getSOAPAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress#getLocationURI <em>Location URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPAddress#getLocationURI()
- * @see #getSOAPAddress()
- * @generated
- */
- EAttribute getSOAPAddress_LocationURI();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault <em>Header Fault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Header Fault</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault
- * @generated
- */
- EClass getSOAPHeaderFault();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader <em>Header</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Header</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeader
- * @generated
- */
- EClass getSOAPHeader();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader#getHeaderFaults <em>Header Faults</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Header Faults</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeader#getHeaderFaults()
- * @see #getSOAPHeader()
- * @generated
- */
- EReference getSOAPHeader_HeaderFaults();
-
- /**
- * Returns the meta object for data type '{@link java.lang.String <em>IString</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>IString</em>'.
- * @see java.lang.String
- * @model instanceClass="java.lang.String"
- * @generated
- */
- EDataType getIString();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- SOAPFactory getSOAPFactory();
-
-} //SOAPPackage
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java
deleted file mode 100644
index 023eed619..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java
+++ /dev/null
@@ -1,376 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.generator;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.util.BasicEList;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.internal.generator.ContentGenerator;
-
-public class SOAPContentGenerator implements ContentGenerator
-{
- public static final int OPTION_NOT_SET = -1;
-
- public static final int STYLE_DOCUMENT = 1;
- public static final int STYLE_RPC = 2;
-
- public static final int USE_LITERAL = 1;
- public static final int USE_ENCODED = 2;
-
- private int styleOption = OPTION_NOT_SET;
- private int useOption = OPTION_NOT_SET;
-
- protected String namespaceValue = "";
- protected String addressLocation = ContentGenerator.ADDRESS_LOCATION;
-
- protected final static String[] requiredNamespaces = {"http://schemas.xmlsoap.org/wsdl/soap/"};
- protected final static String[] preferredNamespacePrefixes = {"soap"};
-
-
- public String[] getRequiredNamespaces()
- {
- return requiredNamespaces;
- }
-
- public String getPreferredNamespacePrefix(String namespace)
- {
- if (namespace.equals("http://schemas.xmlsoap.org/wsdl/soap/")) {
- return "soap";
- }
-
- return "";
- }
-
- public void setStyle(int style) {
- styleOption = style;
- }
-
- public void setUse(int use) {
- useOption = use;
- }
-
- public void setAddressLocation(String addressLocation) {
- this.addressLocation = addressLocation;
- }
-
- public void generatePortContent(Port port)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(port.getEExtensibilityElements());
- removeExtensebilityElements(port.getEExtensibilityElements(), removeList);
-
- SOAPAddress soapAddress= SOAPFactory.eINSTANCE.createSOAPAddress();
- soapAddress.setLocationURI(addressLocation);
- port.addExtensibilityElement(soapAddress);
- }
-
- public void generateBindingContent(Binding binding, PortType portType)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(binding.getEExtensibilityElements());
- removeExtensebilityElements(binding.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPBinding soapBinding = soapFactory.createSOAPBinding();
- soapBinding.setStyle((getStyleOption(binding) == STYLE_DOCUMENT) ? "document" : "rpc");
- soapBinding.setTransportURI("http://schemas.xmlsoap.org/soap/http");
-
- binding.addExtensibilityElement(soapBinding);
- }
-
- public void generateBindingOperationContent(BindingOperation bindingOperation, Operation operation)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingOperation.getEExtensibilityElements());
- removeExtensebilityElements(bindingOperation.getEExtensibilityElements(), removeList);
-
- SOAPOperation soapOperation = SOAPFactory.eINSTANCE.createSOAPOperation();
-
- String soapActionValue = getNamespace(bindingOperation);
- if (!soapActionValue.endsWith("/"))
- {
- soapActionValue += "/";
- }
- soapActionValue += operation.getName();
-
- soapOperation.setSoapActionURI(soapActionValue);
-
- bindingOperation.addExtensibilityElement(soapOperation);
- }
-
- public void generateBindingInputContent(BindingInput bindingInput, Input input)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingInput.getEExtensibilityElements());
- removeExtensebilityElements(bindingInput.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPBody soapBody = soapFactory.createSOAPBody();
- soapBody.setUse((getUseOption(null) == USE_ENCODED) ? "encoded" : "literal");
- if (getUseOption(bindingInput) == USE_ENCODED && getStyleOption(bindingInput) == STYLE_RPC)
- {
- List encodingList = new BasicEList();
- encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
- soapBody.setEncodingStyles(encodingList);
- soapBody.setNamespaceURI(getNamespace(bindingInput));
- }
- else if (getUseOption(bindingInput) == USE_LITERAL && getStyleOption(bindingInput) == STYLE_RPC) {
- soapBody.setNamespaceURI(getNamespace(bindingInput));
- }
-
- bindingInput.addExtensibilityElement(soapBody);
- }
-
- public void generateBindingOutputContent(BindingOutput bindingOutput, Output output)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingOutput.getEExtensibilityElements());
- removeExtensebilityElements(bindingOutput.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPBody soapBody = soapFactory.createSOAPBody();
- soapBody.setUse((getUseOption(bindingOutput) == USE_ENCODED) ? "encoded" : "literal");
- if (getUseOption(bindingOutput) == USE_ENCODED && getStyleOption(bindingOutput) == STYLE_RPC)
- {
- List encodingList = new BasicEList();
- encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
- soapBody.setEncodingStyles(encodingList);
- soapBody.setNamespaceURI(getNamespace(bindingOutput));
- }
- else if (getUseOption(bindingOutput) == USE_LITERAL && getStyleOption(bindingOutput) == STYLE_RPC) {
- soapBody.setNamespaceURI(getNamespace(bindingOutput));
- }
-
- bindingOutput.addExtensibilityElement(soapBody);
- }
-
- public void generateBindingFaultContent(BindingFault bindingFault, Fault fault)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingFault.getEExtensibilityElements());
- removeExtensebilityElements(bindingFault.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPFault soapFault = soapFactory.createSOAPFault();
- soapFault.setUse((getUseOption(bindingFault) == USE_ENCODED) ? "encoded" : "literal");
- soapFault.setName(fault.getName());
-// soapFault.setNamespaceURI(getNamespace(bindingFault));
-
- if (getUseOption(bindingFault) == USE_ENCODED && getStyleOption(bindingFault) == STYLE_RPC)
- {
- List encodingList = new BasicEList();
- encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
- soapFault.setEncodingStyles(encodingList);
- }
-
- bindingFault.addExtensibilityElement(soapFault);
- }
-
- private String getNamespace(WSDLElement wsdlElement) {
- if (namespaceValue.equals("") && wsdlElement != null) {
- namespaceValue = wsdlElement.getEnclosingDefinition().getTargetNamespace();
- }
- if (namespaceValue == null) {
- namespaceValue = "";
- }
-
- return namespaceValue;
- }
-
- private void removeExtensebilityElements(List originalList, List removeList) {
- Iterator removeIt = removeList.iterator();
- while (removeIt.hasNext()) {
- originalList.remove(removeIt.next());
- }
- }
-
- private Binding getBindingObject(Object genericBindingObject) {
- Object parent = genericBindingObject;
-
- int index = 0;
- while (parent != null && index < 5) {
- parent = getGenericBindingObjectParent(parent);
- if (parent instanceof Binding) {
- break;
- }
- index++;
- }
-
- return (parent instanceof Binding)? (Binding) parent : null;
- }
-
- private Object getGenericBindingObjectParent(Object genericBindingObject) {
- Object parent = null;
-
- if (genericBindingObject != null) {
- if (genericBindingObject instanceof BindingOperation) {
- parent = ((BindingOperation) genericBindingObject).getContainer();
- }
- else if (genericBindingObject instanceof BindingInput) {
- parent = ((BindingInput) genericBindingObject).getContainer();
- }
- else if (genericBindingObject instanceof BindingOutput) {
- parent = ((BindingOutput) genericBindingObject).getContainer();
- }
- else if (genericBindingObject instanceof BindingFault) {
- parent = ((BindingFault) genericBindingObject).getContainer();
- }
- }
-
- return parent;
- }
-
- private int getStyleOption(Object genericBindingObject) {
- if (styleOption == OPTION_NOT_SET && genericBindingObject != null) {
- // init() was never called, try to determine the 'style' based on what we have/know
- Binding binding = getBindingObject(genericBindingObject);
-
- // Try to determine the style from the Binding Object
- if (binding != null) {
- List list = binding.getEExtensibilityElements();
- Iterator valuesIt = getExtensibilityElementAttributeValue(list, "style").iterator();
-
- while (valuesIt.hasNext()) {
- String style = (String) valuesIt.next();
-
- if (style.equals("document")) {
- styleOption = STYLE_DOCUMENT;
- }
- else if (style.equals("rpc")) {
- styleOption = STYLE_RPC;
- }
-
- if (styleOption != OPTION_NOT_SET) {
- break;
- }
- }
- }
- }
-
- if (styleOption == OPTION_NOT_SET) {
- styleOption = STYLE_DOCUMENT;
- }
-
- return styleOption;
- }
-
- private int getUseOption(Object genericBindingObject) {
- if (useOption == OPTION_NOT_SET) {
- // init() was never called, try to determine the 'use' based on what we have/know
- Iterator messageRefIt = getMessageReferenceBindingObjects(genericBindingObject).iterator();
-
- // Try to determine the use from the list of BindingInputs, BindingOutputs, and BindingFaults
- while (messageRefIt.hasNext()) {
- Object messageRef = messageRefIt.next();
- List values = new ArrayList();
-
- if (messageRef instanceof BindingInput) {
- List list = ((BindingInput) messageRef).getEExtensibilityElements();
- values = getExtensibilityElementAttributeValue(list, "use");
- }
- else if (messageRef instanceof BindingOutput) {
- List list = ((BindingOutput) messageRef).getEExtensibilityElements();
- values = getExtensibilityElementAttributeValue(list, "use");
- }
- else if (messageRef instanceof BindingFault) {
- List list = ((BindingFault) messageRef).getEExtensibilityElements();
- values = getExtensibilityElementAttributeValue(list, "use");
- }
-
- Iterator valuesIt = values.iterator();
- while (valuesIt.hasNext()) {
- String use = (String) valuesIt.next();
-
- if (use.equals("literal")) {
- useOption = USE_LITERAL;
- }
- else if (use.equals("encoded")) {
- useOption = USE_ENCODED;
- }
- }
-
- if (useOption != OPTION_NOT_SET) {
- break;
- }
- }
- }
-
- if (useOption == OPTION_NOT_SET) {
- useOption = USE_LITERAL;
- }
-
- return useOption;
- }
-
- private List getMessageReferenceBindingObjects(Object genericBindingObject) {
- List list = new ArrayList();
- Binding binding = getBindingObject(genericBindingObject);
-
- if (binding != null) {
- Iterator operationsIt = binding.getEBindingOperations().iterator();
-
- while (operationsIt.hasNext()) {
- BindingOperation op = (BindingOperation) operationsIt.next();
- list.add(op.getEBindingInput());
- list.add(op.getEBindingOutput());
- list.addAll(op.getEBindingFaults());
- }
- }
-
- return list;
- }
-
- private List getExtensibilityElementAttributeValue(List eeList, String attributeKey) {
- List values = new ArrayList();
- Iterator eeElementsIt = eeList.iterator();
-
- while (eeElementsIt.hasNext()) {
- ExtensibilityElement eeElement = (ExtensibilityElement) eeElementsIt.next();
- String attributeValue = eeElement.getElement().getAttribute(attributeKey);
- if (attributeValue != null && !attributeValue.equals("")) {
- values.add(attributeValue);
- }
- }
-
- return values;
- }
-
- public String getProtocol() {
- return "SOAP";
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java
deleted file mode 100644
index c59a4e117..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPAddressImpl#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPAddressImpl extends ExtensibilityElementImpl implements SOAPAddress {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected String locationURI = LOCATION_URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPAddressImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPAddress();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocationURI()
- {
- return locationURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocationURI(String newLocationURI)
- {
- String oldLocationURI = locationURI;
- locationURI = newLocationURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_ADDRESS__LOCATION_URI, oldLocationURI, locationURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- return getLocationURI();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- setLocationURI((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- setLocationURI(LOCATION_URI_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- return LOCATION_URI_EDEFAULT == null ? locationURI != null : !LOCATION_URI_EDEFAULT.equals(locationURI);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (locationURI: ");
- result.append(locationURI);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setLocationURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.LOCATION_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPAddress_LocationURI())
- niceSetAttribute(theElement,SOAPConstants.LOCATION_ATTRIBUTE,getLocationURI());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.ADDRESS_ELEMENT_TAG);
- return elementType;
- }
-} //SOAPAddressImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java
deleted file mode 100644
index 6accd6635..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java
+++ /dev/null
@@ -1,324 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Binding</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl#getTransportURI <em>Transport URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPBindingImpl extends ExtensibilityElementImpl implements SOAPBinding {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getTransportURI() <em>Transport URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransportURI()
- * @generated
- * @ordered
- */
- protected static final String TRANSPORT_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTransportURI() <em>Transport URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransportURI()
- * @generated
- * @ordered
- */
- protected String transportURI = TRANSPORT_URI_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected static final String STYLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected String style = STYLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPBindingImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPBinding();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTransportURI()
- {
- return transportURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTransportURI(String newTransportURI)
- {
- String oldTransportURI = transportURI;
- transportURI = newTransportURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_BINDING__TRANSPORT_URI, oldTransportURI, transportURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStyle()
- {
- return style;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStyle(String newStyle)
- {
- String oldStyle = style;
- style = newStyle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_BINDING__STYLE, oldStyle, style));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- return getTransportURI();
- case SOAPPackage.SOAP_BINDING__STYLE:
- return getStyle();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- setTransportURI((String)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__STYLE:
- setStyle((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- setTransportURI(TRANSPORT_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__STYLE:
- setStyle(STYLE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- return TRANSPORT_URI_EDEFAULT == null ? transportURI != null : !TRANSPORT_URI_EDEFAULT.equals(transportURI);
- case SOAPPackage.SOAP_BINDING__STYLE:
- return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (transportURI: ");
- result.append(transportURI);
- result.append(", style: ");
- result.append(style);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setStyle
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.STYLE_ATTRIBUTE));
- setTransportURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.TRANSPORT_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPBinding_Style())
- niceSetAttribute(theElement,SOAPConstants.STYLE_ATTRIBUTE,getStyle());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPBinding_TransportURI())
- niceSetAttribute(theElement,SOAPConstants.TRANSPORT_ATTRIBUTE,getTransportURI());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.BINDING_ELEMENT_TAG);
- return elementType;
- }
-} //SOAPBindingImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java
deleted file mode 100644
index e204e9d06..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SOAPFactoryImpl extends EFactoryImpl implements SOAPFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case SOAPPackage.SOAP_BINDING: return createSOAPBinding();
- case SOAPPackage.SOAP_BODY: return createSOAPBody();
- case SOAPPackage.SOAP_HEADER_BASE: return createSOAPHeaderBase();
- case SOAPPackage.SOAP_FAULT: return createSOAPFault();
- case SOAPPackage.SOAP_OPERATION: return createSOAPOperation();
- case SOAPPackage.SOAP_ADDRESS: return createSOAPAddress();
- case SOAPPackage.SOAP_HEADER_FAULT: return createSOAPHeaderFault();
- case SOAPPackage.SOAP_HEADER: return createSOAPHeader();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case SOAPPackage.ISTRING:
- return createIStringFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case SOAPPackage.ISTRING:
- return convertIStringToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPBinding createSOAPBinding()
- {
- SOAPBindingImpl soapBinding = new SOAPBindingImpl();
- return soapBinding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPBody createSOAPBody()
- {
- SOAPBodyImpl soapBody = new SOAPBodyImpl();
- return soapBody;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPHeaderBase createSOAPHeaderBase()
- {
- SOAPHeaderBaseImpl soapHeaderBase = new SOAPHeaderBaseImpl();
- return soapHeaderBase;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPFault createSOAPFault()
- {
- SOAPFaultImpl soapFault = new SOAPFaultImpl();
- return soapFault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPOperation createSOAPOperation()
- {
- SOAPOperationImpl soapOperation = new SOAPOperationImpl();
- return soapOperation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPAddress createSOAPAddress()
- {
- SOAPAddressImpl soapAddress = new SOAPAddressImpl();
- return soapAddress;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPHeaderFault createSOAPHeaderFault()
- {
- SOAPHeaderFaultImpl soapHeaderFault = new SOAPHeaderFaultImpl();
- return soapHeaderFault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPHeader createSOAPHeader()
- {
- SOAPHeaderImpl soapHeader = new SOAPHeaderImpl();
- return soapHeader;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String createIStringFromString(EDataType eDataType, String initialValue)
- {
- return (String)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertIStringToString(EDataType eDataType, Object instanceValue)
- {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPPackage getSOAPPackage()
- {
- return (SOAPPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static SOAPPackage getPackage()
- {
- return SOAPPackage.eINSTANCE;
- }
-} //SOAPFactoryImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java
deleted file mode 100644
index 07809ad6d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java
+++ /dev/null
@@ -1,406 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Fault</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl#getEncodingStyles <em>Encoding Styles</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPFaultImpl extends ExtensibilityElementImpl implements SOAPFault {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected static final String USE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected String use = USE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected static final String NAMESPACE_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected String namespaceURI = NAMESPACE_URI_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEncodingStyles() <em>Encoding Styles</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncodingStyles()
- * @generated
- * @ordered
- */
- protected EList encodingStyles = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPFaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPFault();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUse()
- {
- return use;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUse(String newUse)
- {
- String oldUse = use;
- use = newUse;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_FAULT__USE, oldUse, use));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getNamespaceURI()
- {
- return namespaceURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNamespaceURI(String newNamespaceURI)
- {
- String oldNamespaceURI = namespaceURI;
- namespaceURI = newNamespaceURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_FAULT__NAMESPACE_URI, oldNamespaceURI, namespaceURI));
- }
-
-private String name;
-public String getName()
-{
- return name;
-}
-
-public void setName(String name)
-{
- this.name = name;
-}
-
-public void setEncodingStyles(List list)
-{
- encodingStyles = (EList)list;
-}
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getEncodingStyles()
- {
- if (encodingStyles == null)
- {
- encodingStyles = new EDataTypeUniqueEList(String.class, this, SOAPPackage.SOAP_FAULT__ENCODING_STYLES);
- }
- return encodingStyles;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_FAULT__USE:
- return getUse();
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- return getEncodingStyles();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_FAULT__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (use: ");
- result.append(use);
- result.append(", namespaceURI: ");
- result.append(namespaceURI);
- result.append(", encodingStyles: ");
- result.append(encodingStyles);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setName
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.NAME_ATTRIBUTE));
- setNamespaceURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.NAMESPACE_URI_ATTRIBUTE));
- setUse
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.USE_ATTRIBUTE));
-
- // TBD - handle encodingStyles
-
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPFault_NamespaceURI())
- niceSetAttribute(theElement,SOAPConstants.NAMESPACE_ATTRIBUTE,getNamespaceURI());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPFault_Use())
- niceSetAttribute(theElement,SOAPConstants.USE_ATTRIBUTE,getUse());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPFault_EncodingStyles())
- {
- List encodingStyleList = getEncodingStyles();
- String encodingStyles = "";
- Iterator iterator = encodingStyleList.iterator();
- while (iterator.hasNext())
- {
- if (encodingStyles.equals("")) // first iteration
- encodingStyles += (String)iterator.next();
- else
- encodingStyles += " " + (String)iterator.next();
- }
- if (!encodingStyles.equals(""))
- niceSetAttribute(theElement,SOAPConstants.ENCODING_STYLE_ATTRIBUTE,encodingStyles);
- } // TBD - Is this the proper way to handle encodingStyles
- if (getName() != null)
- niceSetAttribute(theElement,SOAPConstants.NAME_ATTRIBUTE,getName()); // Revisit Rose model
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.FAULT_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPFaultImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java
deleted file mode 100644
index 3ccc3a2dc..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java
+++ /dev/null
@@ -1,564 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import com.ibm.icu.util.StringTokenizer;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Header Base</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getEncodingStyles <em>Encoding Styles</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getMessage <em>Message</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getPart <em>Part</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPHeaderBaseImpl extends ExtensibilityElementImpl implements SOAPHeaderBase {
- /**
- * The default value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected static final String USE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected String use = USE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected static final String NAMESPACE_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected String namespaceURI = NAMESPACE_URI_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEncodingStyles() <em>Encoding Styles</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncodingStyles()
- * @generated
- * @ordered
- */
- protected EList encodingStyles = null;
-
- /**
- * The cached value of the '{@link #getMessage() <em>Message</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMessage()
- * @generated
- * @ordered
- */
- protected Message message = null;
-
- /**
- * The cached value of the '{@link #getPart() <em>Part</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPart()
- * @generated
- * @ordered
- */
- protected Part part = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPHeaderBaseImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPHeaderBase();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUse()
- {
- return use;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUse(String newUse)
- {
- String oldUse = use;
- use = newUse;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__USE, oldUse, use));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getNamespaceURI()
- {
- return namespaceURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNamespaceURI(String newNamespaceURI)
- {
- String oldNamespaceURI = namespaceURI;
- namespaceURI = newNamespaceURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI, oldNamespaceURI, namespaceURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEncodingStyles()
- {
- if (encodingStyles == null)
- {
- encodingStyles = new EDataTypeUniqueEList(String.class, this, SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES);
- }
- return encodingStyles;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message getMessage()
- {
- if (message != null && message.eIsProxy())
- {
- Message oldMessage = message;
- message = (Message)eResolveProxy((InternalEObject)message);
- if (message != oldMessage)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, SOAPPackage.SOAP_HEADER_BASE__MESSAGE, oldMessage, message));
- }
- }
- return message;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message basicGetMessage()
- {
- return message;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMessage(Message newMessage)
- {
- Message oldMessage = message;
- message = newMessage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__MESSAGE, oldMessage, message));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part getPart()
- {
- if (part != null && part.eIsProxy())
- {
- Part oldPart = part;
- part = (Part)eResolveProxy((InternalEObject)part);
- if (part != oldPart)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, SOAPPackage.SOAP_HEADER_BASE__PART, oldPart, part));
- }
- }
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part basicGetPart()
- {
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPart(Part newPart)
- {
- Part oldPart = part;
- part = newPart;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__PART, oldPart, part));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- return getUse();
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- return getEncodingStyles();
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- if (resolve) return getMessage();
- return basicGetMessage();
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- if (resolve) return getPart();
- return basicGetPart();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- setMessage((Message)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- setPart((Part)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- setMessage((Message)null);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- setPart((Part)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- return message != null;
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- return part != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (use: ");
- result.append(use);
- result.append(", namespaceURI: ");
- result.append(namespaceURI);
- result.append(", encodingStyles: ");
- result.append(encodingStyles);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- if (changedElement.hasAttribute(SOAPConstants.USE_ATTRIBUTE))
- setUse(changedElement.getAttribute(SOAPConstants.USE_ATTRIBUTE));
- if (changedElement.hasAttribute(SOAPConstants.NAMESPACE_ATTRIBUTE))
- setNamespaceURI(changedElement.getAttribute(SOAPConstants.NAMESPACE_ATTRIBUTE));
- if (changedElement.hasAttribute(SOAPConstants.ENCODING_STYLE_ATTRIBUTE))
- {
- String encodingStyles = changedElement.getAttribute(SOAPConstants.ENCODING_STYLE_ATTRIBUTE);
- StringTokenizer tokenizer = new StringTokenizer(encodingStyles);
- while (tokenizer.hasMoreTokens())
- getEncodingStyles().add(tokenizer.nextToken());
- }
-
- reconcileReferences(false);
- }
-
- public void reconcileReferences(boolean deep)
- {
- if (element != null && element.hasAttribute(SOAPConstants.MESSAGE_ATTRIBUTE))
- {
- Definition definition = getEnclosingDefinition();
- QName messageQName = createQName(definition, element.getAttribute(SOAPConstants.MESSAGE_ATTRIBUTE), element);
- Message newMessage = (messageQName != null) ? (Message) definition.getMessage(messageQName) : null;
- if (newMessage != null && newMessage != getMessage())
- setMessage(newMessage);
-
- if (element.hasAttribute(SOAPConstants.PART_ATTRIBUTE))
- {
- String partName = element.getAttribute(SOAPConstants.PART_ATTRIBUTE);
- Part newPart = (newMessage != null) ? (Part) newMessage.getPart(partName) : null;
- if (newPart != null && newPart != getPart())
- setPart(newPart);
- }
- }
- super.reconcileReferences(deep);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPHeaderBase_Use())
- niceSetAttribute(theElement,SOAPConstants.USE_ATTRIBUTE,getUse());
- if(eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPHeaderBase_NamespaceURI())
- niceSetAttribute(theElement,SOAPConstants.NAMESPACE_ATTRIBUTE,getNamespaceURI());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPHeaderBase_EncodingStyles())
- {
- List encodingStyleList = getEncodingStyles();
- String encodingStyles = "";
- Iterator iterator = encodingStyleList.iterator();
- while (iterator.hasNext())
- {
- if (encodingStyles.equals("")) // first iteration
- encodingStyles += (String)iterator.next();
- else
- encodingStyles += " " + (String)iterator.next();
- }
- if (!encodingStyles.equals(""))
- niceSetAttribute(theElement,SOAPConstants.ENCODING_STYLE_ATTRIBUTE,encodingStyles);
- }
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- if (isReconciling)
- return;
-
- super.changeReference(eReference);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eReference == null || eReference == SOAPPackage.eINSTANCE.getSOAPHeaderBase_Message())
- {
- Message message = getMessage();
- if (message != null)
- {
- QName qName = message.getQName();
- niceSetAttributeURIValue(theElement, SOAPConstants.MESSAGE_ATTRIBUTE, qName.getNamespaceURI() + "#" + qName.getLocalPart());
- }
- }
-
- if (eReference == null || eReference == SOAPPackage.eINSTANCE.getSOAPHeaderBase_Part())
- {
- Part part = getPart();
- if (part != null)
- {
- String partName = part.getName();
- niceSetAttribute(theElement, SOAPConstants.PART_ATTRIBUTE,partName);
- }
- }
- }
- }
-} //SOAPHeaderBaseImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java
deleted file mode 100644
index 403240079..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java
+++ /dev/null
@@ -1,208 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import java.util.Collection;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Header Fault</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class SOAPHeaderFaultImpl extends SOAPHeaderBaseImpl implements SOAPHeaderFault {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPHeaderFaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPHeaderFault();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- return getUse();
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- return getEncodingStyles();
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- if (resolve) return getMessage();
- return basicGetMessage();
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- if (resolve) return getPart();
- return basicGetPart();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- setMessage((Message)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- setPart((Part)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- setMessage((Message)null);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- setPart((Part)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- return message != null;
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- return part != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.HEADER_FAULT_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPHeaderFaultImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java
deleted file mode 100644
index da6241437..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import java.util.Collection;
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Header</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderImpl#getHeaderFaults <em>Header Faults</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPHeaderImpl extends SOAPHeaderBaseImpl implements SOAPHeader {
- /**
- * The cached value of the '{@link #getHeaderFaults() <em>Header Faults</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHeaderFaults()
- * @generated
- * @ordered
- */
- protected EList headerFaults = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPHeaderImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPHeader();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getHeaderFaults()
- {
- if (headerFaults == null)
- {
- headerFaults = new EObjectContainmentEList(SOAPHeaderFault.class, this, SOAPPackage.SOAP_HEADER__HEADER_FAULTS);
- }
- return headerFaults;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- return ((InternalEList)getHeaderFaults()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_HEADER__USE:
- return getUse();
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- return getEncodingStyles();
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- if (resolve) return getMessage();
- return basicGetMessage();
- case SOAPPackage.SOAP_HEADER__PART:
- if (resolve) return getPart();
- return basicGetPart();
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- return getHeaderFaults();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- setMessage((Message)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__PART:
- setPart((Part)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- getHeaderFaults().clear();
- getHeaderFaults().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- setMessage((Message)null);
- return;
- case SOAPPackage.SOAP_HEADER__PART:
- setPart((Part)null);
- return;
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- getHeaderFaults().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_HEADER__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- return message != null;
- case SOAPPackage.SOAP_HEADER__PART:
- return part != null;
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- return headerFaults != null && !headerFaults.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- if (SOAPConstants.HEADER_FAULT_ELEMENT_TAG.equals(child.getLocalName()))
- {
- SOAPHeaderFault fault = SOAPFactory.eINSTANCE.createSOAPHeaderFault();
- fault.setEnclosingDefinition(getEnclosingDefinition());
- fault.setElement(child);
- getHeaderFaults().add(fault);
- }
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- remove(this, i.next());
- }
- }
-
- protected void remove(Object component, Object modelObject)
- {
- SOAPHeader header = (SOAPHeader) component;
- if (modelObject instanceof SOAPHeaderFault)
- {
- header.getHeaderFaults().remove(modelObject);
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.HEADER_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPHeaderImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java
deleted file mode 100644
index a94e27611..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java
+++ /dev/null
@@ -1,325 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Operation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl#getSoapActionURI <em>Soap Action URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPOperationImpl extends ExtensibilityElementImpl implements SOAPOperation {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getSoapActionURI() <em>Soap Action URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSoapActionURI()
- * @generated
- * @ordered
- */
- protected static final String SOAP_ACTION_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSoapActionURI() <em>Soap Action URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSoapActionURI()
- * @generated
- * @ordered
- */
- protected String soapActionURI = SOAP_ACTION_URI_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected static final String STYLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected String style = STYLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPOperationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPOperation();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSoapActionURI()
- {
- return soapActionURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSoapActionURI(String newSoapActionURI)
- {
- String oldSoapActionURI = soapActionURI;
- soapActionURI = newSoapActionURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI, oldSoapActionURI, soapActionURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStyle()
- {
- return style;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStyle(String newStyle)
- {
- String oldStyle = style;
- style = newStyle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_OPERATION__STYLE, oldStyle, style));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- return getSoapActionURI();
- case SOAPPackage.SOAP_OPERATION__STYLE:
- return getStyle();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- setSoapActionURI((String)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__STYLE:
- setStyle((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- setSoapActionURI(SOAP_ACTION_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__STYLE:
- setStyle(STYLE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- return SOAP_ACTION_URI_EDEFAULT == null ? soapActionURI != null : !SOAP_ACTION_URI_EDEFAULT.equals(soapActionURI);
- case SOAPPackage.SOAP_OPERATION__STYLE:
- return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (soapActionURI: ");
- result.append(soapActionURI);
- result.append(", style: ");
- result.append(style);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setSoapActionURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.SOAP_ACTION_ATTRIBUTE));
- setStyle
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.STYLE_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPOperation_SoapActionURI())
- niceSetAttribute(theElement,SOAPConstants.SOAP_ACTION_ATTRIBUTE,getSoapActionURI());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPOperation_Style())
- niceSetAttribute(theElement,SOAPConstants.STYLE_ATTRIBUTE,getStyle());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.OPERATION_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPOperationImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java
deleted file mode 100644
index 8e1d126f8..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java
+++ /dev/null
@@ -1,594 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.internal.impl.WSDLPackageImpl;
-import org.eclipse.xsd.impl.XSDPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SOAPPackageImpl extends EPackageImpl implements SOAPPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapBindingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapBodyEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapHeaderBaseEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapFaultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapOperationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapAddressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapHeaderFaultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapHeaderEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType iStringEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private SOAPPackageImpl()
- {
- super(eNS_URI, SOAPFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static SOAPPackage init()
- {
- if (isInited) return (SOAPPackage)EPackage.Registry.INSTANCE.get(SOAPPackage.eNS_URI);
-
- // Obtain or create and register package.
- SOAPPackageImpl theSOAPPackage = (SOAPPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SOAPPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XSDPackageImpl.init();
-
- // Obtain or create and register interdependencies
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)(EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) : WSDLPackageImpl.eINSTANCE);
-
- // Step 1: create meta-model objects
- theSOAPPackage.createPackageContents();
- theWSDLPackage.createPackageContents();
-
- // Step 2: complete initialization
- theSOAPPackage.initializePackageContents();
- theWSDLPackage.initializePackageContents();
-
- return theSOAPPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPBinding()
- {
- return soapBindingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBinding_TransportURI()
- {
- return (EAttribute)soapBindingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBinding_Style()
- {
- return (EAttribute)soapBindingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPBody()
- {
- return soapBodyEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBody_Use()
- {
- return (EAttribute)soapBodyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBody_NamespaceURI()
- {
- return (EAttribute)soapBodyEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBody_EncodingStyles()
- {
- return (EAttribute)soapBodyEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPBody_Parts()
- {
- return (EReference)soapBodyEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPHeaderBase()
- {
- return soapHeaderBaseEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPHeaderBase_Use()
- {
- return (EAttribute)soapHeaderBaseEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPHeaderBase_NamespaceURI()
- {
- return (EAttribute)soapHeaderBaseEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPHeaderBase_EncodingStyles()
- {
- return (EAttribute)soapHeaderBaseEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPHeaderBase_Message()
- {
- return (EReference)soapHeaderBaseEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPHeaderBase_Part()
- {
- return (EReference)soapHeaderBaseEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPFault()
- {
- return soapFaultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPFault_Use()
- {
- return (EAttribute)soapFaultEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPFault_NamespaceURI()
- {
- return (EAttribute)soapFaultEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPFault_EncodingStyles()
- {
- return (EAttribute)soapFaultEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPOperation()
- {
- return soapOperationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPOperation_SoapActionURI()
- {
- return (EAttribute)soapOperationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPOperation_Style()
- {
- return (EAttribute)soapOperationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPAddress()
- {
- return soapAddressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPAddress_LocationURI()
- {
- return (EAttribute)soapAddressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPHeaderFault()
- {
- return soapHeaderFaultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPHeader()
- {
- return soapHeaderEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPHeader_HeaderFaults()
- {
- return (EReference)soapHeaderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getIString()
- {
- return iStringEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPFactory getSOAPFactory()
- {
- return (SOAPFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- soapBindingEClass = createEClass(SOAP_BINDING);
- createEAttribute(soapBindingEClass, SOAP_BINDING__TRANSPORT_URI);
- createEAttribute(soapBindingEClass, SOAP_BINDING__STYLE);
-
- soapBodyEClass = createEClass(SOAP_BODY);
- createEAttribute(soapBodyEClass, SOAP_BODY__USE);
- createEAttribute(soapBodyEClass, SOAP_BODY__NAMESPACE_URI);
- createEAttribute(soapBodyEClass, SOAP_BODY__ENCODING_STYLES);
- createEReference(soapBodyEClass, SOAP_BODY__PARTS);
-
- soapHeaderBaseEClass = createEClass(SOAP_HEADER_BASE);
- createEAttribute(soapHeaderBaseEClass, SOAP_HEADER_BASE__USE);
- createEAttribute(soapHeaderBaseEClass, SOAP_HEADER_BASE__NAMESPACE_URI);
- createEAttribute(soapHeaderBaseEClass, SOAP_HEADER_BASE__ENCODING_STYLES);
- createEReference(soapHeaderBaseEClass, SOAP_HEADER_BASE__MESSAGE);
- createEReference(soapHeaderBaseEClass, SOAP_HEADER_BASE__PART);
-
- soapFaultEClass = createEClass(SOAP_FAULT);
- createEAttribute(soapFaultEClass, SOAP_FAULT__USE);
- createEAttribute(soapFaultEClass, SOAP_FAULT__NAMESPACE_URI);
- createEAttribute(soapFaultEClass, SOAP_FAULT__ENCODING_STYLES);
-
- soapOperationEClass = createEClass(SOAP_OPERATION);
- createEAttribute(soapOperationEClass, SOAP_OPERATION__SOAP_ACTION_URI);
- createEAttribute(soapOperationEClass, SOAP_OPERATION__STYLE);
-
- soapAddressEClass = createEClass(SOAP_ADDRESS);
- createEAttribute(soapAddressEClass, SOAP_ADDRESS__LOCATION_URI);
-
- soapHeaderFaultEClass = createEClass(SOAP_HEADER_FAULT);
-
- soapHeaderEClass = createEClass(SOAP_HEADER);
- createEReference(soapHeaderEClass, SOAP_HEADER__HEADER_FAULTS);
-
- // Create data types
- iStringEDataType = createEDataType(ISTRING);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)EPackage.Registry.INSTANCE.getEPackage(WSDLPackage.eNS_URI);
-
- // Add supertypes to classes
- soapBindingEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapBodyEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapHeaderBaseEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapFaultEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapOperationEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapAddressEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapHeaderFaultEClass.getESuperTypes().add(this.getSOAPHeaderBase());
- soapHeaderEClass.getESuperTypes().add(this.getSOAPHeaderBase());
-
- // Initialize classes and features; add operations and parameters
- initEClass(soapBindingEClass, SOAPBinding.class, "SOAPBinding", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPBinding_TransportURI(), ecorePackage.getEString(), "transportURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPBinding_Style(), ecorePackage.getEString(), "style", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapBodyEClass, SOAPBody.class, "SOAPBody", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPBody_Use(), ecorePackage.getEString(), "use", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPBody_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPBody_EncodingStyles(), this.getIString(), "encodingStyles", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEReference(getSOAPBody_Parts(), theWSDLPackage.getPart(), null, "parts", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapHeaderBaseEClass, SOAPHeaderBase.class, "SOAPHeaderBase", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPHeaderBase_Use(), ecorePackage.getEString(), "use", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPHeaderBase_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPHeaderBase_EncodingStyles(), this.getIString(), "encodingStyles", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEReference(getSOAPHeaderBase_Message(), theWSDLPackage.getMessage(), null, "message", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
- initEReference(getSOAPHeaderBase_Part(), theWSDLPackage.getPart(), null, "part", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapFaultEClass, SOAPFault.class, "SOAPFault", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPFault_Use(), ecorePackage.getEString(), "use", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPFault_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPFault_EncodingStyles(), this.getIString(), "encodingStyles", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapOperationEClass, SOAPOperation.class, "SOAPOperation", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPOperation_SoapActionURI(), ecorePackage.getEString(), "soapActionURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPOperation_Style(), ecorePackage.getEString(), "style", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapAddressEClass, SOAPAddress.class, "SOAPAddress", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPAddress_LocationURI(), ecorePackage.getEString(), "locationURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapHeaderFaultEClass, SOAPHeaderFault.class, "SOAPHeaderFault", !IS_ABSTRACT, !IS_INTERFACE);
-
- initEClass(soapHeaderEClass, SOAPHeader.class, "SOAPHeader", !IS_ABSTRACT, !IS_INTERFACE);
- initEReference(getSOAPHeader_HeaderFaults(), this.getSOAPHeaderFault(), null, "headerFaults", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- // Initialize data types
- initEDataType(iStringEDataType, String.class, "IString", IS_SERIALIZABLE);
-
- // Create resource
- createResource(eNS_URI);
- }
-} //SOAPPackageImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java
deleted file mode 100644
index 2fbe03317..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage
- * @generated
- */
-public class SOAPAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static SOAPPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = SOAPPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPSwitch modelSwitch =
- new SOAPSwitch()
- {
- public Object caseSOAPBinding(SOAPBinding object)
- {
- return createSOAPBindingAdapter();
- }
- public Object caseSOAPBody(SOAPBody object)
- {
- return createSOAPBodyAdapter();
- }
- public Object caseSOAPHeaderBase(SOAPHeaderBase object)
- {
- return createSOAPHeaderBaseAdapter();
- }
- public Object caseSOAPFault(SOAPFault object)
- {
- return createSOAPFaultAdapter();
- }
- public Object caseSOAPOperation(SOAPOperation object)
- {
- return createSOAPOperationAdapter();
- }
- public Object caseSOAPAddress(SOAPAddress object)
- {
- return createSOAPAddressAdapter();
- }
- public Object caseSOAPHeaderFault(SOAPHeaderFault object)
- {
- return createSOAPHeaderFaultAdapter();
- }
- public Object caseSOAPHeader(SOAPHeader object)
- {
- return createSOAPHeaderAdapter();
- }
- public Object caseWSDLElement(WSDLElement object)
- {
- return createWSDLElementAdapter();
- }
- public Object caseIExtensibilityElement(ExtensibilityElement object)
- {
- return createIExtensibilityElementAdapter();
- }
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object)
- {
- return createExtensibilityElementAdapter();
- }
- public Object defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target)
- {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding
- * @generated
- */
- public Adapter createSOAPBindingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody <em>Body</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody
- * @generated
- */
- public Adapter createSOAPBodyAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase <em>Header Base</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase
- * @generated
- */
- public Adapter createSOAPHeaderBaseAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault <em>Fault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault
- * @generated
- */
- public Adapter createSOAPFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation
- * @generated
- */
- public Adapter createSOAPOperationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPAddress
- * @generated
- */
- public Adapter createSOAPAddressAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault <em>Header Fault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault
- * @generated
- */
- public Adapter createSOAPHeaderFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader <em>Header</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeader
- * @generated
- */
- public Adapter createSOAPHeaderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.WSDLElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.WSDLElement
- * @generated
- */
- public Adapter createWSDLElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.ExtensibilityElement <em>IExtensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.ExtensibilityElement
- * @generated
- */
- public Adapter createIExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.ExtensibilityElement <em>Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement
- * @generated
- */
- public Adapter createExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //SOAPAdapterFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java
deleted file mode 100644
index 56f34967d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import org.w3c.dom.Element;
-
-public final class SOAPConstants
-{
- public static final String ADDRESS_ELEMENT_TAG = "address";
- public static final String BINDING_ELEMENT_TAG = "binding";
- public static final String BODY_ELEMENT_TAG = "body";
- public static final String FAULT_ELEMENT_TAG = "fault";
- public static final String HEADER_ELEMENT_TAG = "header";
- public static final String HEADER_FAULT_ELEMENT_TAG = "headerfault";
- public static final String OPERATION_ELEMENT_TAG = "operation";
-
- public static final String SOAP_NAMESPACE_URI = "http://schemas.xmlsoap.org/wsdl/soap/";
-
- public static final String SOAP_ACTION_ATTRIBUTE ="soapAction";
- public static final String STYLE_ATTRIBUTE ="style";
- public static final String LOCATION_ATTRIBUTE ="location";
- public static final String TRANSPORT_ATTRIBUTE ="transport";
- public static final String USE_ATTRIBUTE ="use";
- public static final String NAMESPACE_ATTRIBUTE ="namespace";
- public static final String NAMESPACE_URI_ATTRIBUTE ="namespaceURI";
- public static final String NAME_ATTRIBUTE ="name";
- public static final String ENCODING_STYLE_ATTRIBUTE ="encodingStyle";
- public static final String MESSAGE_ATTRIBUTE ="message";
- public static final String PART_ATTRIBUTE ="part";
- public static final String PARTS_ATTRIBUTE ="parts";
-
- public static String getAttribute(Element element, String attributeName)
- {
- return element.hasAttribute(attributeName) ? element.getAttribute(attributeName) : null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java
deleted file mode 100644
index 0fa3a978f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-
-public class SOAPExtensibilityElementFactory implements ExtensibilityElementFactory
-{
- public ExtensibilityElement createExtensibilityElement(String namespace, String localName)
- {
- if (SOAPConstants.SOAP_NAMESPACE_URI.equals(namespace))
- {
- if (SOAPConstants.ADDRESS_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPAddress();
- }
- else if (SOAPConstants.BINDING_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPBinding();
- }
- else if (SOAPConstants.BODY_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPBody();
- }
- else if (SOAPConstants.FAULT_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPFault();
- }
- else if (SOAPConstants.OPERATION_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPOperation();
- }
- else if (SOAPConstants.HEADER_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPHeader();
- }
- else if (SOAPConstants.HEADER_FAULT_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPHeaderFault();
- }
- else
- {
- //System.out.println("Unhandled localName: " + localName);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
- else
- {
- //System.out.println("Unhandled namespace: " + namespace);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java
deleted file mode 100644
index 25ac8bfb2..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java
+++ /dev/null
@@ -1,358 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage
- * @generated
- */
-public class SOAPSwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static SOAPPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = SOAPPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject)
- {
- EClass theEClass = theEObject.eClass();
- if (theEClass.eContainer() == modelPackage)
- {
- switch (theEClass.getClassifierID())
- {
- case SOAPPackage.SOAP_BINDING:
- {
- SOAPBinding soapBinding = (SOAPBinding)theEObject;
- Object result = caseSOAPBinding(soapBinding);
- if (result == null) result = caseExtensibilityElement(soapBinding);
- if (result == null) result = caseWSDLElement(soapBinding);
- if (result == null) result = caseIExtensibilityElement(soapBinding);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_BODY:
- {
- SOAPBody soapBody = (SOAPBody)theEObject;
- Object result = caseSOAPBody(soapBody);
- if (result == null) result = caseExtensibilityElement(soapBody);
- if (result == null) result = caseWSDLElement(soapBody);
- if (result == null) result = caseIExtensibilityElement(soapBody);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_HEADER_BASE:
- {
- SOAPHeaderBase soapHeaderBase = (SOAPHeaderBase)theEObject;
- Object result = caseSOAPHeaderBase(soapHeaderBase);
- if (result == null) result = caseExtensibilityElement(soapHeaderBase);
- if (result == null) result = caseWSDLElement(soapHeaderBase);
- if (result == null) result = caseIExtensibilityElement(soapHeaderBase);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_FAULT:
- {
- SOAPFault soapFault = (SOAPFault)theEObject;
- Object result = caseSOAPFault(soapFault);
- if (result == null) result = caseExtensibilityElement(soapFault);
- if (result == null) result = caseWSDLElement(soapFault);
- if (result == null) result = caseIExtensibilityElement(soapFault);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_OPERATION:
- {
- SOAPOperation soapOperation = (SOAPOperation)theEObject;
- Object result = caseSOAPOperation(soapOperation);
- if (result == null) result = caseExtensibilityElement(soapOperation);
- if (result == null) result = caseWSDLElement(soapOperation);
- if (result == null) result = caseIExtensibilityElement(soapOperation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_ADDRESS:
- {
- SOAPAddress soapAddress = (SOAPAddress)theEObject;
- Object result = caseSOAPAddress(soapAddress);
- if (result == null) result = caseExtensibilityElement(soapAddress);
- if (result == null) result = caseWSDLElement(soapAddress);
- if (result == null) result = caseIExtensibilityElement(soapAddress);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_HEADER_FAULT:
- {
- SOAPHeaderFault soapHeaderFault = (SOAPHeaderFault)theEObject;
- Object result = caseSOAPHeaderFault(soapHeaderFault);
- if (result == null) result = caseSOAPHeaderBase(soapHeaderFault);
- if (result == null) result = caseExtensibilityElement(soapHeaderFault);
- if (result == null) result = caseWSDLElement(soapHeaderFault);
- if (result == null) result = caseIExtensibilityElement(soapHeaderFault);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_HEADER:
- {
- SOAPHeader soapHeader = (SOAPHeader)theEObject;
- Object result = caseSOAPHeader(soapHeader);
- if (result == null) result = caseSOAPHeaderBase(soapHeader);
- if (result == null) result = caseExtensibilityElement(soapHeader);
- if (result == null) result = caseWSDLElement(soapHeader);
- if (result == null) result = caseIExtensibilityElement(soapHeader);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
- return defaultCase(theEObject);
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPBinding(SOAPBinding object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Body</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Body</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPBody(SOAPBody object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Header Base</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Header Base</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPHeaderBase(SOAPHeaderBase object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Fault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Fault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPFault(SOAPFault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Operation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPOperation(SOAPOperation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPAddress(SOAPAddress object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Header Fault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Header Fault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPHeaderFault(SOAPHeaderFault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Header</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Header</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPHeader(SOAPHeader object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWSDLElement(WSDLElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIExtensibilityElement(ExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object)
- {
- return null;
- }
-
-} //SOAPSwitch
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html
deleted file mode 100644
index 9554345e4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" href="../../../../../..//apistyles.css" type="text/css">
-<title>WSDL Model SOAP Binding Extension API Overview</title>
-</head>
-<body>
-<p>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </p>
-<table width="500">
-<tr>
-<td>
-<p>The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml
deleted file mode 100644
index c2cb92a1c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html>
- <head>
- <meta
- name="root"
-
- content="../../../../../../" />
- <title>WSDL Model SOAP Binding Extension API Overview</title>
- </head>
-
- <body>
- <abstract>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </abstract>
- <p>The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
- </body>
-</html>
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/WSDL.mdl b/bundles/org.eclipse.wst.wsdl/src-wsdl/model/WSDL.mdl
deleted file mode 100644
index 55cf22073..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/WSDL.mdl
+++ /dev/null
@@ -1,31023 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Design "Logical View"
- is_unit TRUE
- is_loaded TRUE
- defaults (object defaults
- rightMargin 0.250000
- leftMargin 0.250000
- topMargin 0.250000
- bottomMargin 0.500000
- pageOverlap 0.250000
- clipIconLabels TRUE
- autoResize TRUE
- snapToGrid TRUE
- gridX 16
- gridY 16
- defaultFont (object Font
- size 10
- face "Arial"
- bold FALSE
- italics FALSE
- underline FALSE
- strike FALSE
- color 0
- default_color TRUE)
- showMessageNum 1
- showClassOfObject TRUE
- notation "Unified")
- root_usecase_package (object Class_Category "Use Case View"
- quid "39E27F080064"
- exportControl "Public"
- global TRUE
- logical_models (list unit_reference_list)
- logical_presentations (list unit_reference_list
- (object UseCaseDiagram "Main"
- quid "39E27F080078"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- root_category (object Class_Category "Logical View"
- quid "39E27F080063"
- exportControl "Public"
- global TRUE
- subsystem "Component View"
- quidu "39E27F080065"
- logical_models (list unit_reference_list
- (object Class_Category "wsdl"
- quid "3ADFB8E5021E"
- documentation
-|The WSDL model contains classes for the Web Services Description Language (WSDL).
-|
-|WSDL describes network services as sets of endpoints operating on messages. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
-|
-|WSDL describes the formats of the messages exchanged by the services, and supports the XML Schemas specification as its canonical type system. This package uses an XML Schema Infoset model package (see the XSD package) to describe the abstract message formats.
-|
-|The model contains the following diagrams, named after the corresponding chapters in the WSDL 1.1 specification (http://www.w3.org/TR/2001/NOTE-wsdl-20010315)
-|- 2.1 Definition, shows the WSDL definition element and the WSDL document structure
-|- 2.1.1 Naming and Linking, shows the namespace and import mechanism
-|- 2.1.3 Extensibility, shows the WSDL extensibility mechanism
-|- 2.2 Types, shows the use of XML Schema types in WSDL
-|- 2.3 Messages, 2.4 PortTypes, 2.5 Bindings and 2.7 Services, show the major WSDL elements and their relations.
-|
-|The WSDL classes extend the javax.wsdl interfaces defined by JSR 110. Classes with interface and datatype stereotypes are used to represent these non-MOF interfaces.
-
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "WSDLElement"
- quid "3AD5C6A302DD"
- documentation "This class represents a WSDL language element."
- operations (list Operations
- (object Operation "getEnclosingDefinition"
- quid "3CD1529600C8"
- result "Definition"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setEnclosingDefinition"
- quid "3CD152B80347"
- parameters (list Parameters
- (object Parameter "definition"
- type "Definition"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "documentationElement"
- quid "3CCE443602A3"
- type "DOMElement")
- (object ClassAttribute "element"
- quid "3F97DBD30207"
- type "DOMElement"))
- language "Java"
- abstract TRUE)
- (object Class "PortType"
- quid "3AD5C7F001A5"
- documentation "This class represents a WSDL portType element of the WSDL specification version 1.1 and an Interface component of the WSDL specification version 1.2. A port type or Interface is a named set of abstract operations and the abstract messages involved."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5C9B70150"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FD8019F"
- supplier "Logical View::wsdl::IPortType"
- quidu "3B84A5BE0331"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB488E0023"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1E301E5"
- type "boolean"))
- language "Java")
- (object Class "Operation"
- quid "3AD5C80D03CE"
- documentation "This class represents a WSDL operation element. A WSDL operation is an abstract description of an action supported by a service."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE9DE98003C"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FE20171"
- supplier "Logical View::wsdl::IOperation"
- quidu "3B84A77600D1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "style"
- quid "3AEB472601AC"
- type "OperationType")
- (object ClassAttribute "name"
- quid "3BDD9643004C"
- type "String")
- (object ClassAttribute "undefined"
- quid "3BDDF235003E"
- type "boolean"))
- language "Java")
- (object Class "Message"
- quid "3AD5C9590078"
- documentation "This class represents a WSDL message element. A WSDL message is an abstract, typed definition of the data being communicated."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5D05501C4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3B84A8D102BA"
- supplier "Logical View::wsdl::IMessage"
- quidu "3B84A8AF004F"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB487C01FE"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1D20226"
- type "boolean"))
- language "Java")
- (object Class "Part"
- quid "3AD5CE1C032E"
- documentation "This class represents a WSDL part element. Parts describe the logical abstract content of a message. Each part is associated with a type from some type system. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84A96D02F1"
- supplier "Logical View::wsdl::IPart"
- quidu "3B84A93F01BE")
- (object Inheritance_Relationship
- quid "3B897E230237"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3BCE70B703C8"
- type "String")
- (object ClassAttribute "elementName"
- quid "3B84B08703DB"
- type "QName")
- (object ClassAttribute "typeName"
- quid "3BCE70C303C5"
- type "QName"))
- language "Java")
- (object Class "Binding"
- quid "3AD5D2860261"
- documentation "This class represents a WSDL binding element. A binding defines message format and protocol details for operations and messages defined by a particular portType. There may be any number of bindings for a given portType."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA0F02F0"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B8595410129"
- supplier "Logical View::wsdl::IBinding"
- quidu "3B84ABC60219"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB4899014B"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1F401A3"
- type "boolean"))
- language "Java")
- (object Class "BindingOperation"
- quid "3AD5D3CB0145"
- documentation "This class represents a WSDL operation element within a binding. An operation element within a binding specifies binding information for the operation with the same name within the binding's portType. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD6009202F7"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84ADE401DC"
- supplier "Logical View::wsdl::IBindingOperation"
- quidu "3B84ADC00072"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B89C4CB0199"
- type "String"))
- language "Java")
- (object Class "Service"
- quid "3AD5D8F002F8"
- documentation "This class represents a WSDL service element. A service groups a set of related ports together."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA20025E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954E01B4"
- supplier "Logical View::wsdl::IService"
- quidu "3B84AB490287"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB48A40151"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF20D0203"
- type "boolean"))
- language "Java")
- (object Class "Port"
- quid "3AD5D9170286"
- documentation "This class represents a WSDL port element. A port defines an individual endpoint by specifying a single address for a binding"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD600CB00AA"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954502C9"
- supplier "Logical View::wsdl::IPort"
- quidu "3B84AB800326"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3AD5D9A00391"
- type "String"))
- language "Java")
- (object Class "ExtensibilityElement"
- quid "3AD5DBB602A9"
- documentation "This class represents a WSDL extensibility element. WSDL allows extensibility elements representing a specific technology under various elements defined by WSDL."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84B14903D0"
- supplier "Logical View::wsdl::IExtensibilityElement"
- quidu "3B84B12402AB")
- (object Inheritance_Relationship
- quid "3BDDF53502C3"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3AF9543C0073"
- type "boolean")
- (object ClassAttribute "elementType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B85B21A0271"
- type "QName"))
- language "Java")
- (object Class "Definition"
- quid "3AD5E43F008E"
- documentation "This class represents a WSDL definitions element. The WSDL definitions element is the root element of a WSDL document."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FDB803D4"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84B1F80382"
- supplier "Logical View::wsdl::IDefinition"
- quidu "3B84B1D90142"))
- operations (list Operations
- (object Operation "getDocument"
- quid "3CD14FC2012B"
- result "DOMDocument"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocument"
- quid "3CD150DE01E7"
- parameters (list Parameters
- (object Parameter "document"
- type "DOMDocument"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "targetNamespace"
- quid "3AD5E474004E"
- type "String")
- (object ClassAttribute "location"
- quid "40352B7C0396"
- type "String")
- (object ClassAttribute "qName"
- quid "3AEB485702F5"
- type "QName")
- (object ClassAttribute "encoding"
- quid "3CADD00D000D"
- type "String"))
- language "Java")
- (object Class "Import"
- quid "3AD5E4F903DE"
- documentation "This class represents WSDL import element. WSDL allows associating a namespace with a document location using an import element."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5EE58037A"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F200D0340"
- supplier "Logical View::wsdl::IImport"
- quidu "3B84B2020119"))
- operations (list Operations
- (object Operation "getSchema"
- quid "3C8672C10379"
- result "XSDSchema"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setSchema"
- quid "3C8672C10397"
- parameters (list Parameters
- (object Parameter "schema"
- type "XSDSchema"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceURI"
- quid "3AD5E50A0036"
- type "String")
- (object ClassAttribute "locationURI"
- quid "3AD5E5140211"
- type "String"))
- language "Java")
- (object Class "ExtensibleElement"
- quid "3AD5FCFA033A"
- documentation " WSDL allows elements representing a specific technology (referred to here as extensibility elements) under various elements defined by WSDL. This class represents a WSDL point of extensibility."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FE3C03D4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- operations (list Operations
- (object Operation "getExtensibilityElements"
- quid "3B85C12C03CD"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addExtensibilityElement"
- quid "3B85C1470295"
- parameters (list Parameters
- (object Parameter "extElement"
- type "IExtensibilityElement"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java"
- abstract TRUE)
- (object Class "Input"
- quid "3AE0789F0059"
- documentation "This class represents a WSDL input element. An input element specifies the abstract message format for the input of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C504025F"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67722802E7"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FEE031D"
- supplier "Logical View::wsdl::IInput"
- quidu "3B84A7EE0015"))
- language "Java")
- (object Class "Output"
- quid "3AE078B60232"
- documentation "This class represents a WSDL output element. An output element specifies the abstract message format for the output of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C50C035B"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723500DD"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FF801CD"
- supplier "Logical View::wsdl::IOutput"
- quidu "3B84A829027D"))
- language "Java")
- (object Class "Fault"
- quid "3AE078BE0108"
- documentation "This class represents a WSDL fault element. Fault elements specify the abstract message format for any error messages that may be output as the result of the operation "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE1C82002F2"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723D0319"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F2002002D"
- supplier "Logical View::wsdl::IFault"
- quidu "3B84A861031D"))
- language "Java")
- (object Class "BindingInput"
- quid "3AE08A8202D4"
- documentation "This class represents a WSDL input element within a operation within a binding. An input element within an operation within a binding specifies binding information for the input of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE1B0113"
- supplier "Logical View::wsdl::IBindingInput"
- quidu "3B84ADEB0100")
- (object Inheritance_Relationship
- quid "3B85B59B0072"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getInput"
- quid "3C8653A40203"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8653B503A2"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C1EA020E"
- type "String"))
- language "Java")
- (object Class "BindingOutput"
- quid "3AE08A8F028C"
- documentation "This class represents a WSDL output element within a operation within a binding. An output element within an operation within a binding specifies binding information for the output of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE4302AB"
- supplier "Logical View::wsdl::IBindingOutput"
- quidu "3B84AE210111")
- (object Inheritance_Relationship
- quid "3B85B5A4027E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getOutput"
- quid "3C8653D900F1"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8653F10326"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C20200BE"
- type "String"))
- language "Java")
- (object Class "BindingFault"
- quid "3AE08A9E03A6"
- documentation "This class represents a WSDL fault element within a operation within a binding. A fault element within an operation within a binding specifies binding information for the fault with the same name. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE0938602C9"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84AE710333"
- supplier "Logical View::wsdl::IBindingFault"
- quidu "3B84AE4F00BD"))
- operations (list Operations
- (object Operation "getFault"
- quid "3C865413037F"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setFault"
- quid "3C8654210109"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85BF9E014A"
- type "String"))
- language "Java")
- (object Class "QName"
- quid "3AE8ED220140"
- documentation "This class represents the javax.wsdl.QName class. A QName is a fully qualified name."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.xml.namespace.QName"
- quid "3B849DA9003D"
- stereotype "javaclass"))
- language "Java")
- (object Class "Namespace"
- quid "3AEA3CD30030"
- documentation "This class represents a namespace and the corresponding namespace prefix used in a WSDL document."
- class_attributes (list class_attribute_list
- (object ClassAttribute "URI"
- quid "3AEA3D2901B1"
- type "String")
- (object ClassAttribute "prefix"
- quid "3AEA3D320236"
- type "String"))
- language "Java")
- (object Class "OperationType"
- quid "3AEB4782024F"
- documentation
-|ONE_WAY=1
-|REQUEST_RESPONSE=2
-|SOLICIT_RESPONSE=3
-|NOTIFICATION=4
-
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.OperationType"
- quid "3B85C35303E3"
- stereotype "javaclass"))
- language "Java")
- (object Class "IPortType"
- quid "3B84A5BE0331"
- documentation "This class represents the javax.wsdl.PortType non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addOperation"
- quid "3B896AC101CA"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3B896BAF01A4"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperations"
- quid "3B896BF7031A"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.PortType"
- quid "3B84A632000D"
- stereotype "javaclass")))
- (object Class "IOperation"
- quid "3B84A77600D1"
- documentation "This class represents the javax.wsdl.Operation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addFault"
- quid "3B896C420065"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFault"
- quid "3B896C59028F"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFaults"
- quid "3B896C7102B1"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParameterOrdering"
- quid "3B896C8101B0"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setParameterOrdering"
- quid "3B896C99031D"
- parameters (list Parameters
- (object Parameter "parameterOrder"
- type "IList"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getInput"
- quid "3C8654E5018D"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8662C40107"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOutput"
- quid "3C8662E40094"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8662F001D2"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Operation"
- quid "3B84A799012B"
- stereotype "javaclass")))
- (object Class "IInput"
- quid "3B84A7EE0015"
- documentation "This class represents the javax.wsdl.Input non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86633100EF"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8663470277"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Input"
- quid "3B84A8000039"
- stereotype "javaclass")))
- (object Class "IOutput"
- quid "3B84A829027D"
- documentation "This class represents the javax.wsdl.Output non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86643A035D"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C86644501C8"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Output"
- quid "3B84A83901D5"
- stereotype "javaclass")))
- (object Class "IFault"
- quid "3B84A861031D"
- documentation "This class represents the javax.wsdl.Fault non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86646A00BD"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8664750131"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Fault"
- quid "3B84A8710208"
- stereotype "javaclass")))
- (object Class "IMessage"
- quid "3B84A8AF004F"
- documentation "This class represents the javax.wsdl.Message non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPart"
- quid "3B8972240273"
- parameters (list Parameters
- (object Parameter "part"
- type "IPart"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPart"
- quid "3B89723D0233"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParts"
- quid "3B897254025E"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOrderedParts"
- quid "3B897261020D"
- parameters (list Parameters
- (object Parameter "partOrder"
- type "IList"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Message"
- quid "3B84A8BC0260"
- stereotype "javaclass")))
- (object Class "IPart"
- quid "3B84A93F01BE"
- documentation "This class represents the javax.wsdl.Part non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "setExtensionAttribute"
- quid "3C4688450052"
- parameters (list Parameters
- (object Parameter "name"
- type "QName")
- (object Parameter "value"
- type "QName"))
- exceptions "WSDLException"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttributeNames"
- quid "3C468A0101C3"
- result "IIterator"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttribute"
- quid "3C468A2D02D5"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "QName"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Part"
- quid "3B84A9500231"
- stereotype "javaclass")))
- (object Class "IService"
- quid "3B84AB490287"
- documentation "This class represents the javax.wsdl.Service non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPort"
- quid "3B895D5601D1"
- parameters (list Parameters
- (object Parameter "port"
- type "IPort"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPorts"
- quid "3B895DA20036"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPort"
- quid "3B895DB001BC"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Service"
- quid "3B84AB5B003E"
- stereotype "javaclass")))
- (object Class "IPort"
- quid "3B84AB800326"
- documentation "This class represents the javax.wsdl.Port non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getBinding"
- quid "3C8651F302B5"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBinding"
- quid "3C86526302F2"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Port"
- quid "3B84AB8C0016"
- stereotype "javaclass")))
- (object Class "IBinding"
- quid "3B84ABC60219"
- documentation "This class represents the javax.wsdl.Binding non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingOperation"
- quid "3B895F160153"
- parameters (list Parameters
- (object Parameter "bindingOperation"
- type "IBindingOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperation"
- quid "3B895F500066"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperations"
- quid "3B895FA401C5"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3C8652A90284"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setPortType"
- quid "3C8652BE01A8"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Binding"
- quid "3B84ABCF0302"
- stereotype "javaclass")))
- (object Class "IBindingOperation"
- quid "3B84ADC00072"
- documentation "This class represents the javax.wsdl.BindingOperation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingFault"
- quid "3B8960BC0041"
- parameters (list Parameters
- (object Parameter "bindingFault"
- type "IBindingFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFault"
- quid "3B8960D9009D"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFaults"
- quid "3B8960FC0061"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3C86532D0017"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOperation"
- quid "3C86533F037B"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingInput"
- quid "3C86550900DA"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingInput"
- quid "3C86551D007F"
- parameters (list Parameters
- (object Parameter "bindingInput"
- type "IBindingInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOutput"
- quid "3C8655340349"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingOutput"
- quid "3C86554702A6"
- parameters (list Parameters
- (object Parameter "bindingOutput"
- type "IBindingOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOperation"
- quid "3B84ADCB021C"
- stereotype "javaclass")))
- (object Class "IBindingInput"
- quid "3B84ADEB0100"
- documentation "This class represents the javax.wsdl.BindingInput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingInput"
- quid "3B84ADFE000D"
- stereotype "javaclass")))
- (object Class "IBindingOutput"
- quid "3B84AE210111"
- documentation "This class represents the javax.wsdl.BindingOutput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOutput"
- quid "3B84AE2D0050"
- stereotype "javaclass")))
- (object Class "IBindingFault"
- quid "3B84AE4F00BD"
- documentation "This class represents the javax.wsdl.BindingFault non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingFault"
- quid "3B84AE5F002A"
- stereotype "javaclass")))
- (object Class "DOMElement"
- quid "3B84AF3203DB"
- documentation "This class represents the org.w3c.dom.Element non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B84AF560292"
- stereotype "javaclass")))
- (object Class "IExtensibilityElement"
- quid "3B84B12402AB"
- documentation "This class represents the javax.wsdl.ExtensibilityElement non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensibilityElement"
- quid "3B84B13503D1"
- stereotype "javaclass")))
- (object Class "IDefinition"
- quid "3B84B1D90142"
- documentation "This class represents the javax.wsdl.Definition non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBinding"
- quid "3B8988F1039D"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addImport"
- quid "3B8989490259"
- parameters (list Parameters
- (object Parameter "importDef"
- type "IImport"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addMessage"
- quid "3B89896E005E"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addNamespace"
- quid "3B898984004B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String")
- (object Parameter "namespaceURI"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addPortType"
- quid "3B8989C50045"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addService"
- quid "3B8989E401EE"
- parameters (list Parameters
- (object Parameter "service"
- type "IService"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingFault"
- quid "3B898A17038C"
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingInput"
- quid "3B898A320286"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOutput"
- quid "3B898A46013B"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOperation"
- quid "3B898A5C00B0"
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBinding"
- quid "3B8989FE037C"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createFault"
- quid "3B898A7502E7"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createImport"
- quid "3B898A83014C"
- result "IImport"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createInput"
- quid "3B898A9D033E"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createMessage"
- quid "3B898AAF0254"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOperation"
- quid "3B898AC203C4"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOutput"
- quid "3B898AE800ED"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPart"
- quid "3B898AF8026D"
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPort"
- quid "3B898B0801DA"
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPortType"
- quid "3B898B15039B"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createService"
- quid "3B898B32013A"
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBinding"
- quid "3B898B420075"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindings"
- quid "3B898B920341"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BCD0060"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BE70144"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessage"
- quid "3B898C170107"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessages"
- quid "3B898C3E001D"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespace"
- quid "3B898C62014B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespaces"
- quid "3B898C740115"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3B898CBE0071"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortTypes"
- quid "3B898CDA01C6"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPrefix"
- quid "3B898CFD0017"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getService"
- quid "3B898D2300A8"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getServices"
- quid "3B898D3B03CE"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionRegistry"
- quid "3B89D5B8012B"
- result "IExtensionRegistry"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setExtensionRegistry"
- quid "3B89D5D703BB"
- parameters (list Parameters
- (object Parameter "extensionRegistry"
- type "IExtensionRegistry"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getDocumentBaseURI"
- quid "3B89D5FE0208"
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocumentBaseURI"
- quid "3B89D6180328"
- parameters (list Parameters
- (object Parameter "documentBase"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createTypes"
- quid "3CADD0560080"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeService"
- quid "3CADD07E004C"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeBinding"
- quid "3CADD0BA0355"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removePortType"
- quid "3CADD0D8029A"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeMessage"
- quid "3CADD0FA0307"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getTypes"
- quid "3C86706F031B"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setTypes"
- quid "3C86709500EE"
- parameters (list Parameters
- (object Parameter "types"
- type "ITypes"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Definition"
- quid "3B84B1E702A1"
- stereotype "javaclass")))
- (object Class "IImport"
- quid "3B84B2020119"
- documentation "This class represents the javax.wsdl.Import non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Import"
- quid "3B84B20C02EA"
- stereotype "javaclass")))
- (object Class "IList"
- quid "3B85C0A203C5"
- documentation "This class represents the non-MOF java.util.List interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.List"
- quid "3B85C0AF0297"
- stereotype "javaclass")))
- (object Class "IMap"
- quid "3B896B0300D4"
- documentation "This class represents the non-MOF java.util.Map interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Map"
- quid "3B896B1102B5"
- stereotype "javaclass")))
- (object Class "IURL"
- quid "3B89D5630274"
- documentation "This class represents the non-MOF java.net.URL interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.net.URL"
- quid "3B89D56E03E2"
- stereotype "javaclass")))
- (object Class "IExtensionRegistry"
- quid "3B89D59302A5"
- documentation "This class represents the non-MOF javax.wsdl.extensions.ExtensionRegistry interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensionRegistry"
- quid "3B89D59F02E8"
- stereotype "javaclass")))
- (object Class "Types"
- quid "3B8BE9A603A8"
- documentation "This class represents a WSDL types element. The types element encloses data type definitions that are relevant for the exchanged messages."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B8BEB010311"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3CADCD3B0380"
- supplier "Logical View::wsdl::ITypes"
- quidu "3CADCBB20050"))
- operations (list Operations
- (object Operation "getSchemas"
- quid "3CADCF3803E6"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getSchemas"
- quid "3CADCF7E0301"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)))
- (object Class "IIterator"
- quid "3C4687DA0167"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Iterator"
- quid "3C46880800B9"
- stereotype "javaclass")))
- (object Class "WSDLException"
- quid "3C4689650313"
- documentation "This class represents the javax.wsdl.Exception class."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.WSDLException"
- quid "3C4689740315"
- stereotype "javaclass")))
- (object Class "ITypes"
- quid "3CADCBB20050"
- documentation "This class represents the javax.wsdl.Types non-MOF interface"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Types"
- quid "3CADCBF10173"
- stereotype "javaclass")))
- (object Class "UnknownExtensibilityElement"
- quid "3CB24AC002AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CB24AEC01CB"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "XSDSchemaExtensibilityElement"
- quid "3CC360D7039C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CC3627F00B7"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "DOMDocument"
- quid "3CD1502C023B"
- documentation "This class represents the org.w3c.dom.Document non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3CD150600182"
- stereotype "javaclass")))
- (object Class "MessageReference"
- quid "3F6771DB02DC"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3F762A6A0308"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3F6780A001AB"
- type "String"
- exportControl "Protected"))
- language "Java"
- abstract TRUE)
- (object Association "$UNNAMED$0"
- quid "3AD5C824018C"
- roles (list role_list
- (object Role "portType"
- quid "3AD5C82701C3"
- label "portType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- Containment "By Value"
- is_aggregate TRUE)
- (object Role "eOperations"
- quid "3AD5C82701CD"
- label "eOperations"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$1"
- quid "3AD5CEBE00E2"
- roles (list role_list
- (object Role "$UNNAMED$2"
- quid "3AD5CEBF0057"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eParts"
- quid "3AD5CEBF0061"
- label "eParts"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$3"
- quid "3AD5D352010F"
- roles (list role_list
- (object Role "ePortType"
- quid "3AD5D3540176"
- label "ePortType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$4"
- quid "3AD5D3540180"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261")))
- (object Association "$UNNAMED$5"
- quid "3AD5D3E10179"
- roles (list role_list
- (object Role "$UNNAMED$6"
- quid "3AD5D3E20225"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindingOperations"
- quid "3AD5D3E20239"
- label "eBindingOperations"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$7"
- quid "3AD5D425038A"
- roles (list role_list
- (object Role "eOperation"
- quid "3AD5D42602F5"
- label "eOperation"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$8"
- quid "3AD5D42602FF"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145")))
- (object Association "$UNNAMED$9"
- quid "3AD5D9400393"
- roles (list role_list
- (object Role "ePorts"
- quid "3AD5D941031C"
- label "ePorts"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$10"
- quid "3AD5D941031D"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$11"
- quid "3AD5D9B8011F"
- roles (list role_list
- (object Role "eBinding"
- quid "3AD5D9B9024D"
- label "eBinding"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$12"
- quid "3AD5D9B90261"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286")))
- (object Association "$UNNAMED$57"
- quid "3C864DFF02EC"
- roles (list role_list
- (object Role "eImports"
- quid "3C864DFF02ED"
- label "eImports"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$58"
- quid "3C864DFF02EE"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$53"
- quid "3B8BEA27029F"
- roles (list role_list
- (object Role "$UNNAMED$54"
- quid "3B8BEA290356"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eTypes"
- quid "3B8BEA29036A"
- label "eTypes"
- supplier "Logical View::wsdl::Types"
- quidu "3B8BE9A603A8"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$13"
- quid "3AD5E60301E2"
- roles (list role_list
- (object Role "$UNNAMED$14"
- quid "3AD5E60400B7"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eMessages"
- quid "3AD5E60400C1"
- label "eMessages"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$15"
- quid "3AD5E6710104"
- roles (list role_list
- (object Role "$UNNAMED$16"
- quid "3AD5E672034A"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "ePortTypes"
- quid "3AD5E6720354"
- label "ePortTypes"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$17"
- quid "3AD5E6770095"
- roles (list role_list
- (object Role "$UNNAMED$18"
- quid "3AD5E6780371"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindings"
- quid "3AD5E678037B"
- label "eBindings"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$19"
- quid "3AD5E67B0311"
- roles (list role_list
- (object Role "$UNNAMED$20"
- quid "3AD5E67D007F"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eServices"
- quid "3AD5E67D0089"
- label "eServices"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$21"
- quid "3AD5FD130079"
- roles (list role_list
- (object Role "eExtensibilityElements"
- quid "3AD5FD14019D"
- label "eExtensibilityElements"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$22"
- quid "3AD5FD14019E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$23"
- quid "3ADF2E6401F5"
- roles (list role_list
- (object Role "eBindingInput"
- quid "3ADF2E650251"
- label "eBindingInput"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$24"
- quid "3ADF2E650252"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$25"
- quid "3ADF2EB30163"
- roles (list role_list
- (object Role "eBindingOutput"
- quid "3ADF2EB4013C"
- label "eBindingOutput"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$26"
- quid "3ADF2EB4013D"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$27"
- quid "3ADF2F94024D"
- roles (list role_list
- (object Role "eInput"
- quid "3ADF2F950190"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$28"
- quid "3ADF2F95019A"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$29"
- quid "3ADF2FB802F9"
- roles (list role_list
- (object Role "eOutput"
- quid "3ADF2FB9020A"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$30"
- quid "3ADF2FB9020B"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$31"
- quid "3ADF331601A4"
- roles (list role_list
- (object Role "eFaults"
- quid "3ADF33180387"
- label "eFaults"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$32"
- quid "3ADF33180388"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$33"
- quid "3ADF340003E5"
- roles (list role_list
- (object Role "eBindingFaults"
- quid "3ADF340103AA"
- label "eBindingFaults"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$34"
- quid "3ADF340103AB"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$35"
- quid "3AE091F402F3"
- roles (list role_list
- (object Role "eFault"
- quid "3AE091F801FE"
- label "eFault"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$36"
- quid "3AE091F801FF"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6")))
- (object Association "$UNNAMED$37"
- quid "3AEA3D55002D"
- roles (list role_list
- (object Role "$UNNAMED$38"
- quid "3AEA3D560328"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eNamespaces"
- quid "3AEA3D560332"
- label "eNamespaces"
- supplier "Logical View::wsdl::Namespace"
- quidu "3AEA3CD30030"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$39"
- quid "3AEA3E3A002D"
- roles (list role_list
- (object Role "eDefinition"
- quid "3AEA3E3C01E8"
- label "eDefinition"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$40"
- quid "3AEA3E3C01F2"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$41"
- quid "3AEA412F0035"
- roles (list role_list
- (object Role "eParameterOrdering"
- quid "3AEA41310255"
- label "eParameterOrdering"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- is_navigable TRUE)
- (object Role "$UNNAMED$42"
- quid "3AEA4131025F"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE")))
- (object Association "$UNNAMED$43"
- quid "3B84AD2400BD"
- roles (list role_list
- (object Role "eInput"
- quid "3B84AD250083"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$44"
- quid "3B84AD250084"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4")))
- (object Association "$UNNAMED$45"
- quid "3B84AD7900F2"
- roles (list role_list
- (object Role "eOutput"
- quid "3B84AD7A014D"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$46"
- quid "3B84AD7A014E"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C")))
- (object Association "$UNNAMED$47"
- quid "3B8B1BE900C4"
- roles (list role_list
- (object Role "typeDefinition"
- quid "3B8B1BE90327"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$48"
- quid "3B8B1BE90331"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$49"
- quid "3B8B1C1203B2"
- roles (list role_list
- (object Role "elementDeclaration"
- quid "3B8B1C14001C"
- label "elementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$50"
- quid "3B8B1C140026"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$51"
- quid "3B8B1DCC02E5"
- roles (list role_list
- (object Role "eSchema"
- quid "3B8B1DCE0270"
- label "eSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$52"
- quid "3B8B1DCE027A"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$55"
- quid "3C46829303E5"
- roles (list role_list
- (object Role "eMessage"
- quid "3C468296010E"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$56"
- quid "3C4682960118"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$59"
- quid "3CC3614500F2"
- roles (list role_list
- (object Role "$UNNAMED$60"
- quid "3CC36146023D"
- supplier "Logical View::wsdl::XSDSchemaExtensibilityElement"
- quidu "3CC360D7039C"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "schema"
- quid "3CC36146023E"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$61"
- quid "3F74E78401B1"
- roles (list role_list
- (object Role "eMessage"
- quid "3F74E786000F"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$62"
- quid "3F74E7860023"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")))
- (object Association "$UNNAMED$63"
- quid "3F7896A2026E"
- roles (list role_list
- (object Role "$UNNAMED$64"
- quid "3F7896A7012B"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "1")
- is_aggregate TRUE)
- (object Role "children"
- quid "3F7896A7012C"
- label "children"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "2.7 Services"
- quid "39AD3EF60127"
- title "2.7 Services"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @1
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (1424, 800)
- label (object ItemLabel
- Parent_View @1
- location (1173, 660)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @1
- location (1173, 610)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 502
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- compartment (object Compartment
- Parent_View @1
- location (1173, 715)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 471)
- width 520
- height 404
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPort" @2
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (816, 528)
- label (object ItemLabel
- Parent_View @2
- location (686, 481)
- fill_color 13434879
- nlines 1
- max_width 260
- justify 0
- label "IPort")
- stereotype (object ItemLabel
- Parent_View @2
- location (686, 431)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB800326"
- compartment (object Compartment
- Parent_View @2
- location (686, 536)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 275)
- width 278
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IService" @3
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 160)
- label (object ItemLabel
- Parent_View @3
- location (126, 90)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "IService")
- stereotype (object ItemLabel
- Parent_View @3
- location (126, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 228
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB490287"
- compartment (object Compartment
- Parent_View @3
- location (126, 145)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 237)
- width 246
- height 264
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @4
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 528)
- label (object ItemLabel
- Parent_View @4
- location (44, 432)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- compartment (object Compartment
- Parent_View @4
- location (44, 487)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 389)
- width 410
- height 214
- annotation 8
- autoResize TRUE)
- (object InheritView "" @5
- stereotype TRUE
- line_color 3342489
- quidu "3B85954E01B4"
- client @4
- supplier @3
- line_style 3
- origin_attachment (240, 421)
- terminal_attachment (240, 292))
- (object ClassView "Class" "Logical View::wsdl::Binding" @6
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1440, 1264)
- label (object ItemLabel
- Parent_View @6
- location (1244, 1168)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- compartment (object Compartment
- Parent_View @6
- location (1244, 1223)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 389)
- width 410
- height 214
- annotation 8
- autoResize TRUE)
- (object InheritView "" @7
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @6
- supplier @1
- line_style 3
- origin_attachment (1430, 1157)
- terminal_attachment (1430, 1002))
- (object ClassView "Class" "Logical View::wsdl::Port" @8
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (816, 912)
- label (object ItemLabel
- Parent_View @8
- location (675, 840)
- fill_color 13434879
- nlines 1
- max_width 282
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- compartment (object Compartment
- Parent_View @8
- location (675, 895)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 303)
- width 300
- height 168
- annotation 8
- autoResize TRUE)
- (object InheritView "" @9
- stereotype TRUE
- line_color 3342489
- quidu "3B85954502C9"
- client @8
- supplier @2
- line_style 3
- origin_attachment (809, 828)
- terminal_attachment (809, 637))
- (object AssociationViewNew "$UNNAMED$9" @10
- location (321, 916)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9400393"
- roleview_list (list RoleViews
- (object RoleView "ePorts" @11
- Parent_View @10
- location (-143, 644)
- label (object SegLabel @12
- Parent_View @11
- location (397, 945)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+ePorts"
- pctDist 0.218978
- height 29
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031C"
- client @10
- supplier @8
- line_style 3
- origin_attachment (321, 916)
- terminal_attachment (666, 916)
- label (object SegLabel @13
- Parent_View @11
- location (530, 880)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 160
- justify 0
- label "0..*"
- pctDist 0.608000
- height 37
- orientation 0)
- label (object SegLabel @14
- Parent_View @11
- location (433, 990)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.328467
- height 74
- orientation 1))
- (object RoleView "$UNNAMED$10" @15
- Parent_View @10
- location (-143, 644)
- label (object SegLabel @16
- Parent_View @15
- location (216, 704)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031D"
- client @10
- supplier @4
- vertices (list Points
- (321, 916)
- (257, 916)
- (257, 635))
- line_style 3
- origin_attachment (321, 916)
- terminal_attachment (257, 635)
- label (object SegLabel @17
- Parent_View @15
- location (301, 760)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.637097
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$11" @18
- location (886, 1270)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B8011F"
- roleview_list (list RoleViews
- (object RoleView "eBinding" @19
- Parent_View @18
- location (38, 422)
- label (object SegLabel @20
- Parent_View @19
- location (1112, 1235)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eBinding"
- pctDist 0.648571
- height 36
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B9024D"
- client @18
- supplier @6
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (1235, 1270)
- label (object SegLabel @21
- Parent_View @19
- location (1170, 1313)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.814286
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$12" @22
- Parent_View @18
- location (38, 422)
- label (object SegLabel @23
- Parent_View @22
- location (852, 1106)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label ""
- pctDist 0.687943
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B90261"
- client @18
- supplier @8
- vertices (list Points
- (886, 1270)
- (812, 1270)
- (812, 996))
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (812, 996))))))
- (object ClassDiagram "2.5 Bindings"
- quid "39AD51270252"
- title "2.5 Bindings"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @24
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 240)
- label (object ItemLabel
- Parent_View @24
- location (73, 114)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @24
- location (73, 64)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 462
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- compartment (object Compartment
- Parent_View @24
- location (73, 172)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 471)
- width 480
- height 376
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOperation" @25
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 352)
- label (object ItemLabel
- Parent_View @25
- location (780, 130)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "IBindingOperation")
- stereotype (object ItemLabel
- Parent_View @25
- location (780, 80)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 392
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADC00072"
- compartment (object Compartment
- Parent_View @25
- location (780, 188)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 9
- max_width 396)
- width 410
- height 568
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingInput" @26
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (192, 1360)
- label (object ItemLabel
- Parent_View @26
- location (62, 1334)
- fill_color 16777215
- nlines 1
- max_width 260
- justify 0
- label "IBindingInput")
- stereotype (object ItemLabel
- Parent_View @26
- location (62, 1284)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADEB0100"
- width 278
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOutput" @27
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (208, 1664)
- label (object ItemLabel
- Parent_View @27
- location (61, 1638)
- fill_color 16777215
- nlines 1
- max_width 294
- justify 0
- label "IBindingOutput")
- stereotype (object ItemLabel
- Parent_View @27
- location (61, 1588)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 294
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE210111"
- width 312
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingFault" @28
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @28
- location (72, 1958)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "IBindingFault")
- stereotype (object ItemLabel
- Parent_View @28
- location (72, 1908)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 272
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE4F00BD"
- width 290
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @29
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 624)
- label (object ItemLabel
- Parent_View @29
- location (1697, 522)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- compartment (object Compartment
- Parent_View @29
- location (1697, 580)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 411)
- width 432
- height 228
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @30
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1360)
- label (object ItemLabel
- Parent_View @30
- location (1756, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Output" @31
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1664)
- label (object ItemLabel
- Parent_View @31
- location (1756, 1587)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @32
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 688)
- label (object ItemLabel
- Parent_View @32
- location (97, 586)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- compartment (object Compartment
- Parent_View @32
- location (97, 644)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 411)
- width 432
- height 228
- annotation 8
- autoResize TRUE)
- (object InheritView "" @33
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @32
- supplier @24
- line_style 3
- origin_attachment (279, 574)
- terminal_attachment (279, 428))
- (object AssociationViewNew "$UNNAMED$3" @34
- location (1104, 742)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D352010F"
- roleview_list (list RoleViews
- (object RoleView "ePortType" @35
- Parent_View @34
- location (640, 598)
- label (object SegLabel @36
- Parent_View @35
- location (1565, 781)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+ePortType"
- pctDist 0.789292
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540176"
- client @34
- supplier @29
- line_style 3
- origin_attachment (1104, 742)
- terminal_attachment (1688, 742)
- label (object SegLabel @37
- Parent_View @35
- location (1613, 716)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.872193
- height 27
- orientation 0))
- (object RoleView "$UNNAMED$4" @38
- Parent_View @34
- location (640, 598)
- label (object SegLabel @39
- Parent_View @38
- location (806, 697)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label ""
- pctDist 0.509449
- height 46
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540180"
- client @34
- supplier @32
- line_style 3
- origin_attachment (1104, 742)
- terminal_attachment (520, 742))))
- (object ClassView "Class" "Logical View::wsdl::Operation" @40
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 1024)
- label (object ItemLabel
- Parent_View @40
- location (1672, 898)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- compartment (object Compartment
- Parent_View @40
- location (1672, 956)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 430)
- width 450
- height 276
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @41
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (624, 1408)
- label (object ItemLabel
- Parent_View @41
- location (476, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- compartment (object Compartment
- Parent_View @41
- location (476, 1341)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 303)
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$43" @42
- location (1264, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD2400BD"
- roleview_list (list RoleViews
- (object RoleView "eInput" @43
- Parent_View @42
- location (96, 287)
- label (object SegLabel @44
- Parent_View @43
- location (1637, 1316)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.775148
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250083"
- client @42
- supplier @30
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (1747, 1359)
- label (object SegLabel @45
- Parent_View @43
- location (1694, 1398)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.889546
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$44" @46
- Parent_View @42
- location (96, 287)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250084"
- client @42
- supplier @41
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (781, 1359))))
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @47
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 1664)
- label (object ItemLabel
- Parent_View @47
- location (812, 1539)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- compartment (object Compartment
- Parent_View @47
- location (812, 1597)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 303)
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$45" @48
- location (1432, 1654)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7900F2"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @49
- Parent_View @48
- location (-120, 374)
- label (object SegLabel @50
- Parent_View @49
- location (1645, 1612)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.674772
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014D"
- client @48
- supplier @31
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1747, 1654)
- label (object SegLabel @51
- Parent_View @49
- location (1681, 1697)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.790274
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$46" @52
- Parent_View @48
- location (-120, 374)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014E"
- client @48
- supplier @47
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1117, 1654))))
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @53
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (992, 1008)
- label (object ItemLabel
- Parent_View @53
- location (819, 931)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- compartment (object Compartment
- Parent_View @53
- location (819, 989)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 303)
- width 364
- height 178
- annotation 8
- autoResize TRUE)
- (object InheritView "" @54
- stereotype TRUE
- line_color 3342489
- quidu "3B84ADE401DC"
- client @53
- supplier @25
- line_style 3
- origin_attachment (966, 919)
- terminal_attachment (966, 636))
- (object AssociationViewNew "$UNNAMED$5" @55
- location (433, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E10179"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$6" @56
- Parent_View @55
- location (-1343, 494)
- label (object SegLabel @57
- Parent_View @56
- location (235, 877)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20225"
- client @55
- supplier @32
- vertices (list Points
- (433, 1022)
- (276, 1022)
- (276, 802))
- line_style 3
- origin_attachment (433, 1022)
- terminal_attachment (276, 802)
- label (object SegLabel @58
- Parent_View @56
- location (330, 841)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "eBindingOperations" @59
- Parent_View @55
- location (-1343, 494)
- label (object SegLabel @60
- Parent_View @59
- location (513, 977)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+eBindingOperations"
- pctDist 0.211699
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20239"
- client @55
- supplier @53
- line_style 3
- origin_attachment (433, 1022)
- terminal_attachment (810, 1022)
- label (object SegLabel @61
- Parent_View @59
- location (766, 980)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.884956
- height 43
- orientation 0)
- label (object SegLabel @62
- Parent_View @59
- location (706, 1067)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.727564
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$7" @63
- location (1418, 1040)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D425038A"
- roleview_list (list RoleViews
- (object RoleView "eOperation" @64
- Parent_View @63
- location (-358, 464)
- label (object SegLabel @65
- Parent_View @64
- location (1520, 1079)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 228
- justify 0
- label "+eOperation"
- pctDist 0.420601
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602F5"
- client @63
- supplier @40
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1663, 1040)
- label (object SegLabel @66
- Parent_View @64
- location (1589, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.696721
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$8" @67
- Parent_View @63
- location (-358, 464)
- label (object SegLabel @68
- Parent_View @67
- location (1273, 1070)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.595420
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602FF"
- client @63
- supplier @53
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1174, 1040))))
- (object AssociationViewNew "$UNNAMED$23" @69
- location (787, 1190)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E6401F5"
- roleview_list (list RoleViews
- (object RoleView "eBindingInput" @70
- Parent_View @69
- location (-381, 454)
- label (object SegLabel @71
- Parent_View @70
- location (669, 1152)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+eBindingInput"
- pctDist 0.511905
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650251"
- client @69
- supplier @41
- vertices (list Points
- (787, 1190)
- (636, 1190)
- (636, 1271))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (636, 1271)
- label (object SegLabel @72
- Parent_View @70
- location (685, 1222)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.440476
- height 32
- orientation 0))
- (object RoleView "$UNNAMED$24" @73
- Parent_View @69
- location (-381, 454)
- label (object SegLabel @74
- Parent_View @73
- location (885, 1144)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650252"
- client @69
- supplier @53
- vertices (list Points
- (787, 1190)
- (926, 1190)
- (926, 1097))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (926, 1097)
- label (object SegLabel @75
- Parent_View @73
- location (871, 1136)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.837758
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$25" @76
- location (1024, 1312)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB30163"
- roleview_list (list RoleViews
- (object RoleView "eBindingOutput" @77
- Parent_View @76
- location (-150, 578)
- label (object SegLabel @78
- Parent_View @77
- location (1012, 1429)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 306
- justify 0
- label "+eBindingOutput"
- pctDist 0.545082
- height 13
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013C"
- client @76
- supplier @47
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1527)
- label (object SegLabel @79
- Parent_View @77
- location (967, 1479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.774590
- height 58
- orientation 1))
- (object RoleView "$UNNAMED$26" @80
- Parent_View @76
- location (-150, 578)
- label (object SegLabel @81
- Parent_View @80
- location (983, 1140)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013D"
- client @76
- supplier @53
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1097)
- label (object SegLabel @82
- Parent_View @80
- location (1031, 1186)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.590164
- height 7
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Fault" @83
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1920, 1984)
- label (object ItemLabel
- Parent_View @83
- location (1772, 1907)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @84
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1984)
- label (object ItemLabel
- Parent_View @84
- location (1212, 1859)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- compartment (object Compartment
- Parent_View @84
- location (1212, 1917)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 303)
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object InheritView "" @85
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE710333"
- client @84
- supplier @28
- line_style 3
- origin_attachment (1203, 2007)
- terminal_attachment (353, 2007))
- (object AssociationViewNew "$UNNAMED$33" @86
- location (1356, 1352)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340003E5"
- roleview_list (list RoleViews
- (object RoleView "eBindingFaults" @87
- Parent_View @86
- location (188, 616)
- label (object SegLabel @88
- Parent_View @87
- location (1382, 1750)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 300
- justify 0
- label "+eBindingFaults"
- pctDist 0.803150
- height 26
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AA"
- client @86
- supplier @84
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1356, 1847)
- label (object SegLabel @89
- Parent_View @87
- location (1409, 1797)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899194
- height 53
- orientation 0)
- label (object SegLabel @90
- Parent_View @87
- location (1256, 1806)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.919291
- height 101
- orientation 1))
- (object RoleView "$UNNAMED$34" @91
- Parent_View @86
- location (188, 616)
- label (object SegLabel @92
- Parent_View @91
- location (1076, 1197)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AB"
- client @86
- supplier @53
- vertices (list Points
- (1356, 1352)
- (1356, 1217)
- (1117, 1217)
- (1117, 1097))
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1117, 1097)
- label (object SegLabel @93
- Parent_View @91
- location (1152, 1164)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.687008
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$35" @94
- location (1640, 1970)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F402F3"
- roleview_list (list RoleViews
- (object RoleView "eFault" @95
- Parent_View @94
- location (-344, 818)
- label (object SegLabel @96
- Parent_View @95
- location (1674, 1915)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eFault"
- pctDist 0.276423
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FE"
- client @94
- supplier @83
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1763, 1970)
- label (object SegLabel @97
- Parent_View @95
- location (1718, 2012)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.642276
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$36" @98
- Parent_View @94
- location (-344, 818)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FF"
- client @94
- supplier @84
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1517, 1970))))
- (object InheritView "" @99
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE4302AB"
- client @47
- supplier @27
- line_style 3
- origin_attachment (803, 1656)
- terminal_attachment (364, 1656))
- (object InheritView "" @100
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE1B0113"
- client @41
- supplier @26
- line_style 3
- origin_attachment (467, 1385)
- terminal_attachment (331, 1385))))
- (object ClassDiagram "2.4 PortTypes"
- quid "3AD5D1C40366"
- title "2.4 PortTypes"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IPortType" @101
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 208)
- label (object ItemLabel
- Parent_View @101
- location (146, 172)
- fill_color 13434879
- nlines 1
- max_width 700
- justify 0
- label "IPortType")
- stereotype (object ItemLabel
- Parent_View @101
- location (146, 122)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 700
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A5BE0331"
- compartment (object Compartment
- Parent_View @101
- location (146, 233)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 696)
- width 718
- height 196
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::IOperation" @102
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 208)
- label (object ItemLabel
- Parent_View @102
- location (1116, 176)
- fill_color 13434879
- nlines 1
- max_width 873
- justify 0
- label "IOperation")
- stereotype (object ItemLabel
- Parent_View @102
- location (1116, 126)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 873
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A77600D1"
- compartment (object Compartment
- Parent_View @102
- location (1116, 237)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 709)
- width 891
- height 188
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IInput" @103
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1472)
- label (object ItemLabel
- Parent_View @103
- location (55, 1437)
- fill_color 16777215
- nlines 1
- max_width 626
- justify 0
- label "IInput")
- stereotype (object ItemLabel
- Parent_View @103
- location (55, 1387)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A7EE0015"
- compartment (object Compartment
- Parent_View @103
- location (55, 1498)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 621)
- width 644
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IOutput" @104
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 1792)
- label (object ItemLabel
- Parent_View @104
- location (56, 1757)
- fill_color 16777215
- nlines 1
- max_width 656
- justify 0
- label "IOutput")
- stereotype (object ItemLabel
- Parent_View @104
- location (56, 1707)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 656
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A829027D"
- compartment (object Compartment
- Parent_View @104
- location (56, 1818)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 656)
- width 674
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IFault" @105
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 2112)
- label (object ItemLabel
- Parent_View @105
- location (55, 2076)
- fill_color 13434879
- nlines 1
- max_width 626
- justify 0
- label "IFault")
- stereotype (object ItemLabel
- Parent_View @105
- location (55, 2026)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A861031D"
- compartment (object Compartment
- Parent_View @105
- location (55, 2137)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 625)
- width 644
- height 196
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @106
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 800)
- label (object ItemLabel
- Parent_View @106
- location (158, 672)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- compartment (object Compartment
- Parent_View @106
- location (158, 733)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 409)
- width 695
- height 281
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @107
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2576, 800)
- label (object ItemLabel
- Parent_View @107
- location (2325, 692)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- compartment (object Compartment
- Parent_View @107
- location (2325, 753)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 484)
- width 520
- height 240
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Fault" @108
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 2112)
- label (object ItemLabel
- Parent_View @108
- location (1647, 2060)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @109
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 1472)
- label (object ItemLabel
- Parent_View @109
- location (870, 1422)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 390
- height 125
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Output" @110
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1792)
- label (object ItemLabel
- Parent_View @110
- location (1232, 1742)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 274
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Operation" @111
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 784)
- label (object ItemLabel
- Parent_View @111
- location (1214, 620)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- compartment (object Compartment
- Parent_View @111
- location (1214, 681)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 446)
- width 695
- height 352
- annotation 8)
- (object AssociationViewNew "$UNNAMED$0" @112
- location (1024, 797)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C824018C"
- roleview_list (list RoleViews
- (object RoleView "eOperations" @113
- Parent_View @112
- location (592, 269)
- label (object SegLabel @114
- Parent_View @113
- location (1088, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+eOperations"
- pctDist 0.359649
- height 50
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701CD"
- client @112
- supplier @111
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (1205, 797)
- label (object SegLabel @115
- Parent_View @113
- location (1176, 861)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.840391
- height 64
- orientation 1)
- label (object SegLabel @116
- Parent_View @113
- location (1074, 923)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.276243
- height 126
- orientation 1))
- (object RoleView "portType" @117
- Parent_View @112
- location (592, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701C3"
- client @112
- supplier @106
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (843, 797)
- label (object SegLabel @118
- Parent_View @117
- location (888, 757)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.753488
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$41" @119
- location (2107, 773)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA412F0035"
- roleview_list (list RoleViews
- (object RoleView "eParameterOrdering" @120
- Parent_View @119
- location (1819, 101)
- label (object SegLabel @121
- Parent_View @120
- location (2145, 647)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+eParameterOrdering"
- pctDist 0.183333
- height 127
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA41310255"
- client @119
- supplier @107
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (2316, 773)
- label (object SegLabel @122
- Parent_View @120
- location (2272, 822)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.796610
- height 49
- orientation 1)
- label (object SegLabel @123
- Parent_View @120
- location (2171, 888)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.306220
- height 115
- orientation 1))
- (object RoleView "$UNNAMED$42" @124
- Parent_View @119
- location (1819, 101)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA4131025F"
- client @119
- supplier @111
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (1899, 773))))
- (object AssociationViewNew "$UNNAMED$31" @125
- location (1702, 1504)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF331601A4"
- roleview_list (list RoleViews
- (object RoleView "eFaults" @126
- Parent_View @125
- location (1414, 832)
- label (object SegLabel @127
- Parent_View @126
- location (1815, 1982)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eFaults"
- pctDist 0.878992
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180387"
- client @125
- supplier @108
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 2048)
- label (object SegLabel @128
- Parent_View @126
- location (1644, 2020)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.949580
- height 59
- orientation 1)
- label (object SegLabel @129
- Parent_View @126
- location (1593, 1963)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.845378
- height 110
- orientation 1))
- (object RoleView "$UNNAMED$32" @130
- Parent_View @125
- location (1414, 832)
- label (object SegLabel @131
- Parent_View @130
- location (1661, 1069)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180388"
- client @125
- supplier @111
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 960)
- label (object SegLabel @132
- Parent_View @130
- location (1821, 1039)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.857362
- height 119
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$27" @133
- location (1178, 1234)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F94024D"
- roleview_list (list RoleViews
- (object RoleView "eInput" @134
- Parent_View @133
- location (890, 562)
- label (object SegLabel @135
- Parent_View @134
- location (878, 1343)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.819820
- height 103
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F950190"
- client @133
- supplier @109
- vertices (list Points
- (1178, 1234)
- (980, 1234)
- (980, 1410))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (980, 1410)
- label (object SegLabel @136
- Parent_View @134
- location (1046, 1364)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.877660
- height 66
- orientation 0))
- (object RoleView "$UNNAMED$28" @137
- Parent_View @133
- location (890, 562)
- label (object SegLabel @138
- Parent_View @137
- location (1236, 1036)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F95019A"
- client @133
- supplier @111
- vertices (list Points
- (1178, 1234)
- (1277, 1234)
- (1277, 960))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (1277, 960)
- label (object SegLabel @139
- Parent_View @137
- location (1197, 1058)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736413
- height 81
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$29" @140
- location (1468, 1345)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB802F9"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @141
- Parent_View @140
- location (1180, 673)
- label (object SegLabel @142
- Parent_View @141
- location (1362, 1669)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.840909
- height 107
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020A"
- client @140
- supplier @110
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 1730)
- label (object SegLabel @143
- Parent_View @141
- location (1546, 1676)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863636
- height 78
- orientation 0))
- (object RoleView "$UNNAMED$30" @144
- Parent_View @140
- location (1180, 673)
- label (object SegLabel @145
- Parent_View @144
- location (1427, 1037)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020B"
- client @140
- supplier @111
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 960)
- label (object SegLabel @146
- Parent_View @144
- location (1523, 1080)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.690341
- height 55
- orientation 1))))
- (object InheritView "" @147
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FD8019F"
- client @106
- supplier @101
- line_style 0)
- (object InheritView "" @148
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FE20171"
- client @111
- supplier @102
- line_style 0)
- (object InheritView "" @149
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FEE031D"
- client @109
- supplier @103
- line_style 0)
- (object InheritView "" @150
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FF801CD"
- client @110
- supplier @104
- line_style 0)
- (object InheritView "" @151
- stereotype TRUE
- line_color 3342489
- quidu "3F6F2002002D"
- client @108
- supplier @105
- line_style 0)
- (object ClassView "Class" "Logical View::wsdl::Message" @152
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2224, 1456)
- label (object ItemLabel
- Parent_View @152
- location (1937, 1312)
- fill_color 13434879
- nlines 1
- max_width 575
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @152
- location (1937, 1371)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 425)
- width 593
- height 312
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::MessageReference" @153
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1520, 2544)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @153
- location (1193, 2466)
- fill_color 13434879
- nlines 1
- max_width 654
- justify 0
- label "MessageReference")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3F6771DB02DC"
- compartment (object Compartment
- Parent_View @153
- location (1193, 2527)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 303)
- width 672
- height 180
- annotation 8)
- (object InheritTreeView "" @154
- location (1524, 2275)
- line_color 3342489
- fill_color 13434879
- supplier @153
- vertices (list Points
- (1524, 2275)
- (1524, 2454)))
- (object InheritView "" @155
- stereotype TRUE
- line_color 3342489
- quidu "3F67723D0319"
- client @108
- supplier @153
- line_style 3
- origin_attachment (1776, 2176)
- terminal_attachment (1776, 2275)
- drawSupplier @154)
- (object InheritView "" @156
- stereotype TRUE
- line_color 3342489
- quidu "3F67723500DD"
- client @110
- supplier @153
- line_style 3
- origin_attachment (1371, 1854)
- terminal_attachment (1371, 2275)
- drawSupplier @154)
- (object InheritView "" @157
- stereotype TRUE
- line_color 3342489
- quidu "3F67722802E7"
- client @109
- supplier @153
- line_style 3
- origin_attachment (980, 1534)
- terminal_attachment (980, 2275)
- drawSupplier @154)
- (object AssociationViewNew "$UNNAMED$61" @158
- location (2206, 2259)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E78401B1"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @159
- Parent_View @158
- location (734, -285)
- label (object SegLabel @160
- Parent_View @159
- location (2068, 1670)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.912230
- height 139
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E786000F"
- client @158
- supplier @152
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (2206, 1612)
- label (object SegLabel @161
- Parent_View @159
- location (2260, 1678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$62" @162
- Parent_View @158
- location (734, -285)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E7860023"
- client @158
- supplier @153
- vertices (list Points
- (2206, 2259)
- (2206, 2556)
- (1856, 2556))
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (1856, 2556))))))
- (object ClassDiagram "2.1 Definitions"
- quid "3AD5E48A0262"
- title "2.1 Definitions"
- zoom 83
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IDefinition" @163
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 192)
- label (object ItemLabel
- Parent_View @163
- location (88, 161)
- fill_color 13434879
- nlines 1
- max_width 688
- justify 0
- label "IDefinition")
- stereotype (object ItemLabel
- Parent_View @163
- location (88, 111)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 688
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B1D90142"
- compartment (object Compartment
- Parent_View @163
- location (88, 220)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 700)
- width 706
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @164
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- label (object ItemLabel
- Parent_View @164
- location (1686, 896)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 294
- height 120
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Import" @165
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 624)
- label (object ItemLabel
- Parent_View @165
- location (1910, 545)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- compartment (object Compartment
- Parent_View @165
- location (1910, 604)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 478)
- width 486
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @166
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2112, 1184)
- label (object ItemLabel
- Parent_View @166
- location (1900, 1105)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @166
- location (1900, 1164)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 422)
- width 442
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @167
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1808, 1488)
- label (object ItemLabel
- Parent_View @167
- location (1596, 1409)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- compartment (object Compartment
- Parent_View @167
- location (1596, 1468)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 422)
- width 442
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @168
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2336, 1728)
- label (object ItemLabel
- Parent_View @168
- location (2124, 1649)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- compartment (object Compartment
- Parent_View @168
- location (2124, 1708)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 422)
- width 442
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @169
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 240)
- label (object ItemLabel
- Parent_View @169
- location (1073, 39)
- fill_color 13434879
- nlines 1
- max_width 510
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- compartment (object Compartment
- Parent_View @169
- location (1073, 98)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 7
- max_width 521)
- width 528
- height 426
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @170
- location (1358, 860)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$54" @171
- Parent_View @170
- location (62, -36)
- label (object SegLabel @172
- Parent_View @171
- location (1317, 535)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @170
- supplier @169
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1358, 453)
- label (object SegLabel @173
- Parent_View @171
- location (1403, 511)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.856649
- height 45
- orientation 1))
- (object RoleView "eTypes" @174
- Parent_View @170
- location (62, -36)
- label (object SegLabel @175
- Parent_View @174
- location (1586, 909)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label "+eTypes"
- pctDist 0.779097
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @170
- supplier @164
- vertices (list Points
- (1358, 860)
- (1358, 948)
- (1677, 948))
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1677, 948)
- label (object SegLabel @176
- Parent_View @174
- location (1632, 987)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.892655
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$57" @177
- location (1612, 595)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @178
- Parent_View @177
- location (12, 227)
- label (object SegLabel @179
- Parent_View @178
- location (1423, 512)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @177
- supplier @169
- vertices (list Points
- (1612, 595)
- (1464, 595)
- (1464, 453))
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1464, 453)
- label (object SegLabel @180
- Parent_View @178
- location (1524, 495)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.858667
- height 60
- orientation 1))
- (object RoleView "eImports" @181
- Parent_View @177
- location (12, 227)
- label (object SegLabel @182
- Parent_View @181
- location (1692, 557)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eImports"
- pctDist 0.280335
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @177
- supplier @165
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1901, 595)
- label (object SegLabel @183
- Parent_View @181
- location (1854, 652)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.841004
- height 57
- orientation 1)
- label (object SegLabel @184
- Parent_View @181
- location (1676, 646)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.225941
- height 51
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$13" @185
- location (1279, 1136)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60301E2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$14" @186
- Parent_View @185
- location (271, 272)
- label (object SegLabel @187
- Parent_View @186
- location (1238, 591)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400B7"
- client @185
- supplier @169
- line_style 3
- origin_attachment (1279, 1136)
- terminal_attachment (1279, 453)
- label (object SegLabel @188
- Parent_View @186
- location (1320, 587)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.804974
- height 41
- orientation 1))
- (object RoleView "eMessages" @189
- Parent_View @185
- location (271, 272)
- label (object SegLabel @190
- Parent_View @189
- location (1647, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+eMessages"
- pctDist 0.643137
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400C1"
- client @185
- supplier @166
- vertices (list Points
- (1279, 1136)
- (1279, 1208)
- (1891, 1208))
- line_style 3
- origin_attachment (1279, 1136)
- terminal_attachment (1891, 1208)
- label (object SegLabel @191
- Parent_View @189
- location (1821, 1171)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899346
- height 38
- orientation 0)
- label (object SegLabel @192
- Parent_View @189
- location (1797, 1244)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.864407
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$15" @193
- location (1212, 1159)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6710104"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$16" @194
- Parent_View @193
- location (-324, 215)
- label (object SegLabel @195
- Parent_View @194
- location (1171, 594)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E672034A"
- client @193
- supplier @169
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1212, 453)
- label (object SegLabel @196
- Parent_View @194
- location (1251, 624)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.757962
- height 39
- orientation 1))
- (object RoleView "ePortTypes" @197
- Parent_View @193
- location (-324, 215)
- label (object SegLabel @198
- Parent_View @197
- location (1391, 1451)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+ePortTypes"
- pctDist 0.723698
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6720354"
- client @193
- supplier @167
- vertices (list Points
- (1212, 1159)
- (1212, 1490)
- (1587, 1490))
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1587, 1490)
- label (object SegLabel @199
- Parent_View @197
- location (1533, 1451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.925611
- height 40
- orientation 0)
- label (object SegLabel @200
- Parent_View @197
- location (1512, 1540)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.895855
- height 50
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$17" @201
- location (1114, 1585)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6770095"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$18" @202
- Parent_View @201
- location (-406, 241)
- label (object SegLabel @203
- Parent_View @202
- location (1073, 680)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6780371"
- client @201
- supplier @169
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (1114, 453)
- label (object SegLabel @204
- Parent_View @202
- location (1155, 752)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736704
- height 41
- orientation 1))
- (object RoleView "eBindings" @205
- Parent_View @201
- location (-406, 241)
- label (object SegLabel @206
- Parent_View @205
- location (1851, 1674)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eBindings"
- pctDist 0.766347
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E678037B"
- client @201
- supplier @168
- vertices (list Points
- (1114, 1585)
- (1114, 1716)
- (2115, 1716))
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (2115, 1716)
- label (object SegLabel @207
- Parent_View @205
- location (2053, 1677)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.945074
- height 40
- orientation 0)
- label (object SegLabel @208
- Parent_View @205
- location (2014, 1754)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.911072
- height 38
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Service" @209
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @209
- location (1628, 1969)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- compartment (object Compartment
- Parent_View @209
- location (1628, 2028)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 422)
- width 442
- height 182
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$19" @210
- location (1066, 1532)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67B0311"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$20" @211
- Parent_View @210
- location (-521, -112)
- label (object SegLabel @212
- Parent_View @211
- location (1025, 670)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D007F"
- client @210
- supplier @169
- line_style 3
- origin_attachment (1066, 1532)
- terminal_attachment (1066, 453)
- label (object SegLabel @213
- Parent_View @211
- location (1109, 756)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.719697
- height 43
- orientation 1))
- (object RoleView "eServices" @214
- Parent_View @210
- location (-521, -112)
- label (object SegLabel @215
- Parent_View @214
- location (1393, 2028)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eServices"
- pctDist 0.791824
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D0089"
- client @210
- supplier @209
- vertices (list Points
- (1066, 1532)
- (1066, 2059)
- (1619, 2059))
- line_style 3
- origin_attachment (1066, 1532)
- terminal_attachment (1619, 2059)
- label (object SegLabel @216
- Parent_View @214
- location (1554, 2031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.940197
- height 29
- orientation 0)
- label (object SegLabel @217
- Parent_View @214
- location (1532, 2113)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.920515
- height 54
- orientation 1))))
- (object InheritView "" @218
- stereotype TRUE
- line_color 3342489
- quidu "3B84B1F80382"
- client @169
- supplier @163
- line_style 3
- origin_attachment (1064, 263)
- terminal_attachment (785, 263))))
- (object ClassDiagram "2.1.3 Extensibility"
- quid "3AD60C510192"
- title "2.1.3 Extensibility"
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::Binding" @219
- ShowCompartmentStereotypes TRUE
- location (576, 1584)
- label (object ItemLabel
- Parent_View @219
- location (494, 1531)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Port" @220
- ShowCompartmentStereotypes TRUE
- location (1568, 1888)
- label (object ItemLabel
- Parent_View @220
- location (1487, 1836)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @221
- ShowCompartmentStereotypes TRUE
- location (1424, 1728)
- label (object ItemLabel
- Parent_View @221
- location (1343, 1675)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @222
- ShowCompartmentStereotypes TRUE
- location (1216, 2336)
- label (object ItemLabel
- Parent_View @222
- location (1088, 2283)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @223
- ShowCompartmentStereotypes TRUE
- location (736, 1760)
- label (object ItemLabel
- Parent_View @223
- location (563, 1707)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 130
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IExtensibilityElement" @224
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 160)
- label (object ItemLabel
- Parent_View @224
- location (1495, 136)
- fill_color 13434879
- nlines 1
- max_width 786
- justify 0
- label "IExtensibilityElement")
- stereotype (object ItemLabel
- Parent_View @224
- location (1495, 86)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 786
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B12402AB"
- width 804
- height 172
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @225
- ShowCompartmentStereotypes TRUE
- location (928, 1952)
- label (object ItemLabel
- Parent_View @225
- location (800, 1899)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @226
- ShowCompartmentStereotypes TRUE
- location (1008, 2144)
- label (object ItemLabel
- Parent_View @226
- location (863, 2091)
- fill_color 13434879
- nlines 1
- max_width 290
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 308
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @227
- ShowCompartmentStereotypes TRUE
- location (176, 1296)
- label (object ItemLabel
- Parent_View @227
- location (74, 1235)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 146
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @228
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (416, 1408)
- label (object ItemLabel
- Parent_View @228
- location (335, 1356)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @229
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (480, 688)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @229
- location (209, 580)
- fill_color 13434879
- nlines 1
- max_width 542
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- compartment (object Compartment
- Parent_View @229
- location (209, 641)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 531)
- width 560
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @230
- location (480, 1039)
- line_color 3342489
- fill_color 13434879
- supplier @229
- vertices (list Points
- (480, 1039)
- (480, 808)))
- (object InheritView "" @231
- stereotype TRUE
- line_color 3342489
- quidu "3AD600CB00AA"
- client @220
- supplier @229
- line_style 3
- origin_attachment (1566, 1824)
- terminal_attachment (1566, 1039)
- drawSupplier @230)
- (object InheritView "" @232
- stereotype TRUE
- line_color 3342489
- quidu "3B85B5A4027E"
- client @226
- supplier @229
- line_style 3
- origin_attachment (1097, 2079)
- terminal_attachment (1097, 1039)
- drawSupplier @230)
- (object InheritView "" @233
- stereotype TRUE
- line_color 3342489
- quidu "3AE0938602C9"
- client @222
- supplier @229
- line_style 3
- origin_attachment (1219, 2271)
- terminal_attachment (1219, 1039)
- drawSupplier @230)
- (object InheritView "" @234
- stereotype TRUE
- line_color 3342489
- quidu "3B85B59B0072"
- client @225
- supplier @229
- line_style 3
- origin_attachment (988, 1887)
- terminal_attachment (988, 1039)
- drawSupplier @230)
- (object InheritView "" @235
- stereotype TRUE
- line_color 3342489
- quidu "3AD6009202F7"
- client @223
- supplier @229
- line_style 3
- origin_attachment (797, 1695)
- terminal_attachment (797, 1039)
- drawSupplier @230)
- (object InheritView "" @236
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA0F02F0"
- client @219
- supplier @229
- line_style 3
- origin_attachment (601, 1519)
- terminal_attachment (601, 1039)
- drawSupplier @230)
- (object InheritView "" @237
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FDB803D4"
- client @227
- supplier @229
- line_style 3
- origin_attachment (211, 1223)
- terminal_attachment (211, 1039)
- drawSupplier @230)
- (object InheritView "" @238
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @228
- supplier @229
- line_style 3
- origin_attachment (414, 1344)
- terminal_attachment (414, 1039)
- drawSupplier @230)
- (object InheritView "" @239
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA20025E"
- client @221
- supplier @229
- line_style 3
- origin_attachment (1429, 1663)
- terminal_attachment (1429, 1039)
- drawSupplier @230)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @240
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 688)
- label (object ItemLabel
- Parent_View @240
- location (1632, 583)
- fill_color 13434879
- nlines 1
- max_width 545
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- compartment (object Compartment
- Parent_View @240
- location (1632, 644)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 465)
- width 563
- height 234
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @241
- location (1191, 672)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @242
- Parent_View @241
- location (23, 560)
- label (object SegLabel @243
- Parent_View @242
- location (847, 631)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @241
- supplier @229
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (760, 672)
- label (object SegLabel @244
- Parent_View @242
- location (830, 628)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.839695
- height 45
- orientation 1))
- (object RoleView "eExtensibilityElements" @245
- Parent_View @241
- location (23, 560)
- label (object SegLabel @246
- Parent_View @245
- location (1355, 522)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label "+eExtensibilityElements"
- pctDist 0.379070
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @241
- supplier @240
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (1623, 672)
- label (object SegLabel @247
- Parent_View @245
- location (1496, 627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.709402
- height 46
- orientation 0)
- label (object SegLabel @248
- Parent_View @245
- location (1463, 764)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.632479
- height 92
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::WSDLElement" @249
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1008, 192)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @249
- location (630, 84)
- fill_color 13434879
- nlines 1
- max_width 756
- justify 0
- label "WSDLElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C6A302DD"
- compartment (object Compartment
- Parent_View @249
- location (630, 145)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 753)
- width 774
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @250
- location (1008, 402)
- line_color 3342489
- fill_color 13434879
- supplier @249
- vertices (list Points
- (1008, 402)
- (1008, 312)))
- (object InheritView "" @251
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FE3C03D4"
- client @229
- supplier @249
- line_style 3
- origin_attachment (492, 568)
- terminal_attachment (492, 402)
- drawSupplier @250)
- (object InheritView "" @252
- stereotype TRUE
- line_color 3342489
- quidu "3B84B14903D0"
- client @240
- supplier @224
- line_style 3
- origin_attachment (2015, 571)
- terminal_attachment (2015, 246))
- (object InheritView "" @253
- stereotype TRUE
- line_color 3342489
- quidu "3BDDF53502C3"
- client @240
- supplier @249
- line_style 3
- origin_attachment (1762, 571)
- terminal_attachment (1762, 402)
- drawSupplier @250)
- (object ClassView "Class" "Logical View::wsdl::UnknownExtensibilityElement" @254
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2192, 1408)
- label (object ItemLabel
- Parent_View @254
- location (1729, 1303)
- fill_color 13434879
- nlines 1
- max_width 927
- justify 0
- label "UnknownExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CB24AC002AE"
- width 945
- height 235
- annotation 8
- autoResize TRUE)
- (object InheritView "" @255
- stereotype TRUE
- line_color 3342489
- quidu "3CB24AEC01CB"
- client @254
- supplier @240
- line_style 3
- origin_attachment (1796, 1291)
- terminal_attachment (1796, 805))
- (object AssociationViewNew "$UNNAMED$63" @256
- location (2639, 1734)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A2026E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$64" @257
- Parent_View @256
- location (607, 342)
- label (object SegLabel @258
- Parent_View @257
- location (2797, 1380)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012B"
- client @256
- supplier @254
- vertices (list Points
- (2639, 1734)
- (2824, 1734)
- (2824, 1421)
- (2664, 1421))
- line_style 3
- origin_attachment (2639, 1734)
- terminal_attachment (2664, 1421)
- label (object SegLabel @259
- Parent_View @257
- location (2731, 1475)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "children" @260
- Parent_View @256
- location (607, 342)
- label (object SegLabel @261
- Parent_View @260
- location (2074, 1658)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+children"
- pctDist 0.798561
- height 118
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012C"
- client @256
- supplier @254
- vertices (list Points
- (2639, 1734)
- (2191, 1734)
- (2191, 1525))
- line_style 3
- origin_attachment (2639, 1734)
- terminal_attachment (2191, 1525)
- label (object SegLabel @262
- Parent_View @260
- location (2245, 1591)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))))
- (object ClassDiagram "2.1.1 Naming and Linking"
- quid "3AE8ED7201BD"
- title "2.1.1 Naming and Linking"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IImport" @263
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 224)
- label (object ItemLabel
- Parent_View @263
- location (1422, 177)
- fill_color 13434879
- nlines 1
- max_width 580
- justify 0
- label "IImport")
- stereotype (object ItemLabel
- Parent_View @263
- location (1422, 127)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 580
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B2020119"
- compartment (object Compartment
- Parent_View @263
- location (1422, 232)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 646)
- width 598
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Namespace" @264
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 1136)
- label (object ItemLabel
- Parent_View @264
- location (202, 1041)
- fill_color 13434879
- nlines 1
- max_width 461
- justify 0
- label "Namespace")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AEA3CD30030"
- compartment (object Compartment
- Parent_View @264
- location (202, 1096)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 300)
- width 479
- height 215
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @265
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1632, 1216)
- label (object ItemLabel
- Parent_View @265
- location (1294, 1142)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 694
- height 173
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @266
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (400, 384)
- label (object ItemLabel
- Parent_View @266
- location (164, 236)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- compartment (object Compartment
- Parent_View @266
- location (164, 291)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 521)
- width 490
- height 320
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$37" @267
- location (309, 786)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D55002D"
- roleview_list (list RoleViews
- (object RoleView "eNamespaces" @268
- Parent_View @267
- location (-91, 258)
- label (object SegLabel @269
- Parent_View @268
- location (461, 956)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+eNamespaces"
- pctDist 0.698842
- height 152
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560332"
- client @267
- supplier @264
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 1029)
- label (object SegLabel @270
- Parent_View @268
- location (248, 973)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.768707
- height 62
- orientation 1)
- label (object SegLabel @271
- Parent_View @268
- location (228, 913)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.525097
- height 82
- orientation 1))
- (object RoleView "$UNNAMED$38" @272
- Parent_View @267
- location (-91, 258)
- label (object SegLabel @273
- Parent_View @272
- location (268, 592)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560328"
- client @267
- supplier @266
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 544)
- label (object SegLabel @274
- Parent_View @272
- location (239, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.844961
- height 71
- orientation 0))))
- (object ClassView "Class" "Logical View::wsdl::Import" @275
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1472, 720)
- label (object ItemLabel
- Parent_View @275
- location (1255, 580)
- fill_color 13434879
- nlines 1
- max_width 434
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- compartment (object Compartment
- Parent_View @275
- location (1255, 635)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 478)
- width 452
- height 304
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$51" @276
- location (1486, 1001)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCC02E5"
- roleview_list (list RoleViews
- (object RoleView "eSchema" @277
- Parent_View @276
- location (510, -103)
- label (object SegLabel @278
- Parent_View @277
- location (1737, 1018)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eSchema"
- pctDist 0.592593
- height 105
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE0270"
- client @276
- supplier @265
- vertices (list Points
- (1486, 1001)
- (1632, 1001)
- (1632, 1130))
- line_style 3
- origin_attachment (1486, 1001)
- terminal_attachment (1632, 1130)
- label (object SegLabel @279
- Parent_View @277
- location (1563, 1018)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.592593
- height 70
- orientation 1))
- (object RoleView "$UNNAMED$52" @280
- Parent_View @276
- location (510, -103)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE027A"
- client @276
- supplier @275
- line_style 3
- origin_attachment (1486, 872)
- terminal_attachment (1486, 872))))
- (object AssociationViewNew "$UNNAMED$39" @281
- location (1087, 403)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3A002D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$40" @282
- Parent_View @281
- location (687, -125)
- label (object SegLabel @283
- Parent_View @282
- location (1406, 480)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01F2"
- client @281
- supplier @275
- vertices (list Points
- (1087, 403)
- (1364, 403)
- (1364, 568))
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (1364, 568))
- (object RoleView "eDefinition" @284
- Parent_View @281
- location (687, -125)
- label (object SegLabel @285
- Parent_View @284
- location (805, 363)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eDefinition"
- pctDist 0.637532
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01E8"
- client @281
- supplier @266
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (645, 403)
- label (object SegLabel @286
- Parent_View @284
- location (727, 456)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.814910
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$57" @287
- location (737, 826)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @288
- Parent_View @287
- location (-671, 106)
- label (object SegLabel @289
- Parent_View @288
- location (552, 647)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @287
- supplier @266
- vertices (list Points
- (737, 826)
- (510, 826)
- (510, 544))
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (510, 544)
- label (object SegLabel @290
- Parent_View @288
- location (457, 595)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "eImports" @291
- Parent_View @287
- location (-671, 106)
- label (object SegLabel @292
- Parent_View @291
- location (1144, 773)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eImports"
- pctDist 0.799189
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @287
- supplier @275
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (1246, 826)
- label (object SegLabel @293
- Parent_View @291
- location (1180, 879)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.872211
- height 53
- orientation 1)
- label (object SegLabel @294
- Parent_View @291
- location (1162, 933)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.837728
- height 107
- orientation 1))))
- (object InheritView "" @295
- stereotype TRUE
- line_color 3342489
- quidu "3F6F200D0340"
- client @275
- supplier @263
- line_style 3
- origin_attachment (1555, 568)
- terminal_attachment (1555, 333))))
- (object ClassDiagram "2.2 Types"
- quid "3B85AE59037E"
- title "2.2 Types"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 81
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @296
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1136, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @296
- location (895, 1157)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ECD302A9"
- width 500
- height 174
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @297
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1136, 1600)
- label (object ItemLabel
- Parent_View @297
- location (906, 1531)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 478
- height 162
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @298
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1968)
- label (object ItemLabel
- Parent_View @298
- location (1022, 1828)
- fill_color 13434879
- nlines 1
- max_width 517
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @298
- location (1022, 1900)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 30)
- width 535
- height 305
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Part" @299
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1184)
- label (object ItemLabel
- Parent_View @299
- location (128, 1067)
- fill_color 13434879
- nlines 1
- max_width 448
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 466
- height 258
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$47" @300
- location (735, 1172)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE900C4"
- roleview_list (list RoleViews
- (object RoleView "typeDefinition" @301
- Parent_View @300
- location (143, 676)
- label (object SegLabel @302
- Parent_View @301
- location (775, 1133)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.269006
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90327"
- client @300
- supplier @296
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (886, 1172)
- label (object SegLabel @303
- Parent_View @301
- location (839, 1207)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.688705
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$48" @304
- Parent_View @300
- location (143, 676)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90331"
- client @300
- supplier @299
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (585, 1172))))
- (object AssociationViewNew "$UNNAMED$49" @305
- location (527, 1592)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C1203B2"
- roleview_list (list RoleViews
- (object RoleView "elementDeclaration" @306
- Parent_View @305
- location (-65, 1096)
- label (object SegLabel @307
- Parent_View @306
- location (666, 1554)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+elementDeclaration"
- pctDist 0.375394
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C14001C"
- client @305
- supplier @297
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (897, 1592)
- label (object SegLabel @308
- Parent_View @306
- location (807, 1645)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.755877
- height 53
- orientation 1))
- (object RoleView "$UNNAMED$50" @309
- Parent_View @305
- location (-65, 1096)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C140026"
- client @305
- supplier @299
- vertices (list Points
- (527, 1592)
- (437, 1592)
- (437, 1313))
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (437, 1313))))
- (object AssociationViewNew "$UNNAMED$55" @310
- location (322, 1911)
- stereotype TRUE
- line_color 3342489
- quidu "3C46829303E5"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @311
- Parent_View @310
- location (-14, 1191)
- label (object SegLabel @312
- Parent_View @311
- location (838, 1872)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.748560
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C468296010E"
- client @310
- supplier @298
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (1013, 1911)
- label (object SegLabel @313
- Parent_View @311
- location (943, 1965)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$56" @314
- Parent_View @310
- location (-14, 1191)
- stereotype TRUE
- line_color 3342489
- quidu "3C4682960118"
- client @310
- supplier @299
- vertices (list Points
- (322, 1911)
- (229, 1911)
- (229, 1313))
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (229, 1313))))
- (object ClassView "Class" "Logical View::wsdl::Types" @315
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 608)
- label (object ItemLabel
- Parent_View @315
- location (615, 512)
- fill_color 13434879
- nlines 1
- max_width 371
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 389
- height 216
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @316
- ShowCompartmentStereotypes TRUE
- location (176, 160)
- label (object ItemLabel
- Parent_View @316
- location (74, 107)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 130
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @317
- location (234, 604)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "eTypes" @318
- Parent_View @317
- location (-150, 396)
- label (object SegLabel @319
- Parent_View @318
- location (480, 640)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "+eTypes"
- pctDist 0.661017
- height 36
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @317
- supplier @315
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (606, 604)
- label (object SegLabel @320
- Parent_View @318
- location (526, 569)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783883
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$54" @321
- Parent_View @317
- location (-150, 396)
- label (object SegLabel @322
- Parent_View @321
- location (133, 313)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @317
- supplier @316
- vertices (list Points
- (234, 604)
- (174, 604)
- (174, 225))
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (174, 225)
- label (object SegLabel @323
- Parent_View @321
- location (228, 271)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.897729
- height 54
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::ITypes" @324
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (640, 224)
- label (object ItemLabel
- Parent_View @324
- location (525, 203)
- fill_color 13434879
- nlines 1
- max_width 230
- justify 0
- label "ITypes")
- stereotype (object ItemLabel
- Parent_View @324
- location (525, 153)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 230
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3CADCBB20050"
- width 248
- height 166
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::XSDSchemaExtensibilityElement" @325
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 800)
- label (object ItemLabel
- Parent_View @325
- location (1359, 753)
- fill_color 13434879
- nlines 1
- max_width 739
- justify 0
- label "XSDSchemaExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CC360D7039C"
- width 757
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @326
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1856, 1216)
- label (object ItemLabel
- Parent_View @326
- location (1529, 1103)
- fill_color 13434879
- nlines 1
- max_width 655
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 673
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$59" @327
- location (1826, 975)
- stereotype TRUE
- line_color 3342489
- quidu "3CC3614500F2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$60" @328
- Parent_View @327
- location (306, 447)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023D"
- client @327
- supplier @325
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 859)
- label (object SegLabel @329
- Parent_View @328
- location (1774, 900)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.656489
- height 53
- orientation 0))
- (object RoleView "schema" @330
- Parent_View @327
- location (306, 447)
- label (object SegLabel @331
- Parent_View @330
- location (2006, 1033)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist 0.507576
- height 180
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023E"
- client @327
- supplier @326
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 1091)
- label (object SegLabel @332
- Parent_View @330
- location (1788, 1050)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.651515
- height 39
- orientation 1))))
- (object InheritView "" @333
- stereotype TRUE
- line_color 3342489
- quidu "3CADCD3B0380"
- client @315
- supplier @324
- line_style 3
- origin_attachment (705, 500)
- terminal_attachment (705, 307))
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @334
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 224)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @334
- location (815, 130)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 500
- height 212
- annotation 8
- autoResize TRUE)
- (object InheritView "" @335
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @315
- supplier @334
- line_style 3
- origin_attachment (854, 500)
- terminal_attachment (854, 330))
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @336
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1824, 464)
- label (object ItemLabel
- Parent_View @336
- location (1490, 368)
- fill_color 13434879
- nlines 1
- max_width 669
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 687
- height 216
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @337
- location (1206, 493)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @338
- Parent_View @337
- location (-586, 237)
- label (object SegLabel @339
- Parent_View @338
- location (1136, 386)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @337
- supplier @334
- vertices (list Points
- (1206, 493)
- (1094, 493)
- (1094, 330))
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1094, 330)
- label (object SegLabel @340
- Parent_View @338
- location (1042, 377)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.828326
- height 53
- orientation 0))
- (object RoleView "eExtensibilityElements" @341
- Parent_View @337
- location (-586, 237)
- label (object SegLabel @342
- Parent_View @341
- location (1196, 454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+eExtensibilityElements"
- pctDist -0.039711
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @337
- supplier @336
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1481, 493)
- label (object SegLabel @343
- Parent_View @341
- location (1415, 546)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.764957
- height 53
- orientation 1)
- label (object SegLabel @344
- Parent_View @341
- location (1396, 392)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.694915
- height 102
- orientation 0))))
- (object InheritView "" @345
- stereotype TRUE
- line_color 3342489
- quidu "3CC3627F00B7"
- client @325
- supplier @336
- line_style 3
- origin_attachment (1812, 741)
- terminal_attachment (1812, 572))))
- (object ClassDiagram "2.3 Messages"
- quid "3BCE853D02C8"
- title "2.3 Messages"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IMessage" @346
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (448, 224)
- label (object ItemLabel
- Parent_View @346
- location (267, 122)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "IMessage")
- stereotype (object ItemLabel
- Parent_View @346
- location (267, 72)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 362
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A8AF004F"
- width 380
- height 328
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPart" @347
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 224)
- label (object ItemLabel
- Parent_View @347
- location (1029, 124)
- fill_color 13434879
- nlines 1
- max_width 599
- justify 0
- label "IPart")
- stereotype (object ItemLabel
- Parent_View @347
- location (1029, 74)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 599
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A93F01BE"
- width 617
- height 324
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @348
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 816)
- label (object ItemLabel
- Parent_View @348
- location (1075, 690)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 492
- height 276
- annotation 8
- autoResize TRUE)
- (object InheritView "" @349
- stereotype TRUE
- line_color 3342489
- quidu "3B84A96D02F1"
- client @348
- supplier @347
- line_style 3
- origin_attachment (1304, 678)
- terminal_attachment (1304, 386))
- (object ClassView "Class" "Logical View::wsdl::Message" @350
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (448, 656)
- label (object ItemLabel
- Parent_View @350
- location (241, 507)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- compartment (object Compartment
- Parent_View @350
- location (241, 579)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 30)
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @351
- stereotype TRUE
- line_color 3342489
- quidu "3B84A8D102BA"
- client @350
- supplier @346
- line_style 3
- origin_attachment (445, 495)
- terminal_attachment (445, 388))
- (object AssociationViewNew "$UNNAMED$1" @352
- location (688, 952)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBE00E2"
- roleview_list (list RoleViews
- (object RoleView "eParts" @353
- Parent_View @352
- location (176, 328)
- label (object SegLabel @354
- Parent_View @353
- location (952, 897)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eParts"
- pctDist 0.697452
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0061"
- client @352
- supplier @348
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (1066, 952)
- label (object SegLabel @355
- Parent_View @353
- location (987, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.789809
- height 53
- orientation 1)
- label (object SegLabel @356
- Parent_View @353
- location (967, 1061)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.742038
- height 109
- orientation 1))
- (object RoleView "$UNNAMED$2" @357
- Parent_View @352
- location (176, 328)
- label (object SegLabel @358
- Parent_View @357
- location (404, 893)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0057"
- client @352
- supplier @350
- vertices (list Points
- (688, 952)
- (445, 952)
- (445, 817))
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (445, 817)
- label (object SegLabel @359
- Parent_View @357
- location (393, 912)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.747604
- height 53
- orientation 0))))))))
- (object Class_Category "xsd"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "prefix"
- value "XSD")
- (object Attribute
- tool "Ecore"
- name "basePackage"
- value "org.eclipse")
- (object Attribute
- tool "Ecore"
- name "nsPrefix"
- value "xsd")
- (object Attribute
- tool "Ecore"
- name "nsURI"
- value "http://www.eclipse.org/xsd/2002/XSD"))
- quid "39ABDC6F01AA"
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "XSDAnnotation"
- quid "3B66EDC80233"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69E1770116"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B7FD4E20366"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "applicationInformation"
- quid "3BBF7EBF02C8"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "userInformation"
- quid "3BBF7EEA0157"
- stereotype "0..*"
- type "DOMElement"
- exportControl "Public")
- (object ClassAttribute "attributes"
- quid "3BBF7F0501E2"
- stereotype "0..*"
- type "DOMAttr"
- exportControl "Public")))
- (object Class "XSDAttributeDeclaration"
- quid "3B66ED2E0192"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69B7DC0193"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B688E6103BE"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F5202B4"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeGroupContent"
- quid "3B6940200089"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D8E200EA"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDAttributeGroupDefinition"
- quid "3B66ED840290"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69403A0221"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B6AE2EB02A8"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAC800D2"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "attributeGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C287F7B0386"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDAttributeUse"
- quid "3B68354601A8"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B72D737038F"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089")
- (object Inheritance_Relationship
- quid "3B72D7BB0349"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3B69CCF3027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B69CDDB03B7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CDE002D8"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "use"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7B0220382"
- type "XSDAttributeUseCategory"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C2719D90341"
- type "String"
- exportControl "Public")))
- (object Class "XSDBoundedFacet"
- quid "3B6C751D0344"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C763C0224"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C752A00CC"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDCardinalityFacet"
- quid "3B6C755D03D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C764F0131"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C756C0153"
- type "XSDCardinality"
- exportControl "Public")))
- (object Class "XSDComplexTypeContent"
- quid "3B683BA00196"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848B80286"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDComplexTypeDefinition"
- quid "3B682B82031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69BAA20310"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2")
- (object Inheritance_Relationship
- quid "3BA0D01901F1"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "derivationMethod"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C6E4020E"
- type "XSDDerivationMethod"
- initv "restriction"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B69C71D026A"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C73800C5"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "contentTypeCategory"
- quid "3B69CA4202B8"
- type "XSDContentTypeCategory"
- exportControl "Public")
- (object ClassAttribute "prohibitedSubstitutions"
- quid "3B69CB8A03E6"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F618014D"
- stereotype "0..*"
- type "XSDComplexFinal"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0FB97006E"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "mixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3C31AF5E03A6"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDComponent"
- quid "3B6846E90029"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA903D2"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDConcreteComponent"
- quid "3B6AD7B40065"
- class_attributes (list class_attribute_list
- (object ClassAttribute "element"
- quid "3B6ADDB501A5"
- type "DOMElement"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDConstrainingFacet"
- quid "3B6C6B340093"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C800394"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDDiagnostic"
- quid "3BFE5F910046"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3D4C0F4C01A1"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "severity"
- quid "3BFE691C005D"
- type "XSDDiagnosticSeverity"
- exportControl "Public")
- (object ClassAttribute "message"
- quid "3BFE5FDD0280"
- type "String"
- exportControl "Public")
- (object ClassAttribute "locationURI"
- quid "3C063743016B"
- type "String"
- exportControl "Public")
- (object ClassAttribute "line"
- quid "3BFE607E0213"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "column"
- quid "3BFE611E0296"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "node"
- quid "3C016B6B0200"
- type "DOMNode"
- exportControl "Public")
- (object ClassAttribute "annotationURI"
- quid "3C06374F0186"
- type "String"
- exportControl "Public")))
- (object Class "XSDElementDeclaration"
- quid "3B66ED580214"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B69EDEE01BF"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")
- (object Inheritance_Relationship
- quid "3B685F17002E"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174")
- (object Inheritance_Relationship
- quid "3B688E660339"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "nillable"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BFB4029F"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "disallowedSubstitutions"
- quid "3B69C4680368"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "substitutionGroupExclusions"
- quid "3B69C4A003B9"
- stereotype "0..*"
- type "XSDSubstitutionGroupExclusions"
- exportControl "Public")
- (object ClassAttribute "abstract"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69C4E0000E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D14C00B2"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "block"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0D16801C1"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "elementDeclarationReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289F6203CF"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C34DCB00018"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDEnumerationFacet"
- quid "3B6C6ACE0141"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C9D03C7"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C640054"
- stereotype "0..*"
- type "Value"
- exportControl "Public")))
- (object Class "XSDFacet"
- quid "3B6C359403D2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D25680259"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "lexicalValue"
- quid "3B6C73740253"
- type "String"
- exportControl "Public")
- (object ClassAttribute "facetName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C289FB401EC"
- type "String"
- exportControl "Public")
- (object ClassAttribute "effectiveValue"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28AAE303B6"
- type "Value"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFeature"
- quid "3B69B537026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C290A2C0307"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B69BF81020F"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "constraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69BF8800C5"
- type "XSDConstraint"
- exportControl "Public")
- (object ClassAttribute "form"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F902B033E"
- type "XSDForm"
- exportControl "Public")
- (object ClassAttribute "lexicalValue"
- quid "3C271A1B016F"
- type "String"
- exportControl "Public")
- (object ClassAttribute "global"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0070372"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "featureReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A0440185"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFixedFacet"
- quid "3B6C699E00C1"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8801B4"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "fixed"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C6A600201"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDFractionDigitsFacet"
- quid "3B6C79BE02EE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B990016"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79D2008A"
- type "int"
- exportControl "Public")))
- (object Class "XSDFundamentalFacet"
- quid "3B6C69E801D6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C7B0396"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"))
- abstract TRUE)
- (object Class "XSDIdentityConstraintDefinition"
- quid "3B682B2603A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684AA30242"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "identityConstraintCategory"
- quid "3B69D1C70143"
- type "XSDIdentityConstraintCategory"
- exportControl "Public")))
- (object Class "XSDImport"
- quid "3B688C93017F"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8D9003E"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespace"
- quid "3B6ADB15036C"
- type "String"
- exportControl "Public")))
- (object Class "XSDInclude"
- quid "3B688C7D0250"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8DC0381"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDLengthFacet"
- quid "3B6C776200E7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C778002DF"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C776C004B"
- type "int"
- exportControl "Public")))
- (object Class "XSDMaxExclusiveFacet"
- quid "3B6C789600C2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8E0309"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxFacet"
- quid "3C0A1CEB010E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D3103AD"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1EE201F7"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A174027D"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1930354"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMaxInclusiveFacet"
- quid "3B6C787D00DA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B8303B8"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E")))
- (object Class "XSDMaxLengthFacet"
- quid "3B6C77C70146"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B7D00FC"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C77DA00F3"
- type "int"
- exportControl "Public")))
- (object Class "XSDMinExclusiveFacet"
- quid "3B6C792D000A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B590281"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinFacet"
- quid "3C0A1CDE037C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C0A1D240098"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3C0A1ED10398"
- type "Value"
- exportControl "Public")
- (object ClassAttribute "inclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1A2008E"
- type "boolean"
- exportControl "Public")
- (object ClassAttribute "exclusive"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1BE03E2"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDMinInclusiveFacet"
- quid "3B6C788702C9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B520353"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C")))
- (object Class "XSDMinLengthFacet"
- quid "3B6C778C0065"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C77C400C0"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7799015E"
- type "int"
- exportControl "Public")))
- (object Class "XSDModelGroup"
- quid "3B6834E00291"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A640279"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "compositor"
- quid "3B69CF1D01CF"
- type "XSDCompositor"
- exportControl "Public")))
- (object Class "XSDModelGroupDefinition"
- quid "3B66ED9A0205"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2E20381"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B6BD2550385"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6")
- (object Inheritance_Relationship
- quid "3B7FCAC40090"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "modelGroupDefinitionReference"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A1F602E8"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDNamedComponent"
- quid "3B6846D303A4"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3BA0CEA20197"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B6847000142"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B684704031E"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A57F0127"
- type "String"
- exportControl "Public")
- (object ClassAttribute "uRI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A58700E2"
- type "String"
- exportControl "Public")
- (object ClassAttribute "aliasURI"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A5AA02AF"
- type "String"
- exportControl "Public")
- (object ClassAttribute "qName"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C290963025E"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDNotationDeclaration"
- quid "3B66EDAA021C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B68494302F1"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4")
- (object Inheritance_Relationship
- quid "3B688E4F023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "systemIdentifier"
- quid "3B69D32E00F0"
- type "String"
- exportControl "Public")
- (object ClassAttribute "publicIdentifier"
- quid "3B69D3340397"
- type "String"
- exportControl "Public")))
- (object Class "XSDNumericFacet"
- quid "3B6C75950206"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C76420074"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C75A30012"
- type "boolean"
- exportControl "Public")))
- (object Class "XSDOrderedFacet"
- quid "3B6C74DD0248"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7659012C"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C74F602DA"
- type "XSDOrdered"
- exportControl "Public")))
- (object Class "XSDParticle"
- quid "3B682BBD01F7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848FC01E7"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "minOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF8E03B2"
- type "int"
- initv "1"
- exportControl "Public")
- (object ClassAttribute "maxOccurs"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69CF9903AE"
- type "int"
- initv "1"
- exportControl "Public")))
- (object Class "XSDParticleContent"
- quid "3B6BD22300C6"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B780BD90059"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDPatternFacet"
- quid "3B6C6ADB026C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6CA5038D"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C7C790311"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDRedefinableComponent"
- quid "3B7FCA8B020B"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FD4BA023C"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3C290A26036D"
- supplier "Logical View::xsd::XSDNamedComponent"
- quidu "3B6846D303A4"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "circular"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE))
- quid "3C28A6800216"
- type "boolean"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDRedefineContent"
- quid "3B6AE2060172"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2B301D5"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- abstract TRUE)
- (object Class "XSDRedefine"
- quid "3B688C9B02AD"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB640240"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE")))
- (object Class "XSDRepeatableFacet"
- quid "3B6C6AA6031A"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C6C8F002E"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"))
- abstract TRUE)
- (object Class "XSDSchema"
- quid "374B182500BB"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCC4A0182"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "document"
- quid "3C2784E503DD"
- type "DOMDocument"
- exportControl "Public")
- (object ClassAttribute "schemaLocation"
- quid "3B6868EC0226"
- type "String"
- exportControl "Public")
- (object ClassAttribute "targetNamespace"
- quid "3B9F9BFF0180"
- type "String"
- exportControl "Public")
- (object ClassAttribute "attributeFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F904B0102"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "elementFormDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B9F907800AC"
- type "XSDForm"
- initv "unqualified"
- exportControl "Public")
- (object ClassAttribute "finalDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0C4A70038"
- stereotype "0..*"
- type "XSDProhibitedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "blockDefault"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F59D02D8"
- stereotype "0..*"
- type "XSDDisallowedSubstitutions"
- exportControl "Public")
- (object ClassAttribute "version"
- quid "3D22D6D80356"
- type "String"
- exportControl "Public")))
- (object Class "XSDSchemaCompositor"
- quid "3C21DB4102AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3C21DB560092"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"))
- abstract TRUE)
- (object Class "XSDSchemaContent"
- quid "3B688CB800BA"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AD8E60372"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"))
- abstract TRUE)
- (object Class "XSDSchemaDirective"
- quid "3B6AD8A202A2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE32102AF"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "schemaLocation"
- quid "3B6AD9B30330"
- type "String"
- exportControl "Public"))
- abstract TRUE)
- (object Class "XSDScope"
- quid "3B69B54000F2"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B7FCD640231"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- abstract TRUE)
- (object Class "XSDSimpleTypeDefinition"
- quid "3B682BA7005D"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A1302A2"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")
- (object Inheritance_Relationship
- quid "3B685F55032B"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B6C315800A9"
- type "XSDVariety"
- exportControl "Public")
- (object ClassAttribute "final"
- quid "3B6D544F0146"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "lexicalFinal"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA0F65E035A"
- stereotype "0..*"
- type "XSDSimpleFinal"
- exportControl "Public")
- (object ClassAttribute "validFacets"
- quid "3C28AB0F00B6"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDTerm"
- quid "3B683C5E0174"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6848AA01D3"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029")
- (object Inheritance_Relationship
- quid "3B6BD2440069"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"))
- abstract TRUE)
- (object Class "XSDTotalDigitsFacet"
- quid "3B6C79A0020E"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C7B610337"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C79AB0232"
- type "int"
- exportControl "Public")))
- (object Class "XSDTypeDefinition"
- quid "3B66ECD302A9"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6AE2F5013A"
- stereotype "mixin"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172")
- (object Inheritance_Relationship
- quid "3B7FCAB1004D"
- supplier "Logical View::xsd::XSDRedefinableComponent"
- quidu "3B7FCA8B020B"))
- abstract TRUE)
- (object Class "XSDWhiteSpaceFacet"
- quid "3B6C784601B7"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6C78620045"
- supplier "Logical View::xsd::XSDFixedFacet"
- quidu "3B6C699E00C1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "value"
- quid "3B6C78500201"
- type "XSDWhiteSpace"
- exportControl "Public")))
- (object Class "XSDWildcard"
- quid "3B6838370031"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B684A3A0041"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceConstraintCategory"
- quid "3B69D0E9019E"
- type "XSDNamespaceConstraintCategory"
- exportControl "Public")
- (object ClassAttribute "namespaceConstraint"
- quid "3B97CF860223"
- stereotype "0..*"
- type "String"
- exportControl "Public")
- (object ClassAttribute "processContents"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3B69D12E01E4"
- type "XSDProcessContents"
- exportControl "Public")
- (object ClassAttribute "lexicalNamespaceConstraint"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isUnsettable"
- value TRUE))
- quid "3BA7BDB701F9"
- stereotype "0..*"
- type "String"
- exportControl "Public")))
- (object Class "XSDXPathDefinition"
- quid "3B6D83BB0355"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B6D84F70092"
- supplier "Logical View::xsd::XSDComponent"
- quidu "3B6846E90029"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "variety"
- quid "3B6D901503DE"
- type "XSDXPathVariety"
- exportControl "Public")
- (object ClassAttribute "value"
- quid "3B7BBBE101B1"
- type "String"
- exportControl "Public")))
- (object Class "DOMAttr"
- quid "3BBF8C8901B6"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Attr"
- quid "3BBF8CB000D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMDocument"
- quid "3C27850E0381"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3C27851B03C6"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMElement"
- quid "3B8189790200"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B8189DB0374"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "DOMNode"
- quid "3BFE64A50117"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Node"
- quid "3BFE65BF002D"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "Value"
- quid "3C040B5B031F"
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.lang.Object"
- quid "3C040B8D03D5"
- stereotype "javaclass"
- exportControl "Public")))
- (object Class "XSDAttributeUseCategory"
- quid "3BA7B0E801A8"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "optional"
- quid "3BA7B11502B7"
- exportControl "Public")
- (object ClassAttribute "prohibited"
- quid "3BA7B12202D3"
- exportControl "Public")
- (object ClassAttribute "required"
- quid "3BA7B12902F0"
- exportControl "Public")))
- (object Class "XSDCardinality"
- quid "3BC7715D009B"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "finite"
- quid "3BC771DC02ED"
- exportControl "Public")
- (object ClassAttribute "countablyInfinite"
- quid "3BC771EC0141"
- exportControl "Public")))
- (object Class "XSDComplexFinal"
- quid "3B97C2CA01CB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C2E700DA"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2EA016A"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6D20112"
- exportControl "Public")))
- (object Class "XSDCompositor"
- quid "3B869B620037"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "all"
- quid "3B869BD00003"
- exportControl "Public")
- (object ClassAttribute "choice"
- quid "3B869CB8011E"
- exportControl "Public")
- (object ClassAttribute "sequence"
- quid "3B869CE50057"
- exportControl "Public")))
- (object Class "XSDConstraint"
- quid "3B869E2601AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "default"
- quid "3B869E8E0258"
- exportControl "Public")
- (object ClassAttribute "fixed"
- quid "3B869E990271"
- exportControl "Public")))
- (object Class "XSDContentTypeCategory"
- quid "3B86A79F03A2"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "empty"
- quid "3B86A7CD02F0"
- exportControl "Public")
- (object ClassAttribute "simple"
- quid "3B86A7D100CE"
- exportControl "Public")
- (object ClassAttribute "mixed"
- quid "3B86A7D301B7"
- exportControl "Public")
- (object ClassAttribute "elementOnly"
- quid "3B86A7D702E9"
- exportControl "Public")))
- (object Class "XSDDerivationMethod"
- quid "3B86A0B000CE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B86A0C80329"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B86A0CC0162"
- exportControl "Public")))
- (object Class "XSDDiagnosticSeverity"
- quid "3BFE68A7032F"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "fatal"
- quid "3BFE68C303D0"
- exportControl "Public")
- (object ClassAttribute "error"
- quid "3BFE68E700E3"
- exportControl "Public")
- (object ClassAttribute "warning"
- quid "3BFE68EA01FF"
- exportControl "Public")
- (object ClassAttribute "information"
- quid "3BFE7FC2019A"
- exportControl "Public")))
- (object Class "XSDDisallowedSubstitutions"
- quid "3B97C5A403DF"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "substitution"
- quid "3B97C6790045"
- exportControl "Public")
- (object ClassAttribute "extension"
- quid "3B97C67F01AC"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C683020B"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2450069"
- exportControl "Public")))
- (object Class "XSDForm"
- quid "3B9F913B01EB"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "qualified"
- quid "3B9F916F0023"
- exportControl "Public")
- (object ClassAttribute "unqualified"
- quid "3B9F918C007F"
- exportControl "Public")))
- (object Class "XSDIdentityConstraintCategory"
- quid "3B86A1E00272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "key"
- quid "3B86A2120085"
- exportControl "Public")
- (object ClassAttribute "keyref"
- quid "3B86A213014F"
- exportControl "Public")
- (object ClassAttribute "unique"
- quid "3B86A2160365"
- exportControl "Public")))
- (object Class "XSDNamespaceConstraintCategory"
- quid "3B97C5EA0023"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "any"
- quid "3B97D0600034"
- exportControl "Public")
- (object ClassAttribute "not"
- quid "3B97D062005F"
- exportControl "Public")
- (object ClassAttribute "set"
- quid "3B97D0650117"
- exportControl "Public")))
- (object Class "XSDOrdered"
- quid "3BC7715202E4"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "false"
- quid "3BC771A90271"
- exportControl "Public")
- (object ClassAttribute "partial"
- quid "3BC771BB01FF"
- exportControl "Public")
- (object ClassAttribute "total"
- quid "3BC771C401B2"
- exportControl "Public")))
- (object Class "XSDProcessContents"
- quid "3B8FF8C70284"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "strict"
- quid "3B8FF8F80045"
- exportControl "Public")
- (object ClassAttribute "lax"
- quid "3B8FF8F6038B"
- exportControl "Public")
- (object ClassAttribute "skip"
- quid "3B8FF8E802BA"
- exportControl "Public")))
- (object Class "XSDProhibitedSubstitutions"
- quid "3B97C5BE0272"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C68B00B8"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C6940291"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F2500295"
- exportControl "Public")))
- (object Class "XSDSimpleFinal"
- quid "3B97C25D0295"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "list"
- quid "3B97C2810230"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C2830138"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B97C288024E"
- exportControl "Public")
- (object ClassAttribute "all"
- quid "3BA0F6E00374"
- exportControl "Public")))
- (object Class "XSDSubstitutionGroupExclusions"
- quid "3B97C59100AE"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "extension"
- quid "3B97C6640231"
- exportControl "Public")
- (object ClassAttribute "restriction"
- quid "3B97C66D0216"
- exportControl "Public")))
- (object Class "XSDVariety"
- quid "3B8FF7730249"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "atomic"
- quid "3B8FF7A702DF"
- exportControl "Public")
- (object ClassAttribute "list"
- quid "3B8FF7AD0139"
- exportControl "Public")
- (object ClassAttribute "union"
- quid "3B8FF7AF039F"
- exportControl "Public")))
- (object Class "XSDWhiteSpace"
- quid "3BEED0F60342"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "preserve"
- quid "3BEED10F0117"
- exportControl "Public")
- (object ClassAttribute "replace"
- quid "3BEED127034D"
- exportControl "Public")
- (object ClassAttribute "collapse"
- quid "3BEED1290396"
- exportControl "Public")))
- (object Class "XSDXPathVariety"
- quid "3B8FFB89033A"
- stereotype "enumeration"
- class_attributes (list class_attribute_list
- (object ClassAttribute "selector"
- quid "3B8FFBAC0192"
- exportControl "Public")
- (object ClassAttribute "field"
- quid "3B8FFBB30278"
- exportControl "Public")))
- (object Association "$UNNAMED$65"
- quid "3C626EA70102"
- roles (list role_list
- (object Role "$UNNAMED$66"
- quid "3C626EA90191"
- supplier "Logical View::xsd::XSDRepeatableFacet"
- quidu "3B6C6AA6031A"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EA90192"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$67"
- quid "3B69DADC02F5"
- roles (list role_list
- (object Role "$UNNAMED$68"
- quid "3B69DADD0238"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DADD0242"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$69"
- quid "3B6890D6006F"
- roles (list role_list
- (object Role "$UNNAMED$70"
- quid "3B6890D6030E"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6890D60318"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$71"
- quid "3B68356B02CB"
- roles (list role_list
- (object Role "$UNNAMED$72"
- quid "3B68356D00A6"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68356D00A7"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$73"
- quid "3B6B426B0194"
- roles (list role_list
- (object Role "$UNNAMED$74"
- quid "3B6B426D0309"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- is_aggregate TRUE)
- (object Role "resolvedAttributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B426D0313"
- label "resolvedAttributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$75"
- quid "3B69DB060291"
- roles (list role_list
- (object Role "$UNNAMED$76"
- quid "3B69DB070171"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB070172"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$77"
- quid "3B69404E0067"
- roles (list role_list
- (object Role "$UNNAMED$78"
- quid "3B694050029B"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B69405002A5"
- label "contents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$79"
- quid "3B68359F0086"
- roles (list role_list
- (object Role "$UNNAMED$80"
- quid "3B6835A00069"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6835A0006A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$81"
- quid "3C275D320220"
- roles (list role_list
- (object Role "$UNNAMED$82"
- quid "3C275D3C010C"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3C275D3C010D"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$83"
- quid "3B6887BF0150"
- roles (list role_list
- (object Role "$UNNAMED$84"
- quid "3B6887C000A7"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6887C000A8"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$85"
- quid "3B6B425E01F9"
- roles (list role_list
- (object Role "$UNNAMED$86"
- quid "3B6B42620046"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "resolvedAttributeGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B42620050"
- label "resolvedAttributeGroupDefinition"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$87"
- quid "3B683585010D"
- roles (list role_list
- (object Role "$UNNAMED$88"
- quid "3B68358600FA"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "attributeDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68358600FB"
- label "attributeDeclaration"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$89"
- quid "3B6F1DE9018A"
- roles (list role_list
- (object Role "$UNNAMED$90"
- quid "3B6F1DEA036C"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6F1DEA0380"
- label "content"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$91"
- quid "3B90068801C2"
- roles (list role_list
- (object Role "$UNNAMED$92"
- quid "3B90068A0111"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentAnnotation"
- quid "3B90068A011B"
- label "contentAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$93"
- quid "3B6833350340"
- roles (list role_list
- (object Role "$UNNAMED$94"
- quid "3B683336028D"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683336028E"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$95"
- quid "3B6FDDD70113"
- roles (list role_list
- (object Role "$UNNAMED$96"
- quid "3B6FDDDA026B"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6FDDDA0275"
- label "content"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$97"
- quid "3B6837DF024F"
- roles (list role_list
- (object Role "$UNNAMED$98"
- quid "3B6837E100FD"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "contentType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6837E100FE"
- label "contentType"
- supplier "Logical View::xsd::XSDComplexTypeContent"
- quidu "3B683BA00196"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$99"
- quid "3B683959006E"
- roles (list role_list
- (object Role "$UNNAMED$100"
- quid "3B6839590349"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeUses"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683959034A"
- label "attributeUses"
- supplier "Logical View::xsd::XSDAttributeUse"
- quidu "3B68354601A8"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$101"
- quid "3B698E360386"
- roles (list role_list
- (object Role "$UNNAMED$102"
- quid "3B698E380072"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeContents"
- quid "3B698E38007C"
- label "attributeContents"
- supplier "Logical View::xsd::XSDAttributeGroupContent"
- quidu "3B6940200089"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$103"
- quid "3B6851BA0126"
- roles (list role_list
- (object Role "$UNNAMED$104"
- quid "3B6851BB0150"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6851BB0151"
- label "attributeWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$105"
- quid "3B751B0803C7"
- roles (list role_list
- (object Role "container"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B0C01CE"
- label "container"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$106"
- attributes (list Attribute_Set)
- quid "3B751B0C01CF"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$107"
- quid "3B751B480261"
- roles (list role_list
- (object Role "rootContainer"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751B4C0285"
- label "rootContainer"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$108"
- attributes (list Attribute_Set)
- quid "3B751B4C0286"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")))
- (object Association "$UNNAMED$109"
- quid "3B751C310356"
- roles (list role_list
- (object Role "$UNNAMED$110"
- attributes (list Attribute_Set)
- quid "3B751C330331"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065")
- (object Role "schema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B751C33033B"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$111"
- quid "3B69DB0A0066"
- roles (list role_list
- (object Role "$UNNAMED$112"
- quid "3B69DB0B023F"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0B0249"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$113"
- quid "3B68911401AF"
- roles (list role_list
- (object Role "$UNNAMED$114"
- quid "3B6891150016"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "anonymousTypeDefinition"
- quid "3B6891150017"
- label "anonymousTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$115"
- quid "3B68338C0058"
- roles (list role_list
- (object Role "$UNNAMED$116"
- quid "3B68338C03BF"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "typeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B68338C03C0"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$117"
- quid "3B6833EF0160"
- roles (list role_list
- (object Role "$UNNAMED$118"
- quid "3B6833F00298"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- quid "3B6833F00299"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$119"
- quid "3B6B41E60251"
- roles (list role_list
- (object Role "$UNNAMED$120"
- quid "3B6B41EA02F7"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "resolvedElementDeclaration"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B41EA030B"
- label "resolvedElementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$121"
- quid "3B69C0590198"
- roles (list role_list
- (object Role "$UNNAMED$122"
- quid "3B69C05D01E3"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214")
- (object Role "substitutionGroupAffiliation"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69C05D01ED"
- label "substitutionGroupAffiliation"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$123"
- quid "3C42DBDD0297"
- roles (list role_list
- (object Role "$UNNAMED$124"
- quid "3C42DBE0011E"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- is_aggregate TRUE)
- (object Role "substitutionGroup"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C42DBE00128"
- label "substitutionGroup"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$125"
- quid "3B6D23B901CD"
- roles (list role_list
- (object Role "$UNNAMED$126"
- quid "3B6D23BA01C4"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6D23BA01CE"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$127"
- quid "3B6D597102EA"
- roles (list role_list
- (object Role "simpleTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D59750105"
- label "simpleTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$128"
- attributes (list Attribute_Set)
- quid "3B6D59750119"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2")))
- (object Association "$UNNAMED$129"
- quid "3B69B653017A"
- roles (list role_list
- (object Role "scope"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B69B654006D"
- label "scope"
- supplier "Logical View::xsd::XSDScope"
- quidu "3B69B54000F2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$130"
- attributes (list Attribute_Set)
- quid "3B69B654006E"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$131"
- quid "3C29010602D7"
- roles (list role_list
- (object Role "resolvedFeature"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C29010B000E"
- label "resolvedFeature"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$132"
- attributes (list Attribute_Set)
- quid "3C29010B0018"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$133"
- quid "3B69DB0D0183"
- roles (list role_list
- (object Role "$UNNAMED$134"
- quid "3B69DB0D033C"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB0D0346"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$135"
- quid "3B69D29E014D"
- roles (list role_list
- (object Role "referencedKey"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69D2A80165"
- label "referencedKey"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$136"
- attributes (list Attribute_Set)
- quid "3B69D2A8016F"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2")))
- (object Association "$UNNAMED$137"
- quid "3B6D8D3D003E"
- roles (list role_list
- (object Role "$UNNAMED$138"
- quid "3B6D8D3E022A"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "selector"
- quid "3B6D8D3E0234"
- label "selector"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$139"
- quid "3B6D8D330025"
- roles (list role_list
- (object Role "$UNNAMED$140"
- quid "3B6D8D330365"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- is_aggregate TRUE)
- (object Role "fields"
- quid "3B6D8D330379"
- label "fields"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$141"
- quid "3B6ADCD802FC"
- roles (list role_list
- (object Role "$UNNAMED$142"
- quid "3B6ADCD9018B"
- supplier "Logical View::xsd::XSDImport"
- quidu "3B688C93017F"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCD9018C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$143"
- quid "3B6ADCC5007E"
- roles (list role_list
- (object Role "$UNNAMED$144"
- quid "3B6ADCC6006B"
- supplier "Logical View::xsd::XSDInclude"
- quidu "3B688C7D0250"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B6ADCC6006C"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$145"
- quid "3B69DB1702C8"
- roles (list role_list
- (object Role "$UNNAMED$146"
- quid "3B69DB1803E2"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB190004"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$147"
- quid "3B6BCEB102F8"
- roles (list role_list
- (object Role "$UNNAMED$148"
- quid "3B6BCEB6001B"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6BCEB60025"
- label "contents"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$149"
- quid "3B683606026F"
- roles (list role_list
- (object Role "$UNNAMED$150"
- quid "3B6836070221"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- is_aggregate TRUE)
- (object Role "particles"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6836070222"
- label "particles"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$151"
- quid "3B69DB15008A"
- roles (list role_list
- (object Role "$UNNAMED$152"
- quid "3B69DB160096"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1600A0"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$153"
- quid "3B6837AC025A"
- roles (list role_list
- (object Role "$UNNAMED$154"
- quid "3B6837AD0338"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "modelGroup"
- quid "3B6837AD0339"
- label "modelGroup"
- supplier "Logical View::xsd::XSDModelGroup"
- quidu "3B6834E00291"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$155"
- quid "3B6B42450398"
- roles (list role_list
- (object Role "$UNNAMED$156"
- quid "3B6B4249038A"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- is_aggregate TRUE)
- (object Role "resolvedModelGroupDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6B4249039E"
- label "resolvedModelGroupDefinition"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$157"
- quid "3B69DB0F0212"
- roles (list role_list
- (object Role "$UNNAMED$158"
- quid "3B69DB1000C9"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB1000D3"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$159"
- quid "3B6B47150119"
- roles (list role_list
- (object Role "$UNNAMED$160"
- quid "3B6B471A03AB"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "content"
- quid "3B6B471A03B5"
- label "content"
- supplier "Logical View::xsd::XSDParticleContent"
- quidu "3B6BD22300C6"
- client_cardinality (value cardinality "1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$161"
- quid "3B683C890122"
- roles (list role_list
- (object Role "$UNNAMED$162"
- quid "3B683C8A0110"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- is_aggregate TRUE)
- (object Role "term"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B683C8A0111"
- label "term"
- supplier "Logical View::xsd::XSDTerm"
- quidu "3B683C5E0174"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$163"
- quid "3B6ADE42009A"
- roles (list role_list
- (object Role "$UNNAMED$164"
- quid "3B6ADE4302FE"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6ADE430308"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$165"
- quid "3B6AE8240051"
- roles (list role_list
- (object Role "$UNNAMED$166"
- quid "3B6AE82602AD"
- supplier "Logical View::xsd::XSDRedefine"
- quidu "3B688C9B02AD"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6AE82602B7"
- label "contents"
- supplier "Logical View::xsd::XSDRedefineContent"
- quidu "3B6AE2060172"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$167"
- quid "3B688E6B003D"
- roles (list role_list
- (object Role "$UNNAMED$168"
- quid "3B688E6C0107"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B688E6C0111"
- label "contents"
- supplier "Logical View::xsd::XSDSchemaContent"
- quidu "3B688CB800BA"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$169"
- quid "3B66EE8D01BF"
- roles (list role_list
- (object Role "$UNNAMED$170"
- quid "3B66EE8E0198"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "elementDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE8E0199"
- label "elementDeclarations"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$171"
- quid "3B66FDFA00C3"
- roles (list role_list
- (object Role "$UNNAMED$172"
- quid "3B66FDFB027D"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66FDFB027E"
- label "attributeDeclarations"
- supplier "Logical View::xsd::XSDAttributeDeclaration"
- quidu "3B66ED2E0192"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$173"
- quid "3B66EE920216"
- roles (list role_list
- (object Role "$UNNAMED$174"
- quid "3B66EE93018B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "attributeGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE93018C"
- label "attributeGroupDefinitions"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$175"
- quid "3B66EE760049"
- roles (list role_list
- (object Role "$UNNAMED$176"
- quid "3B66EE760374"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "typeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EE76037E"
- label "typeDefinitions"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$177"
- quid "3B66EEFF024F"
- roles (list role_list
- (object Role "$UNNAMED$178"
- quid "3B66EF00025A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "modelGroupDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EF000264"
- label "modelGroupDefinitions"
- supplier "Logical View::xsd::XSDModelGroupDefinition"
- quidu "3B66ED9A0205"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$179"
- quid "3BFC2A1701ED"
- roles (list role_list
- (object Role "$UNNAMED$180"
- quid "3BFC2A1A0273"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "identityConstraintDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFC2A1A027D"
- label "identityConstraintDefinitions"
- supplier "Logical View::xsd::XSDIdentityConstraintDefinition"
- quidu "3B682B2603A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$181"
- quid "3B66EEA7023E"
- roles (list role_list
- (object Role "$UNNAMED$182"
- quid "3B66EEA8038A"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "notationDeclarations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B66EEA8038B"
- label "notationDeclarations"
- supplier "Logical View::xsd::XSDNotationDeclaration"
- quidu "3B66EDAA021C"
- client_cardinality (value cardinality "0..n")
- Containment "By Reference"
- is_navigable TRUE)))
- (object Association "$UNNAMED$183"
- quid "3B69E4560290"
- roles (list role_list
- (object Role "$UNNAMED$184"
- quid "3B69E4570165"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69E457016F"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$185"
- quid "3B6D5CA50112"
- roles (list role_list
- (object Role "$UNNAMED$186"
- quid "3B6D5CA703B4"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "contents"
- quid "3B6D5CA703C8"
- label "contents"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$187"
- quid "3B6C35AD0374"
- roles (list role_list
- (object Role "$UNNAMED$188"
- quid "3B6C35AF0006"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facetContents"
- quid "3B6C35AF0010"
- label "facetContents"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$189"
- quid "3BC8AE0203A8"
- roles (list role_list
- (object Role "$UNNAMED$190"
- quid "3BC8AE060051"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "facets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BC8AE060065"
- label "facets"
- supplier "Logical View::xsd::XSDConstrainingFacet"
- quidu "3B6C6B340093"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$191"
- quid "3B6C34B70208"
- roles (list role_list
- (object Role "$UNNAMED$192"
- quid "3B6C34BE0258"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "memberTypeDefinitions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6C34BE0259"
- label "memberTypeDefinitions"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$193"
- quid "3B6C363201DB"
- roles (list role_list
- (object Role "$UNNAMED$194"
- quid "3B6C36350059"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fundamentalFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B6C36350063"
- label "fundamentalFacets"
- supplier "Logical View::xsd::XSDFundamentalFacet"
- quidu "3B6C69E801D6"
- client_cardinality (value cardinality "1..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$195"
- quid "3B6D35AB0273"
- roles (list role_list
- (object Role "$UNNAMED$196"
- quid "3B6D35B20291"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "baseTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D35B202A5"
- label "baseTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$197"
- quid "3B6D5572016C"
- roles (list role_list
- (object Role "$UNNAMED$198"
- quid "3B6D5575022F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "primitiveTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B6D55750243"
- label "primitiveTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$199"
- quid "3B69E2910158"
- roles (list role_list
- (object Role "$UNNAMED$200"
- quid "3B69E292019F"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69E29201A9"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$201"
- quid "3B9006CF0088"
- roles (list role_list
- (object Role "$UNNAMED$202"
- quid "3B9006D1015D"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "derivationAnnotation"
- quid "3B9006D10167"
- label "derivationAnnotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$203"
- quid "3B69DB330264"
- roles (list role_list
- (object Role "$UNNAMED$204"
- quid "3B69DB340284"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3B69DB34028E"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$205"
- quid "3B69DB11026F"
- roles (list role_list
- (object Role "$UNNAMED$206"
- quid "3B69DB1201F9"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3B69DB120203"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$207"
- quid "3C626EB30005"
- roles (list role_list
- (object Role "$UNNAMED$208"
- quid "3C626EB40327"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- is_aggregate TRUE)
- (object Role "annotations"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C626EB40332"
- label "annotations"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$209"
- quid "3BEBDC870247"
- roles (list role_list
- (object Role "$UNNAMED$210"
- quid "3BEBDC8C02F9"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "attributeWildcardContent"
- quid "3BEBDC8C0303"
- label "attributeWildcardContent"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$211"
- quid "3BFE622703CD"
- roles (list role_list
- (object Role "$UNNAMED$212"
- attributes (list Attribute_Set)
- quid "3BFE622B0061"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "components"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE622B006C"
- label "components"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$213"
- quid "3BFE62690165"
- roles (list role_list
- (object Role "$UNNAMED$214"
- quid "3BFE626A0026"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- is_aggregate TRUE)
- (object Role "diagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3BFE626A0027"
- label "diagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$215"
- quid "3BFE6431035F"
- roles (list role_list
- (object Role "$UNNAMED$216"
- quid "3BFE643201C6"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "allDiagnostics"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3BFE643201C7"
- label "allDiagnostics"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$217"
- quid "3C21DCC700EC"
- roles (list role_list
- (object Role "$UNNAMED$218"
- quid "3C21DCCE0042"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- is_aggregate TRUE)
- (object Role "resolvedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DCCE0043"
- label "resolvedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$219"
- quid "3C21DD0C03DB"
- roles (list role_list
- (object Role "$UNNAMED$220"
- quid "3C21DD100304"
- supplier "Logical View::xsd::XSDSchemaCompositor"
- quidu "3C21DB4102AE"
- is_aggregate TRUE)
- (object Role "incorporatedSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C21DD100305"
- label "incorporatedSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$221"
- quid "3C239134004F"
- roles (list role_list
- (object Role "$UNNAMED$222"
- quid "3C23913600CA"
- supplier "Logical View::xsd::XSDXPathDefinition"
- quidu "3B6D83BB0355"
- is_aggregate TRUE)
- (object Role "annotation"
- quid "3C23913600D4"
- label "annotation"
- supplier "Logical View::xsd::XSDAnnotation"
- quidu "3B66EDC80233"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$223"
- quid "3C25D3A60131"
- roles (list role_list
- (object Role "$UNNAMED$224"
- quid "3C25D3A90370"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "referencingDirectives"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C25D3A90371"
- label "referencingDirectives"
- supplier "Logical View::xsd::XSDSchemaDirective"
- quidu "3B6AD8A202A2"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$225"
- quid "3C25ECF0005E"
- roles (list role_list
- (object Role "$UNNAMED$226"
- quid "3C25ECF4001E"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "rootVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ECF40028"
- label "rootVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$227"
- quid "3C25ED0B011B"
- roles (list role_list
- (object Role "$UNNAMED$228"
- quid "3C25ED0F0121"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "originalVersion"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25ED0F012B"
- label "originalVersion"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$229"
- quid "3C25EEAB001F"
- roles (list role_list
- (object Role "$UNNAMED$230"
- quid "3C25EEAF010B"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- is_aggregate TRUE)
- (object Role "incorporatedVersions"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C25EEAF0115"
- label "incorporatedVersions"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$231"
- quid "3C276DA000DE"
- roles (list role_list
- (object Role "$UNNAMED$232"
- quid "3C276DA000DF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "itemTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE))
- quid "3C276DA000E0"
- label "itemTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$233"
- quid "3C2784730194"
- roles (list role_list
- (object Role "$UNNAMED$234"
- quid "3C27847501F1"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB")
- (object Role "schemaForSchema"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C27847501FB"
- label "schemaForSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$235"
- quid "3C2880F503D9"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2880F9003C"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$236"
- attributes (list Attribute_Set)
- quid "3C2880F90046"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A")))
- (object Association "$UNNAMED$237"
- quid "3C2882C50137"
- roles (list role_list
- (object Role "$UNNAMED$238"
- attributes (list Attribute_Set)
- quid "3C2882C70112"
- supplier "Logical View::xsd::XSDDiagnostic"
- quidu "3BFE5F910046")
- (object Role "primaryComponent"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C2882C70113"
- label "primaryComponent"
- supplier "Logical View::xsd::XSDConcreteComponent"
- quidu "3B6AD7B40065"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$239"
- quid "3C28A0F201A4"
- roles (list role_list
- (object Role "type"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A0F302E5"
- label "type"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$240"
- attributes (list Attribute_Set)
- quid "3C28A0F302F0"
- supplier "Logical View::xsd::XSDFeature"
- quidu "3B69B537026C")))
- (object Association "$UNNAMED$241"
- quid "3C28A6DB01E5"
- roles (list role_list
- (object Role "rootType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A6DD03DD"
- label "rootType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$242"
- attributes (list Attribute_Set)
- quid "3C28A6DD03DE"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$243"
- quid "3C28A7120108"
- roles (list role_list
- (object Role "baseType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7140151"
- label "baseType"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$244"
- attributes (list Attribute_Set)
- quid "3C28A714015B"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$245"
- quid "3C28A74B0178"
- roles (list role_list
- (object Role "simpleType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A74D017B"
- label "simpleType"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$246"
- attributes (list Attribute_Set)
- quid "3C28A74D0185"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$247"
- quid "3C28A7ED03C0"
- roles (list role_list
- (object Role "complexType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A7F40117"
- label "complexType"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$248"
- attributes (list Attribute_Set)
- quid "3C28A7F40121"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9")))
- (object Association "$UNNAMED$249"
- quid "3C28A994030A"
- roles (list role_list
- (object Role "rootTypeDefinition"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28A99700DD"
- label "rootTypeDefinition"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$250"
- attributes (list Attribute_Set)
- quid "3C28A99700E7"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D")))
- (object Association "$UNNAMED$251"
- quid "3C28B085025B"
- roles (list role_list
- (object Role "$UNNAMED$252"
- quid "3C28B0860270"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B086027A"
- label "minFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$253"
- quid "3C28B08D0252"
- roles (list role_list
- (object Role "$UNNAMED$254"
- quid "3C28B08E0091"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B08E009B"
- label "maxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$255"
- quid "3C28B0AB0396"
- roles (list role_list
- (object Role "$UNNAMED$256"
- quid "3C28B0AC03C9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0AC03D4"
- label "maxInclusiveFacet"
- supplier "Logical View::xsd::XSDMaxInclusiveFacet"
- quidu "3B6C787D00DA"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$257"
- quid "3C28B0AF0338"
- roles (list role_list
- (object Role "$UNNAMED$258"
- quid "3C28B0B001F9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minInclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B00203"
- label "minInclusiveFacet"
- supplier "Logical View::xsd::XSDMinInclusiveFacet"
- quidu "3B6C788702C9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$259"
- quid "3C28B0B30207"
- roles (list role_list
- (object Role "$UNNAMED$260"
- quid "3C28B0B40190"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B4019A"
- label "minExclusiveFacet"
- supplier "Logical View::xsd::XSDMinExclusiveFacet"
- quidu "3B6C792D000A"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$261"
- quid "3C28B0B6028D"
- roles (list role_list
- (object Role "$UNNAMED$262"
- quid "3C28B0B70217"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxExclusiveFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0B70221"
- label "maxExclusiveFacet"
- supplier "Logical View::xsd::XSDMaxExclusiveFacet"
- quidu "3B6C789600C2"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$263"
- quid "3C28B0BC0051"
- roles (list role_list
- (object Role "$UNNAMED$264"
- quid "3C28B0BC0246"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "lengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0BC0250"
- label "lengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$265"
- quid "3C28B0BF018C"
- roles (list role_list
- (object Role "$UNNAMED$266"
- quid "3C28B0C0006B"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "whiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C00075"
- label "whiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$267"
- quid "3C28B0C2021D"
- roles (list role_list
- (object Role "$UNNAMED$268"
- quid "3C28B0C300AB"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "enumerationFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C300AC"
- label "enumerationFacets"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$269"
- quid "3C28B0C50159"
- roles (list role_list
- (object Role "$UNNAMED$270"
- quid "3C28B0C600B0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "patternFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C600BA"
- label "patternFacets"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE)))
- (object Association "$UNNAMED$271"
- quid "3C28B0C802A7"
- roles (list role_list
- (object Role "$UNNAMED$272"
- quid "3C28B0C901EA"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "cardinalityFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0C901F5"
- label "cardinalityFacet"
- supplier "Logical View::xsd::XSDCardinalityFacet"
- quidu "3B6C755D03D2"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$273"
- quid "3C28B0CB039C"
- roles (list role_list
- (object Role "$UNNAMED$274"
- quid "3C28B0CC03D0"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "numericFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0CC03D1"
- label "numericFacet"
- supplier "Logical View::xsd::XSDNumericFacet"
- quidu "3B6C75950206"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$275"
- quid "3C28B0CF0199"
- roles (list role_list
- (object Role "$UNNAMED$276"
- quid "3C28B0D20085"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "maxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D2008F"
- label "maxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$277"
- quid "3C28B0D500C5"
- roles (list role_list
- (object Role "$UNNAMED$278"
- quid "3C28B0D6001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "minLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D60027"
- label "minLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$279"
- quid "3C28B0D800DE"
- roles (list role_list
- (object Role "$UNNAMED$280"
- quid "3C28B0D803CD"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "totalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0D803D7"
- label "totalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$281"
- quid "3C28B0DB0377"
- roles (list role_list
- (object Role "$UNNAMED$282"
- quid "3C28B0DC035A"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "fractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DC0364"
- label "fractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$283"
- quid "3C28B0DF0048"
- roles (list role_list
- (object Role "$UNNAMED$284"
- quid "3C28B0DF03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "orderedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0DF03C3"
- label "orderedFacet"
- supplier "Logical View::xsd::XSDOrderedFacet"
- quidu "3B6C74DD0248"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$285"
- quid "3C28B0E300D9"
- roles (list role_list
- (object Role "$UNNAMED$286"
- quid "3C28B0E4038E"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "boundedFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B0E40398"
- label "boundedFacet"
- supplier "Logical View::xsd::XSDBoundedFacet"
- quidu "3B6C751D0344"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$287"
- quid "3C28B44401EC"
- roles (list role_list
- (object Role "$UNNAMED$288"
- quid "3C28B4450360"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B445036A"
- label "effectiveMaxFacet"
- supplier "Logical View::xsd::XSDMaxFacet"
- quidu "3C0A1CEB010E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$289"
- quid "3C28B54F0145"
- roles (list role_list
- (object Role "$UNNAMED$290"
- quid "3C28B550038C"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveWhiteSpaceFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5500396"
- label "effectiveWhiteSpaceFacet"
- supplier "Logical View::xsd::XSDWhiteSpaceFacet"
- quidu "3B6C784601B7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$291"
- quid "3C28B5C4011C"
- roles (list role_list
- (object Role "$UNNAMED$292"
- quid "3C28B5C5020D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMaxLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B5C50217"
- label "effectiveMaxLengthFacet"
- supplier "Logical View::xsd::XSDMaxLengthFacet"
- quidu "3B6C77C70146"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$293"
- quid "3C28B62A00AA"
- roles (list role_list
- (object Role "$UNNAMED$294"
- quid "3C28B62B0138"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveFractionDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B62B0142"
- label "effectiveFractionDigitsFacet"
- supplier "Logical View::xsd::XSDFractionDigitsFacet"
- quidu "3B6C79BE02EE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$295"
- quid "3C28B6B003A6"
- roles (list role_list
- (object Role "$UNNAMED$296"
- quid "3C28B6B10311"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectivePatternFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B6B10312"
- label "effectivePatternFacet"
- supplier "Logical View::xsd::XSDPatternFacet"
- quidu "3B6C6ADB026C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$297"
- quid "3C28B7CA026B"
- roles (list role_list
- (object Role "$UNNAMED$298"
- quid "3C28B7CB0186"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveEnumerationFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B7CB0190"
- label "effectiveEnumerationFacet"
- supplier "Logical View::xsd::XSDEnumerationFacet"
- quidu "3B6C6ACE0141"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$299"
- quid "3C28B8400062"
- roles (list role_list
- (object Role "$UNNAMED$300"
- quid "3C28B841001D"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveTotalDigitsFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8410027"
- label "effectiveTotalDigitsFacet"
- supplier "Logical View::xsd::XSDTotalDigitsFacet"
- quidu "3B6C79A0020E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$301"
- quid "3C28B898016D"
- roles (list role_list
- (object Role "$UNNAMED$302"
- quid "3C28B8990056"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8990060"
- label "effectiveMinLengthFacet"
- supplier "Logical View::xsd::XSDMinLengthFacet"
- quidu "3B6C778C0065"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$303"
- quid "3C28B8DC0052"
- roles (list role_list
- (object Role "$UNNAMED$304"
- quid "3C28B8DC03B9"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveLengthFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B8DC03C3"
- label "effectiveLengthFacet"
- supplier "Logical View::xsd::XSDLengthFacet"
- quidu "3B6C776200E7"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$305"
- quid "3C28B97001DB"
- roles (list role_list
- (object Role "$UNNAMED$306"
- quid "3C28B97100CF"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "effectiveMinFacet"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isVolatile"
- value TRUE)
- (object Attribute
- tool "Ecore"
- name "isChangeable"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isResolveProxies"
- value FALSE)
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3C28B97100D9"
- label "effectiveMinFacet"
- supplier "Logical View::xsd::XSDMinFacet"
- quidu "3C0A1CDE037C"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)))
- (object Association "$UNNAMED$307"
- quid "3D4BB4AE01CC"
- roles (list role_list
- (object Role "$UNNAMED$308"
- quid "3D4BB4AF010F"
- supplier "Logical View::xsd::XSDSimpleTypeDefinition"
- quidu "3B682BA7005D"
- is_aggregate TRUE)
- (object Role "syntheticFacets"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4AF011A"
- label "syntheticFacets"
- supplier "Logical View::xsd::XSDFacet"
- quidu "3B6C359403D2"
- client_cardinality (value cardinality "0..n")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$309"
- quid "3D4BB4D3028E"
- roles (list role_list
- (object Role "$UNNAMED$310"
- quid "3D4BB4D402F3"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticParticle"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4D402FD"
- label "syntheticParticle"
- supplier "Logical View::xsd::XSDParticle"
- quidu "3B682BBD01F7"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$311"
- quid "3D4BB4D901F6"
- roles (list role_list
- (object Role "$UNNAMED$312"
- quid "3D4BB4DA0284"
- supplier "Logical View::xsd::XSDComplexTypeDefinition"
- quidu "3B682B82031A"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3D4BB4DA028E"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$313"
- quid "3D4C68FF01BF"
- roles (list role_list
- (object Role "$UNNAMED$314"
- quid "3D4C69020317"
- supplier "Logical View::xsd::XSDAttributeGroupDefinition"
- quidu "3B66ED840290"
- is_aggregate TRUE)
- (object Role "syntheticWildcard"
- quid "3D4C69020318"
- label "syntheticWildcard"
- supplier "Logical View::xsd::XSDWildcard"
- quidu "3B6838370031"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "1. Component Hierarchy (Part 1: Structures)"
- quid "3B6847680138"
- title "1. Component Hierarchy (Part 1: Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @360
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (928, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @360
- location (766, 37)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @361
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1168, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @361
- location (940, 517)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8)
- (object InheritTreeView "" @362
- location (928, 225)
- line_color 3342489
- fill_color 13434879
- supplier @360
- vertices (list Points
- (928, 225)
- (928, 135)))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @363
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @363
- location (1460, 277)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @364
- location (1203, 706)
- line_color 3342489
- fill_color 13434879
- supplier @361
- vertices (list Points
- (1203, 706)
- (1203, 615)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @365
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (624, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @365
- location (372, 517)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @366
- location (444, 709)
- line_color 3342489
- fill_color 13434879
- supplier @365
- vertices (list Points
- (444, 709)
- (444, 615)))
- (object InheritTreeView "" @367
- location (1572, 465)
- line_color 3342489
- fill_color 13434879
- supplier @363
- vertices (list Points
- (1572, 465)
- (1572, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @368
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 800)
- label (object ItemLabel
- Parent_View @368
- location (290, 757)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @369
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 1056)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @369
- location (262, 1013)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @370
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1104, 320)
- label (object ItemLabel
- Parent_View @370
- location (936, 277)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8)
- (object InheritTreeView "" @371
- location (453, 1203)
- line_color 3342489
- fill_color 13434879
- supplier @369
- vertices (list Points
- (453, 1203)
- (453, 1111)))
- (object ClassView "Class" "Logical View::xsd::XSDScope" @372
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (176, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @372
- location (62, 277)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @373
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @373
- location (1746, 757)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 110
- annotation 8)
- (object InheritTreeView "" @374
- location (1872, 950)
- line_color 3342489
- fill_color 13434879
- supplier @373
- vertices (list Points
- (1872, 950)
- (1872, 855)))
- (object InheritTreeView "" @375
- location (181, 465)
- line_color 3342489
- fill_color 13434879
- supplier @372
- vertices (list Points
- (181, 465)
- (181, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @376
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1936, 1280)
- label (object ItemLabel
- Parent_View @376
- location (1670, 1233)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 550
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @377
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 1056)
- label (object ItemLabel
- Parent_View @377
- location (1734, 1013)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @378
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1488)
- label (object ItemLabel
- Parent_View @378
- location (1569, 1444)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 656
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @379
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1184, 1488)
- label (object ItemLabel
- Parent_View @379
- location (903, 1444)
- fill_color 13434879
- nlines 1
- max_width 563
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 581
- height 112
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @380
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 560)
- label (object ItemLabel
- Parent_View @380
- location (1462, 517)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 294
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @381
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1024, 1056)
- label (object ItemLabel
- Parent_View @381
- location (778, 1013)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @382
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 560)
- label (object ItemLabel
- Parent_View @382
- location (1806, 517)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @383
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1296)
- label (object ItemLabel
- Parent_View @383
- location (106, 1253)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @384
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 560)
- label (object ItemLabel
- Parent_View @384
- location (60, 517)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @385
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1280)
- label (object ItemLabel
- Parent_View @385
- location (802, 1237)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 558
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @386
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 1488)
- label (object ItemLabel
- Parent_View @386
- location (30, 1441)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 694
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @387
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (576, 320)
- label (object ItemLabel
- Parent_View @387
- location (426, 277)
- fill_color 13434879
- nlines 1
- max_width 300
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 318
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @388
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 320)
- label (object ItemLabel
- Parent_View @388
- location (1808, 277)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @389
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @370
- supplier @360
- line_style 3
- origin_attachment (1094, 265)
- terminal_attachment (1094, 225)
- drawSupplier @362)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @390
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 800)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @390
- location (690, 757)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @391
- location (962, 947)
- line_color 3342489
- fill_color 13434879
- supplier @390
- vertices (list Points
- (962, 947)
- (962, 855)))
- (object InheritView "" @392
- stereotype (object SegLabel @393
- Parent_View @392
- location (218, 1154)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.163534
- height 69
- orientation 1)
- line_color 3342489
- quidu "3B685F55032B"
- client @383
- supplier @365
- line_style 3
- origin_attachment (149, 1241)
- terminal_attachment (149, 709)
- drawSupplier @366)
- (object InheritView "" @394
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @383
- supplier @369
- line_style 3
- origin_attachment (256, 1241)
- terminal_attachment (256, 1203)
- drawSupplier @371)
- (object InheritView "" @395
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @384
- supplier @372
- line_style 3
- origin_attachment (284, 505)
- terminal_attachment (284, 465)
- drawSupplier @375)
- (object InheritView "" @396
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @382
- supplier @363
- line_style 3
- origin_attachment (2002, 505)
- terminal_attachment (2002, 465)
- drawSupplier @367)
- (object InheritView "" @397
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @363
- supplier @360
- line_style 3
- origin_attachment (1569, 265)
- terminal_attachment (1569, 225)
- drawSupplier @362)
- (object InheritView "" @398
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @380
- supplier @363
- line_style 3
- origin_attachment (1490, 505)
- terminal_attachment (1490, 465)
- drawSupplier @367)
- (object InheritView "" @399
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @368
- supplier @365
- line_style 3
- origin_attachment (510, 745)
- terminal_attachment (510, 709)
- drawSupplier @366)
- (object InheritView "" @400
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @385
- supplier @390
- line_style 3
- origin_attachment (1321, 1225)
- terminal_attachment (1321, 947)
- drawSupplier @391)
- (object InheritView "" @401
- stereotype (object SegLabel @402
- Parent_View @401
- location (2137, 886)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.215812
- height 64
- orientation 0)
- line_color 3342489
- quidu "3B685F17002E"
- client @377
- supplier @363
- line_style 3
- origin_attachment (2200, 1001)
- terminal_attachment (2200, 465)
- drawSupplier @367)
- (object InheritView "" @403
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @377
- supplier @373
- line_style 3
- origin_attachment (2093, 1001)
- terminal_attachment (2093, 950)
- drawSupplier @374)
- (object InheritView "" @404
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @369
- supplier @390
- line_style 3
- origin_attachment (450, 1001)
- terminal_attachment (450, 947)
- drawSupplier @391)
- (object InheritView "" @405
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @372
- supplier @360
- line_style 3
- origin_attachment (147, 265)
- terminal_attachment (147, 225)
- drawSupplier @362)
- (object InheritView "" @406
- stereotype TRUE
- line_color 3342489
- quidu "3B6D84F70092"
- client @388
- supplier @360
- line_style 3
- origin_attachment (2012, 265)
- terminal_attachment (2012, 225)
- drawSupplier @362)
- (object InheritView "" @407
- stereotype TRUE
- line_color 3342489
- quidu "3B6848B80286"
- client @365
- supplier @360
- line_style 3
- origin_attachment (834, 505)
- terminal_attachment (834, 225)
- drawSupplier @362)
- (object InheritView "" @408
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @361
- supplier @360
- line_style 3
- origin_attachment (1350, 505)
- terminal_attachment (1350, 225)
- drawSupplier @362)
- (object InheritView "" @409
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @387
- supplier @360
- line_style 3
- origin_attachment (572, 265)
- terminal_attachment (572, 225)
- drawSupplier @362)
- (object InheritView "" @410
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @376
- supplier @373
- line_style 3
- origin_attachment (1693, 1221)
- terminal_attachment (1693, 950)
- drawSupplier @374)
- (object InheritView "" @411
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @378
- supplier @361
- line_style 3
- origin_attachment (1590, 1432)
- terminal_attachment (1590, 706)
- drawSupplier @364)
- (object InheritView "" @412
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @379
- supplier @361
- line_style 3
- origin_attachment (1431, 1432)
- terminal_attachment (1431, 706)
- drawSupplier @364)
- (object InheritView "" @413
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @390
- supplier @361
- line_style 3
- origin_attachment (959, 745)
- terminal_attachment (959, 706)
- drawSupplier @364)
- (object InheritView "" @414
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @373
- supplier @361
- line_style 3
- origin_attachment (1872, 745)
- terminal_attachment (1872, 706)
- drawSupplier @364)
- (object InheritView "" @415
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @381
- supplier @390
- line_style 3
- origin_attachment (962, 1001)
- terminal_attachment (962, 947)
- drawSupplier @391)
- (object InheritView "" @416
- stereotype (object SegLabel @417
- Parent_View @416
- location (95, 1388)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.042531
- height 67
- orientation 1)
- line_color 3342489
- quidu "3B69BAA20310"
- client @386
- supplier @372
- line_style 3
- origin_attachment (28, 1429)
- terminal_attachment (28, 465)
- drawSupplier @375)
- (object InheritView "" @418
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @386
- supplier @369
- line_style 3
- origin_attachment (656, 1429)
- terminal_attachment (656, 1203)
- drawSupplier @371)))
- (object ClassDiagram "2. Component Relations (Part 1 : Structures)"
- quid "374B18190028"
- title "2. Component Relations (Part 1 : Structures)"
- zoom 96
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDScope" @419
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (784, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @419
- location (670, 1591)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @420
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 1632)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @420
- location (66, 1591)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- width 270
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$129" @421
- location (494, 1627)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B653017A"
- roleview_list (list RoleViews
- (object RoleView "scope" @422
- Parent_View @421
- location (286, -485)
- label (object SegLabel @423
- Parent_View @422
- location (555, 1589)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+scope"
- pctDist 0.371257
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006D"
- client @421
- supplier @419
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (661, 1627)
- label (object SegLabel @424
- Parent_View @422
- location (576, 1664)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.491018
- height 37
- orientation 1))
- (object RoleView "$UNNAMED$130" @425
- Parent_View @421
- location (286, -485)
- stereotype TRUE
- line_color 3342489
- quidu "3B69B654006E"
- client @421
- supplier @420
- line_style 3
- origin_attachment (494, 1627)
- terminal_attachment (327, 1627))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @426
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2192, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @426
- location (2084, 1191)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @427
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2176, 992)
- label (object ItemLabel
- Parent_View @427
- location (2051, 951)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$161" @428
- location (2229, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C890122"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$162" @429
- Parent_View @428
- location (549, -248)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0110"
- client @428
- supplier @427
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1045))
- (object RoleView "term" @430
- Parent_View @428
- location (549, -248)
- label (object SegLabel @431
- Parent_View @430
- location (2157, 1121)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+term"
- pctDist 0.134328
- height 72
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683C8A0111"
- client @428
- supplier @426
- line_style 3
- origin_attachment (2229, 1112)
- terminal_attachment (2229, 1179)
- label (object SegLabel @432
- Parent_View @430
- location (2274, 1119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.119403
- height 45
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @433
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1328, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @433
- location (1076, 1191)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @434
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 768)
- label (object ItemLabel
- Parent_View @434
- location (1977, 727)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$149" @435
- location (2219, 880)
- stereotype TRUE
- line_color 3342489
- quidu "3B683606026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$150" @436
- Parent_View @435
- location (-357, -240)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070221"
- client @435
- supplier @434
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 821))
- (object RoleView "particles" @437
- Parent_View @435
- location (-357, -240)
- label (object SegLabel @438
- Parent_View @437
- location (2105, 888)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+particles"
- pctDist 0.156627
- height 115
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6836070222"
- client @435
- supplier @427
- line_style 3
- origin_attachment (2219, 880)
- terminal_attachment (2219, 939)
- label (object SegLabel @439
- Parent_View @437
- location (2281, 888)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.156627
- height 62
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @440
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1776, 992)
- label (object ItemLabel
- Parent_View @440
- location (1639, 951)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @441
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1072, 1424)
- label (object ItemLabel
- Parent_View @441
- location (905, 1383)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 352
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @442
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (432, 992)
- label (object ItemLabel
- Parent_View @442
- location (187, 951)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$195" @443
- location (590, 1140)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$196" @444
- Parent_View @443
- location (302, 148)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @443
- supplier @442
- vertices (list Points
- (590, 1140)
- (540, 1140)
- (540, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (540, 1045))
- (object RoleView "baseTypeDefinition" @445
- Parent_View @443
- location (302, 148)
- label (object SegLabel @446
- Parent_View @445
- location (643, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.053571
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @443
- supplier @442
- vertices (list Points
- (590, 1140)
- (641, 1140)
- (641, 1045))
- line_style 3
- origin_attachment (590, 1140)
- terminal_attachment (641, 1045)
- label (object SegLabel @447
- Parent_View @445
- location (584, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.122449
- height 44
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @448
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1008, 992)
- label (object ItemLabel
- Parent_View @448
- location (745, 951)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$97" @449
- location (1119, 1112)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837DF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$98" @450
- Parent_View @449
- location (-1569, -8)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FD"
- client @449
- supplier @448
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1045))
- (object RoleView "contentType" @451
- Parent_View @449
- location (-1569, -8)
- label (object SegLabel @452
- Parent_View @451
- location (1259, 1126)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+contentType"
- pctDist 0.208955
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837E100FE"
- client @449
- supplier @433
- line_style 3
- origin_attachment (1119, 1112)
- terminal_attachment (1119, 1179)
- label (object SegLabel @453
- Parent_View @451
- location (1063, 1126)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.208955
- height 57
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$103" @454
- location (1455, 982)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BA0126"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$104" @455
- Parent_View @454
- location (159, -570)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0150"
- client @454
- supplier @448
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1280, 982))
- (object RoleView "attributeWildcard" @456
- Parent_View @454
- location (159, -570)
- label (object SegLabel @457
- Parent_View @456
- location (1445, 929)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist -0.062857
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6851BB0151"
- client @454
- supplier @440
- line_style 3
- origin_attachment (1455, 982)
- terminal_attachment (1630, 982)
- label (object SegLabel @458
- Parent_View @456
- location (1550, 1022)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.542857
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$99" @459
- location (921, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959006E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$100" @460
- Parent_View @459
- location (-871, -376)
- stereotype TRUE
- line_color 3342489
- quidu "3B6839590349"
- client @459
- supplier @448
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1045))
- (object RoleView "attributeUses" @461
- Parent_View @459
- location (-871, -376)
- label (object SegLabel @462
- Parent_View @461
- location (778, 1251)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.269939
- height 144
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B683959034A"
- client @459
- supplier @441
- line_style 3
- origin_attachment (921, 1208)
- terminal_attachment (921, 1371)
- label (object SegLabel @463
- Parent_View @461
- location (979, 1254)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.288344
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @464
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 768)
- label (object ItemLabel
- Parent_View @464
- location (1122, 727)
- fill_color 13434879
- nlines 1
- max_width 380
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 398
- height 107
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @465
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1856, 1632)
- label (object ItemLabel
- Parent_View @465
- location (1623, 1591)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 107
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @466
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2048, 448)
- label (object ItemLabel
- Parent_View @466
- location (1803, 407)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 508
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$153" @467
- location (2216, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$154" @468
- Parent_View @467
- location (-552, -816)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @467
- supplier @466
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 501))
- (object RoleView "modelGroup" @469
- Parent_View @467
- location (-552, -816)
- label (object SegLabel @470
- Parent_View @469
- location (2080, 628)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.182609
- height 137
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @467
- supplier @434
- line_style 3
- origin_attachment (2216, 608)
- terminal_attachment (2216, 715)
- label (object SegLabel @471
- Parent_View @469
- location (2256, 633)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.233645
- height 40
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @472
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1888, 1424)
- label (object ItemLabel
- Parent_View @472
- location (1619, 1383)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$83" @473
- location (1676, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887BF0150"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$84" @474
- Parent_View @473
- location (412, -344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A7"
- client @473
- supplier @472
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1371))
- (object RoleView "attributeWildcard" @475
- Parent_View @473
- location (412, -344)
- label (object SegLabel @476
- Parent_View @475
- location (1857, 1106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeWildcard"
- pctDist 0.625767
- height 181
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6887C000A8"
- client @473
- supplier @440
- line_style 3
- origin_attachment (1676, 1208)
- terminal_attachment (1676, 1045)
- label (object SegLabel @477
- Parent_View @475
- location (1618, 1108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.619632
- height 59
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$79" @478
- location (1429, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B68359F0086"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$80" @479
- Parent_View @478
- location (-363, -146)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A00069"
- client @478
- supplier @472
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1610, 1438))
- (object RoleView "attributeUses" @480
- Parent_View @478
- location (-363, -146)
- label (object SegLabel @481
- Parent_View @480
- location (1405, 1506)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+attributeUses"
- pctDist 0.132597
- height 68
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6835A0006A"
- client @478
- supplier @441
- line_style 3
- origin_attachment (1429, 1438)
- terminal_attachment (1248, 1438)
- label (object SegLabel @482
- Parent_View @480
- location (1327, 1391)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.563536
- height 48
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @483
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 1424)
- label (object ItemLabel
- Parent_View @483
- location (183, 1383)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$87" @484
- location (777, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3B683585010D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$88" @485
- Parent_View @484
- location (-519, -367)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FA"
- client @484
- supplier @441
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (896, 1425))
- (object RoleView "attributeDeclaration" @486
- Parent_View @484
- location (-519, -367)
- label (object SegLabel @487
- Parent_View @486
- location (784, 1508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+attributeDeclaration"
- pctDist -0.059259
- height 83
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68358600FB"
- client @484
- supplier @483
- line_style 3
- origin_attachment (777, 1425)
- terminal_attachment (658, 1425)
- label (object SegLabel @488
- Parent_View @486
- location (721, 1385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.472441
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$71" @489
- location (237, 1208)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356B02CB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$72" @490
- Parent_View @489
- location (-1043, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A6"
- client @489
- supplier @483
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1371))
- (object RoleView "typeDefinition" @491
- Parent_View @489
- location (-1043, 72)
- label (object SegLabel @492
- Parent_View @491
- location (388, 1247)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist -0.239264
- height 151
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B68356D00A7"
- client @489
- supplier @442
- line_style 3
- origin_attachment (237, 1208)
- terminal_attachment (237, 1045)
- label (object SegLabel @493
- Parent_View @491
- location (195, 1247)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.239264
- height 43
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @494
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (384, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @494
- location (198, 743)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$93" @495
- location (728, 775)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833350340"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$94" @496
- Parent_View @495
- location (-856, -57)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028D"
- client @495
- supplier @448
- vertices (list Points
- (728, 775)
- (788, 775)
- (788, 939))
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (788, 939))
- (object RoleView "baseTypeDefinition" @497
- Parent_View @495
- location (-856, -57)
- label (object SegLabel @498
- Parent_View @497
- location (558, 883)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist 1.140940
- height 108
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B683336028E"
- client @495
- supplier @494
- line_style 3
- origin_attachment (728, 775)
- terminal_attachment (579, 775)
- label (object SegLabel @499
- Parent_View @497
- location (750, 812)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.152439
- height 37
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @500
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1312, 448)
- label (object ItemLabel
- Parent_View @500
- location (1017, 407)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 107
- annotation 8)
- (object AssociationViewNew "$UNNAMED$135" @501
- location (1629, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D29E014D"
- roleview_list (list RoleViews
- (object RoleView "referencedKey" @502
- Parent_View @501
- location (-83, 94)
- label (object SegLabel @503
- Parent_View @502
- location (1761, 608)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+referencedKey"
- pctDist -1.797297
- height 34
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A80165"
- client @501
- supplier @500
- vertices (list Points
- (1629, 574)
- (1555, 574)
- (1555, 501))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1555, 501)
- label (object SegLabel @504
- Parent_View @502
- location (1622, 539)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.047619
- height 36
- orientation 1))
- (object RoleView "$UNNAMED$136" @505
- Parent_View @501
- location (-83, 94)
- stereotype TRUE
- line_color 3342489
- quidu "3B69D2A8016F"
- client @501
- supplier @500
- vertices (list Points
- (1629, 574)
- (1689, 574)
- (1689, 444)
- (1616, 444))
- line_style 3
- origin_attachment (1629, 574)
- terminal_attachment (1616, 444))))
- (object AssociationViewNew "$UNNAMED$139" @506
- location (1197, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$140" @507
- Parent_View @506
- location (-115, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @506
- supplier @500
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 501))
- (object RoleView "fields" @508
- Parent_View @506
- location (-115, 32)
- label (object SegLabel @509
- Parent_View @508
- location (1119, 655)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.439252
- height 78
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @506
- supplier @464
- line_style 3
- origin_attachment (1197, 608)
- terminal_attachment (1197, 715)
- label (object SegLabel @510
- Parent_View @508
- location (1253, 654)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.429907
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$137" @511
- location (1415, 608)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$138" @512
- Parent_View @511
- location (103, 32)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @511
- supplier @500
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 501))
- (object RoleView "selector" @513
- Parent_View @511
- location (103, 32)
- label (object SegLabel @514
- Parent_View @513
- location (1513, 651)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.411215
- height 98
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @511
- supplier @464
- line_style 3
- origin_attachment (1415, 608)
- terminal_attachment (1415, 715)
- label (object SegLabel @515
- Parent_View @513
- location (1381, 650)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.392523
- height 34
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @516
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1312, 160)
- label (object ItemLabel
- Parent_View @516
- location (1022, 68)
- fill_color 13434879
- nlines 1
- max_width 581
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 599
- height 209
- annotation 8)
- (object AssociationViewNew "$UNNAMED$181" @517
- location (2395, 606)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA7023E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$182" @518
- Parent_View @517
- location (-853, 174)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038A"
- client @517
- supplier @516
- vertices (list Points
- (2395, 606)
- (2395, 65)
- (1611, 65))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (1611, 65))
- (object RoleView "notationDeclarations" @519
- Parent_View @517
- location (-853, 174)
- label (object SegLabel @520
- Parent_View @519
- location (2089, 104)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+notationDeclarations"
- pctDist -0.489776
- height 307
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEA8038B"
- client @517
- supplier @465
- vertices (list Points
- (2395, 606)
- (2395, 1633)
- (2098, 1633))
- line_style 3
- origin_attachment (2395, 606)
- terminal_attachment (2098, 1633)
- label (object SegLabel @521
- Parent_View @519
- location (2344, 105)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.487829
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$177" @522
- location (1772, 249)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EEFF024F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$178" @523
- Parent_View @522
- location (-948, -327)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF00025A"
- client @522
- supplier @516
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1611, 249))
- (object RoleView "modelGroupDefinitions" @524
- Parent_View @522
- location (-948, -327)
- label (object SegLabel @525
- Parent_View @524
- location (2076, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+modelGroupDefinitions"
- pctDist 0.713592
- height 244
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EF000264"
- client @522
- supplier @466
- vertices (list Points
- (1772, 249)
- (1832, 249)
- (1832, 395))
- line_style 3
- origin_attachment (1772, 249)
- terminal_attachment (1832, 395)
- label (object SegLabel @526
- Parent_View @524
- location (1781, 340)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.737864
- height 52
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$173" @527
- location (2346, 518)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE920216"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$174" @528
- Parent_View @527
- location (154, 86)
- label (object SegLabel @529
- Parent_View @528
- location (1872, 1857)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist -3.630072
- height 475
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018B"
- client @527
- supplier @516
- vertices (list Points
- (2346, 518)
- (2346, 149)
- (1611, 149))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (1611, 149))
- (object RoleView "attributeGroupDefinitions" @530
- Parent_View @527
- location (154, 86)
- label (object SegLabel @531
- Parent_View @530
- location (2008, 195)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+attributeGroupDefinitions"
- pctDist -0.349946
- height 339
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE93018C"
- client @527
- supplier @472
- vertices (list Points
- (2346, 518)
- (2346, 1441)
- (2166, 1441))
- line_style 3
- origin_attachment (2346, 518)
- terminal_attachment (2166, 1441)
- label (object SegLabel @532
- Parent_View @530
- location (2299, 197)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.348862
- height 48
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$175" @533
- location (203, 159)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760049"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$176" @534
- Parent_View @533
- location (-485, -273)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE760374"
- client @533
- supplier @516
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (1013, 159))
- (object RoleView "typeDefinitions" @535
- Parent_View @533
- location (-485, -273)
- label (object SegLabel @536
- Parent_View @535
- location (349, 196)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+typeDefinitions"
- pctDist -1.475728
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE76037E"
- client @533
- supplier @494
- vertices (list Points
- (203, 159)
- (104, 159)
- (104, 784)
- (189, 784))
- line_style 3
- origin_attachment (203, 159)
- terminal_attachment (189, 784)
- label (object SegLabel @537
- Parent_View @535
- location (155, 200)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.059701
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$179" @538
- location (1087, 329)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1701ED"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$180" @539
- Parent_View @538
- location (-577, -23)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A0273"
- client @538
- supplier @516
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 264))
- (object RoleView "identityConstraintDefinitions" @540
- Parent_View @538
- location (-577, -23)
- label (object SegLabel @541
- Parent_View @540
- location (1375, 338)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.130952
- height 288
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFC2A1A027D"
- client @538
- supplier @500
- line_style 3
- origin_attachment (1087, 329)
- terminal_attachment (1087, 395)
- label (object SegLabel @542
- Parent_View @540
- location (1018, 336)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.107143
- height 70
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$171" @543
- location (48, 320)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFA00C3"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$172" @544
- Parent_View @543
- location (-1072, -288)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027D"
- client @543
- supplier @516
- vertices (list Points
- (49, 322)
- (49, 68)
- (1013, 68))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (1013, 68))
- (object RoleView "attributeDeclarations" @545
- Parent_View @543
- location (-1072, -288)
- label (object SegLabel @546
- Parent_View @545
- location (338, 106)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+attributeDeclarations"
- pctDist -0.198536
- height 289
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66FDFB027E"
- client @543
- supplier @483
- vertices (list Points
- (49, 322)
- (49, 1415)
- (174, 1415))
- line_style 3
- origin_attachment (49, 322)
- terminal_attachment (174, 1415)
- label (object SegLabel @547
- Parent_View @545
- location (91, 108)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist -0.196706
- height 42
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @548
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (416, 448)
- label (object ItemLabel
- Parent_View @548
- location (175, 412)
- fill_color 13434879
- nlines 1
- max_width 483
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 501
- height 97
- annotation 8)
- (object AssociationViewNew "$UNNAMED$121" @549
- location (499, 589)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C0590198"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$122" @550
- Parent_View @549
- location (-13, 109)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01E3"
- client @549
- supplier @548
- vertices (list Points
- (499, 589)
- (452, 589)
- (452, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (452, 496))
- (object RoleView "substitutionGroupAffiliation" @551
- Parent_View @549
- location (-13, 109)
- label (object SegLabel @552
- Parent_View @551
- location (811, 585)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+substitutionGroupAffiliation"
- pctDist 6.520833
- height 5
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69C05D01ED"
- client @549
- supplier @548
- vertices (list Points
- (499, 589)
- (547, 589)
- (547, 496))
- line_style 3
- origin_attachment (499, 589)
- terminal_attachment (547, 496)
- label (object SegLabel @553
- Parent_View @551
- location (499, 559)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.000000
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$115" @554
- location (241, 613)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C0058"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$116" @555
- Parent_View @554
- location (-1343, -219)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03BF"
- client @554
- supplier @548
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 496))
- (object RoleView "typeDefinition" @556
- Parent_View @554
- location (-1343, -219)
- label (object SegLabel @557
- Parent_View @556
- location (408, 694)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.686441
- height 167
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B68338C03C0"
- client @554
- supplier @494
- line_style 3
- origin_attachment (241, 613)
- terminal_attachment (241, 731)
- label (object SegLabel @558
- Parent_View @556
- location (202, 685)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.610169
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$117" @559
- location (837, 460)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$118" @560
- Parent_View @559
- location (-1819, -68)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @559
- supplier @548
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (666, 460))
- (object RoleView "identityConstraintDefinitions" @561
- Parent_View @559
- location (-1819, -68)
- label (object SegLabel @562
- Parent_View @561
- location (880, 528)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.251462
- height 68
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @559
- supplier @500
- line_style 3
- origin_attachment (837, 460)
- terminal_attachment (1008, 460)
- label (object SegLabel @563
- Parent_View @561
- location (859, 407)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.130435
- height 54
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$169" @564
- location (541, 246)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8D01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$170" @565
- Parent_View @564
- location (-1123, -186)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0198"
- client @564
- supplier @516
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (1013, 246))
- (object RoleView "elementDeclarations" @566
- Parent_View @564
- location (-1123, -186)
- label (object SegLabel @567
- Parent_View @566
- location (443, 335)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+elementDeclarations"
- pctDist 0.209302
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B66EE8E0199"
- client @564
- supplier @548
- vertices (list Points
- (541, 246)
- (224, 246)
- (224, 400))
- line_style 3
- origin_attachment (541, 246)
- terminal_attachment (224, 400)
- label (object SegLabel @568
- Parent_View @566
- location (186, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.864693
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$123" @569
- location (353, 621)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBDD0297"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$124" @570
- Parent_View @569
- location (-63, 173)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE0011E"
- client @569
- supplier @548
- vertices (list Points
- (353, 621)
- (306, 621)
- (306, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (306, 496))
- (object RoleView "substitutionGroup" @571
- Parent_View @569
- location (-63, 173)
- label (object SegLabel @572
- Parent_View @571
- location (579, 636)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+substitutionGroup"
- pctDist 4.808511
- height 15
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C42DBE00128"
- client @569
- supplier @548
- vertices (list Points
- (353, 621)
- (400, 621)
- (400, 496))
- line_style 3
- origin_attachment (353, 621)
- terminal_attachment (400, 496)
- label (object SegLabel @573
- Parent_View @571
- location (350, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist -0.069767
- height 39
- orientation 0))))))
- (object ClassDiagram "3. Component Attributes (Part 1 : Structures)"
- quid "3B69E78602C5"
- title "3. Component Attributes (Part 1 : Structures)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @574
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 128)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @574
- location (46, 47)
- fill_color 13434879
- nlines 1
- max_width 516
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @574
- location (46, 107)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 524
- compartmentItems (list Compartment
- "+ name : String"
- "+ targetNamespace : String"))
- width 534
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @575
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1648)
- label (object ItemLabel
- Parent_View @575
- location (41, 1567)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 512
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @576
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 1680)
- label (object ItemLabel
- Parent_View @576
- location (1781, 1524)
- fill_color 13434879
- nlines 1
- max_width 1174
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @576
- location (1781, 1584)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 5
- max_width 1177
- compartmentItems (list Compartment
- "+ derivationMethod : XSDDerivationMethod = restriction"
- "<<0..*>> + final : XSDComplexFinal"
- "+ abstract : boolean"
- "+ contentTypeCategory : XSDContentTypeCategory"
- "<<0..*>> + prohibitedSubstitutions : XSDProhibitedSubstitutions"))
- width 1192
- height 336
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @577
- location (463, 362)
- line_color 3342489
- fill_color 13434879
- supplier @574
- vertices (list Points
- (463, 362)
- (463, 221)))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @578
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 1600)
- label (object ItemLabel
- Parent_View @578
- location (1094, 1519)
- fill_color 13434879
- nlines 1
- max_width 628
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @578
- location (1094, 1579)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 628
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 646
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @579
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 144)
- label (object ItemLabel
- Parent_View @579
- location (647, 38)
- fill_color 13434879
- nlines 1
- max_width 530
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @579
- location (647, 98)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 538
- compartmentItems (list Compartment
- "+ required : boolean"
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 548
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @580
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (688, 1936)
- label (object ItemLabel
- Parent_View @580
- location (45, 1830)
- fill_color 13434879
- nlines 1
- max_width 1286
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @580
- location (45, 1890)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 1294
- compartmentItems (list Compartment
- "+ namespaceConstraintCategory : XSDNamespaceConstraintCategory"
- "<<0..*>> + namespaceConstraint : String"
- "+ processContents : XSDProcessContents"))
- width 1304
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @581
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 1440)
- label (object ItemLabel
- Parent_View @581
- location (47, 1384)
- fill_color 13434879
- nlines 1
- max_width 578
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 596
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @582
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (304, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @582
- location (36, 431)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @582
- location (36, 491)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 548
- compartmentItems (list Compartment
- "+ value : Value"
- "+ constraint : XSDConstraint"))
- width 554
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @583
- location (294, 697)
- line_color 3342489
- fill_color 13434879
- supplier @582
- vertices (list Points
- (294, 697)
- (294, 605)))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @584
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2256, 128)
- label (object ItemLabel
- Parent_View @584
- location (1995, 47)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 540
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @585
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 512)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @585
- location (2418, 460)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @586
- location (2684, 962)
- line_color 3342489
- fill_color 13434879
- supplier @585
- vertices (list Points
- (2684, 962)
- (2684, 576)))
- (object ClassView "Class" "Logical View::xsd::XSDCompositor" @587
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1200)
- label (object ItemLabel
- Parent_View @587
- location (45, 1116)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDCompositor")
- stereotype (object ItemLabel
- Parent_View @587
- location (45, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869B620037"
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstraint" @588
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 528)
- label (object ItemLabel
- Parent_View @588
- location (638, 469)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDConstraint")
- stereotype (object ItemLabel
- Parent_View @588
- location (638, 419)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B869E2601AE"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDerivationMethod" @589
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2192, 2272)
- label (object ItemLabel
- Parent_View @589
- location (1980, 2213)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "XSDDerivationMethod")
- stereotype (object ItemLabel
- Parent_View @589
- location (1980, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 424
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A0B000CE"
- width 442
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintCategory" @590
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1584, 176)
- label (object ItemLabel
- Parent_View @590
- location (1281, 88)
- fill_color 13434879
- nlines 1
- max_width 607
- justify 0
- label "XSDIdentityConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @590
- location (1281, 38)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 607
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A1E00272"
- width 625
- height 300
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDContentTypeCategory" @591
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2704, 2224)
- label (object ItemLabel
- Parent_View @591
- location (2456, 2115)
- fill_color 13434879
- nlines 1
- max_width 496
- justify 0
- label "XSDContentTypeCategory")
- stereotype (object ItemLabel
- Parent_View @591
- location (2456, 2065)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 496
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B86A79F03A2"
- width 514
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @592
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 1600)
- label (object ItemLabel
- Parent_View @592
- location (708, 1516)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @592
- location (708, 1466)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 344
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 362
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProcessContents" @593
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 2240)
- label (object ItemLabel
- Parent_View @593
- location (766, 2156)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDProcessContents")
- stereotype (object ItemLabel
- Parent_View @593
- location (766, 2106)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 420
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF8C70284"
- width 438
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDXPathVariety" @594
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2768, 160)
- label (object ItemLabel
- Parent_View @594
- location (2587, 97)
- fill_color 13434879
- nlines 1
- max_width 363
- justify 0
- label "XSDXPathVariety")
- stereotype (object ItemLabel
- Parent_View @594
- location (2587, 47)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 363
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FFB89033A"
- width 381
- height 250
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @595
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1552, 1872)
- label (object ItemLabel
- Parent_View @595
- location (1389, 1788)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @595
- location (1389, 1738)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @595
- location (1389, 1848)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 241
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @596
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1968, 2000)
- label (object ItemLabel
- Parent_View @596
- location (1786, 1941)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @596
- location (1786, 1891)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- compartment (object Compartment
- Parent_View @596
- location (1786, 2001)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 238
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 382
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSubstitutionGroupExclusions" @597
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 1184)
- label (object ItemLabel
- Parent_View @597
- location (485, 1125)
- fill_color 13434879
- nlines 1
- max_width 630
- justify 0
- label "XSDSubstitutionGroupExclusions")
- stereotype (object ItemLabel
- Parent_View @597
- location (485, 1075)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 630
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C59100AE"
- width 648
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @598
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1440, 1200)
- label (object ItemLabel
- Parent_View @598
- location (1171, 1116)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @598
- location (1171, 1066)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @598
- location (1171, 1176)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 264
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"))
- width 556
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @599
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1664, 2272)
- label (object ItemLabel
- Parent_View @599
- location (1398, 2213)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @599
- location (1398, 2163)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @599
- location (1398, 2273)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 238
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"))
- width 550
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamespaceConstraintCategory" @600
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 2240)
- label (object ItemLabel
- Parent_View @600
- location (45, 2154)
- fill_color 13434879
- nlines 1
- max_width 678
- justify 0
- label "XSDNamespaceConstraintCategory")
- stereotype (object ItemLabel
- Parent_View @600
- location (45, 2104)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 678
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5EA0023"
- width 696
- height 296
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @601
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1264, 880)
- label (object ItemLabel
- Parent_View @601
- location (571, 749)
- fill_color 13434879
- nlines 1
- max_width 1386
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @601
- location (571, 809)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 1396
- compartmentItems (list Compartment
- "+ nillable : boolean"
- "<<0..*>> + disallowedSubstitutions : XSDDisallowedSubstitutions"
- "<<0..*>> + substitutionGroupExclusions : XSDSubstitutionGroupExclusions"
- "+ abstract : boolean"))
- width 1404
- height 286
- annotation 8
- autoResize TRUE)
- (object InheritView "" @602
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @601
- supplier @582
- line_style 3
- origin_attachment (681, 737)
- terminal_attachment (681, 697)
- drawSupplier @583)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @603
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @603
- location (35, 812)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @604
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2688, 1152)
- label (object ItemLabel
- Parent_View @604
- location (2420, 1100)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @605
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @604
- supplier @585
- line_style 3
- origin_attachment (2862, 1088)
- terminal_attachment (2862, 962)
- drawSupplier @586)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @606
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1312)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @606
- location (2168, 1261)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @607
- location (2375, 1465)
- line_color 3342489
- fill_color 13434879
- supplier @606
- vertices (list Points
- (2375, 1465)
- (2375, 1375)))
- (object InheritView "" @608
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @606
- supplier @585
- line_style 3
- origin_attachment (2368, 1249)
- terminal_attachment (2368, 962)
- drawSupplier @586)
- (object InheritView "" @609
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @576
- supplier @606
- line_style 3
- origin_attachment (2818, 1512)
- terminal_attachment (2818, 1465)
- drawSupplier @607)
- (object InheritView "" @610
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @578
- supplier @606
- line_style 3
- origin_attachment (1406, 1507)
- terminal_attachment (1406, 1465)
- drawSupplier @607)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @611
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2064, 1152)
- label (object ItemLabel
- Parent_View @611
- location (1818, 1101)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritView "" @612
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @611
- supplier @585
- line_style 3
- origin_attachment (2115, 1089)
- terminal_attachment (2115, 962)
- drawSupplier @586)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @613
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1600, 528)
- label (object ItemLabel
- Parent_View @613
- location (1034, 468)
- fill_color 13434879
- nlines 1
- max_width 1132
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 1150
- height 144
- annotation 8
- autoResize TRUE)
- (object InheritView "" @614
- stereotype TRUE
- line_color 3342489
- quidu "3B684AA30242"
- client @613
- supplier @574
- line_style 3
- origin_attachment (1568, 456)
- terminal_attachment (1568, 362)
- drawSupplier @577)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @615
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2320, 784)
- label (object ItemLabel
- Parent_View @615
- location (2078, 703)
- fill_color 13434879
- nlines 1
- max_width 484
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 502
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @616
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 320)
- label (object ItemLabel
- Parent_View @616
- location (43, 268)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @617
- stereotype TRUE
- line_color 3342489
- quidu "3B68494302F1"
- client @615
- supplier @574
- line_style 3
- origin_attachment (2290, 691)
- terminal_attachment (2290, 362)
- drawSupplier @577)
- (object InheritView "" @618
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @603
- supplier @582
- line_style 3
- origin_attachment (141, 800)
- terminal_attachment (141, 697)
- drawSupplier @583)
- (object InheritView "" @619
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @582
- supplier @574
- line_style 3
- origin_attachment (372, 419)
- terminal_attachment (372, 362)
- drawSupplier @577)
- (object InheritView "" @620
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @585
- supplier @574
- line_style 3
- origin_attachment (2687, 448)
- terminal_attachment (2687, 362)
- drawSupplier @577)))
- (object ClassDiagram "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- quid "3B6C3265005F"
- title "4. Component Hierarchy, Relations and Attributes (Part 2: Datatypes)"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFixedFacet" @621
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (192, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @621
- location (32, 840)
- fill_color 13434879
- nlines 1
- max_width 320
- justify 0
- label "XSDFixedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C699E00C1"
- width 338
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @622
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 896)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @622
- location (504, 845)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @623
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1168)
- label (object ItemLabel
- Parent_View @623
- location (266, 1112)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 478
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @624
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1008, 1168)
- label (object ItemLabel
- Parent_View @624
- location (777, 1112)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 480
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @625
- location (718, 1049)
- line_color 3342489
- fill_color 13434879
- supplier @622
- vertices (list Points
- (718, 1049)
- (718, 959)))
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @626
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 928)
- label (object ItemLabel
- Parent_View @626
- location (1799, 872)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 420
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @627
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 928)
- label (object ItemLabel
- Parent_View @627
- location (1383, 872)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 388
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @628
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2032, 1104)
- label (object ItemLabel
- Parent_View @628
- location (1807, 1048)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 468
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @629
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 1104)
- label (object ItemLabel
- Parent_View @629
- location (1319, 1049)
- fill_color 13434879
- nlines 1
- max_width 370
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 388
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @630
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 1376)
- label (object ItemLabel
- Parent_View @630
- location (491, 1320)
- fill_color 13434879
- nlines 1
- max_width 330
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 348
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @631
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (608, 1552)
- label (object ItemLabel
- Parent_View @631
- location (405, 1497)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 424
- height 134
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @632
- location (144, 1262)
- line_color 3342489
- fill_color 13434879
- supplier @621
- vertices (list Points
- (144, 1262)
- (144, 964)))
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @633
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1216, 1552)
- label (object ItemLabel
- Parent_View @633
- location (1007, 1497)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 134
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @634
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1376)
- label (object ItemLabel
- Parent_View @634
- location (880, 1320)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 498
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @635
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 1728)
- label (object ItemLabel
- Parent_View @635
- location (1090, 1676)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 462
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @636
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 1904)
- label (object ItemLabel
- Parent_View @636
- location (1193, 1852)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @637
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 1728)
- label (object ItemLabel
- Parent_View @637
- location (282, 1676)
- fill_color 13434879
- nlines 1
- max_width 428
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 446
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @638
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1904)
- label (object ItemLabel
- Parent_View @638
- location (124, 1852)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 474
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @639
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 2112)
- label (object ItemLabel
- Parent_View @639
- location (52, 2056)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 426
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @640
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 2112)
- label (object ItemLabel
- Parent_View @640
- location (1318, 2056)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 486
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @641
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C9D03C7"
- client @623
- supplier @622
- line_style 3
- origin_attachment (394, 1100)
- terminal_attachment (394, 1049)
- drawSupplier @625)
- (object InheritView "" @642
- stereotype TRUE
- line_color 3342489
- quidu "3B6C78620045"
- client @634
- supplier @621
- line_style 3
- origin_attachment (1119, 1308)
- terminal_attachment (1119, 1262)
- drawSupplier @632)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @643
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (336, 160)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @643
- location (174, 117)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @644
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6CA5038D"
- client @624
- supplier @622
- line_style 3
- origin_attachment (1044, 1100)
- terminal_attachment (1044, 1049)
- drawSupplier @625)
- (object InheritView "" @645
- stereotype TRUE
- line_color 3342489
- quidu "3B6C778002DF"
- client @630
- supplier @621
- line_style 3
- origin_attachment (663, 1308)
- terminal_attachment (663, 1262)
- drawSupplier @632)
- (object ClassView "Class" "Logical View::xsd::XSDOrdered" @646
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1408)
- label (object ItemLabel
- Parent_View @646
- location (1835, 1324)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDOrdered")
- stereotype (object ItemLabel
- Parent_View @646
- location (1835, 1274)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715202E4"
- width 444
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinality" @647
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2048, 1728)
- label (object ItemLabel
- Parent_View @647
- location (1835, 1669)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDCardinality")
- stereotype (object ItemLabel
- Parent_View @647
- location (1835, 1619)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 426
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BC7715D009B"
- width 444
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpace" @648
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 2032)
- label (object ItemLabel
- Parent_View @648
- location (1861, 1951)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDWhiteSpace")
- stereotype (object ItemLabel
- Parent_View @648
- location (1861, 1901)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 406
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BEED0F60342"
- width 424
- height 287
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::Value" @649
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (880, 2096)
- label (object ItemLabel
- Parent_View @649
- location (571, 2062)
- fill_color 13434879
- nlines 1
- max_width 618
- justify 0
- label "Value")
- stereotype (object ItemLabel
- Parent_View @649
- location (571, 2012)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 618
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C040B5B031F"
- width 636
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @650
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B610337"
- client @639
- supplier @621
- line_style 3
- origin_attachment (75, 2044)
- terminal_attachment (75, 1262)
- drawSupplier @632)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @651
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @651
- location (113, 1320)
- fill_color 13434879
- nlines 1
- max_width 286
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @651
- location (113, 1380)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 290
- compartmentItems (list Compartment
- "+ value : Value"))
- width 304
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @652
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1584, 1376)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @652
- location (1440, 1320)
- fill_color 13434879
- nlines 1
- max_width 288
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @652
- location (1440, 1380)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 294
- compartmentItems (list Compartment
- "+ value : Value"))
- width 306
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritView "" @653
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D240098"
- client @651
- supplier @621
- line_style 3
- origin_attachment (235, 1308)
- terminal_attachment (235, 1262)
- drawSupplier @632)
- (object InheritView "" @654
- stereotype TRUE
- line_color 3342489
- quidu "3C0A1D3103AD"
- client @652
- supplier @621
- line_style 3
- origin_attachment (1581, 1308)
- terminal_attachment (1581, 1262)
- drawSupplier @632)
- (object InheritView "" @655
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B520353"
- client @637
- supplier @651
- line_style 3
- origin_attachment (285, 1664)
- terminal_attachment (285, 1444))
- (object InheritView "" @656
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8303B8"
- client @635
- supplier @652
- line_style 3
- origin_attachment (1500, 1664)
- terminal_attachment (1500, 1444))
- (object InheritView "" @657
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B8E0309"
- client @636
- supplier @652
- line_style 3
- origin_attachment (1622, 1840)
- terminal_attachment (1622, 1444))
- (object InheritView "" @658
- stereotype TRUE
- line_color 3342489
- quidu "3B6C77C400C0"
- client @631
- supplier @621
- line_style 3
- origin_attachment (447, 1485)
- terminal_attachment (447, 1262)
- drawSupplier @632)
- (object InheritView "" @659
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B7D00FC"
- client @633
- supplier @621
- line_style 3
- origin_attachment (1397, 1485)
- terminal_attachment (1397, 1262)
- drawSupplier @632)
- (object InheritView "" @660
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B990016"
- client @640
- supplier @621
- line_style 3
- origin_attachment (1775, 2044)
- terminal_attachment (1775, 1262)
- drawSupplier @632)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @661
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 368)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @661
- location (174, 318)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 406
- height 125
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @662
- location (366, 522)
- line_color 3342489
- fill_color 13434879
- supplier @661
- vertices (list Points
- (366, 522)
- (366, 430)))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @663
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @663
- location (34, 573)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 462
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @664
- location (272, 781)
- line_color 3342489
- fill_color 13434879
- supplier @663
- vertices (list Points
- (272, 781)
- (272, 687)))
- (object InheritView "" @665
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @622
- supplier @663
- line_style 3
- origin_attachment (594, 833)
- terminal_attachment (594, 781)
- drawSupplier @664)
- (object ClassView "Class" "Logical View::xsd::XSDFundamentalFacet" @666
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @666
- location (526, 573)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDFundamentalFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C69E801D6"
- width 470
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @667
- location (768, 789)
- line_color 3342489
- fill_color 13434879
- supplier @666
- vertices (list Points
- (768, 789)
- (768, 687)))
- (object InheritView "" @668
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7659012C"
- client @626
- supplier @666
- line_style 3
- origin_attachment (2050, 860)
- terminal_attachment (2050, 789)
- drawSupplier @667)
- (object InheritView "" @669
- stereotype TRUE
- line_color 3342489
- quidu "3B6C763C0224"
- client @627
- supplier @666
- line_style 3
- origin_attachment (1525, 860)
- terminal_attachment (1525, 789)
- drawSupplier @667)
- (object InheritView "" @670
- stereotype TRUE
- line_color 3342489
- quidu "3B6C764F0131"
- client @628
- supplier @666
- line_style 3
- origin_attachment (2237, 1036)
- terminal_attachment (2237, 789)
- drawSupplier @667)
- (object InheritView "" @671
- stereotype TRUE
- line_color 3342489
- quidu "3B6C76420074"
- client @629
- supplier @666
- line_style 3
- origin_attachment (1328, 1037)
- terminal_attachment (1328, 789)
- drawSupplier @667)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @672
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1456, 160)
- label (object ItemLabel
- Parent_View @672
- location (1137, 47)
- fill_color 13434879
- nlines 1
- max_width 638
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @672
- location (1137, 107)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 628
- compartmentItems (list Compartment
- "+ variety : XSDVariety"
- "<<0..*>> + final : XSDSimpleFinal"))
- width 656
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$127" @673
- location (775, 178)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D597102EA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$128" @674
- Parent_View @673
- location (-1209, -46)
- label (object SegLabel @675
- Parent_View @674
- location (509, 235)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750119"
- client @673
- supplier @661
- vertices (list Points
- (775, 178)
- (550, 178)
- (550, 306))
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (550, 306))
- (object RoleView "simpleTypeDefinition" @676
- Parent_View @673
- location (-1209, -46)
- label (object SegLabel @677
- Parent_View @676
- location (875, 136)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+simpleTypeDefinition"
- pctDist 0.283133
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D59750105"
- client @673
- supplier @672
- line_style 3
- origin_attachment (775, 178)
- terminal_attachment (1128, 178)
- label (object SegLabel @678
- Parent_View @676
- location (1061, 215)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.812500
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$189" @679
- location (369, 72)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE0203A8"
- roleview_list (list RoleViews
- (object RoleView "facets" @680
- Parent_View @679
- location (-1615, -152)
- label (object SegLabel @681
- Parent_View @680
- location (187, 496)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+facets"
- pctDist 0.913863
- height 87
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060065"
- client @679
- supplier @663
- vertices (list Points
- (369, 72)
- (100, 72)
- (100, 561))
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (100, 561)
- label (object SegLabel @682
- Parent_View @680
- location (60, 498)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.917900
- height 41
- orientation 1))
- (object RoleView "$UNNAMED$190" @683
- Parent_View @679
- location (-1615, -152)
- label (object SegLabel @684
- Parent_View @683
- location (976, 31)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BC8AE060051"
- client @679
- supplier @672
- line_style 3
- origin_attachment (369, 72)
- terminal_attachment (1128, 72))))
- (object AssociationViewNew "$UNNAMED$231" @685
- location (1538, 508)
- label (object SegLabel @686
- Parent_View @685
- location (1538, 449)
- font (object Font
- italics TRUE)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.500000
- height 60
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$232" @687
- Parent_View @685
- location (-446, 284)
- label (object SegLabel @688
- Parent_View @687
- location (1446, 340)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000DF"
- client @685
- supplier @672
- vertices (list Points
- (1538, 508)
- (1487, 508)
- (1487, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1487, 285))
- (object RoleView "itemTypeDefinition" @689
- Parent_View @685
- location (-446, 284)
- label (object SegLabel @690
- Parent_View @689
- location (1423, 577)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+itemTypeDefinition"
- pctDist -2.211539
- height 69
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C276DA000E0"
- client @685
- supplier @672
- vertices (list Points
- (1538, 508)
- (1590, 508)
- (1590, 285))
- line_style 3
- origin_attachment (1538, 508)
- terminal_attachment (1590, 285)
- label (object SegLabel @691
- Parent_View @689
- location (1539, 468)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.003984
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$191" @692
- location (1729, 574)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34B70208"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$192" @693
- Parent_View @692
- location (-255, 350)
- label (object SegLabel @694
- Parent_View @693
- location (1637, 353)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0258"
- client @692
- supplier @672
- vertices (list Points
- (1729, 574)
- (1678, 574)
- (1678, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1678, 285))
- (object RoleView "memberTypeDefinitions" @695
- Parent_View @692
- location (-255, 350)
- label (object SegLabel @696
- Parent_View @695
- location (1559, 654)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+memberTypeDefinitions"
- pctDist -3.269231
- height 80
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C34BE0259"
- client @692
- supplier @672
- vertices (list Points
- (1729, 574)
- (1781, 574)
- (1781, 285))
- line_style 3
- origin_attachment (1729, 574)
- terminal_attachment (1781, 285)
- label (object SegLabel @697
- Parent_View @695
- location (1730, 520)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.312121
- height 52
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$193" @698
- location (748, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C363201DB"
- roleview_list (list RoleViews
- (object RoleView "fundamentalFacets" @699
- Parent_View @698
- location (-1236, 45)
- label (object SegLabel @700
- Parent_View @699
- location (873, 312)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+fundamentalFacets"
- pctDist -1.409091
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350063"
- client @698
- supplier @666
- vertices (list Points
- (748, 269)
- (659, 269)
- (659, 561))
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (659, 561)
- label (object SegLabel @701
- Parent_View @699
- location (728, 385)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.538028
- height 69
- orientation 0))
- (object RoleView "$UNNAMED$194" @702
- Parent_View @698
- location (-1236, 45)
- label (object SegLabel @703
- Parent_View @702
- location (1052, 228)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C36350059"
- client @698
- supplier @672
- line_style 3
- origin_attachment (748, 269)
- terminal_attachment (1128, 269))))
- (object AssociationViewNew "$UNNAMED$195" @704
- location (1175, 396)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35AB0273"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$196" @705
- Parent_View @704
- location (-809, 172)
- label (object SegLabel @706
- Parent_View @705
- location (1094, 316)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B20291"
- client @704
- supplier @672
- vertices (list Points
- (1175, 396)
- (1135, 396)
- (1135, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1135, 285))
- (object RoleView "baseTypeDefinition" @707
- Parent_View @704
- location (-809, 172)
- label (object SegLabel @708
- Parent_View @707
- location (1074, 443)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+baseTypeDefinition"
- pctDist -2.533333
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D35B202A5"
- client @704
- supplier @672
- vertices (list Points
- (1175, 396)
- (1215, 396)
- (1215, 285))
- line_style 3
- origin_attachment (1175, 396)
- terminal_attachment (1215, 285)
- label (object SegLabel @709
- Parent_View @707
- location (1172, 359)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.096154
- height 38
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$197" @710
- location (1360, 446)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5572016C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$198" @711
- Parent_View @710
- location (-624, 222)
- label (object SegLabel @712
- Parent_View @711
- location (1268, 327)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5575022F"
- client @710
- supplier @672
- vertices (list Points
- (1360, 446)
- (1309, 446)
- (1309, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1309, 285))
- (object RoleView "primitiveTypeDefinition" @713
- Parent_View @710
- location (-624, 222)
- label (object SegLabel @714
- Parent_View @713
- location (1204, 508)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 432
- justify 0
- label "+primitiveTypeDefinition"
- pctDist -3.000000
- height 62
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D55750243"
- client @710
- supplier @672
- vertices (list Points
- (1360, 446)
- (1412, 446)
- (1412, 285))
- line_style 3
- origin_attachment (1360, 446)
- terminal_attachment (1412, 285)
- label (object SegLabel @715
- Parent_View @713
- location (1373, 409)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.062147
- height 38
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @716
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2080, 512)
- label (object ItemLabel
- Parent_View @716
- location (1917, 428)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @716
- location (1917, 378)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- compartment (object Compartment
- Parent_View @716
- location (1917, 488)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 3
- max_width 238
- compartmentItems (list Compartment
- "+ list"
- "+ restriction"
- "+ union"))
- width 344
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDVariety" @717
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 176)
- label (object ItemLabel
- Parent_View @717
- location (1918, 92)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDVariety")
- stereotype (object ItemLabel
- Parent_View @717
- location (1918, 42)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B8FF7730249"
- width 342
- height 292
- annotation 8
- autoResize TRUE)
- (object InheritView "" @718
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C7B0396"
- client @666
- supplier @661
- line_style 3
- origin_attachment (591, 561)
- terminal_attachment (591, 522)
- drawSupplier @662)
- (object InheritView "" @719
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @663
- supplier @661
- line_style 3
- origin_attachment (272, 561)
- terminal_attachment (272, 522)
- drawSupplier @662)
- (object InheritView "" @720
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @661
- supplier @643
- line_style 3
- origin_attachment (366, 306)
- terminal_attachment (366, 215))
- (object InheritView "" @721
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8801B4"
- client @621
- supplier @663
- line_style 3
- origin_attachment (147, 828)
- terminal_attachment (147, 781)
- drawSupplier @664)
- (object InheritView "" @722
- stereotype TRUE
- line_color 3342489
- quidu "3B6C7B590281"
- client @638
- supplier @651
- line_style 3
- origin_attachment (150, 1840)
- terminal_attachment (150, 1444))))
- (object ClassDiagram "5. Component Annotations"
- quid "3B69D68D00D2"
- title "5. Component Annotations"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @723
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 80)
- label (object ItemLabel
- Parent_View @723
- location (88, 37)
- fill_color 13434879
- nlines 1
- max_width 336
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 354
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @724
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1696)
- label (object ItemLabel
- Parent_View @724
- location (82, 1653)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @725
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1872, 1504)
- label (object ItemLabel
- Parent_View @725
- location (1626, 1461)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 510
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @726
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 304)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @726
- location (1663, 261)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @727
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1360)
- label (object ItemLabel
- Parent_View @727
- location (74, 1317)
- fill_color 13434879
- nlines 1
- max_width 588
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 606
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @728
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 704)
- label (object ItemLabel
- Parent_View @728
- location (86, 661)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @729
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 1184)
- label (object ItemLabel
- Parent_View @729
- location (74, 1141)
- fill_color 13434879
- nlines 1
- max_width 492
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 510
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @730
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 544)
- label (object ItemLabel
- Parent_View @730
- location (86, 501)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @731
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 80)
- label (object ItemLabel
- Parent_View @731
- location (1068, 37)
- fill_color 13434879
- nlines 1
- max_width 264
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 282
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @732
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1216)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @732
- location (1750, 1173)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @733
- location (1994, 1412)
- line_color 3342489
- fill_color 13434879
- supplier @732
- vertices (list Points
- (1994, 1412)
- (1994, 1271)))
- (object InheritView "" @734
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @725
- supplier @732
- line_style 3
- origin_attachment (2084, 1449)
- terminal_attachment (2084, 1412)
- drawSupplier @733)
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @735
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (272, 864)
- label (object ItemLabel
- Parent_View @735
- location (80, 821)
- fill_color 13434879
- nlines 1
- max_width 384
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 402
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @736
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2000, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @736
- location (1892, 37)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- width 234
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @737
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 384)
- label (object ItemLabel
- Parent_View @737
- location (84, 341)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @738
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 224)
- label (object ItemLabel
- Parent_View @738
- location (86, 181)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 486
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @739
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1792, 1712)
- label (object ItemLabel
- Parent_View @739
- location (1467, 1674)
- fill_color 13434879
- nlines 1
- max_width 651
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 669
- height 100
- annotation 8)
- (object InheritView "" @740
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @739
- supplier @732
- line_style 3
- origin_attachment (1572, 1662)
- terminal_attachment (1572, 1412)
- drawSupplier @733)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @741
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 1024)
- label (object ItemLabel
- Parent_View @741
- location (78, 981)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRepeatableFacet" @742
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 560)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @742
- location (1688, 517)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "XSDRepeatableFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6AA6031A"
- width 450
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @743
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1536)
- label (object ItemLabel
- Parent_View @743
- location (71, 1493)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @744
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 944)
- label (object ItemLabel
- Parent_View @744
- location (872, 685)
- fill_color 13434879
- nlines 1
- max_width 720
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 738
- height 543
- annotation 8)
- (object AssociationViewNew "$UNNAMED$133" @745
- location (865, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0183"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$134" @746
- Parent_View @745
- location (-255, 559)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D033C"
- client @745
- supplier @727
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (671, 1359))
- (object RoleView "annotation" @747
- Parent_View @745
- location (-255, 559)
- label (object SegLabel @748
- Parent_View @747
- location (798, 1321)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -1.116667
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0D0346"
- client @745
- supplier @744
- vertices (list Points
- (865, 1359)
- (925, 1359)
- (925, 1215))
- line_style 3
- origin_attachment (865, 1359)
- terminal_attachment (925, 1215)
- label (object SegLabel @749
- Parent_View @747
- location (987, 1276)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.706422
- height 62
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$157" @750
- location (713, 709)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0F0212"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$158" @751
- Parent_View @750
- location (-407, -90)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000C9"
- client @750
- supplier @728
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (563, 709))
- (object RoleView "annotation" @752
- Parent_View @750
- location (-407, -90)
- label (object SegLabel @753
- Parent_View @752
- location (727, 667)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.095238
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1000D3"
- client @750
- supplier @744
- line_style 3
- origin_attachment (713, 709)
- terminal_attachment (863, 709)
- label (object SegLabel @754
- Parent_View @752
- location (796, 753)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.553571
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$151" @755
- location (719, 1193)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB15008A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$152" @756
- Parent_View @755
- location (-401, 393)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB160096"
- client @755
- supplier @729
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (575, 1193))
- (object RoleView "annotation" @757
- Parent_View @755
- location (-401, 393)
- label (object SegLabel @758
- Parent_View @757
- location (720, 1147)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.006993
- height 47
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1600A0"
- client @755
- supplier @744
- line_style 3
- origin_attachment (719, 1193)
- terminal_attachment (863, 1193)
- label (object SegLabel @759
- Parent_View @757
- location (806, 1240)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.604167
- height 47
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$111" @760
- location (785, 550)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0A0066"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$112" @761
- Parent_View @760
- location (-335, -250)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B023F"
- client @760
- supplier @730
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (563, 550))
- (object RoleView "annotation" @762
- Parent_View @760
- location (-335, -250)
- label (object SegLabel @763
- Parent_View @762
- location (779, 516)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.070707
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB0B0249"
- client @760
- supplier @744
- vertices (list Points
- (785, 550)
- (884, 550)
- (884, 673))
- line_style 3
- origin_attachment (785, 550)
- terminal_attachment (884, 673)
- label (object SegLabel @764
- Parent_View @762
- location (935, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.729730
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$183" @765
- location (1184, 404)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4560290"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$184" @766
- Parent_View @765
- location (-32, -412)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E4570165"
- client @765
- supplier @731
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 135))
- (object RoleView "annotations" @767
- Parent_View @765
- location (-32, -412)
- label (object SegLabel @768
- Parent_View @767
- location (1324, 226)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+annotations"
- pctDist -0.665428
- height 140
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E457016F"
- client @765
- supplier @744
- line_style 3
- origin_attachment (1184, 404)
- terminal_attachment (1184, 673)
- label (object SegLabel @769
- Parent_View @767
- location (1251, 615)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.784387
- height 67
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$199" @770
- location (1752, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E2910158"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$200" @771
- Parent_View @770
- location (536, 218)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E292019F"
- client @770
- supplier @732
- vertices (list Points
- (1752, 1034)
- (1812, 1034)
- (1812, 1161))
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1812, 1161))
- (object RoleView "annotation" @772
- Parent_View @770
- location (536, 218)
- label (object SegLabel @773
- Parent_View @772
- location (1743, 997)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.059603
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69E29201A9"
- client @770
- supplier @744
- line_style 3
- origin_attachment (1752, 1034)
- terminal_attachment (1601, 1034)
- label (object SegLabel @774
- Parent_View @772
- location (1684, 1066)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.450331
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$201" @775
- location (1896, 881)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006CF0088"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$202" @776
- Parent_View @775
- location (621, 40)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D1015D"
- client @775
- supplier @732
- vertices (list Points
- (1896, 881)
- (1956, 881)
- (1956, 1161))
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1956, 1161))
- (object RoleView "derivationAnnotation" @777
- Parent_View @775
- location (621, 40)
- label (object SegLabel @778
- Parent_View @777
- location (1821, 842)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 390
- justify 0
- label "+derivationAnnotation"
- pctDist 0.254237
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B9006D10167"
- client @775
- supplier @744
- line_style 3
- origin_attachment (1896, 881)
- terminal_attachment (1601, 881)
- label (object SegLabel @779
- Parent_View @777
- location (1689, 914)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.705085
- height 33
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$203" @780
- location (2040, 715)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB330264"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$204" @781
- Parent_View @780
- location (920, -85)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB340284"
- client @780
- supplier @732
- vertices (list Points
- (2040, 715)
- (2100, 715)
- (2100, 1161))
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (2100, 1161))
- (object RoleView "annotations" @782
- Parent_View @780
- location (920, -85)
- label (object SegLabel @783
- Parent_View @782
- location (1758, 681)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.643192
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB34028E"
- client @780
- supplier @744
- line_style 3
- origin_attachment (2040, 715)
- terminal_attachment (1601, 715)
- label (object SegLabel @784
- Parent_View @782
- location (1685, 746)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.809313
- height 31
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$221" @785
- location (668, 865)
- stereotype TRUE
- line_color 3342489
- quidu "3C239134004F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$222" @786
- Parent_View @785
- location (-612, 33)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600CA"
- client @785
- supplier @735
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (473, 865))
- (object RoleView "annotation" @787
- Parent_View @785
- location (-612, 33)
- label (object SegLabel @788
- Parent_View @787
- location (714, 825)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.234146
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C23913600D4"
- client @785
- supplier @744
- line_style 3
- origin_attachment (668, 865)
- terminal_attachment (863, 865)
- label (object SegLabel @789
- Parent_View @787
- location (801, 903)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.682051
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$125" @790
- location (1472, 167)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23B901CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$126" @791
- Parent_View @790
- location (256, -649)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01C4"
- client @790
- supplier @736
- vertices (list Points
- (1472, 167)
- (1472, 72)
- (1883, 72))
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1883, 72))
- (object RoleView "annotation" @792
- Parent_View @790
- location (256, -649)
- label (object SegLabel @793
- Parent_View @792
- location (1604, 129)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.076305
- height 132
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D23BA01CE"
- client @790
- supplier @744
- line_style 3
- origin_attachment (1472, 167)
- terminal_attachment (1472, 673)
- label (object SegLabel @794
- Parent_View @792
- location (1419, 618)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.893574
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$75" @795
- location (927, 350)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB060291"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$76" @796
- Parent_View @795
- location (-193, -450)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070171"
- client @795
- supplier @737
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (629, 350))
- (object RoleView "annotation" @797
- Parent_View @795
- location (-193, -450)
- label (object SegLabel @798
- Parent_View @797
- location (878, 310)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.816667
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB070172"
- client @795
- supplier @744
- vertices (list Points
- (927, 350)
- (987, 350)
- (987, 673))
- line_style 3
- origin_attachment (927, 350)
- terminal_attachment (987, 673)
- label (object SegLabel @799
- Parent_View @797
- location (1037, 612)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.843342
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$67" @800
- location (1027, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADC02F5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$68" @801
- Parent_View @800
- location (-93, -578)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0238"
- client @800
- supplier @738
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (563, 222))
- (object RoleView "annotation" @802
- Parent_View @800
- location (-93, -578)
- label (object SegLabel @803
- Parent_View @802
- location (1003, 188)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist -0.406250
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DADD0242"
- client @800
- supplier @744
- vertices (list Points
- (1027, 222)
- (1087, 222)
- (1087, 673))
- line_style 3
- origin_attachment (1027, 222)
- terminal_attachment (1087, 673)
- label (object SegLabel @804
- Parent_View @802
- location (1137, 613)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 100
- justify 0
- label "0..1"
- pctDist 0.882583
- height 50
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$91" @805
- location (1494, 1438)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068801C2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$92" @806
- Parent_View @805
- location (214, 590)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A0111"
- client @805
- supplier @739
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1662))
- (object RoleView "contentAnnotation" @807
- Parent_View @805
- location (214, 590)
- label (object SegLabel @808
- Parent_View @807
- location (1696, 1356)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+contentAnnotation"
- pctDist 0.367713
- height 202
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B90068A011B"
- client @805
- supplier @744
- line_style 3
- origin_attachment (1494, 1438)
- terminal_attachment (1494, 1215)
- label (object SegLabel @809
- Parent_View @807
- location (1443, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.713004
- height 51
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$145" @810
- location (637, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1702C8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$146" @811
- Parent_View @810
- location (-483, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1803E2"
- client @810
- supplier @741
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (411, 1022))
- (object RoleView "annotation" @812
- Parent_View @810
- location (-483, 222)
- label (object SegLabel @813
- Parent_View @812
- location (710, 979)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.328889
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB190004"
- client @810
- supplier @744
- line_style 3
- origin_attachment (637, 1022)
- terminal_attachment (863, 1022)
- label (object SegLabel @814
- Parent_View @812
- location (802, 1062)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.730088
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$65" @815
- location (1581, 607)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA70102"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$66" @816
- Parent_View @815
- location (301, -225)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90191"
- client @815
- supplier @742
- vertices (list Points
- (1581, 607)
- (1581, 547)
- (1679, 547))
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1679, 547))
- (object RoleView "annotations" @817
- Parent_View @815
- location (301, -225)
- label (object SegLabel @818
- Parent_View @817
- location (1669, 462)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist -2.196970
- height 88
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EA90192"
- client @815
- supplier @744
- line_style 3
- origin_attachment (1581, 607)
- terminal_attachment (1581, 673)
- label (object SegLabel @819
- Parent_View @817
- location (1539, 620)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.196970
- height 42
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$205" @820
- location (849, 1496)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB11026F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$206" @821
- Parent_View @820
- location (-271, 696)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB1201F9"
- client @820
- supplier @743
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (354, 1496))
- (object RoleView "annotation" @822
- Parent_View @820
- location (-271, 696)
- label (object SegLabel @823
- Parent_View @822
- location (942, 1464)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.188259
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69DB120203"
- client @820
- supplier @744
- vertices (list Points
- (849, 1496)
- (1062, 1496)
- (1062, 1215))
- line_style 3
- origin_attachment (849, 1496)
- terminal_attachment (1062, 1215)
- label (object SegLabel @824
- Parent_View @822
- location (1115, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.872690
- height 53
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$207" @825
- location (952, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB30005"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$208" @826
- Parent_View @825
- location (-328, 733)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40327"
- client @825
- supplier @743
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (354, 1565))
- (object RoleView "annotations" @827
- Parent_View @825
- location (-328, 733)
- label (object SegLabel @828
- Parent_View @827
- location (1075, 1538)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.204959
- height 28
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C626EB40332"
- client @825
- supplier @744
- vertices (list Points
- (952, 1565)
- (1200, 1565)
- (1200, 1215))
- line_style 3
- origin_attachment (952, 1565)
- terminal_attachment (1200, 1215)
- label (object SegLabel @829
- Parent_View @827
- location (1254, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))
- (object InheritView "" @830
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C800394"
- client @726
- supplier @736
- line_style 3
- origin_attachment (1984, 249)
- terminal_attachment (1984, 135))
- (object InheritView "" @831
- stereotype TRUE
- line_color 3342489
- quidu "3B6C6C8F002E"
- client @742
- supplier @726
- line_style 3
- origin_attachment (1997, 505)
- terminal_attachment (1997, 359))))
- (object ClassDiagram "6. Concrete Components"
- quid "3B6AD74D03C4"
- title "6. Concrete Components"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @832
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @832
- location (126, 373)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 342
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @833
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @833
- location (568, 373)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @834
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1200, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @834
- location (991, 629)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @835
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @835
- location (1156, 373)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @836
- location (1360, 561)
- line_color 3342489
- fill_color 13434879
- supplier @835
- vertices (list Points
- (1360, 561)
- (1360, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDInclude" @837
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1632, 1200)
- label (object ItemLabel
- Parent_View @837
- location (1512, 1157)
- fill_color 13434879
- nlines 1
- max_width 240
- justify 0
- label "XSDInclude")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C7D0250"
- width 258
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @838
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1408, 944)
- label (object ItemLabel
- Parent_View @838
- location (1294, 901)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 246
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @839
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1936, 1200)
- label (object ItemLabel
- Parent_View @839
- location (1805, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @840
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (800, 1200)
- label (object ItemLabel
- Parent_View @840
- location (375, 1153)
- fill_color 13434879
- nlines 1
- max_width 851
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 869
- height 119
- annotation 8)
- (object AssociationViewNew "$UNNAMED$143" @841
- location (1368, 1206)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC5007E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$144" @842
- Parent_View @841
- location (1160, 406)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006B"
- client @841
- supplier @837
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1503, 1206))
- (object RoleView "annotation" @843
- Parent_View @841
- location (1160, 406)
- label (object SegLabel @844
- Parent_View @843
- location (1347, 1154)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.154412
- height 53
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCC6006C"
- client @841
- supplier @840
- line_style 3
- origin_attachment (1368, 1206)
- terminal_attachment (1234, 1206)
- label (object SegLabel @845
- Parent_View @843
- location (1300, 1253)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 107
- justify 0
- label "0..1"
- pctDist 0.514706
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$141" @846
- location (1168, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD802FC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$142" @847
- Parent_View @846
- location (960, 222)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018B"
- client @846
- supplier @838
- vertices (list Points
- (1168, 1022)
- (1168, 962)
- (1285, 962))
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1285, 962))
- (object RoleView "annotation" @848
- Parent_View @846
- location (960, 222)
- label (object SegLabel @849
- Parent_View @848
- location (1290, 1075)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+annotation"
- pctDist 0.445378
- height 122
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADCD9018C"
- client @846
- supplier @840
- line_style 3
- origin_attachment (1168, 1022)
- terminal_attachment (1168, 1141)
- label (object SegLabel @850
- Parent_View @848
- location (1127, 1074)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.436975
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$163" @851
- location (1563, 1353)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE42009A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$164" @852
- Parent_View @851
- location (1355, 553)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE4302FE"
- client @851
- supplier @839
- vertices (list Points
- (1563, 1353)
- (1940, 1353)
- (1940, 1255))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1940, 1255))
- (object RoleView "annotations" @853
- Parent_View @851
- location (1355, 553)
- label (object SegLabel @854
- Parent_View @853
- location (1317, 1322)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+annotations"
- pctDist 0.516807
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6ADE430308"
- client @851
- supplier @840
- vertices (list Points
- (1563, 1353)
- (1181, 1353)
- (1181, 1259))
- line_style 3
- origin_attachment (1563, 1353)
- terminal_attachment (1181, 1259)
- label (object SegLabel @855
- Parent_View @853
- location (1130, 1326)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.861345
- height 52
- orientation 0))))
- (object InheritTreeView "" @856
- location (288, 561)
- line_color 3342489
- fill_color 13434879
- supplier @832
- vertices (list Points
- (288, 561)
- (288, 471)))
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @857
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @857
- location (460, 629)
- fill_color 13434879
- nlines 1
- max_width 456
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 474
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @858
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1856, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @858
- location (1658, 373)
- fill_color 13434879
- nlines 1
- max_width 396
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 414
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @859
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (720, 960)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @859
- location (450, 917)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 558
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @860
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (224, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @860
- location (110, 629)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 246
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @861
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @860
- supplier @832
- line_style 3
- origin_attachment (221, 617)
- terminal_attachment (221, 561)
- drawSupplier @856)
- (object InheritView "" @862
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @857
- supplier @832
- line_style 3
- origin_attachment (589, 617)
- terminal_attachment (589, 561)
- drawSupplier @856)
- (object InheritView "" @863
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @834
- supplier @835
- line_style 3
- origin_attachment (1016, 617)
- terminal_attachment (1016, 561)
- drawSupplier @836)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @864
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @864
- location (1590, 901)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 486
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @865
- location (1824, 1089)
- line_color 3342489
- fill_color 13434879
- supplier @864
- vertices (list Points
- (1824, 1089)
- (1824, 999)))
- (object InheritView "" @866
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8DC0381"
- client @837
- supplier @864
- line_style 3
- origin_attachment (1666, 1145)
- terminal_attachment (1666, 1089)
- drawSupplier @865)
- (object InheritView "" @867
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @839
- supplier @864
- line_style 3
- origin_attachment (1934, 1145)
- terminal_attachment (1934, 1089)
- drawSupplier @865)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @868
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 672)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @868
- location (1630, 629)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 438
- height 110
- annotation 8)
- (object InheritTreeView "" @869
- location (1762, 819)
- line_color 3342489
- fill_color 13434879
- supplier @868
- vertices (list Points
- (1762, 819)
- (1762, 727)))
- (object InheritView "" @870
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @838
- supplier @868
- line_style 3
- origin_attachment (1416, 889)
- terminal_attachment (1416, 819)
- drawSupplier @869)
- (object InheritView "" @871
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @868
- supplier @835
- line_style 3
- origin_attachment (1756, 617)
- terminal_attachment (1756, 561)
- drawSupplier @836)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @872
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- location (1120, 144)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @872
- location (875, 101)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 508
- height 110
- annotation 8)
- (object InheritTreeView "" @873
- location (1120, 289)
- line_color 3342489
- fill_color 13434879
- supplier @872
- vertices (list Points
- (1120, 289)
- (1120, 199)))
- (object AssociationViewNew "$UNNAMED$105" @874
- location (1485, 215)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0803C7"
- roleview_list (list RoleViews
- (object RoleView "container" @875
- Parent_View @874
- location (989, 103)
- label (object SegLabel @876
- Parent_View @875
- location (1604, 210)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+container"
- pctDist 0.033113
- height 119
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CE"
- client @874
- supplier @872
- vertices (list Points
- (1485, 215)
- (1485, 176)
- (1374, 176))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1374, 176)
- label (object SegLabel @877
- Parent_View @875
- location (1435, 226)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 69
- justify 0
- label "0..1"
- pctDist 0.602649
- height 50
- orientation 0))
- (object RoleView "$UNNAMED$106" @878
- Parent_View @874
- location (989, 103)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B0C01CF"
- client @874
- supplier @872
- vertices (list Points
- (1485, 215)
- (1485, 254)
- (1345, 254)
- (1345, 199))
- line_style 3
- origin_attachment (1485, 215)
- terminal_attachment (1345, 199))))
- (object AssociationViewNew "$UNNAMED$107" @879
- location (773, 216)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B480261"
- roleview_list (list RoleViews
- (object RoleView "rootContainer" @880
- Parent_View @879
- location (53, 104)
- label (object SegLabel @881
- Parent_View @880
- location (614, 217)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+rootContainer"
- pctDist -0.025000
- height 160
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0285"
- client @879
- supplier @872
- vertices (list Points
- (773, 216)
- (773, 176)
- (866, 176))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (866, 176)
- label (object SegLabel @882
- Parent_View @880
- location (800, 228)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.300000
- height 27
- orientation 1))
- (object RoleView "$UNNAMED$108" @883
- Parent_View @879
- location (53, 104)
- stereotype TRUE
- line_color 3342489
- quidu "3B751B4C0286"
- client @879
- supplier @872
- vertices (list Points
- (773, 216)
- (773, 257)
- (895, 257)
- (895, 199))
- line_style 3
- origin_attachment (773, 216)
- terminal_attachment (895, 199))))
- (object InheritView "" @884
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @835
- supplier @872
- line_style 3
- origin_attachment (1367, 361)
- terminal_attachment (1367, 289)
- drawSupplier @873)
- (object InheritView "" @885
- stereotype TRUE
- line_color 3342489
- quidu "3B72D8E200EA"
- client @833
- supplier @872
- line_style 3
- origin_attachment (752, 361)
- terminal_attachment (752, 289)
- drawSupplier @873)
- (object InheritView "" @886
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @832
- supplier @872
- line_style 3
- origin_attachment (299, 361)
- terminal_attachment (299, 289)
- drawSupplier @873)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @887
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 1200)
- label (object ItemLabel
- Parent_View @887
- location (61, 1157)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritView "" @888
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @887
- supplier @860
- line_style 3
- origin_attachment (216, 1145)
- terminal_attachment (216, 727))
- (object AssociationViewNew "$UNNAMED$219" @889
- location (1382, 1425)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$220" @890
- Parent_View @889
- location (1190, 225)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @889
- supplier @864
- vertices (list Points
- (1382, 1425)
- (2147, 1425)
- (2147, 943)
- (2067, 943))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (2067, 943))
- (object RoleView "incorporatedSchema" @891
- Parent_View @889
- location (1190, 225)
- label (object SegLabel @892
- Parent_View @891
- location (445, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.706546
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @889
- supplier @887
- vertices (list Points
- (1382, 1425)
- (225, 1425)
- (225, 1255))
- line_style 3
- origin_attachment (1382, 1425)
- terminal_attachment (225, 1255)
- label (object SegLabel @893
- Parent_View @891
- location (183, 1392)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.896915
- height 43
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$217" @894
- location (1505, 1503)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$218" @895
- Parent_View @894
- location (1313, 303)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @894
- supplier @868
- vertices (list Points
- (1505, 1503)
- (2188, 1503)
- (2188, 675)
- (2059, 675))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (2059, 675))
- (object RoleView "resolvedSchema" @896
- Parent_View @894
- location (1313, 303)
- label (object SegLabel @897
- Parent_View @896
- location (303, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.733333
- height 32
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @894
- supplier @887
- vertices (list Points
- (1505, 1503)
- (113, 1503)
- (113, 1255))
- line_style 3
- origin_attachment (1505, 1503)
- terminal_attachment (113, 1255)
- label (object SegLabel @898
- Parent_View @896
- location (73, 1472)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.867683
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$109" @899
- location (66, 244)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C310356"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$110" @900
- Parent_View @899
- location (-94, -444)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C330331"
- client @899
- supplier @872
- vertices (list Points
- (66, 244)
- (66, 144)
- (866, 144))
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (866, 144))
- (object RoleView "schema" @901
- Parent_View @899
- location (-94, -444)
- label (object SegLabel @902
- Parent_View @901
- location (165, 93)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist -0.168113
- height 99
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B751C33033B"
- client @899
- supplier @887
- line_style 3
- origin_attachment (66, 244)
- terminal_attachment (66, 1145)
- label (object SegLabel @903
- Parent_View @901
- location (136, 184)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 113
- justify 0
- label "0..1"
- pctDist -0.066593
- height 70
- orientation 0))))
- (object InheritView "" @904
- stereotype TRUE
- line_color 3342489
- quidu "3B780BD90059"
- client @858
- supplier @872
- line_style 3
- origin_attachment (1759, 361)
- terminal_attachment (1759, 289)
- drawSupplier @873)
- (object InheritView "" @905
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @840
- supplier @832
- line_style 3
- origin_attachment (400, 1141)
- terminal_attachment (400, 561)
- drawSupplier @856)
- (object InheritTreeView "" @906
- location (1012, 837)
- line_color 3342489
- fill_color 13434879
- supplier @834
- vertices (list Points
- (1012, 837)
- (1012, 727)))
- (object InheritView "" @907
- stereotype (object SegLabel @908
- Parent_View @907
- location (1071, 871)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.888158
- height 34
- orientation 1)
- line_color 3342489
- quidu "3B7FD4E20366"
- client @840
- supplier @834
- line_style 3
- origin_attachment (1037, 1141)
- terminal_attachment (1037, 837)
- drawSupplier @906)
- (object InheritView "" @909
- stereotype (object SegLabel @910
- Parent_View @909
- location (890, 865)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 263
- justify 0
- label "<<mixin>>"
- pctDist 0.581633
- height 36
- orientation 0)
- line_color 3342489
- quidu "3B7FD4BA023C"
- client @859
- supplier @834
- line_style 3
- origin_attachment (925, 905)
- terminal_attachment (925, 837)
- drawSupplier @906)
- (object InheritView "" @911
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @864
- supplier @868
- line_style 3
- origin_attachment (1828, 889)
- terminal_attachment (1828, 819)
- drawSupplier @869)))
- (object ClassDiagram "7. Concrete Attributes"
- quid "3B9F8F7602C7"
- title "7. Concrete Attributes"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @912
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2144, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @912
- location (1938, 1359)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @912
- location (1938, 1419)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 412
- compartmentItems (list Compartment
- "+ form : XSDForm"
- "+ lexicalValue : String"))
- width 430
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDForm" @913
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2560, 1424)
- label (object ItemLabel
- Parent_View @913
- location (2398, 1365)
- fill_color 13434879
- nlines 1
- max_width 324
- justify 0
- label "XSDForm")
- stereotype (object ItemLabel
- Parent_View @913
- location (2398, 1315)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 324
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B9F913B01EB"
- width 342
- height 242
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @914
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (368, 96)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @914
- location (40, 37)
- fill_color 13434879
- nlines 1
- max_width 657
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- compartment (object Compartment
- Parent_View @914
- location (40, 97)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 482
- compartmentItems (list Compartment
- "+ element : DOMElement"))
- width 675
- height 143
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDComponent" @915
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @915
- location (687, 333)
- fill_color 13434879
- nlines 1
- max_width 322
- justify 0
- label "XSDComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846E90029"
- width 340
- height 126
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @916
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 944)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @916
- location (1678, 892)
- fill_color 13434879
- nlines 1
- max_width 452
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- width 470
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @917
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1600, 1408)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @917
- location (1328, 1356)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDScope" @918
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (864, 624)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @918
- location (745, 573)
- fill_color 13434879
- nlines 1
- max_width 238
- justify 0
- label "XSDScope")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B54000F2"
- width 256
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @919
- location (850, 537)
- line_color 3342489
- fill_color 13434879
- supplier @915
- vertices (list Points
- (850, 537)
- (850, 447)))
- (object ClassView "Class" "Logical View::xsd::DOMElement" @920
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1248, 128)
- label (object ItemLabel
- Parent_View @920
- location (873, 90)
- fill_color 13434879
- nlines 1
- max_width 751
- justify 0
- label "DOMElement")
- stereotype (object ItemLabel
- Parent_View @920
- location (873, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 751
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3B8189790200"
- width 769
- height 200
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @921
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 640)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @921
- location (41, 584)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 512
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @922
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @922
- location (38, 333)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 422
- height 126
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @923
- location (368, 263)
- line_color 3342489
- fill_color 13434879
- supplier @914
- vertices (list Points
- (368, 263)
- (368, 167)))
- (object ClassView "Class" "Logical View::xsd::XSDDisallowedSubstitutions" @924
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (992, 1456)
- label (object ItemLabel
- Parent_View @924
- location (723, 1347)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDDisallowedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @924
- location (723, 1297)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 538
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5A403DF"
- compartment (object Compartment
- Parent_View @924
- location (723, 1407)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 4
- max_width 264
- compartmentItems (list Compartment
- "+ substitution"
- "+ extension"
- "+ restriction"
- "+ all"))
- width 556
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDProhibitedSubstitutions" @925
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (880, 1792)
- label (object ItemLabel
- Parent_View @925
- location (614, 1708)
- fill_color 13434879
- nlines 1
- max_width 532
- justify 0
- label "XSDProhibitedSubstitutions")
- stereotype (object ItemLabel
- Parent_View @925
- location (614, 1658)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 532
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C5BE0272"
- compartment (object Compartment
- Parent_View @925
- location (614, 1768)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 234
- compartmentItems (list Compartment
- "+ extension"
- "+ restriction"
- "+ all"))
- width 550
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @926
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (912, 2096)
- label (object ItemLabel
- Parent_View @926
- location (532, 2040)
- fill_color 13434879
- nlines 1
- max_width 760
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @926
- location (532, 2100)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 764
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDSimpleFinal"))
- width 778
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleFinal" @927
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @927
- location (45, 1875)
- fill_color 13434879
- nlines 1
- max_width 326
- justify 0
- label "XSDSimpleFinal")
- stereotype (object ItemLabel
- Parent_View @927
- location (45, 1825)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 326
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C25D0295"
- width 344
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexFinal" @928
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2544, 2016)
- label (object ItemLabel
- Parent_View @928
- location (2362, 1932)
- fill_color 13434879
- nlines 1
- max_width 364
- justify 0
- label "XSDComplexFinal")
- stereotype (object ItemLabel
- Parent_View @928
- location (2362, 1882)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 364
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3B97C2CA01CB"
- width 382
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @929
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (352, 1360)
- label (object ItemLabel
- Parent_View @929
- location (41, 1279)
- fill_color 13434879
- nlines 1
- max_width 622
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- compartment (object Compartment
- Parent_View @929
- location (41, 1339)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 2
- max_width 630
- compartmentItems (list Compartment
- "+ use : XSDAttributeUseCategory"
- "+ lexicalValue : String"))
- width 640
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUseCategory" @930
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 1632)
- label (object ItemLabel
- Parent_View @930
- location (41, 1548)
- fill_color 13434879
- nlines 1
- max_width 494
- justify 0
- label "XSDAttributeUseCategory")
- stereotype (object ItemLabel
- Parent_View @930
- location (41, 1498)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 494
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BA7B0E801A8"
- width 512
- height 292
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @931
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2608, 928)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @931
- location (2498, 881)
- fill_color 13434879
- nlines 1
- max_width 220
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 238
- height 119
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @932
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2240, 1712)
- label (object ItemLabel
- Parent_View @932
- location (1757, 1631)
- fill_color 13434879
- nlines 1
- max_width 966
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @932
- location (1757, 1691)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 973
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDProhibitedSubstitutions"
- "<<0..*>> + block : XSDDisallowedSubstitutions"))
- width 984
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @933
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 1152)
- label (object ItemLabel
- Parent_View @933
- location (1828, 1096)
- fill_color 13434879
- nlines 1
- max_width 888
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- compartment (object Compartment
- Parent_View @933
- location (1828, 1156)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 888
- compartmentItems (list Compartment
- "<<0..*>> + lexicalNamespaceConstraint : String"))
- width 906
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @934
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1120, 1008)
- label (object ItemLabel
- Parent_View @934
- location (622, 777)
- fill_color 13434879
- nlines 1
- max_width 996
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 1014
- height 486
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDImport" @935
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 960)
- label (object ItemLabel
- Parent_View @935
- location (37, 904)
- fill_color 13434879
- nlines 1
- max_width 406
- justify 0
- label "XSDImport")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C93017F"
- width 424
- height 136
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @936
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1344, 656)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @936
- location (1138, 600)
- fill_color 13434879
- nlines 1
- max_width 412
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @936
- location (1138, 660)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 414
- compartmentItems (list Compartment
- "+ lexicalValue : String"))
- width 430
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @937
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @937
- location (1410, 1942)
- fill_color 13434879
- nlines 1
- max_width 860
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- compartment (object Compartment
- Parent_View @937
- location (1410, 2002)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 3
- max_width 870
- compartmentItems (list Compartment
- "<<0..*>> + lexicalFinal : XSDComplexFinal"
- "<<0..*>> + block : XSDProhibitedSubstitutions"
- "+ mixed : boolean"))
- width 878
- height 236
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @938
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1488, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @938
- location (1304, 1644)
- fill_color 13434879
- nlines 1
- max_width 368
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 386
- height 128
- annotation 8
- autoResize TRUE)
- (object InheritView "" @939
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @938
- supplier @917
- line_style 3
- origin_attachment (1506, 1632)
- terminal_attachment (1506, 1472))
- (object ClassView "Class" "Logical View::xsd::XSDAnnotation" @940
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2208, 704)
- label (object ItemLabel
- Parent_View @940
- location (1758, 598)
- fill_color 13434879
- nlines 1
- max_width 900
- justify 0
- label "XSDAnnotation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDC80233"
- width 918
- height 236
- annotation 8
- autoResize TRUE)
- (object InheritView "" @941
- stereotype TRUE
- line_color 3342489
- quidu "3B6848AA01D3"
- client @931
- supplier @915
- line_style 3
- origin_attachment (2696, 869)
- terminal_attachment (2696, 537)
- drawSupplier @919)
- (object InheritView "" @942
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @932
- supplier @912
- line_style 3
- origin_attachment (2094, 1619)
- terminal_attachment (2094, 1533))
- (object InheritTreeView "" @943
- location (1487, 1856)
- line_color 3342489
- fill_color 13434879
- supplier @938
- vertices (list Points
- (1487, 1856)
- (1487, 1760)))
- (object ClassView "Class" "Logical View::xsd::DOMAttr" @944
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2400, 384)
- label (object ItemLabel
- Parent_View @944
- location (2080, 350)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "DOMAttr")
- stereotype (object ItemLabel
- Parent_View @944
- location (2080, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 640
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BBF8C8901B6"
- width 658
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @945
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @937
- supplier @938
- line_style 3
- origin_attachment (1734, 1930)
- terminal_attachment (1734, 1856)
- drawSupplier @943)
- (object InheritView "" @946
- stereotype TRUE
- line_color 3342489
- quidu "3B6D25680259"
- client @936
- supplier @915
- line_style 3
- origin_attachment (1328, 588)
- terminal_attachment (1328, 537)
- drawSupplier @919)
- (object InheritView "" @947
- stereotype TRUE
- line_color 3342489
- quidu "3B69E1770116"
- client @940
- supplier @915
- line_style 3
- origin_attachment (2190, 586)
- terminal_attachment (2190, 537)
- drawSupplier @919)
- (object InheritView "" @948
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @921
- supplier @922
- line_style 3
- origin_attachment (222, 572)
- terminal_attachment (222, 447))
- (object InheritView "" @949
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8E60372"
- client @922
- supplier @914
- line_style 3
- origin_attachment (260, 321)
- terminal_attachment (260, 263)
- drawSupplier @923)
- (object InheritView "" @950
- stereotype TRUE
- line_color 3342489
- quidu "3B6AD8D9003E"
- client @935
- supplier @921
- line_style 3
- origin_attachment (223, 892)
- terminal_attachment (223, 708))
- (object InheritView "" @951
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @933
- supplier @931
- line_style 3
- origin_attachment (2600, 1084)
- terminal_attachment (2600, 987))
- (object ClassView "Class" "Logical View::xsd::DOMDocument" @952
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2336, 128)
- label (object ItemLabel
- Parent_View @952
- location (1957, 94)
- fill_color 13434879
- nlines 1
- max_width 758
- justify 0
- label "DOMDocument")
- stereotype (object ItemLabel
- Parent_View @952
- location (1957, 44)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 758
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3C27850E0381"
- width 776
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @953
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA903D2"
- client @915
- supplier @914
- line_style 3
- origin_attachment (856, 321)
- terminal_attachment (856, 263)
- drawSupplier @923)
- (object ClassView "Class" "Logical View::xsd::DOMNode" @954
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1568, 384)
- label (object ItemLabel
- Parent_View @954
- location (1234, 350)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @954
- location (1234, 300)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object InheritView "" @955
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCD640231"
- client @918
- supplier @915
- line_style 3
- origin_attachment (850, 561)
- terminal_attachment (850, 537)
- drawSupplier @919)
- (object InheritView "" @956
- stereotype TRUE
- line_color 3342489
- quidu "3B72D7BB0349"
- client @929
- supplier @915
- line_style 3
- origin_attachment (575, 1267)
- terminal_attachment (575, 537)
- drawSupplier @919)
- (object InheritView "" @957
- stereotype TRUE
- line_color 3342489
- quidu "3BA0CEA20197"
- client @916
- supplier @915
- line_style 3
- origin_attachment (1694, 880)
- terminal_attachment (1694, 537)
- drawSupplier @919)
- (object InheritView "" @958
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCC4A0182"
- client @934
- supplier @918
- line_style 3
- origin_attachment (856, 765)
- terminal_attachment (856, 687))
- (object InheritTreeView "" @959
- location (1703, 1290)
- line_color 3342489
- fill_color 13434879
- supplier @916
- vertices (list Points
- (1703, 1290)
- (1703, 1008)))
- (object InheritView "" @960
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @917
- supplier @916
- line_style 3
- origin_attachment (1503, 1344)
- terminal_attachment (1503, 1290)
- drawSupplier @959)
- (object InheritView "" @961
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @912
- supplier @916
- line_style 3
- origin_attachment (2093, 1347)
- terminal_attachment (2093, 1290)
- drawSupplier @959)
- (object InheritView "" @962
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @926
- supplier @938
- line_style 3
- origin_attachment (1253, 2028)
- terminal_attachment (1253, 1856)
- drawSupplier @943)))
- (object ClassDiagram "8. Concrete Containment"
- quid "3B6A8097027A"
- title "8. Concrete Containment"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDNotationDeclaration" @963
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2672, 992)
- label (object ItemLabel
- Parent_View @963
- location (2439, 949)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDNotationDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66EDAA021C"
- width 484
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @964
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2640, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @964
- location (2431, 533)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 436
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefine" @965
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 784)
- label (object ItemLabel
- Parent_View @965
- location (2013, 741)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDRedefine")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B688C9B02AD"
- width 280
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDRedefineContent" @966
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2064, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @966
- location (1854, 533)
- fill_color 13434879
- nlines 1
- max_width 420
- justify 0
- label "XSDRedefineContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AE2060172"
- width 438
- height 110
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @967
- location (1943, 868)
- line_color 3342489
- fill_color 13434879
- supplier @966
- vertices (list Points
- (1943, 868)
- (1943, 631)))
- (object AssociationViewNew "$UNNAMED$165" @968
- location (2125, 680)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE8240051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$166" @969
- Parent_View @968
- location (157, 344)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602AD"
- client @968
- supplier @965
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 729))
- (object RoleView "contents" @970
- Parent_View @968
- location (157, 344)
- label (object SegLabel @971
- Parent_View @970
- location (2255, 671)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.175439
- height 130
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE82602B7"
- client @968
- supplier @966
- line_style 3
- origin_attachment (2125, 680)
- terminal_attachment (2125, 631)
- label (object SegLabel @972
- Parent_View @970
- location (2067, 671)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.175439
- height 59
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDTerm" @973
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @973
- location (148, 277)
- fill_color 13434879
- nlines 1
- max_width 216
- justify 0
- label "XSDTerm")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683C5E0174"
- width 234
- height 110
- annotation 8)
- (object InheritTreeView "" @974
- location (272, 465)
- line_color 3342489
- fill_color 13434879
- supplier @973
- vertices (list Points
- (272, 465)
- (272, 375)))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @975
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1168)
- label (object ItemLabel
- Parent_View @975
- location (2372, 1121)
- fill_color 13434879
- nlines 1
- max_width 569
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 587
- height 118
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroup" @976
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (256, 576)
- label (object ItemLabel
- Parent_View @976
- location (89, 533)
- fill_color 13434879
- nlines 1
- max_width 334
- justify 0
- label "XSDModelGroup")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6834E00291"
- width 352
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$153" @977
- location (1170, 1356)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AC025A"
- roleview_list (list RoleViews
- (object RoleView "modelGroup" @978
- Parent_View @977
- location (866, -20)
- label (object SegLabel @979
- Parent_View @978
- location (269, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+modelGroup"
- pctDist 0.534044
- height 33
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0339"
- client @977
- supplier @976
- vertices (list Points
- (1170, 1356)
- (206, 1356)
- (206, 631))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (206, 631)
- label (object SegLabel @980
- Parent_View @978
- location (226, 1322)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.559146
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$154" @981
- Parent_View @977
- location (866, -20)
- label (object SegLabel @982
- Parent_View @981
- location (2521, 1398)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6837AD0338"
- client @977
- supplier @975
- vertices (list Points
- (1170, 1356)
- (2731, 1356)
- (2731, 1227))
- line_style 3
- origin_attachment (1170, 1356)
- terminal_attachment (2731, 1227))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @983
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (160, 1696)
- label (object ItemLabel
- Parent_View @983
- location (35, 1653)
- fill_color 13434879
- nlines 1
- max_width 250
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 268
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$147" @984
- location (122, 1136)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB102F8"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$148" @985
- Parent_View @984
- location (-630, -256)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB6001B"
- client @984
- supplier @976
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 631))
- (object RoleView "contents" @986
- Parent_View @984
- location (-630, -256)
- label (object SegLabel @987
- Parent_View @986
- location (223, 1515)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.750495
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6BCEB60025"
- client @984
- supplier @983
- line_style 3
- origin_attachment (122, 1136)
- terminal_attachment (122, 1641)
- label (object SegLabel @988
- Parent_View @986
- location (180, 1581)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.881188
- height 58
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDParticleContent" @989
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (288, 80)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @989
- location (41, 42)
- fill_color 13434879
- nlines 1
- max_width 495
- justify 0
- label "XSDParticleContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6BD22300C6"
- width 513
- height 100
- annotation 8)
- (object AssociationViewNew "$UNNAMED$159" @990
- location (47, 885)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B47150119"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$160" @991
- Parent_View @990
- location (-289, 821)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03AB"
- client @990
- supplier @983
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 1641))
- (object RoleView "content" @992
- Parent_View @990
- location (-289, 821)
- label (object SegLabel @993
- Parent_View @992
- location (142, 189)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.921854
- height 95
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B471A03B5"
- client @990
- supplier @989
- line_style 3
- origin_attachment (47, 885)
- terminal_attachment (47, 130)
- label (object SegLabel @994
- Parent_View @992
- location (28, 192)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.917881
- height 19
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeUse" @995
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1424, 896)
- label (object ItemLabel
- Parent_View @995
- location (1252, 849)
- fill_color 13434879
- nlines 1
- max_width 345
- justify 0
- label "XSDAttributeUse")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B68354601A8"
- width 363
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @996
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1408, 1168)
- label (object ItemLabel
- Parent_View @996
- location (1175, 1125)
- fill_color 13434879
- nlines 1
- max_width 466
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 484
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$89" @997
- location (1319, 1034)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DE9018A"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$90" @998
- Parent_View @997
- location (-57, -102)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA036C"
- client @997
- supplier @995
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 955))
- (object RoleView "content" @999
- Parent_View @997
- location (-57, -102)
- label (object SegLabel @1000
- Parent_View @999
- location (1439, 1039)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.073171
- height 120
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6F1DEA0380"
- client @997
- supplier @996
- line_style 3
- origin_attachment (1319, 1034)
- terminal_attachment (1319, 1113)
- label (object SegLabel @1001
- Parent_View @999
- location (1279, 1031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.040816
- height 41
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDConstrainingFacet" @1002
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2080, 1696)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1002
- location (1855, 1653)
- fill_color 13434879
- nlines 1
- max_width 450
- justify 0
- label "XSDConstrainingFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C6B340093"
- width 468
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1003
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1696)
- label (object ItemLabel
- Parent_View @1003
- location (1035, 1653)
- fill_color 13434879
- nlines 1
- max_width 490
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 508
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$185" @1004
- location (1351, 1840)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA50112"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$186" @1005
- Parent_View @1004
- location (-297, 224)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703B4"
- client @1004
- supplier @1003
- vertices (list Points
- (1351, 1840)
- (1294, 1840)
- (1294, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1294, 1751))
- (object RoleView "contents" @1006
- Parent_View @1004
- location (-297, 224)
- label (object SegLabel @1007
- Parent_View @1006
- location (1517, 1806)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.632653
- height 108
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D5CA703C8"
- client @1004
- supplier @1003
- vertices (list Points
- (1351, 1840)
- (1409, 1840)
- (1409, 1751))
- line_style 3
- origin_attachment (1351, 1840)
- terminal_attachment (1409, 1751)
- label (object SegLabel @1008
- Parent_View @1006
- location (1361, 1801)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.072848
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$69" @1009
- location (1190, 1432)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6006F"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1010
- Parent_View @1009
- location (774, -1832)
- label (object SegLabel @1011
- Parent_View @1010
- location (1462, 1525)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.444976
- height 272
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D60318"
- client @1009
- supplier @1003
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1641)
- label (object SegLabel @1012
- Parent_View @1010
- location (1143, 1527)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.454545
- height 47
- orientation 1))
- (object RoleView "$UNNAMED$70" @1013
- Parent_View @1009
- location (774, -1832)
- label (object SegLabel @1014
- Parent_View @1013
- location (1149, 1266)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6890D6030E"
- client @1009
- supplier @996
- line_style 3
- origin_attachment (1190, 1432)
- terminal_attachment (1190, 1223))))
- (object AssociationViewNew "$UNNAMED$187" @1015
- location (1690, 1684)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AD0374"
- roleview_list (list RoleViews
- (object RoleView "facetContents" @1016
- Parent_View @1015
- location (-326, -12)
- label (object SegLabel @1017
- Parent_View @1016
- location (1695, 1731)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+facetContents"
- pctDist 0.032051
- height 47
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0010"
- client @1015
- supplier @1002
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1846, 1684)
- label (object SegLabel @1018
- Parent_View @1016
- location (1756, 1644)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 94
- justify 0
- label "0..*"
- pctDist 0.420732
- height 41
- orientation 0))
- (object RoleView "$UNNAMED$188" @1019
- Parent_View @1015
- location (-326, -12)
- label (object SegLabel @1020
- Parent_View @1019
- location (1566, 1643)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6C35AF0006"
- client @1015
- supplier @1003
- line_style 3
- origin_attachment (1690, 1684)
- terminal_attachment (1534, 1684))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1021
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2624, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1021
- location (2388, 741)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaContent" @1022
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 320)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1022
- location (1108, 277)
- fill_color 13434879
- nlines 1
- max_width 408
- justify 0
- label "XSDSchemaContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B688CB800BA"
- width 426
- height 110
- annotation 8)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1023
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (688, 320)
- label (object ItemLabel
- Parent_View @1023
- location (557, 277)
- fill_color 13434879
- nlines 1
- max_width 262
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 280
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$167" @1024
- location (963, 319)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6B003D"
- roleview_list (list RoleViews
- (object RoleView "contents" @1025
- Parent_View @1024
- location (595, -17)
- label (object SegLabel @1026
- Parent_View @1025
- location (974, 361)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.081081
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0111"
- client @1024
- supplier @1022
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (1099, 319)
- label (object SegLabel @1027
- Parent_View @1025
- location (1016, 290)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.396396
- height 30
- orientation 0))
- (object RoleView "$UNNAMED$168" @1028
- Parent_View @1024
- location (595, -17)
- label (object SegLabel @1029
- Parent_View @1028
- location (855, 361)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B688E6C0107"
- client @1024
- supplier @1023
- line_style 3
- origin_attachment (963, 319)
- terminal_attachment (828, 319))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1030
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2160, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1030
- location (1974, 949)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 390
- height 110
- annotation 8)
- (object InheritTreeView "" @1031
- location (2322, 1593)
- line_color 3342489
- fill_color 13434879
- supplier @1030
- vertices (list Points
- (2322, 1593)
- (2322, 1047)))
- (object InheritView "" @1032
- stereotype (object SegLabel @1033
- Parent_View @1032
- location (2146, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.460000
- height 5
- orientation 0)
- line_color 3342489
- quidu "3B6AE2F5013A"
- client @1030
- supplier @966
- line_style 3
- origin_attachment (2150, 937)
- terminal_attachment (2150, 868)
- drawSupplier @967)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1034
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (832, 576)
- label (object ItemLabel
- Parent_View @1034
- location (510, 532)
- fill_color 13434879
- nlines 1
- max_width 644
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 662
- height 112
- annotation 8)
- (object AssociationViewNew "$UNNAMED$113" @1035
- location (1498, 1431)
- stereotype TRUE
- line_color 3342489
- quidu "3B68911401AF"
- roleview_list (list RoleViews
- (object RoleView "anonymousTypeDefinition" @1036
- Parent_View @1035
- location (1038, -1810)
- label (object SegLabel @1037
- Parent_View @1036
- location (2027, 1472)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+anonymousTypeDefinition"
- pctDist 0.454389
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150017"
- client @1035
- supplier @1030
- vertices (list Points
- (1498, 1431)
- (2281, 1431)
- (2281, 1047))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (2281, 1047)
- label (object SegLabel @1038
- Parent_View @1036
- location (2204, 1397)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.605419
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$114" @1039
- Parent_View @1035
- location (1038, -1810)
- label (object SegLabel @1040
- Parent_View @1039
- location (1090, 866)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6891150016"
- client @1035
- supplier @1034
- vertices (list Points
- (1498, 1431)
- (1131, 1431)
- (1131, 632))
- line_style 3
- origin_attachment (1498, 1431)
- terminal_attachment (1131, 632))))
- (object ClassView "Class" "Logical View::xsd::XSDXPathDefinition" @1041
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (848, 1168)
- label (object ItemLabel
- Parent_View @1041
- location (655, 1125)
- fill_color 13434879
- nlines 1
- max_width 386
- justify 0
- label "XSDXPathDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6D83BB0355"
- width 404
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDIdentityConstraintDefinition" @1042
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 896)
- label (object ItemLabel
- Parent_View @1042
- location (505, 853)
- fill_color 13434879
- nlines 1
- max_width 590
- justify 0
- label "XSDIdentityConstraintDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B2603A2"
- width 608
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$117" @1043
- location (534, 736)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833EF0160"
- roleview_list (list RoleViews
- (object RoleView "identityConstraintDefinitions" @1044
- Parent_View @1043
- location (86, -2144)
- label (object SegLabel @1045
- Parent_View @1044
- location (820, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 550
- justify 0
- label "+identityConstraintDefinitions"
- pctDist 0.111111
- height 286
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00299"
- client @1043
- supplier @1042
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 841)
- label (object SegLabel @1046
- Parent_View @1044
- location (595, 807)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.675926
- height 61
- orientation 0))
- (object RoleView "$UNNAMED$118" @1047
- Parent_View @1043
- location (86, -2144)
- label (object SegLabel @1048
- Parent_View @1047
- location (576, 653)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6833F00298"
- client @1043
- supplier @1034
- line_style 3
- origin_attachment (534, 736)
- terminal_attachment (534, 632))))
- (object AssociationViewNew "$UNNAMED$137" @1049
- location (900, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3D003E"
- roleview_list (list RoleViews
- (object RoleView "selector" @1050
- Parent_View @1049
- location (84, 120)
- label (object SegLabel @1051
- Parent_View @1050
- location (1013, 1042)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+selector"
- pctDist 0.123288
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E0234"
- client @1049
- supplier @1041
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 1113)
- label (object SegLabel @1052
- Parent_View @1050
- location (859, 1040)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.095890
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$138" @1053
- Parent_View @1049
- location (84, 120)
- label (object SegLabel @1054
- Parent_View @1053
- location (859, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D3E022A"
- client @1049
- supplier @1042
- line_style 3
- origin_attachment (900, 1032)
- terminal_attachment (900, 951))))
- (object AssociationViewNew "$UNNAMED$139" @1055
- location (700, 1032)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330025"
- roleview_list (list RoleViews
- (object RoleView "fields" @1056
- Parent_View @1055
- location (-116, 120)
- label (object SegLabel @1057
- Parent_View @1056
- location (616, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 120
- justify 0
- label "+fields"
- pctDist 0.054795
- height 85
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330379"
- client @1055
- supplier @1041
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 1113)
- label (object SegLabel @1058
- Parent_View @1056
- location (771, 1042)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..*"
- pctDist 0.123077
- height 71
- orientation 0))
- (object RoleView "$UNNAMED$140" @1059
- Parent_View @1055
- location (-116, 120)
- label (object SegLabel @1060
- Parent_View @1059
- location (659, 968)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6D8D330365"
- client @1055
- supplier @1042
- line_style 3
- origin_attachment (700, 1032)
- terminal_attachment (700, 951))))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeContent" @1061
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (752, 1440)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1061
- location (500, 1397)
- fill_color 13434879
- nlines 1
- max_width 504
- justify 0
- label "XSDComplexTypeContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B683BA00196"
- width 522
- height 110
- annotation 8)
- (object InheritTreeView "" @1062
- location (550, 1590)
- line_color 3342489
- fill_color 13434879
- supplier @1061
- vertices (list Points
- (550, 1590)
- (550, 1495)))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupContent" @1063
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1504, 576)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1063
- location (1240, 533)
- fill_color 13434879
- nlines 1
- max_width 528
- justify 0
- label "XSDAttributeGroupContent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6940200089"
- width 546
- height 110
- annotation 8)
- (object InheritTreeView "" @1064
- location (1406, 765)
- line_color 3342489
- fill_color 13434879
- supplier @1063
- vertices (list Points
- (1406, 765)
- (1406, 631)))
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1065
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2656, 1696)
- label (object ItemLabel
- Parent_View @1065
- location (2393, 1653)
- fill_color 13434879
- nlines 1
- max_width 526
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 544
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$95" @1066
- location (1614, 1868)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDD70113"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$96" @1067
- Parent_View @1066
- location (526, 476)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA026B"
- client @1066
- supplier @1065
- vertices (list Points
- (1614, 1868)
- (2500, 1868)
- (2500, 1751))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (2500, 1751))
- (object RoleView "content" @1068
- Parent_View @1066
- location (526, 476)
- label (object SegLabel @1069
- Parent_View @1068
- location (896, 1787)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+content"
- pctDist 0.709870
- height 89
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6FDDDA0275"
- client @1066
- supplier @1061
- vertices (list Points
- (1614, 1868)
- (984, 1868)
- (984, 1495))
- line_style 3
- origin_attachment (1614, 1868)
- terminal_attachment (984, 1495)
- label (object SegLabel @1070
- Parent_View @1068
- location (1042, 1824)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 72
- justify 0
- label "0..1"
- pctDist 0.571286
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$101" @1071
- location (2927, 387)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E360386"
- roleview_list (list RoleViews
- (object RoleView "attributeContents" @1072
- Parent_View @1071
- location (2463, -3757)
- label (object SegLabel @1073
- Parent_View @1072
- location (1915, 357)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+attributeContents"
- pctDist 0.773060
- height 31
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E38007C"
- client @1071
- supplier @1063
- vertices (list Points
- (2927, 387)
- (1750, 387)
- (1750, 521))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (1750, 521)
- label (object SegLabel @1074
- Parent_View @1072
- location (1804, 425)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.857247
- height 38
- orientation 0))
- (object RoleView "$UNNAMED$102" @1075
- Parent_View @1071
- location (2463, -3757)
- label (object SegLabel @1076
- Parent_View @1075
- location (2946, 1448)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B698E380072"
- client @1071
- supplier @1065
- vertices (list Points
- (2927, 387)
- (2987, 387)
- (2987, 1671)
- (2928, 1671))
- line_style 3
- origin_attachment (2927, 387)
- terminal_attachment (2928, 1671))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1077
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1968, 1168)
- label (object ItemLabel
- Parent_View @1077
- location (1699, 1125)
- fill_color 13434879
- nlines 1
- max_width 538
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 556
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$77" @1078
- location (1750, 872)
- stereotype TRUE
- line_color 3342489
- quidu "3B69404E0067"
- roleview_list (list RoleViews
- (object RoleView "contents" @1079
- Parent_View @1078
- location (1462, -2392)
- label (object SegLabel @1080
- Parent_View @1079
- location (1640, 691)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+contents"
- pctDist 0.751037
- height 110
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B69405002A5"
- client @1078
- supplier @1063
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 631)
- label (object SegLabel @1081
- Parent_View @1079
- location (1814, 695)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.734440
- height 64
- orientation 1))
- (object RoleView "$UNNAMED$78" @1082
- Parent_View @1078
- location (1462, -2392)
- label (object SegLabel @1083
- Parent_View @1082
- location (1709, 1065)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B694050029B"
- client @1078
- supplier @1077
- line_style 3
- origin_attachment (1750, 872)
- terminal_attachment (1750, 1113))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1084
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (416, 1168)
- label (object ItemLabel
- Parent_View @1084
- location (279, 1125)
- fill_color 13434879
- nlines 1
- max_width 274
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 292
- height 110
- annotation 8)
- (object AssociationViewNew "$UNNAMED$209" @1085
- location (1252, 1896)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC870247"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$210" @1086
- Parent_View @1085
- location (708, 1288)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C02F9"
- client @1085
- supplier @1065
- vertices (list Points
- (1252, 1896)
- (2603, 1896)
- (2603, 1751))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (2603, 1751))
- (object RoleView "attributeWildcardContent" @1087
- Parent_View @1085
- location (708, 1288)
- label (object SegLabel @1088
- Parent_View @1087
- location (682, 1858)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.381142
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3BEBDC8C0303"
- client @1085
- supplier @1084
- vertices (list Points
- (1252, 1896)
- (428, 1896)
- (428, 1223))
- line_style 3
- origin_attachment (1252, 1896)
- terminal_attachment (428, 1223)
- label (object SegLabel @1089
- Parent_View @1087
- location (382, 1860)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.575033
- height 47
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$81" @1090
- location (1199, 1321)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D320220"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$82" @1091
- Parent_View @1090
- location (655, 713)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010C"
- client @1090
- supplier @1077
- vertices (list Points
- (1199, 1321)
- (1897, 1321)
- (1897, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (1897, 1223))
- (object RoleView "attributeWildcardContent" @1092
- Parent_View @1090
- location (655, 713)
- label (object SegLabel @1093
- Parent_View @1092
- location (857, 1279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+attributeWildcardContent"
- pctDist 0.429569
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C275D3C010D"
- client @1090
- supplier @1084
- vertices (list Points
- (1199, 1321)
- (500, 1321)
- (500, 1223))
- line_style 3
- origin_attachment (1199, 1321)
- terminal_attachment (500, 1223)
- label (object SegLabel @1094
- Parent_View @1092
- location (576, 1279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.782305
- height 43
- orientation 1))))
- (object InheritView "" @1095
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1065
- supplier @1030
- line_style 3
- origin_attachment (2606, 1641)
- terminal_attachment (2606, 1593)
- drawSupplier @1031)
- (object InheritView "" @1096
- stereotype (object SegLabel @1097
- Parent_View @1096
- location (759, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 243
- justify 0
- label "<<mixin>>"
- pctDist 0.446429
- height 6
- orientation 1)
- line_color 3342489
- quidu "3B685F17002E"
- client @1034
- supplier @973
- line_style 3
- origin_attachment (753, 520)
- terminal_attachment (753, 465)
- drawSupplier @974)
- (object InheritView "" @1098
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1003
- supplier @1030
- line_style 3
- origin_attachment (1409, 1641)
- terminal_attachment (1409, 1593)
- drawSupplier @1031)
- (object InheritView "" @1099
- stereotype (object SegLabel @1100
- Parent_View @1099
- location (759, 1591)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 219
- justify 0
- label "<<mixin>>"
- pctDist 0.980392
- height 385
- orientation 0)
- line_color 3342489
- quidu "3B685F55032B"
- client @1003
- supplier @1061
- line_style 3
- origin_attachment (1144, 1641)
- terminal_attachment (1144, 1590)
- drawSupplier @1062)
- (object InheritView "" @1101
- stereotype TRUE
- line_color 3342489
- quidu "3B684A640279"
- client @976
- supplier @973
- line_style 3
- origin_attachment (166, 521)
- terminal_attachment (166, 465)
- drawSupplier @974)
- (object InheritTreeView "" @1102
- location (431, 222)
- line_color 3342489
- fill_color 13434879
- supplier @989
- vertices (list Points
- (431, 222)
- (431, 130)))
- (object InheritView "" @1103
- stereotype (object SegLabel @1104
- Parent_View @1103
- location (361, 224)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 237
- justify 0
- label "<<mixin>>"
- pctDist 0.976744
- height 86
- orientation 1)
- line_color 3342489
- quidu "3B6BD2440069"
- client @973
- supplier @989
- line_style 3
- origin_attachment (275, 265)
- terminal_attachment (275, 222)
- drawSupplier @1102)
- (object InheritTreeView "" @1105
- location (1309, 465)
- line_color 3342489
- fill_color 13434879
- supplier @1022
- vertices (list Points
- (1309, 465)
- (1309, 375)))
- (object InheritView "" @1106
- stereotype (object SegLabel @1107
- Parent_View @1106
- location (941, 495)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.464286
- height 10
- orientation 1)
- line_color 3342489
- quidu "3B688E660339"
- client @1034
- supplier @1022
- line_style 3
- origin_attachment (931, 520)
- terminal_attachment (931, 465)
- drawSupplier @1105)
- (object InheritView "" @1108
- stereotype TRUE
- line_color 3342489
- quidu "3B6848FC01E7"
- client @983
- supplier @1061
- line_style 3
- origin_attachment (250, 1641)
- terminal_attachment (250, 1590)
- drawSupplier @1062)
- (object InheritView "" @1109
- stereotype (object SegLabel @1110
- Parent_View @1109
- location (1205, 493)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 212
- justify 0
- label "<<mixin>>"
- pctDist 0.958333
- height 8
- orientation 1)
- line_color 3342489
- quidu "3B688E6103BE"
- client @996
- supplier @1022
- line_style 3
- origin_attachment (1197, 1113)
- terminal_attachment (1197, 465)
- drawSupplier @1105)
- (object InheritView "" @1111
- stereotype (object SegLabel @1112
- Parent_View @1111
- location (1951, 905)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.848980
- height 73
- orientation 1)
- line_color 3342489
- quidu "3B6AE2EB02A8"
- client @1077
- supplier @966
- line_style 3
- origin_attachment (1878, 1113)
- terminal_attachment (1878, 868)
- drawSupplier @967)
- (object InheritView "" @1113
- stereotype (object SegLabel @1114
- Parent_View @1113
- location (1642, 807)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 187
- justify 0
- label "<<mixin>>"
- pctDist 0.879310
- height 61
- orientation 0)
- line_color 3342489
- quidu "3B69403A0221"
- client @1077
- supplier @1063
- line_style 3
- origin_attachment (1703, 1113)
- terminal_attachment (1703, 765)
- drawSupplier @1064)
- (object InheritView "" @1115
- stereotype (object SegLabel @1116
- Parent_View @1115
- location (1354, 801)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 225
- justify 0
- label "<<mixin>>"
- pctDist 0.500000
- height 70
- orientation 1)
- line_color 3342489
- quidu "3B72D737038F"
- client @995
- supplier @1063
- line_style 3
- origin_attachment (1284, 837)
- terminal_attachment (1284, 765)
- drawSupplier @1064)
- (object InheritView "" @1117
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB640240"
- client @965
- supplier @1021
- line_style 3
- origin_attachment (2284, 762)
- terminal_attachment (2379, 762))
- (object InheritView "" @1118
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE32102AF"
- client @964
- supplier @1022
- line_style 3
- origin_attachment (2637, 521)
- terminal_attachment (2637, 465)
- drawSupplier @1105)
- (object InheritView "" @1119
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1021
- supplier @964
- line_style 3
- origin_attachment (2637, 729)
- terminal_attachment (2637, 631))
- (object InheritView "" @1120
- stereotype TRUE
- line_color 3342489
- quidu "3B6AE2B301D5"
- client @966
- supplier @1022
- line_style 3
- origin_attachment (1950, 521)
- terminal_attachment (1950, 465)
- drawSupplier @1105)
- (object InheritView "" @1121
- stereotype (object SegLabel @1122
- Parent_View @1121
- location (2821, 897)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 181
- justify 0
- label "<<mixin>>"
- pctDist 0.087719
- height 76
- orientation 0)
- line_color 3342489
- quidu "3B688E4F023C"
- client @963
- supplier @1022
- line_style 3
- origin_attachment (2896, 937)
- terminal_attachment (2896, 465)
- drawSupplier @1105)
- (object InheritView "" @1123
- stereotype (object SegLabel @1124
- Parent_View @1123
- location (2313, 904)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "<<mixin>>"
- pctDist 0.850622
- height 68
- orientation 0)
- line_color 3342489
- quidu "3B6AE2E20381"
- client @975
- supplier @966
- line_style 3
- origin_attachment (2381, 1109)
- terminal_attachment (2381, 868)
- drawSupplier @967)
- (object InheritView "" @1125
- stereotype (object SegLabel @1126
- Parent_View @1125
- location (2878, 269)
- font (object Font
- size 8)
- anchor 10
- anchor_loc 1
- nlines 1
- max_width 238
- justify 0
- label "<<mixin>>"
- pctDist 0.946667
- height 66
- orientation 0)
- line_color 3342489
- quidu "3B6BD2550385"
- client @975
- supplier @989
- line_style 3
- origin_attachment (2943, 1109)
- terminal_attachment (2943, 222)
- drawSupplier @1102)
- (object InheritView "" @1127
- stereotype TRUE
- line_color 3342489
- quidu "3B684A3A0041"
- client @1084
- supplier @973
- line_style 3
- origin_attachment (462, 1113)
- terminal_attachment (462, 465)
- drawSupplier @974)))
- (object ClassDiagram "9. Concrete Schema Composition"
- quid "3C25EB7A038C"
- title "9. Concrete Schema Composition"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1128
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1536)
- label (object ItemLabel
- Parent_View @1128
- location (73, 1493)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 480
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$119" @1129
- location (228, 1695)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41E60251"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$120" @1130
- Parent_View @1129
- location (-476, -385)
- label (object SegLabel @1131
- Parent_View @1130
- location (217, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA02F7"
- client @1129
- supplier @1128
- vertices (list Points
- (228, 1695)
- (175, 1695)
- (175, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (175, 1591))
- (object RoleView "resolvedElementDeclaration" @1132
- Parent_View @1129
- location (-476, -385)
- label (object SegLabel @1133
- Parent_View @1132
- location (329, 1740)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedElementDeclaration"
- pctDist 1.924528
- height 45
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B41EA030B"
- client @1129
- supplier @1128
- vertices (list Points
- (228, 1695)
- (281, 1695)
- (281, 1591))
- line_style 3
- origin_attachment (228, 1695)
- terminal_attachment (281, 1591)
- label (object SegLabel @1134
- Parent_View @1132
- location (229, 1646)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.005714
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1135
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 1536)
- label (object ItemLabel
- Parent_View @1135
- location (790, 1493)
- fill_color 13434879
- nlines 1
- max_width 500
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- width 518
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$155" @1136
- location (952, 1698)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42450398"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$156" @1137
- Parent_View @1136
- location (-1288, -318)
- label (object SegLabel @1138
- Parent_View @1137
- location (860, 1623)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249038A"
- client @1136
- supplier @1135
- vertices (list Points
- (952, 1698)
- (901, 1698)
- (901, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (901, 1591))
- (object RoleView "resolvedModelGroupDefinition" @1139
- Parent_View @1136
- location (-1288, -318)
- label (object SegLabel @1140
- Parent_View @1139
- location (1020, 1739)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 564
- justify 0
- label "+resolvedModelGroupDefinition"
- pctDist 1.326923
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B4249039E"
- client @1136
- supplier @1135
- vertices (list Points
- (952, 1698)
- (1004, 1698)
- (1004, 1591))
- line_style 3
- origin_attachment (952, 1698)
- terminal_attachment (1004, 1591)
- label (object SegLabel @1141
- Parent_View @1139
- location (952, 1649)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.000000
- height 50
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSchemaCompositor" @1142
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (656, 992)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1142
- location (420, 949)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "XSDSchemaCompositor")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C21DB4102AE"
- width 490
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchemaDirective" @1143
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 784)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1143
- location (412, 737)
- fill_color 13434879
- nlines 1
- max_width 457
- justify 0
- label "XSDSchemaDirective")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD8A202A2"
- width 475
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1144
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (640, 416)
- label (object ItemLabel
- Parent_View @1144
- location (446, 285)
- fill_color 13434879
- nlines 1
- max_width 388
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 406
- height 287
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$219" @1145
- location (1303, 679)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD0C03DB"
- roleview_list (list RoleViews
- (object RoleView "incorporatedSchema" @1146
- Parent_View @1145
- location (-41, -857)
- label (object SegLabel @1147
- Parent_View @1146
- location (1059, 381)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+incorporatedSchema"
- pctDist 0.700384
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100305"
- client @1145
- supplier @1144
- vertices (list Points
- (1303, 679)
- (1303, 419)
- (843, 419))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (843, 419)
- label (object SegLabel @1148
- Parent_View @1146
- location (922, 454)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.890746
- height 35
- orientation 0))
- (object RoleView "$UNNAMED$220" @1149
- Parent_View @1145
- location (-41, -857)
- label (object SegLabel @1150
- Parent_View @1149
- location (1045, 956)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DD100304"
- client @1145
- supplier @1142
- vertices (list Points
- (1303, 679)
- (1303, 997)
- (901, 997))
- line_style 3
- origin_attachment (1303, 679)
- terminal_attachment (901, 997))))
- (object AssociationViewNew "$UNNAMED$217" @1151
- location (1216, 649)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCC700EC"
- roleview_list (list RoleViews
- (object RoleView "resolvedSchema" @1152
- Parent_View @1151
- location (336, -1399)
- label (object SegLabel @1153
- Parent_View @1152
- location (1038, 500)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+resolvedSchema"
- pctDist 0.601923
- height 35
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0043"
- client @1151
- supplier @1144
- vertices (list Points
- (1216, 649)
- (1216, 534)
- (843, 534))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (843, 534)
- label (object SegLabel @1154
- Parent_View @1152
- location (926, 577)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.831643
- height 43
- orientation 0))
- (object RoleView "$UNNAMED$218" @1155
- Parent_View @1151
- location (336, -1399)
- label (object SegLabel @1156
- Parent_View @1155
- location (974, 756)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C21DCCE0042"
- client @1151
- supplier @1143
- vertices (list Points
- (1216, 649)
- (1216, 797)
- (877, 797))
- line_style 3
- origin_attachment (1216, 649)
- terminal_attachment (877, 797))))
- (object AssociationViewNew "$UNNAMED$223" @1157
- location (662, 642)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A60131"
- roleview_list (list RoleViews
- (object RoleView "referencingDirectives" @1158
- Parent_View @1157
- location (-234, 114)
- label (object SegLabel @1159
- Parent_View @1158
- location (878, 675)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+referencingDirectives"
- pctDist 0.408759
- height 216
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90371"
- client @1157
- supplier @1143
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 725)
- label (object SegLabel @1160
- Parent_View @1158
- location (615, 678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.430657
- height 48
- orientation 1))
- (object RoleView "$UNNAMED$224" @1161
- Parent_View @1157
- location (-234, 114)
- label (object SegLabel @1162
- Parent_View @1161
- location (621, 576)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25D3A90370"
- client @1157
- supplier @1144
- line_style 3
- origin_attachment (662, 642)
- terminal_attachment (662, 559))))
- (object AssociationViewNew "$UNNAMED$225" @1163
- location (75, 188)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF0005E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$226" @1164
- Parent_View @1163
- location (-853, -308)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF4001E"
- client @1163
- supplier @1144
- vertices (list Points
- (75, 188)
- (75, 128)
- (510, 128)
- (510, 273))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (510, 273))
- (object RoleView "rootVersion" @1165
- Parent_View @1163
- location (-853, -308)
- label (object SegLabel @1166
- Parent_View @1165
- location (176, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+rootVersion"
- pctDist -0.593750
- height 101
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ECF40028"
- client @1163
- supplier @1144
- vertices (list Points
- (75, 188)
- (75, 380)
- (437, 380))
- line_style 3
- origin_attachment (75, 188)
- terminal_attachment (437, 380)
- label (object SegLabel @1167
- Parent_View @1165
- location (368, 328)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.874755
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$227" @1168
- location (1262, 134)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0B011B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$228" @1169
- Parent_View @1168
- location (334, -362)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F0121"
- client @1168
- supplier @1144
- vertices (list Points
- (1262, 134)
- (766, 134)
- (766, 273))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (766, 273))
- (object RoleView "originalVersion" @1170
- Parent_View @1168
- location (334, -362)
- label (object SegLabel @1171
- Parent_View @1170
- location (1164, 97)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+originalVersion"
- pctDist -1.650000
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25ED0F012B"
- client @1168
- supplier @1144
- vertices (list Points
- (1262, 134)
- (1322, 134)
- (1322, 334)
- (843, 334))
- line_style 3
- origin_attachment (1262, 134)
- terminal_attachment (843, 334)
- label (object SegLabel @1172
- Parent_View @1170
- location (919, 279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898108
- height 56
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$229" @1173
- location (126, 656)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAB001F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$230" @1174
- Parent_View @1173
- location (-834, 160)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF010B"
- client @1173
- supplier @1144
- vertices (list Points
- (126, 656)
- (513, 656)
- (513, 559))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (513, 559))
- (object RoleView "incorporatedVersions" @1175
- Parent_View @1173
- location (-834, 160)
- label (object SegLabel @1176
- Parent_View @1175
- location (217, 431)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+incorporatedVersions"
- pctDist 0.643902
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C25EEAF0115"
- client @1173
- supplier @1144
- vertices (list Points
- (126, 656)
- (66, 656)
- (66, 472)
- (437, 472))
- line_style 3
- origin_attachment (126, 656)
- terminal_attachment (437, 472)
- label (object SegLabel @1177
- Parent_View @1175
- location (356, 526)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.868468
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$233" @1178
- location (642, 126)
- stereotype TRUE
- line_color 3342489
- quidu "3C2784730194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$234" @1179
- Parent_View @1178
- location (82, -418)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501F1"
- client @1178
- supplier @1144
- vertices (list Points
- (642, 126)
- (588, 126)
- (588, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (588, 273))
- (object RoleView "schemaForSchema" @1180
- Parent_View @1178
- location (82, -418)
- label (object SegLabel @1181
- Parent_View @1180
- location (639, 74)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+schemaForSchema"
- pctDist -0.055556
- height 53
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C27847501FB"
- client @1178
- supplier @1144
- vertices (list Points
- (642, 126)
- (697, 126)
- (697, 273))
- line_style 3
- origin_attachment (642, 126)
- terminal_attachment (697, 273)
- label (object SegLabel @1182
- Parent_View @1180
- location (643, 213)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.701863
- height 55
- orientation 1))))
- (object InheritView "" @1183
- stereotype TRUE
- line_color 3342489
- quidu "3C21DB560092"
- client @1142
- supplier @1143
- line_style 3
- origin_attachment (638, 937)
- terminal_attachment (638, 843))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1184
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 1184)
- label (object ItemLabel
- Parent_View @1184
- location (67, 1141)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 492
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$73" @1185
- location (234, 1340)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426B0194"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$74" @1186
- Parent_View @1185
- location (-310, -4)
- label (object SegLabel @1187
- Parent_View @1186
- location (140, 1271)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0309"
- client @1185
- supplier @1184
- vertices (list Points
- (234, 1340)
- (181, 1340)
- (181, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (181, 1239))
- (object RoleView "resolvedAttributeDeclaration" @1188
- Parent_View @1185
- location (-310, -4)
- label (object SegLabel @1189
- Parent_View @1188
- location (333, 1389)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+resolvedAttributeDeclaration"
- pctDist 1.867925
- height 49
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B426D0313"
- client @1185
- supplier @1184
- vertices (list Points
- (234, 1340)
- (287, 1340)
- (287, 1239))
- line_style 3
- origin_attachment (234, 1340)
- terminal_attachment (287, 1239)
- label (object SegLabel @1190
- Parent_View @1188
- location (241, 1295)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.042945
- height 46
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1191
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1760, 144)
- label (object ItemLabel
- Parent_View @1191
- location (1517, 101)
- fill_color 13434879
- nlines 1
- max_width 486
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- width 504
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1192
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 416)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1192
- location (1599, 373)
- fill_color 13434879
- nlines 1
- max_width 226
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C359403D2"
- width 244
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$307" @1193
- location (1668, 280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AE01CC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$308" @1194
- Parent_View @1193
- location (8, -152)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF010F"
- client @1193
- supplier @1191
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 199))
- (object RoleView "syntheticFacets" @1195
- Parent_View @1193
- location (8, -152)
- label (object SegLabel @1196
- Parent_View @1195
- location (1852, 300)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+syntheticFacets"
- pctDist 0.246154
- height 184
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4AF011A"
- client @1193
- supplier @1192
- line_style 3
- origin_attachment (1668, 280)
- terminal_attachment (1668, 361)
- label (object SegLabel @1197
- Parent_View @1195
- location (1625, 301)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.276923
- height 44
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1198
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 944)
- label (object ItemLabel
- Parent_View @1198
- location (1426, 901)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 110
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1199
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1776, 640)
- label (object ItemLabel
- Parent_View @1199
- location (1515, 597)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$309" @1200
- location (1508, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D3028E"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$310" @1201
- Parent_View @1200
- location (-12, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402F3"
- client @1200
- supplier @1199
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 695))
- (object RoleView "syntheticParticle" @1202
- Parent_View @1200
- location (-12, -280)
- label (object SegLabel @1203
- Parent_View @1202
- location (1695, 767)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+syntheticParticle"
- pctDist -0.259259
- height 187
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D402FD"
- client @1200
- supplier @1198
- line_style 3
- origin_attachment (1508, 792)
- terminal_attachment (1508, 889)
- label (object SegLabel @1204
- Parent_View @1202
- location (1454, 829)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.395062
- height 55
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1205
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1024, 1184)
- label (object ItemLabel
- Parent_View @1205
- location (756, 1141)
- fill_color 13434879
- nlines 1
- max_width 536
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 554
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$85" @1206
- location (919, 1349)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B425E01F9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$86" @1207
- Parent_View @1206
- location (-233, -59)
- label (object SegLabel @1208
- Parent_View @1207
- location (825, 1273)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620046"
- client @1206
- supplier @1205
- vertices (list Points
- (919, 1349)
- (866, 1349)
- (866, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (866, 1239))
- (object RoleView "resolvedAttributeGroupDefinition" @1209
- Parent_View @1206
- location (-233, -59)
- label (object SegLabel @1210
- Parent_View @1209
- location (993, 1393)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 600
- justify 0
- label "+resolvedAttributeGroupDefinition"
- pctDist 1.377358
- height 44
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B6B42620050"
- client @1206
- supplier @1205
- vertices (list Points
- (919, 1349)
- (973, 1349)
- (973, 1239))
- line_style 3
- origin_attachment (919, 1349)
- terminal_attachment (973, 1239)
- label (object SegLabel @1211
- Parent_View @1209
- location (919, 1296)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.014925
- height 54
- orientation 0))))
- (object ClassView "Class" "Logical View::xsd::XSDWildcard" @1212
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1952, 944)
- label (object ItemLabel
- Parent_View @1212
- location (1816, 901)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "XSDWildcard")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6838370031"
- width 290
- height 110
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$311" @1213
- location (2025, 792)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4D901F6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$312" @1214
- Parent_View @1213
- location (153, -280)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA0284"
- client @1213
- supplier @1199
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 695))
- (object RoleView "syntheticWildcard" @1215
- Parent_View @1213
- location (153, -280)
- label (object SegLabel @1216
- Parent_View @1215
- location (1826, 838)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.488095
- height 200
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4BB4DA028E"
- client @1213
- supplier @1212
- line_style 3
- origin_attachment (2025, 792)
- terminal_attachment (2025, 889)
- label (object SegLabel @1217
- Parent_View @1215
- location (2098, 840)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.506173
- height 73
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$313" @1218
- location (1754, 1178)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C68FF01BF"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$314" @1219
- Parent_View @1218
- location (-198, 234)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020317"
- client @1218
- supplier @1205
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (1301, 1178))
- (object RoleView "syntheticWildcard" @1220
- Parent_View @1218
- location (-198, 234)
- label (object SegLabel @1221
- Parent_View @1220
- location (1828, 1261)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+syntheticWildcard"
- pctDist 0.163355
- height 83
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3D4C69020318"
- client @1218
- supplier @1212
- vertices (list Points
- (1754, 1178)
- (2028, 1178)
- (2028, 999))
- line_style 3
- origin_attachment (1754, 1178)
- terminal_attachment (2028, 999)
- label (object SegLabel @1222
- Parent_View @1220
- location (2082, 1098)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783664
- height 54
- orientation 1))))))
- (object ClassDiagram "10. Diagnostics"
- quid "3BFE5F0803E2"
- title "10. Diagnostics"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::DOMNode" @1223
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (400, 1024)
- label (object ItemLabel
- Parent_View @1223
- location (66, 990)
- fill_color 13434879
- nlines 1
- max_width 668
- justify 0
- label "DOMNode")
- stereotype (object ItemLabel
- Parent_View @1223
- location (66, 940)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 668
- justify 0
- label "<<datatype>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 14671839
- quidu "3BFE64A50117"
- width 686
- height 192
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnosticSeverity" @1224
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1040, 656)
- label (object ItemLabel
- Parent_View @1224
- location (818, 547)
- fill_color 13434879
- nlines 1
- max_width 444
- justify 0
- label "XSDDiagnosticSeverity")
- stereotype (object ItemLabel
- Parent_View @1224
- location (818, 497)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 444
- justify 0
- label "<<enumeration>>")
- icon_style "Icon"
- line_color 3342489
- fill_color 8432127
- quidu "3BFE68A7032F"
- width 462
- height 342
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @1225
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (192, 112)
- label (object ItemLabel
- Parent_View @1225
- location (59, 60)
- fill_color 13434879
- nlines 1
- max_width 266
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 284
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1226
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (896, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1226
- location (540, 62)
- fill_color 13434879
- nlines 1
- max_width 713
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 731
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1227
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 608)
- label (object ItemLabel
- Parent_View @1227
- location (64, 402)
- fill_color 13434879
- nlines 1
- max_width 640
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 658
- height 436
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$215" @1228
- location (144, 283)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE6431035F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$216" @1229
- Parent_View @1228
- location (-1088, -661)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C6"
- client @1228
- supplier @1225
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 176))
- (object RoleView "allDiagnostics" @1230
- Parent_View @1228
- location (-1088, -661)
- label (object SegLabel @1231
- Parent_View @1230
- location (309, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+allDiagnostics"
- pctDist 0.448598
- height 165
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE643201C7"
- client @1228
- supplier @1227
- line_style 3
- origin_attachment (144, 283)
- terminal_attachment (144, 390)
- label (object SegLabel @1232
- Parent_View @1230
- location (96, 327)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.420561
- height 49
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$211" @1233
- location (1028, 440)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622703CD"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$212" @1234
- Parent_View @1233
- location (-396, -72)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B0061"
- client @1233
- supplier @1227
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (713, 440))
- (object RoleView "components" @1235
- Parent_View @1233
- location (-396, -72)
- label (object SegLabel @1236
- Parent_View @1235
- location (938, 230)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 252
- justify 0
- label "+components"
- pctDist 0.829181
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE622B006C"
- client @1233
- supplier @1226
- vertices (list Points
- (1028, 440)
- (1088, 440)
- (1088, 174))
- line_style 3
- origin_attachment (1028, 440)
- terminal_attachment (1088, 174)
- label (object SegLabel @1237
- Parent_View @1235
- location (1143, 232)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "1..*"
- pctDist 0.823848
- height 55
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$213" @1238
- location (688, 282)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE62690165"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$214" @1239
- Parent_View @1238
- location (160, -278)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0026"
- client @1238
- supplier @1226
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 174))
- (object RoleView "diagnostics" @1240
- Parent_View @1238
- location (160, -278)
- label (object SegLabel @1241
- Parent_View @1240
- location (822, 330)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+diagnostics"
- pctDist 0.452632
- height 134
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3BFE626A0027"
- client @1238
- supplier @1227
- line_style 3
- origin_attachment (688, 282)
- terminal_attachment (688, 390)
- label (object SegLabel @1242
- Parent_View @1240
- location (645, 335)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 70
- justify 0
- label "0..*"
- pctDist 0.494737
- height 44
- orientation 1))))
- (object InheritView "" @1243
- stereotype TRUE
- line_color 3342489
- quidu "3D4C0F4C01A1"
- client @1227
- supplier @1226
- line_style 3
- origin_attachment (575, 390)
- terminal_attachment (575, 174))))
- (object ClassDiagram "11. Supplemental"
- quid "3C287E49019B"
- title "11. Supplemental"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDAttributeGroupDefinition" @1244
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (464, 816)
- label (object ItemLabel
- Parent_View @1244
- location (47, 760)
- fill_color 13434879
- nlines 1
- max_width 834
- justify 0
- label "XSDAttributeGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED840290"
- width 852
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDAttributeDeclaration" @1245
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2112, 880)
- label (object ItemLabel
- Parent_View @1245
- location (1731, 824)
- fill_color 13434879
- nlines 1
- max_width 762
- justify 0
- label "XSDAttributeDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED2E0192"
- width 780
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDConcreteComponent" @1246
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (288, 112)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1246
- location (48, 60)
- fill_color 13434879
- nlines 1
- max_width 480
- justify 0
- label "XSDConcreteComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6AD7B40065"
- width 498
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDDiagnostic" @1247
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2384, 112)
- label (object ItemLabel
- Parent_View @1247
- location (2236, 60)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "XSDDiagnostic")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3BFE5F910046"
- width 314
- height 128
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$237" @1248
- location (1382, 84)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C50137"
- roleview_list (list RoleViews
- (object RoleView "primaryComponent" @1249
- Parent_View @1248
- location (-250, -508)
- label (object SegLabel @1250
- Parent_View @1249
- location (756, 116)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+primaryComponent"
- pctDist 0.740828
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70113"
- client @1248
- supplier @1246
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (537, 84)
- label (object SegLabel @1251
- Parent_View @1249
- location (624, 55)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.897260
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$238" @1252
- Parent_View @1248
- location (-250, -508)
- label (object SegLabel @1253
- Parent_View @1252
- location (2058, 126)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C2882C70112"
- client @1248
- supplier @1247
- line_style 3
- origin_attachment (1382, 84)
- terminal_attachment (2227, 84))))
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @1254
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2160, 688)
- label (object ItemLabel
- Parent_View @1254
- location (1778, 607)
- fill_color 13434879
- nlines 1
- max_width 764
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- compartment (object Compartment
- Parent_View @1254
- location (1778, 667)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 764
- compartmentItems (list Compartment
- "+ elementDeclarationReference : boolean"
- "+ circular : boolean"))
- width 782
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFacet" @1255
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1072)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1255
- location (2100, 991)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6C359403D2"
- compartment (object Compartment
- Parent_View @1255
- location (2100, 1051)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 459
- compartmentItems (list Compartment
- "+ facetName : String"
- "+ effectiveValue : Value"))
- width 458
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDModelGroupDefinition" @1256
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (448, 624)
- label (object ItemLabel
- Parent_View @1256
- location (47, 568)
- fill_color 13434879
- nlines 1
- max_width 802
- justify 0
- label "XSDModelGroupDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED9A0205"
- compartment (object Compartment
- Parent_View @1256
- location (47, 628)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 1
- max_width 805
- compartmentItems (list Compartment
- "+ modelGroupDefinitionReference : boolean"))
- width 820
- height 136
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNamedComponent" @1257
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 288)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1257
- location (1005, 157)
- fill_color 13434879
- nlines 1
- max_width 454
- justify 0
- label "XSDNamedComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B6846D303A4"
- compartment (object Compartment
- Parent_View @1257
- location (1005, 217)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 4
- max_width 392
- compartmentItems (list Compartment
- "+ aliasName : String"
- "+ uRI : String"
- "+ aliasURI : String"
- "+ qName : String"))
- width 472
- height 286
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDRedefinableComponent" @1258
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (320, 352)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1258
- location (48, 296)
- fill_color 13434879
- nlines 1
- max_width 544
- justify 0
- label "XSDRedefinableComponent")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B7FCA8B020B"
- width 562
- height 136
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1259
- location (320, 510)
- line_color 3342489
- fill_color 13434879
- supplier @1258
- vertices (list Points
- (320, 510)
- (320, 420)))
- (object InheritView "" @1260
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC40090"
- client @1256
- supplier @1258
- line_style 3
- origin_attachment (81, 556)
- terminal_attachment (81, 510)
- drawSupplier @1259)
- (object InheritView "" @1261
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAC800D2"
- client @1244
- supplier @1258
- line_style 3
- origin_attachment (877, 748)
- terminal_attachment (877, 510)
- drawSupplier @1259)
- (object ClassView "Class" "Logical View::xsd::XSDMaxInclusiveFacet" @1262
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 1808)
- label (object ItemLabel
- Parent_View @1262
- location (2101, 1761)
- fill_color 13434879
- nlines 1
- max_width 438
- justify 0
- label "XSDMaxInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C787D00DA"
- width 456
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinInclusiveFacet" @1263
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1776)
- label (object ItemLabel
- Parent_View @1263
- location (35, 1729)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinInclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C788702C9"
- width 493
- height 119
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinExclusiveFacet" @1264
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (272, 1936)
- label (object ItemLabel
- Parent_View @1264
- location (35, 1889)
- fill_color 13434879
- nlines 1
- max_width 475
- justify 0
- label "XSDMinExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C792D000A"
- width 493
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxExclusiveFacet" @1265
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 1968)
- label (object ItemLabel
- Parent_View @1265
- location (2073, 1917)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "XSDMaxExclusiveFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C789600C2"
- width 480
- height 126
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDCardinalityFacet" @1266
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1424)
- label (object ItemLabel
- Parent_View @1266
- location (2134, 1372)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDCardinalityFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C755D03D2"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDBoundedFacet" @1267
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2352, 1264)
- label (object ItemLabel
- Parent_View @1267
- location (2163, 1212)
- fill_color 13434879
- nlines 1
- max_width 378
- justify 0
- label "XSDBoundedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C751D0344"
- width 396
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDOrderedFacet" @1268
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (224, 1392)
- label (object ItemLabel
- Parent_View @1268
- location (43, 1340)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "XSDOrderedFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C74DD0248"
- width 380
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDNumericFacet" @1269
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1232)
- label (object ItemLabel
- Parent_View @1269
- location (49, 1178)
- fill_color 13434879
- nlines 1
- max_width 382
- justify 0
- label "XSDNumericFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C75950206"
- width 400
- height 132
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxFacet" @1270
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2336, 1616)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1270
- location (2135, 1535)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMaxFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CEB010E"
- compartment (object Compartment
- Parent_View @1270
- location (2135, 1595)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 405
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 420
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDWhiteSpaceFacet" @1271
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2288)
- label (object ItemLabel
- Parent_View @1271
- location (2102, 2236)
- fill_color 13434879
- nlines 1
- max_width 436
- justify 0
- label "XSDWhiteSpaceFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C784601B7"
- width 454
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDFractionDigitsFacet" @1272
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2304, 2624)
- label (object ItemLabel
- Parent_View @1272
- location (2074, 2572)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDFractionDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79BE02EE"
- width 478
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDPatternFacet" @1273
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2368, 2128)
- label (object ItemLabel
- Parent_View @1273
- location (2196, 2076)
- fill_color 13434879
- nlines 1
- max_width 344
- justify 0
- label "XSDPatternFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ADB026C"
- width 362
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDEnumerationFacet" @1274
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (256, 2096)
- label (object ItemLabel
- Parent_View @1274
- location (36, 2044)
- fill_color 13434879
- nlines 1
- max_width 440
- justify 0
- label "XSDEnumerationFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C6ACE0141"
- width 458
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDLengthFacet" @1275
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (208, 2272)
- label (object ItemLabel
- Parent_View @1275
- location (38, 2220)
- fill_color 13434879
- nlines 1
- max_width 340
- justify 0
- label "XSDLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C776200E7"
- width 358
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinFacet" @1276
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 1584)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1276
- location (38, 1503)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDMinFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3C0A1CDE037C"
- compartment (object Compartment
- Parent_View @1276
- location (38, 1563)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 405
- compartmentItems (list Compartment
- "+ inclusive : boolean"
- "+ exclusive : boolean"))
- width 422
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMaxLengthFacet" @1277
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2320, 2464)
- label (object ItemLabel
- Parent_View @1277
- location (2111, 2412)
- fill_color 13434879
- nlines 1
- max_width 418
- justify 0
- label "XSDMaxLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C77C70146"
- width 436
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDMinLengthFacet" @1278
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2448)
- label (object ItemLabel
- Parent_View @1278
- location (39, 2396)
- fill_color 13434879
- nlines 1
- max_width 402
- justify 0
- label "XSDMinLengthFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C778C0065"
- width 420
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDTotalDigitsFacet" @1279
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (240, 2608)
- label (object ItemLabel
- Parent_View @1279
- location (38, 2556)
- fill_color 13434879
- nlines 1
- max_width 404
- justify 0
- label "XSDTotalDigitsFacet")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B6C79A0020E"
- width 422
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDComplexTypeDefinition" @1280
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (928, 1152)
- label (object ItemLabel
- Parent_View @1280
- location (667, 1100)
- fill_color 13434879
- nlines 1
- max_width 522
- justify 0
- label "XSDComplexTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682B82031A"
- width 540
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDParticle" @1281
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (176, 1072)
- label (object ItemLabel
- Parent_View @1281
- location (50, 1020)
- fill_color 13434879
- nlines 1
- max_width 252
- justify 0
- label "XSDParticle")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BBD01F7"
- width 270
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSimpleTypeDefinition" @1282
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (1232, 1360)
- label (object ItemLabel
- Parent_View @1282
- location (944, 1304)
- fill_color 13434879
- nlines 1
- max_width 576
- justify 0
- label "XSDSimpleTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B682BA7005D"
- compartment (object Compartment
- Parent_View @1282
- location (944, 1364)
- icon_style "Icon"
- fill_color 16777215
- anchor 2
- nlines 1
- max_width 575
- compartmentItems (list Compartment
- "<<0..*>> + validFacets : String"))
- width 594
- height 136
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$249" @1283
- location (1446, 1218)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A994030A"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1284
- Parent_View @1283
- location (582, -78)
- label (object SegLabel @1285
- Parent_View @1284
- location (1580, 1173)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist 3.268293
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700DD"
- client @1283
- supplier @1282
- vertices (list Points
- (1446, 1218)
- (1487, 1218)
- (1487, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1487, 1292)
- label (object SegLabel @1286
- Parent_View @1284
- location (1439, 1257)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.184211
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$250" @1287
- Parent_View @1283
- location (582, -78)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A99700E7"
- client @1283
- supplier @1282
- vertices (list Points
- (1446, 1218)
- (1405, 1218)
- (1405, 1292))
- line_style 3
- origin_attachment (1446, 1218)
- terminal_attachment (1405, 1292))))
- (object AssociationViewNew "$UNNAMED$253" @1288
- location (1733, 1575)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08D0252"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$254" @1289
- Parent_View @1288
- location (917, 7)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E0091"
- client @1288
- supplier @1282
- vertices (list Points
- (1733, 1575)
- (1487, 1575)
- (1487, 1428))
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (1487, 1428))
- (object RoleView "maxFacet" @1290
- Parent_View @1288
- location (917, 7)
- label (object SegLabel @1291
- Parent_View @1290
- location (1751, 1541)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+maxFacet"
- pctDist 0.046243
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B08E009B"
- client @1288
- supplier @1270
- line_style 3
- origin_attachment (1733, 1575)
- terminal_attachment (2126, 1575)
- label (object SegLabel @1292
- Parent_View @1290
- location (2042, 1536)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.789157
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$255" @1293
- location (1587, 1793)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AB0396"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$256" @1294
- Parent_View @1293
- location (707, -31)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03C9"
- client @1293
- supplier @1282
- vertices (list Points
- (1587, 1793)
- (1447, 1793)
- (1447, 1428))
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (1447, 1428))
- (object RoleView "maxInclusiveFacet" @1295
- Parent_View @1293
- location (707, -31)
- label (object SegLabel @1296
- Parent_View @1295
- location (1737, 1751)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+maxInclusiveFacet"
- pctDist 0.298441
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AC03D4"
- client @1293
- supplier @1262
- line_style 3
- origin_attachment (1587, 1793)
- terminal_attachment (2092, 1793)
- label (object SegLabel @1297
- Parent_View @1295
- location (2020, 1754)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.859155
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$257" @1298
- location (937, 1787)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0AF0338"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$258" @1299
- Parent_View @1298
- location (617, -5)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B001F9"
- client @1298
- supplier @1282
- vertices (list Points
- (937, 1787)
- (997, 1787)
- (997, 1428))
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (997, 1428))
- (object RoleView "minInclusiveFacet" @1300
- Parent_View @1298
- location (617, -5)
- label (object SegLabel @1301
- Parent_View @1300
- location (792, 1745)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+minInclusiveFacet"
- pctDist 0.346062
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B00203"
- client @1298
- supplier @1263
- line_style 3
- origin_attachment (937, 1787)
- terminal_attachment (518, 1787)
- label (object SegLabel @1302
- Parent_View @1300
- location (575, 1743)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863962
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$259" @1303
- location (981, 1937)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B30207"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$260" @1304
- Parent_View @1303
- location (677, -79)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B40190"
- client @1303
- supplier @1282
- vertices (list Points
- (981, 1937)
- (1041, 1937)
- (1041, 1428))
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (1041, 1428))
- (object RoleView "minExclusiveFacet" @1305
- Parent_View @1303
- location (677, -79)
- label (object SegLabel @1306
- Parent_View @1305
- location (823, 1900)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+minExclusiveFacet"
- pctDist 0.341253
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B4019A"
- client @1303
- supplier @1264
- line_style 3
- origin_attachment (981, 1937)
- terminal_attachment (518, 1937)
- label (object SegLabel @1307
- Parent_View @1305
- location (589, 1897)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.846652
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$261" @1308
- location (1469, 1953)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B6028D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$262" @1309
- Parent_View @1308
- location (621, -95)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70217"
- client @1308
- supplier @1282
- vertices (list Points
- (1469, 1953)
- (1400, 1953)
- (1400, 1428))
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (1400, 1428))
- (object RoleView "maxExclusiveFacet" @1310
- Parent_View @1308
- location (621, -95)
- label (object SegLabel @1311
- Parent_View @1310
- location (1646, 1913)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+maxExclusiveFacet"
- pctDist 0.298097
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0B70221"
- client @1308
- supplier @1265
- line_style 3
- origin_attachment (1469, 1953)
- terminal_attachment (2064, 1953)
- label (object SegLabel @1312
- Parent_View @1310
- location (1961, 1913)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.827236
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$263" @1313
- location (1122, 2180)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0051"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$264" @1314
- Parent_View @1313
- location (-318, 628)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0246"
- client @1313
- supplier @1282
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (1122, 1428))
- (object RoleView "lengthFacet" @1315
- Parent_View @1313
- location (-318, 628)
- label (object SegLabel @1316
- Parent_View @1315
- location (804, 2204)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+lengthFacet"
- pctDist 0.475472
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BC0250"
- client @1313
- supplier @1275
- vertices (list Points
- (1122, 2180)
- (1122, 2240)
- (387, 2240))
- line_style 3
- origin_attachment (1122, 2180)
- terminal_attachment (387, 2240)
- label (object SegLabel @1317
- Parent_View @1315
- location (471, 2204)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.895597
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$267" @1318
- location (1084, 1989)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C2021D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$268" @1319
- Parent_View @1318
- location (-1380, 437)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AB"
- client @1318
- supplier @1282
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (1084, 1428))
- (object RoleView "enumerationFacets" @1320
- Parent_View @1318
- location (-1380, 437)
- label (object SegLabel @1321
- Parent_View @1320
- location (837, 2016)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+enumerationFacets"
- pctDist 0.465857
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C300AC"
- client @1318
- supplier @1274
- vertices (list Points
- (1084, 1989)
- (1084, 2049)
- (485, 2049))
- line_style 3
- origin_attachment (1084, 1989)
- terminal_attachment (485, 2049)
- label (object SegLabel @1322
- Parent_View @1320
- location (583, 2021)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.851290
- height 29
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$269" @1323
- location (1451, 2074)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C50159"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$270" @1324
- Parent_View @1323
- location (-1525, 538)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600B0"
- client @1323
- supplier @1282
- vertices (list Points
- (1451, 2074)
- (1362, 2074)
- (1362, 1428))
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (1362, 1428))
- (object RoleView "patternFacets" @1325
- Parent_View @1323
- location (-1525, 538)
- label (object SegLabel @1326
- Parent_View @1325
- location (1720, 2038)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+patternFacets"
- pctDist 0.367223
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C600BA"
- client @1323
- supplier @1273
- line_style 3
- origin_attachment (1451, 2074)
- terminal_attachment (2187, 2074)
- label (object SegLabel @1327
- Parent_View @1325
- location (1972, 2035)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.708649
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$271" @1328
- location (1827, 1400)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C802A7"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$272" @1329
- Parent_View @1328
- location (-1149, -472)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901EA"
- client @1328
- supplier @1282
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (1529, 1400))
- (object RoleView "cardinalityFacet" @1330
- Parent_View @1328
- location (-1149, -472)
- label (object SegLabel @1331
- Parent_View @1330
- location (1847, 1358)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+cardinalityFacet"
- pctDist 0.071730
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C901F5"
- client @1328
- supplier @1266
- line_style 3
- origin_attachment (1827, 1400)
- terminal_attachment (2125, 1400)
- label (object SegLabel @1332
- Parent_View @1330
- location (2083, 1357)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.863426
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$281" @1333
- location (1262, 2413)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DB0377"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$282" @1334
- Parent_View @1333
- location (-786, 301)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC035A"
- client @1333
- supplier @1282
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (1262, 1428))
- (object RoleView "fractionDigitsFacet" @1335
- Parent_View @1333
- location (-786, 301)
- label (object SegLabel @1336
- Parent_View @1335
- location (1608, 2556)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 360
- justify 0
- label "+fractionDigitsFacet"
- pctDist 0.537393
- height 41
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DC0364"
- client @1333
- supplier @1272
- vertices (list Points
- (1262, 2413)
- (1262, 2596)
- (2065, 2596))
- line_style 3
- origin_attachment (1262, 2413)
- terminal_attachment (2065, 2596)
- label (object SegLabel @1337
- Parent_View @1335
- location (1979, 2556)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913886
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$285" @1338
- location (1841, 1306)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E300D9"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$286" @1339
- Parent_View @1338
- location (-1135, -790)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E4038E"
- client @1338
- supplier @1282
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (1529, 1306))
- (object RoleView "boundedFacet" @1340
- Parent_View @1338
- location (-1135, -790)
- label (object SegLabel @1341
- Parent_View @1340
- location (1832, 1270)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+boundedFacet"
- pctDist -0.031746
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0E40398"
- client @1338
- supplier @1267
- line_style 3
- origin_attachment (1841, 1306)
- terminal_attachment (2154, 1306)
- label (object SegLabel @1342
- Parent_View @1340
- location (2077, 1275)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.754717
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$265" @1343
- location (1328, 2186)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0BF018C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$266" @1344
- Parent_View @1343
- location (-640, 634)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C0006B"
- client @1343
- supplier @1282
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (1328, 1428))
- (object RoleView "whiteSpaceFacet" @1345
- Parent_View @1343
- location (-640, 634)
- label (object SegLabel @1346
- Parent_View @1345
- location (1673, 2207)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+whiteSpaceFacet"
- pctDist 0.490909
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0C00075"
- client @1343
- supplier @1271
- vertices (list Points
- (1328, 2186)
- (1328, 2246)
- (2093, 2246))
- line_style 3
- origin_attachment (1328, 2186)
- terminal_attachment (2093, 2246)
- label (object SegLabel @1347
- Parent_View @1345
- location (2033, 2203)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926763
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$283" @1348
- location (674, 1390)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF0048"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$284" @1349
- Parent_View @1348
- location (-1854, -706)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03B9"
- client @1348
- supplier @1282
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (935, 1390))
- (object RoleView "orderedFacet" @1350
- Parent_View @1348
- location (-1854, -706)
- label (object SegLabel @1351
- Parent_View @1350
- location (658, 1353)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+orderedFacet"
- pctDist 0.061538
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0DF03C3"
- client @1348
- supplier @1268
- line_style 3
- origin_attachment (674, 1390)
- terminal_attachment (414, 1390)
- label (object SegLabel @1352
- Parent_View @1350
- location (510, 1355)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.634615
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$273" @1353
- location (687, 1296)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CB039C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$274" @1354
- Parent_View @1353
- location (-1809, -576)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D0"
- client @1353
- supplier @1282
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (935, 1296))
- (object RoleView "numericFacet" @1355
- Parent_View @1353
- location (-1809, -576)
- label (object SegLabel @1356
- Parent_View @1355
- location (668, 1257)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+numericFacet"
- pctDist 0.080972
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CC03D1"
- client @1353
- supplier @1269
- line_style 3
- origin_attachment (687, 1296)
- terminal_attachment (440, 1296)
- label (object SegLabel @1357
- Parent_View @1355
- location (506, 1260)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.736842
- height 37
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$287" @1358
- location (1689, 1662)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B44401EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$288" @1359
- Parent_View @1358
- location (-183, -354)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B4450360"
- client @1358
- supplier @1282
- vertices (list Points
- (1689, 1662)
- (1487, 1662)
- (1487, 1428))
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (1487, 1428))
- (object RoleView "effectiveMaxFacet" @1360
- Parent_View @1358
- location (-183, -354)
- label (object SegLabel @1361
- Parent_View @1360
- location (1769, 1623)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+effectiveMaxFacet"
- pctDist 0.182051
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B445036A"
- client @1358
- supplier @1270
- line_style 3
- origin_attachment (1689, 1662)
- terminal_attachment (2126, 1662)
- label (object SegLabel @1362
- Parent_View @1360
- location (2044, 1627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.815385
- height 36
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$289" @1363
- location (1328, 2258)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B54F0145"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$290" @1364
- Parent_View @1363
- location (-1072, -462)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B550038C"
- client @1363
- supplier @1282
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (1328, 1428))
- (object RoleView "effectiveWhiteSpaceFacet" @1365
- Parent_View @1363
- location (-1072, -462)
- label (object SegLabel @1366
- Parent_View @1365
- location (1685, 2288)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 492
- justify 0
- label "+effectiveWhiteSpaceFacet"
- pctDist 0.508541
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5500396"
- client @1363
- supplier @1271
- vertices (list Points
- (1328, 2258)
- (1328, 2324)
- (2093, 2324))
- line_style 3
- origin_attachment (1328, 2258)
- terminal_attachment (2093, 2324)
- label (object SegLabel @1367
- Parent_View @1365
- location (2009, 2293)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898817
- height 32
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$291" @1368
- location (1297, 2366)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C4011C"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$292" @1369
- Parent_View @1368
- location (-607, -722)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C5020D"
- client @1368
- supplier @1282
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (1297, 1428))
- (object RoleView "effectiveMaxLengthFacet" @1370
- Parent_View @1368
- location (-607, -722)
- label (object SegLabel @1371
- Parent_View @1370
- location (1657, 2463)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 480
- justify 0
- label "+effectiveMaxLengthFacet"
- pctDist 0.526906
- height 37
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B5C50217"
- client @1368
- supplier @1277
- vertices (list Points
- (1297, 2366)
- (1297, 2499)
- (2102, 2499))
- line_style 3
- origin_attachment (1297, 2366)
- terminal_attachment (2102, 2499)
- label (object SegLabel @1372
- Parent_View @1370
- location (2007, 2471)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.899308
- height 29
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$293" @1373
- location (1262, 2449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62A00AA"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$294" @1374
- Parent_View @1373
- location (-1170, -815)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0138"
- client @1373
- supplier @1282
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (1262, 1428))
- (object RoleView "effectiveFractionDigitsFacet" @1375
- Parent_View @1373
- location (-1170, -815)
- label (object SegLabel @1376
- Parent_View @1375
- location (1640, 2634)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 528
- justify 0
- label "+effectiveFractionDigitsFacet"
- pctDist 0.585315
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B62B0142"
- client @1373
- supplier @1272
- vertices (list Points
- (1262, 2449)
- (1262, 2668)
- (2065, 2668))
- line_style 3
- origin_attachment (1262, 2449)
- terminal_attachment (2065, 2668)
- label (object SegLabel @1377
- Parent_View @1375
- location (1989, 2629)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.926485
- height 40
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$295" @1378
- location (1422, 2159)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B003A6"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$296" @1379
- Parent_View @1378
- location (-770, -1313)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10311"
- client @1378
- supplier @1282
- vertices (list Points
- (1422, 2159)
- (1362, 2159)
- (1362, 1428))
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (1362, 1428))
- (object RoleView "effectivePatternFacet" @1380
- Parent_View @1378
- location (-770, -1313)
- label (object SegLabel @1381
- Parent_View @1380
- location (1727, 2125)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 408
- justify 0
- label "+effectivePatternFacet"
- pctDist 0.399090
- height 35
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B6B10312"
- client @1378
- supplier @1273
- line_style 3
- origin_attachment (1422, 2159)
- terminal_attachment (2187, 2159)
- label (object SegLabel @1382
- Parent_View @1380
- location (2102, 2119)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.889226
- height 41
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$297" @1383
- location (1084, 2083)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CA026B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$298" @1384
- Parent_View @1383
- location (828, -1373)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0186"
- client @1383
- supplier @1282
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (1084, 1428))
- (object RoleView "effectiveEnumerationFacet" @1385
- Parent_View @1383
- location (828, -1373)
- label (object SegLabel @1386
- Parent_View @1385
- location (822, 2101)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 504
- justify 0
- label "+effectiveEnumerationFacet"
- pctDist 0.488619
- height 43
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B7CB0190"
- client @1383
- supplier @1274
- vertices (list Points
- (1084, 2083)
- (1084, 2143)
- (485, 2143))
- line_style 3
- origin_attachment (1084, 2083)
- terminal_attachment (485, 2143)
- label (object SegLabel @1387
- Parent_View @1385
- location (531, 2100)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.931715
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$303" @1388
- location (1122, 2241)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC0052"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$304" @1389
- Parent_View @1388
- location (866, -479)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03B9"
- client @1388
- supplier @1282
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (1122, 1428))
- (object RoleView "effectiveLengthFacet" @1390
- Parent_View @1388
- location (866, -479)
- label (object SegLabel @1391
- Parent_View @1390
- location (800, 2279)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+effectiveLengthFacet"
- pctDist 0.491731
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8DC03C3"
- client @1388
- supplier @1275
- vertices (list Points
- (1122, 2241)
- (1122, 2318)
- (387, 2318))
- line_style 3
- origin_attachment (1122, 2241)
- terminal_attachment (387, 2318)
- label (object SegLabel @1392
- Parent_View @1390
- location (470, 2279)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.898567
- height 40
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$251" @1393
- location (773, 1565)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B085025B"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$252" @1394
- Parent_View @1393
- location (469, 13)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0860270"
- client @1393
- supplier @1282
- vertices (list Points
- (773, 1565)
- (959, 1565)
- (959, 1428))
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (959, 1428))
- (object RoleView "minFacet" @1395
- Parent_View @1393
- location (469, 13)
- label (object SegLabel @1396
- Parent_View @1395
- location (753, 1532)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+minFacet"
- pctDist 0.063091
- height 34
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B086027A"
- client @1393
- supplier @1276
- line_style 3
- origin_attachment (773, 1565)
- terminal_attachment (451, 1565)
- label (object SegLabel @1397
- Parent_View @1395
- location (534, 1523)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.746667
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$305" @1398
- location (816, 1650)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97001DB"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$306" @1399
- Parent_View @1398
- location (496, -334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100CF"
- client @1398
- supplier @1282
- vertices (list Points
- (816, 1650)
- (959, 1650)
- (959, 1428))
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (959, 1428))
- (object RoleView "effectiveMinFacet" @1400
- Parent_View @1398
- location (496, -334)
- label (object SegLabel @1401
- Parent_View @1400
- location (764, 1614)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+effectiveMinFacet"
- pctDist 0.141618
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B97100D9"
- client @1398
- supplier @1276
- line_style 3
- origin_attachment (816, 1650)
- terminal_attachment (451, 1650)
- label (object SegLabel @1402
- Parent_View @1400
- location (523, 1606)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.802740
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$275" @1403
- location (1297, 2321)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0CF0199"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$276" @1404
- Parent_View @1403
- location (-719, 497)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D20085"
- client @1403
- supplier @1282
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (1297, 1428))
- (object RoleView "maxLengthFacet" @1405
- Parent_View @1403
- location (-719, 497)
- label (object SegLabel @1406
- Parent_View @1405
- location (1630, 2380)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 336
- justify 0
- label "+maxLengthFacet"
- pctDist 0.472255
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D2008F"
- client @1403
- supplier @1277
- vertices (list Points
- (1297, 2321)
- (1297, 2409)
- (2102, 2409))
- line_style 3
- origin_attachment (1297, 2321)
- terminal_attachment (2102, 2409)
- label (object SegLabel @1407
- Parent_View @1405
- location (1994, 2366)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.879208
- height 44
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$277" @1408
- location (1159, 2273)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D500C5"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$278" @1409
- Parent_View @1408
- location (-281, 449)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D6001D"
- client @1408
- supplier @1282
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (1159, 1428))
- (object RoleView "minLengthFacet" @1410
- Parent_View @1408
- location (-281, 449)
- label (object SegLabel @1411
- Parent_View @1410
- location (857, 2372)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 324
- justify 0
- label "+minLengthFacet"
- pctDist 0.519527
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D60027"
- client @1408
- supplier @1278
- vertices (list Points
- (1159, 2273)
- (1159, 2409)
- (450, 2409))
- line_style 3
- origin_attachment (1159, 2273)
- terminal_attachment (450, 2409)
- label (object SegLabel @1412
- Parent_View @1410
- location (523, 2369)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.913610
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$301" @1413
- location (1197, 2334)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B898016D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$302" @1414
- Parent_View @1413
- location (941, -610)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990056"
- client @1413
- supplier @1282
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (1197, 1428))
- (object RoleView "effectiveMinLengthFacet" @1415
- Parent_View @1413
- location (941, -610)
- label (object SegLabel @1416
- Parent_View @1415
- location (856, 2454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveMinLengthFacet"
- pctDist 0.552604
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8990060"
- client @1413
- supplier @1278
- vertices (list Points
- (1197, 2334)
- (1197, 2493)
- (450, 2493))
- line_style 3
- origin_attachment (1197, 2334)
- terminal_attachment (450, 2493)
- label (object SegLabel @1417
- Parent_View @1415
- location (527, 2451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.916047
- height 43
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$299" @1418
- location (1231, 2438)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8400062"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$300" @1419
- Parent_View @1418
- location (863, -746)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B841001D"
- client @1418
- supplier @1282
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (1231, 1428))
- (object RoleView "effectiveTotalDigitsFacet" @1420
- Parent_View @1418
- location (863, -746)
- label (object SegLabel @1421
- Parent_View @1420
- location (859, 2632)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 468
- justify 0
- label "+effectiveTotalDigitsFacet"
- pctDist 0.597030
- height 37
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B8410027"
- client @1418
- supplier @1279
- vertices (list Points
- (1231, 2438)
- (1231, 2668)
- (451, 2668))
- line_style 3
- origin_attachment (1231, 2438)
- terminal_attachment (451, 2668)
- label (object SegLabel @1422
- Parent_View @1420
- location (534, 2631)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.918812
- height 38
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$279" @1423
- location (1231, 2397)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D800DE"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$280" @1424
- Parent_View @1423
- location (-209, 253)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803CD"
- client @1423
- supplier @1282
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (1231, 1428))
- (object RoleView "totalDigitsFacet" @1425
- Parent_View @1423
- location (-209, 253)
- label (object SegLabel @1426
- Parent_View @1425
- location (853, 2550)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+totalDigitsFacet"
- pctDist 0.585567
- height 38
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C28B0D803D7"
- client @1423
- supplier @1279
- vertices (list Points
- (1231, 2397)
- (1231, 2587)
- (451, 2587))
- line_style 3
- origin_attachment (1231, 2397)
- terminal_attachment (451, 2587)
- label (object SegLabel @1427
- Parent_View @1425
- location (535, 2560)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.914647
- height 28
- orientation 1))))
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @1428
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1232, 768)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1428
- location (1019, 574)
- fill_color 13434879
- nlines 1
- max_width 426
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B66ECD302A9"
- width 444
- height 413
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1429
- location (1209, 1065)
- line_color 3342489
- fill_color 13434879
- supplier @1428
- vertices (list Points
- (1209, 1065)
- (1209, 974)))
- (object AssociationViewNew "$UNNAMED$235" @1430
- location (1090, 1031)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F503D9"
- roleview_list (list RoleViews
- (object RoleView "rootTypeDefinition" @1431
- Parent_View @1430
- location (322, -25)
- label (object SegLabel @1432
- Parent_View @1431
- location (897, 1036)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 348
- justify 0
- label "+rootTypeDefinition"
- pctDist -0.098765
- height 194
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F9003C"
- client @1430
- supplier @1428
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 974)
- label (object SegLabel @1433
- Parent_View @1431
- location (1121, 1034)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.061728
- height 31
- orientation 1))
- (object RoleView "$UNNAMED$236" @1434
- Parent_View @1430
- location (322, -25)
- stereotype TRUE
- line_color 3342489
- quidu "3C2880F90046"
- client @1430
- supplier @1280
- line_style 3
- origin_attachment (1090, 1031)
- terminal_attachment (1090, 1088))))
- (object AssociationViewNew "$UNNAMED$241" @1435
- location (1538, 873)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DB01E5"
- roleview_list (list RoleViews
- (object RoleView "rootType" @1436
- Parent_View @1435
- location (178, 105)
- label (object SegLabel @1437
- Parent_View @1436
- location (1558, 792)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+rootType"
- pctDist -1.760870
- height 20
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DD"
- client @1435
- supplier @1428
- vertices (list Points
- (1538, 873)
- (1538, 919)
- (1454, 919))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 919)
- label (object SegLabel @1438
- Parent_View @1436
- location (1509, 875)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.016667
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$242" @1439
- Parent_View @1435
- location (178, 105)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A6DD03DE"
- client @1435
- supplier @1428
- vertices (list Points
- (1538, 873)
- (1538, 828)
- (1454, 828))
- line_style 3
- origin_attachment (1538, 873)
- terminal_attachment (1454, 828))))
- (object AssociationViewNew "$UNNAMED$243" @1440
- location (1535, 684)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7120108"
- roleview_list (list RoleViews
- (object RoleView "baseType" @1441
- Parent_View @1440
- location (175, -84)
- label (object SegLabel @1442
- Parent_View @1441
- location (1559, 597)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+baseType"
- pctDist -1.977273
- height 24
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7140151"
- client @1440
- supplier @1428
- vertices (list Points
- (1535, 684)
- (1535, 728)
- (1454, 728))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 728)
- label (object SegLabel @1443
- Parent_View @1441
- location (1506, 683)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist -0.027778
- height 30
- orientation 1))
- (object RoleView "$UNNAMED$244" @1444
- Parent_View @1440
- location (175, -84)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A714015B"
- client @1440
- supplier @1428
- vertices (list Points
- (1535, 684)
- (1535, 641)
- (1454, 641))
- line_style 3
- origin_attachment (1535, 684)
- terminal_attachment (1454, 641))))
- (object AssociationViewNew "$UNNAMED$247" @1445
- location (613, 940)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7ED03C0"
- roleview_list (list RoleViews
- (object RoleView "complexType" @1446
- Parent_View @1445
- location (-747, 172)
- label (object SegLabel @1447
- Parent_View @1446
- location (465, 983)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 264
- justify 0
- label "+complexType"
- pctDist 0.373057
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40117"
- client @1445
- supplier @1281
- vertices (list Points
- (613, 940)
- (284, 940)
- (284, 1008))
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (284, 1008)
- label (object SegLabel @1448
- Parent_View @1446
- location (224, 972)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.909320
- height 61
- orientation 1))
- (object RoleView "$UNNAMED$248" @1449
- Parent_View @1445
- location (-747, 172)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A7F40121"
- client @1445
- supplier @1428
- line_style 3
- origin_attachment (613, 940)
- terminal_attachment (1010, 940))))
- (object InheritView "" @1450
- stereotype TRUE
- line_color 3342489
- quidu "3B7FCAB1004D"
- client @1428
- supplier @1258
- line_style 3
- origin_attachment (1112, 562)
- terminal_attachment (1112, 510)
- drawSupplier @1259)
- (object InheritView "" @1451
- stereotype TRUE
- line_color 3342489
- quidu "3BA0D01901F1"
- client @1280
- supplier @1428
- line_style 3
- origin_attachment (1146, 1088)
- terminal_attachment (1146, 1065)
- drawSupplier @1429)
- (object AssociationViewNew "$UNNAMED$245" @1452
- location (1362, 1133)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74B0178"
- roleview_list (list RoleViews
- (object RoleView "simpleType" @1453
- Parent_View @1452
- location (-158, -163)
- label (object SegLabel @1454
- Parent_View @1453
- location (1499, 1094)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+simpleType"
- pctDist -0.246753
- height 137
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D017B"
- client @1452
- supplier @1282
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 1292)
- label (object SegLabel @1455
- Parent_View @1453
- location (1321, 1097)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist -0.227273
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$246" @1456
- Parent_View @1452
- location (-158, -163)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A74D0185"
- client @1452
- supplier @1428
- line_style 3
- origin_attachment (1362, 1133)
- terminal_attachment (1362, 974))))
- (object ClassView "Class" "Logical View::xsd::XSDFeature" @1457
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeOperation TRUE
- location (2272, 384)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @1457
- location (2002, 303)
- fill_color 13434879
- nlines 1
- max_width 540
- justify 0
- label "XSDFeature")
- icon_style "Icon"
- line_color 3342489
- fill_color 16777088
- quidu "3B69B537026C"
- compartment (object Compartment
- Parent_View @1457
- location (2002, 363)
- font (object Font
- italics TRUE)
- icon_style "Icon"
- fill_color 13434879
- anchor 2
- nlines 2
- max_width 550
- compartmentItems (list Compartment
- "+ global : boolean"
- "+ featureReference : boolean"))
- width 558
- height 186
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @1458
- location (2262, 568)
- line_color 3342489
- fill_color 13434879
- supplier @1457
- vertices (list Points
- (2262, 568)
- (2262, 477)))
- (object InheritView "" @1459
- stereotype TRUE
- line_color 3342489
- quidu "3B69EDEE01BF"
- client @1254
- supplier @1457
- line_style 3
- origin_attachment (2346, 595)
- terminal_attachment (2346, 568)
- drawSupplier @1458)
- (object AssociationViewNew "$UNNAMED$239" @1460
- location (1553, 453)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F201A4"
- roleview_list (list RoleViews
- (object RoleView "type" @1461
- Parent_View @1460
- location (801, 293)
- label (object SegLabel @1462
- Parent_View @1461
- location (1331, 499)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label "+type"
- pctDist 0.506266
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302E5"
- client @1460
- supplier @1428
- vertices (list Points
- (1553, 453)
- (1222, 453)
- (1222, 562))
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1222, 562)
- label (object SegLabel @1463
- Parent_View @1461
- location (1185, 479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.812030
- height 38
- orientation 1))
- (object RoleView "$UNNAMED$240" @1464
- Parent_View @1460
- location (801, 293)
- stereotype TRUE
- line_color 3342489
- quidu "3C28A0F302F0"
- client @1460
- supplier @1457
- line_style 3
- origin_attachment (1553, 453)
- terminal_attachment (1993, 453))))
- (object AssociationViewNew "$UNNAMED$131" @1465
- location (1908, 353)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010602D7"
- roleview_list (list RoleViews
- (object RoleView "resolvedFeature" @1466
- Parent_View @1465
- location (-268, -159)
- label (object SegLabel @1467
- Parent_View @1466
- location (1729, 352)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 312
- justify 0
- label "+resolvedFeature"
- pctDist -0.029412
- height 180
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B000E"
- client @1465
- supplier @1457
- vertices (list Points
- (1908, 353)
- (1908, 387)
- (1993, 387))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 387)
- label (object SegLabel @1468
- Parent_View @1466
- location (1945, 354)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.596639
- height 34
- orientation 0))
- (object RoleView "$UNNAMED$132" @1469
- Parent_View @1465
- location (-268, -159)
- stereotype TRUE
- line_color 3342489
- quidu "3C29010B0018"
- client @1465
- supplier @1457
- vertices (list Points
- (1908, 353)
- (1908, 319)
- (1993, 319))
- line_style 3
- origin_attachment (1908, 353)
- terminal_attachment (1993, 319))))
- (object InheritView "" @1470
- stereotype TRUE
- line_color 3342489
- quidu "3C290A26036D"
- client @1258
- supplier @1257
- vertices (list Points
- (494, 284)
- (494, 244)
- (996, 244))
- line_style 3
- origin_attachment (494, 284)
- terminal_attachment (996, 244))
- (object InheritView "" @1471
- stereotype TRUE
- line_color 3342489
- quidu "3B69B7DC0193"
- client @1245
- supplier @1457
- line_style 3
- origin_attachment (1718, 812)
- terminal_attachment (1718, 568)
- drawSupplier @1458)
- (object InheritView "" @1472
- stereotype TRUE
- line_color 3342489
- quidu "3B684A1302A2"
- client @1282
- supplier @1428
- line_style 3
- origin_attachment (1265, 1292)
- terminal_attachment (1265, 1065)
- drawSupplier @1429)
- (object InheritView "" @1473
- stereotype TRUE
- line_color 3342489
- quidu "3C290A2C0307"
- client @1457
- supplier @1257
- vertices (list Points
- (2147, 291)
- (2147, 244)
- (1468, 244))
- line_style 3
- origin_attachment (2147, 291)
- terminal_attachment (1468, 244)))))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "Main"
- quid "39E27F080076"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object CategoryView "Logical View::wsdl" @1474
- location (272, 256)
- label (object ItemLabel
- Parent_View @1474
- location (128, 172)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "wsdl")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3ADFB8E5021E"
- width 300
- height 180)
- (object CategoryView "Logical View::xsd" @1475
- location (272, 576)
- label (object ItemLabel
- Parent_View @1475
- location (128, 492)
- fill_color 13434879
- nlines 2
- max_width 288
- justify 0
- label "xsd")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "39ABDC6F01AA"
- width 300
- height 180)))))
- root_subsystem (object SubSystem "Component View"
- quid "39E27F080065"
- physical_models (list unit_reference_list)
- physical_presentations (list unit_reference_list
- (object Module_Diagram "Main"
- quid "39E27F080077"
- title "Main"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- process_structure (object Processes
- quid "39E27F080066"
- ProcsNDevs (list
- (object Process_Diagram "Deployment View"
- quid "39E27F080068"
- title "Deployment View"
- zoom 100
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list))))
- properties (object Properties
- attributes (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "DDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "DDL"
- name "DataBase"
- value ("DataBaseSet" 800))
- (object Attribute
- tool "DDL"
- name "DataBaseSet"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ANSI"
- value 800)
- (object Attribute
- tool "DDL"
- name "Oracle"
- value 801)
- (object Attribute
- tool "DDL"
- name "SQLServer"
- value 802)
- (object Attribute
- tool "DDL"
- name "Sybase"
- value 803)
- (object Attribute
- tool "DDL"
- name "Watcom"
- value 804)))
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnName"
- value "Id")
- (object Attribute
- tool "DDL"
- name "PrimaryKeyColumnType"
- value "NUMBER(5)")
- (object Attribute
- tool "DDL"
- name "ViewName"
- value "V_")
- (object Attribute
- tool "DDL"
- name "TableName"
- value "T_")
- (object Attribute
- tool "DDL"
- name "InheritSuffix"
- value "_V")
- (object Attribute
- tool "DDL"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "BaseViews"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "DDLScriptFilename"
- value "DDL1.SQL")))
- (object Attribute
- tool "DDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "DDL"
- name "ColumnType"
- value "VARCHAR")
- (object Attribute
- tool "DDL"
- name "Length"
- value "")
- (object Attribute
- tool "DDL"
- name "NullsOK"
- value TRUE)
- (object Attribute
- tool "DDL"
- name "PrimaryKey"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "Unique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "DDL"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "DDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "framework"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "IDL"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "StopOnError"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "IDL"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "DefaultSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "IDLElement"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "IDLSpecificationType"
- value ("IDLSpecSet" 22))
- (object Attribute
- tool "IDL"
- name "IDLSpecSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Interface"
- value 22)
- (object Attribute
- tool "IDL"
- name "Typedef"
- value 54)
- (object Attribute
- tool "IDL"
- name "Enumeration"
- value 8)
- (object Attribute
- tool "IDL"
- name "Const"
- value 71)
- (object Attribute
- tool "IDL"
- name "Exception"
- value 61)
- (object Attribute
- tool "IDL"
- name "Struct"
- value 51)
- (object Attribute
- tool "IDL"
- name "Union"
- value 81)))))
- (object Attribute
- tool "IDL"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.services/src/rose/wsdlMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "GenerateIDLModule"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.services/src/rose/wsdlMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "IDL"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "IDL"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "IDL"
- name "IncludeBySimpleName"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "Context"
- value "")
- (object Attribute
- tool "IDL"
- name "Raises"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "ConstValue"
- value "")))
- (object Attribute
- tool "IDL"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "IDL"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "IDL"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "IDL"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "IDL"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Array"
- value 24)
- (object Attribute
- tool "IDL"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "IDL"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "IDL"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "IDL"
- name "Directory"
- value "AUTO GENERATE")))
- (object Attribute
- tool "IDL"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Java"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "Java"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "Java"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "Java"
- name "UsePrefixes"
- value FALSE)
- (object Attribute
- tool "Java"
- name "InstanceVariablePrefix"
- value "m_")
- (object Attribute
- tool "Java"
- name "ClassVariablePrefix"
- value "s_")
- (object Attribute
- tool "Java"
- name "DefaultAttributeDataType"
- value "int")
- (object Attribute
- tool "Java"
- name "DefaultOperationReturnType"
- value "void")))
- (object Attribute
- tool "Java"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateDefaultConstructor"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ConstructorIs"
- value ("Ctor_Set" 62))
- (object Attribute
- tool "Java"
- name "Ctor_Set"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Public"
- value 62)
- (object Attribute
- tool "Java"
- name "Protected"
- value 63)
- (object Attribute
- tool "Java"
- name "Private"
- value 64)))
- (object Attribute
- tool "Java"
- name "GenerateFinalizer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateStaticInitializer"
- value FALSE)
- (object Attribute
- tool "Java"
- name "GenerateInstanceInitializer"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "Java"
- name "CmIdentification"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "Java"
- name "AdditionalImports"
- value (value Text ""))))
- (object Attribute
- tool "Java"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "Abstract"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Static"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Native"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Synchronized"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Java"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Java"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "Java"
- name "InitialValue"
- value "")
- (object Attribute
- tool "Java"
- name "Final"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Transient"
- value FALSE)
- (object Attribute
- tool "Java"
- name "Volatile"
- value FALSE)))
- (object Attribute
- tool "Java"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "propertyId"
- value "360000002")
- (object Attribute
- tool "Oracle8"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "DDLScriptFilename"
- value "DDL1.SQL")
- (object Attribute
- tool "Oracle8"
- name "DropClause"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnName"
- value "_ID")
- (object Attribute
- tool "Oracle8"
- name "PrimaryKeyColumnType"
- value "NUMBER(5,0)")
- (object Attribute
- tool "Oracle8"
- name "SchemaNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "SchemaNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TypeNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ViewNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "VarrayNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "NestedTableNameSuffix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNamePrefix"
- value "")
- (object Attribute
- tool "Oracle8"
- name "ObjectTableNameSuffix"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "IsSchema"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "WhereClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeLength"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypePrecision"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionTypeScale"
- value "")
- (object Attribute
- tool "Oracle8"
- name "CollectionOfREFS"
- value FALSE)))
- (object Attribute
- tool "Oracle8"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MethodKind"
- value ("MethodKindSet" 1903))
- (object Attribute
- tool "Oracle8"
- name "OverloadID"
- value "")
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsReadNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsReadNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoDataState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsWriteNoProcessState"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsSelfish"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "TriggerType"
- value ("TriggerTypeSet" 1801))
- (object Attribute
- tool "Oracle8"
- name "TriggerEvent"
- value ("TriggerEventSet" 1601))
- (object Attribute
- tool "Oracle8"
- name "TriggerText"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerReferencingNames"
- value "")
- (object Attribute
- tool "Oracle8"
- name "TriggerForEach"
- value ("TriggerForEachSet" 1701))
- (object Attribute
- tool "Oracle8"
- name "TriggerWhenClause"
- value "")
- (object Attribute
- tool "Oracle8"
- name "MethodKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "MapMethod"
- value 1901)
- (object Attribute
- tool "Oracle8"
- name "OrderMethod"
- value 1902)
- (object Attribute
- tool "Oracle8"
- name "Function"
- value 1903)
- (object Attribute
- tool "Oracle8"
- name "Procedure"
- value 1904)
- (object Attribute
- tool "Oracle8"
- name "Operator"
- value 1905)
- (object Attribute
- tool "Oracle8"
- name "Constructor"
- value 1906)
- (object Attribute
- tool "Oracle8"
- name "Destructor"
- value 1907)
- (object Attribute
- tool "Oracle8"
- name "Trigger"
- value 1908)
- (object Attribute
- tool "Oracle8"
- name "Calculated"
- value 1909)))
- (object Attribute
- tool "Oracle8"
- name "TriggerTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "AFTER"
- value 1801)
- (object Attribute
- tool "Oracle8"
- name "BEFORE"
- value 1802)
- (object Attribute
- tool "Oracle8"
- name "INSTEAD OF"
- value 1803)))
- (object Attribute
- tool "Oracle8"
- name "TriggerForEachSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "ROW"
- value 1701)
- (object Attribute
- tool "Oracle8"
- name "STATEMENT"
- value 1702)))
- (object Attribute
- tool "Oracle8"
- name "TriggerEventSet"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "INSERT"
- value 1601)
- (object Attribute
- tool "Oracle8"
- name "UPDATE"
- value 1602)
- (object Attribute
- tool "Oracle8"
- name "DELETE"
- value 1603)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE"
- value 1604)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR DELETE"
- value 1605)
- (object Attribute
- tool "Oracle8"
- name "UPDATE OR DELETE"
- value 1606)
- (object Attribute
- tool "Oracle8"
- name "INSERT OR UPDATE OR DELETE"
- value 1607)))))
- (object Attribute
- tool "Oracle8"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Oracle8"
- name "OrderNumber"
- value "")
- (object Attribute
- tool "Oracle8"
- name "IsUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "NullsAllowed"
- value TRUE)
- (object Attribute
- tool "Oracle8"
- name "Length"
- value "")
- (object Attribute
- tool "Oracle8"
- name "Precision"
- value "2")
- (object Attribute
- tool "Oracle8"
- name "Scale"
- value "6")
- (object Attribute
- tool "Oracle8"
- name "IsIndex"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "IsPrimaryKey"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CompositeUnique"
- value FALSE)
- (object Attribute
- tool "Oracle8"
- name "CheckConstraint"
- value "")))
- (object Attribute
- tool "Oracle8"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Repository"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "cg"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "cg"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "UseMSVC"
- value FALSE)
- (object Attribute
- tool "cg"
- name "HeaderFileExtension"
- value "h")
- (object Attribute
- tool "cg"
- name "HeaderFileBackupExtension"
- value "h~")
- (object Attribute
- tool "cg"
- name "HeaderFileTemporaryExtension"
- value "h#")
- (object Attribute
- tool "cg"
- name "CodeFileExtension"
- value "cpp")
- (object Attribute
- tool "cg"
- name "CodeFileBackupExtension"
- value "cp~")
- (object Attribute
- tool "cg"
- name "CodeFileTemporaryExtension"
- value "cp#")
- (object Attribute
- tool "cg"
- name "CreateMissingDirectories"
- value TRUE)
- (object Attribute
- tool "cg"
- name "StopOnError"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ErrorLimit"
- value 30)
- (object Attribute
- tool "cg"
- name "Directory"
- value "$ROSECPP_SOURCE")
- (object Attribute
- tool "cg"
- name "PathSeparator"
- value "")
- (object Attribute
- tool "cg"
- name "FileNameFormat"
- value "128vx_b")
- (object Attribute
- tool "cg"
- name "BooleanType"
- value "int")
- (object Attribute
- tool "cg"
- name "AllowTemplates"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowExplicitInstantiations"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AllowProtectedInheritance"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CommentWidth"
- value 60)
- (object Attribute
- tool "cg"
- name "OneByValueContainer"
- value "$targetClass")
- (object Attribute
- tool "cg"
- name "OneByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "OptionalByValueContainer"
- value "OptionalByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "OptionalByReferenceContainer"
- value "$targetClass *")
- (object Attribute
- tool "cg"
- name "FixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByValueContainer"
- value "$targetClass[$limit]")
- (object Attribute
- tool "cg"
- name "FixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "UnorderedFixedByReferenceContainer"
- value "$targetClass *[$limit]")
- (object Attribute
- tool "cg"
- name "BoundedByValueContainer"
- value "BoundedListByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByValueContainer"
- value "BoundedSetByValue<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "BoundedByReferenceContainer"
- value "BoundedListByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnorderedBoundedByReferenceContainer"
- value "BoundedSetByReference<$targetClass,$limit>")
- (object Attribute
- tool "cg"
- name "UnboundedByValueContainer"
- value "UnboundedListByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByValueContainer"
- value "UnboundedSetByValue<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnboundedByReferenceContainer"
- value "UnboundedListByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "UnorderedUnboundedByReferenceContainer"
- value "UnboundedSetByReference<$targetClass>")
- (object Attribute
- tool "cg"
- name "QualifiedByValueContainer"
- value "AssociationByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByValueContainer"
- value "DictionaryByValue<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "QualifiedByReferenceContainer"
- value "AssociationByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "UnorderedQualifiedByReferenceContainer"
- value "DictionaryByReference<$qualtype, $qualcont>")
- (object Attribute
- tool "cg"
- name "GeneratePreserveRegions"
- value TRUE)))
- (object Attribute
- tool "cg"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ImplementationType"
- value "")
- (object Attribute
- tool "cg"
- name "ClassKey"
- value "class")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "PutBodiesInSpec"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDefaultConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "DefaultConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitDefaultConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateCopyConstructor"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "CopyConstructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ExplicitCopyConstructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDestructor"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DestructorVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DestructorKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineDestructor"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateAssignmentOperation"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "AssignmentVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "AssignmentKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineAssignmentOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateEqualityOperations"
- value ("GenerateSet" 199))
- (object Attribute
- tool "cg"
- name "EqualityVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "EqualityKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineEqualityOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "RelationalVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "RelationalKind"
- value ("FriendKindSet" 200))
- (object Attribute
- tool "cg"
- name "InlineRelationalOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StorageMgmtVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStorageMgmtOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "SubscriptVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "SubscriptKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "SubscriptResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineSubscriptOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DereferenceVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "DereferenceKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "DereferenceResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineDereferenceOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IndirectionVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "IndirectionKind"
- value ("ThreeKindSet" 200))
- (object Attribute
- tool "cg"
- name "IndirectionResultType"
- value "")
- (object Attribute
- tool "cg"
- name "InlineIndirectionOperation"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "StreamVisibility"
- value ("VisibilitySet" 45))
- (object Attribute
- tool "cg"
- name "InlineStreamOperations"
- value FALSE)
- (object Attribute
- tool "cg"
- name "ThreeKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)))
- (object Attribute
- tool "cg"
- name "KindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)))
- (object Attribute
- tool "cg"
- name "FriendKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GenerateSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "DeclareAndDefine"
- value 199)
- (object Attribute
- tool "cg"
- name "DeclareOnly"
- value 205)
- (object Attribute
- tool "cg"
- name "DoNotDeclare"
- value 206)))
- (object Attribute
- tool "cg"
- name "VisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)))
- (object Attribute
- tool "cg"
- name "ConstValue"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDefaultSpecifier"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DefaultSpecifier"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.services/src/rose/wsdlMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InclusionProtectionSymbol"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Generate"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "CmIdentification"
- value (value Text " %X% @(#) plugins/com.ibm.etools.ctc.services/src/rose/wsdlMdl.mdl, ctc, ibmctc"))
- (object Attribute
- tool "cg"
- name "CopyrightNotice"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "FileName"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "AllowExtensionlessFileName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludeFormat"
- value (value Text
-|// $package
-|#include "$file"
-|
- ))
- (object Attribute
- tool "cg"
- name "IncludeBySimpleName"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IncludePrecompiledHeader"
- value TRUE)
- (object Attribute
- tool "cg"
- name "IncludeOrder"
- value "AMIR")
- (object Attribute
- tool "cg"
- name "AdditionalIncludes"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "InliningStyle"
- value ("InliningStyleSet" 207))
- (object Attribute
- tool "cg"
- name "InliningStyleSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InClassDeclaration"
- value 208)
- (object Attribute
- tool "cg"
- name "FollowingClassDeclaration"
- value 207)))
- (object Attribute
- tool "cg"
- name "TypesDefined"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "IncludeClosure"
- value (value Text ""))))
- (object Attribute
- tool "cg"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "OperationKind"
- value ("OperationKindSet" 200))
- (object Attribute
- tool "cg"
- name "OperationKindSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "OperationIsConst"
- value FALSE)
- (object Attribute
- tool "cg"
- name "OperationIsExplicit"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Inline"
- value FALSE)
- (object Attribute
- tool "cg"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ExitCode"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))
- (object Attribute
- tool "cg"
- name "BodyAnnotations"
- value "")
- (object Attribute
- tool "cg"
- name "OperationIsOneWay"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Context"
- value "")
- (object Attribute
- tool "cg"
- name "Raises"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "Ordered"
- value TRUE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$supplier")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$relationship")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$relationship")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorName"
- value "")
- (object Attribute
- tool "cg"
- name "SelectorType"
- value "")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedHasRelType"
- value ("HasRelTypeSet" 47))
- (object Attribute
- tool "cg"
- name "HasRelTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Association"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")))
- (object Attribute
- tool "cg"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "InstanceArguments"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "NameIfUnlabeled"
- value "the_$targetClass")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "InitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "ContainerClass"
- value "")
- (object Attribute
- tool "cg"
- name "ContainerGet"
- value "$data.get($keys)")
- (object Attribute
- tool "cg"
- name "ContainerSet"
- value "$data.set($keys,$value)")
- (object Attribute
- tool "cg"
- name "QualifiedContainer"
- value "")
- (object Attribute
- tool "cg"
- name "AssocClassContainer"
- value "$supplier *")
- (object Attribute
- tool "cg"
- name "AssocClassInitialValue"
- value (value Text ""))
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReference"
- value ("QualifiedGetSetByReferenceSet" 2))
- (object Attribute
- tool "cg"
- name "QualifiedGetSetByReferenceSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_GetSetByReference"
- value 2)))
- (object Attribute
- tool "cg"
- name "GenerateQualifiedGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "QualifiedGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineQualifiedGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateQualifiedSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "QualifiedSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "QualifiedSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineQualifiedSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberName"
- value "$target")
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtRelationshipVisibility"
- value 210)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "AssocClassDataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "AssocClassGetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GenerateAssocClassGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetName"
- value "get_$target")
- (object Attribute
- tool "cg"
- name "AssocClassGetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassGetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "InlineAssocClassGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateAssocClassSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassSetName"
- value "set_$target")
- (object Attribute
- tool "cg"
- name "AssocClassSetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineAssocClassSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "AssocClassForwardReferenceOnly"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BoundedRoleType"
- value ("AssocTypeSet" 47))
- (object Attribute
- tool "cg"
- name "AssocTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Array"
- value 24)
- (object Attribute
- tool "cg"
- name "Sequence"
- value 47)))))
- (object Attribute
- tool "cg"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "cg"
- name "DataMemberName"
- value "$attribute")
- (object Attribute
- tool "cg"
- name "DataMemberVisibility"
- value ("DataMemberVisibilitySet" 14))
- (object Attribute
- tool "cg"
- name "DataMemberVisibilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Public"
- value 45)
- (object Attribute
- tool "cg"
- name "Protected"
- value 44)
- (object Attribute
- tool "cg"
- name "Private"
- value 43)
- (object Attribute
- tool "cg"
- name "Implementation"
- value 14)
- (object Attribute
- tool "cg"
- name "AtAttributeVisibility"
- value 211)))
- (object Attribute
- tool "cg"
- name "DataMemberMutability"
- value ("DataMemberMutabilitySet" 0))
- (object Attribute
- tool "cg"
- name "DataMemberMutabilitySet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Unrestricted"
- value 0)
- (object Attribute
- tool "cg"
- name "Mutable"
- value 1)
- (object Attribute
- tool "cg"
- name "Const"
- value 2)))
- (object Attribute
- tool "cg"
- name "DataMemberIsVolatile"
- value FALSE)
- (object Attribute
- tool "cg"
- name "DataMemberFieldSize"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateGetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GenerateSetOperation"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetName"
- value "get_$attribute")
- (object Attribute
- tool "cg"
- name "SetName"
- value "set_$attribute")
- (object Attribute
- tool "cg"
- name "GetSetKinds"
- value ("GetSetKindsSet" 200))
- (object Attribute
- tool "cg"
- name "GetSetKindsSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Common"
- value 200)
- (object Attribute
- tool "cg"
- name "Virtual"
- value 201)
- (object Attribute
- tool "cg"
- name "Abstract"
- value 202)
- (object Attribute
- tool "cg"
- name "Static"
- value 203)
- (object Attribute
- tool "cg"
- name "Friend"
- value 204)))
- (object Attribute
- tool "cg"
- name "GetIsConst"
- value TRUE)
- (object Attribute
- tool "cg"
- name "GetResultIsConst"
- value ("GetResultIsConstSet" 2))
- (object Attribute
- tool "cg"
- name "GetResultIsConstSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "False"
- value 0)
- (object Attribute
- tool "cg"
- name "True"
- value 1)
- (object Attribute
- tool "cg"
- name "Same_As_Function"
- value 2)))
- (object Attribute
- tool "cg"
- name "GetSetByReference"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineGet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "SetReturnsValue"
- value FALSE)
- (object Attribute
- tool "cg"
- name "InlineSet"
- value TRUE)
- (object Attribute
- tool "cg"
- name "CaseSpecifier"
- value "")
- (object Attribute
- tool "cg"
- name "IsReadOnly"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Uses"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "ForwardReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "BodyReferenceOnly"
- value FALSE)
- (object Attribute
- tool "cg"
- name "GenerateForwardReference"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "default__Subsystem"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "Directory"
- value "AUTO GENERATE")
- (object Attribute
- tool "cg"
- name "DirectoryIsOnSearchList"
- value FALSE)
- (object Attribute
- tool "cg"
- name "PrecompiledHeader"
- value "")))
- (object Attribute
- tool "cg"
- name "default__Category"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "IsNamespace"
- value FALSE)
- (object Attribute
- tool "cg"
- name "Indent"
- value 2)
- (object Attribute
- tool "cg"
- name "CodeName"
- value "")
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegions"
- value ("GenerateEmptyRegionSet" 3))
- (object Attribute
- tool "cg"
- name "GenerateEmptyRegionSet"
- value (list Attribute_Set
- (object Attribute
- tool "cg"
- name "None"
- value 0)
- (object Attribute
- tool "cg"
- name "Preserved"
- value 1)
- (object Attribute
- tool "cg"
- name "Unpreserved"
- value 2)
- (object Attribute
- tool "cg"
- name "All"
- value 3)))))
- (object Attribute
- tool "MSVC"
- name "propertyId"
- value "809135966")
- (object Attribute
- tool "MSVC"
- name "default__Project"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Version"
- value "5.0")))
- (object Attribute
- tool "MSVC"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCClassTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCClassTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Interface_Part"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Connection_Part"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Class_Factory"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionality"
- value ("CObjectFunctionalitySet" 0))
- (object Attribute
- tool "MSVC"
- name "CObjectFunctionalitySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Dynamic"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Dyncreate"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Serial"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "GenerateOverrideGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateDataGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DATA_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateFieldGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_FIELD_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMessageGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "GenerateMessageMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "OLEFactory"
- value ("OLEFactorySet" 0))
- (object Attribute
- tool "MSVC"
- name "OLEFactorySet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "None"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Built_in"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Simple"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Licensed"
- value 3)))
- (object Attribute
- tool "MSVC"
- name "OLEName"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLEClassID"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLECtlType"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLECtlType"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateOLETypeLib"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLETypeLibID"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMajor"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLETypeLibMinor"
- value "")
- (object Attribute
- tool "MSVC"
- name "GeneratePropPageIDs"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "OLEPropPageIDs"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateDispatchMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockProperties"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockFunctions"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DispatchDefValue"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateDispIdEnum"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_DISP_ID_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInterfaceMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "INTERFACE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "InitInterface"
- value "")
- (object Attribute
- tool "MSVC"
- name "GenerateEventMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "StockEvents"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateEventSinkMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "PropNotifySinks"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ConnectionPointIID"
- value "")
- (object Attribute
- tool "MSVC"
- name "InheritanceType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "OLECommands"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCDeclares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MFCImplements"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "ATL_Declares"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateCOMMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "COM_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateConnectionPointMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "CONNECTION_POINT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateMsgMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GeneratePropertyMap"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "PROPERTY_MAP_Entries"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCOperationTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCOperationTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Virtual_Override"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Message_Handler"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dispatch_Handler"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Event_Firing_Function"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Event_Sink_Handler"
- value 5)
- (object Attribute
- tool "MSVC"
- name "Std_OLE_Method"
- value 6)
- (object Attribute
- tool "MSVC"
- name "Command_Parser"
- value 7)
- (object Attribute
- tool "MSVC"
- name "Property_Get_Function"
- value 8)
- (object Attribute
- tool "MSVC"
- name "Property_Set_Function"
- value 9)
- (object Attribute
- tool "MSVC"
- name "Property_Notify_Function"
- value 10)
- (object Attribute
- tool "MSVC"
- name "Macro_Generated_Function"
- value 11)))
- (object Attribute
- tool "MSVC"
- name "AFX_MSG_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "MESSAGE_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENT_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "AFX_EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "EVENTSINK_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "BodyImage"
- value (value Text ""))))
- (object Attribute
- tool "MSVC"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Has"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Type"
- value ("MSVCAttributeTypeSet" 0))
- (object Attribute
- tool "MSVC"
- name "MSVCAttributeTypeSet"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "Normal"
- value 0)
- (object Attribute
- tool "MSVC"
- name "Member_Property"
- value 1)
- (object Attribute
- tool "MSVC"
- name "Get_Set_Property"
- value 2)
- (object Attribute
- tool "MSVC"
- name "Dialog_Data"
- value 3)
- (object Attribute
- tool "MSVC"
- name "Field_Data"
- value 4)
- (object Attribute
- tool "MSVC"
- name "Stock_Property"
- value 5)))
- (object Attribute
- tool "MSVC"
- name "AFX_DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DISPATCH_MAP_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "DeclSpec"
- value "")
- (object Attribute
- tool "MSVC"
- name "PointerBase"
- value "")
- (object Attribute
- tool "MSVC"
- name "CallType"
- value "")
- (object Attribute
- tool "MSVC"
- name "StockPropertyImplementation"
- value "")))
- (object Attribute
- tool "MSVC"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "MSVC"
- name "default__Module-Body"
- value (list Attribute_Set
- (object Attribute
- tool "MSVC"
- name "GenerateIncludesGroup"
- value FALSE)
- (object Attribute
- tool "MSVC"
- name "AFX_INCLUDES_Entries"
- value (value Text ""))
- (object Attribute
- tool "MSVC"
- name "GenerateInsertLocation"
- value FALSE)))
- (object Attribute
- tool "cg"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "SCC"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "TypeLibImporter"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "propertyId"
- value "783606378")
- (object Attribute
- tool "Visual Basic"
- name "default__Class"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "CreatableSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "Private"
- value 221)
- (object Attribute
- tool "Visual Basic"
- name "PublicNotCreatable"
- value 213)
- (object Attribute
- tool "Visual Basic"
- name "SingleUse"
- value 214)
- (object Attribute
- tool "Visual Basic"
- name "GlobalSingleUse"
- value 215)
- (object Attribute
- tool "Visual Basic"
- name "MultiUse"
- value 219)
- (object Attribute
- tool "Visual Basic"
- name "GlobalMultiUse"
- value 220)))
- (object Attribute
- tool "Visual Basic"
- name "OptionBase"
- value "0")
- (object Attribute
- tool "Visual Basic"
- name "OptionExplicit"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "OptionCompare"
- value ("CompareSet" 202))
- (object Attribute
- tool "Visual Basic"
- name "Creatable"
- value ("CreatableSet" 221))
- (object Attribute
- tool "Visual Basic"
- name "GenerateInitialization"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateTermination"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "CollectionClass"
- value "Collection")
- (object Attribute
- tool "Visual Basic"
- name "CompareSet"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "None"
- value 202)
- (object Attribute
- tool "Visual Basic"
- name "Binary"
- value 203)
- (object Attribute
- tool "Visual Basic"
- name "Text"
- value 204)))))
- (object Attribute
- tool "Visual Basic"
- name "default__Operation"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "OperationName"
- value "$operation")
- (object Attribute
- tool "Visual Basic"
- name "LibraryName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "AliasName"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "IsStatic"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "EntryCode"
- value (value Text ""))
- (object Attribute
- tool "Visual Basic"
- name "ExitCode"
- value (value Text ""))))
- (object Attribute
- tool "Visual Basic"
- name "default__Attribute"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "IsConst"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Role"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "New"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "WithEvents"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "Subscript"
- value "")
- (object Attribute
- tool "Visual Basic"
- name "NameIfUnlabeled"
- value "the$supplier")
- (object Attribute
- tool "Visual Basic"
- name "GenerateDataMember"
- value TRUE)
- (object Attribute
- tool "Visual Basic"
- name "DataMemberName"
- value "$relationship")
- (object Attribute
- tool "Visual Basic"
- name "GenerateGetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateSetOperation"
- value FALSE)
- (object Attribute
- tool "Visual Basic"
- name "GenerateLetOperation"
- value FALSE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Inherit"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ImplementsDelegation"
- value TRUE)))
- (object Attribute
- tool "Visual Basic"
- name "default__Module-Spec"
- value (list Attribute_Set
- (object Attribute
- tool "Visual Basic"
- name "ProjectFile"
- value "")))
- (object Attribute
- tool "Visual Basic"
- name "HiddenTool"
- value FALSE)
- (object Attribute
- tool "VisualStudio"
- name "HiddenTool"
- value FALSE))
- quid "39E27F080067"))
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/com.ibm.etools.WSDL.cat b/bundles/org.eclipse.wst.wsdl/src-wsdl/model/com.ibm.etools.WSDL.cat
deleted file mode 100644
index 4627bd78a..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/com.ibm.etools.WSDL.cat
+++ /dev/null
@@ -1,6997 +0,0 @@
-
-(object Petal
- version 42
- _written "Rose 4.5.8054a"
- charSet 0)
-
-(object Class_Category "wsdl"
- is_unit TRUE
- is_loaded TRUE
- quid "3ADFB8E5021E"
- documentation
-|The WSDL model contains classes for the Web Services Description Language (WSDL).
-|
-|WSDL describes network services as sets of endpoints operating on messages. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
-|
-|WSDL describes the formats of the messages exchanged by the services, and supports the XML Schemas specification as its canonical type system. This package uses an XML Schema Infoset model package (see the XSD package) to describe the abstract message formats.
-|
-|The model contains the following diagrams, named after the corresponding chapters in the WSDL 1.1 specification (http://www.w3.org/TR/2001/NOTE-wsdl-20010315)
-|- 2.1 Definition, shows the WSDL definition element and the WSDL document structure
-|- 2.1.1 Naming and Linking, shows the namespace and import mechanism
-|- 2.1.3 Extensibility, shows the WSDL extensibility mechanism
-|- 2.2 Types, shows the use of XML Schema types in WSDL
-|- 2.3 Messages, 2.4 PortTypes, 2.5 Bindings and 2.7 Services, show the major WSDL elements and their relations.
-|
-|The WSDL classes extend the javax.wsdl interfaces defined by JSR 110. Classes with interface and datatype stereotypes are used to represent these non-MOF interfaces.
-
- exportControl "Public"
- logical_models (list unit_reference_list
- (object Class "WSDLElement"
- quid "3AD5C6A302DD"
- documentation "This class represents a WSDL language element."
- operations (list Operations
- (object Operation "getEnclosingDefinition"
- quid "3CD1529600C8"
- result "Definition"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setEnclosingDefinition"
- quid "3CD152B80347"
- parameters (list Parameters
- (object Parameter "definition"
- type "Definition"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "documentationElement"
- quid "3CCE443602A3"
- type "DOMElement")
- (object ClassAttribute "element"
- quid "3F97DBD30207"
- type "DOMElement"))
- language "Java"
- abstract TRUE)
- (object Class "PortType"
- quid "3AD5C7F001A5"
- documentation "This class represents a WSDL portType element of the WSDL specification version 1.1 and an Interface component of the WSDL specification version 1.2. A port type or Interface is a named set of abstract operations and the abstract messages involved."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5C9B70150"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FD8019F"
- supplier "Logical View::wsdl::IPortType"
- quidu "3B84A5BE0331"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB488E0023"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1E301E5"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CDEB0316"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4FD01BA"
- type "String"))
- language "Java")
- (object Class "Operation"
- quid "3AD5C80D03CE"
- documentation "This class represents a WSDL operation element. A WSDL operation is an abstract description of an action supported by a service."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE9DE98003C"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F1FE20171"
- supplier "Logical View::wsdl::IOperation"
- quidu "3B84A77600D1"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "style"
- quid "3AEB472601AC"
- type "OperationType")
- (object ClassAttribute "name"
- quid "3BDD9643004C"
- type "String")
- (object ClassAttribute "undefined"
- quid "3BDDF235003E"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE2201AD"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D520011B"
- type "String"))
- language "Java")
- (object Class "Message"
- quid "3AD5C9590078"
- documentation "This class represents a WSDL message element. A WSDL message is an abstract, typed definition of the data being communicated."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5D05501C4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3B84A8D102BA"
- supplier "Logical View::wsdl::IMessage"
- quidu "3B84A8AF004F"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB487C01FE"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1D20226"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE4B02B0"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D54200F1"
- type "String"))
- language "Java")
- (object Class "Part"
- quid "3AD5CE1C032E"
- documentation "This class represents a WSDL part element. Parts describe the logical abstract content of a message. Each part is associated with a type from some type system. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84A96D02F1"
- supplier "Logical View::wsdl::IPart"
- quidu "3B84A93F01BE")
- (object Inheritance_Relationship
- quid "3B897E230237"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3BCE70B703C8"
- type "String")
- (object ClassAttribute "elementName"
- quid "3B84B08703DB"
- type "QName")
- (object ClassAttribute "typeName"
- quid "3BCE70C303C5"
- type "QName"))
- language "Java")
- (object Class "Binding"
- quid "3AD5D2860261"
- documentation "This class represents a WSDL binding element. A binding defines message format and protocol details for operations and messages defined by a particular portType. There may be any number of bindings for a given portType."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA0F02F0"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B8595410129"
- supplier "Logical View::wsdl::IBinding"
- quidu "3B84ABC60219"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB4899014B"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF1F401A3"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18CE6D0151"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4DF035C"
- type "String"))
- language "Java")
- (object Class "BindingOperation"
- quid "3AD5D3CB0145"
- documentation "This class represents a WSDL operation element within a binding. An operation element within a binding specifies binding information for the operation with the same name within the binding's portType. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD6009202F7"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84ADE401DC"
- supplier "Logical View::wsdl::IBindingOperation"
- quidu "3B84ADC00072"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B89C4CB0199"
- type "String"))
- language "Java")
- (object Class "Service"
- quid "3AD5D8F002F8"
- documentation "This class represents a WSDL service element. A service groups a set of related ports together."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FA20025E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954E01B4"
- supplier "Logical View::wsdl::IService"
- quidu "3B84AB490287"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "qName"
- quid "3AEB48A40151"
- type "QName")
- (object ClassAttribute "undefined"
- quid "3BDDF20D0203"
- type "boolean")
- (object ClassAttribute "proxy"
- quid "3D18D4810220"
- type "boolean")
- (object ClassAttribute "resourceURI"
- quid "3D18D4C501E2"
- type "String"))
- language "Java")
- (object Class "Port"
- quid "3AD5D9170286"
- documentation "This class represents a WSDL port element. A port defines an individual endpoint by specifying a single address for a binding"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD600CB00AA"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B85954502C9"
- supplier "Logical View::wsdl::IPort"
- quidu "3B84AB800326"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3AD5D9A00391"
- type "String"))
- language "Java")
- (object Class "ExtensibilityElement"
- quid "3AD5DBB602A9"
- documentation "This class represents a WSDL extensibility element. WSDL allows extensibility elements representing a specific technology under various elements defined by WSDL."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84B14903D0"
- supplier "Logical View::wsdl::IExtensibilityElement"
- quidu "3B84B12402AB")
- (object Inheritance_Relationship
- quid "3BDDF53502C3"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "required"
- quid "3AF9543C0073"
- type "boolean")
- (object ClassAttribute "elementType"
- attributes (list Attribute_Set
- (object Attribute
- tool "Ecore"
- name "isTransient"
- value TRUE))
- quid "3B85B21A0271"
- type "QName"))
- language "Java")
- (object Class "Definition"
- quid "3AD5E43F008E"
- documentation "This class represents a WSDL definitions element. The WSDL definitions element is the root element of a WSDL document."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FDB803D4"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84B1F80382"
- supplier "Logical View::wsdl::IDefinition"
- quidu "3B84B1D90142"))
- operations (list Operations
- (object Operation "getDocument"
- quid "3CD14FC2012B"
- result "DOMDocument"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocument"
- quid "3CD150DE01E7"
- parameters (list Parameters
- (object Parameter "document"
- type "DOMDocument"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "targetNamespace"
- quid "3AD5E474004E"
- type "String")
- (object ClassAttribute "location"
- quid "40352B7C0396"
- type "String")
- (object ClassAttribute "qName"
- quid "3AEB485702F5"
- type "QName")
- (object ClassAttribute "encoding"
- quid "3CADD00D000D"
- type "String"))
- language "Java")
- (object Class "Import"
- quid "3AD5E4F903DE"
- documentation "This class represents WSDL import element. WSDL allows associating a namespace with a document location using an import element."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5EE58037A"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F6F200D0340"
- supplier "Logical View::wsdl::IImport"
- quidu "3B84B2020119"))
- operations (list Operations
- (object Operation "getSchema"
- quid "3C8672C10379"
- result "XSDSchema"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setSchema"
- quid "3C8672C10397"
- parameters (list Parameters
- (object Parameter "schema"
- type "XSDSchema"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "namespaceURI"
- quid "3AD5E50A0036"
- type "String")
- (object ClassAttribute "locationURI"
- quid "3AD5E5140211"
- type "String"))
- language "Java")
- (object Class "ExtensibleElement"
- quid "3AD5FCFA033A"
- documentation " WSDL allows elements representing a specific technology (referred to here as extensibility elements) under various elements defined by WSDL. This class represents a WSDL point of extensibility."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AD5FE3C03D4"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- operations (list Operations
- (object Operation "getExtensibilityElements"
- quid "3B85C12C03CD"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addExtensibilityElement"
- quid "3B85C1470295"
- parameters (list Parameters
- (object Parameter "extElement"
- type "IExtensibilityElement"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- language "Java"
- abstract TRUE)
- (object Class "Input"
- quid "3AE0789F0059"
- documentation "This class represents a WSDL input element. An input element specifies the abstract message format for the input of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C504025F"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67722802E7"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FEE031D"
- supplier "Logical View::wsdl::IInput"
- quidu "3B84A7EE0015"))
- language "Java")
- (object Class "Output"
- quid "3AE078B60232"
- documentation "This class represents a WSDL output element. An output element specifies the abstract message format for the output of the operation."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B85C50C035B"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723500DD"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F1FF801CD"
- supplier "Logical View::wsdl::IOutput"
- quidu "3B84A829027D"))
- language "Java")
- (object Class "Fault"
- quid "3AE078BE0108"
- documentation "This class represents a WSDL fault element. Fault elements specify the abstract message format for any error messages that may be output as the result of the operation "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE1C82002F2"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD")
- (object Inheritance_Relationship
- quid "3F67723D0319"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")
- (object Inheritance_Relationship
- quid "3F6F2002002D"
- supplier "Logical View::wsdl::IFault"
- quidu "3B84A861031D"))
- language "Java")
- (object Class "BindingInput"
- quid "3AE08A8202D4"
- documentation "This class represents a WSDL input element within a operation within a binding. An input element within an operation within a binding specifies binding information for the input of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE1B0113"
- supplier "Logical View::wsdl::IBindingInput"
- quidu "3B84ADEB0100")
- (object Inheritance_Relationship
- quid "3B85B59B0072"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getInput"
- quid "3C8653A40203"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8653B503A2"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C1EA020E"
- type "String"))
- language "Java")
- (object Class "BindingOutput"
- quid "3AE08A8F028C"
- documentation "This class represents a WSDL output element within a operation within a binding. An output element within an operation within a binding specifies binding information for the output of the operation. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B84AE4302AB"
- supplier "Logical View::wsdl::IBindingOutput"
- quidu "3B84AE210111")
- (object Inheritance_Relationship
- quid "3B85B5A4027E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"))
- operations (list Operations
- (object Operation "getOutput"
- quid "3C8653D900F1"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8653F10326"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85C20200BE"
- type "String"))
- language "Java")
- (object Class "BindingFault"
- quid "3AE08A9E03A6"
- documentation "This class represents a WSDL fault element within a operation within a binding. A fault element within an operation within a binding specifies binding information for the fault with the same name. "
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3AE0938602C9"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3B84AE710333"
- supplier "Logical View::wsdl::IBindingFault"
- quidu "3B84AE4F00BD"))
- operations (list Operations
- (object Operation "getFault"
- quid "3C865413037F"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setFault"
- quid "3C8654210109"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3B85BF9E014A"
- type "String"))
- language "Java")
- (object Class "QName"
- quid "3AE8ED220140"
- documentation "This class represents the javax.wsdl.QName class. A QName is a fully qualified name."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.xml.namespace.QName"
- quid "3B849DA9003D"
- stereotype "javaclass"))
- language "Java")
- (object Class "Namespace"
- quid "3AEA3CD30030"
- documentation "This class represents a namespace and the corresponding namespace prefix used in a WSDL document."
- class_attributes (list class_attribute_list
- (object ClassAttribute "URI"
- quid "3AEA3D2901B1"
- type "String")
- (object ClassAttribute "prefix"
- quid "3AEA3D320236"
- type "String"))
- language "Java")
- (object Class "OperationType"
- quid "3AEB4782024F"
- documentation
-|ONE_WAY=1
-|REQUEST_RESPONSE=2
-|SOLICIT_RESPONSE=3
-|NOTIFICATION=4
-
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.OperationType"
- quid "3B85C35303E3"
- stereotype "javaclass"))
- language "Java")
- (object Class "IPortType"
- quid "3B84A5BE0331"
- documentation "This class represents the javax.wsdl.PortType non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addOperation"
- quid "3B896AC101CA"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3B896BAF01A4"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperations"
- quid "3B896BF7031A"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.PortType"
- quid "3B84A632000D"
- stereotype "javaclass")))
- (object Class "IOperation"
- quid "3B84A77600D1"
- documentation "This class represents the javax.wsdl.Operation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addFault"
- quid "3B896C420065"
- parameters (list Parameters
- (object Parameter "fault"
- type "IFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFault"
- quid "3B896C59028F"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getFaults"
- quid "3B896C7102B1"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParameterOrdering"
- quid "3B896C8101B0"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setParameterOrdering"
- quid "3B896C99031D"
- parameters (list Parameters
- (object Parameter "parameterOrder"
- type "IList"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getInput"
- quid "3C8654E5018D"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setInput"
- quid "3C8662C40107"
- parameters (list Parameters
- (object Parameter "input"
- type "IInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOutput"
- quid "3C8662E40094"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOutput"
- quid "3C8662F001D2"
- parameters (list Parameters
- (object Parameter "output"
- type "IOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Operation"
- quid "3B84A799012B"
- stereotype "javaclass")))
- (object Class "IInput"
- quid "3B84A7EE0015"
- documentation "This class represents the javax.wsdl.Input non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86633100EF"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8663470277"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Input"
- quid "3B84A8000039"
- stereotype "javaclass")))
- (object Class "IOutput"
- quid "3B84A829027D"
- documentation "This class represents the javax.wsdl.Output non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86643A035D"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C86644501C8"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Output"
- quid "3B84A83901D5"
- stereotype "javaclass")))
- (object Class "IFault"
- quid "3B84A861031D"
- documentation "This class represents the javax.wsdl.Fault non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getMessage"
- quid "3C86646A00BD"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setMessage"
- quid "3C8664750131"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Fault"
- quid "3B84A8710208"
- stereotype "javaclass")))
- (object Class "IMessage"
- quid "3B84A8AF004F"
- documentation "This class represents the javax.wsdl.Message non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPart"
- quid "3B8972240273"
- parameters (list Parameters
- (object Parameter "part"
- type "IPart"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPart"
- quid "3B89723D0233"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getParts"
- quid "3B897254025E"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOrderedParts"
- quid "3B897261020D"
- parameters (list Parameters
- (object Parameter "partOrder"
- type "IList"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Message"
- quid "3B84A8BC0260"
- stereotype "javaclass")))
- (object Class "IPart"
- quid "3B84A93F01BE"
- documentation "This class represents the javax.wsdl.Part non-MOF interface"
- stereotype "Interface"
- operations (list Operations
- (object Operation "setExtensionAttribute"
- quid "3C4688450052"
- parameters (list Parameters
- (object Parameter "name"
- type "QName")
- (object Parameter "value"
- type "QName"))
- exceptions "WSDLException"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttributeNames"
- quid "3C468A0101C3"
- result "IIterator"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionAttribute"
- quid "3C468A2D02D5"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "QName"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Part"
- quid "3B84A9500231"
- stereotype "javaclass")))
- (object Class "IService"
- quid "3B84AB490287"
- documentation "This class represents the javax.wsdl.Service non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addPort"
- quid "3B895D5601D1"
- parameters (list Parameters
- (object Parameter "port"
- type "IPort"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPorts"
- quid "3B895DA20036"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPort"
- quid "3B895DB001BC"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Service"
- quid "3B84AB5B003E"
- stereotype "javaclass")))
- (object Class "IPort"
- quid "3B84AB800326"
- documentation "This class represents the javax.wsdl.Port non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "getBinding"
- quid "3C8651F302B5"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBinding"
- quid "3C86526302F2"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Port"
- quid "3B84AB8C0016"
- stereotype "javaclass")))
- (object Class "IBinding"
- quid "3B84ABC60219"
- documentation "This class represents the javax.wsdl.Binding non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingOperation"
- quid "3B895F160153"
- parameters (list Parameters
- (object Parameter "bindingOperation"
- type "IBindingOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperation"
- quid "3B895F500066"
- parameters (list Parameters
- (object Parameter "name"
- type "String")
- (object Parameter "inputName"
- type "String")
- (object Parameter "outputName"
- type "String"))
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOperations"
- quid "3B895FA401C5"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3C8652A90284"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setPortType"
- quid "3C8652BE01A8"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Binding"
- quid "3B84ABCF0302"
- stereotype "javaclass")))
- (object Class "IBindingOperation"
- quid "3B84ADC00072"
- documentation "This class represents the javax.wsdl.BindingOperation non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBindingFault"
- quid "3B8960BC0041"
- parameters (list Parameters
- (object Parameter "bindingFault"
- type "IBindingFault"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFault"
- quid "3B8960D9009D"
- parameters (list Parameters
- (object Parameter "name"
- type "String"))
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingFaults"
- quid "3B8960FC0061"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getOperation"
- quid "3C86532D0017"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setOperation"
- quid "3C86533F037B"
- parameters (list Parameters
- (object Parameter "operation"
- type "IOperation"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingInput"
- quid "3C86550900DA"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingInput"
- quid "3C86551D007F"
- parameters (list Parameters
- (object Parameter "bindingInput"
- type "IBindingInput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindingOutput"
- quid "3C8655340349"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setBindingOutput"
- quid "3C86554702A6"
- parameters (list Parameters
- (object Parameter "bindingOutput"
- type "IBindingOutput"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOperation"
- quid "3B84ADCB021C"
- stereotype "javaclass")))
- (object Class "IBindingInput"
- quid "3B84ADEB0100"
- documentation "This class represents the javax.wsdl.BindingInput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingInput"
- quid "3B84ADFE000D"
- stereotype "javaclass")))
- (object Class "IBindingOutput"
- quid "3B84AE210111"
- documentation "This class represents the javax.wsdl.BindingOutput non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingOutput"
- quid "3B84AE2D0050"
- stereotype "javaclass")))
- (object Class "IBindingFault"
- quid "3B84AE4F00BD"
- documentation "This class represents the javax.wsdl.BindingFault non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.BindingFault"
- quid "3B84AE5F002A"
- stereotype "javaclass")))
- (object Class "DOMElement"
- quid "3B84AF3203DB"
- documentation "This class represents the org.w3c.dom.Element non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Element"
- quid "3B84AF560292"
- stereotype "javaclass")))
- (object Class "IExtensibilityElement"
- quid "3B84B12402AB"
- documentation "This class represents the javax.wsdl.ExtensibilityElement non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensibilityElement"
- quid "3B84B13503D1"
- stereotype "javaclass")))
- (object Class "IDefinition"
- quid "3B84B1D90142"
- documentation "This class represents the javax.wsdl.Definition non-MOF interface."
- stereotype "Interface"
- operations (list Operations
- (object Operation "addBinding"
- quid "3B8988F1039D"
- parameters (list Parameters
- (object Parameter "binding"
- type "IBinding"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addImport"
- quid "3B8989490259"
- parameters (list Parameters
- (object Parameter "importDef"
- type "IImport"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addMessage"
- quid "3B89896E005E"
- parameters (list Parameters
- (object Parameter "message"
- type "IMessage"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addNamespace"
- quid "3B898984004B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String")
- (object Parameter "namespaceURI"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addPortType"
- quid "3B8989C50045"
- parameters (list Parameters
- (object Parameter "portType"
- type "IPortType"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "addService"
- quid "3B8989E401EE"
- parameters (list Parameters
- (object Parameter "service"
- type "IService"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingFault"
- quid "3B898A17038C"
- result "IBindingFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingInput"
- quid "3B898A320286"
- result "IBindingInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOutput"
- quid "3B898A46013B"
- result "IBindingOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBindingOperation"
- quid "3B898A5C00B0"
- result "IBindingOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createBinding"
- quid "3B8989FE037C"
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createFault"
- quid "3B898A7502E7"
- result "IFault"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createImport"
- quid "3B898A83014C"
- result "IImport"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createInput"
- quid "3B898A9D033E"
- result "IInput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createMessage"
- quid "3B898AAF0254"
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOperation"
- quid "3B898AC203C4"
- result "IOperation"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createOutput"
- quid "3B898AE800ED"
- result "IOutput"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPart"
- quid "3B898AF8026D"
- result "IPart"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPort"
- quid "3B898B0801DA"
- result "IPort"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createPortType"
- quid "3B898B15039B"
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createService"
- quid "3B898B32013A"
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBinding"
- quid "3B898B420075"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getBindings"
- quid "3B898B920341"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BCD0060"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getImports"
- quid "3B898BE70144"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessage"
- quid "3B898C170107"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getMessages"
- quid "3B898C3E001D"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespace"
- quid "3B898C62014B"
- parameters (list Parameters
- (object Parameter "prefix"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getNamespaces"
- quid "3B898C740115"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortType"
- quid "3B898CBE0071"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPortTypes"
- quid "3B898CDA01C6"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getPrefix"
- quid "3B898CFD0017"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getService"
- quid "3B898D2300A8"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getServices"
- quid "3B898D3B03CE"
- result "IMap"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getExtensionRegistry"
- quid "3B89D5B8012B"
- result "IExtensionRegistry"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setExtensionRegistry"
- quid "3B89D5D703BB"
- parameters (list Parameters
- (object Parameter "extensionRegistry"
- type "IExtensionRegistry"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getDocumentBaseURI"
- quid "3B89D5FE0208"
- result "String"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setDocumentBaseURI"
- quid "3B89D6180328"
- parameters (list Parameters
- (object Parameter "documentBase"
- type "String"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "createTypes"
- quid "3CADD0560080"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeService"
- quid "3CADD07E004C"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IService"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeBinding"
- quid "3CADD0BA0355"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IBinding"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removePortType"
- quid "3CADD0D8029A"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IPortType"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "removeMessage"
- quid "3CADD0FA0307"
- parameters (list Parameters
- (object Parameter "name"
- type "QName"))
- result "IMessage"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getTypes"
- quid "3C86706F031B"
- result "ITypes"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "setTypes"
- quid "3C86709500EE"
- parameters (list Parameters
- (object Parameter "types"
- type "ITypes"))
- concurrency "Sequential"
- opExportControl "Public"
- uid 0))
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Definition"
- quid "3B84B1E702A1"
- stereotype "javaclass")))
- (object Class "IImport"
- quid "3B84B2020119"
- documentation "This class represents the javax.wsdl.Import non-MOF interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Import"
- quid "3B84B20C02EA"
- stereotype "javaclass")))
- (object Class "IList"
- quid "3B85C0A203C5"
- documentation "This class represents the non-MOF java.util.List interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.List"
- quid "3B85C0AF0297"
- stereotype "javaclass")))
- (object Class "IMap"
- quid "3B896B0300D4"
- documentation "This class represents the non-MOF java.util.Map interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Map"
- quid "3B896B1102B5"
- stereotype "javaclass")))
- (object Class "IURL"
- quid "3B89D5630274"
- documentation "This class represents the non-MOF java.net.URL interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.net.URL"
- quid "3B89D56E03E2"
- stereotype "javaclass")))
- (object Class "IExtensionRegistry"
- quid "3B89D59302A5"
- documentation "This class represents the non-MOF javax.wsdl.extensions.ExtensionRegistry interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.extensions.ExtensionRegistry"
- quid "3B89D59F02E8"
- stereotype "javaclass")))
- (object Class "Types"
- quid "3B8BE9A603A8"
- documentation "This class represents a WSDL types element. The types element encloses data type definitions that are relevant for the exchanged messages."
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3B8BEB010311"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A")
- (object Inheritance_Relationship
- quid "3CADCD3B0380"
- supplier "Logical View::wsdl::ITypes"
- quidu "3CADCBB20050"))
- operations (list Operations
- (object Operation "getSchemas"
- quid "3CADCF3803E6"
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)
- (object Operation "getSchemas"
- quid "3CADCF7E0301"
- parameters (list Parameters
- (object Parameter "namespaceURI"
- type "String"))
- result "IList"
- concurrency "Sequential"
- opExportControl "Public"
- uid 0)))
- (object Class "IIterator"
- quid "3C4687DA0167"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "java.util.Iterator"
- quid "3C46880800B9"
- stereotype "javaclass")))
- (object Class "WSDLException"
- quid "3C4689650313"
- documentation "This class represents the javax.wsdl.Exception class."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.WSDLException"
- quid "3C4689740315"
- stereotype "javaclass")))
- (object Class "ITypes"
- quid "3CADCBB20050"
- documentation "This class represents the javax.wsdl.Types non-MOF interface"
- stereotype "Interface"
- class_attributes (list class_attribute_list
- (object ClassAttribute "javax.wsdl.Types"
- quid "3CADCBF10173"
- stereotype "javaclass")))
- (object Class "UnknownExtensibilityElement"
- quid "3CB24AC002AE"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CB24AEC01CB"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "XSDSchemaExtensibilityElement"
- quid "3CC360D7039C"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3CC3627F00B7"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9")))
- (object Class "DOMDocument"
- quid "3CD1502C023B"
- documentation "This class represents the org.w3c.dom.Document non-MOF interface."
- stereotype "datatype"
- class_attributes (list class_attribute_list
- (object ClassAttribute "org.w3c.dom.Document"
- quid "3CD150600182"
- stereotype "javaclass")))
- (object Class "MessageReference"
- quid "3F6771DB02DC"
- superclasses (list inheritance_relationship_list
- (object Inheritance_Relationship
- quid "3F762A6A0308"
- supplier "Logical View::wsdl::WSDLElement"
- quidu "3AD5C6A302DD"))
- class_attributes (list class_attribute_list
- (object ClassAttribute "name"
- quid "3F6780A001AB"
- type "String"
- exportControl "Protected"))
- language "Java"
- abstract TRUE)
- (object Association "$UNNAMED$0"
- quid "3AD5C824018C"
- roles (list role_list
- (object Role "portType"
- quid "3AD5C82701C3"
- label "portType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- Containment "By Value"
- is_aggregate TRUE)
- (object Role "eOperations"
- quid "3AD5C82701CD"
- label "eOperations"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$1"
- quid "3AD5CEBE00E2"
- roles (list role_list
- (object Role "$UNNAMED$2"
- quid "3AD5CEBF0057"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eParts"
- quid "3AD5CEBF0061"
- label "eParts"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$3"
- quid "3AD5D352010F"
- roles (list role_list
- (object Role "ePortType"
- quid "3AD5D3540176"
- label "ePortType"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$4"
- quid "3AD5D3540180"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261")))
- (object Association "$UNNAMED$5"
- quid "3AD5D3E10179"
- roles (list role_list
- (object Role "$UNNAMED$6"
- quid "3AD5D3E20225"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindingOperations"
- quid "3AD5D3E20239"
- label "eBindingOperations"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$7"
- quid "3AD5D425038A"
- roles (list role_list
- (object Role "eOperation"
- quid "3AD5D42602F5"
- label "eOperation"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$8"
- quid "3AD5D42602FF"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145")))
- (object Association "$UNNAMED$9"
- quid "3AD5D9400393"
- roles (list role_list
- (object Role "ePorts"
- quid "3AD5D941031C"
- label "ePorts"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$10"
- quid "3AD5D941031D"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$11"
- quid "3AD5D9B8011F"
- roles (list role_list
- (object Role "eBinding"
- quid "3AD5D9B9024D"
- label "eBinding"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$12"
- quid "3AD5D9B90261"
- supplier "Logical View::wsdl::Port"
- quidu "3AD5D9170286")))
- (object Association "$UNNAMED$13"
- quid "3AD5E60301E2"
- roles (list role_list
- (object Role "$UNNAMED$14"
- quid "3AD5E60400B7"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eMessages"
- quid "3AD5E60400C1"
- label "eMessages"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$15"
- quid "3AD5E6710104"
- roles (list role_list
- (object Role "$UNNAMED$16"
- quid "3AD5E672034A"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "ePortTypes"
- quid "3AD5E6720354"
- label "ePortTypes"
- supplier "Logical View::wsdl::PortType"
- quidu "3AD5C7F001A5"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$17"
- quid "3AD5E6770095"
- roles (list role_list
- (object Role "$UNNAMED$18"
- quid "3AD5E6780371"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eBindings"
- quid "3AD5E678037B"
- label "eBindings"
- supplier "Logical View::wsdl::Binding"
- quidu "3AD5D2860261"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$19"
- quid "3AD5E67B0311"
- roles (list role_list
- (object Role "$UNNAMED$20"
- quid "3AD5E67D007F"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eServices"
- quid "3AD5E67D0089"
- label "eServices"
- supplier "Logical View::wsdl::Service"
- quidu "3AD5D8F002F8"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$21"
- quid "3AD5FD130079"
- roles (list role_list
- (object Role "eExtensibilityElements"
- quid "3AD5FD14019D"
- label "eExtensibilityElements"
- supplier "Logical View::wsdl::ExtensibilityElement"
- quidu "3AD5DBB602A9"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$22"
- quid "3AD5FD14019E"
- supplier "Logical View::wsdl::ExtensibleElement"
- quidu "3AD5FCFA033A"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$23"
- quid "3ADF2E6401F5"
- roles (list role_list
- (object Role "eBindingInput"
- quid "3ADF2E650251"
- label "eBindingInput"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$24"
- quid "3ADF2E650252"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$25"
- quid "3ADF2EB30163"
- roles (list role_list
- (object Role "eBindingOutput"
- quid "3ADF2EB4013C"
- label "eBindingOutput"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$26"
- quid "3ADF2EB4013D"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$27"
- quid "3ADF2F94024D"
- roles (list role_list
- (object Role "eInput"
- quid "3ADF2F950190"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$28"
- quid "3ADF2F95019A"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$29"
- quid "3ADF2FB802F9"
- roles (list role_list
- (object Role "eOutput"
- quid "3ADF2FB9020A"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$30"
- quid "3ADF2FB9020B"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$31"
- quid "3ADF331601A4"
- roles (list role_list
- (object Role "eFaults"
- quid "3ADF33180387"
- label "eFaults"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$32"
- quid "3ADF33180388"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$33"
- quid "3ADF340003E5"
- roles (list role_list
- (object Role "eBindingFaults"
- quid "3ADF340103AA"
- label "eBindingFaults"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$34"
- quid "3ADF340103AB"
- supplier "Logical View::wsdl::BindingOperation"
- quidu "3AD5D3CB0145"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$35"
- quid "3AE091F402F3"
- roles (list role_list
- (object Role "eFault"
- quid "3AE091F801FE"
- label "eFault"
- supplier "Logical View::wsdl::Fault"
- quidu "3AE078BE0108"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$36"
- quid "3AE091F801FF"
- supplier "Logical View::wsdl::BindingFault"
- quidu "3AE08A9E03A6")))
- (object Association "$UNNAMED$37"
- quid "3AEA3D55002D"
- roles (list role_list
- (object Role "$UNNAMED$38"
- quid "3AEA3D560328"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eNamespaces"
- quid "3AEA3D560332"
- label "eNamespaces"
- supplier "Logical View::wsdl::Namespace"
- quidu "3AEA3CD30030"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$39"
- quid "3AEA3E3A002D"
- roles (list role_list
- (object Role "eDefinition"
- quid "3AEA3E3C01E8"
- label "eDefinition"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$40"
- quid "3AEA3E3C01F2"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$41"
- quid "3AEA412F0035"
- roles (list role_list
- (object Role "eParameterOrdering"
- quid "3AEA41310255"
- label "eParameterOrdering"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- is_navigable TRUE)
- (object Role "$UNNAMED$42"
- quid "3AEA4131025F"
- supplier "Logical View::wsdl::Operation"
- quidu "3AD5C80D03CE")))
- (object Association "$UNNAMED$43"
- quid "3B84AD2400BD"
- roles (list role_list
- (object Role "eInput"
- quid "3B84AD250083"
- label "eInput"
- supplier "Logical View::wsdl::Input"
- quidu "3AE0789F0059"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$44"
- quid "3B84AD250084"
- supplier "Logical View::wsdl::BindingInput"
- quidu "3AE08A8202D4")))
- (object Association "$UNNAMED$45"
- quid "3B84AD7900F2"
- roles (list role_list
- (object Role "eOutput"
- quid "3B84AD7A014D"
- label "eOutput"
- supplier "Logical View::wsdl::Output"
- quidu "3AE078B60232"
- client_cardinality (value cardinality "1..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$46"
- quid "3B84AD7A014E"
- supplier "Logical View::wsdl::BindingOutput"
- quidu "3AE08A8F028C")))
- (object Association "$UNNAMED$47"
- quid "3B8B1BE900C4"
- roles (list role_list
- (object Role "typeDefinition"
- quid "3B8B1BE90327"
- label "typeDefinition"
- supplier "Logical View::xsd::XSDTypeDefinition"
- quidu "3B66ECD302A9"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$48"
- quid "3B8B1BE90331"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$49"
- quid "3B8B1C1203B2"
- roles (list role_list
- (object Role "elementDeclaration"
- quid "3B8B1C14001C"
- label "elementDeclaration"
- supplier "Logical View::xsd::XSDElementDeclaration"
- quidu "3B66ED580214"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$50"
- quid "3B8B1C140026"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$51"
- quid "3B8B1DCC02E5"
- roles (list role_list
- (object Role "eSchema"
- quid "3B8B1DCE0270"
- label "eSchema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$52"
- quid "3B8B1DCE027A"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE")))
- (object Association "$UNNAMED$53"
- quid "3B8BEA27029F"
- roles (list role_list
- (object Role "$UNNAMED$54"
- quid "3B8BEA290356"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "eTypes"
- quid "3B8BEA29036A"
- label "eTypes"
- supplier "Logical View::wsdl::Types"
- quidu "3B8BE9A603A8"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$55"
- quid "3C46829303E5"
- roles (list role_list
- (object Role "eMessage"
- quid "3C468296010E"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "$UNNAMED$56"
- quid "3C4682960118"
- supplier "Logical View::wsdl::Part"
- quidu "3AD5CE1C032E")))
- (object Association "$UNNAMED$57"
- quid "3C864DFF02EC"
- roles (list role_list
- (object Role "eImports"
- quid "3C864DFF02ED"
- label "eImports"
- supplier "Logical View::wsdl::Import"
- quidu "3AD5E4F903DE"
- client_cardinality (value cardinality "0..n")
- Constraints "ordered"
- Containment "By Value"
- is_navigable TRUE)
- (object Role "$UNNAMED$58"
- quid "3C864DFF02EE"
- supplier "Logical View::wsdl::Definition"
- quidu "3AD5E43F008E"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)))
- (object Association "$UNNAMED$59"
- quid "3CC3614500F2"
- roles (list role_list
- (object Role "$UNNAMED$60"
- quid "3CC36146023D"
- supplier "Logical View::wsdl::XSDSchemaExtensibilityElement"
- quidu "3CC360D7039C"
- client_cardinality (value cardinality "1..1")
- is_aggregate TRUE)
- (object Role "schema"
- quid "3CC36146023E"
- label "schema"
- supplier "Logical View::xsd::XSDSchema"
- quidu "374B182500BB"
- client_cardinality (value cardinality "0..1")
- Containment "By Value"
- is_navigable TRUE)))
- (object Association "$UNNAMED$61"
- quid "3F74E78401B1"
- roles (list role_list
- (object Role "eMessage"
- quid "3F74E786000F"
- label "eMessage"
- supplier "Logical View::wsdl::Message"
- quidu "3AD5C9590078"
- client_cardinality (value cardinality "1")
- is_navigable TRUE)
- (object Role "$UNNAMED$62"
- quid "3F74E7860023"
- supplier "Logical View::wsdl::MessageReference"
- quidu "3F6771DB02DC")))
- (object Association "$UNNAMED$63"
- quid "3F7896A2026E"
- roles (list role_list
- (object Role "parent"
- quid "3F7896A7012B"
- label "parent"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..1")
- is_navigable TRUE)
- (object Role "children"
- quid "3F7896A7012C"
- label "children"
- supplier "Logical View::wsdl::UnknownExtensibilityElement"
- quidu "3CB24AC002AE"
- client_cardinality (value cardinality "0..n")
- is_navigable TRUE))))
- logical_presentations (list unit_reference_list
- (object ClassDiagram "2.7 Services"
- quid "39AD3EF60127"
- title "2.7 Services"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @1
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (1424, 800)
- label (object ItemLabel
- Parent_View @1
- location (1173, 660)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @1
- location (1173, 610)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 502
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- width 520
- height 404
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPort" @2
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (816, 528)
- label (object ItemLabel
- Parent_View @2
- location (686, 481)
- fill_color 13434879
- nlines 1
- max_width 260
- justify 0
- label "IPort")
- stereotype (object ItemLabel
- Parent_View @2
- location (686, 431)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB800326"
- width 278
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IService" @3
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 160)
- label (object ItemLabel
- Parent_View @3
- location (126, 90)
- fill_color 13434879
- nlines 1
- max_width 228
- justify 0
- label "IService")
- stereotype (object ItemLabel
- Parent_View @3
- location (126, 40)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 228
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AB490287"
- width 246
- height 264
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @4
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (240, 528)
- label (object ItemLabel
- Parent_View @4
- location (44, 389)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @5
- stereotype TRUE
- line_color 3342489
- quidu "3B85954E01B4"
- client @4
- supplier @3
- line_style 3
- origin_attachment (240, 377)
- terminal_attachment (240, 292))
- (object ClassView "Class" "Logical View::wsdl::Binding" @6
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1440, 1264)
- label (object ItemLabel
- Parent_View @6
- location (1244, 1125)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 410
- height 302
- annotation 8
- autoResize TRUE)
- (object InheritView "" @7
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @6
- supplier @1
- line_style 3
- origin_attachment (1430, 1113)
- terminal_attachment (1430, 1002))
- (object ClassView "Class" "Logical View::wsdl::Port" @8
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (816, 912)
- label (object ItemLabel
- Parent_View @8
- location (675, 840)
- fill_color 13434879
- nlines 1
- max_width 282
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- width 300
- height 168
- annotation 8
- autoResize TRUE)
- (object InheritView "" @9
- stereotype TRUE
- line_color 3342489
- quidu "3B85954502C9"
- client @8
- supplier @2
- line_style 3
- origin_attachment (809, 828)
- terminal_attachment (809, 637))
- (object AssociationViewNew "$UNNAMED$9" @10
- location (343, 916)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9400393"
- roleview_list (list RoleViews
- (object RoleView "ePorts" @11
- Parent_View @10
- location (-121, 644)
- label (object SegLabel @12
- Parent_View @11
- location (413, 945)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label "+ePorts"
- pctDist 0.218978
- height 29
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031C"
- client @10
- supplier @8
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (666, 916)
- label (object SegLabel @13
- Parent_View @11
- location (539, 880)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 160
- justify 0
- label "0..*"
- pctDist 0.608000
- height 37
- orientation 0)
- label (object SegLabel @14
- Parent_View @11
- location (448, 990)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.328467
- height 74
- orientation 1))
- (object RoleView "$UNNAMED$10" @15
- Parent_View @10
- location (-121, 644)
- label (object SegLabel @16
- Parent_View @15
- location (216, 744)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D941031D"
- client @10
- supplier @4
- vertices (list Points
- (343, 916)
- (257, 916)
- (257, 679))
- line_style 3
- origin_attachment (343, 916)
- terminal_attachment (257, 679)
- label (object SegLabel @17
- Parent_View @15
- location (301, 796)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.637097
- height 44
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$11" @18
- location (886, 1270)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B8011F"
- roleview_list (list RoleViews
- (object RoleView "eBinding" @19
- Parent_View @18
- location (38, 422)
- label (object SegLabel @20
- Parent_View @19
- location (1112, 1235)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eBinding"
- pctDist 0.648571
- height 36
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B9024D"
- client @18
- supplier @6
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (1235, 1270)
- label (object SegLabel @21
- Parent_View @19
- location (1170, 1313)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.814286
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$12" @22
- Parent_View @18
- location (38, 422)
- label (object SegLabel @23
- Parent_View @22
- location (852, 1106)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label ""
- pctDist 0.687943
- height 40
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D9B90261"
- client @18
- supplier @8
- vertices (list Points
- (886, 1270)
- (812, 1270)
- (812, 996))
- line_style 3
- origin_attachment (886, 1270)
- terminal_attachment (812, 996))))))
- (object ClassDiagram "2.5 Bindings"
- quid "39AD51270252"
- title "2.5 Bindings"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IBinding" @24
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 240)
- label (object ItemLabel
- Parent_View @24
- location (73, 114)
- fill_color 13434879
- nlines 1
- max_width 462
- justify 0
- label "IBinding")
- stereotype (object ItemLabel
- Parent_View @24
- location (73, 64)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 462
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ABC60219"
- width 480
- height 376
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOperation" @25
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (976, 352)
- label (object ItemLabel
- Parent_View @25
- location (780, 130)
- fill_color 13434879
- nlines 1
- max_width 392
- justify 0
- label "IBindingOperation")
- stereotype (object ItemLabel
- Parent_View @25
- location (780, 80)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 392
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADC00072"
- width 410
- height 568
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingInput" @26
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (192, 1360)
- label (object ItemLabel
- Parent_View @26
- location (62, 1334)
- fill_color 16777215
- nlines 1
- max_width 260
- justify 0
- label "IBindingInput")
- stereotype (object ItemLabel
- Parent_View @26
- location (62, 1284)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 260
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84ADEB0100"
- width 278
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingOutput" @27
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (208, 1664)
- label (object ItemLabel
- Parent_View @27
- location (61, 1638)
- fill_color 16777215
- nlines 1
- max_width 294
- justify 0
- label "IBindingOutput")
- stereotype (object ItemLabel
- Parent_View @27
- location (61, 1588)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 294
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE210111"
- width 312
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IBindingFault" @28
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (208, 1984)
- label (object ItemLabel
- Parent_View @28
- location (72, 1958)
- fill_color 13434879
- nlines 1
- max_width 272
- justify 0
- label "IBindingFault")
- stereotype (object ItemLabel
- Parent_View @28
- location (72, 1908)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 272
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84AE4F00BD"
- width 290
- height 176
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @29
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 624)
- label (object ItemLabel
- Parent_View @29
- location (1568, 486)
- fill_color 13434879
- nlines 1
- max_width 673
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 691
- height 301
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @30
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1360)
- label (object ItemLabel
- Parent_View @30
- location (1756, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Output" @31
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 1664)
- label (object ItemLabel
- Parent_View @31
- location (1756, 1587)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @32
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (304, 688)
- label (object ItemLabel
- Parent_View @32
- location (97, 539)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @33
- stereotype TRUE
- line_color 3342489
- quidu "3B8595410129"
- client @32
- supplier @24
- line_style 3
- origin_attachment (279, 527)
- terminal_attachment (279, 428))
- (object AssociationViewNew "$UNNAMED$3" @34
- location (1039, 742)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D352010F"
- roleview_list (list RoleViews
- (object RoleView "ePortType" @35
- Parent_View @34
- location (575, 598)
- label (object SegLabel @36
- Parent_View @35
- location (1449, 781)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+ePortType"
- pctDist 0.789292
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540176"
- client @34
- supplier @29
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (1559, 742)
- label (object SegLabel @37
- Parent_View @35
- location (1492, 716)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.872193
- height 27
- orientation 0))
- (object RoleView "$UNNAMED$4" @38
- Parent_View @34
- location (575, 598)
- label (object SegLabel @39
- Parent_View @38
- location (776, 697)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 108
- justify 0
- label ""
- pctDist 0.509449
- height 46
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3540180"
- client @34
- supplier @32
- line_style 3
- origin_attachment (1039, 742)
- terminal_attachment (520, 742))))
- (object ClassView "Class" "Logical View::wsdl::Operation" @40
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 1024)
- label (object ItemLabel
- Parent_View @40
- location (1672, 851)
- fill_color 13434879
- nlines 1
- max_width 432
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- width 450
- height 370
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @41
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (624, 1408)
- label (object ItemLabel
- Parent_View @41
- location (476, 1283)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$43" @42
- location (1264, 1359)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD2400BD"
- roleview_list (list RoleViews
- (object RoleView "eInput" @43
- Parent_View @42
- location (96, 287)
- label (object SegLabel @44
- Parent_View @43
- location (1637, 1316)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.775148
- height 44
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250083"
- client @42
- supplier @30
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (1747, 1359)
- label (object SegLabel @45
- Parent_View @43
- location (1694, 1398)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.889546
- height 39
- orientation 1))
- (object RoleView "$UNNAMED$44" @46
- Parent_View @42
- location (96, 287)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD250084"
- client @42
- supplier @41
- line_style 3
- origin_attachment (1264, 1359)
- terminal_attachment (781, 1359))))
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @47
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (960, 1664)
- label (object ItemLabel
- Parent_View @47
- location (812, 1539)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$45" @48
- location (1432, 1654)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7900F2"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @49
- Parent_View @48
- location (-120, 374)
- label (object SegLabel @50
- Parent_View @49
- location (1645, 1612)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.674772
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014D"
- client @48
- supplier @31
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1747, 1654)
- label (object SegLabel @51
- Parent_View @49
- location (1681, 1697)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.790274
- height 43
- orientation 1))
- (object RoleView "$UNNAMED$46" @52
- Parent_View @48
- location (-120, 374)
- stereotype TRUE
- line_color 3342489
- quidu "3B84AD7A014E"
- client @48
- supplier @47
- line_style 3
- origin_attachment (1432, 1654)
- terminal_attachment (1117, 1654))))
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @53
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (992, 1008)
- label (object ItemLabel
- Parent_View @53
- location (819, 931)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 178
- annotation 8
- autoResize TRUE)
- (object InheritView "" @54
- stereotype TRUE
- line_color 3342489
- quidu "3B84ADE401DC"
- client @53
- supplier @25
- line_style 3
- origin_attachment (966, 919)
- terminal_attachment (966, 636))
- (object AssociationViewNew "$UNNAMED$5" @55
- location (457, 1022)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E10179"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$6" @56
- Parent_View @55
- location (-1319, 494)
- label (object SegLabel @57
- Parent_View @56
- location (235, 920)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20225"
- client @55
- supplier @32
- vertices (list Points
- (457, 1022)
- (276, 1022)
- (276, 849))
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (276, 849)
- label (object SegLabel @58
- Parent_View @56
- location (330, 884)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "eBindingOperations" @59
- Parent_View @55
- location (-1319, 494)
- label (object SegLabel @60
- Parent_View @59
- location (531, 977)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 384
- justify 0
- label "+eBindingOperations"
- pctDist 0.211699
- height 46
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D3E20239"
- client @55
- supplier @53
- line_style 3
- origin_attachment (457, 1022)
- terminal_attachment (810, 1022)
- label (object SegLabel @61
- Parent_View @59
- location (769, 980)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.884956
- height 43
- orientation 0)
- label (object SegLabel @62
- Parent_View @59
- location (714, 1067)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.727564
- height 45
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$7" @63
- location (1418, 1040)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D425038A"
- roleview_list (list RoleViews
- (object RoleView "eOperation" @64
- Parent_View @63
- location (-358, 464)
- label (object SegLabel @65
- Parent_View @64
- location (1520, 1079)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 228
- justify 0
- label "+eOperation"
- pctDist 0.420601
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602F5"
- client @63
- supplier @40
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1663, 1040)
- label (object SegLabel @66
- Parent_View @64
- location (1589, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.696721
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$8" @67
- Parent_View @63
- location (-358, 464)
- label (object SegLabel @68
- Parent_View @67
- location (1273, 1070)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.595420
- height 30
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5D42602FF"
- client @63
- supplier @53
- line_style 3
- origin_attachment (1418, 1040)
- terminal_attachment (1174, 1040))))
- (object AssociationViewNew "$UNNAMED$23" @69
- location (787, 1190)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E6401F5"
- roleview_list (list RoleViews
- (object RoleView "eBindingInput" @70
- Parent_View @69
- location (-381, 454)
- label (object SegLabel @71
- Parent_View @70
- location (669, 1152)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+eBindingInput"
- pctDist 0.511905
- height 39
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650251"
- client @69
- supplier @41
- vertices (list Points
- (787, 1190)
- (636, 1190)
- (636, 1271))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (636, 1271)
- label (object SegLabel @72
- Parent_View @70
- location (685, 1222)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.440476
- height 32
- orientation 0))
- (object RoleView "$UNNAMED$24" @73
- Parent_View @69
- location (-381, 454)
- label (object SegLabel @74
- Parent_View @73
- location (885, 1144)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2E650252"
- client @69
- supplier @53
- vertices (list Points
- (787, 1190)
- (926, 1190)
- (926, 1097))
- line_style 3
- origin_attachment (787, 1190)
- terminal_attachment (926, 1097)
- label (object SegLabel @75
- Parent_View @73
- location (871, 1136)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.837758
- height 56
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$25" @76
- location (1024, 1312)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB30163"
- roleview_list (list RoleViews
- (object RoleView "eBindingOutput" @77
- Parent_View @76
- location (-150, 578)
- label (object SegLabel @78
- Parent_View @77
- location (1012, 1429)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 306
- justify 0
- label "+eBindingOutput"
- pctDist 0.545082
- height 13
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013C"
- client @76
- supplier @47
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1527)
- label (object SegLabel @79
- Parent_View @77
- location (967, 1479)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.774590
- height 58
- orientation 1))
- (object RoleView "$UNNAMED$26" @80
- Parent_View @76
- location (-150, 578)
- label (object SegLabel @81
- Parent_View @80
- location (983, 1140)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2EB4013D"
- client @76
- supplier @53
- line_style 3
- origin_attachment (1024, 1312)
- terminal_attachment (1024, 1097)
- label (object SegLabel @82
- Parent_View @80
- location (1031, 1186)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.590164
- height 7
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Fault" @83
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1920, 1984)
- label (object ItemLabel
- Parent_View @83
- location (1772, 1907)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- width 314
- height 178
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @84
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1984)
- label (object ItemLabel
- Parent_View @84
- location (1212, 1859)
- fill_color 13434879
- nlines 1
- max_width 296
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 314
- height 274
- annotation 8
- autoResize TRUE)
- (object InheritView "" @85
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE710333"
- client @84
- supplier @28
- line_style 3
- origin_attachment (1203, 2007)
- terminal_attachment (353, 2007))
- (object AssociationViewNew "$UNNAMED$33" @86
- location (1356, 1352)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340003E5"
- roleview_list (list RoleViews
- (object RoleView "eBindingFaults" @87
- Parent_View @86
- location (188, 616)
- label (object SegLabel @88
- Parent_View @87
- location (1382, 1750)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 300
- justify 0
- label "+eBindingFaults"
- pctDist 0.803150
- height 26
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AA"
- client @86
- supplier @84
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1356, 1847)
- label (object SegLabel @89
- Parent_View @87
- location (1409, 1797)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899194
- height 53
- orientation 0)
- label (object SegLabel @90
- Parent_View @87
- location (1256, 1806)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.919291
- height 101
- orientation 1))
- (object RoleView "$UNNAMED$34" @91
- Parent_View @86
- location (188, 616)
- label (object SegLabel @92
- Parent_View @91
- location (1076, 1197)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF340103AB"
- client @86
- supplier @53
- vertices (list Points
- (1356, 1352)
- (1356, 1217)
- (1117, 1217)
- (1117, 1097))
- line_style 3
- origin_attachment (1356, 1352)
- terminal_attachment (1117, 1097)
- label (object SegLabel @93
- Parent_View @91
- location (1152, 1164)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.687008
- height 54
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$35" @94
- location (1640, 1970)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F402F3"
- roleview_list (list RoleViews
- (object RoleView "eFault" @95
- Parent_View @94
- location (-344, 818)
- label (object SegLabel @96
- Parent_View @95
- location (1674, 1915)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eFault"
- pctDist 0.276423
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FE"
- client @94
- supplier @83
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1763, 1970)
- label (object SegLabel @97
- Parent_View @95
- location (1718, 2012)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.642276
- height 42
- orientation 1))
- (object RoleView "$UNNAMED$36" @98
- Parent_View @94
- location (-344, 818)
- stereotype TRUE
- line_color 3342489
- quidu "3AE091F801FF"
- client @94
- supplier @84
- line_style 3
- origin_attachment (1640, 1970)
- terminal_attachment (1517, 1970))))
- (object InheritView "" @99
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE4302AB"
- client @47
- supplier @27
- line_style 3
- origin_attachment (803, 1656)
- terminal_attachment (364, 1656))
- (object InheritView "" @100
- stereotype TRUE
- line_color 3342489
- quidu "3B84AE1B0113"
- client @41
- supplier @26
- line_style 3
- origin_attachment (467, 1385)
- terminal_attachment (331, 1385))))
- (object ClassDiagram "2.4 PortTypes"
- quid "3AD5D1C40366"
- title "2.4 PortTypes"
- documentation "This class represents the non-MOF java.util.Iterator interface."
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IPortType" @101
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 208)
- label (object ItemLabel
- Parent_View @101
- location (146, 172)
- fill_color 13434879
- nlines 1
- max_width 700
- justify 0
- label "IPortType")
- stereotype (object ItemLabel
- Parent_View @101
- location (146, 122)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 700
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A5BE0331"
- width 718
- height 196
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::IOperation" @102
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 208)
- label (object ItemLabel
- Parent_View @102
- location (1116, 176)
- fill_color 13434879
- nlines 1
- max_width 873
- justify 0
- label "IOperation")
- stereotype (object ItemLabel
- Parent_View @102
- location (1116, 126)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 873
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A77600D1"
- width 891
- height 188
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IInput" @103
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 1472)
- label (object ItemLabel
- Parent_View @103
- location (55, 1437)
- fill_color 16777215
- nlines 1
- max_width 626
- justify 0
- label "IInput")
- stereotype (object ItemLabel
- Parent_View @103
- location (55, 1387)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A7EE0015"
- width 644
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IOutput" @104
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (384, 1792)
- label (object ItemLabel
- Parent_View @104
- location (56, 1757)
- fill_color 16777215
- nlines 1
- max_width 656
- justify 0
- label "IOutput")
- stereotype (object ItemLabel
- Parent_View @104
- location (56, 1707)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 656
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A829027D"
- width 674
- height 194
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IFault" @105
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (368, 2112)
- label (object ItemLabel
- Parent_View @105
- location (55, 2076)
- fill_color 13434879
- nlines 1
- max_width 626
- justify 0
- label "IFault")
- stereotype (object ItemLabel
- Parent_View @105
- location (55, 2026)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 626
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A861031D"
- width 644
- height 196
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @106
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (496, 800)
- label (object ItemLabel
- Parent_View @106
- location (158, 672)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 695
- height 281
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @107
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2576, 800)
- label (object ItemLabel
- Parent_View @107
- location (2325, 692)
- fill_color 13434879
- nlines 1
- max_width 502
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 520
- height 240
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Fault" @108
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 2112)
- label (object ItemLabel
- Parent_View @108
- location (1647, 2060)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Fault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078BE0108"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Input" @109
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 1472)
- label (object ItemLabel
- Parent_View @109
- location (870, 1422)
- fill_color 13434879
- nlines 1
- max_width 372
- justify 0
- label "Input")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE0789F0059"
- width 390
- height 125
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Output" @110
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1360, 1792)
- label (object ItemLabel
- Parent_View @110
- location (1232, 1742)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "Output")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE078B60232"
- width 274
- height 125
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Operation" @111
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1552, 784)
- label (object ItemLabel
- Parent_View @111
- location (1214, 620)
- fill_color 13434879
- nlines 1
- max_width 677
- justify 0
- label "Operation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C80D03CE"
- width 695
- height 352
- annotation 8)
- (object AssociationViewNew "$UNNAMED$0" @112
- location (1024, 797)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C824018C"
- roleview_list (list RoleViews
- (object RoleView "eOperations" @113
- Parent_View @112
- location (592, 269)
- label (object SegLabel @114
- Parent_View @113
- location (1088, 748)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 249
- justify 0
- label "+eOperations"
- pctDist 0.359649
- height 50
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701CD"
- client @112
- supplier @111
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (1205, 797)
- label (object SegLabel @115
- Parent_View @113
- location (1176, 861)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.840391
- height 64
- orientation 1)
- label (object SegLabel @116
- Parent_View @113
- location (1074, 923)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.276243
- height 126
- orientation 1))
- (object RoleView "portType" @117
- Parent_View @112
- location (592, 269)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5C82701C3"
- client @112
- supplier @106
- line_style 3
- origin_attachment (1024, 797)
- terminal_attachment (843, 797)
- label (object SegLabel @118
- Parent_View @117
- location (888, 757)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.753488
- height 41
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$41" @119
- location (2107, 773)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA412F0035"
- roleview_list (list RoleViews
- (object RoleView "eParameterOrdering" @120
- Parent_View @119
- location (1819, 101)
- label (object SegLabel @121
- Parent_View @120
- location (2145, 647)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 396
- justify 0
- label "+eParameterOrdering"
- pctDist 0.183333
- height 127
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA41310255"
- client @119
- supplier @107
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (2316, 773)
- label (object SegLabel @122
- Parent_View @120
- location (2272, 822)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.796610
- height 49
- orientation 1)
- label (object SegLabel @123
- Parent_View @120
- location (2171, 888)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.306220
- height 115
- orientation 1))
- (object RoleView "$UNNAMED$42" @124
- Parent_View @119
- location (1819, 101)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA4131025F"
- client @119
- supplier @111
- line_style 3
- origin_attachment (2107, 773)
- terminal_attachment (1899, 773))))
- (object AssociationViewNew "$UNNAMED$31" @125
- location (1702, 1504)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF331601A4"
- roleview_list (list RoleViews
- (object RoleView "eFaults" @126
- Parent_View @125
- location (1414, 832)
- label (object SegLabel @127
- Parent_View @126
- location (1815, 1982)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eFaults"
- pctDist 0.878992
- height 113
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180387"
- client @125
- supplier @108
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 2048)
- label (object SegLabel @128
- Parent_View @126
- location (1644, 2020)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.949580
- height 59
- orientation 1)
- label (object SegLabel @129
- Parent_View @126
- location (1593, 1963)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.845378
- height 110
- orientation 1))
- (object RoleView "$UNNAMED$32" @130
- Parent_View @125
- location (1414, 832)
- label (object SegLabel @131
- Parent_View @130
- location (1661, 1069)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF33180388"
- client @125
- supplier @111
- line_style 3
- origin_attachment (1702, 1504)
- terminal_attachment (1702, 960)
- label (object SegLabel @132
- Parent_View @130
- location (1821, 1039)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.857362
- height 119
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$27" @133
- location (1178, 1234)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F94024D"
- roleview_list (list RoleViews
- (object RoleView "eInput" @134
- Parent_View @133
- location (890, 562)
- label (object SegLabel @135
- Parent_View @134
- location (878, 1343)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 132
- justify 0
- label "+eInput"
- pctDist 0.819820
- height 103
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F950190"
- client @133
- supplier @109
- vertices (list Points
- (1178, 1234)
- (980, 1234)
- (980, 1410))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (980, 1410)
- label (object SegLabel @136
- Parent_View @134
- location (1046, 1364)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.877660
- height 66
- orientation 0))
- (object RoleView "$UNNAMED$28" @137
- Parent_View @133
- location (890, 562)
- label (object SegLabel @138
- Parent_View @137
- location (1236, 1036)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2F95019A"
- client @133
- supplier @111
- vertices (list Points
- (1178, 1234)
- (1277, 1234)
- (1277, 960))
- line_style 3
- origin_attachment (1178, 1234)
- terminal_attachment (1277, 960)
- label (object SegLabel @139
- Parent_View @137
- location (1197, 1058)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736413
- height 81
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$29" @140
- location (1468, 1345)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB802F9"
- roleview_list (list RoleViews
- (object RoleView "eOutput" @141
- Parent_View @140
- location (1180, 673)
- label (object SegLabel @142
- Parent_View @141
- location (1362, 1669)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+eOutput"
- pctDist 0.840909
- height 107
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020A"
- client @140
- supplier @110
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 1730)
- label (object SegLabel @143
- Parent_View @141
- location (1546, 1676)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.863636
- height 78
- orientation 0))
- (object RoleView "$UNNAMED$30" @144
- Parent_View @140
- location (1180, 673)
- label (object SegLabel @145
- Parent_View @144
- location (1427, 1037)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3ADF2FB9020B"
- client @140
- supplier @111
- line_style 3
- origin_attachment (1468, 1345)
- terminal_attachment (1468, 960)
- label (object SegLabel @146
- Parent_View @144
- location (1523, 1080)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.690341
- height 55
- orientation 1))))
- (object InheritView "" @147
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FD8019F"
- client @106
- supplier @101
- line_style 0)
- (object InheritView "" @148
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FE20171"
- client @111
- supplier @102
- line_style 0)
- (object InheritView "" @149
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FEE031D"
- client @109
- supplier @103
- line_style 0)
- (object InheritView "" @150
- stereotype TRUE
- line_color 3342489
- quidu "3F6F1FF801CD"
- client @110
- supplier @104
- line_style 0)
- (object InheritView "" @151
- stereotype TRUE
- line_color 3342489
- quidu "3F6F2002002D"
- client @108
- supplier @105
- line_style 0)
- (object ClassView "Class" "Logical View::wsdl::Message" @152
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2224, 1456)
- label (object ItemLabel
- Parent_View @152
- location (1937, 1312)
- fill_color 13434879
- nlines 1
- max_width 575
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 593
- height 312
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::MessageReference" @153
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1520, 2544)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @153
- location (1193, 2466)
- fill_color 13434879
- nlines 1
- max_width 654
- justify 0
- label "MessageReference")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3F6771DB02DC"
- width 672
- height 180
- annotation 8)
- (object InheritTreeView "" @154
- location (1524, 2275)
- line_color 3342489
- fill_color 13434879
- supplier @153
- vertices (list Points
- (1524, 2275)
- (1524, 2454)))
- (object InheritView "" @155
- stereotype TRUE
- line_color 3342489
- quidu "3F67723D0319"
- client @108
- supplier @153
- line_style 3
- origin_attachment (1776, 2176)
- terminal_attachment (1776, 2275)
- drawSupplier @154)
- (object InheritView "" @156
- stereotype TRUE
- line_color 3342489
- quidu "3F67723500DD"
- client @110
- supplier @153
- line_style 3
- origin_attachment (1371, 1854)
- terminal_attachment (1371, 2275)
- drawSupplier @154)
- (object InheritView "" @157
- stereotype TRUE
- line_color 3342489
- quidu "3F67722802E7"
- client @109
- supplier @153
- line_style 3
- origin_attachment (980, 1534)
- terminal_attachment (980, 2275)
- drawSupplier @154)
- (object AssociationViewNew "$UNNAMED$61" @158
- location (2206, 2259)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E78401B1"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @159
- Parent_View @158
- location (734, -285)
- label (object SegLabel @160
- Parent_View @159
- location (2068, 1670)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.912230
- height 139
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E786000F"
- client @158
- supplier @152
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (2206, 1612)
- label (object SegLabel @161
- Parent_View @159
- location (2260, 1678)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$62" @162
- Parent_View @158
- location (734, -285)
- stereotype TRUE
- line_color 3342489
- quidu "3F74E7860023"
- client @158
- supplier @153
- vertices (list Points
- (2206, 2259)
- (2206, 2556)
- (1856, 2556))
- line_style 3
- origin_attachment (2206, 2259)
- terminal_attachment (1856, 2556))))))
- (object ClassDiagram "2.1 Definitions"
- quid "3AD5E48A0262"
- title "2.1 Definitions"
- zoom 83
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IDefinition" @163
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 192)
- label (object ItemLabel
- Parent_View @163
- location (88, 161)
- fill_color 13434879
- nlines 1
- max_width 688
- justify 0
- label "IDefinition")
- stereotype (object ItemLabel
- Parent_View @163
- location (88, 111)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 688
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B1D90142"
- width 706
- height 186
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @164
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1824, 944)
- label (object ItemLabel
- Parent_View @164
- location (1686, 896)
- fill_color 13434879
- nlines 1
- max_width 276
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 294
- height 120
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Import" @165
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2144, 624)
- label (object ItemLabel
- Parent_View @165
- location (1910, 545)
- fill_color 13434879
- nlines 1
- max_width 468
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- width 486
- height 182
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @166
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2112, 1184)
- label (object ItemLabel
- Parent_View @166
- location (1900, 1056)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::PortType" @167
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1808, 1488)
- label (object ItemLabel
- Parent_View @167
- location (1596, 1360)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "PortType")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C7F001A5"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Binding" @168
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (2336, 1728)
- label (object ItemLabel
- Parent_View @168
- location (2124, 1600)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @169
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 240)
- label (object ItemLabel
- Parent_View @169
- location (1073, 39)
- fill_color 13434879
- nlines 1
- max_width 510
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 528
- height 426
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @170
- location (1358, 860)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$54" @171
- Parent_View @170
- location (62, -36)
- label (object SegLabel @172
- Parent_View @171
- location (1317, 535)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @170
- supplier @169
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1358, 453)
- label (object SegLabel @173
- Parent_View @171
- location (1403, 511)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.856649
- height 45
- orientation 1))
- (object RoleView "eTypes" @174
- Parent_View @170
- location (62, -36)
- label (object SegLabel @175
- Parent_View @174
- location (1586, 909)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 156
- justify 0
- label "+eTypes"
- pctDist 0.779097
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @170
- supplier @164
- vertices (list Points
- (1358, 860)
- (1358, 948)
- (1677, 948))
- line_style 3
- origin_attachment (1358, 860)
- terminal_attachment (1677, 948)
- label (object SegLabel @176
- Parent_View @174
- location (1632, 987)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.892655
- height 39
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$57" @177
- location (1612, 595)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @178
- Parent_View @177
- location (12, 227)
- label (object SegLabel @179
- Parent_View @178
- location (1423, 512)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @177
- supplier @169
- vertices (list Points
- (1612, 595)
- (1464, 595)
- (1464, 453))
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1464, 453)
- label (object SegLabel @180
- Parent_View @178
- location (1524, 495)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.858667
- height 60
- orientation 1))
- (object RoleView "eImports" @181
- Parent_View @177
- location (12, 227)
- label (object SegLabel @182
- Parent_View @181
- location (1692, 557)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eImports"
- pctDist 0.280335
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @177
- supplier @165
- line_style 3
- origin_attachment (1612, 595)
- terminal_attachment (1901, 595)
- label (object SegLabel @183
- Parent_View @181
- location (1854, 652)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.841004
- height 57
- orientation 1)
- label (object SegLabel @184
- Parent_View @181
- location (1676, 646)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.225941
- height 51
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$13" @185
- location (1279, 1137)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60301E2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$14" @186
- Parent_View @185
- location (271, 273)
- label (object SegLabel @187
- Parent_View @186
- location (1238, 591)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400B7"
- client @185
- supplier @169
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1279, 453)
- label (object SegLabel @188
- Parent_View @186
- location (1320, 586)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.804974
- height 41
- orientation 1))
- (object RoleView "eMessages" @189
- Parent_View @185
- location (271, 273)
- label (object SegLabel @190
- Parent_View @189
- location (1647, 1171)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+eMessages"
- pctDist 0.643137
- height 38
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E60400C1"
- client @185
- supplier @166
- vertices (list Points
- (1279, 1137)
- (1279, 1208)
- (1891, 1208))
- line_style 3
- origin_attachment (1279, 1137)
- terminal_attachment (1891, 1208)
- label (object SegLabel @191
- Parent_View @189
- location (1821, 1171)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.899346
- height 38
- orientation 0)
- label (object SegLabel @192
- Parent_View @189
- location (1797, 1244)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.864407
- height 36
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$15" @193
- location (1212, 1159)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6710104"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$16" @194
- Parent_View @193
- location (-324, 215)
- label (object SegLabel @195
- Parent_View @194
- location (1171, 594)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E672034A"
- client @193
- supplier @169
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1212, 453)
- label (object SegLabel @196
- Parent_View @194
- location (1251, 624)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.757962
- height 39
- orientation 1))
- (object RoleView "ePortTypes" @197
- Parent_View @193
- location (-324, 215)
- label (object SegLabel @198
- Parent_View @197
- location (1391, 1451)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 240
- justify 0
- label "+ePortTypes"
- pctDist 0.723698
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6720354"
- client @193
- supplier @167
- vertices (list Points
- (1212, 1159)
- (1212, 1490)
- (1587, 1490))
- line_style 3
- origin_attachment (1212, 1159)
- terminal_attachment (1587, 1490)
- label (object SegLabel @199
- Parent_View @197
- location (1533, 1451)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.925611
- height 40
- orientation 0)
- label (object SegLabel @200
- Parent_View @197
- location (1512, 1540)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.895855
- height 50
- orientation 1))))
- (object AssociationViewNew "$UNNAMED$17" @201
- location (1114, 1585)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6770095"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$18" @202
- Parent_View @201
- location (-406, 241)
- label (object SegLabel @203
- Parent_View @202
- location (1073, 680)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E6780371"
- client @201
- supplier @169
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (1114, 453)
- label (object SegLabel @204
- Parent_View @202
- location (1155, 752)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.736704
- height 41
- orientation 1))
- (object RoleView "eBindings" @205
- Parent_View @201
- location (-406, 241)
- label (object SegLabel @206
- Parent_View @205
- location (1851, 1674)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eBindings"
- pctDist 0.766347
- height 43
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E678037B"
- client @201
- supplier @168
- vertices (list Points
- (1114, 1585)
- (1114, 1716)
- (2115, 1716))
- line_style 3
- origin_attachment (1114, 1585)
- terminal_attachment (2115, 1716)
- label (object SegLabel @207
- Parent_View @205
- location (2053, 1677)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.945074
- height 40
- orientation 0)
- label (object SegLabel @208
- Parent_View @205
- location (2014, 1754)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.911072
- height 38
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::Service" @209
- ShowCompartmentStereotypes TRUE
- SuppressOperation TRUE
- IncludeAttribute TRUE
- location (1840, 2048)
- label (object ItemLabel
- Parent_View @209
- location (1628, 1920)
- fill_color 13434879
- nlines 1
- max_width 424
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 442
- height 280
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$19" @210
- location (1066, 1533)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67B0311"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$20" @211
- Parent_View @210
- location (-521, -111)
- label (object SegLabel @212
- Parent_View @211
- location (1025, 669)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D007F"
- client @210
- supplier @169
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1066, 453)
- label (object SegLabel @213
- Parent_View @211
- location (1109, 756)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.719697
- height 43
- orientation 1))
- (object RoleView "eServices" @214
- Parent_View @210
- location (-521, -111)
- label (object SegLabel @215
- Parent_View @214
- location (1393, 2028)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eServices"
- pctDist 0.791824
- height 32
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5E67D0089"
- client @210
- supplier @209
- vertices (list Points
- (1066, 1533)
- (1066, 2059)
- (1619, 2059))
- line_style 3
- origin_attachment (1066, 1533)
- terminal_attachment (1619, 2059)
- label (object SegLabel @216
- Parent_View @214
- location (1554, 2031)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.940197
- height 29
- orientation 0)
- label (object SegLabel @217
- Parent_View @214
- location (1532, 2113)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 158
- justify 0
- label "{ordered}"
- pctDist 0.920515
- height 54
- orientation 1))))
- (object InheritView "" @218
- stereotype TRUE
- line_color 3342489
- quidu "3B84B1F80382"
- client @169
- supplier @163
- line_style 3
- origin_attachment (1064, 263)
- terminal_attachment (785, 263))))
- (object ClassDiagram "2.1.3 Extensibility"
- quid "3AD60C510192"
- title "2.1.3 Extensibility"
- zoom 80
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::Binding" @219
- ShowCompartmentStereotypes TRUE
- location (576, 1584)
- label (object ItemLabel
- Parent_View @219
- location (494, 1531)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Binding")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D2860261"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Port" @220
- ShowCompartmentStereotypes TRUE
- location (1568, 1888)
- label (object ItemLabel
- Parent_View @220
- location (1487, 1836)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Port")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D9170286"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Service" @221
- ShowCompartmentStereotypes TRUE
- location (1424, 1728)
- label (object ItemLabel
- Parent_View @221
- location (1342, 1675)
- fill_color 13434879
- nlines 1
- max_width 164
- justify 0
- label "Service")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D8F002F8"
- width 182
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingFault" @222
- ShowCompartmentStereotypes TRUE
- location (1216, 2336)
- label (object ItemLabel
- Parent_View @222
- location (1088, 2283)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingFault")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A9E03A6"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOperation" @223
- ShowCompartmentStereotypes TRUE
- location (736, 1760)
- label (object ItemLabel
- Parent_View @223
- location (563, 1707)
- fill_color 13434879
- nlines 1
- max_width 346
- justify 0
- label "BindingOperation")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5D3CB0145"
- width 364
- height 130
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IExtensibilityElement" @224
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1888, 160)
- label (object ItemLabel
- Parent_View @224
- location (1495, 136)
- fill_color 13434879
- nlines 1
- max_width 786
- justify 0
- label "IExtensibilityElement")
- stereotype (object ItemLabel
- Parent_View @224
- location (1495, 86)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 786
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B12402AB"
- width 804
- height 172
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingInput" @225
- ShowCompartmentStereotypes TRUE
- location (928, 1952)
- label (object ItemLabel
- Parent_View @225
- location (800, 1899)
- fill_color 13434879
- nlines 1
- max_width 256
- justify 0
- label "BindingInput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8202D4"
- width 274
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::BindingOutput" @226
- ShowCompartmentStereotypes TRUE
- location (1008, 2144)
- label (object ItemLabel
- Parent_View @226
- location (863, 2091)
- fill_color 13434879
- nlines 1
- max_width 290
- justify 0
- label "BindingOutput")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AE08A8F028C"
- width 308
- height 130
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @227
- ShowCompartmentStereotypes TRUE
- location (176, 1296)
- label (object ItemLabel
- Parent_View @227
- location (74, 1235)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 146
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Types" @228
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (416, 1408)
- label (object ItemLabel
- Parent_View @228
- location (335, 1356)
- fill_color 13434879
- nlines 1
- max_width 162
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- height 128
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @229
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (480, 688)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @229
- location (209, 580)
- fill_color 13434879
- nlines 1
- max_width 542
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 560
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @230
- location (480, 1039)
- line_color 3342489
- fill_color 13434879
- supplier @229
- vertices (list Points
- (480, 1039)
- (480, 808)))
- (object InheritView "" @231
- stereotype TRUE
- line_color 3342489
- quidu "3AD600CB00AA"
- client @220
- supplier @229
- line_style 3
- origin_attachment (1566, 1824)
- terminal_attachment (1566, 1039)
- drawSupplier @230)
- (object InheritView "" @232
- stereotype TRUE
- line_color 3342489
- quidu "3B85B5A4027E"
- client @226
- supplier @229
- line_style 3
- origin_attachment (1097, 2079)
- terminal_attachment (1097, 1039)
- drawSupplier @230)
- (object InheritView "" @233
- stereotype TRUE
- line_color 3342489
- quidu "3AE0938602C9"
- client @222
- supplier @229
- line_style 3
- origin_attachment (1219, 2271)
- terminal_attachment (1219, 1039)
- drawSupplier @230)
- (object InheritView "" @234
- stereotype TRUE
- line_color 3342489
- quidu "3B85B59B0072"
- client @225
- supplier @229
- line_style 3
- origin_attachment (988, 1887)
- terminal_attachment (988, 1039)
- drawSupplier @230)
- (object InheritView "" @235
- stereotype TRUE
- line_color 3342489
- quidu "3AD6009202F7"
- client @223
- supplier @229
- line_style 3
- origin_attachment (797, 1695)
- terminal_attachment (797, 1039)
- drawSupplier @230)
- (object InheritView "" @236
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA0F02F0"
- client @219
- supplier @229
- line_style 3
- origin_attachment (601, 1519)
- terminal_attachment (601, 1039)
- drawSupplier @230)
- (object InheritView "" @237
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FDB803D4"
- client @227
- supplier @229
- line_style 3
- origin_attachment (211, 1223)
- terminal_attachment (211, 1039)
- drawSupplier @230)
- (object InheritView "" @238
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @228
- supplier @229
- line_style 3
- origin_attachment (414, 1344)
- terminal_attachment (414, 1039)
- drawSupplier @230)
- (object InheritView "" @239
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FA20025E"
- client @221
- supplier @229
- line_style 3
- origin_attachment (1429, 1663)
- terminal_attachment (1429, 1039)
- drawSupplier @230)
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @240
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1904, 688)
- label (object ItemLabel
- Parent_View @240
- location (1632, 583)
- fill_color 13434879
- nlines 1
- max_width 545
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 563
- height 234
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @241
- location (1191, 672)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @242
- Parent_View @241
- location (23, 560)
- label (object SegLabel @243
- Parent_View @242
- location (847, 631)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @241
- supplier @229
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (760, 672)
- label (object SegLabel @244
- Parent_View @242
- location (830, 628)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.839695
- height 45
- orientation 1))
- (object RoleView "eExtensibilityElements" @245
- Parent_View @241
- location (23, 560)
- label (object SegLabel @246
- Parent_View @245
- location (1355, 522)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label "+eExtensibilityElements"
- pctDist 0.379070
- height 151
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @241
- supplier @240
- line_style 3
- origin_attachment (1191, 672)
- terminal_attachment (1623, 672)
- label (object SegLabel @247
- Parent_View @245
- location (1496, 627)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.709402
- height 46
- orientation 0)
- label (object SegLabel @248
- Parent_View @245
- location (1463, 764)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 164
- justify 0
- label "{ordered}"
- pctDist 0.632479
- height 92
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::WSDLElement" @249
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1008, 192)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @249
- location (630, 84)
- fill_color 13434879
- nlines 1
- max_width 756
- justify 0
- label "WSDLElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C6A302DD"
- width 774
- height 240
- annotation 8
- autoResize TRUE)
- (object InheritTreeView "" @250
- location (1008, 402)
- line_color 3342489
- fill_color 13434879
- supplier @249
- vertices (list Points
- (1008, 402)
- (1008, 312)))
- (object InheritView "" @251
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FE3C03D4"
- client @229
- supplier @249
- line_style 3
- origin_attachment (492, 568)
- terminal_attachment (492, 402)
- drawSupplier @250)
- (object InheritView "" @252
- stereotype TRUE
- line_color 3342489
- quidu "3B84B14903D0"
- client @240
- supplier @224
- line_style 3
- origin_attachment (2015, 571)
- terminal_attachment (2015, 246))
- (object InheritView "" @253
- stereotype TRUE
- line_color 3342489
- quidu "3BDDF53502C3"
- client @240
- supplier @249
- line_style 3
- origin_attachment (1762, 571)
- terminal_attachment (1762, 402)
- drawSupplier @250)
- (object ClassView "Class" "Logical View::wsdl::UnknownExtensibilityElement" @254
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (2016, 1360)
- label (object ItemLabel
- Parent_View @254
- location (1731, 1307)
- fill_color 13434879
- nlines 1
- max_width 570
- justify 0
- label "UnknownExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CB24AC002AE"
- width 588
- height 130
- annotation 8
- autoResize TRUE)
- (object InheritView "" @255
- stereotype TRUE
- line_color 3342489
- quidu "3CB24AEC01CB"
- client @254
- supplier @240
- line_style 3
- origin_attachment (1796, 1295)
- terminal_attachment (1796, 805))
- (object AssociationViewNew "$UNNAMED$63" @256
- location (2311, 1686)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A2026E"
- roleview_list (list RoleViews
- (object RoleView "parent" @257
- Parent_View @256
- location (279, 294)
- label (object SegLabel @258
- Parent_View @257
- location (2422, 1333)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+parent"
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012B"
- client @256
- supplier @254
- vertices (list Points
- (2311, 1686)
- (2432, 1686)
- (2432, 1374)
- (2310, 1374))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2310, 1374)
- label (object SegLabel @259
- Parent_View @257
- location (2366, 1428)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "children" @260
- Parent_View @256
- location (279, 294)
- label (object SegLabel @261
- Parent_View @260
- location (1899, 1537)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+children"
- pctDist 0.798561
- height 118
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3F7896A7012C"
- client @256
- supplier @254
- vertices (list Points
- (2311, 1686)
- (2016, 1686)
- (2016, 1425))
- line_style 3
- origin_attachment (2311, 1686)
- terminal_attachment (2016, 1425)
- label (object SegLabel @262
- Parent_View @260
- location (2070, 1481)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.900000
- height 54
- orientation 1))))))
- (object ClassDiagram "2.1.1 Naming and Linking"
- quid "3AE8ED7201BD"
- title "2.1.1 Naming and Linking"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IImport" @263
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1712, 224)
- label (object ItemLabel
- Parent_View @263
- location (1422, 177)
- fill_color 13434879
- nlines 1
- max_width 580
- justify 0
- label "IImport")
- stereotype (object ItemLabel
- Parent_View @263
- location (1422, 127)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 580
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84B2020119"
- width 598
- height 218
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Namespace" @264
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (432, 1136)
- label (object ItemLabel
- Parent_View @264
- location (202, 1041)
- fill_color 13434879
- nlines 1
- max_width 461
- justify 0
- label "Namespace")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AEA3CD30030"
- width 479
- height 215
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @265
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1632, 1216)
- label (object ItemLabel
- Parent_View @265
- location (1294, 1142)
- fill_color 13434879
- nlines 1
- max_width 676
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 694
- height 173
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @266
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (400, 384)
- label (object ItemLabel
- Parent_View @266
- location (164, 236)
- fill_color 13434879
- nlines 1
- max_width 472
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 490
- height 320
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$37" @267
- location (309, 786)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D55002D"
- roleview_list (list RoleViews
- (object RoleView "eNamespaces" @268
- Parent_View @267
- location (-91, 258)
- label (object SegLabel @269
- Parent_View @268
- location (461, 956)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 288
- justify 0
- label "+eNamespaces"
- pctDist 0.698842
- height 152
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560332"
- client @267
- supplier @264
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 1029)
- label (object SegLabel @270
- Parent_View @268
- location (248, 973)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.768707
- height 62
- orientation 1)
- label (object SegLabel @271
- Parent_View @268
- location (228, 913)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.525097
- height 82
- orientation 1))
- (object RoleView "$UNNAMED$38" @272
- Parent_View @267
- location (-91, 258)
- label (object SegLabel @273
- Parent_View @272
- location (268, 592)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 192
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3D560328"
- client @267
- supplier @266
- line_style 3
- origin_attachment (309, 786)
- terminal_attachment (309, 544)
- label (object SegLabel @274
- Parent_View @272
- location (239, 583)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.844961
- height 71
- orientation 0))))
- (object ClassView "Class" "Logical View::wsdl::Import" @275
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1472, 720)
- label (object ItemLabel
- Parent_View @275
- location (1255, 580)
- fill_color 13434879
- nlines 1
- max_width 434
- justify 0
- label "Import")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E4F903DE"
- width 452
- height 304
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$51" @276
- location (1486, 1001)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCC02E5"
- roleview_list (list RoleViews
- (object RoleView "eSchema" @277
- Parent_View @276
- location (510, -103)
- label (object SegLabel @278
- Parent_View @277
- location (1737, 1018)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 204
- justify 0
- label "+eSchema"
- pctDist 0.592593
- height 105
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE0270"
- client @276
- supplier @265
- vertices (list Points
- (1486, 1001)
- (1632, 1001)
- (1632, 1130))
- line_style 3
- origin_attachment (1486, 1001)
- terminal_attachment (1632, 1130)
- label (object SegLabel @279
- Parent_View @277
- location (1563, 1018)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.592593
- height 70
- orientation 1))
- (object RoleView "$UNNAMED$52" @280
- Parent_View @276
- location (510, -103)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1DCE027A"
- client @276
- supplier @275
- line_style 3
- origin_attachment (1486, 872)
- terminal_attachment (1486, 872))))
- (object AssociationViewNew "$UNNAMED$39" @281
- location (1087, 403)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3A002D"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$40" @282
- Parent_View @281
- location (687, -125)
- label (object SegLabel @283
- Parent_View @282
- location (1406, 480)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01F2"
- client @281
- supplier @275
- vertices (list Points
- (1087, 403)
- (1364, 403)
- (1364, 568))
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (1364, 568))
- (object RoleView "eDefinition" @284
- Parent_View @281
- location (687, -125)
- label (object SegLabel @285
- Parent_View @284
- location (805, 363)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eDefinition"
- pctDist 0.637532
- height 41
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AEA3E3C01E8"
- client @281
- supplier @266
- line_style 3
- origin_attachment (1087, 403)
- terminal_attachment (645, 403)
- label (object SegLabel @286
- Parent_View @284
- location (727, 456)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.814910
- height 53
- orientation 0))))
- (object AssociationViewNew "$UNNAMED$57" @287
- location (737, 826)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EC"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$58" @288
- Parent_View @287
- location (-671, 106)
- label (object SegLabel @289
- Parent_View @288
- location (552, 647)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02EE"
- client @287
- supplier @266
- vertices (list Points
- (737, 826)
- (510, 826)
- (510, 544))
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (510, 544)
- label (object SegLabel @290
- Parent_View @288
- location (457, 595)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.900000
- height 54
- orientation 0))
- (object RoleView "eImports" @291
- Parent_View @287
- location (-671, 106)
- label (object SegLabel @292
- Parent_View @291
- location (1144, 773)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 180
- justify 0
- label "+eImports"
- pctDist 0.799189
- height 54
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C864DFF02ED"
- client @287
- supplier @275
- line_style 3
- origin_attachment (737, 826)
- terminal_attachment (1246, 826)
- label (object SegLabel @293
- Parent_View @291
- location (1180, 879)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.872211
- height 53
- orientation 1)
- label (object SegLabel @294
- Parent_View @291
- location (1162, 933)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.837728
- height 107
- orientation 1))))
- (object InheritView "" @295
- stereotype TRUE
- line_color 3342489
- quidu "3F6F200D0340"
- client @275
- supplier @263
- line_style 3
- origin_attachment (1555, 568)
- terminal_attachment (1555, 333))))
- (object ClassDiagram "2.2 Types"
- quid "3B85AE59037E"
- title "2.2 Types"
- zoom 90
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 81
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::xsd::XSDTypeDefinition" @296
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1136, 1232)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @296
- location (895, 1157)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "XSDTypeDefinition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ECD302A9"
- width 500
- height 174
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDElementDeclaration" @297
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1136, 1600)
- label (object ItemLabel
- Parent_View @297
- location (906, 1531)
- fill_color 13434879
- nlines 1
- max_width 460
- justify 0
- label "XSDElementDeclaration")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B66ED580214"
- width 478
- height 162
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Message" @298
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1280, 1968)
- label (object ItemLabel
- Parent_View @298
- location (1022, 1828)
- fill_color 13434879
- nlines 1
- max_width 517
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 535
- height 305
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Part" @299
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (352, 1184)
- label (object ItemLabel
- Parent_View @299
- location (128, 1067)
- fill_color 13434879
- nlines 1
- max_width 448
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 466
- height 258
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$47" @300
- location (735, 1172)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE900C4"
- roleview_list (list RoleViews
- (object RoleView "typeDefinition" @301
- Parent_View @300
- location (143, 676)
- label (object SegLabel @302
- Parent_View @301
- location (775, 1133)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 276
- justify 0
- label "+typeDefinition"
- pctDist 0.269006
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90327"
- client @300
- supplier @296
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (886, 1172)
- label (object SegLabel @303
- Parent_View @301
- location (839, 1207)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.688705
- height 35
- orientation 1))
- (object RoleView "$UNNAMED$48" @304
- Parent_View @300
- location (143, 676)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1BE90331"
- client @300
- supplier @299
- line_style 3
- origin_attachment (735, 1172)
- terminal_attachment (585, 1172))))
- (object AssociationViewNew "$UNNAMED$49" @305
- location (527, 1592)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C1203B2"
- roleview_list (list RoleViews
- (object RoleView "elementDeclaration" @306
- Parent_View @305
- location (-65, 1096)
- label (object SegLabel @307
- Parent_View @306
- location (666, 1554)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 372
- justify 0
- label "+elementDeclaration"
- pctDist 0.375394
- height 39
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C14001C"
- client @305
- supplier @297
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (897, 1592)
- label (object SegLabel @308
- Parent_View @306
- location (807, 1645)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.755877
- height 53
- orientation 1))
- (object RoleView "$UNNAMED$50" @309
- Parent_View @305
- location (-65, 1096)
- stereotype TRUE
- line_color 3342489
- quidu "3B8B1C140026"
- client @305
- supplier @299
- vertices (list Points
- (527, 1592)
- (437, 1592)
- (437, 1313))
- line_style 3
- origin_attachment (527, 1592)
- terminal_attachment (437, 1313))))
- (object AssociationViewNew "$UNNAMED$55" @310
- location (322, 1911)
- stereotype TRUE
- line_color 3342489
- quidu "3C46829303E5"
- roleview_list (list RoleViews
- (object RoleView "eMessage" @311
- Parent_View @310
- location (-14, 1191)
- label (object SegLabel @312
- Parent_View @311
- location (838, 1872)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 216
- justify 0
- label "+eMessage"
- pctDist 0.748560
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3C468296010E"
- client @310
- supplier @298
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (1013, 1911)
- label (object SegLabel @313
- Parent_View @311
- location (943, 1965)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.900000
- height 54
- orientation 1))
- (object RoleView "$UNNAMED$56" @314
- Parent_View @310
- location (-14, 1191)
- stereotype TRUE
- line_color 3342489
- quidu "3C4682960118"
- client @310
- supplier @299
- vertices (list Points
- (322, 1911)
- (229, 1911)
- (229, 1313))
- line_style 3
- origin_attachment (322, 1911)
- terminal_attachment (229, 1313))))
- (object ClassView "Class" "Logical View::wsdl::Types" @315
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (800, 608)
- label (object ItemLabel
- Parent_View @315
- location (615, 512)
- fill_color 13434879
- nlines 1
- max_width 371
- justify 0
- label "Types")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3B8BE9A603A8"
- width 389
- height 216
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::Definition" @316
- ShowCompartmentStereotypes TRUE
- location (176, 160)
- label (object ItemLabel
- Parent_View @316
- location (74, 107)
- fill_color 13434879
- nlines 1
- max_width 204
- justify 0
- label "Definition")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5E43F008E"
- width 222
- height 130
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$53" @317
- location (234, 604)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA27029F"
- roleview_list (list RoleViews
- (object RoleView "eTypes" @318
- Parent_View @317
- location (-150, 396)
- label (object SegLabel @319
- Parent_View @318
- location (480, 640)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 207
- justify 0
- label "+eTypes"
- pctDist 0.661017
- height 36
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA29036A"
- client @317
- supplier @315
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (606, 604)
- label (object SegLabel @320
- Parent_View @318
- location (526, 569)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.783883
- height 36
- orientation 0))
- (object RoleView "$UNNAMED$54" @321
- Parent_View @317
- location (-150, 396)
- label (object SegLabel @322
- Parent_View @321
- location (133, 313)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEA290356"
- client @317
- supplier @316
- vertices (list Points
- (234, 604)
- (174, 604)
- (174, 225))
- line_style 3
- origin_attachment (234, 604)
- terminal_attachment (174, 225)
- label (object SegLabel @323
- Parent_View @321
- location (228, 271)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.897729
- height 54
- orientation 1))))
- (object ClassView "Class" "Logical View::wsdl::ITypes" @324
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (640, 224)
- label (object ItemLabel
- Parent_View @324
- location (525, 203)
- fill_color 13434879
- nlines 1
- max_width 230
- justify 0
- label "ITypes")
- stereotype (object ItemLabel
- Parent_View @324
- location (525, 153)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 230
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3CADCBB20050"
- width 248
- height 166
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::XSDSchemaExtensibilityElement" @325
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1728, 800)
- label (object ItemLabel
- Parent_View @325
- location (1359, 753)
- fill_color 13434879
- nlines 1
- max_width 739
- justify 0
- label "XSDSchemaExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3CC360D7039C"
- width 757
- height 118
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::xsd::XSDSchema" @326
- ShowCompartmentStereotypes TRUE
- IncludeOperation TRUE
- location (1856, 1216)
- label (object ItemLabel
- Parent_View @326
- location (1529, 1103)
- fill_color 13434879
- nlines 1
- max_width 655
- justify 0
- label "XSDSchema")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "374B182500BB"
- width 673
- height 250
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$59" @327
- location (1826, 975)
- stereotype TRUE
- line_color 3342489
- quidu "3CC3614500F2"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$60" @328
- Parent_View @327
- location (306, 447)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023D"
- client @327
- supplier @325
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 859)
- label (object SegLabel @329
- Parent_View @328
- location (1774, 900)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.656489
- height 53
- orientation 0))
- (object RoleView "schema" @330
- Parent_View @327
- location (306, 447)
- label (object SegLabel @331
- Parent_View @330
- location (2006, 1033)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 168
- justify 0
- label "+schema"
- pctDist 0.507576
- height 180
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3CC36146023E"
- client @327
- supplier @326
- line_style 3
- origin_attachment (1826, 975)
- terminal_attachment (1826, 1091)
- label (object SegLabel @332
- Parent_View @330
- location (1788, 1050)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..1"
- pctDist 0.651515
- height 39
- orientation 1))))
- (object InheritView "" @333
- stereotype TRUE
- line_color 3342489
- quidu "3CADCD3B0380"
- client @315
- supplier @324
- line_style 3
- origin_attachment (705, 500)
- terminal_attachment (705, 307))
- (object ClassView "Class" "Logical View::wsdl::ExtensibleElement" @334
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1056, 224)
- font (object Font
- italics TRUE)
- label (object ItemLabel
- Parent_View @334
- location (815, 130)
- fill_color 13434879
- nlines 1
- max_width 482
- justify 0
- label "ExtensibleElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5FCFA033A"
- width 500
- height 212
- annotation 8
- autoResize TRUE)
- (object InheritView "" @335
- stereotype TRUE
- line_color 3342489
- quidu "3B8BEB010311"
- client @315
- supplier @334
- line_style 3
- origin_attachment (854, 500)
- terminal_attachment (854, 330))
- (object ClassView "Class" "Logical View::wsdl::ExtensibilityElement" @336
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- location (1824, 464)
- label (object ItemLabel
- Parent_View @336
- location (1490, 368)
- fill_color 13434879
- nlines 1
- max_width 669
- justify 0
- label "ExtensibilityElement")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5DBB602A9"
- width 687
- height 216
- annotation 8
- autoResize TRUE)
- (object AssociationViewNew "$UNNAMED$21" @337
- location (1206, 493)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD130079"
- roleview_list (list RoleViews
- (object RoleView "$UNNAMED$22" @338
- Parent_View @337
- location (-586, 237)
- label (object SegLabel @339
- Parent_View @338
- location (1136, 386)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 450
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 1)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019E"
- client @337
- supplier @334
- vertices (list Points
- (1206, 493)
- (1094, 493)
- (1094, 330))
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1094, 330)
- label (object SegLabel @340
- Parent_View @338
- location (1042, 377)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.828326
- height 53
- orientation 0))
- (object RoleView "eExtensibilityElements" @341
- Parent_View @337
- location (-586, 237)
- label (object SegLabel @342
- Parent_View @341
- location (1196, 454)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 444
- justify 0
- label "+eExtensibilityElements"
- pctDist -0.039711
- height 40
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5FD14019D"
- client @337
- supplier @336
- line_style 3
- origin_attachment (1206, 493)
- terminal_attachment (1481, 493)
- label (object SegLabel @343
- Parent_View @341
- location (1415, 546)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.764957
- height 53
- orientation 1)
- label (object SegLabel @344
- Parent_View @341
- location (1396, 392)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 146
- justify 0
- label "{ordered}"
- pctDist 0.694915
- height 102
- orientation 0))))
- (object InheritView "" @345
- stereotype TRUE
- line_color 3342489
- quidu "3CC3627F00B7"
- client @325
- supplier @336
- line_style 3
- origin_attachment (1812, 741)
- terminal_attachment (1812, 572))))
- (object ClassDiagram "2.3 Messages"
- quid "3BCE853D02C8"
- title "2.3 Messages"
- zoom 85
- max_height 28350
- max_width 21600
- origin_x 0
- origin_y 0
- items (list diagram_item_list
- (object ClassView "Class" "Logical View::wsdl::IMessage" @346
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeOperation TRUE
- location (448, 224)
- label (object ItemLabel
- Parent_View @346
- location (267, 122)
- fill_color 13434879
- nlines 1
- max_width 362
- justify 0
- label "IMessage")
- stereotype (object ItemLabel
- Parent_View @346
- location (267, 72)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 362
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A8AF004F"
- width 380
- height 328
- annotation 8
- autoResize TRUE)
- (object ClassView "Class" "Logical View::wsdl::IPart" @347
- ShowCompartmentStereotypes TRUE
- SuppressAttribute TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1328, 224)
- label (object ItemLabel
- Parent_View @347
- location (1029, 124)
- fill_color 13434879
- nlines 1
- max_width 599
- justify 0
- label "IPart")
- stereotype (object ItemLabel
- Parent_View @347
- location (1029, 74)
- fill_color 13434879
- anchor 10
- nlines 1
- max_width 599
- justify 0
- label "<<Interface>>")
- icon "Interface"
- icon_style "Label"
- line_color 3342489
- fill_color 13434879
- quidu "3B84A93F01BE"
- width 617
- height 324
- annotation 8)
- (object ClassView "Class" "Logical View::wsdl::Part" @348
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (1312, 816)
- label (object ItemLabel
- Parent_View @348
- location (1075, 690)
- fill_color 13434879
- nlines 1
- max_width 474
- justify 0
- label "Part")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5CE1C032E"
- width 492
- height 276
- annotation 8
- autoResize TRUE)
- (object InheritView "" @349
- stereotype TRUE
- line_color 3342489
- quidu "3B84A96D02F1"
- client @348
- supplier @347
- line_style 3
- origin_attachment (1304, 678)
- terminal_attachment (1304, 386))
- (object ClassView "Class" "Logical View::wsdl::Message" @350
- ShowCompartmentStereotypes TRUE
- IncludeAttribute TRUE
- IncludeOperation TRUE
- location (448, 656)
- label (object ItemLabel
- Parent_View @350
- location (241, 507)
- fill_color 13434879
- nlines 1
- max_width 414
- justify 0
- label "Message")
- icon_style "Icon"
- line_color 3342489
- fill_color 13434879
- quidu "3AD5C9590078"
- width 432
- height 322
- annotation 8
- autoResize TRUE)
- (object InheritView "" @351
- stereotype TRUE
- line_color 3342489
- quidu "3B84A8D102BA"
- client @350
- supplier @346
- line_style 3
- origin_attachment (445, 495)
- terminal_attachment (445, 388))
- (object AssociationViewNew "$UNNAMED$1" @352
- location (688, 952)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBE00E2"
- roleview_list (list RoleViews
- (object RoleView "eParts" @353
- Parent_View @352
- location (176, 328)
- label (object SegLabel @354
- Parent_View @353
- location (952, 897)
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 144
- justify 0
- label "+eParts"
- pctDist 0.697452
- height 56
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0061"
- client @352
- supplier @348
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (1066, 952)
- label (object SegLabel @355
- Parent_View @353
- location (987, 1005)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "0..*"
- pctDist 0.789809
- height 53
- orientation 1)
- label (object SegLabel @356
- Parent_View @353
- location (967, 1061)
- anchor 3
- anchor_loc 1
- nlines 1
- max_width 154
- justify 0
- label "{ordered}"
- pctDist 0.742038
- height 109
- orientation 1))
- (object RoleView "$UNNAMED$2" @357
- Parent_View @352
- location (176, 328)
- label (object SegLabel @358
- Parent_View @357
- location (404, 893)
- hidden TRUE
- anchor 1
- anchor_loc 1
- nlines 1
- max_width 60
- justify 0
- label ""
- pctDist 0.800000
- height 42
- orientation 0)
- stereotype TRUE
- line_color 3342489
- quidu "3AD5CEBF0057"
- client @352
- supplier @350
- vertices (list Points
- (688, 952)
- (445, 952)
- (445, 817))
- line_style 3
- origin_attachment (688, 952)
- terminal_attachment (445, 817)
- label (object SegLabel @359
- Parent_View @357
- location (393, 912)
- anchor 2
- anchor_loc 1
- nlines 1
- max_width 15
- justify 0
- label "1..1"
- pctDist 0.747604
- height 53
- orientation 0))))))))
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.ecore b/bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.ecore
deleted file mode 100644
index f6bc446af..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.ecore
+++ /dev/null
@@ -1,606 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="wsdl"
- nsURI="http://www.eclipse.org/wsdl/2003/WSDL" nsPrefix="wsdl">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="The WSDL model contains classes for the Web Services Description Language (WSDL).&#xD;&#xA;&#xD;&#xA;WSDL describes network services as sets of endpoints operating on messages. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.&#xD;&#xA;&#xD;&#xA;WSDL describes the formats of the messages exchanged by the services, and supports the XML Schemas specification as its canonical type system. This package uses an XML Schema Infoset model package (see the XSD package) to describe the abstract message formats.&#xD;&#xA;&#xD;&#xA;The model contains the following diagrams, named after the corresponding chapters in the WSDL 1.1 specification (http://www.w3.org/TR/2001/NOTE-wsdl-20010315)&#xD;&#xA;- 2.1 Definition, shows the WSDL definition element and the WSDL document structure&#xD;&#xA;- 2.1.1 Naming and Linking, shows the namespace and import mechanism&#xD;&#xA;- 2.1.3 Extensibility, shows the WSDL extensibility mechanism&#xD;&#xA;- 2.2 Types, shows the use of XML Schema types in WSDL&#xD;&#xA;- 2.3 Messages, 2.4 PortTypes, 2.5 Bindings and 2.7 Services, show the major WSDL elements and their relations.&#xD;&#xA;&#xD;&#xA;The WSDL classes extend the javax.wsdl interfaces defined by JSR 110. Classes with interface and datatype stereotypes are used to represent these non-MOF interfaces."/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="WSDLElement" abstract="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL language element."/>
- </eAnnotations>
- <eOperations name="getEnclosingDefinition" eType="#//Definition"/>
- <eOperations name="setEnclosingDefinition">
- <eParameters name="definition" eType="#//Definition"/>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="documentationElement" eType="#//DOMElement"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="element" eType="#//DOMElement"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PortType" eSuperTypes="#//WSDLElement #//IPortType">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL portType element of the WSDL specification version 1.1 and an Interface component of the WSDL specification version 1.2. A port type or Interface is a named set of abstract operations and the abstract messages involved."/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="qName" eType="#//QName"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="undefined" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="proxy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eOperations" upperBound="-1"
- eType="#//Operation" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Operation" eSuperTypes="#//WSDLElement #//IOperation">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL operation element. A WSDL operation is an abstract description of an action supported by a service."/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" eType="#//OperationType"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="undefined" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="proxy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eInput" eType="#//Input"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eOutput" eType="#//Output"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eFaults" upperBound="-1"
- eType="#//Fault" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eParameterOrdering" upperBound="-1"
- eType="#//Part"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Message" eSuperTypes="#//WSDLElement #//IMessage">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL message element. A WSDL message is an abstract, typed definition of the data being communicated."/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="qName" eType="#//QName"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="undefined" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="proxy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eParts" upperBound="-1"
- eType="#//Part" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Part" eSuperTypes="#//WSDLElement #//IPart">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL part element. Parts describe the logical abstract content of a message. Each part is associated with a type from some type system. "/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementName" eType="#//QName"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeName" eType="#//QName"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="typeDefinition" eType="ecore:EClass ../../../org.eclipse.xsd/src-xsd/model/XSD.ecore#//XSDTypeDefinition"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="elementDeclaration" eType="ecore:EClass ../../../org.eclipse.xsd/src-xsd/model/XSD.ecore#//XSDElementDeclaration"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eMessage" eType="#//Message"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Binding" eSuperTypes="#//ExtensibleElement #//IBinding">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL binding element. A binding defines message format and protocol details for operations and messages defined by a particular portType. There may be any number of bindings for a given portType."/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="qName" eType="#//QName"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="undefined" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="proxy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="ePortType" lowerBound="1"
- eType="#//PortType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eBindingOperations" upperBound="-1"
- eType="#//BindingOperation" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="BindingOperation" eSuperTypes="#//ExtensibleElement #//IBindingOperation">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL operation element within a binding. An operation element within a binding specifies binding information for the operation with the same name within the binding's portType. "/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eOperation" lowerBound="1"
- eType="#//Operation"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eBindingInput" eType="#//BindingInput"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eBindingOutput" eType="#//BindingOutput"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eBindingFaults" upperBound="-1"
- eType="#//BindingFault" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Service" eSuperTypes="#//ExtensibleElement #//IService">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL service element. A service groups a set of related ports together."/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="qName" eType="#//QName"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="undefined" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="proxy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="ePorts" upperBound="-1"
- eType="#//Port" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Port" eSuperTypes="#//ExtensibleElement #//IPort">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL port element. A port defines an individual endpoint by specifying a single address for a binding"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eBinding" lowerBound="1"
- eType="#//Binding"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ExtensibilityElement" eSuperTypes="#//WSDLElement #//IExtensibilityElement">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL extensibility element. WSDL allows extensibility elements representing a specific technology under various elements defined by WSDL."/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="required" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementType" eType="#//QName"
- transient="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Definition" eSuperTypes="#//ExtensibleElement #//IDefinition">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL definitions element. The WSDL definitions element is the root element of a WSDL document."/>
- </eAnnotations>
- <eOperations name="getDocument" eType="#//DOMDocument"/>
- <eOperations name="setDocument">
- <eParameters name="document" eType="#//DOMDocument"/>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="targetNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="location" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="qName" eType="#//QName"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eImports" upperBound="-1"
- eType="#//Import" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eTypes" eType="#//Types"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eMessages" upperBound="-1"
- eType="#//Message" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="ePortTypes" upperBound="-1"
- eType="#//PortType" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eBindings" upperBound="-1"
- eType="#//Binding" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eServices" upperBound="-1"
- eType="#//Service" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eNamespaces" upperBound="-1"
- eType="#//Namespace" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Import" eSuperTypes="#//WSDLElement #//IImport">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents WSDL import element. WSDL allows associating a namespace with a document location using an import element."/>
- </eAnnotations>
- <eOperations name="getSchema" eType="ecore:EClass ../../../org.eclipse.xsd/src-xsd/model/XSD.ecore#//XSDSchema"/>
- <eOperations name="setSchema">
- <eParameters name="schema" eType="ecore:EClass ../../../org.eclipse.xsd/src-xsd/model/XSD.ecore#//XSDSchema"/>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="locationURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eDefinition" eType="#//Definition"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eSchema" eType="ecore:EClass ../../../org.eclipse.xsd/src-xsd/model/XSD.ecore#//XSDSchema"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ExtensibleElement" abstract="true" eSuperTypes="#//WSDLElement">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value=" WSDL allows elements representing a specific technology (referred to here as extensibility elements) under various elements defined by WSDL. This class represents a WSDL point of extensibility."/>
- </eAnnotations>
- <eOperations name="getExtensibilityElements" eType="#//IList"/>
- <eOperations name="addExtensibilityElement">
- <eParameters name="extElement" eType="#//IExtensibilityElement"/>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eExtensibilityElements"
- upperBound="-1" eType="#//ExtensibilityElement" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Input" eSuperTypes="#//MessageReference #//WSDLElement #//IInput">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL input element. An input element specifies the abstract message format for the input of the operation."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Output" eSuperTypes="#//MessageReference #//WSDLElement #//IOutput">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL output element. An output element specifies the abstract message format for the output of the operation."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Fault" eSuperTypes="#//MessageReference #//WSDLElement #//IFault">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL fault element. Fault elements specify the abstract message format for any error messages that may be output as the result of the operation "/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="BindingInput" eSuperTypes="#//ExtensibleElement #//IBindingInput">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL input element within a operation within a binding. An input element within an operation within a binding specifies binding information for the input of the operation. "/>
- </eAnnotations>
- <eOperations name="getInput" eType="#//IInput"/>
- <eOperations name="setInput">
- <eParameters name="input" eType="#//IInput"/>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eInput" lowerBound="1"
- eType="#//Input"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="BindingOutput" eSuperTypes="#//ExtensibleElement #//IBindingOutput">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL output element within a operation within a binding. An output element within an operation within a binding specifies binding information for the output of the operation. "/>
- </eAnnotations>
- <eOperations name="getOutput" eType="#//IOutput"/>
- <eOperations name="setOutput">
- <eParameters name="output" eType="#//IOutput"/>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eOutput" lowerBound="1"
- eType="#//Output"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="BindingFault" eSuperTypes="#//ExtensibleElement #//IBindingFault">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL fault element within a operation within a binding. A fault element within an operation within a binding specifies binding information for the fault with the same name. "/>
- </eAnnotations>
- <eOperations name="getFault" eType="#//IFault"/>
- <eOperations name="setFault">
- <eParameters name="fault" eType="#//IFault"/>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eFault" lowerBound="1"
- eType="#//Fault"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="QName" instanceClassName="javax.xml.namespace.QName">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.QName class. A QName is a fully qualified name."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Namespace">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a namespace and the corresponding namespace prefix used in a WSDL document."/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="URI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="prefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="OperationType" instanceClassName="javax.wsdl.OperationType">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="ONE_WAY=1&#xD;&#xA;REQUEST_RESPONSE=2&#xD;&#xA;SOLICIT_RESPONSE=3&#xD;&#xA;NOTIFICATION=4"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IPortType" instanceClassName="javax.wsdl.PortType"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.PortType non-MOF interface."/>
- </eAnnotations>
- <eOperations name="addOperation">
- <eParameters name="operation" eType="#//IOperation"/>
- </eOperations>
- <eOperations name="getOperation" eType="#//IOperation">
- <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eParameters name="inputName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eParameters name="outputName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getOperations" eType="#//IList"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IOperation" instanceClassName="javax.wsdl.Operation"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Operation non-MOF interface."/>
- </eAnnotations>
- <eOperations name="addFault">
- <eParameters name="fault" eType="#//IFault"/>
- </eOperations>
- <eOperations name="getFault" eType="#//IFault">
- <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getFaults" eType="#//IMap"/>
- <eOperations name="getParameterOrdering" eType="#//IList"/>
- <eOperations name="setParameterOrdering">
- <eParameters name="parameterOrder" eType="#//IList"/>
- </eOperations>
- <eOperations name="getInput" eType="#//IInput"/>
- <eOperations name="setInput">
- <eParameters name="input" eType="#//IInput"/>
- </eOperations>
- <eOperations name="getOutput" eType="#//IOutput"/>
- <eOperations name="setOutput">
- <eParameters name="output" eType="#//IOutput"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IInput" instanceClassName="javax.wsdl.Input"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Input non-MOF interface."/>
- </eAnnotations>
- <eOperations name="getMessage" eType="#//IMessage"/>
- <eOperations name="setMessage">
- <eParameters name="message" eType="#//IMessage"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IOutput" instanceClassName="javax.wsdl.Output"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Output non-MOF interface."/>
- </eAnnotations>
- <eOperations name="getMessage" eType="#//IMessage"/>
- <eOperations name="setMessage">
- <eParameters name="message" eType="#//IMessage"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IFault" instanceClassName="javax.wsdl.Fault"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Fault non-MOF interface."/>
- </eAnnotations>
- <eOperations name="getMessage" eType="#//IMessage"/>
- <eOperations name="setMessage">
- <eParameters name="message" eType="#//IMessage"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IMessage" instanceClassName="javax.wsdl.Message"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Message non-MOF interface"/>
- </eAnnotations>
- <eOperations name="addPart">
- <eParameters name="part" eType="#//IPart"/>
- </eOperations>
- <eOperations name="getPart" eType="#//IPart">
- <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getParts" eType="#//IMap"/>
- <eOperations name="getOrderedParts" eType="#//IList">
- <eParameters name="partOrder" eType="#//IList"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IPart" instanceClassName="javax.wsdl.Part"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Part non-MOF interface"/>
- </eAnnotations>
- <eOperations name="setExtensionAttribute" eExceptions="#//WSDLException">
- <eParameters name="name" eType="#//QName"/>
- <eParameters name="value" eType="#//QName"/>
- </eOperations>
- <eOperations name="getExtensionAttributeNames" eType="#//IIterator"/>
- <eOperations name="getExtensionAttribute" eType="#//QName">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IService" instanceClassName="javax.wsdl.Service"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Service non-MOF interface."/>
- </eAnnotations>
- <eOperations name="addPort">
- <eParameters name="port" eType="#//IPort"/>
- </eOperations>
- <eOperations name="getPorts" eType="#//IMap"/>
- <eOperations name="getPort" eType="#//IPort">
- <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IPort" instanceClassName="javax.wsdl.Port"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Port non-MOF interface."/>
- </eAnnotations>
- <eOperations name="getBinding" eType="#//IBinding"/>
- <eOperations name="setBinding">
- <eParameters name="binding" eType="#//IBinding"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IBinding" instanceClassName="javax.wsdl.Binding"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Binding non-MOF interface."/>
- </eAnnotations>
- <eOperations name="addBindingOperation">
- <eParameters name="bindingOperation" eType="#//IBindingOperation"/>
- </eOperations>
- <eOperations name="getBindingOperation" eType="#//IBindingOperation">
- <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eParameters name="inputName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eParameters name="outputName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getBindingOperations" eType="#//IList"/>
- <eOperations name="getPortType" eType="#//IPortType"/>
- <eOperations name="setPortType">
- <eParameters name="portType" eType="#//IPortType"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IBindingOperation" instanceClassName="javax.wsdl.BindingOperation"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.BindingOperation non-MOF interface."/>
- </eAnnotations>
- <eOperations name="addBindingFault">
- <eParameters name="bindingFault" eType="#//IBindingFault"/>
- </eOperations>
- <eOperations name="getBindingFault" eType="#//IBindingFault">
- <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getBindingFaults" eType="#//IMap"/>
- <eOperations name="getOperation" eType="#//IOperation"/>
- <eOperations name="setOperation">
- <eParameters name="operation" eType="#//IOperation"/>
- </eOperations>
- <eOperations name="getBindingInput" eType="#//IBindingInput"/>
- <eOperations name="setBindingInput">
- <eParameters name="bindingInput" eType="#//IBindingInput"/>
- </eOperations>
- <eOperations name="getBindingOutput" eType="#//IBindingOutput"/>
- <eOperations name="setBindingOutput">
- <eParameters name="bindingOutput" eType="#//IBindingOutput"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IBindingInput" instanceClassName="javax.wsdl.BindingInput"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.BindingInput non-MOF interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IBindingOutput" instanceClassName="javax.wsdl.BindingOutput"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.BindingOutput non-MOF interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IBindingFault" instanceClassName="javax.wsdl.BindingFault"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.BindingFault non-MOF interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="DOMElement" instanceClassName="org.w3c.dom.Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the org.w3c.dom.Element non-MOF interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IExtensibilityElement" instanceClassName="javax.wsdl.extensions.ExtensibilityElement"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.ExtensibilityElement non-MOF interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IDefinition" instanceClassName="javax.wsdl.Definition"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Definition non-MOF interface."/>
- </eAnnotations>
- <eOperations name="addBinding">
- <eParameters name="binding" eType="#//IBinding"/>
- </eOperations>
- <eOperations name="addImport">
- <eParameters name="importDef" eType="#//IImport"/>
- </eOperations>
- <eOperations name="addMessage">
- <eParameters name="message" eType="#//IMessage"/>
- </eOperations>
- <eOperations name="addNamespace">
- <eParameters name="prefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eParameters name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="addPortType">
- <eParameters name="portType" eType="#//IPortType"/>
- </eOperations>
- <eOperations name="addService">
- <eParameters name="service" eType="#//IService"/>
- </eOperations>
- <eOperations name="createBindingFault" eType="#//IBindingFault"/>
- <eOperations name="createBindingInput" eType="#//IBindingInput"/>
- <eOperations name="createBindingOutput" eType="#//IBindingOutput"/>
- <eOperations name="createBindingOperation" eType="#//IBindingOperation"/>
- <eOperations name="createBinding" eType="#//IBinding"/>
- <eOperations name="createFault" eType="#//IFault"/>
- <eOperations name="createImport" eType="#//IImport"/>
- <eOperations name="createInput" eType="#//IInput"/>
- <eOperations name="createMessage" eType="#//IMessage"/>
- <eOperations name="createOperation" eType="#//IOperation"/>
- <eOperations name="createOutput" eType="#//IOutput"/>
- <eOperations name="createPart" eType="#//IPart"/>
- <eOperations name="createPort" eType="#//IPort"/>
- <eOperations name="createPortType" eType="#//IPortType"/>
- <eOperations name="createService" eType="#//IService"/>
- <eOperations name="getBinding" eType="#//IBinding">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="getBindings" eType="#//IMap"/>
- <eOperations name="getImports" eType="#//IMap"/>
- <eOperations name="getImports" eType="#//IList">
- <eParameters name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getMessage" eType="#//IMessage">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="getMessages" eType="#//IMap"/>
- <eOperations name="getNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eParameters name="prefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getNamespaces" eType="#//IMap"/>
- <eOperations name="getPortType" eType="#//IPortType">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="getPortTypes" eType="#//IMap"/>
- <eOperations name="getPrefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eParameters name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="getService" eType="#//IService">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="getServices" eType="#//IMap"/>
- <eOperations name="getExtensionRegistry" eType="#//IExtensionRegistry"/>
- <eOperations name="setExtensionRegistry">
- <eParameters name="extensionRegistry" eType="#//IExtensionRegistry"/>
- </eOperations>
- <eOperations name="getDocumentBaseURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eOperations name="setDocumentBaseURI">
- <eParameters name="documentBase" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- <eOperations name="createTypes" eType="#//ITypes"/>
- <eOperations name="removeService" eType="#//IService">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="removeBinding" eType="#//IBinding">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="removePortType" eType="#//IPortType">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="removeMessage" eType="#//IMessage">
- <eParameters name="name" eType="#//QName"/>
- </eOperations>
- <eOperations name="getTypes" eType="#//ITypes"/>
- <eOperations name="setTypes">
- <eParameters name="types" eType="#//ITypes"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IImport" instanceClassName="javax.wsdl.Import"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Import non-MOF interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IList" instanceClassName="java.util.List"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the non-MOF java.util.List interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IMap" instanceClassName="java.util.Map"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the non-MOF java.util.Map interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IURL" instanceClassName="java.net.URL"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the non-MOF java.net.URL interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IExtensionRegistry" instanceClassName="javax.wsdl.extensions.ExtensionRegistry"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the non-MOF javax.wsdl.extensions.ExtensionRegistry interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Types" eSuperTypes="#//ExtensibleElement #//ITypes">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents a WSDL types element. The types element encloses data type definitions that are relevant for the exchanged messages."/>
- </eAnnotations>
- <eOperations name="getSchemas" eType="#//IList"/>
- <eOperations name="getSchemas" eType="#//IList">
- <eParameters name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IIterator" instanceClassName="java.util.Iterator"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the non-MOF java.util.Iterator interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="WSDLException" instanceClassName="javax.wsdl.WSDLException">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Exception class."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ITypes" instanceClassName="javax.wsdl.Types"
- abstract="true" interface="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the javax.wsdl.Types non-MOF interface"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UnknownExtensibilityElement" eSuperTypes="#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
- eType="#//UnknownExtensibilityElement" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XSDSchemaExtensibilityElement" eSuperTypes="#//ExtensibilityElement">
- <eStructuralFeatures xsi:type="ecore:EReference" name="schema" eType="ecore:EClass ../../../org.eclipse.xsd/src-xsd/model/XSD.ecore#//XSDSchema"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="DOMDocument" instanceClassName="org.w3c.dom.Document">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This class represents the org.w3c.dom.Document non-MOF interface."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MessageReference" abstract="true" eSuperTypes="#//WSDLElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="eMessage" lowerBound="1"
- eType="#//Message"/>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.genmodel b/bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.genmodel
deleted file mode 100644
index 0363e076f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.genmodel
+++ /dev/null
@@ -1,393 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.wst.wsdl/src"
- editDirectory="/org.eclipse.wst.wsdl.edit/src" editorDirectory="org.eclipse.wst.wsdl.editor/src"
- modelPluginID="org.eclipse.wst.wsdl" modelName="WSDL" editPluginClass="" editorPluginClass=""
- usedGenPackages="../../../org.eclipse.xsd/src-xsd/model/XSD.genmodel#//xsd">
- <foreignModel>..\rose\WSDL.mdl</foreignModel>
- <foreignModel>VABASE_PLUGINS_PATH</foreignModel>
- <foreignModel>../../..</foreignModel>
- <genPackages prefix="WSDL" basePackage="org.eclipse.wst" disposableProviderFactory="true"
- ecorePackage="wsdl.ecore#/">
- <genDataTypes ecoreDataType="wsdl.ecore#//QName"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//OperationType"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMElement"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//WSDLException"/>
- <genDataTypes ecoreDataType="wsdl.ecore#//DOMDocument"/>
- <genClasses ecoreClass="wsdl.ecore#//WSDLElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/documentationElement"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//WSDLElement/element"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/getEnclosingDefinition"/>
- <genOperations ecoreOperation="wsdl.ecore#//WSDLElement/setEnclosingDefinition">
- <genParameters ecoreParameter="wsdl.ecore#//WSDLElement/setEnclosingDefinition/definition"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//PortType">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//PortType/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//PortType/eOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Operation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/style"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Operation/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eInput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eOutput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eFaults"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Operation/eParameterOrdering"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Message">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Message/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Message/eParts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Part">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/elementName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Part/typeName"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/typeDefinition"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/elementDeclaration"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Part/eMessage"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Binding">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Binding/resourceURI"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/ePortType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Binding/eBindingOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOperation">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOperation/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eOperation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingInput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingOutput"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOperation/eBindingFaults"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Service">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/undefined"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/proxy"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Service/resourceURI"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Service/ePorts"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Port">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Port/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Port/eBinding"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibilityElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/required"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//ExtensibilityElement/elementType"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Definition">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/targetNamespace"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/location"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/qName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Definition/encoding"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eImports"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eTypes"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eMessages"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/ePortTypes"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eBindings"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eServices"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//Definition/eNamespaces"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/getDocument"/>
- <genOperations ecoreOperation="wsdl.ecore#//Definition/setDocument">
- <genParameters ecoreParameter="wsdl.ecore#//Definition/setDocument/document"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Import">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/namespaceURI"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Import/locationURI"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eDefinition"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//Import/eSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/getSchema"/>
- <genOperations ecoreOperation="wsdl.ecore#//Import/setSchema">
- <genParameters ecoreParameter="wsdl.ecore#//Import/setSchema/schema"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//ExtensibleElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//ExtensibleElement/eExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/getExtensibilityElements"/>
- <genOperations ecoreOperation="wsdl.ecore#//ExtensibleElement/addExtensibilityElement">
- <genParameters ecoreParameter="wsdl.ecore#//ExtensibleElement/addExtensibilityElement/extElement"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Input"/>
- <genClasses ecoreClass="wsdl.ecore#//Output"/>
- <genClasses ecoreClass="wsdl.ecore#//Fault"/>
- <genClasses ecoreClass="wsdl.ecore#//BindingInput">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingInput/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingInput/eInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingInput/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingInput/setInput/input"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingOutput">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingOutput/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingOutput/eOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingOutput/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//BindingOutput/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//BindingFault">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//BindingFault/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//BindingFault/eFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/getFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//BindingFault/setFault">
- <genParameters ecoreParameter="wsdl.ecore#//BindingFault/setFault/fault"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//Namespace">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/URI"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//Namespace/prefix"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPortType">
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/addOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/addOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPortType/getOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPortType/getOperations"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/addFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/addFault/fault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFault">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/getFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getParameterOrdering"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setParameterOrdering">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setParameterOrdering/parameterOrder"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setInput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setInput/input"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/getOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOperation/setOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IOperation/setOutput/output"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IInput">
- <genOperations ecoreOperation="wsdl.ecore#//IInput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IInput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IInput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IOutput">
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IOutput/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IOutput/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IFault">
- <genOperations ecoreOperation="wsdl.ecore#//IFault/getMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IFault/setMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IFault/setMessage/message"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IMessage">
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/addPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/addPart/part"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getPart">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getPart/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getParts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IMessage/getOrderedParts">
- <genParameters ecoreParameter="wsdl.ecore#//IMessage/getOrderedParts/partOrder"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPart">
- <genOperations ecoreOperation="wsdl.ecore#//IPart/setExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IPart/setExtensionAttribute/value"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttributeNames"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPart/getExtensionAttribute">
- <genParameters ecoreParameter="wsdl.ecore#//IPart/getExtensionAttribute/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IService">
- <genOperations ecoreOperation="wsdl.ecore#//IService/addPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/addPort/port"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPorts"/>
- <genOperations ecoreOperation="wsdl.ecore#//IService/getPort">
- <genParameters ecoreParameter="wsdl.ecore#//IService/getPort/name"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IPort">
- <genOperations ecoreOperation="wsdl.ecore#//IPort/getBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IPort/setBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IPort/setBinding/binding"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBinding">
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/addBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/addBindingOperation/bindingOperation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/name"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/inputName"/>
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/getBindingOperation/outputName"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getBindingOperations"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/getPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBinding/setPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IBinding/setPortType/portType"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOperation">
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/addBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/addBindingFault/bindingFault"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFault">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/getBindingFault/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingFaults"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setOperation">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setOperation/operation"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingInput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingInput/bindingInput"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/getBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IBindingOperation/setBindingOutput">
- <genParameters ecoreParameter="wsdl.ecore#//IBindingOperation/setBindingOutput/bindingOutput"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IBindingInput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingOutput"/>
- <genClasses ecoreClass="wsdl.ecore#//IBindingFault"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensibilityElement"/>
- <genClasses ecoreClass="wsdl.ecore#//IDefinition">
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addBinding/binding"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addImport">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addImport/importDef"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addMessage/message"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/prefix"/>
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addNamespace/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addPortType/portType"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/addService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/addService/service"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBindingOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createBinding"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createFault"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createImport"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createInput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createMessage"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOperation"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createOutput"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPart"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPort"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createPortType"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createService"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getBindings"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getImports.1">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getImports.1/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getMessages"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespace">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getNamespace/prefix"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getNamespaces"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPortTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getPrefix">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getPrefix/namespaceURI"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/getService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getServices"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getExtensionRegistry"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setExtensionRegistry">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setExtensionRegistry/extensionRegistry"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getDocumentBaseURI"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setDocumentBaseURI">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setDocumentBaseURI/documentBase"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/createTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeService">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeService/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeBinding">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeBinding/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removePortType">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removePortType/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/removeMessage">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/removeMessage/name"/>
- </genOperations>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/getTypes"/>
- <genOperations ecoreOperation="wsdl.ecore#//IDefinition/setTypes">
- <genParameters ecoreParameter="wsdl.ecore#//IDefinition/setTypes/types"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IImport"/>
- <genClasses ecoreClass="wsdl.ecore#//IList"/>
- <genClasses ecoreClass="wsdl.ecore#//IMap"/>
- <genClasses ecoreClass="wsdl.ecore#//IURL"/>
- <genClasses ecoreClass="wsdl.ecore#//IExtensionRegistry"/>
- <genClasses ecoreClass="wsdl.ecore#//Types">
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas"/>
- <genOperations ecoreOperation="wsdl.ecore#//Types/getSchemas.1">
- <genParameters ecoreParameter="wsdl.ecore#//Types/getSchemas.1/namespaceURI"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//IIterator"/>
- <genClasses ecoreClass="wsdl.ecore#//ITypes"/>
- <genClasses ecoreClass="wsdl.ecore#//UnknownExtensibilityElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//UnknownExtensibilityElement/children"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//XSDSchemaExtensibilityElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference wsdl.ecore#//XSDSchemaExtensibilityElement/schema"/>
- </genClasses>
- <genClasses ecoreClass="wsdl.ecore#//MessageReference">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute wsdl.ecore#//MessageReference/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference wsdl.ecore#//MessageReference/eMessage"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Binding.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Binding.java
deleted file mode 100644
index 6f639d899..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Binding.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding</b></em>'.
- * @since 1.0
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL binding element. A binding defines message format and protocol details for operations and messages defined by a particular portType. There may be any number of bindings for a given portType.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Binding#getQName <em>QName</em>}</li>
- * <li>{@link org.eclipse.wsdl.Binding#isUndefined <em>Undefined</em>}</li>
- * <li>{@link org.eclipse.wsdl.Binding#isProxy <em>Proxy</em>}</li>
- * <li>{@link org.eclipse.wsdl.Binding#getResourceURI <em>Resource URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.Binding#getEPortType <em>EPort Type</em>}</li>
- * <li>{@link org.eclipse.wsdl.Binding#getEBindingOperations <em>EBinding Operations</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getBinding()
- * @model
- * @generated
- */
-public interface Binding extends ExtensibleElement, javax.wsdl.Binding{
- /**
- * Returns the value of the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>QName</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>QName</em>' attribute.
- * @see #setQName(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getBinding_QName()
- * @model dataType="org.eclipse.wsdl.QName"
- * @generated
- */
- QName getQName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Binding#getQName <em>QName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>QName</em>' attribute.
- * @see #getQName()
- * @generated
- */
- void setQName(QName value);
-
- /**
- * Returns the value of the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Undefined</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Undefined</em>' attribute.
- * @see #setUndefined(boolean)
- * @see org.eclipse.wsdl.WSDLPackage#getBinding_Undefined()
- * @model
- * @generated
- */
- boolean isUndefined();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Binding#isUndefined <em>Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Undefined</em>' attribute.
- * @see #isUndefined()
- * @generated
- */
- void setUndefined(boolean value);
-
- /**
- * Returns the value of the '<em><b>EPort Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EPort Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EPort Type</em>' reference.
- * @see #setEPortType(PortType)
- * @see org.eclipse.wsdl.WSDLPackage#getBinding_EPortType()
- * @model required="true"
- * @generated
- */
- PortType getEPortType();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Binding#getEPortType <em>EPort Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EPort Type</em>' reference.
- * @see #getEPortType()
- * @generated
- */
- void setEPortType(PortType value);
-
- /**
- * Returns the value of the '<em><b>EBinding Operations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.BindingOperation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EBinding Operations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EBinding Operations</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getBinding_EBindingOperations()
- * @model type="org.eclipse.wsdl.BindingOperation" containment="true"
- * @generated
- */
- EList getEBindingOperations();
-
-} // Binding
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingFault.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingFault.java
deleted file mode 100644
index 20a9109f3..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingFault.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding Fault</b></em>'.
- * @since 1.0
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL fault element within a operation within a binding. A fault element within an operation within a binding specifies binding information for the fault with the same name.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.BindingFault#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.BindingFault#getEFault <em>EFault</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getBindingFault()
- * @model
- * @generated
- */
-public interface BindingFault extends ExtensibleElement, javax.wsdl.BindingFault{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingFault_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingFault#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>EFault</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EFault</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EFault</em>' reference.
- * @see #setEFault(Fault)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingFault_EFault()
- * @model required="true"
- * @generated
- */
- Fault getEFault();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingFault#getEFault <em>EFault</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EFault</em>' reference.
- * @see #getEFault()
- * @generated
- */
- void setEFault(Fault value);
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as getEFault() and compatible with the JWSDL API.
- * @see #getEFault()
- * @return the value of the '<em>EFault</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- javax.wsdl.Fault getFault();
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as setEFault(Fault) and compatible with the JWSDL API.
- * @see #setEFault(Fault)
- * @param fault the new value of the '<em>EFault</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void setFault(javax.wsdl.Fault fault);
-
-} // BindingFault
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingInput.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingInput.java
deleted file mode 100644
index c4c66587f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingInput.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding Input</b></em>'.
- * @since 1.0
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL input element within a operation within a binding. An input element within an operation within a binding specifies binding information for the input of the operation.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.BindingInput#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.BindingInput#getEInput <em>EInput</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getBindingInput()
- * @model
- * @generated
- */
-public interface BindingInput extends ExtensibleElement, javax.wsdl.BindingInput{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingInput_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingInput#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>EInput</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EInput</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EInput</em>' reference.
- * @see #setEInput(Input)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingInput_EInput()
- * @model required="true"
- * @generated
- */
- Input getEInput();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingInput#getEInput <em>EInput</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EInput</em>' reference.
- * @see #getEInput()
- * @generated
- */
- void setEInput(Input value);
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as getEInput() and compatible with the JWSDL API.
- * @see #getEInput()
- * @return the value of the '<em>EInput</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- javax.wsdl.Input getInput();
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as setEInput(Input) and compatible with the JWSDL API.
- * @see #setEInput(Input)
- * @param input the new value of the '<em>EInput</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void setInput(javax.wsdl.Input input);
-
-} // BindingInput
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOperation.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOperation.java
deleted file mode 100644
index f47d01dde..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOperation.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding Operation</b></em>'.
- * @since 1.0
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL operation element within a binding. An operation element within a binding specifies binding information for the operation with the same name within the binding's portType.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.BindingOperation#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.BindingOperation#getEOperation <em>EOperation</em>}</li>
- * <li>{@link org.eclipse.wsdl.BindingOperation#getEBindingInput <em>EBinding Input</em>}</li>
- * <li>{@link org.eclipse.wsdl.BindingOperation#getEBindingOutput <em>EBinding Output</em>}</li>
- * <li>{@link org.eclipse.wsdl.BindingOperation#getEBindingFaults <em>EBinding Faults</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOperation()
- * @model
- * @generated
- */
-public interface BindingOperation extends ExtensibleElement, javax.wsdl.BindingOperation{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOperation_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingOperation#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>EOperation</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EOperation</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EOperation</em>' reference.
- * @see #setEOperation(Operation)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOperation_EOperation()
- * @model required="true"
- * @generated
- */
- Operation getEOperation();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingOperation#getEOperation <em>EOperation</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EOperation</em>' reference.
- * @see #getEOperation()
- * @generated
- */
- void setEOperation(Operation value);
-
- /**
- * Returns the value of the '<em><b>EBinding Input</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EBinding Input</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EBinding Input</em>' containment reference.
- * @see #setEBindingInput(BindingInput)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOperation_EBindingInput()
- * @model containment="true"
- * @generated
- */
- BindingInput getEBindingInput();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingOperation#getEBindingInput <em>EBinding Input</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EBinding Input</em>' containment reference.
- * @see #getEBindingInput()
- * @generated
- */
- void setEBindingInput(BindingInput value);
-
- /**
- * Returns the value of the '<em><b>EBinding Output</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EBinding Output</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EBinding Output</em>' containment reference.
- * @see #setEBindingOutput(BindingOutput)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOperation_EBindingOutput()
- * @model containment="true"
- * @generated
- */
- BindingOutput getEBindingOutput();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingOperation#getEBindingOutput <em>EBinding Output</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EBinding Output</em>' containment reference.
- * @see #getEBindingOutput()
- * @generated
- */
- void setEBindingOutput(BindingOutput value);
-
- /**
- * Returns the value of the '<em><b>EBinding Faults</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.BindingFault}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EBinding Faults</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EBinding Faults</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOperation_EBindingFaults()
- * @model type="org.eclipse.wsdl.BindingFault" containment="true"
- * @generated
- */
- EList getEBindingFaults();
-
-} // BindingOperation
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOutput.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOutput.java
deleted file mode 100644
index 4f209016e..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOutput.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding Output</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL output element within a operation within a binding. An output element within an operation within a binding specifies binding information for the output of the operation.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.BindingOutput#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.BindingOutput#getEOutput <em>EOutput</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOutput()
- * @model
- * @generated
- */
-public interface BindingOutput extends ExtensibleElement, javax.wsdl.BindingOutput{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOutput_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingOutput#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>EOutput</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EOutput</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EOutput</em>' reference.
- * @see #setEOutput(Output)
- * @see org.eclipse.wsdl.WSDLPackage#getBindingOutput_EOutput()
- * @model required="true"
- * @generated
- */
- Output getEOutput();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.BindingOutput#getEOutput <em>EOutput</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EOutput</em>' reference.
- * @see #getEOutput()
- * @generated
- */
- void setEOutput(Output value);
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as getEOutput() and compatible with the JWSDL API.
- * @see #getEOutput()
- * @return the value of the '<em>EOutput</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- javax.wsdl.Output getOutput();
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as setEOutput(Output) and compatible with the JWSDL API.
- * @see #setEOutput(Output)
- * @param output the new value of the '<em>EOutput</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void setOutput(javax.wsdl.Output output);
-
-} // BindingOutput
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Definition.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Definition.java
deleted file mode 100644
index 993b66d9a..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Definition.java
+++ /dev/null
@@ -1,299 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.util.EList;
-import org.w3c.dom.Document;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Definition</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL definitions element. The WSDL definitions element is the root element of a WSDL document.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Definition#getTargetNamespace <em>Target Namespace</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getLocation <em>Location</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getQName <em>QName</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getEncoding <em>Encoding</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getEMessages <em>EMessages</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getEPortTypes <em>EPort Types</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getEBindings <em>EBindings</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getEServices <em>EServices</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getENamespaces <em>ENamespaces</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getETypes <em>ETypes</em>}</li>
- * <li>{@link org.eclipse.wsdl.Definition#getEImports <em>EImports</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition()
- * @model
- * @generated
- */
-public interface Definition extends ExtensibleElement, javax.wsdl.Definition{
- /**
- * Returns the value of the '<em><b>Target Namespace</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target Namespace</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Target Namespace</em>' attribute.
- * @see #setTargetNamespace(String)
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_TargetNamespace()
- * @model
- * @generated
- */
- String getTargetNamespace();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Definition#getTargetNamespace <em>Target Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Target Namespace</em>' attribute.
- * @see #getTargetNamespace()
- * @generated
- */
- void setTargetNamespace(String value);
-
- /**
- * Returns the value of the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Location</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Location</em>' attribute.
- * @see #setLocation(String)
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_Location()
- * @model
- * @generated
- */
- String getLocation();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Definition#getLocation <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Location</em>' attribute.
- * @see #getLocation()
- * @generated
- */
- void setLocation(String value);
-
- /**
- * Returns the value of the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>QName</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>QName</em>' attribute.
- * @see #setQName(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_QName()
- * @model dataType="org.eclipse.wsdl.QName"
- * @generated
- */
- QName getQName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Definition#getQName <em>QName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>QName</em>' attribute.
- * @see #getQName()
- * @generated
- */
- void setQName(QName value);
-
- /**
- * Returns the value of the '<em><b>Encoding</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Encoding</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Encoding</em>' attribute.
- * @see #setEncoding(String)
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_Encoding()
- * @model
- * @generated
- */
- String getEncoding();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Definition#getEncoding <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Encoding</em>' attribute.
- * @see #getEncoding()
- * @generated
- */
- void setEncoding(String value);
-
- /**
- * Returns the value of the '<em><b>EMessages</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Message}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EMessages</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EMessages</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_EMessages()
- * @model type="org.eclipse.wsdl.Message" containment="true"
- * @generated
- */
- EList getEMessages();
-
- /**
- * Returns the value of the '<em><b>EPort Types</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.PortType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EPort Types</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EPort Types</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_EPortTypes()
- * @model type="org.eclipse.wsdl.PortType" containment="true"
- * @generated
- */
- EList getEPortTypes();
-
- /**
- * Returns the value of the '<em><b>EBindings</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Binding}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EBindings</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EBindings</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_EBindings()
- * @model type="org.eclipse.wsdl.Binding" containment="true"
- * @generated
- */
- EList getEBindings();
-
- /**
- * Returns the value of the '<em><b>EServices</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Service}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EServices</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EServices</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_EServices()
- * @model type="org.eclipse.wsdl.Service" containment="true"
- * @generated
- */
- EList getEServices();
-
- /**
- * Returns the value of the '<em><b>ENamespaces</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Namespace}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>ENamespaces</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>ENamespaces</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_ENamespaces()
- * @model type="org.eclipse.wsdl.Namespace" containment="true"
- * @generated
- */
- EList getENamespaces();
-
- /**
- * Returns the value of the '<em><b>ETypes</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>ETypes</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>ETypes</em>' containment reference.
- * @see #setETypes(Types)
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_ETypes()
- * @model containment="true"
- * @generated
- */
- Types getETypes();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Definition#getETypes <em>ETypes</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>ETypes</em>' containment reference.
- * @see #getETypes()
- * @generated
- */
- void setETypes(Types value);
-
- /**
- * Returns the value of the '<em><b>EImports</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Import}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EImports</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EImports</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getDefinition_EImports()
- * @model type="org.eclipse.wsdl.Import" containment="true"
- * @generated
- */
- EList getEImports();
-
- /**
- * <!-- begin-user-doc -->
- * Returns a W3C DOM Document built from the input WSDL document.
- * @return W3C DOM Document.
- * @ignore
- * <!-- end-user-doc -->
- * @model dataType="org.eclipse.wsdl.DOMDocument" parameters=""
- * @generated
- */
- Document getDocument();
-
- /**
- * <!-- begin-user-doc -->
- * Sets a W3C DOM Document to be used when building up a DOM Element tree for the WSDL model.
- * @param document W3C DOM Document.
- * @ignore
- * <!-- end-user-doc -->
- * @model parameters="org.eclipse.wsdl.DOMDocument"
- * @generated
- */
- void setDocument(Document document);
-
-} // Definition
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibilityElement.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibilityElement.java
deleted file mode 100644
index bf269011b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibilityElement.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.xml.namespace.QName;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Extensibility Element</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL extensibility element. WSDL allows extensibility elements representing a specific technology under various elements defined by WSDL.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.ExtensibilityElement#isRequired <em>Required</em>}</li>
- * <li>{@link org.eclipse.wsdl.ExtensibilityElement#getElementType <em>Element Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getExtensibilityElement()
- * @model
- * @generated
- */
-public interface ExtensibilityElement extends WSDLElement, javax.wsdl.extensions.ExtensibilityElement{
- /**
- * Returns the value of the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Required</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Required</em>' attribute.
- * @see #setRequired(boolean)
- * @see org.eclipse.wsdl.WSDLPackage#getExtensibilityElement_Required()
- * @model
- * @generated
- */
- boolean isRequired();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.ExtensibilityElement#isRequired <em>Required</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Required</em>' attribute.
- * @see #isRequired()
- * @generated
- */
- void setRequired(boolean value);
-
- /**
- * Returns the value of the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element Type</em>' attribute.
- * @see #setElementType(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getExtensibilityElement_ElementType()
- * @model dataType="org.eclipse.wsdl.QName" transient="true"
- * @generated
- */
- QName getElementType();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.ExtensibilityElement#getElementType <em>Element Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element Type</em>' attribute.
- * @see #getElementType()
- * @generated
- */
- void setElementType(QName value);
-
-} // ExtensibilityElement
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibleElement.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibleElement.java
deleted file mode 100644
index 5b4e85083..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibleElement.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import java.util.List;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Extensible Element</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * WSDL allows elements representing a specific technology (referred to here as extensibility elements) under various elements defined by WSDL. This class represents a WSDL point of extensibility.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.ExtensibleElement#getEExtensibilityElements <em>EExtensibility Elements</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getExtensibleElement()
- * @model abstract="true"
- * @generated
- */
-public interface ExtensibleElement extends WSDLElement{
- /**
- * Returns the value of the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.ExtensibilityElement}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EExtensibility Elements</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EExtensibility Elements</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getExtensibleElement_EExtensibilityElements()
- * @model type="org.eclipse.wsdl.ExtensibilityElement" containment="true"
- * @generated
- */
- EList getEExtensibilityElements();
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as getEExtensibilityElements() and compatible with the JWSDL API.
- * @see #getEExtensibilityElements()
- * @return the value of the '<em>EFault</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- List getExtensibilityElements();
-
- /**
- * <!-- begin-user-doc -->
- * Adds an ExtensibilityElement to the '<em>EExtensibility Elements</em>' containment reference list.
- * @param extElement An ExtensibilityElement to be added.
- * @ignore
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void addExtensibilityElement(ExtensibilityElement extElement);
-
-} // ExtensibleElement
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Fault.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Fault.java
deleted file mode 100644
index 976d25d3e..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Fault.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Fault</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL fault element. Fault elements specify the abstract message format for any error messages that may be output as the result of the operation
- * <!-- end-model-doc -->
- *
- *
- * @see org.eclipse.wsdl.WSDLPackage#getFault()
- * @model
- * @generated
- */
-public interface Fault extends MessageReference, WSDLElement, javax.wsdl.Fault{
-} // Fault
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Import.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Import.java
deleted file mode 100644
index 1a014095d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Import.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.xsd.XSDSchema;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Import</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents WSDL import element. WSDL allows associating a namespace with a document location using an import element.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Import#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.Import#getLocationURI <em>Location URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.Import#getEDefinition <em>EDefinition</em>}</li>
- * <li>{@link org.eclipse.wsdl.Import#getESchema <em>ESchema</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getImport()
- * @model
- * @generated
- */
-public interface Import extends WSDLElement, javax.wsdl.Import{
- /**
- * Returns the value of the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Namespace URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Namespace URI</em>' attribute.
- * @see #setNamespaceURI(String)
- * @see org.eclipse.wsdl.WSDLPackage#getImport_NamespaceURI()
- * @model
- * @generated
- */
- String getNamespaceURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Import#getNamespaceURI <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Namespace URI</em>' attribute.
- * @see #getNamespaceURI()
- * @generated
- */
- void setNamespaceURI(String value);
-
- /**
- * Returns the value of the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Location URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Location URI</em>' attribute.
- * @see #setLocationURI(String)
- * @see org.eclipse.wsdl.WSDLPackage#getImport_LocationURI()
- * @model
- * @generated
- */
- String getLocationURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Import#getLocationURI <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Location URI</em>' attribute.
- * @see #getLocationURI()
- * @generated
- */
- void setLocationURI(String value);
-
- /**
- * Returns the value of the '<em><b>EDefinition</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EDefinition</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EDefinition</em>' reference.
- * @see #setEDefinition(Definition)
- * @see org.eclipse.wsdl.WSDLPackage#getImport_EDefinition()
- * @model
- * @generated
- */
- Definition getEDefinition();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Import#getEDefinition <em>EDefinition</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EDefinition</em>' reference.
- * @see #getEDefinition()
- * @generated
- */
- void setEDefinition(Definition value);
-
- /**
- * Returns the value of the '<em><b>ESchema</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>ESchema</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>ESchema</em>' reference.
- * @see #setESchema(XSDSchema)
- * @see org.eclipse.wsdl.WSDLPackage#getImport_ESchema()
- * @model
- * @generated
- */
- XSDSchema getESchema();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Import#getESchema <em>ESchema</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>ESchema</em>' reference.
- * @see #getESchema()
- * @generated
- */
- void setESchema(XSDSchema value);
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as getESchema().
- * @see #getESchema()
- * @return the value of the '<em>ESchema</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- XSDSchema getSchema();
-
- /**
- * <!-- begin-user-doc -->
- * This method is same as setESchema(XSDSchema).
- * @see #setESchema(XSDSchema)
- * @param schema the new value of the '<em>ESchema</em>' reference.
- * @ignore
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void setSchema(XSDSchema schema);
-
-} // Import
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Input.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Input.java
deleted file mode 100644
index b2c4045c0..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Input.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Input</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL input element. An input element specifies the abstract message format for the input of the operation.
- * <!-- end-model-doc -->
- *
- *
- * @see org.eclipse.wsdl.WSDLPackage#getInput()
- * @model
- * @generated
- */
-public interface Input extends MessageReference, WSDLElement, javax.wsdl.Input{
-} // Input
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Message.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Message.java
deleted file mode 100644
index a1914d45f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Message.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Message</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL message element. A WSDL message is an abstract, typed definition of the data being communicated.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Message#getQName <em>QName</em>}</li>
- * <li>{@link org.eclipse.wsdl.Message#isUndefined <em>Undefined</em>}</li>
- * <li>{@link org.eclipse.wsdl.Message#isProxy <em>Proxy</em>}</li>
- * <li>{@link org.eclipse.wsdl.Message#getResourceURI <em>Resource URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.Message#getEParts <em>EParts</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getMessage()
- * @model
- * @generated
- */
-public interface Message extends WSDLElement, javax.wsdl.Message{
- /**
- * Returns the value of the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>QName</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>QName</em>' attribute.
- * @see #setQName(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getMessage_QName()
- * @model dataType="org.eclipse.wsdl.QName"
- * @generated
- */
- QName getQName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Message#getQName <em>QName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>QName</em>' attribute.
- * @see #getQName()
- * @generated
- */
- void setQName(QName value);
-
- /**
- * Returns the value of the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Undefined</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Undefined</em>' attribute.
- * @see #setUndefined(boolean)
- * @see org.eclipse.wsdl.WSDLPackage#getMessage_Undefined()
- * @model
- * @generated
- */
- boolean isUndefined();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Message#isUndefined <em>Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Undefined</em>' attribute.
- * @see #isUndefined()
- * @generated
- */
- void setUndefined(boolean value);
-
- /**
- * Returns the value of the '<em><b>EParts</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Part}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EParts</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EParts</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getMessage_EParts()
- * @model type="org.eclipse.wsdl.Part" containment="true"
- * @generated
- */
- EList getEParts();
-
-} // Message
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/MessageReference.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/MessageReference.java
deleted file mode 100644
index 00c3b447b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/MessageReference.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Message Reference</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.MessageReference#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.MessageReference#getEMessage <em>EMessage</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getMessageReference()
- * @model abstract="true"
- * @generated
- */
-public interface MessageReference extends WSDLElement{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getMessageReference_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.MessageReference#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>EMessage</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EMessage</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EMessage</em>' reference.
- * @see #setEMessage(Message)
- * @see org.eclipse.wsdl.WSDLPackage#getMessageReference_EMessage()
- * @model required="true"
- * @generated
- */
- Message getEMessage();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.MessageReference#getEMessage <em>EMessage</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EMessage</em>' reference.
- * @see #getEMessage()
- * @generated
- */
- void setEMessage(Message value);
-
-} // MessageReference
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Namespace.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Namespace.java
deleted file mode 100644
index 6cbadaa57..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Namespace.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Namespace</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a namespace and the corresponding namespace prefix used in a WSDL document.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Namespace#getURI <em>URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.Namespace#getPrefix <em>Prefix</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getNamespace()
- * @model
- * @generated
- */
-public interface Namespace extends EObject{
- /**
- * Returns the value of the '<em><b>URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>URI</em>' attribute.
- * @see #setURI(String)
- * @see org.eclipse.wsdl.WSDLPackage#getNamespace_URI()
- * @model
- * @generated
- */
- String getURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Namespace#getURI <em>URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>URI</em>' attribute.
- * @see #getURI()
- * @generated
- */
- void setURI(String value);
-
- /**
- * Returns the value of the '<em><b>Prefix</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Prefix</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Prefix</em>' attribute.
- * @see #setPrefix(String)
- * @see org.eclipse.wsdl.WSDLPackage#getNamespace_Prefix()
- * @model
- * @generated
- */
- String getPrefix();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Namespace#getPrefix <em>Prefix</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Prefix</em>' attribute.
- * @see #getPrefix()
- * @generated
- */
- void setPrefix(String value);
-
-} // Namespace
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Operation.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Operation.java
deleted file mode 100644
index 2d011039f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Operation.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.wsdl.OperationType;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Operation</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL operation element. A WSDL operation is an abstract description of an action supported by a service.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Operation#getStyle <em>Style</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#isUndefined <em>Undefined</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#isProxy <em>Proxy</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#getResourceURI <em>Resource URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#getEInput <em>EInput</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#getEOutput <em>EOutput</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#getEFaults <em>EFaults</em>}</li>
- * <li>{@link org.eclipse.wsdl.Operation#getEParameterOrdering <em>EParameter Ordering</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getOperation()
- * @model
- * @generated
- */
-public interface Operation extends WSDLElement, javax.wsdl.Operation{
- /**
- * Returns the value of the '<em><b>Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Style</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Style</em>' attribute.
- * @see #setStyle(OperationType)
- * @see org.eclipse.wsdl.WSDLPackage#getOperation_Style()
- * @model dataType="org.eclipse.wsdl.OperationType"
- * @generated
- */
- OperationType getStyle();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Operation#getStyle <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Style</em>' attribute.
- * @see #getStyle()
- * @generated
- */
- void setStyle(OperationType value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getOperation_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Operation#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Undefined</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Undefined</em>' attribute.
- * @see #setUndefined(boolean)
- * @see org.eclipse.wsdl.WSDLPackage#getOperation_Undefined()
- * @model
- * @generated
- */
- boolean isUndefined();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Operation#isUndefined <em>Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Undefined</em>' attribute.
- * @see #isUndefined()
- * @generated
- */
- void setUndefined(boolean value);
-
- /**
- * Returns the value of the '<em><b>EInput</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EInput</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EInput</em>' containment reference.
- * @see #setEInput(Input)
- * @see org.eclipse.wsdl.WSDLPackage#getOperation_EInput()
- * @model containment="true"
- * @generated
- */
- Input getEInput();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Operation#getEInput <em>EInput</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EInput</em>' containment reference.
- * @see #getEInput()
- * @generated
- */
- void setEInput(Input value);
-
- /**
- * Returns the value of the '<em><b>EOutput</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EOutput</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EOutput</em>' containment reference.
- * @see #setEOutput(Output)
- * @see org.eclipse.wsdl.WSDLPackage#getOperation_EOutput()
- * @model containment="true"
- * @generated
- */
- Output getEOutput();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Operation#getEOutput <em>EOutput</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EOutput</em>' containment reference.
- * @see #getEOutput()
- * @generated
- */
- void setEOutput(Output value);
-
- /**
- * Returns the value of the '<em><b>EFaults</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Fault}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EFaults</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EFaults</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getOperation_EFaults()
- * @model type="org.eclipse.wsdl.Fault" containment="true"
- * @generated
- */
- EList getEFaults();
-
- /**
- * Returns the value of the '<em><b>EParameter Ordering</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Part}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EParameter Ordering</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EParameter Ordering</em>' reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getOperation_EParameterOrdering()
- * @model type="org.eclipse.wsdl.Part"
- * @generated
- */
- EList getEParameterOrdering();
-
-} // Operation
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Output.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Output.java
deleted file mode 100644
index 319b67393..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Output.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Output</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL output element. An output element specifies the abstract message format for the output of the operation.
- * <!-- end-model-doc -->
- *
- *
- * @see org.eclipse.wsdl.WSDLPackage#getOutput()
- * @model
- * @generated
- */
-public interface Output extends MessageReference, WSDLElement, javax.wsdl.Output{
-} // Output
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Part.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Part.java
deleted file mode 100644
index 10ce25830..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Part.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDTypeDefinition;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Part</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL part element. Parts describe the logical abstract content of a message. Each part is associated with a type from some type system.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Part#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.Part#getElementName <em>Element Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.Part#getTypeName <em>Type Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.Part#getTypeDefinition <em>Type Definition</em>}</li>
- * <li>{@link org.eclipse.wsdl.Part#getElementDeclaration <em>Element Declaration</em>}</li>
- * <li>{@link org.eclipse.wsdl.Part#getEMessage <em>EMessage</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getPart()
- * @model
- * @generated
- */
-public interface Part extends WSDLElement, javax.wsdl.Part{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getPart_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Part#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Element Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element Name</em>' attribute.
- * @see #setElementName(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getPart_ElementName()
- * @model dataType="org.eclipse.wsdl.QName"
- * @generated
- */
- QName getElementName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Part#getElementName <em>Element Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element Name</em>' attribute.
- * @see #getElementName()
- * @generated
- */
- void setElementName(QName value);
-
- /**
- * Returns the value of the '<em><b>Type Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type Name</em>' attribute.
- * @see #setTypeName(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getPart_TypeName()
- * @model dataType="org.eclipse.wsdl.QName"
- * @generated
- */
- QName getTypeName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Part#getTypeName <em>Type Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Name</em>' attribute.
- * @see #getTypeName()
- * @generated
- */
- void setTypeName(QName value);
-
- /**
- * Returns the value of the '<em><b>Type Definition</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Definition</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type Definition</em>' reference.
- * @see #setTypeDefinition(XSDTypeDefinition)
- * @see org.eclipse.wsdl.WSDLPackage#getPart_TypeDefinition()
- * @model
- * @generated
- */
- XSDTypeDefinition getTypeDefinition();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Part#getTypeDefinition <em>Type Definition</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Definition</em>' reference.
- * @see #getTypeDefinition()
- * @generated
- */
- void setTypeDefinition(XSDTypeDefinition value);
-
- /**
- * Returns the value of the '<em><b>Element Declaration</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element Declaration</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element Declaration</em>' reference.
- * @see #setElementDeclaration(XSDElementDeclaration)
- * @see org.eclipse.wsdl.WSDLPackage#getPart_ElementDeclaration()
- * @model
- * @generated
- */
- XSDElementDeclaration getElementDeclaration();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Part#getElementDeclaration <em>Element Declaration</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element Declaration</em>' reference.
- * @see #getElementDeclaration()
- * @generated
- */
- void setElementDeclaration(XSDElementDeclaration value);
-
- /**
- * Returns the value of the '<em><b>EMessage</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EMessage</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EMessage</em>' reference.
- * @see #setEMessage(Message)
- * @see org.eclipse.wsdl.WSDLPackage#getPart_EMessage()
- * @model
- * @generated
- */
- Message getEMessage();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Part#getEMessage <em>EMessage</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EMessage</em>' reference.
- * @see #getEMessage()
- * @generated
- */
- void setEMessage(Message value);
-
-} // Part
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Port.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Port.java
deleted file mode 100644
index ba6d284f6..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Port.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Port</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL port element. A port defines an individual endpoint by specifying a single address for a binding
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Port#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.Port#getEBinding <em>EBinding</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getPort()
- * @model
- * @generated
- */
-public interface Port extends ExtensibleElement, javax.wsdl.Port{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.wsdl.WSDLPackage#getPort_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Port#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>EBinding</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EBinding</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EBinding</em>' reference.
- * @see #setEBinding(Binding)
- * @see org.eclipse.wsdl.WSDLPackage#getPort_EBinding()
- * @model required="true"
- * @generated
- */
- Binding getEBinding();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Port#getEBinding <em>EBinding</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EBinding</em>' reference.
- * @see #getEBinding()
- * @generated
- */
- void setEBinding(Binding value);
-
-} // Port
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/PortType.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/PortType.java
deleted file mode 100644
index 5b42ef7d4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/PortType.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Port Type</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL portType element of the WSDL specification version 1.1 and an Interface component of the WSDL specification version 1.2. A port type or Interface is a named set of abstract operations and the abstract messages involved.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.PortType#getQName <em>QName</em>}</li>
- * <li>{@link org.eclipse.wsdl.PortType#isUndefined <em>Undefined</em>}</li>
- * <li>{@link org.eclipse.wsdl.PortType#isProxy <em>Proxy</em>}</li>
- * <li>{@link org.eclipse.wsdl.PortType#getResourceURI <em>Resource URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.PortType#getEOperations <em>EOperations</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getPortType()
- * @model
- * @generated
- */
-public interface PortType extends WSDLElement, javax.wsdl.PortType{
- /**
- * Returns the value of the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>QName</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>QName</em>' attribute.
- * @see #setQName(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getPortType_QName()
- * @model dataType="org.eclipse.wsdl.QName"
- * @generated
- */
- QName getQName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.PortType#getQName <em>QName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>QName</em>' attribute.
- * @see #getQName()
- * @generated
- */
- void setQName(QName value);
-
- /**
- * Returns the value of the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Undefined</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Undefined</em>' attribute.
- * @see #setUndefined(boolean)
- * @see org.eclipse.wsdl.WSDLPackage#getPortType_Undefined()
- * @model
- * @generated
- */
- boolean isUndefined();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.PortType#isUndefined <em>Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Undefined</em>' attribute.
- * @see #isUndefined()
- * @generated
- */
- void setUndefined(boolean value);
-
- /**
- * Returns the value of the '<em><b>EOperations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Operation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EOperations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EOperations</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getPortType_EOperations()
- * @model type="org.eclipse.wsdl.Operation" containment="true"
- * @generated
- */
- EList getEOperations();
-
-} // PortType
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Service.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Service.java
deleted file mode 100644
index 6ad045229..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Service.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Service</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL service element. A service groups a set of related ports together.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.Service#getQName <em>QName</em>}</li>
- * <li>{@link org.eclipse.wsdl.Service#isUndefined <em>Undefined</em>}</li>
- * <li>{@link org.eclipse.wsdl.Service#isProxy <em>Proxy</em>}</li>
- * <li>{@link org.eclipse.wsdl.Service#getResourceURI <em>Resource URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.Service#getEPorts <em>EPorts</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getService()
- * @model
- * @generated
- */
-public interface Service extends ExtensibleElement, javax.wsdl.Service{
- /**
- * Returns the value of the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>QName</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>QName</em>' attribute.
- * @see #setQName(QName)
- * @see org.eclipse.wsdl.WSDLPackage#getService_QName()
- * @model dataType="org.eclipse.wsdl.QName"
- * @generated
- */
- QName getQName();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Service#getQName <em>QName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>QName</em>' attribute.
- * @see #getQName()
- * @generated
- */
- void setQName(QName value);
-
- /**
- * Returns the value of the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Undefined</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Undefined</em>' attribute.
- * @see #setUndefined(boolean)
- * @see org.eclipse.wsdl.WSDLPackage#getService_Undefined()
- * @model
- * @generated
- */
- boolean isUndefined();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.Service#isUndefined <em>Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Undefined</em>' attribute.
- * @see #isUndefined()
- * @generated
- */
- void setUndefined(boolean value);
-
- /**
- * Returns the value of the '<em><b>EPorts</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wsdl.Port}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EPorts</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EPorts</em>' containment reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getService_EPorts()
- * @model type="org.eclipse.wsdl.Port" containment="true"
- * @generated
- */
- EList getEPorts();
-
-} // Service
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Types.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Types.java
deleted file mode 100644
index d9a9bf4b4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Types.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import java.util.List;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Types</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL types element. The types element encloses data type definitions that are relevant for the exchanged messages.
- * <!-- end-model-doc -->
- *
- *
- * @see org.eclipse.wsdl.WSDLPackage#getTypes()
- * @model
- * @generated
- */
-public interface Types extends ExtensibleElement, javax.wsdl.Types{
- /**
- * <!-- begin-user-doc -->
- * Returns a List of inline XSDSchema instances in this Types.
- * @return List of XSDSchema instances.
- * @see org.eclipse.xsd.XSDSchema
- * @ignore
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- List getSchemas();
-
- /**
- * <!-- begin-user-doc -->
- * Returns a List of inline XSDSchema instances in this Types. The targetNamespace of
- * the schemas are the same as namespaceURI argument value.
- * @param namespaceURI targetNamespace of the schemas to be searched for.
- * @return List of XSDSchema instances.
- * @see org.eclipse.xsd.XSDSchema
- * @ignore
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- List getSchemas(String namespaceURI);
-
-} // Types
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/UnknownExtensibilityElement.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/UnknownExtensibilityElement.java
deleted file mode 100644
index 9052f746e..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/UnknownExtensibilityElement.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Unknown Extensibility Element</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.UnknownExtensibilityElement#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.wsdl.UnknownExtensibilityElement#getChildren <em>Children</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getUnknownExtensibilityElement()
- * @model
- * @generated
- */
-public interface UnknownExtensibilityElement extends ExtensibilityElement{
- /**
- * Returns the value of the '<em><b>Children</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.wsdl.UnknownExtensibilityElement}.
- * It is bidirectional and its opposite is '{@link org.eclipse.wsdl.UnknownExtensibilityElement#getParent <em>Parent</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Children</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Children</em>' reference list.
- * @see org.eclipse.wsdl.WSDLPackage#getUnknownExtensibilityElement_Children()
- * @see org.eclipse.wsdl.UnknownExtensibilityElement#getParent
- * @model type="org.eclipse.wsdl.UnknownExtensibilityElement" opposite="parent"
- * @generated
- */
- EList getChildren();
-
-} // UnknownExtensibilityElement
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLElement.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLElement.java
deleted file mode 100644
index b560a16e0..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLElement.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.emf.ecore.EObject;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Element</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This class represents a WSDL language element.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.WSDLElement#getDocumentationElement <em>Documentation Element</em>}</li>
- * <li>{@link org.eclipse.wsdl.WSDLElement#getElement <em>Element</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getWSDLElement()
- * @model abstract="true"
- * @generated
- */
-public interface WSDLElement extends EObject{
- /**
- * Returns the value of the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Documentation Element</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Documentation Element</em>' attribute.
- * @see #setDocumentationElement(Element)
- * @see org.eclipse.wsdl.WSDLPackage#getWSDLElement_DocumentationElement()
- * @model dataType="org.eclipse.wsdl.DOMElement"
- * @generated
- */
- Element getDocumentationElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.WSDLElement#getDocumentationElement <em>Documentation Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Documentation Element</em>' attribute.
- * @see #getDocumentationElement()
- * @generated
- */
- void setDocumentationElement(Element value);
-
- /**
- * Returns the value of the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * This is the underlying DOM element associated with this component,
- * i.e., the {@link #updateElement() serialization} of this component.
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element</em>' attribute.
- * @see #setElement(Element)
- * @see org.eclipse.wsdl.WSDLPackage#getWSDLElement_Element()
- * @model dataType="org.eclipse.wsdl.DOMElement"
- * @generated
- */
- Element getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.WSDLElement#getElement <em>Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' attribute.
- * @see #getElement()
- * @generated
- */
- void setElement(Element value);
-
- /**
- * <!-- begin-user-doc -->
- * Returns the Definition that contains this WSDL element.
- * @return the Definition that contains this WSDL element.
- * <!-- end-user-doc -->
- * @model parameters=""
- * @generated
- */
- Definition getEnclosingDefinition();
-
- /**
- * <!-- begin-user-doc -->
- * Sets the enclosing definition of this WSDL element.
- * @param definition the Definition that contains this WSDL element.
- * <!-- end-user-doc -->
- * @model
- * @generated
- */
- void setEnclosingDefinition(Definition definition);
-
- /**
- * Ensures that the underlying DOM {@link #getElement element} both exists and is up-to-date with respect to the model,
- * i.e., it serializes the component and maintains an association with that serialization.
- * @see #updateElement(boolean)
- * @see #getElement
- */
- void updateElement();
-
- /**
- * Ensures that the underlying DOM {@link #getElement element} both exists and is up-to-date with respect to the model,
- * i.e., it serializes the component and maintains an association with that serialization.
- * For <code>deep == true</code>,
- * or when <code>{@link #getElement getElement()} == null</code>,
- * this does the same thing as {@link #updateElement()};
- * otherwise, it updates just the DOM element associated with this component to reflect the current state.
- * @see #updateElement()
- * @see #getElement
- */
- void updateElement(boolean deep);
-
- /**
- * Returns the value of the '<em><b>Container</b></em>' reference.
- * This represents the concrete container of this component,
- * i.e., the inverse of the black diamond relations in the UML model.
- * @return the value of the '<em>Container</em>' reference.
- */
- WSDLElement getContainer();
-
- /**
- * Called to indicate that the given element has changed;
- * the element should typically be the same as the one returned {@link #getElement}.
- * It is expected that clients will not call this themselves
- * since the DOM event listeners attached to the underlying DOM will invoke these automatically.
- * @param changedElement the DOM element changed for this instance.
- */
- void elementChanged(Element changedElement);
-
-} // WSDLElement
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLFactory.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLFactory.java
deleted file mode 100644
index f1d4ed198..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLFactory.java
+++ /dev/null
@@ -1,232 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- * @see org.eclipse.wsdl.WSDLPackage
- * @generated
- */
-public interface WSDLFactory extends EFactory{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- WSDLFactory eINSTANCE = new org.eclipse.wst.wsdl.internal.impl.WSDLFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Port Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Port Type</em>'.
- * @generated
- */
- PortType createPortType();
-
- /**
- * Returns a new object of class '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Operation</em>'.
- * @generated
- */
- Operation createOperation();
-
- /**
- * Returns a new object of class '<em>Message</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Message</em>'.
- * @generated
- */
- Message createMessage();
-
- /**
- * Returns a new object of class '<em>Part</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Part</em>'.
- * @generated
- */
- Part createPart();
-
- /**
- * Returns a new object of class '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding</em>'.
- * @generated
- */
- Binding createBinding();
-
- /**
- * Returns a new object of class '<em>Binding Operation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding Operation</em>'.
- * @generated
- */
- BindingOperation createBindingOperation();
-
- /**
- * Returns a new object of class '<em>Service</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Service</em>'.
- * @generated
- */
- Service createService();
-
- /**
- * Returns a new object of class '<em>Port</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Port</em>'.
- * @generated
- */
- Port createPort();
-
- /**
- * Returns a new object of class '<em>Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Extensibility Element</em>'.
- * @generated
- */
- ExtensibilityElement createExtensibilityElement();
-
- /**
- * Returns a new object of class '<em>Definition</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Definition</em>'.
- * @generated
- */
- Definition createDefinition();
-
- /**
- * Returns a new object of class '<em>Import</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Import</em>'.
- * @generated
- */
- Import createImport();
-
- /**
- * Returns a new object of class '<em>Input</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Input</em>'.
- * @generated
- */
- Input createInput();
-
- /**
- * Returns a new object of class '<em>Output</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Output</em>'.
- * @generated
- */
- Output createOutput();
-
- /**
- * Returns a new object of class '<em>Fault</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Fault</em>'.
- * @generated
- */
- Fault createFault();
-
- /**
- * Returns a new object of class '<em>Binding Input</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding Input</em>'.
- * @generated
- */
- BindingInput createBindingInput();
-
- /**
- * Returns a new object of class '<em>Binding Output</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding Output</em>'.
- * @generated
- */
- BindingOutput createBindingOutput();
-
- /**
- * Returns a new object of class '<em>Binding Fault</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding Fault</em>'.
- * @generated
- */
- BindingFault createBindingFault();
-
- /**
- * Returns a new object of class '<em>Namespace</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Namespace</em>'.
- * @generated
- */
- Namespace createNamespace();
-
- /**
- * Returns a new object of class '<em>Types</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Types</em>'.
- * @generated
- */
- Types createTypes();
-
- /**
- * Returns a new object of class '<em>Unknown Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Unknown Extensibility Element</em>'.
- * @generated
- */
- UnknownExtensibilityElement createUnknownExtensibilityElement();
-
- /**
- * Returns a new object of class '<em>XSD Schema Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XSD Schema Extensibility Element</em>'.
- * @generated
- */
- XSDSchemaExtensibilityElement createXSDSchemaExtensibilityElement();
-
- /*
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated NOT
- */
- //WSDLPackage getWSDLPackage();
-
-} //WSDLFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPackage.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPackage.java
deleted file mode 100644
index 17c040af1..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPackage.java
+++ /dev/null
@@ -1,3658 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * The WSDL model contains classes for the Web Services Description Language (WSDL).
- *
- * WSDL describes network services as sets of endpoints operating on messages. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
- *
- * WSDL describes the formats of the messages exchanged by the services, and supports the XML Schemas specification as its canonical type system. This package uses an XML Schema Infoset model package (see the XSD package) to describe the abstract message formats.
- *
- * The model contains the following diagrams, named after the corresponding chapters in the WSDL 1.1 specification (http://www.w3.org/TR/2001/NOTE-wsdl-20010315)
- * - 2.1 Definition, shows the WSDL definition element and the WSDL document structure
- * - 2.1.1 Naming and Linking, shows the namespace and import mechanism
- * - 2.1.3 Extensibility, shows the WSDL extensibility mechanism
- * - 2.2 Types, shows the use of XML Schema types in WSDL
- * - 2.3 Messages, 2.4 PortTypes, 2.5 Bindings and 2.7 Services, show the major WSDL elements and their relations.
- *
- * The WSDL classes extend the javax.wsdl interfaces defined by JSR 110. Classes with interface and datatype stereotypes are used to represent these non-MOF interfaces.
- * <!-- end-model-doc -->
- * @see org.eclipse.wsdl.WSDLFactory
- * @generated
- */
-public interface WSDLPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "wsdl";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.ibm.com/wsdl/2003/WSDL";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "wsdl";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- WSDLPackage eINSTANCE = org.eclipse.wst.wsdl.internal.impl.WSDLPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wsdl.impl.WSDLElementImpl <em>Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.WSDLElementImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getWSDLElement()
- * @generated
- */
- int WSDL_ELEMENT = 0;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WSDL_ELEMENT__DOCUMENTATION_ELEMENT = 0;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WSDL_ELEMENT__ELEMENT = 1;
-
- /**
- * The number of structural features of the the '<em>Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WSDL_ELEMENT_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.PortTypeImpl <em>Port Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.PortTypeImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getPortType()
- * @generated
- */
- int PORT_TYPE = 1;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE__QNAME = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE__UNDEFINED = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Proxy</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE__PROXY = WSDL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Resource URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE__RESOURCE_URI = WSDL_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>EOperations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE__EOPERATIONS = WSDL_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the the '<em>Port Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_TYPE_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.OperationImpl <em>Operation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.OperationImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getOperation()
- * @generated
- */
- int OPERATION = 2;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__STYLE = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__NAME = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__UNDEFINED = WSDL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Proxy</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__PROXY = WSDL_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Resource URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__RESOURCE_URI = WSDL_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>EInput</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__EINPUT = WSDL_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The feature id for the '<em><b>EOutput</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__EOUTPUT = WSDL_ELEMENT_FEATURE_COUNT + 6;
-
- /**
- * The feature id for the '<em><b>EFaults</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__EFAULTS = WSDL_ELEMENT_FEATURE_COUNT + 7;
-
- /**
- * The feature id for the '<em><b>EParameter Ordering</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION__EPARAMETER_ORDERING = WSDL_ELEMENT_FEATURE_COUNT + 8;
-
- /**
- * The number of structural features of the the '<em>Operation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.MessageImpl <em>Message</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.MessageImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getMessage()
- * @generated
- */
- int MESSAGE = 3;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE__QNAME = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE__UNDEFINED = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Proxy</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE__PROXY = WSDL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Resource URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE__RESOURCE_URI = WSDL_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>EParts</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE__EPARTS = WSDL_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the the '<em>Message</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.PartImpl <em>Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.PartImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getPart()
- * @generated
- */
- int PART = 4;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__NAME = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Element Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__ELEMENT_NAME = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Type Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__TYPE_NAME = WSDL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Type Definition</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__TYPE_DEFINITION = WSDL_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Element Declaration</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__ELEMENT_DECLARATION = WSDL_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>EMessage</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART__EMESSAGE = WSDL_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The number of structural features of the the '<em>Part</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PART_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.ExtensibleElementImpl <em>Extensible Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.ExtensibleElementImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getExtensibleElement()
- * @generated
- */
- int EXTENSIBLE_ELEMENT = 12;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBLE_ELEMENT__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Extensible Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBLE_ELEMENT_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.BindingImpl <em>Binding</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.BindingImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getBinding()
- * @generated
- */
- int BINDING = 5;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__QNAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__UNDEFINED = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Proxy</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__PROXY = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Resource URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__RESOURCE_URI = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>EPort Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__EPORT_TYPE = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>EBinding Operations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING__EBINDING_OPERATIONS = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The number of structural features of the the '<em>Binding</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.BindingOperationImpl <em>Binding Operation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.BindingOperationImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getBindingOperation()
- * @generated
- */
- int BINDING_OPERATION = 6;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__NAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>EOperation</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__EOPERATION = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>EBinding Input</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__EBINDING_INPUT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>EBinding Output</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__EBINDING_OUTPUT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>EBinding Faults</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION__EBINDING_FAULTS = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the the '<em>Binding Operation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OPERATION_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.ServiceImpl <em>Service</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.ServiceImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getService()
- * @generated
- */
- int SERVICE = 7;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__QNAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__UNDEFINED = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Proxy</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__PROXY = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Resource URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__RESOURCE_URI = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>EPorts</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE__EPORTS = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the the '<em>Service</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVICE_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.PortImpl <em>Port</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.PortImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getPort()
- * @generated
- */
- int PORT = 8;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT__NAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>EBinding</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT__EBINDING = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Port</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PORT_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.ExtensibilityElementImpl <em>Extensibility Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.ExtensibilityElementImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getExtensibilityElement()
- * @generated
- */
- int EXTENSIBILITY_ELEMENT = 9;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBILITY_ELEMENT__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBILITY_ELEMENT__REQUIRED = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBILITY_ELEMENT__ELEMENT_TYPE = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Extensibility Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSIBILITY_ELEMENT_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.DefinitionImpl <em>Definition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.DefinitionImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getDefinition()
- * @generated
- */
- int DEFINITION = 10;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>Target Namespace</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__TARGET_NAMESPACE = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__LOCATION = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>QName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__QNAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Encoding</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__ENCODING = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>EMessages</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__EMESSAGES = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 6;
-
- /**
- * The feature id for the '<em><b>EPort Types</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__EPORT_TYPES = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 7;
-
- /**
- * The feature id for the '<em><b>EBindings</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__EBINDINGS = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 8;
-
- /**
- * The feature id for the '<em><b>EServices</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__ESERVICES = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 9;
-
- /**
- * The feature id for the '<em><b>ENamespaces</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__ENAMESPACES = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 10;
-
- /**
- * The feature id for the '<em><b>ETypes</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__ETYPES = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The feature id for the '<em><b>EImports</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION__EIMPORTS = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the the '<em>Definition</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFINITION_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 11;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.ImportImpl <em>Import</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.ImportImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getImport()
- * @generated
- */
- int IMPORT = 11;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__NAMESPACE_URI = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__LOCATION_URI = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>EDefinition</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__EDEFINITION = WSDL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>ESchema</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__ESCHEMA = WSDL_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the the '<em>Import</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.MessageReferenceImpl <em>Message Reference</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.MessageReferenceImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getMessageReference()
- * @generated
- */
- int MESSAGE_REFERENCE = 46;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT = WSDL_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_REFERENCE__ELEMENT = WSDL_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_REFERENCE__NAME = WSDL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>EMessage</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_REFERENCE__EMESSAGE = WSDL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Message Reference</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_REFERENCE_FEATURE_COUNT = WSDL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.InputImpl <em>Input</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.InputImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getInput()
- * @generated
- */
- int INPUT = 13;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INPUT__DOCUMENTATION_ELEMENT = MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INPUT__ELEMENT = MESSAGE_REFERENCE__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INPUT__NAME = MESSAGE_REFERENCE__NAME;
-
- /**
- * The feature id for the '<em><b>EMessage</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INPUT__EMESSAGE = MESSAGE_REFERENCE__EMESSAGE;
-
- /**
- * The number of structural features of the the '<em>Input</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INPUT_FEATURE_COUNT = MESSAGE_REFERENCE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.OutputImpl <em>Output</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.OutputImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getOutput()
- * @generated
- */
- int OUTPUT = 14;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT__DOCUMENTATION_ELEMENT = MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT__ELEMENT = MESSAGE_REFERENCE__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT__NAME = MESSAGE_REFERENCE__NAME;
-
- /**
- * The feature id for the '<em><b>EMessage</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT__EMESSAGE = MESSAGE_REFERENCE__EMESSAGE;
-
- /**
- * The number of structural features of the the '<em>Output</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT_FEATURE_COUNT = MESSAGE_REFERENCE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.FaultImpl <em>Fault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.FaultImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getFault()
- * @generated
- */
- int FAULT = 15;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FAULT__DOCUMENTATION_ELEMENT = MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FAULT__ELEMENT = MESSAGE_REFERENCE__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FAULT__NAME = MESSAGE_REFERENCE__NAME;
-
- /**
- * The feature id for the '<em><b>EMessage</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FAULT__EMESSAGE = MESSAGE_REFERENCE__EMESSAGE;
-
- /**
- * The number of structural features of the the '<em>Fault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FAULT_FEATURE_COUNT = MESSAGE_REFERENCE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.BindingInputImpl <em>Binding Input</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.BindingInputImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getBindingInput()
- * @generated
- */
- int BINDING_INPUT = 16;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_INPUT__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_INPUT__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_INPUT__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_INPUT__NAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>EInput</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_INPUT__EINPUT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Binding Input</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_INPUT_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.BindingOutputImpl <em>Binding Output</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.BindingOutputImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getBindingOutput()
- * @generated
- */
- int BINDING_OUTPUT = 17;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OUTPUT__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OUTPUT__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OUTPUT__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OUTPUT__NAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>EOutput</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OUTPUT__EOUTPUT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Binding Output</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_OUTPUT_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.BindingFaultImpl <em>Binding Fault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.BindingFaultImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getBindingFault()
- * @generated
- */
- int BINDING_FAULT = 18;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_FAULT__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_FAULT__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_FAULT__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_FAULT__NAME = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>EFault</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_FAULT__EFAULT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Binding Fault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BINDING_FAULT_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.NamespaceImpl <em>Namespace</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.NamespaceImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getNamespace()
- * @generated
- */
- int NAMESPACE = 19;
-
- /**
- * The feature id for the '<em><b>URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAMESPACE__URI = 0;
-
- /**
- * The feature id for the '<em><b>Prefix</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAMESPACE__PREFIX = 1;
-
- /**
- * The number of structural features of the the '<em>Namespace</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAMESPACE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link javax.wsdl.PortType <em>IPort Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.PortType
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIPortType()
- * @generated
- */
- int IPORT_TYPE = 20;
-
- /**
- * The number of structural features of the the '<em>IPort Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IPORT_TYPE_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Operation <em>IOperation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Operation
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIOperation()
- * @generated
- */
- int IOPERATION = 21;
-
- /**
- * The number of structural features of the the '<em>IOperation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IOPERATION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Input <em>IInput</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Input
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIInput()
- * @generated
- */
- int IINPUT = 22;
-
- /**
- * The number of structural features of the the '<em>IInput</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IINPUT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Output <em>IOutput</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Output
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIOutput()
- * @generated
- */
- int IOUTPUT = 23;
-
- /**
- * The number of structural features of the the '<em>IOutput</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IOUTPUT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Fault <em>IFault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Fault
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIFault()
- * @generated
- */
- int IFAULT = 24;
-
- /**
- * The number of structural features of the the '<em>IFault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IFAULT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Message <em>IMessage</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Message
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIMessage()
- * @generated
- */
- int IMESSAGE = 25;
-
- /**
- * The number of structural features of the the '<em>IMessage</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMESSAGE_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Part <em>IPart</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Part
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIPart()
- * @generated
- */
- int IPART = 26;
-
- /**
- * The number of structural features of the the '<em>IPart</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IPART_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Service <em>IService</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Service
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIService()
- * @generated
- */
- int ISERVICE = 27;
-
- /**
- * The number of structural features of the the '<em>IService</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ISERVICE_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Port <em>IPort</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Port
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIPort()
- * @generated
- */
- int IPORT = 28;
-
- /**
- * The number of structural features of the the '<em>IPort</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IPORT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Binding <em>IBinding</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Binding
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIBinding()
- * @generated
- */
- int IBINDING = 29;
-
- /**
- * The number of structural features of the the '<em>IBinding</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IBINDING_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.BindingOperation <em>IBinding Operation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.BindingOperation
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIBindingOperation()
- * @generated
- */
- int IBINDING_OPERATION = 30;
-
- /**
- * The number of structural features of the the '<em>IBinding Operation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IBINDING_OPERATION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.BindingInput <em>IBinding Input</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.BindingInput
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIBindingInput()
- * @generated
- */
- int IBINDING_INPUT = 31;
-
- /**
- * The number of structural features of the the '<em>IBinding Input</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IBINDING_INPUT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.BindingOutput <em>IBinding Output</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.BindingOutput
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIBindingOutput()
- * @generated
- */
- int IBINDING_OUTPUT = 32;
-
- /**
- * The number of structural features of the the '<em>IBinding Output</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IBINDING_OUTPUT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.BindingFault <em>IBinding Fault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.BindingFault
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIBindingFault()
- * @generated
- */
- int IBINDING_FAULT = 33;
-
- /**
- * The number of structural features of the the '<em>IBinding Fault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IBINDING_FAULT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.ExtensibilityElement <em>IExtensibility Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.ExtensibilityElement
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIExtensibilityElement()
- * @generated
- */
- int IEXTENSIBILITY_ELEMENT = 34;
-
- /**
- * The number of structural features of the the '<em>IExtensibility Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IEXTENSIBILITY_ELEMENT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Definition <em>IDefinition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Definition
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIDefinition()
- * @generated
- */
- int IDEFINITION = 35;
-
- /**
- * The number of structural features of the the '<em>IDefinition</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IDEFINITION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Import <em>IImport</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Import
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIImport()
- * @generated
- */
- int IIMPORT = 36;
-
- /**
- * The number of structural features of the the '<em>IImport</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IIMPORT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link java.util.List <em>IList</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see java.util.List
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIList()
- * @generated
- */
- int ILIST = 37;
-
- /**
- * The number of structural features of the the '<em>IList</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ILIST_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link java.util.Map <em>IMap</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see java.util.Map
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIMap()
- * @generated
- */
- int IMAP = 38;
-
- /**
- * The number of structural features of the the '<em>IMap</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMAP_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link java.net.URL <em>IURL</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see java.net.URL
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIURL()
- * @generated
- */
- int IURL = 39;
-
- /**
- * The number of structural features of the the '<em>IURL</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IURL_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.extensions.ExtensionRegistry <em>IExtension Registry</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.extensions.ExtensionRegistry
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIExtensionRegistry()
- * @generated
- */
- int IEXTENSION_REGISTRY = 40;
-
- /**
- * The number of structural features of the the '<em>IExtension Registry</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IEXTENSION_REGISTRY_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.TypesImpl <em>Types</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.TypesImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getTypes()
- * @generated
- */
- int TYPES = 41;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPES__DOCUMENTATION_ELEMENT = EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPES__ELEMENT = EXTENSIBLE_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>EExtensibility Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPES__EEXTENSIBILITY_ELEMENTS = EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS;
-
- /**
- * The number of structural features of the the '<em>Types</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPES_FEATURE_COUNT = EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link java.util.Iterator <em>IIterator</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see java.util.Iterator
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getIIterator()
- * @generated
- */
- int IITERATOR = 42;
-
- /**
- * The number of structural features of the the '<em>IIterator</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IITERATOR_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link javax.wsdl.Types <em>ITypes</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.Types
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getITypes()
- * @generated
- */
- int ITYPES = 43;
-
- /**
- * The number of structural features of the the '<em>ITypes</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ITYPES_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.UnknownExtensibilityElementImpl <em>Unknown Extensibility Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.UnknownExtensibilityElementImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getUnknownExtensibilityElement()
- * @generated
- */
- int UNKNOWN_EXTENSIBILITY_ELEMENT = 44;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNKNOWN_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT = EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT = EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNKNOWN_EXTENSIBILITY_ELEMENT__REQUIRED = EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE = EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Children</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN = EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Unknown Extensibility Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNKNOWN_EXTENSIBILITY_ELEMENT_FEATURE_COUNT = EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.impl.XSDSchemaExtensibilityElementImpl <em>XSD Schema Extensibility Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.impl.XSDSchemaExtensibilityElementImpl
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getXSDSchemaExtensibilityElement()
- * @generated
- */
- int XSD_SCHEMA_EXTENSIBILITY_ELEMENT = 45;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSD_SCHEMA_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT = EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT = EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSD_SCHEMA_EXTENSIBILITY_ELEMENT__REQUIRED = EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE = EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Schema</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA = EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>XSD Schema Extensibility Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSD_SCHEMA_EXTENSIBILITY_ELEMENT_FEATURE_COUNT = EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '<em>QName</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.xml.namespace.QName
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getQName()
- * @generated
- */
- int QNAME = 47;
-
- /**
- * The meta object id for the '<em>Operation Type</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.OperationType
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getOperationType()
- * @generated
- */
- int OPERATION_TYPE = 48;
-
- /**
- * The meta object id for the '<em>DOM Element</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.w3c.dom.Element
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getDOMElement()
- * @generated
- */
- int DOM_ELEMENT = 49;
-
- /**
- * The meta object id for the '<em>Exception</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see javax.wsdl.WSDLException
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getWSDLException()
- * @generated
- */
- int WSDL_EXCEPTION = 50;
-
- /**
- * The meta object id for the '<em>DOM Document</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.w3c.dom.Document
- * @see org.eclipse.wst.wsdl.impl.WSDLPackageImpl#getDOMDocument()
- * @generated
- */
- int DOM_DOCUMENT = 51;
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.WSDLElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Element</em>'.
- * @see org.eclipse.wst.wsdl.WSDLElement
- * @generated
- */
- EClass getWSDLElement();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.WSDLElement#getDocumentationElement <em>Documentation Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Documentation Element</em>'.
- * @see org.eclipse.wst.wsdl.WSDLElement#getDocumentationElement()
- * @see #getWSDLElement()
- * @generated
- */
- EAttribute getWSDLElement_DocumentationElement();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.WSDLElement#getElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Element</em>'.
- * @see org.eclipse.wst.wsdl.WSDLElement#getElement()
- * @see #getWSDLElement()
- * @generated
- */
- EAttribute getWSDLElement_Element();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.PortType <em>Port Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Port Type</em>'.
- * @see org.eclipse.wst.wsdl.PortType
- * @generated
- */
- EClass getPortType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.PortType#getQName <em>QName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>QName</em>'.
- * @see org.eclipse.wst.wsdl.PortType#getQName()
- * @see #getPortType()
- * @generated
- */
- EAttribute getPortType_QName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.PortType#isUndefined <em>Undefined</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Undefined</em>'.
- * @see org.eclipse.wst.wsdl.PortType#isUndefined()
- * @see #getPortType()
- * @generated
- */
- EAttribute getPortType_Undefined();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.PortType#isProxy <em>Proxy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Proxy</em>'.
- * @see org.eclipse.wst.wsdl.PortType#isProxy()
- * @see #getPortType()
- * @generated
- */
- EAttribute getPortType_Proxy();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.PortType#getResourceURI <em>Resource URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Resource URI</em>'.
- * @see org.eclipse.wst.wsdl.PortType#getResourceURI()
- * @see #getPortType()
- * @generated
- */
- EAttribute getPortType_ResourceURI();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.PortType#getEOperations <em>EOperations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EOperations</em>'.
- * @see org.eclipse.wst.wsdl.PortType#getEOperations()
- * @see #getPortType()
- * @generated
- */
- EReference getPortType_EOperations();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Operation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Operation</em>'.
- * @see org.eclipse.wst.wsdl.Operation
- * @generated
- */
- EClass getOperation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Operation#getStyle <em>Style</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Style</em>'.
- * @see org.eclipse.wst.wsdl.Operation#getStyle()
- * @see #getOperation()
- * @generated
- */
- EAttribute getOperation_Style();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Operation#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.Operation#getName()
- * @see #getOperation()
- * @generated
- */
- EAttribute getOperation_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Operation#isUndefined <em>Undefined</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Undefined</em>'.
- * @see org.eclipse.wst.wsdl.Operation#isUndefined()
- * @see #getOperation()
- * @generated
- */
- EAttribute getOperation_Undefined();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Operation#isProxy <em>Proxy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Proxy</em>'.
- * @see org.eclipse.wst.wsdl.Operation#isProxy()
- * @see #getOperation()
- * @generated
- */
- EAttribute getOperation_Proxy();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Operation#getResourceURI <em>Resource URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Resource URI</em>'.
- * @see org.eclipse.wst.wsdl.Operation#getResourceURI()
- * @see #getOperation()
- * @generated
- */
- EAttribute getOperation_ResourceURI();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.wsdl.Operation#getEInput <em>EInput</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>EInput</em>'.
- * @see org.eclipse.wst.wsdl.Operation#getEInput()
- * @see #getOperation()
- * @generated
- */
- EReference getOperation_EInput();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.wsdl.Operation#getEOutput <em>EOutput</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>EOutput</em>'.
- * @see org.eclipse.wst.wsdl.Operation#getEOutput()
- * @see #getOperation()
- * @generated
- */
- EReference getOperation_EOutput();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Operation#getEFaults <em>EFaults</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EFaults</em>'.
- * @see org.eclipse.wst.wsdl.Operation#getEFaults()
- * @see #getOperation()
- * @generated
- */
- EReference getOperation_EFaults();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.wst.wsdl.Operation#getEParameterOrdering <em>EParameter Ordering</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>EParameter Ordering</em>'.
- * @see org.eclipse.wst.wsdl.Operation#getEParameterOrdering()
- * @see #getOperation()
- * @generated
- */
- EReference getOperation_EParameterOrdering();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Message <em>Message</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Message</em>'.
- * @see org.eclipse.wst.wsdl.Message
- * @generated
- */
- EClass getMessage();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Message#getQName <em>QName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>QName</em>'.
- * @see org.eclipse.wst.wsdl.Message#getQName()
- * @see #getMessage()
- * @generated
- */
- EAttribute getMessage_QName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Message#isUndefined <em>Undefined</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Undefined</em>'.
- * @see org.eclipse.wst.wsdl.Message#isUndefined()
- * @see #getMessage()
- * @generated
- */
- EAttribute getMessage_Undefined();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Message#isProxy <em>Proxy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Proxy</em>'.
- * @see org.eclipse.wst.wsdl.Message#isProxy()
- * @see #getMessage()
- * @generated
- */
- EAttribute getMessage_Proxy();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Message#getResourceURI <em>Resource URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Resource URI</em>'.
- * @see org.eclipse.wst.wsdl.Message#getResourceURI()
- * @see #getMessage()
- * @generated
- */
- EAttribute getMessage_ResourceURI();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Message#getEParts <em>EParts</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EParts</em>'.
- * @see org.eclipse.wst.wsdl.Message#getEParts()
- * @see #getMessage()
- * @generated
- */
- EReference getMessage_EParts();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Part <em>Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Part</em>'.
- * @see org.eclipse.wst.wsdl.Part
- * @generated
- */
- EClass getPart();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Part#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.Part#getName()
- * @see #getPart()
- * @generated
- */
- EAttribute getPart_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Part#getElementName <em>Element Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Element Name</em>'.
- * @see org.eclipse.wst.wsdl.Part#getElementName()
- * @see #getPart()
- * @generated
- */
- EAttribute getPart_ElementName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Part#getTypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Type Name</em>'.
- * @see org.eclipse.wst.wsdl.Part#getTypeName()
- * @see #getPart()
- * @generated
- */
- EAttribute getPart_TypeName();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.Part#getTypeDefinition <em>Type Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Type Definition</em>'.
- * @see org.eclipse.wst.wsdl.Part#getTypeDefinition()
- * @see #getPart()
- * @generated
- */
- EReference getPart_TypeDefinition();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.Part#getElementDeclaration <em>Element Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Element Declaration</em>'.
- * @see org.eclipse.wst.wsdl.Part#getElementDeclaration()
- * @see #getPart()
- * @generated
- */
- EReference getPart_ElementDeclaration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.Part#getEMessage <em>EMessage</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EMessage</em>'.
- * @see org.eclipse.wst.wsdl.Part#getEMessage()
- * @see #getPart()
- * @generated
- */
- EReference getPart_EMessage();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Binding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding</em>'.
- * @see org.eclipse.wst.wsdl.Binding
- * @generated
- */
- EClass getBinding();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Binding#getQName <em>QName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>QName</em>'.
- * @see org.eclipse.wst.wsdl.Binding#getQName()
- * @see #getBinding()
- * @generated
- */
- EAttribute getBinding_QName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Binding#isUndefined <em>Undefined</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Undefined</em>'.
- * @see org.eclipse.wst.wsdl.Binding#isUndefined()
- * @see #getBinding()
- * @generated
- */
- EAttribute getBinding_Undefined();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Binding#isProxy <em>Proxy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Proxy</em>'.
- * @see org.eclipse.wst.wsdl.Binding#isProxy()
- * @see #getBinding()
- * @generated
- */
- EAttribute getBinding_Proxy();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Binding#getResourceURI <em>Resource URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Resource URI</em>'.
- * @see org.eclipse.wst.wsdl.Binding#getResourceURI()
- * @see #getBinding()
- * @generated
- */
- EAttribute getBinding_ResourceURI();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.Binding#getEPortType <em>EPort Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EPort Type</em>'.
- * @see org.eclipse.wst.wsdl.Binding#getEPortType()
- * @see #getBinding()
- * @generated
- */
- EReference getBinding_EPortType();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Binding#getEBindingOperations <em>EBinding Operations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EBinding Operations</em>'.
- * @see org.eclipse.wst.wsdl.Binding#getEBindingOperations()
- * @see #getBinding()
- * @generated
- */
- EReference getBinding_EBindingOperations();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.BindingOperation <em>Binding Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding Operation</em>'.
- * @see org.eclipse.wst.wsdl.BindingOperation
- * @generated
- */
- EClass getBindingOperation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.BindingOperation#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.BindingOperation#getName()
- * @see #getBindingOperation()
- * @generated
- */
- EAttribute getBindingOperation_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.BindingOperation#getEOperation <em>EOperation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EOperation</em>'.
- * @see org.eclipse.wst.wsdl.BindingOperation#getEOperation()
- * @see #getBindingOperation()
- * @generated
- */
- EReference getBindingOperation_EOperation();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.wsdl.BindingOperation#getEBindingInput <em>EBinding Input</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>EBinding Input</em>'.
- * @see org.eclipse.wst.wsdl.BindingOperation#getEBindingInput()
- * @see #getBindingOperation()
- * @generated
- */
- EReference getBindingOperation_EBindingInput();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.wsdl.BindingOperation#getEBindingOutput <em>EBinding Output</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>EBinding Output</em>'.
- * @see org.eclipse.wst.wsdl.BindingOperation#getEBindingOutput()
- * @see #getBindingOperation()
- * @generated
- */
- EReference getBindingOperation_EBindingOutput();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.BindingOperation#getEBindingFaults <em>EBinding Faults</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EBinding Faults</em>'.
- * @see org.eclipse.wst.wsdl.BindingOperation#getEBindingFaults()
- * @see #getBindingOperation()
- * @generated
- */
- EReference getBindingOperation_EBindingFaults();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Service <em>Service</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Service</em>'.
- * @see org.eclipse.wst.wsdl.Service
- * @generated
- */
- EClass getService();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Service#getQName <em>QName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>QName</em>'.
- * @see org.eclipse.wst.wsdl.Service#getQName()
- * @see #getService()
- * @generated
- */
- EAttribute getService_QName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Service#isUndefined <em>Undefined</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Undefined</em>'.
- * @see org.eclipse.wst.wsdl.Service#isUndefined()
- * @see #getService()
- * @generated
- */
- EAttribute getService_Undefined();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Service#isProxy <em>Proxy</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Proxy</em>'.
- * @see org.eclipse.wst.wsdl.Service#isProxy()
- * @see #getService()
- * @generated
- */
- EAttribute getService_Proxy();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Service#getResourceURI <em>Resource URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Resource URI</em>'.
- * @see org.eclipse.wst.wsdl.Service#getResourceURI()
- * @see #getService()
- * @generated
- */
- EAttribute getService_ResourceURI();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Service#getEPorts <em>EPorts</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EPorts</em>'.
- * @see org.eclipse.wst.wsdl.Service#getEPorts()
- * @see #getService()
- * @generated
- */
- EReference getService_EPorts();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Port <em>Port</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Port</em>'.
- * @see org.eclipse.wst.wsdl.Port
- * @generated
- */
- EClass getPort();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Port#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.Port#getName()
- * @see #getPort()
- * @generated
- */
- EAttribute getPort_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.Port#getEBinding <em>EBinding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EBinding</em>'.
- * @see org.eclipse.wst.wsdl.Port#getEBinding()
- * @see #getPort()
- * @generated
- */
- EReference getPort_EBinding();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.ExtensibilityElement <em>Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Extensibility Element</em>'.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement
- * @generated
- */
- EClass getExtensibilityElement();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.ExtensibilityElement#isRequired <em>Required</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Required</em>'.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement#isRequired()
- * @see #getExtensibilityElement()
- * @generated
- */
- EAttribute getExtensibilityElement_Required();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.ExtensibilityElement#getElementType <em>Element Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Element Type</em>'.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement#getElementType()
- * @see #getExtensibilityElement()
- * @generated
- */
- EAttribute getExtensibilityElement_ElementType();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Definition <em>Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Definition</em>'.
- * @see org.eclipse.wst.wsdl.Definition
- * @generated
- */
- EClass getDefinition();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Definition#getTargetNamespace <em>Target Namespace</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Target Namespace</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getTargetNamespace()
- * @see #getDefinition()
- * @generated
- */
- EAttribute getDefinition_TargetNamespace();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Definition#getLocation <em>Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getLocation()
- * @see #getDefinition()
- * @generated
- */
- EAttribute getDefinition_Location();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Definition#getQName <em>QName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>QName</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getQName()
- * @see #getDefinition()
- * @generated
- */
- EAttribute getDefinition_QName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Definition#getEncoding <em>Encoding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Encoding</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getEncoding()
- * @see #getDefinition()
- * @generated
- */
- EAttribute getDefinition_Encoding();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Definition#getEMessages <em>EMessages</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EMessages</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getEMessages()
- * @see #getDefinition()
- * @generated
- */
- EReference getDefinition_EMessages();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Definition#getEPortTypes <em>EPort Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EPort Types</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getEPortTypes()
- * @see #getDefinition()
- * @generated
- */
- EReference getDefinition_EPortTypes();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Definition#getEBindings <em>EBindings</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EBindings</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getEBindings()
- * @see #getDefinition()
- * @generated
- */
- EReference getDefinition_EBindings();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Definition#getEServices <em>EServices</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EServices</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getEServices()
- * @see #getDefinition()
- * @generated
- */
- EReference getDefinition_EServices();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Definition#getENamespaces <em>ENamespaces</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>ENamespaces</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getENamespaces()
- * @see #getDefinition()
- * @generated
- */
- EReference getDefinition_ENamespaces();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.wsdl.Definition#getETypes <em>ETypes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>ETypes</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getETypes()
- * @see #getDefinition()
- * @generated
- */
- EReference getDefinition_ETypes();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.Definition#getEImports <em>EImports</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EImports</em>'.
- * @see org.eclipse.wst.wsdl.Definition#getEImports()
- * @see #getDefinition()
- * @generated
- */
- EReference getDefinition_EImports();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Import <em>Import</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Import</em>'.
- * @see org.eclipse.wst.wsdl.Import
- * @generated
- */
- EClass getImport();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Import#getNamespaceURI <em>Namespace URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Namespace URI</em>'.
- * @see org.eclipse.wst.wsdl.Import#getNamespaceURI()
- * @see #getImport()
- * @generated
- */
- EAttribute getImport_NamespaceURI();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Import#getLocationURI <em>Location URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location URI</em>'.
- * @see org.eclipse.wst.wsdl.Import#getLocationURI()
- * @see #getImport()
- * @generated
- */
- EAttribute getImport_LocationURI();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.Import#getEDefinition <em>EDefinition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EDefinition</em>'.
- * @see org.eclipse.wst.wsdl.Import#getEDefinition()
- * @see #getImport()
- * @generated
- */
- EReference getImport_EDefinition();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.Import#getESchema <em>ESchema</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>ESchema</em>'.
- * @see org.eclipse.wst.wsdl.Import#getESchema()
- * @see #getImport()
- * @generated
- */
- EReference getImport_ESchema();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.ExtensibleElement <em>Extensible Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Extensible Element</em>'.
- * @see org.eclipse.wst.wsdl.ExtensibleElement
- * @generated
- */
- EClass getExtensibleElement();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.ExtensibleElement#getEExtensibilityElements <em>EExtensibility Elements</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>EExtensibility Elements</em>'.
- * @see org.eclipse.wst.wsdl.ExtensibleElement#getEExtensibilityElements()
- * @see #getExtensibleElement()
- * @generated
- */
- EReference getExtensibleElement_EExtensibilityElements();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Input <em>Input</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Input</em>'.
- * @see org.eclipse.wst.wsdl.Input
- * @generated
- */
- EClass getInput();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Output <em>Output</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Output</em>'.
- * @see org.eclipse.wst.wsdl.Output
- * @generated
- */
- EClass getOutput();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Fault <em>Fault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Fault</em>'.
- * @see org.eclipse.wst.wsdl.Fault
- * @generated
- */
- EClass getFault();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.BindingInput <em>Binding Input</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding Input</em>'.
- * @see org.eclipse.wst.wsdl.BindingInput
- * @generated
- */
- EClass getBindingInput();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.BindingInput#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.BindingInput#getName()
- * @see #getBindingInput()
- * @generated
- */
- EAttribute getBindingInput_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.BindingInput#getEInput <em>EInput</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EInput</em>'.
- * @see org.eclipse.wst.wsdl.BindingInput#getEInput()
- * @see #getBindingInput()
- * @generated
- */
- EReference getBindingInput_EInput();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.BindingOutput <em>Binding Output</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding Output</em>'.
- * @see org.eclipse.wst.wsdl.BindingOutput
- * @generated
- */
- EClass getBindingOutput();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.BindingOutput#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.BindingOutput#getName()
- * @see #getBindingOutput()
- * @generated
- */
- EAttribute getBindingOutput_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.BindingOutput#getEOutput <em>EOutput</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EOutput</em>'.
- * @see org.eclipse.wst.wsdl.BindingOutput#getEOutput()
- * @see #getBindingOutput()
- * @generated
- */
- EReference getBindingOutput_EOutput();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.BindingFault <em>Binding Fault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding Fault</em>'.
- * @see org.eclipse.wst.wsdl.BindingFault
- * @generated
- */
- EClass getBindingFault();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.BindingFault#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.BindingFault#getName()
- * @see #getBindingFault()
- * @generated
- */
- EAttribute getBindingFault_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.BindingFault#getEFault <em>EFault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EFault</em>'.
- * @see org.eclipse.wst.wsdl.BindingFault#getEFault()
- * @see #getBindingFault()
- * @generated
- */
- EReference getBindingFault_EFault();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Namespace <em>Namespace</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Namespace</em>'.
- * @see org.eclipse.wst.wsdl.Namespace
- * @generated
- */
- EClass getNamespace();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Namespace#getURI <em>URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>URI</em>'.
- * @see org.eclipse.wst.wsdl.Namespace#getURI()
- * @see #getNamespace()
- * @generated
- */
- EAttribute getNamespace_URI();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.Namespace#getPrefix <em>Prefix</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Prefix</em>'.
- * @see org.eclipse.wst.wsdl.Namespace#getPrefix()
- * @see #getNamespace()
- * @generated
- */
- EAttribute getNamespace_Prefix();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.PortType <em>IPort Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IPort Type</em>'.
- * @see javax.wsdl.PortType
- * @model instanceClass="javax.wsdl.PortType"
- * @generated
- */
- EClass getIPortType();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Operation <em>IOperation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IOperation</em>'.
- * @see javax.wsdl.Operation
- * @model instanceClass="javax.wsdl.Operation"
- * @generated
- */
- EClass getIOperation();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Input <em>IInput</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IInput</em>'.
- * @see javax.wsdl.Input
- * @model instanceClass="javax.wsdl.Input"
- * @generated
- */
- EClass getIInput();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Output <em>IOutput</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IOutput</em>'.
- * @see javax.wsdl.Output
- * @model instanceClass="javax.wsdl.Output"
- * @generated
- */
- EClass getIOutput();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Fault <em>IFault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IFault</em>'.
- * @see javax.wsdl.Fault
- * @model instanceClass="javax.wsdl.Fault"
- * @generated
- */
- EClass getIFault();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Message <em>IMessage</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IMessage</em>'.
- * @see javax.wsdl.Message
- * @model instanceClass="javax.wsdl.Message"
- * @generated
- */
- EClass getIMessage();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Part <em>IPart</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IPart</em>'.
- * @see javax.wsdl.Part
- * @model instanceClass="javax.wsdl.Part"
- * @generated
- */
- EClass getIPart();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Service <em>IService</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IService</em>'.
- * @see javax.wsdl.Service
- * @model instanceClass="javax.wsdl.Service"
- * @generated
- */
- EClass getIService();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Port <em>IPort</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IPort</em>'.
- * @see javax.wsdl.Port
- * @model instanceClass="javax.wsdl.Port"
- * @generated
- */
- EClass getIPort();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Binding <em>IBinding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IBinding</em>'.
- * @see javax.wsdl.Binding
- * @model instanceClass="javax.wsdl.Binding"
- * @generated
- */
- EClass getIBinding();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.BindingOperation <em>IBinding Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IBinding Operation</em>'.
- * @see javax.wsdl.BindingOperation
- * @model instanceClass="javax.wsdl.BindingOperation"
- * @generated
- */
- EClass getIBindingOperation();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.BindingInput <em>IBinding Input</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IBinding Input</em>'.
- * @see javax.wsdl.BindingInput
- * @model instanceClass="javax.wsdl.BindingInput"
- * @generated
- */
- EClass getIBindingInput();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.BindingOutput <em>IBinding Output</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IBinding Output</em>'.
- * @see javax.wsdl.BindingOutput
- * @model instanceClass="javax.wsdl.BindingOutput"
- * @generated
- */
- EClass getIBindingOutput();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.BindingFault <em>IBinding Fault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IBinding Fault</em>'.
- * @see javax.wsdl.BindingFault
- * @model instanceClass="javax.wsdl.BindingFault"
- * @generated
- */
- EClass getIBindingFault();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.ExtensibilityElement <em>IExtensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IExtensibility Element</em>'.
- * @see javax.wsdl.extensions.ExtensibilityElement
- * @model instanceClass="javax.wsdl.extensions.ExtensibilityElement"
- * @generated
- */
- EClass getIExtensibilityElement();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Definition <em>IDefinition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IDefinition</em>'.
- * @see javax.wsdl.Definition
- * @model instanceClass="javax.wsdl.Definition"
- * @generated
- */
- EClass getIDefinition();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Import <em>IImport</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IImport</em>'.
- * @see javax.wsdl.Import
- * @model instanceClass="javax.wsdl.Import"
- * @generated
- */
- EClass getIImport();
-
- /**
- * Returns the meta object for class '{@link java.util.List <em>IList</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IList</em>'.
- * @see java.util.List
- * @model instanceClass="java.util.List"
- * @generated
- */
- EClass getIList();
-
- /**
- * Returns the meta object for class '{@link java.util.Map <em>IMap</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IMap</em>'.
- * @see java.util.Map
- * @model instanceClass="java.util.Map"
- * @generated
- */
- EClass getIMap();
-
- /**
- * Returns the meta object for class '{@link java.net.URL <em>IURL</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IURL</em>'.
- * @see java.net.URL
- * @model instanceClass="java.net.URL"
- * @generated
- */
- EClass getIURL();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.extensions.ExtensionRegistry <em>IExtension Registry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IExtension Registry</em>'.
- * @see javax.wsdl.extensions.ExtensionRegistry
- * @model instanceClass="javax.wsdl.extensions.ExtensionRegistry"
- * @generated
- */
- EClass getIExtensionRegistry();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.Types <em>Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Types</em>'.
- * @see org.eclipse.wst.wsdl.Types
- * @generated
- */
- EClass getTypes();
-
- /**
- * Returns the meta object for class '{@link java.util.Iterator <em>IIterator</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>IIterator</em>'.
- * @see java.util.Iterator
- * @model instanceClass="java.util.Iterator"
- * @generated
- */
- EClass getIIterator();
-
- /**
- * Returns the meta object for class '{@link javax.wsdl.Types <em>ITypes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>ITypes</em>'.
- * @see javax.wsdl.Types
- * @model instanceClass="javax.wsdl.Types"
- * @generated
- */
- EClass getITypes();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.UnknownExtensibilityElement <em>Unknown Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Unknown Extensibility Element</em>'.
- * @see org.eclipse.wst.wsdl.UnknownExtensibilityElement
- * @generated
- */
- EClass getUnknownExtensibilityElement();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.UnknownExtensibilityElement#getChildren <em>Children</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Children</em>'.
- * @see org.eclipse.wst.wsdl.UnknownExtensibilityElement#getChildren()
- * @see #getUnknownExtensibilityElement()
- * @generated
- */
- EReference getUnknownExtensibilityElement_Children();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement <em>XSD Schema Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XSD Schema Extensibility Element</em>'.
- * @see org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement
- * @generated
- */
- EClass getXSDSchemaExtensibilityElement();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement#getSchema <em>Schema</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Schema</em>'.
- * @see org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement#getSchema()
- * @see #getXSDSchemaExtensibilityElement()
- * @generated
- */
- EReference getXSDSchemaExtensibilityElement_Schema();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.MessageReference <em>Message Reference</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Message Reference</em>'.
- * @see org.eclipse.wst.wsdl.MessageReference
- * @generated
- */
- EClass getMessageReference();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.MessageReference#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.wst.wsdl.MessageReference#getName()
- * @see #getMessageReference()
- * @generated
- */
- EAttribute getMessageReference_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.MessageReference#getEMessage <em>EMessage</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EMessage</em>'.
- * @see org.eclipse.wst.wsdl.MessageReference#getEMessage()
- * @see #getMessageReference()
- * @generated
- */
- EReference getMessageReference_EMessage();
-
- /**
- * Returns the meta object for data type '{@link javax.xml.namespace.QName <em>QName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>QName</em>'.
- * @see javax.xml.namespace.QName
- * @model instanceClass="javax.xml.namespace.QName"
- * @generated
- */
- EDataType getQName();
-
- /**
- * Returns the meta object for data type '{@link javax.wsdl.OperationType <em>Operation Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>Operation Type</em>'.
- * @see javax.wsdl.OperationType
- * @model instanceClass="javax.wsdl.OperationType"
- * @generated
- */
- EDataType getOperationType();
-
- /**
- * Returns the meta object for data type '{@link org.w3c.dom.Element <em>DOM Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>DOM Element</em>'.
- * @see org.w3c.dom.Element
- * @model instanceClass="org.w3c.dom.Element"
- * @generated
- */
- EDataType getDOMElement();
-
- /**
- * Returns the meta object for data type '{@link javax.wsdl.WSDLException <em>Exception</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>Exception</em>'.
- * @see javax.wsdl.WSDLException
- * @model instanceClass="javax.wsdl.WSDLException"
- * @generated
- */
- EDataType getWSDLException();
-
- /**
- * Returns the meta object for data type '{@link org.w3c.dom.Document <em>DOM Document</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>DOM Document</em>'.
- * @see org.w3c.dom.Document
- * @model instanceClass="org.w3c.dom.Document"
- * @generated
- */
- EDataType getDOMDocument();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- WSDLFactory getWSDLFactory();
-
-} //WSDLPackage
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPlugin.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPlugin.java
deleted file mode 100644
index 239bf3b34..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPlugin.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import javax.wsdl.factory.WSDLFactory;
-
-import org.eclipse.emf.common.EMFPlugin;
-import org.eclipse.emf.common.util.ResourceLocator;
-import org.eclipse.wst.wsdl.internal.extensibility.ExtensibilityElementFactoryRegistryImpl;
-import org.eclipse.wst.wsdl.internal.extensibility.ExtensibilityElementFactoryRegistryReader;
-import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactoryRegistry;
-
-
-/**
- * The <b>Plugin</b> for the model.
- * The WSDL model needs to be able to run within an Eclipse workbench,
- * within a headless Eclipse workspace, or just stand-alone as part
- * of some other application.
- * To support this, all access is directed to the static methods,
- * which can redirect the service as appopriate to the runtime.
- * During stand-alone invocation no plugin initialization takes place.
- * In this case you will need the resources jar on the class path.
- * @see #getBaseURL
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
- */
-public final class WSDLPlugin extends EMFPlugin
-{
- /**
- * The singleton instance of the plugin.
- */
- public static final WSDLPlugin INSTANCE = new WSDLPlugin();
-
- /**
- * The one instance of this class.
- */
- static WSDLPluginImplementation plugin;
-
- private ExtensibilityElementFactoryRegistryImpl extensibilityElementFactoryRegistry;
-
- /**
- * Creates the singleton instance.
- */
- private WSDLPlugin()
- {
- super(new ResourceLocator[] {});
- }
-
- /*
- * Javadoc copied from base class.
- */
- public ResourceLocator getPluginResourceLocator()
- {
- return plugin;
- }
-
- /**
- * Returns the singleton instance of the Eclipse plugin.
- * @return the singleton instance.
- */
- public static WSDLPluginImplementation getPlugin()
- {
- return plugin;
- }
-
- private ExtensibilityElementFactoryRegistryImpl internalGetExtensibilityElementFactoryRegistry()
- {
- if (extensibilityElementFactoryRegistry == null)
- {
- extensibilityElementFactoryRegistry = new ExtensibilityElementFactoryRegistryImpl();
- if (plugin != null)
- {
- new ExtensibilityElementFactoryRegistryReader(extensibilityElementFactoryRegistry).readRegistry();
- }
- }
- return extensibilityElementFactoryRegistry;
- }
-
- public ExtensibilityElementFactory getExtensibilityElementFactory(String namespace)
- {
- return internalGetExtensibilityElementFactoryRegistry().getExtensibilityElementFactory(namespace);
- }
-
- public ExtensibilityElementFactoryRegistry getExtensibilityElementFactoryRegistry()
- {
- return internalGetExtensibilityElementFactoryRegistry();
- }
-
- public WSDLFactory createWSDL4JFactory()
- {
- return new WSDLFactoryImpl();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPluginImplementation.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPluginImplementation.java
deleted file mode 100644
index 3a02b7c04..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPluginImplementation.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.emf.common.EMFPlugin.EclipsePlugin;
-
-/**
- * The actual implementation of the Eclipse <b>Plugin</b>.
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
- */
- public class WSDLPluginImplementation extends EclipsePlugin
- {
- /**
- * Creates an instance.
- */
- public WSDLPluginImplementation()
- {
- super();
-
- // Remember the static instance.
- //
- WSDLPlugin.plugin = this;
- }
- } \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/XSDSchemaExtensibilityElement.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/XSDSchemaExtensibilityElement.java
deleted file mode 100644
index d2554f919..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/XSDSchemaExtensibilityElement.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl;
-
-import org.eclipse.xsd.XSDSchema;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XSD Schema Extensibility Element</b></em>'.
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wsdl.XSDSchemaExtensibilityElement#getSchema <em>Schema</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wsdl.WSDLPackage#getXSDSchemaExtensibilityElement()
- * @model
- * @generated
- */
-public interface XSDSchemaExtensibilityElement extends ExtensibilityElement{
- /**
- * Returns the value of the '<em><b>Schema</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Schema</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Schema</em>' containment reference.
- * @see #setSchema(XSDSchema)
- * @see org.eclipse.wsdl.WSDLPackage#getXSDSchemaExtensibilityElement_Schema()
- * @model containment="true"
- * @generated
- */
- XSDSchema getSchema();
-
- /**
- * Sets the value of the '{@link org.eclipse.wsdl.XSDSchemaExtensibilityElement#getSchema <em>Schema</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Schema</em>' containment reference.
- * @see #getSchema()
- * @generated
- */
- void setSchema(XSDSchema value);
-
-} // XSDSchemaExtensibilityElement
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryDescriptor.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryDescriptor.java
deleted file mode 100644
index 64a2fc7af..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryDescriptor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.extensibility;
-
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-import org.osgi.framework.Bundle;
-
-public class ExtensibilityElementFactoryDescriptor
-{
- private final static String CLASS_LOADING_ERROR = "CLASS_LOADING_ERROR";
-
- protected Bundle bundle;
- protected String namespace;
- protected String className;
- protected Object factory;
-
- public ExtensibilityElementFactoryDescriptor(String className, String namespace, Bundle bundle)
- {
- this.bundle = bundle;
- this.className = className;
- this.namespace = namespace;
- }
-
- public ExtensibilityElementFactory getExtensiblityElementFactory()
- {
- if (factory == null)
- {
- try
- {
- Class theClass = bundle.loadClass(className);
- factory = (ExtensibilityElementFactory)theClass.newInstance();
- }
- catch (Exception e)
- {
- factory = CLASS_LOADING_ERROR;
- e.printStackTrace();
- }
- }
- return factory != CLASS_LOADING_ERROR ? (ExtensibilityElementFactory)factory : null;
- }
-
- public void setExtensiblityElementFactory(ExtensibilityElementFactory factory)
- {
- this.factory = factory;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryImpl.java
deleted file mode 100644
index fbbc01408..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.extensibility;
-
-import java.util.HashMap;
-
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactoryRegistry;
-
-
-public class ExtensibilityElementFactoryRegistryImpl implements ExtensibilityElementFactoryRegistry
-{
- protected HashMap map = new HashMap();
-
- public void put(String namespace, ExtensibilityElementFactoryDescriptor descriptor)
- {
- map.put(namespace, descriptor);
- }
-
- public ExtensibilityElementFactory getExtensibilityElementFactory(String namespace)
- {
- ExtensibilityElementFactory result = null;
- ExtensibilityElementFactoryDescriptor descriptor = (ExtensibilityElementFactoryDescriptor)map.get(namespace);
- if (descriptor != null)
- {
- result = descriptor.getExtensiblityElementFactory();
- }
- return result;
- }
-
- public void registerFactory(String namespace, ExtensibilityElementFactory factory)
- {
- ExtensibilityElementFactoryDescriptor descriptor = new ExtensibilityElementFactoryDescriptor(null,namespace,null);
- descriptor.setExtensiblityElementFactory(factory);
- map.put(namespace,descriptor);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryReader.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryReader.java
deleted file mode 100644
index 57be9ad8e..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryReader.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.extensibility;
-import java.net.URL;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.wsdl.WSDLPlugin;
-import org.osgi.framework.Bundle;
-
-
-public class ExtensibilityElementFactoryRegistryReader
-{
- protected static final String PLUGIN_ID = WSDLPlugin.getPlugin().getSymbolicName();
- protected static final String EXTENSION_POINT_ID = "extensibilityElementFactories";
- protected static final String ELEMENT_NAME = "extensibilityElementFactory";
- protected static final String ATT_NAMESPACE = "namespace";
- protected static final String ATT_CLASS = "class";
- protected ExtensibilityElementFactoryRegistryImpl extensibilityElementFactoryRegistry;
-
- public ExtensibilityElementFactoryRegistryReader(ExtensibilityElementFactoryRegistryImpl extensibilityElementFactoryRegistry)
- {
- this.extensibilityElementFactoryRegistry = extensibilityElementFactoryRegistry;
- }
-
- /**
- * read from plugin registry and parse it.
- */
- public void readRegistry()
- {
- IExtensionRegistry pluginRegistry = Platform.getExtensionRegistry();
- IExtensionPoint point = pluginRegistry.getExtensionPoint(PLUGIN_ID, EXTENSION_POINT_ID);
- if (point != null)
- {
- IConfigurationElement[] elements = point.getConfigurationElements();
- for (int i = 0; i < elements.length; i++)
- {
- readElement(elements[i]);
- }
- }
- }
-
- public String resolve(URL platformURL, String relativePath) throws Exception
- {
- URL resolvedURL = FileLocator.resolve(platformURL);
- return resolvedURL.toString() + relativePath;
- }
-
- protected void readElement(IConfigurationElement element)
- {
- if (element.getName().equals(ELEMENT_NAME))
- {
- try
- {
- IConfigurationElement childElement = (IConfigurationElement) element;
- String namespace = childElement.getAttribute(ATT_NAMESPACE);
- if (namespace != null)
- {
- Bundle pluginBundle = Platform.getBundle(element.getDeclaringExtension().getContributor().getName());
- String className = childElement.getAttribute(ATT_CLASS);
- ExtensibilityElementFactoryDescriptor descriptor = new ExtensibilityElementFactoryDescriptor(className,namespace,pluginBundle);
- extensibilityElementFactoryRegistry.put(namespace, descriptor);
- }
- }
- catch (Exception e)
- {
- }
- }
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BaseGenerator.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BaseGenerator.java
deleted file mode 100644
index cf9345f3b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BaseGenerator.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.generator;
-
-import org.eclipse.wst.wsdl.Definition;
-
-public abstract class BaseGenerator {
- private String name;
- private String refName;
- private boolean overwrite;
- protected Definition definition;
- protected ContentGenerator contentGenerator;
-
-
- public void setContentGenerator(ContentGenerator generator) {
- contentGenerator = generator;
- }
-
- public ContentGenerator getContentGenerator() {
- return contentGenerator;
- }
-
- public void setOverwrite(boolean overwrite) {
- this.overwrite = overwrite;
- }
-
- public boolean getOverwrite() {
- return overwrite;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public void setRefName(String refName) {
- this.refName = refName;
- }
-
- public String getName() {
- return name;
- }
-
- public String getRefName() {
- return refName;
- }
-
- public Definition getDefinition() {
- return definition;
- }
-
- public String getProtocol() {
- if (contentGenerator != null) {
- return contentGenerator.getProtocol();
- }
-
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BindingGenerator.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BindingGenerator.java
deleted file mode 100644
index 2ba499ce3..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BindingGenerator.java
+++ /dev/null
@@ -1,617 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.generator;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.internal.generator.extension.ContentGeneratorExtensionFactoryRegistry;
-
-/*
- * Class used to generate the Binding and it's content. We look in the registry for
- * appropriate ContentGenerator classes based on the existing Binding Content's namespace.
- * Alternatively, users can pass in a namespace through the constructor to specify which
- * namespace to use when searching the registry.
- *
- * The ContentGenerator may also be set manually by calling
- * setContentGenerator(ContentGenerator).
- */
-public class BindingGenerator extends BaseGenerator {
- private WSDLFactory factory = WSDLFactory.eINSTANCE;
- private Binding binding;
-
- /*
- * When the constructor is used, automatically attempt to retrieve a proper
- * ContentGenerator based on the Binding given. The ContentGenerator may
- * be replaced by calling setContentGenerator(ContentGenerator).
- */
- public BindingGenerator(Definition definition, Binding binding) {
- this.definition = definition;
- this.binding = binding;
- contentGenerator = getContentGenerator(binding);
- }
-
- /*
- * When the constructor is used, automatically attempt to retrieve a proper
- * ContentGenerator based on the namespace given. The ContentGenerator may
- * be replaced by calling setContentGenerator(ContentGenerator).
- */
- public BindingGenerator(Definition definition, Binding binding, String namespace) {
- this.definition = definition;
- this.binding = binding;
- contentGenerator = getContentGenerator(namespace);
- }
-
- public static ContentGenerator getContentGenerator(Binding binding) {
- if (binding == null) {
- return null;
- }
- /******************************************************
- * Find the regeistered Content Generator for the Binding
- ******************************************************/
- // Get BindingContent namespace
- String namespace = null;
- List eeList = binding.getEExtensibilityElements();
- if (eeList.size() > 0) {
- ExtensibilityElement ee = (ExtensibilityElement) eeList.get(0);
- // TODO: QName qName = ee.getElementType(); go get the namespace instead?
- namespace = ee.getElement().getNamespaceURI();
- return getContentGenerator(namespace);
- }
-
- return null;
- }
-
- public static ContentGenerator getContentGenerator(String namespace) {
- ContentGenerator contentGen = null;
- if (namespace != null) {
- ContentGeneratorExtensionFactoryRegistry factoryRegistry = ContentGeneratorExtensionFactoryRegistry.getInstance();
- contentGen = factoryRegistry.getGeneratorClassFromNamespace(namespace);
- }
-
- return contentGen;
- }
-
- private Binding createEmptyBinding(String localName) {
- Binding newBinding = WSDLFactory.eINSTANCE.createBinding();
- newBinding.setQName(new QName(definition.getTargetNamespace(),localName));
- newBinding.setEnclosingDefinition(definition);
- definition.addBinding(newBinding);
-
- return newBinding;
- }
-
- /*
- * TODO: Scenario:
- * 1)overwrite == false
- * 2)BindingOperation with 1 input
- * 3)Corresponding Operation (with same name) with 1 input and 1 output
- * If we generate with overwrite == false, nothing is done. Thus, an
- * output is not generated on the BindingOperation. This is because we
- * search for existing Elements only at the level of BindingOperations.
- * For example, if there is a corresponding BindingOperation with the same
- * name as our Operation, leave it alone.... but since there is already
- * a BindingOperation with the same name, we don't create a new BindingOperation.
- *
- * The correct implementation is reduce this granularity to the MessageReference
- * level. The code is almost there except for how we generate the Binding element
- * content. Look at BindingGenrator.generateBindingOperation() and
- * SOAPContentGenerator.java and it's content generation method
- * for a good place to start.
- *
- * For wtp RC1, We shall only look at the Operation level (as we do in the previous
- * version).
- */
- public Binding generateBinding() {
- try {
- // If Binding is null (No Binding was passed into the constructor), we create an empty Binding first.
- if (binding == null) {
- binding = createEmptyBinding(getName());
- }
- if (getName() != null && !binding.getQName().getLocalPart().equals(getName())) {
- binding.setQName(new QName(binding.getQName().getNamespaceURI(), getName()));
- }
- if (getRefName() != null) {
- PortType portType = getPortType();
- binding.setEPortType(portType);
- if (portType == null) {
- //The model doesn't reconile with it's Element properly when we're setting a null for it's PortType
- binding.getElement().setAttribute("type", "");
- }
- }
-
- List bindingOperations = binding.getEBindingOperations();
- PortType portType = binding.getEPortType();
-
- if (!getOverwrite()) {
- // Don't Overwrite
- if (portType == null) {
- return binding;
- }
- else {
- addRequiredNamespaces(binding);
- List operations = portType.getOperations();
-
- /*******************************************************************************
- * Determine which Operations require new a new corresponding BindingOperations
- *******************************************************************************/
- List newBindingOpsNeeded = new ArrayList();
- for (int index = 0; index < operations.size(); index++) {
- Operation operation = (Operation) operations.get(index);
-
- boolean foundMatch = false;
- Iterator bindingOperationsIt = bindingOperations.iterator();
- while (bindingOperationsIt.hasNext()) {
- BindingOperation bindingOperation = (BindingOperation) bindingOperationsIt.next();
-
- if (namesEqual(bindingOperation.getName(), operation.getName())) {
- foundMatch = true;
- break;
- }
- }
-
- if (!foundMatch){
- newBindingOpsNeeded.add(operation);
- }
- }
- // newBindingOpsNeeded is the List of Operations needing new corresponding
- // BindingOperation's
- List newBindingOps = createNewBindingOperations(newBindingOpsNeeded);
-
- // Generate the contents of the new BindingOperation's
- Iterator newBindingOpsIt = newBindingOps.iterator();
- while (newBindingOpsIt.hasNext()) {
- BindingOperation newBindingOp = (BindingOperation) newBindingOpsIt.next();
- generateBindingOperation(newBindingOp);
- generateBindingOperationContent(newBindingOp);
- }
- }
-
- generateBindingContent(binding);
- }
- else {
- // Overwrite
- if (portType == null) {
- // We need to blow away everything under the Binding. No PortType associated with this Binding
- bindingOperations.clear();
- return binding;
- }
- else {
- addRequiredNamespaces(binding);
- List operations = portType.getOperations();
-
- /******************************************************
- * Compare the Operations
- ******************************************************/
- // Remove any BindingOperations which are no longer used
- for (int index = 0; index < bindingOperations.size(); index++) {
- BindingOperation bindingOperation = (BindingOperation) bindingOperations.get(index);
-
- boolean foundMatch = false;
- Iterator operationsIt = operations.iterator();
- while (operationsIt.hasNext()) {
- Operation operation = (Operation) operationsIt.next();
-
- if (namesEqual(bindingOperation.getName(), operation.getName())) {
- foundMatch = true;
- break;
- }
- }
-
- if (!foundMatch){
- // We need to remove this BindingFault from the bindingFaults List
- bindingOperations.remove(index);
- index--;
- }
- }
-
- // Remove any Operations which already exists in bindingOperations. What we
- // have left are the Operations which needs newly created BindingOperations
- List bindingOperationsNeeded = new ArrayList();
- for (int index = 0; index < operations.size(); index++) {
- Operation operation = (Operation) operations.get(index);
-
- boolean foundMatch = false;
- Iterator bindingOperationsIt = bindingOperations.iterator();
- while (bindingOperationsIt.hasNext()) {
- BindingOperation bindingOperation = (BindingOperation) bindingOperationsIt.next();
-
- if (namesEqual(bindingOperation.getName(), operation.getName())) {
- foundMatch = true;
- break;
- }
- }
-
- if (!foundMatch){
- // We need to remove this BindingFault from the bindingFaults List
- bindingOperationsNeeded.add(operation); // Store the actual Operation
- }
- }
-
- // Create required BindingOperations
- createNewBindingOperations(bindingOperationsNeeded);
-
- /******************************************************
- * Process the contents of the Operations
- ******************************************************/
- Iterator bindingOperationsIt = binding.getEBindingOperations().iterator();
- while (bindingOperationsIt.hasNext()) {
- generateBindingOperation((BindingOperation) bindingOperationsIt.next());
- }
-
- generateBindingContent(binding);
-
- return binding;
- }
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- return null;
- }
-
- private List createNewBindingOperations(List operations) {
- List newBindingOps = new ArrayList();
-
- Iterator neededBindingOperationsIt = operations.iterator();
- while (neededBindingOperationsIt.hasNext()) {
- Operation operation = (Operation) neededBindingOperationsIt.next();
- BindingOperation newBindingOperation = factory.createBindingOperation();
- newBindingOperation.setEOperation(operation);
- newBindingOperation.setName(operation.getName());
- binding.addBindingOperation(newBindingOperation);
-
- newBindingOps.add(newBindingOperation);
- }
-
- return newBindingOps;
- }
-
- private void generateBindingOperation(BindingOperation bindingOperation) {
- BindingInput bindingInput = bindingOperation.getEBindingInput();
- BindingOutput bindingOutput = bindingOperation.getEBindingOutput();
- List bindingFaults = bindingOperation.getEBindingFaults();
-
- Operation operation = bindingOperation.getEOperation();
- Input input = operation.getEInput();
- Output output = operation.getEOutput();
- List faults = operation.getEFaults();
-
- /******************************************************
- * Compare the Operation names
- ******************************************************/
- if (!namesEqual(bindingOperation.getName(), operation.getName())) {
- bindingOperation.setName(operation.getName());
- }
-
-
- /******************************************************
- * Compare the Output
- ******************************************************/
- if (output == null) {
- bindingOperation.setBindingOutput(null);
- }
- else {
- // Create BindingOutput if necessary
- if (bindingOutput == null) {
- BindingOutput newBindingOutput = factory.createBindingOutput();
- newBindingOutput.setEOutput(output);
- newBindingOutput.setName(output.getName());
- bindingOperation.setBindingOutput(newBindingOutput);
- }
- else {
- // Compare the Output names
- if (!namesEqual(bindingOutput.getName(), output.getName())) {
- bindingOutput.setName(output.getName());
- }
- }
- }
- generateBindingOutputContent(bindingOperation.getEBindingOutput());
-
- /******************************************************
- * Compare the Input
- ******************************************************/
- if (input == null) {
- bindingOperation.setBindingInput(null);
- }
- else {
- // Create BindingInput if necessary
- if (bindingInput == null) {
- BindingInput newBindingInput = factory.createBindingInput();
- newBindingInput.setEInput(input);
- newBindingInput.setName(input.getName());
- bindingOperation.setBindingInput(newBindingInput);
- }
- else {
- // Compare the Input names
- if (!namesEqual(bindingInput.getName(), input.getName())) {
- bindingInput.setName(input.getName());
- }
- }
- }
- generateBindingInputContent(bindingOperation.getEBindingInput());
-
-
- /******************************************************
- * Compare the Faults
- ******************************************************/
- // Remove any BindingFaults which are no longer used
- for (int index = 0; index < bindingFaults.size(); index++) {
- BindingFault bindingFault = (BindingFault) bindingFaults.get(index);
-
- boolean foundMatch = false;
- Iterator faultsIt = faults.iterator();
- while (faultsIt.hasNext()) {
- Fault fault = (Fault) faultsIt.next();
- if (namesEqual(bindingFault.getName(), fault.getName())) {
- foundMatch = true;
- break;
- }
- }
-
- if (!foundMatch){
- // We need to remove this BindingFault from the bindingFaults List
- bindingFaults.remove(index);
- index--;
- }
- }
-
- // Remove any Faults which already exists in bindingFaults. What we
- // have left are the Faults which needs newly created BindingFaults
- List bindingFaultsNeeded = new ArrayList();
- for (int index = 0; index < faults.size(); index++) {
- Fault fault = (Fault) faults.get(index);
-
- boolean foundMatch = false;
- Iterator bindingFaultsIt = bindingFaults.iterator();
- while (bindingFaultsIt.hasNext()) {
- BindingFault bindingFault = (BindingFault) bindingFaultsIt.next();
- if (namesEqual(bindingFault.getName(), fault.getName())) {
- foundMatch = true;
- break;
- }
- }
-
- if (!foundMatch){
- // We need to remove this BindingFault from the bindingFaults List
- bindingFaultsNeeded.add(fault);
- }
- }
-
- // bindingFaultsNeeded contains the needed BindingFault's we need to create
- Iterator neededBindingFaultsIt = bindingFaultsNeeded.iterator();
- while (neededBindingFaultsIt.hasNext()) {
- Fault fault = (Fault) neededBindingFaultsIt.next();
- BindingFault newBindingFault = factory.createBindingFault();
- newBindingFault.setEFault(fault);
- newBindingFault.setName(fault.getName());
- bindingOperation.addBindingFault(newBindingFault);
- }
-
- // Create the contents for each BindingFault
- Iterator faultContentIt = bindingOperation.getEBindingFaults().iterator();
- while (faultContentIt.hasNext()) {
- BindingFault bindingFault = (BindingFault) faultContentIt.next();
- generateBindingFaultContent(bindingFault);
- }
-
- generateBindingOperationContent(bindingOperation);
- }
-
- private boolean namesEqual(String name1, String name2) {
- boolean match = false;
-
- if (name1 != null ^ name2 != null) {
- // one is null
- match = false;
- }
- else if (name1 != null && name2 != null) {
- // neither is null
- match = name1.equals(name2);
- }
- else {
- // both are null
- match = true;
- }
-
- return match;
- }
-
- protected void generateBindingContent(Binding binding) {
- if (contentGenerator != null) {
- if (getOverwrite() || binding.getEExtensibilityElements().size() == 0) {
- contentGenerator.generateBindingContent(binding, (PortType) binding.getEPortType());
- }
- }
- else {
- removeExtensibilityElements(binding);
- }
- }
-
- protected void generateBindingOperationContent(BindingOperation bindingOperation) {
- if (bindingOperation != null && contentGenerator != null) {
- contentGenerator.generateBindingOperationContent(bindingOperation, bindingOperation.getEOperation());
- }
- else {
- removeExtensibilityElements(bindingOperation);
- }
- }
-
- protected void generateBindingInputContent(BindingInput bindingInput) {
- if (bindingInput != null && contentGenerator != null) {
- contentGenerator.generateBindingInputContent(bindingInput, bindingInput.getEInput());
- }
- else {
- removeExtensibilityElements(bindingInput);
- }
- }
-
- protected void generateBindingOutputContent(BindingOutput bindingOutput) {
- if (bindingOutput != null && contentGenerator != null) {
- contentGenerator.generateBindingOutputContent(bindingOutput, bindingOutput.getEOutput());
- }
- else {
- removeExtensibilityElements(bindingOutput);
- }
- }
-
- protected void generateBindingFaultContent(BindingFault bindingFault) {
- if (bindingFault != null && contentGenerator != null) {
- contentGenerator.generateBindingFaultContent(bindingFault, bindingFault.getEFault());
- }
- else {
- removeExtensibilityElements(bindingFault);
- }
- }
-
- private void removeExtensibilityElements(ExtensibleElement ee) {
- if (ee != null) {
- ee.getEExtensibilityElements().clear();
- }
- }
-
- /*
- * Generate Port Content for all Ports with a reference to the Binding
- * which was passed in through the constructor (or a reference to the
- * newly created Binding).
- */
- public void generatePortContent() {
- if (binding != null && contentGenerator != null) {
- List portsToUpdate = new ArrayList();
-
- Iterator servicesIt = binding.getEnclosingDefinition().getEServices().iterator();
- while (servicesIt.hasNext()) {
- Service service = (Service) servicesIt.next();
- Iterator portsIt = service.getEPorts().iterator();
- while (portsIt.hasNext()) {
- Port port = (Port) portsIt.next();
- if (binding.equals(port.getEBinding())) {
- // Found a match
- portsToUpdate.add(port);
- }
- }
- }
-
- Iterator portsToUpdateIt = portsToUpdate.iterator();
- while (portsToUpdateIt.hasNext()) {
- contentGenerator.generatePortContent((Port) portsToUpdateIt.next());
- }
- }
- }
-
- /*
- * methods addRequiredNamespaces() and computeUniquePrefix() are used to add necessary
- * namespaces
- *
- * TODO:
- * Does this belong here? This is copied from wsdl.ui. Can we sync up in some way?
- */
- protected void addRequiredNamespaces(Binding binding) {
- if (contentGenerator != null) {
- String[] namespaceNames = contentGenerator.getRequiredNamespaces();
- String[] preferredPrefixes = new String[namespaceNames.length];
- for (int index = 0; index < namespaceNames.length; index++) {
- preferredPrefixes[index] = contentGenerator.getPreferredNamespacePrefix(namespaceNames[index]);
- }
-
- Map map = binding.getEnclosingDefinition().getNamespaces();
-
- for (int i = 0; i < namespaceNames.length; i++) {
- String namespace = namespaceNames[i];
- if (!map.containsValue(namespace)) {
- String prefix = (i < preferredPrefixes.length) ? preferredPrefixes[i] : "p0";
- if (map.containsKey(prefix)) {
- prefix = computeUniquePrefix("p", map);
- }
- binding.getEnclosingDefinition().addNamespace(prefix, namespace);
- }
- }
- }
- }
-
- private String computeUniquePrefix(String base, Map table){
- int i = 0;
- String prefix = base;
- while (true) {
- if (!table.containsKey(prefix)) {
- break;
- }
- else {
- prefix = base + i;
- i++;
- }
- }
- return prefix;
- }
-
- private PortType getPortType() {
- if (getRefName().equals("")) {
- // Means we should set the PortType to Unspecified
- return null;
- }
-
- if (getRefName() != null) {
- Iterator portTypeIt = definition.getEPortTypes().iterator();
-
- while (portTypeIt.hasNext()) {
- PortType pt = (PortType) portTypeIt.next();
- List prefixedNames = getPrefixedNames(pt);
- if (prefixedNames.contains(getRefName())) {
- return pt;
- }
- }
- }
-
- return binding.getEPortType();
- }
-
- private List getPrefixedNames(PortType portType) {
- List prefixedNames = new ArrayList();
- String currentPortTypeName = portType.getQName().getLocalPart();
- String currentNamespace = portType.getQName().getNamespaceURI();
-
- Map namespaceMap = definition.getNamespaces();
- Iterator keys = namespaceMap.keySet().iterator();
- while (keys.hasNext()) {
- Object key = keys.next();
- Object value = namespaceMap.get(key);
-
- if (currentNamespace.equals(value)) {
- // Found a match. Add to our list
- prefixedNames.add(key + ":" + currentPortTypeName);
- }
- }
-
- return prefixedNames;
-
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/ContentGenerator.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/ContentGenerator.java
deleted file mode 100644
index 2fc848b61..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/ContentGenerator.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.generator;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-
-public interface ContentGenerator
-{
- public static String ADDRESS_LOCATION = "http://www.example.org/";
-
- public String[] getRequiredNamespaces();
- public String getPreferredNamespacePrefix(String namespace);
-
- // generates the 'address' extensiblity element for a port
- public void generatePortContent(Port port);
-
- public void generateBindingContent(Binding binding, PortType portType);
- public void generateBindingOperationContent(BindingOperation bindingOperation, Operation operation);
- public void generateBindingInputContent(BindingInput bindingInput, Input input);
- public void generateBindingOutputContent(BindingOutput bindingOutput, Output output);
- public void generateBindingFaultContent(BindingFault bindingFault, Fault fault);
-
- public String getProtocol();
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/PortGenerator.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/PortGenerator.java
deleted file mode 100644
index 4d3a20176..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/PortGenerator.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.generator;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLFactory;
-
-public class PortGenerator extends BaseGenerator {
- private Service service;
-
- /**
- * Constructs a port generator given the target service.
- * @param service the target Service, must not be null.
- */
- public PortGenerator(Service service) {
- this.service = service;
- definition = service.getEnclosingDefinition();
- }
-
- /**
- * Generates a service port given it's name and binding name.
- * The port is then added to the service passed in the constructor.
- * @return the Port instance
- */
- public Port generatePort() {
- String portName = getName();
- String bindingName = getRefName();
-
- Binding binding = getBinding(bindingName);
-
- Port port = WSDLFactory.eINSTANCE.createPort();
- port.setName(portName);
- port.setEnclosingDefinition(definition);
- port.setBinding(binding);
-
- service.addPort(port);
-
- ContentGenerator contentGenerator = getContentGenerator();
-
- if (contentGenerator != null) {
- addRequiredNamespaces(service.getEnclosingDefinition());
- contentGenerator.generatePortContent(port);
- }
-
- return port;
- }
-
- /*
- * methods addRequiredNamespaces() and computeUniquePrefix() are used to add necessary
- * namespaces
- *
- * TODO:
- * Does this belong here? This is copied from wsdl.ui. Can we sync up in some way?
- */
- protected void addRequiredNamespaces(Definition definition) {
- if (contentGenerator != null) {
- String[] namespaceNames = contentGenerator.getRequiredNamespaces();
- String[] preferredPrefixes = new String[namespaceNames.length];
- for (int index = 0; index < namespaceNames.length; index++) {
- preferredPrefixes[index] = contentGenerator.getPreferredNamespacePrefix(namespaceNames[index]);
- }
-
- Map map = definition.getNamespaces();
-
- for (int i = 0; i < namespaceNames.length; i++) {
- String namespace = namespaceNames[i];
- if (!map.containsValue(namespace)) {
- String prefix = (i < preferredPrefixes.length) ? preferredPrefixes[i] : "p0";
- if (map.containsKey(prefix)) {
- prefix = computeUniquePrefix("p", map);
- }
- definition.addNamespace(prefix, namespace);
- }
- }
- }
- }
-
- private String computeUniquePrefix(String base, Map table){
- int i = 0;
- String prefix = base;
- while (true) {
- if (!table.containsKey(prefix)) {
- break;
- }
- else {
- prefix = base + i;
- i++;
- }
- }
- return prefix;
- }
-
- /**
- * Locates a binding given its prefixed name (someNSPrefix:someBindingName).
- *
- * @param bindingName the qname of the desired binding.
- * @return a Binding with the given name, or null if one is not found.
- */
- private Binding getBinding(String bindingName) {
- List allBindings = getAllBindings();
- Iterator bindingIterator = allBindings.iterator();
-
- while (bindingIterator.hasNext()) {
- Binding binding = (Binding)bindingIterator.next();
-
- List prefixedNames = getPrefixedNames(binding);
-
- if (prefixedNames.contains(bindingName)) {
- return binding;
- }
- }
-
- return null;
- }
-
- /**
- * Locates all the bindings available in this definition and all its
- * imported definitions.
- *
- * @return a List with all available bindings.
- */
- public List getAllBindings() {
- List allBindings = new ArrayList();
- List allDefinitions = getAllDefinitions();
-
- Iterator defsIterator = allDefinitions.iterator();
-
- while (defsIterator.hasNext()) {
- Definition definition = (Definition) defsIterator.next();
- Map bindings = definition.getBindings();
-
- // ISSUE A possible problem here if somehow a binding is duplicated in one of the imports?
- // In that case we should iterate over and check them one by one.
-
- allBindings.addAll(bindings.values());
- }
-
- return allBindings;
- }
-
- /**
- * Attempts to locate and add to the list all the definitions imported by the
- * definition passed in. Recursively tries to locate all definitions.
- *
- * @param definition the start Definition. Must not be null.
- * @param list used to collect all the imported definitions. Must not be null.
- */
- private void addDefinition(Definition definition, List list) {
- list.add(definition);
- List imports = definition.getEImports();
- Iterator importsIterator = imports.iterator();
-
- while (importsIterator.hasNext()) {
- Import theImport = (Import)importsIterator.next();
-
- String importLocationURI = theImport.getLocationURI();
- if (importLocationURI != null &&
- // ISSUE This assumption seems a bit weak.
- importLocationURI.endsWith("wsdl")) {
- Definition importedDefinition = theImport.getEDefinition();
-
- if (importedDefinition != null &&
- !list.contains(importedDefinition)) {
- // Recursively try to locate all definitions.
-
- addDefinition(importedDefinition, list);
- }
- }
- }
- }
-
- /**
- * Attempts to locate all definitions imported by the current definition and
- * all their imports in turn.
- *
- * @return a List with all definitions imported by the current definition.
- */
- private List getAllDefinitions()
- {
- List list = new ArrayList();
- addDefinition(definition, list);
- return list;
- }
-
- private List getPrefixedNames(Binding binding) {
- List prefixedNames = new ArrayList();
- String currentBindingName = binding.getQName().getLocalPart();
- String currentNamespace = binding.getQName().getNamespaceURI();
-
- Map namespaceMap = definition.getNamespaces();
- Iterator keys = namespaceMap.keySet().iterator();
- while (keys.hasNext()) {
- Object key = keys.next();
- Object value = namespaceMap.get(key);
-
- if (currentNamespace.equals(value)) {
- // Found a match. Add to our list
- prefixedNames.add(key + ":" + currentBindingName); //$NON-NLS-1$
- }
- }
-
- return prefixedNames;
- }
-
- public Service getService() {
- return service;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionDescriptor.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionDescriptor.java
deleted file mode 100644
index cd88bdf5c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionDescriptor.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.generator.extension;
-
-import org.eclipse.wst.wsdl.internal.generator.ContentGenerator;
-import org.osgi.framework.Bundle;
-
-/*
- * Class which acts as a container to hold information about the extension.
- */
-public class ContentGeneratorExtensionDescriptor {
- protected Bundle bundle;
- protected ContentGenerator contentGenerator;
- protected String namespace;
- protected String name;
- protected String className;
-
- public ContentGeneratorExtensionDescriptor(Bundle bundle, String classString, String namespace, String name) {
- this.bundle = bundle;
- this.namespace = namespace;
- this.name = name;
- this.className = classString;
- }
-
-
- public Object getContentGenerator() {
- try {
- Class theClass = bundle.loadClass(className);
- contentGenerator = (ContentGenerator) theClass.newInstance();
- }
- catch (Exception e) {
- e.printStackTrace();
- }
-
- return contentGenerator;
- }
-
- public String getNamespace() {
- return namespace;
- }
-
- public String getName() {
- return name;
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionFactoryRegistry.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionFactoryRegistry.java
deleted file mode 100644
index dbd9f96f5..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionFactoryRegistry.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.generator.extension;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.wst.wsdl.internal.generator.ContentGenerator;
-
-
-
-public class ContentGeneratorExtensionFactoryRegistry {
- protected Map map;
- protected static ContentGeneratorExtensionFactoryRegistry instance;
-
- public static ContentGeneratorExtensionFactoryRegistry getInstance() {
- if (instance == null) {
- instance = new ContentGeneratorExtensionFactoryRegistry();
-
- // TODO... don't read the registry until an 'get'occurs
- //
- ContentGeneratorExtensionRegistryReader reader = new ContentGeneratorExtensionRegistryReader(instance);
- reader.readRegistry();
- }
-
- return instance;
- }
-
- protected ContentGeneratorExtensionFactoryRegistry() {
- map = new HashMap();
- }
-
- public void put(String namespace, String name, ContentGeneratorExtensionDescriptor descriptor) {
- // Check if this namespace/name key is already in the Map
- List foundKey = findExistingKey(namespace, name);
-
- // Did we find an existing key with the same namespace/key pairing?
- if (foundKey != null) {
- // Simply add the descriptor to the list of descriptors associated
- // with this namespace/name key
- List descriptorList = (List) map.get(foundKey);
- descriptorList.add(descriptor);
- }
- else {
- // We need to create a new entry in the Map for this namespace/name key
- List newKey = new ArrayList(2);
- newKey.add(namespace);
- newKey.add(name);
-
- List newDescriptorList = new ArrayList();
- newDescriptorList.add(descriptor);
-
- map.put(newKey, newDescriptorList);
- }
- }
-
- /*
- * Returns the 'name' attribute for this extension.
- */
- public List getBindingExtensionNames() {
- List list = new ArrayList();
-
- Iterator keyIt = map.keySet().iterator();
- List key = null;
- while (keyIt.hasNext()) {
- key = (List) keyIt.next();
- list.add(key.get(1));
- }
-
- return list;
- }
-
- /*
- * Return the class specified for this extension based on the namespace
- * attribute.
- */
- public ContentGenerator getGeneratorClassFromNamespace(String namespace) {
- ContentGenerator generatorClass = null;
- List key = findExistingKeyFromNamespace(namespace);
-
- if (key != null) {
- List descriptors = (List) map.get(key);
-
- // Grab the first descriptor available
- if (descriptors.size() > 0) {
- ContentGeneratorExtensionDescriptor extensionDescriptor = (ContentGeneratorExtensionDescriptor) descriptors.get(0);
- generatorClass = (ContentGenerator) extensionDescriptor.getContentGenerator();
- }
- }
-
- return generatorClass;
- }
-
- /*
- * Return the class specified for this extension based on the name
- * attribute.
- */
- public ContentGenerator getGeneratorClassFromName(String name) {
- ContentGenerator generatorClass = null;
- List key = findExistingKeyFromName(name);
-
- if (key != null) {
- List descriptors = (List) map.get(key);
-
- // Grab the first descriptor available
- if (descriptors.size() > 0) {
- ContentGeneratorExtensionDescriptor extensionDescriptor = (ContentGeneratorExtensionDescriptor) descriptors.get(0);
- generatorClass = (ContentGenerator) extensionDescriptor.getContentGenerator();
- }
- }
-
- return generatorClass;
- }
-
- // TODO: We need to common the following three methods up.......
- private List findExistingKeyFromNamespace(String namespace) {
- Iterator keyIt = map.keySet().iterator();
- List foundKey = null;
- while (keyIt.hasNext()) {
- foundKey = (List) keyIt.next();
- if (namespace.equals(foundKey.get(0))) {
- break;
- }
- foundKey = null;
- }
-
- return foundKey;
- }
-
- private List findExistingKeyFromName(String name) {
- Iterator keyIt = map.keySet().iterator();
- List foundKey = null;
- while (keyIt.hasNext()) {
- foundKey = (List) keyIt.next();
- if (name.equals(foundKey.get(1))) {
- break;
- }
- foundKey = null;
- }
-
- return foundKey;
- }
-
- private List findExistingKey(String namespace, String name) {
- Iterator keyIt = map.keySet().iterator();
- List foundKey = null;
- while (keyIt.hasNext()) {
- foundKey = (List) keyIt.next();
- if (namespace.equals(foundKey.get(0)) && name.equals(foundKey.get(1))) {
- break;
- }
- foundKey = null;
- }
-
- return foundKey;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionRegistryReader.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionRegistryReader.java
deleted file mode 100644
index 79c448de9..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionRegistryReader.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.generator.extension;
-
-import java.net.URL;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.wsdl.WSDLPlugin;
-import org.osgi.framework.Bundle;
-
-public class ContentGeneratorExtensionRegistryReader {
- protected static final String PLUGIN_ID = WSDLPlugin.getPlugin().getSymbolicName();
- protected static final String EXTENSION_POINT_ID = "contentGenerators";
- protected static final String ELEMENT_NAME = "contentGenerator";
- protected static final String ATT_NAMESPACE = "namespace";
- protected static final String ATT_NAME = "name";
- protected static final String ATT_CLASS = "class";
- protected ContentGeneratorExtensionFactoryRegistry contentGeneratorExtensionFactoryRegistry;
-
- public ContentGeneratorExtensionRegistryReader(ContentGeneratorExtensionFactoryRegistry generatorExtensionFactoryRegistry) {
- this.contentGeneratorExtensionFactoryRegistry = generatorExtensionFactoryRegistry;
- }
-
-
- /**
- * read from plugin registry and parse it.
- */
- public void readRegistry() {
- IExtensionRegistry pluginRegistry = Platform.getExtensionRegistry();
- IExtensionPoint point = pluginRegistry.getExtensionPoint(PLUGIN_ID, EXTENSION_POINT_ID);
- if (point != null) {
- IConfigurationElement[] elements = point.getConfigurationElements();
- for (int i = 0; i < elements.length; i++) {
- readElement(elements[i]);
- }
- }
- }
-
- public String resolve(URL platformURL, String relativePath) throws Exception {
- URL resolvedURL = FileLocator.resolve(platformURL);
- return resolvedURL.toString() + relativePath;
- }
-
- protected void readElement(IConfigurationElement element) {
- if (element.getName().equals(ELEMENT_NAME)) {
- try {
- IConfigurationElement childElement = (IConfigurationElement) element;
- String name = childElement.getAttribute(ATT_NAME);
- String namespace = childElement.getAttribute(ATT_NAMESPACE);
-
- if (namespace != null) {
- Bundle pluginBundle = Platform.getBundle(element.getDeclaringExtension().getContributor().getName());
- String className = childElement.getAttribute(ATT_CLASS);
- ContentGeneratorExtensionDescriptor descriptor = new ContentGeneratorExtensionDescriptor(pluginBundle, className, namespace, name);
- contentGeneratorExtensionFactoryRegistry.put(namespace, name, descriptor);
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingInputImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingInputImpl.java
deleted file mode 100644
index 31ea5225a..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingInputImpl.java
+++ /dev/null
@@ -1,420 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Binding Input</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.BindingInputImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.BindingInputImpl#getEInput <em>EInput</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class BindingInputImpl extends ExtensibleElementImpl implements BindingInput
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEInput() <em>EInput</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEInput()
- * @generated
- * @ordered
- */
- protected Input eInput = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BindingInputImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getBindingInput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.BINDING_INPUT__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Input getEInput()
- {
- if (eInput != null && eInput.eIsProxy())
- {
- Input oldEInput = eInput;
- eInput = (Input)eResolveProxy((InternalEObject)eInput);
- if (eInput != oldEInput)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.BINDING_INPUT__EINPUT, oldEInput, eInput));
- }
- }
- return eInput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Input basicGetEInput()
- {
- return eInput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEInput(Input newEInput)
- {
- Input oldEInput = eInput;
- eInput = newEInput;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.BINDING_INPUT__EINPUT, oldEInput, eInput));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Input getInput()
- {
- return getEInput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setInput(javax.wsdl.Input input)
- {
- setEInput((Input) input);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.BINDING_INPUT__EEXTENSIBILITY_ELEMENTS:
- return ((InternalEList)getEExtensibilityElements()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_INPUT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.BINDING_INPUT__ELEMENT:
- return getElement();
- case WSDLPackage.BINDING_INPUT__EEXTENSIBILITY_ELEMENTS:
- return getEExtensibilityElements();
- case WSDLPackage.BINDING_INPUT__NAME:
- return getName();
- case WSDLPackage.BINDING_INPUT__EINPUT:
- if (resolve) return getEInput();
- return basicGetEInput();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_INPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.BINDING_INPUT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.BINDING_INPUT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- getEExtensibilityElements().addAll((Collection)newValue);
- return;
- case WSDLPackage.BINDING_INPUT__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.BINDING_INPUT__EINPUT:
- setEInput((Input)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_INPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.BINDING_INPUT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.BINDING_INPUT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- return;
- case WSDLPackage.BINDING_INPUT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.BINDING_INPUT__EINPUT:
- setEInput((Input)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_INPUT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.BINDING_INPUT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.BINDING_INPUT__EEXTENSIBILITY_ELEMENTS:
- return eExtensibilityElements != null && !eExtensibilityElements.isEmpty();
- case WSDLPackage.BINDING_INPUT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.BINDING_INPUT__EINPUT:
- return eInput != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconciliation methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- if (changedElement.hasAttribute("name"))
- {
- String name = changedElement.getAttribute("name");
- if (name != null)
- {
- setName(name);
- }
- }
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- super.handleUnreconciledElement(child,remainingModelObjects);
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- getEExtensibilityElements().remove(i.next());
- }
- }
-
- public Collection getModelObjects(Object component)
- {
- BindingInput bindingInput = (BindingInput) component;
- List list = new ArrayList();
- list.addAll(bindingInput.getEExtensibilityElements());
- return list;
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getBindingInput_Name())
- niceSetAttribute(theElement, WSDLConstants.NAME_ATTRIBUTE, getName());
- }
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.INPUT);
- setElement(newElement);
-
- Iterator iterator = getExtensibilityElements().iterator();
- while (iterator.hasNext())
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement) iterator.next();
- Element child = ((ExtensibilityElementImpl) extensibilityElement).createElement();
- newElement.appendChild(child);
- }
-
- return newElement;
- }
-
- // Resolve the reference to Input
- public void reconcileReferences(boolean deep)
- {
- if (element != null)
- {
- BindingOperation bop = (BindingOperation)getContainer();
- Operation op = bop.getEOperation();
- if (op != null)
- {
- setInput(op.getEInput());
- }
- }
- super.reconcileReferences(deep);
- }
-} //BindingInputImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingOutputImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingOutputImpl.java
deleted file mode 100644
index d350d911d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingOutputImpl.java
+++ /dev/null
@@ -1,420 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Binding Output</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.BindingOutputImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.BindingOutputImpl#getEOutput <em>EOutput</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class BindingOutputImpl extends ExtensibleElementImpl implements BindingOutput
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEOutput() <em>EOutput</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEOutput()
- * @generated
- * @ordered
- */
- protected Output eOutput = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BindingOutputImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getBindingOutput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.BINDING_OUTPUT__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Output getEOutput()
- {
- if (eOutput != null && eOutput.eIsProxy())
- {
- Output oldEOutput = eOutput;
- eOutput = (Output)eResolveProxy((InternalEObject)eOutput);
- if (eOutput != oldEOutput)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.BINDING_OUTPUT__EOUTPUT, oldEOutput, eOutput));
- }
- }
- return eOutput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Output basicGetEOutput()
- {
- return eOutput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEOutput(Output newEOutput)
- {
- Output oldEOutput = eOutput;
- eOutput = newEOutput;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.BINDING_OUTPUT__EOUTPUT, oldEOutput, eOutput));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Output getOutput()
- {
- return getEOutput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setOutput(javax.wsdl.Output output)
- {
- setEOutput((Output) output);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.BINDING_OUTPUT__EEXTENSIBILITY_ELEMENTS:
- return ((InternalEList)getEExtensibilityElements()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_OUTPUT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.BINDING_OUTPUT__ELEMENT:
- return getElement();
- case WSDLPackage.BINDING_OUTPUT__EEXTENSIBILITY_ELEMENTS:
- return getEExtensibilityElements();
- case WSDLPackage.BINDING_OUTPUT__NAME:
- return getName();
- case WSDLPackage.BINDING_OUTPUT__EOUTPUT:
- if (resolve) return getEOutput();
- return basicGetEOutput();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_OUTPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.BINDING_OUTPUT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.BINDING_OUTPUT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- getEExtensibilityElements().addAll((Collection)newValue);
- return;
- case WSDLPackage.BINDING_OUTPUT__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.BINDING_OUTPUT__EOUTPUT:
- setEOutput((Output)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_OUTPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.BINDING_OUTPUT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.BINDING_OUTPUT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- return;
- case WSDLPackage.BINDING_OUTPUT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.BINDING_OUTPUT__EOUTPUT:
- setEOutput((Output)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.BINDING_OUTPUT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.BINDING_OUTPUT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.BINDING_OUTPUT__EEXTENSIBILITY_ELEMENTS:
- return eExtensibilityElements != null && !eExtensibilityElements.isEmpty();
- case WSDLPackage.BINDING_OUTPUT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.BINDING_OUTPUT__EOUTPUT:
- return eOutput != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- if (changedElement.hasAttribute("name"))
- {
- String name = changedElement.getAttribute("name");
- if (name != null)
- {
- setName(name);
- }
- }
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- super.handleUnreconciledElement(child,remainingModelObjects);
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- getEExtensibilityElements().remove(i.next());
- }
- }
-
- public Collection getModelObjects(Object component)
- {
- BindingOutput bindingOutput = (BindingOutput) component;
- List list = new ArrayList();
- list.addAll(bindingOutput.getEExtensibilityElements());
- return list;
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getBindingOutput_Name())
- niceSetAttribute(theElement, WSDLConstants.NAME_ATTRIBUTE, getName());
- }
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.OUTPUT);
- setElement(newElement);
-
- Iterator iterator = getExtensibilityElements().iterator();
- while (iterator.hasNext())
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement) iterator.next();
- Element child = ((ExtensibilityElementImpl) extensibilityElement).createElement();
- newElement.appendChild(child);
- }
-
- return newElement;
- }
-
- // Resolve the reference to Output
- public void reconcileReferences(boolean deep)
- {
- if (element != null)
- {
- BindingOperation bop = (BindingOperation)getContainer();
- Operation op = bop.getEOperation();
- if (op != null)
- {
- setOutput(op.getEOutput());
- }
- }
- super.reconcileReferences(deep);
- }
-} //BindingOutputImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/DefinitionImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/DefinitionImpl.java
deleted file mode 100644
index 722a4f2c2..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/DefinitionImpl.java
+++ /dev/null
@@ -1,2381 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.wsdl.BindingFault;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.BindingOutput;
-import javax.wsdl.Fault;
-import javax.wsdl.Input;
-import javax.wsdl.Operation;
-import javax.wsdl.Output;
-import javax.wsdl.Part;
-import javax.wsdl.Port;
-import javax.wsdl.extensions.ExtensionRegistry;
-import javax.xml.namespace.QName;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Namespace;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.WSDLPlugin;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.wst.wsdl.internal.util.WSDLUtil;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-import org.eclipse.xsd.XSDConcreteComponent;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDImport;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.eclipse.xsd.impl.XSDImportImpl;
-import org.eclipse.xsd.impl.XSDSchemaImpl;
-import org.eclipse.xsd.util.XSDConstants;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.events.Event;
-import org.w3c.dom.events.EventListener;
-import org.w3c.dom.events.EventTarget;
-import org.w3c.dom.events.MutationEvent;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Definition</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getTargetNamespace <em>Target Namespace</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getLocation <em>Location</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getQName <em>QName</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getEncoding <em>Encoding</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getEMessages <em>EMessages</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getEPortTypes <em>EPort Types</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getEBindings <em>EBindings</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getEServices <em>EServices</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getENamespaces <em>ENamespaces</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getETypes <em>ETypes</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.DefinitionImpl#getEImports <em>EImports</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DefinitionImpl extends ExtensibleElementImpl implements Definition
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getTargetNamespace() <em>Target Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetNamespace()
- * @generated
- * @ordered
- */
- protected static final String TARGET_NAMESPACE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTargetNamespace() <em>Target Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetNamespace()
- * @generated
- * @ordered
- */
- protected String targetNamespace = TARGET_NAMESPACE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected String location = LOCATION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getQName() <em>QName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getQName()
- * @generated
- * @ordered
- */
- protected static final QName QNAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getQName() <em>QName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getQName()
- * @generated
- * @ordered
- */
- protected QName qName = QNAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncoding()
- * @generated
- * @ordered
- */
- protected static final String ENCODING_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncoding()
- * @generated
- * @ordered
- */
- protected String encoding = ENCODING_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEMessages() <em>EMessages</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEMessages()
- * @generated
- * @ordered
- */
- protected EList eMessages = null;
-
- /**
- * The cached value of the '{@link #getEPortTypes() <em>EPort Types</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEPortTypes()
- * @generated
- * @ordered
- */
- protected EList ePortTypes = null;
-
- /**
- * The cached value of the '{@link #getEBindings() <em>EBindings</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEBindings()
- * @generated
- * @ordered
- */
- protected EList eBindings = null;
-
- /**
- * The cached value of the '{@link #getEServices() <em>EServices</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEServices()
- * @generated
- * @ordered
- */
- protected EList eServices = null;
-
- /**
- * The cached value of the '{@link #getENamespaces() <em>ENamespaces</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getENamespaces()
- * @generated
- * @ordered
- */
- protected EList eNamespaces = null;
-
- /**
- * The cached value of the '{@link #getETypes() <em>ETypes</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getETypes()
- * @generated
- * @ordered
- */
- protected Types eTypes = null;
-
- /**
- * The cached value of the '{@link #getEImports() <em>EImports</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEImports()
- * @generated
- * @ordered
- */
- protected EList eImports = null;
-
- private ExtensionRegistry extensionRegistry;
- private Document document;
- private HashMap namespaces = new HashMap();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DefinitionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getDefinition();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTargetNamespace()
- {
- return targetNamespace;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTargetNamespace(String newTargetNamespace)
- {
- String oldTargetNamespace = targetNamespace;
- targetNamespace = newTargetNamespace;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.DEFINITION__TARGET_NAMESPACE, oldTargetNamespace, targetNamespace));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocation()
- {
- return location;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocation(String newLocation)
- {
- String oldLocation = location;
- location = newLocation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.DEFINITION__LOCATION, oldLocation, location));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QName getQName()
- {
- return qName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setQName(QName newQName)
- {
- QName oldQName = qName;
- qName = newQName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.DEFINITION__QNAME, oldQName, qName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEncoding()
- {
- return encoding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEncoding(String newEncoding)
- {
- String oldEncoding = encoding;
- encoding = newEncoding;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.DEFINITION__ENCODING, oldEncoding, encoding));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEMessages()
- {
- if (eMessages == null)
- {
- eMessages = new EObjectContainmentEList(Message.class, this, WSDLPackage.DEFINITION__EMESSAGES);
- }
- return eMessages;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEPortTypes()
- {
- if (ePortTypes == null)
- {
- ePortTypes = new EObjectContainmentEList(PortType.class, this, WSDLPackage.DEFINITION__EPORT_TYPES);
- }
- return ePortTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEBindings()
- {
- if (eBindings == null)
- {
- eBindings = new EObjectContainmentEList(Binding.class, this, WSDLPackage.DEFINITION__EBINDINGS);
- }
- return eBindings;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEServices()
- {
- if (eServices == null)
- {
- eServices = new EObjectContainmentEList(Service.class, this, WSDLPackage.DEFINITION__ESERVICES);
- }
- return eServices;
- }
-
- /**
- * <!-- begin-user-doc -->
- * @deprecated
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getENamespaces()
- {
- if (eNamespaces == null)
- {
- eNamespaces = new EObjectContainmentEList(Namespace.class, this, WSDLPackage.DEFINITION__ENAMESPACES);
- }
- return eNamespaces;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Types getETypes()
- {
- return eTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetETypes(Types newETypes, NotificationChain msgs)
- {
- Types oldETypes = eTypes;
- eTypes = newETypes;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WSDLPackage.DEFINITION__ETYPES, oldETypes, newETypes);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setETypes(Types newETypes)
- {
- if (newETypes != eTypes)
- {
- NotificationChain msgs = null;
- if (eTypes != null)
- msgs = ((InternalEObject)eTypes).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.DEFINITION__ETYPES, null, msgs);
- if (newETypes != null)
- msgs = ((InternalEObject)newETypes).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.DEFINITION__ETYPES, null, msgs);
- msgs = basicSetETypes(newETypes, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.DEFINITION__ETYPES, newETypes, newETypes));
- }
-
- public void eNotify(Notification msg)
- {
- super.eNotify(msg);
-
- // cs.. if we've added a Types element, and this definition is already attached to a resource
- // we need to set the schemaLocations for any inline schemaLocations.
- // If not yet attached to a resource, the schemaLocation's will be set via WSDLResourceImpl.attached(EObject o)
- //
- if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_ETypes() &&
- msg.getEventType() == Notification.SET)
- {
- if (eResource() instanceof WSDLResourceImpl && getEnclosingDefinition() != null)
- {
- setInlineSchemaLocations(eResource());
- }
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEImports()
- {
- if (eImports == null)
- {
- eImports = new EObjectContainmentEList(Import.class, this, WSDLPackage.DEFINITION__EIMPORTS);
- }
- return eImports;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Add a binding to this WSDL description.
- * @param binding the binding to be added
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addBinding(javax.wsdl.Binding binding)
- {
- getEBindings().add((Binding) binding);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Add an import to this WSDL description.
- * @param importDef the import to be added
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addImport(javax.wsdl.Import importDef)
- {
- getEImports().add((Import) importDef);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Add a message to this WSDL description.
- * @param message the message to be added
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addMessage(javax.wsdl.Message message)
- {
- getEMessages().add((Message)message);
- }
-
- /**
- * <!-- begin-user-doc -->
- * This is a way to add a namespace association to a definition.
- * It is similar to adding a namespace prefix declaration to the
- * top of a &lt;wsdl:definition&gt; element. This has nothing to do
- * with the &lt;wsdl:import&gt; element; there are separate methods for
- * dealing with information described by &lt;wsdl:import&gt; elements.
- * There is a default namespace association (which can be
- * overridden) between the null prefix and
- * http://schemas.xmlsoap.org/wsdl/.
- * @param prefix the prefix to use for this namespace (when
- * rendering this information as XML). Use null or an empty string
- * to describe the default namespace (i.e. xmlns="...").
- * @param namespaceURI the namespace URI to associate the prefix
- * with. If you use null, the namespace association will be removed.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addNamespace(String prefix, String namespaceURI)
- {
- if (prefix == null)
- prefix = "";
-
- if (namespaceURI != null)
- {
- // First, check if there is this namespace already.
- String existingPrefix = getPrefix(namespaceURI);
- if (existingPrefix != null)
- return;
-
- // Make sure the prefix is not already used for a different namespace
- Map namespaces = getNamespaces();
- String existingNamespace = (String) namespaces.get(prefix);
- if (existingNamespace == null)
- {
- namespaces.put(prefix, namespaceURI);
-
- // Support for Namespace
- Namespace ens = WSDLFactory.eINSTANCE.createNamespace();
- ens.setPrefix(prefix);
- ens.setURI(namespaceURI);
- getENamespaces().add(ens);
-
- return;
- }
-
- // The prefix is taken already. Make a unique prefix
- if (prefix.endsWith("1"))
- prefix = prefix.substring(0, prefix.length() - 1);
-
- for (int i = 2;; i++)
- {
- String newPrefix = prefix + i;
- if (!namespaces.containsKey(newPrefix))
- {
- namespaces.put(newPrefix, namespaceURI);
-
- // Support for Namespace
- Namespace ens = WSDLFactory.eINSTANCE.createNamespace();
- ens.setPrefix(prefix);
- ens.setURI(namespaceURI);
- getENamespaces().add(ens);
-
- return;
- }
- }
- } // end if (namespaceURI != null)
- else
- {
- getNamespaces().remove(prefix);
-
- // Support for Namespace
- getENamespaces().remove(prefix);
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * Add a portType to this WSDL description.
- * @param portType the portType to be added
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addPortType(javax.wsdl.PortType portType)
- {
- getEPortTypes().add((PortType)portType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Add a service to this WSDL description.
- * @param service the service to be added
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addService(javax.wsdl.Service service)
- {
- getEServices().add((Service)service);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new binding fault.
- * @return the newly created binding fault
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public BindingFault createBindingFault()
- {
- javax.wsdl.BindingFault bindingFault = WSDLFactoryImpl.eINSTANCE.createBindingFault();
- return bindingFault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new binding input.
- * @return the newly created binding input
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public BindingInput createBindingInput()
- {
- javax.wsdl.BindingInput bindingInput = WSDLFactoryImpl.eINSTANCE.createBindingInput();
- return bindingInput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new binding output.
- * @return the newly created binding output
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public BindingOutput createBindingOutput()
- {
- javax.wsdl.BindingOutput bindingOutput = WSDLFactoryImpl.eINSTANCE.createBindingOutput();
- return bindingOutput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new binding operation.
- * @return the newly created binding operation
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public BindingOperation createBindingOperation()
- {
- javax.wsdl.BindingOperation bindingOperation = WSDLFactoryImpl.eINSTANCE.createBindingOperation();
- return bindingOperation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new binding.
- * @return the newly created binding
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Binding createBinding()
- {
- javax.wsdl.Binding binding = WSDLFactoryImpl.eINSTANCE.createBinding();
- binding.setUndefined(true);
- return binding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new fault.
- * @return the newly created fault
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Fault createFault()
- {
- javax.wsdl.Fault fault = WSDLFactoryImpl.eINSTANCE.createFault();
- return fault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new import.
- * @return the newly created import
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Import createImport()
- {
- javax.wsdl.Import importDef = WSDLFactoryImpl.eINSTANCE.createImport();
- return importDef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new input.
- * @return the newly created input
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Input createInput()
- {
- javax.wsdl.Input input = WSDLFactoryImpl.eINSTANCE.createInput();
- return input;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new message.
- * @return the newly created message
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Message createMessage()
- {
- javax.wsdl.Message message = WSDLFactoryImpl.eINSTANCE.createMessage();
- message.setUndefined(true);
- return message;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new operation.
- * @return the newly created operation
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Operation createOperation()
- {
- javax.wsdl.Operation operation = WSDLFactoryImpl.eINSTANCE.createOperation();
- operation.setUndefined(true);
- return operation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new output.
- * @return the newly created output
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Output createOutput()
- {
- javax.wsdl.Output output = WSDLFactoryImpl.eINSTANCE.createOutput();
- return output;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new part.
- * @return the newly created part
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Part createPart()
- {
- javax.wsdl.Part part = WSDLFactoryImpl.eINSTANCE.createPart();
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new port.
- * @return the newly created port
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Port createPort()
- {
- javax.wsdl.Port port = WSDLFactoryImpl.eINSTANCE.createPort();
- return port;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new port type.
- * @return the newly created port type
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.PortType createPortType()
- {
- javax.wsdl.PortType portType = WSDLFactoryImpl.eINSTANCE.createPortType();
- portType.setUndefined(true);
- return portType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Create a new service.
- * @return the newly created service
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Service createService()
- {
- javax.wsdl.Service service = WSDLFactoryImpl.eINSTANCE.createService();
- return service;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get the specified binding. Also checks imported documents.
- * @param name the name of the desired binding.
- * @return the corresponding binding, or null if there wasn't
- * any matching binding
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Binding getBinding(QName name)
- {
- return (javax.wsdl.Binding) resolveWSDLElement(WSDLConstants.BINDING, name, this);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get all the bindings defined here.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Map getBindings()
- {
- return createMap(WSDLConstants.BINDING, getEBindings());
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get a map of lists containing all the imports defined here.
- * The map's keys are the namespaceURIs, and the map's values
- * are lists. There is one list for each namespaceURI for which
- * imports have been defined.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Map getImports()
- {
- HashMap map = new HashMap();
- for (Iterator i = getEImports().iterator(); i.hasNext();)
- {
- Import theImport = (Import) i.next();
- String key = theImport.getNamespaceURI();
- if (key == null)
- {
- key = "";
- }
-
- List list = null;
- if (map.containsKey(key))
- {
- list = (List)map.get(key);
- list.add(theImport);
- }
- else
- {
- list = new ArrayList();
- list.add(theImport);
- }
- map.put(key,list);
- }
- return map;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get the list of imports for the specified namespaceURI.
- * @param namespaceURI the namespaceURI associated with the
- * desired imports.
- * @return a list of the corresponding imports
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public List getImports(String namespaceURI)
- {
- List list = new ArrayList();
- for (Iterator i = getEImports().iterator(); i.hasNext();)
- {
- Import theImport = (Import) i.next();
- if (WSDLConstants.isMatchingNamespace(namespaceURI, theImport.getNamespaceURI()))
- {
- list.add(theImport);
- }
- }
- return list;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get the specified message. Also checks imported documents.
- * @param name the name of the desired message.
- * @return the corresponding message, or null if there wasn't
- * any matching message
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Message getMessage(QName name)
- {
- return (javax.wsdl.Message) resolveWSDLElement(WSDLConstants.MESSAGE, name, this);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get all the messages defined here.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Map getMessages()
- {
- return createMap(WSDLConstants.MESSAGE, getEMessages());
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get the namespace URI associated with this prefix. Or null if
- * there is no namespace URI associated with this prefix. This is
- * unrelated to the &lt;wsdl:import&gt; element.
- * @see #addNamespace(String, String)
- * @see #getPrefix(String)
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public String getNamespace(String prefix)
- {
- return (String) getNamespaces().get(prefix);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get all namespace associations in this definition. The keys are
- * the prefixes, and the namespace URIs are the values. This is
- * unrelated to the &lt;wsdl:import&gt; element.
- * @see #addNamespace(String, String)
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Map getNamespaces()
- {
- return namespaces;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get the specified portType. Also checks imported documents.
- * @param name the name of the desired portType.
- * @return the corresponding portType, or null if there wasn't
- * any matching portType
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.PortType getPortType(QName name)
- {
- return (javax.wsdl.PortType) resolveWSDLElement(WSDLConstants.PORT_TYPE, name, this);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get all the portTypes defined here.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Map getPortTypes()
- {
- return createMap(WSDLConstants.PORT_TYPE, getEPortTypes());
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get a prefix associated with this namespace URI. Or null if
- * there are no prefixes associated with this namespace URI. This is
- * unrelated to the &lt;wsdl:import&gt; element.
- * @see #addNamespace(String, String)
- * @see #getNamespace(String)
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public String getPrefix(String namespaceURI)
- {
- if (namespaceURI == null)
- return null;
-
- Iterator entryIterator = getNamespaces().entrySet().iterator();
- while (entryIterator.hasNext())
- {
- Map.Entry entry = (Map.Entry) entryIterator.next();
- String prefix = (String) entry.getKey();
- String assocNamespaceURI = (String) entry.getValue();
-
- if (namespaceURI.equals(assocNamespaceURI) && prefix != "") // default namespace
- return prefix;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get the specified service. Also checks imported documents.
- * @param name the name of the desired service.
- * @return the corresponding service, or null if there wasn't
- * any matching service
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Service getService(QName name)
- {
- return (javax.wsdl.Service) resolveWSDLElement(WSDLConstants.SERVICE, name, this);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get all the services defined here.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Map getServices()
- {
- return createMap(WSDLConstants.SERVICE, getEServices());
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get a reference to the ExtensionRegistry for this Definition.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public ExtensionRegistry getExtensionRegistry()
- {
- return extensionRegistry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Set the ExtensionRegistry for this Definition.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setExtensionRegistry(ExtensionRegistry extensionRegistry)
- {
- this.extensionRegistry = extensionRegistry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public String getDocumentBaseURI()
- {
- return getLocation();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setDocumentBaseURI(String documentBase)
- {
- setLocation(documentBase);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Types createTypes()
- {
- javax.wsdl.Types types = WSDLFactoryImpl.eINSTANCE.createTypes();
- return types;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Service removeService(QName name)
- {
- return (javax.wsdl.Service) getServices().remove(name);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Binding removeBinding(QName name)
- {
- return (javax.wsdl.Binding) getBindings().remove(name);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.PortType removePortType(QName name)
- {
- return (javax.wsdl.PortType) getPortTypes().remove(name);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Message removeMessage(QName name)
- {
- return (javax.wsdl.Message) getMessages().remove(name);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Types getTypes()
- {
- return getETypes();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setTypes(javax.wsdl.Types types)
- {
- setETypes((Types) types);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Document getDocument()
- {
- return document;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Sets the owner document.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setDocument(Document document)
- {
- this.document = document;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.DEFINITION__EEXTENSIBILITY_ELEMENTS:
- return ((InternalEList)getEExtensibilityElements()).basicRemove(otherEnd, msgs);
- case WSDLPackage.DEFINITION__EMESSAGES:
- return ((InternalEList)getEMessages()).basicRemove(otherEnd, msgs);
- case WSDLPackage.DEFINITION__EPORT_TYPES:
- return ((InternalEList)getEPortTypes()).basicRemove(otherEnd, msgs);
- case WSDLPackage.DEFINITION__EBINDINGS:
- return ((InternalEList)getEBindings()).basicRemove(otherEnd, msgs);
- case WSDLPackage.DEFINITION__ESERVICES:
- return ((InternalEList)getEServices()).basicRemove(otherEnd, msgs);
- case WSDLPackage.DEFINITION__ENAMESPACES:
- return ((InternalEList)getENamespaces()).basicRemove(otherEnd, msgs);
- case WSDLPackage.DEFINITION__ETYPES:
- return basicSetETypes(null, msgs);
- case WSDLPackage.DEFINITION__EIMPORTS:
- return ((InternalEList)getEImports()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.DEFINITION__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.DEFINITION__ELEMENT:
- return getElement();
- case WSDLPackage.DEFINITION__EEXTENSIBILITY_ELEMENTS:
- return getEExtensibilityElements();
- case WSDLPackage.DEFINITION__TARGET_NAMESPACE:
- return getTargetNamespace();
- case WSDLPackage.DEFINITION__LOCATION:
- return getLocation();
- case WSDLPackage.DEFINITION__QNAME:
- return getQName();
- case WSDLPackage.DEFINITION__ENCODING:
- return getEncoding();
- case WSDLPackage.DEFINITION__EMESSAGES:
- return getEMessages();
- case WSDLPackage.DEFINITION__EPORT_TYPES:
- return getEPortTypes();
- case WSDLPackage.DEFINITION__EBINDINGS:
- return getEBindings();
- case WSDLPackage.DEFINITION__ESERVICES:
- return getEServices();
- case WSDLPackage.DEFINITION__ENAMESPACES:
- return getENamespaces();
- case WSDLPackage.DEFINITION__ETYPES:
- return getETypes();
- case WSDLPackage.DEFINITION__EIMPORTS:
- return getEImports();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.DEFINITION__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.DEFINITION__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.DEFINITION__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- getEExtensibilityElements().addAll((Collection)newValue);
- return;
- case WSDLPackage.DEFINITION__TARGET_NAMESPACE:
- setTargetNamespace((String)newValue);
- return;
- case WSDLPackage.DEFINITION__LOCATION:
- setLocation((String)newValue);
- return;
- case WSDLPackage.DEFINITION__QNAME:
- setQName((QName)newValue);
- return;
- case WSDLPackage.DEFINITION__ENCODING:
- setEncoding((String)newValue);
- return;
- case WSDLPackage.DEFINITION__EMESSAGES:
- getEMessages().clear();
- getEMessages().addAll((Collection)newValue);
- return;
- case WSDLPackage.DEFINITION__EPORT_TYPES:
- getEPortTypes().clear();
- getEPortTypes().addAll((Collection)newValue);
- return;
- case WSDLPackage.DEFINITION__EBINDINGS:
- getEBindings().clear();
- getEBindings().addAll((Collection)newValue);
- return;
- case WSDLPackage.DEFINITION__ESERVICES:
- getEServices().clear();
- getEServices().addAll((Collection)newValue);
- return;
- case WSDLPackage.DEFINITION__ENAMESPACES:
- getENamespaces().clear();
- getENamespaces().addAll((Collection)newValue);
- return;
- case WSDLPackage.DEFINITION__ETYPES:
- setETypes((Types)newValue);
- return;
- case WSDLPackage.DEFINITION__EIMPORTS:
- getEImports().clear();
- getEImports().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.DEFINITION__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.DEFINITION__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.DEFINITION__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- return;
- case WSDLPackage.DEFINITION__TARGET_NAMESPACE:
- setTargetNamespace(TARGET_NAMESPACE_EDEFAULT);
- return;
- case WSDLPackage.DEFINITION__LOCATION:
- setLocation(LOCATION_EDEFAULT);
- return;
- case WSDLPackage.DEFINITION__QNAME:
- setQName(QNAME_EDEFAULT);
- return;
- case WSDLPackage.DEFINITION__ENCODING:
- setEncoding(ENCODING_EDEFAULT);
- return;
- case WSDLPackage.DEFINITION__EMESSAGES:
- getEMessages().clear();
- return;
- case WSDLPackage.DEFINITION__EPORT_TYPES:
- getEPortTypes().clear();
- return;
- case WSDLPackage.DEFINITION__EBINDINGS:
- getEBindings().clear();
- return;
- case WSDLPackage.DEFINITION__ESERVICES:
- getEServices().clear();
- return;
- case WSDLPackage.DEFINITION__ENAMESPACES:
- getENamespaces().clear();
- return;
- case WSDLPackage.DEFINITION__ETYPES:
- setETypes((Types)null);
- return;
- case WSDLPackage.DEFINITION__EIMPORTS:
- getEImports().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.DEFINITION__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.DEFINITION__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.DEFINITION__EEXTENSIBILITY_ELEMENTS:
- return eExtensibilityElements != null && !eExtensibilityElements.isEmpty();
- case WSDLPackage.DEFINITION__TARGET_NAMESPACE:
- return TARGET_NAMESPACE_EDEFAULT == null ? targetNamespace != null : !TARGET_NAMESPACE_EDEFAULT.equals(targetNamespace);
- case WSDLPackage.DEFINITION__LOCATION:
- return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
- case WSDLPackage.DEFINITION__QNAME:
- return QNAME_EDEFAULT == null ? qName != null : !QNAME_EDEFAULT.equals(qName);
- case WSDLPackage.DEFINITION__ENCODING:
- return ENCODING_EDEFAULT == null ? encoding != null : !ENCODING_EDEFAULT.equals(encoding);
- case WSDLPackage.DEFINITION__EMESSAGES:
- return eMessages != null && !eMessages.isEmpty();
- case WSDLPackage.DEFINITION__EPORT_TYPES:
- return ePortTypes != null && !ePortTypes.isEmpty();
- case WSDLPackage.DEFINITION__EBINDINGS:
- return eBindings != null && !eBindings.isEmpty();
- case WSDLPackage.DEFINITION__ESERVICES:
- return eServices != null && !eServices.isEmpty();
- case WSDLPackage.DEFINITION__ENAMESPACES:
- return eNamespaces != null && !eNamespaces.isEmpty();
- case WSDLPackage.DEFINITION__ETYPES:
- return eTypes != null;
- case WSDLPackage.DEFINITION__EIMPORTS:
- return eImports != null && !eImports.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (targetNamespace: ");
- result.append(targetNamespace);
- result.append(", location: ");
- result.append(location);
- result.append(", qName: ");
- result.append(qName);
- result.append(", encoding: ");
- result.append(encoding);
- result.append(')');
- return result.toString();
- }
-
- //
- // Hand-coded methods
- //
-
- protected static ResourceSet globalResourceSet;
-
- public static synchronized ResourceSet getGlobalResourceSet()
- {
- if (globalResourceSet == null)
- {
- globalResourceSet = createResourceSet();
- //String baseURL = WSDLPlugin.INSTANCE.getBaseURL().toString();
- //System.out.println("Base URL is: " + baseURL);
- }
-
- return globalResourceSet;
- }
-
- public static ResourceSet createResourceSet()
- {
- ResourceSet result = new ResourceSetImpl();
- result.getResourceFactoryRegistry().getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
- return result;
- }
-
- public static Definition createDefinition(Node node)
- {
- return createDefinition(node, null);
- }
-
- public static Definition createDefinition(Node node, String location)
- {
- return createDefinition(node,location,true);
- }
-
- public static Definition createDefinition(Node node, String location, boolean useExtensionFactories)
- {
- Definition definition = WSDLFactory.eINSTANCE.createDefinition();
- ((DefinitionImpl)definition).setUseExtensionFactories(useExtensionFactories);
- definition.setElement((Element) node);
- definition.setDocumentBaseURI(location);
- return definition;
- }
-
- private WSDLElement resolveWSDLElement(int type, List list, QName qname)
- {
- WSDLElement result = null;
- if (qname != null)
- {
- for (Iterator i = list.iterator(); i.hasNext();)
- {
- WSDLElement wsdlElement = (WSDLElement) i.next();
- QName theQName = getQNameForWSDLElement(type, wsdlElement);
- if (qname.equals(theQName))
- {
- result = wsdlElement;
- break;
- }
- }
- }
- return result;
- }
-
- private HashMap createMap(int type, List list)
- {
- HashMap map = new HashMap();
- for (Iterator i = list.iterator(); i.hasNext();)
- {
- WSDLElement wsdlElement = (WSDLElement) i.next();
- QName theQName = getQNameForWSDLElement(type, wsdlElement);
- if (theQName != null)
- {
- map.put(theQName, wsdlElement);
- }
- }
- return map;
- }
-
- private QName getQNameForWSDLElement(int type, WSDLElement wsdlElement)
- {
- QName result = null;
- switch (type)
- {
- case WSDLConstants.MESSAGE :
- result = ((Message) wsdlElement).getQName();
- break;
- case WSDLConstants.PORT_TYPE :
- result = ((PortType) wsdlElement).getQName();
- break;
- case WSDLConstants.BINDING :
- result = ((Binding) wsdlElement).getQName();
- break;
- case WSDLConstants.SERVICE :
- result = ((Service) wsdlElement).getQName();
- break;
- }
- return result;
- }
-
- /**
- * Resolves the element described by type and qname in the context of the
- * given definition. The definition's imported definitions are checked as well.
- *
- * @param type the element type.
- * @param qname the element's QName. Must not be null.
- * @param definition the context definition. Must not be null.
- * @return the resolved WSDLElement or null if one cannot be found.
- */
- private static WSDLElement resolveWSDLElement(int type, QName qname, DefinitionImpl definition)
- {
- if (qname == null || qname.getNamespaceURI() == null)
- {
- return null;
- }
-
- List definitions = new ArrayList();
- definitions.add(definition);
- WSDLElement result = resolveWSDLElement(type, qname, definitions, new ArrayList());
-
- return result;
- }
-
- /**
- * Resolves the element described by type and qname in the context of the
- * given definitions. The definitions imported definitions are checked as well.
- *
- * IMPORTANT! This method is recursive. It checks the definitions and all their
- * imported definitions. It also is coded such that it avoids a cyclic import
- * should one be encountered.
- *
- * @param type the element type.
- * @param qname the element's qName.
- * @param definitions the context definitions
- * @param visitedDefinitions a list with the definitions already visited.
- * @return the resolved WSDLElement or null if one cannot be found.
- */
- private static WSDLElement resolveWSDLElement(int type, QName qname, List definitions, List visitedDefinitions)
- {
- WSDLElement result = null;
-
- if (definitions.isEmpty())
- {
- return result;
- }
-
- // In order to preserve the old behaviour which used to check the definition
- // and all first level imports, check the entire list of definitions passed
- // in first.
-
- Iterator definitionsIterator = definitions.iterator();
-
- while (definitionsIterator.hasNext())
- {
- DefinitionImpl definition = (DefinitionImpl) definitionsIterator.next();
-
- result = definition.resolveWSDLElement(type, qname);
-
- if (result != null)
- {
- return result;
- }
- }
-
- // Re-iterate over the definitions and recurse into their imports.
-
- definitionsIterator = definitions.iterator();
-
- while (definitionsIterator.hasNext())
- {
- DefinitionImpl definition = (DefinitionImpl) definitionsIterator.next();
-
- if (visitedDefinitions.contains(definition))
- {
- // This might happen if we have a case of cyclic imports. Since we
- // already looked in it, we can and should skip it.
-
- continue;
- }
-
- visitedDefinitions.add(definition);
-
- List importedDefinitions = definition.getImportedDefinitions(qname.getNamespaceURI());
-
- result = resolveWSDLElement(type, qname, importedDefinitions, visitedDefinitions);
-
- if (result != null)
- {
- break;
- }
- }
-
- return result;
- }
-
- private WSDLElement resolveWSDLElement(int type, QName qname)
- {
- WSDLElement result = null;
- if (qname.getNamespaceURI() != null)
- {
- switch (type)
- {
- case WSDLConstants.MESSAGE:
- result = resolveWSDLElement(type, getEMessages(), qname);
- break;
- case WSDLConstants.PORT_TYPE:
- result = resolveWSDLElement(type, getEPortTypes(), qname);
- break;
- case WSDLConstants.BINDING:
- result = resolveWSDLElement(type, getEBindings(), qname);
- break;
- case WSDLConstants.SERVICE:
- result = resolveWSDLElement(type, getEServices(), qname);
- break;
- }
- }
- return result;
- }
-
- //
- // Reconciliation methods
- //
-
- public void setElement(Element element)
- {
- Element oldElement = getElement();
- if (oldElement instanceof EventTarget)
- {
- EventTarget oldEventTarget = ((EventTarget)oldElement);
- oldEventTarget.removeEventListener("DOMNodeInserted", getEventListener(), true);
- oldEventTarget.removeEventListener("DOMNodeRemoved", getEventListener(), true);
- oldEventTarget.removeEventListener("DOMAttrModified", getEventListener(), true);
- }
- super.setElement(element);
- if (element instanceof EventTarget)
- {
- EventTarget eventTarget = ((EventTarget)element);
- eventTarget.addEventListener("DOMNodeInserted", getEventListener(), true);
- eventTarget.addEventListener("DOMNodeRemoved", getEventListener(), true);
- eventTarget.addEventListener("DOMAttrModified", getEventListener(), true);
- }
- if (element != null)
- {
- document = element.getOwnerDocument();
- }
- }
-
- protected void reconcileAttributes(Element changedElement)
- {
- super.reconcileAttributes(changedElement);
-
- if (changedElement == getElement())
- {
- if (changedElement.hasAttribute("targetNamespace"))
- setTargetNamespace(changedElement.getAttribute("targetNamespace"));
- if (changedElement.hasAttribute("name"))
- setQName(new QName(WSDLConstants.WSDL_NAMESPACE_URI, changedElement.getAttribute("name")));
- getENamespaces().clear();
- getNamespaces().clear();
- //getNamespaces().put("", null);
-
- NamedNodeMap map = changedElement.getAttributes();
- int mapLength = map.getLength();
- for (int i = 0; i < mapLength; i++)
- {
- Attr attr = (Attr) map.item(i);
- String nsPrefix = null;
- if ("xmlns".equals(attr.getPrefix()))
- {
- nsPrefix = attr.getLocalName();
- }
- else if ("xmlns".equals(attr.getNodeName()))
- {
- nsPrefix = "";
- }
-
- if (nsPrefix != null)
- {
- getNamespaces().put(nsPrefix, attr.getValue());
- }
- }
- }
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- switch (WSDLUtil.getInstance().getWSDLType(child))
- {
- case WSDLConstants.BINDING :
- {
- Binding binding = WSDLFactory.eINSTANCE.createBinding();
- binding.setEnclosingDefinition(this);
- binding.setElement(child);
- addBinding(binding);
- break;
- }
- case WSDLConstants.DOCUMENTATION :
- {
- // CS: we need to figure out how to unset this element when its removed
- //definition.setDocumentationElement(child);
- break;
- }
- case WSDLConstants.IMPORT :
- {
- Import i = WSDLFactory.eINSTANCE.createImport();
- i.setEnclosingDefinition(this);
- i.setElement(child);
- addImport(i);
- break;
- }
- case WSDLConstants.MESSAGE :
- {
- Message message = WSDLFactory.eINSTANCE.createMessage();
- message.setEnclosingDefinition(this);
- message.setElement(child);
- addMessage(message);
- break;
- }
- case WSDLConstants.PORT_TYPE :
- {
- PortType portType = WSDLFactory.eINSTANCE.createPortType();
- portType.setEnclosingDefinition(this);
- portType.setElement(child);
- addPortType(portType);
- break;
- }
- case WSDLConstants.SERVICE :
- {
- Service service = WSDLFactoryImpl.eINSTANCE.createService();
- service.setEnclosingDefinition(this);
- service.setElement(child);
- addService(service);
- break;
- }
- case WSDLConstants.TYPES :
- {
- if (getETypes() == null)
- {
- Types types = WSDLFactoryImpl.eINSTANCE.createTypes();
- types.setEnclosingDefinition(this);
- types.setElement(child);
- setETypes(types);
- }
- break;
- }
- default :
- {
- ExtensibilityElement extensibilityElement = getUseExtensionFactories() ?
- ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createExtensibilityElement(getNamespace(child),getLocalName(child)) :
- ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createUnknownExtensibilityElement();
-
- extensibilityElement.setEnclosingDefinition(this);
- extensibilityElement.setElement(child);
- getEExtensibilityElements().add(extensibilityElement);
- break;
- }
- }
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- remove(this, i.next());
- }
- reconcileReferences(true);
- }
-
- protected void remove(Object component, Object modelObject)
- {
- if (modelObject instanceof Types)
- {
- Definition definition = (Definition) component;
- if (definition.getETypes() == modelObject)
- {
- definition.setETypes(null);
- }
- }
- else
- {
- List list = getList(component, modelObject);
- if (list != null)
- {
- list.remove(modelObject);
- }
- }
- }
-
- private List getList(Object component, Object modelObject)
- {
- List result = null;
- Definition definition = (Definition) component;
-
- // todo... use WSDLSwitch
- //
- if (modelObject instanceof Binding)
- {
- result = definition.getEBindings();
- }
- else if (modelObject instanceof Import)
- {
- result = definition.getEImports();
- }
- else if (modelObject instanceof Message)
- {
- result = definition.getEMessages();
- }
- else if (modelObject instanceof PortType)
- {
- result = definition.getEPortTypes();
- }
- else if (modelObject instanceof Service)
- {
- result = definition.getEServices();
- }
- else if (modelObject instanceof ExtensibilityElement)
- {
- result = definition.getEExtensibilityElements();
- }
- return result;
- }
-
- public Collection getModelObjects(Object component)
- {
- List list = new ArrayList();
- Definition definition = (Definition) component;
- list.addAll(definition.getEImports());
- list.add(definition.getETypes());
- list.addAll(definition.getEMessages());
- list.addAll(definition.getEPortTypes());
- list.addAll(definition.getEBindings());
- list.addAll(definition.getEServices());
- list.addAll(definition.getEExtensibilityElements());
- return list;
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- public Document updateDocument()
- {
- document = createDocument();
- return document;
- }
-
- private Document createDocument()
- {
- try
- {
- DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
- documentBuilderFactory.setNamespaceAware(true);
- documentBuilderFactory.setValidating(false);
- DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
- return documentBuilder.newDocument();
- }
- catch (ParserConfigurationException exception)
- {
- WSDLPlugin.INSTANCE.log(exception);
- return null;
- }
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.DEFINITION);
- setElement(newElement);
- addChildElements(newElement, getEExtensibilityElements());
-
- addChildElements(newElement, getEImports());
-
- Types types = getETypes();
- if (types != null)
- {
- Element child = ((TypesImpl) types).createElement();
- newElement.appendChild(child);
- }
-
- addChildElements(newElement, getEMessages());
- addChildElements(newElement, getEPortTypes());
- addChildElements(newElement, getEBindings());
- addChildElements(newElement, getEServices());
-
- return newElement;
- }
-
- protected void addChildElements(Element parent, List c)
- {
- for (Iterator iterator = c.iterator(); iterator.hasNext();)
- {
- WSDLElementImpl wsdlElement = (WSDLElementImpl) iterator.next();
- Element child = wsdlElement.createElement();
- parent.appendChild(child);
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- // Add namespace prefix info
- // TBD - Need to revisit.
- Element theElement = getElement();
- if (eReference == null && theElement != null)
- // We are updating the Definition element.
- {
- Iterator iterator = getNamespaces().entrySet().iterator();
- String prefix = null;
- String uri = null;
- while (iterator.hasNext())
- {
- Map.Entry entry = (Map.Entry) iterator.next();
- prefix = (String) entry.getKey();
- uri = (String) entry.getValue();
- if (prefix != "")
- theElement.setAttributeNS(XSDConstants.XMLNS_URI_2000, "xmlns:" + prefix, uri);
- else if (uri != null)
- // Handle default namespace, e.g. xmlns="http://schemas.xmlsoap.org/wsdl/"
- theElement.setAttributeNS(XSDConstants.XMLNS_URI_2000, "xmlns", uri);
- }
- }
- }
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- //if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getDefinition_Encoding())
- // niceSetAttribute(theElement, WSDLConstants.ENCODING_ATTRIBUTE, getEncoding());
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getDefinition_QName())
- if (getQName() != null)
- niceSetAttribute(theElement, WSDLConstants.NAME_ATTRIBUTE, getQName().getLocalPart());
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getDefinition_TargetNamespace())
- if (getTargetNamespace() != null)
- niceSetAttribute(theElement, WSDLConstants.TARGETNAMESPACE_ATTRIBUTE, getTargetNamespace());
- }
- }
-
- private List getImportedDefinitions(String namespace)
- {
- List list = new ArrayList();
-
- for (Iterator i = getImports(namespace).iterator(); i.hasNext();)
- {
- Import theImport = (Import) i.next();
- ((ImportImpl) theImport).importDefinitionOrSchema();
- Definition importedDefinition = theImport.getEDefinition();
- if (importedDefinition != null && WSDLConstants.isMatchingNamespace(namespace, importedDefinition.getTargetNamespace()))
- {
- list.add(importedDefinition);
- }
- }
-
- return list;
- }
-
- public XSDElementDeclaration resolveElementDeclarationURI(String uri)
- {
- XSDElementDeclaration result = null;
- int index = uri.lastIndexOf("#");
- if (index != -1)
- {
- result = resolveElementDeclaration(uri.substring(0, index), uri.substring(index + 1));
- }
- return result;
- }
-
- private boolean isComponentDefined(XSDConcreteComponent component)
- {
- // note the getContainer() test to eliminate 'synthetic' types
- // that are created by the XMLSchema model when resolution fails
- return component != null && component.getContainer() != null;
- }
-
- public XSDElementDeclaration resolveElementDeclaration(String namespace, String localName)
- {
- XSDElementDeclaration result = null;
- for (Iterator i = resolveSchema(namespace).iterator(); i.hasNext();)
- {
- XSDSchema schema = (XSDSchema) i.next();
- result = schema.resolveElementDeclaration(namespace, localName);
- if (isComponentDefined(result))
- return result;
- }
-
- // Could not resolve. Try against all <import>ed and inlined schemas.
- for (Iterator i = getImportedOrInlinedSchemas().iterator(); i.hasNext();)
- {
- XSDSchema schema = (XSDSchema)i.next();
- result = schema.resolveElementDeclaration(namespace, localName);
- if (isComponentDefined(result))
- return result;
- }
-
- return result;
- }
-
- public XSDTypeDefinition resolveTypeDefinitionURI(String uri)
- {
- XSDTypeDefinition result = null;
- int index = uri.lastIndexOf("#");
- if (index != -1)
- {
- result = resolveTypeDefinition(uri.substring(0, index), uri.substring(index + 1));
- }
- return result;
- }
-
- public XSDTypeDefinition resolveTypeDefinition(String namespace, String localName)
- {
- XSDTypeDefinition result = null;
- for (Iterator i = resolveSchema(namespace).iterator(); i.hasNext();)
- {
- XSDSchema schema = (XSDSchema)i.next();
- result = schema.resolveTypeDefinition(namespace, localName);
- if (isComponentDefined(result))
- return result;
- }
-
- // Could not resolve. Try against all <import>ed and inlined schemas.
- for (Iterator i = getImportedOrInlinedSchemas().iterator(); i.hasNext();)
- {
- XSDSchema schema = (XSDSchema)i.next();
- result = schema.resolveTypeDefinition(namespace, localName);
- if (isComponentDefined(result))
- return result;
- }
-
- return result; // Failed to resolve.
- }
-
- /**
- * This returns set of schemas with the given namespace as it's target namespace.
- */
- public Collection resolveSchema(String namespace)
- {
- if ("".equals(namespace))
- {
- namespace = null;
- }
-
- if (XSDConstants.isSchemaForSchemaNamespace(namespace))
- {
- return Collections.singleton(XSDSchemaImpl.getSchemaForSchema(namespace));
- }
- else if (XSDConstants.isSchemaInstanceNamespace(namespace))
- {
- return Collections.singleton(XSDSchemaImpl.getSchemaInstance(namespace));
- }
- else
- {
- return getImportedOrInlinedSchemas(namespace);
- }
- }
-
- protected List getImportedOrInlinedSchemas(String namespace)
- {
- if (namespace == null)
- {
- namespace = "";
- }
-
- List list = new ArrayList();
- for (Iterator i = getEImports().iterator(); i.hasNext();)
- {
- Import theImport = (Import) i.next();
- if (WSDLConstants.isMatchingNamespace(theImport.getNamespaceURI(), namespace))
- {
- ((ImportImpl) theImport).importDefinitionOrSchema();
- XSDSchema schema = theImport.getESchema();
- if (schema != null && WSDLConstants.isMatchingNamespace(schema.getTargetNamespace(), namespace))
- {
- list.add(schema);
- }
- }
- }
- if (getETypes() != null)
- {
- for (Iterator i = getETypes().getSchemas().iterator(); i.hasNext();)
- {
- XSDSchema schema = (XSDSchema) i.next();
- String targetNamespace = schema.getTargetNamespace();
- if (namespace.equals(targetNamespace))
- {
- list.add(schema);
- }
-
- for (Iterator j = schema.getContents().iterator(); j.hasNext(); )
- {
- Object component = j.next();
- if (component instanceof XSDImport)
- {
- XSDImport theImport = (XSDImport)component;
- if (namespace.equals(theImport.getNamespace()))
- {
- ((XSDImportImpl)theImport).importSchema();
- XSDSchema importedSchema = theImport.getResolvedSchema();
- if (importedSchema != null)
- {
- list.add(importedSchema);
- }
- }
- }
- }
-
- }
- }
- return list;
- }
-
- private List getImportedOrInlinedSchemas()
- {
- List list = new ArrayList();
- for (Iterator i = getEImports().iterator(); i.hasNext();)
- {
- Import theImport = (Import) i.next();
- ((ImportImpl) theImport).importDefinitionOrSchema();
- XSDSchema schema = theImport.getESchema();
- if (schema != null)
- list.add(schema);
- }
-
- if (getETypes() != null)
- {
- list.addAll(getETypes().getSchemas());
- }
- return list;
- }
-
- protected EventListener eventListener;
- protected Node deletionNode;
-
- public Node getDeletionNode()
- {
- return deletionNode;
- }
-
- protected EventListener getEventListener()
- {
- if (eventListener == null)
- {
- eventListener =
- new EventListener()
- {
- public void handleEvent(Event event)
- {
- if (event instanceof MutationEvent)
- {
- MutationEvent mutationEvent = (MutationEvent)event;
- if (mutationEvent.getTarget() instanceof Node)
- {
- Node node = (Node)mutationEvent.getTarget();
- while (node.getNodeType() != Node.ELEMENT_NODE)
- {
- node = node.getParentNode();
- }
- if (mutationEvent.getAttrChange() == 0)
- {
- WSDLElementImpl listener = (WSDLElementImpl)getCorrespondingComponent(node.getParentNode());
- if (listener != null)
- {
- if (event.getType().equals("DOMNodeRemoved"))
- {
- deletionNode = (Node)event.getTarget();
- }
- listener.elementContentsChanged((Element)node.getParentNode());
- deletionNode = null;
- }
- }
- else
- {
- WSDLElementImpl listener = (WSDLElementImpl)getCorrespondingComponent(node);
- if (listener != null)
- {
- listener.elementAttributesChanged((Element)node);
- }
- }
- }
- }
- }
- };
- }
- return eventListener;
- }
-
- public WSDLElement getCorrespondingComponent(Node node)
- {
- // We consider all parents so that they can handle other contained nodes that otherwise don't correspond to a component.
- //
- List parents = new ArrayList();
-
- if (node.getNodeType() == Node.ATTRIBUTE_NODE)
- {
- node = ((Attr)node).getOwnerElement();
- }
- else
- {
- // Skip ahead to an element.
- //
- for (Node scanNode = node; scanNode != null; scanNode = scanNode.getNextSibling())
- {
- if (scanNode.getNodeType() == Node.ELEMENT_NODE)
- {
- node = scanNode;
- break;
- }
- }
-
- // Skip back to an element.
- //
- for (Node scanNode = node; scanNode != null; scanNode = scanNode.getPreviousSibling())
- {
- if (scanNode.getNodeType() == Node.ELEMENT_NODE)
- {
- node = scanNode;
- break;
- }
- }
- }
-
- // Navigate out through the elements.
- //
- for (Node parent = node; parent != null; parent = parent.getParentNode())
- {
- if (parent.getNodeType() == Node.ELEMENT_NODE)
- {
- parents.add(parent);
- }
- }
-
- WSDLElement bestWSDLElement = getBestWSDLElement(parents);
- return bestWSDLElement;
- }
-
- //
- //
- //
- private boolean useExtensionFactories = true;
-
- public void setUseExtensionFactories(boolean value)
- {
- useExtensionFactories = value;
- }
-
- public boolean getUseExtensionFactories()
- {
- return useExtensionFactories;
- }
-
- // See Bug 5366
- public void removeAll()
- {
- try
- {
- isReconciling = true;
- document = null;
- element = null;
- getEServices().clear();
- getEBindings().clear();
- getEPortTypes().clear();
- getEMessages().clear();
- setETypes(null);
- getEImports().clear();
- getEExtensibilityElements().clear();
- }
- catch (Exception e)
- {
-
- }
- finally
- {
- isReconciling = false;
- }
- }
-
- public void setInlineSchemaLocations(Resource resource)
- {
- // Initialize the inline schemas location
- Types types = this.getETypes();
- if (types != null)
- {
- for (Iterator j = types.getEExtensibilityElements().iterator(); j.hasNext();)
- {
- XSDSchemaExtensibilityElement el = (XSDSchemaExtensibilityElement) j.next();
- XSDSchema schema = el.getSchema();
- if (schema != null)
- {
- // We need this try-catch block in case we encounter an exception while attempting
- // to resolve the schema. In the case of the WSDL Editor, we get a
- // 'cannot create part exception'......See eclipse bugzilla bug 89855
- try
- {
- schema.setSchemaLocation(resource.getURI().toString());
- }
- catch (Exception e) {
-
- }
- }
- }
- }
- }
-
-} //DefinitionImpl \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibilityElementImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibilityElementImpl.java
deleted file mode 100644
index bb842472b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibilityElementImpl.java
+++ /dev/null
@@ -1,409 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.beans.BeanInfo;
-import java.beans.IntrospectionException;
-import java.beans.Introspector;
-import java.beans.PropertyDescriptor;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Extensibility Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.ExtensibilityElementImpl#isRequired <em>Required</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.ExtensibilityElementImpl#getElementType <em>Element Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ExtensibilityElementImpl extends WSDLElementImpl implements ExtensibilityElement
-{
- /**
- * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isRequired()
- * @generated
- * @ordered
- */
- protected static final boolean REQUIRED_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isRequired()
- * @generated
- * @ordered
- */
- protected boolean required = REQUIRED_EDEFAULT;
-
- /**
- * The default value of the '{@link #getElementType() <em>Element Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementType()
- * @generated
- * @ordered
- */
- protected static final QName ELEMENT_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getElementType() <em>Element Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementType()
- * @generated
- * @ordered
- */
- protected QName elementType = ELEMENT_TYPE_EDEFAULT;
-
- private HashMap beanPropertyDescriptors;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExtensibilityElementImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getExtensibilityElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isRequired()
- {
- return required;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRequired(boolean newRequired)
- {
- boolean oldRequired = required;
- required = newRequired;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED, oldRequired, required));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(eClass().getEPackage().getNsURI(), eClass().getName());
-
- return elementType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElementType(QName newElementType)
- {
- QName oldElementType = elementType;
- elementType = newElementType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE, oldElementType, elementType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT:
- return getElement();
- case WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- return getElementType();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (required: ");
- result.append(required);
- result.append(", elementType: ");
- result.append(elementType);
- result.append(')');
- return result.toString();
- }
-
- /**
- * @see javax.wsdl.extensions.ExtensibilityElement#getRequired()
- */
- public Boolean getRequired()
- {
- return new Boolean(isRequired());
- }
-
- /**
- * @see javax.wsdl.extensions.ExtensibilityElement#setRequired(Boolean)
- */
- public void setRequired(Boolean required)
- {
- setRequired(required.booleanValue());
- }
-
- /**
- * Returns the property descriptors for a given class.
- */
- public java.util.Map getPropertyDescriptors(java.lang.Class clazz)
- {
- // Lookup properties cache
- Map properties = null;
- if (beanPropertyDescriptors == null)
- beanPropertyDescriptors = new HashMap();
- else
- properties = (Map) beanPropertyDescriptors.get(clazz);
-
- if (properties == null)
- {
- // Introspect the bean
- ArrayList binfos = new ArrayList();
- try
- {
- BeanInfo binfo = Introspector.getBeanInfo(clazz);
- if (binfo != null)
- {
- binfos.add(binfo);
- BeanInfo[] abinfo = binfo.getAdditionalBeanInfo();
- if (abinfo != null)
- {
- for (int b = 0; b < abinfo.length; b++)
- binfos.add(abinfo[b]);
- }
- }
- }
- catch (IntrospectionException e)
- {
- // TBD - handle exception
- }
-
- properties = new HashMap();
- for (Iterator b = binfos.iterator(); b.hasNext();)
- {
- BeanInfo binfo = (BeanInfo) b.next();
- PropertyDescriptor[] pdesc = binfo.getPropertyDescriptors();
- if (pdesc == null)
- continue;
- for (int p = 0; p < pdesc.length; p++)
- properties.put(pdesc[p].getName(), pdesc[p]);
- }
- beanPropertyDescriptors.put(clazz, properties);
- }
- return properties;
- }
-
- //
- // Reconcile methods
- //
-
- public void setElement(Element element)
- {
- if (element == null && !isReconciling)
- {
- //System.out.println("ExtensibilityElement.setElement(): Preserving old element");
- }
- else
- {
- setElementGen(element);
- }
- }
-
- public void reconcileAttributes(Element changedElement)
- {
- super.reconcileAttributes(changedElement);
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- super.handleUnreconciledElement(child,remainingModelObjects);
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- super.handleReconciliation(remainingModelObjects);
- }
-
- //
- // For reconciliation: EMF -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- }
-
- public Element createElement()
- {
- Definition definition = getEnclosingDefinition();
- if (definition == null)
- return null;
-
- Document document = definition.getDocument();
- if (document == null)
- document = ((DefinitionImpl) definition).updateDocument();
-
- Element newElement = null;
- if (element != null) // This is an old element.
- {
- newElement = (Element) document.importNode(element, true);
- element = newElement;
- }
- else
- {
- String namespace = getElementType().getNamespaceURI();
- String qualifier = definition.getPrefix(namespace);
- newElement = document.createElementNS(namespace, (qualifier == null ? "" : qualifier + ":") + getElementType().getLocalPart());
- element = newElement;
- }
-
- return newElement;
- }
-} //ExtensibilityElementImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibleElementImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibleElementImpl.java
deleted file mode 100644
index d3ce61db3..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibleElementImpl.java
+++ /dev/null
@@ -1,238 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Extensible Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.ExtensibleElementImpl#getEExtensibilityElements <em>EExtensibility Elements</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class ExtensibleElementImpl extends WSDLElementImpl implements ExtensibleElement
-{
- /**
- * The cached value of the '{@link #getEExtensibilityElements() <em>EExtensibility Elements</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEExtensibilityElements()
- * @generated
- * @ordered
- */
- protected EList eExtensibilityElements = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExtensibleElementImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getExtensibleElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEExtensibilityElements()
- {
- if (eExtensibilityElements == null)
- {
- eExtensibilityElements = new EObjectContainmentEList(ExtensibilityElement.class, this, WSDLPackage.EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS);
- }
- return eExtensibilityElements;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public List getExtensibilityElements()
- {
- return getEExtensibilityElements();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
- {
- getExtensibilityElements().add(extElement);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS:
- return ((InternalEList)getEExtensibilityElements()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.EXTENSIBLE_ELEMENT__ELEMENT:
- return getElement();
- case WSDLPackage.EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS:
- return getEExtensibilityElements();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.EXTENSIBLE_ELEMENT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- getEExtensibilityElements().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.EXTENSIBLE_ELEMENT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.EXTENSIBLE_ELEMENT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.EXTENSIBLE_ELEMENT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS:
- return eExtensibilityElements != null && !eExtensibilityElements.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- //
- //
- //
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- if (!WSDLConstants.isMatchingNamespace(child.getNamespaceURI(), WSDLConstants.WSDL_NAMESPACE_URI))
- {
- ExtensibilityElement extensibilityElement = useExtensionFactories() ?
- ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createExtensibilityElement(getNamespace(child),getLocalName(child)) :
- ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createUnknownExtensibilityElement();
-
- extensibilityElement.setEnclosingDefinition(getEnclosingDefinition());
- extensibilityElement.setElement(child);
- getEExtensibilityElements().add(extensibilityElement);
- }
- }
-
- private boolean useExtensionFactories()
- {
- // Use extension factories by default.
- return getEnclosingDefinition() == null ?
- true :
- ((DefinitionImpl)getEnclosingDefinition()).getUseExtensionFactories();
- }
-
-} //ExtensibleElementImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/FaultImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/FaultImpl.java
deleted file mode 100644
index 3fb46044c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/FaultImpl.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Fault</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class FaultImpl extends MessageReferenceImpl implements Fault
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected FaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getFault();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Message getMessage()
- {
- return getEMessage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setMessage(javax.wsdl.Message message)
- {
- setEMessage((Message) message);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.FAULT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.FAULT__ELEMENT:
- return getElement();
- case WSDLPackage.FAULT__NAME:
- return getName();
- case WSDLPackage.FAULT__EMESSAGE:
- if (resolve) return getEMessage();
- return basicGetEMessage();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.FAULT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.FAULT__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.FAULT__EMESSAGE:
- setEMessage((org.eclipse.wst.wsdl.Message)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.FAULT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.FAULT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.FAULT__EMESSAGE:
- setEMessage((org.eclipse.wst.wsdl.Message)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.FAULT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.FAULT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.FAULT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.FAULT__EMESSAGE:
- return eMessage != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.FAULT);
- setElement(newElement);
- return newElement;
- }
-} //FaultImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ImportImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ImportImpl.java
deleted file mode 100644
index 76c576ee9..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ImportImpl.java
+++ /dev/null
@@ -1,600 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.internal.util.WSDLModelLocator;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.util.XSDResourceImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Import</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.ImportImpl#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.ImportImpl#getLocationURI <em>Location URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.ImportImpl#getEDefinition <em>EDefinition</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.ImportImpl#getESchema <em>ESchema</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ImportImpl extends WSDLElementImpl implements Import
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- protected boolean resolved;
-
- /**
- * The default value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected static final String NAMESPACE_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected String namespaceURI = NAMESPACE_URI_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected String locationURI = LOCATION_URI_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEDefinition() <em>EDefinition</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEDefinition()
- * @generated
- * @ordered
- */
- protected Definition eDefinition = null;
-
- /**
- * The cached value of the '{@link #getESchema() <em>ESchema</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getESchema()
- * @generated
- * @ordered
- */
- protected XSDSchema eSchema = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ImportImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getImport();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getNamespaceURI()
- {
- return namespaceURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNamespaceURI(String newNamespaceURI)
- {
- String oldNamespaceURI = namespaceURI;
- namespaceURI = newNamespaceURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.IMPORT__NAMESPACE_URI, oldNamespaceURI, namespaceURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocationURI()
- {
- return locationURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocationURI(String newLocationURI)
- {
- String oldLocationURI = locationURI;
- locationURI = newLocationURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.IMPORT__LOCATION_URI, oldLocationURI, locationURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Definition getEDefinition()
- {
- if (eDefinition != null && eDefinition.eIsProxy())
- {
- Definition oldEDefinition = eDefinition;
- eDefinition = (Definition)eResolveProxy((InternalEObject)eDefinition);
- if (eDefinition != oldEDefinition)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.IMPORT__EDEFINITION, oldEDefinition, eDefinition));
- }
- }
- return eDefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Definition basicGetEDefinition()
- {
- return eDefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEDefinition(Definition newEDefinition)
- {
- Definition oldEDefinition = eDefinition;
- eDefinition = newEDefinition;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.IMPORT__EDEFINITION, oldEDefinition, eDefinition));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDSchema getESchema()
- {
- if (eSchema != null && eSchema.eIsProxy())
- {
- XSDSchema oldESchema = eSchema;
- eSchema = (XSDSchema)eResolveProxy((InternalEObject)eSchema);
- if (eSchema != oldESchema)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.IMPORT__ESCHEMA, oldESchema, eSchema));
- }
- }
- return eSchema;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDSchema basicGetESchema()
- {
- return eSchema;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setESchema(XSDSchema newESchema)
- {
- XSDSchema oldESchema = eSchema;
- eSchema = newESchema;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.IMPORT__ESCHEMA, oldESchema, eSchema));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public XSDSchema getSchema()
- {
- return getESchema();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setSchema(XSDSchema schema)
- {
- setESchema(schema);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.IMPORT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.IMPORT__ELEMENT:
- return getElement();
- case WSDLPackage.IMPORT__NAMESPACE_URI:
- return getNamespaceURI();
- case WSDLPackage.IMPORT__LOCATION_URI:
- return getLocationURI();
- case WSDLPackage.IMPORT__EDEFINITION:
- if (resolve) return getEDefinition();
- return basicGetEDefinition();
- case WSDLPackage.IMPORT__ESCHEMA:
- if (resolve) return getESchema();
- return basicGetESchema();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.IMPORT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.IMPORT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.IMPORT__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case WSDLPackage.IMPORT__LOCATION_URI:
- setLocationURI((String)newValue);
- return;
- case WSDLPackage.IMPORT__EDEFINITION:
- setEDefinition((Definition)newValue);
- return;
- case WSDLPackage.IMPORT__ESCHEMA:
- setESchema((XSDSchema)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.IMPORT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.IMPORT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.IMPORT__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case WSDLPackage.IMPORT__LOCATION_URI:
- setLocationURI(LOCATION_URI_EDEFAULT);
- return;
- case WSDLPackage.IMPORT__EDEFINITION:
- setEDefinition((Definition)null);
- return;
- case WSDLPackage.IMPORT__ESCHEMA:
- setESchema((XSDSchema)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.IMPORT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.IMPORT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.IMPORT__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case WSDLPackage.IMPORT__LOCATION_URI:
- return LOCATION_URI_EDEFAULT == null ? locationURI != null : !LOCATION_URI_EDEFAULT.equals(locationURI);
- case WSDLPackage.IMPORT__EDEFINITION:
- return eDefinition != null;
- case WSDLPackage.IMPORT__ESCHEMA:
- return eSchema != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (namespaceURI: ");
- result.append(namespaceURI);
- result.append(", locationURI: ");
- result.append(locationURI);
- result.append(')');
- return result.toString();
- }
-
- /**
- * @see Import#getDefinition()
- */
- public javax.wsdl.Definition getDefinition()
- {
- return getEDefinition();
- }
-
- /**
- * @see Import#setDefinition(Definition)
- */
- public void setDefinition(javax.wsdl.Definition definition)
- {
- setEDefinition((org.eclipse.wst.wsdl.Definition) definition);
- }
-
- //
- // Reconcile methods
- //
- public void reconcileAttributes(Element changedElement)
- {
- setNamespaceURI(WSDLConstants.getAttribute(changedElement, WSDLConstants.NAMESPACE_ATTRIBUTE));
- setLocationURI(WSDLConstants.getAttribute(changedElement, WSDLConstants.LOCATION_ATTRIBUTE));
- }
-
- //
- // For reconciliation: Model -> DOM
- //
- protected void changeAttribute(EAttribute eAttribute)
- {
- // We need to set this boolean to false because the Import may point to a different location.
- // So we need we should view this import as unresolved.
- resolved = false;
-
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getImport_NamespaceURI())
- niceSetAttribute(theElement, WSDLConstants.NAMESPACE_ATTRIBUTE, getNamespaceURI());
-
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getImport_LocationURI())
- niceSetAttribute(theElement, WSDLConstants.LOCATION_ATTRIBUTE, getLocationURI());
- }
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.IMPORT);
- setElement(newElement);
- return newElement;
- }
-
- public void importDefinitionOrSchema()
- {
- resolve(getNamespaceURI(), getLocationURI());
- }
-
- protected void resolve(String namespace, String location)
- {
- if (!resolved)
- {
- // KB: bugzilla 118293
- // If a user changes <wsdl:import> from a WSDL file to an XML Schema file
- // or the other way around, we should set the variable for the first
- // <wsdl:import> source to null. Here I am simply setting both variables to null,
- // which will have the same effect.
- eDefinition = null;
- eSchema = null;
-
- Definition definition = getEnclosingDefinition();
- if (definition != null && definition.getDocumentBaseURI() != null)
- {
- Resource resource = definition.eResource();
- if (resource != null)
- {
- ResourceSet resourceSet = resource.getResourceSet();
- if (resourceSet != null)
- {
- if (namespace == null)
- {
- namespace = definition.getTargetNamespace();
- }
-
- String resolvedLocation = resolveLocation(definition, namespace, location);
-
- URI uri = URI.createURI(resolvedLocation);
- Resource resolvedResource = resourceSet.getResource(uri, false);
- if (resolvedResource == null)
- {
- try
- {
- InputStream inputStream = resourceSet.getURIConverter().createInputStream(uri);
- resolvedResource = resourceSet.createResource(uri);
- resolvedResource.load(inputStream, resourceSet.getLoadOptions());
- }
- catch (IOException exception)
- {
- // It is generally not an error to fail to resolve.
- // If a resource is actually created,
- // which happens only when we can create an input stream,
- // then it's an error if it's not a good wsdl or schema
- }
- }
-
- if (resolvedResource != null)
- {
- if (resolvedResource instanceof WSDLResourceImpl)
- {
- eDefinition = ((WSDLResourceImpl) resolvedResource).getDefinition();
- }
- else if (resolvedResource instanceof XSDResourceImpl)
- {
- eSchema = ((XSDResourceImpl) resolvedResource).getSchema();
- }
- else
- {
- eDefinition = WSDLFactory.eINSTANCE.createDefinition();
- }
- }
- resolved = true;
- }
- }
- }
- }
- }
-
- protected String resolveLocation(Definition definition, String namespace, String schemaLocation)
- {
- String result = null;
- WSDLModelLocator locator = (WSDLModelLocator)EcoreUtil.getRegisteredAdapter(definition.eResource(), WSDLModelLocator.class);
- if (locator != null)
- {
- result = locator.resolveURI(definition.getDocumentBaseURI(), namespace, schemaLocation);
- }
- else
- {
- // TODO... there's some default resolving we'll need to do here
- // see XSDSchemaDirective
- URI baseLocationURI = createURI(definition.getDocumentBaseURI());
- URI locationURI = URI.createURI(schemaLocation);
- return locationURI.resolve(baseLocationURI).toString();
- }
- return result;
- }
-
- //TODO... push down to EMF
- private static URI createURI(String uriString)
- {
- if (hasProtocol(uriString))
- return URI.createURI(uriString);
- else
- return URI.createFileURI(uriString);
- }
-
- //TODO... push down to EMF
- private static boolean hasProtocol(String uri)
- {
- boolean result = false;
- if (uri != null)
- {
- int index = uri.indexOf(":");
- if (index != -1 && index > 2) // assume protocol with be length 3 so that the'C' in 'C:/' is not interpreted as a protocol
- {
- result = true;
- }
- }
- return result;
- }
-} //ImportImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/InputImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/InputImpl.java
deleted file mode 100644
index d5aaa7cc6..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/InputImpl.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Input</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class InputImpl extends MessageReferenceImpl implements Input
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected InputImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getInput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Message getMessage()
- {
- return getEMessage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setMessage(javax.wsdl.Message message)
- {
- setEMessage((Message) message);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.INPUT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.INPUT__ELEMENT:
- return getElement();
- case WSDLPackage.INPUT__NAME:
- return getName();
- case WSDLPackage.INPUT__EMESSAGE:
- if (resolve) return getEMessage();
- return basicGetEMessage();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.INPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.INPUT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.INPUT__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.INPUT__EMESSAGE:
- setEMessage((org.eclipse.wst.wsdl.Message)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.INPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.INPUT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.INPUT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.INPUT__EMESSAGE:
- setEMessage((org.eclipse.wst.wsdl.Message)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.INPUT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.INPUT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.INPUT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.INPUT__EMESSAGE:
- return eMessage != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.INPUT);
- setElement(newElement);
- return newElement;
- }
-} //InputImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/MessageReferenceImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/MessageReferenceImpl.java
deleted file mode 100644
index 9e84b8474..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/MessageReferenceImpl.java
+++ /dev/null
@@ -1,344 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.Collection;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Message Reference</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.MessageReferenceImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.MessageReferenceImpl#getEMessage <em>EMessage</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class MessageReferenceImpl extends WSDLElementImpl implements MessageReference
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEMessage() <em>EMessage</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEMessage()
- * @generated
- * @ordered
- */
- protected Message eMessage = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MessageReferenceImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getMessageReference();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.MESSAGE_REFERENCE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message getEMessage()
- {
- if (eMessage != null && eMessage.eIsProxy())
- {
- Message oldEMessage = eMessage;
- eMessage = (Message)eResolveProxy((InternalEObject)eMessage);
- if (eMessage != oldEMessage)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.MESSAGE_REFERENCE__EMESSAGE, oldEMessage, eMessage));
- }
- }
- return eMessage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message basicGetEMessage()
- {
- return eMessage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEMessage(Message newEMessage)
- {
- Message oldEMessage = eMessage;
- eMessage = newEMessage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.MESSAGE_REFERENCE__EMESSAGE, oldEMessage, eMessage));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.MESSAGE_REFERENCE__ELEMENT:
- return getElement();
- case WSDLPackage.MESSAGE_REFERENCE__NAME:
- return getName();
- case WSDLPackage.MESSAGE_REFERENCE__EMESSAGE:
- if (resolve) return getEMessage();
- return basicGetEMessage();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.MESSAGE_REFERENCE__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.MESSAGE_REFERENCE__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.MESSAGE_REFERENCE__EMESSAGE:
- setEMessage((Message)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.MESSAGE_REFERENCE__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.MESSAGE_REFERENCE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.MESSAGE_REFERENCE__EMESSAGE:
- setEMessage((Message)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.MESSAGE_REFERENCE__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.MESSAGE_REFERENCE__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.MESSAGE_REFERENCE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.MESSAGE_REFERENCE__EMESSAGE:
- return eMessage != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconciliation methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setName(WSDLConstants.getAttribute(changedElement, "name"));
- reconcileReferences(false);
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getMessageReference_Name())
- niceSetAttribute(theElement, WSDLConstants.NAME_ATTRIBUTE, getName());
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- if (isReconciling)
- return;
-
- super.changeReference(eReference);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eReference == null || eReference == WSDLPackage.eINSTANCE.getMessageReference_EMessage())
- {
- Message message = getEMessage();
- if (message != null)
- {
- QName qName = message.getQName();
- niceSetAttributeURIValue(theElement, WSDLConstants.MESSAGE_ATTRIBUTE, qName.getNamespaceURI() + "#" + qName.getLocalPart());
- }
- }
- }
- }
-
- public void reconcileReferences(boolean deep)
- {
- if (element != null)
- {
- Definition definition = getEnclosingDefinition();
- QName messageQName = createQName(definition, element.getAttribute(WSDLConstants.MESSAGE_ATTRIBUTE), element);
- Message newMessage = messageQName != null ? (Message) definition.getMessage(messageQName) : null;
- if (newMessage != getEMessage())
- {
- setEMessage(newMessage);
- }
- }
- super.reconcileReferences(deep);
- }
-} //MessageReferenceImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/NamespaceImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/NamespaceImpl.java
deleted file mode 100644
index e0c28a954..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/NamespaceImpl.java
+++ /dev/null
@@ -1,234 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.wst.wsdl.Namespace;
-import org.eclipse.wst.wsdl.WSDLPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Namespace</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.NamespaceImpl#getURI <em>URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.NamespaceImpl#getPrefix <em>Prefix</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NamespaceImpl extends EObjectImpl implements Namespace
-{
- /**
- * The default value of the '{@link #getURI() <em>URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getURI()
- * @generated
- * @ordered
- */
- protected static final String URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getURI() <em>URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getURI()
- * @generated
- * @ordered
- */
- protected String uri = URI_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPrefix() <em>Prefix</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrefix()
- * @generated
- * @ordered
- */
- protected static final String PREFIX_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPrefix() <em>Prefix</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrefix()
- * @generated
- * @ordered
- */
- protected String prefix = PREFIX_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NamespaceImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getNamespace();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getURI()
- {
- return uri;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setURI(String newURI)
- {
- String oldURI = uri;
- uri = newURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.NAMESPACE__URI, oldURI, uri));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPrefix()
- {
- return prefix;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPrefix(String newPrefix)
- {
- String oldPrefix = prefix;
- prefix = newPrefix;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.NAMESPACE__PREFIX, oldPrefix, prefix));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.NAMESPACE__URI:
- return getURI();
- case WSDLPackage.NAMESPACE__PREFIX:
- return getPrefix();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.NAMESPACE__URI:
- setURI((String)newValue);
- return;
- case WSDLPackage.NAMESPACE__PREFIX:
- setPrefix((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.NAMESPACE__URI:
- setURI(URI_EDEFAULT);
- return;
- case WSDLPackage.NAMESPACE__PREFIX:
- setPrefix(PREFIX_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.NAMESPACE__URI:
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case WSDLPackage.NAMESPACE__PREFIX:
- return PREFIX_EDEFAULT == null ? prefix != null : !PREFIX_EDEFAULT.equals(prefix);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (URI: ");
- result.append(uri);
- result.append(", prefix: ");
- result.append(prefix);
- result.append(')');
- return result.toString();
- }
-
-} //NamespaceImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OperationImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OperationImpl.java
deleted file mode 100644
index e81d6d9a3..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OperationImpl.java
+++ /dev/null
@@ -1,1208 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.wsdl.OperationType;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.internal.util.WSDLUtil;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Operation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#getStyle <em>Style</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#isUndefined <em>Undefined</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#isProxy <em>Proxy</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#getResourceURI <em>Resource URI</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#getEInput <em>EInput</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#getEOutput <em>EOutput</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#getEFaults <em>EFaults</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.OperationImpl#getEParameterOrdering <em>EParameter Ordering</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OperationImpl extends WSDLElementImpl implements Operation
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected static final OperationType STYLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected OperationType style = STYLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #isUndefined() <em>Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isUndefined()
- * @generated
- * @ordered
- */
- protected static final boolean UNDEFINED_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isUndefined() <em>Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isUndefined()
- * @generated
- * @ordered
- */
- protected boolean undefined = UNDEFINED_EDEFAULT;
-
- /**
- * The default value of the '{@link #isProxy() <em>Proxy</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isProxy()
- * @generated
- * @ordered
- */
- protected static final boolean PROXY_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isProxy() <em>Proxy</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isProxy()
- * @generated
- * @ordered
- */
- protected boolean proxy = PROXY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getResourceURI() <em>Resource URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getResourceURI()
- * @generated
- * @ordered
- */
- protected static final String RESOURCE_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getResourceURI() <em>Resource URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getResourceURI()
- * @generated
- * @ordered
- */
- protected String resourceURI = RESOURCE_URI_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEInput() <em>EInput</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEInput()
- * @generated
- * @ordered
- */
- protected Input eInput = null;
-
- /**
- * The cached value of the '{@link #getEOutput() <em>EOutput</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEOutput()
- * @generated
- * @ordered
- */
- protected Output eOutput = null;
-
- /**
- * The cached value of the '{@link #getEFaults() <em>EFaults</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEFaults()
- * @generated
- * @ordered
- */
- protected EList eFaults = null;
-
- /**
- * The cached value of the '{@link #getEParameterOrdering() <em>EParameter Ordering</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEParameterOrdering()
- * @generated
- * @ordered
- */
- protected EList eParameterOrdering = null; // a list of parts (EMF)
-
- private List parameterOrdering = null; // a list of part names (WSDL4J)
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getOperation();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public OperationType getStyle()
- {
- if (style == null)
- style = deduceOperationType(getElement());
-
- // The value of style is updated when
- // 1) the WSDL is loaded for the first time,
- // 2) the setStyle() method is called, and
- // 3) the children of the Operation (DOM) element are manipulated.
- return style;
- }
-
- private OperationType deduceOperationType(Element operation)
- {
- if (operation == null)
- return null;
-
- int state = 0;
- int messageRefType = -1;
- Node child = null;
- NodeList children = operation.getChildNodes();
-
- for (int i=0; i<children.getLength(); i++)
- {
- child = children.item(i);
- if (child.getNodeType() != Node.ELEMENT_NODE)
- continue;
-
- String nsURI = child.getNamespaceURI();
-
- if (!WSDLConstants.WSDL_NAMESPACE_URI.equals(nsURI) )
- {
- // Skip over any non-WSDL elements. For example, to support new WSDL
- // use cases we have to tolerate extensibility elements at the operation level.
-
- continue;
- }
-
- messageRefType = WSDLUtil.getInstance().getWSDLType((Element)child);
-
- switch (state)
- {
- case 0: // initial state
- if (WSDLConstants.INPUT == messageRefType)
- state = 1;
- else if (WSDLConstants.OUTPUT == messageRefType)
- state = 2;
- else if (WSDLConstants.DOCUMENTATION == messageRefType)
- state = 0;
- else
- state = -1; // cannot happen
- break;
- case 1: // one-way or request-response
- if (WSDLConstants.FAULT == messageRefType)
- state = 11; // one-way
- else if (WSDLConstants.OUTPUT == messageRefType)
- state = 3; // request-response
- else
- state = -1; // cannot happen
- break;
- case 11: // one-way
- if (WSDLConstants.FAULT == messageRefType)
- state = 11; // one-way
- else
- state = -1; // cannot happen
- break;
- case 2: // solicit-response or notification
- if (WSDLConstants.INPUT == messageRefType)
- state = 4; // solicit-response
- else if (WSDLConstants.FAULT == messageRefType)
- state = 21; // notification
- else
- state = -1; // cannot happen
- break;
- case 21: // notification
- if (WSDLConstants.FAULT == messageRefType)
- state = 21; // notification
- else
- state = -1; // cannot happen
- break;
- case 3: // request-response
- if (WSDLConstants.FAULT == messageRefType)
- state = 3;
- else
- state = -1; // cannot happen
- break;
- case 4: // solicit-response
- if (WSDLConstants.FAULT == messageRefType)
- state = 4;
- else
- state = -1; // cannot happen
- break;
- default: // cannot happen (-1)
- break;
- }
- }
-
- OperationType opType = null;
- switch (state)
- {
- case 1:
- case 11:
- opType = OperationType.ONE_WAY;
- break;
- case 2:
- case 21:
- opType = OperationType.NOTIFICATION;
- break;
- case 3:
- opType = OperationType.REQUEST_RESPONSE;
- break;
- case 4:
- opType = OperationType.SOLICIT_RESPONSE;
- break;
- default: // invalid
- break;
- }
- return opType;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStyle(OperationType newStyle)
- {
- OperationType oldStyle = style;
- style = newStyle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__STYLE, oldStyle, style));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isUndefined()
- {
- return undefined;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUndefined(boolean newUndefined)
- {
- boolean oldUndefined = undefined;
- undefined = newUndefined;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__UNDEFINED, oldUndefined, undefined));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isProxy()
- {
- return proxy;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setProxy(boolean newProxy)
- {
- boolean oldProxy = proxy;
- proxy = newProxy;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__PROXY, oldProxy, proxy));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getResourceURI()
- {
- return resourceURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setResourceURI(String newResourceURI)
- {
- String oldResourceURI = resourceURI;
- resourceURI = newResourceURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__RESOURCE_URI, oldResourceURI, resourceURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Input getEInput()
- {
- return eInput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetEInput(Input newEInput, NotificationChain msgs)
- {
- Input oldEInput = eInput;
- eInput = newEInput;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__EINPUT, oldEInput, newEInput);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEInput(Input newEInput)
- {
- if (newEInput != eInput)
- {
- NotificationChain msgs = null;
- if (eInput != null)
- msgs = ((InternalEObject)eInput).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.OPERATION__EINPUT, null, msgs);
- if (newEInput != null)
- msgs = ((InternalEObject)newEInput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.OPERATION__EINPUT, null, msgs);
- msgs = basicSetEInput(newEInput, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__EINPUT, newEInput, newEInput));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Output getEOutput()
- {
- return eOutput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetEOutput(Output newEOutput, NotificationChain msgs)
- {
- Output oldEOutput = eOutput;
- eOutput = newEOutput;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__EOUTPUT, oldEOutput, newEOutput);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEOutput(Output newEOutput)
- {
- if (newEOutput != eOutput)
- {
- NotificationChain msgs = null;
- if (eOutput != null)
- msgs = ((InternalEObject)eOutput).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.OPERATION__EOUTPUT, null, msgs);
- if (newEOutput != null)
- msgs = ((InternalEObject)newEOutput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.OPERATION__EOUTPUT, null, msgs);
- msgs = basicSetEOutput(newEOutput, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__EOUTPUT, newEOutput, newEOutput));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEFaults()
- {
- if (eFaults == null)
- {
- eFaults = new EObjectContainmentEList(Fault.class, this, WSDLPackage.OPERATION__EFAULTS);
- }
- return eFaults;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEParameterOrdering()
- {
- if (eParameterOrdering == null)
- {
- eParameterOrdering = new EObjectResolvingEList(Part.class, this, WSDLPackage.OPERATION__EPARAMETER_ORDERING);
- }
- return eParameterOrdering;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Add a fault message that must be associated with this
- * operation.
- * @param fault the new fault message
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void addFault(javax.wsdl.Fault fault)
- {
- getEFaults().add((Fault)fault);
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get the specified fault message.
- * @param name the name of the desired fault message.
- * @return the corresponding fault message, or null if there wasn't
- * any matching message
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Fault getFault(String name)
- {
- Fault result = null;
- for (Iterator i = getEFaults().iterator(); i.hasNext();)
- {
- Fault fault = (Fault) i.next();
- if (name.equals(fault.getName()))
- {
- result = fault;
- break;
- }
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Get all the fault messages associated with this operation.
- * @return names of fault messages
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Map getFaults()
- {
- HashMap hashMap = new HashMap();
- for (Iterator i = getEFaults().iterator(); i.hasNext();)
- {
- Fault fault = (Fault) i.next();
- hashMap.put(fault.getName(), fault);
- }
- return hashMap;
- }
-
- /**
- * <!-- begin-user-doc -->
- * Returns a collection of Part names. Note that
- * getParameterEOrdering() returns a collection of Parts.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public List getParameterOrdering()
- {
- parameterOrdering = new ArrayList();
- for (Iterator i = getEParameterOrdering().iterator(); i.hasNext();)
- {
- try
- {
- Part part = (Part) i.next();
- parameterOrdering.add(part.getName());
- }
- catch (Exception e)
- {
- // TBD - handle exception
- }
- }
- return parameterOrdering.isEmpty() ? null : parameterOrdering;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setParameterOrdering(List parameterOrder)
- {
- parameterOrdering = parameterOrder;
- getEParameterOrdering().clear();
- if (parameterOrder != null)
- {
- for (Iterator i = parameterOrder.iterator(); i.hasNext();)
- {
- // KB: We should be resolving parts based on the part names in parameterOrder.
- Part part = WSDLFactory.eINSTANCE.createPart();
- part.setName((String) i.next());
- getEParameterOrdering().add(part);
- }
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Input getInput()
- {
- return getEInput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setInput(javax.wsdl.Input input)
- {
- setEInput((Input) input);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Output getOutput()
- {
- return getEOutput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setOutput(javax.wsdl.Output output)
- {
- setEOutput((Output) output);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.OPERATION__EINPUT:
- return basicSetEInput(null, msgs);
- case WSDLPackage.OPERATION__EOUTPUT:
- return basicSetEOutput(null, msgs);
- case WSDLPackage.OPERATION__EFAULTS:
- return ((InternalEList)getEFaults()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OPERATION__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.OPERATION__ELEMENT:
- return getElement();
- case WSDLPackage.OPERATION__STYLE:
- return getStyle();
- case WSDLPackage.OPERATION__NAME:
- return getName();
- case WSDLPackage.OPERATION__UNDEFINED:
- return isUndefined() ? Boolean.TRUE : Boolean.FALSE;
- case WSDLPackage.OPERATION__PROXY:
- return isProxy() ? Boolean.TRUE : Boolean.FALSE;
- case WSDLPackage.OPERATION__RESOURCE_URI:
- return getResourceURI();
- case WSDLPackage.OPERATION__EINPUT:
- return getEInput();
- case WSDLPackage.OPERATION__EOUTPUT:
- return getEOutput();
- case WSDLPackage.OPERATION__EFAULTS:
- return getEFaults();
- case WSDLPackage.OPERATION__EPARAMETER_ORDERING:
- return getEParameterOrdering();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.OPERATION__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.OPERATION__STYLE:
- setStyle((OperationType)newValue);
- return;
- case WSDLPackage.OPERATION__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.OPERATION__UNDEFINED:
- setUndefined(((Boolean)newValue).booleanValue());
- return;
- case WSDLPackage.OPERATION__PROXY:
- setProxy(((Boolean)newValue).booleanValue());
- return;
- case WSDLPackage.OPERATION__RESOURCE_URI:
- setResourceURI((String)newValue);
- return;
- case WSDLPackage.OPERATION__EINPUT:
- setEInput((Input)newValue);
- return;
- case WSDLPackage.OPERATION__EOUTPUT:
- setEOutput((Output)newValue);
- return;
- case WSDLPackage.OPERATION__EFAULTS:
- getEFaults().clear();
- getEFaults().addAll((Collection)newValue);
- return;
- case WSDLPackage.OPERATION__EPARAMETER_ORDERING:
- getEParameterOrdering().clear();
- getEParameterOrdering().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.OPERATION__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.OPERATION__STYLE:
- setStyle(STYLE_EDEFAULT);
- return;
- case WSDLPackage.OPERATION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.OPERATION__UNDEFINED:
- setUndefined(UNDEFINED_EDEFAULT);
- return;
- case WSDLPackage.OPERATION__PROXY:
- setProxy(PROXY_EDEFAULT);
- return;
- case WSDLPackage.OPERATION__RESOURCE_URI:
- setResourceURI(RESOURCE_URI_EDEFAULT);
- return;
- case WSDLPackage.OPERATION__EINPUT:
- setEInput((Input)null);
- return;
- case WSDLPackage.OPERATION__EOUTPUT:
- setEOutput((Output)null);
- return;
- case WSDLPackage.OPERATION__EFAULTS:
- getEFaults().clear();
- return;
- case WSDLPackage.OPERATION__EPARAMETER_ORDERING:
- getEParameterOrdering().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OPERATION__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.OPERATION__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.OPERATION__STYLE:
- return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style);
- case WSDLPackage.OPERATION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.OPERATION__UNDEFINED:
- return undefined != UNDEFINED_EDEFAULT;
- case WSDLPackage.OPERATION__PROXY:
- return proxy != PROXY_EDEFAULT;
- case WSDLPackage.OPERATION__RESOURCE_URI:
- return RESOURCE_URI_EDEFAULT == null ? resourceURI != null : !RESOURCE_URI_EDEFAULT.equals(resourceURI);
- case WSDLPackage.OPERATION__EINPUT:
- return eInput != null;
- case WSDLPackage.OPERATION__EOUTPUT:
- return eOutput != null;
- case WSDLPackage.OPERATION__EFAULTS:
- return eFaults != null && !eFaults.isEmpty();
- case WSDLPackage.OPERATION__EPARAMETER_ORDERING:
- return eParameterOrdering != null && !eParameterOrdering.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (style: ");
- result.append(style);
- result.append(", name: ");
- result.append(name);
- result.append(", undefined: ");
- result.append(undefined);
- result.append(", proxy: ");
- result.append(proxy);
- result.append(", resourceURI: ");
- result.append(resourceURI);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- if (changedElement.hasAttribute("name"))
- {
- String name = changedElement.getAttribute("name");
- if (name != null)
- {
- setName(name);
- }
- }
-
- if (changedElement.hasAttribute("parameterOrder"))
- {
- String parameterOrder = changedElement.getAttribute("parameterOrder");
- if (parameterOrder != null)
- {
- String[] array = parameterOrder.split(" ");
- List l = Arrays.asList(array);
- setParameterOrdering(l);
- }
- }
-
- }
-
- public void elementChanged(Element changedElement)
- {
- style = deduceOperationType(changedElement);
- super.elementChanged(changedElement);
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- Definition definition = getEnclosingDefinition();
-
- switch (WSDLUtil.getInstance().getWSDLType(child))
- {
- case WSDLConstants.INPUT :
- {
- Input input = WSDLFactory.eINSTANCE.createInput();
- input.setEnclosingDefinition(definition);
- input.setElement(child);
- setInput(input);
- break;
- }
- case WSDLConstants.OUTPUT :
- {
- Output output = WSDLFactory.eINSTANCE.createOutput();
- output.setEnclosingDefinition(definition);
- output.setElement(child);
- setOutput(output);
- break;
- }
- case WSDLConstants.FAULT :
- {
- Fault fault = WSDLFactory.eINSTANCE.createFault();
- fault.setEnclosingDefinition(definition);
- fault.setElement(child);
- addFault(fault);
- break;
- }
- }
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- remove(this, i.next());
- }
- }
-
- protected void remove(Object component, Object modelObject)
- {
- Operation operation = (Operation) component;
- if (modelObject instanceof Input)
- {
- operation.setEInput(null);
- }
- else if (modelObject instanceof Output)
- {
- operation.setEOutput(null);
- }
- else if (modelObject instanceof Fault)
- {
- operation.getEFaults().remove(modelObject);
- }
- }
-
- public Collection getModelObjects(Object component)
- {
- Operation operation = (Operation) component;
-
- List list = new ArrayList();
-
- if (operation.getEInput() != null)
- {
- list.add(operation.getEInput());
- }
-
- if (operation.getEOutput() != null)
- {
- list.add(operation.getEOutput());
- }
-
- list.addAll(operation.getEFaults());
-
- return list;
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getOperation_Name())
- niceSetAttribute(theElement, WSDLConstants.NAME_ATTRIBUTE, getName());
- if (eAttribute == WSDLPackage.eINSTANCE.getOperation_Style())
- {
- OperationType targetType = getStyle();
- OperationType currentType = deduceOperationType(theElement);
- if (targetType.equals(currentType))
- return;
- else if ((targetType.equals(OperationType.REQUEST_RESPONSE) || targetType.equals(OperationType.SOLICIT_RESPONSE))
- && (currentType.equals(OperationType.REQUEST_RESPONSE) || currentType.equals(OperationType.SOLICIT_RESPONSE)))
- reorderChildren();
- else
- style = deduceOperationType(theElement); // switch back. no support for the other types
- }
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- if (isReconciling)
- return;
-
- super.changeReference(eReference);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eReference == null || eReference == WSDLPackage.eINSTANCE.getOperation_EParameterOrdering())
- {
- // Build up a string of concatenated part names (parameterOrder) from eParameterOrdering.
-
- Iterator parts = getEParameterOrdering().iterator();
- Part part = null;
- String partNames = "";
- while (parts.hasNext())
- {
- part = (Part)parts.next();
- partNames = partNames + part.getName() + " ";
- }
-
- if ((partNames = partNames.trim()).length() != 0)
- // Update the element's attrubute
- niceSetAttribute(theElement, "parameterOrder", partNames);
- }
- }
- //
- }
-
- // Switch <input> and <output>
- private void reorderChildren()
- {
- // Find out the positions of <input> and <output>
- Node input = null;
- Node output = null;
- Node reference = null;
- for (Node current=getElement().getFirstChild(); current!= null;current=current.getNextSibling())
- {
- if (current.getNodeType() == Node.ELEMENT_NODE)
- {
- if (WSDLConstants.INPUT == WSDLUtil.getInstance().getWSDLType((Element)current))
- {
- input = current;
- if (output != null)
- {
- // cs.. for safety use current.getNextSibling() instead of nodeList.item(i+1)
- reference = current.getNextSibling();
- }
- }
- else if (WSDLConstants.OUTPUT == WSDLUtil.getInstance().getWSDLType((Element)current))
- {
- output = current;
- if (input != null)
- {
- // cs.. for safety use current.getNextSibling() instead of nodeList.item(i+1)
- reference = current.getNextSibling();
- }
- }
- }
- } // end for
-
- if (input != null && output != null)
- {
- Element parent = getElement();
- if (getStyle().equals(OperationType.REQUEST_RESPONSE))
- {
- // current order: <output> <input>
- switchChildren(parent,output,input,reference);
- }
- else if (getStyle().equals(OperationType.SOLICIT_RESPONSE))
- {
- // current order: <input> <output>
- switchChildren(parent,input,output,reference);
- }
- }
- }
-
- private void switchChildren(Node parent, Node child1, Node child2, Node nextOfChild2)
- {
- // current node sequence: <child1> <child2> <nextOfChild2>
- niceRemoveChild(parent,child2);
- niceInsertBefore(parent,child2,child1);
- niceRemoveChild(parent,child1);
- niceInsertBefore(parent,child1,nextOfChild2);
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.OPERATION);
- setElement(newElement);
-
- Input input = getEInput();
- if (input != null)
- {
- Element child = ((InputImpl) input).createElement();
- newElement.appendChild(child);
- }
-
- Output output = getEOutput();
- if (output != null)
- {
- Element child = ((OutputImpl) output).createElement();
- newElement.appendChild(child);
- }
-
- Iterator iterator = getEFaults().iterator();
- while (iterator.hasNext())
- {
- Fault fault = (Fault) iterator.next();
- Element child = ((FaultImpl) fault).createElement();
- newElement.appendChild(child);
- }
-
- return newElement;
- }
-
-} //OperationImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OutputImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OutputImpl.java
deleted file mode 100644
index ea7e7a51c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OutputImpl.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Output</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class OutputImpl extends MessageReferenceImpl implements Output
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OutputImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getOutput();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Message getMessage()
- {
- return getEMessage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setMessage(javax.wsdl.Message message)
- {
- setEMessage((Message) message);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OUTPUT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.OUTPUT__ELEMENT:
- return getElement();
- case WSDLPackage.OUTPUT__NAME:
- return getName();
- case WSDLPackage.OUTPUT__EMESSAGE:
- if (resolve) return getEMessage();
- return basicGetEMessage();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OUTPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.OUTPUT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.OUTPUT__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.OUTPUT__EMESSAGE:
- setEMessage((org.eclipse.wst.wsdl.Message)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OUTPUT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.OUTPUT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.OUTPUT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.OUTPUT__EMESSAGE:
- setEMessage((org.eclipse.wst.wsdl.Message)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.OUTPUT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.OUTPUT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.OUTPUT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.OUTPUT__EMESSAGE:
- return eMessage != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.OUTPUT);
- setElement(newElement);
- return newElement;
- }
-} //OutputImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PartImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PartImpl.java
deleted file mode 100644
index 1e1dac0f2..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PartImpl.java
+++ /dev/null
@@ -1,764 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.xsd.XSDElementDeclaration;
-import org.eclipse.xsd.XSDTypeDefinition;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Part</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.PartImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.PartImpl#getElementName <em>Element Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.PartImpl#getTypeName <em>Type Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.PartImpl#getTypeDefinition <em>Type Definition</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.PartImpl#getElementDeclaration <em>Element Declaration</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.PartImpl#getEMessage <em>EMessage</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PartImpl extends WSDLElementImpl implements Part
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getElementName() <em>Element Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementName()
- * @generated
- * @ordered
- */
- protected static final QName ELEMENT_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getElementName() <em>Element Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementName()
- * @generated
- * @ordered
- */
- protected QName elementName = ELEMENT_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTypeName() <em>Type Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeName()
- * @generated
- * @ordered
- */
- protected static final QName TYPE_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTypeName() <em>Type Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeName()
- * @generated
- * @ordered
- */
- protected QName typeName = TYPE_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getTypeDefinition() <em>Type Definition</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeDefinition()
- * @generated
- * @ordered
- */
- protected XSDTypeDefinition typeDefinition = null;
-
- /**
- * The cached value of the '{@link #getElementDeclaration() <em>Element Declaration</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementDeclaration()
- * @generated
- * @ordered
- */
- protected XSDElementDeclaration elementDeclaration = null;
-
- /**
- * The cached value of the '{@link #getEMessage() <em>EMessage</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEMessage()
- * @generated
- * @ordered
- */
- protected Message eMessage = null;
-
- public static final String NS_URI_PART_EXTENSIONS = "http://schemas.xmlsoap.org/wsdl/part-extensions/";
- public static final String ATTR_MESSAGE = "message";
- private Map extensionAttributes = new ExtensionAttributeMap();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PartImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getPart();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PART__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QName getElementName()
- {
- return elementName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElementName(QName newElementName)
- {
- QName oldElementName = elementName;
- elementName = newElementName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PART__ELEMENT_NAME, oldElementName, elementName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QName getTypeName()
- {
- return typeName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTypeName(QName newTypeName)
- {
- QName oldTypeName = typeName;
- typeName = newTypeName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PART__TYPE_NAME, oldTypeName, typeName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDTypeDefinition getTypeDefinition()
- {
- if (typeDefinition != null && typeDefinition.eIsProxy())
- {
- XSDTypeDefinition oldTypeDefinition = typeDefinition;
- typeDefinition = (XSDTypeDefinition)eResolveProxy((InternalEObject)typeDefinition);
- if (typeDefinition != oldTypeDefinition)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.PART__TYPE_DEFINITION, oldTypeDefinition, typeDefinition));
- }
- }
- return typeDefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDTypeDefinition basicGetTypeDefinition()
- {
- return typeDefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTypeDefinition(XSDTypeDefinition newTypeDefinition)
- {
- XSDTypeDefinition oldTypeDefinition = typeDefinition;
- typeDefinition = newTypeDefinition;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PART__TYPE_DEFINITION, oldTypeDefinition, typeDefinition));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDElementDeclaration getElementDeclaration()
- {
- if (elementDeclaration != null && elementDeclaration.eIsProxy())
- {
- XSDElementDeclaration oldElementDeclaration = elementDeclaration;
- elementDeclaration = (XSDElementDeclaration)eResolveProxy((InternalEObject)elementDeclaration);
- if (elementDeclaration != oldElementDeclaration)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.PART__ELEMENT_DECLARATION, oldElementDeclaration, elementDeclaration));
- }
- }
- return elementDeclaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDElementDeclaration basicGetElementDeclaration()
- {
- return elementDeclaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElementDeclaration(XSDElementDeclaration newElementDeclaration)
- {
- XSDElementDeclaration oldElementDeclaration = elementDeclaration;
- elementDeclaration = newElementDeclaration;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PART__ELEMENT_DECLARATION, oldElementDeclaration, elementDeclaration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message getEMessage()
- {
- if (eMessage != null && eMessage.eIsProxy())
- {
- Message oldEMessage = eMessage;
- eMessage = (Message)eResolveProxy((InternalEObject)eMessage);
- if (eMessage != oldEMessage)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.PART__EMESSAGE, oldEMessage, eMessage));
- }
- }
- return eMessage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message basicGetEMessage()
- {
- return eMessage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEMessage(Message newEMessage)
- {
- Message oldEMessage = eMessage;
- eMessage = newEMessage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PART__EMESSAGE, oldEMessage, eMessage));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setExtensionAttribute(QName name, QName value)
- {
- String localName = name.getLocalPart();
- if (localName == null)
- return;
-
- if (value == null)
- extensionAttributes.remove(name);
- else
- extensionAttributes.put(name, value);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Iterator getExtensionAttributeNames()
- {
- Map map = new HashMap(extensionAttributes);
-
- // Adjust messageName attribute
- QName messageName = getMessage() != null ? getMessage().getQName() : null;
- if (messageName != null)
- map.put(new QName(NS_URI_PART_EXTENSIONS, ATTR_MESSAGE), messageName);
- else
- map.remove(new QName(NS_URI_PART_EXTENSIONS, ATTR_MESSAGE));
-
- return map.keySet().iterator();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public QName getExtensionAttribute(QName name)
- {
- if (name.equals(new QName(NS_URI_PART_EXTENSIONS, ATTR_MESSAGE)))
- return getMessage() != null ? getMessage().getQName() : null;
- else
- return (QName) extensionAttributes.get(name);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setMessage(javax.wsdl.Message message)
- {
- setEMessage((Message) message);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Message getMessage()
- {
- return getEMessage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PART__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.PART__ELEMENT:
- return getElement();
- case WSDLPackage.PART__NAME:
- return getName();
- case WSDLPackage.PART__ELEMENT_NAME:
- return getElementName();
- case WSDLPackage.PART__TYPE_NAME:
- return getTypeName();
- case WSDLPackage.PART__TYPE_DEFINITION:
- if (resolve) return getTypeDefinition();
- return basicGetTypeDefinition();
- case WSDLPackage.PART__ELEMENT_DECLARATION:
- if (resolve) return getElementDeclaration();
- return basicGetElementDeclaration();
- case WSDLPackage.PART__EMESSAGE:
- if (resolve) return getEMessage();
- return basicGetEMessage();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PART__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.PART__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.PART__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.PART__ELEMENT_NAME:
- setElementName((QName)newValue);
- return;
- case WSDLPackage.PART__TYPE_NAME:
- setTypeName((QName)newValue);
- return;
- case WSDLPackage.PART__TYPE_DEFINITION:
- setTypeDefinition((XSDTypeDefinition)newValue);
- return;
- case WSDLPackage.PART__ELEMENT_DECLARATION:
- setElementDeclaration((XSDElementDeclaration)newValue);
- return;
- case WSDLPackage.PART__EMESSAGE:
- setEMessage((Message)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PART__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.PART__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.PART__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.PART__ELEMENT_NAME:
- setElementName(ELEMENT_NAME_EDEFAULT);
- return;
- case WSDLPackage.PART__TYPE_NAME:
- setTypeName(TYPE_NAME_EDEFAULT);
- return;
- case WSDLPackage.PART__TYPE_DEFINITION:
- setTypeDefinition((XSDTypeDefinition)null);
- return;
- case WSDLPackage.PART__ELEMENT_DECLARATION:
- setElementDeclaration((XSDElementDeclaration)null);
- return;
- case WSDLPackage.PART__EMESSAGE:
- setEMessage((Message)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PART__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.PART__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.PART__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.PART__ELEMENT_NAME:
- return ELEMENT_NAME_EDEFAULT == null ? elementName != null : !ELEMENT_NAME_EDEFAULT.equals(elementName);
- case WSDLPackage.PART__TYPE_NAME:
- return TYPE_NAME_EDEFAULT == null ? typeName != null : !TYPE_NAME_EDEFAULT.equals(typeName);
- case WSDLPackage.PART__TYPE_DEFINITION:
- return typeDefinition != null;
- case WSDLPackage.PART__ELEMENT_DECLARATION:
- return elementDeclaration != null;
- case WSDLPackage.PART__EMESSAGE:
- return eMessage != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", elementName: ");
- result.append(elementName);
- result.append(", typeName: ");
- result.append(typeName);
- result.append(')');
- return result.toString();
- }
-
- public Map getExtensionAttributes()
- {
- return extensionAttributes;
- }
-
- class ExtensionAttributeMap extends HashMap
- {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- ExtensionAttributeMap()
- {
- super();
- }
-
- public Object put(Object key, Object val)
- {
- QName name = (QName) key;
- QName value = (QName) val;
- String lName = name.getLocalPart();
- String nSpace = name.getNamespaceURI();
-
- if (NS_URI_PART_EXTENSIONS.equals(nSpace) && ATTR_MESSAGE.equals(lName))
- {
- javax.wsdl.Message messageProxy = new MessageImpl();
- messageProxy.setQName(value);
- setEMessage((Message) messageProxy);
- }
- return super.put(key, value);
- }
- }
-
- //
- // Reconcile methods
- //
- public void reconcileAttributes(Element changedElement)
- {
- Definition definition = getEnclosingDefinition();
-
- String name = changedElement.getAttributeNS(null, "name");
- if (name != null)
- {
- setName(name);
- }
-
- String elementAttr = WSDLConstants.getAttribute(changedElement, WSDLConstants.ELEMENT_ATTRIBUTE);
- setElementName(elementAttr != null ? createQName(definition, elementAttr, element) : null);
-
- String typeAttr = WSDLConstants.getAttribute(changedElement, WSDLConstants.TYPE_ATTRIBUTE);
- setTypeName(typeAttr != null ? createQName(definition, typeAttr, element) : null);
-
- reconcileReferences(false);
- }
-
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- //super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getPart_Name())
- niceSetAttribute(theElement, WSDLConstants.NAME_ATTRIBUTE, getName());
-
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getPart_TypeName())
- if (getTypeName() != null)
- niceSetAttributeURIValue(theElement, WSDLConstants.TYPE_ATTRIBUTE, getTypeName().getNamespaceURI() + "#" + getTypeName().getLocalPart());
-
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getPart_ElementName())
- if (getElementName() != null)
- niceSetAttributeURIValue(theElement, WSDLConstants.ELEMENT_ATTRIBUTE, getElementName().getNamespaceURI() + "#" + getElementName().getLocalPart());
-
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- if (isReconciling)
- return;
-
- super.changeReference(eReference);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eReference == null || eReference == WSDLPackage.eINSTANCE.getPart_TypeDefinition())
- {
- XSDTypeDefinition typeDefinition = getTypeDefinition();
- if (typeDefinition != null)
- {
- niceSetAttributeURIValue(theElement, WSDLConstants.TYPE_ATTRIBUTE, typeDefinition.getURI());
- }
- }
- if (eReference == null || eReference == WSDLPackage.eINSTANCE.getPart_ElementDeclaration())
- {
- XSDElementDeclaration elementDecl = getElementDeclaration();
- if (elementDecl != null)
- {
- niceSetAttributeURIValue(theElement, WSDLConstants.ELEMENT_ATTRIBUTE, elementDecl.getURI());
- }
- }
- }
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.PART);
- setElement(newElement);
- return newElement;
- }
-
- public void reconcileReferences(boolean deep)
- {
- XSDElementDeclaration newElementDeclaration = resolveElementDeclaration(elementName);
- if (newElementDeclaration != elementDeclaration)
- {
- setElementDeclaration(newElementDeclaration);
- }
-
- XSDTypeDefinition newTypeDefinition = resolveTypeDefinition(typeName);
- if (newTypeDefinition != typeDefinition)
- {
- setTypeDefinition(newTypeDefinition);
- }
-
- super.reconcileReferences(deep);
- }
-
- private XSDElementDeclaration resolveElementDeclaration(QName qname)
- {
- XSDElementDeclaration result = null;
- if (qname != null)
- {
- DefinitionImpl definition = (DefinitionImpl) getEnclosingDefinition();
- if (definition != null)
- {
- result = definition.resolveElementDeclaration(qname.getNamespaceURI(), qname.getLocalPart());
- }
- }
- return result;
- }
-
- private XSDTypeDefinition resolveTypeDefinition(QName qname)
- {
- XSDTypeDefinition result = null;
- if (qname != null)
- {
- DefinitionImpl definition = (DefinitionImpl) getEnclosingDefinition();
- if (definition != null)
- {
- result = definition.resolveTypeDefinition(qname.getNamespaceURI(), qname.getLocalPart());
- }
- }
- return result;
- }
-} //PartImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PortImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PortImpl.java
deleted file mode 100644
index 44a80a058..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PortImpl.java
+++ /dev/null
@@ -1,437 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Port</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.PortImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.PortImpl#getEBinding <em>EBinding</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PortImpl extends ExtensibleElementImpl implements Port
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEBinding() <em>EBinding</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEBinding()
- * @generated
- * @ordered
- */
- protected Binding eBinding = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PortImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getPort();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PORT__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Binding getEBinding()
- {
- if (eBinding != null && eBinding.eIsProxy())
- {
- Binding oldEBinding = eBinding;
- eBinding = (Binding)eResolveProxy((InternalEObject)eBinding);
- if (eBinding != oldEBinding)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.PORT__EBINDING, oldEBinding, eBinding));
- }
- }
- return eBinding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Binding basicGetEBinding()
- {
- return eBinding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEBinding(Binding newEBinding)
- {
- Binding oldEBinding = eBinding;
- eBinding = newEBinding;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.PORT__EBINDING, oldEBinding, eBinding));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public javax.wsdl.Binding getBinding()
- {
- return getEBinding();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setBinding(javax.wsdl.Binding binding)
- {
- setEBinding((Binding) binding);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.PORT__EEXTENSIBILITY_ELEMENTS:
- return ((InternalEList)getEExtensibilityElements()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PORT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.PORT__ELEMENT:
- return getElement();
- case WSDLPackage.PORT__EEXTENSIBILITY_ELEMENTS:
- return getEExtensibilityElements();
- case WSDLPackage.PORT__NAME:
- return getName();
- case WSDLPackage.PORT__EBINDING:
- if (resolve) return getEBinding();
- return basicGetEBinding();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PORT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.PORT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.PORT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- getEExtensibilityElements().addAll((Collection)newValue);
- return;
- case WSDLPackage.PORT__NAME:
- setName((String)newValue);
- return;
- case WSDLPackage.PORT__EBINDING:
- setEBinding((Binding)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PORT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.PORT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.PORT__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- return;
- case WSDLPackage.PORT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WSDLPackage.PORT__EBINDING:
- setEBinding((Binding)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.PORT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.PORT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.PORT__EEXTENSIBILITY_ELEMENTS:
- return eExtensibilityElements != null && !eExtensibilityElements.isEmpty();
- case WSDLPackage.PORT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WSDLPackage.PORT__EBINDING:
- return eBinding != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setName(changedElement.getAttribute("name"));
- reconcileReferences(false);
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- super.handleUnreconciledElement(child,remainingModelObjects);
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- getEExtensibilityElements().remove(i.next());
- }
- }
-
- public Collection getModelObjects(Object component)
- {
- Port port = (Port) component;
- List list = new ArrayList();
- list.addAll(port.getEExtensibilityElements());
- return list;
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getPort_Name())
- niceSetAttribute(theElement, WSDLConstants.NAME_ATTRIBUTE, getName());
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- if (isReconciling)
- return;
-
- super.changeReference(eReference);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eReference == null || eReference == WSDLPackage.eINSTANCE.getPort_EBinding())
- {
- Binding binding = getEBinding();
- if (binding != null)
- {
- QName qName = binding.getQName();
- niceSetAttributeURIValue(theElement, WSDLConstants.BINDING_ATTRIBUTE, qName.getNamespaceURI() + "#" + qName.getLocalPart());
- }
- }
- }
- }
-
- protected Element createElement()
- {
- Element newElement = createElement(WSDLConstants.PORT);
- setElement(newElement);
-
- Iterator iterator = getExtensibilityElements().iterator();
- while (iterator.hasNext())
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement) iterator.next();
- Element child = ((ExtensibilityElementImpl) extensibilityElement).createElement();
- newElement.appendChild(child);
- }
- return newElement;
- }
-
- public void reconcileReferences(boolean deep)
- {
- if (element != null)
- {
- Definition definition = getEnclosingDefinition();
- QName bindingQName = createQName(definition, element.getAttribute(WSDLConstants.BINDING_ATTRIBUTE), element);
- Binding newBinding = (bindingQName != null) ? (Binding) definition.getBinding(bindingQName) : null;
- if (newBinding != getEBinding())
- {
- setEBinding(newBinding);
- }
- }
- super.reconcileReferences(deep);
- }
-
-} //PortImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/TypesImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/TypesImpl.java
deleted file mode 100644
index 363ddf717..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/TypesImpl.java
+++ /dev/null
@@ -1,334 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.xsd.XSDSchema;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-//import com.ibm.wsdl.factory.WSDLFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Types</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class TypesImpl extends ExtensibleElementImpl implements Types
-{
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TypesImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getTypes();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public List getSchemas()
- {
- List arrayList = new ArrayList();
- for (Iterator i = getEExtensibilityElements().iterator(); i.hasNext();)
- {
- XSDSchemaExtensibilityElement xsdee = (XSDSchemaExtensibilityElement) i.next();
- if (xsdee.getSchema() != null)
- {
- arrayList.add(xsdee.getSchema());
- }
- }
- return arrayList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public List getSchemas(String namespaceURI)
- {
- List schemas = new ArrayList();
- for (Iterator i = getSchemas().iterator(); i.hasNext();)
- {
- XSDSchema schema = (XSDSchema) i.next();
- if (namespaceURI == null && schema.getTargetNamespace() == null) {
- schemas.add(schema);
- }
- else if (namespaceURI != null && namespaceURI.equals(schema.getTargetNamespace())) {
- schemas.add(schema);
- }
- }
- return schemas;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.TYPES__EEXTENSIBILITY_ELEMENTS:
- return ((InternalEList)getEExtensibilityElements()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.TYPES__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.TYPES__ELEMENT:
- return getElement();
- case WSDLPackage.TYPES__EEXTENSIBILITY_ELEMENTS:
- return getEExtensibilityElements();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.TYPES__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.TYPES__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.TYPES__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- getEExtensibilityElements().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.TYPES__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.TYPES__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.TYPES__EEXTENSIBILITY_ELEMENTS:
- getEExtensibilityElements().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.TYPES__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.TYPES__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.TYPES__EEXTENSIBILITY_ELEMENTS:
- return eExtensibilityElements != null && !eExtensibilityElements.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- public void eNotify(Notification msg)
- {
- super.eNotify(msg);
-
- // cs.. if we've added an XSDSchemaExtensibilityElementImpl and the Types object is already attached
- // to a resource we need to set the schemaLocation for the inline schema.
- // If not yet attached to a resource, the schemaLocation's will be set via WSDLResourceImpl.attached(EObject o)
- //
- if (msg.getFeature() == WSDLPackage.eINSTANCE.getExtensibleElement_EExtensibilityElements() &&
- msg.getEventType() == Notification.ADD)
- {
- if (msg.getNewValue() instanceof XSDSchemaExtensibilityElementImpl)
- {
- XSDSchemaExtensibilityElementImpl ee = (XSDSchemaExtensibilityElementImpl)msg.getNewValue();
- if (ee.getSchema() != null && ee.getSchema().eResource() != null)
- {
- ee.getSchema().setSchemaLocation(ee.getSchema().eResource().getURI().toString());
- }
- }
- }
- }
-
- //
- // Reconcile methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- if ("schema".equals(child.getLocalName()))
- {
- try
- {
- XSDSchemaExtensibilityElement xsdee = WSDLFactory.eINSTANCE.createXSDSchemaExtensibilityElement();
- xsdee.setEnclosingDefinition(getEnclosingDefinition());
- xsdee.setElement(child); // cs : this has the side effect of creating the inline schema
- addExtensibilityElement(xsdee);
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- remove(this, i.next());
- }
- ((DefinitionImpl)getEnclosingDefinition()).reconcileReferences(true);
- }
-
- protected void remove(Object component, Object modelObject)
- {
- Types types = (Types) component;
- List list = types.getEExtensibilityElements();
- list.remove(modelObject);
- }
-
- public Collection getModelObjects(Object component)
- {
- Types types = (Types) component;
- List list = new ArrayList();
- list.addAll(types.getEExtensibilityElements());
- return list;
- }
-
- public Element createElement()
- {
- Element newElement = createElement(WSDLConstants.TYPES);
- setElement(newElement);
-
- // Add children
- Definition definition = getEnclosingDefinition();
- if (definition == null)
- return newElement;
-
- Document document = definition.getDocument();
- if (document == null)
- document = ((DefinitionImpl) definition).updateDocument();
-
- Iterator iter = getEExtensibilityElements().iterator();
- Element el = null;
- while (iter.hasNext())
- {
- ExtensibilityElement extensibility = (ExtensibilityElement) iter.next();
- el = extensibility.getElement();
- if (el != null)
- {
- try
- {
- Element reParented = (Element) document.importNode(el, true);
- extensibility.setElement(reParented); // replace with the new one
- newElement.appendChild(reParented);
- }
- catch (DOMException e)
- {
- e.printStackTrace();
- return newElement;
- }
- }
- else
- {
- Element child = ((ExtensibilityElementImpl)extensibility).createElement();
- newElement.appendChild(child);
- }
- }
-
- return newElement;
- }
-} //TypesImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/UnknownExtensibilityElementImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/UnknownExtensibilityElementImpl.java
deleted file mode 100644
index b2ddd0cb7..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/UnknownExtensibilityElementImpl.java
+++ /dev/null
@@ -1,320 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.Collection;
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.UnknownExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Unknown Extensibility Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.impl.UnknownExtensibilityElementImpl#getChildren <em>Children</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class UnknownExtensibilityElementImpl extends ExtensibilityElementImpl implements UnknownExtensibilityElement
-{
- /**
- * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getChildren()
- * @generated
- * @ordered
- */
- protected EList children = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UnknownExtensibilityElementImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getUnknownExtensibilityElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getChildren()
- {
- if (children == null)
- {
- children = new EObjectContainmentEList(UnknownExtensibilityElement.class, this, WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN);
- }
- return children;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN:
- return ((InternalEList) getChildren()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT:
- return getElement();
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- return getElementType();
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN:
- return getChildren();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element) newValue);
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT:
- setElement((Element) newValue);
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__REQUIRED:
- setRequired(((Boolean) newValue).booleanValue());
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- setElementType((QName) newValue);
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN:
- getChildren().clear();
- getChildren().addAll((Collection) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN:
- getChildren().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN:
- return children != null && !children.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- //
- // Reconcile methods
- //
-
- public void setElement(Element element)
- {
- if (element == null && !isReconciling)
- {
- //System.out.println("ExtensibilityElement.setElement(): Preserving old element");
- }
- else
- {
- setElementGen(element);
- }
- }
-
- public void reconcileAttributes(Element changedElement)
- {
- //System.out.println("UnknownExtensibilityElementImpl.reconcileAttributes()");
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- //System.out.println("UnknownExtensibilityElementImpl.handleUnreconciledElement()");
- UnknownExtensibilityElement extensibilityElement = WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- extensibilityElement.setEnclosingDefinition(getEnclosingDefinition());
- extensibilityElement.setElement(child);
-
- // TODO.. we need to figure out where the child should go in the in current list
- // so that it doesn't always end up going to the end of the list
- // (since a new element might be added at the start)
- getChildren().add(extensibilityElement);
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- remove(this, i.next());
- }
- }
-
- protected void remove(Object component, Object modelObject)
- {
- UnknownExtensibilityElement uee = (UnknownExtensibilityElement) component;
- if (modelObject instanceof UnknownExtensibilityElement)
- {
- uee.getChildren().remove(modelObject);
- }
- }
-
- public Element createElement()
- {
- Definition definition = getEnclosingDefinition();
- if (definition == null)
- return null;
-
- Document document = definition.getDocument();
- if (document == null)
- document = ((DefinitionImpl) definition).updateDocument();
-
- Element newElement = null;
- if (element != null) // This is an old element.
- {
- newElement = (Element) document.importNode(element, true);
- element = newElement;
- }
- else
- {
- String namespace = getElementType().getNamespaceURI();
- String qualifier = definition.getPrefix(namespace);
- newElement = document.createElementNS(namespace, (qualifier == null ? "" : qualifier + ":") + getElementType().getLocalPart());
- element = newElement;
- }
-
- return newElement;
- }
-
- private java.util.Map properties = new java.util.HashMap();
-
- public void setAttribute(String key, String value)
- {
- properties.put(key, value);
- }
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- Iterator iterator = properties.entrySet().iterator();
- java.util.Map.Entry entry = null;
- while (iterator.hasNext())
- {
- entry = (java.util.Map.Entry) iterator.next();
- String attribute = (String) entry.getKey();
- String value = (String) entry.getValue();
- niceSetAttribute(theElement, attribute, value);
- }
- }
- }
-} //UnknownExtensibilityElementImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLElementImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLElementImpl.java
deleted file mode 100644
index a37759f05..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLElementImpl.java
+++ /dev/null
@@ -1,1579 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-import com.ibm.icu.util.StringTokenizer;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.BasicEList;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EContentsEList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Namespace;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.xsd.util.XSDConstants;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.Text;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.WSDLElementImpl#getDocumentationElement <em>Documentation Element</em>}</li>
- * <li>{@link org.eclipse.wsdl.impl.WSDLElementImpl#getElement <em>Element</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class WSDLElementImpl extends EObjectImpl implements WSDLElement
-{
- /**
- * The default value of the '{@link #getDocumentationElement() <em>Documentation Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDocumentationElement()
- * @generated
- * @ordered
- */
- protected static final Element DOCUMENTATION_ELEMENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDocumentationElement() <em>Documentation Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDocumentationElement()
- * @generated
- * @ordered
- */
- protected Element documentationElement = DOCUMENTATION_ELEMENT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getElement() <em>Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected static final Element ELEMENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getElement() <em>Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected Element element = ELEMENT_EDEFAULT;
-
- protected boolean isReconciling = false;
- protected boolean updatingDOM = false;
- protected EList wsdlContents;
-
- private Definition enclosingDefinition;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected WSDLElementImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getWSDLElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getDocumentationElement()
- {
- return documentationElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDocumentationElement(Element newDocumentationElement)
- {
- Element oldDocumentationElement = documentationElement;
- documentationElement = newDocumentationElement;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.WSDL_ELEMENT__DOCUMENTATION_ELEMENT, oldDocumentationElement, documentationElement));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getElement()
- {
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElementGen(Element newElement)
- {
- Element oldElement = element;
- element = newElement;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.WSDL_ELEMENT__ELEMENT, oldElement, element));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setEnclosingDefinition(Definition definition)
- {
- enclosingDefinition = definition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.WSDL_ELEMENT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.WSDL_ELEMENT__ELEMENT:
- return getElement();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.WSDL_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.WSDL_ELEMENT__ELEMENT:
- setElement((Element)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.WSDL_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.WSDL_ELEMENT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.WSDL_ELEMENT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.WSDL_ELEMENT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (documentationElement: ");
- result.append(documentationElement);
- result.append(", element: ");
- result.append(element);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcilation methods: DOM -> Model
- //
-
- public static class WSDLContentsEList extends EContentsEList
- {
- WSDLContentsEList(EObject eObject, EStructuralFeature[] eStructuralFeatures)
- {
- super(eObject, eStructuralFeatures);
- }
-
- protected ListIterator newListIterator()
- {
- return new FeatureIteratorImpl(eObject, eStructuralFeatures);
- }
-
- protected boolean isIncluded(EStructuralFeature eStructuralFeature)
- {
- EReference eReference = (EReference) eStructuralFeature;
- return !eReference.isTransient();
- }
-
- public List basicList()
- {
- return new WSDLContentsEList(eObject, eStructuralFeatures);
- }
-
- public Iterator basicIterator()
- {
- return new FeatureIteratorImpl(eObject, eStructuralFeatures);
- }
-
- public static class FeatureIteratorImpl extends EContentsEList.FeatureIteratorImpl
- {
- public FeatureIteratorImpl(EObject eObject)
- {
- super(eObject, (EStructuralFeature[]) ((BasicEList) eObject.eClass().getEAllReferences()).data());
- }
-
- public FeatureIteratorImpl(EObject eObject, EStructuralFeature[] eStructuralFeatures)
- {
- super(eObject, eStructuralFeatures);
- }
-
- protected boolean isIncluded(EStructuralFeature eStructuralFeature)
- {
- EReference eReference = (EReference) eStructuralFeature;
- return !eReference.isTransient();
- }
- }
- }
-
- public EList getWSDLContents()
- {
- if (wsdlContents == null)
- {
- wsdlContents = new WSDLContentsEList(this, (EStructuralFeature[]) ((BasicEList) eClass().getEAllContainments()).data());
- }
-
- return wsdlContents;
- }
-
- public void setElement(Element element)
- {
- if (element == null)
- {
- isReconciling = true;
- setElementGen(null);
- for (Iterator contents = getWSDLContents().iterator(); contents.hasNext();)
- {
- Object obj = contents.next();
- if (obj instanceof WSDLElementImpl)
- {
- WSDLElementImpl content = (WSDLElementImpl) obj;
- content.setElement(null);
- }
- }
- isReconciling = false;
- }
- else
- {
- setElementGen(element);
- }
- }
-
- public boolean eNotificationRequired()
- {
- return true;
- }
-
- public void eNotify(Notification msg)
- {
- int eventType = msg.getEventType();
- Object feature = msg.getFeature();
- Object oldValue = msg.getOldValue();
- Object newValue = msg.getNewValue();
-
- if (eClass().getEAllReferences().contains(feature))
- {
- EReference eReference = (EReference) feature;
- if (eReference.isContainment() && !eReference.isTransient())
- {
- switch (eventType)
- {
- case Notification.ADD :
- {
- adoptContent(eReference,newValue);
- break;
- }
- case Notification.ADD_MANY :
- {
- for (Iterator newValues = ((Collection) newValue).iterator(); newValues.hasNext();)
- {
- WSDLElement wsdlElement = (WSDLElement) newValues.next();
- adoptContent(eReference, wsdlElement);
- }
- break;
- }
- case Notification.REMOVE :
- {
- if (oldValue != null)
- {
- orphanContent(eReference, /*(WSDLElement)*/ oldValue);
- }
- break;
- }
- case Notification.REMOVE_MANY :
- {
- for (Iterator oldValues = ((Collection) oldValue).iterator(); oldValues.hasNext();)
- {
- EObject object = (EObject) oldValues.next();
- orphanContent(eReference, object);
- }
- break;
- }
- case Notification.MOVE :
- {
- moveContent(eReference, (WSDLElement) newValue);
- break;
- }
- case Notification.SET :
- case Notification.UNSET :
- {
- if (oldValue != null)
- {
- orphanContent(eReference, oldValue);
- }
- if (newValue != null)
- {
- adoptContent(eReference, newValue);
- }
- break;
- }
- }
- }
- else
- {
- switch (eventType)
- {
- case Notification.ADD :
- case Notification.ADD_MANY :
- case Notification.REMOVE :
- case Notification.REMOVE_MANY :
- case Notification.MOVE :
- case Notification.SET :
- case Notification.UNSET :
- {
- changeReference(eReference);
- break;
- }
- }
- }
- }
- else if (eClass().getEAllAttributes().contains(feature))
- {
- EAttribute eAttribute = (EAttribute) feature;
- switch (eventType)
- {
- case Notification.ADD :
- case Notification.ADD_MANY :
- case Notification.REMOVE :
- case Notification.REMOVE_MANY :
- case Notification.MOVE :
- case Notification.SET :
- case Notification.UNSET :
- {
- changeAttribute(eAttribute);
- break;
- }
- }
- }
- super.eNotify(msg);
- }
-
- protected void orphanContent(EReference eReference, Object obj)
- {
- if (!isReconciling)
- {
- Element parent = getElement();
- if (parent != null && obj != null && obj instanceof WSDLElement)
- {
- WSDLElement wsdlElement = (WSDLElement)obj;
- Element contentElement = wsdlElement.getElement();
- if (contentElement != null)
- niceRemoveChild(contentElement.getParentNode(), contentElement);
- }
- else
- ;//System.out.println("WSDLElement.orphanContent(), Object is: " + obj);
- }
- }
-
- protected void niceRemoveChild(Node parent, Node child)
- {
- if (isReconciling)
- {
- // System.out.println("**** cyclic dom writeback avoided " + eClass().getName());
- return;
- }
- forceNiceRemoveChild(parent, child);
- }
-
- public void forceNiceRemoveChild(Node parent, Node child)
- {
- updatingDOM = true;
-
- boolean done = false;
-
-// System.out.println("?*");
- Node previous = child.getPreviousSibling();
- if (previous != null && previous.getNodeType() == Node.TEXT_NODE)
- {
- Text text = (Text)previous;
- String data = text.getData();
- int index = data.lastIndexOf('\n');
- if (index != -1)
- {
- if (index - 1 > 0 && data.charAt(index - 1) == '\r')
- {
-//System.out.println("1*");
- text.deleteData(index - 1, data.length() - index + 1);
- }
- else
- {
-//System.out.println("2*");
- text.deleteData(index, data.length() - index);
- }
- done = true;
- }
- else
- {
- //System.out.println("No return before!");
- }
- }
- else
- {
- // System.out.println("No text node before!");
- }
-
-
- if (!done)
- {
- for (Node next = child.getNextSibling(); next != null; next = next.getNextSibling())
- {
- if (next.getNodeType() == Node.TEXT_NODE)
- {
- Text text = (Text)next;
- String data = text.getData();
-/*
- System.out.print("xx " + data.length() + ":: ");
- for (int i = 0; i < data.length(); ++i)
- {
- System.out.print(" " + Integer.toHexString((int)data.charAt(i)));
- }
- System.out.println();
-*/
-
- int index = data.indexOf('\n');
- if (index != -1)
- {
- if (index + 1 < data.length() && data.charAt(index + 1) == '\r')
- {
- // System.out.println("3*");
- text.deleteData(0, index + 2);
- }
- else
- {
- //System.out.println("4*");
- text.deleteData(0, index + 1);
- }
- break;
- }
- else
- {
- // System.out.println("No return after!");
- }
- }
- else if (next.getNodeType() == Node.ELEMENT_NODE)
- {
- break;
- }
- }
- }
-
-// System.out.println("Removing from--------\n " + parent);
-// System.out.println("Removing--------\n " + child);
- if (parent != null)
- parent.removeChild(child);
-
- updatingDOM=false;
- }
-
- protected void moveContent(EReference eReference, WSDLElement wsdlElement)
- {
- if (isReconciling)
- {
- // System.out.println("**** cyclic dom writeback avoided " + eClass().getName());
- return;
- }
- //System.out.println("moving " + xsdConcreteComponent);
- Node parent = getAdoptionParentNode(eReference);
- if (parent != null)
- {
- Element child = wsdlElement.getElement();
- if (child != null)
- {
- List contents = getWSDLContents();
- int index = contents.indexOf(wsdlElement);
- niceRemoveChild(parent, child);
- niceInsertBefore
- (parent,
- child,
- ++index == contents.size() ?
- null :
- ((WSDLElement)contents.get(index)).getElement());
- }
- }
- //System.out.println("moved " + xsdConcreteComponent);
-
- }
-
- protected void adoptContent(EReference eReference, Object object)
- {
- if (object instanceof WSDLElement)
- {
- WSDLElement wsdlElement = (WSDLElement) object;
- if (isReconciling)
- {
- if (wsdlElement.getElement() != null)
- {
- ((WSDLElementImpl) wsdlElement).elementChanged(wsdlElement.getElement());
- }
- }
- else
- {
- Element childElement = wsdlElement.getElement();
- if (getElement() != null && (childElement == null || childElement.getParentNode() == null))
- {
- if (childElement != null && childElement.getOwnerDocument() != getElement().getOwnerDocument())
- {
- wsdlElement.setElement(null);
- childElement = null;
- }
-
- handleElementForAdopt(eReference, wsdlElement);
- ((WSDLElementImpl) wsdlElement).updateElement();
- }
- }
-
- Definition definition = getEnclosingDefinition();
- if (definition != null)
- {
- ((WSDLElementImpl) wsdlElement).adoptBy(definition);
- }
- }
- else if (object instanceof Namespace)
- {
- // Add a namespace attribute to the Definitions element.
- Namespace ns = (Namespace)object;
- Node adoptionParent = getAdoptionParentNode(eReference); // Definitions node
- // KB: Assumption - The prefix is unique if we are here (by the Definitions model).
- if (adoptionParent != null) {
- ((Element)adoptionParent).setAttribute("xmlns:"+ns.getPrefix(),ns.getURI());
- }
- }
- }
-
- protected Node getAdoptionParentNode(EReference eReference)
- {
- return getElement();
- }
-
- protected void handleElementForAdopt(EReference eReference, WSDLElement wsdlElement)
- {
- // Establish DOM parent-child relationship
-
- Node adoptionParent = getAdoptionParentNode(eReference);
- Element childElement = wsdlElement.getElement();
- Element referencedElement = null;
-
- for (Iterator contents = getWSDLContents().iterator(); contents.hasNext(); )
- {
- if (contents.next() == wsdlElement)
- {
- if (contents.hasNext())
- {
- Object next = contents.next();
- if (next instanceof WSDLElement)
- {
- referencedElement = ((WSDLElement)next).getElement();
- while (referencedElement != null)
- {
- Node parent = referencedElement.getParentNode();
- if (parent == null )
- {
- referencedElement = null;
- break;
- }
- else if (parent == adoptionParent)
- {
- break;
- }
- else if (parent.getNodeType() == Node.ELEMENT_NODE)
- {
- referencedElement = (Element)parent;
- }
- else
- {
- break;
- }
- }
- }
- }
- break;
- }
- }
-
- if (childElement == null)
- {
- ((WSDLElementImpl)wsdlElement).isReconciling = true;
- childElement = ((WSDLElementImpl)wsdlElement).createElement();
- ((WSDLElementImpl)wsdlElement).isReconciling = false;
- if (childElement == null)
- {
- //System.out.println("not created! " + wsdlElement);
- return;
- }
- }
-
- boolean isAttached = false;
- for (Node rootDocument = childElement; rootDocument != null; rootDocument = rootDocument.getParentNode())
- {
- if (WSDLConstants.nodeType(rootDocument) == WSDLConstants.DEFINITION)
- {
- isAttached = true;
- break;
- }
- }
-
- if (!isAttached)
- {
- if (referencedElement == null &&
- !eReference.isMany())
- {
- for (Node child = adoptionParent.getFirstChild(); child != null; child = child.getNextSibling())
- {
- if (child.getNodeType() == Node.ELEMENT_NODE)
- {
- referencedElement = (Element)child;
- break;
- }
- }
- }
- //referencedElement = computeTopLevelRefChild(adoptionParent,childElement);
- niceInsertBefore(adoptionParent, childElement, referencedElement);
- }
- }
-
- public void niceInsertBefore(Node parent, Node newChild, Node referenceChild)
- {
- if (isReconciling)
- {
- // System.out.println("**** cyclic dom writeback avoided " + eClass().getName());
- return;
- }
-
- forceNiceInsertBefore(parent, newChild, referenceChild);
- }
-
- public void forceNiceInsertBefore(Node parent, Node newChild, Node referenceChild)
- {
- updatingDOM = true;
-
- LOOP:
- for (Node child = referenceChild == null ? parent.getLastChild() : referenceChild.getPreviousSibling();
- child != null;
- child = child.getPreviousSibling())
- {
- switch (child.getNodeType())
- {
- case Node.TEXT_NODE:
- {
- Text text = (Text)child;
- String data = text.getData();
-
-/*
- System.out.print("xx " + data.length() + ":: ");
- for (int i = 0; i < data.length(); ++i)
- {
- System.out.print(" " + Integer.toHexString((int)data.charAt(i)));
- }
- System.out.println();
-*/
-
- int index = data.lastIndexOf('\n');
- if (index != -1)
- {
-// System.out.println("In here");
-
- StringBuffer indent = new StringBuffer();
- for (Node ancestor = parent.getParentNode();
- ancestor != null && ancestor.getNodeType() != Node.DOCUMENT_NODE;
- ancestor = ancestor.getParentNode())
- {
- indent.append(" ");
- }
-
- if (index + 1 < data.length() && data.charAt(index + 1) == '\r')
- {
- ++index;
- }
- text.replaceData(index + 1, data.length() - index - 1, indent + " ");
-
- // setCorrectIndentation(indent, newText);
- if (referenceChild != null)
- {
- indent.append(" ");
- }
- Text newText = parent.getOwnerDocument().createTextNode("\n" + indent);
-// System.out.println("Inserted..." + newText);
- parent.insertBefore(newText, referenceChild);
- referenceChild = newText;
- break LOOP;
- }
-
- break;
- }
- case Node.ELEMENT_NODE:
- {
- break LOOP;
- }
- }
- }
-
-// System.out.println("Inserted..." + newChild);
- parent.insertBefore(newChild, referenceChild);
-
- updatingDOM = false;
- }
-
- protected Element computeTopLevelRefChild(Node parentNode, Node nodeToAdd)
- {
- Element result = null;
- int a = getPrecedence(nodeToAdd);
-
- for (Node node = parentNode.getFirstChild(); node != null; node = node.getNextSibling())
- {
- if (node.getNodeType() == Node.ELEMENT_NODE)
- {
- int b = getPrecedence(node);
- if (b >= a)
- {
- result = (Element)node;
- break;
- }
- }
- }
- return result;
- }
-
- private HashMap precedenceMap = createPrecedenceMap();
-
- private int getPrecedence(Node node)
- {
- int result = 2;
- String localName = node.getLocalName();
- if (localName != null)
- {
- Integer integer = (Integer)precedenceMap.get(localName);
- if (integer != null)
- {
- result = integer.intValue();
- }
- }
- return result;
- }
-
- private HashMap createPrecedenceMap()
- {
- HashMap hashMap = new HashMap();
- hashMap.put(WSDLConstants.DOCUMENTATION_ELEMENT_TAG, new Integer(1));
- hashMap.put(WSDLConstants.IMPORT_ELEMENT_TAG, new Integer(3));
- hashMap.put(WSDLConstants.TYPES_ELEMENT_TAG, new Integer(4));
- hashMap.put(WSDLConstants.MESSAGE_ELEMENT_TAG, new Integer(5));
- hashMap.put(WSDLConstants.PORT_TYPE_ELEMENT_TAG, new Integer(6));
- hashMap.put(WSDLConstants.BINDING_ELEMENT_TAG, new Integer(7));
- hashMap.put(WSDLConstants.SERVICE_ELEMENT_TAG, new Integer(8));
- return hashMap;
- }
-
- protected void adoptBy(Definition definition)
- {
- for (Iterator components = getWSDLContents().iterator(); components.hasNext();)
- {
- Object child = components.next();
- if (child instanceof WSDLElementImpl)
- {
- ((WSDLElementImpl) child).adoptBy(definition);
- }
- }
- }
-
- protected boolean isUpdatingDOM()
- {
- return updatingDOM;
- }
-
- public void elementChanged(Element changedElement)
- {
- if (!isUpdatingDOM())
- {
- if (!isReconciling)
- {
- //System.out.println("**** changeFor " + eClass().getName());
- isReconciling = true;
- reconcile(changedElement);
-
- WSDLElement theContainer = getContainer();
- if (theContainer != null && theContainer.getElement() == changedElement)
- {
- ((WSDLElementImpl) theContainer).elementChanged(changedElement);
- }
-
- isReconciling = false;
- traverseToRootForPatching();
- }
- else
- {
- ; //System.out.println("**** cyclic internal reconcile avoided " + eClass().getName());
- }
- }
- else
- {
- ; //System.out.println("**** cyclic DOM reconcile avoided " + eClass().getName());
- }
- }
-
- protected void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- }
-
- /**
- * @deprecated
- * TODO... remove this method!
- */
- public Collection getModelObjects(Object component)
- {
- return getWSDLContents();
- }
-
- /*
- protected Element getElementForModelObject(Object modelObject)
- {
- Element result = null;
- if (modelObject instanceof Element)
- {
- result = (Element) modelObject;
- }
- else if (modelObject instanceof WSDLElement)
- {
- result = ((WSDLElement) modelObject).getElement();
- }
- return result;
- }
- */
-
- private Collection getContentNodes(Element changedElement)
- {
- Collection result = new ArrayList();
- for (Node child = changedElement.getFirstChild(); child != null; child = child.getNextSibling())
- {
- if (child.getNodeType() == Node.ELEMENT_NODE)
- {
- result.add(child);
- }
- }
- return result;
- }
-
- // Some subclasses use this method
- protected QName createQName(Definition definition, String prefixedName)
- {
- // Delegate to the new form to preserve backward compatibility in case someone
- // else calls this method.
-
- return createQName(definition, prefixedName, null);
- }
-
- /**
- * Creates a QName from a prefixed name. Takes into account locally defined
- * namespace prefixes.
- *
- * @param definition
- * the enclosing definition. Must not be null.
- * @param prefixedName
- * the prefixed name to convert to QName
- * @param element
- * the enclosing element. May be null in which case the prefix is
- * only looked up among the ones defined at the definition level.
- * @return the QName equivalent for the given prefixed name, or null if a
- * namespace prefix cannot be found for the given namespace URI or if
- * the prefixed name is null.
- */
- protected QName createQName(Definition definition, String prefixedName, Element element)
- {
- QName qname = null;
- if (prefixedName != null)
- {
- int index = prefixedName.indexOf(":"); ////$NON-NLS-1$
- String prefix = (index == -1) ? "" : prefixedName.substring(0, index); //$NON-NLS-1$
- String namespace = definition.getNamespace(prefix);
-
- if (namespace == null && element != null)
- {
- // Try to find a locally defined namespace prefix.
-
- namespace = getNamespaceURIFromPrefix(element, prefix);
- }
-
- if (namespace != null)
- {
- String localPart = prefixedName.substring(index + 1);
- qname = new QName(namespace, localPart);
- }
- }
- return qname;
- }
-
- /**
- * Given a prefix and a node, finds the namespace URI pointed to by the
- * prefix. Walks the element containment hierarchy until it finds one or it
- * reaches the document root.
- *
- * @param node
- * the starting node
- * @param prefix
- * the prefix to find an xmlns:prefix=uri for
- *
- * @return the namespace URI or null if not found
- */
- private static String getNamespaceURIFromPrefix(Node node, String prefix)
- {
- if (node == null || prefix == null)
- {
- return null;
- }
-
- Node currentNode = node;
-
- while (currentNode != null && currentNode.getNodeType() == Node.ELEMENT_NODE)
- {
- String namespaceURI = getAttributeNS((Element) currentNode, XSDConstants.XMLNS_URI_2000, prefix);
-
- if (namespaceURI != null)
- {
- return namespaceURI;
- }
- else
- {
- currentNode = currentNode.getParentNode();
- }
- }
-
- return null;
- }
-
- /**
- * Retrieves an attribute's value.
- * @param element the containing element.
- * @param namespaceURI the namespace URI.
- * @param localPart the local name.
- * @return the attribute's value if present, or null if not.
- */
- private static String getAttributeNS(Element element, String namespaceURI, String localPart)
- {
- String attributeValue = null;
- Attr attribute = element.getAttributeNodeNS(namespaceURI, localPart);
-
- if (attribute != null)
- {
- attributeValue = attribute.getValue();
- }
-
- return attributeValue;
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- public void updateElement(boolean deep)
- {
- if (deep || getElement() == null)
- {
- updateElement();
- }
- else
- {
- changeAttribute(null);
- changeReference(null);
- }
- }
-
- public void updateElement()
- {
- if (getElement() == null)
- {
- isReconciling = true;
- createElement();
- isReconciling = false;
- }
-
- changeAttribute(null);
- changeReference(null);
-
- Object obj = null;
- for (Iterator containments = eClass().getEAllContainments().iterator(); containments.hasNext();)
- {
- EReference eReference = (EReference) containments.next();
- if (eReference == WSDLPackage.eINSTANCE.getXSDSchemaExtensibilityElement_Schema())
- {
- // TBD - This is an instance of XSDSchemaExtensibilityElement and
- // eRefernce is XSDSchema. What do we want to do for update?
- }
- else if (!eReference.isTransient())
- {
- if (eReference.isMany())
- {
- for (Iterator objects = ((Collection) eGet(eReference)).iterator(); objects.hasNext();)
- {
- obj = objects.next();
- if (!(obj instanceof WSDLElement) || obj == null)
- {
- // Skip it. Probably this is Namespace.
- }
- else
- {
- WSDLElement wsdlElement = (WSDLElement) obj;
- //handleElementForAdopt(eReference, wsdlElement);
- ((WSDLElementImpl) wsdlElement).updateElement();
- }
- }
- }
- else
- {
- WSDLElement wsdlElement = (WSDLElement) eGet(eReference);
- if (wsdlElement != null)
- {
- //handleElementForAdopt(eReference, wsdlElement);
- ((WSDLElementImpl) wsdlElement).updateElement();
- }
- }
- } // end else if
- } // end for
- }
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (eAttribute == WSDLPackage.eINSTANCE.getWSDLElement_Element())
- {
- Element theElement = getElement();
- if (theElement != null && !isReconciling)
- {
- for (Node rootDocument = theElement.getParentNode(); rootDocument != null; rootDocument = rootDocument.getParentNode())
- {
- if (rootDocument.getNodeType() == Node.DOCUMENT_NODE)
- {
- isReconciling = true;
- if (getEnclosingDefinition() == null)
- {
- reconcileAttributes(getElement());
- isReconciling = false;
- }
- else
- {
- reconcile(getElement());
- isReconciling = false;
- traverseToRootForPatching();
- }
- break;
- }
- }
- }
- }
-
- }
-
- protected void traverseToRootForPatching()
- {
- if (!isReconciling)
- {
- WSDLElementImpl container = (WSDLElementImpl)getContainer();
- if (container != null)
- {
- container.traverseToRootForPatching();
- }
- }
- }
-
- protected void reconcile(Element changedElement)
- {
- reconcileAttributes(changedElement);
- reconcileContents(changedElement);
- }
-
- protected void reconcileAttributes(Element changedElement)
- {
- }
-
- protected void reconcileContents(Element changedElement)
- {
- List remainingModelObjects = new ArrayList(getWSDLContents());
-
- Collection contentNodes = getContentNodes(changedElement);
-
- Element theDocumentationElement = null;
-
- // for each applicable child node of changedElement
- LOOP : for (Iterator i = contentNodes.iterator(); i.hasNext();)
- {
- Element child = (Element) i.next();
- // Set Documentation element if exists
- if (WSDLConstants.DOCUMENTATION_ELEMENT_TAG.equals(child.getLocalName()) &&
- WSDLConstants.isMatchingNamespace(child.getNamespaceURI(), WSDLConstants.WSDL_NAMESPACE_URI))
- {
- // assume the first 'documentation' element is 'the' documentation element
- // 'there can be only one!'
- if (theDocumentationElement == null)
- {
- theDocumentationElement = child;
- }
- }
- // go thru the model objects to collect matching object for reuse
- for (Iterator contents = remainingModelObjects.iterator(); contents.hasNext();)
- {
- Object modelObject = (Object) contents.next();
- if (((WSDLElement) modelObject).getElement() == child)
- {
- contents.remove(); // removes the 'child' Node from the remainingModelObjects list
- continue LOOP;
- }
- }
-
- // if the documentation element has changed... update it
- //
- if (theDocumentationElement != getDocumentationElement())
- {
- setDocumentationElement(theDocumentationElement);
- }
-
- // we haven't found a matching model object for the Node, se we may need to
- // create a new model object
- handleUnreconciledElement(child, remainingModelObjects);
- }
-
- // now we can remove the remaining model objects
- handleReconciliation(remainingModelObjects);
-
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public Definition getEnclosingDefinition()
- {
- if (enclosingDefinition != null)
- return enclosingDefinition;
-
- // TBD - Revisit
- //EObject c = eContaier(); c != null; c = c.eContainter())
- //{
-
- for (WSDLElement container = this; container != null; container = ((WSDLElementImpl) container).getContainer())
- {
- if (container instanceof Definition)
- {
- enclosingDefinition = (Definition) container;
- return enclosingDefinition;
- }
- }
-
- return null;
- }
-
- /*
- public Definition getRootEnclosingDefinition()
- {
- if (enclosingDefinition == null)
- {
- Resource resource = eResource();
- List contents = resource.getContents();
- if (contents.size() == 1
- && contents.get(0) instanceof Definition)
- enclosingDefinition = (Definition)contents.get(0);
- }
- return enclosingDefinition;
- }
- */
-
- public WSDLElement getContainer()
- {
- return eContainer() instanceof WSDLElement ? (WSDLElement) eContainer() : null;
- }
-
- protected void niceSetAttribute(Element element, String attribute, String value)
- {
- if (isReconciling)
- {
- //System.out.println("**** cyclic dom attribute writeback avoided " + eClass().getName());
- return;
- }
-
- if (value == null)
- {
- if (element.hasAttributeNS(null, attribute))
- {
- updatingDOM = true;
- element.removeAttribute(attribute);
- updatingDOM = false;
- }
- }
- else if (!element.hasAttributeNS(null, attribute) || !element.getAttributeNS(null, attribute).equals(value))
- {
- updatingDOM = true;
- element.setAttributeNS(null, attribute, value);
- updatingDOM = false;
- }
- }
-
- protected String niceCreateNamespaceAttribute(String namespace)
- {
- // Create and return a unique prefix for "namespace."
- return null;
- }
-
- protected void niceSetAttributeURIValue(Element element, String attribute, String uriList)
- {
- if (isReconciling)
- {
- // System.out.println("**** cyclic dom attribute writeback avoided " + eClass().getName());
- return;
- }
-
- if (uriList == null)
- {
- updatingDOM = true;
- element.removeAttribute(attribute);
- updatingDOM = false;
- }
- else
- {
- StringBuffer value = new StringBuffer();
- for (StringTokenizer stringTokenizer = new StringTokenizer(uriList, " "); stringTokenizer.hasMoreElements();)
- {
- String uri = stringTokenizer.nextToken();
- String namespace = null;
- String localName = uri;
- int index = uri.lastIndexOf("#");
- if (index != -1)
- {
- if (index > 0)
- {
- namespace = uri.substring(0, index);
- }
- localName = uri.substring(index + 1);
- }
- String qualifier = XSDConstants.lookupQualifier(element, namespace);
- if (qualifier == null)
- {
- qualifier = niceCreateNamespaceAttribute(namespace);
- }
-
- String qName = qualifier == null || qualifier.length() == 0 ? localName : qualifier + ":" + localName;
-
- if (value.length() != 0)
- {
- value.append(' ');
- }
- value.append(qName);
- }
-
- if (!element.hasAttributeNS(null, attribute) || !element.getAttributeNS(null, attribute).equals(value.toString()))
- {
- updatingDOM = true;
- element.setAttributeNS(null, attribute, value.toString());
- updatingDOM = false;
- }
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- }
-
- protected Element createElement() // Should I make this abstract?
- {
- return null;
- }
-
- protected final Element createElement(int nodeType)
- {
- Definition definition = null;
- if (this instanceof Definition)
- definition = (Definition) this;
- else
- definition = getEnclosingDefinition();
-
- if (definition == null)
- return null;
-
- Document document = definition.getDocument();
- if (document == null)
- document = ((DefinitionImpl) definition).updateDocument();
-
- // Retrieve the namespace prefix for the WSDL namespace
- String wsdlNamespace = WSDLConstants.WSDL_NAMESPACE_URI;
- String qualifier = definition.getPrefix(wsdlNamespace);
-
- Element newElement = document.createElementNS(wsdlNamespace, (qualifier == null ? "" : qualifier + ":") + WSDLConstants.getElementTag(nodeType));
-
- if (document.getDocumentElement() == null)
- document.appendChild(newElement);
-
- if (getDocumentationElement() != null)
- newElement.appendChild(document.importNode(getDocumentationElement(), true));
-
- return newElement;
- }
-
- public void reconcileReferences(boolean deep)
- {
- if (deep)
- {
- for (Iterator contents = getWSDLContents().iterator(); contents.hasNext();)
- {
- Object content = contents.next();
- if (content instanceof WSDLElementImpl)
- {
- WSDLElementImpl element = (WSDLElementImpl) content;
- element.isReconciling = true;
- element.reconcileReferences(true);
- element.isReconciling = false;
- }
- }
- }
- }
-
- public WSDLElement getBestWSDLElement(List elementPath)
- {
- WSDLElement result = this;
- for (Iterator components = getWSDLContents().iterator(); components.hasNext(); )
- {
- Object object = components.next();
- if (object instanceof WSDLElementImpl) {
- WSDLElementImpl childWSDLElement = (WSDLElementImpl) object;
-
- if (elementPath.contains(childWSDLElement.getElement()))
- {
- result = childWSDLElement;
- WSDLElement betterWSDLElement = childWSDLElement.getBestWSDLElement(elementPath);
- if (betterWSDLElement != null)
- {
- result = betterWSDLElement;
- }
-
- if (!considerAllContainsForBestWSDLElement())
- {
- break;
- }
- }
- }
- }
-
- return result;
- }
-
- protected boolean considerAllContainsForBestWSDLElement()
- {
- return false;
- }
-
- public void elementAttributesChanged(Element changedElement)
- {
- if (!isUpdatingDOM())
- {
- if (!isReconciling)
- {
- // System.out.println("**** changeFor " + eClass().getName());
-
- isReconciling = true;
- reconcileAttributes(changedElement);
-
- WSDLElementImpl theContainer = (WSDLElementImpl)getContainer();
- if (theContainer != null && theContainer.getElement() == changedElement)
- {
- theContainer.elementAttributesChanged(changedElement);
- }
-
- isReconciling = false;
- traverseToRootForPatching();
- }
- else
- {
- // System.out.println("**** cyclic internal reconcile avoided " + eClass().getName());
- }
- }
- else
- {
- // System.out.println("**** cyclic DOM reconcile avoided " + eClass().getName());
- }
- }
-
- public void elementContentsChanged(Element changedElement)
- {
- if (!isUpdatingDOM())
- {
- if (!isReconciling)
- {
- // System.out.println("**** changeFor " + eClass().getName());
-
- isReconciling = true;
- reconcileContents(changedElement);
-
- WSDLElementImpl theContainer = (WSDLElementImpl)getContainer();
- if (theContainer != null && theContainer.getElement() == changedElement)
- {
- theContainer.elementContentsChanged(changedElement);
- }
-
- isReconciling = false;
- traverseToRootForPatching();
- }
- else
- {
- // System.out.println("**** cyclic internal reconcile avoided " + eClass().getName());
- }
- }
- else
- {
- // System.out.println("**** cyclic DOM reconcile avoided " + eClass().getName());
- }
- }
-
- protected void updatePrefix(Node node, String namespace, String oldPrefix, String newPrefix)
- {
- if ((namespace == null ? node.getNamespaceURI() == null : namespace.equals(node.getNamespaceURI())) &&
- (oldPrefix == null ? node.getPrefix() == null : oldPrefix.equals(node.getPrefix())))
- {
- node.setPrefix(newPrefix);
- }
-
- for (Node child = node.getFirstChild(); child != null; child = child.getNextSibling())
- {
- updatePrefix(child, namespace, oldPrefix, newPrefix);
- }
- }
-
- protected String getNamespace(Element element)
- {
- String name = element.getTagName();
- int index = name.indexOf(":");
- if (index == -1)
- return null;
- else if (getEnclosingDefinition() != null)
- return getEnclosingDefinition().getNamespace(name.substring(0,index));
- else
- return null;
- }
-
- protected String getLocalName(Element element)
- {
- String name = element.getTagName();
- int index = name.indexOf(":");
- if ( index == -1)
- return name;
- else
- return name.substring(index+1);
- }
-
-} //WSDLElementImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLFactoryImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLFactoryImpl.java
deleted file mode 100644
index c6cdfd3d9..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLFactoryImpl.java
+++ /dev/null
@@ -1,523 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import javax.wsdl.OperationType;
-import javax.wsdl.WSDLException;
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Namespace;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.UnknownExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.WSDLPlugin;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class WSDLFactoryImpl extends EFactoryImpl implements WSDLFactory
-{
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WSDLFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case WSDLPackage.PORT_TYPE: return createPortType();
- case WSDLPackage.OPERATION: return createOperation();
- case WSDLPackage.MESSAGE: return createMessage();
- case WSDLPackage.PART: return createPart();
- case WSDLPackage.BINDING: return createBinding();
- case WSDLPackage.BINDING_OPERATION: return createBindingOperation();
- case WSDLPackage.SERVICE: return createService();
- case WSDLPackage.PORT: return createPort();
- case WSDLPackage.EXTENSIBILITY_ELEMENT: return createExtensibilityElement();
- case WSDLPackage.DEFINITION: return createDefinition();
- case WSDLPackage.IMPORT: return createImport();
- case WSDLPackage.INPUT: return createInput();
- case WSDLPackage.OUTPUT: return createOutput();
- case WSDLPackage.FAULT: return createFault();
- case WSDLPackage.BINDING_INPUT: return createBindingInput();
- case WSDLPackage.BINDING_OUTPUT: return createBindingOutput();
- case WSDLPackage.BINDING_FAULT: return createBindingFault();
- case WSDLPackage.NAMESPACE: return createNamespace();
- case WSDLPackage.TYPES: return createTypes();
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT: return createUnknownExtensibilityElement();
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT: return createXSDSchemaExtensibilityElement();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case WSDLPackage.QNAME:
- return createQNameFromString(eDataType, initialValue);
- case WSDLPackage.OPERATION_TYPE:
- return createOperationTypeFromString(eDataType, initialValue);
- case WSDLPackage.DOM_ELEMENT:
- return createDOMElementFromString(eDataType, initialValue);
- case WSDLPackage.WSDL_EXCEPTION:
- return createWSDLExceptionFromString(eDataType, initialValue);
- case WSDLPackage.DOM_DOCUMENT:
- return createDOMDocumentFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case WSDLPackage.QNAME:
- return convertQNameToString(eDataType, instanceValue);
- case WSDLPackage.OPERATION_TYPE:
- return convertOperationTypeToString(eDataType, instanceValue);
- case WSDLPackage.DOM_ELEMENT:
- return convertDOMElementToString(eDataType, instanceValue);
- case WSDLPackage.WSDL_EXCEPTION:
- return convertWSDLExceptionToString(eDataType, instanceValue);
- case WSDLPackage.DOM_DOCUMENT:
- return convertDOMDocumentToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PortType createPortType()
- {
- PortTypeImpl portType = new PortTypeImpl();
- return portType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Operation createOperation()
- {
- OperationImpl operation = new OperationImpl();
- return operation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message createMessage()
- {
- MessageImpl message = new MessageImpl();
- return message;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part createPart()
- {
- PartImpl part = new PartImpl();
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Binding createBinding()
- {
- BindingImpl binding = new BindingImpl();
- return binding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BindingOperation createBindingOperation()
- {
- BindingOperationImpl bindingOperation = new BindingOperationImpl();
- return bindingOperation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Service createService()
- {
- ServiceImpl service = new ServiceImpl();
- return service;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Port createPort()
- {
- PortImpl port = new PortImpl();
- return port;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExtensibilityElement createExtensibilityElement()
- {
- ExtensibilityElementImpl extensibilityElement = new ExtensibilityElementImpl();
- return extensibilityElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Definition createDefinition()
- {
- DefinitionImpl definition = new DefinitionImpl();
- return definition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Import createImport()
- {
- ImportImpl import_ = new ImportImpl();
- return import_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Input createInput()
- {
- InputImpl input = new InputImpl();
- return input;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Output createOutput()
- {
- OutputImpl output = new OutputImpl();
- return output;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Fault createFault()
- {
- FaultImpl fault = new FaultImpl();
- return fault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BindingInput createBindingInput()
- {
- BindingInputImpl bindingInput = new BindingInputImpl();
- return bindingInput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BindingOutput createBindingOutput()
- {
- BindingOutputImpl bindingOutput = new BindingOutputImpl();
- return bindingOutput;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BindingFault createBindingFault()
- {
- BindingFaultImpl bindingFault = new BindingFaultImpl();
- return bindingFault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Namespace createNamespace()
- {
- NamespaceImpl namespace = new NamespaceImpl();
- return namespace;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Types createTypes()
- {
- TypesImpl types = new TypesImpl();
- return types;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UnknownExtensibilityElement createUnknownExtensibilityElement()
- {
- UnknownExtensibilityElementImpl unknownExtensibilityElement = new UnknownExtensibilityElementImpl();
- return unknownExtensibilityElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDSchemaExtensibilityElement createXSDSchemaExtensibilityElement()
- {
- XSDSchemaExtensibilityElementImpl xsdSchemaExtensibilityElement = new XSDSchemaExtensibilityElementImpl();
- return xsdSchemaExtensibilityElement;
- }
-
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QName createQNameFromString(EDataType eDataType, String initialValue)
- {
- return (QName)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertQNameToString(EDataType eDataType, Object instanceValue)
- {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationType createOperationTypeFromString(EDataType eDataType, String initialValue)
- {
- return (OperationType)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertOperationTypeToString(EDataType eDataType, Object instanceValue)
- {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element createDOMElementFromString(EDataType eDataType, String initialValue)
- {
- return (Element)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertDOMElementToString(EDataType eDataType, Object instanceValue)
- {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WSDLException createWSDLExceptionFromString(EDataType eDataType, String initialValue)
- {
- return (WSDLException)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertWSDLExceptionToString(EDataType eDataType, Object instanceValue)
- {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Document createDOMDocumentFromString(EDataType eDataType, String initialValue)
- {
- return (Document)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertDOMDocumentToString(EDataType eDataType, Object instanceValue)
- {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WSDLPackage getWSDLPackage()
- {
- return (WSDLPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static WSDLPackage getPackage()
- {
- return WSDLPackage.eINSTANCE;
- }
-
- //
- //
- //
- public ExtensibilityElement createExtensibilityElement(String namespace, String localName)
- {
- ExtensibilityElementFactory factory = WSDLPlugin.INSTANCE.getExtensibilityElementFactory(namespace);
- if (factory != null)
- return factory.createExtensibilityElement(namespace, localName);
- else
- return createUnknownExtensibilityElement();
- }
-
- /*
- public void setAlwaysUseUnknownExtensibilityElement(boolean value)
- {
- System.out.println("Deprecated: WSDLFactoryImpl.setUseExtensionFactories");
- }
- */
-} //WSDLFactoryImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLPackageImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLPackageImpl.java
deleted file mode 100644
index 84c303d9e..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLPackageImpl.java
+++ /dev/null
@@ -1,2506 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import java.net.URL;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.wsdl.OperationType;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.ExtensionRegistry;
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Namespace;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.UnknownExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.xsd.XSDPackage;
-import org.eclipse.xsd.impl.XSDPackageImpl;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class WSDLPackageImpl extends EPackageImpl implements WSDLPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass wsdlElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass portTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass operationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass messageEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass partEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bindingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bindingOperationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass serviceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass portEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass extensibilityElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass definitionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass importEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass extensibleElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass inputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass outputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass faultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bindingInputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bindingOutputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bindingFaultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass namespaceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iPortTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iOperationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iInputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iOutputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iFaultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iMessageEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iPartEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iServiceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iPortEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iBindingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iBindingOperationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iBindingInputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iBindingOutputEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iBindingFaultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iExtensibilityElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iDefinitionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iImportEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iMapEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iurlEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iExtensionRegistryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass typesEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iIteratorEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iTypesEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass unknownExtensibilityElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xsdSchemaExtensibilityElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass messageReferenceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType qNameEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType operationTypeEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType domElementEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType wsdlExceptionEDataType = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType domDocumentEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.wsdl.WSDLPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private WSDLPackageImpl()
- {
- super(eNS_URI, WSDLFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static WSDLPackage init()
- {
- if (isInited) return (WSDLPackage)EPackage.Registry.INSTANCE.getEPackage(WSDLPackage.eNS_URI);
-
- // Obtain or create and register package
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof WSDLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new WSDLPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XSDPackageImpl.init();
-
- // Create package meta-data objects
- theWSDLPackage.createPackageContents();
-
- theWSDLPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theWSDLPackage.freeze();
-
- return theWSDLPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getWSDLElement()
- {
- return wsdlElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getWSDLElement_DocumentationElement()
- {
- return (EAttribute) wsdlElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getWSDLElement_Element()
- {
- return (EAttribute) wsdlElementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPortType()
- {
- return portTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPortType_QName()
- {
- return (EAttribute) portTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPortType_Undefined()
- {
- return (EAttribute) portTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPortType_Proxy()
- {
- return (EAttribute) portTypeEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPortType_ResourceURI()
- {
- return (EAttribute) portTypeEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPortType_EOperations()
- {
- return (EReference) portTypeEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOperation()
- {
- return operationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperation_Style()
- {
- return (EAttribute) operationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperation_Name()
- {
- return (EAttribute) operationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperation_Undefined()
- {
- return (EAttribute) operationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperation_Proxy()
- {
- return (EAttribute) operationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperation_ResourceURI()
- {
- return (EAttribute) operationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperation_EInput()
- {
- return (EReference) operationEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperation_EOutput()
- {
- return (EReference) operationEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperation_EFaults()
- {
- return (EReference) operationEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperation_EParameterOrdering()
- {
- return (EReference) operationEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMessage()
- {
- return messageEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMessage_QName()
- {
- return (EAttribute) messageEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMessage_Undefined()
- {
- return (EAttribute) messageEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMessage_Proxy()
- {
- return (EAttribute) messageEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMessage_ResourceURI()
- {
- return (EAttribute) messageEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMessage_EParts()
- {
- return (EReference) messageEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPart()
- {
- return partEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPart_Name()
- {
- return (EAttribute) partEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPart_ElementName()
- {
- return (EAttribute) partEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPart_TypeName()
- {
- return (EAttribute) partEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPart_TypeDefinition()
- {
- return (EReference) partEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPart_ElementDeclaration()
- {
- return (EReference) partEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPart_EMessage()
- {
- return (EReference) partEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBinding()
- {
- return bindingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBinding_QName()
- {
- return (EAttribute) bindingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBinding_Undefined()
- {
- return (EAttribute) bindingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBinding_Proxy()
- {
- return (EAttribute) bindingEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBinding_ResourceURI()
- {
- return (EAttribute) bindingEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBinding_EPortType()
- {
- return (EReference) bindingEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBinding_EBindingOperations()
- {
- return (EReference) bindingEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBindingOperation()
- {
- return bindingOperationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBindingOperation_Name()
- {
- return (EAttribute) bindingOperationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBindingOperation_EOperation()
- {
- return (EReference) bindingOperationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBindingOperation_EBindingInput()
- {
- return (EReference) bindingOperationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBindingOperation_EBindingOutput()
- {
- return (EReference) bindingOperationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBindingOperation_EBindingFaults()
- {
- return (EReference) bindingOperationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getService()
- {
- return serviceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getService_QName()
- {
- return (EAttribute) serviceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getService_Undefined()
- {
- return (EAttribute) serviceEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getService_Proxy()
- {
- return (EAttribute) serviceEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getService_ResourceURI()
- {
- return (EAttribute) serviceEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getService_EPorts()
- {
- return (EReference) serviceEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPort()
- {
- return portEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPort_Name()
- {
- return (EAttribute) portEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPort_EBinding()
- {
- return (EReference) portEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getExtensibilityElement()
- {
- return extensibilityElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getExtensibilityElement_Required()
- {
- return (EAttribute) extensibilityElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getExtensibilityElement_ElementType()
- {
- return (EAttribute) extensibilityElementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDefinition()
- {
- return definitionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDefinition_TargetNamespace()
- {
- return (EAttribute) definitionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDefinition_Location()
- {
- return (EAttribute) definitionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDefinition_QName()
- {
- return (EAttribute) definitionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDefinition_Encoding()
- {
- return (EAttribute) definitionEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefinition_EMessages()
- {
- return (EReference) definitionEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefinition_EPortTypes()
- {
- return (EReference) definitionEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefinition_EBindings()
- {
- return (EReference) definitionEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefinition_EServices()
- {
- return (EReference) definitionEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefinition_ENamespaces()
- {
- return (EReference) definitionEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefinition_ETypes()
- {
- return (EReference) definitionEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefinition_EImports()
- {
- return (EReference) definitionEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getImport()
- {
- return importEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getImport_NamespaceURI()
- {
- return (EAttribute) importEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getImport_LocationURI()
- {
- return (EAttribute) importEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getImport_EDefinition()
- {
- return (EReference) importEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getImport_ESchema()
- {
- return (EReference) importEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getExtensibleElement()
- {
- return extensibleElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getExtensibleElement_EExtensibilityElements()
- {
- return (EReference) extensibleElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInput()
- {
- return inputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOutput()
- {
- return outputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getFault()
- {
- return faultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBindingInput()
- {
- return bindingInputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBindingInput_Name()
- {
- return (EAttribute) bindingInputEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBindingInput_EInput()
- {
- return (EReference) bindingInputEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBindingOutput()
- {
- return bindingOutputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBindingOutput_Name()
- {
- return (EAttribute) bindingOutputEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBindingOutput_EOutput()
- {
- return (EReference) bindingOutputEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBindingFault()
- {
- return bindingFaultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBindingFault_Name()
- {
- return (EAttribute) bindingFaultEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBindingFault_EFault()
- {
- return (EReference) bindingFaultEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNamespace()
- {
- return namespaceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNamespace_URI()
- {
- return (EAttribute) namespaceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNamespace_Prefix()
- {
- return (EAttribute) namespaceEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIPortType()
- {
- return iPortTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIOperation()
- {
- return iOperationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIInput()
- {
- return iInputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIOutput()
- {
- return iOutputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIFault()
- {
- return iFaultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIMessage()
- {
- return iMessageEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIPart()
- {
- return iPartEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIService()
- {
- return iServiceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIPort()
- {
- return iPortEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIBinding()
- {
- return iBindingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIBindingOperation()
- {
- return iBindingOperationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIBindingInput()
- {
- return iBindingInputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIBindingOutput()
- {
- return iBindingOutputEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIBindingFault()
- {
- return iBindingFaultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIExtensibilityElement()
- {
- return iExtensibilityElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIDefinition()
- {
- return iDefinitionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIImport()
- {
- return iImportEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIList()
- {
- return iListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIMap()
- {
- return iMapEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIURL()
- {
- return iurlEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIExtensionRegistry()
- {
- return iExtensionRegistryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTypes()
- {
- return typesEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIIterator()
- {
- return iIteratorEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getITypes()
- {
- return iTypesEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUnknownExtensibilityElement()
- {
- return unknownExtensibilityElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnknownExtensibilityElement_Children()
- {
- return (EReference) unknownExtensibilityElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXSDSchemaExtensibilityElement()
- {
- return xsdSchemaExtensibilityElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXSDSchemaExtensibilityElement_Schema()
- {
- return (EReference) xsdSchemaExtensibilityElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMessageReference()
- {
- return messageReferenceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMessageReference_Name()
- {
- return (EAttribute) messageReferenceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMessageReference_EMessage()
- {
- return (EReference) messageReferenceEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getQName()
- {
- return qNameEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getOperationType()
- {
- return operationTypeEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getDOMElement()
- {
- return domElementEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getWSDLException()
- {
- return wsdlExceptionEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getDOMDocument()
- {
- return domDocumentEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WSDLFactory getWSDLFactory()
- {
- return (WSDLFactory) getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- wsdlElementEClass = createEClass(WSDL_ELEMENT);
- createEAttribute(wsdlElementEClass, WSDL_ELEMENT__DOCUMENTATION_ELEMENT);
- createEAttribute(wsdlElementEClass, WSDL_ELEMENT__ELEMENT);
-
- portTypeEClass = createEClass(PORT_TYPE);
- createEAttribute(portTypeEClass, PORT_TYPE__QNAME);
- createEAttribute(portTypeEClass, PORT_TYPE__UNDEFINED);
- createEAttribute(portTypeEClass, PORT_TYPE__PROXY);
- createEAttribute(portTypeEClass, PORT_TYPE__RESOURCE_URI);
- createEReference(portTypeEClass, PORT_TYPE__EOPERATIONS);
-
- operationEClass = createEClass(OPERATION);
- createEAttribute(operationEClass, OPERATION__STYLE);
- createEAttribute(operationEClass, OPERATION__NAME);
- createEAttribute(operationEClass, OPERATION__UNDEFINED);
- createEAttribute(operationEClass, OPERATION__PROXY);
- createEAttribute(operationEClass, OPERATION__RESOURCE_URI);
- createEReference(operationEClass, OPERATION__EINPUT);
- createEReference(operationEClass, OPERATION__EOUTPUT);
- createEReference(operationEClass, OPERATION__EFAULTS);
- createEReference(operationEClass, OPERATION__EPARAMETER_ORDERING);
-
- messageEClass = createEClass(MESSAGE);
- createEAttribute(messageEClass, MESSAGE__QNAME);
- createEAttribute(messageEClass, MESSAGE__UNDEFINED);
- createEAttribute(messageEClass, MESSAGE__PROXY);
- createEAttribute(messageEClass, MESSAGE__RESOURCE_URI);
- createEReference(messageEClass, MESSAGE__EPARTS);
-
- partEClass = createEClass(PART);
- createEAttribute(partEClass, PART__NAME);
- createEAttribute(partEClass, PART__ELEMENT_NAME);
- createEAttribute(partEClass, PART__TYPE_NAME);
- createEReference(partEClass, PART__TYPE_DEFINITION);
- createEReference(partEClass, PART__ELEMENT_DECLARATION);
- createEReference(partEClass, PART__EMESSAGE);
-
- bindingEClass = createEClass(BINDING);
- createEAttribute(bindingEClass, BINDING__QNAME);
- createEAttribute(bindingEClass, BINDING__UNDEFINED);
- createEAttribute(bindingEClass, BINDING__PROXY);
- createEAttribute(bindingEClass, BINDING__RESOURCE_URI);
- createEReference(bindingEClass, BINDING__EPORT_TYPE);
- createEReference(bindingEClass, BINDING__EBINDING_OPERATIONS);
-
- bindingOperationEClass = createEClass(BINDING_OPERATION);
- createEAttribute(bindingOperationEClass, BINDING_OPERATION__NAME);
- createEReference(bindingOperationEClass, BINDING_OPERATION__EOPERATION);
- createEReference(bindingOperationEClass, BINDING_OPERATION__EBINDING_INPUT);
- createEReference(bindingOperationEClass, BINDING_OPERATION__EBINDING_OUTPUT);
- createEReference(bindingOperationEClass, BINDING_OPERATION__EBINDING_FAULTS);
-
- serviceEClass = createEClass(SERVICE);
- createEAttribute(serviceEClass, SERVICE__QNAME);
- createEAttribute(serviceEClass, SERVICE__UNDEFINED);
- createEAttribute(serviceEClass, SERVICE__PROXY);
- createEAttribute(serviceEClass, SERVICE__RESOURCE_URI);
- createEReference(serviceEClass, SERVICE__EPORTS);
-
- portEClass = createEClass(PORT);
- createEAttribute(portEClass, PORT__NAME);
- createEReference(portEClass, PORT__EBINDING);
-
- extensibilityElementEClass = createEClass(EXTENSIBILITY_ELEMENT);
- createEAttribute(extensibilityElementEClass, EXTENSIBILITY_ELEMENT__REQUIRED);
- createEAttribute(extensibilityElementEClass, EXTENSIBILITY_ELEMENT__ELEMENT_TYPE);
-
- definitionEClass = createEClass(DEFINITION);
- createEAttribute(definitionEClass, DEFINITION__TARGET_NAMESPACE);
- createEAttribute(definitionEClass, DEFINITION__LOCATION);
- createEAttribute(definitionEClass, DEFINITION__QNAME);
- createEAttribute(definitionEClass, DEFINITION__ENCODING);
- createEReference(definitionEClass, DEFINITION__EIMPORTS);
- createEReference(definitionEClass, DEFINITION__ETYPES);
- createEReference(definitionEClass, DEFINITION__EMESSAGES);
- createEReference(definitionEClass, DEFINITION__EPORT_TYPES);
- createEReference(definitionEClass, DEFINITION__EBINDINGS);
- createEReference(definitionEClass, DEFINITION__ESERVICES);
- createEReference(definitionEClass, DEFINITION__ENAMESPACES);
-
- importEClass = createEClass(IMPORT);
- createEAttribute(importEClass, IMPORT__NAMESPACE_URI);
- createEAttribute(importEClass, IMPORT__LOCATION_URI);
- createEReference(importEClass, IMPORT__EDEFINITION);
- createEReference(importEClass, IMPORT__ESCHEMA);
-
- extensibleElementEClass = createEClass(EXTENSIBLE_ELEMENT);
- createEReference(extensibleElementEClass, EXTENSIBLE_ELEMENT__EEXTENSIBILITY_ELEMENTS);
-
- inputEClass = createEClass(INPUT);
-
- outputEClass = createEClass(OUTPUT);
-
- faultEClass = createEClass(FAULT);
-
- bindingInputEClass = createEClass(BINDING_INPUT);
- createEAttribute(bindingInputEClass, BINDING_INPUT__NAME);
- createEReference(bindingInputEClass, BINDING_INPUT__EINPUT);
-
- bindingOutputEClass = createEClass(BINDING_OUTPUT);
- createEAttribute(bindingOutputEClass, BINDING_OUTPUT__NAME);
- createEReference(bindingOutputEClass, BINDING_OUTPUT__EOUTPUT);
-
- bindingFaultEClass = createEClass(BINDING_FAULT);
- createEAttribute(bindingFaultEClass, BINDING_FAULT__NAME);
- createEReference(bindingFaultEClass, BINDING_FAULT__EFAULT);
-
- namespaceEClass = createEClass(NAMESPACE);
- createEAttribute(namespaceEClass, NAMESPACE__URI);
- createEAttribute(namespaceEClass, NAMESPACE__PREFIX);
-
- iPortTypeEClass = createEClass(IPORT_TYPE);
-
- iOperationEClass = createEClass(IOPERATION);
-
- iInputEClass = createEClass(IINPUT);
-
- iOutputEClass = createEClass(IOUTPUT);
-
- iFaultEClass = createEClass(IFAULT);
-
- iMessageEClass = createEClass(IMESSAGE);
-
- iPartEClass = createEClass(IPART);
-
- iServiceEClass = createEClass(ISERVICE);
-
- iPortEClass = createEClass(IPORT);
-
- iBindingEClass = createEClass(IBINDING);
-
- iBindingOperationEClass = createEClass(IBINDING_OPERATION);
-
- iBindingInputEClass = createEClass(IBINDING_INPUT);
-
- iBindingOutputEClass = createEClass(IBINDING_OUTPUT);
-
- iBindingFaultEClass = createEClass(IBINDING_FAULT);
-
- iExtensibilityElementEClass = createEClass(IEXTENSIBILITY_ELEMENT);
-
- iDefinitionEClass = createEClass(IDEFINITION);
-
- iImportEClass = createEClass(IIMPORT);
-
- iListEClass = createEClass(ILIST);
-
- iMapEClass = createEClass(IMAP);
-
- iurlEClass = createEClass(IURL);
-
- iExtensionRegistryEClass = createEClass(IEXTENSION_REGISTRY);
-
- typesEClass = createEClass(TYPES);
-
- iIteratorEClass = createEClass(IITERATOR);
-
- iTypesEClass = createEClass(ITYPES);
-
- unknownExtensibilityElementEClass = createEClass(UNKNOWN_EXTENSIBILITY_ELEMENT);
- createEReference(unknownExtensibilityElementEClass, UNKNOWN_EXTENSIBILITY_ELEMENT__CHILDREN);
-
- xsdSchemaExtensibilityElementEClass = createEClass(XSD_SCHEMA_EXTENSIBILITY_ELEMENT);
- createEReference(xsdSchemaExtensibilityElementEClass, XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA);
-
- messageReferenceEClass = createEClass(MESSAGE_REFERENCE);
- createEAttribute(messageReferenceEClass, MESSAGE_REFERENCE__NAME);
- createEReference(messageReferenceEClass, MESSAGE_REFERENCE__EMESSAGE);
-
- // Create data types
- qNameEDataType = createEDataType(QNAME);
- operationTypeEDataType = createEDataType(OPERATION_TYPE);
- domElementEDataType = createEDataType(DOM_ELEMENT);
- wsdlExceptionEDataType = createEDataType(WSDL_EXCEPTION);
- domDocumentEDataType = createEDataType(DOM_DOCUMENT);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XSDPackageImpl theXSDPackage = (XSDPackageImpl) EPackage.Registry.INSTANCE.getEPackage(XSDPackage.eNS_URI);
-
- // Add supertypes to classes
- portTypeEClass.getESuperTypes().add(this.getWSDLElement());
- portTypeEClass.getESuperTypes().add(this.getIPortType());
- operationEClass.getESuperTypes().add(this.getWSDLElement());
- operationEClass.getESuperTypes().add(this.getIOperation());
- messageEClass.getESuperTypes().add(this.getWSDLElement());
- messageEClass.getESuperTypes().add(this.getIMessage());
- partEClass.getESuperTypes().add(this.getWSDLElement());
- partEClass.getESuperTypes().add(this.getIPart());
- bindingEClass.getESuperTypes().add(this.getExtensibleElement());
- bindingEClass.getESuperTypes().add(this.getIBinding());
- bindingOperationEClass.getESuperTypes().add(this.getExtensibleElement());
- bindingOperationEClass.getESuperTypes().add(this.getIBindingOperation());
- serviceEClass.getESuperTypes().add(this.getExtensibleElement());
- serviceEClass.getESuperTypes().add(this.getIService());
- portEClass.getESuperTypes().add(this.getExtensibleElement());
- portEClass.getESuperTypes().add(this.getIPort());
- extensibilityElementEClass.getESuperTypes().add(this.getWSDLElement());
- extensibilityElementEClass.getESuperTypes().add(this.getIExtensibilityElement());
- definitionEClass.getESuperTypes().add(this.getExtensibleElement());
- definitionEClass.getESuperTypes().add(this.getIDefinition());
- importEClass.getESuperTypes().add(this.getWSDLElement());
- importEClass.getESuperTypes().add(this.getIImport());
- extensibleElementEClass.getESuperTypes().add(this.getWSDLElement());
- inputEClass.getESuperTypes().add(this.getMessageReference());
- inputEClass.getESuperTypes().add(this.getWSDLElement());
- inputEClass.getESuperTypes().add(this.getIInput());
- outputEClass.getESuperTypes().add(this.getMessageReference());
- outputEClass.getESuperTypes().add(this.getWSDLElement());
- outputEClass.getESuperTypes().add(this.getIOutput());
- faultEClass.getESuperTypes().add(this.getMessageReference());
- faultEClass.getESuperTypes().add(this.getWSDLElement());
- faultEClass.getESuperTypes().add(this.getIFault());
- bindingInputEClass.getESuperTypes().add(this.getExtensibleElement());
- bindingInputEClass.getESuperTypes().add(this.getIBindingInput());
- bindingOutputEClass.getESuperTypes().add(this.getExtensibleElement());
- bindingOutputEClass.getESuperTypes().add(this.getIBindingOutput());
- bindingFaultEClass.getESuperTypes().add(this.getExtensibleElement());
- bindingFaultEClass.getESuperTypes().add(this.getIBindingFault());
- typesEClass.getESuperTypes().add(this.getExtensibleElement());
- typesEClass.getESuperTypes().add(this.getITypes());
- unknownExtensibilityElementEClass.getESuperTypes().add(this.getExtensibilityElement());
- xsdSchemaExtensibilityElementEClass.getESuperTypes().add(this.getExtensibilityElement());
- messageReferenceEClass.getESuperTypes().add(this.getWSDLElement());
-
- // Initialize classes and features; add operations and parameters
- initEClass(wsdlElementEClass, WSDLElement.class, "WSDLElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getWSDLElement_DocumentationElement(), this.getDOMElement(), "documentationElement", null, 0, 1, WSDLElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getWSDLElement_Element(), this.getDOMElement(), "element", null, 0, 1, WSDLElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- addEOperation(wsdlElementEClass, this.getDefinition(), "getEnclosingDefinition");
-
- EOperation op = addEOperation(wsdlElementEClass, null, "setEnclosingDefinition");
- addEParameter(op, this.getDefinition(), "definition");
-
- initEClass(portTypeEClass, PortType.class, "PortType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPortType_QName(), this.getQName(), "qName", null, 0, 1, PortType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPortType_Undefined(), ecorePackage.getEBoolean(), "undefined", null, 0, 1, PortType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPortType_Proxy(), ecorePackage.getEBoolean(), "proxy", null, 0, 1, PortType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPortType_ResourceURI(), ecorePackage.getEString(), "resourceURI", null, 0, 1, PortType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPortType_EOperations(), this.getOperation(), null, "eOperations", null, 0, -1, PortType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(operationEClass, Operation.class, "Operation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOperation_Style(), this.getOperationType(), "style", null, 0, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperation_Name(), ecorePackage.getEString(), "name", null, 0, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperation_Undefined(), ecorePackage.getEBoolean(), "undefined", null, 0, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperation_Proxy(), ecorePackage.getEBoolean(), "proxy", null, 0, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperation_ResourceURI(), ecorePackage.getEString(), "resourceURI", null, 0, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperation_EInput(), this.getInput(), null, "eInput", null, 0, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperation_EOutput(), this.getOutput(), null, "eOutput", null, 0, 1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperation_EFaults(), this.getFault(), null, "eFaults", null, 0, -1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperation_EParameterOrdering(), this.getPart(), null, "eParameterOrdering", null, 0, -1, Operation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(messageEClass, Message.class, "Message", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMessage_QName(), this.getQName(), "qName", null, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMessage_Undefined(), ecorePackage.getEBoolean(), "undefined", null, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMessage_Proxy(), ecorePackage.getEBoolean(), "proxy", null, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMessage_ResourceURI(), ecorePackage.getEString(), "resourceURI", null, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMessage_EParts(), this.getPart(), null, "eParts", null, 0, -1, Message.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(partEClass, Part.class, "Part", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPart_Name(), ecorePackage.getEString(), "name", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPart_ElementName(), this.getQName(), "elementName", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPart_TypeName(), this.getQName(), "typeName", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPart_TypeDefinition(), theXSDPackage.getXSDTypeDefinition(), null, "typeDefinition", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPart_ElementDeclaration(), theXSDPackage.getXSDElementDeclaration(), null, "elementDeclaration", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPart_EMessage(), this.getMessage(), null, "eMessage", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bindingEClass, Binding.class, "Binding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBinding_QName(), this.getQName(), "qName", null, 0, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBinding_Undefined(), ecorePackage.getEBoolean(), "undefined", null, 0, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBinding_Proxy(), ecorePackage.getEBoolean(), "proxy", null, 0, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBinding_ResourceURI(), ecorePackage.getEString(), "resourceURI", null, 0, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBinding_EPortType(), this.getPortType(), null, "ePortType", null, 1, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBinding_EBindingOperations(), this.getBindingOperation(), null, "eBindingOperations", null, 0, -1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bindingOperationEClass, BindingOperation.class, "BindingOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBindingOperation_Name(), ecorePackage.getEString(), "name", null, 0, 1, BindingOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBindingOperation_EOperation(), this.getOperation(), null, "eOperation", null, 1, 1, BindingOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBindingOperation_EBindingInput(), this.getBindingInput(), null, "eBindingInput", null, 0, 1, BindingOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBindingOperation_EBindingOutput(), this.getBindingOutput(), null, "eBindingOutput", null, 0, 1, BindingOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBindingOperation_EBindingFaults(), this.getBindingFault(), null, "eBindingFaults", null, 0, -1, BindingOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(serviceEClass, Service.class, "Service", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getService_QName(), this.getQName(), "qName", null, 0, 1, Service.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getService_Undefined(), ecorePackage.getEBoolean(), "undefined", null, 0, 1, Service.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getService_Proxy(), ecorePackage.getEBoolean(), "proxy", null, 0, 1, Service.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getService_ResourceURI(), ecorePackage.getEString(), "resourceURI", null, 0, 1, Service.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getService_EPorts(), this.getPort(), null, "ePorts", null, 0, -1, Service.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(portEClass, Port.class, "Port", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPort_Name(), ecorePackage.getEString(), "name", null, 0, 1, Port.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPort_EBinding(), this.getBinding(), null, "eBinding", null, 1, 1, Port.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(extensibilityElementEClass, ExtensibilityElement.class, "ExtensibilityElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getExtensibilityElement_Required(), ecorePackage.getEBoolean(), "required", null, 0, 1, ExtensibilityElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getExtensibilityElement_ElementType(), this.getQName(), "elementType", null, 0, 1, ExtensibilityElement.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(definitionEClass, Definition.class, "Definition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDefinition_TargetNamespace(), ecorePackage.getEString(), "targetNamespace", null, 0, 1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDefinition_Location(), ecorePackage.getEString(), "location", null, 0, 1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDefinition_QName(), this.getQName(), "qName", null, 0, 1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDefinition_Encoding(), ecorePackage.getEString(), "encoding", null, 0, 1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinition_EImports(), this.getImport(), null, "eImports", null, 0, -1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinition_ETypes(), this.getTypes(), null, "eTypes", null, 0, 1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinition_EMessages(), this.getMessage(), null, "eMessages", null, 0, -1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinition_EPortTypes(), this.getPortType(), null, "ePortTypes", null, 0, -1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinition_EBindings(), this.getBinding(), null, "eBindings", null, 0, -1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinition_EServices(), this.getService(), null, "eServices", null, 0, -1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinition_ENamespaces(), this.getNamespace(), null, "eNamespaces", null, 0, -1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- addEOperation(definitionEClass, this.getDOMDocument(), "getDocument");
-
- op = addEOperation(definitionEClass, null, "setDocument");
- addEParameter(op, this.getDOMDocument(), "document");
-
- initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getImport_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getImport_LocationURI(), ecorePackage.getEString(), "locationURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getImport_EDefinition(), this.getDefinition(), null, "eDefinition", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getImport_ESchema(), theXSDPackage.getXSDSchema(), null, "eSchema", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- addEOperation(importEClass, theXSDPackage.getXSDSchema(), "getSchema");
-
- op = addEOperation(importEClass, null, "setSchema");
- addEParameter(op, theXSDPackage.getXSDSchema(), "schema");
-
- initEClass(extensibleElementEClass, ExtensibleElement.class, "ExtensibleElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExtensibleElement_EExtensibilityElements(), this.getExtensibilityElement(), null, "eExtensibilityElements", null, 0, -1, ExtensibleElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- addEOperation(extensibleElementEClass, this.getIList(), "getExtensibilityElements");
-
- op = addEOperation(extensibleElementEClass, null, "addExtensibilityElement");
- addEParameter(op, this.getIExtensibilityElement(), "extElement");
-
- initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(outputEClass, Output.class, "Output", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(faultEClass, Fault.class, "Fault", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(bindingInputEClass, BindingInput.class, "BindingInput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBindingInput_Name(), ecorePackage.getEString(), "name", null, 0, 1, BindingInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBindingInput_EInput(), this.getInput(), null, "eInput", null, 1, 1, BindingInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- addEOperation(bindingInputEClass, this.getIInput(), "getInput");
-
- op = addEOperation(bindingInputEClass, null, "setInput");
- addEParameter(op, this.getIInput(), "input");
-
- initEClass(bindingOutputEClass, BindingOutput.class, "BindingOutput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBindingOutput_Name(), ecorePackage.getEString(), "name", null, 0, 1, BindingOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBindingOutput_EOutput(), this.getOutput(), null, "eOutput", null, 1, 1, BindingOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- addEOperation(bindingOutputEClass, this.getIOutput(), "getOutput");
-
- op = addEOperation(bindingOutputEClass, null, "setOutput");
- addEParameter(op, this.getIOutput(), "output");
-
- initEClass(bindingFaultEClass, BindingFault.class, "BindingFault", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBindingFault_Name(), ecorePackage.getEString(), "name", null, 0, 1, BindingFault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBindingFault_EFault(), this.getFault(), null, "eFault", null, 1, 1, BindingFault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- addEOperation(bindingFaultEClass, this.getIFault(), "getFault");
-
- op = addEOperation(bindingFaultEClass, null, "setFault");
- addEParameter(op, this.getIFault(), "fault");
-
- initEClass(namespaceEClass, Namespace.class, "Namespace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNamespace_URI(), ecorePackage.getEString(), "URI", null, 0, 1, Namespace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNamespace_Prefix(), ecorePackage.getEString(), "prefix", null, 0, 1, Namespace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(iPortTypeEClass, javax.wsdl.PortType.class, "IPortType", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iPortTypeEClass, null, "addOperation");
- addEParameter(op, this.getIOperation(), "operation");
-
- op = addEOperation(iPortTypeEClass, this.getIOperation(), "getOperation");
- addEParameter(op, ecorePackage.getEString(), "name");
- addEParameter(op, ecorePackage.getEString(), "inputName");
- addEParameter(op, ecorePackage.getEString(), "outputName");
-
- addEOperation(iPortTypeEClass, this.getIList(), "getOperations");
-
- initEClass(iOperationEClass, javax.wsdl.Operation.class, "IOperation", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iOperationEClass, null, "addFault");
- addEParameter(op, this.getIFault(), "fault");
-
- op = addEOperation(iOperationEClass, this.getIFault(), "getFault");
- addEParameter(op, ecorePackage.getEString(), "name");
-
- addEOperation(iOperationEClass, this.getIMap(), "getFaults");
-
- addEOperation(iOperationEClass, this.getIList(), "getParameterOrdering");
-
- op = addEOperation(iOperationEClass, null, "setParameterOrdering");
- addEParameter(op, this.getIList(), "parameterOrder");
-
- addEOperation(iOperationEClass, this.getIInput(), "getInput");
-
- op = addEOperation(iOperationEClass, null, "setInput");
- addEParameter(op, this.getIInput(), "input");
-
- addEOperation(iOperationEClass, this.getIOutput(), "getOutput");
-
- op = addEOperation(iOperationEClass, null, "setOutput");
- addEParameter(op, this.getIOutput(), "output");
-
- initEClass(iInputEClass, javax.wsdl.Input.class, "IInput", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- addEOperation(iInputEClass, this.getIMessage(), "getMessage");
-
- op = addEOperation(iInputEClass, null, "setMessage");
- addEParameter(op, this.getIMessage(), "message");
-
- initEClass(iOutputEClass, javax.wsdl.Output.class, "IOutput", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- addEOperation(iOutputEClass, this.getIMessage(), "getMessage");
-
- op = addEOperation(iOutputEClass, null, "setMessage");
- addEParameter(op, this.getIMessage(), "message");
-
- initEClass(iFaultEClass, javax.wsdl.Fault.class, "IFault", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- addEOperation(iFaultEClass, this.getIMessage(), "getMessage");
-
- op = addEOperation(iFaultEClass, null, "setMessage");
- addEParameter(op, this.getIMessage(), "message");
-
- initEClass(iMessageEClass, javax.wsdl.Message.class, "IMessage", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iMessageEClass, null, "addPart");
- addEParameter(op, this.getIPart(), "part");
-
- op = addEOperation(iMessageEClass, this.getIPart(), "getPart");
- addEParameter(op, ecorePackage.getEString(), "name");
-
- addEOperation(iMessageEClass, this.getIMap(), "getParts");
-
- op = addEOperation(iMessageEClass, this.getIList(), "getOrderedParts");
- addEParameter(op, this.getIList(), "partOrder");
-
- initEClass(iPartEClass, javax.wsdl.Part.class, "IPart", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iPartEClass, null, "setExtensionAttribute");
- addEParameter(op, this.getQName(), "name");
- addEParameter(op, this.getQName(), "value");
- addEException(op, this.getWSDLException());
-
- addEOperation(iPartEClass, this.getIIterator(), "getExtensionAttributeNames");
-
- op = addEOperation(iPartEClass, this.getQName(), "getExtensionAttribute");
- addEParameter(op, this.getQName(), "name");
-
- initEClass(iServiceEClass, javax.wsdl.Service.class, "IService", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iServiceEClass, null, "addPort");
- addEParameter(op, this.getIPort(), "port");
-
- addEOperation(iServiceEClass, this.getIMap(), "getPorts");
-
- op = addEOperation(iServiceEClass, this.getIPort(), "getPort");
- addEParameter(op, ecorePackage.getEString(), "name");
-
- initEClass(iPortEClass, javax.wsdl.Port.class, "IPort", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- addEOperation(iPortEClass, this.getIBinding(), "getBinding");
-
- op = addEOperation(iPortEClass, null, "setBinding");
- addEParameter(op, this.getIBinding(), "binding");
-
- initEClass(iBindingEClass, javax.wsdl.Binding.class, "IBinding", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iBindingEClass, null, "addBindingOperation");
- addEParameter(op, this.getIBindingOperation(), "bindingOperation");
-
- op = addEOperation(iBindingEClass, this.getIBindingOperation(), "getBindingOperation");
- addEParameter(op, ecorePackage.getEString(), "name");
- addEParameter(op, ecorePackage.getEString(), "inputName");
- addEParameter(op, ecorePackage.getEString(), "outputName");
-
- addEOperation(iBindingEClass, this.getIList(), "getBindingOperations");
-
- addEOperation(iBindingEClass, this.getIPortType(), "getPortType");
-
- op = addEOperation(iBindingEClass, null, "setPortType");
- addEParameter(op, this.getIPortType(), "portType");
-
- initEClass(iBindingOperationEClass, javax.wsdl.BindingOperation.class, "IBindingOperation", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iBindingOperationEClass, null, "addBindingFault");
- addEParameter(op, this.getIBindingFault(), "bindingFault");
-
- op = addEOperation(iBindingOperationEClass, this.getIBindingFault(), "getBindingFault");
- addEParameter(op, ecorePackage.getEString(), "name");
-
- addEOperation(iBindingOperationEClass, this.getIMap(), "getBindingFaults");
-
- addEOperation(iBindingOperationEClass, this.getIOperation(), "getOperation");
-
- op = addEOperation(iBindingOperationEClass, null, "setOperation");
- addEParameter(op, this.getIOperation(), "operation");
-
- addEOperation(iBindingOperationEClass, this.getIBindingInput(), "getBindingInput");
-
- op = addEOperation(iBindingOperationEClass, null, "setBindingInput");
- addEParameter(op, this.getIBindingInput(), "bindingInput");
-
- addEOperation(iBindingOperationEClass, this.getIBindingOutput(), "getBindingOutput");
-
- op = addEOperation(iBindingOperationEClass, null, "setBindingOutput");
- addEParameter(op, this.getIBindingOutput(), "bindingOutput");
-
- initEClass(iBindingInputEClass, javax.wsdl.BindingInput.class, "IBindingInput", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iBindingOutputEClass, javax.wsdl.BindingOutput.class, "IBindingOutput", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iBindingFaultEClass, javax.wsdl.BindingFault.class, "IBindingFault", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iExtensibilityElementEClass, javax.wsdl.extensions.ExtensibilityElement.class, "IExtensibilityElement", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iDefinitionEClass, javax.wsdl.Definition.class, "IDefinition", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(iDefinitionEClass, null, "addBinding");
- addEParameter(op, this.getIBinding(), "binding");
-
- op = addEOperation(iDefinitionEClass, null, "addImport");
- addEParameter(op, this.getIImport(), "importDef");
-
- op = addEOperation(iDefinitionEClass, null, "addMessage");
- addEParameter(op, this.getIMessage(), "message");
-
- op = addEOperation(iDefinitionEClass, null, "addNamespace");
- addEParameter(op, ecorePackage.getEString(), "prefix");
- addEParameter(op, ecorePackage.getEString(), "namespaceURI");
-
- op = addEOperation(iDefinitionEClass, null, "addPortType");
- addEParameter(op, this.getIPortType(), "portType");
-
- op = addEOperation(iDefinitionEClass, null, "addService");
- addEParameter(op, this.getIService(), "service");
-
- addEOperation(iDefinitionEClass, this.getIBindingFault(), "createBindingFault");
-
- addEOperation(iDefinitionEClass, this.getIBindingInput(), "createBindingInput");
-
- addEOperation(iDefinitionEClass, this.getIBindingOutput(), "createBindingOutput");
-
- addEOperation(iDefinitionEClass, this.getIBindingOperation(), "createBindingOperation");
-
- addEOperation(iDefinitionEClass, this.getIBinding(), "createBinding");
-
- addEOperation(iDefinitionEClass, this.getIFault(), "createFault");
-
- addEOperation(iDefinitionEClass, this.getIImport(), "createImport");
-
- addEOperation(iDefinitionEClass, this.getIInput(), "createInput");
-
- addEOperation(iDefinitionEClass, this.getIMessage(), "createMessage");
-
- addEOperation(iDefinitionEClass, this.getIOperation(), "createOperation");
-
- addEOperation(iDefinitionEClass, this.getIOutput(), "createOutput");
-
- addEOperation(iDefinitionEClass, this.getIPart(), "createPart");
-
- addEOperation(iDefinitionEClass, this.getIPort(), "createPort");
-
- addEOperation(iDefinitionEClass, this.getIPortType(), "createPortType");
-
- addEOperation(iDefinitionEClass, this.getIService(), "createService");
-
- op = addEOperation(iDefinitionEClass, this.getIBinding(), "getBinding");
- addEParameter(op, this.getQName(), "name");
-
- addEOperation(iDefinitionEClass, this.getIMap(), "getBindings");
-
- addEOperation(iDefinitionEClass, this.getIMap(), "getImports");
-
- op = addEOperation(iDefinitionEClass, this.getIList(), "getImports");
- addEParameter(op, ecorePackage.getEString(), "namespaceURI");
-
- op = addEOperation(iDefinitionEClass, this.getIMessage(), "getMessage");
- addEParameter(op, this.getQName(), "name");
-
- addEOperation(iDefinitionEClass, this.getIMap(), "getMessages");
-
- op = addEOperation(iDefinitionEClass, ecorePackage.getEString(), "getNamespace");
- addEParameter(op, ecorePackage.getEString(), "prefix");
-
- addEOperation(iDefinitionEClass, this.getIMap(), "getNamespaces");
-
- op = addEOperation(iDefinitionEClass, this.getIPortType(), "getPortType");
- addEParameter(op, this.getQName(), "name");
-
- addEOperation(iDefinitionEClass, this.getIMap(), "getPortTypes");
-
- op = addEOperation(iDefinitionEClass, ecorePackage.getEString(), "getPrefix");
- addEParameter(op, ecorePackage.getEString(), "namespaceURI");
-
- op = addEOperation(iDefinitionEClass, this.getIService(), "getService");
- addEParameter(op, this.getQName(), "name");
-
- addEOperation(iDefinitionEClass, this.getIMap(), "getServices");
-
- addEOperation(iDefinitionEClass, this.getIExtensionRegistry(), "getExtensionRegistry");
-
- op = addEOperation(iDefinitionEClass, null, "setExtensionRegistry");
- addEParameter(op, this.getIExtensionRegistry(), "extensionRegistry");
-
- addEOperation(iDefinitionEClass, ecorePackage.getEString(), "getDocumentBaseURI");
-
- op = addEOperation(iDefinitionEClass, null, "setDocumentBaseURI");
- addEParameter(op, ecorePackage.getEString(), "documentBase");
-
- addEOperation(iDefinitionEClass, this.getITypes(), "createTypes");
-
- op = addEOperation(iDefinitionEClass, this.getIService(), "removeService");
- addEParameter(op, this.getQName(), "name");
-
- op = addEOperation(iDefinitionEClass, this.getIBinding(), "removeBinding");
- addEParameter(op, this.getQName(), "name");
-
- op = addEOperation(iDefinitionEClass, this.getIPortType(), "removePortType");
- addEParameter(op, this.getQName(), "name");
-
- op = addEOperation(iDefinitionEClass, this.getIMessage(), "removeMessage");
- addEParameter(op, this.getQName(), "name");
-
- addEOperation(iDefinitionEClass, this.getITypes(), "getTypes");
-
- op = addEOperation(iDefinitionEClass, null, "setTypes");
- addEParameter(op, this.getITypes(), "types");
-
- initEClass(iImportEClass, javax.wsdl.Import.class, "IImport", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iListEClass, List.class, "IList", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iMapEClass, Map.class, "IMap", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iurlEClass, URL.class, "IURL", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iExtensionRegistryEClass, ExtensionRegistry.class, "IExtensionRegistry", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(typesEClass, Types.class, "Types", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- addEOperation(typesEClass, this.getIList(), "getSchemas");
-
- op = addEOperation(typesEClass, this.getIList(), "getSchemas");
- addEParameter(op, ecorePackage.getEString(), "namespaceURI");
-
- initEClass(iIteratorEClass, Iterator.class, "IIterator", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(iTypesEClass, javax.wsdl.Types.class, "ITypes", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(unknownExtensibilityElementEClass, UnknownExtensibilityElement.class, "UnknownExtensibilityElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getUnknownExtensibilityElement_Children(), this.getUnknownExtensibilityElement(), null, "children", null, 0, -1, UnknownExtensibilityElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xsdSchemaExtensibilityElementEClass, XSDSchemaExtensibilityElement.class, "XSDSchemaExtensibilityElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getXSDSchemaExtensibilityElement_Schema(), theXSDPackage.getXSDSchema(), null, "schema", null, 0, 1, XSDSchemaExtensibilityElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(messageReferenceEClass, MessageReference.class, "MessageReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMessageReference_Name(), ecorePackage.getEString(), "name", null, 0, 1, MessageReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMessageReference_EMessage(), this.getMessage(), null, "eMessage", null, 1, 1, MessageReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize data types
- initEDataType(qNameEDataType, QName.class, "QName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(operationTypeEDataType, OperationType.class, "OperationType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(domElementEDataType, Element.class, "DOMElement", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(wsdlExceptionEDataType, WSDLException.class, "WSDLException", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(domDocumentEDataType, Document.class, "DOMDocument", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //WSDLPackageImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/XSDSchemaExtensibilityElementImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/XSDSchemaExtensibilityElementImpl.java
deleted file mode 100644
index e48409d6e..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/XSDSchemaExtensibilityElementImpl.java
+++ /dev/null
@@ -1,414 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.xsd.XSDFactory;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.impl.XSDSchemaImpl;
-import org.eclipse.xsd.util.XSDConstants;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XSD Schema Extensibility Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wsdl.impl.XSDSchemaExtensibilityElementImpl#getSchema <em>Schema</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XSDSchemaExtensibilityElementImpl extends ExtensibilityElementImpl implements XSDSchemaExtensibilityElement
-{
- /**
- * The cached value of the '{@link #getSchema() <em>Schema</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSchema()
- * @generated
- * @ordered
- */
- protected XSDSchema schema = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XSDSchemaExtensibilityElementImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return WSDLPackage.eINSTANCE.getXSDSchemaExtensibilityElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XSDSchema getSchema()
- {
- return schema;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSchema(XSDSchema newSchema, NotificationChain msgs)
- {
- XSDSchema oldSchema = schema;
- schema = newSchema;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA, oldSchema, newSchema);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSchema(XSDSchema newSchema)
- {
- if (newSchema != schema)
- {
- NotificationChain msgs = null;
- if (schema != null)
- msgs = ((InternalEObject)schema).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA, null, msgs);
- if (newSchema != null)
- msgs = ((InternalEObject)newSchema).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA, null, msgs);
- msgs = basicSetSchema(newSchema, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA, newSchema, newSchema));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA:
- return basicSetSchema(null, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT:
- return getElement();
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- return getElementType();
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA:
- return getSchema();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT:
- setElement((Element)newValue);
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA:
- setSchema((XSDSchema)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA:
- setSchema((XSDSchema)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA:
- return schema != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wsdl.impl.WSDLElementImpl#reconcile(org.w3c.dom.Element)
- */
- protected void reconcile(Element changedElement)
- {
- element = changedElement; // This line may not needed.
- if (schema == null)
- {
- XSDSchema newSchema = XSDSchemaImpl.createSchema(changedElement);
- setSchema(newSchema);
- }
- }
-
- public XSDSchema createSchema(Element element)
- {
- if (element.getLocalName().equals("schema") && XSDConstants.isSchemaForSchemaNamespace(element.getNamespaceURI()))
- {
- XSDSchema xsdSchema = XSDFactory.eINSTANCE.createXSDSchema();
- xsdSchema.setElement(element);
- return xsdSchema;
- }
- else
- {
- return null;
- }
- }
-
- public Element getElement()
- {
- if (element != null)
- return element;
- else if (getSchema() != null)
- element = getSchema().getElement();
-
- return element;
- }
-
- public void setElement(Element newElement)
- {
- if (newElement == null && !isReconciling)
- {
- element = null;
- }
- else
- {
- setElementGen(newElement);
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(XSDConstants.SCHEMA_FOR_SCHEMA_URI_2001,XSDConstants.SCHEMA_ELEMENT_TAG);
-
- return elementType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public void setElementType(QName newElementType)
- {
- // Should not do anything.
- }
-
- public void reconcileAttributes(Element changedElement)
- {
- super.reconcileAttributes(changedElement);
- }
-
- public Element createElement()
- {
- if (schema == null) // kb Note: This case is not supposed to happen.
- {
- // cs ... why do we do this if its not supposed to happen?
- // Is there a scenario where this is a usefull fallback?
- // Under what conditions does this code get executed (i.e. why would schema == null)?
- schema = XSDFactory.eINSTANCE.createXSDSchema();
- schema.setSchemaForSchemaQNamePrefix("xsd");
- schema.setTargetNamespace("http://tempuri.org/");
- java.util.Map qNamePrefixToNamespaceMap = schema.getQNamePrefixToNamespaceMap();
- qNamePrefixToNamespaceMap.put("", schema.getTargetNamespace());
- qNamePrefixToNamespaceMap.put
- (schema.getSchemaForSchemaQNamePrefix(),org.eclipse.xsd.util.XSDConstants.SCHEMA_FOR_SCHEMA_URI_2001);
- adopt(schema);
- schema.updateElement(true);
- return schema.getElement();
- }
- else
- {
- element = schema.getElement();
- if (element == null)
- {
- adopt(schema);
- schema.updateElement(true);
- element = schema.getElement();
- }
- return element;
- }
- }
-
- private void adopt(XSDSchema xsdSchema)
- {
- Definition definition = getEnclosingDefinition();
- if (definition == null)
- return;
-
- Document document = definition.getDocument();
- if (document == null)
- document = ((DefinitionImpl) definition).updateDocument();
-
- if (xsdSchema.getDocument() != null)
- xsdSchema.setDocument(null);
-
- xsdSchema.setDocument(document);
- }
-
- /*
- private Element adopt(Element element)
- {
- Definition definition = getEnclosingDefinition();
- if (definition == null)
- return element;
-
- Document document = definition.getDocument();
- if (document == null)
- document = ((DefinitionImpl) definition).updateDocument();
-
- return (Element)document.importNode(element,true);
- }
- */
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- // TODO... revist this block of code
- //
- if (eAttribute == null || eAttribute == WSDLPackage.eINSTANCE.getXSDSchemaExtensibilityElement_Schema())
- {
- // We got a new schema so re-parent it.
- // cs... are we really doing the right thing here? this seems strange
- if (schema != null)
- {
- if ((schema.getElement() == null && getElement() == null) ||
- (schema.getElement() != getElement()))
- {
- schema.setDocument(null);
- schema.setElement(null);
- adopt(schema);
- schema.updateElement();
- }
- }
- }
- else if (eAttribute == WSDLPackage.eINSTANCE.getWSDLElement_Element())
- {
- setSchema(createSchema(element)); // element is not null
- }
- }
-} //XSDSchemaExtensibilityElementImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLFactoryImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLFactoryImpl.java
deleted file mode 100644
index b1bb1803c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLFactoryImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl.wsdl4j;
-
-import javax.wsdl.Definition;
-import javax.wsdl.extensions.ExtensionRegistry;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLReader;
-import javax.wsdl.xml.WSDLWriter;
-
-public final class WSDLFactoryImpl extends WSDLFactory
-{
-
- //public static WSDLFactory newInstance() throws WSDLException
- //{
- // return new WSDLFactoryImpl();
- //}
-
- public WSDLFactoryImpl()
- {
- }
-
- public Definition newDefinition()
- {
- return org.eclipse.wst.wsdl.internal.impl.WSDLFactoryImpl.eINSTANCE.createDefinition();
- }
-
- public ExtensionRegistry newPopulatedExtensionRegistry()
- {
- return null;
- }
-
- public WSDLReader newWSDLReader()
- {
- WSDLReader reader = new WSDLReaderImpl();
- reader.setFactoryImplName(getClass().getName());
- return reader;
- }
-
- public WSDLWriter newWSDLWriter()
- {
- return new WSDLWriterImpl();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLReaderImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLReaderImpl.java
deleted file mode 100644
index 3838d790d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLReaderImpl.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl.wsdl4j;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import javax.wsdl.extensions.ExtensionRegistry;
-import javax.wsdl.xml.WSDLLocator;
-import javax.wsdl.xml.WSDLReader;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.xml.sax.InputSource;
-
-
-public final class WSDLReaderImpl implements WSDLReader
-{
- private String factoryImplName;
- private ExtensionRegistry extReg;
-
- public ExtensionRegistry getExtensionRegistry()
- {
- return extReg;
- }
-
- public void setExtensionRegistry(ExtensionRegistry extReg)
- {
- this.extReg = extReg;
- }
-
- public String getFactoryImplName()
- {
- return factoryImplName;
- }
-
- public void setFactoryImplName(String factoryImplName) throws UnsupportedOperationException
- {
- this.factoryImplName = factoryImplName;
- }
-
-
- public boolean getFeature(String name) throws IllegalArgumentException
- {
- return false;
- }
-
- public void setFeature(String name, boolean value) throws IllegalArgumentException
- {
- throw new IllegalArgumentException("Not Implemented");
- }
-
- /**
- * Read the WSDL document accessible via the specified
- * URI into a WSDL definition.
- *
- * @param wsdlURI a URI (can be a filename or URL) pointing to a
- * WSDL XML definition.
- * @return the definition.
- */
- public Definition readWSDL(String wsdlURI) throws WSDLException
- {
- URI uri;
- if (hasProtocol(wsdlURI))
- uri = URI.createURI(wsdlURI);
- else
- uri = URI.createFileURI(wsdlURI);
-
- // Create a resource set, create a wsdl resource, and load the main wsdl file into it.
-
- ResourceSet resourceSet = new ResourceSetImpl();
- resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
-
- WSDLResourceImpl wsdlMainResource = (WSDLResourceImpl)resourceSet.createResource(URI.createURI("*.wsdl"));
- wsdlMainResource.setURI(uri);
-
- try
- {
- InputStream inputStream = resourceSet.getURIConverter().createInputStream(uri);
- wsdlMainResource.load(inputStream, resourceSet.getLoadOptions());
- //wsdlMainResource.load(resourceSet.getLoadOptions());
- }
- catch (IOException e)
- {
- throw new WSDLException(WSDLException.INVALID_WSDL,"WSDL URI: "+wsdlURI,e);
- }
-
- // Return the definitions of the main resource.
- return wsdlMainResource.getDefinition();
- }
-
- private boolean hasProtocol(String uri)
- {
- boolean result = false;
- if (uri != null)
- {
- int index = uri.indexOf(":");
- if (index != -1 && index > 2) // assume protocol with be length 3 so that the'C' in 'C:/' is not interpreted as a protocol
- {
- result = true;
- }
- }
- return result;
- }
-
- /**
- * Read the WSDL document accessible via the specified
- * URI into a WSDL definition.
- *
- * @param contextURI the context in which to resolve the
- * wsdlURI, if the wsdlURI is relative. Can be null, in which
- * case it will be ignored.
- * @param wsdlURI a URI (can be a filename or URL) pointing to a
- * WSDL XML definition.
- * @return the definition.
- */
- public Definition readWSDL(String contextURI, String wsdlURI) throws WSDLException
- {
- throw new WSDLException(WSDLException.OTHER_ERROR,"Not Implemented");
- }
-
- /**
- * Read the specified &lt;wsdl:definitions&gt; element into a WSDL
- * definition.
- *
- * @param documentBaseURI the document base URI of the WSDL definition
- * described by the element. Will be set as the documentBaseURI
- * of the returned Definition. Can be null, in which case it
- * will be ignored.
- * @param definitionsElement the &lt;wsdl:definitions&gt; element
- * @return the definition described by the element.
- */
- public Definition readWSDL(String documentBaseURI, Element definitionsElement)
- throws WSDLException
- {
- throw new WSDLException(WSDLException.OTHER_ERROR,"Not Implemented");
- }
-
- /**
- * Read the specified WSDL document into a WSDL definition.
- *
- * @param documentBaseURI the document base URI of the WSDL definition
- * described by the document. Will be set as the documentBaseURI
- * of the returned Definition. Can be null, in which case it
- * will be ignored.
- * @param wsdlDocument the WSDL document, an XML
- * document obeying the WSDL schema.
- * @return the definition described in the document.
- */
- public Definition readWSDL(String documentBaseURI, Document wsdlDocument)
- throws WSDLException
- {
- throw new WSDLException(WSDLException.OTHER_ERROR,"Not Implemented");
- }
-
- /**
- * Read a WSDL document into a WSDL definition.
- *
- * @param documentBaseURI the document base URI of the WSDL definition
- * described by the document. Will be set as the documentBaseURI
- * of the returned Definition. Can be null, in which case it
- * will be ignored.
- * @param inputSource an InputSource pointing to the
- * WSDL document, an XML document obeying the WSDL schema.
- * @return the definition described in the document pointed to
- * by the InputSource.
- */
- public Definition readWSDL(String documentBaseURI, InputSource inputSource)
- throws WSDLException
- {
- ResourceSet resourceSet = new ResourceSetImpl();
- resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
- WSDLResourceImpl wsdlMainResource = (WSDLResourceImpl)resourceSet.createResource(URI.createURI("*.wsdl"));
-
- try
- {
- if (documentBaseURI != null)
- wsdlMainResource.setURI(createURI(documentBaseURI));
- resourceSet.getLoadOptions().put(WSDLResourceImpl.CONTINUE_ON_LOAD_ERROR,new Boolean(false));
- wsdlMainResource.load(inputSource.getByteStream(), resourceSet.getLoadOptions());
- }
- catch (IOException ioe)
- {
- throw new WSDLException(WSDLException.INVALID_WSDL, "", ioe);
- }
-
- Definition definition = wsdlMainResource.getDefinition();
- if (definition != null)
- definition.setDocumentBaseURI(documentBaseURI);
-
- return definition;
- }
-
- /**
- * Read a WSDL document into a WSDL definition.
- *
- * @param locator A WSDLLocator object used to provide InputSources
- * pointing to the wsdl file.
- * @return the definition described in the document
- */
- public Definition readWSDL(WSDLLocator locator) throws WSDLException
- {
- throw new WSDLException(WSDLException.OTHER_ERROR,"Not Implemented");
- }
-
- private URI createURI(String uriString)
- {
- if (hasProtocol(uriString))
- return URI.createURI(uriString);
- else
- return URI.createFileURI(uriString);
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLWriterImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLWriterImpl.java
deleted file mode 100644
index 9baf1525c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLWriterImpl.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.impl.wsdl4j;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.Writer;
-
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import javax.wsdl.xml.WSDLWriter;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.w3c.dom.Document;
-
-
-public final class WSDLWriterImpl implements WSDLWriter
-{
- /**
- * Sets the specified feature to the specified value.
- * <p>
- * There are no minimum features that must be supported.
- * <p>
- * All feature names must be fully-qualified, Java package style. All
- * names starting with javax.wsdl. are reserved for features defined
- * by the JWSDL specification. It is recommended that implementation-
- * specific features be fully-qualified to match the package name
- * of that implementation. For example: com.abc.featureName
- *
- * @param name the name of the feature to be set.
- * @param value the value to set the feature to.
- * @throws IllegalArgumentException if the feature name is not recognized.
- * @see #getFeature(String)
- */
- public void setFeature(String name, boolean value) throws IllegalArgumentException
- {
- throw new IllegalArgumentException("Not Implemented");
- }
-
- /**
- * Gets the value of the specified feature.
- *
- * @param name the name of the feature to get the value of.
- * @throws IllegalArgumentException if the feature name is not recognized.
- * @see #setFeature(String, boolean)
- */
- public boolean getFeature(String name) throws IllegalArgumentException
- {
- throw new IllegalArgumentException("Not Implemented");
- }
-
- /**
- * Return a document generated from the specified WSDL model.
- */
- public Document getDocument(Definition wsdlDef) throws WSDLException
- {
- return ((DefinitionImpl)wsdlDef).getDocument();
- }
-
- /**
- * Write the specified WSDL definition to the specified Writer.
- *
- * @param wsdlDef the WSDL definition to be written.
- * @param sink the Writer to write the xml to.
- */
- public void writeWSDL(Definition wsdlDef, Writer sink) throws WSDLException
- {
- String encoding = null;
- try
- {
- TransformerFactory transformerFactory = TransformerFactory.newInstance();
- Transformer transformer = transformerFactory.newTransformer();
-
- transformer.setOutputProperty(OutputKeys.INDENT, "yes");
- transformer.setOutputProperty(OutputKeys.METHOD, "xml");
-
- // Unless a width is set, there will be only line breaks but no indentation.
- // The IBM JDK and the Sun JDK don't agree on the property name,
- // so we set them both.
- //
- transformer.setOutputProperty("{http://xml.apache.org/xalan}indent-amount", "2");
- transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
- if (encoding != null)
- {
- transformer.setOutputProperty(OutputKeys.ENCODING, encoding);
- }
-
- Document document = ((DefinitionImpl)wsdlDef).getDocument();
- if (document == null)
- {
- ((DefinitionImpl)wsdlDef).updateElement(true);
- document = ((DefinitionImpl)wsdlDef).getDocument();
- }
-
- transformer.transform(new DOMSource(document), new StreamResult(sink));
- }
- catch (TransformerException exception)
- {
- throw new WSDLException(WSDLException.OTHER_ERROR,"Failed to save Definitions.",exception);
- }
-
- }
-
- /**
- * Write the specified WSDL definition to the specified OutputStream.
- *
- * @param wsdlDef the WSDL definition to be written.
- * @param sink the OutputStream to write the xml to.
- */
- public void writeWSDL(Definition wsdlDef, OutputStream sink) throws WSDLException
- {
-
- Resource resource = ((DefinitionImpl)wsdlDef).eResource();
- try
- {
- resource.save(sink,null);
- }
- catch (IOException e)
- {
- throw new WSDLException(WSDLException.OTHER_ERROR,"Failed to save Definitions.",e);
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/Reconcilable.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/Reconcilable.java
deleted file mode 100644
index b9d2a9067..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/Reconcilable.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import org.w3c.dom.Element;
-
-// TODO... why do we need this?
-//
-public interface Reconcilable
-{
- public void setElement(Element element);
- public Element getElement();
- public void reconcileAttributes(Element changedElement);
- public void reconcileReferences(boolean deep);
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLAdapterFactory.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLAdapterFactory.java
deleted file mode 100644
index e7c620a89..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLAdapterFactory.java
+++ /dev/null
@@ -1,1039 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import java.net.URL;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.wsdl.extensions.ExtensionRegistry;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Namespace;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.UnknownExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wsdl.WSDLPackage
- * @generated
- */
-public class WSDLAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static WSDLPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WSDLAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = WSDLPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected WSDLSwitch modelSwitch =
- new WSDLSwitch()
- {
- public Object caseWSDLElement(WSDLElement object)
- {
- return createWSDLElementAdapter();
- }
- public Object casePortType(PortType object)
- {
- return createPortTypeAdapter();
- }
- public Object caseOperation(Operation object)
- {
- return createOperationAdapter();
- }
- public Object caseMessage(Message object)
- {
- return createMessageAdapter();
- }
- public Object casePart(Part object)
- {
- return createPartAdapter();
- }
- public Object caseBinding(Binding object)
- {
- return createBindingAdapter();
- }
- public Object caseBindingOperation(BindingOperation object)
- {
- return createBindingOperationAdapter();
- }
- public Object caseService(Service object)
- {
- return createServiceAdapter();
- }
- public Object casePort(Port object)
- {
- return createPortAdapter();
- }
- public Object caseExtensibilityElement(ExtensibilityElement object)
- {
- return createExtensibilityElementAdapter();
- }
- public Object caseDefinition(Definition object)
- {
- return createDefinitionAdapter();
- }
- public Object caseImport(Import object)
- {
- return createImportAdapter();
- }
- public Object caseExtensibleElement(ExtensibleElement object)
- {
- return createExtensibleElementAdapter();
- }
- public Object caseInput(Input object)
- {
- return createInputAdapter();
- }
- public Object caseOutput(Output object)
- {
- return createOutputAdapter();
- }
- public Object caseFault(Fault object)
- {
- return createFaultAdapter();
- }
- public Object caseBindingInput(BindingInput object)
- {
- return createBindingInputAdapter();
- }
- public Object caseBindingOutput(BindingOutput object)
- {
- return createBindingOutputAdapter();
- }
- public Object caseBindingFault(BindingFault object)
- {
- return createBindingFaultAdapter();
- }
- public Object caseNamespace(Namespace object)
- {
- return createNamespaceAdapter();
- }
- public Object caseIPortType(javax.wsdl.PortType object)
- {
- return createIPortTypeAdapter();
- }
- public Object caseIOperation(javax.wsdl.Operation object)
- {
- return createIOperationAdapter();
- }
- public Object caseIInput(javax.wsdl.Input object)
- {
- return createIInputAdapter();
- }
- public Object caseIOutput(javax.wsdl.Output object)
- {
- return createIOutputAdapter();
- }
- public Object caseIFault(javax.wsdl.Fault object)
- {
- return createIFaultAdapter();
- }
- public Object caseIMessage(javax.wsdl.Message object)
- {
- return createIMessageAdapter();
- }
- public Object caseIPart(javax.wsdl.Part object)
- {
- return createIPartAdapter();
- }
- public Object caseIService(javax.wsdl.Service object)
- {
- return createIServiceAdapter();
- }
- public Object caseIPort(javax.wsdl.Port object)
- {
- return createIPortAdapter();
- }
- public Object caseIBinding(javax.wsdl.Binding object)
- {
- return createIBindingAdapter();
- }
- public Object caseIBindingOperation(javax.wsdl.BindingOperation object)
- {
- return createIBindingOperationAdapter();
- }
- public Object caseIBindingInput(javax.wsdl.BindingInput object)
- {
- return createIBindingInputAdapter();
- }
- public Object caseIBindingOutput(javax.wsdl.BindingOutput object)
- {
- return createIBindingOutputAdapter();
- }
- public Object caseIBindingFault(javax.wsdl.BindingFault object)
- {
- return createIBindingFaultAdapter();
- }
- public Object caseIExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement object)
- {
- return createIExtensibilityElementAdapter();
- }
- public Object caseIDefinition(javax.wsdl.Definition object)
- {
- return createIDefinitionAdapter();
- }
- public Object caseIImport(javax.wsdl.Import object)
- {
- return createIImportAdapter();
- }
- public Object caseIList(List object)
- {
- return createIListAdapter();
- }
- public Object caseIMap(Map object)
- {
- return createIMapAdapter();
- }
- public Object caseIURL(URL object)
- {
- return createIURLAdapter();
- }
- public Object caseIExtensionRegistry(ExtensionRegistry object)
- {
- return createIExtensionRegistryAdapter();
- }
- public Object caseTypes(Types object)
- {
- return createTypesAdapter();
- }
- public Object caseIIterator(Iterator object)
- {
- return createIIteratorAdapter();
- }
- public Object caseITypes(javax.wsdl.Types object)
- {
- return createITypesAdapter();
- }
- public Object caseUnknownExtensibilityElement(UnknownExtensibilityElement object)
- {
- return createUnknownExtensibilityElementAdapter();
- }
- public Object caseXSDSchemaExtensibilityElement(XSDSchemaExtensibilityElement object)
- {
- return createXSDSchemaExtensibilityElementAdapter();
- }
- public Object caseMessageReference(MessageReference object)
- {
- return createMessageReferenceAdapter();
- }
- public Object defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target)
- {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.WSDLElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.WSDLElement
- * @generated
- */
- public Adapter createWSDLElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.PortType <em>Port Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.PortType
- * @generated
- */
- public Adapter createPortTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Operation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Operation
- * @generated
- */
- public Adapter createOperationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Message <em>Message</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Message
- * @generated
- */
- public Adapter createMessageAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Part <em>Part</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Part
- * @generated
- */
- public Adapter createPartAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Binding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Binding
- * @generated
- */
- public Adapter createBindingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.BindingOperation <em>Binding Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.BindingOperation
- * @generated
- */
- public Adapter createBindingOperationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Service <em>Service</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Service
- * @generated
- */
- public Adapter createServiceAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Port <em>Port</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Port
- * @generated
- */
- public Adapter createPortAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.ExtensibilityElement <em>Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement
- * @generated
- */
- public Adapter createExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Definition <em>Definition</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Definition
- * @generated
- */
- public Adapter createDefinitionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Import <em>Import</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Import
- * @generated
- */
- public Adapter createImportAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.ExtensibleElement <em>Extensible Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.ExtensibleElement
- * @generated
- */
- public Adapter createExtensibleElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Input <em>Input</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Input
- * @generated
- */
- public Adapter createInputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Output <em>Output</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Output
- * @generated
- */
- public Adapter createOutputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Fault <em>Fault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Fault
- * @generated
- */
- public Adapter createFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.BindingInput <em>Binding Input</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.BindingInput
- * @generated
- */
- public Adapter createBindingInputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.BindingOutput <em>Binding Output</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.BindingOutput
- * @generated
- */
- public Adapter createBindingOutputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.BindingFault <em>Binding Fault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.BindingFault
- * @generated
- */
- public Adapter createBindingFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Namespace <em>Namespace</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Namespace
- * @generated
- */
- public Adapter createNamespaceAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.PortType <em>IPort Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.PortType
- * @generated
- */
- public Adapter createIPortTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Operation <em>IOperation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Operation
- * @generated
- */
- public Adapter createIOperationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Input <em>IInput</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Input
- * @generated
- */
- public Adapter createIInputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Output <em>IOutput</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Output
- * @generated
- */
- public Adapter createIOutputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Fault <em>IFault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Fault
- * @generated
- */
- public Adapter createIFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Message <em>IMessage</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Message
- * @generated
- */
- public Adapter createIMessageAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Part <em>IPart</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Part
- * @generated
- */
- public Adapter createIPartAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Service <em>IService</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Service
- * @generated
- */
- public Adapter createIServiceAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Port <em>IPort</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Port
- * @generated
- */
- public Adapter createIPortAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Binding <em>IBinding</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Binding
- * @generated
- */
- public Adapter createIBindingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.BindingOperation <em>IBinding Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.BindingOperation
- * @generated
- */
- public Adapter createIBindingOperationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.BindingInput <em>IBinding Input</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.BindingInput
- * @generated
- */
- public Adapter createIBindingInputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.BindingOutput <em>IBinding Output</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.BindingOutput
- * @generated
- */
- public Adapter createIBindingOutputAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.BindingFault <em>IBinding Fault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.BindingFault
- * @generated
- */
- public Adapter createIBindingFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.ExtensibilityElement <em>IExtensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.ExtensibilityElement
- * @generated
- */
- public Adapter createIExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Definition <em>IDefinition</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Definition
- * @generated
- */
- public Adapter createIDefinitionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Import <em>IImport</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Import
- * @generated
- */
- public Adapter createIImportAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.List <em>IList</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see java.util.List
- * @generated
- */
- public Adapter createIListAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map <em>IMap</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see java.util.Map
- * @generated
- */
- public Adapter createIMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.net.URL <em>IURL</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see java.net.URL
- * @generated
- */
- public Adapter createIURLAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.ExtensionRegistry <em>IExtension Registry</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.ExtensionRegistry
- * @generated
- */
- public Adapter createIExtensionRegistryAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.Types <em>Types</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.Types
- * @generated
- */
- public Adapter createTypesAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Iterator <em>IIterator</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see java.util.Iterator
- * @generated
- */
- public Adapter createIIteratorAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.Types <em>ITypes</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.Types
- * @generated
- */
- public Adapter createITypesAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.UnknownExtensibilityElement <em>Unknown Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.UnknownExtensibilityElement
- * @generated
- */
- public Adapter createUnknownExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.XSDSchemaExtensibilityElement <em>XSD Schema Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement
- * @generated
- */
- public Adapter createXSDSchemaExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wsdl.MessageReference <em>Message Reference</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.MessageReference
- * @generated
- */
- public Adapter createMessageReferenceAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //WSDLAdapterFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLDefinitionFactory.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLDefinitionFactory.java
deleted file mode 100644
index 09ef53220..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLDefinitionFactory.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import javax.wsdl.WSDLException;
-import javax.wsdl.xml.WSDLReader;
-
-import org.eclipse.wst.wsdl.internal.impl.WSDLFactoryImpl;
-import org.eclipse.wst.wsdl.internal.impl.WSDLPackageImpl;
-
-import com.ibm.wsdl.xml.WSDLReaderImpl;
-
-public class WSDLDefinitionFactory extends com.ibm.wsdl.factory.WSDLFactoryImpl
-{
-
- private static WSDLDefinitionFactory instance = null;
-
- public WSDLDefinitionFactory()
- {
- // Make sure the WSDL package is initialized.
- WSDLPackageImpl.init();
- }
-
- /**
- * Create a new instance of Definition.
- */
- public javax.wsdl.Definition newDefinition()
- {
- javax.wsdl.Definition definition = WSDLFactoryImpl.eINSTANCE.createDefinition();
- return definition;
- }
-
- /**
- * Returns a singleton instance of this factory
- */
- public static javax.wsdl.factory.WSDLFactory getInstance() throws WSDLException
- {
- if (instance == null)
- instance = new WSDLDefinitionFactory();
- return instance;
- }
-
- /**
- * Creates a WSDLReader.
- */
- public WSDLReader newWSDLReader()
- {
- WSDLReader reader = new WSDLReaderImpl();
- reader.setFactoryImplName(getClass().getName());
- return reader;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLModelLocator.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLModelLocator.java
deleted file mode 100644
index c19b0c472..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLModelLocator.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-/**
- * An adapter interface used by {@link org.eclipse.wst.wsdl.ImportImpl to find referenced resources.
- * When the resource referenced by a wsdl import needs to be determined,
- * the containing {@link org.eclipse.emf.ecore.resource.Resource}
- * will be {@link org.eclipse.emf.ecore.util.EcoreUtil#getRegisteredAdapter(org.eclipse.emf.ecore.resource.Resource,Object) inspected}
- * for an adapter that implements this interface.
- * As such, you can register an adapter factory like this to tailor the algorithm used to locate the resource :
- *<pre>
- * ResourceSet resourceSet = new ResourceSetImpl();
- * resourceSet.getAdapterFactories().add
- * (new AdapterFactoryImpl()
- * {
- * class CustomURIResolver extends AdapterImpl implements WSDLModelLocator
- * {
- * public String resolveURI(String baseLocation, String namespace, String location);
- * {
- * return null; // Additional logic...
- * }
- *
- * public boolean isAdatperForType(Object type)
- * {
- * return type == WSDLModelLocator.class;
- * }
- * }
- *
- * protected CustomURIResolver customURIResolver = new CustomURIResolver();
- *
- * public boolean isFactoryForType(Object type)
- * {
- * return type == WSDLModelLocator.class;
- * }
- *
- * public Adapter adaptNew(Notifier target, Object type)
- * {
- * return customURIResolver;
- * }
- * });
- *</pre>
- * @see org.eclipse.emf.ecore.util.EcoreUtil#getRegisteredAdapter(org.eclipse.emf.ecore.resource.Resource,Object)
- */
-public interface WSDLModelLocator
-{
- public String resolveURI(String baseLocation, String namespace, String location);
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLResourceFactoryImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLResourceFactoryImpl.java
deleted file mode 100644
index c3986a6ca..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLResourceFactoryImpl.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.util.WSDLResourceImpl
- * @generated
- */
-public class WSDLResourceFactoryImpl extends ResourceFactoryImpl
-{
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WSDLResourceFactoryImpl()
- {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Resource createResource(URI uri)
- {
- Resource result = new WSDLResourceImpl(uri);
- return result;
- }
-} //WSDLResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLSwitch.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLSwitch.java
deleted file mode 100644
index f860668a4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLSwitch.java
+++ /dev/null
@@ -1,1074 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import java.net.URL;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.wsdl.extensions.ExtensionRegistry;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Namespace;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.UnknownExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wsdl.WSDLPackage
- * @generated
- */
-public class WSDLSwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static WSDLPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WSDLSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = WSDLPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject)
- {
- EClass theEClass = theEObject.eClass();
- if (theEClass.eContainer() == modelPackage)
- {
- switch (theEClass.getClassifierID())
- {
- case WSDLPackage.PORT_TYPE:
- {
- PortType portType = (PortType)theEObject;
- Object result = casePortType(portType);
- if (result == null) result = caseWSDLElement(portType);
- if (result == null) result = caseIPortType(portType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.OPERATION:
- {
- Operation operation = (Operation)theEObject;
- Object result = caseOperation(operation);
- if (result == null) result = caseWSDLElement(operation);
- if (result == null) result = caseIOperation(operation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.MESSAGE:
- {
- Message message = (Message)theEObject;
- Object result = caseMessage(message);
- if (result == null) result = caseWSDLElement(message);
- if (result == null) result = caseIMessage(message);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.PART:
- {
- Part part = (Part)theEObject;
- Object result = casePart(part);
- if (result == null) result = caseWSDLElement(part);
- if (result == null) result = caseIPart(part);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.BINDING:
- {
- Binding binding = (Binding)theEObject;
- Object result = caseBinding(binding);
- if (result == null) result = caseExtensibleElement(binding);
- if (result == null) result = caseIBinding(binding);
- if (result == null) result = caseWSDLElement(binding);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.BINDING_OPERATION:
- {
- BindingOperation bindingOperation = (BindingOperation)theEObject;
- Object result = caseBindingOperation(bindingOperation);
- if (result == null) result = caseExtensibleElement(bindingOperation);
- if (result == null) result = caseIBindingOperation(bindingOperation);
- if (result == null) result = caseWSDLElement(bindingOperation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.SERVICE:
- {
- Service service = (Service)theEObject;
- Object result = caseService(service);
- if (result == null) result = caseExtensibleElement(service);
- if (result == null) result = caseIService(service);
- if (result == null) result = caseWSDLElement(service);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.PORT:
- {
- Port port = (Port)theEObject;
- Object result = casePort(port);
- if (result == null) result = caseExtensibleElement(port);
- if (result == null) result = caseIPort(port);
- if (result == null) result = caseWSDLElement(port);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.EXTENSIBILITY_ELEMENT:
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement)theEObject;
- Object result = caseExtensibilityElement(extensibilityElement);
- if (result == null) result = caseWSDLElement(extensibilityElement);
- if (result == null) result = caseIExtensibilityElement(extensibilityElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.DEFINITION:
- {
- Definition definition = (Definition)theEObject;
- Object result = caseDefinition(definition);
- if (result == null) result = caseExtensibleElement(definition);
- if (result == null) result = caseIDefinition(definition);
- if (result == null) result = caseWSDLElement(definition);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.IMPORT:
- {
- Import import_ = (Import)theEObject;
- Object result = caseImport(import_);
- if (result == null) result = caseWSDLElement(import_);
- if (result == null) result = caseIImport(import_);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.INPUT:
- {
- Input input = (Input)theEObject;
- Object result = caseInput(input);
- if (result == null) result = caseMessageReference(input);
- if (result == null) result = caseWSDLElement(input);
- if (result == null) result = caseIInput(input);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.OUTPUT:
- {
- Output output = (Output)theEObject;
- Object result = caseOutput(output);
- if (result == null) result = caseMessageReference(output);
- if (result == null) result = caseWSDLElement(output);
- if (result == null) result = caseIOutput(output);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.FAULT:
- {
- Fault fault = (Fault)theEObject;
- Object result = caseFault(fault);
- if (result == null) result = caseMessageReference(fault);
- if (result == null) result = caseWSDLElement(fault);
- if (result == null) result = caseIFault(fault);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.BINDING_INPUT:
- {
- BindingInput bindingInput = (BindingInput)theEObject;
- Object result = caseBindingInput(bindingInput);
- if (result == null) result = caseExtensibleElement(bindingInput);
- if (result == null) result = caseIBindingInput(bindingInput);
- if (result == null) result = caseWSDLElement(bindingInput);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.BINDING_OUTPUT:
- {
- BindingOutput bindingOutput = (BindingOutput)theEObject;
- Object result = caseBindingOutput(bindingOutput);
- if (result == null) result = caseExtensibleElement(bindingOutput);
- if (result == null) result = caseIBindingOutput(bindingOutput);
- if (result == null) result = caseWSDLElement(bindingOutput);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.BINDING_FAULT:
- {
- BindingFault bindingFault = (BindingFault)theEObject;
- Object result = caseBindingFault(bindingFault);
- if (result == null) result = caseExtensibleElement(bindingFault);
- if (result == null) result = caseIBindingFault(bindingFault);
- if (result == null) result = caseWSDLElement(bindingFault);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.NAMESPACE:
- {
- Namespace namespace = (Namespace)theEObject;
- Object result = caseNamespace(namespace);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.TYPES:
- {
- Types types = (Types)theEObject;
- Object result = caseTypes(types);
- if (result == null) result = caseExtensibleElement(types);
- if (result == null) result = caseITypes(types);
- if (result == null) result = caseWSDLElement(types);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.UNKNOWN_EXTENSIBILITY_ELEMENT:
- {
- UnknownExtensibilityElement unknownExtensibilityElement = (UnknownExtensibilityElement)theEObject;
- Object result = caseUnknownExtensibilityElement(unknownExtensibilityElement);
- if (result == null) result = caseExtensibilityElement(unknownExtensibilityElement);
- if (result == null) result = caseWSDLElement(unknownExtensibilityElement);
- if (result == null) result = caseIExtensibilityElement(unknownExtensibilityElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT:
- {
- XSDSchemaExtensibilityElement xsdSchemaExtensibilityElement = (XSDSchemaExtensibilityElement)theEObject;
- Object result = caseXSDSchemaExtensibilityElement(xsdSchemaExtensibilityElement);
- if (result == null) result = caseExtensibilityElement(xsdSchemaExtensibilityElement);
- if (result == null) result = caseWSDLElement(xsdSchemaExtensibilityElement);
- if (result == null) result = caseIExtensibilityElement(xsdSchemaExtensibilityElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
- return defaultCase(theEObject);
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWSDLElement(WSDLElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Port Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Port Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object casePortType(PortType object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Operation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseOperation(Operation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Message</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Message</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseMessage(Message object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Part</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Part</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object casePart(Part object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseBinding(Binding object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding Operation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding Operation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseBindingOperation(BindingOperation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Service</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Service</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseService(Service object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Port</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Port</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object casePort(Port object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseExtensibilityElement(ExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Definition</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Definition</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDefinition(Definition object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Import</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Import</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseImport(Import object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Extensible Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Extensible Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseExtensibleElement(ExtensibleElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Input</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Input</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseInput(Input object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Output</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Output</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseOutput(Output object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Fault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Fault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseFault(Fault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding Input</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding Input</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseBindingInput(BindingInput object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding Output</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding Output</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseBindingOutput(BindingOutput object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding Fault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding Fault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseBindingFault(BindingFault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Namespace</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Namespace</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseNamespace(Namespace object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IPort Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IPort Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIPortType(javax.wsdl.PortType object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IOperation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IOperation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIOperation(javax.wsdl.Operation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IInput</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IInput</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIInput(javax.wsdl.Input object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IOutput</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IOutput</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIOutput(javax.wsdl.Output object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IFault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IFault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIFault(javax.wsdl.Fault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IMessage</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IMessage</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIMessage(javax.wsdl.Message object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IPart</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IPart</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIPart(javax.wsdl.Part object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IService</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IService</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIService(javax.wsdl.Service object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IPort</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IPort</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIPort(javax.wsdl.Port object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IBinding</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IBinding</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIBinding(javax.wsdl.Binding object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IBinding Operation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IBinding Operation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIBindingOperation(javax.wsdl.BindingOperation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IBinding Input</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IBinding Input</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIBindingInput(javax.wsdl.BindingInput object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IBinding Output</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IBinding Output</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIBindingOutput(javax.wsdl.BindingOutput object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IBinding Fault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IBinding Fault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIBindingFault(javax.wsdl.BindingFault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IDefinition</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IDefinition</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIDefinition(javax.wsdl.Definition object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IImport</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IImport</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIImport(javax.wsdl.Import object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IList</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IList</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIList(List object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IMap</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IMap</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIMap(Map object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IURL</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IURL</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIURL(URL object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IExtension Registry</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IExtension Registry</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIExtensionRegistry(ExtensionRegistry object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Types</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Types</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseTypes(Types object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IIterator</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IIterator</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIIterator(Iterator object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>ITypes</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>ITypes</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseITypes(javax.wsdl.Types object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Unknown Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Unknown Extensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseUnknownExtensibilityElement(UnknownExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>XSD Schema Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>XSD Schema Extensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseXSDSchemaExtensibilityElement(XSDSchemaExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Message Reference</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Message Reference</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseMessageReference(MessageReference object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object)
- {
- return null;
- }
-
-} //WSDLSwitch
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLUtil.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLUtil.java
deleted file mode 100644
index da79b0421..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLUtil.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
-public class WSDLUtil extends WSDLConstants
-{
- protected static WSDLUtil instance;
- // protected NodeAssociationManager nodeAssociationManager = new NodeAssociationManager();
-
- protected HashMap elementNameToTypeMap = new HashMap();
-
- public static WSDLUtil getInstance()
- {
- if (instance == null)
- {
- instance = new WSDLUtil();
- }
- return instance;
- }
-
- public WSDLUtil()
- {
- elementNameToTypeMap.put(BINDING_ELEMENT_TAG, new Integer(BINDING));
- elementNameToTypeMap.put(DEFINITION_ELEMENT_TAG, new Integer(DEFINITION));
- elementNameToTypeMap.put(DOCUMENTATION_ELEMENT_TAG, new Integer(DOCUMENTATION));
- elementNameToTypeMap.put(FAULT_ELEMENT_TAG, new Integer(FAULT));
- elementNameToTypeMap.put(IMPORT_ELEMENT_TAG, new Integer(IMPORT));
- elementNameToTypeMap.put(INPUT_ELEMENT_TAG, new Integer(INPUT));
- elementNameToTypeMap.put(MESSAGE_ELEMENT_TAG, new Integer(MESSAGE));
- elementNameToTypeMap.put(OPERATION_ELEMENT_TAG, new Integer(OPERATION));
- elementNameToTypeMap.put(OUTPUT_ELEMENT_TAG, new Integer(OUTPUT));
- elementNameToTypeMap.put(PART_ELEMENT_TAG, new Integer(PART));
- elementNameToTypeMap.put(PORT_ELEMENT_TAG, new Integer(PORT));
- elementNameToTypeMap.put(PORT_TYPE_ELEMENT_TAG, new Integer(PORT_TYPE));
- elementNameToTypeMap.put(SERVICE_ELEMENT_TAG, new Integer(SERVICE));
- elementNameToTypeMap.put(TYPES_ELEMENT_TAG, new Integer(TYPES));
- }
-
- public int getWSDLType(Element element)
- {
- int result = -1;
-
- Integer integer = (Integer) elementNameToTypeMap.get(element.getLocalName());
- if (integer != null)
- {
- result = integer.intValue();
- }
- return result;
- }
-
- protected List getParentElementChain(Element element)
- {
- List list = new ArrayList();
- while (element != null)
- {
- list.add(0, element);
- Node node = element.getParentNode();
- element = (node != null && node.getNodeType() == Node.ELEMENT_NODE) ? (Element) node : null;
- }
- return list;
- }
-
- /*
- public Object findModelObjectForElement(Definition definition, Element targetElement)
- {
- Object o = nodeAssociationManager.getModelObjectForNode(definition, targetElement);
- return o;
- }
-
-
- public Element getElementForObject(Object o)
- {
- Node node = nodeAssociationManager.getNode(o);
- return (node != null && node.getNodeType() == Node.ELEMENT_NODE) ? (Element)node : null;
- }
-
- public Node getNodeForObject(Object o)
- {
- return nodeAssociationManager.getNode(o);
- }
-
- public ITypeSystemProvider getTypeSystemProvider(Definition definition)
- {
- return WSDLToDOMElementUtil.getTypeSystemProvider(definition);
- }
-
-
- public void setTypeSystemProvider(Definition definition, ITypeSystemProvider typeSystemProvider)
- {
- WSDLToDOMElementUtil.setTypeSystemProvider(definition, typeSystemProvider);
- }
- */
-
- public static QName createQName(Definition definition, String prefixedName)
- {
- QName qname = null;
- if (prefixedName != null)
- {
- int index = prefixedName.indexOf(":");
- String prefix = (index == -1) ? null : prefixedName.substring(0, index);
- if (prefix != null)
- {
- String namespace = definition.getNamespace(prefix);
- if (namespace != null)
- {
- String localPart = prefixedName.substring(index + 1);
- qname = new QName(namespace, localPart);
- }
- }
- }
- return qname;
- }
-
- public List getExtensibilityElementNodes(ExtensibleElement extensibleElement)
- {
- List childList = new ArrayList();
- for (Iterator i = extensibleElement.getEExtensibilityElements().iterator(); i.hasNext();)
- {
- ExtensibilityElement extensibilityElement = (ExtensibilityElement) i.next();
- if (extensibilityElement != null)
- {
- Element element = extensibilityElement.getElement();
- if (element != null)
- {
- childList.add(element);
- }
- }
- }
- return childList;
- //return extensibleElement.getEExtensibilityElements();
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorAdapterFactory.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorAdapterFactory.java
deleted file mode 100644
index 8e4ee818b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorAdapterFactory.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.xsd.util.XSDSchemaLocator;
-
-public class XSDSchemaLocatorAdapterFactory extends AdapterFactoryImpl
-{
- protected XSDSchemaLocatorImpl schemaLocator = new XSDSchemaLocatorImpl();
-
- public boolean isFactoryForType(Object type)
- {
- return type == XSDSchemaLocator.class;
- }
-
- public Adapter adaptNew(Notifier target, Object type)
- {
- return schemaLocator;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorImpl.java
deleted file mode 100644
index 155b44bc9..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorImpl.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.internal.util;
-
-import java.util.Iterator;
-
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.util.XSDSchemaLocator;
-
-public class XSDSchemaLocatorImpl extends AdapterImpl implements XSDSchemaLocator
-{
- /**
- * @see org.eclipse.xsd.util.XSDSchemaLocator#locateSchema(org.eclipse.xsd.XSDSchema,
- * java.lang.String, java.lang.String, java.lang.String)
- */
- public XSDSchema locateSchema(XSDSchema xsdSchema, String namespaceURI, String rawSchemaLocationURI, String resolvedSchemaLocationURI)
- {
- XSDSchema resolvedSchema = null;
-
- // Bugzilla 122624: WSDL model does not resolve <import> of inline schema with no namespace.
- // KB: We are not resolving <import>ed or <include>d schemas from the root inline schemas.
- // In other words, since we are resolving only between multiple root inline schemas,
- // do not attempt to resolve if "rawSchemaLocationURI" is not null.
- if (namespaceURI != null && rawSchemaLocationURI == null)
- {
- Definition definition = null;
-
- for (EObject parent = xsdSchema.eContainer(); parent != null; parent = parent.eContainer())
- {
- if (parent instanceof Definition)
- {
- definition = (Definition) parent;
- break;
- }
- }
-
- if (definition != null && definition.getETypes() != null)
- {
- for (Iterator i = definition.getETypes().getEExtensibilityElements().iterator(); i.hasNext();)
- {
- Object o = i.next();
- if (o instanceof XSDSchemaExtensibilityElement)
- {
- XSDSchema schema = ((XSDSchemaExtensibilityElement) o).getSchema();
- if (schema != null && namespaceURI.equals(schema.getTargetNamespace()))
- {
- resolvedSchema = schema;
- break;
- }
- }
- }
- }
- }
- return resolvedSchema;
- }
-
- public boolean isAdatperForType(Object type)
- {
- return type == XSDSchemaLocator.class;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.html b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.html
deleted file mode 100644
index 8522de03b..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" href="../../../../../..//apistyles.css" type="text/css">
-<title>WSDL Model API Overview</title>
-</head>
-<body>
-<p>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </p>
-<table width="500">
-<tr>
-<td>
-<p>The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.xml b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.xml
deleted file mode 100644
index 6ba5ba957..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html>
- <head>
- <meta
- name="root"
-
- content="../../../../../../" />
- <title>WSDL Model API Overview</title>
- </head>
-
- <body>
- <abstract>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </abstract>
- <p>The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
- </body>
-</html>
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactory.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactory.java
deleted file mode 100644
index 1b1358481..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactory.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.util;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-/**
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
-*/
-public interface ExtensibilityElementFactory
-{
- ExtensibilityElement createExtensibilityElement(String namespace, String localName);
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactoryRegistry.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactoryRegistry.java
deleted file mode 100644
index 98a83561f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactoryRegistry.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.util;
-/**
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
-*/
-public interface ExtensibilityElementFactoryRegistry
-{
- public void registerFactory(String namespace, ExtensibilityElementFactory factory);
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLConstants.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLConstants.java
deleted file mode 100644
index 60ab82248..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLConstants.java
+++ /dev/null
@@ -1,370 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.util;
-
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/**
- * This class defines constants for WSDL element tags and relevant namespaces.
- * @since 1.0
- */
-public class WSDLConstants
-{
- /**
- * The element tag is <code>"binding"</code>.
- * @see #getElementTag(int).
- */
- public static final int BINDING = 0;
-
- /**
- * The element tag is <code>"definitions"</code>.
- * @see #getElementTag(int).
- */
- public static final int DEFINITION = 1;
-
- /**
- * The element tag is <code>"documentation"</code>.
- * @see #getElementTag(int).
- */
- public static final int DOCUMENTATION = 2;
-
- /**
- * The element tag is <code>"fault"</code>.
- * @see #getElementTag(int).
- */
- public static final int FAULT = 3;
-
- /**
- * The element tag is <code>"import"</code>.
- * @see #getElementTag(int).
- */
- public static final int IMPORT = 4;
-
- /**
- * The element tag is <code>"input"</code>.
- * @see #getElementTag(int).
- */
- public static final int INPUT = 5;
-
- /**
- * The element tag is <code>"message"</code>.
- * @see #getElementTag(int).
- */
- public static final int MESSAGE = 6;
-
- /**
- * The element tag is <code>"operation"</code>.
- * @see #getElementTag(int).
- */
- public static final int OPERATION = 7;
-
- /**
- * The element tag is <code>"output"</code>.
- * @see #getElementTag(int).
- */
- public static final int OUTPUT = 8;
-
- /**
- * The element tag is <code>"part"</code>.
- * @see #getElementTag(int).
- */
- public static final int PART = 9;
-
- /**
- * The element tag is <code>"port"</code>.
- * @see #getElementTag(int).
- */
- public static final int PORT = 10;
-
- /**
- * The element tag is <code>"portType"</code>.
- * @see #getElementTag(int).
- */
- public static final int PORT_TYPE = 11;
-
- /**
- * The element tag is <code>"service"</code>.
- * @see #getElementTag(int).
- */
- public static final int SERVICE = 12;
-
- /**
- * The element tag is <code>"types"</code>.
- * @see #getElementTag(int).
- */
- public static final int TYPES = 13;
-
- /**
- * The element tag is <code>"binding"</code>.
- * @see #nodeType(String localName).
- */
- public static final String BINDING_ELEMENT_TAG = "binding";
-
- /**
- * The element tag is <code>"definitions"</code>.
- * @see #nodeType(String localName).
- */
- public static final String DEFINITION_ELEMENT_TAG = "definitions";
-
- /**
- * The element tag is <code>"documentation"</code>.
- * @see #nodeType(String localName).
- */
- public static final String DOCUMENTATION_ELEMENT_TAG = "documentation";
-
- /**
- * The element tag is <code>"fault"</code>.
- * @see #nodeType(String localName).
- */
- public static final String FAULT_ELEMENT_TAG = "fault";
-
- /**
- * The element tag is <code>"import"</code>.
- * @see #nodeType(String localName).
- */
- public static final String IMPORT_ELEMENT_TAG = "import";
-
- /**
- * The element tag is <code>"input"</code>.
- * @see #nodeType(String localName).
- */
- public static final String INPUT_ELEMENT_TAG = "input";
-
- /**
- * The element tag is <code>"message"</code>.
- * @see #nodeType(String localName).
- */
- public static final String MESSAGE_ELEMENT_TAG = "message";
-
- /**
- * The element tag is <code>"operation"</code>.
- * @see #nodeType(String localName).
- */
- public static final String OPERATION_ELEMENT_TAG = "operation";
-
- /**
- * The element tag is <code>"output"</code>.
- * @see #nodeType(String localName).
- */
- public static final String OUTPUT_ELEMENT_TAG = "output";
-
- /**
- * The element tag is <code>"part"</code>.
- * @see #nodeType(String localName).
- */
- public static final String PART_ELEMENT_TAG = "part";
-
- /**
- * The element tag is <code>"port"</code>.
- * @see #nodeType(String localName).
- */
- public static final String PORT_ELEMENT_TAG = "port";
-
- /**
- * The element tag is <code>"portType"</code>.
- * @see #nodeType(String localName).
- */
- public static final String PORT_TYPE_ELEMENT_TAG = "portType";
-
- /**
- * The element tag is <code>"service"</code>.
- * @see #nodeType(String localName).
- */
- public static final String SERVICE_ELEMENT_TAG = "service";
-
- /**
- * The element tag is <code>"types"</code>.
- * @see #nodeType(String localName).
- */
- public static final String TYPES_ELEMENT_TAG = "types";
-
- // common
-
- /**
- * The attribute is <code>"name"</code>.
- * @see #getAttribute(Element,String).
- */
- public static final String NAME_ATTRIBUTE = "name";
-
- /**
- * The attribute is <code>"message"</code>.
- * @see #getAttribute(Element,String).
- */
- public static final String MESSAGE_ATTRIBUTE = "message";
-
- /**
- * The attribute is <code>"binding"</code>.
- * @see #getAttribute(Element,String).
- */
- public static final String BINDING_ATTRIBUTE = "binding";
-
- /**
- * The attribute is <code>"type"</code>.
- * @see #getAttribute(Element,String).
- */
- public static final String TYPE_ATTRIBUTE = "type";
-
- // definitions
-
- /**
- * The attribute is <code>"encoding"</code>.
- * @see #getAttribute(Element,String).
- */
- public final static String ENCODING_ATTRIBUTE = "encoding";
-
- /**
- * The attribute is <code>"targetNamespace"</code>.
- * @see #getAttribute(Element,String).
- */
- public final static String TARGETNAMESPACE_ATTRIBUTE = "targetNamespace";
-
- // binding
-
- /**
- * The attribute is <code>"resourceURI"</code>.
- * @see #getAttribute(Element,String).
- */
- public final static String RESOURCE_URI_ATTRIBUTE = "resourceURI";
-
- // part
-
- /**
- * The attribute is <code>"element"</code>.
- * @see #getAttribute(Element,String).
- */
- public final static String ELEMENT_ATTRIBUTE = "element";
-
- // import
-
- /**
- * The attribute is <code>"location"</code>.
- * @see #getAttribute(Element,String).
- */
- public final static String LOCATION_ATTRIBUTE = "location";
-
- /**
- * The attribute is <code>"namespace"</code>.
- * @see #getAttribute(Element,String).
- */
- public static final String NAMESPACE_ATTRIBUTE = "namespace";
-
- /**
- * The value <code>"http://schemas.xmlsoap.org/wsdl/"</code>.
- */
- public static final String WSDL_NAMESPACE_URI = "http://schemas.xmlsoap.org/wsdl/";
-
- /**
- * The value <code>"http://www.w3.org/2001/XMLSchema"</code>.
- */
- public static final String XSD_NAMESPACE_URI = "http://www.w3.org/2001/XMLSchema";
-
- /**
- * The value <code>"http://www.w3.org/1999/XMLSchema"</code>.
- */
- public static final String SCHEMA_FOR_SCHEMA_URI_1999 = "http://www.w3.org/1999/XMLSchema";
-
- /**
- * The value <code>"http://www.w3.org/2000/10/XMLSchema"</code>.
- */
- public static final String SCHEMA_FOR_SCHEMA_URI_2000_10 = "http://www.w3.org/2000/10/XMLSchema";
-
- /**
- * The value <code>"http://www.w3.org/2001/XMLSchema"</code>.
- */
- public static final String SCHEMA_FOR_SCHEMA_URI_2001 = "http://www.w3.org/2001/XMLSchema";
-
- private static final String[] ELEMENT_TAGS =
- new String[] {
- BINDING_ELEMENT_TAG,
- DEFINITION_ELEMENT_TAG,
- DOCUMENTATION_ELEMENT_TAG,
- FAULT_ELEMENT_TAG,
- IMPORT_ELEMENT_TAG,
- INPUT_ELEMENT_TAG,
- MESSAGE_ELEMENT_TAG,
- OPERATION_ELEMENT_TAG,
- OUTPUT_ELEMENT_TAG,
- PART_ELEMENT_TAG,
- PORT_ELEMENT_TAG,
- PORT_TYPE_ELEMENT_TAG,
- SERVICE_ELEMENT_TAG,
- TYPES_ELEMENT_TAG };
-
- /**
- * Returns a String name of element tag given the nodeType.
- * @param nodeType a constant defined in WSDLConstants.
- * @return element tag.
- */
- public static final String getElementTag(int nodeType)
- {
- return ELEMENT_TAGS[nodeType];
- }
-
- /**
- * Returns a node type given the String name of element tag.
- * @param localName the local name of element tag.
- * @return a node type defined in WSDLConstants.
- */
- public static final int nodeType(String localName)
- {
- for (int i = 0; i < ELEMENT_TAGS.length; ++i)
- {
- if (localName.equals(ELEMENT_TAGS[i]))
- {
- return i;
- }
- }
- return -1;
- }
-
- /**
- * Returns a node type defined in WSDLConstants given the DOM node.
- * @param node a DOM node.
- * @return a node type defined in WSDLConstants.
- */
- public static final int nodeType(Node node)
- {
- return isWSDLNamespace(node.getNamespaceURI()) ? nodeType(node.getLocalName()) : -1;
- }
-
- /**
- * Returns whether the given namespace is the WSDL namespace or not.
- * @param namespace a namespace.
- * @return whether the given namespace is the WSDL namespace or not.
- */
- public static boolean isWSDLNamespace(String namespace)
- {
- return WSDL_NAMESPACE_URI.equals(namespace);
- }
-
- /**
- * Returns true if namespace1 equals to namespace2.
- * @param namespace1 a namespace.
- * @param namespace2 a namespace.
- * @return true if namespace1 equals to namespace2.
- */
- public static boolean isMatchingNamespace(String namespace1, String namespace2)
- {
- return (namespace1 == null ? namespace2 == null : namespace1.equals(namespace2));
- }
-
- /**
- * Returns an attribute value given the attributeName in the element.
- * @param element a DOM element to search for the attribute from.
- * @param attributeName an attribute to find from the element.
- * @return an attribute value.
- */
- public static String getAttribute(Element element, String attributeName)
- {
- return element.hasAttribute(attributeName) ? element.getAttribute(attributeName) : null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnostic.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnostic.java
deleted file mode 100644
index 3e203d8a0..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnostic.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.util;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.w3c.dom.Node;
-
-/**
- * Generated by the WSDL model parsing and validation mechanisms.
- *
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still
- * under development and expected to change significantly before reaching
- * stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this
- * API will almost certainly be broken (repeatedly) as the API evolves.
- * </p>
- *
- * This interface is a candidate to becoming a first class WSDL model object.
- */
-public interface WSDLDiagnostic extends Resource.Diagnostic
-{
- /**
- * Provides this diagnostic's severity.
- *
- * @return an XSDDiagnosticSeverity
- */
- WSDLDiagnosticSeverity getSeverity();
-
- /**
- * Sets this diagnostic's severity.
- *
- * @param severity
- * the new diagnostic severity.
- */
- void setSeverity(WSDLDiagnosticSeverity severity);
-
- /**
- * Gets the original message key.
- *
- * @return a String with the original message key.
- */
- String getKey();
-
- /**
- * Sets the original message key.
- * @param value the new message key value.
- */
- void setKey(String value);
-
- /**
- * Gets the DOM Node where the error occurs
- *
- * @return The DOM node where the error occurs
- */
- Node getNode();
-
- /**
- * Sets the DOM Node where the error occurs
- * @param node
- */
- void setNode(Node node);
-
- /**
- * returns the Element where the error occurs
- * @return - Object of type XSDConcreteComponent if the error
- * comes from the inline schema of a wsdl file
- * - object of type WSDLElement if the error comes from
- * other part of the wsdl file
- */
- Object getContainer();
-
- /**
- * Sets the Container of the error
- * @param container
- * an Object of either XSDConcreteComponent or WSDLElement
- */
- void setContainer(Object container);
-
- /**
- * Returns a list with the original message parameters as Strings.
- * @return a list with the original message parameters as Strings.
- */
- EList getSubstitutions();
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticImpl.java
deleted file mode 100644
index 80d60feac..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticImpl.java
+++ /dev/null
@@ -1,350 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.util;
-
-import org.eclipse.emf.common.util.BasicEList;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.xsd.XSDDiagnostic;
-import org.eclipse.xsd.XSDDiagnosticSeverity;
-import org.w3c.dom.Node;
-
-/**
- * Default implementation of the WSDLDiagnostic interface. This class is based
- * on XSDDiagnosticImpl
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still
- * under development and expected to change significantly before reaching
- * stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this
- * API will almost certainly be broken (repeatedly) as the API evolves.
- * </p>
- */
-public class WSDLDiagnosticImpl extends EObjectImpl implements WSDLDiagnostic
-{
- /**
- * The default value of the '{@link #getColumn() <em>Column</em>}'
- * attribute.
- *
- * @see #getColumn()
- */
- protected static final int COLUMN_EDEFAULT = 1;
-
- /**
- * The default value of the '{@link #getLine() <em>Line</em>}' attribute.
- *
- *
- * @see #getLine()
- */
- protected static final int LINE_EDEFAULT = 1;
-
- /**
- * The default value of the '{@link #getLocationURI() <em>Location URI</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getLocationURI()
- */
- protected static final String LOCATION_URI_EDEFAULT = null;
-
- /**
- * The default value of the '{@link #getMessage() <em>Message</em>}'
- * attribute.
- *
- * @see #getMessage()
- */
- protected static final String MESSAGE_EDEFAULT = null;
-
- /**
- * The default value of the '{@link #getSeverity() <em>Severity</em>}'
- * attribute.
- *
- * @see #getSeverity()
- */
- protected static final WSDLDiagnosticSeverity SEVERITY_EDEFAULT = WSDLDiagnosticSeverity.FATAL_LITERAL;
-
- /**
- * The cached value of the '{@link #getColumn() <em>Column</em>}' attribute.
- *
- *
- * @see #getColumn()
- *
- * @ordered
- */
- protected int column = COLUMN_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getLine() <em>Line</em>}' attribute.
- *
- *
- * @see #getLine()
- */
- protected int line = LINE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getLocationURI() <em>Location URI</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getLocationURI()
- */
- protected String locationURI = LOCATION_URI_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getMessage() <em>Message</em>}'
- * attribute.
- *
- * @see #getMessage()
- */
- protected String message = MESSAGE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSeverity() <em>Severity</em>}'
- * attribute.
- *
- * @see #getSeverity()
- */
- protected WSDLDiagnosticSeverity severity = SEVERITY_EDEFAULT;
-
- /**
- * The original message key.
- */
- protected String key;
-
- /**
- * The original message parameters.
- */
- protected EList substitutions;
-
- /**
- * The Node where the error occurs
- */
- protected Node node;
-
- /**
- * The WSDLElement or XSDConcreteComponent object where the error occurs
- */
- protected Object container;
-
- /**
- * Default constructor.
- */
- public WSDLDiagnosticImpl()
- {
- super();
- }
-
- /**
- * Wraps an XSD diagnostic into a WSDL diagnostic. Used to report problems in
- * inline schemas.
- *
- * @param xsdDiagnostic
- * the XSD diagnostic object to wrap. Must not be null.
- */
- public WSDLDiagnosticImpl(XSDDiagnostic xsdDiagnostic)
- {
- this();
- setMessage(xsdDiagnostic.getMessage());
- setSeverity(getSeverity(xsdDiagnostic.getSeverity()));
- setLine(xsdDiagnostic.getLine());
- setColumn(xsdDiagnostic.getColumn());
- setNode(xsdDiagnostic.getNode());
- setContainer(xsdDiagnostic.getContainer());
- setLocation(xsdDiagnostic.getLocation());
- setKey(xsdDiagnostic.getKey());
- getSubstitutions().addAll(xsdDiagnostic.getSubstitutions());
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.emf.ecore.resource.Resource$Diagnostic#getColumn()
- */
- public int getColumn()
- {
- return column;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.emf.ecore.resource.Resource$Diagnostic#getLine()
- */
- public int getLine()
- {
- return line;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.emf.ecore.resource.Resource$Diagnostic#getLocation()
- */
- public String getLocation()
- {
- return locationURI;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.emf.ecore.resource.Resource$Diagnostic#getMessage()
- */
- public String getMessage()
- {
- return message;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.ccl.wsdl.validation.WSDLDiagnostic#getSeverity()
- */
- public WSDLDiagnosticSeverity getSeverity()
- {
- return severity;
- }
-
- /**
- * Converts an XSD diagnostic severity level into a WSDL diagnostic severity
- * level.
- *
- * @param xsdDiagnosticSeverity
- * the source XSD diagnostic severity.
- * @return the equivalent WSDL diagnostic severity.
- */
- private WSDLDiagnosticSeverity getSeverity(XSDDiagnosticSeverity xsdDiagnosticSeverity)
- {
- switch (xsdDiagnosticSeverity.getValue())
- {
- case XSDDiagnosticSeverity.FATAL:
- return WSDLDiagnosticSeverity.FATAL_LITERAL;
- case XSDDiagnosticSeverity.ERROR:
- return WSDLDiagnosticSeverity.ERROR_LITERAL;
- case XSDDiagnosticSeverity.WARNING:
- return WSDLDiagnosticSeverity.WARNING_LITERAL;
- case XSDDiagnosticSeverity.INFORMATION:
- return WSDLDiagnosticSeverity.INFORMATION_LITERAL;
- default:
- break;
- }
- return SEVERITY_EDEFAULT;
- }
-
- /**
- * Sets the new value of the column attribute.
- *
- * @param newColumn
- * the new column value.
- */
- public void setColumn(int newColumn)
- {
- column = newColumn;
- }
-
- public void setLine(int newLine)
- {
- line = newLine;
- }
-
- /**
- * Sets the value of the loaction attribute.
- *
- * @param location
- * a String with the new value for the location attribute
- */
- public void setLocation(String location)
- {
- locationURI = location;
- }
-
- /**
- * Sets a new value for the message attribute.
- *
- * @param newMessage
- * a String with the new message.
- */
- public void setMessage(String newMessage)
- {
- message = newMessage;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.ccl.wsdl.validation.WSDLDiagnostic#setSeverity(com.ibm.ccl.wsdl.validation.WSDLDiagnosticSeverity)
- */
- public void setSeverity(WSDLDiagnosticSeverity newSeverity)
- {
- severity = newSeverity == null ? SEVERITY_EDEFAULT : newSeverity;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.wsdl.util.WSDLDiagnostic#getKey()
- */
- public String getKey()
- {
- return key;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.wst.wsdl.util.WSDLDiagnostic#setKey(java.lang.String)
- */
- public void setKey(String value)
- {
- key = value;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.wst.wsdl.util.WSDLDiagnostic#getSubstitutions()
- */
- public EList getSubstitutions()
- {
- if (substitutions == null)
- {
- substitutions = new BasicEList();
- }
- return substitutions;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.util.WSDLDiagnostic#getNode()
- */
- public Node getNode()
- {
- return node;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.util.WSDLDiagnostic#setNode(org.w3c.dom.Node)
- */
- public void setNode(Node node)
- {
- this.node = node;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.util.WSDLDiagnostic#getContainer()
- */
- public Object getContainer() {
- return container;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.util.WSDLDiagnostic#setContainer(java.lang.Object)
- */
- public void setContainer(Object container) {
- this.container = container;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticSeverity.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticSeverity.java
deleted file mode 100644
index 971ff8952..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticSeverity.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/*******************************************************************************
- * 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
- *******************************************************************************/
-
-package org.eclipse.wst.wsdl.util;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-/**
- * WSDL diagnostic severity levels type safe enumeration. This class is similar
- * to XSDDiagnosticSeverity.
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still
- * under development and expected to change significantly before reaching
- * stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this
- * API will almost certainly be broken (repeatedly) as the API evolves.
- * </p>
- */
-public final class WSDLDiagnosticSeverity extends AbstractEnumerator
-{
- /**
- * This is used to indicate that the problem is really bad and that further
- * processing is likely not possible.
- *
- * @see #FATAL_LITERAL
- */
- public static final int FATAL = 0;
-
- /**
- * This is used to indicate that the problem is bad and that the schema is
- * likely not suitable for use.
- *
- * @see #ERROR_LITERAL
- */
- public static final int ERROR = 1;
-
- /**
- * This is used to indicate that the problem is not too bad and that the
- * definition is likely suitable for use.
- *
- * @see #WARNING_LITERAL
- */
- public static final int WARNING = 2;
-
- /**
- * This is used to indicate that the problem is only potential and that the
- * definition is very likely suitable for use.
- *
- * @see #INFORMATION_LITERAL
- */
- public static final int INFORMATION = 3;
-
- /**
- * The '<em><b>Fatal</b></em>' literal object.
- *
- * @see #FATAL
- */
- public static final WSDLDiagnosticSeverity FATAL_LITERAL = new WSDLDiagnosticSeverity(FATAL, "fatal", "fatal");
-
- /**
- * The '<em><b>Error</b></em>' literal object.
- *
- * @see #ERROR
- */
- public static final WSDLDiagnosticSeverity ERROR_LITERAL = new WSDLDiagnosticSeverity(ERROR, "error", "error");
-
- /**
- * The '<em><b>Warning</b></em>' literal object.
- *
- * @see #WARNING
- */
- public static final WSDLDiagnosticSeverity WARNING_LITERAL = new WSDLDiagnosticSeverity(WARNING, "warning", "warning");
-
- /**
- * The '<em><b>Information</b></em>' literal object.
- *
- * @see #INFORMATION
- */
- public static final WSDLDiagnosticSeverity INFORMATION_LITERAL = new WSDLDiagnosticSeverity(INFORMATION, "information", "information");
-
- /**
- * An array of all the '<em><b>Diagnostic Severity</b></em>' enumerators.
- */
- private static final WSDLDiagnosticSeverity[] VALUES_ARRAY = new WSDLDiagnosticSeverity[] { FATAL_LITERAL, ERROR_LITERAL, WARNING_LITERAL, INFORMATION_LITERAL, };
-
- /**
- * A public read-only list of all the '<em><b>Diagnostic Severity</b></em>'
- * enumerators.
- */
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Diagnostic Severity</b></em>' literal with the
- * specified literal value.
- */
- public static WSDLDiagnosticSeverity get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- WSDLDiagnosticSeverity result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Diagnostic Severity</b></em>' literal with the
- * specified name.
- */
- public static WSDLDiagnosticSeverity getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- WSDLDiagnosticSeverity result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Diagnostic Severity</b></em>' literal with the
- * specified integer value.
- */
- public static WSDLDiagnosticSeverity get(int value)
- {
- switch (value)
- {
- case FATAL:
- return FATAL_LITERAL;
- case ERROR:
- return ERROR_LITERAL;
- case WARNING:
- return WARNING_LITERAL;
- case INFORMATION:
- return INFORMATION_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- */
- private WSDLDiagnosticSeverity(int value, String name, String literal)
- {
- super(value, name, literal);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceFactoryRegistry.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceFactoryRegistry.java
deleted file mode 100644
index 6c6e278ad..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceFactoryRegistry.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.Resource.Factory;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.DefaultHandler;
-import org.xml.sax.helpers.XMLReaderFactory;
-
-/**
- * This class provides support for the loading of WSDL or XSD resource from
- * URI's that don't end with .xsd or .wsdl extensions.
- *
- * These URI's foil EMF's standard resource loading mechanism wich assumes that
- * a resource type can always be deduced from the file extension.
- *
- * Code Example:
- * ResourceSet resourceSet = new ResourceSetImpl();
- * WSDLResourceFactoryRegistry registry = new WSDLResourceFactoryRegistry(Resource.Factory.Registry.INSTANCE);
- * resourceSet.setResourceFactoryRegistry(registry);
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
- */
-public class WSDLResourceFactoryRegistry implements Resource.Factory.Registry
-{
- protected Resource.Factory.Registry parent;
-
- public WSDLResourceFactoryRegistry(Resource.Factory.Registry parent)
- {
- this.parent = parent;
- }
-
- public Map getExtensionToFactoryMap()
- {
- return parent.getExtensionToFactoryMap();
- }
-
- public Map getProtocolToFactoryMap()
- {
- return parent.getProtocolToFactoryMap();
- }
-
- public Factory getFactory(URI uri)
- {
- String uriString = uri.toString();
-
- Factory factory = parent.getFactory(uri);
- Factory defaultFactory = (Factory) INSTANCE.getFactory(URI.createURI(DEFAULT_EXTENSION));
-
- // give the parent the first crack at getting the factory
- // if the factory is null or the known 'default' factory then we'll
- // try to compute the factory ourselves
- if (factory == null || factory == defaultFactory)
- {
- if (uriString.endsWith("wsdl") || uriString.endsWith("WSDL"))
- {
- // handle cases like "http://xxx/Distance.jws?wsdl"
- //
- factory = parent.getFactory(URI.createURI("*.wsdl"));
- }
- else if (uriString.endsWith("xsd") || uriString.endsWith("XSD"))
- {
- // handle cases like "http://xxx/Distance.jws?xsd"
- //
- factory = parent.getFactory(URI.createURI("*.xsd"));
- }
- else //if (uri.fileExtension() == null)
- {
- // handle cases like "http://xxx/example?getQuote"
- //
- // finally we must resort to opening the uri's stream and
- // peeking at the content to determine if its an xsd or wsdl
- //
- String rootElementName = getRootElementName(uriString);
- if (rootElementName != null)
- {
- if (rootElementName.equals("schema"))
- {
- factory = parent.getFactory(URI.createURI("*.xsd"));
- }
- else if (rootElementName.equals("definitions"))
- {
- factory = parent.getFactory(URI.createURI("*.wsdl"));
- }
- }
- }
- }
- return factory;
- }
-
- // this method uses a SAX Parser to parser a stream and determine the root element name
- // of any xml content
- private String getRootElementName(String uri)
- {
- RootElementNameContentHandler handler = new RootElementNameContentHandler();
- try
- {
- XMLReader reader = XMLReaderFactory.createXMLReader();
- reader.setContentHandler(handler);
- reader.parse(uri);
- }
- catch (Exception e)
- {
- }
-
- return handler.rootElementName;
- }
-
- protected static class RootElementNameContentHandler extends DefaultHandler
- {
- public String rootElementName;
-
- public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- {
- rootElementName = localName;
-
- // here I throw an exception to make the SAX Parser to stop parsing
- throw new SAXException("SAXParser intentonally stopped");
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceImpl.java b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceImpl.java
deleted file mode 100644
index d28ba74c4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceImpl.java
+++ /dev/null
@@ -1,533 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.util;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.URIConverter;
-import org.eclipse.emf.ecore.resource.impl.ResourceImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPlugin;
-import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
-import org.eclipse.wst.wsdl.internal.impl.DefinitionImpl;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.wst.wsdl.internal.util.XSDSchemaLocatorAdapterFactory;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.util.XSDSchemaLocator;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource</b> implementation for the model.
- * This specialized resource implementation supports it's own way of making keys and
- * hrefs, and it's own serialization. This class is not intended for subclassing
- * outside of the model implementation; it is intended to be used as is with the
- * Resource framework.
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
- * @ignore
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl
- * @generated
- */
-public class WSDLResourceImpl extends ResourceImpl
-{
-
- private boolean useExtensionFactories = true;
- private boolean continueOnLoadError = true;
-
- public static final String USE_EXTENSION_FACTORIES = "USE_EXTENSION_FACTORIES"; //$NON-NLS-1$
- public static final String CONTINUE_ON_LOAD_ERROR = "CONTINUE_ON_LOAD_ERROR"; //$NON-NLS-1$
- public static final String WSDL_ENCODING = "WSDL_ENCODING"; //$NON-NLS-1$
- public static final String WSDL_PROGRESS_MONITOR = "WSDL_PROGRESS_MONITOR"; //$NON-NLS-1$
-
- /**
- * Add this option with a value of Boolean.TRUE to the options map when
- * loading a resource to instruct the loader to track source code location for
- * each node in the source document.
- *
- * @see WSDLParser#getUserData(org.w3c.dom.Node)
- * @see WSDLParser#getStartColumn(org.w3c.dom.Node)
- * @see WSDLParser#getEndColumn(org.w3c.dom.Node)
- * @see WSDLParser#getStartLine(org.w3c.dom.Node)
- * @see WSDLParser#getEndLine(org.w3c.dom.Node)
- */
- public static final String TRACK_LOCATION = "TRACK_LOCATION"; //$NON-NLS-1$
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param uri the URI of the new resource.
- * @generated
- */
- public WSDLResourceImpl(URI uri)
- {
- super(uri);
- }
-
- protected void doSave(OutputStream os, Map options) throws IOException
- {
- Definition definition = getDefinition();
- if (definition != null)
- {
- Document document = definition.getDocument();
- if (document == null)
- {
- ((DefinitionImpl) definition).updateDocument();
- document = definition.getDocument();
- }
-
- if (definition.getElement() == null)
- {
- ((DefinitionImpl) definition).updateElement();
- }
-
- doSerialize(os, document, options == null ? null : (String) options.get(WSDL_ENCODING));
- }
- }
-
- /**
- * Returns the resource's Definition.
- */
- public Definition getDefinition()
- {
- return getContents().size() == 1 && getContents().get(0) instanceof Definition ? (Definition) getContents().get(0) : null;
- }
-
- private static void doSerialize(OutputStream outputStream, Document document, String encoding)
- {
- try
- {
- TransformerFactory transformerFactory = TransformerFactory.newInstance();
- Transformer transformer = transformerFactory.newTransformer();
-
- transformer.setOutputProperty(OutputKeys.INDENT, "yes");
- transformer.setOutputProperty(OutputKeys.METHOD, "xml");
-
- // Unless a width is set, there will be only line breaks but no indentation.
- // The IBM JDK and the Sun JDK don't agree on the property name,
- // so we set them both.
- //
- transformer.setOutputProperty("{http://xml.apache.org/xalan}indent-amount", "2");
- transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
- if (encoding != null)
- {
- transformer.setOutputProperty(OutputKeys.ENCODING, encoding);
- }
-
- transformer.transform(new DOMSource(document), new StreamResult(outputStream));
- }
- catch (TransformerException exception)
- {
- WSDLPlugin.INSTANCE.log(exception);
- }
- }
-
- /**
- * Loads a new {@link WSDLResourceImpl} into the resource set.
- * @param inputSource the contents of the new resource.
- * @param options any options to influence loading behavior.
- */
- protected void doLoad(InputSource inputSource, Map options) throws IOException
- {
- // This pattern avoids loading the IProgressMonitor class when there is no progress monitor.
- // This is important for stand-alone execution to work correctly.
- //
- IProgressMonitor progressMonitor = null;
- Object monitor = options == null ? null : options.get(WSDL_PROGRESS_MONITOR);
- if (monitor != null)
- {
- progressMonitor = (IProgressMonitor) monitor;
- progressMonitor.setTaskName(WSDLPlugin.INSTANCE.getString("_UI_ResourceLoad_progress"));
- progressMonitor.subTask(getURI().toString());
- }
-
- Object bindings = options == null ? null : options.get(USE_EXTENSION_FACTORIES);
- if (bindings != null && bindings instanceof Boolean)
- // true by default
- useExtensionFactories = ((Boolean)bindings).booleanValue();
-
- Object continueOnError = options == null ? null : options.get(CONTINUE_ON_LOAD_ERROR);
- if (continueOnError != null && continueOnError instanceof Boolean)
- // true by default
- continueOnLoadError = ((Boolean)continueOnError).booleanValue();
-
- Document doc = null;
- try
- {
- boolean trackLocation = options != null && Boolean.TRUE.equals(options.get(TRACK_LOCATION));
-
- if (trackLocation)
- {
- doc = getDocumentUsingSAX(inputSource);
- }
- else
- {
- // Create a DOM document
- doc = getDocument(inputSource, new InternalErrorHandler());
- }
-
- if (doc != null && doc.getDocumentElement() != null)
- {
- if (!findDefinition(doc.getDocumentElement()))
- {
- if (continueOnLoadError)
- handleDefinitionElement(doc.getDocumentElement());
- else
- throw new IOException(WSDLPlugin.getPlugin().getString("_ERROR_INVALID_WSDL"));
- }
- }
- else
- {
- handleDefinitionElement(null);
- }
- }
- catch (IOException exception)
- {
- if (continueOnLoadError)
- {
- WSDLPlugin.INSTANCE.log(exception);
- handleDefinitionElement(null);
- }
- else
- throw exception;
- }
-
- Definition definition = null;
-
- for (Iterator i = getContents().iterator(); i.hasNext();)
- {
- definition = (Definition) i.next();
-
- // Initialize the inline schemas location
- Types types = definition.getETypes();
- if (types != null)
- {
- XSDSchemaExtensibilityElement el = null;
- for (Iterator j = types.getEExtensibilityElements().iterator(); j.hasNext();)
- {
- el = (XSDSchemaExtensibilityElement) j.next();
- XSDSchema schema = el.getSchema();
- if (schema != null)
- schema.setSchemaLocation(getURI().toString());
- }
- }
- }
-
- if (progressMonitor != null)
- {
- progressMonitor.worked(1);
- }
- }
-
- /**
- * Loads a new {@link WSDLResourceImpl} into the resource set.
- * @param inputStream the contents of the new resource.
- * @param options any options to influence loading behavior.
- */
- protected void doLoad(InputStream inputStream, Map options) throws IOException
- {
- InputSource inputSource =
- inputStream instanceof URIConverter.ReadableInputStream ?
- new InputSource(((URIConverter.ReadableInputStream)inputStream).asReader()) :
- new InputSource(inputStream);
-
- if (getURI() != null)
- {
- String id = getURI().toString();
- inputSource.setPublicId(id);
- inputSource.setSystemId(id);
- }
- doLoad(inputSource, options);
- }
-
- /**
- * Use a custom SAX parser to allow us to track the source location of
- * each node in the source XML document.
- * @param inputSource the parsing source. Must not be null.
- * @return the DOM document created by parsing the input stream.
- */
- private Document getDocumentUsingSAX(InputSource inputSource)
- {
- WSDLParser wsdlParser = new WSDLParser();
- wsdlParser.parse(inputSource);
-
- Collection errors = wsdlParser.getDiagnostics();
-
- if (errors != null)
- {
- Iterator iterator = errors.iterator();
-
- while(iterator.hasNext())
- {
- WSDLDiagnostic wsdlDiagnostic = (WSDLDiagnostic)iterator.next();
- switch (wsdlDiagnostic.getSeverity().getValue())
- {
- case WSDLDiagnosticSeverity.FATAL:
- case WSDLDiagnosticSeverity.ERROR:
- {
- getErrors().add(wsdlDiagnostic);
- break;
- }
- case WSDLDiagnosticSeverity.WARNING:
- case WSDLDiagnosticSeverity.INFORMATION:
- {
- getWarnings().add(wsdlDiagnostic);
- break;
- }
- }
- }
- }
-
- Document doc = wsdlParser.getDocument();
- return doc;
- }
-
- /**
- * Builds a document using Xerces.
- * @param inputSource the contents to parse.
- * @param errorHandler the handled used by the parser.
- * @return a document.
- */
- private static Document getDocument(InputSource inputSource, ErrorHandler errorHandler) throws IOException
- {
- ClassLoader previousClassLoader = Thread.currentThread().getContextClassLoader();
- try
- {
- Thread.currentThread().setContextClassLoader(WSDLResourceFactoryImpl.class.getClassLoader());
-
- DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
- documentBuilderFactory.setNamespaceAware(true);
- documentBuilderFactory.setValidating(false);
-
- try
- {
- // Using a deferred DOM document in the WSDL model may cause a
- // performance problem in terms of memory consumption in particular.
- // We're attempting to use the feature which instructs the Xerces parser
- // to not use deferred DOM trees.
- // TODO Convert to use setFeature when it becomes available. The Xerces
- // versions < 2.7.1 do not fully support setFeature, so we have to use
- // setAttribute.
- documentBuilderFactory.setAttribute("http://apache.org/xml/features/dom/defer-node-expansion", Boolean.FALSE); //$NON-NLS-1$
- }
- catch (IllegalArgumentException e)
- {
- // Ignore, as the code will have to run with parsers other than Xerces.
- }
-
- DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
-
- // TBD - Revisit
- //EntityResolver entityResolver = createEntityResolver();
- //documentBuilder.setEntityResolver(entityResolver);
-
- documentBuilder.setErrorHandler(errorHandler);
-
- Document document = documentBuilder.parse(inputSource);
- return document;
- }
- catch (ParserConfigurationException exception)
- {
- throw new IOWrappedException(exception);
- }
- catch (SAXException exception)
- {
- throw new IOWrappedException(exception);
- }
- finally
- {
- Thread.currentThread().setContextClassLoader(previousClassLoader);
- }
- }
-
- private boolean findDefinition(Element element)
- {
- if (WSDLConstants.nodeType(element) == WSDLConstants.DEFINITION)
- {
- handleDefinitionElement(element);
- return true;
- }
- else
- {
- boolean result = false;
- /*
- for (Node child = element.getFirstChild(); child != null; child = child.getNextSibling())
- {
- if (child instanceof Element)
- {
- if (findDefinition((Element) child))
- {
- result = true;
- }
- }
- }
- */
- return result;
- }
- }
-
- private void handleDefinitionElement(Element element)
- {
- Definition definition = null;
- if (element == null)
- {
- definition = WSDLFactory.eINSTANCE.createDefinition();
- ((DefinitionImpl)definition).setUseExtensionFactories(useExtensionFactories);
- }
- else
- {
- definition = DefinitionImpl.createDefinition
- (element,getURI().toString(),useExtensionFactories);
- }
- getContents().add(definition);
- // Do we need the next line?
- ((DefinitionImpl) definition).reconcileReferences(true);
- }
-
- public static void serialize(OutputStream outputStream, Document document)
- {
- serialize(outputStream, document, null);
- }
-
- public static void serialize(OutputStream outputStream, Document document, String encoding)
- {
- doSerialize(outputStream, document, encoding);
- }
-
- public static void serialize(OutputStream outputStream, Element element)
- {
- serialize(outputStream, element, null);
- }
-
- public static void serialize(OutputStream outputStream, Element element, String encoding)
- {
- try
- {
- doSerialize(outputStream, element, encoding);
- }
- catch (Exception exception)
- {
- exception.printStackTrace();
- }
- }
-
- private static void doSerialize(OutputStream outputStream, Element element, String encoding) throws IOException
- {
- try
- {
- TransformerFactory transformerFactory = TransformerFactory.newInstance();
- Transformer transformer = transformerFactory.newTransformer();
-
- transformer.setOutputProperty(OutputKeys.INDENT, "yes");
- transformer.setOutputProperty(OutputKeys.METHOD, "xml");
- if (encoding != null)
- {
- transformer.setOutputProperty(OutputKeys.ENCODING, encoding);
- }
-
- transformer.transform(new DOMSource(element), new StreamResult(outputStream));
- }
- catch (TransformerException exception)
- {
- WSDLPlugin.INSTANCE.log(exception);
- }
- }
-
- private class InternalErrorHandler implements ErrorHandler
- {
- public void error(SAXParseException e)
- {
- System.out.println("WSDL PARSE ERROR: " + e);
- }
-
- public void fatalError(SAXParseException e)
- {
- System.out.println("WSDL PARSE FATAL ERROR: " + e);
- }
-
- public void warning(SAXParseException e)
- {
- System.out.println("WSDL PARSE WARNING: " + e);
- }
- }
-
-
- public void attached(EObject eObject)
- {
- super.attached(eObject);
-
- // we need to attach a XSDSchemaLocator in order to resolve inline schema locations
- // if there's not already one attached
- XSDSchemaLocator xsdSchemaLocator = (XSDSchemaLocator)EcoreUtil.getRegisteredAdapter(this, XSDSchemaLocator.class);
- if (xsdSchemaLocator == null)
- {
- getResourceSet().getAdapterFactories().add(new XSDSchemaLocatorAdapterFactory());
- }
-
- if (eObject instanceof DefinitionImpl)
- {
- DefinitionImpl definition = (DefinitionImpl) eObject;
- definition.setInlineSchemaLocations(this);
- }
- }
- /*
- public void setInlineSchemaLocations(Definition definition)
- {
- // Initialize the inline schemas location
- Types types = definition.getETypes();
- if (types != null)
- {
- for (Iterator j = types.getEExtensibilityElements().iterator(); j.hasNext();)
- {
- XSDSchemaExtensibilityElement el = (XSDSchemaExtensibilityElement) j.next();
- XSDSchema schema = el.getSchema();
- if (schema != null)
- {
- schema.setSchemaLocation(getURI().toString());
- }
- }
- }
- }*/
-} //WSDLResourceFactoryImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.html b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.html
deleted file mode 100644
index 344eb768a..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" href="../../../../../..//apistyles.css" type="text/css">
-<title>WSDL Model API Overview</title>
-</head>
-<body>
-<p>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </p>
-<table width="500">
-<tr>
-<td>
-<p>
- The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.xml b/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.xml
deleted file mode 100644
index f25a0e983..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html>
- <head>
- <meta
- name="root"
-
- content="../../../../../../" />
- <title>WSDL Model API Overview</title>
- </head>
-
- <body>
- <abstract>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </abstract>
- <p>
- The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
- </body>
-</html>
diff --git a/bundles/org.eclipse.wst.wsi.ui/.classpath b/bundles/org.eclipse.wst.wsi.ui/.classpath
deleted file mode 100644
index cb0105380..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.wsi.ui/.cvsignore b/bundles/org.eclipse.wst.wsi.ui/.cvsignore
deleted file mode 100644
index 43d51e348..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-bin
-temp.folder
-wsiui.jar
-build.xml
-@dot
-src.zip
-javaCompiler...args
diff --git a/bundles/org.eclipse.wst.wsi.ui/.project b/bundles/org.eclipse.wst.wsi.ui/.project
deleted file mode 100644
index ce1110479..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.wsi.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index dcf4ffcb5..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Wed Mar 29 04:08:58 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 029d3c751..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Wed Mar 29 04:08:57 EST 2006
-eclipse.preferences.version=1
-internal.default.compliance=default
diff --git a/bundles/org.eclipse.wst.wsi.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.wsi.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 989040da7..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,38 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %_PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.wsi.ui; singleton:=true
-Bundle-Version: 1.0.101.qualifier
-Bundle-Activator: org.eclipse.wst.wsi.ui.internal.WSIUIPlugin
-Bundle-Vendor: %_PROVIDER_NAME
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.wsi.ui.internal;x-internal:=true,
- org.eclipse.wst.wsi.ui.internal.actions;x-internal:=true,
- org.eclipse.wst.wsi.ui.internal.actions.actionDelegates;x-internal:=true,
- org.eclipse.wst.wsi.ui.internal.actions.icons;x-internal:=true,
- org.eclipse.wst.wsi.ui.internal.wizards;x-internal:=true
-Require-Bundle: org.eclipse.core.runtime; bundle-version="[3.2.0,4.0.0)",
- org.eclipse.jface.text;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.ide;resolution:=optional;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.views;resolution:=optional;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.editors;resolution:=optional;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.jface.text;resolution:=optional;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.workbench.texteditor;resolution:=optional;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.jface;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.views;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.workbench.texteditor;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.ui.editors;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.debug.core;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.wst.common.ui;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.validation;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.wsdl.validation;bundle-version="[1.1.0,1.2.0)",
- org.eclipse.wst.wsi;bundle-version="[1.0.101,1.1.0)",
- org.eclipse.wst.internet.monitor.core;bundle-version="[1.0.102,1.1.0)",
- org.eclipse.wst.internet.monitor.ui;bundle-version="[1.0.102,1.1.0)",
- org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
- org.eclipse.wst.xml.ui;bundle-version="[1.0.100,1.1.0)",
- org.eclipse.wst.xml.core;bundle-version="[1.1.0,1.2.0)"
-Eclipse-LazyStart: true
diff --git a/bundles/org.eclipse.wst.wsi.ui/about.html b/bundles/org.eclipse.wst.wsi.ui/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/bundles/org.eclipse.wst.wsi.ui/build.properties b/bundles/org.eclipse.wst.wsi.ui/build.properties
deleted file mode 100644
index c8570f269..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/build.properties
+++ /dev/null
@@ -1,10 +0,0 @@
-bin.includes = .,\
- plugin.properties,\
- plugin.xml,\
- icons/,\
- META-INF/,\
- about.html
-source.. = src/
-jars.compile.order = .
-output.. = bin/
-src.includes = build.properties
diff --git a/bundles/org.eclipse.wst.wsi.ui/icons/full/obj16/validate.gif b/bundles/org.eclipse.wst.wsi.ui/icons/full/obj16/validate.gif
deleted file mode 100644
index 90eb11561..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/icons/full/obj16/validate.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsi.ui/icons/wsi_logfile_obj.gif b/bundles/org.eclipse.wst.wsi.ui/icons/wsi_logfile_obj.gif
deleted file mode 100644
index e8b1110e3..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/icons/wsi_logfile_obj.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsi.ui/plugin.properties b/bundles/org.eclipse.wst.wsi.ui/plugin.properties
deleted file mode 100644
index 6f127ed74..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/plugin.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# /*******************************************************************************
-# * Copyright (c) 2002-2005 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 - Initial API and implementation
-# *******************************************************************************/
-!-- Constants for strings
-
-_PLUGIN_NAME = Soap Monitor
-_PROVIDER_NAME = Eclipse.org
-_UI_WSI_VALIDATOR = WS-I Message Validator
-_UI_ACTION_VALIDATE = Validate WS-I Log File
-_UI_WIZARD_VALIDATE_LOG_TITLE = Validate WS-I Message Log File
-_UI_LOG_EDITOR = WS-I Message Log Viewer
diff --git a/bundles/org.eclipse.wst.wsi.ui/plugin.xml b/bundles/org.eclipse.wst.wsi.ui/plugin.xml
deleted file mode 100644
index f9b311eb8..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/plugin.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
--->
-
-<plugin>
-
-
-<!-- ======================================================= -->
-<!-- Purpose: Add validator action to TCPIP monitor. -->
-<!-- Extension point: org.eclipse.ui.viewActions -->
-<!-- ======================================================= -->
- <extension
- point="org.eclipse.ui.viewActions">
- <viewContribution
- targetID="org.eclipse.wst.internet.monitor.view"
- id="org.eclipse.ui.articles.action.contribution.view">
- <action
- label="WS-I Profile Validator"
- icon="icons/full/obj16/validate.gif"
- tooltip="%_UI_WIZARD_VALIDATE_LOG_TITLE"
- class="org.eclipse.wst.wsi.ui.internal.actions.actionDelegates.ValidateWSIProfileActionDelegate"
- toolbarPath="group1"
- id="org.eclipse.wst.wsi.ui.internal.actions.actionDelegates.ValidateWSIProfileActionDelegate">
- </action>
- </viewContribution>
- </extension>
-
-<!-- ======================================================= -->
-<!-- Purpose: To register WS-I message validator. -->
-<!-- Extension point: org.eclipse.ui.viewActions -->
-<!-- ======================================================= -->
- <extension
- id="wsiValidator"
- name="%_UI_WSI_VALIDATOR"
- point="org.eclipse.wst.validation.validator">
- <validator>
- <filter
- objectClass="org.eclipse.core.resources.IFile"
- caseSensitive="false"
- nameFilter="*.wsimsg">
- </filter>
- <helper
- class="org.eclipse.wst.xml.core.internal.validation.core.Helper">
- </helper>
- <run
- class="org.eclipse.wst.wsi.ui.internal.WSIMessageValidator">
- </run>
- </validator>
- </extension>
-
-<!-- ======================================================= -->
-<!-- Extension point: org.eclipse.ui.editors -->
-<!-- Purpose: Specify editor for file with extension wsimsg. -->
-<!-- ======================================================= -->
- <extension
- point="org.eclipse.ui.editors">
- <editor
- name="%_UI_LOG_EDITOR"
- extensions="wsimsg"
- icon="icons/wsi_logfile_obj.gif"
- class="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"
- id="org.eclipse.wst.wsi.ui.internal.WSILogEditor">
- </editor>
- </extension>
-
- <!-- ======================================================= -->
- <!-- Extension point: org.eclipse.core.runtime.contentTypes -->
- <!-- Purpose: Specify file association for wsimsg. -->
- <!-- ======================================================= -->
- <extension point="org.eclipse.core.runtime.contentTypes">
- <file-association
- content-type="org.eclipse.core.runtime.xml"
- file-extensions="wsimsg"/>
- </extension>
-
-<!-- ====================================================== -->
-<!-- Add validate action to .wsimsg file -->
-<!-- ====================================================== -->
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.wsimsg"
- id="org.eclipse.soap.validate.wsi.action">
- <action
- label="%_UI_ACTION_VALIDATE"
- class="org.eclipse.wst.wsi.ui.internal.actions.actionDelegates.ValidateWSILogFileActionDelegate"
- enablesFor="1"
- id="org.eclipse.wst.wsi.ui.internal.actions.actionDelegates.ValidateWSILogFileActionDelegate">
- </action>
- </objectContribution>
- </extension>
-
- </plugin>
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.java
deleted file mode 100644
index 3213fd546..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2005 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
- **********************************************************************/
-package org.eclipse.wst.wsi.ui.internal;
-
-import org.eclipse.osgi.util.NLS;
-
-/**
- * Translated messages.
- */
-public class Messages extends NLS
-{
- //--------------- Validation Wizard ---------------
- public static String VALIDATION_WIZARD_TITLE;
-
- //--------------- Validation Wizard (WSDL page) ---------------
- public static String WSDL_PAGE_FILE_SHELL_TEXT;
- public static String WSDL_PAGE_FILE_TITLE ;
- public static String WSDL_PAGE_FILE_DESCRIPTION;
- public static String WSDL_PAGE_SELECT_WSDL_FILENAME_HEADING;
- public static String WSDL_PAGE_SELECT_WSDL_FILENAME_EXPL;
- public static String WSDL_PAGE_INCLUDE_WSDL_BUTTON;
- public static String WSDL_PAGE_INCLUDE_WSDL_LABEL;
- public static String WSDL_PAGE_VALID_WSDL_LABEL;
- public static String WSDL_PAGE_WORKBENCH_BUTTON;
- public static String WSDL_PAGE_BROWSE_BUTTON;
- public static String WSDL_PAGE_SEARCH_UDDI_BUTTON;
-
- //--------------- Validation Wizard (WSDL content page) ---------------
- public static String WSDL_CONTENT_PAGE_SELECT_HEADING;
- public static String WSDL_CONTENT_PAGE_SELECT_EXPL;
- public static String WSDL_CONTENT_PAGE_GROUP_TEXT_ELEMENT;
- public static String WSDL_CONTENT_PAGE_GROUP_TEXT_TYPE;
- public static String WSDL_CONTENT_PAGE_RADIO_PORT;
- public static String WSDL_CONTENT_PAGE_RADIO_BINDING;
- public static String WSDL_CONTENT_PAGE_RADIO_PORT_TYPE;
- public static String WSDL_CONTENT_PAGE_RADIO_OPERATION;
- public static String WSDL_CONTENT_PAGE_RADIO_MESSAGE;
- public static String WSDL_CONTENT_PAGE_LABEL_NAME;
- public static String WSDL_CONTENT_PAGE_LABEL_NAMESPACE;
- public static String WSDL_CONTENT_PAGE_LABEL_PARENT;
-
- //--------------- Validation Wizard (Log page) ---------------
- public static String LOG_PAGE_SELECT_LOG_FILENAME_HEADING;
- public static String LOG_PAGE_SELECT_LOG_FILENAME_EXPL;
-
- // Actions
- public static String ACTION_WSI_VALIDATOR;
-
- //--------------- Errors ---------------
- public static String ERROR_UNABLE_TO_VALIDATE;
- public static String ERROR_VALIDATION_FAILED;
- public static String ERROR_THE_WSIMSG_FILE_IS_NOT_VALID;
- public static String ERROR_PROBLEMS_READING_WSIMSG_FILE;
- public static String ERROR_INVALID_LOG_FILE_EXTENSION;
- public static String WARNING_VALIDATION_WARNINGS_DETECTED;
- public static String WARNING_FILE_ALREADY_EXISTS;
-
- //--------------- Informational messages ---------------
- public static String INFO_VALIDATION_SUCEEDED;
- public static String INFO_THE_WSIMSG_FILE_IS_VALID;
- public static String INFO_NO_MESSAGES_TO_VALIDATE;
-
- static
- {
- NLS.initializeMessages(WSIUIPlugin.PLUGIN_ID + ".internal.Messages", Messages.class);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.properties b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.properties
deleted file mode 100644
index 864b370c6..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.properties
+++ /dev/null
@@ -1,61 +0,0 @@
-# /*******************************************************************************
-# * Copyright (c) 2002-2005 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 - Initial API and implementation
-# *******************************************************************************/
-
-# --------------- Validation Wizard ---------------
-VALIDATION_WIZARD_TITLE = Validate WS-I Message Log File
-
-# --------------- Validation Wizard (WSDL page) ---------------
-WSDL_PAGE_FILE_SHELL_TEXT = Select File
-WSDL_PAGE_FILE_TITLE = Select a File
-WSDL_PAGE_FILE_DESCRIPTION = Select a file from the workbench.
-WSDL_PAGE_SELECT_WSDL_FILENAME_HEADING = Include WSDL File
-WSDL_PAGE_SELECT_WSDL_FILENAME_EXPL = Optionally select a WSDL file for the Web service
-WSDL_PAGE_INCLUDE_WSDL_BUTTON = Include WSDL document for Web service
-WSDL_PAGE_INCLUDE_WSDL_LABEL = Enter the location of the WSDL document for the Web service
-WSDL_PAGE_VALID_WSDL_LABEL = *Note: You can only select the Next button if the WSDL document is valid.
-WSDL_PAGE_WORKBENCH_BUTTON = Workbench...
-WSDL_PAGE_BROWSE_BUTTON = Browse...
-WSDL_PAGE_SEARCH_UDDI_BUTTON = Search UDDI...
-
-# --------------- Validation Wizard (WSDL content page) ---------------
-WSDL_CONTENT_PAGE_SELECT_HEADING = Specify the WSDL element to be Analyzed
-WSDL_CONTENT_PAGE_SELECT_EXPL = Indicate the name, type, and namespace of the WSDL element to be analyzed
-WSDL_CONTENT_PAGE_GROUP_TEXT_ELEMENT = The WSDL element
-WSDL_CONTENT_PAGE_GROUP_TEXT_TYPE = type
-WSDL_CONTENT_PAGE_RADIO_PORT = port
-WSDL_CONTENT_PAGE_RADIO_BINDING = binding
-WSDL_CONTENT_PAGE_RADIO_PORT_TYPE = portType
-WSDL_CONTENT_PAGE_RADIO_OPERATION = operation
-WSDL_CONTENT_PAGE_RADIO_MESSAGE = message
-WSDL_CONTENT_PAGE_LABEL_NAME = name:
-WSDL_CONTENT_PAGE_LABEL_NAMESPACE = namespace:
-WSDL_CONTENT_PAGE_LABEL_PARENT = parent:
-
-# --------------- Validation Wizard (Log page) ---------------
-LOG_PAGE_SELECT_LOG_FILENAME_HEADING = Specify the WS-I Message Log File Name
-LOG_PAGE_SELECT_LOG_FILENAME_EXPL = Select a folder and specify a message log file name
-
-# Actions
-ACTION_WSI_VALIDATOR = WS-I Message Validator
-
-# --------------- Errors ---------------
-ERROR_UNABLE_TO_VALIDATE = Unable to Validate
-ERROR_VALIDATION_FAILED = Validation Failed
-ERROR_THE_WSIMSG_FILE_IS_NOT_VALID = The WS-I Message Log file is not valid. See the Problems view for a list of the validation errors.
-ERROR_PROBLEMS_READING_WSIMSG_FILE = Problems reading the WS-I Message Log file. See the Problems view for a list of errors.
-ERROR_INVALID_LOG_FILE_EXTENSION = The file name extension can only be ".wsimsg".
-WARNING_VALIDATION_WARNINGS_DETECTED = However warnings have been issued. See the Problems view for a list of the validation warnings.
-WARNING_FILE_ALREADY_EXISTS = Warning: The file already exists and will be overwritten.
-
-# --------------- Informational messages ---------------
-INFO_VALIDATION_SUCEEDED = Validation Succeeded
-INFO_THE_WSIMSG_FILE_IS_VALID = The WS-I Message Log file is valid.
-INFO_NO_MESSAGES_TO_VALIDATE = No Messages to Validate
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Resource.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Resource.java
deleted file mode 100644
index 04b20ca9a..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Resource.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal;
-
-/**
- * GIF constants
- *
- * @author David Lauzon, IBM
- */
-public interface Resource
-{
- public static final String VALIDATE_WSI_LOGFILE_WIZ = "actions/icons/wsi_logfile_wiz.gif";
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/ResourceFilter.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/ResourceFilter.java
deleted file mode 100644
index be02256d1..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/ResourceFilter.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal;
-
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-
-import java.util.Collection;
-
-public class ResourceFilter extends ViewerFilter
-{
- protected String[] fExtensions;
- protected IFile[] fExcludedFiles;
- protected Collection fExcludes;
-
- public ResourceFilter(String[] extensions, Collection exclude)
- {
- fExtensions= extensions;
- fExcludes= exclude;
- fExcludedFiles = null;
- }
-
- public ResourceFilter(String[] extensions, IFile[] excludedFiles, Collection exclude)
- {
- fExtensions= extensions;
- fExcludes= exclude;
- fExcludedFiles = excludedFiles;
- }
-
- public boolean isFilterProperty(Object element, Object property)
- {
- return false;
- }
-
- public boolean select(Viewer viewer, Object parent, Object element)
- {
- if (element instanceof IFile)
- {
- if (fExcludes != null && fExcludes.contains(element))
- {
- return false;
- }
- String name= ((IFile)element).getName();
- if (fExcludedFiles != null)
- {
- for (int j= 0; j < fExcludedFiles.length; j++)
- {
- if ( ((IFile)element).getLocation().
- toString().compareTo(((IFile)fExcludedFiles[j]).getLocation().toString()) == 0 )
- return false;
- }
- }
- if (fExtensions.length == 0)
- {
- // assume that we don't want to filter any files based on
- // extension
- return true;
- }
- for (int i= 0; i < fExtensions.length; i++)
- {
- if (name.endsWith(fExtensions[i]))
- {
- return true;
- }
- }
- return false;
- }
- else if (element instanceof IContainer)
- { // IProject, IFolder
- try
- {
- IResource[] resources= ((IContainer)element).members();
- for (int i= 0; i < resources.length; i++)
- {
- // recursive!
- if (select(viewer, parent, resources[i]))
- {
- return true;
- }
- }
- }
- catch (CoreException e)
- {
- }
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIMessageValidator.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIMessageValidator.java
deleted file mode 100644
index c5ea44c07..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIMessageValidator.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.wst.validation.internal.core.ValidationException;
-import org.eclipse.wst.validation.internal.provisional.core.IReporter;
-import org.eclipse.wst.validation.internal.provisional.core.IValidationContext;
-import org.eclipse.wst.validation.internal.provisional.core.IValidator;
-import org.eclipse.wst.wsi.ui.internal.actions.WSIValidateAction;
-//import org.eclipse.wst.wsi.internal.core.report.impl.DefaultReporter;
-
-/**
- * A Validator that performs validation on a WS-I Message Log file.
- *
- * @author David Lauzon, IBM
- */
-public class WSIMessageValidator implements IValidator
-{
- protected IReporter reporter;
- public static final String WSI_MESSAGE_VALIDATOR_ID = "wsimessagevalidator".intern();
-
- /* (non-Javadoc)
- * @see org.eclipse.validate.IValidator#validate(org.eclipse.core.resources.IFile)
- */
- public void validate(IFile file)
- {
- WSIValidateAction validateAction = new WSIValidateAction(file, false);
- validateAction.setValidator(this);
- //validateAction.setReporter(getReporter());
- validateAction.run();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.validate.IValidator#setReporter(org.eclipse.validate.IReporter)
- */
- public void setReporter(IReporter reporter)
- {
- this.reporter = reporter;
- }
-
-public void cleanup(IReporter reporter) {
- // TODO Auto-generated method stub
-
-}
-
-public void validate(IValidationContext helper, IReporter reporter) throws ValidationException
- {
- // TODO Auto-generated method stub
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIUIPlugin.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIUIPlugin.java
deleted file mode 100644
index 6bac68f69..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIUIPlugin.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- * WSIValidatePlugin is a plugin that integrates with the Eclipse platform UI.
- *
- * @author David Lauzon, IBM
- * @author Lawrence Mandel, IBM
- */
-
-public class WSIUIPlugin extends AbstractUIPlugin
-{
- /**
- * The singleton.
- */
- protected static WSIUIPlugin instance;
- public static final String PLUGIN_ID = "org.eclipse.wst.wsi.ui";
- /**
- * Constructor.
- */
- public WSIUIPlugin()
- {
- super();
- instance = this;
- }
-
- /**
- * Returns the singleton. (Based on the Singleton Pattern).
- */
- public static WSIUIPlugin getInstance()
- {
- return instance;
- }
-
- protected ImageRegistry createImageRegistry()
- {
- ImageRegistry registry = super.createImageRegistry();
- registerImage(registry, Resource.VALIDATE_WSI_LOGFILE_WIZ);
- return registry;
- }
-
- /**
- * Register an image with the registry.
- *
- * @param key the key
- */
- private void registerImage(ImageRegistry registry, String key)
- {
- try
- {
- ImageDescriptor id = ImageDescriptor.createFromFile(WSIUIPlugin.class, key);
- registry.put(key, id);
- } catch (Exception e)
- {
- }
- }
-
- /**
- * Convience API.
- * Finds the specified image stored in this plug-in's image registry.
- * @param iconName: the name of the image.
- * @return the image associated with the given name.
- */
- public static Image getResourceImage(String iconName)
- {
- return instance.getImageRegistry().get(iconName);
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIValidator.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIValidator.java
deleted file mode 100644
index 0db64458f..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIValidator.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.wst.wsi.ui.internal.actions.WSIValidateAction;
-
-/**
- * A simple interface to the WS-I message log validator.
- *
- * @author Lawrence Mandel, IBM
- */
-public class WSIValidator {
-
- /**
- * Constructor.
- */
- public WSIValidator()
- {
- }
-
- /**
- * Validate the given log file.
- *
- * @param file The log file to validate.
- */
- public void validate(IFile file)
- {
- WSIMessageValidator messageValidator = new WSIMessageValidator();
- WSIValidateAction validateAction = new WSIValidateAction(file, true);
- validateAction.setValidator(messageValidator);
- validateAction.run();
- }
-
- /**
- * Validate the given log file with a WSDL document specified.
- *
- * @param file The log file to validate.
- * @param wsdlfile The WSDL file to use for validation.
- * @param elementname The WSDL element to validate.
- * @param namespace The namespace of the WSDL element to validate.
- * @param parentname The name of the parent element of the element to validate.
- * @param type The type of the element to validate.
- */
- /**
- * Validate the given log file.
- *
- * @param file The log file to validate.
- */
- public void validate(IFile file, String wsdlfile, String elementname, String namespace, String parentname, String type)
- {
- WSIMessageValidator messageValidator = new WSIMessageValidator();
- WSIValidateAction validateAction = new WSIValidateAction(file, true, wsdlfile, elementname, namespace, parentname, type);
- validateAction.setValidator(messageValidator);
- validateAction.run();
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/ValidateAction.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/ValidateAction.java
deleted file mode 100644
index 4efceca6b..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/ValidateAction.java
+++ /dev/null
@@ -1,431 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.actions;
-
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IMarker;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IPageLayout;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.part.FileEditorInput;
-import org.eclipse.wst.validation.internal.operations.LocalizedMessage;
-import org.eclipse.wst.validation.internal.operations.WorkbenchReporter;
-import org.eclipse.wst.validation.internal.provisional.core.IMessage;
-import org.eclipse.wst.validation.internal.provisional.core.IReporter;
-import org.eclipse.wst.validation.internal.provisional.core.IValidator;
-import org.eclipse.wst.wsi.ui.internal.WSIUIPlugin;
-import org.eclipse.wst.xml.core.internal.validation.core.ValidationMessage;
-import org.eclipse.wst.xml.core.internal.validation.core.logging.ILogger;
-import org.eclipse.wst.xml.core.internal.validation.core.logging.LoggerFactory;
-import org.eclipse.wst.xml.ui.internal.Logger;
-import org.eclipse.wst.xml.ui.internal.validation.XMLValidationUIMessages;
-
-/**
- * A general validate action class that can be extended by validators. This class
- * provides methods to run the action, add markers to a file and will handle
- * showing a dialog with the results of validation (if requested) and prompt to
- * save dirty files (if requested.)
- */
-public abstract class ValidateAction extends Action
-{
- // Locally used, non-UI strings.
- private static final String REFERENCED_FILE_ERROR_OPEN = "referencedFileError("; //$NON-NLS-1$
-
- private static final String REFERENCED_FILE_ERROR_CLOSE = ")"; //$NON-NLS-1$
-
- private static final String REFERENCED_FILE_ERROR = "referencedFileError"; //$NON-NLS-1$
-
- private static final String GROUP_NAME = "groupName"; //$NON-NLS-1$
-
- private static final String FILE_PROTOCOL_NO_SLASH = "file:"; //$NON-NLS-1$
- private static final String FILE_PROTOCOL = "file:///"; //$NON-NLS-1$
-
- protected static final String COLUMN_NUMBER_ATTRIBUTE = "columnNumber"; //$NON-NLS-1$
- protected static final String SQUIGGLE_SELECTION_STRATEGY_ATTRIBUTE = "squiggleSelectionStrategy"; //$NON-NLS-1$
- protected static final String SQUIGGLE_NAME_OR_VALUE_ATTRIBUTE = "squiggleNameOrValue"; //$NON-NLS-1$
-
- protected boolean showDialog = true;
-
- protected IFile file = null;
-
- protected IReporter reporter;
-
- protected IValidator validator;
-
- /**
- * Constructor.
- *
- * @param file
- * The file to validate.
- * @param showDialog
- * Whether or not to show a dialog when validation is complete.
- */
- public ValidateAction(IFile file, boolean showDialog)
- {
- this.showDialog = showDialog;
- this.file = file;
- }
-
- /**
- * Validate the specified file.
- *
- * @param file
- * The file to validate.
- */
- protected abstract void validate(final IFile file);
-
- protected void addInfoToMessage (ValidationMessage v, IMessage m)
- { // This method is overidden by subclasses
- }
-
- /**
- * Create markers for the valiation messages generated from the validation.
- *
- * @param iFile
- * The resource to create the markers on.
- * @param valmessages
- * The array of validation messages.
- */
- public void createMarkers(IFile iFile, ValidationMessage[] valmessages)
- {
- if (!fileIsOK(iFile))
- {
- return;
- }
- int nummessages = valmessages.length;
- for (int i = 0; i < nummessages; i++)
- {
- ValidationMessage validationMessage = valmessages[i];
- String uri = validationMessage.getUri();
-
- LocalizedMessage message;
- if (validationMessage.getSeverity() == ValidationMessage.SEV_LOW)
- {
- message = new LocalizedMessage(getValidationFrameworkSeverity(IMarker.SEVERITY_WARNING), validationMessage
- .getMessage(), iFile);
- }
- else
- {
- message = new LocalizedMessage(getValidationFrameworkSeverity(IMarker.SEVERITY_ERROR), validationMessage.getMessage(), iFile);
- }
-
- message.setLineNo(validationMessage.getLineNumber());
- addInfoToMessage(validationMessage, message);
-
- List nestederrors = validationMessage.getNestedMessages();
- if (nestederrors != null && !nestederrors.isEmpty())
- {
- message.setGroupName(REFERENCED_FILE_ERROR_OPEN + uri + REFERENCED_FILE_ERROR_CLOSE);
- }
-
- getOrCreateReporter().addMessage(getValidator(), message);
-
-
- }
- try
- {
- IMarker[] markers = iFile.findMarkers(null, true, IResource.DEPTH_INFINITE);
- for (int i = 0; i < markers.length; i++)
- {
- IMarker marker = markers[i];
- String groupName = null;
- try
- {
- groupName = (String) marker.getAttribute(GROUP_NAME);
- }
- catch (Exception e)
- {
- }
-
- if (groupName != null && groupName.startsWith(REFERENCED_FILE_ERROR))
- {
-
- marker.setAttribute(IMarker.DONE, true);
- }
- }
- }
- catch (CoreException e)
- {
- e.printStackTrace();
- }
-
- }
-
- public void clearMarkers(IFile iFile)
- {
- if (fileIsOK(iFile))
- {
- getOrCreateReporter().removeAllMessages(getValidator(), iFile);
- }
- }
-
- public void run()
- {
- try
- {
- // CS... a temporary test to avoid performing validation in the absence of xerces
- //
- //dw Class theClass =
- Class.forName("org.apache.xerces.xni.parser.XMLParserConfiguration", true, this.getClass().getClassLoader()); //$NON-NLS-1$
-
- if (fileIsOK(file))
- {
- // Check if the editor is dirty for this file. If so, prompt the user to
- // save before validating.
- if(showDialog)
- {
- checkIfFileDirty(file);
- }
- try
- {
- validate(file);
- }
- catch (Exception e)
- {
- ILogger logger = LoggerFactory.getLoggerInstance();
- logger.logError("", e); //$NON-NLS-1$
- // e.printStackTrace();
- }
- }
- }
- catch (Exception e)
- {
- }
- }
-
- /**
- * Test whether the file given is OK to use. A file is OK to use if 1. It is
- * not null 2. It exists. 3. The project containing the file is accessible.
- *
- * @param file The file to check.
- * @return True if the file is OK to use, false otherwise.
- */
- protected boolean fileIsOK(IFile file)
- {
- if (file != null && file.exists() && file.getProject().isAccessible())
- {
- return true;
- }
- return false;
- }
-
- /**
- * Check if the file is dirty. A file is dirty if there is an open editor for
- * the file that contains changes that haven't been saved.
- *
- * @param file The file to check to see if it is dirty.
- */
- protected void checkIfFileDirty(IFile file)
- {
- IEditorPart[] dirtyEditors = WSIUIPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow()
- .getActivePage().getDirtyEditors();
- int numeditors = dirtyEditors.length;
- for (int i = 0; i < numeditors; i++)
- {
- IEditorInput editorInput = dirtyEditors[i].getEditorInput();
- if (editorInput instanceof FileEditorInput)
- {
- FileEditorInput fileEditorInput = (FileEditorInput) editorInput;
- if (fileEditorInput.getFile().equals(file))
- {
- String message = XMLValidationUIMessages._UI_SAVE_DIRTY_FILE_MESSAGE;
- String title = XMLValidationUIMessages._UI_SAVE_DIRTY_FILE_TITLE;
- if (MessageDialog.openQuestion(Display.getDefault().getActiveShell(), title, message))
- {
- dirtyEditors[i].doSave(null);
- }
- // There can only be one open editor/file so we can break.
- break;
- }
- }
- }
- }
-
- /**
- * Gets the reporter.
- *
- * @return Returns a IReporter
- */
- public IReporter getReporter()
- {
- return reporter;
- }
-
- /**
- * Sets the reporter.
- *
- * @param reporter
- * The reporter to set
- */
- public void setReporter(IReporter reporter)
- {
- this.reporter = reporter;
- }
-
- /**
- * Gets the validator.
- *
- * @return Returns a IValidator
- */
- public IValidator getValidator()
- {
- return validator;
- }
-
- /**
- * Sets the validator.
- *
- * @param validator
- * The validator to set
- */
- public void setValidator(IValidator validator)
- {
- this.validator = validator;
- }
-
- protected IReporter getOrCreateReporter()
- {
- if (reporter == null)
- {
- reporter = new WorkbenchReporter(file.getProject(), new NullProgressMonitor());
- }
- return reporter;
- }
-
- /**
- * Originally from *validation.Helper
- *
- * @param severity
- * The severity given.
- * @return The validation framework severity corresponding to the error.
- */
- protected int getValidationFrameworkSeverity(int severity)
- {
- switch (severity) {
- case IMarker.SEVERITY_ERROR:
- return IMessage.HIGH_SEVERITY;
- case IMarker.SEVERITY_WARNING:
- return IMessage.NORMAL_SEVERITY;
- case IMarker.SEVERITY_INFO:
- return IMessage.LOW_SEVERITY;
- }
- return IMessage.LOW_SEVERITY;
- }
-
- /**
- * Open an error dialog with the given title and message. Show the problems view
- * if it is not already visible.
- *
- * @param title The title of the error dialog.
- * @param message The message in the error dialog.
- */
- protected void openErrorDialog(String title, String message)
- {
- showProblemsView();
- MessageDialog.openError(Display.getDefault().getActiveShell(), title, message);
- }
-
- /**
- * Open an warning dialog with the given title and message. Show the problems view
- * if it is not already visible.
- *
- * @param title The title of the warning dialog.
- * @param message The message in the warning dialog.
- */
- protected void openWarningDialog(String title, String message)
- {
- showProblemsView();
- MessageDialog.openWarning(Display.getDefault().getActiveShell(), title, message);
- }
-
- /**
- * Open a valid dialog with the given title and message.
- *
- * @param title The title of the valid dialog.
- * @param message The message in the valid dialog.
- */
- protected void openValidDialog(String title, String message)
- {
- MessageDialog.openInformation(Display.getDefault().getActiveShell(), title, message);
- }
-
- /**
- * Show the problems view if it is not already visible.
- */
- protected void showProblemsView()
- {
- IWorkbenchWindow dw = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- IWorkbenchPage page = dw.getActivePage();
- IWorkbenchPart activePart = page.getActivePart();
- try
- {
- if (page != null)
- {
- page.showView(IPageLayout.ID_PROBLEM_VIEW);
- }
- }
- catch (PartInitException e)
- {
- Logger.logException(e);
- }
- page.activate(activePart);
- }
-
- /**
- * Format a file name into a correct URI.
- *
- * @param filename The file name to format.
- * @return The formatted URI.
- */
- protected String createURIForFilePath(String filename)
- {
- if(!filename.startsWith(FILE_PROTOCOL_NO_SLASH))
- {
- while(filename.startsWith("/")) //$NON-NLS-1$
- {
- filename = filename.substring(1);
- }
- filename = FILE_PROTOCOL + filename;
- }
- return filename;
- }
-
- /**
- * The validation outcome class holds the results from validating
- * a file.
- *
- * @author Lawrence Mandel, IBM
- */
- protected class ValidationOutcome
- {
- public boolean isValid = true;
-
- public boolean hasMessages = false;
-
- public ValidationOutcome()
- {
- }
- }
-}
-
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidateAction.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidateAction.java
deleted file mode 100644
index 26aab86a6..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidateAction.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.actions;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IWorkspaceRunnable;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.wst.validation.internal.core.IMessageAccess;
-import org.eclipse.wst.validation.internal.provisional.core.IMessage;
-import org.eclipse.wst.validation.internal.provisional.core.IReporter;
-import org.eclipse.wst.validation.internal.provisional.core.IValidator;
-import org.eclipse.wst.validation.internal.provisional.core.MessageLimitException;
-import org.eclipse.wst.wsi.internal.analyzer.MessageAnalyzer;
-import org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException;
-import org.eclipse.wst.wsi.internal.core.WSIConstants;
-import org.eclipse.wst.wsi.internal.report.AssertionError;
-import org.eclipse.wst.wsi.ui.internal.Messages;
-import org.eclipse.wst.xml.core.internal.validation.core.ValidationMessage;
-import org.xml.sax.SAXParseException;
-
-/**
- * Action for running the validator.
- *
- * @author David Lauzon, IBM
- * @author Lawrence Mandel, IBM
- */
-public class WSIValidateAction extends ValidateAction
-{
- protected IValidator validator;
-
- protected String wsdlfile = null;
- protected String elementname = null;
- protected String namespace = null;
- protected String parentname = null;
- protected String type = null;
- protected boolean wsdlspecified = false;
- protected boolean exceptionCaught = false;
-
- /**
- * Constructor.
- *
- * @param f The file to validate
- * @param showDialog Whether or not to show a status dialog after validation.
- */
- public WSIValidateAction(IFile f, boolean showDialog)
- {
- super(f, showDialog);
- }
-
- /**
- * Constructor with WSDL element specified.
- *
- * @param f The file to validate.
- * @param showDialog Whether or not to show a status dialog after validation.
- * @param file The WSDL file to use for validation.
- * @param elementname The name of the WSDL element to validate.
- * @param namespace The namespace of the WSDL element to validate
- * @param parentname The parent name of the WSDL element to validate.
- * @param type The type of element to validate.
- */
- public WSIValidateAction(IFile f, boolean showDialog, String file, String elementname, String namespace, String parentname, String type)
- {
- this(f, showDialog);
- if (file != null)
- {
- wsdlfile = file.replace('\\', '/');
- if ((!wsdlfile.startsWith(WSIConstants.FILE_PREFIX)) &&
- (!wsdlfile.startsWith(WSIConstants.HTTP_PREFIX)))
- {
- wsdlfile = WSIConstants.FILE_PROTOCOL + wsdlfile;
- }
- }
- this.elementname = elementname;
- this.namespace = namespace;
- this.parentname = parentname;
- this.type = type;
- this.wsdlspecified = true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.validate.ValidateAction#validate(org.eclipse.core.resources.IFile)
- */
- protected void validate(final IFile file1)
- {
- final MessageAnalyzer messageanalyzer;
-
- if(wsdlspecified)
- {
- messageanalyzer = new MessageAnalyzer(WSIConstants.FILE_PROTOCOL + file1.getLocation().toString(), wsdlfile, elementname, namespace, parentname, type);
- }
- else
- {
- messageanalyzer = new MessageAnalyzer(WSIConstants.FILE_PROTOCOL + file1.getLocation().toString());
- }
-
- IWorkspaceRunnable op = new IWorkspaceRunnable()
- {
- public void run(IProgressMonitor progressMonitor) throws CoreException
- {
- clearMarkers(file1);
- try
- {
- messageanalyzer.validateConformance();
- }
- catch (WSIAnalyzerException ae)
- {
- exceptionCaught = true;
- if (ae.getTargetException() instanceof SAXParseException)
- {
- createMarkers(file1, new ValidationMessage[]{createValidationMessageForException((SAXParseException)ae.getTargetException(), ValidationMessage.SEV_NORMAL)});
- }
- else
- {
- createMarkers(file1, new ValidationMessage[]{createValidationMessageForException(ae, ValidationMessage.SEV_NORMAL)});
- }
- }
- catch (Exception e)
- {
- }
-
- createMarkers(file1, convertValidationMessages(messageanalyzer.getAssertionWarnings(), ValidationMessage.SEV_LOW));
- createMarkers(file1, convertValidationMessages(messageanalyzer.getAssertionErrors(), ValidationMessage.SEV_NORMAL));
- file.setSessionProperty(ValidationMessage.ERROR_MESSAGE_MAP_QUALIFIED_NAME, getOrCreateReporter().getMessages());
- }
- };
-
-
- try
- {
- ResourcesPlugin.getWorkspace().run(op, null);
- if (showDialog)
- {
- if (exceptionCaught)
- {
- MessageDialog.openError(Display.getDefault().getActiveShell(),
- Messages.ERROR_UNABLE_TO_VALIDATE,
- Messages.ERROR_PROBLEMS_READING_WSIMSG_FILE);
- }
- else if (messageanalyzer.getAssertionErrors().size() != 0)
- {
- MessageDialog.openError(Display.getDefault().getActiveShell(),
- Messages.ERROR_VALIDATION_FAILED,
- Messages.ERROR_THE_WSIMSG_FILE_IS_NOT_VALID);
- }
- else if (messageanalyzer.getAssertionWarnings().size() != 0)
- {
- String title = Messages.INFO_VALIDATION_SUCEEDED;
- String message = Messages.WARNING_VALIDATION_WARNINGS_DETECTED;
- MessageDialog.openInformation(Display.getDefault().getActiveShell(), title, message);
- }
- else
- {
- String title = Messages.INFO_VALIDATION_SUCEEDED;
- String message = Messages.INFO_THE_WSIMSG_FILE_IS_VALID;
- MessageDialog.openInformation(Display.getDefault().getActiveShell(), title, message);
- }
- }
- }
- catch(Exception e){}
- }
-
- /**
- * Create a validation message from the exception and severity.
- *
- * @param error The error.
- * @param severity The severity.
- * @return An error message.
- */
- protected ValidationMessage createValidationMessageForException(SAXParseException error, int severity)
- {
- String uri = error.getSystemId();
- if(uri == null)
- {
- uri = error.getPublicId();
- }
- ValidationMessage validationMessage = new ValidationMessage(error.getMessage(), error.getLineNumber(), error.getColumnNumber(), uri);
- validationMessage.setSeverity(severity);
- return validationMessage;
- }
-
-
- /**
- * Create a validation message from the exception and severity.
- *
- * @param error The error.
- * @param severity The severity.
- * @return An error message.
- */
- protected ValidationMessage createValidationMessageForException(WSIAnalyzerException error, int severity)
- {
- ValidationMessage validationMessage = new ValidationMessage(error.getMessage(), 0, 0);
- validationMessage.setSeverity(severity);
- return validationMessage;
- }
-
- public ValidationMessage[] convertValidationMessages(List list, int marker)
- {
- if (list != null)
- {
- int size = list.size();
- ValidationMessage[] messages = new ValidationMessage[size];
-
- for (int i = 0; i < size; i++)
- {
- AssertionError assertionError = (AssertionError) list.get(i);
-
- int n = assertionError.getLine();
- int c = assertionError.getColumn();
- String m = WSIConstants.WSI_PREFIX + "(" + assertionError.getAssertionID()+ ") " + assertionError.getErrorMessage();
-
- ValidationMessage message = new ValidationMessage(m,n, c);
- message.setSeverity(marker);
- messages[i] = message;
- }
- return messages;
- }
- return new ValidationMessage[0];
- }
-
- /**
- protected IReporter getOrCreateReporter()
- {
- if (reporter == null)
- {
- reporter = new Reporter();
- }
- return reporter;
- }
- */
- // My Implementation of IReporter
- class Reporter implements IReporter
- {
- List list = new ArrayList();
-
- public Reporter() {
- super();
- }
-
- public IMessageAccess getMessageAccess() {
- return null; // do not need to implement
- }
-
- public boolean isCancelled() {
- return false; // do not need to implement
- }
-
- public void removeAllMessages(IValidator origin, Object object) { // do
- // not
- // need
- // to
- // implement
- }
-
- public void removeAllMessages(IValidator origin) {// do not need to
- // implement
- }
-
- public void removeMessageSubset(IValidator validator, Object obj, String groupName) {// do
- // not
- // need
- // to
- // implement
- }
-
- public List getMessages() {
- return list;
- }
-
- public void addMessage(IValidator origin, IMessage message) throws MessageLimitException
- {
- list.add(message);
- }
-
- public void displaySubtask(IValidator validator, IMessage message)
- {
- // TODO Auto-generated method stub
-
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidationUIMessages.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidationUIMessages.java
deleted file mode 100644
index c01a2a5e4..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidationUIMessages.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- */
-package org.eclipse.wst.wsi.ui.internal.actions;
-
-import org.eclipse.osgi.util.NLS;
-
-/**
- * Strings used by XML Validation
- */
-public class WSIValidationUIMessages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.wst.wsi.ui.internal.actions.wsivalidation"; //$NON-NLS-1$
-
- private WSIValidationUIMessages() {
- // cannot create new instance
- }
-
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, WSIValidationUIMessages.class);
- }
- public static String _UI_SAVE_DIRTY_FILE_MESSAGE;
- public static String _UI_SAVE_DIRTY_FILE_TITLE;
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/RequestHandlerImpl.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/RequestHandlerImpl.java
deleted file mode 100644
index 425f608fd..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/RequestHandlerImpl.java
+++ /dev/null
@@ -1,226 +0,0 @@
-package org.eclipse.wst.wsi.ui.internal.actions.actionDelegates;
-
-import java.util.Date;
-
-import org.eclipse.wst.internet.monitor.core.internal.provisional.Request;
-import org.eclipse.wst.wsi.internal.core.log.RequestHandler;
-
-/**
- * Implements the RequestHandler interface which represents a TCP/IP
- * request made between the client and the server. Each request
- * represents a request-response pair, where the request is from
- * client -> server, and the response is from server -> client.
- *
- * @author lauzond
- */
-public class RequestHandlerImpl implements RequestHandler
-{
- /**
- * The HTTP header of the request portion of this request.
- */
- protected byte[] requestHeader;
-
- /**
- * The HTTP header of the response portion of this request.
- */
- protected byte[] responseHeader;
-
- /**
- * The HTTP body of the request portion of this request.
- */
- protected byte[] requestContent;
-
- /**
- * The HTTP body of the response portion of this request.
- */
- protected byte[] responseContent;
-
- /**
- * The time this request was made.
- */
- protected Date date = null;
-
- /**
- * The local (client) port.
- */
- protected int localPort = 0;
-
- /**
- * The remote (server) port.
- */
- protected int remotePort = 0;
-
- /**
- * The remote (server) host.
- */
- protected String remoteHost = null;
-
- /**
- * The server's response time in milliseconds.
- */
- protected long responseTime = 0;
-
- /**
- * Constructor.
- * @param request a TCP/IP request
- */
- RequestHandlerImpl(Request request)
- {
- if (request != null)
- {
- this.requestHeader = request.getRequest(Request.TRANSPORT);
- this.requestContent = request.getRequest(Request.CONTENT);
- this.responseHeader = request.getResponse(Request.TRANSPORT);
- this.responseContent = request.getResponse(Request.CONTENT);
- this.date = request.getDate();
- this.localPort = request.getLocalPort();
- this.remotePort = request.getRemotePort();
- this.remoteHost = request.getRemoteHost();
- this.responseTime = request.getResponseTime();
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getRequestHeader()
- */
- public byte[] getRequestHeader()
- {
- return this.requestHeader;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setRequestHeader(byte[])
- */
- public void setRequestHeader(byte[] requestHeader)
- {
- this.requestHeader = requestHeader;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getResponseHeader()
- */
- public byte[] getResponseHeader()
- {
- return this.responseHeader;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setResponseHeader(byte[])
- */
- public void setResponseHeader(byte[] responseHeader)
- {
- this.responseHeader = responseHeader;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getRequestContent()
- */
- public byte[] getRequestContent()
- {
- return this.requestContent;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setResponseContent(byte[])
- */
- public void setResponseContent(byte[] responseContent)
- {
- this.responseContent = responseContent;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getResponseContent()
- */
- public byte[] getResponseContent()
- {
- return this.responseContent;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setRequestContent(byte[])
- */
- public void setRequestContent(byte[] requestContent)
- {
- this.requestContent = requestContent;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getDate()
- */
- public Date getDate()
- {
- return this.date;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setDate(java.util.Date)
- */
- public void setDate(Date date)
- {
- this.date = date;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getLocalPort()
- */
- public int getLocalPort()
- {
- return this.localPort;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setLocalPort(int)
- */
- public void setLocalPort(int localPort)
- {
- this.localPort = localPort;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getRemotePort()
- */
- public int getRemotePort()
- {
- return this.remotePort;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setRemotePort(int)
- */
- public void setRemotePort(int remotePort)
- {
- this.remotePort = remotePort;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getRemoteHost()
- */
- public String getRemoteHost()
- {
- return this.remoteHost;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setRemoteHost(java.lang.String)
- */
- public void setRemoteHost(String remoteHost)
- {
- this.remoteHost = remoteHost;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#getResponseTime()
- */
- public long getResponseTime()
- {
- return this.responseTime;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsi.internal.core.log.RequestHandler#setResponseTime(long)
- */
- public void setResponseTime(long responseTime)
- {
- this.responseTime = responseTime;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSILogFileActionDelegate.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSILogFileActionDelegate.java
deleted file mode 100644
index 3c410e841..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSILogFileActionDelegate.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.actions.actionDelegates;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.ui.IActionDelegate;
-
-import org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;
-import org.eclipse.wst.wsi.ui.internal.actions.WSIValidateAction;
-
-
-/**
- * Action delegate for validating a WS-I log file.
- *
- * @author David Lauzon, IBM
- * @author Lawrence Mandel, IBM
- */
-public class ValidateWSILogFileActionDelegate implements IActionDelegate
-{
- /**
- * The current selection, or null if there is no selection.
- */
- ISelection selection;
-
- /**
- * Constructor.
- */
- public ValidateWSILogFileActionDelegate()
- {
- }
-
- /**
- * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- */
- public void run(IAction action)
- {
- try
- {
- if (selection instanceof IStructuredSelection)
- {
- Object obj = ((IStructuredSelection)selection).getFirstElement();
- if (obj instanceof IFile)
- {
- IFile file = (IFile)obj;
- WSIMessageValidator messageValidator = new WSIMessageValidator();
- WSIValidateAction validateAction = new WSIValidateAction(file, true);
- validateAction.setValidator(messageValidator);
- validateAction.run();
- }
- }
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
- /**
- * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
- */
- public void selectionChanged(IAction action, ISelection selection)
- {
- this.selection = selection;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSIProfileActionDelegate.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSIProfileActionDelegate.java
deleted file mode 100644
index 31bae5be5..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSIProfileActionDelegate.java
+++ /dev/null
@@ -1,240 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.actions.actionDelegates;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Vector;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.wst.internet.monitor.core.internal.provisional.Request;
-import org.eclipse.wst.internet.monitor.ui.internal.provisional.MonitorUICore;
-import org.eclipse.wst.wsi.internal.core.log.LogBuilder;
-import org.eclipse.wst.wsi.internal.core.log.RequestHandler;
-import org.eclipse.wst.wsi.ui.internal.Messages;
-import org.eclipse.wst.wsi.ui.internal.wizards.ValidationWizard;
-import org.eclipse.wst.wsi.ui.internal.WSIValidator;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IViewActionDelegate;
-import org.eclipse.ui.IViewPart;
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-import org.eclipse.ui.dialogs.ContainerGenerator;
-import org.eclipse.wst.wsi.internal.core.log.Log;
-
-/**
- * Action delegate for the WS-I validator.
- *
- * @author David Lauzon, IBM
- * @author Lawrence Mandel, IBM
- */
-public class ValidateWSIProfileActionDelegate implements IViewActionDelegate
-{
- /**
- * The default WS-I Message Log filename.
- */
- public static final String DEFAULT_LOG_FILENAME = "log.wsimsg";
-
- /**
- * The HTTP protocol.
- */
- private final String HTTP = "http://";
-
-
- /**
- * The default tag for WSDL locations.
- */
- private final String WSDL = "?WSDL";
-
- /**
- * The current selection, or null if there is no selection.
- */
- ISelection selection;
-
- /**
- * The list of messages in the form of request-response pairs.
- */
- Request[] requestResponses;
-
- /**
- * The view that provides the context for this delegate.
- */
- IViewPart view;
-
- /**
- * Constructor.
- */
- public ValidateWSIProfileActionDelegate()
- {
- }
-
- /**
- * @see org.eclipse.ui.IViewActionDelegate#init(org.eclipse.ui.IViewPart)
- */
- public void init(IViewPart view)
- {
- this.view = view;
- }
-
- /**
- * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- */
- public void run(IAction action)
- {
- WorkspaceModifyOperation operation = new WorkspaceModifyOperation()
- {
- protected void execute(IProgressMonitor progressMonitor)
- throws CoreException
- {
- validate(progressMonitor);
- }
- };
-
- try
- {
- operation.run(null);
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- }
- }
-
- /**
- * The validate action.
- *
- * @param progressMonitor
- */
- public void validate(IProgressMonitor progressMonitor)
- {
- try
- {
- requestResponses = MonitorUICore.getRequests();
- Shell shell = Display.getCurrent().getActiveShell();
- if ((requestResponses != null) && (requestResponses.length > 0))
- {
- ValidationWizard validateWizard = new ValidationWizard(DEFAULT_LOG_FILENAME);
- List wsdllocs = new Vector();
-
- for (int i=0; i<requestResponses.length; i++)
- {
- Request reqresp = requestResponses[i];
- String remotehost = reqresp.getRemoteHost();
- int remoteport = reqresp.getRemotePort();
- String remotelabel = reqresp.getName();
- String location = HTTP + remotehost + ":" + remoteport + remotelabel + WSDL;
- if(!wsdllocs.contains(location))
- {
- wsdllocs.add(location);
- }
- }
-
- validateWizard.setWSDLLocations((String[])wsdllocs.toArray(new String[wsdllocs.size()]));
- WizardDialog wizardDialog = new WizardDialog(shell, validateWizard);
- wizardDialog.create();
-
- int result = wizardDialog.open();
-
- if (validateWizard.isValid() && (result != org.eclipse.jface.window.Window.CANCEL))
- {
- // If the container doesn't exist, create it now
- checkAndCreateContainer(validateWizard.getContainerFullPath());
-
- IFile file = validateWizard.getFile();
- LogBuilder builder = new LogBuilder(file);
- Log log = builder.buildLog(getRequestHandlers(requestResponses));
-
- builder.writeLog(log);
- file.refreshLocal(1, progressMonitor);
-
- WSIValidator messageValidator = new WSIValidator();
- if(validateWizard.includeWSDLFile())
- {
- String wsdlfile = validateWizard.getWSDLFile();
- String name = validateWizard.getElementName();
- String namespace = validateWizard.getNamespace();
- String parentname = validateWizard.getParentName();
- String type = validateWizard.getType();
- messageValidator.validate(file, wsdlfile, name, namespace, parentname, type);
- }
- else
- {
- messageValidator.validate(file);
- }
- }
- }
- else
- {
- // no available messages to validate
- String title = Messages.ACTION_WSI_VALIDATOR;
- String message = Messages.INFO_NO_MESSAGES_TO_VALIDATE;
- MessageDialog.openInformation(shell, title, message);
- }
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
- private List getRequestHandlers(Request[] requestResponses)
- {
- List requestHandlers = new ArrayList();
- int size = requestResponses.length;
- for (int i = 0; i<size; i++)
- {
- Request request = requestResponses[i];
- RequestHandler handler = new RequestHandlerImpl(request);
- requestHandlers.add(handler);
- }
- return requestHandlers;
- }
-
- /**
- * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
- */
- public void selectionChanged(IAction action, ISelection selection)
- {
- this.selection = selection;
- }
-
- /**
- * If the container doesn't exist for the selected IFile, create it now.
- *
- * @param containerPath The container for the selected IFile.
- */
- public static void checkAndCreateContainer(IPath containerPath)
- {
- IResource resource = ResourcesPlugin.getWorkspace().getRoot().findMember(containerPath);
-
- // If the container doesn't exist in the workspace, create it.
- if (resource == null)
- {
- try
- {
- ContainerGenerator generator = new ContainerGenerator(containerPath);
- generator.generateContainer(null);
- }
- catch (CoreException e)
- {
- }
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/icons/wsi_logfile_wiz.gif b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/icons/wsi_logfile_wiz.gif
deleted file mode 100644
index 0cc8d3f6e..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/icons/wsi_logfile_wiz.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/wsivalidation.properties b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/wsivalidation.properties
deleted file mode 100644
index 94f744a90..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/wsivalidation.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 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
-###############################################################################
-### Constants for strings
-
-#
-# Dirty File Dialog Related Messages
-#
-_UI_SAVE_DIRTY_FILE_MESSAGE = An open editor contains changes to this file that have not been saved. Do you want to save the file before running validation? (If you do not save the file the previously saved version will be validated.)
-_UI_SAVE_DIRTY_FILE_TITLE = Save file?
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizard.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizard.java
deleted file mode 100644
index 0b38b9ade..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizard.java
+++ /dev/null
@@ -1,319 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.wizards;
-
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLReader;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.wst.wsi.ui.internal.Messages;
-import org.eclipse.wst.wsi.ui.internal.Resource;
-import org.eclipse.wst.wsi.ui.internal.WSIUIPlugin;
-import org.eclipse.ui.IViewReference;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.views.navigator.ResourceNavigator;
-
-/**
- * This wizard allows the user to specify the location of the
- * WS-I Message Log file for purposes of validation.
- *
- * @author David Lauzon, IBM
- * @author Lawrence Mandel, IBM
- */
-
-public class ValidationWizard extends Wizard
-{
- /**
- * Wizard page to specify the location of the
- * WS-I Message Log file for purposes of validation.
- */
- protected ValidationWizardLogPage logPage;
-
- /**
- * Wizard page to optionally specify the location
- * of the WSDL document for the Web service.
- */
- protected ValidationWizardWSDLPage wsdlPage;
-
- /**
- * Wizard page to specify the name, type and namespace
- * for the WSDL element to analyze.
- */
- protected ValidationWizardWSDLContentPage wsdlContentPage;
-
- /**
- * Default WS-I Message filename passed in the Constructor.
- */
- protected String filename;
-
- /**
- * The selected WS-I Message Log file.
- */
- protected IFile file;
-
- /**
- * The container holding the selected WS-I Message Log file.
- */
- protected IPath containerFullPath;
-
- /**
- * Flag indicating whether selected file is valid.
- */
- protected boolean isValid;
-
- /**
- * The name of the element to validate.
- */
- protected String elementname;
-
- /**
- * The namespace of the element to validate.
- */
- protected String namespace;
-
- /**
- * The name of the parent of the element to validate.
- */
- protected String parentname;
-
- /**
- * The type of the element to validate.
- */
- protected String type;
-
- /**
- * The WSDL file to use for validation;
- */
- protected String wsdlfile;
-
- /**
- * True if a WSDL file is included, false otherwise.
- */
- protected boolean includewsdlfile;
-
-
- /**
- * This list of WSDL locations the user can choose from.
- */
- protected String[] wsdllocations = null;
-
- /**
- * Constructor.
- * @param filename Default message log file name.
- */
- public ValidationWizard(String filename)
- {
- this.filename = filename;
- this.setWindowTitle(Messages.VALIDATION_WIZARD_TITLE);
- setDefaultPageImageDescriptor(
- ImageDescriptor.createFromFile(WSIUIPlugin.class, Resource.VALIDATE_WSI_LOGFILE_WIZ));
- setNeedsProgressMonitor(true);
- }
-
- /**
- * @see org.eclipse.jface.wizard.IWizard#addPages()
- */
- public void addPages()
- {
- logPage = new ValidationWizardLogPage((IStructuredSelection) getResourceNavigatorSelection(), filename);
- wsdlPage = new ValidationWizardWSDLPage((IStructuredSelection) getResourceNavigatorSelection());
- wsdlContentPage = new ValidationWizardWSDLContentPage((IStructuredSelection) getResourceNavigatorSelection());
- addPage(logPage);
- addPage(wsdlPage);
- addPage(wsdlContentPage);
-
- }
-
- /**
- * @return True if a WSDL file is included, false otherwise.
- */
- public boolean includeWSDLFile()
- {
- if (!isValid)
- {
- return wsdlPage.includeWSDLFile();
- }
- return includewsdlfile;
- }
-
- /**
- * Get the element name to validate.
- *
- * @return The element name to validate.
- */
- public String getElementName()
- {
- return elementname;
- }
-
- /**
- * Get the namespace for the element.
- *
- * @return The namespace for the element.
- */
- public String getNamespace()
- {
- return namespace;
- }
-
- /**
- * Get the name of the parent of the element.
- *
- * @return The name of the parent of the element.
- */
- public String getParentName()
- {
- return parentname;
- }
-
- /**
- * Get the type of the element.
- *
- * @return The type of the element.
- */
- public String getType()
- {
- return type;
- }
-
- public String getWSDLFile()
- {
- if (!isValid)
- {
- return wsdlPage.getWSDLFile();
- }
- return wsdlfile;
- }
-
- /**
- * @see org.eclipse.jface.wizard.IWizard#getNextPage(org.eclipse.jface.wizard.IWizardPage)
- */
- public IWizardPage getNextPage(IWizardPage currentPage)
- {
- if (currentPage == wsdlPage)
- {
- if (!wsdlPage.includeWSDLFile())
- {
- return null;
- }
- else
- {
- try
- {
- WSDLFactory factory = WSDLFactory.newInstance();
- WSDLReader reader = factory.newWSDLReader();
- reader.readWSDL(getWSDLFile());
- }
- catch (Exception e)
- {
- // If there is a problem with the WSDL file there is no next page.
- return null;
- }
- }
- }
- return super.getNextPage(currentPage);
- }
-
- /**
- * Returns true if the selected file is a valid WS-I Message Log filename.
- *
- * @return True if the selected file is a valid WS-I Message Log filename.
- */
- public boolean isValid()
- {
- return isValid;
- }
-
- /**
- * @see org.eclipse.jface.wizard.IWizard#performFinish()
- */
- public boolean performFinish()
- {
- file = logPage.getFile();
- containerFullPath = logPage.getContainerFullPath();
- includewsdlfile = wsdlPage.includeWSDLFile();
- wsdlfile = wsdlPage.getWSDLFile();
- elementname = wsdlContentPage.getElementName();
- namespace = wsdlContentPage.getNamespace();
- parentname = wsdlContentPage.getParentName();
- type = wsdlContentPage.getType();
- isValid = true;
- return true;
- }
-
- /**
- * Returns the file selected by the user in the choose page.
- *
- * @return the file selectedby the user in the choose page.
- */
- public IFile getFile()
- {
- return file;
- }
-
- /**
- * Returns the IPath containing the selected IFile.
- *
- * @return the IPath containing the selected IFile.
- */
- public IPath getContainerFullPath()
- {
- return containerFullPath;
- }
-
- /**
- * Returns the selection in the Resource Navigator view.
- *
- * @return the selection in the Resource Navigator view.
- */
- public ISelection getResourceNavigatorSelection()
- {
- IViewReference viewParts[] =
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getViewReferences();
-
- for (int i = 0; i < viewParts.length; i++)
- {
- if (viewParts[i] instanceof ResourceNavigator)
- {
- return ((ResourceNavigator) viewParts[i]).getViewSite().getSelectionProvider().getSelection();
- }
- }
- return StructuredSelection.EMPTY;
- }
-
- /**
- * Set the list of WSDL locations to let the user choose from.
- *
- * @param wsdllocations A list of WSDL document locations.
- */
- public void setWSDLLocations(String[] wsdllocations)
- {
- this.wsdllocations = wsdllocations;
-
- }
-
- /**
- * Get the list of WSDL locations the user can choose from.
- *
- * @return The list of WSDL locations.
- */
- public String[] getWSDLLocations()
- {
- return wsdllocations;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardLogPage.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardLogPage.java
deleted file mode 100644
index 8f88caa2f..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardLogPage.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.wizards;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
-
-import org.eclipse.wst.wsi.ui.internal.Messages;
-
-/**
- * Wizard page that allows the user to specify the location of the
- * WS-I Message Log file for purposes of validation.
- *
- * @author David Lauzon, IBM
- */
-
-public class ValidationWizardLogPage extends WizardNewFileCreationPage
-{
- /**
- * Recommended extension for a WS-I Message Log file.
- */
- public static final String WSI_LOG_EXTENSION = "wsimsg";
-
- /**
- * Default WS-I Message filename passed in the Constructor.
- */
- protected String filename;
-
- /**
- * Constructor.
- *
- * @param selection: selection in the Resource Navigator view.
- * @param filename: default message log file name.
- */
- public ValidationWizardLogPage(IStructuredSelection selection, String filename)
- {
- super("ValidationWizardLogPage", selection);
- this.filename = filename;
- this.setTitle(Messages.LOG_PAGE_SELECT_LOG_FILENAME_HEADING);
- this.setDescription(Messages.LOG_PAGE_SELECT_LOG_FILENAME_EXPL);
- }
-
-
- /**
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- public void createControl(Composite parent)
- {
- super.createControl(parent);
- super.setFileName(filename);
- setPageComplete(validatePage());
- }
-
- /**
- * Returns the current selected file.
- *
- * @return the selected IFile.
- */
- public IFile getFile()
- {
- String fileName = getFileName();
- String fileExtension = (new Path(fileName)).getFileExtension();
-
- if (fileExtension == null)
- fileName = fileName.concat("." + WSI_LOG_EXTENSION);
-
- return ResourcesPlugin.getWorkspace().getRoot().getFile(getContainerFullPath().append(fileName));
- }
-
- /**
- * Returns true if selected file is a valid WS-I Message Log filename.
- *
- * Since the WizardNewFileCreationPage does not provide an interface to
- * allow the file specified to already exist (it gives an error that the
- * the file already exists, an no way of allowing it to pass), and we want
- * to allow the file to exist, so that we can overwrite it, we have to
- * override this method, and do some magic to allow this case to pass.
- *
- * @return true if selected file is a valid WS-I Message Log filename.
- * @see org.eclipse.ui.dialogs.WizardNewFileCreationPage#validatePage()
- */
- protected boolean validatePage()
- {
- String fileExtension = (new Path(getFileName())).getFileExtension();
- if (fileExtension != null)
- {
- if (fileExtension.compareTo(WSI_LOG_EXTENSION) != 0)
- {
- setErrorMessage(Messages.ERROR_INVALID_LOG_FILE_EXTENSION);
- return false;
- }
- }
-
- // Essentially, we take the container and concat the file to it, and
- // check if its in the workspace, if it is, then it exists and we can
- // proceed. Otherwise, continue with the default validating.
- if ( (getContainerFullPath() != null) && (getContainerFullPath().isEmpty() == false)
- && (getFileName().compareTo("") != 0))
- {
- Path fullPath;
-
- if (fileExtension != null)
- fullPath = new Path(getContainerFullPath().toString() + '/' + getFileName());
- else
- fullPath = new Path(getContainerFullPath().toString() + '/' + getFileName() + "." + WSI_LOG_EXTENSION);
-
- IResource resource = ResourcesPlugin.getWorkspace().getRoot().findMember(fullPath);
-
- setErrorMessage(null);
- if (resource != null)
- setMessage(Messages.WARNING_FILE_ALREADY_EXISTS);
- else
- setMessage(null);
-
- return true;
- }
- return super.validatePage();
- }
-}
-
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLContentPage.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLContentPage.java
deleted file mode 100644
index 6ca057107..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLContentPage.java
+++ /dev/null
@@ -1,908 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.wizards;
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.wsdl.Binding;
-import javax.wsdl.Definition;
-import javax.wsdl.Message;
-import javax.wsdl.Operation;
-import javax.wsdl.Port;
-import javax.wsdl.PortType;
-import javax.wsdl.Service;
-import javax.wsdl.WSDLException;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLReader;
-import javax.xml.namespace.QName;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.wst.wsi.ui.internal.Messages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-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.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-/**
- * Wizard page that allows the user to specify the location of the
- * WSDL document for the Web service.
- *
- * @author David Lauzon, IBM
- * @author Lawrence Mandel, IBM
- */
-
-public class ValidationWizardWSDLContentPage extends WizardPage implements SelectionListener
-{
- IStructuredSelection selection;
-
- public static final String PORT = "port";
- public static final String OPERATION = "operation";
- public static final String BINDING = "binding";
- public static final String PORTTYPE = "porttype";
- public static final String MESSAGE = "message";
- /**
- * Access to the includeWSDL flag.
- */
- protected Button wsdlPortButton;
- protected Button wsdlBindingButton;
- protected Button wsdlPortTypeButton;
- protected Button wsdlOperationButton;
- protected Button wsdlMessageButton;
-
- protected Combo nameCombo;
- protected Text namespaceText;
- //protected Combo parentCombo;
- //protected Text nameText;
- protected Text parentnameText;
-
- protected List ports = null;
- protected List operations = null;
- protected List bindings = null;
- protected List porttypes = null;
- protected List messages = null;
-
- /**
- * Constructor.
- *
- * @param selection: selection in the Resource Navigator view.
- */
- public ValidationWizardWSDLContentPage(IStructuredSelection selection)
- {
- super("ValidationWizardWSDLContentPage");
- this.selection = selection;
- this.setTitle(Messages.WSDL_CONTENT_PAGE_SELECT_HEADING);
- this.setDescription(Messages.WSDL_CONTENT_PAGE_SELECT_EXPL);
- }
-
- /**
- * Always returns true.
- */
- public boolean isPageComplete()
- {
- if (((ValidationWizard) getWizard()).includeWSDLFile())
- {
- int selection = nameCombo.getSelectionIndex();
- if (selection != -1 && !nameCombo.getItem(selection).equals(""))
- {
- return true;
- }
- return false;
- }
- return true;
- }
-
- /*
- * Creates the top level control for this page under the given
- * parent composite. Implementors are responsible for ensuring
- * that the created control can be accessed via getControl
- *
- * @param parent - the parent composite
- */
- public void createControl(Composite parent)
- {
- Composite base = new Composite(parent, SWT.NONE);
- base.setLayout(new GridLayout());
- GridData data;
-
- // create a group
- Group wsdlElementGroup = new Group(base, SWT.SHADOW_ETCHED_IN);
- wsdlElementGroup.setText(Messages.WSDL_CONTENT_PAGE_GROUP_TEXT_ELEMENT);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- wsdlElementGroup.setLayoutData(data);
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- wsdlElementGroup.setLayout(layout);
-
- // create a base panel with 2 columns
- Composite basePanel = new Composite(wsdlElementGroup, SWT.NONE);
- layout = new GridLayout();
- layout.numColumns = 2;
- layout.makeColumnsEqualWidth = false;
- basePanel.setLayout(layout);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.verticalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- basePanel.setLayoutData(data);
-
- // content for first column
- createWSDLElementTypeContent(basePanel);
-
- // content for second column
- createWSDLElementContent(basePanel);
-
- setControl(base);
- }
-
- /**
- * Create a group of radio buttons indicating the type of WSDL element.
- * The five tpes are: port, binding, portType, operation and message.
- * @param parent the parent container.
- */
- protected void createWSDLElementTypeContent(Composite parent)
- {
- // create a group
- Group wsdlTypeGroup = new Group(parent, SWT.SHADOW_ETCHED_IN);
- wsdlTypeGroup.setText(Messages.WSDL_CONTENT_PAGE_GROUP_TEXT_TYPE);
- GridData data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = false;
- wsdlTypeGroup.setLayoutData(data);
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- wsdlTypeGroup.setLayout(layout);
-
- wsdlPortButton = new Button(wsdlTypeGroup, SWT.RADIO);
- wsdlPortButton.setText(Messages.WSDL_CONTENT_PAGE_RADIO_PORT);
- wsdlPortButton.setData("wsdlPortButton");
- wsdlPortButton.setSelection(true);
- wsdlPortButton.addSelectionListener(new PortButtonSelectionListener());
-
- wsdlBindingButton = new Button(wsdlTypeGroup, SWT.RADIO);
- wsdlBindingButton.setData("wsdlBindingButton");
- wsdlBindingButton.setText(Messages.WSDL_CONTENT_PAGE_RADIO_BINDING);
- wsdlBindingButton.setSelection(false);
- wsdlBindingButton.addSelectionListener(new BindingButtonSelectionListener());
-
- wsdlPortTypeButton = new Button(wsdlTypeGroup, SWT.RADIO);
- wsdlPortTypeButton.setData("wsdlPortTypeButton");
- wsdlPortTypeButton.setText(Messages.WSDL_CONTENT_PAGE_RADIO_PORT_TYPE);
- wsdlPortTypeButton.setSelection(false);
- wsdlPortTypeButton.addSelectionListener(new PortTypeButtonSelectionListener());
-
- wsdlOperationButton = new Button(wsdlTypeGroup, SWT.RADIO);
- wsdlOperationButton.setData("wsdlOperationButton");
- wsdlOperationButton.setText(Messages.WSDL_CONTENT_PAGE_RADIO_OPERATION);
- wsdlOperationButton.setSelection(false);
- wsdlOperationButton.addSelectionListener(new OperationButtonSelectionListener());
-
- wsdlMessageButton = new Button(wsdlTypeGroup, SWT.RADIO);
- wsdlMessageButton.setData("wsdlMessageButton");
- wsdlMessageButton.setText(Messages.WSDL_CONTENT_PAGE_RADIO_MESSAGE);
- wsdlMessageButton.setSelection(false);
- wsdlMessageButton.addSelectionListener(new MessageButtonSelectionListener());
- }
-
- /**
- * Create a panel to capture the name, namespace and parent of an
- * WSDL element.
- * @param parent the parent container.
- */
- protected void createWSDLElementContent(Composite parent)
- {
- // create a grouping with 2 columns, one for labels and theother for fields
- Composite fieldColumn = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.numColumns = 2;
- layout.makeColumnsEqualWidth = false;
- fieldColumn.setLayout(layout);
- GridData data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.verticalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- fieldColumn.setLayoutData(data);
-
- // The WSDL element name label
- Label label = new Label(fieldColumn, SWT.LEFT);
- label.setText(Messages.WSDL_CONTENT_PAGE_LABEL_NAME);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- label.setLayoutData(data);
-
- // The WSDL element name field
- nameCombo = new Combo(fieldColumn, SWT.READ_ONLY);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- nameCombo.setLayoutData(data);
- nameCombo.addSelectionListener(new NameSelectionListener());
- //nameText = new Text(fieldColumn, SWT.SINGLE | SWT.BORDER);
- //data = new GridData();
- //data.horizontalAlignment = GridData.FILL;
- //data.grabExcessHorizontalSpace = true;
- //data.widthHint = 50;
- //nameText.setLayoutData(data);
- //nameText.addModifyListener(new TextBoxListener());
-
- // The WSDL element namespace label
- label = new Label(fieldColumn, SWT.LEFT);
- label.setText(Messages.WSDL_CONTENT_PAGE_LABEL_NAMESPACE);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- label.setLayoutData(data);
-
- // The WSDL element namespace field
- namespaceText = new Text(fieldColumn, SWT.SINGLE | SWT.BORDER);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- data.widthHint = 50;
- namespaceText.setLayoutData(data);
- namespaceText.addModifyListener(new TextBoxListener());
- namespaceText.setEditable(false);
-
- // The WSDL element parent label
- label = new Label(fieldColumn, SWT.LEFT);
- label.setText(Messages.WSDL_CONTENT_PAGE_LABEL_PARENT);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- label.setLayoutData(data);
-
- // The WSDL element parent field
- // parentCombo = new Combo(fieldColumn, SWT.READ_ONLY);
- // data = new GridData();
- // data.horizontalAlignment = GridData.FILL;
- // data.grabExcessHorizontalSpace = true;
- // parentCombo.setLayoutData(data);
- parentnameText = new Text(fieldColumn, SWT.SINGLE | SWT.BORDER);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- data.widthHint = 50;
- parentnameText.setLayoutData(data);
- parentnameText.addModifyListener(new TextBoxListener());
- parentnameText.setEditable(false);
- }
-
- /**
- * Always return true.
- */
- public boolean performFinish()
- {
- return true;
- }
-
- /**
- * Sent when default selection occurs in the control.
- * @param e - an event containing information about the selection
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {}
-
- /**
- * Handles the includeWSDL checkbox.
- * Sent when selection occurs in the control.
- * @param e - an event containing information about the selection
- */
- public void widgetSelected(SelectionEvent e)
- {}
-
- /**
- * Get the element name.
- *
- * @return The element name.
- */
- public String getElementName()
- {
- int selection = nameCombo.getSelectionIndex();
- if(selection != -1)
- {
- return nameCombo.getItem(selection);
- }
- return "";
- }
-
- /**
- * Get the namespace.
- *
- * @return The namespace.
- */
- public String getNamespace()
- {
- return namespaceText.getText();
- }
-
- /**
- * Get the name of the parent of the element.
- *
- * @return The name of the parent of the element.
- */
- public String getParentName()
- {
- //return parentCombo.getItem(parentCombo.getSelectionIndex());
- return parentnameText.getText();
- }
-
- /**
- * Return the type of the element.
- *
- * @return the type of the element.
- */
- public String getType()
- {
- if (wsdlBindingButton.getSelection())
- {
- return BINDING;
- }
- else if (wsdlMessageButton.getSelection())
- {
- return MESSAGE;
- }
- else if (wsdlOperationButton.getSelection())
- {
- return OPERATION;
- }
- else if (wsdlPortButton.getSelection())
- {
- return PORT;
- }
- else if (wsdlPortTypeButton.getSelection())
- {
- return PORTTYPE;
- }
- return null;
-
- }
-
- public void addElement(String type, String name, String namespace, String parent)
- {
- if (ports == null)
- {
- resetElements();
- }
- if (type.equals(PORT))
- {
- ports.add(new WSDLElement(name, namespace, parent));
- }
- else if (type.equalsIgnoreCase(OPERATION))
- {
- operations.add(new WSDLElement(name, namespace, parent));
- }
- else if (type.equalsIgnoreCase(BINDING))
- {
- bindings.add(new WSDLElement(name, namespace, parent));
- }
- else if (type.equalsIgnoreCase(PORTTYPE))
- {
- porttypes.add(new WSDLElement(name, namespace, parent));
- }
- else if (type.equalsIgnoreCase(MESSAGE))
- {
- messages.add(new WSDLElement(name, namespace, parent));
- }
- }
-
- public void resetElements()
- {
- ports = new Vector();
- operations = new Vector();
- bindings = new Vector();
- porttypes = new Vector();
- messages = new Vector();
- nameCombo.clearSelection();
- nameCombo.removeAll();
- }
-
- /**
- * Add value to the list box
- */
- class WorkspaceButtonListener implements SelectionListener
- {
- public void widgetDefaultSelected(SelectionEvent e)
- {}
-
- public void widgetSelected(SelectionEvent e)
- {}
- }
-
- /**
- * Add value to the list box
- */
- class BrowseButtonListener implements SelectionListener
- {
- public void widgetDefaultSelected(SelectionEvent e)
- {}
-
- public void widgetSelected(SelectionEvent e)
- {}
- }
-
- /**
- * Add value to the list box
- */
- class SearchUDDIButtonListener implements SelectionListener
- {
- public void widgetDefaultSelected(SelectionEvent e)
- {}
-
- public void widgetSelected(SelectionEvent e)
- {}
- }
- /**
- * Add value to the file field.
- */
- class TextBoxListener implements ModifyListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
- */
- public void modifyText(ModifyEvent e)
- {
- getContainer().updateButtons();
-
- }
-
- }
- private class WSDLElement
- {
- private String name;
- private String namespace;
- private String parent;
-
- public WSDLElement(String name, String namespace, String parent)
- {
- this.name = name;
- this.namespace = namespace;
- this.parent = parent;
- }
-
- public String getName()
- {
- return name;
- }
-
- public String getNamespace()
- {
- return namespace;
- }
-
- public String getParentName()
- {
- return parent;
- }
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.dialogs.IDialogPage#setVisible(boolean)
- */
- public void setVisible(boolean visible)
- {
- resetElements();
- super.setVisible(visible);
- if (visible)
- {
- try
- {
- WSDLFactory factory = WSDLFactory.newInstance();
- WSDLReader reader = factory.newWSDLReader();
- Definition defElem = reader.readWSDL(((ValidationWizard) getWizard()).getWSDLFile());
- QName defQName = defElem.getQName();
- String defname = "";
- if (defQName != null)
- {
- defname = defQName.getLocalPart();
- }
- String namespace = defElem.getTargetNamespace();
-
- // register the ports
- Map servmap = defElem.getServices();
- if (servmap != null)
- {
- Collection servs = servmap.values();
- if (servs != null)
- {
- Iterator servIter = servs.iterator();
- while (servIter.hasNext())
- {
- Service service = (Service) servIter.next();
- String servname = service.getQName().getLocalPart();
-
- Map portmap = service.getPorts();
- if (portmap != null)
- {
- Collection ports = portmap.values();
- if (ports != null)
- {
- Iterator portIter = ports.iterator();
- while (portIter.hasNext())
- {
- Port port = (Port) portIter.next();
- String name = port.getName();
- addElement(ValidationWizardWSDLContentPage.PORT, name, namespace, servname);
- }
- }
- }
- }
- }
- }
-
- // Register the Bindings
- Map bindingmap = defElem.getBindings();
- if (bindingmap != null)
- {
- Collection bindings = bindingmap.values();
- if (bindings != null)
- {
- Iterator bindIter = bindings.iterator();
- while (bindIter.hasNext())
- {
- Binding binding = (Binding) bindIter.next();
- String name = binding.getQName().getLocalPart();
- addElement(ValidationWizardWSDLContentPage.BINDING, name, namespace, defname);
- }
- }
- }
-
- // Register the PortTypes and Operations
- Map porttypemap = defElem.getPortTypes();
- if (porttypemap != null)
- {
- Collection porttypes = porttypemap.values();
- if (porttypes != null)
- {
- Iterator porttypeIter = porttypes.iterator();
- while (porttypeIter.hasNext())
- {
- PortType porttype = (PortType) porttypeIter.next();
- String porttypename = porttype.getQName().getLocalPart();
- addElement(ValidationWizardWSDLContentPage.PORTTYPE, porttypename, namespace, defname);
-
- // Register the Operations
- List operations = porttype.getOperations();
- if (operations != null)
- {
- Iterator operIter = operations.iterator();
- while (operIter.hasNext())
- {
- Operation operation = (Operation) operIter.next();
- String name = operation.getName();
- addElement(ValidationWizardWSDLContentPage.OPERATION, name, namespace, porttypename);
- }
- }
- }
- }
- }
- Map messagemap = defElem.getMessages();
- if (messagemap != null)
- {
- Collection messages = messagemap.values();
- if (messages != null)
- {
- Iterator messIter = messages.iterator();
- while (messIter.hasNext())
- {
- Message message = (Message) messIter.next();
- String name = message.getQName().getLocalPart();
- addElement(ValidationWizardWSDLContentPage.MESSAGE, name, namespace, defname);
- }
- }
- }
- nameCombo.removeAll();
- namespaceText.setText("");
- parentnameText.setText("");
- int numElems = ports.size();
- WSDLElement[] elems = (WSDLElement[]) ports.toArray(new WSDLElement[numElems]);
- for (int i = 0; i < numElems; i++)
- {
- nameCombo.add(elems[i].getName(), i);
- if (i == 0)
- {
- nameCombo.select(0);
- namespaceText.setText(elems[i].getNamespace());
- parentnameText.setText(elems[i].getParentName());
-
- }
- }
- wsdlPortButton.setSelection(true);
- wsdlBindingButton.setSelection(false);
- wsdlMessageButton.setSelection(false);
- wsdlOperationButton.setSelection(false);
- wsdlPortTypeButton.setSelection(false);
-
- }
- catch (WSDLException e)
- {
- // The WSDL file is not valid.
- }
- }
- else
- {
- resetElements();
- }
-
- }
-
- class PortButtonSelectionListener implements SelectionListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {
- widgetSelected(e);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetSelected(SelectionEvent e)
- {
- nameCombo.removeAll();
- namespaceText.setText("");
- parentnameText.setText("");
- int numElems = ports.size();
- WSDLElement[] elems = (WSDLElement[]) ports.toArray(new WSDLElement[numElems]);
- for (int i = 0; i < numElems; i++)
- {
- nameCombo.add(elems[i].getName(), i);
- if (i == 0)
- {
- nameCombo.select(0);
- namespaceText.setText(elems[i].getNamespace());
- parentnameText.setText(elems[i].getParentName());
-
- }
- }
- }
-
- }
- class BindingButtonSelectionListener implements SelectionListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {
- widgetSelected(e);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetSelected(SelectionEvent e)
- {
- nameCombo.removeAll();
- namespaceText.setText("");
- parentnameText.setText("");
- int numElems = bindings.size();
- WSDLElement[] elems = (WSDLElement[]) bindings.toArray(new WSDLElement[numElems]);
- for (int i = 0; i < numElems; i++)
- {
- nameCombo.add(elems[i].getName(), i);
- if (i == 0)
- {
- nameCombo.select(0);
- namespaceText.setText(elems[i].getNamespace());
- parentnameText.setText(elems[i].getParentName());
- }
- }
-
- }
-
- }
- class PortTypeButtonSelectionListener implements SelectionListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {
- widgetSelected(e);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetSelected(SelectionEvent e)
- {
- nameCombo.removeAll();
- namespaceText.setText("");
- parentnameText.setText("");
- int numElems = porttypes.size();
- WSDLElement[] elems = (WSDLElement[]) porttypes.toArray(new WSDLElement[numElems]);
- for (int i = 0; i < numElems; i++)
- {
- nameCombo.add(elems[i].getName(), i);
- if (i == 0)
- {
- nameCombo.select(0);
- namespaceText.setText(elems[i].getNamespace());
- parentnameText.setText(elems[i].getParentName());
- }
- }
-
- }
-
- }
- class OperationButtonSelectionListener implements SelectionListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {
- widgetSelected(e);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetSelected(SelectionEvent e)
- {
- nameCombo.removeAll();
- namespaceText.setText("");
- parentnameText.setText("");
- int numElems = operations.size();
- WSDLElement[] elems = (WSDLElement[]) operations.toArray(new WSDLElement[numElems]);
- for (int i = 0; i < numElems; i++)
- {
- nameCombo.add(elems[i].getName(), i);
- if (i == 0)
- {
- nameCombo.select(0);
- namespaceText.setText(elems[i].getNamespace());
- parentnameText.setText(elems[i].getParentName());
- }
- }
-
- }
-
- }
- class MessageButtonSelectionListener implements SelectionListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {
- widgetSelected(e);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetSelected(SelectionEvent e)
- {
- nameCombo.removeAll();
- namespaceText.setText("");
- parentnameText.setText("");
- int numElems = messages.size();
- WSDLElement[] elems = (WSDLElement[]) messages.toArray(new WSDLElement[numElems]);
- for (int i = 0; i < numElems; i++)
- {
- nameCombo.add(elems[i].getName(), i);
- if (i == 0)
- {
- nameCombo.select(0);
- namespaceText.setText(elems[i].getNamespace());
- parentnameText.setText(elems[i].getParentName());
- }
- }
-
- }
-
- }
-
- class NameSelectionListener implements SelectionListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {
- widgetSelected(e);
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- */
- public void widgetSelected(SelectionEvent e)
- {
- int selection = ((Combo) e.getSource()).getSelectionIndex();
- String type = getType();
- WSDLElement elem = null;
- if (type.equals(PORT))
- {
- elem = (WSDLElement) ports.get(selection);
- }
- else if (type.equals(BINDING))
- {
- elem = (WSDLElement) bindings.get(selection);
- }
- else if (type.equals(PORTTYPE))
- {
- elem = (WSDLElement) porttypes.get(selection);
- }
- else if (type.equals(OPERATION))
- {
- elem = (WSDLElement) operations.get(selection);
- }
- else if (type.equals(MESSAGE))
- {
- elem = (WSDLElement) messages.get(selection);
- }
-
- if (elem != null)
- {
- namespaceText.setText(elem.getNamespace());
- parentnameText.setText(elem.getParentName());
- }
- }
-
- }
-}
diff --git a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLPage.java b/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLPage.java
deleted file mode 100644
index 205931845..000000000
--- a/bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLPage.java
+++ /dev/null
@@ -1,373 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2002-2005 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 - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsi.ui.internal.wizards;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.window.Window;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.wst.common.ui.internal.dialogs.SelectSingleFileDialog;
-import org.eclipse.wst.wsi.ui.internal.Messages;
-import org.eclipse.wst.wsi.ui.internal.Resource;
-import org.eclipse.wst.wsi.ui.internal.WSIUIPlugin;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-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.FileDialog;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-/**
- * Wizard page that allows the user to specify the location of the
- * WSDL document for the Web service.
- *
- * @author David Lauzon, IBM
- * @author Lawrence Mandel, IBM
- */
-
-public class ValidationWizardWSDLPage extends WizardPage implements SelectionListener
-{
-
- IStructuredSelection selection;
-
- protected boolean wsdlinvalid = false;
- /**
- * Access to the includeWSDL flag.
- */
- protected Button includeWSDLButton;
-
- /**
- * Access to the wsdl document group.
- */
- protected Group documentGroup;
- protected Text documentLocationText;
- protected Combo fileField;
- /**
- * Constructor.
- *
- * @param selection: selection in the Resource Navigator view.
- */
- public ValidationWizardWSDLPage(IStructuredSelection selection)
- {
- super("ValidationWizardWSDLPage");
- this.selection = selection;
- this.setTitle(Messages.WSDL_PAGE_SELECT_WSDL_FILENAME_HEADING);
- this.setDescription(Messages.WSDL_PAGE_SELECT_WSDL_FILENAME_EXPL);
- }
-
- /**
- * Always returns true.
- */
- public boolean isPageComplete()
- {
- if (includeWSDLFile())
- {
-
- if (fileField.getText() == null || fileField.getText().equals("") || wsdlinvalid)
- {
- return false;
- }
- }
- return true;
- }
-
- /*
- * Creates the top level control for this page under the given parent
- * composite. Implementors are responsible for ensuring that the created
- * control can be accessed via getControl
- *
- * @param parent - the parent composite
- */
- public void createControl(Composite parent)
- {
- Composite base = new Composite(parent, SWT.NONE);
- base.setLayout(new GridLayout());
- GridData data;
-
- // add includeWSDL flag
- includeWSDLButton = new Button(base, SWT.CHECK);
- includeWSDLButton.setText(Messages.WSDL_PAGE_INCLUDE_WSDL_BUTTON);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- includeWSDLButton.setLayoutData(data);
- includeWSDLButton.addSelectionListener(this);
- includeWSDLButton.setSelection(false);
-
- // create a WSDL document group
- documentGroup = new Group(base, SWT.SHADOW_ETCHED_IN);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- documentGroup.setLayoutData(data);
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- documentGroup.setLayout(layout);
- documentGroup.setVisible(false);
-
- createDocumentGroupContents(documentGroup);
-
- setControl(base);
- }
-
- protected Control createDocumentGroupContents(Composite documentGroup)
- {
- //radio buttons' container
- Composite basePanel = new Composite(documentGroup, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.numColumns = 2;
- layout.makeColumnsEqualWidth = false;
- layout.marginWidth = 0;
- basePanel.setLayout(layout);
- GridData data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- basePanel.setLayoutData(data);
-
- Composite group1 = new Composite(basePanel, SWT.NONE);
- group1.setFont(getFont());
- layout = new GridLayout();
- layout.numColumns = 1;
- group1.setLayout(layout);
- data = new GridData();
- data.verticalAlignment = GridData.FILL;
- data.horizontalAlignment = GridData.FILL;
- group1.setLayoutData(data);
-
- Label documentLabel = new Label(group1, SWT.LEFT);
- documentLabel.setText(Messages.WSDL_PAGE_INCLUDE_WSDL_LABEL);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- documentLabel.setLayoutData(data);
- /**
- * Label label = new Label(basePanel, SWT.LEFT); data = new GridData();
- * data.horizontalAlignment = GridData.FILL; data.horizontalSpan = 1;
- * label.setLayoutData(data);
- */
- fileField = new Combo(group1, SWT.DROP_DOWN);
- String[] wsdllocations = ((ValidationWizard) getWizard()).getWSDLLocations();
- if(wsdllocations != null)
- {
- int numlocs = wsdllocations.length;
- for(int i = 0; i < numlocs; i++)
- {
- fileField.add(wsdllocations[i]);
- }
- }
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- data.verticalAlignment = GridData.FILL;
- data.grabExcessVerticalSpace = true;
- data.widthHint = 30;
- fileField.setLayoutData(data);
- fileField.addModifyListener(new FileFieldListener());
-
- Label wsdlLabel = new Label(group1, SWT.LEFT);
- wsdlLabel.setText(Messages.WSDL_PAGE_VALID_WSDL_LABEL);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- documentLabel.setLayoutData(data);
-
- // documentLocationText = new Text(documentGroup, SWT.SINGLE | SWT.BORDER);
- // data = new GridData();
- // data.horizontalAlignment = GridData.FILL;
- // data.grabExcessHorizontalSpace = true;
- // data.widthHint = 30;
- // documentLocationText.setLayoutData(data);
-
- Composite group = new Composite(basePanel, SWT.NONE);
- group.setFont(getFont());
- layout = new GridLayout();
- layout.numColumns = 1;
- group.setLayout(layout);
- data = new GridData();
- data.verticalAlignment = GridData.FILL;
- data.horizontalAlignment = GridData.FILL;
- group.setLayoutData(data);
-
- Button workspaceButton = new Button(group, SWT.PUSH);
- workspaceButton.setText(Messages.WSDL_PAGE_WORKBENCH_BUTTON);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- workspaceButton.setLayoutData(data);
- workspaceButton.addSelectionListener(new WorkspaceButtonListener());
-
- Button browseButton = new Button(group, SWT.PUSH);
- browseButton.setText(Messages.WSDL_PAGE_BROWSE_BUTTON);
- data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- browseButton.setLayoutData(data);
- browseButton.addSelectionListener(new BrowseButtonListener());
-
- // Button searchUDDIButton = new Button(group, SWT.PUSH);
- // searchUDDIButton.setText(Messages.("_UI_WIZARD_V_SEARCH_UDDI_BUTTON"));
- // data = new GridData();
- // data.horizontalAlignment = GridData.FILL;
- // searchUDDIButton.setLayoutData(data);
- // searchUDDIButton.addSelectionListener(new SearchUDDIButtonListener());
-
- return documentGroup;
- }
-
- public boolean includeWSDLFile()
- {
- return includeWSDLButton.getSelection();
- }
-
- public String getWSDLFile()
- {
- return fileField.getText();
- }
-
- /**
- * Always return true.
- */
- public boolean performFinish()
- {
- return true;
- }
-
- /**
- * Sent when default selection occurs in the control.
- *
- * @param e -
- * an event containing information about the selection
- */
- public void widgetDefaultSelected(SelectionEvent e)
- {}
-
- /**
- * Handles the includeWSDL checkbox. Sent when selection occurs in the
- * control.
- *
- * @param e -
- * an event containing information about the selection
- */
- public void widgetSelected(SelectionEvent e)
- {
- if (e.widget == includeWSDLButton)
- {
- if (includeWSDLButton.getSelection())
- {
- documentGroup.setVisible(true);
- }
- else
- {
- documentGroup.setVisible(false);
- }
- getContainer().updateButtons();
- }
- }
-
- public void setWSDLInvalid()
- {
- wsdlinvalid = true;
- }
-
- /**
- * Add value to the list box
- */
- class WorkspaceButtonListener implements SelectionListener
- {
- public void widgetDefaultSelected(SelectionEvent e)
- {}
-
- public void widgetSelected(SelectionEvent e)
- {
- SelectSingleFileDialog dialog = new SelectSingleFileDialog(getShell(), selection, false);
- dialog.addFilterExtensions(new String[] { ".wsdl" });
- dialog.create();
- dialog.getShell().setText(Messages.WSDL_PAGE_FILE_SHELL_TEXT);
- dialog.setTitle(Messages.WSDL_PAGE_FILE_TITLE);
- dialog.setMessage(Messages.WSDL_PAGE_FILE_DESCRIPTION);
- dialog.setTitleImage(WSIUIPlugin.getResourceImage(Resource.VALIDATE_WSI_LOGFILE_WIZ));
-
- int result = dialog.open();
-
- if (result == Window.OK)
- {
- IFile currentIFile = dialog.getFile();
- if (currentIFile != null)
- {
- fileField.add(currentIFile.getLocation().toString(), 0);
- fileField.select(0);
- }
- }
- }
- }
-
- /**
- * Add value to the list box
- */
- class BrowseButtonListener implements SelectionListener
- {
- public void widgetDefaultSelected(SelectionEvent e)
- {}
-
- public void widgetSelected(SelectionEvent e)
- {
- FileDialog dialog = new FileDialog(getShell());
- dialog.setFilterExtensions(new String[] { "*.wsdl" });
- String selection = dialog.open();
- if (selection != null)
- {
- fileField.add(selection, 0);
- fileField.select(0);
- }
- }
- }
-
- /**
- * Add value to the list box
- */
- // class SearchUDDIButtonListener implements SelectionListener
- // {
- // public void widgetDefaultSelected(SelectionEvent e)
- // {}
- //
- // public void widgetSelected(SelectionEvent e)
- // {
- // String title = "Information";
- // String message = "The chosen operation is not currently available.";
- // MessageDialog.openInformation(Display.getDefault().getActiveShell(), title, message);
- // }
- //}
-
- /**
- * Add value to the file field.
- */
- class FileFieldListener implements ModifyListener
- {
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
- */
- public void modifyText(ModifyEvent e)
- {
- wsdlinvalid = false;
- getContainer().updateButtons();
-
- }
-
- }
-
-}
diff --git a/features/org.eclipse.wst.ws_core.feature/.cvsignore b/features/org.eclipse.wst.ws_core.feature/.cvsignore
deleted file mode 100644
index c14487cea..000000000
--- a/features/org.eclipse.wst.ws_core.feature/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-build.xml
diff --git a/features/org.eclipse.wst.ws_core.feature/.project b/features/org.eclipse.wst.ws_core.feature/.project
deleted file mode 100644
index 5effa78ab..000000000
--- a/features/org.eclipse.wst.ws_core.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws_core.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.wst.ws_core.feature/build.properties b/features/org.eclipse.wst.ws_core.feature/build.properties
deleted file mode 100644
index 7f47694aa..000000000
--- a/features/org.eclipse.wst.ws_core.feature/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-bin.includes = feature.xml,\
- eclipse_update_120.jpg,\
- epl-v10.html,\
- license.html,\
- feature.properties
diff --git a/features/org.eclipse.wst.ws_core.feature/eclipse_update_120.jpg b/features/org.eclipse.wst.ws_core.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708ad..000000000
--- a/features/org.eclipse.wst.ws_core.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_core.feature/epl-v10.html b/features/org.eclipse.wst.ws_core.feature/epl-v10.html
deleted file mode 100644
index ed4b19665..000000000
--- a/features/org.eclipse.wst.ws_core.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.wst.ws_core.feature/feature.properties b/features/org.eclipse.wst.ws_core.feature/feature.properties
deleted file mode 100644
index 4f58c9db4..000000000
--- a/features/org.eclipse.wst.ws_core.feature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=WST Web Services Core
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=WST Web Services core.
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.ws_core.feature/feature.xml b/features/org.eclipse.wst.ws_core.feature/feature.xml
deleted file mode 100644
index 813cb7e59..000000000
--- a/features/org.eclipse.wst.ws_core.feature/feature.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.ws_core.feature"
- label="%featureName"
- version="1.5.3.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <requires>
- <import feature="org.apache.commons_logging.feature" version="1.0.4"/>
- <import feature="org.apache.jakarta_log4j.feature" version="1.2.8"/>
- <import feature="org.apache.axis.feature" version="1.2.1" match="greaterOrEqual"/>
- <import feature="org.apache.wsil4j.feature" version="1.0.0" match="greaterOrEqual"/>
- <import feature="org.uddi4j.feature" version="2.0.3" match="greaterOrEqual"/>
- <import feature="org.wsdl4j.feature" version="1.4.0" match="greaterOrEqual"/>
- <import feature="org.apache.xerces.feature" version="2.8.0" match="greaterOrEqual"/>
- <import feature="org.eclipse.platform" version="3.2" match="equivalent"/>
- <import feature="org.eclipse.emf" version="2.2" match="equivalent"/>
- <import feature="org.eclipse.wst.common_core.feature" version="1.0.0" match="greaterOrEqual"/>
- <import feature="org.eclipse.wst.server_core.feature" version="1.0.0" match="greaterOrEqual"/>
- <import feature="org.eclipse.xsd" version="2.2" match="equivalent"/>
- </requires>
-
- <plugin
- id="org.eclipse.wst.ws"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.ws.parser"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.wsdl"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.wsdl.validation"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.wsi"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.ws_core.feature/license.html b/features/org.eclipse.wst.ws_core.feature/license.html
deleted file mode 100644
index 2347060ef..000000000
--- a/features/org.eclipse.wst.ws_core.feature/license.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>January 28, 2005</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
-
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>)
- </LI></UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/build.properties b/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/build.properties
deleted file mode 100644
index f249e9f10..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/build.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2005 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
-###############################################################################
-bin.includes =\
-epl-v10.html,\
-eclipse_update_120.jpg,\
-feature.xml,\
-feature.properties,\
-license.html
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/eclipse_update_120.jpg b/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708ad..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/epl-v10.html b/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/epl-v10.html
deleted file mode 100644
index 022ad2955..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html>
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.properties b/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.properties
deleted file mode 100644
index 62c64f417..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=WST WS Core Developer Resources
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=Source code zips for WST WS core.
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.xml b/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.xml
deleted file mode 100644
index 127cc2120..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.ws_core.feature.source"
- label="%featureName"
- version="1.5.3.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <plugin
- id="org.eclipse.wst.ws_core.feature.source"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/license.html b/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/license.html
deleted file mode 100644
index c6af966b6..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/license.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse Foundation Software User Agreement</h2>
-<p>March 17, 2005</p>
-
-<h3>Usage Of Content</h3>
-
-<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS
- (COLLECTIVELY &quot;CONTENT&quot;). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND
- CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE
- OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR
- NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND
- CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0
- (&quot;EPL&quot;). A copy of the EPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
- For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository (&quot;Repository&quot;) in CVS
- modules (&quot;Modules&quot;) and made available as downloadable archives (&quot;Downloads&quot;).</p>
-
-<ul>
- <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins (&quot;Plug-ins&quot;), plug-in fragments (&quot;Fragments&quot;), and features (&quot;Features&quot;).</li>
- <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java&trade; ARchive) in a directory named &quot;plugins&quot;.</li>
- <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named &quot;features&quot;. Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of the Plug-ins
- and/or Fragments associated with that Feature.</li>
- <li>Features may also include other Features (&quot;Included Features&quot;). Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of Included Features.</li>
-</ul>
-
-<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named &quot;about.html&quot; (&quot;Abouts&quot;). The terms and conditions governing Features and
-Included Features should be contained in files named &quot;license.html&quot; (&quot;Feature Licenses&quot;). Abouts and Feature Licenses may be located in any directory of a Download or Module
-including, but not limited to the following locations:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Inside Plug-ins and Fragments packaged as JARs</li>
- <li>Sub-directories of the directory named &quot;src&quot; of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license (&quot;Feature Update License&quot;) during the
-installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or
-inform you where you can locate them. Feature Update Licenses may be found in the &quot;license&quot; property of files named &quot;feature.properties&quot; found within a Feature.
-Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in
-that directory.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please
-contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to
- another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import,
- possession, or use, and re-export of encryption software, to see if this is permitted.</p>
-
-<small>Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.</small>
-</body>
-</html>
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.html b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.html
deleted file mode 100644
index 0a8aea00f..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>February 24, 2005</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content.</p>
-
-<h3>Source Code</h3>
-<p>This plug-in contains source code zip files (&quot;Source Zips&quot;) that correspond to binary content in other plug-ins. These Source Zips may be distributed under different license
-agreements and/or notices. Details about these license agreements and notices are contained in &quot;about.html&quot; files (&quot;Abouts&quot;) located in sub-directories in the
-src/ directory of this plug-in. Such Abouts govern your use of the Source Zips in that directory, not the EPL.</p>
-
-</body>
-</html>
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.ini b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.ini
deleted file mode 100644
index 2dee36a2e..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-# about.ini
-# contains information about a feature
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# "%key" are externalized strings defined in about.properties
-# This file does not need to be translated.
-
-# Property "aboutText" contains blurb for "About" dialog (translated)
-aboutText=%blurb
-
-# Property "windowImage" contains path to window icon (16x16)
-# needed for primary features only
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.gif
-
-# Property "aboutImage" contains path to product image (500x330 or 115x164)
-# needed for primary features only
-
-# Property "appName" contains name of the application (not translated)
-# needed for primary features only
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-# optional
-
-# Property "welcomePerspective" contains the id of the perspective in which the
-# welcome page is to be opened.
-# optional
-
-
-
-
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.mappings b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.mappings
deleted file mode 100644
index 0dfb7355d..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.mappings
+++ /dev/null
@@ -1,6 +0,0 @@
-# about.mappings
-# contains fill-ins for about.properties
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file does not need to be translated.
-
-0=@build@
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.properties b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.properties
deleted file mode 100644
index 290da856d..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2005 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
-###############################################################################
-# about.properties
-# contains externalized strings for about.ini
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# fill-ins are supplied by about.mappings
-# This file should be translated.
-#
-# Do not translate any values surrounded by {}
-
-blurb=Web Standard Tools - Web Service Core\n\
-\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright Eclipse contributors and others 2005. All rights reserved.\n\
-Visit http://www.eclipse.org/webtools
-
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/build.properties b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/build.properties
deleted file mode 100644
index f95b457f2..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/build.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-bin.includes = about.html, about.ini, about.mappings, about.properties, eclipse32.gif, plugin.properties, plugin.xml, src/**, META-INF/
-sourcePlugin = true
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.gif b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.gif
deleted file mode 100644
index e6ad7ccd7..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.png b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.png
deleted file mode 100644
index 50ae49de2..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.png
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/plugin.properties b/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/plugin.properties
deleted file mode 100644
index 2139d0f6b..000000000
--- a/features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2005 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
-###############################################################################
-pluginName=Web Standard Tools - Web Service Core Source
-providerName=Eclipse.org
diff --git a/features/org.eclipse.wst.ws_sdk.feature/.cvsignore b/features/org.eclipse.wst.ws_sdk.feature/.cvsignore
deleted file mode 100644
index f86671d90..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-build.xml
-features
-plugins
-org.eclipse.wst.ws_sdk.feature_1.0.0.bin.dist.zip
diff --git a/features/org.eclipse.wst.ws_sdk.feature/.project b/features/org.eclipse.wst.ws_sdk.feature/.project
deleted file mode 100644
index 87ebee75e..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws_sdk.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.wst.ws_sdk.feature/build.properties b/features/org.eclipse.wst.ws_sdk.feature/build.properties
deleted file mode 100644
index 303e80bf7..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-bin.includes = feature.xml,\
- license.html,\
- epl-v10.html,\
- eclipse_update_120.jpg,\
- feature.properties
-
-generate.feature@org.eclipse.wst.ws_ui.feature.source=org.eclipse.wst.ws_ui.feature
diff --git a/features/org.eclipse.wst.ws_sdk.feature/eclipse_update_120.jpg b/features/org.eclipse.wst.ws_sdk.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708ad..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_sdk.feature/epl-v10.html b/features/org.eclipse.wst.ws_sdk.feature/epl-v10.html
deleted file mode 100644
index ed4b19665..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.wst.ws_sdk.feature/feature.properties b/features/org.eclipse.wst.ws_sdk.feature/feature.properties
deleted file mode 100644
index 88b08f487..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=WST Web Services Plug-in Developer Resources
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=Source code zips for the WST Web services tools
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2000, 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.ws_sdk.feature/feature.xml b/features/org.eclipse.wst.ws_sdk.feature/feature.xml
deleted file mode 100644
index 2545d6c1f..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/feature.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.ws_sdk.feature"
- label="%featureName"
- version="1.5.2.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <includes
- id="org.eclipse.wst.ws_ui.feature.source"
- version="0.0.0"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.ws_sdk.feature/license.html b/features/org.eclipse.wst.ws_sdk.feature/license.html
deleted file mode 100644
index 2347060ef..000000000
--- a/features/org.eclipse.wst.ws_sdk.feature/license.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>January 28, 2005</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
-
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>)
- </LI></UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/features/org.eclipse.wst.ws_tests.feature/.cvsignore b/features/org.eclipse.wst.ws_tests.feature/.cvsignore
deleted file mode 100644
index 02d56e4ad..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-build.xml
-org.eclipse.wst.ws_tests.feature_1.0.0.bin.dist.zip
diff --git a/features/org.eclipse.wst.ws_tests.feature/.project b/features/org.eclipse.wst.ws_tests.feature/.project
deleted file mode 100644
index cae2354b1..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws_tests.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.wst.ws_tests.feature/build.properties b/features/org.eclipse.wst.ws_tests.feature/build.properties
deleted file mode 100644
index bcb33ad67..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-bin.includes = feature.xml,\
- license.html,\
- epl-v10.html,\
- eclipse_update_120.jpg,\
- feature.properties
diff --git a/features/org.eclipse.wst.ws_tests.feature/eclipse_update_120.jpg b/features/org.eclipse.wst.ws_tests.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708ad..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_tests.feature/epl-v10.html b/features/org.eclipse.wst.ws_tests.feature/epl-v10.html
deleted file mode 100644
index ed4b19665..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.wst.ws_tests.feature/feature.properties b/features/org.eclipse.wst.ws_tests.feature/feature.properties
deleted file mode 100644
index b48356cde..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=WST Web Services Tests
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=WST Web services tests
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.ws_tests.feature/feature.xml b/features/org.eclipse.wst.ws_tests.feature/feature.xml
deleted file mode 100644
index 3c904081a..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/feature.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.ws_tests.feature"
- label="%featureName"
- version="1.5.1.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="license.html">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <plugin
- id="org.eclipse.wst.ws.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.wsdl.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.wsdl.tests.performance"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.wsdl.tests.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.wsdl.validation.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.wsi.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.ws_tests.feature/license.html b/features/org.eclipse.wst.ws_tests.feature/license.html
deleted file mode 100644
index 2347060ef..000000000
--- a/features/org.eclipse.wst.ws_tests.feature/license.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>January 28, 2005</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
-
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>)
- </LI></UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/features/org.eclipse.wst.ws_ui.feature/.cvsignore b/features/org.eclipse.wst.ws_ui.feature/.cvsignore
deleted file mode 100644
index c14487cea..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-build.xml
diff --git a/features/org.eclipse.wst.ws_ui.feature/.project b/features/org.eclipse.wst.ws_ui.feature/.project
deleted file mode 100644
index c03a8b01d..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws_ui.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.wst.ws_ui.feature/build.properties b/features/org.eclipse.wst.ws_ui.feature/build.properties
deleted file mode 100644
index 7f47694aa..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-bin.includes = feature.xml,\
- eclipse_update_120.jpg,\
- epl-v10.html,\
- license.html,\
- feature.properties
diff --git a/features/org.eclipse.wst.ws_ui.feature/eclipse_update_120.jpg b/features/org.eclipse.wst.ws_ui.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708ad..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_ui.feature/epl-v10.html b/features/org.eclipse.wst.ws_ui.feature/epl-v10.html
deleted file mode 100644
index ed4b19665..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.wst.ws_ui.feature/feature.properties b/features/org.eclipse.wst.ws_ui.feature/feature.properties
deleted file mode 100644
index 9ba7004f6..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=WST Web Services UI
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=Web Services UI tools.
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.ws_ui.feature/feature.xml b/features/org.eclipse.wst.ws_ui.feature/feature.xml
deleted file mode 100644
index 42d0dccbc..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/feature.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.ws_ui.feature"
- label="%featureName"
- version="1.5.2.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <includes
- id="org.eclipse.wst.ws_userdoc.feature"
- version="0.0.0"/>
-
- <includes
- id="org.eclipse.wst.ws_core.feature"
- version="0.0.0"/>
-
- <requires>
- <import feature="org.eclipse.gef" version="3.2" match="equivalent"/>
- <import feature="org.eclipse.wst.ws_core.feature" version="1.0.0" match="greaterOrEqual"/>
- </requires>
-
- <plugin
- id="org.eclipse.wst.ws.infopop"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.ws.explorer"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.ws.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.wsdl.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.wsi.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.ws_ui.feature/license.html b/features/org.eclipse.wst.ws_ui.feature/license.html
deleted file mode 100644
index 2347060ef..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/license.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>January 28, 2005</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
-
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>)
- </LI></UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/build.properties b/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/build.properties
deleted file mode 100644
index ccc22921c..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/build.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2005 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
-###############################################################################
-bin.includes =\
-epl-v10.html,\
-eclipse_update_120.jpg,\
-feature.xml,\
-feature.properties,\
-license.html
-
-generate.feature@org.eclipse.wst.ws_core.feature.source = org.eclipse.wst.ws_core.feature
-
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/eclipse_update_120.jpg b/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708ad..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/epl-v10.html b/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/epl-v10.html
deleted file mode 100644
index 022ad2955..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html>
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.properties b/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.properties
deleted file mode 100644
index d5295d8b9..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2005 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=WST WS UI Developer Resources
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=Source code zips for WST WS UI.
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.xml b/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.xml
deleted file mode 100644
index 7aed49916..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.ws_ui.feature.source"
- label="%featureName"
- version="1.5.2.qualifier"
- provider-name="%featureProvider">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="license.html">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <includes
- id="org.eclipse.wst.ws_core.feature"
- version="0.0.0"/>
-
- <includes
- id="org.eclipse.wst.ws_core.feature.source"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.ws_ui.feature.source"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/license.html b/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/license.html
deleted file mode 100644
index c6af966b6..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/license.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse Foundation Software User Agreement</h2>
-<p>March 17, 2005</p>
-
-<h3>Usage Of Content</h3>
-
-<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS
- (COLLECTIVELY &quot;CONTENT&quot;). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND
- CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE
- OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR
- NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND
- CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0
- (&quot;EPL&quot;). A copy of the EPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
- For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository (&quot;Repository&quot;) in CVS
- modules (&quot;Modules&quot;) and made available as downloadable archives (&quot;Downloads&quot;).</p>
-
-<ul>
- <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins (&quot;Plug-ins&quot;), plug-in fragments (&quot;Fragments&quot;), and features (&quot;Features&quot;).</li>
- <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java&trade; ARchive) in a directory named &quot;plugins&quot;.</li>
- <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named &quot;features&quot;. Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of the Plug-ins
- and/or Fragments associated with that Feature.</li>
- <li>Features may also include other Features (&quot;Included Features&quot;). Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of Included Features.</li>
-</ul>
-
-<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named &quot;about.html&quot; (&quot;Abouts&quot;). The terms and conditions governing Features and
-Included Features should be contained in files named &quot;license.html&quot; (&quot;Feature Licenses&quot;). Abouts and Feature Licenses may be located in any directory of a Download or Module
-including, but not limited to the following locations:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Inside Plug-ins and Fragments packaged as JARs</li>
- <li>Sub-directories of the directory named &quot;src&quot; of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license (&quot;Feature Update License&quot;) during the
-installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or
-inform you where you can locate them. Feature Update Licenses may be found in the &quot;license&quot; property of files named &quot;feature.properties&quot; found within a Feature.
-Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in
-that directory.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please
-contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to
- another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import,
- possession, or use, and re-export of encryption software, to see if this is permitted.</p>
-
-<small>Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.</small>
-</body>
-</html>
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.html b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.html
deleted file mode 100644
index 0a8aea00f..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>February 24, 2005</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content.</p>
-
-<h3>Source Code</h3>
-<p>This plug-in contains source code zip files (&quot;Source Zips&quot;) that correspond to binary content in other plug-ins. These Source Zips may be distributed under different license
-agreements and/or notices. Details about these license agreements and notices are contained in &quot;about.html&quot; files (&quot;Abouts&quot;) located in sub-directories in the
-src/ directory of this plug-in. Such Abouts govern your use of the Source Zips in that directory, not the EPL.</p>
-
-</body>
-</html>
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.ini b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.ini
deleted file mode 100644
index 2dee36a2e..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-# about.ini
-# contains information about a feature
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# "%key" are externalized strings defined in about.properties
-# This file does not need to be translated.
-
-# Property "aboutText" contains blurb for "About" dialog (translated)
-aboutText=%blurb
-
-# Property "windowImage" contains path to window icon (16x16)
-# needed for primary features only
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.gif
-
-# Property "aboutImage" contains path to product image (500x330 or 115x164)
-# needed for primary features only
-
-# Property "appName" contains name of the application (not translated)
-# needed for primary features only
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-# optional
-
-# Property "welcomePerspective" contains the id of the perspective in which the
-# welcome page is to be opened.
-# optional
-
-
-
-
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.mappings b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.mappings
deleted file mode 100644
index 0dfb7355d..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.mappings
+++ /dev/null
@@ -1,6 +0,0 @@
-# about.mappings
-# contains fill-ins for about.properties
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file does not need to be translated.
-
-0=@build@
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.properties b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.properties
deleted file mode 100644
index 339787abd..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2005 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
-###############################################################################
-# about.properties
-# contains externalized strings for about.ini
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# fill-ins are supplied by about.mappings
-# This file should be translated.
-#
-# Do not translate any values surrounded by {}
-
-blurb=Web Standard Tools - Web Service UI\n\
-\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright Eclipse contributors and others 2005. All rights reserved.\n\
-Visit http://www.eclipse.org/webtools
-
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/build.properties b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/build.properties
deleted file mode 100644
index 5895597f9..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/build.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-
-bin.includes = about.html, about.ini, about.mappings, about.properties, eclipse32.gif, plugin.properties, plugin.xml, src/**, META-INF/
-sourcePlugin = true
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.gif b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.gif
deleted file mode 100644
index e6ad7ccd7..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.png b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.png
deleted file mode 100644
index 50ae49de2..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.png
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/plugin.properties b/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/plugin.properties
deleted file mode 100644
index 63a6545a2..000000000
--- a/features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2005 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
-###############################################################################
-pluginName=Web Standard Tools - Web Service UI Source
-providerName=Eclipse.org
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/.cvsignore b/features/org.eclipse.wst.ws_userdoc.feature/.cvsignore
deleted file mode 100644
index ceeff56f2..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/.cvsignore
+++ /dev/null
@@ -1,3 +0,0 @@
-build.xml
-org.eclipse.wst.ws_userdoc.feature_1.0.0.jar
-org.eclipse.wst.xml_userdoc.feature_1.0.0.jar
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/.project b/features/org.eclipse.wst.ws_userdoc.feature/.project
deleted file mode 100644
index fd5675e19..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws_userdoc.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/build.properties b/features/org.eclipse.wst.ws_userdoc.feature/build.properties
deleted file mode 100644
index 7f47694aa..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-bin.includes = feature.xml,\
- eclipse_update_120.jpg,\
- epl-v10.html,\
- license.html,\
- feature.properties
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/eclipse_update_120.jpg b/features/org.eclipse.wst.ws_userdoc.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708ad..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/epl-v10.html b/features/org.eclipse.wst.ws_userdoc.feature/epl-v10.html
deleted file mode 100644
index ed4b19665..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/feature.properties b/features/org.eclipse.wst.ws_userdoc.feature/feature.properties
deleted file mode 100644
index 9bdefb3df..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=WST Web Services User Documentation
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=WST Web services user documentation
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/feature.xml b/features/org.eclipse.wst.ws_userdoc.feature/feature.xml
deleted file mode 100644
index 19e6a4344..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/feature.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.ws_userdoc.feature"
- label="%featureName"
- version="1.5.1.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="license.html">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <plugin
- id="org.eclipse.wst.wsdl.ui.doc.user"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.wsi.ui.doc.user"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.wst.command.env.doc.user"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.ws_userdoc.feature/license.html b/features/org.eclipse.wst.ws_userdoc.feature/license.html
deleted file mode 100644
index 2347060ef..000000000
--- a/features/org.eclipse.wst.ws_userdoc.feature/license.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>January 28, 2005</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
-
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>)
- </LI></UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.classpath b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.classpath
deleted file mode 100644
index 9f4b4d1d5..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="tests"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.cvsignore b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.cvsignore
deleted file mode 100644
index 57763eb9b..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-build.xml
-temp.folder
-tests.jar
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.project b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.project
deleted file mode 100644
index 202e7cf4e..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.axis.consumption.core.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0fd1048cf..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:29:14 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.pde.prefs b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 577040239..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:41:39 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 3069cd0d7..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,14 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.axis.consumption.core.tests
-Bundle-Version: 1.0.0
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Require-Bundle: org.junit,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.jdt.core,
- org.eclipse.wst.ws,
- org.eclipse.jst.ws,
- org.eclipse.wst.common.uriresolver
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/about.html b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/build.properties b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/build.properties
deleted file mode 100644
index ad188ef9c..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-source.. = tests/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceProxy.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceProxy.java
deleted file mode 100644
index 7523659b6..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceProxy.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package org.tempuri.AreaService;
-
-public class AreaServiceProxy implements org.tempuri.AreaService.AreaService_PortType {
- private String _endpoint = null;
- private org.tempuri.AreaService.AreaService_PortType areaService_PortType = null;
-
- public AreaServiceProxy() {
- _initAreaServiceProxy();
- }
-
- private void _initAreaServiceProxy() {
- try {
- areaService_PortType = (new org.tempuri.AreaService.AreaService_ServiceLocator()).getAreaServiceSOAP();
- if (areaService_PortType != null) {
- if (_endpoint != null)
- ((javax.xml.rpc.Stub)areaService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
- else
- _endpoint = (String)((javax.xml.rpc.Stub)areaService_PortType)._getProperty("javax.xml.rpc.service.endpoint.address");
- }
-
- }
- catch (javax.xml.rpc.ServiceException serviceException) {}
- }
-
- public String getEndpoint() {
- return _endpoint;
- }
-
- public void setEndpoint(String endpoint) {
- _endpoint = endpoint;
- if (areaService_PortType != null)
- ((javax.xml.rpc.Stub)areaService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
-
- }
-
- public org.tempuri.AreaService.AreaService_PortType getAreaService_PortType() {
- if (areaService_PortType == null)
- _initAreaServiceProxy();
- return areaService_PortType;
- }
-
- public float calculateRectArea(org.tempuri.AreaService.Dimensions parameters) throws java.rmi.RemoteException{
- if (areaService_PortType == null)
- _initAreaServiceProxy();
- return areaService_PortType.calculateRectArea(parameters);
- }
-
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceSOAPStub.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceSOAPStub.java
deleted file mode 100644
index 5708a4597..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceSOAPStub.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- * AreaServiceSOAPStub.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package org.tempuri.AreaService;
-
-public class AreaServiceSOAPStub extends org.apache.axis.client.Stub implements org.tempuri.AreaService.AreaService_PortType {
- private java.util.Vector cachedSerClasses = new java.util.Vector();
- private java.util.Vector cachedSerQNames = new java.util.Vector();
- private java.util.Vector cachedSerFactories = new java.util.Vector();
- private java.util.Vector cachedDeserFactories = new java.util.Vector();
-
- static org.apache.axis.description.OperationDesc [] _operations;
-
- static {
- _operations = new org.apache.axis.description.OperationDesc[1];
- _initOperationDesc1();
- }
-
- private static void _initOperationDesc1(){
- org.apache.axis.description.OperationDesc oper;
- org.apache.axis.description.ParameterDesc param;
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("CalculateRectArea");
- param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://tempuri.org/AreaService/", "parameters"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://tempuri.org/AreaService/", "dimensions"), org.tempuri.AreaService.Dimensions.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
- oper.setReturnClass(float.class);
- oper.setReturnQName(new javax.xml.namespace.QName("http://tempuri.org/AreaService/", "area"));
- oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- _operations[0] = oper;
-
- }
-
- public AreaServiceSOAPStub() throws org.apache.axis.AxisFault {
- this(null);
- }
-
- public AreaServiceSOAPStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
- this(service);
- super.cachedEndpoint = endpointURL;
- }
-
- public AreaServiceSOAPStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
- if (service == null) {
- super.service = new org.apache.axis.client.Service();
- } else {
- super.service = service;
- }
- ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
- java.lang.Class cls;
- javax.xml.namespace.QName qName;
- javax.xml.namespace.QName qName2;
- java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
- java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
- java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
- java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
- java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
- java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
- java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
- java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
- java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
- java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
- qName = new javax.xml.namespace.QName("http://tempuri.org/AreaService/", "dimensions");
- cachedSerQNames.add(qName);
- cls = org.tempuri.AreaService.Dimensions.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- }
-
- protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
- try {
- org.apache.axis.client.Call _call = super._createCall();
- if (super.maintainSessionSet) {
- _call.setMaintainSession(super.maintainSession);
- }
- if (super.cachedUsername != null) {
- _call.setUsername(super.cachedUsername);
- }
- if (super.cachedPassword != null) {
- _call.setPassword(super.cachedPassword);
- }
- if (super.cachedEndpoint != null) {
- _call.setTargetEndpointAddress(super.cachedEndpoint);
- }
- if (super.cachedTimeout != null) {
- _call.setTimeout(super.cachedTimeout);
- }
- if (super.cachedPortName != null) {
- _call.setPortName(super.cachedPortName);
- }
- java.util.Enumeration keys = super.cachedProperties.keys();
- while (keys.hasMoreElements()) {
- java.lang.String key = (java.lang.String) keys.nextElement();
- _call.setProperty(key, super.cachedProperties.get(key));
- }
- // All the type mapping information is registered
- // when the first call is made.
- // The type mapping information is actually registered in
- // the TypeMappingRegistry of the service, which
- // is the reason why registration is only needed for the first call.
- synchronized (this) {
- if (firstCall()) {
- // must set encoding style before registering serializers
- _call.setEncodingStyle(null);
- for (int i = 0; i < cachedSerFactories.size(); ++i) {
- java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
- javax.xml.namespace.QName qName =
- (javax.xml.namespace.QName) cachedSerQNames.get(i);
- java.lang.Object x = cachedSerFactories.get(i);
- if (x instanceof Class) {
- java.lang.Class sf = (java.lang.Class)
- cachedSerFactories.get(i);
- java.lang.Class df = (java.lang.Class)
- cachedDeserFactories.get(i);
- _call.registerTypeMapping(cls, qName, sf, df, false);
- }
- else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
- org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
- cachedSerFactories.get(i);
- org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
- cachedDeserFactories.get(i);
- _call.registerTypeMapping(cls, qName, sf, df, false);
- }
- }
- }
- }
- return _call;
- }
- catch (java.lang.Throwable _t) {
- throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
- }
- }
-
- public float calculateRectArea(org.tempuri.AreaService.Dimensions parameters) throws java.rmi.RemoteException {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[0]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("http://tempuri.org/AreaService/NewOperation");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new javax.xml.namespace.QName("", "CalculateRectArea"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return ((java.lang.Float) _resp).floatValue();
- } catch (java.lang.Exception _exception) {
- return ((java.lang.Float) org.apache.axis.utils.JavaUtils.convert(_resp, float.class)).floatValue();
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- throw axisFaultException;
-}
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_PortType.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_PortType.java
deleted file mode 100644
index c8b7dccbb..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_PortType.java
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * AreaService_PortType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package org.tempuri.AreaService;
-
-public interface AreaService_PortType extends java.rmi.Remote {
- public float calculateRectArea(org.tempuri.AreaService.Dimensions parameters) throws java.rmi.RemoteException;
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_Service.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_Service.java
deleted file mode 100644
index 981f659bf..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_Service.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * AreaService_Service.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package org.tempuri.AreaService;
-
-public interface AreaService_Service extends javax.xml.rpc.Service {
- public java.lang.String getAreaServiceSOAPAddress();
-
- public org.tempuri.AreaService.AreaService_PortType getAreaServiceSOAP() throws javax.xml.rpc.ServiceException;
-
- public org.tempuri.AreaService.AreaService_PortType getAreaServiceSOAP(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_ServiceLocator.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_ServiceLocator.java
deleted file mode 100644
index 23d22c86a..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_ServiceLocator.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/**
- * AreaService_ServiceLocator.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package org.tempuri.AreaService;
-
-public class AreaService_ServiceLocator extends org.apache.axis.client.Service implements org.tempuri.AreaService.AreaService_Service {
-
- public AreaService_ServiceLocator() {
- }
-
-
- public AreaService_ServiceLocator(org.apache.axis.EngineConfiguration config) {
- super(config);
- }
-
- public AreaService_ServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
- super(wsdlLoc, sName);
- }
-
- // Use to get a proxy class for AreaServiceSOAP
- private java.lang.String AreaServiceSOAP_address = "http://localhost:8080/AreaProj/services/AreaServiceSOAP";
-
- public java.lang.String getAreaServiceSOAPAddress() {
- return AreaServiceSOAP_address;
- }
-
- // The WSDD service name defaults to the port name.
- private java.lang.String AreaServiceSOAPWSDDServiceName = "AreaServiceSOAP";
-
- public java.lang.String getAreaServiceSOAPWSDDServiceName() {
- return AreaServiceSOAPWSDDServiceName;
- }
-
- public void setAreaServiceSOAPWSDDServiceName(java.lang.String name) {
- AreaServiceSOAPWSDDServiceName = name;
- }
-
- public org.tempuri.AreaService.AreaService_PortType getAreaServiceSOAP() throws javax.xml.rpc.ServiceException {
- java.net.URL endpoint;
- try {
- endpoint = new java.net.URL(AreaServiceSOAP_address);
- }
- catch (java.net.MalformedURLException e) {
- throw new javax.xml.rpc.ServiceException(e);
- }
- return getAreaServiceSOAP(endpoint);
- }
-
- public org.tempuri.AreaService.AreaService_PortType getAreaServiceSOAP(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
- try {
- org.tempuri.AreaService.AreaServiceSOAPStub _stub = new org.tempuri.AreaService.AreaServiceSOAPStub(portAddress, this);
- _stub.setPortName(getAreaServiceSOAPWSDDServiceName());
- return _stub;
- }
- catch (org.apache.axis.AxisFault e) {
- return null;
- }
- }
-
- public void setAreaServiceSOAPEndpointAddress(java.lang.String address) {
- AreaServiceSOAP_address = address;
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (org.tempuri.AreaService.AreaService_PortType.class.isAssignableFrom(serviceEndpointInterface)) {
- org.tempuri.AreaService.AreaServiceSOAPStub _stub = new org.tempuri.AreaService.AreaServiceSOAPStub(new java.net.URL(AreaServiceSOAP_address), this);
- _stub.setPortName(getAreaServiceSOAPWSDDServiceName());
- return _stub;
- }
- }
- catch (java.lang.Throwable t) {
- throw new javax.xml.rpc.ServiceException(t);
- }
- throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
- if (portName == null) {
- return getPort(serviceEndpointInterface);
- }
- java.lang.String inputPortName = portName.getLocalPart();
- if ("AreaServiceSOAP".equals(inputPortName)) {
- return getAreaServiceSOAP();
- }
- else {
- java.rmi.Remote _stub = getPort(serviceEndpointInterface);
- ((org.apache.axis.client.Stub) _stub).setPortName(portName);
- return _stub;
- }
- }
-
- public javax.xml.namespace.QName getServiceName() {
- return new javax.xml.namespace.QName("http://tempuri.org/AreaService/", "AreaService");
- }
-
- private java.util.HashSet ports = null;
-
- public java.util.Iterator getPorts() {
- if (ports == null) {
- ports = new java.util.HashSet();
- ports.add(new javax.xml.namespace.QName("http://tempuri.org/AreaService/", "AreaServiceSOAP"));
- }
- return ports.iterator();
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
-
-if ("AreaServiceSOAP".equals(portName)) {
- setAreaServiceSOAPEndpointAddress(address);
- }
- else
-{ // Unknown Port Name
- throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
- }
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
- setEndpointAddress(portName.getLocalPart(), address);
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/Dimensions.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/Dimensions.java
deleted file mode 100644
index ea8eb5288..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/Dimensions.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/**
- * Dimensions.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package org.tempuri.AreaService;
-
-public class Dimensions implements java.io.Serializable {
- private float width;
- private float height;
-
- public Dimensions() {
- }
-
- public Dimensions(
- float width,
- float height) {
- this.width = width;
- this.height = height;
- }
-
-
- /**
- * Gets the width value for this Dimensions.
- *
- * @return width
- */
- public float getWidth() {
- return width;
- }
-
-
- /**
- * Sets the width value for this Dimensions.
- *
- * @param width
- */
- public void setWidth(float width) {
- this.width = width;
- }
-
-
- /**
- * Gets the height value for this Dimensions.
- *
- * @return height
- */
- public float getHeight() {
- return height;
- }
-
-
- /**
- * Sets the height value for this Dimensions.
- *
- * @param height
- */
- public void setHeight(float height) {
- this.height = height;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Dimensions)) return false;
- Dimensions other = (Dimensions) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.width == other.getWidth() &&
- this.height == other.getHeight();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += new Float(getWidth()).hashCode();
- _hashCode += new Float(getHeight()).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Dimensions.class, true);
-
- static {
- typeDesc.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/AreaService/", "dimensions"));
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("width");
- elemField.setXmlName(new javax.xml.namespace.QName("", "width"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("height");
- elemField.setXmlName(new javax.xml.namespace.QName("", "height"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/Converter.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/Converter.java
deleted file mode 100644
index e09491120..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/Converter.java
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Converter.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package wtp;
-
-public interface Converter extends java.rmi.Remote {
- public float celsiusToFarenheit(float celsius) throws java.rmi.RemoteException;
- public float farenheitToCelsius(float farenheit) throws java.rmi.RemoteException;
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterProxy.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterProxy.java
deleted file mode 100644
index 62f100011..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterProxy.java
+++ /dev/null
@@ -1,55 +0,0 @@
-package wtp;
-
-public class ConverterProxy implements wtp.Converter {
- private String _endpoint = null;
- private wtp.Converter converter = null;
-
- public ConverterProxy() {
- _initConverterProxy();
- }
-
- private void _initConverterProxy() {
- try {
- converter = (new wtp.ConverterServiceLocator()).getConverter();
- if (converter != null) {
- if (_endpoint != null)
- ((javax.xml.rpc.Stub)converter)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
- else
- _endpoint = (String)((javax.xml.rpc.Stub)converter)._getProperty("javax.xml.rpc.service.endpoint.address");
- }
-
- }
- catch (javax.xml.rpc.ServiceException serviceException) {}
- }
-
- public String getEndpoint() {
- return _endpoint;
- }
-
- public void setEndpoint(String endpoint) {
- _endpoint = endpoint;
- if (converter != null)
- ((javax.xml.rpc.Stub)converter)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
-
- }
-
- public wtp.Converter getConverter() {
- if (converter == null)
- _initConverterProxy();
- return converter;
- }
-
- public float celsiusToFarenheit(float celsius) throws java.rmi.RemoteException{
- if (converter == null)
- _initConverterProxy();
- return converter.celsiusToFarenheit(celsius);
- }
-
- public float farenheitToCelsius(float farenheit) throws java.rmi.RemoteException{
- if (converter == null)
- _initConverterProxy();
- return converter.farenheitToCelsius(farenheit);
- }
-
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterService.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterService.java
deleted file mode 100644
index 993df7ecc..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterService.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * ConverterService.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package wtp;
-
-public interface ConverterService extends javax.xml.rpc.Service {
- public java.lang.String getConverterAddress();
-
- public wtp.Converter getConverter() throws javax.xml.rpc.ServiceException;
-
- public wtp.Converter getConverter(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterServiceLocator.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterServiceLocator.java
deleted file mode 100644
index 02fbe6958..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterServiceLocator.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/**
- * ConverterServiceLocator.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package wtp;
-
-public class ConverterServiceLocator extends org.apache.axis.client.Service implements wtp.ConverterService {
-
- public ConverterServiceLocator() {
- }
-
-
- public ConverterServiceLocator(org.apache.axis.EngineConfiguration config) {
- super(config);
- }
-
- public ConverterServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
- super(wsdlLoc, sName);
- }
-
- // Use to get a proxy class for Converter
- private java.lang.String Converter_address = "http://localhost:8080/ConverterProj/services/Converter";
-
- public java.lang.String getConverterAddress() {
- return Converter_address;
- }
-
- // The WSDD service name defaults to the port name.
- private java.lang.String ConverterWSDDServiceName = "Converter";
-
- public java.lang.String getConverterWSDDServiceName() {
- return ConverterWSDDServiceName;
- }
-
- public void setConverterWSDDServiceName(java.lang.String name) {
- ConverterWSDDServiceName = name;
- }
-
- public wtp.Converter getConverter() throws javax.xml.rpc.ServiceException {
- java.net.URL endpoint;
- try {
- endpoint = new java.net.URL(Converter_address);
- }
- catch (java.net.MalformedURLException e) {
- throw new javax.xml.rpc.ServiceException(e);
- }
- return getConverter(endpoint);
- }
-
- public wtp.Converter getConverter(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
- try {
- wtp.ConverterSoapBindingStub _stub = new wtp.ConverterSoapBindingStub(portAddress, this);
- _stub.setPortName(getConverterWSDDServiceName());
- return _stub;
- }
- catch (org.apache.axis.AxisFault e) {
- return null;
- }
- }
-
- public void setConverterEndpointAddress(java.lang.String address) {
- Converter_address = address;
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (wtp.Converter.class.isAssignableFrom(serviceEndpointInterface)) {
- wtp.ConverterSoapBindingStub _stub = new wtp.ConverterSoapBindingStub(new java.net.URL(Converter_address), this);
- _stub.setPortName(getConverterWSDDServiceName());
- return _stub;
- }
- }
- catch (java.lang.Throwable t) {
- throw new javax.xml.rpc.ServiceException(t);
- }
- throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
- if (portName == null) {
- return getPort(serviceEndpointInterface);
- }
- java.lang.String inputPortName = portName.getLocalPart();
- if ("Converter".equals(inputPortName)) {
- return getConverter();
- }
- else {
- java.rmi.Remote _stub = getPort(serviceEndpointInterface);
- ((org.apache.axis.client.Stub) _stub).setPortName(portName);
- return _stub;
- }
- }
-
- public javax.xml.namespace.QName getServiceName() {
- return new javax.xml.namespace.QName("http://wtp", "ConverterService");
- }
-
- private java.util.HashSet ports = null;
-
- public java.util.Iterator getPorts() {
- if (ports == null) {
- ports = new java.util.HashSet();
- ports.add(new javax.xml.namespace.QName("http://wtp", "Converter"));
- }
- return ports.iterator();
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
-
-if ("Converter".equals(portName)) {
- setConverterEndpointAddress(address);
- }
- else
-{ // Unknown Port Name
- throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
- }
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
- setEndpointAddress(portName.getLocalPart(), address);
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterSoapBindingStub.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterSoapBindingStub.java
deleted file mode 100644
index f6d2c2926..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterSoapBindingStub.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/**
- * ConverterSoapBindingStub.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
- */
-
-package wtp;
-
-public class ConverterSoapBindingStub extends org.apache.axis.client.Stub implements wtp.Converter {
- private java.util.Vector cachedSerClasses = new java.util.Vector();
- private java.util.Vector cachedSerQNames = new java.util.Vector();
- private java.util.Vector cachedSerFactories = new java.util.Vector();
- private java.util.Vector cachedDeserFactories = new java.util.Vector();
-
- static org.apache.axis.description.OperationDesc [] _operations;
-
- static {
- _operations = new org.apache.axis.description.OperationDesc[2];
- _initOperationDesc1();
- }
-
- private static void _initOperationDesc1(){
- org.apache.axis.description.OperationDesc oper;
- org.apache.axis.description.ParameterDesc param;
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("celsiusToFarenheit");
- param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://wtp", "celsius"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"), float.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
- oper.setReturnClass(float.class);
- oper.setReturnQName(new javax.xml.namespace.QName("http://wtp", "celsiusToFarenheitReturn"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- _operations[0] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("farenheitToCelsius");
- param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://wtp", "farenheit"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"), float.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
- oper.setReturnClass(float.class);
- oper.setReturnQName(new javax.xml.namespace.QName("http://wtp", "farenheitToCelsiusReturn"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- _operations[1] = oper;
-
- }
-
- public ConverterSoapBindingStub() throws org.apache.axis.AxisFault {
- this(null);
- }
-
- public ConverterSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
- this(service);
- super.cachedEndpoint = endpointURL;
- }
-
- public ConverterSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
- if (service == null) {
- super.service = new org.apache.axis.client.Service();
- } else {
- super.service = service;
- }
- ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
- }
-
- protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
- try {
- org.apache.axis.client.Call _call = super._createCall();
- if (super.maintainSessionSet) {
- _call.setMaintainSession(super.maintainSession);
- }
- if (super.cachedUsername != null) {
- _call.setUsername(super.cachedUsername);
- }
- if (super.cachedPassword != null) {
- _call.setPassword(super.cachedPassword);
- }
- if (super.cachedEndpoint != null) {
- _call.setTargetEndpointAddress(super.cachedEndpoint);
- }
- if (super.cachedTimeout != null) {
- _call.setTimeout(super.cachedTimeout);
- }
- if (super.cachedPortName != null) {
- _call.setPortName(super.cachedPortName);
- }
- java.util.Enumeration keys = super.cachedProperties.keys();
- while (keys.hasMoreElements()) {
- java.lang.String key = (java.lang.String) keys.nextElement();
- _call.setProperty(key, super.cachedProperties.get(key));
- }
- return _call;
- }
- catch (java.lang.Throwable _t) {
- throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
- }
- }
-
- public float celsiusToFarenheit(float celsius) throws java.rmi.RemoteException {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[0]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new javax.xml.namespace.QName("http://wtp", "celsiusToFarenheit"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Float(celsius)});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return ((java.lang.Float) _resp).floatValue();
- } catch (java.lang.Exception _exception) {
- return ((java.lang.Float) org.apache.axis.utils.JavaUtils.convert(_resp, float.class)).floatValue();
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- throw axisFaultException;
-}
- }
-
- public float farenheitToCelsius(float farenheit) throws java.rmi.RemoteException {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[1]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new javax.xml.namespace.QName("http://wtp", "farenheitToCelsius"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Float(farenheit)});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return ((java.lang.Float) _resp).floatValue();
- } catch (java.lang.Exception _exception) {
- return ((java.lang.Float) org.apache.axis.utils.JavaUtils.convert(_resp, float.class)).floatValue();
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- throw axisFaultException;
-}
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/plugin.properties b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/plugin.properties
deleted file mode 100644
index 96ef6c48d..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/plugin.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# 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
-# -------- -------- -----------------------------------------------------------
-# 20060424 138060 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=JST Web Services Axis Consumption Core Test
-PLUGIN_PROVIDER=Eclipse.org
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/unittest/LocatorTests.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/unittest/LocatorTests.java
deleted file mode 100644
index 0c7a60bd1..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/unittest/LocatorTests.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 147862 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 147864 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.axis.consumption.core.tests.unittest;
-
-import java.util.Iterator;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jst.ws.axis.consumption.core.tests.util.JavaFilter;
-import org.eclipse.jst.ws.axis.consumption.core.tests.util.StdoutProgressMonitor;
-import org.eclipse.jst.ws.axis.consumption.core.tests.util.Util;
-import org.eclipse.jst.ws.internal.wsrt.WebServiceJavaClientInfo;
-import org.eclipse.wst.ws.internal.wsfinder.WebServiceFinder;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
-
-public class LocatorTests extends TestCase
-{
- public static Test suite ()
- {
- return new TestSuite(LocatorTests.class);
- }
-
- public void test_AxisClientLocator ()
- {
- System.out.println("BEGIN test_AxisClientLocator");
- try
- {
- String[] projectNames = new String[] {"Java1","Java2","Java3"};
- IProject[] projects = new IProject[projectNames.length];
- for (int x=0; x<projectNames.length; x++)
- {
- projects[x] = ResourcesPlugin.getWorkspace().getRoot().getProject(projectNames[x]);
- }
- Util.init();
- try
- {
- for (int i=0; i<projects.length; i++)
- {
- IJavaProject javaProject = Util.createJavaProject(projectNames[i]);
- Util.addRequiredJarsToJavaProject(javaProject);
- Util.copyExamplesToJavaProject(javaProject,new JavaFilter());
- }
- }
- catch (Throwable t)
- {
- t.printStackTrace();
- fail("Failed to access or create prerequisite projects");
- }
- WebServiceFinder finder = WebServiceFinder.instance();
- String[] categoryIds = finder.getWebServiceCategoryIds();
- int n = -1;
- IProgressMonitor monitor = new StdoutProgressMonitor();
- for (int i=0; i<categoryIds.length; i++)
- {
- System.out.println("Category ID = ["+categoryIds[i]+"]");
- if (categoryIds[i].equals("org.eclipse.jst.ws.internal.axis.consumption.core.locator.category.axis"))
- {
- n = i;
- Iterator iter = finder.getWebServiceClientsByCategoryId(categoryIds[i],monitor);
- assertFoundClients(iter,6);
- iter = finder.getWebServiceClientsByCategoryId(categoryIds[i],projects,monitor);
- assertFoundClients(iter,6);
- iter = finder.getWebServiceClientsByCategoryId(categoryIds[i],new IProject[] {projects[0]},monitor);
- assertFoundClients(iter,2);
- iter = finder.getWebServiceClientsByCategoryId(categoryIds[i],new IProject[] {projects[1],projects[2]},monitor);
- assertFoundClients(iter,4);
- IProject noSuchProject = ResourcesPlugin.getWorkspace().getRoot().getProject("noSuchProject");
- iter = finder.getWebServiceClientsByCategoryId(categoryIds[i],new IProject[] {noSuchProject},monitor);
- assertFoundClients(iter,0);
- }
- }
- assertTrue("Axis locator extension missing.",n >= 0);
- }
- finally
- {
- System.out.println("ENDED test_AxisClientLocator");
- }
- }
-
- private void assertFoundClients ( Iterator iter, int x )
- {
- int p = 0;
- while (iter.hasNext())
- {
- Object obj = iter.next();
- assertTrue("Finder returned a "+obj.getClass().getName()+" instead of a WebServiceClientInfo.",obj instanceof WebServiceClientInfo);
- p++;
- WebServiceClientInfo wscInfo = (WebServiceClientInfo)obj;
- String proxyClassURL = wscInfo.getImplURL();
- System.out.println("Axis client proxy class = ["+proxyClassURL+"]");
- if (wscInfo instanceof WebServiceJavaClientInfo)
- {
- WebServiceJavaClientInfo wscJInfo = (WebServiceJavaClientInfo)wscInfo;
- assertNotNull("Found an unexpected null IType",wscJInfo.getType());
- System.out.println("Axis client proxy IType = ["+wscJInfo.getType()+"]");
- }
- }
- assertTrue("Found "+p+" proxies instead of the expected "+x+".",p == x);
- }
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Filter.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Filter.java
deleted file mode 100644
index ba6c04471..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Filter.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060711 147862 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 147864 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.axis.consumption.core.tests.util;
-
-public interface Filter
-{
- public boolean accept ( Object object );
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/JavaFilter.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/JavaFilter.java
deleted file mode 100644
index f76206f47..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/JavaFilter.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060711 147862 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 147864 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.axis.consumption.core.tests.util;
-
-public class JavaFilter implements Filter {
-
- public boolean accept ( Object object )
- {
- return object.toString().endsWith(".java");
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/StdoutProgressMonitor.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/StdoutProgressMonitor.java
deleted file mode 100644
index b188b17e0..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/StdoutProgressMonitor.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.jst.ws.axis.consumption.core.tests.util;
-
-import org.eclipse.core.runtime.NullProgressMonitor;
-
-public class StdoutProgressMonitor extends NullProgressMonitor
-{
-
- public void beginTask(String name, int totalWork)
- {
- System.out.println("[Progress] "+name+", "+totalWork+" unit(s) remaining).");
- }
-
- public void done()
- {
- System.out.println("[Progress] Done.");
- }
-
- public void setTaskName(String name)
- {
- System.out.println("[Progress] "+name);
- }
-
- public void subTask(String name)
- {
- System.out.println("[Progress] "+name);
- }
-
- public void worked(int work)
- {
- System.out.println("[Progress] "+work+" unit(s) completed.");
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Util.java b/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Util.java
deleted file mode 100644
index e79026830..000000000
--- a/tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Util.java
+++ /dev/null
@@ -1,259 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 147862 cbrealey@ca.ibm.com - Chris Brealey
- * 20060711 147864 cbrealey@ca.ibm.com - Chris Brealey
- * 20061211 162288 makandre@ca.ibm.com - Andrew Mak, workspace paths with spaces break Java Editor Launch
- *******************************************************************************/
-
-package org.eclipse.jst.ws.axis.consumption.core.tests.util;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.UnsupportedEncodingException;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.util.Enumeration;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.core.resources.ICommand;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IProjectDescription;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.wst.common.uriresolver.internal.util.URIEncoder;
-import org.osgi.framework.Bundle;
-
-public class Util
-{
- /**
- * Initializes this testsuite.
- */
- public static void init ()
- {
- String workspaceOSPath = ResourcesPlugin.getWorkspace().getRoot().getLocation().toString();
- System.out.println("Workspace = ["+workspaceOSPath+"]");
- }
-
- /**
- * Create a Java project if it doesn't already exist.
- * @param name The name of the project to create.
- * @throws CoreException If the project could not be created.
- */
- public static IJavaProject createJavaProject ( String name )
- throws CoreException
- {
- IWorkspace workspace = ResourcesPlugin.getWorkspace();
- IWorkspaceRoot root = workspace.getRoot();
- IProject project = root.getProject(name);
- if (!project.exists())
- {
- System.out.println("Creating project ["+name+"]");
- project.create(null);
- project.open(null);
- IProjectDescription desc = project.getDescription();
- desc.setNatureIds(new String[] {JavaCore.NATURE_ID});
- ICommand cmd = desc.newCommand();
- cmd.setBuilderName(JavaCore.BUILDER_ID);
- desc.setBuildSpec(new ICommand[] {cmd});
- project.setDescription(desc,null);
- }
- System.out.println("Creating Java project ["+name+"]");
- IJavaProject javaProject = JavaCore.create(project);
- javaProject.open(null);
- return javaProject;
- }
-
- /**
- * Adds Axis jars and the JRE to the classpath of the given project.
- * @param javaProject The project to add axis.jar to.
- * @throws JavaModelException If the jar could not be added.
- */
- public static void addRequiredJarsToJavaProject ( IJavaProject javaProject )
- throws CoreException
- {
- // Get the current classpath as a list.
- IClasspathEntry[] classpath = javaProject.getRawClasspath();
- List list = new LinkedList(java.util.Arrays.asList(classpath));
-
- // Add the JRE to the list.
- IClasspathEntry con = JavaCore.newContainerEntry(new Path("org.eclipse.jdt.launching.JRE_CONTAINER"));
- list.add(con);
-
- // Add the Axis jars to the list.
- String[] jars = new String[] {
- "org.apache.axis","axis.jar",
- "org.apache.axis","commons-discovery-0.2.jar",
- "org.apache.commons_logging","commons-logging-1.0.4.jar",
- "org.apache.axis","jaxrpc.jar",
- "org.apache.jakarta_log4j","log4j-1.2.8.jar",
- "org.apache.axis","saaj.jar",
- "org.apache.axis","wsdl4j-1.5.1.jar"
- };
-
- for (int i=0; i<jars.length; i+=2)
- {
- IPath jar = getAxisPluginJarPath(jars[i],jars[i+1]);
- System.out.println("Adding jar ["+jar.toString()+"]");
- IClasspathEntry jarEntry = JavaCore.newLibraryEntry(jar,null,null);
- list.add(jarEntry);
- }
-
- // Update the current classpath from the list.
- IClasspathEntry[] newClasspath = (IClasspathEntry[])list.toArray(new IClasspathEntry[0]);
- javaProject.setRawClasspath(newClasspath,null);
- }
-
- /**
- * Returns the filesystem path to the named jar in the Axis plugin.
- * @return The filesystem path to the named jar in the Axis plugin.
- * @throws CoreException If the path could not be computed.
- */
- public static IPath getAxisPluginJarPath ( String pluginName, String jarName )
- throws CoreException
- {
- Bundle bundle = Platform.getBundle(pluginName);
- if (bundle == null)
- {
- throw new CoreException(new Status(IStatus.ERROR,"",0,"Unable to locate plugin org.apache.axis",null));
- }
- URL axisURL = FileLocator.find(bundle,new Path("lib/"+jarName),null);
- try
- {
- URL localAxisURL = FileLocator.toFileURL(axisURL);
- File file = new File(new URI(URIEncoder.encode(localAxisURL.toString(), "UTF-8")));
- return new Path(file.toString());
- }
- catch (UnsupportedEncodingException uee) {
- throw new CoreException(new Status(IStatus.ERROR,"",0,"Unable to encode jar path for plugin org.apache.axis",uee));
- }
- catch (IOException ioe)
- {
- throw new CoreException(new Status(IStatus.ERROR,"",0,"Unable to locate plugin org.apache.axis",ioe));
- }
- catch (URISyntaxException use)
- {
- throw new CoreException(new Status(IStatus.ERROR,"",0,"Unable to locate plugin org.apache.axis",use));
- }
- }
-
- /**
- * Copies examples to the given Java project.
- * @param javaProject The project to copy the examples to.
- */
- public static void copyExamplesToJavaProject ( IJavaProject javaProject, Filter filter )
- throws CoreException
- {
- IProject project = javaProject.getProject();
- String sourcePath = project.getName();
- copyExample("org.eclipse.jst.ws.axis.consumption.core.tests","data/axisSource1",sourcePath,filter);
- copyExample("org.eclipse.jst.ws.axis.consumption.core.tests","data/axisSource2",sourcePath,filter);
- project.build(IncrementalProjectBuilder.FULL_BUILD,null);
- try
- {
- System.out.println("Waiting for build to complete");
- Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD,null);
- }
- catch (Throwable t)
- {
- //Do nothing.
- }
- }
-
- /**
- * Recursively copies files from a plugin to the workspace.
- * @param sourcePlugin The plugin to copy from.
- * @param sourceRoot The plugin-related path to copy from.
- * @param targetWorkspacePath The workspace path to copy to.
- */
- public static void copyExample ( String sourcePlugin, String sourceRoot, String targetWorkspacePath, Filter filter )
- throws CoreException
- {
- Bundle bundle = Platform.getBundle(sourcePlugin);
- if (bundle == null)
- {
- throw new CoreException(new Status(IStatus.ERROR,"",0,"Unable to locate plugin "+sourcePlugin,null));
- }
- Enumeration e = bundle.getEntryPaths(sourceRoot);
- while (e.hasMoreElements())
- {
- String path = e.nextElement().toString();
- System.out.println("Bundle path = ["+path+"]");
- copyExampleFile(bundle,path,new Path(sourceRoot).segmentCount(),targetWorkspacePath,filter);
- }
- }
-
- public static void copyExampleFile ( Bundle bundle, String path, int offset, String targetWorkspacePath, Filter filter )
- throws CoreException
- {
- IPath reducedPath = new Path(path).removeFirstSegments(offset);
- IPath targetPath = new Path(targetWorkspacePath).append(reducedPath);
- if (path.endsWith("/"))
- {
- System.out.println("Folder = ["+path+"] Target = ["+targetPath+"]");
- IFolder folder = ResourcesPlugin.getWorkspace().getRoot().getFolder(targetPath);
- if (!folder.exists())
- {
- folder.create(true,true,null);
- }
- Enumeration e = bundle.getEntryPaths(path);
- while (e.hasMoreElements())
- {
- String subpath = e.nextElement().toString();
- copyExampleFile(bundle,subpath,offset,targetWorkspacePath,filter);
- }
- }
- else
- {
- System.out.println("File = ["+path+"] Target = ["+targetPath+"]");
- if (filter.accept(path))
- {
- System.out.println("Copied ["+path+"]");
- URL url = bundle.getEntry(path);
- copyFile(url,targetPath);
- }
- }
- }
-
- public static void copyFile ( URL url, IPath targetPath )
- throws CoreException
- {
- IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(targetPath);
- try
- {
- InputStream stream = url.openStream();
- file.create(stream,true,null);
- }
- catch (IOException ioe)
- {
- throw new CoreException(new Status(IStatus.ERROR,"",0,"IOException copying file",ioe));
- }
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests.performance/.classpath b/tests/org.eclipse.jst.ws.tests.performance/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.ws.tests.performance/.cvsignore b/tests/org.eclipse.jst.ws.tests.performance/.cvsignore
deleted file mode 100644
index 434810902..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-build.xml
-temp.folder
-axisPerfmsr.jar
diff --git a/tests/org.eclipse.jst.ws.tests.performance/.project b/tests/org.eclipse.jst.ws.tests.performance/.project
deleted file mode 100644
index 088e1a830..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.tests.performance</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 515fbd762..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:36:51 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.pde.prefs b/tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 1463cd8d6..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:54 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/tests/org.eclipse.jst.ws.tests.performance/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.ws.tests.performance/META-INF/MANIFEST.MF
deleted file mode 100644
index 54ca3a88e..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,31 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.tests.performance
-Bundle-Version: 1.0.100
-Bundle-ClassPath: axisPerfmsr.jar
-Bundle-Activator: org.eclipse.jst.ws.tests.performance.plugin.PerformancePlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr,
- org.eclipse.jst.ws.tests.performance,
- org.eclipse.jst.ws.tests.performance.plugin,
- org.eclipse.jst.ws.tests.performance.util
-Require-Bundle: org.eclipse.jst.ws,
- org.eclipse.jst.j2ee.core,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.ui,
- org.eclipse.wst.server.core,
- org.junit,
- org.eclipse.jst.ws.tests,
- org.eclipse.jem.util,
- org.eclipse.test.performance,
- org.eclipse.wst.command.env.ui,
- org.eclipse.wst.command.env.core,
- org.eclipse.wst.common.environment,
- org.eclipse.wst.common.modulecore,
- org.eclipse.emf.ecore,
- org.eclipse.jst.ws.consumption,
- org.eclipse.wst.common.frameworks
-Eclipse-LazyStart: true
diff --git a/tests/org.eclipse.jst.ws.tests.performance/about.html b/tests/org.eclipse.jst.ws.tests.performance/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.jst.ws.tests.performance/build.properties b/tests/org.eclipse.jst.ws.tests.performance/build.properties
deleted file mode 100644
index 99ea6b51a..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/build.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-bin.includes = plugin.xml,\
- test.xml,\
- axisPerfmsr.jar,\
- META-INF/,\
- about.html
-jars.compile.order = axisPerfmsr.jar
-source.axisPerfmsr.jar = src/
-output.axisPerfmsr.jar = bin/
diff --git a/tests/org.eclipse.jst.ws.tests.performance/plugin.properties b/tests/org.eclipse.jst.ws.tests.performance/plugin.properties
deleted file mode 100644
index 99d89bbad..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/plugin.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# 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
-# -------- -------- -----------------------------------------------------------
-# 20060424 138060 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=JST Web Services Performance Plug-in
-PLUGIN_PROVIDER=Eclipse.org
diff --git a/tests/org.eclipse.jst.ws.tests.performance/plugin.xml b/tests/org.eclipse.jst.ws.tests.performance/plugin.xml
deleted file mode 100644
index 7bf65fb5f..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/plugin.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
-
-</plugin>
diff --git a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrBUJavaAxisTC50.java b/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrBUJavaAxisTC50.java
deleted file mode 100644
index 2e1340c33..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrBUJavaAxisTC50.java
+++ /dev/null
@@ -1,160 +0,0 @@
-package org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateModuleCommand;
-import org.eclipse.jst.ws.tests.axis.tomcat.v50.WSWizardTomcat50Test;
-import org.eclipse.jst.ws.tests.performance.util.PerformanceJUnitUtils;
-import org.eclipse.jst.ws.tests.unittest.WSJUnitConstants;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-import org.eclipse.jst.ws.tests.util.ScenarioConstants;
-import org.eclipse.test.performance.Performance;
-import org.eclipse.test.performance.PerformanceMeter;
-
-/**
- * Bottom up performance scenario with Axis and Tomcat v5.0
- */
-public final class PerfmsrBUJavaAxisTC50 extends WSWizardTomcat50Test {
- // Constants
- private final String WS_RUNTIMEID_AXIS = WSJUnitConstants.WS_RUNTIMEID_AXIS;
- private final String PROJECT_NAME = WSJUnitConstants.BU_PROJECT_NAME;
-
- private IFile sourceFile_;
-
- /**
- * Sets up the input data;
- * - create project(s),
- * - copy resources to workspace
- */
- protected void installInputData() throws Exception
- {
-
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- IPath destPath = ResourceUtils.getJavaSourceLocation(webProject);
- IFolder folder = (IFolder)ResourceUtils.findResource(destPath);
- JUnitUtils.copyTestData("BUJava/src",folder,env_, null);
- sourceFile_ = folder.getFile(new Path("foo/Echo.java"));
- // Ensure that Echo.class is built in:
- // <Web Project>/WebContent/WEB-INF/classes/foo/Echo.class
- JUnitUtils.syncBuildProject(webProject,env_, null);
- //assertTrue(JUnitUtils.getClassesFolderForWebProject(WEB_PROJECT_NAME).getFile(new Path("foo/Echo.class")).exists());
-
-
- }
-
- protected void createProjects() throws Exception{
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- if (webProject==null || !webProject.exists()){
- createWebModule(PROJECT_NAME, PROJECT_NAME,J2EEVersionConstants.J2EE_1_4_ID);
- }
- }
-
- private void createWebModule(String projectNm, String componentName, int j2eeVersion){
-
- CreateModuleCommand cmc = new CreateModuleCommand();
- cmc.setJ2eeLevel(new Integer(j2eeVersion).toString());
- cmc.setModuleName(componentName);
- cmc.setModuleType(CreateModuleCommand.WEB);
- cmc.setProjectName(projectNm);
- cmc.setServerFactoryId(SERVERTYPEID_TC50);
- cmc.setServerInstanceId(server_.getId());
- cmc.execute(null, null );
-
- System.out.println("Done creating Web Project, "+projectNm);
-
- }
-
-
- /**
- * Set the persistent server runtime context preferences
- */
- protected void initJ2EEWSRuntimeServerDefaults() throws Exception
- {
- // Set default preferences for Axis and Tomcat 5.0
- JUnitUtils.setWSRuntimeServer(WS_RUNTIMEID_AXIS, SERVERTYPEID_TC50);
- }
-
- /**
- * Set the initial selection
- */
- protected void initInitialSelection() throws Exception
- {
- initialSelection_ = new StructuredSelection(sourceFile_);
- }
-
- /**
- * Launches the pop-up command to initiate the scenario
- * @throws Exception
- */
- public void testBUJavaAxisTC50() throws Exception
- {
- IStatus status = Status.OK_STATUS;
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- JUnitUtils.disableWSIDialog(webProject);
-
- Performance perf= Performance.getDefault();
- PerformanceMeter performanceMeter= perf.createPerformanceMeter(perf.getDefaultScenarioId(this));
- try {
-
- performanceMeter.start();
- PerformanceJUnitUtils.launchCreationWizard(ScenarioConstants.WIZARDID_BOTTOM_UP,ScenarioConstants.OBJECT_CLASS_ID_IFILE,initialSelection_);
- performanceMeter.stop();
-
- performanceMeter.commit();
- perf.assertPerformance(performanceMeter);
- }
- finally {
- if (performanceMeter==null)
- performanceMeter.dispose();
- }
-
- if (status.getSeverity() == Status.OK)
- verifyOutput();
- else
- throw new Exception(status.getException());
-
- }
-
- /**
- * Verify the scenario completed successfully
- * @throws Exception
- */
- private final void verifyOutput() throws Exception
- {
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- IFolder webContentFolder = (IFolder)J2EEUtils.getWebContentContainer(webProject);
-
- IFolder wsdlFolder = webContentFolder.getFolder("wsdl");
- assertTrue(wsdlFolder.exists());
- assertTrue(wsdlFolder.members().length > 0);
- assertTrue(webContentFolder.getFolder("wsdl").members().length > 0);
-
- //TODO Check if wsdd contains new Web service
- //TODO Check if Web serivce can be invoked by a client
- }
-
- /**
- * Clear workspace if necessary
- */
- protected void deleteInputData() throws Exception
- {
- // Remove the EAR from the server.
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- //JUnitUtils.removeModuleFromServer(server_,webProject,env_);
-
- // Delete the Web project.
- webProject.delete(true,true, null);
- assertFalse(webProject.exists());
-
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrClientAxisTC50.java b/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrClientAxisTC50.java
deleted file mode 100644
index c8fae0745..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrClientAxisTC50.java
+++ /dev/null
@@ -1,148 +0,0 @@
-package org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateModuleCommand;
-import org.eclipse.jst.ws.tests.axis.tomcat.v50.WSWizardTomcat50Test;
-import org.eclipse.jst.ws.tests.performance.util.PerformanceJUnitUtils;
-import org.eclipse.jst.ws.tests.unittest.WSJUnitConstants;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-import org.eclipse.jst.ws.tests.util.ScenarioConstants;
-import org.eclipse.test.performance.Performance;
-import org.eclipse.test.performance.PerformanceMeter;
-
-/**
- * Client performance scenario with Axis and Tomcat v5.0
- */
-public class PerfmsrClientAxisTC50 extends WSWizardTomcat50Test {
-
- private final String WS_RUNTIMEID_AXIS = WSJUnitConstants.WS_RUNTIMEID_AXIS;
-
- private final String CLIENT_PROJECT_NAME = WSJUnitConstants.CLIENT_PROJECT_NAME;
-
- private IFile sourceFile_;
-
- protected void createProjects() throws Exception{
- IProject webProject = ProjectUtilities.getProject(CLIENT_PROJECT_NAME);
- if (!webProject.exists()){
- createWebModule(CLIENT_PROJECT_NAME, CLIENT_PROJECT_NAME,J2EEVersionConstants.J2EE_1_4_ID);
- }
- }
-
- private void createWebModule(String projectNm, String componentName, int j2eeVersion){
-
- CreateModuleCommand cmc = new CreateModuleCommand();
- cmc.setJ2eeLevel(new Integer(j2eeVersion).toString());
- cmc.setModuleName(componentName);
- cmc.setModuleType(CreateModuleCommand.WEB);
- cmc.setProjectName(projectNm);
- cmc.setServerFactoryId(SERVERTYPEID_TC50);
- cmc.setServerInstanceId(server_.getId());
- cmc.execute(null, null );
-
- }
-
- /**
- * Sets up the input data;
- * - create project(s),
- * - copy resources to workspace
- */
- protected void installInputData() throws Exception {
-
- IProject webProject = ProjectUtilities.getProject(CLIENT_PROJECT_NAME);
- IFolder destFolder = (IFolder)J2EEUtils.getWebContentContainer(webProject);
- JUnitUtils.copyTestData("TDJava",destFolder,env_, null);
- sourceFile_ = destFolder.getFile(new Path("Echo.wsdl"));
- JUnitUtils.syncBuildProject(webProject,env_, null);
-
- }
-
- /**
- * Set the persistent server runtime context preferences
- */
- protected void initJ2EEWSRuntimeServerDefaults() throws Exception {
- // Set default preferences for Axis and Tomcat 5.0
- JUnitUtils.setWSRuntimeServer(WS_RUNTIMEID_AXIS, SERVERTYPEID_TC50);
- }
-
- /**
- * Set the initial selection
- */
- protected void initInitialSelection() throws Exception {
- initialSelection_ = new StructuredSelection(sourceFile_);
- }
-
- /**
- * Launches the pop-up command to initiate the scenario
- * @throws Exception
- */
- public void testClientAxisTC50() throws Exception
- {
- IStatus status = Status.OK_STATUS;
-
- JUnitUtils.enableProxyGeneration(true);
- JUnitUtils.enableOverwrite(true);
- Performance perf= Performance.getDefault();
- PerformanceMeter performanceMeter= perf.createPerformanceMeter(perf.getDefaultScenarioId(this));
- try {
-
- performanceMeter.start();
- PerformanceJUnitUtils.launchCreationWizard(ScenarioConstants.WIZARDID_CLIENT,ScenarioConstants.OBJECT_CLASS_ID_IFILE,initialSelection_);
- performanceMeter.stop();
- performanceMeter.commit();
- perf.assertPerformance(performanceMeter);
- }
- finally {
- if (performanceMeter==null)
- performanceMeter.dispose();
- }
-
- if (status.getSeverity() == Status.OK) {
- verifyOutput();
- } else {
- throw new Exception(status.getException());
- }
-
- }
-
- /**
- * Verify the scenario completed succesfully
- * @throws Exception
- */
- private final void verifyOutput() throws Exception {
- IProject webProject = ProjectUtilities.getProject(CLIENT_PROJECT_NAME);
-
- IPath destPath = ResourceUtils.getJavaSourceLocation(webProject);
- IFolder srcFolder = (IFolder)ResourceUtils.findResource(destPath);
-
- //IFolder srcFolder = JUnitUtils.getSourceFolderForWebProject(CLIENT_PROJECT_NAME);
- IFolder folder = srcFolder.getFolder("foo");
- assertTrue(folder.exists());
- assertTrue(folder.members().length > 0);
-
- //TODO Check that the client runs
-
- }
-
- /**
- * Remove workspace if necessary
- */
- protected void deleteInputData() throws Exception {
-
- // Delete the Web project.
- IProject webProject = ProjectUtilities.getProject(CLIENT_PROJECT_NAME);
- webProject.delete(true,true, null);
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrTDJavaAxisTC50.java b/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrTDJavaAxisTC50.java
deleted file mode 100644
index 07bf32e4e..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrTDJavaAxisTC50.java
+++ /dev/null
@@ -1,141 +0,0 @@
-package org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateModuleCommand;
-import org.eclipse.jst.ws.tests.axis.tomcat.v50.WSWizardTomcat50Test;
-import org.eclipse.jst.ws.tests.performance.util.PerformanceJUnitUtils;
-import org.eclipse.jst.ws.tests.unittest.WSJUnitConstants;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-import org.eclipse.jst.ws.tests.util.ScenarioConstants;
-import org.eclipse.test.performance.Performance;
-import org.eclipse.test.performance.PerformanceMeter;
-
-/**
- * Top down performance scenario with Axis and Tomcat v5.0
- */
-public class PerfmsrTDJavaAxisTC50 extends WSWizardTomcat50Test {
-
- private final String WS_RUNTIMEID_AXIS = WSJUnitConstants.WS_RUNTIMEID_AXIS;
-
- private final String PROJECT_NAME = WSJUnitConstants.TD_PROJECT_NAME;
-
- private IFile sourceFile_;
-
- protected void createProjects() throws Exception{
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- if (!webProject.exists()){
- createWebModule(PROJECT_NAME, PROJECT_NAME,J2EEVersionConstants.J2EE_1_4_ID);
- }
- }
-
- private void createWebModule(String projectNm, String componentName, int j2eeVersion){
-
- CreateModuleCommand cmc = new CreateModuleCommand();
- cmc.setJ2eeLevel(new Integer(j2eeVersion).toString());
- cmc.setModuleName(componentName);
- cmc.setModuleType(CreateModuleCommand.WEB);
- cmc.setProjectName(projectNm);
- cmc.setServerFactoryId(SERVERTYPEID_TC50);
- cmc.setServerInstanceId(server_.getId());
- cmc.execute(null, null );
-
- System.out.println("Done creating Web Project, "+projectNm);
-
- }
-
- /**
- * Sets up the input data;
- * - create project(s),
- * - copy resources to workspace
- */
- protected void installInputData() throws Exception {
-
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- IFolder destFolder = (IFolder)J2EEUtils.getWebContentContainer(webProject);
- JUnitUtils.copyTestData("TDJava",destFolder,env_, null);
- sourceFile_ = destFolder.getFile(new Path("Echo.wsdl"));
- JUnitUtils.syncBuildProject(webProject,env_, null);
- }
-
- /**
- * Set the persistent server runtime context preferences
- */
- protected void initJ2EEWSRuntimeServerDefaults() throws Exception {
- // Set default preferences for Axis and Tomcat v5.0 server
- JUnitUtils.setWSRuntimeServer(WS_RUNTIMEID_AXIS, SERVERTYPEID_TC50);
- }
-
- /**
- * Set the initial selection
- */
- protected void initInitialSelection() throws Exception {
- initialSelection_ = new StructuredSelection(sourceFile_);
-
- }
-
- /**
- * Launches the pop-up command to initiate the scenario
- * @throws Exception
- */
- public void testTDJavaAxisTC50() throws Exception {
-
- IStatus status = Status.OK_STATUS;
- Performance perf= Performance.getDefault();
- PerformanceMeter performanceMeter= perf.createPerformanceMeter(perf.getDefaultScenarioId(this));
- try {
-
- performanceMeter.start();
- PerformanceJUnitUtils.launchCreationWizard(ScenarioConstants.WIZARDID_TOP_DOWN,ScenarioConstants.OBJECT_CLASS_ID_IFILE,initialSelection_);
- performanceMeter.stop();
- performanceMeter.commit();
- perf.assertPerformance(performanceMeter);
- }
- finally {
- if (performanceMeter==null)
- performanceMeter.dispose();
- }
- if (status.getSeverity() == Status.OK)
- verifyOutput();
- else
- throw new Exception(status.getException());
-
- }
-
- /**
- * Verify the scenario completed successfully
- * @throws Exception
- */
- private final void verifyOutput() throws Exception
- {
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- IFolder webContentFolder = (IFolder)J2EEUtils.getWebContentContainer(webProject);
-
-
- IFolder wsdlFolder = webContentFolder.getFolder("wsdl");
- assertTrue(wsdlFolder.exists());
- assertTrue(wsdlFolder.members().length > 0);
-
- //TODO Verify that wsdd contains this Web service
- //TODO Verify that the service can be invoked by a client
- }
-
- /**
- * Clear workspace if required
- */
- protected void deleteInputData() throws Exception {
- // Delete the Web project.
- IProject webProject = ProjectUtilities.getProject(PROJECT_NAME);
- webProject.delete(true,true,null);
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/AllPerformanceTests.java b/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/AllPerformanceTests.java
deleted file mode 100644
index 17010224f..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/AllPerformanceTests.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.performance;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrBUJavaAxisTC50;
-import org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrClientAxisTC50;
-import org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrTDJavaAxisTC50;
-
-public class AllPerformanceTests {
- public static Test suite() {
-
- // TODO: Create a test suite
- TestSuite suite = new TestSuite("Test for org.eclipse.jst.ws.tests.performance");
- //$JUnit-BEGIN$
- suite.addTestSuite(PerfmsrBUJavaAxisTC50.class);
- suite.addTestSuite(PerfmsrTDJavaAxisTC50.class);
- suite.addTestSuite(PerfmsrClientAxisTC50.class);
- //$JUnit-END$
- return suite;
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/plugin/PerformancePlugin.java b/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/plugin/PerformancePlugin.java
deleted file mode 100644
index 31f60773a..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/plugin/PerformancePlugin.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.eclipse.jst.ws.tests.performance.plugin;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class PerformancePlugin extends AbstractUIPlugin {
- //The shared instance.
- private static PerformancePlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public PerformancePlugin() {
- super();
- plugin = this;
- try {
- resourceBundle = ResourceBundle.getBundle("org.eclipse.jst.ws.internal.test.performance.PerformancePlugin");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- }
-
- /**
- * Returns the shared instance.
- */
- public static PerformancePlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = PerformancePlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- return resourceBundle;
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/EclipsePerformanceLog.java b/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/EclipsePerformanceLog.java
deleted file mode 100644
index f48f1a3a4..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/EclipsePerformanceLog.java
+++ /dev/null
@@ -1,77 +0,0 @@
-package org.eclipse.jst.ws.tests.performance.util;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.test.performance.Performance;
-import org.eclipse.test.performance.PerformanceMeter;
-import org.eclipse.wst.common.environment.ILog;
-
-
-public class EclipsePerformanceLog implements ILog {
-
- private boolean runState = false;
- Performance perf = null;
- PerformanceMeter performanceMeter= null;
-
- public boolean isEnabled() {
- // TODO Auto-generated method stub
- return false;
- }
-
- public boolean isEnabled(String option) {
- // TODO Auto-generated method stub
- return false;
- }
-
- public void log(int severity, int messageNum, Object caller, String method, Throwable throwable) {
- // TODO Auto-generated method stub
-
- }
-
- public void log(int severity, String option, int messageNum, Object caller, String method, Throwable throwable) {
- // TODO Auto-generated method stub
-
- }
-
- public void log(int severity, int messageNum, Object caller, String method, IStatus status) {
- // TODO Auto-generated method stub
-
- }
-
- public void log(int severity, String option, int messageNum, Object caller, String method, IStatus status) {
- // TODO Auto-generated method stub
-
- }
-
- public void log(int severity, int messageNum, Object caller, String method, Object object) {
- // TODO Auto-generated method stub
-
- }
-
- public void log(int severity, String option, int messageNum, Object caller, String method, Object object) {
-
- if (method.equals("runCommand")) {
-
- try {
- if (!runState) {
- // begin performance recording
- perf = Performance.getDefault();
- performanceMeter = perf.createPerformanceMeter(((String)object).toString());
- performanceMeter.start();
- runState = true;
- }
- else {
- // end performance recording
- performanceMeter.stop();
- performanceMeter.commit();
- perf.assertPerformance(performanceMeter);
- performanceMeter.dispose();
- runState = false;
- }
- }
- catch(Exception e) {
- // handle exception
- }
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/PerformanceJUnitUtils.java b/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/PerformanceJUnitUtils.java
deleted file mode 100644
index a896dc79a..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/PerformanceJUnitUtils.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.performance.util;
-
-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.tests.util.DynamicPopupJUnitWizard;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.common.environment.IStatusHandler;
-
-
-public class PerformanceJUnitUtils {
-
- private static void launchWizard(String pluginNS,String wizardId,String objectClassId,IStructuredSelection initialSelection) throws Exception
- {
- IStatusHandler statusHandler = new EclipseStatusHandler();
-
- DynamicPopupJUnitWizard wizard = new DynamicPopupJUnitWizard(statusHandler);
- wizard.setInitialData(wizardId);
- ProgressMonitorDialog monitor = new ProgressMonitorDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
- try {
- wizard.runHeadLess(initialSelection, monitor);
- }
- catch (Exception e){
- e.printStackTrace();
- }
-
- }
-
- public static void launchCreationWizard(String wizardId,String objectClassId,IStructuredSelection initialSelection) throws Exception
- {
- launchWizard("org.eclipse.jst.ws.creation.ui",wizardId,objectClassId,initialSelection);
- }
-
- public static void launchConsumptionWizard(String wizardId,String objectClassId,IStructuredSelection initialSelection) throws Exception
- {
- launchWizard("org.eclipse.jst.ws.internal.consumption.ui",wizardId,objectClassId,initialSelection);
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests.performance/test.xml b/tests/org.eclipse.jst.ws.tests.performance/test.xml
deleted file mode 100644
index 183b4ea2d..000000000
--- a/tests/org.eclipse.jst.ws.tests.performance/test.xml
+++ /dev/null
@@ -1,189 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="performance" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <!-- <property name="eclipse-home" value="${basedir}\..\.."/> -->
- <echo message="basedir ${basedir}" />
- <echo message="eclipse place ${eclipse-home}" />
-
- <!-- sets the properties plugin-name, and library-file -->
- <property name="plugin-name" value="org.eclipse.jst.ws.tests.performance"/>
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml"/>
- <property name="perf-tests-file" value="${testDir}/performance-tests.xml"/>
- <property name="workspace" value="${eclipse-home}/workspace_ws_performance"/>
- <property name="extraVMargs" value="-Dorg.eclipse.jst.server.tomcat.50=${testDir}/${tomcat50Dir}"/>
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <delete dir="${workspace}" quiet="true"/>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="performance_suite">
-
- <!-- Iteration 1 -->
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrBUJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrClientAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrTDJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <!-- Iteration 2 -->
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrBUJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrClientAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrTDJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <!-- Iteration 3 -->
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrBUJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrClientAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrTDJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <!-- Iteration 4 -->
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrBUJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrClientAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrTDJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <!-- Iteration 5 -->
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrBUJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrClientAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- <delete dir="${workspace}" quiet="true"/>
- <ant target="ui-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.axis.tomcat.v50.perfmsr.PerfmsrTDJavaAxisTC50" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
-
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- <delete dir="${workspace}" quiet="true"/>
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="performance" depends="init,performance_suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org.eclipse.jst.ws.tests.performance*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
- </target>
-</project>
diff --git a/tests/org.eclipse.jst.ws.tests/.classpath b/tests/org.eclipse.jst.ws.tests/.classpath
deleted file mode 100644
index 9f4b4d1d5..000000000
--- a/tests/org.eclipse.jst.ws.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="tests"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.ws.tests/.cvsignore b/tests/org.eclipse.jst.ws.tests/.cvsignore
deleted file mode 100644
index 57763eb9b..000000000
--- a/tests/org.eclipse.jst.ws.tests/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-build.xml
-temp.folder
-tests.jar
diff --git a/tests/org.eclipse.jst.ws.tests/.project b/tests/org.eclipse.jst.ws.tests/.project
deleted file mode 100644
index fe80d54e4..000000000
--- a/tests/org.eclipse.jst.ws.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.ws.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 8f43d8c78..000000000
--- a/tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:36:41 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.pde.prefs b/tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 0ea2a1a41..000000000
--- a/tests/org.eclipse.jst.ws.tests/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jan 30 10:40:58 EST 2006
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/tests/org.eclipse.jst.ws.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.ws.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index db7001efd..000000000
--- a/tests/org.eclipse.jst.ws.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,42 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.jst.ws.tests
-Bundle-Version: 1.0.100
-Bundle-ClassPath: tests.jar
-Bundle-Activator: org.eclipse.jst.ws.tests.plugin.TestsPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.ws.tests,
- org.eclipse.jst.ws.tests.axis.tomcat.v50,
- org.eclipse.jst.ws.tests.plugin,
- org.eclipse.jst.ws.tests.unittest,
- org.eclipse.jst.ws.tests.util
-Require-Bundle: org.eclipse.jst.ws.consumption.ui,
- org.eclipse.jst.ws.consumption,
- org.eclipse.jst.ws,
- org.eclipse.wst.command.env.core,
- org.eclipse.wst.command.env.ui,
- org.eclipse.wst.command.env,
- org.eclipse.jst.j2ee.core,
- org.eclipse.jst.j2ee,
- org.eclipse.jst.j2ee.web,
- org.eclipse.wst.common.frameworks,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.junit,
- org.eclipse.wst.ws.ui,
- org.eclipse.ui,
- org.eclipse.debug.core,
- org.eclipse.wst.server.core,
- org.eclipse.jem.util,
- org.eclipse.wst.ws,
- org.eclipse.wst.common.environment,
- org.eclipse.wst.common.tests,
- org.eclipse.emf.ecore,
- org.eclipse.jst.server.core,
- org.eclipse.jdt.launching,
- org.eclipse.jdt.debug.ui,
- org.eclipse.jst.server.tomcat.core,
- org.eclipse.wst.common.project.facet.core
-Eclipse-LazyStart: true
diff --git a/tests/org.eclipse.jst.ws.tests/about.html b/tests/org.eclipse.jst.ws.tests/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/tests/org.eclipse.jst.ws.tests/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.jst.ws.tests/build.properties b/tests/org.eclipse.jst.ws.tests/build.properties
deleted file mode 100644
index f64a07bf5..000000000
--- a/tests/org.eclipse.jst.ws.tests/build.properties
+++ /dev/null
@@ -1,10 +0,0 @@
-bin.includes = data/,\
- plugin.xml,\
- readme.txt,\
- tests.jar,\
- META-INF/,\
- test.xml,\
- about.html
-jars.compile.order = tests.jar
-source.tests.jar = tests/
-output.tests.jar = bin/
diff --git a/tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp b/tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp
deleted file mode 100644
index 7b0e3b344..000000000
--- a/tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" import="java.io.*" %>
-<jsp:useBean id="echoProxy" class="foo.EchoProxy" scope="request"/>
-<html>
-<%@ include file = "/outputFilePath.jspf" %>
-<%
- // HTTP/POST parameter:
- // testInput - the String argument to call the proxy with.
- String testInput = request.getParameter("testInput");
-
- // Execute the Web service.
- String result = echoProxy.echoString(testInput);
-
- // Write the result to the outputFilePath.
- PrintWriter pw = null;
- try
- {
- pw = new PrintWriter(new FileOutputStream(outputFilePath));
- pw.print(result);
- pw.flush();
- }
- catch (Exception e)
- {
- }
- finally
- {
- if (pw != null)
- pw.close();
- }
-%>
-</body>
-<p>
-testInput: <%=testInput%>
-<p>
-outputFilePath: <%=outputFilePath%>
-<p>
-The result is <%=result%>
-</body>
-</html> \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests/data/BUJava/src/foo/Echo.java b/tests/org.eclipse.jst.ws.tests/data/BUJava/src/foo/Echo.java
deleted file mode 100644
index 4e893d2a5..000000000
--- a/tests/org.eclipse.jst.ws.tests/data/BUJava/src/foo/Echo.java
+++ /dev/null
@@ -1,9 +0,0 @@
-package foo;
-
-public class Echo
-{
- public String echoString(String input)
- {
- return input;
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests/data/TDJava/Echo.wsdl b/tests/org.eclipse.jst.ws.tests/data/TDJava/Echo.wsdl
deleted file mode 100644
index 46df32f3d..000000000
--- a/tests/org.eclipse.jst.ws.tests/data/TDJava/Echo.wsdl
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions targetNamespace="http://foo" xmlns:impl="http://foo" xmlns:intf="http://foo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema targetNamespace="http://foo" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://foo" xmlns:intf="http://foo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <element name="echoStringResponse">
- <complexType>
- <sequence>
- <element name="echoStringReturn" nillable="true" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- <element name="echoString">
- <complexType>
- <sequence>
- <element name="input" nillable="true" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="echoStringResponse">
-
- <wsdl:part element="impl:echoStringResponse" name="parameters"/>
-
- </wsdl:message>
-
- <wsdl:message name="echoStringRequest">
-
- <wsdl:part element="impl:echoString" name="parameters"/>
-
- </wsdl:message>
-
- <wsdl:portType name="Echo">
-
- <wsdl:operation name="echoString">
-
- <wsdl:input message="impl:echoStringRequest" name="echoStringRequest"/>
-
- <wsdl:output message="impl:echoStringResponse" name="echoStringResponse"/>
-
- </wsdl:operation>
-
- </wsdl:portType>
-
- <wsdl:binding name="EchoSoapBinding" type="impl:Echo">
-
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <wsdl:operation name="echoString">
-
- <wsdlsoap:operation soapAction=""/>
-
- <wsdl:input name="echoStringRequest">
-
- <wsdlsoap:body use="literal"/>
-
- </wsdl:input>
-
- <wsdl:output name="echoStringResponse">
-
- <wsdlsoap:body use="literal"/>
-
- </wsdl:output>
-
- </wsdl:operation>
-
- </wsdl:binding>
-
- <wsdl:service name="EchoService">
-
- <wsdl:port binding="impl:EchoSoapBinding" name="Echo">
-
- <wsdlsoap:address location="http://localhost:9080/TestWeb/services/Echo"/>
-
- </wsdl:port>
-
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tests/org.eclipse.jst.ws.tests/data/WSPerfProjects.zip b/tests/org.eclipse.jst.ws.tests/data/WSPerfProjects.zip
deleted file mode 100644
index f5d81f9d2..000000000
--- a/tests/org.eclipse.jst.ws.tests/data/WSPerfProjects.zip
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.ws.tests/data/WSTestProjects.zip b/tests/org.eclipse.jst.ws.tests/data/WSTestProjects.zip
deleted file mode 100644
index 8f2e9eb85..000000000
--- a/tests/org.eclipse.jst.ws.tests/data/WSTestProjects.zip
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.ws.tests/data/webclient/outputFilePath.jspf b/tests/org.eclipse.jst.ws.tests/data/webclient/outputFilePath.jspf
deleted file mode 100644
index c8a7aec67..000000000
--- a/tests/org.eclipse.jst.ws.tests/data/webclient/outputFilePath.jspf
+++ /dev/null
@@ -1,6 +0,0 @@
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<%
- String outputFilePath = request.getParameter("outputFilePath");
-%> \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests/plugin.properties b/tests/org.eclipse.jst.ws.tests/plugin.properties
deleted file mode 100644
index 6f05835fc..000000000
--- a/tests/org.eclipse.jst.ws.tests/plugin.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# 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
-# -------- -------- -----------------------------------------------------------
-# 20060424 138060 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=Java Web Services Tools Tests
-PLUGIN_PROVIDER=Eclipse.org
diff --git a/tests/org.eclipse.jst.ws.tests/plugin.xml b/tests/org.eclipse.jst.ws.tests/plugin.xml
deleted file mode 100644
index 7bf65fb5f..000000000
--- a/tests/org.eclipse.jst.ws.tests/plugin.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
-
-</plugin>
diff --git a/tests/org.eclipse.jst.ws.tests/readme.txt b/tests/org.eclipse.jst.ws.tests/readme.txt
deleted file mode 100644
index 832954656..000000000
--- a/tests/org.eclipse.jst.ws.tests/readme.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-The arguments to be passed in are:
-
--Dorg.eclipse.jst.server.tomcat.50=E:\\Tomcat\\Tomcat5.0
-
-, where "org.eclipse.jst.server.tomcat.50" is the install directory of your Tomcat v5.0 server.
diff --git a/tests/org.eclipse.jst.ws.tests/test.xml b/tests/org.eclipse.jst.ws.tests/test.xml
deleted file mode 100644
index 57e4c5833..000000000
--- a/tests/org.eclipse.jst.ws.tests/test.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <!-- <property name="eclipse-home" value="${basedir}\..\.."/> -->
- <echo message="basedir ${basedir}" />
- <echo message="eclipse place ${eclipse-home}" />
- <!-- sets the properties plugin-name, and library-file -->
- <property name="plugin-name" value="org.eclipse.jst.ws.tests"/>
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml"/>
- <property name="extraVMargs" value="-Dorg.eclipse.jst.server.tomcat.50=${testDir}/${tomcat50Dir}"/>
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml"/>
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <property name="jst-ws-folder" value="${eclipse-home}/jst_ws_folder"/>
- <delete dir="${jst-folder}" quiet="true"/>
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${jst-ws-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.ws.tests.unittest.AllWSJUnitTests" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
- </target>
-</project>
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/WSWizardTest.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/WSWizardTest.java
deleted file mode 100644
index 3d8402a94..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/WSWizardTest.java
+++ /dev/null
@@ -1,206 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.tests.unittest.WSJUnitConstants;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-
-public abstract class WSWizardTest extends TestCase implements WSJUnitConstants
-{
- protected IEnvironment env_;
- protected IRuntime serverRuntime_;
- protected IServer server_;
- protected IStructuredSelection initialSelection_;
-
- public String defaultURL_ = "http://localhost:8080/";
-
- /**
- * Set up the workspace for the Web Service Wizard JUnit test. Setup consists of the following steps:
- * 1) Obtain an instance of the environment.
- * 2) Install the server runtime.
- * 3) Install the input data. This may include projects, source files etc.
- * 4) Install an instance of the server if required. This may also include configuration of the input data on the server.
- * 5) Initialize the J2EE, Web Service Runtime and Server type defaults for the Web Service wizard to use.
- * 6) Initialize the initial selection object to set the context for the Web Service wizard.
- * @throws Exception
- */
- protected void setUp() throws Exception
- {
- // Get an instance of the default environment with the AccumulateStatusHandler to minimize UI dialog blocks.
- PersistentResourceContext resourceContext = PersistentResourceContext.getInstance();
- EclipseStatusHandler handler = new EclipseStatusHandler();
- EclipseEnvironment environment = new EclipseEnvironment( null, resourceContext, handler );
-
- env_ = environment;
- assertTrue(env_ != null);
-
- server_ = null;
- JUnitUtils.hideActionDialogs();
- installServerRuntime();
- installServer();
-
- // unzip pre-configured workspace projects
- if (!ProjectUtilities.getProject(WSJUnitConstants.BU_PROJECT_NAME).exists())
- createProjects();
-
- installInputData();
- initJ2EEWSRuntimeServerDefaults();
- initInitialSelection();
- }
-
- /**
- * Install the server runtime.
- * @throws Exception
- */
- protected abstract void installServerRuntime() throws Exception;
-
- /**
- * Installs the input data from an aggregator. This ensures that the environment, runtime
- * and server are correctly set on the aggregate since its lifecycle methods are not necessarily
- * called.
- * @param env
- * @param serverRuntime
- * @param server
- * @throws Exception
- */
- public void installInputData(IEnvironment env,IRuntime serverRuntime,IServer server) throws Exception
- {
- env_ = env;
- serverRuntime_ = serverRuntime;
- server_ = server;
- //installInputData();
- }
-
- // Creates projects from the provided ZIP file.
-// public static boolean createProjects() {
-// IPath localZipPath = getLocalPath();
-// ProjectUnzipUtil util = new ProjectUnzipUtil(localZipPath, perf_projectNames);
-// return util.createProjects();
-// }
-
-// private static IPath getLocalPath() {
-// URL url = TestsPlugin.getDefault().find(perf_zipFilePath);
-// try {
-// url = Platform.asLocalURL(url);
-// } catch (IOException e) {
-// e.printStackTrace();
-// }
-// return new Path(url.getPath());
-// }
-
- /**
- * Create the necessary projects for the tests. This could be Web, Java, or other J2EE projects.
- * @throws Exception
- */
- protected abstract void createProjects() throws Exception;
-
- /**
- * Install the input data for the test. This may include projects, source files etc.
- * @throws Exception
- */
- protected abstract void installInputData() throws Exception;
-
- /**
- * Install an instance of the server. This may also configure input data on the server.
- * @throws Exception
- */
- protected abstract void installServer() throws Exception;
-
- /**
- * Initialize the J2EE level, Web Service runtime type and Server defaults for the test case.
- * @throws Exception
- */
- protected abstract void initJ2EEWSRuntimeServerDefaults() throws Exception;
-
- /**
- * Initialize the initial selection which drives the Web Service wizard. This could include source Java files,
- * WSDL URLs and even EJBs.
- * @throws Exception
- */
- protected abstract void initInitialSelection() throws Exception;
-
- /**
- * Clean up the workspace. Cleanup consists of the following steps:
- * 1) Delete the input data. This should include removal of configuration data on the server if necessary.
- * 2) Stop the server.
- * 3) Delete the server.
- * 4) Delete the server runtime.
- */
- protected void tearDown() throws Exception
- {
- stopServer();
-// deleteServer();
-// deleteInputData();
-// deleteServerRuntime();
- }
-
- /**
- * Delete the input data. This should include removal of projects, src files etc. as well as removal of any server configured data.
- * @throws Exception
- */
- protected abstract void deleteInputData() throws Exception;
-
- /**
- * Stop the server if it is running.
- * @throws Exception
- */
- protected void stopServer() throws Exception
- {
- if (server_ != null && server_.getServerState() == IServer.STATE_STARTED)
- server_.stop(true);
- assertTrue(server_.getServerState() == IServer.STATE_STOPPED);
- }
-
- /**
- * Delete the server.
- * @throws Exception
- */
- protected void deleteServer() throws Exception
- {
- if (server_ != null)
- server_.delete();
- }
-
- /**
- * Delete the server runtime.
- * @throws Exception
- */
- protected void deleteServerRuntime() throws Exception
- {
- if (serverRuntime_ != null)
- serverRuntime_.delete();
- }
-
- /**
- * Get the default URL in the form of: http://localhost:9080/<contextRoot>/<path>
- * @param path - a file or URL relative path.
- * @param contextRoot - the context root of the Web module for this URL.
- * @return
- */
- protected String getDefaultURL(String path,String contextRoot)
- {
- StringBuffer url = new StringBuffer(defaultURL_);
- url.append(contextRoot);
- url.append('/');
- url.append(path);
- return url.toString();
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/axis/tomcat/v50/WSWizardTomcat50Test.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/axis/tomcat/v50/WSWizardTomcat50Test.java
deleted file mode 100644
index 87d78c297..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/axis/tomcat/v50/WSWizardTomcat50Test.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.axis.tomcat.v50;
-
-import org.eclipse.jst.ws.tests.WSWizardTest;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-
-
-public abstract class WSWizardTomcat50Test extends WSWizardTest {
-
- protected final String SERVER_INSTALL_PATH = System.getProperty("org.eclipse.jst.server.tomcat.50");
- protected final String RUNTIMETYPEID_TC50 = "org.eclipse.jst.server.tomcat.runtime.50";
- protected final String SERVERTYPEID_TC50 = "org.eclipse.jst.server.tomcat.50";
-
-
- /* (non-Javadoc)
- * @see com.ibm.etools.webservice.was.tests.WSWizardTest#installServerRuntime()
- */
- protected void installServerRuntime() throws Exception {
-
- serverRuntime_ = JUnitUtils.createServerRuntime(RUNTIMETYPEID_TC50, SERVER_INSTALL_PATH);
- }
-
-
- /* (non-Javadoc)
- * @see com.ibm.etools.webservice.was.tests.WSWizardTest#installServer()
- */
- protected void installServer() throws Exception {
-
- server_ = JUnitUtils.createServer("Apache Tomcat v50", SERVERTYPEID_TC50, serverRuntime_, env_, null );
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/plugin/TestsPlugin.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/plugin/TestsPlugin.java
deleted file mode 100644
index f76825569..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/plugin/TestsPlugin.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.plugin;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class TestsPlugin extends Plugin {
- //The shared instance.
- private static TestsPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public TestsPlugin() {
- super();
- plugin = this;
- try {
- resourceBundle = ResourceBundle.getBundle("org.eclipse.jst.ws.tests.plugin.TestsPlugin");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- }
-
- /**
- * Returns the shared instance.
- */
- public static TestsPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = TestsPlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- return resourceBundle;
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/AllWSJUnitTests.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/AllWSJUnitTests.java
deleted file mode 100644
index edd8b1cb1..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/AllWSJUnitTests.java
+++ /dev/null
@@ -1,99 +0,0 @@
-package org.eclipse.jst.ws.tests.unittest;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestResult;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-
-/**
- * This class is to run all the unittest tests.
- */
-public class AllWSJUnitTests extends TestCase implements WSJUnitConstants
-{
- /**
- * Method parseArgs.
- *
- * @param args
- */
- private void parseArgs(Object args)
- {
- // typicially args is an array of strings,
- // not sure when it wouldn't be.
- }
-
- public static void main(String[] args)
- {
- new AllWSJUnitTests().runMain(args);
- }
-
-
- public Object runMain(Object args)
- {
- Object result = null;
- try
- {
- TestRunner testRunner = null;
-
- parseArgs(args);
-
- testRunner = new TestRunner(System.out);
-
- Test suite = suite();
- TestResult testResult = testRunner.doRun(suite, false);
- printHeader(testResult);
- }
- catch (Exception e)
- {
- result = e;
- }
-
- return result;
- }
-
- public static Test suite()
- {
- JUnitUtils.enableOverwrite(true);
-
- TestSuite testSuite = new TestSuite();
- testSuite.addTest( ComponentCreationTests.suite() );
- testSuite.addTest( J2EEUtilsTests.suite() );
-
- String s = System.getProperty("org.eclipse.jst.server.tomcat.50");
- if (s != null && s.length() > 0) {
- testSuite.addTest( ServerCreationTests.suite());
- }
- testSuite.addTest( ResourceUtilsTests.suite() );
-
-
- return testSuite;
- }
-
- /**
- * Prints the header of the report
- */
- protected void printHeader(TestResult result)
- {
- if (result.wasSuccessful())
- {
- System.out.println();
- System.out.print("OK");
- System.out.println(" (" + result.runCount() + " tests)");
-
- }
- else
- {
- System.out.println();
- System.out.println("FAILURES!!!");
- System.out.println(
- "Tests run: "
- + result.runCount()
- + ", Failures: "
- + result.failureCount()
- + ", Errors: "
- + result.errorCount());
- }
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ComponentCreationTests.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ComponentCreationTests.java
deleted file mode 100644
index f4780b14d..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ComponentCreationTests.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- *
- */
-package org.eclipse.jst.ws.tests.unittest;
-
-import java.io.IOException;
-import java.net.URL;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.etools.common.test.apitools.ProjectUnzipUtil;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateModuleCommand;
-import org.eclipse.jst.ws.tests.plugin.TestsPlugin;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-/**
- * Tests the various Component creation commands
- */
-public class ComponentCreationTests extends TestCase implements WSJUnitConstants {
-
- public static Test suite(){
- return new TestSuite(ComponentCreationTests.class);
- }
-
- public void testWebComponentCreation(){
-
- createServerRuntime();
- createProjects();
- //createWebModule(projectName, projectName, J2EEVersionConstants.J2EE_1_4_ID);
- //createWebModule(project2Name, project2Name, J2EEVersionConstants.J2EE_1_3_ID);
-
- }
-
- // Creates projects from the provided ZIP file.
- public static boolean createProjects() {
- IPath localZipPath = getLocalPath();
- ProjectUnzipUtil util = new ProjectUnzipUtil(localZipPath, projectNames);
- return util.createProjects();
- }
-
- private static IPath getLocalPath() {
- URL url = TestsPlugin.getDefault().find(zipFilePath);
- try {
- url = Platform.asLocalURL(url);
- } catch (IOException e) {
- e.printStackTrace();
- }
- return new Path(url.getPath());
- }
-
- public void createServerRuntime(){
-
- try {
- JUnitUtils.createServerRuntime(RUNTIMETYPEID_TC50, SERVER_INSTALL_PATH);
- }
- catch(Exception e){
- e.printStackTrace();
- }
-
- }
-
- public void dtestCreateEJBModule(){
-
- CreateModuleCommand cmc = new CreateModuleCommand();
- cmc.setJ2eeLevel(new Integer(J2EEVersionConstants.J2EE_1_3_ID).toString());
- cmc.setModuleName(ejbComponentName);
- cmc.setModuleType(CreateModuleCommand.EJB);
- cmc.setProjectName(ejbProjectName);
- cmc.setServerFactoryId(SERVERTYPEID_TC50);
- cmc.execute(null, null );
-
- System.out.println("Done creating EJB component.");
- IProject p = ResourceUtils.getWorkspaceRoot().getProject(ejbProjectName);
- IVirtualComponent vc = ComponentCore.createComponent(p);
- assertTrue(vc.exists());
- }
-
- public void dtestCreateAppClientModule(){
- CreateModuleCommand cmc = new CreateModuleCommand();
- cmc.setJ2eeLevel(new Integer(J2EEVersionConstants.J2EE_1_3_ID).toString());
- cmc.setModuleName(appClientCompName);
- cmc.setModuleType(CreateModuleCommand.APPCLIENT);
- cmc.setProjectName(appClientProjectName);
- cmc.setServerFactoryId(SERVERTYPEID_TC50);
- cmc.execute(null, null);
-
- System.out.println("Done creating App client component.");
- IProject p = ResourceUtils.getWorkspaceRoot().getProject(appClientProjectName);
- IVirtualComponent vc = ComponentCore.createComponent(p);
- assertTrue(vc.exists());
- }
-
- public void dtestCreateEARModule(){
- CreateModuleCommand cmc = new CreateModuleCommand();
- cmc.setJ2eeLevel(new Integer(J2EEVersionConstants.J2EE_1_3_ID).toString());
- cmc.setModuleName(earCompName);
- cmc.setModuleType(CreateModuleCommand.EAR);
- cmc.setProjectName(projectName);
- cmc.setServerFactoryId(SERVERTYPEID_TC50);
- cmc.execute(null, null);
-
- System.out.println("Done creating EAR component.");
- IProject p = ResourceUtils.getWorkspaceRoot().getProject(projectName);
- IVirtualComponent vc = ComponentCore.createComponent(p);
- assertTrue(vc.exists());
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/J2EEUtilsTests.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/J2EEUtilsTests.java
deleted file mode 100644
index 18a135465..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/J2EEUtilsTests.java
+++ /dev/null
@@ -1,205 +0,0 @@
-/**
- *
- */
-package org.eclipse.jst.ws.tests.unittest;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.AssociateModuleWithEARCommand;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-/**
- * @author sengpl
- *
- */
-public class J2EEUtilsTests extends TestCase implements WSJUnitConstants{
-
- private IProject project1 = null;
- private IProject project2 = null;
- private IProject ejbProject = null;
-
- private String comp1 = webComponentName;
-
- protected void setUp() throws Exception {
- super.setUp();
-
- // Project and component names initialized here!
- project1 = ProjectUtilities.getProject(projectName);
- assertNotNull(project1);
-
- project2 = ProjectUtilities.getProject(project2Name);
- assertNotNull(project2);
-
- ejbProject = ProjectUtilities.getProject(ejbProjectName);
- assertNotNull(ejbProject);
-
- }
-
- protected void tearDown() throws Exception {
- super.tearDown();
- // TODO Clear the workspace
-
- }
-
- public static Test suite()
- {
- return new TestSuite(J2EEUtilsTests.class);
- }
-
- public void testComponentsExist(){
- System.out.println("< BEGIN: testComponentExists ...");
- IVirtualComponent vc1 = J2EEUtils.getVirtualComponent(project1);
- IVirtualComponent vc2 = J2EEUtils.getVirtualComponent(project2.getName());
-
- assertTrue(vc1.exists());
- assertTrue(J2EEUtils.exists(project1));
- assertTrue(vc2.exists());
- assertTrue(J2EEUtils.exists(project2.getName(), project2Name));
- System.out.println("< END: testComponentExists ...");
- }
-
- public void testLocationGetterMethods(){
-
- System.out.println("< BEGIN: testLocationGetterMethods ...");
- IPath loc1 = J2EEUtils.getWebContentPath(project1);
- System.out.println("WebContentPath of project1 = "+loc1);
- IResource res = ResourceUtils.getWorkspaceRoot().findMember(loc1);
- assertTrue(res.exists());
- assertTrue(res.toString().endsWith("WebContent"));
-
- IPath loc2 = J2EEUtils.getWebContentPath(project2);
- System.out.println("WebContentPath of project2 = "+loc2);
- IResource res2 = ResourceUtils.getWorkspaceRoot().findMember(loc2);
- assertTrue(res2.exists());
- assertTrue(res2.toString().endsWith("WebContent"));
-
- IPath loc3 = J2EEUtils.getWebInfPath(project1);
- System.out.println("Web-INF path = "+loc3);
- IResource res3 = ResourceUtils.getWorkspaceRoot().findMember(loc3);
- assertTrue(res3.exists());
- assertTrue(res3.toString().endsWith("WEB-INF"));
-
- IContainer container = J2EEUtils.getWebContentContainer(project2);
- IResource res4 = ResourceUtils.getWorkspaceRoot().findMember(container.getFullPath());
- assertEquals(res2, res4);
-
- System.out.println("< END: testLocationGetterMethods ...");
-
- }
-
- public void testJ2EEVersionMethods(){
-
- System.out.println("< BEGIN: testJ2EEVersionMethods ...");
-
- String j3 = J2EEUtils.getJ2EEVersionAsString(project1);
- System.out.println("J2EEVersion p1 as String: "+j3);
- assertEquals(J2EEVersionConstants.VERSION_2_4_TEXT, j3);
-
- IVirtualComponent vc2 = J2EEUtils.getVirtualComponent(project2);
- int j2 = J2EEUtils.getJ2EEVersion(vc2);
- System.out.println("J2EEVersions p1: "+j2);
- assertEquals(J2EEVersionConstants.SERVLET_2_3, j2);
-
- System.out.println("< END: testJ2EEVersionMethods ...");
- }
-
- public void testComponentGetterMethods(){
-
- System.out.println("< BEGIN: testComponentGetterMethods ...");
-
- IVirtualComponent[] vcs = J2EEUtils.getAllComponents();
- checkVirtualComponentsExists(vcs);
-
- IVirtualComponent[] vcs2 = J2EEUtils.getAllEARComponents();
- checkVirtualComponentsExists(vcs2);
-
- IVirtualComponent[] vcs3 = J2EEUtils.getAllWebComponents();
- checkVirtualComponentsExists(vcs3);
-
- IVirtualComponent[] vcs4 = J2EEUtils.getWebComponents(project1);
- checkVirtualComponentsExists(vcs4);
-
- String[] names = J2EEUtils.getWebComponentNames(project2);
- printNameStrings(names);
-
- String[] names2 = J2EEUtils.toComponentNamesArray(J2EEUtils.getComponentsByType(project1, J2EEUtils.WEB | J2EEUtils.EJB));
- printNameStrings(names2);
-
- IProject[] projects = J2EEUtils.getAllFlexibleProjects();
- for (int i=0;i<projects.length;i++){
- System.out.println("Flex project "+i+" = "+projects[i]);
- }
-
- System.out.println("< END: testComponentGetterMethods ...");
- }
-
- private void checkVirtualComponentsExists(IVirtualComponent[] vcs){
- for (int i=0; i<vcs.length;i++){
- IVirtualComponent vc = vcs[i];
- System.out.println("VC: Project = "+vc.getProject()+" Name = "+vc.getName());
- assertTrue(vc.exists());
-
- }
- }
-
- private void printNameStrings(String[] names){
- for (int i=0;i<names.length;i++){
- System.out.println("Name"+i+" = "+names[i]);
- }
- }
-
- public void dtestAssociateComponentCommand(){
-
- System.out.println("< BEGIN: testAssociateComponentCommand ...");
-
- AssociateModuleWithEARCommand amwe = new AssociateModuleWithEARCommand();
- amwe.setEar(earCompName);
- amwe.setEARProject(projectName);
- amwe.setModule(comp1);
- amwe.setProject(projectName);
- amwe.execute(null, null);
-
- System.out.println("< END: testAssociateComponentCommand ...");
- }
-
- public void dtestReferencingGetterMethods(){
-
- System.out.println("< BEGIN: testReferencingGetterMethods ...");
-
- System.out.println("isComponentAssociated ..");
- J2EEUtils.isComponentAssociated(project1, project1);
-
- String[] names = J2EEUtils.toComponentNamesArray(J2EEUtils.getReferencingEARComponents(project1));
- printNameStrings(names);
- String[] names2 = J2EEUtils.toComponentNamesArray(J2EEUtils.getReferencingEARComponents(project2));
- printNameStrings(names2);
-
- String[] names3 = J2EEUtils.toComponentNamesArray(J2EEUtils.getReferencingWebComponentsFromEAR(project1));
- printNameStrings(names3);
-
- System.out.println("< END: testReferencingGetterMethods ...");
- }
-
- public void dtestIsComponentMethods(){
-
- System.out.println("< BEGIN: testIsComponentMethods ...");
-
- //assertFalse(J2EEUtils.isEJB20Component(ejbProject, ejbComponentName));
- assertTrue(J2EEUtils.isEJB20Component(ejbProject));
-
- System.out.println("< END: testIsComponentMethods ...");
- }
-
-
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/LaunchTest.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/LaunchTest.java
deleted file mode 100644
index ec2f6aa5b..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/LaunchTest.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.eclipse.jst.ws.tests.unittest;
-
-import org.eclipse.core.runtime.IPlatformRunnable;
-
-/**
- * Minimal app to run as Eclipse "application"
- */
-public class LaunchTest implements IPlatformRunnable
-{
- /**
- * @see org.eclipse.core.runtime.IPlatformRunnable#run(Object)
- */
- public Object run(Object args) throws Exception
- {
-
- Object result = new AllWSJUnitTests().runMain(args);
-
- if (result != null)
- {
- if (result instanceof Throwable)
- {
- ((Throwable) result).printStackTrace();
- }
- else
- {
- System.out.println("tests didn't return 'ok'");
- }
- return result;
- }
- else
- return IPlatformRunnable.EXIT_OK;
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ResourceUtilsTests.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ResourceUtilsTests.java
deleted file mode 100644
index 69b8ef3f2..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ResourceUtilsTests.java
+++ /dev/null
@@ -1,100 +0,0 @@
-package org.eclipse.jst.ws.tests.unittest;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.ws.internal.common.ResourceUtils;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-/**
- * JUnit tests for selective ResourceUtils methods. Calls which return a simple String or rely on a IResource
- * API need not be tested. The focus is mainly to exercise Component and Flexible project APIs.
- *
- */
-public class ResourceUtilsTests extends TestCase implements WSJUnitConstants{
-
-
- public static Test suite(){
- return new TestSuite(ResourceUtilsTests.class);
- }
-
- public void testComponentType(){
- IProject project = ProjectUtilities.getProject(projectName);
- String componentType = ResourceUtils.getComponentType(project);
- assertEquals(IModuleConstants.JST_WEB_MODULE, componentType);
- }
-
- public void testComponentOf(){
- IProject project = ProjectUtilities.getProject(projectName);
- IPath destPath = ResourceUtils.getJavaSourceLocation(project);
- IFolder folder = (IFolder)ResourceUtils.findResource(destPath);
- try {
- PersistentResourceContext resourceContext = PersistentResourceContext.getInstance();
- EclipseStatusHandler handler = new EclipseStatusHandler();
- EclipseEnvironment env = new EclipseEnvironment( null, resourceContext, handler );
-
- IFile file = folder.getFile(new Path("foo/Echo.java"));
- if (!file.exists()) {
- JUnitUtils.copyTestData("BUJava/src", folder, env, null );
- }
- }
- catch (Exception ex){
- ex.printStackTrace();
- }
-
- IPath javaFilePath = folder.getFile(new Path("foo/Echo.java")).getFullPath();
- IVirtualComponent vc = ResourceUtils.getComponentOf(javaFilePath);
- assertTrue(vc.exists());
-
-
- }
-
- public void testJavaSourceLocation(){
- IProject project = ProjectUtilities.getProject(projectName);
- String javaSourceLoc = ResourceUtils.getJavaSourceLocation(project).toString();
- System.out.println("Java source location = "+javaSourceLoc);
- assertTrue(javaSourceLoc.endsWith("src"));
-
- // get all the JavaSourceLocations via the VirtualComponent
- IVirtualComponent vc1 = ComponentCore.createComponent(project);
- IVirtualComponent vc2 = ComponentCore.createComponent(project);
- IVirtualComponent[] vcs = new IVirtualComponent[]{vc1, vc2};
- IPath[] paths = ResourceUtils.getAllJavaSourceLocations(vcs);
-
- // verify first folder exists
- IPath path1 = (IPath)paths[0];
- IResource resource = ResourceUtils.findResource(path1);
- if (resource.exists()){
- assertEquals(IResource.FOLDER, resource.getType());
- }
-
- // verify second folder exists
- IPath path2 = (IPath)paths[1];
- IResource resource2 = ResourceUtils.findResource(path2);
- if (resource2.exists()){
- assertEquals(IResource.FOLDER, resource2.getType());
- }
- }
-
- public void testWebComponentServerRoot() {
- IProject project = ProjectUtilities.getProject(projectName);
- IFolder folder = ResourceUtils.getWebComponentServerRoot(project);
- assertTrue(folder.exists());
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ServerCreationTests.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ServerCreationTests.java
deleted file mode 100644
index 12041b6ee..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/ServerCreationTests.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- *
- */
-package org.eclipse.jst.ws.tests.unittest;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateServerCommand;
-import org.eclipse.jst.ws.tests.util.JUnitUtils;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.ServerCore;
-
-public class ServerCreationTests extends TestCase implements WSJUnitConstants{
-
-
- public static Test suite(){
- return new TestSuite(ServerCreationTests.class);
- }
-
- public void init(){
- try {
- assertNotNull(SERVER_INSTALL_PATH);
- JUnitUtils.createServerRuntime(RUNTIMETYPEID_TC50, SERVER_INSTALL_PATH);
- }
- catch(Exception e){
- e.printStackTrace();
- }
- }
-
- public void testCreateTomcatv5Server(){
- init();
-
- System.out.println("Creating Tomcat v5 server.");
- CreateServerCommand csc = new CreateServerCommand();
- csc.setServerFactoryid(SERVERTYPEID_TC50);
- csc.execute(null, null );
-
- IServer server = null;
- String instId = csc.getServerInstanceId();
- System.out.println("Server instance Id = "+instId);
- if (instId!=null){
- server = ServerCore.findServer(instId);
- }
- assertNotNull(server);
-
- System.out.println("Done creating Tomcat v5 server.");
- }
-
- public void testReattemptCreateTomcatv5Server(){
- System.out.println("Attempting to create 2nd Tomcat v5 server.");
- CreateServerCommand csc = new CreateServerCommand();
- csc.setServerFactoryid(SERVERTYPEID_TC50);
- csc.execute(null, null );
-
- IServer server = null;
- String instId = csc.getServerInstanceId();
- if (instId!=null) {
- server = ServerCore.findServer(instId);
- }
- assertNotNull(server);
-
- System.out.println("Done attempting 2nd Tomcat v5 server creation.");
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WSJUnitConstants.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WSJUnitConstants.java
deleted file mode 100644
index 9ba293bfa..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WSJUnitConstants.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package org.eclipse.jst.ws.tests.unittest;
-
-import org.eclipse.core.runtime.Path;
-
-
-public interface WSJUnitConstants {
-
- public final String SERVER_INSTALL_PATH = System.getProperty("org.eclipse.jst.server.tomcat.50");
- public final String RUNTIMETYPEID_TC50 = "org.eclipse.jst.server.tomcat.runtime.50";
-
- public final String WS_RUNTIMEID_AXIS = "org.eclipse.jst.ws.runtime.axis11";
-
- public final String SERVERTYPEID_TC50 = "org.eclipse.jst.server.tomcat.50";
-
- public final String webProjectName = "WebProject";
-
- // flexible project structure 1
- public final String projectName = "FlexProject";
- public final String webComponentName = "webComponent";
- public final String webComponent2Name = "webComp2";
-
- // flexible project structure 2
- public final String project2Name = "FlexProject2";
- public final String webComp3Name = "webComp3";
- public final String webComp4Name = "webComp4";
-
- public final String ejbProjectName = "FlexEJBProject";
- public final String ejbComponentName = "ejbComponent";
-
- public final String appClientProjectName = "FlexAppClientProject";
- public final String appClientCompName = "appClientComponent";
-
- public final String earCompName = "EARComponent";
-
- public final Path zipFilePath = new Path("/data/WSTestProjects.zip");
- public final String[] projectNames = new String[]{projectName, project2Name};
-
- // performance constants
- public final String BU_PROJECT_NAME = "TestWeb";
- public final String TD_PROJECT_NAME = "TestTDProject";
- public final String CLIENT_PROJECT_NAME = "TestWebClient";
-
- public final Path perf_zipFilePath = new Path("/data/WSPerfProjects.zip");
- public final String[] perf_projectNames = new String[]{BU_PROJECT_NAME, TD_PROJECT_NAME, CLIENT_PROJECT_NAME};
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WebServiceRuntimeTests.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WebServiceRuntimeTests.java
deleted file mode 100644
index 43ac04f65..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/unittest/WebServiceRuntimeTests.java
+++ /dev/null
@@ -1,529 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060518 127189 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.unittest;
-
-import java.io.File;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.internal.debug.ui.jres.JREsUpdater;
-import org.eclipse.jdt.launching.IVMInstall;
-import org.eclipse.jdt.launching.IVMInstall2;
-import org.eclipse.jdt.launching.IVMInstallType;
-import org.eclipse.jdt.launching.JavaRuntime;
-import org.eclipse.jdt.launching.VMStandin;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
-import org.eclipse.jst.server.core.FacetUtil;
-import org.eclipse.jst.server.tomcat.core.internal.ITomcatRuntimeWorkingCopy;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
-import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
-import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
-import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.FacetMatchCache;
-import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IRuntimeType;
-import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
-
-/**
- * WebServiceRuntimeTests contains the JUnit tests which cover project
- * creation, project filtering, and project type filtering for the Axis
- * Web service runtime. In order for the test to run successfully:
- * <ol>
- * <li>The Eclipse test environment must be launched with JDK1.4.2</li>
- * <li>The following VM arguments must be specified:
- * <ul>
- * <li>org.eclipse.jst.server.tomcat.55: the install location of a Tomcat 5.5 server,<br>
- * for example, use -Dorg.eclipse.jst.server.tomcat.55=d:\jakarta-tomcat-5.5.9
- * <li>org.eclipse.jst.server.tomcat.50: the install location of a Tomcat 5.0 server,<br>
- * for example, use -Dorg.eclipse.jst.server.tomcat.50=d:\jakarta-tomcat-5.0.28
- * <li>org.eclipse.jst.server.tomcat.41: the install location of a Tomcat 4.1 server,<br>
- * for example, use -Dorg.eclipse.jst.server.tomcat.41=d:\jakarta-tomcat-4.1.29
- * <li>java.15.install.path: the install location of a Java 1.5 JDK,<br>
- * for example, use -Djava.15.install.path=d:\jdk1.5.0_02
- * </ul></li>
- * </ol>
- *
- *
- */
-public class WebServiceRuntimeTests extends TestCase
-{
-
- //Server install paths
- private final String SERVER_INSTALL_PATH_TC55 = System.getProperty("org.eclipse.jst.server.tomcat.55");
- private final String SERVER_INSTALL_PATH_TC50 = System.getProperty("org.eclipse.jst.server.tomcat.50");
- private final String SERVER_INSTALL_PATH_TC41 = System.getProperty("org.eclipse.jst.server.tomcat.41");
-
- //JDK 1.5 install info
- private final String JAVA15_VM_INSTALL_PATH = System.getProperty("java.15.install.path");
- private final String JAVA15_VM_INSTALL_TYPE = "org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType";
- private final String JAVA15_VM_INSTALL_NAME = "Java15";
- private final String JAVA15_VM_INSTALL_JAVADOC = "http://java.sun.com/j2se/1.5.0/docs/api/";
-
- //Runtime type ids ans server type ids
- private final String RUNTIMETYPEID_TC55 = "org.eclipse.jst.server.tomcat.runtime.55";
- private final String SERVERTYPEID_TC55 = "org.eclipse.jst.server.tomcat.55";
- private final String RUNTIMETYPEID_TC50 = "org.eclipse.jst.server.tomcat.runtime.50";
- private final String SERVERTYPEID_TC50 = "org.eclipse.jst.server.tomcat.50";
- private final String RUNTIMETYPEID_TC41 = "org.eclipse.jst.server.tomcat.runtime.41";
- private final String SERVERTYPEID_TC41 = "org.eclipse.jst.server.tomcat.41";
-
- //Runtime ids for runtimes that will be created
- private final String RUNTIMEID_TC55 = "Tomcat55Runtime";
- private final String RUNTIMEID_TC50 = "Tomcat50Runtime";
- private final String RUNTIMEID_TC41 = "Tomcat41Runtime";
-
- //Web service runtime extension ids for Axis
- private final String AXIS_RUNTIME = "org.eclipse.jst.ws.axis.creation.axisWebServiceRT";
- private final String SERVICE_IMPL_JAVA = "org.eclipse.jst.ws.wsImpl.java";
- private final String AXIS_SERVICE_RUNTIME = "org.eclipse.jst.ws.axis.creation.java";
- private final String CLIENT_IMPL_JAVA = "org.eclipse.jst.ws.client.type.java";
- private final String AXIS_CLIENT_RUNTIME_WEB = "org.eclipse.jst.ws.axis.consumption.web";
- private final String AXIS_CLIENT_RUNTIME_JAVA = "org.eclipse.jst.ws.axis.consumption.java";
-
- //Various constants used by the test case for identifying service/client side and
- //for setting names on created projects.
- private final String SERVICE_SIDE = "s";
- private final String CLIENT_SIDE = "c";
- private final String PROJECT_NAME_PREFIX = "tc";
- private final String PROJECT_NAME_SUFFIX = "project";
-
- //IProjectFacetVersions used in the expected results
- private final IProjectFacetVersion WEB23 = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_WEB_MODULE).getVersion(J2EEVersionConstants.VERSION_2_3_TEXT);
- private final IProjectFacetVersion WEB24 = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_WEB_MODULE).getVersion(J2EEVersionConstants.VERSION_2_4_TEXT);
- private final IProjectFacetVersion JAVA14 = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_JAVA).getVersion(J2EEVersionConstants.VERSION_1_4_TEXT);
- private final IProjectFacetVersion JAVA50 = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_JAVA).getVersion("5.0");
- private final IProjectFacetVersion UTILITY10 = ProjectFacetsManager.getProjectFacet(IJ2EEModuleConstants.JST_UTILITY_MODULE).getVersion(J2EEVersionConstants.VERSION_1_0_TEXT);
-
- private final IFacetedProjectTemplate TEMPLATE_WEB = ProjectFacetsManager.getTemplate(IJ2EEModuleConstants.JST_WEB_TEMPLATE);
- private final IFacetedProjectTemplate TEMPLATE_UTILITY = ProjectFacetsManager.getTemplate(IJ2EEModuleConstants.JST_UTILITY_TEMPLATE);
-
- private int multiplesForProjectCreation;
-
- public static Test suite()
- {
- return new TestSuite(WebServiceRuntimeTests.class);
- }
-
- private void init()
- {
- try
- {
- assertNotNull(SERVER_INSTALL_PATH_TC55);
- assertNotNull(SERVER_INSTALL_PATH_TC50);
- assertNotNull(SERVER_INSTALL_PATH_TC41);
- assertNotNull(JAVA15_VM_INSTALL_PATH);
-
- //Create a server runtime: Tomcat 4.1 with JDK 1.4.2
- createTomcatServerRuntime(RUNTIMEID_TC41, RUNTIMETYPEID_TC41, SERVER_INSTALL_PATH_TC41);
-
- //Create a server runtime: Tomcat 5.0 with JDK 1.4.2
- createTomcatServerRuntime(RUNTIMEID_TC50, RUNTIMETYPEID_TC50, SERVER_INSTALL_PATH_TC50);
-
- //Create a server runtime: Tomcat 5.5 with JDK 1.5
- createTomcatServerRuntime(RUNTIMEID_TC55, RUNTIMETYPEID_TC55, SERVER_INSTALL_PATH_TC55);
-
-
-
- String multiples = System.getProperty("multiples"); //this is an optional propery - defaulted to 1
- if (multiples != null && (Integer.parseInt(multiples) > 0))
- {
- multiplesForProjectCreation = Integer.parseInt(multiples);
- }
- else
- {
- multiplesForProjectCreation = 1;
- }
-
- } catch (Exception e)
- {
- e.printStackTrace();
- fail();
- }
- }
-
- private IRuntime createTomcatServerRuntime(String runtimeId, String runtimeTypeId, String serverInstallPath) throws Exception
- {
- IRuntimeType rt = ServerCore.findRuntimeType(runtimeTypeId);
- IRuntimeWorkingCopy wc = rt.createRuntime(runtimeId, null);
- wc.setLocation(new Path(serverInstallPath));
- IRuntime runtime = wc.save(true, null);
-
- if (runtimeTypeId.equals(RUNTIMETYPEID_TC55))
- {
- //Create a new IVMInstall
- IVMInstallType type = JavaRuntime.getVMInstallType(JAVA15_VM_INSTALL_TYPE);
- IVMInstall newVM = new VMStandin(type, createUniqueId(type));
- newVM.setInstallLocation(new File(JAVA15_VM_INSTALL_PATH).getAbsoluteFile());
- newVM.setName(JAVA15_VM_INSTALL_NAME);
- newVM.setJavadocLocation(new URL(JAVA15_VM_INSTALL_JAVADOC));
- if (newVM instanceof IVMInstall2)
- {
- IVMInstall2 newVM2 = (IVMInstall2) newVM;
- newVM2.setVMArgs(null);
- }
- newVM.setLibraryLocations(null);
-
- //Add the new IVMInstall to the master list.
- IVMInstall[] vms = new IVMInstall[]{newVM};
- //TODO Replace use of the internal class org.eclipse.jdt.internal.debug.ui.jres.JREsUpdater
- //with something public. Not sure if something public is available at this time. Need to check.
- JREsUpdater updater = new JREsUpdater();
- IVMInstall defaultVM = JavaRuntime.getDefaultVMInstall();
- updater.updateJRESettings(vms, defaultVM);
-
- //Get the new IVMInstall
- IVMInstallType vmType = JavaRuntime.getVMInstallType(JAVA15_VM_INSTALL_TYPE);
- IVMInstall java15VM = vmType.findVMInstallByName(JAVA15_VM_INSTALL_NAME);
-
- //Set the tomcat runtime to use the new Java 15 JDK.
- IRuntimeWorkingCopy wc2 = runtime.createWorkingCopy();
- //TODO Replace use of the internal class
- //org.eclipse.jst.server.tomcat.core.internal.ITomcatRuntimeWorkingCopy
- //with something public. Enhancement 127884 has been opened to request API
- //for this.
- ITomcatRuntimeWorkingCopy tcwc = (ITomcatRuntimeWorkingCopy)wc2.loadAdapter(ITomcatRuntimeWorkingCopy.class, new NullProgressMonitor());
- tcwc.setVMInstall(java15VM);
- wc2.save(true, null);
- }
-
- return ServerCore.findRuntime(runtimeId);
- }
-
- private String createUniqueId(IVMInstallType vmType)
- {
- String id = null;
- do
- {
- id = String.valueOf(System.currentTimeMillis());
- } while (vmType.findVMInstall(id) != null);
- return id;
- }
-
- /**
- * Tests project creation and filtering for the Axis Web service
- * runtime. Tests cover all valid combinations of ServiceRuntimes,
- * Tomcat servers, and J2EE project types and well as all valid
- * combinations of ClientRuntimes, Tomcat servers, and J2EE project types.
- */
- public void testProjectCreationAndFiltering()
- {
- init();
-
- String[] templateIds = new String[]{IJ2EEModuleConstants.JST_WEB_TEMPLATE,
- IJ2EEModuleConstants.JST_WEB_TEMPLATE,
- IJ2EEModuleConstants.JST_WEB_TEMPLATE,
- IJ2EEModuleConstants.JST_WEB_TEMPLATE,
- IJ2EEModuleConstants.JST_WEB_TEMPLATE,
- IJ2EEModuleConstants.JST_WEB_TEMPLATE,
- IJ2EEModuleConstants.JST_UTILITY_TEMPLATE,
- IJ2EEModuleConstants.JST_UTILITY_TEMPLATE,
- IJ2EEModuleConstants.JST_UTILITY_TEMPLATE};
- String[] scenarios = new String[]{SERVICE_SIDE,
- SERVICE_SIDE,
- SERVICE_SIDE,
- CLIENT_SIDE,
- CLIENT_SIDE,
- CLIENT_SIDE,
- CLIENT_SIDE,
- CLIENT_SIDE,
- CLIENT_SIDE};
- String[] serviceClientRuntimeIds = new String[]{AXIS_SERVICE_RUNTIME,
- AXIS_SERVICE_RUNTIME,
- AXIS_SERVICE_RUNTIME,
- AXIS_CLIENT_RUNTIME_WEB,
- AXIS_CLIENT_RUNTIME_WEB,
- AXIS_CLIENT_RUNTIME_WEB,
- AXIS_CLIENT_RUNTIME_JAVA,
- AXIS_CLIENT_RUNTIME_JAVA,
- AXIS_CLIENT_RUNTIME_JAVA};
- String[] serverTypes = new String[]{SERVERTYPEID_TC41,
- SERVERTYPEID_TC50,
- SERVERTYPEID_TC55,
- SERVERTYPEID_TC41,
- SERVERTYPEID_TC50,
- SERVERTYPEID_TC55,
- SERVERTYPEID_TC41,
- SERVERTYPEID_TC50,
- SERVERTYPEID_TC55};
-
-
- //Expected Results:
-
- IProjectFacetVersion[][] expectedFacets = new IProjectFacetVersion[][]{ new IProjectFacetVersion[]{WEB23, JAVA14},
- new IProjectFacetVersion[]{WEB24, JAVA14},
- new IProjectFacetVersion[]{WEB24, JAVA50},
- new IProjectFacetVersion[]{WEB23, JAVA14},
- new IProjectFacetVersion[]{WEB24, JAVA14},
- new IProjectFacetVersion[]{WEB24, JAVA50},
- new IProjectFacetVersion[]{UTILITY10, JAVA14},
- new IProjectFacetVersion[]{UTILITY10, JAVA14},
- new IProjectFacetVersion[]{UTILITY10, JAVA50},
- };
-
- String[] expectedRuntimes = new String[] {RUNTIMEID_TC41,
- RUNTIMEID_TC50,
- RUNTIMEID_TC55,
- RUNTIMEID_TC41,
- RUNTIMEID_TC50,
- RUNTIMEID_TC55,
- RUNTIMEID_TC41,
- RUNTIMEID_TC50,
- RUNTIMEID_TC55
- };
-
- String bigPrefix = PROJECT_NAME_PREFIX+"0"+PROJECT_NAME_SUFFIX;
- String[] expectedProjectsForAxisService = new String[] { bigPrefix+"0",
- bigPrefix+"1",
- bigPrefix+"2",
- bigPrefix+"3",
- bigPrefix+"4",
- bigPrefix+"5"
- };
-
- String[] expectedProjectsForAxisClient = new String[] { bigPrefix+"0",
- bigPrefix+"1",
- bigPrefix+"2",
- bigPrefix+"3",
- bigPrefix+"4",
- bigPrefix+"5",
- bigPrefix+"6",
- bigPrefix+"7",
- bigPrefix+"8",
- };
-
- boolean[] expectedBooleansForAxisService = new boolean[] {true, true, true, true, true, true, false, false, false};
- boolean[] expectedBooleansForAxisClientWeb = new boolean[] {true, true, true, true, true, true, false, false, false};
- boolean[] expectedBooleansForAxisClientJava = new boolean[] {false, false, false, false, false, false, true, true, true};
-
-
- //Turn auto-build off
- ValidationManager manager = new ValidationManager();
- manager.disableAutoBuild();
-
- //Create the projects
- for (int i=0; i<multiplesForProjectCreation; i++)
- {
- createProjects(templateIds, scenarios, serviceClientRuntimeIds, serverTypes, PROJECT_NAME_PREFIX+i);
- }
-
- //Restore auto-build
- manager.restoreAutoBuild();
-
- //Check Expected Results:
-
- //Check facets and runtime on the first "0"th set of created projects. Ignore higher multiples since they
- //are duplicates.
- for (int j=0; j<expectedFacets.length; j++)
- {
- String projectName = bigPrefix+j;
- IProject project = ProjectUtilities.getProject(projectName);
- assertNotNull(project);
- assertTrue(project.exists());
- try
- {
- IFacetedProject fProject = ProjectFacetsManager.create(project);
- assertNotNull(fProject);
-
- //Check facets
- //begin debug
- Iterator pfacets = fProject.getProjectFacets().iterator();
- while (pfacets.hasNext())
- {
- IProjectFacetVersion pfv = (IProjectFacetVersion)pfacets.next();
- System.out.println("facet="+pfv.getProjectFacet().getId()+", version="+pfv.getVersionString());
- }
-
- for (int k=0; k<expectedFacets[j].length; k++)
- {
- assertTrue(fProject.hasProjectFacet(expectedFacets[j][k]));
-
- }
-
- //Check runtime
- org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = fProject.getRuntime();
- assertNotNull(fRuntime);
- IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
- assertNotNull(sRuntime);
- assertTrue(sRuntime.getId().equals(expectedRuntimes[j]));
-
- } catch (CoreException ce)
- {
- fail();
- }
-
- }
-
- //Check that WebServiceRuntimeExtensionUtils2.getProjectsForServiceTypeAndRuntime(..) returns
- //the right set of projects
- String serviceType = String.valueOf(WebServiceScenario.BOTTOMUP) + "/" + SERVICE_IMPL_JAVA;
- String[] projectsForAxisService = WebServiceRuntimeExtensionUtils2.getProjectsForServiceTypeAndRuntime(serviceType, AXIS_RUNTIME);
- assertEquals(expectedProjectsForAxisService.length, projectsForAxisService.length);
- List projectsForAxisServiceList = new ArrayList();
- for (int i=0; i<projectsForAxisService.length; i++)
- {
- projectsForAxisServiceList.add(projectsForAxisService[i]);
- }
- for (int i=0; i<expectedProjectsForAxisService.length; i++)
- {
- assertTrue(projectsForAxisServiceList.contains(expectedProjectsForAxisService[i]));
- }
-
- //Check that WebServiceRuntimeExtensionUtils2.getProjectsForClientTypeAndRuntime(..) returns
- //the right set of projects
- String[] projectsForAxisClient = WebServiceRuntimeExtensionUtils2.getProjectsForClientTypeAndRuntime(CLIENT_IMPL_JAVA, AXIS_RUNTIME);
- assertEquals(expectedProjectsForAxisClient.length, projectsForAxisClient.length);
- List projectsForAxisClientList = new ArrayList();
- for (int i=0; i<projectsForAxisClient.length; i++)
- {
- projectsForAxisClientList.add(projectsForAxisClient[i]);
- }
- for (int i=0; i<expectedProjectsForAxisClient.length; i++)
- {
- assertTrue(projectsForAxisClientList.contains(expectedProjectsForAxisClient[i]));
- }
-
- //Check that the Axis service and client runtimes' project compatibility checking is working
- for (int i=0; i<expectedBooleansForAxisService.length; i++)
- {
- String projectName = bigPrefix+i;
- assertEquals(expectedBooleansForAxisService[i], WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportProject(AXIS_SERVICE_RUNTIME, projectName));
- assertEquals(expectedBooleansForAxisClientWeb[i], WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportProject(AXIS_CLIENT_RUNTIME_WEB, projectName));
- assertEquals(expectedBooleansForAxisClientJava[i], WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportProject(AXIS_CLIENT_RUNTIME_JAVA, projectName));
- }
-
- //Turn auto-build off
- manager.disableAutoBuild();
-
- //Delete the projects
- for (int i=0; i<multiplesForProjectCreation; i++)
- {
- deleteProjects(templateIds.length, PROJECT_NAME_PREFIX+i);
- }
-
- //Restore auto-build
- manager.restoreAutoBuild();
- }
-
- private void deleteProjects(int n, String namePrefix)
- {
- for (int i=0; i<n; i++)
- {
- String name = namePrefix + PROJECT_NAME_SUFFIX + i;
- IProject project = ProjectUtilities.getProject(name);
- try
- {
- project.delete(true, null);
- }
- catch (CoreException ce)
- {
- //Don't fail the test case if project deletion fails.
- }
- }
- }
-
- private void createProjects(String[] templateIds, String[] scenarios, String[] serviceClientRuntimeIds, String[] serverTypes, String namePrefix )
- {
- int n = templateIds.length;
- for (int i=0; i<n; i++)
- {
- String name = namePrefix + PROJECT_NAME_SUFFIX + i;
- RequiredFacetVersion[] rfvs = null;
- if (scenarios[i].equals(CLIENT_SIDE))
- {
-
- rfvs = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(serviceClientRuntimeIds[i]).getRequiredFacetVersions();
-
- }
- else
- {
- if (scenarios[i].equals(SERVICE_SIDE))
- {
- rfvs = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceClientRuntimeIds[i]).getRequiredFacetVersions();
- }
- else
- {
- rfvs = new RequiredFacetVersion[0];
- }
- }
-
- CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
- command.setProjectName(name);
- command.setTemplateId(templateIds[i]);
- command.setRequiredFacetVersions(rfvs);
- command.setServerFactoryId(serverTypes[i]);
- IStatus status = command.execute( new NullProgressMonitor(), null );
- if (status.getSeverity() == Status.ERROR)
- {
- fail();
- }
-
- IProject project = ProjectUtilities.getProject(name);
- FacetUtils.addRequiredFacetsToProject(project, rfvs, new NullProgressMonitor());
- }
- }
-
- /**
- * Tests project type filtering for the Axis Web service runtime.
- * Tests cover all ServiceRuntimes and ClientRuntimes.
- */
- public void testProjectTypeFiltering()
- {
- IFacetedProjectTemplate[] expectedTemplatesForAxisService = new IFacetedProjectTemplate[] {TEMPLATE_WEB};
- IFacetedProjectTemplate[] expectedTemplatesForAxisClientWeb = new IFacetedProjectTemplate[] {TEMPLATE_WEB};
- IFacetedProjectTemplate[] expectedTemplatesForAxisClientJava = new IFacetedProjectTemplate[] {TEMPLATE_UTILITY};
-
- Set templatesForAxisService = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(AXIS_SERVICE_RUNTIME);
- assertEquals(expectedTemplatesForAxisService.length,templatesForAxisService.size());
- for (int i=0; i<expectedTemplatesForAxisService.length; i++)
- {
- assertTrue(templatesForAxisService.contains(expectedTemplatesForAxisService[i]));
- }
- Set templatesForAxisClientWeb = FacetMatchCache.getInstance().getTemplatesForClientRuntime(AXIS_CLIENT_RUNTIME_WEB);
- assertEquals(expectedTemplatesForAxisClientWeb.length, templatesForAxisClientWeb.size());
- for (int i=0; i<expectedTemplatesForAxisClientWeb.length; i++)
- {
- assertTrue(templatesForAxisClientWeb.contains(expectedTemplatesForAxisClientWeb[i]));
- }
- Set templatesForAxisClientJava = FacetMatchCache.getInstance().getTemplatesForClientRuntime(AXIS_CLIENT_RUNTIME_JAVA);
- assertEquals(expectedTemplatesForAxisClientJava.length, templatesForAxisClientJava.size());
- for (int i=0; i<expectedTemplatesForAxisClientJava.length; i++)
- {
- assertTrue(templatesForAxisClientJava.contains(expectedTemplatesForAxisClientJava[i]));
- }
-
-
- }
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/AccumulateStatusHandler.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/AccumulateStatusHandler.java
deleted file mode 100644
index 5441127d5..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/AccumulateStatusHandler.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.util;
-
-import java.util.Vector;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.IStatusHandler;
-import org.eclipse.wst.common.environment.StatusException;
-
-public class AccumulateStatusHandler implements IStatusHandler {
- Vector statusList_;
-
- public AccumulateStatusHandler()
- {
- resetStatus();
- }
-
- /**
- * Resets the status so that it starts out empty again.
- *
- */
- public void resetStatus()
- {
- statusList_ = new Vector();
- }
-
- public IStatus getStatus()
- {
- IStatus worstStatus = Status.OK_STATUS;
-
- // Find the worst error status code
- for( int index = 0; index < statusList_.size(); index++ )
- {
- IStatus status = (IStatus)statusList_.elementAt( index );
-
- if( status.getSeverity() > worstStatus.getSeverity() )
- {
- worstStatus = status;
- }
- }
-
- return StatusUtils.multiStatus( worstStatus.getMessage(),
- (IStatus[])statusList_.toArray( new IStatus[0] ) );
- }
-
- /**
- * @see org.eclipse.env.common.IStatusHandler#report(org.eclipse.env.common.Status, org.eclipse.env.common.Choice[])
- */
- public Choice report(IStatus status, Choice[] choices)
- {
- Choice result = null;
-
- // Always take the first choice if available.
- if( choices != null && choices.length > 0 )
- {
- result = choices[0];
- }
-
- statusList_.add( status );
-
- return result;
- }
-
- /**
- * @see org.eclipse.env.common.IStatusHandler#report(org.eclipse.env.common.Status)
- */
- public void report(IStatus status) throws StatusException
- {
- statusList_.add( status );
- }
-
- /**
- * @see com.ibm.env.common.IStatusHandler#reportError(com.ibm.env.common.Status)
- */
- public void reportError(IStatus status)
- {
- statusList_.add( status );
- }
-
- /**
- * @see com.ibm.env.common.IStatusHandler#reportInfo(com.ibm.env.common.Status)
- */
- public void reportInfo(IStatus status)
- {
- statusList_.add( status );
- }
-
-}
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/DynamicPopupJUnitWizard.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/DynamicPopupJUnitWizard.java
deleted file mode 100644
index d52cba00f..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/DynamicPopupJUnitWizard.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.util;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.operation.IRunnableContext;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistryImpl;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager;
-import org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard;
-import org.eclipse.wst.common.environment.ILog;
-import org.eclipse.wst.common.environment.IStatusHandler;
-
-public class DynamicPopupJUnitWizard extends DynamicPopupWizard {
- private IStatusHandler handler_;
- private ILog log_;
- public DynamicPopupJUnitWizard(IStatusHandler handler)
- {
- handler_ = handler;
- }
-
- public DynamicPopupJUnitWizard(IStatusHandler handler, ILog log)
- {
- handler_ = handler;
- log_ = log;
- }
-
- public void runHeadLess(IStructuredSelection selection,IRunnableContext context) {
-
- PersistentResourceContext resourceContext = PersistentResourceContext.getInstance();
- EclipseEnvironment environment = new EclipseEnvironment( null, resourceContext, handler_ );
- if (log_!=null)
- environment.setLog(log_);
-
- DataMappingRegistryImpl dataRegistry_ = new DataMappingRegistryImpl();
- DataFlowManager dataManager = new DataFlowManager( dataRegistry_, environment );
- SimpleCommandEngineManager manager = new SimpleCommandEngineManager(environment, dataManager);
-
- try
- {
- commandWidgetBinding_ = (CommandWidgetBinding)wizardElement_.createExecutableExtension( "class" );
- }
- catch( CoreException exc )
- {
- exc.printStackTrace();
- }
-
- commandWidgetBinding_.registerDataMappings( dataRegistry_ );
-
- CommandFragment rootFragment = getRootFragment( selection, null );
- manager.setRootFragment( rootFragment );
- manager.runForwardToNextStop( context );
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/JUnitUtils.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/JUnitUtils.java
deleted file mode 100644
index 1ec8b4aee..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/JUnitUtils.java
+++ /dev/null
@@ -1,358 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.util;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.Enumeration;
-
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtension;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.debug.core.ILaunchManager;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jst.ws.internal.common.ServerUtils;
-import org.eclipse.jst.ws.internal.consumption.command.common.CreateModuleCommand;
-import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
-import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentServerRuntimeContext;
-import org.eclipse.jst.ws.internal.context.ScenarioContext;
-import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
-import org.eclipse.jst.ws.tests.plugin.TestsPlugin;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.common.WaitForAutoBuildCommand;
-import org.eclipse.wst.command.internal.env.context.PersistentActionDialogsContext;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
-import org.eclipse.wst.command.internal.env.preferences.ActionDialogPreferenceType;
-import org.eclipse.wst.command.internal.env.ui.eclipse.EnvironmentUtils;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.server.core.IModule;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IRuntimeType;
-import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
-import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerType;
-import org.eclipse.wst.server.core.IServerWorkingCopy;
-import org.eclipse.wst.server.core.ServerCore;
-import org.eclipse.wst.server.core.ServerUtil;
-import org.eclipse.wst.ws.internal.plugin.WSPlugin;
-import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext;
-
-
-public class JUnitUtils {
- // Begin Server Utilities
- public static IRuntime createServerRuntime(String runtimeTypeId,String serverInstallPath) throws Exception
- {
- IRuntimeType rt = ServerCore.findRuntimeType(runtimeTypeId);
- IRuntimeWorkingCopy wc = rt.createRuntime("aRuntime", null);
- wc.setLocation(new Path(serverInstallPath));
-
- return wc.save(true, null);
- }
-
- public static IServer createServer(String name,String serverTypeId,IRuntime runtime,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- IServerType serverType = ServerCore.findServerType(serverTypeId);
- IServer[] servers = ServerCore.getServers();
- for (int i=0;i<servers.length;i++){
- if(servers[i].getServerType().getId().equals(serverType.getId())){
- return servers[i];
- }
- }
-
- IServerWorkingCopy serverWc = serverType.createServer(serverTypeId,null, monitor );
- serverWc.setName(name);
- serverWc.setRuntime(runtime);
- IServer server = serverWc.saveAll(true, monitor );
- return server;
- }
-
- /**
- * createServer and install JRE for Servers requiring a specific JRE
- * @param javaRuntimePath JRE install location; i.e. E:\\Java141
- * @param jreID JRE id; i.e. java141
- * @param name server name
- * @param serverTypeId server type id
- * @param runtime IRuntime
- * @param env IEnvironment
- * @return server IServer
- * @throws Exception
- *
- * @deprecated
- */
- public static IServer createServer(String javaRuntimePath, String jreID, String name,String serverTypeId,IRuntime runtime,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- IServerType serverType = ServerCore.findServerType(serverTypeId);
- IServer[] servers = ServerCore.getServers();
- for (int i=0;i<servers.length;i++){
- if(servers[i].getServerType().getId().equals(serverType.getId())){
- return servers[i];
- }
- }
-
- IServerWorkingCopy serverWc = serverType.createServer(serverTypeId,null, monitor );
- serverWc.setName(name);
- serverWc.setRuntime(runtime);
-
- IServer server = serverWc.saveAll(true, monitor );
-
- return server;
- }
-
- public static void startServer(IServer server,IEnvironment env) throws Exception
- {
- final IServer currentServer = server;
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
- {
- try
- {
- currentServer.start(ILaunchManager.RUN_MODE, monitor );
- }
- catch (CoreException e)
- {
- InterruptedException wrapper = new InterruptedException(e.getMessage());
- wrapper.setStackTrace(e.getStackTrace());
- throw wrapper;
- }
- }
- };
- PlatformUI.getWorkbench().getProgressService().run(true,false,runnable);
- }
-
- public static boolean removeEARFromServer(IServer server,IProject earProject,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- int numberOfModules = server.getModules().length;
- if (server != null)
- {
- final IModule earProjectModule = ServerUtil.getModule(earProject);
- final IModule[] modules = {earProjectModule};
- new ServerUtils().modifyModules(env, server,earProjectModule,false, monitor );
- final IServer currentServer = server;
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
- {
- for (int i=0;i<1000;i++)
- {
- int moduleState = currentServer.getModuleState(modules);
- if (moduleState == IServer.STATE_STARTED || moduleState == IServer.STATE_STOPPING)
- {
- try
- {
- Thread.sleep(300);
- }
- catch (InterruptedException e)
- {
- e.printStackTrace(System.err);
- }
- }
- else
- break;
- }
- }
- };
- PlatformUI.getWorkbench().getProgressService().run(true,false,runnable);
- return (server.getModules().length == (numberOfModules-1));
- }
- return false;
- }
-
- public static boolean removeModuleFromServer(IServer server, IProject webProject, IEnvironment env, IProgressMonitor monitor ) throws Exception {
-
- int numberOfModules = server.getModules().length;
- if (server != null)
- {
- final IModule webProjectModule = ServerUtil.getModule(webProject);
- final IModule[] modules = {webProjectModule};
-
- new ServerUtils().modifyModules(env, server,webProjectModule,false, monitor );
- final IServer currentServer = server;
- IRunnableWithProgress runnable = new IRunnableWithProgress()
- {
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
- {
- for (int i=0;i<1000;i++)
- {
- int moduleState = currentServer.getModuleState(modules);
- if (moduleState == IServer.STATE_STARTED || moduleState == IServer.STATE_STOPPING)
- {
- try
- {
- Thread.sleep(300);
- }
- catch (InterruptedException e)
- {
- e.printStackTrace(System.err);
- }
- }
- else
- break;
- }
- }
- };
- PlatformUI.getWorkbench().getProgressService().run(true,false,runnable);
- //Thread.sleep(6000);
- return (server.getModules().length == (numberOfModules-1));
- }
- return false;
- }
-
- // Begin: General Eclipse Utilities
-
- public static void syncBuildProject(IProject project,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- project.build(IncrementalProjectBuilder.FULL_BUILD, monitor );
- WaitForAutoBuildCommand cmd = new WaitForAutoBuildCommand();
- cmd.setEnvironment( env );
- cmd.execute( monitor, null );
- }
-
- private static void copyTestFiles(String pathString,int rootSegmentLength,IFolder destFolder,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- Enumeration e = TestsPlugin.getDefault().getBundle().getEntryPaths(pathString);
- while (e.hasMoreElements())
- {
- String filePath = (String)e.nextElement();
- if (filePath.endsWith("/"))
- copyTestFiles(filePath,rootSegmentLength,destFolder,env, monitor );
- else
- {
- IPath fileIPath = new Path(filePath);
- FileResourceUtils.copyFile(EnvironmentUtils.getResourceContext(env),
- TestsPlugin.getDefault(),
- fileIPath.removeLastSegments(fileIPath.segmentCount()-rootSegmentLength), // /data/<subdir>
- (new Path(filePath)).removeFirstSegments(rootSegmentLength), // files after /data/<subdir>
- destFolder.getFullPath(),
- monitor,
- env.getStatusHandler());
- }
- }
- }
-
- public static void copyTestData(String dataSubdirectory,IFolder destFolder,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- String pathString = "/data/"+dataSubdirectory;
- copyTestFiles(pathString,new Path(pathString).segmentCount(),destFolder,env, monitor);
-
- }
-
- // Begin: Web Services Utilities
- public static void hideActionDialogs()
- {
- PersistentActionDialogsContext actionDialogsCtx = PersistentActionDialogsContext.getInstance();
- ActionDialogPreferenceType[] actionDialogPrefs = actionDialogsCtx.getDialogs();
- for (int i=0;i<actionDialogPrefs.length;i++)
- actionDialogsCtx.setActionDialogEnabled(actionDialogPrefs[i].getId(),true);
- }
-
-
- public static boolean enableProxyGeneration(boolean enable)
- {
- ScenarioContext ctx = WebServicePlugin.getInstance().getScenarioContext();
- boolean previousSetting = ctx.getGenerateProxy();
- ctx.setGenerateProxy(enable);
- return previousSetting;
- }
-
- public static boolean enableOverwrite(boolean enable)
- {
- ResourceContext ctx = WebServicePlugin.getInstance().getResourceContext();
- boolean previousSetting = ctx.isOverwriteFilesEnabled();
- ctx.setOverwriteFilesEnabled(enable);
- return previousSetting;
- }
-
- public static void disableWSIDialog(IProject project){
-
- PersistentWSIContext ctx = WSPlugin.getInstance().getWSIAPContext();
- ctx.updateProjectWSICompliances(project, PersistentWSIContext.IGNORE_NON_WSI);
-
- PersistentWSIContext ctx2 = WSPlugin.getInstance().getWSISSBPContext();
- ctx2.updateProjectWSICompliances(project, PersistentWSIContext.IGNORE_NON_WSI);
-
- }
-
- public static void setWSRuntimeServer(String wsRuntimeId,String serverTypeId)
- {
- PersistentServerRuntimeContext serverRuntimeCtx = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
- serverRuntimeCtx.setRuntimeId(wsRuntimeId);
- serverRuntimeCtx.setServerFactoryId(serverTypeId);
- }
-
- private static IStatus launchWizard(String pluginNS,String wizardId,String objectClassId,IStructuredSelection initialSelection) throws Exception
- {
- IExtension[] extensions = Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.ui.popupMenus").getExtensions();
- for (int i=0;i<extensions.length;i++)
- {
- if (extensions[i].getNamespace().equals(pluginNS));
- {
- IConfigurationElement[] configElements = extensions[i].getConfigurationElements();
- for (int j=0;j<configElements.length;j++)
- {
- if (configElements[j].getAttribute("id").equals(wizardId) && configElements[j].getAttribute("objectClass").equals(objectClassId))
- {
- IConfigurationElement actionElement = configElements[j].getChildren()[0];
- AccumulateStatusHandler statusHandler = new AccumulateStatusHandler();
- DynamicPopupJUnitWizard wizard = new DynamicPopupJUnitWizard(statusHandler);
- wizard.setInitializationData(actionElement,null,null);
- wizard.selectionChanged(null,initialSelection);
- wizard.run(null);
- return statusHandler.getStatus();
- }
- }
- }
- }
- return StatusUtils.errorStatus( "No wizard found for: " );
- }
-
- public static IStatus launchCreationWizard(String wizardId,String objectClassId,IStructuredSelection initialSelection) throws Exception
- {
- return launchWizard("org.eclipse.jst.ws.creation.ui",wizardId,objectClassId,initialSelection);
- }
-
- public static IStatus launchConsumptionWizard(String wizardId,String objectClassId,IStructuredSelection initialSelection) throws Exception
- {
- return launchWizard("org.eclipse.jst.ws.internal.consumption.ui",wizardId,objectClassId,initialSelection);
- }
-
- public static IStatus createWebModule(String webProjectName, String moduleName, String serverFactoryId, String j2eeVersion, IEnvironment env, IProgressMonitor monitor ){
-
- IStatus status = Status.OK_STATUS;
- try{
- CreateModuleCommand createWeb = new CreateModuleCommand();
- createWeb.setProjectName(webProjectName);
- createWeb.setModuleName(moduleName);
- createWeb.setModuleType(CreateModuleCommand.WEB);
- createWeb.setJ2eeLevel(j2eeVersion);
- createWeb.setServerFactoryId(serverFactoryId);
- createWeb.setEnvironment( env );
- return createWeb.execute( monitor, null );
- }
- catch (Exception e){
- status = StatusUtils.errorStatus( e );
- }
- return status;
-
- }
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/ScenarioConstants.java b/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/ScenarioConstants.java
deleted file mode 100644
index 015fa39dc..000000000
--- a/tests/org.eclipse.jst.ws.tests/tests/org/eclipse/jst/ws/tests/util/ScenarioConstants.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.jst.ws.tests.util;
-
-public class ScenarioConstants {
- // Bottom up Java or EJB to Web Service wizard ID.
- public static final String WIZARDID_BOTTOM_UP = "org.eclipse.jst.ws.creation.ui.wizard.serverwizard";
-
- // Top down WSDL to Skeleton Web Service wizard ID.
- public static final String WIZARDID_TOP_DOWN = "org.eclipse.jst.ws.creation.ui.wizard.serverwizard";
-
- // Web Service client wizard ID.
- public static final String WIZARDID_CLIENT = "org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard";
-
- // Object class for:
- // 1) Java source (bottom-up)
- // 2) WSDL or WSIL (top-down or client).
- public static final String OBJECT_CLASS_ID_IFILE = "org.eclipse.core.resources.IFile";
-
- // Object class for Java compilation units (i.e. Java classes selected in the Java perspective).
- public static final String OBJECT_CLASS_ID_COMPILATIONUNIT = "org.eclipse.jdt.internal.core.CompilationUnit";
-
- // Object class for a service selected in the J2EE perspective (top-down or client).
- public static final String OBJECT_CLASS_ID_SERVICEIMPL = "org.eclipse.wst.wsdl.Service";
-
- // Object class for a WSDLResourceImpl (top-down or client).
- public static final String OBJECT_CLASS_ID_WSDLSERVICEIMPL = "org.eclipse.wst.wsdl.internal.util.WSDLResourceImpl";
-
- // Object class for a ServiceRef (top-down or client).
- public static final String OBJECT_CLASS_ID_SERVICEREF = "org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef";
-
- // Object class for a ServiceImplBean (bottom-up).
- public static final String OBJECT_CLASS_ID_SERVICEIMPLBEAN = "org.eclipse.jst.j2ee.webservice.wsdd.ServiceImplBean";
-
- // Object class for a BeanLink (bottom-up).
- public static final String OBJECT_CLASS_ID_BEANLINK = "org.eclipse.jst.j2ee.webservice.wsdd.BeanLink";
-} \ No newline at end of file
diff --git a/tests/org.eclipse.wst.ws.tests/.classpath b/tests/org.eclipse.wst.ws.tests/.classpath
deleted file mode 100644
index 9f4b4d1d5..000000000
--- a/tests/org.eclipse.wst.ws.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="tests"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.wst.ws.tests/.cvsignore b/tests/org.eclipse.wst.ws.tests/.cvsignore
deleted file mode 100644
index 57763eb9b..000000000
--- a/tests/org.eclipse.wst.ws.tests/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-build.xml
-temp.folder
-tests.jar
diff --git a/tests/org.eclipse.wst.ws.tests/.project b/tests/org.eclipse.wst.ws.tests/.project
deleted file mode 100644
index 55f2bcd81..000000000
--- a/tests/org.eclipse.wst.ws.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.ws.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0fd1048cf..000000000
--- a/tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,57 +0,0 @@
-#Mon Jan 30 10:29:14 EST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.pde.prefs b/tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 9e87a8a85..000000000
--- a/tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,13 +0,0 @@
-#Mon Apr 24 10:27:54 EDT 2006
-compilers.p.build=1
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=1
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=1
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/tests/org.eclipse.wst.ws.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.ws.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index b415c407f..000000000
--- a/tests/org.eclipse.wst.ws.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,31 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %PLUGIN_NAME
-Bundle-SymbolicName: org.eclipse.wst.ws.tests
-Bundle-Version: 1.0.100
-Bundle-Activator: org.eclipse.wst.ws.tests.plugin.TestsPlugin
-Bundle-Vendor: %PLUGIN_PROVIDER
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.wst.ws,
- org.eclipse.core.runtime,
- org.junit,
- org.eclipse.core.resources,
- org.eclipse.debug.core,
- org.eclipse.jem.util,
- org.eclipse.jface,
- org.eclipse.ui,
- org.eclipse.wst.command.env,
- org.eclipse.wst.command.env.core,
- org.eclipse.wst.common.frameworks,
- org.eclipse.wst.server.core,
- org.eclipse.wst.ws.ui,
- org.eclipse.wst.command.env.ui,
- org.eclipse.wst.common.environment,
- org.eclipse.emf.ecore,
- org.eclipse.emf.ecore.xmi
-Eclipse-LazyStart: true
-Export-Package: org.eclipse.wst.ws.tests.data,
- org.eclipse.wst.ws.tests.plugin,
- org.eclipse.wst.ws.tests.unittest,
- org.eclipse.wst.ws.tests.util
-Bundle-ClassPath: tests.jar
diff --git a/tests/org.eclipse.wst.ws.tests/about.html b/tests/org.eclipse.wst.ws.tests/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/tests/org.eclipse.wst.ws.tests/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.wst.ws.tests/build.properties b/tests/org.eclipse.wst.ws.tests/build.properties
deleted file mode 100644
index f64a07bf5..000000000
--- a/tests/org.eclipse.wst.ws.tests/build.properties
+++ /dev/null
@@ -1,10 +0,0 @@
-bin.includes = data/,\
- plugin.xml,\
- readme.txt,\
- tests.jar,\
- META-INF/,\
- test.xml,\
- about.html
-jars.compile.order = tests.jar
-source.tests.jar = tests/
-output.tests.jar = bin/
diff --git a/tests/org.eclipse.wst.ws.tests/data/locator/test.wsdl b/tests/org.eclipse.wst.ws.tests/data/locator/test.wsdl
deleted file mode 100644
index 0bd31ca44..000000000
--- a/tests/org.eclipse.wst.ws.tests/data/locator/test.wsdl
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://tempuri.org/AreaService/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AreaService" targetNamespace="http://tempuri.org/AreaService/">
- <wsdl:types>
- <xsd:schema targetNamespace="http://tempuri.org/AreaService/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:element name="area" type="xsd:float"/>
- <xsd:element name="parameters" type="tns:dimensions"/>
- <xsd:complexType name="dimensions">
- <xsd:sequence>
- <xsd:element name="width" type="xsd:float"></xsd:element>
- <xsd:element name="height" type="xsd:float"></xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- </xsd:schema>
- </wsdl:types>
- <wsdl:message name="CalculateRectAreaResponse">
- <wsdl:part element="tns:area" name="area"/>
- </wsdl:message>
- <wsdl:message name="CalculateRectAreaRequest">
- <wsdl:part element="tns:parameters" name="parameters"/>
- </wsdl:message>
- <wsdl:portType name="AreaService">
- <wsdl:operation name="CalculateRectArea">
- <wsdl:input message="tns:CalculateRectAreaRequest"/>
- <wsdl:output message="tns:CalculateRectAreaResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="AreaServiceSOAP" type="tns:AreaService">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="CalculateRectArea">
- <soap:operation soapAction="http://tempuri.org/AreaService/NewOperation"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="AreaService">
- <wsdl:port binding="tns:AreaServiceSOAP" name="AreaServiceSOAP">
- <soap:address location="http://tempuri.org"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
diff --git a/tests/org.eclipse.wst.ws.tests/plugin.properties b/tests/org.eclipse.wst.ws.tests/plugin.properties
deleted file mode 100644
index 2933ec177..000000000
--- a/tests/org.eclipse.wst.ws.tests/plugin.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# 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
-# -------- -------- -----------------------------------------------------------
-# 20060424 138060 kathy@ca.ibm.com - Kathy Chan
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-PLUGIN_NAME=WST Web Services Test
-PLUGIN_PROVIDER=Eclipse.org
diff --git a/tests/org.eclipse.wst.ws.tests/plugin.xml b/tests/org.eclipse.wst.ws.tests/plugin.xml
deleted file mode 100644
index 8c7e48a06..000000000
--- a/tests/org.eclipse.wst.ws.tests/plugin.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
-</plugin>
diff --git a/tests/org.eclipse.wst.ws.tests/readme.txt b/tests/org.eclipse.wst.ws.tests/readme.txt
deleted file mode 100644
index 91de03792..000000000
--- a/tests/org.eclipse.wst.ws.tests/readme.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Currently no arguments to be passed in. See org.eclipse.jst.ws.tests for adding
-arguments when running test suite (i.e. server install location...)
diff --git a/tests/org.eclipse.wst.ws.tests/test.xml b/tests/org.eclipse.wst.ws.tests/test.xml
deleted file mode 100644
index f291ace0f..000000000
--- a/tests/org.eclipse.wst.ws.tests/test.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <!-- <property name="eclipse-home" value="${basedir}\..\.."/> -->
- <echo message="basedir ${basedir}" />
- <echo message="eclipse place ${eclipse-home}" />
- <!-- sets the properties plugin-name, and library-file -->
- <property name="plugin-name" value="org.eclipse.wst.ws.tests"/>
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml"/>
- <!-- commented for now until such a time as we need to call a server for wst tests -->
- <!--<property name="extraVMargs" value="-Dorg.eclipse.jst.server.tomcat.50=${testDir}/${tomcat50Dir}"/> -->
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml"/>
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <property name="wst-ws-folder" value="${eclipse-home}/wst_ws_folder"/>
- <delete dir="${wst-folder}" quiet="true"/>
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${wst-ws-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.wst.ws.tests.unittest.AllWSJUnitTests" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
-<!-- <property name="extraVMargs" value="${extraVMargs}"/> -->
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
- </target>
-</project>
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/data/LocatorWorkspaceSetup.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/data/LocatorWorkspaceSetup.java
deleted file mode 100644
index f455fa9c3..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/data/LocatorWorkspaceSetup.java
+++ /dev/null
@@ -1,176 +0,0 @@
-package org.eclipse.wst.ws.tests.data;
-
-import java.io.IOException;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceVisitor;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.intro.IIntroManager;
-import org.eclipse.ui.intro.IIntroPart;
-import org.eclipse.wst.ws.tests.plugin.TestsPlugin;
-
-/**
- * @author joan
- * Sets up locator test data - uses same data file but renames it for each use
- * Workspace structure created looks like this:
- *
- * root
- * --project1
- * |----folder1
- * |-----folder2
- * |------one.wsdl
- * |-----two.wsdl
- * |----folder3
- * |-----three.wsdl
- * |-----four.wsdl
- * --project2
- * |----five.wsdl
- * |----folder4
- * |----folder5
- * |-----six.wsdl
- * --project3
- * |----one.xml
- */
-
-public class LocatorWorkspaceSetup extends TestCase {
-
- public static String PROJECT1_NAME = "Project1";
- public static String FOLDER1_NAME = "Folder1"; //contains WSDL file and one folder
- public static String FOLDER2_NAME = "Folder2"; //nested in folder 1 and contains WSDL file
- public static String FOLDER3_NAME = "Folder3"; //contains two WSDL files
- public static String PROJECT2_NAME = "Project2"; //contains WSDL file and two folders
- public static String FOLDER4_NAME = "Folder4"; //contains no WSDL
- public static String FOLDER5_NAME = "Folder5"; //contains one WSDL file
- public static String PROJECT3_NAME = "Project3"; //contains no WSDL files but one XML file
-
- public static String WSDLFILE_ONE = "one.wsdl";
- public static String WSDLFILE_TWO = "two.wsdl";
- public static String WSDLFILE_THREE = "three.wsdl";
- public static String WSDLFILE_FOUR = "four.wsdl";
- public static String WSDLFILE_FIVE = "five.wsdl";
- public static String WSDLFILE_SIX = "six.wsdl";
- public static String XMLFILE_ONE = "one.XML";
-
- public static String ACTUAL_TESTFILEPATH = "data/locator/test.wsdl";
-
- private IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
-
- public static Test suite()
- {
- return new TestSuite(LocatorWorkspaceSetup.class, "LocatorWorkspaceSetup");
- }
-
- protected void closeIntro()
- {
- IIntroManager introManager = PlatformUI.getWorkbench().getIntroManager();
- IIntroPart introPart = introManager.getIntro();
- if (introPart != null)
- introManager.closeIntro(introPart);
- }
-
- protected IProject createSimpleProject(String name) throws CoreException
- {
- IProject simpleProject = root.getProject(name);
- simpleProject.create(null);
- simpleProject.open(null);
- return simpleProject;
- }
-
- protected IFolder createFolder(IContainer parent, String folderName) throws CoreException
- {
- IFolder folder1 = parent.getFolder(new Path(folderName));
- folder1.create(false, true, null);
- return folder1;
- }
-
-
- protected void copyFile(IContainer project, String source, String dest) throws IOException, CoreException
- {
-
- IFile file = project.getFile(new Path(dest));
- file.create(TestsPlugin.getDefault().getBundle().getEntry(source).openStream(), true, null);
- Assert.assertTrue(file.exists());
- }
-
- protected void joinAutoBuild() throws CoreException
- {
- boolean interrupted = true;
- while (interrupted)
- {
- try
- {
- Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
- interrupted = false;
- }
- catch (InterruptedException e)
- {
- interrupted = true;
- }
- }
- }
-
- public void testSetup() throws Exception
- {
- try{
- System.out.println("------ locator data setup starting");
- closeIntro();
-
- IProject project1 = createSimpleProject(PROJECT1_NAME);
- IFolder folder1 = createFolder(project1, FOLDER1_NAME);
- copyFile(folder1, ACTUAL_TESTFILEPATH, WSDLFILE_TWO);
- IFolder folder2 = createFolder(folder1, FOLDER2_NAME);
- copyFile(folder2, ACTUAL_TESTFILEPATH, WSDLFILE_ONE);
- IFolder folder3 = createFolder(project1, FOLDER3_NAME);
- copyFile(folder3, ACTUAL_TESTFILEPATH, WSDLFILE_THREE);
- copyFile(folder3, ACTUAL_TESTFILEPATH, WSDLFILE_FOUR);
-
- IProject project2 = createSimpleProject(PROJECT2_NAME);
- copyFile(project2, ACTUAL_TESTFILEPATH, WSDLFILE_FIVE);
- createFolder(project2, FOLDER4_NAME); //folder with no content
- IFolder folder5 = createFolder(project2, FOLDER5_NAME);
- copyFile(folder5, ACTUAL_TESTFILEPATH, WSDLFILE_SIX);
- IProject project3 = createSimpleProject(PROJECT3_NAME);
- copyFile(project3, ACTUAL_TESTFILEPATH, XMLFILE_ONE);
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
-
- //code to check workspace set up - debug
- /*DataResourceVisitor visitor = new DataResourceVisitor();
- root.accept(visitor);
- visitor.visit(root);*/
-
- System.out.println("------ locator data setup complete");
- }
-
- protected class DataResourceVisitor implements IResourceVisitor
- {
- public boolean visit(IResource resource) throws CoreException {
- if ((resource instanceof IProject) || (resource instanceof IFolder))
- {
- System.out.println("visiting " + resource.getName());
- }
- else if (resource instanceof IFile)
- {
- System.out.println("found file " + resource.getName());
- }
- return true;
- }
- }
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/plugin/TestsPlugin.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/plugin/TestsPlugin.java
deleted file mode 100644
index da56b67d2..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/plugin/TestsPlugin.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package org.eclipse.wst.ws.tests.plugin;
-
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class TestsPlugin extends Plugin {
- //The shared instance.
- private static TestsPlugin plugin;
-
- /**
- * The constructor.
- */
- public TestsPlugin() {
- super();
- plugin = this;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static TestsPlugin getDefault() {
- return plugin;
- }
-
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/AllWSJUnitTests.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/AllWSJUnitTests.java
deleted file mode 100644
index c4baf9f2e..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/AllWSJUnitTests.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.eclipse.wst.ws.tests.unittest;
-
-import org.eclipse.wst.ws.tests.data.LocatorWorkspaceSetup;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestResult;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-/**
- * This class is to run all the unittest tests.
- */
-public class AllWSJUnitTests extends TestCase
-{
- /**
- * Method parseArgs.
- *
- * @param args
- */
- private void parseArgs(Object args)
- {
- // typicially args is an array of strings,
- // not sure when it wouldn't be.
- }
-
- public static void main(String[] args)
- {
- new AllWSJUnitTests().runMain(args);
- }
-
- public Object runMain(Object args)
- {
- Object result = null;
- try
- {
- TestRunner testRunner = null;
-
- parseArgs(args);
-
- testRunner = new TestRunner(System.out);
-
-
- Test suite = suite();
- TestResult testResult = testRunner.doRun(suite, false);
- printHeader(testResult);
- }
- catch (Exception e)
- {
- result = e;
- }
-
- return result;
- }
-
- public static Test suite()
- {
- TestSuite testSuite = new TestSuite();
- //add unit tests to suite here...
- testSuite.addTest( LocatorWorkspaceSetup.suite());
- testSuite.addTest( WebServiceFinderTests.suite());
- return testSuite;
- }
-
- /**
- * Prints the header of the report
- */
- protected void printHeader(TestResult result)
- {
- if (result.wasSuccessful())
- {
- System.out.println();
- System.out.print("OK");
- System.out.println(" (" + result.runCount() + " tests)");
-
- }
- else
- {
- System.out.println();
- System.out.println("FAILURES!!!");
- System.out.println(
- "Tests run: "
- + result.runCount()
- + ", Failures: "
- + result.failureCount()
- + ", Errors: "
- + result.errorCount());
- }
- }
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/LaunchTest.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/LaunchTest.java
deleted file mode 100644
index 3a6efe7b2..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/LaunchTest.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.eclipse.wst.ws.tests.unittest;
-
-import org.eclipse.core.runtime.IPlatformRunnable;
-
-/**
- * Minimal app to run as Eclipse "application"
- */
-public class LaunchTest implements IPlatformRunnable
-{
- /**
- * @see org.eclipse.core.runtime.IPlatformRunnable#run(Object)
- */
- public Object run(Object args) throws Exception
- {
-
- Object result = new AllWSJUnitTests().runMain(args);
-
- if (result != null)
- {
- if (result instanceof Throwable)
- {
- ((Throwable) result).printStackTrace();
- }
- else
- {
- System.out.println("tests didn't return 'ok'");
- }
- return result;
- }
- else
- return IPlatformRunnable.EXIT_OK;
- }
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/RegistryTests.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/RegistryTests.java
deleted file mode 100644
index 015e3f016..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/RegistryTests.java
+++ /dev/null
@@ -1,275 +0,0 @@
-package org.eclipse.wst.ws.tests.unittest;
-
-import java.io.File;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.ws.internal.model.v10.registry.Name;
-import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
-import org.eclipse.wst.ws.internal.model.v10.registry.RegistryFactory;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Category;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
-import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyFactory;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry;
-import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryFactory;
-import org.eclipse.wst.ws.internal.registry.IRegistryManager;
-import org.eclipse.wst.ws.internal.registry.RegistryService;
-import org.eclipse.wst.ws.internal.registry.UDDIRegistryService;
-
-public class RegistryTests extends TestCase
-{
- public static Test suite ()
- {
- return new TestSuite(RegistryTests.class);
- }
-
- /**
- * Creates a new Taxonomy model and passes it to
- * <code>RegistryService.saveTaxonomy()</code>
- * where the model is persisted to a platform
- * specified temporary filesystem location.
- */
- public void test_RegistryService_saveTaxonomy ()
- {
- System.out.println("STARTING test_RegistryService_saveTaxonomy");
- try
- {
- System.out.println("Creating RegistryService and Taxonomy");
- RegistryService registryService = RegistryService.instance();
- Taxonomy taxonomy = registryService.newTaxonomy();
-
- System.out.println("Building a simple Taxonomy model");
- taxonomy.setId("my.taxonomy");
- taxonomy.setName("My Taxonomy");
- EList list = taxonomy.getCategory();
- Category category1 = TaxonomyFactory.eINSTANCE.createCategory();
- category1.setName("My first category");
- category1.setCode("1");
- Category category2 = TaxonomyFactory.eINSTANCE.createCategory();
- category2.setName("My second category");
- category2.setCode("2");
- Category category3 = TaxonomyFactory.eINSTANCE.createCategory();
- category3.setName("My third category");
- category3.setCode("2.1");
- category2.getCategory().add(category3);
- list.add(category1);
- list.add(category2);
-
- File file = File.createTempFile("taxonomy.",".xml");
- System.out.println("Saving the Taxonomy model to "+file.getCanonicalPath());
- registryService.saveTaxonomy(file.toURL(),taxonomy);
- }
- catch (Throwable exc)
- {
- exc.printStackTrace();
- fail("Unexpected Throwable ["+exc.getMessage()+"]");
- }
- finally
- {
- System.out.println("FINISHED test_RegistryService_saveTaxonomy\n");
- }
- }
-
- /**
- * Creates a new UDDI Registry model and passes it to
- * <code>RegistryService.saveRegistry()</code>
- * where the model is persisted to a platform
- * specified temporary filesystem location.
- */
- public void test_RegistryService_saveRegistry ()
- {
- System.out.println("STARTING test_RegistryService_saveRegistry");
- try
- {
- System.out.println("Creating RegistryService, UDDIRegistryService and Registry");
- RegistryService registryService = RegistryService.instance();
- UDDIRegistryService uddiRegistryService = UDDIRegistryService.instance();
- UDDIRegistry uddiRegistry = uddiRegistryService.newUDDIRegistry();
-
- System.out.println("Building a simple Registry model");
- uddiRegistry.setId("my.registry");
- uddiRegistry.setVersion("2.0");
- uddiRegistry.setDiscoveryURL("http://some.discovery.url");
- uddiRegistry.setPublicationURL("http://some.publication.url");
- uddiRegistry.setDefaultLogin("hockeyfanatic");
- Name name = RegistryFactory.eINSTANCE.createName();
- name.setValue("My Registry");
- uddiRegistry.getName().add(name);
- Taxonomy taxonomyRef = registryService.newTaxonomy();
- taxonomyRef.setRef("my.taxonomy");
- Taxonomies t = uddiRegistry.getTaxonomies();
- if (t == null)
- {
- t = UDDIRegistryFactory.eINSTANCE.createTaxonomies();
- uddiRegistry.setTaxonomies(t);
- }
- EList e = t.getTaxonomy();
- e.add(taxonomyRef);
-
- File file = File.createTempFile("registry.",".xml");
- System.out.println("Saving the Registry model to "+file.getCanonicalPath());
- registryService.saveRegistry(file.toURL(),uddiRegistry);
- }
- catch (Throwable exc)
- {
- exc.printStackTrace();
- fail("Unexpected Throwable ["+exc.getMessage()+"]");
- }
- finally
- {
- System.out.println("FINISHED test_RegistryService_saveRegistry\n");
- }
- }
-
- /**
- * Creates a new UDDI Registry model and a new Taxonomy
- * model, associates the latter with the former, and
- * drives <code>IRegistryManager.saveRegistry()</code>
- * to save the models and the index document to the
- * preferred location of the default registry manager.
- */
- public void test_RegistryManager_saveRegistry()
- {
- System.out.println("STARTING test_RegistryManager_saveRegistry");
- try {
- System.out.println("Creating RegistryService and Getting RegistryManager");
- RegistryService registryService = RegistryService.instance();
- IRegistryManager regManager = registryService.getDefaultRegistryManager();
- System.out.println("The location of the default index is " + regManager.getURL());
-
- //build the hockey taxonomy
- System.out.println("Building the hockey Taxonomy model");
- Taxonomy hockeyTaxonomy = registryService.newTaxonomy();
- hockeyTaxonomy.setId("hockey.taxonomy");
- hockeyTaxonomy.setName("hockey Taxonomy");
- EList list = hockeyTaxonomy.getCategory();
- Category category1 = TaxonomyFactory.eINSTANCE.createCategory();
- Category category4 = TaxonomyFactory.eINSTANCE.createCategory();
- category4.setName("Pro");
- category4.setCode("4");
- Category category5 = TaxonomyFactory.eINSTANCE.createCategory();
- category5.setName("AHL");
- category5.setCode("4.1");
- Category category6 = TaxonomyFactory.eINSTANCE.createCategory();
- category6.setName("NHL");
- category6.setCode("4.2");
- category1.setName("Junior");
- category1.setCode("1");
- Category category2 = TaxonomyFactory.eINSTANCE.createCategory();
- category2.setName("Midget");
- category2.setCode("2");
- Category category3 = TaxonomyFactory.eINSTANCE.createCategory();
- category3.setName("Bantam");
- category3.setCode("3");
- category4.getCategory().add(category5);
- category4.getCategory().add(category6);
- list.add(category1);
- list.add(category2);
- list.add(category3);
- list.add(category4);
-
- //save the hockey taxonomy
- Taxonomy hockeyTaxonomyRef = regManager.saveTaxonomy(hockeyTaxonomy);
-
- //make the hockey registry
- System.out.println("Building the hockey Registry model");
- UDDIRegistryService uddiRegistryService = UDDIRegistryService.instance();
- UDDIRegistry uddiRegistry = uddiRegistryService.newUDDIRegistry();
- uddiRegistry.setId("hockey.registry");
- uddiRegistry.setVersion("2.0");
- uddiRegistry.setDefaultLogin("hockeyfanatic");
- uddiRegistry.setDiscoveryURL("http://some.discovery.url");
- uddiRegistry.setPublicationURL("http://some.publication.url");
- Name name = RegistryFactory.eINSTANCE.createName();
- name.setValue("Hockey Registry");
- uddiRegistry.getName().add(name);
-
- // Add the reference to the taxonomy (saved above) to the registry.
- uddiRegistryService.addTaxonomy(uddiRegistry,hockeyTaxonomyRef);
-
- /*
- UDDITaxonomyFinder UITFinder = new UDDITaxonomyFinder();
- regManager.addTaxonomyFinder(uddiRegistry.getClass().getName(),UITFinder);
- */
- // Save the thing.
- System.out.println("Saving the hockey Registry model");
- regManager.saveRegistry(uddiRegistry);
- }
- catch (Throwable exc)
- {
- exc.printStackTrace();
- fail("Unexpected Throwable ["+exc.getMessage()+"]");
- }
- finally
- {
- System.out.println("FINISHED test_RegistryManager_saveRegistry\n");
- }
- }
-
- /**
- * Loads the registry and taxonomy in the index created in
- * test_RegistryManager_saveRegistry, then asserts that the
- * content of the model is what we expect.
- */
- public void test_RegistryManager_loadRegistry()
- {
- System.out.println("STARTING test_RegistryManager_loadRegistry");
- try {
- // Setup
- System.out.println("Creating RegistryService and Getting RegistryManager");
- RegistryService registryService = RegistryService.instance();
- IRegistryManager regManager = registryService.getDefaultRegistryManager();
-
- // Get the one registry URI we expect, and load the registry.
- String[] registries = regManager.getRegistryURIs();
- assertEquals("Unexpected number of registries "+registries.length,registries.length,1);
- String uri = registries[0];
- System.out.println("Loading registry " + uri);
- Registry registry = regManager.loadRegistry(uri);
- System.out.println("Found registry " + registry.getId());
- assertEquals("Did not find hockey registry","hockey.registry",registry.getId());
-
- // It's supposed to be a UDDI registry. Verify it and check its values.
- assertTrue("Registry is not a UDDIRegistry",(registry instanceof UDDIRegistry));
- UDDIRegistry uddiRegistry = (UDDIRegistry)registry;
- assertEquals(uddiRegistry.getVersion(),"2.0");
- assertEquals(uddiRegistry.getDefaultLogin(),"hockeyfanatic");
- assertEquals(uddiRegistry.getDiscoveryURL(),"http://some.discovery.url");
- assertEquals(uddiRegistry.getPublicationURL(),"http://some.publication.url");
-
- // Load the taxonomies used the UDDI registry.
- UDDIRegistryService uddiRegistryService = UDDIRegistryService.instance();
- Taxonomy[] taxonomies = regManager.loadTaxonomies(uddiRegistryService.getTaxonomyURIs(uddiRegistry));
- assertEquals("Unexpected number of taxonomies "+taxonomies.length,taxonomies.length,1);
- Taxonomy taxonomy = taxonomies[0];
- System.out.println("Found taxonomy " + taxonomy.getId());
- Assert.assertEquals("Did not find hockey taxonomy","hockey.taxonomy",taxonomy.getId());
-
- // Dump out the values (no assertions here).
- EList cList = taxonomy.getCategory();
- for(int i = 0;i<cList.size();i++){
- Category category = (Category)cList.get(i);
- System.out.println("Found category " + category.getName());
- EList c2List = category.getCategory();
- for(int j = 0;j<c2List.size();j++){
- Category iCategory = (Category)c2List.get(j);
- System.out.println("Found subcategory " + iCategory.getName());
- }
- }
- }
- catch(Throwable t)
- {
- t.printStackTrace();
- fail("Unexpected Throwable ["+t.getMessage()+"]");
- }
- finally
- {
- System.out.println("FINISHED test_RegistryManager_loadRegistry\n");
- }
- }
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/ResourceUtilsTests.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/ResourceUtilsTests.java
deleted file mode 100644
index 084d082cb..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/ResourceUtilsTests.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.eclipse.wst.ws.tests.unittest;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * @author sengpl
- *
- */
-public class ResourceUtilsTests extends TestCase implements WSJUnitConstants{
-
-
- public static Test suite(){
- return new TestSuite(ResourceUtilsTests.class);
- }
-
-
-
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WSJUnitConstants.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WSJUnitConstants.java
deleted file mode 100644
index fce5ff980..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WSJUnitConstants.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package org.eclipse.wst.ws.tests.unittest;
-
-
-public interface WSJUnitConstants {
-
- public final String SERVER_INSTALL_PATH = System.getProperty("org.eclipse.jst.server.tomcat.50");
- public final String RUNTIMETYPEID_TC50 = "org.eclipse.jst.server.tomcat.runtime.50";
-
- public final String WS_RUNTIMEID_AXIS = "org.eclipse.jst.ws.runtime.axis11";
-
- public final String SERVERTYPEID_TC50 = "org.eclipse.jst.server.tomcat.50";
-
- public final String webProjectName = "WP";
- public final String webProject2Name = "WP2";
- public final String webComponentName = "webComponent";
- public final String webComponent2Name = "webComp2";
- public final String webComp3Name = "webComp3";
- public final String webComp4Name = "webComp4";
-
-
- public final String ejbProjectName = "EJBProject";
- public final String ejbComponentName = "ejbComponent";
-
- public final String appClientProjectName = "AppClientProject";
- public final String appClientCompName = "appClientComponent";
-
- public final String earCompName = "EARComponent";
-
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WebServiceFinderTests.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WebServiceFinderTests.java
deleted file mode 100644
index c01f19766..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WebServiceFinderTests.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * 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
- * -------- -------- -----------------------------------------------------------
- * 20060317 127456 cbrealey@ca.ibm.com - Chris Brealey
- *******************************************************************************/
-
-package org.eclipse.wst.ws.tests.unittest;
-
-import java.util.Iterator;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.wst.ws.internal.wsfinder.WebServiceFinder;
-import org.eclipse.wst.ws.internal.wsrt.WebServiceInfo;
-
-/**
- * @author joan
- *
- */
-
-public class WebServiceFinderTests extends TestCase implements WSJUnitConstants {
-
- public static Test suite(){
- return new TestSuite(WebServiceFinderTests.class);
- }
-
- public void testWSFinder(){
- System.out.println("creating web service finder");
- WebServiceFinder wsf = WebServiceFinder.instance();
-
- System.out.println("attempting to locate all web services in workspace");
- Iterator wsIterator = wsf.getWebServices(null);
- while (wsIterator.hasNext()) {
- WebServiceInfo wsInfo = (WebServiceInfo) wsIterator.next();
- System.out.println("webService URL: " + wsInfo.getWsdlURL());
- }
-
- System.out.println("finished finding all webservices");
-
- }
-
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/AccumulateStatusHandler.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/AccumulateStatusHandler.java
deleted file mode 100644
index 8f524fb4b..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/AccumulateStatusHandler.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.tests.util;
-
-import java.util.Vector;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
-import org.eclipse.wst.common.environment.Choice;
-import org.eclipse.wst.common.environment.StatusException;
-import org.eclipse.wst.common.environment.IStatusHandler;
-
-public class AccumulateStatusHandler implements IStatusHandler {
- Vector statusList_;
-
- public AccumulateStatusHandler()
- {
- resetStatus();
- }
-
- /**
- * Resets the status so that it starts out empty again.
- *
- */
- public void resetStatus()
- {
- statusList_ = new Vector();
- }
-
- public IStatus getStatus()
- {
- IStatus worstStatus = Status.OK_STATUS;
-
- // Find the worst error status code
- for( int index = 0; index < statusList_.size(); index++ )
- {
- IStatus status = (IStatus)statusList_.elementAt( index );
-
- if( status.getSeverity() > worstStatus.getSeverity() )
- {
- worstStatus = status;
- }
- }
-
- return StatusUtils.multiStatus( worstStatus.getMessage(),
- (Status[])statusList_.toArray( new Status[0] ) );
- }
-
- /**
- * @see org.eclipse.env.common.IStatusHandler#report(org.eclipse.env.common.Status, org.eclipse.env.common.Choice[])
- */
- public Choice report(IStatus status, Choice[] choices)
- {
- Choice result = null;
-
- // Always take the first choice if available.
- if( choices != null && choices.length > 0 )
- {
- result = choices[0];
- }
-
- statusList_.add( status );
-
- return result;
- }
-
- /**
- * @see org.eclipse.env.common.IStatusHandler#report(org.eclipse.env.common.Status)
- */
- public void report(IStatus status) throws StatusException
- {
- statusList_.add( status );
- }
-
- /**
- * @see com.ibm.env.common.IStatusHandler#reportError(com.ibm.env.common.Status)
- */
- public void reportError(IStatus status)
- {
- statusList_.add( status );
- }
-
- /**
- * @see com.ibm.env.common.IStatusHandler#reportInfo(com.ibm.env.common.Status)
- */
- public void reportInfo(IStatus status)
- {
- statusList_.add( status );
- }
-
-}
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/DynamicPopupJUnitWizard.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/DynamicPopupJUnitWizard.java
deleted file mode 100644
index 2feea5381..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/DynamicPopupJUnitWizard.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.tests.util;
-
-import org.eclipse.jface.operation.IRunnableContext;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.wst.command.internal.env.context.PersistentResourceContext;
-import org.eclipse.wst.command.internal.env.core.data.DataFlowManager;
-import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistryImpl;
-import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
-import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
-import org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager;
-import org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard;
-import org.eclipse.wst.common.environment.IStatusHandler;
-
-public class DynamicPopupJUnitWizard extends DynamicPopupWizard {
- private IStatusHandler handler_;
- public DynamicPopupJUnitWizard(IStatusHandler handler)
- {
- handler_ = handler;
- }
- public void runHeadLess(IStructuredSelection selection,IRunnableContext context) {
- CommandFragment rootFragment = getRootFragment( selection, null );
- PersistentResourceContext resourceContext = PersistentResourceContext.getInstance();
- EclipseEnvironment environment = new EclipseEnvironment( null, resourceContext, handler_ );
-
- DataMappingRegistryImpl dataRegistry_ = new DataMappingRegistryImpl();
- DataFlowManager dataManager = new DataFlowManager( dataRegistry_, environment );
- SimpleCommandEngineManager manager = new SimpleCommandEngineManager(environment, dataManager);
-
- commandWidgetBinding_.registerDataMappings( dataRegistry_ );
- manager.setRootFragment( rootFragment );
- manager.runForwardToNextStop( context );
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/JUnitUtils.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/JUnitUtils.java
deleted file mode 100644
index e5dbe7b03..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/JUnitUtils.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.tests.util;
-
-import java.util.Enumeration;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
-import org.eclipse.wst.command.internal.env.common.WaitForAutoBuildCommand;
-import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
-import org.eclipse.wst.common.environment.IEnvironment;
-import org.eclipse.wst.ws.tests.plugin.TestsPlugin;
-
-
-public class JUnitUtils {
-
- // Begin: General Eclipse Utilities
- public static void syncBuildProject(IProject project,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- project.build(IncrementalProjectBuilder.FULL_BUILD,null);
- WaitForAutoBuildCommand cmd = new WaitForAutoBuildCommand();
- cmd.setEnvironment( env );
- cmd.execute( monitor, null );
- }
-
- private static void copyTestFiles(String pathString,int rootSegmentLength,IFolder destFolder,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- Enumeration e = TestsPlugin.getDefault().getBundle().getEntryPaths(pathString);
- while (e.hasMoreElements())
- {
- String filePath = (String)e.nextElement();
- if (filePath.endsWith("/"))
- copyTestFiles(filePath,rootSegmentLength,destFolder,env, monitor );
- else
- {
- IPath fileIPath = new Path(filePath);
- FileResourceUtils.copyFile(new TransientResourceContext(),
- TestsPlugin.getDefault(),
- fileIPath.removeLastSegments(fileIPath.segmentCount()-rootSegmentLength), // /data/<subdir>
- (new Path(filePath)).removeFirstSegments(rootSegmentLength), // files after /data/<subdir>
- destFolder.getFullPath(),
- monitor,
- env.getStatusHandler());
- }
- }
- }
-
- public static void copyTestData(String dataSubdirectory,IFolder destFolder,IEnvironment env, IProgressMonitor monitor ) throws Exception
- {
- String pathString = "/data/"+dataSubdirectory;
- copyTestFiles(pathString,new Path(pathString).segmentCount(),destFolder,env, monitor );
-
- }
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/ScenarioConstants.java b/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/ScenarioConstants.java
deleted file mode 100644
index 3a894b631..000000000
--- a/tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/ScenarioConstants.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 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
- *******************************************************************************/
-package org.eclipse.wst.ws.tests.util;
-
-public class ScenarioConstants {
- // Bottom up Java or EJB to Web Service wizard ID.
- public static final String WIZARDID_BOTTOM_UP = "org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java";
-
- // Top down WSDL to Skeleton Web Service wizard ID.
- public static final String WIZARDID_TOP_DOWN = "org.eclipse.jst.ws.creation.ui.wizard.serverwizard.skeleton";
-
- // Web Service client wizard ID.
- public static final String WIZARDID_CLIENT = "org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard";
-
- // Object class for:
- // 1) Java source (bottom-up)
- // 2) WSDL or WSIL (top-down or client).
- public static final String OBJECT_CLASS_ID_IFILE = "org.eclipse.core.resources.IFile";
-
- // Object class for Java compilation units (i.e. Java classes selected in the Java perspective).
- public static final String OBJECT_CLASS_ID_COMPILATIONUNIT = "org.eclipse.jdt.internal.core.CompilationUnit";
-
- // Object class for a service selected in the J2EE perspective (top-down or client).
- public static final String OBJECT_CLASS_ID_SERVICEIMPL = "org.eclipse.wst.wsdl.Service";
-
- // Object class for a WSDLResourceImpl (top-down or client).
- public static final String OBJECT_CLASS_ID_WSDLSERVICEIMPL = "org.eclipse.wst.wsdl.internal.util.WSDLResourceImpl";
-
- // Object class for a ServiceRef (top-down or client).
- public static final String OBJECT_CLASS_ID_SERVICEREF = "org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef";
-
- // Object class for a ServiceImplBean (bottom-up).
- public static final String OBJECT_CLASS_ID_SERVICEIMPLBEAN = "org.eclipse.jst.j2ee.webservice.wsdd.ServiceImplBean";
-
- // Object class for a BeanLink (bottom-up).
- public static final String OBJECT_CLASS_ID_BEANLINK = "org.eclipse.jst.j2ee.webservice.wsdd.BeanLink";
-} \ No newline at end of file
diff --git a/tests/org.eclipse.wst.wsdl.tests/.classpath b/tests/org.eclipse.wst.wsdl.tests/.classpath
deleted file mode 100644
index 751c8f2e5..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.wst.wsdl.tests/.cvsignore b/tests/org.eclipse.wst.wsdl.tests/.cvsignore
deleted file mode 100644
index 8b5249c38..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-build.xml
-temp.folder
-wsdl.tests.jar
diff --git a/tests/org.eclipse.wst.wsdl.tests/.project b/tests/org.eclipse.wst.wsdl.tests/.project
deleted file mode 100644
index 9813a74cc..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.wsdl.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.wst.wsdl.tests/about.html b/tests/org.eclipse.wst.wsdl.tests/about.html
deleted file mode 100644
index 4ec598958..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.wst.wsdl.tests/plugin.xml b/tests/org.eclipse.wst.wsdl.tests/plugin.xml
deleted file mode 100644
index b1d9ed6f1..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/plugin.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.wst.wsdl.tests"
- name="WSDL JUnit Test"
- version="1.0.1"
- class="org.eclipse.wst.wsdl.tests.WSDLTestsPlugin">
-
- <runtime>
- <library name="wsdl.tests.jar">
- <export name="*"/>
- </library>
- </runtime>
-
- <requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.wst.wsdl"/>
- <import plugin="org.eclipse.emf.ecore"/>
- <import plugin="org.eclipse.xsd"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.junit"/>
- <import plugin="org.wsdl4j"/>
- <import plugin="org.eclipse.wst.common.uriresolver"/>
- </requires>
-
-</plugin>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/MissingName.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/MissingName.wsdl
deleted file mode 100644
index 8e8c996ff..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/MissingName.wsdl
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-</wsdl:definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/WithName.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/WithName.wsdl
deleted file mode 100644
index c909b513e..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/WithName.wsdl
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="WSDLFile">
-</wsdl:definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LocalNamespace/LocalNamespace.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LocalNamespace/LocalNamespace.wsdl
deleted file mode 100644
index a829b276c..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LocalNamespace/LocalNamespace.wsdl
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<wsdl:definitions xmlns:tns="http://tempuri.org/Simple/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Simple"
- targetNamespace="http://tempuri.org/Simple/">
-
- <wsdl:types>
-
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified"
- targetNamespace="http://tempuri.org/Simple/">
-
- <xsd:element name="OperationInput">
-
- <xsd:complexType>
-
- <xsd:sequence>
- <xsd:element name="attribute1"
- type="xsd:string" />
- <xsd:element name="attribute2"
- type="xsd:string" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="OperationOutput">
-
- <xsd:complexType>
-
- <xsd:sequence>
- <xsd:element name="attribute1"
- type="xsd:string" />
- <xsd:element name="attribute2"
- type="xsd:string" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- </wsdl:types>
-
- <wsdl:message name="myOperationResponse">
- <wsdl:part name="myOperationResponse"
- element="tns:OperationOutput" />
- </wsdl:message>
-
- <wsdl:message name="myOperationRequest">
- <wsdl:part xmlns:parttns="http://tempuri.org/Simple/"
- name="myOperationRequest" element="parttns:OperationInput" />
- </wsdl:message>
-
- <wsdl:portType name="MyPortType">
-
- <wsdl:operation name="myOperation">
- <wsdl:input message="tns:myOperationRequest" />
- <wsdl:output message="tns:myOperationResponse" />
- </wsdl:operation>
- </wsdl:portType>
-
-</wsdl:definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/OperationStyle/OperationStyleTest.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/OperationStyle/OperationStyleTest.wsdl
deleted file mode 100644
index 506aec60d..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/OperationStyle/OperationStyleTest.wsdl
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://example.org"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="OperationStyleTest" targetNamespace="http://example.org">
-
- <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
- <jaxws:enableWrapperStyle>true</jaxws:enableWrapperStyle>
- <jaxws:enableAsyncMapping>false</jaxws:enableAsyncMapping>
- </jaxws:bindings>
-
- <types>
- <xsd:schema targetNamespace="http://example.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified" xmlns:tns="http://example.org">
-
- <xsd:element name="quoteRequest" type="tns:quoteRequestType" />
-
- <xsd:complexType name="quoteRequestType">
- <xsd:sequence>
- <xsd:element name="stockSymbol" type="xsd:int" />
- <xsd:element name="transactionDate" type="xsd:date" />
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:element name="quoteResponse" type="tns:quoteResponseType" />
-
- <xsd:complexType name="quoteResponseType">
- <xsd:sequence>
- <xsd:element name="value" type="xsd:double" />
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:element name="quoteError" type="xsd:string" />
-
- </xsd:schema>
- </types>
-
- <message name="Quote">
- <part name="params" element="tns:quoteRequest" />
- </message>
-
- <message name="QuoteResponse">
- <part name="result" element="tns:quoteResponse" />
- </message>
-
- <message name="QuoteError">
- <part name="error" element="tns:quoteError" />
- </message>
-
- <portType name="QuotePortType">
-
- <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
- <jaxws:class name="QuoteProviderImpl" />
- <jaxws:enableWrapperStyle>true</jaxws:enableWrapperStyle>
- <jaxws:enableAsyncMapping>false</jaxws:enableAsyncMapping>
- </jaxws:bindings>
-
- <operation name="GetQuote">
-
- <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <jaxws:method name="getQuote" />
- <jaxws:parameter part="wsdl:definitions/wsdl:message[@name='Quote']/wsdl:part[@name='params']"
- childElementName="tns:stockSymbol" name="symbol" />
- <jaxws:parameter part="wsdl:definitions/wsdl:message[@name='Quote']/wsdl:part[@name='params']"
- childElementName="tns:transactionDate" name="date" />
- <jaxws:enableWrapperStyle>true</jaxws:enableWrapperStyle>
- <jaxws:enableAsyncMapping>false</jaxws:enableAsyncMapping>
- </jaxws:bindings>
-
- <input message="tns:Quote" />
-
- <output message="tns:QuoteResponse" />
-
- <fault name="QuoteError" message="tns:QuoteError">
-
- <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
- <jaxws:class name="QuoteException" />
- </jaxws:bindings>
-
- </fault>
- </operation>
- </portType>
-
- <binding name="QuoteBinding" type="tns:QuotePortType">
-
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-
- <operation name="GetQuote">
- <soap:operation soapAction="" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- <fault name="QuoteError">
- <soap:fault name="QuoteError" use="literal" />
- </fault>
- </operation>
-
- </binding>
-
- <service name="QuoteService">
-
- <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
- <jaxws:class name="QuotationService" />
- </jaxws:bindings>
-
- <port name="QuotePort" binding="tns:QuoteBinding">
-
- <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
- <jaxws:method name="getQuotationService" />
- </jaxws:bindings>
-
- <soap:address location="http://localhost:8080/quote" />
-
- </port>
-
- </service>
-
-</definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test.wsdl
deleted file mode 100644
index 8dde88d30..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test.wsdl
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name="TestService"
- targetNamespace="http://test.org/Service/"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="http://test.org/Service/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:test="http://test.org/">
- <types>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import namespace="http://test.org/"
- schemaLocation="Test1.xsd" />
- </xs:schema>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import namespace="http://test.org/"
- schemaLocation="Test2.xsd" />
- </xs:schema>
- </types>
- <message name="testRequest">
- <part name="requestPart" type="test:MyType" />
- </message>
- <message name="testResponse">
- <part name="responsePart" element="test:MyElement" />
- </message>
- <portType name="TestPort">
- <operation name="testOperation">
- <input message="tns:testRequest" name="testRequest" />
- <output message="tns:testResponse" name="testResponse" />
- </operation>
-
- </portType>
-</definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test1.xsd b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test1.xsd
deleted file mode 100644
index 82c36aab7..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test1.xsd
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://test.org/"
- xmlns:tns="http://test.org/">
-</schema>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test2.xsd b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test2.xsd
deleted file mode 100644
index e281a196e..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test2.xsd
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://test.org/"
- xmlns:tns="http://test.org/">
-
- <element name="MyElement" type="string"></element>
-
- <simpleType name="MyType">
- <restriction base="string"></restriction>
- </simpleType>
-
-</schema>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/firstlevel.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/firstlevel.wsdl
deleted file mode 100644
index fcb8dc11b..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/firstlevel.wsdl
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.example.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.com">
- <import location="secondlevel.wsdl" namespace="http://www.example.com"/>
- <message name="testINPUTmessage">
- <part name="testINpart" type="xsd:string"/>
- </message>
-</definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/main.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/main.wsdl
deleted file mode 100644
index b0a42a716..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/main.wsdl
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="http://www.example.com"
- targetNamespace="http://www.example.com">
-
- <import location="firstlevel.wsdl" namespace="http://www.example.com"/>
-
- <portType name="TestPortType">
-
- <operation name="TestOperation">
-
- <!-- This is located in the first level import -->
-
- <input message="tns:testINPUTmessage"/>
-
- <!-- This is located in the second level import -->
-
- <output message="tns:testOUTPUTmessage"/>
-
- </operation>
-
- </portType>
-
-</definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/secondlevel.wsdl b/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/secondlevel.wsdl
deleted file mode 100644
index 6e2efd98f..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/secondlevel.wsdl
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="http://www.example.com"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.example.com">
-
- <!-- Here to force a cyclic import to make sure the code does not go into an infinite recursion. -->
-
- <import location="main.wsdl" namespace="http://www.example.com"/>
-
- <message name="testOUTPUTmessage">
- <part name="testOUTpart" type="xsd:string"/>
- </message>
-
- <!-- Duplicated here to allow testing the imports tree traversal order.
- This message will be "masked" by the one declared in the firstlevel.wsdl -->
-
- <message name="testINPUTmessage">
- <part name="testINpart" type="xsd:int"/>
- </message>
-
-</definitions>
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/AllTestCases.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/AllTestCases.java
deleted file mode 100644
index 0851bb2fa..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/AllTestCases.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests;
-
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * @author Kihup Boo
- */
-public class AllTestCases extends TestCase
-{
-
- public AllTestCases()
- {
- }
-
- public static void main(String[] args)
- {
- }
-
- public static Test suite()
- {
- TestSuite suite = new TestSuite();
-
- // Bug 123547 - comment out this test for now.
- // suite.addTest(InlineSchemaTest.suite());
- suite.addTest(LoadAndSerializationTest.suite());
- suite.addTest(SemanticTest.suite());
- suite.addTest(WSDLGenerationTest.suite());
- suite.addTest(WSDL4JAPITest.suite());
- suite.addTest(WSDLEMFAPITest.suite());
- suite.addTest(UtilTest.suite());
- suite.addTest(BugFixesTest.suite());
- suite.addTest(LocationTrackingTest.suite());
-
- return suite;
- }
-
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/MyResolver.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/MyResolver.java
deleted file mode 100644
index 4ccaa4dab..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/MyResolver.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests;
-
-import org.xml.sax.EntityResolver;
-import org.xml.sax.InputSource;
-
-public class MyResolver implements EntityResolver
-{
- public InputSource resolveEntity(String publicId, String systemId)
- {
- if (systemId.equals("http://www.myhost.com/today"))
- {
- // return a special input source
- //MyReader reader = new MyReader();
- //return new InputSource(reader);
- return new InputSource(systemId); // TBD
- }
- else
- {
- // use the default behaviour
- return null;
- }
- }
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/ParserTest.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/ParserTest.java
deleted file mode 100644
index 474d9854c..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/ParserTest.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests;
-
-import java.io.FileInputStream;
-import java.io.InputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.w3c.dom.Document;
-import org.xml.sax.EntityResolver;
-
-public class ParserTest extends TestCase
-{
-
- public ParserTest(String name)
- {
- super(name);
- }
-
- public static Test suite()
- {
- TestSuite suite = new TestSuite();
-
- suite.addTest
- (new ParserTest("Parser")
- {
- protected void runTest()
- {
- testParser();
- }
- }
- );
-
- return suite;
- }
-
- public void testParser()
- {
- EntityResolver myResolver = new MyResolver();
- try
- {
- InputStream is = new FileInputStream("./samples/LoadAndPrintTest.wsdl");
- DocumentBuilder myBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
- myBuilder.setEntityResolver(myResolver);
- Document doc = myBuilder.parse(is);
- Assert.assertNotNull("Document is null",doc);
- }
- catch (Exception e)
- {
- Assert.fail("Test failed due to an exception: " + e.getLocalizedMessage());
- }
- }
-
- public static void main(String[] args)
- {
- }
-
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/RefactoringTest.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/RefactoringTest.java
deleted file mode 100644
index 16c2962af..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/RefactoringTest.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests;
-
-import javax.xml.namespace.QName;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.xsd.XSDPackage;
-import org.eclipse.xsd.util.XSDResourceFactoryImpl;
-
-public class RefactoringTest extends TestCase
-{
- public RefactoringTest()
- {
- //init();
- }
-
- public RefactoringTest(String name)
- {
- super(name);
- }
-
- public static Test suite()
- {
- TestSuite suite = new TestSuite();
-
- suite.addTest
- (new RefactoringTest("Refactoring")
- {
- protected void runTest()
- {
- testRefactoring();
- }
- }
- );
-
- return suite;
- }
-
- public void testRefactoring()
- {
- try
- {
- // Before running this test, modify the location of the generated WSDL file
- generateWSDL("RefactoringTest.wsdl");
- }
- catch (Exception e)
- {
- Assert.fail("Test failed due to an exception: " + e.getLocalizedMessage());
- }
- }
-
- protected void setUp() throws Exception
- {
- super.setUp();
-
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
- WSDLPackage pkg = WSDLPackage.eINSTANCE;
-
- // We need this for XSD <import>.
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("xsd", new XSDResourceFactoryImpl());
- XSDPackage xsdpkg = XSDPackage.eINSTANCE;
- }
-
- protected void tearDown() throws Exception
- {
- super.tearDown();
- }
-
- // defect 6594
- public void renameOperation(Operation op)
- {
- Input input = op.getEInput();
- Assert.assertNotNull(input);
- Message message = input.getEMessage();
- Assert.assertNotNull(message);
-
- op.setName("Renamed" + op.getName());
- QName newQName = new QName(message.getQName().getNamespaceURI(),"Renamed" + message.getQName().getLocalPart());
- message.setQName(newQName);
- }
-
- public void generateWSDL(String outputFile) throws Exception
- {
- ResourceSet resourceSet = new ResourceSetImpl();
- Resource resource = resourceSet.createResource(URI.createFileURI(outputFile));
- resourceSet.getResources().add(resource);
-
- // Create a Definition - Temperature
- Definition definition = WSDLFactory.eINSTANCE.createDefinition();
- definition.setQName(new QName(WSDLConstants.WSDL_NAMESPACE_URI,"Temparature"));
- resource.getContents().add(definition);
-
- // Target namespace - http://www.temperature.com
- definition.setTargetNamespace("http://www.temperature.com");
- definition.addNamespace("tns", "http://www.temperature.com");
-
- // Other namespaces - wsdl, soap, xsd
- definition.addNamespace("wsdl", WSDLConstants.WSDL_NAMESPACE_URI);
- definition.addNamespace("xsd", WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001);
- definition.addNamespace("soap", SOAPConstants.SOAP_NAMESPACE_URI);
-
- //
- // Let's start building two messages
- //
-
- // Create a Part - ZipCode
- Part part = WSDLFactory.eINSTANCE.createPart();
- part.setName("ZipCode");
- part.setTypeName(new QName(WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"string"));
-
- // Create a Message - GetTemperatureInput
- Message inputMessage = WSDLFactory.eINSTANCE.createMessage();
- inputMessage.setQName(new QName(definition.getTargetNamespace(), "GetTemparatureInput"));
- inputMessage.addPart(part);
- definition.addMessage(inputMessage);
-
- // Create a Part - Temperature
- part = WSDLFactory.eINSTANCE.createPart();
- part.setName("Temperature");
- part.setTypeName(new QName(WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"float"));
-
- // Create a Message - GetTemperatureOutput
- Message outputMessage = WSDLFactory.eINSTANCE.createMessage();
- outputMessage.setQName(new QName(definition.getTargetNamespace(), "GetTemparatureOutput"));
- outputMessage.addPart(part);
- definition.addMessage(outputMessage);
-
- //
- // Next, build a PortType
- //
-
- // Create an Input - GetTemperatureInput
- Input input = WSDLFactory.eINSTANCE.createInput();
- input.setMessage(inputMessage);
-
- // Create an Output - GetTemperatureOutput
- Output output = WSDLFactory.eINSTANCE.createOutput();
- output.setMessage(outputMessage);
-
- // Create an Operation - GetTemperatureForZipCode
- Operation operation = WSDLFactory.eINSTANCE.createOperation();
- operation.setName("GetTemperatureForZipCode");
- operation.setInput(input);
- operation.setOutput(output);
-
- // Create a PortType
- PortType portType = WSDLFactory.eINSTANCE.createPortType();
- portType.setQName(new QName(definition.getTargetNamespace(),"GetTemparatureInfoSOAP"));
- portType.addOperation(operation);
- definition.addPortType(portType);
-
- //
- // Create the second set op Operations
- //
-
- // Create a Part
- part = WSDLFactory.eINSTANCE.createPart();
- part.setName("Part2");
- part.setTypeName(new QName(WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"string"));
-
- // Create a Message
- Message inputMessage2 = WSDLFactory.eINSTANCE.createMessage();
- inputMessage2.setQName(new QName(definition.getTargetNamespace(), "InputMessage2"));
- inputMessage2.addPart(part);
- definition.addMessage(inputMessage2);
-
- // Create a Part
- part = WSDLFactory.eINSTANCE.createPart();
- part.setName("Part3");
- part.setTypeName(new QName(WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"float"));
-
- // Create a Message - GetTemperatureOutput
- Message outputMessage2 = WSDLFactory.eINSTANCE.createMessage();
- outputMessage2.setQName(new QName(definition.getTargetNamespace(), "OutputMessage2"));
- outputMessage2.addPart(part);
- definition.addMessage(outputMessage2);
-
- // Create an Input
- Input input2 = WSDLFactory.eINSTANCE.createInput();
- input2.setMessage(inputMessage2);
-
- // Create an Output - GetTemperatureOutput
- Output output2 = WSDLFactory.eINSTANCE.createOutput();
- output2.setMessage(outputMessage2);
-
- // Create an Operation - GetTemperatureForZipCode
- Operation operation2 = WSDLFactory.eINSTANCE.createOperation();
- operation2.setName("Operation2");
- operation2.setInput(input2);
- operation2.setOutput(output2);
-
- portType.addOperation(operation2);
-
- renameOperation(operation);
- renameOperation(operation2);
-
- resource.save(null);
-
- }
-
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLGenerationTest.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLGenerationTest.java
deleted file mode 100644
index 5f25a785a..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLGenerationTest.java
+++ /dev/null
@@ -1,267 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests;
-
-import javax.xml.namespace.QName;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.wst.wsdl.util.WSDLConstants;
-import org.eclipse.xsd.XSDPackage;
-import org.eclipse.xsd.util.XSDResourceFactoryImpl;
-import org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBodyImpl;
-
-public class WSDLGenerationTest extends TestCase
-{
- public WSDLGenerationTest()
- {
- init();
- }
-
- public WSDLGenerationTest(String name)
- {
- super(name);
- }
-
- public static Test suite()
- {
- TestSuite suite = new TestSuite();
-
- suite.addTest
- (new WSDLGenerationTest("SampleWSDLGeneration")
- {
- protected void runTest()
- {
- testSampleWSDLGeneration();
- }
- }
- );
-
- return suite;
- }
-
- public void testSampleWSDLGeneration()
- {
- try
- {
- generateTemperatureService("./TemperatureService.wsdl");
- }
- catch (Exception e)
- {
- Assert.fail("Test failed due to an exception: " + e.getLocalizedMessage());
- }
- }
-
- protected void setUp() throws Exception
- {
- super.setUp();
-
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
- WSDLPackage pkg = WSDLPackage.eINSTANCE;
-
- // We need this for XSD <import>.
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("xsd", new XSDResourceFactoryImpl());
- XSDPackage xsdpkg = XSDPackage.eINSTANCE;
- }
-
- protected void tearDown() throws Exception
- {
- super.tearDown();
- }
-
- public void generateTemperatureService(String outputFile) throws Exception
- {
- ResourceSet resourceSet = new ResourceSetImpl();
- Resource resource = resourceSet.createResource(URI.createFileURI(outputFile));
- resourceSet.getResources().add(resource);
-
- // Create a Definition - Temperature
- Definition definition = WSDLFactory.eINSTANCE.createDefinition();
- definition.setQName(new QName(WSDLConstants.WSDL_NAMESPACE_URI,"Temparature"));
- resource.getContents().add(definition);
-
- // Target namespace - http://www.temperature.com
- definition.setTargetNamespace("http://www.temperature.com");
- definition.addNamespace("tns", "http://www.temperature.com");
-
- // Other namespaces - wsdl, soap, xsd
- definition.addNamespace("wsdl", WSDLConstants.WSDL_NAMESPACE_URI);
- definition.addNamespace("xsd", WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001);
- definition.getNamespaces().put("soap", SOAPConstants.SOAP_NAMESPACE_URI);
-
- //
- // Let's start building two messages
- //
-
- // Create a Part - ZipCode
- Part part = WSDLFactory.eINSTANCE.createPart();
- part.setName("ZipCode");
- part.setTypeName(new QName(WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"string"));
-
- // Create a Message - GetTemperatureInput
- Message inputMessage = WSDLFactory.eINSTANCE.createMessage();
- inputMessage.setQName(new QName(definition.getTargetNamespace(), "GetTemparatureInput"));
- inputMessage.addPart(part);
- definition.addMessage(inputMessage);
-
- // Create a Part - Temperature
- part = WSDLFactory.eINSTANCE.createPart();
- part.setName("Temperature");
- part.setTypeName(new QName(WSDLConstants.SCHEMA_FOR_SCHEMA_URI_2001,"float"));
-
- // Create a Message - GetTemperatureOutput
- Message outputMessage = WSDLFactory.eINSTANCE.createMessage();
- outputMessage.setQName(new QName(definition.getTargetNamespace(), "GetTemparatureOutput"));
- outputMessage.addPart(part);
- definition.addMessage(outputMessage);
-
- //
- // Next, build a PortType
- //
-
- // Create an Input - GetTemperatureInput
- Input input = WSDLFactory.eINSTANCE.createInput();
- input.setMessage(inputMessage);
-
- // Create an Output - GetTemperatureOutput
- Output output = WSDLFactory.eINSTANCE.createOutput();
- output.setMessage(outputMessage);
-
- // Create an Operation - GetTemperatureForZipCode
- Operation operation = WSDLFactory.eINSTANCE.createOperation();
- operation.setName("GetTemperatureForZipCode");
- operation.setInput(input);
- operation.setOutput(output);
-
- // Create a PortType
- PortType portType = WSDLFactory.eINSTANCE.createPortType();
- portType.setQName(new QName(definition.getTargetNamespace(),"GetTemparatureInfoSOAP"));
- portType.addOperation(operation);
- definition.addPortType(portType);
-
- //
- // Now, let's work on Binding
- //
-
- // Create a Binding - GetTemperatureInfoSOAP
- Binding binding = WSDLFactory.eINSTANCE.createBinding();
- binding.setQName(new QName(definition.getTargetNamespace(), "GetTemparatureInfoSOAP"));
- binding.setPortType(portType);
- definition.addBinding(binding);
-
- // Create a SOAP Binding
- SOAPBinding soapBinding = SOAPFactory.eINSTANCE.createSOAPBinding();
- soapBinding.setStyle("rpc");
- soapBinding.setTransportURI("http://schemas.xmlsoap.org/soap/http");
- binding.addExtensibilityElement(soapBinding);
-
- // Create a Binding Operation
- BindingOperation bindingOperation = WSDLFactory.eINSTANCE.createBindingOperation();
- bindingOperation.setName("GetTemperatureForZipCode");
- binding.addBindingOperation(bindingOperation);
-
- // Create a SOAP Operation
- SOAPOperation soapOperation = SOAPFactory.eINSTANCE.createSOAPOperation();
- soapOperation.setSoapActionURI("http://www.temperature.com/GetTemperatureForZipCode");
- bindingOperation.addExtensibilityElement(soapOperation);
-
- // Create a SOAP Body
- SOAPBody soapBody = SOAPFactory.eINSTANCE.createSOAPBody();
- soapBody.setUse("encoded");
- soapBody.getEncodingStyles().add("http://schemas.xmlsoap.org/soap/encoding/");
- soapBody.setNamespaceURI("http://www.temperature.com/");
-
- // Add a part (Temperature) to the SOAP body (Bugzilla 108176)
- java.util.Vector v = new java.util.Vector();
- v.add(part);
- soapBody.setParts(v);
- ((SOAPBodyImpl)soapBody).updateElement();
-
- // Create a Binding Input
- BindingInput bindingInput = WSDLFactory.eINSTANCE.createBindingInput();
- bindingInput.addExtensibilityElement(soapBody);
- bindingOperation.setBindingInput(bindingInput);
-
- // Create a SOAP Body
- soapBody = SOAPFactory.eINSTANCE.createSOAPBody();
- soapBody.setUse("encoded");
- soapBody.getEncodingStyles().add("http://schemas.xmlsoap.org/soap/encoding/");
- soapBody.setNamespaceURI("http://www.temperature.com/");
-
- // Create a Binding Output
- BindingOutput bindingOuput = WSDLFactory.eINSTANCE.createBindingOutput();
- bindingOuput.addExtensibilityElement(soapBody);
- bindingOperation.setBindingOutput(bindingOuput);
-
- //
- // Finally, we are building a Service
- //
-
- // Create a SOAP Address
- SOAPAddress soapAddress = SOAPFactory.eINSTANCE.createSOAPAddress();
- soapAddress.setLocationURI("http://todo-some-address/");
-
- // Create a Port - GetTemperatureInfoSOAP
- Port port = WSDLFactory.eINSTANCE.createPort();
- port.setName("GetTemperatureInfoSOAP");
- port.setBinding(binding);
- port.addExtensibilityElement(soapAddress);
-
- // Create a Service - TemperatureService
- Service service = WSDLFactory.eINSTANCE.createService();
- service.setQName(new QName(definition.getTargetNamespace(),"TemperatureService"));
- service.addPort(port);
- definition.addService(service);
-
- //
- // Phew, we are done. Let's serialize it.
- //
-
- resource.save(null);
-
- }
-
- private void init()
- {
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
- WSDLPackage pkg = WSDLPackage.eINSTANCE;
- }
-
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLTestsPlugin.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLTestsPlugin.java
deleted file mode 100644
index 0bb5f4f5b..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLTestsPlugin.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved.   This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- **********************************************************************/
-
-package org.eclipse.wst.wsdl.tests;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.Bundle;
-import org.osgi.framework.BundleContext;
-
-import java.io.IOException;
-import java.util.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class WSDLTestsPlugin extends Plugin {
- //The shared instance.
- private static WSDLTestsPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- private static Bundle pluginBundle = null;
-
- /**
- * The constructor.
- */
- public WSDLTestsPlugin() {
- super();
- plugin = this;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- pluginBundle = context.getBundle();
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- resourceBundle = null;
- pluginBundle = context.getBundle();
- }
-
- /**
- * Returns the shared instance.
- */
- public static WSDLTestsPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = WSDLTestsPlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- try {
- if (resourceBundle == null)
- resourceBundle = ResourceBundle.getBundle("org.eclipse.wst.wsdl.tests.WSDLTestsPluginResources");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- return resourceBundle;
- }
-
- /**
- * Get the install URL of this plugin.
- *
- * @return the install url of this plugin
- */
- public static String getInstallURL()
- {
- try
- {
- return Platform.resolve(pluginBundle.getEntry("/")).getFile();
- }
- catch (IOException e)
- {
- return null;
- }
- }
-
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionLoader.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionLoader.java
deleted file mode 100644
index 6abed7718..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionLoader.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests.util;
-
-import java.io.IOException;
-import java.util.Hashtable;
-import java.util.Iterator;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
-import org.eclipse.xsd.XSDPackage;
-import org.eclipse.xsd.util.XSDResourceFactoryImpl;
-
-/**
- * @author Kihup Boo
- */
-public final class DefinitionLoader
-{
- {
- // This is needed because we don't have the following in the plugin.xml
- //
- // <extension point = "org.eclipse.emf.extension_parser">
- // <parser type="wsdl" class="com.ibm.etools.wsdl.util.WSDLResourceFactoryImpl"/>
- // </extension>
- //
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
- WSDLPackage pkg = WSDLPackage.eINSTANCE;
-
- // We need this for XSD <import>.
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("xsd", new XSDResourceFactoryImpl());
- XSDPackage xsdpkg = XSDPackage.eINSTANCE;
- }
-
- /**
- * This class provides static methods only.
- */
- private DefinitionLoader()
- {
- }
-
- static public Definition load(String filename) throws IOException
- {
- return load(filename,false);
- }
-
- static public Definition load(String filename, boolean useExtensionFactories) throws IOException
- {
- return load(filename, useExtensionFactories, false);
- }
-
- static public Definition load(String filename, boolean useExtensionFactories, boolean trackLocation) throws IOException
- {
- // filename is an absolute path
-
- URI uri = null;
- uri = URI.createFileURI(filename);
-
- ResourceSet resourceSet = new ResourceSetImpl();
- resourceSet.getAdapterFactories().add(new WSDLModelLocatorAdapterFactory());
- resourceSet.getAdapterFactories().add(new XSDSchemaLocationResolverAdapterFactory());
-
- WSDLResourceImpl wsdlMainResource = (WSDLResourceImpl)resourceSet.createResource(URI.createURI("*.wsdl"));
- wsdlMainResource.setURI(uri);
- java.util.Map map = new Hashtable();
- map.put(WSDLResourceImpl.CONTINUE_ON_LOAD_ERROR,Boolean.valueOf(true));
- map.put(WSDLResourceImpl.USE_EXTENSION_FACTORIES,Boolean.valueOf(useExtensionFactories));
- map.put(WSDLResourceImpl.TRACK_LOCATION,Boolean.valueOf(trackLocation));
- wsdlMainResource.load(map);
-
- Definition definition = null;
- for (Iterator resources = resourceSet.getResources().iterator(); resources.hasNext(); )
- {
- Object resource = resources.next();
- if (resource instanceof WSDLResourceImpl)
- {
- WSDLResourceImpl wsdlResource = (WSDLResourceImpl)resource;
- definition = wsdlResource.getDefinition();
- return definition;
- }
- }
-
- return null;
- }
-
- static public void store(Definition definition, String filename) throws IOException
- {
- // filename is an absolute path
-
- Resource resource = definition.eResource();
- resource.setURI(URI.createFileURI(filename));
- resource.save(null);
- }
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionVisitor.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionVisitor.java
deleted file mode 100644
index 4b139a6f2..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionVisitor.java
+++ /dev/null
@@ -1,211 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests.util;
-
-import java.util.Iterator;
-
-import junit.framework.TestCase;
-
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-
-/**
- * @author Kihup Boo
- */
-public abstract class DefinitionVisitor extends TestCase
-{
- protected Definition definition;
-
- /**
- * Use DefinitionVisitor(Definition definition)
- */
- private DefinitionVisitor()
- {
- }
-
- // Added for JUnit
- public DefinitionVisitor(String name)
- {
- super(name);
- }
-
- protected DefinitionVisitor(Definition definition)
- {
- this.definition = definition;
- }
-
- // main entry
- public void visit()
- {
- visitDefinition(definition);
- }
-
- protected void visitDefinition(Definition def)
- {
- Iterator iterator = def.getEImports().iterator();
- while (iterator.hasNext())
- visitImport((Import)iterator.next());
-
- Types types = def.getETypes();
- if (types != null)
- visitTypes(types);
-
- iterator = def.getEMessages().iterator();
- while (iterator.hasNext())
- visitMessage((Message)iterator.next());
-
- iterator = def.getEPortTypes().iterator();
- while (iterator.hasNext())
- visitPortType((PortType)iterator.next());
-
- iterator = def.getEBindings().iterator();
- while (iterator.hasNext())
- visitBinding((Binding)iterator.next());
-
- iterator = def.getEServices().iterator();
- while (iterator.hasNext())
- visitService((Service)iterator.next());
-
- iterator = def.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(def,(ExtensibilityElement)iterator.next());
-
- }
-
- abstract protected void visitImport(Import wsdlImport);
-
- abstract protected void visitTypes(Types types);
-
- protected void visitMessage(Message message)
- {
- Iterator iterator = message.getEParts().iterator();
- while (iterator.hasNext())
- visitPart((Part)iterator.next());
- }
-
- abstract protected void visitPart(Part part);
-
- protected void visitPortType(PortType portType)
- {
- Iterator iterator = portType.getEOperations().iterator();
- while (iterator.hasNext())
- visitOperation((Operation)iterator.next());
- }
-
- protected void visitOperation(Operation operation)
- {
- Input input = operation.getEInput();
- visitInput((Input)input);
-
- Output output = operation.getEOutput();
- visitOutput((Output)output);
-
- Iterator iterator = operation.getEFaults().iterator();
- while (iterator.hasNext())
- visitFault((Fault)iterator.next());
- }
-
- protected abstract void visitInput(Input input);
-
- protected abstract void visitOutput(Output output);
-
- protected abstract void visitFault(Fault fault);
-
- protected void visitBinding(Binding binding)
- {
- Iterator iterator = binding.getEBindingOperations().iterator();
- while (iterator.hasNext())
- visitBindingOperation((BindingOperation)iterator.next());
-
- iterator = binding.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(binding,(ExtensibilityElement)iterator.next());
- }
-
- protected void visitBindingOperation(BindingOperation operation)
- {
- BindingInput input = operation.getEBindingInput();
- visitBindingInput((BindingInput)input);
-
- BindingOutput output = operation.getEBindingOutput();
- visitBindingOutput((BindingOutput)output);
-
- Iterator iterator = operation.getEBindingFaults().iterator();
- while (iterator.hasNext())
- visitBindingFault((BindingFault)iterator.next());
-
- iterator = operation.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(operation,(ExtensibilityElement)iterator.next());
-
- }
-
- protected void visitBindingInput(BindingInput input)
- {
- Iterator iterator = input.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(input,(ExtensibilityElement)iterator.next());
- }
-
- protected void visitBindingOutput(BindingOutput output)
- {
- Iterator iterator = output.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(output,(ExtensibilityElement)iterator.next());
- }
-
- protected void visitBindingFault(BindingFault fault)
- {
- Iterator iterator = fault.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(fault,(ExtensibilityElement)iterator.next());
- }
-
- protected void visitService(Service service)
- {
- Iterator iterator = service.getEPorts().iterator();
- while (iterator.hasNext())
- visitPort((Port)iterator.next());
-
- iterator = service.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(service,(ExtensibilityElement)iterator.next());
- }
-
- protected void visitPort(Port port)
- {
- Iterator iterator = port.getEExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement(port,(ExtensibilityElement)iterator.next());
- }
-
- abstract protected void visitExtensibilityElement
- (ExtensibleElement owner,
- ExtensibilityElement extensibilityElement);
-
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDL4JDefinitionVisitor.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDL4JDefinitionVisitor.java
deleted file mode 100644
index ba7fa2dd3..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDL4JDefinitionVisitor.java
+++ /dev/null
@@ -1,223 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests.util;
-
-import java.util.Iterator;
-
-import javax.wsdl.Binding;
-import javax.wsdl.BindingFault;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.BindingOutput;
-import javax.wsdl.Definition;
-import javax.wsdl.Fault;
-import javax.wsdl.Import;
-import javax.wsdl.Input;
-import javax.wsdl.Message;
-import javax.wsdl.Operation;
-import javax.wsdl.Output;
-import javax.wsdl.Part;
-import javax.wsdl.Port;
-import javax.wsdl.PortType;
-import javax.wsdl.Service;
-import javax.wsdl.Types;
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import junit.framework.TestCase;
-
-/**
- * @author Kihup Boo
- */
-public abstract class WSDL4JDefinitionVisitor extends TestCase
-{
- protected Definition definition;
-
- /**
- * Use DefinitionVisitor(Definition definition)
- */
- private WSDL4JDefinitionVisitor()
- {
- }
-
- // Added for JUnit
- public WSDL4JDefinitionVisitor(String name)
- {
- super(name);
- }
-
- protected WSDL4JDefinitionVisitor(Definition definition)
- {
- this.definition = definition;
- }
-
- // main entry
- public void visit()
- {
- visitDefinition(definition);
- }
-
- protected void visitDefinition(Definition def)
- {
- java.util.Map imports = def.getImports();
- Iterator iterator = imports.keySet().iterator();
- Import myImport = null;
- while (iterator.hasNext())
- {
- myImport = (Import)((java.util.ArrayList)imports.get(iterator.next())).get(0);
- visitImport(myImport);
- }
-
- Types types = def.getTypes();
- if (types != null)
- visitTypes(types);
-
- iterator = def.getMessages().values().iterator();
- while (iterator.hasNext())
- visitMessage((Message)iterator.next());
-
- iterator = def.getPortTypes().values().iterator();
- while (iterator.hasNext())
- visitPortType((PortType)iterator.next());
-
- iterator = def.getBindings().values().iterator();
- while (iterator.hasNext())
- visitBinding((Binding)iterator.next());
-
- iterator = def.getServices().values().iterator();
- while (iterator.hasNext())
- visitService((Service)iterator.next());
-
- iterator = def.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
-
- }
-
- abstract protected void visitImport(Import wsdlImport);
-
- abstract protected void visitTypes(Types types);
-
- protected void visitMessage(Message message)
- {
- Iterator iterator = message.getParts().values().iterator();
- while (iterator.hasNext())
- visitPart((Part)iterator.next());
- }
-
- abstract protected void visitPart(Part part);
-
- protected void visitPortType(PortType portType)
- {
- Iterator iterator = portType.getOperations().iterator();
- while (iterator.hasNext())
- visitOperation((Operation)iterator.next());
- }
-
- protected void visitOperation(Operation operation)
- {
- Input input = operation.getInput();
- visitInput((Input)input);
-
- Output output = operation.getOutput();
- visitOutput((Output)output);
-
- java.util.Map faults = operation.getFaults();
- Iterator iterator = faults.keySet().iterator();
- Fault fault = null;
- while (iterator.hasNext())
- {
- fault = (Fault)faults.get(iterator.next());
- visitFault(fault);
- }
- }
-
- protected abstract void visitInput(Input input);
-
- protected abstract void visitOutput(Output output);
-
- protected abstract void visitFault(Fault fault);
-
- protected void visitBinding(Binding binding)
- {
- Iterator iterator = binding.getBindingOperations().iterator();
- while (iterator.hasNext())
- visitBindingOperation((BindingOperation)iterator.next());
-
- iterator = binding.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
- }
-
- protected void visitBindingOperation(BindingOperation operation)
- {
- BindingInput input = operation.getBindingInput();
- visitBindingInput((BindingInput)input);
-
- BindingOutput output = operation.getBindingOutput();
- visitBindingOutput((BindingOutput)output);
-
- java.util.Map bindingFaults = operation.getBindingFaults();
- Iterator iterator = bindingFaults.keySet().iterator();
- BindingFault bindingFault = null;
- while (iterator.hasNext())
- {
- bindingFault = (BindingFault)bindingFaults.get(iterator.next());
- visitBindingFault(bindingFault);
- }
-
- iterator = operation.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
-
- }
-
- protected void visitBindingInput(BindingInput input)
- {
- Iterator iterator = input.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
- }
-
- protected void visitBindingOutput(BindingOutput output)
- {
- Iterator iterator = output.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
- }
-
- protected void visitBindingFault(BindingFault fault)
- {
- Iterator iterator = fault.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
- }
-
- protected void visitService(Service service)
- {
- Iterator iterator = service.getPorts().values().iterator();
- while (iterator.hasNext())
- visitPort((Port)iterator.next());
-
- iterator = service.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
- }
-
- protected void visitPort(Port port)
- {
- Iterator iterator = port.getExtensibilityElements().iterator();
- while (iterator.hasNext())
- visitExtensibilityElement((ExtensibilityElement)iterator.next());
- }
-
- abstract protected void visitExtensibilityElement(ExtensibilityElement extensibilityElement);
-
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLConverter.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLConverter.java
deleted file mode 100644
index 9247256d4..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLConverter.java
+++ /dev/null
@@ -1,608 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests.util;
-
-import java.io.FileOutputStream;
-import java.util.Iterator;
-
-import javax.wsdl.OperationType;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.ExtensibleElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Import;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.MessageReference;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.Service;
-import org.eclipse.wst.wsdl.Types;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl;
-import org.eclipse.xsd.XSDPackage;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.util.XSDResourceFactoryImpl;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * @author Kihup Boo
- */
-public class WSDLConverter extends DefinitionVisitor
-{
- private Document doc;
- private Element description;
- private Element currentTypes;
- private Element currentService;
- private Element currentEndpoint;
- private Element currentInterface;
- private Element currentOperation;
-
- private Element currentBinding;
- private Element currentBindingOperation;
- private Element currentBindingInput;
- private Element currentBindingOutput;
- private Element currentBindingFault;
-
- private String wsdlNamespacePrefix;
- private String xsdNamespacePrefix;
-
- {
- // This is needed because we don't have the following in the plugin.xml
- //
- // <extension point = "org.eclipse.emf.extension_parser">
- // <parser type="wsdl" class="com.ibm.etools.wsdl.util.WSDLResourceFactoryImpl"/>
- // </extension>
- //
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("wsdl", new WSDLResourceFactoryImpl());
- WSDLPackage pkg = WSDLPackage.eINSTANCE;
-
- // We need this for XSD <import>.
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("xsd", new XSDResourceFactoryImpl());
- XSDPackage xsdpkg = XSDPackage.eINSTANCE;
- }
-
- // Added for JUnit
- public WSDLConverter(String name)
- {
- super(name);
- }
-
- /**
- * @param definition
- */
- public WSDLConverter(Definition definition)
- {
- super(definition);
- // TODO Auto-generated constructor stub
- }
-
- public void generate20(String filename) throws Exception
- {
- createDocument();
- visit();
- serialize(filename);
- }
-
- private void serialize(String filename) throws Exception
- {
- Source domSource = new DOMSource(doc);
- Transformer transformer = TransformerFactory.newInstance().newTransformer();
- transformer.setOutputProperty(OutputKeys.INDENT,"yes");
- transformer.setOutputProperty(OutputKeys.ENCODING,"UTF-8");
- transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount","4");
- transformer.transform(domSource,new StreamResult(new FileOutputStream(filename)));
- }
-
- private void createDocument() throws ParserConfigurationException
- {
- doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
- }
-
- private Element createWSDLElement(String name)
- {
- Element element = doc.createElementNS("http://www.w3.org/2004/08/wsdl",name);
- if (wsdlNamespacePrefix != null)
- element.setPrefix(wsdlNamespacePrefix);
-
- return element;
- }
-
- private void processDocumentation(Element docElement, Element parent)
- {
- if (docElement == null)
- return;
-
- Element adoptedDocElement = (Element)doc.importNode(docElement,true);
- parent.appendChild(adoptedDocElement);
- }
-
- protected void visitDefinition(Definition def)
- {
- description = createWSDLElement("description");
- processDocumentation(def.getDocumentationElement(),description);
-
- // TBD - Determine later if we want to convert the document to use SOAP 1.2.
- // However adding these two namespaces may not be harmful.
- description.setAttribute("xmlns:soapenv","http://www.w3.org/2003/05/soap-envelop");
- description.setAttribute("xmlns:wsoap","http://www.w3.org/2004/08/soap12");
-
- String targetNamespace = def.getTargetNamespace();
- if (targetNamespace != null)
- description.setAttribute("targetNamespace",targetNamespace);
-
- Iterator iterator = def.getNamespaces().keySet().iterator();
- String prefix = null;
- String namespace = null;
- /*
- xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"*/
- while (iterator.hasNext())
- {
- prefix = (String)iterator.next();
- namespace = def.getNamespace(prefix);
-
- if ("http://schemas.xmlsoap.org/wsdl/".equals(namespace))
- {
- if (prefix.length() == 0) // meant to be default namespace
- description.setAttribute("xmlns","http://www.w3.org/2004/08/wsdl");
- else
- {
- description.setAttribute("xmlns:" + prefix,"http://www.w3.org/2004/08/wsdl");
- wsdlNamespacePrefix = prefix;
- description.setPrefix(wsdlNamespacePrefix);
- }
- continue;
- }
-
- // SOAP 1.2
- if ("http://schemas.xmlsoap.org/wsdl/soap/".equals(namespace))
- {
- // SOAP 1.2
- description.setAttribute("xmlns:" + prefix,"http://www.w3.org/2003/05/soap-envelop");
-
- // WSDL 2.0 binding for SOAP 1.2
- description.setAttribute("xmlns:wsoap","http://www.w3.org/2004/08/soap12");
- continue;
- }
-
- //if ("http://schemas.xmlsoap.org/soap/encoding/".equals(namespace))
- // continue;
-
- if ("http://www.w3.org/2001/XMLSchema".equals(namespace))
- xsdNamespacePrefix = prefix; // We will use this in visitImport().
-
- if (prefix.length() == 0) // meant to be default namespace
- description.setAttribute("xmlns" + prefix,namespace);
- else
- description.setAttribute("xmlns:" + prefix,namespace);
- }
-
- doc.appendChild(description);
- super.visitDefinition(def);
-
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitImport(org.eclipse.wst.wsdl.Import)
- */
- protected void visitImport(Import wsdlImport)
- {
- // Determine if we <import> a schema.
- if (importingSchema(wsdlImport))
- {
- currentTypes = createWSDLElement("types");
- description.appendChild(currentTypes);
-
- // <xs:import namespace="http://foo.com" schemaLocation= "bar.xsd"/>
- Element schemaImport = doc.createElementNS("http://www.w3.org/2001/XMLSchema","import");
- if (xsdNamespacePrefix == null) // need to add one
- {
- description.setAttribute("xmlns:xs","http://www.w3.org/2001/XMLSchema");
- xsdNamespacePrefix = "xs";
- schemaImport.setPrefix(xsdNamespacePrefix);
- }
- else if (!"".equals(xsdNamespacePrefix)) // it is not default namespace
- schemaImport.setPrefix(xsdNamespacePrefix);
-
- schemaImport.setAttribute("namespace",wsdlImport.getNamespaceURI());
- schemaImport.setAttribute("schemaLocation",wsdlImport.getLocationURI());
- processDocumentation(wsdlImport.getDocumentationElement(),schemaImport);
- currentTypes.appendChild(schemaImport);
- }
- else
- {
- Element importElement = wsdlImport.getElement();
- Element adoptedImportElement = (Element)doc.importNode(importElement,true);
- processDocumentation(wsdlImport.getDocumentationElement(),adoptedImportElement);
- description.appendChild(adoptedImportElement);
- }
- }
-
- private boolean importingSchema(Import myImport)
- {
- if (myImport.getDefinition() != null) // it is WSDL import
- return false;
- else
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitTypes(org.eclipse.wst.wsdl.Types)
- */
- protected void visitTypes(Types types)
- {
- // currentTypes may have been created in visitImport().
- if (currentTypes == null)
- {
- currentTypes = createWSDLElement("types");
- processDocumentation(types.getDocumentationElement(),currentTypes);
- description.appendChild(currentTypes);
- }
-
- Iterator iterator = types.getSchemas().iterator();
- XSDSchema schema = null;
- Element schemaElement = null;
- Element adoptedSchemaElement = null;
- while (iterator.hasNext())
- {
- schema = (XSDSchema)iterator.next();
- schema.updateElement();
- schemaElement = schema.getElement();
- adoptedSchemaElement = (Element)doc.importNode(schemaElement,true);
- currentTypes.appendChild(adoptedSchemaElement);
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitPart(org.eclipse.wst.wsdl.Part)
- */
- protected void visitPart(Part part)
- {
- // TODO Auto-generated method stub
- }
-
- protected void visitPortType(PortType portType)
- {
- currentInterface = createWSDLElement("interface");
- processDocumentation(portType.getDocumentationElement(),currentInterface);
-
- Element portTypeElement = portType.getElement();
- if (portTypeElement.hasAttribute("name"))
- currentInterface.setAttribute("name",portTypeElement.getAttribute("name"));
-
- description.appendChild(currentInterface);
- super.visitPortType(portType);
- }
-
- protected void visitOperation(Operation operation)
- {
- currentOperation = createWSDLElement("operation");
- processDocumentation(operation.getDocumentationElement(),currentOperation);
-
- Element operationElement = operation.getElement();
- if (operationElement.hasAttribute("name"))
- currentOperation.setAttribute("name",operationElement.getAttribute("name"));
-
- OperationType opType = operation.getStyle();
- if (OperationType.REQUEST_RESPONSE == opType)
- currentOperation.setAttribute("pattern","http://www.w3.org/2004/03/wsdl/in-out");
- else if (OperationType.SOLICIT_RESPONSE == opType)
- currentOperation.setAttribute("pattern","http://www.w3.org/2004/03/wsdl/out-in");
- else if (OperationType.NOTIFICATION == opType)
- currentOperation.setAttribute("pattern","http://www.w3.org/2004/03/wsdl/out-only");
- else if (OperationType.ONE_WAY == opType)
- currentOperation.setAttribute("pattern","http://www.w3.org/2004/03/wsdl/in-only");
-
- currentInterface.appendChild(currentOperation);
- super.visitOperation(operation);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitInput(org.eclipse.wst.wsdl.Input)
- */
- protected void visitInput(Input input)
- {
- Element currentInput = createWSDLElement("input");
- processDocumentation(input.getDocumentationElement(),currentInput);
-
- Element inputElement = input.getElement();
-
- if (inputElement.hasAttribute("name"))
- currentInput.setAttribute("messageLabel",inputElement.getAttribute("name"));
-
- Element partElement = getPartElement(input);
- if (partElement.hasAttribute("element"))
- currentInput.setAttribute("element",partElement.getAttribute("element"));
- // TBD - what if the part uses "type"?
-
- currentOperation.appendChild(currentInput);
- }
-
- private Element getPartElement(MessageReference messageRef)
- {
- Iterator iterator = messageRef.getEMessage().getEParts().iterator();
- // TBD - for now, take the first part.
- Part part = (Part)iterator.next();
- Element partElement = part.getElement();
- return partElement;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitOutput(org.eclipse.wst.wsdl.Output)
- */
- protected void visitOutput(Output output)
- {
- Element currentOutput = createWSDLElement("output");
- processDocumentation(output.getDocumentationElement(),currentOutput);
-
- Element outputElement = output.getElement();
-
- if (outputElement.hasAttribute("name"))
- currentOutput.setAttribute("messageLabel",outputElement.getAttribute("name"));
-
- Element partElement = getPartElement(output);
- if (partElement.hasAttribute("element"))
- currentOutput.setAttribute("element",partElement.getAttribute("element"));
- // TBD - what if the part uses "type"?
-
- currentOperation.appendChild(currentOutput);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitFault(org.eclipse.wst.wsdl.Fault)
- */
- protected void visitFault(Fault fault)
- {
- // TODO Auto-generated method stub
-
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitBinding(org.eclipse.wst.wsdl.Binding)
- */
- protected void visitBinding(Binding binding)
- {
- currentBinding = createWSDLElement("binding");
- processDocumentation(binding.getDocumentationElement(),currentBinding);
-
- Element bindingElement = binding.getElement();
- if (bindingElement.hasAttribute("name"))
- currentBinding.setAttribute("name",bindingElement.getAttribute("name"));
- if (bindingElement.hasAttribute("type"))
- currentBinding.setAttribute("interface",bindingElement.getAttribute("type"));
-
- // TBD - is the next line fixed for SOAP?
- currentBinding.setAttribute("type","http://www.w3.org/2004/08/wsdl/soap12");
- currentBinding.setAttribute("wsoap:protocol","http://www.w3.org/2003/05/soap/bindings/HTTP");
- currentBinding.setAttribute("wsoap:mepDefault","http://www.w3.org.2003/05/soap/mep/request-response");
-
- description.appendChild(currentBinding);
- super.visitBinding(binding);
- }
-
- protected void visitBindingOperation(BindingOperation operation)
- {
- currentBindingOperation = createWSDLElement("operation");
- processDocumentation(operation.getDocumentationElement(),currentBindingOperation);
-
- Element operationElement = operation.getElement();
- String operationName = operation.getEOperation().getName();
-
- // Determine prefix
- String prefix = null;
- String targetNamespace = null;
- Definition def = operation.getEnclosingDefinition();
- if (def != null)
- targetNamespace = def.getTargetNamespace();
- if (targetNamespace != null)
- prefix = def.getPrefix(targetNamespace);
-
- if (prefix == null)
- prefix = "";
- else
- prefix += ":";
-
- currentBindingOperation.setAttribute("ref",prefix + operationName);
-
- currentBinding.appendChild(currentBindingOperation);
- super.visitBindingOperation(operation);
- }
-
- protected void visitBindingInput(BindingInput input)
- {
- currentBindingInput = createWSDLElement("input");
- processDocumentation(input.getDocumentationElement(),currentBindingInput);
-
- Element inputElement = input.getElement();
- String inputName = input.getName();
- if (inputName != null)
- inputElement.setAttribute("name",inputName);
-
- currentBindingOperation.appendChild(currentBindingInput);
- super.visitBindingInput(input);
- }
-
- protected void visitBindingOutput(BindingOutput output)
- {
- currentBindingOutput = createWSDLElement("output");
- processDocumentation(output.getDocumentationElement(),currentBindingOutput);
-
- Element outputElement = output.getElement();
- String outputName = output.getName();
- if (outputName != null)
- outputElement.setAttribute("name",outputName);
-
- currentBindingOperation.appendChild(currentBindingOutput);
- super.visitBindingOutput(output);
- }
-
- protected void visitBindingFault(BindingFault fault)
- {
- currentBindingFault = createWSDLElement("fault");
- processDocumentation(fault.getDocumentationElement(),currentBindingFault);
-
- Element faultElement = fault.getElement();
- String faultName = fault.getName();
- if (faultName != null)
- faultElement.setAttribute("name",faultName);
-
- currentBindingOperation.appendChild(currentBindingFault);
- super.visitBindingFault(fault);
- }
-
- protected void visitService(Service service)
- {
- currentService = createWSDLElement("service");
- processDocumentation(service.getDocumentationElement(),currentService);
-
- Element serviceElement = service.getElement();
- if (serviceElement.hasAttribute("name"))
- currentService.setAttribute("name",serviceElement.getAttribute("name"));
-
- description.appendChild(currentService);
- super.visitService(service);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitPort(org.eclipse.wst.wsdl.Port)
- */
- protected void visitPort(Port port)
- {
- currentEndpoint = createWSDLElement("endpoint");
- processDocumentation(port.getDocumentationElement(),currentEndpoint);
-
- Element portElement = port.getElement();
- if (portElement.hasAttribute("name"))
- currentEndpoint.setAttribute("name",portElement.getAttribute("name"));
- if (portElement.hasAttribute("binding"))
- currentEndpoint.setAttribute("binding",portElement.getAttribute("binding"));
-
- // Add interface to current service
- Binding binding = port.getEBinding();
- if (binding != null) // binding could not be resolved
- {
- Element bindingElement = binding.getElement();
- if (bindingElement.hasAttribute("type"))
- currentService.setAttribute("interface",bindingElement.getAttribute("type"));
- }
-
- currentService.appendChild(currentEndpoint);
- super.visitPort(port);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.wsdl.tests.util.DefinitionVisitor#visitExtensibilityElement(org.eclipse.wst.wsdl.ExtensibleElement, org.eclipse.wst.wsdl.ExtensibilityElement)
- */
- protected void visitExtensibilityElement(ExtensibleElement owner, ExtensibilityElement extensibilityElement)
- {
- // TBD - It is not just SOAP binding
- if (owner instanceof org.eclipse.wst.wsdl.internal.impl.PortImpl)
- {
- Element soapElement = extensibilityElement.getElement();
- if (soapElement.hasAttribute("location"))
- currentEndpoint.setAttribute("address",soapElement.getAttribute("location"));
- }
- else
- {
- Element domElement = extensibilityElement.getElement();
- Element adoptedDOMElement = (Element)doc.importNode(domElement,true);
-
- if (owner instanceof org.eclipse.wst.wsdl.internal.impl.DefinitionImpl)
- description.insertBefore(adoptedDOMElement,description.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.ServiceImpl)
- currentService.insertBefore(adoptedDOMElement,currentService.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.PortTypeImpl)
- currentInterface.insertBefore(adoptedDOMElement,currentInterface.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.OperationImpl)
- currentOperation.insertBefore(adoptedDOMElement,currentOperation.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.BindingImpl)
- currentBinding.insertBefore(adoptedDOMElement,currentBinding.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.BindingOperationImpl)
- currentBindingOperation.insertBefore(adoptedDOMElement,currentBindingOperation.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.BindingInputImpl)
- currentBindingInput.insertBefore(adoptedDOMElement,currentBindingInput.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.BindingOutputImpl)
- currentBindingOutput.insertBefore(adoptedDOMElement,currentBindingOutput.getFirstChild());
- else if (owner instanceof org.eclipse.wst.wsdl.internal.impl.BindingFaultImpl)
- currentBindingFault.insertBefore(adoptedDOMElement,currentBindingFault.getFirstChild());
-
- }
-
- }
-
- public static Test suite()
- {
- TestSuite suite = new TestSuite();
-
- suite.addTest
- (new WSDLConverter("Convert")
- {
- protected void runTest()
- {
- testConvert();
- }
- }
- );
- return suite;
- }
-
- public void testConvert()
- {
- try
- {
- Definition def = DefinitionLoader.load("d:/eclipse301/eclipse/workspace/org.eclipse.wst.wsdl.tests/PTATimeDistribution.wsdl");
- WSDLConverter converter = new WSDLConverter(def);
- converter.generate20("d:/eclipse301/eclipse/workspace/org.eclipse.wst.wsdl.tests/PTATimeDistribution20.wsdl");
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
- public static void main(String[] args)
- {
- junit.textui.TestRunner.run(suite());
- /*
- try
- {
- Definition def = DefinitionLoader.load(args[0]);
- WSDLConverter converter = new WSDLConverter(def);
- converter.generate20("test20.wsdl");
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }*/
- }
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLModelLocatorAdapterFactory.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLModelLocatorAdapterFactory.java
deleted file mode 100644
index a4c5b3bc8..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLModelLocatorAdapterFactory.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverPlugin;
-import org.eclipse.wst.wsdl.internal.util.WSDLModelLocator;
-
-public class WSDLModelLocatorAdapterFactory extends AdapterFactoryImpl
-{
- protected CustomWSDLModelLocator customWSDLModelLocator = new CustomWSDLModelLocator();
-
- class CustomWSDLModelLocator extends AdapterImpl implements WSDLModelLocator
- {
- public String resolveURI(String baseLocation, String namespace, String location)
- {
- return URIResolverPlugin.createResolver().resolve(baseLocation, namespace, location);
- }
-
- public boolean isAdatperForType(Object type)
- {
- return type == WSDLModelLocator.class;
- }
- }
-
- public boolean isFactoryForType(Object type)
- {
- return type == WSDLModelLocator.class;
- }
-
- public Adapter adaptNew(Notifier target, Object type)
- {
- return customWSDLModelLocator;
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XMLDiff.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XMLDiff.java
deleted file mode 100644
index 907a3306e..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XMLDiff.java
+++ /dev/null
@@ -1,169 +0,0 @@
-package org.eclipse.wst.wsdl.tests.util;
-
-import org.w3c.dom.*;
-import org.xml.sax.SAXException;
-
-import java.io.*;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-/**
- * @author Kihup Boo
- */
-public class XMLDiff
-{
- private PrintStream out = System.out;
- private boolean DIFF_ELEMENT_NODE_ONLY = false;
-
- public boolean diff(String file1, String file2) throws ParserConfigurationException, SAXException, IOException
- {
- return diff(file1,file2,false);
- }
-
- public boolean diff(String file1, String file2, boolean elementOnly) throws ParserConfigurationException, SAXException, IOException
- {
- Document doc1 = getDocument(file1);
- Document doc2 = getDocument(file2);
- DIFF_ELEMENT_NODE_ONLY = elementOnly;
- return diff(doc1,doc2);
- }
-
- public boolean diff(Document doc1, Document doc2)
- {
- Element root1 = doc1.getDocumentElement();
- Element root2 = doc2.getDocumentElement();
- return compareNodes(root1,root2);
- }
-
- private Document getDocument(String uri) throws ParserConfigurationException, SAXException, IOException
- {
- DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
- Document doc = builder.parse(uri);
- return doc;
- }
-
- private boolean compareNodes(Node node1, Node node2)
- {
- if (DIFF_ELEMENT_NODE_ONLY)
- {
- // Compare only element nodes in the children.
- filterNonElementNodes(node1);
- filterNonElementNodes(node2);
- }
-
- if (node1.getNodeType() != node2.getNodeType()
- || node1.getNodeName() != node2.getNodeName())
- {
- println("Node type or node name is different:");
- println("Node 1: " + node1.getNodeName());
- println("Node 2: " + node2.getNodeName());
- return false;
- }
-
- if (!compareAttributes(node1,node2))
- return false;
-
- NodeList nodeList1 = node1.getChildNodes();
- NodeList nodeList2 = node2.getChildNodes();
- if (nodeList1.getLength() != nodeList2.getLength())
- {
- println("The number of children is different:");
- //println("Node 1: " + nodeList1.getLength());
- //println("Node 2: " + nodeList2.getLength());
- println("Node 1: " + node1.getNodeName());
- println("Node 2: " + node2.getNodeName());
- return false;
- }
-
- boolean result = true;
- int length = nodeList1.getLength();
- for (int i=0; i<length; i++)
- {
- result = compareNodes(nodeList1.item(i),nodeList2.item(i));
- if (!result)
- return false;
- }
- return true;
- }
-
- private void filterNonElementNodes(Node node)
- {
- Node firstChild = node.getFirstChild();
- while (firstChild.getNodeType() != Node.ELEMENT_NODE)
- {
- node.removeChild(firstChild);
- firstChild = node.getFirstChild();
- }
-
- Node sibling = firstChild.getNextSibling();
- Node deleteMe = null;
- while (sibling != null)
- {
- if (sibling.getNodeType() != Node.ELEMENT_NODE)
- {
- deleteMe = sibling;
- sibling = sibling.getNextSibling();
- node.removeChild(deleteMe);
- }
-
- }
- }
-
- private boolean compareAttributes(Node node1, Node node2)
- {
- NamedNodeMap nodeMap1 = node1.getAttributes();
- NamedNodeMap nodeMap2 = node2.getAttributes();
-
- if (nodeMap1 == null || nodeMap2 == null)
- {
- if (nodeMap1 == null && nodeMap2 == null)
- return true;
- else
- return false;
- }
-
- if (nodeMap1.getLength() != nodeMap2.getLength())
- {
- println("The number of attributes is different:");
- println("Node 1: " + node1.getNodeName());
- println("Node 2: " + node2.getNodeName());
- return false;
- }
-
- Node attrNode1 = null;
- Node attrNode2 = null;
- int length = nodeMap1.getLength();
- for (int i=0; i<length; i++)
- {
- attrNode1 = nodeMap1.item(i);
- attrNode2 = nodeMap2.getNamedItem(attrNode1.getNodeName());
- if (attrNode2 == null)
- {
- println("The attribute is not found in Node 2: " + attrNode1.getNodeName());
- println("Node 1: " + node1.getNodeName());
- println("Node 2: " + node2.getNodeName());
- return false;
- }
- else if (!attrNode1.getNodeValue().equals(attrNode2.getNodeValue()))
- {
- println("The attribute values are different:");
- println("Node 1: " + node1.getNodeName() + "," + attrNode1.getNodeValue());
- println("Node 2: " + node2.getNodeName() + "," + attrNode2.getNodeValue());
- return false;
- }
- }
- return true;
- }
-
- private void print(String s)
- {
- out.print(s);
- }
-
- private void println(String s)
- {
- out.println(s);
- }
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverAdapterFactory.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverAdapterFactory.java
deleted file mode 100644
index 5bbba8750..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverAdapterFactory.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.xsd.util.XSDSchemaLocationResolver;
-
-public class XSDSchemaLocationResolverAdapterFactory extends AdapterFactoryImpl
-{
- protected XSDSchemaLocationResolverImpl schemaLocator = new XSDSchemaLocationResolverImpl();
-
- public boolean isFactoryForType(Object type)
- {
- return type == XSDSchemaLocationResolver.class;
- }
-
- public Adapter adaptNew(Notifier target, Object type)
- {
- return schemaLocator;
- }
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverImpl.java b/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverImpl.java
deleted file mode 100644
index 7a4387a09..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 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
- *******************************************************************************/
-package org.eclipse.wst.wsdl.tests.util;
-
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverPlugin;
-import org.eclipse.xsd.XSDSchema;
-import org.eclipse.xsd.util.XSDSchemaLocationResolver;
-import org.eclipse.xsd.util.XSDSchemaLocator;
-
-public class XSDSchemaLocationResolverImpl extends AdapterImpl implements XSDSchemaLocationResolver
-{
- public String resolveSchemaLocation(XSDSchema xsdSchema, String namespaceURI, String schemaLocationURI)
- {
- String baseLocation = xsdSchema.getSchemaLocation();
- return URIResolverPlugin.createResolver().resolve(baseLocation, namespaceURI, schemaLocationURI);
- }
-
- public boolean isAdatperForType(Object type)
- {
- return type == XSDSchemaLocator.class;
- }
-}
diff --git a/tests/org.eclipse.wst.wsdl.tests/test.xml b/tests/org.eclipse.wst.wsdl.tests/test.xml
deleted file mode 100644
index 3ae7ed8eb..000000000
--- a/tests/org.eclipse.wst.wsdl.tests/test.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <!-- <property name="eclipse-home" value="${basedir}\..\.." /> -->
-
- <echo message="basedir ${basedir}" />
- <echo message="eclipse place ${eclipse-home}" />
-
- <!-- sets the properties plugin-name, and library-file -->
- <property name="plugin-name" value="org.eclipse.wst.wsdl.tests" />
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml" />
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org.eclipse.wst.wsdl.tests.*xml" />
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <property name="wst-folder" value="${eclipse-home}/wst_folder"/>
- <delete dir="${wst-folder}" quiet="true"/>
- <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${wst-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.wst.wsdl.tests.AllTestCases" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- <!--<delete dir="${workspace}" quiet="true" />-->
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org.eclipse.wst.wsdl.tests.*xml" />
- <property name="output-file" value="${plugin-name}.xml" />
- </ant>
- </target>
-
-</project> \ No newline at end of file

Back to the top